fuzzer.cpp:_ZL17PyType_HasFeatureP11_typeobjectm:
  749|  3.43k|{
  750|  3.43k|    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.43k|    flags = type->tp_flags;
  756|  3.43k|#endif
  757|  3.43k|    return ((flags & feature) != 0);
  758|  3.43k|}
fuzzer.cpp:_ZL13_Py_TYPE_implP7_object:
  233|  3.43k|{
  234|  3.43k|    return ob->ob_type;
  235|  3.43k|}

fuzzer.cpp:_ZL9Py_DECREFP7_object:
  418|  6.87k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  6.87k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  6.87k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.87k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.87k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 3.40k, False: 3.47k]
  |  |  ------------------
  ------------------
  422|  3.40k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  3.40k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  3.40k|        return;
  424|  3.40k|    }
  425|  3.47k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  3.47k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  3.47k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 3.47k, False: 0]
  ------------------
  427|  3.47k|        _Py_Dealloc(op);
  428|  3.47k|    }
  429|  3.47k|}
fuzzer.cpp:_ZL14_Py_IsImmortalP7_object:
  127|  6.87k|{
  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.87k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  6.87k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  6.87k|}

call.c:_PyVectorcall_NARGS:
   34|  24.1M|{
   35|  24.1M|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  24.1M|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  24.1M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|  24.1M|}
exceptions.c:_PyVectorcall_NARGS:
   34|   283k|{
   35|   283k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|   283k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|   283k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|   283k|}
floatobject.c:_PyVectorcall_NARGS:
   34|  13.6k|{
   35|  13.6k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  13.6k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  13.6k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|  13.6k|}
listobject.c:_PyVectorcall_NARGS:
   34|  20.3k|{
   35|  20.3k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  20.3k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  20.3k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|  20.3k|}
longobject.c:_PyVectorcall_NARGS:
   34|  94.1k|{
   35|  94.1k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  94.1k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  94.1k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|  94.1k|}
dictobject.c:_PyVectorcall_NARGS:
   34|  7.63k|{
   35|  7.63k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  7.63k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  7.63k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|  7.63k|}
rangeobject.c:_PyVectorcall_NARGS:
   34|  49.5k|{
   35|  49.5k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  49.5k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  49.5k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|  49.5k|}
setobject.c:_PyVectorcall_NARGS:
   34|   275k|{
   35|   275k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|   275k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|   275k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|   275k|}
tupleobject.c:_PyVectorcall_NARGS:
   34|     54|{
   35|     54|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|     54|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     54|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|     54|}
typeobject.c:_PyVectorcall_NARGS:
   34|  4.73k|{
   35|  4.73k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  4.73k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  4.73k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|  4.73k|}
unicodeobject.c:_PyVectorcall_NARGS:
   34|    328|{
   35|    328|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|    328|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|    328|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|    328|}
weakrefobject.c:_PyVectorcall_NARGS:
   34|   134k|{
   35|   134k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|   134k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|   134k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|   134k|}
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|    967|{
   35|    967|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|    967|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|    967|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|    967|}
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|}
_datetimemodule.c:PyObject_CallMethodNoArgs:
   63|     96|{
   64|     96|    size_t nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|     96|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     96|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|       |    return PyObject_VectorcallMethod(name, &self, nargsf, _Py_NULL);
  ------------------
  |  |   57|     96|#  define _Py_NULL NULL
  ------------------
   66|     96|}
_collectionsmodule.c:_PyVectorcall_NARGS:
   34|     18|{
   35|     18|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|     18|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     18|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|     18|}
_iomodule.c:PyObject_CallMethodNoArgs:
   63|  4.04k|{
   64|  4.04k|    size_t nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  4.04k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  4.04k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|       |    return PyObject_VectorcallMethod(name, &self, nargsf, _Py_NULL);
  ------------------
  |  |   57|  4.04k|#  define _Py_NULL NULL
  ------------------
   66|  4.04k|}
iobase.c:PyObject_CallMethodNoArgs:
   63|  18.4k|{
   64|  18.4k|    size_t nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  18.4k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  18.4k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|       |    return PyObject_VectorcallMethod(name, &self, nargsf, _Py_NULL);
  ------------------
  |  |   57|  18.4k|#  define _Py_NULL NULL
  ------------------
   66|  18.4k|}
fileio.c:PyObject_CallMethodOneArg:
   70|  4.04k|{
   71|  4.04k|    PyObject *args[2] = {self, arg};
   72|  4.04k|    size_t nargsf = 2 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  4.04k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  4.04k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   73|  4.04k|    assert(arg != NULL);
   74|       |    return PyObject_VectorcallMethod(name, args, nargsf, _Py_NULL);
  ------------------
  |  |   57|  4.04k|#  define _Py_NULL NULL
  ------------------
   75|  4.04k|}
bufferedio.c:PyObject_CallMethodOneArg:
   70|  4.37k|{
   71|  4.37k|    PyObject *args[2] = {self, arg};
   72|  4.37k|    size_t nargsf = 2 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  4.37k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  4.37k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   73|  4.37k|    assert(arg != NULL);
   74|       |    return PyObject_VectorcallMethod(name, args, nargsf, _Py_NULL);
  ------------------
  |  |   57|  4.37k|#  define _Py_NULL NULL
  ------------------
   75|  4.37k|}
bufferedio.c:PyObject_CallMethodNoArgs:
   63|  12.1k|{
   64|  12.1k|    size_t nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  12.1k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  12.1k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|       |    return PyObject_VectorcallMethod(name, &self, nargsf, _Py_NULL);
  ------------------
  |  |   57|  12.1k|#  define _Py_NULL NULL
  ------------------
   66|  12.1k|}
textio.c:PyObject_CallMethodNoArgs:
   63|     77|{
   64|     77|    size_t nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|     77|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|     77|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|       |    return PyObject_VectorcallMethod(name, &self, nargsf, _Py_NULL);
  ------------------
  |  |   57|     77|#  define _Py_NULL NULL
  ------------------
   66|     77|}
textio.c:PyObject_CallMethodOneArg:
   70|  4.36k|{
   71|  4.36k|    PyObject *args[2] = {self, arg};
   72|  4.36k|    size_t nargsf = 2 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  4.36k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  4.36k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   73|  4.36k|    assert(arg != NULL);
   74|       |    return PyObject_VectorcallMethod(name, args, nargsf, _Py_NULL);
  ------------------
  |  |   57|  4.36k|#  define _Py_NULL NULL
  ------------------
   75|  4.36k|}
_abc.c:PyObject_CallMethodOneArg:
   70|  23.2k|{
   71|  23.2k|    PyObject *args[2] = {self, arg};
   72|  23.2k|    size_t nargsf = 2 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  23.2k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  23.2k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   73|  23.2k|    assert(arg != NULL);
   74|       |    return PyObject_VectorcallMethod(name, args, nargsf, _Py_NULL);
  ------------------
  |  |   57|  23.2k|#  define _Py_NULL NULL
  ------------------
   75|  23.2k|}
_functoolsmodule.c:_PyVectorcall_NARGS:
   34|  3.67k|{
   35|  3.67k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  3.67k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  3.67k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|  3.67k|}
_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|    422|{
   64|    422|    size_t nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|    422|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|    422|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|       |    return PyObject_VectorcallMethod(name, &self, nargsf, _Py_NULL);
  ------------------
  |  |   57|    422|#  define _Py_NULL NULL
  ------------------
   66|    422|}
boolobject.c:_PyVectorcall_NARGS:
   34|  14.8k|{
   35|  14.8k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  14.8k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  14.8k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|  14.8k|}
descrobject.c:_PyVectorcall_NARGS:
   34|   260k|{
   35|   260k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|   260k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|   260k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|   260k|}
descrobject.c:PyObject_CallMethodNoArgs:
   63|  40.0k|{
   64|  40.0k|    size_t nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  40.0k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  40.0k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|       |    return PyObject_VectorcallMethod(name, &self, nargsf, _Py_NULL);
  ------------------
  |  |   57|  40.0k|#  define _Py_NULL NULL
  ------------------
   66|  40.0k|}
enumobject.c:_PyVectorcall_NARGS:
   34|  11.3k|{
   35|  11.3k|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  11.3k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  11.3k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|  11.3k|}
fileobject.c:PyObject_CallMethodNoArgs:
   63|  22.7k|{
   64|  22.7k|    size_t nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  22.7k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  22.7k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|       |    return PyObject_VectorcallMethod(name, &self, nargsf, _Py_NULL);
  ------------------
  |  |   57|  22.7k|#  define _Py_NULL NULL
  ------------------
   66|  22.7k|}
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|  10.0M|{
   35|  10.0M|    return n & ~PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  10.0M|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  10.0M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   36|  10.0M|}

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|  37.5M|{
   26|       |    return _PyByteArray_CAST(op)->ob_start;
  ------------------
  |  |   22|  37.5M|    (assert(PyByteArray_Check(op)), _Py_CAST(PyByteArrayObject*, op))
  |  |  ------------------
  |  |  |  |   37|  37.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   27|  37.5M|}

bytesobject.c:PyBytes_AS_STRING:
   24|  7.90M|{
   25|       |    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|  7.90M|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  7.90M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   26|  7.90M|}
bytesobject.c:PyBytes_GET_SIZE:
   29|  15.4M|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|  15.4M|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|  15.4M|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  15.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   31|  15.4M|    return Py_SIZE(self);
  ------------------
  |  |  214|  15.4M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  15.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|  15.4M|}
longobject.c:PyBytes_AS_STRING:
   24|  7.54M|{
   25|       |    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|  7.54M|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  7.54M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   26|  7.54M|}
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|  31.2k|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|  31.2k|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|  31.2k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  31.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   31|  31.2k|    return Py_SIZE(self);
  ------------------
  |  |  214|  31.2k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  31.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  31.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|  31.2k|}
unicodeobject.c:PyBytes_AS_STRING:
   24|  31.1k|{
   25|       |    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|  31.1k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  31.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   26|  31.1k|}
ceval.c:PyBytes_AS_STRING:
   24|  2.66M|{
   25|       |    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|  2.66M|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  2.66M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   26|  2.66M|}
ceval.c:PyBytes_GET_SIZE:
   29|  2.66M|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|  2.66M|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|  2.66M|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  2.66M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   31|  2.66M|    return Py_SIZE(self);
  ------------------
  |  |  214|  2.66M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.66M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.66M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|  2.66M|}
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_GET_SIZE:
   29|  5.54k|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|  5.54k|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|  5.54k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  5.54k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   31|  5.54k|    return Py_SIZE(self);
  ------------------
  |  |  214|  5.54k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.54k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.54k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|  5.54k|}
marshal.c:PyBytes_AS_STRING:
   24|   241k|{
   25|       |    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|   241k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|   241k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   26|   241k|}
pythonrun.c:PyBytes_AS_STRING:
   24|     45|{
   25|       |    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|     45|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|     45|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   26|     45|}
pythonrun.c:PyBytes_GET_SIZE:
   29|     45|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|     45|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|     45|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|     45|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   31|     45|    return Py_SIZE(self);
  ------------------
  |  |  214|     45|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     45|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     45|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|     45|}
fileutils.c:PyBytes_AS_STRING:
   24|  27.1k|{
   25|       |    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|  27.1k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  27.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   26|  27.1k|}
posixmodule.c:PyBytes_GET_SIZE:
   29|  40.4k|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|  40.4k|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|  40.4k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  40.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   31|  40.4k|    return Py_SIZE(self);
  ------------------
  |  |  214|  40.4k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  40.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  40.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|  40.4k|}
posixmodule.c:PyBytes_AS_STRING:
   24|  40.4k|{
   25|       |    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|  40.4k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  40.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   26|  40.4k|}
fileio.c:PyBytes_AS_STRING:
   24|  4.00k|{
   25|       |    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|  4.00k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  4.00k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   26|  4.00k|}
bytesio.c:PyBytes_AS_STRING:
   24|  65.0k|{
   25|       |    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|  65.0k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  65.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   26|  65.0k|}
bytesio.c:PyBytes_GET_SIZE:
   29|  84.1k|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|  84.1k|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|  84.1k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  84.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   31|  84.1k|    return Py_SIZE(self);
  ------------------
  |  |  214|  84.1k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  84.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  84.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|  84.1k|}
textio.c:PyBytes_GET_SIZE:
   29|  2.49k|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|  2.49k|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|  2.49k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  2.49k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   31|  2.49k|    return Py_SIZE(self);
  ------------------
  |  |  214|  2.49k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.49k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.49k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|  2.49k|}
bytes_methods.c:PyBytes_AS_STRING:
   24|     20|{
   25|       |    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|     20|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   26|     20|}
bytes_methods.c:PyBytes_GET_SIZE:
   29|     20|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|     20|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|     20|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   31|     20|    return Py_SIZE(self);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|     20|}
bytearrayobject.c:PyBytes_AS_STRING:
   24|  15.0M|{
   25|       |    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|  15.0M|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  15.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   26|  15.0M|}
codeobject.c:PyBytes_GET_SIZE:
   29|   430k|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|   430k|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|   430k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|   430k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   31|   430k|    return Py_SIZE(self);
  ------------------
  |  |  214|   430k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   430k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   430k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|   430k|}
codeobject.c:PyBytes_AS_STRING:
   24|   663k|{
   25|       |    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|   663k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|   663k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   26|   663k|}
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|   167k|static inline Py_ssize_t PyBytes_GET_SIZE(PyObject *op) {
   30|   167k|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|   167k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|   167k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   31|   167k|    return Py_SIZE(self);
  ------------------
  |  |  214|   167k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   167k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   167k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|   167k|}
assemble.c:PyBytes_AS_STRING:
   24|   310k|{
   25|       |    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|   310k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|   310k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   26|   310k|}
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|}
action_helpers.c:PyBytes_AS_STRING:
   24|     67|{
   25|       |    return _PyBytes_CAST(op)->ob_sval;
  ------------------
  |  |   21|     67|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|     67|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   26|     67|}

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

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

call.c:PyDict_GET_SIZE:
   53|  4.60M|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|  4.60M|    PyDictObject *mp;
   55|  4.60M|    assert(PyAnyDict_Check(op));
   56|  4.60M|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|  4.60M|#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.60M|    return mp->ma_used;
   61|  4.60M|#endif
   62|  4.60M|}
listobject.c:PyDict_GET_SIZE:
   53|  2.00M|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|  2.00M|    PyDictObject *mp;
   55|  2.00M|    assert(PyAnyDict_Check(op));
   56|  2.00M|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|  2.00M|#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.00M|    return mp->ma_used;
   61|  2.00M|#endif
   62|  2.00M|}
setobject.c:PyDict_GET_SIZE:
   53|     54|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|     54|    PyDictObject *mp;
   55|     54|    assert(PyAnyDict_Check(op));
   56|     54|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|     54|#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|     54|    return mp->ma_used;
   61|     54|#endif
   62|     54|}
typeobject.c:PyDict_GET_SIZE:
   53|  97.4k|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|  97.4k|    PyDictObject *mp;
   55|  97.4k|    assert(PyAnyDict_Check(op));
   56|  97.4k|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|  97.4k|#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|  97.4k|    return mp->ma_used;
   61|  97.4k|#endif
   62|  97.4k|}
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|   106k|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|   106k|    PyDictObject *mp;
   55|   106k|    assert(PyAnyDict_Check(op));
   56|   106k|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|   106k|#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|   106k|    return mp->ma_used;
   61|   106k|#endif
   62|   106k|}
compile.c:PyDict_GET_SIZE:
   53|  33.7k|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|  33.7k|    PyDictObject *mp;
   55|  33.7k|    assert(PyAnyDict_Check(op));
   56|  33.7k|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|  33.7k|#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|  33.7k|    return mp->ma_used;
   61|  33.7k|#endif
   62|  33.7k|}
flowgraph.c:PyDict_GET_SIZE:
   53|  24.6k|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|  24.6k|    PyDictObject *mp;
   55|  24.6k|    assert(PyAnyDict_Check(op));
   56|  24.6k|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|  24.6k|#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|  24.6k|    return mp->ma_used;
   61|  24.6k|#endif
   62|  24.6k|}
getargs.c:PyDict_GET_SIZE:
   53|  23.9k|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|  23.9k|    PyDictObject *mp;
   55|  23.9k|    assert(PyAnyDict_Check(op));
   56|  23.9k|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|  23.9k|#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|  23.9k|    return mp->ma_used;
   61|  23.9k|#endif
   62|  23.9k|}
_datetimemodule.c:PyDict_GET_SIZE:
   53|  11.7k|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|  11.7k|    PyDictObject *mp;
   55|  11.7k|    assert(PyAnyDict_Check(op));
   56|  11.7k|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|  11.7k|#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|  11.7k|    return mp->ma_used;
   61|  11.7k|#endif
   62|  11.7k|}
bufferedio.c:PyDict_GET_SIZE:
   53|      3|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|      3|    PyDictObject *mp;
   55|      3|    assert(PyAnyDict_Check(op));
   56|      3|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|      3|#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|    return mp->ma_used;
   61|      3|#endif
   62|      3|}
textio.c:PyDict_GET_SIZE:
   53|      5|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|      5|    PyDictObject *mp;
   55|      5|    assert(PyAnyDict_Check(op));
   56|      5|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|      5|#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|    return mp->ma_used;
   61|      5|#endif
   62|      5|}
sre.c:PyDict_GET_SIZE:
   53|    102|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|    102|    PyDictObject *mp;
   55|    102|    assert(PyAnyDict_Check(op));
   56|    102|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|    102|#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|    102|    return mp->ma_used;
   61|    102|#endif
   62|    102|}
_functoolsmodule.c:PyDict_GET_SIZE:
   53|  4.19k|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|  4.19k|    PyDictObject *mp;
   55|  4.19k|    assert(PyAnyDict_Check(op));
   56|  4.19k|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|  4.19k|#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.19k|    return mp->ma_used;
   61|  4.19k|#endif
   62|  4.19k|}
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|  95.9k|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|  95.9k|    PyDictObject *mp;
   55|  95.9k|    assert(PyAnyDict_Check(op));
   56|  95.9k|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|  95.9k|#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|  95.9k|    return mp->ma_used;
   61|  95.9k|#endif
   62|  95.9k|}
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|  4.87k|static inline Py_ssize_t PyDict_GET_SIZE(PyObject *op) {
   54|  4.87k|    PyDictObject *mp;
   55|  4.87k|    assert(PyAnyDict_Check(op));
   56|  4.87k|    mp = _Py_CAST(PyDictObject*, op);
  ------------------
  |  |   37|  4.87k|#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.87k|    return mp->ma_used;
   61|  4.87k|#endif
   62|  4.87k|}

floatobject.c:PyFloat_AS_DOUBLE:
   15|  11.9M|static inline double PyFloat_AS_DOUBLE(PyObject *op) {
   16|       |    return _PyFloat_CAST(op)->ob_fval;
  ------------------
  |  |   11|  11.9M|    (assert(PyFloat_Check(op)), _Py_CAST(PyFloatObject*, op))
  |  |  ------------------
  |  |  |  |   37|  11.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   17|  11.9M|}
bltinmodule.c:PyFloat_AS_DOUBLE:
   15|  49.2k|static inline double PyFloat_AS_DOUBLE(PyObject *op) {
   16|       |    return _PyFloat_CAST(op)->ob_fval;
  ------------------
  |  |   11|  49.2k|    (assert(PyFloat_Check(op)), _Py_CAST(PyFloatObject*, op))
  |  |  ------------------
  |  |  |  |   37|  49.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   17|  49.2k|}
ceval.c:PyFloat_AS_DOUBLE:
   15|  36.4k|static inline double PyFloat_AS_DOUBLE(PyObject *op) {
   16|       |    return _PyFloat_CAST(op)->ob_fval;
  ------------------
  |  |   11|  36.4k|    (assert(PyFloat_Check(op)), _Py_CAST(PyFloatObject*, op))
  |  |  ------------------
  |  |  |  |   37|  36.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   17|  36.4k|}
marshal.c:PyFloat_AS_DOUBLE:
   15|     13|static inline double PyFloat_AS_DOUBLE(PyObject *op) {
   16|       |    return _PyFloat_CAST(op)->ob_fval;
  ------------------
  |  |   11|     13|    (assert(PyFloat_Check(op)), _Py_CAST(PyFloatObject*, op))
  |  |  ------------------
  |  |  |  |   37|     13|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   17|     13|}
specialize.c:PyFloat_AS_DOUBLE:
   15|  7.99M|static inline double PyFloat_AS_DOUBLE(PyObject *op) {
   16|       |    return _PyFloat_CAST(op)->ob_fval;
  ------------------
  |  |   11|  7.99M|    (assert(PyFloat_Check(op)), _Py_CAST(PyFloatObject*, op))
  |  |  ------------------
  |  |  |  |   37|  7.99M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   17|  7.99M|}
codeobject.c:PyFloat_AS_DOUBLE:
   15|     29|static inline double PyFloat_AS_DOUBLE(PyObject *op) {
   16|       |    return _PyFloat_CAST(op)->ob_fval;
  ------------------
  |  |   11|     29|    (assert(PyFloat_Check(op)), _Py_CAST(PyFloatObject*, op))
  |  |  ------------------
  |  |  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   17|     29|}

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

bytesobject.c:PyList_GET_SIZE:
   30|   702k|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|   702k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|   702k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   702k|#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|   702k|    return Py_SIZE(list);
  ------------------
  |  |  214|   702k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   702k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   702k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|   702k|#endif
   37|   702k|}
listobject.c:PyList_GET_SIZE:
   30|  9.65M|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|  9.65M|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  9.65M|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  9.65M|#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.65M|    return Py_SIZE(list);
  ------------------
  |  |  214|  9.65M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  9.65M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.65M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|  9.65M|#endif
   37|  9.65M|}
listobject.c:PyList_SET_ITEM:
   43|  4.16M|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|  4.16M|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  4.16M|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  4.16M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   45|  4.16M|    assert(0 <= index);
   46|       |    assert(index < list->allocated);
   47|  4.16M|    list->ob_item[index] = value;
   48|  4.16M|}
dictobject.c:PyList_SET_ITEM:
   43|  33.0k|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|  33.0k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  33.0k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  33.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   45|  33.0k|    assert(0 <= index);
   46|       |    assert(index < list->allocated);
   47|  33.0k|    list->ob_item[index] = value;
   48|  33.0k|}
dictobject.c:PyList_GET_SIZE:
   30|     30|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|     30|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|     30|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     30|#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|     30|    return Py_SIZE(list);
  ------------------
  |  |  214|     30|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     30|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     30|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|     30|#endif
   37|     30|}
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|  54.3k|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|  54.3k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  54.3k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  54.3k|#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|  54.3k|    return Py_SIZE(list);
  ------------------
  |  |  214|  54.3k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  54.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|  54.3k|#endif
   37|  54.3k|}
typeobject.c:PyList_SET_ITEM:
   43|    756|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|    756|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|    756|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    756|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   45|    756|    assert(0 <= index);
   46|       |    assert(index < list->allocated);
   47|    756|    list->ob_item[index] = value;
   48|    756|}
unicodeobject.c:PyList_GET_SIZE:
   30|   142k|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|   142k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|   142k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   142k|#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|   142k|    return Py_SIZE(list);
  ------------------
  |  |  214|   142k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   142k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   142k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|   142k|#endif
   37|   142k|}
unicodeobject.c:PyList_SET_ITEM:
   43|  9.56k|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|  9.56k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  9.56k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  9.56k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   45|  9.56k|    assert(0 <= index);
   46|       |    assert(index < list->allocated);
   47|  9.56k|    list->ob_item[index] = value;
   48|  9.56k|}
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|}
_warnings.c:PyList_GET_SIZE:
   30|  25.8k|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|  25.8k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  25.8k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  25.8k|#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|  25.8k|    return Py_SIZE(list);
  ------------------
  |  |  214|  25.8k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  25.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  25.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|  25.8k|#endif
   37|  25.8k|}
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|     86|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|     86|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|     86|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     86|#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|     86|    return Py_SIZE(list);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|     86|#endif
   37|     86|}
ceval.c:PyList_GET_SIZE:
   30|  19.3M|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|  19.3M|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  19.3M|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  19.3M|#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|  19.3M|    return Py_SIZE(list);
  ------------------
  |  |  214|  19.3M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  19.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  19.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|  19.3M|#endif
   37|  19.3M|}
ceval.c:PyList_SET_ITEM:
   43|  5.82M|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|  5.82M|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  5.82M|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  5.82M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   45|  5.82M|    assert(0 <= index);
   46|       |    assert(index < list->allocated);
   47|  5.82M|    list->ob_item[index] = value;
   48|  5.82M|}
codegen.c:PyList_GET_SIZE:
   30|    142|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|    142|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|    142|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    142|#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|    142|    return Py_SIZE(list);
  ------------------
  |  |  214|    142|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    142|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    142|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|    142|#endif
   37|    142|}
compile.c:PyList_GET_SIZE:
   30|  14.9k|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|  14.9k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  14.9k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  14.9k|#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.9k|    return Py_SIZE(list);
  ------------------
  |  |  214|  14.9k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  14.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|  14.9k|#endif
   37|  14.9k|}
compile.c:PyList_SET_ITEM:
   43|  10.4k|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|  10.4k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  10.4k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  10.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   45|  10.4k|    assert(0 <= index);
   46|       |    assert(index < list->allocated);
   47|  10.4k|    list->ob_item[index] = value;
   48|  10.4k|}
flowgraph.c:PyList_GET_SIZE:
   30|  40.9k|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|  40.9k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  40.9k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  40.9k|#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|  40.9k|    return Py_SIZE(list);
  ------------------
  |  |  214|  40.9k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  40.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  40.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|  40.9k|#endif
   37|  40.9k|}
gc.c:PyList_GET_SIZE:
   30|  10.8k|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|  10.8k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  10.8k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  10.8k|#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|  10.8k|    return Py_SIZE(list);
  ------------------
  |  |  214|  10.8k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  10.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|  10.8k|#endif
   37|  10.8k|}
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|   868k|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|   868k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|   868k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   868k|#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|   868k|    return Py_SIZE(list);
  ------------------
  |  |  214|   868k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   868k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   868k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|   868k|#endif
   37|   868k|}
marshal.c:PyList_SET_ITEM:
   43|  3.86k|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|  3.86k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  3.86k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.86k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   45|  3.86k|    assert(0 <= index);
   46|       |    assert(index < list->allocated);
   47|  3.86k|    list->ob_item[index] = value;
   48|  3.86k|}
specialize.c:PyList_GET_SIZE:
   30|     52|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|     52|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|     52|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     52|#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|     52|    return Py_SIZE(list);
  ------------------
  |  |  214|     52|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     52|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     52|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|     52|#endif
   37|     52|}
symtable.c:PyList_GET_SIZE:
   30|  16.9k|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|  16.9k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  16.9k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  16.9k|#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|  16.9k|    return Py_SIZE(list);
  ------------------
  |  |  214|  16.9k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  16.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|  16.9k|#endif
   37|  16.9k|}
sre.c:PyList_GET_SIZE:
   30|    102|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|    102|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|    102|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    102|#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|    102|    return Py_SIZE(list);
  ------------------
  |  |  214|    102|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    102|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    102|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|    102|#endif
   37|    102|}
_abc.c:PyList_GET_SIZE:
   30|  4.15k|static inline Py_ssize_t PyList_GET_SIZE(PyObject *op) {
   31|  4.15k|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|  4.15k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  4.15k|#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.15k|    return Py_SIZE(list);
  ------------------
  |  |  214|  4.15k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.15k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.15k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|  4.15k|#endif
   37|  4.15k|}
_opcode.c:PyList_SET_ITEM:
   43|     98|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|     98|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|     98|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     98|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   45|     98|    assert(0 <= index);
   46|       |    assert(index < list->allocated);
   47|     98|    list->ob_item[index] = value;
   48|     98|}
abstract.c:PyList_SET_ITEM:
   43|    556|PyList_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   44|    556|    PyListObject *list = _PyList_CAST(op);
  ------------------
  |  |   26|    556|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    556|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   45|    556|    assert(0 <= index);
   46|       |    assert(index < list->allocated);
   47|    556|    list->ob_item[index] = value;
   48|    556|}
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|  2.26M|_PyLong_IsCompact(const PyLongObject* op) {
  123|  2.26M|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  124|  2.26M|    return op->long_value.lv_tag < (2 << _PyLong_NON_SIZE_BITS);
  ------------------
  |  |  118|  2.26M|#define _PyLong_NON_SIZE_BITS 3
  ------------------
  125|  2.26M|}
listobject.c:_PyLong_CompactValue:
  131|  6.79M|{
  132|  6.79M|    Py_ssize_t sign;
  133|  6.79M|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  134|  6.79M|    assert(PyUnstable_Long_IsCompact(op));
  135|  6.79M|    sign = 1 - (op->long_value.lv_tag & _PyLong_SIGN_MASK);
  ------------------
  |  |  117|  6.79M|#define _PyLong_SIGN_MASK 3
  ------------------
  136|  6.79M|    if (sign == 0) {
  ------------------
  |  Branch (136:9): [True: 46, False: 6.79M]
  ------------------
  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|     46|    }
  141|  6.79M|    return sign * (Py_ssize_t)op->long_value.ob_digit[0];
  142|  6.79M|}
longobject.c:_PyLong_IsCompact:
  122|   127M|_PyLong_IsCompact(const PyLongObject* op) {
  123|   127M|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  124|   127M|    return op->long_value.lv_tag < (2 << _PyLong_NON_SIZE_BITS);
  ------------------
  |  |  118|   127M|#define _PyLong_NON_SIZE_BITS 3
  ------------------
  125|   127M|}
longobject.c:_PyLong_CompactValue:
  131|   181M|{
  132|   181M|    Py_ssize_t sign;
  133|   181M|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  134|   181M|    assert(PyUnstable_Long_IsCompact(op));
  135|   181M|    sign = 1 - (op->long_value.lv_tag & _PyLong_SIGN_MASK);
  ------------------
  |  |  117|   181M|#define _PyLong_SIGN_MASK 3
  ------------------
  136|   181M|    if (sign == 0) {
  ------------------
  |  Branch (136:9): [True: 24.7M, False: 157M]
  ------------------
  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|  24.7M|    }
  141|   181M|    return sign * (Py_ssize_t)op->long_value.ob_digit[0];
  142|   181M|}
bltinmodule.c:_PyLong_IsCompact:
  122|     68|_PyLong_IsCompact(const PyLongObject* op) {
  123|     68|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  124|     68|    return op->long_value.lv_tag < (2 << _PyLong_NON_SIZE_BITS);
  ------------------
  |  |  118|     68|#define _PyLong_NON_SIZE_BITS 3
  ------------------
  125|     68|}
bltinmodule.c:_PyLong_CompactValue:
  131|     68|{
  132|     68|    Py_ssize_t sign;
  133|     68|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  134|     68|    assert(PyUnstable_Long_IsCompact(op));
  135|     68|    sign = 1 - (op->long_value.lv_tag & _PyLong_SIGN_MASK);
  ------------------
  |  |  117|     68|#define _PyLong_SIGN_MASK 3
  ------------------
  136|     68|    if (sign == 0) {
  ------------------
  |  Branch (136:9): [True: 0, False: 68]
  ------------------
  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|      0|    }
  141|     68|    return sign * (Py_ssize_t)op->long_value.ob_digit[0];
  142|     68|}
ceval.c:_PyLong_CompactValue:
  131|   117M|{
  132|   117M|    Py_ssize_t sign;
  133|   117M|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  134|   117M|    assert(PyUnstable_Long_IsCompact(op));
  135|   117M|    sign = 1 - (op->long_value.lv_tag & _PyLong_SIGN_MASK);
  ------------------
  |  |  117|   117M|#define _PyLong_SIGN_MASK 3
  ------------------
  136|   117M|    if (sign == 0) {
  ------------------
  |  Branch (136:9): [True: 23.5M, False: 94.4M]
  ------------------
  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|  23.5M|    }
  141|   117M|    return sign * (Py_ssize_t)op->long_value.ob_digit[0];
  142|   117M|}
ceval.c:_PyLong_IsCompact:
  122|   213M|_PyLong_IsCompact(const PyLongObject* op) {
  123|   213M|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  124|   213M|    return op->long_value.lv_tag < (2 << _PyLong_NON_SIZE_BITS);
  ------------------
  |  |  118|   213M|#define _PyLong_NON_SIZE_BITS 3
  ------------------
  125|   213M|}
specialize.c:_PyLong_CompactValue:
  131|  19.6M|{
  132|  19.6M|    Py_ssize_t sign;
  133|  19.6M|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  134|  19.6M|    assert(PyUnstable_Long_IsCompact(op));
  135|  19.6M|    sign = 1 - (op->long_value.lv_tag & _PyLong_SIGN_MASK);
  ------------------
  |  |  117|  19.6M|#define _PyLong_SIGN_MASK 3
  ------------------
  136|  19.6M|    if (sign == 0) {
  ------------------
  |  Branch (136:9): [True: 2.98M, False: 16.6M]
  ------------------
  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|  2.98M|    }
  141|  19.6M|    return sign * (Py_ssize_t)op->long_value.ob_digit[0];
  142|  19.6M|}
specialize.c:_PyLong_IsCompact:
  122|  19.6M|_PyLong_IsCompact(const PyLongObject* op) {
  123|  19.6M|    assert(PyType_HasFeature(op->ob_base.ob_type, Py_TPFLAGS_LONG_SUBCLASS));
  124|  19.6M|    return op->long_value.lv_tag < (2 << _PyLong_NON_SIZE_BITS);
  ------------------
  |  |  118|  19.6M|#define _PyLong_NON_SIZE_BITS 3
  ------------------
  125|  19.6M|}

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

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

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|    463|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
typeobject.c:_Py_atomic_compare_exchange_uint:
  100|    463|{ return __atomic_compare_exchange_n(obj, expected, desired, 0,
  101|    463|                                     __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); }
typeobject.c:_Py_atomic_store_ptr_relaxed:
  509|  7.20M|{ __atomic_store_n((void **)obj, value, __ATOMIC_RELAXED); }
typeobject.c:_Py_atomic_store_uint32_release:
  593|  3.60M|{ __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); }
_warnings.c:_Py_atomic_load_uint8:
  272|  24.5k|{ return __atomic_load_n(obj, __ATOMIC_SEQ_CST); }
ceval.c:_Py_atomic_compare_exchange_uint8:
  105|    636|{ return __atomic_compare_exchange_n(obj, expected, desired, 0,
  106|    636|                                     __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); }
ceval.c:_Py_atomic_load_uintptr_relaxed:
  375|   149M|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
gc.c:_Py_atomic_compare_exchange_int:
   70|  3.04k|{ return __atomic_compare_exchange_n(obj, expected, desired, 0,
   71|  3.04k|                                     __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); }
gc.c:_Py_atomic_store_int:
  402|  3.04k|{ __atomic_store_n(obj, value, __ATOMIC_SEQ_CST); }
gc.c:_Py_atomic_load_uintptr_relaxed:
  375|  26.9k|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
gc.c:_Py_atomic_or_uintptr:
  241|  3.04k|{ return __atomic_fetch_or(obj, value, __ATOMIC_SEQ_CST); }
gc.c:_Py_atomic_load_int_relaxed:
  307|  27.7k|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
getargs.c:_Py_atomic_load_uint8:
  272|   125k|{ return __atomic_load_n(obj, __ATOMIC_SEQ_CST); }
getargs.c:_Py_atomic_load_ptr:
  300|     63|{ return (void *)__atomic_load_n((void * const *)obj, __ATOMIC_SEQ_CST); }
getargs.c:_Py_atomic_compare_exchange_ptr:
  135|     63|{ return __atomic_compare_exchange_n((void **)obj, (void **)expected, desired, 0,
  136|     63|                                     __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); }
ceval_gil.c:_Py_atomic_store_ptr_relaxed:
  509|   116k|{ __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|   232k|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
ceval_gil.c:_Py_atomic_load_ptr_relaxed:
  387|   116k|{ return (void *)__atomic_load_n((void * const *)obj, __ATOMIC_RELAXED); }
ceval_gil.c:_Py_atomic_store_int_relaxed:
  461|   232k|{ __atomic_store_n(obj, value, __ATOMIC_RELAXED); }
ceval_gil.c:_Py_atomic_and_uintptr:
  218|   119k|{ return __atomic_fetch_and(obj, value, __ATOMIC_SEQ_CST); }
ceval_gil.c:_Py_atomic_load_int32_relaxed:
  347|   232k|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
ceval_gil.c:_Py_atomic_load_uintptr_relaxed:
  375|   352k|{ 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|  19.9k|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
lock.c:_Py_atomic_load_uint8_relaxed:
  359|   104k|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
lock.c:_Py_atomic_compare_exchange_uint8:
  105|   323k|{ return __atomic_compare_exchange_n(obj, expected, desired, 0,
  106|   323k|                                     __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); }
lock.c:_Py_atomic_load_uint8:
  272|    393|{ return __atomic_load_n(obj, __ATOMIC_SEQ_CST); }
lock.c:_Py_atomic_exchange_uint8:
  171|     67|{ return __atomic_exchange_n(obj, value, __ATOMIC_SEQ_CST); }
lock.c:_Py_atomic_load_ullong_relaxed:
  391|   340k|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
lock.c:_Py_atomic_store_ullong_relaxed:
  518|   301k|{ __atomic_store_n(obj, value, __ATOMIC_RELAXED); }
pylifecycle.c:_Py_atomic_load_ptr_relaxed:
  387|  8.60k|{ return (void *)__atomic_load_n((void * const *)obj, __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|   232k|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
thread.c:_Py_atomic_compare_exchange_uint8:
  105|  20.8k|{ return __atomic_compare_exchange_n(obj, expected, desired, 0,
  106|  20.8k|                                     __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST); }
fileutils.c:_Py_atomic_load_int_relaxed:
  307|  8.08k|{ 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|   202k|{ return __atomic_load_n(obj, __ATOMIC_RELAXED); }
signalmodule.c:_Py_atomic_load_int:
  248|   202k|{ 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_load_ptr_acquire:
  557|  4.30k|{ return (void *)__atomic_load_n((void * const *)obj, __ATOMIC_ACQUIRE); }
codeobject.c:_Py_atomic_add_uint64:
   55|  65.0k|{ return __atomic_fetch_add(obj, value, __ATOMIC_SEQ_CST); }
Python-ast.c:_Py_atomic_load_uint8:
  272|  27.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|}
_warnings.c:_PyMutex_IsLocked:
   75|  24.5k|{
   76|  24.5k|    return (_Py_atomic_load_uint8(&m->_bits) & _Py_LOCKED) != 0;
  ------------------
  |  |   10|  24.5k|#define _Py_LOCKED      1
  ------------------
   77|  24.5k|}
ceval.c:_PyMutex_Unlock:
   64|    318|{
   65|    318|    uint8_t expected = _Py_LOCKED;
  ------------------
  |  |   10|    318|#define _Py_LOCKED      1
  ------------------
   66|    318|    if (!_Py_atomic_compare_exchange_uint8(&m->_bits, &expected, _Py_UNLOCKED)) {
  ------------------
  |  |    9|    318|#define _Py_UNLOCKED    0
  ------------------
  |  Branch (66:9): [True: 0, False: 318]
  ------------------
   67|      0|        PyMutex_Unlock(m);
   68|      0|    }
   69|    318|}
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|  67.3k|{
   54|  67.3k|    uint8_t expected = _Py_UNLOCKED;
  ------------------
  |  |    9|  67.3k|#define _Py_UNLOCKED    0
  ------------------
   55|  67.3k|    if (!_Py_atomic_compare_exchange_uint8(&m->_bits, &expected, _Py_LOCKED)) {
  ------------------
  |  |   10|  67.3k|#define _Py_LOCKED      1
  ------------------
  |  Branch (55:9): [True: 0, False: 67.3k]
  ------------------
   56|      0|        PyMutex_Lock(m);
   57|      0|    }
   58|  67.3k|}
lock.c:_PyMutex_Unlock:
   64|   150k|{
   65|   150k|    uint8_t expected = _Py_LOCKED;
  ------------------
  |  |   10|   150k|#define _Py_LOCKED      1
  ------------------
   66|   150k|    if (!_Py_atomic_compare_exchange_uint8(&m->_bits, &expected, _Py_UNLOCKED)) {
  ------------------
  |  |    9|   150k|#define _Py_UNLOCKED    0
  ------------------
  |  Branch (66:9): [True: 0, False: 150k]
  ------------------
   67|      0|        PyMutex_Unlock(m);
   68|      0|    }
   69|   150k|}
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|  20.8k|{
   65|  20.8k|    uint8_t expected = _Py_LOCKED;
  ------------------
  |  |   10|  20.8k|#define _Py_LOCKED      1
  ------------------
   66|  20.8k|    if (!_Py_atomic_compare_exchange_uint8(&m->_bits, &expected, _Py_UNLOCKED)) {
  ------------------
  |  |    9|  20.8k|#define _Py_UNLOCKED    0
  ------------------
  |  Branch (66:9): [True: 0, False: 20.8k]
  ------------------
   67|      0|        PyMutex_Unlock(m);
   68|      0|    }
   69|  20.8k|}
_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|    171|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|    171|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|    171|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   69|    171|#endif
   70|    171|}
setobject.c:PySet_GET_SIZE:
   64|   370k|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|   370k|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|   370k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   69|   370k|#endif
   70|   370k|}
marshal.c:PySet_GET_SIZE:
   64|     10|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|     10|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   69|     10|#endif
   70|     10|}
_abc.c:PySet_GET_SIZE:
   64|  83.2k|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|  83.2k|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|  83.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   69|  83.2k|#endif
   70|  83.2k|}
codeobject.c:PySet_GET_SIZE:
   64|    124|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|    124|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|    124|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   69|    124|#endif
   70|    124|}

bytesobject.c:PyTuple_GET_SIZE:
   23|  7.53M|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  7.53M|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  7.53M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  7.53M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|  7.53M|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  7.53M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  7.53M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.53M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  7.53M|}
call.c:PyTuple_GET_SIZE:
   23|  5.31M|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  5.31M|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  5.31M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  5.31M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|  5.31M|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  5.31M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.31M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.31M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  5.31M|}
call.c:PyTuple_SET_ITEM:
   33|  2.99M|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|  2.99M|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  2.99M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  2.99M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   35|  2.99M|    assert(0 <= index);
   36|       |    assert(index < Py_SIZE(tuple));
   37|  2.99M|    tuple->ob_item[index] = value;
   38|  2.99M|}
exceptions.c:PyTuple_GET_SIZE:
   23|   118k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|   118k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|   118k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   118k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|   118k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|   118k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   118k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   118k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|   118k|}
genericaliasobject.c:PyTuple_GET_SIZE:
   23|    254|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    254|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    254|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    254|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|    254|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    254|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    254|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    254|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    254|}
genericaliasobject.c:PyTuple_SET_ITEM:
   33|     20|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|     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))
  |  |  ------------------
  ------------------
   35|     20|    assert(0 <= index);
   36|       |    assert(index < Py_SIZE(tuple));
   37|     20|    tuple->ob_item[index] = value;
   38|     20|}
listobject.c:PyTuple_GET_SIZE:
   23|  2.10M|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  2.10M|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  2.10M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  2.10M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|  2.10M|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  2.10M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.10M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.10M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  2.10M|}
longobject.c:PyTuple_GET_SIZE:
   23|  38.3k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  38.3k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  38.3k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  38.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|  38.3k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  38.3k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  38.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  38.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  38.3k|}
dictobject.c:PyTuple_SET_ITEM:
   33|   782k|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|   782k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|   782k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   782k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   35|   782k|    assert(0 <= index);
   36|       |    assert(index < Py_SIZE(tuple));
   37|   782k|    tuple->ob_item[index] = value;
   38|   782k|}
dictobject.c:PyTuple_GET_SIZE:
   23|  6.24k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  6.24k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  6.24k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  6.24k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|  6.24k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  6.24k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  6.24k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.24k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  6.24k|}
memoryobject.c:PyTuple_GET_SIZE:
   23|  3.94k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  3.94k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  3.94k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.94k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|  3.94k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  3.94k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.94k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.94k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  3.94k|}
moduleobject.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|}
sentinelobject.c:PyTuple_GET_SIZE:
   23|     12|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|     12|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|     12|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|     12|    return Py_SIZE(tuple);
  ------------------
  |  |  214|     12|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|     12|}
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|}
structseq.c:PyTuple_GET_SIZE:
   23|  23.6k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  23.6k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  23.6k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  23.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|  23.6k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  23.6k|#  define Py_SIZE(ob) _Py_SIZE_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  23.6k|}
tupleobject.c:PyTuple_GET_SIZE:
   23|   513k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|   513k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|   513k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   513k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|   513k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|   513k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   513k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   513k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|   513k|}
tupleobject.c:PyTuple_SET_ITEM:
   33|   113k|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|   113k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|   113k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   113k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   35|   113k|    assert(0 <= index);
   36|       |    assert(index < Py_SIZE(tuple));
   37|   113k|    tuple->ob_item[index] = value;
   38|   113k|}
typeobject.c:PyTuple_GET_SIZE:
   23|  57.4M|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  57.4M|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  57.4M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  57.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|  57.4M|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  57.4M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  57.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  57.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  57.4M|}
typeobject.c:PyTuple_SET_ITEM:
   33|  9.58k|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|  9.58k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  9.58k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  9.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   35|  9.58k|    assert(0 <= index);
   36|       |    assert(index < Py_SIZE(tuple));
   37|  9.58k|    tuple->ob_item[index] = value;
   38|  9.58k|}
typevarobject.c:PyTuple_GET_SIZE:
   23|    498|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    498|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    498|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    498|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|    498|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    498|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    498|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    498|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    498|}
typevarobject.c:PyTuple_SET_ITEM:
   33|    596|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|    596|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    596|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    596|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   35|    596|    assert(0 <= index);
   36|       |    assert(index < Py_SIZE(tuple));
   37|    596|    tuple->ob_item[index] = value;
   38|    596|}
unicodeobject.c:PyTuple_GET_SIZE:
   23|  15.7k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  15.7k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  15.7k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  15.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|  15.7k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  15.7k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  15.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  15.7k|}
unicodeobject.c:PyTuple_SET_ITEM:
   33|   102k|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|   102k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|   102k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   102k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   35|   102k|    assert(0 <= index);
   36|       |    assert(index < Py_SIZE(tuple));
   37|   102k|    tuple->ob_item[index] = value;
   38|   102k|}
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|  32.4k|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|  32.4k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  32.4k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  32.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   35|  32.4k|    assert(0 <= index);
   36|       |    assert(index < Py_SIZE(tuple));
   37|  32.4k|    tuple->ob_item[index] = value;
   38|  32.4k|}
_warnings.c:PyTuple_GET_SIZE:
   23|  25.8k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  25.8k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  25.8k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  25.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|  25.8k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  25.8k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  25.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  25.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  25.8k|}
bltinmodule.c:PyTuple_GET_SIZE:
   23|  31.5k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  31.5k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  31.5k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  31.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|  31.5k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  31.5k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  31.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  31.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  31.5k|}
bltinmodule.c:PyTuple_SET_ITEM:
   33|  5.63k|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|  5.63k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  5.63k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  5.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   35|  5.63k|    assert(0 <= index);
   36|       |    assert(index < Py_SIZE(tuple));
   37|  5.63k|    tuple->ob_item[index] = value;
   38|  5.63k|}
ceval.c:PyTuple_GET_SIZE:
   23|  31.2M|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  31.2M|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  31.2M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  31.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|  31.2M|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  31.2M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  31.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  31.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  31.2M|}
codecs.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|}
codegen.c:PyTuple_SET_ITEM:
   33|    924|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|    924|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    924|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    924|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   35|    924|    assert(0 <= index);
   36|       |    assert(index < Py_SIZE(tuple));
   37|    924|    tuple->ob_item[index] = value;
   38|    924|}
compile.c:PyTuple_GET_SIZE:
   23|    516|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    516|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    516|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    516|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|    516|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    516|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    516|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    516|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    516|}
compile.c:PyTuple_SET_ITEM:
   33|    106|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|    106|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    106|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    106|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   35|    106|    assert(0 <= index);
   36|       |    assert(index < Py_SIZE(tuple));
   37|    106|    tuple->ob_item[index] = value;
   38|    106|}
flowgraph.c:PyTuple_SET_ITEM:
   33|    949|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|    949|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    949|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    949|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   35|    949|    assert(0 <= index);
   36|       |    assert(index < Py_SIZE(tuple));
   37|    949|    tuple->ob_item[index] = value;
   38|    949|}
getargs.c:PyTuple_SET_ITEM:
   33|     86|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|     86|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|     86|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     86|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   35|     86|    assert(0 <= index);
   36|       |    assert(index < Py_SIZE(tuple));
   37|     86|    tuple->ob_item[index] = value;
   38|     86|}
getargs.c:PyTuple_GET_SIZE:
   23|  2.43M|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  2.43M|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  2.43M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  2.43M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|  2.43M|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  2.43M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.43M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.43M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  2.43M|}
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_GET_SIZE:
   23|  4.16k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  4.16k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  4.16k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  4.16k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|  4.16k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  4.16k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.16k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.16k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  4.16k|}
marshal.c:PyTuple_SET_ITEM:
   33|  1.35M|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|  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))
  |  |  ------------------
  ------------------
   35|  1.35M|    assert(0 <= index);
   36|       |    assert(index < Py_SIZE(tuple));
   37|  1.35M|    tuple->ob_item[index] = value;
   38|  1.35M|}
modsupport.c:PyTuple_SET_ITEM:
   33|   501k|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|   501k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|   501k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   501k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   35|   501k|    assert(0 <= index);
   36|       |    assert(index < Py_SIZE(tuple));
   37|   501k|    tuple->ob_item[index] = value;
   38|   501k|}
specialize.c:PyTuple_GET_SIZE:
   23|    580|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|    580|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|    580|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    580|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|    580|    return Py_SIZE(tuple);
  ------------------
  |  |  214|    580|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    580|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    580|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|    580|}
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|  35.3k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  35.3k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  35.3k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  35.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|  35.3k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  35.3k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  35.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  35.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  35.3k|}
_collectionsmodule.c:PyTuple_GET_SIZE:
   23|  11.3k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  11.3k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  11.3k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  11.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|  11.3k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  11.3k|#  define Py_SIZE(ob) _Py_SIZE_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  11.3k|}
fileio.c:PyTuple_GET_SIZE:
   23|  4.05k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  4.05k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  4.05k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  4.05k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|  4.05k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  4.05k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.05k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.05k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  4.05k|}
bytesio.c:PyTuple_GET_SIZE:
   23|  3.55k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  3.55k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  3.55k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.55k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|  3.55k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  3.55k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.55k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.55k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  3.55k|}
bufferedio.c:PyTuple_GET_SIZE:
   23|  4.05k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  4.05k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  4.05k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  4.05k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|  4.05k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  4.05k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.05k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.05k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  4.05k|}
textio.c:PyTuple_GET_SIZE:
   23|     25|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|     25|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|     25|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     25|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|     25|    return Py_SIZE(tuple);
  ------------------
  |  |  214|     25|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     25|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     25|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|     25|}
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.28k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  4.28k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  4.28k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  4.28k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|  4.28k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  4.28k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.28k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.28k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  4.28k|}
_functoolsmodule.c:PyTuple_GET_SIZE:
   23|  40.1k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  40.1k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  40.1k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  40.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|  40.1k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  40.1k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  40.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  40.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  40.1k|}
_functoolsmodule.c:PyTuple_SET_ITEM:
   33|  11.5k|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|  11.5k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  11.5k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  11.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   35|  11.5k|    assert(0 <= index);
   36|       |    assert(index < Py_SIZE(tuple));
   37|  11.5k|    tuple->ob_item[index] = value;
   38|  11.5k|}
_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|   466k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|   466k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|   466k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   466k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|   466k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|   466k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   466k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   466k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|   466k|}
bytes_methods.c:PyTuple_GET_SIZE:
   23|     12|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|     12|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|     12|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|     12|    return Py_SIZE(tuple);
  ------------------
  |  |  214|     12|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     12|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|     12|}
bytearrayobject.c:PyTuple_GET_SIZE:
   23|  7.52M|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  7.52M|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  7.52M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  7.52M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|  7.52M|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  7.52M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  7.52M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.52M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  7.52M|}
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|  58.2k|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|  58.2k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  58.2k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  58.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   35|  58.2k|    assert(0 <= index);
   36|       |    assert(index < Py_SIZE(tuple));
   37|  58.2k|    tuple->ob_item[index] = value;
   38|  58.2k|}
codeobject.c:PyTuple_GET_SIZE:
   23|   690k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|   690k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|   690k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   690k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|   690k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|   690k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   690k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   690k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|   690k|}
descrobject.c:PyTuple_GET_SIZE:
   23|  30.2k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  30.2k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  30.2k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  30.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|  30.2k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  30.2k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  30.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  30.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  30.2k|}
enumobject.c:PyTuple_SET_ITEM:
   33|  9.28k|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|  9.28k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  9.28k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  9.28k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   35|  9.28k|    assert(0 <= index);
   36|       |    assert(index < Py_SIZE(tuple));
   37|  9.28k|    tuple->ob_item[index] = value;
   38|  9.28k|}
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|  3.61k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  3.61k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  3.61k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.61k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|  3.61k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  3.61k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.61k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.61k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  3.61k|}
odictobject.c:PyTuple_GET_SIZE:
   23|  10.8k|static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
   24|  10.8k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  10.8k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  10.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   25|  10.8k|    return Py_SIZE(tuple);
  ------------------
  |  |  214|  10.8k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  10.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|  10.8k|}
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|  13.6k|PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
   34|  13.6k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|  13.6k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  13.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   35|  13.6k|    assert(0 <= index);
   36|       |    assert(index < Py_SIZE(tuple));
   37|  13.6k|    tuple->ob_item[index] = value;
   38|  13.6k|}

bytesobject.c:_PyUnicode_DATA:
  278|      1|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|      1|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|      1|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 1, False: 0]
  |  |  ------------------
  ------------------
  280|      1|        return _PyUnicode_COMPACT_DATA(op);
  281|      1|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|      1|}
bytesobject.c:PyUnicode_IS_COMPACT:
  231|      1|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|       |    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|      1|    (assert(PyUnicode_Check(op)), \
  |  |  187|      1|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  233|      1|}
bytesobject.c:_PyUnicode_COMPACT_DATA:
  261|      1|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|      1|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|      1|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 1, False: 0]
  |  |  ------------------
  ------------------
  263|      1|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|      1|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  264|      1|    }
  265|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  266|      1|}
bytesobject.c:PyUnicode_IS_ASCII:
  224|      1|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|       |    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|      1|    (assert(PyUnicode_Check(op)), \
  |  |  187|      1|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  226|      1|}
listobject.c:PyUnicode_GET_LENGTH:
  296|   479k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|       |    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|   479k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   479k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   479k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  298|   479k|}
listobject.c:_PyUnicode_DATA:
  278|   317k|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|   317k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|   317k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   317k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   317k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 317k, False: 0]
  |  |  ------------------
  ------------------
  280|   317k|        return _PyUnicode_COMPACT_DATA(op);
  281|   317k|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|   317k|}
listobject.c:PyUnicode_IS_COMPACT:
  231|   317k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|       |    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|   317k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   317k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   317k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  233|   317k|}
listobject.c:_PyUnicode_COMPACT_DATA:
  261|   317k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|   317k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|   317k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   317k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   317k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 317k, False: 0]
  |  |  ------------------
  ------------------
  263|   317k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|   317k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  264|   317k|    }
  265|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  266|   317k|}
listobject.c:PyUnicode_IS_ASCII:
  224|   317k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|       |    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|   317k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   317k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   317k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  226|   317k|}
longobject.c:_PyUnicode_DATA:
  278|  40.0k|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|  40.0k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|  40.0k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  40.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  40.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 40.0k, False: 0]
  |  |  ------------------
  ------------------
  280|  40.0k|        return _PyUnicode_COMPACT_DATA(op);
  281|  40.0k|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|  40.0k|}
longobject.c:PyUnicode_IS_COMPACT:
  231|  40.0k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|       |    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  40.0k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  40.0k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  40.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  233|  40.0k|}
longobject.c:_PyUnicode_COMPACT_DATA:
  261|  40.0k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|  40.0k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|  40.0k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  40.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  40.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 40.0k, False: 0]
  |  |  ------------------
  ------------------
  263|  40.0k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  40.0k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  264|  40.0k|    }
  265|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  266|  40.0k|}
longobject.c:PyUnicode_IS_ASCII:
  224|  40.0k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|       |    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  40.0k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  40.0k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  40.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  226|  40.0k|}
dictobject.c:PyUnstable_Unicode_GET_CACHED_HASH:
  303|  78.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|  78.2M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  78.2M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  78.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  308|  78.2M|#endif
  309|  78.2M|}
dictobject.c:PyUnicode_GET_LENGTH:
  296|  8.06M|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|       |    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  8.06M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  8.06M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  8.06M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  298|  8.06M|}
dictobject.c:_PyUnicode_DATA:
  278|  8.06M|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|  8.06M|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|  8.06M|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_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 (234:34): [True: 8.06M, False: 0]
  |  |  ------------------
  ------------------
  280|  8.06M|        return _PyUnicode_COMPACT_DATA(op);
  281|  8.06M|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|  8.06M|}
dictobject.c:PyUnicode_IS_COMPACT:
  231|  8.06M|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|       |    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  8.06M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  8.06M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  8.06M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  233|  8.06M|}
dictobject.c:_PyUnicode_COMPACT_DATA:
  261|  8.06M|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|  8.06M|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|  8.06M|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_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 (227:32): [True: 8.04M, False: 15.1k]
  |  |  ------------------
  ------------------
  263|  8.04M|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  8.04M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  264|  8.04M|    }
  265|  15.1k|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|  15.1k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  266|  8.06M|}
dictobject.c:PyUnicode_IS_ASCII:
  224|  8.06M|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|       |    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  8.06M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  8.06M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  8.06M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  226|  8.06M|}
setobject.c:PyUnstable_Unicode_GET_CACHED_HASH:
  303|   589k|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|   589k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   589k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   589k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  308|   589k|#endif
  309|   589k|}
setobject.c:PyUnicode_GET_LENGTH:
  296|  8.03k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|       |    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  8.03k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  8.03k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  8.03k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  298|  8.03k|}
setobject.c:_PyUnicode_DATA:
  278|  8.03k|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|  8.03k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|  8.03k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.03k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.03k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 8.03k, False: 0]
  |  |  ------------------
  ------------------
  280|  8.03k|        return _PyUnicode_COMPACT_DATA(op);
  281|  8.03k|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|  8.03k|}
setobject.c:PyUnicode_IS_COMPACT:
  231|  8.03k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|       |    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  8.03k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  8.03k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  8.03k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  233|  8.03k|}
setobject.c:_PyUnicode_COMPACT_DATA:
  261|  8.03k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|  8.03k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|  8.03k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.03k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.03k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 8.03k, False: 0]
  |  |  ------------------
  ------------------
  263|  8.03k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  8.03k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  264|  8.03k|    }
  265|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  266|  8.03k|}
setobject.c:PyUnicode_IS_ASCII:
  224|  8.03k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|       |    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  8.03k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  8.03k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  8.03k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  226|  8.03k|}
typeobject.c:PyUnstable_Unicode_GET_CACHED_HASH:
  303|  3.82M|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.82M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  3.82M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.82M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  308|  3.82M|#endif
  309|  3.82M|}
typeobject.c:PyUnicode_GET_LENGTH:
  296|  3.61M|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|       |    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  3.61M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  3.61M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.61M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  298|  3.61M|}
typeobject.c:PyUnicode_CHECK_INTERNED:
  207|  4.11k|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.11k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  4.11k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  4.11k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  212|  4.11k|#endif
  213|  4.11k|}
typeobject.c:_PyUnicode_DATA:
  278|  3.35k|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|  3.35k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|  3.35k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.35k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.35k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 3.35k, False: 0]
  |  |  ------------------
  ------------------
  280|  3.35k|        return _PyUnicode_COMPACT_DATA(op);
  281|  3.35k|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|  3.35k|}
typeobject.c:PyUnicode_IS_COMPACT:
  231|  3.35k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|       |    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  3.35k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  3.35k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.35k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  233|  3.35k|}
typeobject.c:_PyUnicode_COMPACT_DATA:
  261|  3.35k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|  3.35k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|  3.35k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.35k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.35k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 3.35k, False: 0]
  |  |  ------------------
  ------------------
  263|  3.35k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  3.35k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  264|  3.35k|    }
  265|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  266|  3.35k|}
typeobject.c:PyUnicode_IS_ASCII:
  224|  3.35k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|       |    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  3.35k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  3.35k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.35k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  226|  3.35k|}
unicode_format.c:_PyUnicode_DATA:
  278|  10.5k|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|  10.5k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|  10.5k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 10.5k, False: 0]
  |  |  ------------------
  ------------------
  280|  10.5k|        return _PyUnicode_COMPACT_DATA(op);
  281|  10.5k|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|  10.5k|}
unicode_format.c:PyUnicode_IS_COMPACT:
  231|  10.5k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|       |    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  10.5k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  10.5k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  10.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  233|  10.5k|}
unicode_format.c:_PyUnicode_COMPACT_DATA:
  261|  10.5k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|  10.5k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|  10.5k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 10.5k, False: 0]
  |  |  ------------------
  ------------------
  263|  10.5k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  10.5k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  264|  10.5k|    }
  265|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  266|  10.5k|}
unicode_format.c:PyUnicode_IS_ASCII:
  224|  10.5k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|       |    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  10.5k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  10.5k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  10.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  226|  10.5k|}
unicode_format.c:PyUnicode_GET_LENGTH:
  296|  19.5k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|       |    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  19.5k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  19.5k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  19.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  298|  19.5k|}
unicode_format.c:PyUnicode_READ:
  342|   129k|{
  343|   129k|    assert(index >= 0);
  344|   129k|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (344:9): [True: 129k, False: 0]
  ------------------
  345|   129k|        return _Py_STATIC_CAST(const Py_UCS1*, data)[index];
  ------------------
  |  |   34|   129k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  346|   129k|    }
  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|     32|{
  388|     32|    int kind;
  389|       |
  390|     32|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|     32|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     32|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 32, False: 0]
  |  |  ------------------
  ------------------
  391|     32|        return 0x7fU;
  392|     32|    }
  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.16M|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|  1.16M|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|  1.16M|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.16M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.16M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 1.16M, False: 0]
  |  |  ------------------
  ------------------
  280|  1.16M|        return _PyUnicode_COMPACT_DATA(op);
  281|  1.16M|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|  1.16M|}
unicode_writer.c:PyUnicode_IS_COMPACT:
  231|  1.16M|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|       |    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  1.16M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  1.16M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.16M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  233|  1.16M|}
unicode_writer.c:_PyUnicode_COMPACT_DATA:
  261|  1.16M|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|  1.16M|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|  1.16M|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.16M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.16M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 1.16M, False: 2.58k]
  |  |  ------------------
  ------------------
  263|  1.16M|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  1.16M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  264|  1.16M|    }
  265|  2.58k|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|  2.58k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  266|  1.16M|}
unicode_writer.c:PyUnicode_IS_ASCII:
  224|  3.51M|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|       |    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  3.51M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  3.51M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.51M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  226|  3.51M|}
unicode_writer.c:PyUnicode_WRITE:
  318|   103k|{
  319|   103k|    assert(index >= 0);
  320|   103k|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (320:9): [True: 103k, False: 0]
  ------------------
  321|   103k|        assert(value <= 0xffU);
  322|   103k|        _Py_STATIC_CAST(Py_UCS1*, data)[index] = _Py_STATIC_CAST(Py_UCS1, value);
  ------------------
  |  |   34|   103k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
                      _Py_STATIC_CAST(Py_UCS1*, data)[index] = _Py_STATIC_CAST(Py_UCS1, value);
  ------------------
  |  |   34|   103k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  323|   103k|    }
  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|   103k|}
unicode_writer.c:PyUnicode_GET_LENGTH:
  296|  3.38M|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|       |    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  3.38M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  3.38M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.38M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  298|  3.38M|}
unicode_writer.c:PyUnicode_MAX_CHAR_VALUE:
  387|  2.34M|{
  388|  2.34M|    int kind;
  389|       |
  390|  2.34M|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|  2.34M|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.34M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.34M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 2.33M, False: 5.08k]
  |  |  ------------------
  ------------------
  391|  2.33M|        return 0x7fU;
  392|  2.33M|    }
  393|       |
  394|  5.08k|    kind = PyUnicode_KIND(op);
  ------------------
  |  |  258|  5.08k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  5.08k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  395|  5.08k|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (395:9): [True: 232, False: 4.84k]
  ------------------
  396|    232|       return 0xffU;
  397|    232|    }
  398|  4.84k|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (398:9): [True: 766, False: 4.08k]
  ------------------
  399|    766|        return 0xffffU;
  400|    766|    }
  401|  4.84k|    assert(kind == PyUnicode_4BYTE_KIND);
  402|  4.08k|    return 0x10ffffU;
  403|  4.84k|}
unicodeobject.c:PyUnicode_CHECK_INTERNED:
  207|  10.7M|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|  10.7M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  10.7M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  10.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  212|  10.7M|#endif
  213|  10.7M|}
unicodeobject.c:_PyUnicode_DATA:
  278|  38.2M|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|  38.2M|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|  38.2M|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  38.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  38.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 38.2M, False: 0]
  |  |  ------------------
  ------------------
  280|  38.2M|        return _PyUnicode_COMPACT_DATA(op);
  281|  38.2M|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|  38.2M|}
unicodeobject.c:_PyUnicode_COMPACT_DATA:
  261|  38.2M|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|  38.2M|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|  38.2M|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  38.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  38.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 31.3M, False: 6.83M]
  |  |  ------------------
  ------------------
  263|  31.3M|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  31.3M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  264|  31.3M|    }
  265|  6.83M|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|  6.83M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  266|  38.2M|}
unicodeobject.c:PyUnicode_READ:
  342|  1.19M|{
  343|  1.19M|    assert(index >= 0);
  344|  1.19M|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (344:9): [True: 851k, False: 346k]
  ------------------
  345|   851k|        return _Py_STATIC_CAST(const Py_UCS1*, data)[index];
  ------------------
  |  |   34|   851k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  346|   851k|    }
  347|   346k|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (347:9): [True: 12.4k, False: 334k]
  ------------------
  348|  12.4k|        return _Py_STATIC_CAST(const Py_UCS2*, data)[index];
  ------------------
  |  |   34|  12.4k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  349|  12.4k|    }
  350|   346k|    assert(kind == PyUnicode_4BYTE_KIND);
  351|   334k|    return _Py_STATIC_CAST(const Py_UCS4*, data)[index];
  ------------------
  |  |   34|   334k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  352|   346k|}
unicodeobject.c:PyUnicode_GET_LENGTH:
  296|  81.9M|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|       |    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  81.9M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  81.9M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  81.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  298|  81.9M|}
unicodeobject.c:PyUnicode_IS_ASCII:
  224|  60.7M|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|       |    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  60.7M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  60.7M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  60.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  226|  60.7M|}
unicodeobject.c:PyUnicode_IS_COMPACT_ASCII:
  238|  16.9M|static inline int PyUnicode_IS_COMPACT_ASCII(PyObject *op) {
  239|  16.9M|    return (_PyASCIIObject_CAST(op)->state.ascii && PyUnicode_IS_COMPACT(op));
  ------------------
  |  |  186|  16.9M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  16.9M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  16.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
                  return (_PyASCIIObject_CAST(op)->state.ascii && PyUnicode_IS_COMPACT(op));
  ------------------
  |  |  234|  12.5M|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 12.5M, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (239:13): [True: 12.5M, False: 4.40M]
  ------------------
  240|  16.9M|}
unicodeobject.c:PyUnicode_WRITE:
  318|  1.17M|{
  319|  1.17M|    assert(index >= 0);
  320|  1.17M|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (320:9): [True: 1.16M, False: 8.63k]
  ------------------
  321|  1.16M|        assert(value <= 0xffU);
  322|  1.16M|        _Py_STATIC_CAST(Py_UCS1*, data)[index] = _Py_STATIC_CAST(Py_UCS1, value);
  ------------------
  |  |   34|  1.16M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
                      _Py_STATIC_CAST(Py_UCS1*, data)[index] = _Py_STATIC_CAST(Py_UCS1, value);
  ------------------
  |  |   34|  1.16M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  323|  1.16M|    }
  324|  8.63k|    else if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (324:14): [True: 1.01k, False: 7.61k]
  ------------------
  325|  1.01k|        assert(value <= 0xffffU);
  326|  1.01k|        _Py_STATIC_CAST(Py_UCS2*, data)[index] = _Py_STATIC_CAST(Py_UCS2, value);
  ------------------
  |  |   34|  1.01k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
                      _Py_STATIC_CAST(Py_UCS2*, data)[index] = _Py_STATIC_CAST(Py_UCS2, value);
  ------------------
  |  |   34|  1.01k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  327|  1.01k|    }
  328|  7.61k|    else {
  329|  7.61k|        assert(kind == PyUnicode_4BYTE_KIND);
  330|  7.61k|        assert(value <= 0x10ffffU);
  331|  7.61k|        _Py_STATIC_CAST(Py_UCS4*, data)[index] = value;
  ------------------
  |  |   34|  7.61k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  332|  7.61k|    }
  333|  1.17M|}
unicodeobject.c:PyUnstable_Unicode_GET_CACHED_HASH:
  303|  7.61M|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|  7.61M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  7.61M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  7.61M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  308|  7.61M|#endif
  309|  7.61M|}
unicodeobject.c:PyUnicode_MAX_CHAR_VALUE:
  387|  10.3M|{
  388|  10.3M|    int kind;
  389|       |
  390|  10.3M|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|  10.3M|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 9.33M, False: 988k]
  |  |  ------------------
  ------------------
  391|  9.33M|        return 0x7fU;
  392|  9.33M|    }
  393|       |
  394|   988k|    kind = PyUnicode_KIND(op);
  ------------------
  |  |  258|   988k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|   988k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  395|   988k|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (395:9): [True: 3.89k, False: 984k]
  ------------------
  396|  3.89k|       return 0xffU;
  397|  3.89k|    }
  398|   984k|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (398:9): [True: 116k, False: 867k]
  ------------------
  399|   116k|        return 0xffffU;
  400|   116k|    }
  401|   984k|    assert(kind == PyUnicode_4BYTE_KIND);
  402|   867k|    return 0x10ffffU;
  403|   984k|}
unicodeobject.c:PyUnicode_IS_COMPACT:
  231|  61.0M|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|       |    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  61.0M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  61.0M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  61.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  233|  61.0M|}
unicodeobject.c:Py_UNICODE_IS_SURROGATE:
   16|  2.53M|static inline int Py_UNICODE_IS_SURROGATE(Py_UCS4 ch) {
   17|  2.53M|    return (0xD800 <= ch && ch <= 0xDFFF);
  ------------------
  |  Branch (17:13): [True: 2.33M, False: 195k]
  |  Branch (17:29): [True: 2.04k, False: 2.33M]
  ------------------
   18|  2.53M|}
unicodeobject.c:PyUnicode_READ_CHAR:
  363|   808k|{
  364|   808k|    int kind;
  365|       |
  366|   808k|    assert(index >= 0);
  367|       |    // Tolerate reading the NUL character at str[len(str)]
  368|   808k|    assert(index <= PyUnicode_GET_LENGTH(unicode));
  369|       |
  370|   808k|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|   808k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|   808k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  371|   808k|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (371:9): [True: 808k, False: 0]
  ------------------
  372|   808k|        return PyUnicode_1BYTE_DATA(unicode)[index];
  ------------------
  |  |  291|   808k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|   808k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  373|   808k|    }
  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|  1.37k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|       |    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  1.37k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  1.37k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  298|  1.37k|}
bltinmodule.c:PyUnicode_READ_CHAR:
  363|  1.37k|{
  364|  1.37k|    int kind;
  365|       |
  366|  1.37k|    assert(index >= 0);
  367|       |    // Tolerate reading the NUL character at str[len(str)]
  368|  1.37k|    assert(index <= PyUnicode_GET_LENGTH(unicode));
  369|       |
  370|  1.37k|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|  1.37k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  1.37k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  371|  1.37k|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (371:9): [True: 1.35k, False: 25]
  ------------------
  372|  1.35k|        return PyUnicode_1BYTE_DATA(unicode)[index];
  ------------------
  |  |  291|  1.35k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  1.35k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  373|  1.35k|    }
  374|     25|    if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (374:9): [True: 1, False: 24]
  ------------------
  375|      1|        return PyUnicode_2BYTE_DATA(unicode)[index];
  ------------------
  |  |  292|      1|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      1|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  376|      1|    }
  377|     25|    assert(kind == PyUnicode_4BYTE_KIND);
  378|     24|    return PyUnicode_4BYTE_DATA(unicode)[index];
  ------------------
  |  |  293|     24|#define PyUnicode_4BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS4*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|     24|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  379|     25|}
bltinmodule.c:_PyUnicode_DATA:
  278|  1.37k|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|  1.37k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|  1.37k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.37k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 1.37k, False: 0]
  |  |  ------------------
  ------------------
  280|  1.37k|        return _PyUnicode_COMPACT_DATA(op);
  281|  1.37k|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|  1.37k|}
bltinmodule.c:PyUnicode_IS_COMPACT:
  231|  1.37k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|       |    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  1.37k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  1.37k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  233|  1.37k|}
bltinmodule.c:_PyUnicode_COMPACT_DATA:
  261|  1.37k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|  1.37k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|  1.37k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.37k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 1.30k, False: 75]
  |  |  ------------------
  ------------------
  263|  1.30k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  1.30k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  264|  1.30k|    }
  265|     75|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|     75|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  266|  1.37k|}
bltinmodule.c:PyUnicode_IS_ASCII:
  224|  1.37k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|       |    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  1.37k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  1.37k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  226|  1.37k|}
ceval.c:PyUnicode_IS_COMPACT_ASCII:
  238|  30.1k|static inline int PyUnicode_IS_COMPACT_ASCII(PyObject *op) {
  239|  30.1k|    return (_PyASCIIObject_CAST(op)->state.ascii && PyUnicode_IS_COMPACT(op));
  ------------------
  |  |  186|  30.1k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  30.1k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  30.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
                  return (_PyASCIIObject_CAST(op)->state.ascii && PyUnicode_IS_COMPACT(op));
  ------------------
  |  |  234|  30.1k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  30.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  30.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 30.1k, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (239:13): [True: 30.1k, False: 16]
  ------------------
  240|  30.1k|}
ceval.c:PyUnicode_IS_COMPACT:
  231|  60.1k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|       |    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  60.1k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  60.1k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  60.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  233|  60.1k|}
ceval.c:PyUnicode_GET_LENGTH:
  296|  30.1k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|       |    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  30.1k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  30.1k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  30.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  298|  30.1k|}
ceval.c:_PyUnicode_DATA:
  278|  30.0k|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|  30.0k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|  30.0k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  30.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  30.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 30.0k, False: 0]
  |  |  ------------------
  ------------------
  280|  30.0k|        return _PyUnicode_COMPACT_DATA(op);
  281|  30.0k|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|  30.0k|}
ceval.c:_PyUnicode_COMPACT_DATA:
  261|  30.0k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|  30.0k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|  30.0k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  30.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  30.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 30.0k, False: 0]
  |  |  ------------------
  ------------------
  263|  30.0k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  30.0k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  264|  30.0k|    }
  265|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  266|  30.0k|}
ceval.c:PyUnicode_IS_ASCII:
  224|  30.0k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|       |    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  30.0k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  30.0k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  30.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  226|  30.0k|}
codegen.c:PyUnicode_GET_LENGTH:
  296|    205|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|       |    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|    205|    (assert(PyUnicode_Check(op)), \
  |  |  187|    205|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    205|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  298|    205|}
codegen.c:PyUnicode_READ_CHAR:
  363|    510|{
  364|    510|    int kind;
  365|       |
  366|    510|    assert(index >= 0);
  367|       |    // Tolerate reading the NUL character at str[len(str)]
  368|    510|    assert(index <= PyUnicode_GET_LENGTH(unicode));
  369|       |
  370|    510|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|    510|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|    510|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  371|    510|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (371:9): [True: 510, False: 0]
  ------------------
  372|    510|        return PyUnicode_1BYTE_DATA(unicode)[index];
  ------------------
  |  |  291|    510|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|    510|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  373|    510|    }
  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|    510|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|    510|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|    510|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    510|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    510|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 510, False: 0]
  |  |  ------------------
  ------------------
  280|    510|        return _PyUnicode_COMPACT_DATA(op);
  281|    510|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|    510|}
codegen.c:PyUnicode_IS_COMPACT:
  231|    510|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|       |    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|    510|    (assert(PyUnicode_Check(op)), \
  |  |  187|    510|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    510|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  233|    510|}
codegen.c:_PyUnicode_COMPACT_DATA:
  261|    510|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|    510|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|    510|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    510|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    510|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 510, False: 0]
  |  |  ------------------
  ------------------
  263|    510|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|    510|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  264|    510|    }
  265|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  266|    510|}
codegen.c:PyUnicode_IS_ASCII:
  224|    510|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|       |    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|    510|    (assert(PyUnicode_Check(op)), \
  |  |  187|    510|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    510|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  226|    510|}
flowgraph.c:PyUnicode_GET_LENGTH:
  296|  3.89k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|       |    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  3.89k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  3.89k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.89k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  298|  3.89k|}
import.c:PyUnicode_GET_LENGTH:
  296|   517k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|       |    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|   517k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   517k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   517k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  298|   517k|}
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|}
marshal.c:PyUnicode_CHECK_INTERNED:
  207|  12.1k|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|  12.1k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  12.1k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  12.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  212|  12.1k|#endif
  213|  12.1k|}
marshal.c:PyUnicode_IS_ASCII:
  224|  18.9k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|       |    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  18.9k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  18.9k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  18.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  226|  18.9k|}
marshal.c:PyUnicode_GET_LENGTH:
  296|  18.9k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|       |    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  18.9k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  18.9k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  18.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  298|  18.9k|}
marshal.c:_PyUnicode_DATA:
  278|  9.49k|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|  9.49k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|  9.49k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.49k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.49k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 9.49k, False: 0]
  |  |  ------------------
  ------------------
  280|  9.49k|        return _PyUnicode_COMPACT_DATA(op);
  281|  9.49k|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|  9.49k|}
marshal.c:PyUnicode_IS_COMPACT:
  231|  9.49k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|       |    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  9.49k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  9.49k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  9.49k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  233|  9.49k|}
marshal.c:_PyUnicode_COMPACT_DATA:
  261|  9.49k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|  9.49k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|  9.49k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.49k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.49k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 9.49k, False: 0]
  |  |  ------------------
  ------------------
  263|  9.49k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  9.49k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  264|  9.49k|    }
  265|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  266|  9.49k|}
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|  7.41k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|       |    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  7.41k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  7.41k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  7.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  298|  7.41k|}
symtable.c:PyUnicode_READ_CHAR:
  363|  67.4k|{
  364|  67.4k|    int kind;
  365|       |
  366|  67.4k|    assert(index >= 0);
  367|       |    // Tolerate reading the NUL character at str[len(str)]
  368|  67.4k|    assert(index <= PyUnicode_GET_LENGTH(unicode));
  369|       |
  370|  67.4k|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|  67.4k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  67.4k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  371|  67.4k|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (371:9): [True: 67.4k, False: 0]
  ------------------
  372|  67.4k|        return PyUnicode_1BYTE_DATA(unicode)[index];
  ------------------
  |  |  291|  67.4k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  67.4k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  373|  67.4k|    }
  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|  67.4k|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|  67.4k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|  67.4k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  67.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  67.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 67.4k, False: 0]
  |  |  ------------------
  ------------------
  280|  67.4k|        return _PyUnicode_COMPACT_DATA(op);
  281|  67.4k|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|  67.4k|}
symtable.c:PyUnicode_IS_COMPACT:
  231|  67.4k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|       |    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  67.4k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  67.4k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  67.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  233|  67.4k|}
symtable.c:_PyUnicode_COMPACT_DATA:
  261|  67.4k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|  67.4k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|  67.4k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  67.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  67.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 67.4k, False: 0]
  |  |  ------------------
  ------------------
  263|  67.4k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  67.4k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  264|  67.4k|    }
  265|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  266|  67.4k|}
symtable.c:PyUnicode_IS_ASCII:
  224|  67.4k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|       |    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  67.4k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  67.4k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  67.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  226|  67.4k|}
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.03M|static inline int Py_UNICODE_IS_SURROGATE(Py_UCS4 ch) {
   17|  1.03M|    return (0xD800 <= ch && ch <= 0xDFFF);
  ------------------
  |  Branch (17:13): [True: 0, False: 1.03M]
  |  Branch (17:29): [True: 0, False: 0]
  ------------------
   18|  1.03M|}
_datetimemodule.c:PyUnicode_GET_LENGTH:
  296|     96|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|       |    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|     96|    (assert(PyUnicode_Check(op)), \
  |  |  187|     96|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     96|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  298|     96|}
_datetimemodule.c:PyUnicode_READ_CHAR:
  363|     96|{
  364|     96|    int kind;
  365|       |
  366|     96|    assert(index >= 0);
  367|       |    // Tolerate reading the NUL character at str[len(str)]
  368|     96|    assert(index <= PyUnicode_GET_LENGTH(unicode));
  369|       |
  370|     96|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|     96|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|     96|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  371|     96|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (371:9): [True: 96, False: 0]
  ------------------
  372|     96|        return PyUnicode_1BYTE_DATA(unicode)[index];
  ------------------
  |  |  291|     96|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|     96|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  373|     96|    }
  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|}
_datetimemodule.c:_PyUnicode_DATA:
  278|     96|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|     96|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|     96|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     96|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     96|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 96, False: 0]
  |  |  ------------------
  ------------------
  280|     96|        return _PyUnicode_COMPACT_DATA(op);
  281|     96|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|     96|}
_datetimemodule.c:PyUnicode_IS_COMPACT:
  231|     96|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|       |    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|     96|    (assert(PyUnicode_Check(op)), \
  |  |  187|     96|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     96|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  233|     96|}
_datetimemodule.c:_PyUnicode_COMPACT_DATA:
  261|     96|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|     96|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|     96|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     96|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     96|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 96, False: 0]
  |  |  ------------------
  ------------------
  263|     96|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|     96|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  264|     96|    }
  265|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  266|     96|}
_datetimemodule.c:PyUnicode_IS_ASCII:
  224|     96|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|       |    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|     96|    (assert(PyUnicode_Check(op)), \
  |  |  187|     96|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     96|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  226|     96|}
textio.c:PyUnicode_GET_LENGTH:
  296|  45.5k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|       |    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  45.5k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  45.5k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  45.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  298|  45.5k|}
textio.c:PyUnicode_IS_ASCII:
  224|  16.6k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|       |    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  16.6k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  16.6k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  16.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  226|  16.6k|}
textio.c:_PyUnicode_DATA:
  278|  12.3k|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|  12.3k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|  12.3k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 12.3k, False: 0]
  |  |  ------------------
  ------------------
  280|  12.3k|        return _PyUnicode_COMPACT_DATA(op);
  281|  12.3k|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|  12.3k|}
textio.c:PyUnicode_IS_COMPACT:
  231|  12.3k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|       |    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|  12.3k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  12.3k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  12.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  233|  12.3k|}
textio.c:_PyUnicode_COMPACT_DATA:
  261|  12.3k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|  12.3k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|  12.3k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 12.0k, False: 360]
  |  |  ------------------
  ------------------
  263|  12.0k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|  12.0k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  264|  12.0k|    }
  265|    360|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|    360|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  266|  12.3k|}
textio.c:PyUnicode_READ_CHAR:
  363|     54|{
  364|     54|    int kind;
  365|       |
  366|     54|    assert(index >= 0);
  367|       |    // Tolerate reading the NUL character at str[len(str)]
  368|     54|    assert(index <= PyUnicode_GET_LENGTH(unicode));
  369|       |
  370|     54|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|     54|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|     54|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  371|     54|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (371:9): [True: 52, False: 2]
  ------------------
  372|     52|        return PyUnicode_1BYTE_DATA(unicode)[index];
  ------------------
  |  |  291|     52|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|     52|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  373|     52|    }
  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|    174|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|       |    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|    174|    (assert(PyUnicode_Check(op)), \
  |  |  187|    174|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    174|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  298|    174|}
sre.c:_PyUnicode_DATA:
  278|    174|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|    174|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|    174|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    174|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    174|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 174, False: 0]
  |  |  ------------------
  ------------------
  280|    174|        return _PyUnicode_COMPACT_DATA(op);
  281|    174|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|    174|}
sre.c:PyUnicode_IS_COMPACT:
  231|    174|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|       |    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|    174|    (assert(PyUnicode_Check(op)), \
  |  |  187|    174|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    174|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  233|    174|}
sre.c:_PyUnicode_COMPACT_DATA:
  261|    174|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|    174|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|    174|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    174|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    174|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 174, False: 0]
  |  |  ------------------
  ------------------
  263|    174|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|    174|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  264|    174|    }
  265|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  266|    174|}
sre.c:PyUnicode_IS_ASCII:
  224|    174|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|       |    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|    174|    (assert(PyUnicode_Check(op)), \
  |  |  187|    174|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    174|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  226|    174|}
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|}
timemodule.c:PyUnicode_GET_LENGTH:
  296|     96|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|       |    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|     96|    (assert(PyUnicode_Check(op)), \
  |  |  187|     96|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     96|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  298|     96|}
timemodule.c:PyUnicode_READ_CHAR:
  363|    240|{
  364|    240|    int kind;
  365|       |
  366|    240|    assert(index >= 0);
  367|       |    // Tolerate reading the NUL character at str[len(str)]
  368|    240|    assert(index <= PyUnicode_GET_LENGTH(unicode));
  369|       |
  370|    240|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|    240|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|    240|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  371|    240|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (371:9): [True: 240, False: 0]
  ------------------
  372|    240|        return PyUnicode_1BYTE_DATA(unicode)[index];
  ------------------
  |  |  291|    240|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|    240|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  373|    240|    }
  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|}
timemodule.c:_PyUnicode_DATA:
  278|    240|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|    240|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|    240|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    240|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    240|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 240, False: 0]
  |  |  ------------------
  ------------------
  280|    240|        return _PyUnicode_COMPACT_DATA(op);
  281|    240|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|    240|}
timemodule.c:PyUnicode_IS_COMPACT:
  231|    240|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|       |    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|    240|    (assert(PyUnicode_Check(op)), \
  |  |  187|    240|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    240|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  233|    240|}
timemodule.c:_PyUnicode_COMPACT_DATA:
  261|    240|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|    240|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|    240|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    240|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    240|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 240, False: 0]
  |  |  ------------------
  ------------------
  263|    240|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|    240|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  264|    240|    }
  265|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  266|    240|}
timemodule.c:PyUnicode_IS_ASCII:
  224|    240|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|       |    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|    240|    (assert(PyUnicode_Check(op)), \
  |  |  187|    240|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    240|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  226|    240|}
_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|   634k|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|       |    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|   634k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   634k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   634k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  226|   634k|}
codeobject.c:_PyUnicode_DATA:
  278|   317k|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|   317k|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|   317k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   317k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   317k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 317k, False: 0]
  |  |  ------------------
  ------------------
  280|   317k|        return _PyUnicode_COMPACT_DATA(op);
  281|   317k|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|   317k|}
codeobject.c:PyUnicode_IS_COMPACT:
  231|   317k|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|       |    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|   317k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   317k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   317k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  233|   317k|}
codeobject.c:_PyUnicode_COMPACT_DATA:
  261|   317k|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|   317k|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|   317k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   317k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   317k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 317k, False: 0]
  |  |  ------------------
  ------------------
  263|   317k|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|   317k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  264|   317k|    }
  265|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  266|   317k|}
codeobject.c:PyUnicode_GET_LENGTH:
  296|   317k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|       |    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|   317k|    (assert(PyUnicode_Check(op)), \
  |  |  187|   317k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   317k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  298|   317k|}
ast_preprocess.c:_PyUnicode_DATA:
  278|    401|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|    401|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|    401|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    401|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    401|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 401, False: 0]
  |  |  ------------------
  ------------------
  280|    401|        return _PyUnicode_COMPACT_DATA(op);
  281|    401|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|    401|}
ast_preprocess.c:PyUnicode_IS_COMPACT:
  231|    401|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|       |    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|    401|    (assert(PyUnicode_Check(op)), \
  |  |  187|    401|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    401|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  233|    401|}
ast_preprocess.c:_PyUnicode_COMPACT_DATA:
  261|    401|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|    401|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|    401|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    401|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    401|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 401, False: 0]
  |  |  ------------------
  ------------------
  263|    401|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|    401|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  264|    401|    }
  265|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  266|    401|}
ast_preprocess.c:PyUnicode_IS_ASCII:
  224|    401|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|       |    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|    401|    (assert(PyUnicode_Check(op)), \
  |  |  187|    401|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    401|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  226|    401|}
ast_preprocess.c:PyUnicode_READ:
  342|  1.99k|{
  343|  1.99k|    assert(index >= 0);
  344|  1.99k|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (344:9): [True: 1.99k, False: 0]
  ------------------
  345|  1.99k|        return _Py_STATIC_CAST(const Py_UCS1*, data)[index];
  ------------------
  |  |   34|  1.99k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  346|  1.99k|    }
  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|}
ast_preprocess.c:PyUnicode_GET_LENGTH:
  296|    626|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|       |    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|    626|    (assert(PyUnicode_Check(op)), \
  |  |  187|    626|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    626|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  298|    626|}
ast_preprocess.c:PyUnicode_READ_CHAR:
  363|    170|{
  364|    170|    int kind;
  365|       |
  366|    170|    assert(index >= 0);
  367|       |    // Tolerate reading the NUL character at str[len(str)]
  368|    170|    assert(index <= PyUnicode_GET_LENGTH(unicode));
  369|       |
  370|    170|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|    170|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|    170|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  371|    170|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (371:9): [True: 170, False: 0]
  ------------------
  372|    170|        return PyUnicode_1BYTE_DATA(unicode)[index];
  ------------------
  |  |  291|    170|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|    170|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  373|    170|    }
  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|}
pegen.c:PyUnicode_GET_LENGTH:
  296|  54.3k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|       |    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  54.3k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  54.3k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  54.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  298|  54.3k|}
pegen.c:PyUnicode_IS_ASCII:
  224|  3.50M|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|       |    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|  3.50M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  3.50M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.50M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  226|  3.50M|}
action_helpers.c:PyUnicode_READ_CHAR:
  363|    793|{
  364|    793|    int kind;
  365|       |
  366|    793|    assert(index >= 0);
  367|       |    // Tolerate reading the NUL character at str[len(str)]
  368|    793|    assert(index <= PyUnicode_GET_LENGTH(unicode));
  369|       |
  370|    793|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|    793|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|    793|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  371|    793|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (371:9): [True: 793, False: 0]
  ------------------
  372|    793|        return PyUnicode_1BYTE_DATA(unicode)[index];
  ------------------
  |  |  291|    793|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|    793|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  373|    793|    }
  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|    793|static inline void* _PyUnicode_DATA(PyObject *op) {
  279|    793|    if (PyUnicode_IS_COMPACT(op)) {
  ------------------
  |  |  234|    793|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    793|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    793|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 793, False: 0]
  |  |  ------------------
  ------------------
  280|    793|        return _PyUnicode_COMPACT_DATA(op);
  281|    793|    }
  282|      0|    return _PyUnicode_NONCOMPACT_DATA(op);
  283|    793|}
action_helpers.c:PyUnicode_IS_COMPACT:
  231|    793|static inline unsigned int PyUnicode_IS_COMPACT(PyObject *op) {
  232|       |    return _PyASCIIObject_CAST(op)->state.compact;
  ------------------
  |  |  186|    793|    (assert(PyUnicode_Check(op)), \
  |  |  187|    793|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    793|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  233|    793|}
action_helpers.c:_PyUnicode_COMPACT_DATA:
  261|    793|static inline void* _PyUnicode_COMPACT_DATA(PyObject *op) {
  262|    793|    if (PyUnicode_IS_ASCII(op)) {
  ------------------
  |  |  227|    793|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    793|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    793|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 793, False: 0]
  |  |  ------------------
  ------------------
  263|    793|        return _Py_STATIC_CAST(void*, (_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |   34|    793|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  264|    793|    }
  265|      0|    return _Py_STATIC_CAST(void*, (_PyCompactUnicodeObject_CAST(op) + 1));
  ------------------
  |  |   34|      0|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  ------------------
  266|    793|}
action_helpers.c:PyUnicode_IS_ASCII:
  224|    793|static inline unsigned int PyUnicode_IS_ASCII(PyObject *op) {
  225|       |    return _PyASCIIObject_CAST(op)->state.ascii;
  ------------------
  |  |  186|    793|    (assert(PyUnicode_Check(op)), \
  |  |  187|    793|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    793|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  226|    793|}
action_helpers.c:PyUnicode_GET_LENGTH:
  296|  2.69k|static inline Py_ssize_t PyUnicode_GET_LENGTH(PyObject *op) {
  297|       |    return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  2.69k|    (assert(PyUnicode_Check(op)), \
  |  |  187|  2.69k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  2.69k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  298|  2.69k|}

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|  15.0M|{
   15|  15.0M|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  213|  15.0M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  15.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|  15.0M|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 7.52M, False: 7.56M]
  |  Branch (16:37): [True: 4, False: 7.52M]
  ------------------
   17|  15.0M|}
listobject.c:_PyIndex_Check:
   14|  5.77M|{
   15|  5.77M|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  213|  5.77M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.77M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.77M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|  5.77M|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 5.77M, False: 101]
  |  Branch (16:37): [True: 5.77M, False: 0]
  ------------------
   17|  5.77M|}
memoryobject.c:_PyIndex_Check:
   14|  3.93k|{
   15|  3.93k|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  213|  3.93k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.93k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.93k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|  3.93k|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 0, False: 3.93k]
  |  Branch (16:37): [True: 0, False: 0]
  ------------------
   17|  3.93k|}
rangeobject.c:_PyIndex_Check:
   14|    426|{
   15|    426|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  213|    426|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    426|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    426|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|    426|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 0, False: 426]
  |  Branch (16:37): [True: 0, False: 0]
  ------------------
   17|    426|}
sliceobject.c:_PyIndex_Check:
   14|    426|{
   15|    426|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  213|    426|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    426|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    426|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|    426|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 426, False: 0]
  |  Branch (16:37): [True: 426, False: 0]
  ------------------
   17|    426|}
tupleobject.c:_PyIndex_Check:
   14|  23.1k|{
   15|  23.1k|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  213|  23.1k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  23.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  23.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|  23.1k|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 585, False: 22.5k]
  |  Branch (16:37): [True: 585, False: 0]
  ------------------
   17|  23.1k|}
unicodeobject.c:_PyIndex_Check:
   14|  3.52k|{
   15|  3.52k|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  213|  3.52k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|  3.52k|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 1.99k, False: 1.53k]
  |  Branch (16:37): [True: 1.99k, False: 0]
  ------------------
   17|  3.52k|}
modsupport.c:_PyIndex_Check:
   14|    266|{
   15|    266|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  213|    266|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    266|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    266|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|    266|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 266, False: 0]
  |  Branch (16:37): [True: 266, False: 0]
  ------------------
   17|    266|}
abstract.c:_PyIndex_Check:
   14|  48.5k|{
   15|  48.5k|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  213|  48.5k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  48.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  48.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|  48.5k|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 48.5k, False: 0]
  |  Branch (16:37): [True: 4.32k, False: 44.2k]
  ------------------
   17|  48.5k|}
bytes_methods.c:_PyIndex_Check:
   14|  1.05k|{
   15|  1.05k|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|  1.05k|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 1.05k, False: 0]
  |  Branch (16:37): [True: 1.05k, False: 0]
  ------------------
   17|  1.05k|}
bytearrayobject.c:_PyIndex_Check:
   14|  22.5M|{
   15|  22.5M|    PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number;
  ------------------
  |  |  213|  22.5M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  22.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  22.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   16|  22.5M|    return (tp_as_number != NULL && tp_as_number->nb_index != NULL);
  ------------------
  |  Branch (16:13): [True: 22.5M, False: 674]
  |  Branch (16:37): [True: 15.0M, False: 7.52M]
  ------------------
   17|  22.5M|}

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

longobject.c:_Py_bit_length:
  147|  4.05M|{
  148|  4.05M|#if (defined(__clang__) || defined(__GNUC__))
  149|  4.05M|    if (x != 0) {
  ------------------
  |  Branch (149:9): [True: 4.05M, False: 0]
  ------------------
  150|       |        // __builtin_clzl() is available since GCC 3.4.
  151|       |        // Undefined behavior for x == 0.
  152|  4.05M|        return (int)sizeof(unsigned long) * 8 - __builtin_clzl(x);
  153|  4.05M|    }
  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|  4.05M|}
dictobject.c:_Py_bit_length:
  147|  91.8k|{
  148|  91.8k|#if (defined(__clang__) || defined(__GNUC__))
  149|  91.8k|    if (x != 0) {
  ------------------
  |  Branch (149:9): [True: 91.8k, False: 0]
  ------------------
  150|       |        // __builtin_clzl() is available since GCC 3.4.
  151|       |        // Undefined behavior for x == 0.
  152|  91.8k|        return (int)sizeof(unsigned long) * 8 - __builtin_clzl(x);
  153|  91.8k|    }
  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|  91.8k|}

bytesobject.c:_PyBytesWriter_GetData:
   97|  10.0M|{
   98|  10.0M|    if (writer->obj == NULL) {
  ------------------
  |  Branch (98:9): [True: 10.0M, False: 31.2k]
  ------------------
   99|  10.0M|        return writer->small_buffer;
  100|  10.0M|    }
  101|  31.2k|    else if (writer->use_bytearray) {
  ------------------
  |  Branch (101:14): [True: 0, False: 31.2k]
  ------------------
  102|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  103|      0|    }
  104|  31.2k|    else {
  105|  31.2k|        return PyBytes_AS_STRING(writer->obj);
  ------------------
  |  |   27|  31.2k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  31.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  31.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  106|  31.2k|    }
  107|  10.0M|}

call.c:_PyObject_VectorcallTstate:
  132|  31.5M|{
  133|  31.5M|    vectorcallfunc func;
  134|  31.5M|    PyObject *res;
  135|       |
  136|  31.5M|    assert(kwnames == NULL || PyTuple_Check(kwnames));
  137|  31.5M|    assert(args != NULL || PyVectorcall_NARGS(nargsf) == 0);
  138|       |
  139|  31.5M|    func = _PyVectorcall_FunctionInline(callable);
  140|  31.5M|    if (func == NULL) {
  ------------------
  |  Branch (140:9): [True: 17.2M, False: 14.2M]
  ------------------
  141|  17.2M|        Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  17.2M|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  142|  17.2M|        return _PyObject_MakeTpCall(tstate, callable, args, nargs, kwnames);
  143|  17.2M|    }
  144|  14.2M|    res = func(callable, args, nargsf, kwnames);
  145|       |    return _Py_CheckFunctionResult(tstate, callable, res, NULL);
  146|  31.5M|}
call.c:_PyVectorcall_FunctionInline:
   92|  34.1M|{
   93|  34.1M|    assert(callable != NULL);
   94|       |
   95|  34.1M|    PyTypeObject *tp = Py_TYPE(callable);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   96|  34.1M|    if (!PyType_HasFeature(tp, Py_TPFLAGS_HAVE_VECTORCALL)) {
  ------------------
  |  |  510|  34.1M|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (96:9): [True: 58.3k, False: 34.0M]
  ------------------
   97|  58.3k|        return NULL;
   98|  58.3k|    }
   99|  34.1M|    assert(PyCallable_Check(callable));
  100|       |
  101|  34.0M|    Py_ssize_t offset = tp->tp_vectorcall_offset;
  102|  34.0M|    assert(offset > 0);
  103|       |
  104|  34.0M|    vectorcallfunc ptr;
  105|  34.0M|    memcpy(&ptr, (char *) callable + offset, sizeof(ptr));
  106|  34.0M|    return ptr;
  107|  34.1M|}
call.c:_PyObject_CallNoArgsTstate:
  150|    765|_PyObject_CallNoArgsTstate(PyThreadState *tstate, PyObject *func) {
  151|    765|    return _PyObject_VectorcallTstate(tstate, func, NULL, 0, NULL);
  152|    765|}
dictobject.c:_PyObject_CallNoArgs:
  157|    244|_PyObject_CallNoArgs(PyObject *func) {
  158|    244|    EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_API, func);
  ------------------
  |  |   80|    244|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
  159|    244|    PyThreadState *tstate = _PyThreadState_GET();
  160|    244|    return _PyObject_VectorcallTstate(tstate, func, NULL, 0, NULL);
  161|    244|}
dictobject.c:_PyObject_VectorcallTstate:
  132|    244|{
  133|    244|    vectorcallfunc func;
  134|    244|    PyObject *res;
  135|       |
  136|    244|    assert(kwnames == NULL || PyTuple_Check(kwnames));
  137|    244|    assert(args != NULL || PyVectorcall_NARGS(nargsf) == 0);
  138|       |
  139|    244|    func = _PyVectorcall_FunctionInline(callable);
  140|    244|    if (func == NULL) {
  ------------------
  |  Branch (140:9): [True: 0, False: 244]
  ------------------
  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|    244|    res = func(callable, args, nargsf, kwnames);
  145|       |    return _Py_CheckFunctionResult(tstate, callable, res, NULL);
  146|    244|}
dictobject.c:_PyVectorcall_FunctionInline:
   92|    244|{
   93|    244|    assert(callable != NULL);
   94|       |
   95|    244|    PyTypeObject *tp = Py_TYPE(callable);
  ------------------
  |  |  213|    244|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    244|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    244|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   96|    244|    if (!PyType_HasFeature(tp, Py_TPFLAGS_HAVE_VECTORCALL)) {
  ------------------
  |  |  510|    244|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (96:9): [True: 0, False: 244]
  ------------------
   97|      0|        return NULL;
   98|      0|    }
   99|    244|    assert(PyCallable_Check(callable));
  100|       |
  101|    244|    Py_ssize_t offset = tp->tp_vectorcall_offset;
  102|    244|    assert(offset > 0);
  103|       |
  104|    244|    vectorcallfunc ptr;
  105|    244|    memcpy(&ptr, (char *) callable + offset, sizeof(ptr));
  106|    244|    return ptr;
  107|    244|}
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|   477k|{
  133|   477k|    vectorcallfunc func;
  134|   477k|    PyObject *res;
  135|       |
  136|   477k|    assert(kwnames == NULL || PyTuple_Check(kwnames));
  137|   477k|    assert(args != NULL || PyVectorcall_NARGS(nargsf) == 0);
  138|       |
  139|   477k|    func = _PyVectorcall_FunctionInline(callable);
  140|   477k|    if (func == NULL) {
  ------------------
  |  Branch (140:9): [True: 2, False: 477k]
  ------------------
  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|   477k|    res = func(callable, args, nargsf, kwnames);
  145|       |    return _Py_CheckFunctionResult(tstate, callable, res, NULL);
  146|   477k|}
typeobject.c:_PyVectorcall_FunctionInline:
   92|   477k|{
   93|   477k|    assert(callable != NULL);
   94|       |
   95|   477k|    PyTypeObject *tp = Py_TYPE(callable);
  ------------------
  |  |  213|   477k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   477k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   477k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   96|   477k|    if (!PyType_HasFeature(tp, Py_TPFLAGS_HAVE_VECTORCALL)) {
  ------------------
  |  |  510|   477k|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (96:9): [True: 2, False: 477k]
  ------------------
   97|      2|        return NULL;
   98|      2|    }
   99|   477k|    assert(PyCallable_Check(callable));
  100|       |
  101|   477k|    Py_ssize_t offset = tp->tp_vectorcall_offset;
  102|   477k|    assert(offset > 0);
  103|       |
  104|   477k|    vectorcallfunc ptr;
  105|   477k|    memcpy(&ptr, (char *) callable + offset, sizeof(ptr));
  106|   477k|    return ptr;
  107|   477k|}
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|    975|_PyObject_CallNoArgs(PyObject *func) {
  158|    975|    EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_API, func);
  ------------------
  |  |   80|    975|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
  159|    975|    PyThreadState *tstate = _PyThreadState_GET();
  160|    975|    return _PyObject_VectorcallTstate(tstate, func, NULL, 0, NULL);
  161|    975|}
errors.c:_PyObject_VectorcallTstate:
  132|    975|{
  133|    975|    vectorcallfunc func;
  134|    975|    PyObject *res;
  135|       |
  136|    975|    assert(kwnames == NULL || PyTuple_Check(kwnames));
  137|    975|    assert(args != NULL || PyVectorcall_NARGS(nargsf) == 0);
  138|       |
  139|    975|    func = _PyVectorcall_FunctionInline(callable);
  140|    975|    if (func == NULL) {
  ------------------
  |  Branch (140:9): [True: 967, False: 8]
  ------------------
  141|    967|        Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|    967|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  142|    967|        return _PyObject_MakeTpCall(tstate, callable, args, nargs, kwnames);
  143|    967|    }
  144|      8|    res = func(callable, args, nargsf, kwnames);
  145|       |    return _Py_CheckFunctionResult(tstate, callable, res, NULL);
  146|    975|}
errors.c:_PyVectorcall_FunctionInline:
   92|    975|{
   93|    975|    assert(callable != NULL);
   94|       |
   95|    975|    PyTypeObject *tp = Py_TYPE(callable);
  ------------------
  |  |  213|    975|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    975|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    975|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   96|    975|    if (!PyType_HasFeature(tp, Py_TPFLAGS_HAVE_VECTORCALL)) {
  ------------------
  |  |  510|    975|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (96:9): [True: 0, False: 975]
  ------------------
   97|      0|        return NULL;
   98|      0|    }
   99|    975|    assert(PyCallable_Check(callable));
  100|       |
  101|    975|    Py_ssize_t offset = tp->tp_vectorcall_offset;
  102|    975|    assert(offset > 0);
  103|       |
  104|    975|    vectorcallfunc ptr;
  105|    975|    memcpy(&ptr, (char *) callable + offset, sizeof(ptr));
  106|    975|    return ptr;
  107|    975|}
posixmodule.c:_PyObject_CallNoArgs:
  157|     43|_PyObject_CallNoArgs(PyObject *func) {
  158|     43|    EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_API, func);
  ------------------
  |  |   80|     43|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
  159|     43|    PyThreadState *tstate = _PyThreadState_GET();
  160|     43|    return _PyObject_VectorcallTstate(tstate, func, NULL, 0, NULL);
  161|     43|}
posixmodule.c:_PyObject_VectorcallTstate:
  132|     43|{
  133|     43|    vectorcallfunc func;
  134|     43|    PyObject *res;
  135|       |
  136|     43|    assert(kwnames == NULL || PyTuple_Check(kwnames));
  137|     43|    assert(args != NULL || PyVectorcall_NARGS(nargsf) == 0);
  138|       |
  139|     43|    func = _PyVectorcall_FunctionInline(callable);
  140|     43|    if (func == NULL) {
  ------------------
  |  Branch (140:9): [True: 0, False: 43]
  ------------------
  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|     43|    res = func(callable, args, nargsf, kwnames);
  145|       |    return _Py_CheckFunctionResult(tstate, callable, res, NULL);
  146|     43|}
posixmodule.c:_PyVectorcall_FunctionInline:
   92|     43|{
   93|     43|    assert(callable != NULL);
   94|       |
   95|     43|    PyTypeObject *tp = Py_TYPE(callable);
  ------------------
  |  |  213|     43|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     43|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     43|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   96|     43|    if (!PyType_HasFeature(tp, Py_TPFLAGS_HAVE_VECTORCALL)) {
  ------------------
  |  |  510|     43|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (96:9): [True: 0, False: 43]
  ------------------
   97|      0|        return NULL;
   98|      0|    }
   99|     43|    assert(PyCallable_Check(callable));
  100|       |
  101|     43|    Py_ssize_t offset = tp->tp_vectorcall_offset;
  102|     43|    assert(offset > 0);
  103|       |
  104|     43|    vectorcallfunc ptr;
  105|     43|    memcpy(&ptr, (char *) callable + offset, sizeof(ptr));
  106|     43|    return ptr;
  107|     43|}
_collectionsmodule.c:_PyObject_CallNoArgs:
  157|  11.7k|_PyObject_CallNoArgs(PyObject *func) {
  158|  11.7k|    EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_API, func);
  ------------------
  |  |   80|  11.7k|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
  159|  11.7k|    PyThreadState *tstate = _PyThreadState_GET();
  160|  11.7k|    return _PyObject_VectorcallTstate(tstate, func, NULL, 0, NULL);
  161|  11.7k|}
_collectionsmodule.c:_PyObject_VectorcallTstate:
  132|  11.7k|{
  133|  11.7k|    vectorcallfunc func;
  134|  11.7k|    PyObject *res;
  135|       |
  136|  11.7k|    assert(kwnames == NULL || PyTuple_Check(kwnames));
  137|  11.7k|    assert(args != NULL || PyVectorcall_NARGS(nargsf) == 0);
  138|       |
  139|  11.7k|    func = _PyVectorcall_FunctionInline(callable);
  140|  11.7k|    if (func == NULL) {
  ------------------
  |  Branch (140:9): [True: 18, False: 11.7k]
  ------------------
  141|     18|        Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|     18|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  142|     18|        return _PyObject_MakeTpCall(tstate, callable, args, nargs, kwnames);
  143|     18|    }
  144|  11.7k|    res = func(callable, args, nargsf, kwnames);
  145|       |    return _Py_CheckFunctionResult(tstate, callable, res, NULL);
  146|  11.7k|}
_collectionsmodule.c:_PyVectorcall_FunctionInline:
   92|  11.7k|{
   93|  11.7k|    assert(callable != NULL);
   94|       |
   95|  11.7k|    PyTypeObject *tp = Py_TYPE(callable);
  ------------------
  |  |  213|  11.7k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  11.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   96|  11.7k|    if (!PyType_HasFeature(tp, Py_TPFLAGS_HAVE_VECTORCALL)) {
  ------------------
  |  |  510|  11.7k|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (96:9): [True: 0, False: 11.7k]
  ------------------
   97|      0|        return NULL;
   98|      0|    }
   99|  11.7k|    assert(PyCallable_Check(callable));
  100|       |
  101|  11.7k|    Py_ssize_t offset = tp->tp_vectorcall_offset;
  102|  11.7k|    assert(offset > 0);
  103|       |
  104|  11.7k|    vectorcallfunc ptr;
  105|  11.7k|    memcpy(&ptr, (char *) callable + offset, sizeof(ptr));
  106|  11.7k|    return ptr;
  107|  11.7k|}
bufferedio.c:_PyObject_CallNoArgs:
  157|  3.98k|_PyObject_CallNoArgs(PyObject *func) {
  158|  3.98k|    EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_API, func);
  ------------------
  |  |   80|  3.98k|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
  159|  3.98k|    PyThreadState *tstate = _PyThreadState_GET();
  160|  3.98k|    return _PyObject_VectorcallTstate(tstate, func, NULL, 0, NULL);
  161|  3.98k|}
bufferedio.c:_PyObject_VectorcallTstate:
  132|  3.98k|{
  133|  3.98k|    vectorcallfunc func;
  134|  3.98k|    PyObject *res;
  135|       |
  136|  3.98k|    assert(kwnames == NULL || PyTuple_Check(kwnames));
  137|  3.98k|    assert(args != NULL || PyVectorcall_NARGS(nargsf) == 0);
  138|       |
  139|  3.98k|    func = _PyVectorcall_FunctionInline(callable);
  140|  3.98k|    if (func == NULL) {
  ------------------
  |  Branch (140:9): [True: 0, False: 3.98k]
  ------------------
  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|  3.98k|    res = func(callable, args, nargsf, kwnames);
  145|       |    return _Py_CheckFunctionResult(tstate, callable, res, NULL);
  146|  3.98k|}
bufferedio.c:_PyVectorcall_FunctionInline:
   92|  3.98k|{
   93|  3.98k|    assert(callable != NULL);
   94|       |
   95|  3.98k|    PyTypeObject *tp = Py_TYPE(callable);
  ------------------
  |  |  213|  3.98k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.98k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.98k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   96|  3.98k|    if (!PyType_HasFeature(tp, Py_TPFLAGS_HAVE_VECTORCALL)) {
  ------------------
  |  |  510|  3.98k|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (96:9): [True: 0, False: 3.98k]
  ------------------
   97|      0|        return NULL;
   98|      0|    }
   99|  3.98k|    assert(PyCallable_Check(callable));
  100|       |
  101|  3.98k|    Py_ssize_t offset = tp->tp_vectorcall_offset;
  102|  3.98k|    assert(offset > 0);
  103|       |
  104|  3.98k|    vectorcallfunc ptr;
  105|  3.98k|    memcpy(&ptr, (char *) callable + offset, sizeof(ptr));
  106|  3.98k|    return ptr;
  107|  3.98k|}
_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|  3.67k|{
  133|  3.67k|    vectorcallfunc func;
  134|  3.67k|    PyObject *res;
  135|       |
  136|  3.67k|    assert(kwnames == NULL || PyTuple_Check(kwnames));
  137|  3.67k|    assert(args != NULL || PyVectorcall_NARGS(nargsf) == 0);
  138|       |
  139|  3.67k|    func = _PyVectorcall_FunctionInline(callable);
  140|  3.67k|    if (func == NULL) {
  ------------------
  |  Branch (140:9): [True: 2, False: 3.67k]
  ------------------
  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|  3.67k|    res = func(callable, args, nargsf, kwnames);
  145|       |    return _Py_CheckFunctionResult(tstate, callable, res, NULL);
  146|  3.67k|}
_functoolsmodule.c:_PyVectorcall_FunctionInline:
   92|  3.67k|{
   93|  3.67k|    assert(callable != NULL);
   94|       |
   95|  3.67k|    PyTypeObject *tp = Py_TYPE(callable);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   96|  3.67k|    if (!PyType_HasFeature(tp, Py_TPFLAGS_HAVE_VECTORCALL)) {
  ------------------
  |  |  510|  3.67k|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (96:9): [True: 0, False: 3.67k]
  ------------------
   97|      0|        return NULL;
   98|      0|    }
   99|  3.67k|    assert(PyCallable_Check(callable));
  100|       |
  101|  3.67k|    Py_ssize_t offset = tp->tp_vectorcall_offset;
  102|  3.67k|    assert(offset > 0);
  103|       |
  104|  3.67k|    vectorcallfunc ptr;
  105|  3.67k|    memcpy(&ptr, (char *) callable + offset, sizeof(ptr));
  106|  3.67k|    return ptr;
  107|  3.67k|}
abstract.c:_PyObject_CallNoArgs:
  157|    480|_PyObject_CallNoArgs(PyObject *func) {
  158|    480|    EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_API, func);
  ------------------
  |  |   80|    480|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
  159|    480|    PyThreadState *tstate = _PyThreadState_GET();
  160|    480|    return _PyObject_VectorcallTstate(tstate, func, NULL, 0, NULL);
  161|    480|}
abstract.c:_PyObject_VectorcallTstate:
  132|    480|{
  133|    480|    vectorcallfunc func;
  134|    480|    PyObject *res;
  135|       |
  136|    480|    assert(kwnames == NULL || PyTuple_Check(kwnames));
  137|    480|    assert(args != NULL || PyVectorcall_NARGS(nargsf) == 0);
  138|       |
  139|    480|    func = _PyVectorcall_FunctionInline(callable);
  140|    480|    if (func == NULL) {
  ------------------
  |  Branch (140:9): [True: 0, False: 480]
  ------------------
  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|    480|    res = func(callable, args, nargsf, kwnames);
  145|       |    return _Py_CheckFunctionResult(tstate, callable, res, NULL);
  146|    480|}
abstract.c:_PyVectorcall_FunctionInline:
   92|    480|{
   93|    480|    assert(callable != NULL);
   94|       |
   95|    480|    PyTypeObject *tp = Py_TYPE(callable);
  ------------------
  |  |  213|    480|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    480|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    480|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   96|    480|    if (!PyType_HasFeature(tp, Py_TPFLAGS_HAVE_VECTORCALL)) {
  ------------------
  |  |  510|    480|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (96:9): [True: 0, False: 480]
  ------------------
   97|      0|        return NULL;
   98|      0|    }
   99|    480|    assert(PyCallable_Check(callable));
  100|       |
  101|    480|    Py_ssize_t offset = tp->tp_vectorcall_offset;
  102|    480|    assert(offset > 0);
  103|       |
  104|    480|    vectorcallfunc ptr;
  105|    480|    memcpy(&ptr, (char *) callable + offset, sizeof(ptr));
  106|    480|    return ptr;
  107|    480|}
enumobject.c:_PyObject_CallNoArgs:
  157|  3.98k|_PyObject_CallNoArgs(PyObject *func) {
  158|  3.98k|    EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_API, func);
  ------------------
  |  |   80|  3.98k|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
  159|  3.98k|    PyThreadState *tstate = _PyThreadState_GET();
  160|  3.98k|    return _PyObject_VectorcallTstate(tstate, func, NULL, 0, NULL);
  161|  3.98k|}
enumobject.c:_PyObject_VectorcallTstate:
  132|  3.98k|{
  133|  3.98k|    vectorcallfunc func;
  134|  3.98k|    PyObject *res;
  135|       |
  136|  3.98k|    assert(kwnames == NULL || PyTuple_Check(kwnames));
  137|  3.98k|    assert(args != NULL || PyVectorcall_NARGS(nargsf) == 0);
  138|       |
  139|  3.98k|    func = _PyVectorcall_FunctionInline(callable);
  140|  3.98k|    if (func == NULL) {
  ------------------
  |  Branch (140:9): [True: 0, False: 3.98k]
  ------------------
  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|  3.98k|    res = func(callable, args, nargsf, kwnames);
  145|       |    return _Py_CheckFunctionResult(tstate, callable, res, NULL);
  146|  3.98k|}
enumobject.c:_PyVectorcall_FunctionInline:
   92|  3.98k|{
   93|  3.98k|    assert(callable != NULL);
   94|       |
   95|  3.98k|    PyTypeObject *tp = Py_TYPE(callable);
  ------------------
  |  |  213|  3.98k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.98k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.98k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   96|  3.98k|    if (!PyType_HasFeature(tp, Py_TPFLAGS_HAVE_VECTORCALL)) {
  ------------------
  |  |  510|  3.98k|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (96:9): [True: 0, False: 3.98k]
  ------------------
   97|      0|        return NULL;
   98|      0|    }
   99|  3.98k|    assert(PyCallable_Check(callable));
  100|       |
  101|  3.98k|    Py_ssize_t offset = tp->tp_vectorcall_offset;
  102|  3.98k|    assert(offset > 0);
  103|       |
  104|  3.98k|    vectorcallfunc ptr;
  105|  3.98k|    memcpy(&ptr, (char *) callable + offset, sizeof(ptr));
  106|  3.98k|    return ptr;
  107|  3.98k|}
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|    370|{
   40|    370|    PyObject *res;
   41|    370|    Py_BEGIN_CRITICAL_SECTION(cell);
  ------------------
  |  |   51|    370|    {
  ------------------
   42|       |#ifdef Py_GIL_DISABLED
   43|       |    res = _Py_XNewRefWithLock(cell->ob_ref);
   44|       |#else
   45|    370|    res = Py_XNewRef(cell->ob_ref);
  ------------------
  |  |  551|    370|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    370|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    370|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   46|    370|#endif
   47|    370|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    370|    }
  ------------------
   48|    370|    return res;
   49|    370|}
ceval.c:PyCell_SwapTakeRef:
   20|  2.35M|{
   21|  2.35M|    PyObject *old_value;
   22|  2.35M|    Py_BEGIN_CRITICAL_SECTION(cell);
  ------------------
  |  |   51|  2.35M|    {
  ------------------
   23|  2.35M|    old_value = cell->ob_ref;
   24|  2.35M|    FT_ATOMIC_STORE_PTR_RELEASE(cell->ob_ref, value);
  ------------------
  |  |  163|  2.35M|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
   25|  2.35M|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  2.35M|    }
  ------------------
   26|  2.35M|    return old_value;
   27|  2.35M|}
ceval.c:_PyCell_GetStackRef:
   53|  10.9M|{
   54|  10.9M|    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.9M|    value = PyCell_GetRef(cell);
   66|  10.9M|    if (value == NULL) {
  ------------------
  |  Branch (66:9): [True: 0, False: 10.9M]
  ------------------
   67|      0|        return PyStackRef_NULL;
   68|      0|    }
   69|  10.9M|    return PyStackRef_FromPyObjectSteal(value);
   70|  10.9M|}
ceval.c:PyCell_GetRef:
   39|  10.9M|{
   40|  10.9M|    PyObject *res;
   41|  10.9M|    Py_BEGIN_CRITICAL_SECTION(cell);
  ------------------
  |  |   51|  10.9M|    {
  ------------------
   42|       |#ifdef Py_GIL_DISABLED
   43|       |    res = _Py_XNewRefWithLock(cell->ob_ref);
   44|       |#else
   45|  10.9M|    res = Py_XNewRef(cell->ob_ref);
  ------------------
  |  |  551|  10.9M|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  10.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   46|  10.9M|#endif
   47|  10.9M|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  10.9M|    }
  ------------------
   48|  10.9M|    return res;
   49|  10.9M|}
ceval.c:PyCell_SetTakeRef:
   31|  2.35M|{
   32|  2.35M|    PyObject *old_value = PyCell_SwapTakeRef(cell, value);
   33|  2.35M|    Py_XDECREF(old_value);
  ------------------
  |  |  524|  2.35M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.35M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.35M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   34|  2.35M|}
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.96k|{
   32|  1.96k|    PyObject *old_value = PyCell_SwapTakeRef(cell, value);
   33|  1.96k|    Py_XDECREF(old_value);
  ------------------
  |  |  524|  1.96k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.96k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.96k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   34|  1.96k|}
cellobject.c:PyCell_SwapTakeRef:
   20|  1.96k|{
   21|  1.96k|    PyObject *old_value;
   22|  1.96k|    Py_BEGIN_CRITICAL_SECTION(cell);
  ------------------
  |  |   51|  1.96k|    {
  ------------------
   23|  1.96k|    old_value = cell->ob_ref;
   24|  1.96k|    FT_ATOMIC_STORE_PTR_RELEASE(cell->ob_ref, value);
  ------------------
  |  |  163|  1.96k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
   25|  1.96k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  1.96k|    }
  ------------------
   26|  1.96k|    return old_value;
   27|  1.96k|}

call.c:_Py_EnterRecursiveCallTstate:
  234|  17.3M|                                               const char *where) {
  235|  17.3M|    return (_Py_MakeRecCheck(tstate) && _Py_CheckRecursiveCall(tstate, where));
  ------------------
  |  Branch (235:13): [True: 0, False: 17.3M]
  |  Branch (235:41): [True: 0, False: 0]
  ------------------
  236|  17.3M|}
call.c:_Py_MakeRecCheck:
  211|  17.3M|static inline int _Py_MakeRecCheck(PyThreadState *tstate)  {
  212|  17.3M|    uintptr_t here_addr = _Py_get_machine_stack_pointer();
  213|  17.3M|    _PyThreadStateImpl *_tstate = (_PyThreadStateImpl *)tstate;
  214|       |    // Overflow if stack pointer is between soft limit and the base of the hardware stack.
  215|       |    // If it is below the hardware stack base, assume that we have the wrong stack limits, and do nothing.
  216|       |    // We could have the wrong stack limits because of limited platform support, or user-space threads.
  217|  17.3M|#if _Py_STACK_GROWS_DOWN
  218|  17.3M|    return here_addr < _tstate->c_stack_soft_limit && here_addr >= _tstate->c_stack_soft_limit - 2 * _PyOS_STACK_MARGIN_BYTES;
  ------------------
  |  |   55|      0|#define _PyOS_STACK_MARGIN_BYTES (_PyOS_STACK_MARGIN * sizeof(void *))
  |  |  ------------------
  |  |  |  |   54|      0|#define _PyOS_STACK_MARGIN (1 << _PyOS_LOG2_STACK_MARGIN)
  |  |  |  |  ------------------
  |  |  |  |  |  |   52|      0|#  define _PyOS_LOG2_STACK_MARGIN 11
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (218:12): [True: 0, False: 17.3M]
  |  Branch (218:55): [True: 0, False: 0]
  ------------------
  219|       |#else
  220|       |    return here_addr > _tstate->c_stack_soft_limit && here_addr <= _tstate->c_stack_soft_limit + 2 * _PyOS_STACK_MARGIN_BYTES;
  221|       |#endif
  222|  17.3M|}
call.c:_Py_LeaveRecursiveCallTstate:
  243|  17.3M|static inline void _Py_LeaveRecursiveCallTstate(PyThreadState *tstate) {
  244|  17.3M|    (void)tstate;
  245|  17.3M|}
object.c:_Py_EnterRecursiveCallTstate:
  234|  32.4M|                                               const char *where) {
  235|  32.4M|    return (_Py_MakeRecCheck(tstate) && _Py_CheckRecursiveCall(tstate, where));
  ------------------
  |  Branch (235:13): [True: 0, False: 32.4M]
  |  Branch (235:41): [True: 0, False: 0]
  ------------------
  236|  32.4M|}
object.c:_Py_MakeRecCheck:
  211|  32.4M|static inline int _Py_MakeRecCheck(PyThreadState *tstate)  {
  212|  32.4M|    uintptr_t here_addr = _Py_get_machine_stack_pointer();
  213|  32.4M|    _PyThreadStateImpl *_tstate = (_PyThreadStateImpl *)tstate;
  214|       |    // Overflow if stack pointer is between soft limit and the base of the hardware stack.
  215|       |    // If it is below the hardware stack base, assume that we have the wrong stack limits, and do nothing.
  216|       |    // We could have the wrong stack limits because of limited platform support, or user-space threads.
  217|  32.4M|#if _Py_STACK_GROWS_DOWN
  218|  32.4M|    return here_addr < _tstate->c_stack_soft_limit && here_addr >= _tstate->c_stack_soft_limit - 2 * _PyOS_STACK_MARGIN_BYTES;
  ------------------
  |  |   55|      0|#define _PyOS_STACK_MARGIN_BYTES (_PyOS_STACK_MARGIN * sizeof(void *))
  |  |  ------------------
  |  |  |  |   54|      0|#define _PyOS_STACK_MARGIN (1 << _PyOS_LOG2_STACK_MARGIN)
  |  |  |  |  ------------------
  |  |  |  |  |  |   52|      0|#  define _PyOS_LOG2_STACK_MARGIN 11
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (218:12): [True: 0, False: 32.4M]
  |  Branch (218:55): [True: 0, False: 0]
  ------------------
  219|       |#else
  220|       |    return here_addr > _tstate->c_stack_soft_limit && here_addr <= _tstate->c_stack_soft_limit + 2 * _PyOS_STACK_MARGIN_BYTES;
  221|       |#endif
  222|  32.4M|}
object.c:_Py_LeaveRecursiveCallTstate:
  243|  32.4M|static inline void _Py_LeaveRecursiveCallTstate(PyThreadState *tstate) {
  244|  32.4M|    (void)tstate;
  245|  32.4M|}
ceval.c:_PyEval_EvalFrame:
  119|  4.39M|{
  120|  4.39M|    EVAL_CALL_STAT_INC(EVAL_CALL_TOTAL);
  ------------------
  |  |   79|  4.39M|#define EVAL_CALL_STAT_INC(name) ((void)0)
  ------------------
  121|  4.39M|    if (tstate->interp->eval_frame == NULL) {
  ------------------
  |  Branch (121:9): [True: 4.39M, False: 0]
  ------------------
  122|  4.39M|        return _PyEval_EvalFrameDefault(tstate, frame, throwflag);
  123|  4.39M|    }
  124|      0|    return tstate->interp->eval_frame(tstate, frame, throwflag);
  125|  4.39M|}
ceval.c:_Py_EnterRecursiveCallTstate:
  234|  5.66M|                                               const char *where) {
  235|  5.66M|    return (_Py_MakeRecCheck(tstate) && _Py_CheckRecursiveCall(tstate, where));
  ------------------
  |  Branch (235:13): [True: 0, False: 5.66M]
  |  Branch (235:41): [True: 0, False: 0]
  ------------------
  236|  5.66M|}
ceval.c:_Py_MakeRecCheck:
  211|  5.66M|static inline int _Py_MakeRecCheck(PyThreadState *tstate)  {
  212|  5.66M|    uintptr_t here_addr = _Py_get_machine_stack_pointer();
  213|  5.66M|    _PyThreadStateImpl *_tstate = (_PyThreadStateImpl *)tstate;
  214|       |    // Overflow if stack pointer is between soft limit and the base of the hardware stack.
  215|       |    // If it is below the hardware stack base, assume that we have the wrong stack limits, and do nothing.
  216|       |    // We could have the wrong stack limits because of limited platform support, or user-space threads.
  217|  5.66M|#if _Py_STACK_GROWS_DOWN
  218|  5.66M|    return here_addr < _tstate->c_stack_soft_limit && here_addr >= _tstate->c_stack_soft_limit - 2 * _PyOS_STACK_MARGIN_BYTES;
  ------------------
  |  |   55|      0|#define _PyOS_STACK_MARGIN_BYTES (_PyOS_STACK_MARGIN * sizeof(void *))
  |  |  ------------------
  |  |  |  |   54|      0|#define _PyOS_STACK_MARGIN (1 << _PyOS_LOG2_STACK_MARGIN)
  |  |  |  |  ------------------
  |  |  |  |  |  |   52|      0|#  define _PyOS_LOG2_STACK_MARGIN 11
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (218:12): [True: 0, False: 5.66M]
  |  Branch (218:55): [True: 0, False: 0]
  ------------------
  219|       |#else
  220|       |    return here_addr > _tstate->c_stack_soft_limit && here_addr <= _tstate->c_stack_soft_limit + 2 * _PyOS_STACK_MARGIN_BYTES;
  221|       |#endif
  222|  5.66M|}
ceval.c:_Py_LeaveRecursiveCallTstate:
  243|  10.0M|static inline void _Py_LeaveRecursiveCallTstate(PyThreadState *tstate) {
  244|  10.0M|    (void)tstate;
  245|  10.0M|}
ceval.c:_Py_EnterRecursiveCall:
  238|   181k|static inline int _Py_EnterRecursiveCall(const char *where) {
  239|   181k|    PyThreadState *tstate = _PyThreadState_GET();
  240|   181k|    return _Py_EnterRecursiveCallTstate(tstate, where);
  241|   181k|}
ceval.c:_Py_LeaveRecursiveCall:
  256|   133k|static inline void _Py_LeaveRecursiveCall(void)  {
  257|   133k|}
gc.c:_Py_eval_breaker_bit_is_set:
  373|  26.9k|{
  374|  26.9k|    uintptr_t b = _Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker);
  375|  26.9k|    return (b & bit) != 0;
  376|  26.9k|}
gc.c:_Py_set_eval_breaker_bit:
  361|  3.04k|{
  362|  3.04k|    _Py_atomic_or_uintptr(&tstate->eval_breaker, bit);
  363|  3.04k|}
ceval_gil.c:_Py_eval_breaker_bit_is_set:
  373|   116k|{
  374|   116k|    uintptr_t b = _Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker);
  375|   116k|    return (b & bit) != 0;
  376|   116k|}
ceval_gil.c:_Py_unset_eval_breaker_bit:
  367|   119k|{
  368|   119k|    _Py_atomic_and_uintptr(&tstate->eval_breaker, ~bit);
  369|   119k|}
abstract.c:_Py_EnterRecursiveCallTstate:
  234|   501k|                                               const char *where) {
  235|   501k|    return (_Py_MakeRecCheck(tstate) && _Py_CheckRecursiveCall(tstate, where));
  ------------------
  |  Branch (235:13): [True: 0, False: 501k]
  |  Branch (235:41): [True: 0, False: 0]
  ------------------
  236|   501k|}
abstract.c:_Py_MakeRecCheck:
  211|   501k|static inline int _Py_MakeRecCheck(PyThreadState *tstate)  {
  212|   501k|    uintptr_t here_addr = _Py_get_machine_stack_pointer();
  213|   501k|    _PyThreadStateImpl *_tstate = (_PyThreadStateImpl *)tstate;
  214|       |    // Overflow if stack pointer is between soft limit and the base of the hardware stack.
  215|       |    // If it is below the hardware stack base, assume that we have the wrong stack limits, and do nothing.
  216|       |    // We could have the wrong stack limits because of limited platform support, or user-space threads.
  217|   501k|#if _Py_STACK_GROWS_DOWN
  218|   501k|    return here_addr < _tstate->c_stack_soft_limit && here_addr >= _tstate->c_stack_soft_limit - 2 * _PyOS_STACK_MARGIN_BYTES;
  ------------------
  |  |   55|      0|#define _PyOS_STACK_MARGIN_BYTES (_PyOS_STACK_MARGIN * sizeof(void *))
  |  |  ------------------
  |  |  |  |   54|      0|#define _PyOS_STACK_MARGIN (1 << _PyOS_LOG2_STACK_MARGIN)
  |  |  |  |  ------------------
  |  |  |  |  |  |   52|      0|#  define _PyOS_LOG2_STACK_MARGIN 11
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (218:12): [True: 0, False: 501k]
  |  Branch (218:55): [True: 0, False: 0]
  ------------------
  219|       |#else
  220|       |    return here_addr > _tstate->c_stack_soft_limit && here_addr <= _tstate->c_stack_soft_limit + 2 * _PyOS_STACK_MARGIN_BYTES;
  221|       |#endif
  222|   501k|}
abstract.c:_Py_LeaveRecursiveCallTstate:
  243|   501k|static inline void _Py_LeaveRecursiveCallTstate(PyThreadState *tstate) {
  244|   501k|    (void)tstate;
  245|   501k|}
descrobject.c:_Py_EnterRecursiveCallTstate:
  234|   260k|                                               const char *where) {
  235|   260k|    return (_Py_MakeRecCheck(tstate) && _Py_CheckRecursiveCall(tstate, where));
  ------------------
  |  Branch (235:13): [True: 0, False: 260k]
  |  Branch (235:41): [True: 0, False: 0]
  ------------------
  236|   260k|}
descrobject.c:_Py_MakeRecCheck:
  211|   260k|static inline int _Py_MakeRecCheck(PyThreadState *tstate)  {
  212|   260k|    uintptr_t here_addr = _Py_get_machine_stack_pointer();
  213|   260k|    _PyThreadStateImpl *_tstate = (_PyThreadStateImpl *)tstate;
  214|       |    // Overflow if stack pointer is between soft limit and the base of the hardware stack.
  215|       |    // If it is below the hardware stack base, assume that we have the wrong stack limits, and do nothing.
  216|       |    // We could have the wrong stack limits because of limited platform support, or user-space threads.
  217|   260k|#if _Py_STACK_GROWS_DOWN
  218|   260k|    return here_addr < _tstate->c_stack_soft_limit && here_addr >= _tstate->c_stack_soft_limit - 2 * _PyOS_STACK_MARGIN_BYTES;
  ------------------
  |  |   55|      0|#define _PyOS_STACK_MARGIN_BYTES (_PyOS_STACK_MARGIN * sizeof(void *))
  |  |  ------------------
  |  |  |  |   54|      0|#define _PyOS_STACK_MARGIN (1 << _PyOS_LOG2_STACK_MARGIN)
  |  |  |  |  ------------------
  |  |  |  |  |  |   52|      0|#  define _PyOS_LOG2_STACK_MARGIN 11
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (218:12): [True: 0, False: 260k]
  |  Branch (218:55): [True: 0, False: 0]
  ------------------
  219|       |#else
  220|       |    return here_addr > _tstate->c_stack_soft_limit && here_addr <= _tstate->c_stack_soft_limit + 2 * _PyOS_STACK_MARGIN_BYTES;
  221|       |#endif
  222|   260k|}
descrobject.c:_Py_LeaveRecursiveCallTstate:
  243|   245k|static inline void _Py_LeaveRecursiveCallTstate(PyThreadState *tstate) {
  244|   245k|    (void)tstate;
  245|   245k|}
descrobject.c:_Py_LeaveRecursiveCall:
  256|  14.5k|static inline void _Py_LeaveRecursiveCall(void)  {
  257|  14.5k|}
genobject.c:_PyEval_EvalFrame:
  119|  1.08M|{
  120|  1.08M|    EVAL_CALL_STAT_INC(EVAL_CALL_TOTAL);
  ------------------
  |  |   79|  1.08M|#define EVAL_CALL_STAT_INC(name) ((void)0)
  ------------------
  121|  1.08M|    if (tstate->interp->eval_frame == NULL) {
  ------------------
  |  Branch (121:9): [True: 1.08M, False: 0]
  ------------------
  122|  1.08M|        return _PyEval_EvalFrameDefault(tstate, frame, throwflag);
  123|  1.08M|    }
  124|      0|    return tstate->interp->eval_frame(tstate, frame, throwflag);
  125|  1.08M|}
methodobject.c:_Py_EnterRecursiveCallTstate:
  234|  10.0M|                                               const char *where) {
  235|  10.0M|    return (_Py_MakeRecCheck(tstate) && _Py_CheckRecursiveCall(tstate, where));
  ------------------
  |  Branch (235:13): [True: 0, False: 10.0M]
  |  Branch (235:41): [True: 0, False: 0]
  ------------------
  236|  10.0M|}
methodobject.c:_Py_MakeRecCheck:
  211|  10.0M|static inline int _Py_MakeRecCheck(PyThreadState *tstate)  {
  212|  10.0M|    uintptr_t here_addr = _Py_get_machine_stack_pointer();
  213|  10.0M|    _PyThreadStateImpl *_tstate = (_PyThreadStateImpl *)tstate;
  214|       |    // Overflow if stack pointer is between soft limit and the base of the hardware stack.
  215|       |    // If it is below the hardware stack base, assume that we have the wrong stack limits, and do nothing.
  216|       |    // We could have the wrong stack limits because of limited platform support, or user-space threads.
  217|  10.0M|#if _Py_STACK_GROWS_DOWN
  218|  10.0M|    return here_addr < _tstate->c_stack_soft_limit && here_addr >= _tstate->c_stack_soft_limit - 2 * _PyOS_STACK_MARGIN_BYTES;
  ------------------
  |  |   55|      0|#define _PyOS_STACK_MARGIN_BYTES (_PyOS_STACK_MARGIN * sizeof(void *))
  |  |  ------------------
  |  |  |  |   54|      0|#define _PyOS_STACK_MARGIN (1 << _PyOS_LOG2_STACK_MARGIN)
  |  |  |  |  ------------------
  |  |  |  |  |  |   52|      0|#  define _PyOS_LOG2_STACK_MARGIN 11
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (218:12): [True: 0, False: 10.0M]
  |  Branch (218:55): [True: 0, False: 0]
  ------------------
  219|       |#else
  220|       |    return here_addr > _tstate->c_stack_soft_limit && here_addr <= _tstate->c_stack_soft_limit + 2 * _PyOS_STACK_MARGIN_BYTES;
  221|       |#endif
  222|  10.0M|}
methodobject.c:_Py_LeaveRecursiveCallTstate:
  243|  10.0M|static inline void _Py_LeaveRecursiveCallTstate(PyThreadState *tstate) {
  244|  10.0M|    (void)tstate;
  245|  10.0M|}

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|   499M|{
  365|   499M|    return *p;
  366|   499M|}
ceval.c:read_obj:
  386|  65.2M|{
  387|  65.2M|    PyObject *val;
  388|  65.2M|    memcpy(&val, p, sizeof(val));
  389|  65.2M|    return val;
  390|  65.2M|}
ceval.c:read_u32:
  370|   261M|{
  371|   261M|    uint32_t val;
  372|   261M|    memcpy(&val, p, sizeof(val));
  373|   261M|    return val;
  374|   261M|}
ceval.c:parse_varint:
  395|  14.5M|parse_varint(unsigned char *p, int *result) {
  396|  14.5M|    int val = p[0] & 63;
  397|  16.6M|    while (p[0] & 64) {
  ------------------
  |  Branch (397:12): [True: 2.07M, False: 14.5M]
  ------------------
  398|  2.07M|        p++;
  399|  2.07M|        val = (val << 6) | (p[0] & 63);
  400|  2.07M|    }
  401|  14.5M|    *result = val;
  402|  14.5M|    return p+1;
  403|  14.5M|}
specialize.c:adaptive_counter_warmup:
  480|  85.2k|adaptive_counter_warmup(void) {
  481|  85.2k|    return adaptive_counter_bits(ADAPTIVE_WARMUP_VALUE,
  ------------------
  |  |  454|  85.2k|#define ADAPTIVE_WARMUP_VALUE 1
  ------------------
  482|  85.2k|                                 ADAPTIVE_WARMUP_BACKOFF);
  ------------------
  |  |  455|  85.2k|#define ADAPTIVE_WARMUP_BACKOFF 1
  ------------------
  483|  85.2k|}
specialize.c:adaptive_counter_bits:
  475|   637k|adaptive_counter_bits(uint16_t value, uint16_t backoff) {
  476|   637k|    return make_backoff_counter(value, backoff);
  477|   637k|}
specialize.c:adaptive_counter_cooldown:
  486|   552k|adaptive_counter_cooldown(void) {
  487|   552k|    return adaptive_counter_bits(ADAPTIVE_COOLDOWN_VALUE,
  ------------------
  |  |  463|   552k|#define ADAPTIVE_COOLDOWN_VALUE 52
  ------------------
  488|   552k|                                 ADAPTIVE_COOLDOWN_BACKOFF);
  ------------------
  |  |  464|   552k|#define ADAPTIVE_COOLDOWN_BACKOFF 0
  ------------------
  489|   552k|}
specialize.c:adaptive_counter_backoff:
  492|  17.5k|adaptive_counter_backoff(_Py_BackoffCounter counter) {
  493|  17.5k|    return restart_backoff_counter(counter);
  494|  17.5k|}
specialize.c:write_u32:
  346|   311k|{
  347|   311k|    memcpy(p, &val, sizeof(val));
  348|   311k|}
specialize.c:write_ptr:
  358|   142k|{
  359|   142k|    memcpy(p, &val, sizeof(val));
  360|   142k|}
codeobject.c:_PyLocals_SetKind:
  214|  15.1k|{
  215|  15.1k|    assert(PyBytes_Check(kinds));
  216|  15.1k|    assert(0 <= i && i < PyBytes_GET_SIZE(kinds));
  217|  15.1k|    char *ptr = PyBytes_AS_STRING(kinds);
  ------------------
  |  |   27|  15.1k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  15.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  218|  15.1k|    ptr[i] = (char) kind;
  219|  15.1k|}
codeobject.c:_PyLocals_GetKind:
  205|   472k|{
  206|   472k|    assert(PyBytes_Check(kinds));
  207|   472k|    assert(0 <= i && i < PyBytes_GET_SIZE(kinds));
  208|   472k|    char *ptr = PyBytes_AS_STRING(kinds);
  ------------------
  |  |   27|   472k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   472k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   472k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  209|   472k|    return (_PyLocals_Kind)(ptr[i]);
  210|   472k|}
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|  69.8k|{
  435|       |    assert((code & 15) == code);
  436|  69.8k|    *ptr = 128 | (uint8_t)(code << 3) | (uint8_t)(length - 1);
  437|  69.8k|    return 1;
  438|  69.8k|}
assemble.c:write_signed_varint:
  420|  10.1k|{
  421|  10.1k|    unsigned int uval;
  422|  10.1k|    if (val < 0) {
  ------------------
  |  Branch (422:9): [True: 2.36k, False: 7.78k]
  ------------------
  423|       |        // (unsigned int)(-val) has an undefined behavior for INT_MIN
  424|  2.36k|        uval = ((0 - (unsigned int)val) << 1) | 1;
  425|  2.36k|    }
  426|  7.78k|    else {
  427|  7.78k|        uval = (unsigned int)val << 1;
  428|  7.78k|    }
  429|  10.1k|    return write_varint(ptr, uval);
  430|  10.1k|}
assemble.c:write_varint:
  407|  39.9k|{
  408|  39.9k|    int written = 1;
  409|  44.5k|    while (val >= 64) {
  ------------------
  |  Branch (409:12): [True: 4.58k, False: 39.9k]
  ------------------
  410|  4.58k|        *ptr++ = 64 | (val & 63);
  411|  4.58k|        val >>= 6;
  412|  4.58k|        written++;
  413|  4.58k|    }
  414|  39.9k|    *ptr = (uint8_t)val;
  415|  39.9k|    return written;
  416|  39.9k|}

dictobject.c:DK_ENTRIES:
  273|  14.7M|static inline PyDictKeyEntry* DK_ENTRIES(PyDictKeysObject *dk) {
  274|       |    assert(dk->dk_kind == DICT_KEYS_GENERAL);
  275|  14.7M|    return (PyDictKeyEntry*)_DK_ENTRIES(dk);
  276|  14.7M|}
dictobject.c:_DK_ENTRIES:
  267|   147M|static inline void* _DK_ENTRIES(PyDictKeysObject *dk) {
  268|   147M|    int8_t *indices = (int8_t*)(dk->dk_indices);
  269|   147M|    size_t index = (size_t)1 << dk->dk_log2_index_bytes;
  270|   147M|    return (&indices[index]);
  271|   147M|}
dictobject.c:DK_UNICODE_ENTRIES:
  277|  55.8M|static inline PyDictUnicodeEntry* DK_UNICODE_ENTRIES(PyDictKeysObject *dk) {
  278|       |    assert(dk->dk_kind != DICT_KEYS_GENERAL);
  279|  55.8M|    return (PyDictUnicodeEntry*)_DK_ENTRIES(dk);
  280|  55.8M|}
dictobject.c:get_insertion_order_array:
  328|   429k|{
  329|   429k|    return (uint8_t *)&values->values[values->capacity];
  330|   429k|}
dictobject.c:_PyDict_NotifyEvent:
  310|  12.3M|{
  311|  12.3M|    assert(Py_REFCNT((PyObject*)mp) > 0);
  312|  12.3M|    int watcher_bits = FT_ATOMIC_LOAD_UINT64_ACQUIRE(mp->_ma_watcher_tag) & DICT_WATCHER_MASK;
  ------------------
  |  |  159|  12.3M|#define FT_ATOMIC_LOAD_UINT64_ACQUIRE(value) value
  ------------------
                  int watcher_bits = FT_ATOMIC_LOAD_UINT64_ACQUIRE(mp->_ma_watcher_tag) & DICT_WATCHER_MASK;
  ------------------
  |  |  285|  12.3M|#define DICT_WATCHER_MASK ((1 << DICT_MAX_WATCHERS) - 1)
  |  |  ------------------
  |  |  |  |   11|  12.3M|#define DICT_MAX_WATCHERS 8
  |  |  ------------------
  ------------------
  313|  12.3M|    if (watcher_bits) {
  ------------------
  |  Branch (313:9): [True: 119k, False: 12.2M]
  ------------------
  314|   119k|        RARE_EVENT_STAT_INC(watched_dict_modification);
  ------------------
  |  |   89|   119k|#define RARE_EVENT_STAT_INC(name) ((void)0)
  ------------------
  315|   119k|        _PyDict_SendEvent(watcher_bits, event, mp, key, value);
  316|   119k|    }
  317|  12.3M|}
dictobject.c:_PyDictValues_AddToInsertionOrder:
  334|   366k|{
  335|   366k|    assert(ix < SHARED_KEYS_MAX_SIZE);
  336|   366k|    int size = values->size;
  337|   366k|    uint8_t *array = get_insertion_order_array(values);
  338|   366k|    assert(size < values->capacity);
  339|       |    assert(((uint8_t)ix) == ix);
  340|   366k|    array[size] = (uint8_t)ix;
  341|   366k|    values->size = size+1;
  342|   366k|}
dictobject.c:shared_keys_usable_size:
  350|   285k|{
  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|   285k|    Py_ssize_t dk_usable = FT_ATOMIC_LOAD_SSIZE_ACQUIRE(keys->dk_usable);
  ------------------
  |  |  147|   285k|#define FT_ATOMIC_LOAD_SSIZE_ACQUIRE(value) value
  ------------------
  359|   285k|    Py_ssize_t dk_nentries = FT_ATOMIC_LOAD_SSIZE_ACQUIRE(keys->dk_nentries);
  ------------------
  |  |  147|   285k|#define FT_ATOMIC_LOAD_SSIZE_ACQUIRE(value) value
  ------------------
  360|   285k|    return dk_nentries + dk_usable;
  361|   285k|}
typeobject.c:_PyInlineValuesSize:
  365|   281k|{
  366|   281k|    PyDictKeysObject *keys = ((PyHeapTypeObject*)tp)->ht_cached_keys;
  367|   281k|    assert(keys != NULL);
  368|   281k|    size_t size = shared_keys_usable_size(keys);
  369|   281k|    size_t prefix_size = _Py_SIZE_ROUND_UP(size, sizeof(PyObject *));
  ------------------
  |  |  213|   281k|#define _Py_SIZE_ROUND_UP(n, a) (((size_t)(n) + \
  |  |  214|   281k|        (size_t)((a) - 1)) & ~(size_t)((a) - 1))
  ------------------
  370|       |    assert(prefix_size < 256);
  371|   281k|    return prefix_size + (size + 1) * sizeof(PyObject *);
  372|   281k|}
typeobject.c:shared_keys_usable_size:
  350|   281k|{
  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|   281k|    Py_ssize_t dk_usable = FT_ATOMIC_LOAD_SSIZE_ACQUIRE(keys->dk_usable);
  ------------------
  |  |  147|   281k|#define FT_ATOMIC_LOAD_SSIZE_ACQUIRE(value) value
  ------------------
  359|   281k|    Py_ssize_t dk_nentries = FT_ATOMIC_LOAD_SSIZE_ACQUIRE(keys->dk_nentries);
  ------------------
  |  |  147|   281k|#define FT_ATOMIC_LOAD_SSIZE_ACQUIRE(value) value
  ------------------
  360|   281k|    return dk_nentries + dk_usable;
  361|   281k|}
ceval.c:DK_UNICODE_ENTRIES:
  277|   109M|static inline PyDictUnicodeEntry* DK_UNICODE_ENTRIES(PyDictKeysObject *dk) {
  278|       |    assert(dk->dk_kind != DICT_KEYS_GENERAL);
  279|   109M|    return (PyDictUnicodeEntry*)_DK_ENTRIES(dk);
  280|   109M|}
ceval.c:_DK_ENTRIES:
  267|   109M|static inline void* _DK_ENTRIES(PyDictKeysObject *dk) {
  268|   109M|    int8_t *indices = (int8_t*)(dk->dk_indices);
  269|   109M|    size_t index = (size_t)1 << dk->dk_log2_index_bytes;
  270|   109M|    return (&indices[index]);
  271|   109M|}
ceval.c:_PyDictValues_AddToInsertionOrder:
  334|  1.26M|{
  335|  1.26M|    assert(ix < SHARED_KEYS_MAX_SIZE);
  336|  1.26M|    int size = values->size;
  337|  1.26M|    uint8_t *array = get_insertion_order_array(values);
  338|  1.26M|    assert(size < values->capacity);
  339|       |    assert(((uint8_t)ix) == ix);
  340|  1.26M|    array[size] = (uint8_t)ix;
  341|  1.26M|    values->size = size+1;
  342|  1.26M|}
ceval.c:get_insertion_order_array:
  328|  1.26M|{
  329|  1.26M|    return (uint8_t *)&values->values[values->capacity];
  330|  1.26M|}
ceval.c:_PyDict_NotifyEvent:
  310|   475k|{
  311|   475k|    assert(Py_REFCNT((PyObject*)mp) > 0);
  312|   475k|    int watcher_bits = FT_ATOMIC_LOAD_UINT64_ACQUIRE(mp->_ma_watcher_tag) & DICT_WATCHER_MASK;
  ------------------
  |  |  159|   475k|#define FT_ATOMIC_LOAD_UINT64_ACQUIRE(value) value
  ------------------
                  int watcher_bits = FT_ATOMIC_LOAD_UINT64_ACQUIRE(mp->_ma_watcher_tag) & DICT_WATCHER_MASK;
  ------------------
  |  |  285|   475k|#define DICT_WATCHER_MASK ((1 << DICT_MAX_WATCHERS) - 1)
  |  |  ------------------
  |  |  |  |   11|   475k|#define DICT_MAX_WATCHERS 8
  |  |  ------------------
  ------------------
  313|   475k|    if (watcher_bits) {
  ------------------
  |  Branch (313:9): [True: 0, False: 475k]
  ------------------
  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|   475k|}
gc.c:_PyInlineValuesSize:
  365|     80|{
  366|     80|    PyDictKeysObject *keys = ((PyHeapTypeObject*)tp)->ht_cached_keys;
  367|     80|    assert(keys != NULL);
  368|     80|    size_t size = shared_keys_usable_size(keys);
  369|     80|    size_t prefix_size = _Py_SIZE_ROUND_UP(size, sizeof(PyObject *));
  ------------------
  |  |  213|     80|#define _Py_SIZE_ROUND_UP(n, a) (((size_t)(n) + \
  |  |  214|     80|        (size_t)((a) - 1)) & ~(size_t)((a) - 1))
  ------------------
  370|       |    assert(prefix_size < 256);
  371|     80|    return prefix_size + (size + 1) * sizeof(PyObject *);
  372|     80|}
gc.c:shared_keys_usable_size:
  350|     80|{
  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|     80|    Py_ssize_t dk_usable = FT_ATOMIC_LOAD_SSIZE_ACQUIRE(keys->dk_usable);
  ------------------
  |  |  147|     80|#define FT_ATOMIC_LOAD_SSIZE_ACQUIRE(value) value
  ------------------
  359|     80|    Py_ssize_t dk_nentries = FT_ATOMIC_LOAD_SSIZE_ACQUIRE(keys->dk_nentries);
  ------------------
  |  |  147|     80|#define FT_ATOMIC_LOAD_SSIZE_ACQUIRE(value) value
  ------------------
  360|     80|    return dk_nentries + dk_usable;
  361|     80|}

bytesobject.c:_PyFreeList_PopMem:
   99|  8.88M|{
  100|  8.88M|    void *op = _PyFreeList_PopNoStats(fl);
  101|  8.88M|    if (op != NULL) {
  ------------------
  |  Branch (101:9): [True: 8.88M, False: 6]
  ------------------
  102|  8.88M|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  8.88M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
  103|  8.88M|    }
  104|  8.88M|    return op;
  105|  8.88M|}
bytesobject.c:_PyFreeList_PopNoStats:
   76|  8.88M|{
   77|  8.88M|    void *obj = fl->freelist;
   78|  8.88M|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 8.88M, False: 6]
  ------------------
   79|       |        assert(fl->size > 0);
   80|  8.88M|        fl->freelist = *(void **)obj;
   81|  8.88M|        fl->size--;
   82|  8.88M|    }
   83|  8.88M|    return obj;
   84|  8.88M|}
bytesobject.c:_PyFreeList_Free:
   68|  8.88M|{
   69|  8.88M|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 0, False: 8.88M]
  ------------------
   70|      0|        dofree(obj);
   71|      0|    }
   72|  8.88M|}
bytesobject.c:_PyFreeList_Push:
   54|  8.88M|{
   55|  8.88M|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 8.88M, False: 0]
  |  Branch (55:31): [True: 8.88M, False: 0]
  ------------------
   56|  8.88M|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  162|  8.88M|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|  8.88M|        fl->freelist = obj;
   58|  8.88M|        fl->size++;
   59|  8.88M|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|  8.88M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|  8.88M|        return 1;
   61|  8.88M|    }
   62|      0|    return 0;
   63|  8.88M|}
bytesobject.c:_Py_freelists_GET:
   19|  17.7M|{
   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|  17.7M|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|  17.7M|    return &interp->object_state.freelists;
   30|  17.7M|#endif
   31|  17.7M|}
floatobject.c:_PyFreeList_Pop:
   88|  4.14M|{
   89|  4.14M|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|  4.14M|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 4.14M, False: 1.32k]
  ------------------
   91|  4.14M|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  4.14M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|  4.14M|        _Py_NewReference(op);
   93|  4.14M|    }
   94|  4.14M|    return op;
   95|  4.14M|}
floatobject.c:_PyFreeList_PopNoStats:
   76|  4.14M|{
   77|  4.14M|    void *obj = fl->freelist;
   78|  4.14M|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 4.14M, False: 1.32k]
  ------------------
   79|       |        assert(fl->size > 0);
   80|  4.14M|        fl->freelist = *(void **)obj;
   81|  4.14M|        fl->size--;
   82|  4.14M|    }
   83|  4.14M|    return obj;
   84|  4.14M|}
floatobject.c:_Py_freelists_GET:
   19|  8.29M|{
   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|  8.29M|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|  8.29M|    return &interp->object_state.freelists;
   30|  8.29M|#endif
   31|  8.29M|}
floatobject.c:_PyFreeList_Free:
   68|  4.14M|{
   69|  4.14M|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 310, False: 4.14M]
  ------------------
   70|    310|        dofree(obj);
   71|    310|    }
   72|  4.14M|}
floatobject.c:_PyFreeList_Push:
   54|  4.14M|{
   55|  4.14M|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 4.14M, False: 310]
  |  Branch (55:31): [True: 4.14M, False: 0]
  ------------------
   56|  4.14M|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  162|  4.14M|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|  4.14M|        fl->freelist = obj;
   58|  4.14M|        fl->size++;
   59|  4.14M|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|  4.14M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|  4.14M|        return 1;
   61|  4.14M|    }
   62|    310|    return 0;
   63|  4.14M|}
listobject.c:_Py_freelists_GET:
   19|  13.8M|{
   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.8M|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|  13.8M|    return &interp->object_state.freelists;
   30|  13.8M|#endif
   31|  13.8M|}
listobject.c:_PyFreeList_Pop:
   88|  6.90M|{
   89|  6.90M|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|  6.90M|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 6.89M, False: 9.17k]
  ------------------
   91|  6.89M|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  6.89M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|  6.89M|        _Py_NewReference(op);
   93|  6.89M|    }
   94|  6.90M|    return op;
   95|  6.90M|}
listobject.c:_PyFreeList_PopNoStats:
   76|  6.90M|{
   77|  6.90M|    void *obj = fl->freelist;
   78|  6.90M|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 6.89M, False: 9.17k]
  ------------------
   79|       |        assert(fl->size > 0);
   80|  6.89M|        fl->freelist = *(void **)obj;
   81|  6.89M|        fl->size--;
   82|  6.89M|    }
   83|  6.90M|    return obj;
   84|  6.90M|}
listobject.c:_PyFreeList_Free:
   68|  6.92M|{
   69|  6.92M|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 27.0k, False: 6.89M]
  ------------------
   70|  27.0k|        dofree(obj);
   71|  27.0k|    }
   72|  6.92M|}
listobject.c:_PyFreeList_Push:
   54|  6.92M|{
   55|  6.92M|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 6.89M, False: 27.0k]
  |  Branch (55:31): [True: 6.89M, False: 0]
  ------------------
   56|  6.89M|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  162|  6.89M|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|  6.89M|        fl->freelist = obj;
   58|  6.89M|        fl->size++;
   59|  6.89M|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|  6.89M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|  6.89M|        return 1;
   61|  6.89M|    }
   62|  27.0k|    return 0;
   63|  6.92M|}
longobject.c:_PyFreeList_Pop:
   88|  52.2M|{
   89|  52.2M|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|  52.2M|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 47.8M, False: 4.44M]
  ------------------
   91|  47.8M|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  47.8M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|  47.8M|        _Py_NewReference(op);
   93|  47.8M|    }
   94|  52.2M|    return op;
   95|  52.2M|}
longobject.c:_PyFreeList_PopNoStats:
   76|  52.2M|{
   77|  52.2M|    void *obj = fl->freelist;
   78|  52.2M|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 47.8M, False: 4.44M]
  ------------------
   79|       |        assert(fl->size > 0);
   80|  47.8M|        fl->freelist = *(void **)obj;
   81|  47.8M|        fl->size--;
   82|  47.8M|    }
   83|  52.2M|    return obj;
   84|  52.2M|}
longobject.c:_PyFreeList_Free:
   68|  52.2M|{
   69|  52.2M|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 4.44M, False: 47.8M]
  ------------------
   70|  4.44M|        dofree(obj);
   71|  4.44M|    }
   72|  52.2M|}
longobject.c:_PyFreeList_Push:
   54|  52.2M|{
   55|  52.2M|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 47.8M, False: 4.44M]
  |  Branch (55:31): [True: 47.8M, False: 0]
  ------------------
   56|  47.8M|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  162|  47.8M|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|  47.8M|        fl->freelist = obj;
   58|  47.8M|        fl->size++;
   59|  47.8M|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|  47.8M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|  47.8M|        return 1;
   61|  47.8M|    }
   62|  4.44M|    return 0;
   63|  52.2M|}
longobject.c:_Py_freelists_GET:
   19|   104M|{
   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|   104M|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|   104M|    return &interp->object_state.freelists;
   30|   104M|#endif
   31|   104M|}
dictobject.c:_Py_freelists_GET:
   19|  17.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|  17.3M|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|  17.3M|    return &interp->object_state.freelists;
   30|  17.3M|#endif
   31|  17.3M|}
dictobject.c:_PyFreeList_Pop:
   88|  5.17M|{
   89|  5.17M|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|  5.17M|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 4.98M, False: 189k]
  ------------------
   91|  4.98M|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  4.98M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|  4.98M|        _Py_NewReference(op);
   93|  4.98M|    }
   94|  5.17M|    return op;
   95|  5.17M|}
dictobject.c:_PyFreeList_PopNoStats:
   76|  7.64M|{
   77|  7.64M|    void *obj = fl->freelist;
   78|  7.64M|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 7.44M, False: 192k]
  ------------------
   79|       |        assert(fl->size > 0);
   80|  7.44M|        fl->freelist = *(void **)obj;
   81|  7.44M|        fl->size--;
   82|  7.44M|    }
   83|  7.64M|    return obj;
   84|  7.64M|}
dictobject.c:_PyFreeList_Free:
   68|  9.70M|{
   69|  9.70M|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 2.25M, False: 7.44M]
  ------------------
   70|  2.25M|        dofree(obj);
   71|  2.25M|    }
   72|  9.70M|}
dictobject.c:_PyFreeList_Push:
   54|  9.70M|{
   55|  9.70M|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 7.44M, False: 2.25M]
  |  Branch (55:31): [True: 7.44M, False: 0]
  ------------------
   56|  7.44M|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  162|  7.44M|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|  7.44M|        fl->freelist = obj;
   58|  7.44M|        fl->size++;
   59|  7.44M|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|  7.44M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|  7.44M|        return 1;
   61|  7.44M|    }
   62|  2.25M|    return 0;
   63|  9.70M|}
dictobject.c:_PyFreeList_PopMem:
   99|  2.46M|{
  100|  2.46M|    void *op = _PyFreeList_PopNoStats(fl);
  101|  2.46M|    if (op != NULL) {
  ------------------
  |  Branch (101:9): [True: 2.46M, False: 2.88k]
  ------------------
  102|  2.46M|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  2.46M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
  103|  2.46M|    }
  104|  2.46M|    return op;
  105|  2.46M|}
object.c:_PyFreeList_PopNoStats:
   76|  3.33k|{
   77|  3.33k|    void *obj = fl->freelist;
   78|  3.33k|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 3.17k, False: 160]
  ------------------
   79|       |        assert(fl->size > 0);
   80|  3.17k|        fl->freelist = *(void **)obj;
   81|  3.17k|        fl->size--;
   82|  3.17k|    }
   83|  3.33k|    return obj;
   84|  3.33k|}
rangeobject.c:_PyFreeList_Free:
   68|  99.4k|{
   69|  99.4k|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 0, False: 99.4k]
  ------------------
   70|      0|        dofree(obj);
   71|      0|    }
   72|  99.4k|}
rangeobject.c:_PyFreeList_Push:
   54|  99.4k|{
   55|  99.4k|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 99.4k, False: 0]
  |  Branch (55:31): [True: 99.4k, False: 0]
  ------------------
   56|  99.4k|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  162|  99.4k|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|  99.4k|        fl->freelist = obj;
   58|  99.4k|        fl->size++;
   59|  99.4k|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|  99.4k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|  99.4k|        return 1;
   61|  99.4k|    }
   62|      0|    return 0;
   63|  99.4k|}
rangeobject.c:_Py_freelists_GET:
   19|   198k|{
   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|   198k|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|   198k|    return &interp->object_state.freelists;
   30|   198k|#endif
   31|   198k|}
rangeobject.c:_PyFreeList_Pop:
   88|  99.4k|{
   89|  99.4k|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|  99.4k|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 99.4k, False: 15]
  ------------------
   91|  99.4k|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  99.4k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|  99.4k|        _Py_NewReference(op);
   93|  99.4k|    }
   94|  99.4k|    return op;
   95|  99.4k|}
rangeobject.c:_PyFreeList_PopNoStats:
   76|  99.4k|{
   77|  99.4k|    void *obj = fl->freelist;
   78|  99.4k|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 99.4k, False: 15]
  ------------------
   79|       |        assert(fl->size > 0);
   80|  99.4k|        fl->freelist = *(void **)obj;
   81|  99.4k|        fl->size--;
   82|  99.4k|    }
   83|  99.4k|    return obj;
   84|  99.4k|}
sliceobject.c:_PyFreeList_Pop:
   88|  7.53M|{
   89|  7.53M|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|  7.53M|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 7.53M, False: 470]
  ------------------
   91|  7.53M|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  7.53M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|  7.53M|        _Py_NewReference(op);
   93|  7.53M|    }
   94|  7.53M|    return op;
   95|  7.53M|}
sliceobject.c:_PyFreeList_PopNoStats:
   76|  7.53M|{
   77|  7.53M|    void *obj = fl->freelist;
   78|  7.53M|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 7.53M, False: 470]
  ------------------
   79|       |        assert(fl->size > 0);
   80|  7.53M|        fl->freelist = *(void **)obj;
   81|  7.53M|        fl->size--;
   82|  7.53M|    }
   83|  7.53M|    return obj;
   84|  7.53M|}
sliceobject.c:_Py_freelists_GET:
   19|  15.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|  15.0M|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|  15.0M|    return &interp->object_state.freelists;
   30|  15.0M|#endif
   31|  15.0M|}
sliceobject.c:_PyFreeList_Free:
   68|  7.53M|{
   69|  7.53M|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 52, False: 7.53M]
  ------------------
   70|     52|        dofree(obj);
   71|     52|    }
   72|  7.53M|}
sliceobject.c:_PyFreeList_Push:
   54|  7.53M|{
   55|  7.53M|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 7.53M, False: 52]
  |  Branch (55:31): [True: 7.53M, False: 0]
  ------------------
   56|  7.53M|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  162|  7.53M|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|  7.53M|        fl->freelist = obj;
   58|  7.53M|        fl->size++;
   59|  7.53M|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|  7.53M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|  7.53M|        return 1;
   61|  7.53M|    }
   62|     52|    return 0;
   63|  7.53M|}
tupleobject.c:_PyFreeList_Pop:
   88|  33.3M|{
   89|  33.3M|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|  33.3M|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 32.1M, False: 1.20M]
  ------------------
   91|  32.1M|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  32.1M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|  32.1M|        _Py_NewReference(op);
   93|  32.1M|    }
   94|  33.3M|    return op;
   95|  33.3M|}
tupleobject.c:_PyFreeList_PopNoStats:
   76|  33.3M|{
   77|  33.3M|    void *obj = fl->freelist;
   78|  33.3M|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 32.1M, False: 1.20M]
  ------------------
   79|       |        assert(fl->size > 0);
   80|  32.1M|        fl->freelist = *(void **)obj;
   81|  32.1M|        fl->size--;
   82|  32.1M|    }
   83|  33.3M|    return obj;
   84|  33.3M|}
tupleobject.c:_PyFreeList_Free:
   68|  75.6k|{
   69|  75.6k|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 0, False: 75.6k]
  ------------------
   70|      0|        dofree(obj);
   71|      0|    }
   72|  75.6k|}
tupleobject.c:_PyFreeList_Push:
   54|  33.2M|{
   55|  33.2M|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 32.1M, False: 1.11M]
  |  Branch (55:31): [True: 32.1M, False: 0]
  ------------------
   56|  32.1M|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  162|  32.1M|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|  32.1M|        fl->freelist = obj;
   58|  32.1M|        fl->size++;
   59|  32.1M|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|  32.1M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|  32.1M|        return 1;
   61|  32.1M|    }
   62|  1.11M|    return 0;
   63|  33.2M|}
tupleobject.c:_Py_freelists_GET:
   19|  66.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|  66.6M|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|  66.6M|    return &interp->object_state.freelists;
   30|  66.6M|#endif
   31|  66.6M|}
unicode_writer.c:_PyFreeList_PopMem:
   99|  27.5k|{
  100|  27.5k|    void *op = _PyFreeList_PopNoStats(fl);
  101|  27.5k|    if (op != NULL) {
  ------------------
  |  Branch (101:9): [True: 27.5k, False: 7]
  ------------------
  102|  27.5k|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  27.5k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
  103|  27.5k|    }
  104|  27.5k|    return op;
  105|  27.5k|}
unicode_writer.c:_PyFreeList_PopNoStats:
   76|  27.5k|{
   77|  27.5k|    void *obj = fl->freelist;
   78|  27.5k|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 27.5k, False: 7]
  ------------------
   79|       |        assert(fl->size > 0);
   80|  27.5k|        fl->freelist = *(void **)obj;
   81|  27.5k|        fl->size--;
   82|  27.5k|    }
   83|  27.5k|    return obj;
   84|  27.5k|}
unicode_writer.c:_Py_freelists_GET:
   19|  55.0k|{
   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|  55.0k|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|  55.0k|    return &interp->object_state.freelists;
   30|  55.0k|#endif
   31|  55.0k|}
unicode_writer.c:_PyFreeList_Free:
   68|  27.5k|{
   69|  27.5k|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 1, False: 27.5k]
  ------------------
   70|      1|        dofree(obj);
   71|      1|    }
   72|  27.5k|}
unicode_writer.c:_PyFreeList_Push:
   54|  27.5k|{
   55|  27.5k|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 27.5k, False: 1]
  |  Branch (55:31): [True: 27.5k, False: 0]
  ------------------
   56|  27.5k|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  162|  27.5k|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|  27.5k|        fl->freelist = obj;
   58|  27.5k|        fl->size++;
   59|  27.5k|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|  27.5k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|  27.5k|        return 1;
   61|  27.5k|    }
   62|      1|    return 0;
   63|  27.5k|}
classobject.c:_PyFreeList_Pop:
   88|  2.47M|{
   89|  2.47M|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|  2.47M|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 2.47M, False: 242]
  ------------------
   91|  2.47M|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  2.47M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|  2.47M|        _Py_NewReference(op);
   93|  2.47M|    }
   94|  2.47M|    return op;
   95|  2.47M|}
classobject.c:_PyFreeList_PopNoStats:
   76|  2.47M|{
   77|  2.47M|    void *obj = fl->freelist;
   78|  2.47M|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 2.47M, False: 242]
  ------------------
   79|       |        assert(fl->size > 0);
   80|  2.47M|        fl->freelist = *(void **)obj;
   81|  2.47M|        fl->size--;
   82|  2.47M|    }
   83|  2.47M|    return obj;
   84|  2.47M|}
classobject.c:_Py_freelists_GET:
   19|  4.94M|{
   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|  4.94M|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|  4.94M|    return &interp->object_state.freelists;
   30|  4.94M|#endif
   31|  4.94M|}
classobject.c:_PyFreeList_Free:
   68|  2.47M|{
   69|  2.47M|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 0, False: 2.47M]
  ------------------
   70|      0|        dofree(obj);
   71|      0|    }
   72|  2.47M|}
classobject.c:_PyFreeList_Push:
   54|  2.47M|{
   55|  2.47M|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 2.47M, False: 0]
  |  Branch (55:31): [True: 2.47M, False: 0]
  ------------------
   56|  2.47M|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  162|  2.47M|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|  2.47M|        fl->freelist = obj;
   58|  2.47M|        fl->size++;
   59|  2.47M|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|  2.47M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|  2.47M|        return 1;
   61|  2.47M|    }
   62|      0|    return 0;
   63|  2.47M|}
complexobject.c:_PyFreeList_Pop:
   88|      3|{
   89|      3|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|      3|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 0, False: 3]
  ------------------
   91|      0|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|      0|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|      0|        _Py_NewReference(op);
   93|      0|    }
   94|      3|    return op;
   95|      3|}
complexobject.c:_PyFreeList_PopNoStats:
   76|      3|{
   77|      3|    void *obj = fl->freelist;
   78|      3|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 0, False: 3]
  ------------------
   79|       |        assert(fl->size > 0);
   80|      0|        fl->freelist = *(void **)obj;
   81|      0|        fl->size--;
   82|      0|    }
   83|      3|    return obj;
   84|      3|}
complexobject.c:_Py_freelists_GET:
   19|      4|{
   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|      4|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|      4|    return &interp->object_state.freelists;
   30|      4|#endif
   31|      4|}
complexobject.c:_PyFreeList_Free:
   68|      1|{
   69|      1|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 0, False: 1]
  ------------------
   70|      0|        dofree(obj);
   71|      0|    }
   72|      1|}
complexobject.c:_PyFreeList_Push:
   54|      1|{
   55|      1|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 1, False: 0]
  |  Branch (55:31): [True: 1, False: 0]
  ------------------
   56|      1|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  162|      1|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|      1|        fl->freelist = obj;
   58|      1|        fl->size++;
   59|      1|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|      1|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|      1|        return 1;
   61|      1|    }
   62|      0|    return 0;
   63|      1|}
methodobject.c:_PyFreeList_Pop:
   88|  9.59M|{
   89|  9.59M|    PyObject *op = _PyFreeList_PopNoStats(fl);
   90|  9.59M|    if (op != NULL) {
  ------------------
  |  Branch (90:9): [True: 9.58M, False: 2.40k]
  ------------------
   91|  9.58M|        OBJECT_STAT_INC(from_freelist);
  ------------------
  |  |   77|  9.58M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   92|  9.58M|        _Py_NewReference(op);
   93|  9.58M|    }
   94|  9.59M|    return op;
   95|  9.59M|}
methodobject.c:_PyFreeList_PopNoStats:
   76|  9.59M|{
   77|  9.59M|    void *obj = fl->freelist;
   78|  9.59M|    if (obj != NULL) {
  ------------------
  |  Branch (78:9): [True: 9.58M, False: 2.40k]
  ------------------
   79|       |        assert(fl->size > 0);
   80|  9.58M|        fl->freelist = *(void **)obj;
   81|  9.58M|        fl->size--;
   82|  9.58M|    }
   83|  9.59M|    return obj;
   84|  9.59M|}
methodobject.c:_Py_freelists_GET:
   19|  19.1M|{
   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|  19.1M|    PyInterpreterState *interp = _PyInterpreterState_GET();
   29|  19.1M|    return &interp->object_state.freelists;
   30|  19.1M|#endif
   31|  19.1M|}
methodobject.c:_PyFreeList_Free:
   68|  9.58M|{
   69|  9.58M|    if (!_PyFreeList_Push(fl, obj, maxsize)) {
  ------------------
  |  Branch (69:9): [True: 0, False: 9.58M]
  ------------------
   70|      0|        dofree(obj);
   71|      0|    }
   72|  9.58M|}
methodobject.c:_PyFreeList_Push:
   54|  9.58M|{
   55|  9.58M|    if (fl->size < maxsize && fl->size >= 0) {
  ------------------
  |  Branch (55:9): [True: 9.58M, False: 0]
  |  Branch (55:31): [True: 9.58M, False: 0]
  ------------------
   56|  9.58M|        FT_ATOMIC_STORE_PTR_RELAXED(*(void **)obj, fl->freelist);
  ------------------
  |  |  162|  9.58M|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
   57|  9.58M|        fl->freelist = obj;
   58|  9.58M|        fl->size++;
   59|  9.58M|        OBJECT_STAT_INC(to_freelist);
  ------------------
  |  |   77|  9.58M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
   60|  9.58M|        return 1;
   61|  9.58M|    }
   62|      0|    return 0;
   63|  9.58M|}

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

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.14M|{
  254|  1.14M|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|  1.14M|    ((void)0)
  ------------------
  255|  1.14M|                          "object not tracked by the garbage collector",
  256|  1.14M|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|  1.14M|    PyGC_Head *gc = _Py_AS_GC(op);
  262|  1.14M|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|  1.14M|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|  1.14M|    _PyGCHead_SET_NEXT(prev, next);
  265|  1.14M|    _PyGCHead_SET_PREV(next, prev);
  266|  1.14M|    gc->_gc_next = 0;
  267|  1.14M|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|  1.14M|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|  1.14M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|  1.14M|    gcstate->heap_size--;
  270|  1.14M|#endif
  271|  1.14M|}
exceptions.c:_Py_AS_GC:
   17|  1.14M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  1.14M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  1.14M|    return (PyGC_Head*)gc;
   20|  1.14M|}
exceptions.c:_PyGCHead_PREV:
  155|  1.14M|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|  1.14M|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|  1.14M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  1.14M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|  1.14M|    return (PyGC_Head*)prev;
  158|  1.14M|}
exceptions.c:_PyGCHead_NEXT:
  146|  1.14M|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|  1.14M|    uintptr_t next = gc->_gc_next;
  148|  1.14M|    return (PyGC_Head*)next;
  149|  1.14M|}
exceptions.c:_PyGCHead_SET_NEXT:
  150|  1.14M|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  1.14M|    gc->_gc_next = (uintptr_t)next;
  152|  1.14M|}
exceptions.c:_PyGCHead_SET_PREV:
  160|  1.14M|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  1.14M|    uintptr_t uprev = (uintptr_t)prev;
  162|  1.14M|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|  1.14M|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  1.14M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  1.14M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  1.14M|}
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|  6.90M|{
  214|  6.90M|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|  6.90M|    ((void)0)
  ------------------
  215|  6.90M|                          "object already tracked by the garbage collector",
  216|  6.90M|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  6.90M|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  6.90M|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  410|  6.90M|    ((void)0)
  ------------------
  222|  6.90M|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  6.90M|                          "object is in generation which is garbage collected",
  224|  6.90M|                          filename, lineno, __func__);
  225|       |
  226|  6.90M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  6.90M|    PyGC_Head *generation0 = gcstate->generation0;
  228|  6.90M|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  6.90M|    _PyGCHead_SET_NEXT(last, gc);
  230|  6.90M|    _PyGCHead_SET_PREV(gc, last);
  231|  6.90M|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  6.90M|    generation0->_gc_prev = (uintptr_t)gc;
  233|  6.90M|    gcstate->heap_size++;
  234|  6.90M|#endif
  235|  6.90M|}
listobject.c:_Py_AS_GC:
   17|  6.93M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  6.93M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  6.93M|    return (PyGC_Head*)gc;
   20|  6.93M|}
listobject.c:_PyGCHead_SET_NEXT:
  150|  13.8M|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  13.8M|    gc->_gc_next = (uintptr_t)next;
  152|  13.8M|}
listobject.c:_PyGCHead_SET_PREV:
  160|  6.93M|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  6.93M|    uintptr_t uprev = (uintptr_t)prev;
  162|  6.93M|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|  6.93M|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  6.93M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  6.93M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  6.93M|}
listobject.c:_PyObject_GC_UNTRACK:
  253|  32.8k|{
  254|  32.8k|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|  32.8k|    ((void)0)
  ------------------
  255|  32.8k|                          "object not tracked by the garbage collector",
  256|  32.8k|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|  32.8k|    PyGC_Head *gc = _Py_AS_GC(op);
  262|  32.8k|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|  32.8k|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|  32.8k|    _PyGCHead_SET_NEXT(prev, next);
  265|  32.8k|    _PyGCHead_SET_PREV(next, prev);
  266|  32.8k|    gc->_gc_next = 0;
  267|  32.8k|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|  32.8k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|  32.8k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|  32.8k|    gcstate->heap_size--;
  270|  32.8k|#endif
  271|  32.8k|}
listobject.c:_PyGCHead_PREV:
  155|  32.8k|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|  32.8k|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|  32.8k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  32.8k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|  32.8k|    return (PyGC_Head*)prev;
  158|  32.8k|}
listobject.c:_PyGCHead_NEXT:
  146|  32.8k|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|  32.8k|    uintptr_t next = gc->_gc_next;
  148|  32.8k|    return (PyGC_Head*)next;
  149|  32.8k|}
dictobject.c:_PyObject_GC_IS_TRACKED:
   73|  4.45M|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.45M|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  4.45M|    return (gc->_gc_next != 0);
   79|  4.45M|#endif
   80|  4.45M|}
dictobject.c:_Py_AS_GC:
   17|  11.3M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  11.3M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  11.3M|    return (PyGC_Head*)gc;
   20|  11.3M|}
dictobject.c:_PyObject_GC_UNTRACK:
  253|   735k|{
  254|   735k|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|   735k|    ((void)0)
  ------------------
  255|   735k|                          "object not tracked by the garbage collector",
  256|   735k|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|   735k|    PyGC_Head *gc = _Py_AS_GC(op);
  262|   735k|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|   735k|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|   735k|    _PyGCHead_SET_NEXT(prev, next);
  265|   735k|    _PyGCHead_SET_PREV(next, prev);
  266|   735k|    gc->_gc_next = 0;
  267|   735k|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|   735k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|   735k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|   735k|    gcstate->heap_size--;
  270|   735k|#endif
  271|   735k|}
dictobject.c:_PyGCHead_PREV:
  155|   735k|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|   735k|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|   735k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|   735k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|   735k|    return (PyGC_Head*)prev;
  158|   735k|}
dictobject.c:_PyGCHead_NEXT:
  146|   735k|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|   735k|    uintptr_t next = gc->_gc_next;
  148|   735k|    return (PyGC_Head*)next;
  149|   735k|}
dictobject.c:_PyGCHead_SET_NEXT:
  150|  13.0M|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  13.0M|    gc->_gc_next = (uintptr_t)next;
  152|  13.0M|}
dictobject.c:_PyGCHead_SET_PREV:
  160|  6.87M|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  6.87M|    uintptr_t uprev = (uintptr_t)prev;
  162|  6.87M|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|  6.87M|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  6.87M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  6.87M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  6.87M|}
dictobject.c:_PyObject_GC_TRACK:
  213|  6.14M|{
  214|  6.14M|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|  6.14M|    ((void)0)
  ------------------
  215|  6.14M|                          "object already tracked by the garbage collector",
  216|  6.14M|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  6.14M|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  6.14M|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  410|  6.14M|    ((void)0)
  ------------------
  222|  6.14M|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  6.14M|                          "object is in generation which is garbage collected",
  224|  6.14M|                          filename, lineno, __func__);
  225|       |
  226|  6.14M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  6.14M|    PyGC_Head *generation0 = gcstate->generation0;
  228|  6.14M|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  6.14M|    _PyGCHead_SET_NEXT(last, gc);
  230|  6.14M|    _PyGCHead_SET_PREV(gc, last);
  231|  6.14M|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  6.14M|    generation0->_gc_prev = (uintptr_t)gc;
  233|  6.14M|    gcstate->heap_size++;
  234|  6.14M|#endif
  235|  6.14M|}
memoryobject.c:_PyObject_GC_UNTRACK:
  253|  20.5k|{
  254|  20.5k|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|  20.5k|    ((void)0)
  ------------------
  255|  20.5k|                          "object not tracked by the garbage collector",
  256|  20.5k|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|  20.5k|    PyGC_Head *gc = _Py_AS_GC(op);
  262|  20.5k|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|  20.5k|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|  20.5k|    _PyGCHead_SET_NEXT(prev, next);
  265|  20.5k|    _PyGCHead_SET_PREV(next, prev);
  266|  20.5k|    gc->_gc_next = 0;
  267|  20.5k|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|  20.5k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|  20.5k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|  20.5k|    gcstate->heap_size--;
  270|  20.5k|#endif
  271|  20.5k|}
memoryobject.c:_Py_AS_GC:
   17|  41.1k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  41.1k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  41.1k|    return (PyGC_Head*)gc;
   20|  41.1k|}
memoryobject.c:_PyGCHead_PREV:
  155|  20.5k|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|  20.5k|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|  20.5k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  20.5k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|  20.5k|    return (PyGC_Head*)prev;
  158|  20.5k|}
memoryobject.c:_PyGCHead_NEXT:
  146|  20.5k|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|  20.5k|    uintptr_t next = gc->_gc_next;
  148|  20.5k|    return (PyGC_Head*)next;
  149|  20.5k|}
memoryobject.c:_PyGCHead_SET_NEXT:
  150|  61.7k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  61.7k|    gc->_gc_next = (uintptr_t)next;
  152|  61.7k|}
memoryobject.c:_PyGCHead_SET_PREV:
  160|  41.1k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  41.1k|    uintptr_t uprev = (uintptr_t)prev;
  162|  41.1k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|  41.1k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  41.1k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  41.1k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  41.1k|}
memoryobject.c:_PyObject_GC_TRACK:
  213|  20.5k|{
  214|  20.5k|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|  20.5k|    ((void)0)
  ------------------
  215|  20.5k|                          "object already tracked by the garbage collector",
  216|  20.5k|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  20.5k|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  20.5k|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  410|  20.5k|    ((void)0)
  ------------------
  222|  20.5k|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  20.5k|                          "object is in generation which is garbage collected",
  224|  20.5k|                          filename, lineno, __func__);
  225|       |
  226|  20.5k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  20.5k|    PyGC_Head *generation0 = gcstate->generation0;
  228|  20.5k|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  20.5k|    _PyGCHead_SET_NEXT(last, gc);
  230|  20.5k|    _PyGCHead_SET_PREV(gc, last);
  231|  20.5k|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  20.5k|    generation0->_gc_prev = (uintptr_t)gc;
  233|  20.5k|    gcstate->heap_size++;
  234|  20.5k|#endif
  235|  20.5k|}
object.c:_PyGC_FINALIZED:
  166|  2.21M|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|  2.21M|    PyGC_Head *gc = _Py_AS_GC(op);
  171|  2.21M|    return ((gc->_gc_prev & _PyGC_PREV_MASK_FINALIZED) != 0);
  ------------------
  |  |  117|  2.21M|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  172|  2.21M|#endif
  173|  2.21M|}
object.c:_PyGC_SET_FINALIZED:
  174|  2.20M|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|  2.20M|    PyGC_Head *gc = _Py_AS_GC(op);
  179|  2.20M|    gc->_gc_prev |= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|  2.20M|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  180|  2.20M|#endif
  181|  2.20M|}
object.c:_PyObject_GC_IS_TRACKED:
   73|    828|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|    828|    PyGC_Head *gc = _Py_AS_GC(op);
   78|    828|    return (gc->_gc_next != 0);
   79|    828|#endif
   80|    828|}
object.c:_PyObject_GC_UNTRACK:
  253|    826|{
  254|    826|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|    826|    ((void)0)
  ------------------
  255|    826|                          "object not tracked by the garbage collector",
  256|    826|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|    826|    PyGC_Head *gc = _Py_AS_GC(op);
  262|    826|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|    826|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|    826|    _PyGCHead_SET_NEXT(prev, next);
  265|    826|    _PyGCHead_SET_PREV(next, prev);
  266|    826|    gc->_gc_next = 0;
  267|    826|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|    826|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|    826|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|    826|    gcstate->heap_size--;
  270|    826|#endif
  271|    826|}
object.c:_PyGCHead_PREV:
  155|    826|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|    826|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|    826|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|    826|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|    826|    return (PyGC_Head*)prev;
  158|    826|}
object.c:_PyGCHead_NEXT:
  146|    826|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|    826|    uintptr_t next = gc->_gc_next;
  148|    826|    return (PyGC_Head*)next;
  149|    826|}
object.c:_PyGCHead_SET_NEXT:
  150|    826|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|    826|    gc->_gc_next = (uintptr_t)next;
  152|    826|}
object.c:_PyGCHead_SET_PREV:
  160|    826|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|    826|    uintptr_t uprev = (uintptr_t)prev;
  162|    826|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|    826|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|    826|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|    826|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|    826|}
object.c:_Py_AS_GC:
   17|  4.42M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  4.42M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  4.42M|    return (PyGC_Head*)gc;
   20|  4.42M|}
sentinelobject.c:_PyObject_GC_TRACK:
  213|      6|{
  214|      6|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|      6|    ((void)0)
  ------------------
  215|      6|                          "object already tracked by the garbage collector",
  216|      6|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|      6|    PyGC_Head *gc = _Py_AS_GC(op);
  221|      6|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  410|      6|    ((void)0)
  ------------------
  222|      6|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|      6|                          "object is in generation which is garbage collected",
  224|      6|                          filename, lineno, __func__);
  225|       |
  226|      6|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|      6|    PyGC_Head *generation0 = gcstate->generation0;
  228|      6|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|      6|    _PyGCHead_SET_NEXT(last, gc);
  230|      6|    _PyGCHead_SET_PREV(gc, last);
  231|      6|    _PyGCHead_SET_NEXT(gc, generation0);
  232|      6|    generation0->_gc_prev = (uintptr_t)gc;
  233|      6|    gcstate->heap_size++;
  234|      6|#endif
  235|      6|}
sentinelobject.c:_Py_AS_GC:
   17|      6|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|      6|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|      6|    return (PyGC_Head*)gc;
   20|      6|}
sentinelobject.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|}
sentinelobject.c:_PyGCHead_SET_PREV:
  160|      6|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|      6|    uintptr_t uprev = (uintptr_t)prev;
  162|      6|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|      6|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|      6|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|      6|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|      6|}
setobject.c:_PyObject_GC_UNTRACK:
  253|  58.4k|{
  254|  58.4k|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|  58.4k|    ((void)0)
  ------------------
  255|  58.4k|                          "object not tracked by the garbage collector",
  256|  58.4k|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|  58.4k|    PyGC_Head *gc = _Py_AS_GC(op);
  262|  58.4k|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|  58.4k|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|  58.4k|    _PyGCHead_SET_NEXT(prev, next);
  265|  58.4k|    _PyGCHead_SET_PREV(next, prev);
  266|  58.4k|    gc->_gc_next = 0;
  267|  58.4k|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|  58.4k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|  58.4k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|  58.4k|    gcstate->heap_size--;
  270|  58.4k|#endif
  271|  58.4k|}
setobject.c:_Py_AS_GC:
   17|  91.2k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  91.2k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  91.2k|    return (PyGC_Head*)gc;
   20|  91.2k|}
setobject.c:_PyGCHead_PREV:
  155|  58.4k|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|  58.4k|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|  58.4k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  58.4k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|  58.4k|    return (PyGC_Head*)prev;
  158|  58.4k|}
setobject.c:_PyGCHead_NEXT:
  146|  58.4k|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|  58.4k|    uintptr_t next = gc->_gc_next;
  148|  58.4k|    return (PyGC_Head*)next;
  149|  58.4k|}
setobject.c:_PyGCHead_SET_NEXT:
  150|  74.6k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  74.6k|    gc->_gc_next = (uintptr_t)next;
  152|  74.6k|}
setobject.c:_PyGCHead_SET_PREV:
  160|  66.5k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  66.5k|    uintptr_t uprev = (uintptr_t)prev;
  162|  66.5k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|  66.5k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  66.5k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  66.5k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  66.5k|}
setobject.c:_PyObject_GC_MAY_BE_TRACKED:
   85|  29.1k|static inline int _PyObject_GC_MAY_BE_TRACKED(PyObject *obj) {
   86|  29.1k|    if (!PyObject_IS_GC(obj)) {
  ------------------
  |  Branch (86:9): [True: 4.15k, False: 24.9k]
  ------------------
   87|  4.15k|        return 0;
   88|  4.15k|    }
   89|  24.9k|    if (PyTuple_CheckExact(obj)) {
  ------------------
  |  |   28|  24.9k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  24.9k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  24.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  24.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 24.6k, False: 335]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   90|  24.6k|        return _PyObject_GC_IS_TRACKED(obj);
  ------------------
  |  |   81|  24.6k|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|  24.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   91|  24.6k|    }
   92|    335|    return 1;
   93|  24.9k|}
setobject.c:_PyObject_GC_IS_TRACKED:
   73|  24.6k|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|  24.6k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  24.6k|    return (gc->_gc_next != 0);
   79|  24.6k|#endif
   80|  24.6k|}
setobject.c:_PyObject_GC_TRACK:
  213|  8.09k|{
  214|  8.09k|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|  8.09k|    ((void)0)
  ------------------
  215|  8.09k|                          "object already tracked by the garbage collector",
  216|  8.09k|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  8.09k|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  8.09k|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  410|  8.09k|    ((void)0)
  ------------------
  222|  8.09k|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  8.09k|                          "object is in generation which is garbage collected",
  224|  8.09k|                          filename, lineno, __func__);
  225|       |
  226|  8.09k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  8.09k|    PyGC_Head *generation0 = gcstate->generation0;
  228|  8.09k|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  8.09k|    _PyGCHead_SET_NEXT(last, gc);
  230|  8.09k|    _PyGCHead_SET_PREV(gc, last);
  231|  8.09k|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  8.09k|    generation0->_gc_prev = (uintptr_t)gc;
  233|  8.09k|    gcstate->heap_size++;
  234|  8.09k|#endif
  235|  8.09k|}
sliceobject.c:_PyObject_GC_TRACK:
  213|  7.53M|{
  214|  7.53M|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|  7.53M|    ((void)0)
  ------------------
  215|  7.53M|                          "object already tracked by the garbage collector",
  216|  7.53M|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  7.53M|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  7.53M|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  410|  7.53M|    ((void)0)
  ------------------
  222|  7.53M|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  7.53M|                          "object is in generation which is garbage collected",
  224|  7.53M|                          filename, lineno, __func__);
  225|       |
  226|  7.53M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  7.53M|    PyGC_Head *generation0 = gcstate->generation0;
  228|  7.53M|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  7.53M|    _PyGCHead_SET_NEXT(last, gc);
  230|  7.53M|    _PyGCHead_SET_PREV(gc, last);
  231|  7.53M|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  7.53M|    generation0->_gc_prev = (uintptr_t)gc;
  233|  7.53M|    gcstate->heap_size++;
  234|  7.53M|#endif
  235|  7.53M|}
sliceobject.c:_Py_AS_GC:
   17|  7.53M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  7.53M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  7.53M|    return (PyGC_Head*)gc;
   20|  7.53M|}
sliceobject.c:_PyGCHead_SET_NEXT:
  150|  15.0M|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  15.0M|    gc->_gc_next = (uintptr_t)next;
  152|  15.0M|}
sliceobject.c:_PyGCHead_SET_PREV:
  160|  7.53M|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  7.53M|    uintptr_t uprev = (uintptr_t)prev;
  162|  7.53M|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|  7.53M|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  7.53M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  7.53M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  7.53M|}
structseq.c:_PyObject_GC_TRACK:
  213|  11.8k|{
  214|  11.8k|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|  11.8k|    ((void)0)
  ------------------
  215|  11.8k|                          "object already tracked by the garbage collector",
  216|  11.8k|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  11.8k|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  11.8k|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  410|  11.8k|    ((void)0)
  ------------------
  222|  11.8k|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  11.8k|                          "object is in generation which is garbage collected",
  224|  11.8k|                          filename, lineno, __func__);
  225|       |
  226|  11.8k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  11.8k|    PyGC_Head *generation0 = gcstate->generation0;
  228|  11.8k|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  11.8k|    _PyGCHead_SET_NEXT(last, gc);
  230|  11.8k|    _PyGCHead_SET_PREV(gc, last);
  231|  11.8k|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  11.8k|    generation0->_gc_prev = (uintptr_t)gc;
  233|  11.8k|    gcstate->heap_size++;
  234|  11.8k|#endif
  235|  11.8k|}
structseq.c:_Py_AS_GC:
   17|  11.8k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  11.8k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  11.8k|    return (PyGC_Head*)gc;
   20|  11.8k|}
structseq.c:_PyGCHead_SET_NEXT:
  150|  23.6k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  23.6k|    gc->_gc_next = (uintptr_t)next;
  152|  23.6k|}
structseq.c:_PyGCHead_SET_PREV:
  160|  11.8k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  11.8k|    uintptr_t uprev = (uintptr_t)prev;
  162|  11.8k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|  11.8k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  11.8k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  11.8k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  11.8k|}
tupleobject.c:_PyObject_GC_TRACK:
  213|  8.59M|{
  214|  8.59M|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|  8.59M|    ((void)0)
  ------------------
  215|  8.59M|                          "object already tracked by the garbage collector",
  216|  8.59M|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  8.59M|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  8.59M|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  410|  8.59M|    ((void)0)
  ------------------
  222|  8.59M|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  8.59M|                          "object is in generation which is garbage collected",
  224|  8.59M|                          filename, lineno, __func__);
  225|       |
  226|  8.59M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  8.59M|    PyGC_Head *generation0 = gcstate->generation0;
  228|  8.59M|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  8.59M|    _PyGCHead_SET_NEXT(last, gc);
  230|  8.59M|    _PyGCHead_SET_PREV(gc, last);
  231|  8.59M|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  8.59M|    generation0->_gc_prev = (uintptr_t)gc;
  233|  8.59M|    gcstate->heap_size++;
  234|  8.59M|#endif
  235|  8.59M|}
tupleobject.c:_Py_AS_GC:
   17|  8.97M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  8.97M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  8.97M|    return (PyGC_Head*)gc;
   20|  8.97M|}
tupleobject.c:_PyGCHead_SET_NEXT:
  150|  17.3M|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  17.3M|    gc->_gc_next = (uintptr_t)next;
  152|  17.3M|}
tupleobject.c:_PyGCHead_SET_PREV:
  160|  8.74M|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  8.74M|    uintptr_t uprev = (uintptr_t)prev;
  162|  8.74M|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|  8.74M|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  8.74M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  8.74M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  8.74M|}
tupleobject.c:_PyObject_GC_IS_TRACKED:
   73|   231k|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|   231k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|   231k|    return (gc->_gc_next != 0);
   79|   231k|#endif
   80|   231k|}
tupleobject.c:_PyObject_GC_MAY_BE_TRACKED:
   85|  2.13M|static inline int _PyObject_GC_MAY_BE_TRACKED(PyObject *obj) {
   86|  2.13M|    if (!PyObject_IS_GC(obj)) {
  ------------------
  |  Branch (86:9): [True: 2.02M, False: 102k]
  ------------------
   87|  2.02M|        return 0;
   88|  2.02M|    }
   89|   102k|    if (PyTuple_CheckExact(obj)) {
  ------------------
  |  |   28|   102k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|   102k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   102k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   102k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 43.4k, False: 59.1k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   90|  43.4k|        return _PyObject_GC_IS_TRACKED(obj);
  ------------------
  |  |   81|  43.4k|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|  43.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   91|  43.4k|    }
   92|  59.1k|    return 1;
   93|   102k|}
tupleobject.c:_PyObject_GC_UNTRACK:
  253|   142k|{
  254|   142k|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|   142k|    ((void)0)
  ------------------
  255|   142k|                          "object not tracked by the garbage collector",
  256|   142k|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|   142k|    PyGC_Head *gc = _Py_AS_GC(op);
  262|   142k|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|   142k|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|   142k|    _PyGCHead_SET_NEXT(prev, next);
  265|   142k|    _PyGCHead_SET_PREV(next, prev);
  266|   142k|    gc->_gc_next = 0;
  267|   142k|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|   142k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|   142k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|   142k|    gcstate->heap_size--;
  270|   142k|#endif
  271|   142k|}
tupleobject.c:_PyGCHead_PREV:
  155|   142k|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|   142k|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|   142k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|   142k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|   142k|    return (PyGC_Head*)prev;
  158|   142k|}
tupleobject.c:_PyGCHead_NEXT:
  146|   142k|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|   142k|    uintptr_t next = gc->_gc_next;
  148|   142k|    return (PyGC_Head*)next;
  149|   142k|}
typeobject.c:_PyObject_GC_TRACK:
  213|  3.18M|{
  214|  3.18M|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|  3.18M|    ((void)0)
  ------------------
  215|  3.18M|                          "object already tracked by the garbage collector",
  216|  3.18M|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  3.18M|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  3.18M|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  410|  3.18M|    ((void)0)
  ------------------
  222|  3.18M|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  3.18M|                          "object is in generation which is garbage collected",
  224|  3.18M|                          filename, lineno, __func__);
  225|       |
  226|  3.18M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  3.18M|    PyGC_Head *generation0 = gcstate->generation0;
  228|  3.18M|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  3.18M|    _PyGCHead_SET_NEXT(last, gc);
  230|  3.18M|    _PyGCHead_SET_PREV(gc, last);
  231|  3.18M|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  3.18M|    generation0->_gc_prev = (uintptr_t)gc;
  233|  3.18M|    gcstate->heap_size++;
  234|  3.18M|#endif
  235|  3.18M|}
typeobject.c:_Py_AS_GC:
   17|  3.20M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  3.20M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  3.20M|    return (PyGC_Head*)gc;
   20|  3.20M|}
typeobject.c:_PyGCHead_SET_NEXT:
  150|  6.39M|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  6.39M|    gc->_gc_next = (uintptr_t)next;
  152|  6.39M|}
typeobject.c:_PyGCHead_SET_PREV:
  160|  3.20M|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  3.20M|    uintptr_t uprev = (uintptr_t)prev;
  162|  3.20M|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|  3.20M|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  3.20M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  3.20M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  3.20M|}
typeobject.c:_PyObject_GC_UNTRACK:
  253|  16.4k|{
  254|  16.4k|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|  16.4k|    ((void)0)
  ------------------
  255|  16.4k|                          "object not tracked by the garbage collector",
  256|  16.4k|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|  16.4k|    PyGC_Head *gc = _Py_AS_GC(op);
  262|  16.4k|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|  16.4k|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|  16.4k|    _PyGCHead_SET_NEXT(prev, next);
  265|  16.4k|    _PyGCHead_SET_PREV(next, prev);
  266|  16.4k|    gc->_gc_next = 0;
  267|  16.4k|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|  16.4k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|  16.4k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|  16.4k|    gcstate->heap_size--;
  270|  16.4k|#endif
  271|  16.4k|}
typeobject.c:_PyGCHead_PREV:
  155|  16.4k|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|  16.4k|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|  16.4k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  16.4k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|  16.4k|    return (PyGC_Head*)prev;
  158|  16.4k|}
typeobject.c:_PyGCHead_NEXT:
  146|  16.4k|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|  16.4k|    uintptr_t next = gc->_gc_next;
  148|  16.4k|    return (PyGC_Head*)next;
  149|  16.4k|}
typevarobject.c:_PyObject_GC_TRACK:
  213|     82|{
  214|     82|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|     82|    ((void)0)
  ------------------
  215|     82|                          "object already tracked by the garbage collector",
  216|     82|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|     82|    PyGC_Head *gc = _Py_AS_GC(op);
  221|     82|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  410|     82|    ((void)0)
  ------------------
  222|     82|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|     82|                          "object is in generation which is garbage collected",
  224|     82|                          filename, lineno, __func__);
  225|       |
  226|     82|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|     82|    PyGC_Head *generation0 = gcstate->generation0;
  228|     82|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|     82|    _PyGCHead_SET_NEXT(last, gc);
  230|     82|    _PyGCHead_SET_PREV(gc, last);
  231|     82|    _PyGCHead_SET_NEXT(gc, generation0);
  232|     82|    generation0->_gc_prev = (uintptr_t)gc;
  233|     82|    gcstate->heap_size++;
  234|     82|#endif
  235|     82|}
typevarobject.c:_Py_AS_GC:
   17|   116k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|   116k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|   116k|    return (PyGC_Head*)gc;
   20|   116k|}
typevarobject.c:_PyGCHead_SET_NEXT:
  150|   116k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|   116k|    gc->_gc_next = (uintptr_t)next;
  152|   116k|}
typevarobject.c:_PyGCHead_SET_PREV:
  160|   116k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|   116k|    uintptr_t uprev = (uintptr_t)prev;
  162|   116k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|   116k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|   116k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|   116k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|   116k|}
typevarobject.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|}
typevarobject.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|}
typevarobject.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|}
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.43k|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.43k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  1.43k|    return (gc->_gc_next != 0);
   79|  1.43k|#endif
   80|  1.43k|}
bltinmodule.c:_Py_AS_GC:
   17|  1.43k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  1.43k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  1.43k|    return (PyGC_Head*)gc;
   20|  1.43k|}
context.c:_PyObject_GC_MAY_BE_TRACKED:
   85|      8|static inline int _PyObject_GC_MAY_BE_TRACKED(PyObject *obj) {
   86|      8|    if (!PyObject_IS_GC(obj)) {
  ------------------
  |  Branch (86:9): [True: 8, False: 0]
  ------------------
   87|      8|        return 0;
   88|      8|    }
   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|   728k|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|   728k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|   728k|    return (gc->_gc_next != 0);
   79|   728k|#endif
   80|   728k|}
frame.c:_Py_AS_GC:
   17|  1.45M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  1.45M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  1.45M|    return (PyGC_Head*)gc;
   20|  1.45M|}
frame.c:_PyObject_GC_TRACK:
  213|   728k|{
  214|   728k|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|   728k|    ((void)0)
  ------------------
  215|   728k|                          "object already tracked by the garbage collector",
  216|   728k|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|   728k|    PyGC_Head *gc = _Py_AS_GC(op);
  221|   728k|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  410|   728k|    ((void)0)
  ------------------
  222|   728k|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|   728k|                          "object is in generation which is garbage collected",
  224|   728k|                          filename, lineno, __func__);
  225|       |
  226|   728k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|   728k|    PyGC_Head *generation0 = gcstate->generation0;
  228|   728k|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|   728k|    _PyGCHead_SET_NEXT(last, gc);
  230|   728k|    _PyGCHead_SET_PREV(gc, last);
  231|   728k|    _PyGCHead_SET_NEXT(gc, generation0);
  232|   728k|    generation0->_gc_prev = (uintptr_t)gc;
  233|   728k|    gcstate->heap_size++;
  234|   728k|#endif
  235|   728k|}
frame.c:_PyGCHead_SET_NEXT:
  150|  1.45M|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  1.45M|    gc->_gc_next = (uintptr_t)next;
  152|  1.45M|}
frame.c:_PyGCHead_SET_PREV:
  160|   728k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|   728k|    uintptr_t uprev = (uintptr_t)prev;
  162|   728k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|   728k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|   728k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|   728k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|   728k|}
gc.c:_PyGCHead_NEXT:
  146|  81.7M|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|  81.7M|    uintptr_t next = gc->_gc_next;
  148|  81.7M|    return (PyGC_Head*)next;
  149|  81.7M|}
gc.c:_PyGCHead_PREV:
  155|  53.6M|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|  53.6M|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|  53.6M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  53.6M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|  53.6M|    return (PyGC_Head*)prev;
  158|  53.6M|}
gc.c:_PyGCHead_SET_NEXT:
  150|  60.8M|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  60.8M|    gc->_gc_next = (uintptr_t)next;
  152|  60.8M|}
gc.c:_PyGCHead_SET_PREV:
  160|  61.3M|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  61.3M|    uintptr_t uprev = (uintptr_t)prev;
  162|  61.3M|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|  61.3M|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  61.3M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  61.3M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  61.3M|}
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|  30.5M|static inline PyObject* _Py_FROM_GC(PyGC_Head *gc) {
   24|  30.5M|    char *op = ((char *)gc) + sizeof(PyGC_Head);
   25|  30.5M|    return (PyObject *)op;
   26|  30.5M|}
gc.c:_PyObject_GC_IS_TRACKED:
   73|  89.7M|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|  89.7M|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  89.7M|    return (gc->_gc_next != 0);
   79|  89.7M|#endif
   80|  89.7M|}
gc.c:_PyObject_GC_TRACK:
  213|  2.15M|{
  214|  2.15M|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|  2.15M|    ((void)0)
  ------------------
  215|  2.15M|                          "object already tracked by the garbage collector",
  216|  2.15M|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  2.15M|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  2.15M|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  410|  2.15M|    ((void)0)
  ------------------
  222|  2.15M|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  2.15M|                          "object is in generation which is garbage collected",
  224|  2.15M|                          filename, lineno, __func__);
  225|       |
  226|  2.15M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  2.15M|    PyGC_Head *generation0 = gcstate->generation0;
  228|  2.15M|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  2.15M|    _PyGCHead_SET_NEXT(last, gc);
  230|  2.15M|    _PyGCHead_SET_PREV(gc, last);
  231|  2.15M|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  2.15M|    generation0->_gc_prev = (uintptr_t)gc;
  233|  2.15M|    gcstate->heap_size++;
  234|  2.15M|#endif
  235|  2.15M|}
gc.c:_PyObject_GC_UNTRACK:
  253|  41.8M|{
  254|  41.8M|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|  41.8M|    ((void)0)
  ------------------
  255|  41.8M|                          "object not tracked by the garbage collector",
  256|  41.8M|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|  41.8M|    PyGC_Head *gc = _Py_AS_GC(op);
  262|  41.8M|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|  41.8M|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|  41.8M|    _PyGCHead_SET_NEXT(prev, next);
  265|  41.8M|    _PyGCHead_SET_PREV(next, prev);
  266|  41.8M|    gc->_gc_next = 0;
  267|  41.8M|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|  41.8M|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|  41.8M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|  41.8M|    gcstate->heap_size--;
  270|  41.8M|#endif
  271|  41.8M|}
gc.c:_Py_AS_GC:
   17|   193M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|   193M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|   193M|    return (PyGC_Head*)gc;
   20|   193M|}
gc.c:_PyGC_FINALIZED:
  166|  3.30M|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.30M|    PyGC_Head *gc = _Py_AS_GC(op);
  171|  3.30M|    return ((gc->_gc_prev & _PyGC_PREV_MASK_FINALIZED) != 0);
  ------------------
  |  |  117|  3.30M|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  172|  3.30M|#endif
  173|  3.30M|}
iobase.c:_PyObject_GC_UNTRACK:
  253|  10.3k|{
  254|  10.3k|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|  10.3k|    ((void)0)
  ------------------
  255|  10.3k|                          "object not tracked by the garbage collector",
  256|  10.3k|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|  10.3k|    PyGC_Head *gc = _Py_AS_GC(op);
  262|  10.3k|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|  10.3k|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|  10.3k|    _PyGCHead_SET_NEXT(prev, next);
  265|  10.3k|    _PyGCHead_SET_PREV(next, prev);
  266|  10.3k|    gc->_gc_next = 0;
  267|  10.3k|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|  10.3k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|  10.3k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|  10.3k|    gcstate->heap_size--;
  270|  10.3k|#endif
  271|  10.3k|}
iobase.c:_Py_AS_GC:
   17|  10.3k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  10.3k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  10.3k|    return (PyGC_Head*)gc;
   20|  10.3k|}
iobase.c:_PyGCHead_PREV:
  155|  10.3k|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|  10.3k|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|  10.3k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  10.3k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|  10.3k|    return (PyGC_Head*)prev;
  158|  10.3k|}
iobase.c:_PyGCHead_NEXT:
  146|  10.3k|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|  10.3k|    uintptr_t next = gc->_gc_next;
  148|  10.3k|    return (PyGC_Head*)next;
  149|  10.3k|}
iobase.c:_PyGCHead_SET_NEXT:
  150|  10.3k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  10.3k|    gc->_gc_next = (uintptr_t)next;
  152|  10.3k|}
iobase.c:_PyGCHead_SET_PREV:
  160|  10.3k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  10.3k|    uintptr_t uprev = (uintptr_t)prev;
  162|  10.3k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|  10.3k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  10.3k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  10.3k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  10.3k|}
fileio.c:_PyObject_GC_UNTRACK:
  253|  4.04k|{
  254|  4.04k|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|  4.04k|    ((void)0)
  ------------------
  255|  4.04k|                          "object not tracked by the garbage collector",
  256|  4.04k|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|  4.04k|    PyGC_Head *gc = _Py_AS_GC(op);
  262|  4.04k|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|  4.04k|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|  4.04k|    _PyGCHead_SET_NEXT(prev, next);
  265|  4.04k|    _PyGCHead_SET_PREV(next, prev);
  266|  4.04k|    gc->_gc_next = 0;
  267|  4.04k|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|  4.04k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|  4.04k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|  4.04k|    gcstate->heap_size--;
  270|  4.04k|#endif
  271|  4.04k|}
fileio.c:_Py_AS_GC:
   17|  4.04k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  4.04k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  4.04k|    return (PyGC_Head*)gc;
   20|  4.04k|}
fileio.c:_PyGCHead_PREV:
  155|  4.04k|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|  4.04k|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|  4.04k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  4.04k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|  4.04k|    return (PyGC_Head*)prev;
  158|  4.04k|}
fileio.c:_PyGCHead_NEXT:
  146|  4.04k|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|  4.04k|    uintptr_t next = gc->_gc_next;
  148|  4.04k|    return (PyGC_Head*)next;
  149|  4.04k|}
fileio.c:_PyGCHead_SET_NEXT:
  150|  4.04k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  4.04k|    gc->_gc_next = (uintptr_t)next;
  152|  4.04k|}
fileio.c:_PyGCHead_SET_PREV:
  160|  4.04k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  4.04k|    uintptr_t uprev = (uintptr_t)prev;
  162|  4.04k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|  4.04k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  4.04k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  4.04k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  4.04k|}
bytesio.c:_PyObject_GC_UNTRACK:
  253|  3.55k|{
  254|  3.55k|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|  3.55k|    ((void)0)
  ------------------
  255|  3.55k|                          "object not tracked by the garbage collector",
  256|  3.55k|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|  3.55k|    PyGC_Head *gc = _Py_AS_GC(op);
  262|  3.55k|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|  3.55k|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|  3.55k|    _PyGCHead_SET_NEXT(prev, next);
  265|  3.55k|    _PyGCHead_SET_PREV(next, prev);
  266|  3.55k|    gc->_gc_next = 0;
  267|  3.55k|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|  3.55k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|  3.55k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|  3.55k|    gcstate->heap_size--;
  270|  3.55k|#endif
  271|  3.55k|}
bytesio.c:_Py_AS_GC:
   17|  3.55k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  3.55k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  3.55k|    return (PyGC_Head*)gc;
   20|  3.55k|}
bytesio.c:_PyGCHead_PREV:
  155|  3.55k|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|  3.55k|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|  3.55k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  3.55k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|  3.55k|    return (PyGC_Head*)prev;
  158|  3.55k|}
bytesio.c:_PyGCHead_NEXT:
  146|  3.55k|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|  3.55k|    uintptr_t next = gc->_gc_next;
  148|  3.55k|    return (PyGC_Head*)next;
  149|  3.55k|}
bytesio.c:_PyGCHead_SET_NEXT:
  150|  3.55k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  3.55k|    gc->_gc_next = (uintptr_t)next;
  152|  3.55k|}
bytesio.c:_PyGCHead_SET_PREV:
  160|  3.55k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  3.55k|    uintptr_t uprev = (uintptr_t)prev;
  162|  3.55k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|  3.55k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  3.55k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  3.55k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  3.55k|}
bufferedio.c:_PyObject_GC_UNTRACK:
  253|  4.04k|{
  254|  4.04k|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|  4.04k|    ((void)0)
  ------------------
  255|  4.04k|                          "object not tracked by the garbage collector",
  256|  4.04k|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|  4.04k|    PyGC_Head *gc = _Py_AS_GC(op);
  262|  4.04k|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|  4.04k|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|  4.04k|    _PyGCHead_SET_NEXT(prev, next);
  265|  4.04k|    _PyGCHead_SET_PREV(next, prev);
  266|  4.04k|    gc->_gc_next = 0;
  267|  4.04k|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|  4.04k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|  4.04k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|  4.04k|    gcstate->heap_size--;
  270|  4.04k|#endif
  271|  4.04k|}
bufferedio.c:_Py_AS_GC:
   17|  4.04k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  4.04k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  4.04k|    return (PyGC_Head*)gc;
   20|  4.04k|}
bufferedio.c:_PyGCHead_PREV:
  155|  4.04k|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|  4.04k|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|  4.04k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  4.04k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|  4.04k|    return (PyGC_Head*)prev;
  158|  4.04k|}
bufferedio.c:_PyGCHead_NEXT:
  146|  4.04k|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|  4.04k|    uintptr_t next = gc->_gc_next;
  148|  4.04k|    return (PyGC_Head*)next;
  149|  4.04k|}
bufferedio.c:_PyGCHead_SET_NEXT:
  150|  4.04k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  4.04k|    gc->_gc_next = (uintptr_t)next;
  152|  4.04k|}
bufferedio.c:_PyGCHead_SET_PREV:
  160|  4.04k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  4.04k|    uintptr_t uprev = (uintptr_t)prev;
  162|  4.04k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|  4.04k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  4.04k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  4.04k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  4.04k|}
textio.c:_PyObject_GC_UNTRACK:
  253|     19|{
  254|     19|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|     19|    ((void)0)
  ------------------
  255|     19|                          "object not tracked by the garbage collector",
  256|     19|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|     19|    PyGC_Head *gc = _Py_AS_GC(op);
  262|     19|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|     19|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|     19|    _PyGCHead_SET_NEXT(prev, next);
  265|     19|    _PyGCHead_SET_PREV(next, prev);
  266|     19|    gc->_gc_next = 0;
  267|     19|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|     19|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|     19|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|     19|    gcstate->heap_size--;
  270|     19|#endif
  271|     19|}
textio.c:_Py_AS_GC:
   17|     19|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|     19|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|     19|    return (PyGC_Head*)gc;
   20|     19|}
textio.c:_PyGCHead_PREV:
  155|     19|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|     19|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|     19|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|     19|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|     19|    return (PyGC_Head*)prev;
  158|     19|}
textio.c:_PyGCHead_NEXT:
  146|     19|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|     19|    uintptr_t next = gc->_gc_next;
  148|     19|    return (PyGC_Head*)next;
  149|     19|}
textio.c:_PyGCHead_SET_NEXT:
  150|     19|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|     19|    gc->_gc_next = (uintptr_t)next;
  152|     19|}
textio.c:_PyGCHead_SET_PREV:
  160|     19|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|     19|    uintptr_t uprev = (uintptr_t)prev;
  162|     19|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|     19|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|     19|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|     19|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|     19|}
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|  6.13M|{
  214|  6.13M|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|  6.13M|    ((void)0)
  ------------------
  215|  6.13M|                          "object already tracked by the garbage collector",
  216|  6.13M|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  6.13M|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  6.13M|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  410|  6.13M|    ((void)0)
  ------------------
  222|  6.13M|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  6.13M|                          "object is in generation which is garbage collected",
  224|  6.13M|                          filename, lineno, __func__);
  225|       |
  226|  6.13M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  6.13M|    PyGC_Head *generation0 = gcstate->generation0;
  228|  6.13M|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  6.13M|    _PyGCHead_SET_NEXT(last, gc);
  230|  6.13M|    _PyGCHead_SET_PREV(gc, last);
  231|  6.13M|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  6.13M|    generation0->_gc_prev = (uintptr_t)gc;
  233|  6.13M|    gcstate->heap_size++;
  234|  6.13M|#endif
  235|  6.13M|}
cellobject.c:_Py_AS_GC:
   17|  12.2M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  12.2M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  12.2M|    return (PyGC_Head*)gc;
   20|  12.2M|}
cellobject.c:_PyGCHead_SET_NEXT:
  150|  18.4M|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  18.4M|    gc->_gc_next = (uintptr_t)next;
  152|  18.4M|}
cellobject.c:_PyGCHead_SET_PREV:
  160|  12.2M|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  12.2M|    uintptr_t uprev = (uintptr_t)prev;
  162|  12.2M|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|  12.2M|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  12.2M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  12.2M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  12.2M|}
cellobject.c:_PyObject_GC_UNTRACK:
  253|  6.13M|{
  254|  6.13M|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|  6.13M|    ((void)0)
  ------------------
  255|  6.13M|                          "object not tracked by the garbage collector",
  256|  6.13M|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|  6.13M|    PyGC_Head *gc = _Py_AS_GC(op);
  262|  6.13M|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|  6.13M|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|  6.13M|    _PyGCHead_SET_NEXT(prev, next);
  265|  6.13M|    _PyGCHead_SET_PREV(next, prev);
  266|  6.13M|    gc->_gc_next = 0;
  267|  6.13M|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|  6.13M|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|  6.13M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|  6.13M|    gcstate->heap_size--;
  270|  6.13M|#endif
  271|  6.13M|}
cellobject.c:_PyGCHead_PREV:
  155|  6.13M|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|  6.13M|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|  6.13M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  6.13M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|  6.13M|    return (PyGC_Head*)prev;
  158|  6.13M|}
cellobject.c:_PyGCHead_NEXT:
  146|  6.13M|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|  6.13M|    uintptr_t next = gc->_gc_next;
  148|  6.13M|    return (PyGC_Head*)next;
  149|  6.13M|}
classobject.c:_PyObject_GC_TRACK:
  213|  2.47M|{
  214|  2.47M|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|  2.47M|    ((void)0)
  ------------------
  215|  2.47M|                          "object already tracked by the garbage collector",
  216|  2.47M|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  2.47M|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  2.47M|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  410|  2.47M|    ((void)0)
  ------------------
  222|  2.47M|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  2.47M|                          "object is in generation which is garbage collected",
  224|  2.47M|                          filename, lineno, __func__);
  225|       |
  226|  2.47M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  2.47M|    PyGC_Head *generation0 = gcstate->generation0;
  228|  2.47M|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  2.47M|    _PyGCHead_SET_NEXT(last, gc);
  230|  2.47M|    _PyGCHead_SET_PREV(gc, last);
  231|  2.47M|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  2.47M|    generation0->_gc_prev = (uintptr_t)gc;
  233|  2.47M|    gcstate->heap_size++;
  234|  2.47M|#endif
  235|  2.47M|}
classobject.c:_Py_AS_GC:
   17|  4.94M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  4.94M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  4.94M|    return (PyGC_Head*)gc;
   20|  4.94M|}
classobject.c:_PyGCHead_SET_NEXT:
  150|  7.42M|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  7.42M|    gc->_gc_next = (uintptr_t)next;
  152|  7.42M|}
classobject.c:_PyGCHead_SET_PREV:
  160|  4.94M|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  4.94M|    uintptr_t uprev = (uintptr_t)prev;
  162|  4.94M|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|  4.94M|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  4.94M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  4.94M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  4.94M|}
classobject.c:_PyObject_GC_UNTRACK:
  253|  2.47M|{
  254|  2.47M|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|  2.47M|    ((void)0)
  ------------------
  255|  2.47M|                          "object not tracked by the garbage collector",
  256|  2.47M|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|  2.47M|    PyGC_Head *gc = _Py_AS_GC(op);
  262|  2.47M|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|  2.47M|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|  2.47M|    _PyGCHead_SET_NEXT(prev, next);
  265|  2.47M|    _PyGCHead_SET_PREV(next, prev);
  266|  2.47M|    gc->_gc_next = 0;
  267|  2.47M|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|  2.47M|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|  2.47M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|  2.47M|    gcstate->heap_size--;
  270|  2.47M|#endif
  271|  2.47M|}
classobject.c:_PyGCHead_PREV:
  155|  2.47M|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|  2.47M|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|  2.47M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  2.47M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|  2.47M|    return (PyGC_Head*)prev;
  158|  2.47M|}
classobject.c:_PyGCHead_NEXT:
  146|  2.47M|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|  2.47M|    uintptr_t next = gc->_gc_next;
  148|  2.47M|    return (PyGC_Head*)next;
  149|  2.47M|}
descrobject.c:_PyObject_GC_UNTRACK:
  253|  14.9k|{
  254|  14.9k|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|  14.9k|    ((void)0)
  ------------------
  255|  14.9k|                          "object not tracked by the garbage collector",
  256|  14.9k|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|  14.9k|    PyGC_Head *gc = _Py_AS_GC(op);
  262|  14.9k|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|  14.9k|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|  14.9k|    _PyGCHead_SET_NEXT(prev, next);
  265|  14.9k|    _PyGCHead_SET_PREV(next, prev);
  266|  14.9k|    gc->_gc_next = 0;
  267|  14.9k|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|  14.9k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|  14.9k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|  14.9k|    gcstate->heap_size--;
  270|  14.9k|#endif
  271|  14.9k|}
descrobject.c:_Py_AS_GC:
   17|  33.4k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  33.4k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  33.4k|    return (PyGC_Head*)gc;
   20|  33.4k|}
descrobject.c:_PyGCHead_PREV:
  155|  14.9k|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|  14.9k|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|  14.9k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  14.9k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|  14.9k|    return (PyGC_Head*)prev;
  158|  14.9k|}
descrobject.c:_PyGCHead_NEXT:
  146|  14.9k|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|  14.9k|    uintptr_t next = gc->_gc_next;
  148|  14.9k|    return (PyGC_Head*)next;
  149|  14.9k|}
descrobject.c:_PyGCHead_SET_NEXT:
  150|  51.9k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  51.9k|    gc->_gc_next = (uintptr_t)next;
  152|  51.9k|}
descrobject.c:_PyGCHead_SET_PREV:
  160|  33.4k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  33.4k|    uintptr_t uprev = (uintptr_t)prev;
  162|  33.4k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|  33.4k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  33.4k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  33.4k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  33.4k|}
descrobject.c:_PyObject_GC_TRACK:
  213|  18.5k|{
  214|  18.5k|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|  18.5k|    ((void)0)
  ------------------
  215|  18.5k|                          "object already tracked by the garbage collector",
  216|  18.5k|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  18.5k|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  18.5k|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  410|  18.5k|    ((void)0)
  ------------------
  222|  18.5k|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  18.5k|                          "object is in generation which is garbage collected",
  224|  18.5k|                          filename, lineno, __func__);
  225|       |
  226|  18.5k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  18.5k|    PyGC_Head *generation0 = gcstate->generation0;
  228|  18.5k|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  18.5k|    _PyGCHead_SET_NEXT(last, gc);
  230|  18.5k|    _PyGCHead_SET_PREV(gc, last);
  231|  18.5k|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  18.5k|    generation0->_gc_prev = (uintptr_t)gc;
  233|  18.5k|    gcstate->heap_size++;
  234|  18.5k|#endif
  235|  18.5k|}
enumobject.c:_PyObject_GC_IS_TRACKED:
   73|  4.64k|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.64k|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  4.64k|    return (gc->_gc_next != 0);
   79|  4.64k|#endif
   80|  4.64k|}
enumobject.c:_Py_AS_GC:
   17|  4.78k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  4.78k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  4.78k|    return (PyGC_Head*)gc;
   20|  4.78k|}
enumobject.c:_PyObject_GC_TRACK:
  213|    142|{
  214|    142|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|    142|    ((void)0)
  ------------------
  215|    142|                          "object already tracked by the garbage collector",
  216|    142|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|    142|    PyGC_Head *gc = _Py_AS_GC(op);
  221|    142|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  410|    142|    ((void)0)
  ------------------
  222|    142|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|    142|                          "object is in generation which is garbage collected",
  224|    142|                          filename, lineno, __func__);
  225|       |
  226|    142|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|    142|    PyGC_Head *generation0 = gcstate->generation0;
  228|    142|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|    142|    _PyGCHead_SET_NEXT(last, gc);
  230|    142|    _PyGCHead_SET_PREV(gc, last);
  231|    142|    _PyGCHead_SET_NEXT(gc, generation0);
  232|    142|    generation0->_gc_prev = (uintptr_t)gc;
  233|    142|    gcstate->heap_size++;
  234|    142|#endif
  235|    142|}
enumobject.c:_PyGCHead_SET_NEXT:
  150|    284|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|    284|    gc->_gc_next = (uintptr_t)next;
  152|    284|}
enumobject.c:_PyGCHead_SET_PREV:
  160|    142|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|    142|    uintptr_t uprev = (uintptr_t)prev;
  162|    142|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|    142|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|    142|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|    142|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|    142|}
genobject.c:_PyObject_GC_UNTRACK:
  253|  4.37M|{
  254|  4.37M|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|  4.37M|    ((void)0)
  ------------------
  255|  4.37M|                          "object not tracked by the garbage collector",
  256|  4.37M|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|  4.37M|    PyGC_Head *gc = _Py_AS_GC(op);
  262|  4.37M|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|  4.37M|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|  4.37M|    _PyGCHead_SET_NEXT(prev, next);
  265|  4.37M|    _PyGCHead_SET_PREV(next, prev);
  266|  4.37M|    gc->_gc_next = 0;
  267|  4.37M|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|  4.37M|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|  4.37M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|  4.37M|    gcstate->heap_size--;
  270|  4.37M|#endif
  271|  4.37M|}
genobject.c:_Py_AS_GC:
   17|  8.74M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  8.74M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  8.74M|    return (PyGC_Head*)gc;
   20|  8.74M|}
genobject.c:_PyGCHead_PREV:
  155|  4.37M|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|  4.37M|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|  4.37M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  4.37M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|  4.37M|    return (PyGC_Head*)prev;
  158|  4.37M|}
genobject.c:_PyGCHead_NEXT:
  146|  4.37M|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|  4.37M|    uintptr_t next = gc->_gc_next;
  148|  4.37M|    return (PyGC_Head*)next;
  149|  4.37M|}
genobject.c:_PyGCHead_SET_NEXT:
  150|  13.1M|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  13.1M|    gc->_gc_next = (uintptr_t)next;
  152|  13.1M|}
genobject.c:_PyGCHead_SET_PREV:
  160|  8.74M|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  8.74M|    uintptr_t uprev = (uintptr_t)prev;
  162|  8.74M|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|  8.74M|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  8.74M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  8.74M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  8.74M|}
genobject.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|}
frameobject.c:_PyObject_GC_IS_TRACKED:
   73|  1.73M|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.73M|    PyGC_Head *gc = _Py_AS_GC(op);
   78|  1.73M|    return (gc->_gc_next != 0);
   79|  1.73M|#endif
   80|  1.73M|}
frameobject.c:_Py_AS_GC:
   17|  2.46M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  2.46M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  2.46M|    return (PyGC_Head*)gc;
   20|  2.46M|}
frameobject.c:_PyObject_GC_UNTRACK:
  253|   728k|{
  254|   728k|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|   728k|    ((void)0)
  ------------------
  255|   728k|                          "object not tracked by the garbage collector",
  256|   728k|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|   728k|    PyGC_Head *gc = _Py_AS_GC(op);
  262|   728k|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|   728k|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|   728k|    _PyGCHead_SET_NEXT(prev, next);
  265|   728k|    _PyGCHead_SET_PREV(next, prev);
  266|   728k|    gc->_gc_next = 0;
  267|   728k|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|   728k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|   728k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|   728k|    gcstate->heap_size--;
  270|   728k|#endif
  271|   728k|}
frameobject.c:_PyGCHead_PREV:
  155|   728k|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|   728k|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|   728k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|   728k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|   728k|    return (PyGC_Head*)prev;
  158|   728k|}
frameobject.c:_PyGCHead_NEXT:
  146|   728k|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|   728k|    uintptr_t next = gc->_gc_next;
  148|   728k|    return (PyGC_Head*)next;
  149|   728k|}
frameobject.c:_PyGCHead_SET_NEXT:
  150|   728k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|   728k|    gc->_gc_next = (uintptr_t)next;
  152|   728k|}
frameobject.c:_PyGCHead_SET_PREV:
  160|   728k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|   728k|    uintptr_t uprev = (uintptr_t)prev;
  162|   728k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|   728k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|   728k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|   728k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|   728k|}
funcobject.c:_PyObject_GC_TRACK:
  213|  3.74M|{
  214|  3.74M|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|  3.74M|    ((void)0)
  ------------------
  215|  3.74M|                          "object already tracked by the garbage collector",
  216|  3.74M|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  3.74M|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  3.74M|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  410|  3.74M|    ((void)0)
  ------------------
  222|  3.74M|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  3.74M|                          "object is in generation which is garbage collected",
  224|  3.74M|                          filename, lineno, __func__);
  225|       |
  226|  3.74M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  3.74M|    PyGC_Head *generation0 = gcstate->generation0;
  228|  3.74M|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  3.74M|    _PyGCHead_SET_NEXT(last, gc);
  230|  3.74M|    _PyGCHead_SET_PREV(gc, last);
  231|  3.74M|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  3.74M|    generation0->_gc_prev = (uintptr_t)gc;
  233|  3.74M|    gcstate->heap_size++;
  234|  3.74M|#endif
  235|  3.74M|}
funcobject.c:_Py_AS_GC:
   17|  7.47M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  7.47M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  7.47M|    return (PyGC_Head*)gc;
   20|  7.47M|}
funcobject.c:_PyGCHead_SET_NEXT:
  150|  11.2M|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  11.2M|    gc->_gc_next = (uintptr_t)next;
  152|  11.2M|}
funcobject.c:_PyGCHead_SET_PREV:
  160|  7.47M|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  7.47M|    uintptr_t uprev = (uintptr_t)prev;
  162|  7.47M|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|  7.47M|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  7.47M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  7.47M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  7.47M|}
funcobject.c:_PyObject_GC_UNTRACK:
  253|  3.73M|{
  254|  3.73M|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|  3.73M|    ((void)0)
  ------------------
  255|  3.73M|                          "object not tracked by the garbage collector",
  256|  3.73M|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|  3.73M|    PyGC_Head *gc = _Py_AS_GC(op);
  262|  3.73M|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|  3.73M|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|  3.73M|    _PyGCHead_SET_NEXT(prev, next);
  265|  3.73M|    _PyGCHead_SET_PREV(next, prev);
  266|  3.73M|    gc->_gc_next = 0;
  267|  3.73M|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|  3.73M|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|  3.73M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|  3.73M|    gcstate->heap_size--;
  270|  3.73M|#endif
  271|  3.73M|}
funcobject.c:_PyGCHead_PREV:
  155|  3.73M|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|  3.73M|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|  3.73M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  3.73M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|  3.73M|    return (PyGC_Head*)prev;
  158|  3.73M|}
funcobject.c:_PyGCHead_NEXT:
  146|  3.73M|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|  3.73M|    uintptr_t next = gc->_gc_next;
  148|  3.73M|    return (PyGC_Head*)next;
  149|  3.73M|}
iterobject.c:_PyObject_GC_TRACK:
  213|    704|{
  214|    704|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|    704|    ((void)0)
  ------------------
  215|    704|                          "object already tracked by the garbage collector",
  216|    704|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|    704|    PyGC_Head *gc = _Py_AS_GC(op);
  221|    704|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  410|    704|    ((void)0)
  ------------------
  222|    704|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|    704|                          "object is in generation which is garbage collected",
  224|    704|                          filename, lineno, __func__);
  225|       |
  226|    704|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|    704|    PyGC_Head *generation0 = gcstate->generation0;
  228|    704|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|    704|    _PyGCHead_SET_NEXT(last, gc);
  230|    704|    _PyGCHead_SET_PREV(gc, last);
  231|    704|    _PyGCHead_SET_NEXT(gc, generation0);
  232|    704|    generation0->_gc_prev = (uintptr_t)gc;
  233|    704|    gcstate->heap_size++;
  234|    704|#endif
  235|    704|}
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.11k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  2.11k|    gc->_gc_next = (uintptr_t)next;
  152|  2.11k|}
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|    704|{
  254|    704|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|    704|    ((void)0)
  ------------------
  255|    704|                          "object not tracked by the garbage collector",
  256|    704|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|    704|    PyGC_Head *gc = _Py_AS_GC(op);
  262|    704|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|    704|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|    704|    _PyGCHead_SET_NEXT(prev, next);
  265|    704|    _PyGCHead_SET_PREV(next, prev);
  266|    704|    gc->_gc_next = 0;
  267|    704|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|    704|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|    704|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|    704|    gcstate->heap_size--;
  270|    704|#endif
  271|    704|}
iterobject.c:_PyGCHead_PREV:
  155|    704|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|    704|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|    704|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|    704|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|    704|    return (PyGC_Head*)prev;
  158|    704|}
iterobject.c:_PyGCHead_NEXT:
  146|    704|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|    704|    uintptr_t next = gc->_gc_next;
  148|    704|    return (PyGC_Head*)next;
  149|    704|}
lazyimportobject.c:_PyObject_GC_TRACK:
  213|     60|{
  214|     60|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|     60|    ((void)0)
  ------------------
  215|     60|                          "object already tracked by the garbage collector",
  216|     60|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|     60|    PyGC_Head *gc = _Py_AS_GC(op);
  221|     60|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  410|     60|    ((void)0)
  ------------------
  222|     60|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|     60|                          "object is in generation which is garbage collected",
  224|     60|                          filename, lineno, __func__);
  225|       |
  226|     60|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|     60|    PyGC_Head *generation0 = gcstate->generation0;
  228|     60|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|     60|    _PyGCHead_SET_NEXT(last, gc);
  230|     60|    _PyGCHead_SET_PREV(gc, last);
  231|     60|    _PyGCHead_SET_NEXT(gc, generation0);
  232|     60|    generation0->_gc_prev = (uintptr_t)gc;
  233|     60|    gcstate->heap_size++;
  234|     60|#endif
  235|     60|}
lazyimportobject.c:_Py_AS_GC:
   17|     78|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|     78|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|     78|    return (PyGC_Head*)gc;
   20|     78|}
lazyimportobject.c:_PyGCHead_SET_NEXT:
  150|    138|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|    138|    gc->_gc_next = (uintptr_t)next;
  152|    138|}
lazyimportobject.c:_PyGCHead_SET_PREV:
  160|     78|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|     78|    uintptr_t uprev = (uintptr_t)prev;
  162|     78|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|     78|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|     78|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|     78|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|     78|}
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|  46.6k|{
  214|  46.6k|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|  46.6k|    ((void)0)
  ------------------
  215|  46.6k|                          "object already tracked by the garbage collector",
  216|  46.6k|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  46.6k|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  46.6k|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  410|  46.6k|    ((void)0)
  ------------------
  222|  46.6k|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  46.6k|                          "object is in generation which is garbage collected",
  224|  46.6k|                          filename, lineno, __func__);
  225|       |
  226|  46.6k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  46.6k|    PyGC_Head *generation0 = gcstate->generation0;
  228|  46.6k|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  46.6k|    _PyGCHead_SET_NEXT(last, gc);
  230|  46.6k|    _PyGCHead_SET_PREV(gc, last);
  231|  46.6k|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  46.6k|    generation0->_gc_prev = (uintptr_t)gc;
  233|  46.6k|    gcstate->heap_size++;
  234|  46.6k|#endif
  235|  46.6k|}
odictobject.c:_Py_AS_GC:
   17|  93.3k|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  93.3k|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  93.3k|    return (PyGC_Head*)gc;
   20|  93.3k|}
odictobject.c:_PyGCHead_SET_NEXT:
  150|   140k|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|   140k|    gc->_gc_next = (uintptr_t)next;
  152|   140k|}
odictobject.c:_PyGCHead_SET_PREV:
  160|  93.3k|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  93.3k|    uintptr_t uprev = (uintptr_t)prev;
  162|  93.3k|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|  93.3k|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  93.3k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  93.3k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  93.3k|}
odictobject.c:_PyObject_GC_UNTRACK:
  253|  46.6k|{
  254|  46.6k|    _PyObject_ASSERT_FROM(op, _PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|  46.6k|    ((void)0)
  ------------------
  255|  46.6k|                          "object not tracked by the garbage collector",
  256|  46.6k|                          filename, lineno, __func__);
  257|       |
  258|       |#ifdef Py_GIL_DISABLED
  259|       |    _PyObject_CLEAR_GC_BITS(op, _PyGC_BITS_TRACKED);
  260|       |#else
  261|  46.6k|    PyGC_Head *gc = _Py_AS_GC(op);
  262|  46.6k|    PyGC_Head *prev = _PyGCHead_PREV(gc);
  263|  46.6k|    PyGC_Head *next = _PyGCHead_NEXT(gc);
  264|  46.6k|    _PyGCHead_SET_NEXT(prev, next);
  265|  46.6k|    _PyGCHead_SET_PREV(next, prev);
  266|  46.6k|    gc->_gc_next = 0;
  267|  46.6k|    gc->_gc_prev &= _PyGC_PREV_MASK_FINALIZED;
  ------------------
  |  |  117|  46.6k|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
  268|  46.6k|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  269|  46.6k|    gcstate->heap_size--;
  270|  46.6k|#endif
  271|  46.6k|}
odictobject.c:_PyGCHead_PREV:
  155|  46.6k|static inline PyGC_Head* _PyGCHead_PREV(PyGC_Head *gc) {
  156|  46.6k|    uintptr_t prev = (gc->_gc_prev & _PyGC_PREV_MASK);
  ------------------
  |  |  122|  46.6k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  46.6k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  157|  46.6k|    return (PyGC_Head*)prev;
  158|  46.6k|}
odictobject.c:_PyGCHead_NEXT:
  146|  46.6k|static inline PyGC_Head* _PyGCHead_NEXT(PyGC_Head *gc) {
  147|  46.6k|    uintptr_t next = gc->_gc_next;
  148|  46.6k|    return (PyGC_Head*)next;
  149|  46.6k|}
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.59M|{
  214|  9.59M|    _PyObject_ASSERT_FROM(op, !_PyObject_GC_IS_TRACKED(op),
  ------------------
  |  |  410|  9.59M|    ((void)0)
  ------------------
  215|  9.59M|                          "object already tracked by the garbage collector",
  216|  9.59M|                          filename, lineno, __func__);
  217|       |#ifdef Py_GIL_DISABLED
  218|       |    _PyObject_SET_GC_BITS(op, _PyGC_BITS_TRACKED);
  219|       |#else
  220|  9.59M|    PyGC_Head *gc = _Py_AS_GC(op);
  221|  9.59M|    _PyObject_ASSERT_FROM(op,
  ------------------
  |  |  410|  9.59M|    ((void)0)
  ------------------
  222|  9.59M|                          (gc->_gc_prev & _PyGC_PREV_MASK_COLLECTING) == 0,
  223|  9.59M|                          "object is in generation which is garbage collected",
  224|  9.59M|                          filename, lineno, __func__);
  225|       |
  226|  9.59M|    struct _gc_runtime_state *gcstate = &_PyInterpreterState_GET()->gc;
  227|  9.59M|    PyGC_Head *generation0 = gcstate->generation0;
  228|  9.59M|    PyGC_Head *last = (PyGC_Head*)(generation0->_gc_prev);
  229|  9.59M|    _PyGCHead_SET_NEXT(last, gc);
  230|  9.59M|    _PyGCHead_SET_PREV(gc, last);
  231|  9.59M|    _PyGCHead_SET_NEXT(gc, generation0);
  232|  9.59M|    generation0->_gc_prev = (uintptr_t)gc;
  233|  9.59M|    gcstate->heap_size++;
  234|  9.59M|#endif
  235|  9.59M|}
methodobject.c:_Py_AS_GC:
   17|  9.59M|static inline PyGC_Head* _Py_AS_GC(PyObject *op) {
   18|  9.59M|    char *gc = ((char*)op) - sizeof(PyGC_Head);
   19|  9.59M|    return (PyGC_Head*)gc;
   20|  9.59M|}
methodobject.c:_PyGCHead_SET_NEXT:
  150|  19.1M|static inline void _PyGCHead_SET_NEXT(PyGC_Head *gc, PyGC_Head *next) {
  151|  19.1M|    gc->_gc_next = (uintptr_t)next;
  152|  19.1M|}
methodobject.c:_PyGCHead_SET_PREV:
  160|  9.59M|static inline void _PyGCHead_SET_PREV(PyGC_Head *gc, PyGC_Head *prev) {
  161|  9.59M|    uintptr_t uprev = (uintptr_t)prev;
  162|  9.59M|    assert((uprev & ~_PyGC_PREV_MASK) == 0);
  163|  9.59M|    gc->_gc_prev = ((gc->_gc_prev & ~_PyGC_PREV_MASK) | uprev);
  ------------------
  |  |  122|  9.59M|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|  9.59M|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
  164|  9.59M|}

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

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

pylifecycle.c:_PyInterpreterState_GetFinalizing:
   31|  4.30k|_PyInterpreterState_GetFinalizing(PyInterpreterState *interp) {
   32|  4.30k|    return (PyThreadState*)_Py_atomic_load_ptr_relaxed(&interp->_finalizing);
   33|  4.30k|}

sentinelobject.c:_PyFrame_GetFunction:
   95|      6|static inline PyFunctionObject *_PyFrame_GetFunction(_PyInterpreterFrame *f) {
   96|      6|    PyObject *func = PyStackRef_AsPyObjectBorrow(f->f_funcobj);
   97|       |    assert(PyFunction_Check(func));
   98|      6|    return (PyFunctionObject *)func;
   99|      6|}
typeobject.c:_PyThreadState_GetFrame:
  281|     92|{
  282|     92|    return _PyFrame_GetFirstComplete(tstate->current_frame);
  283|     92|}
typeobject.c:_PyFrame_GetFirstComplete:
  272|     92|{
  273|     92|    while (frame && _PyFrame_IsIncomplete(frame)) {
  ------------------
  |  Branch (273:12): [True: 92, False: 0]
  |  Branch (273:21): [True: 0, False: 92]
  ------------------
  274|      0|        frame = frame->previous;
  275|      0|    }
  276|     92|    return frame;
  277|     92|}
typeobject.c:_PyFrame_IsIncomplete:
  261|     92|{
  262|     92|    if (frame->owner >= FRAME_OWNED_BY_INTERPRETER) {
  ------------------
  |  Branch (262:9): [True: 0, False: 92]
  ------------------
  263|      0|        return true;
  264|      0|    }
  265|     92|    return frame->owner != FRAME_OWNED_BY_GENERATOR &&
  ------------------
  |  Branch (265:12): [True: 92, False: 0]
  ------------------
  266|     92|           frame->instr_ptr < _PyFrame_GetBytecode(frame) +
  ------------------
  |  Branch (266:12): [True: 0, False: 92]
  ------------------
  267|     92|                                  _PyFrame_GetCode(frame)->_co_firsttraceable;
  268|     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|}
_warnings.c:_PyFrame_GetCode:
   20|  4.30k|static inline PyCodeObject *_PyFrame_GetCode(_PyInterpreterFrame *f) {
   21|  4.30k|    assert(!PyStackRef_IsNull(f->f_executable));
   22|  4.30k|    PyObject *executable = PyStackRef_AsPyObjectBorrow(f->f_executable);
   23|       |    assert(PyCode_Check(executable));
   24|  4.30k|    return (PyCodeObject *)executable;
   25|  4.30k|}
ceval.c:_PyFrame_GetCode:
   20|   176M|static inline PyCodeObject *_PyFrame_GetCode(_PyInterpreterFrame *f) {
   21|   176M|    assert(!PyStackRef_IsNull(f->f_executable));
   22|   176M|    PyObject *executable = PyStackRef_AsPyObjectBorrow(f->f_executable);
   23|       |    assert(PyCode_Check(executable));
   24|   176M|    return (PyCodeObject *)executable;
   25|   176M|}
ceval.c:_PyFrame_GetStackPointer:
  232|  1.11G|{
  233|  1.11G|    assert(frame->stackpointer != NULL);
  234|  1.11G|    _PyStackRef *sp = frame->stackpointer;
  235|       |#ifndef NDEBUG
  236|       |    frame->stackpointer = NULL;
  237|       |#endif
  238|  1.11G|    return sp;
  239|  1.11G|}
ceval.c:_PyFrame_SetStackPointer:
  243|  1.10G|{
  244|       |    assert(frame->stackpointer == NULL);
  245|  1.10G|    frame->stackpointer = stack_pointer;
  246|  1.10G|}
ceval.c:_PyThreadState_HasStackSpace:
  334|  49.7M|{
  335|  49.7M|    assert(
  336|  49.7M|        (tstate->datastack_top == NULL && tstate->datastack_limit == NULL)
  337|  49.7M|        ||
  338|  49.7M|        (tstate->datastack_top != NULL && tstate->datastack_limit != NULL)
  339|  49.7M|    );
  340|  49.7M|    return tstate->datastack_top != NULL &&
  ------------------
  |  Branch (340:12): [True: 49.7M, False: 0]
  ------------------
  341|  49.7M|        size < tstate->datastack_limit - tstate->datastack_top;
  ------------------
  |  Branch (341:9): [True: 49.7M, False: 372]
  ------------------
  342|  49.7M|}
ceval.c:_PyFrame_PushUnchecked:
  355|  49.7M|{
  356|  49.7M|    CALL_STAT_INC(frames_pushed);
  ------------------
  |  |   76|  49.7M|#define CALL_STAT_INC(name) ((void)0)
  ------------------
  357|  49.7M|    PyFunctionObject *func_obj = (PyFunctionObject *)PyStackRef_AsPyObjectBorrow(func);
  358|  49.7M|    PyCodeObject *code = (PyCodeObject *)func_obj->func_code;
  359|  49.7M|    _PyInterpreterFrame *new_frame = (_PyInterpreterFrame *)tstate->datastack_top;
  360|  49.7M|    tstate->datastack_top += code->co_framesize;
  361|  49.7M|    assert(tstate->datastack_top < tstate->datastack_limit);
  362|       |    _PyFrame_Initialize(tstate, new_frame, func, NULL, code, null_locals_from,
  363|  49.7M|                        previous);
  364|  49.7M|    return new_frame;
  365|  49.7M|}
ceval.c:_PyFrame_PushTrampolineUnchecked:
  371|  73.1k|{
  372|  73.1k|    CALL_STAT_INC(frames_pushed);
  ------------------
  |  |   76|  73.1k|#define CALL_STAT_INC(name) ((void)0)
  ------------------
  373|  73.1k|    _PyInterpreterFrame *frame = (_PyInterpreterFrame *)tstate->datastack_top;
  374|  73.1k|    tstate->datastack_top += code->co_framesize;
  375|  73.1k|    assert(tstate->datastack_top < tstate->datastack_limit);
  376|  73.1k|    frame->previous = previous;
  377|  73.1k|    frame->f_funcobj = PyStackRef_None;
  ------------------
  |  |  473|  73.1k|#define PyStackRef_None ((_PyStackRef){.bits = ((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT })
  |  |  ------------------
  |  |  |  |   55|  73.1k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  378|  73.1k|    frame->f_executable = PyStackRef_FromPyObjectNew(code);
  ------------------
  |  |  599|  73.1k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  73.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  73.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  379|       |#ifdef Py_DEBUG
  380|       |    frame->f_builtins = NULL;
  381|       |    frame->f_globals = NULL;
  382|       |#endif
  383|  73.1k|    frame->f_locals = NULL;
  384|  73.1k|    assert(stackdepth <= code->co_stacksize);
  385|  73.1k|    frame->stackpointer = frame->localsplus + code->co_nlocalsplus + stackdepth;
  386|  73.1k|    frame->frame_obj = NULL;
  387|       |#ifdef Py_GIL_DISABLED
  388|       |    _PyFrame_InitializeTLBC(tstate, frame, code);
  389|       |#else
  390|  73.1k|    frame->instr_ptr = _PyCode_CODE(code);
  ------------------
  |  |   16|  73.1k|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  277|  73.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  391|  73.1k|#endif
  392|  73.1k|    frame->owner = FRAME_OWNED_BY_THREAD;
  393|  73.1k|    frame->visited = 0;
  394|       |#ifdef Py_DEBUG
  395|       |    frame->lltrace = 0;
  396|       |#endif
  397|  73.1k|    frame->return_offset = 0;
  398|  73.1k|    return frame;
  399|  73.1k|}
ceval.c:_PyFrame_StackPush:
  117|  9.14M|static inline void _PyFrame_StackPush(_PyInterpreterFrame *f, _PyStackRef value) {
  118|  9.14M|    *f->stackpointer = value;
  119|  9.14M|    f->stackpointer++;
  120|  9.14M|}
ceval.c:_PyFrame_GetBytecode:
   59|  7.71M|{
   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|  7.71M|    return _PyCode_CODE(_PyFrame_GetCode(f));
  ------------------
  |  |   16|  7.71M|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  277|  7.71M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   67|  7.71M|#endif
   68|  7.71M|}
ceval.c:_PyFrame_Copy:
  134|  2.18M|{
  135|  2.18M|    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|  2.18M|    dest->previous = NULL;
  139|  2.18M|    dest->f_funcobj = PyStackRef_MakeHeapSafe(src->f_funcobj);
  140|  2.18M|    dest->f_globals = src->f_globals;
  141|  2.18M|    dest->f_builtins = src->f_builtins;
  142|  2.18M|    dest->f_locals = src->f_locals;
  143|  2.18M|    dest->frame_obj = src->frame_obj;
  144|  2.18M|    dest->instr_ptr = src->instr_ptr;
  145|       |#ifdef Py_GIL_DISABLED
  146|       |    dest->tlbc_index = src->tlbc_index;
  147|       |#endif
  148|  2.18M|    assert(src->stackpointer != NULL);
  149|  2.18M|    int stacktop = (int)(src->stackpointer - src->localsplus);
  150|  2.18M|    assert(stacktop >= 0);
  151|  2.18M|    dest->stackpointer = dest->localsplus + stacktop;
  152|       |    // visited is GC bookkeeping for the current stack walk, not frame state.
  153|  2.18M|    dest->visited = 0;
  154|       |#ifdef Py_DEBUG
  155|       |    dest->lltrace = src->lltrace;
  156|       |#endif
  157|  12.9M|    for (int i = 0; i < stacktop; i++) {
  ------------------
  |  Branch (157:21): [True: 10.7M, False: 2.18M]
  ------------------
  158|  10.7M|        dest->localsplus[i] = PyStackRef_MakeHeapSafe(src->localsplus[i]);
  159|  10.7M|    }
  160|  2.18M|}
ceval.c:_PyFrame_IsIncomplete:
  261|  2.17M|{
  262|  2.17M|    if (frame->owner >= FRAME_OWNED_BY_INTERPRETER) {
  ------------------
  |  Branch (262:9): [True: 20, False: 2.17M]
  ------------------
  263|     20|        return true;
  264|     20|    }
  265|  2.17M|    return frame->owner != FRAME_OWNED_BY_GENERATOR &&
  ------------------
  |  Branch (265:12): [True: 2.15M, False: 19.9k]
  ------------------
  266|  2.15M|           frame->instr_ptr < _PyFrame_GetBytecode(frame) +
  ------------------
  |  Branch (266:12): [True: 0, False: 2.15M]
  ------------------
  267|  2.15M|                                  _PyFrame_GetCode(frame)->_co_firsttraceable;
  268|  2.17M|}
ceval.c:_PyFrame_GetFrameObject:
  295|  2.14M|{
  296|       |
  297|  2.14M|    assert(!_PyFrame_IsIncomplete(frame));
  298|  2.14M|    PyFrameObject *res =  frame->frame_obj;
  299|  2.14M|    if (res != NULL) {
  ------------------
  |  Branch (299:9): [True: 1.13M, False: 1.01M]
  ------------------
  300|  1.13M|        return res;
  301|  1.13M|    }
  302|  1.01M|    return _PyFrame_MakeAndSetFrameObject(frame);
  303|  2.14M|}
ceval.c:_PyFrame_Stackbase:
  101|  2.66M|static inline _PyStackRef *_PyFrame_Stackbase(_PyInterpreterFrame *f) {
  102|  2.66M|    return (f->localsplus + _PyFrame_GetCode(f)->co_nlocalsplus);
  103|  2.66M|}
ceval.c:_PyFrame_StackPop:
  111|  5.71M|static inline _PyStackRef _PyFrame_StackPop(_PyInterpreterFrame *f) {
  112|       |    assert(f->stackpointer > _PyFrame_Stackbase(f));
  113|  5.71M|    f->stackpointer--;
  114|  5.71M|    return *f->stackpointer;
  115|  5.71M|}
ceval.c:_PyFrame_Initialize:
  190|  62.0M|{
  191|  62.0M|    frame->previous = previous;
  192|  62.0M|    frame->f_funcobj = func;
  193|  62.0M|    frame->f_executable = PyStackRef_FromPyObjectNew(code);
  ------------------
  |  |  599|  62.0M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  62.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  62.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  194|  62.0M|    PyFunctionObject *func_obj = (PyFunctionObject *)PyStackRef_AsPyObjectBorrow(func);
  195|  62.0M|    frame->f_builtins = func_obj->func_builtins;
  196|  62.0M|    frame->f_globals = func_obj->func_globals;
  197|  62.0M|    frame->f_locals = locals;
  198|  62.0M|    frame->stackpointer = frame->localsplus + code->co_nlocalsplus;
  199|  62.0M|    frame->frame_obj = NULL;
  200|       |#ifdef Py_GIL_DISABLED
  201|       |    _PyFrame_InitializeTLBC(tstate, frame, code);
  202|       |#else
  203|  62.0M|    (void)tstate;
  204|  62.0M|    frame->instr_ptr = _PyCode_CODE(code);
  ------------------
  |  |   16|  62.0M|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  277|  62.0M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  205|  62.0M|#endif
  206|  62.0M|    frame->return_offset = 0;
  207|  62.0M|    frame->owner = FRAME_OWNED_BY_THREAD;
  208|  62.0M|    frame->visited = 0;
  209|       |#ifdef Py_DEBUG
  210|       |    frame->lltrace = 0;
  211|       |#endif
  212|       |
  213|   185M|    for (int i = null_locals_from; i < code->co_nlocalsplus; i++) {
  ------------------
  |  Branch (213:36): [True: 123M, False: 62.0M]
  ------------------
  214|   123M|        frame->localsplus[i] = PyStackRef_NULL;
  215|   123M|    }
  216|  62.0M|}
ceval.c:_PyThreadState_GetFrame:
  281|  25.0k|{
  282|  25.0k|    return _PyFrame_GetFirstComplete(tstate->current_frame);
  283|  25.0k|}
ceval.c:_PyFrame_GetFirstComplete:
  272|  25.0k|{
  273|  25.0k|    while (frame && _PyFrame_IsIncomplete(frame)) {
  ------------------
  |  Branch (273:12): [True: 25.0k, False: 20]
  |  Branch (273:21): [True: 20, False: 25.0k]
  ------------------
  274|     20|        frame = frame->previous;
  275|     20|    }
  276|  25.0k|    return frame;
  277|  25.0k|}
frame.c:_PyFrame_GetCode:
   20|  4.61M|static inline PyCodeObject *_PyFrame_GetCode(_PyInterpreterFrame *f) {
   21|  4.61M|    assert(!PyStackRef_IsNull(f->f_executable));
   22|  4.61M|    PyObject *executable = PyStackRef_AsPyObjectBorrow(f->f_executable);
   23|       |    assert(PyCode_Check(executable));
   24|  4.61M|    return (PyCodeObject *)executable;
   25|  4.61M|}
frame.c:_PyFrame_Copy:
  134|   728k|{
  135|   728k|    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|   728k|    dest->previous = NULL;
  139|   728k|    dest->f_funcobj = PyStackRef_MakeHeapSafe(src->f_funcobj);
  140|   728k|    dest->f_globals = src->f_globals;
  141|   728k|    dest->f_builtins = src->f_builtins;
  142|   728k|    dest->f_locals = src->f_locals;
  143|   728k|    dest->frame_obj = src->frame_obj;
  144|   728k|    dest->instr_ptr = src->instr_ptr;
  145|       |#ifdef Py_GIL_DISABLED
  146|       |    dest->tlbc_index = src->tlbc_index;
  147|       |#endif
  148|   728k|    assert(src->stackpointer != NULL);
  149|   728k|    int stacktop = (int)(src->stackpointer - src->localsplus);
  150|   728k|    assert(stacktop >= 0);
  151|   728k|    dest->stackpointer = dest->localsplus + stacktop;
  152|       |    // visited is GC bookkeeping for the current stack walk, not frame state.
  153|   728k|    dest->visited = 0;
  154|       |#ifdef Py_DEBUG
  155|       |    dest->lltrace = src->lltrace;
  156|       |#endif
  157|  3.40M|    for (int i = 0; i < stacktop; i++) {
  ------------------
  |  Branch (157:21): [True: 2.67M, False: 728k]
  ------------------
  158|  2.67M|        dest->localsplus[i] = PyStackRef_MakeHeapSafe(src->localsplus[i]);
  159|  2.67M|    }
  160|   728k|}
frame.c:_PyFrame_IsIncomplete:
  261|  1.45M|{
  262|  1.45M|    if (frame->owner >= FRAME_OWNED_BY_INTERPRETER) {
  ------------------
  |  Branch (262:9): [True: 15.3k, False: 1.43M]
  ------------------
  263|  15.3k|        return true;
  264|  15.3k|    }
  265|  1.43M|    return frame->owner != FRAME_OWNED_BY_GENERATOR &&
  ------------------
  |  Branch (265:12): [True: 1.43M, False: 0]
  ------------------
  266|  1.43M|           frame->instr_ptr < _PyFrame_GetBytecode(frame) +
  ------------------
  |  Branch (266:12): [True: 0, False: 1.43M]
  ------------------
  267|  1.43M|                                  _PyFrame_GetCode(frame)->_co_firsttraceable;
  268|  1.45M|}
frame.c:_PyFrame_GetFirstComplete:
  272|   728k|{
  273|   744k|    while (frame && _PyFrame_IsIncomplete(frame)) {
  ------------------
  |  Branch (273:12): [True: 724k, False: 19.9k]
  |  Branch (273:21): [True: 15.3k, False: 709k]
  ------------------
  274|  15.3k|        frame = frame->previous;
  275|  15.3k|    }
  276|   728k|    return frame;
  277|   728k|}
frame.c:_PyFrame_GetFrameObject:
  295|   709k|{
  296|       |
  297|   709k|    assert(!_PyFrame_IsIncomplete(frame));
  298|   709k|    PyFrameObject *res =  frame->frame_obj;
  299|   709k|    if (res != NULL) {
  ------------------
  |  Branch (299:9): [True: 3.54k, False: 705k]
  ------------------
  300|  3.54k|        return res;
  301|  3.54k|    }
  302|   705k|    return _PyFrame_MakeAndSetFrameObject(frame);
  303|   709k|}
frame.c:_PyFrame_GetBytecode:
   59|  1.44M|{
   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.44M|    return _PyCode_CODE(_PyFrame_GetCode(f));
  ------------------
  |  |   16|  1.44M|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  277|  1.44M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   67|  1.44M|#endif
   68|  1.44M|}
gc.c:_PyFrame_GetLocalsArray:
  223|  17.0k|{
  224|  17.0k|    return frame->localsplus;
  225|  17.0k|}
intrinsics.c:_PyFrame_GetCode:
   20|  19.9k|static inline PyCodeObject *_PyFrame_GetCode(_PyInterpreterFrame *f) {
   21|  19.9k|    assert(!PyStackRef_IsNull(f->f_executable));
   22|  19.9k|    PyObject *executable = PyStackRef_AsPyObjectBorrow(f->f_executable);
   23|       |    assert(PyCode_Check(executable));
   24|  19.9k|    return (PyCodeObject *)executable;
   25|  19.9k|}
pystate.c:_PyThreadState_GetFrame:
  281|  4.30k|{
  282|  4.30k|    return _PyFrame_GetFirstComplete(tstate->current_frame);
  283|  4.30k|}
pystate.c:_PyFrame_GetFrameObject:
  295|  4.30k|{
  296|       |
  297|  4.30k|    assert(!_PyFrame_IsIncomplete(frame));
  298|  4.30k|    PyFrameObject *res =  frame->frame_obj;
  299|  4.30k|    if (res != NULL) {
  ------------------
  |  Branch (299:9): [True: 0, False: 4.30k]
  ------------------
  300|      0|        return res;
  301|      0|    }
  302|  4.30k|    return _PyFrame_MakeAndSetFrameObject(frame);
  303|  4.30k|}
pystate.c:_PyFrame_GetFirstComplete:
  272|  4.30k|{
  273|  4.30k|    while (frame && _PyFrame_IsIncomplete(frame)) {
  ------------------
  |  Branch (273:12): [True: 4.30k, False: 0]
  |  Branch (273:21): [True: 0, False: 4.30k]
  ------------------
  274|      0|        frame = frame->previous;
  275|      0|    }
  276|  4.30k|    return frame;
  277|  4.30k|}
pystate.c:_PyFrame_IsIncomplete:
  261|  4.30k|{
  262|  4.30k|    if (frame->owner >= FRAME_OWNED_BY_INTERPRETER) {
  ------------------
  |  Branch (262:9): [True: 0, False: 4.30k]
  ------------------
  263|      0|        return true;
  264|      0|    }
  265|  4.30k|    return frame->owner != FRAME_OWNED_BY_GENERATOR &&
  ------------------
  |  Branch (265:12): [True: 4.30k, False: 0]
  ------------------
  266|  4.30k|           frame->instr_ptr < _PyFrame_GetBytecode(frame) +
  ------------------
  |  Branch (266:12): [True: 0, False: 4.30k]
  ------------------
  267|  4.30k|                                  _PyFrame_GetCode(frame)->_co_firsttraceable;
  268|  4.30k|}
pystate.c:_PyFrame_GetBytecode:
   59|  4.30k|{
   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|  4.30k|    return _PyCode_CODE(_PyFrame_GetCode(f));
  ------------------
  |  |   16|  4.30k|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  277|  4.30k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   67|  4.30k|#endif
   68|  4.30k|}
pystate.c:_PyFrame_GetCode:
   20|  8.60k|static inline PyCodeObject *_PyFrame_GetCode(_PyInterpreterFrame *f) {
   21|  8.60k|    assert(!PyStackRef_IsNull(f->f_executable));
   22|  8.60k|    PyObject *executable = PyStackRef_AsPyObjectBorrow(f->f_executable);
   23|       |    assert(PyCode_Check(executable));
   24|  8.60k|    return (PyCodeObject *)executable;
   25|  8.60k|}
pystate.c:_PyThreadState_HasStackSpace:
  334|  12.3M|{
  335|  12.3M|    assert(
  336|  12.3M|        (tstate->datastack_top == NULL && tstate->datastack_limit == NULL)
  337|  12.3M|        ||
  338|  12.3M|        (tstate->datastack_top != NULL && tstate->datastack_limit != NULL)
  339|  12.3M|    );
  340|  12.3M|    return tstate->datastack_top != NULL &&
  ------------------
  |  Branch (340:12): [True: 12.3M, False: 2]
  ------------------
  341|  12.3M|        size < tstate->datastack_limit - tstate->datastack_top;
  ------------------
  |  Branch (341:9): [True: 12.3M, False: 516]
  ------------------
  342|  12.3M|}
sysmodule.c:_PyFrame_GetFirstComplete:
  272|    318|{
  273|    318|    while (frame && _PyFrame_IsIncomplete(frame)) {
  ------------------
  |  Branch (273:12): [True: 318, False: 0]
  |  Branch (273:21): [True: 0, False: 318]
  ------------------
  274|      0|        frame = frame->previous;
  275|      0|    }
  276|    318|    return frame;
  277|    318|}
sysmodule.c:_PyFrame_IsIncomplete:
  261|    442|{
  262|    442|    if (frame->owner >= FRAME_OWNED_BY_INTERPRETER) {
  ------------------
  |  Branch (262:9): [True: 0, False: 442]
  ------------------
  263|      0|        return true;
  264|      0|    }
  265|    442|    return frame->owner != FRAME_OWNED_BY_GENERATOR &&
  ------------------
  |  Branch (265:12): [True: 442, False: 0]
  ------------------
  266|    442|           frame->instr_ptr < _PyFrame_GetBytecode(frame) +
  ------------------
  |  Branch (266:12): [True: 0, False: 442]
  ------------------
  267|    442|                                  _PyFrame_GetCode(frame)->_co_firsttraceable;
  268|    442|}
sysmodule.c:_PyFrame_GetBytecode:
   59|    442|{
   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|    442|    return _PyCode_CODE(_PyFrame_GetCode(f));
  ------------------
  |  |   16|    442|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  277|    442|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   67|    442|#endif
   68|    442|}
sysmodule.c:_PyFrame_GetCode:
   20|    884|static inline PyCodeObject *_PyFrame_GetCode(_PyInterpreterFrame *f) {
   21|    884|    assert(!PyStackRef_IsNull(f->f_executable));
   22|    884|    PyObject *executable = PyStackRef_AsPyObjectBorrow(f->f_executable);
   23|       |    assert(PyCode_Check(executable));
   24|    884|    return (PyCodeObject *)executable;
   25|    884|}
sysmodule.c:_PyFrame_GetFrameObject:
  295|    161|{
  296|       |
  297|    161|    assert(!_PyFrame_IsIncomplete(frame));
  298|    161|    PyFrameObject *res =  frame->frame_obj;
  299|    161|    if (res != NULL) {
  ------------------
  |  Branch (299:9): [True: 0, False: 161]
  ------------------
  300|      0|        return res;
  301|      0|    }
  302|    161|    return _PyFrame_MakeAndSetFrameObject(frame);
  303|    161|}
traceback.c:_PyFrame_GetCode:
   20|  2.14M|static inline PyCodeObject *_PyFrame_GetCode(_PyInterpreterFrame *f) {
   21|  2.14M|    assert(!PyStackRef_IsNull(f->f_executable));
   22|  2.14M|    PyObject *executable = PyStackRef_AsPyObjectBorrow(f->f_executable);
   23|       |    assert(PyCode_Check(executable));
   24|  2.14M|    return (PyCodeObject *)executable;
   25|  2.14M|}
traceback.c:_PyFrame_GetBytecode:
   59|  2.14M|{
   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.14M|    return _PyCode_CODE(_PyFrame_GetCode(f));
  ------------------
  |  |   16|  2.14M|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  277|  2.14M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   67|  2.14M|#endif
   68|  2.14M|}
genobject.c:_PyFrame_StackPush:
  117|  1.08M|static inline void _PyFrame_StackPush(_PyInterpreterFrame *f, _PyStackRef value) {
  118|  1.08M|    *f->stackpointer = value;
  119|  1.08M|    f->stackpointer++;
  120|  1.08M|}
genobject.c:_PyFrame_NumSlotsForCodeObject:
  126|  2.18M|{
  127|       |    /* This function needs to remain in sync with the calculation of
  128|       |     * co_framesize in Tools/build/deepfreeze.py */
  129|  2.18M|    assert(code->co_framesize >= FRAME_SPECIALS_SIZE);
  130|  2.18M|    return code->co_framesize - FRAME_SPECIALS_SIZE;
  ------------------
  |  |  122|  2.18M|#define FRAME_SPECIALS_SIZE ((int)((sizeof(_PyInterpreterFrame)-1)/sizeof(PyObject *)))
  ------------------
  131|  2.18M|}
genobject.c:_PyFrame_GetCode:
   20|    222|static inline PyCodeObject *_PyFrame_GetCode(_PyInterpreterFrame *f) {
   21|    222|    assert(!PyStackRef_IsNull(f->f_executable));
   22|    222|    PyObject *executable = PyStackRef_AsPyObjectBorrow(f->f_executable);
   23|       |    assert(PyCode_Check(executable));
   24|    222|    return (PyCodeObject *)executable;
   25|    222|}
frameobject.c:_PyFrame_GetLocalsArray:
  223|   729k|{
  224|   729k|    return frame->localsplus;
  225|   729k|}
frameobject.c:_PyFrame_GetCode:
   20|  60.1k|static inline PyCodeObject *_PyFrame_GetCode(_PyInterpreterFrame *f) {
   21|  60.1k|    assert(!PyStackRef_IsNull(f->f_executable));
   22|  60.1k|    PyObject *executable = PyStackRef_AsPyObjectBorrow(f->f_executable);
   23|       |    assert(PyCode_Check(executable));
   24|  60.1k|    return (PyCodeObject *)executable;
   25|  60.1k|}
frameobject.c:_PyFrame_GetFrameObject:
  295|  9.68k|{
  296|       |
  297|  9.68k|    assert(!_PyFrame_IsIncomplete(frame));
  298|  9.68k|    PyFrameObject *res =  frame->frame_obj;
  299|  9.68k|    if (res != NULL) {
  ------------------
  |  Branch (299:9): [True: 370, False: 9.31k]
  ------------------
  300|    370|        return res;
  301|    370|    }
  302|  9.31k|    return _PyFrame_MakeAndSetFrameObject(frame);
  303|  9.68k|}
frameobject.c:_PyFrame_GetFirstComplete:
  272|  9.84k|{
  273|  10.1k|    while (frame && _PyFrame_IsIncomplete(frame)) {
  ------------------
  |  Branch (273:12): [True: 10.0k, False: 159]
  |  Branch (273:21): [True: 320, False: 9.68k]
  ------------------
  274|    320|        frame = frame->previous;
  275|    320|    }
  276|  9.84k|    return frame;
  277|  9.84k|}
frameobject.c:_PyFrame_IsIncomplete:
  261|  10.0k|{
  262|  10.0k|    if (frame->owner >= FRAME_OWNED_BY_INTERPRETER) {
  ------------------
  |  Branch (262:9): [True: 320, False: 9.68k]
  ------------------
  263|    320|        return true;
  264|    320|    }
  265|  9.68k|    return frame->owner != FRAME_OWNED_BY_GENERATOR &&
  ------------------
  |  Branch (265:12): [True: 9.68k, False: 0]
  ------------------
  266|  9.68k|           frame->instr_ptr < _PyFrame_GetBytecode(frame) +
  ------------------
  |  Branch (266:12): [True: 0, False: 9.68k]
  ------------------
  267|  9.68k|                                  _PyFrame_GetCode(frame)->_co_firsttraceable;
  268|  10.0k|}
frameobject.c:_PyFrame_GetBytecode:
   59|  9.68k|{
   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.68k|    return _PyCode_CODE(_PyFrame_GetCode(f));
  ------------------
  |  |   16|  9.68k|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  277|  9.68k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   67|  9.68k|#endif
   68|  9.68k|}
lazyimportobject.c:_PyFrame_GetCode:
   20|    120|static inline PyCodeObject *_PyFrame_GetCode(_PyInterpreterFrame *f) {
   21|    120|    assert(!PyStackRef_IsNull(f->f_executable));
   22|    120|    PyObject *executable = PyStackRef_AsPyObjectBorrow(f->f_executable);
   23|       |    assert(PyCode_Check(executable));
   24|    120|    return (PyCodeObject *)executable;
   25|    120|}
lazyimportobject.c:_PyFrame_GetBytecode:
   59|     60|{
   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|     60|    return _PyCode_CODE(_PyFrame_GetCode(f));
  ------------------
  |  |   16|     60|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  277|     60|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   67|     60|#endif
   68|     60|}

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

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|    318|{
   63|    318|    uint8_t expected = _Py_UNLOCKED;
  ------------------
  |  |    9|    318|#define _Py_UNLOCKED    0
  ------------------
   64|    318|    if (!_Py_atomic_compare_exchange_uint8(&m->_bits, &expected, _Py_LOCKED)) {
  ------------------
  |  |   10|    318|#define _Py_LOCKED      1
  ------------------
  |  Branch (64:9): [True: 0, False: 318]
  ------------------
   65|      0|        _PyMutex_LockTimed(m, -1, flags);
   66|      0|    }
   67|    318|}
getargs.c:_PyOnceFlag_CallOnce:
  152|   125k|{
  153|   125k|    if (_Py_atomic_load_uint8(&flag->v) == _Py_ONCE_INITIALIZED) {
  ------------------
  |  |   18|   125k|#define _Py_ONCE_INITIALIZED 4
  ------------------
  |  Branch (153:9): [True: 125k, False: 63]
  ------------------
  154|   125k|        return 0;
  155|   125k|    }
  156|     63|    return _PyOnceFlag_CallOnceSlow(flag, fn, arg);
  157|   125k|}
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|  27.2k|{
  153|  27.2k|    if (_Py_atomic_load_uint8(&flag->v) == _Py_ONCE_INITIALIZED) {
  ------------------
  |  |   18|  27.2k|#define _Py_ONCE_INITIALIZED 4
  ------------------
  |  Branch (153:9): [True: 27.2k, False: 2]
  ------------------
  154|  27.2k|        return 0;
  155|  27.2k|    }
  156|      2|    return _PyOnceFlag_CallOnceSlow(flag, fn, arg);
  157|  27.2k|}

bytesobject.c:_PyLong_FromUnsignedChar:
   81|    512|{
   82|    512|    return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+i];
  ------------------
  |  |   59|    512|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|    512|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    512|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+i];
  ------------------
  |  |   98|    512|#define _PY_NSMALLNEGINTS           5
  ------------------
   83|    512|}
longobject.c:_PyLong_InitTag:
  292|  10.0M|{
  293|  10.0M|    assert(PyLong_Check(op));
  294|  10.0M|    op->long_value.lv_tag = SIGN_ZERO; /* non-immortal zero */
  ------------------
  |  |  173|  10.0M|#define SIGN_ZERO 1
  ------------------
  295|  10.0M|}
longobject.c:_PyLong_GetZero:
   73|  9.02k|{ return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS]; }
  ------------------
  |  |   59|  9.02k|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|  9.02k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  9.02k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
              { return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS]; }
  ------------------
  |  |   98|  9.02k|#define _PY_NSMALLNEGINTS           5
  ------------------
longobject.c:_PyLong_SetSignAndDigitCount:
  302|  65.6M|{
  303|  65.6M|    assert(size >= 0);
  304|  65.6M|    assert(-1 <= sign && sign <= 1);
  305|  65.6M|    assert(sign != 0 || size == 0);
  306|  65.6M|    assert(!_PyLong_IsSmallInt(op));
  307|  65.6M|    op->long_value.lv_tag = TAG_FROM_SIGN_AND_SIZE(sign, size);
  ------------------
  |  |  298|  65.6M|    ((uintptr_t)(1 - (sign)) | ((uintptr_t)(size) << NON_SIZE_BITS))
  |  |  ------------------
  |  |  |  |  175|  65.6M|#define NON_SIZE_BITS 3
  |  |  ------------------
  ------------------
  308|  65.6M|}
longobject.c:_PyLong_CompactSign:
  268|  11.5M|{
  269|  11.5M|    assert(PyLong_Check(op));
  270|  11.5M|    assert(_PyLong_IsCompact((PyLongObject *)op));
  271|  11.5M|    return 1 - (op->long_value.lv_tag & SIGN_MASK);
  ------------------
  |  |  172|  11.5M|#define SIGN_MASK 3
  ------------------
  272|  11.5M|}
longobject.c:_PyLong_NonCompactSign:
  276|  4.09M|{
  277|  4.09M|    assert(PyLong_Check(op));
  278|  4.09M|    assert(!_PyLong_IsCompact((PyLongObject *)op));
  279|  4.09M|    return 1 - (op->long_value.lv_tag & SIGN_MASK);
  ------------------
  |  |  172|  4.09M|#define SIGN_MASK 3
  ------------------
  280|  4.09M|}
longobject.c:_PyLong_DigitCount:
  252|  33.9M|{
  253|  33.9M|    assert(PyLong_Check(op));
  254|  33.9M|    return (Py_ssize_t)(op->long_value.lv_tag >> NON_SIZE_BITS);
  ------------------
  |  |  175|  33.9M|#define NON_SIZE_BITS 3
  ------------------
  255|  33.9M|}
longobject.c:_PyLong_FlipSign:
  322|    686|{
  323|    686|    assert(!_PyLong_IsSmallInt(op));
  324|    686|    unsigned int flipped_sign = 2 - (op->long_value.lv_tag & SIGN_MASK);
  ------------------
  |  |  172|    686|#define SIGN_MASK 3
  ------------------
  325|    686|    op->long_value.lv_tag &= NON_SIZE_MASK;
  ------------------
  |  |  318|    686|#define NON_SIZE_MASK ~(uintptr_t)((1 << NON_SIZE_BITS) - 1)
  |  |  ------------------
  |  |  |  |  175|    686|#define NON_SIZE_BITS 3
  |  |  ------------------
  ------------------
  326|    686|    op->long_value.lv_tag |= flipped_sign;
  327|    686|}
longobject.c:_PyLong_IsNonNegativeCompact:
  205|  2.29M|_PyLong_IsNonNegativeCompact(const PyLongObject* op) {
  206|  2.29M|    assert(PyLong_Check(op));
  207|  2.29M|    return ((op->long_value.lv_tag & ~IMMORTALITY_BIT_MASK) <= (1 << NON_SIZE_BITS));
  ------------------
  |  |  176|  2.29M|#define IMMORTALITY_BIT_MASK (1 << 2)
  ------------------
                  return ((op->long_value.lv_tag & ~IMMORTALITY_BIT_MASK) <= (1 << NON_SIZE_BITS));
  ------------------
  |  |  175|  2.29M|#define NON_SIZE_BITS 3
  ------------------
  208|  2.29M|}
longobject.c:_PyLong_IsNegative:
  225|  12.1M|{
  226|  12.1M|    return (op->long_value.lv_tag & SIGN_MASK) == SIGN_NEGATIVE;
  ------------------
  |  |  172|  12.1M|#define SIGN_MASK 3
  ------------------
                  return (op->long_value.lv_tag & SIGN_MASK) == SIGN_NEGATIVE;
  ------------------
  |  |  174|  12.1M|#define SIGN_NEGATIVE 2
  ------------------
  227|  12.1M|}
longobject.c:_PyLong_IsPositive:
  231|  21.3k|{
  232|  21.3k|    return (op->long_value.lv_tag & SIGN_MASK) == 0;
  ------------------
  |  |  172|  21.3k|#define SIGN_MASK 3
  ------------------
  233|  21.3k|}
longobject.c:_PyLong_IsZero:
  219|  15.3M|{
  220|  15.3M|    return (op->long_value.lv_tag & SIGN_MASK) == SIGN_ZERO;
  ------------------
  |  |  172|  15.3M|#define SIGN_MASK 3
  ------------------
                  return (op->long_value.lv_tag & SIGN_MASK) == SIGN_ZERO;
  ------------------
  |  |  173|  15.3M|#define SIGN_ZERO 1
  ------------------
  221|  15.3M|}
longobject.c:_PyLong_SetDigitCount:
  312|  69.1k|{
  313|  69.1k|    assert(size >= 0);
  314|  69.1k|    assert(!_PyLong_IsSmallInt(op));
  315|  69.1k|    op->long_value.lv_tag = (((size_t)size) << NON_SIZE_BITS) | (op->long_value.lv_tag & SIGN_MASK);
  ------------------
  |  |  175|  69.1k|#define NON_SIZE_BITS 3
  ------------------
                  op->long_value.lv_tag = (((size_t)size) << NON_SIZE_BITS) | (op->long_value.lv_tag & SIGN_MASK);
  ------------------
  |  |  172|  69.1k|#define SIGN_MASK 3
  ------------------
  316|  69.1k|}
longobject.c:_PyLong_IsSmallInt:
  238|  57.8M|{
  239|  57.8M|    assert(PyLong_Check(op));
  240|  57.8M|    bool is_small_int = (op->long_value.lv_tag & IMMORTALITY_BIT_MASK) != 0;
  ------------------
  |  |  176|  57.8M|#define IMMORTALITY_BIT_MASK (1 << 2)
  ------------------
  241|  57.8M|    if (is_small_int) {
  ------------------
  |  Branch (241:9): [True: 0, False: 57.8M]
  ------------------
  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|  57.8M|    return is_small_int;
  248|  57.8M|}
longobject.c:_PyLong_BothAreCompact:
  212|  13.6M|_PyLong_BothAreCompact(const PyLongObject* a, const PyLongObject* b) {
  213|  13.6M|    assert(PyLong_Check(a));
  214|  13.6M|    assert(PyLong_Check(b));
  215|  13.6M|    return (a->long_value.lv_tag | b->long_value.lv_tag) < (2 << NON_SIZE_BITS);
  ------------------
  |  |  175|  13.6M|#define NON_SIZE_BITS 3
  ------------------
  216|  13.6M|}
longobject.c:_PyLong_SignedDigitCount:
  260|  2.74M|{
  261|  2.74M|    assert(PyLong_Check(op));
  262|  2.74M|    Py_ssize_t sign = 1 - (op->long_value.lv_tag & SIGN_MASK);
  ------------------
  |  |  172|  2.74M|#define SIGN_MASK 3
  ------------------
  263|  2.74M|    return sign * (Py_ssize_t)(op->long_value.lv_tag >> NON_SIZE_BITS);
  ------------------
  |  |  175|  2.74M|#define NON_SIZE_BITS 3
  ------------------
  264|  2.74M|}
longobject.c:_PyLong_SameSign:
  285|  7.78M|{
  286|  7.78M|    return (a->long_value.lv_tag & SIGN_MASK) == (b->long_value.lv_tag & SIGN_MASK);
  ------------------
  |  |  172|  7.78M|#define SIGN_MASK 3
  ------------------
                  return (a->long_value.lv_tag & SIGN_MASK) == (b->long_value.lv_tag & SIGN_MASK);
  ------------------
  |  |  172|  7.78M|#define SIGN_MASK 3
  ------------------
  287|  7.78M|}
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|  95.5k|{ return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS]; }
  ------------------
  |  |   59|  95.5k|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|  95.5k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  95.5k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
              { return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS]; }
  ------------------
  |  |   98|  95.5k|#define _PY_NSMALLNEGINTS           5
  ------------------
rangeobject.c:_PyLong_GetOne:
   78|  96.3k|{ return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+1]; }
  ------------------
  |  |   59|  96.3k|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|  96.3k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  96.3k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
              { return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+1]; }
  ------------------
  |  |   98|  96.3k|#define _PY_NSMALLNEGINTS           5
  ------------------
rangeobject.c:_PyLong_IsZero:
  219|     92|{
  220|     92|    return (op->long_value.lv_tag & SIGN_MASK) == SIGN_ZERO;
  ------------------
  |  |  172|     92|#define SIGN_MASK 3
  ------------------
                  return (op->long_value.lv_tag & SIGN_MASK) == SIGN_ZERO;
  ------------------
  |  |  173|     92|#define SIGN_ZERO 1
  ------------------
  221|     92|}
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|  29.2k|{
  226|  29.2k|    return (op->long_value.lv_tag & SIGN_MASK) == SIGN_NEGATIVE;
  ------------------
  |  |  172|  29.2k|#define SIGN_MASK 3
  ------------------
                  return (op->long_value.lv_tag & SIGN_MASK) == SIGN_NEGATIVE;
  ------------------
  |  |  174|  29.2k|#define SIGN_NEGATIVE 2
  ------------------
  227|  29.2k|}
_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|   197M|{
  346|   197M|    return PyLong_CheckExact(op) && _PyLong_IsCompact((const PyLongObject *)op);
  ------------------
  |  |   14|   197M|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|   395M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   197M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   197M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 197M, False: 592]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (346:37): [True: 197M, False: 79.7k]
  ------------------
  347|   197M|}
ceval.c:_PyLong_IsNonNegativeCompact:
  205|  1.30M|_PyLong_IsNonNegativeCompact(const PyLongObject* op) {
  206|  1.30M|    assert(PyLong_Check(op));
  207|  1.30M|    return ((op->long_value.lv_tag & ~IMMORTALITY_BIT_MASK) <= (1 << NON_SIZE_BITS));
  ------------------
  |  |  176|  1.30M|#define IMMORTALITY_BIT_MASK (1 << 2)
  ------------------
                  return ((op->long_value.lv_tag & ~IMMORTALITY_BIT_MASK) <= (1 << NON_SIZE_BITS));
  ------------------
  |  |  175|  1.30M|#define NON_SIZE_BITS 3
  ------------------
  208|  1.30M|}
ceval.c:_PyLong_IsZero:
  219|   200k|{
  220|   200k|    return (op->long_value.lv_tag & SIGN_MASK) == SIGN_ZERO;
  ------------------
  |  |  172|   200k|#define SIGN_MASK 3
  ------------------
                  return (op->long_value.lv_tag & SIGN_MASK) == SIGN_ZERO;
  ------------------
  |  |  173|   200k|#define SIGN_ZERO 1
  ------------------
  221|   200k|}
codegen.c:_PyLong_GetZero:
   73|    185|{ return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS]; }
  ------------------
  |  |   59|    185|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|    185|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    185|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
              { return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS]; }
  ------------------
  |  |   98|    185|#define _PY_NSMALLNEGINTS           5
  ------------------
flowgraph.c:_PyLong_IsZero:
  219|     16|{
  220|     16|    return (op->long_value.lv_tag & SIGN_MASK) == SIGN_ZERO;
  ------------------
  |  |  172|     16|#define SIGN_MASK 3
  ------------------
                  return (op->long_value.lv_tag & SIGN_MASK) == SIGN_ZERO;
  ------------------
  |  |  173|     16|#define SIGN_ZERO 1
  ------------------
  221|     16|}
flowgraph.c:_PyLong_IsPositive:
  231|      2|{
  232|      2|    return (op->long_value.lv_tag & SIGN_MASK) == 0;
  ------------------
  |  |  172|      2|#define SIGN_MASK 3
  ------------------
  233|      2|}
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|  2.17k|_PyLong_IsNonNegativeCompact(const PyLongObject* op) {
  206|  2.17k|    assert(PyLong_Check(op));
  207|  2.17k|    return ((op->long_value.lv_tag & ~IMMORTALITY_BIT_MASK) <= (1 << NON_SIZE_BITS));
  ------------------
  |  |  176|  2.17k|#define IMMORTALITY_BIT_MASK (1 << 2)
  ------------------
                  return ((op->long_value.lv_tag & ~IMMORTALITY_BIT_MASK) <= (1 << NON_SIZE_BITS));
  ------------------
  |  |  175|  2.17k|#define NON_SIZE_BITS 3
  ------------------
  208|  2.17k|}
specialize.c:_PyLong_CheckExactAndCompact:
  345|  2.23k|{
  346|  2.23k|    return PyLong_CheckExact(op) && _PyLong_IsCompact((const PyLongObject *)op);
  ------------------
  |  |   14|  2.23k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  4.46k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.23k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.23k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 2.13k, False: 100]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (346:37): [True: 1.63k, False: 503]
  ------------------
  347|  2.23k|}
specialize.c:_PyLong_IsZero:
  219|     11|{
  220|     11|    return (op->long_value.lv_tag & SIGN_MASK) == SIGN_ZERO;
  ------------------
  |  |  172|     11|#define SIGN_MASK 3
  ------------------
                  return (op->long_value.lv_tag & SIGN_MASK) == SIGN_ZERO;
  ------------------
  |  |  173|     11|#define SIGN_ZERO 1
  ------------------
  221|     11|}
textio.c:_PyLong_GetZero:
   73|      7|{ return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS]; }
  ------------------
  |  |   59|      7|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|      7|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      7|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
              { return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS]; }
  ------------------
  |  |   98|      7|#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|  7.52M|{
   82|  7.52M|    return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+i];
  ------------------
  |  |   59|  7.52M|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|  7.52M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  7.52M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+i];
  ------------------
  |  |   98|  7.52M|#define _PY_NSMALLNEGINTS           5
  ------------------
   83|  7.52M|}
enumobject.c:_PyLong_GetOne:
   78|  7.32k|{ return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+1]; }
  ------------------
  |  |   59|  7.32k|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|  7.32k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  7.32k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
              { return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS+1]; }
  ------------------
  |  |   98|  7.32k|#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|    210|{
   40|    210|    return 0;
   41|    210|}

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.73k|static inline PyObject* _PyModule_GetDict(PyObject *mod) {
   68|  2.73k|    PyObject *dict = _PyModule_CAST(mod)->md_dict;
  ------------------
  |  |   46|  2.73k|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  2.73k|#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.73k|    return dict;  // borrowed reference
   72|  2.73k|}
moduleobject.c:_PyModule_GetState:
   63|  24.7k|static inline void* _PyModule_GetState(PyObject* mod) {
   64|       |    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|  24.7k|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  24.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|  24.7k|}
typeobject.c:_PyModule_GetState:
   63|  14.1k|static inline void* _PyModule_GetState(PyObject* mod) {
   64|       |    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|  14.1k|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  14.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|  14.1k|}
typeobject.c:_PyModule_GetToken:
   57|  7.15M|static inline PyModuleDef *_PyModule_GetToken(PyObject *arg) {
   58|       |    PyModuleObject *mod = _PyModule_CAST(arg);
  ------------------
  |  |   46|  7.15M|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  7.15M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   59|  7.15M|    return (PyModuleDef *)mod->md_token;
   60|  7.15M|}
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|}
import.c:_PyModule_GetDict:
   67|     16|static inline PyObject* _PyModule_GetDict(PyObject *mod) {
   68|     16|    PyObject *dict = _PyModule_CAST(mod)->md_dict;
  ------------------
  |  |   46|     16|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     16|#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|     16|    return dict;  // borrowed reference
   72|     16|}
_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|  26.2k|static inline void* _PyModule_GetState(PyObject* mod) {
   64|       |    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|  26.2k|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  26.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|  26.2k|}
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|  23.5k|static inline void* _PyModule_GetState(PyObject* mod) {
   64|       |    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|  23.5k|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  23.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|  23.5k|}
_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|  4.07k|static inline void* _PyModule_GetState(PyObject* mod) {
   64|       |    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|  4.07k|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  4.07k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|  4.07k|}
bufferedio.c:_PyModule_GetState:
   63|  4.05k|static inline void* _PyModule_GetState(PyObject* mod) {
   64|       |    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|  4.05k|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  4.05k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|  4.05k|}
textio.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|}
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|    134|static inline void* _PyModule_GetState(PyObject* mod) {
   64|       |    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|    134|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    134|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|    134|}
sre.c:_PyModule_GetState:
   63|    178|static inline void* _PyModule_GetState(PyObject* mod) {
   64|       |    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|    178|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    178|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|    178|}
_threadmodule.c:_PyModule_GetState:
   63|  7.09M|static inline void* _PyModule_GetState(PyObject* mod) {
   64|       |    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|  7.09M|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  7.09M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|  7.09M|}
timemodule.c:_PyModule_GetState:
   63|    114|static inline void* _PyModule_GetState(PyObject* mod) {
   64|       |    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|    114|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    114|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|    114|}
_abc.c:_PyModule_GetState:
   63|  75.8k|static inline void* _PyModule_GetState(PyObject* mod) {
   64|       |    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|  75.8k|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  75.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|  75.8k|}
_functoolsmodule.c:_PyModule_GetState:
   63|  10.9k|static inline void* _PyModule_GetState(PyObject* mod) {
   64|       |    return _PyModule_CAST(mod)->md_state;
  ------------------
  |  |   46|  10.9k|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  10.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   65|  10.9k|}
_operator.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|}

bytesobject.c:_PyObject_InitVar:
  496|  12.9M|{
  497|  12.9M|    assert(op != NULL);
  498|  12.9M|    assert(typeobj != &PyLong_Type);
  499|  12.9M|    _PyObject_Init((PyObject *)op, typeobj);
  500|  12.9M|    Py_SET_SIZE(op, size);
  ------------------
  |  |  216|  12.9M|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  12.9M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  501|  12.9M|}
bytesobject.c:_PyObject_Init:
  486|  12.9M|{
  487|  12.9M|    assert(op != NULL);
  488|  12.9M|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|  12.9M|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|  12.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  489|  12.9M|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  490|  12.9M|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  315|  12.9M|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  12.9M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  12.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  12.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  491|  12.9M|    _Py_NewReference(op);
  492|  12.9M|}
bytesobject.c:_PyObject_IsUniquelyReferenced:
  185|  91.8k|{
  186|  91.8k|#if !defined(Py_GIL_DISABLED)
  187|  91.8k|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|  91.8k|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  91.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  91.8k|#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|  91.8k|}
call.c:Py_DECREF_MORTAL:
  453|   148k|{
  454|   148k|    assert(!_Py_IsStaticImmortal(op));
  455|   148k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   148k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  456|   148k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (456:9): [True: 23.2k, False: 125k]
  ------------------
  457|  23.2k|        _Py_Dealloc(op);
  458|  23.2k|    }
  459|   148k|}
floatobject.c:_PyObject_Init:
  486|  1.32k|{
  487|  1.32k|    assert(op != NULL);
  488|  1.32k|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|  1.32k|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|  1.32k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.32k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  489|  1.32k|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  490|  1.32k|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  315|  1.32k|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  1.32k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.32k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.32k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  491|  1.32k|    _Py_NewReference(op);
  492|  1.32k|}
listobject.c:_Py_RefcntAdd:
  135|    118|{
  136|    118|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  137|    118|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|    118|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  138|    118|        return;
  139|    118|    }
  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|  10.0M|{
  487|  10.0M|    assert(op != NULL);
  488|  10.0M|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|  10.0M|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|  10.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  489|  10.0M|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  490|  10.0M|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  315|  10.0M|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  10.0M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  10.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  10.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  491|  10.0M|    _Py_NewReference(op);
  492|  10.0M|}
longobject.c:_Py_DECREF_SPECIALIZED:
  234|  5.76M|{
  235|  5.76M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  5.76M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.76M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.76M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 5.76M]
  |  |  ------------------
  ------------------
  236|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  237|      0|        return;
  238|      0|    }
  239|  5.76M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  5.76M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  240|       |#ifdef Py_REF_DEBUG
  241|       |    _Py_DEC_REFTOTAL(PyInterpreterState_Get());
  242|       |#endif
  243|  5.76M|    if (--op->ob_refcnt != 0) {
  ------------------
  |  Branch (243:9): [True: 0, False: 5.76M]
  ------------------
  244|      0|        assert(op->ob_refcnt > 0);
  245|      0|    }
  246|  5.76M|    else {
  247|       |#ifdef Py_TRACE_REFS
  248|       |        _Py_ForgetReference(op);
  249|       |#endif
  250|       |        _PyReftracerTrack(op, PyRefTracer_DESTROY);
  ------------------
  |  |  112|  5.76M|    do { \
  |  |  113|  5.76M|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  114|  5.76M|        if (tracer->tracer_func != NULL) { \
  |  |  ------------------
  |  |  |  Branch (114:13): [True: 0, False: 5.76M]
  |  |  ------------------
  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  117|      0|        } \
  |  |  118|  5.76M|    } while(0)
  |  |  ------------------
  |  |  |  Branch (118:13): [Folded, False: 5.76M]
  |  |  ------------------
  ------------------
  251|  5.76M|        destruct(op);
  252|  5.76M|    }
  253|  5.76M|}
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|  6.32M|{
 1025|  6.32M|    assert(!_Py_IsStaticImmortal(op));
 1026|  6.32M|    op->ob_refcnt++;
 1027|  6.32M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  6.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|  6.32M|}
dictobject.c:Py_DECREF_MORTAL:
  453|  3.74M|{
  454|  3.74M|    assert(!_Py_IsStaticImmortal(op));
  455|  3.74M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  3.74M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  456|  3.74M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (456:9): [True: 0, False: 3.74M]
  ------------------
  457|      0|        _Py_Dealloc(op);
  458|      0|    }
  459|  3.74M|}
dictobject.c:_PyObject_HashFast:
  842|  49.4M|{
  843|  49.4M|    if (PyUnicode_CheckExact(op)) {
  ------------------
  |  |  104|  49.4M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  49.4M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  49.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  49.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 38.3M, False: 11.1M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  844|  38.3M|        Py_hash_t hash = PyUnstable_Unicode_GET_CACHED_HASH(op);
  845|  38.3M|        if (hash != -1) {
  ------------------
  |  Branch (845:13): [True: 38.1M, False: 134k]
  ------------------
  846|  38.1M|            return hash;
  847|  38.1M|        }
  848|  38.3M|    }
  849|  11.2M|    return PyObject_Hash(op);
  850|  49.4M|}
dictobject.c:_PyObject_ResurrectStart:
  682|  5.19M|{
  683|  5.19M|    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|  5.19M|    Py_SET_REFCNT(op, 1);
  ------------------
  |  |  201|  5.19M|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|  5.19M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.19M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  693|  5.19M|#endif
  694|       |#ifdef Py_TRACE_REFS
  695|       |    _Py_ResurrectReference(op);
  696|       |#endif
  697|  5.19M|}
dictobject.c:_PyObject_ResurrectEnd:
  704|  5.19M|{
  705|       |#ifdef Py_REF_DEBUG
  706|       |    _Py_DecRefTotal(_PyThreadState_GET());
  707|       |#endif
  708|  5.19M|#ifndef Py_GIL_DISABLED
  709|  5.19M|    Py_SET_REFCNT(op, Py_REFCNT(op) - 1);
  ------------------
  |  |  201|  5.19M|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|  5.19M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.19M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  710|  5.19M|    if (Py_REFCNT(op) == 0) {
  ------------------
  |  |  119|  5.19M|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.19M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.19M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (710:9): [True: 5.19M, False: 0]
  ------------------
  711|       |# ifdef Py_TRACE_REFS
  712|       |        _Py_ForgetReference(op);
  713|       |# endif
  714|  5.19M|        return 0;
  715|  5.19M|    }
  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|  5.19M|}
dictobject.c:_PyObject_IsUniquelyReferenced:
  185|   290k|{
  186|   290k|#if !defined(Py_GIL_DISABLED)
  187|   290k|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|   290k|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   290k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   290k|#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|   290k|}
dictobject.c:_PyObject_InlineValues:
  949|  26.9M|{
  950|  26.9M|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|  26.9M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  26.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  26.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  951|  26.9M|    assert(tp->tp_basicsize > 0 && (size_t)tp->tp_basicsize % sizeof(PyObject *) == 0);
  952|  26.9M|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  953|       |    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  954|  26.9M|    return (PyDictValues *)((char *)obj + tp->tp_basicsize);
  955|  26.9M|}
dictobject.c:_PyObject_ManagedDictPointer:
  935|  11.3M|{
  936|  11.3M|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  937|  11.3M|    return (PyManagedDictPointer *)((char *)obj + MANAGED_DICT_OFFSET);
  ------------------
  |  |  925|  11.3M|#  define MANAGED_DICT_OFFSET    (((Py_ssize_t)sizeof(PyObject *))*-3)
  ------------------
  938|  11.3M|}
dictobject.c:_PyObject_GetManagedDict:
  942|  10.7M|{
  943|  10.7M|    PyManagedDictPointer *dorv = _PyObject_ManagedDictPointer(obj);
  944|  10.7M|    return (PyDictObject *)FT_ATOMIC_LOAD_PTR_ACQUIRE(dorv->dict);
  ------------------
  |  |  149|  10.7M|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
  945|  10.7M|}
dictobject.c:_PyType_HasFeature:
  290|   244k|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  291|   244k|    return ((type->tp_flags) & feature) != 0;
  292|   244k|}
object.c:_PyObject_Init:
  486|   102k|{
  487|   102k|    assert(op != NULL);
  488|   102k|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|   102k|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|   102k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   102k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  489|   102k|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  490|   102k|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  315|   102k|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|   102k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   102k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   102k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  491|   102k|    _Py_NewReference(op);
  492|   102k|}
object.c:_PyObject_InitVar:
  496|  85.2k|{
  497|  85.2k|    assert(op != NULL);
  498|  85.2k|    assert(typeobj != &PyLong_Type);
  499|  85.2k|    _PyObject_Init((PyObject *)op, typeobj);
  500|  85.2k|    Py_SET_SIZE(op, size);
  ------------------
  |  |  216|  85.2k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  85.2k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  85.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  501|  85.2k|}
object.c:_PyType_HasFeature:
  290|  11.4M|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  291|  11.4M|    return ((type->tp_flags) & feature) != 0;
  292|  11.4M|}
object.c:_PyObject_ResurrectStart:
  682|  2.21M|{
  683|  2.21M|    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|  2.21M|    Py_SET_REFCNT(op, 1);
  ------------------
  |  |  201|  2.21M|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|  2.21M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.21M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  693|  2.21M|#endif
  694|       |#ifdef Py_TRACE_REFS
  695|       |    _Py_ResurrectReference(op);
  696|       |#endif
  697|  2.21M|}
object.c:_PyObject_ResurrectEnd:
  704|  2.21M|{
  705|       |#ifdef Py_REF_DEBUG
  706|       |    _Py_DecRefTotal(_PyThreadState_GET());
  707|       |#endif
  708|  2.21M|#ifndef Py_GIL_DISABLED
  709|  2.21M|    Py_SET_REFCNT(op, Py_REFCNT(op) - 1);
  ------------------
  |  |  201|  2.21M|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|  2.21M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.21M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  710|  2.21M|    if (Py_REFCNT(op) == 0) {
  ------------------
  |  |  119|  2.21M|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.21M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.21M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (710:9): [True: 2.21M, False: 0]
  ------------------
  711|       |# ifdef Py_TRACE_REFS
  712|       |        _Py_ForgetReference(op);
  713|       |# endif
  714|  2.21M|        return 0;
  715|  2.21M|    }
  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|  2.21M|}
object.c:_PyObject_GetManagedDict:
  942|  6.62M|{
  943|  6.62M|    PyManagedDictPointer *dorv = _PyObject_ManagedDictPointer(obj);
  944|  6.62M|    return (PyDictObject *)FT_ATOMIC_LOAD_PTR_ACQUIRE(dorv->dict);
  ------------------
  |  |  149|  6.62M|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
  945|  6.62M|}
object.c:_PyObject_ManagedDictPointer:
  935|  6.63M|{
  936|  6.63M|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  937|  6.63M|    return (PyManagedDictPointer *)((char *)obj + MANAGED_DICT_OFFSET);
  ------------------
  |  |  925|  6.63M|#  define MANAGED_DICT_OFFSET    (((Py_ssize_t)sizeof(PyObject *))*-3)
  ------------------
  938|  6.63M|}
object.c:Py_DECREF_MORTAL:
  453|  9.22M|{
  454|  9.22M|    assert(!_Py_IsStaticImmortal(op));
  455|  9.22M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  9.22M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  456|  9.22M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (456:9): [True: 2, False: 9.22M]
  ------------------
  457|      2|        _Py_Dealloc(op);
  458|      2|    }
  459|  9.22M|}
object.c:_Py_INCREF_MORTAL:
 1024|  4.43k|{
 1025|  4.43k|    assert(!_Py_IsStaticImmortal(op));
 1026|  4.43k|    op->ob_refcnt++;
 1027|  4.43k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  4.43k|#  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|  4.43k|}
setobject.c:_PyObject_HashFast:
  842|   923k|{
  843|   923k|    if (PyUnicode_CheckExact(op)) {
  ------------------
  |  |  104|   923k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|   923k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   923k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   923k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 589k, False: 334k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  844|   589k|        Py_hash_t hash = PyUnstable_Unicode_GET_CACHED_HASH(op);
  845|   589k|        if (hash != -1) {
  ------------------
  |  Branch (845:13): [True: 495k, False: 94.0k]
  ------------------
  846|   495k|            return hash;
  847|   495k|        }
  848|   589k|    }
  849|   428k|    return PyObject_Hash(op);
  850|   923k|}
setobject.c:_PyObject_IsUniquelyReferenced:
  185|    858|{
  186|    858|#if !defined(Py_GIL_DISABLED)
  187|    858|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|    858|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    858|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    858|#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|    858|}
structseq.c:_PyType_HasFeature:
  290|  38.0k|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  291|  38.0k|    return ((type->tp_flags) & feature) != 0;
  292|  38.0k|}
tupleobject.c:_PyObject_IsUniquelyReferenced:
  185|  3.51k|{
  186|  3.51k|#if !defined(Py_GIL_DISABLED)
  187|  3.51k|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|  3.51k|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.51k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.51k|#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.51k|}
tupleobject.c:_PyType_HasFeature:
  290|  37.6M|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  291|  37.6M|    return ((type->tp_flags) & feature) != 0;
  292|  37.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|  10.7M|{
  855|  10.7M|    return (
  856|  10.7M|#ifndef Py_GIL_DISABLED
  857|  10.7M|        (size_t)_PyType_IS_GC(tp) * sizeof(PyGC_Head) +
  ------------------
  |  |  828|  10.7M|#define _PyType_IS_GC(t) _PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
  |  |  ------------------
  |  |  |  |  524|  10.7M|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  |  |  ------------------
  ------------------
  858|  10.7M|#endif
  859|  10.7M|        (size_t)_PyType_HasFeature(tp, Py_TPFLAGS_PREHEADER) * 2 * sizeof(PyObject *)
  ------------------
  |  |  487|  10.7M|#define Py_TPFLAGS_PREHEADER (Py_TPFLAGS_MANAGED_WEAKREF | Py_TPFLAGS_MANAGED_DICT)
  |  |  ------------------
  |  |  |  |  477|  10.7M|#define Py_TPFLAGS_MANAGED_WEAKREF (1 << 3)
  |  |  ------------------
  |  |               #define Py_TPFLAGS_PREHEADER (Py_TPFLAGS_MANAGED_WEAKREF | Py_TPFLAGS_MANAGED_DICT)
  |  |  ------------------
  |  |  |  |  482|  10.7M|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  |  |  ------------------
  ------------------
  860|  10.7M|    );
  861|  10.7M|}
typeobject.c:_PyObject_Init:
  486|  10.7M|{
  487|  10.7M|    assert(op != NULL);
  488|  10.7M|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|  10.7M|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|  10.7M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  489|  10.7M|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  490|  10.7M|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  315|  10.7M|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  10.7M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  10.7M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  10.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  491|  10.7M|    _Py_NewReference(op);
  492|  10.7M|}
typeobject.c:_PyObject_InitVar:
  496|  58.9k|{
  497|  58.9k|    assert(op != NULL);
  498|  58.9k|    assert(typeobj != &PyLong_Type);
  499|  58.9k|    _PyObject_Init((PyObject *)op, typeobj);
  500|  58.9k|    Py_SET_SIZE(op, size);
  ------------------
  |  |  216|  58.9k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  58.9k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  58.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  501|  58.9k|}
typeobject.c:_PyType_HasFeature:
  290|  43.0M|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  291|  43.0M|    return ((type->tp_flags) & feature) != 0;
  292|  43.0M|}
typeobject.c:Py_DECREF_MORTAL:
  453|  12.7M|{
  454|  12.7M|    assert(!_Py_IsStaticImmortal(op));
  455|  12.7M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  12.7M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  456|  12.7M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (456:9): [True: 0, False: 12.7M]
  ------------------
  457|      0|        _Py_Dealloc(op);
  458|      0|    }
  459|  12.7M|}
typeobject.c:_Py_INCREF_MORTAL:
 1024|  35.6M|{
 1025|  35.6M|    assert(!_Py_IsStaticImmortal(op));
 1026|  35.6M|    op->ob_refcnt++;
 1027|  35.6M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  35.6M|#  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|  35.6M|}
typeobject.c:_PyObject_HashFast:
  842|  3.82M|{
  843|  3.82M|    if (PyUnicode_CheckExact(op)) {
  ------------------
  |  |  104|  3.82M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  3.82M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.82M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.82M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 3.82M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  844|  3.82M|        Py_hash_t hash = PyUnstable_Unicode_GET_CACHED_HASH(op);
  845|  3.82M|        if (hash != -1) {
  ------------------
  |  Branch (845:13): [True: 824k, False: 3.00M]
  ------------------
  846|   824k|            return hash;
  847|   824k|        }
  848|  3.82M|    }
  849|  3.00M|    return PyObject_Hash(op);
  850|  3.82M|}
unicode_format.c:_PyObject_IsUniquelyReferenced:
  185|    512|{
  186|    512|#if !defined(Py_GIL_DISABLED)
  187|    512|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|    512|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    512|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    512|#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|    512|}
unicodeobject.c:_PyObject_Init:
  486|  10.4M|{
  487|  10.4M|    assert(op != NULL);
  488|  10.4M|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|  10.4M|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|  10.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  489|  10.4M|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  490|  10.4M|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  315|  10.4M|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  10.4M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  10.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  10.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  491|  10.4M|    _Py_NewReference(op);
  492|  10.4M|}
unicodeobject.c:_PyObject_IsUniquelyReferenced:
  185|  1.14M|{
  186|  1.14M|#if !defined(Py_GIL_DISABLED)
  187|  1.14M|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|  1.14M|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.14M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.14M|#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.14M|}
weakrefobject.c:_PyType_SUPPORTS_WEAKREFS:
  872|   760k|static inline int _PyType_SUPPORTS_WEAKREFS(PyTypeObject *type) {
  873|   760k|    return (type->tp_weaklistoffset != 0);
  874|   760k|}
weakrefobject.c:_PyObject_GET_WEAKREFS_LISTPTR:
  793|  1.13M|{
  794|  1.13M|    if (PyType_Check(op) &&
  ------------------
  |  |  766|  2.26M|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.13M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.13M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 64.0k, False: 1.06M]
  |  |  ------------------
  ------------------
  795|  64.0k|            ((PyTypeObject *)op)->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  64.0k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (795:13): [True: 50.1k, False: 13.8k]
  ------------------
  796|  50.1k|        PyInterpreterState *interp = _PyInterpreterState_GET();
  797|  50.1k|        managed_static_type_state *state = _PyStaticType_GetState(
  798|  50.1k|                                                interp, (PyTypeObject *)op);
  799|  50.1k|        return _PyStaticType_GET_WEAKREFS_LISTPTR(state);
  800|  50.1k|    }
  801|       |    // Essentially _PyObject_GET_WEAKREFS_LISTPTR_FROM_OFFSET():
  802|  1.08M|    Py_ssize_t offset = Py_TYPE(op)->tp_weaklistoffset;
  ------------------
  |  |  213|  1.08M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.08M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.08M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  803|  1.08M|    return (PyObject **)((char *)op + offset);
  804|  1.13M|}
weakrefobject.c:_Py_TryIncref:
  736|   892k|{
  737|       |#ifdef Py_GIL_DISABLED
  738|       |    return _Py_TryIncrefFast(op) || _Py_TryIncRefShared(op);
  739|       |#else
  740|   892k|    if (Py_REFCNT(op) > 0) {
  ------------------
  |  |  119|   892k|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   892k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   892k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (740:9): [True: 892k, False: 0]
  ------------------
  741|   892k|        Py_INCREF(op);
  ------------------
  |  |  310|   892k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   892k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   892k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  742|   892k|        return 1;
  743|   892k|    }
  744|      0|    return 0;
  745|   892k|#endif
  746|   892k|}
weakrefobject.c:_PyObject_GET_WEAKREFS_LISTPTR_FROM_OFFSET:
  820|  3.55k|{
  821|  3.55k|    assert(!PyType_Check(op) ||
  822|  3.55k|            ((PyTypeObject *)op)->tp_flags & Py_TPFLAGS_HEAPTYPE);
  823|  3.55k|    Py_ssize_t offset = Py_TYPE(op)->tp_weaklistoffset;
  ------------------
  |  |  213|  3.55k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.55k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.55k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  824|  3.55k|    return (PyWeakReference **)((char *)op + offset);
  825|  3.55k|}
bltinmodule.c:_PyObject_IsUniquelyReferenced:
  185|  1.67k|{
  186|  1.67k|#if !defined(Py_GIL_DISABLED)
  187|  1.67k|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|  1.67k|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.67k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.67k|#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.67k|}
bltinmodule.c:_Py_DECREF_SPECIALIZED:
  234|  36.9k|{
  235|  36.9k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  36.9k|#define _Py_IsImmortal(op) _Py_IsImmortal(_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 (137:28): [True: 0, False: 36.9k]
  |  |  ------------------
  ------------------
  236|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  237|      0|        return;
  238|      0|    }
  239|  36.9k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  36.9k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  240|       |#ifdef Py_REF_DEBUG
  241|       |    _Py_DEC_REFTOTAL(PyInterpreterState_Get());
  242|       |#endif
  243|  36.9k|    if (--op->ob_refcnt != 0) {
  ------------------
  |  Branch (243:9): [True: 36.9k, False: 0]
  ------------------
  244|  36.9k|        assert(op->ob_refcnt > 0);
  245|  36.9k|    }
  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|  36.9k|}
ceval.c:Py_DECREF_MORTAL:
  453|   286M|{
  454|   286M|    assert(!_Py_IsStaticImmortal(op));
  455|   286M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   286M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  456|   286M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (456:9): [True: 52.4M, False: 233M]
  ------------------
  457|  52.4M|        _Py_Dealloc(op);
  458|  52.4M|    }
  459|   286M|}
ceval.c:Py_DECREF_MORTAL_SPECIALIZED:
  463|  61.6M|{
  464|  61.6M|    assert(!_Py_IsStaticImmortal(op));
  465|  61.6M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  61.6M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  466|  61.6M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (466:9): [True: 18.9M, False: 42.6M]
  ------------------
  467|       |        _PyReftracerTrack(op, PyRefTracer_DESTROY);
  ------------------
  |  |  112|  18.9M|    do { \
  |  |  113|  18.9M|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  114|  18.9M|        if (tracer->tracer_func != NULL) { \
  |  |  ------------------
  |  |  |  Branch (114:13): [True: 0, False: 18.9M]
  |  |  ------------------
  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  117|      0|        } \
  |  |  118|  18.9M|    } while(0)
  |  |  ------------------
  |  |  |  Branch (118:13): [Folded, False: 18.9M]
  |  |  ------------------
  ------------------
  468|  18.9M|        destruct(op);
  469|  18.9M|    }
  470|  61.6M|}
ceval.c:_Py_INCREF_MORTAL:
 1024|   324M|{
 1025|   324M|    assert(!_Py_IsStaticImmortal(op));
 1026|   324M|    op->ob_refcnt++;
 1027|   324M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|   324M|#  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|   324M|}
ceval.c:_PyObject_InlineValues:
  949|   150M|{
  950|   150M|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|   150M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   150M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   150M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  951|   150M|    assert(tp->tp_basicsize > 0 && (size_t)tp->tp_basicsize % sizeof(PyObject *) == 0);
  952|   150M|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  953|       |    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  954|   150M|    return (PyDictValues *)((char *)obj + tp->tp_basicsize);
  955|   150M|}
ceval.c:_PyObject_GetManagedDict:
  942|  29.0M|{
  943|  29.0M|    PyManagedDictPointer *dorv = _PyObject_ManagedDictPointer(obj);
  944|  29.0M|    return (PyDictObject *)FT_ATOMIC_LOAD_PTR_ACQUIRE(dorv->dict);
  ------------------
  |  |  149|  29.0M|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
  945|  29.0M|}
ceval.c:_PyObject_ManagedDictPointer:
  935|  29.0M|{
  936|  29.0M|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  937|  29.0M|    return (PyManagedDictPointer *)((char *)obj + MANAGED_DICT_OFFSET);
  ------------------
  |  |  925|  29.0M|#  define MANAGED_DICT_OFFSET    (((Py_ssize_t)sizeof(PyObject *))*-3)
  ------------------
  938|  29.0M|}
frame.c:Py_DECREF_MORTAL:
  453|   117M|{
  454|   117M|    assert(!_Py_IsStaticImmortal(op));
  455|   117M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   117M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  456|   117M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (456:9): [True: 18.6M, False: 98.7M]
  ------------------
  457|  18.6M|        _Py_Dealloc(op);
  458|  18.6M|    }
  459|   117M|}
frame.c:_PyObject_IsUniquelyReferenced:
  185|  1.73M|{
  186|  1.73M|#if !defined(Py_GIL_DISABLED)
  187|  1.73M|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|  1.73M|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.73M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.73M|#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.73M|}
frame.c:_Py_INCREF_MORTAL:
 1024|   728k|{
 1025|   728k|    assert(!_Py_IsStaticImmortal(op));
 1026|   728k|    op->ob_refcnt++;
 1027|   728k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|   728k|#  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|   728k|}
gc.c:_PyType_SUPPORTS_WEAKREFS:
  872|  6.61M|static inline int _PyType_SUPPORTS_WEAKREFS(PyTypeObject *type) {
  873|  6.61M|    return (type->tp_weaklistoffset != 0);
  874|  6.61M|}
gc.c:_PyObject_GET_WEAKREFS_LISTPTR_FROM_OFFSET:
  820|  1.69M|{
  821|  1.69M|    assert(!PyType_Check(op) ||
  822|  1.69M|            ((PyTypeObject *)op)->tp_flags & Py_TPFLAGS_HEAPTYPE);
  823|  1.69M|    Py_ssize_t offset = Py_TYPE(op)->tp_weaklistoffset;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  824|  1.69M|    return (PyWeakReference **)((char *)op + offset);
  825|  1.69M|}
gc.c:_PyObject_IS_GC:
  833|  35.1M|{
  834|  35.1M|    PyTypeObject *type = Py_TYPE(obj);
  ------------------
  |  |  213|  35.1M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  35.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  35.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  835|  35.1M|    return (_PyType_IS_GC(type)
  ------------------
  |  |  828|  70.3M|#define _PyType_IS_GC(t) _PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
  |  |  ------------------
  |  |  |  |  524|  35.1M|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  |  |  ------------------
  |  |  |  Branch (828:26): [True: 13.9M, False: 21.2M]
  |  |  ------------------
  ------------------
  836|  13.9M|            && (type->tp_is_gc == NULL || type->tp_is_gc(obj)));
  ------------------
  |  Branch (836:17): [True: 12.9M, False: 935k]
  |  Branch (836:43): [True: 817k, False: 117k]
  ------------------
  837|  35.1M|}
gc.c:_PyType_PreHeaderSize:
  854|  39.4M|{
  855|  39.4M|    return (
  856|  39.4M|#ifndef Py_GIL_DISABLED
  857|  39.4M|        (size_t)_PyType_IS_GC(tp) * sizeof(PyGC_Head) +
  ------------------
  |  |  828|  39.4M|#define _PyType_IS_GC(t) _PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
  |  |  ------------------
  |  |  |  |  524|  39.4M|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  |  |  ------------------
  ------------------
  858|  39.4M|#endif
  859|  39.4M|        (size_t)_PyType_HasFeature(tp, Py_TPFLAGS_PREHEADER) * 2 * sizeof(PyObject *)
  ------------------
  |  |  487|  39.4M|#define Py_TPFLAGS_PREHEADER (Py_TPFLAGS_MANAGED_WEAKREF | Py_TPFLAGS_MANAGED_DICT)
  |  |  ------------------
  |  |  |  |  477|  39.4M|#define Py_TPFLAGS_MANAGED_WEAKREF (1 << 3)
  |  |  ------------------
  |  |               #define Py_TPFLAGS_PREHEADER (Py_TPFLAGS_MANAGED_WEAKREF | Py_TPFLAGS_MANAGED_DICT)
  |  |  ------------------
  |  |  |  |  482|  39.4M|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  |  |  ------------------
  ------------------
  860|  39.4M|    );
  861|  39.4M|}
gc.c:_PyType_HasFeature:
  290|   127M|_PyType_HasFeature(PyTypeObject *type, unsigned long feature) {
  291|   127M|    return ((type->tp_flags) & feature) != 0;
  292|   127M|}
gc.c:_PyObject_Init:
  486|  18.3M|{
  487|  18.3M|    assert(op != NULL);
  488|  18.3M|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|  18.3M|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|  18.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  489|  18.3M|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  490|  18.3M|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  315|  18.3M|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  18.3M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  18.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  18.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  491|  18.3M|    _Py_NewReference(op);
  492|  18.3M|}
gc.c:_PyObject_InitVar:
  496|  5.24M|{
  497|  5.24M|    assert(op != NULL);
  498|  5.24M|    assert(typeobj != &PyLong_Type);
  499|  5.24M|    _PyObject_Init((PyObject *)op, typeobj);
  500|  5.24M|    Py_SET_SIZE(op, size);
  ------------------
  |  |  216|  5.24M|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  5.24M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.24M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  501|  5.24M|}
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|}
marshal.c:_PyObject_IsUniquelyReferenced:
  185|  41.7k|{
  186|  41.7k|#if !defined(Py_GIL_DISABLED)
  187|  41.7k|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|  41.7k|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  41.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.7k|#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|  41.7k|}
specialize.c:_PyObject_GetManagedDict:
  942|  20.0k|{
  943|  20.0k|    PyManagedDictPointer *dorv = _PyObject_ManagedDictPointer(obj);
  944|  20.0k|    return (PyDictObject *)FT_ATOMIC_LOAD_PTR_ACQUIRE(dorv->dict);
  ------------------
  |  |  149|  20.0k|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
  945|  20.0k|}
specialize.c:_PyObject_ManagedDictPointer:
  935|  20.0k|{
  936|  20.0k|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  937|  20.0k|    return (PyManagedDictPointer *)((char *)obj + MANAGED_DICT_OFFSET);
  ------------------
  |  |  925|  20.0k|#  define MANAGED_DICT_OFFSET    (((Py_ssize_t)sizeof(PyObject *))*-3)
  ------------------
  938|  20.0k|}
specialize.c:_PyObject_InlineValues:
  949|  30.8k|{
  950|  30.8k|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|  30.8k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  30.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  30.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  951|  30.8k|    assert(tp->tp_basicsize > 0 && (size_t)tp->tp_basicsize % sizeof(PyObject *) == 0);
  952|  30.8k|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  953|       |    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  954|  30.8k|    return (PyDictValues *)((char *)obj + tp->tp_basicsize);
  955|  30.8k|}
_datetimemodule.c:_PyObject_Init:
  486|  11.7k|{
  487|  11.7k|    assert(op != NULL);
  488|  11.7k|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|  11.7k|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|  11.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  489|  11.7k|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  490|  11.7k|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  315|  11.7k|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  11.7k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  11.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  11.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  491|  11.7k|    _Py_NewReference(op);
  492|  11.7k|}
bytesio.c:_PyObject_IsUniquelyReferenced:
  185|  58.0k|{
  186|  58.0k|#if !defined(Py_GIL_DISABLED)
  187|  58.0k|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|  58.0k|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  58.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  58.0k|#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|  58.0k|}
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|  10.8k|{
  186|  10.8k|#if !defined(Py_GIL_DISABLED)
  187|  10.8k|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|  10.8k|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  10.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.8k|#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|  10.8k|}
codeobject.c:_PyObject_ResurrectStart:
  682|  65.0k|{
  683|  65.0k|    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|  65.0k|    Py_SET_REFCNT(op, 1);
  ------------------
  |  |  201|  65.0k|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|  65.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  65.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  693|  65.0k|#endif
  694|       |#ifdef Py_TRACE_REFS
  695|       |    _Py_ResurrectReference(op);
  696|       |#endif
  697|  65.0k|}
codeobject.c:_PyObject_ResurrectEnd:
  704|  65.0k|{
  705|       |#ifdef Py_REF_DEBUG
  706|       |    _Py_DecRefTotal(_PyThreadState_GET());
  707|       |#endif
  708|  65.0k|#ifndef Py_GIL_DISABLED
  709|  65.0k|    Py_SET_REFCNT(op, Py_REFCNT(op) - 1);
  ------------------
  |  |  201|  65.0k|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|  65.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  65.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  710|  65.0k|    if (Py_REFCNT(op) == 0) {
  ------------------
  |  |  119|  65.0k|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  65.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  65.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (710:9): [True: 65.0k, False: 0]
  ------------------
  711|       |# ifdef Py_TRACE_REFS
  712|       |        _Py_ForgetReference(op);
  713|       |# endif
  714|  65.0k|        return 0;
  715|  65.0k|    }
  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|  65.0k|}
complexobject.c:_PyObject_Init:
  486|      3|{
  487|      3|    assert(op != NULL);
  488|      3|    Py_SET_TYPE(op, typeobj);
  ------------------
  |  |  217|      3|#  define Py_SET_TYPE(ob, type) Py_SET_TYPE(_PyObject_CAST(ob), type)
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  489|      3|    assert(_PyType_HasFeature(typeobj, Py_TPFLAGS_HEAPTYPE) || _Py_IsImmortal(typeobj));
  490|      3|    _Py_INCREF_TYPE(typeobj);
  ------------------
  |  |  315|      3|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|      3|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  491|      3|    _Py_NewReference(op);
  492|      3|}
enumobject.c:_PyObject_IsUniquelyReferenced:
  185|  4.64k|{
  186|  4.64k|#if !defined(Py_GIL_DISABLED)
  187|  4.64k|    return Py_REFCNT(ob) == 1;
  ------------------
  |  |  119|  4.64k|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.64k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.64k|#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.64k|}
genobject.c:Py_DECREF_MORTAL:
  453|  2.18M|{
  454|  2.18M|    assert(!_Py_IsStaticImmortal(op));
  455|  2.18M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  2.18M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  456|  2.18M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (456:9): [True: 0, False: 2.18M]
  ------------------
  457|      0|        _Py_Dealloc(op);
  458|      0|    }
  459|  2.18M|}
frameobject.c:Py_DECREF_MORTAL:
  453|  3.32M|{
  454|  3.32M|    assert(!_Py_IsStaticImmortal(op));
  455|  3.32M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  3.32M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  456|  3.32M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (456:9): [True: 117k, False: 3.20M]
  ------------------
  457|   117k|        _Py_Dealloc(op);
  458|   117k|    }
  459|  3.32M|}
funcobject.c:_PyObject_ResurrectStart:
  682|  3.73M|{
  683|  3.73M|    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.73M|    Py_SET_REFCNT(op, 1);
  ------------------
  |  |  201|  3.73M|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|  3.73M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.73M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  693|  3.73M|#endif
  694|       |#ifdef Py_TRACE_REFS
  695|       |    _Py_ResurrectReference(op);
  696|       |#endif
  697|  3.73M|}
funcobject.c:_PyObject_ResurrectEnd:
  704|  3.73M|{
  705|       |#ifdef Py_REF_DEBUG
  706|       |    _Py_DecRefTotal(_PyThreadState_GET());
  707|       |#endif
  708|  3.73M|#ifndef Py_GIL_DISABLED
  709|  3.73M|    Py_SET_REFCNT(op, Py_REFCNT(op) - 1);
  ------------------
  |  |  201|  3.73M|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|  3.73M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.73M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  710|  3.73M|    if (Py_REFCNT(op) == 0) {
  ------------------
  |  |  119|  3.73M|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.73M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.73M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (710:9): [True: 3.73M, False: 0]
  ------------------
  711|       |# ifdef Py_TRACE_REFS
  712|       |        _Py_ForgetReference(op);
  713|       |# endif
  714|  3.73M|        return 0;
  715|  3.73M|    }
  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.73M|}
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|  10.7M|{
   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|  10.7M|    void *mem = PyObject_Malloc(size);
   47|       |#ifdef Py_GIL_DISABLED
   48|       |    m->current_object_heap = &m->heaps[_Py_MIMALLOC_HEAP_OBJECT];
   49|       |#endif
   50|  10.7M|    return mem;
   51|  10.7M|}
gc.c:_PyObject_MallocWithType:
   40|  18.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|  18.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|  18.3M|    return mem;
   51|  18.3M|}
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|   155k|int _PyOpcode_num_popped(int opcode, int oparg)  {
   38|   155k|    switch(opcode) {
   39|      0|        case ANNOTATIONS_PLACEHOLDER:
  ------------------
  |  |  247|      0|#define ANNOTATIONS_PLACEHOLDER                256
  ------------------
  |  Branch (39:9): [True: 0, False: 155k]
  ------------------
   40|      0|            return 0;
   41|  1.69k|        case BINARY_OP:
  ------------------
  |  |   55|  1.69k|#define BINARY_OP                               42
  ------------------
  |  Branch (41:9): [True: 1.69k, False: 153k]
  ------------------
   42|  1.69k|            return 2;
   43|      0|        case BINARY_OP_ADD_FLOAT:
  ------------------
  |  |  134|      0|#define BINARY_OP_ADD_FLOAT                    129
  ------------------
  |  Branch (43:9): [True: 0, False: 155k]
  ------------------
   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: 155k]
  ------------------
   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: 155k]
  ------------------
   48|      0|            return 2;
   49|      0|        case BINARY_OP_EXTEND:
  ------------------
  |  |  137|      0|#define BINARY_OP_EXTEND                       132
  ------------------
  |  Branch (49:9): [True: 0, False: 155k]
  ------------------
   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: 155k]
  ------------------
   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: 155k]
  ------------------
   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: 155k]
  ------------------
   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: 155k]
  ------------------
   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: 155k]
  ------------------
   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: 155k]
  ------------------
   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: 155k]
  ------------------
   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: 155k]
  ------------------
   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: 155k]
  ------------------
   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: 155k]
  ------------------
   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: 155k]
  ------------------
   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: 155k]
  ------------------
   74|      0|            return 2;
   75|     98|        case BINARY_SLICE:
  ------------------
  |  |   14|     98|#define BINARY_SLICE                             1
  ------------------
  |  Branch (75:9): [True: 98, False: 155k]
  ------------------
   76|     98|            return 3;
   77|      2|        case BUILD_INTERPOLATION:
  ------------------
  |  |   56|      2|#define BUILD_INTERPOLATION                     43
  ------------------
  |  Branch (77:9): [True: 2, False: 155k]
  ------------------
   78|      2|            return 2 + (oparg & 1);
   79|    452|        case BUILD_LIST:
  ------------------
  |  |   57|    452|#define BUILD_LIST                              44
  ------------------
  |  Branch (79:9): [True: 452, False: 154k]
  ------------------
   80|    452|            return oparg;
   81|    675|        case BUILD_MAP:
  ------------------
  |  |   58|    675|#define BUILD_MAP                               45
  ------------------
  |  Branch (81:9): [True: 675, False: 154k]
  ------------------
   82|    675|            return oparg*2;
   83|     42|        case BUILD_SET:
  ------------------
  |  |   59|     42|#define BUILD_SET                               46
  ------------------
  |  Branch (83:9): [True: 42, False: 155k]
  ------------------
   84|     42|            return oparg;
   85|      5|        case BUILD_SLICE:
  ------------------
  |  |   60|      5|#define BUILD_SLICE                             47
  ------------------
  |  Branch (85:9): [True: 5, False: 155k]
  ------------------
   86|      5|            return oparg;
   87|    857|        case BUILD_STRING:
  ------------------
  |  |   61|    857|#define BUILD_STRING                            48
  ------------------
  |  Branch (87:9): [True: 857, False: 154k]
  ------------------
   88|    857|            return oparg;
   89|      2|        case BUILD_TEMPLATE:
  ------------------
  |  |   15|      2|#define BUILD_TEMPLATE                           2
  ------------------
  |  Branch (89:9): [True: 2, False: 155k]
  ------------------
   90|      2|            return 2;
   91|  1.72k|        case BUILD_TUPLE:
  ------------------
  |  |   62|  1.72k|#define BUILD_TUPLE                             49
  ------------------
  |  Branch (91:9): [True: 1.72k, False: 153k]
  ------------------
   92|  1.72k|            return oparg;
   93|      0|        case CACHE:
  ------------------
  |  |   13|      0|#define CACHE                                    0
  ------------------
  |  Branch (93:9): [True: 0, False: 155k]
  ------------------
   94|      0|            return 0;
   95|  11.4k|        case CALL:
  ------------------
  |  |   63|  11.4k|#define CALL                                    50
  ------------------
  |  Branch (95:9): [True: 11.4k, False: 143k]
  ------------------
   96|  11.4k|            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: 155k]
  ------------------
   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: 155k]
  ------------------
  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: 155k]
  ------------------
  102|      0|            return 2 + oparg;
  103|      0|        case CALL_BUILTIN_CLASS:
  ------------------
  |  |  152|      0|#define CALL_BUILTIN_CLASS                     147
  ------------------
  |  Branch (103:9): [True: 0, False: 155k]
  ------------------
  104|      0|            return 2 + oparg;
  105|      0|        case CALL_BUILTIN_FAST:
  ------------------
  |  |  153|      0|#define CALL_BUILTIN_FAST                      148
  ------------------
  |  Branch (105:9): [True: 0, False: 155k]
  ------------------
  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: 155k]
  ------------------
  108|      0|            return 2 + oparg;
  109|      0|        case CALL_BUILTIN_O:
  ------------------
  |  |  155|      0|#define CALL_BUILTIN_O                         150
  ------------------
  |  Branch (109:9): [True: 0, False: 155k]
  ------------------
  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: 155k]
  ------------------
  112|      0|            return 4;
  113|      0|        case CALL_EX_PY:
  ------------------
  |  |  157|      0|#define CALL_EX_PY                             152
  ------------------
  |  Branch (113:9): [True: 0, False: 155k]
  ------------------
  114|      0|            return 4;
  115|    234|        case CALL_FUNCTION_EX:
  ------------------
  |  |   17|    234|#define CALL_FUNCTION_EX                         4
  ------------------
  |  Branch (115:9): [True: 234, False: 155k]
  ------------------
  116|    234|            return 4;
  117|    311|        case CALL_INTRINSIC_1:
  ------------------
  |  |   64|    311|#define CALL_INTRINSIC_1                        51
  ------------------
  |  Branch (117:9): [True: 311, False: 154k]
  ------------------
  118|    311|            return 1;
  119|      0|        case CALL_INTRINSIC_2:
  ------------------
  |  |   65|      0|#define CALL_INTRINSIC_2                        52
  ------------------
  |  Branch (119:9): [True: 0, False: 155k]
  ------------------
  120|      0|            return 2;
  121|      0|        case CALL_ISINSTANCE:
  ------------------
  |  |  158|      0|#define CALL_ISINSTANCE                        153
  ------------------
  |  Branch (121:9): [True: 0, False: 155k]
  ------------------
  122|      0|            return 4;
  123|    590|        case CALL_KW:
  ------------------
  |  |   66|    590|#define CALL_KW                                 53
  ------------------
  |  Branch (123:9): [True: 590, False: 154k]
  ------------------
  124|    590|            return 3 + oparg;
  125|      0|        case CALL_KW_BOUND_METHOD:
  ------------------
  |  |  159|      0|#define CALL_KW_BOUND_METHOD                   154
  ------------------
  |  Branch (125:9): [True: 0, False: 155k]
  ------------------
  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: 155k]
  ------------------
  128|      0|            return 3 + oparg;
  129|      0|        case CALL_KW_PY:
  ------------------
  |  |  161|      0|#define CALL_KW_PY                             156
  ------------------
  |  Branch (129:9): [True: 0, False: 155k]
  ------------------
  130|      0|            return 3 + oparg;
  131|      0|        case CALL_LEN:
  ------------------
  |  |  162|      0|#define CALL_LEN                               157
  ------------------
  |  Branch (131:9): [True: 0, False: 155k]
  ------------------
  132|      0|            return 3;
  133|      0|        case CALL_LIST_APPEND:
  ------------------
  |  |  163|      0|#define CALL_LIST_APPEND                       158
  ------------------
  |  Branch (133:9): [True: 0, False: 155k]
  ------------------
  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: 155k]
  ------------------
  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: 155k]
  ------------------
  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: 155k]
  ------------------
  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: 155k]
  ------------------
  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: 155k]
  ------------------
  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: 155k]
  ------------------
  146|      0|            return 2 + oparg;
  147|      0|        case CALL_PY_GENERAL:
  ------------------
  |  |  170|      0|#define CALL_PY_GENERAL                        165
  ------------------
  |  Branch (147:9): [True: 0, False: 155k]
  ------------------
  148|      0|            return 2 + oparg;
  149|      0|        case CALL_STR_1:
  ------------------
  |  |  171|      0|#define CALL_STR_1                             166
  ------------------
  |  Branch (149:9): [True: 0, False: 155k]
  ------------------
  150|      0|            return 3;
  151|      0|        case CALL_TUPLE_1:
  ------------------
  |  |  172|      0|#define CALL_TUPLE_1                           167
  ------------------
  |  Branch (151:9): [True: 0, False: 155k]
  ------------------
  152|      0|            return 3;
  153|      0|        case CALL_TYPE_1:
  ------------------
  |  |  173|      0|#define CALL_TYPE_1                            168
  ------------------
  |  Branch (153:9): [True: 0, False: 155k]
  ------------------
  154|      0|            return 3;
  155|      0|        case CHECK_EG_MATCH:
  ------------------
  |  |   18|      0|#define CHECK_EG_MATCH                           5
  ------------------
  |  Branch (155:9): [True: 0, False: 155k]
  ------------------
  156|      0|            return 2;
  157|    310|        case CHECK_EXC_MATCH:
  ------------------
  |  |   19|    310|#define CHECK_EXC_MATCH                          6
  ------------------
  |  Branch (157:9): [True: 310, False: 155k]
  ------------------
  158|    310|            return 2;
  159|    152|        case CLEANUP_THROW:
  ------------------
  |  |   20|    152|#define CLEANUP_THROW                            7
  ------------------
  |  Branch (159:9): [True: 152, False: 155k]
  ------------------
  160|    152|            return 4;
  161|  1.49k|        case COMPARE_OP:
  ------------------
  |  |   67|  1.49k|#define COMPARE_OP                              54
  ------------------
  |  Branch (161:9): [True: 1.49k, False: 153k]
  ------------------
  162|  1.49k|            return 2;
  163|      0|        case COMPARE_OP_FLOAT:
  ------------------
  |  |  174|      0|#define COMPARE_OP_FLOAT                       169
  ------------------
  |  Branch (163:9): [True: 0, False: 155k]
  ------------------
  164|      0|            return 2;
  165|      0|        case COMPARE_OP_INT:
  ------------------
  |  |  175|      0|#define COMPARE_OP_INT                         170
  ------------------
  |  Branch (165:9): [True: 0, False: 155k]
  ------------------
  166|      0|            return 2;
  167|      0|        case COMPARE_OP_STR:
  ------------------
  |  |  176|      0|#define COMPARE_OP_STR                         171
  ------------------
  |  Branch (167:9): [True: 0, False: 155k]
  ------------------
  168|      0|            return 2;
  169|    339|        case CONTAINS_OP:
  ------------------
  |  |   68|    339|#define CONTAINS_OP                             55
  ------------------
  |  Branch (169:9): [True: 339, False: 154k]
  ------------------
  170|    339|            return 2;
  171|      0|        case CONTAINS_OP_DICT:
  ------------------
  |  |  177|      0|#define CONTAINS_OP_DICT                       172
  ------------------
  |  Branch (171:9): [True: 0, False: 155k]
  ------------------
  172|      0|            return 2;
  173|      0|        case CONTAINS_OP_SET:
  ------------------
  |  |  178|      0|#define CONTAINS_OP_SET                        173
  ------------------
  |  Branch (173:9): [True: 0, False: 155k]
  ------------------
  174|      0|            return 2;
  175|  1.05k|        case CONVERT_VALUE:
  ------------------
  |  |   69|  1.05k|#define CONVERT_VALUE                           56
  ------------------
  |  Branch (175:9): [True: 1.05k, False: 154k]
  ------------------
  176|  1.05k|            return 1;
  177|    806|        case COPY:
  ------------------
  |  |   70|    806|#define COPY                                    57
  ------------------
  |  Branch (177:9): [True: 806, False: 154k]
  ------------------
  178|    806|            return 1 + (oparg-1);
  179|    340|        case COPY_FREE_VARS:
  ------------------
  |  |   71|    340|#define COPY_FREE_VARS                          58
  ------------------
  |  Branch (179:9): [True: 340, False: 154k]
  ------------------
  180|    340|            return 0;
  181|      8|        case DELETE_ATTR:
  ------------------
  |  |   72|      8|#define DELETE_ATTR                             59
  ------------------
  |  Branch (181:9): [True: 8, False: 155k]
  ------------------
  182|      8|            return 1;
  183|      9|        case DELETE_DEREF:
  ------------------
  |  |   73|      9|#define DELETE_DEREF                            60
  ------------------
  |  Branch (183:9): [True: 9, False: 155k]
  ------------------
  184|      9|            return 0;
  185|    200|        case DELETE_FAST:
  ------------------
  |  |   74|    200|#define DELETE_FAST                             61
  ------------------
  |  Branch (185:9): [True: 200, False: 155k]
  ------------------
  186|    200|            return 0;
  187|      0|        case DELETE_GLOBAL:
  ------------------
  |  |   75|      0|#define DELETE_GLOBAL                           62
  ------------------
  |  Branch (187:9): [True: 0, False: 155k]
  ------------------
  188|      0|            return 0;
  189|      2|        case DELETE_NAME:
  ------------------
  |  |   76|      2|#define DELETE_NAME                             63
  ------------------
  |  Branch (189:9): [True: 2, False: 155k]
  ------------------
  190|      2|            return 0;
  191|     53|        case DELETE_SUBSCR:
  ------------------
  |  |   21|     53|#define DELETE_SUBSCR                            8
  ------------------
  |  Branch (191:9): [True: 53, False: 155k]
  ------------------
  192|     53|            return 2;
  193|    170|        case DICT_MERGE:
  ------------------
  |  |   77|    170|#define DICT_MERGE                              64
  ------------------
  |  Branch (193:9): [True: 170, False: 155k]
  ------------------
  194|    170|            return 5 + (oparg - 1);
  195|      0|        case DICT_UPDATE:
  ------------------
  |  |   78|      0|#define DICT_UPDATE                             65
  ------------------
  |  Branch (195:9): [True: 0, False: 155k]
  ------------------
  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: 155k]
  ------------------
  198|      0|            return 2;
  199|    592|        case END_FOR:
  ------------------
  |  |   22|    592|#define END_FOR                                  9
  ------------------
  |  Branch (199:9): [True: 592, False: 154k]
  ------------------
  200|    592|            return 1;
  201|    152|        case END_SEND:
  ------------------
  |  |   23|    152|#define END_SEND                                10
  ------------------
  |  Branch (201:9): [True: 152, False: 155k]
  ------------------
  202|    152|            return 3;
  203|      0|        case ENTER_EXECUTOR:
  ------------------
  |  |  245|      0|#define ENTER_EXECUTOR                         254
  ------------------
  |  Branch (203:9): [True: 0, False: 155k]
  ------------------
  204|      0|            return 0;
  205|      0|        case EXIT_INIT_CHECK:
  ------------------
  |  |   24|      0|#define EXIT_INIT_CHECK                         11
  ------------------
  |  Branch (205:9): [True: 0, False: 155k]
  ------------------
  206|      0|            return 1;
  207|      0|        case EXTENDED_ARG:
  ------------------
  |  |   80|      0|#define EXTENDED_ARG                            67
  ------------------
  |  Branch (207:9): [True: 0, False: 155k]
  ------------------
  208|      0|            return 0;
  209|  1.72k|        case FORMAT_SIMPLE:
  ------------------
  |  |   25|  1.72k|#define FORMAT_SIMPLE                           12
  ------------------
  |  Branch (209:9): [True: 1.72k, False: 153k]
  ------------------
  210|  1.72k|            return 1;
  211|     12|        case FORMAT_WITH_SPEC:
  ------------------
  |  |   26|     12|#define FORMAT_WITH_SPEC                        13
  ------------------
  |  Branch (211:9): [True: 12, False: 155k]
  ------------------
  212|     12|            return 2;
  213|    604|        case FOR_ITER:
  ------------------
  |  |   81|    604|#define FOR_ITER                                68
  ------------------
  |  Branch (213:9): [True: 604, False: 154k]
  ------------------
  214|    604|            return 2;
  215|      0|        case FOR_ITER_GEN:
  ------------------
  |  |  179|      0|#define FOR_ITER_GEN                           174
  ------------------
  |  Branch (215:9): [True: 0, False: 155k]
  ------------------
  216|      0|            return 2;
  217|      0|        case FOR_ITER_LIST:
  ------------------
  |  |  180|      0|#define FOR_ITER_LIST                          175
  ------------------
  |  Branch (217:9): [True: 0, False: 155k]
  ------------------
  218|      0|            return 2;
  219|      0|        case FOR_ITER_RANGE:
  ------------------
  |  |  181|      0|#define FOR_ITER_RANGE                         176
  ------------------
  |  Branch (219:9): [True: 0, False: 155k]
  ------------------
  220|      0|            return 2;
  221|      0|        case FOR_ITER_TUPLE:
  ------------------
  |  |  182|      0|#define FOR_ITER_TUPLE                         177
  ------------------
  |  Branch (221:9): [True: 0, False: 155k]
  ------------------
  222|      0|            return 2;
  223|      0|        case FOR_ITER_VIRTUAL:
  ------------------
  |  |  183|      0|#define FOR_ITER_VIRTUAL                       178
  ------------------
  |  Branch (223:9): [True: 0, False: 155k]
  ------------------
  224|      0|            return 2;
  225|      0|        case GET_AITER:
  ------------------
  |  |   27|      0|#define GET_AITER                               14
  ------------------
  |  Branch (225:9): [True: 0, False: 155k]
  ------------------
  226|      0|            return 1;
  227|      0|        case GET_ANEXT:
  ------------------
  |  |   28|      0|#define GET_ANEXT                               15
  ------------------
  |  Branch (227:9): [True: 0, False: 155k]
  ------------------
  228|      0|            return 1;
  229|    267|        case GET_AWAITABLE:
  ------------------
  |  |   82|    267|#define GET_AWAITABLE                           69
  ------------------
  |  Branch (229:9): [True: 267, False: 155k]
  ------------------
  230|    267|            return 1;
  231|    586|        case GET_ITER:
  ------------------
  |  |   83|    586|#define GET_ITER                                70
  ------------------
  |  Branch (231:9): [True: 586, False: 154k]
  ------------------
  232|    586|            return 1;
  233|      0|        case GET_ITER_SELF:
  ------------------
  |  |  184|      0|#define GET_ITER_SELF                          179
  ------------------
  |  Branch (233:9): [True: 0, False: 155k]
  ------------------
  234|      0|            return 1;
  235|      0|        case GET_ITER_VIRTUAL:
  ------------------
  |  |  185|      0|#define GET_ITER_VIRTUAL                       180
  ------------------
  |  Branch (235:9): [True: 0, False: 155k]
  ------------------
  236|      0|            return 1;
  237|      0|        case GET_LEN:
  ------------------
  |  |   29|      0|#define GET_LEN                                 16
  ------------------
  |  Branch (237:9): [True: 0, False: 155k]
  ------------------
  238|      0|            return 1;
  239|    588|        case IMPORT_FROM:
  ------------------
  |  |   84|    588|#define IMPORT_FROM                             71
  ------------------
  |  Branch (239:9): [True: 588, False: 154k]
  ------------------
  240|    588|            return 1;
  241|    894|        case IMPORT_NAME:
  ------------------
  |  |   85|    894|#define IMPORT_NAME                             72
  ------------------
  |  Branch (241:9): [True: 894, False: 154k]
  ------------------
  242|    894|            return 2;
  243|      0|        case INSTRUMENTED_CALL:
  ------------------
  |  |  240|      0|#define INSTRUMENTED_CALL                      249
  ------------------
  |  Branch (243:9): [True: 0, False: 155k]
  ------------------
  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: 155k]
  ------------------
  246|      0|            return 4;
  247|      0|        case INSTRUMENTED_CALL_KW:
  ------------------
  |  |  241|      0|#define INSTRUMENTED_CALL_KW                   250
  ------------------
  |  Branch (247:9): [True: 0, False: 155k]
  ------------------
  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: 155k]
  ------------------
  250|      0|            return 2;
  251|      0|        case INSTRUMENTED_END_FOR:
  ------------------
  |  |  224|      0|#define INSTRUMENTED_END_FOR                   233
  ------------------
  |  Branch (251:9): [True: 0, False: 155k]
  ------------------
  252|      0|            return 3;
  253|      0|        case INSTRUMENTED_END_SEND:
  ------------------
  |  |  226|      0|#define INSTRUMENTED_END_SEND                  235
  ------------------
  |  Branch (253:9): [True: 0, False: 155k]
  ------------------
  254|      0|            return 3;
  255|      0|        case INSTRUMENTED_FOR_ITER:
  ------------------
  |  |  227|      0|#define INSTRUMENTED_FOR_ITER                  236
  ------------------
  |  Branch (255:9): [True: 0, False: 155k]
  ------------------
  256|      0|            return 2;
  257|      0|        case INSTRUMENTED_INSTRUCTION:
  ------------------
  |  |  228|      0|#define INSTRUMENTED_INSTRUCTION               237
  ------------------
  |  Branch (257:9): [True: 0, False: 155k]
  ------------------
  258|      0|            return 0;
  259|      0|        case INSTRUMENTED_JUMP_BACKWARD:
  ------------------
  |  |  243|      0|#define INSTRUMENTED_JUMP_BACKWARD             252
  ------------------
  |  Branch (259:9): [True: 0, False: 155k]
  ------------------
  260|      0|            return 0;
  261|      0|        case INSTRUMENTED_JUMP_FORWARD:
  ------------------
  |  |  229|      0|#define INSTRUMENTED_JUMP_FORWARD              238
  ------------------
  |  Branch (261:9): [True: 0, False: 155k]
  ------------------
  262|      0|            return 0;
  263|      0|        case INSTRUMENTED_LINE:
  ------------------
  |  |  244|      0|#define INSTRUMENTED_LINE                      253
  ------------------
  |  Branch (263:9): [True: 0, False: 155k]
  ------------------
  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: 155k]
  ------------------
  266|      0|            return 3;
  267|      0|        case INSTRUMENTED_NOT_TAKEN:
  ------------------
  |  |  230|      0|#define INSTRUMENTED_NOT_TAKEN                 239
  ------------------
  |  Branch (267:9): [True: 0, False: 155k]
  ------------------
  268|      0|            return 0;
  269|      0|        case INSTRUMENTED_POP_ITER:
  ------------------
  |  |  225|      0|#define INSTRUMENTED_POP_ITER                  234
  ------------------
  |  Branch (269:9): [True: 0, False: 155k]
  ------------------
  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: 155k]
  ------------------
  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: 155k]
  ------------------
  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: 155k]
  ------------------
  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: 155k]
  ------------------
  278|      0|            return 1;
  279|      0|        case INSTRUMENTED_RESUME:
  ------------------
  |  |  235|      0|#define INSTRUMENTED_RESUME                    244
  ------------------
  |  Branch (279:9): [True: 0, False: 155k]
  ------------------
  280|      0|            return 0;
  281|      0|        case INSTRUMENTED_RETURN_VALUE:
  ------------------
  |  |  236|      0|#define INSTRUMENTED_RETURN_VALUE              245
  ------------------
  |  Branch (281:9): [True: 0, False: 155k]
  ------------------
  282|      0|            return 1;
  283|      0|        case INSTRUMENTED_YIELD_VALUE:
  ------------------
  |  |  237|      0|#define INSTRUMENTED_YIELD_VALUE               246
  ------------------
  |  Branch (283:9): [True: 0, False: 155k]
  ------------------
  284|      0|            return 1;
  285|      0|        case INTERPRETER_EXIT:
  ------------------
  |  |   31|      0|#define INTERPRETER_EXIT                        18
  ------------------
  |  Branch (285:9): [True: 0, False: 155k]
  ------------------
  286|      0|            return 1;
  287|    563|        case IS_OP:
  ------------------
  |  |   86|    563|#define IS_OP                                   73
  ------------------
  |  Branch (287:9): [True: 563, False: 154k]
  ------------------
  288|    563|            return 2;
  289|  1.50k|        case JUMP:
  ------------------
  |  |  248|  1.50k|#define JUMP                                   257
  ------------------
  |  Branch (289:9): [True: 1.50k, False: 153k]
  ------------------
  290|  1.50k|            return 0;
  291|      0|        case JUMP_BACKWARD:
  ------------------
  |  |   87|      0|#define JUMP_BACKWARD                           74
  ------------------
  |  Branch (291:9): [True: 0, False: 155k]
  ------------------
  292|      0|            return 0;
  293|      0|        case JUMP_BACKWARD_JIT:
  ------------------
  |  |  186|      0|#define JUMP_BACKWARD_JIT                      181
  ------------------
  |  Branch (293:9): [True: 0, False: 155k]
  ------------------
  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: 155k]
  ------------------
  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: 155k]
  ------------------
  298|      0|            return 0;
  299|      0|        case JUMP_FORWARD:
  ------------------
  |  |   89|      0|#define JUMP_FORWARD                            76
  ------------------
  |  Branch (299:9): [True: 0, False: 155k]
  ------------------
  300|      0|            return 0;
  301|      0|        case JUMP_IF_FALSE:
  ------------------
  |  |  249|      0|#define JUMP_IF_FALSE                          258
  ------------------
  |  Branch (301:9): [True: 0, False: 155k]
  ------------------
  302|      0|            return 1;
  303|      0|        case JUMP_IF_TRUE:
  ------------------
  |  |  250|      0|#define JUMP_IF_TRUE                           259
  ------------------
  |  Branch (303:9): [True: 0, False: 155k]
  ------------------
  304|      0|            return 1;
  305|  1.98k|        case JUMP_NO_INTERRUPT:
  ------------------
  |  |  251|  1.98k|#define JUMP_NO_INTERRUPT                      260
  ------------------
  |  Branch (305:9): [True: 1.98k, False: 153k]
  ------------------
  306|  1.98k|            return 0;
  307|     76|        case LIST_APPEND:
  ------------------
  |  |   90|     76|#define LIST_APPEND                             77
  ------------------
  |  Branch (307:9): [True: 76, False: 155k]
  ------------------
  308|     76|            return 2 + (oparg-1);
  309|     66|        case LIST_EXTEND:
  ------------------
  |  |   91|     66|#define LIST_EXTEND                             78
  ------------------
  |  Branch (309:9): [True: 66, False: 155k]
  ------------------
  310|     66|            return 2 + (oparg-1);
  311|  7.97k|        case LOAD_ATTR:
  ------------------
  |  |   92|  7.97k|#define LOAD_ATTR                               79
  ------------------
  |  Branch (311:9): [True: 7.97k, False: 147k]
  ------------------
  312|  7.97k|            return 1;
  313|      0|        case LOAD_ATTR_CLASS:
  ------------------
  |  |  188|      0|#define LOAD_ATTR_CLASS                        183
  ------------------
  |  Branch (313:9): [True: 0, False: 155k]
  ------------------
  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: 155k]
  ------------------
  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: 155k]
  ------------------
  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: 155k]
  ------------------
  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: 155k]
  ------------------
  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: 155k]
  ------------------
  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: 155k]
  ------------------
  326|      0|            return 1;
  327|      0|        case LOAD_ATTR_MODULE:
  ------------------
  |  |  195|      0|#define LOAD_ATTR_MODULE                       190
  ------------------
  |  Branch (327:9): [True: 0, False: 155k]
  ------------------
  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: 155k]
  ------------------
  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: 155k]
  ------------------
  332|      0|            return 1;
  333|      0|        case LOAD_ATTR_PROPERTY:
  ------------------
  |  |  198|      0|#define LOAD_ATTR_PROPERTY                     193
  ------------------
  |  Branch (333:9): [True: 0, False: 155k]
  ------------------
  334|      0|            return 1;
  335|      0|        case LOAD_ATTR_SLOT:
  ------------------
  |  |  199|      0|#define LOAD_ATTR_SLOT                         194
  ------------------
  |  Branch (335:9): [True: 0, False: 155k]
  ------------------
  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: 155k]
  ------------------
  338|      0|            return 1;
  339|    298|        case LOAD_BUILD_CLASS:
  ------------------
  |  |   32|    298|#define LOAD_BUILD_CLASS                        19
  ------------------
  |  Branch (339:9): [True: 298, False: 155k]
  ------------------
  340|    298|            return 0;
  341|    628|        case LOAD_CLOSURE:
  ------------------
  |  |  252|    628|#define LOAD_CLOSURE                           261
  ------------------
  |  Branch (341:9): [True: 628, False: 154k]
  ------------------
  342|    628|            return 0;
  343|  7.60k|        case LOAD_COMMON_CONSTANT:
  ------------------
  |  |   93|  7.60k|#define LOAD_COMMON_CONSTANT                    80
  ------------------
  |  Branch (343:9): [True: 7.60k, False: 147k]
  ------------------
  344|  7.60k|            return 0;
  345|  13.1k|        case LOAD_CONST:
  ------------------
  |  |   94|  13.1k|#define LOAD_CONST                              81
  ------------------
  |  Branch (345:9): [True: 13.1k, False: 142k]
  ------------------
  346|  13.1k|            return 0;
  347|  1.94k|        case LOAD_DEREF:
  ------------------
  |  |   95|  1.94k|#define LOAD_DEREF                              82
  ------------------
  |  Branch (347:9): [True: 1.94k, False: 153k]
  ------------------
  348|  1.94k|            return 0;
  349|  11.8k|        case LOAD_FAST:
  ------------------
  |  |   96|  11.8k|#define LOAD_FAST                               83
  ------------------
  |  Branch (349:9): [True: 11.8k, False: 143k]
  ------------------
  350|  11.8k|            return 0;
  351|     51|        case LOAD_FAST_AND_CLEAR:
  ------------------
  |  |   97|     51|#define LOAD_FAST_AND_CLEAR                     84
  ------------------
  |  Branch (351:9): [True: 51, False: 155k]
  ------------------
  352|     51|            return 0;
  353|      0|        case LOAD_FAST_BORROW:
  ------------------
  |  |   98|      0|#define LOAD_FAST_BORROW                        85
  ------------------
  |  Branch (353:9): [True: 0, False: 155k]
  ------------------
  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: 155k]
  ------------------
  356|      0|            return 0;
  357|     59|        case LOAD_FAST_CHECK:
  ------------------
  |  |  100|     59|#define LOAD_FAST_CHECK                         87
  ------------------
  |  Branch (357:9): [True: 59, False: 155k]
  ------------------
  358|     59|            return 0;
  359|  1.89k|        case LOAD_FAST_LOAD_FAST:
  ------------------
  |  |  101|  1.89k|#define LOAD_FAST_LOAD_FAST                     88
  ------------------
  |  Branch (359:9): [True: 1.89k, False: 153k]
  ------------------
  360|  1.89k|            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: 155k]
  ------------------
  362|      0|            return 1;
  363|     44|        case LOAD_FROM_DICT_OR_GLOBALS:
  ------------------
  |  |  103|     44|#define LOAD_FROM_DICT_OR_GLOBALS               90
  ------------------
  |  Branch (363:9): [True: 44, False: 155k]
  ------------------
  364|     44|            return 1;
  365|  8.00k|        case LOAD_GLOBAL:
  ------------------
  |  |  104|  8.00k|#define LOAD_GLOBAL                             91
  ------------------
  |  Branch (365:9): [True: 8.00k, False: 147k]
  ------------------
  366|  8.00k|            return 0;
  367|      0|        case LOAD_GLOBAL_BUILTIN:
  ------------------
  |  |  201|      0|#define LOAD_GLOBAL_BUILTIN                    196
  ------------------
  |  Branch (367:9): [True: 0, False: 155k]
  ------------------
  368|      0|            return 0;
  369|      0|        case LOAD_GLOBAL_MODULE:
  ------------------
  |  |  202|      0|#define LOAD_GLOBAL_MODULE                     197
  ------------------
  |  Branch (369:9): [True: 0, False: 155k]
  ------------------
  370|      0|            return 0;
  371|    238|        case LOAD_LOCALS:
  ------------------
  |  |   33|    238|#define LOAD_LOCALS                             20
  ------------------
  |  Branch (371:9): [True: 238, False: 155k]
  ------------------
  372|    238|            return 0;
  373|  1.50k|        case LOAD_NAME:
  ------------------
  |  |  105|  1.50k|#define LOAD_NAME                               92
  ------------------
  |  Branch (373:9): [True: 1.50k, False: 153k]
  ------------------
  374|  1.50k|            return 0;
  375|  2.59k|        case LOAD_SMALL_INT:
  ------------------
  |  |  106|  2.59k|#define LOAD_SMALL_INT                          93
  ------------------
  |  Branch (375:9): [True: 2.59k, False: 152k]
  ------------------
  376|  2.59k|            return 0;
  377|    104|        case LOAD_SPECIAL:
  ------------------
  |  |  107|    104|#define LOAD_SPECIAL                            94
  ------------------
  |  Branch (377:9): [True: 104, False: 155k]
  ------------------
  378|    104|            return 1;
  379|    116|        case LOAD_SUPER_ATTR:
  ------------------
  |  |  108|    116|#define LOAD_SUPER_ATTR                         95
  ------------------
  |  Branch (379:9): [True: 116, False: 155k]
  ------------------
  380|    116|            return 3;
  381|      0|        case LOAD_SUPER_ATTR_ATTR:
  ------------------
  |  |  203|      0|#define LOAD_SUPER_ATTR_ATTR                   198
  ------------------
  |  Branch (381:9): [True: 0, False: 155k]
  ------------------
  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: 155k]
  ------------------
  384|      0|            return 3;
  385|    458|        case MAKE_CELL:
  ------------------
  |  |  109|    458|#define MAKE_CELL                               96
  ------------------
  |  Branch (385:9): [True: 458, False: 154k]
  ------------------
  386|    458|            return 0;
  387|  4.35k|        case MAKE_FUNCTION:
  ------------------
  |  |   34|  4.35k|#define MAKE_FUNCTION                           21
  ------------------
  |  Branch (387:9): [True: 4.35k, False: 150k]
  ------------------
  388|  4.35k|            return 1;
  389|      4|        case MAP_ADD:
  ------------------
  |  |  110|      4|#define MAP_ADD                                 97
  ------------------
  |  Branch (389:9): [True: 4, False: 155k]
  ------------------
  390|      4|            return 3 + (oparg - 1);
  391|      0|        case MATCH_CLASS:
  ------------------
  |  |  111|      0|#define MATCH_CLASS                             98
  ------------------
  |  Branch (391:9): [True: 0, False: 155k]
  ------------------
  392|      0|            return 3;
  393|      0|        case MATCH_KEYS:
  ------------------
  |  |   35|      0|#define MATCH_KEYS                              22
  ------------------
  |  Branch (393:9): [True: 0, False: 155k]
  ------------------
  394|      0|            return 2;
  395|      0|        case MATCH_MAPPING:
  ------------------
  |  |   36|      0|#define MATCH_MAPPING                           23
  ------------------
  |  Branch (395:9): [True: 0, False: 155k]
  ------------------
  396|      0|            return 1;
  397|      0|        case MATCH_SEQUENCE:
  ------------------
  |  |   37|      0|#define MATCH_SEQUENCE                          24
  ------------------
  |  Branch (397:9): [True: 0, False: 155k]
  ------------------
  398|      0|            return 1;
  399|    393|        case NOP:
  ------------------
  |  |   38|    393|#define NOP                                     25
  ------------------
  |  Branch (399:9): [True: 393, False: 154k]
  ------------------
  400|    393|            return 0;
  401|  3.03k|        case NOT_TAKEN:
  ------------------
  |  |   39|  3.03k|#define NOT_TAKEN                               26
  ------------------
  |  Branch (401:9): [True: 3.03k, False: 152k]
  ------------------
  402|  3.03k|            return 0;
  403|      0|        case POP_BLOCK:
  ------------------
  |  |  253|      0|#define POP_BLOCK                              262
  ------------------
  |  Branch (403:9): [True: 0, False: 155k]
  ------------------
  404|      0|            return 0;
  405|    673|        case POP_EXCEPT:
  ------------------
  |  |   40|    673|#define POP_EXCEPT                              27
  ------------------
  |  Branch (405:9): [True: 673, False: 154k]
  ------------------
  406|    673|            return 1;
  407|    612|        case POP_ITER:
  ------------------
  |  |   41|    612|#define POP_ITER                                28
  ------------------
  |  Branch (407:9): [True: 612, False: 154k]
  ------------------
  408|    612|            return 2;
  409|  6.44k|        case POP_JUMP_IF_FALSE:
  ------------------
  |  |  112|  6.44k|#define POP_JUMP_IF_FALSE                       99
  ------------------
  |  Branch (409:9): [True: 6.44k, False: 148k]
  ------------------
  410|  6.44k|            return 1;
  411|  1.09k|        case POP_JUMP_IF_NONE:
  ------------------
  |  |  113|  1.09k|#define POP_JUMP_IF_NONE                       100
  ------------------
  |  Branch (411:9): [True: 1.09k, False: 154k]
  ------------------
  412|  1.09k|            return 1;
  413|    630|        case POP_JUMP_IF_NOT_NONE:
  ------------------
  |  |  114|    630|#define POP_JUMP_IF_NOT_NONE                   101
  ------------------
  |  Branch (413:9): [True: 630, False: 154k]
  ------------------
  414|    630|            return 1;
  415|  1.86k|        case POP_JUMP_IF_TRUE:
  ------------------
  |  |  115|  1.86k|#define POP_JUMP_IF_TRUE                       102
  ------------------
  |  Branch (415:9): [True: 1.86k, False: 153k]
  ------------------
  416|  1.86k|            return 1;
  417|  6.47k|        case POP_TOP:
  ------------------
  |  |   42|  6.47k|#define POP_TOP                                 29
  ------------------
  |  Branch (417:9): [True: 6.47k, False: 148k]
  ------------------
  418|  6.47k|            return 1;
  419|    367|        case PUSH_EXC_INFO:
  ------------------
  |  |   43|    367|#define PUSH_EXC_INFO                           30
  ------------------
  |  Branch (419:9): [True: 367, False: 154k]
  ------------------
  420|    367|            return 1;
  421|  2.78k|        case PUSH_NULL:
  ------------------
  |  |   44|  2.78k|#define PUSH_NULL                               31
  ------------------
  |  Branch (421:9): [True: 2.78k, False: 152k]
  ------------------
  422|  2.78k|            return 0;
  423|  1.27k|        case RAISE_VARARGS:
  ------------------
  |  |  116|  1.27k|#define RAISE_VARARGS                          103
  ------------------
  |  Branch (423:9): [True: 1.27k, False: 154k]
  ------------------
  424|  1.27k|            return oparg;
  425|  1.07k|        case RERAISE:
  ------------------
  |  |  117|  1.07k|#define RERAISE                                104
  ------------------
  |  Branch (425:9): [True: 1.07k, False: 154k]
  ------------------
  426|  1.07k|            return 1 + oparg;
  427|      0|        case RESERVED:
  ------------------
  |  |   30|      0|#define RESERVED                                17
  ------------------
  |  Branch (427:9): [True: 0, False: 155k]
  ------------------
  428|      0|            return 0;
  429|  5.46k|        case RESUME:
  ------------------
  |  |  133|  5.46k|#define RESUME                                 128
  ------------------
  |  Branch (429:9): [True: 5.46k, False: 149k]
  ------------------
  430|  5.46k|            return 0;
  431|      0|        case RESUME_CHECK:
  ------------------
  |  |  205|      0|#define RESUME_CHECK                           200
  ------------------
  |  Branch (431:9): [True: 0, False: 155k]
  ------------------
  432|      0|            return 0;
  433|      0|        case RESUME_CHECK_JIT:
  ------------------
  |  |  206|      0|#define RESUME_CHECK_JIT                       201
  ------------------
  |  Branch (433:9): [True: 0, False: 155k]
  ------------------
  434|      0|            return 0;
  435|    418|        case RETURN_GENERATOR:
  ------------------
  |  |   45|    418|#define RETURN_GENERATOR                        32
  ------------------
  |  Branch (435:9): [True: 418, False: 154k]
  ------------------
  436|    418|            return 0;
  437|  6.36k|        case RETURN_VALUE:
  ------------------
  |  |   46|  6.36k|#define RETURN_VALUE                            33
  ------------------
  |  Branch (437:9): [True: 6.36k, False: 148k]
  ------------------
  438|  6.36k|            return 1;
  439|    304|        case SEND:
  ------------------
  |  |  118|    304|#define SEND                                   105
  ------------------
  |  Branch (439:9): [True: 304, False: 155k]
  ------------------
  440|    304|            return 3;
  441|      0|        case SEND_ASYNC_GEN:
  ------------------
  |  |  207|      0|#define SEND_ASYNC_GEN                         202
  ------------------
  |  Branch (441:9): [True: 0, False: 155k]
  ------------------
  442|      0|            return 3;
  443|      0|        case SEND_GEN:
  ------------------
  |  |  208|      0|#define SEND_GEN                               203
  ------------------
  |  Branch (443:9): [True: 0, False: 155k]
  ------------------
  444|      0|            return 3;
  445|      0|        case SEND_VIRTUAL:
  ------------------
  |  |  209|      0|#define SEND_VIRTUAL                           204
  ------------------
  |  Branch (445:9): [True: 0, False: 155k]
  ------------------
  446|      0|            return 3;
  447|      0|        case SETUP_ANNOTATIONS:
  ------------------
  |  |   47|      0|#define SETUP_ANNOTATIONS                       34
  ------------------
  |  Branch (447:9): [True: 0, False: 155k]
  ------------------
  448|      0|            return 0;
  449|  1.33k|        case SETUP_CLEANUP:
  ------------------
  |  |  254|  1.33k|#define SETUP_CLEANUP                          263
  ------------------
  |  Branch (449:9): [True: 1.33k, False: 153k]
  ------------------
  450|  1.33k|            return 0;
  451|  1.02k|        case SETUP_FINALLY:
  ------------------
  |  |  255|  1.02k|#define SETUP_FINALLY                          264
  ------------------
  |  Branch (451:9): [True: 1.02k, False: 154k]
  ------------------
  452|  1.02k|            return 0;
  453|    104|        case SETUP_WITH:
  ------------------
  |  |  256|    104|#define SETUP_WITH                             265
  ------------------
  |  Branch (453:9): [True: 104, False: 155k]
  ------------------
  454|    104|            return 0;
  455|     16|        case SET_ADD:
  ------------------
  |  |  119|     16|#define SET_ADD                                106
  ------------------
  |  Branch (455:9): [True: 16, False: 155k]
  ------------------
  456|     16|            return 2 + (oparg-1);
  457|    770|        case SET_FUNCTION_ATTRIBUTE:
  ------------------
  |  |  120|    770|#define SET_FUNCTION_ATTRIBUTE                 107
  ------------------
  |  Branch (457:9): [True: 770, False: 154k]
  ------------------
  458|    770|            return 2;
  459|      8|        case SET_UPDATE:
  ------------------
  |  |  121|      8|#define SET_UPDATE                             108
  ------------------
  |  Branch (459:9): [True: 8, False: 155k]
  ------------------
  460|      8|            return 2 + (oparg-1);
  461|  2.08k|        case STORE_ATTR:
  ------------------
  |  |  122|  2.08k|#define STORE_ATTR                             109
  ------------------
  |  Branch (461:9): [True: 2.08k, False: 153k]
  ------------------
  462|  2.08k|            return 2;
  463|      0|        case STORE_ATTR_INSTANCE_VALUE:
  ------------------
  |  |  210|      0|#define STORE_ATTR_INSTANCE_VALUE              205
  ------------------
  |  Branch (463:9): [True: 0, False: 155k]
  ------------------
  464|      0|            return 2;
  465|      0|        case STORE_ATTR_SLOT:
  ------------------
  |  |  211|      0|#define STORE_ATTR_SLOT                        206
  ------------------
  |  Branch (465:9): [True: 0, False: 155k]
  ------------------
  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: 155k]
  ------------------
  468|      0|            return 2;
  469|    391|        case STORE_DEREF:
  ------------------
  |  |  123|    391|#define STORE_DEREF                            110
  ------------------
  |  Branch (469:9): [True: 391, False: 154k]
  ------------------
  470|    391|            return 1;
  471|  2.93k|        case STORE_FAST:
  ------------------
  |  |  124|  2.93k|#define STORE_FAST                             111
  ------------------
  |  Branch (471:9): [True: 2.93k, False: 152k]
  ------------------
  472|  2.93k|            return 1;
  473|     28|        case STORE_FAST_LOAD_FAST:
  ------------------
  |  |  125|     28|#define STORE_FAST_LOAD_FAST                   112
  ------------------
  |  Branch (473:9): [True: 28, False: 155k]
  ------------------
  474|     28|            return 1;
  475|    102|        case STORE_FAST_MAYBE_NULL:
  ------------------
  |  |  257|    102|#define STORE_FAST_MAYBE_NULL                  266
  ------------------
  |  Branch (475:9): [True: 102, False: 155k]
  ------------------
  476|    102|            return 1;
  477|    183|        case STORE_FAST_STORE_FAST:
  ------------------
  |  |  126|    183|#define STORE_FAST_STORE_FAST                  113
  ------------------
  |  Branch (477:9): [True: 183, False: 155k]
  ------------------
  478|    183|            return 2;
  479|     26|        case STORE_GLOBAL:
  ------------------
  |  |  127|     26|#define STORE_GLOBAL                           114
  ------------------
  |  Branch (479:9): [True: 26, False: 155k]
  ------------------
  480|     26|            return 1;
  481|  6.64k|        case STORE_NAME:
  ------------------
  |  |  128|  6.64k|#define STORE_NAME                             115
  ------------------
  |  Branch (481:9): [True: 6.64k, False: 148k]
  ------------------
  482|  6.64k|            return 1;
  483|      4|        case STORE_SLICE:
  ------------------
  |  |   48|      4|#define STORE_SLICE                             35
  ------------------
  |  Branch (483:9): [True: 4, False: 155k]
  ------------------
  484|      4|            return 4;
  485|    306|        case STORE_SUBSCR:
  ------------------
  |  |   49|    306|#define STORE_SUBSCR                            36
  ------------------
  |  Branch (485:9): [True: 306, False: 155k]
  ------------------
  486|    306|            return 3;
  487|      0|        case STORE_SUBSCR_DICT:
  ------------------
  |  |  213|      0|#define STORE_SUBSCR_DICT                      208
  ------------------
  |  Branch (487:9): [True: 0, False: 155k]
  ------------------
  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: 155k]
  ------------------
  490|      0|            return 3;
  491|    439|        case SWAP:
  ------------------
  |  |  129|    439|#define SWAP                                   116
  ------------------
  |  Branch (491:9): [True: 439, False: 154k]
  ------------------
  492|    439|            return 2 + (oparg-2);
  493|  3.28k|        case TO_BOOL:
  ------------------
  |  |   50|  3.28k|#define TO_BOOL                                 37
  ------------------
  |  Branch (493:9): [True: 3.28k, False: 152k]
  ------------------
  494|  3.28k|            return 1;
  495|      0|        case TO_BOOL_ALWAYS_TRUE:
  ------------------
  |  |  215|      0|#define TO_BOOL_ALWAYS_TRUE                    210
  ------------------
  |  Branch (495:9): [True: 0, False: 155k]
  ------------------
  496|      0|            return 1;
  497|      0|        case TO_BOOL_BOOL:
  ------------------
  |  |  216|      0|#define TO_BOOL_BOOL                           211
  ------------------
  |  Branch (497:9): [True: 0, False: 155k]
  ------------------
  498|      0|            return 1;
  499|      0|        case TO_BOOL_INT:
  ------------------
  |  |  217|      0|#define TO_BOOL_INT                            212
  ------------------
  |  Branch (499:9): [True: 0, False: 155k]
  ------------------
  500|      0|            return 1;
  501|      0|        case TO_BOOL_LIST:
  ------------------
  |  |  218|      0|#define TO_BOOL_LIST                           213
  ------------------
  |  Branch (501:9): [True: 0, False: 155k]
  ------------------
  502|      0|            return 1;
  503|      0|        case TO_BOOL_NONE:
  ------------------
  |  |  219|      0|#define TO_BOOL_NONE                           214
  ------------------
  |  Branch (503:9): [True: 0, False: 155k]
  ------------------
  504|      0|            return 1;
  505|      0|        case TO_BOOL_STR:
  ------------------
  |  |  220|      0|#define TO_BOOL_STR                            215
  ------------------
  |  Branch (505:9): [True: 0, False: 155k]
  ------------------
  506|      0|            return 1;
  507|      0|        case TRACE_RECORD:
  ------------------
  |  |  246|      0|#define TRACE_RECORD                           255
  ------------------
  |  Branch (507:9): [True: 0, False: 155k]
  ------------------
  508|      0|            return 0;
  509|      4|        case UNARY_INVERT:
  ------------------
  |  |   51|      4|#define UNARY_INVERT                            38
  ------------------
  |  Branch (509:9): [True: 4, False: 155k]
  ------------------
  510|      4|            return 1;
  511|      0|        case UNARY_NEGATIVE:
  ------------------
  |  |   52|      0|#define UNARY_NEGATIVE                          39
  ------------------
  |  Branch (511:9): [True: 0, False: 155k]
  ------------------
  512|      0|            return 1;
  513|     32|        case UNARY_NOT:
  ------------------
  |  |   53|     32|#define UNARY_NOT                               40
  ------------------
  |  Branch (513:9): [True: 32, False: 155k]
  ------------------
  514|     32|            return 1;
  515|      2|        case UNPACK_EX:
  ------------------
  |  |  130|      2|#define UNPACK_EX                              117
  ------------------
  |  Branch (515:9): [True: 2, False: 155k]
  ------------------
  516|      2|            return 1;
  517|    307|        case UNPACK_SEQUENCE:
  ------------------
  |  |  131|    307|#define UNPACK_SEQUENCE                        118
  ------------------
  |  Branch (517:9): [True: 307, False: 155k]
  ------------------
  518|    307|            return 1;
  519|      0|        case UNPACK_SEQUENCE_LIST:
  ------------------
  |  |  221|      0|#define UNPACK_SEQUENCE_LIST                   216
  ------------------
  |  Branch (519:9): [True: 0, False: 155k]
  ------------------
  520|      0|            return 1;
  521|      0|        case UNPACK_SEQUENCE_TUPLE:
  ------------------
  |  |  222|      0|#define UNPACK_SEQUENCE_TUPLE                  217
  ------------------
  |  Branch (521:9): [True: 0, False: 155k]
  ------------------
  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: 155k]
  ------------------
  524|      0|            return 1;
  525|     52|        case WITH_EXCEPT_START:
  ------------------
  |  |   54|     52|#define WITH_EXCEPT_START                       41
  ------------------
  |  Branch (525:9): [True: 52, False: 155k]
  ------------------
  526|     52|            return 5;
  527|    495|        case YIELD_VALUE:
  ------------------
  |  |  132|    495|#define YIELD_VALUE                            119
  ------------------
  |  Branch (527:9): [True: 495, False: 154k]
  ------------------
  528|    495|            return 1;
  529|      0|        default:
  ------------------
  |  Branch (529:9): [True: 0, False: 155k]
  ------------------
  530|      0|            return -1;
  531|   155k|    }
  532|   155k|}
_PyOpcode_num_pushed:
  538|   155k|int _PyOpcode_num_pushed(int opcode, int oparg)  {
  539|   155k|    switch(opcode) {
  540|      0|        case ANNOTATIONS_PLACEHOLDER:
  ------------------
  |  |  247|      0|#define ANNOTATIONS_PLACEHOLDER                256
  ------------------
  |  Branch (540:9): [True: 0, False: 155k]
  ------------------
  541|      0|            return 0;
  542|  1.69k|        case BINARY_OP:
  ------------------
  |  |   55|  1.69k|#define BINARY_OP                               42
  ------------------
  |  Branch (542:9): [True: 1.69k, False: 153k]
  ------------------
  543|  1.69k|            return 1;
  544|      0|        case BINARY_OP_ADD_FLOAT:
  ------------------
  |  |  134|      0|#define BINARY_OP_ADD_FLOAT                    129
  ------------------
  |  Branch (544:9): [True: 0, False: 155k]
  ------------------
  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: 155k]
  ------------------
  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: 155k]
  ------------------
  549|      0|            return 1;
  550|      0|        case BINARY_OP_EXTEND:
  ------------------
  |  |  137|      0|#define BINARY_OP_EXTEND                       132
  ------------------
  |  Branch (550:9): [True: 0, False: 155k]
  ------------------
  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: 155k]
  ------------------
  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: 155k]
  ------------------
  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: 155k]
  ------------------
  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: 155k]
  ------------------
  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: 155k]
  ------------------
  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: 155k]
  ------------------
  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: 155k]
  ------------------
  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: 155k]
  ------------------
  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: 155k]
  ------------------
  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: 155k]
  ------------------
  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: 155k]
  ------------------
  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: 155k]
  ------------------
  575|      0|            return 1;
  576|     98|        case BINARY_SLICE:
  ------------------
  |  |   14|     98|#define BINARY_SLICE                             1
  ------------------
  |  Branch (576:9): [True: 98, False: 155k]
  ------------------
  577|     98|            return 1;
  578|      2|        case BUILD_INTERPOLATION:
  ------------------
  |  |   56|      2|#define BUILD_INTERPOLATION                     43
  ------------------
  |  Branch (578:9): [True: 2, False: 155k]
  ------------------
  579|      2|            return 1;
  580|    452|        case BUILD_LIST:
  ------------------
  |  |   57|    452|#define BUILD_LIST                              44
  ------------------
  |  Branch (580:9): [True: 452, False: 154k]
  ------------------
  581|    452|            return 1;
  582|    675|        case BUILD_MAP:
  ------------------
  |  |   58|    675|#define BUILD_MAP                               45
  ------------------
  |  Branch (582:9): [True: 675, False: 154k]
  ------------------
  583|    675|            return 1;
  584|     42|        case BUILD_SET:
  ------------------
  |  |   59|     42|#define BUILD_SET                               46
  ------------------
  |  Branch (584:9): [True: 42, False: 155k]
  ------------------
  585|     42|            return 1;
  586|      5|        case BUILD_SLICE:
  ------------------
  |  |   60|      5|#define BUILD_SLICE                             47
  ------------------
  |  Branch (586:9): [True: 5, False: 155k]
  ------------------
  587|      5|            return 1;
  588|    857|        case BUILD_STRING:
  ------------------
  |  |   61|    857|#define BUILD_STRING                            48
  ------------------
  |  Branch (588:9): [True: 857, False: 154k]
  ------------------
  589|    857|            return 1;
  590|      2|        case BUILD_TEMPLATE:
  ------------------
  |  |   15|      2|#define BUILD_TEMPLATE                           2
  ------------------
  |  Branch (590:9): [True: 2, False: 155k]
  ------------------
  591|      2|            return 1;
  592|  1.72k|        case BUILD_TUPLE:
  ------------------
  |  |   62|  1.72k|#define BUILD_TUPLE                             49
  ------------------
  |  Branch (592:9): [True: 1.72k, False: 153k]
  ------------------
  593|  1.72k|            return 1;
  594|      0|        case CACHE:
  ------------------
  |  |   13|      0|#define CACHE                                    0
  ------------------
  |  Branch (594:9): [True: 0, False: 155k]
  ------------------
  595|      0|            return 0;
  596|  11.4k|        case CALL:
  ------------------
  |  |   63|  11.4k|#define CALL                                    50
  ------------------
  |  Branch (596:9): [True: 11.4k, False: 143k]
  ------------------
  597|  11.4k|            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: 155k]
  ------------------
  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: 155k]
  ------------------
  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: 155k]
  ------------------
  603|      0|            return 0;
  604|      0|        case CALL_BUILTIN_CLASS:
  ------------------
  |  |  152|      0|#define CALL_BUILTIN_CLASS                     147
  ------------------
  |  Branch (604:9): [True: 0, False: 155k]
  ------------------
  605|      0|            return 1;
  606|      0|        case CALL_BUILTIN_FAST:
  ------------------
  |  |  153|      0|#define CALL_BUILTIN_FAST                      148
  ------------------
  |  Branch (606:9): [True: 0, False: 155k]
  ------------------
  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: 155k]
  ------------------
  609|      0|            return 1;
  610|      0|        case CALL_BUILTIN_O:
  ------------------
  |  |  155|      0|#define CALL_BUILTIN_O                         150
  ------------------
  |  Branch (610:9): [True: 0, False: 155k]
  ------------------
  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: 155k]
  ------------------
  613|      0|            return 1;
  614|      0|        case CALL_EX_PY:
  ------------------
  |  |  157|      0|#define CALL_EX_PY                             152
  ------------------
  |  Branch (614:9): [True: 0, False: 155k]
  ------------------
  615|      0|            return 0;
  616|    234|        case CALL_FUNCTION_EX:
  ------------------
  |  |   17|    234|#define CALL_FUNCTION_EX                         4
  ------------------
  |  Branch (616:9): [True: 234, False: 155k]
  ------------------
  617|    234|            return 1;
  618|    311|        case CALL_INTRINSIC_1:
  ------------------
  |  |   64|    311|#define CALL_INTRINSIC_1                        51
  ------------------
  |  Branch (618:9): [True: 311, False: 154k]
  ------------------
  619|    311|            return 1;
  620|      0|        case CALL_INTRINSIC_2:
  ------------------
  |  |   65|      0|#define CALL_INTRINSIC_2                        52
  ------------------
  |  Branch (620:9): [True: 0, False: 155k]
  ------------------
  621|      0|            return 1;
  622|      0|        case CALL_ISINSTANCE:
  ------------------
  |  |  158|      0|#define CALL_ISINSTANCE                        153
  ------------------
  |  Branch (622:9): [True: 0, False: 155k]
  ------------------
  623|      0|            return 1;
  624|    590|        case CALL_KW:
  ------------------
  |  |   66|    590|#define CALL_KW                                 53
  ------------------
  |  Branch (624:9): [True: 590, False: 154k]
  ------------------
  625|    590|            return 1;
  626|      0|        case CALL_KW_BOUND_METHOD:
  ------------------
  |  |  159|      0|#define CALL_KW_BOUND_METHOD                   154
  ------------------
  |  Branch (626:9): [True: 0, False: 155k]
  ------------------
  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: 155k]
  ------------------
  629|      0|            return 1;
  630|      0|        case CALL_KW_PY:
  ------------------
  |  |  161|      0|#define CALL_KW_PY                             156
  ------------------
  |  Branch (630:9): [True: 0, False: 155k]
  ------------------
  631|      0|            return 0;
  632|      0|        case CALL_LEN:
  ------------------
  |  |  162|      0|#define CALL_LEN                               157
  ------------------
  |  Branch (632:9): [True: 0, False: 155k]
  ------------------
  633|      0|            return 1;
  634|      0|        case CALL_LIST_APPEND:
  ------------------
  |  |  163|      0|#define CALL_LIST_APPEND                       158
  ------------------
  |  Branch (634:9): [True: 0, False: 155k]
  ------------------
  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: 155k]
  ------------------
  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: 155k]
  ------------------
  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: 155k]
  ------------------
  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: 155k]
  ------------------
  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: 155k]
  ------------------
  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: 155k]
  ------------------
  647|      0|            return 0;
  648|      0|        case CALL_PY_GENERAL:
  ------------------
  |  |  170|      0|#define CALL_PY_GENERAL                        165
  ------------------
  |  Branch (648:9): [True: 0, False: 155k]
  ------------------
  649|      0|            return 0;
  650|      0|        case CALL_STR_1:
  ------------------
  |  |  171|      0|#define CALL_STR_1                             166
  ------------------
  |  Branch (650:9): [True: 0, False: 155k]
  ------------------
  651|      0|            return 1;
  652|      0|        case CALL_TUPLE_1:
  ------------------
  |  |  172|      0|#define CALL_TUPLE_1                           167
  ------------------
  |  Branch (652:9): [True: 0, False: 155k]
  ------------------
  653|      0|            return 1;
  654|      0|        case CALL_TYPE_1:
  ------------------
  |  |  173|      0|#define CALL_TYPE_1                            168
  ------------------
  |  Branch (654:9): [True: 0, False: 155k]
  ------------------
  655|      0|            return 1;
  656|      0|        case CHECK_EG_MATCH:
  ------------------
  |  |   18|      0|#define CHECK_EG_MATCH                           5
  ------------------
  |  Branch (656:9): [True: 0, False: 155k]
  ------------------
  657|      0|            return 2;
  658|    310|        case CHECK_EXC_MATCH:
  ------------------
  |  |   19|    310|#define CHECK_EXC_MATCH                          6
  ------------------
  |  Branch (658:9): [True: 310, False: 155k]
  ------------------
  659|    310|            return 2;
  660|    152|        case CLEANUP_THROW:
  ------------------
  |  |   20|    152|#define CLEANUP_THROW                            7
  ------------------
  |  Branch (660:9): [True: 152, False: 155k]
  ------------------
  661|    152|            return 3;
  662|  1.49k|        case COMPARE_OP:
  ------------------
  |  |   67|  1.49k|#define COMPARE_OP                              54
  ------------------
  |  Branch (662:9): [True: 1.49k, False: 153k]
  ------------------
  663|  1.49k|            return 1;
  664|      0|        case COMPARE_OP_FLOAT:
  ------------------
  |  |  174|      0|#define COMPARE_OP_FLOAT                       169
  ------------------
  |  Branch (664:9): [True: 0, False: 155k]
  ------------------
  665|      0|            return 1;
  666|      0|        case COMPARE_OP_INT:
  ------------------
  |  |  175|      0|#define COMPARE_OP_INT                         170
  ------------------
  |  Branch (666:9): [True: 0, False: 155k]
  ------------------
  667|      0|            return 1;
  668|      0|        case COMPARE_OP_STR:
  ------------------
  |  |  176|      0|#define COMPARE_OP_STR                         171
  ------------------
  |  Branch (668:9): [True: 0, False: 155k]
  ------------------
  669|      0|            return 1;
  670|    339|        case CONTAINS_OP:
  ------------------
  |  |   68|    339|#define CONTAINS_OP                             55
  ------------------
  |  Branch (670:9): [True: 339, False: 154k]
  ------------------
  671|    339|            return 1;
  672|      0|        case CONTAINS_OP_DICT:
  ------------------
  |  |  177|      0|#define CONTAINS_OP_DICT                       172
  ------------------
  |  Branch (672:9): [True: 0, False: 155k]
  ------------------
  673|      0|            return 1;
  674|      0|        case CONTAINS_OP_SET:
  ------------------
  |  |  178|      0|#define CONTAINS_OP_SET                        173
  ------------------
  |  Branch (674:9): [True: 0, False: 155k]
  ------------------
  675|      0|            return 1;
  676|  1.05k|        case CONVERT_VALUE:
  ------------------
  |  |   69|  1.05k|#define CONVERT_VALUE                           56
  ------------------
  |  Branch (676:9): [True: 1.05k, False: 154k]
  ------------------
  677|  1.05k|            return 1;
  678|    806|        case COPY:
  ------------------
  |  |   70|    806|#define COPY                                    57
  ------------------
  |  Branch (678:9): [True: 806, False: 154k]
  ------------------
  679|    806|            return 2 + (oparg-1);
  680|    340|        case COPY_FREE_VARS:
  ------------------
  |  |   71|    340|#define COPY_FREE_VARS                          58
  ------------------
  |  Branch (680:9): [True: 340, False: 154k]
  ------------------
  681|    340|            return 0;
  682|      8|        case DELETE_ATTR:
  ------------------
  |  |   72|      8|#define DELETE_ATTR                             59
  ------------------
  |  Branch (682:9): [True: 8, False: 155k]
  ------------------
  683|      8|            return 0;
  684|      9|        case DELETE_DEREF:
  ------------------
  |  |   73|      9|#define DELETE_DEREF                            60
  ------------------
  |  Branch (684:9): [True: 9, False: 155k]
  ------------------
  685|      9|            return 0;
  686|    200|        case DELETE_FAST:
  ------------------
  |  |   74|    200|#define DELETE_FAST                             61
  ------------------
  |  Branch (686:9): [True: 200, False: 155k]
  ------------------
  687|    200|            return 0;
  688|      0|        case DELETE_GLOBAL:
  ------------------
  |  |   75|      0|#define DELETE_GLOBAL                           62
  ------------------
  |  Branch (688:9): [True: 0, False: 155k]
  ------------------
  689|      0|            return 0;
  690|      2|        case DELETE_NAME:
  ------------------
  |  |   76|      2|#define DELETE_NAME                             63
  ------------------
  |  Branch (690:9): [True: 2, False: 155k]
  ------------------
  691|      2|            return 0;
  692|     53|        case DELETE_SUBSCR:
  ------------------
  |  |   21|     53|#define DELETE_SUBSCR                            8
  ------------------
  |  Branch (692:9): [True: 53, False: 155k]
  ------------------
  693|     53|            return 0;
  694|    170|        case DICT_MERGE:
  ------------------
  |  |   77|    170|#define DICT_MERGE                              64
  ------------------
  |  Branch (694:9): [True: 170, False: 155k]
  ------------------
  695|    170|            return 4 + (oparg - 1);
  696|      0|        case DICT_UPDATE:
  ------------------
  |  |   78|      0|#define DICT_UPDATE                             65
  ------------------
  |  Branch (696:9): [True: 0, False: 155k]
  ------------------
  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: 155k]
  ------------------
  699|      0|            return 0;
  700|    592|        case END_FOR:
  ------------------
  |  |   22|    592|#define END_FOR                                  9
  ------------------
  |  Branch (700:9): [True: 592, False: 154k]
  ------------------
  701|    592|            return 0;
  702|    152|        case END_SEND:
  ------------------
  |  |   23|    152|#define END_SEND                                10
  ------------------
  |  Branch (702:9): [True: 152, False: 155k]
  ------------------
  703|    152|            return 1;
  704|      0|        case ENTER_EXECUTOR:
  ------------------
  |  |  245|      0|#define ENTER_EXECUTOR                         254
  ------------------
  |  Branch (704:9): [True: 0, False: 155k]
  ------------------
  705|      0|            return 0;
  706|      0|        case EXIT_INIT_CHECK:
  ------------------
  |  |   24|      0|#define EXIT_INIT_CHECK                         11
  ------------------
  |  Branch (706:9): [True: 0, False: 155k]
  ------------------
  707|      0|            return 0;
  708|      0|        case EXTENDED_ARG:
  ------------------
  |  |   80|      0|#define EXTENDED_ARG                            67
  ------------------
  |  Branch (708:9): [True: 0, False: 155k]
  ------------------
  709|      0|            return 0;
  710|  1.72k|        case FORMAT_SIMPLE:
  ------------------
  |  |   25|  1.72k|#define FORMAT_SIMPLE                           12
  ------------------
  |  Branch (710:9): [True: 1.72k, False: 153k]
  ------------------
  711|  1.72k|            return 1;
  712|     12|        case FORMAT_WITH_SPEC:
  ------------------
  |  |   26|     12|#define FORMAT_WITH_SPEC                        13
  ------------------
  |  Branch (712:9): [True: 12, False: 155k]
  ------------------
  713|     12|            return 1;
  714|    604|        case FOR_ITER:
  ------------------
  |  |   81|    604|#define FOR_ITER                                68
  ------------------
  |  Branch (714:9): [True: 604, False: 154k]
  ------------------
  715|    604|            return 3;
  716|      0|        case FOR_ITER_GEN:
  ------------------
  |  |  179|      0|#define FOR_ITER_GEN                           174
  ------------------
  |  Branch (716:9): [True: 0, False: 155k]
  ------------------
  717|      0|            return 2;
  718|      0|        case FOR_ITER_LIST:
  ------------------
  |  |  180|      0|#define FOR_ITER_LIST                          175
  ------------------
  |  Branch (718:9): [True: 0, False: 155k]
  ------------------
  719|      0|            return 3;
  720|      0|        case FOR_ITER_RANGE:
  ------------------
  |  |  181|      0|#define FOR_ITER_RANGE                         176
  ------------------
  |  Branch (720:9): [True: 0, False: 155k]
  ------------------
  721|      0|            return 3;
  722|      0|        case FOR_ITER_TUPLE:
  ------------------
  |  |  182|      0|#define FOR_ITER_TUPLE                         177
  ------------------
  |  Branch (722:9): [True: 0, False: 155k]
  ------------------
  723|      0|            return 3;
  724|      0|        case FOR_ITER_VIRTUAL:
  ------------------
  |  |  183|      0|#define FOR_ITER_VIRTUAL                       178
  ------------------
  |  Branch (724:9): [True: 0, False: 155k]
  ------------------
  725|      0|            return 3;
  726|      0|        case GET_AITER:
  ------------------
  |  |   27|      0|#define GET_AITER                               14
  ------------------
  |  Branch (726:9): [True: 0, False: 155k]
  ------------------
  727|      0|            return 1;
  728|      0|        case GET_ANEXT:
  ------------------
  |  |   28|      0|#define GET_ANEXT                               15
  ------------------
  |  Branch (728:9): [True: 0, False: 155k]
  ------------------
  729|      0|            return 2;
  730|    267|        case GET_AWAITABLE:
  ------------------
  |  |   82|    267|#define GET_AWAITABLE                           69
  ------------------
  |  Branch (730:9): [True: 267, False: 155k]
  ------------------
  731|    267|            return 1;
  732|    586|        case GET_ITER:
  ------------------
  |  |   83|    586|#define GET_ITER                                70
  ------------------
  |  Branch (732:9): [True: 586, False: 154k]
  ------------------
  733|    586|            return 2;
  734|      0|        case GET_ITER_SELF:
  ------------------
  |  |  184|      0|#define GET_ITER_SELF                          179
  ------------------
  |  Branch (734:9): [True: 0, False: 155k]
  ------------------
  735|      0|            return 2;
  736|      0|        case GET_ITER_VIRTUAL:
  ------------------
  |  |  185|      0|#define GET_ITER_VIRTUAL                       180
  ------------------
  |  Branch (736:9): [True: 0, False: 155k]
  ------------------
  737|      0|            return 2;
  738|      0|        case GET_LEN:
  ------------------
  |  |   29|      0|#define GET_LEN                                 16
  ------------------
  |  Branch (738:9): [True: 0, False: 155k]
  ------------------
  739|      0|            return 2;
  740|    588|        case IMPORT_FROM:
  ------------------
  |  |   84|    588|#define IMPORT_FROM                             71
  ------------------
  |  Branch (740:9): [True: 588, False: 154k]
  ------------------
  741|    588|            return 2;
  742|    894|        case IMPORT_NAME:
  ------------------
  |  |   85|    894|#define IMPORT_NAME                             72
  ------------------
  |  Branch (742:9): [True: 894, False: 154k]
  ------------------
  743|    894|            return 1;
  744|      0|        case INSTRUMENTED_CALL:
  ------------------
  |  |  240|      0|#define INSTRUMENTED_CALL                      249
  ------------------
  |  Branch (744:9): [True: 0, False: 155k]
  ------------------
  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: 155k]
  ------------------
  747|      0|            return 1;
  748|      0|        case INSTRUMENTED_CALL_KW:
  ------------------
  |  |  241|      0|#define INSTRUMENTED_CALL_KW                   250
  ------------------
  |  Branch (748:9): [True: 0, False: 155k]
  ------------------
  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: 155k]
  ------------------
  751|      0|            return 0;
  752|      0|        case INSTRUMENTED_END_FOR:
  ------------------
  |  |  224|      0|#define INSTRUMENTED_END_FOR                   233
  ------------------
  |  Branch (752:9): [True: 0, False: 155k]
  ------------------
  753|      0|            return 2;
  754|      0|        case INSTRUMENTED_END_SEND:
  ------------------
  |  |  226|      0|#define INSTRUMENTED_END_SEND                  235
  ------------------
  |  Branch (754:9): [True: 0, False: 155k]
  ------------------
  755|      0|            return 1;
  756|      0|        case INSTRUMENTED_FOR_ITER:
  ------------------
  |  |  227|      0|#define INSTRUMENTED_FOR_ITER                  236
  ------------------
  |  Branch (756:9): [True: 0, False: 155k]
  ------------------
  757|      0|            return 3;
  758|      0|        case INSTRUMENTED_INSTRUCTION:
  ------------------
  |  |  228|      0|#define INSTRUMENTED_INSTRUCTION               237
  ------------------
  |  Branch (758:9): [True: 0, False: 155k]
  ------------------
  759|      0|            return 0;
  760|      0|        case INSTRUMENTED_JUMP_BACKWARD:
  ------------------
  |  |  243|      0|#define INSTRUMENTED_JUMP_BACKWARD             252
  ------------------
  |  Branch (760:9): [True: 0, False: 155k]
  ------------------
  761|      0|            return 0;
  762|      0|        case INSTRUMENTED_JUMP_FORWARD:
  ------------------
  |  |  229|      0|#define INSTRUMENTED_JUMP_FORWARD              238
  ------------------
  |  Branch (762:9): [True: 0, False: 155k]
  ------------------
  763|      0|            return 0;
  764|      0|        case INSTRUMENTED_LINE:
  ------------------
  |  |  244|      0|#define INSTRUMENTED_LINE                      253
  ------------------
  |  Branch (764:9): [True: 0, False: 155k]
  ------------------
  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: 155k]
  ------------------
  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: 155k]
  ------------------
  769|      0|            return 0;
  770|      0|        case INSTRUMENTED_POP_ITER:
  ------------------
  |  |  225|      0|#define INSTRUMENTED_POP_ITER                  234
  ------------------
  |  Branch (770:9): [True: 0, False: 155k]
  ------------------
  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: 155k]
  ------------------
  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: 155k]
  ------------------
  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: 155k]
  ------------------
  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: 155k]
  ------------------
  779|      0|            return 0;
  780|      0|        case INSTRUMENTED_RESUME:
  ------------------
  |  |  235|      0|#define INSTRUMENTED_RESUME                    244
  ------------------
  |  Branch (780:9): [True: 0, False: 155k]
  ------------------
  781|      0|            return 0;
  782|      0|        case INSTRUMENTED_RETURN_VALUE:
  ------------------
  |  |  236|      0|#define INSTRUMENTED_RETURN_VALUE              245
  ------------------
  |  Branch (782:9): [True: 0, False: 155k]
  ------------------
  783|      0|            return 1;
  784|      0|        case INSTRUMENTED_YIELD_VALUE:
  ------------------
  |  |  237|      0|#define INSTRUMENTED_YIELD_VALUE               246
  ------------------
  |  Branch (784:9): [True: 0, False: 155k]
  ------------------
  785|      0|            return 1;
  786|      0|        case INTERPRETER_EXIT:
  ------------------
  |  |   31|      0|#define INTERPRETER_EXIT                        18
  ------------------
  |  Branch (786:9): [True: 0, False: 155k]
  ------------------
  787|      0|            return 0;
  788|    563|        case IS_OP:
  ------------------
  |  |   86|    563|#define IS_OP                                   73
  ------------------
  |  Branch (788:9): [True: 563, False: 154k]
  ------------------
  789|    563|            return 1;
  790|  1.50k|        case JUMP:
  ------------------
  |  |  248|  1.50k|#define JUMP                                   257
  ------------------
  |  Branch (790:9): [True: 1.50k, False: 153k]
  ------------------
  791|  1.50k|            return 0;
  792|      0|        case JUMP_BACKWARD:
  ------------------
  |  |   87|      0|#define JUMP_BACKWARD                           74
  ------------------
  |  Branch (792:9): [True: 0, False: 155k]
  ------------------
  793|      0|            return 0;
  794|      0|        case JUMP_BACKWARD_JIT:
  ------------------
  |  |  186|      0|#define JUMP_BACKWARD_JIT                      181
  ------------------
  |  Branch (794:9): [True: 0, False: 155k]
  ------------------
  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: 155k]
  ------------------
  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: 155k]
  ------------------
  799|      0|            return 0;
  800|      0|        case JUMP_FORWARD:
  ------------------
  |  |   89|      0|#define JUMP_FORWARD                            76
  ------------------
  |  Branch (800:9): [True: 0, False: 155k]
  ------------------
  801|      0|            return 0;
  802|      0|        case JUMP_IF_FALSE:
  ------------------
  |  |  249|      0|#define JUMP_IF_FALSE                          258
  ------------------
  |  Branch (802:9): [True: 0, False: 155k]
  ------------------
  803|      0|            return 1;
  804|      0|        case JUMP_IF_TRUE:
  ------------------
  |  |  250|      0|#define JUMP_IF_TRUE                           259
  ------------------
  |  Branch (804:9): [True: 0, False: 155k]
  ------------------
  805|      0|            return 1;
  806|  1.98k|        case JUMP_NO_INTERRUPT:
  ------------------
  |  |  251|  1.98k|#define JUMP_NO_INTERRUPT                      260
  ------------------
  |  Branch (806:9): [True: 1.98k, False: 153k]
  ------------------
  807|  1.98k|            return 0;
  808|     76|        case LIST_APPEND:
  ------------------
  |  |   90|     76|#define LIST_APPEND                             77
  ------------------
  |  Branch (808:9): [True: 76, False: 155k]
  ------------------
  809|     76|            return 1 + (oparg-1);
  810|     66|        case LIST_EXTEND:
  ------------------
  |  |   91|     66|#define LIST_EXTEND                             78
  ------------------
  |  Branch (810:9): [True: 66, False: 155k]
  ------------------
  811|     66|            return 1 + (oparg-1);
  812|  7.97k|        case LOAD_ATTR:
  ------------------
  |  |   92|  7.97k|#define LOAD_ATTR                               79
  ------------------
  |  Branch (812:9): [True: 7.97k, False: 147k]
  ------------------
  813|  7.97k|            return 1 + (oparg&1);
  814|      0|        case LOAD_ATTR_CLASS:
  ------------------
  |  |  188|      0|#define LOAD_ATTR_CLASS                        183
  ------------------
  |  Branch (814:9): [True: 0, False: 155k]
  ------------------
  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: 155k]
  ------------------
  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: 155k]
  ------------------
  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: 155k]
  ------------------
  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: 155k]
  ------------------
  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: 155k]
  ------------------
  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: 155k]
  ------------------
  827|      0|            return 2;
  828|      0|        case LOAD_ATTR_MODULE:
  ------------------
  |  |  195|      0|#define LOAD_ATTR_MODULE                       190
  ------------------
  |  Branch (828:9): [True: 0, False: 155k]
  ------------------
  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: 155k]
  ------------------
  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: 155k]
  ------------------
  833|      0|            return 1;
  834|      0|        case LOAD_ATTR_PROPERTY:
  ------------------
  |  |  198|      0|#define LOAD_ATTR_PROPERTY                     193
  ------------------
  |  Branch (834:9): [True: 0, False: 155k]
  ------------------
  835|      0|            return 0;
  836|      0|        case LOAD_ATTR_SLOT:
  ------------------
  |  |  199|      0|#define LOAD_ATTR_SLOT                         194
  ------------------
  |  Branch (836:9): [True: 0, False: 155k]
  ------------------
  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: 155k]
  ------------------
  839|      0|            return 1 + (oparg & 1);
  840|    298|        case LOAD_BUILD_CLASS:
  ------------------
  |  |   32|    298|#define LOAD_BUILD_CLASS                        19
  ------------------
  |  Branch (840:9): [True: 298, False: 155k]
  ------------------
  841|    298|            return 1;
  842|    628|        case LOAD_CLOSURE:
  ------------------
  |  |  252|    628|#define LOAD_CLOSURE                           261
  ------------------
  |  Branch (842:9): [True: 628, False: 154k]
  ------------------
  843|    628|            return 1;
  844|  7.60k|        case LOAD_COMMON_CONSTANT:
  ------------------
  |  |   93|  7.60k|#define LOAD_COMMON_CONSTANT                    80
  ------------------
  |  Branch (844:9): [True: 7.60k, False: 147k]
  ------------------
  845|  7.60k|            return 1;
  846|  13.1k|        case LOAD_CONST:
  ------------------
  |  |   94|  13.1k|#define LOAD_CONST                              81
  ------------------
  |  Branch (846:9): [True: 13.1k, False: 142k]
  ------------------
  847|  13.1k|            return 1;
  848|  1.94k|        case LOAD_DEREF:
  ------------------
  |  |   95|  1.94k|#define LOAD_DEREF                              82
  ------------------
  |  Branch (848:9): [True: 1.94k, False: 153k]
  ------------------
  849|  1.94k|            return 1;
  850|  11.8k|        case LOAD_FAST:
  ------------------
  |  |   96|  11.8k|#define LOAD_FAST                               83
  ------------------
  |  Branch (850:9): [True: 11.8k, False: 143k]
  ------------------
  851|  11.8k|            return 1;
  852|     51|        case LOAD_FAST_AND_CLEAR:
  ------------------
  |  |   97|     51|#define LOAD_FAST_AND_CLEAR                     84
  ------------------
  |  Branch (852:9): [True: 51, False: 155k]
  ------------------
  853|     51|            return 1;
  854|      0|        case LOAD_FAST_BORROW:
  ------------------
  |  |   98|      0|#define LOAD_FAST_BORROW                        85
  ------------------
  |  Branch (854:9): [True: 0, False: 155k]
  ------------------
  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: 155k]
  ------------------
  857|      0|            return 2;
  858|     59|        case LOAD_FAST_CHECK:
  ------------------
  |  |  100|     59|#define LOAD_FAST_CHECK                         87
  ------------------
  |  Branch (858:9): [True: 59, False: 155k]
  ------------------
  859|     59|            return 1;
  860|  1.89k|        case LOAD_FAST_LOAD_FAST:
  ------------------
  |  |  101|  1.89k|#define LOAD_FAST_LOAD_FAST                     88
  ------------------
  |  Branch (860:9): [True: 1.89k, False: 153k]
  ------------------
  861|  1.89k|            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: 155k]
  ------------------
  863|      0|            return 1;
  864|     44|        case LOAD_FROM_DICT_OR_GLOBALS:
  ------------------
  |  |  103|     44|#define LOAD_FROM_DICT_OR_GLOBALS               90
  ------------------
  |  Branch (864:9): [True: 44, False: 155k]
  ------------------
  865|     44|            return 1;
  866|  8.00k|        case LOAD_GLOBAL:
  ------------------
  |  |  104|  8.00k|#define LOAD_GLOBAL                             91
  ------------------
  |  Branch (866:9): [True: 8.00k, False: 147k]
  ------------------
  867|  8.00k|            return 1 + (oparg & 1);
  868|      0|        case LOAD_GLOBAL_BUILTIN:
  ------------------
  |  |  201|      0|#define LOAD_GLOBAL_BUILTIN                    196
  ------------------
  |  Branch (868:9): [True: 0, False: 155k]
  ------------------
  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: 155k]
  ------------------
  871|      0|            return 1 + (oparg & 1);
  872|    238|        case LOAD_LOCALS:
  ------------------
  |  |   33|    238|#define LOAD_LOCALS                             20
  ------------------
  |  Branch (872:9): [True: 238, False: 155k]
  ------------------
  873|    238|            return 1;
  874|  1.50k|        case LOAD_NAME:
  ------------------
  |  |  105|  1.50k|#define LOAD_NAME                               92
  ------------------
  |  Branch (874:9): [True: 1.50k, False: 153k]
  ------------------
  875|  1.50k|            return 1;
  876|  2.59k|        case LOAD_SMALL_INT:
  ------------------
  |  |  106|  2.59k|#define LOAD_SMALL_INT                          93
  ------------------
  |  Branch (876:9): [True: 2.59k, False: 152k]
  ------------------
  877|  2.59k|            return 1;
  878|    104|        case LOAD_SPECIAL:
  ------------------
  |  |  107|    104|#define LOAD_SPECIAL                            94
  ------------------
  |  Branch (878:9): [True: 104, False: 155k]
  ------------------
  879|    104|            return 2;
  880|    116|        case LOAD_SUPER_ATTR:
  ------------------
  |  |  108|    116|#define LOAD_SUPER_ATTR                         95
  ------------------
  |  Branch (880:9): [True: 116, False: 155k]
  ------------------
  881|    116|            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: 155k]
  ------------------
  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: 155k]
  ------------------
  885|      0|            return 2;
  886|    458|        case MAKE_CELL:
  ------------------
  |  |  109|    458|#define MAKE_CELL                               96
  ------------------
  |  Branch (886:9): [True: 458, False: 154k]
  ------------------
  887|    458|            return 0;
  888|  4.35k|        case MAKE_FUNCTION:
  ------------------
  |  |   34|  4.35k|#define MAKE_FUNCTION                           21
  ------------------
  |  Branch (888:9): [True: 4.35k, False: 150k]
  ------------------
  889|  4.35k|            return 1;
  890|      4|        case MAP_ADD:
  ------------------
  |  |  110|      4|#define MAP_ADD                                 97
  ------------------
  |  Branch (890:9): [True: 4, False: 155k]
  ------------------
  891|      4|            return 1 + (oparg - 1);
  892|      0|        case MATCH_CLASS:
  ------------------
  |  |  111|      0|#define MATCH_CLASS                             98
  ------------------
  |  Branch (892:9): [True: 0, False: 155k]
  ------------------
  893|      0|            return 1;
  894|      0|        case MATCH_KEYS:
  ------------------
  |  |   35|      0|#define MATCH_KEYS                              22
  ------------------
  |  Branch (894:9): [True: 0, False: 155k]
  ------------------
  895|      0|            return 3;
  896|      0|        case MATCH_MAPPING:
  ------------------
  |  |   36|      0|#define MATCH_MAPPING                           23
  ------------------
  |  Branch (896:9): [True: 0, False: 155k]
  ------------------
  897|      0|            return 2;
  898|      0|        case MATCH_SEQUENCE:
  ------------------
  |  |   37|      0|#define MATCH_SEQUENCE                          24
  ------------------
  |  Branch (898:9): [True: 0, False: 155k]
  ------------------
  899|      0|            return 2;
  900|    393|        case NOP:
  ------------------
  |  |   38|    393|#define NOP                                     25
  ------------------
  |  Branch (900:9): [True: 393, False: 154k]
  ------------------
  901|    393|            return 0;
  902|  3.03k|        case NOT_TAKEN:
  ------------------
  |  |   39|  3.03k|#define NOT_TAKEN                               26
  ------------------
  |  Branch (902:9): [True: 3.03k, False: 152k]
  ------------------
  903|  3.03k|            return 0;
  904|      0|        case POP_BLOCK:
  ------------------
  |  |  253|      0|#define POP_BLOCK                              262
  ------------------
  |  Branch (904:9): [True: 0, False: 155k]
  ------------------
  905|      0|            return 0;
  906|    673|        case POP_EXCEPT:
  ------------------
  |  |   40|    673|#define POP_EXCEPT                              27
  ------------------
  |  Branch (906:9): [True: 673, False: 154k]
  ------------------
  907|    673|            return 0;
  908|    612|        case POP_ITER:
  ------------------
  |  |   41|    612|#define POP_ITER                                28
  ------------------
  |  Branch (908:9): [True: 612, False: 154k]
  ------------------
  909|    612|            return 0;
  910|  6.44k|        case POP_JUMP_IF_FALSE:
  ------------------
  |  |  112|  6.44k|#define POP_JUMP_IF_FALSE                       99
  ------------------
  |  Branch (910:9): [True: 6.44k, False: 148k]
  ------------------
  911|  6.44k|            return 0;
  912|  1.09k|        case POP_JUMP_IF_NONE:
  ------------------
  |  |  113|  1.09k|#define POP_JUMP_IF_NONE                       100
  ------------------
  |  Branch (912:9): [True: 1.09k, False: 154k]
  ------------------
  913|  1.09k|            return 0;
  914|    630|        case POP_JUMP_IF_NOT_NONE:
  ------------------
  |  |  114|    630|#define POP_JUMP_IF_NOT_NONE                   101
  ------------------
  |  Branch (914:9): [True: 630, False: 154k]
  ------------------
  915|    630|            return 0;
  916|  1.86k|        case POP_JUMP_IF_TRUE:
  ------------------
  |  |  115|  1.86k|#define POP_JUMP_IF_TRUE                       102
  ------------------
  |  Branch (916:9): [True: 1.86k, False: 153k]
  ------------------
  917|  1.86k|            return 0;
  918|  6.47k|        case POP_TOP:
  ------------------
  |  |   42|  6.47k|#define POP_TOP                                 29
  ------------------
  |  Branch (918:9): [True: 6.47k, False: 148k]
  ------------------
  919|  6.47k|            return 0;
  920|    367|        case PUSH_EXC_INFO:
  ------------------
  |  |   43|    367|#define PUSH_EXC_INFO                           30
  ------------------
  |  Branch (920:9): [True: 367, False: 154k]
  ------------------
  921|    367|            return 2;
  922|  2.78k|        case PUSH_NULL:
  ------------------
  |  |   44|  2.78k|#define PUSH_NULL                               31
  ------------------
  |  Branch (922:9): [True: 2.78k, False: 152k]
  ------------------
  923|  2.78k|            return 1;
  924|  1.27k|        case RAISE_VARARGS:
  ------------------
  |  |  116|  1.27k|#define RAISE_VARARGS                          103
  ------------------
  |  Branch (924:9): [True: 1.27k, False: 154k]
  ------------------
  925|  1.27k|            return 0;
  926|  1.07k|        case RERAISE:
  ------------------
  |  |  117|  1.07k|#define RERAISE                                104
  ------------------
  |  Branch (926:9): [True: 1.07k, False: 154k]
  ------------------
  927|  1.07k|            return oparg;
  928|      0|        case RESERVED:
  ------------------
  |  |   30|      0|#define RESERVED                                17
  ------------------
  |  Branch (928:9): [True: 0, False: 155k]
  ------------------
  929|      0|            return 0;
  930|  5.46k|        case RESUME:
  ------------------
  |  |  133|  5.46k|#define RESUME                                 128
  ------------------
  |  Branch (930:9): [True: 5.46k, False: 149k]
  ------------------
  931|  5.46k|            return 0;
  932|      0|        case RESUME_CHECK:
  ------------------
  |  |  205|      0|#define RESUME_CHECK                           200
  ------------------
  |  Branch (932:9): [True: 0, False: 155k]
  ------------------
  933|      0|            return 0;
  934|      0|        case RESUME_CHECK_JIT:
  ------------------
  |  |  206|      0|#define RESUME_CHECK_JIT                       201
  ------------------
  |  Branch (934:9): [True: 0, False: 155k]
  ------------------
  935|      0|            return 0;
  936|    418|        case RETURN_GENERATOR:
  ------------------
  |  |   45|    418|#define RETURN_GENERATOR                        32
  ------------------
  |  Branch (936:9): [True: 418, False: 154k]
  ------------------
  937|    418|            return 1;
  938|  6.36k|        case RETURN_VALUE:
  ------------------
  |  |   46|  6.36k|#define RETURN_VALUE                            33
  ------------------
  |  Branch (938:9): [True: 6.36k, False: 148k]
  ------------------
  939|  6.36k|            return 1;
  940|    304|        case SEND:
  ------------------
  |  |  118|    304|#define SEND                                   105
  ------------------
  |  Branch (940:9): [True: 304, False: 155k]
  ------------------
  941|    304|            return 3;
  942|      0|        case SEND_ASYNC_GEN:
  ------------------
  |  |  207|      0|#define SEND_ASYNC_GEN                         202
  ------------------
  |  Branch (942:9): [True: 0, False: 155k]
  ------------------
  943|      0|            return 3;
  944|      0|        case SEND_GEN:
  ------------------
  |  |  208|      0|#define SEND_GEN                               203
  ------------------
  |  Branch (944:9): [True: 0, False: 155k]
  ------------------
  945|      0|            return 2;
  946|      0|        case SEND_VIRTUAL:
  ------------------
  |  |  209|      0|#define SEND_VIRTUAL                           204
  ------------------
  |  Branch (946:9): [True: 0, False: 155k]
  ------------------
  947|      0|            return 3;
  948|      0|        case SETUP_ANNOTATIONS:
  ------------------
  |  |   47|      0|#define SETUP_ANNOTATIONS                       34
  ------------------
  |  Branch (948:9): [True: 0, False: 155k]
  ------------------
  949|      0|            return 0;
  950|  1.33k|        case SETUP_CLEANUP:
  ------------------
  |  |  254|  1.33k|#define SETUP_CLEANUP                          263
  ------------------
  |  Branch (950:9): [True: 1.33k, False: 153k]
  ------------------
  951|  1.33k|            return 2;
  952|  1.02k|        case SETUP_FINALLY:
  ------------------
  |  |  255|  1.02k|#define SETUP_FINALLY                          264
  ------------------
  |  Branch (952:9): [True: 1.02k, False: 154k]
  ------------------
  953|  1.02k|            return 1;
  954|    104|        case SETUP_WITH:
  ------------------
  |  |  256|    104|#define SETUP_WITH                             265
  ------------------
  |  Branch (954:9): [True: 104, False: 155k]
  ------------------
  955|    104|            return 1;
  956|     16|        case SET_ADD:
  ------------------
  |  |  119|     16|#define SET_ADD                                106
  ------------------
  |  Branch (956:9): [True: 16, False: 155k]
  ------------------
  957|     16|            return 1 + (oparg-1);
  958|    770|        case SET_FUNCTION_ATTRIBUTE:
  ------------------
  |  |  120|    770|#define SET_FUNCTION_ATTRIBUTE                 107
  ------------------
  |  Branch (958:9): [True: 770, False: 154k]
  ------------------
  959|    770|            return 1;
  960|      8|        case SET_UPDATE:
  ------------------
  |  |  121|      8|#define SET_UPDATE                             108
  ------------------
  |  Branch (960:9): [True: 8, False: 155k]
  ------------------
  961|      8|            return 1 + (oparg-1);
  962|  2.08k|        case STORE_ATTR:
  ------------------
  |  |  122|  2.08k|#define STORE_ATTR                             109
  ------------------
  |  Branch (962:9): [True: 2.08k, False: 153k]
  ------------------
  963|  2.08k|            return 0;
  964|      0|        case STORE_ATTR_INSTANCE_VALUE:
  ------------------
  |  |  210|      0|#define STORE_ATTR_INSTANCE_VALUE              205
  ------------------
  |  Branch (964:9): [True: 0, False: 155k]
  ------------------
  965|      0|            return 0;
  966|      0|        case STORE_ATTR_SLOT:
  ------------------
  |  |  211|      0|#define STORE_ATTR_SLOT                        206
  ------------------
  |  Branch (966:9): [True: 0, False: 155k]
  ------------------
  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: 155k]
  ------------------
  969|      0|            return 0;
  970|    391|        case STORE_DEREF:
  ------------------
  |  |  123|    391|#define STORE_DEREF                            110
  ------------------
  |  Branch (970:9): [True: 391, False: 154k]
  ------------------
  971|    391|            return 0;
  972|  2.93k|        case STORE_FAST:
  ------------------
  |  |  124|  2.93k|#define STORE_FAST                             111
  ------------------
  |  Branch (972:9): [True: 2.93k, False: 152k]
  ------------------
  973|  2.93k|            return 0;
  974|     28|        case STORE_FAST_LOAD_FAST:
  ------------------
  |  |  125|     28|#define STORE_FAST_LOAD_FAST                   112
  ------------------
  |  Branch (974:9): [True: 28, False: 155k]
  ------------------
  975|     28|            return 1;
  976|    102|        case STORE_FAST_MAYBE_NULL:
  ------------------
  |  |  257|    102|#define STORE_FAST_MAYBE_NULL                  266
  ------------------
  |  Branch (976:9): [True: 102, False: 155k]
  ------------------
  977|    102|            return 0;
  978|    183|        case STORE_FAST_STORE_FAST:
  ------------------
  |  |  126|    183|#define STORE_FAST_STORE_FAST                  113
  ------------------
  |  Branch (978:9): [True: 183, False: 155k]
  ------------------
  979|    183|            return 0;
  980|     26|        case STORE_GLOBAL:
  ------------------
  |  |  127|     26|#define STORE_GLOBAL                           114
  ------------------
  |  Branch (980:9): [True: 26, False: 155k]
  ------------------
  981|     26|            return 0;
  982|  6.64k|        case STORE_NAME:
  ------------------
  |  |  128|  6.64k|#define STORE_NAME                             115
  ------------------
  |  Branch (982:9): [True: 6.64k, False: 148k]
  ------------------
  983|  6.64k|            return 0;
  984|      4|        case STORE_SLICE:
  ------------------
  |  |   48|      4|#define STORE_SLICE                             35
  ------------------
  |  Branch (984:9): [True: 4, False: 155k]
  ------------------
  985|      4|            return 0;
  986|    306|        case STORE_SUBSCR:
  ------------------
  |  |   49|    306|#define STORE_SUBSCR                            36
  ------------------
  |  Branch (986:9): [True: 306, False: 155k]
  ------------------
  987|    306|            return 0;
  988|      0|        case STORE_SUBSCR_DICT:
  ------------------
  |  |  213|      0|#define STORE_SUBSCR_DICT                      208
  ------------------
  |  Branch (988:9): [True: 0, False: 155k]
  ------------------
  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: 155k]
  ------------------
  991|      0|            return 0;
  992|    439|        case SWAP:
  ------------------
  |  |  129|    439|#define SWAP                                   116
  ------------------
  |  Branch (992:9): [True: 439, False: 154k]
  ------------------
  993|    439|            return 2 + (oparg-2);
  994|  3.28k|        case TO_BOOL:
  ------------------
  |  |   50|  3.28k|#define TO_BOOL                                 37
  ------------------
  |  Branch (994:9): [True: 3.28k, False: 152k]
  ------------------
  995|  3.28k|            return 1;
  996|      0|        case TO_BOOL_ALWAYS_TRUE:
  ------------------
  |  |  215|      0|#define TO_BOOL_ALWAYS_TRUE                    210
  ------------------
  |  Branch (996:9): [True: 0, False: 155k]
  ------------------
  997|      0|            return 1;
  998|      0|        case TO_BOOL_BOOL:
  ------------------
  |  |  216|      0|#define TO_BOOL_BOOL                           211
  ------------------
  |  Branch (998:9): [True: 0, False: 155k]
  ------------------
  999|      0|            return 1;
 1000|      0|        case TO_BOOL_INT:
  ------------------
  |  |  217|      0|#define TO_BOOL_INT                            212
  ------------------
  |  Branch (1000:9): [True: 0, False: 155k]
  ------------------
 1001|      0|            return 1;
 1002|      0|        case TO_BOOL_LIST:
  ------------------
  |  |  218|      0|#define TO_BOOL_LIST                           213
  ------------------
  |  Branch (1002:9): [True: 0, False: 155k]
  ------------------
 1003|      0|            return 1;
 1004|      0|        case TO_BOOL_NONE:
  ------------------
  |  |  219|      0|#define TO_BOOL_NONE                           214
  ------------------
  |  Branch (1004:9): [True: 0, False: 155k]
  ------------------
 1005|      0|            return 1;
 1006|      0|        case TO_BOOL_STR:
  ------------------
  |  |  220|      0|#define TO_BOOL_STR                            215
  ------------------
  |  Branch (1006:9): [True: 0, False: 155k]
  ------------------
 1007|      0|            return 1;
 1008|      0|        case TRACE_RECORD:
  ------------------
  |  |  246|      0|#define TRACE_RECORD                           255
  ------------------
  |  Branch (1008:9): [True: 0, False: 155k]
  ------------------
 1009|      0|            return 0;
 1010|      4|        case UNARY_INVERT:
  ------------------
  |  |   51|      4|#define UNARY_INVERT                            38
  ------------------
  |  Branch (1010:9): [True: 4, False: 155k]
  ------------------
 1011|      4|            return 1;
 1012|      0|        case UNARY_NEGATIVE:
  ------------------
  |  |   52|      0|#define UNARY_NEGATIVE                          39
  ------------------
  |  Branch (1012:9): [True: 0, False: 155k]
  ------------------
 1013|      0|            return 1;
 1014|     32|        case UNARY_NOT:
  ------------------
  |  |   53|     32|#define UNARY_NOT                               40
  ------------------
  |  Branch (1014:9): [True: 32, False: 155k]
  ------------------
 1015|     32|            return 1;
 1016|      2|        case UNPACK_EX:
  ------------------
  |  |  130|      2|#define UNPACK_EX                              117
  ------------------
  |  Branch (1016:9): [True: 2, False: 155k]
  ------------------
 1017|      2|            return 1 + (oparg & 0xFF) + (oparg >> 8);
 1018|    307|        case UNPACK_SEQUENCE:
  ------------------
  |  |  131|    307|#define UNPACK_SEQUENCE                        118
  ------------------
  |  Branch (1018:9): [True: 307, False: 155k]
  ------------------
 1019|    307|            return oparg;
 1020|      0|        case UNPACK_SEQUENCE_LIST:
  ------------------
  |  |  221|      0|#define UNPACK_SEQUENCE_LIST                   216
  ------------------
  |  Branch (1020:9): [True: 0, False: 155k]
  ------------------
 1021|      0|            return oparg;
 1022|      0|        case UNPACK_SEQUENCE_TUPLE:
  ------------------
  |  |  222|      0|#define UNPACK_SEQUENCE_TUPLE                  217
  ------------------
  |  Branch (1022:9): [True: 0, False: 155k]
  ------------------
 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: 155k]
  ------------------
 1025|      0|            return 2;
 1026|     52|        case WITH_EXCEPT_START:
  ------------------
  |  |   54|     52|#define WITH_EXCEPT_START                       41
  ------------------
  |  Branch (1026:9): [True: 52, False: 155k]
  ------------------
 1027|     52|            return 6;
 1028|    495|        case YIELD_VALUE:
  ------------------
  |  |  132|    495|#define YIELD_VALUE                            119
  ------------------
  |  Branch (1028:9): [True: 495, False: 154k]
  ------------------
 1029|    495|            return 1;
 1030|      0|        default:
  ------------------
  |  Branch (1030:9): [True: 0, False: 155k]
  ------------------
 1031|      0|            return -1;
 1032|   155k|    }
 1033|   155k|}

call.c:_PyErr_Occurred:
   76|  51.8M|{
   77|  51.8M|    assert(tstate != NULL);
   78|  51.8M|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 51.8M, False: 45.0k]
  ------------------
   79|  51.8M|        return NULL;
   80|  51.8M|    }
   81|  45.0k|    return (PyObject *)Py_TYPE(tstate->current_exception);
  ------------------
  |  |  213|  45.0k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  45.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  45.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   82|  51.8M|}
dictobject.c:_PyErr_Occurred:
   76|  1.37k|{
   77|  1.37k|    assert(tstate != NULL);
   78|  1.37k|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 1.37k, False: 0]
  ------------------
   79|  1.37k|        return NULL;
   80|  1.37k|    }
   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.37k|}
object.c:_PyErr_Occurred:
   76|  63.2k|{
   77|  63.2k|    assert(tstate != NULL);
   78|  63.2k|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 63.2k, False: 0]
  ------------------
   79|  63.2k|        return NULL;
   80|  63.2k|    }
   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|  63.2k|}
ceval.c:_PyErr_Occurred:
   76|  2.58M|{
   77|  2.58M|    assert(tstate != NULL);
   78|  2.58M|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 439k, False: 2.14M]
  ------------------
   79|   439k|        return NULL;
   80|   439k|    }
   81|  2.14M|    return (PyObject *)Py_TYPE(tstate->current_exception);
  ------------------
  |  |  213|  2.14M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.14M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.14M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   82|  2.58M|}
ceval.c:_PyErr_ClearExcState:
   85|  2.18M|{
   86|       |    Py_CLEAR(exc_state->exc_value);
  ------------------
  |  |  484|  2.18M|    do { \
  |  |  485|  2.18M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  2.18M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  2.18M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  2.18M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  2.18M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 2.18M]
  |  |  ------------------
  |  |  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.18M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2.18M]
  |  |  ------------------
  ------------------
   87|  2.18M|}
errors.c:_PyErr_Occurred:
   76|  17.7M|{
   77|  17.7M|    assert(tstate != NULL);
   78|  17.7M|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 15.6M, False: 2.12M]
  ------------------
   79|  15.6M|        return NULL;
   80|  15.6M|    }
   81|  2.12M|    return (PyObject *)Py_TYPE(tstate->current_exception);
  ------------------
  |  |  213|  2.12M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.12M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.12M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   82|  17.7M|}
gc.c:_PyErr_Occurred:
   76|  1.59M|{
   77|  1.59M|    assert(tstate != NULL);
   78|  1.59M|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 1.59M, False: 0]
  ------------------
   79|  1.59M|        return NULL;
   80|  1.59M|    }
   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.59M|}
import.c:_PyErr_Occurred:
   76|  7.67k|{
   77|  7.67k|    assert(tstate != NULL);
   78|  7.67k|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 7.67k, False: 0]
  ------------------
   79|  7.67k|        return NULL;
   80|  7.67k|    }
   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|  7.67k|}
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|  5.91M|{
   77|  5.91M|    assert(tstate != NULL);
   78|  5.91M|    if (tstate->current_exception == NULL) {
  ------------------
  |  Branch (78:9): [True: 5.91M, False: 0]
  ------------------
   79|  5.91M|        return NULL;
   80|  5.91M|    }
   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|  5.91M|}
genobject.c:_PyErr_ClearExcState:
   85|    216|{
   86|       |    Py_CLEAR(exc_state->exc_value);
  ------------------
  |  |  484|    216|    do { \
  |  |  485|    216|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    216|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    216|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    216|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    216|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 216]
  |  |  ------------------
  |  |  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|    216|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 216]
  |  |  ------------------
  ------------------
   87|    216|}

hashtable.c:_Py_HashPointerRaw:
   11|  62.0k|{
   12|  62.0k|    uintptr_t x = (uintptr_t)ptr;
   13|  62.0k|    Py_BUILD_ASSERT(sizeof(x) == sizeof(ptr));
  ------------------
  |  |  167|  62.0k|        do { \
  |  |  168|  62.0k|            static_assert((cond), #cond); \
  |  |  169|  62.0k|        } while (0)
  |  |  ------------------
  |  |  |  Branch (169:18): [Folded, False: 62.0k]
  |  |  ------------------
  ------------------
   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|  62.0k|    x = (x >> 4) | (x << (8 * sizeof(uintptr_t) - 4));
   18|       |
   19|       |    Py_BUILD_ASSERT(sizeof(x) == sizeof(Py_hash_t));
  ------------------
  |  |  167|  62.0k|        do { \
  |  |  168|  62.0k|            static_assert((cond), #cond); \
  |  |  169|  62.0k|        } while (0)
  |  |  ------------------
  |  |  |  Branch (169:18): [Folded, False: 62.0k]
  |  |  ------------------
  ------------------
   20|  62.0k|    return (Py_hash_t)x;
   21|  62.0k|}
pyhash.c:_Py_HashPointerRaw:
   11|  8.45M|{
   12|  8.45M|    uintptr_t x = (uintptr_t)ptr;
   13|  8.45M|    Py_BUILD_ASSERT(sizeof(x) == sizeof(ptr));
  ------------------
  |  |  167|  8.45M|        do { \
  |  |  168|  8.45M|            static_assert((cond), #cond); \
  |  |  169|  8.45M|        } while (0)
  |  |  ------------------
  |  |  |  Branch (169:18): [Folded, False: 8.45M]
  |  |  ------------------
  ------------------
   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|  8.45M|    x = (x >> 4) | (x << (8 * sizeof(uintptr_t) - 4));
   18|       |
   19|       |    Py_BUILD_ASSERT(sizeof(x) == sizeof(Py_hash_t));
  ------------------
  |  |  167|  8.45M|        do { \
  |  |  168|  8.45M|            static_assert((cond), #cond); \
  |  |  169|  8.45M|        } while (0)
  |  |  ------------------
  |  |  |  Branch (169:18): [Folded, False: 8.45M]
  |  |  ------------------
  ------------------
   20|  8.45M|    return (Py_hash_t)x;
   21|  8.45M|}

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

bytesobject.c:_PyInterpreterState_GET:
  207|  17.7M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  17.7M|#if !defined(Py_BUILD_CORE_MODULE)
  213|  17.7M|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  17.7M|}
call.c:_PyThreadState_GET:
  117|  35.9M|{
  118|  35.9M|#if !defined(Py_BUILD_CORE_MODULE)
  119|  35.9M|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  35.9M|}
call.c:_Py_get_machine_stack_pointer:
  318|  17.3M|_Py_get_machine_stack_pointer(void) {
  319|  17.3M|#if _Py__has_builtin(__builtin_frame_address) || defined(__GNUC__)
  320|  17.3M|    return (uintptr_t)__builtin_frame_address(0);
  321|       |#elif defined(_MSC_VER)
  322|       |    return (uintptr_t)_AddressOfReturnAddress();
  323|       |#else
  324|       |    char here;
  325|       |    /* Avoid compiler warning about returning stack address */
  326|       |    return return_pointer_as_int(&here);
  327|       |#endif
  328|  17.3M|}
exceptions.c:_PyInterpreterState_GET:
  207|  1.19M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  1.19M|#if !defined(Py_BUILD_CORE_MODULE)
  213|  1.19M|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  1.19M|}
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|  8.29M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  8.29M|#if !defined(Py_BUILD_CORE_MODULE)
  213|  8.29M|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  8.29M|}
listobject.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|}
longobject.c:_PyInterpreterState_GET:
  207|   104M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|   104M|#if !defined(Py_BUILD_CORE_MODULE)
  213|   104M|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|   104M|}
dictobject.c:_PyInterpreterState_GET:
  207|  24.7M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  24.7M|#if !defined(Py_BUILD_CORE_MODULE)
  213|  24.7M|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  24.7M|}
dictobject.c:_PyThreadState_GET:
  117|  1.62k|{
  118|  1.62k|#if !defined(Py_BUILD_CORE_MODULE)
  119|  1.62k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  1.62k|}
memoryobject.c:_PyInterpreterState_GET:
  207|  41.1k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  41.1k|#if !defined(Py_BUILD_CORE_MODULE)
  213|  41.1k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  41.1k|}
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|   199M|{
  118|   199M|#if !defined(Py_BUILD_CORE_MODULE)
  119|   199M|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|   199M|}
object.c:_Py_get_machine_stack_pointer:
  318|   167M|_Py_get_machine_stack_pointer(void) {
  319|   167M|#if _Py__has_builtin(__builtin_frame_address) || defined(__GNUC__)
  320|   167M|    return (uintptr_t)__builtin_frame_address(0);
  321|       |#elif defined(_MSC_VER)
  322|       |    return (uintptr_t)_AddressOfReturnAddress();
  323|       |#else
  324|       |    char here;
  325|       |    /* Avoid compiler warning about returning stack address */
  326|       |    return return_pointer_as_int(&here);
  327|       |#endif
  328|   167M|}
object.c:_PyInterpreterState_GET:
  207|    826|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|    826|#if !defined(Py_BUILD_CORE_MODULE)
  213|    826|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|    826|}
object.c:_Py_RecursionLimit_GetMargin:
  332|   135M|{
  333|   135M|    _PyThreadStateImpl *_tstate = (_PyThreadStateImpl *)tstate;
  334|   135M|    assert(_tstate->c_stack_hard_limit != 0);
  335|   135M|    intptr_t here_addr = _Py_get_machine_stack_pointer();
  336|   135M|#if _Py_STACK_GROWS_DOWN
  337|   135M|    return Py_ARITHMETIC_RIGHT_SHIFT(intptr_t, here_addr - (intptr_t)_tstate->c_stack_soft_limit, _PyOS_STACK_MARGIN_SHIFT);
  ------------------
  |  |  226|   135M|#define Py_ARITHMETIC_RIGHT_SHIFT(TYPE, I, J) ((I) >> (J))
  ------------------
  338|       |#else
  339|       |    return Py_ARITHMETIC_RIGHT_SHIFT(intptr_t, (intptr_t)_tstate->c_stack_soft_limit - here_addr, _PyOS_STACK_MARGIN_SHIFT);
  340|       |#endif
  341|   135M|}
obmalloc.c:_PyInterpreterState_GET:
  207|   166M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|   166M|#if !defined(Py_BUILD_CORE_MODULE)
  213|   166M|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|   166M|}
obmalloc.c:_Py_IsMainInterpreter:
   61|      2|{
   62|      2|    return (interp == _PyInterpreterState_Main());
   63|      2|}
rangeobject.c:_PyInterpreterState_GET:
  207|   198k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|   198k|#if !defined(Py_BUILD_CORE_MODULE)
  213|   198k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|   198k|}
sentinelobject.c:_PyInterpreterState_GET:
  207|      6|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|      6|#if !defined(Py_BUILD_CORE_MODULE)
  213|      6|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|      6|}
sentinelobject.c:_PyThreadState_GET:
  117|      6|{
  118|      6|#if !defined(Py_BUILD_CORE_MODULE)
  119|      6|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|      6|}
setobject.c:_PyInterpreterState_GET:
  207|  66.5k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  66.5k|#if !defined(Py_BUILD_CORE_MODULE)
  213|  66.5k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  66.5k|}
sliceobject.c:_PyInterpreterState_GET:
  207|  22.6M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  22.6M|#if !defined(Py_BUILD_CORE_MODULE)
  213|  22.6M|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  22.6M|}
structseq.c:_PyInterpreterState_GET:
  207|  11.8k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  11.8k|#if !defined(Py_BUILD_CORE_MODULE)
  213|  11.8k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  11.8k|}
tupleobject.c:_PyInterpreterState_GET:
  207|  75.3M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  75.3M|#if !defined(Py_BUILD_CORE_MODULE)
  213|  75.3M|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  75.3M|}
typeobject.c:_PyInterpreterState_GET:
  207|  99.7M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  99.7M|#if !defined(Py_BUILD_CORE_MODULE)
  213|  99.7M|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  99.7M|}
typeobject.c:_PyThreadState_GET:
  117|  30.1M|{
  118|  30.1M|#if !defined(Py_BUILD_CORE_MODULE)
  119|  30.1M|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  30.1M|}
typeobject.c:_Py_IsMainInterpreter:
   61|    404|{
   62|    404|    return (interp == _PyInterpreterState_Main());
   63|    404|}
typevarobject.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|}
typevarobject.c:_PyInterpreterState_GET:
  207|   116k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|   116k|#if !defined(Py_BUILD_CORE_MODULE)
  213|   116k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|   116k|}
unicode_writer.c:_PyInterpreterState_GET:
  207|  55.0k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  55.0k|#if !defined(Py_BUILD_CORE_MODULE)
  213|  55.0k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  55.0k|}
unicodeobject.c:_PyInterpreterState_GET:
  207|  1.33M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  1.33M|#if !defined(Py_BUILD_CORE_MODULE)
  213|  1.33M|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  1.33M|}
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|  50.1k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  50.1k|#if !defined(Py_BUILD_CORE_MODULE)
  213|  50.1k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  50.1k|}
_warnings.c:_PyThreadState_GET:
  117|  8.60k|{
  118|  8.60k|#if !defined(Py_BUILD_CORE_MODULE)
  119|  8.60k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  8.60k|}
_warnings.c:_PyInterpreterState_GET:
  207|  73.7k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  73.7k|#if !defined(Py_BUILD_CORE_MODULE)
  213|  73.7k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  73.7k|}
bltinmodule.c:_PyThreadState_GET:
  117|  7.98k|{
  118|  7.98k|#if !defined(Py_BUILD_CORE_MODULE)
  119|  7.98k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  7.98k|}
ceval.c:_PyInterpreterState_GET:
  207|    876|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|    876|#if !defined(Py_BUILD_CORE_MODULE)
  213|    876|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|    876|}
ceval.c:_Py_get_machine_stack_pointer:
  318|  47.7M|_Py_get_machine_stack_pointer(void) {
  319|  47.7M|#if _Py__has_builtin(__builtin_frame_address) || defined(__GNUC__)
  320|  47.7M|    return (uintptr_t)__builtin_frame_address(0);
  321|       |#elif defined(_MSC_VER)
  322|       |    return (uintptr_t)_AddressOfReturnAddress();
  323|       |#else
  324|       |    char here;
  325|       |    /* Avoid compiler warning about returning stack address */
  326|       |    return return_pointer_as_int(&here);
  327|       |#endif
  328|  47.7M|}
ceval.c:_PyThreadState_GET:
  117|  15.4M|{
  118|  15.4M|#if !defined(Py_BUILD_CORE_MODULE)
  119|  15.4M|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  15.4M|}
ceval.c:_Py_EnsureFuncTstateNotNULL:
  177|  5.48M|{
  178|  5.48M|    if (tstate == NULL) {
  ------------------
  |  Branch (178:9): [True: 0, False: 5.48M]
  ------------------
  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.48M|}
codecs.c:_PyInterpreterState_GET:
  207|  2.08k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  2.08k|#if !defined(Py_BUILD_CORE_MODULE)
  213|  2.08k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  2.08k|}
context.c:_PyThreadState_GET:
  117|  4.30k|{
  118|  4.30k|#if !defined(Py_BUILD_CORE_MODULE)
  119|  4.30k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  4.30k|}
errors.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|}
flowgraph.c:_PyInterpreterState_GET:
  207|    350|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|    350|#if !defined(Py_BUILD_CORE_MODULE)
  213|    350|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|    350|}
frame.c:_PyInterpreterState_GET:
  207|   728k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|   728k|#if !defined(Py_BUILD_CORE_MODULE)
  213|   728k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|   728k|}
gc.c:_PyInterpreterState_GET:
  207|  65.1M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  65.1M|#if !defined(Py_BUILD_CORE_MODULE)
  213|  65.1M|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  65.1M|}
gc.c:_PyThreadState_GET:
  117|  39.5M|{
  118|  39.5M|#if !defined(Py_BUILD_CORE_MODULE)
  119|  39.5M|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  39.5M|}
getargs.c:_PyInterpreterState_GET:
  207|     86|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|     86|#if !defined(Py_BUILD_CORE_MODULE)
  213|     86|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|     86|}
getargs.c:_Py_IsMainInterpreter:
   61|     31|{
   62|     31|    return (interp == _PyInterpreterState_Main());
   63|     31|}
ceval_gil.c:_PyThreadState_GET:
  117|   116k|{
  118|   116k|#if !defined(Py_BUILD_CORE_MODULE)
  119|   116k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|   116k|}
ceval_gil.c:_Py_EnsureFuncTstateNotNULL:
  177|   232k|{
  178|   232k|    if (tstate == NULL) {
  ------------------
  |  Branch (178:9): [True: 0, False: 232k]
  ------------------
  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|   232k|}
import.c:_PyThreadState_GET:
  117|   519k|{
  118|   519k|#if !defined(Py_BUILD_CORE_MODULE)
  119|   519k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|   519k|}
import.c:_PyInterpreterState_GET:
  207|  98.3k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  98.3k|#if !defined(Py_BUILD_CORE_MODULE)
  213|  98.3k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  98.3k|}
import.c:_Py_IsMainInterpreter:
   61|    114|{
   62|    114|    return (interp == _PyInterpreterState_Main());
   63|    114|}
marshal.c:_PyInterpreterState_GET:
  207|   621k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|   621k|#if !defined(Py_BUILD_CORE_MODULE)
  213|   621k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|   621k|}
pylifecycle.c:_Py_IsMainInterpreter:
   61|      6|{
   62|      6|    return (interp == _PyInterpreterState_Main());
   63|      6|}
pystate.c:_Py_EnsureFuncTstateNotNULL:
  177|  32.3M|{
  178|  32.3M|    if (tstate == NULL) {
  ------------------
  |  Branch (178:9): [True: 0, False: 32.3M]
  ------------------
  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|  32.3M|}
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|  85.2k|{
  118|  85.2k|#if !defined(Py_BUILD_CORE_MODULE)
  119|  85.2k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  85.2k|}
specialize.c:_PyInterpreterState_GET:
  207|  44.5k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  44.5k|#if !defined(Py_BUILD_CORE_MODULE)
  213|  44.5k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  44.5k|}
symtable.c:_PyThreadState_GET:
  117|    264|{
  118|    264|#if !defined(Py_BUILD_CORE_MODULE)
  119|    264|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|    264|}
sysmodule.c:_PyThreadState_GET:
  117|   292k|{
  118|   292k|#if !defined(Py_BUILD_CORE_MODULE)
  119|   292k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|   292k|}
sysmodule.c:_PyInterpreterState_GET:
  207|    616|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|    616|#if !defined(Py_BUILD_CORE_MODULE)
  213|    616|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|    616|}
sysmodule.c:_Py_EnsureFuncTstateNotNULL:
  177|  7.54k|{
  178|  7.54k|    if (tstate == NULL) {
  ------------------
  |  Branch (178:9): [True: 0, False: 7.54k]
  ------------------
  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|  7.54k|}
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|     43|{
  118|     43|#if !defined(Py_BUILD_CORE_MODULE)
  119|     43|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|     43|}
signalmodule.c:_Py_IsMainInterpreter:
   61|   202k|{
   62|   202k|    return (interp == _PyInterpreterState_Main());
   63|   202k|}
signalmodule.c:_PyThreadState_GET:
  117|   202k|{
  118|   202k|#if !defined(Py_BUILD_CORE_MODULE)
  119|   202k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|   202k|}
signalmodule.c:_Py_ThreadCanHandleSignals:
   84|   202k|{
   85|   202k|    return (_Py_IsMainThread() && _Py_IsMainInterpreter(interp));
  ------------------
  |  Branch (85:13): [True: 202k, False: 0]
  |  Branch (85:35): [True: 202k, False: 0]
  ------------------
   86|   202k|}
_collectionsmodule.c:_PyThreadState_GET:
  117|  11.7k|{
  118|  11.7k|#if !defined(Py_BUILD_CORE_MODULE)
  119|  11.7k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  11.7k|}
iobase.c:_PyInterpreterState_GET:
  207|  10.3k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  10.3k|#if !defined(Py_BUILD_CORE_MODULE)
  213|  10.3k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  10.3k|}
fileio.c:_PyInterpreterState_GET:
  207|  4.04k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  4.04k|#if !defined(Py_BUILD_CORE_MODULE)
  213|  4.04k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  4.04k|}
bytesio.c:_PyInterpreterState_GET:
  207|  3.55k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  3.55k|#if !defined(Py_BUILD_CORE_MODULE)
  213|  3.55k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  3.55k|}
bufferedio.c:_PyInterpreterState_GET:
  207|  4.04k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  4.04k|#if !defined(Py_BUILD_CORE_MODULE)
  213|  4.04k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  4.04k|}
bufferedio.c:_PyThreadState_GET:
  117|  3.98k|{
  118|  3.98k|#if !defined(Py_BUILD_CORE_MODULE)
  119|  3.98k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  3.98k|}
textio.c:_PyInterpreterState_GET:
  207|     25|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|     25|#if !defined(Py_BUILD_CORE_MODULE)
  213|     25|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|     25|}
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|  14.1M|{
  118|  14.1M|#if !defined(Py_BUILD_CORE_MODULE)
  119|  14.1M|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  14.1M|}
_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|  3.67k|{
  118|  3.67k|#if !defined(Py_BUILD_CORE_MODULE)
  119|  3.67k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  3.67k|}
_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|  8.06M|{
  118|  8.06M|#if !defined(Py_BUILD_CORE_MODULE)
  119|  8.06M|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  8.06M|}
abstract.c:_Py_get_machine_stack_pointer:
  318|   501k|_Py_get_machine_stack_pointer(void) {
  319|   501k|#if _Py__has_builtin(__builtin_frame_address) || defined(__GNUC__)
  320|   501k|    return (uintptr_t)__builtin_frame_address(0);
  321|       |#elif defined(_MSC_VER)
  322|       |    return (uintptr_t)_AddressOfReturnAddress();
  323|       |#else
  324|       |    char here;
  325|       |    /* Avoid compiler warning about returning stack address */
  326|       |    return return_pointer_as_int(&here);
  327|       |#endif
  328|   501k|}
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|  12.2M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  12.2M|#if !defined(Py_BUILD_CORE_MODULE)
  213|  12.2M|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  12.2M|}
classobject.c:_PyInterpreterState_GET:
  207|  9.89M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  9.89M|#if !defined(Py_BUILD_CORE_MODULE)
  213|  9.89M|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  9.89M|}
classobject.c:_PyThreadState_GET:
  117|  2.09M|{
  118|  2.09M|#if !defined(Py_BUILD_CORE_MODULE)
  119|  2.09M|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  2.09M|}
codeobject.c:_PyInterpreterState_GET:
  207|   554k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|   554k|#if !defined(Py_BUILD_CORE_MODULE)
  213|   554k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|   554k|}
complexobject.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|}
descrobject.c:_PyInterpreterState_GET:
  207|  33.4k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  33.4k|#if !defined(Py_BUILD_CORE_MODULE)
  213|  33.4k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  33.4k|}
descrobject.c:_PyThreadState_GET:
  117|   260k|{
  118|   260k|#if !defined(Py_BUILD_CORE_MODULE)
  119|   260k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|   260k|}
descrobject.c:_Py_get_machine_stack_pointer:
  318|   260k|_Py_get_machine_stack_pointer(void) {
  319|   260k|#if _Py__has_builtin(__builtin_frame_address) || defined(__GNUC__)
  320|   260k|    return (uintptr_t)__builtin_frame_address(0);
  321|       |#elif defined(_MSC_VER)
  322|       |    return (uintptr_t)_AddressOfReturnAddress();
  323|       |#else
  324|       |    char here;
  325|       |    /* Avoid compiler warning about returning stack address */
  326|       |    return return_pointer_as_int(&here);
  327|       |#endif
  328|   260k|}
enumobject.c:_PyInterpreterState_GET:
  207|    142|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|    142|#if !defined(Py_BUILD_CORE_MODULE)
  213|    142|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|    142|}
enumobject.c:_PyThreadState_GET:
  117|  3.98k|{
  118|  3.98k|#if !defined(Py_BUILD_CORE_MODULE)
  119|  3.98k|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  3.98k|}
genobject.c:_PyInterpreterState_GET:
  207|  8.74M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  8.74M|#if !defined(Py_BUILD_CORE_MODULE)
  213|  8.74M|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  8.74M|}
genobject.c:_PyThreadState_GET:
  117|  1.08M|{
  118|  1.08M|#if !defined(Py_BUILD_CORE_MODULE)
  119|  1.08M|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  1.08M|}
frameobject.c:_PyInterpreterState_GET:
  207|   728k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|   728k|#if !defined(Py_BUILD_CORE_MODULE)
  213|   728k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|   728k|}
funcobject.c:_PyInterpreterState_GET:
  207|  22.5M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  22.5M|#if !defined(Py_BUILD_CORE_MODULE)
  213|  22.5M|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  22.5M|}
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|     78|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|     78|#if !defined(Py_BUILD_CORE_MODULE)
  213|     78|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|     78|}
odictobject.c:_PyInterpreterState_GET:
  207|  93.3k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  93.3k|#if !defined(Py_BUILD_CORE_MODULE)
  213|  93.3k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  93.3k|}
methodobject.c:_PyInterpreterState_GET:
  207|  28.7M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  28.7M|#if !defined(Py_BUILD_CORE_MODULE)
  213|  28.7M|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  28.7M|}
methodobject.c:_PyThreadState_GET:
  117|  10.0M|{
  118|  10.0M|#if !defined(Py_BUILD_CORE_MODULE)
  119|  10.0M|    return _Py_tss_tstate;
  120|       |#else
  121|       |    return _PyThreadState_GetCurrent();
  122|       |#endif
  123|  10.0M|}
methodobject.c:_Py_get_machine_stack_pointer:
  318|  10.0M|_Py_get_machine_stack_pointer(void) {
  319|  10.0M|#if _Py__has_builtin(__builtin_frame_address) || defined(__GNUC__)
  320|  10.0M|    return (uintptr_t)__builtin_frame_address(0);
  321|       |#elif defined(_MSC_VER)
  322|       |    return (uintptr_t)_AddressOfReturnAddress();
  323|       |#else
  324|       |    char here;
  325|       |    /* Avoid compiler warning about returning stack address */
  326|       |    return return_pointer_as_int(&here);
  327|       |#endif
  328|  10.0M|}
Python-ast.c:_PyInterpreterState_GET:
  207|  27.2k|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  27.2k|#if !defined(Py_BUILD_CORE_MODULE)
  213|  27.2k|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  27.2k|}
crossinterp.c:_Py_IsMainInterpreter:
   61|      2|{
   62|      2|    return (interp == _PyInterpreterState_Main());
   63|      2|}
pegen.c:_PyInterpreterState_GET:
  207|  3.50M|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|  3.50M|#if !defined(Py_BUILD_CORE_MODULE)
  213|  3.50M|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|  3.50M|}
action_helpers.c:_PyInterpreterState_GET:
  207|    188|static inline PyInterpreterState* _PyInterpreterState_GET(void) {
  208|       |#ifdef Py_DEBUG
  209|       |    PyThreadState *tstate = _PyThreadState_GET();
  210|       |    _Py_EnsureTstateNotNULL(tstate);
  211|       |#endif
  212|    188|#if !defined(Py_BUILD_CORE_MODULE)
  213|    188|    return _Py_tss_interp;
  214|       |#else
  215|       |    return _PyThreadState_GET()->interp;
  216|       |#endif
  217|    188|}

pylifecycle.c:_PyRuntimeState_GetFinalizing:
   36|  4.30k|_PyRuntimeState_GetFinalizing(_PyRuntimeState *runtime) {
   37|  4.30k|    return (PyThreadState*)_Py_atomic_load_ptr_relaxed(&runtime->_finalizing);
   38|  4.30k|}
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:
  766|   296k|{
  767|       |#ifdef Py_GIL_DISABLED
  768|       |    _PyThreadStateImpl *tstate_impl = (_PyThreadStateImpl *)tstate;
  769|       |    ref->next = tstate_impl->c_stack_refs;
  770|       |    tstate_impl->c_stack_refs = ref;
  771|       |#endif
  772|   296k|    ref->ref = PyStackRef_NULL;
  773|   296k|}
call.c:PyStackRef_FromPyObjectBorrow:
  615|   148k|{
  616|   148k|    assert(obj != NULL);
  617|   148k|    return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT};
  ------------------
  |  |   55|   148k|#define Py_TAG_REFCNT 1
  ------------------
  618|   148k|}
call.c:_PyThreadState_PopCStackRef:
  784|   296k|{
  785|       |#ifdef Py_GIL_DISABLED
  786|       |    _PyThreadStateImpl *tstate_impl = (_PyThreadStateImpl *)tstate;
  787|       |    assert(tstate_impl->c_stack_refs == ref);
  788|       |    tstate_impl->c_stack_refs = ref->next;
  789|       |#endif
  790|   296k|    PyStackRef_XCLOSE(ref->ref);
  791|   296k|}
call.c:PyStackRef_XCLOSE:
  701|   296k|{
  702|   296k|    assert(ref.bits != 0);
  703|   296k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (703:9): [True: 148k, False: 148k]
  ------------------
  704|   148k|        assert(!PyStackRef_IsNull(ref));
  705|   148k|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  460|   148k|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   148k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   148k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  706|   148k|    }
  707|   296k|}
call.c:PyStackRef_RefcountOnObject:
  522|   296k|{
  523|   296k|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|   296k|#define Py_TAG_REFCNT 1
  ------------------
  524|   296k|}
call.c:PyStackRef_AsPyObjectBorrow:
  528|   296k|{
  529|   296k|    assert(!PyStackRef_IsTaggedInt(ref));
  530|   296k|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  465|   296k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|   296k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  531|   296k|}
listobject.c:PyStackRef_AsPyObjectSteal:
  542|  2.18M|{
  543|  2.18M|    assert(!PyStackRef_IsNull(ref));
  544|  2.18M|    assert(!PyStackRef_IsTaggedInt(ref));
  545|  2.18M|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (545:9): [True: 10.5k, False: 2.17M]
  ------------------
  546|  10.5k|        return BITS_TO_PTR(ref);
  ------------------
  |  |  464|  10.5k|#define BITS_TO_PTR(REF) ((PyObject *)((REF).bits))
  ------------------
  547|  10.5k|    }
  548|  2.17M|    else {
  549|  2.17M|        return Py_NewRef(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |  550|  2.17M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.17M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.17M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  550|  2.17M|    }
  551|  2.18M|}
listobject.c:PyStackRef_RefcountOnObject:
  522|  2.18M|{
  523|  2.18M|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|  2.18M|#define Py_TAG_REFCNT 1
  ------------------
  524|  2.18M|}
longobject.c:PyStackRef_FromPyObjectBorrow:
  615|  13.6M|{
  616|  13.6M|    assert(obj != NULL);
  617|  13.6M|    return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT};
  ------------------
  |  |   55|  13.6M|#define Py_TAG_REFCNT 1
  ------------------
  618|  13.6M|}
longobject.c:PyStackRef_FromPyObjectStealMortal:
  573|  33.0M|{
  574|  33.0M|    assert(obj != NULL);
  575|  33.0M|    assert(!_Py_IsImmortal(obj));
  576|  33.0M|    _PyStackRef ref = (_PyStackRef){ .bits = (uintptr_t)obj };
  577|  33.0M|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  510|  33.0M|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  578|  33.0M|    return ref;
  579|  33.0M|}
dictobject.c:_PyStackRef_FromPyObjectNew:
  583|  6.34M|{
  584|  6.34M|    assert(obj != NULL);
  585|       |#ifdef Py_GIL_DISABLED
  586|       |    if (_PyObject_HasDeferredRefcount(obj)) {
  587|       |        return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT };
  588|       |    }
  589|       |#else
  590|  6.34M|    if (_Py_IsImmortal(obj)) {
  ------------------
  |  |  137|  6.34M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.34M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.34M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 17.0k, False: 6.32M]
  |  |  ------------------
  ------------------
  591|  17.0k|        return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT };
  ------------------
  |  |   55|  17.0k|#define Py_TAG_REFCNT 1
  ------------------
  592|  17.0k|    }
  593|  6.32M|#endif
  594|  6.32M|    _Py_INCREF_MORTAL(obj);
  595|  6.32M|    _PyStackRef ref = (_PyStackRef){ .bits = (uintptr_t)obj };
  596|  6.32M|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  510|  6.32M|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  597|  6.32M|    return ref;
  598|  6.34M|}
dictobject.c:PyStackRef_XCLOSE:
  701|     11|{
  702|     11|    assert(ref.bits != 0);
  703|     11|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (703:9): [True: 0, False: 11]
  ------------------
  704|      0|        assert(!PyStackRef_IsNull(ref));
  705|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  706|      0|    }
  707|     11|}
dictobject.c:PyStackRef_RefcountOnObject:
  522|  3.74M|{
  523|  3.74M|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|  3.74M|#define Py_TAG_REFCNT 1
  ------------------
  524|  3.74M|}
dictobject.c:PyStackRef_FromPyObjectSteal:
  555|     11|{
  556|     11|    assert(obj != NULL);
  557|       |#ifdef Py_GIL_DISABLED
  558|       |    return (_PyStackRef){ .bits = (uintptr_t)obj };
  559|       |#else
  560|     11|#  if SIZEOF_VOID_P > 4
  561|     11|    unsigned int tag = obj->ob_flags & Py_TAG_REFCNT;
  ------------------
  |  |   55|     11|#define Py_TAG_REFCNT 1
  ------------------
  562|       |#  else
  563|       |    unsigned int tag = _Py_IsImmortal(obj) ? Py_TAG_REFCNT : 0;
  564|       |#  endif
  565|     11|    _PyStackRef ref = ((_PyStackRef){.bits = ((uintptr_t)(obj)) | tag});
  566|     11|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  510|     11|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  567|     11|    return ref;
  568|     11|#endif
  569|     11|}
dictobject.c:PyStackRef_AsPyObjectBorrow:
  528|  3.74M|{
  529|  3.74M|    assert(!PyStackRef_IsTaggedInt(ref));
  530|  3.74M|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  465|  3.74M|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  3.74M|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  531|  3.74M|}
dictobject.c:PyStackRef_CLOSE:
  679|  3.74M|{
  680|  3.74M|    assert(!PyStackRef_IsNull(ref));
  681|  3.74M|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (681:9): [True: 3.74M, False: 0]
  ------------------
  682|  3.74M|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  460|  3.74M|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.74M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.74M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  683|  3.74M|    }
  684|  3.74M|}
object.c:PyStackRef_FromPyObjectSteal:
  555|  28.2M|{
  556|  28.2M|    assert(obj != NULL);
  557|       |#ifdef Py_GIL_DISABLED
  558|       |    return (_PyStackRef){ .bits = (uintptr_t)obj };
  559|       |#else
  560|  28.2M|#  if SIZEOF_VOID_P > 4
  561|  28.2M|    unsigned int tag = obj->ob_flags & Py_TAG_REFCNT;
  ------------------
  |  |   55|  28.2M|#define Py_TAG_REFCNT 1
  ------------------
  562|       |#  else
  563|       |    unsigned int tag = _Py_IsImmortal(obj) ? Py_TAG_REFCNT : 0;
  564|       |#  endif
  565|  28.2M|    _PyStackRef ref = ((_PyStackRef){.bits = ((uintptr_t)(obj)) | tag});
  566|  28.2M|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  510|  28.2M|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  567|  28.2M|    return ref;
  568|  28.2M|#endif
  569|  28.2M|}
object.c:PyStackRef_AsPyObjectBorrow:
  528|  50.0M|{
  529|  50.0M|    assert(!PyStackRef_IsTaggedInt(ref));
  530|  50.0M|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  465|  50.0M|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  50.0M|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  531|  50.0M|}
object.c:PyStackRef_XCLOSE:
  701|  35.9M|{
  702|  35.9M|    assert(ref.bits != 0);
  703|  35.9M|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (703:9): [True: 9.22M, False: 26.7M]
  ------------------
  704|  9.22M|        assert(!PyStackRef_IsNull(ref));
  705|  9.22M|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  460|  9.22M|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.22M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.22M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  706|  9.22M|    }
  707|  35.9M|}
object.c:PyStackRef_RefcountOnObject:
  522|  36.0M|{
  523|  36.0M|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|  36.0M|#define Py_TAG_REFCNT 1
  ------------------
  524|  36.0M|}
object.c:_PyStackRef_FromPyObjectNew:
  583|  4.43k|{
  584|  4.43k|    assert(obj != NULL);
  585|       |#ifdef Py_GIL_DISABLED
  586|       |    if (_PyObject_HasDeferredRefcount(obj)) {
  587|       |        return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT };
  588|       |    }
  589|       |#else
  590|  4.43k|    if (_Py_IsImmortal(obj)) {
  ------------------
  |  |  137|  4.43k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 4.43k]
  |  |  ------------------
  ------------------
  591|      0|        return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT };
  ------------------
  |  |   55|      0|#define Py_TAG_REFCNT 1
  ------------------
  592|      0|    }
  593|  4.43k|#endif
  594|  4.43k|    _Py_INCREF_MORTAL(obj);
  595|  4.43k|    _PyStackRef ref = (_PyStackRef){ .bits = (uintptr_t)obj };
  596|  4.43k|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  510|  4.43k|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  597|  4.43k|    return ref;
  598|  4.43k|}
object.c:_PyThreadState_PushCStackRef:
  766|  28.2M|{
  767|       |#ifdef Py_GIL_DISABLED
  768|       |    _PyThreadStateImpl *tstate_impl = (_PyThreadStateImpl *)tstate;
  769|       |    ref->next = tstate_impl->c_stack_refs;
  770|       |    tstate_impl->c_stack_refs = ref;
  771|       |#endif
  772|  28.2M|    ref->ref = PyStackRef_NULL;
  773|  28.2M|}
object.c:PyStackRef_AsPyObjectSteal:
  542|   131k|{
  543|   131k|    assert(!PyStackRef_IsNull(ref));
  544|   131k|    assert(!PyStackRef_IsTaggedInt(ref));
  545|   131k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (545:9): [True: 4.35k, False: 127k]
  ------------------
  546|  4.35k|        return BITS_TO_PTR(ref);
  ------------------
  |  |  464|  4.35k|#define BITS_TO_PTR(REF) ((PyObject *)((REF).bits))
  ------------------
  547|  4.35k|    }
  548|   127k|    else {
  549|   127k|        return Py_NewRef(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |  550|   127k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   127k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   127k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  550|   127k|    }
  551|   131k|}
object.c:_PyThreadState_PopCStackRef:
  784|  28.2M|{
  785|       |#ifdef Py_GIL_DISABLED
  786|       |    _PyThreadStateImpl *tstate_impl = (_PyThreadStateImpl *)tstate;
  787|       |    assert(tstate_impl->c_stack_refs == ref);
  788|       |    tstate_impl->c_stack_refs = ref->next;
  789|       |#endif
  790|  28.2M|    PyStackRef_XCLOSE(ref->ref);
  791|  28.2M|}
sentinelobject.c:PyStackRef_AsPyObjectBorrow:
  528|      6|{
  529|      6|    assert(!PyStackRef_IsTaggedInt(ref));
  530|      6|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  465|      6|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|      6|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  531|      6|}
tupleobject.c:PyStackRef_AsPyObjectSteal:
  542|  16.3M|{
  543|  16.3M|    assert(!PyStackRef_IsNull(ref));
  544|  16.3M|    assert(!PyStackRef_IsTaggedInt(ref));
  545|  16.3M|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (545:9): [True: 8.89M, False: 7.46M]
  ------------------
  546|  8.89M|        return BITS_TO_PTR(ref);
  ------------------
  |  |  464|  8.89M|#define BITS_TO_PTR(REF) ((PyObject *)((REF).bits))
  ------------------
  547|  8.89M|    }
  548|  7.46M|    else {
  549|  7.46M|        return Py_NewRef(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |  550|  7.46M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  7.46M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.46M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  550|  7.46M|    }
  551|  16.3M|}
tupleobject.c:PyStackRef_RefcountOnObject:
  522|  16.3M|{
  523|  16.3M|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|  16.3M|#define Py_TAG_REFCNT 1
  ------------------
  524|  16.3M|}
typeobject.c:PyStackRef_AsPyObjectBorrow:
  528|  14.2M|{
  529|  14.2M|    assert(!PyStackRef_IsTaggedInt(ref));
  530|  14.2M|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  465|  14.2M|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  14.2M|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  531|  14.2M|}
typeobject.c:PyStackRef_XCLOSE:
  701|  28.5M|{
  702|  28.5M|    assert(ref.bits != 0);
  703|  28.5M|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (703:9): [True: 12.7M, False: 15.8M]
  ------------------
  704|  12.7M|        assert(!PyStackRef_IsNull(ref));
  705|  12.7M|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  460|  12.7M|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.7M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  706|  12.7M|    }
  707|  28.5M|}
typeobject.c:PyStackRef_RefcountOnObject:
  522|  45.0M|{
  523|  45.0M|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|  45.0M|#define Py_TAG_REFCNT 1
  ------------------
  524|  45.0M|}
typeobject.c:PyStackRef_FromPyObjectSteal:
  555|  7.68M|{
  556|  7.68M|    assert(obj != NULL);
  557|       |#ifdef Py_GIL_DISABLED
  558|       |    return (_PyStackRef){ .bits = (uintptr_t)obj };
  559|       |#else
  560|  7.68M|#  if SIZEOF_VOID_P > 4
  561|  7.68M|    unsigned int tag = obj->ob_flags & Py_TAG_REFCNT;
  ------------------
  |  |   55|  7.68M|#define Py_TAG_REFCNT 1
  ------------------
  562|       |#  else
  563|       |    unsigned int tag = _Py_IsImmortal(obj) ? Py_TAG_REFCNT : 0;
  564|       |#  endif
  565|  7.68M|    _PyStackRef ref = ((_PyStackRef){.bits = ((uintptr_t)(obj)) | tag});
  566|  7.68M|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  510|  7.68M|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  567|  7.68M|    return ref;
  568|  7.68M|#endif
  569|  7.68M|}
typeobject.c:PyStackRef_AsPyObjectSteal:
  542|  16.4M|{
  543|  16.4M|    assert(!PyStackRef_IsNull(ref));
  544|  16.4M|    assert(!PyStackRef_IsTaggedInt(ref));
  545|  16.4M|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (545:9): [True: 16.4M, False: 6.50k]
  ------------------
  546|  16.4M|        return BITS_TO_PTR(ref);
  ------------------
  |  |  464|  16.4M|#define BITS_TO_PTR(REF) ((PyObject *)((REF).bits))
  ------------------
  547|  16.4M|    }
  548|  6.50k|    else {
  549|  6.50k|        return Py_NewRef(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |  550|  6.50k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  6.50k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.50k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  550|  6.50k|    }
  551|  16.4M|}
typeobject.c:_PyStackRef_FromPyObjectNew:
  583|  36.1M|{
  584|  36.1M|    assert(obj != NULL);
  585|       |#ifdef Py_GIL_DISABLED
  586|       |    if (_PyObject_HasDeferredRefcount(obj)) {
  587|       |        return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT };
  588|       |    }
  589|       |#else
  590|  36.1M|    if (_Py_IsImmortal(obj)) {
  ------------------
  |  |  137|  36.1M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  36.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  36.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 504k, False: 35.6M]
  |  |  ------------------
  ------------------
  591|   504k|        return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT };
  ------------------
  |  |   55|   504k|#define Py_TAG_REFCNT 1
  ------------------
  592|   504k|    }
  593|  35.6M|#endif
  594|  35.6M|    _Py_INCREF_MORTAL(obj);
  595|  35.6M|    _PyStackRef ref = (_PyStackRef){ .bits = (uintptr_t)obj };
  596|  35.6M|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  510|  35.6M|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  597|  35.6M|    return ref;
  598|  36.1M|}
typeobject.c:_PyThreadState_PushCStackRef:
  766|  28.6M|{
  767|       |#ifdef Py_GIL_DISABLED
  768|       |    _PyThreadStateImpl *tstate_impl = (_PyThreadStateImpl *)tstate;
  769|       |    ref->next = tstate_impl->c_stack_refs;
  770|       |    tstate_impl->c_stack_refs = ref;
  771|       |#endif
  772|  28.6M|    ref->ref = PyStackRef_NULL;
  773|  28.6M|}
typeobject.c:_PyThreadState_PopCStackRef:
  784|  20.7M|{
  785|       |#ifdef Py_GIL_DISABLED
  786|       |    _PyThreadStateImpl *tstate_impl = (_PyThreadStateImpl *)tstate;
  787|       |    assert(tstate_impl->c_stack_refs == ref);
  788|       |    tstate_impl->c_stack_refs = ref->next;
  789|       |#endif
  790|  20.7M|    PyStackRef_XCLOSE(ref->ref);
  791|  20.7M|}
typeobject.c:_PyThreadState_PopCStackRefSteal:
  795|  7.86M|{
  796|       |#ifdef Py_GIL_DISABLED
  797|       |    _PyThreadStateImpl *tstate_impl = (_PyThreadStateImpl *)tstate;
  798|       |    assert(tstate_impl->c_stack_refs == ref);
  799|       |    tstate_impl->c_stack_refs = ref->next;
  800|       |#endif
  801|  7.86M|    return ref->ref;
  802|  7.86M|}
typeobject.c:PyStackRef_CLOSE:
  679|  49.4k|{
  680|  49.4k|    assert(!PyStackRef_IsNull(ref));
  681|  49.4k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (681:9): [True: 49.1k, False: 242]
  ------------------
  682|  49.1k|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  460|  49.1k|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  49.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  49.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  683|  49.1k|    }
  684|  49.4k|}
typeobject.c:_PyThreadState_PushCStackRefNew:
  777|   223k|{
  778|   223k|    _PyThreadState_PushCStackRef(tstate, ref);
  779|   223k|    ref->ref = PyStackRef_FromPyObjectNew(obj);
  ------------------
  |  |  599|   223k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   223k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   223k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  780|   223k|}
typevarobject.c:PyStackRef_AsPyObjectBorrow:
  528|     70|{
  529|     70|    assert(!PyStackRef_IsTaggedInt(ref));
  530|     70|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  465|     70|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|     70|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  531|     70|}
_warnings.c:PyStackRef_AsPyObjectBorrow:
  528|  4.30k|{
  529|  4.30k|    assert(!PyStackRef_IsTaggedInt(ref));
  530|  4.30k|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  465|  4.30k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  4.30k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  531|  4.30k|}
ceval.c:_PyThreadState_PushCStackRef:
  766|  29.1M|{
  767|       |#ifdef Py_GIL_DISABLED
  768|       |    _PyThreadStateImpl *tstate_impl = (_PyThreadStateImpl *)tstate;
  769|       |    ref->next = tstate_impl->c_stack_refs;
  770|       |    tstate_impl->c_stack_refs = ref;
  771|       |#endif
  772|  29.1M|    ref->ref = PyStackRef_NULL;
  773|  29.1M|}
ceval.c:PyStackRef_FromPyObjectBorrow:
  615|   106M|{
  616|   106M|    assert(obj != NULL);
  617|   106M|    return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT};
  ------------------
  |  |   55|   106M|#define Py_TAG_REFCNT 1
  ------------------
  618|   106M|}
ceval.c:PyStackRef_AsPyObjectBorrow:
  528|  2.13G|{
  529|  2.13G|    assert(!PyStackRef_IsTaggedInt(ref));
  530|  2.13G|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  465|  2.13G|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  2.13G|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  531|  2.13G|}
ceval.c:PyStackRef_XCLOSE:
  701|   579M|{
  702|   579M|    assert(ref.bits != 0);
  703|   579M|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (703:9): [True: 189M, False: 389M]
  ------------------
  704|   189M|        assert(!PyStackRef_IsNull(ref));
  705|   189M|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  460|   189M|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   189M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   189M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  706|   189M|    }
  707|   579M|}
ceval.c:PyStackRef_RefcountOnObject:
  522|  1.16G|{
  523|  1.16G|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|  1.16G|#define Py_TAG_REFCNT 1
  ------------------
  524|  1.16G|}
ceval.c:PyStackRef_CLOSE:
  679|   247M|{
  680|   247M|    assert(!PyStackRef_IsNull(ref));
  681|   247M|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (681:9): [True: 96.2M, False: 150M]
  ------------------
  682|  96.2M|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  460|  96.2M|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  96.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  96.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  683|  96.2M|    }
  684|   247M|}
ceval.c:_PyThreadState_PopCStackRefSteal:
  795|  29.1M|{
  796|       |#ifdef Py_GIL_DISABLED
  797|       |    _PyThreadStateImpl *tstate_impl = (_PyThreadStateImpl *)tstate;
  798|       |    assert(tstate_impl->c_stack_refs == ref);
  799|       |    tstate_impl->c_stack_refs = ref->next;
  800|       |#endif
  801|  29.1M|    return ref->ref;
  802|  29.1M|}
ceval.c:PyStackRef_TYPE:
  727|  8.61M|PyStackRef_TYPE(_PyStackRef stackref) {
  728|  8.61M|    if (PyStackRef_IsTaggedInt(stackref)) {
  ------------------
  |  Branch (728:9): [True: 0, False: 8.61M]
  ------------------
  729|      0|        return &PyLong_Type;
  730|      0|    }
  731|  8.61M|    return Py_TYPE(PyStackRef_AsPyObjectBorrow(stackref));
  ------------------
  |  |  213|  8.61M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.61M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.61M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  732|  8.61M|}
ceval.c:PyStackRef_TagInt:
  434|  5.68M|{
  435|  5.68M|    assert(Py_ARITHMETIC_RIGHT_SHIFT(intptr_t, (intptr_t)(((uintptr_t)i) << Py_TAGGED_SHIFT),
  436|  5.68M|                                     Py_TAGGED_SHIFT) == i);
  437|  5.68M|    return (_PyStackRef){ .bits = ((((uintptr_t)i) << Py_TAGGED_SHIFT) | Py_INT_TAG) };
  ------------------
  |  |   58|  5.68M|#define Py_TAGGED_SHIFT 2
  ------------------
                  return (_PyStackRef){ .bits = ((((uintptr_t)i) << Py_TAGGED_SHIFT) | Py_INT_TAG) };
  ------------------
  |  |   53|  5.68M|#define Py_INT_TAG 3
  ------------------
  438|  5.68M|}
ceval.c:PyStackRef_FromPyObjectSteal:
  555|   170M|{
  556|   170M|    assert(obj != NULL);
  557|       |#ifdef Py_GIL_DISABLED
  558|       |    return (_PyStackRef){ .bits = (uintptr_t)obj };
  559|       |#else
  560|   170M|#  if SIZEOF_VOID_P > 4
  561|   170M|    unsigned int tag = obj->ob_flags & Py_TAG_REFCNT;
  ------------------
  |  |   55|   170M|#define Py_TAG_REFCNT 1
  ------------------
  562|       |#  else
  563|       |    unsigned int tag = _Py_IsImmortal(obj) ? Py_TAG_REFCNT : 0;
  564|       |#  endif
  565|   170M|    _PyStackRef ref = ((_PyStackRef){.bits = ((uintptr_t)(obj)) | tag});
  566|   170M|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  510|   170M|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  567|   170M|    return ref;
  568|   170M|#endif
  569|   170M|}
ceval.c:PyStackRef_CLOSE_SPECIALIZED:
  689|   215M|{
  690|   215M|    assert(!PyStackRef_IsNull(ref));
  691|   215M|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (691:9): [True: 61.6M, False: 153M]
  ------------------
  692|  61.6M|        Py_DECREF_MORTAL_SPECIALIZED(BITS_TO_PTR(ref), destruct);
  ------------------
  |  |  471|  61.6M|#define Py_DECREF_MORTAL_SPECIALIZED(op, destruct) Py_DECREF_MORTAL_SPECIALIZED(_PyObject_CAST(op), destruct)
  |  |  ------------------
  |  |  |  |  171|  61.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  61.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  693|  61.6M|    }
  694|   215M|}
ceval.c:PyStackRef_AsPyObjectSteal:
  542|  46.3M|{
  543|  46.3M|    assert(!PyStackRef_IsNull(ref));
  544|  46.3M|    assert(!PyStackRef_IsTaggedInt(ref));
  545|  46.3M|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (545:9): [True: 32.6M, False: 13.6M]
  ------------------
  546|  32.6M|        return BITS_TO_PTR(ref);
  ------------------
  |  |  464|  32.6M|#define BITS_TO_PTR(REF) ((PyObject *)((REF).bits))
  ------------------
  547|  32.6M|    }
  548|  13.6M|    else {
  549|  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  550|  13.6M|    }
  551|  46.3M|}
ceval.c:_PyStackRef_FromPyObjectNew:
  583|   408M|{
  584|   408M|    assert(obj != NULL);
  585|       |#ifdef Py_GIL_DISABLED
  586|       |    if (_PyObject_HasDeferredRefcount(obj)) {
  587|       |        return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT };
  588|       |    }
  589|       |#else
  590|   408M|    if (_Py_IsImmortal(obj)) {
  ------------------
  |  |  137|   408M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   408M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   408M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 105M, False: 303M]
  |  |  ------------------
  ------------------
  591|   105M|        return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT };
  ------------------
  |  |   55|   105M|#define Py_TAG_REFCNT 1
  ------------------
  592|   105M|    }
  593|   303M|#endif
  594|   303M|    _Py_INCREF_MORTAL(obj);
  595|   303M|    _PyStackRef ref = (_PyStackRef){ .bits = (uintptr_t)obj };
  596|   303M|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  510|   303M|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  597|   303M|    return ref;
  598|   408M|}
ceval.c:PyStackRef_Wrap:
  386|  63.8M|{
  387|  63.8M|    assert(ptr != NULL);
  388|       |#ifdef Py_DEBUG
  389|       |    assert(((uintptr_t)ptr & Py_TAG_BITS) == 0);
  390|       |    return (_PyStackRef){ .bits = ((uintptr_t)ptr) | Py_TAG_INVALID };
  391|       |#else
  392|  63.8M|    return (_PyStackRef){ .bits = (uintptr_t)ptr };
  393|  63.8M|#endif
  394|  63.8M|}
ceval.c:PyStackRef_Unwrap:
  398|  63.8M|{
  399|       |#ifdef Py_DEBUG
  400|       |    assert ((ref.bits & Py_TAG_BITS) == Py_TAG_INVALID);
  401|       |    return (void *)(ref.bits & ~Py_TAG_BITS);
  402|       |#else
  403|  63.8M|    return (void *)(ref.bits);
  404|  63.8M|#endif
  405|  63.8M|}
ceval.c:PyStackRef_FromPyObjectStealMortal:
  573|  19.7M|{
  574|  19.7M|    assert(obj != NULL);
  575|  19.7M|    assert(!_Py_IsImmortal(obj));
  576|  19.7M|    _PyStackRef ref = (_PyStackRef){ .bits = (uintptr_t)obj };
  577|  19.7M|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  510|  19.7M|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  578|  19.7M|    return ref;
  579|  19.7M|}
ceval.c:PyStackRef_DUP:
  627|  75.0M|{
  628|  75.0M|    assert(!PyStackRef_IsNull(ref));
  629|  75.0M|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (629:9): [True: 20.6M, False: 54.4M]
  ------------------
  630|  20.6M|        _Py_INCREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  464|  20.6M|#define BITS_TO_PTR(REF) ((PyObject *)((REF).bits))
  ------------------
  631|  20.6M|    }
  632|  75.0M|    return ref;
  633|  75.0M|}
ceval.c:_PyStackRef_CloseStack:
  852|  19.0M|{
  853|       |    // arguments is a pointer into the GC visible stack,
  854|       |    // so we must NULL out values as we clear them.
  855|  46.9M|    for (int i = total_args-1; i >= 0; i--) {
  ------------------
  |  Branch (855:32): [True: 27.8M, False: 19.0M]
  ------------------
  856|  27.8M|        _PyStackRef tmp = arguments[i];
  857|  27.8M|        arguments[i] = PyStackRef_NULL;
  858|  27.8M|        PyStackRef_CLOSE(tmp);
  859|  27.8M|    }
  860|  19.0M|}
ceval.c:PyStackRef_IsValid:
  421|   817k|{
  422|       |    /* Invalid values are ERROR and NULL */
  423|   817k|    return ref.bits >= Py_INT_TAG;
  ------------------
  |  |   53|   817k|#define Py_INT_TAG 3
  ------------------
  424|   817k|}
ceval.c:PyStackRef_IsError:
  409|   807k|{
  410|   807k|    return ref.bits == Py_TAG_INVALID;
  ------------------
  |  |   54|   807k|#define Py_TAG_INVALID 2
  ------------------
  411|   807k|}
ceval.c:PyStackRef_UntagInt:
  442|  18.1M|{
  443|  18.1M|    assert(PyStackRef_IsTaggedInt(i));
  444|  18.1M|    intptr_t val = (intptr_t)i.bits;
  445|  18.1M|    return Py_ARITHMETIC_RIGHT_SHIFT(intptr_t, val, Py_TAGGED_SHIFT);
  ------------------
  |  |  226|  18.1M|#define Py_ARITHMETIC_RIGHT_SHIFT(TYPE, I, J) ((I) >> (J))
  ------------------
  446|  18.1M|}
ceval.c:PyStackRef_IncrementTaggedIntNoOverflow:
  451|  7.53M|{
  452|  7.53M|    assert((ref.bits & Py_TAG_BITS) == Py_INT_TAG); // Is tagged int
  453|  7.53M|    assert((ref.bits & (~Py_TAG_BITS)) != (INTPTR_MAX & (~Py_TAG_BITS))); // Isn't about to overflow
  454|  7.53M|    return (_PyStackRef){ .bits = ref.bits + (1 << Py_TAGGED_SHIFT) };
  ------------------
  |  |   58|  7.53M|#define Py_TAGGED_SHIFT 2
  ------------------
  455|  7.53M|}
ceval.c:PyStackRef_MakeHeapSafe:
  652|  82.1M|{
  653|  82.1M|    if (PyStackRef_IsHeapSafe(ref)) {
  ------------------
  |  Branch (653:9): [True: 77.1M, False: 5.00M]
  ------------------
  654|  77.1M|        return ref;
  655|  77.1M|    }
  656|  5.00M|    PyObject *obj = BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  465|  5.00M|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  5.00M|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  657|  5.00M|    Py_INCREF(obj);
  ------------------
  |  |  310|  5.00M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.00M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.00M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  658|  5.00M|    ref.bits = (uintptr_t)obj;
  659|  5.00M|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  510|  5.00M|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  660|  5.00M|    return ref;
  661|  82.1M|}
ceval.c:PyStackRef_IsHeapSafe:
  638|  82.1M|{
  639|       |#ifdef Py_GIL_DISABLED
  640|       |    if ((ref.bits & Py_TAG_BITS) != Py_TAG_REFCNT) {
  641|       |        return true;
  642|       |    }
  643|       |    PyObject *obj = BITS_TO_PTR_MASKED(ref);
  644|       |    return obj == NULL || _PyObject_HasDeferredRefcount(obj);
  645|       |#else
  646|  82.1M|    return (ref.bits & Py_TAG_BITS) != Py_TAG_REFCNT || ref.bits == PyStackRef_NULL_BITS || _Py_IsImmortal(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |   56|  82.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|   164M|#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));
  ------------------
  |  |  467|  48.9M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  ------------------
  |  |  |  |   55|   131M|#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|   128M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  46.7M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  46.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 41.7M, False: 5.00M]
  |  |  ------------------
  ------------------
  |  Branch (646:12): [True: 33.1M, False: 48.9M]
  |  Branch (646:57): [True: 2.22M, False: 46.7M]
  ------------------
  647|  82.1M|#endif
  648|  82.1M|}
ceval.c:PyStackRef_Borrow:
  535|   414M|{
  536|   414M|    return (_PyStackRef){ .bits = ref.bits | Py_TAG_REFCNT };
  ------------------
  |  |   55|   414M|#define Py_TAG_REFCNT 1
  ------------------
  537|   414M|}
ceval.c:PyStackRef_IsTaggedInt:
  428|  33.9M|{
  429|  33.9M|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|  33.9M|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|  33.9M|#define Py_INT_TAG 3
  ------------------
  430|  33.9M|}
frame.c:PyStackRef_IsTaggedInt:
  428|  34.1k|{
  429|  34.1k|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|  34.1k|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|  34.1k|#define Py_INT_TAG 3
  ------------------
  430|  34.1k|}
frame.c:PyStackRef_XCLOSE:
  701|   254M|{
  702|   254M|    assert(ref.bits != 0);
  703|   254M|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (703:9): [True: 117M, False: 136M]
  ------------------
  704|   117M|        assert(!PyStackRef_IsNull(ref));
  705|   117M|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  460|   117M|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   117M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   117M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  706|   117M|    }
  707|   254M|}
frame.c:PyStackRef_RefcountOnObject:
  522|   254M|{
  523|   254M|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|   254M|#define Py_TAG_REFCNT 1
  ------------------
  524|   254M|}
frame.c:PyStackRef_MakeHeapSafe:
  652|  4.13M|{
  653|  4.13M|    if (PyStackRef_IsHeapSafe(ref)) {
  ------------------
  |  Branch (653:9): [True: 3.44M, False: 692k]
  ------------------
  654|  3.44M|        return ref;
  655|  3.44M|    }
  656|   692k|    PyObject *obj = BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  465|   692k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|   692k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  657|   692k|    Py_INCREF(obj);
  ------------------
  |  |  310|   692k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   692k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   692k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  658|   692k|    ref.bits = (uintptr_t)obj;
  659|   692k|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  510|   692k|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  660|   692k|    return ref;
  661|  4.13M|}
frame.c:PyStackRef_IsHeapSafe:
  638|  4.13M|{
  639|       |#ifdef Py_GIL_DISABLED
  640|       |    if ((ref.bits & Py_TAG_BITS) != Py_TAG_REFCNT) {
  641|       |        return true;
  642|       |    }
  643|       |    PyObject *obj = BITS_TO_PTR_MASKED(ref);
  644|       |    return obj == NULL || _PyObject_HasDeferredRefcount(obj);
  645|       |#else
  646|  4.13M|    return (ref.bits & Py_TAG_BITS) != Py_TAG_REFCNT || ref.bits == PyStackRef_NULL_BITS || _Py_IsImmortal(BITS_TO_PTR_MASKED(ref));
  ------------------
  |  |   56|  4.13M|#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|  8.27M|#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));
  ------------------
  |  |  467|  1.50M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  ------------------
  |  |  |  |   55|  5.64M|#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|  5.13M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   993k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   993k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 301k, False: 692k]
  |  |  ------------------
  ------------------
  |  Branch (646:12): [True: 2.62M, False: 1.50M]
  |  Branch (646:57): [True: 514k, False: 993k]
  ------------------
  647|  4.13M|#endif
  648|  4.13M|}
frame.c:PyStackRef_DUP:
  627|   728k|{
  628|   728k|    assert(!PyStackRef_IsNull(ref));
  629|   728k|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (629:9): [True: 728k, False: 0]
  ------------------
  630|   728k|        _Py_INCREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  464|   728k|#define BITS_TO_PTR(REF) ((PyObject *)((REF).bits))
  ------------------
  631|   728k|    }
  632|   728k|    return ref;
  633|   728k|}
frame.c:PyStackRef_AsPyObjectBorrow:
  528|  4.61M|{
  529|  4.61M|    assert(!PyStackRef_IsTaggedInt(ref));
  530|  4.61M|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  465|  4.61M|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  4.61M|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  531|  4.61M|}
gc.c:PyStackRef_RefcountOnObject:
  522|  91.9k|{
  523|  91.9k|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|  91.9k|#define Py_TAG_REFCNT 1
  ------------------
  524|  91.9k|}
gc.c:PyStackRef_AsPyObjectBorrow:
  528|   172k|{
  529|   172k|    assert(!PyStackRef_IsTaggedInt(ref));
  530|   172k|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  465|   172k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|   172k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  531|   172k|}
gc.c:PyStackRef_IsTaggedInt:
  428|   121k|{
  429|   121k|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|   121k|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|   121k|#define Py_INT_TAG 3
  ------------------
  430|   121k|}
intrinsics.c:PyStackRef_AsPyObjectBorrow:
  528|  19.9k|{
  529|  19.9k|    assert(!PyStackRef_IsTaggedInt(ref));
  530|  19.9k|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  465|  19.9k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  19.9k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  531|  19.9k|}
pystate.c:PyStackRef_AsPyObjectBorrow:
  528|  8.60k|{
  529|  8.60k|    assert(!PyStackRef_IsTaggedInt(ref));
  530|  8.60k|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  465|  8.60k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  8.60k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  531|  8.60k|}
specialize.c:PyStackRef_AsPyObjectBorrow:
  528|   568k|{
  529|   568k|    assert(!PyStackRef_IsTaggedInt(ref));
  530|   568k|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  465|   568k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|   568k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  531|   568k|}
specialize.c:PyStackRef_TYPE:
  727|    864|PyStackRef_TYPE(_PyStackRef stackref) {
  728|    864|    if (PyStackRef_IsTaggedInt(stackref)) {
  ------------------
  |  Branch (728:9): [True: 0, False: 864]
  ------------------
  729|      0|        return &PyLong_Type;
  730|      0|    }
  731|    864|    return Py_TYPE(PyStackRef_AsPyObjectBorrow(stackref));
  ------------------
  |  |  213|    864|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    864|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    864|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  732|    864|}
specialize.c:PyStackRef_IsTaggedInt:
  428|    864|{
  429|    864|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|    864|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|    864|#define Py_INT_TAG 3
  ------------------
  430|    864|}
sysmodule.c:PyStackRef_AsPyObjectBorrow:
  528|    944|{
  529|    944|    assert(!PyStackRef_IsTaggedInt(ref));
  530|    944|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  465|    944|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|    944|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  531|    944|}
traceback.c:PyStackRef_AsPyObjectBorrow:
  528|  2.14M|{
  529|  2.14M|    assert(!PyStackRef_IsTaggedInt(ref));
  530|  2.14M|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  465|  2.14M|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  2.14M|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  531|  2.14M|}
genobject.c:PyStackRef_XCLOSE:
  701|  2.18M|{
  702|  2.18M|    assert(ref.bits != 0);
  703|  2.18M|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (703:9): [True: 2.18M, False: 0]
  ------------------
  704|  2.18M|        assert(!PyStackRef_IsNull(ref));
  705|  2.18M|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  460|  2.18M|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.18M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.18M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  706|  2.18M|    }
  707|  2.18M|}
genobject.c:PyStackRef_RefcountOnObject:
  522|  2.18M|{
  523|  2.18M|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|  2.18M|#define Py_TAG_REFCNT 1
  ------------------
  524|  2.18M|}
genobject.c:_PyStackRef_FromPyObjectNew:
  583|  1.08M|{
  584|  1.08M|    assert(obj != NULL);
  585|       |#ifdef Py_GIL_DISABLED
  586|       |    if (_PyObject_HasDeferredRefcount(obj)) {
  587|       |        return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT };
  588|       |    }
  589|       |#else
  590|  1.08M|    if (_Py_IsImmortal(obj)) {
  ------------------
  |  |  137|  1.08M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.08M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.08M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 1.08M, False: 0]
  |  |  ------------------
  ------------------
  591|  1.08M|        return (_PyStackRef){ .bits = (uintptr_t)obj | Py_TAG_REFCNT };
  ------------------
  |  |   55|  1.08M|#define Py_TAG_REFCNT 1
  ------------------
  592|  1.08M|    }
  593|      0|#endif
  594|      0|    _Py_INCREF_MORTAL(obj);
  595|      0|    _PyStackRef ref = (_PyStackRef){ .bits = (uintptr_t)obj };
  596|      0|    PyStackRef_CheckValid(ref);
  ------------------
  |  |  510|      0|#define PyStackRef_CheckValid(REF) ((void)0)
  ------------------
  597|      0|    return ref;
  598|  1.08M|}
genobject.c:PyStackRef_IsTaggedInt:
  428|      5|{
  429|      5|    return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   56|      5|#define Py_TAG_BITS 3
  ------------------
                  return (i.bits & Py_TAG_BITS) == Py_INT_TAG;
  ------------------
  |  |   53|      5|#define Py_INT_TAG 3
  ------------------
  430|      5|}
genobject.c:PyStackRef_AsPyObjectBorrow:
  528|    222|{
  529|    222|    assert(!PyStackRef_IsTaggedInt(ref));
  530|    222|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  465|    222|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|    222|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  531|    222|}
frameobject.c:PyStackRef_AsPyObjectBorrow:
  528|  60.2k|{
  529|  60.2k|    assert(!PyStackRef_IsTaggedInt(ref));
  530|  60.2k|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  465|  60.2k|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|  60.2k|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  531|  60.2k|}
frameobject.c:PyStackRef_RefcountOnObject:
  522|  4.13M|{
  523|  4.13M|    return (ref.bits & Py_TAG_REFCNT) == 0;
  ------------------
  |  |   55|  4.13M|#define Py_TAG_REFCNT 1
  ------------------
  524|  4.13M|}
frameobject.c:PyStackRef_XCLOSE:
  701|  4.13M|{
  702|  4.13M|    assert(ref.bits != 0);
  703|  4.13M|    if (PyStackRef_RefcountOnObject(ref)) {
  ------------------
  |  Branch (703:9): [True: 3.32M, False: 815k]
  ------------------
  704|  3.32M|        assert(!PyStackRef_IsNull(ref));
  705|  3.32M|        Py_DECREF_MORTAL(BITS_TO_PTR(ref));
  ------------------
  |  |  460|  3.32M|#define Py_DECREF_MORTAL(op) Py_DECREF_MORTAL(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.32M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.32M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  706|  3.32M|    }
  707|  4.13M|}
lazyimportobject.c:PyStackRef_AsPyObjectBorrow:
  528|    120|{
  529|    120|    assert(!PyStackRef_IsTaggedInt(ref));
  530|    120|    return BITS_TO_PTR_MASKED(ref);
  ------------------
  |  |  465|    120|#define BITS_TO_PTR_MASKED(REF) ((PyObject *)(((REF).bits) & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|    120|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
  531|    120|}

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:
   52|   286k|{
   53|   286k|    _PyTuple_RESET_HASH_CACHE(op);
  ------------------
  |  |   43|   286k|    do {                                    \
  |  |   44|   286k|        assert(op != NULL);                 \
  |  |   45|   286k|        _PyTuple_CAST(op)->ob_hash = -1;    \
  |  |  ------------------
  |  |  |  |   19|   286k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   286k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   46|   286k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (46:14): [Folded, False: 286k]
  |  |  ------------------
  ------------------
   54|   286k|    if (!_PyObject_GC_IS_TRACKED(op)) {
  ------------------
  |  |   81|   286k|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|   286k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (54:9): [True: 227k, False: 59.1k]
  ------------------
   55|   227k|        _PyObject_GC_TRACK(op);
  ------------------
  |  |  508|   227k|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   227k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   227k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   56|   227k|    }
   57|   286k|}
bltinmodule.c:_PyTuple_Recycle:
   52|  1.43k|{
   53|  1.43k|    _PyTuple_RESET_HASH_CACHE(op);
  ------------------
  |  |   43|  1.43k|    do {                                    \
  |  |   44|  1.43k|        assert(op != NULL);                 \
  |  |   45|  1.43k|        _PyTuple_CAST(op)->ob_hash = -1;    \
  |  |  ------------------
  |  |  |  |   19|  1.43k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   46|  1.43k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (46:14): [Folded, False: 1.43k]
  |  |  ------------------
  ------------------
   54|  1.43k|    if (!_PyObject_GC_IS_TRACKED(op)) {
  ------------------
  |  |   81|  1.43k|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|  1.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (54:9): [True: 0, False: 1.43k]
  ------------------
   55|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   56|      0|    }
   57|  1.43k|}
itertoolsmodule.c:_PyTuple_Recycle:
   52|     10|{
   53|     10|    _PyTuple_RESET_HASH_CACHE(op);
  ------------------
  |  |   43|     10|    do {                                    \
  |  |   44|     10|        assert(op != NULL);                 \
  |  |   45|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   46|     10|    } while (0)
  |  |  ------------------
  |  |  |  Branch (46:14): [Folded, False: 10]
  |  |  ------------------
  ------------------
   54|     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 (54:9): [True: 2, False: 8]
  ------------------
   55|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   56|      2|    }
   57|     10|}
enumobject.c:_PyTuple_Recycle:
   52|  4.64k|{
   53|  4.64k|    _PyTuple_RESET_HASH_CACHE(op);
  ------------------
  |  |   43|  4.64k|    do {                                    \
  |  |   44|  4.64k|        assert(op != NULL);                 \
  |  |   45|  4.64k|        _PyTuple_CAST(op)->ob_hash = -1;    \
  |  |  ------------------
  |  |  |  |   19|  4.64k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.64k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   46|  4.64k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (46:14): [Folded, False: 4.64k]
  |  |  ------------------
  ------------------
   54|  4.64k|    if (!_PyObject_GC_IS_TRACKED(op)) {
  ------------------
  |  |   81|  4.64k|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|  4.64k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (54:9): [True: 142, False: 4.50k]
  ------------------
   55|    142|        _PyObject_GC_TRACK(op);
  ------------------
  |  |  508|    142|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    142|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    142|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   56|    142|    }
   57|  4.64k|}
odictobject.c:_PyTuple_Recycle:
   52|     12|{
   53|     12|    _PyTuple_RESET_HASH_CACHE(op);
  ------------------
  |  |   43|     12|    do {                                    \
  |  |   44|     12|        assert(op != NULL);                 \
  |  |   45|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   46|     12|    } while (0)
  |  |  ------------------
  |  |  |  Branch (46:14): [Folded, False: 12]
  |  |  ------------------
  ------------------
   54|     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 (54:9): [True: 4, False: 8]
  ------------------
   55|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   56|      4|    }
   57|     12|}

object.c:_PyType_IsReady:
  110|  42.9M|{
  111|       |    return _PyType_GetDict(type) != NULL;
  112|  42.9M|}
typeobject.c:_PyType_IsReady:
  110|  7.87M|{
  111|       |    return _PyType_GetDict(type) != NULL;
  112|  7.87M|}
weakrefobject.c:_PyStaticType_GET_WEAKREFS_LISTPTR:
   49|  50.1k|{
   50|       |    assert(state != NULL);
   51|  50.1k|    return &state->tp_weaklist;
   52|  50.1k|}
modsupport.c:_PyType_IsReady:
  110|    168|{
  111|       |    return _PyType_GetDict(type) != NULL;
  112|    168|}
specialize.c:_PyType_IsReady:
  110|   371k|{
  111|       |    return _PyType_GetDict(type) != NULL;
  112|   371k|}
_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|      3|{
   82|      3|    assert(PyType_Check(type));
   83|      3|    assert(type->tp_flags & Py_TPFLAGS_HEAPTYPE);
   84|      3|    PyHeapTypeObject *et = (PyHeapTypeObject *)type;
   85|      3|    assert(et->ht_module);
   86|      3|    PyModuleObject *mod = (PyModuleObject *)(et->ht_module);
   87|       |    assert(mod != NULL);
   88|      3|    return mod->md_state;
   89|      3|}
fileio.c:_PyType_GetModuleState:
   81|  4.04k|{
   82|  4.04k|    assert(PyType_Check(type));
   83|  4.04k|    assert(type->tp_flags & Py_TPFLAGS_HEAPTYPE);
   84|  4.04k|    PyHeapTypeObject *et = (PyHeapTypeObject *)type;
   85|  4.04k|    assert(et->ht_module);
   86|  4.04k|    PyModuleObject *mod = (PyModuleObject *)(et->ht_module);
   87|       |    assert(mod != NULL);
   88|  4.04k|    return mod->md_state;
   89|  4.04k|}
_abc.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|}
_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:
   98|  9.49k|{
   99|  9.49k|    if (!PyUnicode_Check(obj)) {
  ------------------
  |  |  103|  9.49k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  9.49k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (99:9): [True: 0, False: 9.49k]
  ------------------
  100|      0|        PyErr_Format(PyExc_TypeError,
  101|      0|                     "must be str, not %T", obj);
  102|      0|        return -1;
  103|      0|    }
  104|  9.49k|    return 0;
  105|  9.49k|}
unicode_format.c:_PyUnicode_Fill:
   66|     32|{
   67|     32|    assert(0 <= start);
   68|     32|    switch (kind) {
   69|     32|    case PyUnicode_1BYTE_KIND: {
  ------------------
  |  Branch (69:5): [True: 32, False: 0]
  ------------------
   70|     32|        assert(value <= 0xff);
   71|     32|        Py_UCS1 ch = (unsigned char)value;
   72|     32|        Py_UCS1 *to = (Py_UCS1 *)data + start;
   73|     32|        memset(to, ch, length);
   74|     32|        break;
   75|      0|    }
   76|      0|    case PyUnicode_2BYTE_KIND: {
  ------------------
  |  Branch (76:5): [True: 0, False: 32]
  ------------------
   77|      0|        assert(value <= 0xffff);
   78|      0|        Py_UCS2 ch = (Py_UCS2)value;
   79|      0|        Py_UCS2 *to = (Py_UCS2 *)data + start;
   80|      0|        const Py_UCS2 *end = to + length;
   81|      0|        for (; to < end; ++to) *to = ch;
  ------------------
  |  Branch (81:16): [True: 0, False: 0]
  ------------------
   82|      0|        break;
   83|      0|    }
   84|      0|    case PyUnicode_4BYTE_KIND: {
  ------------------
  |  Branch (84:5): [True: 0, False: 32]
  ------------------
   85|      0|        assert(value <= _Py_MAX_UNICODE);
   86|      0|        Py_UCS4 ch = value;
   87|      0|        Py_UCS4 * to = (Py_UCS4 *)data + start;
   88|      0|        const Py_UCS4 *end = to + length;
   89|      0|        for (; to < end; ++to) *to = ch;
  ------------------
  |  Branch (89:16): [True: 0, False: 0]
  ------------------
   90|      0|        break;
   91|      0|    }
   92|      0|    default: Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  |  Branch (92:5): [True: 0, False: 32]
  ------------------
   93|     32|    }
   94|     32|}
unicode_formatter.c:_PyUnicode_Fill:
   66|     64|{
   67|     64|    assert(0 <= start);
   68|     64|    switch (kind) {
   69|     64|    case PyUnicode_1BYTE_KIND: {
  ------------------
  |  Branch (69:5): [True: 64, False: 0]
  ------------------
   70|     64|        assert(value <= 0xff);
   71|     64|        Py_UCS1 ch = (unsigned char)value;
   72|     64|        Py_UCS1 *to = (Py_UCS1 *)data + start;
   73|     64|        memset(to, ch, length);
   74|     64|        break;
   75|      0|    }
   76|      0|    case PyUnicode_2BYTE_KIND: {
  ------------------
  |  Branch (76:5): [True: 0, False: 64]
  ------------------
   77|      0|        assert(value <= 0xffff);
   78|      0|        Py_UCS2 ch = (Py_UCS2)value;
   79|      0|        Py_UCS2 *to = (Py_UCS2 *)data + start;
   80|      0|        const Py_UCS2 *end = to + length;
   81|      0|        for (; to < end; ++to) *to = ch;
  ------------------
  |  Branch (81:16): [True: 0, False: 0]
  ------------------
   82|      0|        break;
   83|      0|    }
   84|      0|    case PyUnicode_4BYTE_KIND: {
  ------------------
  |  Branch (84:5): [True: 0, False: 64]
  ------------------
   85|      0|        assert(value <= _Py_MAX_UNICODE);
   86|      0|        Py_UCS4 ch = value;
   87|      0|        Py_UCS4 * to = (Py_UCS4 *)data + start;
   88|      0|        const Py_UCS4 *end = to + length;
   89|      0|        for (; to < end; ++to) *to = ch;
  ------------------
  |  Branch (89:16): [True: 0, False: 0]
  ------------------
   90|      0|        break;
   91|      0|    }
   92|      0|    default: Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  |  Branch (92:5): [True: 0, False: 64]
  ------------------
   93|     64|    }
   94|     64|}
unicode_writer.c:_PyUnicodeWriter_WriteCharInline:
  109|   103k|{
  110|   103k|    assert(ch <= _Py_MAX_UNICODE);
  111|   103k|    if (_PyUnicodeWriter_Prepare(writer, 1, ch) < 0)
  ------------------
  |  |  562|   103k|    (((MAXCHAR) <= (WRITER)->maxchar                                  \
  |  |  ------------------
  |  |  |  Branch (562:7): [True: 103k, False: 3]
  |  |  ------------------
  |  |  563|   103k|      && (LENGTH) <= (WRITER)->size - (WRITER)->pos)                  \
  |  |  ------------------
  |  |  |  Branch (563:10): [True: 90.0k, False: 13.5k]
  |  |  ------------------
  |  |  564|   103k|     ? 0                                                              \
  |  |  565|   103k|     : (((LENGTH) == 0)                                               \
  |  |  ------------------
  |  |  |  Branch (565:9): [Folded, False: 13.5k]
  |  |  ------------------
  |  |  566|  13.5k|        ? 0                                                           \
  |  |  567|  13.5k|        : _PyUnicodeWriter_PrepareInternal((WRITER), (LENGTH), (MAXCHAR))))
  ------------------
  |  Branch (111:9): [True: 0, False: 103k]
  ------------------
  112|      0|        return -1;
  113|   103k|    PyUnicode_WRITE(writer->kind, writer->data, writer->pos, ch);
  ------------------
  |  |  335|   103k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|   103k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|   103k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  336|   103k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|   103k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  114|   103k|    writer->pos++;
  115|   103k|    return 0;
  116|   103k|}
unicodeobject.c:_PyUnicodeWriter_WriteCharInline:
  109|    206|{
  110|    206|    assert(ch <= _Py_MAX_UNICODE);
  111|    206|    if (_PyUnicodeWriter_Prepare(writer, 1, ch) < 0)
  ------------------
  |  |  562|    206|    (((MAXCHAR) <= (WRITER)->maxchar                                  \
  |  |  ------------------
  |  |  |  Branch (562:7): [True: 116, False: 90]
  |  |  ------------------
  |  |  563|    206|      && (LENGTH) <= (WRITER)->size - (WRITER)->pos)                  \
  |  |  ------------------
  |  |  |  Branch (563:10): [True: 100, False: 16]
  |  |  ------------------
  |  |  564|    206|     ? 0                                                              \
  |  |  565|    206|     : (((LENGTH) == 0)                                               \
  |  |  ------------------
  |  |  |  Branch (565:9): [Folded, False: 106]
  |  |  ------------------
  |  |  566|    106|        ? 0                                                           \
  |  |  567|    106|        : _PyUnicodeWriter_PrepareInternal((WRITER), (LENGTH), (MAXCHAR))))
  ------------------
  |  Branch (111:9): [True: 0, False: 206]
  ------------------
  112|      0|        return -1;
  113|    206|    PyUnicode_WRITE(writer->kind, writer->data, writer->pos, ch);
  ------------------
  |  |  335|    206|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|    206|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|    206|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  336|    206|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|    206|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  114|    206|    writer->pos++;
  115|    206|    return 0;
  116|    206|}
unicodeobject.c:_PyUnicode_EnsureUnicode:
   98|  1.34M|{
   99|  1.34M|    if (!PyUnicode_Check(obj)) {
  ------------------
  |  |  103|  1.34M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.34M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (99:9): [True: 0, False: 1.34M]
  ------------------
  100|      0|        PyErr_Format(PyExc_TypeError,
  101|      0|                     "must be str, not %T", obj);
  102|      0|        return -1;
  103|      0|    }
  104|  1.34M|    return 0;
  105|  1.34M|}

unicodeobject.c:_PyUnicode_InitStaticStrings:
   13|      2|_PyUnicode_InitStaticStrings(PyInterpreterState *interp) {
   14|      2|    PyObject *string;
   15|      2|    string = &_Py_ID(AGEN_CLOSED);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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__);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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_);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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_);
  ------------------
  |  |  915|      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_);
  ------------------
  |  |  915|      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_);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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_);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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_);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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_);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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_);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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_);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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_);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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_);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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(pointer_bits);
  ------------------
  |  |  915|      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(policy);
  ------------------
  |  |  915|      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(pos);
  ------------------
  |  |  915|      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(pos1);
  ------------------
  |  |  915|      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(pos2);
  ------------------
  |  |  915|      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(posix);
  ------------------
  |  |  915|      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(prec);
  ------------------
  |  |  915|      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(preserve_exc);
  ------------------
  |  |  915|      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(print_file_and_line);
  ------------------
  |  |  915|      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(priority);
  ------------------
  |  |  915|      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(progress);
  ------------------
  |  |  915|      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_callback);
  ------------------
  |  |  915|      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_routine);
  ------------------
  |  |  915|      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(proto);
  ------------------
  |  |  915|      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(protocol);
  ------------------
  |  |  915|      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(ps1);
  ------------------
  |  |  915|      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(ps2);
  ------------------
  |  |  915|      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(qid);
  ------------------
  |  |  915|      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(qualname);
  ------------------
  |  |  915|      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(query);
  ------------------
  |  |  915|      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(queuetype);
  ------------------
  |  |  915|      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(quotetabs);
  ------------------
  |  |  915|      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(raw);
  ------------------
  |  |  915|      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(read);
  ------------------
  |  |  915|      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(read1);
  ------------------
  |  |  915|      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(readable);
  ------------------
  |  |  915|      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(readall);
  ------------------
  |  |  915|      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(readinto);
  ------------------
  |  |  915|      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(readinto1);
  ------------------
  |  |  915|      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(readline);
  ------------------
  |  |  915|      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(readonly);
  ------------------
  |  |  915|      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(real);
  ------------------
  |  |  915|      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(recursive);
  ------------------
  |  |  915|      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(reducer_override);
  ------------------
  |  |  915|      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(registry);
  ------------------
  |  |  915|      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(rel_tol);
  ------------------
  |  |  915|      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(release);
  ------------------
  |  |  915|      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(reload);
  ------------------
  |  |  915|      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(repeat);
  ------------------
  |  |  915|      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(repl);
  ------------------
  |  |  915|      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(replace);
  ------------------
  |  |  915|      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(reqrefs);
  ------------------
  |  |  915|      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(require_ready);
  ------------------
  |  |  915|      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(reserved);
  ------------------
  |  |  915|      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(reset);
  ------------------
  |  |  915|      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(resetids);
  ------------------
  |  |  915|      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(restrict);
  ------------------
  |  |  915|      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(return);
  ------------------
  |  |  915|      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(reverse);
  ------------------
  |  |  915|      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(reversed);
  ------------------
  |  |  915|      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(rounding);
  ------------------
  |  |  915|      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(salt);
  ------------------
  |  |  915|      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(sample_interval_us);
  ------------------
  |  |  915|      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(sched_priority);
  ------------------
  |  |  915|      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(scheduler);
  ------------------
  |  |  915|      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(script);
  ------------------
  |  |  915|      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(second);
  ------------------
  |  |  915|      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(seconds);
  ------------------
  |  |  915|      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(security_attributes);
  ------------------
  |  |  915|      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(seek);
  ------------------
  |  |  915|      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(seekable);
  ------------------
  |  |  915|      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(selectors);
  ------------------
  |  |  915|      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(self);
  ------------------
  |  |  915|      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(send);
  ------------------
  |  |  915|      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(sep);
  ------------------
  |  |  915|      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(sequence);
  ------------------
  |  |  915|      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(server_hostname);
  ------------------
  |  |  915|      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(server_side);
  ------------------
  |  |  915|      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(session);
  ------------------
  |  |  915|      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(setpgroup);
  ------------------
  |  |  915|      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(setsid);
  ------------------
  |  |  915|      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(setsigdef);
  ------------------
  |  |  915|      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(setsigmask);
  ------------------
  |  |  915|      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(setstate);
  ------------------
  |  |  915|      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(shape);
  ------------------
  |  |  915|      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(shared);
  ------------------
  |  |  915|      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(short);
  ------------------
  |  |  915|      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(show_cmd);
  ------------------
  |  |  915|      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(signed);
  ------------------
  |  |  915|      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(signum);
  ------------------
  |  |  915|      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(size);
  ------------------
  |  |  915|      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(sizehint);
  ------------------
  |  |  915|      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(skip_file_prefixes);
  ------------------
  |  |  915|      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(skip_non_matching_threads);
  ------------------
  |  |  915|      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(sleep);
  ------------------
  |  |  915|      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(sock);
  ------------------
  |  |  915|      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(sort);
  ------------------
  |  |  915|      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(source);
  ------------------
  |  |  915|      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(source_traceback);
  ------------------
  |  |  915|      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(spam);
  ------------------
  |  |  915|      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(src);
  ------------------
  |  |  915|      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(src_dir_fd);
  ------------------
  |  |  915|      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(stack_frames);
  ------------------
  |  |  915|      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(stacklevel);
  ------------------
  |  |  915|      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(start);
  ------------------
  |  |  915|      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(start_time_us);
  ------------------
  |  |  915|      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(statement);
  ------------------
  |  |  915|      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(stats);
  ------------------
  |  |  915|      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(status);
  ------------------
  |  |  915|      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(stderr);
  ------------------
  |  |  915|      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(stdin);
  ------------------
  |  |  915|      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(stdout);
  ------------------
  |  |  915|      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(step);
  ------------------
  |  |  915|      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(steps);
  ------------------
  |  |  915|      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(store_name);
  ------------------
  |  |  915|      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(strategy);
  ------------------
  |  |  915|      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(strftime);
  ------------------
  |  |  915|      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(strict);
  ------------------
  |  |  915|      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(strict_mode);
  ------------------
  |  |  915|      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(string);
  ------------------
  |  |  915|      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(sub_key);
  ------------------
  |  |  915|      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(subcalls);
  ------------------
  |  |  915|      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(symmetric_difference_update);
  ------------------
  |  |  915|      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(tabsize);
  ------------------
  |  |  915|      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(tag);
  ------------------
  |  |  915|      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(take_bytes);
  ------------------
  |  |  915|      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(target);
  ------------------
  |  |  915|      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(target_is_directory);
  ------------------
  |  |  915|      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(task);
  ------------------
  |  |  915|      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(tb_frame);
  ------------------
  |  |  915|      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(tb_lasti);
  ------------------
  |  |  915|      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(tb_lineno);
  ------------------
  |  |  915|      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_next);
  ------------------
  |  |  915|      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(tell);
  ------------------
  |  |  915|      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(template);
  ------------------
  |  |  915|      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(term);
  ------------------
  |  |  915|      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(text);
  ------------------
  |  |  915|      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(third);
  ------------------
  |  |  915|      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(threading);
  ------------------
  |  |  915|      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(throw);
  ------------------
  |  |  915|      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(time);
  ------------------
  |  |  915|      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(timeout);
  ------------------
  |  |  915|      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(timer);
  ------------------
  |  |  915|      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(times);
  ------------------
  |  |  915|      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(timespec);
  ------------------
  |  |  915|      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(timestamp);
  ------------------
  |  |  915|      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(timestamp_us);
  ------------------
  |  |  915|      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(timetuple);
  ------------------
  |  |  915|      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(timeunit);
  ------------------
  |  |  915|      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(top);
  ------------------
  |  |  915|      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(traceback);
  ------------------
  |  |  915|      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(trailers);
  ------------------
  |  |  915|      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(translate);
  ------------------
  |  |  915|      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(traps);
  ------------------
  |  |  915|      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(true);
  ------------------
  |  |  915|      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(truncate);
  ------------------
  |  |  915|      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(twice);
  ------------------
  |  |  915|      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(txt);
  ------------------
  |  |  915|      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(type);
  ------------------
  |  |  915|      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(type_params);
  ------------------
  |  |  915|      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(tz);
  ------------------
  |  |  915|      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(tzinfo);
  ------------------
  |  |  915|      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(tzname);
  ------------------
  |  |  915|      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(uid);
  ------------------
  |  |  915|      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(unboundop);
  ------------------
  |  |  915|      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(unlink);
  ------------------
  |  |  915|      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(unraisablehook);
  ------------------
  |  |  915|      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(updates);
  ------------------
  |  |  915|      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(uri);
  ------------------
  |  |  915|      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(usedforsecurity);
  ------------------
  |  |  915|      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(value);
  ------------------
  |  |  915|      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(values);
  ------------------
  |  |  915|      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(version);
  ------------------
  |  |  915|      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(volume);
  ------------------
  |  |  915|      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(wait_all);
  ------------------
  |  |  915|      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(warn_on_full_buffer);
  ------------------
  |  |  915|      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(warnings);
  ------------------
  |  |  915|      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(warnoptions);
  ------------------
  |  |  915|      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(wbits);
  ------------------
  |  |  915|      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(week);
  ------------------
  |  |  915|      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(weekday);
  ------------------
  |  |  915|      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(weeks);
  ------------------
  |  |  915|      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(which);
  ------------------
  |  |  915|      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(who);
  ------------------
  |  |  915|      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(withdata);
  ------------------
  |  |  915|      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(wrapcol);
  ------------------
  |  |  915|      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(writable);
  ------------------
  |  |  915|      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(write);
  ------------------
  |  |  915|      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(write_through);
  ------------------
  |  |  915|      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(year);
  ------------------
  |  |  915|      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(zdict);
  ------------------
  |  |  915|      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(zstd_dict);
  ------------------
  |  |  915|      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_STR(empty);
  ------------------
  |  |  917|      2|     (_Py_SINGLETON(strings.literals._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_STR(dbl_percent);
  ------------------
  |  |  917|      2|     (_Py_SINGLETON(strings.literals._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_STR(dot_locals);
  ------------------
  |  |  917|      2|     (_Py_SINGLETON(strings.literals._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_STR(defaults);
  ------------------
  |  |  917|      2|     (_Py_SINGLETON(strings.literals._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(format);
  ------------------
  |  |  917|      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(generic_base);
  ------------------
  |  |  917|      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(kwdefaults);
  ------------------
  |  |  917|      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(type_params);
  ------------------
  |  |  917|      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(str_replace_inf);
  ------------------
  |  |  917|      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(gc);
  ------------------
  |  |  917|      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(anon_null);
  ------------------
  |  |  917|      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(anon_dictcomp);
  ------------------
  |  |  917|      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(anon_genexpr);
  ------------------
  |  |  917|      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(anon_lambda);
  ------------------
  |  |  917|      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_listcomp);
  ------------------
  |  |  917|      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_module);
  ------------------
  |  |  917|      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(native);
  ------------------
  |  |  917|      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_setcomp);
  ------------------
  |  |  917|      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_string);
  ------------------
  |  |  917|      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_unknown);
  ------------------
  |  |  917|      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(json_decoder);
  ------------------
  |  |  917|      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(list_err);
  ------------------
  |  |  917|      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(utf_8);
  ------------------
  |  |  917|      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(dbl_open_br);
  ------------------
  |  |  917|      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(dbl_close_br);
  ------------------
  |  |  917|      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|       |    assert(PyUnicode_GET_LENGTH(string) != 1);
 3463|      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);
  ------------------
  |  |  144|     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|   815k|{
   74|   815k|    assert(PyWeakref_Check(ref_obj));
   75|   815k|    PyWeakReference *ref = _Py_CAST(PyWeakReference*, ref_obj);
  ------------------
  |  |   37|   815k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
   76|       |
   77|   815k|    PyObject *obj = FT_ATOMIC_LOAD_PTR(ref->wr_object);
  ------------------
  |  |  144|   815k|#define FT_ATOMIC_LOAD_PTR(value) value
  ------------------
   78|   815k|    if (obj == Py_None) {
  ------------------
  |  |  616|   815k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (78:9): [True: 0, False: 815k]
  ------------------
   79|       |        // clear_weakref() was called
   80|      0|        return NULL;
   81|      0|    }
   82|       |
   83|   815k|    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|   815k|    if (_Py_TryIncref(obj)) {
  ------------------
  |  Branch (91:9): [True: 815k, False: 0]
  ------------------
   92|   815k|        UNLOCK_WEAKREFS(obj);
   93|   815k|        return obj;
   94|   815k|    }
   95|      0|    UNLOCK_WEAKREFS(obj);
   96|       |    return NULL;
   97|   815k|}
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);
  ------------------
  |  |  144|      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|  8.44k|{
  101|  8.44k|    assert(PyWeakref_Check(ref_obj));
  102|  8.44k|    int ret = 0;
  103|  8.44k|    PyWeakReference *ref = _Py_CAST(PyWeakReference*, ref_obj);
  ------------------
  |  |   37|  8.44k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  104|  8.44k|    PyObject *obj = FT_ATOMIC_LOAD_PTR(ref->wr_object);
  ------------------
  |  |  144|  8.44k|#define FT_ATOMIC_LOAD_PTR(value) value
  ------------------
  105|  8.44k|    if (obj == Py_None) {
  ------------------
  |  |  616|  8.44k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (105:9): [True: 8.44k, False: 0]
  ------------------
  106|       |        // clear_weakref() was called
  107|  8.44k|        ret = 1;
  108|  8.44k|    }
  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|  8.44k|    return ret;
  120|  8.44k|}

bytesobject.c:Py_SET_TYPE:
  206|  12.9M|{
  207|  12.9M|    ob->ob_type = type;
  208|  12.9M|}
bytesobject.c:PyType_HasFeature:
  749|  19.1M|{
  750|  19.1M|    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.1M|    flags = type->tp_flags;
  756|  19.1M|#endif
  757|  19.1M|    return ((flags & feature) != 0);
  758|  19.1M|}
bytesobject.c:_Py_TYPE_impl:
  233|  49.4M|{
  234|  49.4M|    return ob->ob_type;
  235|  49.4M|}
bytesobject.c:_Py_IS_TYPE_impl:
  248|  15.2M|{
  249|  15.2M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  15.2M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  15.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  15.2M|}
bytesobject.c:_Py_SIZE_impl:
  240|  46.8M|{
  241|  46.8M|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|  46.8M|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|  46.8M|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  46.8M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  46.8M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  46.8M|}
bytesobject.c:_Py_SET_SIZE_impl:
  254|  13.0M|{
  255|  13.0M|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  256|  13.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|  13.0M|    ob->ob_size = size;
  261|  13.0M|#endif
  262|  13.0M|}
call.c:_Py_TYPE_impl:
  233|  54.7M|{
  234|  54.7M|    return ob->ob_type;
  235|  54.7M|}
call.c:PyType_HasFeature:
  749|  34.4M|{
  750|  34.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|  34.4M|    flags = type->tp_flags;
  756|  34.4M|#endif
  757|  34.4M|    return ((flags & feature) != 0);
  758|  34.4M|}
call.c:_Py_SIZE_impl:
  240|  5.31M|{
  241|  5.31M|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|  5.31M|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|  5.31M|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  5.31M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  5.31M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  5.31M|}
exceptions.c:_Py_SIZE_impl:
  240|   118k|{
  241|   118k|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|   118k|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|   118k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|   118k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|   118k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|   118k|}
exceptions.c:PyType_HasFeature:
  749|  41.2k|{
  750|  41.2k|    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|  41.2k|    flags = type->tp_flags;
  756|  41.2k|#endif
  757|  41.2k|    return ((flags & feature) != 0);
  758|  41.2k|}
exceptions.c:_Py_TYPE_impl:
  233|  3.75M|{
  234|  3.75M|    return ob->ob_type;
  235|  3.75M|}
exceptions.c:_Py_IS_TYPE_impl:
  248|  2.23M|{
  249|  2.23M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  2.23M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.23M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.23M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  2.23M|}
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|    254|{
  241|    254|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|    254|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|    254|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    254|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    254|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    254|}
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.32k|{
  207|  1.32k|    ob->ob_type = type;
  208|  1.32k|}
floatobject.c:PyType_HasFeature:
  749|  4.11M|{
  750|  4.11M|    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.11M|    flags = type->tp_flags;
  756|  4.11M|#endif
  757|  4.11M|    return ((flags & feature) != 0);
  758|  4.11M|}
floatobject.c:_Py_TYPE_impl:
  233|  20.4M|{
  234|  20.4M|    return ob->ob_type;
  235|  20.4M|}
floatobject.c:PyObject_TypeCheck:
  374|  8.03M|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  8.03M|    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.03M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.03M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 3.93M, False: 4.10M]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|  4.10M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.10M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.10M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 4.10M]
  ------------------
  376|  8.03M|}
floatobject.c:_Py_IS_TYPE_impl:
  248|  12.1M|{
  249|  12.1M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  12.1M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  12.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  12.1M|}
listobject.c:_Py_SET_SIZE_impl:
  254|  27.5M|{
  255|  27.5M|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  256|  27.5M|    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.5M|    ob->ob_size = size;
  261|  27.5M|#endif
  262|  27.5M|}
listobject.c:PyType_HasFeature:
  749|  8.85M|{
  750|  8.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|  8.85M|    flags = type->tp_flags;
  756|  8.85M|#endif
  757|  8.85M|    return ((flags & feature) != 0);
  758|  8.85M|}
listobject.c:_Py_TYPE_impl:
  233|  40.5M|{
  234|  40.5M|    return ob->ob_type;
  235|  40.5M|}
listobject.c:_Py_SIZE_impl:
  240|  69.2M|{
  241|  69.2M|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|  69.2M|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|  69.2M|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  69.2M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  69.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  69.2M|}
listobject.c:_Py_IS_TYPE_impl:
  248|  25.8M|{
  249|  25.8M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  25.8M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  25.8M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  25.8M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  25.8M|}
longobject.c:Py_SET_TYPE:
  206|  10.0M|{
  207|  10.0M|    ob->ob_type = type;
  208|  10.0M|}
longobject.c:PyType_HasFeature:
  749|   117M|{
  750|   117M|    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|   117M|    flags = type->tp_flags;
  756|   117M|#endif
  757|   117M|    return ((flags & feature) != 0);
  758|   117M|}
longobject.c:_Py_TYPE_impl:
  233|   164M|{
  234|   164M|    return ob->ob_type;
  235|   164M|}
longobject.c:_Py_IS_TYPE_impl:
  248|  40.6M|{
  249|  40.6M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  40.6M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  40.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  40.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  40.6M|}
longobject.c:_Py_SIZE_impl:
  240|  7.58M|{
  241|  7.58M|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|  7.58M|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|  7.58M|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  7.58M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  7.58M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  7.58M|}
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|  57.9M|{
  750|  57.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|  57.9M|    flags = type->tp_flags;
  756|  57.9M|#endif
  757|  57.9M|    return ((flags & feature) != 0);
  758|  57.9M|}
dictobject.c:_Py_TYPE_impl:
  233|   231M|{
  234|   231M|    return ob->ob_type;
  235|   231M|}
dictobject.c:PyObject_TypeCheck:
  374|  5.83M|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  5.83M|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  11.6M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  5.83M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.83M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 78, False: 5.83M]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|  5.83M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.83M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.83M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 5.83M]
  ------------------
  376|  5.83M|}
dictobject.c:_Py_IS_TYPE_impl:
  248|   123M|{
  249|   123M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|   123M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   123M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   123M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|   123M|}
dictobject.c:_Py_SIZE_impl:
  240|  6.27k|{
  241|  6.27k|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|  6.27k|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|  6.27k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  6.27k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  6.27k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  6.27k|}
memoryobject.c:_Py_IS_TYPE_impl:
  248|  7.87k|{
  249|  7.87k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  7.87k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  7.87k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.87k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  7.87k|}
memoryobject.c:_Py_TYPE_impl:
  233|  11.8k|{
  234|  11.8k|    return ob->ob_type;
  235|  11.8k|}
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|  3.94k|{
  241|  3.94k|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|  3.94k|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|  3.94k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  3.94k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  3.94k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  3.94k|}
moduleobject.c:PyObject_TypeCheck:
  374|  27.8k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  27.8k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  55.6k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  27.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 27.8k, 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|  27.8k|}
moduleobject.c:Py_SET_TYPE:
  206|    118|{
  207|    118|    ob->ob_type = type;
  208|    118|}
moduleobject.c:PyType_HasFeature:
  749|  4.12k|{
  750|  4.12k|    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.12k|    flags = type->tp_flags;
  756|  4.12k|#endif
  757|  4.12k|    return ((flags & feature) != 0);
  758|  4.12k|}
moduleobject.c:_Py_TYPE_impl:
  233|  1.14M|{
  234|  1.14M|    return ob->ob_type;
  235|  1.14M|}
moduleobject.c:_Py_IS_TYPE_impl:
  248|  1.13M|{
  249|  1.13M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  1.13M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.13M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.13M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  1.13M|}
moduleobject.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|}
object.c:_Py_TYPE_impl:
  233|   518M|{
  234|   518M|    return ob->ob_type;
  235|   518M|}
object.c:PyType_HasFeature:
  749|  71.5M|{
  750|  71.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|  71.5M|    flags = type->tp_flags;
  756|  71.5M|#endif
  757|  71.5M|    return ((flags & feature) != 0);
  758|  71.5M|}
object.c:Py_SET_TYPE:
  206|   102k|{
  207|   102k|    ob->ob_type = type;
  208|   102k|}
object.c:_Py_IS_TYPE_impl:
  248|  82.9M|{
  249|  82.9M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  82.9M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  82.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  82.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  82.9M|}
object.c:_Py_SIZE_impl:
  240|  54.3k|{
  241|  54.3k|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|  54.3k|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|  54.3k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  54.3k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  54.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  54.3k|}
object.c:_Py_SET_SIZE_impl:
  254|  85.2k|{
  255|  85.2k|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  256|  85.2k|    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|  85.2k|    ob->ob_size = size;
  261|  85.2k|#endif
  262|  85.2k|}
rangeobject.c:_Py_IS_TYPE_impl:
  248|    426|{
  249|    426|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|    426|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    426|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    426|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    426|}
rangeobject.c:_Py_TYPE_impl:
  233|  1.27k|{
  234|  1.27k|    return ob->ob_type;
  235|  1.27k|}
sentinelobject.c:_Py_TYPE_impl:
  233|      6|{
  234|      6|    return ob->ob_type;
  235|      6|}
sentinelobject.c:_Py_SIZE_impl:
  240|     12|{
  241|     12|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|     12|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|     12|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|     12|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     12|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|     12|}
sentinelobject.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|}
setobject.c:_Py_IS_TYPE_impl:
  248|  2.69M|{
  249|  2.69M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  2.69M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.69M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.69M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  2.69M|}
setobject.c:_Py_TYPE_impl:
  233|  3.27M|{
  234|  3.27M|    return ob->ob_type;
  235|  3.27M|}
sliceobject.c:_Py_TYPE_impl:
  233|    454|{
  234|    454|    return ob->ob_type;
  235|    454|}
sliceobject.c:_Py_IS_TYPE_impl:
  248|     28|{
  249|     28|    return Py_TYPE(ob) == 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     28|}
structseq.c:_Py_SET_SIZE_impl:
  254|  38.0k|{
  255|  38.0k|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  256|  38.0k|    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|  38.0k|    ob->ob_size = size;
  261|  38.0k|#endif
  262|  38.0k|}
structseq.c:_Py_TYPE_impl:
  233|   194k|{
  234|   194k|    return ob->ob_type;
  235|   194k|}
structseq.c:Py_SET_TYPE:
  206|     16|{
  207|     16|    ob->ob_type = type;
  208|     16|}
structseq.c:_Py_SIZE_impl:
  240|  61.6k|{
  241|  61.6k|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|  61.6k|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|  61.6k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  61.6k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  61.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  61.6k|}
structseq.c:PyType_HasFeature:
  749|   118k|{
  750|   118k|    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|   118k|    flags = type->tp_flags;
  756|   118k|#endif
  757|   118k|    return ((flags & feature) != 0);
  758|   118k|}
templateobject.c:_Py_TYPE_impl:
  233|      8|{
  234|      8|    return ob->ob_type;
  235|      8|}
tupleobject.c:PyType_HasFeature:
  749|  10.2M|{
  750|  10.2M|    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.2M|    flags = type->tp_flags;
  756|  10.2M|#endif
  757|  10.2M|    return ((flags & feature) != 0);
  758|  10.2M|}
tupleobject.c:_Py_TYPE_impl:
  233|  82.6M|{
  234|  82.6M|    return ob->ob_type;
  235|  82.6M|}
tupleobject.c:_Py_SIZE_impl:
  240|   128M|{
  241|   128M|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|   128M|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|   128M|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|   128M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|   128M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|   128M|}
tupleobject.c:_Py_IS_TYPE_impl:
  248|  33.5M|{
  249|  33.5M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  33.5M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  33.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  33.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  33.5M|}
typeobject.c:PyType_Check:
  762|   378k|static inline int PyType_Check(PyObject *op) {
  763|   378k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|   378k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|   378k|}
typeobject.c:PyType_HasFeature:
  749|  19.6M|{
  750|  19.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|  19.6M|    flags = type->tp_flags;
  756|  19.6M|#endif
  757|  19.6M|    return ((flags & feature) != 0);
  758|  19.6M|}
typeobject.c:_Py_TYPE_impl:
  233|   120M|{
  234|   120M|    return ob->ob_type;
  235|   120M|}
typeobject.c:Py_SET_TYPE:
  206|  10.7M|{
  207|  10.7M|    ob->ob_type = type;
  208|  10.7M|}
typeobject.c:_Py_SET_SIZE_impl:
  254|  58.9k|{
  255|  58.9k|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  256|  58.9k|    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|  58.9k|    ob->ob_size = size;
  261|  58.9k|#endif
  262|  58.9k|}
typeobject.c:_Py_SIZE_impl:
  240|  59.6M|{
  241|  59.6M|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|  59.6M|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|  59.6M|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  59.6M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  59.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  59.6M|}
typeobject.c:_Py_IS_TYPE_impl:
  248|  29.0M|{
  249|  29.0M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  29.0M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  29.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  29.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  29.0M|}
typeobject.c:PyObject_TypeCheck:
  374|  17.2M|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  17.2M|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  34.5M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  17.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 17.2M, False: 41.2k]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|  41.2k|#  define Py_TYPE(ob) _Py_TYPE_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 (375:36): [True: 41.2k, False: 4]
  ------------------
  376|  17.2M|}
typevarobject.c:_Py_SIZE_impl:
  240|    498|{
  241|    498|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|    498|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|    498|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    498|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    498|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    498|}
typevarobject.c:PyType_HasFeature:
  749|     76|{
  750|     76|    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|     76|    flags = type->tp_flags;
  756|     76|#endif
  757|     76|    return ((flags & feature) != 0);
  758|     76|}
typevarobject.c:_Py_TYPE_impl:
  233|   233k|{
  234|   233k|    return ob->ob_type;
  235|   233k|}
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|  37.9k|{
  750|  37.9k|    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.9k|    flags = type->tp_flags;
  756|  37.9k|#endif
  757|  37.9k|    return ((flags & feature) != 0);
  758|  37.9k|}
unicode_format.c:_Py_TYPE_impl:
  233|  56.4k|{
  234|  56.4k|    return ob->ob_type;
  235|  56.4k|}
unicode_format.c:_Py_IS_TYPE_impl:
  248|  18.5k|{
  249|  18.5k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  18.5k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  18.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  18.5k|}
unicode_formatter.c:_Py_IS_TYPE_impl:
  248|  26.1k|{
  249|  26.1k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  26.1k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  26.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  26.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  26.1k|}
unicode_formatter.c:_Py_TYPE_impl:
  233|  26.1k|{
  234|  26.1k|    return ob->ob_type;
  235|  26.1k|}
unicode_writer.c:_Py_TYPE_impl:
  233|  57.9k|{
  234|  57.9k|    return ob->ob_type;
  235|  57.9k|}
unicode_writer.c:PyType_HasFeature:
  749|    182|{
  750|    182|    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|    182|    flags = type->tp_flags;
  756|    182|#endif
  757|    182|    return ((flags & feature) != 0);
  758|    182|}
unicodeobject.c:PyType_HasFeature:
  749|  39.6M|{
  750|  39.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|  39.6M|    flags = type->tp_flags;
  756|  39.6M|#endif
  757|  39.6M|    return ((flags & feature) != 0);
  758|  39.6M|}
unicodeobject.c:_Py_TYPE_impl:
  233|  60.5M|{
  234|  60.5M|    return ob->ob_type;
  235|  60.5M|}
unicodeobject.c:Py_SET_TYPE:
  206|  10.4M|{
  207|  10.4M|    ob->ob_type = type;
  208|  10.4M|}
unicodeobject.c:_Py_IS_TYPE_impl:
  248|  10.5M|{
  249|  10.5M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  10.5M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  10.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  10.5M|}
unicodeobject.c:_Py_SIZE_impl:
  240|   189k|{
  241|   189k|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|   189k|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|   189k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|   189k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|   189k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|   189k|}
unicodeobject.c:_Py_SET_SIZE_impl:
  254|  4.20k|{
  255|  4.20k|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  256|  4.20k|    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.20k|    ob->ob_size = size;
  261|  4.20k|#endif
  262|  4.20k|}
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|  3.86M|{
  234|  3.86M|    return ob->ob_type;
  235|  3.86M|}
weakrefobject.c:PyType_Check:
  762|  1.13M|static inline int PyType_Check(PyObject *op) {
  763|  1.13M|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|  1.13M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|  1.13M|}
weakrefobject.c:PyType_HasFeature:
  749|  1.13M|{
  750|  1.13M|    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.13M|    flags = type->tp_flags;
  756|  1.13M|#endif
  757|  1.13M|    return ((flags & feature) != 0);
  758|  1.13M|}
weakrefobject.c:PyObject_TypeCheck:
  374|   326k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|   326k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|   653k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|   326k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   326k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 326k, 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|   326k|}
weakrefobject.c:_Py_IS_TYPE_impl:
  248|   522k|{
  249|   522k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|   522k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   522k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   522k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|   522k|}
_warnings.c:_Py_SIZE_impl:
  240|  51.6k|{
  241|  51.6k|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|  51.6k|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|  51.6k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  51.6k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  51.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  51.6k|}
_warnings.c:PyType_HasFeature:
  749|  73.1k|{
  750|  73.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|  73.1k|    flags = type->tp_flags;
  756|  73.1k|#endif
  757|  73.1k|    return ((flags & feature) != 0);
  758|  73.1k|}
_warnings.c:_Py_TYPE_impl:
  233|  98.9k|{
  234|  98.9k|    return ob->ob_type;
  235|  98.9k|}
_warnings.c:PyObject_TypeCheck:
  374|  8.60k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  8.60k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  17.2k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  8.60k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.60k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 0, False: 8.60k]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|  8.60k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.60k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.60k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 8.60k]
  ------------------
  376|  8.60k|}
_warnings.c:_Py_IS_TYPE_impl:
  248|  17.2k|{
  249|  17.2k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  17.2k|}
bltinmodule.c:_Py_TYPE_impl:
  233|   165k|{
  234|   165k|    return ob->ob_type;
  235|   165k|}
bltinmodule.c:_Py_SIZE_impl:
  240|  31.6k|{
  241|  31.6k|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|  31.6k|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|  31.6k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  31.6k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  31.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  31.6k|}
bltinmodule.c:PyType_HasFeature:
  749|  41.5k|{
  750|  41.5k|    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|  41.5k|    flags = type->tp_flags;
  756|  41.5k|#endif
  757|  41.5k|    return ((flags & feature) != 0);
  758|  41.5k|}
bltinmodule.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|}
bltinmodule.c:PyType_Check:
  762|  3.58k|static inline int PyType_Check(PyObject *op) {
  763|  3.58k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|  3.58k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|  3.58k|}
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|   689M|{
  234|   689M|    return ob->ob_type;
  235|   689M|}
ceval.c:PyType_Check:
  762|  2.90M|static inline int PyType_Check(PyObject *op) {
  763|  2.90M|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|  2.90M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|  2.90M|}
ceval.c:PyType_HasFeature:
  749|  21.2M|{
  750|  21.2M|    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|  21.2M|    flags = type->tp_flags;
  756|  21.2M|#endif
  757|  21.2M|    return ((flags & feature) != 0);
  758|  21.2M|}
ceval.c:_Py_IS_TYPE_impl:
  248|   222M|{
  249|   222M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|   222M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   222M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   222M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|   222M|}
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|  61.5M|{
  241|  61.5M|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|  61.5M|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|  61.5M|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  61.5M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  61.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  61.5M|}
ceval.c:_Py_SET_SIZE_impl:
  254|  5.82M|{
  255|  5.82M|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  256|  5.82M|    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|  5.82M|    ob->ob_size = size;
  261|  5.82M|#endif
  262|  5.82M|}
codecs.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|}
codecs.c:PyType_HasFeature:
  749|  29.9k|{
  750|  29.9k|    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|  29.9k|    flags = type->tp_flags;
  756|  29.9k|#endif
  757|  29.9k|    return ((flags & feature) != 0);
  758|  29.9k|}
codecs.c:_Py_TYPE_impl:
  233|  59.8k|{
  234|  59.8k|    return ob->ob_type;
  235|  59.8k|}
codecs.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|}
codegen.c:_Py_TYPE_impl:
  233|    111|{
  234|    111|    return ob->ob_type;
  235|    111|}
codegen.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|}
codegen.c:PyType_HasFeature:
  749|    117|{
  750|    117|    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|    117|    flags = type->tp_flags;
  756|    117|#endif
  757|    117|    return ((flags & feature) != 0);
  758|    117|}
compile.c:_Py_SIZE_impl:
  240|  15.5k|{
  241|  15.5k|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|  15.5k|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|  15.5k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  15.5k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  15.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  15.5k|}
compile.c:_Py_IS_TYPE_impl:
  248|  40.0k|{
  249|  40.0k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  40.0k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  40.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  40.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  40.0k|}
compile.c:_Py_TYPE_impl:
  233|  40.0k|{
  234|  40.0k|    return ob->ob_type;
  235|  40.0k|}
context.c:_Py_IS_TYPE_impl:
  248|  4.30k|{
  249|  4.30k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  4.30k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  4.30k|}
context.c:_Py_TYPE_impl:
  233|  4.31k|{
  234|  4.31k|    return ob->ob_type;
  235|  4.31k|}
context.c:PyType_HasFeature:
  749|      8|{
  750|      8|    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|    flags = type->tp_flags;
  756|      8|#endif
  757|      8|    return ((flags & feature) != 0);
  758|      8|}
errors.c:_Py_TYPE_impl:
  233|  38.5M|{
  234|  38.5M|    return ob->ob_type;
  235|  38.5M|}
errors.c:PyType_Check:
  762|  12.8M|static inline int PyType_Check(PyObject *op) {
  763|  12.8M|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|  12.8M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|  12.8M|}
errors.c:PyType_HasFeature:
  749|  42.2M|{
  750|  42.2M|    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|  42.2M|    flags = type->tp_flags;
  756|  42.2M|#endif
  757|  42.2M|    return ((flags & feature) != 0);
  758|  42.2M|}
flowgraph.c:_Py_SIZE_impl:
  240|  40.9k|{
  241|  40.9k|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|  40.9k|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|  40.9k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  40.9k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  40.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  40.9k|}
flowgraph.c:_Py_IS_TYPE_impl:
  248|  27.9k|{
  249|  27.9k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  27.9k|}
flowgraph.c:PyType_HasFeature:
  749|     44|{
  750|     44|    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|     44|    flags = type->tp_flags;
  756|     44|#endif
  757|     44|    return ((flags & feature) != 0);
  758|     44|}
flowgraph.c:_Py_TYPE_impl:
  233|  27.9k|{
  234|  27.9k|    return ob->ob_type;
  235|  27.9k|}
gc.c:_Py_SIZE_impl:
  240|  10.8k|{
  241|  10.8k|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|  10.8k|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|  10.8k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  10.8k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  10.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  10.8k|}
gc.c:_Py_IS_TYPE_impl:
  248|  10.5M|{
  249|  10.5M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  10.5M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  10.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  10.5M|}
gc.c:PyObject_TypeCheck:
  374|  3.30M|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  3.30M|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  6.61M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  3.30M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.30M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 4, False: 3.30M]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|  3.30M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.30M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.30M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 3.30M]
  ------------------
  376|  3.30M|}
gc.c:Py_SET_TYPE:
  206|  18.3M|{
  207|  18.3M|    ob->ob_type = type;
  208|  18.3M|}
gc.c:_Py_TYPE_impl:
  233|  94.5M|{
  234|  94.5M|    return ob->ob_type;
  235|  94.5M|}
gc.c:_Py_SET_SIZE_impl:
  254|  5.24M|{
  255|  5.24M|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  256|  5.24M|    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|  5.24M|    ob->ob_size = size;
  261|  5.24M|#endif
  262|  5.24M|}
getargs.c:PyType_HasFeature:
  749|  2.14M|{
  750|  2.14M|    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.14M|    flags = type->tp_flags;
  756|  2.14M|#endif
  757|  2.14M|    return ((flags & feature) != 0);
  758|  2.14M|}
getargs.c:_Py_TYPE_impl:
  233|  2.16M|{
  234|  2.16M|    return ob->ob_type;
  235|  2.16M|}
getargs.c:_Py_SIZE_impl:
  240|  2.43M|{
  241|  2.43M|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|  2.43M|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|  2.43M|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  2.43M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  2.43M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  2.43M|}
getargs.c:_Py_IS_TYPE_impl:
  248|  11.1k|{
  249|  11.1k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  11.1k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  11.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  11.1k|}
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|  4.02k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  4.02k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  8.04k|#  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 (215:32): [True: 4.02k, 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|  4.02k|}
import.c:_Py_IS_TYPE_impl:
  248|  4.07k|{
  249|  4.07k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  4.07k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.07k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.07k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  4.07k|}
import.c:PyType_HasFeature:
  749|   526k|{
  750|   526k|    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|   526k|    flags = type->tp_flags;
  756|   526k|#endif
  757|   526k|    return ((flags & feature) != 0);
  758|   526k|}
import.c:_Py_TYPE_impl:
  233|   537k|{
  234|   537k|    return ob->ob_type;
  235|   537k|}
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.26k|{
  234|  8.26k|    return ob->ob_type;
  235|  8.26k|}
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|}
intrinsics.c:_Py_SIZE_impl:
  240|  4.19M|{
  241|  4.19M|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|  4.19M|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|  4.19M|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  4.19M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  4.19M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  4.19M|}
marshal.c:_Py_SIZE_impl:
  240|   878k|{
  241|   878k|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|   878k|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|   878k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|   878k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|   878k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|   878k|}
marshal.c:_Py_IS_TYPE_impl:
  248|   157k|{
  249|   157k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|   157k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   157k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   157k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|   157k|}
marshal.c:_Py_TYPE_impl:
  233|   157k|{
  234|   157k|    return ob->ob_type;
  235|   157k|}
modsupport.c:_Py_TYPE_impl:
  233|  2.98k|{
  234|  2.98k|    return ob->ob_type;
  235|  2.98k|}
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.42k|#  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:_Py_SIZE_impl:
  240|     45|{
  241|     45|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|     45|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|     45|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|     45|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     45|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|     45|}
pythonrun.c:PyType_HasFeature:
  749|  27.6k|{
  750|  27.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|  27.6k|    flags = type->tp_flags;
  756|  27.6k|#endif
  757|  27.6k|    return ((flags & feature) != 0);
  758|  27.6k|}
pythonrun.c:_Py_TYPE_impl:
  233|  27.6k|{
  234|  27.6k|    return ob->ob_type;
  235|  27.6k|}
specialize.c:PyType_Check:
  762|   370k|static inline int PyType_Check(PyObject *op) {
  763|   370k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|   370k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|   370k|}
specialize.c:_Py_TYPE_impl:
  233|  26.4M|{
  234|  26.4M|    return ob->ob_type;
  235|  26.4M|}
specialize.c:_Py_IS_TYPE_impl:
  248|  23.8M|{
  249|  23.8M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  23.8M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  23.8M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  23.8M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  23.8M|}
specialize.c:PyObject_TypeCheck:
  374|    833|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|    833|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  1.66k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    833|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    833|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 769, 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: 64, False: 0]
  ------------------
  376|    833|}
specialize.c:_Py_SIZE_impl:
  240|    632|{
  241|    632|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|    632|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|    632|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|    632|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    632|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|    632|}
specialize.c:PyType_HasFeature:
  749|   370k|{
  750|   370k|    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|   370k|    flags = type->tp_flags;
  756|   370k|#endif
  757|   370k|    return ((flags & feature) != 0);
  758|   370k|}
structmember.c:_Py_TYPE_impl:
  233|      3|{
  234|      3|    return ob->ob_type;
  235|      3|}
structmember.c:_Py_IS_TYPE_impl:
  248|      3|{
  249|      3|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|      3|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|      3|}
symtable.c:_Py_SIZE_impl:
  240|  16.9k|{
  241|  16.9k|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|  16.9k|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|  16.9k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  16.9k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  16.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  16.9k|}
symtable.c:PyType_HasFeature:
  749|  51.5k|{
  750|  51.5k|    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|  51.5k|    flags = type->tp_flags;
  756|  51.5k|#endif
  757|  51.5k|    return ((flags & feature) != 0);
  758|  51.5k|}
symtable.c:_Py_TYPE_impl:
  233|  51.5k|{
  234|  51.5k|    return ob->ob_type;
  235|  51.5k|}
sysmodule.c:PyType_HasFeature:
  749|  8.14k|{
  750|  8.14k|    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.14k|    flags = type->tp_flags;
  756|  8.14k|#endif
  757|  8.14k|    return ((flags & feature) != 0);
  758|  8.14k|}
sysmodule.c:_Py_TYPE_impl:
  233|  8.74k|{
  234|  8.74k|    return ob->ob_type;
  235|  8.74k|}
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|  2.89M|{
  249|  2.89M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  2.89M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.89M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.89M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  2.89M|}
traceback.c:_Py_TYPE_impl:
  233|  2.89M|{
  234|  2.89M|    return ob->ob_type;
  235|  2.89M|}
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|  40.4k|{
  241|  40.4k|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|  40.4k|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|  40.4k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  40.4k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  40.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  40.4k|}
posixmodule.c:_Py_TYPE_impl:
  233|   152k|{
  234|   152k|    return ob->ob_type;
  235|   152k|}
posixmodule.c:PyType_HasFeature:
  749|   152k|{
  750|   152k|    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|   152k|    flags = type->tp_flags;
  756|   152k|#endif
  757|   152k|    return ((flags & feature) != 0);
  758|   152k|}
_datetimemodule.c:PyObject_TypeCheck:
  374|  23.4k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  23.4k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  46.9k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  23.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  23.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 23.4k, 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|  23.4k|}
_datetimemodule.c:_Py_IS_TYPE_impl:
  248|  23.4k|{
  249|  23.4k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  23.4k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  23.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  23.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  23.4k|}
_datetimemodule.c:_Py_TYPE_impl:
  233|  83.2k|{
  234|  83.2k|    return ob->ob_type;
  235|  83.2k|}
_datetimemodule.c:PyType_HasFeature:
  749|  35.3k|{
  750|  35.3k|    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.3k|    flags = type->tp_flags;
  756|  35.3k|#endif
  757|  35.3k|    return ((flags & feature) != 0);
  758|  35.3k|}
_datetimemodule.c:_Py_SIZE_impl:
  240|  35.3k|{
  241|  35.3k|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|  35.3k|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|  35.3k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  35.3k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  35.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  35.3k|}
_datetimemodule.c:Py_SET_TYPE:
  206|  11.7k|{
  207|  11.7k|    ob->ob_type = type;
  208|  11.7k|}
_codecsmodule.c:PyType_HasFeature:
  749|     81|{
  750|     81|    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|    flags = type->tp_flags;
  756|     81|#endif
  757|     81|    return ((flags & feature) != 0);
  758|     81|}
_codecsmodule.c:_Py_TYPE_impl:
  233|     81|{
  234|     81|    return ob->ob_type;
  235|     81|}
_collectionsmodule.c:_Py_TYPE_impl:
  233|  82.0k|{
  234|  82.0k|    return ob->ob_type;
  235|  82.0k|}
_collectionsmodule.c:PyType_HasFeature:
  749|  22.5k|{
  750|  22.5k|    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.5k|    flags = type->tp_flags;
  756|  22.5k|#endif
  757|  22.5k|    return ((flags & feature) != 0);
  758|  22.5k|}
_collectionsmodule.c:_Py_SIZE_impl:
  240|  12.3k|{
  241|  12.3k|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|  12.3k|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|  12.3k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  12.3k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  12.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  12.3k|}
_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|  12.0k|{
  234|  12.0k|    return ob->ob_type;
  235|  12.0k|}
_iomodule.c:PyType_HasFeature:
  749|  12.0k|{
  750|  12.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|  12.0k|    flags = type->tp_flags;
  756|  12.0k|#endif
  757|  12.0k|    return ((flags & feature) != 0);
  758|  12.0k|}
iobase.c:_Py_TYPE_impl:
  233|  14.7k|{
  234|  14.7k|    return ob->ob_type;
  235|  14.7k|}
fileio.c:_Py_TYPE_impl:
  233|  12.2k|{
  234|  12.2k|    return ob->ob_type;
  235|  12.2k|}
fileio.c:_Py_SIZE_impl:
  240|  4.05k|{
  241|  4.05k|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|  4.05k|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|  4.05k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  4.05k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  4.05k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  4.05k|}
fileio.c:PyType_HasFeature:
  749|  4.05k|{
  750|  4.05k|    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.05k|    flags = type->tp_flags;
  756|  4.05k|#endif
  757|  4.05k|    return ((flags & feature) != 0);
  758|  4.05k|}
fileio.c:_Py_IS_TYPE_impl:
  248|  4.05k|{
  249|  4.05k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  4.05k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.05k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.05k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  4.05k|}
bytesio.c:_Py_TYPE_impl:
  233|  9.15k|{
  234|  9.15k|    return ob->ob_type;
  235|  9.15k|}
bytesio.c:_Py_SIZE_impl:
  240|  87.6k|{
  241|  87.6k|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|  87.6k|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|  87.6k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  87.6k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  87.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  87.6k|}
bytesio.c:_Py_IS_TYPE_impl:
  248|    115|{
  249|    115|    return Py_TYPE(ob) == 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    115|}
bufferedio.c:_Py_SIZE_impl:
  240|  4.05k|{
  241|  4.05k|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|  4.05k|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|  4.05k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  4.05k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  4.05k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  4.05k|}
bufferedio.c:PyType_HasFeature:
  749|  7.97k|{
  750|  7.97k|    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|  7.97k|    flags = type->tp_flags;
  756|  7.97k|#endif
  757|  7.97k|    return ((flags & feature) != 0);
  758|  7.97k|}
bufferedio.c:_Py_TYPE_impl:
  233|  24.2k|{
  234|  24.2k|    return ob->ob_type;
  235|  24.2k|}
bufferedio.c:_Py_IS_TYPE_impl:
  248|  8.10k|{
  249|  8.10k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  8.10k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.10k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.10k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  8.10k|}
textio.c:_Py_SIZE_impl:
  240|  2.52k|{
  241|  2.52k|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|  2.52k|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|  2.52k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  2.52k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  2.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  2.52k|}
textio.c:PyType_HasFeature:
  749|  13.0k|{
  750|  13.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|  13.0k|    flags = type->tp_flags;
  756|  13.0k|#endif
  757|  13.0k|    return ((flags & feature) != 0);
  758|  13.0k|}
textio.c:_Py_TYPE_impl:
  233|  38.3k|{
  234|  38.3k|    return ob->ob_type;
  235|  38.3k|}
textio.c:_Py_IS_TYPE_impl:
  248|  25.1k|{
  249|  25.1k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  25.1k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  25.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  25.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  25.1k|}
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.29k|{
  234|  2.29k|    return ob->ob_type;
  235|  2.29k|}
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|    554|{
  750|    554|    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|    554|    flags = type->tp_flags;
  756|    554|#endif
  757|    554|    return ((flags & feature) != 0);
  758|    554|}
sre.c:_Py_TYPE_impl:
  233|  2.16k|{
  234|  2.16k|    return ob->ob_type;
  235|  2.16k|}
sre.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|}
_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|  13.9M|{
  234|  13.9M|    return ob->ob_type;
  235|  13.9M|}
_threadmodule.c:_Py_IS_TYPE_impl:
  248|  6.85M|{
  249|  6.85M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  6.85M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  6.85M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.85M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  6.85M|}
timemodule.c:_Py_TYPE_impl:
  233|    192|{
  234|    192|    return ob->ob_type;
  235|    192|}
timemodule.c:PyType_HasFeature:
  749|     96|{
  750|     96|    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|     96|    flags = type->tp_flags;
  756|     96|#endif
  757|     96|    return ((flags & feature) != 0);
  758|     96|}
timemodule.c:_Py_IS_TYPE_impl:
  248|     96|{
  249|     96|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|     96|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     96|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     96|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|     96|}
_weakref.c:PyType_HasFeature:
  749|  8.44k|{
  750|  8.44k|    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.44k|    flags = type->tp_flags;
  756|  8.44k|#endif
  757|  8.44k|    return ((flags & feature) != 0);
  758|  8.44k|}
_weakref.c:_Py_TYPE_impl:
  233|  25.3k|{
  234|  25.3k|    return ob->ob_type;
  235|  25.3k|}
_weakref.c:PyObject_TypeCheck:
  374|  8.44k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  8.44k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  16.8k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  8.44k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.44k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 0, False: 8.44k]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|  8.44k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.44k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.44k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 8.44k, False: 0]
  ------------------
  376|  8.44k|}
_weakref.c:_Py_IS_TYPE_impl:
  248|  8.44k|{
  249|  8.44k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  8.44k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.44k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.44k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  8.44k|}
_abc.c:_Py_SIZE_impl:
  240|  8.44k|{
  241|  8.44k|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|  8.44k|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|  8.44k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  8.44k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  8.44k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  8.44k|}
_abc.c:PyType_HasFeature:
  749|  23.7k|{
  750|  23.7k|    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|  23.7k|    flags = type->tp_flags;
  756|  23.7k|#endif
  757|  23.7k|    return ((flags & feature) != 0);
  758|  23.7k|}
_abc.c:_Py_TYPE_impl:
  233|  91.7k|{
  234|  91.7k|    return ob->ob_type;
  235|  91.7k|}
_abc.c:PyType_Check:
  762|  12.2k|static inline int PyType_Check(PyObject *op) {
  763|  12.2k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|  12.2k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|  12.2k|}
_abc.c:_Py_IS_TYPE_impl:
  248|  45.3k|{
  249|  45.3k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  45.3k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  45.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  45.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  45.3k|}
_functoolsmodule.c:_Py_SIZE_impl:
  240|  40.1k|{
  241|  40.1k|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|  40.1k|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|  40.1k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  40.1k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  40.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  40.1k|}
_functoolsmodule.c:_Py_TYPE_impl:
  233|  39.7k|{
  234|  39.7k|    return ob->ob_type;
  235|  39.7k|}
_functoolsmodule.c:PyType_HasFeature:
  749|  3.67k|{
  750|  3.67k|    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.67k|    flags = type->tp_flags;
  756|  3.67k|#endif
  757|  3.67k|    return ((flags & feature) != 0);
  758|  3.67k|}
_functoolsmodule.c:_Py_IS_TYPE_impl:
  248|  10.9k|{
  249|  10.9k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  10.9k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  10.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  10.9k|}
_functoolsmodule.c:PyObject_TypeCheck:
  374|  10.8k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  10.8k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  21.7k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  10.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 0, False: 10.8k]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|  10.8k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  10.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 10.8k]
  ------------------
  376|  10.8k|}
_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|    102|{
  750|    102|    unsigned long flags;
  751|    102|#ifdef Py_LIMITED_API
  752|       |    // PyTypeObject is opaque in the limited C API
  753|    102|    flags = PyType_GetFlags(type);
  754|       |#else
  755|       |    flags = type->tp_flags;
  756|       |#endif
  757|    102|    return ((flags & feature) != 0);
  758|    102|}
_stat.c:_Py_TYPE_impl:
  233|    102|{
  234|    102|    return ob->ob_type;
  235|    102|}
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|   277M|{
  234|   277M|    return ob->ob_type;
  235|   277M|}
abstract.c:PyType_HasFeature:
  749|  23.6M|{
  750|  23.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|  23.6M|    flags = type->tp_flags;
  756|  23.6M|#endif
  757|  23.6M|    return ((flags & feature) != 0);
  758|  23.6M|}
abstract.c:PyType_Check:
  762|  1.50M|static inline int PyType_Check(PyObject *op) {
  763|  1.50M|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|  1.50M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|  1.50M|}
abstract.c:_Py_IS_TYPE_impl:
  248|  39.7M|{
  249|  39.7M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  39.7M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  39.7M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  39.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  39.7M|}
abstract.c:PyObject_TypeCheck:
  374|  1.43M|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  1.43M|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  2.87M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  1.43M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.43M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 0, False: 1.43M]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), 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 (375:36): [True: 64.3k, False: 1.37M]
  ------------------
  376|  1.43M|}
abstract.c:_Py_SIZE_impl:
  240|   466k|{
  241|   466k|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|   466k|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|   466k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|   466k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|   466k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|   466k|}
abstract.c:_Py_SET_SIZE_impl:
  254|    290|{
  255|    290|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  256|    290|    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|    290|    ob->ob_size = size;
  261|    290|#endif
  262|    290|}
abstract.c:PyType_CheckExact:
  772|  2.20M|static inline int PyType_CheckExact(PyObject *op) {
  773|  2.20M|    return Py_IS_TYPE(op, &PyType_Type);
  ------------------
  |  |  215|  2.20M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  2.20M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.20M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  774|  2.20M|}
bytes_methods.c:_Py_TYPE_impl:
  233|  1.09k|{
  234|  1.09k|    return ob->ob_type;
  235|  1.09k|}
bytes_methods.c:PyType_HasFeature:
  749|     36|{
  750|     36|    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|     36|    flags = type->tp_flags;
  756|     36|#endif
  757|     36|    return ((flags & feature) != 0);
  758|     36|}
bytes_methods.c:_Py_SIZE_impl:
  240|     32|{
  241|     32|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|     32|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|     32|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|     32|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|     32|}
bytearrayobject.c:_Py_SET_SIZE_impl:
  254|  22.5M|{
  255|  22.5M|    assert(Py_TYPE(_PyObject_CAST(ob)) != &PyLong_Type);
  256|  22.5M|    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|  22.5M|    ob->ob_size = size;
  261|  22.5M|#endif
  262|  22.5M|}
bytearrayobject.c:_Py_SIZE_impl:
  240|  60.2M|{
  241|  60.2M|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|  60.2M|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|  60.2M|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  60.2M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  60.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  60.2M|}
bytearrayobject.c:_Py_TYPE_impl:
  233|  52.6M|{
  234|  52.6M|    return ob->ob_type;
  235|  52.6M|}
bytearrayobject.c:PyObject_TypeCheck:
  374|  7.52M|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  7.52M|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  15.0M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  7.52M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.52M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 2, False: 7.52M]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|  7.52M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  7.52M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.52M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 7.52M]
  ------------------
  376|  7.52M|}
bytearrayobject.c:_Py_IS_TYPE_impl:
  248|  7.52M|{
  249|  7.52M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  7.52M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  7.52M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.52M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  7.52M|}
bytearrayobject.c:PyType_HasFeature:
  749|  7.52M|{
  750|  7.52M|    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|  7.52M|    flags = type->tp_flags;
  756|  7.52M|#endif
  757|  7.52M|    return ((flags & feature) != 0);
  758|  7.52M|}
capsule.c:_Py_IS_TYPE_impl:
  248|  4.76k|{
  249|  4.76k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  4.76k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.76k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.76k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  4.76k|}
capsule.c:_Py_TYPE_impl:
  233|  4.76k|{
  234|  4.76k|    return ob->ob_type;
  235|  4.76k|}
cellobject.c:_Py_IS_TYPE_impl:
  248|  1.89k|{
  249|  1.89k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  1.89k|}
cellobject.c:_Py_TYPE_impl:
  233|  1.89k|{
  234|  1.89k|    return ob->ob_type;
  235|  1.89k|}
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|   866k|{
  750|   866k|    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|   866k|    flags = type->tp_flags;
  756|   866k|#endif
  757|   866k|    return ((flags & feature) != 0);
  758|   866k|}
codeobject.c:_Py_TYPE_impl:
  233|  2.88M|{
  234|  2.88M|    return ob->ob_type;
  235|  2.88M|}
codeobject.c:_Py_SIZE_impl:
  240|  1.83M|{
  241|  1.83M|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|  1.83M|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|  1.83M|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  1.83M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  1.83M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  1.83M|}
codeobject.c:_Py_IS_TYPE_impl:
  248|  2.00M|{
  249|  2.00M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  2.00M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.00M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.00M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  2.00M|}
complexobject.c:Py_SET_TYPE:
  206|      3|{
  207|      3|    ob->ob_type = type;
  208|      3|}
complexobject.c:PyObject_TypeCheck:
  374|      4|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|      4|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), 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]
  |  |  ------------------
  ------------------
                  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|      4|}
complexobject.c:_Py_IS_TYPE_impl:
  248|      5|{
  249|      5|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|      5|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|      5|}
complexobject.c:_Py_TYPE_impl:
  233|      5|{
  234|      5|    return ob->ob_type;
  235|      5|}
descrobject.c:PyType_HasFeature:
  749|  7.58M|{
  750|  7.58M|    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|  7.58M|    flags = type->tp_flags;
  756|  7.58M|#endif
  757|  7.58M|    return ((flags & feature) != 0);
  758|  7.58M|}
descrobject.c:PyObject_TypeCheck:
  374|  6.77M|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  6.77M|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  13.5M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  6.77M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.77M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 4.93M, False: 1.84M]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|  1.84M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.84M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.84M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 1.84M, False: 0]
  ------------------
  376|  6.77M|}
descrobject.c:_Py_IS_TYPE_impl:
  248|  6.77M|{
  249|  6.77M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  6.77M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  6.77M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.77M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  6.77M|}
descrobject.c:PyType_Check:
  762|  7.55M|static inline int PyType_Check(PyObject *op) {
  763|  7.55M|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|  7.55M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|  7.55M|}
descrobject.c:_Py_SIZE_impl:
  240|  30.2k|{
  241|  30.2k|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|  30.2k|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|  30.2k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  30.2k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  30.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  30.2k|}
descrobject.c:_Py_TYPE_impl:
  233|  23.2M|{
  234|  23.2M|    return ob->ob_type;
  235|  23.2M|}
enumobject.c:_Py_TYPE_impl:
  233|  23.2k|{
  234|  23.2k|    return ob->ob_type;
  235|  23.2k|}
enumobject.c:PyType_HasFeature:
  749|  3.98k|{
  750|  3.98k|    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.98k|    flags = type->tp_flags;
  756|  3.98k|#endif
  757|  3.98k|    return ((flags & feature) != 0);
  758|  3.98k|}
genobject.c:PyType_Check:
  762|  19.9k|static inline int PyType_Check(PyObject *op) {
  763|  19.9k|    return PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS);
  ------------------
  |  |  760|  19.9k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  ------------------
  764|  19.9k|}
genobject.c:PyType_HasFeature:
  749|  39.8k|{
  750|  39.8k|    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|  39.8k|    flags = type->tp_flags;
  756|  39.8k|#endif
  757|  39.8k|    return ((flags & feature) != 0);
  758|  39.8k|}
genobject.c:_Py_IS_TYPE_impl:
  248|  4.39M|{
  249|  4.39M|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  4.39M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.39M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.39M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  4.39M|}
genobject.c:_Py_TYPE_impl:
  233|  4.45M|{
  234|  4.45M|    return ob->ob_type;
  235|  4.45M|}
fileobject.c:PyType_HasFeature:
  749|  3.98k|{
  750|  3.98k|    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.98k|    flags = type->tp_flags;
  756|  3.98k|#endif
  757|  3.98k|    return ((flags & feature) != 0);
  758|  3.98k|}
fileobject.c:_Py_TYPE_impl:
  233|  3.98k|{
  234|  3.98k|    return ob->ob_type;
  235|  3.98k|}
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|  29.8k|{
  750|  29.8k|    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|  29.8k|    flags = type->tp_flags;
  756|  29.8k|#endif
  757|  29.8k|    return ((flags & feature) != 0);
  758|  29.8k|}
funcobject.c:_Py_TYPE_impl:
  233|  40.6k|{
  234|  40.6k|    return ob->ob_type;
  235|  40.6k|}
funcobject.c:_Py_IS_TYPE_impl:
  248|  10.8k|{
  249|  10.8k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  10.8k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  10.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  10.8k|}
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|  3.61k|{
  241|  3.61k|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|  3.61k|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|  3.61k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  3.61k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  3.61k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  3.61k|}
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|    104|{
  750|    104|    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|    104|    flags = type->tp_flags;
  756|    104|#endif
  757|    104|    return ((flags & feature) != 0);
  758|    104|}
lazyimportobject.c:_Py_TYPE_impl:
  233|    122|{
  234|    122|    return ob->ob_type;
  235|    122|}
odictobject.c:_Py_TYPE_impl:
  233|  14.3k|{
  234|  14.3k|    return ob->ob_type;
  235|  14.3k|}
odictobject.c:_Py_IS_TYPE_impl:
  248|  14.3k|{
  249|  14.3k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  14.3k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  14.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  14.3k|}
odictobject.c:_Py_SIZE_impl:
  240|  10.8k|{
  241|  10.8k|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|  10.8k|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|  10.8k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|  10.8k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  10.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|  10.8k|}
methodobject.c:PyObject_TypeCheck:
  374|  54.4k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  54.4k|    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.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 27.2k, False: 27.2k]
  |  |  ------------------
  ------------------
                  return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  213|  27.2k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  27.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (375:36): [True: 0, False: 27.2k]
  ------------------
  376|  54.4k|}
methodobject.c:_Py_IS_TYPE_impl:
  248|  54.4k|{
  249|  54.4k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  54.4k|}
methodobject.c:_Py_TYPE_impl:
  233|  81.6k|{
  234|  81.6k|    return ob->ob_type;
  235|  81.6k|}
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|   167k|{
  241|   167k|    assert(Py_TYPE(ob) != &PyLong_Type);
  242|   167k|    assert(Py_TYPE(ob) != &PyBool_Type);
  243|   167k|    return  _PyVarObject_CAST(ob)->ob_size;
  ------------------
  |  |  182|   167k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  ------------------
  |  |  |  |   37|   167k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  244|   167k|}
ast.c:_Py_TYPE_impl:
  233|  1.89k|{
  234|  1.89k|    return ob->ob_type;
  235|  1.89k|}
ast.c:_Py_IS_TYPE_impl:
  248|  1.89k|{
  249|  1.89k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  1.89k|}
ast_preprocess.c:PyType_HasFeature:
  749|     84|{
  750|     84|    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|     84|    flags = type->tp_flags;
  756|     84|#endif
  757|     84|    return ((flags & feature) != 0);
  758|     84|}
ast_preprocess.c:_Py_TYPE_impl:
  233|     84|{
  234|     84|    return ob->ob_type;
  235|     84|}
crossinterp.c:_Py_TYPE_impl:
  233|      2|{
  234|      2|    return ob->ob_type;
  235|      2|}
pegen.c:_Py_TYPE_impl:
  233|  27.1k|{
  234|  27.1k|    return ob->ob_type;
  235|  27.1k|}
pegen.c:PyObject_TypeCheck:
  374|  27.1k|static inline int PyObject_TypeCheck(PyObject *ob, PyTypeObject *type) {
  375|  27.1k|    return Py_IS_TYPE(ob, type) || PyType_IsSubtype(Py_TYPE(ob), type);
  ------------------
  |  |  215|  54.3k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  27.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 27.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|  27.1k|}
pegen.c:_Py_IS_TYPE_impl:
  248|  27.1k|{
  249|  27.1k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  27.1k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  27.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  27.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|  5.17k|{
  249|  5.17k|    return Py_TYPE(ob) == type;
  ------------------
  |  |  213|  5.17k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|  5.17k|}
action_helpers.c:_Py_TYPE_impl:
  233|  5.17k|{
  234|  5.17k|    return ob->ob_type;
  235|  5.17k|}

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

bytesobject.c:Py_INCREF:
  256|  13.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|  13.6M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  13.6M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 13.5M, False: 69.9k]
  ------------------
  288|       |        // the object is immortal
  289|  13.5M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  13.5M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  13.5M|        return;
  291|  13.5M|    }
  292|  69.9k|    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|  69.9k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  69.9k|#  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|  69.9k|#endif
  308|  69.9k|}
bytesobject.c:Py_DECREF:
  418|  8.09M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  8.09M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  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: 8.00M, False: 91.8k]
  |  |  ------------------
  ------------------
  422|  8.00M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  8.00M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  8.00M|        return;
  424|  8.00M|    }
  425|  91.8k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  91.8k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  91.8k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 9.64k, False: 82.2k]
  ------------------
  427|  9.64k|        _Py_Dealloc(op);
  428|  9.64k|    }
  429|  91.8k|}
bytesobject.c:_Py_IsImmortal:
  127|  8.09M|{
  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.09M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  8.09M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  8.09M|}
bytesobject.c:Py_XDECREF:
  518|  8.88M|{
  519|  8.88M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  8.88M|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 7.62k, False: 8.87M]
  ------------------
  520|  7.62k|        Py_DECREF(op);
  ------------------
  |  |  430|  7.62k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.62k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.62k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  7.62k|    }
  522|  8.88M|}
bytesobject.c:_Py_NewRef:
  535|   145k|{
  536|   145k|    Py_INCREF(obj);
  ------------------
  |  |  310|   145k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   145k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   145k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|   145k|    return obj;
  538|   145k|}
bytesobject.c:_Py_REFCNT:
  105|  91.8k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  91.8k|    #if !defined(Py_GIL_DISABLED)
  107|  91.8k|        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|  91.8k|    }
call.c:Py_DECREF:
  418|  23.0M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  23.0M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  23.0M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  23.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  23.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 1.07M, False: 22.0M]
  |  |  ------------------
  ------------------
  422|  1.07M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  1.07M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  1.07M|        return;
  424|  1.07M|    }
  425|  22.0M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  22.0M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  22.0M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 18.4M, False: 3.59M]
  ------------------
  427|  18.4M|        _Py_Dealloc(op);
  428|  18.4M|    }
  429|  22.0M|}
call.c:_Py_IsImmortal:
  127|  23.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|  23.0M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  23.0M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  23.0M|}
call.c:_Py_NewRef:
  535|  5.98M|{
  536|  5.98M|    Py_INCREF(obj);
  ------------------
  |  |  310|  5.98M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.98M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.98M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  5.98M|    return obj;
  538|  5.98M|}
call.c:Py_INCREF:
  256|  5.98M|{
  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.98M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  5.98M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 3.63M, False: 2.34M]
  ------------------
  288|       |        // the object is immortal
  289|  3.63M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  3.63M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  3.63M|        return;
  291|  3.63M|    }
  292|  2.34M|    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.34M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  2.34M|#  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.34M|#endif
  308|  2.34M|}
exceptions.c:_Py_XNewRef:
  541|  6.29M|{
  542|  6.29M|    Py_XINCREF(obj);
  ------------------
  |  |  514|  6.29M|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.29M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.29M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  6.29M|    return obj;
  544|  6.29M|}
exceptions.c:Py_XINCREF:
  508|  6.29M|{
  509|  6.29M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  6.29M|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 942k, False: 5.35M]
  ------------------
  510|   942k|        Py_INCREF(op);
  ------------------
  |  |  310|   942k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   942k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   942k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|   942k|    }
  512|  6.29M|}
exceptions.c:Py_XDECREF:
  518|  6.16M|{
  519|  6.16M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  6.16M|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 1.89M, False: 4.26M]
  ------------------
  520|  1.89M|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  1.89M|    }
  522|  6.16M|}
exceptions.c:_Py_NewRef:
  535|  4.68M|{
  536|  4.68M|    Py_INCREF(obj);
  ------------------
  |  |  310|  4.68M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.68M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.68M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  4.68M|    return obj;
  538|  4.68M|}
exceptions.c:Py_INCREF:
  256|  5.67M|{
  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.67M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  5.67M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 156k, False: 5.51M]
  ------------------
  288|       |        // the object is immortal
  289|   156k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|   156k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|   156k|        return;
  291|   156k|    }
  292|  5.51M|    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.51M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  5.51M|#  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.51M|#endif
  308|  5.51M|}
exceptions.c:Py_DECREF:
  418|  8.75M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  8.75M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  8.75M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.75M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.75M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 1.28M, False: 7.47M]
  |  |  ------------------
  ------------------
  422|  1.28M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  1.28M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  1.28M|        return;
  424|  1.28M|    }
  425|  7.47M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  7.47M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  7.47M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 3.25M, False: 4.22M]
  ------------------
  427|  3.25M|        _Py_Dealloc(op);
  428|  3.25M|    }
  429|  7.47M|}
exceptions.c:_Py_IsImmortal:
  127|  8.75M|{
  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.75M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  8.75M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  8.75M|}
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|    478|{
  536|    478|    Py_INCREF(obj);
  ------------------
  |  |  310|    478|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    478|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    478|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|    478|    return obj;
  538|    478|}
genericaliasobject.c:Py_INCREF:
  256|    626|{
  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|    626|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    626|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 346, False: 280]
  ------------------
  288|       |        // the object is immortal
  289|    346|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|    346|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|    346|        return;
  291|    346|    }
  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|  13.6k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  13.6k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  13.6k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  13.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 13.6k, False: 6]
  |  |  ------------------
  ------------------
  422|  13.6k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  13.6k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  13.6k|        return;
  424|  13.6k|    }
  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|}
floatobject.c:_Py_IsImmortal:
  127|  13.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|  13.6k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  13.6k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  13.6k|}
floatobject.c:Py_INCREF:
  256|  1.32k|{
  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.32k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  1.32k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 1.32k, False: 0]
  ------------------
  288|       |        // the object is immortal
  289|  1.32k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  1.32k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  1.32k|        return;
  291|  1.32k|    }
  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|  13.6k|{
  519|  13.6k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  13.6k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 13.6k, False: 0]
  ------------------
  520|  13.6k|        Py_DECREF(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  13.6k|    }
  522|  13.6k|}
listobject.c:Py_DECREF:
  418|  24.8M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  24.8M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  24.8M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  24.8M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.8M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 9.77M, False: 15.0M]
  |  |  ------------------
  ------------------
  422|  9.77M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  9.77M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  9.77M|        return;
  424|  9.77M|    }
  425|  15.0M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  15.0M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  15.0M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 6.88M, False: 8.14M]
  ------------------
  427|  6.88M|        _Py_Dealloc(op);
  428|  6.88M|    }
  429|  15.0M|}
listobject.c:_Py_IsImmortal:
  127|  24.8M|{
  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.8M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  24.8M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  24.8M|}
listobject.c:Py_XDECREF:
  518|  20.4M|{
  519|  20.4M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  20.4M|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 20.4M, False: 74.1k]
  ------------------
  520|  20.4M|        Py_DECREF(op);
  ------------------
  |  |  430|  20.4M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  20.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  20.4M|    }
  522|  20.4M|}
listobject.c:_Py_NewRef:
  535|  17.3M|{
  536|  17.3M|    Py_INCREF(obj);
  ------------------
  |  |  310|  17.3M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  17.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  17.3M|    return obj;
  538|  17.3M|}
listobject.c:Py_INCREF:
  256|  21.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|  21.3M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  21.3M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 10.7M, False: 10.6M]
  ------------------
  288|       |        // the object is immortal
  289|  10.7M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  10.7M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  10.7M|        return;
  291|  10.7M|    }
  292|  10.6M|    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.6M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  10.6M|#  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.6M|#endif
  308|  10.6M|}
listobject.c:_Py_XNewRef:
  541|  2.01M|{
  542|  2.01M|    Py_XINCREF(obj);
  ------------------
  |  |  514|  2.01M|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.01M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.01M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  2.01M|    return obj;
  544|  2.01M|}
listobject.c:Py_XINCREF:
  508|  2.01M|{
  509|  2.01M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  2.01M|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 2.01M, False: 0]
  ------------------
  510|  2.01M|        Py_INCREF(op);
  ------------------
  |  |  310|  2.01M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.01M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.01M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  2.01M|    }
  512|  2.01M|}
longobject.c:Py_DECREF:
  418|  11.9M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  11.9M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  11.9M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 11.9M, False: 4.17k]
  |  |  ------------------
  ------------------
  422|  11.9M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  11.9M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  11.9M|        return;
  424|  11.9M|    }
  425|  4.17k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  4.17k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  4.17k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 3.89k, False: 282]
  ------------------
  427|  3.89k|        _Py_Dealloc(op);
  428|  3.89k|    }
  429|  4.17k|}
longobject.c:_Py_IsImmortal:
  127|  17.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|  17.7M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  17.7M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  17.7M|}
longobject.c:Py_XDECREF:
  518|  12.0M|{
  519|  12.0M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  12.0M|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 5.91M, False: 6.12M]
  ------------------
  520|  5.91M|        Py_DECREF(op);
  ------------------
  |  |  430|  5.91M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.91M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.91M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  5.91M|    }
  522|  12.0M|}
longobject.c:Py_INCREF:
  256|  15.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|  15.9M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  15.9M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 15.9M, False: 516]
  ------------------
  288|       |        // the object is immortal
  289|  15.9M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  15.9M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  15.9M|        return;
  291|  15.9M|    }
  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|  5.92M|{
  536|  5.92M|    Py_INCREF(obj);
  ------------------
  |  |  310|  5.92M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.92M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.92M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  5.92M|    return obj;
  538|  5.92M|}
dictobject.c:_Py_XNewRef:
  541|  18.0M|{
  542|  18.0M|    Py_XINCREF(obj);
  ------------------
  |  |  514|  18.0M|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  18.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  18.0M|    return obj;
  544|  18.0M|}
dictobject.c:Py_XINCREF:
  508|  18.0M|{
  509|  18.0M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  18.0M|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 10.1M, False: 7.88M]
  ------------------
  510|  10.1M|        Py_INCREF(op);
  ------------------
  |  |  310|  10.1M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  10.1M|    }
  512|  18.0M|}
dictobject.c:_Py_IsImmortal:
  127|  45.8M|{
  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|  45.8M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  45.8M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  45.8M|}
dictobject.c:Py_INCREF:
  256|  76.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|  76.6M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  76.6M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 19.3M, False: 57.3M]
  ------------------
  288|       |        // the object is immortal
  289|  19.3M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  19.3M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  19.3M|        return;
  291|  19.3M|    }
  292|  57.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|  57.3M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  57.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|  57.3M|#endif
  308|  57.3M|}
dictobject.c:Py_DECREF:
  418|  29.1M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  29.1M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  29.1M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  29.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  29.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 9.69M, False: 19.4M]
  |  |  ------------------
  ------------------
  422|  9.69M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  9.69M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  9.69M|        return;
  424|  9.69M|    }
  425|  19.4M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  19.4M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  19.4M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 1.39M, False: 18.0M]
  ------------------
  427|  1.39M|        _Py_Dealloc(op);
  428|  1.39M|    }
  429|  19.4M|}
dictobject.c:_Py_NewRef:
  535|  46.3M|{
  536|  46.3M|    Py_INCREF(obj);
  ------------------
  |  |  310|  46.3M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  46.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  46.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  46.3M|    return obj;
  538|  46.3M|}
dictobject.c:Py_XDECREF:
  518|  14.6M|{
  519|  14.6M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  14.6M|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 14.2M, False: 397k]
  ------------------
  520|  14.2M|        Py_DECREF(op);
  ------------------
  |  |  430|  14.2M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  14.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  14.2M|    }
  522|  14.6M|}
dictobject.c:Py_SET_REFCNT:
  154|  10.3M|static inline void Py_SET_REFCNT(PyObject *ob, Py_ssize_t refcnt) {
  155|  10.3M|    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|  10.3M|    if (_Py_IsImmortal(ob)) {
  ------------------
  |  |  137|  10.3M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 10.3M]
  |  |  ------------------
  ------------------
  167|      0|        return;
  168|      0|    }
  169|  10.3M|#ifndef Py_GIL_DISABLED
  170|  10.3M|#if SIZEOF_VOID_P > 4
  171|  10.3M|    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|  10.3M|#endif  // Py_LIMITED_API
  199|  10.3M|}
dictobject.c:_Py_REFCNT:
  105|  10.6M|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  10.6M|    #if !defined(Py_GIL_DISABLED)
  107|  10.6M|        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|  10.6M|    }
memoryobject.c:_Py_NewRef:
  535|  20.5k|{
  536|  20.5k|    Py_INCREF(obj);
  ------------------
  |  |  310|  20.5k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  20.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  20.5k|    return obj;
  538|  20.5k|}
memoryobject.c:Py_INCREF:
  256|  20.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|  20.5k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  20.5k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 20.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|  20.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|  20.5k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  20.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|  20.5k|#endif
  308|  20.5k|}
memoryobject.c:Py_DECREF:
  418|  20.5k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  20.5k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  20.5k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  20.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 6, False: 20.5k]
  |  |  ------------------
  ------------------
  422|      6|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      6|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      6|        return;
  424|      6|    }
  425|  20.5k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  20.5k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  20.5k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 8.31k, False: 12.2k]
  ------------------
  427|  8.31k|        _Py_Dealloc(op);
  428|  8.31k|    }
  429|  20.5k|}
memoryobject.c:_Py_IsImmortal:
  127|  20.5k|{
  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|  20.5k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  20.5k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  20.5k|}
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|   499k|{
  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|   499k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   499k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   499k|}
moduleobject.c:_Py_NewRef:
  535|  4.19k|{
  536|  4.19k|    Py_INCREF(obj);
  ------------------
  |  |  310|  4.19k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.19k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.19k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  4.19k|    return obj;
  538|  4.19k|}
moduleobject.c:Py_INCREF:
  256|  4.19k|{
  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.19k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  4.19k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 3.90k, False: 289]
  ------------------
  288|       |        // the object is immortal
  289|  3.90k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  3.90k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  3.90k|        return;
  291|  3.90k|    }
  292|    289|    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|    289|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    289|#  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|    289|#endif
  308|    289|}
moduleobject.c:Py_DECREF:
  418|   499k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   499k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   499k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   499k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   499k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 494k, False: 5.62k]
  |  |  ------------------
  ------------------
  422|   494k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|   494k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|   494k|        return;
  424|   494k|    }
  425|  5.62k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  5.62k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  5.62k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 3.44k, False: 2.18k]
  ------------------
  427|  3.44k|        _Py_Dealloc(op);
  428|  3.44k|    }
  429|  5.62k|}
moduleobject.c:Py_XDECREF:
  518|  11.1k|{
  519|  11.1k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  11.1k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 6.89k, False: 4.22k]
  ------------------
  520|  6.89k|        Py_DECREF(op);
  ------------------
  |  |  430|  6.89k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.89k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.89k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  6.89k|    }
  522|  11.1k|}
object.c:_Py_REFCNT:
  105|  6.65M|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  6.65M|    #if !defined(Py_GIL_DISABLED)
  107|  6.65M|        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.65M|    }
object.c:Py_XDECREF:
  518|   521k|{
  519|   521k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   521k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 14.3k, False: 507k]
  ------------------
  520|  14.3k|        Py_DECREF(op);
  ------------------
  |  |  430|  14.3k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  14.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  14.3k|    }
  522|   521k|}
object.c:Py_INCREF:
  256|  49.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|  49.9M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  49.9M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 33.1M, False: 16.8M]
  ------------------
  288|       |        // the object is immortal
  289|  33.1M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  33.1M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  33.1M|        return;
  291|  33.1M|    }
  292|  16.8M|    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.8M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  16.8M|#  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.8M|#endif
  308|  16.8M|}
object.c:Py_DECREF:
  418|  52.6M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  52.6M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  52.6M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  52.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  52.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 35.8M, False: 16.8M]
  |  |  ------------------
  ------------------
  422|  35.8M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  35.8M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  35.8M|        return;
  424|  35.8M|    }
  425|  16.8M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  16.8M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  16.8M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 196, False: 16.8M]
  ------------------
  427|    196|        _Py_Dealloc(op);
  428|    196|    }
  429|  16.8M|}
object.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|}
object.c:_Py_IsImmortal:
  127|  57.1M|{
  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|  57.1M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  57.1M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  57.1M|}
object.c:Py_SET_REFCNT:
  154|  4.43M|static inline void Py_SET_REFCNT(PyObject *ob, Py_ssize_t refcnt) {
  155|  4.43M|    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|  4.43M|    if (_Py_IsImmortal(ob)) {
  ------------------
  |  |  137|  4.43M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.43M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.43M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 4.43M]
  |  |  ------------------
  ------------------
  167|      0|        return;
  168|      0|    }
  169|  4.43M|#ifndef Py_GIL_DISABLED
  170|  4.43M|#if SIZEOF_VOID_P > 4
  171|  4.43M|    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|  4.43M|#endif  // Py_LIMITED_API
  199|  4.43M|}
rangeobject.c:Py_DECREF:
  418|   201k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   201k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   201k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   201k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   201k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 200k, False: 90]
  |  |  ------------------
  ------------------
  422|   200k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|   200k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|   200k|        return;
  424|   200k|    }
  425|     90|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     90|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     90|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 82, False: 8]
  ------------------
  427|     82|        _Py_Dealloc(op);
  428|     82|    }
  429|     90|}
rangeobject.c:_Py_IsImmortal:
  127|   201k|{
  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|   201k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   201k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   201k|}
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|      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: 6, False: 0]
  |  |  ------------------
  ------------------
  422|      6|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      6|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      6|        return;
  424|      6|    }
  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|      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|}
sentinelobject.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|}
sentinelobject.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: 18, False: 0]
  ------------------
  288|       |        // the object is immortal
  289|     18|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     18|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     18|        return;
  291|     18|    }
  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|}
setobject.c:Py_DECREF:
  418|   882k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   882k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   882k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   882k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   882k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 158k, False: 723k]
  |  |  ------------------
  ------------------
  422|   158k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|   158k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|   158k|        return;
  424|   158k|    }
  425|   723k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   723k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   723k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 62.9k, False: 660k]
  ------------------
  427|  62.9k|        _Py_Dealloc(op);
  428|  62.9k|    }
  429|   723k|}
setobject.c:_Py_IsImmortal:
  127|   882k|{
  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|   882k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   882k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   882k|}
setobject.c:Py_INCREF:
  256|   693k|{
  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|   693k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|   693k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 153k, False: 539k]
  ------------------
  288|       |        // the object is immortal
  289|   153k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|   153k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|   153k|        return;
  291|   153k|    }
  292|   539k|    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|   539k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|   539k|#  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|   539k|#endif
  308|   539k|}
setobject.c:Py_XDECREF:
  518|  8.09k|{
  519|  8.09k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  8.09k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 2, False: 8.09k]
  ------------------
  520|      2|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|      2|    }
  522|  8.09k|}
setobject.c:_Py_REFCNT:
  105|    858|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|    858|    #if !defined(Py_GIL_DISABLED)
  107|    858|        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|    858|    }
setobject.c:_Py_NewRef:
  535|   569k|{
  536|   569k|    Py_INCREF(obj);
  ------------------
  |  |  310|   569k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   569k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   569k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|   569k|    return obj;
  538|   569k|}
sliceobject.c:_Py_NewRef:
  535|  22.6M|{
  536|  22.6M|    Py_INCREF(obj);
  ------------------
  |  |  310|  22.6M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  22.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  22.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  22.6M|    return obj;
  538|  22.6M|}
sliceobject.c:Py_INCREF:
  256|  22.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|  22.6M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  22.6M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 8.38M, False: 14.2M]
  ------------------
  288|       |        // the object is immortal
  289|  8.38M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  8.38M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  8.38M|        return;
  291|  8.38M|    }
  292|  14.2M|    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|  14.2M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  14.2M|#  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|  14.2M|#endif
  308|  14.2M|}
sliceobject.c:Py_DECREF:
  418|  22.6M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  22.6M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  22.6M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  22.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  22.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 8.40M, False: 14.2M]
  |  |  ------------------
  ------------------
  422|  8.40M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  8.40M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  8.40M|        return;
  424|  8.40M|    }
  425|  14.2M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  14.2M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  14.2M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 28, False: 14.2M]
  ------------------
  427|     28|        _Py_Dealloc(op);
  428|     28|    }
  429|  14.2M|}
sliceobject.c:_Py_IsImmortal:
  127|  22.6M|{
  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.6M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  22.6M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  22.6M|}
structseq.c:Py_INCREF:
  256|   130k|{
  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|   130k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|   130k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 118k, False: 11.8k]
  ------------------
  288|       |        // the object is immortal
  289|   118k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|   118k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|   118k|        return;
  291|   118k|    }
  292|  11.8k|    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|  11.8k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  11.8k|#  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|  11.8k|#endif
  308|  11.8k|}
structseq.c:Py_XDECREF:
  518|   627k|{
  519|   627k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   627k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 627k, False: 0]
  ------------------
  520|   627k|        Py_DECREF(op);
  ------------------
  |  |  430|   627k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   627k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   627k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|   627k|    }
  522|   627k|}
structseq.c:_Py_NewRef:
  535|   130k|{
  536|   130k|    Py_INCREF(obj);
  ------------------
  |  |  310|   130k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   130k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   130k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|   130k|    return obj;
  538|   130k|}
structseq.c:Py_DECREF:
  418|   677k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   677k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   677k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   677k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   677k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 249k, False: 428k]
  |  |  ------------------
  ------------------
  422|   249k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|   249k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|   249k|        return;
  424|   249k|    }
  425|   428k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   428k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   428k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 340k, False: 87.4k]
  ------------------
  427|   340k|        _Py_Dealloc(op);
  428|   340k|    }
  429|   428k|}
structseq.c:_Py_IsImmortal:
  127|   677k|{
  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|   677k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   677k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   677k|}
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.51k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  3.51k|    #if !defined(Py_GIL_DISABLED)
  107|  3.51k|        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.51k|    }
tupleobject.c:Py_XDECREF:
  518|  63.1M|{
  519|  63.1M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  63.1M|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 62.8M, False: 287k]
  ------------------
  520|  62.8M|        Py_DECREF(op);
  ------------------
  |  |  430|  62.8M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  62.8M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  62.8M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  62.8M|    }
  522|  63.1M|}
tupleobject.c:_Py_NewRef:
  535|  41.8M|{
  536|  41.8M|    Py_INCREF(obj);
  ------------------
  |  |  310|  41.8M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  41.8M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.8M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  41.8M|    return obj;
  538|  41.8M|}
tupleobject.c:Py_INCREF:
  256|  41.8M|{
  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.8M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  41.8M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 10.9M, False: 30.9M]
  ------------------
  288|       |        // the object is immortal
  289|  10.9M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  10.9M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  10.9M|        return;
  291|  10.9M|    }
  292|  30.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|  30.9M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  30.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|  30.9M|#endif
  308|  30.9M|}
tupleobject.c:Py_DECREF:
  418|  62.9M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  62.9M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  62.9M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  62.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  62.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 15.7M, False: 47.1M]
  |  |  ------------------
  ------------------
  422|  15.7M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  15.7M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  15.7M|        return;
  424|  15.7M|    }
  425|  47.1M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  47.1M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  47.1M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 11.8M, False: 35.2M]
  ------------------
  427|  11.8M|        _Py_Dealloc(op);
  428|  11.8M|    }
  429|  47.1M|}
tupleobject.c:_Py_IsImmortal:
  127|  62.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|  62.9M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  62.9M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  62.9M|}
typeobject.c:_Py_NewRef:
  535|  9.30M|{
  536|  9.30M|    Py_INCREF(obj);
  ------------------
  |  |  310|  9.30M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.30M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.30M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  9.30M|    return obj;
  538|  9.30M|}
typeobject.c:_Py_XNewRef:
  541|  3.84k|{
  542|  3.84k|    Py_XINCREF(obj);
  ------------------
  |  |  514|  3.84k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.84k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.84k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  3.84k|    return obj;
  544|  3.84k|}
typeobject.c:Py_XINCREF:
  508|  6.26k|{
  509|  6.26k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  6.26k|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 3.13k, False: 3.13k]
  ------------------
  510|  3.13k|        Py_INCREF(op);
  ------------------
  |  |  310|  3.13k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.13k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  3.13k|    }
  512|  6.26k|}
typeobject.c:Py_INCREF:
  256|  20.0M|{
  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.0M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  20.0M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 15.3M, False: 4.66M]
  ------------------
  288|       |        // the object is immortal
  289|  15.3M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  15.3M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  15.3M|        return;
  291|  15.3M|    }
  292|  4.66M|    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.66M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  4.66M|#  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.66M|#endif
  308|  4.66M|}
typeobject.c:Py_DECREF:
  418|  14.5M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  14.5M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  14.5M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  14.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 1.70M, False: 12.8M]
  |  |  ------------------
  ------------------
  422|  1.70M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  1.70M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  1.70M|        return;
  424|  1.70M|    }
  425|  12.8M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  12.8M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  12.8M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 3.01M, False: 9.80M]
  ------------------
  427|  3.01M|        _Py_Dealloc(op);
  428|  3.01M|    }
  429|  12.8M|}
typeobject.c:_Py_IsImmortal:
  127|  50.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|  50.7M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  50.7M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  50.7M|}
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|  4.35M|{
  519|  4.35M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  4.35M|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 4.26M, False: 86.2k]
  ------------------
  520|  4.26M|        Py_DECREF(op);
  ------------------
  |  |  430|  4.26M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.26M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.26M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  4.26M|    }
  522|  4.35M|}
typevarobject.c:Py_XDECREF:
  518|    218|{
  519|    218|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    218|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 158, False: 60]
  ------------------
  520|    158|        Py_DECREF(op);
  ------------------
  |  |  430|    158|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    158|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    158|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|    158|    }
  522|    218|}
typevarobject.c:Py_DECREF:
  418|   117k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   117k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   117k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   117k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   117k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 128, False: 117k]
  |  |  ------------------
  ------------------
  422|    128|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    128|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    128|        return;
  424|    128|    }
  425|   117k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   117k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   117k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 374, False: 117k]
  ------------------
  427|    374|        _Py_Dealloc(op);
  428|    374|    }
  429|   117k|}
typevarobject.c:_Py_IsImmortal:
  127|   117k|{
  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|   117k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   117k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   117k|}
typevarobject.c:_Py_XNewRef:
  541|    402|{
  542|    402|    Py_XINCREF(obj);
  ------------------
  |  |  514|    402|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    402|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    402|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|    402|    return obj;
  544|    402|}
typevarobject.c:Py_XINCREF:
  508|    402|{
  509|    402|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    402|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 86, False: 316]
  ------------------
  510|     86|        Py_INCREF(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|     86|    }
  512|    402|}
typevarobject.c:Py_INCREF:
  256|    944|{
  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|    944|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    944|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 286, False: 658]
  ------------------
  288|       |        // the object is immortal
  289|    286|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|    286|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|    286|        return;
  291|    286|    }
  292|    658|    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|    658|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    658|#  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|    658|#endif
  308|    658|}
typevarobject.c:_Py_NewRef:
  535|    858|{
  536|    858|    Py_INCREF(obj);
  ------------------
  |  |  310|    858|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    858|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    858|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|    858|    return obj;
  538|    858|}
unicode_format.c:_Py_REFCNT:
  105|    512|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|    512|    #if !defined(Py_GIL_DISABLED)
  107|    512|        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|    512|    }
unicode_format.c:Py_DECREF:
  418|  10.5k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  10.5k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  10.5k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 710, False: 9.86k]
  |  |  ------------------
  ------------------
  422|    710|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    710|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    710|        return;
  424|    710|    }
  425|  9.86k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  9.86k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  9.86k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 5.31k, False: 4.54k]
  ------------------
  427|  5.31k|        _Py_Dealloc(op);
  428|  5.31k|    }
  429|  9.86k|}
unicode_format.c:_Py_IsImmortal:
  127|  10.5k|{
  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.5k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  10.5k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  10.5k|}
unicode_format.c:_Py_NewRef:
  535|  5.20k|{
  536|  5.20k|    Py_INCREF(obj);
  ------------------
  |  |  310|  5.20k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.20k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.20k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  5.20k|    return obj;
  538|  5.20k|}
unicode_format.c:Py_INCREF:
  256|  5.20k|{
  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.20k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  5.20k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 678, False: 4.52k]
  ------------------
  288|       |        // the object is immortal
  289|    678|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|    678|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|    678|        return;
  291|    678|    }
  292|  4.52k|    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.52k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  4.52k|#  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.52k|#endif
  308|  4.52k|}
unicode_format.c:Py_XDECREF:
  518|  9.51k|{
  519|  9.51k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  9.51k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 20, False: 9.49k]
  ------------------
  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|  9.51k|}
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|  43.3k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  43.3k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  43.3k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  43.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  43.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 43.3k]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|  43.3k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  43.3k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  43.3k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 43.3k, False: 0]
  ------------------
  427|  43.3k|        _Py_Dealloc(op);
  428|  43.3k|    }
  429|  43.3k|}
unicode_writer.c:_Py_IsImmortal:
  127|  43.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|  43.3k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  43.3k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  43.3k|}
unicode_writer.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|}
unicode_writer.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|}
unicodeobject.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: 2.28M, False: 1.31M]
  |  |  ------------------
  ------------------
  422|  2.28M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  2.28M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  2.28M|        return;
  424|  2.28M|    }
  425|  1.31M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.31M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.31M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 744k, False: 565k]
  ------------------
  427|   744k|        _Py_Dealloc(op);
  428|   744k|    }
  429|  1.31M|}
unicodeobject.c:_Py_IsImmortal:
  127|  4.63M|{
  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.63M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  4.63M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  4.63M|}
unicodeobject.c:_Py_REFCNT:
  105|  1.14M|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  1.14M|    #if !defined(Py_GIL_DISABLED)
  107|  1.14M|        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.14M|    }
unicodeobject.c:_Py_NewRef:
  535|   473k|{
  536|   473k|    Py_INCREF(obj);
  ------------------
  |  |  310|   473k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   473k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   473k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|   473k|    return obj;
  538|   473k|}
unicodeobject.c:Py_XDECREF:
  518|  4.73M|{
  519|  4.73M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  4.73M|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 2.32M, False: 2.41M]
  ------------------
  520|  2.32M|        Py_DECREF(op);
  ------------------
  |  |  430|  2.32M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.32M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.32M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  2.32M|    }
  522|  4.73M|}
unicodeobject.c:Py_INCREF:
  256|  13.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|  13.2M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  13.2M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 13.0M, False: 235k]
  ------------------
  288|       |        // the object is immortal
  289|  13.0M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  13.0M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  13.0M|        return;
  291|  13.0M|    }
  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|}
unicodeobject.c:Py_SET_REFCNT:
  154|  16.2k|static inline void Py_SET_REFCNT(PyObject *ob, Py_ssize_t refcnt) {
  155|  16.2k|    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|  16.2k|    if (_Py_IsImmortal(ob)) {
  ------------------
  |  |  137|  16.2k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  16.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 16.2k]
  |  |  ------------------
  ------------------
  167|      0|        return;
  168|      0|    }
  169|  16.2k|#ifndef Py_GIL_DISABLED
  170|  16.2k|#if SIZEOF_VOID_P > 4
  171|  16.2k|    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|  16.2k|#endif  // Py_LIMITED_API
  199|  16.2k|}
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|  1.13M|{
  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.13M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  1.13M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 53.1k, False: 1.07M]
  ------------------
  288|       |        // the object is immortal
  289|  53.1k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  53.1k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  53.1k|        return;
  291|  53.1k|    }
  292|  1.07M|    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.07M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  1.07M|#  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.07M|#endif
  308|  1.07M|}
weakrefobject.c:_Py_XNewRef:
  541|   374k|{
  542|   374k|    Py_XINCREF(obj);
  ------------------
  |  |  514|   374k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   374k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   374k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|   374k|    return obj;
  544|   374k|}
weakrefobject.c:Py_XINCREF:
  508|   374k|{
  509|   374k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   374k|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 238k, False: 135k]
  ------------------
  510|   238k|        Py_INCREF(op);
  ------------------
  |  |  310|   238k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   238k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   238k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|   238k|    }
  512|   374k|}
weakrefobject.c:Py_DECREF:
  418|   912k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   912k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   912k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   912k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   912k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 69.3k, False: 843k]
  |  |  ------------------
  ------------------
  422|  69.3k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  69.3k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  69.3k|        return;
  424|  69.3k|    }
  425|   843k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   843k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   843k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 16.3k, False: 827k]
  ------------------
  427|  16.3k|        _Py_Dealloc(op);
  428|  16.3k|    }
  429|   843k|}
weakrefobject.c:_Py_IsImmortal:
  127|   912k|{
  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|   912k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   912k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   912k|}
weakrefobject.c:_Py_REFCNT:
  105|  1.20M|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  1.20M|    #if !defined(Py_GIL_DISABLED)
  107|  1.20M|        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.20M|    }
weakrefobject.c:Py_XDECREF:
  518|   386k|{
  519|   386k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   386k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 222k, False: 164k]
  ------------------
  520|   222k|        Py_DECREF(op);
  ------------------
  |  |  430|   222k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   222k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   222k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|   222k|    }
  522|   386k|}
_warnings.c:_Py_NewRef:
  535|  12.9k|{
  536|  12.9k|    Py_INCREF(obj);
  ------------------
  |  |  310|  12.9k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  12.9k|    return obj;
  538|  12.9k|}
_warnings.c:Py_INCREF:
  256|  38.7k|{
  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|  38.7k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  38.7k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 12.9k, False: 25.8k]
  ------------------
  288|       |        // the object is immortal
  289|  12.9k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  12.9k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  12.9k|        return;
  291|  12.9k|    }
  292|  25.8k|    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|  25.8k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  25.8k|#  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|  25.8k|#endif
  308|  25.8k|}
_warnings.c:Py_DECREF:
  418|   137k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   137k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   137k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   137k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   137k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 21.5k, False: 116k]
  |  |  ------------------
  ------------------
  422|  21.5k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  21.5k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  21.5k|        return;
  424|  21.5k|    }
  425|   116k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   116k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   116k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 8.60k, False: 107k]
  ------------------
  427|  8.60k|        _Py_Dealloc(op);
  428|  8.60k|    }
  429|   116k|}
_warnings.c:_Py_IsImmortal:
  127|   137k|{
  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|   137k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   137k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   137k|}
_warnings.c:Py_XDECREF:
  518|  25.8k|{
  519|  25.8k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  25.8k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 25.8k, False: 1]
  ------------------
  520|  25.8k|        Py_DECREF(op);
  ------------------
  |  |  430|  25.8k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  25.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  25.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  25.8k|    }
  522|  25.8k|}
bltinmodule.c:Py_XDECREF:
  518|  4.48M|{
  519|  4.48M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  4.48M|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 74.1k, False: 4.41M]
  ------------------
  520|  74.1k|        Py_DECREF(op);
  ------------------
  |  |  430|  74.1k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  74.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  74.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  74.1k|    }
  522|  4.48M|}
bltinmodule.c:_Py_NewRef:
  535|  8.82M|{
  536|  8.82M|    Py_INCREF(obj);
  ------------------
  |  |  310|  8.82M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.82M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.82M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  8.82M|    return obj;
  538|  8.82M|}
bltinmodule.c:Py_INCREF:
  256|  17.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|  17.5M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  17.5M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 8.56M, False: 9.03M]
  ------------------
  288|       |        // the object is immortal
  289|  8.56M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  8.56M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  8.56M|        return;
  291|  8.56M|    }
  292|  9.03M|    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|  9.03M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  9.03M|#  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|  9.03M|#endif
  308|  9.03M|}
bltinmodule.c:_Py_REFCNT:
  105|  1.67k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  1.67k|    #if !defined(Py_GIL_DISABLED)
  107|  1.67k|        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.67k|    }
bltinmodule.c:_Py_XNewRef:
  541|    370|{
  542|    370|    Py_XINCREF(obj);
  ------------------
  |  |  514|    370|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    370|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    370|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|    370|    return obj;
  544|    370|}
bltinmodule.c:Py_XINCREF:
  508|    370|{
  509|    370|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    370|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 370, False: 0]
  ------------------
  510|    370|        Py_INCREF(op);
  ------------------
  |  |  310|    370|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    370|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    370|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|    370|    }
  512|    370|}
bltinmodule.c:_Py_IsImmortal:
  127|  18.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|  18.2M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  18.2M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  18.2M|}
bltinmodule.c:Py_DECREF:
  418|  18.2M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  18.2M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  18.2M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  18.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 8.82M, False: 9.40M]
  |  |  ------------------
  ------------------
  422|  8.82M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  8.82M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  8.82M|        return;
  424|  8.82M|    }
  425|  9.40M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  9.40M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  9.40M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 2.11M, False: 7.29M]
  ------------------
  427|  2.11M|        _Py_Dealloc(op);
  428|  2.11M|    }
  429|  9.40M|}
ceval.c:_Py_IsImmortal:
  127|   493M|{
  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|   493M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   493M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   493M|}
ceval.c:_Py_NewRef:
  535|  15.1M|{
  536|  15.1M|    Py_INCREF(obj);
  ------------------
  |  |  310|  15.1M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  15.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  15.1M|    return obj;
  538|  15.1M|}
ceval.c:Py_INCREF:
  256|  31.1M|{
  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|  31.1M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  31.1M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 12.3M, False: 18.7M]
  ------------------
  288|       |        // the object is immortal
  289|  12.3M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  12.3M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  12.3M|        return;
  291|  12.3M|    }
  292|  18.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|  18.7M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  18.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|  18.7M|#endif
  308|  18.7M|}
ceval.c:Py_XDECREF:
  518|  2.35M|{
  519|  2.35M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  2.35M|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 38.9k, False: 2.31M]
  ------------------
  520|  38.9k|        Py_DECREF(op);
  ------------------
  |  |  430|  38.9k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  38.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  38.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  38.9k|    }
  522|  2.35M|}
ceval.c:Py_DECREF:
  418|  38.9k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  38.9k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  38.9k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  38.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  38.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 48, False: 38.9k]
  |  |  ------------------
  ------------------
  422|     48|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     48|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     48|        return;
  424|     48|    }
  425|  38.9k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  38.9k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  38.9k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 124, False: 38.7k]
  ------------------
  427|    124|        _Py_Dealloc(op);
  428|    124|    }
  429|  38.9k|}
ceval.c:Py_XINCREF:
  508|  15.3M|{
  509|  15.3M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  15.3M|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 10.9M, False: 4.39M]
  ------------------
  510|  10.9M|        Py_INCREF(op);
  ------------------
  |  |  310|  10.9M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  10.9M|    }
  512|  15.3M|}
ceval.c:_Py_XNewRef:
  541|  10.9M|{
  542|  10.9M|    Py_XINCREF(obj);
  ------------------
  |  |  514|  10.9M|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  10.9M|    return obj;
  544|  10.9M|}
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|  45.3k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  45.3k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  45.3k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  45.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  45.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 39.7k, False: 5.61k]
  |  |  ------------------
  ------------------
  422|  39.7k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  39.7k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  39.7k|        return;
  424|  39.7k|    }
  425|  5.61k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  5.61k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  5.61k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 238, False: 5.37k]
  ------------------
  427|    238|        _Py_Dealloc(op);
  428|    238|    }
  429|  5.61k|}
codegen.c:_Py_IsImmortal:
  127|  45.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|  45.3k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  45.3k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  45.3k|}
codegen.c:_Py_NewRef:
  535|    910|{
  536|    910|    Py_INCREF(obj);
  ------------------
  |  |  310|    910|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    910|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    910|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|    910|    return obj;
  538|    910|}
codegen.c:Py_INCREF:
  256|    926|{
  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|    926|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    926|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 926, False: 0]
  ------------------
  288|       |        // the object is immortal
  289|    926|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|    926|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|    926|        return;
  291|    926|    }
  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|   171k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   171k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   171k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   171k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   171k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 82.6k, False: 88.7k]
  |  |  ------------------
  ------------------
  422|  82.6k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  82.6k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  82.6k|        return;
  424|  82.6k|    }
  425|  88.7k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  88.7k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  88.7k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 33.0k, False: 55.7k]
  ------------------
  427|  33.0k|        _Py_Dealloc(op);
  428|  33.0k|    }
  429|  88.7k|}
compile.c:_Py_IsImmortal:
  127|   171k|{
  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|   171k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   171k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   171k|}
compile.c:_Py_NewRef:
  535|  30.0k|{
  536|  30.0k|    Py_INCREF(obj);
  ------------------
  |  |  310|  30.0k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  30.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  30.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  30.0k|    return obj;
  538|  30.0k|}
compile.c:Py_XDECREF:
  518|  8.74k|{
  519|  8.74k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  8.74k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 3.49k, False: 5.25k]
  ------------------
  520|  3.49k|        Py_DECREF(op);
  ------------------
  |  |  430|  3.49k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.49k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.49k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  3.49k|    }
  522|  8.74k|}
compile.c:_Py_XNewRef:
  541|  3.37k|{
  542|  3.37k|    Py_XINCREF(obj);
  ------------------
  |  |  514|  3.37k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.37k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  3.37k|    return obj;
  544|  3.37k|}
compile.c:Py_XINCREF:
  508|  3.37k|{
  509|  3.37k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  3.37k|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 1.60k, False: 1.76k]
  ------------------
  510|  1.60k|        Py_INCREF(op);
  ------------------
  |  |  310|  1.60k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.60k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.60k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  1.60k|    }
  512|  3.37k|}
compile.c:Py_INCREF:
  256|  31.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|  31.6k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  31.6k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 13.1k, False: 18.5k]
  ------------------
  288|       |        // the object is immortal
  289|  13.1k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  13.1k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  13.1k|        return;
  291|  13.1k|    }
  292|  18.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|  18.5k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  18.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|  18.5k|#endif
  308|  18.5k|}
context.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|}
context.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|}
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|  4.31k|{
  509|  4.31k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  4.31k|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 0, False: 4.31k]
  ------------------
  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.31k|}
context.c:_Py_XNewRef:
  541|      8|{
  542|      8|    Py_XINCREF(obj);
  ------------------
  |  |  514|      8|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|      8|    return obj;
  544|      8|}
errors.c:Py_XDECREF:
  518|  12.4M|{
  519|  12.4M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  12.4M|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 1.21M, False: 11.2M]
  ------------------
  520|  1.21M|        Py_DECREF(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  1.21M|    }
  522|  12.4M|}
errors.c:Py_DECREF:
  418|  4.16M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  4.16M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  4.16M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.16M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.16M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 1.45M, False: 2.70M]
  |  |  ------------------
  ------------------
  422|  1.45M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  1.45M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  1.45M|        return;
  424|  1.45M|    }
  425|  2.70M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  2.70M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  2.70M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 74.1k, False: 2.63M]
  ------------------
  427|  74.1k|        _Py_Dealloc(op);
  428|  74.1k|    }
  429|  2.70M|}
errors.c:_Py_IsImmortal:
  127|  4.16M|{
  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.16M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  4.16M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  4.16M|}
errors.c:Py_XINCREF:
  508|  1.43M|{
  509|  1.43M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  1.43M|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 1.43M, False: 975]
  ------------------
  510|  1.43M|        Py_INCREF(op);
  ------------------
  |  |  310|  1.43M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.43M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.43M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  1.43M|    }
  512|  1.43M|}
errors.c:Py_INCREF:
  256|  3.25M|{
  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.25M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  3.25M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 1.45M, False: 1.79M]
  ------------------
  288|       |        // the object is immortal
  289|  1.45M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  1.45M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  1.45M|        return;
  291|  1.45M|    }
  292|  1.79M|    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.79M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  1.79M|#  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.79M|#endif
  308|  1.79M|}
errors.c:_Py_NewRef:
  535|  1.45M|{
  536|  1.45M|    Py_INCREF(obj);
  ------------------
  |  |  310|  1.45M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.45M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.45M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  1.45M|    return obj;
  538|  1.45M|}
flowgraph.c:_Py_NewRef:
  535|  29.2k|{
  536|  29.2k|    Py_INCREF(obj);
  ------------------
  |  |  310|  29.2k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  29.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  29.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  29.2k|    return obj;
  538|  29.2k|}
flowgraph.c:Py_INCREF:
  256|  29.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|  29.2k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  29.2k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 14.3k, False: 14.8k]
  ------------------
  288|       |        // the object is immortal
  289|  14.3k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  14.3k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  14.3k|        return;
  291|  14.3k|    }
  292|  14.8k|    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|  14.8k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  14.8k|#  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|  14.8k|#endif
  308|  14.8k|}
flowgraph.c:Py_DECREF:
  418|  24.9k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  24.9k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  24.9k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  24.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 13.2k, False: 11.7k]
  |  |  ------------------
  ------------------
  422|  13.2k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  13.2k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  13.2k|        return;
  424|  13.2k|    }
  425|  11.7k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  11.7k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  11.7k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 60, False: 11.6k]
  ------------------
  427|     60|        _Py_Dealloc(op);
  428|     60|    }
  429|  11.7k|}
flowgraph.c:_Py_IsImmortal:
  127|  24.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|  24.9k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  24.9k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  24.9k|}
frame.c:Py_DECREF:
  418|  1.73M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  1.73M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  1.73M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.73M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.73M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 1.73M]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|  1.73M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.73M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.73M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 1.00M, False: 731k]
  ------------------
  427|  1.00M|        _Py_Dealloc(op);
  428|  1.00M|    }
  429|  1.73M|}
frame.c:_Py_IsImmortal:
  127|  2.73M|{
  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.73M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  2.73M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  2.73M|}
frame.c:_Py_REFCNT:
  105|  1.73M|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  1.73M|    #if !defined(Py_GIL_DISABLED)
  107|  1.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|  1.73M|    }
frame.c:Py_INCREF:
  256|  1.40M|{
  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.40M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  1.40M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 1.40M]
  ------------------
  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.40M|    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.40M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  1.40M|#  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.40M|#endif
  308|  1.40M|}
frame.c:_Py_NewRef:
  535|   709k|{
  536|   709k|    Py_INCREF(obj);
  ------------------
  |  |  310|   709k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   709k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   709k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|   709k|    return obj;
  538|   709k|}
gc.c:Py_DECREF:
  418|  1.60M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  1.60M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  1.60M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.60M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.60M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 16.1k, False: 1.58M]
  |  |  ------------------
  ------------------
  422|  16.1k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  16.1k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  16.1k|        return;
  424|  16.1k|    }
  425|  1.58M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.58M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.58M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 201k, False: 1.38M]
  ------------------
  427|   201k|        _Py_Dealloc(op);
  428|   201k|    }
  429|  1.58M|}
gc.c:_Py_IsImmortal:
  127|  8.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|  8.83M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  8.83M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  8.83M|}
gc.c:Py_INCREF:
  256|  19.8M|{
  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|  19.8M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  19.8M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 18.2M, False: 1.61M]
  ------------------
  288|       |        // the object is immortal
  289|  18.2M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  18.2M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  18.2M|        return;
  291|  18.2M|    }
  292|  1.61M|    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.61M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  1.61M|#  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.61M|#endif
  308|  1.61M|}
gc.c:_Py_REFCNT:
  105|  7.23M|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  7.23M|    #if !defined(Py_GIL_DISABLED)
  107|  7.23M|        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|  7.23M|    }
gc.c:Py_XDECREF:
  518|  4.04k|{
  519|  4.04k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  4.04k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 2.79k, False: 1.25k]
  ------------------
  520|  2.79k|        Py_DECREF(op);
  ------------------
  |  |  430|  2.79k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.79k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.79k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  2.79k|    }
  522|  4.04k|}
getargs.c:_Py_NewRef:
  535|   174k|{
  536|   174k|    Py_INCREF(obj);
  ------------------
  |  |  310|   174k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   174k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   174k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|   174k|    return obj;
  538|   174k|}
getargs.c:Py_INCREF:
  256|   174k|{
  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|   174k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|   174k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 145k, False: 28.6k]
  ------------------
  288|       |        // the object is immortal
  289|   145k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|   145k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|   145k|        return;
  291|   145k|    }
  292|  28.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|  28.6k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  28.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|  28.6k|#endif
  308|  28.6k|}
getargs.c:Py_DECREF:
  418|   269k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   269k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   269k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   269k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   269k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 219k, False: 50.0k]
  |  |  ------------------
  ------------------
  422|   219k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|   219k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|   219k|        return;
  424|   219k|    }
  425|  50.0k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  50.0k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  50.0k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 50.0k]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|  50.0k|}
getargs.c:_Py_IsImmortal:
  127|   269k|{
  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|   269k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   269k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   269k|}
import.c:Py_INCREF:
  256|  2.01M|{
  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.01M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  2.01M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 471k, False: 1.54M]
  ------------------
  288|       |        // the object is immortal
  289|   471k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|   471k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|   471k|        return;
  291|   471k|    }
  292|  1.54M|    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.54M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  1.54M|#  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.54M|#endif
  308|  1.54M|}
import.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: 472k, False: 2.69M]
  |  |  ------------------
  ------------------
  422|   472k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|   472k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|   472k|        return;
  424|   472k|    }
  425|  2.69M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  2.69M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  2.69M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 37.6k, False: 2.65M]
  ------------------
  427|  37.6k|        _Py_Dealloc(op);
  428|  37.6k|    }
  429|  2.69M|}
import.c:_Py_IsImmortal:
  127|  3.16M|{
  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.16M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  3.16M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  3.16M|}
import.c:Py_XDECREF:
  518|  1.09M|{
  519|  1.09M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  1.09M|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 1.07M, False: 14.7k]
  ------------------
  520|  1.07M|        Py_DECREF(op);
  ------------------
  |  |  430|  1.07M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.07M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.07M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  1.07M|    }
  522|  1.09M|}
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|  24.2k|{
  509|  24.2k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  24.2k|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 20.6k, False: 3.51k]
  ------------------
  510|  20.6k|        Py_INCREF(op);
  ------------------
  |  |  310|  20.6k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  20.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  20.6k|    }
  512|  24.2k|}
import.c:_Py_NewRef:
  535|   959k|{
  536|   959k|    Py_INCREF(obj);
  ------------------
  |  |  310|   959k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   959k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   959k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|   959k|    return obj;
  538|   959k|}
import.c:_Py_XNewRef:
  541|  24.2k|{
  542|  24.2k|    Py_XINCREF(obj);
  ------------------
  |  |  514|  24.2k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  24.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  24.2k|    return obj;
  544|  24.2k|}
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|  4.87k|{
  519|  4.87k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  4.87k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 0, False: 4.87k]
  ------------------
  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.87k|}
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|  19.9k|{
  536|  19.9k|    Py_INCREF(obj);
  ------------------
  |  |  310|  19.9k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  19.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  19.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  19.9k|    return obj;
  538|  19.9k|}
intrinsics.c:Py_INCREF:
  256|  19.9k|{
  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|  19.9k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  19.9k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 19.9k]
  ------------------
  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|  19.9k|    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|  19.9k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  19.9k|#  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|  19.9k|#endif
  308|  19.9k|}
marshal.c:Py_XDECREF:
  518|   804k|{
  519|   804k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   804k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 804k, False: 0]
  ------------------
  520|   804k|        Py_DECREF(op);
  ------------------
  |  |  430|   804k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   804k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   804k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|   804k|    }
  522|   804k|}
marshal.c:_Py_REFCNT:
  105|  41.7k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  41.7k|    #if !defined(Py_GIL_DISABLED)
  107|  41.7k|        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|  41.7k|    }
marshal.c:_Py_NewRef:
  535|   879k|{
  536|   879k|    Py_INCREF(obj);
  ------------------
  |  |  310|   879k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   879k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   879k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|   879k|    return obj;
  538|   879k|}
marshal.c:Py_INCREF:
  256|   879k|{
  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|   879k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|   879k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 810k, False: 68.5k]
  ------------------
  288|       |        // the object is immortal
  289|   810k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|   810k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|   810k|        return;
  291|   810k|    }
  292|  68.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|  68.5k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  68.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|  68.5k|#endif
  308|  68.5k|}
marshal.c:Py_DECREF:
  418|   813k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   813k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   813k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   813k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   813k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 336k, False: 477k]
  |  |  ------------------
  ------------------
  422|   336k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|   336k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|   336k|        return;
  424|   336k|    }
  425|   477k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   477k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   477k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 3.94k, False: 473k]
  ------------------
  427|  3.94k|        _Py_Dealloc(op);
  428|  3.94k|    }
  429|   477k|}
marshal.c:_Py_IsImmortal:
  127|   813k|{
  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|   813k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   813k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   813k|}
modsupport.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|}
modsupport.c:Py_INCREF:
  256|   245k|{
  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|   245k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|   245k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 14.3k, False: 231k]
  ------------------
  288|       |        // the object is immortal
  289|  14.3k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  14.3k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  14.3k|        return;
  291|  14.3k|    }
  292|   231k|    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|   231k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|   231k|#  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|   231k|#endif
  308|   231k|}
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|  32.0k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  32.0k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  32.0k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  32.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  32.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 11.3k, False: 20.6k]
  |  |  ------------------
  ------------------
  422|  11.3k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  11.3k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  11.3k|        return;
  424|  11.3k|    }
  425|  20.6k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  20.6k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  20.6k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 20.6k]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|  20.6k|}
modsupport.c:_Py_IsImmortal:
  127|  32.0k|{
  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|  32.0k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  32.0k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  32.0k|}
pyarena.c:Py_DECREF:
  418|  3.79M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  3.79M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  3.79M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.79M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.79M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 3.67M, False: 118k]
  |  |  ------------------
  ------------------
  422|  3.67M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  3.67M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  3.67M|        return;
  424|  3.67M|    }
  425|   118k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   118k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   118k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 27.4k, False: 91.3k]
  ------------------
  427|  27.4k|        _Py_Dealloc(op);
  428|  27.4k|    }
  429|   118k|}
pyarena.c:_Py_IsImmortal:
  127|  3.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|  3.79M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  3.79M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  3.79M|}
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|}
pystate.c:_Py_XNewRef:
  541|  4.30k|{
  542|  4.30k|    Py_XINCREF(obj);
  ------------------
  |  |  514|  4.30k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  4.30k|    return obj;
  544|  4.30k|}
pystate.c:Py_XINCREF:
  508|  4.30k|{
  509|  4.30k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  4.30k|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 4.30k, False: 0]
  ------------------
  510|  4.30k|        Py_INCREF(op);
  ------------------
  |  |  310|  4.30k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  4.30k|    }
  512|  4.30k|}
pystate.c:Py_INCREF:
  256|  4.30k|{
  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.30k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  4.30k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 4.30k]
  ------------------
  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|  4.30k|    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.30k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  4.30k|#  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.30k|#endif
  308|  4.30k|}
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|   391k|{
  519|   391k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   391k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 170k, False: 221k]
  ------------------
  520|   170k|        Py_DECREF(op);
  ------------------
  |  |  430|   170k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   170k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   170k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|   170k|    }
  522|   391k|}
specialize.c:Py_DECREF:
  418|   170k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   170k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   170k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   170k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   170k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 4.64k, False: 165k]
  |  |  ------------------
  ------------------
  422|  4.64k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  4.64k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  4.64k|        return;
  424|  4.64k|    }
  425|   165k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   165k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   165k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 165k]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|   165k|}
specialize.c:_Py_IsImmortal:
  127|   170k|{
  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|   170k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   170k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   170k|}
structmember.c:Py_INCREF:
  256|  2.13M|{
  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.13M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  2.13M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 100k, False: 2.03M]
  ------------------
  288|       |        // the object is immortal
  289|   100k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|   100k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|   100k|        return;
  291|   100k|    }
  292|  2.03M|    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.03M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  2.03M|#  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.03M|#endif
  308|  2.03M|}
structmember.c:Py_XINCREF:
  508|  2.10M|{
  509|  2.10M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  2.10M|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 2.10M, False: 100]
  ------------------
  510|  2.10M|        Py_INCREF(op);
  ------------------
  |  |  310|  2.10M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.10M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.10M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  2.10M|    }
  512|  2.10M|}
structmember.c:Py_DECREF:
  418|  7.56k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  7.56k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  7.56k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.56k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.56k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 3.73k, False: 3.82k]
  |  |  ------------------
  ------------------
  422|  3.73k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  3.73k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  3.73k|        return;
  424|  3.73k|    }
  425|  3.82k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  3.82k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  3.82k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 18, False: 3.80k]
  ------------------
  427|     18|        _Py_Dealloc(op);
  428|     18|    }
  429|  3.82k|}
structmember.c:_Py_IsImmortal:
  127|  7.56k|{
  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.56k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  7.56k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  7.56k|}
structmember.c:_Py_XNewRef:
  541|  2.10M|{
  542|  2.10M|    Py_XINCREF(obj);
  ------------------
  |  |  514|  2.10M|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.10M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.10M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  2.10M|    return obj;
  544|  2.10M|}
structmember.c:Py_XDECREF:
  518|  2.10M|{
  519|  2.10M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  2.10M|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 7.56k, False: 2.09M]
  ------------------
  520|  7.56k|        Py_DECREF(op);
  ------------------
  |  |  430|  7.56k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.56k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.56k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  7.56k|    }
  522|  2.10M|}
symtable.c:_Py_NewRef:
  535|  84.7k|{
  536|  84.7k|    Py_INCREF(obj);
  ------------------
  |  |  310|  84.7k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  84.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  84.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  84.7k|    return obj;
  538|  84.7k|}
symtable.c:Py_INCREF:
  256|  84.7k|{
  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|  84.7k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  84.7k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 84.5k, False: 157]
  ------------------
  288|       |        // the object is immortal
  289|  84.5k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  84.5k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  84.5k|        return;
  291|  84.5k|    }
  292|    157|    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|    157|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    157|#  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|    157|#endif
  308|    157|}
symtable.c:Py_XDECREF:
  518|  67.2k|{
  519|  67.2k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  67.2k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 50.0k, False: 17.2k]
  ------------------
  520|  50.0k|        Py_DECREF(op);
  ------------------
  |  |  430|  50.0k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  50.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  50.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  50.0k|    }
  522|  67.2k|}
symtable.c:Py_DECREF:
  418|   262k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   262k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   262k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   262k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   262k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 116k, False: 145k]
  |  |  ------------------
  ------------------
  422|   116k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|   116k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|   116k|        return;
  424|   116k|    }
  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: 73.5k, False: 72.1k]
  ------------------
  427|  73.5k|        _Py_Dealloc(op);
  428|  73.5k|    }
  429|   145k|}
symtable.c:_Py_IsImmortal:
  127|   262k|{
  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|   262k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   262k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   262k|}
sysmodule.c:Py_XDECREF:
  518|  7.64k|{
  519|  7.64k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  7.64k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 7.59k, False: 44]
  ------------------
  520|  7.59k|        Py_DECREF(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  7.59k|    }
  522|  7.64k|}
sysmodule.c:Py_DECREF:
  418|  7.79k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  7.79k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  7.79k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.79k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.79k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 142, False: 7.65k]
  |  |  ------------------
  ------------------
  422|    142|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    142|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    142|        return;
  424|    142|    }
  425|  7.65k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  7.65k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  7.65k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 7.55k, False: 98]
  ------------------
  427|  7.55k|        _Py_Dealloc(op);
  428|  7.55k|    }
  429|  7.65k|}
sysmodule.c:_Py_IsImmortal:
  127|  7.79k|{
  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.79k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  7.79k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  7.79k|}
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|    161|{
  542|    161|    Py_XINCREF(obj);
  ------------------
  |  |  514|    161|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    161|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    161|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|    161|    return obj;
  544|    161|}
sysmodule.c:Py_XINCREF:
  508|    161|{
  509|    161|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    161|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 161, False: 0]
  ------------------
  510|    161|        Py_INCREF(op);
  ------------------
  |  |  310|    161|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    161|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    161|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|    161|    }
  512|    161|}
sysmodule.c:Py_INCREF:
  256|    913|{
  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|    913|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    913|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 297, False: 616]
  ------------------
  288|       |        // the object is immortal
  289|    297|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|    297|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|    297|        return;
  291|    297|    }
  292|    616|    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|    616|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    616|#  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|    616|#endif
  308|    616|}
sysmodule.c:_Py_NewRef:
  535|    154|{
  536|    154|    Py_INCREF(obj);
  ------------------
  |  |  310|    154|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    154|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    154|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|    154|    return obj;
  538|    154|}
traceback.c:Py_INCREF:
  256|  2.89M|{
  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.89M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  2.89M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 2.89M]
  ------------------
  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.89M|    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.89M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  2.89M|#  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.89M|#endif
  308|  2.89M|}
traceback.c:Py_XINCREF:
  508|  4.29M|{
  509|  4.29M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  4.29M|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 2.89M, False: 1.40M]
  ------------------
  510|  2.89M|        Py_INCREF(op);
  ------------------
  |  |  310|  2.89M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.89M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.89M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  2.89M|    }
  512|  4.29M|}
traceback.c:_Py_XNewRef:
  541|  4.29M|{
  542|  4.29M|    Py_XINCREF(obj);
  ------------------
  |  |  514|  4.29M|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.29M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.29M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  4.29M|    return obj;
  544|  4.29M|}
traceback.c:Py_XDECREF:
  518|  8.59M|{
  519|  8.59M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  8.59M|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 5.78M, False: 2.80M]
  ------------------
  520|  5.78M|        Py_DECREF(op);
  ------------------
  |  |  430|  5.78M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.78M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.78M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  5.78M|    }
  522|  8.59M|}
traceback.c:Py_DECREF:
  418|  5.78M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  5.78M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  5.78M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.78M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.78M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 5.78M]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|  5.78M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  5.78M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  5.78M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 1.43M, False: 4.35M]
  ------------------
  427|  1.43M|        _Py_Dealloc(op);
  428|  1.43M|    }
  429|  5.78M|}
traceback.c:_Py_IsImmortal:
  127|  5.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|  5.78M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  5.78M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  5.78M|}
fileutils.c:Py_DECREF:
  418|  27.1k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  27.1k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  27.1k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  27.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 27.1k]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|  27.1k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  27.1k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  27.1k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 27.1k, False: 0]
  ------------------
  427|  27.1k|        _Py_Dealloc(op);
  428|  27.1k|    }
  429|  27.1k|}
fileutils.c:_Py_IsImmortal:
  127|  27.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|  27.1k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  27.1k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  27.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|  85.2k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  85.2k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  85.2k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  85.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  85.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 444, False: 84.8k]
  |  |  ------------------
  ------------------
  422|    444|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    444|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    444|        return;
  424|    444|    }
  425|  84.8k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  84.8k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  84.8k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 40.5k, False: 44.2k]
  ------------------
  427|  40.5k|        _Py_Dealloc(op);
  428|  40.5k|    }
  429|  84.8k|}
posixmodule.c:_Py_IsImmortal:
  127|  85.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|  85.2k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  85.2k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  85.2k|}
posixmodule.c:_Py_NewRef:
  535|  70.6k|{
  536|  70.6k|    Py_INCREF(obj);
  ------------------
  |  |  310|  70.6k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  70.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  70.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  70.6k|    return obj;
  538|  70.6k|}
posixmodule.c:Py_INCREF:
  256|   111k|{
  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|   111k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|   111k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 74, False: 111k]
  ------------------
  288|       |        // the object is immortal
  289|     74|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     74|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     74|        return;
  291|     74|    }
  292|   111k|    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|   111k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|   111k|#  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|   111k|#endif
  308|   111k|}
posixmodule.c:Py_XDECREF:
  518|    126|{
  519|    126|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    126|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 126, False: 0]
  ------------------
  520|    126|        Py_DECREF(op);
  ------------------
  |  |  430|    126|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    126|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    126|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|    126|    }
  522|    126|}
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|  35.3k|{
  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|  35.3k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  35.3k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 18.9k, False: 16.4k]
  ------------------
  288|       |        // the object is immortal
  289|  18.9k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  18.9k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  18.9k|        return;
  291|  18.9k|    }
  292|  16.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|  16.4k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  16.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|  16.4k|#endif
  308|  16.4k|}
_datetimemodule.c:Py_XDECREF:
  518|  24.1k|{
  519|  24.1k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  24.1k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 23.7k, False: 424]
  ------------------
  520|  23.7k|        Py_DECREF(op);
  ------------------
  |  |  430|  23.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  23.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  23.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  23.7k|    }
  522|  24.1k|}
_datetimemodule.c:_Py_NewRef:
  535|  23.6k|{
  536|  23.6k|    Py_INCREF(obj);
  ------------------
  |  |  310|  23.6k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  23.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  23.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  23.6k|    return obj;
  538|  23.6k|}
_datetimemodule.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: 21.0k, False: 120k]
  |  |  ------------------
  ------------------
  422|  21.0k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  21.0k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  21.0k|        return;
  424|  21.0k|    }
  425|   120k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   120k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   120k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 61.7k, False: 59.2k]
  ------------------
  427|  61.7k|        _Py_Dealloc(op);
  428|  61.7k|    }
  429|   120k|}
_datetimemodule.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|}
_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|  11.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|  11.1k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  11.1k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 7.21k, False: 3.90k]
  ------------------
  288|       |        // the object is immortal
  289|  7.21k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  7.21k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  7.21k|        return;
  291|  7.21k|    }
  292|  3.90k|    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.90k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  3.90k|#  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.90k|#endif
  308|  3.90k|}
_collectionsmodule.c:Py_DECREF:
  418|  43.4k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  43.4k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  43.4k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  43.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  43.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 17.6k, False: 25.8k]
  |  |  ------------------
  ------------------
  422|  17.6k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  17.6k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  17.6k|        return;
  424|  17.6k|    }
  425|  25.8k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  25.8k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  25.8k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 5, False: 25.8k]
  ------------------
  427|      5|        _Py_Dealloc(op);
  428|      5|    }
  429|  25.8k|}
_collectionsmodule.c:_Py_IsImmortal:
  127|  43.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|  43.4k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  43.4k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  43.4k|}
_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|  10.4k|{
  519|  10.4k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  10.4k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 0, False: 10.4k]
  ------------------
  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|  10.4k|}
_collectionsmodule.c:_Py_XNewRef:
  541|  10.4k|{
  542|  10.4k|    Py_XINCREF(obj);
  ------------------
  |  |  514|  10.4k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  10.4k|    return obj;
  544|  10.4k|}
_collectionsmodule.c:Py_XINCREF:
  508|  10.4k|{
  509|  10.4k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  10.4k|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 10.4k, False: 0]
  ------------------
  510|  10.4k|        Py_INCREF(op);
  ------------------
  |  |  310|  10.4k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  10.4k|    }
  512|  10.4k|}
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|  24.2k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  24.2k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  24.2k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  24.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 8.16k, False: 16.1k]
  |  |  ------------------
  ------------------
  422|  8.16k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  8.16k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  8.16k|        return;
  424|  8.16k|    }
  425|  16.1k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  16.1k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  16.1k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 8.08k, False: 8.04k]
  ------------------
  427|  8.08k|        _Py_Dealloc(op);
  428|  8.08k|    }
  429|  16.1k|}
_iomodule.c:_Py_IsImmortal:
  127|  24.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|  24.2k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  24.2k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  24.2k|}
_iomodule.c:_Py_NewRef:
  535|     65|{
  536|     65|    Py_INCREF(obj);
  ------------------
  |  |  310|     65|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     65|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     65|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|     65|    return obj;
  538|     65|}
_iomodule.c:Py_INCREF:
  256|     65|{
  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|     65|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|     65|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 51, False: 14]
  ------------------
  288|       |        // the object is immortal
  289|     51|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     51|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     51|        return;
  291|     51|    }
  292|     14|    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|     14|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|     14|#  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|     14|#endif
  308|     14|}
_iomodule.c:Py_XDECREF:
  518|     12|{
  519|     12|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     12|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 6, False: 6]
  ------------------
  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|     12|}
iobase.c:_Py_REFCNT:
  105|  18.4k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  18.4k|    #if !defined(Py_GIL_DISABLED)
  107|  18.4k|        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|  18.4k|    }
iobase.c:Py_DECREF:
  418|  57.4k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  57.4k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  57.4k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  57.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  57.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 36.8k, False: 20.6k]
  |  |  ------------------
  ------------------
  422|  36.8k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  36.8k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  36.8k|        return;
  424|  36.8k|    }
  425|  20.6k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  20.6k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  20.6k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 10.3k, False: 10.3k]
  ------------------
  427|  10.3k|        _Py_Dealloc(op);
  428|  10.3k|    }
  429|  20.6k|}
iobase.c:_Py_IsImmortal:
  127|  57.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|  57.4k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  57.4k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  57.4k|}
iobase.c:Py_INCREF:
  256|  14.3k|{
  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|  14.3k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  14.3k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 14.3k]
  ------------------
  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|  14.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|  14.3k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  14.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|  14.3k|#endif
  308|  14.3k|}
iobase.c:_Py_NewRef:
  535|  14.3k|{
  536|  14.3k|    Py_INCREF(obj);
  ------------------
  |  |  310|  14.3k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  14.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  14.3k|    return obj;
  538|  14.3k|}
fileio.c:Py_DECREF:
  418|  12.0k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  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: 0, False: 12.0k]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|  12.0k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  12.0k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  12.0k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 8.04k, False: 4.04k]
  ------------------
  427|  8.04k|        _Py_Dealloc(op);
  428|  8.04k|    }
  429|  12.0k|}
fileio.c:_Py_IsImmortal:
  127|  12.0k|{
  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.0k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  12.0k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  12.0k|}
bytesio.c:Py_DECREF:
  418|  48.7k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  48.7k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  48.7k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  48.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  48.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 40.8k, False: 7.99k]
  |  |  ------------------
  ------------------
  422|  40.8k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  40.8k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  40.8k|        return;
  424|  40.8k|    }
  425|  7.99k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  7.99k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  7.99k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 3.43k, False: 4.55k]
  ------------------
  427|  3.43k|        _Py_Dealloc(op);
  428|  3.43k|    }
  429|  7.99k|}
bytesio.c:_Py_IsImmortal:
  127|  48.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|  48.7k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  48.7k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  48.7k|}
bytesio.c:_Py_NewRef:
  535|    115|{
  536|    115|    Py_INCREF(obj);
  ------------------
  |  |  310|    115|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    115|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    115|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|    115|    return obj;
  538|    115|}
bytesio.c:Py_INCREF:
  256|    115|{
  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|    115|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    115|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 115, False: 0]
  ------------------
  288|       |        // the object is immortal
  289|    115|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|    115|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|    115|        return;
  291|    115|    }
  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|}
bytesio.c:_Py_REFCNT:
  105|  58.0k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  58.0k|    #if !defined(Py_GIL_DISABLED)
  107|  58.0k|        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|  58.0k|    }
bytesio.c:Py_XDECREF:
  518|    115|{
  519|    115|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    115|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 115, False: 0]
  ------------------
  520|    115|        Py_DECREF(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|    115|    }
  522|    115|}
bufferedio.c:Py_DECREF:
  418|  37.3k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  37.3k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  37.3k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  37.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  37.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 12.7k, False: 24.6k]
  |  |  ------------------
  ------------------
  422|  12.7k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  12.7k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  12.7k|        return;
  424|  12.7k|    }
  425|  24.6k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  24.6k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  24.6k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 12.4k, False: 12.1k]
  ------------------
  427|  12.4k|        _Py_Dealloc(op);
  428|  12.4k|    }
  429|  24.6k|}
bufferedio.c:_Py_IsImmortal:
  127|  37.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|  37.3k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  37.3k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  37.3k|}
bufferedio.c:Py_XDECREF:
  518|  16.0k|{
  519|  16.0k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  16.0k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 3.99k, False: 12.0k]
  ------------------
  520|  3.99k|        Py_DECREF(op);
  ------------------
  |  |  430|  3.99k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.99k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.99k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  3.99k|    }
  522|  16.0k|}
bufferedio.c:_Py_NewRef:
  535|  3.99k|{
  536|  3.99k|    Py_INCREF(obj);
  ------------------
  |  |  310|  3.99k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.99k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.99k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  3.99k|    return obj;
  538|  3.99k|}
bufferedio.c:Py_INCREF:
  256|  8.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|  8.03k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  8.03k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 8.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|  8.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|  8.03k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  8.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|  8.03k|#endif
  308|  8.03k|}
bufferedio.c:Py_XINCREF:
  508|  3.98k|{
  509|  3.98k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  3.98k|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 3.98k, False: 0]
  ------------------
  510|  3.98k|        Py_INCREF(op);
  ------------------
  |  |  310|  3.98k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.98k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.98k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  3.98k|    }
  512|  3.98k|}
textio.c:_Py_NewRef:
  535|  14.7k|{
  536|  14.7k|    Py_INCREF(obj);
  ------------------
  |  |  310|  14.7k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  14.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  14.7k|    return obj;
  538|  14.7k|}
textio.c:Py_INCREF:
  256|  19.0k|{
  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|  19.0k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  19.0k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 10, False: 19.0k]
  ------------------
  288|       |        // the object is immortal
  289|     10|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     10|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     10|        return;
  291|     10|    }
  292|  19.0k|    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|  19.0k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  19.0k|#  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|  19.0k|#endif
  308|  19.0k|}
textio.c:Py_DECREF:
  418|  28.1k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  28.1k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  28.1k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  28.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  28.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 4.37k, False: 23.7k]
  |  |  ------------------
  ------------------
  422|  4.37k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  4.37k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  4.37k|        return;
  424|  4.37k|    }
  425|  23.7k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  23.7k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  23.7k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 4.61k, False: 19.1k]
  ------------------
  427|  4.61k|        _Py_Dealloc(op);
  428|  4.61k|    }
  429|  23.7k|}
textio.c:_Py_IsImmortal:
  127|  28.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|  28.1k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  28.1k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  28.1k|}
textio.c:Py_XDECREF:
  518|    166|{
  519|    166|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    166|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 73, False: 93]
  ------------------
  520|     73|        Py_DECREF(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|     73|    }
  522|    166|}
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.94k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  1.94k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  1.94k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.94k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.94k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 499, False: 1.44k]
  |  |  ------------------
  ------------------
  422|    499|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    499|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    499|        return;
  424|    499|    }
  425|  1.44k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  1.44k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  1.44k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 592, False: 855]
  ------------------
  427|    592|        _Py_Dealloc(op);
  428|    592|    }
  429|  1.44k|}
itertoolsmodule.c:_Py_IsImmortal:
  127|  1.94k|{
  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.94k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  1.94k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  1.94k|}
itertoolsmodule.c:_Py_NewRef:
  535|    365|{
  536|    365|    Py_INCREF(obj);
  ------------------
  |  |  310|    365|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    365|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    365|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|    365|    return obj;
  538|    365|}
itertoolsmodule.c:Py_INCREF:
  256|    883|{
  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|    883|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    883|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 421, False: 462]
  ------------------
  288|       |        // the object is immortal
  289|    421|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|    421|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|    421|        return;
  291|    421|    }
  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|    619|{
  519|    619|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    619|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 337, False: 282]
  ------------------
  520|    337|        Py_DECREF(op);
  ------------------
  |  |  430|    337|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    337|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    337|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|    337|    }
  522|    619|}
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|    352|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    352|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    352|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    352|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    352|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 147, False: 205]
  |  |  ------------------
  ------------------
  422|    147|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    147|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    147|        return;
  424|    147|    }
  425|    205|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    205|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    205|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 2, False: 203]
  ------------------
  427|      2|        _Py_Dealloc(op);
  428|      2|    }
  429|    205|}
sre.c:_Py_IsImmortal:
  127|    352|{
  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|    352|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    352|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    352|}
sre.c:_Py_NewRef:
  535|    266|{
  536|    266|    Py_INCREF(obj);
  ------------------
  |  |  310|    266|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    266|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    266|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|    266|    return obj;
  538|    266|}
sre.c:Py_INCREF:
  256|    334|{
  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|    334|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    334|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 58, False: 276]
  ------------------
  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|    276|    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|    276|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    276|#  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|    276|#endif
  308|    276|}
sre.c:Py_XDECREF:
  518|     58|{
  519|     58|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     58|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 58, False: 0]
  ------------------
  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|     58|}
_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.09M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  7.09M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  7.09M|#define _Py_IsImmortal(op) _Py_IsImmortal(_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 (137:28): [True: 2, False: 7.09M]
  |  |  ------------------
  ------------------
  422|      2|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      2|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      2|        return;
  424|      2|    }
  425|  7.09M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  7.09M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  7.09M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 4, False: 7.09M]
  ------------------
  427|      4|        _Py_Dealloc(op);
  428|      4|    }
  429|  7.09M|}
_threadmodule.c:_Py_IsImmortal:
  127|  7.09M|{
  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.09M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  7.09M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  7.09M|}
timemodule.c:Py_DECREF:
  418|     96|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|     96|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|     96|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     96|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     96|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 96]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|     96|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|     96|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|     96|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 96, False: 0]
  ------------------
  427|     96|        _Py_Dealloc(op);
  428|     96|    }
  429|     96|}
timemodule.c:_Py_IsImmortal:
  127|     96|{
  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|     96|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|     96|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|     96|}
_abc.c:Py_INCREF:
  256|  37.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|  37.5k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  37.5k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 37.4k, False: 84]
  ------------------
  288|       |        // the object is immortal
  289|  37.4k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  37.4k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  37.4k|        return;
  291|  37.4k|    }
  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|   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: 42.4k, False: 119k]
  |  |  ------------------
  ------------------
  422|  42.4k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  42.4k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  42.4k|        return;
  424|  42.4k|    }
  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: 990, False: 118k]
  ------------------
  427|    990|        _Py_Dealloc(op);
  428|    990|    }
  429|   119k|}
_abc.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|}
_abc.c:Py_XDECREF:
  518|  79.7k|{
  519|  79.7k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  79.7k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 67.9k, False: 11.8k]
  ------------------
  520|  67.9k|        Py_DECREF(op);
  ------------------
  |  |  430|  67.9k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  67.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  67.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  67.9k|    }
  522|  79.7k|}
_abc.c:_Py_NewRef:
  535|  22.1k|{
  536|  22.1k|    Py_INCREF(obj);
  ------------------
  |  |  310|  22.1k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  22.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  22.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  22.1k|    return obj;
  538|  22.1k|}
_abc.c:_Py_XNewRef:
  541|  11.7k|{
  542|  11.7k|    Py_XINCREF(obj);
  ------------------
  |  |  514|  11.7k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  11.7k|    return obj;
  544|  11.7k|}
_abc.c:Py_XINCREF:
  508|  11.7k|{
  509|  11.7k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  11.7k|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 11.7k, False: 0]
  ------------------
  510|  11.7k|        Py_INCREF(op);
  ------------------
  |  |  310|  11.7k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  11.7k|    }
  512|  11.7k|}
_functoolsmodule.c:Py_INCREF:
  256|  83.3k|{
  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|  83.3k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  83.3k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 11.3k, False: 71.9k]
  ------------------
  288|       |        // the object is immortal
  289|  11.3k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  11.3k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  11.3k|        return;
  291|  11.3k|    }
  292|  71.9k|    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|  71.9k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  71.9k|#  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|  71.9k|#endif
  308|  71.9k|}
_functoolsmodule.c:Py_XDECREF:
  518|  3.68k|{
  519|  3.68k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  3.68k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 0, False: 3.68k]
  ------------------
  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|  3.68k|}
_functoolsmodule.c:_Py_REFCNT:
  105|  10.8k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  10.8k|    #if !defined(Py_GIL_DISABLED)
  107|  10.8k|        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|  10.8k|    }
_functoolsmodule.c:Py_DECREF:
  418|  96.6k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  96.6k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  96.6k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  96.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  96.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 10.8k, False: 85.7k]
  |  |  ------------------
  ------------------
  422|  10.8k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  10.8k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  10.8k|        return;
  424|  10.8k|    }
  425|  85.7k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  85.7k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  85.7k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 14.5k, False: 71.2k]
  ------------------
  427|  14.5k|        _Py_Dealloc(op);
  428|  14.5k|    }
  429|  85.7k|}
_functoolsmodule.c:_Py_IsImmortal:
  127|  96.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|  96.6k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  96.6k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  96.6k|}
_functoolsmodule.c:_Py_NewRef:
  535|  58.6k|{
  536|  58.6k|    Py_INCREF(obj);
  ------------------
  |  |  310|  58.6k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  58.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  58.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  58.6k|    return obj;
  538|  58.6k|}
_functoolsmodule.c:_Py_XNewRef:
  541|     18|{
  542|     18|    Py_XINCREF(obj);
  ------------------
  |  |  514|     18|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|     18|    return obj;
  544|     18|}
_functoolsmodule.c:Py_XINCREF:
  508|     18|{
  509|     18|    if (op != _Py_NULL) {
  ------------------
  |  |   57|     18|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 0, False: 18]
  ------------------
  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|     18|}
_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|  25.2M|{
  536|  25.2M|    Py_INCREF(obj);
  ------------------
  |  |  310|  25.2M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  25.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  25.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  25.2M|    return obj;
  538|  25.2M|}
abstract.c:Py_INCREF:
  256|  48.0M|{
  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|  48.0M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  48.0M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 33.1M, False: 14.9M]
  ------------------
  288|       |        // the object is immortal
  289|  33.1M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  33.1M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  33.1M|        return;
  291|  33.1M|    }
  292|  14.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|  14.9M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  14.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|  14.9M|#endif
  308|  14.9M|}
abstract.c:Py_DECREF:
  418|  55.4M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  55.4M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  55.4M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  55.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  55.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 43.3M, False: 12.0M]
  |  |  ------------------
  ------------------
  422|  43.3M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  43.3M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  43.3M|        return;
  424|  43.3M|    }
  425|  12.0M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  12.0M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  12.0M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 75.7k, False: 11.9M]
  ------------------
  427|  75.7k|        _Py_Dealloc(op);
  428|  75.7k|    }
  429|  12.0M|}
abstract.c:_Py_IsImmortal:
  127|  55.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|  55.4M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  55.4M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  55.4M|}
abstract.c:Py_XDECREF:
  518|  4.31k|{
  519|  4.31k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  4.31k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 4.31k, False: 4]
  ------------------
  520|  4.31k|        Py_DECREF(op);
  ------------------
  |  |  430|  4.31k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.31k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  4.31k|    }
  522|  4.31k|}
abstract.c:_Py_XNewRef:
  541|  22.7M|{
  542|  22.7M|    Py_XINCREF(obj);
  ------------------
  |  |  514|  22.7M|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  22.7M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  22.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  22.7M|    return obj;
  544|  22.7M|}
abstract.c:Py_XINCREF:
  508|  22.7M|{
  509|  22.7M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  22.7M|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 22.7M, False: 4.37k]
  ------------------
  510|  22.7M|        Py_INCREF(op);
  ------------------
  |  |  310|  22.7M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  22.7M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  22.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  22.7M|    }
  512|  22.7M|}
bytearrayobject.c:Py_DECREF:
  418|  7.52M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  7.52M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  7.52M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.52M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.52M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 520, False: 7.52M]
  |  |  ------------------
  ------------------
  422|    520|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    520|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    520|        return;
  424|    520|    }
  425|  7.52M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  7.52M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  7.52M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 7.52M, False: 2]
  ------------------
  427|  7.52M|        _Py_Dealloc(op);
  428|  7.52M|    }
  429|  7.52M|}
bytearrayobject.c:_Py_IsImmortal:
  127|  7.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|  7.52M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  7.52M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  7.52M|}
bytearrayobject.c:Py_XDECREF:
  518|  7.52M|{
  519|  7.52M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  7.52M|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 7.52M, False: 0]
  ------------------
  520|  7.52M|        Py_DECREF(op);
  ------------------
  |  |  430|  7.52M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.52M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.52M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  7.52M|    }
  522|  7.52M|}
bytearrayobject.c:_Py_NewRef:
  535|  7.52M|{
  536|  7.52M|    Py_INCREF(obj);
  ------------------
  |  |  310|  7.52M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.52M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.52M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  7.52M|    return obj;
  538|  7.52M|}
bytearrayobject.c:Py_INCREF:
  256|  7.52M|{
  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.52M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  7.52M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 0, False: 7.52M]
  ------------------
  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|  7.52M|    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.52M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  7.52M|#  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.52M|#endif
  308|  7.52M|}
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|  6.13M|{
  542|  6.13M|    Py_XINCREF(obj);
  ------------------
  |  |  514|  6.13M|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.13M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.13M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  6.13M|    return obj;
  544|  6.13M|}
cellobject.c:Py_XINCREF:
  508|  6.13M|{
  509|  6.13M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  6.13M|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 2.61M, False: 3.51M]
  ------------------
  510|  2.61M|        Py_INCREF(op);
  ------------------
  |  |  310|  2.61M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.61M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.61M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  2.61M|    }
  512|  6.13M|}
cellobject.c:Py_INCREF:
  256|  2.61M|{
  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.61M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  2.61M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 386k, False: 2.23M]
  ------------------
  288|       |        // the object is immortal
  289|   386k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|   386k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|   386k|        return;
  291|   386k|    }
  292|  2.23M|    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.23M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  2.23M|#  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.23M|#endif
  308|  2.23M|}
cellobject.c:Py_XDECREF:
  518|  6.13M|{
  519|  6.13M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  6.13M|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 3.47M, False: 2.65M]
  ------------------
  520|  3.47M|        Py_DECREF(op);
  ------------------
  |  |  430|  3.47M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.47M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.47M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  3.47M|    }
  522|  6.13M|}
cellobject.c:Py_DECREF:
  418|  4.92M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  4.92M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  4.92M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.92M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.92M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 746k, False: 4.18M]
  |  |  ------------------
  ------------------
  422|   746k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|   746k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|   746k|        return;
  424|   746k|    }
  425|  4.18M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  4.18M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  4.18M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 1.27M, False: 2.90M]
  ------------------
  427|  1.27M|        _Py_Dealloc(op);
  428|  1.27M|    }
  429|  4.18M|}
cellobject.c:_Py_IsImmortal:
  127|  4.92M|{
  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.92M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  4.92M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  4.92M|}
classobject.c:_Py_NewRef:
  535|  4.94M|{
  536|  4.94M|    Py_INCREF(obj);
  ------------------
  |  |  310|  4.94M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.94M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.94M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  4.94M|    return obj;
  538|  4.94M|}
classobject.c:Py_INCREF:
  256|  4.94M|{
  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.94M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  4.94M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 56, False: 4.94M]
  ------------------
  288|       |        // the object is immortal
  289|     56|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     56|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     56|        return;
  291|     56|    }
  292|  4.94M|    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.94M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  4.94M|#  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.94M|#endif
  308|  4.94M|}
classobject.c:Py_DECREF:
  418|  4.94M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  4.94M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  4.94M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.94M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.94M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 56, False: 4.94M]
  |  |  ------------------
  ------------------
  422|     56|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     56|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     56|        return;
  424|     56|    }
  425|  4.94M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  4.94M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  4.94M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 2, False: 4.94M]
  ------------------
  427|      2|        _Py_Dealloc(op);
  428|      2|    }
  429|  4.94M|}
classobject.c:_Py_IsImmortal:
  127|  4.94M|{
  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.94M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  4.94M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  4.94M|}
classobject.c:Py_XDECREF:
  518|  2.47M|{
  519|  2.47M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  2.47M|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 2.47M, False: 0]
  ------------------
  520|  2.47M|        Py_DECREF(op);
  ------------------
  |  |  430|  2.47M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.47M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.47M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  2.47M|    }
  522|  2.47M|}
codeobject.c:_Py_NewRef:
  535|   962k|{
  536|   962k|    Py_INCREF(obj);
  ------------------
  |  |  310|   962k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   962k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   962k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|   962k|    return obj;
  538|   962k|}
codeobject.c:Py_INCREF:
  256|   964k|{
  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|   964k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|   964k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 398k, False: 565k]
  ------------------
  288|       |        // the object is immortal
  289|   398k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|   398k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|   398k|        return;
  291|   398k|    }
  292|   565k|    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|   565k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|   565k|#  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|   565k|#endif
  308|   565k|}
codeobject.c:Py_XDECREF:
  518|   693k|{
  519|   693k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   693k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 607k, False: 85.8k]
  ------------------
  520|   607k|        Py_DECREF(op);
  ------------------
  |  |  430|   607k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   607k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   607k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|   607k|    }
  522|   693k|}
codeobject.c:Py_DECREF:
  418|   617k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   617k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   617k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   617k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   617k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 273k, False: 343k]
  |  |  ------------------
  ------------------
  422|   273k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|   273k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|   273k|        return;
  424|   273k|    }
  425|   343k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   343k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   343k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 277k, False: 66.4k]
  ------------------
  427|   277k|        _Py_Dealloc(op);
  428|   277k|    }
  429|   343k|}
codeobject.c:_Py_IsImmortal:
  127|   747k|{
  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|   747k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   747k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   747k|}
codeobject.c:_Py_XNewRef:
  541|  2.22k|{
  542|  2.22k|    Py_XINCREF(obj);
  ------------------
  |  |  514|  2.22k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.22k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.22k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  2.22k|    return obj;
  544|  2.22k|}
codeobject.c:Py_XINCREF:
  508|  2.22k|{
  509|  2.22k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  2.22k|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 2.22k, False: 0]
  ------------------
  510|  2.22k|        Py_INCREF(op);
  ------------------
  |  |  310|  2.22k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.22k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.22k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  2.22k|    }
  512|  2.22k|}
codeobject.c:Py_SET_REFCNT:
  154|   130k|static inline void Py_SET_REFCNT(PyObject *ob, Py_ssize_t refcnt) {
  155|   130k|    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|   130k|    if (_Py_IsImmortal(ob)) {
  ------------------
  |  |  137|   130k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   130k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   130k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 130k]
  |  |  ------------------
  ------------------
  167|      0|        return;
  168|      0|    }
  169|   130k|#ifndef Py_GIL_DISABLED
  170|   130k|#if SIZEOF_VOID_P > 4
  171|   130k|    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|   130k|#endif  // Py_LIMITED_API
  199|   130k|}
codeobject.c:_Py_REFCNT:
  105|   130k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|   130k|    #if !defined(Py_GIL_DISABLED)
  107|   130k|        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|   130k|    }
complexobject.c:Py_INCREF:
  256|      3|{
  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|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|      3|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 3, False: 0]
  ------------------
  288|       |        // the object is immortal
  289|      3|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|      3|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|      3|        return;
  291|      3|    }
  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|  25.4k|{
  519|  25.4k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  25.4k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 11.4k, False: 14.0k]
  ------------------
  520|  11.4k|        Py_DECREF(op);
  ------------------
  |  |  430|  11.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  11.4k|    }
  522|  25.4k|}
descrobject.c:Py_DECREF:
  418|  78.0k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  78.0k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  78.0k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  78.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  78.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 15.4k, False: 62.6k]
  |  |  ------------------
  ------------------
  422|  15.4k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  15.4k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  15.4k|        return;
  424|  15.4k|    }
  425|  62.6k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  62.6k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  62.6k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 47.7k, False: 14.9k]
  ------------------
  427|  47.7k|        _Py_Dealloc(op);
  428|  47.7k|    }
  429|  62.6k|}
descrobject.c:_Py_IsImmortal:
  127|  78.0k|{
  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.0k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  78.0k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  78.0k|}
descrobject.c:_Py_XNewRef:
  541|  9.94k|{
  542|  9.94k|    Py_XINCREF(obj);
  ------------------
  |  |  514|  9.94k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.94k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.94k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  9.94k|    return obj;
  544|  9.94k|}
descrobject.c:Py_XINCREF:
  508|  9.94k|{
  509|  9.94k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  9.94k|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 8.38k, False: 1.56k]
  ------------------
  510|  8.38k|        Py_INCREF(op);
  ------------------
  |  |  310|  8.38k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.38k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.38k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  8.38k|    }
  512|  9.94k|}
descrobject.c:Py_INCREF:
  256|  36.0k|{
  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|  36.0k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  36.0k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 4.55k, False: 31.4k]
  ------------------
  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|  31.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|  31.4k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  31.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|  31.4k|#endif
  308|  31.4k|}
descrobject.c:_Py_NewRef:
  535|  27.6k|{
  536|  27.6k|    Py_INCREF(obj);
  ------------------
  |  |  310|  27.6k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  27.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  27.6k|    return obj;
  538|  27.6k|}
enumobject.c:Py_XDECREF:
  518|  21.9k|{
  519|  21.9k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  21.9k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 14.6k, False: 7.33k]
  ------------------
  520|  14.6k|        Py_DECREF(op);
  ------------------
  |  |  430|  14.6k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  14.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  14.6k|    }
  522|  21.9k|}
enumobject.c:Py_DECREF:
  418|  27.9k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  27.9k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  27.9k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  27.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 5.19k, False: 22.7k]
  |  |  ------------------
  ------------------
  422|  5.19k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  5.19k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  5.19k|        return;
  424|  5.19k|    }
  425|  22.7k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  22.7k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  22.7k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 18.6k, False: 4.11k]
  ------------------
  427|  18.6k|        _Py_Dealloc(op);
  428|  18.6k|    }
  429|  22.7k|}
enumobject.c:_Py_IsImmortal:
  127|  27.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|  27.9k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  27.9k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  27.9k|}
enumobject.c:_Py_REFCNT:
  105|  4.64k|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  4.64k|    #if !defined(Py_GIL_DISABLED)
  107|  4.64k|        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.64k|    }
enumobject.c:Py_INCREF:
  256|  4.65k|{
  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.65k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  4.65k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 6, False: 4.65k]
  ------------------
  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.65k|    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.65k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  4.65k|#  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.65k|#endif
  308|  4.65k|}
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|  4.41M|{
  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.41M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  4.41M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 4.37M, False: 39.8k]
  ------------------
  288|       |        // the object is immortal
  289|  4.37M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  4.37M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  4.37M|        return;
  291|  4.37M|    }
  292|  39.8k|    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|  39.8k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  39.8k|#  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|  39.8k|#endif
  308|  39.8k|}
genobject.c:_Py_NewRef:
  535|  4.39M|{
  536|  4.39M|    Py_INCREF(obj);
  ------------------
  |  |  310|  4.39M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.39M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.39M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  4.39M|    return obj;
  538|  4.39M|}
genobject.c:Py_DECREF:
  418|  4.39M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  4.39M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  4.39M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.39M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.39M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 4.39M, False: 0]
  |  |  ------------------
  ------------------
  422|  4.39M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  4.39M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  4.39M|        return;
  424|  4.39M|    }
  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|  5.48M|{
  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.48M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  5.48M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  5.48M|}
genobject.c:Py_XINCREF:
  508|  39.8k|{
  509|  39.8k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  39.8k|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 0, False: 39.8k]
  ------------------
  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|  39.8k|}
genobject.c:Py_XDECREF:
  518|  19.9k|{
  519|  19.9k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  19.9k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 0, False: 19.9k]
  ------------------
  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|  19.9k|}
fileobject.c:Py_DECREF:
  418|  26.6k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  26.6k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  26.6k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  26.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  26.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 22.7k, False: 3.98k]
  |  |  ------------------
  ------------------
  422|  22.7k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  22.7k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  22.7k|        return;
  424|  22.7k|    }
  425|  3.98k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  3.98k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  3.98k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 3.98k]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|  3.98k|}
fileobject.c:_Py_IsImmortal:
  127|  26.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|  26.6k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  26.6k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  26.6k|}
frameobject.c:Py_XINCREF:
  508|  9.93k|{
  509|  9.93k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  9.93k|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 9.77k, False: 159]
  ------------------
  510|  9.77k|        Py_INCREF(op);
  ------------------
  |  |  310|  9.77k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.77k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.77k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  9.77k|    }
  512|  9.93k|}
frameobject.c:Py_INCREF:
  256|  50.3k|{
  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|  50.3k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  50.3k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 84, False: 50.3k]
  ------------------
  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|  50.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|  50.3k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  50.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|  50.3k|#endif
  308|  50.3k|}
frameobject.c:_Py_IsImmortal:
  127|   712k|{
  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|   712k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   712k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   712k|}
frameobject.c:Py_DECREF:
  418|   712k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   712k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   712k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   712k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   712k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 42, False: 712k]
  |  |  ------------------
  ------------------
  422|     42|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|     42|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|     42|        return;
  424|     42|    }
  425|   712k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|   712k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|   712k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 17.2k, False: 695k]
  ------------------
  427|  17.2k|        _Py_Dealloc(op);
  428|  17.2k|    }
  429|   712k|}
frameobject.c:_Py_NewRef:
  535|  40.6k|{
  536|  40.6k|    Py_INCREF(obj);
  ------------------
  |  |  310|  40.6k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  40.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  40.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  40.6k|    return obj;
  538|  40.6k|}
frameobject.c:_Py_XNewRef:
  541|  9.84k|{
  542|  9.84k|    Py_XINCREF(obj);
  ------------------
  |  |  514|  9.84k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.84k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.84k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  9.84k|    return obj;
  544|  9.84k|}
funcobject.c:Py_XDECREF:
  518|  31.0k|{
  519|  31.0k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  31.0k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 15.5k, False: 15.5k]
  ------------------
  520|  15.5k|        Py_DECREF(op);
  ------------------
  |  |  430|  15.5k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  15.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  15.5k|    }
  522|  31.0k|}
funcobject.c:Py_INCREF:
  256|  18.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|  18.9M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  18.9M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 11.2M, False: 7.71M]
  ------------------
  288|       |        // the object is immortal
  289|  11.2M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  11.2M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  11.2M|        return;
  291|  11.2M|    }
  292|  7.71M|    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.71M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  7.71M|#  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.71M|#endif
  308|  7.71M|}
funcobject.c:_Py_NewRef:
  535|  3.97M|{
  536|  3.97M|    Py_INCREF(obj);
  ------------------
  |  |  310|  3.97M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.97M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.97M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  3.97M|    return obj;
  538|  3.97M|}
funcobject.c:_Py_XNewRef:
  541|  30.6k|{
  542|  30.6k|    Py_XINCREF(obj);
  ------------------
  |  |  514|  30.6k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  30.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  30.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  30.6k|    return obj;
  544|  30.6k|}
funcobject.c:Py_XINCREF:
  508|  30.6k|{
  509|  30.6k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  30.6k|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 18.0k, False: 12.5k]
  ------------------
  510|  18.0k|        Py_INCREF(op);
  ------------------
  |  |  310|  18.0k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  18.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  18.0k|    }
  512|  30.6k|}
funcobject.c:Py_DECREF:
  418|  37.2M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  37.2M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  37.2M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  37.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  37.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 20.8M, False: 16.3M]
  |  |  ------------------
  ------------------
  422|  20.8M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  20.8M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  20.8M|        return;
  424|  20.8M|    }
  425|  16.3M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  16.3M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  16.3M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 3.56M, False: 12.7M]
  ------------------
  427|  3.56M|        _Py_Dealloc(op);
  428|  3.56M|    }
  429|  16.3M|}
funcobject.c:_Py_IsImmortal:
  127|  44.6M|{
  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|  44.6M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  44.6M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  44.6M|}
funcobject.c:Py_SET_REFCNT:
  154|  7.46M|static inline void Py_SET_REFCNT(PyObject *ob, Py_ssize_t refcnt) {
  155|  7.46M|    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|  7.46M|    if (_Py_IsImmortal(ob)) {
  ------------------
  |  |  137|  7.46M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.46M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.46M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 7.46M]
  |  |  ------------------
  ------------------
  167|      0|        return;
  168|      0|    }
  169|  7.46M|#ifndef Py_GIL_DISABLED
  170|  7.46M|#if SIZEOF_VOID_P > 4
  171|  7.46M|    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|  7.46M|#endif  // Py_LIMITED_API
  199|  7.46M|}
funcobject.c:_Py_REFCNT:
  105|  7.46M|    static inline Py_ssize_t _Py_REFCNT(PyObject *ob) {
  106|  7.46M|    #if !defined(Py_GIL_DISABLED)
  107|  7.46M|        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|  7.46M|    }
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|    706|{
  536|    706|    Py_INCREF(obj);
  ------------------
  |  |  310|    706|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    706|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    706|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|    706|    return obj;
  538|    706|}
iterobject.c:Py_INCREF:
  256|    706|{
  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|    706|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|    706|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 2, False: 704]
  ------------------
  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|    704|    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|    704|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    704|#  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|    704|#endif
  308|    704|}
iterobject.c:Py_XDECREF:
  518|    708|{
  519|    708|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    708|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 0, False: 708]
  ------------------
  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|    708|}
iterobject.c:Py_DECREF:
  418|    706|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    706|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    706|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    706|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    706|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 2, False: 704]
  |  |  ------------------
  ------------------
  422|      2|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      2|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      2|        return;
  424|      2|    }
  425|    704|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    704|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    704|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 704]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|    704|}
iterobject.c:_Py_IsImmortal:
  127|    706|{
  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|    706|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    706|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    706|}
lazyimportobject.c:_Py_XNewRef:
  541|    120|{
  542|    120|    Py_XINCREF(obj);
  ------------------
  |  |  514|    120|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    120|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    120|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|    120|    return obj;
  544|    120|}
lazyimportobject.c:Py_XINCREF:
  508|    120|{
  509|    120|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    120|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 92, False: 28]
  ------------------
  510|     92|        Py_INCREF(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|     92|    }
  512|    120|}
lazyimportobject.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: 80, False: 132]
  ------------------
  288|       |        // the object is immortal
  289|     80|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|     80|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|     80|        return;
  291|     80|    }
  292|    132|    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|    132|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|    132|#  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|    132|#endif
  308|    132|}
lazyimportobject.c:_Py_NewRef:
  535|    120|{
  536|    120|    Py_INCREF(obj);
  ------------------
  |  |  310|    120|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    120|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    120|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|    120|    return obj;
  538|    120|}
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|   137k|{
  519|   137k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   137k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 40.2k, False: 96.9k]
  ------------------
  520|  40.2k|        Py_DECREF(op);
  ------------------
  |  |  430|  40.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  40.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  40.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  40.2k|    }
  522|   137k|}
odictobject.c:Py_DECREF:
  418|   176k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|   176k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|   176k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   176k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   176k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 81.9k, False: 94.2k]
  |  |  ------------------
  ------------------
  422|  81.9k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  81.9k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  81.9k|        return;
  424|  81.9k|    }
  425|  94.2k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  94.2k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  94.2k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 22.0k, False: 72.1k]
  ------------------
  427|  22.0k|        _Py_Dealloc(op);
  428|  22.0k|    }
  429|  94.2k|}
odictobject.c:_Py_IsImmortal:
  127|   176k|{
  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|   176k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|   176k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|   176k|}
odictobject.c:_Py_NewRef:
  535|  99.4k|{
  536|  99.4k|    Py_INCREF(obj);
  ------------------
  |  |  310|  99.4k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  99.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  99.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  99.4k|    return obj;
  538|  99.4k|}
odictobject.c:Py_INCREF:
  256|   121k|{
  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|   121k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|   121k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 67.6k, False: 53.8k]
  ------------------
  288|       |        // the object is immortal
  289|  67.6k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  67.6k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  67.6k|        return;
  291|  67.6k|    }
  292|  53.8k|    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|  53.8k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  53.8k|#  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|  53.8k|#endif
  308|  53.8k|}
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|  4.04k|{
  536|  4.04k|    Py_INCREF(obj);
  ------------------
  |  |  310|  4.04k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.04k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  4.04k|    return obj;
  538|  4.04k|}
methodobject.c:Py_INCREF:
  256|  9.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|  9.59M|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  9.59M|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 7.54M, False: 2.04M]
  ------------------
  288|       |        // the object is immortal
  289|  7.54M|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  7.54M|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  7.54M|        return;
  291|  7.54M|    }
  292|  2.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|  2.04M|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  2.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|  2.04M|#endif
  308|  2.04M|}
methodobject.c:_Py_XNewRef:
  541|  19.1M|{
  542|  19.1M|    Py_XINCREF(obj);
  ------------------
  |  |  514|  19.1M|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  19.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  19.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  19.1M|    return obj;
  544|  19.1M|}
methodobject.c:Py_XINCREF:
  508|  19.1M|{
  509|  19.1M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  19.1M|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 9.59M, False: 9.58M]
  ------------------
  510|  9.59M|        Py_INCREF(op);
  ------------------
  |  |  310|  9.59M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.59M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.59M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  9.59M|    }
  512|  19.1M|}
methodobject.c:Py_XDECREF:
  518|  28.7M|{
  519|  28.7M|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  28.7M|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 9.59M, False: 19.1M]
  ------------------
  520|  9.59M|        Py_DECREF(op);
  ------------------
  |  |  430|  9.59M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.59M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.59M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  9.59M|    }
  522|  28.7M|}
methodobject.c:Py_DECREF:
  418|  9.59M|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  9.59M|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  9.59M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.59M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.59M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 7.54M, False: 2.04M]
  |  |  ------------------
  ------------------
  422|  7.54M|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  7.54M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  7.54M|        return;
  424|  7.54M|    }
  425|  2.04M|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  2.04M|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  2.04M|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 336, False: 2.04M]
  ------------------
  427|    336|        _Py_Dealloc(op);
  428|    336|    }
  429|  2.04M|}
methodobject.c:_Py_IsImmortal:
  127|  9.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|  9.59M|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  9.59M|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  9.59M|}
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|  17.0k|{
  519|  17.0k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  17.0k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 17.0k, False: 0]
  ------------------
  520|  17.0k|        Py_DECREF(op);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  17.0k|    }
  522|  17.0k|}
assemble.c:Py_DECREF:
  418|  17.0k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  17.0k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  17.0k|#define _Py_IsImmortal(op) _Py_IsImmortal(_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 (137:28): [True: 2.97k, False: 14.1k]
  |  |  ------------------
  ------------------
  422|  2.97k|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|  2.97k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|  2.97k|        return;
  424|  2.97k|    }
  425|  14.1k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  14.1k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  14.1k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 0, False: 14.1k]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|  14.1k|}
assemble.c:_Py_IsImmortal:
  127|  17.0k|{
  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.0k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  17.0k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  17.0k|}
assemble.c:_Py_NewRef:
  535|  13.6k|{
  536|  13.6k|    Py_INCREF(obj);
  ------------------
  |  |  310|  13.6k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  13.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  13.6k|    return obj;
  538|  13.6k|}
assemble.c:Py_INCREF:
  256|  13.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|  13.6k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  13.6k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 13.6k, False: 41]
  ------------------
  288|       |        // the object is immortal
  289|  13.6k|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|  13.6k|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|  13.6k|        return;
  291|  13.6k|    }
  292|     41|    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|     41|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|     41|#  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|     41|#endif
  308|     41|}
pegen.c:Py_DECREF:
  418|  54.3k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  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: 0, False: 54.3k]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  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: 54.3k, False: 0]
  ------------------
  427|  54.3k|        _Py_Dealloc(op);
  428|  54.3k|    }
  429|  54.3k|}
pegen.c:_Py_IsImmortal:
  127|  54.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|  54.3k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  54.3k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  54.3k|}
pegen.c:Py_XDECREF:
  518|  54.5k|{
  519|  54.5k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  54.5k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 0, False: 54.5k]
  ------------------
  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|  54.5k|}
pegen.c:Py_INCREF:
  256|  27.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|  27.6k|    if (cur_refcnt >= _Py_IMMORTAL_INITIAL_REFCNT) {
  ------------------
  |  |   47|  27.6k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
  |  Branch (287:9): [True: 255, False: 27.4k]
  ------------------
  288|       |        // the object is immortal
  289|    255|        _Py_INCREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   21|    255|#  define _Py_INCREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  290|    255|        return;
  291|    255|    }
  292|  27.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|  27.4k|    _Py_INCREF_STAT_INC();
  ------------------
  |  |   19|  27.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|  27.4k|#endif
  308|  27.4k|}
pegen.c:_Py_NewRef:
  535|  27.4k|{
  536|  27.4k|    Py_INCREF(obj);
  ------------------
  |  |  310|  27.4k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  27.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  27.4k|    return obj;
  538|  27.4k|}
pegen.c:_Py_XNewRef:
  541|  27.4k|{
  542|  27.4k|    Py_XINCREF(obj);
  ------------------
  |  |  514|  27.4k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  27.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  543|  27.4k|    return obj;
  544|  27.4k|}
pegen.c:Py_XINCREF:
  508|  27.4k|{
  509|  27.4k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|  27.4k|#  define _Py_NULL NULL
  ------------------
  |  Branch (509:9): [True: 248, False: 27.1k]
  ------------------
  510|    248|        Py_INCREF(op);
  ------------------
  |  |  310|    248|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    248|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    248|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|    248|    }
  512|  27.4k|}
pegen_errors.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: 0, False: 81.4k]
  ------------------
  427|      0|        _Py_Dealloc(op);
  428|      0|    }
  429|  81.4k|}
pegen_errors.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|}
state.c:Py_XDECREF:
  518|   165k|{
  519|   165k|    if (op != _Py_NULL) {
  ------------------
  |  |   57|   165k|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 27.6k, False: 137k]
  ------------------
  520|  27.6k|        Py_DECREF(op);
  ------------------
  |  |  430|  27.6k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  27.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|  27.6k|    }
  522|   165k|}
state.c:Py_DECREF:
  418|  27.6k|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|  27.6k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  27.6k|#define _Py_IsImmortal(op) _Py_IsImmortal(_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 (137:28): [True: 255, False: 27.4k]
  |  |  ------------------
  ------------------
  422|    255|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|    255|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|    255|        return;
  424|    255|    }
  425|  27.4k|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|  27.4k|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|  27.4k|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 10, False: 27.4k]
  ------------------
  427|     10|        _Py_Dealloc(op);
  428|     10|    }
  429|  27.4k|}
state.c:_Py_IsImmortal:
  127|  27.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|  27.6k|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|  27.6k|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|  27.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|}
string_parser.c:Py_DECREF:
  418|    119|{
  419|       |    // Non-limited C API and limited C API for Python 3.9 and older access
  420|       |    // directly PyObject.ob_refcnt.
  421|    119|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|    119|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    119|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    119|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 119]
  |  |  ------------------
  ------------------
  422|      0|        _Py_DECREF_IMMORTAL_STAT_INC();
  ------------------
  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  ------------------
  423|      0|        return;
  424|      0|    }
  425|    119|    _Py_DECREF_STAT_INC();
  ------------------
  |  |   20|    119|#  define _Py_DECREF_STAT_INC() ((void)0)
  ------------------
  426|    119|    if (--op->ob_refcnt == 0) {
  ------------------
  |  Branch (426:9): [True: 119, False: 0]
  ------------------
  427|    119|        _Py_Dealloc(op);
  428|    119|    }
  429|    119|}
string_parser.c:_Py_IsImmortal:
  127|    119|{
  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|    119|    return _Py_CAST(int32_t, op->ob_refcnt) < 0;
  ------------------
  |  |   37|    119|#define _Py_CAST(type, expr) ((type)(expr))
  ------------------
  133|       |#else
  134|       |    return op->ob_refcnt >= _Py_IMMORTAL_MINIMUM_REFCNT;
  135|       |#endif
  136|    119|}
string_parser.c:Py_XDECREF:
  518|    119|{
  519|    119|    if (op != _Py_NULL) {
  ------------------
  |  |   57|    119|#  define _Py_NULL NULL
  ------------------
  |  Branch (519:9): [True: 119, False: 0]
  ------------------
  520|    119|        Py_DECREF(op);
  ------------------
  |  |  430|    119|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    119|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    119|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  521|    119|    }
  522|    119|}

PyInit__abc:
 1000|      2|{
 1001|      2|    return PyModuleDef_Init(&_abcmodule);
 1002|      2|}
_abc.c:get_abc_state:
   29|  75.8k|{
   30|  75.8k|    void *state = _PyModule_GetState(module);
   31|       |    assert(state != NULL);
   32|  75.8k|    return (_abcmodule_state *)state;
   33|  75.8k|}
_abc.c:get_invalidation_counter:
   37|  30.4k|{
   38|       |#ifdef Py_GIL_DISABLED
   39|       |    return _Py_atomic_load_uint64(&state->abc_invalidation_counter);
   40|       |#else
   41|  30.4k|    return state->abc_invalidation_counter;
   42|  30.4k|#endif
   43|  30.4k|}
_abc.c:_abc__abc_init:
  499|    268|{
  500|    268|    _abcmodule_state *state = get_abc_state(module);
  501|    268|    PyObject *data;
  502|    268|    if (compute_abstract_methods(self) < 0) {
  ------------------
  |  Branch (502:9): [True: 0, False: 268]
  ------------------
  503|      0|        return NULL;
  504|      0|    }
  505|       |
  506|       |    /* Set up inheritance registry. */
  507|    268|    data = abc_data_new(state->_abc_data_type, NULL, NULL);
  508|    268|    if (data == NULL) {
  ------------------
  |  Branch (508:9): [True: 0, False: 268]
  ------------------
  509|      0|        return NULL;
  510|      0|    }
  511|    268|    if (PyObject_SetAttr(self, &_Py_ID(_abc_impl), data) < 0) {
  ------------------
  |  |  915|    268|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    268|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    268|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (511:9): [True: 0, False: 268]
  ------------------
  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|    268|    Py_DECREF(data);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  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|    268|    if (PyType_Check(self)) {
  ------------------
  |  |  766|    268|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    268|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    268|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 268, False: 0]
  |  |  ------------------
  ------------------
  521|    268|        PyTypeObject *cls = (PyTypeObject *)self;
  522|    268|        PyObject *dict = _PyType_GetDict(cls);
  523|    268|        PyObject *flags = NULL;
  524|    268|        if (PyDict_Pop(dict, &_Py_ID(__abc_tpflags__), &flags) < 0) {
  ------------------
  |  |  915|    268|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    268|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    268|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (524:13): [True: 0, False: 268]
  ------------------
  525|      0|            return NULL;
  526|      0|        }
  527|    268|        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: 264, False: 4]
  |  Branch (527:30): [True: 0, False: 4]
  ------------------
  528|    264|            Py_XDECREF(flags);
  ------------------
  |  |  524|    264|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    264|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    264|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  529|    264|            Py_RETURN_NONE;
  ------------------
  |  |  628|    264|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    264|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  530|    264|        }
  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|    268|}
_abc.c:compute_abstract_methods:
  363|    268|{
  364|    268|    int ret = -1;
  365|    268|    PyObject *abstracts = PyFrozenSet_New(NULL);
  366|    268|    if (abstracts == NULL) {
  ------------------
  |  Branch (366:9): [True: 0, False: 268]
  ------------------
  367|      0|        return -1;
  368|      0|    }
  369|       |
  370|    268|    PyObject *ns = NULL, *items = NULL, *bases = NULL;  // Py_XDECREF()ed on error.
  371|       |
  372|       |    /* Stage 1: direct abstract methods. */
  373|    268|    ns = PyObject_GetAttr(self, &_Py_ID(__dict__));
  ------------------
  |  |  915|    268|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    268|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    268|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  374|    268|    if (!ns) {
  ------------------
  |  Branch (374:9): [True: 0, False: 268]
  ------------------
  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|    268|    items = PyMapping_Items(ns);
  381|    268|    if (!items) {
  ------------------
  |  Branch (381:9): [True: 0, False: 268]
  ------------------
  382|      0|        goto error;
  383|      0|    }
  384|    268|    assert(PyList_Check(items));
  385|  3.97k|    for (Py_ssize_t pos = 0; pos < PyList_GET_SIZE(items); pos++) {
  ------------------
  |  |   38|  3.97k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.97k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.97k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (385:30): [True: 3.70k, False: 268]
  ------------------
  386|  3.70k|        PyObject *it = PySequence_Fast(
  387|  3.70k|                PyList_GET_ITEM(items, pos),
  ------------------
  |  |   40|  3.70k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|  3.70k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.70k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  388|  3.70k|                "items() returned non-iterable");
  389|  3.70k|        if (!it) {
  ------------------
  |  Branch (389:13): [True: 0, False: 3.70k]
  ------------------
  390|      0|            goto error;
  391|      0|        }
  392|  3.70k|        if (PySequence_Fast_GET_SIZE(it) != 2) {
  ------------------
  |  |   92|  3.70k|    (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   25|  3.70k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  3.70k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 0, False: 3.70k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (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.70k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.70k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.70k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (392:13): [True: 0, False: 3.70k]
  ------------------
  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.70k|        PyObject *key = PySequence_Fast_GET_ITEM(it, 0);
  ------------------
  |  |   97|  3.70k|     (PyList_Check(o) ? PyList_GET_ITEM((o), (i)) : PyTuple_GET_ITEM((o), (i)))
  |  |  ------------------
  |  |  |  |   25|  3.70k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  3.70k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 0, False: 3.70k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                    (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.70k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   19|  3.70k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.70k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  401|  3.70k|        PyObject *value = PySequence_Fast_GET_ITEM(it, 1);
  ------------------
  |  |   97|  3.70k|     (PyList_Check(o) ? PyList_GET_ITEM((o), (i)) : PyTuple_GET_ITEM((o), (i)))
  |  |  ------------------
  |  |  |  |   25|  3.70k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  3.70k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 0, False: 3.70k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                    (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.70k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   19|  3.70k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.70k|#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.70k|        Py_INCREF(key);
  ------------------
  |  |  310|  3.70k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.70k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.70k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  405|  3.70k|        int is_abstract = _PyObject_IsAbstract(value);
  406|  3.70k|        if (is_abstract < 0 ||
  ------------------
  |  Branch (406:13): [True: 0, False: 3.70k]
  ------------------
  407|  3.70k|                (is_abstract && PySet_Add(abstracts, key) < 0)) {
  ------------------
  |  Branch (407:18): [True: 226, False: 3.47k]
  |  Branch (407:33): [True: 0, False: 226]
  ------------------
  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.70k|        Py_DECREF(key);
  ------------------
  |  |  430|  3.70k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.70k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.70k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  413|  3.70k|        Py_DECREF(it);
  ------------------
  |  |  430|  3.70k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.70k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.70k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  414|  3.70k|    }
  415|       |
  416|       |    /* Stage 2: inherited abstract methods. */
  417|    268|    bases = PyObject_GetAttr(self, &_Py_ID(__bases__));
  ------------------
  |  |  915|    268|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    268|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    268|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  418|    268|    if (!bases) {
  ------------------
  |  Branch (418:9): [True: 0, False: 268]
  ------------------
  419|      0|        goto error;
  420|      0|    }
  421|    268|    if (!PyTuple_Check(bases)) {
  ------------------
  |  |   27|    268|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    268|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (421:9): [True: 0, False: 268]
  ------------------
  422|      0|        PyErr_SetString(PyExc_TypeError, "__bases__ is not tuple");
  423|      0|        goto error;
  424|      0|    }
  425|       |
  426|    584|    for (Py_ssize_t pos = 0; pos < PyTuple_GET_SIZE(bases); pos++) {
  ------------------
  |  |   27|    584|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    584|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    584|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (426:30): [True: 316, False: 268]
  ------------------
  427|    316|        PyObject *item = PyTuple_GET_ITEM(bases, pos);  // borrowed
  ------------------
  |  |   29|    316|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    316|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    316|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  428|    316|        PyObject *base_abstracts, *iter;
  429|       |
  430|    316|        if (PyObject_GetOptionalAttr(item, &_Py_ID(__abstractmethods__),
  ------------------
  |  |  915|    316|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    316|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    316|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (430:13): [True: 0, False: 316]
  ------------------
  431|    316|                                 &base_abstracts) < 0) {
  432|      0|            goto error;
  433|      0|        }
  434|    316|        if (base_abstracts == NULL) {
  ------------------
  |  Branch (434:13): [True: 66, False: 250]
  ------------------
  435|     66|            continue;
  436|     66|        }
  437|    250|        if (!(iter = PyObject_GetIter(base_abstracts))) {
  ------------------
  |  Branch (437:13): [True: 0, False: 250]
  ------------------
  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|    250|        Py_DECREF(base_abstracts);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  442|    250|        PyObject *key, *value;
  443|    746|        while ((key = PyIter_Next(iter))) {
  ------------------
  |  Branch (443:16): [True: 496, False: 250]
  ------------------
  444|    496|            if (PyObject_GetOptionalAttr(self, key, &value) < 0) {
  ------------------
  |  Branch (444:17): [True: 0, False: 496]
  ------------------
  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|    496|            if (value == NULL) {
  ------------------
  |  Branch (449:17): [True: 0, False: 496]
  ------------------
  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|    496|            int is_abstract = _PyObject_IsAbstract(value);
  455|    496|            Py_DECREF(value);
  ------------------
  |  |  430|    496|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    496|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    496|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  456|    496|            if (is_abstract < 0 ||
  ------------------
  |  Branch (456:17): [True: 0, False: 496]
  ------------------
  457|    496|                    (is_abstract && PySet_Add(abstracts, key) < 0))
  ------------------
  |  Branch (457:22): [True: 164, False: 332]
  |  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|    496|            Py_DECREF(key);
  ------------------
  |  |  430|    496|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    496|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    496|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  464|    496|        }
  465|    250|        Py_DECREF(iter);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  466|    250|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (466:13): [True: 0, False: 250]
  ------------------
  467|      0|            goto error;
  468|      0|        }
  469|    250|    }
  470|       |
  471|    268|    if (PyObject_SetAttr(self, &_Py_ID(__abstractmethods__), abstracts) < 0) {
  ------------------
  |  |  915|    268|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    268|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    268|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (471:9): [True: 0, False: 268]
  ------------------
  472|      0|        goto error;
  473|      0|    }
  474|       |
  475|    268|    ret = 0;
  476|    268|error:
  477|    268|    Py_DECREF(abstracts);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  478|    268|    Py_XDECREF(ns);
  ------------------
  |  |  524|    268|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    268|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    268|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  479|    268|    Py_XDECREF(items);
  ------------------
  |  |  524|    268|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    268|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    268|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  480|    268|    Py_XDECREF(bases);
  ------------------
  |  |  524|    268|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    268|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    268|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  481|    268|    return ret;
  482|    268|}
_abc.c:abc_data_new:
  125|    268|{
  126|    268|    _abc_data *self = (_abc_data *) type->tp_alloc(type, 0);
  127|    268|    _abcmodule_state *state = NULL;
  128|    268|    if (self == NULL) {
  ------------------
  |  Branch (128:9): [True: 0, False: 268]
  ------------------
  129|      0|        return NULL;
  130|      0|    }
  131|       |
  132|    268|    state = _PyType_GetModuleState(type);
  133|    268|    if (state == NULL) {
  ------------------
  |  Branch (133:9): [True: 0, False: 268]
  ------------------
  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|    268|    self->_abc_registry = NULL;
  139|    268|    self->_abc_cache = NULL;
  140|       |    self->_abc_negative_cache = NULL;
  141|    268|    self->_abc_negative_cache_version = get_invalidation_counter(state);
  142|    268|    return (PyObject *) self;
  143|    268|}
_abc.c:_get_impl:
  166|  45.3k|{
  167|  45.3k|    _abcmodule_state *state = get_abc_state(module);
  168|  45.3k|    PyObject *impl = PyObject_GetAttr(self, &_Py_ID(_abc_impl));
  ------------------
  |  |  915|  45.3k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  45.3k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  45.3k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  169|  45.3k|    if (impl == NULL) {
  ------------------
  |  Branch (169:9): [True: 0, False: 45.3k]
  ------------------
  170|      0|        return NULL;
  171|      0|    }
  172|  45.3k|    if (!Py_IS_TYPE(impl, state->_abc_data_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 (172:9): [True: 0, False: 45.3k]
  ------------------
  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|  45.3k|    return (_abc_data *)impl;
  178|  45.3k|}
_abc.c:get_cache_version:
   74|  30.2k|{
   75|       |#ifdef Py_GIL_DISABLED
   76|       |    return _Py_atomic_load_uint64(&impl->_abc_negative_cache_version);
   77|       |#else
   78|  30.2k|    return impl->_abc_negative_cache_version;
   79|  30.2k|#endif
   80|  30.2k|}
_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|    274|{
  225|    274|    PyObject *set;
  226|    274|    Py_BEGIN_CRITICAL_SECTION(impl);
  ------------------
  |  |   51|    274|    {
  ------------------
  227|    274|    set = *pset;
  228|    274|    if (set == NULL) {
  ------------------
  |  Branch (228:9): [True: 142, False: 132]
  ------------------
  229|    142|        set = *pset = PySet_New(NULL);
  230|    142|    }
  231|    274|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    274|    }
  ------------------
  232|    274|    if (set == NULL) {
  ------------------
  |  Branch (232:9): [True: 0, False: 274]
  ------------------
  233|      0|        return -1;
  234|      0|    }
  235|       |
  236|    274|    PyObject *ref, *wr;
  237|    274|    PyObject *destroy_cb;
  238|    274|    wr = PyWeakref_NewRef(set, NULL);
  239|    274|    if (wr == NULL) {
  ------------------
  |  Branch (239:9): [True: 0, False: 274]
  ------------------
  240|      0|        return -1;
  241|      0|    }
  242|    274|    destroy_cb = PyCFunction_NewEx(&_destroy_def, wr, NULL);
  ------------------
  |  |   87|    274|#define PyCFunction_NewEx(ML, SELF, MOD) PyCMethod_New((ML), (SELF), (MOD), NULL)
  ------------------
  243|    274|    if (destroy_cb == NULL) {
  ------------------
  |  Branch (243:9): [True: 0, False: 274]
  ------------------
  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|    274|    ref = PyWeakref_NewRef(obj, destroy_cb);
  248|    274|    Py_DECREF(destroy_cb);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  249|    274|    if (ref == NULL) {
  ------------------
  |  Branch (249:9): [True: 0, False: 274]
  ------------------
  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|    274|    int ret = PySet_Add(set, ref);
  254|    274|    Py_DECREF(wr);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  255|    274|    Py_DECREF(ref);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  256|    274|    return ret;
  257|    274|}
_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|  33.4k|{
  626|  33.4k|    PyObject *subtype, *result = NULL, *subclass = NULL;
  627|  33.4k|    _abc_data *impl = _get_impl(module, self);
  628|  33.4k|    if (impl == NULL) {
  ------------------
  |  Branch (628:9): [True: 0, False: 33.4k]
  ------------------
  629|      0|        return NULL;
  630|      0|    }
  631|       |
  632|  33.4k|    subclass = PyObject_GetAttr(instance, &_Py_ID(__class__));
  ------------------
  |  |  915|  33.4k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  33.4k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  33.4k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  633|  33.4k|    if (subclass == NULL) {
  ------------------
  |  Branch (633:9): [True: 0, False: 33.4k]
  ------------------
  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|  33.4k|    int incache = _in_weak_set(impl, &impl->_abc_cache, subclass);
  639|  33.4k|    if (incache < 0) {
  ------------------
  |  Branch (639:9): [True: 0, False: 33.4k]
  ------------------
  640|      0|        goto end;
  641|      0|    }
  642|  33.4k|    if (incache > 0) {
  ------------------
  |  Branch (642:9): [True: 14.9k, False: 18.5k]
  ------------------
  643|  14.9k|        result = Py_NewRef(Py_True);
  ------------------
  |  |  550|  14.9k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  14.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  644|  14.9k|        goto end;
  645|  14.9k|    }
  646|  18.5k|    subtype = (PyObject *)Py_TYPE(instance);
  ------------------
  |  |  213|  18.5k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  18.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  647|  18.5k|    if (subtype == subclass) {
  ------------------
  |  Branch (647:9): [True: 18.5k, False: 0]
  ------------------
  648|  18.5k|        if (get_cache_version(impl) == get_invalidation_counter(get_abc_state(module))) {
  ------------------
  |  Branch (648:13): [True: 18.4k, False: 6]
  ------------------
  649|  18.4k|            incache = _in_weak_set(impl, &impl->_abc_negative_cache, subclass);
  650|  18.4k|            if (incache < 0) {
  ------------------
  |  Branch (650:17): [True: 0, False: 18.4k]
  ------------------
  651|      0|                goto end;
  652|      0|            }
  653|  18.4k|            if (incache > 0) {
  ------------------
  |  Branch (653:17): [True: 6.98k, False: 11.5k]
  ------------------
  654|  6.98k|                result = Py_NewRef(Py_False);
  ------------------
  |  |  550|  6.98k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  6.98k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.98k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  655|  6.98k|                goto end;
  656|  6.98k|            }
  657|  18.4k|        }
  658|       |        /* Fall back to the subclass check. */
  659|  11.5k|        result = PyObject_CallMethodOneArg(self, &_Py_ID(__subclasscheck__),
  ------------------
  |  |  915|  11.5k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  11.5k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  11.5k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  660|  11.5k|                                           subclass);
  661|  11.5k|        goto end;
  662|  18.5k|    }
  663|      0|    result = PyObject_CallMethodOneArg(self, &_Py_ID(__subclasscheck__),
  ------------------
  |  |  915|      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__),
  ------------------
  |  |  915|      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|  33.4k|end:
  685|  33.4k|    Py_XDECREF(impl);
  ------------------
  |  |  524|  33.4k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  33.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  33.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  686|  33.4k|    Py_XDECREF(subclass);
  ------------------
  |  |  524|  33.4k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  33.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  33.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  687|  33.4k|    return result;
  688|      0|}
_abc.c:_in_weak_set:
  182|  86.9k|{
  183|  86.9k|    PyObject *set;
  184|  86.9k|    Py_BEGIN_CRITICAL_SECTION(impl);
  ------------------
  |  |   51|  86.9k|    {
  ------------------
  185|  86.9k|    set = *pset;
  186|  86.9k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  86.9k|    }
  ------------------
  187|  86.9k|    if (set == NULL || PySet_GET_SIZE(set) == 0) {
  ------------------
  |  |   71|  83.2k|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|  83.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  83.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (187:9): [True: 3.77k, False: 83.2k]
  |  Branch (187:24): [True: 23.0k, False: 60.1k]
  ------------------
  188|  26.8k|        return 0;
  189|  26.8k|    }
  190|  60.1k|    PyObject *ref = PyWeakref_NewRef(obj, NULL);
  191|  60.1k|    if (ref == NULL) {
  ------------------
  |  Branch (191:9): [True: 0, False: 60.1k]
  ------------------
  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|  60.1k|    int res = PySet_Contains(set, ref);
  199|  60.1k|    Py_DECREF(ref);
  ------------------
  |  |  430|  60.1k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  60.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  60.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  200|  60.1k|    return res;
  201|  60.1k|}
_abc.c:_abc__abc_subclasscheck_impl:
  712|  11.7k|{
  713|  11.7k|    if (!PyType_Check(subclass)) {
  ------------------
  |  |  766|  11.7k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (713:9): [True: 0, False: 11.7k]
  ------------------
  714|      0|        PyErr_SetString(PyExc_TypeError, "issubclass() arg 1 must be a class");
  715|      0|        return NULL;
  716|      0|    }
  717|       |
  718|  11.7k|    PyObject *ok, *subclasses = NULL, *result = NULL;
  719|  11.7k|    _abcmodule_state *state = NULL;
  720|  11.7k|    Py_ssize_t pos;
  721|  11.7k|    int incache;
  722|  11.7k|    _abc_data *impl = _get_impl(module, self);
  723|  11.7k|    if (impl == NULL) {
  ------------------
  |  Branch (723:9): [True: 0, False: 11.7k]
  ------------------
  724|      0|        return NULL;
  725|      0|    }
  726|       |
  727|       |    /* 1. Check cache. */
  728|  11.7k|    incache = _in_weak_set(impl, &impl->_abc_cache, subclass);
  729|  11.7k|    if (incache < 0) {
  ------------------
  |  Branch (729:9): [True: 0, False: 11.7k]
  ------------------
  730|      0|        goto end;
  731|      0|    }
  732|  11.7k|    if (incache > 0) {
  ------------------
  |  Branch (732:9): [True: 2, False: 11.7k]
  ------------------
  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|  11.7k|    state = get_abc_state(module);
  738|       |    /* 2. Check negative cache; may have to invalidate. */
  739|  11.7k|    uint64_t invalidation_counter = get_invalidation_counter(state);
  740|  11.7k|    if (get_cache_version(impl) < invalidation_counter) {
  ------------------
  |  Branch (740:9): [True: 111, False: 11.6k]
  ------------------
  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|  11.6k|    else {
  752|  11.6k|        incache = _in_weak_set(impl, &impl->_abc_negative_cache, subclass);
  753|  11.6k|        if (incache < 0) {
  ------------------
  |  Branch (753:13): [True: 0, False: 11.6k]
  ------------------
  754|      0|            goto end;
  755|      0|        }
  756|  11.6k|        if (incache > 0) {
  ------------------
  |  Branch (756:13): [True: 0, False: 11.6k]
  ------------------
  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|  11.6k|    }
  761|       |
  762|       |    /* 3. Check the subclass hook. */
  763|  11.7k|    ok = PyObject_CallMethodOneArg(
  764|  11.7k|            (PyObject *)self, &_Py_ID(__subclasshook__), subclass);
  ------------------
  |  |  915|  11.7k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  11.7k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  11.7k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  765|  11.7k|    if (ok == NULL) {
  ------------------
  |  Branch (765:9): [True: 0, False: 11.7k]
  ------------------
  766|      0|        goto end;
  767|      0|    }
  768|  11.7k|    if (ok == Py_True) {
  ------------------
  |  |   26|  11.7k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|  11.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (768:9): [True: 36, False: 11.6k]
  ------------------
  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|  11.6k|    if (ok == Py_False) {
  ------------------
  |  |   25|  11.6k|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|  11.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (776:9): [True: 0, False: 11.6k]
  ------------------
  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|  11.6k|    if (ok != Py_NotImplemented) {
  ------------------
  |  |  640|  11.6k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (784:9): [True: 0, False: 11.6k]
  ------------------
  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|  11.6k|    Py_DECREF(ok);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  791|       |
  792|       |    /* 4. Check if it's a direct subclass. */
  793|  11.6k|    if (PyType_IsSubtype((PyTypeObject *)subclass, (PyTypeObject *)self)) {
  ------------------
  |  Branch (793:9): [True: 3, False: 11.6k]
  ------------------
  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|  11.6k|    if (subclasscheck_check_registry(impl, subclass, &result)) {
  ------------------
  |  Branch (802:9): [True: 11.5k, False: 141]
  ------------------
  803|       |        // Exception occurred or result is set.
  804|  11.5k|        goto end;
  805|  11.5k|    }
  806|       |
  807|       |    /* 6. Check if it's a subclass of a subclass (recursive). */
  808|    141|    subclasses = PyObject_CallMethod(self, "__subclasses__", NULL);
  809|    141|    if (subclasses == NULL) {
  ------------------
  |  Branch (809:9): [True: 0, False: 141]
  ------------------
  810|      0|        goto end;
  811|      0|    }
  812|    141|    if (!PyList_Check(subclasses)) {
  ------------------
  |  |   25|    141|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    141|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (812:9): [True: 0, False: 141]
  ------------------
  813|      0|        PyErr_SetString(PyExc_TypeError, "__subclasses__() must return a list");
  814|      0|        goto end;
  815|      0|    }
  816|    185|    for (pos = 0; pos < PyList_GET_SIZE(subclasses); pos++) {
  ------------------
  |  |   38|    185|#define PyList_GET_SIZE(op) PyList_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 (816:19): [True: 45, False: 140]
  ------------------
  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|    140|    if (_add_to_weak_set(impl, &impl->_abc_negative_cache, subclass) < 0) {
  ------------------
  |  Branch (836:9): [True: 0, False: 140]
  ------------------
  837|      0|        goto end;
  838|      0|    }
  839|    140|    result = Py_False;
  ------------------
  |  |   25|    140|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|    140|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    140|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  840|       |
  841|  11.7k|end:
  842|  11.7k|    Py_DECREF(impl);
  ------------------
  |  |  430|  11.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  843|  11.7k|    Py_XDECREF(subclasses);
  ------------------
  |  |  524|  11.7k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  844|  11.7k|    return Py_XNewRef(result);
  ------------------
  |  |  551|  11.7k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  11.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  845|    140|}
_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|  11.6k|{
  852|       |    // Fast path: check subclass is in weakref directly.
  853|  11.6k|    int ret = _in_weak_set(impl, &impl->_abc_registry, subclass);
  854|  11.6k|    if (ret < 0) {
  ------------------
  |  Branch (854:9): [True: 0, False: 11.6k]
  ------------------
  855|      0|        *result = NULL;
  856|      0|        return -1;
  857|      0|    }
  858|  11.6k|    if (ret > 0) {
  ------------------
  |  Branch (858:9): [True: 11.5k, False: 143]
  ------------------
  859|  11.5k|        *result = Py_True;
  ------------------
  |  |   26|  11.5k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|  11.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  860|  11.5k|        return 1;
  861|  11.5k|    }
  862|       |
  863|    143|    PyObject *registry_shared;
  864|    143|    Py_BEGIN_CRITICAL_SECTION(impl);
  ------------------
  |  |   51|    143|    {
  ------------------
  865|    143|    registry_shared = impl->_abc_registry;
  866|    143|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    143|    }
  ------------------
  867|    143|    if (registry_shared == NULL) {
  ------------------
  |  Branch (867:9): [True: 82, False: 61]
  ------------------
  868|     82|        return 0;
  869|     82|    }
  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.11k|{
   95|  2.11k|    _abc_data *self = _abc_data_CAST(op);
  ------------------
  |  |   70|  2.11k|#define _abc_data_CAST(op)  ((_abc_data *)(op))
  ------------------
   96|  2.11k|    Py_VISIT(Py_TYPE(self));
  ------------------
  |  |  194|  2.11k|    do {                                                                \
  |  |  195|  2.11k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 2.11k, False: 0]
  |  |  ------------------
  |  |  196|  2.11k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  2.11k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.11k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  2.11k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 2.11k]
  |  |  ------------------
  |  |  198|  2.11k|                return vret;                                            \
  |  |  199|  2.11k|        }                                                               \
  |  |  200|  2.11k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.11k]
  |  |  ------------------
  ------------------
   97|  2.11k|    Py_VISIT(self->_abc_registry);
  ------------------
  |  |  194|  2.11k|    do {                                                                \
  |  |  195|  2.11k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 368, False: 1.74k]
  |  |  ------------------
  |  |  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.11k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.11k]
  |  |  ------------------
  ------------------
   98|  2.11k|    Py_VISIT(self->_abc_cache);
  ------------------
  |  |  194|  2.11k|    do {                                                                \
  |  |  195|  2.11k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 104, False: 2.00k]
  |  |  ------------------
  |  |  196|    104|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    104|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    104|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    104|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 104]
  |  |  ------------------
  |  |  198|    104|                return vret;                                            \
  |  |  199|    104|        }                                                               \
  |  |  200|  2.11k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.11k]
  |  |  ------------------
  ------------------
   99|  2.11k|    Py_VISIT(self->_abc_negative_cache);
  ------------------
  |  |  194|  2.11k|    do {                                                                \
  |  |  195|  2.11k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 558, False: 1.55k]
  |  |  ------------------
  |  |  196|    558|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    558|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    558|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    558|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 558]
  |  |  ------------------
  |  |  198|    558|                return vret;                                            \
  |  |  199|    558|        }                                                               \
  |  |  200|  2.11k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.11k]
  |  |  ------------------
  ------------------
  100|  2.11k|    return 0;
  101|  2.11k|}
_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:
 4411|      2|{
 4412|      2|    return PyModuleDef_Init(&_asynciomodule);
 4413|      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:
 4354|      2|{
 4355|      2|    asyncio_state *state = get_asyncio_state(mod);
 4356|       |
 4357|       |
 4358|      2|#define CREATE_TYPE(m, tp, spec, base)                                  \
 4359|      2|    do {                                                                \
 4360|      2|        tp = (PyTypeObject *)PyType_FromMetaclass(NULL, m, spec,        \
 4361|      2|                                                  (PyObject *)base);    \
 4362|      2|        if (tp == NULL) {                                               \
 4363|      2|            return -1;                                                  \
 4364|      2|        }                                                               \
 4365|      2|    } while (0)
 4366|       |
 4367|      2|    CREATE_TYPE(mod, state->TaskStepMethWrapper_Type, &TaskStepMethWrapper_spec, NULL);
  ------------------
  |  | 4359|      2|    do {                                                                \
  |  | 4360|      2|        tp = (PyTypeObject *)PyType_FromMetaclass(NULL, m, spec,        \
  |  | 4361|      2|                                                  (PyObject *)base);    \
  |  | 4362|      2|        if (tp == NULL) {                                               \
  |  |  ------------------
  |  |  |  Branch (4362:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4363|      0|            return -1;                                                  \
  |  | 4364|      0|        }                                                               \
  |  | 4365|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4365:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4368|      2|    CREATE_TYPE(mod, state->FutureIterType, &FutureIter_spec, NULL);
  ------------------
  |  | 4359|      2|    do {                                                                \
  |  | 4360|      2|        tp = (PyTypeObject *)PyType_FromMetaclass(NULL, m, spec,        \
  |  | 4361|      2|                                                  (PyObject *)base);    \
  |  | 4362|      2|        if (tp == NULL) {                                               \
  |  |  ------------------
  |  |  |  Branch (4362:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4363|      0|            return -1;                                                  \
  |  | 4364|      0|        }                                                               \
  |  | 4365|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4365:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4369|      2|    CREATE_TYPE(mod, state->FutureType, &Future_spec, NULL);
  ------------------
  |  | 4359|      2|    do {                                                                \
  |  | 4360|      2|        tp = (PyTypeObject *)PyType_FromMetaclass(NULL, m, spec,        \
  |  | 4361|      2|                                                  (PyObject *)base);    \
  |  | 4362|      2|        if (tp == NULL) {                                               \
  |  |  ------------------
  |  |  |  Branch (4362:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4363|      0|            return -1;                                                  \
  |  | 4364|      0|        }                                                               \
  |  | 4365|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4365:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4370|      2|    CREATE_TYPE(mod, state->TaskType, &Task_spec, state->FutureType);
  ------------------
  |  | 4359|      2|    do {                                                                \
  |  | 4360|      2|        tp = (PyTypeObject *)PyType_FromMetaclass(NULL, m, spec,        \
  |  | 4361|      2|                                                  (PyObject *)base);    \
  |  | 4362|      2|        if (tp == NULL) {                                               \
  |  |  ------------------
  |  |  |  Branch (4362:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4363|      0|            return -1;                                                  \
  |  | 4364|      0|        }                                                               \
  |  | 4365|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4365:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4371|       |
 4372|      2|#undef CREATE_TYPE
 4373|       |
 4374|      2|    if (PyModule_AddType(mod, state->FutureType) < 0) {
  ------------------
  |  Branch (4374:9): [True: 0, False: 2]
  ------------------
 4375|      0|        return -1;
 4376|      0|    }
 4377|       |
 4378|      2|    if (PyModule_AddType(mod, state->TaskType) < 0) {
  ------------------
  |  Branch (4378:9): [True: 0, False: 2]
  ------------------
 4379|      0|        return -1;
 4380|      0|    }
 4381|       |    // Must be done after types are added to avoid a circular dependency
 4382|      2|    if (module_init(state) < 0) {
  ------------------
  |  Branch (4382:9): [True: 0, False: 2]
  ------------------
 4383|      0|        return -1;
 4384|      0|    }
 4385|       |
 4386|      2|    return 0;
 4387|      2|}
_asynciomodule.c:module_init:
 4252|      2|{
 4253|      2|    PyObject *module = NULL;
 4254|       |
 4255|      2|    state->asyncio_mod = PyImport_ImportModule("asyncio");
 4256|      2|    if (state->asyncio_mod == NULL) {
  ------------------
  |  Branch (4256:9): [True: 0, False: 2]
  ------------------
 4257|      0|        goto fail;
 4258|      0|    }
 4259|       |
 4260|      2|    state->iscoroutine_typecache = PySet_New(NULL);
 4261|      2|    if (state->iscoroutine_typecache == NULL) {
  ------------------
  |  Branch (4261:9): [True: 0, False: 2]
  ------------------
 4262|      0|        goto fail;
 4263|      0|    }
 4264|       |
 4265|      2|    state->context_kwname = Py_BuildValue("(s)", "context");
 4266|      2|    if (state->context_kwname == NULL) {
  ------------------
  |  Branch (4266:9): [True: 0, False: 2]
  ------------------
 4267|      0|        goto fail;
 4268|      0|    }
 4269|       |
 4270|      2|#define WITH_MOD(NAME) \
 4271|      2|    Py_CLEAR(module); \
 4272|      2|    module = PyImport_ImportModule(NAME); \
 4273|      2|    if (module == NULL) { \
 4274|      2|        goto fail; \
 4275|      2|    }
 4276|       |
 4277|      2|#define GET_MOD_ATTR(VAR, NAME) \
 4278|      2|    VAR = PyObject_GetAttrString(module, NAME); \
 4279|      2|    if (VAR == NULL) { \
 4280|      2|        goto fail; \
 4281|      2|    }
 4282|       |
 4283|      2|    WITH_MOD("asyncio.events")
  ------------------
  |  | 4271|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4272|      2|    module = PyImport_ImportModule(NAME); \
  |  | 4273|      2|    if (module == NULL) { \
  |  |  ------------------
  |  |  |  Branch (4273:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4274|      0|        goto fail; \
  |  | 4275|      0|    }
  ------------------
 4284|      2|    GET_MOD_ATTR(state->asyncio_get_event_loop_policy, "_get_event_loop_policy")
  ------------------
  |  | 4278|      2|    VAR = PyObject_GetAttrString(module, NAME); \
  |  | 4279|      2|    if (VAR == NULL) { \
  |  |  ------------------
  |  |  |  Branch (4279:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4280|      0|        goto fail; \
  |  | 4281|      0|    }
  ------------------
 4285|       |
 4286|      2|    WITH_MOD("asyncio.base_futures")
  ------------------
  |  | 4271|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4272|      2|    module = PyImport_ImportModule(NAME); \
  |  | 4273|      2|    if (module == NULL) { \
  |  |  ------------------
  |  |  |  Branch (4273:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4274|      0|        goto fail; \
  |  | 4275|      0|    }
  ------------------
 4287|      2|    GET_MOD_ATTR(state->asyncio_future_repr_func, "_future_repr")
  ------------------
  |  | 4278|      2|    VAR = PyObject_GetAttrString(module, NAME); \
  |  | 4279|      2|    if (VAR == NULL) { \
  |  |  ------------------
  |  |  |  Branch (4279:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4280|      0|        goto fail; \
  |  | 4281|      0|    }
  ------------------
 4288|       |
 4289|      2|    WITH_MOD("asyncio.exceptions")
  ------------------
  |  | 4271|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4272|      2|    module = PyImport_ImportModule(NAME); \
  |  | 4273|      2|    if (module == NULL) { \
  |  |  ------------------
  |  |  |  Branch (4273:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4274|      0|        goto fail; \
  |  | 4275|      0|    }
  ------------------
 4290|      2|    GET_MOD_ATTR(state->asyncio_InvalidStateError, "InvalidStateError")
  ------------------
  |  | 4278|      2|    VAR = PyObject_GetAttrString(module, NAME); \
  |  | 4279|      2|    if (VAR == NULL) { \
  |  |  ------------------
  |  |  |  Branch (4279:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4280|      0|        goto fail; \
  |  | 4281|      0|    }
  ------------------
 4291|      2|    GET_MOD_ATTR(state->asyncio_CancelledError, "CancelledError")
  ------------------
  |  | 4278|      2|    VAR = PyObject_GetAttrString(module, NAME); \
  |  | 4279|      2|    if (VAR == NULL) { \
  |  |  ------------------
  |  |  |  Branch (4279:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4280|      0|        goto fail; \
  |  | 4281|      0|    }
  ------------------
 4292|       |
 4293|      2|    WITH_MOD("asyncio.base_tasks")
  ------------------
  |  | 4271|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4272|      2|    module = PyImport_ImportModule(NAME); \
  |  | 4273|      2|    if (module == NULL) { \
  |  |  ------------------
  |  |  |  Branch (4273:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4274|      0|        goto fail; \
  |  | 4275|      0|    }
  ------------------
 4294|      2|    GET_MOD_ATTR(state->asyncio_task_repr_func, "_task_repr")
  ------------------
  |  | 4278|      2|    VAR = PyObject_GetAttrString(module, NAME); \
  |  | 4279|      2|    if (VAR == NULL) { \
  |  |  ------------------
  |  |  |  Branch (4279:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4280|      0|        goto fail; \
  |  | 4281|      0|    }
  ------------------
 4295|      2|    GET_MOD_ATTR(state->asyncio_task_get_stack_func, "_task_get_stack")
  ------------------
  |  | 4278|      2|    VAR = PyObject_GetAttrString(module, NAME); \
  |  | 4279|      2|    if (VAR == NULL) { \
  |  |  ------------------
  |  |  |  Branch (4279:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4280|      0|        goto fail; \
  |  | 4281|      0|    }
  ------------------
 4296|      2|    GET_MOD_ATTR(state->asyncio_task_print_stack_func, "_task_print_stack")
  ------------------
  |  | 4278|      2|    VAR = PyObject_GetAttrString(module, NAME); \
  |  | 4279|      2|    if (VAR == NULL) { \
  |  |  ------------------
  |  |  |  Branch (4279:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4280|      0|        goto fail; \
  |  | 4281|      0|    }
  ------------------
 4297|       |
 4298|      2|    WITH_MOD("asyncio.coroutines")
  ------------------
  |  | 4271|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4272|      2|    module = PyImport_ImportModule(NAME); \
  |  | 4273|      2|    if (module == NULL) { \
  |  |  ------------------
  |  |  |  Branch (4273:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4274|      0|        goto fail; \
  |  | 4275|      0|    }
  ------------------
 4299|      2|    GET_MOD_ATTR(state->asyncio_iscoroutine_func, "iscoroutine")
  ------------------
  |  | 4278|      2|    VAR = PyObject_GetAttrString(module, NAME); \
  |  | 4279|      2|    if (VAR == NULL) { \
  |  |  ------------------
  |  |  |  Branch (4279:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4280|      0|        goto fail; \
  |  | 4281|      0|    }
  ------------------
 4300|       |
 4301|      2|    WITH_MOD("traceback")
  ------------------
  |  | 4271|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4272|      2|    module = PyImport_ImportModule(NAME); \
  |  | 4273|      2|    if (module == NULL) { \
  |  |  ------------------
  |  |  |  Branch (4273:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4274|      0|        goto fail; \
  |  | 4275|      0|    }
  ------------------
 4302|      2|    GET_MOD_ATTR(state->traceback_extract_stack, "extract_stack")
  ------------------
  |  | 4278|      2|    VAR = PyObject_GetAttrString(module, NAME); \
  |  | 4279|      2|    if (VAR == NULL) { \
  |  |  ------------------
  |  |  |  Branch (4279:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4280|      0|        goto fail; \
  |  | 4281|      0|    }
  ------------------
 4303|       |
 4304|      2|    PyObject *weak_set;
 4305|      2|    WITH_MOD("weakref")
  ------------------
  |  | 4271|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4272|      2|    module = PyImport_ImportModule(NAME); \
  |  | 4273|      2|    if (module == NULL) { \
  |  |  ------------------
  |  |  |  Branch (4273:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4274|      0|        goto fail; \
  |  | 4275|      0|    }
  ------------------
 4306|      2|    GET_MOD_ATTR(weak_set, "WeakSet");
  ------------------
  |  | 4278|      2|    VAR = PyObject_GetAttrString(module, NAME); \
  |  | 4279|      2|    if (VAR == NULL) { \
  |  |  ------------------
  |  |  |  Branch (4279:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4280|      0|        goto fail; \
  |  | 4281|      0|    }
  ------------------
 4307|      2|    state->non_asyncio_tasks = PyObject_CallNoArgs(weak_set);
 4308|      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]
  |  |  ------------------
  ------------------
 4309|      2|    if (state->non_asyncio_tasks == NULL) {
  ------------------
  |  Branch (4309:9): [True: 0, False: 2]
  ------------------
 4310|      0|        goto fail;
 4311|      0|    }
 4312|       |
 4313|      2|    state->non_asyncio_eager_tasks = PySet_New(NULL);
 4314|      2|    if (state->non_asyncio_eager_tasks == NULL) {
  ------------------
  |  Branch (4314:9): [True: 0, False: 2]
  ------------------
 4315|      0|        goto fail;
 4316|      0|    }
 4317|       |
 4318|      2|    state->debug_offsets = &_Py_AsyncioDebug;
 4319|       |
 4320|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4321|      2|    return 0;
 4322|       |
 4323|      0|fail:
 4324|      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]
  |  |  ------------------
  ------------------
 4325|      0|    return -1;
 4326|       |
 4327|      2|#undef WITH_MOD
 4328|      2|#undef GET_MOD_ATTR
 4329|      2|}
_asynciomodule.c:module_traverse:
 4180|     16|{
 4181|     16|    asyncio_state *state = get_asyncio_state(mod);
 4182|       |
 4183|     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]
  |  |  ------------------
  ------------------
 4184|     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]
  |  |  ------------------
  ------------------
 4185|     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]
  |  |  ------------------
  ------------------
 4186|     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]
  |  |  ------------------
  ------------------
 4187|       |
 4188|     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]
  |  |  ------------------
  ------------------
 4189|     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]
  |  |  ------------------
  ------------------
 4190|     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]
  |  |  ------------------
  ------------------
 4191|     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]
  |  |  ------------------
  ------------------
 4192|     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]
  |  |  ------------------
  ------------------
 4193|     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]
  |  |  ------------------
  ------------------
 4194|     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]
  |  |  ------------------
  ------------------
 4195|     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]
  |  |  ------------------
  ------------------
 4196|     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]
  |  |  ------------------
  ------------------
 4197|     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]
  |  |  ------------------
  ------------------
 4198|       |
 4199|     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]
  |  |  ------------------
  ------------------
 4200|     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]
  |  |  ------------------
  ------------------
 4201|     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]
  |  |  ------------------
  ------------------
 4202|       |
 4203|     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]
  |  |  ------------------
  ------------------
 4204|       |
 4205|     16|    return 0;
 4206|     16|}

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

PyInit__collections:
 2897|      2|{
 2898|      2|    return PyModuleDef_Init(&_collectionsmodule);
 2899|      2|}
_collectionsmodule.c:collections_exec:
 2858|      2|collections_exec(PyObject *module) {
 2859|      2|    collections_state *state = get_module_state(module);
 2860|      2|    ADD_TYPE(module, &deque_spec, state->deque_type, NULL);
  ------------------
  |  | 2846|      2|#define ADD_TYPE(MOD, SPEC, TYPE, BASE) do {                        \
  |  | 2847|      2|    TYPE = (PyTypeObject *)PyType_FromMetaclass(NULL, MOD, SPEC,    \
  |  | 2848|      2|                                                (PyObject *)BASE);  \
  |  | 2849|      2|    if (TYPE == NULL) {                                             \
  |  |  ------------------
  |  |  |  Branch (2849:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 2850|      0|        return -1;                                                  \
  |  | 2851|      0|    }                                                               \
  |  | 2852|      2|    if (PyModule_AddType(MOD, TYPE) < 0) {                          \
  |  |  ------------------
  |  |  |  Branch (2852:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 2853|      0|        return -1;                                                  \
  |  | 2854|      0|    }                                                               \
  |  | 2855|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (2855:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2861|      2|    ADD_TYPE(module, &defdict_spec, state->defdict_type, &PyDict_Type);
  ------------------
  |  | 2846|      2|#define ADD_TYPE(MOD, SPEC, TYPE, BASE) do {                        \
  |  | 2847|      2|    TYPE = (PyTypeObject *)PyType_FromMetaclass(NULL, MOD, SPEC,    \
  |  | 2848|      2|                                                (PyObject *)BASE);  \
  |  | 2849|      2|    if (TYPE == NULL) {                                             \
  |  |  ------------------
  |  |  |  Branch (2849:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 2850|      0|        return -1;                                                  \
  |  | 2851|      0|    }                                                               \
  |  | 2852|      2|    if (PyModule_AddType(MOD, TYPE) < 0) {                          \
  |  |  ------------------
  |  |  |  Branch (2852:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 2853|      0|        return -1;                                                  \
  |  | 2854|      0|    }                                                               \
  |  | 2855|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (2855:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2862|      2|    ADD_TYPE(module, &dequeiter_spec, state->dequeiter_type, NULL);
  ------------------
  |  | 2846|      2|#define ADD_TYPE(MOD, SPEC, TYPE, BASE) do {                        \
  |  | 2847|      2|    TYPE = (PyTypeObject *)PyType_FromMetaclass(NULL, MOD, SPEC,    \
  |  | 2848|      2|                                                (PyObject *)BASE);  \
  |  | 2849|      2|    if (TYPE == NULL) {                                             \
  |  |  ------------------
  |  |  |  Branch (2849:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 2850|      0|        return -1;                                                  \
  |  | 2851|      0|    }                                                               \
  |  | 2852|      2|    if (PyModule_AddType(MOD, TYPE) < 0) {                          \
  |  |  ------------------
  |  |  |  Branch (2852:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 2853|      0|        return -1;                                                  \
  |  | 2854|      0|    }                                                               \
  |  | 2855|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (2855:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2863|      2|    ADD_TYPE(module, &dequereviter_spec, state->dequereviter_type, NULL);
  ------------------
  |  | 2846|      2|#define ADD_TYPE(MOD, SPEC, TYPE, BASE) do {                        \
  |  | 2847|      2|    TYPE = (PyTypeObject *)PyType_FromMetaclass(NULL, MOD, SPEC,    \
  |  | 2848|      2|                                                (PyObject *)BASE);  \
  |  | 2849|      2|    if (TYPE == NULL) {                                             \
  |  |  ------------------
  |  |  |  Branch (2849:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 2850|      0|        return -1;                                                  \
  |  | 2851|      0|    }                                                               \
  |  | 2852|      2|    if (PyModule_AddType(MOD, TYPE) < 0) {                          \
  |  |  ------------------
  |  |  |  Branch (2852:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 2853|      0|        return -1;                                                  \
  |  | 2854|      0|    }                                                               \
  |  | 2855|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (2855:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2864|      2|    ADD_TYPE(module, &tuplegetter_spec, state->tuplegetter_type, NULL);
  ------------------
  |  | 2846|      2|#define ADD_TYPE(MOD, SPEC, TYPE, BASE) do {                        \
  |  | 2847|      2|    TYPE = (PyTypeObject *)PyType_FromMetaclass(NULL, MOD, SPEC,    \
  |  | 2848|      2|                                                (PyObject *)BASE);  \
  |  | 2849|      2|    if (TYPE == NULL) {                                             \
  |  |  ------------------
  |  |  |  Branch (2849:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 2850|      0|        return -1;                                                  \
  |  | 2851|      0|    }                                                               \
  |  | 2852|      2|    if (PyModule_AddType(MOD, TYPE) < 0) {                          \
  |  |  ------------------
  |  |  |  Branch (2852:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 2853|      0|        return -1;                                                  \
  |  | 2854|      0|    }                                                               \
  |  | 2855|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (2855:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2865|       |
 2866|      2|    if (PyModule_AddType(module, &PyODict_Type) < 0) {
  ------------------
  |  Branch (2866:9): [True: 0, False: 2]
  ------------------
 2867|      0|        return -1;
 2868|      0|    }
 2869|       |
 2870|      2|    return 0;
 2871|      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:
 1546|      4|{
 1547|      4|    dequeobject *deque = dequeobject_CAST(self);
  ------------------
  |  |  148|      4|#define dequeobject_CAST(op)    ((dequeobject *)(op))
  ------------------
 1548|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1549|      4|    Py_ssize_t i;
 1550|       |
 1551|      4|    PyObject_GC_UnTrack(deque);
 1552|      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]
  |  |  ------------------
  ------------------
 1553|      4|    if (deque->leftblock != NULL) {
  ------------------
  |  Branch (1553:9): [True: 4, False: 0]
  ------------------
 1554|      4|        (void)deque_clear(self);
 1555|      4|        assert(deque->leftblock != NULL);
 1556|      4|        freeblock(deque, deque->leftblock);
 1557|      4|    }
 1558|      4|    deque->leftblock = NULL;
 1559|      4|    deque->rightblock = NULL;
 1560|     14|    for (i=0 ; i < deque->numfreeblocks ; i++) {
  ------------------
  |  Branch (1560:16): [True: 10, False: 4]
  ------------------
 1561|     10|        PyMem_Free(deque->freeblocks[i]);
 1562|     10|    }
 1563|      4|    tp->tp_free(deque);
 1564|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1565|      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:
 1569|     16|{
 1570|     16|    dequeobject *deque = dequeobject_CAST(self);
  ------------------
  |  |  148|     16|#define dequeobject_CAST(op)    ((dequeobject *)(op))
  ------------------
 1571|     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]
  |  |  ------------------
  ------------------
 1572|       |
 1573|     16|    block *b;
 1574|     16|    PyObject *item;
 1575|     16|    Py_ssize_t index;
 1576|     16|    Py_ssize_t indexlo = deque->leftindex;
 1577|     16|    Py_ssize_t indexhigh;
 1578|       |
 1579|     16|    for (b = deque->leftblock; b != deque->rightblock; b = b->rightlink) {
  ------------------
  |  Branch (1579:32): [True: 0, False: 16]
  ------------------
 1580|      0|        for (index = indexlo; index < BLOCKLEN ; index++) {
  ------------------
  |  |   78|      0|#define BLOCKLEN 64
  ------------------
  |  Branch (1580:31): [True: 0, False: 0]
  ------------------
 1581|      0|            item = b->data[index];
 1582|      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]
  |  |  ------------------
  ------------------
 1583|      0|        }
 1584|      0|        indexlo = 0;
 1585|      0|    }
 1586|     16|    indexhigh = deque->rightindex;
 1587|     16|    for (index = indexlo; index <= indexhigh; index++) {
  ------------------
  |  Branch (1587:27): [True: 0, False: 16]
  ------------------
 1588|      0|        item = b->data[index];
 1589|      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]
  |  |  ------------------
  ------------------
 1590|      0|    }
 1591|     16|    return 0;
 1592|     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:
 1756|      6|{
 1757|      6|    Py_ssize_t maxlen = -1;
 1758|      6|    if (maxlenobj != NULL && maxlenobj != Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1758:9): [True: 0, False: 6]
  |  Branch (1758:30): [True: 0, False: 0]
  ------------------
 1759|      0|        maxlen = PyLong_AsSsize_t(maxlenobj);
 1760|      0|        if (maxlen == -1 && PyErr_Occurred())
  ------------------
  |  Branch (1760:13): [True: 0, False: 0]
  |  Branch (1760:29): [True: 0, False: 0]
  ------------------
 1761|      0|            return -1;
 1762|      0|        if (maxlen < 0) {
  ------------------
  |  Branch (1762:13): [True: 0, False: 0]
  ------------------
 1763|      0|            PyErr_SetString(PyExc_ValueError, "maxlen must be non-negative");
 1764|      0|            return -1;
 1765|      0|        }
 1766|      0|    }
 1767|      6|    deque->maxlen = maxlen;
 1768|      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 (1768:9): [True: 0, False: 6]
  ------------------
 1769|      0|        (void)deque_clear((PyObject *)deque);
 1770|      6|    if (iterable != NULL) {
  ------------------
  |  Branch (1770:9): [True: 4, False: 2]
  ------------------
 1771|      4|        PyObject *rv = deque_extend_impl(deque, iterable);
 1772|      4|        if (rv == NULL)
  ------------------
  |  Branch (1772:13): [True: 0, False: 4]
  ------------------
 1773|      0|            return -1;
 1774|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1775|      4|    }
 1776|      6|    return 0;
 1777|      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:
 1240|    172|{
 1241|    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))
  |  |  ------------------
  ------------------
 1242|    172|    return FT_ATOMIC_LOAD_SSIZE(deque->ob_size);
  ------------------
  |  |  146|    172|#define FT_ATOMIC_LOAD_SSIZE(value) value
  ------------------
 1243|    172|}
_collectionsmodule.c:valid_index:
 1376|    290|{
 1377|       |    /* The cast to size_t lets us use just a single comparison
 1378|       |       to check whether i is in the range: 0 <= i < limit */
 1379|    290|    return (size_t) i < (size_t) limit;
 1380|    290|}
_collectionsmodule.c:defdict_dealloc:
 2356|  10.3k|{
 2357|  10.3k|    defdictobject *dd = defdictobject_CAST(op);
  ------------------
  |  | 2221|  10.3k|#define defdictobject_CAST(op)  ((defdictobject *)(op))
  ------------------
 2358|       |    /* bpo-31095: UnTrack is needed before calling any callbacks */
 2359|  10.3k|    PyTypeObject *tp = Py_TYPE(dd);
  ------------------
  |  |  213|  10.3k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  10.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2360|  10.3k|    PyObject_GC_UnTrack(dd);
 2361|  10.3k|    Py_CLEAR(dd->default_factory);
  ------------------
  |  |  484|  10.3k|    do { \
  |  |  485|  10.3k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  10.3k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  10.3k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  10.3k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  10.3k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 10.3k, False: 0]
  |  |  ------------------
  |  |  488|  10.3k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  10.3k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  10.3k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  10.3k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  10.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  10.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  10.3k|        } \
  |  |  491|  10.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 10.3k]
  |  |  ------------------
  ------------------
 2362|  10.3k|    PyDict_Type.tp_dealloc(op);
 2363|  10.3k|    Py_DECREF(tp);
  ------------------
  |  |  430|  10.3k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2364|  10.3k|}
_collectionsmodule.c:defdict_traverse:
 2441|  22.3k|{
 2442|  22.3k|    defdictobject *self = defdictobject_CAST(op);
  ------------------
  |  | 2221|  22.3k|#define defdictobject_CAST(op)  ((defdictobject *)(op))
  ------------------
 2443|  22.3k|    Py_VISIT(Py_TYPE(self));
  ------------------
  |  |  194|  22.3k|    do {                                                                \
  |  |  195|  22.3k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 22.3k, False: 0]
  |  |  ------------------
  |  |  196|  22.3k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  22.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  22.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  22.3k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 22.3k]
  |  |  ------------------
  |  |  198|  22.3k|                return vret;                                            \
  |  |  199|  22.3k|        }                                                               \
  |  |  200|  22.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 22.3k]
  |  |  ------------------
  ------------------
 2444|  22.3k|    Py_VISIT(self->default_factory);
  ------------------
  |  |  194|  22.3k|    do {                                                                \
  |  |  195|  22.3k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 22.3k, False: 0]
  |  |  ------------------
  |  |  196|  22.3k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  22.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  22.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  22.3k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 22.3k]
  |  |  ------------------
  |  |  198|  22.3k|                return vret;                                            \
  |  |  199|  22.3k|        }                                                               \
  |  |  200|  22.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 22.3k]
  |  |  ------------------
  ------------------
 2445|  22.3k|    return PyDict_Type.tp_traverse(op, visit, arg);
 2446|  22.3k|}
_collectionsmodule.c:defdict_missing:
 2234|  11.7k|{
 2235|  11.7k|    defdictobject *dd = defdictobject_CAST(op);
  ------------------
  |  | 2221|  11.7k|#define defdictobject_CAST(op)  ((defdictobject *)(op))
  ------------------
 2236|  11.7k|    PyObject *factory = dd->default_factory;
 2237|  11.7k|    PyObject *value;
 2238|  11.7k|    if (factory == NULL || factory == Py_None) {
  ------------------
  |  |  616|  11.7k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2238:9): [True: 0, False: 11.7k]
  |  Branch (2238:28): [True: 0, False: 11.7k]
  ------------------
 2239|       |        /* XXX Call dict.__missing__(key) */
 2240|      0|        PyObject *tup;
 2241|      0|        tup = PyTuple_Pack(1, key);
 2242|      0|        if (!tup) return NULL;
  ------------------
  |  Branch (2242:13): [True: 0, False: 0]
  ------------------
 2243|      0|        PyErr_SetObject(PyExc_KeyError, tup);
 2244|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2245|      0|        return NULL;
 2246|      0|    }
 2247|  11.7k|    value = _PyObject_CallNoArgs(factory);
 2248|  11.7k|    if (value == NULL)
  ------------------
  |  Branch (2248:9): [True: 0, False: 11.7k]
  ------------------
 2249|      0|        return value;
 2250|  11.7k|    PyObject *result = NULL;
 2251|  11.7k|    (void)PyDict_SetDefaultRef(op, key, value, &result);
 2252|       |    // 'result' is NULL, or a strong reference to 'value' or 'op[key]'
 2253|  11.7k|    Py_DECREF(value);
  ------------------
  |  |  430|  11.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2254|  11.7k|    return result;
 2255|  11.7k|}
_collectionsmodule.c:defdict_init:
 2458|  10.4k|{
 2459|  10.4k|    defdictobject *dd = defdictobject_CAST(self);
  ------------------
  |  | 2221|  10.4k|#define defdictobject_CAST(op)  ((defdictobject *)(op))
  ------------------
 2460|  10.4k|    PyObject *olddefault = dd->default_factory;
 2461|  10.4k|    PyObject *newdefault = NULL;
 2462|  10.4k|    PyObject *newargs;
 2463|  10.4k|    int result;
 2464|  10.4k|    if (args == NULL || !PyTuple_Check(args))
  ------------------
  |  |   27|  10.4k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  10.4k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2464:9): [True: 0, False: 10.4k]
  |  Branch (2464:25): [True: 0, False: 10.4k]
  ------------------
 2465|      0|        newargs = PyTuple_New(0);
 2466|  10.4k|    else {
 2467|  10.4k|        Py_ssize_t n = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|  10.4k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2468|  10.4k|        if (n > 0) {
  ------------------
  |  Branch (2468:13): [True: 10.4k, False: 0]
  ------------------
 2469|  10.4k|            newdefault = PyTuple_GET_ITEM(args, 0);
  ------------------
  |  |   29|  10.4k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  10.4k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2470|  10.4k|            if (!PyCallable_Check(newdefault) && newdefault != Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2470:17): [True: 0, False: 10.4k]
  |  Branch (2470:50): [True: 0, False: 0]
  ------------------
 2471|      0|                PyErr_SetString(PyExc_TypeError,
 2472|      0|                    "first argument must be callable or None");
 2473|      0|                return -1;
 2474|      0|            }
 2475|  10.4k|        }
 2476|  10.4k|        newargs = PySequence_GetSlice(args, 1, n);
 2477|  10.4k|    }
 2478|  10.4k|    if (newargs == NULL)
  ------------------
  |  Branch (2478:9): [True: 0, False: 10.4k]
  ------------------
 2479|      0|        return -1;
 2480|  10.4k|    dd->default_factory = Py_XNewRef(newdefault);
  ------------------
  |  |  551|  10.4k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  10.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2481|  10.4k|    result = PyDict_Type.tp_init(self, newargs, kwds);
 2482|  10.4k|    Py_DECREF(newargs);
  ------------------
  |  |  430|  10.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2483|  10.4k|    Py_XDECREF(olddefault);
  ------------------
  |  |  524|  10.4k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2484|  10.4k|    return result;
 2485|  10.4k|}
_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:
 2728|  2.14k|{
 2729|  2.14k|    _tuplegetterobject *tuplegetter = tuplegetterobject_CAST(self);
  ------------------
  |  | 2660|  2.14k|#define tuplegetterobject_CAST(op)  ((_tuplegetterobject *)(op))
  ------------------
 2730|  2.14k|    Py_VISIT(Py_TYPE(tuplegetter));
  ------------------
  |  |  194|  2.14k|    do {                                                                \
  |  |  195|  2.14k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 2.14k, False: 0]
  |  |  ------------------
  |  |  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|  2.14k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.14k]
  |  |  ------------------
  ------------------
 2731|  2.14k|    Py_VISIT(tuplegetter->doc);
  ------------------
  |  |  194|  2.14k|    do {                                                                \
  |  |  195|  2.14k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 2.14k, False: 0]
  |  |  ------------------
  |  |  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|  2.14k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.14k]
  |  |  ------------------
  ------------------
 2732|  2.14k|    return 0;
 2733|  2.14k|}
_collectionsmodule.c:tuplegetter_descr_get:
 2687|    364|{
 2688|    364|    Py_ssize_t index = tuplegetterobject_CAST(self)->index;
  ------------------
  |  | 2660|    364|#define tuplegetterobject_CAST(op)  ((_tuplegetterobject *)(op))
  ------------------
 2689|    364|    PyObject *result;
 2690|       |
 2691|    364|    if (obj == NULL) {
  ------------------
  |  Branch (2691:9): [True: 74, False: 290]
  ------------------
 2692|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2693|     74|    }
 2694|    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 (2694:9): [True: 0, False: 290]
  ------------------
 2695|      0|        if (obj == Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2695:13): [True: 0, False: 0]
  ------------------
 2696|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2697|      0|        }
 2698|      0|        PyErr_Format(PyExc_TypeError,
 2699|      0|                     "descriptor for index '%zd' for tuple subclasses "
 2700|      0|                     "doesn't apply to '%s' object",
 2701|      0|                     index,
 2702|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2703|      0|        return NULL;
 2704|      0|    }
 2705|       |
 2706|    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 (2706:9): [True: 0, False: 290]
  ------------------
 2707|      0|        PyErr_SetString(PyExc_IndexError, "tuple index out of range");
 2708|      0|        return NULL;
 2709|      0|    }
 2710|       |
 2711|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2712|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2713|    290|}
_collectionsmodule.c:tuplegetter_new_impl:
 2674|    268|{
 2675|    268|    _tuplegetterobject* self;
 2676|    268|    self = (_tuplegetterobject *)type->tp_alloc(type, 0);
 2677|    268|    if (self == NULL) {
  ------------------
  |  Branch (2677:9): [True: 0, False: 268]
  ------------------
 2678|      0|        return NULL;
 2679|      0|    }
 2680|    268|    self->index = index;
 2681|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2682|    268|    return (PyObject *)self;
 2683|    268|}
_collectionsmodule.c:collections_traverse:
 2807|     16|{
 2808|     16|    collections_state *state = get_module_state(mod);
 2809|     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]
  |  |  ------------------
  ------------------
 2810|     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]
  |  |  ------------------
  ------------------
 2811|     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]
  |  |  ------------------
  ------------------
 2812|     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]
  |  |  ------------------
  ------------------
 2813|     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]
  |  |  ------------------
  ------------------
 2814|     16|    return 0;
 2815|     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:add_datetime_timedelta:
 6212|  11.7k|{
 6213|       |    /* Note that the C-level additions can't overflow, because of
 6214|       |     * invariant bounds on the member values.
 6215|       |     */
 6216|  11.7k|    int year = GET_YEAR(date);
  ------------------
  |  |  270|  11.7k|#define GET_YEAR                PyDateTime_GET_YEAR
  |  |  ------------------
  |  |  |  |  122|  11.7k|#define PyDateTime_GET_YEAR(o)     ((((PyDateTime_Date*)(o))->data[0] << 8) | \
  |  |  |  |  123|  11.7k|                     ((PyDateTime_Date*)(o))->data[1])
  |  |  ------------------
  ------------------
 6217|  11.7k|    int month = GET_MONTH(date);
  ------------------
  |  |  271|  11.7k|#define GET_MONTH               PyDateTime_GET_MONTH
  |  |  ------------------
  |  |  |  |  124|  11.7k|#define PyDateTime_GET_MONTH(o)    (((PyDateTime_Date*)(o))->data[2])
  |  |  ------------------
  ------------------
 6218|  11.7k|    int day = GET_DAY(date) + GET_TD_DAYS(delta) * factor;
  ------------------
  |  |  272|  11.7k|#define GET_DAY                 PyDateTime_GET_DAY
  |  |  ------------------
  |  |  |  |  125|  11.7k|#define PyDateTime_GET_DAY(o)      (((PyDateTime_Date*)(o))->data[3])
  |  |  ------------------
  ------------------
                  int day = GET_DAY(date) + GET_TD_DAYS(delta) * factor;
  ------------------
  |  |  311|  11.7k|#define GET_TD_DAYS(o)          (PyDelta_CAST(o)->days)
  |  |  ------------------
  |  |  |  |   95|  11.7k|#define PyDelta_CAST(op) ((PyDateTime_Delta *)(op))
  |  |  ------------------
  ------------------
 6219|  11.7k|    int hour = DATE_GET_HOUR(date);
  ------------------
  |  |  273|  11.7k|#define DATE_GET_HOUR           PyDateTime_DATE_GET_HOUR
  |  |  ------------------
  |  |  |  |  127|  11.7k|#define PyDateTime_DATE_GET_HOUR(o)        (((PyDateTime_DateTime*)(o))->data[4])
  |  |  ------------------
  ------------------
 6220|  11.7k|    int minute = DATE_GET_MINUTE(date);
  ------------------
  |  |  274|  11.7k|#define DATE_GET_MINUTE         PyDateTime_DATE_GET_MINUTE
  |  |  ------------------
  |  |  |  |  128|  11.7k|#define PyDateTime_DATE_GET_MINUTE(o)      (((PyDateTime_DateTime*)(o))->data[5])
  |  |  ------------------
  ------------------
 6221|  11.7k|    int second = DATE_GET_SECOND(date) + GET_TD_SECONDS(delta) * factor;
  ------------------
  |  |  275|  11.7k|#define DATE_GET_SECOND         PyDateTime_DATE_GET_SECOND
  |  |  ------------------
  |  |  |  |  129|  11.7k|#define PyDateTime_DATE_GET_SECOND(o)      (((PyDateTime_DateTime*)(o))->data[6])
  |  |  ------------------
  ------------------
                  int second = DATE_GET_SECOND(date) + GET_TD_SECONDS(delta) * factor;
  ------------------
  |  |  312|  11.7k|#define GET_TD_SECONDS(o)       (PyDelta_CAST(o)->seconds)
  |  |  ------------------
  |  |  |  |   95|  11.7k|#define PyDelta_CAST(op) ((PyDateTime_Delta *)(op))
  |  |  ------------------
  ------------------
 6222|  11.7k|    int microsecond = DATE_GET_MICROSECOND(date) +
  ------------------
  |  |  276|  11.7k|#define DATE_GET_MICROSECOND    PyDateTime_DATE_GET_MICROSECOND
  |  |  ------------------
  |  |  |  |  131|  11.7k|    ((((PyDateTime_DateTime*)(o))->data[7] << 16) |       \
  |  |  |  |  132|  11.7k|     (((PyDateTime_DateTime*)(o))->data[8] << 8)  |       \
  |  |  |  |  133|  11.7k|      ((PyDateTime_DateTime*)(o))->data[9])
  |  |  ------------------
  ------------------
 6223|  11.7k|                      GET_TD_MICROSECONDS(delta) * factor;
  ------------------
  |  |  313|  11.7k|#define GET_TD_MICROSECONDS(o)  (PyDelta_CAST(o)->microseconds)
  |  |  ------------------
  |  |  |  |   95|  11.7k|#define PyDelta_CAST(op) ((PyDateTime_Delta *)(op))
  |  |  ------------------
  ------------------
 6224|       |
 6225|  11.7k|    assert(factor == 1 || factor == -1);
 6226|  11.7k|    if (normalize_datetime(&year, &month, &day,
  ------------------
  |  Branch (6226:9): [True: 0, False: 11.7k]
  ------------------
 6227|  11.7k|                           &hour, &minute, &second, &microsecond) < 0) {
 6228|      0|        return NULL;
 6229|      0|    }
 6230|       |
 6231|  11.7k|    return new_datetime_subclass_ex(year, month, day,
 6232|  11.7k|                                    hour, minute, second, microsecond,
 6233|  11.7k|                                    HASTZINFO(date) ? date->tzinfo : Py_None,
  ------------------
  |  |  319|  11.7k|#define HASTZINFO               _PyDateTime_HAS_TZINFO
  |  |  ------------------
  |  |  |  |  120|  11.7k|#define _PyDateTime_HAS_TZINFO(o)  (((_PyDateTime_BaseTZInfo *)(o))->hastzinfo)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (120:36): [True: 0, False: 11.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                                                  HASTZINFO(date) ? date->tzinfo : Py_None,
  ------------------
  |  |  616|  11.7k|#  define Py_None (&_Py_NoneStruct)
  ------------------
 6234|  11.7k|                                    Py_TYPE(date));
  ------------------
  |  |  213|  11.7k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  11.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6235|  11.7k|}
_datetimemodule.c:normalize_datetime:
  842|  11.7k|{
  843|  11.7k|    normalize_pair(second, microsecond, 1000000);
  844|  11.7k|    normalize_pair(minute, second, 60);
  845|  11.7k|    normalize_pair(hour, minute, 60);
  846|  11.7k|    normalize_pair(day, hour, 24);
  847|  11.7k|    return normalize_date(year, month, day);
  848|  11.7k|}
_datetimemodule.c:normalize_pair:
  717|  46.9k|{
  718|  46.9k|    assert(factor > 0);
  719|  46.9k|    assert(lo != hi);
  720|  46.9k|    if (*lo < 0 || *lo >= factor) {
  ------------------
  |  Branch (720:9): [True: 0, False: 46.9k]
  |  Branch (720:20): [True: 20.6k, False: 26.2k]
  ------------------
  721|  20.6k|        const int num_hi = divmod(*lo, factor, lo);
  722|  20.6k|        const int new_hi = *hi + num_hi;
  723|  20.6k|        assert(! SIGNED_ADD_OVERFLOWED(new_hi, *hi, num_hi));
  724|  20.6k|        *hi = new_hi;
  725|  20.6k|    }
  726|       |    assert(0 <= *lo && *lo < factor);
  727|  46.9k|}
_datetimemodule.c:divmod:
  366|  20.6k|{
  367|  20.6k|    int quo;
  368|       |
  369|  20.6k|    assert(y > 0);
  370|  20.6k|    quo = x / y;
  371|  20.6k|    *r = x - quo * y;
  372|  20.6k|    if (*r < 0) {
  ------------------
  |  Branch (372:9): [True: 0, False: 20.6k]
  ------------------
  373|      0|        --quo;
  374|      0|        *r += y;
  375|      0|    }
  376|       |    assert(0 <= *r && *r < y);
  377|  20.6k|    return quo;
  378|  20.6k|}
_datetimemodule.c:normalize_date:
  831|  11.7k|{
  832|  11.7k|    return normalize_y_m_d(year, month, day);
  833|  11.7k|}
_datetimemodule.c:normalize_y_m_d:
  764|  11.7k|{
  765|  11.7k|    int dim;            /* # of days in month */
  766|       |
  767|       |    /* In actual use, m is always the month component extracted from a
  768|       |     * date/datetime object.  Therefore it is always in [1, 12] range.
  769|       |     */
  770|       |
  771|  11.7k|    assert(1 <= *m && *m <= 12);
  772|       |
  773|       |    /* Now only day can be out of bounds (year may also be out of bounds
  774|       |     * for a datetime object, but we don't care about that here).
  775|       |     * If day is out of bounds, what to do is arguable, but at least the
  776|       |     * method here is principled and explainable.
  777|       |     */
  778|  11.7k|    dim = days_in_month(*y, *m);
  779|  11.7k|    if (*d < 1 || *d > dim) {
  ------------------
  |  Branch (779:9): [True: 0, False: 11.7k]
  |  Branch (779:19): [True: 9.59k, False: 2.13k]
  ------------------
  780|       |        /* Move day-1 days from the first of the month.  First try to
  781|       |         * get off cheap if we're only one day out of range
  782|       |         * (adjustments for timezone alone can't be worse than that).
  783|       |         */
  784|  9.59k|        if (*d == 0) {
  ------------------
  |  Branch (784:13): [True: 0, False: 9.59k]
  ------------------
  785|      0|            --*m;
  786|      0|            if (*m > 0)
  ------------------
  |  Branch (786:17): [True: 0, False: 0]
  ------------------
  787|      0|                *d = days_in_month(*y, *m);
  788|      0|            else {
  789|      0|                --*y;
  790|      0|                *m = 12;
  791|      0|                *d = 31;
  792|      0|            }
  793|      0|        }
  794|  9.59k|        else if (*d == dim + 1) {
  ------------------
  |  Branch (794:18): [True: 30, False: 9.56k]
  ------------------
  795|       |            /* move forward a day */
  796|     30|            ++*m;
  797|     30|            *d = 1;
  798|     30|            if (*m > 12) {
  ------------------
  |  Branch (798:17): [True: 0, False: 30]
  ------------------
  799|      0|                *m = 1;
  800|      0|                ++*y;
  801|      0|            }
  802|     30|        }
  803|  9.56k|        else {
  804|  9.56k|            int ordinal = ymd_to_ord(*y, *m, 1) +
  805|  9.56k|                                      *d - 1;
  806|  9.56k|            if (ordinal < 1 || ordinal > MAXORDINAL) {
  ------------------
  |  |  260|  9.56k|#define MAXORDINAL 3652059 /* date(9999,12,31).toordinal() */
  ------------------
  |  Branch (806:17): [True: 0, False: 9.56k]
  |  Branch (806:32): [True: 0, False: 9.56k]
  ------------------
  807|      0|                goto error;
  808|  9.56k|            } else {
  809|  9.56k|                ord_to_ymd(ordinal, y, m, d);
  810|  9.56k|                return 0;
  811|  9.56k|            }
  812|  9.56k|        }
  813|  9.59k|    }
  814|  11.7k|    assert(*m > 0);
  815|  2.16k|    assert(*d > 0);
  816|  2.16k|    if (MINYEAR <= *y && *y <= MAXYEAR)
  ------------------
  |  |  258|  2.16k|#define MINYEAR 1
  ------------------
                  if (MINYEAR <= *y && *y <= MAXYEAR)
  ------------------
  |  |  259|  2.16k|#define MAXYEAR 9999
  ------------------
  |  Branch (816:9): [True: 2.16k, False: 0]
  |  Branch (816:26): [True: 2.16k, False: 0]
  ------------------
  817|  2.16k|        return 0;
  818|      0| error:
  819|      0|    PyErr_SetString(PyExc_OverflowError,
  820|      0|            "date value out of range");
  821|      0|    return -1;
  822|       |
  823|  2.16k|}
_datetimemodule.c:days_in_month:
  432|  25.8k|{
  433|  25.8k|    assert(month >= 1);
  434|  25.8k|    assert(month <= 12);
  435|  25.8k|    if (month == 2 && is_leap(year))
  ------------------
  |  Branch (435:9): [True: 1.28k, False: 24.5k]
  |  Branch (435:23): [True: 215, False: 1.06k]
  ------------------
  436|    215|        return 29;
  437|  25.6k|    else
  438|  25.6k|        return _days_in_month[month];
  439|  25.8k|}
_datetimemodule.c:is_leap:
  419|  16.6k|{
  420|       |    /* Cast year to unsigned.  The result is the same either way, but
  421|       |     * C can generate faster code for unsigned mod than for signed
  422|       |     * mod (especially for % 4 -- a good compiler should just grab
  423|       |     * the last 2 bits when the LHS is unsigned).
  424|       |     */
  425|  16.6k|    const unsigned int ayear = (unsigned int)year;
  426|  16.6k|    return ayear % 4 == 0 && (ayear % 100 != 0 || ayear % 400 == 0);
  ------------------
  |  Branch (426:12): [True: 7.42k, False: 9.19k]
  |  Branch (426:31): [True: 6.19k, False: 1.23k]
  |  Branch (426:51): [True: 993, False: 240]
  ------------------
  427|  16.6k|}
_datetimemodule.c:ymd_to_ord:
  564|  21.3k|{
  565|  21.3k|    return days_before_year(year) + days_before_month(year, month) + day;
  566|  21.3k|}
_datetimemodule.c:days_before_year:
  460|  21.3k|{
  461|  21.3k|    int y = year - 1;
  462|       |    /* This is incorrect if year <= 0; we really want the floor
  463|       |     * here.  But so long as MINYEAR is 1, the smallest year this
  464|       |     * can see is 1.
  465|       |     */
  466|       |    assert (year >= 1);
  467|  21.3k|    return y*365 + y/4 - y/100 + y/400;
  468|  21.3k|}
_datetimemodule.c:days_before_month:
  444|  33.2k|{
  445|  33.2k|    int days;
  446|       |
  447|  33.2k|    assert(month >= 1);
  448|  33.2k|    assert(month <= 12);
  449|  33.2k|    days = _days_before_month[month];
  450|  33.2k|    if (month > 2 && is_leap(year))
  ------------------
  |  Branch (450:9): [True: 15.3k, False: 17.8k]
  |  Branch (450:22): [True: 6.97k, False: 8.36k]
  ------------------
  451|  6.97k|        ++days;
  452|  33.2k|    return days;
  453|  33.2k|}
_datetimemodule.c:ord_to_ymd:
  480|  9.56k|{
  481|  9.56k|    int n, n1, n4, n100, n400, leapyear, preceding;
  482|       |
  483|       |    /* ordinal is a 1-based index, starting at 1-Jan-1.  The pattern of
  484|       |     * leap years repeats exactly every 400 years.  The basic strategy is
  485|       |     * to find the closest 400-year boundary at or before ordinal, then
  486|       |     * work with the offset from that boundary to ordinal.  Life is much
  487|       |     * clearer if we subtract 1 from ordinal first -- then the values
  488|       |     * of ordinal at 400-year boundaries are exactly those divisible
  489|       |     * by DI400Y:
  490|       |     *
  491|       |     *    D  M   Y            n              n-1
  492|       |     *    -- --- ----        ----------     ----------------
  493|       |     *    31 Dec -400        -DI400Y       -DI400Y -1
  494|       |     *     1 Jan -399         -DI400Y +1   -DI400Y      400-year boundary
  495|       |     *    ...
  496|       |     *    30 Dec  000        -1             -2
  497|       |     *    31 Dec  000         0             -1
  498|       |     *     1 Jan  001         1              0          400-year boundary
  499|       |     *     2 Jan  001         2              1
  500|       |     *     3 Jan  001         3              2
  501|       |     *    ...
  502|       |     *    31 Dec  400         DI400Y        DI400Y -1
  503|       |     *     1 Jan  401         DI400Y +1     DI400Y      400-year boundary
  504|       |     */
  505|  9.56k|    assert(ordinal >= 1);
  506|  9.56k|    --ordinal;
  507|  9.56k|    n400 = ordinal / DI400Y;
  ------------------
  |  |  475|  9.56k|#define DI400Y  146097  /* days_before_year(401); days in 400 years  */
  ------------------
  508|  9.56k|    n = ordinal % DI400Y;
  ------------------
  |  |  475|  9.56k|#define DI400Y  146097  /* days_before_year(401); days in 400 years  */
  ------------------
  509|  9.56k|    *year = n400 * 400 + 1;
  510|       |
  511|       |    /* Now n is the (non-negative) offset, in days, from January 1 of
  512|       |     * year, to the desired date.  Now compute how many 100-year cycles
  513|       |     * precede n.
  514|       |     * Note that it's possible for n100 to equal 4!  In that case 4 full
  515|       |     * 100-year cycles precede the desired day, which implies the
  516|       |     * desired day is December 31 at the end of a 400-year cycle.
  517|       |     */
  518|  9.56k|    n100 = n / DI100Y;
  ------------------
  |  |  474|  9.56k|#define DI100Y  36524   /* days_before_year(101); days in 100 years */
  ------------------
  519|  9.56k|    n = n % DI100Y;
  ------------------
  |  |  474|  9.56k|#define DI100Y  36524   /* days_before_year(101); days in 100 years */
  ------------------
  520|       |
  521|       |    /* Now compute how many 4-year cycles precede it. */
  522|  9.56k|    n4 = n / DI4Y;
  ------------------
  |  |  473|  9.56k|#define DI4Y    1461    /* days_before_year(5); days in 4 years */
  ------------------
  523|  9.56k|    n = n % DI4Y;
  ------------------
  |  |  473|  9.56k|#define DI4Y    1461    /* days_before_year(5); days in 4 years */
  ------------------
  524|       |
  525|       |    /* And now how many single years.  Again n1 can be 4, and again
  526|       |     * meaning that the desired day is December 31 at the end of the
  527|       |     * 4-year cycle.
  528|       |     */
  529|  9.56k|    n1 = n / 365;
  530|  9.56k|    n = n % 365;
  531|       |
  532|  9.56k|    *year += n100 * 100 + n4 * 4 + n1;
  533|  9.56k|    if (n1 == 4 || n100 == 4) {
  ------------------
  |  Branch (533:9): [True: 15, False: 9.54k]
  |  Branch (533:20): [True: 2, False: 9.54k]
  ------------------
  534|     17|        assert(n == 0);
  535|     17|        *year -= 1;
  536|     17|        *month = 12;
  537|     17|        *day = 31;
  538|     17|        return;
  539|     17|    }
  540|       |
  541|       |    /* Now the year is correct, and n is the offset from January 1.  We
  542|       |     * find the month via an estimate that's either exact or one too
  543|       |     * large.
  544|       |     */
  545|  9.54k|    leapyear = n1 == 3 && (n4 != 24 || n100 == 3);
  ------------------
  |  Branch (545:16): [True: 3.78k, False: 5.76k]
  |  Branch (545:28): [True: 3.16k, False: 617]
  |  Branch (545:40): [True: 497, False: 120]
  ------------------
  546|  9.54k|    assert(leapyear == is_leap(*year));
  547|  9.54k|    *month = (n + 50) >> 5;
  548|  9.54k|    preceding = (_days_before_month[*month] + (*month > 2 && leapyear));
  ------------------
  |  Branch (548:48): [True: 8.06k, False: 1.48k]
  |  Branch (548:62): [True: 3.54k, False: 4.52k]
  ------------------
  549|  9.54k|    if (preceding > n) {
  ------------------
  |  Branch (549:9): [True: 2.31k, False: 7.22k]
  ------------------
  550|       |        /* estimate is too large */
  551|  2.31k|        *month -= 1;
  552|  2.31k|        preceding -= days_in_month(*year, *month);
  553|  2.31k|    }
  554|  9.54k|    n -= preceding;
  555|  9.54k|    assert(0 <= n);
  556|  9.54k|    assert(n < days_in_month(*year, *month));
  557|       |
  558|  9.54k|    *day = n + 1;
  559|  9.54k|}
_datetimemodule.c:new_datetime_subclass_ex:
 1297|  11.7k|                              PyTypeObject *cls) {
 1298|  11.7k|    return new_datetime_subclass_fold_ex(year, month, day, hour, minute,
 1299|  11.7k|                                         second, usecond, tzinfo, 0,
 1300|  11.7k|                                         cls);
 1301|  11.7k|}
_datetimemodule.c:new_datetime_subclass_fold_ex:
 1278|  11.7k|{
 1279|  11.7k|    PyObject* dt;
 1280|  11.7k|    if (cls == DATETIME_TYPE(NO_STATE)) {
  ------------------
  |  |   76|  11.7k|#define DATETIME_TYPE(st) &PyDateTime_DateTimeType
  ------------------
  |  Branch (1280:9): [True: 11.7k, False: 0]
  ------------------
 1281|       |        // Use the fast path constructor
 1282|  11.7k|        dt = new_datetime(year, month, day, hour, minute, second, usecond,
  ------------------
  |  | 1238|  11.7k|    new_datetime_ex2(y, m, d, hh, mm, ss, us, tzinfo, fold, DATETIME_TYPE(NO_STATE))
  |  |  ------------------
  |  |  |  |   76|  11.7k|#define DATETIME_TYPE(st) &PyDateTime_DateTimeType
  |  |  ------------------
  ------------------
 1283|  11.7k|                          tzinfo, fold);
 1284|  11.7k|    }
 1285|      0|    else {
 1286|       |        // Subclass
 1287|      0|        dt = call_subclass_fold(cls, fold, "iiiiiiiO", year, month, day,
 1288|      0|                                hour, minute, second, usecond, tzinfo);
 1289|      0|    }
 1290|       |
 1291|  11.7k|    return dt;
 1292|  11.7k|}
_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|     38|{
 2126|     38|    PyObject *x1 = NULL;
 2127|     38|    PyObject *x2 = NULL;
 2128|     38|    PyObject *x3 = NULL;
 2129|     38|    PyObject *result = NULL;
 2130|       |
 2131|     38|    PyObject *current_mod = NULL;
 2132|     38|    datetime_state *st = GET_CURRENT_STATE(current_mod);
  ------------------
  |  |  183|     38|    _get_current_state(&MOD_VAR)
  ------------------
 2133|       |
 2134|     38|    x1 = PyLong_FromLong(GET_TD_DAYS(self));
  ------------------
  |  |  311|     38|#define GET_TD_DAYS(o)          (PyDelta_CAST(o)->days)
  |  |  ------------------
  |  |  |  |   95|     38|#define PyDelta_CAST(op) ((PyDateTime_Delta *)(op))
  |  |  ------------------
  ------------------
 2135|     38|    if (x1 == NULL)
  ------------------
  |  Branch (2135:9): [True: 0, False: 38]
  ------------------
 2136|      0|        goto Done;
 2137|     38|    x2 = PyNumber_Multiply(x1, CONST_SEC_PER_DAY(st));        /* days in seconds */
  ------------------
  |  |  114|     38|#define CONST_SEC_PER_DAY(st) st->seconds_per_day
  ------------------
 2138|     38|    if (x2 == NULL)
  ------------------
  |  Branch (2138:9): [True: 0, False: 38]
  ------------------
 2139|      0|        goto Done;
 2140|     38|    Py_SETREF(x1, NULL);
  ------------------
  |  |  352|     38|    do { \
  |  |  353|     38|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     38|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|     38|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     38|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|     38|        *_tmp_dst_ptr = (src); \
  |  |  356|     38|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|     38|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 38]
  |  |  ------------------
  ------------------
 2141|       |
 2142|       |    /* x2 has days in seconds */
 2143|     38|    x1 = PyLong_FromLong(GET_TD_SECONDS(self));         /* seconds */
  ------------------
  |  |  312|     38|#define GET_TD_SECONDS(o)       (PyDelta_CAST(o)->seconds)
  |  |  ------------------
  |  |  |  |   95|     38|#define PyDelta_CAST(op) ((PyDateTime_Delta *)(op))
  |  |  ------------------
  ------------------
 2144|     38|    if (x1 == NULL)
  ------------------
  |  Branch (2144:9): [True: 0, False: 38]
  ------------------
 2145|      0|        goto Done;
 2146|     38|    x3 = PyNumber_Add(x1, x2);          /* days and seconds in seconds */
 2147|     38|    if (x3 == NULL)
  ------------------
  |  Branch (2147:9): [True: 0, False: 38]
  ------------------
 2148|      0|        goto Done;
 2149|     38|    Py_DECREF(x1);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2150|     38|    Py_DECREF(x2);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2151|     38|    /* x1 = */ x2 = NULL;
 2152|       |
 2153|       |    /* x3 has days+seconds in seconds */
 2154|     38|    x1 = PyNumber_Multiply(x3, CONST_US_PER_SECOND(st));          /* us */
  ------------------
  |  |  109|     38|#define CONST_US_PER_SECOND(st) st->us_per_second
  ------------------
 2155|     38|    if (x1 == NULL)
  ------------------
  |  Branch (2155:9): [True: 0, False: 38]
  ------------------
 2156|      0|        goto Done;
 2157|     38|    Py_SETREF(x3, NULL);
  ------------------
  |  |  352|     38|    do { \
  |  |  353|     38|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     38|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|     38|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     38|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|     38|        *_tmp_dst_ptr = (src); \
  |  |  356|     38|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|     38|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 38]
  |  |  ------------------
  ------------------
 2158|       |
 2159|       |    /* x1 has days+seconds in us */
 2160|     38|    x2 = PyLong_FromLong(GET_TD_MICROSECONDS(self));
  ------------------
  |  |  313|     38|#define GET_TD_MICROSECONDS(o)  (PyDelta_CAST(o)->microseconds)
  |  |  ------------------
  |  |  |  |   95|     38|#define PyDelta_CAST(op) ((PyDateTime_Delta *)(op))
  |  |  ------------------
  ------------------
 2161|     38|    if (x2 == NULL)
  ------------------
  |  Branch (2161:9): [True: 0, False: 38]
  ------------------
 2162|      0|        goto Done;
 2163|     38|    result = PyNumber_Add(x1, x2);
 2164|     38|    assert(result == NULL || PyLong_CheckExact(result));
 2165|       |
 2166|     38|Done:
 2167|     38|    Py_XDECREF(x1);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2168|     38|    Py_XDECREF(x2);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2169|     38|    Py_XDECREF(x3);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2170|     38|    RELEASE_CURRENT_STATE(st, current_mod);
  ------------------
  |  |  185|     38|    Py_DECREF(MOD_VAR)
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2171|     38|    return result;
 2172|     38|}
_datetimemodule.c:_get_current_state:
  162|  23.5k|{
  163|  23.5k|    PyInterpreterState *interp = PyInterpreterState_Get();
  164|  23.5k|    PyObject *mod = get_current_module(interp);
  165|  23.5k|    if (mod == NULL) {
  ------------------
  |  Branch (165:9): [True: 0, False: 23.5k]
  ------------------
  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|  23.5k|    datetime_state *st = get_module_state(mod);
  178|  23.5k|    *p_mod = mod;
  179|  23.5k|    return st;
  180|  23.5k|}
_datetimemodule.c:get_current_module:
  131|  23.5k|{
  132|  23.5k|    PyObject *mod = NULL;
  133|       |
  134|  23.5k|    PyObject *dict = PyInterpreterState_GetDict(interp);
  135|  23.5k|    if (dict == NULL) {
  ------------------
  |  Branch (135:9): [True: 0, False: 23.5k]
  ------------------
  136|      0|        goto error;
  137|      0|    }
  138|  23.5k|    PyObject *ref = NULL;
  139|  23.5k|    if (PyDict_GetItemRef(dict, INTERP_KEY, &ref) < 0) {
  ------------------
  |  |  127|  23.5k|#define INTERP_KEY ((PyObject *)&_Py_ID(cached_datetime_module))
  |  |  ------------------
  |  |  |  |  915|  23.5k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|  23.5k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|  23.5k|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (139:9): [True: 0, False: 23.5k]
  ------------------
  140|      0|        goto error;
  141|      0|    }
  142|  23.5k|    if (ref != NULL) {
  ------------------
  |  Branch (142:9): [True: 23.5k, False: 2]
  ------------------
  143|  23.5k|        if (ref != Py_None) {
  ------------------
  |  |  616|  23.5k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (143:13): [True: 23.5k, False: 0]
  ------------------
  144|  23.5k|            (void)PyWeakref_GetRef(ref, &mod);
  145|  23.5k|            if (mod == Py_None) {
  ------------------
  |  |  616|  23.5k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (145:17): [True: 0, False: 23.5k]
  ------------------
  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|  23.5k|            Py_DECREF(ref);
  ------------------
  |  |  430|  23.5k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  23.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  23.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  149|  23.5k|        }
  150|  23.5k|    }
  151|  23.5k|    return mod;
  152|       |
  153|      0|error:
  154|      0|    assert(PyErr_Occurred());
  155|       |    return NULL;
  156|  23.5k|}
_datetimemodule.c:get_module_state:
  120|  23.5k|{
  121|  23.5k|    void *state = _PyModule_GetState(module);
  122|       |    assert(state != NULL);
  123|  23.5k|    return (datetime_state *)state;
  124|  23.5k|}
_datetimemodule.c:microseconds_to_delta_ex:
 2201|  11.7k|{
 2202|  11.7k|    int us;
 2203|  11.7k|    int s;
 2204|  11.7k|    int d;
 2205|       |
 2206|  11.7k|    PyObject *tuple = NULL;
 2207|  11.7k|    PyObject *num = NULL;
 2208|  11.7k|    PyObject *result = NULL;
 2209|       |
 2210|  11.7k|    PyObject *current_mod = NULL;
 2211|  11.7k|    datetime_state *st = GET_CURRENT_STATE(current_mod);
  ------------------
  |  |  183|  11.7k|    _get_current_state(&MOD_VAR)
  ------------------
 2212|       |
 2213|  11.7k|    tuple = checked_divmod(pyus, CONST_US_PER_SECOND(st));
  ------------------
  |  |  109|  11.7k|#define CONST_US_PER_SECOND(st) st->us_per_second
  ------------------
 2214|  11.7k|    if (tuple == NULL) {
  ------------------
  |  Branch (2214:9): [True: 0, False: 11.7k]
  ------------------
 2215|      0|        goto Done;
 2216|      0|    }
 2217|       |
 2218|  11.7k|    num = PyTuple_GET_ITEM(tuple, 1);           /* us */
  ------------------
  |  |   29|  11.7k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  11.7k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2219|  11.7k|    us = PyLong_AsInt(num);
 2220|  11.7k|    num = NULL;
 2221|  11.7k|    if (us == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (2221:9): [True: 0, False: 11.7k]
  |  Branch (2221:21): [True: 0, False: 0]
  ------------------
 2222|      0|        goto Done;
 2223|      0|    }
 2224|  11.7k|    if (!(0 <= us && us < 1000000)) {
  ------------------
  |  Branch (2224:11): [True: 11.7k, False: 0]
  |  Branch (2224:22): [True: 11.7k, False: 0]
  ------------------
 2225|      0|        goto BadDivmod;
 2226|      0|    }
 2227|       |
 2228|  11.7k|    num = Py_NewRef(PyTuple_GET_ITEM(tuple, 0));        /* leftover seconds */
  ------------------
  |  |  550|  11.7k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  11.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2229|  11.7k|    Py_DECREF(tuple);
  ------------------
  |  |  430|  11.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2230|       |
 2231|  11.7k|    tuple = checked_divmod(num, CONST_SEC_PER_DAY(st));
  ------------------
  |  |  114|  11.7k|#define CONST_SEC_PER_DAY(st) st->seconds_per_day
  ------------------
 2232|  11.7k|    if (tuple == NULL)
  ------------------
  |  Branch (2232:9): [True: 0, False: 11.7k]
  ------------------
 2233|      0|        goto Done;
 2234|  11.7k|    Py_DECREF(num);
  ------------------
  |  |  430|  11.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2235|       |
 2236|  11.7k|    num = PyTuple_GET_ITEM(tuple, 1);           /* seconds */
  ------------------
  |  |   29|  11.7k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  11.7k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2237|  11.7k|    s = PyLong_AsInt(num);
 2238|  11.7k|    num = NULL;
 2239|  11.7k|    if (s == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (2239:9): [True: 0, False: 11.7k]
  |  Branch (2239:20): [True: 0, False: 0]
  ------------------
 2240|      0|        goto Done;
 2241|      0|    }
 2242|  11.7k|    if (!(0 <= s && s < 24*3600)) {
  ------------------
  |  Branch (2242:11): [True: 11.7k, False: 0]
  |  Branch (2242:21): [True: 11.7k, False: 0]
  ------------------
 2243|      0|        goto BadDivmod;
 2244|      0|    }
 2245|       |
 2246|  11.7k|    num = Py_NewRef(PyTuple_GET_ITEM(tuple, 0));           /* leftover days */
  ------------------
  |  |  550|  11.7k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  11.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2247|  11.7k|    d = PyLong_AsInt(num);
 2248|  11.7k|    if (d == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (2248:9): [True: 0, False: 11.7k]
  |  Branch (2248:20): [True: 0, False: 0]
  ------------------
 2249|      0|        goto Done;
 2250|      0|    }
 2251|  11.7k|    result = new_delta_ex(d, s, us, 0, type);
 2252|       |
 2253|  11.7k|Done:
 2254|  11.7k|    Py_XDECREF(tuple);
  ------------------
  |  |  524|  11.7k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2255|  11.7k|    Py_XDECREF(num);
  ------------------
  |  |  524|  11.7k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2256|  11.7k|    RELEASE_CURRENT_STATE(st, current_mod);
  ------------------
  |  |  185|  11.7k|    Py_DECREF(MOD_VAR)
  |  |  ------------------
  |  |  |  |  430|  11.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  11.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  11.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2257|  11.7k|    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|  11.7k|}
_datetimemodule.c:checked_divmod:
 2176|  23.5k|{
 2177|  23.5k|    PyObject *result = PyNumber_Divmod(a, b);
 2178|  23.5k|    if (result != NULL) {
  ------------------
  |  Branch (2178:9): [True: 23.5k, False: 0]
  ------------------
 2179|  23.5k|        if (!PyTuple_Check(result)) {
  ------------------
  |  |   27|  23.5k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  23.5k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2179:13): [True: 0, False: 23.5k]
  ------------------
 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|  23.5k|        if (PyTuple_GET_SIZE(result) != 2) {
  ------------------
  |  |   27|  23.5k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  23.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  23.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2186:13): [True: 0, False: 23.5k]
  ------------------
 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|  23.5k|    }
 2194|  23.5k|    return result;
 2195|  23.5k|}
_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|     22|{
 3010|     22|    PyObject *total_seconds;
 3011|     22|    PyObject *total_microseconds;
 3012|       |
 3013|     22|    total_microseconds = delta_to_microseconds(PyDelta_CAST(op));
  ------------------
  |  |   95|     22|#define PyDelta_CAST(op) ((PyDateTime_Delta *)(op))
  ------------------
 3014|     22|    if (total_microseconds == NULL)
  ------------------
  |  Branch (3014:9): [True: 0, False: 22]
  ------------------
 3015|      0|        return NULL;
 3016|       |
 3017|     22|    PyObject *current_mod = NULL;
 3018|     22|    datetime_state *st = GET_CURRENT_STATE(current_mod);
  ------------------
  |  |  183|     22|    _get_current_state(&MOD_VAR)
  ------------------
 3019|       |
 3020|     22|    total_seconds = PyNumber_TrueDivide(total_microseconds, CONST_US_PER_SECOND(st));
  ------------------
  |  |  109|     22|#define CONST_US_PER_SECOND(st) st->us_per_second
  ------------------
 3021|       |
 3022|     22|    RELEASE_CURRENT_STATE(st, current_mod);
  ------------------
  |  |  185|     22|    Py_DECREF(MOD_VAR)
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3023|     22|    Py_DECREF(total_microseconds);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3024|     22|    return total_seconds;
 3025|     22|}
_datetimemodule.c:delta_new_impl:
 2815|  11.7k|{
 2816|  11.7k|    PyObject *self = NULL;
 2817|       |
 2818|  11.7k|    PyObject *current_mod = NULL;
 2819|  11.7k|    datetime_state *st = GET_CURRENT_STATE(current_mod);
  ------------------
  |  |  183|  11.7k|    _get_current_state(&MOD_VAR)
  ------------------
 2820|       |
 2821|  11.7k|    PyObject *x = NULL;         /* running sum of microseconds */
 2822|  11.7k|    PyObject *y = NULL;         /* temp sum of microseconds */
 2823|  11.7k|    double leftover_us = 0.0;
 2824|       |
 2825|  11.7k|    x = PyLong_FromLong(0);
 2826|  11.7k|    if (x == NULL)
  ------------------
  |  Branch (2826:9): [True: 0, False: 11.7k]
  ------------------
 2827|      0|        goto Done;
 2828|       |
 2829|  11.7k|#define CLEANUP         \
 2830|  11.7k|    Py_DECREF(x);       \
 2831|  11.7k|    x = y;              \
 2832|  11.7k|    if (x == NULL)      \
 2833|  11.7k|        goto Done
 2834|       |
 2835|  11.7k|    if (microseconds) {
  ------------------
  |  Branch (2835:9): [True: 0, False: 11.7k]
  ------------------
 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|  11.7k|    if (milliseconds) {
  ------------------
  |  Branch (2839:9): [True: 2, False: 11.7k]
  ------------------
 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|  11.7k|    if (seconds) {
  ------------------
  |  Branch (2843:9): [True: 11.7k, False: 6]
  ------------------
 2844|  11.7k|        y = accum("seconds", x, seconds, CONST_US_PER_SECOND(st), &leftover_us);
  ------------------
  |  |  109|  11.7k|#define CONST_US_PER_SECOND(st) st->us_per_second
  ------------------
 2845|  11.7k|        CLEANUP;
  ------------------
  |  | 2830|  11.7k|    Py_DECREF(x);       \
  |  |  ------------------
  |  |  |  |  430|  11.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  11.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  11.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2831|  11.7k|    x = y;              \
  |  | 2832|  11.7k|    if (x == NULL)      \
  |  |  ------------------
  |  |  |  Branch (2832:9): [True: 0, False: 11.7k]
  |  |  ------------------
  |  | 2833|  11.7k|        goto Done
  ------------------
 2846|  11.7k|    }
 2847|  11.7k|    if (minutes) {
  ------------------
  |  Branch (2847:9): [True: 0, False: 11.7k]
  ------------------
 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|  11.7k|    if (hours) {
  ------------------
  |  Branch (2851:9): [True: 0, False: 11.7k]
  ------------------
 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|  11.7k|    if (days) {
  ------------------
  |  Branch (2855:9): [True: 4, False: 11.7k]
  ------------------
 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|  11.7k|    if (weeks) {
  ------------------
  |  Branch (2859:9): [True: 0, False: 11.7k]
  ------------------
 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|  11.7k|    if (leftover_us) {
  ------------------
  |  Branch (2863:9): [True: 0, False: 11.7k]
  ------------------
 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|  11.7k|    self = microseconds_to_delta_ex(x, type);
 2901|  11.7k|    Py_DECREF(x);
  ------------------
  |  |  430|  11.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2902|       |
 2903|  11.7k|Done:
 2904|  11.7k|    RELEASE_CURRENT_STATE(st, current_mod);
  ------------------
  |  |  185|  11.7k|    Py_DECREF(MOD_VAR)
  |  |  ------------------
  |  |  |  |  430|  11.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  11.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  11.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2905|  11.7k|    return self;
 2906|       |
 2907|  11.7k|#undef CLEANUP
 2908|  11.7k|}
_datetimemodule.c:accum:
 2714|  11.7k|{
 2715|  11.7k|    PyObject *prod;
 2716|  11.7k|    PyObject *sum;
 2717|       |
 2718|  11.7k|    assert(num != NULL);
 2719|       |
 2720|  11.7k|    if (PyLong_Check(num)) {
  ------------------
  |  |   13|  11.7k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  11.7k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 11.7k, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2721|  11.7k|        prod = PyNumber_Multiply(num, factor);
 2722|  11.7k|        if (prod == NULL)
  ------------------
  |  Branch (2722:13): [True: 0, False: 11.7k]
  ------------------
 2723|      0|            return NULL;
 2724|  11.7k|        sum = PyNumber_Add(sofar, prod);
 2725|  11.7k|        Py_DECREF(prod);
  ------------------
  |  |  430|  11.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2726|  11.7k|        return sum;
 2727|  11.7k|    }
 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|  11.7k|{
 1374|  11.7k|    PyDateTime_Delta *self;
 1375|       |
 1376|  11.7k|    if (normalize)
  ------------------
  |  Branch (1376:9): [True: 4, False: 11.7k]
  ------------------
 1377|      4|        normalize_d_s_us(&days, &seconds, &microseconds);
 1378|  11.7k|    assert(0 <= seconds && seconds < 24*3600);
 1379|  11.7k|    assert(0 <= microseconds && microseconds < 1000000);
 1380|       |
 1381|  11.7k|    if (check_delta_day_range(days) < 0)
  ------------------
  |  Branch (1381:9): [True: 0, False: 11.7k]
  ------------------
 1382|      0|        return NULL;
 1383|       |
 1384|  11.7k|    self = look_up_delta(days, seconds, microseconds, type);
 1385|  11.7k|    if (self != NULL) {
  ------------------
  |  Branch (1385:9): [True: 914, False: 10.8k]
  ------------------
 1386|    914|        return (PyObject *)self;
 1387|    914|    }
 1388|  11.7k|    assert(!PyErr_Occurred());
 1389|       |
 1390|  10.8k|    self = (PyDateTime_Delta *) (type->tp_alloc(type, 0));
 1391|  10.8k|    if (self != NULL) {
  ------------------
  |  Branch (1391:9): [True: 10.8k, False: 0]
  ------------------
 1392|  10.8k|        self->hashcode = -1;
 1393|  10.8k|        SET_TD_DAYS(self, days);
  ------------------
  |  |  315|  10.8k|#define SET_TD_DAYS(o, v)       ((o)->days = (v))
  ------------------
 1394|  10.8k|        SET_TD_SECONDS(self, seconds);
  ------------------
  |  |  316|  10.8k|#define SET_TD_SECONDS(o, v)    ((o)->seconds = (v))
  ------------------
 1395|  10.8k|        SET_TD_MICROSECONDS(self, microseconds);
  ------------------
  |  |  317|  10.8k|#define SET_TD_MICROSECONDS(o, v) ((o)->microseconds = (v))
  ------------------
 1396|  10.8k|    }
 1397|  10.8k|    return (PyObject *) self;
 1398|  11.7k|}
_datetimemodule.c:normalize_d_s_us:
  737|      4|{
  738|      4|    if (*us < 0 || *us >= 1000000) {
  ------------------
  |  Branch (738:9): [True: 0, False: 4]
  |  Branch (738:20): [True: 0, False: 4]
  ------------------
  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|      4|    if (*s < 0 || *s >= 24*3600) {
  ------------------
  |  Branch (745:9): [True: 0, False: 4]
  |  Branch (745:19): [True: 0, False: 4]
  ------------------
  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|      4|    assert(0 <= *s && *s < 24*3600);
  753|       |    assert(0 <= *us && *us < 1000000);
  754|      4|}
_datetimemodule.c:check_delta_day_range:
  638|  11.7k|{
  639|  11.7k|    if (-MAX_DELTA_DAYS <= days && days <= MAX_DELTA_DAYS)
  ------------------
  |  |  267|  11.7k|#define MAX_DELTA_DAYS 999999999
  ------------------
                  if (-MAX_DELTA_DAYS <= days && days <= MAX_DELTA_DAYS)
  ------------------
  |  |  267|  11.7k|#define MAX_DELTA_DAYS 999999999
  ------------------
  |  Branch (639:9): [True: 11.7k, False: 0]
  |  Branch (639:36): [True: 11.7k, False: 0]
  ------------------
  640|  11.7k|        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|  11.7k|}
_datetimemodule.c:look_up_delta:
 3146|  11.7k|{
 3147|  11.7k|    if (days == 0 && seconds == 0 && microseconds == 0
  ------------------
  |  Branch (3147:9): [True: 1.84k, False: 9.94k]
  |  Branch (3147:22): [True: 924, False: 920]
  |  Branch (3147:38): [True: 914, False: 10]
  ------------------
 3148|    914|            && type == Py_TYPE(&zero_delta))
  ------------------
  |  |  213|    914|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    914|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    914|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3148:16): [True: 914, False: 0]
  ------------------
 3149|    914|    {
 3150|    914|        return &zero_delta;
 3151|    914|    }
 3152|  10.8k|    return NULL;
 3153|  11.7k|}
_datetimemodule.c:weekday:
  571|  11.8k|{
  572|  11.8k|    return (ymd_to_ord(year, month, day) + 6) % 7;
  573|  11.8k|}
_datetimemodule.c:datetime_date_strftime_impl:
 3638|     96|{
 3639|       |    /* This method can be inherited, and needs to call the
 3640|       |     * timetuple() method appropriate to self's class.
 3641|       |     */
 3642|     96|    PyObject *result;
 3643|     96|    PyObject *tuple;
 3644|       |
 3645|     96|    tuple = PyObject_CallMethodNoArgs(self, &_Py_ID(timetuple));
  ------------------
  |  |  915|     96|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     96|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     96|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3646|     96|    if (tuple == NULL)
  ------------------
  |  Branch (3646:9): [True: 0, False: 96]
  ------------------
 3647|      0|        return NULL;
 3648|     96|    result = wrap_strftime(self, format, tuple, self);
 3649|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3650|     96|    return result;
 3651|     96|}
_datetimemodule.c:wrap_strftime:
 1871|     96|{
 1872|     96|    PyObject *result = NULL;            /* guilty until proved innocent */
 1873|       |
 1874|     96|    PyObject *zreplacement = NULL;      /* py string, replacement for %z */
 1875|     96|    PyObject *colonzreplacement = NULL; /* py string, replacement for %:z */
 1876|     96|    PyObject *Zreplacement = NULL;      /* py string, replacement for %Z */
 1877|     96|    PyObject *freplacement = NULL;      /* py string, replacement for %f */
 1878|       |
 1879|     96|    assert(object && format && timetuple);
 1880|     96|    assert(PyUnicode_Check(format));
 1881|       |
 1882|     96|    PyObject *strftime = PyImport_ImportModuleAttrString("time", "strftime");
 1883|     96|    if (strftime == NULL) {
  ------------------
  |  Branch (1883:9): [True: 0, False: 96]
  ------------------
 1884|      0|        return NULL;
 1885|      0|    }
 1886|       |
 1887|       |    /* Scan the input format, looking for %z/%Z/%f escapes, building
 1888|       |     * a new format.  Since computing the replacements for those codes
 1889|       |     * is expensive, don't unless they're actually used.
 1890|       |     */
 1891|       |
 1892|     96|    PyUnicodeWriter *writer = PyUnicodeWriter_Create(0);
 1893|     96|    if (writer == NULL) {
  ------------------
  |  Branch (1893:9): [True: 0, False: 96]
  ------------------
 1894|      0|        goto Error;
 1895|      0|    }
 1896|       |
 1897|     96|    Py_ssize_t flen = PyUnicode_GET_LENGTH(format);
  ------------------
  |  |  299|     96|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     96|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     96|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1898|     96|    Py_ssize_t i = 0;
 1899|     96|    Py_ssize_t start = 0;
 1900|     96|    Py_ssize_t end = 0;
 1901|    192|    while (i != flen) {
  ------------------
  |  Branch (1901:12): [True: 144, False: 48]
  ------------------
 1902|    144|        i = PyUnicode_FindChar(format, '%', i, flen, 1);
 1903|    144|        if (i < 0) {
  ------------------
  |  Branch (1903:13): [True: 48, False: 96]
  ------------------
 1904|     48|            assert(!PyErr_Occurred());
 1905|     48|            break;
 1906|     48|        }
 1907|     96|        end = i;
 1908|     96|        i++;
 1909|     96|        if (i == flen) {
  ------------------
  |  Branch (1909:13): [True: 0, False: 96]
  ------------------
 1910|      0|            break;
 1911|      0|        }
 1912|     96|        Py_UCS4 ch = PyUnicode_READ_CHAR(format, i);
  ------------------
  |  |  381|     96|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|     96|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     96|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1913|     96|        i++;
 1914|       |        /* A % has been seen and ch is the character after it. */
 1915|     96|        PyObject *replacement = NULL;
 1916|     96|        if (ch == 'z') {
  ------------------
  |  Branch (1916:13): [True: 0, False: 96]
  ------------------
 1917|       |            /* %z -> +HHMM */
 1918|      0|            if (zreplacement == NULL) {
  ------------------
  |  Branch (1918:17): [True: 0, False: 0]
  ------------------
 1919|      0|                zreplacement = make_somezreplacement(object, "", tzinfoarg);
 1920|      0|                if (zreplacement == NULL)
  ------------------
  |  Branch (1920:21): [True: 0, False: 0]
  ------------------
 1921|      0|                    goto Error;
 1922|      0|            }
 1923|      0|            replacement = zreplacement;
 1924|      0|        }
 1925|     96|        else if (ch == ':' && i < flen && PyUnicode_READ_CHAR(format, i) == 'z') {
  ------------------
  |  |  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 (1925:18): [True: 0, False: 96]
  |  Branch (1925:31): [True: 0, False: 0]
  |  Branch (1925:43): [True: 0, False: 0]
  ------------------
 1926|       |            /* %:z -> +HH:MM */
 1927|      0|            i++;
 1928|      0|            if (colonzreplacement == NULL) {
  ------------------
  |  Branch (1928:17): [True: 0, False: 0]
  ------------------
 1929|      0|                colonzreplacement = make_somezreplacement(object, ":", tzinfoarg);
 1930|      0|                if (colonzreplacement == NULL)
  ------------------
  |  Branch (1930:21): [True: 0, False: 0]
  ------------------
 1931|      0|                    goto Error;
 1932|      0|            }
 1933|      0|            replacement = colonzreplacement;
 1934|      0|        }
 1935|     96|        else if (ch == 'Z') {
  ------------------
  |  Branch (1935:18): [True: 0, False: 96]
  ------------------
 1936|       |            /* format tzname */
 1937|      0|            if (Zreplacement == NULL) {
  ------------------
  |  Branch (1937:17): [True: 0, False: 0]
  ------------------
 1938|      0|                Zreplacement = make_Zreplacement(object,
 1939|      0|                                                 tzinfoarg);
 1940|      0|                if (Zreplacement == NULL)
  ------------------
  |  Branch (1940:21): [True: 0, False: 0]
  ------------------
 1941|      0|                    goto Error;
 1942|      0|            }
 1943|      0|            replacement = Zreplacement;
 1944|      0|        }
 1945|     96|        else if (ch == 'f') {
  ------------------
  |  Branch (1945:18): [True: 0, False: 96]
  ------------------
 1946|       |            /* format microseconds */
 1947|      0|            if (freplacement == NULL) {
  ------------------
  |  Branch (1947:17): [True: 0, False: 0]
  ------------------
 1948|      0|                freplacement = make_freplacement(object);
 1949|      0|                if (freplacement == NULL)
  ------------------
  |  Branch (1949:21): [True: 0, False: 0]
  ------------------
 1950|      0|                    goto Error;
 1951|      0|            }
 1952|      0|            replacement = freplacement;
 1953|      0|        }
 1954|     96|        else if (normalize_century()
  ------------------
  |  Branch (1954:18): [True: 96, False: 0]
  ------------------
 1955|     96|                 && (ch == 'Y' || ch == 'G' || ch == 'F' || ch == 'C'))
  ------------------
  |  Branch (1955:22): [True: 0, False: 96]
  |  Branch (1955:35): [True: 0, False: 96]
  |  Branch (1955:48): [True: 0, False: 96]
  |  Branch (1955:61): [True: 0, False: 96]
  ------------------
 1956|      0|        {
 1957|       |            /* 0-pad year with century as necessary */
 1958|      0|            PyObject *item = PySequence_GetItem(timetuple, 0);
 1959|      0|            if (item == NULL) {
  ------------------
  |  Branch (1959:17): [True: 0, False: 0]
  ------------------
 1960|      0|                goto Error;
 1961|      0|            }
 1962|      0|            long year_long = PyLong_AsLong(item);
 1963|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1964|      0|            if (year_long == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1964:17): [True: 0, False: 0]
  |  Branch (1964:36): [True: 0, False: 0]
  ------------------
 1965|      0|                goto Error;
 1966|      0|            }
 1967|       |            /* Note that datetime(1000, 1, 1).strftime('%G') == '1000' so year
 1968|       |               1000 for %G can go on the fast path. */
 1969|      0|            if (year_long >= 1000) {
  ------------------
  |  Branch (1969:17): [True: 0, False: 0]
  ------------------
 1970|      0|                continue;
 1971|      0|            }
 1972|      0|            if (ch == 'G') {
  ------------------
  |  Branch (1972:17): [True: 0, False: 0]
  ------------------
 1973|      0|                PyObject *year_str = PyObject_CallFunction(strftime, "sO",
 1974|      0|                                                           "%G", timetuple);
 1975|      0|                if (year_str == NULL) {
  ------------------
  |  Branch (1975:21): [True: 0, False: 0]
  ------------------
 1976|      0|                    goto Error;
 1977|      0|                }
 1978|      0|                PyObject *year = PyNumber_Long(year_str);
 1979|      0|                Py_DECREF(year_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1980|      0|                if (year == NULL) {
  ------------------
  |  Branch (1980:21): [True: 0, False: 0]
  ------------------
 1981|      0|                    goto Error;
 1982|      0|                }
 1983|      0|                year_long = PyLong_AsLong(year);
 1984|      0|                Py_DECREF(year);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1985|      0|                if (year_long == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1985:21): [True: 0, False: 0]
  |  Branch (1985:40): [True: 0, False: 0]
  ------------------
 1986|      0|                    goto Error;
 1987|      0|                }
 1988|      0|            }
 1989|       |            /* Buffer of maximum size of formatted year permitted by long.
 1990|       |             * +6 to accommodate dashes, 2-digit month and day for %F. */
 1991|      0|            char buf[SIZEOF_LONG * 5 / 2 + 2 + 6];
 1992|      0|            Py_ssize_t n = PyOS_snprintf(buf, sizeof(buf),
 1993|      0|                                      ch == 'F' ? "%04ld-%%m-%%d" :
  ------------------
  |  Branch (1993:39): [True: 0, False: 0]
  ------------------
 1994|      0|                                      "%04ld", year_long);
 1995|      0|            if (ch == 'C') {
  ------------------
  |  Branch (1995:17): [True: 0, False: 0]
  ------------------
 1996|      0|                n -= 2;
 1997|      0|            }
 1998|      0|            if (PyUnicodeWriter_WriteSubstring(writer, format, start, end) < 0) {
  ------------------
  |  Branch (1998:17): [True: 0, False: 0]
  ------------------
 1999|      0|                goto Error;
 2000|      0|            }
 2001|      0|            start = i;
 2002|      0|            if (PyUnicodeWriter_WriteUTF8(writer, buf, n) < 0) {
  ------------------
  |  Branch (2002:17): [True: 0, False: 0]
  ------------------
 2003|      0|                goto Error;
 2004|      0|            }
 2005|      0|            continue;
 2006|      0|        }
 2007|     96|        else {
 2008|       |            /* percent followed by something else */
 2009|     96|            continue;
 2010|     96|        }
 2011|     96|        assert(replacement != NULL);
 2012|      0|        assert(PyUnicode_Check(replacement));
 2013|      0|        if (PyUnicodeWriter_WriteSubstring(writer, format, start, end) < 0) {
  ------------------
  |  Branch (2013:13): [True: 0, False: 0]
  ------------------
 2014|      0|            goto Error;
 2015|      0|        }
 2016|      0|        start = i;
 2017|      0|        if (PyUnicodeWriter_WriteStr(writer, replacement) < 0) {
  ------------------
  |  Branch (2017:13): [True: 0, False: 0]
  ------------------
 2018|      0|            goto Error;
 2019|      0|        }
 2020|      0|    }  /* end while() */
 2021|       |
 2022|     96|    PyObject *newformat;
 2023|     96|    if (start == 0) {
  ------------------
  |  Branch (2023:9): [True: 96, False: 0]
  ------------------
 2024|     96|        PyUnicodeWriter_Discard(writer);
 2025|     96|        newformat = Py_NewRef(format);
  ------------------
  |  |  550|     96|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     96|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     96|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2026|     96|    }
 2027|      0|    else {
 2028|      0|        if (PyUnicodeWriter_WriteSubstring(writer, format, start, flen) < 0) {
  ------------------
  |  Branch (2028:13): [True: 0, False: 0]
  ------------------
 2029|      0|            goto Error;
 2030|      0|        }
 2031|      0|        newformat = PyUnicodeWriter_Finish(writer);
 2032|      0|        if (newformat == NULL) {
  ------------------
  |  Branch (2032:13): [True: 0, False: 0]
  ------------------
 2033|      0|            goto Done;
 2034|      0|        }
 2035|      0|    }
 2036|     96|    result = PyObject_CallFunctionObjArgs(strftime,
 2037|     96|                                          newformat, timetuple, NULL);
 2038|     96|    Py_DECREF(newformat);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2039|       |
 2040|     96| Done:
 2041|     96|    Py_XDECREF(freplacement);
  ------------------
  |  |  524|     96|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     96|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     96|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2042|     96|    Py_XDECREF(zreplacement);
  ------------------
  |  |  524|     96|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     96|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     96|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2043|     96|    Py_XDECREF(colonzreplacement);
  ------------------
  |  |  524|     96|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     96|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     96|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2044|     96|    Py_XDECREF(Zreplacement);
  ------------------
  |  |  524|     96|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     96|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     96|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2045|     96|    Py_XDECREF(strftime);
  ------------------
  |  |  524|     96|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     96|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     96|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2046|     96|    return result;
 2047|       |
 2048|      0| Error:
 2049|      0|    PyUnicodeWriter_Discard(writer);
 2050|      0|    goto Done;
 2051|     96|}
_datetimemodule.c:normalize_century:
 1768|     96|{
 1769|     96|    static int cache = -1;
 1770|     96|    if (cache < 0) {
  ------------------
  |  Branch (1770:9): [True: 2, False: 94]
  ------------------
 1771|      2|        char year[5];
 1772|      2|        struct tm date = {
 1773|      2|            .tm_year = -1801,
 1774|      2|            .tm_mon = 0,
 1775|      2|            .tm_mday = 1
 1776|      2|        };
 1777|      2|        cache = (strftime(year, sizeof(year), "%Y", &date) &&
  ------------------
  |  Branch (1777:18): [True: 2, False: 0]
  ------------------
 1778|      2|                 strcmp(year, "0099") != 0);
  ------------------
  |  Branch (1778:18): [True: 2, False: 0]
  ------------------
 1779|      2|    }
 1780|     96|    return cache;
 1781|     96|}
_datetimemodule.c:date_timetuple:
 3907|     96|{
 3908|     96|    return build_struct_time(GET_YEAR(self),
  ------------------
  |  |  270|     96|#define GET_YEAR                PyDateTime_GET_YEAR
  |  |  ------------------
  |  |  |  |  122|     96|#define PyDateTime_GET_YEAR(o)     ((((PyDateTime_Date*)(o))->data[0] << 8) | \
  |  |  |  |  123|     96|                     ((PyDateTime_Date*)(o))->data[1])
  |  |  ------------------
  ------------------
 3909|     96|                             GET_MONTH(self),
  ------------------
  |  |  271|     96|#define GET_MONTH               PyDateTime_GET_MONTH
  |  |  ------------------
  |  |  |  |  124|     96|#define PyDateTime_GET_MONTH(o)    (((PyDateTime_Date*)(o))->data[2])
  |  |  ------------------
  ------------------
 3910|     96|                             GET_DAY(self),
  ------------------
  |  |  272|     96|#define GET_DAY                 PyDateTime_GET_DAY
  |  |  ------------------
  |  |  |  |  125|     96|#define PyDateTime_GET_DAY(o)      (((PyDateTime_Date*)(o))->data[3])
  |  |  ------------------
  ------------------
 3911|     96|                             0, 0, 0, -1);
 3912|     96|}
_datetimemodule.c:build_struct_time:
 2077|  11.8k|{
 2078|  11.8k|    PyObject *struct_time;
 2079|  11.8k|    PyObject *result;
 2080|       |
 2081|  11.8k|    struct_time = PyImport_ImportModuleAttrString("time", "struct_time");
 2082|  11.8k|    if (struct_time == NULL) {
  ------------------
  |  Branch (2082:9): [True: 0, False: 11.8k]
  ------------------
 2083|      0|        return NULL;
 2084|      0|    }
 2085|       |
 2086|  11.8k|    result = PyObject_CallFunction(struct_time, "((iiiiiiiii))",
 2087|  11.8k|                         y, m, d,
 2088|  11.8k|                         hh, mm, ss,
 2089|  11.8k|                         weekday(y, m, d),
 2090|  11.8k|                         days_before_month(y, m) + d,
 2091|  11.8k|                         dstflag);
 2092|  11.8k|    Py_DECREF(struct_time);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2093|  11.8k|    return result;
 2094|  11.8k|}
_datetimemodule.c:date_toordinal:
 3957|      2|{
 3958|      2|    return PyLong_FromLong(ymd_to_ord(GET_YEAR(self), GET_MONTH(self),
  ------------------
  |  |  270|      2|#define GET_YEAR                PyDateTime_GET_YEAR
  |  |  ------------------
  |  |  |  |  122|      2|#define PyDateTime_GET_YEAR(o)     ((((PyDateTime_Date*)(o))->data[0] << 8) | \
  |  |  |  |  123|      2|                     ((PyDateTime_Date*)(o))->data[1])
  |  |  ------------------
  ------------------
                  return PyLong_FromLong(ymd_to_ord(GET_YEAR(self), GET_MONTH(self),
  ------------------
  |  |  271|      2|#define GET_MONTH               PyDateTime_GET_MONTH
  |  |  ------------------
  |  |  |  |  124|      2|#define PyDateTime_GET_MONTH(o)    (((PyDateTime_Date*)(o))->data[2])
  |  |  ------------------
  ------------------
 3959|      2|                                      GET_DAY(self)));
  ------------------
  |  |  272|      2|#define GET_DAY                 PyDateTime_GET_DAY
  |  |  ------------------
  |  |  |  |  125|      2|#define PyDateTime_GET_DAY(o)      (((PyDateTime_Date*)(o))->data[3])
  |  |  ------------------
  ------------------
 3960|      2|}
_datetimemodule.c:date_new:
 3208|     40|{
 3209|       |    /* Check for invocation from pickle with __getstate__ state */
 3210|     40|    if (PyTuple_GET_SIZE(args) == 1) {
  ------------------
  |  |   27|     40|#define PyTuple_GET_SIZE(op) PyTuple_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 (3210:9): [True: 0, False: 40]
  ------------------
 3211|      0|        PyObject *state = 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3212|      0|        if (PyBytes_Check(state)) {
  ------------------
  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3213|      0|            if (PyBytes_GET_SIZE(state) == _PyDateTime_DATE_DATASIZE &&
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          if (PyBytes_GET_SIZE(state) == _PyDateTime_DATE_DATASIZE &&
  ------------------
  |  |   25|      0|#define _PyDateTime_DATE_DATASIZE 4
  ------------------
  |  Branch (3213:17): [True: 0, False: 0]
  ------------------
 3214|      0|                MONTH_IS_SANE(PyBytes_AS_STRING(state)[2]))
  ------------------
  |  |  326|      0|#define MONTH_IS_SANE(M) ((unsigned int)(M) - 1 < 12)
  |  |  ------------------
  |  |  |  Branch (326:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3215|      0|            {
 3216|      0|                return date_from_pickle(type, state);
 3217|      0|            }
 3218|      0|        }
 3219|      0|        else if (PyUnicode_Check(state)) {
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3220|      0|            if (PyUnicode_GET_LENGTH(state) == _PyDateTime_DATE_DATASIZE &&
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          if (PyUnicode_GET_LENGTH(state) == _PyDateTime_DATE_DATASIZE &&
  ------------------
  |  |   25|      0|#define _PyDateTime_DATE_DATASIZE 4
  ------------------
  |  Branch (3220:17): [True: 0, False: 0]
  ------------------
 3221|      0|                MONTH_IS_SANE(PyUnicode_READ_CHAR(state, 2)))
  ------------------
  |  |  326|      0|#define MONTH_IS_SANE(M) ((unsigned int)(M) - 1 < 12)
  |  |  ------------------
  |  |  |  Branch (326:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3222|      0|            {
 3223|      0|                state = PyUnicode_AsLatin1String(state);
 3224|      0|                if (state == NULL) {
  ------------------
  |  Branch (3224:21): [True: 0, False: 0]
  ------------------
 3225|      0|                    if (PyErr_ExceptionMatches(PyExc_UnicodeEncodeError)) {
  ------------------
  |  Branch (3225:25): [True: 0, False: 0]
  ------------------
 3226|       |                        /* More informative error message. */
 3227|      0|                        PyErr_SetString(PyExc_ValueError,
 3228|      0|                            "Failed to encode latin1 string when unpickling "
 3229|      0|                            "a date object. "
 3230|      0|                            "pickle.load(data, encoding='latin1') is assumed.");
 3231|      0|                    }
 3232|      0|                    return NULL;
 3233|      0|                }
 3234|      0|                PyObject *self = date_from_pickle(type, state);
 3235|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3236|      0|                return self;
 3237|      0|            }
 3238|      0|        }
 3239|      0|    }
 3240|       |
 3241|     40|    return datetime_date(type, args, kw);
 3242|     40|}
_datetimemodule.c:datetime_date_impl:
 3258|     40|{
 3259|     40|    return new_date_ex(year, month, day, type);
 3260|     40|}
_datetimemodule.c:new_date_ex:
 1156|     44|{
 1157|     44|    PyDateTime_Date *self;
 1158|       |
 1159|     44|    if (check_date_args(year, month, day) < 0) {
  ------------------
  |  Branch (1159:9): [True: 0, False: 44]
  ------------------
 1160|      0|        return NULL;
 1161|      0|    }
 1162|       |
 1163|     44|    self = (PyDateTime_Date *)(type->tp_alloc(type, 0));
 1164|     44|    if (self != NULL)
  ------------------
  |  Branch (1164:9): [True: 44, False: 0]
  ------------------
 1165|     44|        set_date_fields(self, year, month, day);
 1166|     44|    return (PyObject *)self;
 1167|     44|}
_datetimemodule.c:check_date_args:
  652|  11.7k|{
  653|       |
  654|  11.7k|    if (year < MINYEAR || year > MAXYEAR) {
  ------------------
  |  |  258|  23.5k|#define MINYEAR 1
  ------------------
                  if (year < MINYEAR || year > MAXYEAR) {
  ------------------
  |  |  259|  11.7k|#define MAXYEAR 9999
  ------------------
  |  Branch (654:9): [True: 0, False: 11.7k]
  |  Branch (654:27): [True: 0, False: 11.7k]
  ------------------
  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|  11.7k|    if (month < 1 || month > 12) {
  ------------------
  |  Branch (659:9): [True: 0, False: 11.7k]
  |  Branch (659:22): [True: 0, False: 11.7k]
  ------------------
  660|      0|        PyErr_Format(PyExc_ValueError,
  661|      0|                     "month must be in 1..12, not %d", month);
  662|      0|        return -1;
  663|      0|    }
  664|  11.7k|    int dim = days_in_month(year, month);
  665|  11.7k|    if (day < 1 || day > dim) {
  ------------------
  |  Branch (665:9): [True: 0, False: 11.7k]
  |  Branch (665:20): [True: 0, False: 11.7k]
  ------------------
  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|  11.7k|    return 0;
  672|  11.7k|}
_datetimemodule.c:set_date_fields:
  903|  11.7k|{
  904|  11.7k|    self->hashcode = -1;
  905|  11.7k|    SET_YEAR(self, y);
  ------------------
  |  |  280|  11.7k|#define SET_YEAR(o, v)          (((o)->data[0] = ((v) & 0xff00) >> 8), \
  |  |  281|  11.7k|                 ((o)->data[1] = ((v) & 0x00ff)))
  ------------------
  906|  11.7k|    SET_MONTH(self, m);
  ------------------
  |  |  282|  11.7k|#define SET_MONTH(o, v)         (PyDateTime_GET_MONTH(o) = (v))
  |  |  ------------------
  |  |  |  |  124|  11.7k|#define PyDateTime_GET_MONTH(o)    (((PyDateTime_Date*)(o))->data[2])
  |  |  ------------------
  ------------------
  907|  11.7k|    SET_DAY(self, d);
  ------------------
  |  |  283|  11.7k|#define SET_DAY(o, v)           (PyDateTime_GET_DAY(o) = (v))
  |  |  ------------------
  |  |  |  |  125|  11.7k|#define PyDateTime_GET_DAY(o)      (((PyDateTime_Date*)(o))->data[3])
  |  |  ------------------
  ------------------
  908|  11.7k|}
_datetimemodule.c:check_time_args:
  679|  11.7k|{
  680|  11.7k|    if (h < 0 || h > 23) {
  ------------------
  |  Branch (680:9): [True: 0, False: 11.7k]
  |  Branch (680:18): [True: 0, False: 11.7k]
  ------------------
  681|      0|        PyErr_Format(PyExc_ValueError, "hour must be in 0..23, not %i", h);
  682|      0|        return -1;
  683|      0|    }
  684|  11.7k|    if (m < 0 || m > 59) {
  ------------------
  |  Branch (684:9): [True: 0, False: 11.7k]
  |  Branch (684:18): [True: 0, False: 11.7k]
  ------------------
  685|      0|        PyErr_Format(PyExc_ValueError, "minute must be in 0..59, not %i", m);
  686|      0|        return -1;
  687|      0|    }
  688|  11.7k|    if (s < 0 || s > 59) {
  ------------------
  |  Branch (688:9): [True: 0, False: 11.7k]
  |  Branch (688:18): [True: 0, False: 11.7k]
  ------------------
  689|      0|        PyErr_Format(PyExc_ValueError, "second must be in 0..59, not %i", s);
  690|      0|        return -1;
  691|      0|    }
  692|  11.7k|    if (us < 0 || us > 999999) {
  ------------------
  |  Branch (692:9): [True: 0, False: 11.7k]
  |  Branch (692:19): [True: 0, False: 11.7k]
  ------------------
  693|      0|        PyErr_Format(PyExc_ValueError,
  694|      0|                     "microsecond must be in 0..999999, not %i", us);
  695|      0|        return -1;
  696|      0|    }
  697|  11.7k|    if (fold != 0 && fold != 1) {
  ------------------
  |  Branch (697:9): [True: 0, False: 11.7k]
  |  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|  11.7k|    return 0;
  703|  11.7k|}
_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|  11.7k|{
 1478|  11.7k|    if (p == Py_None || PyTZInfo_Check(p))
  ------------------
  |  |  616|  23.4k|#  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: 11.7k, False: 2]
  ------------------
 1479|  11.7k|        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|  11.7k|}
_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_dealloc:
 6171|  11.7k|{
 6172|  11.7k|    PyDateTime_DateTime *self = PyDateTime_CAST(op);
  ------------------
  |  |   87|  11.7k|#define PyDateTime_CAST(op) ((PyDateTime_DateTime *)(op))
  ------------------
 6173|  11.7k|    if (HASTZINFO(self)) {
  ------------------
  |  |  319|  11.7k|#define HASTZINFO               _PyDateTime_HAS_TZINFO
  |  |  ------------------
  |  |  |  |  120|  11.7k|#define _PyDateTime_HAS_TZINFO(o)  (((_PyDateTime_BaseTZInfo *)(o))->hastzinfo)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (120:36): [True: 0, False: 11.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6174|      0|        Py_XDECREF(self->tzinfo);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6175|      0|    }
 6176|  11.7k|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|  11.7k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  11.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6177|  11.7k|}
_datetimemodule.c:datetime_add:
 6239|  11.7k|{
 6240|  11.7k|    if (PyDateTime_Check(left)) {
  ------------------
  |  |   88|  11.7k|#define PyDateTime_Check(op) PyObject_TypeCheck(op, DATETIME_TYPE(NO_STATE))
  |  |  ------------------
  |  |  |  |  378|  11.7k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  11.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  11.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 11.7k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6241|       |        /* datetime + ??? */
 6242|  11.7k|        if (PyDelta_Check(right))
  ------------------
  |  |   96|  11.7k|#define PyDelta_Check(op) PyObject_TypeCheck(op, DELTA_TYPE(NO_STATE))
  |  |  ------------------
  |  |  |  |  378|  11.7k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  11.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  11.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 11.7k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6243|       |            /* datetime + delta */
 6244|  11.7k|            return add_datetime_timedelta(
 6245|  11.7k|                            (PyDateTime_DateTime *)left,
 6246|  11.7k|                            (PyDateTime_Delta *)right,
 6247|  11.7k|                            1);
 6248|  11.7k|    }
 6249|      0|    else if (PyDelta_Check(left)) {
  ------------------
  |  |   96|      0|#define PyDelta_Check(op) PyObject_TypeCheck(op, DELTA_TYPE(NO_STATE))
  |  |  ------------------
  |  |  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6250|       |        /* delta + datetime */
 6251|      0|        return add_datetime_timedelta((PyDateTime_DateTime *) right,
 6252|      0|                                      (PyDateTime_Delta *) left,
 6253|      0|                                      1);
 6254|      0|    }
 6255|      0|    Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 6256|  11.7k|}
_datetimemodule.c:datetime_subtract:
 6260|      2|{
 6261|      2|    PyObject *result = Py_NotImplemented;
  ------------------
  |  |  640|      2|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
 6262|       |
 6263|      2|    if (PyDateTime_Check(left)) {
  ------------------
  |  |   88|      2|#define PyDateTime_Check(op) PyObject_TypeCheck(op, DATETIME_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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6264|       |        /* datetime - ??? */
 6265|      2|        if (PyDateTime_Check(right)) {
  ------------------
  |  |   88|      2|#define PyDateTime_Check(op) PyObject_TypeCheck(op, DATETIME_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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6266|       |            /* datetime - datetime */
 6267|      2|            PyObject *offset1, *offset2, *offdiff = NULL;
 6268|      2|            int delta_d, delta_s, delta_us;
 6269|       |
 6270|      2|            if (GET_DT_TZINFO(left) == GET_DT_TZINFO(right)) {
  ------------------
  |  |  321|      2|#define GET_DT_TZINFO           PyDateTime_DATE_GET_TZINFO
  |  |  ------------------
  |  |  |  |  135|      2|#define PyDateTime_DATE_GET_TZINFO(o)      (_PyDateTime_HAS_TZINFO((o)) ? \
  |  |  |  |  ------------------
  |  |  |  |  |  |  120|      2|#define _PyDateTime_HAS_TZINFO(o)  (((_PyDateTime_BaseTZInfo *)(o))->hastzinfo)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (120:36): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  136|      2|    ((PyDateTime_DateTime *)(o))->tzinfo : Py_None)
  |  |  |  |  ------------------
  |  |  |  |  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          if (GET_DT_TZINFO(left) == GET_DT_TZINFO(right)) {
  ------------------
  |  |  321|      2|#define GET_DT_TZINFO           PyDateTime_DATE_GET_TZINFO
  |  |  ------------------
  |  |  |  |  135|      2|#define PyDateTime_DATE_GET_TZINFO(o)      (_PyDateTime_HAS_TZINFO((o)) ? \
  |  |  |  |  ------------------
  |  |  |  |  |  |  120|      2|#define _PyDateTime_HAS_TZINFO(o)  (((_PyDateTime_BaseTZInfo *)(o))->hastzinfo)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (120:36): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  136|      2|    ((PyDateTime_DateTime *)(o))->tzinfo : Py_None)
  |  |  |  |  ------------------
  |  |  |  |  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6270:17): [True: 2, False: 0]
  ------------------
 6271|      2|                offset1 = Py_NewRef(Py_None);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6272|      2|                offset2 = Py_NewRef(Py_None);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6273|      2|            }
 6274|      0|            else {
 6275|      0|                offset1 = datetime_utcoffset(left, NULL);
 6276|      0|                if (offset1 == NULL)
  ------------------
  |  Branch (6276:21): [True: 0, False: 0]
  ------------------
 6277|      0|                    return NULL;
 6278|      0|                offset2 = datetime_utcoffset(right, NULL);
 6279|      0|                if (offset2 == NULL) {
  ------------------
  |  Branch (6279:21): [True: 0, False: 0]
  ------------------
 6280|      0|                    Py_DECREF(offset1);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6281|      0|                    return NULL;
 6282|      0|                }
 6283|      0|                if ((offset1 != Py_None) != (offset2 != Py_None)) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
                              if ((offset1 != Py_None) != (offset2 != Py_None)) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6283:21): [True: 0, False: 0]
  ------------------
 6284|      0|                    PyErr_SetString(PyExc_TypeError,
 6285|      0|                                    "can't subtract offset-naive and "
 6286|      0|                                    "offset-aware datetimes");
 6287|      0|                    Py_DECREF(offset1);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6288|      0|                    Py_DECREF(offset2);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6289|      0|                    return NULL;
 6290|      0|                }
 6291|      0|            }
 6292|      2|            if ((offset1 != offset2) &&
  ------------------
  |  Branch (6292:17): [True: 0, False: 2]
  ------------------
 6293|      0|                delta_cmp(offset1, offset2) != 0) {
  ------------------
  |  Branch (6293:17): [True: 0, False: 0]
  ------------------
 6294|      0|                offdiff = delta_subtract(offset1, offset2);
 6295|      0|                if (offdiff == NULL) {
  ------------------
  |  Branch (6295:21): [True: 0, False: 0]
  ------------------
 6296|      0|                    Py_DECREF(offset1);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6297|      0|                    Py_DECREF(offset2);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6298|      0|                    return NULL;
 6299|      0|                }
 6300|      0|            }
 6301|      2|            Py_DECREF(offset1);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6302|      2|            Py_DECREF(offset2);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6303|      2|            delta_d = ymd_to_ord(GET_YEAR(left),
  ------------------
  |  |  270|      2|#define GET_YEAR                PyDateTime_GET_YEAR
  |  |  ------------------
  |  |  |  |  122|      2|#define PyDateTime_GET_YEAR(o)     ((((PyDateTime_Date*)(o))->data[0] << 8) | \
  |  |  |  |  123|      2|                     ((PyDateTime_Date*)(o))->data[1])
  |  |  ------------------
  ------------------
 6304|      2|                                 GET_MONTH(left),
  ------------------
  |  |  271|      2|#define GET_MONTH               PyDateTime_GET_MONTH
  |  |  ------------------
  |  |  |  |  124|      2|#define PyDateTime_GET_MONTH(o)    (((PyDateTime_Date*)(o))->data[2])
  |  |  ------------------
  ------------------
 6305|      2|                                 GET_DAY(left)) -
  ------------------
  |  |  272|      2|#define GET_DAY                 PyDateTime_GET_DAY
  |  |  ------------------
  |  |  |  |  125|      2|#define PyDateTime_GET_DAY(o)      (((PyDateTime_Date*)(o))->data[3])
  |  |  ------------------
  ------------------
 6306|      2|                      ymd_to_ord(GET_YEAR(right),
  ------------------
  |  |  270|      2|#define GET_YEAR                PyDateTime_GET_YEAR
  |  |  ------------------
  |  |  |  |  122|      2|#define PyDateTime_GET_YEAR(o)     ((((PyDateTime_Date*)(o))->data[0] << 8) | \
  |  |  |  |  123|      2|                     ((PyDateTime_Date*)(o))->data[1])
  |  |  ------------------
  ------------------
 6307|      2|                                 GET_MONTH(right),
  ------------------
  |  |  271|      2|#define GET_MONTH               PyDateTime_GET_MONTH
  |  |  ------------------
  |  |  |  |  124|      2|#define PyDateTime_GET_MONTH(o)    (((PyDateTime_Date*)(o))->data[2])
  |  |  ------------------
  ------------------
 6308|      2|                                 GET_DAY(right));
  ------------------
  |  |  272|      2|#define GET_DAY                 PyDateTime_GET_DAY
  |  |  ------------------
  |  |  |  |  125|      2|#define PyDateTime_GET_DAY(o)      (((PyDateTime_Date*)(o))->data[3])
  |  |  ------------------
  ------------------
 6309|       |            /* These can't overflow, since the values are
 6310|       |             * normalized.  At most this gives the number of
 6311|       |             * seconds in one day.
 6312|       |             */
 6313|      2|            delta_s = (DATE_GET_HOUR(left) -
  ------------------
  |  |  273|      2|#define DATE_GET_HOUR           PyDateTime_DATE_GET_HOUR
  |  |  ------------------
  |  |  |  |  127|      2|#define PyDateTime_DATE_GET_HOUR(o)        (((PyDateTime_DateTime*)(o))->data[4])
  |  |  ------------------
  ------------------
 6314|      2|                       DATE_GET_HOUR(right)) * 3600 +
  ------------------
  |  |  273|      2|#define DATE_GET_HOUR           PyDateTime_DATE_GET_HOUR
  |  |  ------------------
  |  |  |  |  127|      2|#define PyDateTime_DATE_GET_HOUR(o)        (((PyDateTime_DateTime*)(o))->data[4])
  |  |  ------------------
  ------------------
 6315|      2|                      (DATE_GET_MINUTE(left) -
  ------------------
  |  |  274|      2|#define DATE_GET_MINUTE         PyDateTime_DATE_GET_MINUTE
  |  |  ------------------
  |  |  |  |  128|      2|#define PyDateTime_DATE_GET_MINUTE(o)      (((PyDateTime_DateTime*)(o))->data[5])
  |  |  ------------------
  ------------------
 6316|      2|                       DATE_GET_MINUTE(right)) * 60 +
  ------------------
  |  |  274|      2|#define DATE_GET_MINUTE         PyDateTime_DATE_GET_MINUTE
  |  |  ------------------
  |  |  |  |  128|      2|#define PyDateTime_DATE_GET_MINUTE(o)      (((PyDateTime_DateTime*)(o))->data[5])
  |  |  ------------------
  ------------------
 6317|      2|                      (DATE_GET_SECOND(left) -
  ------------------
  |  |  275|      2|#define DATE_GET_SECOND         PyDateTime_DATE_GET_SECOND
  |  |  ------------------
  |  |  |  |  129|      2|#define PyDateTime_DATE_GET_SECOND(o)      (((PyDateTime_DateTime*)(o))->data[6])
  |  |  ------------------
  ------------------
 6318|      2|                       DATE_GET_SECOND(right));
  ------------------
  |  |  275|      2|#define DATE_GET_SECOND         PyDateTime_DATE_GET_SECOND
  |  |  ------------------
  |  |  |  |  129|      2|#define PyDateTime_DATE_GET_SECOND(o)      (((PyDateTime_DateTime*)(o))->data[6])
  |  |  ------------------
  ------------------
 6319|      2|            delta_us = DATE_GET_MICROSECOND(left) -
  ------------------
  |  |  276|      2|#define DATE_GET_MICROSECOND    PyDateTime_DATE_GET_MICROSECOND
  |  |  ------------------
  |  |  |  |  131|      2|    ((((PyDateTime_DateTime*)(o))->data[7] << 16) |       \
  |  |  |  |  132|      2|     (((PyDateTime_DateTime*)(o))->data[8] << 8)  |       \
  |  |  |  |  133|      2|      ((PyDateTime_DateTime*)(o))->data[9])
  |  |  ------------------
  ------------------
 6320|      2|                       DATE_GET_MICROSECOND(right);
  ------------------
  |  |  276|      2|#define DATE_GET_MICROSECOND    PyDateTime_DATE_GET_MICROSECOND
  |  |  ------------------
  |  |  |  |  131|      2|    ((((PyDateTime_DateTime*)(o))->data[7] << 16) |       \
  |  |  |  |  132|      2|     (((PyDateTime_DateTime*)(o))->data[8] << 8)  |       \
  |  |  |  |  133|      2|      ((PyDateTime_DateTime*)(o))->data[9])
  |  |  ------------------
  ------------------
 6321|      2|            result = new_delta(delta_d, delta_s, delta_us, 1);
  ------------------
  |  | 1401|      2|    new_delta_ex(d, s, us, normalize, DELTA_TYPE(NO_STATE))
  |  |  ------------------
  |  |  |  |   78|      2|#define DELTA_TYPE(st) &PyDateTime_DeltaType
  |  |  ------------------
  ------------------
 6322|      2|            if (result == NULL)
  ------------------
  |  Branch (6322:17): [True: 0, False: 2]
  ------------------
 6323|      0|                return NULL;
 6324|       |
 6325|      2|            if (offdiff != NULL) {
  ------------------
  |  Branch (6325:17): [True: 0, False: 2]
  ------------------
 6326|      0|                Py_SETREF(result, delta_subtract(result, offdiff));
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 6327|      0|                Py_DECREF(offdiff);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6328|      0|            }
 6329|      2|        }
 6330|      0|        else if (PyDelta_Check(right)) {
  ------------------
  |  |   96|      0|#define PyDelta_Check(op) PyObject_TypeCheck(op, DELTA_TYPE(NO_STATE))
  |  |  ------------------
  |  |  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6331|       |            /* datetime - delta */
 6332|      0|            result = add_datetime_timedelta(
 6333|      0|                            (PyDateTime_DateTime *)left,
 6334|      0|                            (PyDateTime_Delta *)right,
 6335|      0|                            -1);
 6336|      0|        }
 6337|      2|    }
 6338|       |
 6339|      2|    if (result == Py_NotImplemented)
  ------------------
  |  |  640|      2|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (6339:9): [True: 0, False: 2]
  ------------------
 6340|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6341|      2|    return result;
 6342|      2|}
_datetimemodule.c:datetime_timetuple:
 6969|  11.7k|{
 6970|  11.7k|    PyDateTime_DateTime *self = PyDateTime_CAST(op);
  ------------------
  |  |   87|  11.7k|#define PyDateTime_CAST(op) ((PyDateTime_DateTime *)(op))
  ------------------
 6971|  11.7k|    int dstflag = -1;
 6972|       |
 6973|  11.7k|    if (HASTZINFO(self) && self->tzinfo != Py_None) {
  ------------------
  |  |  319|  11.7k|#define HASTZINFO               _PyDateTime_HAS_TZINFO
  |  |  ------------------
  |  |  |  |  120|  23.4k|#define _PyDateTime_HAS_TZINFO(o)  (((_PyDateTime_BaseTZInfo *)(o))->hastzinfo)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (120:36): [True: 0, False: 11.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (HASTZINFO(self) && self->tzinfo != Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6973:28): [True: 0, False: 0]
  ------------------
 6974|      0|        PyObject * dst;
 6975|       |
 6976|      0|        dst = call_dst(self->tzinfo, op);
 6977|      0|        if (dst == NULL)
  ------------------
  |  Branch (6977:13): [True: 0, False: 0]
  ------------------
 6978|      0|            return NULL;
 6979|       |
 6980|      0|        if (dst != Py_None)
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6980:13): [True: 0, False: 0]
  ------------------
 6981|      0|            dstflag = delta_bool(dst);
 6982|      0|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6983|      0|    }
 6984|  11.7k|    return build_struct_time(GET_YEAR(self),
  ------------------
  |  |  270|  11.7k|#define GET_YEAR                PyDateTime_GET_YEAR
  |  |  ------------------
  |  |  |  |  122|  11.7k|#define PyDateTime_GET_YEAR(o)     ((((PyDateTime_Date*)(o))->data[0] << 8) | \
  |  |  |  |  123|  11.7k|                     ((PyDateTime_Date*)(o))->data[1])
  |  |  ------------------
  ------------------
 6985|  11.7k|                             GET_MONTH(self),
  ------------------
  |  |  271|  11.7k|#define GET_MONTH               PyDateTime_GET_MONTH
  |  |  ------------------
  |  |  |  |  124|  11.7k|#define PyDateTime_GET_MONTH(o)    (((PyDateTime_Date*)(o))->data[2])
  |  |  ------------------
  ------------------
 6986|  11.7k|                             GET_DAY(self),
  ------------------
  |  |  272|  11.7k|#define GET_DAY                 PyDateTime_GET_DAY
  |  |  ------------------
  |  |  |  |  125|  11.7k|#define PyDateTime_GET_DAY(o)      (((PyDateTime_Date*)(o))->data[3])
  |  |  ------------------
  ------------------
 6987|  11.7k|                             DATE_GET_HOUR(self),
  ------------------
  |  |  273|  11.7k|#define DATE_GET_HOUR           PyDateTime_DATE_GET_HOUR
  |  |  ------------------
  |  |  |  |  127|  11.7k|#define PyDateTime_DATE_GET_HOUR(o)        (((PyDateTime_DateTime*)(o))->data[4])
  |  |  ------------------
  ------------------
 6988|  11.7k|                             DATE_GET_MINUTE(self),
  ------------------
  |  |  274|  11.7k|#define DATE_GET_MINUTE         PyDateTime_DATE_GET_MINUTE
  |  |  ------------------
  |  |  |  |  128|  11.7k|#define PyDateTime_DATE_GET_MINUTE(o)      (((PyDateTime_DateTime*)(o))->data[5])
  |  |  ------------------
  ------------------
 6989|  11.7k|                             DATE_GET_SECOND(self),
  ------------------
  |  |  275|  11.7k|#define DATE_GET_SECOND         PyDateTime_DATE_GET_SECOND
  |  |  ------------------
  |  |  |  |  129|  11.7k|#define PyDateTime_DATE_GET_SECOND(o)      (((PyDateTime_DateTime*)(o))->data[6])
  |  |  ------------------
  ------------------
 6990|  11.7k|                             dstflag);
 6991|  11.7k|}
_datetimemodule.c:datetime_alloc:
  885|  11.7k|{
  886|  11.7k|    size_t size = aware ? sizeof(PyDateTime_DateTime) : sizeof(_PyDateTime_BaseDateTime);
  ------------------
  |  Branch (886:19): [True: 2, False: 11.7k]
  ------------------
  887|  11.7k|    PyObject *self = (PyObject *)PyObject_Malloc(size);
  888|  11.7k|    if (self == NULL) {
  ------------------
  |  Branch (888:9): [True: 0, False: 11.7k]
  ------------------
  889|      0|        return PyErr_NoMemory();
  890|      0|    }
  891|  11.7k|    _PyObject_Init(self, type);
  892|  11.7k|    return self;
  893|  11.7k|}
_datetimemodule.c:datetime_new:
 5456|      4|{
 5457|       |    /* Check for invocation from pickle with __getstate__ state */
 5458|      4|    if (PyTuple_GET_SIZE(args) >= 1 && PyTuple_GET_SIZE(args) <= 2) {
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyTuple_GET_SIZE(args) >= 1 && PyTuple_GET_SIZE(args) <= 2) {
  ------------------
  |  |   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 (5458:9): [True: 4, False: 0]
  |  Branch (5458:40): [True: 0, False: 4]
  ------------------
 5459|      0|        PyObject *state = 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5460|      0|        PyObject *tzinfo = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
 5461|      0|        if (PyTuple_GET_SIZE(args) == 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 (5461:13): [True: 0, False: 0]
  ------------------
 5462|      0|            tzinfo = PyTuple_GET_ITEM(args, 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5463|      0|        }
 5464|      0|        if (PyBytes_Check(state)) {
  ------------------
  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5465|      0|            if (PyBytes_GET_SIZE(state) == _PyDateTime_DATETIME_DATASIZE &&
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          if (PyBytes_GET_SIZE(state) == _PyDateTime_DATETIME_DATASIZE &&
  ------------------
  |  |   31|      0|#define _PyDateTime_DATETIME_DATASIZE 10
  ------------------
  |  Branch (5465:17): [True: 0, False: 0]
  ------------------
 5466|      0|                MONTH_IS_SANE(PyBytes_AS_STRING(state)[2] & 0x7F))
  ------------------
  |  |  326|      0|#define MONTH_IS_SANE(M) ((unsigned int)(M) - 1 < 12)
  |  |  ------------------
  |  |  |  Branch (326:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5467|      0|            {
 5468|      0|                return datetime_from_pickle(type, state, tzinfo);
 5469|      0|            }
 5470|      0|        }
 5471|      0|        else if (PyUnicode_Check(state)) {
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5472|      0|            if (PyUnicode_GET_LENGTH(state) == _PyDateTime_DATETIME_DATASIZE &&
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          if (PyUnicode_GET_LENGTH(state) == _PyDateTime_DATETIME_DATASIZE &&
  ------------------
  |  |   31|      0|#define _PyDateTime_DATETIME_DATASIZE 10
  ------------------
  |  Branch (5472:17): [True: 0, False: 0]
  ------------------
 5473|      0|                MONTH_IS_SANE(PyUnicode_READ_CHAR(state, 2) & 0x7F))
  ------------------
  |  |  326|      0|#define MONTH_IS_SANE(M) ((unsigned int)(M) - 1 < 12)
  |  |  ------------------
  |  |  |  Branch (326:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5474|      0|            {
 5475|      0|                state = PyUnicode_AsLatin1String(state);
 5476|      0|                if (state == NULL) {
  ------------------
  |  Branch (5476:21): [True: 0, False: 0]
  ------------------
 5477|      0|                    if (PyErr_ExceptionMatches(PyExc_UnicodeEncodeError)) {
  ------------------
  |  Branch (5477:25): [True: 0, False: 0]
  ------------------
 5478|       |                        /* More informative error message. */
 5479|      0|                        PyErr_SetString(PyExc_ValueError,
 5480|      0|                            "Failed to encode latin1 string when unpickling "
 5481|      0|                            "a datetime object. "
 5482|      0|                            "pickle.load(data, encoding='latin1') is assumed.");
 5483|      0|                    }
 5484|      0|                    return NULL;
 5485|      0|                }
 5486|      0|                PyObject *self = datetime_from_pickle(type, state, tzinfo);
 5487|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5488|      0|                return self;
 5489|      0|            }
 5490|      0|        }
 5491|      0|    }
 5492|       |
 5493|      4|    return datetime_datetime(type, args, kw);
 5494|      4|}
_datetimemodule.c:datetime_datetime_impl:
 5522|      4|{
 5523|      4|    return new_datetime_ex2(year, month, day,
 5524|      4|                            hour, minute, second, microsecond,
 5525|      4|                            tzinfo, fold, type);
 5526|      4|}
_datetimemodule.c:new_datetime_ex2:
 1199|  11.7k|{
 1200|  11.7k|    PyDateTime_DateTime *self;
 1201|  11.7k|    char aware = tzinfo != Py_None;
  ------------------
  |  |  616|  11.7k|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1202|       |
 1203|  11.7k|    if (check_date_args(year, month, day) < 0) {
  ------------------
  |  Branch (1203:9): [True: 0, False: 11.7k]
  ------------------
 1204|      0|        return NULL;
 1205|      0|    }
 1206|  11.7k|    if (check_time_args(hour, minute, second, usecond, fold) < 0) {
  ------------------
  |  Branch (1206:9): [True: 0, False: 11.7k]
  ------------------
 1207|      0|        return NULL;
 1208|      0|    }
 1209|  11.7k|    if (check_tzinfo_subclass(tzinfo) < 0) {
  ------------------
  |  Branch (1209:9): [True: 0, False: 11.7k]
  ------------------
 1210|      0|        return NULL;
 1211|      0|    }
 1212|       |
 1213|  11.7k|    self = (PyDateTime_DateTime *) (type->tp_alloc(type, aware));
 1214|  11.7k|    if (self != NULL) {
  ------------------
  |  Branch (1214:9): [True: 11.7k, False: 0]
  ------------------
 1215|  11.7k|        self->hastzinfo = aware;
 1216|  11.7k|        set_date_fields((PyDateTime_Date *)self, year, month, day);
 1217|  11.7k|        DATE_SET_HOUR(self, hour);
  ------------------
  |  |  286|  11.7k|#define DATE_SET_HOUR(o, v)     (PyDateTime_DATE_GET_HOUR(o) = (v))
  |  |  ------------------
  |  |  |  |  127|  11.7k|#define PyDateTime_DATE_GET_HOUR(o)        (((PyDateTime_DateTime*)(o))->data[4])
  |  |  ------------------
  ------------------
 1218|  11.7k|        DATE_SET_MINUTE(self, minute);
  ------------------
  |  |  287|  11.7k|#define DATE_SET_MINUTE(o, v)   (PyDateTime_DATE_GET_MINUTE(o) = (v))
  |  |  ------------------
  |  |  |  |  128|  11.7k|#define PyDateTime_DATE_GET_MINUTE(o)      (((PyDateTime_DateTime*)(o))->data[5])
  |  |  ------------------
  ------------------
 1219|  11.7k|        DATE_SET_SECOND(self, second);
  ------------------
  |  |  288|  11.7k|#define DATE_SET_SECOND(o, v)   (PyDateTime_DATE_GET_SECOND(o) = (v))
  |  |  ------------------
  |  |  |  |  129|  11.7k|#define PyDateTime_DATE_GET_SECOND(o)      (((PyDateTime_DateTime*)(o))->data[6])
  |  |  ------------------
  ------------------
 1220|  11.7k|        DATE_SET_MICROSECOND(self, usecond);
  ------------------
  |  |  290|  11.7k|    (((o)->data[7] = ((v) & 0xff0000) >> 16), \
  |  |  291|  11.7k|     ((o)->data[8] = ((v) & 0x00ff00) >> 8), \
  |  |  292|  11.7k|     ((o)->data[9] = ((v) & 0x0000ff)))
  ------------------
 1221|  11.7k|        if (aware) {
  ------------------
  |  Branch (1221:13): [True: 2, False: 11.7k]
  ------------------
 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|  11.7k|        DATE_SET_FOLD(self, fold);
  ------------------
  |  |  293|  11.7k|#define DATE_SET_FOLD(o, v)   (PyDateTime_DATE_GET_FOLD(o) = (v))
  |  |  ------------------
  |  |  |  |  134|  11.7k|#define PyDateTime_DATE_GET_FOLD(o)        (((PyDateTime_DateTime*)(o))->fold)
  |  |  ------------------
  ------------------
 1225|  11.7k|    }
 1226|  11.7k|    return (PyObject *)self;
 1227|  11.7k|}
_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))
  |  |  ------------------
  |  |  |  |  915|      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|  10.9k|{
   40|  10.9k|    void *state = _PyModule_GetState(module);
   41|       |    assert(state != NULL);
   42|  10.9k|    return (_functools_state *)state;
   43|  10.9k|}
_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|  10.9k|{
  152|  10.9k|    PyObject *module = PyType_GetModuleByDef(type, &_functools_module);
  153|  10.9k|    if (module == NULL) {
  ------------------
  |  Branch (153:9): [True: 0, False: 10.9k]
  ------------------
  154|      0|        return NULL;
  155|      0|    }
  156|  10.9k|    return get_functools_state(module);
  157|  10.9k|}
_functoolsmodule.c:partial_dealloc:
  349|  10.8k|{
  350|  10.8k|    PyTypeObject *tp = Py_TYPE(self);
  ------------------
  |  |  213|  10.8k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  10.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  351|       |    /* bpo-31095: UnTrack is needed before calling any callbacks */
  352|  10.8k|    PyObject_GC_UnTrack(self);
  353|  10.8k|    FT_CLEAR_WEAKREFS(self, partialobject_CAST(self)->weakreflist);
  ------------------
  |  |   47|  10.8k|    do {                                            \
  |  |   48|  10.8k|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|  10.8k|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 10.8k]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|  10.8k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 10.8k]
  |  |  ------------------
  ------------------
  354|  10.8k|    (void)partial_clear(self);
  355|  10.8k|    tp->tp_free(self);
  356|  10.8k|    Py_DECREF(tp);
  ------------------
  |  |  430|  10.8k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  357|  10.8k|}
_functoolsmodule.c:partial_call:
  587|     18|{
  588|     18|    partialobject *pto = partialobject_CAST(self);
  ------------------
  |  |  142|     18|#define partialobject_CAST(op)  ((partialobject *)(op))
  ------------------
  589|     18|    assert(PyCallable_Check(pto->fn));
  590|     18|    assert(PyTuple_Check(pto->args));
  591|     18|    assert(PyDict_Check(pto->kw));
  592|       |
  593|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  594|     18|    Py_ssize_t pto_phcount = pto->phcount;
  595|     18|    if (nargs < pto_phcount) {
  ------------------
  |  Branch (595:9): [True: 0, False: 18]
  ------------------
  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|     18|    PyObject *tot_kw;
  604|     18|    if (PyDict_GET_SIZE(pto->kw) == 0) {
  ------------------
  |  |   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 (604:9): [True: 18, False: 0]
  ------------------
  605|       |        /* kwargs can be NULL */
  606|     18|        tot_kw = Py_XNewRef(kwargs);
  ------------------
  |  |  551|     18|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  607|     18|    }
  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|     18|    PyObject *tot_args;
  627|     18|    if (pto_phcount) {
  ------------------
  |  Branch (627:9): [True: 0, False: 18]
  ------------------
  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|     18|    else {
  657|       |        /* Note: tupleconcat() is optimized for empty tuples */
  658|     18|        tot_args = PySequence_Concat(pto->args, args);
  659|     18|        if (tot_args == NULL) {
  ------------------
  |  Branch (659:13): [True: 0, False: 18]
  ------------------
  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|     18|    }
  664|       |
  665|     18|    PyObject *res = PyObject_Call(pto->fn, tot_args, tot_kw);
  666|     18|    Py_DECREF(tot_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  667|     18|    Py_XDECREF(tot_kw);
  ------------------
  |  |  524|     18|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     18|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     18|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  668|     18|    return res;
  669|     18|}
_functoolsmodule.c:partial_traverse:
  337|     70|{
  338|     70|    partialobject *pto = partialobject_CAST(self);
  ------------------
  |  |  142|     70|#define partialobject_CAST(op)  ((partialobject *)(op))
  ------------------
  339|     70|    Py_VISIT(Py_TYPE(pto));
  ------------------
  |  |  194|     70|    do {                                                                \
  |  |  195|     70|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 70, False: 0]
  |  |  ------------------
  |  |  196|     70|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     70|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     70|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     70|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 70]
  |  |  ------------------
  |  |  198|     70|                return vret;                                            \
  |  |  199|     70|        }                                                               \
  |  |  200|     70|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 70]
  |  |  ------------------
  ------------------
  340|     70|    Py_VISIT(pto->fn);
  ------------------
  |  |  194|     70|    do {                                                                \
  |  |  195|     70|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 70, False: 0]
  |  |  ------------------
  |  |  196|     70|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     70|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     70|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     70|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 70]
  |  |  ------------------
  |  |  198|     70|                return vret;                                            \
  |  |  199|     70|        }                                                               \
  |  |  200|     70|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 70]
  |  |  ------------------
  ------------------
  341|     70|    Py_VISIT(pto->args);
  ------------------
  |  |  194|     70|    do {                                                                \
  |  |  195|     70|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 70, False: 0]
  |  |  ------------------
  |  |  196|     70|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     70|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     70|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     70|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 70]
  |  |  ------------------
  |  |  198|     70|                return vret;                                            \
  |  |  199|     70|        }                                                               \
  |  |  200|     70|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 70]
  |  |  ------------------
  ------------------
  342|     70|    Py_VISIT(pto->kw);
  ------------------
  |  |  194|     70|    do {                                                                \
  |  |  195|     70|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 70, False: 0]
  |  |  ------------------
  |  |  196|     70|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     70|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     70|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     70|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 70]
  |  |  ------------------
  |  |  198|     70|                return vret;                                            \
  |  |  199|     70|        }                                                               \
  |  |  200|     70|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 70]
  |  |  ------------------
  ------------------
  343|     70|    Py_VISIT(pto->dict);
  ------------------
  |  |  194|     70|    do {                                                                \
  |  |  195|     70|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 70]
  |  |  ------------------
  |  |  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|     70|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 70]
  |  |  ------------------
  ------------------
  344|     70|    return 0;
  345|     70|}
_functoolsmodule.c:partial_clear:
  326|  10.8k|{
  327|  10.8k|    partialobject *pto = partialobject_CAST(self);
  ------------------
  |  |  142|  10.8k|#define partialobject_CAST(op)  ((partialobject *)(op))
  ------------------
  328|  10.8k|    Py_CLEAR(pto->fn);
  ------------------
  |  |  484|  10.8k|    do { \
  |  |  485|  10.8k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  10.8k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  10.8k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  10.8k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  10.8k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 10.8k, False: 0]
  |  |  ------------------
  |  |  488|  10.8k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  10.8k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  10.8k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  10.8k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  10.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  10.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  10.8k|        } \
  |  |  491|  10.8k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 10.8k]
  |  |  ------------------
  ------------------
  329|  10.8k|    Py_CLEAR(pto->args);
  ------------------
  |  |  484|  10.8k|    do { \
  |  |  485|  10.8k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  10.8k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  10.8k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  10.8k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  10.8k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 10.8k, False: 0]
  |  |  ------------------
  |  |  488|  10.8k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  10.8k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  10.8k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  10.8k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  10.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  10.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  10.8k|        } \
  |  |  491|  10.8k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 10.8k]
  |  |  ------------------
  ------------------
  330|  10.8k|    Py_CLEAR(pto->kw);
  ------------------
  |  |  484|  10.8k|    do { \
  |  |  485|  10.8k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  10.8k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  10.8k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  10.8k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  10.8k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 10.8k, False: 0]
  |  |  ------------------
  |  |  488|  10.8k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  10.8k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  10.8k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  10.8k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  10.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  10.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  10.8k|        } \
  |  |  491|  10.8k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 10.8k]
  |  |  ------------------
  ------------------
  331|       |    Py_CLEAR(pto->dict);
  ------------------
  |  |  484|  10.8k|    do { \
  |  |  485|  10.8k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  10.8k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  10.8k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  10.8k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  10.8k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 10.8k]
  |  |  ------------------
  |  |  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.8k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 10.8k]
  |  |  ------------------
  ------------------
  332|  10.8k|    return 0;
  333|  10.8k|}
_functoolsmodule.c:partial_setvectorcall:
  570|  10.8k|{
  571|  10.8k|    if (PyVectorcall_Function(pto->fn) == NULL) {
  ------------------
  |  Branch (571:9): [True: 4, False: 10.8k]
  ------------------
  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|  10.8k|    else {
  579|  10.8k|        pto->vectorcall = partial_vectorcall;
  580|  10.8k|    }
  581|  10.8k|}
_functoolsmodule.c:partial_vectorcall:
  371|  3.67k|{
  372|  3.67k|    partialobject *pto = partialobject_CAST(self);;
  ------------------
  |  |  142|  3.67k|#define partialobject_CAST(op)  ((partialobject *)(op))
  ------------------
  373|  3.67k|    PyThreadState *tstate = _PyThreadState_GET();
  374|  3.67k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  3.67k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  375|       |
  376|       |    /* Placeholder check */
  377|  3.67k|    Py_ssize_t pto_phcount = pto->phcount;
  378|  3.67k|    if (nargs < pto_phcount) {
  ------------------
  |  Branch (378:9): [True: 0, False: 3.67k]
  ------------------
  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|  3.67k|    PyObject **pto_args = _PyTuple_ITEMS(pto->args);
  ------------------
  |  |   26|  3.67k|#define _PyTuple_ITEMS(op) _Py_RVALUE(_PyTuple_CAST(op)->ob_item)
  |  |  ------------------
  |  |  |  |  277|  3.67k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  386|  3.67k|    Py_ssize_t pto_nargs = PyTuple_GET_SIZE(pto->args);
  ------------------
  |  |   27|  3.67k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.67k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.67k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  387|  3.67k|    Py_ssize_t pto_nkwds = PyDict_GET_SIZE(pto->kw);
  ------------------
  |  |   63|  3.67k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.67k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.67k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  388|  3.67k|    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: 3.67k, False: 0]
  ------------------
  389|  3.67k|    Py_ssize_t nargskw = nargs + nkwds;
  390|       |
  391|       |    /* Special cases */
  392|  3.67k|    if (!pto_nkwds) {
  ------------------
  |  Branch (392:9): [True: 0, False: 3.67k]
  ------------------
  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|  3.67k|    Py_ssize_t tot_nargs = pto_nargs + nargs - pto_phcount;
  414|  3.67k|    Py_ssize_t tot_nkwds = pto_nkwds + nkwds;
  415|  3.67k|    Py_ssize_t tot_nargskw = tot_nargs + tot_nkwds;
  416|       |
  417|  3.67k|    PyObject *pto_kw_merged = NULL;  // pto_kw with duplicates merged (if any)
  418|  3.67k|    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|  3.67k|    PyObject *small_stack[_PY_FASTCALL_SMALL_STACK * 2];
  426|  3.67k|    PyObject **tmp_stack, **stack;
  427|  3.67k|    Py_ssize_t init_stack_size = tot_nargskw;
  428|  3.67k|    if (pto_nkwds) {
  ------------------
  |  Branch (428:9): [True: 3.67k, False: 0]
  ------------------
  429|       |        // If pto_nkwds, allocate additional space for temporary new keys
  430|  3.67k|        init_stack_size += nkwds;
  431|  3.67k|    }
  432|  3.67k|    if (init_stack_size <= (Py_ssize_t)Py_ARRAY_LENGTH(small_stack)) {
  ------------------
  |  |  196|  3.67k|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (432:9): [True: 3.67k, False: 0]
  ------------------
  433|  3.67k|        stack = small_stack;
  434|  3.67k|    }
  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|  3.67k|    if (!pto_nkwds) {
  ------------------
  |  Branch (443:9): [True: 0, False: 3.67k]
  ------------------
  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|  3.67k|    else {
  451|       |        /* stack is now         [<positionals>, <pto_kwds>, <kwds>, <kwds_keys>]
  452|       |         * Will resize later to [<positionals>, <merged_kwds>] */
  453|  3.67k|        PyObject *key, *val;
  454|       |
  455|       |        /* Merge kw to pto_kw or add to tail (if not duplicate) */
  456|  3.67k|        Py_ssize_t n_tail = 0;
  457|  3.67k|        for (Py_ssize_t i = 0; i < nkwds; ++i) {
  ------------------
  |  Branch (457:32): [True: 0, False: 3.67k]
  ------------------
  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|  3.67k|        Py_ssize_t n_merges = nkwds - n_tail;
  484|       |
  485|       |        /* Create total kwnames */
  486|  3.67k|        tot_kwnames = PyTuple_New(tot_nkwds - n_merges);
  487|  3.67k|        if (tot_kwnames == NULL) {
  ------------------
  |  Branch (487:13): [True: 0, False: 3.67k]
  ------------------
  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|  3.67k|        for (Py_ssize_t i = 0; i < n_tail; ++i) {
  ------------------
  |  Branch (491:32): [True: 0, False: 3.67k]
  ------------------
  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|  3.67k|        Py_ssize_t pos = 0, i = 0;
  499|  3.67k|        PyObject *keyword_dict = n_merges ? pto_kw_merged : pto->kw;
  ------------------
  |  Branch (499:34): [True: 0, False: 3.67k]
  ------------------
  500|  3.67k|        Py_BEGIN_CRITICAL_SECTION(keyword_dict);
  ------------------
  |  |   51|  3.67k|    {
  ------------------
  501|  14.6k|        while (PyDict_Next(keyword_dict, &pos, &key, &val)) {
  ------------------
  |  Branch (501:16): [True: 11.0k, False: 3.67k]
  ------------------
  502|  11.0k|            assert(i < pto_nkwds);
  503|  11.0k|            PyTuple_SET_ITEM(tot_kwnames, i, Py_NewRef(key));
  ------------------
  |  |   40|  11.0k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  11.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  11.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  504|  11.0k|            stack[tot_nargs + i] = val;
  505|  11.0k|            i++;
  506|  11.0k|        }
  507|  3.67k|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  3.67k|    }
  ------------------
  508|  3.67k|        assert(i == pto_nkwds);
  509|  3.67k|        Py_XDECREF(pto_kw_merged);
  ------------------
  |  |  524|  3.67k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.67k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.67k|#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|  3.67k|        Py_ssize_t noveralloc = n_merges + nkwds;
  514|  3.67k|        if (stack != small_stack && noveralloc > 6 && noveralloc > init_stack_size / 10) {
  ------------------
  |  Branch (514:13): [True: 0, False: 3.67k]
  |  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|  3.67k|    }
  526|       |
  527|       |    /* Copy Positionals to stack */
  528|  3.67k|    if (pto_phcount) {
  ------------------
  |  Branch (528:9): [True: 0, False: 3.67k]
  ------------------
  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|  3.67k|    else {
  546|  3.67k|        memcpy(stack, pto_args, pto_nargs * sizeof(PyObject*));
  547|  3.67k|        memcpy(stack + pto_nargs, args, nargs * sizeof(PyObject*));
  548|  3.67k|    }
  549|       |
  550|  3.67k|    PyObject *ret = _PyObject_VectorcallTstate(tstate, pto->fn, stack,
  551|  3.67k|                                               tot_nargs, tot_kwnames);
  552|  3.67k|    if (stack != small_stack) {
  ------------------
  |  Branch (552:9): [True: 0, False: 3.67k]
  ------------------
  553|      0|        PyMem_Free(stack);
  554|      0|    }
  555|  3.67k|    if (pto_nkwds) {
  ------------------
  |  Branch (555:9): [True: 3.67k, False: 0]
  ------------------
  556|  3.67k|        Py_DECREF(tot_kwnames);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  557|  3.67k|    }
  558|  3.67k|    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|  3.67k|}
_functoolsmodule.c:partial_new:
  162|  10.8k|{
  163|  10.8k|    PyObject *func, *pto_args, *new_args, *pto_kw, *phold;
  164|  10.8k|    partialobject *pto;
  165|  10.8k|    Py_ssize_t pto_phcount = 0;
  166|  10.8k|    Py_ssize_t new_nargs = PyTuple_GET_SIZE(args) - 1;
  ------------------
  |  |   27|  10.8k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  167|       |
  168|  10.8k|    if (new_nargs < 0) {
  ------------------
  |  Branch (168:9): [True: 0, False: 10.8k]
  ------------------
  169|      0|        PyErr_SetString(PyExc_TypeError,
  170|      0|                        "type 'partial' takes at least one argument");
  171|      0|        return NULL;
  172|      0|    }
  173|  10.8k|    func = PyTuple_GET_ITEM(args, 0);
  ------------------
  |  |   29|  10.8k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  10.8k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  174|  10.8k|    if (!PyCallable_Check(func)) {
  ------------------
  |  Branch (174:9): [True: 0, False: 10.8k]
  ------------------
  175|      0|        PyErr_SetString(PyExc_TypeError,
  176|      0|                        "the first argument must be callable");
  177|      0|        return NULL;
  178|      0|    }
  179|       |
  180|  10.8k|    _functools_state *state = get_functools_state_by_type(type);
  181|  10.8k|    if (state == NULL) {
  ------------------
  |  Branch (181:9): [True: 0, False: 10.8k]
  ------------------
  182|      0|        return NULL;
  183|      0|    }
  184|  10.8k|    phold = state->placeholder;
  185|       |
  186|       |    /* Placeholder restrictions */
  187|  10.8k|    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: 10.8k]
  |  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|  10.8k|    if (kw != NULL) {
  ------------------
  |  Branch (194:9): [True: 10.8k, False: 8]
  ------------------
  195|  10.8k|        PyObject *key, *val;
  196|  10.8k|        Py_ssize_t pos = 0;
  197|  72.2k|        while (PyDict_Next(kw, &pos, &key, &val)) {
  ------------------
  |  Branch (197:16): [True: 61.3k, False: 10.8k]
  ------------------
  198|  61.3k|            if (val == phold) {
  ------------------
  |  Branch (198:17): [True: 0, False: 61.3k]
  ------------------
  199|      0|                PyErr_SetString(PyExc_TypeError,
  200|      0|                                "Placeholder cannot be passed as a keyword argument");
  201|      0|                return NULL;
  202|      0|            }
  203|  61.3k|        }
  204|  10.8k|    }
  205|       |
  206|       |    /* check wrapped function / object */
  207|  10.8k|    pto_args = pto_kw = NULL;
  208|  10.8k|    int res = PyObject_TypeCheck(func, state->partial_type);
  ------------------
  |  |  378|  10.8k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  10.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  209|  10.8k|    if (res == -1) {
  ------------------
  |  Branch (209:9): [True: 0, False: 10.8k]
  ------------------
  210|      0|        return NULL;
  211|      0|    }
  212|  10.8k|    if (res == 1) {
  ------------------
  |  Branch (212:9): [True: 0, False: 10.8k]
  ------------------
  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|  10.8k|    pto = (partialobject *)type->tp_alloc(type, 0);
  227|  10.8k|    if (pto == NULL)
  ------------------
  |  Branch (227:9): [True: 0, False: 10.8k]
  ------------------
  228|      0|        return NULL;
  229|       |
  230|  10.8k|    pto->fn = Py_NewRef(func);
  ------------------
  |  |  550|  10.8k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  10.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  231|  10.8k|    pto->placeholder = phold;
  232|       |
  233|  10.8k|    new_args = PyTuple_GetSlice(args, 1, new_nargs + 1);
  234|  10.8k|    if (new_args == NULL) {
  ------------------
  |  Branch (234:9): [True: 0, False: 10.8k]
  ------------------
  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|  10.8k|    Py_ssize_t phcount = 0;
  241|  10.8k|    for (Py_ssize_t i = 0; i < new_nargs - 1; i++) {
  ------------------
  |  Branch (241:28): [True: 0, False: 10.8k]
  ------------------
  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|  10.8k|    if (pto_phcount > 0 && new_nargs > 0) {
  ------------------
  |  Branch (247:9): [True: 0, False: 10.8k]
  |  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|  10.8k|    else if (pto_args == NULL) {
  ------------------
  |  Branch (280:14): [True: 10.8k, False: 0]
  ------------------
  281|  10.8k|        pto->args = new_args;
  282|  10.8k|        pto->phcount = phcount;
  283|  10.8k|    }
  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|  10.8k|    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: 10.8k, False: 0]
  |  Branch (295:27): [True: 0, False: 0]
  ------------------
  296|  10.8k|        if (kw == NULL) {
  ------------------
  |  Branch (296:13): [True: 8, False: 10.8k]
  ------------------
  297|      8|            pto->kw = PyDict_New();
  298|      8|        }
  299|  10.8k|        else if (_PyObject_IsUniquelyReferenced(kw)) {
  ------------------
  |  Branch (299:18): [True: 10.8k, False: 0]
  ------------------
  300|  10.8k|            pto->kw = Py_NewRef(kw);
  ------------------
  |  |  550|  10.8k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  10.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  301|  10.8k|        }
  302|      0|        else {
  303|      0|            pto->kw = PyDict_Copy(kw);
  304|      0|        }
  305|  10.8k|    }
  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|  10.8k|    if (pto->kw == NULL) {
  ------------------
  |  Branch (315:9): [True: 0, False: 10.8k]
  ------------------
  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|  10.8k|    partial_setvectorcall(pto);
  321|  10.8k|    return (PyObject *)pto;
  322|  10.8k|}
_functoolsmodule.c:lru_cache_call:
 1740|  24.9k|{
 1741|  24.9k|    lru_cache_object *self = lru_cache_object_CAST(op);
  ------------------
  |  | 1228|  24.9k|#define lru_cache_object_CAST(op)   ((lru_cache_object *)(op))
  ------------------
 1742|  24.9k|    PyObject *result;
 1743|  24.9k|    result = self->wrapper(self, args, kwds);
 1744|  24.9k|    return result;
 1745|  24.9k|}
_functoolsmodule.c:lru_cache_tp_traverse:
 1828|    664|{
 1829|    664|    lru_cache_object *self = lru_cache_object_CAST(op);
  ------------------
  |  | 1228|    664|#define lru_cache_object_CAST(op)   ((lru_cache_object *)(op))
  ------------------
 1830|    664|    Py_VISIT(Py_TYPE(self));
  ------------------
  |  |  194|    664|    do {                                                                \
  |  |  195|    664|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 664, False: 0]
  |  |  ------------------
  |  |  196|    664|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    664|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    664|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    664|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 664]
  |  |  ------------------
  |  |  198|    664|                return vret;                                            \
  |  |  199|    664|        }                                                               \
  |  |  200|    664|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 664]
  |  |  ------------------
  ------------------
 1831|    664|    lru_list_elem *link = self->root.next;
 1832|  1.54k|    while (link != &self->root) {
  ------------------
  |  Branch (1832:12): [True: 880, False: 664]
  ------------------
 1833|    880|        lru_list_elem *next = link->next;
 1834|    880|        Py_VISIT(link->key);
  ------------------
  |  |  194|    880|    do {                                                                \
  |  |  195|    880|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 880, False: 0]
  |  |  ------------------
  |  |  196|    880|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    880|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    880|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    880|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 880]
  |  |  ------------------
  |  |  198|    880|                return vret;                                            \
  |  |  199|    880|        }                                                               \
  |  |  200|    880|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 880]
  |  |  ------------------
  ------------------
 1835|    880|        Py_VISIT(link->result);
  ------------------
  |  |  194|    880|    do {                                                                \
  |  |  195|    880|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 880, False: 0]
  |  |  ------------------
  |  |  196|    880|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    880|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    880|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    880|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 880]
  |  |  ------------------
  |  |  198|    880|                return vret;                                            \
  |  |  199|    880|        }                                                               \
  |  |  200|    880|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 880]
  |  |  ------------------
  ------------------
 1836|    880|        Py_VISIT(Py_TYPE(link));
  ------------------
  |  |  194|    880|    do {                                                                \
  |  |  195|    880|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 880, False: 0]
  |  |  ------------------
  |  |  196|    880|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    880|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    880|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    880|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 880]
  |  |  ------------------
  |  |  198|    880|                return vret;                                            \
  |  |  199|    880|        }                                                               \
  |  |  200|    880|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 880]
  |  |  ------------------
  ------------------
 1837|    880|        link = next;
 1838|    880|    }
 1839|    664|    Py_VISIT(self->cache);
  ------------------
  |  |  194|    664|    do {                                                                \
  |  |  195|    664|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 664, False: 0]
  |  |  ------------------
  |  |  196|    664|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    664|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    664|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    664|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 664]
  |  |  ------------------
  |  |  198|    664|                return vret;                                            \
  |  |  199|    664|        }                                                               \
  |  |  200|    664|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 664]
  |  |  ------------------
  ------------------
 1840|    664|    Py_VISIT(self->func);
  ------------------
  |  |  194|    664|    do {                                                                \
  |  |  195|    664|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 664, False: 0]
  |  |  ------------------
  |  |  196|    664|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    664|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    664|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    664|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 664]
  |  |  ------------------
  |  |  198|    664|                return vret;                                            \
  |  |  199|    664|        }                                                               \
  |  |  200|    664|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 664]
  |  |  ------------------
  ------------------
 1841|    664|    Py_VISIT(self->kwd_mark);
  ------------------
  |  |  194|    664|    do {                                                                \
  |  |  195|    664|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 664, False: 0]
  |  |  ------------------
  |  |  196|    664|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    664|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    664|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    664|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 664]
  |  |  ------------------
  |  |  198|    664|                return vret;                                            \
  |  |  199|    664|        }                                                               \
  |  |  200|    664|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 664]
  |  |  ------------------
  ------------------
 1842|    664|    Py_VISIT(self->lru_list_elem_type);
  ------------------
  |  |  194|    664|    do {                                                                \
  |  |  195|    664|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 664, False: 0]
  |  |  ------------------
  |  |  196|    664|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    664|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    664|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    664|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 664]
  |  |  ------------------
  |  |  198|    664|                return vret;                                            \
  |  |  199|    664|        }                                                               \
  |  |  200|    664|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 664]
  |  |  ------------------
  ------------------
 1843|    664|    Py_VISIT(self->cache_info_type);
  ------------------
  |  |  194|    664|    do {                                                                \
  |  |  195|    664|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 664, False: 0]
  |  |  ------------------
  |  |  196|    664|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    664|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    664|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    664|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 664]
  |  |  ------------------
  |  |  198|    664|                return vret;                                            \
  |  |  199|    664|        }                                                               \
  |  |  200|    664|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 664]
  |  |  ------------------
  ------------------
 1844|    664|    Py_VISIT(self->dict);
  ------------------
  |  |  194|    664|    do {                                                                \
  |  |  195|    664|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 664, False: 0]
  |  |  ------------------
  |  |  196|    664|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    664|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    664|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    664|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 664]
  |  |  ------------------
  |  |  198|    664|                return vret;                                            \
  |  |  199|    664|        }                                                               \
  |  |  200|    664|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 664]
  |  |  ------------------
  ------------------
 1845|    664|    return 0;
 1846|    664|}
_functoolsmodule.c:bounded_lru_cache_wrapper:
 1584|  24.9k|{
 1585|  24.9k|    PyObject *key, *result;
 1586|  24.9k|    Py_hash_t hash;
 1587|  24.9k|    int res;
 1588|       |
 1589|  24.9k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  24.9k|    {
  ------------------
 1590|  24.9k|    res = bounded_lru_cache_get_lock_held(self, args, kwds, &result, &key, &hash);
 1591|  24.9k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  24.9k|    }
  ------------------
 1592|       |
 1593|  24.9k|    if (res < 0) {
  ------------------
  |  Branch (1593:9): [True: 0, False: 24.9k]
  ------------------
 1594|      0|        return NULL;
 1595|      0|    }
 1596|  24.9k|    if (res > 0) {
  ------------------
  |  Branch (1596:9): [True: 24.7k, False: 188]
  ------------------
 1597|  24.7k|        return result;
 1598|  24.7k|    }
 1599|       |
 1600|    188|    result = PyObject_Call(self->func, args, kwds);
 1601|       |
 1602|    188|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|    188|    {
  ------------------
 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|    188|    result = bounded_lru_cache_update_lock_held(self, result, key, hash);
 1608|    188|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    188|    }
  ------------------
 1609|       |
 1610|    188|    return result;
 1611|  24.9k|}
_functoolsmodule.c:bounded_lru_cache_get_lock_held:
 1404|  24.9k|{
 1405|  24.9k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(self);
 1406|  24.9k|    lru_list_elem *link;
 1407|       |
 1408|  24.9k|    PyObject *key_ = *key = lru_cache_make_key(self->kwd_mark, args, kwds, self->typed);
 1409|  24.9k|    if (!key_)
  ------------------
  |  Branch (1409:9): [True: 0, False: 24.9k]
  ------------------
 1410|      0|        return -1;
 1411|  24.9k|    Py_hash_t hash_ = *hash = PyObject_Hash(key_);
 1412|  24.9k|    if (hash_ == -1) {
  ------------------
  |  Branch (1412:9): [True: 0, False: 24.9k]
  ------------------
 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|  24.9k|    int res = _PyDict_GetItemRef_KnownHash_LockHeld((PyDictObject *)self->cache, key_, hash_,
 1417|  24.9k|                                                    (PyObject **)&link);
 1418|  24.9k|    if (res > 0) {
  ------------------
  |  Branch (1418:9): [True: 24.7k, False: 188]
  ------------------
 1419|  24.7k|        lru_cache_extract_link(link);
 1420|  24.7k|        lru_cache_append_link(self, link);
 1421|  24.7k|        *result = link->result;
 1422|  24.7k|        FT_ATOMIC_ADD_SSIZE(self->hits, 1);
  ------------------
  |  |  202|  24.7k|#define FT_ATOMIC_ADD_SSIZE(value, new_value) (void)(value += new_value)
  ------------------
 1423|  24.7k|        Py_INCREF(link->result);
  ------------------
  |  |  310|  24.7k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  24.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1424|  24.7k|        Py_DECREF(link);
  ------------------
  |  |  430|  24.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  24.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1425|  24.7k|        Py_DECREF(key_);
  ------------------
  |  |  430|  24.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  24.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1426|  24.7k|        return 1;
 1427|  24.7k|    }
 1428|    188|    if (res < 0) {
  ------------------
  |  Branch (1428:9): [True: 0, False: 188]
  ------------------
 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|    188|    FT_ATOMIC_ADD_SSIZE(self->misses, 1);
  ------------------
  |  |  202|    188|#define FT_ATOMIC_ADD_SSIZE(value, new_value) (void)(value += new_value)
  ------------------
 1433|    188|    return 0;
 1434|    188|}
_functoolsmodule.c:lru_cache_make_key:
 1233|  24.9k|{
 1234|  24.9k|    PyObject *key, *keyword, *value;
 1235|  24.9k|    Py_ssize_t key_size, pos, key_pos, kwds_size;
 1236|       |
 1237|  24.9k|    kwds_size = kwds ? PyDict_GET_SIZE(kwds) : 0;
  ------------------
  |  |   63|    320|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    320|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    320|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1237:17): [True: 320, False: 24.5k]
  ------------------
 1238|       |
 1239|       |    /* short path, key will match args anyway, which is a tuple */
 1240|  24.9k|    if (!typed && !kwds_size) {
  ------------------
  |  Branch (1240:9): [True: 24.8k, False: 48]
  |  Branch (1240:19): [True: 24.8k, False: 0]
  ------------------
 1241|  24.8k|        if (PyTuple_GET_SIZE(args) == 1) {
  ------------------
  |  |   27|  24.8k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  24.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1241:13): [True: 14, False: 24.8k]
  ------------------
 1242|     14|            key = PyTuple_GET_ITEM(args, 0);
  ------------------
  |  |   29|     14|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     14|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1243|     14|            if (PyUnicode_CheckExact(key) || PyLong_CheckExact(key)) {
  ------------------
  |  |  104|     14|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_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: 2, False: 12]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          if (PyUnicode_CheckExact(key) || PyLong_CheckExact(key)) {
  ------------------
  |  |   14|     12|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_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: 0, False: 12]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1244|       |                /* For common scalar keys, save space by
 1245|       |                   dropping the enclosing args tuple  */
 1246|      2|                return Py_NewRef(key);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1247|      2|            }
 1248|     14|        }
 1249|  24.8k|        return Py_NewRef(args);
  ------------------
  |  |  550|  24.8k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  24.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1250|  24.8k|    }
 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|  24.7k|{
 1344|  24.7k|    lru_list_elem *link_prev = link->prev;
 1345|  24.7k|    lru_list_elem *link_next = link->next;
 1346|  24.7k|    link_prev->next = link->next;
 1347|  24.7k|    link_next->prev = link->prev;
 1348|  24.7k|}
_functoolsmodule.c:lru_cache_append_link:
 1352|  24.9k|{
 1353|  24.9k|    lru_list_elem *root = &self->root;
 1354|  24.9k|    lru_list_elem *last = root->prev;
 1355|  24.9k|    last->next = root->prev = link;
 1356|  24.9k|    link->prev = last;
 1357|  24.9k|    link->next = root;
 1358|  24.9k|}
_functoolsmodule.c:bounded_lru_cache_update_lock_held:
 1439|    188|{
 1440|    188|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(self);
 1441|    188|    lru_list_elem *link;
 1442|    188|    PyObject *testresult;
 1443|    188|    int res;
 1444|       |
 1445|    188|    if (!result) {
  ------------------
  |  Branch (1445:9): [True: 0, False: 188]
  ------------------
 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|    188|    res = _PyDict_GetItemRef_KnownHash_LockHeld((PyDictObject *)self->cache, key, hash,
 1450|    188|                                                &testresult);
 1451|    188|    if (res > 0) {
  ------------------
  |  Branch (1451:9): [True: 0, False: 188]
  ------------------
 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|    188|    if (res < 0) {
  ------------------
  |  Branch (1459:9): [True: 0, False: 188]
  ------------------
 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|    188|    assert(self->maxsize > 0);
 1473|    188|    if (PyDict_GET_SIZE(self->cache) < self->maxsize ||
  ------------------
  |  |   63|    188|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    188|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    188|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1473:9): [True: 188, False: 0]
  ------------------
 1474|      0|        self->root.next == &self->root)
  ------------------
  |  Branch (1474:9): [True: 0, False: 0]
  ------------------
 1475|    188|    {
 1476|       |        /* Cache is not full, so put the result in a new link */
 1477|    188|        link = (lru_list_elem *)PyObject_New(lru_list_elem,
  ------------------
  |  |  130|    188|#define PyObject_New(type, typeobj) ((type *)_PyObject_New(typeobj))
  ------------------
 1478|    188|                                             self->lru_list_elem_type);
 1479|    188|        if (link == NULL) {
  ------------------
  |  Branch (1479:13): [True: 0, False: 188]
  ------------------
 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|    188|        link->hash = hash;
 1486|    188|        link->key = key;
 1487|    188|        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|    188|        if (_PyDict_SetItem_KnownHash_LockHeld((PyDictObject *)self->cache, key,
  ------------------
  |  Branch (1493:13): [True: 0, False: 188]
  ------------------
 1494|    188|                                               (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|    188|        lru_cache_append_link(self, link);
 1499|    188|        return Py_NewRef(result);
  ------------------
  |  |  550|    188|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    188|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    188|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1500|    188|    }
 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|     84|{
 1616|     84|    PyObject *func, *maxsize_O, *cache_info_type, *cachedict;
 1617|     84|    int typed;
 1618|     84|    lru_cache_object *obj;
 1619|     84|    Py_ssize_t maxsize;
 1620|     84|    PyObject *(*wrapper)(lru_cache_object *, PyObject *, PyObject *);
 1621|     84|    _functools_state *state;
 1622|     84|    static char *keywords[] = {"user_function", "maxsize", "typed",
 1623|     84|                               "cache_info_type", NULL};
 1624|       |
 1625|     84|    if (!PyArg_ParseTupleAndKeywords(args, kw, "OOpO:lru_cache", keywords,
  ------------------
  |  Branch (1625:9): [True: 0, False: 84]
  ------------------
 1626|     84|                                     &func, &maxsize_O, &typed,
 1627|     84|                                     &cache_info_type)) {
 1628|      0|        return NULL;
 1629|      0|    }
 1630|       |
 1631|     84|    if (!PyCallable_Check(func)) {
  ------------------
  |  Branch (1631:9): [True: 0, False: 84]
  ------------------
 1632|      0|        PyErr_SetString(PyExc_TypeError,
 1633|      0|                        "the first argument must be callable");
 1634|      0|        return NULL;
 1635|      0|    }
 1636|       |
 1637|     84|    state = get_functools_state_by_type(type);
 1638|     84|    if (state == NULL) {
  ------------------
  |  Branch (1638:9): [True: 0, False: 84]
  ------------------
 1639|      0|        return NULL;
 1640|      0|    }
 1641|       |
 1642|       |    /* select the caching function, and make/inc maxsize_O */
 1643|     84|    if (maxsize_O == Py_None) {
  ------------------
  |  |  616|     84|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1643:9): [True: 12, False: 72]
  ------------------
 1644|     12|        wrapper = infinite_lru_cache_wrapper;
 1645|       |        /* use this only to initialize lru_cache_object attribute maxsize */
 1646|     12|        maxsize = -1;
 1647|     72|    } else if (PyIndex_Check(maxsize_O)) {
  ------------------
  |  Branch (1647:16): [True: 72, False: 0]
  ------------------
 1648|     72|        maxsize = PyNumber_AsSsize_t(maxsize_O, PyExc_OverflowError);
 1649|     72|        if (maxsize == -1 && PyErr_Occurred())
  ------------------
  |  Branch (1649:13): [True: 0, False: 72]
  |  Branch (1649:30): [True: 0, False: 0]
  ------------------
 1650|      0|            return NULL;
 1651|     72|        if (maxsize < 0) {
  ------------------
  |  Branch (1651:13): [True: 0, False: 72]
  ------------------
 1652|      0|            maxsize = 0;
 1653|      0|        }
 1654|     72|        if (maxsize == 0)
  ------------------
  |  Branch (1654:13): [True: 0, False: 72]
  ------------------
 1655|      0|            wrapper = uncached_lru_cache_wrapper;
 1656|     72|        else
 1657|     72|            wrapper = bounded_lru_cache_wrapper;
 1658|     72|    } else {
 1659|      0|        PyErr_SetString(PyExc_TypeError, "maxsize should be integer or None");
 1660|      0|        return NULL;
 1661|      0|    }
 1662|       |
 1663|     84|    if (!(cachedict = PyDict_New()))
  ------------------
  |  Branch (1663:9): [True: 0, False: 84]
  ------------------
 1664|      0|        return NULL;
 1665|       |
 1666|     84|    obj = (lru_cache_object *)type->tp_alloc(type, 0);
 1667|     84|    if (obj == NULL) {
  ------------------
  |  Branch (1667:9): [True: 0, False: 84]
  ------------------
 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|     84|    obj->root.prev = &obj->root;
 1673|     84|    obj->root.next = &obj->root;
 1674|     84|    obj->wrapper = wrapper;
 1675|     84|    obj->typed = typed;
 1676|     84|    obj->cache = cachedict;
 1677|     84|    obj->func = Py_NewRef(func);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1678|     84|    obj->misses = obj->hits = 0;
 1679|     84|    obj->maxsize = maxsize;
 1680|     84|    obj->kwd_mark = Py_NewRef(state->kwd_mark);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1681|     84|    obj->lru_list_elem_type = (PyTypeObject*)Py_NewRef(state->lru_list_elem_type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1682|     84|    obj->cache_info_type = Py_NewRef(cache_info_type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1683|     84|    obj->dict = NULL;
 1684|       |    obj->weakreflist = NULL;
 1685|     84|    return (PyObject *)obj;
 1686|     84|}
_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);
  ------------------
  |  |  202|      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);
  ------------------
  |  |  202|      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:
  527|  4.05k|{
  528|  4.05k|    Py_off_t result;
  529|  4.05k|    PyObject *runerr;
  530|  4.05k|    PyObject *value = _PyNumber_Index(item);
  531|  4.05k|    if (value == NULL)
  ------------------
  |  Branch (531:9): [True: 0, False: 4.05k]
  ------------------
  532|      0|        return -1;
  533|       |
  534|       |    /* We're done if PyLong_AsSsize_t() returns without error. */
  535|  4.05k|    result = PyLong_AsOff_t(value);
  ------------------
  |  |  111|  4.05k|# define PyLong_AsOff_t     PyLong_AsSsize_t
  ------------------
  536|  4.05k|    if (result != -1 || !(runerr = PyErr_Occurred()))
  ------------------
  |  Branch (536:9): [True: 4.05k, False: 0]
  |  Branch (536:25): [True: 0, False: 0]
  ------------------
  537|  4.05k|        goto finish;
  538|       |
  539|       |    /* Error handling code -- only manage OverflowError differently */
  540|      0|    if (!PyErr_GivenExceptionMatches(runerr, PyExc_OverflowError))
  ------------------
  |  Branch (540:9): [True: 0, False: 0]
  ------------------
  541|      0|        goto finish;
  542|       |
  543|      0|    PyErr_Clear();
  544|       |    /* If no error-handling desired then the default clipping
  545|       |       is sufficient.
  546|       |     */
  547|      0|    if (!err) {
  ------------------
  |  Branch (547:9): [True: 0, False: 0]
  ------------------
  548|      0|        assert(PyLong_Check(value));
  549|      0|        if (_PyLong_IsNegative((PyLongObject *)value))
  ------------------
  |  Branch (549:13): [True: 0, False: 0]
  ------------------
  550|      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
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  551|      0|        else
  552|      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
  |  |  ------------------
  ------------------
  553|      0|    }
  554|      0|    else {
  555|       |        /* Otherwise replace the error with caller's error object. */
  556|      0|        PyErr_Format(err,
  557|      0|                     "cannot fit '%.200s' into an offset-sized integer",
  558|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  559|      0|    }
  560|       |
  561|  4.05k| finish:
  562|  4.05k|    Py_DECREF(value);
  ------------------
  |  |  430|  4.05k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.05k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.05k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  563|  4.05k|    return result;
  564|      0|}
PyInit__io:
  746|      2|{
  747|      2|    return PyModuleDef_Init(&_PyIO_Module);
  748|      2|}
_iomodule.c:_io_open_impl:
  204|  4.05k|{
  205|  4.05k|    size_t i;
  206|       |
  207|  4.05k|    int creating = 0, reading = 0, writing = 0, appending = 0, updating = 0;
  208|  4.05k|    int text = 0, binary = 0;
  209|       |
  210|  4.05k|    char rawmode[6], *m;
  211|  4.05k|    int line_buffering, is_number, isatty = 0;
  212|       |
  213|  4.05k|    PyObject *raw, *modeobj = NULL, *buffer, *wrapper, *result = NULL, *path_or_fd = NULL;
  214|       |
  215|  4.05k|    is_number = PyNumber_Check(file);
  216|       |
  217|  4.05k|    if (is_number) {
  ------------------
  |  Branch (217:9): [True: 51, False: 4.00k]
  ------------------
  218|     51|        path_or_fd = Py_NewRef(file);
  ------------------
  |  |  550|     51|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     51|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     51|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  219|  4.00k|    } else {
  220|  4.00k|        path_or_fd = PyOS_FSPath(file);
  221|  4.00k|        if (path_or_fd == NULL) {
  ------------------
  |  Branch (221:13): [True: 0, False: 4.00k]
  ------------------
  222|      0|            return NULL;
  223|      0|        }
  224|  4.00k|    }
  225|       |
  226|  4.05k|    if (!is_number &&
  ------------------
  |  Branch (226:9): [True: 4.00k, False: 51]
  ------------------
  227|  4.05k|        !PyUnicode_Check(path_or_fd) &&
  ------------------
  |  |  103|  4.00k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  8.05k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (227:9): [True: 0, False: 4.00k]
  ------------------
  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|  12.1k|    for (i = 0; i < strlen(mode); i++) {
  ------------------
  |  Branch (234:17): [True: 8.09k, False: 4.05k]
  ------------------
  235|  8.09k|        char c = mode[i];
  236|       |
  237|  8.09k|        switch (c) {
  238|      0|        case 'x':
  ------------------
  |  Branch (238:9): [True: 0, False: 8.09k]
  ------------------
  239|      0|            creating = 1;
  240|      0|            break;
  241|  3.99k|        case 'r':
  ------------------
  |  Branch (241:9): [True: 3.99k, False: 4.09k]
  ------------------
  242|  3.99k|            reading = 1;
  243|  3.99k|            break;
  244|     53|        case 'w':
  ------------------
  |  Branch (244:9): [True: 53, False: 8.04k]
  ------------------
  245|     53|            writing = 1;
  246|     53|            break;
  247|      0|        case 'a':
  ------------------
  |  Branch (247:9): [True: 0, False: 8.09k]
  ------------------
  248|      0|            appending = 1;
  249|      0|            break;
  250|      0|        case '+':
  ------------------
  |  Branch (250:9): [True: 0, False: 8.09k]
  ------------------
  251|      0|            updating = 1;
  252|      0|            break;
  253|      0|        case 't':
  ------------------
  |  Branch (253:9): [True: 0, False: 8.09k]
  ------------------
  254|      0|            text = 1;
  255|      0|            break;
  256|  4.04k|        case 'b':
  ------------------
  |  Branch (256:9): [True: 4.04k, False: 4.05k]
  ------------------
  257|  4.04k|            binary = 1;
  258|  4.04k|            break;
  259|      0|        default:
  ------------------
  |  Branch (259:9): [True: 0, False: 8.09k]
  ------------------
  260|      0|            goto invalid_mode;
  261|  8.09k|        }
  262|       |
  263|       |        /* c must not be duplicated */
  264|  8.09k|        if (strchr(mode+i+1, c)) {
  ------------------
  |  Branch (264:13): [True: 0, False: 8.09k]
  ------------------
  265|      0|          invalid_mode:
  266|      0|            PyErr_Format(PyExc_ValueError, "invalid mode: '%s'", mode);
  267|      0|            goto error;
  268|      0|        }
  269|       |
  270|  8.09k|    }
  271|       |
  272|  4.05k|    m = rawmode;
  273|  4.05k|    if (creating)  *(m++) = 'x';
  ------------------
  |  Branch (273:9): [True: 0, False: 4.05k]
  ------------------
  274|  4.05k|    if (reading)   *(m++) = 'r';
  ------------------
  |  Branch (274:9): [True: 3.99k, False: 53]
  ------------------
  275|  4.05k|    if (writing)   *(m++) = 'w';
  ------------------
  |  Branch (275:9): [True: 53, False: 3.99k]
  ------------------
  276|  4.05k|    if (appending) *(m++) = 'a';
  ------------------
  |  Branch (276:9): [True: 0, False: 4.05k]
  ------------------
  277|  4.05k|    if (updating)  *(m++) = '+';
  ------------------
  |  Branch (277:9): [True: 0, False: 4.05k]
  ------------------
  278|  4.05k|    *m = '\0';
  279|       |
  280|       |    /* Parameters validation */
  281|  4.05k|    if (text && binary) {
  ------------------
  |  Branch (281:9): [True: 0, False: 4.05k]
  |  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|  4.05k|    if (creating + reading + writing + appending > 1) {
  ------------------
  |  Branch (287:9): [True: 0, False: 4.05k]
  ------------------
  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|  4.05k|    if (binary && encoding != NULL) {
  ------------------
  |  Branch (293:9): [True: 4.04k, False: 7]
  |  Branch (293:19): [True: 0, False: 4.04k]
  ------------------
  294|      0|        PyErr_SetString(PyExc_ValueError,
  295|      0|                        "binary mode doesn't take an encoding argument");
  296|      0|        goto error;
  297|      0|    }
  298|       |
  299|  4.05k|    if (binary && errors != NULL) {
  ------------------
  |  Branch (299:9): [True: 4.04k, False: 7]
  |  Branch (299:19): [True: 0, False: 4.04k]
  ------------------
  300|      0|        PyErr_SetString(PyExc_ValueError,
  301|      0|                        "binary mode doesn't take an errors argument");
  302|      0|        goto error;
  303|      0|    }
  304|       |
  305|  4.05k|    if (binary && newline != NULL) {
  ------------------
  |  Branch (305:9): [True: 4.04k, False: 7]
  |  Branch (305:19): [True: 0, False: 4.04k]
  ------------------
  306|      0|        PyErr_SetString(PyExc_ValueError,
  307|      0|                        "binary mode doesn't take a newline argument");
  308|      0|        goto error;
  309|      0|    }
  310|       |
  311|  4.05k|    if (binary && buffering == 1) {
  ------------------
  |  Branch (311:9): [True: 4.04k, False: 7]
  |  Branch (311:19): [True: 0, False: 4.04k]
  ------------------
  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|  4.05k|    _PyIO_State *state = get_io_state(module);
  322|  4.05k|    {
  323|  4.05k|        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|  4.05k|        raw = PyObject_CallFunction(RawIO_class, "OsOO",
  332|  4.05k|                                    path_or_fd, rawmode,
  333|  4.05k|                                    closefd ? Py_True : Py_False,
  ------------------
  |  |   26|  4.05k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|  4.04k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                                                  closefd ? Py_True : Py_False,
  ------------------
  |  |   25|  4.05k|#  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: 4.04k, False: 6]
  ------------------
  334|  4.05k|                                    opener);
  335|  4.05k|    }
  336|       |
  337|  4.05k|    if (raw == NULL)
  ------------------
  |  Branch (337:9): [True: 6, False: 4.04k]
  ------------------
  338|      6|        goto error;
  339|  4.04k|    result = raw;
  340|       |
  341|  4.04k|    Py_SETREF(path_or_fd, NULL);
  ------------------
  |  |  352|  4.04k|    do { \
  |  |  353|  4.04k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  4.04k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|  4.04k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  4.04k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|  4.04k|        *_tmp_dst_ptr = (src); \
  |  |  356|  4.04k|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|  4.04k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.04k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|  4.04k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 4.04k]
  |  |  ------------------
  ------------------
  342|       |
  343|  4.04k|    modeobj = PyUnicode_FromString(mode);
  344|  4.04k|    if (modeobj == NULL)
  ------------------
  |  Branch (344:9): [True: 0, False: 4.04k]
  ------------------
  345|      0|        goto error;
  346|       |
  347|       |    /* buffering */
  348|  4.04k|    if (buffering < 0) {
  ------------------
  |  Branch (348:9): [True: 4.04k, False: 0]
  ------------------
  349|  4.04k|        PyObject *res = PyObject_CallMethodNoArgs(raw, &_Py_ID(_isatty_open_only));
  ------------------
  |  |  915|  4.04k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.04k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.04k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  350|  4.04k|        if (res == NULL)
  ------------------
  |  Branch (350:13): [True: 0, False: 4.04k]
  ------------------
  351|      0|            goto error;
  352|  4.04k|        isatty = PyObject_IsTrue(res);
  353|  4.04k|        Py_DECREF(res);
  ------------------
  |  |  430|  4.04k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.04k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  354|  4.04k|        if (isatty < 0)
  ------------------
  |  Branch (354:13): [True: 0, False: 4.04k]
  ------------------
  355|      0|            goto error;
  356|  4.04k|    }
  357|       |
  358|  4.04k|    if (buffering == 1 || isatty) {
  ------------------
  |  Branch (358:9): [True: 0, False: 4.04k]
  |  Branch (358:27): [True: 0, False: 4.04k]
  ------------------
  359|      0|        buffering = -1;
  360|      0|        line_buffering = 1;
  361|      0|    }
  362|  4.04k|    else
  363|  4.04k|        line_buffering = 0;
  364|       |
  365|  4.04k|    if (buffering < 0) {
  ------------------
  |  Branch (365:9): [True: 4.04k, False: 0]
  ------------------
  366|  4.04k|        PyObject *blksize_obj;
  367|  4.04k|        blksize_obj = PyObject_GetAttr(raw, &_Py_ID(_blksize));
  ------------------
  |  |  915|  4.04k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.04k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.04k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  368|  4.04k|        if (blksize_obj == NULL)
  ------------------
  |  Branch (368:13): [True: 0, False: 4.04k]
  ------------------
  369|      0|            goto error;
  370|  4.04k|        buffering = PyLong_AsLong(blksize_obj);
  371|  4.04k|        Py_DECREF(blksize_obj);
  ------------------
  |  |  430|  4.04k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.04k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  372|  4.04k|        if (buffering == -1 && PyErr_Occurred())
  ------------------
  |  Branch (372:13): [True: 0, False: 4.04k]
  |  Branch (372:32): [True: 0, False: 0]
  ------------------
  373|      0|            goto error;
  374|  4.04k|        buffering = Py_MAX(Py_MIN(buffering, 8192 * 1024), DEFAULT_BUFFER_SIZE);
  ------------------
  |  |  115|  8.09k|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 0, False: 4.04k]
  |  |  |  Branch (115:25): [True: 0, False: 4.04k]
  |  |  |  Branch (115:38): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  375|  4.04k|    }
  376|  4.04k|    if (buffering < 0) {
  ------------------
  |  Branch (376:9): [True: 0, False: 4.04k]
  ------------------
  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|  4.04k|    if (buffering == 0) {
  ------------------
  |  Branch (383:9): [True: 0, False: 4.04k]
  ------------------
  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|  4.04k|    {
  396|  4.04k|        PyObject *Buffered_class;
  397|       |
  398|  4.04k|        if (updating) {
  ------------------
  |  Branch (398:13): [True: 0, False: 4.04k]
  ------------------
  399|      0|            Buffered_class = (PyObject *)state->PyBufferedRandom_Type;
  400|      0|        }
  401|  4.04k|        else if (creating || writing || appending) {
  ------------------
  |  Branch (401:18): [True: 0, False: 4.04k]
  |  Branch (401:30): [True: 53, False: 3.99k]
  |  Branch (401:41): [True: 0, False: 3.99k]
  ------------------
  402|     53|            Buffered_class = (PyObject *)state->PyBufferedWriter_Type;
  403|     53|        }
  404|  3.99k|        else if (reading) {
  ------------------
  |  Branch (404:18): [True: 3.99k, False: 0]
  ------------------
  405|  3.99k|            Buffered_class = (PyObject *)state->PyBufferedReader_Type;
  406|  3.99k|        }
  407|      0|        else {
  408|      0|            PyErr_Format(PyExc_ValueError,
  409|      0|                         "unknown mode: '%s'", mode);
  410|      0|            goto error;
  411|      0|        }
  412|       |
  413|  4.04k|        buffer = PyObject_CallFunction(Buffered_class, "Oi", raw, buffering);
  414|  4.04k|    }
  415|  4.04k|    if (buffer == NULL)
  ------------------
  |  Branch (415:9): [True: 0, False: 4.04k]
  ------------------
  416|      0|        goto error;
  417|  4.04k|    result = buffer;
  418|  4.04k|    Py_DECREF(raw);
  ------------------
  |  |  430|  4.04k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.04k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  419|       |
  420|       |
  421|       |    /* if binary, returns the buffered file */
  422|  4.04k|    if (binary) {
  ------------------
  |  Branch (422:9): [True: 4.04k, False: 5]
  ------------------
  423|  4.04k|        Py_DECREF(modeobj);
  ------------------
  |  |  430|  4.04k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.04k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  424|  4.04k|        return result;
  425|  4.04k|    }
  426|       |
  427|       |    /* wraps into a TextIOWrapper */
  428|      5|    wrapper = PyObject_CallFunction((PyObject *)state->PyTextIOWrapper_Type,
  429|      5|                                    "OsssO",
  430|      5|                                    buffer,
  431|      5|                                    encoding, errors, newline,
  432|      5|                                    line_buffering ? Py_True : Py_False);
  ------------------
  |  |   26|      5|#  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|      5|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (432:37): [True: 0, False: 5]
  ------------------
  433|      5|    if (wrapper == NULL)
  ------------------
  |  Branch (433:9): [True: 0, False: 5]
  ------------------
  434|      0|        goto error;
  435|      5|    result = wrapper;
  436|      5|    Py_DECREF(buffer);
  ------------------
  |  |  430|      5|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  437|       |
  438|      5|    if (PyObject_SetAttr(wrapper, &_Py_ID(mode), modeobj) < 0)
  ------------------
  |  |  915|      5|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      5|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      5|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (438:9): [True: 0, False: 5]
  ------------------
  439|      0|        goto error;
  440|      5|    Py_DECREF(modeobj);
  ------------------
  |  |  430|      5|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  441|      5|    return result;
  442|       |
  443|      6|  error:
  444|      6|    if (result != NULL) {
  ------------------
  |  Branch (444:9): [True: 0, False: 6]
  ------------------
  445|      0|        PyObject *exc = PyErr_GetRaisedException();
  446|      0|        PyObject *close_result = PyObject_CallMethodNoArgs(result, &_Py_ID(close));
  ------------------
  |  |  915|      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|      6|    Py_XDECREF(path_or_fd);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  452|      6|    Py_XDECREF(modeobj);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  453|       |    return NULL;
  454|      5|}
_iomodule.c:_io_text_encoding_impl:
  479|     14|{
  480|     14|    if (encoding == NULL || encoding == Py_None) {
  ------------------
  |  |  616|     14|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (480:9): [True: 0, False: 14]
  |  Branch (480:29): [True: 0, False: 14]
  ------------------
  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);
  ------------------
  |  |  917|      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);
  ------------------
  |  |  915|      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|     14|    return Py_NewRef(encoding);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  498|     14|}
_iomodule.c:_io_open_code_impl:
  517|  3.98k|{
  518|  3.98k|    return PyFile_OpenCodeObject(path);
  519|  3.98k|}
_iomodule.c:iomodule_exec:
  653|      2|{
  654|      2|    _PyIO_State *state = get_io_state(m);
  655|       |
  656|       |    /* DEFAULT_BUFFER_SIZE */
  657|      2|    if (PyModule_AddIntMacro(m, DEFAULT_BUFFER_SIZE) < 0)
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  ------------------
  |  Branch (657:9): [True: 0, False: 2]
  ------------------
  658|      0|        return -1;
  659|       |
  660|       |    /* UnsupportedOperation inherits from ValueError and OSError */
  661|      2|    state->unsupported_operation = PyObject_CallFunction(
  662|      2|        (PyObject *)&PyType_Type, "s(OO){}",
  663|      2|        "UnsupportedOperation", PyExc_OSError, PyExc_ValueError);
  664|      2|    if (state->unsupported_operation == NULL)
  ------------------
  |  Branch (664:9): [True: 0, False: 2]
  ------------------
  665|      0|        return -1;
  666|      2|    if (PyObject_SetAttrString(state->unsupported_operation,
  ------------------
  |  Branch (666:9): [True: 0, False: 2]
  ------------------
  667|      2|                               "__module__", &_Py_ID(io)) < 0)
  ------------------
  |  |  915|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  668|      0|    {
  669|      0|        return -1;
  670|      0|    }
  671|      2|    if (PyModule_AddObjectRef(m, "UnsupportedOperation",
  ------------------
  |  Branch (671:9): [True: 0, False: 2]
  ------------------
  672|      2|                              state->unsupported_operation) < 0)
  673|      0|    {
  674|      0|        return -1;
  675|      0|    }
  676|       |
  677|       |    /* BlockingIOError, for compatibility */
  678|      2|    if (PyModule_AddObjectRef(m, "BlockingIOError",
  ------------------
  |  Branch (678:9): [True: 0, False: 2]
  ------------------
  679|      2|                              (PyObject *) PyExc_BlockingIOError) < 0) {
  680|      0|        return -1;
  681|      0|    }
  682|       |
  683|       |    // Base classes
  684|      2|    ADD_TYPE(m, state->PyIncrementalNewlineDecoder_Type, &_Py_nldecoder_spec, NULL);
  ------------------
  |  |  639|      2|#define ADD_TYPE(module, type, spec, base)                               \
  |  |  640|      2|do {                                                                     \
  |  |  641|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec,        \
  |  |  642|      2|                                                    (PyObject *)base);   \
  |  |  643|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (643:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  644|      0|        return -1;                                                       \
  |  |  645|      0|    }                                                                    \
  |  |  646|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (646:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  647|      0|        return -1;                                                       \
  |  |  648|      0|    }                                                                    \
  |  |  649|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (649:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
  685|      2|    ADD_TYPE(m, state->PyBytesIOBuffer_Type, &_Py_bytesiobuf_spec, NULL);
  ------------------
  |  |  639|      2|#define ADD_TYPE(module, type, spec, base)                               \
  |  |  640|      2|do {                                                                     \
  |  |  641|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec,        \
  |  |  642|      2|                                                    (PyObject *)base);   \
  |  |  643|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (643:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  644|      0|        return -1;                                                       \
  |  |  645|      0|    }                                                                    \
  |  |  646|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (646:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  647|      0|        return -1;                                                       \
  |  |  648|      0|    }                                                                    \
  |  |  649|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (649:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
  686|      2|    ADD_TYPE(m, state->PyIOBase_Type, &_Py_iobase_spec, NULL);
  ------------------
  |  |  639|      2|#define ADD_TYPE(module, type, spec, base)                               \
  |  |  640|      2|do {                                                                     \
  |  |  641|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec,        \
  |  |  642|      2|                                                    (PyObject *)base);   \
  |  |  643|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (643:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  644|      0|        return -1;                                                       \
  |  |  645|      0|    }                                                                    \
  |  |  646|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (646:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  647|      0|        return -1;                                                       \
  |  |  648|      0|    }                                                                    \
  |  |  649|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (649:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
  687|       |
  688|       |    // PyIOBase_Type subclasses
  689|      2|    ADD_TYPE(m, state->PyTextIOBase_Type, &_Py_textiobase_spec,
  ------------------
  |  |  639|      2|#define ADD_TYPE(module, type, spec, base)                               \
  |  |  640|      2|do {                                                                     \
  |  |  641|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec,        \
  |  |  642|      2|                                                    (PyObject *)base);   \
  |  |  643|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (643:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  644|      0|        return -1;                                                       \
  |  |  645|      0|    }                                                                    \
  |  |  646|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (646:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  647|      0|        return -1;                                                       \
  |  |  648|      0|    }                                                                    \
  |  |  649|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (649:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
  690|      2|             state->PyIOBase_Type);
  691|      2|    ADD_TYPE(m, state->PyBufferedIOBase_Type, &_Py_bufferediobase_spec,
  ------------------
  |  |  639|      2|#define ADD_TYPE(module, type, spec, base)                               \
  |  |  640|      2|do {                                                                     \
  |  |  641|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec,        \
  |  |  642|      2|                                                    (PyObject *)base);   \
  |  |  643|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (643:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  644|      0|        return -1;                                                       \
  |  |  645|      0|    }                                                                    \
  |  |  646|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (646:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  647|      0|        return -1;                                                       \
  |  |  648|      0|    }                                                                    \
  |  |  649|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (649:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
  692|      2|             state->PyIOBase_Type);
  693|      2|    ADD_TYPE(m, state->PyRawIOBase_Type, &_Py_rawiobase_spec,
  ------------------
  |  |  639|      2|#define ADD_TYPE(module, type, spec, base)                               \
  |  |  640|      2|do {                                                                     \
  |  |  641|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec,        \
  |  |  642|      2|                                                    (PyObject *)base);   \
  |  |  643|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (643:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  644|      0|        return -1;                                                       \
  |  |  645|      0|    }                                                                    \
  |  |  646|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (646:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  647|      0|        return -1;                                                       \
  |  |  648|      0|    }                                                                    \
  |  |  649|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (649:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
  694|      2|             state->PyIOBase_Type);
  695|       |
  696|       |    // PyBufferedIOBase_Type(PyIOBase_Type) subclasses
  697|      2|    ADD_TYPE(m, state->PyBytesIO_Type, &_Py_bytesio_spec, state->PyBufferedIOBase_Type);
  ------------------
  |  |  639|      2|#define ADD_TYPE(module, type, spec, base)                               \
  |  |  640|      2|do {                                                                     \
  |  |  641|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec,        \
  |  |  642|      2|                                                    (PyObject *)base);   \
  |  |  643|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (643:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  644|      0|        return -1;                                                       \
  |  |  645|      0|    }                                                                    \
  |  |  646|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (646:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  647|      0|        return -1;                                                       \
  |  |  648|      0|    }                                                                    \
  |  |  649|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (649:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
  698|      2|    ADD_TYPE(m, state->PyBufferedWriter_Type, &_Py_bufferedwriter_spec,
  ------------------
  |  |  639|      2|#define ADD_TYPE(module, type, spec, base)                               \
  |  |  640|      2|do {                                                                     \
  |  |  641|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec,        \
  |  |  642|      2|                                                    (PyObject *)base);   \
  |  |  643|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (643:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  644|      0|        return -1;                                                       \
  |  |  645|      0|    }                                                                    \
  |  |  646|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (646:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  647|      0|        return -1;                                                       \
  |  |  648|      0|    }                                                                    \
  |  |  649|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (649:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
  699|      2|             state->PyBufferedIOBase_Type);
  700|      2|    ADD_TYPE(m, state->PyBufferedReader_Type, &_Py_bufferedreader_spec,
  ------------------
  |  |  639|      2|#define ADD_TYPE(module, type, spec, base)                               \
  |  |  640|      2|do {                                                                     \
  |  |  641|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec,        \
  |  |  642|      2|                                                    (PyObject *)base);   \
  |  |  643|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (643:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  644|      0|        return -1;                                                       \
  |  |  645|      0|    }                                                                    \
  |  |  646|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (646:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  647|      0|        return -1;                                                       \
  |  |  648|      0|    }                                                                    \
  |  |  649|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (649:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
  701|      2|             state->PyBufferedIOBase_Type);
  702|      2|    ADD_TYPE(m, state->PyBufferedRWPair_Type, &_Py_bufferedrwpair_spec,
  ------------------
  |  |  639|      2|#define ADD_TYPE(module, type, spec, base)                               \
  |  |  640|      2|do {                                                                     \
  |  |  641|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec,        \
  |  |  642|      2|                                                    (PyObject *)base);   \
  |  |  643|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (643:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  644|      0|        return -1;                                                       \
  |  |  645|      0|    }                                                                    \
  |  |  646|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (646:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  647|      0|        return -1;                                                       \
  |  |  648|      0|    }                                                                    \
  |  |  649|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (649:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
  703|      2|             state->PyBufferedIOBase_Type);
  704|      2|    ADD_TYPE(m, state->PyBufferedRandom_Type, &_Py_bufferedrandom_spec,
  ------------------
  |  |  639|      2|#define ADD_TYPE(module, type, spec, base)                               \
  |  |  640|      2|do {                                                                     \
  |  |  641|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec,        \
  |  |  642|      2|                                                    (PyObject *)base);   \
  |  |  643|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (643:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  644|      0|        return -1;                                                       \
  |  |  645|      0|    }                                                                    \
  |  |  646|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (646:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  647|      0|        return -1;                                                       \
  |  |  648|      0|    }                                                                    \
  |  |  649|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (649:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
  705|      2|             state->PyBufferedIOBase_Type);
  706|       |
  707|       |    // PyRawIOBase_Type(PyIOBase_Type) subclasses
  708|      2|    ADD_TYPE(m, state->PyFileIO_Type, &_Py_fileio_spec, state->PyRawIOBase_Type);
  ------------------
  |  |  639|      2|#define ADD_TYPE(module, type, spec, base)                               \
  |  |  640|      2|do {                                                                     \
  |  |  641|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec,        \
  |  |  642|      2|                                                    (PyObject *)base);   \
  |  |  643|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (643:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  644|      0|        return -1;                                                       \
  |  |  645|      0|    }                                                                    \
  |  |  646|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (646:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  647|      0|        return -1;                                                       \
  |  |  648|      0|    }                                                                    \
  |  |  649|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (649:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
  709|       |
  710|       |#ifdef HAVE_WINDOWS_CONSOLE_IO
  711|       |    ADD_TYPE(m, state->PyWindowsConsoleIO_Type, &_Py_winconsoleio_spec,
  712|       |             state->PyRawIOBase_Type);
  713|       |#endif
  714|       |
  715|       |    // PyTextIOBase_Type(PyIOBase_Type) subclasses
  716|      2|    ADD_TYPE(m, state->PyStringIO_Type, &_Py_stringio_spec, state->PyTextIOBase_Type);
  ------------------
  |  |  639|      2|#define ADD_TYPE(module, type, spec, base)                               \
  |  |  640|      2|do {                                                                     \
  |  |  641|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec,        \
  |  |  642|      2|                                                    (PyObject *)base);   \
  |  |  643|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (643:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  644|      0|        return -1;                                                       \
  |  |  645|      0|    }                                                                    \
  |  |  646|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (646:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  647|      0|        return -1;                                                       \
  |  |  648|      0|    }                                                                    \
  |  |  649|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (649:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
  717|      2|    ADD_TYPE(m, state->PyTextIOWrapper_Type, &_Py_textiowrapper_spec,
  ------------------
  |  |  639|      2|#define ADD_TYPE(module, type, spec, base)                               \
  |  |  640|      2|do {                                                                     \
  |  |  641|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec,        \
  |  |  642|      2|                                                    (PyObject *)base);   \
  |  |  643|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (643:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  644|      0|        return -1;                                                       \
  |  |  645|      0|    }                                                                    \
  |  |  646|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (646:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  647|      0|        return -1;                                                       \
  |  |  648|      0|    }                                                                    \
  |  |  649|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (649:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
  718|      2|             state->PyTextIOBase_Type);
  719|       |
  720|      2|#undef ADD_TYPE
  721|      2|    return 0;
  722|      2|}
_iomodule.c:iomodule_traverse:
  567|     16|iomodule_traverse(PyObject *mod, visitproc visit, void *arg) {
  568|     16|    _PyIO_State *state = get_io_state(mod);
  569|     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]
  |  |  ------------------
  ------------------
  570|       |
  571|     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]
  |  |  ------------------
  ------------------
  572|     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]
  |  |  ------------------
  ------------------
  573|     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]
  |  |  ------------------
  ------------------
  574|     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]
  |  |  ------------------
  ------------------
  575|     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]
  |  |  ------------------
  ------------------
  576|     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]
  |  |  ------------------
  ------------------
  577|     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]
  |  |  ------------------
  ------------------
  578|     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]
  |  |  ------------------
  ------------------
  579|     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]
  |  |  ------------------
  ------------------
  580|     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]
  |  |  ------------------
  ------------------
  581|     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]
  |  |  ------------------
  ------------------
  582|     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]
  |  |  ------------------
  ------------------
  583|     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]
  |  |  ------------------
  ------------------
  584|     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]
  |  |  ------------------
  ------------------
  585|       |#ifdef HAVE_WINDOWS_CONSOLE_IO
  586|       |    Py_VISIT(state->PyWindowsConsoleIO_Type);
  587|       |#endif
  588|     16|    return 0;
  589|     16|}

_iomodule.c:get_io_state:
  171|  4.07k|{
  172|  4.07k|    void *state = _PyModule_GetState(module);
  173|       |    assert(state != NULL);
  174|  4.07k|    return (_PyIO_State *)state;
  175|  4.07k|}
iobase.c:get_io_state_by_cls:
  179|      3|{
  180|      3|    void *state = _PyType_GetModuleState(cls);
  181|       |    assert(state != NULL);
  182|      3|    return (_PyIO_State *)state;
  183|      3|}
fileio.c:get_io_state_by_cls:
  179|  4.04k|{
  180|  4.04k|    void *state = _PyType_GetModuleState(cls);
  181|       |    assert(state != NULL);
  182|  4.04k|    return (_PyIO_State *)state;
  183|  4.04k|}
bufferedio.c:find_io_state_by_def:
  187|  4.05k|{
  188|  4.05k|    PyObject *mod = PyType_GetModuleByDef(type, &_PyIO_Module);
  189|       |    assert(mod != NULL);
  190|  4.05k|    return get_io_state(mod);
  191|  4.05k|}
bufferedio.c:get_io_state:
  171|  4.05k|{
  172|  4.05k|    void *state = _PyModule_GetState(module);
  173|       |    assert(state != NULL);
  174|  4.05k|    return (_PyIO_State *)state;
  175|  4.05k|}
textio.c:find_io_state_by_def:
  187|     16|{
  188|     16|    PyObject *mod = PyType_GetModuleByDef(type, &_PyIO_Module);
  189|       |    assert(mod != NULL);
  190|     16|    return get_io_state(mod);
  191|     16|}
textio.c:get_io_state:
  171|     16|{
  172|     16|    void *state = _PyModule_GetState(module);
  173|       |    assert(state != NULL);
  174|     16|    return (_PyIO_State *)state;
  175|     16|}
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|  4.04k|{
  427|  4.04k|    buffered *self = buffered_CAST(op);
  ------------------
  |  |  267|  4.04k|#define buffered_CAST(op)   ((buffered *)(op))
  ------------------
  428|  4.04k|    PyTypeObject *tp = Py_TYPE(self);
  ------------------
  |  |  213|  4.04k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.04k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  429|  4.04k|    self->finalizing = 1;
  430|  4.04k|    if (_PyIOBase_finalize(op) < 0)
  ------------------
  |  Branch (430:9): [True: 0, False: 4.04k]
  ------------------
  431|      0|        return;
  432|  4.04k|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  510|  4.04k|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.04k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  433|  4.04k|    self->ok = 0;
  434|  4.04k|    FT_CLEAR_WEAKREFS(op, self->weakreflist);
  ------------------
  |  |   47|  4.04k|    do {                                            \
  |  |   48|  4.04k|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|  4.04k|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 4.04k]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|  4.04k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 4.04k]
  |  |  ------------------
  ------------------
  435|  4.04k|    if (self->buffer) {
  ------------------
  |  Branch (435:9): [True: 0, False: 4.04k]
  ------------------
  436|      0|        PyMem_Free(self->buffer);
  437|      0|        self->buffer = NULL;
  438|      0|    }
  439|  4.04k|    if (self->lock) {
  ------------------
  |  Branch (439:9): [True: 4.04k, False: 0]
  ------------------
  440|  4.04k|        PyThread_free_lock(self->lock);
  441|  4.04k|        self->lock = NULL;
  442|  4.04k|    }
  443|  4.04k|    (void)buffered_clear(op);
  444|  4.04k|    tp->tp_free(self);
  445|  4.04k|    Py_DECREF(tp);
  ------------------
  |  |  430|  4.04k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.04k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  446|  4.04k|}
bufferedio.c:buffered_traverse:
  466|     52|{
  467|     52|    buffered *self = buffered_CAST(op);
  ------------------
  |  |  267|     52|#define buffered_CAST(op)   ((buffered *)(op))
  ------------------
  468|     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]
  |  |  ------------------
  ------------------
  469|     52|    Py_VISIT(self->raw);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  470|     52|    Py_VISIT(self->dict);
  ------------------
  |  |  194|     52|    do {                                                                \
  |  |  195|     52|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 52]
  |  |  ------------------
  |  |  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|     52|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 52]
  |  |  ------------------
  ------------------
  471|     52|    return 0;
  472|     52|}
bufferedio.c:buffered_clear:
  416|  4.04k|{
  417|  4.04k|    buffered *self = buffered_CAST(op);
  ------------------
  |  |  267|  4.04k|#define buffered_CAST(op)   ((buffered *)(op))
  ------------------
  418|  4.04k|    self->ok = 0;
  419|  4.04k|    Py_CLEAR(self->raw);
  ------------------
  |  |  484|  4.04k|    do { \
  |  |  485|  4.04k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  4.04k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  4.04k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  4.04k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  4.04k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 4.04k, False: 0]
  |  |  ------------------
  |  |  488|  4.04k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  4.04k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  4.04k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  4.04k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.04k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  4.04k|        } \
  |  |  491|  4.04k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 4.04k]
  |  |  ------------------
  ------------------
  420|       |    Py_CLEAR(self->dict);
  ------------------
  |  |  484|  4.04k|    do { \
  |  |  485|  4.04k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  4.04k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  4.04k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  4.04k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  4.04k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 4.04k]
  |  |  ------------------
  |  |  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.04k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 4.04k]
  |  |  ------------------
  ------------------
  421|  4.04k|    return 0;
  422|  4.04k|}
bufferedio.c:_buffered_readline:
 1207|      9|{
 1208|      9|    PyObject *res = NULL;
 1209|      9|    PyObject *chunks = NULL;
 1210|      9|    Py_ssize_t n;
 1211|      9|    const char *start, *s, *end;
 1212|       |
 1213|      9|    CHECK_CLOSED(self, "readline of closed file")
  ------------------
  |  |  371|      9|    do { \
  |  |  372|      9|        int _closed = IS_CLOSED(self); \
  |  |  ------------------
  |  |  |  |  365|      9|    (!self->buffer ? 1 : \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (365:6): [True: 0, False: 9]
  |  |  |  |  ------------------
  |  |  |  |  366|      9|    (self->fast_closed_checks \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (366:6): [True: 9, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  367|      9|     ? _PyFileIO_closed(self->raw) \
  |  |  |  |  368|      9|     : buffered_closed(self)))
  |  |  ------------------
  |  |  373|      9|        if (_closed < 0) { \
  |  |  ------------------
  |  |  |  Branch (373:13): [True: 0, False: 9]
  |  |  ------------------
  |  |  374|      0|            return NULL; \
  |  |  375|      0|        } \
  |  |  376|      9|        if (_closed && \
  |  |  ------------------
  |  |  |  Branch (376:13): [True: 0, False: 9]
  |  |  ------------------
  |  |  377|      9|            (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|      9|        { \
  |  |  379|      0|            PyErr_SetString(PyExc_ValueError, error_msg); \
  |  |  380|      0|            return NULL; \
  |  |  381|      0|        } \
  |  |  382|      9|    } while (0);
  |  |  ------------------
  |  |  |  Branch (382:14): [Folded, False: 9]
  |  |  ------------------
  ------------------
 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|      9|    n = Py_SAFE_DOWNCAST(READAHEAD(self), Py_off_t, Py_ssize_t);
  ------------------
  |  |  247|      9|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  ------------------
  |  |  |  |   34|     54|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:47): [True: 9, False: 0]
  |  |  |  |  |  Branch (34:47): [True: 4, False: 5]
  |  |  |  |  |  Branch (34:47): [True: 9, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1219|      9|    if (limit >= 0 && n > limit)
  ------------------
  |  Branch (1219:9): [True: 0, False: 9]
  |  Branch (1219:23): [True: 0, False: 0]
  ------------------
 1220|      0|        n = limit;
 1221|      9|    start = self->buffer + self->pos;
 1222|      9|    s = memchr(start, '\n', n);
 1223|      9|    if (s != NULL) {
  ------------------
  |  Branch (1223:9): [True: 4, False: 5]
  ------------------
 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|      5|    if (n == limit) {
  ------------------
  |  Branch (1229:9): [True: 0, False: 5]
  ------------------
 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|      5|    if (!ENTER_BUFFERED(self))
  ------------------
  |  |  330|      5|    ( (PyThread_acquire_lock(self->lock, 0) ? \
  |  |  ------------------
  |  |  |  Branch (330:7): [True: 5, False: 0]
  |  |  |  Branch (330:8): [True: 5, False: 0]
  |  |  ------------------
  |  |  331|      5|       1 : _enter_buffered_busy(self)) \
  |  |  332|      5|     && (self->owner = PyThread_get_thread_ident(), 1) )
  |  |  ------------------
  |  |  |  Branch (332:9): [True: 5, False: 0]
  |  |  ------------------
  ------------------
 1237|      0|        goto end_unlocked;
 1238|       |
 1239|       |    /* Now we try to get some more from the raw stream */
 1240|      5|    chunks = PyList_New(0);
 1241|      5|    if (chunks == NULL)
  ------------------
  |  Branch (1241:9): [True: 0, False: 5]
  ------------------
 1242|      0|        goto end;
 1243|      5|    if (n > 0) {
  ------------------
  |  Branch (1243:9): [True: 0, False: 5]
  ------------------
 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|      5|    if (self->writable) {
  ------------------
  |  Branch (1256:9): [True: 0, False: 5]
  ------------------
 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|      5|    for (;;) {
 1264|      5|        _bufferedreader_reset_buf(self);
 1265|      5|        n = _bufferedreader_fill_buffer(self);
 1266|      5|        if (n == -1)
  ------------------
  |  Branch (1266:13): [True: 0, False: 5]
  ------------------
 1267|      0|            goto end;
 1268|      5|        if (n <= 0)
  ------------------
  |  Branch (1268:13): [True: 0, False: 5]
  ------------------
 1269|      0|            break;
 1270|      5|        if (limit >= 0 && n > limit)
  ------------------
  |  Branch (1270:13): [True: 0, False: 5]
  |  Branch (1270:27): [True: 0, False: 0]
  ------------------
 1271|      0|            n = limit;
 1272|      5|        start = self->buffer;
 1273|      5|        end = start + n;
 1274|      5|        s = start;
 1275|    232|        while (s < end) {
  ------------------
  |  Branch (1275:16): [True: 232, False: 0]
  ------------------
 1276|    232|            if (*s++ == '\n') {
  ------------------
  |  Branch (1276:17): [True: 5, False: 227]
  ------------------
 1277|      5|                res = PyBytes_FromStringAndSize(start, s - start);
 1278|      5|                if (res == NULL)
  ------------------
  |  Branch (1278:21): [True: 0, False: 5]
  ------------------
 1279|      0|                    goto end;
 1280|      5|                self->pos = s - start;
 1281|      5|                goto found;
 1282|      5|            }
 1283|    232|        }
 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|      5|found:
 1300|      5|    if (res != NULL && PyList_Append(chunks, res) < 0) {
  ------------------
  |  Branch (1300:9): [True: 5, False: 0]
  |  Branch (1300:24): [True: 0, False: 5]
  ------------------
 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|      5|    Py_XSETREF(res, PyBytes_Join((PyObject *)&_Py_SINGLETON(bytes_empty), chunks));
  ------------------
  |  |  374|      5|    do { \
  |  |  375|      5|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      5|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|      5|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      5|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|      5|        *_tmp_dst_ptr = (src); \
  |  |  378|      5|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|      5|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|      5|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 5]
  |  |  ------------------
  ------------------
 1305|       |
 1306|      5|end:
 1307|      5|    LEAVE_BUFFERED(self)
  ------------------
  |  |  335|      5|    do { \
  |  |  336|      5|        self->owner = 0; \
  |  |  337|      5|        PyThread_release_lock(self->lock); \
  |  |  338|      5|    } while(0);
  |  |  ------------------
  |  |  |  Branch (338:13): [Folded, False: 5]
  |  |  ------------------
  ------------------
 1308|      9|end_unlocked:
 1309|      9|    Py_XDECREF(chunks);
  ------------------
  |  |  524|      9|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      9|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1310|      9|    return res;
 1311|      5|}
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));
  ------------------
  |  |  915|     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|  4.36k|{
  910|  4.36k|    PyObject *res;
  911|       |
  912|  4.36k|    res = _bufferedwriter_flush_unlocked(self);
  913|  4.36k|    if (res == NULL)
  ------------------
  |  Branch (913:9): [True: 0, False: 4.36k]
  ------------------
  914|      0|        return NULL;
  915|  4.36k|    Py_DECREF(res);
  ------------------
  |  |  430|  4.36k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.36k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.36k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  916|       |
  917|  4.36k|    if (self->readable) {
  ------------------
  |  Branch (917:9): [True: 0, False: 4.36k]
  ------------------
  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|  4.36k|    Py_RETURN_NONE;
  ------------------
  |  |  628|  4.36k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  4.36k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  927|  4.36k|}
bufferedio.c:_bufferedwriter_flush_unlocked:
 2023|  4.36k|{
 2024|  4.36k|    Py_off_t n, rewind;
 2025|       |
 2026|  4.36k|    if (!VALID_WRITE_BUFFER(self) || self->write_pos == self->write_end)
  ------------------
  |  |  388|  8.72k|    (self->writable && self->write_end != -1)
  |  |  ------------------
  |  |  |  Branch (388:6): [True: 4.36k, False: 0]
  |  |  |  Branch (388:24): [True: 4.35k, False: 5]
  |  |  ------------------
  ------------------
  |  Branch (2026:38): [True: 1, False: 4.35k]
  ------------------
 2027|      6|        goto end;
 2028|       |    /* First, rewind */
 2029|  4.35k|    rewind = RAW_OFFSET(self) + (self->pos - self->write_pos);
  ------------------
  |  |  402|  4.35k|    (((VALID_READ_BUFFER(self) || VALID_WRITE_BUFFER(self)) \
  |  |  ------------------
  |  |  |  |  385|  8.71k|    (self->readable && self->read_end != -1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (385:6): [True: 0, False: 4.35k]
  |  |  |  |  |  Branch (385:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (((VALID_READ_BUFFER(self) || VALID_WRITE_BUFFER(self)) \
  |  |  ------------------
  |  |  |  |  388|  4.35k|    (self->writable && self->write_end != -1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (388:6): [True: 4.35k, False: 0]
  |  |  |  |  |  Branch (388:24): [True: 4.35k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  403|  4.35k|        && self->raw_pos >= 0) ? self->raw_pos - self->pos : 0)
  |  |  ------------------
  |  |  |  Branch (403:12): [True: 4.35k, False: 0]
  |  |  ------------------
  ------------------
 2030|  4.35k|    if (rewind != 0) {
  ------------------
  |  Branch (2030:9): [True: 0, False: 4.35k]
  ------------------
 2031|      0|        n = _buffered_raw_seek(self, -rewind, 1);
 2032|      0|        if (n < 0) {
  ------------------
  |  Branch (2032:13): [True: 0, False: 0]
  ------------------
 2033|      0|            goto error;
 2034|      0|        }
 2035|      0|        self->raw_pos -= rewind;
 2036|      0|    }
 2037|  8.71k|    while (self->write_pos < self->write_end) {
  ------------------
  |  Branch (2037:12): [True: 4.35k, False: 4.35k]
  ------------------
 2038|  4.35k|        n = _bufferedwriter_raw_write(self,
 2039|  4.35k|            self->buffer + self->write_pos,
 2040|  4.35k|            Py_SAFE_DOWNCAST(self->write_end - self->write_pos,
  ------------------
  |  |  247|  4.35k|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  ------------------
  |  |  |  |   34|  4.35k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2041|  4.35k|                             Py_off_t, Py_ssize_t));
 2042|  4.35k|        if (n == -1) {
  ------------------
  |  Branch (2042:13): [True: 0, False: 4.35k]
  ------------------
 2043|      0|            goto error;
 2044|      0|        }
 2045|  4.35k|        else if (n == -2) {
  ------------------
  |  Branch (2045:18): [True: 0, False: 4.35k]
  ------------------
 2046|      0|            _set_BlockingIOError("write could not complete without blocking",
 2047|      0|                                 0);
 2048|      0|            goto error;
 2049|      0|        }
 2050|  4.35k|        self->write_pos += n;
 2051|  4.35k|        self->raw_pos = self->write_pos;
 2052|       |        /* Partial writes can return successfully when interrupted by a
 2053|       |           signal (see write(2)).  We must run signal handlers before
 2054|       |           blocking another time, possibly indefinitely. */
 2055|  4.35k|        if (PyErr_CheckSignals() < 0)
  ------------------
  |  Branch (2055:13): [True: 0, False: 4.35k]
  ------------------
 2056|      0|            goto error;
 2057|  4.35k|    }
 2058|       |
 2059|       |
 2060|  4.36k|end:
 2061|       |    /* This ensures that after return from this function,
 2062|       |       VALID_WRITE_BUFFER(self) returns false.
 2063|       |
 2064|       |       This is a required condition because when a tell() is called
 2065|       |       after flushing and if VALID_READ_BUFFER(self) is false, we need
 2066|       |       VALID_WRITE_BUFFER(self) to be false to have
 2067|       |       RAW_OFFSET(self) == 0.
 2068|       |
 2069|       |       Issue: https://bugs.python.org/issue32228 */
 2070|  4.36k|    _bufferedwriter_reset_buf(self);
 2071|  4.36k|    Py_RETURN_NONE;
  ------------------
  |  |  628|  4.36k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  4.36k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 2072|       |
 2073|      0|error:
 2074|       |    return NULL;
 2075|  4.35k|}
bufferedio.c:_bufferedwriter_raw_write:
 1976|  4.35k|{
 1977|  4.35k|    Py_buffer buf;
 1978|  4.35k|    PyObject *memobj, *res;
 1979|  4.35k|    Py_ssize_t n;
 1980|  4.35k|    int errnum;
 1981|       |    /* NOTE: the buffer needn't be released as its object is NULL. */
 1982|  4.35k|    if (PyBuffer_FillInfo(&buf, NULL, start, len, 1, PyBUF_CONTIG_RO) == -1)
  ------------------
  |  |  125|  4.35k|#define PyBUF_CONTIG_RO (PyBUF_ND)
  |  |  ------------------
  |  |  |  |  117|  4.35k|#define PyBUF_ND 0x0008
  |  |  ------------------
  ------------------
  |  Branch (1982:9): [True: 0, False: 4.35k]
  ------------------
 1983|      0|        return -1;
 1984|  4.35k|    memobj = PyMemoryView_FromBuffer(&buf);
 1985|  4.35k|    if (memobj == NULL)
  ------------------
  |  Branch (1985:9): [True: 0, False: 4.35k]
  ------------------
 1986|      0|        return -1;
 1987|       |    /* NOTE: PyErr_SetFromErrno() calls PyErr_CheckSignals() when EINTR
 1988|       |       occurs so we needn't do it ourselves.
 1989|       |       We then retry writing, ignoring the signal if no handler has
 1990|       |       raised (see issue #10956).
 1991|       |    */
 1992|  4.35k|    do {
 1993|  4.35k|        errno = 0;
 1994|  4.35k|        res = PyObject_CallMethodOneArg(self->raw, &_Py_ID(write), memobj);
  ------------------
  |  |  915|  4.35k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.35k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.35k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1995|  4.35k|        errnum = errno;
 1996|  4.35k|    } while (res == NULL && _PyIO_trap_eintr());
  ------------------
  |  Branch (1996:14): [True: 0, False: 4.35k]
  |  Branch (1996:29): [True: 0, False: 0]
  ------------------
 1997|  4.35k|    Py_DECREF(memobj);
  ------------------
  |  |  430|  4.35k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.35k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.35k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1998|  4.35k|    if (res == NULL)
  ------------------
  |  Branch (1998:9): [True: 0, False: 4.35k]
  ------------------
 1999|      0|        return -1;
 2000|  4.35k|    if (res == Py_None) {
  ------------------
  |  |  616|  4.35k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2000:9): [True: 0, False: 4.35k]
  ------------------
 2001|       |        /* Non-blocking stream would have blocked. Special return code!
 2002|       |           Being paranoid we reset errno in case it is changed by code
 2003|       |           triggered by a decref.  errno is used by _set_BlockingIOError(). */
 2004|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2005|      0|        errno = errnum;
 2006|      0|        return -2;
 2007|      0|    }
 2008|  4.35k|    n = PyNumber_AsSsize_t(res, PyExc_ValueError);
 2009|  4.35k|    Py_DECREF(res);
  ------------------
  |  |  430|  4.35k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.35k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.35k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2010|  4.35k|    if (n < 0 || n > len) {
  ------------------
  |  Branch (2010:9): [True: 0, False: 4.35k]
  |  Branch (2010:18): [True: 0, False: 4.35k]
  ------------------
 2011|      0|        PyErr_Format(PyExc_OSError,
 2012|      0|                     "raw write() returned invalid length %zd "
 2013|      0|                     "(should have been between 0 and %zd)", n, len);
 2014|      0|        return -1;
 2015|      0|    }
 2016|  4.35k|    if (n > 0 && self->abs_pos != -1)
  ------------------
  |  Branch (2016:9): [True: 4.35k, False: 0]
  |  Branch (2016:18): [True: 4.35k, False: 0]
  ------------------
 2017|  4.35k|        self->abs_pos += n;
 2018|  4.35k|    return n;
 2019|  4.35k|}
bufferedio.c:_bufferedwriter_reset_buf:
 1924|  4.41k|{
 1925|  4.41k|    self->write_pos = 0;
 1926|  4.41k|    self->write_end = -1;
 1927|  4.41k|}
bufferedio.c:_bufferedreader_reset_buf:
 1577|  7.99k|{
 1578|  7.99k|    self->read_end = -1;
 1579|  7.99k|}
bufferedio.c:_bufferedreader_fill_buffer:
 1672|     13|{
 1673|     13|    Py_ssize_t start, len, n;
 1674|     13|    if (VALID_READ_BUFFER(self))
  ------------------
  |  |  385|     13|    (self->readable && self->read_end != -1)
  |  |  ------------------
  |  |  |  Branch (385:6): [True: 13, False: 0]
  |  |  |  Branch (385:24): [True: 8, False: 5]
  |  |  ------------------
  ------------------
 1675|      8|        start = Py_SAFE_DOWNCAST(self->read_end, Py_off_t, Py_ssize_t);
  ------------------
  |  |  247|      8|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  ------------------
  |  |  |  |   34|      8|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1676|      5|    else
 1677|      5|        start = 0;
 1678|     13|    len = self->buffer_size - start;
 1679|     13|    n = _bufferedreader_raw_read(self, self->buffer + start, len);
 1680|     13|    if (n <= 0)
  ------------------
  |  Branch (1680:9): [True: 6, False: 7]
  ------------------
 1681|      6|        return n;
 1682|      7|    self->read_end = start + n;
 1683|      7|    self->raw_pos = start + n;
 1684|      7|    return n;
 1685|     13|}
bufferedio.c:_bufferedreader_raw_read:
 1622|     18|{
 1623|     18|    Py_buffer buf;
 1624|     18|    PyObject *memobj, *res;
 1625|     18|    Py_ssize_t n;
 1626|       |    /* NOTE: the buffer needn't be released as its object is NULL. */
 1627|     18|    if (PyBuffer_FillInfo(&buf, NULL, start, len, 0, PyBUF_CONTIG) == -1)
  ------------------
  |  |  124|     18|#define PyBUF_CONTIG (PyBUF_ND | PyBUF_WRITABLE)
  |  |  ------------------
  |  |  |  |  117|     18|#define PyBUF_ND 0x0008
  |  |  ------------------
  |  |               #define PyBUF_CONTIG (PyBUF_ND | PyBUF_WRITABLE)
  |  |  ------------------
  |  |  |  |  109|     18|#define PyBUF_WRITABLE 0x0001
  |  |  ------------------
  ------------------
  |  Branch (1627:9): [True: 0, False: 18]
  ------------------
 1628|      0|        return -1;
 1629|     18|    memobj = PyMemoryView_FromBuffer(&buf);
 1630|     18|    if (memobj == NULL)
  ------------------
  |  Branch (1630:9): [True: 0, False: 18]
  ------------------
 1631|      0|        return -1;
 1632|       |    /* NOTE: PyErr_SetFromErrno() calls PyErr_CheckSignals() when EINTR
 1633|       |       occurs so we needn't do it ourselves.
 1634|       |       We then retry reading, ignoring the signal if no handler has
 1635|       |       raised (see issue #10956).
 1636|       |    */
 1637|     18|    do {
 1638|     18|        res = PyObject_CallMethodOneArg(self->raw, &_Py_ID(readinto), memobj);
  ------------------
  |  |  915|     18|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     18|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     18|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1639|     18|    } while (res == NULL && _PyIO_trap_eintr());
  ------------------
  |  Branch (1639:14): [True: 0, False: 18]
  |  Branch (1639:29): [True: 0, False: 0]
  ------------------
 1640|     18|    Py_DECREF(memobj);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1641|     18|    if (res == NULL)
  ------------------
  |  Branch (1641:9): [True: 0, False: 18]
  ------------------
 1642|      0|        return -1;
 1643|     18|    if (res == Py_None) {
  ------------------
  |  |  616|     18|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1643:9): [True: 0, False: 18]
  ------------------
 1644|       |        /* Non-blocking stream would have blocked. Special return code! */
 1645|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1646|      0|        return -2;
 1647|      0|    }
 1648|     18|    n = PyNumber_AsSsize_t(res, PyExc_ValueError);
 1649|     18|    Py_DECREF(res);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1650|       |
 1651|     18|    if (n == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1651:9): [True: 0, False: 18]
  |  Branch (1651:20): [True: 0, False: 0]
  ------------------
 1652|      0|        _PyErr_FormatFromCause(
 1653|      0|            PyExc_OSError,
 1654|      0|            "raw readinto() failed"
 1655|      0|        );
 1656|      0|        return -1;
 1657|      0|    }
 1658|       |
 1659|     18|    if (n < 0 || n > len) {
  ------------------
  |  Branch (1659:9): [True: 0, False: 18]
  |  Branch (1659:18): [True: 0, False: 18]
  ------------------
 1660|      0|        PyErr_Format(PyExc_OSError,
 1661|      0|                     "raw readinto() returned invalid length %zd "
 1662|      0|                     "(should have been between 0 and %zd)", n, len);
 1663|      0|        return -1;
 1664|      0|    }
 1665|     18|    if (n > 0 && self->abs_pos != -1)
  ------------------
  |  Branch (1665:9): [True: 7, False: 11]
  |  Branch (1665:18): [True: 7, False: 0]
  ------------------
 1666|      7|        self->abs_pos += n;
 1667|     18|    return n;
 1668|     18|}
bufferedio.c:_io__Buffered_simple_flush_impl:
  515|  4.00k|{
  516|  4.00k|    CHECK_INITIALIZED(self)
  ------------------
  |  |  341|  4.00k|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (341:9): [True: 0, False: 4.00k]
  |  |  ------------------
  |  |  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|  4.00k|    return PyObject_CallMethodNoArgs(self->raw, &_Py_ID(flush));
  ------------------
  |  |  915|  4.00k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.00k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.00k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  518|  4.00k|}
bufferedio.c:_io__Buffered_close_impl:
  556|  4.04k|{
  557|  4.04k|    PyObject *res = NULL;
  558|  4.04k|    int r;
  559|       |
  560|  4.04k|    CHECK_INITIALIZED(self)
  ------------------
  |  |  341|  4.04k|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (341:9): [True: 0, False: 4.04k]
  |  |  ------------------
  |  |  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|  4.04k|    if (!ENTER_BUFFERED(self)) {
  ------------------
  |  |  330|  4.04k|    ( (PyThread_acquire_lock(self->lock, 0) ? \
  |  |  ------------------
  |  |  |  Branch (330:7): [True: 4.04k, False: 0]
  |  |  |  Branch (330:8): [True: 4.04k, False: 0]
  |  |  ------------------
  |  |  331|  4.04k|       1 : _enter_buffered_busy(self)) \
  |  |  332|  4.04k|     && (self->owner = PyThread_get_thread_ident(), 1) )
  |  |  ------------------
  |  |  |  Branch (332:9): [True: 4.04k, False: 0]
  |  |  ------------------
  ------------------
  562|      0|        return NULL;
  563|      0|    }
  564|       |    /* gh-138720: Use IS_CLOSED to match flush CHECK_CLOSED. */
  565|  4.04k|    r = IS_CLOSED(self);
  ------------------
  |  |  365|  4.04k|    (!self->buffer ? 1 : \
  |  |  ------------------
  |  |  |  Branch (365:6): [True: 0, False: 4.04k]
  |  |  ------------------
  |  |  366|  4.04k|    (self->fast_closed_checks \
  |  |  ------------------
  |  |  |  Branch (366:6): [True: 4.04k, False: 5]
  |  |  ------------------
  |  |  367|  4.04k|     ? _PyFileIO_closed(self->raw) \
  |  |  368|  4.04k|     : buffered_closed(self)))
  ------------------
  566|  4.04k|    if (r < 0)
  ------------------
  |  Branch (566:9): [True: 0, False: 4.04k]
  ------------------
  567|      0|        goto end;
  568|  4.04k|    if (r > 0) {
  ------------------
  |  Branch (568:9): [True: 0, False: 4.04k]
  ------------------
  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|  4.04k|    if (self->finalizing) {
  ------------------
  |  Branch (573:9): [True: 3, False: 4.04k]
  ------------------
  574|      3|        PyObject *r = _io__Buffered__dealloc_warn_impl(self, (PyObject *)self);
  575|      3|        if (r)
  ------------------
  |  Branch (575:13): [True: 3, False: 0]
  ------------------
  576|      3|            Py_DECREF(r);
  ------------------
  |  |  430|      3|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  577|      0|        else
  578|      0|            PyErr_Clear();
  579|      3|    }
  580|       |    /* flush() will most probably re-take the lock, so drop it first */
  581|  4.04k|    LEAVE_BUFFERED(self)
  ------------------
  |  |  335|  4.04k|    do { \
  |  |  336|  4.04k|        self->owner = 0; \
  |  |  337|  4.04k|        PyThread_release_lock(self->lock); \
  |  |  338|  4.04k|    } while(0);
  |  |  ------------------
  |  |  |  Branch (338:13): [Folded, False: 4.04k]
  |  |  ------------------
  ------------------
  582|  4.04k|    r = _PyFile_Flush((PyObject *)self);
  583|  4.04k|    if (!ENTER_BUFFERED(self)) {
  ------------------
  |  |  330|  4.04k|    ( (PyThread_acquire_lock(self->lock, 0) ? \
  |  |  ------------------
  |  |  |  Branch (330:7): [True: 4.04k, False: 0]
  |  |  |  Branch (330:8): [True: 4.04k, False: 0]
  |  |  ------------------
  |  |  331|  4.04k|       1 : _enter_buffered_busy(self)) \
  |  |  332|  4.04k|     && (self->owner = PyThread_get_thread_ident(), 1) )
  |  |  ------------------
  |  |  |  Branch (332:9): [True: 4.04k, False: 0]
  |  |  ------------------
  ------------------
  584|      0|        return NULL;
  585|      0|    }
  586|  4.04k|    PyObject *exc = NULL;
  587|  4.04k|    if (r < 0) {
  ------------------
  |  Branch (587:9): [True: 0, False: 4.04k]
  ------------------
  588|      0|        exc = PyErr_GetRaisedException();
  589|      0|    }
  590|       |
  591|  4.04k|    res = PyObject_CallMethodNoArgs(self->raw, &_Py_ID(close));
  ------------------
  |  |  915|  4.04k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.04k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.04k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  592|       |
  593|  4.04k|    if (self->buffer) {
  ------------------
  |  Branch (593:9): [True: 4.04k, False: 0]
  ------------------
  594|  4.04k|        PyMem_Free(self->buffer);
  595|  4.04k|        self->buffer = NULL;
  596|  4.04k|    }
  597|       |
  598|  4.04k|    if (exc != NULL) {
  ------------------
  |  Branch (598:9): [True: 0, False: 4.04k]
  ------------------
  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|  4.04k|    self->read_end = 0;
  604|  4.04k|    self->pos = 0;
  605|       |
  606|  4.04k|end:
  607|  4.04k|    LEAVE_BUFFERED(self)
  ------------------
  |  |  335|  4.04k|    do { \
  |  |  336|  4.04k|        self->owner = 0; \
  |  |  337|  4.04k|        PyThread_release_lock(self->lock); \
  |  |  338|  4.04k|    } while(0);
  |  |  ------------------
  |  |  |  Branch (338:13): [Folded, False: 4.04k]
  |  |  ------------------
  ------------------
  608|  4.04k|    return res;
  609|  4.04k|}
bufferedio.c:_io__Buffered__dealloc_warn_impl:
  488|      3|{
  489|      3|    if (self->ok && self->raw) {
  ------------------
  |  Branch (489:9): [True: 3, False: 0]
  |  Branch (489:21): [True: 3, False: 0]
  ------------------
  490|      3|        PyObject *r;
  491|      3|        r = PyObject_CallMethodOneArg(self->raw, &_Py_ID(_dealloc_warn), source);
  ------------------
  |  |  915|      3|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      3|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      3|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  492|      3|        if (r)
  ------------------
  |  Branch (492:13): [True: 0, False: 3]
  ------------------
  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|      3|        else
  495|      3|            PyErr_Clear();
  496|      3|    }
  497|      3|    Py_RETURN_NONE;
  ------------------
  |  |  628|      3|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      3|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  498|      3|}
bufferedio.c:_io__Buffered_seekable_impl:
  642|     16|{
  643|     16|    CHECK_INITIALIZED(self)
  ------------------
  |  |  341|     16|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (341:9): [True: 0, False: 16]
  |  |  ------------------
  |  |  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|     16|    return PyObject_CallMethodNoArgs(self->raw, &_Py_ID(seekable));
  ------------------
  |  |  915|     16|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     16|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     16|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  645|     16|}
bufferedio.c:_io__Buffered_readable_impl:
  655|     11|{
  656|     11|    CHECK_INITIALIZED(self)
  ------------------
  |  |  341|     11|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (341:9): [True: 0, False: 11]
  |  |  ------------------
  |  |  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|     11|    return PyObject_CallMethodNoArgs(self->raw, &_Py_ID(readable));
  ------------------
  |  |  915|     11|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     11|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     11|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  658|     11|}
bufferedio.c:_io__Buffered_read_impl:
  994|  4.02k|{
  995|  4.02k|    PyObject *res;
  996|       |
  997|  4.02k|    CHECK_INITIALIZED(self)
  ------------------
  |  |  341|  4.02k|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (341:9): [True: 0, False: 4.02k]
  |  |  ------------------
  |  |  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|  4.02k|    if (n < -1) {
  ------------------
  |  Branch (998:9): [True: 0, False: 4.02k]
  ------------------
  999|      0|        PyErr_SetString(PyExc_ValueError,
 1000|      0|                        "read length must be non-negative or -1");
 1001|      0|        return NULL;
 1002|      0|    }
 1003|       |
 1004|  4.02k|    CHECK_CLOSED(self, "read of closed file")
  ------------------
  |  |  371|  4.02k|    do { \
  |  |  372|  4.02k|        int _closed = IS_CLOSED(self); \
  |  |  ------------------
  |  |  |  |  365|  4.02k|    (!self->buffer ? 1 : \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (365:6): [True: 0, False: 4.02k]
  |  |  |  |  ------------------
  |  |  |  |  366|  4.02k|    (self->fast_closed_checks \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (366:6): [True: 4.01k, False: 2]
  |  |  |  |  ------------------
  |  |  |  |  367|  4.02k|     ? _PyFileIO_closed(self->raw) \
  |  |  |  |  368|  4.02k|     : buffered_closed(self)))
  |  |  ------------------
  |  |  373|  4.02k|        if (_closed < 0) { \
  |  |  ------------------
  |  |  |  Branch (373:13): [True: 0, False: 4.02k]
  |  |  ------------------
  |  |  374|      0|            return NULL; \
  |  |  375|      0|        } \
  |  |  376|  4.02k|        if (_closed && \
  |  |  ------------------
  |  |  |  Branch (376:13): [True: 0, False: 4.02k]
  |  |  ------------------
  |  |  377|  4.02k|            (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.02k|        { \
  |  |  379|      0|            PyErr_SetString(PyExc_ValueError, error_msg); \
  |  |  380|      0|            return NULL; \
  |  |  381|      0|        } \
  |  |  382|  4.02k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (382:14): [Folded, False: 4.02k]
  |  |  ------------------
  ------------------
 1005|       |
 1006|  4.02k|    if (n == -1) {
  ------------------
  |  Branch (1006:9): [True: 3.98k, False: 34]
  ------------------
 1007|       |        /* The number of bytes is unspecified, read until the end of stream */
 1008|  3.98k|        if (!ENTER_BUFFERED(self))
  ------------------
  |  |  330|  3.98k|    ( (PyThread_acquire_lock(self->lock, 0) ? \
  |  |  ------------------
  |  |  |  Branch (330:7): [True: 3.98k, False: 0]
  |  |  |  Branch (330:8): [True: 3.98k, False: 0]
  |  |  ------------------
  |  |  331|  3.98k|       1 : _enter_buffered_busy(self)) \
  |  |  332|  3.98k|     && (self->owner = PyThread_get_thread_ident(), 1) )
  |  |  ------------------
  |  |  |  Branch (332:9): [True: 3.98k, False: 0]
  |  |  ------------------
  ------------------
 1009|      0|            return NULL;
 1010|  3.98k|        res = _bufferedreader_read_all(self);
 1011|  3.98k|    }
 1012|     34|    else {
 1013|     34|        res = _bufferedreader_read_fast(self, n);
 1014|     34|        if (res != Py_None)
  ------------------
  |  |  616|     34|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1014:13): [True: 26, False: 8]
  ------------------
 1015|     26|            return res;
 1016|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1017|      8|        if (!ENTER_BUFFERED(self))
  ------------------
  |  |  330|      8|    ( (PyThread_acquire_lock(self->lock, 0) ? \
  |  |  ------------------
  |  |  |  Branch (330:7): [True: 8, False: 0]
  |  |  |  Branch (330:8): [True: 8, False: 0]
  |  |  ------------------
  |  |  331|      8|       1 : _enter_buffered_busy(self)) \
  |  |  332|      8|     && (self->owner = PyThread_get_thread_ident(), 1) )
  |  |  ------------------
  |  |  |  Branch (332:9): [True: 8, False: 0]
  |  |  ------------------
  ------------------
 1018|      0|            return NULL;
 1019|      8|        res = _bufferedreader_read_generic(self, n);
 1020|      8|    }
 1021|       |
 1022|  3.99k|    LEAVE_BUFFERED(self)
  ------------------
  |  |  335|  3.99k|    do { \
  |  |  336|  3.99k|        self->owner = 0; \
  |  |  337|  3.99k|        PyThread_release_lock(self->lock); \
  |  |  338|  3.99k|    } while(0);
  |  |  ------------------
  |  |  |  Branch (338:13): [Folded, False: 3.99k]
  |  |  ------------------
  ------------------
 1023|  3.99k|    return res;
 1024|  4.02k|}
bufferedio.c:_bufferedreader_read_all:
 1689|  3.98k|{
 1690|  3.98k|    Py_ssize_t current_size;
 1691|  3.98k|    PyObject *res = NULL, *data = NULL, *tmp = NULL, *chunks = NULL, *readall;
 1692|       |
 1693|       |    /* First copy what we have in the current buffer. */
 1694|  3.98k|    current_size = Py_SAFE_DOWNCAST(READAHEAD(self), Py_off_t, Py_ssize_t);
  ------------------
  |  |  247|  3.98k|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  ------------------
  |  |  |  |   34|  23.9k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:47): [True: 3.98k, False: 0]
  |  |  |  |  |  Branch (34:47): [True: 0, False: 3.98k]
  |  |  |  |  |  Branch (34:47): [True: 3.98k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1695|  3.98k|    if (current_size) {
  ------------------
  |  Branch (1695:9): [True: 0, False: 3.98k]
  ------------------
 1696|      0|        data = PyBytes_FromStringAndSize(
 1697|      0|            self->buffer + self->pos, current_size);
 1698|      0|        if (data == NULL)
  ------------------
  |  Branch (1698:13): [True: 0, False: 0]
  ------------------
 1699|      0|            return NULL;
 1700|      0|        self->pos += current_size;
 1701|      0|    }
 1702|       |    /* We're going past the buffer's bounds, flush it */
 1703|  3.98k|    if (self->writable) {
  ------------------
  |  Branch (1703:9): [True: 0, False: 3.98k]
  ------------------
 1704|      0|        tmp = buffered_flush_and_rewind_unlocked(self);
 1705|      0|        if (tmp == NULL)
  ------------------
  |  Branch (1705:13): [True: 0, False: 0]
  ------------------
 1706|      0|            goto cleanup;
 1707|      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]
  |  |  ------------------
  ------------------
 1708|      0|    }
 1709|  3.98k|    _bufferedreader_reset_buf(self);
 1710|       |
 1711|  3.98k|    if (PyObject_GetOptionalAttr(self->raw, &_Py_ID(readall), &readall) < 0) {
  ------------------
  |  |  915|  3.98k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  3.98k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  3.98k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1711:9): [True: 0, False: 3.98k]
  ------------------
 1712|      0|        goto cleanup;
 1713|      0|    }
 1714|  3.98k|    if (readall) {
  ------------------
  |  Branch (1714:9): [True: 3.98k, False: 0]
  ------------------
 1715|  3.98k|        tmp = _PyObject_CallNoArgs(readall);
 1716|  3.98k|        Py_DECREF(readall);
  ------------------
  |  |  430|  3.98k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.98k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.98k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1717|  3.98k|        if (tmp == NULL)
  ------------------
  |  Branch (1717:13): [True: 0, False: 3.98k]
  ------------------
 1718|      0|            goto cleanup;
 1719|  3.98k|        if (tmp != Py_None && !PyBytes_Check(tmp)) {
  ------------------
  |  |  616|  7.97k|#  define Py_None (&_Py_NoneStruct)
  ------------------
                      if (tmp != Py_None && !PyBytes_Check(tmp)) {
  ------------------
  |  |   28|  3.98k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  3.98k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1719:13): [True: 3.98k, False: 0]
  |  Branch (1719:31): [True: 0, False: 3.98k]
  ------------------
 1720|      0|            PyErr_SetString(PyExc_TypeError, "readall() should return bytes");
 1721|      0|            goto cleanup;
 1722|      0|        }
 1723|  3.98k|        if (current_size == 0) {
  ------------------
  |  Branch (1723:13): [True: 3.98k, False: 0]
  ------------------
 1724|  3.98k|            res = tmp;
 1725|  3.98k|        } else {
 1726|      0|            if (tmp != Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1726:17): [True: 0, False: 0]
  ------------------
 1727|      0|                PyBytes_Concat(&data, tmp);
 1728|      0|            }
 1729|      0|            res = data;
 1730|      0|        }
 1731|  3.98k|        goto cleanup;
 1732|  3.98k|    }
 1733|       |
 1734|      0|    chunks = PyList_New(0);
 1735|      0|    if (chunks == NULL)
  ------------------
  |  Branch (1735:9): [True: 0, False: 0]
  ------------------
 1736|      0|        goto cleanup;
 1737|       |
 1738|      0|    while (1) {
  ------------------
  |  Branch (1738:12): [True: 0, Folded]
  ------------------
 1739|      0|        if (data) {
  ------------------
  |  Branch (1739:13): [True: 0, False: 0]
  ------------------
 1740|      0|            if (PyList_Append(chunks, data) < 0)
  ------------------
  |  Branch (1740:17): [True: 0, False: 0]
  ------------------
 1741|      0|                goto cleanup;
 1742|      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]
  |  |  ------------------
  ------------------
 1743|      0|        }
 1744|       |
 1745|       |        /* Read until EOF or until read() would block. */
 1746|      0|        data = PyObject_CallMethodNoArgs(self->raw, &_Py_ID(read));
  ------------------
  |  |  915|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1747|      0|        if (data == NULL)
  ------------------
  |  Branch (1747:13): [True: 0, False: 0]
  ------------------
 1748|      0|            goto cleanup;
 1749|      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 (1749:13): [True: 0, False: 0]
  |  Branch (1749:32): [True: 0, False: 0]
  ------------------
 1750|      0|            PyErr_SetString(PyExc_TypeError, "read() should return bytes");
 1751|      0|            goto cleanup;
 1752|      0|        }
 1753|      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 (1753:13): [True: 0, False: 0]
  |  Branch (1753:32): [True: 0, False: 0]
  ------------------
 1754|      0|            if (current_size == 0) {
  ------------------
  |  Branch (1754:17): [True: 0, False: 0]
  ------------------
 1755|      0|                res = data;
 1756|      0|                goto cleanup;
 1757|      0|            }
 1758|      0|            else {
 1759|      0|                tmp = PyBytes_Join((PyObject *)&_Py_SINGLETON(bytes_empty), chunks);
  ------------------
  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
 1760|      0|                res = tmp;
 1761|      0|                goto cleanup;
 1762|      0|            }
 1763|      0|        }
 1764|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1765|      0|        if (self->abs_pos != -1)
  ------------------
  |  Branch (1765:13): [True: 0, False: 0]
  ------------------
 1766|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1767|      0|    }
 1768|  3.98k|cleanup:
 1769|       |    /* res is either NULL or a borrowed ref */
 1770|  3.98k|    Py_XINCREF(res);
  ------------------
  |  |  514|  3.98k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.98k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.98k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1771|  3.98k|    Py_XDECREF(data);
  ------------------
  |  |  524|  3.98k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.98k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.98k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1772|  3.98k|    Py_XDECREF(tmp);
  ------------------
  |  |  524|  3.98k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.98k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.98k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1773|  3.98k|    Py_XDECREF(chunks);
  ------------------
  |  |  524|  3.98k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.98k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.98k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1774|  3.98k|    return res;
 1775|      0|}
bufferedio.c:_bufferedreader_read_fast:
 1781|     88|{
 1782|     88|    Py_ssize_t current_size;
 1783|       |
 1784|     88|    current_size = Py_SAFE_DOWNCAST(READAHEAD(self), Py_off_t, Py_ssize_t);
  ------------------
  |  |  247|     88|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  ------------------
  |  |  |  |   34|    528|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:47): [True: 88, False: 0]
  |  |  |  |  |  Branch (34:47): [True: 86, False: 2]
  |  |  |  |  |  Branch (34:47): [True: 88, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1785|     88|    if (n <= current_size) {
  ------------------
  |  Branch (1785:9): [True: 80, False: 8]
  ------------------
 1786|       |        /* Fast path: the data to read is fully buffered. */
 1787|     80|        PyObject *res = PyBytes_FromStringAndSize(self->buffer + self->pos, n);
 1788|     80|        if (res != NULL)
  ------------------
  |  Branch (1788:13): [True: 80, False: 0]
  ------------------
 1789|     80|            self->pos += n;
 1790|     80|        return res;
 1791|     80|    }
 1792|      8|    Py_RETURN_NONE;
  ------------------
  |  |  628|      8|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      8|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1793|     88|}
bufferedio.c:_bufferedreader_read_generic:
 1800|      8|{
 1801|      8|    Py_ssize_t current_size, remaining, written;
 1802|       |
 1803|      8|    current_size = 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: 6, False: 2]
  |  |  |  |  |  Branch (34:47): [True: 8, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1804|      8|    if (n <= current_size)
  ------------------
  |  Branch (1804:9): [True: 0, False: 8]
  ------------------
 1805|      0|        return _bufferedreader_read_fast(self, n);
 1806|       |
 1807|      8|    PyBytesWriter *writer = PyBytesWriter_Create(n);
 1808|      8|    if (writer == NULL) {
  ------------------
  |  Branch (1808:9): [True: 0, False: 8]
  ------------------
 1809|      0|        goto error;
 1810|      0|    }
 1811|      8|    char *out = PyBytesWriter_GetData(writer);
 1812|       |
 1813|      8|    remaining = n;
 1814|      8|    written = 0;
 1815|      8|    if (current_size > 0) {
  ------------------
  |  Branch (1815:9): [True: 2, False: 6]
  ------------------
 1816|      2|        memcpy(out, self->buffer + self->pos, current_size);
 1817|      2|        remaining -= current_size;
 1818|      2|        written += current_size;
 1819|      2|        self->pos += current_size;
 1820|      2|    }
 1821|       |    /* Flush the write buffer if necessary */
 1822|      8|    if (self->writable) {
  ------------------
  |  Branch (1822:9): [True: 0, False: 8]
  ------------------
 1823|      0|        PyObject *r = buffered_flush_and_rewind_unlocked(self);
 1824|      0|        if (r == NULL)
  ------------------
  |  Branch (1824:13): [True: 0, False: 0]
  ------------------
 1825|      0|            goto error;
 1826|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1827|      0|    }
 1828|      8|    _bufferedreader_reset_buf(self);
 1829|      8|    while (remaining > 0) {
  ------------------
  |  Branch (1829:12): [True: 8, False: 0]
  ------------------
 1830|       |        /* We want to read a whole block at the end into buffer.
 1831|       |           If we had readv() we could do this in one pass. */
 1832|      8|        Py_ssize_t r = MINUS_LAST_BLOCK(self, remaining);
  ------------------
  |  |  409|      8|    (self->buffer_mask ? \
  |  |  ------------------
  |  |  |  Branch (409:6): [True: 8, False: 0]
  |  |  ------------------
  |  |  410|      8|        (size & ~self->buffer_mask) : \
  |  |  411|      8|        (self->buffer_size * (size / self->buffer_size)))
  ------------------
 1833|      8|        if (r == 0)
  ------------------
  |  Branch (1833:13): [True: 8, False: 0]
  ------------------
 1834|      8|            break;
 1835|      0|        r = _bufferedreader_raw_read(self, out + written, r);
 1836|      0|        if (r == -1)
  ------------------
  |  Branch (1836:13): [True: 0, False: 0]
  ------------------
 1837|      0|            goto error;
 1838|      0|        if (r == 0 || r == -2) {
  ------------------
  |  Branch (1838:13): [True: 0, False: 0]
  |  Branch (1838:23): [True: 0, False: 0]
  ------------------
 1839|       |            /* EOF occurred or read() would block. */
 1840|      0|            if (r == 0 || written > 0) {
  ------------------
  |  Branch (1840:17): [True: 0, False: 0]
  |  Branch (1840:27): [True: 0, False: 0]
  ------------------
 1841|      0|                return PyBytesWriter_FinishWithSize(writer, written);
 1842|      0|            }
 1843|      0|            PyBytesWriter_Discard(writer);
 1844|      0|            Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1845|      0|        }
 1846|      0|        remaining -= r;
 1847|      0|        written += r;
 1848|      0|    }
 1849|      8|    assert(remaining <= self->buffer_size);
 1850|      8|    self->pos = 0;
 1851|      8|    self->raw_pos = 0;
 1852|      8|    self->read_end = 0;
 1853|       |    /* NOTE: when the read is satisfied, we avoid issuing any additional
 1854|       |       reads, which could block indefinitely (e.g. on a socket).
 1855|       |       See issue #9550. */
 1856|      8|    while (remaining > 0 && self->read_end < self->buffer_size) {
  ------------------
  |  Branch (1856:12): [True: 8, False: 0]
  |  Branch (1856:29): [True: 8, False: 0]
  ------------------
 1857|      8|        Py_ssize_t r = _bufferedreader_fill_buffer(self);
 1858|      8|        if (r == -1)
  ------------------
  |  Branch (1858:13): [True: 0, False: 8]
  ------------------
 1859|      0|            goto error;
 1860|      8|        if (r == 0 || r == -2) {
  ------------------
  |  Branch (1860:13): [True: 6, False: 2]
  |  Branch (1860:23): [True: 0, False: 2]
  ------------------
 1861|       |            /* EOF occurred or read() would block. */
 1862|      6|            if (r == 0 || written > 0) {
  ------------------
  |  Branch (1862:17): [True: 6, False: 0]
  |  Branch (1862:27): [True: 0, False: 0]
  ------------------
 1863|      6|                return PyBytesWriter_FinishWithSize(writer, written);
 1864|      6|            }
 1865|      0|            PyBytesWriter_Discard(writer);
 1866|      0|            Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1867|      6|        }
 1868|      2|        if (remaining > r) {
  ------------------
  |  Branch (1868:13): [True: 0, False: 2]
  ------------------
 1869|      0|            memcpy(out + written, self->buffer + self->pos, r);
 1870|      0|            written += r;
 1871|      0|            self->pos += r;
 1872|      0|            remaining -= r;
 1873|      0|        }
 1874|      2|        else if (remaining > 0) {
  ------------------
  |  Branch (1874:18): [True: 2, False: 0]
  ------------------
 1875|      2|            memcpy(out + written, self->buffer + self->pos, remaining);
 1876|      2|            written += remaining;
 1877|      2|            self->pos += remaining;
 1878|      2|            remaining = 0;
 1879|      2|        }
 1880|      2|        if (remaining == 0)
  ------------------
  |  Branch (1880:13): [True: 2, False: 0]
  ------------------
 1881|      2|            break;
 1882|      2|    }
 1883|       |
 1884|      2|    return PyBytesWriter_Finish(writer);
 1885|       |
 1886|      0|error:
 1887|      0|    PyBytesWriter_Discard(writer);
 1888|       |    return NULL;
 1889|      8|}
bufferedio.c:_io__Buffered_read1_impl:
 1036|     59|{
 1037|     59|    CHECK_INITIALIZED(self)
  ------------------
  |  |  341|     59|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (341:9): [True: 0, False: 59]
  |  |  ------------------
  |  |  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|     59|    if (n < 0) {
  ------------------
  |  Branch (1038:9): [True: 0, False: 59]
  ------------------
 1039|      0|        n = self->buffer_size;
 1040|      0|    }
 1041|       |
 1042|     59|    CHECK_CLOSED(self, "read of closed file")
  ------------------
  |  |  371|     59|    do { \
  |  |  372|     59|        int _closed = IS_CLOSED(self); \
  |  |  ------------------
  |  |  |  |  365|     59|    (!self->buffer ? 1 : \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (365:6): [True: 0, False: 59]
  |  |  |  |  ------------------
  |  |  |  |  366|     59|    (self->fast_closed_checks \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (366:6): [True: 59, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  367|     59|     ? _PyFileIO_closed(self->raw) \
  |  |  |  |  368|     59|     : buffered_closed(self)))
  |  |  ------------------
  |  |  373|     59|        if (_closed < 0) { \
  |  |  ------------------
  |  |  |  Branch (373:13): [True: 0, False: 59]
  |  |  ------------------
  |  |  374|      0|            return NULL; \
  |  |  375|      0|        } \
  |  |  376|     59|        if (_closed && \
  |  |  ------------------
  |  |  |  Branch (376:13): [True: 0, False: 59]
  |  |  ------------------
  |  |  377|     59|            (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|     59|        { \
  |  |  379|      0|            PyErr_SetString(PyExc_ValueError, error_msg); \
  |  |  380|      0|            return NULL; \
  |  |  381|      0|        } \
  |  |  382|     59|    } while (0);
  |  |  ------------------
  |  |  |  Branch (382:14): [Folded, False: 59]
  |  |  ------------------
  ------------------
 1043|       |
 1044|     59|    if (n == 0) {
  ------------------
  |  Branch (1044:9): [True: 0, False: 59]
  ------------------
 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|     59|    Py_ssize_t have = Py_SAFE_DOWNCAST(READAHEAD(self), Py_off_t, Py_ssize_t);
  ------------------
  |  |  247|     59|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  ------------------
  |  |  |  |   34|    354|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (34:47): [True: 59, False: 0]
  |  |  |  |  |  Branch (34:47): [True: 59, False: 0]
  |  |  |  |  |  Branch (34:47): [True: 59, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1052|     59|    if (have > 0) {
  ------------------
  |  Branch (1052:9): [True: 54, False: 5]
  ------------------
 1053|     54|        n = Py_MIN(have, n);
  ------------------
  |  |  112|     54|#define Py_MIN(x, y) (((x) > (y)) ? (y) : (x))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 49, False: 5]
  |  |  ------------------
  ------------------
 1054|     54|        PyObject *res = _bufferedreader_read_fast(self, n);
 1055|     54|        assert(res != Py_None);
 1056|     54|        return res;
 1057|     54|    }
 1058|       |
 1059|      5|    if (!ENTER_BUFFERED(self)) {
  ------------------
  |  |  330|      5|    ( (PyThread_acquire_lock(self->lock, 0) ? \
  |  |  ------------------
  |  |  |  Branch (330:7): [True: 5, False: 0]
  |  |  |  Branch (330:8): [True: 5, False: 0]
  |  |  ------------------
  |  |  331|      5|       1 : _enter_buffered_busy(self)) \
  |  |  332|      5|     && (self->owner = PyThread_get_thread_ident(), 1) )
  |  |  ------------------
  |  |  |  Branch (332:9): [True: 5, False: 0]
  |  |  ------------------
  ------------------
 1060|      0|        return NULL;
 1061|      0|    }
 1062|       |
 1063|       |    /* Flush the write buffer if necessary */
 1064|      5|    if (self->writable) {
  ------------------
  |  Branch (1064:9): [True: 0, False: 5]
  ------------------
 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|      5|    _bufferedreader_reset_buf(self);
 1073|       |
 1074|      5|    PyBytesWriter *writer = PyBytesWriter_Create(n);
 1075|      5|    if (writer == NULL) {
  ------------------
  |  Branch (1075:9): [True: 0, False: 5]
  ------------------
 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|      5|    Py_ssize_t r = _bufferedreader_raw_read(self,
 1081|      5|                                            PyBytesWriter_GetData(writer), n);
 1082|      5|    LEAVE_BUFFERED(self)
  ------------------
  |  |  335|      5|    do { \
  |  |  336|      5|        self->owner = 0; \
  |  |  337|      5|        PyThread_release_lock(self->lock); \
  |  |  338|      5|    } while(0);
  |  |  ------------------
  |  |  |  Branch (338:13): [Folded, False: 5]
  |  |  ------------------
  ------------------
 1083|      5|    if (r == -1) {
  ------------------
  |  Branch (1083:9): [True: 0, False: 5]
  ------------------
 1084|      0|        PyBytesWriter_Discard(writer);
 1085|      0|        return NULL;
 1086|      0|    }
 1087|      5|    if (r == -2) {
  ------------------
  |  Branch (1087:9): [True: 0, False: 5]
  ------------------
 1088|      0|        r = 0;
 1089|      0|    }
 1090|       |
 1091|      5|    return PyBytesWriter_FinishWithSize(writer, r);
 1092|      5|}
bufferedio.c:_io__Buffered_readline_impl:
 1323|      9|{
 1324|      9|    CHECK_INITIALIZED(self)
  ------------------
  |  |  341|      9|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (341:9): [True: 0, False: 9]
  |  |  ------------------
  |  |  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|      9|    return _buffered_readline(self, size);
 1326|      9|}
bufferedio.c:_io__Buffered_seek_impl:
 1364|      5|{
 1365|      5|    Py_off_t target, n;
 1366|      5|    PyObject *res = NULL;
 1367|       |
 1368|      5|    CHECK_INITIALIZED(self)
  ------------------
  |  |  341|      5|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (341:9): [True: 0, False: 5]
  |  |  ------------------
  |  |  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|      5|    if ((whence < 0 || whence >2)
  ------------------
  |  Branch (1373:10): [True: 0, False: 5]
  |  Branch (1373:24): [True: 0, False: 5]
  ------------------
 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|      5|#endif
 1380|      5|        ) {
 1381|      0|        PyErr_Format(PyExc_ValueError,
 1382|      0|                     "whence value %d unsupported", whence);
 1383|      0|        return NULL;
 1384|      0|    }
 1385|       |
 1386|      5|    CHECK_CLOSED(self, "seek of closed file")
  ------------------
  |  |  371|      5|    do { \
  |  |  372|      5|        int _closed = IS_CLOSED(self); \
  |  |  ------------------
  |  |  |  |  365|      5|    (!self->buffer ? 1 : \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (365:6): [True: 0, False: 5]
  |  |  |  |  ------------------
  |  |  |  |  366|      5|    (self->fast_closed_checks \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (366:6): [True: 5, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  367|      5|     ? _PyFileIO_closed(self->raw) \
  |  |  |  |  368|      5|     : buffered_closed(self)))
  |  |  ------------------
  |  |  373|      5|        if (_closed < 0) { \
  |  |  ------------------
  |  |  |  Branch (373:13): [True: 0, False: 5]
  |  |  ------------------
  |  |  374|      0|            return NULL; \
  |  |  375|      0|        } \
  |  |  376|      5|        if (_closed && \
  |  |  ------------------
  |  |  |  Branch (376:13): [True: 0, False: 5]
  |  |  ------------------
  |  |  377|      5|            (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|      5|        { \
  |  |  379|      0|            PyErr_SetString(PyExc_ValueError, error_msg); \
  |  |  380|      0|            return NULL; \
  |  |  381|      0|        } \
  |  |  382|      5|    } while (0);
  |  |  ------------------
  |  |  |  Branch (382:14): [Folded, False: 5]
  |  |  ------------------
  ------------------
 1387|       |
 1388|      5|    _PyIO_State *state = find_io_state_by_def(Py_TYPE(self));
  ------------------
  |  |  213|      5|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1389|      5|    if (_PyIOBase_check_seekable(state, self->raw, Py_True) == NULL) {
  ------------------
  |  |   26|      5|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1389:9): [True: 0, False: 5]
  ------------------
 1390|      0|        return NULL;
 1391|      0|    }
 1392|       |
 1393|      5|    target = PyNumber_AsOff_t(targetobj, PyExc_ValueError);
 1394|      5|    if (target == -1 && PyErr_Occurred())
  ------------------
  |  Branch (1394:9): [True: 0, False: 5]
  |  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|      5|    if (((whence == 0) || (whence == 1)) && self->readable) {
  ------------------
  |  Branch (1401:10): [True: 5, False: 0]
  |  Branch (1401:27): [True: 0, False: 0]
  |  Branch (1401:45): [True: 5, False: 0]
  ------------------
 1402|      5|        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|      5|        current = RAW_TELL(self);
  ------------------
  |  |  406|      5|    (self->abs_pos != -1 ? self->abs_pos : _buffered_raw_tell(self))
  |  |  ------------------
  |  |  |  Branch (406:6): [True: 5, False: 0]
  |  |  ------------------
  ------------------
 1410|      5|        avail = READAHEAD(self);
  ------------------
  |  |  398|      5|    ((self->readable && VALID_READ_BUFFER(self)) \
  |  |  ------------------
  |  |  |  |  385|      5|    (self->readable && self->read_end != -1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (385:6): [True: 5, False: 0]
  |  |  |  |  |  Branch (385:24): [True: 5, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (398:7): [True: 5, False: 0]
  |  |  ------------------
  |  |  399|      5|        ? (self->read_end - self->pos) : 0)
  ------------------
 1411|      5|        if (avail > 0) {
  ------------------
  |  Branch (1411:13): [True: 5, False: 0]
  ------------------
 1412|      5|            Py_off_t offset;
 1413|      5|            if (whence == 0)
  ------------------
  |  Branch (1413:17): [True: 5, False: 0]
  ------------------
 1414|      5|                offset = target - (current - RAW_OFFSET(self));
  ------------------
  |  |  402|      5|    (((VALID_READ_BUFFER(self) || VALID_WRITE_BUFFER(self)) \
  |  |  ------------------
  |  |  |  |  385|     10|    (self->readable && self->read_end != -1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (385:6): [True: 5, False: 0]
  |  |  |  |  |  Branch (385:24): [True: 5, 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|      5|        && self->raw_pos >= 0) ? self->raw_pos - self->pos : 0)
  |  |  ------------------
  |  |  |  Branch (403:12): [True: 5, False: 0]
  |  |  ------------------
  ------------------
 1415|      0|            else
 1416|      0|                offset = target;
 1417|      5|            if (offset >= -self->pos && offset <= avail) {
  ------------------
  |  Branch (1417:17): [True: 5, False: 0]
  |  Branch (1417:41): [True: 5, False: 0]
  ------------------
 1418|      5|                self->pos += offset;
 1419|       |
 1420|       |                // GH-95782
 1421|      5|                if (current - avail + offset < 0)
  ------------------
  |  Branch (1421:21): [True: 0, False: 5]
  ------------------
 1422|      0|                    return PyLong_FromOff_t(0);
  ------------------
  |  |  112|      0|# define PyLong_FromOff_t   PyLong_FromSsize_t
  ------------------
 1423|       |
 1424|      5|                return PyLong_FromOff_t(current - avail + offset);
  ------------------
  |  |  112|      5|# define PyLong_FromOff_t   PyLong_FromSsize_t
  ------------------
 1425|      5|            }
 1426|      5|        }
 1427|      5|    }
 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|  4.05k|{
  786|  4.05k|    Py_off_t n;
  787|  4.05k|    PyObject *res;
  788|  4.05k|    res = PyObject_CallMethodNoArgs(self->raw, &_Py_ID(tell));
  ------------------
  |  |  915|  4.05k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.05k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.05k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  789|  4.05k|    if (res == NULL)
  ------------------
  |  Branch (789:9): [True: 3, False: 4.05k]
  ------------------
  790|      3|        return -1;
  791|  4.05k|    n = PyNumber_AsOff_t(res, PyExc_ValueError);
  792|  4.05k|    Py_DECREF(res);
  ------------------
  |  |  430|  4.05k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.05k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.05k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  793|  4.05k|    if (n < 0) {
  ------------------
  |  Branch (793:9): [True: 0, False: 4.05k]
  ------------------
  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|  4.05k|    self->abs_pos = n;
  801|  4.05k|    return n;
  802|  4.05k|}
bufferedio.c:_io__Buffered_tell_impl:
 1337|      5|{
 1338|      5|    Py_off_t pos;
 1339|       |
 1340|      5|    CHECK_INITIALIZED(self)
  ------------------
  |  |  341|      5|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (341:9): [True: 0, False: 5]
  |  |  ------------------
  |  |  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|      5|    pos = _buffered_raw_tell(self);
 1342|      5|    if (pos == -1)
  ------------------
  |  Branch (1342:9): [True: 0, False: 5]
  ------------------
 1343|      0|        return NULL;
 1344|      5|    pos -= RAW_OFFSET(self);
  ------------------
  |  |  402|      5|    (((VALID_READ_BUFFER(self) || VALID_WRITE_BUFFER(self)) \
  |  |  ------------------
  |  |  |  |  385|     10|    (self->readable && self->read_end != -1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (385:6): [True: 0, False: 5]
  |  |  |  |  |  Branch (385:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (((VALID_READ_BUFFER(self) || VALID_WRITE_BUFFER(self)) \
  |  |  ------------------
  |  |  |  |  388|      5|    (self->writable && self->write_end != -1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (388:6): [True: 5, False: 0]
  |  |  |  |  |  Branch (388:24): [True: 0, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  403|      5|        && self->raw_pos >= 0) ? self->raw_pos - self->pos : 0)
  |  |  ------------------
  |  |  |  Branch (403:12): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1345|       |
 1346|       |    // GH-95782
 1347|      5|    if (pos < 0)
  ------------------
  |  Branch (1347:9): [True: 0, False: 5]
  ------------------
 1348|      0|        pos = 0;
 1349|       |
 1350|      5|    return PyLong_FromOff_t(pos);
  ------------------
  |  |  112|      5|# define PyLong_FromOff_t   PyLong_FromSsize_t
  ------------------
 1351|      5|}
bufferedio.c:_io__Buffered_closed_get_impl:
  543|  8.11k|{
  544|  8.11k|    CHECK_INITIALIZED(self)
  ------------------
  |  |  341|  8.11k|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (341:9): [True: 0, False: 8.11k]
  |  |  ------------------
  |  |  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|  8.11k|    return PyObject_GetAttr(self->raw, &_Py_ID(closed));
  ------------------
  |  |  915|  8.11k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  8.11k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  8.11k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  546|  8.11k|}
bufferedio.c:_io__Buffered_name_get_impl:
  683|      5|{
  684|      5|    CHECK_INITIALIZED(self)
  ------------------
  |  |  341|      5|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (341:9): [True: 0, False: 5]
  |  |  ------------------
  |  |  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|      5|    return PyObject_GetAttr(self->raw, &_Py_ID(name));
  ------------------
  |  |  915|      5|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      5|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      5|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  686|      5|}
bufferedio.c:_io__Buffered_mode_get_impl:
  697|      1|{
  698|      1|    CHECK_INITIALIZED(self)
  ------------------
  |  |  341|      1|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (341:9): [True: 0, False: 1]
  |  |  ------------------
  |  |  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|      1|    return PyObject_GetAttr(self->raw, &_Py_ID(mode));
  ------------------
  |  |  915|      1|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      1|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      1|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  700|      1|}
bufferedio.c:_io_BufferedReader___init___impl:
 1593|  3.99k|{
 1594|  3.99k|    self->ok = 0;
 1595|  3.99k|    self->detached = 0;
 1596|       |
 1597|  3.99k|    _PyIO_State *state = find_io_state_by_def(Py_TYPE(self));
  ------------------
  |  |  213|  3.99k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.99k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.99k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1598|  3.99k|    if (_PyIOBase_check_readable(state, raw, Py_True) == NULL) {
  ------------------
  |  |   26|  3.99k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|  3.99k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.99k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1598:9): [True: 0, False: 3.99k]
  ------------------
 1599|      0|        return -1;
 1600|      0|    }
 1601|       |
 1602|  3.99k|    Py_XSETREF(self->raw, Py_NewRef(raw));
  ------------------
  |  |  374|  3.99k|    do { \
  |  |  375|  3.99k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  3.99k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|  3.99k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  3.99k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|  3.99k|        *_tmp_dst_ptr = (src); \
  |  |  378|  3.99k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  3.99k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.99k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.99k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|  3.99k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 3.99k]
  |  |  ------------------
  ------------------
 1603|  3.99k|    self->buffer_size = buffer_size;
 1604|  3.99k|    self->readable = 1;
 1605|  3.99k|    self->writable = 0;
 1606|       |
 1607|  3.99k|    if (_buffered_init(self) < 0)
  ------------------
  |  Branch (1607:9): [True: 0, False: 3.99k]
  ------------------
 1608|      0|        return -1;
 1609|  3.99k|    _bufferedreader_reset_buf(self);
 1610|       |
 1611|  3.99k|    self->fast_closed_checks = (
 1612|  3.99k|        Py_IS_TYPE(self, state->PyBufferedReader_Type) &&
  ------------------
  |  |  215|  7.99k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  3.99k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.99k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 3.99k, False: 0]
  |  |  ------------------
  ------------------
 1613|  3.99k|        Py_IS_TYPE(raw, state->PyFileIO_Type)
  ------------------
  |  |  215|  3.99k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  3.99k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.99k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 3.99k, False: 2]
  |  |  ------------------
  ------------------
 1614|  3.99k|    );
 1615|       |
 1616|  3.99k|    self->ok = 1;
 1617|  3.99k|    return 0;
 1618|  3.99k|}
bufferedio.c:_buffered_init:
  839|  4.05k|{
  840|  4.05k|    Py_ssize_t n;
  841|  4.05k|    if (self->buffer_size <= 0) {
  ------------------
  |  Branch (841:9): [True: 0, False: 4.05k]
  ------------------
  842|      0|        PyErr_SetString(PyExc_ValueError,
  843|      0|            "buffer size must be strictly positive");
  844|      0|        return -1;
  845|      0|    }
  846|  4.05k|    if (self->buffer)
  ------------------
  |  Branch (846:9): [True: 0, False: 4.05k]
  ------------------
  847|      0|        PyMem_Free(self->buffer);
  848|  4.05k|    self->buffer = PyMem_Malloc(self->buffer_size);
  849|  4.05k|    if (self->buffer == NULL) {
  ------------------
  |  Branch (849:9): [True: 0, False: 4.05k]
  ------------------
  850|      0|        PyErr_NoMemory();
  851|      0|        return -1;
  852|      0|    }
  853|  4.05k|    if (self->lock)
  ------------------
  |  Branch (853:9): [True: 0, False: 4.05k]
  ------------------
  854|      0|        PyThread_free_lock(self->lock);
  855|  4.05k|    self->lock = PyThread_allocate_lock();
  856|  4.05k|    if (self->lock == NULL) {
  ------------------
  |  Branch (856:9): [True: 0, False: 4.05k]
  ------------------
  857|      0|        PyErr_SetString(PyExc_RuntimeError, "can't allocate read lock");
  858|      0|        return -1;
  859|      0|    }
  860|  4.05k|    self->owner = 0;
  861|       |    /* Find out whether buffer_size is a power of 2 */
  862|       |    /* XXX is this optimization useful? */
  863|  72.9k|    for (n = self->buffer_size - 1; n & 1; n >>= 1)
  ------------------
  |  Branch (863:37): [True: 68.8k, False: 4.05k]
  ------------------
  864|  68.8k|        ;
  865|  4.05k|    if (n == 0)
  ------------------
  |  Branch (865:9): [True: 4.05k, False: 0]
  ------------------
  866|  4.05k|        self->buffer_mask = self->buffer_size - 1;
  867|      0|    else
  868|      0|        self->buffer_mask = 0;
  869|  4.05k|    if (_buffered_raw_tell(self) == -1)
  ------------------
  |  Branch (869:9): [True: 3, False: 4.04k]
  ------------------
  870|      3|        PyErr_Clear();
  871|  4.05k|    return 0;
  872|  4.05k|}
bufferedio.c:_io__Buffered_writable_impl:
  668|      5|{
  669|      5|    CHECK_INITIALIZED(self)
  ------------------
  |  |  341|      5|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (341:9): [True: 0, False: 5]
  |  |  ------------------
  |  |  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|      5|    return PyObject_CallMethodNoArgs(self->raw, &_Py_ID(writable));
  ------------------
  |  |  915|      5|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      5|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      5|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  671|      5|}
bufferedio.c:_io_BufferedWriter_write_impl:
 2087|  4.38k|{
 2088|  4.38k|    PyObject *res = NULL;
 2089|  4.38k|    Py_ssize_t written, avail, remaining;
 2090|  4.38k|    Py_off_t offset;
 2091|  4.38k|    int r;
 2092|       |
 2093|  4.38k|    CHECK_INITIALIZED(self)
  ------------------
  |  |  341|  4.38k|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (341:9): [True: 0, False: 4.38k]
  |  |  ------------------
  |  |  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|    }
  ------------------
 2094|       |
 2095|  4.38k|    if (!ENTER_BUFFERED(self))
  ------------------
  |  |  330|  4.38k|    ( (PyThread_acquire_lock(self->lock, 0) ? \
  |  |  ------------------
  |  |  |  Branch (330:7): [True: 4.38k, False: 0]
  |  |  |  Branch (330:8): [True: 4.38k, False: 0]
  |  |  ------------------
  |  |  331|  4.38k|       1 : _enter_buffered_busy(self)) \
  |  |  332|  4.38k|     && (self->owner = PyThread_get_thread_ident(), 1) )
  |  |  ------------------
  |  |  |  Branch (332:9): [True: 4.38k, False: 0]
  |  |  ------------------
  ------------------
 2096|      0|        return NULL;
 2097|       |
 2098|       |    /* Issue #31976: Check for closed file after acquiring the lock. Another
 2099|       |       thread could be holding the lock while closing the file. */
 2100|  4.38k|    r = IS_CLOSED(self);
  ------------------
  |  |  365|  4.38k|    (!self->buffer ? 1 : \
  |  |  ------------------
  |  |  |  Branch (365:6): [True: 0, False: 4.38k]
  |  |  ------------------
  |  |  366|  4.38k|    (self->fast_closed_checks \
  |  |  ------------------
  |  |  |  Branch (366:6): [True: 4.38k, False: 3]
  |  |  ------------------
  |  |  367|  4.38k|     ? _PyFileIO_closed(self->raw) \
  |  |  368|  4.38k|     : buffered_closed(self)))
  ------------------
 2101|  4.38k|    if (r < 0) {
  ------------------
  |  Branch (2101:9): [True: 0, False: 4.38k]
  ------------------
 2102|      0|        goto error;
 2103|      0|    }
 2104|  4.38k|    if (r > 0) {
  ------------------
  |  Branch (2104:9): [True: 0, False: 4.38k]
  ------------------
 2105|      0|        PyErr_SetString(PyExc_ValueError, "write to closed file");
 2106|      0|        goto error;
 2107|      0|    }
 2108|       |
 2109|       |    /* Fast path: the data to write can be fully buffered. */
 2110|  4.38k|    if (!VALID_READ_BUFFER(self) && !VALID_WRITE_BUFFER(self)) {
  ------------------
  |  |  385|  8.77k|    (self->readable && self->read_end != -1)
  |  |  ------------------
  |  |  |  Branch (385:6): [True: 0, False: 4.38k]
  |  |  |  Branch (385:24): [True: 0, False: 0]
  |  |  ------------------
  ------------------
                  if (!VALID_READ_BUFFER(self) && !VALID_WRITE_BUFFER(self)) {
  ------------------
  |  |  388|  4.38k|    (self->writable && self->write_end != -1)
  |  |  ------------------
  |  |  |  Branch (388:6): [True: 4.38k, False: 0]
  |  |  |  Branch (388:24): [True: 30, False: 4.35k]
  |  |  ------------------
  ------------------
 2111|  4.35k|        self->pos = 0;
 2112|  4.35k|        self->raw_pos = 0;
 2113|  4.35k|    }
 2114|  4.38k|    avail = Py_SAFE_DOWNCAST(self->buffer_size - self->pos, Py_off_t, Py_ssize_t);
  ------------------
  |  |  247|  4.38k|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  ------------------
  |  |  |  |   34|  4.38k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2115|  4.38k|    if (buffer->len <= avail && buffer->len < self->buffer_size) {
  ------------------
  |  Branch (2115:9): [True: 4.38k, False: 1]
  |  Branch (2115:33): [True: 4.38k, False: 0]
  ------------------
 2116|  4.38k|        memcpy(self->buffer + self->pos, buffer->buf, buffer->len);
 2117|  4.38k|        if (!VALID_WRITE_BUFFER(self) || self->write_pos > self->pos) {
  ------------------
  |  |  388|  8.77k|    (self->writable && self->write_end != -1)
  |  |  ------------------
  |  |  |  Branch (388:6): [True: 4.38k, False: 0]
  |  |  |  Branch (388:24): [True: 30, False: 4.35k]
  |  |  ------------------
  ------------------
  |  Branch (2117:42): [True: 0, False: 30]
  ------------------
 2118|  4.35k|            self->write_pos = self->pos;
 2119|  4.35k|        }
 2120|  4.38k|        ADJUST_POSITION(self, self->pos + buffer->len);
  ------------------
  |  |  391|  4.38k|    do { \
  |  |  392|  4.38k|        self->pos = _new_pos; \
  |  |  393|  4.38k|        if (VALID_READ_BUFFER(self) && self->read_end < self->pos) \
  |  |  ------------------
  |  |  |  |  385|  8.77k|    (self->readable && self->read_end != -1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (385:6): [True: 0, False: 4.38k]
  |  |  |  |  |  Branch (385:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (393:40): [True: 0, False: 0]
  |  |  ------------------
  |  |  394|  4.38k|            self->read_end = self->pos; \
  |  |  395|  4.38k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (395:13): [Folded, False: 4.38k]
  |  |  ------------------
  ------------------
 2121|  4.38k|        if (self->pos > self->write_end)
  ------------------
  |  Branch (2121:13): [True: 4.38k, False: 3]
  ------------------
 2122|  4.38k|            self->write_end = self->pos;
 2123|  4.38k|        written = buffer->len;
 2124|  4.38k|        goto end;
 2125|  4.38k|    }
 2126|       |
 2127|       |    /* First write the current buffer */
 2128|      1|    res = _bufferedwriter_flush_unlocked(self);
 2129|      1|    if (res == NULL) {
  ------------------
  |  Branch (2129:9): [True: 0, False: 1]
  ------------------
 2130|      0|        Py_ssize_t *w = _buffered_check_blocking_error();
 2131|      0|        if (w == NULL)
  ------------------
  |  Branch (2131:13): [True: 0, False: 0]
  ------------------
 2132|      0|            goto error;
 2133|      0|        if (self->readable)
  ------------------
  |  Branch (2133:13): [True: 0, False: 0]
  ------------------
 2134|      0|            _bufferedreader_reset_buf(self);
 2135|       |        /* Make some place by shifting the buffer. */
 2136|      0|        assert(VALID_WRITE_BUFFER(self));
 2137|      0|        memmove(self->buffer, self->buffer + self->write_pos,
 2138|      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))
  |  |  ------------------
  ------------------
 2139|      0|                                 Py_off_t, Py_ssize_t));
 2140|      0|        self->write_end -= self->write_pos;
 2141|      0|        self->raw_pos -= self->write_pos;
 2142|      0|        self->pos -= self->write_pos;
 2143|      0|        self->write_pos = 0;
 2144|      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))
  |  |  ------------------
  ------------------
 2145|      0|                                 Py_off_t, Py_ssize_t);
 2146|      0|        if (buffer->len <= avail) {
  ------------------
  |  Branch (2146:13): [True: 0, False: 0]
  ------------------
 2147|       |            /* Everything can be buffered */
 2148|      0|            PyErr_Clear();
 2149|      0|            memcpy(self->buffer + self->write_end, buffer->buf, buffer->len);
 2150|      0|            self->write_end += buffer->len;
 2151|      0|            self->pos += buffer->len;
 2152|      0|            written = buffer->len;
 2153|      0|            goto end;
 2154|      0|        }
 2155|       |        /* Buffer as much as possible. */
 2156|      0|        memcpy(self->buffer + self->write_end, buffer->buf, avail);
 2157|      0|        self->write_end += avail;
 2158|      0|        self->pos += avail;
 2159|       |        /* XXX Modifying the existing exception e using the pointer w
 2160|       |           will change e.characters_written but not e.args[2].
 2161|       |           Therefore we just replace with a new error. */
 2162|      0|        _set_BlockingIOError("write could not complete without blocking",
 2163|      0|                             avail);
 2164|      0|        goto error;
 2165|      0|    }
 2166|      1|    Py_CLEAR(res);
  ------------------
  |  |  484|      1|    do { \
  |  |  485|      1|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      1|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      1|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      1|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      1|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 1, False: 0]
  |  |  ------------------
  |  |  488|      1|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      1|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      1|            Py_DECREF(_tmp_old_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      1|        } \
  |  |  491|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 2167|       |
 2168|       |    /* Adjust the raw stream position if it is away from the logical stream
 2169|       |       position. This happens if the read buffer has been filled but not
 2170|       |       modified (and therefore _bufferedwriter_flush_unlocked() didn't rewind
 2171|       |       the raw stream by itself).
 2172|       |       Fixes issue #6629.
 2173|       |    */
 2174|      1|    offset = RAW_OFFSET(self);
  ------------------
  |  |  402|      1|    (((VALID_READ_BUFFER(self) || VALID_WRITE_BUFFER(self)) \
  |  |  ------------------
  |  |  |  |  385|      2|    (self->readable && self->read_end != -1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (385:6): [True: 0, False: 1]
  |  |  |  |  |  Branch (385:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (((VALID_READ_BUFFER(self) || VALID_WRITE_BUFFER(self)) \
  |  |  ------------------
  |  |  |  |  388|      1|    (self->writable && self->write_end != -1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (388:6): [True: 1, False: 0]
  |  |  |  |  |  Branch (388:24): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  403|      1|        && self->raw_pos >= 0) ? self->raw_pos - self->pos : 0)
  |  |  ------------------
  |  |  |  Branch (403:12): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2175|      1|    if (offset != 0) {
  ------------------
  |  Branch (2175:9): [True: 0, False: 1]
  ------------------
 2176|      0|        if (_buffered_raw_seek(self, -offset, 1) < 0)
  ------------------
  |  Branch (2176:13): [True: 0, False: 0]
  ------------------
 2177|      0|            goto error;
 2178|      0|        self->raw_pos -= offset;
 2179|      0|    }
 2180|       |
 2181|       |    /* Then write buf itself. At this point the buffer has been emptied. */
 2182|      1|    remaining = buffer->len;
 2183|      1|    written = 0;
 2184|      2|    while (remaining >= self->buffer_size) {
  ------------------
  |  Branch (2184:12): [True: 1, False: 1]
  ------------------
 2185|      1|        Py_ssize_t n = _bufferedwriter_raw_write(
 2186|      1|            self, (char *) buffer->buf + written, buffer->len - written);
 2187|      1|        if (n == -1) {
  ------------------
  |  Branch (2187:13): [True: 0, False: 1]
  ------------------
 2188|      0|            goto error;
 2189|      1|        } else if (n == -2) {
  ------------------
  |  Branch (2189:20): [True: 0, False: 1]
  ------------------
 2190|       |            /* Write failed because raw file is non-blocking */
 2191|      0|            if (remaining > self->buffer_size) {
  ------------------
  |  Branch (2191:17): [True: 0, False: 0]
  ------------------
 2192|       |                /* Can't buffer everything, still buffer as much as possible */
 2193|      0|                memcpy(self->buffer,
 2194|      0|                       (char *) buffer->buf + written, self->buffer_size);
 2195|      0|                self->raw_pos = 0;
 2196|      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]
  |  |  ------------------
  ------------------
 2197|      0|                self->write_end = self->buffer_size;
 2198|      0|                written += self->buffer_size;
 2199|      0|                _set_BlockingIOError("write could not complete without "
 2200|      0|                                     "blocking", written);
 2201|      0|                goto error;
 2202|      0|            }
 2203|      0|            PyErr_Clear();
 2204|      0|            break;
 2205|      0|        }
 2206|      1|        written += n;
 2207|      1|        remaining -= n;
 2208|       |        /* Partial writes can return successfully when interrupted by a
 2209|       |           signal (see write(2)).  We must run signal handlers before
 2210|       |           blocking another time, possibly indefinitely. */
 2211|      1|        if (PyErr_CheckSignals() < 0)
  ------------------
  |  Branch (2211:13): [True: 0, False: 1]
  ------------------
 2212|      0|            goto error;
 2213|      1|    }
 2214|      1|    if (self->readable)
  ------------------
  |  Branch (2214:9): [True: 0, False: 1]
  ------------------
 2215|      0|        _bufferedreader_reset_buf(self);
 2216|      1|    if (remaining > 0) {
  ------------------
  |  Branch (2216:9): [True: 0, False: 1]
  ------------------
 2217|      0|        memcpy(self->buffer, (char *) buffer->buf + written, remaining);
 2218|      0|        written += remaining;
 2219|      0|    }
 2220|      1|    self->write_pos = 0;
 2221|       |    /* TODO: sanity check (remaining >= 0) */
 2222|      1|    self->write_end = remaining;
 2223|      1|    ADJUST_POSITION(self, remaining);
  ------------------
  |  |  391|      1|    do { \
  |  |  392|      1|        self->pos = _new_pos; \
  |  |  393|      1|        if (VALID_READ_BUFFER(self) && self->read_end < self->pos) \
  |  |  ------------------
  |  |  |  |  385|      2|    (self->readable && self->read_end != -1)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (385:6): [True: 0, False: 1]
  |  |  |  |  |  Branch (385:24): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (393:40): [True: 0, False: 0]
  |  |  ------------------
  |  |  394|      1|            self->read_end = self->pos; \
  |  |  395|      1|    } while(0)
  |  |  ------------------
  |  |  |  Branch (395:13): [Folded, False: 1]
  |  |  ------------------
  ------------------
 2224|      1|    self->raw_pos = 0;
 2225|       |
 2226|  4.38k|end:
 2227|  4.38k|    res = PyLong_FromSsize_t(written);
 2228|       |
 2229|  4.38k|error:
 2230|  4.38k|    LEAVE_BUFFERED(self)
  ------------------
  |  |  335|  4.38k|    do { \
  |  |  336|  4.38k|        self->owner = 0; \
  |  |  337|  4.38k|        PyThread_release_lock(self->lock); \
  |  |  338|  4.38k|    } while(0);
  |  |  ------------------
  |  |  |  Branch (338:13): [Folded, False: 4.38k]
  |  |  ------------------
  ------------------
 2231|  4.38k|    return res;
 2232|  4.38k|}
bufferedio.c:_io__Buffered_flush_impl:
  937|  4.36k|{
  938|  4.36k|    PyObject *res;
  939|       |
  940|  4.36k|    CHECK_INITIALIZED(self)
  ------------------
  |  |  341|  4.36k|    if (self->ok <= 0) { \
  |  |  ------------------
  |  |  |  Branch (341:9): [True: 0, False: 4.36k]
  |  |  ------------------
  |  |  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|  4.36k|    CHECK_CLOSED(self, "flush of closed file")
  ------------------
  |  |  371|  4.36k|    do { \
  |  |  372|  4.36k|        int _closed = IS_CLOSED(self); \
  |  |  ------------------
  |  |  |  |  365|  4.36k|    (!self->buffer ? 1 : \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (365:6): [True: 0, False: 4.36k]
  |  |  |  |  ------------------
  |  |  |  |  366|  4.36k|    (self->fast_closed_checks \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (366:6): [True: 4.35k, False: 6]
  |  |  |  |  ------------------
  |  |  |  |  367|  4.36k|     ? _PyFileIO_closed(self->raw) \
  |  |  |  |  368|  4.36k|     : buffered_closed(self)))
  |  |  ------------------
  |  |  373|  4.36k|        if (_closed < 0) { \
  |  |  ------------------
  |  |  |  Branch (373:13): [True: 0, False: 4.36k]
  |  |  ------------------
  |  |  374|      0|            return NULL; \
  |  |  375|      0|        } \
  |  |  376|  4.36k|        if (_closed && \
  |  |  ------------------
  |  |  |  Branch (376:13): [True: 0, False: 4.36k]
  |  |  ------------------
  |  |  377|  4.36k|            (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.36k|        { \
  |  |  379|      0|            PyErr_SetString(PyExc_ValueError, error_msg); \
  |  |  380|      0|            return NULL; \
  |  |  381|      0|        } \
  |  |  382|  4.36k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (382:14): [Folded, False: 4.36k]
  |  |  ------------------
  ------------------
  942|       |
  943|  4.36k|    if (!ENTER_BUFFERED(self))
  ------------------
  |  |  330|  4.36k|    ( (PyThread_acquire_lock(self->lock, 0) ? \
  |  |  ------------------
  |  |  |  Branch (330:7): [True: 4.36k, False: 0]
  |  |  |  Branch (330:8): [True: 4.36k, False: 0]
  |  |  ------------------
  |  |  331|  4.36k|       1 : _enter_buffered_busy(self)) \
  |  |  332|  4.36k|     && (self->owner = PyThread_get_thread_ident(), 1) )
  |  |  ------------------
  |  |  |  Branch (332:9): [True: 4.36k, False: 0]
  |  |  ------------------
  ------------------
  944|      0|        return NULL;
  945|  4.36k|    res = buffered_flush_and_rewind_unlocked(self);
  946|  4.36k|    LEAVE_BUFFERED(self)
  ------------------
  |  |  335|  4.36k|    do { \
  |  |  336|  4.36k|        self->owner = 0; \
  |  |  337|  4.36k|        PyThread_release_lock(self->lock); \
  |  |  338|  4.36k|    } while(0);
  |  |  ------------------
  |  |  |  Branch (338:13): [Folded, False: 4.36k]
  |  |  ------------------
  ------------------
  947|       |
  948|  4.36k|    return res;
  949|  4.36k|}
bufferedio.c:_io_BufferedWriter___init___impl:
 1945|     56|{
 1946|     56|    self->ok = 0;
 1947|     56|    self->detached = 0;
 1948|       |
 1949|     56|    _PyIO_State *state = find_io_state_by_def(Py_TYPE(self));
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1950|     56|    if (_PyIOBase_check_writable(state, raw, Py_True) == NULL) {
  ------------------
  |  |   26|     56|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|     56|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     56|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1950:9): [True: 0, False: 56]
  ------------------
 1951|      0|        return -1;
 1952|      0|    }
 1953|       |
 1954|     56|    Py_INCREF(raw);
  ------------------
  |  |  310|     56|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     56|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     56|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1955|     56|    Py_XSETREF(self->raw, raw);
  ------------------
  |  |  374|     56|    do { \
  |  |  375|     56|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     56|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|     56|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     56|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|     56|        *_tmp_dst_ptr = (src); \
  |  |  378|     56|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|     56|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     56|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     56|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|     56|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 56]
  |  |  ------------------
  ------------------
 1956|     56|    self->readable = 0;
 1957|     56|    self->writable = 1;
 1958|       |
 1959|     56|    self->buffer_size = buffer_size;
 1960|     56|    if (_buffered_init(self) < 0)
  ------------------
  |  Branch (1960:9): [True: 0, False: 56]
  ------------------
 1961|      0|        return -1;
 1962|     56|    _bufferedwriter_reset_buf(self);
 1963|     56|    self->pos = 0;
 1964|       |
 1965|     56|    self->fast_closed_checks = (
 1966|     56|        Py_IS_TYPE(self, state->PyBufferedWriter_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: 56, False: 0]
  |  |  ------------------
  ------------------
 1967|     56|        Py_IS_TYPE(raw, state->PyFileIO_Type)
  ------------------
  |  |  215|     56|#  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: 53, False: 3]
  |  |  ------------------
  ------------------
 1968|     56|    );
 1969|       |
 1970|     56|    self->ok = 1;
 1971|     56|    return 0;
 1972|     56|}

bytesio.c:bytesio_dealloc:
  987|  3.55k|{
  988|  3.55k|    bytesio *self = bytesio_CAST(op);
  ------------------
  |  |   27|  3.55k|#define bytesio_CAST(op)    ((bytesio *)(op))
  ------------------
  989|  3.55k|    PyTypeObject *tp = Py_TYPE(self);
  ------------------
  |  |  213|  3.55k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.55k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.55k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  990|  3.55k|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  510|  3.55k|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.55k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.55k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  991|  3.55k|    if (FT_ATOMIC_LOAD_SSIZE_RELAXED(self->exports) > 0) {
  ------------------
  |  |  148|  3.55k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
  |  Branch (991:9): [True: 0, False: 3.55k]
  ------------------
  992|      0|        PyErr_SetString(PyExc_SystemError,
  993|      0|                        "deallocated BytesIO object has exported buffers");
  994|      0|        PyErr_Print();
  995|      0|    }
  996|  3.55k|    Py_CLEAR(self->buf);
  ------------------
  |  |  484|  3.55k|    do { \
  |  |  485|  3.55k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  3.55k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  3.55k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  3.55k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  3.55k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 3.55k, False: 0]
  |  |  ------------------
  |  |  488|  3.55k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  3.55k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  3.55k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  3.55k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.55k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.55k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  3.55k|        } \
  |  |  491|  3.55k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 3.55k]
  |  |  ------------------
  ------------------
  997|  3.55k|    Py_CLEAR(self->dict);
  ------------------
  |  |  484|  3.55k|    do { \
  |  |  485|  3.55k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  3.55k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  3.55k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  3.55k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  3.55k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 3.55k]
  |  |  ------------------
  |  |  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|  3.55k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 3.55k]
  |  |  ------------------
  ------------------
  998|  3.55k|    FT_CLEAR_WEAKREFS(op, self->weakreflist);
  ------------------
  |  |   47|  3.55k|    do {                                            \
  |  |   48|  3.55k|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|  3.55k|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 3.55k]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|  3.55k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 3.55k]
  |  |  ------------------
  ------------------
  999|  3.55k|    tp->tp_free(self);
 1000|  3.55k|    Py_DECREF(tp);
  ------------------
  |  |  430|  3.55k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.55k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.55k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1001|  3.55k|}
bytesio.c:bytesio_traverse:
 1093|  2.74k|{
 1094|  2.74k|    bytesio *self = bytesio_CAST(op);
  ------------------
  |  |   27|  2.74k|#define bytesio_CAST(op)    ((bytesio *)(op))
  ------------------
 1095|  2.74k|    Py_VISIT(Py_TYPE(self));
  ------------------
  |  |  194|  2.74k|    do {                                                                \
  |  |  195|  2.74k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 2.74k, False: 0]
  |  |  ------------------
  |  |  196|  2.74k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  2.74k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.74k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  2.74k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 2.74k]
  |  |  ------------------
  |  |  198|  2.74k|                return vret;                                            \
  |  |  199|  2.74k|        }                                                               \
  |  |  200|  2.74k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.74k]
  |  |  ------------------
  ------------------
 1096|  2.74k|    Py_VISIT(self->dict);
  ------------------
  |  |  194|  2.74k|    do {                                                                \
  |  |  195|  2.74k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 2.74k]
  |  |  ------------------
  |  |  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.74k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.74k]
  |  |  ------------------
  ------------------
 1097|  2.74k|    Py_VISIT(self->buf);
  ------------------
  |  |  194|  2.74k|    do {                                                                \
  |  |  195|  2.74k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 2.74k, False: 0]
  |  |  ------------------
  |  |  196|  2.74k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  2.74k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.74k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  2.74k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 2.74k]
  |  |  ------------------
  |  |  198|  2.74k|                return vret;                                            \
  |  |  199|  2.74k|        }                                                               \
  |  |  200|  2.74k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.74k]
  |  |  ------------------
  ------------------
 1098|  2.74k|    return 0;
 1099|  2.74k|}
bytesio.c:check_closed:
   45|   155k|{
   46|   155k|    if (self->buf == NULL) {
  ------------------
  |  Branch (46:9): [True: 0, False: 155k]
  ------------------
   47|      0|        PyErr_SetString(PyExc_ValueError, "I/O operation on closed file.");
   48|      0|        return 1;
   49|      0|    }
   50|   155k|    return 0;
   51|   155k|}
bytesio.c:read_bytes_lock_held:
  425|    230|{
  426|    230|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(self);
  427|       |
  428|    230|    const char *output;
  429|       |
  430|    230|    assert(self->buf != NULL);
  431|    230|    assert(size <= self->string_size);
  432|    230|    if (size > 1 &&
  ------------------
  |  Branch (432:9): [True: 115, False: 115]
  ------------------
  433|    115|        self->pos == 0 && size == PyBytes_GET_SIZE(self->buf) &&
  ------------------
  |  |   33|    345|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|    115|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    115|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (433:9): [True: 115, False: 0]
  |  Branch (433:27): [True: 0, False: 115]
  ------------------
  434|      0|        FT_ATOMIC_LOAD_SSIZE_RELAXED(self->exports) == 0) {
  ------------------
  |  |  148|      0|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
  |  Branch (434:9): [True: 0, False: 0]
  ------------------
  435|      0|        self->pos += size;
  436|      0|        return Py_NewRef(self->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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  437|      0|    }
  438|       |
  439|       |    /* gh-141311: Avoid undefined behavior when self->pos (limit PY_SSIZE_T_MAX)
  440|       |       is beyond the size of self->buf. Assert above validates size is always in
  441|       |       bounds. When self->pos is out of bounds calling code sets size to 0. */
  442|    230|    if (size == 0) {
  ------------------
  |  Branch (442:9): [True: 115, False: 115]
  ------------------
  443|    115|        return PyBytes_FromStringAndSize(NULL, 0);
  444|    115|    }
  445|       |
  446|    115|    output = PyBytes_AS_STRING(self->buf) + self->pos;
  ------------------
  |  |   27|    115|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    115|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    115|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  447|    115|    self->pos += size;
  448|    115|    return PyBytes_FromStringAndSize(output, size);
  449|    230|}
bytesio.c:check_exports:
   55|  86.3k|{
   56|  86.3k|    if (FT_ATOMIC_LOAD_SSIZE_RELAXED(self->exports) > 0) {
  ------------------
  |  |  148|  86.3k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
  |  Branch (56:9): [True: 0, False: 86.3k]
  ------------------
   57|      0|        PyErr_SetString(PyExc_BufferError,
   58|      0|                        "Existing exports of data: object cannot be re-sized");
   59|      0|        return 1;
   60|      0|    }
   61|  86.3k|    return 0;
   62|  86.3k|}
bytesio.c:_io_BytesIO_flush_impl:
  327|  3.43k|{
  328|  3.43k|    CHECK_CLOSED(self);
  ------------------
  |  |   65|  3.43k|    if (check_closed(self)) {                               \
  |  |  ------------------
  |  |  |  Branch (65:9): [True: 0, False: 3.43k]
  |  |  ------------------
  |  |   66|      0|        return NULL;                                        \
  |  |   67|      0|    }
  ------------------
  329|  3.43k|    Py_RETURN_NONE;
  ------------------
  |  |  628|  3.43k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  3.43k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  330|  3.43k|}
bytesio.c:_io_BytesIO_tell_impl:
  418|  27.6k|{
  419|  27.6k|    CHECK_CLOSED(self);
  ------------------
  |  |   65|  27.6k|    if (check_closed(self)) {                               \
  |  |  ------------------
  |  |  |  Branch (65:9): [True: 0, False: 27.6k]
  |  |  ------------------
  |  |   66|      0|        return NULL;                                        \
  |  |   67|      0|    }
  ------------------
  420|  27.6k|    return PyLong_FromSsize_t(self->pos);
  421|  27.6k|}
bytesio.c:_io_BytesIO_write_impl:
  781|  86.3k|{
  782|  86.3k|    Py_ssize_t n = write_bytes_lock_held(self, b);
  783|  86.3k|    return n >= 0 ? PyLong_FromSsize_t(n) : NULL;
  ------------------
  |  Branch (783:12): [True: 86.3k, False: 0]
  ------------------
  784|  86.3k|}
bytesio.c:write_bytes_lock_held:
  194|  86.3k|{
  195|  86.3k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(self);
  196|       |
  197|  86.3k|    Py_buffer buf;
  198|  86.3k|    Py_ssize_t len;
  199|  86.3k|    if (PyObject_GetBuffer(b, &buf, PyBUF_CONTIG_RO) < 0) {
  ------------------
  |  |  125|  86.3k|#define PyBUF_CONTIG_RO (PyBUF_ND)
  |  |  ------------------
  |  |  |  |  117|  86.3k|#define PyBUF_ND 0x0008
  |  |  ------------------
  ------------------
  |  Branch (199:9): [True: 0, False: 86.3k]
  ------------------
  200|      0|        return -1;
  201|      0|    }
  202|       |
  203|  86.3k|    if (check_closed(self) || check_exports(self)) {
  ------------------
  |  Branch (203:9): [True: 0, False: 86.3k]
  |  Branch (203:31): [True: 0, False: 86.3k]
  ------------------
  204|      0|        len = -1;
  205|      0|        goto done;
  206|      0|    }
  207|       |
  208|  86.3k|    len = buf.len;
  209|  86.3k|    if (len == 0) {
  ------------------
  |  Branch (209:9): [True: 28.2k, False: 58.0k]
  ------------------
  210|  28.2k|        goto done;
  211|  28.2k|    }
  212|       |
  213|  86.3k|    assert(self->pos >= 0);
  214|  58.0k|    size_t endpos = (size_t)self->pos + len;
  215|  58.0k|    if (endpos > (size_t)PyBytes_GET_SIZE(self->buf)) {
  ------------------
  |  |   33|  58.0k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  58.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  58.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (215:9): [True: 25.8k, False: 32.2k]
  ------------------
  216|  25.8k|        if (resize_buffer_lock_held(self, endpos) < 0) {
  ------------------
  |  Branch (216:13): [True: 0, False: 25.8k]
  ------------------
  217|      0|            len = -1;
  218|      0|            goto done;
  219|      0|        }
  220|  25.8k|    }
  221|  32.2k|    else if (SHARED_BUF(self)) {
  ------------------
  |  |   74|  32.2k|#define SHARED_BUF(self) (!_PyObject_IsUniquelyReferenced((self)->buf))
  |  |  ------------------
  |  |  |  Branch (74:26): [True: 0, False: 32.2k]
  |  |  ------------------
  ------------------
  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|  58.0k|    if (self->pos > self->string_size) {
  ------------------
  |  Branch (228:9): [True: 0, False: 58.0k]
  ------------------
  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|  58.0k|    memcpy(PyBytes_AS_STRING(self->buf) + self->pos, buf.buf, len);
  ------------------
  |  |   27|  58.0k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  58.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  58.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  244|  58.0k|    self->pos = endpos;
  245|       |
  246|       |    /* Set the new length of the internal string if it has changed. */
  247|  58.0k|    if ((size_t)self->string_size < endpos) {
  ------------------
  |  Branch (247:9): [True: 47.7k, False: 10.3k]
  ------------------
  248|  47.7k|        self->string_size = endpos;
  249|  47.7k|    }
  250|       |
  251|  86.3k|  done:
  252|  86.3k|    PyBuffer_Release(&buf);
  253|  86.3k|    return len;
  254|  58.0k|}
bytesio.c:resize_buffer_lock_held:
  139|  25.8k|{
  140|  25.8k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(self);
  141|       |
  142|  25.8k|    assert(self->buf != NULL);
  143|  25.8k|    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|  25.8k|    size_t alloc = PyBytes_GET_SIZE(self->buf);
  ------------------
  |  |   33|  25.8k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  25.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  25.8k|#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|  25.8k|    if (size > PY_SSIZE_T_MAX)
  ------------------
  |  |  137|  25.8k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (151:9): [True: 0, False: 25.8k]
  ------------------
  152|      0|        goto overflow;
  153|       |
  154|  25.8k|    if (size < alloc / 2) {
  ------------------
  |  Branch (154:9): [True: 0, False: 25.8k]
  ------------------
  155|       |        /* Major downsize; resize down to exact size. */
  156|      0|        alloc = size + 1;
  157|      0|    }
  158|  25.8k|    else if (size < alloc) {
  ------------------
  |  Branch (158:14): [True: 0, False: 25.8k]
  ------------------
  159|       |        /* Within allocated size; quick exit */
  160|      0|        return 0;
  161|      0|    }
  162|  25.8k|    else if (size <= alloc * 1.125) {
  ------------------
  |  Branch (162:14): [True: 14.0k, False: 11.7k]
  ------------------
  163|       |        /* Moderate upsize; overallocate similar to list_resize() */
  164|  14.0k|        alloc = size + (size >> 3) + (size < 9 ? 3 : 6);
  ------------------
  |  Branch (164:39): [True: 0, False: 14.0k]
  ------------------
  165|  14.0k|    }
  166|  11.7k|    else {
  167|       |        /* Major upsize; resize up to exact size */
  168|  11.7k|        alloc = size + 1;
  169|  11.7k|    }
  170|       |
  171|  25.8k|    if (SHARED_BUF(self)) {
  ------------------
  |  |   74|  25.8k|#define SHARED_BUF(self) (!_PyObject_IsUniquelyReferenced((self)->buf))
  |  |  ------------------
  |  |  |  Branch (74:26): [True: 3.43k, False: 22.3k]
  |  |  ------------------
  ------------------
  172|  3.43k|        if (unshare_buffer_lock_held(self, alloc) < 0)
  ------------------
  |  Branch (172:13): [True: 0, False: 3.43k]
  ------------------
  173|      0|            return -1;
  174|  3.43k|    }
  175|  22.3k|    else {
  176|  22.3k|        if (_PyBytes_Resize(&self->buf, alloc) < 0)
  ------------------
  |  Branch (176:13): [True: 0, False: 22.3k]
  ------------------
  177|      0|            return -1;
  178|  22.3k|    }
  179|       |
  180|  25.8k|    return 0;
  181|       |
  182|      0|  overflow:
  183|      0|    PyErr_SetString(PyExc_OverflowError,
  184|      0|                    "new buffer size too large");
  185|      0|    return -1;
  186|  25.8k|}
bytesio.c:unshare_buffer_lock_held:
  118|  3.43k|{
  119|  3.43k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(self);
  120|       |
  121|  3.43k|    PyObject *new_buf;
  122|  3.43k|    assert(SHARED_BUF(self));
  123|  3.43k|    assert(FT_ATOMIC_LOAD_SSIZE_RELAXED(self->exports) == 0);
  124|  3.43k|    assert(size >= (size_t)self->string_size);
  125|  3.43k|    new_buf = PyBytes_FromStringAndSize(NULL, size);
  126|  3.43k|    if (new_buf == NULL)
  ------------------
  |  Branch (126:9): [True: 0, False: 3.43k]
  ------------------
  127|      0|        return -1;
  128|  3.43k|    memcpy(PyBytes_AS_STRING(new_buf), PyBytes_AS_STRING(self->buf),
  ------------------
  |  |   27|  3.43k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  memcpy(PyBytes_AS_STRING(new_buf), PyBytes_AS_STRING(self->buf),
  ------------------
  |  |   27|  3.43k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  129|  3.43k|           self->string_size);
  130|  3.43k|    Py_SETREF(self->buf, new_buf);
  ------------------
  |  |  352|  3.43k|    do { \
  |  |  353|  3.43k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  3.43k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|  3.43k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  3.43k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|  3.43k|        *_tmp_dst_ptr = (src); \
  |  |  356|  3.43k|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|  3.43k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|  3.43k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 3.43k]
  |  |  ------------------
  ------------------
  131|  3.43k|    return 0;
  132|  3.43k|}
bytesio.c:_io_BytesIO_read_impl:
  466|    230|{
  467|    230|    Py_ssize_t n;
  468|       |
  469|    230|    CHECK_CLOSED(self);
  ------------------
  |  |   65|    230|    if (check_closed(self)) {                               \
  |  |  ------------------
  |  |  |  Branch (65:9): [True: 0, False: 230]
  |  |  ------------------
  |  |   66|      0|        return NULL;                                        \
  |  |   67|      0|    }
  ------------------
  470|       |
  471|       |    /* adjust invalid sizes */
  472|    230|    n = self->string_size - self->pos;
  473|    230|    if (size < 0 || size > n) {
  ------------------
  |  Branch (473:9): [True: 0, False: 230]
  |  Branch (473:21): [True: 0, False: 230]
  ------------------
  474|      0|        size = n;
  475|      0|        if (size < 0)
  ------------------
  |  Branch (475:13): [True: 0, False: 0]
  ------------------
  476|      0|            size = 0;
  477|      0|    }
  478|       |
  479|    230|    return read_bytes_lock_held(self, size);
  480|    230|}
bytesio.c:_io_BytesIO_seek_impl:
  726|  38.1k|{
  727|  38.1k|    CHECK_CLOSED(self);
  ------------------
  |  |   65|  38.1k|    if (check_closed(self)) {                               \
  |  |  ------------------
  |  |  |  Branch (65:9): [True: 0, False: 38.1k]
  |  |  ------------------
  |  |   66|      0|        return NULL;                                        \
  |  |   67|      0|    }
  ------------------
  728|       |
  729|  38.1k|    if (pos < 0 && whence == 0) {
  ------------------
  |  Branch (729:9): [True: 115, False: 38.0k]
  |  Branch (729:20): [True: 0, False: 115]
  ------------------
  730|      0|        PyErr_Format(PyExc_ValueError,
  731|      0|                     "negative seek value %zd", pos);
  732|      0|        return NULL;
  733|      0|    }
  734|       |
  735|       |    /* whence = 0: offset relative to beginning of the string.
  736|       |       whence = 1: offset relative to current position.
  737|       |       whence = 2: offset relative the end of the string. */
  738|  38.1k|    if (whence == 1) {
  ------------------
  |  Branch (738:9): [True: 0, False: 38.1k]
  ------------------
  739|      0|        if (pos > PY_SSIZE_T_MAX - self->pos) {
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (739:13): [True: 0, False: 0]
  ------------------
  740|      0|            PyErr_SetString(PyExc_OverflowError,
  741|      0|                            "new position too large");
  742|      0|            return NULL;
  743|      0|        }
  744|      0|        pos += self->pos;
  745|      0|    }
  746|  38.1k|    else if (whence == 2) {
  ------------------
  |  Branch (746:14): [True: 230, False: 37.9k]
  ------------------
  747|    230|        if (pos > PY_SSIZE_T_MAX - self->string_size) {
  ------------------
  |  |  137|    230|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (747:13): [True: 0, False: 230]
  ------------------
  748|      0|            PyErr_SetString(PyExc_OverflowError,
  749|      0|                            "new position too large");
  750|      0|            return NULL;
  751|      0|        }
  752|    230|        pos += self->string_size;
  753|    230|    }
  754|  37.9k|    else if (whence != 0) {
  ------------------
  |  Branch (754:14): [True: 0, False: 37.9k]
  ------------------
  755|      0|        PyErr_Format(PyExc_ValueError,
  756|      0|                     "invalid whence (%i, should be 0, 1 or 2)", whence);
  757|      0|        return NULL;
  758|      0|    }
  759|       |
  760|  38.1k|    if (pos < 0)
  ------------------
  |  Branch (760:9): [True: 0, False: 38.1k]
  ------------------
  761|      0|        pos = 0;
  762|  38.1k|    self->pos = pos;
  763|       |
  764|  38.1k|    return PyLong_FromSsize_t(self->pos);
  765|  38.1k|}
bytesio.c:_io_BytesIO___init___impl:
 1036|  3.55k|{
 1037|       |    /* In case, __init__ is called multiple times. */
 1038|  3.55k|    self->string_size = 0;
 1039|  3.55k|    self->pos = 0;
 1040|       |
 1041|  3.55k|    if (FT_ATOMIC_LOAD_SSIZE_RELAXED(self->exports) > 0) {
  ------------------
  |  |  148|  3.55k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
  |  Branch (1041:9): [True: 0, False: 3.55k]
  ------------------
 1042|      0|        PyErr_SetString(PyExc_BufferError,
 1043|      0|                        "Existing exports of data: object cannot be re-sized");
 1044|      0|        return -1;
 1045|      0|    }
 1046|  3.55k|    if (initvalue && initvalue != Py_None) {
  ------------------
  |  |  616|    115|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1046:9): [True: 115, False: 3.43k]
  |  Branch (1046:22): [True: 115, False: 0]
  ------------------
 1047|    115|        if (PyBytes_CheckExact(initvalue)) {
  ------------------
  |  |   29|    115|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_Type)
  |  |  ------------------
  |  |  |  |  215|    115|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    115|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    115|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 115, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1048|    115|            Py_XSETREF(self->buf, Py_NewRef(initvalue));
  ------------------
  |  |  374|    115|    do { \
  |  |  375|    115|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    115|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|    115|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    115|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|    115|        *_tmp_dst_ptr = (src); \
  |  |  378|    115|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|    115|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    115|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    115|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|    115|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 115]
  |  |  ------------------
  ------------------
 1049|    115|            self->string_size = PyBytes_GET_SIZE(initvalue);
  ------------------
  |  |   33|    115|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|    115|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    115|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1050|    115|        }
 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|    115|    }
 1060|       |
 1061|  3.55k|    return 0;
 1062|  3.55k|}
bytesio.c:bytesio_new:
 1005|  3.55k|{
 1006|  3.55k|    bytesio *self;
 1007|       |
 1008|  3.55k|    assert(type != NULL && type->tp_alloc != NULL);
 1009|  3.55k|    self = (bytesio *)type->tp_alloc(type, 0);
 1010|  3.55k|    if (self == NULL)
  ------------------
  |  Branch (1010:9): [True: 0, False: 3.55k]
  ------------------
 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|  3.55k|    self->buf = PyBytes_FromStringAndSize(NULL, 0);
 1017|  3.55k|    if (self->buf == NULL) {
  ------------------
  |  Branch (1017:9): [True: 0, False: 3.55k]
  ------------------
 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|  3.55k|    return (PyObject *)self;
 1023|  3.55k|}

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

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

bytesio.c:_io_BytesIO_flush:
   99|  3.43k|{
  100|  3.43k|    PyObject *return_value = NULL;
  101|       |
  102|  3.43k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  3.43k|    {
  ------------------
  103|  3.43k|    return_value = _io_BytesIO_flush_impl((bytesio *)self);
  104|  3.43k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  3.43k|    }
  ------------------
  105|       |
  106|  3.43k|    return return_value;
  107|  3.43k|}
bytesio.c:_io_BytesIO_tell:
  202|  27.6k|{
  203|  27.6k|    PyObject *return_value = NULL;
  204|       |
  205|  27.6k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  27.6k|    {
  ------------------
  206|  27.6k|    return_value = _io_BytesIO_tell_impl((bytesio *)self);
  207|  27.6k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  27.6k|    }
  ------------------
  208|       |
  209|  27.6k|    return return_value;
  210|  27.6k|}
bytesio.c:_io_BytesIO_write:
  515|  86.3k|{
  516|  86.3k|    PyObject *return_value = NULL;
  517|       |
  518|  86.3k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  86.3k|    {
  ------------------
  519|  86.3k|    return_value = _io_BytesIO_write_impl((bytesio *)self, b);
  520|  86.3k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  86.3k|    }
  ------------------
  521|       |
  522|  86.3k|    return return_value;
  523|  86.3k|}
bytesio.c:_io_BytesIO_read:
  229|    230|{
  230|    230|    PyObject *return_value = NULL;
  231|    230|    Py_ssize_t size = -1;
  232|       |
  233|    230|    if (!_PyArg_CheckPositional("read", nargs, 0, 1)) {
  ------------------
  |  |   31|    230|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 230, False: 0]
  |  |  |  Branch (31:27): [True: 230, False: 0]
  |  |  ------------------
  |  |   32|    230|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  234|      0|        goto exit;
  235|      0|    }
  236|    230|    if (nargs < 1) {
  ------------------
  |  Branch (236:9): [True: 0, False: 230]
  ------------------
  237|      0|        goto skip_optional;
  238|      0|    }
  239|    230|    if (!_Py_convert_optional_to_ssize_t(args[0], &size)) {
  ------------------
  |  Branch (239:9): [True: 0, False: 230]
  ------------------
  240|      0|        goto exit;
  241|      0|    }
  242|    230|skip_optional:
  243|    230|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|    230|    {
  ------------------
  244|    230|    return_value = _io_BytesIO_read_impl((bytesio *)self, size);
  245|    230|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    230|    }
  ------------------
  246|       |
  247|    230|exit:
  248|    230|    return return_value;
  249|    230|}
bytesio.c:_io_BytesIO_seek:
  463|  38.1k|{
  464|  38.1k|    PyObject *return_value = NULL;
  465|  38.1k|    Py_ssize_t pos;
  466|  38.1k|    int whence = 0;
  467|       |
  468|  38.1k|    if (!_PyArg_CheckPositional("seek", nargs, 1, 2)) {
  ------------------
  |  |   31|  38.1k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 38.1k, False: 0]
  |  |  |  Branch (31:27): [True: 38.1k, False: 0]
  |  |  ------------------
  |  |   32|  38.1k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  469|      0|        goto exit;
  470|      0|    }
  471|  38.1k|    {
  472|  38.1k|        Py_ssize_t ival = -1;
  473|  38.1k|        PyObject *iobj = _PyNumber_Index(args[0]);
  474|  38.1k|        if (iobj != NULL) {
  ------------------
  |  Branch (474:13): [True: 38.1k, False: 0]
  ------------------
  475|  38.1k|            ival = PyLong_AsSsize_t(iobj);
  476|  38.1k|            Py_DECREF(iobj);
  ------------------
  |  |  430|  38.1k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  38.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  38.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  477|  38.1k|        }
  478|  38.1k|        if (ival == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (478:13): [True: 0, False: 38.1k]
  |  Branch (478:27): [True: 0, False: 0]
  ------------------
  479|      0|            goto exit;
  480|      0|        }
  481|  38.1k|        pos = ival;
  482|  38.1k|    }
  483|  38.1k|    if (nargs < 2) {
  ------------------
  |  Branch (483:9): [True: 37.7k, False: 345]
  ------------------
  484|  37.7k|        goto skip_optional;
  485|  37.7k|    }
  486|    345|    whence = PyLong_AsInt(args[1]);
  487|    345|    if (whence == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (487:9): [True: 0, False: 345]
  |  Branch (487:25): [True: 0, False: 0]
  ------------------
  488|      0|        goto exit;
  489|      0|    }
  490|  38.1k|skip_optional:
  491|  38.1k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  38.1k|    {
  ------------------
  492|  38.1k|    return_value = _io_BytesIO_seek_impl((bytesio *)self, pos, whence);
  493|  38.1k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  38.1k|    }
  ------------------
  494|       |
  495|  38.1k|exit:
  496|  38.1k|    return return_value;
  497|  38.1k|}
bytesio.c:_io_BytesIO___init__:
  588|  3.55k|{
  589|  3.55k|    int return_value = -1;
  590|  3.55k|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  591|       |
  592|  3.55k|    #define NUM_KEYWORDS 1
  593|  3.55k|    static struct {
  594|  3.55k|        PyGC_Head _this_is_not_used;
  595|  3.55k|        PyObject_VAR_HEAD
  596|  3.55k|        Py_hash_t ob_hash;
  597|  3.55k|        PyObject *ob_item[NUM_KEYWORDS];
  598|  3.55k|    } _kwtuple = {
  599|  3.55k|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|  3.55k|    {                                     \
  |  |   98|  3.55k|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|  3.55k|    {                               \
  |  |  |  |   91|  3.55k|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|  3.55k|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  3.55k|#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|  3.55k|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|  3.55k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|  3.55k|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|  3.55k|        (type)                      \
  |  |  |  |   93|  3.55k|    },
  |  |  ------------------
  |  |   99|  3.55k|        (size)                            \
  |  |  100|  3.55k|    },
  ------------------
  600|  3.55k|        .ob_hash = -1,
  601|  3.55k|        .ob_item = { &_Py_ID(initial_bytes), },
  ------------------
  |  |  915|  3.55k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  3.55k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  3.55k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  602|  3.55k|    };
  603|  3.55k|    #undef NUM_KEYWORDS
  604|  3.55k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  605|       |
  606|       |    #else  // !Py_BUILD_CORE
  607|       |    #  define KWTUPLE NULL
  608|       |    #endif  // !Py_BUILD_CORE
  609|       |
  610|  3.55k|    static const char * const _keywords[] = {"initial_bytes", NULL};
  611|  3.55k|    static _PyArg_Parser _parser = {
  612|  3.55k|        .keywords = _keywords,
  613|  3.55k|        .fname = "BytesIO",
  614|  3.55k|        .kwtuple = KWTUPLE,
  ------------------
  |  |  604|  3.55k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  615|  3.55k|    };
  616|  3.55k|    #undef KWTUPLE
  617|  3.55k|    PyObject *argsbuf[1];
  618|  3.55k|    PyObject * const *fastargs;
  619|  3.55k|    Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|  3.55k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.55k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.55k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  620|  3.55k|    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: 3.55k]
  ------------------
  621|  3.55k|    PyObject *initvalue = NULL;
  622|       |
  623|  3.55k|    fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser,
  ------------------
  |  |   88|  3.55k|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 3.55k, Folded]
  |  |  |  Branch (88:23): [True: 3.55k, False: 0]
  |  |  |  Branch (88:43): [True: 0, Folded]
  |  |  ------------------
  |  |   89|  3.55k|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 3.55k, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 3.55k]
  |  |  |  Branch (89:43): [True: 3.55k, False: 0]
  |  |  |  Branch (89:67): [True: 3.55k, False: 0]
  |  |  ------------------
  |  |   90|  3.55k|      (args) : \
  |  |   91|  3.55k|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  624|  3.55k|            /*minpos*/ 0, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  625|  3.55k|    if (!fastargs) {
  ------------------
  |  Branch (625:9): [True: 0, False: 3.55k]
  ------------------
  626|      0|        goto exit;
  627|      0|    }
  628|  3.55k|    if (!noptargs) {
  ------------------
  |  Branch (628:9): [True: 3.43k, False: 115]
  ------------------
  629|  3.43k|        goto skip_optional_pos;
  630|  3.43k|    }
  631|    115|    initvalue = fastargs[0];
  632|  3.55k|skip_optional_pos:
  633|  3.55k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  3.55k|    {
  ------------------
  634|  3.55k|    return_value = _io_BytesIO___init___impl((bytesio *)self, initvalue);
  635|  3.55k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  3.55k|    }
  ------------------
  636|       |
  637|  3.55k|exit:
  638|  3.55k|    return return_value;
  639|  3.55k|}

fileio.c:_io_FileIO_readall:
  287|  3.98k|{
  288|  3.98k|    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 (288:9): [True: 0, False: 3.98k]
  |  Branch (288:19): [True: 0, False: 3.98k]
  ------------------
  289|      0|        PyErr_SetString(PyExc_TypeError, "readall() takes no arguments");
  290|      0|        return NULL;
  291|      0|    }
  292|  3.98k|    return _io_FileIO_readall_impl((fileio *)self, cls);
  293|  3.98k|}
fileio.c:_io_FileIO_readinto:
  229|     18|{
  230|     18|    PyObject *return_value = NULL;
  231|     18|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  232|     18|    #  define KWTUPLE (PyObject *)&_Py_SINGLETON(tuple_empty)
  233|       |    #else
  234|       |    #  define KWTUPLE NULL
  235|       |    #endif
  236|       |
  237|     18|    static const char * const _keywords[] = {"", NULL};
  238|     18|    static _PyArg_Parser _parser = {
  239|     18|        .keywords = _keywords,
  240|     18|        .fname = "readinto",
  241|     18|        .kwtuple = KWTUPLE,
  ------------------
  |  |  232|     18|    #  define KWTUPLE (PyObject *)&_Py_SINGLETON(tuple_empty)
  |  |  ------------------
  |  |  |  |   18|     18|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     18|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  242|     18|    };
  243|     18|    #undef KWTUPLE
  244|     18|    PyObject *argsbuf[1];
  245|     18|    Py_buffer buffer = {NULL, NULL};
  246|       |
  247|     18|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|     18|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 18, False: 0]
  |  |  ------------------
  |  |   89|     18|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 18, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 18]
  |  |  |  Branch (89:43): [True: 18, False: 0]
  |  |  |  Branch (89:67): [True: 18, False: 0]
  |  |  ------------------
  |  |   90|     18|      (args) : \
  |  |   91|     18|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  248|     18|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  249|     18|    if (!args) {
  ------------------
  |  Branch (249:9): [True: 0, False: 18]
  ------------------
  250|      0|        goto exit;
  251|      0|    }
  252|     18|    if (PyObject_GetBuffer(args[0], &buffer, PyBUF_WRITABLE) < 0) {
  ------------------
  |  |  109|     18|#define PyBUF_WRITABLE 0x0001
  ------------------
  |  Branch (252:9): [True: 0, False: 18]
  ------------------
  253|      0|        _PyArg_BadArgument("readinto", "argument 1", "read-write bytes-like object", args[0]);
  254|      0|        goto exit;
  255|      0|    }
  256|     18|    return_value = _io_FileIO_readinto_impl((fileio *)self, cls, &buffer);
  257|       |
  258|     18|exit:
  259|       |    /* Cleanup for buffer */
  260|     18|    if (buffer.obj) {
  ------------------
  |  Branch (260:9): [True: 18, False: 0]
  ------------------
  261|     18|       PyBuffer_Release(&buffer);
  262|     18|    }
  263|       |
  264|     18|    return return_value;
  265|     18|}
fileio.c:_io_FileIO_write:
  372|  4.35k|{
  373|  4.35k|    PyObject *return_value = NULL;
  374|  4.35k|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  375|  4.35k|    #  define KWTUPLE (PyObject *)&_Py_SINGLETON(tuple_empty)
  376|       |    #else
  377|       |    #  define KWTUPLE NULL
  378|       |    #endif
  379|       |
  380|  4.35k|    static const char * const _keywords[] = {"", NULL};
  381|  4.35k|    static _PyArg_Parser _parser = {
  382|  4.35k|        .keywords = _keywords,
  383|  4.35k|        .fname = "write",
  384|  4.35k|        .kwtuple = KWTUPLE,
  ------------------
  |  |  375|  4.35k|    #  define KWTUPLE (PyObject *)&_Py_SINGLETON(tuple_empty)
  |  |  ------------------
  |  |  |  |   18|  4.35k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.35k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  385|  4.35k|    };
  386|  4.35k|    #undef KWTUPLE
  387|  4.35k|    PyObject *argsbuf[1];
  388|  4.35k|    Py_buffer b = {NULL, NULL};
  389|       |
  390|  4.35k|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|  4.35k|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 4.35k, False: 0]
  |  |  ------------------
  |  |   89|  4.35k|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 4.35k, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 4.35k]
  |  |  |  Branch (89:43): [True: 4.35k, False: 0]
  |  |  |  Branch (89:67): [True: 4.35k, False: 0]
  |  |  ------------------
  |  |   90|  4.35k|      (args) : \
  |  |   91|  4.35k|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  391|  4.35k|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  392|  4.35k|    if (!args) {
  ------------------
  |  Branch (392:9): [True: 0, False: 4.35k]
  ------------------
  393|      0|        goto exit;
  394|      0|    }
  395|  4.35k|    if (PyObject_GetBuffer(args[0], &b, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|  4.35k|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (395:9): [True: 0, False: 4.35k]
  ------------------
  396|      0|        goto exit;
  397|      0|    }
  398|  4.35k|    return_value = _io_FileIO_write_impl((fileio *)self, cls, &b);
  399|       |
  400|  4.35k|exit:
  401|       |    /* Cleanup for b */
  402|  4.35k|    if (b.obj) {
  ------------------
  |  Branch (402:9): [True: 4.35k, False: 0]
  ------------------
  403|  4.35k|       PyBuffer_Release(&b);
  404|  4.35k|    }
  405|       |
  406|  4.35k|    return return_value;
  407|  4.35k|}
fileio.c:_io_FileIO_tell:
  470|  4.05k|{
  471|  4.05k|    return _io_FileIO_tell_impl((fileio *)self);
  472|  4.05k|}
fileio.c:_io_FileIO_close:
   29|  4.04k|{
   30|  4.04k|    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: 4.04k]
  |  Branch (30:19): [True: 0, False: 4.04k]
  ------------------
   31|      0|        PyErr_SetString(PyExc_TypeError, "close() takes no arguments");
   32|      0|        return NULL;
   33|      0|    }
   34|  4.04k|    return _io_FileIO_close_impl((fileio *)self, cls);
   35|  4.04k|}
fileio.c:_io_FileIO_seekable:
  211|     21|{
  212|     21|    return _io_FileIO_seekable_impl((fileio *)self);
  213|     21|}
fileio.c:_io_FileIO_readable:
  175|  4.00k|{
  176|  4.00k|    return _io_FileIO_readable_impl((fileio *)self);
  177|  4.00k|}
fileio.c:_io_FileIO_writable:
  193|     58|{
  194|     58|    return _io_FileIO_writable_impl((fileio *)self);
  195|     58|}
fileio.c:_io_FileIO_isatty:
  543|      6|{
  544|      6|    return _io_FileIO_isatty_impl((fileio *)self);
  545|      6|}
fileio.c:_io_FileIO___init__:
   61|  4.05k|{
   62|  4.05k|    int return_value = -1;
   63|  4.05k|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
   64|       |
   65|  4.05k|    #define NUM_KEYWORDS 4
   66|  4.05k|    static struct {
   67|  4.05k|        PyGC_Head _this_is_not_used;
   68|  4.05k|        PyObject_VAR_HEAD
   69|  4.05k|        Py_hash_t ob_hash;
   70|  4.05k|        PyObject *ob_item[NUM_KEYWORDS];
   71|  4.05k|    } _kwtuple = {
   72|  4.05k|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|  4.05k|    {                                     \
  |  |   98|  4.05k|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|  4.05k|    {                               \
  |  |  |  |   91|  4.05k|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|  4.05k|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  4.05k|#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.05k|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|  4.05k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|  4.05k|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|  4.05k|        (type)                      \
  |  |  |  |   93|  4.05k|    },
  |  |  ------------------
  |  |   99|  4.05k|        (size)                            \
  |  |  100|  4.05k|    },
  ------------------
   73|  4.05k|        .ob_hash = -1,
   74|  4.05k|        .ob_item = { &_Py_ID(file), &_Py_ID(mode), &_Py_ID(closefd), &_Py_ID(opener), },
  ------------------
  |  |  915|  4.05k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.05k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.05k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(file), &_Py_ID(mode), &_Py_ID(closefd), &_Py_ID(opener), },
  ------------------
  |  |  915|  4.05k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.05k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.05k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(file), &_Py_ID(mode), &_Py_ID(closefd), &_Py_ID(opener), },
  ------------------
  |  |  915|  4.05k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.05k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.05k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(file), &_Py_ID(mode), &_Py_ID(closefd), &_Py_ID(opener), },
  ------------------
  |  |  915|  4.05k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.05k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.05k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   75|  4.05k|    };
   76|  4.05k|    #undef NUM_KEYWORDS
   77|  4.05k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
   78|       |
   79|       |    #else  // !Py_BUILD_CORE
   80|       |    #  define KWTUPLE NULL
   81|       |    #endif  // !Py_BUILD_CORE
   82|       |
   83|  4.05k|    static const char * const _keywords[] = {"file", "mode", "closefd", "opener", NULL};
   84|  4.05k|    static _PyArg_Parser _parser = {
   85|  4.05k|        .keywords = _keywords,
   86|  4.05k|        .fname = "FileIO",
   87|  4.05k|        .kwtuple = KWTUPLE,
  ------------------
  |  |   77|  4.05k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
   88|  4.05k|    };
   89|  4.05k|    #undef KWTUPLE
   90|  4.05k|    PyObject *argsbuf[4];
   91|  4.05k|    PyObject * const *fastargs;
   92|  4.05k|    Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   93|  4.05k|    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 (93:36): [True: 0, False: 4.05k]
  ------------------
   94|  4.05k|    PyObject *nameobj;
   95|  4.05k|    const char *mode = "r";
   96|  4.05k|    int closefd = 1;
   97|  4.05k|    PyObject *opener = Py_None;
  ------------------
  |  |  616|  4.05k|#  define Py_None (&_Py_NoneStruct)
  ------------------
   98|       |
   99|  4.05k|    fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser,
  ------------------
  |  |   88|  4.05k|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 4.05k, Folded]
  |  |  |  Branch (88:23): [True: 4.05k, False: 0]
  |  |  |  Branch (88:43): [True: 0, Folded]
  |  |  ------------------
  |  |   89|  4.05k|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 4.05k, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 4.05k]
  |  |  |  Branch (89:43): [True: 4.05k, False: 0]
  |  |  |  Branch (89:67): [True: 4.05k, False: 0]
  |  |  ------------------
  |  |   90|  4.05k|      (args) : \
  |  |   91|  4.05k|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  100|  4.05k|            /*minpos*/ 1, /*maxpos*/ 4, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  101|  4.05k|    if (!fastargs) {
  ------------------
  |  Branch (101:9): [True: 0, False: 4.05k]
  ------------------
  102|      0|        goto exit;
  103|      0|    }
  104|  4.05k|    nameobj = fastargs[0];
  105|  4.05k|    if (!noptargs) {
  ------------------
  |  Branch (105:9): [True: 0, False: 4.05k]
  ------------------
  106|      0|        goto skip_optional_pos;
  107|      0|    }
  108|  4.05k|    if (fastargs[1]) {
  ------------------
  |  Branch (108:9): [True: 4.05k, False: 0]
  ------------------
  109|  4.05k|        if (!PyUnicode_Check(fastargs[1])) {
  ------------------
  |  |  103|  4.05k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.05k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (109:13): [True: 0, False: 4.05k]
  ------------------
  110|      0|            _PyArg_BadArgument("FileIO", "argument 'mode'", "str", fastargs[1]);
  111|      0|            goto exit;
  112|      0|        }
  113|  4.05k|        Py_ssize_t mode_length;
  114|  4.05k|        mode = PyUnicode_AsUTF8AndSize(fastargs[1], &mode_length);
  115|  4.05k|        if (mode == NULL) {
  ------------------
  |  Branch (115:13): [True: 0, False: 4.05k]
  ------------------
  116|      0|            goto exit;
  117|      0|        }
  118|  4.05k|        if (strlen(mode) != (size_t)mode_length) {
  ------------------
  |  Branch (118:13): [True: 0, False: 4.05k]
  ------------------
  119|      0|            PyErr_SetString(PyExc_ValueError, "embedded null character");
  120|      0|            goto exit;
  121|      0|        }
  122|  4.05k|        if (!--noptargs) {
  ------------------
  |  Branch (122:13): [True: 0, False: 4.05k]
  ------------------
  123|      0|            goto skip_optional_pos;
  124|      0|        }
  125|  4.05k|    }
  126|  4.05k|    if (fastargs[2]) {
  ------------------
  |  Branch (126:9): [True: 4.05k, False: 0]
  ------------------
  127|  4.05k|        closefd = PyObject_IsTrue(fastargs[2]);
  128|  4.05k|        if (closefd < 0) {
  ------------------
  |  Branch (128:13): [True: 0, False: 4.05k]
  ------------------
  129|      0|            goto exit;
  130|      0|        }
  131|  4.05k|        if (!--noptargs) {
  ------------------
  |  Branch (131:13): [True: 0, False: 4.05k]
  ------------------
  132|      0|            goto skip_optional_pos;
  133|      0|        }
  134|  4.05k|    }
  135|  4.05k|    opener = fastargs[3];
  136|  4.05k|skip_optional_pos:
  137|  4.05k|    return_value = _io_FileIO___init___impl((fileio *)self, nameobj, mode, closefd, opener);
  138|       |
  139|  4.05k|exit:
  140|  4.05k|    return return_value;
  141|  4.05k|}

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

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__:
  303|      2|{
  304|      2|    int return_value = -1;
  305|      2|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  306|       |
  307|      2|    #define NUM_KEYWORDS 2
  308|      2|    static struct {
  309|      2|        PyGC_Head _this_is_not_used;
  310|      2|        PyObject_VAR_HEAD
  311|      2|        Py_hash_t ob_hash;
  312|      2|        PyObject *ob_item[NUM_KEYWORDS];
  313|      2|    } _kwtuple = {
  314|      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|    },
  ------------------
  315|      2|        .ob_hash = -1,
  316|      2|        .ob_item = { &_Py_ID(initial_value), &_Py_ID(newline), },
  ------------------
  |  |  915|      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), },
  ------------------
  |  |  915|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  317|      2|    };
  318|      2|    #undef NUM_KEYWORDS
  319|      2|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  320|       |
  321|       |    #else  // !Py_BUILD_CORE
  322|       |    #  define KWTUPLE NULL
  323|       |    #endif  // !Py_BUILD_CORE
  324|       |
  325|      2|    static const char * const _keywords[] = {"initial_value", "newline", NULL};
  326|      2|    static _PyArg_Parser _parser = {
  327|      2|        .keywords = _keywords,
  328|      2|        .fname = "StringIO",
  329|      2|        .kwtuple = KWTUPLE,
  ------------------
  |  |  319|      2|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  330|      2|    };
  331|      2|    #undef KWTUPLE
  332|      2|    PyObject *argsbuf[2];
  333|      2|    PyObject * const *fastargs;
  334|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  335|      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 (335:36): [True: 0, False: 2]
  ------------------
  336|      2|    PyObject *value = NULL;
  337|      2|    PyObject *newline_obj = NULL;
  338|       |
  339|      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)))
  ------------------
  340|      2|            /*minpos*/ 0, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  341|      2|    if (!fastargs) {
  ------------------
  |  Branch (341:9): [True: 0, False: 2]
  ------------------
  342|      0|        goto exit;
  343|      0|    }
  344|      2|    if (!noptargs) {
  ------------------
  |  Branch (344:9): [True: 0, False: 2]
  ------------------
  345|      0|        goto skip_optional_pos;
  346|      0|    }
  347|      2|    if (fastargs[0]) {
  ------------------
  |  Branch (347:9): [True: 2, False: 0]
  ------------------
  348|      2|        value = fastargs[0];
  349|      2|        if (!--noptargs) {
  ------------------
  |  Branch (349:13): [True: 2, False: 0]
  ------------------
  350|      2|            goto skip_optional_pos;
  351|      2|        }
  352|      2|    }
  353|      0|    newline_obj = fastargs[1];
  354|      2|skip_optional_pos:
  355|      2|    return_value = _io_StringIO___init___impl((stringio *)self, value, newline_obj);
  356|       |
  357|      2|exit:
  358|      2|    return return_value;
  359|      2|}

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

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

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

stringio.c:stringio_dealloc:
  631|      2|{
  632|      2|    stringio *self = stringio_CAST(op);
  ------------------
  |  |   49|      2|#define stringio_CAST(op)   ((stringio *)(op))
  ------------------
  633|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  634|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  635|      2|    self->ok = 0;
  636|      2|    if (self->buf) {
  ------------------
  |  Branch (636:9): [True: 2, False: 0]
  ------------------
  637|      2|        PyMem_Free(self->buf);
  638|      2|        self->buf = NULL;
  639|      2|    }
  640|      2|    PyUnicodeWriter_Discard(self->writer);
  641|      2|    (void)stringio_clear(op);
  642|      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]
  |  |  ------------------
  ------------------
  643|      2|    tp->tp_free(self);
  644|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  645|      2|}
stringio.c:stringio_clear:
  620|      2|{
  621|      2|    stringio *self = stringio_CAST(op);
  ------------------
  |  |   49|      2|#define stringio_CAST(op)   ((stringio *)(op))
  ------------------
  622|      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]
  |  |  ------------------
  ------------------
  623|      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]
  |  |  ------------------
  ------------------
  624|      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]
  |  |  ------------------
  ------------------
  625|       |    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]
  |  |  ------------------
  ------------------
  626|      2|    return 0;
  627|      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:
  358|     34|{
  359|     34|    Py_UCS4 *start, *end, old_char;
  360|     34|    Py_ssize_t len, consumed;
  361|       |
  362|       |    /* In case of overseek, return the empty string */
  363|     34|    if (self->pos >= self->string_size)
  ------------------
  |  Branch (363:9): [True: 2, False: 32]
  ------------------
  364|      2|        return Py_GetConstant(Py_CONSTANT_EMPTY_STR);
  ------------------
  |  |  597|      2|#define Py_CONSTANT_EMPTY_STR 7
  ------------------
  365|       |
  366|     32|    start = self->buf + self->pos;
  367|     32|    if (limit < 0 || limit > self->string_size - self->pos)
  ------------------
  |  Branch (367:9): [True: 32, False: 0]
  |  Branch (367:22): [True: 0, False: 0]
  ------------------
  368|     32|        limit = self->string_size - self->pos;
  369|       |
  370|     32|    end = start + limit;
  371|     32|    old_char = *end;
  372|     32|    *end = '\0';
  373|     32|    len = _PyIO_find_line_ending(
  374|     32|        self->readtranslate, self->readuniversal, self->readnl,
  375|     32|        PyUnicode_4BYTE_KIND, (char*)start, (char*)end, &consumed);
  376|     32|    *end = old_char;
  377|       |    /* If we haven't found any line ending, we just return everything
  378|       |       (`consumed` is ignored). */
  379|     32|    if (len < 0)
  ------------------
  |  Branch (379:9): [True: 0, False: 32]
  ------------------
  380|      0|        len = limit;
  381|     32|    self->pos += len;
  382|     32|    return PyUnicode_FromKindAndData(PyUnicode_4BYTE_KIND, start, len);
  383|     34|}
stringio.c:_io_StringIO_readline_impl:
  399|     34|{
  400|     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|    }
  ------------------
  401|     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|    }
  ------------------
  402|     34|    ENSURE_REALIZED(self);
  ------------------
  |  |   72|     34|    if (realize(self) < 0) { \
  |  |  ------------------
  |  |  |  Branch (72:9): [True: 0, False: 34]
  |  |  ------------------
  |  |   73|      0|        return NULL; \
  |  |   74|      0|    }
  ------------------
  403|       |
  404|     34|    return _stringio_readline(self, size);
  405|     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);
  ------------------
  |  |  919|      0|    ((CH) < 128 \
  |  |  ------------------
  |  |  |  Branch (919:6): [True: 0, Folded]
  |  |  ------------------
  |  |  920|      0|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  921|      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|      0|            if (PyUnicodeWriter_WriteStr(self->writer, decoded))
  ------------------
  |  Branch (228:17): [True: 0, False: 0]
  ------------------
  229|      0|                goto fail;
  230|      0|            goto success;
  231|      0|        }
  232|      0|        if (realize(self))
  ------------------
  |  Branch (232:13): [True: 0, False: 0]
  ------------------
  233|      0|            goto fail;
  234|      0|    }
  235|       |
  236|      2|    if (self->pos + len > self->string_size) {
  ------------------
  |  Branch (236:9): [True: 2, False: 0]
  ------------------
  237|      2|        if (resize_buffer(self, self->pos + len) < 0)
  ------------------
  |  Branch (237:13): [True: 0, False: 2]
  ------------------
  238|      0|            goto fail;
  239|      2|    }
  240|       |
  241|      2|    if (self->pos > self->string_size) {
  ------------------
  |  Branch (241:9): [True: 0, False: 2]
  ------------------
  242|       |        /* In case of overseek, pad with null bytes the buffer region between
  243|       |           the end of stream and the current position.
  244|       |
  245|       |          0   lo      string_size                           hi
  246|       |          |   |<---used--->|<----------available----------->|
  247|       |          |   |            <--to pad-->|<---to write--->    |
  248|       |          0   buf                   position
  249|       |
  250|       |        */
  251|      0|        memset(self->buf + self->string_size, '\0',
  252|      0|               (self->pos - self->string_size) * sizeof(Py_UCS4));
  253|      0|    }
  254|       |
  255|       |    /* Copy the data to the internal buffer, overwriting some of the
  256|       |       existing data if self->pos < self->string_size. */
  257|      2|    if (!PyUnicode_AsUCS4(decoded,
  ------------------
  |  Branch (257:9): [True: 0, False: 2]
  ------------------
  258|      2|                          self->buf + self->pos,
  259|      2|                          self->buf_size - self->pos,
  260|      2|                          0))
  261|      0|        goto fail;
  262|       |
  263|      2|success:
  264|       |    /* Set the new length of the internal string if it has changed. */
  265|      2|    self->pos += len;
  266|      2|    if (self->string_size < self->pos)
  ------------------
  |  Branch (266:9): [True: 2, False: 0]
  ------------------
  267|      2|        self->string_size = self->pos;
  268|       |
  269|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  270|      2|    return 0;
  271|       |
  272|      0|fail:
  273|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  274|      0|    return -1;
  275|      2|}
stringio.c:_io_StringIO___init___impl:
  684|      2|{
  685|      2|    const char *newline = "\n";
  686|      2|    Py_ssize_t value_len;
  687|       |
  688|       |    /* Parse the newline argument. We only want to allow unicode objects or
  689|       |       None. */
  690|      2|    if (newline_obj == Py_None) {
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (690:9): [True: 0, False: 2]
  ------------------
  691|      0|        newline = NULL;
  692|      0|    }
  693|      2|    else if (newline_obj) {
  ------------------
  |  Branch (693:14): [True: 0, False: 2]
  ------------------
  694|      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 (694:13): [True: 0, False: 0]
  ------------------
  695|      0|            PyErr_Format(PyExc_TypeError,
  696|      0|                         "newline must be str or None, not %.200s",
  697|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  698|      0|            return -1;
  699|      0|        }
  700|      0|        newline = PyUnicode_AsUTF8(newline_obj);
  701|      0|        if (newline == NULL)
  ------------------
  |  Branch (701:13): [True: 0, False: 0]
  ------------------
  702|      0|            return -1;
  703|      0|    }
  704|       |
  705|      2|    if (newline && newline[0] != '\0'
  ------------------
  |  Branch (705:9): [True: 2, False: 0]
  |  Branch (705:20): [True: 2, False: 0]
  ------------------
  706|      2|        && !(newline[0] == '\n' && newline[1] == '\0')
  ------------------
  |  Branch (706:14): [True: 2, False: 0]
  |  Branch (706:36): [True: 2, False: 0]
  ------------------
  707|      0|        && !(newline[0] == '\r' && newline[1] == '\0')
  ------------------
  |  Branch (707:14): [True: 0, False: 0]
  |  Branch (707:36): [True: 0, False: 0]
  ------------------
  708|      0|        && !(newline[0] == '\r' && newline[1] == '\n' && newline[2] == '\0')) {
  ------------------
  |  Branch (708:14): [True: 0, False: 0]
  |  Branch (708:36): [True: 0, False: 0]
  |  Branch (708:58): [True: 0, False: 0]
  ------------------
  709|      0|        PyErr_Format(PyExc_ValueError,
  710|      0|                     "illegal newline value: %R", newline_obj);
  711|      0|        return -1;
  712|      0|    }
  713|      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 (713:9): [True: 2, False: 0]
  |  Branch (713:18): [True: 2, False: 0]
  |  Branch (713:38): [True: 0, False: 2]
  ------------------
  714|      0|        PyErr_Format(PyExc_TypeError,
  715|      0|                     "initial_value must be str or None, not %.200s",
  716|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  717|      0|        return -1;
  718|      0|    }
  719|       |
  720|      2|    self->ok = 0;
  721|       |
  722|      2|    PyUnicodeWriter_Discard(self->writer);
  723|      2|    self->writer = NULL;
  724|      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]
  |  |  ------------------
  ------------------
  725|      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]
  |  |  ------------------
  ------------------
  726|      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]
  |  |  ------------------
  ------------------
  727|       |
  728|      2|    assert((newline != NULL && newline_obj != Py_None) ||
  729|      2|           (newline == NULL && newline_obj == Py_None));
  730|       |
  731|      2|    if (newline) {
  ------------------
  |  Branch (731:9): [True: 2, False: 0]
  ------------------
  732|      2|        self->readnl = PyUnicode_FromString(newline);
  733|      2|        if (self->readnl == NULL)
  ------------------
  |  Branch (733:13): [True: 0, False: 2]
  ------------------
  734|      0|            return -1;
  735|      2|    }
  736|      2|    self->readuniversal = (newline == NULL || newline[0] == '\0');
  ------------------
  |  Branch (736:28): [True: 0, False: 2]
  |  Branch (736:47): [True: 0, False: 2]
  ------------------
  737|      2|    self->readtranslate = (newline == NULL);
  738|       |    /* If newline == "", we don't translate anything.
  739|       |       If newline == "\n" or newline == None, we translate to "\n", which is
  740|       |       a no-op.
  741|       |       (for newline == None, TextIOWrapper translates to os.linesep, but it
  742|       |       is pointless for StringIO)
  743|       |    */
  744|      2|    if (newline != NULL && newline[0] == '\r') {
  ------------------
  |  Branch (744:9): [True: 2, False: 0]
  |  Branch (744:28): [True: 0, False: 2]
  ------------------
  745|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  746|      0|    }
  747|       |
  748|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  749|      2|    if (self->readuniversal) {
  ------------------
  |  Branch (749:9): [True: 0, False: 2]
  ------------------
  750|      0|        self->decoder = PyObject_CallFunctionObjArgs(
  751|      0|            (PyObject *)module_state->PyIncrementalNewlineDecoder_Type,
  752|      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 (752:22): [True: 0, False: 0]
  ------------------
  753|      0|        if (self->decoder == NULL)
  ------------------
  |  Branch (753:13): [True: 0, False: 0]
  ------------------
  754|      0|            return -1;
  755|      0|    }
  756|       |
  757|       |    /* Now everything is set up, resize buffer to size of initial value,
  758|       |       and copy it */
  759|      2|    self->string_size = 0;
  760|      2|    if (value && value != Py_None)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (760:9): [True: 2, False: 0]
  |  Branch (760:18): [True: 2, False: 0]
  ------------------
  761|      2|        value_len = PyUnicode_GetLength(value);
  762|      0|    else
  763|      0|        value_len = 0;
  764|      2|    if (value_len > 0) {
  ------------------
  |  Branch (764:9): [True: 2, False: 0]
  ------------------
  765|       |        /* This is a heuristic, for newline translation might change
  766|       |           the string length. */
  767|      2|        if (resize_buffer(self, 0) < 0)
  ------------------
  |  Branch (767:13): [True: 0, False: 2]
  ------------------
  768|      0|            return -1;
  769|      2|        self->state = STATE_REALIZED;
  ------------------
  |  |   11|      2|#define STATE_REALIZED 1
  ------------------
  770|      2|        self->pos = 0;
  771|      2|        if (write_str(self, value) < 0)
  ------------------
  |  Branch (771:13): [True: 0, False: 2]
  ------------------
  772|      0|            return -1;
  773|      2|    }
  774|      0|    else {
  775|       |        /* Empty stringio object, we can start by accumulating */
  776|      0|        if (resize_buffer(self, 0) < 0)
  ------------------
  |  Branch (776:13): [True: 0, False: 0]
  ------------------
  777|      0|            return -1;
  778|      0|        self->writer = PyUnicodeWriter_Create(0);
  779|      0|        if (self->writer == NULL) {
  ------------------
  |  Branch (779:13): [True: 0, False: 0]
  ------------------
  780|      0|            return -1;
  781|      0|        }
  782|      0|        self->state = STATE_ACCUMULATING;
  ------------------
  |  |   12|      0|#define STATE_ACCUMULATING 2
  ------------------
  783|      0|    }
  784|      2|    self->pos = 0;
  785|      2|    self->module_state = module_state;
  786|      2|    self->closed = 0;
  787|      2|    self->ok = 1;
  788|      2|    return 0;
  789|      2|}
stringio.c:stringio_new:
  649|      2|{
  650|      2|    stringio *self;
  651|       |
  652|      2|    assert(type != NULL && type->tp_alloc != NULL);
  653|      2|    self = (stringio *)type->tp_alloc(type, 0);
  654|      2|    if (self == NULL)
  ------------------
  |  Branch (654:9): [True: 0, False: 2]
  ------------------
  655|      0|        return NULL;
  656|       |
  657|       |    /* tp_alloc initializes all the fields to zero. So we don't have to
  658|       |       initialize them here. */
  659|       |
  660|      2|    self->buf = (Py_UCS4 *)PyMem_Malloc(0);
  661|      2|    if (self->buf == NULL) {
  ------------------
  |  Branch (661:9): [True: 0, False: 2]
  ------------------
  662|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  663|      0|        return PyErr_NoMemory();
  664|      0|    }
  665|       |
  666|      2|    return (PyObject *)self;
  667|      2|}

_PyIncrementalNewlineDecoder_decode:
  330|     63|{
  331|     63|    PyObject *output;
  332|     63|    Py_ssize_t output_len;
  333|     63|    nldecoder_object *self = nldecoder_object_CAST(myself);
  ------------------
  |  |  229|     63|#define nldecoder_object_CAST(op)   ((nldecoder_object *)(op))
  ------------------
  334|       |
  335|     63|    CHECK_INITIALIZED_DECODER(self);
  ------------------
  |  |  316|     63|    if (self->errors == NULL) { \
  |  |  ------------------
  |  |  |  Branch (316:9): [True: 0, False: 63]
  |  |  ------------------
  |  |  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|     63|    if (self->decoder != Py_None) {
  ------------------
  |  |  616|     63|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (338:9): [True: 63, False: 0]
  ------------------
  339|     63|        output = PyObject_CallMethodObjArgs(self->decoder,
  340|     63|            &_Py_ID(decode), input, final ? Py_True : Py_False, NULL);
  ------------------
  |  |  915|     63|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     63|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     63|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          &_Py_ID(decode), input, final ? Py_True : Py_False, NULL);
  ------------------
  |  |   26|     63|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|      9|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          &_Py_ID(decode), input, final ? Py_True : Py_False, NULL);
  ------------------
  |  |   25|     63|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|     54|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     54|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (340:37): [True: 9, False: 54]
  ------------------
  341|     63|    }
  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|     63|    if (check_decoded(output) < 0)
  ------------------
  |  Branch (346:9): [True: 0, False: 63]
  ------------------
  347|      0|        return NULL;
  348|       |
  349|     63|    output_len = PyUnicode_GET_LENGTH(output);
  ------------------
  |  |  299|     63|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     63|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     63|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  350|     63|    if (self->pendingcr && (final || output_len > 0)) {
  ------------------
  |  Branch (350:9): [True: 0, False: 63]
  |  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|     63|    if (!final) {
  ------------------
  |  Branch (372:9): [True: 54, False: 9]
  ------------------
  373|     54|        if (output_len > 0
  ------------------
  |  Branch (373:13): [True: 54, False: 0]
  ------------------
  374|     54|            && PyUnicode_READ_CHAR(output, output_len - 1) == '\r')
  ------------------
  |  |  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 (374:16): [True: 0, False: 54]
  ------------------
  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|     54|    }
  383|       |
  384|       |    /* Record which newlines are read and do newline translation if desired,
  385|       |       all in one pass. */
  386|     63|    {
  387|     63|        const void *in_str;
  388|     63|        Py_ssize_t len;
  389|     63|        int seennl = self->seennl;
  390|     63|        int only_lf = 0;
  391|     63|        int kind;
  392|       |
  393|     63|        in_str = PyUnicode_DATA(output);
  ------------------
  |  |  284|     63|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     63|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     63|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  394|     63|        len = PyUnicode_GET_LENGTH(output);
  ------------------
  |  |  299|     63|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     63|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     63|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  395|     63|        kind = PyUnicode_KIND(output);
  ------------------
  |  |  258|     63|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|     63|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  396|       |
  397|     63|        if (len == 0)
  ------------------
  |  Branch (397:13): [True: 5, False: 58]
  ------------------
  398|      5|            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|     58|        if (seennl == SEEN_LF || seennl == 0) {
  ------------------
  |  |  323|    116|#define SEEN_LF   2
  ------------------
  |  Branch (403:13): [True: 49, False: 9]
  |  Branch (403:34): [True: 9, False: 0]
  ------------------
  404|     58|            only_lf = (memchr(in_str, '\r', kind * len) == NULL);
  405|     58|        }
  406|       |
  407|     58|        if (only_lf) {
  ------------------
  |  Branch (407:13): [True: 58, 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|     58|            if (seennl == 0 &&
  ------------------
  |  Branch (411:17): [True: 9, False: 49]
  ------------------
  412|      9|                memchr(in_str, '\n', kind * len) != NULL) {
  ------------------
  |  Branch (412:17): [True: 9, False: 0]
  ------------------
  413|      9|                if (kind == PyUnicode_1BYTE_KIND)
  ------------------
  |  Branch (413:21): [True: 9, False: 0]
  ------------------
  414|      9|                    seennl |= SEEN_LF;
  ------------------
  |  |  323|      9|#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|      9|            }
  432|       |            /* Finished: we have scanned for newlines, and none of them
  433|       |               need translating */
  434|     58|        }
  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|     58|        self->seennl |= seennl;
  512|     58|    }
  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|     58|}
_PyIO_find_line_ending:
 2124|  10.4k|{
 2125|  10.4k|    Py_ssize_t len = (end - start)/kind;
 2126|       |
 2127|  10.4k|    if (translated) {
  ------------------
  |  Branch (2127:9): [True: 10.4k, False: 32]
  ------------------
 2128|       |        /* Newlines are already translated, only search for \n */
 2129|  10.4k|        const char *pos = find_control_char(kind, start, end, '\n');
 2130|  10.4k|        if (pos != NULL)
  ------------------
  |  Branch (2130:13): [True: 10.3k, False: 54]
  ------------------
 2131|  10.3k|            return (pos - start)/kind + 1;
 2132|     54|        else {
 2133|     54|            *consumed = len;
 2134|     54|            return -1;
 2135|     54|        }
 2136|  10.4k|    }
 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|  10.4k|}
textio.c:check_decoded:
  302|    126|{
  303|    126|    if (decoded == NULL)
  ------------------
  |  Branch (303:9): [True: 0, False: 126]
  ------------------
  304|      0|        return -1;
  305|    126|    if (!PyUnicode_Check(decoded)) {
  ------------------
  |  |  103|    126|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    126|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (305:9): [True: 0, False: 126]
  ------------------
  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|    126|    return 0;
  313|    126|}
textio.c:find_control_char:
 2104|  10.4k|{
 2105|  10.4k|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (2105:9): [True: 10.0k, False: 388]
  ------------------
 2106|  10.0k|        assert(ch < 256);
 2107|  10.0k|        return (char *) memchr((const void *) s, (char) ch, end - s);
 2108|  10.0k|    }
 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|      9|{
  292|      9|    nldecoder_object *self = nldecoder_object_CAST(op);
  ------------------
  |  |  229|      9|#define nldecoder_object_CAST(op)   ((nldecoder_object *)(op))
  ------------------
  293|      9|    PyTypeObject *tp = Py_TYPE(self);
  ------------------
  |  |  213|      9|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      9|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  294|      9|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  510|      9|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      9|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  295|      9|    (void)incrementalnewlinedecoder_clear(op);
  296|      9|    tp->tp_free(self);
  297|      9|    Py_DECREF(tp);
  ------------------
  |  |  430|      9|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      9|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  298|      9|}
textio.c:incrementalnewlinedecoder_clear:
  282|      9|{
  283|      9|    nldecoder_object *self = nldecoder_object_CAST(op);
  ------------------
  |  |  229|      9|#define nldecoder_object_CAST(op)   ((nldecoder_object *)(op))
  ------------------
  284|      9|    Py_CLEAR(self->decoder);
  ------------------
  |  |  484|      9|    do { \
  |  |  485|      9|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      9|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      9|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      9|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      9|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 9, False: 0]
  |  |  ------------------
  |  |  488|      9|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      9|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      9|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      9|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      9|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      9|        } \
  |  |  491|      9|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 9]
  |  |  ------------------
  ------------------
  285|       |    Py_CLEAR(self->errors);
  ------------------
  |  |  484|      9|    do { \
  |  |  485|      9|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      9|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      9|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      9|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      9|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 9, False: 0]
  |  |  ------------------
  |  |  488|      9|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      9|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      9|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      9|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      9|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      9|        } \
  |  |  491|      9|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 9]
  |  |  ------------------
  ------------------
  286|      9|    return 0;
  287|      9|}
textio.c:_io_IncrementalNewlineDecoder___init___impl:
  252|      9|{
  253|       |
  254|      9|    if (errors == NULL) {
  ------------------
  |  Branch (254:9): [True: 9, False: 0]
  ------------------
  255|      9|        errors = &_Py_ID(strict);
  ------------------
  |  |  915|      9|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      9|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      9|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  256|      9|    }
  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|      9|    Py_XSETREF(self->errors, errors);
  ------------------
  |  |  374|      9|    do { \
  |  |  375|      9|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      9|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|      9|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      9|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|      9|        *_tmp_dst_ptr = (src); \
  |  |  378|      9|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|      9|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      9|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|      9|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 9]
  |  |  ------------------
  ------------------
  262|      9|    Py_XSETREF(self->decoder, Py_NewRef(decoder));
  ------------------
  |  |  374|      9|    do { \
  |  |  375|      9|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      9|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|      9|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      9|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|      9|        *_tmp_dst_ptr = (src); \
  |  |  378|      9|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|      9|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      9|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|      9|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 9]
  |  |  ------------------
  ------------------
  263|      9|    self->translate = translate ? 1 : 0;
  ------------------
  |  Branch (263:23): [True: 9, False: 0]
  ------------------
  264|      9|    self->seennl = 0;
  265|      9|    self->pendingcr = 0;
  266|       |
  267|      9|    return 0;
  268|      9|}
textio.c:textiowrapper_dealloc:
 1470|     10|{
 1471|     10|    textio *self = textio_CAST(op);
  ------------------
  |  |  730|     10|#define textio_CAST(op) ((textio *)(op))
  ------------------
 1472|     10|    PyTypeObject *tp = Py_TYPE(self);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1473|     10|    self->finalizing = 1;
 1474|     10|    if (_PyIOBase_finalize(op) < 0)
  ------------------
  |  Branch (1474:9): [True: 0, False: 10]
  ------------------
 1475|      0|        return;
 1476|     10|    self->ok = 0;
 1477|     10|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  510|     10|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1478|     10|    FT_CLEAR_WEAKREFS(op, self->weakreflist);
  ------------------
  |  |   47|     10|    do {                                            \
  |  |   48|     10|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|     10|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 10]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|     10|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 10]
  |  |  ------------------
  ------------------
 1479|     10|    (void)textiowrapper_clear(op);
 1480|     10|    tp->tp_free(self);
 1481|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1482|     10|}
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|     10|{
 1451|     10|    textio *self = textio_CAST(op);
  ------------------
  |  |  730|     10|#define textio_CAST(op) ((textio *)(op))
  ------------------
 1452|     10|    self->ok = 0;
 1453|     10|    Py_CLEAR(self->buffer);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 1454|     10|    Py_CLEAR(self->encoding);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 1455|     10|    Py_CLEAR(self->encoder);
  ------------------
  |  |  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: 1, False: 9]
  |  |  ------------------
  |  |  488|      1|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      1|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      1|            Py_DECREF(_tmp_old_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      1|        } \
  |  |  491|     10|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 10]
  |  |  ------------------
  ------------------
 1456|     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: 9, False: 1]
  |  |  ------------------
  |  |  488|      9|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|      9|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|      9|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|      9|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      9|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|      9|        } \
  |  |  491|     10|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 10]
  |  |  ------------------
  ------------------
 1457|     10|    Py_CLEAR(self->readnl);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 1458|     10|    Py_CLEAR(self->decoded_chars);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 1459|     10|    Py_CLEAR(self->pending_bytes);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 1460|     10|    Py_CLEAR(self->snapshot);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 1461|     10|    Py_CLEAR(self->errors);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 1462|     10|    Py_CLEAR(self->raw);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 1463|       |
 1464|       |    Py_CLEAR(self->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]
  |  |  ------------------
  ------------------
 1465|     10|    return 0;
 1466|     10|}
textio.c:textiowrapper_iternext:
 3226|  10.3k|{
 3227|  10.3k|    PyObject *result;
 3228|  10.3k|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|  10.3k|    {
  ------------------
 3229|  10.3k|    result = textiowrapper_iternext_lock_held(op);
 3230|  10.3k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  10.3k|    }
  ------------------
 3231|  10.3k|    return result;
 3232|  10.3k|}
textio.c:textiowrapper_iternext_lock_held:
 3187|  10.3k|{
 3188|  10.3k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(op);
 3189|  10.3k|    PyObject *line;
 3190|  10.3k|    textio *self = textio_CAST(op);
  ------------------
  |  |  730|  10.3k|#define textio_CAST(op) ((textio *)(op))
  ------------------
 3191|       |
 3192|  10.3k|    CHECK_ATTACHED(self);
  ------------------
  |  | 1542|  10.3k|    CHECK_INITIALIZED(self); \
  |  |  ------------------
  |  |  |  | 1535|  10.3k|    if (self->ok <= 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1535:9): [True: 0, False: 10.3k]
  |  |  |  |  ------------------
  |  |  |  | 1536|      0|        PyErr_SetString(PyExc_ValueError, \
  |  |  |  | 1537|      0|            "I/O operation on uninitialized object"); \
  |  |  |  | 1538|      0|        return NULL; \
  |  |  |  | 1539|      0|    }
  |  |  ------------------
  |  | 1543|  10.3k|    if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (1543:9): [True: 0, False: 10.3k]
  |  |  ------------------
  |  | 1544|      0|        PyErr_SetString(PyExc_ValueError, \
  |  | 1545|      0|             "underlying buffer has been detached"); \
  |  | 1546|      0|        return NULL; \
  |  | 1547|      0|    }
  ------------------
 3193|       |
 3194|  10.3k|    self->telling = 0;
 3195|  10.3k|    if (Py_IS_TYPE(self, self->state->PyTextIOWrapper_Type)) {
  ------------------
  |  |  215|  10.3k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  10.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 10.3k, False: 0]
  |  |  ------------------
  ------------------
 3196|       |        /* Skip method call overhead for speed */
 3197|  10.3k|        line = _textiowrapper_readline(self, -1);
 3198|  10.3k|    }
 3199|      0|    else {
 3200|      0|        line = PyObject_CallMethodNoArgs(op, &_Py_ID(readline));
  ------------------
  |  |  915|      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|  10.3k|    if (line == NULL)
  ------------------
  |  Branch (3210:9): [True: 0, False: 10.3k]
  ------------------
 3211|      0|        return NULL;
 3212|       |
 3213|  10.3k|    if (PyUnicode_GET_LENGTH(line) == 0) {
  ------------------
  |  |  299|  10.3k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3213:9): [True: 5, False: 10.3k]
  ------------------
 3214|       |        /* Reached EOF or would have blocked */
 3215|      5|        Py_DECREF(line);
  ------------------
  |  |  430|      5|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3216|      5|        Py_CLEAR(self->snapshot);
  ------------------
  |  |  484|      5|    do { \
  |  |  485|      5|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      5|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      5|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      5|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      5|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 5]
  |  |  ------------------
  |  |  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|      5|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 5]
  |  |  ------------------
  ------------------
 3217|      5|        self->telling = self->seekable;
 3218|      5|        return NULL;
 3219|      5|    }
 3220|       |
 3221|  10.3k|    return line;
 3222|  10.3k|}
textio.c:_textiowrapper_readline:
 2208|  10.3k|{
 2209|  10.3k|    PyObject *line = NULL, *chunks = NULL, *remaining = NULL;
 2210|  10.3k|    Py_ssize_t start, endpos, chunked, offset_to_buffer;
 2211|  10.3k|    int res;
 2212|       |
 2213|  10.3k|    CHECK_CLOSED(self);
  ------------------
  |  | 1509|  10.3k|    do { \
  |  | 1510|  10.3k|        int r; \
  |  | 1511|  10.3k|        PyObject *_res; \
  |  | 1512|  10.3k|        if (Py_IS_TYPE(self, self->state->PyTextIOWrapper_Type)) { \
  |  |  ------------------
  |  |  |  |  215|  10.3k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  10.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  10.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 10.3k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1513|  10.3k|            if (self->raw != NULL) \
  |  |  ------------------
  |  |  |  Branch (1513:17): [True: 10.3k, False: 0]
  |  |  ------------------
  |  | 1514|  10.3k|                r = _PyFileIO_closed(self->raw); \
  |  | 1515|  10.3k|            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|  10.3k|            if (r > 0) { \
  |  |  ------------------
  |  |  |  Branch (1524:17): [True: 0, False: 10.3k]
  |  |  ------------------
  |  | 1525|      0|                PyErr_SetString(PyExc_ValueError, \
  |  | 1526|      0|                                "I/O operation on closed file."); \
  |  | 1527|      0|                return NULL; \
  |  | 1528|      0|            } \
  |  | 1529|  10.3k|        } \
  |  | 1530|  10.3k|        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|  10.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1532:14): [Folded, False: 10.3k]
  |  |  ------------------
  ------------------
 2214|       |
 2215|  10.3k|    if (_textiowrapper_writeflush(self) < 0)
  ------------------
  |  Branch (2215:9): [True: 0, False: 10.3k]
  ------------------
 2216|      0|        return NULL;
 2217|       |
 2218|  10.3k|    chunked = 0;
 2219|       |
 2220|  10.4k|    while (1) {
  ------------------
  |  Branch (2220:12): [True: 10.4k, Folded]
  ------------------
 2221|  10.4k|        const char *ptr;
 2222|  10.4k|        Py_ssize_t line_len;
 2223|  10.4k|        int kind;
 2224|  10.4k|        Py_ssize_t consumed = 0;
 2225|       |
 2226|       |        /* First, get some data if necessary */
 2227|  10.4k|        res = 1;
 2228|  10.4k|        while (!self->decoded_chars ||
  ------------------
  |  Branch (2228:16): [True: 59, False: 10.4k]
  ------------------
 2229|  10.4k|               !PyUnicode_GET_LENGTH(self->decoded_chars)) {
  ------------------
  |  |  299|  10.4k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2229:16): [True: 0, False: 10.4k]
  ------------------
 2230|     59|            res = textiowrapper_read_chunk(self, 0);
 2231|     59|            if (res < 0) {
  ------------------
  |  Branch (2231:17): [True: 0, False: 59]
  ------------------
 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|     59|            if (res == 0)
  ------------------
  |  Branch (2239:17): [True: 5, False: 54]
  ------------------
 2240|      5|                break;
 2241|     59|        }
 2242|  10.4k|        if (res == 0) {
  ------------------
  |  Branch (2242:13): [True: 5, False: 10.4k]
  ------------------
 2243|       |            /* end of file */
 2244|      5|            textiowrapper_set_decoded_chars(self, NULL);
 2245|      5|            Py_CLEAR(self->snapshot);
  ------------------
  |  |  484|      5|    do { \
  |  |  485|      5|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      5|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      5|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      5|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      5|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 5]
  |  |  ------------------
  |  |  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|      5|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 5]
  |  |  ------------------
  ------------------
 2246|      5|            start = endpos = offset_to_buffer = 0;
 2247|      5|            break;
 2248|      5|        }
 2249|       |
 2250|  10.4k|        if (remaining == NULL) {
  ------------------
  |  Branch (2250:13): [True: 10.4k, False: 0]
  ------------------
 2251|  10.4k|            line = Py_NewRef(self->decoded_chars);
  ------------------
  |  |  550|  10.4k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  10.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2252|  10.4k|            start = self->decoded_chars_used;
 2253|  10.4k|            offset_to_buffer = 0;
 2254|  10.4k|        }
 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|  10.4k|        ptr = PyUnicode_DATA(line);
  ------------------
  |  |  284|  10.4k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2266|  10.4k|        line_len = PyUnicode_GET_LENGTH(line);
  ------------------
  |  |  299|  10.4k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2267|  10.4k|        kind = PyUnicode_KIND(line);
  ------------------
  |  |  258|  10.4k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  10.4k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2268|       |
 2269|  10.4k|        endpos = _PyIO_find_line_ending(
 2270|  10.4k|            self->readtranslate, self->readuniversal, self->readnl,
 2271|  10.4k|            kind,
 2272|  10.4k|            ptr + kind * start,
 2273|  10.4k|            ptr + kind * line_len,
 2274|  10.4k|            &consumed);
 2275|  10.4k|        if (endpos >= 0) {
  ------------------
  |  Branch (2275:13): [True: 10.3k, False: 54]
  ------------------
 2276|  10.3k|            endpos += start;
 2277|  10.3k|            if (limit >= 0 && (endpos - start) + chunked >= limit)
  ------------------
  |  Branch (2277:17): [True: 0, False: 10.3k]
  |  Branch (2277:31): [True: 0, False: 0]
  ------------------
 2278|      0|                endpos = start + limit - chunked;
 2279|  10.3k|            break;
 2280|  10.3k|        }
 2281|       |
 2282|       |        /* We can put aside up to `endpos` */
 2283|     54|        endpos = consumed + start;
 2284|     54|        if (limit >= 0 && (endpos - start) + chunked >= limit) {
  ------------------
  |  Branch (2284:13): [True: 0, False: 54]
  |  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|     54|        if (endpos > start) {
  ------------------
  |  Branch (2290:13): [True: 49, False: 5]
  ------------------
 2291|       |            /* No line ending seen yet - put aside current data */
 2292|     49|            PyObject *s;
 2293|     49|            if (chunks == NULL) {
  ------------------
  |  Branch (2293:17): [True: 49, False: 0]
  ------------------
 2294|     49|                chunks = PyList_New(0);
 2295|     49|                if (chunks == NULL)
  ------------------
  |  Branch (2295:21): [True: 0, False: 49]
  ------------------
 2296|      0|                    goto error;
 2297|     49|            }
 2298|     49|            s = PyUnicode_Substring(line, start, endpos);
 2299|     49|            if (s == NULL)
  ------------------
  |  Branch (2299:17): [True: 0, False: 49]
  ------------------
 2300|      0|                goto error;
 2301|     49|            if (PyList_Append(chunks, s) < 0) {
  ------------------
  |  Branch (2301:17): [True: 0, False: 49]
  ------------------
 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|     49|            chunked += PyUnicode_GET_LENGTH(s);
  ------------------
  |  |  299|     49|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     49|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     49|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2306|     49|            Py_DECREF(s);
  ------------------
  |  |  430|     49|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     49|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     49|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2307|     49|        }
 2308|       |        /* There may be some remaining bytes we'll have to prepend to the
 2309|       |           next chunk of data */
 2310|     54|        if (endpos < line_len) {
  ------------------
  |  Branch (2310:13): [True: 0, False: 54]
  ------------------
 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|     54|        Py_CLEAR(line);
  ------------------
  |  |  484|     54|    do { \
  |  |  485|     54|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     54|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     54|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     54|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     54|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 54, False: 0]
  |  |  ------------------
  |  |  488|     54|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     54|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     54|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|     54|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     54|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     54|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     54|        } \
  |  |  491|     54|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 54]
  |  |  ------------------
  ------------------
 2316|       |        /* We have consumed the buffer */
 2317|     54|        textiowrapper_set_decoded_chars(self, NULL);
 2318|     54|    }
 2319|       |
 2320|  10.3k|    if (line != NULL) {
  ------------------
  |  Branch (2320:9): [True: 10.3k, False: 5]
  ------------------
 2321|       |        /* Our line ends in the current buffer */
 2322|  10.3k|        self->decoded_chars_used = endpos - offset_to_buffer;
 2323|  10.3k|        if (start > 0 || endpos < PyUnicode_GET_LENGTH(line)) {
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2323:13): [True: 10.3k, False: 54]
  |  Branch (2323:26): [True: 54, False: 0]
  ------------------
 2324|  10.3k|            PyObject *s = PyUnicode_Substring(line, start, endpos);
 2325|  10.3k|            Py_CLEAR(line);
  ------------------
  |  |  484|  10.3k|    do { \
  |  |  485|  10.3k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  10.3k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  10.3k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  10.3k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  10.3k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 10.3k, False: 0]
  |  |  ------------------
  |  |  488|  10.3k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  10.3k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  10.3k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  10.3k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  10.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  10.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  10.3k|        } \
  |  |  491|  10.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 10.3k]
  |  |  ------------------
  ------------------
 2326|  10.3k|            if (s == NULL)
  ------------------
  |  Branch (2326:17): [True: 0, False: 10.3k]
  ------------------
 2327|      0|                goto error;
 2328|  10.3k|            line = s;
 2329|  10.3k|        }
 2330|  10.3k|    }
 2331|  10.3k|    if (remaining != NULL) {
  ------------------
  |  Branch (2331:9): [True: 0, False: 10.3k]
  ------------------
 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|  10.3k|    if (chunks != NULL) {
  ------------------
  |  Branch (2341:9): [True: 49, False: 10.3k]
  ------------------
 2342|     49|        if (line != NULL) {
  ------------------
  |  Branch (2342:13): [True: 49, False: 0]
  ------------------
 2343|     49|            if (PyList_Append(chunks, line) < 0)
  ------------------
  |  Branch (2343:17): [True: 0, False: 49]
  ------------------
 2344|      0|                goto error;
 2345|     49|            Py_DECREF(line);
  ------------------
  |  |  430|     49|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     49|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     49|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2346|     49|        }
 2347|     49|        line = PyUnicode_Join(&_Py_STR(empty), chunks);
  ------------------
  |  |  917|     49|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     49|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     49|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2348|     49|        if (line == NULL)
  ------------------
  |  Branch (2348:13): [True: 0, False: 49]
  ------------------
 2349|      0|            goto error;
 2350|     49|        Py_CLEAR(chunks);
  ------------------
  |  |  484|     49|    do { \
  |  |  485|     49|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     49|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     49|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     49|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     49|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 49, False: 0]
  |  |  ------------------
  |  |  488|     49|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     49|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     49|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|     49|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     49|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     49|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     49|        } \
  |  |  491|     49|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 49]
  |  |  ------------------
  ------------------
 2351|     49|    }
 2352|  10.3k|    if (line == NULL) {
  ------------------
  |  Branch (2352:9): [True: 5, False: 10.3k]
  ------------------
 2353|      5|        line = &_Py_STR(empty);
  ------------------
  |  |  917|      5|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      5|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      5|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2354|      5|    }
 2355|       |
 2356|  10.3k|    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|  10.3k|}
textio.c:_io_TextIOWrapper_closed_get_impl:
 3257|     35|{
 3258|     35|    CHECK_ATTACHED(self);
  ------------------
  |  | 1542|     35|    CHECK_INITIALIZED(self); \
  |  |  ------------------
  |  |  |  | 1535|     35|    if (self->ok <= 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1535:9): [True: 0, False: 35]
  |  |  |  |  ------------------
  |  |  |  | 1536|      0|        PyErr_SetString(PyExc_ValueError, \
  |  |  |  | 1537|      0|            "I/O operation on uninitialized object"); \
  |  |  |  | 1538|      0|        return NULL; \
  |  |  |  | 1539|      0|    }
  |  |  ------------------
  |  | 1543|     35|    if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (1543:9): [True: 0, False: 35]
  |  |  ------------------
  |  | 1544|      0|        PyErr_SetString(PyExc_ValueError, \
  |  | 1545|      0|             "underlying buffer has been detached"); \
  |  | 1546|      0|        return NULL; \
  |  | 1547|      0|    }
  ------------------
 3259|     35|    return PyObject_GetAttr(self->buffer, &_Py_ID(closed));
  ------------------
  |  |  915|     35|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     35|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     35|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3260|     35|}
textio.c:_textiowrapper_writeflush:
 1585|  14.6k|{
 1586|  14.6k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(self);
 1587|       |
 1588|  14.6k|    if (self->pending_bytes == NULL)
  ------------------
  |  Branch (1588:9): [True: 10.3k, False: 4.30k]
  ------------------
 1589|  10.3k|        return 0;
 1590|       |
 1591|  4.30k|    PyObject *pending = self->pending_bytes;
 1592|  4.30k|    PyObject *b;
 1593|       |
 1594|  4.30k|    if (PyBytes_Check(pending)) {
  ------------------
  |  |   28|  4.30k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.30k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 2.49k, False: 1.81k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1595|  2.49k|        b = Py_NewRef(pending);
  ------------------
  |  |  550|  2.49k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.49k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.49k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1596|  2.49k|    }
 1597|  1.81k|    else if (PyUnicode_Check(pending)) {
  ------------------
  |  |  103|  1.81k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.81k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 1.81k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1598|  1.81k|        assert(PyUnicode_IS_ASCII(pending));
 1599|  1.81k|        assert(PyUnicode_GET_LENGTH(pending) == self->pending_bytes_count);
 1600|  1.81k|        b = PyBytes_FromStringAndSize(
 1601|  1.81k|                PyUnicode_DATA(pending), PyUnicode_GET_LENGTH(pending));
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                              PyUnicode_DATA(pending), PyUnicode_GET_LENGTH(pending));
  ------------------
  |  |  299|  1.81k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.81k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.81k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1602|  1.81k|        if (b == NULL) {
  ------------------
  |  Branch (1602:13): [True: 0, False: 1.81k]
  ------------------
 1603|      0|            return -1;
 1604|      0|        }
 1605|  1.81k|    }
 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|  4.30k|    self->pending_bytes_count = 0;
 1639|  4.30k|    self->pending_bytes = NULL;
 1640|  4.30k|    Py_DECREF(pending);
  ------------------
  |  |  430|  4.30k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1641|       |
 1642|  4.30k|    PyObject *ret;
 1643|  4.30k|    do {
 1644|  4.30k|        ret = PyObject_CallMethodOneArg(self->buffer, &_Py_ID(write), b);
  ------------------
  |  |  915|  4.30k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.30k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.30k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1645|  4.30k|    } while (ret == NULL && _PyIO_trap_eintr());
  ------------------
  |  Branch (1645:14): [True: 0, False: 4.30k]
  |  Branch (1645:29): [True: 0, False: 0]
  ------------------
 1646|  4.30k|    Py_DECREF(b);
  ------------------
  |  |  430|  4.30k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.30k|#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|  4.30k|    if (ret == NULL)
  ------------------
  |  Branch (1649:9): [True: 0, False: 4.30k]
  ------------------
 1650|      0|        return -1;
 1651|  4.30k|    Py_DECREF(ret);
  ------------------
  |  |  430|  4.30k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1652|  4.30k|    return 0;
 1653|  4.30k|}
textio.c:textiowrapper_read_chunk:
 1855|     59|{
 1856|     59|    PyObject *dec_buffer = NULL;
 1857|     59|    PyObject *dec_flags = NULL;
 1858|     59|    PyObject *input_chunk = NULL;
 1859|     59|    Py_buffer input_chunk_buf;
 1860|     59|    PyObject *decoded_chars, *chunk_size;
 1861|     59|    Py_ssize_t nbytes, nchars;
 1862|     59|    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|     59|    if (self->decoder == NULL) {
  ------------------
  |  Branch (1870:9): [True: 0, False: 59]
  ------------------
 1871|      0|        _unsupported(self->state, "not readable");
 1872|      0|        return -1;
 1873|      0|    }
 1874|       |
 1875|     59|    if (self->telling) {
  ------------------
  |  Branch (1875:9): [True: 0, False: 59]
  ------------------
 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));
  ------------------
  |  |  915|      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|     59|    if (size_hint > 0) {
  ------------------
  |  Branch (1913:9): [True: 0, False: 59]
  ------------------
 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|     59|    chunk_size = PyLong_FromSsize_t(Py_MAX(self->chunk_size, size_hint));
  ------------------
  |  |  115|     59|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 59, False: 0]
  |  |  ------------------
  ------------------
 1917|     59|    if (chunk_size == NULL)
  ------------------
  |  Branch (1917:9): [True: 0, False: 59]
  ------------------
 1918|      0|        goto fail;
 1919|       |
 1920|     59|    input_chunk = PyObject_CallMethodOneArg(self->buffer,
 1921|     59|        (self->has_read1 ? &_Py_ID(read1): &_Py_ID(read)),
  ------------------
  |  |  915|     59|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     59|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     59|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      (self->has_read1 ? &_Py_ID(read1): &_Py_ID(read)),
  ------------------
  |  |  915|      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: 59, False: 0]
  ------------------
 1922|     59|        chunk_size);
 1923|     59|    Py_DECREF(chunk_size);
  ------------------
  |  |  430|     59|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     59|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     59|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1924|     59|    if (input_chunk == NULL)
  ------------------
  |  Branch (1924:9): [True: 0, False: 59]
  ------------------
 1925|      0|        goto fail;
 1926|       |
 1927|     59|    if (PyObject_GetBuffer(input_chunk, &input_chunk_buf, 0) != 0) {
  ------------------
  |  Branch (1927:9): [True: 0, False: 59]
  ------------------
 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|     59|    nbytes = input_chunk_buf.len;
 1936|     59|    eof = (nbytes == 0);
 1937|       |
 1938|     59|    decoded_chars = _textiowrapper_decode(self->state, self->decoder,
 1939|     59|                                          input_chunk, eof);
 1940|     59|    PyBuffer_Release(&input_chunk_buf);
 1941|     59|    if (decoded_chars == NULL)
  ------------------
  |  Branch (1941:9): [True: 0, False: 59]
  ------------------
 1942|      0|        goto fail;
 1943|       |
 1944|     59|    textiowrapper_set_decoded_chars(self, decoded_chars);
 1945|     59|    nchars = PyUnicode_GET_LENGTH(decoded_chars);
  ------------------
  |  |  299|     59|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     59|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     59|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1946|     59|    if (nchars > 0)
  ------------------
  |  Branch (1946:9): [True: 54, False: 5]
  ------------------
 1947|     54|        self->b2cratio = (double) nbytes / nchars;
 1948|      5|    else
 1949|      5|        self->b2cratio = 0.0;
 1950|     59|    if (nchars > 0)
  ------------------
  |  Branch (1950:9): [True: 54, False: 5]
  ------------------
 1951|     54|        eof = 0;
 1952|       |
 1953|     59|    if (self->telling) {
  ------------------
  |  Branch (1953:9): [True: 0, False: 59]
  ------------------
 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|     59|    Py_DECREF(input_chunk);
  ------------------
  |  |  430|     59|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     59|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     59|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1971|       |
 1972|     59|    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|     59|}
textio.c:_textiowrapper_decode:
  934|     59|{
  935|     59|    PyObject *chars;
  936|       |
  937|     59|    if (Py_IS_TYPE(decoder, state->PyIncrementalNewlineDecoder_Type))
  ------------------
  |  |  215|     59|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     59|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     59|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 59, False: 0]
  |  |  ------------------
  ------------------
  938|     59|        chars = _PyIncrementalNewlineDecoder_decode(decoder, bytes, eof);
  939|      0|    else
  940|      0|        chars = PyObject_CallMethodObjArgs(decoder, &_Py_ID(decode), bytes,
  ------------------
  |  |  915|      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|     59|    if (check_decoded(chars) < 0)
  ------------------
  |  Branch (943:9): [True: 0, False: 59]
  ------------------
  944|       |        // check_decoded already decreases refcount
  945|      0|        return NULL;
  946|       |
  947|     59|    return chars;
  948|     59|}
textio.c:textiowrapper_set_decoded_chars:
 1814|    118|{
 1815|    118|    Py_XSETREF(self->decoded_chars, chars);
  ------------------
  |  |  374|    118|    do { \
  |  |  375|    118|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    118|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|    118|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    118|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|    118|        *_tmp_dst_ptr = (src); \
  |  |  378|    118|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|    118|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 118]
  |  |  ------------------
  ------------------
 1816|    118|    self->decoded_chars_used = 0;
 1817|    118|}
textio.c:validate_newline:
  846|     16|{
  847|     16|    if (newline && newline[0] != '\0'
  ------------------
  |  Branch (847:9): [True: 6, False: 10]
  |  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|     16|    return 0;
  856|     16|}
textio.c:set_newline:
  860|     16|{
  861|     16|    PyObject *old = self->readnl;
  862|     16|    if (newline == NULL) {
  ------------------
  |  Branch (862:9): [True: 10, False: 6]
  ------------------
  863|     10|        self->readnl = NULL;
  864|     10|    }
  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|     16|    self->readuniversal = (newline == NULL || newline[0] == '\0');
  ------------------
  |  Branch (872:28): [True: 10, False: 6]
  |  Branch (872:47): [True: 0, False: 6]
  ------------------
  873|     16|    self->readtranslate = (newline == NULL);
  874|     16|    self->writetranslate = (newline == NULL || newline[0] != '\0');
  ------------------
  |  Branch (874:29): [True: 10, False: 6]
  |  Branch (874:48): [True: 6, False: 0]
  ------------------
  875|     16|    if (!self->readuniversal && self->readnl != NULL) {
  ------------------
  |  Branch (875:9): [True: 6, False: 10]
  |  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|     10|    else {
  884|       |#ifdef MS_WINDOWS
  885|       |        self->writenl = "\r\n";
  886|       |#else
  887|     10|        self->writenl = NULL;
  888|     10|#endif
  889|     10|    }
  890|     16|    Py_XDECREF(old);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  891|     16|    return 0;
  892|     16|}
textio.c:_textiowrapper_set_decoder:
  897|     16|{
  898|     16|    PyObject *res;
  899|     16|    int r;
  900|       |
  901|     16|    res = PyObject_CallMethodNoArgs(self->buffer, &_Py_ID(readable));
  ------------------
  |  |  915|     16|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     16|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     16|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  902|     16|    if (res == NULL)
  ------------------
  |  Branch (902:9): [True: 0, False: 16]
  ------------------
  903|      0|        return -1;
  904|       |
  905|     16|    r = PyObject_IsTrue(res);
  906|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  907|     16|    if (r == -1)
  ------------------
  |  Branch (907:9): [True: 0, False: 16]
  ------------------
  908|      0|        return -1;
  909|       |
  910|     16|    if (r != 1)
  ------------------
  |  Branch (910:9): [True: 5, False: 11]
  ------------------
  911|      5|        return 0;
  912|       |
  913|     11|    Py_CLEAR(self->decoder);
  ------------------
  |  |  484|     11|    do { \
  |  |  485|     11|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     11|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     11|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     11|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     11|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 11]
  |  |  ------------------
  |  |  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|     11|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 11]
  |  |  ------------------
  ------------------
  914|     11|    self->decoder = _PyCodecInfo_GetIncrementalDecoder(codec_info, errors);
  915|     11|    if (self->decoder == NULL)
  ------------------
  |  Branch (915:9): [True: 0, False: 11]
  ------------------
  916|      0|        return -1;
  917|       |
  918|     11|    if (self->readuniversal) {
  ------------------
  |  Branch (918:9): [True: 9, False: 2]
  ------------------
  919|      9|        _PyIO_State *state = self->state;
  920|      9|        PyObject *incrementalDecoder = PyObject_CallFunctionObjArgs(
  921|      9|            (PyObject *)state->PyIncrementalNewlineDecoder_Type,
  922|      9|            self->decoder, self->readtranslate ? Py_True : Py_False, NULL);
  ------------------
  |  |   26|      9|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|      9|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          self->decoder, self->readtranslate ? Py_True : Py_False, NULL);
  ------------------
  |  |   25|      9|#  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: 9, False: 0]
  ------------------
  923|      9|        if (incrementalDecoder == NULL)
  ------------------
  |  Branch (923:13): [True: 0, False: 9]
  ------------------
  924|      0|            return -1;
  925|      9|        Py_XSETREF(self->decoder, incrementalDecoder);
  ------------------
  |  |  374|      9|    do { \
  |  |  375|      9|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|      9|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|      9|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|      9|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|      9|        *_tmp_dst_ptr = (src); \
  |  |  378|      9|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|      9|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      9|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      9|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|      9|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 9]
  |  |  ------------------
  ------------------
  926|      9|    }
  927|       |
  928|     11|    return 0;
  929|     11|}
textio.c:_textiowrapper_set_encoder:
  953|     16|{
  954|     16|    PyObject *res;
  955|     16|    int r;
  956|       |
  957|     16|    res = PyObject_CallMethodNoArgs(self->buffer, &_Py_ID(writable));
  ------------------
  |  |  915|     16|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     16|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     16|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  958|     16|    if (res == NULL)
  ------------------
  |  Branch (958:9): [True: 0, False: 16]
  ------------------
  959|      0|        return -1;
  960|       |
  961|     16|    r = PyObject_IsTrue(res);
  962|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  963|     16|    if (r == -1)
  ------------------
  |  Branch (963:9): [True: 0, False: 16]
  ------------------
  964|      0|        return -1;
  965|       |
  966|     16|    if (r != 1)
  ------------------
  |  Branch (966:9): [True: 11, False: 5]
  ------------------
  967|     11|        return 0;
  968|       |
  969|      5|    Py_CLEAR(self->encoder);
  ------------------
  |  |  484|      5|    do { \
  |  |  485|      5|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|      5|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|      5|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|      5|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|      5|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 5]
  |  |  ------------------
  |  |  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|      5|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 5]
  |  |  ------------------
  ------------------
  970|      5|    self->encodefunc = NULL;
  971|      5|    self->encoder = _PyCodecInfo_GetIncrementalEncoder(codec_info, errors);
  972|      5|    if (self->encoder == NULL)
  ------------------
  |  Branch (972:9): [True: 0, False: 5]
  ------------------
  973|      0|        return -1;
  974|       |
  975|       |    /* Get the normalized named of the codec */
  976|      5|    if (PyObject_GetOptionalAttr(codec_info, &_Py_ID(name), &res) < 0) {
  ------------------
  |  |  915|      5|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      5|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      5|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (976:9): [True: 0, False: 5]
  ------------------
  977|      0|        return -1;
  978|      0|    }
  979|      5|    if (res != NULL && PyUnicode_Check(res)) {
  ------------------
  |  |  103|      5|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      5|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 5, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (979:9): [True: 5, False: 0]
  ------------------
  980|      5|        const encodefuncentry *e = encodefuncs;
  981|     15|        while (e->name != NULL) {
  ------------------
  |  Branch (981:16): [True: 15, False: 0]
  ------------------
  982|     15|            if (_PyUnicode_EqualToASCIIString(res, e->name)) {
  ------------------
  |  Branch (982:17): [True: 5, False: 10]
  ------------------
  983|      5|                self->encodefunc = e->encodefunc;
  984|      5|                break;
  985|      5|            }
  986|     10|            e++;
  987|     10|        }
  988|      5|    }
  989|      5|    Py_XDECREF(res);
  ------------------
  |  |  524|      5|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  990|       |
  991|      5|    return 0;
  992|      5|}
textio.c:utf8_encode:
  805|  2.49k|{
  806|  2.49k|    textio *self = textio_CAST(op);
  ------------------
  |  |  730|  2.49k|#define textio_CAST(op) ((textio *)(op))
  ------------------
  807|  2.49k|    return _PyUnicode_AsUTF8String(text, PyUnicode_AsUTF8(self->errors));
  808|  2.49k|}
textio.c:_textiowrapper_fix_encoder_state:
  996|     16|{
  997|     16|    if (!self->seekable || !self->encoder) {
  ------------------
  |  Branch (997:9): [True: 0, False: 16]
  |  Branch (997:28): [True: 11, False: 5]
  ------------------
  998|     11|        return 0;
  999|     11|    }
 1000|       |
 1001|      5|    self->encoding_start_of_stream = 1;
 1002|       |
 1003|      5|    PyObject *cookieObj = PyObject_CallMethodNoArgs(
 1004|      5|        self->buffer, &_Py_ID(tell));
  ------------------
  |  |  915|      5|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      5|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      5|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1005|      5|    if (cookieObj == NULL) {
  ------------------
  |  Branch (1005:9): [True: 0, False: 5]
  ------------------
 1006|      0|        return -1;
 1007|      0|    }
 1008|       |
 1009|      5|    int cmp = PyObject_RichCompareBool(cookieObj, _PyLong_GetZero(), Py_EQ);
  ------------------
  |  |  654|      5|#define Py_EQ 2
  ------------------
 1010|      5|    Py_DECREF(cookieObj);
  ------------------
  |  |  430|      5|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1011|      5|    if (cmp < 0) {
  ------------------
  |  Branch (1011:9): [True: 0, False: 5]
  ------------------
 1012|      0|        return -1;
 1013|      0|    }
 1014|       |
 1015|      5|    if (cmp == 0) {
  ------------------
  |  Branch (1015:9): [True: 2, False: 3]
  ------------------
 1016|      2|        self->encoding_start_of_stream = 0;
 1017|      2|        PyObject *res = PyObject_CallMethodOneArg(
 1018|      2|            self->encoder, &_Py_ID(setstate), _PyLong_GetZero());
  ------------------
  |  |  915|      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|      5|    return 0;
 1026|      5|}
textio.c:_io_TextIOWrapper_write_impl:
 1665|  4.30k|{
 1666|  4.30k|    PyObject *ret;
 1667|  4.30k|    PyObject *b;
 1668|  4.30k|    Py_ssize_t textlen;
 1669|  4.30k|    int haslf = 0;
 1670|  4.30k|    int needflush = 0, text_needflush = 0;
 1671|       |
 1672|  4.30k|    CHECK_ATTACHED(self);
  ------------------
  |  | 1542|  4.30k|    CHECK_INITIALIZED(self); \
  |  |  ------------------
  |  |  |  | 1535|  4.30k|    if (self->ok <= 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1535:9): [True: 0, False: 4.30k]
  |  |  |  |  ------------------
  |  |  |  | 1536|      0|        PyErr_SetString(PyExc_ValueError, \
  |  |  |  | 1537|      0|            "I/O operation on uninitialized object"); \
  |  |  |  | 1538|      0|        return NULL; \
  |  |  |  | 1539|      0|    }
  |  |  ------------------
  |  | 1543|  4.30k|    if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (1543:9): [True: 0, False: 4.30k]
  |  |  ------------------
  |  | 1544|      0|        PyErr_SetString(PyExc_ValueError, \
  |  | 1545|      0|             "underlying buffer has been detached"); \
  |  | 1546|      0|        return NULL; \
  |  | 1547|      0|    }
  ------------------
 1673|  4.30k|    CHECK_CLOSED(self);
  ------------------
  |  | 1509|  4.30k|    do { \
  |  | 1510|  4.30k|        int r; \
  |  | 1511|  4.30k|        PyObject *_res; \
  |  | 1512|  4.30k|        if (Py_IS_TYPE(self, self->state->PyTextIOWrapper_Type)) { \
  |  |  ------------------
  |  |  |  |  215|  4.30k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 4.30k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1513|  4.30k|            if (self->raw != NULL) \
  |  |  ------------------
  |  |  |  Branch (1513:17): [True: 4.30k, False: 0]
  |  |  ------------------
  |  | 1514|  4.30k|                r = _PyFileIO_closed(self->raw); \
  |  | 1515|  4.30k|            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.30k|            if (r > 0) { \
  |  |  ------------------
  |  |  |  Branch (1524:17): [True: 0, False: 4.30k]
  |  |  ------------------
  |  | 1525|      0|                PyErr_SetString(PyExc_ValueError, \
  |  | 1526|      0|                                "I/O operation on closed file."); \
  |  | 1527|      0|                return NULL; \
  |  | 1528|      0|            } \
  |  | 1529|  4.30k|        } \
  |  | 1530|  4.30k|        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.30k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1532:14): [Folded, False: 4.30k]
  |  |  ------------------
  ------------------
 1674|       |
 1675|  4.30k|    if (self->encoder == NULL) {
  ------------------
  |  Branch (1675:9): [True: 0, False: 4.30k]
  ------------------
 1676|      0|        return _unsupported(self->state, "not writable");
 1677|      0|    }
 1678|       |
 1679|  4.30k|    Py_INCREF(text);
  ------------------
  |  |  310|  4.30k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1680|       |
 1681|  4.30k|    textlen = PyUnicode_GET_LENGTH(text);
  ------------------
  |  |  299|  4.30k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1682|       |
 1683|  4.30k|    if ((self->writetranslate && self->writenl != NULL) || self->line_buffering)
  ------------------
  |  Branch (1683:10): [True: 4.30k, False: 0]
  |  Branch (1683:34): [True: 0, False: 4.30k]
  |  Branch (1683:60): [True: 4.30k, False: 1]
  ------------------
 1684|  4.30k|        if (PyUnicode_FindChar(text, '\n', 0, PyUnicode_GET_LENGTH(text), 1) != -1)
  ------------------
  |  |  299|  4.30k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1684:13): [True: 4.30k, False: 0]
  ------------------
 1685|  4.30k|            haslf = 1;
 1686|       |
 1687|  4.30k|    if (haslf && self->writetranslate && self->writenl != NULL) {
  ------------------
  |  Branch (1687:9): [True: 4.30k, False: 1]
  |  Branch (1687:18): [True: 4.30k, False: 0]
  |  Branch (1687:42): [True: 0, False: 4.30k]
  ------------------
 1688|      0|        PyObject *newtext = _PyObject_CallMethod(text, &_Py_ID(replace),
  ------------------
  |  |  915|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1689|      0|                                                 "ss", "\n", self->writenl);
 1690|      0|        Py_DECREF(text);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1691|      0|        if (newtext == NULL)
  ------------------
  |  Branch (1691:13): [True: 0, False: 0]
  ------------------
 1692|      0|            return NULL;
 1693|      0|        text = newtext;
 1694|      0|    }
 1695|       |
 1696|  4.30k|    if (self->write_through)
  ------------------
  |  Branch (1696:9): [True: 0, False: 4.30k]
  ------------------
 1697|      0|        text_needflush = 1;
 1698|  4.30k|    if (self->line_buffering &&
  ------------------
  |  Branch (1698:9): [True: 4.30k, False: 1]
  ------------------
 1699|  4.30k|        (haslf ||
  ------------------
  |  Branch (1699:10): [True: 4.30k, False: 0]
  ------------------
 1700|      0|         PyUnicode_FindChar(text, '\r', 0, PyUnicode_GET_LENGTH(text), 1) != -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 (1700:10): [True: 0, False: 0]
  ------------------
 1701|  4.30k|        needflush = 1;
 1702|       |
 1703|       |    /* XXX What if we were just reading? */
 1704|  4.30k|    if (self->encodefunc != NULL) {
  ------------------
  |  Branch (1704:9): [True: 4.30k, False: 0]
  ------------------
 1705|  4.30k|        if (PyUnicode_IS_ASCII(text) &&
  ------------------
  |  |  227|  8.61k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 1.81k, False: 2.49k]
  |  |  ------------------
  ------------------
 1706|       |                // See bpo-43260
 1707|  1.81k|                PyUnicode_GET_LENGTH(text) <= self->chunk_size &&
  ------------------
  |  |  299|  1.81k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.81k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.81k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1707:17): [True: 1.81k, False: 0]
  ------------------
 1708|  1.81k|                is_asciicompat_encoding(self->encodefunc)) {
  ------------------
  |  Branch (1708:17): [True: 1.81k, False: 0]
  ------------------
 1709|  1.81k|            b = Py_NewRef(text);
  ------------------
  |  |  550|  1.81k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.81k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.81k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1710|  1.81k|        }
 1711|  2.49k|        else {
 1712|  2.49k|            b = (*self->encodefunc)((PyObject *) self, text);
 1713|  2.49k|        }
 1714|  4.30k|        self->encoding_start_of_stream = 0;
 1715|  4.30k|    }
 1716|      0|    else {
 1717|      0|        b = PyObject_CallMethodOneArg(self->encoder, &_Py_ID(encode), text);
  ------------------
  |  |  915|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1718|      0|    }
 1719|       |
 1720|  4.30k|    Py_DECREF(text);
  ------------------
  |  |  430|  4.30k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1721|  4.30k|    if (b == NULL)
  ------------------
  |  Branch (1721:9): [True: 0, False: 4.30k]
  ------------------
 1722|      0|        return NULL;
 1723|  4.30k|    if (b != text && !PyBytes_Check(b)) {
  ------------------
  |  |   28|  2.49k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  2.49k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1723:9): [True: 2.49k, False: 1.81k]
  |  Branch (1723:22): [True: 0, False: 2.49k]
  ------------------
 1724|      0|        PyErr_Format(PyExc_TypeError,
 1725|      0|                     "encoder should return a bytes object, not '%.200s'",
 1726|      0|                     Py_TYPE(b)->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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1727|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1728|      0|        return NULL;
 1729|      0|    }
 1730|       |
 1731|  4.30k|    Py_ssize_t bytes_len;
 1732|  4.30k|    if (b == text) {
  ------------------
  |  Branch (1732:9): [True: 1.81k, False: 2.49k]
  ------------------
 1733|  1.81k|        bytes_len = PyUnicode_GET_LENGTH(b);
  ------------------
  |  |  299|  1.81k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.81k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.81k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1734|  1.81k|    }
 1735|  2.49k|    else {
 1736|  2.49k|        bytes_len = PyBytes_GET_SIZE(b);
  ------------------
  |  |   33|  2.49k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  2.49k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.49k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1737|  2.49k|    }
 1738|       |
 1739|       |    // We should avoid concatenating huge data.
 1740|       |    // Flush the buffer before adding b to the buffer if b is not small.
 1741|       |    // https://github.com/python/cpython/issues/87426
 1742|  4.30k|    if (bytes_len >= self->chunk_size) {
  ------------------
  |  Branch (1742:9): [True: 0, False: 4.30k]
  ------------------
 1743|       |        // _textiowrapper_writeflush() calls buffer.write().
 1744|       |        // self->pending_bytes can be appended during buffer->write()
 1745|       |        // or other thread.
 1746|       |        // We need to loop until buffer becomes empty.
 1747|       |        // https://github.com/python/cpython/issues/118138
 1748|       |        // https://github.com/python/cpython/issues/119506
 1749|      0|        while (self->pending_bytes != NULL) {
  ------------------
  |  Branch (1749:16): [True: 0, False: 0]
  ------------------
 1750|      0|            if (_textiowrapper_writeflush(self) < 0) {
  ------------------
  |  Branch (1750:17): [True: 0, False: 0]
  ------------------
 1751|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1752|      0|                return NULL;
 1753|      0|            }
 1754|      0|        }
 1755|      0|    }
 1756|       |
 1757|  4.30k|    if (self->pending_bytes == NULL) {
  ------------------
  |  Branch (1757:9): [True: 4.30k, False: 0]
  ------------------
 1758|  4.30k|        assert(self->pending_bytes_count == 0);
 1759|  4.30k|        self->pending_bytes = b;
 1760|  4.30k|    }
 1761|      0|    else if (!PyList_CheckExact(self->pending_bytes)) {
  ------------------
  |  |   26|      0|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_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 (1761:14): [True: 0, False: 0]
  ------------------
 1762|      0|        PyObject *list = PyList_New(2);
 1763|      0|        if (list == NULL) {
  ------------------
  |  Branch (1763:13): [True: 0, False: 0]
  ------------------
 1764|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1765|      0|            return NULL;
 1766|      0|        }
 1767|       |        // Since Python 3.12, allocating GC object won't trigger GC and release
 1768|       |        // GIL. See https://github.com/python/cpython/issues/97922
 1769|      0|        assert(!PyList_CheckExact(self->pending_bytes));
 1770|      0|        PyList_SET_ITEM(list, 0, self->pending_bytes);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1771|      0|        PyList_SET_ITEM(list, 1, b);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1772|      0|        self->pending_bytes = list;
 1773|      0|    }
 1774|      0|    else {
 1775|      0|        if (PyList_Append(self->pending_bytes, b) < 0) {
  ------------------
  |  Branch (1775:13): [True: 0, False: 0]
  ------------------
 1776|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1777|      0|            return NULL;
 1778|      0|        }
 1779|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1780|      0|    }
 1781|       |
 1782|  4.30k|    self->pending_bytes_count += bytes_len;
 1783|  4.30k|    if (self->pending_bytes_count >= self->chunk_size || needflush ||
  ------------------
  |  Branch (1783:9): [True: 0, False: 4.30k]
  |  Branch (1783:58): [True: 4.30k, False: 1]
  ------------------
 1784|  4.30k|        text_needflush) {
  ------------------
  |  Branch (1784:9): [True: 0, False: 1]
  ------------------
 1785|  4.30k|        if (_textiowrapper_writeflush(self) < 0)
  ------------------
  |  Branch (1785:13): [True: 0, False: 4.30k]
  ------------------
 1786|      0|            return NULL;
 1787|  4.30k|    }
 1788|       |
 1789|  4.30k|    if (needflush) {
  ------------------
  |  Branch (1789:9): [True: 4.30k, False: 1]
  ------------------
 1790|  4.30k|        if (_PyFile_Flush(self->buffer) < 0) {
  ------------------
  |  Branch (1790:13): [True: 0, False: 4.30k]
  ------------------
 1791|      0|            return NULL;
 1792|      0|        }
 1793|  4.30k|    }
 1794|       |
 1795|  4.30k|    if (self->snapshot != NULL) {
  ------------------
  |  Branch (1795:9): [True: 0, False: 4.30k]
  ------------------
 1796|      0|        textiowrapper_set_decoded_chars(self, NULL);
 1797|      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]
  |  |  ------------------
  ------------------
 1798|      0|    }
 1799|       |
 1800|  4.30k|    if (self->decoder) {
  ------------------
  |  Branch (1800:9): [True: 0, False: 4.30k]
  ------------------
 1801|      0|        ret = PyObject_CallMethodNoArgs(self->decoder, &_Py_ID(reset));
  ------------------
  |  |  915|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1802|      0|        if (ret == NULL)
  ------------------
  |  Branch (1802:13): [True: 0, False: 0]
  ------------------
 1803|      0|            return NULL;
 1804|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1805|      0|    }
 1806|       |
 1807|  4.30k|    return PyLong_FromSsize_t(textlen);
 1808|  4.30k|}
textio.c:is_asciicompat_encoding:
  820|  1.81k|{
  821|  1.81k|    return f == ascii_encode || f == latin1_encode || f == utf8_encode;
  ------------------
  |  Branch (821:12): [True: 0, False: 1.81k]
  |  Branch (821:33): [True: 0, False: 1.81k]
  |  Branch (821:55): [True: 1.81k, False: 0]
  ------------------
  822|  1.81k|}
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));
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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|     10|{
 3125|     10|    CHECK_ATTACHED(self);
  ------------------
  |  | 1542|     10|    CHECK_INITIALIZED(self); \
  |  |  ------------------
  |  |  |  | 1535|     10|    if (self->ok <= 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1535:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  | 1536|      0|        PyErr_SetString(PyExc_ValueError, \
  |  |  |  | 1537|      0|            "I/O operation on uninitialized object"); \
  |  |  |  | 1538|      0|        return NULL; \
  |  |  |  | 1539|      0|    }
  |  |  ------------------
  |  | 1543|     10|    if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (1543:9): [True: 0, False: 10]
  |  |  ------------------
  |  | 1544|      0|        PyErr_SetString(PyExc_ValueError, \
  |  | 1545|      0|             "underlying buffer has been detached"); \
  |  | 1546|      0|        return NULL; \
  |  | 1547|      0|    }
  ------------------
 3126|     10|    CHECK_CLOSED(self);
  ------------------
  |  | 1509|     10|    do { \
  |  | 1510|     10|        int r; \
  |  | 1511|     10|        PyObject *_res; \
  |  | 1512|     10|        if (Py_IS_TYPE(self, self->state->PyTextIOWrapper_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: 10, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1513|     10|            if (self->raw != NULL) \
  |  |  ------------------
  |  |  |  Branch (1513:17): [True: 10, False: 0]
  |  |  ------------------
  |  | 1514|     10|                r = _PyFileIO_closed(self->raw); \
  |  | 1515|     10|            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|     10|            if (r > 0) { \
  |  |  ------------------
  |  |  |  Branch (1524:17): [True: 0, False: 10]
  |  |  ------------------
  |  | 1525|      0|                PyErr_SetString(PyExc_ValueError, \
  |  | 1526|      0|                                "I/O operation on closed file."); \
  |  | 1527|      0|                return NULL; \
  |  | 1528|      0|            } \
  |  | 1529|     10|        } \
  |  | 1530|     10|        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|     10|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1532:14): [Folded, False: 10]
  |  |  ------------------
  ------------------
 3127|     10|    self->telling = self->seekable;
 3128|     10|    if (_textiowrapper_writeflush(self) < 0)
  ------------------
  |  Branch (3128:9): [True: 0, False: 10]
  ------------------
 3129|      0|        return NULL;
 3130|     10|    return PyObject_CallMethodNoArgs(self->buffer, &_Py_ID(flush));
  ------------------
  |  |  915|     10|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     10|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     10|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3131|     10|}
textio.c:_io_TextIOWrapper_close_impl:
 3141|     10|{
 3142|     10|    PyObject *res;
 3143|     10|    int r;
 3144|     10|    CHECK_ATTACHED(self);
  ------------------
  |  | 1542|     10|    CHECK_INITIALIZED(self); \
  |  |  ------------------
  |  |  |  | 1535|     10|    if (self->ok <= 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1535:9): [True: 0, False: 10]
  |  |  |  |  ------------------
  |  |  |  | 1536|      0|        PyErr_SetString(PyExc_ValueError, \
  |  |  |  | 1537|      0|            "I/O operation on uninitialized object"); \
  |  |  |  | 1538|      0|        return NULL; \
  |  |  |  | 1539|      0|    }
  |  |  ------------------
  |  | 1543|     10|    if (self->detached) { \
  |  |  ------------------
  |  |  |  Branch (1543:9): [True: 0, False: 10]
  |  |  ------------------
  |  | 1544|      0|        PyErr_SetString(PyExc_ValueError, \
  |  | 1545|      0|             "underlying buffer has been detached"); \
  |  | 1546|      0|        return NULL; \
  |  | 1547|      0|    }
  ------------------
 3145|       |
 3146|     10|    res = _io_TextIOWrapper_closed_get_impl(self);
 3147|     10|    if (res == NULL)
  ------------------
  |  Branch (3147:9): [True: 0, False: 10]
  ------------------
 3148|      0|        return NULL;
 3149|     10|    r = PyObject_IsTrue(res);
 3150|     10|    Py_DECREF(res);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3151|     10|    if (r < 0)
  ------------------
  |  Branch (3151:9): [True: 0, False: 10]
  ------------------
 3152|      0|        return NULL;
 3153|       |
 3154|     10|    if (r > 0) {
  ------------------
  |  Branch (3154:9): [True: 0, False: 10]
  ------------------
 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|     10|    if (self->detached) {
  ------------------
  |  Branch (3157:9): [True: 0, False: 10]
  ------------------
 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|     10|    else {
 3161|     10|        PyObject *exc = NULL;
 3162|     10|        if (self->finalizing) {
  ------------------
  |  Branch (3162:13): [True: 0, False: 10]
  ------------------
 3163|      0|            res = PyObject_CallMethodOneArg(self->buffer, &_Py_ID(_dealloc_warn),
  ------------------
  |  |  915|      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|     10|        if (_PyFile_Flush((PyObject *)self) < 0) {
  ------------------
  |  Branch (3172:13): [True: 0, False: 10]
  ------------------
 3173|      0|            exc = PyErr_GetRaisedException();
 3174|      0|        }
 3175|       |
 3176|     10|        res = PyObject_CallMethodNoArgs(self->buffer, &_Py_ID(close));
  ------------------
  |  |  915|     10|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     10|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     10|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3177|     10|        if (exc != NULL) {
  ------------------
  |  Branch (3177:13): [True: 0, False: 10]
  ------------------
 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|     10|        return res;
 3182|     10|    }
 3183|     10|}
textio.c:_io_TextIOWrapper___init___impl:
 1108|     16|{
 1109|     16|    PyObject *raw, *codec_info = NULL;
 1110|     16|    PyObject *res;
 1111|     16|    int r;
 1112|       |
 1113|     16|    self->ok = 0;
 1114|     16|    self->detached = 0;
 1115|       |
 1116|     16|    if (encoding == NULL) {
  ------------------
  |  Branch (1116:9): [True: 0, False: 16]
  ------------------
 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|     16|    if (errors == Py_None) {
  ------------------
  |  |  616|     16|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1126:9): [True: 10, False: 6]
  ------------------
 1127|     10|        errors = &_Py_ID(strict);
  ------------------
  |  |  915|     10|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     10|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     10|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1128|     10|    }
 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|     16|    const char *errors_str = _PyUnicode_AsUTF8NoNUL(errors);
 1142|     16|    if (errors_str == NULL) {
  ------------------
  |  Branch (1142:9): [True: 0, False: 16]
  ------------------
 1143|      0|        return -1;
 1144|      0|    }
 1145|       |
 1146|     16|    if (validate_newline(newline) < 0) {
  ------------------
  |  Branch (1146:9): [True: 0, False: 16]
  ------------------
 1147|      0|        return -1;
 1148|      0|    }
 1149|       |
 1150|     16|    Py_CLEAR(self->buffer);
  ------------------
  |  |  484|     16|    do { \
  |  |  485|     16|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     16|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     16|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     16|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     16|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 16]
  |  |  ------------------
  |  |  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|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 1151|     16|    Py_CLEAR(self->encoding);
  ------------------
  |  |  484|     16|    do { \
  |  |  485|     16|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     16|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     16|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     16|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     16|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 16]
  |  |  ------------------
  |  |  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|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 1152|     16|    Py_CLEAR(self->encoder);
  ------------------
  |  |  484|     16|    do { \
  |  |  485|     16|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     16|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     16|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     16|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     16|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 16]
  |  |  ------------------
  |  |  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|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 1153|     16|    Py_CLEAR(self->decoder);
  ------------------
  |  |  484|     16|    do { \
  |  |  485|     16|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     16|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     16|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     16|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     16|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 16]
  |  |  ------------------
  |  |  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|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 1154|     16|    Py_CLEAR(self->readnl);
  ------------------
  |  |  484|     16|    do { \
  |  |  485|     16|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     16|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     16|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     16|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     16|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 16]
  |  |  ------------------
  |  |  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|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 1155|     16|    Py_CLEAR(self->decoded_chars);
  ------------------
  |  |  484|     16|    do { \
  |  |  485|     16|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     16|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     16|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     16|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     16|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 16]
  |  |  ------------------
  |  |  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|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 1156|     16|    Py_CLEAR(self->pending_bytes);
  ------------------
  |  |  484|     16|    do { \
  |  |  485|     16|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     16|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     16|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     16|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     16|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 16]
  |  |  ------------------
  |  |  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|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 1157|     16|    Py_CLEAR(self->snapshot);
  ------------------
  |  |  484|     16|    do { \
  |  |  485|     16|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     16|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     16|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     16|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     16|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 16]
  |  |  ------------------
  |  |  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|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 1158|     16|    Py_CLEAR(self->errors);
  ------------------
  |  |  484|     16|    do { \
  |  |  485|     16|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     16|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     16|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     16|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     16|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 16]
  |  |  ------------------
  |  |  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|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 1159|     16|    Py_CLEAR(self->raw);
  ------------------
  |  |  484|     16|    do { \
  |  |  485|     16|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     16|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     16|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     16|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     16|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 16]
  |  |  ------------------
  |  |  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|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 1160|     16|    self->decoded_chars_used = 0;
 1161|     16|    self->pending_bytes_count = 0;
 1162|     16|    self->encodefunc = NULL;
 1163|     16|    self->b2cratio = 0.0;
 1164|       |
 1165|     16|    if (encoding == NULL && _PyRuntime.preconfig.utf8_mode) {
  ------------------
  |  Branch (1165:9): [True: 0, False: 16]
  |  Branch (1165:29): [True: 0, False: 0]
  ------------------
 1166|      0|        _Py_DECLARE_STR(utf_8, "utf-8");
 1167|      0|        self->encoding = &_Py_STR(utf_8);
  ------------------
  |  |  917|      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|     16|    else if (encoding == NULL || (strcmp(encoding, "locale") == 0)) {
  ------------------
  |  Branch (1169:14): [True: 0, False: 16]
  |  Branch (1169:34): [True: 0, False: 16]
  ------------------
 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|     16|    if (self->encoding != NULL) {
  ------------------
  |  Branch (1177:9): [True: 0, False: 16]
  ------------------
 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|     16|    else if (encoding != NULL) {
  ------------------
  |  Branch (1182:14): [True: 16, False: 0]
  ------------------
 1183|     16|        self->encoding = PyUnicode_FromString(encoding);
 1184|     16|        if (self->encoding == NULL)
  ------------------
  |  Branch (1184:13): [True: 0, False: 16]
  ------------------
 1185|      0|            goto error;
 1186|     16|    }
 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|     16|    codec_info = _PyCodec_LookupTextEncoding(encoding, NULL);
 1195|     16|    if (codec_info == NULL) {
  ------------------
  |  Branch (1195:9): [True: 0, False: 16]
  ------------------
 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|     16|    self->errors = Py_NewRef(errors);
  ------------------
  |  |  550|     16|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1205|     16|    self->chunk_size = 8192;
 1206|     16|    self->line_buffering = line_buffering;
 1207|     16|    self->write_through = write_through;
 1208|     16|    if (set_newline(self, newline) < 0) {
  ------------------
  |  Branch (1208:9): [True: 0, False: 16]
  ------------------
 1209|      0|        goto error;
 1210|      0|    }
 1211|       |
 1212|     16|    self->buffer = Py_NewRef(buffer);
  ------------------
  |  |  550|     16|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1213|       |
 1214|       |    /* Build the decoder object */
 1215|     16|    _PyIO_State *state = find_io_state_by_def(Py_TYPE(self));
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1216|     16|    self->state = state;
 1217|     16|    if (_textiowrapper_set_decoder(self, codec_info, errors_str) != 0)
  ------------------
  |  Branch (1217:9): [True: 0, False: 16]
  ------------------
 1218|      0|        goto error;
 1219|       |
 1220|       |    /* Build the encoder object */
 1221|     16|    if (_textiowrapper_set_encoder(self, codec_info, errors_str) != 0)
  ------------------
  |  Branch (1221:9): [True: 0, False: 16]
  ------------------
 1222|      0|        goto error;
 1223|       |
 1224|       |    /* Finished sorting out the codec details */
 1225|     16|    Py_CLEAR(codec_info);
  ------------------
  |  |  484|     16|    do { \
  |  |  485|     16|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     16|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     16|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     16|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     16|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 16, False: 0]
  |  |  ------------------
  |  |  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|     16|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 16]
  |  |  ------------------
  ------------------
 1226|       |
 1227|     16|    if (Py_IS_TYPE(buffer, state->PyBufferedReader_Type) ||
  ------------------
  |  |  215|     32|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 11, False: 5]
  |  |  ------------------
  ------------------
 1228|      5|        Py_IS_TYPE(buffer, state->PyBufferedWriter_Type) ||
  ------------------
  |  |  215|     21|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 5, 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|     16|    {
 1231|     16|        if (PyObject_GetOptionalAttr(buffer, &_Py_ID(raw), &raw) < 0)
  ------------------
  |  |  915|     16|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     16|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     16|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1231:13): [True: 0, False: 16]
  ------------------
 1232|      0|            goto error;
 1233|       |        /* Cache the raw FileIO object to speed up 'closed' checks */
 1234|     16|        if (raw != NULL) {
  ------------------
  |  Branch (1234:13): [True: 16, False: 0]
  ------------------
 1235|     16|            if (Py_IS_TYPE(raw, state->PyFileIO_Type))
  ------------------
  |  |  215|     16|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 16, False: 0]
  |  |  ------------------
  ------------------
 1236|     16|                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|     16|        }
 1240|     16|    }
 1241|       |
 1242|     16|    res = PyObject_CallMethodNoArgs(buffer, &_Py_ID(seekable));
  ------------------
  |  |  915|     16|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     16|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     16|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1243|     16|    if (res == NULL)
  ------------------
  |  Branch (1243:9): [True: 0, False: 16]
  ------------------
 1244|      0|        goto error;
 1245|     16|    r = PyObject_IsTrue(res);
 1246|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1247|     16|    if (r < 0)
  ------------------
  |  Branch (1247:9): [True: 0, False: 16]
  ------------------
 1248|      0|        goto error;
 1249|     16|    self->seekable = self->telling = r;
 1250|       |
 1251|     16|    r = PyObject_HasAttrWithError(buffer, &_Py_ID(read1));
  ------------------
  |  |  915|     16|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     16|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     16|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1252|     16|    if (r < 0) {
  ------------------
  |  Branch (1252:9): [True: 0, False: 16]
  ------------------
 1253|      0|        goto error;
 1254|      0|    }
 1255|     16|    self->has_read1 = r;
 1256|       |
 1257|     16|    self->encoding_start_of_stream = 0;
 1258|     16|    if (_textiowrapper_fix_encoder_state(self) < 0) {
  ------------------
  |  Branch (1258:9): [True: 0, False: 16]
  ------------------
 1259|      0|        goto error;
 1260|      0|    }
 1261|       |
 1262|     16|    self->ok = 1;
 1263|     16|    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|     16|}
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);
  ------------------
  |  |   22|      2|#define MAX_INTRINSIC_1                         11
  ------------------
  305|      2|    if (list == NULL) {
  ------------------
  |  Branch (305:9): [True: 0, False: 2]
  ------------------
  306|      0|        return NULL;
  307|      0|    }
  308|     26|    for (int i=0; i <= MAX_INTRINSIC_1; i++) {
  ------------------
  |  |   22|     26|#define MAX_INTRINSIC_1                         11
  ------------------
  |  Branch (308:19): [True: 24, False: 2]
  ------------------
  309|     24|        PyObject *name = _PyCompile_GetUnaryIntrinsicName(i);
  310|     24|        if (name == NULL) {
  ------------------
  |  Branch (310:13): [True: 0, False: 24]
  ------------------
  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|     24|        PyList_SET_ITEM(list, i, name);
  ------------------
  |  |   50|     24|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  315|     24|    }
  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);
  ------------------
  |  |   33|      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++) {
  ------------------
  |  |   33|     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);
  ------------------
  |  |  408|      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++) {
  ------------------
  |  |  408|     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|    242|{
  701|    242|    return PyNumber_Index(a);
  702|    242|}
_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|     18|{
   21|     18|    void *state = _PyModule_GetState(module);
   22|       |    assert(state != NULL);
   23|     18|    return (_operator_state *)state;
   24|     18|}
_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|     16|{
 1994|     16|    _operator_state *state = get_operator_state(module);
 1995|     16|    Py_VISIT(state->attrgetter_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->itemgetter_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->methodcaller_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|}

sre.c:_sre_compile:
 1073|    102|{
 1074|    102|    PyObject *return_value = NULL;
 1075|    102|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 1076|       |
 1077|    102|    #define NUM_KEYWORDS 6
 1078|    102|    static struct {
 1079|    102|        PyGC_Head _this_is_not_used;
 1080|    102|        PyObject_VAR_HEAD
 1081|    102|        Py_hash_t ob_hash;
 1082|    102|        PyObject *ob_item[NUM_KEYWORDS];
 1083|    102|    } _kwtuple = {
 1084|    102|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|    102|    {                                     \
  |  |   98|    102|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|    102|    {                               \
  |  |  |  |   91|    102|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|    102|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    102|#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|    102|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|    102|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|    102|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|    102|        (type)                      \
  |  |  |  |   93|    102|    },
  |  |  ------------------
  |  |   99|    102|        (size)                            \
  |  |  100|    102|    },
  ------------------
 1085|    102|        .ob_hash = -1,
 1086|    102|        .ob_item = { &_Py_ID(pattern), &_Py_ID(flags), &_Py_ID(code), &_Py_ID(groups), &_Py_ID(groupindex), &_Py_ID(indexgroup), },
  ------------------
  |  |  915|    102|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    102|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    102|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(pattern), &_Py_ID(flags), &_Py_ID(code), &_Py_ID(groups), &_Py_ID(groupindex), &_Py_ID(indexgroup), },
  ------------------
  |  |  915|    102|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    102|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    102|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(pattern), &_Py_ID(flags), &_Py_ID(code), &_Py_ID(groups), &_Py_ID(groupindex), &_Py_ID(indexgroup), },
  ------------------
  |  |  915|    102|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    102|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    102|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(pattern), &_Py_ID(flags), &_Py_ID(code), &_Py_ID(groups), &_Py_ID(groupindex), &_Py_ID(indexgroup), },
  ------------------
  |  |  915|    102|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    102|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    102|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(pattern), &_Py_ID(flags), &_Py_ID(code), &_Py_ID(groups), &_Py_ID(groupindex), &_Py_ID(indexgroup), },
  ------------------
  |  |  915|    102|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    102|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    102|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(pattern), &_Py_ID(flags), &_Py_ID(code), &_Py_ID(groups), &_Py_ID(groupindex), &_Py_ID(indexgroup), },
  ------------------
  |  |  915|    102|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    102|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    102|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1087|    102|    };
 1088|    102|    #undef NUM_KEYWORDS
 1089|    102|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 1090|       |
 1091|       |    #else  // !Py_BUILD_CORE
 1092|       |    #  define KWTUPLE NULL
 1093|       |    #endif  // !Py_BUILD_CORE
 1094|       |
 1095|    102|    static const char * const _keywords[] = {"pattern", "flags", "code", "groups", "groupindex", "indexgroup", NULL};
 1096|    102|    static _PyArg_Parser _parser = {
 1097|    102|        .keywords = _keywords,
 1098|    102|        .fname = "compile",
 1099|    102|        .kwtuple = KWTUPLE,
  ------------------
  |  | 1089|    102|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 1100|    102|    };
 1101|    102|    #undef KWTUPLE
 1102|    102|    PyObject *argsbuf[6];
 1103|    102|    PyObject *pattern;
 1104|    102|    int flags;
 1105|    102|    PyObject *code;
 1106|    102|    Py_ssize_t groups;
 1107|    102|    PyObject *groupindex;
 1108|    102|    PyObject *indexgroup;
 1109|       |
 1110|    102|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|    102|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 102, False: 0]
  |  |  ------------------
  |  |   89|    102|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 102, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 102]
  |  |  |  Branch (89:43): [True: 102, False: 0]
  |  |  |  Branch (89:67): [True: 102, False: 0]
  |  |  ------------------
  |  |   90|    102|      (args) : \
  |  |   91|    102|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 1111|    102|            /*minpos*/ 6, /*maxpos*/ 6, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 1112|    102|    if (!args) {
  ------------------
  |  Branch (1112:9): [True: 0, False: 102]
  ------------------
 1113|      0|        goto exit;
 1114|      0|    }
 1115|    102|    pattern = args[0];
 1116|    102|    flags = PyLong_AsInt(args[1]);
 1117|    102|    if (flags == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1117:9): [True: 0, False: 102]
  |  Branch (1117:24): [True: 0, False: 0]
  ------------------
 1118|      0|        goto exit;
 1119|      0|    }
 1120|    102|    if (!PyList_Check(args[2])) {
  ------------------
  |  |   25|    102|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    102|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1120:9): [True: 0, False: 102]
  ------------------
 1121|      0|        _PyArg_BadArgument("compile", "argument 'code'", "list", args[2]);
 1122|      0|        goto exit;
 1123|      0|    }
 1124|    102|    code = args[2];
 1125|    102|    {
 1126|    102|        Py_ssize_t ival = -1;
 1127|    102|        PyObject *iobj = _PyNumber_Index(args[3]);
 1128|    102|        if (iobj != NULL) {
  ------------------
  |  Branch (1128:13): [True: 102, False: 0]
  ------------------
 1129|    102|            ival = PyLong_AsSsize_t(iobj);
 1130|    102|            Py_DECREF(iobj);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1131|    102|        }
 1132|    102|        if (ival == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1132:13): [True: 0, False: 102]
  |  Branch (1132:27): [True: 0, False: 0]
  ------------------
 1133|      0|            goto exit;
 1134|      0|        }
 1135|    102|        groups = ival;
 1136|    102|    }
 1137|    102|    if (!PyDict_Check(args[4])) {
  ------------------
  |  |   18|    102|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    102|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1137:9): [True: 0, False: 102]
  ------------------
 1138|      0|        _PyArg_BadArgument("compile", "argument 'groupindex'", "dict", args[4]);
 1139|      0|        goto exit;
 1140|      0|    }
 1141|    102|    groupindex = args[4];
 1142|    102|    if (!PyTuple_Check(args[5])) {
  ------------------
  |  |   27|    102|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    102|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1142:9): [True: 0, False: 102]
  ------------------
 1143|      0|        _PyArg_BadArgument("compile", "argument 'indexgroup'", "tuple", args[5]);
 1144|      0|        goto exit;
 1145|      0|    }
 1146|    102|    indexgroup = args[5];
 1147|    102|    return_value = _sre_compile_impl(module, pattern, flags, code, groups, groupindex, indexgroup);
 1148|       |
 1149|    102|exit:
 1150|    102|    return return_value;
 1151|    102|}
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|     56|{
  184|     56|    PyObject *return_value = NULL;
  185|     56|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  186|       |
  187|     56|    #define NUM_KEYWORDS 3
  188|     56|    static struct {
  189|     56|        PyGC_Head _this_is_not_used;
  190|     56|        PyObject_VAR_HEAD
  191|     56|        Py_hash_t ob_hash;
  192|     56|        PyObject *ob_item[NUM_KEYWORDS];
  193|     56|    } _kwtuple = {
  194|     56|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|     56|    {                                     \
  |  |   98|     56|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|     56|    {                               \
  |  |  |  |   91|     56|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|     56|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|     56|#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|     56|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|     56|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|     56|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|     56|        (type)                      \
  |  |  |  |   93|     56|    },
  |  |  ------------------
  |  |   99|     56|        (size)                            \
  |  |  100|     56|    },
  ------------------
  195|     56|        .ob_hash = -1,
  196|     56|        .ob_item = { &_Py_ID(string), &_Py_ID(pos), &_Py_ID(endpos), },
  ------------------
  |  |  915|     56|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     56|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     56|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(string), &_Py_ID(pos), &_Py_ID(endpos), },
  ------------------
  |  |  915|     56|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     56|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     56|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(string), &_Py_ID(pos), &_Py_ID(endpos), },
  ------------------
  |  |  915|     56|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     56|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     56|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  197|     56|    };
  198|     56|    #undef NUM_KEYWORDS
  199|     56|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  200|       |
  201|       |    #else  // !Py_BUILD_CORE
  202|       |    #  define KWTUPLE NULL
  203|       |    #endif  // !Py_BUILD_CORE
  204|       |
  205|     56|    static const char * const _keywords[] = {"string", "pos", "endpos", NULL};
  206|     56|    static _PyArg_Parser _parser = {
  207|     56|        .keywords = _keywords,
  208|     56|        .fname = "prefixmatch",
  209|     56|        .kwtuple = KWTUPLE,
  ------------------
  |  |  199|     56|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  210|     56|    };
  211|     56|    #undef KWTUPLE
  212|     56|    PyObject *argsbuf[3];
  213|     56|    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: 56]
  ------------------
  214|     56|    PyObject *string;
  215|     56|    Py_ssize_t pos = 0;
  216|     56|    Py_ssize_t endpos = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|     56|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  217|       |
  218|     56|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|     56|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 56, False: 0]
  |  |  ------------------
  |  |   89|     56|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 56, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 56]
  |  |  |  Branch (89:43): [True: 56, False: 0]
  |  |  |  Branch (89:67): [True: 56, False: 0]
  |  |  ------------------
  |  |   90|     56|      (args) : \
  |  |   91|     56|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  219|     56|            /*minpos*/ 1, /*maxpos*/ 3, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  220|     56|    if (!args) {
  ------------------
  |  Branch (220:9): [True: 0, False: 56]
  ------------------
  221|      0|        goto exit;
  222|      0|    }
  223|     56|    string = args[0];
  224|     56|    if (!noptargs) {
  ------------------
  |  Branch (224:9): [True: 52, False: 4]
  ------------------
  225|     52|        goto skip_optional_pos;
  226|     52|    }
  227|      4|    if (args[1]) {
  ------------------
  |  Branch (227:9): [True: 4, False: 0]
  ------------------
  228|      4|        {
  229|      4|            Py_ssize_t ival = -1;
  230|      4|            PyObject *iobj = _PyNumber_Index(args[1]);
  231|      4|            if (iobj != NULL) {
  ------------------
  |  Branch (231:17): [True: 4, False: 0]
  ------------------
  232|      4|                ival = PyLong_AsSsize_t(iobj);
  233|      4|                Py_DECREF(iobj);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  234|      4|            }
  235|      4|            if (ival == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (235:17): [True: 0, False: 4]
  |  Branch (235:31): [True: 0, False: 0]
  ------------------
  236|      0|                goto exit;
  237|      0|            }
  238|      4|            pos = ival;
  239|      4|        }
  240|      4|        if (!--noptargs) {
  ------------------
  |  Branch (240:13): [True: 4, False: 0]
  ------------------
  241|      4|            goto skip_optional_pos;
  242|      4|        }
  243|      4|    }
  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|     56|skip_optional_pos:
  257|     56|    return_value = _sre_SRE_Pattern_prefixmatch_impl((PatternObject *)self, cls, string, pos, endpos);
  258|       |
  259|     56|exit:
  260|     56|    return return_value;
  261|     56|}
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), },
  ------------------
  |  |  915|      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), },
  ------------------
  |  |  915|      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), },
  ------------------
  |  |  915|      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|      4|{
 1434|      4|    PyObject *return_value = NULL;
 1435|      4|    PyObject *group = NULL;
 1436|      4|    Py_ssize_t _return_value;
 1437|       |
 1438|      4|    if (!_PyArg_CheckPositional("end", 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]
  |  |  ------------------
  ------------------
 1439|      0|        goto exit;
 1440|      0|    }
 1441|      4|    if (nargs < 1) {
  ------------------
  |  Branch (1441:9): [True: 4, False: 0]
  ------------------
 1442|      4|        goto skip_optional;
 1443|      4|    }
 1444|      0|    group = args[0];
 1445|      4|skip_optional:
 1446|      4|    _return_value = _sre_SRE_Match_end_impl((MatchObject *)self, group);
 1447|      4|    if ((_return_value == -1) && PyErr_Occurred()) {
  ------------------
  |  Branch (1447:9): [True: 0, False: 4]
  |  Branch (1447:34): [True: 0, False: 0]
  ------------------
 1448|      0|        goto exit;
 1449|      0|    }
 1450|      4|    return_value = PyLong_FromSsize_t(_return_value);
 1451|       |
 1452|      4|exit:
 1453|      4|    return return_value;
 1454|      4|}
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), },
  ------------------
  |  |  915|      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), },
  ------------------
  |  |  915|      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:
 3479|      2|{
 3480|      2|    return PyModuleDef_Init(&sremodule);
 3481|      2|}
sre.c:_sre_compile_impl:
 1631|    102|{
 1632|       |    /* "compile" pattern descriptor to pattern object */
 1633|       |
 1634|    102|    _sremodulestate *module_state = get_sre_module_state(module);
 1635|    102|    PatternObject* self;
 1636|    102|    Py_ssize_t i, n;
 1637|       |
 1638|    102|    n = PyList_GET_SIZE(code);
  ------------------
  |  |   38|    102|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    102|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    102|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1639|       |    /* coverity[ampersand_in_size] */
 1640|    102|    self = PyObject_GC_NewVar(PatternObject, module_state->Pattern_Type, n);
  ------------------
  |  |  183|    102|    _Py_CAST(type*, _PyObject_GC_NewVar((typeobj), (n)))
  |  |  ------------------
  |  |  |  |   37|    102|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1641|    102|    if (!self)
  ------------------
  |  Branch (1641:9): [True: 0, False: 102]
  ------------------
 1642|      0|        return NULL;
 1643|    102|    self->weakreflist = NULL;
 1644|    102|    self->pattern = NULL;
 1645|    102|    self->groupindex = NULL;
 1646|    102|    self->indexgroup = NULL;
 1647|       |#ifdef Py_DEBUG
 1648|       |    self->fail_after_count = -1;
 1649|       |    self->fail_after_exc = NULL;
 1650|       |#endif
 1651|       |
 1652|    102|    self->codesize = n;
 1653|       |
 1654|  7.48k|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (1654:17): [True: 7.38k, False: 102]
  ------------------
 1655|  7.38k|        PyObject *o = PyList_GET_ITEM(code, i);
  ------------------
  |  |   40|  7.38k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|  7.38k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.38k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1656|  7.38k|        unsigned long value = PyLong_AsUnsignedLong(o);
 1657|  7.38k|        if (value == (unsigned long)-1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1657:13): [True: 0, False: 7.38k]
  |  Branch (1657:43): [True: 0, False: 0]
  ------------------
 1658|      0|            break;
 1659|      0|        }
 1660|  7.38k|        self->code[i] = (SRE_CODE) value;
 1661|  7.38k|        if ((unsigned long) self->code[i] != value) {
  ------------------
  |  Branch (1661:13): [True: 0, False: 7.38k]
  ------------------
 1662|      0|            PyErr_SetString(PyExc_OverflowError,
 1663|      0|                            "regular expression code size limit exceeded");
 1664|      0|            break;
 1665|      0|        }
 1666|  7.38k|    }
 1667|    102|    PyObject_GC_Track(self);
 1668|       |
 1669|    102|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (1669:9): [True: 0, False: 102]
  ------------------
 1670|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1671|      0|        return NULL;
 1672|      0|    }
 1673|       |
 1674|    102|    if (pattern == Py_None) {
  ------------------
  |  |  616|    102|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1674:9): [True: 0, False: 102]
  ------------------
 1675|      0|        self->isbytes = -1;
 1676|      0|    }
 1677|    102|    else {
 1678|    102|        Py_ssize_t p_length;
 1679|    102|        int charsize;
 1680|    102|        Py_buffer view;
 1681|    102|        view.buf = NULL;
 1682|    102|        if (!getstring(pattern, &p_length, &self->isbytes,
  ------------------
  |  Branch (1682:13): [True: 0, False: 102]
  ------------------
 1683|    102|                       &charsize, &view)) {
 1684|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1685|      0|            return NULL;
 1686|      0|        }
 1687|    102|        if (view.buf)
  ------------------
  |  Branch (1687:13): [True: 12, False: 90]
  ------------------
 1688|     12|            PyBuffer_Release(&view);
 1689|    102|    }
 1690|       |
 1691|    102|    self->pattern = Py_NewRef(pattern);
  ------------------
  |  |  550|    102|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    102|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    102|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1692|       |
 1693|    102|    self->flags = flags;
 1694|       |
 1695|    102|    self->groups = groups;
 1696|       |
 1697|    102|    if (PyDict_GET_SIZE(groupindex) > 0) {
  ------------------
  |  |   63|    102|#define PyDict_GET_SIZE(op) PyDict_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 (1697:9): [True: 18, False: 84]
  ------------------
 1698|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1699|     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 (1699:13): [True: 18, False: 0]
  ------------------
 1700|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1701|     18|        }
 1702|     18|    }
 1703|       |
 1704|    102|    if (!_validate(self)) {
  ------------------
  |  Branch (1704:9): [True: 0, False: 102]
  ------------------
 1705|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1706|      0|        return NULL;
 1707|      0|    }
 1708|       |
 1709|    102|    return (PyObject*) self;
 1710|    102|}
sre.c:get_sre_module_state:
  387|    178|{
  388|    178|    _sremodulestate *state = (_sremodulestate *)_PyModule_GetState(m);
  389|       |    assert(state);
  390|    178|    return state;
  391|    178|}
sre.c:getstring:
  505|    204|{
  506|       |    /* given a python object, return a data pointer, a length (in
  507|       |       characters), and a character size.  return NULL if the object
  508|       |       is not a string (or not compatible) */
  509|       |
  510|       |    /* Unicode objects do not support the buffer API. So, get the data
  511|       |       directly instead. */
  512|    204|    if (PyUnicode_Check(string)) {
  ------------------
  |  |  103|    204|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    204|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 174, False: 30]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  513|    174|        *p_length = PyUnicode_GET_LENGTH(string);
  ------------------
  |  |  299|    174|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    174|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    174|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  514|    174|        *p_charsize = PyUnicode_KIND(string);
  ------------------
  |  |  258|    174|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|    174|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  515|    174|        *p_isbytes = 0;
  516|    174|        return PyUnicode_DATA(string);
  ------------------
  |  |  284|    174|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    174|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    174|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  517|    174|    }
  518|       |
  519|       |    /* get pointer to byte string buffer */
  520|     30|    if (PyObject_GetBuffer(string, view, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|     30|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (520:9): [True: 0, False: 30]
  ------------------
  521|      0|        PyErr_Format(PyExc_TypeError, "expected string or bytes-like "
  522|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  523|      0|        return NULL;
  524|      0|    }
  525|       |
  526|     30|    *p_length = view->len;
  527|     30|    *p_charsize = 1;
  528|     30|    *p_isbytes = 1;
  529|       |
  530|     30|    if (view->buf == NULL) {
  ------------------
  |  Branch (530:9): [True: 0, False: 30]
  ------------------
  531|      0|        PyErr_SetString(PyExc_ValueError, "Buffer is NULL");
  532|      0|        PyBuffer_Release(view);
  533|      0|        view->buf = NULL;
  534|      0|        return NULL;
  535|      0|    }
  536|     30|    return view->buf;
  537|     30|}
sre.c:_validate:
 2256|    102|{
 2257|    102|    if (_validate_outer(self->code, self->code+self->codesize, self->groups))
  ------------------
  |  Branch (2257:9): [True: 0, False: 102]
  ------------------
 2258|      0|    {
 2259|      0|        PyErr_SetString(PyExc_RuntimeError, "invalid SRE code");
 2260|      0|        return 0;
 2261|      0|    }
 2262|    102|    else
 2263|    102|        VTRACE(("Success!\n"));
  ------------------
  |  | 1808|    102|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  ------------------
  |  |  |  Branch (1808:31): [Folded, False: 102]
  |  |  ------------------
  ------------------
 2264|    102|    return 1;
 2265|    102|}
sre.c:_validate_outer:
 2247|    102|{
 2248|    102|    if (groups < 0 || (size_t)groups > SRE_MAXGROUPS ||
  ------------------
  |  |   21|    204|# define SRE_MAXGROUPS ((SRE_CODE)INT32_MAX / 2)
  ------------------
  |  Branch (2248:9): [True: 0, False: 102]
  |  Branch (2248:23): [True: 0, False: 102]
  ------------------
 2249|    102|        code >= end || end[-1] != SRE_OP_SUCCESS)
  ------------------
  |  |   16|    102|#define SRE_OP_SUCCESS 1
  ------------------
  |  Branch (2249:9): [True: 0, False: 102]
  |  Branch (2249:24): [True: 0, False: 102]
  ------------------
 2250|      0|        FAIL;
  ------------------
  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2251|    102|    return _validate_inner(code, end-1, groups);
 2252|    102|}
sre.c:_validate_inner:
 1931|    596|{
 1932|       |    /* Some variables are manipulated by the macros above */
 1933|    596|    SRE_CODE op;
  ------------------
  |  |   18|    596|#define SRE_CODE Py_UCS4
  ------------------
 1934|    596|    SRE_CODE arg;
  ------------------
  |  |   18|    596|#define SRE_CODE Py_UCS4
  ------------------
 1935|    596|    SRE_CODE skip;
  ------------------
  |  |   18|    596|#define SRE_CODE Py_UCS4
  ------------------
 1936|       |
 1937|    596|    VTRACE(("code=%p, end=%p\n", code, end));
  ------------------
  |  | 1808|    596|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  ------------------
  |  |  |  Branch (1808:31): [Folded, False: 596]
  |  |  ------------------
  ------------------
 1938|       |
 1939|    596|    if (code > end)
  ------------------
  |  Branch (1939:9): [True: 0, False: 596]
  ------------------
 1940|      0|        FAIL;
  ------------------
  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1941|       |
 1942|  2.18k|    while (code < end) {
  ------------------
  |  Branch (1942:12): [True: 1.58k, False: 596]
  ------------------
 1943|  1.58k|        GET_OP;
  ------------------
  |  | 1816|  1.58k|    do {                                                \
  |  | 1817|  1.58k|        VTRACE(("%p: ", code));                         \
  |  |  ------------------
  |  |  |  | 1808|  1.58k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 1.58k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1818|  1.58k|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1818:13): [True: 0, False: 1.58k]
  |  |  ------------------
  |  | 1819|  1.58k|        op = *code++;                                   \
  |  | 1820|  1.58k|        VTRACE(("%lu (op)\n", (unsigned long)op));      \
  |  |  ------------------
  |  |  |  | 1808|  1.58k|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 1.58k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1821|  1.58k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1821:14): [Folded, False: 1.58k]
  |  |  ------------------
  ------------------
 1944|  1.58k|        switch (op) {
 1945|       |
 1946|    376|        case SRE_OP_MARK:
  ------------------
  |  |   32|    376|#define SRE_OP_MARK 17
  ------------------
  |  Branch (1946:9): [True: 376, False: 1.20k]
  ------------------
 1947|       |            /* We don't check whether marks are properly nested; the
 1948|       |               sre_match() code is robust even if they don't, and the worst
 1949|       |               you can get is nonsensical match results. */
 1950|    376|            GET_ARG;
  ------------------
  |  | 1823|    376|    do {                                                \
  |  | 1824|    376|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1808|    376|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 376]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1825|    376|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1825:13): [True: 0, False: 376]
  |  |  ------------------
  |  | 1826|    376|        arg = *code++;                                  \
  |  | 1827|    376|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1808|    376|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 376]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1828|    376|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1828:14): [Folded, False: 376]
  |  |  ------------------
  ------------------
 1951|    376|            if (arg >= 2 * (size_t)groups) {
  ------------------
  |  Branch (1951:17): [True: 0, False: 376]
  ------------------
 1952|      0|                VTRACE(("arg=%d, groups=%d\n", (int)arg, (int)groups));
  ------------------
  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  ------------------
  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1953|      0|                FAIL;
  ------------------
  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1954|      0|            }
 1955|    376|            break;
 1956|       |
 1957|    376|        case SRE_OP_LITERAL:
  ------------------
  |  |   31|    260|#define SRE_OP_LITERAL 16
  ------------------
  |  Branch (1957:9): [True: 260, False: 1.32k]
  ------------------
 1958|    268|        case SRE_OP_NOT_LITERAL:
  ------------------
  |  |   35|    268|#define SRE_OP_NOT_LITERAL 20
  ------------------
  |  Branch (1958:9): [True: 8, False: 1.57k]
  ------------------
 1959|    268|        case SRE_OP_LITERAL_IGNORE:
  ------------------
  |  |   47|    268|#define SRE_OP_LITERAL_IGNORE 32
  ------------------
  |  Branch (1959:9): [True: 0, False: 1.58k]
  ------------------
 1960|    268|        case SRE_OP_NOT_LITERAL_IGNORE:
  ------------------
  |  |   48|    268|#define SRE_OP_NOT_LITERAL_IGNORE 33
  ------------------
  |  Branch (1960:9): [True: 0, False: 1.58k]
  ------------------
 1961|    302|        case SRE_OP_LITERAL_UNI_IGNORE:
  ------------------
  |  |   55|    302|#define SRE_OP_LITERAL_UNI_IGNORE 40
  ------------------
  |  Branch (1961:9): [True: 34, False: 1.55k]
  ------------------
 1962|    302|        case SRE_OP_NOT_LITERAL_UNI_IGNORE:
  ------------------
  |  |   56|    302|#define SRE_OP_NOT_LITERAL_UNI_IGNORE 41
  ------------------
  |  Branch (1962:9): [True: 0, False: 1.58k]
  ------------------
 1963|    302|        case SRE_OP_LITERAL_LOC_IGNORE:
  ------------------
  |  |   51|    302|#define SRE_OP_LITERAL_LOC_IGNORE 36
  ------------------
  |  Branch (1963:9): [True: 0, False: 1.58k]
  ------------------
 1964|    302|        case SRE_OP_NOT_LITERAL_LOC_IGNORE:
  ------------------
  |  |   52|    302|#define SRE_OP_NOT_LITERAL_LOC_IGNORE 37
  ------------------
  |  Branch (1964:9): [True: 0, False: 1.58k]
  ------------------
 1965|    302|            GET_ARG;
  ------------------
  |  | 1823|    302|    do {                                                \
  |  | 1824|    302|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1808|    302|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 302]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1825|    302|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1825:13): [True: 0, False: 302]
  |  |  ------------------
  |  | 1826|    302|        arg = *code++;                                  \
  |  | 1827|    302|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1808|    302|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 302]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1828|    302|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1828:14): [Folded, False: 302]
  |  |  ------------------
  ------------------
 1966|       |            /* The arg is just a character, nothing to check */
 1967|    302|            break;
 1968|       |
 1969|    302|        case SRE_OP_SUCCESS:
  ------------------
  |  |   16|      0|#define SRE_OP_SUCCESS 1
  ------------------
  |  Branch (1969:9): [True: 0, False: 1.58k]
  ------------------
 1970|      0|        case SRE_OP_FAILURE:
  ------------------
  |  |   15|      0|#define SRE_OP_FAILURE 0
  ------------------
  |  Branch (1970:9): [True: 0, False: 1.58k]
  ------------------
 1971|       |            /* Nothing to check; these normally end the matching process */
 1972|      0|            break;
 1973|       |
 1974|     56|        case SRE_OP_AT:
  ------------------
  |  |   21|     56|#define SRE_OP_AT 6
  ------------------
  |  Branch (1974:9): [True: 56, False: 1.52k]
  ------------------
 1975|     56|            GET_ARG;
  ------------------
  |  | 1823|     56|    do {                                                \
  |  | 1824|     56|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1808|     56|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 56]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1825|     56|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1825:13): [True: 0, False: 56]
  |  |  ------------------
  |  | 1826|     56|        arg = *code++;                                  \
  |  | 1827|     56|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1808|     56|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 56]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1828|     56|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1828:14): [Folded, False: 56]
  |  |  ------------------
  ------------------
 1976|     56|            switch (arg) {
 1977|     16|            case SRE_AT_BEGINNING:
  ------------------
  |  |   58|     16|#define SRE_AT_BEGINNING 0
  ------------------
  |  Branch (1977:13): [True: 16, False: 40]
  ------------------
 1978|     20|            case SRE_AT_BEGINNING_STRING:
  ------------------
  |  |   60|     20|#define SRE_AT_BEGINNING_STRING 2
  ------------------
  |  Branch (1978:13): [True: 4, False: 52]
  ------------------
 1979|     20|            case SRE_AT_BEGINNING_LINE:
  ------------------
  |  |   59|     20|#define SRE_AT_BEGINNING_LINE 1
  ------------------
  |  Branch (1979:13): [True: 0, False: 56]
  ------------------
 1980|     44|            case SRE_AT_END:
  ------------------
  |  |   63|     44|#define SRE_AT_END 5
  ------------------
  |  Branch (1980:13): [True: 24, False: 32]
  ------------------
 1981|     44|            case SRE_AT_END_LINE:
  ------------------
  |  |   64|     44|#define SRE_AT_END_LINE 6
  ------------------
  |  Branch (1981:13): [True: 0, False: 56]
  ------------------
 1982|     56|            case SRE_AT_END_STRING:
  ------------------
  |  |   65|     56|#define SRE_AT_END_STRING 7
  ------------------
  |  Branch (1982:13): [True: 12, False: 44]
  ------------------
 1983|     56|            case SRE_AT_BOUNDARY:
  ------------------
  |  |   61|     56|#define SRE_AT_BOUNDARY 3
  ------------------
  |  Branch (1983:13): [True: 0, False: 56]
  ------------------
 1984|     56|            case SRE_AT_NON_BOUNDARY:
  ------------------
  |  |   62|     56|#define SRE_AT_NON_BOUNDARY 4
  ------------------
  |  Branch (1984:13): [True: 0, False: 56]
  ------------------
 1985|     56|            case SRE_AT_LOC_BOUNDARY:
  ------------------
  |  |   66|     56|#define SRE_AT_LOC_BOUNDARY 8
  ------------------
  |  Branch (1985:13): [True: 0, False: 56]
  ------------------
 1986|     56|            case SRE_AT_LOC_NON_BOUNDARY:
  ------------------
  |  |   67|     56|#define SRE_AT_LOC_NON_BOUNDARY 9
  ------------------
  |  Branch (1986:13): [True: 0, False: 56]
  ------------------
 1987|     56|            case SRE_AT_UNI_BOUNDARY:
  ------------------
  |  |   68|     56|#define SRE_AT_UNI_BOUNDARY 10
  ------------------
  |  Branch (1987:13): [True: 0, False: 56]
  ------------------
 1988|     56|            case SRE_AT_UNI_NON_BOUNDARY:
  ------------------
  |  |   69|     56|#define SRE_AT_UNI_NON_BOUNDARY 11
  ------------------
  |  Branch (1988:13): [True: 0, False: 56]
  ------------------
 1989|     56|                break;
 1990|      0|            default:
  ------------------
  |  Branch (1990:13): [True: 0, False: 56]
  ------------------
 1991|      0|                FAIL;
  ------------------
  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1992|     56|            }
 1993|     56|            break;
 1994|       |
 1995|     56|        case SRE_OP_ANY:
  ------------------
  |  |   17|      8|#define SRE_OP_ANY 2
  ------------------
  |  Branch (1995:9): [True: 8, False: 1.57k]
  ------------------
 1996|     16|        case SRE_OP_ANY_ALL:
  ------------------
  |  |   18|     16|#define SRE_OP_ANY_ALL 3
  ------------------
  |  Branch (1996:9): [True: 8, False: 1.57k]
  ------------------
 1997|       |            /* These have no operands */
 1998|     16|            break;
 1999|       |
 2000|    292|        case SRE_OP_IN:
  ------------------
  |  |   28|    292|#define SRE_OP_IN 13
  ------------------
  |  Branch (2000:9): [True: 292, False: 1.29k]
  ------------------
 2001|    292|        case SRE_OP_IN_IGNORE:
  ------------------
  |  |   46|    292|#define SRE_OP_IN_IGNORE 31
  ------------------
  |  Branch (2001:9): [True: 0, False: 1.58k]
  ------------------
 2002|    306|        case SRE_OP_IN_UNI_IGNORE:
  ------------------
  |  |   54|    306|#define SRE_OP_IN_UNI_IGNORE 39
  ------------------
  |  Branch (2002:9): [True: 14, False: 1.57k]
  ------------------
 2003|    306|        case SRE_OP_IN_LOC_IGNORE:
  ------------------
  |  |   50|    306|#define SRE_OP_IN_LOC_IGNORE 35
  ------------------
  |  Branch (2003:9): [True: 0, False: 1.58k]
  ------------------
 2004|    306|            GET_SKIP;
  ------------------
  |  | 1840|    306|#define GET_SKIP GET_SKIP_ADJ(0)
  |  |  ------------------
  |  |  |  | 1830|    306|    do {                                                \
  |  |  |  | 1831|    306|        VTRACE(("%p= ", code));                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1808|    306|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 306]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1832|    306|        if (code >= end) FAIL;                          \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1832:13): [True: 0, False: 306]
  |  |  |  |  ------------------
  |  |  |  | 1833|    306|        skip = *code;                                   \
  |  |  |  | 1834|    306|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1808|    306|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 306]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1835|    306|               (unsigned long)skip, code+skip));        \
  |  |  |  | 1836|    306|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1836:13): [True: 0, False: 306]
  |  |  |  |  ------------------
  |  |  |  | 1837|    306|            FAIL;                                       \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1838|    306|        code++;                                         \
  |  |  |  | 1839|    306|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1839:14): [Folded, False: 306]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2005|       |            /* Stop 1 before the end; we check the FAILURE below */
 2006|    306|            if (_validate_charset(code, code+skip-2))
  ------------------
  |  Branch (2006:17): [True: 0, False: 306]
  ------------------
 2007|      0|                FAIL;
  ------------------
  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2008|    306|            if (code[skip-2] != SRE_OP_FAILURE)
  ------------------
  |  |   15|    306|#define SRE_OP_FAILURE 0
  ------------------
  |  Branch (2008:17): [True: 0, False: 306]
  ------------------
 2009|      0|                FAIL;
  ------------------
  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2010|    306|            code += skip-1;
 2011|    306|            break;
 2012|       |
 2013|    102|        case SRE_OP_INFO:
  ------------------
  |  |   29|    102|#define SRE_OP_INFO 14
  ------------------
  |  Branch (2013:9): [True: 102, False: 1.48k]
  ------------------
 2014|    102|            {
 2015|       |                /* A minimal info field is
 2016|       |                   <INFO> <1=skip> <2=flags> <3=min> <4=max>;
 2017|       |                   If SRE_INFO_PREFIX or SRE_INFO_CHARSET is in the flags,
 2018|       |                   more follows. */
 2019|    102|                SRE_CODE flags, i;
  ------------------
  |  |   18|    102|#define SRE_CODE Py_UCS4
  ------------------
 2020|    102|                SRE_CODE *newcode;
  ------------------
  |  |   18|    102|#define SRE_CODE Py_UCS4
  ------------------
 2021|    102|                GET_SKIP;
  ------------------
  |  | 1840|    102|#define GET_SKIP GET_SKIP_ADJ(0)
  |  |  ------------------
  |  |  |  | 1830|    102|    do {                                                \
  |  |  |  | 1831|    102|        VTRACE(("%p= ", code));                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1808|    102|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 102]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1832|    102|        if (code >= end) FAIL;                          \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1832:13): [True: 0, False: 102]
  |  |  |  |  ------------------
  |  |  |  | 1833|    102|        skip = *code;                                   \
  |  |  |  | 1834|    102|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1808|    102|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 102]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1835|    102|               (unsigned long)skip, code+skip));        \
  |  |  |  | 1836|    102|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1836:13): [True: 0, False: 102]
  |  |  |  |  ------------------
  |  |  |  | 1837|    102|            FAIL;                                       \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1838|    102|        code++;                                         \
  |  |  |  | 1839|    102|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1839:14): [Folded, False: 102]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2022|    102|                newcode = code+skip-1;
 2023|    102|                GET_ARG; flags = arg;
  ------------------
  |  | 1823|    102|    do {                                                \
  |  | 1824|    102|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1808|    102|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 102]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1825|    102|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1825:13): [True: 0, False: 102]
  |  |  ------------------
  |  | 1826|    102|        arg = *code++;                                  \
  |  | 1827|    102|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1808|    102|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 102]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1828|    102|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1828:14): [Folded, False: 102]
  |  |  ------------------
  ------------------
 2024|    102|                GET_ARG;
  ------------------
  |  | 1823|    102|    do {                                                \
  |  | 1824|    102|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1808|    102|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 102]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1825|    102|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1825:13): [True: 0, False: 102]
  |  |  ------------------
  |  | 1826|    102|        arg = *code++;                                  \
  |  | 1827|    102|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1808|    102|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 102]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1828|    102|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1828:14): [Folded, False: 102]
  |  |  ------------------
  ------------------
 2025|    102|                GET_ARG;
  ------------------
  |  | 1823|    102|    do {                                                \
  |  | 1824|    102|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1808|    102|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 102]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1825|    102|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1825:13): [True: 0, False: 102]
  |  |  ------------------
  |  | 1826|    102|        arg = *code++;                                  \
  |  | 1827|    102|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1808|    102|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 102]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1828|    102|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1828:14): [Folded, False: 102]
  |  |  ------------------
  ------------------
 2026|       |                /* Check that only valid flags are present */
 2027|    102|                if ((flags & ~(SRE_INFO_PREFIX |
  ------------------
  |  |   96|    102|#define SRE_INFO_PREFIX 1
  ------------------
  |  Branch (2027:21): [True: 0, False: 102]
  ------------------
 2028|    102|                               SRE_INFO_LITERAL |
  ------------------
  |  |   97|    102|#define SRE_INFO_LITERAL 2
  ------------------
 2029|    102|                               SRE_INFO_CHARSET)) != 0)
  ------------------
  |  |   98|    102|#define SRE_INFO_CHARSET 4
  ------------------
 2030|      0|                    FAIL;
  ------------------
  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2031|       |                /* PREFIX and CHARSET are mutually exclusive */
 2032|    102|                if ((flags & SRE_INFO_PREFIX) &&
  ------------------
  |  |   96|    102|#define SRE_INFO_PREFIX 1
  ------------------
  |  Branch (2032:21): [True: 14, False: 88]
  ------------------
 2033|     14|                    (flags & SRE_INFO_CHARSET))
  ------------------
  |  |   98|     14|#define SRE_INFO_CHARSET 4
  ------------------
  |  Branch (2033:21): [True: 0, False: 14]
  ------------------
 2034|      0|                    FAIL;
  ------------------
  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2035|       |                /* LITERAL implies PREFIX */
 2036|    102|                if ((flags & SRE_INFO_LITERAL) &&
  ------------------
  |  |   97|    102|#define SRE_INFO_LITERAL 2
  ------------------
  |  Branch (2036:21): [True: 0, False: 102]
  ------------------
 2037|      0|                    !(flags & SRE_INFO_PREFIX))
  ------------------
  |  |   96|      0|#define SRE_INFO_PREFIX 1
  ------------------
  |  Branch (2037:21): [True: 0, False: 0]
  ------------------
 2038|      0|                    FAIL;
  ------------------
  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2039|       |                /* Validate the prefix */
 2040|    102|                if (flags & SRE_INFO_PREFIX) {
  ------------------
  |  |   96|    102|#define SRE_INFO_PREFIX 1
  ------------------
  |  Branch (2040:21): [True: 14, False: 88]
  ------------------
 2041|     14|                    SRE_CODE prefix_len;
  ------------------
  |  |   18|     14|#define SRE_CODE Py_UCS4
  ------------------
 2042|     14|                    GET_ARG; prefix_len = arg;
  ------------------
  |  | 1823|     14|    do {                                                \
  |  | 1824|     14|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1808|     14|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 14]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1825|     14|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1825:13): [True: 0, False: 14]
  |  |  ------------------
  |  | 1826|     14|        arg = *code++;                                  \
  |  | 1827|     14|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1808|     14|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 14]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1828|     14|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1828:14): [Folded, False: 14]
  |  |  ------------------
  ------------------
 2043|     14|                    GET_ARG;
  ------------------
  |  | 1823|     14|    do {                                                \
  |  | 1824|     14|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1808|     14|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 14]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1825|     14|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1825:13): [True: 0, False: 14]
  |  |  ------------------
  |  | 1826|     14|        arg = *code++;                                  \
  |  | 1827|     14|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1808|     14|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 14]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1828|     14|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1828:14): [Folded, False: 14]
  |  |  ------------------
  ------------------
 2044|       |                    /* Here comes the prefix string */
 2045|     14|                    if (prefix_len > (uintptr_t)(newcode - code))
  ------------------
  |  Branch (2045:25): [True: 0, False: 14]
  ------------------
 2046|      0|                        FAIL;
  ------------------
  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2047|     14|                    code += prefix_len;
 2048|       |                    /* And here comes the overlap table */
 2049|     14|                    if (prefix_len > (uintptr_t)(newcode - code))
  ------------------
  |  Branch (2049:25): [True: 0, False: 14]
  ------------------
 2050|      0|                        FAIL;
  ------------------
  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2051|       |                    /* Each overlap value should be < prefix_len */
 2052|     34|                    for (i = 0; i < prefix_len; i++) {
  ------------------
  |  Branch (2052:33): [True: 20, False: 14]
  ------------------
 2053|     20|                        if (code[i] >= prefix_len)
  ------------------
  |  Branch (2053:29): [True: 0, False: 20]
  ------------------
 2054|      0|                            FAIL;
  ------------------
  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2055|     20|                    }
 2056|     14|                    code += prefix_len;
 2057|     14|                }
 2058|       |                /* Validate the charset */
 2059|    102|                if (flags & SRE_INFO_CHARSET) {
  ------------------
  |  |   98|    102|#define SRE_INFO_CHARSET 4
  ------------------
  |  Branch (2059:21): [True: 28, False: 74]
  ------------------
 2060|     28|                    if (_validate_charset(code, newcode-1))
  ------------------
  |  Branch (2060:25): [True: 0, False: 28]
  ------------------
 2061|      0|                        FAIL;
  ------------------
  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2062|     28|                    if (newcode[-1] != SRE_OP_FAILURE)
  ------------------
  |  |   15|     28|#define SRE_OP_FAILURE 0
  ------------------
  |  Branch (2062:25): [True: 0, False: 28]
  ------------------
 2063|      0|                        FAIL;
  ------------------
  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2064|     28|                    code = newcode;
 2065|     28|                }
 2066|     74|                else if (code != newcode) {
  ------------------
  |  Branch (2066:26): [True: 0, False: 74]
  ------------------
 2067|      0|                  VTRACE(("code=%p, newcode=%p\n", code, newcode));
  ------------------
  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  ------------------
  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2068|      0|                    FAIL;
  ------------------
  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2069|      0|                }
 2070|    102|            }
 2071|    102|            break;
 2072|       |
 2073|    102|        case SRE_OP_BRANCH:
  ------------------
  |  |   22|     54|#define SRE_OP_BRANCH 7
  ------------------
  |  Branch (2073:9): [True: 54, False: 1.53k]
  ------------------
 2074|     54|            {
 2075|     54|                SRE_CODE *target = NULL;
  ------------------
  |  |   18|     54|#define SRE_CODE Py_UCS4
  ------------------
 2076|    178|                for (;;) {
 2077|    178|                    GET_SKIP;
  ------------------
  |  | 1840|    178|#define GET_SKIP GET_SKIP_ADJ(0)
  |  |  ------------------
  |  |  |  | 1830|    178|    do {                                                \
  |  |  |  | 1831|    178|        VTRACE(("%p= ", code));                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1808|    178|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 178]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1832|    178|        if (code >= end) FAIL;                          \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1832:13): [True: 0, False: 178]
  |  |  |  |  ------------------
  |  |  |  | 1833|    178|        skip = *code;                                   \
  |  |  |  | 1834|    178|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1808|    178|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 178]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1835|    178|               (unsigned long)skip, code+skip));        \
  |  |  |  | 1836|    178|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1836:13): [True: 0, False: 178]
  |  |  |  |  ------------------
  |  |  |  | 1837|    178|            FAIL;                                       \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1838|    178|        code++;                                         \
  |  |  |  | 1839|    178|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1839:14): [Folded, False: 178]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2078|    178|                    if (skip == 0)
  ------------------
  |  Branch (2078:25): [True: 54, False: 124]
  ------------------
 2079|     54|                        break;
 2080|       |                    /* Stop 2 before the end; we check the JUMP below */
 2081|    124|                    if (_validate_inner(code, code+skip-3, groups))
  ------------------
  |  Branch (2081:25): [True: 0, False: 124]
  ------------------
 2082|      0|                        FAIL;
  ------------------
  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2083|    124|                    code += skip-3;
 2084|       |                    /* Check that it ends with a JUMP, and that each JUMP
 2085|       |                       has the same target */
 2086|    124|                    GET_OP;
  ------------------
  |  | 1816|    124|    do {                                                \
  |  | 1817|    124|        VTRACE(("%p: ", code));                         \
  |  |  ------------------
  |  |  |  | 1808|    124|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 124]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1818|    124|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1818:13): [True: 0, False: 124]
  |  |  ------------------
  |  | 1819|    124|        op = *code++;                                   \
  |  | 1820|    124|        VTRACE(("%lu (op)\n", (unsigned long)op));      \
  |  |  ------------------
  |  |  |  | 1808|    124|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 124]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1821|    124|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1821:14): [Folded, False: 124]
  |  |  ------------------
  ------------------
 2087|    124|                    if (op != SRE_OP_JUMP)
  ------------------
  |  |   30|    124|#define SRE_OP_JUMP 15
  ------------------
  |  Branch (2087:25): [True: 0, False: 124]
  ------------------
 2088|      0|                        FAIL;
  ------------------
  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2089|    124|                    GET_SKIP;
  ------------------
  |  | 1840|    124|#define GET_SKIP GET_SKIP_ADJ(0)
  |  |  ------------------
  |  |  |  | 1830|    124|    do {                                                \
  |  |  |  | 1831|    124|        VTRACE(("%p= ", code));                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1808|    124|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 124]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1832|    124|        if (code >= end) FAIL;                          \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1832:13): [True: 0, False: 124]
  |  |  |  |  ------------------
  |  |  |  | 1833|    124|        skip = *code;                                   \
  |  |  |  | 1834|    124|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1808|    124|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 124]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1835|    124|               (unsigned long)skip, code+skip));        \
  |  |  |  | 1836|    124|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1836:13): [True: 0, False: 124]
  |  |  |  |  ------------------
  |  |  |  | 1837|    124|            FAIL;                                       \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1838|    124|        code++;                                         \
  |  |  |  | 1839|    124|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1839:14): [Folded, False: 124]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2090|    124|                    if (target == NULL)
  ------------------
  |  Branch (2090:25): [True: 54, False: 70]
  ------------------
 2091|     54|                        target = code+skip-1;
 2092|     70|                    else if (code+skip-1 != target)
  ------------------
  |  Branch (2092:30): [True: 0, False: 70]
  ------------------
 2093|      0|                        FAIL;
  ------------------
  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2094|    124|                }
 2095|     54|                if (code != target)
  ------------------
  |  Branch (2095:21): [True: 0, False: 54]
  ------------------
 2096|      0|                    FAIL;
  ------------------
  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2097|     54|            }
 2098|     54|            break;
 2099|       |
 2100|    218|        case SRE_OP_REPEAT_ONE:
  ------------------
  |  |   39|    218|#define SRE_OP_REPEAT_ONE 24
  ------------------
  |  Branch (2100:9): [True: 218, False: 1.36k]
  ------------------
 2101|    228|        case SRE_OP_MIN_REPEAT_ONE:
  ------------------
  |  |   41|    228|#define SRE_OP_MIN_REPEAT_ONE 26
  ------------------
  |  Branch (2101:9): [True: 10, False: 1.57k]
  ------------------
 2102|    228|        case SRE_OP_POSSESSIVE_REPEAT_ONE:
  ------------------
  |  |   44|    228|#define SRE_OP_POSSESSIVE_REPEAT_ONE 29
  ------------------
  |  Branch (2102:9): [True: 0, False: 1.58k]
  ------------------
 2103|    228|            {
 2104|    228|                SRE_CODE min, max;
  ------------------
  |  |   18|    228|#define SRE_CODE Py_UCS4
  ------------------
 2105|    228|                GET_SKIP;
  ------------------
  |  | 1840|    228|#define GET_SKIP GET_SKIP_ADJ(0)
  |  |  ------------------
  |  |  |  | 1830|    228|    do {                                                \
  |  |  |  | 1831|    228|        VTRACE(("%p= ", code));                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1808|    228|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 228]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1832|    228|        if (code >= end) FAIL;                          \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1832:13): [True: 0, False: 228]
  |  |  |  |  ------------------
  |  |  |  | 1833|    228|        skip = *code;                                   \
  |  |  |  | 1834|    228|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1808|    228|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 228]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1835|    228|               (unsigned long)skip, code+skip));        \
  |  |  |  | 1836|    228|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1836:13): [True: 0, False: 228]
  |  |  |  |  ------------------
  |  |  |  | 1837|    228|            FAIL;                                       \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1838|    228|        code++;                                         \
  |  |  |  | 1839|    228|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1839:14): [Folded, False: 228]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2106|    228|                GET_ARG; min = arg;
  ------------------
  |  | 1823|    228|    do {                                                \
  |  | 1824|    228|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1808|    228|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 228]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1825|    228|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1825:13): [True: 0, False: 228]
  |  |  ------------------
  |  | 1826|    228|        arg = *code++;                                  \
  |  | 1827|    228|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1808|    228|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 228]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1828|    228|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1828:14): [Folded, False: 228]
  |  |  ------------------
  ------------------
 2107|    228|                GET_ARG; max = arg;
  ------------------
  |  | 1823|    228|    do {                                                \
  |  | 1824|    228|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1808|    228|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 228]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1825|    228|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1825:13): [True: 0, False: 228]
  |  |  ------------------
  |  | 1826|    228|        arg = *code++;                                  \
  |  | 1827|    228|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1808|    228|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 228]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1828|    228|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1828:14): [Folded, False: 228]
  |  |  ------------------
  ------------------
 2108|    228|                if (min > max)
  ------------------
  |  Branch (2108:21): [True: 0, False: 228]
  ------------------
 2109|      0|                    FAIL;
  ------------------
  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2110|    228|                if (max > SRE_MAXREPEAT)
  ------------------
  |  |   20|    228|# define SRE_MAXREPEAT (~(SRE_CODE)0)
  ------------------
  |  Branch (2110:21): [True: 0, False: 228]
  ------------------
 2111|      0|                    FAIL;
  ------------------
  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2112|    228|                if (_validate_inner(code, code+skip-4, groups))
  ------------------
  |  Branch (2112:21): [True: 0, False: 228]
  ------------------
 2113|      0|                    FAIL;
  ------------------
  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2114|    228|                code += skip-4;
 2115|    228|                GET_OP;
  ------------------
  |  | 1816|    228|    do {                                                \
  |  | 1817|    228|        VTRACE(("%p: ", code));                         \
  |  |  ------------------
  |  |  |  | 1808|    228|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 228]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1818|    228|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1818:13): [True: 0, False: 228]
  |  |  ------------------
  |  | 1819|    228|        op = *code++;                                   \
  |  | 1820|    228|        VTRACE(("%lu (op)\n", (unsigned long)op));      \
  |  |  ------------------
  |  |  |  | 1808|    228|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 228]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1821|    228|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1821:14): [Folded, False: 228]
  |  |  ------------------
  ------------------
 2116|    228|                if (op != SRE_OP_SUCCESS)
  ------------------
  |  |   16|    228|#define SRE_OP_SUCCESS 1
  ------------------
  |  Branch (2116:21): [True: 0, False: 228]
  ------------------
 2117|      0|                    FAIL;
  ------------------
  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2118|    228|            }
 2119|    228|            break;
 2120|       |
 2121|    228|        case SRE_OP_REPEAT:
  ------------------
  |  |   38|    112|#define SRE_OP_REPEAT 23
  ------------------
  |  Branch (2121:9): [True: 112, False: 1.47k]
  ------------------
 2122|    112|        case SRE_OP_POSSESSIVE_REPEAT:
  ------------------
  |  |   43|    112|#define SRE_OP_POSSESSIVE_REPEAT 28
  ------------------
  |  Branch (2122:9): [True: 0, False: 1.58k]
  ------------------
 2123|    112|            {
 2124|    112|                SRE_CODE op1 = op, min, max;
  ------------------
  |  |   18|    112|#define SRE_CODE Py_UCS4
  ------------------
 2125|    112|                GET_SKIP;
  ------------------
  |  | 1840|    112|#define GET_SKIP GET_SKIP_ADJ(0)
  |  |  ------------------
  |  |  |  | 1830|    112|    do {                                                \
  |  |  |  | 1831|    112|        VTRACE(("%p= ", code));                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1808|    112|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 112]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1832|    112|        if (code >= end) FAIL;                          \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1832:13): [True: 0, False: 112]
  |  |  |  |  ------------------
  |  |  |  | 1833|    112|        skip = *code;                                   \
  |  |  |  | 1834|    112|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1808|    112|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 112]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1835|    112|               (unsigned long)skip, code+skip));        \
  |  |  |  | 1836|    112|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1836:13): [True: 0, False: 112]
  |  |  |  |  ------------------
  |  |  |  | 1837|    112|            FAIL;                                       \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1838|    112|        code++;                                         \
  |  |  |  | 1839|    112|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1839:14): [Folded, False: 112]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2126|    112|                GET_ARG; min = arg;
  ------------------
  |  | 1823|    112|    do {                                                \
  |  | 1824|    112|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1808|    112|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 112]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1825|    112|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1825:13): [True: 0, False: 112]
  |  |  ------------------
  |  | 1826|    112|        arg = *code++;                                  \
  |  | 1827|    112|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1808|    112|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 112]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1828|    112|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1828:14): [Folded, False: 112]
  |  |  ------------------
  ------------------
 2127|    112|                GET_ARG; max = arg;
  ------------------
  |  | 1823|    112|    do {                                                \
  |  | 1824|    112|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1808|    112|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 112]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1825|    112|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1825:13): [True: 0, False: 112]
  |  |  ------------------
  |  | 1826|    112|        arg = *code++;                                  \
  |  | 1827|    112|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1808|    112|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 112]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1828|    112|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1828:14): [Folded, False: 112]
  |  |  ------------------
  ------------------
 2128|    112|                if (min > max)
  ------------------
  |  Branch (2128:21): [True: 0, False: 112]
  ------------------
 2129|      0|                    FAIL;
  ------------------
  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2130|    112|                if (max > SRE_MAXREPEAT)
  ------------------
  |  |   20|    112|# define SRE_MAXREPEAT (~(SRE_CODE)0)
  ------------------
  |  Branch (2130:21): [True: 0, False: 112]
  ------------------
 2131|      0|                    FAIL;
  ------------------
  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2132|    112|                if (_validate_inner(code, code+skip-3, groups))
  ------------------
  |  Branch (2132:21): [True: 0, False: 112]
  ------------------
 2133|      0|                    FAIL;
  ------------------
  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2134|    112|                code += skip-3;
 2135|    112|                GET_OP;
  ------------------
  |  | 1816|    112|    do {                                                \
  |  | 1817|    112|        VTRACE(("%p: ", code));                         \
  |  |  ------------------
  |  |  |  | 1808|    112|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 112]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1818|    112|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1818:13): [True: 0, False: 112]
  |  |  ------------------
  |  | 1819|    112|        op = *code++;                                   \
  |  | 1820|    112|        VTRACE(("%lu (op)\n", (unsigned long)op));      \
  |  |  ------------------
  |  |  |  | 1808|    112|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 112]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1821|    112|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1821:14): [Folded, False: 112]
  |  |  ------------------
  ------------------
 2136|    112|                if (op1 == SRE_OP_POSSESSIVE_REPEAT) {
  ------------------
  |  |   43|    112|#define SRE_OP_POSSESSIVE_REPEAT 28
  ------------------
  |  Branch (2136:21): [True: 0, False: 112]
  ------------------
 2137|      0|                    if (op != SRE_OP_SUCCESS)
  ------------------
  |  |   16|      0|#define SRE_OP_SUCCESS 1
  ------------------
  |  Branch (2137:25): [True: 0, False: 0]
  ------------------
 2138|      0|                        FAIL;
  ------------------
  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2139|      0|                }
 2140|    112|                else {
 2141|    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 (2141:25): [True: 0, False: 112]
  |  Branch (2141:51): [True: 0, False: 0]
  ------------------
 2142|      0|                        FAIL;
  ------------------
  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2143|    112|                }
 2144|    112|            }
 2145|    112|            break;
 2146|       |
 2147|    112|        case SRE_OP_ATOMIC_GROUP:
  ------------------
  |  |   42|      0|#define SRE_OP_ATOMIC_GROUP 27
  ------------------
  |  Branch (2147:9): [True: 0, False: 1.58k]
  ------------------
 2148|      0|            {
 2149|      0|                GET_SKIP;
  ------------------
  |  | 1840|      0|#define GET_SKIP GET_SKIP_ADJ(0)
  |  |  ------------------
  |  |  |  | 1830|      0|    do {                                                \
  |  |  |  | 1831|      0|        VTRACE(("%p= ", code));                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1832|      0|        if (code >= end) FAIL;                          \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1832:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1833|      0|        skip = *code;                                   \
  |  |  |  | 1834|      0|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1835|      0|               (unsigned long)skip, code+skip));        \
  |  |  |  | 1836|      0|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1836:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1837|      0|            FAIL;                                       \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1838|      0|        code++;                                         \
  |  |  |  | 1839|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1839:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2150|      0|                if (_validate_inner(code, code+skip-2, groups))
  ------------------
  |  Branch (2150:21): [True: 0, False: 0]
  ------------------
 2151|      0|                    FAIL;
  ------------------
  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2152|      0|                code += skip-2;
 2153|      0|                GET_OP;
  ------------------
  |  | 1816|      0|    do {                                                \
  |  | 1817|      0|        VTRACE(("%p: ", code));                         \
  |  |  ------------------
  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1818|      0|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1818:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1819|      0|        op = *code++;                                   \
  |  | 1820|      0|        VTRACE(("%lu (op)\n", (unsigned long)op));      \
  |  |  ------------------
  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1821|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1821:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2154|      0|                if (op != SRE_OP_SUCCESS)
  ------------------
  |  |   16|      0|#define SRE_OP_SUCCESS 1
  ------------------
  |  Branch (2154:21): [True: 0, False: 0]
  ------------------
 2155|      0|                    FAIL;
  ------------------
  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2156|      0|            }
 2157|      0|            break;
 2158|       |
 2159|      0|        case SRE_OP_GROUPREF:
  ------------------
  |  |   26|      0|#define SRE_OP_GROUPREF 11
  ------------------
  |  Branch (2159:9): [True: 0, False: 1.58k]
  ------------------
 2160|      0|        case SRE_OP_GROUPREF_IGNORE:
  ------------------
  |  |   45|      0|#define SRE_OP_GROUPREF_IGNORE 30
  ------------------
  |  Branch (2160:9): [True: 0, False: 1.58k]
  ------------------
 2161|      2|        case SRE_OP_GROUPREF_UNI_IGNORE:
  ------------------
  |  |   53|      2|#define SRE_OP_GROUPREF_UNI_IGNORE 38
  ------------------
  |  Branch (2161:9): [True: 2, False: 1.58k]
  ------------------
 2162|      2|        case SRE_OP_GROUPREF_LOC_IGNORE:
  ------------------
  |  |   49|      2|#define SRE_OP_GROUPREF_LOC_IGNORE 34
  ------------------
  |  Branch (2162:9): [True: 0, False: 1.58k]
  ------------------
 2163|      2|            GET_ARG;
  ------------------
  |  | 1823|      2|    do {                                                \
  |  | 1824|      2|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1808|      2|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1825|      2|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1825:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 1826|      2|        arg = *code++;                                  \
  |  | 1827|      2|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1808|      2|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1828|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1828:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2164|      2|            if (arg >= (size_t)groups)
  ------------------
  |  Branch (2164:17): [True: 0, False: 2]
  ------------------
 2165|      0|                FAIL;
  ------------------
  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2166|      2|            break;
 2167|       |
 2168|      2|        case SRE_OP_GROUPREF_EXISTS:
  ------------------
  |  |   27|      0|#define SRE_OP_GROUPREF_EXISTS 12
  ------------------
  |  Branch (2168:9): [True: 0, False: 1.58k]
  ------------------
 2169|       |            /* The regex syntax for this is: '(?(group)then|else)', where
 2170|       |               'group' is either an integer group number or a group name,
 2171|       |               'then' and 'else' are sub-regexes, and 'else' is optional. */
 2172|      0|            GET_ARG;
  ------------------
  |  | 1823|      0|    do {                                                \
  |  | 1824|      0|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1825|      0|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1825:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1826|      0|        arg = *code++;                                  \
  |  | 1827|      0|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1828|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1828:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2173|      0|            if (arg >= (size_t)groups)
  ------------------
  |  Branch (2173:17): [True: 0, False: 0]
  ------------------
 2174|      0|                FAIL;
  ------------------
  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2175|      0|            GET_SKIP_ADJ(1);
  ------------------
  |  | 1830|      0|    do {                                                \
  |  | 1831|      0|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1832|      0|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1832:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1833|      0|        skip = *code;                                   \
  |  | 1834|      0|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  ------------------
  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1835|      0|               (unsigned long)skip, code+skip));        \
  |  | 1836|      0|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  ------------------
  |  |  |  Branch (1836:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 1837|      0|            FAIL;                                       \
  |  |  ------------------
  |  |  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1838|      0|        code++;                                         \
  |  | 1839|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1839:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2176|      0|            code--; /* The skip is relative to the first arg! */
 2177|       |            /* There are two possibilities here: if there is both a 'then'
 2178|       |               part and an 'else' part, the generated code looks like:
 2179|       |
 2180|       |               GROUPREF_EXISTS
 2181|       |               <group>
 2182|       |               <skipyes>
 2183|       |               ...then part...
 2184|       |               JUMP
 2185|       |               <skipno>
 2186|       |               (<skipyes> jumps here)
 2187|       |               ...else part...
 2188|       |               (<skipno> jumps here)
 2189|       |
 2190|       |               If there is only a 'then' part, it looks like:
 2191|       |
 2192|       |               GROUPREF_EXISTS
 2193|       |               <group>
 2194|       |               <skip>
 2195|       |               ...then part...
 2196|       |               (<skip> jumps here)
 2197|       |
 2198|       |               There is no direct way to decide which it is, and we don't want
 2199|       |               to allow arbitrary jumps anywhere in the code; so we just look
 2200|       |               for a JUMP opcode preceding our skip target.
 2201|       |            */
 2202|      0|            VTRACE(("then part:\n"));
  ------------------
  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  ------------------
  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2203|      0|            int rc = _validate_inner(code+1, code+skip-1, groups);
 2204|      0|            if (rc == 1) {
  ------------------
  |  Branch (2204:17): [True: 0, False: 0]
  ------------------
 2205|      0|                VTRACE(("else part:\n"));
  ------------------
  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  ------------------
  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2206|      0|                code += skip-2; /* Position after JUMP, at <skipno> */
 2207|      0|                GET_SKIP;
  ------------------
  |  | 1840|      0|#define GET_SKIP GET_SKIP_ADJ(0)
  |  |  ------------------
  |  |  |  | 1830|      0|    do {                                                \
  |  |  |  | 1831|      0|        VTRACE(("%p= ", code));                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1832|      0|        if (code >= end) FAIL;                          \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1832:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1833|      0|        skip = *code;                                   \
  |  |  |  | 1834|      0|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1835|      0|               (unsigned long)skip, code+skip));        \
  |  |  |  | 1836|      0|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1836:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 1837|      0|            FAIL;                                       \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1838|      0|        code++;                                         \
  |  |  |  | 1839|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1839:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2208|      0|                rc = _validate_inner(code, code+skip-1, groups);
 2209|      0|            }
 2210|      0|            if (rc)
  ------------------
  |  Branch (2210:17): [True: 0, False: 0]
  ------------------
 2211|      0|                FAIL;
  ------------------
  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2212|      0|            code += skip-1;
 2213|      0|            break;
 2214|       |
 2215|     26|        case SRE_OP_ASSERT:
  ------------------
  |  |   19|     26|#define SRE_OP_ASSERT 4
  ------------------
  |  Branch (2215:9): [True: 26, False: 1.55k]
  ------------------
 2216|     30|        case SRE_OP_ASSERT_NOT:
  ------------------
  |  |   20|     30|#define SRE_OP_ASSERT_NOT 5
  ------------------
  |  Branch (2216:9): [True: 4, False: 1.58k]
  ------------------
 2217|     30|            GET_SKIP;
  ------------------
  |  | 1840|     30|#define GET_SKIP GET_SKIP_ADJ(0)
  |  |  ------------------
  |  |  |  | 1830|     30|    do {                                                \
  |  |  |  | 1831|     30|        VTRACE(("%p= ", code));                         \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1808|     30|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 30]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1832|     30|        if (code >= end) FAIL;                          \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1832:13): [True: 0, False: 30]
  |  |  |  |  ------------------
  |  |  |  | 1833|     30|        skip = *code;                                   \
  |  |  |  | 1834|     30|        VTRACE(("%lu (skip to %p)\n",                   \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1808|     30|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 30]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1835|     30|               (unsigned long)skip, code+skip));        \
  |  |  |  | 1836|     30|        if (skip-adj > (uintptr_t)(end - code))         \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1836:13): [True: 0, False: 30]
  |  |  |  |  ------------------
  |  |  |  | 1837|     30|            FAIL;                                       \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 1838|     30|        code++;                                         \
  |  |  |  | 1839|     30|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1839:14): [Folded, False: 30]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2218|     30|            GET_ARG; /* 0 for lookahead, width for lookbehind */
  ------------------
  |  | 1823|     30|    do {                                                \
  |  | 1824|     30|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1808|     30|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 30]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1825|     30|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1825:13): [True: 0, False: 30]
  |  |  ------------------
  |  | 1826|     30|        arg = *code++;                                  \
  |  | 1827|     30|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1808|     30|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 30]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1828|     30|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1828:14): [Folded, False: 30]
  |  |  ------------------
  ------------------
 2219|     30|            code--; /* Back up over arg to simplify math below */
 2220|       |            /* Stop 1 before the end; we check the SUCCESS below */
 2221|     30|            if (_validate_inner(code+1, code+skip-2, groups))
  ------------------
  |  Branch (2221:17): [True: 0, False: 30]
  ------------------
 2222|      0|                FAIL;
  ------------------
  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2223|     30|            code += skip-2;
 2224|     30|            GET_OP;
  ------------------
  |  | 1816|     30|    do {                                                \
  |  | 1817|     30|        VTRACE(("%p: ", code));                         \
  |  |  ------------------
  |  |  |  | 1808|     30|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 30]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1818|     30|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1818:13): [True: 0, False: 30]
  |  |  ------------------
  |  | 1819|     30|        op = *code++;                                   \
  |  | 1820|     30|        VTRACE(("%lu (op)\n", (unsigned long)op));      \
  |  |  ------------------
  |  |  |  | 1808|     30|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 30]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1821|     30|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1821:14): [Folded, False: 30]
  |  |  ------------------
  ------------------
 2225|     30|            if (op != SRE_OP_SUCCESS)
  ------------------
  |  |   16|     30|#define SRE_OP_SUCCESS 1
  ------------------
  |  Branch (2225:17): [True: 0, False: 30]
  ------------------
 2226|      0|                FAIL;
  ------------------
  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2227|     30|            break;
 2228|       |
 2229|     30|        case SRE_OP_JUMP:
  ------------------
  |  |   30|      0|#define SRE_OP_JUMP 15
  ------------------
  |  Branch (2229:9): [True: 0, False: 1.58k]
  ------------------
 2230|      0|            if (code + 1 != end)
  ------------------
  |  Branch (2230:17): [True: 0, False: 0]
  ------------------
 2231|      0|                FAIL;
  ------------------
  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2232|      0|            VTRACE(("JUMP: %d\n", __LINE__));
  ------------------
  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  ------------------
  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2233|      0|            return 1;
 2234|       |
 2235|      0|        default:
  ------------------
  |  Branch (2235:9): [True: 0, False: 1.58k]
  ------------------
 2236|      0|            FAIL;
  ------------------
  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2237|       |
 2238|  1.58k|        }
 2239|  1.58k|    }
 2240|       |
 2241|    596|    VTRACE(("okay\n"));
  ------------------
  |  | 1808|    596|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  ------------------
  |  |  |  Branch (1808:31): [Folded, False: 596]
  |  |  ------------------
  ------------------
 2242|    596|    return 0;
 2243|    596|}
sre.c:_validate_charset:
 1844|    334|{
 1845|       |    /* Some variables are manipulated by the macros above */
 1846|    334|    SRE_CODE op;
  ------------------
  |  |   18|    334|#define SRE_CODE Py_UCS4
  ------------------
 1847|    334|    SRE_CODE arg;
  ------------------
  |  |   18|    334|#define SRE_CODE Py_UCS4
  ------------------
 1848|    334|    SRE_CODE offset;
  ------------------
  |  |   18|    334|#define SRE_CODE Py_UCS4
  ------------------
 1849|    334|    int i;
 1850|       |
 1851|    826|    while (code < end) {
  ------------------
  |  Branch (1851:12): [True: 492, False: 334]
  ------------------
 1852|    492|        GET_OP;
  ------------------
  |  | 1816|    492|    do {                                                \
  |  | 1817|    492|        VTRACE(("%p: ", code));                         \
  |  |  ------------------
  |  |  |  | 1808|    492|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 492]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1818|    492|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1818:13): [True: 0, False: 492]
  |  |  ------------------
  |  | 1819|    492|        op = *code++;                                   \
  |  | 1820|    492|        VTRACE(("%lu (op)\n", (unsigned long)op));      \
  |  |  ------------------
  |  |  |  | 1808|    492|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 492]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1821|    492|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1821:14): [Folded, False: 492]
  |  |  ------------------
  ------------------
 1853|    492|        switch (op) {
 1854|       |
 1855|     26|        case SRE_OP_NEGATE:
  ------------------
  |  |   36|     26|#define SRE_OP_NEGATE 21
  ------------------
  |  Branch (1855:9): [True: 26, False: 466]
  ------------------
 1856|     26|            break;
 1857|       |
 1858|    180|        case SRE_OP_LITERAL:
  ------------------
  |  |   31|    180|#define SRE_OP_LITERAL 16
  ------------------
  |  Branch (1858:9): [True: 180, False: 312]
  ------------------
 1859|    180|            GET_ARG;
  ------------------
  |  | 1823|    180|    do {                                                \
  |  | 1824|    180|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1808|    180|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 180]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1825|    180|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1825:13): [True: 0, False: 180]
  |  |  ------------------
  |  | 1826|    180|        arg = *code++;                                  \
  |  | 1827|    180|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1808|    180|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 180]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1828|    180|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1828:14): [Folded, False: 180]
  |  |  ------------------
  ------------------
 1860|    180|            break;
 1861|       |
 1862|    180|        case SRE_OP_RANGE:
  ------------------
  |  |   37|     74|#define SRE_OP_RANGE 22
  ------------------
  |  Branch (1862:9): [True: 74, False: 418]
  ------------------
 1863|     74|        case SRE_OP_RANGE_UNI_IGNORE:
  ------------------
  |  |   57|     74|#define SRE_OP_RANGE_UNI_IGNORE 42
  ------------------
  |  Branch (1863:9): [True: 0, False: 492]
  ------------------
 1864|     74|            GET_ARG;
  ------------------
  |  | 1823|     74|    do {                                                \
  |  | 1824|     74|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1808|     74|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 74]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1825|     74|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1825:13): [True: 0, False: 74]
  |  |  ------------------
  |  | 1826|     74|        arg = *code++;                                  \
  |  | 1827|     74|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1808|     74|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 74]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1828|     74|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1828:14): [Folded, False: 74]
  |  |  ------------------
  ------------------
 1865|     74|            GET_ARG;
  ------------------
  |  | 1823|     74|    do {                                                \
  |  | 1824|     74|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1808|     74|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 74]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1825|     74|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1825:13): [True: 0, False: 74]
  |  |  ------------------
  |  | 1826|     74|        arg = *code++;                                  \
  |  | 1827|     74|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1808|     74|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 74]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1828|     74|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1828:14): [Folded, False: 74]
  |  |  ------------------
  ------------------
 1866|     74|            break;
 1867|       |
 1868|     74|        case SRE_OP_CHARSET:
  ------------------
  |  |   24|     58|#define SRE_OP_CHARSET 9
  ------------------
  |  Branch (1868:9): [True: 58, False: 434]
  ------------------
 1869|     58|            offset = 256/SRE_CODE_BITS; /* 256-bit bitmap */
  ------------------
  |  |   54|     58|#define SRE_CODE_BITS (8 * sizeof(SRE_CODE))
  ------------------
 1870|     58|            if (offset > (uintptr_t)(end - code))
  ------------------
  |  Branch (1870:17): [True: 0, False: 58]
  ------------------
 1871|      0|                FAIL;
  ------------------
  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1872|     58|            code += offset;
 1873|     58|            break;
 1874|       |
 1875|      6|        case SRE_OP_BIGCHARSET:
  ------------------
  |  |   25|      6|#define SRE_OP_BIGCHARSET 10
  ------------------
  |  Branch (1875:9): [True: 6, False: 486]
  ------------------
 1876|      6|            GET_ARG; /* Number of blocks */
  ------------------
  |  | 1823|      6|    do {                                                \
  |  | 1824|      6|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1808|      6|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1825|      6|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1825:13): [True: 0, False: 6]
  |  |  ------------------
  |  | 1826|      6|        arg = *code++;                                  \
  |  | 1827|      6|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1808|      6|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1828|      6|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1828:14): [Folded, False: 6]
  |  |  ------------------
  ------------------
 1877|      6|            offset = 256/sizeof(SRE_CODE); /* 256-byte table */
 1878|      6|            if (offset > (uintptr_t)(end - code))
  ------------------
  |  Branch (1878:17): [True: 0, False: 6]
  ------------------
 1879|      0|                FAIL;
  ------------------
  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1880|       |            /* Make sure that each byte points to a valid block */
 1881|  1.54k|            for (i = 0; i < 256; i++) {
  ------------------
  |  Branch (1881:25): [True: 1.53k, False: 6]
  ------------------
 1882|  1.53k|                if (((unsigned char *)code)[i] >= arg)
  ------------------
  |  Branch (1882:21): [True: 0, False: 1.53k]
  ------------------
 1883|      0|                    FAIL;
  ------------------
  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1884|  1.53k|            }
 1885|      6|            code += offset;
 1886|      6|            offset = arg * (256/SRE_CODE_BITS); /* 256-bit bitmap times arg */
  ------------------
  |  |   54|      6|#define SRE_CODE_BITS (8 * sizeof(SRE_CODE))
  ------------------
 1887|      6|            if (offset > (uintptr_t)(end - code))
  ------------------
  |  Branch (1887:17): [True: 0, False: 6]
  ------------------
 1888|      0|                FAIL;
  ------------------
  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1889|      6|            code += offset;
 1890|      6|            break;
 1891|       |
 1892|    148|        case SRE_OP_CATEGORY:
  ------------------
  |  |   23|    148|#define SRE_OP_CATEGORY 8
  ------------------
  |  Branch (1892:9): [True: 148, False: 344]
  ------------------
 1893|    148|            GET_ARG;
  ------------------
  |  | 1823|    148|    do {                                                \
  |  | 1824|    148|        VTRACE(("%p= ", code));                         \
  |  |  ------------------
  |  |  |  | 1808|    148|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 148]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1825|    148|        if (code >= end) FAIL;                          \
  |  |  ------------------
  |  |  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1825:13): [True: 0, False: 148]
  |  |  ------------------
  |  | 1826|    148|        arg = *code++;                                  \
  |  | 1827|    148|        VTRACE(("%lu (arg)\n", (unsigned long)arg));    \
  |  |  ------------------
  |  |  |  | 1808|    148|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 148]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1828|    148|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1828:14): [Folded, False: 148]
  |  |  ------------------
  ------------------
 1894|    148|            switch (arg) {
 1895|      2|            case SRE_CATEGORY_DIGIT:
  ------------------
  |  |   70|      2|#define SRE_CATEGORY_DIGIT 0
  ------------------
  |  Branch (1895:13): [True: 2, False: 146]
  ------------------
 1896|      2|            case SRE_CATEGORY_NOT_DIGIT:
  ------------------
  |  |   71|      2|#define SRE_CATEGORY_NOT_DIGIT 1
  ------------------
  |  Branch (1896:13): [True: 0, False: 148]
  ------------------
 1897|     16|            case SRE_CATEGORY_SPACE:
  ------------------
  |  |   72|     16|#define SRE_CATEGORY_SPACE 2
  ------------------
  |  Branch (1897:13): [True: 14, False: 134]
  ------------------
 1898|     16|            case SRE_CATEGORY_NOT_SPACE:
  ------------------
  |  |   73|     16|#define SRE_CATEGORY_NOT_SPACE 3
  ------------------
  |  Branch (1898:13): [True: 0, False: 148]
  ------------------
 1899|     26|            case SRE_CATEGORY_WORD:
  ------------------
  |  |   74|     26|#define SRE_CATEGORY_WORD 4
  ------------------
  |  Branch (1899:13): [True: 10, False: 138]
  ------------------
 1900|     26|            case SRE_CATEGORY_NOT_WORD:
  ------------------
  |  |   75|     26|#define SRE_CATEGORY_NOT_WORD 5
  ------------------
  |  Branch (1900:13): [True: 0, False: 148]
  ------------------
 1901|     26|            case SRE_CATEGORY_LINEBREAK:
  ------------------
  |  |   76|     26|#define SRE_CATEGORY_LINEBREAK 6
  ------------------
  |  Branch (1901:13): [True: 0, False: 148]
  ------------------
 1902|     26|            case SRE_CATEGORY_NOT_LINEBREAK:
  ------------------
  |  |   77|     26|#define SRE_CATEGORY_NOT_LINEBREAK 7
  ------------------
  |  Branch (1902:13): [True: 0, False: 148]
  ------------------
 1903|     26|            case SRE_CATEGORY_LOC_WORD:
  ------------------
  |  |   78|     26|#define SRE_CATEGORY_LOC_WORD 8
  ------------------
  |  Branch (1903:13): [True: 0, False: 148]
  ------------------
 1904|     26|            case SRE_CATEGORY_LOC_NOT_WORD:
  ------------------
  |  |   79|     26|#define SRE_CATEGORY_LOC_NOT_WORD 9
  ------------------
  |  Branch (1904:13): [True: 0, False: 148]
  ------------------
 1905|     88|            case SRE_CATEGORY_UNI_DIGIT:
  ------------------
  |  |   80|     88|#define SRE_CATEGORY_UNI_DIGIT 10
  ------------------
  |  Branch (1905:13): [True: 62, False: 86]
  ------------------
 1906|     88|            case SRE_CATEGORY_UNI_NOT_DIGIT:
  ------------------
  |  |   81|     88|#define SRE_CATEGORY_UNI_NOT_DIGIT 11
  ------------------
  |  Branch (1906:13): [True: 0, False: 148]
  ------------------
 1907|    110|            case SRE_CATEGORY_UNI_SPACE:
  ------------------
  |  |   82|    110|#define SRE_CATEGORY_UNI_SPACE 12
  ------------------
  |  Branch (1907:13): [True: 22, False: 126]
  ------------------
 1908|    110|            case SRE_CATEGORY_UNI_NOT_SPACE:
  ------------------
  |  |   83|    110|#define SRE_CATEGORY_UNI_NOT_SPACE 13
  ------------------
  |  Branch (1908:13): [True: 0, False: 148]
  ------------------
 1909|    138|            case SRE_CATEGORY_UNI_WORD:
  ------------------
  |  |   84|    138|#define SRE_CATEGORY_UNI_WORD 14
  ------------------
  |  Branch (1909:13): [True: 28, False: 120]
  ------------------
 1910|    148|            case SRE_CATEGORY_UNI_NOT_WORD:
  ------------------
  |  |   85|    148|#define SRE_CATEGORY_UNI_NOT_WORD 15
  ------------------
  |  Branch (1910:13): [True: 10, False: 138]
  ------------------
 1911|    148|            case SRE_CATEGORY_UNI_LINEBREAK:
  ------------------
  |  |   86|    148|#define SRE_CATEGORY_UNI_LINEBREAK 16
  ------------------
  |  Branch (1911:13): [True: 0, False: 148]
  ------------------
 1912|    148|            case SRE_CATEGORY_UNI_NOT_LINEBREAK:
  ------------------
  |  |   87|    148|#define SRE_CATEGORY_UNI_NOT_LINEBREAK 17
  ------------------
  |  Branch (1912:13): [True: 0, False: 148]
  ------------------
 1913|    148|                break;
 1914|      0|            default:
  ------------------
  |  Branch (1914:13): [True: 0, False: 148]
  ------------------
 1915|      0|                FAIL;
  ------------------
  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1916|    148|            }
 1917|    148|            break;
 1918|       |
 1919|    148|        default:
  ------------------
  |  Branch (1919:9): [True: 0, False: 492]
  ------------------
 1920|      0|            FAIL;
  ------------------
  |  | 1812|      0|#define FAIL do { VTRACE(("FAIL: %d\n", __LINE__)); return -1; } while (0)
  |  |  ------------------
  |  |  |  | 1808|      0|#define VTRACE(v) do {} while(0)  /* do nothing */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1808:31): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1812:73): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1921|       |
 1922|    492|        }
 1923|    492|    }
 1924|       |
 1925|    334|    return 0;
 1926|    334|}
sre.c:_sre_unicode_iscased_impl:
  452|    174|{
  453|    174|    unsigned int ch = (unsigned int)character;
  454|    174|    return ch != sre_lower_unicode(ch) || ch != sre_upper_unicode(ch);
  ------------------
  |  Branch (454:12): [True: 10, False: 164]
  |  Branch (454:43): [True: 40, False: 124]
  ------------------
  455|    174|}
sre.c:sre_lower_unicode:
  174|    430|{
  175|    430|    return (unsigned int) Py_UNICODE_TOLOWER(ch);
  ------------------
  |  |  754|    430|#define Py_UNICODE_TOLOWER(ch) _PyUnicode_ToLowercase(ch)
  ------------------
  176|    430|}
sre.c:sre_upper_unicode:
  179|    164|{
  180|    164|    return (unsigned int) Py_UNICODE_TOUPPER(ch);
  ------------------
  |  |  755|    164|#define Py_UNICODE_TOUPPER(ch) _PyUnicode_ToUppercase(ch)
  ------------------
  181|    164|}
sre.c:_sre_unicode_tolower_impl:
  483|    232|{
  484|    232|    return sre_lower_unicode(character);
  485|    232|}
sre.c:sre_exec:
 3422|      2|{
 3423|      2|    _sremodulestate *state;
 3424|       |
 3425|       |#ifdef Py_DEBUG
 3426|       |    _assert_match_aliases_prefixmatch(pattern_methods);
 3427|       |    _assert_match_aliases_prefixmatch(scanner_methods);
 3428|       |#endif
 3429|       |
 3430|       |    /* Create heap types */
 3431|      2|    state = get_sre_module_state(m);
 3432|      2|    CREATE_TYPE(m, state->Pattern_Type, &pattern_spec);
  ------------------
  |  | 3390|      2|#define CREATE_TYPE(m, type, spec)                                  \
  |  | 3391|      2|do {                                                                \
  |  | 3392|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(m, spec, NULL); \
  |  | 3393|      2|    if (type == NULL) {                                             \
  |  |  ------------------
  |  |  |  Branch (3393:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3394|      0|        goto error;                                                 \
  |  | 3395|      0|    }                                                               \
  |  | 3396|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (3396:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 3433|      2|    CREATE_TYPE(m, state->Match_Type, &match_spec);
  ------------------
  |  | 3390|      2|#define CREATE_TYPE(m, type, spec)                                  \
  |  | 3391|      2|do {                                                                \
  |  | 3392|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(m, spec, NULL); \
  |  | 3393|      2|    if (type == NULL) {                                             \
  |  |  ------------------
  |  |  |  Branch (3393:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3394|      0|        goto error;                                                 \
  |  | 3395|      0|    }                                                               \
  |  | 3396|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (3396:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 3434|      2|    CREATE_TYPE(m, state->Scanner_Type, &scanner_spec);
  ------------------
  |  | 3390|      2|#define CREATE_TYPE(m, type, spec)                                  \
  |  | 3391|      2|do {                                                                \
  |  | 3392|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(m, spec, NULL); \
  |  | 3393|      2|    if (type == NULL) {                                             \
  |  |  ------------------
  |  |  |  Branch (3393:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3394|      0|        goto error;                                                 \
  |  | 3395|      0|    }                                                               \
  |  | 3396|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (3396:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 3435|      2|    CREATE_TYPE(m, state->Template_Type, &template_spec);
  ------------------
  |  | 3390|      2|#define CREATE_TYPE(m, type, spec)                                  \
  |  | 3391|      2|do {                                                                \
  |  | 3392|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(m, spec, NULL); \
  |  | 3393|      2|    if (type == NULL) {                                             \
  |  |  ------------------
  |  |  |  Branch (3393:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3394|      0|        goto error;                                                 \
  |  | 3395|      0|    }                                                               \
  |  | 3396|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (3396:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 3436|       |
 3437|      2|    if (PyModule_AddIntConstant(m, "MAGIC", SRE_MAGIC) < 0) {
  ------------------
  |  |   14|      2|#define SRE_MAGIC 20230612
  ------------------
  |  Branch (3437:9): [True: 0, False: 2]
  ------------------
 3438|      0|        goto error;
 3439|      0|    }
 3440|       |
 3441|      2|    if (PyModule_AddIntConstant(m, "CODESIZE", sizeof(SRE_CODE)) < 0) {
  ------------------
  |  Branch (3441:9): [True: 0, False: 2]
  ------------------
 3442|      0|        goto error;
 3443|      0|    }
 3444|       |
 3445|      2|    ADD_ULONG_CONSTANT(m, "MAXREPEAT", SRE_MAXREPEAT);
  ------------------
  |  | 3399|      2|    do {                                                  \
  |  | 3400|      2|        if (PyModule_Add(module, name, PyLong_FromUnsignedLong(value)) < 0) { \
  |  |  ------------------
  |  |  |  Branch (3400:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3401|      0|            goto error;                                   \
  |  | 3402|      0|        }                                                 \
  |  | 3403|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (3403:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 3446|      2|    ADD_ULONG_CONSTANT(m, "MAXGROUPS", SRE_MAXGROUPS);
  ------------------
  |  | 3399|      2|    do {                                                  \
  |  | 3400|      2|        if (PyModule_Add(module, name, PyLong_FromUnsignedLong(value)) < 0) { \
  |  |  ------------------
  |  |  |  Branch (3400:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3401|      0|            goto error;                                   \
  |  | 3402|      0|        }                                                 \
  |  | 3403|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (3403:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 3447|       |
 3448|      2|    if (PyModule_AddStringConstant(m, "copyright", copyright) < 0) {
  ------------------
  |  Branch (3448:9): [True: 0, False: 2]
  ------------------
 3449|      0|        goto error;
 3450|      0|    }
 3451|       |
 3452|      2|    return 0;
 3453|       |
 3454|      0|error:
 3455|      0|    return -1;
 3456|      2|}
sre.c:pattern_dealloc:
  738|      4|{
  739|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  740|      4|    PyObject_GC_UnTrack(self);
  741|      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]
  |  |  ------------------
  ------------------
  742|      4|    (void)pattern_clear(self);
  743|      4|    tp->tp_free(self);
  744|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  745|      4|}
sre.c:_sre_SRE_Pattern_prefixmatch_impl:
  786|     56|{
  787|     56|    _sremodulestate *module_state = get_sre_module_state_by_class(cls);
  ------------------
  |  |  395|     56|    (get_sre_module_state(PyType_GetModule(cls)))
  ------------------
  788|     56|    SRE_STATE state;
  789|     56|    Py_ssize_t status;
  790|     56|    PyObject *match;
  791|       |
  792|     56|    if (!state_init(&state, self, string, pos, endpos))
  ------------------
  |  Branch (792:9): [True: 0, False: 56]
  ------------------
  793|      0|        return NULL;
  794|       |
  795|     56|    INIT_TRACE(&state);
  796|     56|    state.ptr = state.start;
  797|       |
  798|     56|    TRACE(("|%p|%p|MATCH\n", PatternObject_GetCode(self), state.ptr));
  799|       |
  800|     56|    status = sre_match(&state, PatternObject_GetCode(self));
  ------------------
  |  |   47|     56|#define PatternObject_GetCode(o) (((PatternObject*)(o))->code)
  ------------------
  801|       |
  802|     56|    TRACE(("|%p|%p|END\n", PatternObject_GetCode(self), state.ptr));
  803|     56|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (803:9): [True: 0, False: 56]
  ------------------
  804|      0|        state_fini(&state);
  805|      0|        return NULL;
  806|      0|    }
  807|       |
  808|     56|    match = pattern_new_match(module_state, self, &state, status);
  809|     56|    state_fini(&state);
  810|     56|    return match;
  811|     56|}
sre.c:state_init:
  542|     58|{
  543|       |    /* prepare state object */
  544|       |
  545|     58|    Py_ssize_t length;
  546|     58|    int isbytes, charsize;
  547|     58|    const void* ptr;
  548|       |
  549|     58|    memset(state, 0, sizeof(SRE_STATE));
  550|       |
  551|     58|    state->mark = PyMem_New(const void *, pattern->groups * 2);
  ------------------
  |  |   64|     58|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|     58|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [True: 0, False: 58]
  |  |  ------------------
  |  |   65|     58|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
  552|     58|    if (!state->mark) {
  ------------------
  |  Branch (552:9): [True: 0, False: 58]
  ------------------
  553|      0|        PyErr_NoMemory();
  554|      0|        goto err;
  555|      0|    }
  556|     58|    state->lastmark = -1;
  557|     58|    state->lastindex = -1;
  558|       |
  559|     58|    state->buffer.buf = NULL;
  560|     58|    ptr = getstring(string, &length, &isbytes, &charsize, &state->buffer);
  561|     58|    if (!ptr)
  ------------------
  |  Branch (561:9): [True: 0, False: 58]
  ------------------
  562|      0|        goto err;
  563|       |
  564|     58|    if (isbytes && pattern->isbytes == 0) {
  ------------------
  |  Branch (564:9): [True: 18, False: 40]
  |  Branch (564:20): [True: 0, False: 18]
  ------------------
  565|      0|        PyErr_SetString(PyExc_TypeError,
  566|      0|                        "cannot use a string pattern on a bytes-like object");
  567|      0|        goto err;
  568|      0|    }
  569|     58|    if (!isbytes && pattern->isbytes > 0) {
  ------------------
  |  Branch (569:9): [True: 40, False: 18]
  |  Branch (569:21): [True: 0, False: 40]
  ------------------
  570|      0|        PyErr_SetString(PyExc_TypeError,
  571|      0|                        "cannot use a bytes pattern on a string-like object");
  572|      0|        goto err;
  573|      0|    }
  574|       |
  575|       |    /* adjust boundaries */
  576|     58|    if (start < 0)
  ------------------
  |  Branch (576:9): [True: 0, False: 58]
  ------------------
  577|      0|        start = 0;
  578|     58|    else if (start > length)
  ------------------
  |  Branch (578:14): [True: 0, False: 58]
  ------------------
  579|      0|        start = length;
  580|       |
  581|     58|    if (end < 0)
  ------------------
  |  Branch (581:9): [True: 0, False: 58]
  ------------------
  582|      0|        end = 0;
  583|     58|    else if (end > length)
  ------------------
  |  Branch (583:14): [True: 58, False: 0]
  ------------------
  584|     58|        end = length;
  585|       |
  586|     58|    state->isbytes = isbytes;
  587|     58|    state->charsize = charsize;
  588|     58|    state->match_all = 0;
  589|     58|    state->must_advance = 0;
  590|     58|    state->debug = ((pattern->flags & SRE_FLAG_DEBUG) != 0);
  ------------------
  |  |   94|     58|#define SRE_FLAG_DEBUG 128
  ------------------
  591|       |
  592|     58|    state->beginning = ptr;
  593|       |
  594|     58|    state->start = (void*) ((char*) ptr + start * state->charsize);
  595|     58|    state->end = (void*) ((char*) ptr + end * state->charsize);
  596|       |
  597|     58|    state->string = Py_NewRef(string);
  ------------------
  |  |  550|     58|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     58|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     58|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  598|     58|    state->pos = start;
  599|     58|    state->endpos = end;
  600|       |
  601|       |#ifdef Py_DEBUG
  602|       |    state->fail_after_count = pattern->fail_after_count;
  603|       |    state->fail_after_exc = pattern->fail_after_exc; // borrowed ref
  604|       |#endif
  605|       |
  606|     58|    return string;
  607|      0|  err:
  608|       |    /* We add an explicit cast here because MSVC has a bug when
  609|       |       compiling C code where it believes that `const void**` cannot be
  610|       |       safely casted to `void*`, see bpo-39943 for details. */
  611|      0|    PyMem_Free((void*) state->mark);
  612|      0|    state->mark = NULL;
  613|      0|    if (state->buffer.buf)
  ------------------
  |  Branch (613:9): [True: 0, False: 0]
  ------------------
  614|      0|        PyBuffer_Release(&state->buffer);
  615|       |    return NULL;
  616|     58|}
sre.c:sre_match:
  749|     56|{
  750|     56|    if (state->charsize == 1)
  ------------------
  |  Branch (750:9): [True: 56, False: 0]
  ------------------
  751|     56|        return sre_ucs1_match(state, pattern, 1);
  752|      0|    if (state->charsize == 2)
  ------------------
  |  Branch (752:9): [True: 0, False: 0]
  ------------------
  753|      0|        return sre_ucs2_match(state, pattern, 1);
  754|      0|    assert(state->charsize == 4);
  755|      0|    return sre_ucs4_match(state, pattern, 1);
  756|      0|}
sre.c:data_stack_grow:
  253|     60|{
  254|     60|    INIT_TRACE(state);
  255|     60|    Py_ssize_t minsize, cursize;
  256|     60|    minsize = state->data_stack_base+size;
  257|     60|    cursize = state->data_stack_size;
  258|     60|    if (cursize < minsize) {
  ------------------
  |  Branch (258:9): [True: 60, False: 0]
  ------------------
  259|     60|        void* stack;
  260|     60|        cursize = minsize+minsize/4+1024;
  261|     60|        TRACE(("allocate/grow stack %zd\n", cursize));
  262|     60|        stack = PyMem_Realloc(state->data_stack, cursize);
  263|     60|        if (!stack) {
  ------------------
  |  Branch (263:13): [True: 0, False: 60]
  ------------------
  264|      0|            data_stack_dealloc(state);
  265|      0|            return SRE_ERROR_MEMORY;
  ------------------
  |  |  109|      0|#define SRE_ERROR_MEMORY -9 /* out of memory */
  ------------------
  266|      0|        }
  267|     60|        state->data_stack = (char *)stack;
  268|     60|        state->data_stack_size = cursize;
  269|     60|    }
  270|     60|    return 0;
  271|     60|}
sre.c:data_stack_dealloc:
  243|     58|{
  244|     58|    if (state->data_stack) {
  ------------------
  |  Branch (244:9): [True: 58, False: 0]
  ------------------
  245|     58|        PyMem_Free(state->data_stack);
  246|       |        state->data_stack = NULL;
  247|     58|    }
  248|     58|    state->data_stack_size = state->data_stack_base = 0;
  249|     58|}
sre.c:sre_category:
  185|    498|{
  186|    498|    switch (category) {
  ------------------
  |  Branch (186:13): [True: 498, False: 0]
  ------------------
  187|       |
  188|      0|    case SRE_CATEGORY_DIGIT:
  ------------------
  |  |   70|      0|#define SRE_CATEGORY_DIGIT 0
  ------------------
  |  Branch (188:5): [True: 0, False: 498]
  ------------------
  189|      0|        return SRE_IS_DIGIT(ch);
  ------------------
  |  |  136|      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 (136:6): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  190|      0|    case SRE_CATEGORY_NOT_DIGIT:
  ------------------
  |  |   71|      0|#define SRE_CATEGORY_NOT_DIGIT 1
  ------------------
  |  Branch (190:5): [True: 0, False: 498]
  ------------------
  191|      0|        return !SRE_IS_DIGIT(ch);
  ------------------
  |  |  136|      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 (136:6): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  192|     16|    case SRE_CATEGORY_SPACE:
  ------------------
  |  |   72|     16|#define SRE_CATEGORY_SPACE 2
  ------------------
  |  Branch (192:5): [True: 16, False: 482]
  ------------------
  193|     16|        return SRE_IS_SPACE(ch);
  ------------------
  |  |  138|     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 (138:6): [True: 8, False: 8]
  |  |  ------------------
  ------------------
  194|      0|    case SRE_CATEGORY_NOT_SPACE:
  ------------------
  |  |   73|      0|#define SRE_CATEGORY_NOT_SPACE 3
  ------------------
  |  Branch (194:5): [True: 0, False: 498]
  ------------------
  195|      0|        return !SRE_IS_SPACE(ch);
  ------------------
  |  |  138|      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 (138:6): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  196|     60|    case SRE_CATEGORY_WORD:
  ------------------
  |  |   74|     60|#define SRE_CATEGORY_WORD 4
  ------------------
  |  Branch (196:5): [True: 60, False: 438]
  ------------------
  197|     60|        return SRE_IS_WORD(ch);
  ------------------
  |  |  142|     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 (142:6): [True: 60, False: 0]
  |  |  |  Branch (142:40): [True: 0, False: 20]
  |  |  ------------------
  ------------------
  198|      0|    case SRE_CATEGORY_NOT_WORD:
  ------------------
  |  |   75|      0|#define SRE_CATEGORY_NOT_WORD 5
  ------------------
  |  Branch (198:5): [True: 0, False: 498]
  ------------------
  199|      0|        return !SRE_IS_WORD(ch);
  ------------------
  |  |  142|      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 (142:6): [True: 0, False: 0]
  |  |  |  Branch (142:40): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  200|      0|    case SRE_CATEGORY_LINEBREAK:
  ------------------
  |  |   76|      0|#define SRE_CATEGORY_LINEBREAK 6
  ------------------
  |  Branch (200:5): [True: 0, False: 498]
  ------------------
  201|      0|        return SRE_IS_LINEBREAK(ch);
  ------------------
  |  |  140|      0|    ((ch) == '\n')
  ------------------
  202|      0|    case SRE_CATEGORY_NOT_LINEBREAK:
  ------------------
  |  |   77|      0|#define SRE_CATEGORY_NOT_LINEBREAK 7
  ------------------
  |  Branch (202:5): [True: 0, False: 498]
  ------------------
  203|      0|        return !SRE_IS_LINEBREAK(ch);
  ------------------
  |  |  140|      0|    ((ch) == '\n')
  ------------------
  204|       |
  205|      0|    case SRE_CATEGORY_LOC_WORD:
  ------------------
  |  |   78|      0|#define SRE_CATEGORY_LOC_WORD 8
  ------------------
  |  Branch (205:5): [True: 0, False: 498]
  ------------------
  206|      0|        return SRE_LOC_IS_WORD(ch);
  ------------------
  |  |  153|      0|#define SRE_LOC_IS_WORD(ch) (SRE_LOC_IS_ALNUM((ch)) || (ch) == '_')
  |  |  ------------------
  |  |  |  |  152|      0|#define SRE_LOC_IS_ALNUM(ch) (!((ch) & ~255) ? sre_isalnum((ch)) : 0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (152:30): [True: 0, False: 0]
  |  |  |  |  |  Branch (152:31): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (153:56): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  207|      0|    case SRE_CATEGORY_LOC_NOT_WORD:
  ------------------
  |  |   79|      0|#define SRE_CATEGORY_LOC_NOT_WORD 9
  ------------------
  |  Branch (207:5): [True: 0, False: 498]
  ------------------
  208|      0|        return !SRE_LOC_IS_WORD(ch);
  ------------------
  |  |  153|      0|#define SRE_LOC_IS_WORD(ch) (SRE_LOC_IS_ALNUM((ch)) || (ch) == '_')
  |  |  ------------------
  |  |  |  |  152|      0|#define SRE_LOC_IS_ALNUM(ch) (!((ch) & ~255) ? sre_isalnum((ch)) : 0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (152:30): [True: 0, False: 0]
  |  |  |  |  |  Branch (152:31): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (153:56): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  209|       |
  210|      8|    case SRE_CATEGORY_UNI_DIGIT:
  ------------------
  |  |   80|      8|#define SRE_CATEGORY_UNI_DIGIT 10
  ------------------
  |  Branch (210:5): [True: 8, False: 490]
  ------------------
  211|      8|        return SRE_UNI_IS_DIGIT(ch);
  ------------------
  |  |  167|      8|#define SRE_UNI_IS_DIGIT(ch) Py_UNICODE_ISDECIMAL(ch)
  |  |  ------------------
  |  |  |  |  758|      8|#define Py_UNICODE_ISDECIMAL(ch) _PyUnicode_IsDecimalDigit(ch)
  |  |  ------------------
  ------------------
  212|      0|    case SRE_CATEGORY_UNI_NOT_DIGIT:
  ------------------
  |  |   81|      0|#define SRE_CATEGORY_UNI_NOT_DIGIT 11
  ------------------
  |  Branch (212:5): [True: 0, False: 498]
  ------------------
  213|      0|        return !SRE_UNI_IS_DIGIT(ch);
  ------------------
  |  |  167|      0|#define SRE_UNI_IS_DIGIT(ch) Py_UNICODE_ISDECIMAL(ch)
  |  |  ------------------
  |  |  |  |  758|      0|#define Py_UNICODE_ISDECIMAL(ch) _PyUnicode_IsDecimalDigit(ch)
  |  |  ------------------
  ------------------
  214|     40|    case SRE_CATEGORY_UNI_SPACE:
  ------------------
  |  |   82|     40|#define SRE_CATEGORY_UNI_SPACE 12
  ------------------
  |  Branch (214:5): [True: 40, False: 458]
  ------------------
  215|     40|        return SRE_UNI_IS_SPACE(ch);
  ------------------
  |  |  168|     40|#define SRE_UNI_IS_SPACE(ch) Py_UNICODE_ISSPACE(ch)
  ------------------
  216|      0|    case SRE_CATEGORY_UNI_NOT_SPACE:
  ------------------
  |  |   83|      0|#define SRE_CATEGORY_UNI_NOT_SPACE 13
  ------------------
  |  Branch (216:5): [True: 0, False: 498]
  ------------------
  217|      0|        return !SRE_UNI_IS_SPACE(ch);
  ------------------
  |  |  168|      0|#define SRE_UNI_IS_SPACE(ch) Py_UNICODE_ISSPACE(ch)
  ------------------
  218|    374|    case SRE_CATEGORY_UNI_WORD:
  ------------------
  |  |   84|    374|#define SRE_CATEGORY_UNI_WORD 14
  ------------------
  |  Branch (218:5): [True: 374, False: 124]
  ------------------
  219|    374|        return SRE_UNI_IS_WORD(ch);
  ------------------
  |  |  171|    374|#define SRE_UNI_IS_WORD(ch) (SRE_UNI_IS_ALNUM(ch) || (ch) == '_')
  |  |  ------------------
  |  |  |  |  170|    748|#define SRE_UNI_IS_ALNUM(ch) Py_UNICODE_ISALNUM(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (170:30): [True: 334, False: 40]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (171:54): [True: 8, False: 32]
  |  |  ------------------
  ------------------
  220|      0|    case SRE_CATEGORY_UNI_NOT_WORD:
  ------------------
  |  |   85|      0|#define SRE_CATEGORY_UNI_NOT_WORD 15
  ------------------
  |  Branch (220:5): [True: 0, False: 498]
  ------------------
  221|      0|        return !SRE_UNI_IS_WORD(ch);
  ------------------
  |  |  171|      0|#define SRE_UNI_IS_WORD(ch) (SRE_UNI_IS_ALNUM(ch) || (ch) == '_')
  |  |  ------------------
  |  |  |  |  170|      0|#define SRE_UNI_IS_ALNUM(ch) Py_UNICODE_ISALNUM(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (170:30): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (171:54): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  222|      0|    case SRE_CATEGORY_UNI_LINEBREAK:
  ------------------
  |  |   86|      0|#define SRE_CATEGORY_UNI_LINEBREAK 16
  ------------------
  |  Branch (222:5): [True: 0, False: 498]
  ------------------
  223|      0|        return SRE_UNI_IS_LINEBREAK(ch);
  ------------------
  |  |  169|      0|#define SRE_UNI_IS_LINEBREAK(ch) Py_UNICODE_ISLINEBREAK(ch)
  |  |  ------------------
  |  |  |  |  752|      0|#define Py_UNICODE_ISLINEBREAK(ch) _PyUnicode_IsLinebreak(ch)
  |  |  ------------------
  ------------------
  224|      0|    case SRE_CATEGORY_UNI_NOT_LINEBREAK:
  ------------------
  |  |   87|      0|#define SRE_CATEGORY_UNI_NOT_LINEBREAK 17
  ------------------
  |  Branch (224:5): [True: 0, False: 498]
  ------------------
  225|      0|        return !SRE_UNI_IS_LINEBREAK(ch);
  ------------------
  |  |  169|      0|#define SRE_UNI_IS_LINEBREAK(ch) Py_UNICODE_ISLINEBREAK(ch)
  |  |  ------------------
  |  |  |  |  752|      0|#define Py_UNICODE_ISLINEBREAK(ch) _PyUnicode_IsLinebreak(ch)
  |  |  ------------------
  ------------------
  226|    498|    }
  227|      0|    return 0;
  228|    498|}
sre.c:repeat_pool_malloc:
  281|     54|{
  282|     54|    SRE_REPEAT *repeat;
  283|       |
  284|     54|    if (state->repeat_pool_unused) {
  ------------------
  |  Branch (284:9): [True: 0, False: 54]
  ------------------
  285|       |        /* remove from unused pool (singly-linked list) */
  286|      0|        repeat = state->repeat_pool_unused;
  287|      0|        state->repeat_pool_unused = repeat->pool_next;
  288|      0|    }
  289|     54|    else {
  290|     54|        repeat = PyMem_Malloc(sizeof(SRE_REPEAT));
  291|     54|        if (!repeat) {
  ------------------
  |  Branch (291:13): [True: 0, False: 54]
  ------------------
  292|      0|            return NULL;
  293|      0|        }
  294|     54|    }
  295|       |
  296|       |    /* add to used pool (doubly-linked list) */
  297|     54|    SRE_REPEAT *temp = state->repeat_pool_used;
  298|     54|    if (temp) {
  ------------------
  |  Branch (298:9): [True: 20, False: 34]
  ------------------
  299|     20|        temp->pool_prev = repeat;
  300|     20|    }
  301|     54|    repeat->pool_prev = NULL;
  302|     54|    repeat->pool_next = temp;
  303|     54|    state->repeat_pool_used = repeat;
  304|       |
  305|     54|    return repeat;
  306|     54|}
sre.c:repeat_pool_free:
  310|     54|{
  311|     54|    SRE_REPEAT *prev = repeat->pool_prev;
  312|     54|    SRE_REPEAT *next = repeat->pool_next;
  313|       |
  314|       |    /* remove from used pool (doubly-linked list) */
  315|     54|    if (prev) {
  ------------------
  |  Branch (315:9): [True: 0, False: 54]
  ------------------
  316|      0|        prev->pool_next = next;
  317|      0|    }
  318|     54|    else {
  319|     54|        state->repeat_pool_used = next;
  320|     54|    }
  321|     54|    if (next) {
  ------------------
  |  Branch (321:9): [True: 20, False: 34]
  ------------------
  322|     20|        next->pool_prev = prev;
  323|     20|    }
  324|       |
  325|       |    /* add to unused pool (singly-linked list) */
  326|     54|    repeat->pool_next = state->repeat_pool_unused;
  327|     54|    state->repeat_pool_unused = repeat;
  328|     54|}
sre.c:state_fini:
  620|     58|{
  621|     58|    if (state->buffer.buf)
  ------------------
  |  Branch (621:9): [True: 18, False: 40]
  ------------------
  622|     18|        PyBuffer_Release(&state->buffer);
  623|     58|    Py_XDECREF(state->string);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  624|     58|    data_stack_dealloc(state);
  625|       |    /* See above PyMem_Free() for why we explicitly cast here. */
  626|     58|    PyMem_Free((void*) state->mark);
  627|     58|    state->mark = NULL;
  628|       |    /* SRE_REPEAT pool */
  629|     58|    repeat_pool_clear(state);
  630|     58|}
sre.c:repeat_pool_clear:
  332|     58|{
  333|       |    /* clear used pool */
  334|     58|    SRE_REPEAT *next = state->repeat_pool_used;
  335|     58|    state->repeat_pool_used = NULL;
  336|     58|    while (next) {
  ------------------
  |  Branch (336:12): [True: 0, False: 58]
  ------------------
  337|      0|        SRE_REPEAT *temp = next;
  338|      0|        next = temp->pool_next;
  339|      0|        PyMem_Free(temp);
  340|      0|    }
  341|       |
  342|       |    /* clear unused pool */
  343|     58|    next = state->repeat_pool_unused;
  344|     58|    state->repeat_pool_unused = NULL;
  345|    112|    while (next) {
  ------------------
  |  Branch (345:12): [True: 54, False: 58]
  ------------------
  346|     54|        SRE_REPEAT *temp = next;
  347|     54|        next = temp->pool_next;
  348|     54|        PyMem_Free(temp);
  349|     54|    }
  350|     58|}
sre.c:pattern_new_match:
 2729|     58|{
 2730|       |    /* create match object (from state object) */
 2731|       |
 2732|     58|    MatchObject* match;
 2733|     58|    Py_ssize_t i, j;
 2734|     58|    char* base;
 2735|     58|    int n;
 2736|       |
 2737|     58|    if (status > 0) {
  ------------------
  |  Branch (2737:9): [True: 44, False: 14]
  ------------------
 2738|       |
 2739|       |        /* create match object (with room for extra group marks) */
 2740|       |        /* coverity[ampersand_in_size] */
 2741|     44|        match = PyObject_GC_NewVar(MatchObject,
  ------------------
  |  |  183|     44|    _Py_CAST(type*, _PyObject_GC_NewVar((typeobj), (n)))
  |  |  ------------------
  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2742|     44|                                   module_state->Match_Type,
 2743|     44|                                   2*(pattern->groups+1));
 2744|     44|        if (!match)
  ------------------
  |  Branch (2744:13): [True: 0, False: 44]
  ------------------
 2745|      0|            return NULL;
 2746|       |
 2747|     44|        Py_INCREF(pattern);
  ------------------
  |  |  310|     44|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     44|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     44|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2748|     44|        match->pattern = pattern;
 2749|       |
 2750|     44|        match->string = Py_NewRef(state->string);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2751|       |
 2752|     44|        match->regs = NULL;
 2753|     44|        match->groups = pattern->groups+1;
 2754|       |
 2755|       |        /* fill in group slices */
 2756|       |
 2757|     44|        base = (char*) state->beginning;
 2758|     44|        n = state->charsize;
 2759|       |
 2760|     44|        match->mark[0] = ((char*) state->start - base) / n;
 2761|     44|        match->mark[1] = ((char*) state->ptr - base) / n;
 2762|       |
 2763|    176|        for (i = j = 0; i < pattern->groups; i++, j+=2)
  ------------------
  |  Branch (2763:25): [True: 132, False: 44]
  ------------------
 2764|    132|            if (j+1 <= state->lastmark && state->mark[j] && state->mark[j+1]) {
  ------------------
  |  Branch (2764:17): [True: 74, False: 58]
  |  Branch (2764:43): [True: 56, False: 18]
  |  Branch (2764:61): [True: 56, False: 0]
  ------------------
 2765|     56|                match->mark[j+2] = ((char*) state->mark[j] - base) / n;
 2766|     56|                match->mark[j+3] = ((char*) state->mark[j+1] - base) / n;
 2767|       |
 2768|       |                /* check wrong span */
 2769|     56|                if (match->mark[j+2] > match->mark[j+3]) {
  ------------------
  |  Branch (2769:21): [True: 0, False: 56]
  ------------------
 2770|      0|                    PyErr_SetString(PyExc_SystemError,
 2771|      0|                                    "The span of capturing group is wrong,"
 2772|      0|                                    " please report a bug for the re module.");
 2773|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2774|      0|                    return NULL;
 2775|      0|                }
 2776|     56|            } else
 2777|     76|                match->mark[j+2] = match->mark[j+3] = -1; /* undefined */
 2778|       |
 2779|     44|        match->pos = state->pos;
 2780|     44|        match->endpos = state->endpos;
 2781|       |
 2782|     44|        match->lastindex = state->lastindex;
 2783|       |
 2784|     44|        PyObject_GC_Track(match);
 2785|     44|        return (PyObject*) match;
 2786|       |
 2787|     44|    } else if (status == 0) {
  ------------------
  |  Branch (2787:16): [True: 14, False: 0]
  ------------------
 2788|       |
 2789|       |        /* no match */
 2790|     14|        Py_RETURN_NONE;
  ------------------
  |  |  628|     14|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     14|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 2791|       |
 2792|     14|    }
 2793|       |
 2794|       |    /* internal error */
 2795|      0|    pattern_error(status);
 2796|       |    return NULL;
 2797|     58|}
sre.c:_sre_SRE_Pattern_search_impl:
  879|      2|{
  880|      2|    _sremodulestate *module_state = get_sre_module_state_by_class(cls);
  ------------------
  |  |  395|      2|    (get_sre_module_state(PyType_GetModule(cls)))
  ------------------
  881|      2|    SRE_STATE state;
  882|      2|    Py_ssize_t status;
  883|      2|    PyObject *match;
  884|       |
  885|      2|    if (!state_init(&state, self, string, pos, endpos))
  ------------------
  |  Branch (885:9): [True: 0, False: 2]
  ------------------
  886|      0|        return NULL;
  887|       |
  888|      2|    INIT_TRACE(&state);
  889|      2|    TRACE(("|%p|%p|SEARCH\n", PatternObject_GetCode(self), state.ptr));
  890|       |
  891|      2|    status = sre_search(&state, PatternObject_GetCode(self));
  ------------------
  |  |   47|      2|#define PatternObject_GetCode(o) (((PatternObject*)(o))->code)
  ------------------
  892|       |
  893|      2|    TRACE(("|%p|%p|END\n", PatternObject_GetCode(self), state.ptr));
  894|       |
  895|      2|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (895:9): [True: 0, False: 2]
  ------------------
  896|      0|        state_fini(&state);
  897|      0|        return NULL;
  898|      0|    }
  899|       |
  900|      2|    match = pattern_new_match(module_state, self, &state, status);
  901|      2|    state_fini(&state);
  902|      2|    return match;
  903|      2|}
sre.c:sre_search:
  760|      2|{
  761|      2|    if (state->charsize == 1)
  ------------------
  |  Branch (761:9): [True: 2, False: 0]
  ------------------
  762|      2|        return sre_ucs1_search(state, pattern);
  763|      0|    if (state->charsize == 2)
  ------------------
  |  Branch (763:9): [True: 0, False: 0]
  ------------------
  764|      0|        return sre_ucs2_search(state, pattern);
  765|      0|    assert(state->charsize == 4);
  766|      0|    return sre_ucs4_search(state, pattern);
  767|      0|}
sre.c:getslice:
  639|     44|{
  640|     44|    if (isbytes) {
  ------------------
  |  Branch (640:9): [True: 0, False: 44]
  ------------------
  641|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  642|      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 (642:13): [True: 0, False: 0]
  |  Branch (642:27): [True: 0, False: 0]
  ------------------
  643|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  644|      0|        }
  645|      0|        return PyBytes_FromStringAndSize(
  646|      0|                (const char *)ptr + start, end - start);
  647|      0|    }
  648|     44|    else {
  649|     44|        return PyUnicode_Substring(string, start, end);
  650|     44|    }
  651|     44|}
sre.c:match_getslice_by_index:
 2303|     70|{
 2304|     70|    Py_ssize_t length;
 2305|     70|    int isbytes, charsize;
 2306|     70|    Py_buffer view;
 2307|     70|    PyObject *result;
 2308|     70|    const void* ptr;
 2309|     70|    Py_ssize_t i, j;
 2310|       |
 2311|     70|    assert(0 <= index && index < self->groups);
 2312|     70|    index *= 2;
 2313|       |
 2314|     70|    if (self->string == Py_None || self->mark[index] < 0) {
  ------------------
  |  |  616|    140|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2314:9): [True: 0, False: 70]
  |  Branch (2314:36): [True: 26, False: 44]
  ------------------
 2315|       |        /* return default value if the string or group is undefined */
 2316|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2317|     26|    }
 2318|       |
 2319|     44|    ptr = getstring(self->string, &length, &isbytes, &charsize, &view);
 2320|     44|    if (ptr == NULL)
  ------------------
  |  Branch (2320:9): [True: 0, False: 44]
  ------------------
 2321|      0|        return NULL;
 2322|       |
 2323|     44|    i = self->mark[index];
 2324|     44|    j = self->mark[index+1];
 2325|     44|    i = Py_MIN(i, length);
  ------------------
  |  |  112|     44|#define Py_MIN(x, y) (((x) > (y)) ? (y) : (x))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 0, False: 44]
  |  |  ------------------
  ------------------
 2326|     44|    j = Py_MIN(j, length);
  ------------------
  |  |  112|     44|#define Py_MIN(x, y) (((x) > (y)) ? (y) : (x))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 0, False: 44]
  |  |  ------------------
  ------------------
 2327|     44|    result = getslice(isbytes, ptr, self->string, i, j);
 2328|     44|    if (isbytes && view.buf != NULL)
  ------------------
  |  Branch (2328:9): [True: 0, False: 44]
  |  Branch (2328:20): [True: 0, False: 0]
  ------------------
 2329|      0|        PyBuffer_Release(&view);
 2330|     44|    return result;
 2331|     44|}
sre.c:pattern_traverse:
  711|    780|{
  712|    780|    PatternObject *self = _PatternObject_CAST(op);
  ------------------
  |  |  401|    780|#define _PatternObject_CAST(op)     ((PatternObject *)(op))
  ------------------
  713|    780|    Py_VISIT(Py_TYPE(self));
  ------------------
  |  |  194|    780|    do {                                                                \
  |  |  195|    780|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 780, False: 0]
  |  |  ------------------
  |  |  196|    780|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    780|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    780|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    780|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 780]
  |  |  ------------------
  |  |  198|    780|                return vret;                                            \
  |  |  199|    780|        }                                                               \
  |  |  200|    780|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 780]
  |  |  ------------------
  ------------------
  714|    780|    Py_VISIT(self->groupindex);
  ------------------
  |  |  194|    780|    do {                                                                \
  |  |  195|    780|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 144, False: 636]
  |  |  ------------------
  |  |  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|    780|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 780]
  |  |  ------------------
  ------------------
  715|    780|    Py_VISIT(self->indexgroup);
  ------------------
  |  |  194|    780|    do {                                                                \
  |  |  195|    780|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 144, False: 636]
  |  |  ------------------
  |  |  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|    780|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 780]
  |  |  ------------------
  ------------------
  716|    780|    Py_VISIT(self->pattern);
  ------------------
  |  |  194|    780|    do {                                                                \
  |  |  195|    780|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 780, False: 0]
  |  |  ------------------
  |  |  196|    780|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    780|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    780|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    780|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 780]
  |  |  ------------------
  |  |  198|    780|                return vret;                                            \
  |  |  199|    780|        }                                                               \
  |  |  200|    780|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 780]
  |  |  ------------------
  ------------------
  717|       |#ifdef Py_DEBUG
  718|       |    Py_VISIT(self->fail_after_exc);
  719|       |#endif
  720|    780|    return 0;
  721|    780|}
sre.c:pattern_clear:
  725|      4|{
  726|      4|    PatternObject *self = _PatternObject_CAST(op);
  ------------------
  |  |  401|      4|#define _PatternObject_CAST(op)     ((PatternObject *)(op))
  ------------------
  727|      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]
  |  |  ------------------
  ------------------
  728|      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]
  |  |  ------------------
  ------------------
  729|      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]
  |  |  ------------------
  ------------------
  730|       |#ifdef Py_DEBUG
  731|       |    Py_CLEAR(self->fail_after_exc);
  732|       |#endif
  733|      4|    return 0;
  734|      4|}
sre.c:match_dealloc:
 2293|     44|{
 2294|     44|    PyTypeObject *tp = Py_TYPE(self);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2295|     44|    PyObject_GC_UnTrack(self);
 2296|     44|    (void)match_clear(self);
 2297|     44|    tp->tp_free(self);
 2298|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2299|     44|}
sre.c:match_group:
 2405|     20|{
 2406|     20|    MatchObject *self = _MatchObject_CAST(op);
  ------------------
  |  |  402|     20|#define _MatchObject_CAST(op)       ((MatchObject *)(op))
  ------------------
 2407|     20|    PyObject* result;
 2408|     20|    Py_ssize_t i, size;
 2409|       |
 2410|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2411|       |
 2412|     20|    switch (size) {
 2413|      0|    case 0:
  ------------------
  |  Branch (2413:5): [True: 0, False: 20]
  ------------------
 2414|      0|        result = match_getslice(self, _PyLong_GetZero(), Py_None);
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
 2415|      0|        break;
 2416|     20|    case 1:
  ------------------
  |  Branch (2416:5): [True: 20, False: 0]
  ------------------
 2417|     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)
  ------------------
 2418|     20|        break;
 2419|      0|    default:
  ------------------
  |  Branch (2419:5): [True: 0, False: 20]
  ------------------
 2420|       |        /* fetch multiple items */
 2421|      0|        result = PyTuple_New(size);
 2422|      0|        if (!result)
  ------------------
  |  Branch (2422:13): [True: 0, False: 0]
  ------------------
 2423|      0|            return NULL;
 2424|      0|        for (i = 0; i < size; i++) {
  ------------------
  |  Branch (2424:21): [True: 0, False: 0]
  ------------------
 2425|      0|            PyObject* item = match_getslice(
 2426|      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)
  ------------------
 2427|      0|                );
 2428|      0|            if (!item) {
  ------------------
  |  Branch (2428:17): [True: 0, False: 0]
  ------------------
 2429|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2430|      0|                return NULL;
 2431|      0|            }
 2432|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2433|      0|        }
 2434|      0|        break;
 2435|     20|    }
 2436|     20|    return result;
 2437|     20|}
sre.c:match_getslice:
 2370|     60|{
 2371|     60|    Py_ssize_t i = match_getindex(self, index);
 2372|       |
 2373|     60|    if (i < 0) {
  ------------------
  |  Branch (2373:9): [True: 0, False: 60]
  ------------------
 2374|      0|        return NULL;
 2375|      0|    }
 2376|       |
 2377|     60|    return match_getslice_by_index(self, i, def);
 2378|     60|}
sre.c:match_getindex:
 2335|     64|{
 2336|     64|    Py_ssize_t i;
 2337|       |
 2338|     64|    if (index == NULL)
  ------------------
  |  Branch (2338:9): [True: 4, False: 60]
  ------------------
 2339|       |        /* Default value */
 2340|      4|        return 0;
 2341|       |
 2342|     60|    if (PyIndex_Check(index)) {
  ------------------
  |  Branch (2342:9): [True: 16, False: 44]
  ------------------
 2343|     16|        i = PyNumber_AsSsize_t(index, NULL);
 2344|     16|    }
 2345|     44|    else {
 2346|     44|        i = -1;
 2347|       |
 2348|     44|        if (self->pattern->groupindex) {
  ------------------
  |  Branch (2348:13): [True: 44, False: 0]
  ------------------
 2349|     44|            index = PyDict_GetItemWithError(self->pattern->groupindex, index);
 2350|     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 (2350:17): [True: 44, False: 0]
  ------------------
 2351|     44|                i = PyLong_AsSsize_t(index);
 2352|     44|            }
 2353|     44|        }
 2354|     44|    }
 2355|     60|    if (i < 0 || i >= self->groups) {
  ------------------
  |  Branch (2355:9): [True: 0, False: 60]
  |  Branch (2355:18): [True: 0, False: 60]
  ------------------
 2356|       |        /* raise IndexError if we were given a bad group number */
 2357|      0|        if (!PyErr_Occurred()) {
  ------------------
  |  Branch (2357:13): [True: 0, False: 0]
  ------------------
 2358|      0|            PyErr_SetString(PyExc_IndexError, "no such group");
 2359|      0|        }
 2360|      0|        return -1;
 2361|      0|    }
 2362|       |
 2363|       |    // Check that i*2 cannot overflow to make static analyzers happy
 2364|     60|    assert((size_t)i <= SRE_MAXGROUPS);
 2365|     60|    return i;
 2366|     60|}
sre.c:_sre_SRE_Match_end_impl:
 2562|      4|{
 2563|      4|    Py_ssize_t index = match_getindex(self, group);
 2564|       |
 2565|      4|    if (index < 0) {
  ------------------
  |  Branch (2565:9): [True: 0, False: 4]
  ------------------
 2566|      0|        return -1;
 2567|      0|    }
 2568|       |
 2569|       |    /* mark is -1 if group is undefined */
 2570|      4|    return self->mark[index*2+1];
 2571|      4|}
sre.c:_sre_SRE_Match_groups_impl:
 2458|      2|{
 2459|      2|    PyObject* result;
 2460|      2|    Py_ssize_t index;
 2461|       |
 2462|      2|    result = PyTuple_New(self->groups-1);
 2463|      2|    if (!result)
  ------------------
  |  Branch (2463:9): [True: 0, False: 2]
  ------------------
 2464|      0|        return NULL;
 2465|       |
 2466|     12|    for (index = 1; index < self->groups; index++) {
  ------------------
  |  Branch (2466:21): [True: 10, False: 2]
  ------------------
 2467|     10|        PyObject* item;
 2468|     10|        item = match_getslice_by_index(self, index, default_value);
 2469|     10|        if (!item) {
  ------------------
  |  Branch (2469:13): [True: 0, False: 10]
  ------------------
 2470|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2471|      0|            return NULL;
 2472|      0|        }
 2473|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2474|     10|    }
 2475|       |
 2476|      2|    return result;
 2477|      2|}
sre.c:_sre_SRE_Match_groupdict_impl:
 2492|      8|{
 2493|      8|    PyObject *result;
 2494|      8|    PyObject *key;
 2495|      8|    PyObject *value;
 2496|      8|    Py_ssize_t pos = 0;
 2497|      8|    Py_hash_t hash;
 2498|       |
 2499|      8|    result = PyDict_New();
 2500|      8|    if (!result || !self->pattern->groupindex)
  ------------------
  |  Branch (2500:9): [True: 0, False: 8]
  |  Branch (2500:20): [True: 0, False: 8]
  ------------------
 2501|      0|        return result;
 2502|       |
 2503|      8|    Py_BEGIN_CRITICAL_SECTION(self->pattern->groupindex);
  ------------------
  |  |   51|      8|    {
  ------------------
 2504|     32|    while (_PyDict_Next(self->pattern->groupindex, &pos, &key, &value, &hash)) {
  ------------------
  |  Branch (2504:12): [True: 24, False: 8]
  ------------------
 2505|     24|        int status;
 2506|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2507|     24|        value = match_getslice(self, key, default_value);
 2508|     24|        if (!value) {
  ------------------
  |  Branch (2508:13): [True: 0, False: 24]
  ------------------
 2509|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2510|      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]
  |  |  ------------------
  ------------------
 2511|      0|            goto exit;
 2512|      0|        }
 2513|     24|        status = _PyDict_SetItem_KnownHash(result, key, value, hash);
 2514|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2515|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2516|     24|        if (status < 0) {
  ------------------
  |  Branch (2516:13): [True: 0, False: 24]
  ------------------
 2517|      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]
  |  |  ------------------
  ------------------
 2518|      0|            goto exit;
 2519|      0|        }
 2520|     24|    }
 2521|      8|exit:;
 2522|      8|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      8|    }
  ------------------
 2523|       |
 2524|      8|    return result;
 2525|      8|}
sre.c:match_clear:
 2283|     44|{
 2284|     44|    MatchObject *self = _MatchObject_CAST(op);
  ------------------
  |  |  402|     44|#define _MatchObject_CAST(op)       ((MatchObject *)(op))
  ------------------
 2285|     44|    Py_CLEAR(self->string);
  ------------------
  |  |  484|     44|    do { \
  |  |  485|     44|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     44|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     44|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     44|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     44|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 44, False: 0]
  |  |  ------------------
  |  |  488|     44|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     44|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     44|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     44|        } \
  |  |  491|     44|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 44]
  |  |  ------------------
  ------------------
 2286|     44|    Py_CLEAR(self->regs);
  ------------------
  |  |  484|     44|    do { \
  |  |  485|     44|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     44|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     44|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     44|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     44|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 44]
  |  |  ------------------
  |  |  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|     44|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 44]
  |  |  ------------------
  ------------------
 2287|       |    Py_CLEAR(self->pattern);
  ------------------
  |  |  484|     44|    do { \
  |  |  485|     44|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     44|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     44|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     44|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     44|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 44, False: 0]
  |  |  ------------------
  |  |  488|     44|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     44|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     44|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     44|        } \
  |  |  491|     44|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 44]
  |  |  ------------------
  ------------------
 2288|     44|    return 0;
 2289|     44|}
sre.c:match_getitem:
 2441|     16|{
 2442|     16|    MatchObject *self = _MatchObject_CAST(op);
  ------------------
  |  |  402|     16|#define _MatchObject_CAST(op)       ((MatchObject *)(op))
  ------------------
 2443|     16|    return match_getslice(self, name, Py_None);
  ------------------
  |  |  616|     16|#  define Py_None (&_Py_NoneStruct)
  ------------------
 2444|     16|}
sre.c:sre_traverse:
 3358|     16|{
 3359|     16|    _sremodulestate *state = get_sre_module_state(module);
 3360|       |
 3361|     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]
  |  |  ------------------
  ------------------
 3362|     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]
  |  |  ------------------
  ------------------
 3363|     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]
  |  |  ------------------
  ------------------
 3364|     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]
  |  |  ------------------
  ------------------
 3365|     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]
  |  |  ------------------
  ------------------
 3366|       |
 3367|     16|    return 0;
 3368|     16|}

sre.c:sre_ucs1_match:
  600|     58|{
  601|     58|    const SRE_CHAR* end = (const SRE_CHAR *)state->end;
  602|     58|    Py_ssize_t alloc_pos, ctx_pos = -1;
  603|     58|    Py_ssize_t ret = 0;
  604|     58|    int jump;
  605|     58|    unsigned int sigcount = state->sigcount;
  606|       |
  607|     58|    SRE(match_context)* ctx;
  ------------------
  |  |  356|     58|#define SRE(F) sre_ucs1_##F
  ------------------
  608|     58|    SRE(match_context)* nextctx;
  ------------------
  |  |  356|     58|#define SRE(F) sre_ucs1_##F
  ------------------
  609|     58|    INIT_TRACE(state);
  610|       |
  611|     58|    TRACE(("|%p|%p|ENTER\n", pattern, state->ptr));
  612|       |
  613|     58|    DATA_ALLOC(SRE(match_context), ctx);
  ------------------
  |  |  449|     58|    DATA_STACK_ALLOC(state, t, p)
  |  |  ------------------
  |  |  |  |  388|     58|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  389|     58|do { \
  |  |  |  |  390|     58|    alloc_pos = state->data_stack_base; \
  |  |  |  |  391|     58|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  392|     58|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  393|     58|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (393:9): [True: 58, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  394|     58|        int j = data_stack_grow(state, sizeof(type)); \
  |  |  |  |  395|     58|        if (j < 0) return j; \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (395:13): [True: 0, False: 58]
  |  |  |  |  ------------------
  |  |  |  |  396|     58|        if (ctx_pos != -1) \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (396:13): [True: 0, False: 58]
  |  |  |  |  ------------------
  |  |  |  |  397|     58|            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|     58|    } \
  |  |  |  |  399|     58|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  400|     58|    state->data_stack_base += sizeof(type); \
  |  |  |  |  401|     58|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (401:10): [Folded, False: 58]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  614|     58|    ctx->last_ctx_pos = -1;
  615|     58|    ctx->jump = JUMP_NONE;
  ------------------
  |  |  496|     58|#define JUMP_NONE            0
  ------------------
  616|     58|    ctx->toplevel = toplevel;
  617|     58|    ctx_pos = alloc_pos;
  618|       |
  619|     58|#if USE_COMPUTED_GOTOS
  620|     58|#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|     58|static void *sre_targets[43] = {
  |  |   15|     58|    &&TARGET_SRE_OP_FAILURE,
  |  |   16|     58|    &&TARGET_SRE_OP_SUCCESS,
  |  |   17|     58|    &&TARGET_SRE_OP_ANY,
  |  |   18|     58|    &&TARGET_SRE_OP_ANY_ALL,
  |  |   19|     58|    &&TARGET_SRE_OP_ASSERT,
  |  |   20|     58|    &&TARGET_SRE_OP_ASSERT_NOT,
  |  |   21|     58|    &&TARGET_SRE_OP_AT,
  |  |   22|     58|    &&TARGET_SRE_OP_BRANCH,
  |  |   23|     58|    &&TARGET_SRE_OP_CATEGORY,
  |  |   24|     58|    &&TARGET_SRE_OP_CHARSET,
  |  |   25|     58|    &&TARGET_SRE_OP_BIGCHARSET,
  |  |   26|     58|    &&TARGET_SRE_OP_GROUPREF,
  |  |   27|     58|    &&TARGET_SRE_OP_GROUPREF_EXISTS,
  |  |   28|     58|    &&TARGET_SRE_OP_IN,
  |  |   29|     58|    &&TARGET_SRE_OP_INFO,
  |  |   30|     58|    &&TARGET_SRE_OP_JUMP,
  |  |   31|     58|    &&TARGET_SRE_OP_LITERAL,
  |  |   32|     58|    &&TARGET_SRE_OP_MARK,
  |  |   33|     58|    &&TARGET_SRE_OP_MAX_UNTIL,
  |  |   34|     58|    &&TARGET_SRE_OP_MIN_UNTIL,
  |  |   35|     58|    &&TARGET_SRE_OP_NOT_LITERAL,
  |  |   36|     58|    &&TARGET_SRE_OP_NEGATE,
  |  |   37|     58|    &&TARGET_SRE_OP_RANGE,
  |  |   38|     58|    &&TARGET_SRE_OP_REPEAT,
  |  |   39|     58|    &&TARGET_SRE_OP_REPEAT_ONE,
  |  |   40|     58|    &&TARGET_SRE_OP_SUBPATTERN,
  |  |   41|     58|    &&TARGET_SRE_OP_MIN_REPEAT_ONE,
  |  |   42|     58|    &&TARGET_SRE_OP_ATOMIC_GROUP,
  |  |   43|     58|    &&TARGET_SRE_OP_POSSESSIVE_REPEAT,
  |  |   44|     58|    &&TARGET_SRE_OP_POSSESSIVE_REPEAT_ONE,
  |  |   45|     58|    &&TARGET_SRE_OP_GROUPREF_IGNORE,
  |  |   46|     58|    &&TARGET_SRE_OP_IN_IGNORE,
  |  |   47|     58|    &&TARGET_SRE_OP_LITERAL_IGNORE,
  |  |   48|     58|    &&TARGET_SRE_OP_NOT_LITERAL_IGNORE,
  |  |   49|     58|    &&TARGET_SRE_OP_GROUPREF_LOC_IGNORE,
  |  |   50|     58|    &&TARGET_SRE_OP_IN_LOC_IGNORE,
  |  |   51|     58|    &&TARGET_SRE_OP_LITERAL_LOC_IGNORE,
  |  |   52|     58|    &&TARGET_SRE_OP_NOT_LITERAL_LOC_IGNORE,
  |  |   53|     58|    &&TARGET_SRE_OP_GROUPREF_UNI_IGNORE,
  |  |   54|     58|    &&TARGET_SRE_OP_IN_UNI_IGNORE,
  |  |   55|     58|    &&TARGET_SRE_OP_LITERAL_UNI_IGNORE,
  |  |   56|     58|    &&TARGET_SRE_OP_NOT_LITERAL_UNI_IGNORE,
  |  |   57|     58|    &&TARGET_SRE_OP_RANGE_UNI_IGNORE,
  |  |   58|     58|};
  ------------------
  621|     58|#endif
  622|       |
  623|    774|entrance:
  624|       |
  625|    774|    ;  // Fashion statement.
  626|    774|    const SRE_CHAR *ptr = (SRE_CHAR *)state->ptr;
  627|       |
  628|    774|    if (pattern[0] == SRE_OP_INFO) {
  ------------------
  |  |   29|    774|#define SRE_OP_INFO 14
  ------------------
  |  Branch (628:9): [True: 56, False: 718]
  ------------------
  629|       |        /* optimization info block */
  630|       |        /* <INFO> <1=skip> <2=flags> <3=min> ... */
  631|     56|        if (pattern[3] && (uintptr_t)(end - ptr) < pattern[3]) {
  ------------------
  |  Branch (631:13): [True: 37, False: 19]
  |  Branch (631:27): [True: 1, False: 36]
  ------------------
  632|      1|            TRACE(("reject (got %tu chars, need %zu)\n",
  633|      1|                   end - ptr, (size_t) pattern[3]));
  634|      1|            RETURN_FAILURE;
  ------------------
  |  |  378|      1|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (378:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  635|      1|        }
  636|     55|        pattern += pattern[1] + 1;
  637|     55|    }
  638|       |
  639|    773|#if USE_COMPUTED_GOTOS
  640|    773|    DISPATCH;
  ------------------
  |  |  587|    773|        do {                               \
  |  |  588|    773|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  570|    773|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|    773|    do {                                                           \
  |  |  |  |  |  |  553|    773|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (553:13): [True: 0, False: 773]
  |  |  |  |  |  |  |  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|    773|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (556:14): [Folded, False: 773]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  589|    773|            goto *sre_targets[*pattern++]; \
  |  |  590|    773|        } while (0)
  |  |  ------------------
  |  |  |  Branch (590:18): [Folded, False: 773]
  |  |  ------------------
  ------------------
  641|       |#else
  642|       |dispatch:
  643|       |    MAYBE_CHECK_SIGNALS;
  644|       |    switch (*pattern++)
  645|       |#endif
  646|    773|    {
  647|       |
  648|    773|        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|     40|        TARGET(SRE_OP_SUCCESS):
  ------------------
  |  |  585|     40|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  695|       |            /* end of pattern */
  696|     40|            TRACE(("|%p|%p|SUCCESS\n", pattern, ptr));
  697|     40|            if (ctx->toplevel &&
  ------------------
  |  Branch (697:17): [True: 38, False: 2]
  ------------------
  698|     38|                ((state->match_all && ptr != state->end) ||
  ------------------
  |  Branch (698:19): [True: 0, False: 38]
  |  Branch (698:39): [True: 0, False: 0]
  ------------------
  699|     38|                 (state->must_advance && ptr == state->start)))
  ------------------
  |  Branch (699:19): [True: 0, False: 38]
  |  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|     40|            state->ptr = ptr;
  704|     40|            RETURN_SUCCESS;
  ------------------
  |  |  379|     40|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (379:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  705|       |
  706|     50|        TARGET(SRE_OP_AT):
  ------------------
  |  |  585|     50|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  707|       |            /* match at given position */
  708|       |            /* <AT> <code> */
  709|     50|            TRACE(("|%p|%p|AT %d\n", pattern, ptr, *pattern));
  710|     50|            if (!SRE(at)(state, ptr, *pattern))
  ------------------
  |  |  356|     50|#define SRE(F) sre_ucs1_##F
  ------------------
  |  Branch (710:17): [True: 3, False: 47]
  ------------------
  711|      3|                RETURN_FAILURE;
  ------------------
  |  |  378|      3|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (378:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  712|     47|            pattern++;
  713|     47|            DISPATCH;
  ------------------
  |  |  587|     47|        do {                               \
  |  |  588|     47|            MAYBE_CHECK_SIGNALS;           \
  |  |  ------------------
  |  |  |  |  570|     47|# define MAYBE_CHECK_SIGNALS _MAYBE_CHECK_SIGNALS
  |  |  |  |  ------------------
  |  |  |  |  |  |  552|     47|    do {                                                           \
  |  |  |  |  |  |  553|     47|        if ((0 == (++sigcount & 0xfff)) && PyErr_CheckSignals()) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (553:13): [True: 0, False: 47]
  |  |  |  |  |  |  |  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|     47|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (556:14): [Folded, False: 47]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  589|     47|            goto *sre_targets[*pattern++]; \
  |  |  590|     47|        } while (0)
  |  |  ------------------
  |  |  |  Branch (590:18): [Folded, False: 47]
  |  |  ------------------
  ------------------
  714|       |
  715|     47|        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]))
  ------------------
  |  |  140|      0|    ((ch) == '\n')
  |  |  ------------------
  |  |  |  Branch (140: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))
  ------------------
  |  |  356|     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,
  ------------------
  |  |  356|      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,
  ------------------
  |  |  356|     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))
  ------------------
  |  |  356|      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|     21|        TARGET(SRE_OP_BRANCH):
  ------------------
  |  |  585|     21|    #define TARGET(OP) TARGET_ ## OP
  ------------------
  854|       |            /* alternation */
  855|       |            /* <BRANCH> <0=skip> code <JUMP> ... <NULL> */
  856|     21|            TRACE(("|%p|%p|BRANCH\n", pattern, ptr));
  857|     21|            LASTMARK_SAVE();
  ------------------
  |  |  354|     21|    do { \
  |  |  355|     21|        ctx->lastmark = state->lastmark; \
  |  |  356|     21|        ctx->lastindex = state->lastindex; \
  |  |  357|     21|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 21]
  |  |  ------------------
  ------------------
  858|     21|            if (state->repeat)
  ------------------
  |  Branch (858:17): [True: 2, False: 19]
  ------------------
  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|     51|            for (; pattern[0]; pattern += pattern[0]) {
  ------------------
  |  Branch (860:20): [True: 40, False: 11]
  ------------------
  861|     40|                if (pattern[1] == SRE_OP_LITERAL &&
  ------------------
  |  |   31|     80|#define SRE_OP_LITERAL 16
  ------------------
  |  Branch (861:21): [True: 8, False: 32]
  ------------------
  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|     32|                if (pattern[1] == SRE_OP_IN &&
  ------------------
  |  |   28|     64|#define SRE_OP_IN 13
  ------------------
  |  Branch (865:21): [True: 13, False: 19]
  ------------------
  866|     13|                    (ptr >= end ||
  ------------------
  |  Branch (866:22): [True: 0, False: 13]
  ------------------
  867|     13|                     !SRE(charset)(state, pattern + 3,
  ------------------
  |  |  356|     13|#define SRE(F) sre_ucs1_##F
  ------------------
  |  Branch (867:22): [True: 9, False: 4]
  ------------------
  868|     13|                                   (SRE_CODE) *ptr)))
  869|      9|                    continue;
  870|     23|                state->ptr = ptr;
  871|     23|                DO_JUMP(JUMP_BRANCH, jump_branch, pattern+1);
  ------------------
  |  |  531|     23|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, ctx->toplevel)
  |  |  ------------------
  |  |  |  |  515|     23|    ctx->pattern = pattern; \
  |  |  |  |  516|     23|    ctx->ptr = ptr; \
  |  |  |  |  517|     23|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  449|     23|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  388|     23|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  389|     23|do { \
  |  |  |  |  |  |  |  |  390|     23|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  391|     23|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  392|     23|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  393|     23|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (393:9): [True: 0, False: 23]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  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|     23|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  400|     23|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  401|     23|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (401:10): [Folded, False: 23]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  518|     23|    nextctx->pattern = nextpattern; \
  |  |  |  |  519|     23|    nextctx->toplevel = toplevel_; \
  |  |  |  |  520|     23|    nextctx->jump = jumpvalue; \
  |  |  |  |  521|     23|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  522|     23|    pattern = nextpattern; \
  |  |  |  |  523|     23|    ctx_pos = alloc_pos; \
  |  |  |  |  524|     23|    ctx = nextctx; \
  |  |  |  |  525|     23|    goto entrance; \
  |  |  |  |  526|     23|    jumplabel: \
  |  |  |  |  527|     23|    pattern = ctx->pattern; \
  |  |  |  |  528|     23|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
  872|     23|                if (ret) {
  ------------------
  |  Branch (872:21): [True: 10, False: 13]
  ------------------
  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|     13|                if (state->repeat)
  ------------------
  |  Branch (878:21): [True: 2, False: 11]
  ------------------
  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|     13|                LASTMARK_RESTORE();
  ------------------
  |  |  359|     13|    do { \
  |  |  360|     13|        state->lastmark = ctx->lastmark; \
  |  |  361|     13|        state->lastindex = ctx->lastindex; \
  |  |  362|     13|    } while (0)
  |  |  ------------------
  |  |  |  Branch (362:14): [Folded, False: 13]
  |  |  ------------------
  ------------------
  881|     13|            }
  882|     11|            if (state->repeat)
  ------------------
  |  Branch (882:17): [True: 2, False: 9]
  ------------------
  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|     11|            RETURN_FAILURE;
  ------------------
  |  |  378|     11|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (378:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  885|       |
  886|    133|        TARGET(SRE_OP_REPEAT_ONE):
  ------------------
  |  |  585|    133|    #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|    133|            TRACE(("|%p|%p|REPEAT_ONE %d %d\n", pattern, ptr,
  897|    133|                   pattern[1], pattern[2]));
  898|       |
  899|    133|            if ((Py_ssize_t) pattern[1] > end - ptr)
  ------------------
  |  Branch (899:17): [True: 0, False: 133]
  ------------------
  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|    133|            state->ptr = ptr;
  903|       |
  904|    133|            ret = SRE(count)(state, pattern+3, pattern[2]);
  ------------------
  |  |  356|    133|#define SRE(F) sre_ucs1_##F
  ------------------
  905|    133|            RETURN_ON_ERROR(ret);
  ------------------
  |  |  382|    133|    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: 133]
  |  |  |  Branch (382:47): [Folded, False: 133]
  |  |  ------------------
  ------------------
  906|    133|            DATA_LOOKUP_AT(SRE(match_context), ctx, ctx_pos);
  ------------------
  |  |  451|    133|    DATA_STACK_LOOKUP_AT(state,t,p,pos)
  |  |  ------------------
  |  |  |  |  403|    133|#define DATA_STACK_LOOKUP_AT(state, type, ptr, pos) \
  |  |  |  |  404|    133|do { \
  |  |  |  |  405|    133|    TRACE(("looking up %s at %zd\n", Py_STRINGIFY(type), pos)); \
  |  |  |  |  406|    133|    ptr = (type*)(state->data_stack+pos); \
  |  |  |  |  407|    133|} while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (407:10): [Folded, False: 133]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  907|    133|            ctx->count = ret;
  908|    133|            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|    133|            if (ctx->count < (Py_ssize_t) pattern[1])
  ------------------
  |  Branch (915:17): [True: 2, False: 131]
  ------------------
  916|      2|                RETURN_FAILURE;
  ------------------
  |  |  378|      2|#define RETURN_FAILURE do { ret = 0; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (378:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  917|       |
  918|    131|            if (pattern[pattern[0]] == SRE_OP_SUCCESS &&
  ------------------
  |  |   16|    262|#define SRE_OP_SUCCESS 1
  ------------------
  |  Branch (918:17): [True: 6, False: 125]
  ------------------
  919|      6|                ptr == state->end &&
  ------------------
  |  Branch (919:17): [True: 4, False: 2]
  ------------------
  920|      4|                !(ctx->toplevel && state->must_advance && ptr == state->start))
  ------------------
  |  Branch (920:19): [True: 4, False: 0]
  |  Branch (920:36): [True: 0, False: 4]
  |  Branch (920:59): [True: 0, False: 0]
  ------------------
  921|      4|            {
  922|       |                /* tail is empty.  we're finished */
  923|      4|                state->ptr = ptr;
  924|      4|                RETURN_SUCCESS;
  ------------------
  |  |  379|      4|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (379:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  925|      4|            }
  926|       |
  927|    127|            LASTMARK_SAVE();
  ------------------
  |  |  354|    127|    do { \
  |  |  355|    127|        ctx->lastmark = state->lastmark; \
  |  |  356|    127|        ctx->lastindex = state->lastindex; \
  |  |  357|    127|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 127]
  |  |  ------------------
  ------------------
  928|    127|            if (state->repeat)
  ------------------
  |  Branch (928:17): [True: 42, False: 85]
  ------------------
  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|    127|            if (pattern[pattern[0]] == SRE_OP_LITERAL) {
  ------------------
  |  |   31|    127|#define SRE_OP_LITERAL 16
  ------------------
  |  Branch (931:17): [True: 30, False: 97]
  ------------------
  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|     97|            } else {
  962|       |                /* general case */
  963|    100|                while (ctx->count >= (Py_ssize_t) pattern[1]) {
  ------------------
  |  Branch (963:24): [True: 97, False: 3]
  ------------------
  964|     97|                    state->ptr = ptr;
  965|     97|                    DO_JUMP(JUMP_REPEAT_ONE_2, jump_repeat_one_2,
  ------------------
  |  |  531|     97|    DO_JUMPX(jumpvalue, jumplabel, nextpattern, ctx->toplevel)
  |  |  ------------------
  |  |  |  |  515|     97|    ctx->pattern = pattern; \
  |  |  |  |  516|     97|    ctx->ptr = ptr; \
  |  |  |  |  517|     97|    DATA_ALLOC(SRE(match_context), nextctx); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  449|     97|    DATA_STACK_ALLOC(state, t, p)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  388|     97|#define DATA_STACK_ALLOC(state, type, ptr) \
  |  |  |  |  |  |  |  |  389|     97|do { \
  |  |  |  |  |  |  |  |  390|     97|    alloc_pos = state->data_stack_base; \
  |  |  |  |  |  |  |  |  391|     97|    TRACE(("allocating %s in %zd (%zd)\n", \
  |  |  |  |  |  |  |  |  392|     97|           Py_STRINGIFY(type), alloc_pos, sizeof(type))); \
  |  |  |  |  |  |  |  |  393|     97|    if (sizeof(type) > state->data_stack_size - alloc_pos) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (393:9): [True: 2, False: 95]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  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|     97|    ptr = (type*)(state->data_stack+alloc_pos); \
  |  |  |  |  |  |  |  |  400|     97|    state->data_stack_base += sizeof(type); \
  |  |  |  |  |  |  |  |  401|     97|} while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (401:10): [Folded, False: 97]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  518|     97|    nextctx->pattern = nextpattern; \
  |  |  |  |  519|     97|    nextctx->toplevel = toplevel_; \
  |  |  |  |  520|     97|    nextctx->jump = jumpvalue; \
  |  |  |  |  521|     97|    nextctx->last_ctx_pos = ctx_pos; \
  |  |  |  |  522|     97|    pattern = nextpattern; \
  |  |  |  |  523|     97|    ctx_pos = alloc_pos; \
  |  |  |  |  524|     97|    ctx = nextctx; \
  |  |  |  |  525|     97|    goto entrance; \
  |  |  |  |  526|     97|    jumplabel: \
  |  |  |  |  527|     97|    pattern = ctx->pattern; \
  |  |  |  |  528|     97|    ptr = ctx->ptr;
  |  |  ------------------
  ------------------
  966|     97|                            pattern+pattern[0]);
  967|     97|                    if (ret) {
  ------------------
  |  Branch (967:25): [True: 94, False: 3]
  ------------------
  968|     94|                        if (state->repeat)
  ------------------
  |  Branch (968:29): [True: 26, False: 68]
  ------------------
  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|     94|                        RETURN_ON_ERROR(ret);
  ------------------
  |  |  382|     94|    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: 94]
  |  |  |  Branch (382:47): [Folded, False: 94]
  |  |  ------------------
  ------------------
  971|     94|                        RETURN_SUCCESS;
  ------------------
  |  |  379|     94|#define RETURN_SUCCESS do { ret = 1; goto exit; } while(0)
  |  |  ------------------
  |  |  |  Branch (379:57): [Folded, False: 0]
  |  |  ------------------
  ------------------
  972|     94|                    }
  973|      3|                    if (state->repeat)
  ------------------
  |  Branch (973:25): [True: 0, False: 3]
  ------------------
  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|      3|                    LASTMARK_RESTORE();
  ------------------
  |  |  359|      3|    do { \
  |  |  360|      3|        state->lastmark = ctx->lastmark; \
  |  |  361|      3|        state->lastindex = ctx->lastindex; \
  |  |  362|      3|    } while (0)
  |  |  ------------------
  |  |  |  Branch (362:14): [Folded, False: 3]
  |  |  ------------------
  ------------------
  976|       |
  977|      3|                    ptr--;
  978|      3|                    ctx->count--;
  979|      3|                }
  980|      3|                if (state->repeat)
  ------------------
  |  Branch (980:21): [True: 0, False: 3]
  ------------------
  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|      3|            }
  983|     29|            RETURN_FAILURE;
  ------------------
  |  |  378|     29|#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]);
  ------------------
  |  |  356|      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);
  ------------------
  |  |  356|    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]);
  ------------------
  |  |  356|      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];
  ------------------
  |  |  354|      0|#define SRE_CHAR Py_UCS1
  ------------------
 1450|      0|                    SRE_CHAR* e = (SRE_CHAR*) state->mark[groupref+1];
  ------------------
  |  |  354|      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];
  ------------------
  |  |  354|      0|#define SRE_CHAR Py_UCS1
  ------------------
 1474|      0|                    SRE_CHAR* e = (SRE_CHAR*) state->mark[groupref+1];
  ------------------
  |  |  354|      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];
  ------------------
  |  |  354|      0|#define SRE_CHAR Py_UCS1
  ------------------
 1499|      0|                    SRE_CHAR* e = (SRE_CHAR*) state->mark[groupref+1];
  ------------------
  |  |  354|      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];
  ------------------
  |  |  354|      0|#define SRE_CHAR Py_UCS1
  ------------------
 1524|      0|                    SRE_CHAR* e = (SRE_CHAR*) state->mark[groupref+1];
  ------------------
  |  |  354|      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];
  ------------------
  |  |  354|      0|#define SRE_CHAR Py_UCS1
  ------------------
 1550|      0|                    SRE_CHAR* e = (SRE_CHAR*) state->mark[groupref+1];
  ------------------
  |  |  354|      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|    774|exit:
 1620|    774|    ctx_pos = ctx->last_ctx_pos;
 1621|    774|    jump = ctx->jump;
 1622|    774|    DATA_POP_DISCARD(ctx);
  ------------------
  |  |  447|    774|    DATA_STACK_POP_DISCARD(state, sizeof(*(x)))
  |  |  ------------------
  |  |  |  |  435|    774|#define DATA_STACK_POP_DISCARD(state, size) \
  |  |  |  |  436|    774|do { \
  |  |  |  |  437|    774|    TRACE(("discard data from %zd (%zd)\n", \
  |  |  |  |  438|    774|           state->data_stack_base-size, size)); \
  |  |  |  |  439|    774|    state->data_stack_base -= size; \
  |  |  |  |  440|    774|} while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (440:9): [Folded, False: 774]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1623|    774|    if (ctx_pos == -1) {
  ------------------
  |  Branch (1623:9): [True: 58, False: 716]
  ------------------
 1624|     58|        state->sigcount = sigcount;
 1625|     58|        return ret;
 1626|     58|    }
 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|     23|        case JUMP_BRANCH:
  ------------------
  |  |  507|     23|#define JUMP_BRANCH          11
  ------------------
  |  Branch (1642:9): [True: 23, False: 693]
  ------------------
 1643|     23|            TRACE(("|%p|%p|JUMP_BRANCH\n", pattern, ptr));
 1644|     23|            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|     97|        case JUMP_REPEAT_ONE_2:
  ------------------
  |  |  505|     97|#define JUMP_REPEAT_ONE_2    9
  ------------------
  |  Branch (1663:9): [True: 97, False: 619]
  ------------------
 1664|     97|            TRACE(("|%p|%p|JUMP_REPEAT_ONE_2\n", pattern, ptr));
 1665|     97|            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|     50|{
   18|       |    /* check if pointer is at given position */
   19|       |
   20|     50|    Py_ssize_t thisp, thatp;
   21|       |
   22|     50|    switch (at) {
  ------------------
  |  Branch (22:13): [True: 50, False: 0]
  ------------------
   23|       |
   24|     33|    case SRE_AT_BEGINNING:
  ------------------
  |  |   58|     33|#define SRE_AT_BEGINNING 0
  ------------------
  |  Branch (24:5): [True: 33, False: 17]
  ------------------
   25|     33|    case SRE_AT_BEGINNING_STRING:
  ------------------
  |  |   60|     33|#define SRE_AT_BEGINNING_STRING 2
  ------------------
  |  Branch (25:5): [True: 0, False: 50]
  ------------------
   26|     33|        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: 50]
  ------------------
   29|      0|        return ((void*) ptr == state->beginning ||
  ------------------
  |  Branch (29:17): [True: 0, False: 0]
  ------------------
   30|      0|                SRE_IS_LINEBREAK((int) ptr[-1]));
  ------------------
  |  |  140|      0|    ((ch) == '\n')
  |  |  ------------------
  |  |  |  Branch (140:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   31|       |
   32|     11|    case SRE_AT_END:
  ------------------
  |  |   63|     11|#define SRE_AT_END 5
  ------------------
  |  Branch (32:5): [True: 11, False: 39]
  ------------------
   33|     11|        return (((SRE_CHAR *)state->end - ptr == 1 &&
  ------------------
  |  Branch (33:18): [True: 0, False: 11]
  ------------------
   34|      0|                 SRE_IS_LINEBREAK((int) ptr[0])) ||
  ------------------
  |  |  140|      0|    ((ch) == '\n')
  |  |  ------------------
  |  |  |  Branch (140:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   35|     11|                ((void*) ptr == state->end));
  ------------------
  |  Branch (35:17): [True: 8, False: 3]
  ------------------
   36|       |
   37|      0|    case SRE_AT_END_LINE:
  ------------------
  |  |   64|      0|#define SRE_AT_END_LINE 6
  ------------------
  |  Branch (37:5): [True: 0, False: 50]
  ------------------
   38|      0|        return ((void*) ptr == state->end ||
  ------------------
  |  Branch (38:17): [True: 0, False: 0]
  ------------------
   39|      0|                SRE_IS_LINEBREAK((int) ptr[0]));
  ------------------
  |  |  140|      0|    ((ch) == '\n')
  |  |  ------------------
  |  |  |  Branch (140: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: 44]
  ------------------
   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: 50]
  ------------------
   45|      0|        thatp = ((void*) ptr > state->beginning) ?
  ------------------
  |  Branch (45:17): [True: 0, False: 0]
  ------------------
   46|      0|            SRE_IS_WORD((int) ptr[-1]) : 0;
  ------------------
  |  |  142|      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 (142:6): [True: 0, False: 0]
  |  |  |  Branch (142: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;
  ------------------
  |  |  142|      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 (142:6): [True: 0, False: 0]
  |  |  |  Branch (142: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: 50]
  ------------------
   52|      0|        thatp = ((void*) ptr > state->beginning) ?
  ------------------
  |  Branch (52:17): [True: 0, False: 0]
  ------------------
   53|      0|            SRE_IS_WORD((int) ptr[-1]) : 0;
  ------------------
  |  |  142|      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 (142:6): [True: 0, False: 0]
  |  |  |  Branch (142: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;
  ------------------
  |  |  142|      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 (142:6): [True: 0, False: 0]
  |  |  |  Branch (142: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: 50]
  ------------------
   59|      0|        thatp = ((void*) ptr > state->beginning) ?
  ------------------
  |  Branch (59:17): [True: 0, False: 0]
  ------------------
   60|      0|            SRE_LOC_IS_WORD((int) ptr[-1]) : 0;
  ------------------
  |  |  153|      0|#define SRE_LOC_IS_WORD(ch) (SRE_LOC_IS_ALNUM((ch)) || (ch) == '_')
  |  |  ------------------
  |  |  |  |  152|      0|#define SRE_LOC_IS_ALNUM(ch) (!((ch) & ~255) ? sre_isalnum((ch)) : 0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (152:30): [True: 0, False: 0]
  |  |  |  |  |  Branch (152:31): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (153: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;
  ------------------
  |  |  153|      0|#define SRE_LOC_IS_WORD(ch) (SRE_LOC_IS_ALNUM((ch)) || (ch) == '_')
  |  |  ------------------
  |  |  |  |  152|      0|#define SRE_LOC_IS_ALNUM(ch) (!((ch) & ~255) ? sre_isalnum((ch)) : 0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (152:30): [True: 0, False: 0]
  |  |  |  |  |  Branch (152:31): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (153: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: 50]
  ------------------
   66|      0|        thatp = ((void*) ptr > state->beginning) ?
  ------------------
  |  Branch (66:17): [True: 0, False: 0]
  ------------------
   67|      0|            SRE_LOC_IS_WORD((int) ptr[-1]) : 0;
  ------------------
  |  |  153|      0|#define SRE_LOC_IS_WORD(ch) (SRE_LOC_IS_ALNUM((ch)) || (ch) == '_')
  |  |  ------------------
  |  |  |  |  152|      0|#define SRE_LOC_IS_ALNUM(ch) (!((ch) & ~255) ? sre_isalnum((ch)) : 0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (152:30): [True: 0, False: 0]
  |  |  |  |  |  Branch (152:31): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (153: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;
  ------------------
  |  |  153|      0|#define SRE_LOC_IS_WORD(ch) (SRE_LOC_IS_ALNUM((ch)) || (ch) == '_')
  |  |  ------------------
  |  |  |  |  152|      0|#define SRE_LOC_IS_ALNUM(ch) (!((ch) & ~255) ? sre_isalnum((ch)) : 0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (152:30): [True: 0, False: 0]
  |  |  |  |  |  Branch (152:31): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (153: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: 50]
  ------------------
   73|      0|        thatp = ((void*) ptr > state->beginning) ?
  ------------------
  |  Branch (73:17): [True: 0, False: 0]
  ------------------
   74|      0|            SRE_UNI_IS_WORD((int) ptr[-1]) : 0;
  ------------------
  |  |  171|      0|#define SRE_UNI_IS_WORD(ch) (SRE_UNI_IS_ALNUM(ch) || (ch) == '_')
  |  |  ------------------
  |  |  |  |  170|      0|#define SRE_UNI_IS_ALNUM(ch) Py_UNICODE_ISALNUM(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (170:30): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (171: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;
  ------------------
  |  |  171|      0|#define SRE_UNI_IS_WORD(ch) (SRE_UNI_IS_ALNUM(ch) || (ch) == '_')
  |  |  ------------------
  |  |  |  |  170|      0|#define SRE_UNI_IS_ALNUM(ch) Py_UNICODE_ISALNUM(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (170:30): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (171: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: 50]
  ------------------
   80|      0|        thatp = ((void*) ptr > state->beginning) ?
  ------------------
  |  Branch (80:17): [True: 0, False: 0]
  ------------------
   81|      0|            SRE_UNI_IS_WORD((int) ptr[-1]) : 0;
  ------------------
  |  |  171|      0|#define SRE_UNI_IS_WORD(ch) (SRE_UNI_IS_ALNUM(ch) || (ch) == '_')
  |  |  ------------------
  |  |  |  |  170|      0|#define SRE_UNI_IS_ALNUM(ch) Py_UNICODE_ISALNUM(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (170:30): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (171: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;
  ------------------
  |  |  171|      0|#define SRE_UNI_IS_WORD(ch) (SRE_UNI_IS_ALNUM(ch) || (ch) == '_')
  |  |  ------------------
  |  |  |  |  170|      0|#define SRE_UNI_IS_ALNUM(ch) Py_UNICODE_ISALNUM(ch)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (170:30): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (171:54): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   84|      0|        return thisp == thatp;
   85|       |
   86|     50|    }
   87|       |
   88|      0|    return 0;
   89|     50|}
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)))))
  ------------------
  |  |   54|     32|#define SRE_CODE_BITS (8 * sizeof(SRE_CODE))
  ------------------
                              (set[ch/SRE_CODE_BITS] & (1u << (ch & (SRE_CODE_BITS-1)))))
  ------------------
  |  |   54|     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;
  ------------------
  |  |   54|     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] &
  ------------------
  |  |   54|      2|#define SRE_CODE_BITS (8 * sizeof(SRE_CODE))
  ------------------
  |  Branch (163:17): [True: 2, False: 0]
  ------------------
  164|      2|                    (1u << (ch & (SRE_CODE_BITS-1)))))
  ------------------
  |  |   54|      2|#define SRE_CODE_BITS (8 * sizeof(SRE_CODE))
  ------------------
  165|      2|                return ok;
  166|      0|            set += count * (256/SRE_CODE_BITS);
  ------------------
  |  |   54|      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|    549|{
  195|    549|    SRE_CODE chr;
  ------------------
  |  |   18|    549|#define SRE_CODE Py_UCS4
  ------------------
  196|    549|    SRE_CHAR c;
  ------------------
  |  |  354|    549|#define SRE_CHAR Py_UCS1
  ------------------
  197|    549|    const SRE_CHAR* ptr = (const SRE_CHAR *)state->ptr;
  198|    549|    const SRE_CHAR* end = (const SRE_CHAR *)state->end;
  199|    549|    Py_ssize_t i;
  200|    549|    INIT_TRACE(state);
  201|       |
  202|       |    /* adjust end */
  203|    549|    if (maxcount < end - ptr && maxcount != SRE_MAXREPEAT)
  ------------------
  |  |   20|    410|# define SRE_MAXREPEAT (~(SRE_CODE)0)
  ------------------
  |  Branch (203:9): [True: 410, False: 139]
  |  Branch (203:33): [True: 410, False: 0]
  ------------------
  204|    410|        end = ptr + maxcount;
  205|       |
  206|    549|    switch (pattern[0]) {
  207|       |
  208|    125|    case SRE_OP_IN:
  ------------------
  |  |   28|    125|#define SRE_OP_IN 13
  ------------------
  |  Branch (208:5): [True: 125, False: 424]
  ------------------
  209|       |        /* repeated set */
  210|    125|        TRACE(("|%p|%p|COUNT IN\n", pattern, ptr));
  211|    549|        while (ptr < end && SRE(charset)(state, pattern + 2, *ptr))
  ------------------
  |  |  356|    513|#define SRE(F) sre_ucs1_##F
  ------------------
  |  Branch (211:16): [True: 513, False: 36]
  |  Branch (211:29): [True: 424, False: 89]
  ------------------
  212|    424|            ptr++;
  213|    125|        break;
  214|       |
  215|    416|    case SRE_OP_ANY:
  ------------------
  |  |   17|    416|#define SRE_OP_ANY 2
  ------------------
  |  Branch (215:5): [True: 416, False: 133]
  ------------------
  216|       |        /* repeated dot wildcard. */
  217|    416|        TRACE(("|%p|%p|COUNT ANY\n", pattern, ptr));
  218|    824|        while (ptr < end && !SRE_IS_LINEBREAK(*ptr))
  ------------------
  |  |  140|    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: 549]
  ------------------
  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: 545]
  ------------------
  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: 549]
  ------------------
  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: 549]
  ------------------
  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: 549]
  ------------------
  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: 545]
  ------------------
  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: 549]
  ------------------
  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: 549]
  ------------------
  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: 549]
  ------------------
  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: 549]
  ------------------
  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);
  ------------------
  |  |  356|      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|    549|    }
  319|       |
  320|    549|    TRACE(("|%p|%p|COUNT %zd\n", pattern, ptr,
  321|    549|           ptr - (SRE_CHAR*) state->ptr));
  322|    549|    return ptr - (SRE_CHAR*) state->ptr;
  323|    549|}
sre.c:sre_ucs1_search:
 1693|      2|{
 1694|      2|    SRE_CHAR* ptr = (SRE_CHAR *)state->start;
  ------------------
  |  |  354|      2|#define SRE_CHAR Py_UCS1
  ------------------
 1695|      2|    SRE_CHAR* end = (SRE_CHAR *)state->end;
  ------------------
  |  |  354|      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];
  ------------------
  |  |  354|      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);
  ------------------
  |  |  356|      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];
  ------------------
  |  |  354|      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);
  ------------------
  |  |  356|      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))
  ------------------
  |  |  356|      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);
  ------------------
  |  |  356|      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);
  ------------------
  |  |  356|      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);
  ------------------
  |  |  356|      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|    102|{
  295|    102|    unsigned long value;
  296|    102|    mode_t mode;
  297|       |
  298|    102|    if (PyLong_Check(op)) {
  ------------------
  |  |   13|    102|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    102|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 102, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  299|    102|        value = PyLong_AsUnsignedLong(op);
  300|    102|    }
  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|    102|    if ((value == (unsigned long)-1) && PyErr_Occurred()) {
  ------------------
  |  Branch (310:9): [True: 0, False: 102]
  |  Branch (310:41): [True: 0, False: 0]
  ------------------
  311|      0|        return (mode_t)-1;
  312|      0|    }
  313|       |
  314|    102|    mode = (mode_t)value;
  315|    102|    if ((unsigned long)mode != value) {
  ------------------
  |  Branch (315:9): [True: 0, False: 102]
  ------------------
  316|      0|        PyErr_SetString(PyExc_OverflowError, "mode out of range");
  317|      0|        return (mode_t)-1;
  318|      0|    }
  319|    102|    return mode;
  320|    102|}
_stat.c:stat_S_ISLNK:
  354|    100|stat_S_ISFUNC(S_ISLNK,
  ------------------
  |  |  326|    100|    {                                                          \
  |  |  327|    100|       mode_t mode = _PyLong_AsMode_t(omode);                   \
  |  |  328|    100|       if ((mode == (mode_t)-1) && PyErr_Occurred())           \
  |  |  ------------------
  |  |  |  Branch (328:12): [True: 0, False: 100]
  |  |  |  Branch (328:36): [True: 0, False: 0]
  |  |  ------------------
  |  |  329|    100|           return NULL;                                        \
  |  |  330|    100|       return PyBool_FromLong(isfunc(mode));                   \
  |  |  ------------------
  |  |  |  |  354|    100|stat_S_ISFUNC(S_ISLNK,
  |  |  ------------------
  |  |  331|    100|    }                                                          \
  ------------------
_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.09M|{
   59|  7.09M|    void *state = _PyModule_GetState(module);
   60|       |    assert(state != NULL);
   61|  7.09M|    return (thread_module_state *)state;
   62|  7.09M|}
_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|  7.54k|{
 2116|  7.54k|    thread_module_state *state = get_thread_state(module);
 2117|  7.54k|    return lock_new_impl(state->lock_type);
 2118|  7.54k|}
_threadmodule.c:lock_new_impl:
  994|  7.56k|{
  995|  7.56k|    lockobject *self = (lockobject *)type->tp_alloc(type, 0);
  996|  7.56k|    if (self == NULL) {
  ------------------
  |  Branch (996:9): [True: 0, False: 7.56k]
  ------------------
  997|      0|        return NULL;
  998|      0|    }
  999|  7.56k|    self->lock = (PyMutex){0};
 1000|  7.56k|    return (PyObject *)self;
 1001|  7.56k|}
_threadmodule.c:thread_get_ident:
 2135|   196k|{
 2136|   196k|    PyThread_ident_t ident = PyThread_get_thread_ident_ex();
 2137|   196k|    if (ident == PYTHREAD_INVALID_THREAD_ID) {
  ------------------
  |  |   13|   196k|#define PYTHREAD_INVALID_THREAD_ID ((unsigned long)-1)
  ------------------
  |  Branch (2137:9): [True: 0, False: 196k]
  ------------------
 2138|      0|        PyErr_SetString(ThreadError, "no current thread ident");
  ------------------
  |  |   23|      0|#define ThreadError PyExc_RuntimeError
  ------------------
 2139|      0|        return NULL;
 2140|      0|    }
 2141|   196k|    return PyLong_FromUnsignedLongLong(ident);
 2142|   196k|}
_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) {
  ------------------
  |  | 2060|      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|  7.54k|{
  771|  7.54k|    PyObject_GC_UnTrack(self);
  772|  7.54k|    PyObject_ClearWeakRefs(self);
  773|  7.54k|    PyTypeObject *tp = Py_TYPE(self);
  ------------------
  |  |  213|  7.54k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  7.54k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.54k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  774|  7.54k|    tp->tp_free(self);
  775|  7.54k|    Py_DECREF(tp);
  ------------------
  |  |  430|  7.54k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.54k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.54k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  776|  7.54k|}
_threadmodule.c:_thread_lock_acquire_impl:
  835|    328|{
  836|    328|    PyTime_t timeout;
  837|       |
  838|    328|    if (lock_acquire_parse_timeout(timeoutobj, blocking, &timeout) < 0) {
  ------------------
  |  Branch (838:9): [True: 0, False: 328]
  ------------------
  839|      0|        return NULL;
  840|      0|    }
  841|       |
  842|    328|    PyLockStatus r = _PyMutex_LockTimed(
  843|    328|        &self->lock, timeout,
  844|    328|        _PY_LOCK_PYTHONLOCK | _PY_LOCK_HANDLE_SIGNALS | _PY_LOCK_DETACH);
  845|    328|    if (r == PY_LOCK_INTR) {
  ------------------
  |  Branch (845:9): [True: 0, False: 328]
  ------------------
  846|      0|        assert(PyErr_Occurred());
  847|      0|        return NULL;
  848|      0|    }
  849|    328|    if (r == PY_LOCK_FAILURE && PyErr_Occurred()) {
  ------------------
  |  Branch (849:9): [True: 2, False: 326]
  |  Branch (849:33): [True: 0, False: 2]
  ------------------
  850|      0|        return NULL;
  851|      0|    }
  852|       |
  853|    328|    return PyBool_FromLong(r == PY_LOCK_ACQUIRED);
  854|    328|}
_threadmodule.c:lock_acquire_parse_timeout:
  781|  83.9k|{
  782|       |    // XXX Use PyThread_ParseTimeoutArg().
  783|       |
  784|  83.9k|    const PyTime_t unset_timeout = _PyTime_FromSeconds(-1);
  785|  83.9k|    *timeout = unset_timeout;
  786|       |
  787|  83.9k|    if (timeout_obj
  ------------------
  |  Branch (787:9): [True: 0, False: 83.9k]
  ------------------
  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|  83.9k|    if (!blocking && *timeout != unset_timeout ) {
  ------------------
  |  Branch (792:9): [True: 2, False: 83.9k]
  |  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|  83.9k|    if (*timeout < 0 && *timeout != unset_timeout) {
  ------------------
  |  Branch (797:9): [True: 83.9k, False: 0]
  |  Branch (797:25): [True: 0, False: 83.9k]
  ------------------
  798|      0|        PyErr_SetString(PyExc_ValueError,
  799|      0|                        "timeout value must be a non-negative number");
  800|      0|        return -1;
  801|      0|    }
  802|  83.9k|    if (!blocking)
  ------------------
  |  Branch (802:9): [True: 2, False: 83.9k]
  ------------------
  803|      2|        *timeout = 0;
  804|  83.9k|    else if (*timeout != unset_timeout) {
  ------------------
  |  Branch (804:14): [True: 0, False: 83.9k]
  ------------------
  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|  83.9k|    return 0;
  815|  83.9k|}
_threadmodule.c:_thread_lock_release_impl:
  883|    326|{
  884|       |    /* Sanity check: the lock must be locked */
  885|    326|    if (_PyMutex_TryUnlock(&self->lock) < 0) {
  ------------------
  |  Branch (885:9): [True: 0, False: 326]
  ------------------
  886|      0|        PyErr_SetString(ThreadError, "release unlocked lock");
  ------------------
  |  |   23|      0|#define ThreadError PyExc_RuntimeError
  ------------------
  887|      0|        return NULL;
  888|      0|    }
  889|       |
  890|    326|    Py_RETURN_NONE;
  ------------------
  |  |  628|    326|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    326|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  891|    326|}
_threadmodule.c:_thread_lock___enter___impl:
  915|    324|{
  916|       |    return _thread_lock_acquire_impl(self, 1, NULL);
  917|    324|}
_threadmodule.c:_thread_lock___exit___impl:
  933|    324|{
  934|    324|    return _thread_lock_release_impl(self);
  935|    324|}
_threadmodule.c:get_thread_state_by_cls:
   66|  11.1k|{
   67|       |    // Use PyType_GetModuleByDef() to handle (R)Lock subclasses.
   68|  11.1k|    PyObject *module = PyType_GetModuleByDef(cls, &thread_module);
   69|  11.1k|    if (module == NULL) {
  ------------------
  |  Branch (69:9): [True: 0, False: 11.1k]
  ------------------
   70|      0|        return NULL;
   71|      0|    }
   72|  11.1k|    return get_thread_state(module);
   73|  11.1k|}
_threadmodule.c:rlock_dealloc:
 1062|  11.0k|{
 1063|  11.0k|    PyObject_GC_UnTrack(self);
 1064|  11.0k|    PyObject_ClearWeakRefs(self);
 1065|  11.0k|    PyTypeObject *tp = Py_TYPE(self);
  ------------------
  |  |  213|  11.0k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  11.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1066|  11.0k|    tp->tp_free(self);
 1067|  11.0k|    Py_DECREF(tp);
  ------------------
  |  |  430|  11.0k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1068|  11.0k|}
_threadmodule.c:_thread_RLock_acquire_impl:
 1095|  83.6k|{
 1096|  83.6k|    PyTime_t timeout;
 1097|       |
 1098|  83.6k|    if (lock_acquire_parse_timeout(timeoutobj, blocking, &timeout) < 0) {
  ------------------
  |  Branch (1098:9): [True: 0, False: 83.6k]
  ------------------
 1099|      0|        return NULL;
 1100|      0|    }
 1101|       |
 1102|  83.6k|    PyLockStatus r = _PyRecursiveMutex_LockTimed(
 1103|  83.6k|        &self->lock, timeout,
 1104|  83.6k|        _PY_LOCK_PYTHONLOCK | _PY_LOCK_HANDLE_SIGNALS | _PY_LOCK_DETACH);
 1105|  83.6k|    if (r == PY_LOCK_INTR) {
  ------------------
  |  Branch (1105:9): [True: 0, False: 83.6k]
  ------------------
 1106|      0|        assert(PyErr_Occurred());
 1107|      0|        return NULL;
 1108|      0|    }
 1109|  83.6k|    if (r == PY_LOCK_FAILURE && PyErr_Occurred()) {
  ------------------
  |  Branch (1109:9): [True: 0, False: 83.6k]
  |  Branch (1109:33): [True: 0, False: 0]
  ------------------
 1110|      0|        return NULL;
 1111|      0|    }
 1112|       |
 1113|  83.6k|    return PyBool_FromLong(r == PY_LOCK_ACQUIRED);
 1114|  83.6k|}
_threadmodule.c:_thread_RLock_release_impl:
 1147|  83.6k|{
 1148|  83.6k|    if (_PyRecursiveMutex_TryUnlock(&self->lock) < 0) {
  ------------------
  |  Branch (1148:9): [True: 0, False: 83.6k]
  ------------------
 1149|      0|        PyErr_SetString(PyExc_RuntimeError,
 1150|      0|                        "cannot release un-acquired lock");
 1151|      0|        return NULL;
 1152|      0|    }
 1153|  83.6k|    Py_RETURN_NONE;
  ------------------
  |  |  628|  83.6k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  83.6k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1154|  83.6k|}
_threadmodule.c:_thread_RLock___enter___impl:
 1125|  83.6k|{
 1126|       |    return _thread_RLock_acquire_impl(self, 1, NULL);
 1127|  83.6k|}
_threadmodule.c:_thread_RLock___exit___impl:
 1171|  83.6k|{
 1172|  83.6k|    return _thread_RLock_release_impl(self);
 1173|  83.6k|}
_threadmodule.c:rlock_new_impl:
 1278|  11.1k|{
 1279|  11.1k|    rlockobject *self = (rlockobject *) type->tp_alloc(type, 0);
 1280|  11.1k|    if (self == NULL) {
  ------------------
  |  Branch (1280:9): [True: 0, False: 11.1k]
  ------------------
 1281|      0|        return NULL;
 1282|      0|    }
 1283|  11.1k|    self->lock = (_PyRecursiveMutex){0};
 1284|  11.1k|    return (PyObject *) self;
 1285|  11.1k|}
_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|  6.85M|{
 1805|  6.85M|    localobject *self = localobject_CAST(op);
  ------------------
  |  | 1460|  6.85M|#define localobject_CAST(op)    ((localobject *)(op))
  ------------------
 1806|  6.85M|    PyObject *module = PyType_GetModuleByDef(Py_TYPE(self), &thread_module);
  ------------------
  |  |  213|  6.85M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  6.85M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.85M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1807|  6.85M|    assert(module != NULL);
 1808|  6.85M|    thread_module_state *state = get_thread_state(module);
 1809|       |
 1810|  6.85M|    PyObject *ldict = _ldict(self, state);
 1811|  6.85M|    if (ldict == NULL)
  ------------------
  |  Branch (1811:9): [True: 0, False: 6.85M]
  ------------------
 1812|      0|        return NULL;
 1813|       |
 1814|  6.85M|    int r = PyObject_RichCompareBool(name, &_Py_ID(__dict__), Py_EQ);
  ------------------
  |  |  915|  6.85M|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  6.85M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  6.85M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  int r = PyObject_RichCompareBool(name, &_Py_ID(__dict__), Py_EQ);
  ------------------
  |  |  654|  6.85M|#define Py_EQ 2
  ------------------
 1815|  6.85M|    if (r == 1) {
  ------------------
  |  Branch (1815:9): [True: 0, False: 6.85M]
  ------------------
 1816|      0|        return ldict;
 1817|      0|    }
 1818|  6.85M|    if (r == -1) {
  ------------------
  |  Branch (1818:9): [True: 0, False: 6.85M]
  ------------------
 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|  6.85M|    if (!Py_IS_TYPE(self, state->local_type)) {
  ------------------
  |  |  215|  6.85M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  6.85M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.85M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1823:9): [True: 0, False: 6.85M]
  ------------------
 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|  6.85M|    PyObject *value;
 1832|  6.85M|    if (PyDict_GetItemRef(ldict, name, &value) != 0) {
  ------------------
  |  Branch (1832:9): [True: 6.85M, False: 105]
  ------------------
 1833|       |        // found or error
 1834|  6.85M|        Py_DECREF(ldict);
  ------------------
  |  |  430|  6.85M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.85M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.85M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1835|  6.85M|        return value;
 1836|  6.85M|    }
 1837|       |
 1838|       |    /* Fall back on generic to get __class__ and __dict__ */
 1839|    105|    PyObject *res = _PyObject_GenericGetAttrWithDict(op, name, ldict, 0);
 1840|    105|    Py_DECREF(ldict);
  ------------------
  |  |  430|    105|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    105|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    105|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1841|    105|    return res;
 1842|  6.85M|}
_threadmodule.c:_ldict:
 1692|  7.07M|{
 1693|  7.07M|    if (create_localdummies(state) < 0) {
  ------------------
  |  Branch (1693:9): [True: 0, False: 7.07M]
  ------------------
 1694|      0|        return NULL;
 1695|      0|    }
 1696|       |
 1697|       |    /* Check if a localsdict already exists */
 1698|  7.07M|    PyObject *ldict;
 1699|  7.07M|    PyThreadState *tstate = _PyThreadState_GET();
 1700|  7.07M|    if (PyDict_GetItemRef(self->localdicts, tstate->threading_local_key,
  ------------------
  |  Branch (1700:9): [True: 0, False: 7.07M]
  ------------------
 1701|  7.07M|                          &ldict) < 0) {
 1702|      0|        return NULL;
 1703|      0|    }
 1704|  7.07M|    if (ldict != NULL) {
  ------------------
  |  Branch (1704:9): [True: 7.07M, False: 0]
  ------------------
 1705|  7.07M|        return ldict;
 1706|  7.07M|    }
 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.07M|{
 1604|  7.07M|    PyThreadState *tstate = _PyThreadState_GET();
 1605|       |
 1606|  7.07M|    if (tstate->threading_local_key != NULL) {
  ------------------
  |  Branch (1606:9): [True: 7.07M, False: 2]
  ------------------
 1607|  7.07M|        return 0;
 1608|  7.07M|    }
 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|   226k|{
 1745|   226k|    localobject *self = localobject_CAST(op);
  ------------------
  |  | 1460|   226k|#define localobject_CAST(op)    ((localobject *)(op))
  ------------------
 1746|   226k|    PyObject *module = PyType_GetModuleByDef(Py_TYPE(self), &thread_module);
  ------------------
  |  |  213|   226k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   226k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   226k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1747|   226k|    assert(module != NULL);
 1748|   226k|    thread_module_state *state = get_thread_state(module);
 1749|       |
 1750|   226k|    PyObject *ldict = _ldict(self, state);
 1751|   226k|    if (ldict == NULL) {
  ------------------
  |  Branch (1751:9): [True: 0, False: 226k]
  ------------------
 1752|      0|        goto err;
 1753|      0|    }
 1754|       |
 1755|   226k|    int r = PyObject_RichCompareBool(name, &_Py_ID(__dict__), Py_EQ);
  ------------------
  |  |  915|   226k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|   226k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   226k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  int r = PyObject_RichCompareBool(name, &_Py_ID(__dict__), Py_EQ);
  ------------------
  |  |  654|   226k|#define Py_EQ 2
  ------------------
 1756|   226k|    if (r == -1) {
  ------------------
  |  Branch (1756:9): [True: 0, False: 226k]
  ------------------
 1757|      0|        goto err;
 1758|      0|    }
 1759|   226k|    if (r == 1) {
  ------------------
  |  Branch (1759:9): [True: 0, False: 226k]
  ------------------
 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|   226k|    int st = _PyObject_GenericSetAttrWithDict(op, name, v, ldict);
 1767|   226k|    Py_DECREF(ldict);
  ------------------
  |  |  430|   226k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   226k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   226k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1768|   226k|    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|   226k|}
_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|  8.44k|{
   59|  8.44k|    if (_PyDict_DelItemIf(dct, key, is_dead_weakref, NULL) < 0) {
  ------------------
  |  Branch (59:9): [True: 0, False: 8.44k]
  ------------------
   60|      0|        return NULL;
   61|      0|    }
   62|  8.44k|    Py_RETURN_NONE;
  ------------------
  |  |  628|  8.44k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  8.44k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
   63|  8.44k|}
_weakref.c:is_dead_weakref:
   35|  8.44k|{
   36|  8.44k|    if (!PyWeakref_Check(value)) {
  ------------------
  |  |   23|  8.44k|        (PyWeakref_CheckRef(op) || PyWeakref_CheckProxy(op))
  |  |  ------------------
  |  |  |  |   15|  8.44k|#define PyWeakref_CheckRef(op) PyObject_TypeCheck((op), &_PyWeakref_RefType)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|  16.8k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  8.44k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  8.44k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 8.44k, 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|  8.44k|    return _PyWeakref_IS_DEAD(value);
   41|  8.44k|}
_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|  33.4k|{
   97|  33.4k|    PyObject *return_value = NULL;
   98|  33.4k|    PyObject *self;
   99|  33.4k|    PyObject *instance;
  100|       |
  101|  33.4k|    if (!_PyArg_CheckPositional("_abc_instancecheck", nargs, 2, 2)) {
  ------------------
  |  |   31|  33.4k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 33.4k, False: 0]
  |  |  |  Branch (31:27): [True: 33.4k, False: 0]
  |  |  ------------------
  |  |   32|  33.4k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  102|      0|        goto exit;
  103|      0|    }
  104|  33.4k|    self = args[0];
  105|  33.4k|    instance = args[1];
  106|  33.4k|    return_value = _abc__abc_instancecheck_impl(module, self, instance);
  107|       |
  108|  33.4k|exit:
  109|  33.4k|    return return_value;
  110|  33.4k|}
_abc.c:_abc__abc_subclasscheck:
  127|  11.7k|{
  128|  11.7k|    PyObject *return_value = NULL;
  129|  11.7k|    PyObject *self;
  130|  11.7k|    PyObject *subclass;
  131|       |
  132|  11.7k|    if (!_PyArg_CheckPositional("_abc_subclasscheck", nargs, 2, 2)) {
  ------------------
  |  |   31|  11.7k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 11.7k, False: 0]
  |  |  |  Branch (31:27): [True: 11.7k, False: 0]
  |  |  ------------------
  |  |   32|  11.7k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  133|      0|        goto exit;
  134|      0|    }
  135|  11.7k|    self = args[0];
  136|  11.7k|    subclass = args[1];
  137|  11.7k|    return_value = _abc__abc_subclasscheck_impl(module, self, subclass);
  138|       |
  139|  11.7k|exit:
  140|  11.7k|    return return_value;
  141|  11.7k|}

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

_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), },
  ------------------
  |  |  915|      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), },
  ------------------
  |  |  915|      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|  11.7k|{
   29|  11.7k|    PyObject *return_value = NULL;
   30|  11.7k|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
   31|       |
   32|  11.7k|    #define NUM_KEYWORDS 7
   33|  11.7k|    static struct {
   34|  11.7k|        PyGC_Head _this_is_not_used;
   35|  11.7k|        PyObject_VAR_HEAD
   36|  11.7k|        Py_hash_t ob_hash;
   37|  11.7k|        PyObject *ob_item[NUM_KEYWORDS];
   38|  11.7k|    } _kwtuple = {
   39|  11.7k|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|  11.7k|    {                                     \
  |  |   98|  11.7k|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|  11.7k|    {                               \
  |  |  |  |   91|  11.7k|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|  11.7k|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  11.7k|#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|  11.7k|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|  11.7k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|  11.7k|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|  11.7k|        (type)                      \
  |  |  |  |   93|  11.7k|    },
  |  |  ------------------
  |  |   99|  11.7k|        (size)                            \
  |  |  100|  11.7k|    },
  ------------------
   40|  11.7k|        .ob_hash = -1,
   41|  11.7k|        .ob_item = { &_Py_ID(days), &_Py_ID(seconds), &_Py_ID(microseconds), &_Py_ID(milliseconds), &_Py_ID(minutes), &_Py_ID(hours), &_Py_ID(weeks), },
  ------------------
  |  |  915|  11.7k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  11.7k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  11.7k|    _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), },
  ------------------
  |  |  915|  11.7k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  11.7k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  11.7k|    _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), },
  ------------------
  |  |  915|  11.7k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  11.7k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  11.7k|    _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), },
  ------------------
  |  |  915|  11.7k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  11.7k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  11.7k|    _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), },
  ------------------
  |  |  915|  11.7k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  11.7k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  11.7k|    _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), },
  ------------------
  |  |  915|  11.7k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  11.7k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  11.7k|    _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), },
  ------------------
  |  |  915|  11.7k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  11.7k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  11.7k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   42|  11.7k|    };
   43|  11.7k|    #undef NUM_KEYWORDS
   44|  11.7k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
   45|       |
   46|       |    #else  // !Py_BUILD_CORE
   47|       |    #  define KWTUPLE NULL
   48|       |    #endif  // !Py_BUILD_CORE
   49|       |
   50|  11.7k|    static const char * const _keywords[] = {"days", "seconds", "microseconds", "milliseconds", "minutes", "hours", "weeks", NULL};
   51|  11.7k|    static _PyArg_Parser _parser = {
   52|  11.7k|        .keywords = _keywords,
   53|  11.7k|        .fname = "timedelta",
   54|  11.7k|        .kwtuple = KWTUPLE,
  ------------------
  |  |   44|  11.7k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
   55|  11.7k|    };
   56|  11.7k|    #undef KWTUPLE
   57|  11.7k|    PyObject *argsbuf[7];
   58|  11.7k|    PyObject * const *fastargs;
   59|  11.7k|    Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|  11.7k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   60|  11.7k|    Py_ssize_t noptargs = nargs + (kwargs ? PyDict_GET_SIZE(kwargs) : 0) - 0;
  ------------------
  |  |   63|  11.7k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (60:36): [True: 11.7k, False: 2]
  ------------------
   61|  11.7k|    PyObject *days = NULL;
   62|  11.7k|    PyObject *seconds = NULL;
   63|  11.7k|    PyObject *microseconds = NULL;
   64|  11.7k|    PyObject *milliseconds = NULL;
   65|  11.7k|    PyObject *minutes = NULL;
   66|  11.7k|    PyObject *hours = NULL;
   67|  11.7k|    PyObject *weeks = NULL;
   68|       |
   69|  11.7k|    fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser,
  ------------------
  |  |   88|  11.7k|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 11.7k, Folded]
  |  |  |  Branch (88:23): [True: 2, False: 11.7k]
  |  |  |  Branch (88:43): [True: 0, Folded]
  |  |  ------------------
  |  |   89|  11.7k|      (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|  11.7k|      (args) : \
  |  |   91|  11.7k|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|  11.7k|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
   70|  11.7k|            /*minpos*/ 0, /*maxpos*/ 7, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
   71|  11.7k|    if (!fastargs) {
  ------------------
  |  Branch (71:9): [True: 0, False: 11.7k]
  ------------------
   72|      0|        goto exit;
   73|      0|    }
   74|  11.7k|    if (!noptargs) {
  ------------------
  |  Branch (74:9): [True: 0, False: 11.7k]
  ------------------
   75|      0|        goto skip_optional_pos;
   76|      0|    }
   77|  11.7k|    if (fastargs[0]) {
  ------------------
  |  Branch (77:9): [True: 4, False: 11.7k]
  ------------------
   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|  11.7k|    if (fastargs[1]) {
  ------------------
  |  Branch (83:9): [True: 11.7k, False: 2]
  ------------------
   84|  11.7k|        seconds = fastargs[1];
   85|  11.7k|        if (!--noptargs) {
  ------------------
  |  Branch (85:13): [True: 11.7k, False: 0]
  ------------------
   86|  11.7k|            goto skip_optional_pos;
   87|  11.7k|        }
   88|  11.7k|    }
   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|  11.7k|skip_optional_pos:
  115|  11.7k|    return_value = delta_new_impl(type, days, seconds, microseconds, milliseconds, minutes, hours, weeks);
  116|       |
  117|  11.7k|exit:
  118|  11.7k|    return return_value;
  119|  11.7k|}
_datetimemodule.c:datetime_date_strftime:
  431|     96|{
  432|     96|    PyObject *return_value = NULL;
  433|     96|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  434|       |
  435|     96|    #define NUM_KEYWORDS 1
  436|     96|    static struct {
  437|     96|        PyGC_Head _this_is_not_used;
  438|     96|        PyObject_VAR_HEAD
  439|     96|        Py_hash_t ob_hash;
  440|     96|        PyObject *ob_item[NUM_KEYWORDS];
  441|     96|    } _kwtuple = {
  442|     96|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|     96|    {                                     \
  |  |   98|     96|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|     96|    {                               \
  |  |  |  |   91|     96|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|     96|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|     96|#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|     96|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|     96|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|     96|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|     96|        (type)                      \
  |  |  |  |   93|     96|    },
  |  |  ------------------
  |  |   99|     96|        (size)                            \
  |  |  100|     96|    },
  ------------------
  443|     96|        .ob_hash = -1,
  444|     96|        .ob_item = { &_Py_ID(format), },
  ------------------
  |  |  915|     96|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     96|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     96|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  445|     96|    };
  446|     96|    #undef NUM_KEYWORDS
  447|     96|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  448|       |
  449|       |    #else  // !Py_BUILD_CORE
  450|       |    #  define KWTUPLE NULL
  451|       |    #endif  // !Py_BUILD_CORE
  452|       |
  453|     96|    static const char * const _keywords[] = {"format", NULL};
  454|     96|    static _PyArg_Parser _parser = {
  455|     96|        .keywords = _keywords,
  456|     96|        .fname = "strftime",
  457|     96|        .kwtuple = KWTUPLE,
  ------------------
  |  |  447|     96|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  458|     96|    };
  459|     96|    #undef KWTUPLE
  460|     96|    PyObject *argsbuf[1];
  461|     96|    PyObject *format;
  462|       |
  463|     96|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|     96|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 96, False: 0]
  |  |  ------------------
  |  |   89|     96|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 96, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 96]
  |  |  |  Branch (89:43): [True: 96, False: 0]
  |  |  |  Branch (89:67): [True: 96, False: 0]
  |  |  ------------------
  |  |   90|     96|      (args) : \
  |  |   91|     96|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  464|     96|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  465|     96|    if (!args) {
  ------------------
  |  Branch (465:9): [True: 0, False: 96]
  ------------------
  466|      0|        goto exit;
  467|      0|    }
  468|     96|    if (!PyUnicode_Check(args[0])) {
  ------------------
  |  |  103|     96|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     96|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (468:9): [True: 0, False: 96]
  ------------------
  469|      0|        _PyArg_BadArgument("strftime", "argument 'format'", "str", args[0]);
  470|      0|        goto exit;
  471|      0|    }
  472|     96|    format = args[0];
  473|     96|    return_value = datetime_date_strftime_impl(self, format);
  474|       |
  475|     96|exit:
  476|     96|    return return_value;
  477|     96|}
_datetimemodule.c:datetime_date:
  132|     40|{
  133|     40|    PyObject *return_value = NULL;
  134|     40|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  135|       |
  136|     40|    #define NUM_KEYWORDS 3
  137|     40|    static struct {
  138|     40|        PyGC_Head _this_is_not_used;
  139|     40|        PyObject_VAR_HEAD
  140|     40|        Py_hash_t ob_hash;
  141|     40|        PyObject *ob_item[NUM_KEYWORDS];
  142|     40|    } _kwtuple = {
  143|     40|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|     40|    {                                     \
  |  |   98|     40|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|     40|    {                               \
  |  |  |  |   91|     40|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|     40|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|     40|#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|     40|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|     40|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|     40|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|     40|        (type)                      \
  |  |  |  |   93|     40|    },
  |  |  ------------------
  |  |   99|     40|        (size)                            \
  |  |  100|     40|    },
  ------------------
  144|     40|        .ob_hash = -1,
  145|     40|        .ob_item = { &_Py_ID(year), &_Py_ID(month), &_Py_ID(day), },
  ------------------
  |  |  915|     40|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     40|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     40|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(year), &_Py_ID(month), &_Py_ID(day), },
  ------------------
  |  |  915|     40|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     40|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     40|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(year), &_Py_ID(month), &_Py_ID(day), },
  ------------------
  |  |  915|     40|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     40|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     40|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  146|     40|    };
  147|     40|    #undef NUM_KEYWORDS
  148|     40|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  149|       |
  150|       |    #else  // !Py_BUILD_CORE
  151|       |    #  define KWTUPLE NULL
  152|       |    #endif  // !Py_BUILD_CORE
  153|       |
  154|     40|    static const char * const _keywords[] = {"year", "month", "day", NULL};
  155|     40|    static _PyArg_Parser _parser = {
  156|     40|        .keywords = _keywords,
  157|     40|        .fname = "date",
  158|     40|        .kwtuple = KWTUPLE,
  ------------------
  |  |  148|     40|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  159|     40|    };
  160|     40|    #undef KWTUPLE
  161|     40|    PyObject *argsbuf[3];
  162|     40|    PyObject * const *fastargs;
  163|     40|    Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|     40|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  164|     40|    int year;
  165|     40|    int month;
  166|     40|    int day;
  167|       |
  168|     40|    fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser,
  ------------------
  |  |   88|     40|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 40, Folded]
  |  |  |  Branch (88:23): [True: 40, False: 0]
  |  |  |  Branch (88:43): [True: 0, Folded]
  |  |  ------------------
  |  |   89|     40|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 40, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 40]
  |  |  |  Branch (89:43): [True: 40, False: 0]
  |  |  |  Branch (89:67): [True: 40, False: 0]
  |  |  ------------------
  |  |   90|     40|      (args) : \
  |  |   91|     40|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  169|     40|            /*minpos*/ 3, /*maxpos*/ 3, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  170|     40|    if (!fastargs) {
  ------------------
  |  Branch (170:9): [True: 0, False: 40]
  ------------------
  171|      0|        goto exit;
  172|      0|    }
  173|     40|    year = PyLong_AsInt(fastargs[0]);
  174|     40|    if (year == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (174:9): [True: 0, False: 40]
  |  Branch (174:23): [True: 0, False: 0]
  ------------------
  175|      0|        goto exit;
  176|      0|    }
  177|     40|    month = PyLong_AsInt(fastargs[1]);
  178|     40|    if (month == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (178:9): [True: 0, False: 40]
  |  Branch (178:24): [True: 0, False: 0]
  ------------------
  179|      0|        goto exit;
  180|      0|    }
  181|     40|    day = PyLong_AsInt(fastargs[2]);
  182|     40|    if (day == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (182:9): [True: 0, False: 40]
  |  Branch (182:22): [True: 0, False: 0]
  ------------------
  183|      0|        goto exit;
  184|      0|    }
  185|     40|    return_value = datetime_date_impl(type, year, month, day);
  186|       |
  187|     40|exit:
  188|     40|    return return_value;
  189|     40|}
_datetimemodule.c:datetime_datetime:
 1282|      4|{
 1283|      4|    PyObject *return_value = NULL;
 1284|      4|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 1285|       |
 1286|      4|    #define NUM_KEYWORDS 9
 1287|      4|    static struct {
 1288|      4|        PyGC_Head _this_is_not_used;
 1289|      4|        PyObject_VAR_HEAD
 1290|      4|        Py_hash_t ob_hash;
 1291|      4|        PyObject *ob_item[NUM_KEYWORDS];
 1292|      4|    } _kwtuple = {
 1293|      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|    },
  ------------------
 1294|      4|        .ob_hash = -1,
 1295|      4|        .ob_item = { &_Py_ID(year), &_Py_ID(month), &_Py_ID(day), &_Py_ID(hour), &_Py_ID(minute), &_Py_ID(second), &_Py_ID(microsecond), &_Py_ID(tzinfo), &_Py_ID(fold), },
  ------------------
  |  |  915|      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(year), &_Py_ID(month), &_Py_ID(day), &_Py_ID(hour), &_Py_ID(minute), &_Py_ID(second), &_Py_ID(microsecond), &_Py_ID(tzinfo), &_Py_ID(fold), },
  ------------------
  |  |  915|      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(year), &_Py_ID(month), &_Py_ID(day), &_Py_ID(hour), &_Py_ID(minute), &_Py_ID(second), &_Py_ID(microsecond), &_Py_ID(tzinfo), &_Py_ID(fold), },
  ------------------
  |  |  915|      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(year), &_Py_ID(month), &_Py_ID(day), &_Py_ID(hour), &_Py_ID(minute), &_Py_ID(second), &_Py_ID(microsecond), &_Py_ID(tzinfo), &_Py_ID(fold), },
  ------------------
  |  |  915|      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(year), &_Py_ID(month), &_Py_ID(day), &_Py_ID(hour), &_Py_ID(minute), &_Py_ID(second), &_Py_ID(microsecond), &_Py_ID(tzinfo), &_Py_ID(fold), },
  ------------------
  |  |  915|      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(year), &_Py_ID(month), &_Py_ID(day), &_Py_ID(hour), &_Py_ID(minute), &_Py_ID(second), &_Py_ID(microsecond), &_Py_ID(tzinfo), &_Py_ID(fold), },
  ------------------
  |  |  915|      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(year), &_Py_ID(month), &_Py_ID(day), &_Py_ID(hour), &_Py_ID(minute), &_Py_ID(second), &_Py_ID(microsecond), &_Py_ID(tzinfo), &_Py_ID(fold), },
  ------------------
  |  |  915|      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(year), &_Py_ID(month), &_Py_ID(day), &_Py_ID(hour), &_Py_ID(minute), &_Py_ID(second), &_Py_ID(microsecond), &_Py_ID(tzinfo), &_Py_ID(fold), },
  ------------------
  |  |  915|      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(year), &_Py_ID(month), &_Py_ID(day), &_Py_ID(hour), &_Py_ID(minute), &_Py_ID(second), &_Py_ID(microsecond), &_Py_ID(tzinfo), &_Py_ID(fold), },
  ------------------
  |  |  915|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1296|      4|    };
 1297|      4|    #undef NUM_KEYWORDS
 1298|      4|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 1299|       |
 1300|       |    #else  // !Py_BUILD_CORE
 1301|       |    #  define KWTUPLE NULL
 1302|       |    #endif  // !Py_BUILD_CORE
 1303|       |
 1304|      4|    static const char * const _keywords[] = {"year", "month", "day", "hour", "minute", "second", "microsecond", "tzinfo", "fold", NULL};
 1305|      4|    static _PyArg_Parser _parser = {
 1306|      4|        .keywords = _keywords,
 1307|      4|        .fname = "datetime",
 1308|      4|        .kwtuple = KWTUPLE,
  ------------------
  |  | 1298|      4|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 1309|      4|    };
 1310|      4|    #undef KWTUPLE
 1311|      4|    PyObject *argsbuf[9];
 1312|      4|    PyObject * const *fastargs;
 1313|      4|    Py_ssize_t nargs = 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1314|      4|    Py_ssize_t noptargs = nargs + (kwargs ? PyDict_GET_SIZE(kwargs) : 0) - 3;
  ------------------
  |  |   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 (1314:36): [True: 0, False: 4]
  ------------------
 1315|      4|    int year;
 1316|      4|    int month;
 1317|      4|    int day;
 1318|      4|    int hour = 0;
 1319|      4|    int minute = 0;
 1320|      4|    int second = 0;
 1321|      4|    int microsecond = 0;
 1322|      4|    PyObject *tzinfo = Py_None;
  ------------------
  |  |  616|      4|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1323|      4|    int fold = 0;
 1324|       |
 1325|      4|    fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser,
  ------------------
  |  |   88|      4|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 4, Folded]
  |  |  |  Branch (88:23): [True: 4, False: 0]
  |  |  |  Branch (88:43): [True: 0, Folded]
  |  |  ------------------
  |  |   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)))
  ------------------
 1326|      4|            /*minpos*/ 3, /*maxpos*/ 8, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 1327|      4|    if (!fastargs) {
  ------------------
  |  Branch (1327:9): [True: 0, False: 4]
  ------------------
 1328|      0|        goto exit;
 1329|      0|    }
 1330|      4|    year = PyLong_AsInt(fastargs[0]);
 1331|      4|    if (year == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1331:9): [True: 0, False: 4]
  |  Branch (1331:23): [True: 0, False: 0]
  ------------------
 1332|      0|        goto exit;
 1333|      0|    }
 1334|      4|    month = PyLong_AsInt(fastargs[1]);
 1335|      4|    if (month == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1335:9): [True: 0, False: 4]
  |  Branch (1335:24): [True: 0, False: 0]
  ------------------
 1336|      0|        goto exit;
 1337|      0|    }
 1338|      4|    day = PyLong_AsInt(fastargs[2]);
 1339|      4|    if (day == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1339:9): [True: 0, False: 4]
  |  Branch (1339:22): [True: 0, False: 0]
  ------------------
 1340|      0|        goto exit;
 1341|      0|    }
 1342|      4|    if (!noptargs) {
  ------------------
  |  Branch (1342:9): [True: 2, False: 2]
  ------------------
 1343|      2|        goto skip_optional_pos;
 1344|      2|    }
 1345|      2|    if (fastargs[3]) {
  ------------------
  |  Branch (1345:9): [True: 2, False: 0]
  ------------------
 1346|      2|        hour = PyLong_AsInt(fastargs[3]);
 1347|      2|        if (hour == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1347:13): [True: 0, False: 2]
  |  Branch (1347:27): [True: 0, False: 0]
  ------------------
 1348|      0|            goto exit;
 1349|      0|        }
 1350|      2|        if (!--noptargs) {
  ------------------
  |  Branch (1350:13): [True: 0, False: 2]
  ------------------
 1351|      0|            goto skip_optional_pos;
 1352|      0|        }
 1353|      2|    }
 1354|      2|    if (fastargs[4]) {
  ------------------
  |  Branch (1354:9): [True: 2, False: 0]
  ------------------
 1355|      2|        minute = PyLong_AsInt(fastargs[4]);
 1356|      2|        if (minute == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1356:13): [True: 0, False: 2]
  |  Branch (1356:29): [True: 0, False: 0]
  ------------------
 1357|      0|            goto exit;
 1358|      0|        }
 1359|      2|        if (!--noptargs) {
  ------------------
  |  Branch (1359:13): [True: 0, False: 2]
  ------------------
 1360|      0|            goto skip_optional_pos;
 1361|      0|        }
 1362|      2|    }
 1363|      2|    if (fastargs[5]) {
  ------------------
  |  Branch (1363:9): [True: 2, False: 0]
  ------------------
 1364|      2|        second = PyLong_AsInt(fastargs[5]);
 1365|      2|        if (second == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1365:13): [True: 0, False: 2]
  |  Branch (1365:29): [True: 0, False: 0]
  ------------------
 1366|      0|            goto exit;
 1367|      0|        }
 1368|      2|        if (!--noptargs) {
  ------------------
  |  Branch (1368:13): [True: 2, False: 0]
  ------------------
 1369|      2|            goto skip_optional_pos;
 1370|      2|        }
 1371|      2|    }
 1372|      0|    if (fastargs[6]) {
  ------------------
  |  Branch (1372:9): [True: 0, False: 0]
  ------------------
 1373|      0|        microsecond = PyLong_AsInt(fastargs[6]);
 1374|      0|        if (microsecond == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1374:13): [True: 0, False: 0]
  |  Branch (1374:34): [True: 0, False: 0]
  ------------------
 1375|      0|            goto exit;
 1376|      0|        }
 1377|      0|        if (!--noptargs) {
  ------------------
  |  Branch (1377:13): [True: 0, False: 0]
  ------------------
 1378|      0|            goto skip_optional_pos;
 1379|      0|        }
 1380|      0|    }
 1381|      0|    if (fastargs[7]) {
  ------------------
  |  Branch (1381:9): [True: 0, False: 0]
  ------------------
 1382|      0|        tzinfo = fastargs[7];
 1383|      0|        if (!--noptargs) {
  ------------------
  |  Branch (1383:13): [True: 0, False: 0]
  ------------------
 1384|      0|            goto skip_optional_pos;
 1385|      0|        }
 1386|      0|    }
 1387|      4|skip_optional_pos:
 1388|      4|    if (!noptargs) {
  ------------------
  |  Branch (1388:9): [True: 4, False: 0]
  ------------------
 1389|      4|        goto skip_optional_kwonly;
 1390|      4|    }
 1391|      0|    fold = PyLong_AsInt(fastargs[8]);
 1392|      0|    if (fold == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1392:9): [True: 0, False: 0]
  |  Branch (1392:23): [True: 0, False: 0]
  ------------------
 1393|      0|        goto exit;
 1394|      0|    }
 1395|      4|skip_optional_kwonly:
 1396|      4|    return_value = datetime_datetime_impl(type, year, month, day, hour, minute, second, microsecond, tzinfo, fold);
 1397|       |
 1398|      4|exit:
 1399|      4|    return return_value;
 1400|      4|}

_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), },
  ------------------
  |  |  915|    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), },
  ------------------
  |  |  915|    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), },
  ------------------
  |  |  915|    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), },
  ------------------
  |  |  915|    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), },
  ------------------
  |  |  915|    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), },
  ------------------
  |  |  915|    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), },
  ------------------
  |  |  915|    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), },
  ------------------
  |  |  915|      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), },
  ------------------
  |  |  915|      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|    324|{
  221|    324|    return _thread_lock___enter___impl((lockobject *)self);
  222|    324|}
_threadmodule.c:_thread_lock___exit__:
  239|    324|{
  240|    324|    PyObject *return_value = NULL;
  241|    324|    PyObject *exc_type;
  242|    324|    PyObject *exc_value;
  243|    324|    PyObject *exc_tb;
  244|       |
  245|    324|    if (!_PyArg_CheckPositional("__exit__", nargs, 3, 3)) {
  ------------------
  |  |   31|    324|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 324, False: 0]
  |  |  |  Branch (31:27): [True: 324, False: 0]
  |  |  ------------------
  |  |   32|    324|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  246|      0|        goto exit;
  247|      0|    }
  248|    324|    exc_type = args[0];
  249|    324|    exc_value = args[1];
  250|    324|    exc_tb = args[2];
  251|    324|    return_value = _thread_lock___exit___impl((lockobject *)self, exc_type, exc_value, exc_tb);
  252|       |
  253|    324|exit:
  254|    324|    return return_value;
  255|    324|}
_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|  83.6k|{
  439|  83.6k|    return _thread_RLock___enter___impl((rlockobject *)self);
  440|  83.6k|}
_threadmodule.c:_thread_RLock___exit__:
  484|  83.6k|{
  485|  83.6k|    PyObject *return_value = NULL;
  486|  83.6k|    PyObject *exc_type;
  487|  83.6k|    PyObject *exc_value;
  488|  83.6k|    PyObject *exc_tb;
  489|       |
  490|  83.6k|    if (!_PyArg_CheckPositional("__exit__", nargs, 3, 3)) {
  ------------------
  |  |   31|  83.6k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 83.6k, False: 0]
  |  |  |  Branch (31:27): [True: 83.6k, False: 0]
  |  |  ------------------
  |  |   32|  83.6k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  491|      0|        goto exit;
  492|      0|    }
  493|  83.6k|    exc_type = args[0];
  494|  83.6k|    exc_value = args[1];
  495|  83.6k|    exc_tb = args[2];
  496|  83.6k|    return_value = _thread_RLock___exit___impl((rlockobject *)self, exc_type, exc_value, exc_tb);
  497|       |
  498|  83.6k|exit:
  499|  83.6k|    return return_value;
  500|  83.6k|}
_threadmodule.c:rlock_new:
  601|  11.1k|{
  602|  11.1k|    PyObject *return_value = NULL;
  603|  11.1k|    PyTypeObject *base_tp = clinic_state()->rlock_type;
  ------------------
  |  |   91|  11.1k|#define clinic_state() get_thread_state_by_cls(type)
  ------------------
  604|       |
  605|  11.1k|    if ((type == base_tp || type->tp_init == base_tp->tp_init) &&
  ------------------
  |  Branch (605:10): [True: 11.1k, False: 0]
  |  Branch (605:29): [True: 0, False: 0]
  ------------------
  606|  11.1k|        !_PyArg_NoPositional("RLock", args)) {
  ------------------
  |  |   20|  11.1k|    ((args) == NULL || _PyArg_NoPositional((funcname), (args)))
  |  |  ------------------
  |  |  |  Branch (20:6): [True: 0, False: 11.1k]
  |  |  |  Branch (20:24): [True: 11.1k, False: 0]
  |  |  ------------------
  ------------------
  607|      0|        goto exit;
  608|      0|    }
  609|  11.1k|    if ((type == base_tp || type->tp_init == base_tp->tp_init) &&
  ------------------
  |  Branch (609:10): [True: 11.1k, False: 0]
  |  Branch (609:29): [True: 0, False: 0]
  ------------------
  610|  11.1k|        !_PyArg_NoKeywords("RLock", kwargs)) {
  ------------------
  |  |   25|  11.1k|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (25:6): [True: 11.1k, False: 0]
  |  |  |  Branch (25:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  611|      0|        goto exit;
  612|      0|    }
  613|  11.1k|    return_value = rlock_new_impl(type);
  614|       |
  615|  11.1k|exit:
  616|  11.1k|    return return_value;
  617|  11.1k|}

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

itertoolsmodule.c:itertools_chain_from_iterable:
  503|     70|{
  504|     70|    PyObject *return_value = NULL;
  505|       |
  506|     70|    return_value = itertools_chain_from_iterable_impl((PyTypeObject *)type, arg);
  507|       |
  508|     70|    return return_value;
  509|     70|}
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), },
  ------------------
  |  |  915|      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), },
  ------------------
  |  |  915|      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'), },
  ------------------
  |  |  915|     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'), },
  ------------------
  |  |  919|     48|    ((CH) < 128 \
  |  |  ------------------
  |  |  |  Branch (919:6): [True: 0, Folded]
  |  |  ------------------
  |  |  920|     48|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  921|     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|  40.1k|{
   47|  40.1k|    PyObject *return_value = NULL;
   48|  40.1k|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
   49|       |
   50|  40.1k|    #define NUM_KEYWORDS 3
   51|  40.1k|    static struct {
   52|  40.1k|        PyGC_Head _this_is_not_used;
   53|  40.1k|        PyObject_VAR_HEAD
   54|  40.1k|        Py_hash_t ob_hash;
   55|  40.1k|        PyObject *ob_item[NUM_KEYWORDS];
   56|  40.1k|    } _kwtuple = {
   57|  40.1k|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|  40.1k|    {                                     \
  |  |   98|  40.1k|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|  40.1k|    {                               \
  |  |  |  |   91|  40.1k|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|  40.1k|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  40.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|  40.1k|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|  40.1k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|  40.1k|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|  40.1k|        (type)                      \
  |  |  |  |   93|  40.1k|    },
  |  |  ------------------
  |  |   99|  40.1k|        (size)                            \
  |  |  100|  40.1k|    },
  ------------------
   58|  40.1k|        .ob_hash = -1,
   59|  40.1k|        .ob_item = { &_Py_ID(path), &_Py_ID(dir_fd), &_Py_ID(follow_symlinks), },
  ------------------
  |  |  915|  40.1k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  40.1k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  40.1k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(path), &_Py_ID(dir_fd), &_Py_ID(follow_symlinks), },
  ------------------
  |  |  915|  40.1k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  40.1k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  40.1k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(path), &_Py_ID(dir_fd), &_Py_ID(follow_symlinks), },
  ------------------
  |  |  915|  40.1k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  40.1k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  40.1k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   60|  40.1k|    };
   61|  40.1k|    #undef NUM_KEYWORDS
   62|  40.1k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
   63|       |
   64|       |    #else  // !Py_BUILD_CORE
   65|       |    #  define KWTUPLE NULL
   66|       |    #endif  // !Py_BUILD_CORE
   67|       |
   68|  40.1k|    static const char * const _keywords[] = {"path", "dir_fd", "follow_symlinks", NULL};
   69|  40.1k|    static _PyArg_Parser _parser = {
   70|  40.1k|        .keywords = _keywords,
   71|  40.1k|        .fname = "stat",
   72|  40.1k|        .kwtuple = KWTUPLE,
  ------------------
  |  |   62|  40.1k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
   73|  40.1k|    };
   74|  40.1k|    #undef KWTUPLE
   75|  40.1k|    PyObject *argsbuf[3];
   76|  40.1k|    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: 40.1k]
  ------------------
   77|  40.1k|    path_t path = PATH_T_INITIALIZE_P("stat", "path", 0, 0, 0, 1);
  ------------------
  |  | 1365|  40.1k|    PATH_T_INITIALIZE(function_name, argument_name, nullable, nonstrict, 0, \
  |  |  ------------------
  |  |  |  | 1355|  40.1k|    {function_name, argument_name, nullable, nonstrict, make_wide, \
  |  |  |  | 1356|  40.1k|     suppress_value_error, allow_fd, NULL, NULL, -1, false, 0, 0, NULL, NULL}
  |  |  ------------------
  |  | 1366|  40.1k|                      suppress_value_error, allow_fd)
  ------------------
   78|  40.1k|    int dir_fd = DEFAULT_DIR_FD;
  ------------------
  |  | 1138|  40.1k|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
   79|  40.1k|    int follow_symlinks = 1;
   80|       |
   81|  40.1k|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|  40.1k|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 40.1k, False: 0]
  |  |  ------------------
  |  |   89|  40.1k|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 40.1k, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 40.1k]
  |  |  |  Branch (89:43): [True: 40.1k, False: 0]
  |  |  |  Branch (89:67): [True: 40.1k, False: 0]
  |  |  ------------------
  |  |   90|  40.1k|      (args) : \
  |  |   91|  40.1k|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
   82|  40.1k|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
   83|  40.1k|    if (!args) {
  ------------------
  |  Branch (83:9): [True: 0, False: 40.1k]
  ------------------
   84|      0|        goto exit;
   85|      0|    }
   86|  40.1k|    if (!path_converter(args[0], &path)) {
  ------------------
  |  Branch (86:9): [True: 0, False: 40.1k]
  ------------------
   87|      0|        goto exit;
   88|      0|    }
   89|  40.1k|    if (!noptargs) {
  ------------------
  |  Branch (89:9): [True: 40.1k, False: 0]
  ------------------
   90|  40.1k|        goto skip_optional_kwonly;
   91|  40.1k|    }
   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|  40.1k|skip_optional_kwonly:
  105|  40.1k|    return_value = os_stat_impl(module, &path, dir_fd, follow_symlinks);
  106|       |
  107|  40.1k|exit:
  108|       |    /* Cleanup for path */
  109|  40.1k|    path_cleanup(&path);
  110|       |
  111|  40.1k|    return return_value;
  112|  40.1k|}
posixmodule.c:os_getcwd:
 1612|      2|{
 1613|      2|    return os_getcwd_impl(module);
 1614|      2|}
posixmodule.c:os_listdir:
 1772|     92|{
 1773|     92|    PyObject *return_value = NULL;
 1774|     92|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 1775|       |
 1776|     92|    #define NUM_KEYWORDS 1
 1777|     92|    static struct {
 1778|     92|        PyGC_Head _this_is_not_used;
 1779|     92|        PyObject_VAR_HEAD
 1780|     92|        Py_hash_t ob_hash;
 1781|     92|        PyObject *ob_item[NUM_KEYWORDS];
 1782|     92|    } _kwtuple = {
 1783|     92|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|     92|    {                                     \
  |  |   98|     92|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|     92|    {                               \
  |  |  |  |   91|     92|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|     92|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|     92|#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|     92|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|     92|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|     92|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|     92|        (type)                      \
  |  |  |  |   93|     92|    },
  |  |  ------------------
  |  |   99|     92|        (size)                            \
  |  |  100|     92|    },
  ------------------
 1784|     92|        .ob_hash = -1,
 1785|     92|        .ob_item = { &_Py_ID(path), },
  ------------------
  |  |  915|     92|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     92|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     92|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1786|     92|    };
 1787|     92|    #undef NUM_KEYWORDS
 1788|     92|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 1789|       |
 1790|       |    #else  // !Py_BUILD_CORE
 1791|       |    #  define KWTUPLE NULL
 1792|       |    #endif  // !Py_BUILD_CORE
 1793|       |
 1794|     92|    static const char * const _keywords[] = {"path", NULL};
 1795|     92|    static _PyArg_Parser _parser = {
 1796|     92|        .keywords = _keywords,
 1797|     92|        .fname = "listdir",
 1798|     92|        .kwtuple = KWTUPLE,
  ------------------
  |  | 1788|     92|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 1799|     92|    };
 1800|     92|    #undef KWTUPLE
 1801|     92|    PyObject *argsbuf[1];
 1802|     92|    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 (1802:36): [True: 0, False: 92]
  ------------------
 1803|     92|    path_t path = PATH_T_INITIALIZE_P("listdir", "path", 1, 0, 0, PATH_HAVE_FDOPENDIR);
  ------------------
  |  | 1365|     92|    PATH_T_INITIALIZE(function_name, argument_name, nullable, nonstrict, 0, \
  |  |  ------------------
  |  |  |  | 1355|     92|    {function_name, argument_name, nullable, nonstrict, make_wide, \
  |  |  |  | 1356|     92|     suppress_value_error, allow_fd, NULL, NULL, -1, false, 0, 0, NULL, NULL}
  |  |  ------------------
  |  | 1366|     92|                      suppress_value_error, allow_fd)
  ------------------
 1804|       |
 1805|     92|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|     92|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 92, False: 0]
  |  |  ------------------
  |  |   89|     92|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 92, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 92]
  |  |  |  Branch (89:43): [True: 92, False: 0]
  |  |  |  Branch (89:67): [True: 92, False: 0]
  |  |  ------------------
  |  |   90|     92|      (args) : \
  |  |   91|     92|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 1806|     92|            /*minpos*/ 0, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 1807|     92|    if (!args) {
  ------------------
  |  Branch (1807:9): [True: 0, False: 92]
  ------------------
 1808|      0|        goto exit;
 1809|      0|    }
 1810|     92|    if (!noptargs) {
  ------------------
  |  Branch (1810:9): [True: 0, False: 92]
  ------------------
 1811|      0|        goto skip_optional_pos;
 1812|      0|    }
 1813|     92|    if (!path_converter(args[0], &path)) {
  ------------------
  |  Branch (1813:9): [True: 0, False: 92]
  ------------------
 1814|      0|        goto exit;
 1815|      0|    }
 1816|     92|skip_optional_pos:
 1817|     92|    return_value = os_listdir_impl(module, &path);
 1818|       |
 1819|     92|exit:
 1820|       |    /* Cleanup for path */
 1821|     92|    path_cleanup(&path);
 1822|       |
 1823|     92|    return return_value;
 1824|     92|}
posixmodule.c:os_lstat:
  131|    100|{
  132|    100|    PyObject *return_value = NULL;
  133|    100|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  134|       |
  135|    100|    #define NUM_KEYWORDS 2
  136|    100|    static struct {
  137|    100|        PyGC_Head _this_is_not_used;
  138|    100|        PyObject_VAR_HEAD
  139|    100|        Py_hash_t ob_hash;
  140|    100|        PyObject *ob_item[NUM_KEYWORDS];
  141|    100|    } _kwtuple = {
  142|    100|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|    100|    {                                     \
  |  |   98|    100|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|    100|    {                               \
  |  |  |  |   91|    100|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|    100|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    100|#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|    100|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|    100|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|    100|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|    100|        (type)                      \
  |  |  |  |   93|    100|    },
  |  |  ------------------
  |  |   99|    100|        (size)                            \
  |  |  100|    100|    },
  ------------------
  143|    100|        .ob_hash = -1,
  144|    100|        .ob_item = { &_Py_ID(path), &_Py_ID(dir_fd), },
  ------------------
  |  |  915|    100|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    100|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    100|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(path), &_Py_ID(dir_fd), },
  ------------------
  |  |  915|    100|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    100|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    100|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  145|    100|    };
  146|    100|    #undef NUM_KEYWORDS
  147|    100|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  148|       |
  149|       |    #else  // !Py_BUILD_CORE
  150|       |    #  define KWTUPLE NULL
  151|       |    #endif  // !Py_BUILD_CORE
  152|       |
  153|    100|    static const char * const _keywords[] = {"path", "dir_fd", NULL};
  154|    100|    static _PyArg_Parser _parser = {
  155|    100|        .keywords = _keywords,
  156|    100|        .fname = "lstat",
  157|    100|        .kwtuple = KWTUPLE,
  ------------------
  |  |  147|    100|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  158|    100|    };
  159|    100|    #undef KWTUPLE
  160|    100|    PyObject *argsbuf[2];
  161|    100|    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: 100]
  ------------------
  162|    100|    path_t path = PATH_T_INITIALIZE_P("lstat", "path", 0, 0, 0, 0);
  ------------------
  |  | 1365|    100|    PATH_T_INITIALIZE(function_name, argument_name, nullable, nonstrict, 0, \
  |  |  ------------------
  |  |  |  | 1355|    100|    {function_name, argument_name, nullable, nonstrict, make_wide, \
  |  |  |  | 1356|    100|     suppress_value_error, allow_fd, NULL, NULL, -1, false, 0, 0, NULL, NULL}
  |  |  ------------------
  |  | 1366|    100|                      suppress_value_error, allow_fd)
  ------------------
  163|    100|    int dir_fd = DEFAULT_DIR_FD;
  ------------------
  |  | 1138|    100|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
  164|       |
  165|    100|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|    100|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 100, False: 0]
  |  |  ------------------
  |  |   89|    100|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 100, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 100]
  |  |  |  Branch (89:43): [True: 100, False: 0]
  |  |  |  Branch (89:67): [True: 100, False: 0]
  |  |  ------------------
  |  |   90|    100|      (args) : \
  |  |   91|    100|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  166|    100|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  167|    100|    if (!args) {
  ------------------
  |  Branch (167:9): [True: 0, False: 100]
  ------------------
  168|      0|        goto exit;
  169|      0|    }
  170|    100|    if (!path_converter(args[0], &path)) {
  ------------------
  |  Branch (170:9): [True: 0, False: 100]
  ------------------
  171|      0|        goto exit;
  172|      0|    }
  173|    100|    if (!noptargs) {
  ------------------
  |  Branch (173:9): [True: 100, False: 0]
  ------------------
  174|    100|        goto skip_optional_kwonly;
  175|    100|    }
  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|    100|skip_optional_kwonly:
  180|    100|    return_value = os_lstat_impl(module, &path, dir_fd);
  181|       |
  182|    100|exit:
  183|       |    /* Cleanup for path */
  184|    100|    path_cleanup(&path);
  185|       |
  186|    100|    return return_value;
  187|    100|}
posixmodule.c:os_mkdir:
 2728|      7|{
 2729|      7|    PyObject *return_value = NULL;
 2730|      7|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 2731|       |
 2732|      7|    #define NUM_KEYWORDS 3
 2733|      7|    static struct {
 2734|      7|        PyGC_Head _this_is_not_used;
 2735|      7|        PyObject_VAR_HEAD
 2736|      7|        Py_hash_t ob_hash;
 2737|      7|        PyObject *ob_item[NUM_KEYWORDS];
 2738|      7|    } _kwtuple = {
 2739|      7|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|      7|    {                                     \
  |  |   98|      7|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|      7|    {                               \
  |  |  |  |   91|      7|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|      7|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|      7|#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|      7|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|      7|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|      7|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|      7|        (type)                      \
  |  |  |  |   93|      7|    },
  |  |  ------------------
  |  |   99|      7|        (size)                            \
  |  |  100|      7|    },
  ------------------
 2740|      7|        .ob_hash = -1,
 2741|      7|        .ob_item = { &_Py_ID(path), &_Py_ID(mode), &_Py_ID(dir_fd), },
  ------------------
  |  |  915|      7|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      7|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      7|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(path), &_Py_ID(mode), &_Py_ID(dir_fd), },
  ------------------
  |  |  915|      7|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      7|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      7|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(path), &_Py_ID(mode), &_Py_ID(dir_fd), },
  ------------------
  |  |  915|      7|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      7|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      7|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2742|      7|    };
 2743|      7|    #undef NUM_KEYWORDS
 2744|      7|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 2745|       |
 2746|       |    #else  // !Py_BUILD_CORE
 2747|       |    #  define KWTUPLE NULL
 2748|       |    #endif  // !Py_BUILD_CORE
 2749|       |
 2750|      7|    static const char * const _keywords[] = {"path", "mode", "dir_fd", NULL};
 2751|      7|    static _PyArg_Parser _parser = {
 2752|      7|        .keywords = _keywords,
 2753|      7|        .fname = "mkdir",
 2754|      7|        .kwtuple = KWTUPLE,
  ------------------
  |  | 2744|      7|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 2755|      7|    };
 2756|      7|    #undef KWTUPLE
 2757|      7|    PyObject *argsbuf[3];
 2758|      7|    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 (2758:36): [True: 0, False: 7]
  ------------------
 2759|      7|    path_t path = PATH_T_INITIALIZE_P("mkdir", "path", 0, 0, 0, 0);
  ------------------
  |  | 1365|      7|    PATH_T_INITIALIZE(function_name, argument_name, nullable, nonstrict, 0, \
  |  |  ------------------
  |  |  |  | 1355|      7|    {function_name, argument_name, nullable, nonstrict, make_wide, \
  |  |  |  | 1356|      7|     suppress_value_error, allow_fd, NULL, NULL, -1, false, 0, 0, NULL, NULL}
  |  |  ------------------
  |  | 1366|      7|                      suppress_value_error, allow_fd)
  ------------------
 2760|      7|    int mode = 511;
 2761|      7|    int dir_fd = DEFAULT_DIR_FD;
  ------------------
  |  | 1138|      7|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
 2762|       |
 2763|      7|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|      7|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 7, False: 0]
  |  |  ------------------
  |  |   89|      7|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 7, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 7]
  |  |  |  Branch (89:43): [True: 7, False: 0]
  |  |  |  Branch (89:67): [True: 7, False: 0]
  |  |  ------------------
  |  |   90|      7|      (args) : \
  |  |   91|      7|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 2764|      7|            /*minpos*/ 1, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 2765|      7|    if (!args) {
  ------------------
  |  Branch (2765:9): [True: 0, False: 7]
  ------------------
 2766|      0|        goto exit;
 2767|      0|    }
 2768|      7|    if (!path_converter(args[0], &path)) {
  ------------------
  |  Branch (2768:9): [True: 0, False: 7]
  ------------------
 2769|      0|        goto exit;
 2770|      0|    }
 2771|      7|    if (!noptargs) {
  ------------------
  |  Branch (2771:9): [True: 0, False: 7]
  ------------------
 2772|      0|        goto skip_optional_pos;
 2773|      0|    }
 2774|      7|    if (args[1]) {
  ------------------
  |  Branch (2774:9): [True: 7, False: 0]
  ------------------
 2775|      7|        mode = PyLong_AsInt(args[1]);
 2776|      7|        if (mode == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (2776:13): [True: 0, False: 7]
  |  Branch (2776:27): [True: 0, False: 0]
  ------------------
 2777|      0|            goto exit;
 2778|      0|        }
 2779|      7|        if (!--noptargs) {
  ------------------
  |  Branch (2779:13): [True: 7, False: 0]
  ------------------
 2780|      7|            goto skip_optional_pos;
 2781|      7|        }
 2782|      7|    }
 2783|      7|skip_optional_pos:
 2784|      7|    if (!noptargs) {
  ------------------
  |  Branch (2784:9): [True: 7, False: 0]
  ------------------
 2785|      7|        goto skip_optional_kwonly;
 2786|      7|    }
 2787|      0|    if (!MKDIRAT_DIR_FD_CONVERTER(args[2], &dir_fd)) {
  ------------------
  |  | 3021|      0|    #define MKDIRAT_DIR_FD_CONVERTER dir_fd_converter
  ------------------
  |  Branch (2787:9): [True: 0, False: 0]
  ------------------
 2788|      0|        goto exit;
 2789|      0|    }
 2790|      7|skip_optional_kwonly:
 2791|      7|    return_value = os_mkdir_impl(module, &path, mode, dir_fd);
 2792|       |
 2793|      7|exit:
 2794|       |    /* Cleanup for path */
 2795|      7|    path_cleanup(&path);
 2796|       |
 2797|      7|    return return_value;
 2798|      7|}
posixmodule.c:os_readlink:
 6566|      2|{
 6567|      2|    PyObject *return_value = NULL;
 6568|      2|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 6569|       |
 6570|      2|    #define NUM_KEYWORDS 2
 6571|      2|    static struct {
 6572|      2|        PyGC_Head _this_is_not_used;
 6573|      2|        PyObject_VAR_HEAD
 6574|      2|        Py_hash_t ob_hash;
 6575|      2|        PyObject *ob_item[NUM_KEYWORDS];
 6576|      2|    } _kwtuple = {
 6577|      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|    },
  ------------------
 6578|      2|        .ob_hash = -1,
 6579|      2|        .ob_item = { &_Py_ID(path), &_Py_ID(dir_fd), },
  ------------------
  |  |  915|      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), },
  ------------------
  |  |  915|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6580|      2|    };
 6581|      2|    #undef NUM_KEYWORDS
 6582|      2|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 6583|       |
 6584|       |    #else  // !Py_BUILD_CORE
 6585|       |    #  define KWTUPLE NULL
 6586|       |    #endif  // !Py_BUILD_CORE
 6587|       |
 6588|      2|    static const char * const _keywords[] = {"path", "dir_fd", NULL};
 6589|      2|    static _PyArg_Parser _parser = {
 6590|      2|        .keywords = _keywords,
 6591|      2|        .fname = "readlink",
 6592|      2|        .kwtuple = KWTUPLE,
  ------------------
  |  | 6582|      2|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 6593|      2|    };
 6594|      2|    #undef KWTUPLE
 6595|      2|    PyObject *argsbuf[2];
 6596|      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 (6596:36): [True: 0, False: 2]
  ------------------
 6597|      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)
  ------------------
 6598|      2|    int dir_fd = DEFAULT_DIR_FD;
  ------------------
  |  | 1138|      2|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
 6599|       |
 6600|      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)))
  ------------------
 6601|      2|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 6602|      2|    if (!args) {
  ------------------
  |  Branch (6602:9): [True: 0, False: 2]
  ------------------
 6603|      0|        goto exit;
 6604|      0|    }
 6605|      2|    if (!path_converter(args[0], &path)) {
  ------------------
  |  Branch (6605:9): [True: 0, False: 2]
  ------------------
 6606|      0|        goto exit;
 6607|      0|    }
 6608|      2|    if (!noptargs) {
  ------------------
  |  Branch (6608:9): [True: 2, False: 0]
  ------------------
 6609|      2|        goto skip_optional_kwonly;
 6610|      2|    }
 6611|      0|    if (!READLINKAT_DIR_FD_CONVERTER(args[1], &dir_fd)) {
  ------------------
  |  | 3045|      0|    #define READLINKAT_DIR_FD_CONVERTER dir_fd_converter
  ------------------
  |  Branch (6611:9): [True: 0, False: 0]
  ------------------
 6612|      0|        goto exit;
 6613|      0|    }
 6614|      2|skip_optional_kwonly:
 6615|      2|    return_value = os_readlink_impl(module, &path, dir_fd);
 6616|       |
 6617|      2|exit:
 6618|       |    /* Cleanup for path */
 6619|      2|    path_cleanup(&path);
 6620|       |
 6621|      2|    return return_value;
 6622|      2|}
posixmodule.c:os_rename:
 2998|      3|{
 2999|      3|    PyObject *return_value = NULL;
 3000|      3|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 3001|       |
 3002|      3|    #define NUM_KEYWORDS 4
 3003|      3|    static struct {
 3004|      3|        PyGC_Head _this_is_not_used;
 3005|      3|        PyObject_VAR_HEAD
 3006|      3|        Py_hash_t ob_hash;
 3007|      3|        PyObject *ob_item[NUM_KEYWORDS];
 3008|      3|    } _kwtuple = {
 3009|      3|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|      3|    {                                     \
  |  |   98|      3|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|      3|    {                               \
  |  |  |  |   91|      3|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|      3|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|      3|#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|      3|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|      3|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|      3|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|      3|        (type)                      \
  |  |  |  |   93|      3|    },
  |  |  ------------------
  |  |   99|      3|        (size)                            \
  |  |  100|      3|    },
  ------------------
 3010|      3|        .ob_hash = -1,
 3011|      3|        .ob_item = { &_Py_ID(src), &_Py_ID(dst), &_Py_ID(src_dir_fd), &_Py_ID(dst_dir_fd), },
  ------------------
  |  |  915|      3|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      3|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      3|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(src), &_Py_ID(dst), &_Py_ID(src_dir_fd), &_Py_ID(dst_dir_fd), },
  ------------------
  |  |  915|      3|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      3|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      3|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(src), &_Py_ID(dst), &_Py_ID(src_dir_fd), &_Py_ID(dst_dir_fd), },
  ------------------
  |  |  915|      3|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      3|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      3|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(src), &_Py_ID(dst), &_Py_ID(src_dir_fd), &_Py_ID(dst_dir_fd), },
  ------------------
  |  |  915|      3|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      3|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      3|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3012|      3|    };
 3013|      3|    #undef NUM_KEYWORDS
 3014|      3|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 3015|       |
 3016|       |    #else  // !Py_BUILD_CORE
 3017|       |    #  define KWTUPLE NULL
 3018|       |    #endif  // !Py_BUILD_CORE
 3019|       |
 3020|      3|    static const char * const _keywords[] = {"src", "dst", "src_dir_fd", "dst_dir_fd", NULL};
 3021|      3|    static _PyArg_Parser _parser = {
 3022|      3|        .keywords = _keywords,
 3023|      3|        .fname = "rename",
 3024|      3|        .kwtuple = KWTUPLE,
  ------------------
  |  | 3014|      3|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 3025|      3|    };
 3026|      3|    #undef KWTUPLE
 3027|      3|    PyObject *argsbuf[4];
 3028|      3|    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 (3028:36): [True: 0, False: 3]
  ------------------
 3029|      3|    path_t src = PATH_T_INITIALIZE_P("rename", "src", 0, 0, 0, 0);
  ------------------
  |  | 1365|      3|    PATH_T_INITIALIZE(function_name, argument_name, nullable, nonstrict, 0, \
  |  |  ------------------
  |  |  |  | 1355|      3|    {function_name, argument_name, nullable, nonstrict, make_wide, \
  |  |  |  | 1356|      3|     suppress_value_error, allow_fd, NULL, NULL, -1, false, 0, 0, NULL, NULL}
  |  |  ------------------
  |  | 1366|      3|                      suppress_value_error, allow_fd)
  ------------------
 3030|      3|    path_t dst = PATH_T_INITIALIZE_P("rename", "dst", 0, 0, 0, 0);
  ------------------
  |  | 1365|      3|    PATH_T_INITIALIZE(function_name, argument_name, nullable, nonstrict, 0, \
  |  |  ------------------
  |  |  |  | 1355|      3|    {function_name, argument_name, nullable, nonstrict, make_wide, \
  |  |  |  | 1356|      3|     suppress_value_error, allow_fd, NULL, NULL, -1, false, 0, 0, NULL, NULL}
  |  |  ------------------
  |  | 1366|      3|                      suppress_value_error, allow_fd)
  ------------------
 3031|      3|    int src_dir_fd = DEFAULT_DIR_FD;
  ------------------
  |  | 1138|      3|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
 3032|      3|    int dst_dir_fd = DEFAULT_DIR_FD;
  ------------------
  |  | 1138|      3|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
 3033|       |
 3034|      3|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|      3|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 3, False: 0]
  |  |  ------------------
  |  |   89|      3|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 3, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 3]
  |  |  |  Branch (89:43): [True: 3, False: 0]
  |  |  |  Branch (89:67): [True: 3, False: 0]
  |  |  ------------------
  |  |   90|      3|      (args) : \
  |  |   91|      3|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 3035|      3|            /*minpos*/ 2, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 3036|      3|    if (!args) {
  ------------------
  |  Branch (3036:9): [True: 0, False: 3]
  ------------------
 3037|      0|        goto exit;
 3038|      0|    }
 3039|      3|    if (!path_converter(args[0], &src)) {
  ------------------
  |  Branch (3039:9): [True: 0, False: 3]
  ------------------
 3040|      0|        goto exit;
 3041|      0|    }
 3042|      3|    if (!path_converter(args[1], &dst)) {
  ------------------
  |  Branch (3042:9): [True: 0, False: 3]
  ------------------
 3043|      0|        goto exit;
 3044|      0|    }
 3045|      3|    if (!noptargs) {
  ------------------
  |  Branch (3045:9): [True: 3, False: 0]
  ------------------
 3046|      3|        goto skip_optional_kwonly;
 3047|      3|    }
 3048|      0|    if (args[2]) {
  ------------------
  |  Branch (3048:9): [True: 0, False: 0]
  ------------------
 3049|      0|        if (!dir_fd_converter(args[2], &src_dir_fd)) {
  ------------------
  |  Branch (3049:13): [True: 0, False: 0]
  ------------------
 3050|      0|            goto exit;
 3051|      0|        }
 3052|      0|        if (!--noptargs) {
  ------------------
  |  Branch (3052:13): [True: 0, False: 0]
  ------------------
 3053|      0|            goto skip_optional_kwonly;
 3054|      0|        }
 3055|      0|    }
 3056|      0|    if (!dir_fd_converter(args[3], &dst_dir_fd)) {
  ------------------
  |  Branch (3056:9): [True: 0, False: 0]
  ------------------
 3057|      0|        goto exit;
 3058|      0|    }
 3059|      3|skip_optional_kwonly:
 3060|      3|    return_value = os_rename_impl(module, &src, &dst, src_dir_fd, dst_dir_fd);
 3061|       |
 3062|      3|exit:
 3063|       |    /* Cleanup for src */
 3064|      3|    path_cleanup(&src);
 3065|       |    /* Cleanup for dst */
 3066|      3|    path_cleanup(&dst);
 3067|       |
 3068|      3|    return return_value;
 3069|      3|}
posixmodule.c:os_replace:
 3092|     45|{
 3093|     45|    PyObject *return_value = NULL;
 3094|     45|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 3095|       |
 3096|     45|    #define NUM_KEYWORDS 4
 3097|     45|    static struct {
 3098|     45|        PyGC_Head _this_is_not_used;
 3099|     45|        PyObject_VAR_HEAD
 3100|     45|        Py_hash_t ob_hash;
 3101|     45|        PyObject *ob_item[NUM_KEYWORDS];
 3102|     45|    } _kwtuple = {
 3103|     45|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|     45|    {                                     \
  |  |   98|     45|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|     45|    {                               \
  |  |  |  |   91|     45|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|     45|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|     45|#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|     45|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|     45|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|     45|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|     45|        (type)                      \
  |  |  |  |   93|     45|    },
  |  |  ------------------
  |  |   99|     45|        (size)                            \
  |  |  100|     45|    },
  ------------------
 3104|     45|        .ob_hash = -1,
 3105|     45|        .ob_item = { &_Py_ID(src), &_Py_ID(dst), &_Py_ID(src_dir_fd), &_Py_ID(dst_dir_fd), },
  ------------------
  |  |  915|     45|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     45|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     45|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(src), &_Py_ID(dst), &_Py_ID(src_dir_fd), &_Py_ID(dst_dir_fd), },
  ------------------
  |  |  915|     45|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     45|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     45|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(src), &_Py_ID(dst), &_Py_ID(src_dir_fd), &_Py_ID(dst_dir_fd), },
  ------------------
  |  |  915|     45|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     45|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     45|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(src), &_Py_ID(dst), &_Py_ID(src_dir_fd), &_Py_ID(dst_dir_fd), },
  ------------------
  |  |  915|     45|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     45|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     45|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3106|     45|    };
 3107|     45|    #undef NUM_KEYWORDS
 3108|     45|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 3109|       |
 3110|       |    #else  // !Py_BUILD_CORE
 3111|       |    #  define KWTUPLE NULL
 3112|       |    #endif  // !Py_BUILD_CORE
 3113|       |
 3114|     45|    static const char * const _keywords[] = {"src", "dst", "src_dir_fd", "dst_dir_fd", NULL};
 3115|     45|    static _PyArg_Parser _parser = {
 3116|     45|        .keywords = _keywords,
 3117|     45|        .fname = "replace",
 3118|     45|        .kwtuple = KWTUPLE,
  ------------------
  |  | 3108|     45|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 3119|     45|    };
 3120|     45|    #undef KWTUPLE
 3121|     45|    PyObject *argsbuf[4];
 3122|     45|    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 (3122:36): [True: 0, False: 45]
  ------------------
 3123|     45|    path_t src = PATH_T_INITIALIZE_P("replace", "src", 0, 0, 0, 0);
  ------------------
  |  | 1365|     45|    PATH_T_INITIALIZE(function_name, argument_name, nullable, nonstrict, 0, \
  |  |  ------------------
  |  |  |  | 1355|     45|    {function_name, argument_name, nullable, nonstrict, make_wide, \
  |  |  |  | 1356|     45|     suppress_value_error, allow_fd, NULL, NULL, -1, false, 0, 0, NULL, NULL}
  |  |  ------------------
  |  | 1366|     45|                      suppress_value_error, allow_fd)
  ------------------
 3124|     45|    path_t dst = PATH_T_INITIALIZE_P("replace", "dst", 0, 0, 0, 0);
  ------------------
  |  | 1365|     45|    PATH_T_INITIALIZE(function_name, argument_name, nullable, nonstrict, 0, \
  |  |  ------------------
  |  |  |  | 1355|     45|    {function_name, argument_name, nullable, nonstrict, make_wide, \
  |  |  |  | 1356|     45|     suppress_value_error, allow_fd, NULL, NULL, -1, false, 0, 0, NULL, NULL}
  |  |  ------------------
  |  | 1366|     45|                      suppress_value_error, allow_fd)
  ------------------
 3125|     45|    int src_dir_fd = DEFAULT_DIR_FD;
  ------------------
  |  | 1138|     45|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
 3126|     45|    int dst_dir_fd = DEFAULT_DIR_FD;
  ------------------
  |  | 1138|     45|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
 3127|       |
 3128|     45|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|     45|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 45, False: 0]
  |  |  ------------------
  |  |   89|     45|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 45, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 45]
  |  |  |  Branch (89:43): [True: 45, False: 0]
  |  |  |  Branch (89:67): [True: 45, False: 0]
  |  |  ------------------
  |  |   90|     45|      (args) : \
  |  |   91|     45|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 3129|     45|            /*minpos*/ 2, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 3130|     45|    if (!args) {
  ------------------
  |  Branch (3130:9): [True: 0, False: 45]
  ------------------
 3131|      0|        goto exit;
 3132|      0|    }
 3133|     45|    if (!path_converter(args[0], &src)) {
  ------------------
  |  Branch (3133:9): [True: 0, False: 45]
  ------------------
 3134|      0|        goto exit;
 3135|      0|    }
 3136|     45|    if (!path_converter(args[1], &dst)) {
  ------------------
  |  Branch (3136:9): [True: 0, False: 45]
  ------------------
 3137|      0|        goto exit;
 3138|      0|    }
 3139|     45|    if (!noptargs) {
  ------------------
  |  Branch (3139:9): [True: 45, False: 0]
  ------------------
 3140|     45|        goto skip_optional_kwonly;
 3141|     45|    }
 3142|      0|    if (args[2]) {
  ------------------
  |  Branch (3142:9): [True: 0, False: 0]
  ------------------
 3143|      0|        if (!dir_fd_converter(args[2], &src_dir_fd)) {
  ------------------
  |  Branch (3143:13): [True: 0, False: 0]
  ------------------
 3144|      0|            goto exit;
 3145|      0|        }
 3146|      0|        if (!--noptargs) {
  ------------------
  |  Branch (3146:13): [True: 0, False: 0]
  ------------------
 3147|      0|            goto skip_optional_kwonly;
 3148|      0|        }
 3149|      0|    }
 3150|      0|    if (!dir_fd_converter(args[3], &dst_dir_fd)) {
  ------------------
  |  Branch (3150:9): [True: 0, False: 0]
  ------------------
 3151|      0|        goto exit;
 3152|      0|    }
 3153|     45|skip_optional_kwonly:
 3154|     45|    return_value = os_replace_impl(module, &src, &dst, src_dir_fd, dst_dir_fd);
 3155|       |
 3156|     45|exit:
 3157|       |    /* Cleanup for src */
 3158|     45|    path_cleanup(&src);
 3159|       |    /* Cleanup for dst */
 3160|     45|    path_cleanup(&dst);
 3161|       |
 3162|     45|    return return_value;
 3163|     45|}
posixmodule.c:os_rmdir:
 3184|      6|{
 3185|      6|    PyObject *return_value = NULL;
 3186|      6|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 3187|       |
 3188|      6|    #define NUM_KEYWORDS 2
 3189|      6|    static struct {
 3190|      6|        PyGC_Head _this_is_not_used;
 3191|      6|        PyObject_VAR_HEAD
 3192|      6|        Py_hash_t ob_hash;
 3193|      6|        PyObject *ob_item[NUM_KEYWORDS];
 3194|      6|    } _kwtuple = {
 3195|      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|    },
  ------------------
 3196|      6|        .ob_hash = -1,
 3197|      6|        .ob_item = { &_Py_ID(path), &_Py_ID(dir_fd), },
  ------------------
  |  |  915|      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(path), &_Py_ID(dir_fd), },
  ------------------
  |  |  915|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3198|      6|    };
 3199|      6|    #undef NUM_KEYWORDS
 3200|      6|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 3201|       |
 3202|       |    #else  // !Py_BUILD_CORE
 3203|       |    #  define KWTUPLE NULL
 3204|       |    #endif  // !Py_BUILD_CORE
 3205|       |
 3206|      6|    static const char * const _keywords[] = {"path", "dir_fd", NULL};
 3207|      6|    static _PyArg_Parser _parser = {
 3208|      6|        .keywords = _keywords,
 3209|      6|        .fname = "rmdir",
 3210|      6|        .kwtuple = KWTUPLE,
  ------------------
  |  | 3200|      6|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 3211|      6|    };
 3212|      6|    #undef KWTUPLE
 3213|      6|    PyObject *argsbuf[2];
 3214|      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 (3214:36): [True: 0, False: 6]
  ------------------
 3215|      6|    path_t path = PATH_T_INITIALIZE_P("rmdir", "path", 0, 0, 0, 0);
  ------------------
  |  | 1365|      6|    PATH_T_INITIALIZE(function_name, argument_name, nullable, nonstrict, 0, \
  |  |  ------------------
  |  |  |  | 1355|      6|    {function_name, argument_name, nullable, nonstrict, make_wide, \
  |  |  |  | 1356|      6|     suppress_value_error, allow_fd, NULL, NULL, -1, false, 0, 0, NULL, NULL}
  |  |  ------------------
  |  | 1366|      6|                      suppress_value_error, allow_fd)
  ------------------
 3216|      6|    int dir_fd = DEFAULT_DIR_FD;
  ------------------
  |  | 1138|      6|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
 3217|       |
 3218|      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)))
  ------------------
 3219|      6|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 3220|      6|    if (!args) {
  ------------------
  |  Branch (3220:9): [True: 0, False: 6]
  ------------------
 3221|      0|        goto exit;
 3222|      0|    }
 3223|      6|    if (!path_converter(args[0], &path)) {
  ------------------
  |  Branch (3223:9): [True: 0, False: 6]
  ------------------
 3224|      0|        goto exit;
 3225|      0|    }
 3226|      6|    if (!noptargs) {
  ------------------
  |  Branch (3226:9): [True: 6, False: 0]
  ------------------
 3227|      6|        goto skip_optional_kwonly;
 3228|      6|    }
 3229|      0|    if (!UNLINKAT_DIR_FD_CONVERTER(args[1], &dir_fd)) {
  ------------------
  |  | 3057|      0|    #define UNLINKAT_DIR_FD_CONVERTER dir_fd_converter
  ------------------
  |  Branch (3229:9): [True: 0, False: 0]
  ------------------
 3230|      0|        goto exit;
 3231|      0|    }
 3232|      6|skip_optional_kwonly:
 3233|      6|    return_value = os_rmdir_impl(module, &path, dir_fd);
 3234|       |
 3235|      6|exit:
 3236|       |    /* Cleanup for path */
 3237|      6|    path_cleanup(&path);
 3238|       |
 3239|      6|    return return_value;
 3240|      6|}
posixmodule.c:os_uname:
 3596|      2|{
 3597|      2|    return os_uname_impl(module);
 3598|      2|}
posixmodule.c:os_register_at_fork:
 4351|     10|{
 4352|     10|    PyObject *return_value = NULL;
 4353|     10|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 4354|       |
 4355|     10|    #define NUM_KEYWORDS 3
 4356|     10|    static struct {
 4357|     10|        PyGC_Head _this_is_not_used;
 4358|     10|        PyObject_VAR_HEAD
 4359|     10|        Py_hash_t ob_hash;
 4360|     10|        PyObject *ob_item[NUM_KEYWORDS];
 4361|     10|    } _kwtuple = {
 4362|     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|    },
  ------------------
 4363|     10|        .ob_hash = -1,
 4364|     10|        .ob_item = { &_Py_ID(before), &_Py_ID(after_in_child), &_Py_ID(after_in_parent), },
  ------------------
  |  |  915|     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), },
  ------------------
  |  |  915|     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), },
  ------------------
  |  |  915|     10|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     10|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     10|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4365|     10|    };
 4366|     10|    #undef NUM_KEYWORDS
 4367|     10|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 4368|       |
 4369|       |    #else  // !Py_BUILD_CORE
 4370|       |    #  define KWTUPLE NULL
 4371|       |    #endif  // !Py_BUILD_CORE
 4372|       |
 4373|     10|    static const char * const _keywords[] = {"before", "after_in_child", "after_in_parent", NULL};
 4374|     10|    static _PyArg_Parser _parser = {
 4375|     10|        .keywords = _keywords,
 4376|     10|        .fname = "register_at_fork",
 4377|     10|        .kwtuple = KWTUPLE,
  ------------------
  |  | 4367|     10|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 4378|     10|    };
 4379|     10|    #undef KWTUPLE
 4380|     10|    PyObject *argsbuf[3];
 4381|     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 (4381:36): [True: 10, False: 0]
  ------------------
 4382|     10|    PyObject *before = NULL;
 4383|     10|    PyObject *after_in_child = NULL;
 4384|     10|    PyObject *after_in_parent = NULL;
 4385|       |
 4386|     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)))
  ------------------
 4387|     10|            /*minpos*/ 0, /*maxpos*/ 0, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 4388|     10|    if (!args) {
  ------------------
  |  Branch (4388:9): [True: 0, False: 10]
  ------------------
 4389|      0|        goto exit;
 4390|      0|    }
 4391|     10|    if (!noptargs) {
  ------------------
  |  Branch (4391:9): [True: 0, False: 10]
  ------------------
 4392|      0|        goto skip_optional_kwonly;
 4393|      0|    }
 4394|     10|    if (args[0]) {
  ------------------
  |  Branch (4394:9): [True: 2, False: 8]
  ------------------
 4395|      2|        before = args[0];
 4396|      2|        if (!--noptargs) {
  ------------------
  |  Branch (4396:13): [True: 0, False: 2]
  ------------------
 4397|      0|            goto skip_optional_kwonly;
 4398|      0|        }
 4399|      2|    }
 4400|     10|    if (args[1]) {
  ------------------
  |  Branch (4400:9): [True: 10, False: 0]
  ------------------
 4401|     10|        after_in_child = args[1];
 4402|     10|        if (!--noptargs) {
  ------------------
  |  Branch (4402:13): [True: 8, False: 2]
  ------------------
 4403|      8|            goto skip_optional_kwonly;
 4404|      8|        }
 4405|     10|    }
 4406|      2|    after_in_parent = args[2];
 4407|     10|skip_optional_kwonly:
 4408|     10|    return_value = os_register_at_fork_impl(module, before, after_in_child, after_in_parent);
 4409|       |
 4410|     10|exit:
 4411|     10|    return return_value;
 4412|     10|}
posixmodule.c:os_getegid:
 5205|      2|{
 5206|      2|    return os_getegid_impl(module);
 5207|      2|}
posixmodule.c:os_geteuid:
 5227|      2|{
 5228|      2|    return os_geteuid_impl(module);
 5229|      2|}
posixmodule.c:os_getgid:
 5249|      2|{
 5250|      2|    return os_getgid_impl(module);
 5251|      2|}
posixmodule.c:os_getpid:
 5271|      5|{
 5272|      5|    return os_getpid_impl(module);
 5273|      5|}
posixmodule.c:os_getuid:
 5669|      2|{
 5670|      2|    return os_getuid_impl(module);
 5671|      2|}
posixmodule.c:os_pidfd_open:
 6338|      2|{
 6339|      2|    PyObject *return_value = NULL;
 6340|      2|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 6341|       |
 6342|      2|    #define NUM_KEYWORDS 2
 6343|      2|    static struct {
 6344|      2|        PyGC_Head _this_is_not_used;
 6345|      2|        PyObject_VAR_HEAD
 6346|      2|        Py_hash_t ob_hash;
 6347|      2|        PyObject *ob_item[NUM_KEYWORDS];
 6348|      2|    } _kwtuple = {
 6349|      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|    },
  ------------------
 6350|      2|        .ob_hash = -1,
 6351|      2|        .ob_item = { &_Py_ID(pid), &_Py_ID(flags), },
  ------------------
  |  |  915|      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), },
  ------------------
  |  |  915|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6352|      2|    };
 6353|      2|    #undef NUM_KEYWORDS
 6354|      2|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 6355|       |
 6356|       |    #else  // !Py_BUILD_CORE
 6357|       |    #  define KWTUPLE NULL
 6358|       |    #endif  // !Py_BUILD_CORE
 6359|       |
 6360|      2|    static const char * const _keywords[] = {"pid", "flags", NULL};
 6361|      2|    static _PyArg_Parser _parser = {
 6362|      2|        .keywords = _keywords,
 6363|      2|        .fname = "pidfd_open",
 6364|      2|        .kwtuple = KWTUPLE,
  ------------------
  |  | 6354|      2|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 6365|      2|    };
 6366|      2|    #undef KWTUPLE
 6367|      2|    PyObject *argsbuf[2];
 6368|      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 (6368:36): [True: 0, False: 2]
  ------------------
 6369|      2|    pid_t pid;
 6370|      2|    unsigned int flags = 0;
 6371|       |
 6372|      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)))
  ------------------
 6373|      2|            /*minpos*/ 1, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 6374|      2|    if (!args) {
  ------------------
  |  Branch (6374:9): [True: 0, False: 2]
  ------------------
 6375|      0|        goto exit;
 6376|      0|    }
 6377|      2|    pid = PyLong_AsPid(args[0]);
  ------------------
  |  |  108|      2|#   define PyLong_AsPid PyLong_AsInt
  ------------------
 6378|      2|    if (pid == (pid_t)(-1) && PyErr_Occurred()) {
  ------------------
  |  Branch (6378:9): [True: 0, False: 2]
  |  Branch (6378:31): [True: 0, False: 0]
  ------------------
 6379|      0|        goto exit;
 6380|      0|    }
 6381|      2|    if (!noptargs) {
  ------------------
  |  Branch (6381:9): [True: 0, False: 2]
  ------------------
 6382|      0|        goto skip_optional_pos;
 6383|      0|    }
 6384|      2|    if (!_PyLong_UnsignedInt_Converter(args[1], &flags)) {
  ------------------
  |  Branch (6384:9): [True: 0, False: 2]
  ------------------
 6385|      0|        goto exit;
 6386|      0|    }
 6387|      2|skip_optional_pos:
 6388|      2|    return_value = os_pidfd_open_impl(module, pid, flags);
 6389|       |
 6390|      2|exit:
 6391|      2|    return return_value;
 6392|      2|}
posixmodule.c:os_open:
 7323|     48|{
 7324|     48|    PyObject *return_value = NULL;
 7325|     48|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 7326|       |
 7327|     48|    #define NUM_KEYWORDS 4
 7328|     48|    static struct {
 7329|     48|        PyGC_Head _this_is_not_used;
 7330|     48|        PyObject_VAR_HEAD
 7331|     48|        Py_hash_t ob_hash;
 7332|     48|        PyObject *ob_item[NUM_KEYWORDS];
 7333|     48|    } _kwtuple = {
 7334|     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|    },
  ------------------
 7335|     48|        .ob_hash = -1,
 7336|     48|        .ob_item = { &_Py_ID(path), &_Py_ID(flags), &_Py_ID(mode), &_Py_ID(dir_fd), },
  ------------------
  |  |  915|     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(path), &_Py_ID(flags), &_Py_ID(mode), &_Py_ID(dir_fd), },
  ------------------
  |  |  915|     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(path), &_Py_ID(flags), &_Py_ID(mode), &_Py_ID(dir_fd), },
  ------------------
  |  |  915|     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(path), &_Py_ID(flags), &_Py_ID(mode), &_Py_ID(dir_fd), },
  ------------------
  |  |  915|     48|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     48|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     48|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7337|     48|    };
 7338|     48|    #undef NUM_KEYWORDS
 7339|     48|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 7340|       |
 7341|       |    #else  // !Py_BUILD_CORE
 7342|       |    #  define KWTUPLE NULL
 7343|       |    #endif  // !Py_BUILD_CORE
 7344|       |
 7345|     48|    static const char * const _keywords[] = {"path", "flags", "mode", "dir_fd", NULL};
 7346|     48|    static _PyArg_Parser _parser = {
 7347|     48|        .keywords = _keywords,
 7348|     48|        .fname = "open",
 7349|     48|        .kwtuple = KWTUPLE,
  ------------------
  |  | 7339|     48|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 7350|     48|    };
 7351|     48|    #undef KWTUPLE
 7352|     48|    PyObject *argsbuf[4];
 7353|     48|    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 (7353:36): [True: 0, False: 48]
  ------------------
 7354|     48|    path_t path = PATH_T_INITIALIZE_P("open", "path", 0, 0, 0, 0);
  ------------------
  |  | 1365|     48|    PATH_T_INITIALIZE(function_name, argument_name, nullable, nonstrict, 0, \
  |  |  ------------------
  |  |  |  | 1355|     48|    {function_name, argument_name, nullable, nonstrict, make_wide, \
  |  |  |  | 1356|     48|     suppress_value_error, allow_fd, NULL, NULL, -1, false, 0, 0, NULL, NULL}
  |  |  ------------------
  |  | 1366|     48|                      suppress_value_error, allow_fd)
  ------------------
 7355|     48|    int flags;
 7356|     48|    int mode = 511;
 7357|     48|    int dir_fd = DEFAULT_DIR_FD;
  ------------------
  |  | 1138|     48|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
 7358|     48|    int _return_value;
 7359|       |
 7360|     48|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|     48|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 48, False: 0]
  |  |  ------------------
  |  |   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)))
  ------------------
 7361|     48|            /*minpos*/ 2, /*maxpos*/ 3, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 7362|     48|    if (!args) {
  ------------------
  |  Branch (7362:9): [True: 0, False: 48]
  ------------------
 7363|      0|        goto exit;
 7364|      0|    }
 7365|     48|    if (!path_converter(args[0], &path)) {
  ------------------
  |  Branch (7365:9): [True: 0, False: 48]
  ------------------
 7366|      0|        goto exit;
 7367|      0|    }
 7368|     48|    flags = PyLong_AsInt(args[1]);
 7369|     48|    if (flags == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (7369:9): [True: 0, False: 48]
  |  Branch (7369:24): [True: 0, False: 0]
  ------------------
 7370|      0|        goto exit;
 7371|      0|    }
 7372|     48|    if (!noptargs) {
  ------------------
  |  Branch (7372:9): [True: 0, False: 48]
  ------------------
 7373|      0|        goto skip_optional_pos;
 7374|      0|    }
 7375|     48|    if (args[2]) {
  ------------------
  |  Branch (7375:9): [True: 48, False: 0]
  ------------------
 7376|     48|        mode = PyLong_AsInt(args[2]);
 7377|     48|        if (mode == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (7377:13): [True: 0, False: 48]
  |  Branch (7377:27): [True: 0, False: 0]
  ------------------
 7378|      0|            goto exit;
 7379|      0|        }
 7380|     48|        if (!--noptargs) {
  ------------------
  |  Branch (7380:13): [True: 48, False: 0]
  ------------------
 7381|     48|            goto skip_optional_pos;
 7382|     48|        }
 7383|     48|    }
 7384|     48|skip_optional_pos:
 7385|     48|    if (!noptargs) {
  ------------------
  |  Branch (7385:9): [True: 48, False: 0]
  ------------------
 7386|     48|        goto skip_optional_kwonly;
 7387|     48|    }
 7388|      0|    if (!OPENAT_DIR_FD_CONVERTER(args[3], &dir_fd)) {
  ------------------
  |  | 3039|      0|    #define OPENAT_DIR_FD_CONVERTER dir_fd_converter
  ------------------
  |  Branch (7388:9): [True: 0, False: 0]
  ------------------
 7389|      0|        goto exit;
 7390|      0|    }
 7391|     48|skip_optional_kwonly:
 7392|     48|    _return_value = os_open_impl(module, &path, flags, mode, dir_fd);
 7393|     48|    if ((_return_value == -1) && PyErr_Occurred()) {
  ------------------
  |  Branch (7393:9): [True: 0, False: 48]
  |  Branch (7393:34): [True: 0, False: 0]
  ------------------
 7394|      0|        goto exit;
 7395|      0|    }
 7396|     48|    return_value = PyLong_FromLong((long)_return_value);
 7397|       |
 7398|     48|exit:
 7399|       |    /* Cleanup for path */
 7400|     48|    path_cleanup(&path);
 7401|       |
 7402|     48|    return return_value;
 7403|     48|}
posixmodule.c:os_close:
 7419|      5|{
 7420|      5|    PyObject *return_value = NULL;
 7421|      5|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 7422|       |
 7423|      5|    #define NUM_KEYWORDS 1
 7424|      5|    static struct {
 7425|      5|        PyGC_Head _this_is_not_used;
 7426|      5|        PyObject_VAR_HEAD
 7427|      5|        Py_hash_t ob_hash;
 7428|      5|        PyObject *ob_item[NUM_KEYWORDS];
 7429|      5|    } _kwtuple = {
 7430|      5|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|      5|    {                                     \
  |  |   98|      5|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|      5|    {                               \
  |  |  |  |   91|      5|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|      5|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|      5|#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|      5|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|      5|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|      5|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|      5|        (type)                      \
  |  |  |  |   93|      5|    },
  |  |  ------------------
  |  |   99|      5|        (size)                            \
  |  |  100|      5|    },
  ------------------
 7431|      5|        .ob_hash = -1,
 7432|      5|        .ob_item = { &_Py_ID(fd), },
  ------------------
  |  |  915|      5|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      5|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      5|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7433|      5|    };
 7434|      5|    #undef NUM_KEYWORDS
 7435|      5|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 7436|       |
 7437|       |    #else  // !Py_BUILD_CORE
 7438|       |    #  define KWTUPLE NULL
 7439|       |    #endif  // !Py_BUILD_CORE
 7440|       |
 7441|      5|    static const char * const _keywords[] = {"fd", NULL};
 7442|      5|    static _PyArg_Parser _parser = {
 7443|      5|        .keywords = _keywords,
 7444|      5|        .fname = "close",
 7445|      5|        .kwtuple = KWTUPLE,
  ------------------
  |  | 7435|      5|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 7446|      5|    };
 7447|      5|    #undef KWTUPLE
 7448|      5|    PyObject *argsbuf[1];
 7449|      5|    int fd;
 7450|       |
 7451|      5|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|      5|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 5, False: 0]
  |  |  ------------------
  |  |   89|      5|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 5, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 5]
  |  |  |  Branch (89:43): [True: 5, False: 0]
  |  |  |  Branch (89:67): [True: 5, False: 0]
  |  |  ------------------
  |  |   90|      5|      (args) : \
  |  |   91|      5|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 7452|      5|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 7453|      5|    if (!args) {
  ------------------
  |  Branch (7453:9): [True: 0, False: 5]
  ------------------
 7454|      0|        goto exit;
 7455|      0|    }
 7456|      5|    fd = PyLong_AsInt(args[0]);
 7457|      5|    if (fd == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (7457:9): [True: 0, False: 5]
  |  Branch (7457:21): [True: 0, False: 0]
  ------------------
 7458|      0|        goto exit;
 7459|      0|    }
 7460|      5|    return_value = os_close_impl(module, fd);
 7461|       |
 7462|      5|exit:
 7463|      5|    return return_value;
 7464|      5|}
posixmodule.c:os_confstr:
10570|      2|{
10571|      2|    PyObject *return_value = NULL;
10572|      2|    int name;
10573|       |
10574|      2|    if (!conv_confname(module, arg, &name, "confstr_names")) {
  ------------------
  |  Branch (10574:9): [True: 0, False: 2]
  ------------------
10575|      0|        goto exit;
10576|      0|    }
10577|      2|    return_value = os_confstr_impl(module, name);
10578|       |
10579|      2|exit:
10580|      2|    return return_value;
10581|      2|}
posixmodule.c:os_sysconf:
10601|      2|{
10602|      2|    PyObject *return_value = NULL;
10603|      2|    int name;
10604|      2|    long _return_value;
10605|       |
10606|      2|    if (!conv_confname(module, arg, &name, "sysconf_names")) {
  ------------------
  |  Branch (10606:9): [True: 0, False: 2]
  ------------------
10607|      0|        goto exit;
10608|      0|    }
10609|      2|    _return_value = os_sysconf_impl(module, name);
10610|      2|    if ((_return_value == -1) && PyErr_Occurred()) {
  ------------------
  |  Branch (10610:9): [True: 0, False: 2]
  |  Branch (10610:34): [True: 0, False: 0]
  ------------------
10611|      0|        goto exit;
10612|      0|    }
10613|      2|    return_value = PyLong_FromLong(_return_value);
10614|       |
10615|      2|exit:
10616|      2|    return return_value;
10617|      2|}
posixmodule.c:os__path_splitroot_ex:
 2627|     42|{
 2628|     42|    PyObject *return_value = NULL;
 2629|     42|    path_t path = PATH_T_INITIALIZE("_path_splitroot_ex", "path", 0, 1, 1, 0, 0);
  ------------------
  |  | 1355|     42|    {function_name, argument_name, nullable, nonstrict, make_wide, \
  |  | 1356|     42|     suppress_value_error, allow_fd, NULL, NULL, -1, false, 0, 0, NULL, NULL}
  ------------------
 2630|       |
 2631|     42|    if (!path_converter(arg, &path)) {
  ------------------
  |  Branch (2631:9): [True: 0, False: 42]
  ------------------
 2632|      0|        goto exit;
 2633|      0|    }
 2634|     42|    return_value = os__path_splitroot_ex_impl(module, &path);
 2635|       |
 2636|     42|exit:
 2637|       |    /* Cleanup for path */
 2638|     42|    path_cleanup(&path);
 2639|       |
 2640|     42|    return return_value;
 2641|     42|}
posixmodule.c:os__path_normpath:
 2657|    123|{
 2658|    123|    PyObject *return_value = NULL;
 2659|    123|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 2660|       |
 2661|    123|    #define NUM_KEYWORDS 1
 2662|    123|    static struct {
 2663|    123|        PyGC_Head _this_is_not_used;
 2664|    123|        PyObject_VAR_HEAD
 2665|    123|        Py_hash_t ob_hash;
 2666|    123|        PyObject *ob_item[NUM_KEYWORDS];
 2667|    123|    } _kwtuple = {
 2668|    123|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|    123|    {                                     \
  |  |   98|    123|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|    123|    {                               \
  |  |  |  |   91|    123|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|    123|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|    123|#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|    123|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|    123|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|    123|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|    123|        (type)                      \
  |  |  |  |   93|    123|    },
  |  |  ------------------
  |  |   99|    123|        (size)                            \
  |  |  100|    123|    },
  ------------------
 2669|    123|        .ob_hash = -1,
 2670|    123|        .ob_item = { &_Py_ID(path), },
  ------------------
  |  |  915|    123|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    123|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    123|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2671|    123|    };
 2672|    123|    #undef NUM_KEYWORDS
 2673|    123|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 2674|       |
 2675|       |    #else  // !Py_BUILD_CORE
 2676|       |    #  define KWTUPLE NULL
 2677|       |    #endif  // !Py_BUILD_CORE
 2678|       |
 2679|    123|    static const char * const _keywords[] = {"path", NULL};
 2680|    123|    static _PyArg_Parser _parser = {
 2681|    123|        .keywords = _keywords,
 2682|    123|        .fname = "_path_normpath",
 2683|    123|        .kwtuple = KWTUPLE,
  ------------------
  |  | 2673|    123|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 2684|    123|    };
 2685|    123|    #undef KWTUPLE
 2686|    123|    PyObject *argsbuf[1];
 2687|    123|    path_t path = PATH_T_INITIALIZE("_path_normpath", "path", 0, 1, 1, 0, 0);
  ------------------
  |  | 1355|    123|    {function_name, argument_name, nullable, nonstrict, make_wide, \
  |  | 1356|    123|     suppress_value_error, allow_fd, NULL, NULL, -1, false, 0, 0, NULL, NULL}
  ------------------
 2688|       |
 2689|    123|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|    123|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 123, False: 0]
  |  |  ------------------
  |  |   89|    123|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 123, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 123]
  |  |  |  Branch (89:43): [True: 123, False: 0]
  |  |  |  Branch (89:67): [True: 123, False: 0]
  |  |  ------------------
  |  |   90|    123|      (args) : \
  |  |   91|    123|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 2690|    123|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 2691|    123|    if (!args) {
  ------------------
  |  Branch (2691:9): [True: 0, False: 123]
  ------------------
 2692|      0|        goto exit;
 2693|      0|    }
 2694|    123|    if (!path_converter(args[0], &path)) {
  ------------------
  |  Branch (2694:9): [True: 0, False: 123]
  ------------------
 2695|      0|        goto exit;
 2696|      0|    }
 2697|    123|    return_value = os__path_normpath_impl(module, &path);
 2698|       |
 2699|    123|exit:
 2700|       |    /* Cleanup for path */
 2701|    123|    path_cleanup(&path);
 2702|       |
 2703|    123|    return return_value;
 2704|    123|}
posixmodule.c:os_fspath:
12418|  8.32k|{
12419|  8.32k|    PyObject *return_value = NULL;
12420|  8.32k|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
12421|       |
12422|  8.32k|    #define NUM_KEYWORDS 1
12423|  8.32k|    static struct {
12424|  8.32k|        PyGC_Head _this_is_not_used;
12425|  8.32k|        PyObject_VAR_HEAD
12426|  8.32k|        Py_hash_t ob_hash;
12427|  8.32k|        PyObject *ob_item[NUM_KEYWORDS];
12428|  8.32k|    } _kwtuple = {
12429|  8.32k|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|  8.32k|    {                                     \
  |  |   98|  8.32k|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|  8.32k|    {                               \
  |  |  |  |   91|  8.32k|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|  8.32k|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  8.32k|#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.32k|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|  8.32k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|  8.32k|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|  8.32k|        (type)                      \
  |  |  |  |   93|  8.32k|    },
  |  |  ------------------
  |  |   99|  8.32k|        (size)                            \
  |  |  100|  8.32k|    },
  ------------------
12430|  8.32k|        .ob_hash = -1,
12431|  8.32k|        .ob_item = { &_Py_ID(path), },
  ------------------
  |  |  915|  8.32k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  8.32k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  8.32k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12432|  8.32k|    };
12433|  8.32k|    #undef NUM_KEYWORDS
12434|  8.32k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
12435|       |
12436|       |    #else  // !Py_BUILD_CORE
12437|       |    #  define KWTUPLE NULL
12438|       |    #endif  // !Py_BUILD_CORE
12439|       |
12440|  8.32k|    static const char * const _keywords[] = {"path", NULL};
12441|  8.32k|    static _PyArg_Parser _parser = {
12442|  8.32k|        .keywords = _keywords,
12443|  8.32k|        .fname = "fspath",
12444|  8.32k|        .kwtuple = KWTUPLE,
  ------------------
  |  |12434|  8.32k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
12445|  8.32k|    };
12446|  8.32k|    #undef KWTUPLE
12447|  8.32k|    PyObject *argsbuf[1];
12448|  8.32k|    PyObject *path;
12449|       |
12450|  8.32k|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|  8.32k|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 8.32k, False: 0]
  |  |  ------------------
  |  |   89|  8.32k|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 8.32k, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 8.32k]
  |  |  |  Branch (89:43): [True: 8.32k, False: 0]
  |  |  |  Branch (89:67): [True: 8.32k, False: 0]
  |  |  ------------------
  |  |   90|  8.32k|      (args) : \
  |  |   91|  8.32k|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
12451|  8.32k|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
12452|  8.32k|    if (!args) {
  ------------------
  |  Branch (12452:9): [True: 0, False: 8.32k]
  ------------------
12453|      0|        goto exit;
12454|      0|    }
12455|  8.32k|    path = args[0];
12456|  8.32k|    return_value = os_fspath_impl(module, path);
12457|       |
12458|  8.32k|exit:
12459|  8.32k|    return return_value;
12460|  8.32k|}

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:
 1492|      2|{
 1493|      2|#ifdef FAULTHANDLER_USE_ALT_STACK
 1494|      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
  ------------------
 1495|      2|    stack.ss_flags = 0;
  ------------------
  |  |   86|      2|#  define stack _PyRuntime.faulthandler.stack
  ------------------
 1496|       |    /* bpo-21131: allocate dedicated stack of SIGSTKSZ*2 bytes, instead of just
 1497|       |       SIGSTKSZ bytes. Calling the previous signal handler in faulthandler
 1498|       |       signal handler uses more than SIGSTKSZ bytes of stack memory on some
 1499|       |       platforms. */
 1500|      2|    stack.ss_size = SIGSTKSZ * 2;
  ------------------
  |  |   86|      2|#  define stack _PyRuntime.faulthandler.stack
  ------------------
 1501|      2|#ifdef AT_MINSIGSTKSZ
 1502|       |    /* bpo-46968: Query Linux for minimal stack size to ensure signal delivery
 1503|       |       for the hardware running CPython. This OS feature is available in
 1504|       |       Linux kernel version >= 5.14 */
 1505|      2|    unsigned long at_minstack_size = getauxval(AT_MINSIGSTKSZ);
 1506|      2|    if (at_minstack_size != 0) {
  ------------------
  |  Branch (1506:9): [True: 0, False: 2]
  ------------------
 1507|      0|        stack.ss_size = SIGSTKSZ + at_minstack_size;
  ------------------
  |  |   86|      0|#  define stack _PyRuntime.faulthandler.stack
  ------------------
 1508|      0|    }
 1509|      2|#endif
 1510|      2|#endif
 1511|       |
 1512|      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
  ------------------
 1513|       |
 1514|      2|    if (enable) {
  ------------------
  |  Branch (1514:9): [True: 0, False: 2]
  ------------------
 1515|      0|        if (faulthandler_init_enable() < 0) {
  ------------------
  |  Branch (1515:13): [True: 0, False: 0]
  ------------------
 1516|      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)}
  ------------------
 1517|      0|        }
 1518|      0|    }
 1519|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 1520|      2|}

PyInit_gc:
  583|      2|{
  584|      2|    return PyModuleDef_Init(&gcmodule);
  585|      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:
  540|      2|{
  541|      2|    GCState *gcstate = get_gc_state();
  542|       |
  543|       |    /* garbage and callbacks are initialized by _PyGC_Init() early in
  544|       |     * interpreter lifecycle. */
  545|      2|    assert(gcstate->garbage != NULL);
  546|      2|    if (PyModule_AddObjectRef(module, "garbage", gcstate->garbage) < 0) {
  ------------------
  |  Branch (546:9): [True: 0, False: 2]
  ------------------
  547|      0|        return -1;
  548|      0|    }
  549|      2|    assert(gcstate->callbacks != NULL);
  550|      2|    if (PyModule_AddObjectRef(module, "callbacks", gcstate->callbacks) < 0) {
  ------------------
  |  Branch (550:9): [True: 0, False: 2]
  ------------------
  551|      0|        return -1;
  552|      0|    }
  553|       |
  554|      2|#define ADD_INT(NAME) if (PyModule_AddIntConstant(module, #NAME, _PyGC_ ## NAME) < 0) { return -1; }
  555|      2|    ADD_INT(DEBUG_STATS);
  ------------------
  |  |  554|      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 (554:27): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  556|      2|    ADD_INT(DEBUG_COLLECTABLE);
  ------------------
  |  |  554|      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 (554:27): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  557|      2|    ADD_INT(DEBUG_UNCOLLECTABLE);
  ------------------
  |  |  554|      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 (554:27): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  558|      2|    ADD_INT(DEBUG_SAVEALL);
  ------------------
  |  |  554|      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 (554:27): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  559|      2|    ADD_INT(DEBUG_LEAK);
  ------------------
  |  |  554|      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 (554:27): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  560|      2|#undef ADD_INT
  561|      2|    return 0;
  562|      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:
 4164|      2|{
 4165|      2|    return PyModuleDef_Init(&itertoolsmodule);
 4166|      2|}
itertoolsmodule.c:get_module_state:
   44|    134|{
   45|    134|    void *state = _PyModule_GetState(mod);
   46|       |    assert(state != NULL);
   47|    134|    return (itertools_state *)state;
   48|    134|}
itertoolsmodule.c:itertoolsmodule_exec:
 4107|      2|{
 4108|      2|    itertools_state *state = get_module_state(mod);
 4109|      2|    ADD_TYPE(mod, state->accumulate_type, &accumulate_spec);
  ------------------
  |  | 4094|      2|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4095|      2|do {                                                                     \
  |  | 4096|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4097|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4097:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4098|      0|        return -1;                                                       \
  |  | 4099|      0|    }                                                                    \
  |  | 4100|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4100:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4101|      0|        return -1;                                                       \
  |  | 4102|      0|    }                                                                    \
  |  | 4103|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (4103:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4110|      2|    ADD_TYPE(mod, state->batched_type, &batched_spec);
  ------------------
  |  | 4094|      2|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4095|      2|do {                                                                     \
  |  | 4096|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4097|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4097:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4098|      0|        return -1;                                                       \
  |  | 4099|      0|    }                                                                    \
  |  | 4100|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4100:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4101|      0|        return -1;                                                       \
  |  | 4102|      0|    }                                                                    \
  |  | 4103|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (4103:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4111|      2|    ADD_TYPE(mod, state->chain_type, &chain_spec);
  ------------------
  |  | 4094|      2|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4095|      2|do {                                                                     \
  |  | 4096|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4097|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4097:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4098|      0|        return -1;                                                       \
  |  | 4099|      0|    }                                                                    \
  |  | 4100|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4100:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4101|      0|        return -1;                                                       \
  |  | 4102|      0|    }                                                                    \
  |  | 4103|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (4103:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4112|      2|    ADD_TYPE(mod, state->combinations_type, &combinations_spec);
  ------------------
  |  | 4094|      2|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4095|      2|do {                                                                     \
  |  | 4096|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4097|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4097:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4098|      0|        return -1;                                                       \
  |  | 4099|      0|    }                                                                    \
  |  | 4100|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4100:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4101|      0|        return -1;                                                       \
  |  | 4102|      0|    }                                                                    \
  |  | 4103|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (4103:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4113|      2|    ADD_TYPE(mod, state->compress_type, &compress_spec);
  ------------------
  |  | 4094|      2|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4095|      2|do {                                                                     \
  |  | 4096|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4097|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4097:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4098|      0|        return -1;                                                       \
  |  | 4099|      0|    }                                                                    \
  |  | 4100|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4100:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4101|      0|        return -1;                                                       \
  |  | 4102|      0|    }                                                                    \
  |  | 4103|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (4103:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4114|      2|    ADD_TYPE(mod, state->count_type, &count_spec);
  ------------------
  |  | 4094|      2|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4095|      2|do {                                                                     \
  |  | 4096|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4097|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4097:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4098|      0|        return -1;                                                       \
  |  | 4099|      0|    }                                                                    \
  |  | 4100|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4100:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4101|      0|        return -1;                                                       \
  |  | 4102|      0|    }                                                                    \
  |  | 4103|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (4103:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4115|      2|    ADD_TYPE(mod, state->cwr_type, &cwr_spec);
  ------------------
  |  | 4094|      2|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4095|      2|do {                                                                     \
  |  | 4096|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4097|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4097:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4098|      0|        return -1;                                                       \
  |  | 4099|      0|    }                                                                    \
  |  | 4100|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4100:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4101|      0|        return -1;                                                       \
  |  | 4102|      0|    }                                                                    \
  |  | 4103|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (4103:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4116|      2|    ADD_TYPE(mod, state->cycle_type, &cycle_spec);
  ------------------
  |  | 4094|      2|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4095|      2|do {                                                                     \
  |  | 4096|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4097|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4097:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4098|      0|        return -1;                                                       \
  |  | 4099|      0|    }                                                                    \
  |  | 4100|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4100:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4101|      0|        return -1;                                                       \
  |  | 4102|      0|    }                                                                    \
  |  | 4103|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (4103:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4117|      2|    ADD_TYPE(mod, state->dropwhile_type, &dropwhile_spec);
  ------------------
  |  | 4094|      2|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4095|      2|do {                                                                     \
  |  | 4096|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4097|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4097:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4098|      0|        return -1;                                                       \
  |  | 4099|      0|    }                                                                    \
  |  | 4100|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4100:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4101|      0|        return -1;                                                       \
  |  | 4102|      0|    }                                                                    \
  |  | 4103|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (4103:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4118|      2|    ADD_TYPE(mod, state->filterfalse_type, &filterfalse_spec);
  ------------------
  |  | 4094|      2|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4095|      2|do {                                                                     \
  |  | 4096|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4097|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4097:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4098|      0|        return -1;                                                       \
  |  | 4099|      0|    }                                                                    \
  |  | 4100|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4100:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4101|      0|        return -1;                                                       \
  |  | 4102|      0|    }                                                                    \
  |  | 4103|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (4103:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4119|      2|    ADD_TYPE(mod, state->groupby_type, &groupby_spec);
  ------------------
  |  | 4094|      2|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4095|      2|do {                                                                     \
  |  | 4096|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4097|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4097:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4098|      0|        return -1;                                                       \
  |  | 4099|      0|    }                                                                    \
  |  | 4100|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4100:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4101|      0|        return -1;                                                       \
  |  | 4102|      0|    }                                                                    \
  |  | 4103|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (4103:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4120|      2|    ADD_TYPE(mod, state->_grouper_type, &_grouper_spec);
  ------------------
  |  | 4094|      2|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4095|      2|do {                                                                     \
  |  | 4096|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4097|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4097:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4098|      0|        return -1;                                                       \
  |  | 4099|      0|    }                                                                    \
  |  | 4100|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4100:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4101|      0|        return -1;                                                       \
  |  | 4102|      0|    }                                                                    \
  |  | 4103|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (4103:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4121|      2|    ADD_TYPE(mod, state->islice_type, &islice_spec);
  ------------------
  |  | 4094|      2|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4095|      2|do {                                                                     \
  |  | 4096|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4097|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4097:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4098|      0|        return -1;                                                       \
  |  | 4099|      0|    }                                                                    \
  |  | 4100|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4100:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4101|      0|        return -1;                                                       \
  |  | 4102|      0|    }                                                                    \
  |  | 4103|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (4103:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4122|      2|    ADD_TYPE(mod, state->pairwise_type, &pairwise_spec);
  ------------------
  |  | 4094|      2|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4095|      2|do {                                                                     \
  |  | 4096|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4097|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4097:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4098|      0|        return -1;                                                       \
  |  | 4099|      0|    }                                                                    \
  |  | 4100|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4100:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4101|      0|        return -1;                                                       \
  |  | 4102|      0|    }                                                                    \
  |  | 4103|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (4103:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4123|      2|    ADD_TYPE(mod, state->permutations_type, &permutations_spec);
  ------------------
  |  | 4094|      2|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4095|      2|do {                                                                     \
  |  | 4096|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4097|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4097:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4098|      0|        return -1;                                                       \
  |  | 4099|      0|    }                                                                    \
  |  | 4100|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4100:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4101|      0|        return -1;                                                       \
  |  | 4102|      0|    }                                                                    \
  |  | 4103|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (4103:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4124|      2|    ADD_TYPE(mod, state->product_type, &product_spec);
  ------------------
  |  | 4094|      2|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4095|      2|do {                                                                     \
  |  | 4096|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4097|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4097:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4098|      0|        return -1;                                                       \
  |  | 4099|      0|    }                                                                    \
  |  | 4100|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4100:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4101|      0|        return -1;                                                       \
  |  | 4102|      0|    }                                                                    \
  |  | 4103|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (4103:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4125|      2|    ADD_TYPE(mod, state->repeat_type, &repeat_spec);
  ------------------
  |  | 4094|      2|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4095|      2|do {                                                                     \
  |  | 4096|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4097|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4097:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4098|      0|        return -1;                                                       \
  |  | 4099|      0|    }                                                                    \
  |  | 4100|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4100:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4101|      0|        return -1;                                                       \
  |  | 4102|      0|    }                                                                    \
  |  | 4103|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (4103:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4126|      2|    ADD_TYPE(mod, state->starmap_type, &starmap_spec);
  ------------------
  |  | 4094|      2|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4095|      2|do {                                                                     \
  |  | 4096|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4097|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4097:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4098|      0|        return -1;                                                       \
  |  | 4099|      0|    }                                                                    \
  |  | 4100|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4100:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4101|      0|        return -1;                                                       \
  |  | 4102|      0|    }                                                                    \
  |  | 4103|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (4103:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4127|      2|    ADD_TYPE(mod, state->takewhile_type, &takewhile_spec);
  ------------------
  |  | 4094|      2|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4095|      2|do {                                                                     \
  |  | 4096|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4097|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4097:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4098|      0|        return -1;                                                       \
  |  | 4099|      0|    }                                                                    \
  |  | 4100|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4100:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4101|      0|        return -1;                                                       \
  |  | 4102|      0|    }                                                                    \
  |  | 4103|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (4103:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4128|      2|    ADD_TYPE(mod, state->tee_type, &tee_spec);
  ------------------
  |  | 4094|      2|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4095|      2|do {                                                                     \
  |  | 4096|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4097|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4097:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4098|      0|        return -1;                                                       \
  |  | 4099|      0|    }                                                                    \
  |  | 4100|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4100:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4101|      0|        return -1;                                                       \
  |  | 4102|      0|    }                                                                    \
  |  | 4103|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (4103:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4129|      2|    ADD_TYPE(mod, state->teedataobject_type, &teedataobject_spec);
  ------------------
  |  | 4094|      2|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4095|      2|do {                                                                     \
  |  | 4096|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4097|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4097:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4098|      0|        return -1;                                                       \
  |  | 4099|      0|    }                                                                    \
  |  | 4100|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4100:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4101|      0|        return -1;                                                       \
  |  | 4102|      0|    }                                                                    \
  |  | 4103|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (4103:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4130|      2|    ADD_TYPE(mod, state->ziplongest_type, &ziplongest_spec);
  ------------------
  |  | 4094|      2|#define ADD_TYPE(module, type, spec)                                     \
  |  | 4095|      2|do {                                                                     \
  |  | 4096|      2|    type = (PyTypeObject *)PyType_FromModuleAndSpec(module, spec, NULL); \
  |  | 4097|      2|    if (type == NULL) {                                                  \
  |  |  ------------------
  |  |  |  Branch (4097:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4098|      0|        return -1;                                                       \
  |  | 4099|      0|    }                                                                    \
  |  | 4100|      2|    if (PyModule_AddType(module, type) < 0) {                            \
  |  |  ------------------
  |  |  |  Branch (4100:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 4101|      0|        return -1;                                                       \
  |  | 4102|      0|    }                                                                    \
  |  | 4103|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (4103:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4131|       |
 4132|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4133|      2|    return 0;
 4134|      2|}
itertoolsmodule.c:find_state_by_type:
   62|    116|{
   63|    116|    PyObject *mod = PyType_GetModuleByDef(tp, &itertoolsmodule);
   64|       |    assert(mod != NULL);
   65|    116|    return get_module_state(mod);
   66|    116|}
itertoolsmodule.c:chain_dealloc:
 1876|    140|{
 1877|    140|    chainobject *lz = chainobject_CAST(op);
  ------------------
  |  | 1816|    140|#define chainobject_CAST(op)    ((chainobject *)(op))
  ------------------
 1878|    140|    PyTypeObject *tp = Py_TYPE(lz);
  ------------------
  |  |  213|    140|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    140|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    140|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1879|    140|    PyObject_GC_UnTrack(lz);
 1880|    140|    Py_XDECREF(lz->active);
  ------------------
  |  |  524|    140|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    140|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    140|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1881|    140|    Py_XDECREF(lz->source);
  ------------------
  |  |  524|    140|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    140|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    140|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1882|    140|    tp->tp_free(lz);
 1883|    140|    Py_DECREF(tp);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1884|    140|}
itertoolsmodule.c:chain_next:
 1937|  1.58k|{
 1938|  1.58k|    PyObject *result;
 1939|  1.58k|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|  1.58k|    {
  ------------------
 1940|  1.58k|    result = chain_next_lock_held(op);
 1941|  1.58k|    Py_END_CRITICAL_SECTION()
  ------------------
  |  |   55|  1.58k|    }
  ------------------
 1942|  1.58k|    return result;
 1943|  1.58k|}
itertoolsmodule.c:chain_next_lock_held:
 1898|  1.58k|{
 1899|  1.58k|    chainobject *lz = chainobject_CAST(op);
  ------------------
  |  | 1816|  1.58k|#define chainobject_CAST(op)    ((chainobject *)(op))
  ------------------
 1900|  1.58k|    PyObject *item;
 1901|       |
 1902|       |    /* lz->source is the iterator of iterables. If it's NULL, we've already
 1903|       |     * consumed them all. lz->active is the current iterator. If it's NULL,
 1904|       |     * we should grab a new one from lz->source. */
 1905|  1.74k|    while (lz->source != NULL) {
  ------------------
  |  Branch (1905:12): [True: 1.74k, False: 0]
  ------------------
 1906|  1.74k|        if (lz->active == NULL) {
  ------------------
  |  Branch (1906:13): [True: 300, False: 1.44k]
  ------------------
 1907|    300|            PyObject *iterable = PyIter_Next(lz->source);
 1908|    300|            if (iterable == NULL) {
  ------------------
  |  Branch (1908:17): [True: 138, False: 162]
  ------------------
 1909|    138|                Py_CLEAR(lz->source);
  ------------------
  |  |  484|    138|    do { \
  |  |  485|    138|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    138|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    138|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    138|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    138|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 138, False: 0]
  |  |  ------------------
  |  |  488|    138|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    138|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|    138|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|    138|        } \
  |  |  491|    138|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 138]
  |  |  ------------------
  ------------------
 1910|    138|                return NULL;            /* no more input sources */
 1911|    138|            }
 1912|    162|            lz->active = PyObject_GetIter(iterable);
 1913|    162|            Py_DECREF(iterable);
  ------------------
  |  |  430|    162|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    162|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    162|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1914|    162|            if (lz->active == NULL) {
  ------------------
  |  Branch (1914:17): [True: 0, False: 162]
  ------------------
 1915|      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]
  |  |  ------------------
  ------------------
 1916|      0|                return NULL;            /* input not iterable */
 1917|      0|            }
 1918|    162|        }
 1919|  1.60k|        item = (*Py_TYPE(lz->active)->tp_iternext)(lz->active);
  ------------------
  |  |  213|  1.60k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.60k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.60k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1920|  1.60k|        if (item != NULL)
  ------------------
  |  Branch (1920:13): [True: 1.44k, False: 160]
  ------------------
 1921|  1.44k|            return item;
 1922|    160|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (1922:13): [True: 0, False: 160]
  ------------------
 1923|      0|            if (PyErr_ExceptionMatches(PyExc_StopIteration))
  ------------------
  |  Branch (1923:17): [True: 0, False: 0]
  ------------------
 1924|      0|                PyErr_Clear();
 1925|      0|            else
 1926|      0|                return NULL;            /* input raised an exception */
 1927|      0|        }
 1928|       |        /* lz->active is consumed, try with the next iterable. */
 1929|    160|        Py_CLEAR(lz->active);
  ------------------
  |  |  484|    160|    do { \
  |  |  485|    160|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    160|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    160|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    160|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    160|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 160, False: 0]
  |  |  ------------------
  |  |  488|    160|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    160|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|    160|            Py_DECREF(_tmp_old_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|    160|        } \
  |  |  491|    160|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 160]
  |  |  ------------------
  ------------------
 1930|    160|    }
 1931|       |    /* Everything had been consumed already. */
 1932|      0|    return NULL;
 1933|  1.58k|}
itertoolsmodule.c:itertools_chain_from_iterable_impl:
 1864|     70|{
 1865|     70|    PyObject *source;
 1866|       |
 1867|     70|    source = PyObject_GetIter(arg);
 1868|     70|    if (source == NULL)
  ------------------
  |  Branch (1868:9): [True: 0, False: 70]
  ------------------
 1869|      0|        return NULL;
 1870|       |
 1871|     70|    return chain_new_internal(type, source);
 1872|     70|}
itertoolsmodule.c:chain_new_internal:
 1820|    140|{
 1821|    140|    chainobject *lz;
 1822|       |
 1823|    140|    lz = (chainobject *)type->tp_alloc(type, 0);
 1824|    140|    if (lz == NULL) {
  ------------------
  |  Branch (1824:9): [True: 0, False: 140]
  ------------------
 1825|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1826|      0|        return NULL;
 1827|      0|    }
 1828|       |
 1829|    140|    lz->source = source;
 1830|       |    lz->active = NULL;
 1831|    140|    return (PyObject *)lz;
 1832|    140|}
itertoolsmodule.c:chain_new:
 1836|     70|{
 1837|     70|    PyObject *source;
 1838|       |
 1839|     70|    itertools_state *state = find_state_by_type(type);
 1840|     70|    PyTypeObject *chain_type = state->chain_type;
 1841|     70|    if ((type == chain_type || type->tp_init == chain_type->tp_init) &&
  ------------------
  |  Branch (1841:10): [True: 70, False: 0]
  |  Branch (1841:32): [True: 0, False: 0]
  ------------------
 1842|     70|        !_PyArg_NoKeywords("chain", kwds))
  ------------------
  |  |   25|     70|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (25:6): [True: 70, False: 0]
  |  |  |  Branch (25:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1843|      0|        return NULL;
 1844|       |
 1845|     70|    source = PyObject_GetIter(args);
 1846|     70|    if (source == NULL)
  ------------------
  |  Branch (1846:9): [True: 0, False: 70]
  ------------------
 1847|      0|        return NULL;
 1848|       |
 1849|     70|    return chain_new_internal(type, source);
 1850|     70|}
itertoolsmodule.c:count_traverse:
 3536|     64|{
 3537|     64|    countobject *lz = countobject_CAST(op);
  ------------------
  |  | 3410|     64|#define countobject_CAST(op)    ((countobject *)(op))
  ------------------
 3538|     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]
  |  |  ------------------
  ------------------
 3539|     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]
  |  |  ------------------
  ------------------
 3540|     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]
  |  |  ------------------
  ------------------
 3541|     64|    return 0;
 3542|     64|}
itertoolsmodule.c:count_next:
 3571|      2|{
 3572|      2|    countobject *lz = countobject_CAST(op);
  ------------------
  |  | 3410|      2|#define countobject_CAST(op)    ((countobject *)(op))
  ------------------
 3573|      2|#ifndef Py_GIL_DISABLED
 3574|      2|    if (lz->cnt == PY_SSIZE_T_MAX)
  ------------------
  |  |  137|      2|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (3574:9): [True: 0, False: 2]
  ------------------
 3575|      0|        return count_nextlong(lz);
 3576|      2|    return PyLong_FromSsize_t(lz->cnt++);
 3577|       |#else
 3578|       |    // free-threading version
 3579|       |    // fast mode uses compare-exchange loop
 3580|       |    // slow mode uses a critical section
 3581|       |    PyObject *returned;
 3582|       |    Py_ssize_t cnt;
 3583|       |
 3584|       |    cnt = _Py_atomic_load_ssize_relaxed(&lz->cnt);
 3585|       |    for (;;) {
 3586|       |        if (cnt == PY_SSIZE_T_MAX) {
 3587|       |            Py_BEGIN_CRITICAL_SECTION(lz);
 3588|       |            returned = count_nextlong(lz);
 3589|       |            Py_END_CRITICAL_SECTION();
 3590|       |            return returned;
 3591|       |        }
 3592|       |        if (_Py_atomic_compare_exchange_ssize(&lz->cnt, &cnt, cnt + 1)) {
 3593|       |            return PyLong_FromSsize_t(cnt);
 3594|       |        }
 3595|       |    }
 3596|       |#endif
 3597|      2|}
itertoolsmodule.c:itertools_count_impl:
 3448|      8|{
 3449|      8|    countobject *lz;
 3450|      8|    int fast_mode;
 3451|      8|    Py_ssize_t cnt = 0;
 3452|      8|    long step;
 3453|       |
 3454|      8|    if ((long_cnt != NULL && !PyNumber_Check(long_cnt)) ||
  ------------------
  |  Branch (3454:10): [True: 4, False: 4]
  |  Branch (3454:30): [True: 0, False: 4]
  ------------------
 3455|      8|        (long_step != NULL && !PyNumber_Check(long_step))) {
  ------------------
  |  Branch (3455:10): [True: 0, False: 8]
  |  Branch (3455:31): [True: 0, False: 0]
  ------------------
 3456|      0|                    PyErr_SetString(PyExc_TypeError, "a number is required");
 3457|      0|                    return NULL;
 3458|      0|    }
 3459|       |
 3460|      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 (3460:18): [True: 4, False: 4]
  ------------------
 3461|      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 (3461:18): [True: 8, False: 0]
  ------------------
 3462|       |
 3463|       |    /* If not specified, start defaults to 0 */
 3464|      8|    if (long_cnt != NULL) {
  ------------------
  |  Branch (3464:9): [True: 4, False: 4]
  ------------------
 3465|      4|        if (fast_mode) {
  ------------------
  |  Branch (3465:13): [True: 4, False: 0]
  ------------------
 3466|      4|            assert(PyLong_Check(long_cnt));
 3467|      4|            cnt = PyLong_AsSsize_t(long_cnt);
 3468|      4|            if (cnt == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (3468:17): [True: 0, False: 4]
  |  Branch (3468:30): [True: 0, False: 0]
  ------------------
 3469|      0|                PyErr_Clear();
 3470|      0|                fast_mode = 0;
 3471|      0|            }
 3472|      4|        }
 3473|      4|    } else {
 3474|      4|        cnt = 0;
 3475|      4|        long_cnt = _PyLong_GetZero();
 3476|      4|    }
 3477|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3478|       |
 3479|       |    /* If not specified, step defaults to 1 */
 3480|      8|    if (long_step == NULL) {
  ------------------
  |  Branch (3480:9): [True: 8, False: 0]
  ------------------
 3481|      8|        long_step = _PyLong_GetOne();
 3482|      8|    }
 3483|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3484|       |
 3485|      8|    assert(long_cnt != NULL && long_step != NULL);
 3486|       |
 3487|       |    /* Fast mode only works when the step is 1 */
 3488|      8|    if (fast_mode) {
  ------------------
  |  Branch (3488:9): [True: 8, False: 0]
  ------------------
 3489|      8|        assert(PyLong_Check(long_step));
 3490|      8|        step = PyLong_AsLong(long_step);
 3491|      8|        if (step != 1) {
  ------------------
  |  Branch (3491:13): [True: 0, False: 8]
  ------------------
 3492|      0|            fast_mode = 0;
 3493|      0|            if (step == -1 && PyErr_Occurred())
  ------------------
  |  Branch (3493:17): [True: 0, False: 0]
  |  Branch (3493:31): [True: 0, False: 0]
  ------------------
 3494|      0|                PyErr_Clear();
 3495|      0|        }
 3496|      8|    }
 3497|       |
 3498|      8|    if (fast_mode)
  ------------------
  |  Branch (3498:9): [True: 8, False: 0]
  ------------------
 3499|      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]
  |  |  ------------------
  ------------------
 3500|      0|    else
 3501|      0|        cnt = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
 3502|       |
 3503|      8|    assert((long_cnt == NULL && fast_mode) ||
 3504|      8|           (cnt == PY_SSIZE_T_MAX && long_cnt != NULL && !fast_mode));
 3505|      8|    assert(!fast_mode ||
 3506|      8|           (PyLong_Check(long_step) && PyLong_AS_LONG(long_step) == 1));
 3507|       |
 3508|       |    /* create countobject structure */
 3509|      8|    lz = (countobject *)type->tp_alloc(type, 0);
 3510|      8|    if (lz == NULL) {
  ------------------
  |  Branch (3510:9): [True: 0, False: 8]
  ------------------
 3511|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3512|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3513|      0|        return NULL;
 3514|      0|    }
 3515|      8|    lz->cnt = cnt;
 3516|      8|    lz->long_cnt = long_cnt;
 3517|      8|    lz->long_step = long_step;
 3518|       |
 3519|      8|    return (PyObject *)lz;
 3520|      8|}
itertoolsmodule.c:filterfalse_dealloc:
 3325|     44|{
 3326|     44|    filterfalseobject *lz = filterfalseobject_CAST(op);
  ------------------
  |  | 3286|     44|#define filterfalseobject_CAST(op)  ((filterfalseobject *)(op))
  ------------------
 3327|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3328|     44|    PyObject_GC_UnTrack(lz);
 3329|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3330|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3331|     44|    tp->tp_free(lz);
 3332|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3333|     44|}
itertoolsmodule.c:filterfalse_next:
 3347|    238|{
 3348|    238|    filterfalseobject *lz = filterfalseobject_CAST(op);
  ------------------
  |  | 3286|    238|#define filterfalseobject_CAST(op)  ((filterfalseobject *)(op))
  ------------------
 3349|    238|    PyObject *item;
 3350|    238|    PyObject *it = lz->it;
 3351|    238|    long ok;
 3352|    238|    PyObject *(*iternext)(PyObject *);
 3353|       |
 3354|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3355|    250|    for (;;) {
 3356|    250|        item = iternext(it);
 3357|    250|        if (item == NULL)
  ------------------
  |  Branch (3357:13): [True: 44, False: 206]
  ------------------
 3358|     44|            return NULL;
 3359|       |
 3360|    206|        if (lz->func == Py_None || lz->func == (PyObject *)&PyBool_Type) {
  ------------------
  |  |  616|    412|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3360:13): [True: 0, False: 206]
  |  Branch (3360:36): [True: 0, False: 206]
  ------------------
 3361|      0|            ok = PyObject_IsTrue(item);
 3362|    206|        } else {
 3363|    206|            PyObject *good;
 3364|    206|            good = PyObject_CallOneArg(lz->func, item);
 3365|    206|            if (good == NULL) {
  ------------------
  |  Branch (3365:17): [True: 0, False: 206]
  ------------------
 3366|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3367|      0|                return NULL;
 3368|      0|            }
 3369|    206|            ok = PyObject_IsTrue(good);
 3370|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3371|    206|        }
 3372|    206|        if (ok == 0)
  ------------------
  |  Branch (3372:13): [True: 194, False: 12]
  ------------------
 3373|    194|            return item;
 3374|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3375|     12|        if (ok < 0)
  ------------------
  |  Branch (3375:13): [True: 0, False: 12]
  ------------------
 3376|      0|            return NULL;
 3377|     12|    }
 3378|    238|}
itertoolsmodule.c:itertools_filterfalse_impl:
 3302|     44|{
 3303|     44|    PyObject *it;
 3304|     44|    filterfalseobject *lz;
 3305|       |
 3306|       |    /* Get iterator. */
 3307|     44|    it = PyObject_GetIter(seq);
 3308|     44|    if (it == NULL)
  ------------------
  |  Branch (3308:9): [True: 0, False: 44]
  ------------------
 3309|      0|        return NULL;
 3310|       |
 3311|       |    /* create filterfalseobject structure */
 3312|     44|    lz = (filterfalseobject *)type->tp_alloc(type, 0);
 3313|     44|    if (lz == NULL) {
  ------------------
  |  Branch (3313:9): [True: 0, False: 44]
  ------------------
 3314|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3315|      0|        return NULL;
 3316|      0|    }
 3317|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3318|     44|    lz->it = it;
 3319|       |
 3320|     44|    return (PyObject *)lz;
 3321|     44|}
itertoolsmodule.c:pairwise_dealloc:
  323|      2|{
  324|      2|    pairwiseobject *po = pairwiseobject_CAST(op);
  ------------------
  |  |  282|      2|#define pairwiseobject_CAST(op) ((pairwiseobject *)(op))
  ------------------
  325|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  326|      2|    PyObject_GC_UnTrack(po);
  327|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  328|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  329|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  330|      2|    tp->tp_free(po);
  331|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  332|      2|}
itertoolsmodule.c:pairwise_next:
  347|     12|{
  348|     12|    pairwiseobject *po = pairwiseobject_CAST(op);
  ------------------
  |  |  282|     12|#define pairwiseobject_CAST(op) ((pairwiseobject *)(op))
  ------------------
  349|     12|    PyObject *it = po->it;
  350|     12|    PyObject *old = po->old;
  351|     12|    PyObject *new, *result;
  352|       |
  353|     12|    if (it == NULL) {
  ------------------
  |  Branch (353:9): [True: 0, False: 12]
  ------------------
  354|      0|        return NULL;
  355|      0|    }
  356|     12|    if (old == NULL) {
  ------------------
  |  Branch (356:9): [True: 2, False: 10]
  ------------------
  357|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  358|      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]
  |  |  ------------------
  ------------------
  359|      2|        if (old == NULL) {
  ------------------
  |  Branch (359:13): [True: 0, False: 2]
  ------------------
  360|      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]
  |  |  ------------------
  ------------------
  361|      0|            return NULL;
  362|      0|        }
  363|      2|        it = po->it;
  364|      2|        if (it == NULL) {
  ------------------
  |  Branch (364:13): [True: 0, False: 2]
  ------------------
  365|      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]
  |  |  ------------------
  ------------------
  366|      0|            return NULL;
  367|      0|        }
  368|      2|    }
  369|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  370|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  371|     12|    if (new == NULL) {
  ------------------
  |  Branch (371:9): [True: 2, False: 10]
  ------------------
  372|      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]
  |  |  ------------------
  ------------------
  373|      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]
  |  |  ------------------
  ------------------
  374|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  375|      2|        return NULL;
  376|      2|    }
  377|       |
  378|     10|    result = po->result;
  379|     10|    if (_PyObject_IsUniquelyReferenced(result)) {
  ------------------
  |  Branch (379:9): [True: 10, False: 0]
  ------------------
  380|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  381|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  382|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  383|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  384|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  385|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  386|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  387|       |        // bpo-42536: The GC may have untracked this result tuple. Since we're
  388|       |        // recycling it, make sure it's tracked again:
  389|     10|        _PyTuple_Recycle(result);
  390|     10|    }
  391|      0|    else {
  392|      0|        result = _PyTuple_FromPair(old, new);
  393|      0|    }
  394|       |
  395|     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]
  |  |  ------------------
  ------------------
  396|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  397|     10|    return result;
  398|     12|}
itertoolsmodule.c:pairwise_new_impl:
  298|      2|{
  299|      2|    PyObject *it;
  300|      2|    pairwiseobject *po;
  301|       |
  302|      2|    it = PyObject_GetIter(iterable);
  303|      2|    if (it == NULL) {
  ------------------
  |  Branch (303:9): [True: 0, False: 2]
  ------------------
  304|      0|        return NULL;
  305|      0|    }
  306|      2|    po = (pairwiseobject *)type->tp_alloc(type, 0);
  307|      2|    if (po == NULL) {
  ------------------
  |  Branch (307:9): [True: 0, False: 2]
  ------------------
  308|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  309|      0|        return NULL;
  310|      0|    }
  311|      2|    po->it = it;
  312|      2|    po->old = NULL;
  313|      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)
  ------------------
  314|      2|    if (po->result == NULL) {
  ------------------
  |  Branch (314:9): [True: 0, False: 2]
  ------------------
  315|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  316|      0|        return NULL;
  317|      0|    }
  318|      2|    return (PyObject *)po;
  319|      2|}
itertoolsmodule.c:permutations_dealloc:
 2839|     48|{
 2840|     48|    permutationsobject *po = permutationsobject_CAST(op);
  ------------------
  |  | 2757|     48|#define permutationsobject_CAST(op) ((permutationsobject *)(op))
  ------------------
 2841|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2842|     48|    PyObject_GC_UnTrack(po);
 2843|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2844|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2845|     48|    PyMem_Free(po->indices);
 2846|     48|    PyMem_Free(po->cycles);
 2847|     48|    tp->tp_free(po);
 2848|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2849|     48|}
itertoolsmodule.c:permutations_next:
 2964|    114|{
 2965|    114|    PyObject *result;
 2966|    114|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|    114|    {
  ------------------
 2967|    114|    result = permutations_next_lock_held(op);
 2968|    114|    Py_END_CRITICAL_SECTION()
  ------------------
  |  |   55|    114|    }
  ------------------
 2969|    114|    return result;
 2970|    114|}
itertoolsmodule.c:permutations_next_lock_held:
 2873|    114|{
 2874|    114|    permutationsobject *po = permutationsobject_CAST(op);
  ------------------
  |  | 2757|    114|#define permutationsobject_CAST(op) ((permutationsobject *)(op))
  ------------------
 2875|    114|    PyObject *elem;
 2876|    114|    PyObject *oldelem;
 2877|    114|    PyObject *pool = po->pool;
 2878|    114|    Py_ssize_t *indices = po->indices;
 2879|    114|    Py_ssize_t *cycles = po->cycles;
 2880|    114|    PyObject *result = po->result;
 2881|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2882|    114|    Py_ssize_t r = po->r;
 2883|    114|    Py_ssize_t i, j, k, index;
 2884|       |
 2885|    114|    if (po->stopped)
  ------------------
  |  Branch (2885:9): [True: 0, False: 114]
  ------------------
 2886|      0|        return NULL;
 2887|       |
 2888|    114|    if (result == NULL) {
  ------------------
  |  Branch (2888:9): [True: 48, False: 66]
  ------------------
 2889|       |        /* On the first pass, initialize result tuple using the indices */
 2890|     48|        result = PyTuple_New(r);
 2891|     48|        if (result == NULL)
  ------------------
  |  Branch (2891:13): [True: 0, False: 48]
  ------------------
 2892|      0|            goto empty;
 2893|     48|        po->result = result;
 2894|    114|        for (i=0; i<r ; i++) {
  ------------------
  |  Branch (2894:19): [True: 66, False: 48]
  ------------------
 2895|     66|            index = indices[i];
 2896|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2897|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2898|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2899|     66|        }
 2900|     66|    } else {
 2901|     66|        if (n == 0)
  ------------------
  |  Branch (2901:13): [True: 0, False: 66]
  ------------------
 2902|      0|            goto empty;
 2903|       |
 2904|       |        /* Copy the previous result tuple or re-use it if available */
 2905|     66|        if (!_PyObject_IsUniquelyReferenced(result)) {
  ------------------
  |  Branch (2905:13): [True: 66, False: 0]
  ------------------
 2906|     66|            PyObject *old_result = result;
 2907|     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))
  |  |  ------------------
  ------------------
 2908|     66|            if (result == NULL)
  ------------------
  |  Branch (2908:17): [True: 0, False: 66]
  ------------------
 2909|      0|                goto empty;
 2910|     66|            po->result = result;
 2911|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2912|     66|        }
 2913|       |        // bpo-42536: The GC may have untracked this result tuple. Since we're
 2914|       |        // recycling it, make sure it's tracked again:
 2915|      0|        else {
 2916|      0|            _PyTuple_Recycle(result);
 2917|      0|        }
 2918|       |        /* Now, we've got the only copy so we can update it in-place */
 2919|     66|        assert(r == 0 || Py_REFCNT(result) == 1);
 2920|       |
 2921|       |        /* Decrement rightmost cycle, moving leftward upon zero rollover */
 2922|    150|        for (i=r-1 ; i>=0 ; i--) {
  ------------------
  |  Branch (2922:22): [True: 102, False: 48]
  ------------------
 2923|    102|            cycles[i] -= 1;
 2924|    102|            if (cycles[i] == 0) {
  ------------------
  |  Branch (2924:17): [True: 84, False: 18]
  ------------------
 2925|       |                /* rotatation: indices[i:] = indices[i+1:] + indices[i:i+1] */
 2926|     84|                index = indices[i];
 2927|    102|                for (j=i ; j<n-1 ; j++)
  ------------------
  |  Branch (2927:28): [True: 18, False: 84]
  ------------------
 2928|     18|                    indices[j] = indices[j+1];
 2929|     84|                indices[n-1] = index;
 2930|     84|                cycles[i] = n - i;
 2931|     84|            } else {
 2932|     18|                j = cycles[i];
 2933|     18|                index = indices[i];
 2934|     18|                indices[i] = indices[n-j];
 2935|     18|                indices[n-j] = index;
 2936|       |
 2937|     54|                for (k=i; k<r ; k++) {
  ------------------
  |  Branch (2937:27): [True: 36, False: 18]
  ------------------
 2938|       |                    /* start with i, the leftmost element that changed */
 2939|       |                    /* yield tuple(pool[k] for k in indices[:r]) */
 2940|     36|                    index = indices[k];
 2941|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2942|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2943|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2944|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2945|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2946|     36|                }
 2947|     18|                break;
 2948|     18|            }
 2949|    102|        }
 2950|       |        /* If i is negative, then the cycles have all
 2951|       |           rolled-over and we're done. */
 2952|     66|        if (i < 0)
  ------------------
  |  Branch (2952:13): [True: 48, False: 18]
  ------------------
 2953|     48|            goto empty;
 2954|     66|    }
 2955|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2956|       |
 2957|     48|empty:
 2958|     48|    po->stopped = 1;
 2959|       |    return NULL;
 2960|    114|}
itertoolsmodule.c:itertools_permutations_impl:
 2773|     48|{
 2774|     48|    permutationsobject *po;
 2775|     48|    Py_ssize_t n;
 2776|     48|    Py_ssize_t r;
 2777|     48|    PyObject *pool = NULL;
 2778|     48|    Py_ssize_t *indices = NULL;
 2779|     48|    Py_ssize_t *cycles = NULL;
 2780|     48|    Py_ssize_t i;
 2781|       |
 2782|     48|    pool = PySequence_Tuple(iterable);
 2783|     48|    if (pool == NULL)
  ------------------
  |  Branch (2783:9): [True: 0, False: 48]
  ------------------
 2784|      0|        goto error;
 2785|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2786|       |
 2787|     48|    r = n;
 2788|     48|    if (robj != Py_None) {
  ------------------
  |  |  616|     48|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2788:9): [True: 0, False: 48]
  ------------------
 2789|      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 (2789:13): [True: 0, False: 0]
  ------------------
 2790|      0|            PyErr_SetString(PyExc_TypeError, "Expected int as r");
 2791|      0|            goto error;
 2792|      0|        }
 2793|      0|        r = PyLong_AsSsize_t(robj);
 2794|      0|        if (r == -1 && PyErr_Occurred())
  ------------------
  |  Branch (2794:13): [True: 0, False: 0]
  |  Branch (2794:24): [True: 0, False: 0]
  ------------------
 2795|      0|            goto error;
 2796|      0|    }
 2797|     48|    if (r < 0) {
  ------------------
  |  Branch (2797:9): [True: 0, False: 48]
  ------------------
 2798|      0|        PyErr_SetString(PyExc_ValueError, "r must be non-negative");
 2799|      0|        goto error;
 2800|      0|    }
 2801|       |
 2802|     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)) ) )
  ------------------
 2803|     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)) ) )
  ------------------
 2804|     48|    if (indices == NULL || cycles == NULL) {
  ------------------
  |  Branch (2804:9): [True: 0, False: 48]
  |  Branch (2804:28): [True: 0, False: 48]
  ------------------
 2805|      0|        PyErr_NoMemory();
 2806|      0|        goto error;
 2807|      0|    }
 2808|       |
 2809|    114|    for (i=0 ; i<n ; i++)
  ------------------
  |  Branch (2809:16): [True: 66, False: 48]
  ------------------
 2810|     66|        indices[i] = i;
 2811|    114|    for (i=0 ; i<r ; i++)
  ------------------
  |  Branch (2811:16): [True: 66, False: 48]
  ------------------
 2812|     66|        cycles[i] = n - i;
 2813|       |
 2814|       |    /* create permutationsobject structure */
 2815|     48|    po = (permutationsobject *)type->tp_alloc(type, 0);
 2816|     48|    if (po == NULL)
  ------------------
  |  Branch (2816:9): [True: 0, False: 48]
  ------------------
 2817|      0|        goto error;
 2818|       |
 2819|     48|    po->pool = pool;
 2820|     48|    po->indices = indices;
 2821|     48|    po->cycles = cycles;
 2822|     48|    po->result = NULL;
 2823|     48|    po->r = r;
 2824|     48|    po->stopped = r > n ? 1 : 0;
  ------------------
  |  Branch (2824:19): [True: 0, False: 48]
  ------------------
 2825|       |
 2826|     48|    return (PyObject *)po;
 2827|       |
 2828|      0|error:
 2829|      0|    if (indices != NULL)
  ------------------
  |  Branch (2829:9): [True: 0, False: 0]
  ------------------
 2830|      0|        PyMem_Free(indices);
 2831|      0|    if (cycles != NULL)
  ------------------
  |  Branch (2831:9): [True: 0, False: 0]
  ------------------
 2832|      0|        PyMem_Free(cycles);
 2833|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2834|       |    return NULL;
 2835|     48|}
itertoolsmodule.c:product_dealloc:
 2079|     66|{
 2080|     66|    productobject *lz = productobject_CAST(op);
  ------------------
  |  | 1992|     66|#define productobject_CAST(op)  ((productobject *)(op))
  ------------------
 2081|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2082|     66|    PyObject_GC_UnTrack(lz);
 2083|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2084|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2085|     66|    PyMem_Free(lz->indices);
 2086|     66|    tp->tp_free(lz);
 2087|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2088|     66|}
itertoolsmodule.c:product_next:
 2200|    270|{
 2201|    270|    PyObject *result;
 2202|    270|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|    270|    {
  ------------------
 2203|    270|    result = product_next_lock_held(op);
 2204|    270|    Py_END_CRITICAL_SECTION()
  ------------------
  |  |   55|    270|    }
  ------------------
 2205|    270|    return result;
 2206|    270|}
itertoolsmodule.c:product_next_lock_held:
 2113|    270|{
 2114|    270|    productobject *lz = productobject_CAST(op);
  ------------------
  |  | 1992|    270|#define productobject_CAST(op)  ((productobject *)(op))
  ------------------
 2115|    270|    PyObject *pool;
 2116|    270|    PyObject *elem;
 2117|    270|    PyObject *oldelem;
 2118|    270|    PyObject *pools = lz->pools;
 2119|    270|    PyObject *result = lz->result;
 2120|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2121|    270|    Py_ssize_t i;
 2122|       |
 2123|    270|    if (lz->stopped)
  ------------------
  |  Branch (2123:9): [True: 0, False: 270]
  ------------------
 2124|      0|        return NULL;
 2125|       |
 2126|    270|    if (result == NULL) {
  ------------------
  |  Branch (2126:9): [True: 66, False: 204]
  ------------------
 2127|       |        /* On the first pass, return an initial tuple filled with the
 2128|       |           first element from each pool. */
 2129|     66|        result = PyTuple_New(npools);
 2130|     66|        if (result == NULL)
  ------------------
  |  Branch (2130:13): [True: 0, False: 66]
  ------------------
 2131|      0|            goto empty;
 2132|     66|        lz->result = result;
 2133|    168|        for (i=0; i < npools; i++) {
  ------------------
  |  Branch (2133:19): [True: 102, False: 66]
  ------------------
 2134|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2135|    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 (2135:17): [True: 0, False: 102]
  ------------------
 2136|      0|                goto empty;
 2137|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2138|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2139|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2140|    102|        }
 2141|    204|    } else {
 2142|    204|        Py_ssize_t *indices = lz->indices;
 2143|       |
 2144|       |        /* Copy the previous result tuple or re-use it if available */
 2145|    204|        if (!_PyObject_IsUniquelyReferenced(result)) {
  ------------------
  |  Branch (2145:13): [True: 204, False: 0]
  ------------------
 2146|    204|            PyObject *old_result = result;
 2147|    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))
  |  |  ------------------
  ------------------
 2148|    204|            if (result == NULL)
  ------------------
  |  Branch (2148:17): [True: 0, False: 204]
  ------------------
 2149|      0|                goto empty;
 2150|    204|            lz->result = result;
 2151|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2152|    204|        }
 2153|       |        // bpo-42536: The GC may have untracked this result tuple. Since we're
 2154|       |        // recycling it, make sure it's tracked again:
 2155|      0|        else {
 2156|      0|            _PyTuple_Recycle(result);
 2157|      0|        }
 2158|       |        /* Now, we've got the only copy so we can update it in-place */
 2159|    204|        assert (npools==0 || Py_REFCNT(result) == 1);
 2160|       |
 2161|       |        /* Update the pool indices right-to-left.  Only advance to the
 2162|       |           next pool when the previous one rolls-over */
 2163|    342|        for (i=npools-1 ; i >= 0 ; i--) {
  ------------------
  |  Branch (2163:27): [True: 276, False: 66]
  ------------------
 2164|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2165|    276|            indices[i]++;
 2166|    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 (2166:17): [True: 138, False: 138]
  ------------------
 2167|       |                /* Roll-over and advance to next pool */
 2168|    138|                indices[i] = 0;
 2169|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2170|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2171|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2172|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2173|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2174|    138|            } else {
 2175|       |                /* No rollover. Just increment and stop here. */
 2176|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2177|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2178|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2179|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2180|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2181|    138|                break;
 2182|    138|            }
 2183|    276|        }
 2184|       |
 2185|       |        /* If i is negative, then the indices have all rolled-over
 2186|       |           and we're done. */
 2187|    204|        if (i < 0)
  ------------------
  |  Branch (2187:13): [True: 66, False: 138]
  ------------------
 2188|     66|            goto empty;
 2189|    204|    }
 2190|       |
 2191|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2192|       |
 2193|     66|empty:
 2194|     66|    lz->stopped = 1;
 2195|       |    return NULL;
 2196|    270|}
itertoolsmodule.c:product_new:
 1996|     66|{
 1997|     66|    productobject *lz;
 1998|     66|    Py_ssize_t nargs, npools, repeat=1;
 1999|     66|    PyObject *pools = NULL;
 2000|     66|    Py_ssize_t *indices = NULL;
 2001|     66|    Py_ssize_t i;
 2002|       |
 2003|     66|    if (kwds != NULL) {
  ------------------
  |  Branch (2003:9): [True: 0, False: 66]
  ------------------
 2004|      0|        char *kwlist[] = {"repeat", 0};
 2005|      0|        PyObject *tmpargs = PyTuple_New(0);
 2006|      0|        if (tmpargs == NULL)
  ------------------
  |  Branch (2006:13): [True: 0, False: 0]
  ------------------
 2007|      0|            return NULL;
 2008|      0|        if (!PyArg_ParseTupleAndKeywords(tmpargs, kwds, "|n:product",
  ------------------
  |  Branch (2008:13): [True: 0, False: 0]
  ------------------
 2009|      0|                                         kwlist, &repeat)) {
 2010|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2011|      0|            return NULL;
 2012|      0|        }
 2013|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2014|      0|        if (repeat < 0) {
  ------------------
  |  Branch (2014:13): [True: 0, False: 0]
  ------------------
 2015|      0|            PyErr_SetString(PyExc_ValueError,
 2016|      0|                            "repeat argument cannot be negative");
 2017|      0|            return NULL;
 2018|      0|        }
 2019|      0|    }
 2020|       |
 2021|     66|    assert(PyTuple_CheckExact(args));
 2022|     66|    if (repeat == 0) {
  ------------------
  |  Branch (2022:9): [True: 0, False: 66]
  ------------------
 2023|      0|        nargs = 0;
 2024|     66|    } else {
 2025|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2026|     66|        if ((size_t)nargs > PY_SSIZE_T_MAX/sizeof(Py_ssize_t)/repeat) {
  ------------------
  |  |  137|     66|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (2026:13): [True: 0, False: 66]
  ------------------
 2027|      0|            PyErr_SetString(PyExc_OverflowError, "repeat argument too large");
 2028|      0|            return NULL;
 2029|      0|        }
 2030|     66|    }
 2031|     66|    npools = nargs * repeat;
 2032|       |
 2033|     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)) ) )
  ------------------
 2034|     66|    if (indices == NULL) {
  ------------------
  |  Branch (2034:9): [True: 0, False: 66]
  ------------------
 2035|      0|        PyErr_NoMemory();
 2036|      0|        goto error;
 2037|      0|    }
 2038|       |
 2039|     66|    pools = PyTuple_New(npools);
 2040|     66|    if (pools == NULL)
  ------------------
  |  Branch (2040:9): [True: 0, False: 66]
  ------------------
 2041|      0|        goto error;
 2042|       |
 2043|    168|    for (i=0; i < nargs ; ++i) {
  ------------------
  |  Branch (2043:15): [True: 102, False: 66]
  ------------------
 2044|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2045|    102|        PyObject *pool = PySequence_Tuple(item);
 2046|    102|        if (pool == NULL)
  ------------------
  |  Branch (2046:13): [True: 0, False: 102]
  ------------------
 2047|      0|            goto error;
 2048|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2049|    102|        indices[i] = 0;
 2050|    102|    }
 2051|     66|    for ( ; i < npools; ++i) {
  ------------------
  |  Branch (2051:13): [True: 0, False: 66]
  ------------------
 2052|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2053|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2054|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2055|      0|        indices[i] = 0;
 2056|      0|    }
 2057|       |
 2058|       |    /* create productobject structure */
 2059|     66|    lz = (productobject *)type->tp_alloc(type, 0);
 2060|     66|    if (lz == NULL)
  ------------------
  |  Branch (2060:9): [True: 0, False: 66]
  ------------------
 2061|      0|        goto error;
 2062|       |
 2063|     66|    lz->pools = pools;
 2064|     66|    lz->indices = indices;
 2065|     66|    lz->result = NULL;
 2066|     66|    lz->stopped = 0;
 2067|       |
 2068|     66|    return (PyObject *)lz;
 2069|       |
 2070|      0|error:
 2071|      0|    if (indices != NULL)
  ------------------
  |  Branch (2071:9): [True: 0, False: 0]
  ------------------
 2072|      0|        PyMem_Free(indices);
 2073|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2074|       |    return NULL;
 2075|     66|}
itertoolsmodule.c:repeat_dealloc:
 3684|      5|{
 3685|      5|    repeatobject *ro = repeatobject_CAST(op);
  ------------------
  |  | 3654|      5|#define repeatobject_CAST(op)   ((repeatobject *)(op))
  ------------------
 3686|      5|    PyTypeObject *tp = Py_TYPE(ro);
  ------------------
  |  |  213|      5|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3687|      5|    PyObject_GC_UnTrack(ro);
 3688|      5|    Py_XDECREF(ro->element);
  ------------------
  |  |  524|      5|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3689|      5|    tp->tp_free(ro);
 3690|      5|    Py_DECREF(tp);
  ------------------
  |  |  430|      5|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3691|      5|}
itertoolsmodule.c:repeat_next:
 3704|     29|{
 3705|     29|    repeatobject *ro = repeatobject_CAST(op);
  ------------------
  |  | 3654|     29|#define repeatobject_CAST(op)   ((repeatobject *)(op))
  ------------------
 3706|     29|    Py_ssize_t cnt = FT_ATOMIC_LOAD_SSIZE_RELAXED(ro->cnt);
  ------------------
  |  |  148|     29|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 3707|     29|    if (cnt == 0) {
  ------------------
  |  Branch (3707:9): [True: 3, False: 26]
  ------------------
 3708|      3|        return NULL;
 3709|      3|    }
 3710|     26|    if (cnt > 0) {
  ------------------
  |  Branch (3710:9): [True: 26, False: 0]
  ------------------
 3711|     26|        cnt--;
 3712|     26|        FT_ATOMIC_STORE_SSIZE_RELAXED(ro->cnt, cnt);
  ------------------
  |  |  193|     26|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
 3713|     26|    }
 3714|     26|    return Py_NewRef(ro->element);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3715|     29|}
itertoolsmodule.c:repeat_new:
 3658|      5|{
 3659|      5|    repeatobject *ro;
 3660|      5|    PyObject *element;
 3661|      5|    Py_ssize_t cnt = -1, n_args;
 3662|      5|    static char *kwargs[] = {"object", "times", NULL};
 3663|       |
 3664|      5|    n_args = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|      5|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3665|      5|    if (kwds != NULL)
  ------------------
  |  Branch (3665:9): [True: 0, False: 5]
  ------------------
 3666|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3667|      5|    if (!PyArg_ParseTupleAndKeywords(args, kwds, "O|n:repeat", kwargs,
  ------------------
  |  Branch (3667:9): [True: 0, False: 5]
  ------------------
 3668|      5|                                     &element, &cnt))
 3669|      0|        return NULL;
 3670|       |    /* Does user supply times argument? */
 3671|      5|    if (n_args == 2 && cnt < 0)
  ------------------
  |  Branch (3671:9): [True: 5, False: 0]
  |  Branch (3671:24): [True: 0, False: 5]
  ------------------
 3672|      0|        cnt = 0;
 3673|       |
 3674|      5|    ro = (repeatobject *)type->tp_alloc(type, 0);
 3675|      5|    if (ro == NULL)
  ------------------
  |  Branch (3675:9): [True: 0, False: 5]
  ------------------
 3676|      0|        return NULL;
 3677|      5|    ro->element = Py_NewRef(element);
  ------------------
  |  |  550|      5|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3678|      5|    ro->cnt = cnt;
 3679|      5|    return (PyObject *)ro;
 3680|      5|}
itertoolsmodule.c:itertoolsmodule_traverse:
 4032|     16|{
 4033|     16|    itertools_state *state = get_module_state(mod);
 4034|     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]
  |  |  ------------------
  ------------------
 4035|     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]
  |  |  ------------------
  ------------------
 4036|     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]
  |  |  ------------------
  ------------------
 4037|     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]
  |  |  ------------------
  ------------------
 4038|     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]
  |  |  ------------------
  ------------------
 4039|     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]
  |  |  ------------------
  ------------------
 4040|     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]
  |  |  ------------------
  ------------------
 4041|     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]
  |  |  ------------------
  ------------------
 4042|     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]
  |  |  ------------------
  ------------------
 4043|     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]
  |  |  ------------------
  ------------------
 4044|     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]
  |  |  ------------------
  ------------------
 4045|     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]
  |  |  ------------------
  ------------------
 4046|     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]
  |  |  ------------------
  ------------------
 4047|     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]
  |  |  ------------------
  ------------------
 4048|     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]
  |  |  ------------------
  ------------------
 4049|     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]
  |  |  ------------------
  ------------------
 4050|     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]
  |  |  ------------------
  ------------------
 4051|     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]
  |  |  ------------------
  ------------------
 4052|     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]
  |  |  ------------------
  ------------------
 4053|     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]
  |  |  ------------------
  ------------------
 4054|     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]
  |  |  ------------------
  ------------------
 4055|     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]
  |  |  ------------------
  ------------------
 4056|     16|    return 0;
 4057|     16|}

_PyLong_FromUid:
  843|  26.1k|{
  844|  26.1k|    if (uid == (uid_t)-1)
  ------------------
  |  Branch (844:9): [True: 0, False: 26.1k]
  ------------------
  845|      0|        return PyLong_FromLong(-1);
  846|  26.1k|    return PyLong_FromUnsignedLong(uid);
  847|  26.1k|}
_PyLong_FromGid:
  851|  26.1k|{
  852|  26.1k|    if (gid == (gid_t)-1)
  ------------------
  |  Branch (852:9): [True: 0, False: 26.1k]
  ------------------
  853|      0|        return PyLong_FromLong(-1);
  854|  26.1k|    return PyLong_FromUnsignedLong(gid);
  855|  26.1k|}
PyOS_FSPath:
17106|  70.7k|{
17107|       |    /* For error message reasons, this function is manually inlined in
17108|       |       path_converter(). */
17109|  70.7k|    PyObject *func = NULL;
17110|  70.7k|    PyObject *path_repr = NULL;
17111|       |
17112|  70.7k|    if (PyUnicode_Check(path) || PyBytes_Check(path)) {
  ------------------
  |  |  103|  70.7k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   141k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 70.6k, False: 32]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyUnicode_Check(path) || PyBytes_Check(path)) {
  ------------------
  |  |   28|     32|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     32|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 32]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
17113|  70.6k|        return Py_NewRef(path);
  ------------------
  |  |  550|  70.6k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  70.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  70.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
17114|  70.6k|    }
17115|       |
17116|     32|    func = _PyObject_LookupSpecial(path, &_Py_ID(__fspath__));
  ------------------
  |  |  915|     32|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     32|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     32|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
17117|     32|    if ((NULL == func) || (func == Py_None)) {
  ------------------
  |  |  616|     32|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (17117:9): [True: 0, False: 32]
  |  Branch (17117:27): [True: 0, False: 32]
  ------------------
17118|      0|        return PyErr_Format(PyExc_TypeError,
17119|      0|                            "expected str, bytes or os.PathLike object, "
17120|      0|                            "not %.200s",
17121|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
17122|      0|    }
17123|       |
17124|     32|    path_repr = _PyObject_CallNoArgs(func);
17125|     32|    Py_DECREF(func);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
17126|     32|    if (NULL == path_repr) {
  ------------------
  |  Branch (17126:9): [True: 0, False: 32]
  ------------------
17127|      0|        return NULL;
17128|      0|    }
17129|       |
17130|     32|    if (!(PyUnicode_Check(path_repr) || PyBytes_Check(path_repr))) {
  ------------------
  |  |  103|     32|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     64|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 32, 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
17131|      0|        PyErr_Format(PyExc_TypeError,
17132|      0|                     "expected %.200s.__fspath__() to return str or bytes, "
17133|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
17134|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
17135|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
17136|      0|        return NULL;
17137|      0|    }
17138|       |
17139|     32|    return path_repr;
17140|     32|}
PyInit_posix:
18847|      2|{
18848|      2|    return PyModuleDef_Init(&posixmodule);
18849|      2|}
posixmodule.c:path_converter:
 1381|  40.6k|{
 1382|  40.6k|    path_t *path = (path_t *)p;
 1383|  40.6k|    PyObject *bytes = NULL;
 1384|  40.6k|    Py_ssize_t length = 0;
 1385|  40.6k|    int is_index, is_bytes, is_unicode;
 1386|  40.6k|    const char *narrow;
 1387|  40.6k|    PyObject *wo = NULL;
 1388|  40.6k|    wchar_t *wide = NULL;
 1389|       |
 1390|  40.6k|#define FORMAT_EXCEPTION(exc, fmt) \
 1391|  40.6k|    PyErr_Format(exc, "%s%s" fmt, \
 1392|  40.6k|        path->function_name ? path->function_name : "", \
 1393|  40.6k|        path->function_name ? ": "                : "", \
 1394|  40.6k|        path->argument_name ? path->argument_name : "path")
 1395|       |
 1396|       |    /* Py_CLEANUP_SUPPORTED support */
 1397|  40.6k|    if (o == NULL) {
  ------------------
  |  Branch (1397:9): [True: 0, False: 40.6k]
  ------------------
 1398|      0|        path_cleanup(path);
 1399|      0|        return 1;
 1400|      0|    }
 1401|       |
 1402|       |    /* Ensure it's always safe to call path_cleanup(). */
 1403|  40.6k|    path->object = path->cleanup = NULL;
 1404|       |    /* path->object owns a reference to the original object */
 1405|  40.6k|    Py_INCREF(o);
  ------------------
  |  |  310|  40.6k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  40.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  40.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1406|       |
 1407|  40.6k|    if ((o == Py_None) && path->nullable) {
  ------------------
  |  |  616|  40.6k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1407:9): [True: 0, False: 40.6k]
  |  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|  40.6k|    is_index = path->allow_fd && PyIndex_Check(o);
  ------------------
  |  Branch (1416:16): [True: 40.2k, False: 424]
  |  Branch (1416:34): [True: 0, False: 40.2k]
  ------------------
 1417|  40.6k|    is_bytes = PyBytes_Check(o);
  ------------------
  |  |   28|  40.6k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  40.6k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
 1418|  40.6k|    is_unicode = PyUnicode_Check(o);
  ------------------
  |  |  103|  40.6k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  40.6k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
 1419|       |
 1420|  40.6k|    if (!is_index && !is_unicode && !is_bytes) {
  ------------------
  |  Branch (1420:9): [True: 40.6k, False: 0]
  |  Branch (1420:22): [True: 11, False: 40.6k]
  |  Branch (1420:37): [True: 11, False: 0]
  ------------------
 1421|       |        /* Inline PyOS_FSPath() for better error messages. */
 1422|     11|        PyObject *func, *res;
 1423|       |
 1424|     11|        func = _PyObject_LookupSpecial(o, &_Py_ID(__fspath__));
  ------------------
  |  |  915|     11|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     11|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     11|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1425|     11|        if ((NULL == func) || (func == Py_None)) {
  ------------------
  |  |  616|     11|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1425:13): [True: 0, False: 11]
  |  Branch (1425:31): [True: 0, False: 11]
  ------------------
 1426|      0|            goto error_format;
 1427|      0|        }
 1428|     11|        res = _PyObject_CallNoArgs(func);
 1429|     11|        Py_DECREF(func);
  ------------------
  |  |  430|     11|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1430|     11|        if (NULL == res) {
  ------------------
  |  Branch (1430:13): [True: 0, False: 11]
  ------------------
 1431|      0|            goto error_exit;
 1432|      0|        }
 1433|     11|        else if (PyUnicode_Check(res)) {
  ------------------
  |  |  103|     11|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     11|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 11, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1434|     11|            is_unicode = 1;
 1435|     11|        }
 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|     11|        Py_SETREF(o, res);
  ------------------
  |  |  352|     11|    do { \
  |  |  353|     11|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     11|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|     11|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     11|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|     11|        *_tmp_dst_ptr = (src); \
  |  |  356|     11|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|     11|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|     11|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 11]
  |  |  ------------------
  ------------------
 1450|     11|    }
 1451|       |
 1452|  40.6k|    if (is_unicode) {
  ------------------
  |  Branch (1452:9): [True: 40.6k, False: 0]
  ------------------
 1453|  40.6k|        if (path->make_wide) {
  ------------------
  |  Branch (1453:13): [True: 165, False: 40.4k]
  ------------------
 1454|    165|            wide = PyUnicode_AsWideCharString(o, &length);
 1455|    165|            if (!wide) {
  ------------------
  |  Branch (1455:17): [True: 0, False: 165]
  ------------------
 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|    165|            if (!path->nonstrict && wcslen(wide) != (size_t)length) {
  ------------------
  |  Branch (1464:17): [True: 0, False: 165]
  |  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|    165|            path->wide = wide;
 1471|    165|            path->narrow = NULL;
 1472|    165|            path->fd = -1;
 1473|    165|            wide = NULL;
 1474|    165|            goto success_exit;
 1475|    165|        }
 1476|  40.4k|        bytes = PyUnicode_EncodeFSDefault(o);
 1477|  40.4k|        if (!bytes) {
  ------------------
  |  Branch (1477:13): [True: 0, False: 40.4k]
  ------------------
 1478|      0|            goto error_exit;
 1479|      0|        }
 1480|  40.4k|    }
 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|  40.4k|    length = PyBytes_GET_SIZE(bytes);
  ------------------
  |  |   33|  40.4k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  40.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  40.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1509|  40.4k|    narrow = PyBytes_AS_STRING(bytes);
  ------------------
  |  |   27|  40.4k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  40.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  40.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1510|  40.4k|    if (!path->nonstrict && strlen(narrow) != (size_t)length) {
  ------------------
  |  Branch (1510:9): [True: 40.4k, False: 0]
  |  Branch (1510:29): [True: 0, False: 40.4k]
  ------------------
 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|  40.4k|    if (path->make_wide) {
  ------------------
  |  Branch (1515:9): [True: 0, False: 40.4k]
  ------------------
 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|  40.4k|    else {
 1543|  40.4k|        path->wide = NULL;
 1544|  40.4k|        path->narrow = narrow;
 1545|  40.4k|        if (bytes == o) {
  ------------------
  |  Branch (1545:13): [True: 0, False: 40.4k]
  ------------------
 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|  40.4k|        else {
 1551|  40.4k|            path->cleanup = bytes;
 1552|  40.4k|        }
 1553|  40.4k|    }
 1554|  40.4k|    path->fd = -1;
 1555|       |
 1556|  40.6k| success_exit:
 1557|  40.6k|    path->value_error = 0;
 1558|  40.6k|    path->length = length;
 1559|  40.6k|    path->object = o;
 1560|  40.6k|    return Py_CLEANUP_SUPPORTED;
  ------------------
  |  |   57|  40.6k|#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|  40.1k|{
 3306|  40.1k|    return posix_do_stat(module, "stat", path, dir_fd, follow_symlinks);
 3307|  40.1k|}
posixmodule.c:posix_do_stat:
 2877|  40.2k|{
 2878|  40.2k|    STRUCT_STAT st;
  ------------------
  |  |  411|  40.2k|#  define STRUCT_STAT struct stat
  ------------------
 2879|  40.2k|    int result;
 2880|       |
 2881|  40.2k|#ifdef HAVE_FSTATAT
 2882|  40.2k|    int fstatat_unavailable = 0;
 2883|  40.2k|#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|  40.2k|    if (path_and_dir_fd_invalid("stat", path, dir_fd) ||
  ------------------
  |  Branch (2890:9): [True: 0, False: 40.2k]
  ------------------
 2891|  40.2k|        dir_fd_and_fd_invalid("stat", dir_fd, path->fd) ||
  ------------------
  |  Branch (2891:9): [True: 0, False: 40.2k]
  ------------------
 2892|  40.2k|        fd_and_follow_symlinks_invalid("stat", path->is_fd, follow_symlinks))
  ------------------
  |  Branch (2892:9): [True: 0, False: 40.2k]
  ------------------
 2893|      0|        return NULL;
 2894|       |
 2895|  40.2k|    Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|  40.2k|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|  40.2k|                        PyThreadState *_save; \
  |  |  121|  40.2k|                        _save = PyEval_SaveThread();
  ------------------
 2896|  40.2k|    if (path->is_fd) {
  ------------------
  |  Branch (2896:9): [True: 0, False: 40.2k]
  ------------------
 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|  40.2k|    else
 2906|  40.2k|#if defined(HAVE_LSTAT)
 2907|  40.2k|    if ((!follow_symlinks) && (dir_fd == DEFAULT_DIR_FD))
  ------------------
  |  | 1138|    100|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
  |  Branch (2907:9): [True: 100, False: 40.1k]
  |  Branch (2907:31): [True: 100, False: 0]
  ------------------
 2908|    100|        result = LSTAT(path->narrow, &st);
  ------------------
  |  |  409|    100|#  define LSTAT lstat
  ------------------
 2909|  40.1k|    else
 2910|  40.1k|#endif /* HAVE_LSTAT */
 2911|  40.1k|#ifdef HAVE_FSTATAT
 2912|  40.1k|    if ((dir_fd != DEFAULT_DIR_FD) || !follow_symlinks) {
  ------------------
  |  | 1138|  40.1k|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
  |  Branch (2912:9): [True: 0, False: 40.1k]
  |  Branch (2912:39): [True: 0, False: 40.1k]
  ------------------
 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|  40.1k|#endif /* HAVE_FSTATAT */
 2922|  40.1k|        result = STAT(path->narrow, &st);
  ------------------
  |  |  408|  40.1k|#  define STAT stat
  ------------------
 2923|  40.2k|#endif /* MS_WINDOWS */
 2924|  40.2k|    Py_END_ALLOW_THREADS
  ------------------
  |  |  124|  40.2k|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|  40.2k|                 }
  ------------------
 2925|       |
 2926|  40.2k|#ifdef HAVE_FSTATAT
 2927|  40.2k|    if (fstatat_unavailable) {
  ------------------
  |  Branch (2927:9): [True: 0, False: 40.2k]
  ------------------
 2928|      0|        argument_unavailable_error("stat", "dir_fd");
 2929|      0|        return NULL;
 2930|      0|    }
 2931|  40.2k|#endif
 2932|       |
 2933|  40.2k|    if (result != 0) {
  ------------------
  |  Branch (2933:9): [True: 14.0k, False: 26.1k]
  ------------------
 2934|  14.0k|        return path_error(path);
 2935|  14.0k|    }
 2936|       |
 2937|  26.1k|    return _pystat_fromstructstat(module, &st);
 2938|  40.2k|}
posixmodule.c:path_and_dir_fd_invalid:
 1627|  40.2k|{
 1628|  40.2k|    if (!path->wide && (dir_fd != DEFAULT_DIR_FD) && !path->narrow) {
  ------------------
  |  | 1138|  40.2k|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
  |  Branch (1628:9): [True: 40.2k, False: 0]
  |  Branch (1628:24): [True: 0, False: 40.2k]
  |  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|  40.2k|    return 0;
 1635|  40.2k|}
posixmodule.c:dir_fd_and_fd_invalid:
 1639|  40.2k|{
 1640|  40.2k|    if ((dir_fd != DEFAULT_DIR_FD) && (fd != -1)) {
  ------------------
  |  | 1138|  40.2k|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
  |  Branch (1640:9): [True: 0, False: 40.2k]
  |  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|  40.2k|    return 0;
 1647|  40.2k|}
posixmodule.c:fd_and_follow_symlinks_invalid:
 1652|  40.2k|{
 1653|  40.2k|    if (is_fd && (!follow_symlinks)) {
  ------------------
  |  Branch (1653:9): [True: 0, False: 40.2k]
  |  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|  40.2k|    return 0;
 1660|  40.2k|}
posixmodule.c:path_error:
 1935|  14.0k|{
 1936|  14.0k|    return path_object_error(path->object);
 1937|  14.0k|}
posixmodule.c:path_object_error:
 1913|  14.0k|{
 1914|       |#ifdef MS_WINDOWS
 1915|       |    return PyErr_SetExcFromWindowsErrWithFilenameObject(
 1916|       |                PyExc_OSError, 0, path);
 1917|       |#else
 1918|  14.0k|    return posix_path_object_error(path);
 1919|  14.0k|#endif
 1920|  14.0k|}
posixmodule.c:posix_path_object_error:
 1907|  14.0k|{
 1908|  14.0k|    return PyErr_SetFromErrnoWithFilenameObject(PyExc_OSError, path);
 1909|  14.0k|}
posixmodule.c:_pystat_fromstructstat:
 2750|  26.1k|{
 2751|  26.1k|    assert(!PyErr_Occurred());
 2752|       |
 2753|  26.1k|    _posixstate *state = get_posix_state(module);
 2754|  26.1k|    PyObject *StatResultType = state->StatResultType;
 2755|  26.1k|    PyObject *v = PyStructSequence_New((PyTypeObject *)StatResultType);
 2756|  26.1k|    if (v == NULL) {
  ------------------
  |  Branch (2756:9): [True: 0, False: 26.1k]
  ------------------
 2757|      0|        return NULL;
 2758|      0|    }
 2759|       |
 2760|  26.1k|#define SET_ITEM(pos, expr) \
 2761|  26.1k|    do { \
 2762|  26.1k|        PyObject *obj = (expr); \
 2763|  26.1k|        if (obj == NULL) { \
 2764|  26.1k|            goto error; \
 2765|  26.1k|        } \
 2766|  26.1k|        PyStructSequence_SET_ITEM(v, (pos), obj); \
 2767|  26.1k|    } while (0)
 2768|       |
 2769|  26.1k|    SET_ITEM(0, PyLong_FromLong((long)st->st_mode));
  ------------------
  |  | 2761|  26.1k|    do { \
  |  | 2762|  26.1k|        PyObject *obj = (expr); \
  |  | 2763|  26.1k|        if (obj == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2763:13): [True: 0, False: 26.1k]
  |  |  ------------------
  |  | 2764|      0|            goto error; \
  |  | 2765|      0|        } \
  |  | 2766|  26.1k|        PyStructSequence_SET_ITEM(v, (pos), obj); \
  |  |  ------------------
  |  |  |  |   11|  26.1k|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 2767|  26.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2767:14): [Folded, False: 26.1k]
  |  |  ------------------
  ------------------
 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|  26.1k|    static_assert(sizeof(unsigned long long) >= sizeof(st->st_ino),
 2775|  26.1k|                  "stat.st_ino is larger than unsigned long long");
 2776|  26.1k|    SET_ITEM(1, PyLong_FromUnsignedLongLong(st->st_ino));
  ------------------
  |  | 2761|  26.1k|    do { \
  |  | 2762|  26.1k|        PyObject *obj = (expr); \
  |  | 2763|  26.1k|        if (obj == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2763:13): [True: 0, False: 26.1k]
  |  |  ------------------
  |  | 2764|      0|            goto error; \
  |  | 2765|      0|        } \
  |  | 2766|  26.1k|        PyStructSequence_SET_ITEM(v, (pos), obj); \
  |  |  ------------------
  |  |  |  |   11|  26.1k|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 2767|  26.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2767:14): [Folded, False: 26.1k]
  |  |  ------------------
  ------------------
 2777|  26.1k|    SET_ITEM(2, _PyLong_FromDev(st->st_dev));
  ------------------
  |  | 2761|  26.1k|    do { \
  |  | 2762|  26.1k|        PyObject *obj = (expr); \
  |  | 2763|  26.1k|        if (obj == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2763:13): [True: 0, False: 26.1k]
  |  |  ------------------
  |  | 2764|      0|            goto error; \
  |  | 2765|      0|        } \
  |  | 2766|  26.1k|        PyStructSequence_SET_ITEM(v, (pos), obj); \
  |  |  ------------------
  |  |  |  |   11|  26.1k|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 2767|  26.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2767:14): [Folded, False: 26.1k]
  |  |  ------------------
  ------------------
 2778|  26.1k|#endif
 2779|  26.1k|    SET_ITEM(3, PyLong_FromLong((long)st->st_nlink));
  ------------------
  |  | 2761|  26.1k|    do { \
  |  | 2762|  26.1k|        PyObject *obj = (expr); \
  |  | 2763|  26.1k|        if (obj == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2763:13): [True: 0, False: 26.1k]
  |  |  ------------------
  |  | 2764|      0|            goto error; \
  |  | 2765|      0|        } \
  |  | 2766|  26.1k|        PyStructSequence_SET_ITEM(v, (pos), obj); \
  |  |  ------------------
  |  |  |  |   11|  26.1k|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 2767|  26.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2767:14): [Folded, False: 26.1k]
  |  |  ------------------
  ------------------
 2780|       |#if defined(MS_WINDOWS)
 2781|       |    SET_ITEM(4, PyLong_FromLong(0));
 2782|       |    SET_ITEM(5, PyLong_FromLong(0));
 2783|       |#else
 2784|  26.1k|    SET_ITEM(4, _PyLong_FromUid(st->st_uid));
  ------------------
  |  | 2761|  26.1k|    do { \
  |  | 2762|  26.1k|        PyObject *obj = (expr); \
  |  | 2763|  26.1k|        if (obj == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2763:13): [True: 0, False: 26.1k]
  |  |  ------------------
  |  | 2764|      0|            goto error; \
  |  | 2765|      0|        } \
  |  | 2766|  26.1k|        PyStructSequence_SET_ITEM(v, (pos), obj); \
  |  |  ------------------
  |  |  |  |   11|  26.1k|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 2767|  26.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2767:14): [Folded, False: 26.1k]
  |  |  ------------------
  ------------------
 2785|  26.1k|    SET_ITEM(5, _PyLong_FromGid(st->st_gid));
  ------------------
  |  | 2761|  26.1k|    do { \
  |  | 2762|  26.1k|        PyObject *obj = (expr); \
  |  | 2763|  26.1k|        if (obj == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2763:13): [True: 0, False: 26.1k]
  |  |  ------------------
  |  | 2764|      0|            goto error; \
  |  | 2765|      0|        } \
  |  | 2766|  26.1k|        PyStructSequence_SET_ITEM(v, (pos), obj); \
  |  |  ------------------
  |  |  |  |   11|  26.1k|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 2767|  26.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2767:14): [Folded, False: 26.1k]
  |  |  ------------------
  ------------------
 2786|  26.1k|#endif
 2787|  26.1k|    static_assert(sizeof(long long) >= sizeof(st->st_size),
 2788|  26.1k|                  "stat.st_size is larger than long long");
 2789|  26.1k|    SET_ITEM(6, PyLong_FromLongLong(st->st_size));
  ------------------
  |  | 2761|  26.1k|    do { \
  |  | 2762|  26.1k|        PyObject *obj = (expr); \
  |  | 2763|  26.1k|        if (obj == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2763:13): [True: 0, False: 26.1k]
  |  |  ------------------
  |  | 2764|      0|            goto error; \
  |  | 2765|      0|        } \
  |  | 2766|  26.1k|        PyStructSequence_SET_ITEM(v, (pos), obj); \
  |  |  ------------------
  |  |  |  |   11|  26.1k|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 2767|  26.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2767:14): [Folded, False: 26.1k]
  |  |  ------------------
  ------------------
 2790|       |
 2791|       |    // Set st_atime, st_mtime and st_ctime
 2792|  26.1k|    unsigned long ansec, mnsec, cnsec;
 2793|  26.1k|#if defined(HAVE_STAT_TV_NSEC)
 2794|  26.1k|    ansec = st->st_atim.tv_nsec;
 2795|  26.1k|    mnsec = st->st_mtim.tv_nsec;
 2796|  26.1k|    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|  26.1k|    if (fill_time(state, v, 7, 10, 13, st->st_atime, ansec) < 0) {
  ------------------
  |  Branch (2808:9): [True: 0, False: 26.1k]
  ------------------
 2809|      0|        goto error;
 2810|      0|    }
 2811|  26.1k|    if (fill_time(state, v, 8, 11, 14, st->st_mtime, mnsec) < 0) {
  ------------------
  |  Branch (2811:9): [True: 0, False: 26.1k]
  ------------------
 2812|      0|        goto error;
 2813|      0|    }
 2814|  26.1k|    if (fill_time(state, v, 9, 12, 15, st->st_ctime, cnsec) < 0) {
  ------------------
  |  Branch (2814:9): [True: 0, False: 26.1k]
  ------------------
 2815|      0|        goto error;
 2816|      0|    }
 2817|       |
 2818|  26.1k|#ifdef HAVE_STRUCT_STAT_ST_BLKSIZE
 2819|  26.1k|    SET_ITEM(ST_BLKSIZE_IDX, PyLong_FromLong((long)st->st_blksize));
  ------------------
  |  | 2761|  26.1k|    do { \
  |  | 2762|  26.1k|        PyObject *obj = (expr); \
  |  | 2763|  26.1k|        if (obj == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2763:13): [True: 0, False: 26.1k]
  |  |  ------------------
  |  | 2764|      0|            goto error; \
  |  | 2765|      0|        } \
  |  | 2766|  26.1k|        PyStructSequence_SET_ITEM(v, (pos), obj); \
  |  |  ------------------
  |  |  |  |   11|  26.1k|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 2767|  26.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2767:14): [Folded, False: 26.1k]
  |  |  ------------------
  ------------------
 2820|  26.1k|#endif
 2821|  26.1k|#ifdef HAVE_STRUCT_STAT_ST_BLOCKS
 2822|  26.1k|    SET_ITEM(ST_BLOCKS_IDX, PyLong_FromLong((long)st->st_blocks));
  ------------------
  |  | 2761|  26.1k|    do { \
  |  | 2762|  26.1k|        PyObject *obj = (expr); \
  |  | 2763|  26.1k|        if (obj == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2763:13): [True: 0, False: 26.1k]
  |  |  ------------------
  |  | 2764|      0|            goto error; \
  |  | 2765|      0|        } \
  |  | 2766|  26.1k|        PyStructSequence_SET_ITEM(v, (pos), obj); \
  |  |  ------------------
  |  |  |  |   11|  26.1k|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 2767|  26.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2767:14): [Folded, False: 26.1k]
  |  |  ------------------
  ------------------
 2823|  26.1k|#endif
 2824|  26.1k|#ifdef HAVE_STRUCT_STAT_ST_RDEV
 2825|  26.1k|    SET_ITEM(ST_RDEV_IDX, _PyLong_FromDev(st->st_rdev));
  ------------------
  |  | 2761|  26.1k|    do { \
  |  | 2762|  26.1k|        PyObject *obj = (expr); \
  |  | 2763|  26.1k|        if (obj == NULL) { \
  |  |  ------------------
  |  |  |  Branch (2763:13): [True: 0, False: 26.1k]
  |  |  ------------------
  |  | 2764|      0|            goto error; \
  |  | 2765|      0|        } \
  |  | 2766|  26.1k|        PyStructSequence_SET_ITEM(v, (pos), obj); \
  |  |  ------------------
  |  |  |  |   11|  26.1k|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 2767|  26.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2767:14): [Folded, False: 26.1k]
  |  |  ------------------
  ------------------
 2826|  26.1k|#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|  26.1k|    assert(!PyErr_Occurred());
 2862|  26.1k|    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|  26.1k|#undef SET_ITEM
 2869|  26.1k|}
posixmodule.c:get_posix_state:
 1230|  26.2k|{
 1231|  26.2k|    void *state = _PyModule_GetState(module);
 1232|       |    assert(state != NULL);
 1233|  26.2k|    return (_posixstate *)state;
 1234|  26.2k|}
posixmodule.c:_PyLong_FromDev:
 1074|  52.3k|{
 1075|  52.3k|#ifdef NODEV
 1076|  52.3k|    if (dev == NODEV) {
  ------------------
  |  Branch (1076:9): [True: 2, False: 52.3k]
  ------------------
 1077|      2|        return PyLong_FromLongLong((long long)dev);
 1078|      2|    }
 1079|  52.3k|#endif
 1080|  52.3k|    return PyLong_FromUnsignedLongLong((unsigned long long)dev);
 1081|  52.3k|}
posixmodule.c:fill_time:
 2686|  78.5k|{
 2687|  78.5k|    assert(!PyErr_Occurred());
 2688|  78.5k|    assert(nsec < SEC_TO_NS);
 2689|       |
 2690|  78.5k|    if (s_index >= 0) {
  ------------------
  |  Branch (2690:9): [True: 78.5k, False: 0]
  ------------------
 2691|  78.5k|        PyObject *s = _PyLong_FromTime_t(sec);
 2692|  78.5k|        if (s == NULL) {
  ------------------
  |  Branch (2692:13): [True: 0, False: 78.5k]
  ------------------
 2693|      0|            return -1;
 2694|      0|        }
 2695|  78.5k|        PyStructSequence_SET_ITEM(v, s_index, s);
  ------------------
  |  |   11|  78.5k|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  ------------------
 2696|  78.5k|    }
 2697|       |
 2698|  78.5k|    if (f_index >= 0) {
  ------------------
  |  Branch (2698:9): [True: 78.5k, False: 0]
  ------------------
 2699|  78.5k|        PyObject *float_s = PyFloat_FromDouble((double)sec + 1e-9 * nsec);
 2700|  78.5k|        if (float_s == NULL) {
  ------------------
  |  Branch (2700:13): [True: 0, False: 78.5k]
  ------------------
 2701|      0|            return -1;
 2702|      0|        }
 2703|  78.5k|        PyStructSequence_SET_ITEM(v, f_index, float_s);
  ------------------
  |  |   11|  78.5k|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  ------------------
 2704|  78.5k|    }
 2705|       |
 2706|  78.5k|    if (ns_index >= 0) {
  ------------------
  |  Branch (2706:9): [True: 78.5k, False: 0]
  ------------------
 2707|  78.5k|        PyObject *ns_total = stat_nanosecond_timestamp(state, sec, nsec);
 2708|  78.5k|        if (ns_total == NULL) {
  ------------------
  |  Branch (2708:13): [True: 0, False: 78.5k]
  ------------------
 2709|      0|            return -1;
 2710|      0|        }
 2711|  78.5k|        PyStructSequence_SET_ITEM(v, ns_index, ns_total);
  ------------------
  |  |   11|  78.5k|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  ------------------
 2712|  78.5k|    }
 2713|       |
 2714|  78.5k|    assert(!PyErr_Occurred());
 2715|  78.5k|    return 0;
 2716|  78.5k|}
posixmodule.c:stat_nanosecond_timestamp:
 2649|  78.5k|{
 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|  78.5k|    if ((LLONG_MIN/SEC_TO_NS) <= sec && sec <= (LLONG_MAX/SEC_TO_NS - 1)) {
  ------------------
  |  | 2646|  78.5k|#define SEC_TO_NS (1000000000LL)
  ------------------
                  if ((LLONG_MIN/SEC_TO_NS) <= sec && sec <= (LLONG_MAX/SEC_TO_NS - 1)) {
  ------------------
  |  | 2646|  78.5k|#define SEC_TO_NS (1000000000LL)
  ------------------
  |  Branch (2654:9): [True: 78.5k, False: 0]
  |  Branch (2654:41): [True: 78.5k, False: 0]
  ------------------
 2655|  78.5k|        return PyLong_FromLongLong(sec * SEC_TO_NS + nsec);
  ------------------
  |  | 2646|  78.5k|#define SEC_TO_NS (1000000000LL)
  ------------------
 2656|  78.5k|    }
 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|  78.5k|#endif
 2681|  78.5k|}
posixmodule.c:path_cleanup:
 1371|  40.6k|{
 1372|  40.6k|    wchar_t *wide = (wchar_t *)path->wide;
 1373|  40.6k|    path->wide = NULL;
 1374|  40.6k|    PyMem_Free(wide);
 1375|  40.6k|    Py_CLEAR(path->object);
  ------------------
  |  |  484|  40.6k|    do { \
  |  |  485|  40.6k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  40.6k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  40.6k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  40.6k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  40.6k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 40.6k, False: 0]
  |  |  ------------------
  |  |  488|  40.6k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  40.6k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  40.6k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  40.6k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  40.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  40.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  40.6k|        } \
  |  |  491|  40.6k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 40.6k]
  |  |  ------------------
  ------------------
 1376|       |    Py_CLEAR(path->cleanup);
  ------------------
  |  |  484|  40.6k|    do { \
  |  |  485|  40.6k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  40.6k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  40.6k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  40.6k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  40.6k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 40.4k, False: 165]
  |  |  ------------------
  |  |  488|  40.4k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  40.4k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  40.4k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  40.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  40.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  40.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  40.4k|        } \
  |  |  491|  40.6k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 40.6k]
  |  |  ------------------
  ------------------
 1377|  40.6k|}
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:
 4772|      2|{
 4773|      2|    return posix_getcwd(0);
 4774|      2|}
posixmodule.c:posix_getcwd:
 4650|      2|{
 4651|       |#ifdef MS_WINDOWS
 4652|       |    wchar_t wbuf[MAXPATHLEN];
 4653|       |    wchar_t *wbuf2 = wbuf;
 4654|       |    DWORD len;
 4655|       |
 4656|       |    Py_BEGIN_ALLOW_THREADS
 4657|       |    len = GetCurrentDirectoryW(Py_ARRAY_LENGTH(wbuf), wbuf);
 4658|       |    /* If the buffer is large enough, len does not include the
 4659|       |       terminating \0. If the buffer is too small, len includes
 4660|       |       the space needed for the terminator. */
 4661|       |    if (len >= Py_ARRAY_LENGTH(wbuf)) {
 4662|       |        if ((Py_ssize_t)len <= PY_SSIZE_T_MAX / sizeof(wchar_t)) {
 4663|       |            wbuf2 = PyMem_RawMalloc(len * sizeof(wchar_t));
 4664|       |        }
 4665|       |        else {
 4666|       |            wbuf2 = NULL;
 4667|       |        }
 4668|       |        if (wbuf2) {
 4669|       |            len = GetCurrentDirectoryW(len, wbuf2);
 4670|       |        }
 4671|       |    }
 4672|       |    Py_END_ALLOW_THREADS
 4673|       |
 4674|       |    if (!wbuf2) {
 4675|       |        PyErr_NoMemory();
 4676|       |        return NULL;
 4677|       |    }
 4678|       |    if (!len) {
 4679|       |        PyErr_SetFromWindowsErr(0);
 4680|       |        if (wbuf2 != wbuf)
 4681|       |            PyMem_RawFree(wbuf2);
 4682|       |        return NULL;
 4683|       |    }
 4684|       |
 4685|       |    PyObject *resobj = PyUnicode_FromWideChar(wbuf2, len);
 4686|       |    if (wbuf2 != wbuf) {
 4687|       |        PyMem_RawFree(wbuf2);
 4688|       |    }
 4689|       |
 4690|       |    if (use_bytes) {
 4691|       |        if (resobj == NULL) {
 4692|       |            return NULL;
 4693|       |        }
 4694|       |        Py_SETREF(resobj, PyUnicode_EncodeFSDefault(resobj));
 4695|       |    }
 4696|       |
 4697|       |    return resobj;
 4698|       |#else
 4699|      2|    const size_t chunk = 1024;
 4700|       |
 4701|      2|    char *buf = NULL;
 4702|      2|    char *cwd = NULL;
 4703|      2|    size_t buflen = 0;
 4704|       |
 4705|      2|    Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|      2|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|      2|                        PyThreadState *_save; \
  |  |  121|      2|                        _save = PyEval_SaveThread();
  ------------------
 4706|      2|    do {
 4707|      2|        char *newbuf;
 4708|      2|        if (buflen <= PY_SSIZE_T_MAX - chunk) {
  ------------------
  |  |  137|      2|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (4708:13): [True: 2, False: 0]
  ------------------
 4709|      2|            buflen += chunk;
 4710|      2|            newbuf = PyMem_RawRealloc(buf, buflen);
 4711|      2|        }
 4712|      0|        else {
 4713|      0|            newbuf = NULL;
 4714|      0|        }
 4715|      2|        if (newbuf == NULL) {
  ------------------
  |  Branch (4715:13): [True: 0, False: 2]
  ------------------
 4716|      0|            PyMem_RawFree(buf);
 4717|      0|            buf = NULL;
 4718|      0|            break;
 4719|      0|        }
 4720|      2|        buf = newbuf;
 4721|       |
 4722|      2|        cwd = getcwd(buf, buflen);
 4723|      2|    } while (cwd == NULL && errno == ERANGE);
  ------------------
  |  Branch (4723:14): [True: 0, False: 2]
  |  Branch (4723:29): [True: 0, False: 0]
  ------------------
 4724|      2|    Py_END_ALLOW_THREADS
  ------------------
  |  |  124|      2|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|      2|                 }
  ------------------
 4725|       |
 4726|      2|    if (buf == NULL) {
  ------------------
  |  Branch (4726:9): [True: 0, False: 2]
  ------------------
 4727|      0|        return PyErr_NoMemory();
 4728|      0|    }
 4729|      2|    if (cwd == NULL) {
  ------------------
  |  Branch (4729:9): [True: 0, False: 2]
  ------------------
 4730|      0|        posix_error();
 4731|      0|        PyMem_RawFree(buf);
 4732|      0|        return NULL;
 4733|      0|    }
 4734|       |
 4735|      2|    PyObject *obj;
 4736|      2|    if (use_bytes) {
  ------------------
  |  Branch (4736:9): [True: 0, False: 2]
  ------------------
 4737|      0|        obj = PyBytes_FromStringAndSize(buf, strlen(buf));
 4738|      0|    }
 4739|      2|    else {
 4740|      2|        obj = PyUnicode_DecodeFSDefault(buf);
 4741|      2|    }
 4742|      2|#ifdef __linux__
 4743|      2|    if (buf[0] != '/') {
  ------------------
  |  Branch (4743:9): [True: 0, False: 2]
  ------------------
 4744|       |        /*
 4745|       |         * On Linux >= 2.6.36 with glibc < 2.27, getcwd() can return a
 4746|       |         * relative pathname starting with '(unreachable)'. We detect this
 4747|       |         * and fail with ENOENT, matching newer glibc behaviour.
 4748|       |         */
 4749|      0|        errno = ENOENT;
 4750|      0|        path_object_error(obj);
 4751|      0|        PyMem_RawFree(buf);
 4752|      0|        return NULL;
 4753|      0|    }
 4754|      2|#endif
 4755|      2|    assert(buf[0] == '/');
 4756|      2|    PyMem_RawFree(buf);
 4757|       |
 4758|      2|    return obj;
 4759|      2|#endif   /* !MS_WINDOWS */
 4760|      2|}
posixmodule.c:os_listdir_impl:
 5142|     92|{
 5143|     92|    if (PySys_Audit("os.listdir", "O",
  ------------------
  |  Branch (5143:9): [True: 0, False: 92]
  ------------------
 5144|     92|                    path->object ? path->object : Py_None) < 0) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (5144:21): [True: 92, False: 0]
  ------------------
 5145|      0|        return NULL;
 5146|      0|    }
 5147|       |#if defined(MS_WINDOWS) && !defined(HAVE_OPENDIR)
 5148|       |    return _listdir_windows_no_opendir(path, NULL);
 5149|       |#else
 5150|     92|    return _posix_listdir(path, NULL);
 5151|     92|#endif
 5152|     92|}
posixmodule.c:_posix_listdir:
 5004|     92|{
 5005|     92|    PyObject *v;
 5006|     92|    DIR *dirp = NULL;
 5007|     92|    struct dirent *ep;
 5008|     92|    int return_str; /* if false, return bytes */
 5009|     92|#ifdef HAVE_FDOPENDIR
 5010|     92|    int fd = -1;
 5011|     92|#endif
 5012|       |
 5013|     92|    errno = 0;
 5014|     92|#ifdef HAVE_FDOPENDIR
 5015|     92|    if (path->is_fd) {
  ------------------
  |  Branch (5015:9): [True: 0, False: 92]
  ------------------
 5016|      0|      if (HAVE_FDOPENDIR_RUNTIME) {
  ------------------
  |  |  609|      0|#  define HAVE_FDOPENDIR_RUNTIME 1
  |  |  ------------------
  |  |  |  Branch (609:34): [True: 0, Folded]
  |  |  ------------------
  ------------------
 5017|       |        /* closedir() closes the FD, so we duplicate it */
 5018|      0|        fd = _Py_dup(path->fd);
 5019|      0|        if (fd == -1)
  ------------------
  |  Branch (5019:13): [True: 0, False: 0]
  ------------------
 5020|      0|            return NULL;
 5021|       |
 5022|      0|        return_str = 1;
 5023|       |
 5024|      0|        Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|      0|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|      0|                        PyThreadState *_save; \
  |  |  121|      0|                        _save = PyEval_SaveThread();
  ------------------
 5025|      0|        dirp = fdopendir(fd);
 5026|      0|        Py_END_ALLOW_THREADS
  ------------------
  |  |  124|      0|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|      0|                 }
  ------------------
 5027|      0|      } else {
 5028|      0|        PyErr_SetString(PyExc_TypeError,
 5029|      0|            "listdir: path should be string, bytes, os.PathLike or None, not int");
 5030|      0|        return NULL;
 5031|      0|      }
 5032|      0|    }
 5033|     92|    else
 5034|     92|#endif
 5035|     92|    {
 5036|     92|        const char *name;
 5037|     92|        if (path->narrow) {
  ------------------
  |  Branch (5037:13): [True: 92, False: 0]
  ------------------
 5038|     92|            name = path->narrow;
 5039|       |            /* only return bytes if they specified a bytes object */
 5040|     92|            return_str = !PyBytes_Check(path->object);
  ------------------
  |  |   28|     92|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     92|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
 5041|     92|        }
 5042|      0|        else {
 5043|      0|            name = ".";
 5044|      0|            return_str = 1;
 5045|      0|        }
 5046|       |
 5047|     92|        Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|     92|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|     92|                        PyThreadState *_save; \
  |  |  121|     92|                        _save = PyEval_SaveThread();
  ------------------
 5048|     92|        dirp = opendir(name);
 5049|     92|        Py_END_ALLOW_THREADS
  ------------------
  |  |  124|     92|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|     92|                 }
  ------------------
 5050|     92|    }
 5051|       |
 5052|     92|    if (dirp == NULL) {
  ------------------
  |  Branch (5052:9): [True: 2, False: 90]
  ------------------
 5053|      2|        path_error(path);
 5054|      2|        list = NULL;
 5055|      2|#ifdef HAVE_FDOPENDIR
 5056|      2|        if (fd != -1) {
  ------------------
  |  Branch (5056:13): [True: 0, False: 2]
  ------------------
 5057|      0|            Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|      0|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|      0|                        PyThreadState *_save; \
  |  |  121|      0|                        _save = PyEval_SaveThread();
  ------------------
 5058|      0|            close(fd);
 5059|      0|            Py_END_ALLOW_THREADS
  ------------------
  |  |  124|      0|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|      0|                 }
  ------------------
 5060|      0|        }
 5061|      2|#endif
 5062|      2|        goto exit;
 5063|      2|    }
 5064|     90|    if ((list = PyList_New(0)) == NULL) {
  ------------------
  |  Branch (5064:9): [True: 0, False: 90]
  ------------------
 5065|      0|        goto exit;
 5066|      0|    }
 5067|  3.67k|    for (;;) {
 5068|  3.67k|        errno = 0;
 5069|  3.67k|        Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|  3.67k|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|  3.67k|                        PyThreadState *_save; \
  |  |  121|  3.67k|                        _save = PyEval_SaveThread();
  ------------------
 5070|  3.67k|        ep = readdir(dirp);
 5071|  3.67k|        Py_END_ALLOW_THREADS
  ------------------
  |  |  124|  3.67k|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|  3.67k|                 }
  ------------------
 5072|  3.67k|        if (ep == NULL) {
  ------------------
  |  Branch (5072:13): [True: 90, False: 3.58k]
  ------------------
 5073|     90|            if (errno == 0) {
  ------------------
  |  Branch (5073:17): [True: 90, False: 0]
  ------------------
 5074|     90|                break;
 5075|     90|            } else {
 5076|      0|                path_error(path);
 5077|      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]
  |  |  ------------------
  ------------------
 5078|      0|                goto exit;
 5079|      0|            }
 5080|     90|        }
 5081|  3.58k|        if (ep->d_name[0] == '.' &&
  ------------------
  |  Branch (5081:13): [True: 199, False: 3.38k]
  ------------------
 5082|    199|            (NAMLEN(ep) == 1 ||
  ------------------
  |  |  327|    199|#  define NAMLEN(dirent) strlen((dirent)->d_name)
  ------------------
  |  Branch (5082:14): [True: 90, False: 109]
  ------------------
 5083|    109|             (ep->d_name[1] == '.' && NAMLEN(ep) == 2)))
  ------------------
  |  |  327|     90|#  define NAMLEN(dirent) strlen((dirent)->d_name)
  ------------------
  |  Branch (5083:15): [True: 90, False: 19]
  |  Branch (5083:39): [True: 90, False: 0]
  ------------------
 5084|    180|            continue;
 5085|  3.40k|        if (return_str)
  ------------------
  |  Branch (5085:13): [True: 3.40k, False: 0]
  ------------------
 5086|  3.40k|            v = PyUnicode_DecodeFSDefaultAndSize(ep->d_name, NAMLEN(ep));
  ------------------
  |  |  327|  3.40k|#  define NAMLEN(dirent) strlen((dirent)->d_name)
  ------------------
 5087|      0|        else
 5088|      0|            v = PyBytes_FromStringAndSize(ep->d_name, NAMLEN(ep));
  ------------------
  |  |  327|      0|#  define NAMLEN(dirent) strlen((dirent)->d_name)
  ------------------
 5089|  3.40k|        if (v == NULL) {
  ------------------
  |  Branch (5089:13): [True: 0, False: 3.40k]
  ------------------
 5090|      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]
  |  |  ------------------
  ------------------
 5091|      0|            break;
 5092|      0|        }
 5093|  3.40k|        if (PyList_Append(list, v) != 0) {
  ------------------
  |  Branch (5093:13): [True: 0, False: 3.40k]
  ------------------
 5094|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5095|      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]
  |  |  ------------------
  ------------------
 5096|      0|            break;
 5097|      0|        }
 5098|  3.40k|        Py_DECREF(v);
  ------------------
  |  |  430|  3.40k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.40k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5099|  3.40k|    }
 5100|       |
 5101|     92|exit:
 5102|     92|    if (dirp != NULL) {
  ------------------
  |  Branch (5102:9): [True: 90, False: 2]
  ------------------
 5103|     90|        Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|     90|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|     90|                        PyThreadState *_save; \
  |  |  121|     90|                        _save = PyEval_SaveThread();
  ------------------
 5104|     90|#ifdef HAVE_FDOPENDIR
 5105|     90|        if (fd > -1)
  ------------------
  |  Branch (5105:13): [True: 0, False: 90]
  ------------------
 5106|      0|            rewinddir(dirp);
 5107|     90|#endif
 5108|     90|        closedir(dirp);
 5109|     90|        Py_END_ALLOW_THREADS
  ------------------
  |  |  124|     90|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|     90|                 }
  ------------------
 5110|     90|    }
 5111|       |
 5112|     92|    return list;
 5113|     90|}  /* end of _posix_listdir */
posixmodule.c:os_lstat_impl:
 3329|    100|{
 3330|    100|    int follow_symlinks = 0;
 3331|    100|    return posix_do_stat(module, "lstat", path, dir_fd, follow_symlinks);
 3332|    100|}
posixmodule.c:os_mkdir_impl:
 6178|      7|{
 6179|      7|    int result;
 6180|       |#ifdef MS_WINDOWS
 6181|       |    int error = 0;
 6182|       |    SECURITY_ATTRIBUTES secAttr = { sizeof(secAttr) };
 6183|       |    SECURITY_ATTRIBUTES *pSecAttr = NULL;
 6184|       |#endif
 6185|      7|#ifdef HAVE_MKDIRAT
 6186|      7|    int mkdirat_unavailable = 0;
 6187|      7|#endif
 6188|       |
 6189|      7|    if (PySys_Audit("os.mkdir", "Oii", path->object, mode,
  ------------------
  |  Branch (6189:9): [True: 0, False: 7]
  ------------------
 6190|      7|                    dir_fd == DEFAULT_DIR_FD ? -1 : dir_fd) < 0) {
  ------------------
  |  | 1138|      7|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
  |  Branch (6190:21): [True: 7, False: 0]
  ------------------
 6191|      0|        return NULL;
 6192|      0|    }
 6193|       |
 6194|       |#ifdef MS_WINDOWS
 6195|       |    Py_BEGIN_ALLOW_THREADS
 6196|       |    // For API sets that don't support these APIs, we have no choice
 6197|       |    // but to silently create a directory with default ACL.
 6198|       |#if defined(MS_WINDOWS_APP) || defined(MS_WINDOWS_SYSTEM)
 6199|       |    if (mode == 0700 /* 0o700 */) {
 6200|       |        ULONG sdSize;
 6201|       |        pSecAttr = &secAttr;
 6202|       |        // Set a discretionary ACL (D) that is protected (P) and includes
 6203|       |        // inheritable (OICI) entries that allow (A) full control (FA) to
 6204|       |        // SYSTEM (SY), Administrators (BA), and the owner (OW).
 6205|       |        if (!ConvertStringSecurityDescriptorToSecurityDescriptorW(
 6206|       |            L"D:P(A;OICI;FA;;;SY)(A;OICI;FA;;;BA)(A;OICI;FA;;;OW)",
 6207|       |            SDDL_REVISION_1,
 6208|       |            &secAttr.lpSecurityDescriptor,
 6209|       |            &sdSize
 6210|       |        )) {
 6211|       |            error = GetLastError();
 6212|       |        }
 6213|       |    }
 6214|       |#endif
 6215|       |    if (!error) {
 6216|       |        result = CreateDirectoryW(path->wide, pSecAttr);
 6217|       |        if (secAttr.lpSecurityDescriptor &&
 6218|       |            // uncommonly, LocalFree returns non-zero on error, but still uses
 6219|       |            // GetLastError() to see what the error code is
 6220|       |            LocalFree(secAttr.lpSecurityDescriptor)) {
 6221|       |            error = GetLastError();
 6222|       |        }
 6223|       |    }
 6224|       |    Py_END_ALLOW_THREADS
 6225|       |
 6226|       |    if (error) {
 6227|       |        return PyErr_SetFromWindowsErr(error);
 6228|       |    }
 6229|       |    if (!result) {
 6230|       |        return path_error(path);
 6231|       |    }
 6232|       |#else
 6233|      7|    Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|      7|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|      7|                        PyThreadState *_save; \
  |  |  121|      7|                        _save = PyEval_SaveThread();
  ------------------
 6234|      7|#if HAVE_MKDIRAT
 6235|      7|    if (dir_fd != DEFAULT_DIR_FD) {
  ------------------
  |  | 1138|      7|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
  |  Branch (6235:9): [True: 0, False: 7]
  ------------------
 6236|      0|      if (HAVE_MKDIRAT_RUNTIME) {
  ------------------
  |  |  610|      0|#  define HAVE_MKDIRAT_RUNTIME 1
  |  |  ------------------
  |  |  |  Branch (610:32): [True: 0, Folded]
  |  |  ------------------
  ------------------
 6237|      0|        result = mkdirat(dir_fd, path->narrow, mode);
 6238|       |
 6239|      0|      } else {
 6240|      0|        mkdirat_unavailable = 1;
 6241|      0|      }
 6242|      0|    } else
 6243|      7|#endif
 6244|       |#if defined(__WATCOMC__) && !defined(__QNX__)
 6245|       |        result = mkdir(path->narrow);
 6246|       |#else
 6247|      7|        result = mkdir(path->narrow, mode);
 6248|      7|#endif
 6249|      7|    Py_END_ALLOW_THREADS
  ------------------
  |  |  124|      7|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|      7|                 }
  ------------------
 6250|       |
 6251|      7|#if HAVE_MKDIRAT
 6252|      7|    if (mkdirat_unavailable) {
  ------------------
  |  Branch (6252:9): [True: 0, False: 7]
  ------------------
 6253|      0|        argument_unavailable_error(NULL, "dir_fd");
 6254|      0|        return NULL;
 6255|      0|    }
 6256|      7|#endif
 6257|       |
 6258|      7|    if (result < 0)
  ------------------
  |  Branch (6258:9): [True: 1, False: 6]
  ------------------
 6259|      1|        return path_error(path);
 6260|      6|#endif /* MS_WINDOWS */
 6261|      6|    Py_RETURN_NONE;
  ------------------
  |  |  628|      6|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      6|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 6262|      7|}
posixmodule.c:os_readlink_impl:
10858|      2|{
10859|      2|#if defined(HAVE_READLINK)
10860|      2|    char buffer[MAXPATHLEN+1];
10861|      2|    ssize_t length;
10862|      2|#ifdef HAVE_READLINKAT
10863|      2|    int readlinkat_unavailable = 0;
10864|      2|#endif
10865|       |
10866|      2|    Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|      2|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|      2|                        PyThreadState *_save; \
  |  |  121|      2|                        _save = PyEval_SaveThread();
  ------------------
10867|      2|#ifdef HAVE_READLINKAT
10868|      2|    if (dir_fd != DEFAULT_DIR_FD) {
  ------------------
  |  | 1138|      2|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
  |  Branch (10868:9): [True: 0, False: 2]
  ------------------
10869|      0|        if (HAVE_READLINKAT_RUNTIME) {
  ------------------
  |  |  614|      0|#  define HAVE_READLINKAT_RUNTIME 1
  |  |  ------------------
  |  |  |  Branch (614:35): [True: 0, Folded]
  |  |  ------------------
  ------------------
10870|      0|            length = readlinkat(dir_fd, path->narrow, buffer, MAXPATHLEN);
10871|      0|        } else {
10872|      0|            readlinkat_unavailable = 1;
10873|      0|        }
10874|      0|    } else
10875|      2|#endif
10876|      2|        length = readlink(path->narrow, buffer, MAXPATHLEN);
10877|      2|    Py_END_ALLOW_THREADS
  ------------------
  |  |  124|      2|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|      2|                 }
  ------------------
10878|       |
10879|      2|#ifdef HAVE_READLINKAT
10880|      2|    if (readlinkat_unavailable) {
  ------------------
  |  Branch (10880:9): [True: 0, False: 2]
  ------------------
10881|      0|        argument_unavailable_error(NULL, "dir_fd");
10882|      0|        return NULL;
10883|      0|    }
10884|      2|#endif
10885|       |
10886|      2|    if (length < 0) {
  ------------------
  |  Branch (10886:9): [True: 0, False: 2]
  ------------------
10887|      0|        return path_error(path);
10888|      0|    }
10889|      2|    buffer[length] = '\0';
10890|       |
10891|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10892|      2|        return PyUnicode_DecodeFSDefaultAndSize(buffer, length);
10893|      0|    else
10894|      0|        return PyBytes_FromStringAndSize(buffer, length);
10895|       |#elif defined(MS_WINDOWS)
10896|       |    DWORD n_bytes_returned;
10897|       |    DWORD io_result = 0;
10898|       |    HANDLE reparse_point_handle;
10899|       |    char target_buffer[_Py_MAXIMUM_REPARSE_DATA_BUFFER_SIZE];
10900|       |    _Py_REPARSE_DATA_BUFFER *rdb = (_Py_REPARSE_DATA_BUFFER *)target_buffer;
10901|       |    PyObject *result = NULL;
10902|       |
10903|       |    /* First get a handle to the reparse point */
10904|       |    Py_BEGIN_ALLOW_THREADS
10905|       |    reparse_point_handle = CreateFileW(
10906|       |        path->wide,
10907|       |        0,
10908|       |        0,
10909|       |        0,
10910|       |        OPEN_EXISTING,
10911|       |        FILE_FLAG_OPEN_REPARSE_POINT|FILE_FLAG_BACKUP_SEMANTICS,
10912|       |        0);
10913|       |    if (reparse_point_handle != INVALID_HANDLE_VALUE) {
10914|       |        /* New call DeviceIoControl to read the reparse point */
10915|       |        io_result = DeviceIoControl(
10916|       |            reparse_point_handle,
10917|       |            FSCTL_GET_REPARSE_POINT,
10918|       |            0, 0, /* in buffer */
10919|       |            target_buffer, sizeof(target_buffer),
10920|       |            &n_bytes_returned,
10921|       |            0 /* we're not using OVERLAPPED_IO */
10922|       |            );
10923|       |        CloseHandle(reparse_point_handle);
10924|       |    }
10925|       |    Py_END_ALLOW_THREADS
10926|       |
10927|       |    if (io_result == 0) {
10928|       |        return path_error(path);
10929|       |    }
10930|       |
10931|       |    wchar_t *name = NULL;
10932|       |    Py_ssize_t nameLen = 0;
10933|       |    if (rdb->ReparseTag == IO_REPARSE_TAG_SYMLINK)
10934|       |    {
10935|       |        name = (wchar_t *)((char*)rdb->SymbolicLinkReparseBuffer.PathBuffer +
10936|       |                           rdb->SymbolicLinkReparseBuffer.SubstituteNameOffset);
10937|       |        nameLen = rdb->SymbolicLinkReparseBuffer.SubstituteNameLength / sizeof(wchar_t);
10938|       |    }
10939|       |    else if (rdb->ReparseTag == IO_REPARSE_TAG_MOUNT_POINT)
10940|       |    {
10941|       |        name = (wchar_t *)((char*)rdb->MountPointReparseBuffer.PathBuffer +
10942|       |                           rdb->MountPointReparseBuffer.SubstituteNameOffset);
10943|       |        nameLen = rdb->MountPointReparseBuffer.SubstituteNameLength / sizeof(wchar_t);
10944|       |    }
10945|       |    else
10946|       |    {
10947|       |        PyErr_SetString(PyExc_ValueError, "not a symbolic link");
10948|       |    }
10949|       |    if (name) {
10950|       |        if (nameLen > 4 && wcsncmp(name, L"\\??\\", 4) == 0) {
10951|       |            /* Our buffer is mutable, so this is okay */
10952|       |            name[1] = L'\\';
10953|       |        }
10954|       |        result = PyUnicode_FromWideChar(name, nameLen);
10955|       |        if (result && PyBytes_Check(path->object)) {
10956|       |            Py_SETREF(result, PyUnicode_EncodeFSDefault(result));
10957|       |        }
10958|       |    }
10959|       |    return result;
10960|       |#endif
10961|      2|}
posixmodule.c:os_rename_impl:
 6453|      3|{
 6454|      3|    return internal_rename(src, dst, src_dir_fd, dst_dir_fd, 0);
 6455|      3|}
posixmodule.c:internal_rename:
 6363|     48|{
 6364|     48|    const char *function_name = is_replace ? "replace" : "rename";
  ------------------
  |  Branch (6364:33): [True: 45, False: 3]
  ------------------
 6365|     48|    int dir_fd_specified;
 6366|       |
 6367|     48|#ifdef HAVE_RENAMEAT
 6368|     48|    int renameat_unavailable = 0;
 6369|     48|#endif
 6370|       |
 6371|       |#ifdef MS_WINDOWS
 6372|       |    BOOL result;
 6373|       |    int flags = is_replace ? MOVEFILE_REPLACE_EXISTING : 0;
 6374|       |#else
 6375|     48|    int result;
 6376|     48|#endif
 6377|       |
 6378|     48|    dir_fd_specified = (src_dir_fd != DEFAULT_DIR_FD) ||
  ------------------
  |  | 1138|     48|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
  |  Branch (6378:24): [True: 0, False: 48]
  ------------------
 6379|     48|                       (dst_dir_fd != DEFAULT_DIR_FD);
  ------------------
  |  | 1138|     48|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
  |  Branch (6379:24): [True: 0, False: 48]
  ------------------
 6380|       |#ifndef HAVE_RENAMEAT
 6381|       |    if (dir_fd_specified) {
 6382|       |        argument_unavailable_error(function_name, "src_dir_fd and dst_dir_fd");
 6383|       |        return NULL;
 6384|       |    }
 6385|       |#endif
 6386|       |
 6387|     48|    if (PySys_Audit("os.rename", "OOii", src->object, dst->object,
  ------------------
  |  Branch (6387:9): [True: 0, False: 48]
  ------------------
 6388|     48|                    src_dir_fd == DEFAULT_DIR_FD ? -1 : src_dir_fd,
  ------------------
  |  | 1138|     48|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
  |  Branch (6388:21): [True: 48, False: 0]
  ------------------
 6389|     48|                    dst_dir_fd == DEFAULT_DIR_FD ? -1 : dst_dir_fd) < 0) {
  ------------------
  |  | 1138|     48|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
  |  Branch (6389:21): [True: 48, False: 0]
  ------------------
 6390|      0|        return NULL;
 6391|      0|    }
 6392|       |
 6393|       |#ifdef MS_WINDOWS
 6394|       |    Py_BEGIN_ALLOW_THREADS
 6395|       |    result = MoveFileExW(src->wide, dst->wide, flags);
 6396|       |    Py_END_ALLOW_THREADS
 6397|       |
 6398|       |    if (!result)
 6399|       |        return path_error2(src, dst);
 6400|       |
 6401|       |#else
 6402|     48|    Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|     48|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|     48|                        PyThreadState *_save; \
  |  |  121|     48|                        _save = PyEval_SaveThread();
  ------------------
 6403|     48|#ifdef HAVE_RENAMEAT
 6404|     48|    if (dir_fd_specified) {
  ------------------
  |  Branch (6404:9): [True: 0, False: 48]
  ------------------
 6405|      0|        if (HAVE_RENAMEAT_RUNTIME) {
  ------------------
  |  |  611|      0|#  define HAVE_RENAMEAT_RUNTIME 1
  |  |  ------------------
  |  |  |  Branch (611:33): [True: 0, Folded]
  |  |  ------------------
  ------------------
 6406|      0|            result = renameat(src_dir_fd, src->narrow, dst_dir_fd, dst->narrow);
 6407|      0|        } else {
 6408|      0|            renameat_unavailable = 1;
 6409|      0|        }
 6410|      0|    } else
 6411|     48|#endif
 6412|     48|    result = rename(src->narrow, dst->narrow);
 6413|     48|    Py_END_ALLOW_THREADS
  ------------------
  |  |  124|     48|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|     48|                 }
  ------------------
 6414|       |
 6415|       |
 6416|     48|#ifdef HAVE_RENAMEAT
 6417|     48|    if (renameat_unavailable) {
  ------------------
  |  Branch (6417:9): [True: 0, False: 48]
  ------------------
 6418|      0|        argument_unavailable_error(function_name, "src_dir_fd and dst_dir_fd");
 6419|      0|        return NULL;
 6420|      0|    }
 6421|     48|#endif
 6422|       |
 6423|     48|    if (result)
  ------------------
  |  Branch (6423:9): [True: 0, False: 48]
  ------------------
 6424|      0|        return path_error2(src, dst);
 6425|     48|#endif
 6426|     48|    Py_RETURN_NONE;
  ------------------
  |  |  628|     48|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     48|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 6427|     48|}
posixmodule.c:os_replace_impl:
 6475|     45|{
 6476|     45|    return internal_rename(src, dst, src_dir_fd, dst_dir_fd, 1);
 6477|     45|}
posixmodule.c:os_rmdir_impl:
 6498|      6|{
 6499|      6|    int result;
 6500|      6|#ifdef HAVE_UNLINKAT
 6501|      6|    int unlinkat_unavailable = 0;
 6502|      6|#endif
 6503|       |
 6504|      6|    if (PySys_Audit("os.rmdir", "Oi", path->object,
  ------------------
  |  Branch (6504:9): [True: 0, False: 6]
  ------------------
 6505|      6|                    dir_fd == DEFAULT_DIR_FD ? -1 : dir_fd) < 0) {
  ------------------
  |  | 1138|      6|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
  |  Branch (6505:21): [True: 6, False: 0]
  ------------------
 6506|      0|        return NULL;
 6507|      0|    }
 6508|       |
 6509|      6|    Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|      6|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|      6|                        PyThreadState *_save; \
  |  |  121|      6|                        _save = PyEval_SaveThread();
  ------------------
 6510|       |#ifdef MS_WINDOWS
 6511|       |    /* Windows, success=1, UNIX, success=0 */
 6512|       |    result = !RemoveDirectoryW(path->wide);
 6513|       |#else
 6514|      6|#ifdef HAVE_UNLINKAT
 6515|      6|    if (dir_fd != DEFAULT_DIR_FD) {
  ------------------
  |  | 1138|      6|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
  |  Branch (6515:9): [True: 0, False: 6]
  ------------------
 6516|      0|      if (HAVE_UNLINKAT_RUNTIME) {
  ------------------
  |  |  612|      0|#  define HAVE_UNLINKAT_RUNTIME 1
  |  |  ------------------
  |  |  |  Branch (612:33): [True: 0, Folded]
  |  |  ------------------
  ------------------
 6517|      0|        result = unlinkat(dir_fd, path->narrow, AT_REMOVEDIR);
 6518|      0|      } else {
 6519|      0|        unlinkat_unavailable = 1;
 6520|      0|        result = -1;
 6521|      0|      }
 6522|      0|    } else
 6523|      6|#endif
 6524|      6|        result = rmdir(path->narrow);
 6525|      6|#endif
 6526|      6|    Py_END_ALLOW_THREADS
  ------------------
  |  |  124|      6|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|      6|                 }
  ------------------
 6527|       |
 6528|      6|#ifdef HAVE_UNLINKAT
 6529|      6|    if (unlinkat_unavailable) {
  ------------------
  |  Branch (6529:9): [True: 0, False: 6]
  ------------------
 6530|      0|        argument_unavailable_error("rmdir", "dir_fd");
 6531|      0|        return NULL;
 6532|      0|    }
 6533|      6|#endif
 6534|       |
 6535|      6|    if (result)
  ------------------
  |  Branch (6535:9): [True: 3, False: 3]
  ------------------
 6536|      3|        return path_error(path);
 6537|       |
 6538|      3|    Py_RETURN_NONE;
  ------------------
  |  |  628|      3|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      3|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 6539|      6|}
posixmodule.c:os_uname_impl:
 6781|      2|{
 6782|      2|    struct utsname u;
 6783|      2|    int res;
 6784|      2|    PyObject *value;
 6785|       |
 6786|      2|    Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|      2|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|      2|                        PyThreadState *_save; \
  |  |  121|      2|                        _save = PyEval_SaveThread();
  ------------------
 6787|      2|    res = uname(&u);
 6788|      2|    Py_END_ALLOW_THREADS
  ------------------
  |  |  124|      2|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|      2|                 }
  ------------------
 6789|      2|    if (res < 0)
  ------------------
  |  Branch (6789:9): [True: 0, False: 2]
  ------------------
 6790|      0|        return posix_error();
 6791|       |
 6792|      2|    PyObject *UnameResultType = get_posix_state(module)->UnameResultType;
 6793|      2|    value = PyStructSequence_New((PyTypeObject *)UnameResultType);
 6794|      2|    if (value == NULL)
  ------------------
  |  Branch (6794:9): [True: 0, False: 2]
  ------------------
 6795|      0|        return NULL;
 6796|       |
 6797|      2|#define SET(i, field) \
 6798|      2|    { \
 6799|      2|    PyObject *o = PyUnicode_DecodeFSDefault(field); \
 6800|      2|    if (!o) { \
 6801|      2|        Py_DECREF(value); \
 6802|      2|        return NULL; \
 6803|      2|    } \
 6804|      2|    PyStructSequence_SET_ITEM(value, i, o); \
 6805|      2|    } \
 6806|      2|
 6807|      4|    SET(0, u.sysname);
  ------------------
  |  | 6798|      2|    { \
  |  | 6799|      2|    PyObject *o = PyUnicode_DecodeFSDefault(field); \
  |  | 6800|      2|    if (!o) { \
  |  |  ------------------
  |  |  |  Branch (6800:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 6801|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6802|      0|        return NULL; \
  |  | 6803|      0|    } \
  |  | 6804|      2|    PyStructSequence_SET_ITEM(value, i, o); \
  |  |  ------------------
  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 6805|      2|    } \
  ------------------
 6808|      4|    SET(1, u.nodename);
  ------------------
  |  | 6798|      2|    { \
  |  | 6799|      2|    PyObject *o = PyUnicode_DecodeFSDefault(field); \
  |  | 6800|      2|    if (!o) { \
  |  |  ------------------
  |  |  |  Branch (6800:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 6801|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6802|      0|        return NULL; \
  |  | 6803|      0|    } \
  |  | 6804|      2|    PyStructSequence_SET_ITEM(value, i, o); \
  |  |  ------------------
  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 6805|      2|    } \
  ------------------
 6809|      2|    SET(2, u.release);
  ------------------
  |  | 6798|      2|    { \
  |  | 6799|      2|    PyObject *o = PyUnicode_DecodeFSDefault(field); \
  |  | 6800|      2|    if (!o) { \
  |  |  ------------------
  |  |  |  Branch (6800:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 6801|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6802|      0|        return NULL; \
  |  | 6803|      0|    } \
  |  | 6804|      2|    PyStructSequence_SET_ITEM(value, i, o); \
  |  |  ------------------
  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 6805|      2|    } \
  ------------------
 6810|      2|    SET(3, u.version);
  ------------------
  |  | 6798|      2|    { \
  |  | 6799|      2|    PyObject *o = PyUnicode_DecodeFSDefault(field); \
  |  | 6800|      2|    if (!o) { \
  |  |  ------------------
  |  |  |  Branch (6800:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 6801|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6802|      0|        return NULL; \
  |  | 6803|      0|    } \
  |  | 6804|      2|    PyStructSequence_SET_ITEM(value, i, o); \
  |  |  ------------------
  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 6805|      2|    } \
  ------------------
 6811|      2|    SET(4, u.machine);
  ------------------
  |  | 6798|      2|    { \
  |  | 6799|      2|    PyObject *o = PyUnicode_DecodeFSDefault(field); \
  |  | 6800|      2|    if (!o) { \
  |  |  ------------------
  |  |  |  Branch (6800:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 6801|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6802|      0|        return NULL; \
  |  | 6803|      0|    } \
  |  | 6804|      2|    PyStructSequence_SET_ITEM(value, i, o); \
  |  |  ------------------
  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  |  | 6805|      2|    } \
  ------------------
 6812|       |
 6813|      2|#undef SET
 6814|       |
 6815|      2|    return value;
 6816|      2|}
posixmodule.c:os_register_at_fork_impl:
 8431|     10|{
 8432|     10|    PyInterpreterState *interp;
 8433|       |
 8434|     10|    if (!before && !after_in_child && !after_in_parent) {
  ------------------
  |  Branch (8434:9): [True: 8, False: 2]
  |  Branch (8434:20): [True: 0, False: 8]
  |  Branch (8434:39): [True: 0, False: 0]
  ------------------
 8435|      0|        PyErr_SetString(PyExc_TypeError, "At least one argument is required.");
 8436|      0|        return NULL;
 8437|      0|    }
 8438|     10|    if (check_null_or_callable(before, "before") ||
  ------------------
  |  Branch (8438:9): [True: 0, False: 10]
  ------------------
 8439|     10|        check_null_or_callable(after_in_child, "after_in_child") ||
  ------------------
  |  Branch (8439:9): [True: 0, False: 10]
  ------------------
 8440|     10|        check_null_or_callable(after_in_parent, "after_in_parent")) {
  ------------------
  |  Branch (8440:9): [True: 0, False: 10]
  ------------------
 8441|      0|        return NULL;
 8442|      0|    }
 8443|     10|    interp = _PyInterpreterState_GET();
 8444|       |
 8445|     10|    if (register_at_forker(&interp->before_forkers, before)) {
  ------------------
  |  Branch (8445:9): [True: 0, False: 10]
  ------------------
 8446|      0|        return NULL;
 8447|      0|    }
 8448|     10|    if (register_at_forker(&interp->after_forkers_child, after_in_child)) {
  ------------------
  |  Branch (8448:9): [True: 0, False: 10]
  ------------------
 8449|      0|        return NULL;
 8450|      0|    }
 8451|     10|    if (register_at_forker(&interp->after_forkers_parent, after_in_parent)) {
  ------------------
  |  Branch (8451:9): [True: 0, False: 10]
  ------------------
 8452|      0|        return NULL;
 8453|      0|    }
 8454|     10|    Py_RETURN_NONE;
  ------------------
  |  |  628|     10|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     10|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 8455|     10|}
posixmodule.c:check_null_or_callable:
 8400|     30|{
 8401|     30|    if (obj && !PyCallable_Check(obj)) {
  ------------------
  |  Branch (8401:9): [True: 14, False: 16]
  |  Branch (8401:16): [True: 0, False: 14]
  ------------------
 8402|      0|        PyErr_Format(PyExc_TypeError, "'%s' must be callable, not %s",
 8403|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8404|      0|        return -1;
 8405|      0|    }
 8406|     30|    return 0;
 8407|     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:
 9556|      2|{
 9557|      2|    return _PyLong_FromGid(getegid());
 9558|      2|}
posixmodule.c:os_geteuid_impl:
 9572|      2|{
 9573|      2|    return _PyLong_FromUid(geteuid());
 9574|      2|}
posixmodule.c:os_getgid_impl:
 9588|      2|{
 9589|      2|    return _PyLong_FromGid(getgid());
 9590|      2|}
posixmodule.c:os_getpid_impl:
 9604|      5|{
 9605|      5|#if !defined(MS_WINDOWS) || defined(MS_WINDOWS_DESKTOP) || defined(MS_WINDOWS_SYSTEM)
 9606|      5|    return PyLong_FromPid(getpid());
  ------------------
  |  |  106|      5|#define PyLong_FromPid PyLong_FromLong
  ------------------
 9607|       |#else
 9608|       |    return PyLong_FromUnsignedLong(GetCurrentProcessId());
 9609|       |#endif
 9610|      5|}
posixmodule.c:os_getuid_impl:
10118|      2|{
10119|      2|    return _PyLong_FromUid(getuid());
10120|      2|}
posixmodule.c:os_pidfd_open_impl:
10770|      2|{
10771|      2|    int fd = syscall(__NR_pidfd_open, pid, flags);
10772|      2|    if (fd < 0) {
  ------------------
  |  Branch (10772:9): [True: 0, False: 2]
  ------------------
10773|      0|        return posix_error();
10774|      0|    }
10775|      2|    return PyLong_FromLong(fd);
10776|      2|}
posixmodule.c:os_open_impl:
11643|     48|{
11644|     48|    int fd;
11645|     48|    int async_err = 0;
11646|     48|#ifdef HAVE_OPENAT
11647|     48|    int openat_unavailable = 0;
11648|     48|#endif
11649|       |
11650|     48|#ifdef O_CLOEXEC
11651|     48|    int *atomic_flag_works = &_Py_open_cloexec_works;
11652|       |#elif !defined(MS_WINDOWS)
11653|       |    int *atomic_flag_works = NULL;
11654|       |#endif
11655|       |
11656|       |#ifdef MS_WINDOWS
11657|       |    flags |= O_NOINHERIT;
11658|       |#elif defined(O_CLOEXEC)
11659|     48|    flags |= O_CLOEXEC;
11660|     48|#endif
11661|       |
11662|     48|    if (PySys_Audit("open", "OOi", path->object, Py_None, flags) < 0) {
  ------------------
  |  |  616|     48|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (11662:9): [True: 0, False: 48]
  ------------------
11663|      0|        return -1;
11664|      0|    }
11665|       |
11666|     48|    _Py_BEGIN_SUPPRESS_IPH
11667|     48|    do {
11668|     48|        Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|     48|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|     48|                        PyThreadState *_save; \
  |  |  121|     48|                        _save = PyEval_SaveThread();
  ------------------
11669|       |#ifdef MS_WINDOWS
11670|       |        fd = _wopen(path->wide, flags, mode);
11671|       |#else
11672|     48|#ifdef HAVE_OPENAT
11673|     48|        if (dir_fd != DEFAULT_DIR_FD) {
  ------------------
  |  | 1138|     48|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
  |  Branch (11673:13): [True: 0, False: 48]
  ------------------
11674|      0|            if (HAVE_OPENAT_RUNTIME) {
  ------------------
  |  |  613|      0|#  define HAVE_OPENAT_RUNTIME 1
  |  |  ------------------
  |  |  |  Branch (613:31): [True: 0, Folded]
  |  |  ------------------
  ------------------
11675|      0|                fd = openat(dir_fd, path->narrow, flags, mode);
11676|       |
11677|      0|            } else {
11678|      0|                openat_unavailable = 1;
11679|      0|                fd = -1;
11680|      0|            }
11681|      0|        } else
11682|     48|#endif /* HAVE_OPENAT */
11683|     48|            fd = open(path->narrow, flags, mode);
11684|     48|#endif /* !MS_WINDOWS */
11685|     48|        Py_END_ALLOW_THREADS
  ------------------
  |  |  124|     48|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|     48|                 }
  ------------------
11686|     48|    } while (fd < 0 && errno == EINTR && !(async_err = PyErr_CheckSignals()));
  ------------------
  |  Branch (11686:14): [True: 0, False: 48]
  |  Branch (11686:24): [True: 0, False: 0]
  |  Branch (11686:42): [True: 0, False: 0]
  ------------------
11687|     48|    _Py_END_SUPPRESS_IPH
11688|       |
11689|     48|#ifdef HAVE_OPENAT
11690|     48|    if (openat_unavailable) {
  ------------------
  |  Branch (11690:9): [True: 0, False: 48]
  ------------------
11691|      0|        argument_unavailable_error(NULL, "dir_fd");
11692|      0|        return -1;
11693|      0|    }
11694|     48|#endif
11695|       |
11696|     48|    if (fd < 0) {
  ------------------
  |  Branch (11696:9): [True: 0, False: 48]
  ------------------
11697|      0|        if (!async_err)
  ------------------
  |  Branch (11697:13): [True: 0, False: 0]
  ------------------
11698|      0|            PyErr_SetFromErrnoWithFilenameObject(PyExc_OSError, path->object);
11699|      0|        return -1;
11700|      0|    }
11701|       |
11702|     48|#ifndef MS_WINDOWS
11703|     48|    if (_Py_set_inheritable(fd, 0, atomic_flag_works) < 0) {
  ------------------
  |  Branch (11703:9): [True: 0, False: 48]
  ------------------
11704|      0|        close(fd);
11705|      0|        return -1;
11706|      0|    }
11707|     48|#endif
11708|       |
11709|     48|    return fd;
11710|     48|}
posixmodule.c:os_close_impl:
11724|      5|{
11725|      5|    int res;
11726|       |    /* We do not want to retry upon EINTR: see http://lwn.net/Articles/576478/
11727|       |     * and http://linux.derkeiler.com/Mailing-Lists/Kernel/2005-09/3000.html
11728|       |     * for more details.
11729|       |     */
11730|      5|    Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|      5|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|      5|                        PyThreadState *_save; \
  |  |  121|      5|                        _save = PyEval_SaveThread();
  ------------------
11731|      5|    _Py_BEGIN_SUPPRESS_IPH
11732|      5|    res = close(fd);
11733|      5|    _Py_END_SUPPRESS_IPH
11734|      5|    Py_END_ALLOW_THREADS
  ------------------
  |  |  124|      5|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|      5|                 }
  ------------------
11735|      5|    if (res < 0)
  ------------------
  |  Branch (11735:9): [True: 0, False: 5]
  ------------------
11736|      0|        return posix_error();
11737|      5|    Py_RETURN_NONE;
  ------------------
  |  |  628|      5|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      5|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
11738|      5|}
posixmodule.c:conv_confname:
14171|      4|{
14172|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14173|      4|        PyObject *table = PyObject_GetAttrString(module, tablename);
14174|      4|        if (table == NULL) {
  ------------------
  |  Branch (14174:13): [True: 0, False: 4]
  ------------------
14175|      0|            return 0;
14176|      0|        }
14177|       |
14178|      4|        arg = PyObject_GetItem(table, arg);
14179|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14180|      4|        if (arg == NULL) {
  ------------------
  |  Branch (14180:13): [True: 0, False: 4]
  ------------------
14181|      0|            PyErr_SetString(
14182|      0|                PyExc_ValueError, "unrecognized configuration name");
14183|      0|            return 0;
14184|      0|        }
14185|      4|    } else {
14186|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14187|      0|    }
14188|       |
14189|      4|    int success = 0;
14190|      4|    if (!PyIndex_Check(arg)) {
  ------------------
  |  Branch (14190:9): [True: 0, False: 4]
  ------------------
14191|      0|        PyErr_SetString(PyExc_TypeError,
14192|      0|            "configuration names must be strings or integers");
14193|      4|    } else {
14194|      4|        int value = PyLong_AsInt(arg);
14195|      4|        if (!(value == -1 && PyErr_Occurred())) {
  ------------------
  |  Branch (14195:15): [True: 0, False: 4]
  |  Branch (14195:30): [True: 0, False: 0]
  ------------------
14196|      4|            *valuep = value;
14197|      4|            success = 1;
14198|      4|        }
14199|      4|    }
14200|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14201|      4|    return success;
14202|      4|}
posixmodule.c:os_confstr_impl:
14530|      2|{
14531|      2|    PyObject *result = NULL;
14532|      2|    char buffer[255];
14533|      2|    size_t len;
14534|       |
14535|      2|    errno = 0;
14536|      2|    len = confstr(name, buffer, sizeof(buffer));
14537|      2|    if (len == 0) {
  ------------------
  |  Branch (14537:9): [True: 0, False: 2]
  ------------------
14538|      0|        if (errno) {
  ------------------
  |  Branch (14538:13): [True: 0, False: 0]
  ------------------
14539|      0|            posix_error();
14540|      0|            return NULL;
14541|      0|        }
14542|      0|        else {
14543|      0|            Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
14544|      0|        }
14545|      0|    }
14546|       |
14547|      2|    if (len >= sizeof(buffer)) {
  ------------------
  |  Branch (14547:9): [True: 0, False: 2]
  ------------------
14548|      0|        size_t len2;
14549|      0|        char *buf = PyMem_Malloc(len);
14550|      0|        if (buf == NULL)
  ------------------
  |  Branch (14550:13): [True: 0, False: 0]
  ------------------
14551|      0|            return PyErr_NoMemory();
14552|      0|        len2 = confstr(name, buf, len);
14553|      0|        assert(len == len2);
14554|      0|        result = PyUnicode_DecodeFSDefaultAndSize(buf, len2-1);
14555|      0|        PyMem_Free(buf);
14556|      0|    }
14557|      2|    else
14558|      2|        result = PyUnicode_DecodeFSDefaultAndSize(buffer, len-1);
14559|      2|    return result;
14560|      2|}
posixmodule.c:os_sysconf_impl:
15078|      2|{
15079|      2|    long value;
15080|       |
15081|      2|    errno = 0;
15082|      2|    value = sysconf(name);
15083|      2|    if (value == -1 && errno != 0)
  ------------------
  |  Branch (15083:9): [True: 0, False: 2]
  |  Branch (15083:24): [True: 0, False: 0]
  ------------------
15084|      0|        posix_error();
15085|      2|    return value;
15086|      2|}
posixmodule.c:os__path_splitroot_ex_impl:
 6081|     42|{
 6082|     42|    Py_ssize_t drvsize, rootsize;
 6083|     42|    PyObject *drv = NULL, *root = NULL, *tail = NULL, *result = NULL;
 6084|       |
 6085|     42|    const wchar_t *buffer = path->wide;
 6086|     42|    _Py_skiproot(buffer, path->length, &drvsize, &rootsize);
 6087|     42|    drv = PyUnicode_FromWideChar(buffer, drvsize);
 6088|     42|    if (drv == NULL) {
  ------------------
  |  Branch (6088:9): [True: 0, False: 42]
  ------------------
 6089|      0|        goto exit;
 6090|      0|    }
 6091|     42|    root = PyUnicode_FromWideChar(&buffer[drvsize], rootsize);
 6092|     42|    if (root == NULL) {
  ------------------
  |  Branch (6092:9): [True: 0, False: 42]
  ------------------
 6093|      0|        goto exit;
 6094|      0|    }
 6095|     42|    tail = PyUnicode_FromWideChar(&buffer[drvsize + rootsize],
 6096|     42|                                  path->length - drvsize - rootsize);
 6097|     42|    if (tail == NULL) {
  ------------------
  |  Branch (6097:9): [True: 0, False: 42]
  ------------------
 6098|      0|        goto exit;
 6099|      0|    }
 6100|     42|    if (PyBytes_Check(path->object)) {
  ------------------
  |  |   28|     42|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     42|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 42]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6101|      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]
  |  |  ------------------
  ------------------
 6102|      0|        if (drv == NULL) {
  ------------------
  |  Branch (6102:13): [True: 0, False: 0]
  ------------------
 6103|      0|            goto exit;
 6104|      0|        }
 6105|      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]
  |  |  ------------------
  ------------------
 6106|      0|        if (root == NULL) {
  ------------------
  |  Branch (6106:13): [True: 0, False: 0]
  ------------------
 6107|      0|            goto exit;
 6108|      0|        }
 6109|      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]
  |  |  ------------------
  ------------------
 6110|      0|        if (tail == NULL) {
  ------------------
  |  Branch (6110:13): [True: 0, False: 0]
  ------------------
 6111|      0|            goto exit;
 6112|      0|        }
 6113|      0|    }
 6114|     42|    result = PyTuple_Pack(3, drv, root, tail);
 6115|     42|exit:
 6116|     42|    Py_XDECREF(drv);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6117|     42|    Py_XDECREF(root);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6118|     42|    Py_XDECREF(tail);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6119|     42|    return result;
 6120|     42|}
posixmodule.c:os__path_normpath_impl:
 6134|    123|{
 6135|    123|    PyObject *result;
 6136|    123|    Py_ssize_t norm_len;
 6137|    123|    wchar_t *norm_path = _Py_normpath_and_size((wchar_t *)path->wide,
 6138|    123|                                               path->length, &norm_len);
 6139|    123|    if (!norm_len) {
  ------------------
  |  Branch (6139:9): [True: 0, False: 123]
  ------------------
 6140|      0|        result = PyUnicode_FromOrdinal('.');
 6141|      0|    }
 6142|    123|    else {
 6143|    123|        result = PyUnicode_FromWideChar(norm_path, norm_len);
 6144|    123|    }
 6145|    123|    if (PyBytes_Check(path->object)) {
  ------------------
  |  |   28|    123|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    123|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 123]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6146|      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]
  |  |  ------------------
  ------------------
 6147|      0|    }
 6148|    123|    return result;
 6149|    123|}
posixmodule.c:os_fspath_impl:
17158|  8.32k|{
17159|  8.32k|    return PyOS_FSPath(path);
17160|  8.32k|}
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:
18655|      2|{
18656|      2|    _posixstate *state = get_posix_state(m);
18657|       |
18658|      2|#if defined(HAVE_PWRITEV)
18659|      2|    if (HAVE_PWRITEV_RUNTIME) {} else {
  ------------------
  |  |  618|      2|#  define HAVE_PWRITEV_RUNTIME 1
  |  |  ------------------
  |  |  |  Branch (618:32): [True: 2, Folded]
  |  |  ------------------
  ------------------
18660|      0|        PyObject* dct = PyModule_GetDict(m);
18661|       |
18662|      0|        if (dct == NULL) {
  ------------------
  |  Branch (18662:13): [True: 0, False: 0]
  ------------------
18663|      0|            return -1;
18664|      0|        }
18665|       |
18666|      0|        if (PyDict_PopString(dct, "pwritev", NULL) < 0) {
  ------------------
  |  Branch (18666:13): [True: 0, False: 0]
  ------------------
18667|      0|            return -1;
18668|      0|        }
18669|      0|        if (PyDict_PopString(dct, "preadv", NULL) < 0) {
  ------------------
  |  Branch (18669:13): [True: 0, False: 0]
  ------------------
18670|      0|            return -1;
18671|      0|        }
18672|      0|    }
18673|      2|#endif
18674|       |
18675|      2|#ifdef HAVE_STATX
18676|      2|    if (statx == NULL) {
  ------------------
  |  Branch (18676:9): [True: 0, False: 2]
  ------------------
18677|      0|        PyObject* dct = PyModule_GetDict(m);
18678|      0|        if (dct == NULL) {
  ------------------
  |  Branch (18678:13): [True: 0, False: 0]
  ------------------
18679|      0|            return -1;
18680|      0|        }
18681|      0|        if (PyDict_PopString(dct, "statx", NULL) < 0) {
  ------------------
  |  Branch (18681:13): [True: 0, False: 0]
  ------------------
18682|      0|            return -1;
18683|      0|        }
18684|      0|    }
18685|      2|    else {
18686|      2|        state->StatxResultType = PyType_FromModuleAndSpec(m, &pystatx_result_spec, NULL);
18687|      2|        if (PyModule_AddObjectRef(m, "statx_result", state->StatxResultType) < 0) {
  ------------------
  |  Branch (18687:13): [True: 0, False: 2]
  ------------------
18688|      0|            return -1;
18689|      0|        }
18690|      2|    }
18691|      2|#endif
18692|       |
18693|       |    /* Initialize environ dictionary */
18694|      2|    if (PyModule_Add(m, "environ", convertenviron()) != 0) {
  ------------------
  |  Branch (18694:9): [True: 0, False: 2]
  ------------------
18695|      0|        return -1;
18696|      0|    }
18697|       |
18698|      2|    if (all_ins(m))
  ------------------
  |  Branch (18698:9): [True: 0, False: 2]
  ------------------
18699|      0|        return -1;
18700|       |
18701|      2|    if (setup_confname_tables(m))
  ------------------
  |  Branch (18701:9): [True: 0, False: 2]
  ------------------
18702|      0|        return -1;
18703|       |
18704|      2|    if (PyModule_AddObjectRef(m, "error", PyExc_OSError) < 0) {
  ------------------
  |  Branch (18704:9): [True: 0, False: 2]
  ------------------
18705|      0|        return -1;
18706|      0|    }
18707|       |
18708|      2|#if defined(HAVE_WAITID)
18709|      2|    state->WaitidResultType = (PyObject *)PyStructSequence_NewType(&waitid_result_desc);
18710|      2|    if (PyModule_AddObjectRef(m, "waitid_result", state->WaitidResultType) < 0) {
  ------------------
  |  Branch (18710:9): [True: 0, False: 2]
  ------------------
18711|      0|        return -1;
18712|      0|    }
18713|      2|#endif
18714|       |
18715|      2|    stat_result_desc.fields[7].name = PyStructSequence_UnnamedField;
18716|      2|    stat_result_desc.fields[8].name = PyStructSequence_UnnamedField;
18717|      2|    stat_result_desc.fields[9].name = PyStructSequence_UnnamedField;
18718|      2|    state->StatResultType = (PyObject *)PyStructSequence_NewType(&stat_result_desc);
18719|      2|    if (PyModule_AddObjectRef(m, "stat_result", state->StatResultType) < 0) {
  ------------------
  |  Branch (18719:9): [True: 0, False: 2]
  ------------------
18720|      0|        return -1;
18721|      0|    }
18722|      2|    state->statresult_new_orig = ((PyTypeObject *)state->StatResultType)->tp_new;
18723|      2|    ((PyTypeObject *)state->StatResultType)->tp_new = statresult_new;
18724|       |
18725|      2|    state->StatVFSResultType = (PyObject *)PyStructSequence_NewType(&statvfs_result_desc);
18726|      2|    if (PyModule_AddObjectRef(m, "statvfs_result", state->StatVFSResultType) < 0) {
  ------------------
  |  Branch (18726:9): [True: 0, False: 2]
  ------------------
18727|      0|        return -1;
18728|      0|    }
18729|       |
18730|      2|#if defined(HAVE_SCHED_SETPARAM) || defined(HAVE_SCHED_SETSCHEDULER) || defined(POSIX_SPAWN_SETSCHEDULER) || defined(POSIX_SPAWN_SETSCHEDPARAM)
18731|      2|    state->SchedParamType = (PyObject *)PyStructSequence_NewType(&sched_param_desc);
18732|      2|    if (PyModule_AddObjectRef(m, "sched_param", state->SchedParamType) < 0) {
  ------------------
  |  Branch (18732:9): [True: 0, False: 2]
  ------------------
18733|      0|        return -1;
18734|      0|    }
18735|      2|    ((PyTypeObject *)state->SchedParamType)->tp_new = os_sched_param;
18736|      2|    if (_PyType_AddMethod((PyTypeObject *)state->SchedParamType,
  ------------------
  |  Branch (18736:9): [True: 0, False: 2]
  ------------------
18737|      2|                          &os_sched_param_reduce_method) < 0)
18738|      0|    {
18739|      0|        return -1;
18740|      0|    }
18741|      2|    PyType_Modified((PyTypeObject *)state->SchedParamType);
18742|      2|#endif
18743|       |
18744|       |    /* initialize TerminalSize_info */
18745|      2|    state->TerminalSizeType = (PyObject *)PyStructSequence_NewType(&TerminalSize_desc);
18746|      2|    if (PyModule_AddObjectRef(m, "terminal_size", state->TerminalSizeType) < 0) {
  ------------------
  |  Branch (18746:9): [True: 0, False: 2]
  ------------------
18747|      0|        return -1;
18748|      0|    }
18749|       |
18750|       |    /* initialize scandir types */
18751|      2|    PyObject *ScandirIteratorType = PyType_FromModuleAndSpec(m, &ScandirIteratorType_spec, NULL);
18752|      2|    if (ScandirIteratorType == NULL) {
  ------------------
  |  Branch (18752:9): [True: 0, False: 2]
  ------------------
18753|      0|        return -1;
18754|      0|    }
18755|      2|    state->ScandirIteratorType = ScandirIteratorType;
18756|       |
18757|      2|    state->DirEntryType = PyType_FromModuleAndSpec(m, &DirEntryType_spec, NULL);
18758|      2|    if (PyModule_AddObjectRef(m, "DirEntry", state->DirEntryType) < 0) {
  ------------------
  |  Branch (18758:9): [True: 0, False: 2]
  ------------------
18759|      0|        return -1;
18760|      0|    }
18761|       |
18762|      2|    state->TimesResultType = (PyObject *)PyStructSequence_NewType(&times_result_desc);
18763|      2|    if (PyModule_AddObjectRef(m, "times_result", state->TimesResultType) < 0) {
  ------------------
  |  Branch (18763:9): [True: 0, False: 2]
  ------------------
18764|      0|        return -1;
18765|      0|    }
18766|       |
18767|      2|    state->UnameResultType = (PyObject *)PyStructSequence_NewType(&uname_result_desc);
18768|      2|    if (PyModule_AddObjectRef(m, "uname_result", state->UnameResultType) < 0) {
  ------------------
  |  Branch (18768:9): [True: 0, False: 2]
  ------------------
18769|      0|        return -1;
18770|      0|    }
18771|       |
18772|      2|    if ((state->billion = PyLong_FromLong(1000000000)) == NULL)
  ------------------
  |  Branch (18772:9): [True: 0, False: 2]
  ------------------
18773|      0|        return -1;
18774|      2|#if defined(HAVE_WAIT3) || defined(HAVE_WAIT4)
18775|      2|    state->struct_rusage = PyUnicode_InternFromString("struct_rusage");
18776|      2|    if (state->struct_rusage == NULL)
  ------------------
  |  Branch (18776:9): [True: 0, False: 2]
  ------------------
18777|      0|        return -1;
18778|      2|#endif
18779|      2|    state->st_mode = PyUnicode_InternFromString("st_mode");
18780|      2|    if (state->st_mode == NULL)
  ------------------
  |  Branch (18780:9): [True: 0, False: 2]
  ------------------
18781|      0|        return -1;
18782|       |
18783|       |    /* suppress "function not used" warnings */
18784|      2|    {
18785|      2|    int ignored;
18786|      2|    fd_specified("", -1);
18787|      2|    follow_symlinks_specified("", 1);
18788|      2|    dir_fd_and_follow_symlinks_invalid("chmod", DEFAULT_DIR_FD, 1);
  ------------------
  |  | 1138|      2|#define DEFAULT_DIR_FD (int)AT_FDCWD
  ------------------
18789|      2|    dir_fd_converter(Py_None, &ignored);
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
18790|      2|    dir_fd_unavailable(Py_None, &ignored);
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
18791|      2|    }
18792|       |
18793|       |    /*
18794|       |     * provide list of locally available functions
18795|       |     * so os.py can populate support_* lists
18796|       |     */
18797|      2|    PyObject *list = PyList_New(0);
18798|      2|    if (!list) {
  ------------------
  |  Branch (18798:9): [True: 0, False: 2]
  ------------------
18799|      0|        return -1;
18800|      0|    }
18801|     66|    for (const struct have_function *trace = have_functions; trace->label; trace++) {
  ------------------
  |  Branch (18801:62): [True: 64, False: 2]
  ------------------
18802|     64|        PyObject *unicode;
18803|     64|        if (trace->probe && !trace->probe()) continue;
  ------------------
  |  Branch (18803:13): [True: 34, False: 30]
  |  Branch (18803:29): [True: 0, False: 34]
  ------------------
18804|     64|        unicode = PyUnicode_DecodeASCII(trace->label, strlen(trace->label), NULL);
18805|     64|        if (!unicode)
  ------------------
  |  Branch (18805:13): [True: 0, False: 64]
  ------------------
18806|      0|            return -1;
18807|     64|        if (PyList_Append(list, unicode))
  ------------------
  |  Branch (18807:13): [True: 0, False: 64]
  ------------------
18808|      0|            return -1;
18809|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
18810|     64|    }
18811|       |
18812|      2|#ifndef MS_WINDOWS
18813|      2|    if (_Py_GetTicksPerSecond(&state->ticks_per_second) < 0) {
  ------------------
  |  Branch (18813:9): [True: 0, False: 2]
  ------------------
18814|      0|        PyErr_SetString(PyExc_RuntimeError,
18815|      0|                        "cannot read ticks_per_second");
18816|      0|        return -1;
18817|      0|    }
18818|      2|    assert(state->ticks_per_second >= 1);
18819|      2|#endif
18820|       |
18821|      2|    return PyModule_Add(m, "_have_functions", list);
18822|      2|}
posixmodule.c:all_ins:
17733|      2|{
17734|      2|#ifdef F_OK
17735|      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]
  |  |  ------------------
  ------------------
17736|      2|#endif
17737|      2|#ifdef R_OK
17738|      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]
  |  |  ------------------
  ------------------
17739|      2|#endif
17740|      2|#ifdef W_OK
17741|      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]
  |  |  ------------------
  ------------------
17742|      2|#endif
17743|      2|#ifdef X_OK
17744|      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]
  |  |  ------------------
  ------------------
17745|      2|#endif
17746|      2|#ifdef NGROUPS_MAX
17747|      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]
  |  |  ------------------
  ------------------
17748|      2|#endif
17749|      2|#ifdef TMP_MAX
17750|      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]
  |  |  ------------------
  ------------------
17751|      2|#endif
17752|      2|#ifdef WCONTINUED
17753|      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]
  |  |  ------------------
  ------------------
17754|      2|#endif
17755|      2|#ifdef WNOHANG
17756|      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]
  |  |  ------------------
  ------------------
17757|      2|#endif
17758|      2|#ifdef WUNTRACED
17759|      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]
  |  |  ------------------
  ------------------
17760|      2|#endif
17761|      2|#ifdef O_RDONLY
17762|      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]
  |  |  ------------------
  ------------------
17763|      2|#endif
17764|      2|#ifdef O_WRONLY
17765|      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]
  |  |  ------------------
  ------------------
17766|      2|#endif
17767|      2|#ifdef O_RDWR
17768|      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]
  |  |  ------------------
  ------------------
17769|      2|#endif
17770|      2|#ifdef O_NDELAY
17771|      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]
  |  |  ------------------
  ------------------
17772|      2|#endif
17773|      2|#ifdef O_NONBLOCK
17774|      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]
  |  |  ------------------
  ------------------
17775|      2|#endif
17776|      2|#ifdef O_APPEND
17777|      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]
  |  |  ------------------
  ------------------
17778|      2|#endif
17779|      2|#ifdef O_DSYNC
17780|      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]
  |  |  ------------------
  ------------------
17781|      2|#endif
17782|      2|#ifdef O_RSYNC
17783|      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]
  |  |  ------------------
  ------------------
17784|      2|#endif
17785|      2|#ifdef O_SYNC
17786|      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]
  |  |  ------------------
  ------------------
17787|      2|#endif
17788|      2|#ifdef O_NOCTTY
17789|      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]
  |  |  ------------------
  ------------------
17790|      2|#endif
17791|      2|#ifdef O_CREAT
17792|      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]
  |  |  ------------------
  ------------------
17793|      2|#endif
17794|      2|#ifdef O_EXCL
17795|      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]
  |  |  ------------------
  ------------------
17796|      2|#endif
17797|      2|#ifdef O_TRUNC
17798|      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]
  |  |  ------------------
  ------------------
17799|      2|#endif
17800|       |#ifdef O_BINARY
17801|       |    if (PyModule_AddIntMacro(m, O_BINARY)) return -1;
17802|       |#endif
17803|       |#ifdef O_TEXT
17804|       |    if (PyModule_AddIntMacro(m, O_TEXT)) return -1;
17805|       |#endif
17806|       |#ifdef O_XATTR
17807|       |    if (PyModule_AddIntMacro(m, O_XATTR)) return -1;
17808|       |#endif
17809|      2|#ifdef O_LARGEFILE
17810|      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]
  |  |  ------------------
  ------------------
17811|      2|#endif
17812|      2|#ifndef __GNU__
17813|       |#ifdef O_SHLOCK
17814|       |    if (PyModule_AddIntMacro(m, O_SHLOCK)) return -1;
17815|       |#endif
17816|       |#ifdef O_EXLOCK
17817|       |    if (PyModule_AddIntMacro(m, O_EXLOCK)) return -1;
17818|       |#endif
17819|      2|#endif
17820|       |#ifdef O_EXEC
17821|       |    if (PyModule_AddIntMacro(m, O_EXEC)) return -1;
17822|       |#endif
17823|       |#ifdef O_SEARCH
17824|       |    if (PyModule_AddIntMacro(m, O_SEARCH)) return -1;
17825|       |#endif
17826|      2|#ifdef O_PATH
17827|      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]
  |  |  ------------------
  ------------------
17828|      2|#endif
17829|       |#ifdef O_TTY_INIT
17830|       |    if (PyModule_AddIntMacro(m, O_TTY_INIT)) return -1;
17831|       |#endif
17832|      2|#ifdef O_TMPFILE
17833|      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]
  |  |  ------------------
  ------------------
17834|      2|#endif
17835|      2|#ifdef PRIO_PROCESS
17836|      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]
  |  |  ------------------
  ------------------
17837|      2|#endif
17838|      2|#ifdef PRIO_PGRP
17839|      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]
  |  |  ------------------
  ------------------
17840|      2|#endif
17841|      2|#ifdef PRIO_USER
17842|      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]
  |  |  ------------------
  ------------------
17843|      2|#endif
17844|       |#ifdef PRIO_DARWIN_THREAD
17845|       |    if (PyModule_AddIntMacro(m, PRIO_DARWIN_THREAD)) return -1;
17846|       |#endif
17847|       |#ifdef PRIO_DARWIN_PROCESS
17848|       |    if (PyModule_AddIntMacro(m, PRIO_DARWIN_PROCESS)) return -1;
17849|       |#endif
17850|       |#ifdef PRIO_DARWIN_BG
17851|       |    if (PyModule_AddIntMacro(m, PRIO_DARWIN_BG)) return -1;
17852|       |#endif
17853|       |#ifdef PRIO_DARWIN_NONUI
17854|       |    if (PyModule_AddIntMacro(m, PRIO_DARWIN_NONUI)) return -1;
17855|       |#endif
17856|      2|#ifdef O_CLOEXEC
17857|      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]
  |  |  ------------------
  ------------------
17858|      2|#endif
17859|      2|#ifdef O_ACCMODE
17860|      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]
  |  |  ------------------
  ------------------
17861|      2|#endif
17862|       |#ifdef O_EVTONLY
17863|       |    if (PyModule_AddIntMacro(m, O_EVTONLY)) return -1;
17864|       |#endif
17865|      2|#ifdef O_FSYNC
17866|      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]
  |  |  ------------------
  ------------------
17867|      2|#endif
17868|       |#ifdef O_SYMLINK
17869|       |    if (PyModule_AddIntMacro(m, O_SYMLINK)) return -1;
17870|       |#endif
17871|       |
17872|      2|#ifdef SEEK_HOLE
17873|      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]
  |  |  ------------------
  ------------------
17874|      2|#endif
17875|      2|#ifdef SEEK_DATA
17876|      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]
  |  |  ------------------
  ------------------
17877|      2|#endif
17878|       |
17879|       |/* MS Windows */
17880|       |#ifdef O_NOINHERIT
17881|       |    /* Don't inherit in child processes. */
17882|       |    if (PyModule_AddIntMacro(m, O_NOINHERIT)) return -1;
17883|       |#endif
17884|       |#ifdef _O_SHORT_LIVED
17885|       |    /* Optimize for short life (keep in memory). */
17886|       |    /* MS forgot to define this one with a non-underscore form too. */
17887|       |    if (PyModule_AddIntConstant(m, "O_SHORT_LIVED", _O_SHORT_LIVED)) return -1;
17888|       |#endif
17889|       |#ifdef O_TEMPORARY
17890|       |    /* Automatically delete when last handle is closed. */
17891|       |    if (PyModule_AddIntMacro(m, O_TEMPORARY)) return -1;
17892|       |#endif
17893|       |#ifdef O_RANDOM
17894|       |    /* Optimize for random access. */
17895|       |    if (PyModule_AddIntMacro(m, O_RANDOM)) return -1;
17896|       |#endif
17897|       |#ifdef O_SEQUENTIAL
17898|       |    /* Optimize for sequential access. */
17899|       |    if (PyModule_AddIntMacro(m, O_SEQUENTIAL)) return -1;
17900|       |#endif
17901|       |
17902|       |/* GNU extensions. */
17903|      2|#ifdef O_ASYNC
17904|       |    /* Send a SIGIO signal whenever input or output
17905|       |       becomes available on file descriptor */
17906|      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]
  |  |  ------------------
  ------------------
17907|      2|#endif
17908|      2|#ifdef O_DIRECT
17909|       |    /* Direct disk access. */
17910|      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]
  |  |  ------------------
  ------------------
17911|      2|#endif
17912|      2|#ifdef O_DIRECTORY
17913|       |    /* Must be a directory.      */
17914|      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]
  |  |  ------------------
  ------------------
17915|      2|#endif
17916|      2|#ifdef O_NOFOLLOW
17917|       |    /* Do not follow links.      */
17918|      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]
  |  |  ------------------
  ------------------
17919|      2|#endif
17920|       |#ifdef O_NOFOLLOW_ANY
17921|       |    if (PyModule_AddIntMacro(m, O_NOFOLLOW_ANY)) return -1;
17922|       |#endif
17923|       |#ifdef O_NOLINKS
17924|       |    /* Fails if link count of the named file is greater than 1 */
17925|       |    if (PyModule_AddIntMacro(m, O_NOLINKS)) return -1;
17926|       |#endif
17927|      2|#ifdef O_NOATIME
17928|       |    /* Do not update the access time. */
17929|      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]
  |  |  ------------------
  ------------------
17930|      2|#endif
17931|       |
17932|       |    /* These come from sysexits.h */
17933|      2|#ifdef EX_OK
17934|      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]
  |  |  ------------------
  ------------------
17935|      2|#endif /* EX_OK */
17936|      2|#ifdef EX_USAGE
17937|      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]
  |  |  ------------------
  ------------------
17938|      2|#endif /* EX_USAGE */
17939|      2|#ifdef EX_DATAERR
17940|      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]
  |  |  ------------------
  ------------------
17941|      2|#endif /* EX_DATAERR */
17942|      2|#ifdef EX_NOINPUT
17943|      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]
  |  |  ------------------
  ------------------
17944|      2|#endif /* EX_NOINPUT */
17945|      2|#ifdef EX_NOUSER
17946|      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]
  |  |  ------------------
  ------------------
17947|      2|#endif /* EX_NOUSER */
17948|      2|#ifdef EX_NOHOST
17949|      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]
  |  |  ------------------
  ------------------
17950|      2|#endif /* EX_NOHOST */
17951|      2|#ifdef EX_UNAVAILABLE
17952|      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]
  |  |  ------------------
  ------------------
17953|      2|#endif /* EX_UNAVAILABLE */
17954|      2|#ifdef EX_SOFTWARE
17955|      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]
  |  |  ------------------
  ------------------
17956|      2|#endif /* EX_SOFTWARE */
17957|      2|#ifdef EX_OSERR
17958|      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]
  |  |  ------------------
  ------------------
17959|      2|#endif /* EX_OSERR */
17960|      2|#ifdef EX_OSFILE
17961|      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]
  |  |  ------------------
  ------------------
17962|      2|#endif /* EX_OSFILE */
17963|      2|#ifdef EX_CANTCREAT
17964|      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]
  |  |  ------------------
  ------------------
17965|      2|#endif /* EX_CANTCREAT */
17966|      2|#ifdef EX_IOERR
17967|      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]
  |  |  ------------------
  ------------------
17968|      2|#endif /* EX_IOERR */
17969|      2|#ifdef EX_TEMPFAIL
17970|      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]
  |  |  ------------------
  ------------------
17971|      2|#endif /* EX_TEMPFAIL */
17972|      2|#ifdef EX_PROTOCOL
17973|      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]
  |  |  ------------------
  ------------------
17974|      2|#endif /* EX_PROTOCOL */
17975|      2|#ifdef EX_NOPERM
17976|      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]
  |  |  ------------------
  ------------------
17977|      2|#endif /* EX_NOPERM */
17978|      2|#ifdef EX_CONFIG
17979|      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]
  |  |  ------------------
  ------------------
17980|      2|#endif /* EX_CONFIG */
17981|       |#ifdef EX_NOTFOUND
17982|       |    if (PyModule_AddIntMacro(m, EX_NOTFOUND)) return -1;
17983|       |#endif /* EX_NOTFOUND */
17984|       |
17985|       |    /* statvfs */
17986|      2|#ifdef ST_RDONLY
17987|      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]
  |  |  ------------------
  ------------------
17988|      2|#endif /* ST_RDONLY */
17989|      2|#ifdef ST_NOSUID
17990|      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]
  |  |  ------------------
  ------------------
17991|      2|#endif /* ST_NOSUID */
17992|       |
17993|       |       /* GNU extensions */
17994|      2|#ifdef ST_NODEV
17995|      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]
  |  |  ------------------
  ------------------
17996|      2|#endif /* ST_NODEV */
17997|      2|#ifdef ST_NOEXEC
17998|      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]
  |  |  ------------------
  ------------------
17999|      2|#endif /* ST_NOEXEC */
18000|      2|#ifdef ST_SYNCHRONOUS
18001|      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]
  |  |  ------------------
  ------------------
18002|      2|#endif /* ST_SYNCHRONOUS */
18003|      2|#ifdef ST_MANDLOCK
18004|      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]
  |  |  ------------------
  ------------------
18005|      2|#endif /* ST_MANDLOCK */
18006|      2|#ifdef ST_WRITE
18007|      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]
  |  |  ------------------
  ------------------
18008|      2|#endif /* ST_WRITE */
18009|      2|#ifdef ST_APPEND
18010|      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]
  |  |  ------------------
  ------------------
18011|      2|#endif /* ST_APPEND */
18012|      2|#ifdef ST_NOATIME
18013|      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]
  |  |  ------------------
  ------------------
18014|      2|#endif /* ST_NOATIME */
18015|      2|#ifdef ST_NODIRATIME
18016|      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]
  |  |  ------------------
  ------------------
18017|      2|#endif /* ST_NODIRATIME */
18018|      2|#ifdef ST_RELATIME
18019|      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]
  |  |  ------------------
  ------------------
18020|      2|#endif /* ST_RELATIME */
18021|       |
18022|       |    /* FreeBSD sendfile() constants */
18023|       |#ifdef SF_NODISKIO
18024|       |    if (PyModule_AddIntMacro(m, SF_NODISKIO)) return -1;
18025|       |#endif
18026|       |    /* is obsolete since the 11.x release */
18027|       |#ifdef SF_MNOWAIT
18028|       |    if (PyModule_AddIntMacro(m, SF_MNOWAIT)) return -1;
18029|       |#endif
18030|       |#ifdef SF_SYNC
18031|       |    if (PyModule_AddIntMacro(m, SF_SYNC)) return -1;
18032|       |#endif
18033|       |#ifdef SF_NOCACHE
18034|       |    if (PyModule_AddIntMacro(m, SF_NOCACHE)) return -1;
18035|       |#endif
18036|       |
18037|      2|#ifdef TFD_NONBLOCK
18038|      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]
  |  |  ------------------
  ------------------
18039|      2|#endif
18040|      2|#ifdef TFD_CLOEXEC
18041|      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]
  |  |  ------------------
  ------------------
18042|      2|#endif
18043|      2|#ifdef TFD_TIMER_ABSTIME
18044|      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]
  |  |  ------------------
  ------------------
18045|      2|#endif
18046|      2|#ifdef TFD_TIMER_CANCEL_ON_SET
18047|      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]
  |  |  ------------------
  ------------------
18048|      2|#endif
18049|       |
18050|       |    /* constants for posix_fadvise */
18051|      2|#ifdef POSIX_FADV_NORMAL
18052|      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]
  |  |  ------------------
  ------------------
18053|      2|#endif
18054|      2|#ifdef POSIX_FADV_SEQUENTIAL
18055|      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]
  |  |  ------------------
  ------------------
18056|      2|#endif
18057|      2|#ifdef POSIX_FADV_RANDOM
18058|      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]
  |  |  ------------------
  ------------------
18059|      2|#endif
18060|      2|#ifdef POSIX_FADV_NOREUSE
18061|      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]
  |  |  ------------------
  ------------------
18062|      2|#endif
18063|      2|#ifdef POSIX_FADV_WILLNEED
18064|      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]
  |  |  ------------------
  ------------------
18065|      2|#endif
18066|      2|#ifdef POSIX_FADV_DONTNEED
18067|      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]
  |  |  ------------------
  ------------------
18068|      2|#endif
18069|       |
18070|       |    /* constants for waitid */
18071|      2|#if defined(HAVE_SYS_WAIT_H) && defined(HAVE_WAITID)
18072|      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]
  |  |  ------------------
  ------------------
18073|      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]
  |  |  ------------------
  ------------------
18074|      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]
  |  |  ------------------
  ------------------
18075|      2|#ifdef P_PIDFD
18076|      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]
  |  |  ------------------
  ------------------
18077|      2|#endif
18078|       |#ifdef PIDFD_NONBLOCK
18079|       |    if (PyModule_AddIntMacro(m, PIDFD_NONBLOCK)) return -1;
18080|       |#endif
18081|      2|#endif
18082|      2|#ifdef WEXITED
18083|      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]
  |  |  ------------------
  ------------------
18084|      2|#endif
18085|      2|#ifdef WNOWAIT
18086|      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]
  |  |  ------------------
  ------------------
18087|      2|#endif
18088|      2|#ifdef WSTOPPED
18089|      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]
  |  |  ------------------
  ------------------
18090|      2|#endif
18091|      2|#ifdef CLD_EXITED
18092|      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]
  |  |  ------------------
  ------------------
18093|      2|#endif
18094|      2|#ifdef CLD_KILLED
18095|      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]
  |  |  ------------------
  ------------------
18096|      2|#endif
18097|      2|#ifdef CLD_DUMPED
18098|      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]
  |  |  ------------------
  ------------------
18099|      2|#endif
18100|      2|#ifdef CLD_TRAPPED
18101|      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]
  |  |  ------------------
  ------------------
18102|      2|#endif
18103|      2|#ifdef CLD_STOPPED
18104|      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]
  |  |  ------------------
  ------------------
18105|      2|#endif
18106|      2|#ifdef CLD_CONTINUED
18107|      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]
  |  |  ------------------
  ------------------
18108|      2|#endif
18109|       |
18110|       |    /* constants for lockf */
18111|      2|#ifdef F_LOCK
18112|      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]
  |  |  ------------------
  ------------------
18113|      2|#endif
18114|      2|#ifdef F_TLOCK
18115|      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]
  |  |  ------------------
  ------------------
18116|      2|#endif
18117|      2|#ifdef F_ULOCK
18118|      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]
  |  |  ------------------
  ------------------
18119|      2|#endif
18120|      2|#ifdef F_TEST
18121|      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]
  |  |  ------------------
  ------------------
18122|      2|#endif
18123|       |
18124|      2|#ifdef RWF_DSYNC
18125|      2|    if (PyModule_AddIntConstant(m, "RWF_DSYNC", RWF_DSYNC)) return -1;
  ------------------
  |  Branch (18125:9): [True: 0, False: 2]
  ------------------
18126|      2|#endif
18127|      2|#ifdef RWF_HIPRI
18128|      2|    if (PyModule_AddIntConstant(m, "RWF_HIPRI", RWF_HIPRI)) return -1;
  ------------------
  |  Branch (18128:9): [True: 0, False: 2]
  ------------------
18129|      2|#endif
18130|      2|#ifdef RWF_SYNC
18131|      2|    if (PyModule_AddIntConstant(m, "RWF_SYNC", RWF_SYNC)) return -1;
  ------------------
  |  Branch (18131:9): [True: 0, False: 2]
  ------------------
18132|      2|#endif
18133|      2|#ifdef RWF_NOWAIT
18134|      2|    if (PyModule_AddIntConstant(m, "RWF_NOWAIT", RWF_NOWAIT)) return -1;
  ------------------
  |  Branch (18134:9): [True: 0, False: 2]
  ------------------
18135|      2|#endif
18136|       |#ifdef RWF_DONTCACHE
18137|       |    if (PyModule_AddIntConstant(m, "RWF_DONTCACHE", RWF_DONTCACHE)) return -1;
18138|       |#endif
18139|       |#ifdef RWF_ATOMIC
18140|       |    if (PyModule_AddIntConstant(m, "RWF_ATOMIC", RWF_ATOMIC)) return -1;
18141|       |#endif
18142|      2|#ifdef RWF_APPEND
18143|      2|    if (PyModule_AddIntConstant(m, "RWF_APPEND", RWF_APPEND)) return -1;
  ------------------
  |  Branch (18143:9): [True: 0, False: 2]
  ------------------
18144|      2|#endif
18145|       |
18146|       |/* constants for splice */
18147|      2|#if defined(HAVE_SPLICE) && defined(__linux__)
18148|      2|    if (PyModule_AddIntConstant(m, "SPLICE_F_MOVE", SPLICE_F_MOVE)) return -1;
  ------------------
  |  Branch (18148:9): [True: 0, False: 2]
  ------------------
18149|      2|    if (PyModule_AddIntConstant(m, "SPLICE_F_NONBLOCK", SPLICE_F_NONBLOCK)) return -1;
  ------------------
  |  Branch (18149:9): [True: 0, False: 2]
  ------------------
18150|      2|    if (PyModule_AddIntConstant(m, "SPLICE_F_MORE", SPLICE_F_MORE)) return -1;
  ------------------
  |  Branch (18150:9): [True: 0, False: 2]
  ------------------
18151|      2|#endif
18152|       |
18153|       |/* constants for posix_spawn */
18154|      2|#ifdef HAVE_POSIX_SPAWN
18155|      2|    if (PyModule_AddIntConstant(m, "POSIX_SPAWN_OPEN", POSIX_SPAWN_OPEN)) return -1;
  ------------------
  |  Branch (18155:9): [True: 0, False: 2]
  ------------------
18156|      2|    if (PyModule_AddIntConstant(m, "POSIX_SPAWN_CLOSE", POSIX_SPAWN_CLOSE)) return -1;
  ------------------
  |  Branch (18156:9): [True: 0, False: 2]
  ------------------
18157|      2|    if (PyModule_AddIntConstant(m, "POSIX_SPAWN_DUP2", POSIX_SPAWN_DUP2)) return -1;
  ------------------
  |  Branch (18157:9): [True: 0, False: 2]
  ------------------
18158|       |#ifdef HAVE_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSEFROM_NP
18159|       |    if (PyModule_AddIntMacro(m, POSIX_SPAWN_CLOSEFROM)) return -1;
18160|       |#endif
18161|      2|#endif
18162|       |
18163|       |#if defined(HAVE_SPAWNV) || defined (HAVE_RTPSPAWN)
18164|       |    if (PyModule_AddIntConstant(m, "P_WAIT", _P_WAIT)) return -1;
18165|       |    if (PyModule_AddIntConstant(m, "P_NOWAIT", _P_NOWAIT)) return -1;
18166|       |    if (PyModule_AddIntConstant(m, "P_NOWAITO", _P_NOWAITO)) return -1;
18167|       |#endif
18168|       |#ifdef HAVE_SPAWNV
18169|       |    if (PyModule_AddIntConstant(m, "P_OVERLAY", _OLD_P_OVERLAY)) return -1;
18170|       |    if (PyModule_AddIntConstant(m, "P_DETACH", _P_DETACH)) return -1;
18171|       |#endif
18172|       |
18173|      2|#ifdef HAVE_SCHED_H
18174|      2|#ifdef SCHED_OTHER
18175|      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]
  |  |  ------------------
  ------------------
18176|      2|#endif
18177|      2|#ifdef SCHED_DEADLINE
18178|      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]
  |  |  ------------------
  ------------------
18179|      2|#endif
18180|      2|#ifdef SCHED_FIFO
18181|      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]
  |  |  ------------------
  ------------------
18182|      2|#endif
18183|      2|#ifdef SCHED_NORMAL
18184|      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]
  |  |  ------------------
  ------------------
18185|      2|#endif
18186|      2|#ifdef SCHED_RR
18187|      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]
  |  |  ------------------
  ------------------
18188|      2|#endif
18189|       |#ifdef SCHED_SPORADIC
18190|       |    if (PyModule_AddIntMacro(m, SCHED_SPORADIC)) return -1;
18191|       |#endif
18192|      2|#ifdef SCHED_BATCH
18193|      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]
  |  |  ------------------
  ------------------
18194|      2|#endif
18195|      2|#ifdef SCHED_IDLE
18196|      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]
  |  |  ------------------
  ------------------
18197|      2|#endif
18198|      2|#ifdef SCHED_RESET_ON_FORK
18199|      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]
  |  |  ------------------
  ------------------
18200|      2|#endif
18201|       |#ifdef SCHED_SYS
18202|       |    if (PyModule_AddIntMacro(m, SCHED_SYS)) return -1;
18203|       |#endif
18204|       |#ifdef SCHED_IA
18205|       |    if (PyModule_AddIntMacro(m, SCHED_IA)) return -1;
18206|       |#endif
18207|       |#ifdef SCHED_FSS
18208|       |    if (PyModule_AddIntMacro(m, SCHED_FSS)) return -1;
18209|       |#endif
18210|       |#ifdef SCHED_FX
18211|       |    if (PyModule_AddIntConstant(m, "SCHED_FX", SCHED_FSS)) return -1;
18212|       |#endif
18213|       |
18214|       |/* constants for namespaces */
18215|      2|#if defined(HAVE_SETNS) || defined(HAVE_UNSHARE)
18216|      2|#ifdef CLONE_FS
18217|      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]
  |  |  ------------------
  ------------------
18218|      2|#endif
18219|      2|#ifdef CLONE_FILES
18220|      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]
  |  |  ------------------
  ------------------
18221|      2|#endif
18222|      2|#ifdef CLONE_NEWNS
18223|      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]
  |  |  ------------------
  ------------------
18224|      2|#endif
18225|      2|#ifdef CLONE_NEWCGROUP
18226|      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]
  |  |  ------------------
  ------------------
18227|      2|#endif
18228|      2|#ifdef CLONE_NEWUTS
18229|      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]
  |  |  ------------------
  ------------------
18230|      2|#endif
18231|      2|#ifdef CLONE_NEWIPC
18232|      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]
  |  |  ------------------
  ------------------
18233|      2|#endif
18234|      2|#ifdef CLONE_NEWUSER
18235|      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]
  |  |  ------------------
  ------------------
18236|      2|#endif
18237|      2|#ifdef CLONE_NEWPID
18238|      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]
  |  |  ------------------
  ------------------
18239|      2|#endif
18240|      2|#ifdef CLONE_NEWNET
18241|      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]
  |  |  ------------------
  ------------------
18242|      2|#endif
18243|       |#ifdef CLONE_NEWTIME
18244|       |    if (PyModule_AddIntMacro(m, CLONE_NEWTIME)) return -1;
18245|       |#endif
18246|      2|#ifdef CLONE_SYSVSEM
18247|      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]
  |  |  ------------------
  ------------------
18248|      2|#endif
18249|      2|#ifdef CLONE_THREAD
18250|      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]
  |  |  ------------------
  ------------------
18251|      2|#endif
18252|      2|#ifdef CLONE_SIGHAND
18253|      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]
  |  |  ------------------
  ------------------
18254|      2|#endif
18255|      2|#ifdef CLONE_VM
18256|      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]
  |  |  ------------------
  ------------------
18257|      2|#endif
18258|      2|#endif
18259|       |
18260|      2|#endif
18261|       |
18262|      2|#ifdef USE_XATTRS
18263|      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]
  |  |  ------------------
  ------------------
18264|      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]
  |  |  ------------------
  ------------------
18265|      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]
  |  |  ------------------
  ------------------
18266|      2|#endif
18267|       |
18268|      2|#if HAVE_DECL_RTLD_LAZY
18269|      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]
  |  |  ------------------
  ------------------
18270|      2|#endif
18271|      2|#if HAVE_DECL_RTLD_NOW
18272|      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]
  |  |  ------------------
  ------------------
18273|      2|#endif
18274|      2|#if HAVE_DECL_RTLD_GLOBAL
18275|      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]
  |  |  ------------------
  ------------------
18276|      2|#endif
18277|      2|#if HAVE_DECL_RTLD_LOCAL
18278|      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]
  |  |  ------------------
  ------------------
18279|      2|#endif
18280|      2|#if HAVE_DECL_RTLD_NODELETE
18281|      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]
  |  |  ------------------
  ------------------
18282|      2|#endif
18283|      2|#if HAVE_DECL_RTLD_NOLOAD
18284|      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]
  |  |  ------------------
  ------------------
18285|      2|#endif
18286|      2|#if HAVE_DECL_RTLD_DEEPBIND
18287|      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]
  |  |  ------------------
  ------------------
18288|      2|#endif
18289|       |#if HAVE_DECL_RTLD_MEMBER
18290|       |    if (PyModule_AddIntMacro(m, RTLD_MEMBER)) return -1;
18291|       |#endif
18292|       |
18293|      2|#ifdef HAVE_GETRANDOM_SYSCALL
18294|      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]
  |  |  ------------------
  ------------------
18295|      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]
  |  |  ------------------
  ------------------
18296|      2|#endif
18297|      2|#ifdef HAVE_MEMFD_CREATE
18298|      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]
  |  |  ------------------
  ------------------
18299|      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]
  |  |  ------------------
  ------------------
18300|      2|#ifdef MFD_HUGETLB
18301|      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]
  |  |  ------------------
  ------------------
18302|      2|#endif
18303|      2|#ifdef MFD_HUGE_SHIFT
18304|      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]
  |  |  ------------------
  ------------------
18305|      2|#endif
18306|      2|#ifdef MFD_HUGE_MASK
18307|      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]
  |  |  ------------------
  ------------------
18308|      2|#endif
18309|      2|#ifdef MFD_HUGE_64KB
18310|      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]
  |  |  ------------------
  ------------------
18311|      2|#endif
18312|      2|#ifdef MFD_HUGE_512KB
18313|      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]
  |  |  ------------------
  ------------------
18314|      2|#endif
18315|      2|#ifdef MFD_HUGE_1MB
18316|      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]
  |  |  ------------------
  ------------------
18317|      2|#endif
18318|      2|#ifdef MFD_HUGE_2MB
18319|      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]
  |  |  ------------------
  ------------------
18320|      2|#endif
18321|      2|#ifdef MFD_HUGE_8MB
18322|      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]
  |  |  ------------------
  ------------------
18323|      2|#endif
18324|      2|#ifdef MFD_HUGE_16MB
18325|      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]
  |  |  ------------------
  ------------------
18326|      2|#endif
18327|      2|#ifdef MFD_HUGE_32MB
18328|      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]
  |  |  ------------------
  ------------------
18329|      2|#endif
18330|      2|#ifdef MFD_HUGE_256MB
18331|      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]
  |  |  ------------------
  ------------------
18332|      2|#endif
18333|      2|#ifdef MFD_HUGE_512MB
18334|      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]
  |  |  ------------------
  ------------------
18335|      2|#endif
18336|      2|#ifdef MFD_HUGE_1GB
18337|      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]
  |  |  ------------------
  ------------------
18338|      2|#endif
18339|      2|#ifdef MFD_HUGE_2GB
18340|      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]
  |  |  ------------------
  ------------------
18341|      2|#endif
18342|      2|#ifdef MFD_HUGE_16GB
18343|      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]
  |  |  ------------------
  ------------------
18344|      2|#endif
18345|      2|#endif /* HAVE_MEMFD_CREATE */
18346|       |
18347|      2|#if defined(HAVE_EVENTFD) && defined(EFD_CLOEXEC)
18348|      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]
  |  |  ------------------
  ------------------
18349|      2|#ifdef EFD_NONBLOCK
18350|      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]
  |  |  ------------------
  ------------------
18351|      2|#endif
18352|      2|#ifdef EFD_SEMAPHORE
18353|      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]
  |  |  ------------------
  ------------------
18354|      2|#endif
18355|      2|#endif  /* HAVE_EVENTFD && EFD_CLOEXEC */
18356|       |
18357|      2|#ifdef NODEV
18358|      2|    if (PyModule_Add(m, "NODEV", _PyLong_FromDev(NODEV))) return -1;
  ------------------
  |  Branch (18358:9): [True: 0, False: 2]
  ------------------
18359|      2|#endif
18360|       |
18361|      2|#ifdef AT_NO_AUTOMOUNT
18362|      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]
  |  |  ------------------
  ------------------
18363|      2|#endif
18364|       |
18365|      2|#ifdef HAVE_STATX
18366|      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]
  |  |  ------------------
  ------------------
18367|      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]
  |  |  ------------------
  ------------------
18368|      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]
  |  |  ------------------
  ------------------
18369|      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]
  |  |  ------------------
  ------------------
18370|      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]
  |  |  ------------------
  ------------------
18371|      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]
  |  |  ------------------
  ------------------
18372|      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]
  |  |  ------------------
  ------------------
18373|      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]
  |  |  ------------------
  ------------------
18374|      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]
  |  |  ------------------
  ------------------
18375|      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]
  |  |  ------------------
  ------------------
18376|      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]
  |  |  ------------------
  ------------------
18377|      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]
  |  |  ------------------
  ------------------
18378|      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]
  |  |  ------------------
  ------------------
18379|       |#ifdef STATX_MNT_ID
18380|       |    if (PyModule_AddIntMacro(m, STATX_MNT_ID)) return -1;
18381|       |#endif
18382|       |#ifdef STATX_DIOALIGN
18383|       |    if (PyModule_AddIntMacro(m, STATX_DIOALIGN)) return -1;
18384|       |#endif
18385|       |#ifdef STATX_MNT_ID_UNIQUE
18386|       |    if (PyModule_AddIntMacro(m, STATX_MNT_ID_UNIQUE)) return -1;
18387|       |#endif
18388|       |#ifdef STATX_SUBVOL
18389|       |    if (PyModule_AddIntMacro(m, STATX_SUBVOL)) return -1;
18390|       |#endif
18391|       |#ifdef STATX_WRITE_ATOMIC
18392|       |    if (PyModule_AddIntMacro(m, STATX_WRITE_ATOMIC)) return -1;
18393|       |#endif
18394|       |#ifdef STATX_DIO_READ_ALIGN
18395|       |    if (PyModule_AddIntMacro(m, STATX_DIO_READ_ALIGN)) return -1;
18396|       |#endif
18397|       |    /* STATX_ALL intentionally omitted because it is deprecated */
18398|      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]
  |  |  ------------------
  ------------------
18399|      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]
  |  |  ------------------
  ------------------
18400|      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]
  |  |  ------------------
  ------------------
18401|       |    /* STATX_ATTR_* constants are in the stat module */
18402|      2|#endif /* HAVE_STATX */
18403|       |
18404|       |#if defined(__APPLE__)
18405|       |    if (PyModule_AddIntConstant(m, "_COPYFILE_DATA", COPYFILE_DATA)) return -1;
18406|       |    if (PyModule_AddIntConstant(m, "_COPYFILE_STAT", COPYFILE_STAT)) return -1;
18407|       |    if (PyModule_AddIntConstant(m, "_COPYFILE_ACL", COPYFILE_ACL)) return -1;
18408|       |    if (PyModule_AddIntConstant(m, "_COPYFILE_XATTR", COPYFILE_XATTR)) return -1;
18409|       |#endif
18410|       |
18411|       |#ifdef MS_WINDOWS
18412|       |    if (PyModule_AddIntConstant(m, "_LOAD_LIBRARY_SEARCH_DEFAULT_DIRS", LOAD_LIBRARY_SEARCH_DEFAULT_DIRS)) return -1;
18413|       |    if (PyModule_AddIntConstant(m, "_LOAD_LIBRARY_SEARCH_APPLICATION_DIR", LOAD_LIBRARY_SEARCH_APPLICATION_DIR)) return -1;
18414|       |    if (PyModule_AddIntConstant(m, "_LOAD_LIBRARY_SEARCH_SYSTEM32", LOAD_LIBRARY_SEARCH_SYSTEM32)) return -1;
18415|       |    if (PyModule_AddIntConstant(m, "_LOAD_LIBRARY_SEARCH_USER_DIRS", LOAD_LIBRARY_SEARCH_USER_DIRS)) return -1;
18416|       |    if (PyModule_AddIntConstant(m, "_LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR", LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR)) return -1;
18417|       |#endif
18418|       |
18419|      2|    return 0;
18420|      2|}
posixmodule.c:setup_confname_tables:
15113|      2|{
15114|      2|#if defined(HAVE_FPATHCONF) || defined(HAVE_PATHCONF)
15115|      2|    if (setup_confname_table(posix_constants_pathconf,
  ------------------
  |  Branch (15115:9): [True: 0, False: 2]
  ------------------
15116|      2|                             sizeof(posix_constants_pathconf)
15117|      2|                               / sizeof(struct constdef),
15118|      2|                             "pathconf_names", module))
15119|      0|        return -1;
15120|      2|#endif
15121|      2|#ifdef HAVE_CONFSTR
15122|      2|    if (setup_confname_table(posix_constants_confstr,
  ------------------
  |  Branch (15122:9): [True: 0, False: 2]
  ------------------
15123|      2|                             sizeof(posix_constants_confstr)
15124|      2|                               / sizeof(struct constdef),
15125|      2|                             "confstr_names", module))
15126|      0|        return -1;
15127|      2|#endif
15128|      2|#ifdef HAVE_SYSCONF
15129|      2|    if (setup_confname_table(posix_constants_sysconf,
  ------------------
  |  Branch (15129:9): [True: 0, False: 2]
  ------------------
15130|      2|                             sizeof(posix_constants_sysconf)
15131|      2|                               / sizeof(struct constdef),
15132|      2|                             "sysconf_names", module))
15133|      0|        return -1;
15134|      2|#endif
15135|      2|    return 0;
15136|      2|}
posixmodule.c:setup_confname_table:
15093|      6|{
15094|      6|    PyObject *d = PyDict_New();
15095|      6|    if (d == NULL)
  ------------------
  |  Branch (15095:9): [True: 0, False: 6]
  ------------------
15096|      0|        return -1;
15097|       |
15098|    368|    for (size_t i=0; i < tablesize; ++i) {
  ------------------
  |  Branch (15098:22): [True: 362, False: 6]
  ------------------
15099|    362|        PyObject *o = PyLong_FromLong(table[i].value);
15100|    362|        if (o == NULL || PyDict_SetItemString(d, table[i].name, o) == -1) {
  ------------------
  |  Branch (15100:13): [True: 0, False: 362]
  |  Branch (15100:26): [True: 0, False: 362]
  ------------------
15101|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15102|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15103|      0|            return -1;
15104|      0|        }
15105|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
15106|    362|    }
15107|      6|    return PyModule_Add(module, tablename, d);
15108|      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:
18426|      2|   {                      \
18427|      2|      if (test) {        \
  ------------------
  |  Branch (18427:11): [True: 2, Folded]
  ------------------
18428|      2|          return 1;       \
18429|      2|      } else {            \
18430|      0|          return 0;       \
18431|      0|      }                   \
18432|      2|   }
posixmodule.c:probe_fchmodat:
18426|      2|   {                      \
18427|      2|      if (test) {        \
  ------------------
  |  Branch (18427:11): [True: 2, Folded]
  ------------------
18428|      2|          return 1;       \
18429|      2|      } else {            \
18430|      0|          return 0;       \
18431|      0|      }                   \
18432|      2|   }
posixmodule.c:probe_fchownat:
18426|      2|   {                      \
18427|      2|      if (test) {        \
  ------------------
  |  Branch (18427:11): [True: 2, Folded]
  ------------------
18428|      2|          return 1;       \
18429|      2|      } else {            \
18430|      0|          return 0;       \
18431|      0|      }                   \
18432|      2|   }
posixmodule.c:probe_fdopendir:
18426|      2|   {                      \
18427|      2|      if (test) {        \
  ------------------
  |  Branch (18427:11): [True: 2, Folded]
  ------------------
18428|      2|          return 1;       \
18429|      2|      } else {            \
18430|      0|          return 0;       \
18431|      0|      }                   \
18432|      2|   }
posixmodule.c:probe_fstatat:
18426|      2|   {                      \
18427|      2|      if (test) {        \
  ------------------
  |  Branch (18427:11): [True: 2, Folded]
  ------------------
18428|      2|          return 1;       \
18429|      2|      } else {            \
18430|      0|          return 0;       \
18431|      0|      }                   \
18432|      2|   }
posixmodule.c:probe_futimens:
18426|      2|   {                      \
18427|      2|      if (test) {        \
  ------------------
  |  Branch (18427:11): [True: 2, Folded]
  ------------------
18428|      2|          return 1;       \
18429|      2|      } else {            \
18430|      0|          return 0;       \
18431|      0|      }                   \
18432|      2|   }
posixmodule.c:probe_linkat:
18426|      2|   {                      \
18427|      2|      if (test) {        \
  ------------------
  |  Branch (18427:11): [True: 2, Folded]
  ------------------
18428|      2|          return 1;       \
18429|      2|      } else {            \
18430|      0|          return 0;       \
18431|      0|      }                   \
18432|      2|   }
posixmodule.c:probe_mkdirat:
18426|      2|   {                      \
18427|      2|      if (test) {        \
  ------------------
  |  Branch (18427:11): [True: 2, Folded]
  ------------------
18428|      2|          return 1;       \
18429|      2|      } else {            \
18430|      0|          return 0;       \
18431|      0|      }                   \
18432|      2|   }
posixmodule.c:probe_mkfifoat:
18426|      2|   {                      \
18427|      2|      if (test) {        \
  ------------------
  |  Branch (18427:11): [True: 2, Folded]
  ------------------
18428|      2|          return 1;       \
18429|      2|      } else {            \
18430|      0|          return 0;       \
18431|      0|      }                   \
18432|      2|   }
posixmodule.c:probe_mknodat:
18426|      2|   {                      \
18427|      2|      if (test) {        \
  ------------------
  |  Branch (18427:11): [True: 2, Folded]
  ------------------
18428|      2|          return 1;       \
18429|      2|      } else {            \
18430|      0|          return 0;       \
18431|      0|      }                   \
18432|      2|   }
posixmodule.c:probe_openat:
18426|      2|   {                      \
18427|      2|      if (test) {        \
  ------------------
  |  Branch (18427:11): [True: 2, Folded]
  ------------------
18428|      2|          return 1;       \
18429|      2|      } else {            \
18430|      0|          return 0;       \
18431|      0|      }                   \
18432|      2|   }
posixmodule.c:probe_readlinkat:
18426|      2|   {                      \
18427|      2|      if (test) {        \
  ------------------
  |  Branch (18427:11): [True: 2, Folded]
  ------------------
18428|      2|          return 1;       \
18429|      2|      } else {            \
18430|      0|          return 0;       \
18431|      0|      }                   \
18432|      2|   }
posixmodule.c:probe_renameat:
18426|      2|   {                      \
18427|      2|      if (test) {        \
  ------------------
  |  Branch (18427:11): [True: 2, Folded]
  ------------------
18428|      2|          return 1;       \
18429|      2|      } else {            \
18430|      0|          return 0;       \
18431|      0|      }                   \
18432|      2|   }
posixmodule.c:probe_symlinkat:
18426|      2|   {                      \
18427|      2|      if (test) {        \
  ------------------
  |  Branch (18427:11): [True: 2, Folded]
  ------------------
18428|      2|          return 1;       \
18429|      2|      } else {            \
18430|      0|          return 0;       \
18431|      0|      }                   \
18432|      2|   }
posixmodule.c:probe_unlinkat:
18426|      2|   {                      \
18427|      2|      if (test) {        \
  ------------------
  |  Branch (18427:11): [True: 2, Folded]
  ------------------
18428|      2|          return 1;       \
18429|      2|      } else {            \
18430|      0|          return 0;       \
18431|      0|      }                   \
18432|      2|   }
posixmodule.c:probe_utimensat:
18426|      2|   {                      \
18427|      2|      if (test) {        \
  ------------------
  |  Branch (18427:11): [True: 2, Folded]
  ------------------
18428|      2|          return 1;       \
18429|      2|      } else {            \
18430|      0|          return 0;       \
18431|      0|      }                   \
18432|      2|   }
posixmodule.c:probe_ptsname_r:
18426|      2|   {                      \
18427|      2|      if (test) {        \
  ------------------
  |  Branch (18427:11): [True: 2, Folded]
  ------------------
18428|      2|          return 1;       \
18429|      2|      } else {            \
18430|      0|          return 0;       \
18431|      0|      }                   \
18432|      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:
 1726|      2|{
 1727|      2|    return PyModuleDef_Init(&signal_module);
 1728|      2|}
PyErr_CheckSignals:
 1766|   202k|{
 1767|   202k|    PyThreadState *tstate = _PyThreadState_GET();
 1768|       |
 1769|       |    /* Opportunistically check if the GC is scheduled to run and run it
 1770|       |       if we have a request. This is done here because native code needs
 1771|       |       to call this API if is going to run for some time without executing
 1772|       |       Python code to ensure signals are handled. Checking for the GC here
 1773|       |       allows long running native code to clean cycles created using the C-API
 1774|       |       even if it doesn't run the evaluation loop */
 1775|   202k|    uintptr_t breaker = _Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker);
 1776|   202k|    if (breaker & _PY_GC_SCHEDULED_BIT) {
  ------------------
  |  |  350|   202k|#define _PY_GC_SCHEDULED_BIT (1U << 4)
  ------------------
  |  Branch (1776:9): [True: 0, False: 202k]
  ------------------
 1777|      0|        _Py_unset_eval_breaker_bit(tstate, _PY_GC_SCHEDULED_BIT);
  ------------------
  |  |  350|      0|#define _PY_GC_SCHEDULED_BIT (1U << 4)
  ------------------
 1778|      0|        _Py_RunGC(tstate);
 1779|      0|    }
 1780|   202k|    if (breaker & _PY_ASYNC_EXCEPTION_BIT) {
  ------------------
  |  |  349|   202k|#define _PY_ASYNC_EXCEPTION_BIT (1U << 3)
  ------------------
  |  Branch (1780:9): [True: 0, False: 202k]
  ------------------
 1781|      0|        if (_PyEval_RaiseAsyncExc(tstate) < 0) {
  ------------------
  |  Branch (1781:13): [True: 0, False: 0]
  ------------------
 1782|      0|            return -1;
 1783|      0|        }
 1784|      0|    }
 1785|       |
 1786|   202k|#if defined(Py_REMOTE_DEBUG) && defined(Py_SUPPORTS_REMOTE_DEBUG)
 1787|   202k|    _PyRunRemoteDebugger(tstate);
 1788|   202k|#endif
 1789|       |
 1790|   202k|    if (_Py_ThreadCanHandleSignals(tstate->interp)) {
  ------------------
  |  Branch (1790:9): [True: 202k, False: 0]
  ------------------
 1791|   202k|        if (_PyErr_CheckSignalsTstate(tstate) < 0) {
  ------------------
  |  Branch (1791:13): [True: 0, False: 202k]
  ------------------
 1792|      0|            return -1;
 1793|      0|        }
 1794|   202k|    }
 1795|       |
 1796|   202k|    return 0;
 1797|   202k|}
_PyErr_CheckSignalsTstate:
 1803|   202k|{
 1804|   202k|    _Py_CHECK_EMSCRIPTEN_SIGNALS();
 1805|   202k|    if (!_Py_atomic_load_int(&is_tripped)) {
  ------------------
  |  |  108|   202k|#define is_tripped _PyRuntime.signals.is_tripped
  ------------------
  |  Branch (1805:9): [True: 202k, False: 0]
  ------------------
 1806|   202k|        return 0;
 1807|   202k|    }
 1808|       |
 1809|       |    /*
 1810|       |     * The is_tripped variable is meant to speed up the calls to
 1811|       |     * PyErr_CheckSignals (both directly or via pending calls) when no
 1812|       |     * signal has arrived. This variable is set to 1 when a signal arrives
 1813|       |     * and it is set to 0 here, when we know some signals arrived. This way
 1814|       |     * we can run the registered handlers with no signals blocked.
 1815|       |     *
 1816|       |     * NOTE: with this approach we can have a situation where is_tripped is
 1817|       |     *       1 but we have no more signals to handle (Handlers[i].tripped
 1818|       |     *       is 0 for every signal i). This won't do us any harm (except
 1819|       |     *       we're gonna spent some cycles for nothing). This happens when
 1820|       |     *       we receive a signal i after we zero is_tripped and before we
 1821|       |     *       check Handlers[i].tripped.
 1822|       |     */
 1823|      0|    _Py_atomic_store_int(&is_tripped, 0);
  ------------------
  |  |  108|      0|#define is_tripped _PyRuntime.signals.is_tripped
  ------------------
 1824|       |
 1825|      0|    _PyInterpreterFrame *frame = _PyThreadState_GetFrame(tstate);
 1826|      0|    signal_state_t *state = &signal_global_state;
  ------------------
  |  |  112|      0|#define signal_global_state _PyRuntime.signals
  ------------------
 1827|      0|    for (int i = 1; i < Py_NSIG; i++) {
  ------------------
  |  |   26|      0|#  define Py_NSIG NSIG
  ------------------
  |  Branch (1827:21): [True: 0, False: 0]
  ------------------
 1828|      0|        if (!_Py_atomic_load_int_relaxed(&Handlers[i].tripped)) {
  ------------------
  |  |  106|      0|#define Handlers _PyRuntime.signals.handlers
  ------------------
  |  Branch (1828:13): [True: 0, False: 0]
  ------------------
 1829|      0|            continue;
 1830|      0|        }
 1831|      0|        _Py_atomic_store_int_relaxed(&Handlers[i].tripped, 0);
  ------------------
  |  |  106|      0|#define Handlers _PyRuntime.signals.handlers
  ------------------
 1832|       |
 1833|       |        /* Signal handlers can be modified while a signal is received,
 1834|       |         * and therefore the fact that trip_signal() or PyErr_SetInterrupt()
 1835|       |         * was called doesn't guarantee that there is still a Python
 1836|       |         * signal handler for it by the time PyErr_CheckSignals() is called
 1837|       |         * (see bpo-43406).
 1838|       |         */
 1839|      0|        PyObject *func = get_handler(i);
 1840|      0|        if (func == NULL || func == Py_None ||
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1840:13): [True: 0, False: 0]
  |  Branch (1840:29): [True: 0, False: 0]
  ------------------
 1841|      0|            compare_handler(func, state->ignore_handler) ||
  ------------------
  |  Branch (1841:13): [True: 0, False: 0]
  ------------------
 1842|      0|            compare_handler(func, state->default_handler)) {
  ------------------
  |  Branch (1842:13): [True: 0, False: 0]
  ------------------
 1843|       |            /* No Python signal handler due to aforementioned race condition.
 1844|       |             * We can't call raise() as it would break the assumption
 1845|       |             * that PyErr_SetInterrupt() only *simulates* an incoming
 1846|       |             * signal (i.e. it will never kill the process).
 1847|       |             * We also don't want to interrupt user code with a cryptic
 1848|       |             * asynchronous exception, so instead just write out an
 1849|       |             * unraisable error.
 1850|       |             */
 1851|      0|            PyErr_Format(PyExc_OSError,
 1852|      0|                         "Signal %i ignored due to race condition",
 1853|      0|                         i);
 1854|      0|            PyErr_FormatUnraisable("Exception ignored while "
 1855|      0|                                   "calling signal handler");
 1856|      0|            continue;
 1857|      0|        }
 1858|      0|        PyObject *arglist = NULL;
 1859|      0|        if (frame == NULL) {
  ------------------
  |  Branch (1859:13): [True: 0, False: 0]
  ------------------
 1860|      0|            arglist = Py_BuildValue("(iO)", i, Py_None);
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1861|      0|        }
 1862|      0|        else {
 1863|      0|            PyFrameObject *f = _PyFrame_GetFrameObject(frame);
 1864|      0|            if (f != NULL) {
  ------------------
  |  Branch (1864:17): [True: 0, False: 0]
  ------------------
 1865|      0|                arglist = Py_BuildValue("(iO)", i, f);
 1866|      0|            }
 1867|      0|        }
 1868|      0|        PyObject *result;
 1869|      0|        if (arglist) {
  ------------------
  |  Branch (1869:13): [True: 0, False: 0]
  ------------------
 1870|      0|            result = _PyObject_Call(tstate, func, arglist, NULL);
 1871|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1872|      0|        }
 1873|      0|        else {
 1874|      0|            result = NULL;
 1875|      0|        }
 1876|      0|        if (!result) {
  ------------------
  |  Branch (1876:13): [True: 0, False: 0]
  ------------------
 1877|       |            /* On error, re-schedule a call to _PyErr_CheckSignalsTstate() */
 1878|      0|            _Py_atomic_store_int(&is_tripped, 1);
  ------------------
  |  |  108|      0|#define is_tripped _PyRuntime.signals.is_tripped
  ------------------
 1879|      0|            return -1;
 1880|      0|        }
 1881|       |
 1882|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1883|      0|    }
 1884|       |
 1885|      0|    return 0;
 1886|      0|}
_PySignal_Init:
 1973|      2|{
 1974|      2|    signal_state_t *state = &signal_global_state;
  ------------------
  |  |  112|      2|#define signal_global_state _PyRuntime.signals
  ------------------
 1975|       |
 1976|      2|    state->default_handler = PyLong_FromVoidPtr((void *)SIG_DFL);
 1977|      2|    if (state->default_handler == NULL) {
  ------------------
  |  Branch (1977:9): [True: 0, False: 2]
  ------------------
 1978|      0|        return -1;
 1979|      0|    }
 1980|       |
 1981|      2|    state->ignore_handler = PyLong_FromVoidPtr((void *)SIG_IGN);
 1982|      2|    if (state->ignore_handler == NULL) {
  ------------------
  |  Branch (1982:9): [True: 0, False: 2]
  ------------------
 1983|      0|        return -1;
 1984|      0|    }
 1985|       |
 1986|       |#ifdef MS_WINDOWS
 1987|       |    /* Create manual-reset event, initially unset */
 1988|       |    state->sigint_event = (void *)CreateEvent(NULL, TRUE, FALSE, FALSE);
 1989|       |    if (state->sigint_event == NULL) {
 1990|       |        PyErr_SetFromWindowsErr(0);
 1991|       |        return -1;
 1992|       |    }
 1993|       |#endif
 1994|       |
 1995|    130|    for (int signum = 1; signum < Py_NSIG; signum++) {
  ------------------
  |  |   26|    130|#  define Py_NSIG NSIG
  ------------------
  |  Branch (1995:26): [True: 128, False: 2]
  ------------------
 1996|    128|        _Py_atomic_store_int_relaxed(&Handlers[signum].tripped, 0);
  ------------------
  |  |  106|    128|#define Handlers _PyRuntime.signals.handlers
  ------------------
 1997|    128|    }
 1998|       |
 1999|      2|    if (install_signal_handlers) {
  ------------------
  |  Branch (1999:9): [True: 2, False: 0]
  ------------------
 2000|      2|        if (signal_install_handlers() < 0) {
  ------------------
  |  Branch (2000:13): [True: 0, False: 2]
  ------------------
 2001|      0|            return -1;
 2002|      0|        }
 2003|      2|    }
 2004|       |
 2005|      2|    return 0;
 2006|      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:
 1613|      2|{
 1614|      2|    assert(!PyErr_Occurred());
 1615|       |
 1616|      2|    signal_state_t *state = &signal_global_state;
  ------------------
  |  |  112|      2|#define signal_global_state _PyRuntime.signals
  ------------------
 1617|      2|    _signal_module_state *modstate = get_signal_state(m);
 1618|       |
 1619|       |    // XXX For proper isolation, these values must be guaranteed
 1620|       |    // to be effectively const (e.g. immortal).
 1621|      2|    modstate->default_handler = state->default_handler;  // borrowed ref
 1622|      2|    modstate->ignore_handler = state->ignore_handler;  // borrowed ref
 1623|       |
 1624|      2|#ifdef PYHAVE_ITIMER_ERROR
 1625|      2|    modstate->itimer_error = PyErr_NewException("signal.ItimerError",
 1626|      2|                                                PyExc_OSError, NULL);
 1627|      2|    if (modstate->itimer_error == NULL) {
  ------------------
  |  Branch (1627:9): [True: 0, False: 2]
  ------------------
 1628|      0|        return -1;
 1629|      0|    }
 1630|      2|#endif
 1631|       |
 1632|      2|    if (signal_add_constants(m) < 0) {
  ------------------
  |  Branch (1632:9): [True: 0, False: 2]
  ------------------
 1633|      0|        return -1;
 1634|      0|    }
 1635|       |
 1636|       |    /* Add some symbolic constants to the module */
 1637|      2|    PyObject *d = PyModule_GetDict(m);
 1638|      2|    if (PyDict_SetItemString(d, "SIG_DFL", state->default_handler) < 0) {
  ------------------
  |  Branch (1638:9): [True: 0, False: 2]
  ------------------
 1639|      0|        return -1;
 1640|      0|    }
 1641|      2|    if (PyDict_SetItemString(d, "SIG_IGN", state->ignore_handler) < 0) {
  ------------------
  |  Branch (1641:9): [True: 0, False: 2]
  ------------------
 1642|      0|        return -1;
 1643|      0|    }
 1644|      2|#ifdef PYHAVE_ITIMER_ERROR
 1645|      2|    if (PyDict_SetItemString(d, "ItimerError", modstate->itimer_error) < 0) {
  ------------------
  |  Branch (1645:9): [True: 0, False: 2]
  ------------------
 1646|      0|        return -1;
 1647|      0|    }
 1648|      2|#endif
 1649|       |
 1650|      2|#if defined(HAVE_SIGWAITINFO) || defined(HAVE_SIGTIMEDWAIT)
 1651|      2|    modstate->siginfo_type = PyStructSequence_NewType(&struct_siginfo_desc);
 1652|      2|    if (modstate->siginfo_type == NULL) {
  ------------------
  |  Branch (1652:9): [True: 0, False: 2]
  ------------------
 1653|      0|        return -1;
 1654|      0|    }
 1655|      2|#endif
 1656|      2|#if defined(HAVE_SIGWAITINFO) || defined(HAVE_SIGTIMEDWAIT)
 1657|      2|    if (PyModule_AddType(m, modstate->siginfo_type) < 0) {
  ------------------
  |  Branch (1657:9): [True: 0, False: 2]
  ------------------
 1658|      0|        return -1;
 1659|      0|    }
 1660|      2|#endif
 1661|       |
 1662|      2|    PyThreadState *tstate = _PyThreadState_GET();
 1663|      2|    if (_Py_IsMainInterpreter(tstate->interp)) {
  ------------------
  |  Branch (1663:9): [True: 2, False: 0]
  ------------------
 1664|      2|        if (signal_get_set_handlers(state, d) < 0) {
  ------------------
  |  Branch (1664:13): [True: 0, False: 2]
  ------------------
 1665|      0|            return -1;
 1666|      0|        }
 1667|      2|    }
 1668|       |
 1669|      2|    assert(!PyErr_Occurred());
 1670|      2|    return 0;
 1671|      2|}
signalmodule.c:signal_add_constants:
 1406|      2|{
 1407|      2|    if (PyModule_AddIntConstant(module, "NSIG", Py_NSIG) < 0) {
  ------------------
  |  |   26|      2|#  define Py_NSIG NSIG
  ------------------
  |  Branch (1407:9): [True: 0, False: 2]
  ------------------
 1408|      0|        return -1;
 1409|      0|    }
 1410|       |
 1411|      2|#define ADD_INT_MACRO(macro) \
 1412|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
 1413|      2|        return -1; \
 1414|      2|    }
 1415|       |
 1416|       |    // SIG_xxx pthread_sigmask() constants
 1417|      2|#ifdef SIG_BLOCK
 1418|      2|    ADD_INT_MACRO(SIG_BLOCK);
  ------------------
  |  | 1412|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1412:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1413|      0|        return -1; \
  |  | 1414|      0|    }
  ------------------
 1419|      2|#endif
 1420|      2|#ifdef SIG_UNBLOCK
 1421|      2|    ADD_INT_MACRO(SIG_UNBLOCK);
  ------------------
  |  | 1412|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1412:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1413|      0|        return -1; \
  |  | 1414|      0|    }
  ------------------
 1422|      2|#endif
 1423|      2|#ifdef SIG_SETMASK
 1424|      2|    ADD_INT_MACRO(SIG_SETMASK);
  ------------------
  |  | 1412|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1412:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1413|      0|        return -1; \
  |  | 1414|      0|    }
  ------------------
 1425|      2|#endif
 1426|       |
 1427|       |    // SIGxxx signal number constants
 1428|      2|#ifdef SIGHUP
 1429|      2|    ADD_INT_MACRO(SIGHUP);
  ------------------
  |  | 1412|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1412:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1413|      0|        return -1; \
  |  | 1414|      0|    }
  ------------------
 1430|      2|#endif
 1431|      2|#ifdef SIGINT
 1432|      2|    ADD_INT_MACRO(SIGINT);
  ------------------
  |  | 1412|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1412:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1413|      0|        return -1; \
  |  | 1414|      0|    }
  ------------------
 1433|      2|#endif
 1434|       |#ifdef SIGBREAK
 1435|       |    ADD_INT_MACRO(SIGBREAK);
 1436|       |#endif
 1437|      2|#ifdef SIGQUIT
 1438|      2|    ADD_INT_MACRO(SIGQUIT);
  ------------------
  |  | 1412|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1412:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1413|      0|        return -1; \
  |  | 1414|      0|    }
  ------------------
 1439|      2|#endif
 1440|      2|#ifdef SIGILL
 1441|      2|    ADD_INT_MACRO(SIGILL);
  ------------------
  |  | 1412|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1412:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1413|      0|        return -1; \
  |  | 1414|      0|    }
  ------------------
 1442|      2|#endif
 1443|      2|#ifdef SIGTRAP
 1444|      2|    ADD_INT_MACRO(SIGTRAP);
  ------------------
  |  | 1412|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1412:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1413|      0|        return -1; \
  |  | 1414|      0|    }
  ------------------
 1445|      2|#endif
 1446|      2|#ifdef SIGIOT
 1447|      2|    ADD_INT_MACRO(SIGIOT);
  ------------------
  |  | 1412|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1412:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1413|      0|        return -1; \
  |  | 1414|      0|    }
  ------------------
 1448|      2|#endif
 1449|      2|#ifdef SIGABRT
 1450|      2|    ADD_INT_MACRO(SIGABRT);
  ------------------
  |  | 1412|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1412:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1413|      0|        return -1; \
  |  | 1414|      0|    }
  ------------------
 1451|      2|#endif
 1452|       |#ifdef SIGEMT
 1453|       |    ADD_INT_MACRO(SIGEMT);
 1454|       |#endif
 1455|      2|#ifdef SIGFPE
 1456|      2|    ADD_INT_MACRO(SIGFPE);
  ------------------
  |  | 1412|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1412:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1413|      0|        return -1; \
  |  | 1414|      0|    }
  ------------------
 1457|      2|#endif
 1458|      2|#ifdef SIGKILL
 1459|      2|    ADD_INT_MACRO(SIGKILL);
  ------------------
  |  | 1412|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1412:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1413|      0|        return -1; \
  |  | 1414|      0|    }
  ------------------
 1460|      2|#endif
 1461|      2|#ifdef SIGBUS
 1462|      2|    ADD_INT_MACRO(SIGBUS);
  ------------------
  |  | 1412|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1412:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1413|      0|        return -1; \
  |  | 1414|      0|    }
  ------------------
 1463|      2|#endif
 1464|      2|#ifdef SIGSEGV
 1465|      2|    ADD_INT_MACRO(SIGSEGV);
  ------------------
  |  | 1412|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1412:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1413|      0|        return -1; \
  |  | 1414|      0|    }
  ------------------
 1466|      2|#endif
 1467|      2|#ifdef SIGSYS
 1468|      2|    ADD_INT_MACRO(SIGSYS);
  ------------------
  |  | 1412|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1412:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1413|      0|        return -1; \
  |  | 1414|      0|    }
  ------------------
 1469|      2|#endif
 1470|      2|#ifdef SIGPIPE
 1471|      2|    ADD_INT_MACRO(SIGPIPE);
  ------------------
  |  | 1412|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1412:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1413|      0|        return -1; \
  |  | 1414|      0|    }
  ------------------
 1472|      2|#endif
 1473|      2|#ifdef SIGALRM
 1474|      2|    ADD_INT_MACRO(SIGALRM);
  ------------------
  |  | 1412|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1412:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1413|      0|        return -1; \
  |  | 1414|      0|    }
  ------------------
 1475|      2|#endif
 1476|      2|#ifdef SIGTERM
 1477|      2|    ADD_INT_MACRO(SIGTERM);
  ------------------
  |  | 1412|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1412:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1413|      0|        return -1; \
  |  | 1414|      0|    }
  ------------------
 1478|      2|#endif
 1479|      2|#ifdef SIGUSR1
 1480|      2|    ADD_INT_MACRO(SIGUSR1);
  ------------------
  |  | 1412|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1412:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1413|      0|        return -1; \
  |  | 1414|      0|    }
  ------------------
 1481|      2|#endif
 1482|      2|#ifdef SIGUSR2
 1483|      2|    ADD_INT_MACRO(SIGUSR2);
  ------------------
  |  | 1412|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1412:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1413|      0|        return -1; \
  |  | 1414|      0|    }
  ------------------
 1484|      2|#endif
 1485|      2|#ifdef SIGCLD
 1486|      2|    ADD_INT_MACRO(SIGCLD);
  ------------------
  |  | 1412|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1412:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1413|      0|        return -1; \
  |  | 1414|      0|    }
  ------------------
 1487|      2|#endif
 1488|      2|#ifdef SIGCHLD
 1489|      2|    ADD_INT_MACRO(SIGCHLD);
  ------------------
  |  | 1412|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1412:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1413|      0|        return -1; \
  |  | 1414|      0|    }
  ------------------
 1490|      2|#endif
 1491|      2|#ifdef SIGPWR
 1492|      2|    ADD_INT_MACRO(SIGPWR);
  ------------------
  |  | 1412|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1412:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1413|      0|        return -1; \
  |  | 1414|      0|    }
  ------------------
 1493|      2|#endif
 1494|      2|#ifdef SIGIO
 1495|      2|    ADD_INT_MACRO(SIGIO);
  ------------------
  |  | 1412|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1412:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1413|      0|        return -1; \
  |  | 1414|      0|    }
  ------------------
 1496|      2|#endif
 1497|      2|#ifdef SIGURG
 1498|      2|    ADD_INT_MACRO(SIGURG);
  ------------------
  |  | 1412|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1412:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1413|      0|        return -1; \
  |  | 1414|      0|    }
  ------------------
 1499|      2|#endif
 1500|      2|#ifdef SIGWINCH
 1501|      2|    ADD_INT_MACRO(SIGWINCH);
  ------------------
  |  | 1412|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1412:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1413|      0|        return -1; \
  |  | 1414|      0|    }
  ------------------
 1502|      2|#endif
 1503|      2|#ifdef SIGPOLL
 1504|      2|    ADD_INT_MACRO(SIGPOLL);
  ------------------
  |  | 1412|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1412:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1413|      0|        return -1; \
  |  | 1414|      0|    }
  ------------------
 1505|      2|#endif
 1506|      2|#ifdef SIGSTOP
 1507|      2|    ADD_INT_MACRO(SIGSTOP);
  ------------------
  |  | 1412|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1412:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1413|      0|        return -1; \
  |  | 1414|      0|    }
  ------------------
 1508|      2|#endif
 1509|      2|#ifdef SIGTSTP
 1510|      2|    ADD_INT_MACRO(SIGTSTP);
  ------------------
  |  | 1412|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1412:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1413|      0|        return -1; \
  |  | 1414|      0|    }
  ------------------
 1511|      2|#endif
 1512|      2|#ifdef SIGCONT
 1513|      2|    ADD_INT_MACRO(SIGCONT);
  ------------------
  |  | 1412|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1412:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1413|      0|        return -1; \
  |  | 1414|      0|    }
  ------------------
 1514|      2|#endif
 1515|      2|#ifdef SIGTTIN
 1516|      2|    ADD_INT_MACRO(SIGTTIN);
  ------------------
  |  | 1412|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1412:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1413|      0|        return -1; \
  |  | 1414|      0|    }
  ------------------
 1517|      2|#endif
 1518|      2|#ifdef SIGTTOU
 1519|      2|    ADD_INT_MACRO(SIGTTOU);
  ------------------
  |  | 1412|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1412:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1413|      0|        return -1; \
  |  | 1414|      0|    }
  ------------------
 1520|      2|#endif
 1521|      2|#ifdef SIGVTALRM
 1522|      2|    ADD_INT_MACRO(SIGVTALRM);
  ------------------
  |  | 1412|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1412:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1413|      0|        return -1; \
  |  | 1414|      0|    }
  ------------------
 1523|      2|#endif
 1524|      2|#ifdef SIGPROF
 1525|      2|    ADD_INT_MACRO(SIGPROF);
  ------------------
  |  | 1412|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1412:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1413|      0|        return -1; \
  |  | 1414|      0|    }
  ------------------
 1526|      2|#endif
 1527|      2|#ifdef SIGXCPU
 1528|      2|    ADD_INT_MACRO(SIGXCPU);
  ------------------
  |  | 1412|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1412:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1413|      0|        return -1; \
  |  | 1414|      0|    }
  ------------------
 1529|      2|#endif
 1530|      2|#ifdef SIGXFSZ
 1531|      2|    ADD_INT_MACRO(SIGXFSZ);
  ------------------
  |  | 1412|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1412:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1413|      0|        return -1; \
  |  | 1414|      0|    }
  ------------------
 1532|      2|#endif
 1533|      2|#ifdef SIGRTMIN
 1534|      2|    ADD_INT_MACRO(SIGRTMIN);
  ------------------
  |  | 1412|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1412:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1413|      0|        return -1; \
  |  | 1414|      0|    }
  ------------------
 1535|      2|#endif
 1536|      2|#ifdef SIGRTMAX
 1537|      2|    ADD_INT_MACRO(SIGRTMAX);
  ------------------
  |  | 1412|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1412:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1413|      0|        return -1; \
  |  | 1414|      0|    }
  ------------------
 1538|      2|#endif
 1539|       |#ifdef SIGINFO
 1540|       |    ADD_INT_MACRO(SIGINFO);
 1541|       |#endif
 1542|      2|#ifdef SIGSTKFLT
 1543|      2|    ADD_INT_MACRO(SIGSTKFLT);
  ------------------
  |  | 1412|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1412:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1413|      0|        return -1; \
  |  | 1414|      0|    }
  ------------------
 1544|      2|#endif
 1545|       |
 1546|       |    // ITIMER_xxx constants
 1547|      2|#ifdef ITIMER_REAL
 1548|      2|    ADD_INT_MACRO(ITIMER_REAL);
  ------------------
  |  | 1412|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1412:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1413|      0|        return -1; \
  |  | 1414|      0|    }
  ------------------
 1549|      2|#endif
 1550|      2|#ifdef ITIMER_VIRTUAL
 1551|      2|    ADD_INT_MACRO(ITIMER_VIRTUAL);
  ------------------
  |  | 1412|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1412:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1413|      0|        return -1; \
  |  | 1414|      0|    }
  ------------------
 1552|      2|#endif
 1553|      2|#ifdef ITIMER_PROF
 1554|      2|    ADD_INT_MACRO(ITIMER_PROF);
  ------------------
  |  | 1412|      2|    if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \
  |  |  ------------------
  |  |  |  Branch (1412:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1413|      0|        return -1; \
  |  | 1414|      0|    }
  ------------------
 1555|      2|#endif
 1556|       |
 1557|       |    // CTRL_xxx Windows signals
 1558|       |#ifdef CTRL_C_EVENT
 1559|       |    ADD_INT_MACRO(CTRL_C_EVENT);
 1560|       |#endif
 1561|       |#ifdef CTRL_BREAK_EVENT
 1562|       |    ADD_INT_MACRO(CTRL_BREAK_EVENT);
 1563|       |#endif
 1564|       |
 1565|      2|    return 0;
 1566|       |
 1567|      2|#undef ADD_INT_MACRO
 1568|      2|}
signalmodule.c:signal_get_set_handlers:
 1573|      2|{
 1574|       |    // Get signal handlers
 1575|    130|    for (int signum = 1; signum < Py_NSIG; signum++) {
  ------------------
  |  |   26|    130|#  define Py_NSIG NSIG
  ------------------
  |  Branch (1575:26): [True: 128, False: 2]
  ------------------
 1576|    128|        void (*c_handler)(int) = PyOS_getsig(signum);
 1577|    128|        PyObject *func;
 1578|    128|        if (c_handler == SIG_DFL) {
  ------------------
  |  Branch (1578:13): [True: 114, False: 14]
  ------------------
 1579|    114|            func = state->default_handler;
 1580|    114|        }
 1581|     14|        else if (c_handler == SIG_IGN) {
  ------------------
  |  Branch (1581:18): [True: 4, False: 10]
  ------------------
 1582|      4|            func = state->ignore_handler;
 1583|      4|        }
 1584|     10|        else {
 1585|     10|            func = Py_None; // None of our business
  ------------------
  |  |  616|     10|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1586|     10|        }
 1587|       |        // If signal_module_exec() is called more than one, we must
 1588|       |        // clear the strong reference to the previous function.
 1589|    128|        PyObject* old_func = get_handler(signum);
 1590|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1591|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1592|    128|    }
 1593|       |
 1594|       |    // Install Python SIGINT handler which raises KeyboardInterrupt
 1595|      2|    PyObject* sigint_func = get_handler(SIGINT);
 1596|      2|    if (sigint_func == state->default_handler) {
  ------------------
  |  Branch (1596:9): [True: 2, False: 0]
  ------------------
 1597|      2|        PyObject *int_handler = PyMapping_GetItemString(mod_dict,
 1598|      2|                                                        "default_int_handler");
 1599|      2|        if (!int_handler) {
  ------------------
  |  Branch (1599:13): [True: 0, False: 2]
  ------------------
 1600|      0|            return -1;
 1601|      0|        }
 1602|       |
 1603|      2|        set_handler(SIGINT, int_handler);
 1604|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1605|      2|        PyOS_setsig(SIGINT, signal_handler);
 1606|      2|    }
 1607|      2|    return 0;
 1608|      2|}
signalmodule.c:_signal_module_traverse:
 1677|     16|{
 1678|     16|    _signal_module_state *state = get_signal_state(module);
 1679|     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]
  |  |  ------------------
  ------------------
 1680|     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]
  |  |  ------------------
  ------------------
 1681|     16|    return 0;
 1682|     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:
 1926|      2|{
 1927|      2|#ifdef SIGPIPE
 1928|      2|    PyOS_setsig(SIGPIPE, SIG_IGN);
 1929|      2|#endif
 1930|       |#ifdef SIGXFZ
 1931|       |    PyOS_setsig(SIGXFZ, SIG_IGN);
 1932|       |#endif
 1933|      2|#ifdef SIGXFSZ
 1934|      2|    PyOS_setsig(SIGXFSZ, SIG_IGN);
 1935|      2|#endif
 1936|       |
 1937|       |    // Import _signal to install the Python SIGINT handler
 1938|      2|    PyObject *module = PyImport_ImportModule("_signal");
 1939|      2|    if (!module) {
  ------------------
  |  Branch (1939:9): [True: 0, False: 2]
  ------------------
 1940|      0|        return -1;
 1941|      0|    }
 1942|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1943|       |
 1944|      2|    return 0;
 1945|      2|}

PyInit_time:
 2209|      2|{
 2210|      2|    return PyModuleDef_Init(&timemodule);
 2211|      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|  16.5k|{
  102|  16.5k|    double d = PyTime_AsSecondsDouble(t);
  103|  16.5k|    return PyFloat_FromDouble(d);
  104|  16.5k|}
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|    114|{
   93|    114|    void *state = _PyModule_GetState(module);
   94|       |    assert(state != NULL);
   95|    114|    return (time_module_state *)state;
   96|    114|}
timemodule.c:gettmarg:
  613|     96|{
  614|     96|    int y;
  615|       |
  616|     96|    memset((void *) p, '\0', sizeof(struct tm));
  617|       |
  618|     96|    if (!PyTuple_Check(args)) {
  ------------------
  |  |   27|     96|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     96|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (618:9): [True: 0, False: 96]
  ------------------
  619|      0|        PyErr_SetString(PyExc_TypeError,
  620|      0|                        "Tuple or struct_time argument required");
  621|      0|        return 0;
  622|      0|    }
  623|       |
  624|     96|    if (!PyArg_ParseTuple(args, format,
  ------------------
  |  Branch (624:9): [True: 0, False: 96]
  ------------------
  625|     96|                          &y, &p->tm_mon, &p->tm_mday,
  626|     96|                          &p->tm_hour, &p->tm_min, &p->tm_sec,
  627|     96|                          &p->tm_wday, &p->tm_yday, &p->tm_isdst))
  628|      0|        return 0;
  629|       |
  630|     96|    if (y < INT_MIN + 1900) {
  ------------------
  |  Branch (630:9): [True: 0, False: 96]
  ------------------
  631|      0|        PyErr_SetString(PyExc_OverflowError, "year out of range");
  632|      0|        return 0;
  633|      0|    }
  634|       |
  635|     96|    p->tm_year = y - 1900;
  636|     96|    p->tm_mon--;
  637|     96|    p->tm_wday = (p->tm_wday + 1) % 7;
  638|     96|    p->tm_yday--;
  639|     96|#ifdef HAVE_STRUCT_TM_TM_ZONE
  640|     96|    if (Py_IS_TYPE(args, state->struct_time_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]
  |  |  ------------------
  ------------------
  641|     96|        PyObject *item;
  642|     96|        item = PyStructSequence_GET_ITEM(args, 9);
  ------------------
  |  |   12|     96|#define PyStructSequence_GET_ITEM PyStructSequence_GetItem
  ------------------
  643|     96|        if (item != Py_None) {
  ------------------
  |  |  616|     96|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (643:13): [True: 0, False: 96]
  ------------------
  644|      0|            p->tm_zone = (char *)PyUnicode_AsUTF8(item);
  645|      0|            if (p->tm_zone == NULL) {
  ------------------
  |  Branch (645:17): [True: 0, False: 0]
  ------------------
  646|      0|                return 0;
  647|      0|            }
  648|       |#if defined(__linux__) && !defined(__GLIBC__)
  649|       |            // Make an attempt to return the C library's own timezone strings to
  650|       |            // it. musl refuses to process a tm_zone field unless it produced
  651|       |            // it. See issue #34672.
  652|       |            if (utc_string && strcmp(p->tm_zone, utc_string) == 0) {
  653|       |                p->tm_zone = utc_string;
  654|       |            }
  655|       |            else if (tzname[0] && strcmp(p->tm_zone, tzname[0]) == 0) {
  656|       |                p->tm_zone = tzname[0];
  657|       |            }
  658|       |            else if (tzname[1] && strcmp(p->tm_zone, tzname[1]) == 0) {
  659|       |                p->tm_zone = tzname[1];
  660|       |            }
  661|       |#endif
  662|      0|        }
  663|     96|        item = PyStructSequence_GET_ITEM(args, 10);
  ------------------
  |  |   12|     96|#define PyStructSequence_GET_ITEM PyStructSequence_GetItem
  ------------------
  664|     96|        if (item != Py_None) {
  ------------------
  |  |  616|     96|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (664:13): [True: 0, False: 96]
  ------------------
  665|      0|            p->tm_gmtoff = PyLong_AsLong(item);
  666|      0|            if (PyErr_Occurred())
  ------------------
  |  Branch (666:17): [True: 0, False: 0]
  ------------------
  667|      0|                return 0;
  668|      0|        }
  669|     96|    }
  670|     96|#endif /* HAVE_STRUCT_TM_TM_ZONE */
  671|     96|    return 1;
  672|     96|}
timemodule.c:checktm:
  680|     96|{
  681|       |    /* Checks added to make sure strftime() and asctime() does not crash Python by
  682|       |       indexing blindly into some array for a textual representation
  683|       |       by some bad index (fixes bug #897625 and #6608).
  684|       |
  685|       |       Also support values of zero from Python code for arguments in which
  686|       |       that is out of range by forcing that value to the lowest value that
  687|       |       is valid (fixed bug #1520914).
  688|       |
  689|       |       Valid ranges based on what is allowed in struct tm:
  690|       |
  691|       |       - tm_year: [0, max(int)] (1)
  692|       |       - tm_mon: [0, 11] (2)
  693|       |       - tm_mday: [1, 31]
  694|       |       - tm_hour: [0, 23]
  695|       |       - tm_min: [0, 59]
  696|       |       - tm_sec: [0, 60]
  697|       |       - tm_wday: [0, 6] (1)
  698|       |       - tm_yday: [0, 365] (2)
  699|       |       - tm_isdst: [-max(int), max(int)]
  700|       |
  701|       |       (1) gettmarg() handles bounds-checking.
  702|       |       (2) Python's acceptable range is one greater than the range in C,
  703|       |       thus need to check against automatic decrement by gettmarg().
  704|       |    */
  705|     96|    if (buf->tm_mon == -1)
  ------------------
  |  Branch (705:9): [True: 0, False: 96]
  ------------------
  706|      0|        buf->tm_mon = 0;
  707|     96|    else if (buf->tm_mon < 0 || buf->tm_mon > 11) {
  ------------------
  |  Branch (707:14): [True: 0, False: 96]
  |  Branch (707:33): [True: 0, False: 96]
  ------------------
  708|      0|        PyErr_SetString(PyExc_ValueError, "month out of range");
  709|      0|        return 0;
  710|      0|    }
  711|     96|    if (buf->tm_mday == 0)
  ------------------
  |  Branch (711:9): [True: 0, False: 96]
  ------------------
  712|      0|        buf->tm_mday = 1;
  713|     96|    else if (buf->tm_mday < 0 || buf->tm_mday > 31) {
  ------------------
  |  Branch (713:14): [True: 0, False: 96]
  |  Branch (713:34): [True: 0, False: 96]
  ------------------
  714|      0|        PyErr_SetString(PyExc_ValueError, "day of month out of range");
  715|      0|        return 0;
  716|      0|    }
  717|     96|    if (buf->tm_hour < 0 || buf->tm_hour > 23) {
  ------------------
  |  Branch (717:9): [True: 0, False: 96]
  |  Branch (717:29): [True: 0, False: 96]
  ------------------
  718|      0|        PyErr_SetString(PyExc_ValueError, "hour out of range");
  719|      0|        return 0;
  720|      0|    }
  721|     96|    if (buf->tm_min < 0 || buf->tm_min > 59) {
  ------------------
  |  Branch (721:9): [True: 0, False: 96]
  |  Branch (721:28): [True: 0, False: 96]
  ------------------
  722|      0|        PyErr_SetString(PyExc_ValueError, "minute out of range");
  723|      0|        return 0;
  724|      0|    }
  725|     96|    if (buf->tm_sec < 0 || buf->tm_sec > 61) {
  ------------------
  |  Branch (725:9): [True: 0, False: 96]
  |  Branch (725:28): [True: 0, False: 96]
  ------------------
  726|      0|        PyErr_SetString(PyExc_ValueError, "seconds out of range");
  727|      0|        return 0;
  728|      0|    }
  729|       |    /* tm_wday does not need checking of its upper-bound since taking
  730|       |    ``% 7`` in gettmarg() automatically restricts the range. */
  731|     96|    if (buf->tm_wday < 0) {
  ------------------
  |  Branch (731:9): [True: 0, False: 96]
  ------------------
  732|      0|        PyErr_SetString(PyExc_ValueError, "day of week out of range");
  733|      0|        return 0;
  734|      0|    }
  735|     96|    if (buf->tm_yday == -1)
  ------------------
  |  Branch (735:9): [True: 0, False: 96]
  ------------------
  736|      0|        buf->tm_yday = 0;
  737|     96|    else if (buf->tm_yday < 0 || buf->tm_yday > 365) {
  ------------------
  |  Branch (737:14): [True: 0, False: 96]
  |  Branch (737:34): [True: 0, False: 96]
  ------------------
  738|      0|        PyErr_SetString(PyExc_ValueError, "day of year out of range");
  739|      0|        return 0;
  740|      0|    }
  741|     96|    return 1;
  742|     96|}
timemodule.c:time_strftime:
  861|     96|{
  862|     96|    PyObject *tup = NULL;
  863|     96|    struct tm buf;
  864|     96|    PyObject *format_arg;
  865|     96|    Py_ssize_t format_size;
  866|     96|    time_char *format, *outbuf = NULL;
  ------------------
  |  |  767|     96|#define time_char wchar_t
  ------------------
  867|     96|    size_t fmtlen, bufsize = 1024;
  868|       |
  869|     96|    memset((void *) &buf, '\0', sizeof(buf));
  870|       |
  871|     96|    if (!PyArg_ParseTuple(args, "U|O:strftime", &format_arg, &tup))
  ------------------
  |  Branch (871:9): [True: 0, False: 96]
  ------------------
  872|      0|        return NULL;
  873|       |
  874|     96|    time_module_state *state = get_time_state(module);
  875|     96|    if (tup == NULL) {
  ------------------
  |  Branch (875:9): [True: 0, False: 96]
  ------------------
  876|      0|        time_t tt = time(NULL);
  877|      0|        if (_PyTime_localtime(tt, &buf) != 0)
  ------------------
  |  Branch (877:13): [True: 0, False: 0]
  ------------------
  878|      0|            return NULL;
  879|      0|    }
  880|     96|    else if (!gettmarg(state, tup, &buf,
  ------------------
  |  Branch (880:14): [True: 0, False: 96]
  ------------------
  881|     96|                       "iiiiiiiii;strftime(): illegal time tuple argument") ||
  882|     96|             !checktm(&buf))
  ------------------
  |  Branch (882:14): [True: 0, False: 96]
  ------------------
  883|      0|    {
  884|      0|        return NULL;
  885|      0|    }
  886|       |
  887|       |// Some platforms only support a limited range of years.
  888|       |//
  889|       |// Android works with negative years on the emulator, but fails on some
  890|       |// physical devices (#123017).
  891|       |#if defined(_MSC_VER) || (defined(__sun) && defined(__SVR4)) || defined(_AIX) \
  892|       |    || defined(__VXWORKS__) || defined(__ANDROID__)
  893|       |    if (buf.tm_year + 1900 < 1 || 9999 < buf.tm_year + 1900) {
  894|       |        PyErr_SetString(PyExc_ValueError,
  895|       |                        "strftime() requires year in [1; 9999]");
  896|       |        return NULL;
  897|       |    }
  898|       |#endif
  899|       |
  900|       |    /* Normalize tm_isdst just in case someone foolishly implements %Z
  901|       |       based on the assumption that tm_isdst falls within the range of
  902|       |       [-1, 1] */
  903|     96|    if (buf.tm_isdst < -1)
  ------------------
  |  Branch (903:9): [True: 0, False: 96]
  ------------------
  904|      0|        buf.tm_isdst = -1;
  905|     96|    else if (buf.tm_isdst > 1)
  ------------------
  |  Branch (905:14): [True: 0, False: 96]
  ------------------
  906|      0|        buf.tm_isdst = 1;
  907|       |
  908|     96|    format_size = PyUnicode_GET_LENGTH(format_arg);
  ------------------
  |  |  299|     96|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     96|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     96|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  909|     96|    if ((size_t)format_size > PY_SSIZE_T_MAX/sizeof(time_char) - 1) {
  ------------------
  |  |  137|     96|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (909:9): [True: 0, False: 96]
  ------------------
  910|      0|        PyErr_NoMemory();
  911|      0|        return NULL;
  912|      0|    }
  913|     96|    format = PyMem_Malloc((format_size + 1)*sizeof(time_char));
  914|     96|    if (format == NULL) {
  ------------------
  |  Branch (914:9): [True: 0, False: 96]
  ------------------
  915|      0|        PyErr_NoMemory();
  916|      0|        return NULL;
  917|      0|    }
  918|     96|    PyUnicodeWriter *writer = PyUnicodeWriter_Create(0);
  919|     96|    if (writer == NULL) {
  ------------------
  |  Branch (919:9): [True: 0, False: 96]
  ------------------
  920|      0|        goto error;
  921|      0|    }
  922|     96|    Py_ssize_t i = 0;
  923|    192|    while (i < format_size) {
  ------------------
  |  Branch (923:12): [True: 96, False: 96]
  ------------------
  924|     96|        fmtlen = 0;
  925|    336|        for (; i < format_size; i++) {
  ------------------
  |  Branch (925:16): [True: 240, False: 96]
  ------------------
  926|    240|            Py_UCS4 c = PyUnicode_READ_CHAR(format_arg, i);
  ------------------
  |  |  381|    240|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|    240|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    240|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  927|    240|            if (!c || c > 127) {
  ------------------
  |  Branch (927:17): [True: 0, False: 240]
  |  Branch (927:23): [True: 0, False: 240]
  ------------------
  928|      0|                break;
  929|      0|            }
  930|    240|            format[fmtlen++] = (char)c;
  931|    240|        }
  932|     96|        if (fmtlen) {
  ------------------
  |  Branch (932:13): [True: 96, False: 0]
  ------------------
  933|     96|            format[fmtlen] = 0;
  934|     96|            PyObject *unicode = time_strftime1(&outbuf, &bufsize,
  935|     96|                                               format, fmtlen, &buf);
  936|     96|            if (unicode == NULL) {
  ------------------
  |  Branch (936:17): [True: 0, False: 96]
  ------------------
  937|      0|                goto error;
  938|      0|            }
  939|     96|            if (PyUnicodeWriter_WriteStr(writer, unicode) < 0) {
  ------------------
  |  Branch (939:17): [True: 0, False: 96]
  ------------------
  940|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  941|      0|                goto error;
  942|      0|            }
  943|     96|            Py_DECREF(unicode);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  944|     96|        }
  945|       |
  946|     96|        Py_ssize_t start = i;
  947|     96|        for (; i < format_size; i++) {
  ------------------
  |  Branch (947:16): [True: 0, False: 96]
  ------------------
  948|      0|            Py_UCS4 c = PyUnicode_READ_CHAR(format_arg, i);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  949|      0|            if (c == '%') {
  ------------------
  |  Branch (949:17): [True: 0, False: 0]
  ------------------
  950|      0|                break;
  951|      0|            }
  952|      0|        }
  953|     96|        if (PyUnicodeWriter_WriteSubstring(writer, format_arg, start, i) < 0) {
  ------------------
  |  Branch (953:13): [True: 0, False: 96]
  ------------------
  954|      0|            goto error;
  955|      0|        }
  956|     96|    }
  957|       |
  958|     96|    PyMem_Free(outbuf);
  959|     96|    PyMem_Free(format);
  960|     96|    return PyUnicodeWriter_Finish(writer);
  961|      0|error:
  962|      0|    PyMem_Free(outbuf);
  963|      0|    PyMem_Free(format);
  964|      0|    PyUnicodeWriter_Discard(writer);
  965|       |    return NULL;
  966|     96|}
timemodule.c:time_strftime1:
  780|     96|{
  781|     96|    size_t buflen;
  782|       |#if defined(MS_WINDOWS) && !defined(HAVE_WCSFTIME)
  783|       |    /* check that the format string contains only valid directives */
  784|       |    for (const time_char *f = strchr(format, '%');
  785|       |        f != NULL;
  786|       |        f = strchr(f + 2, '%'))
  787|       |    {
  788|       |        if (f[1] == '#')
  789|       |            ++f; /* not documented by python, */
  790|       |        if (f[1] == '\0')
  791|       |            break;
  792|       |        if ((f[1] == 'y') && tm->tm_year < 0) {
  793|       |            PyErr_SetString(PyExc_ValueError,
  794|       |                            "format %y requires year >= 1900 on Windows");
  795|       |            return NULL;
  796|       |        }
  797|       |    }
  798|       |#elif (defined(_AIX) || (defined(__sun) && defined(__SVR4))) && defined(HAVE_WCSFTIME)
  799|       |    for (const time_char *f = wcschr(format, '%');
  800|       |        f != NULL;
  801|       |        f = wcschr(f + 2, '%'))
  802|       |    {
  803|       |        if (f[1] == L'\0')
  804|       |            break;
  805|       |        /* Issue #19634: On AIX, wcsftime("y", (1899, 1, 1, 0, 0, 0, 0, 0, 0))
  806|       |           returns "0/" instead of "99" */
  807|       |        if (f[1] == L'y' && tm->tm_year < 0) {
  808|       |            PyErr_SetString(PyExc_ValueError,
  809|       |                            "format %y requires year >= 1900 on AIX");
  810|       |            return NULL;
  811|       |        }
  812|       |    }
  813|       |#endif
  814|       |
  815|       |    /* I hate these functions that presume you know how big the output
  816|       |     * will be ahead of time...
  817|       |     */
  818|     96|    while (1) {
  ------------------
  |  Branch (818:12): [True: 96, Folded]
  ------------------
  819|     96|        if (*bufsize > PY_SSIZE_T_MAX/sizeof(time_char)) {
  ------------------
  |  |  137|     96|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (819:13): [True: 0, False: 96]
  ------------------
  820|      0|            PyErr_NoMemory();
  821|      0|            return NULL;
  822|      0|        }
  823|     96|        *outbuf = (time_char *)PyMem_Realloc(*outbuf,
  824|     96|                                             *bufsize*sizeof(time_char));
  825|     96|        if (*outbuf == NULL) {
  ------------------
  |  Branch (825:13): [True: 0, False: 96]
  ------------------
  826|      0|            PyErr_NoMemory();
  827|      0|            return NULL;
  828|      0|        }
  829|       |#if defined _MSC_VER && _MSC_VER >= 1400 && defined(__STDC_SECURE_LIB__)
  830|       |        errno = 0;
  831|       |#endif
  832|     96|        _Py_BEGIN_SUPPRESS_IPH
  833|     96|        buflen = format_time(*outbuf, *bufsize, format, tm);
  ------------------
  |  |  768|     96|#define format_time wcsftime
  ------------------
  834|     96|        _Py_END_SUPPRESS_IPH
  835|       |#if defined _MSC_VER && _MSC_VER >= 1400 && defined(__STDC_SECURE_LIB__)
  836|       |        /* VisualStudio .NET 2005 does this properly */
  837|       |        if (buflen == 0 && errno == EINVAL) {
  838|       |            PyErr_SetString(PyExc_ValueError, "Invalid format string");
  839|       |            return NULL;
  840|       |        }
  841|       |#endif
  842|     96|        if (buflen == 0 && *bufsize < 256 * fmtlen) {
  ------------------
  |  Branch (842:13): [True: 0, False: 96]
  |  Branch (842:28): [True: 0, False: 0]
  ------------------
  843|      0|            *bufsize += *bufsize;
  844|      0|            continue;
  845|      0|        }
  846|       |        /* If the buffer is 256 times as long as the format,
  847|       |           it's probably not failing for lack of room!
  848|       |           More likely, the format yields an empty result,
  849|       |           e.g. an empty format, or %Z when the timezone
  850|       |           is unknown. */
  851|     96|#ifdef HAVE_WCSFTIME
  852|     96|        return PyUnicode_FromWideChar(*outbuf, buflen);
  853|       |#else
  854|       |        return PyUnicode_DecodeLocaleAndSize(*outbuf, buflen, "surrogateescape");
  855|       |#endif
  856|     96|    }
  857|     96|}
timemodule.c:init_timezone:
 1783|      2|{
 1784|      2|#define ADD_INT(NAME, VALUE) do {                       \
 1785|      2|    if (PyModule_AddIntConstant(m, NAME, VALUE) < 0) {  \
 1786|      2|        return -1;                                      \
 1787|      2|    }                                                   \
 1788|      2|} while (0)
 1789|       |
 1790|      2|    assert(!PyErr_Occurred());
 1791|       |
 1792|       |    /* This code moved from PyInit_time wholesale to allow calling it from
 1793|       |    time_tzset. In the future, some parts of it can be moved back
 1794|       |    (for platforms that don't HAVE_WORKING_TZSET, when we know what they
 1795|       |    are), and the extraneous calls to tzset(3) should be removed.
 1796|       |    I haven't done this yet, as I don't want to change this code as
 1797|       |    little as possible when introducing the time.tzset and time.tzsetwall
 1798|       |    methods. This should simply be a method of doing the following once,
 1799|       |    at the top of this function and removing the call to tzset() from
 1800|       |    time_tzset():
 1801|       |
 1802|       |        #ifdef HAVE_TZSET
 1803|       |        tzset()
 1804|       |        #endif
 1805|       |
 1806|       |    And I'm lazy and hate C so nyer.
 1807|       |     */
 1808|       |#ifdef HAVE_DECL_TZNAME
 1809|       |    PyObject *otz0, *otz1;
 1810|       |#if !defined(MS_WINDOWS) || defined(MS_WINDOWS_DESKTOP) || defined(MS_WINDOWS_SYSTEM)
 1811|       |    tzset();
 1812|       |#endif
 1813|       |    ADD_INT("timezone", _Py_timezone);
 1814|       |#ifdef HAVE_ALTZONE
 1815|       |    ADD_INT("altzone", altzone);
 1816|       |#else
 1817|       |    ADD_INT("altzone", _Py_timezone-3600);
 1818|       |#endif
 1819|       |    ADD_INT("daylight", _Py_daylight);
 1820|       |#ifdef MS_WINDOWS
 1821|       |    TIME_ZONE_INFORMATION tzinfo = {0};
 1822|       |    GetTimeZoneInformation(&tzinfo);
 1823|       |    otz0 = PyUnicode_FromWideChar(tzinfo.StandardName, -1);
 1824|       |    if (otz0 == NULL) {
 1825|       |        return -1;
 1826|       |    }
 1827|       |    otz1 = PyUnicode_FromWideChar(tzinfo.DaylightName, -1);
 1828|       |    if (otz1 == NULL) {
 1829|       |        Py_DECREF(otz0);
 1830|       |        return -1;
 1831|       |    }
 1832|       |#else
 1833|       |    otz0 = PyUnicode_DecodeLocale(_Py_tzname[0], "surrogateescape");
 1834|       |    if (otz0 == NULL) {
 1835|       |        return -1;
 1836|       |    }
 1837|       |    otz1 = PyUnicode_DecodeLocale(_Py_tzname[1], "surrogateescape");
 1838|       |    if (otz1 == NULL) {
 1839|       |        Py_DECREF(otz0);
 1840|       |        return -1;
 1841|       |    }
 1842|       |#endif // MS_WINDOWS
 1843|       |    if (PyModule_Add(m, "tzname", Py_BuildValue("(NN)", otz0, otz1)) < 0) {
 1844|       |        return -1;
 1845|       |    }
 1846|       |#else // !HAVE_DECL_TZNAME
 1847|      2|    static const time_t YEAR = (365 * 24 + 6) * 3600;
 1848|      2|    time_t t;
 1849|      2|    struct tm p;
 1850|      2|    time_t janzone_t, julyzone_t;
 1851|      2|    char janname[10], julyname[10];
 1852|      2|    t = (time((time_t *)0) / YEAR) * YEAR;
 1853|      2|    _PyTime_localtime(t, &p);
 1854|      2|    get_zone(janname, 9, &p);
 1855|      2|    janzone_t = -get_gmtoff(t, &p);
 1856|      2|    janname[9] = '\0';
 1857|      2|    t += YEAR/2;
 1858|      2|    _PyTime_localtime(t, &p);
 1859|      2|    get_zone(julyname, 9, &p);
 1860|      2|    julyzone_t = -get_gmtoff(t, &p);
 1861|      2|    julyname[9] = '\0';
 1862|       |
 1863|       |    /* Sanity check, don't check for the validity of timezones.
 1864|       |       In practice, it should be more in range -12 hours .. +14 hours. */
 1865|      2|#define MAX_TIMEZONE (48 * 3600)
 1866|      2|    if (janzone_t < -MAX_TIMEZONE || janzone_t > MAX_TIMEZONE
  ------------------
  |  | 1865|      4|#define MAX_TIMEZONE (48 * 3600)
  ------------------
                  if (janzone_t < -MAX_TIMEZONE || janzone_t > MAX_TIMEZONE
  ------------------
  |  | 1865|      4|#define MAX_TIMEZONE (48 * 3600)
  ------------------
  |  Branch (1866:9): [True: 0, False: 2]
  |  Branch (1866:38): [True: 0, False: 2]
  ------------------
 1867|      2|        || julyzone_t < -MAX_TIMEZONE || julyzone_t > MAX_TIMEZONE)
  ------------------
  |  | 1865|      4|#define MAX_TIMEZONE (48 * 3600)
  ------------------
                      || julyzone_t < -MAX_TIMEZONE || julyzone_t > MAX_TIMEZONE)
  ------------------
  |  | 1865|      2|#define MAX_TIMEZONE (48 * 3600)
  ------------------
  |  Branch (1867:12): [True: 0, False: 2]
  |  Branch (1867:42): [True: 0, False: 2]
  ------------------
 1868|      0|    {
 1869|      0|        PyErr_SetString(PyExc_RuntimeError, "invalid GMT offset");
 1870|      0|        return -1;
 1871|      0|    }
 1872|      2|    int janzone = (int)janzone_t;
 1873|      2|    int julyzone = (int)julyzone_t;
 1874|       |
 1875|      2|    PyObject *tzname_obj;
 1876|      2|    if (janzone < julyzone) {
  ------------------
  |  Branch (1876:9): [True: 0, False: 2]
  ------------------
 1877|       |        /* DST is reversed in the southern hemisphere */
 1878|      0|        ADD_INT("timezone", julyzone);
  ------------------
  |  | 1784|      0|#define ADD_INT(NAME, VALUE) do {                       \
  |  | 1785|      0|    if (PyModule_AddIntConstant(m, NAME, VALUE) < 0) {  \
  |  |  ------------------
  |  |  |  Branch (1785:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 1786|      0|        return -1;                                      \
  |  | 1787|      0|    }                                                   \
  |  | 1788|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (1788:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1879|      0|        ADD_INT("altzone", janzone);
  ------------------
  |  | 1784|      0|#define ADD_INT(NAME, VALUE) do {                       \
  |  | 1785|      0|    if (PyModule_AddIntConstant(m, NAME, VALUE) < 0) {  \
  |  |  ------------------
  |  |  |  Branch (1785:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 1786|      0|        return -1;                                      \
  |  | 1787|      0|    }                                                   \
  |  | 1788|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (1788:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1880|      0|        ADD_INT("daylight", janzone != julyzone);
  ------------------
  |  | 1784|      0|#define ADD_INT(NAME, VALUE) do {                       \
  |  | 1785|      0|    if (PyModule_AddIntConstant(m, NAME, VALUE) < 0) {  \
  |  |  ------------------
  |  |  |  Branch (1785:9): [True: 0, False: 0]
  |  |  ------------------
  |  | 1786|      0|        return -1;                                      \
  |  | 1787|      0|    }                                                   \
  |  | 1788|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (1788:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1881|      0|        tzname_obj = Py_BuildValue("(zz)", julyname, janname);
 1882|      2|    } else {
 1883|      2|        ADD_INT("timezone", janzone);
  ------------------
  |  | 1784|      2|#define ADD_INT(NAME, VALUE) do {                       \
  |  | 1785|      2|    if (PyModule_AddIntConstant(m, NAME, VALUE) < 0) {  \
  |  |  ------------------
  |  |  |  Branch (1785:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1786|      0|        return -1;                                      \
  |  | 1787|      0|    }                                                   \
  |  | 1788|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (1788:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1884|      2|        ADD_INT("altzone", julyzone);
  ------------------
  |  | 1784|      2|#define ADD_INT(NAME, VALUE) do {                       \
  |  | 1785|      2|    if (PyModule_AddIntConstant(m, NAME, VALUE) < 0) {  \
  |  |  ------------------
  |  |  |  Branch (1785:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1786|      0|        return -1;                                      \
  |  | 1787|      0|    }                                                   \
  |  | 1788|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (1788:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1885|      2|        ADD_INT("daylight", janzone != julyzone);
  ------------------
  |  | 1784|      2|#define ADD_INT(NAME, VALUE) do {                       \
  |  | 1785|      2|    if (PyModule_AddIntConstant(m, NAME, VALUE) < 0) {  \
  |  |  ------------------
  |  |  |  Branch (1785:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 1786|      0|        return -1;                                      \
  |  | 1787|      0|    }                                                   \
  |  | 1788|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (1788:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1886|      2|        tzname_obj = Py_BuildValue("(zz)", janname, julyname);
 1887|      2|    }
 1888|      2|    if (PyModule_Add(m, "tzname", tzname_obj) < 0) {
  ------------------
  |  Branch (1888:9): [True: 0, False: 2]
  ------------------
 1889|      0|        return -1;
 1890|      0|    }
 1891|      2|#endif // !HAVE_DECL_TZNAME
 1892|      2|#undef ADD_INT
 1893|       |
 1894|      2|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (1894:9): [True: 0, False: 2]
  ------------------
 1895|      0|        return -1;
 1896|      0|    }
 1897|      2|    return 0;
 1898|      2|}
timemodule.c:get_zone:
 1761|      4|{
 1762|      4|#ifdef HAVE_STRUCT_TM_TM_ZONE
 1763|      4|    strncpy(zone, p->tm_zone ? p->tm_zone : "   ", n);
  ------------------
  |  Branch (1763:19): [True: 4, False: 0]
  ------------------
 1764|       |#else
 1765|       |    tzset();
 1766|       |    strftime(zone, n, "%Z", p);
 1767|       |#endif
 1768|      4|}
timemodule.c:get_gmtoff:
 1772|      4|{
 1773|      4|#ifdef HAVE_STRUCT_TM_TM_ZONE
 1774|      4|    return p->tm_gmtoff;
 1775|       |#else
 1776|       |    return timegm(p) - t;
 1777|       |#endif
 1778|      4|}
timemodule.c:time_perf_counter:
 1231|  16.5k|{
 1232|  16.5k|    PyTime_t t;
 1233|  16.5k|    if (PyTime_PerfCounter(&t) < 0) {
  ------------------
  |  Branch (1233:9): [True: 0, False: 16.5k]
  ------------------
 1234|      0|        return NULL;
 1235|      0|    }
 1236|  16.5k|    return _PyFloat_FromPyTime(t);
 1237|  16.5k|}
timemodule.c:time_exec:
 1979|      2|{
 1980|      2|    time_module_state *state = get_time_state(module);
 1981|       |#if defined(__APPLE__) && defined(HAVE_CLOCK_GETTIME)
 1982|       |    if (HAVE_CLOCK_GETTIME_RUNTIME) {
 1983|       |        /* pass: ^^^ cannot use '!' here */
 1984|       |    } else {
 1985|       |        PyObject* dct = PyModule_GetDict(module);
 1986|       |        if (dct == NULL) {
 1987|       |            return -1;
 1988|       |        }
 1989|       |
 1990|       |        if (PyDict_PopString(dct, "clock_gettime", NULL) < 0) {
 1991|       |            return -1;
 1992|       |        }
 1993|       |        if (PyDict_PopString(dct, "clock_gettime_ns", NULL) < 0) {
 1994|       |            return -1;
 1995|       |        }
 1996|       |        if (PyDict_PopString(dct, "clock_settime", NULL) < 0) {
 1997|       |            return -1;
 1998|       |        }
 1999|       |        if (PyDict_PopString(dct, "clock_settime_ns", NULL) < 0) {
 2000|       |            return -1;
 2001|       |        }
 2002|       |        if (PyDict_PopString(dct, "clock_getres", NULL) < 0) {
 2003|       |            return -1;
 2004|       |        }
 2005|       |    }
 2006|       |#endif
 2007|       |#if defined(__APPLE__) && defined(HAVE_THREAD_TIME)
 2008|       |    if (HAVE_CLOCK_GETTIME_RUNTIME) {
 2009|       |        /* pass: ^^^ cannot use '!' here */
 2010|       |    } else {
 2011|       |        PyObject* dct = PyModule_GetDict(module);
 2012|       |
 2013|       |        if (PyDict_PopString(dct, "thread_time", NULL) < 0) {
 2014|       |            return -1;
 2015|       |        }
 2016|       |        if (PyDict_PopString(dct, "thread_time_ns", NULL) < 0) {
 2017|       |            return -1;
 2018|       |        }
 2019|       |    }
 2020|       |#endif
 2021|       |    /* Set, or reset, module variables like time.timezone */
 2022|      2|    if (init_timezone(module) < 0) {
  ------------------
  |  Branch (2022:9): [True: 0, False: 2]
  ------------------
 2023|      0|        return -1;
 2024|      0|    }
 2025|       |
 2026|      2|#if defined(HAVE_CLOCK_GETTIME) || defined(HAVE_CLOCK_SETTIME) || defined(HAVE_CLOCK_GETRES)
 2027|      2|    if (HAVE_CLOCK_GETTIME_RUNTIME) {
  ------------------
  |  |   60|      2|#  define HAVE_CLOCK_GETTIME_RUNTIME 1
  |  |  ------------------
  |  |  |  Branch (60:38): [True: 2, Folded]
  |  |  ------------------
  ------------------
 2028|       |
 2029|      2|#ifdef CLOCK_REALTIME
 2030|      2|        if (PyModule_AddIntMacro(module, CLOCK_REALTIME) < 0) {
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  ------------------
  |  Branch (2030:13): [True: 0, False: 2]
  ------------------
 2031|      0|            return -1;
 2032|      0|        }
 2033|      2|#endif
 2034|      2|#ifdef CLOCK_MONOTONIC
 2035|      2|        if (PyModule_AddIntMacro(module, CLOCK_MONOTONIC) < 0) {
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  ------------------
  |  Branch (2035:13): [True: 0, False: 2]
  ------------------
 2036|      0|            return -1;
 2037|      0|        }
 2038|      2|#endif
 2039|      2|#ifdef CLOCK_MONOTONIC_RAW
 2040|      2|        if (PyModule_AddIntMacro(module, CLOCK_MONOTONIC_RAW) < 0) {
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  ------------------
  |  Branch (2040:13): [True: 0, False: 2]
  ------------------
 2041|      0|            return -1;
 2042|      0|        }
 2043|      2|#endif
 2044|       |#ifdef CLOCK_HIGHRES
 2045|       |        if (PyModule_AddIntMacro(module, CLOCK_HIGHRES) < 0) {
 2046|       |            return -1;
 2047|       |        }
 2048|       |#endif
 2049|      2|#ifdef CLOCK_PROCESS_CPUTIME_ID
 2050|      2|        if (PyModule_AddIntMacro(module, CLOCK_PROCESS_CPUTIME_ID) < 0) {
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  ------------------
  |  Branch (2050:13): [True: 0, False: 2]
  ------------------
 2051|      0|            return -1;
 2052|      0|        }
 2053|      2|#endif
 2054|      2|#ifdef CLOCK_THREAD_CPUTIME_ID
 2055|      2|        if (PyModule_AddIntMacro(module, CLOCK_THREAD_CPUTIME_ID) < 0) {
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  ------------------
  |  Branch (2055:13): [True: 0, False: 2]
  ------------------
 2056|      0|            return -1;
 2057|      0|        }
 2058|      2|#endif
 2059|       |#ifdef CLOCK_PROF
 2060|       |        if (PyModule_AddIntMacro(module, CLOCK_PROF) < 0) {
 2061|       |            return -1;
 2062|       |        }
 2063|       |#endif
 2064|      2|#ifdef CLOCK_BOOTTIME
 2065|      2|        if (PyModule_AddIntMacro(module, CLOCK_BOOTTIME) < 0) {
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  ------------------
  |  Branch (2065:13): [True: 0, False: 2]
  ------------------
 2066|      0|            return -1;
 2067|      0|        }
 2068|      2|#endif
 2069|      2|#ifdef CLOCK_TAI
 2070|      2|        if (PyModule_AddIntMacro(module, CLOCK_TAI) < 0) {
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  ------------------
  |  Branch (2070:13): [True: 0, False: 2]
  ------------------
 2071|      0|            return -1;
 2072|      0|        }
 2073|      2|#endif
 2074|       |#ifdef CLOCK_UPTIME
 2075|       |        if (PyModule_AddIntMacro(module, CLOCK_UPTIME) < 0) {
 2076|       |            return -1;
 2077|       |        }
 2078|       |#endif
 2079|       |#ifdef CLOCK_UPTIME_RAW
 2080|       |        if (PyModule_AddIntMacro(module, CLOCK_UPTIME_RAW) < 0) {
 2081|       |            return -1;
 2082|       |        }
 2083|       |#endif
 2084|       |#ifdef CLOCK_MONOTONIC_RAW_APPROX
 2085|       |        if (PyModule_AddIntMacro(module, CLOCK_MONOTONIC_RAW_APPROX) < 0) {
 2086|       |            return -1;
 2087|       |        }
 2088|       |#endif
 2089|       |#ifdef CLOCK_UPTIME_RAW_APPROX
 2090|       |        if (PyModule_AddIntMacro(module, CLOCK_UPTIME_RAW_APPROX) < 0) {
 2091|       |            return -1;
 2092|       |        }
 2093|       |#endif
 2094|      2|    }
 2095|       |
 2096|      2|#endif  /* defined(HAVE_CLOCK_GETTIME) || defined(HAVE_CLOCK_SETTIME) || defined(HAVE_CLOCK_GETRES) */
 2097|       |
 2098|      2|    if (PyModule_AddIntConstant(module, "_STRUCT_TM_ITEMS", 11)) {
  ------------------
  |  Branch (2098:9): [True: 0, False: 2]
  ------------------
 2099|      0|        return -1;
 2100|      0|    }
 2101|       |
 2102|       |    // struct_time type
 2103|      2|    state->struct_time_type = PyStructSequence_NewType(&struct_time_type_desc);
 2104|      2|    if (state->struct_time_type == NULL) {
  ------------------
  |  Branch (2104:9): [True: 0, False: 2]
  ------------------
 2105|      0|        return -1;
 2106|      0|    }
 2107|      2|    if (PyModule_AddType(module, state->struct_time_type)) {
  ------------------
  |  Branch (2107:9): [True: 0, False: 2]
  ------------------
 2108|      0|        return -1;
 2109|      0|    }
 2110|       |
 2111|       |#if defined(__linux__) && !defined(__GLIBC__)
 2112|       |    struct tm tm;
 2113|       |    const time_t zero = 0;
 2114|       |    if (gmtime_r(&zero, &tm) != NULL)
 2115|       |        utc_string = tm.tm_zone;
 2116|       |#endif
 2117|       |
 2118|       |#if defined(MS_WINDOWS)
 2119|       |    if (timer_flags == (DWORD)-1) {
 2120|       |        DWORD test_flags = CREATE_WAITABLE_TIMER_HIGH_RESOLUTION;
 2121|       |        HANDLE timer = CreateWaitableTimerExW(NULL, NULL, test_flags,
 2122|       |                                              TIMER_ALL_ACCESS);
 2123|       |        if (timer == NULL) {
 2124|       |            // CREATE_WAITABLE_TIMER_HIGH_RESOLUTION is not supported.
 2125|       |            timer_flags = 0;
 2126|       |        }
 2127|       |        else {
 2128|       |            // CREATE_WAITABLE_TIMER_HIGH_RESOLUTION is supported.
 2129|       |            timer_flags = CREATE_WAITABLE_TIMER_HIGH_RESOLUTION;
 2130|       |            CloseHandle(timer);
 2131|       |        }
 2132|       |    }
 2133|       |#endif
 2134|       |
 2135|       |// gh-115714: Don't use times() on WASI.
 2136|      2|#if defined(HAVE_TIMES) && !defined(__wasi__)
 2137|      2|    long ticks_per_second;
 2138|      2|    if (_Py_GetTicksPerSecond(&ticks_per_second) < 0) {
  ------------------
  |  Branch (2138:9): [True: 0, False: 2]
  ------------------
 2139|      0|        PyErr_SetString(PyExc_RuntimeError,
 2140|      0|                        "cannot read ticks_per_second");
 2141|      0|        return -1;
 2142|      0|    }
 2143|      2|    if (_PyTimeFraction_Set(&state->times_base, SEC_TO_NS,
  ------------------
  |  |   64|      2|#define SEC_TO_NS (1000 * 1000 * 1000)
  ------------------
  |  Branch (2143:9): [True: 0, False: 2]
  ------------------
 2144|      2|                            ticks_per_second) < 0) {
 2145|      0|        PyErr_Format(PyExc_OverflowError, "ticks_per_second is too large");
 2146|      0|        return -1;
 2147|      0|    }
 2148|      2|#endif
 2149|       |
 2150|      2|#ifdef HAVE_CLOCK
 2151|      2|    if (_PyTimeFraction_Set(&state->clock_base, SEC_TO_NS,
  ------------------
  |  |   64|      2|#define SEC_TO_NS (1000 * 1000 * 1000)
  ------------------
  |  Branch (2151:9): [True: 0, False: 2]
  ------------------
 2152|      2|                            CLOCKS_PER_SEC) < 0) {
 2153|      0|        PyErr_Format(PyExc_OverflowError, "CLOCKS_PER_SEC is too large");
 2154|      0|        return -1;
 2155|      0|    }
 2156|      2|#endif
 2157|       |
 2158|      2|    return 0;
 2159|      2|}
timemodule.c:time_module_traverse:
 2164|     16|{
 2165|     16|    time_module_state *state = get_time_state(module);
 2166|     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]
  |  |  ------------------
  ------------------
 2167|     16|    return 0;
 2168|     16|}

PyObject_Type:
   45|     66|{
   46|     66|    PyObject *v;
   47|       |
   48|     66|    if (o == NULL) {
  ------------------
  |  Branch (48:9): [True: 0, False: 66]
  ------------------
   49|      0|        return null_error();
   50|      0|    }
   51|       |
   52|     66|    v = (PyObject *)Py_TYPE(o);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   53|     66|    return Py_NewRef(v);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   54|     66|}
PyObject_Size:
   58|  12.5M|{
   59|  12.5M|    if (o == NULL) {
  ------------------
  |  Branch (59:9): [True: 0, False: 12.5M]
  ------------------
   60|      0|        null_error();
   61|      0|        return -1;
   62|      0|    }
   63|       |
   64|  12.5M|    PySequenceMethods *m = Py_TYPE(o)->tp_as_sequence;
  ------------------
  |  |  213|  12.5M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  12.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   65|  12.5M|    if (m && m->sq_length) {
  ------------------
  |  Branch (65:9): [True: 12.5M, False: 0]
  |  Branch (65:14): [True: 12.4M, False: 12.6k]
  ------------------
   66|  12.4M|        Py_ssize_t len = m->sq_length(o);
   67|  12.4M|        assert(_Py_CheckSlotResult(o, "__len__", len >= 0));
   68|  12.4M|        return len;
   69|  12.4M|    }
   70|       |
   71|  12.6k|    return PyMapping_Size(o);
   72|  12.5M|}
_PyObject_HasLen:
   83|  13.4k|_PyObject_HasLen(PyObject *o) {
   84|  13.4k|    return (Py_TYPE(o)->tp_as_sequence && Py_TYPE(o)->tp_as_sequence->sq_length) ||
  ------------------
  |  |  213|  13.4k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  13.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return (Py_TYPE(o)->tp_as_sequence && Py_TYPE(o)->tp_as_sequence->sq_length) ||
  ------------------
  |  |  213|     59|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     59|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     59|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (84:13): [True: 59, False: 13.3k]
  |  Branch (84:43): [True: 30, False: 29]
  ------------------
   85|  13.3k|        (Py_TYPE(o)->tp_as_mapping && Py_TYPE(o)->tp_as_mapping->mp_length);
  ------------------
  |  |  213|  13.3k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  13.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      (Py_TYPE(o)->tp_as_mapping && Py_TYPE(o)->tp_as_mapping->mp_length);
  ------------------
  |  |  213|     29|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     29|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (85:10): [True: 29, False: 13.3k]
  |  Branch (85:39): [True: 24, False: 5]
  ------------------
   86|  13.4k|}
PyObject_LengthHint:
   96|  13.4k|{
   97|  13.4k|    PyObject *hint, *result;
   98|  13.4k|    Py_ssize_t res;
   99|  13.4k|    if (_PyObject_HasLen(o)) {
  ------------------
  |  Branch (99:9): [True: 42, False: 13.3k]
  ------------------
  100|     42|        res = PyObject_Length(o);
  ------------------
  |  |   80|     42|#define PyObject_Length PyObject_Size
  ------------------
  101|     42|        if (res < 0) {
  ------------------
  |  Branch (101:13): [True: 0, False: 42]
  ------------------
  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|     42|        else {
  110|     42|            return res;
  111|     42|        }
  112|     42|    }
  113|  13.3k|    hint = _PyObject_LookupSpecial(o, &_Py_ID(__length_hint__));
  ------------------
  |  |  915|  13.3k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  13.3k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  13.3k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  114|  13.3k|    if (hint == NULL) {
  ------------------
  |  Branch (114:9): [True: 12.8k, False: 480]
  ------------------
  115|  12.8k|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (115:13): [True: 0, False: 12.8k]
  ------------------
  116|      0|            return -1;
  117|      0|        }
  118|  12.8k|        return defaultvalue;
  119|  12.8k|    }
  120|    480|    result = _PyObject_CallNoArgs(hint);
  121|    480|    Py_DECREF(hint);
  ------------------
  |  |  430|    480|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    480|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    480|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  122|    480|    if (result == NULL) {
  ------------------
  |  Branch (122:9): [True: 0, False: 480]
  ------------------
  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|    480|    else if (result == Py_NotImplemented) {
  ------------------
  |  |  640|    480|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (130:14): [True: 0, False: 480]
  ------------------
  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|    480|    if (!PyLong_Check(result)) {
  ------------------
  |  |   13|    480|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    480|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (134:9): [True: 0, False: 480]
  ------------------
  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|    480|    res = PyLong_AsSsize_t(result);
  142|    480|    Py_DECREF(result);
  ------------------
  |  |  430|    480|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    480|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    480|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  143|    480|    if (res < 0 && PyErr_Occurred()) {
  ------------------
  |  Branch (143:9): [True: 0, False: 480]
  |  Branch (143:20): [True: 0, False: 0]
  ------------------
  144|      0|        return -1;
  145|      0|    }
  146|    480|    if (res < 0) {
  ------------------
  |  Branch (146:9): [True: 0, False: 480]
  ------------------
  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|    480|    return res;
  152|    480|}
PyObject_GetItem:
  156|  18.7M|{
  157|  18.7M|    if (o == NULL || key == NULL) {
  ------------------
  |  Branch (157:9): [True: 0, False: 18.7M]
  |  Branch (157:22): [True: 0, False: 18.7M]
  ------------------
  158|      0|        return null_error();
  159|      0|    }
  160|       |
  161|  18.7M|    PyMappingMethods *m = Py_TYPE(o)->tp_as_mapping;
  ------------------
  |  |  213|  18.7M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  18.7M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  162|  18.7M|    if (m && m->mp_subscript) {
  ------------------
  |  Branch (162:9): [True: 18.7M, False: 450]
  |  Branch (162:14): [True: 18.7M, False: 90]
  ------------------
  163|  18.7M|        PyObject *item = m->mp_subscript(o, key);
  164|  18.7M|        assert(_Py_CheckSlotResult(o, "__getitem__", item != NULL));
  165|  18.7M|        return item;
  166|  18.7M|    }
  167|       |
  168|    540|    PySequenceMethods *ms = Py_TYPE(o)->tp_as_sequence;
  ------------------
  |  |  213|    540|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    540|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    540|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  169|    540|    if (ms && ms->sq_item) {
  ------------------
  |  Branch (169:9): [True: 90, False: 450]
  |  Branch (169:15): [True: 0, False: 90]
  ------------------
  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|    540|    if (PyType_Check(o)) {
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  184|    540|        PyObject *meth, *result;
  185|       |
  186|       |        // Special case type[int], but disallow other types so str[int] fails
  187|    540|        if ((PyTypeObject*)o == &PyType_Type) {
  ------------------
  |  Branch (187:13): [True: 8, False: 532]
  ------------------
  188|      8|            return Py_GenericAlias(o, key);
  189|      8|        }
  190|       |
  191|    532|        if (PyObject_GetOptionalAttr(o, &_Py_ID(__class_getitem__), &meth) < 0) {
  ------------------
  |  |  915|    532|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    532|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    532|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (191:13): [True: 0, False: 532]
  ------------------
  192|      0|            return NULL;
  193|      0|        }
  194|    532|        if (meth && meth != Py_None) {
  ------------------
  |  |  616|    532|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (194:13): [True: 532, False: 0]
  |  Branch (194:21): [True: 532, False: 0]
  ------------------
  195|    532|            result = PyObject_CallOneArg(meth, key);
  196|    532|            Py_DECREF(meth);
  ------------------
  |  |  430|    532|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    532|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    532|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  197|    532|            return result;
  198|    532|        }
  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|    532|    }
  204|       |
  205|      0|    return type_error("'%.200s' object is not subscriptable", o);
  206|    540|}
PyMapping_GetOptionalItem:
  210|  1.53M|{
  211|  1.53M|    if (PyDict_CheckExact(obj)) {
  ------------------
  |  |   19|  1.53M|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|  1.53M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.53M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.53M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.53M, False: 222]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  212|  1.53M|        return PyDict_GetItemRef(obj, key, result);
  213|  1.53M|    }
  214|       |
  215|    222|    *result = PyObject_GetItem(obj, key);
  216|    222|    if (*result) {
  ------------------
  |  Branch (216:9): [True: 118, False: 104]
  ------------------
  217|    118|        return 1;
  218|    118|    }
  219|    222|    assert(PyErr_Occurred());
  220|    104|    if (!PyErr_ExceptionMatches(PyExc_KeyError)) {
  ------------------
  |  Branch (220:9): [True: 0, False: 104]
  ------------------
  221|      0|        return -1;
  222|      0|    }
  223|    104|    PyErr_Clear();
  224|    104|    return 0;
  225|    104|}
_PyMapping_GetOptionalItem2:
  229|  2.38k|{
  230|  2.38k|    PyObject* result;
  231|  2.38k|    *err = PyMapping_GetOptionalItem(obj, key, &result);
  232|  2.38k|    return result;
  233|  2.38k|}
PyObject_SetItem:
  237|  10.0M|{
  238|  10.0M|    if (o == NULL || key == NULL || value == NULL) {
  ------------------
  |  Branch (238:9): [True: 0, False: 10.0M]
  |  Branch (238:22): [True: 0, False: 10.0M]
  |  Branch (238:37): [True: 0, False: 10.0M]
  ------------------
  239|      0|        null_error();
  240|      0|        return -1;
  241|      0|    }
  242|       |
  243|  10.0M|    PyMappingMethods *m = Py_TYPE(o)->tp_as_mapping;
  ------------------
  |  |  213|  10.0M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  10.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  244|  10.0M|    if (m && m->mp_ass_subscript) {
  ------------------
  |  Branch (244:9): [True: 10.0M, False: 0]
  |  Branch (244:14): [True: 10.0M, False: 0]
  ------------------
  245|  10.0M|        int res = m->mp_ass_subscript(o, key, value);
  246|  10.0M|        assert(_Py_CheckSlotResult(o, "__setitem__", res >= 0));
  247|  10.0M|        return res;
  248|  10.0M|    }
  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|  24.7k|{
  272|  24.7k|    if (o == NULL || key == NULL) {
  ------------------
  |  Branch (272:9): [True: 0, False: 24.7k]
  |  Branch (272:22): [True: 0, False: 24.7k]
  ------------------
  273|      0|        null_error();
  274|      0|        return -1;
  275|      0|    }
  276|       |
  277|  24.7k|    PyMappingMethods *m = Py_TYPE(o)->tp_as_mapping;
  ------------------
  |  |  213|  24.7k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  24.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  278|  24.7k|    if (m && m->mp_ass_subscript) {
  ------------------
  |  Branch (278:9): [True: 24.7k, False: 0]
  |  Branch (278:14): [True: 24.7k, False: 0]
  ------------------
  279|  24.7k|        int res = m->mp_ass_subscript(o, key, (PyObject*)NULL);
  280|  24.7k|        assert(_Py_CheckSlotResult(o, "__delitem__", res >= 0));
  281|  24.7k|        return res;
  282|  24.7k|    }
  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|  15.0M|{
  326|  15.0M|    PyBufferProcs *tp_as_buffer = Py_TYPE(obj)->tp_as_buffer;
  ------------------
  |  |  213|  15.0M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  15.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  327|  15.0M|    return (tp_as_buffer != NULL && tp_as_buffer->bf_getbuffer != NULL);
  ------------------
  |  Branch (327:13): [True: 15.0M, False: 11.7k]
  |  Branch (327:37): [True: 15.0M, False: 0]
  ------------------
  328|  15.0M|}
PyObject_GetBuffer:
  440|  22.8M|{
  441|  22.8M|    if (flags != PyBUF_SIMPLE) {  /* fast path */
  ------------------
  |  |  108|  22.8M|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (441:9): [True: 15.1M, False: 7.66M]
  ------------------
  442|  15.1M|        if (flags == PyBUF_READ || flags == PyBUF_WRITE) {
  ------------------
  |  |  137|  30.2M|#define PyBUF_READ  0x100
  ------------------
                      if (flags == PyBUF_READ || flags == PyBUF_WRITE) {
  ------------------
  |  |  138|  15.1M|#define PyBUF_WRITE 0x200
  ------------------
  |  Branch (442:13): [True: 0, False: 15.1M]
  |  Branch (442:36): [True: 0, False: 15.1M]
  ------------------
  443|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  444|      0|            return -1;
  445|      0|        }
  446|  15.1M|    }
  447|  22.8M|    PyBufferProcs *pb = Py_TYPE(obj)->tp_as_buffer;
  ------------------
  |  |  213|  22.8M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  22.8M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  22.8M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  448|       |
  449|  22.8M|    if (pb == NULL || pb->bf_getbuffer == NULL) {
  ------------------
  |  Branch (449:9): [True: 0, False: 22.8M]
  |  Branch (449:23): [True: 0, False: 22.8M]
  ------------------
  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|  22.8M|    int res = (*pb->bf_getbuffer)(obj, view, flags);
  456|       |    assert(_Py_CheckSlotResult(obj, "getbuffer", res >= 0));
  457|  22.8M|    return res;
  458|  22.8M|}
PyBuffer_IsContiguous:
  529|  15.0M|{
  530|       |
  531|  15.0M|    if (view->suboffsets != NULL) return 0;
  ------------------
  |  Branch (531:9): [True: 0, False: 15.0M]
  ------------------
  532|       |
  533|  15.0M|    if (order == 'C')
  ------------------
  |  Branch (533:9): [True: 15.0M, False: 0]
  ------------------
  534|  15.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|  15.0M|}
PyBuffer_FillInfo:
  776|  22.7M|{
  777|  22.7M|    if (view == NULL) {
  ------------------
  |  Branch (777:9): [True: 0, False: 22.7M]
  ------------------
  778|      0|        PyErr_SetString(PyExc_BufferError,
  779|      0|                        "PyBuffer_FillInfo: view==NULL argument is obsolete");
  780|      0|        return -1;
  781|      0|    }
  782|       |
  783|  22.7M|    if (flags != PyBUF_SIMPLE) {  /* fast path */
  ------------------
  |  |  108|  22.7M|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (783:9): [True: 15.1M, False: 7.65M]
  ------------------
  784|  15.1M|        if (flags == PyBUF_READ || flags == PyBUF_WRITE) {
  ------------------
  |  |  137|  30.2M|#define PyBUF_READ  0x100
  ------------------
                      if (flags == PyBUF_READ || flags == PyBUF_WRITE) {
  ------------------
  |  |  138|  15.1M|#define PyBUF_WRITE 0x200
  ------------------
  |  Branch (784:13): [True: 0, False: 15.1M]
  |  Branch (784:36): [True: 0, False: 15.1M]
  ------------------
  785|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  786|      0|            return -1;
  787|      0|        }
  788|  15.1M|        if (((flags & PyBUF_WRITABLE) == PyBUF_WRITABLE) &&
  ------------------
  |  |  109|  15.1M|#define PyBUF_WRITABLE 0x0001
  ------------------
                      if (((flags & PyBUF_WRITABLE) == PyBUF_WRITABLE) &&
  ------------------
  |  |  109|  15.1M|#define PyBUF_WRITABLE 0x0001
  ------------------
  |  Branch (788:13): [True: 18, False: 15.1M]
  ------------------
  789|     18|            (readonly == 1)) {
  ------------------
  |  Branch (789:13): [True: 0, False: 18]
  ------------------
  790|      0|            PyErr_SetString(PyExc_BufferError,
  791|      0|                            "Object is not writable.");
  792|      0|            return -1;
  793|      0|        }
  794|  15.1M|    }
  795|       |
  796|  22.7M|    view->obj = Py_XNewRef(obj);
  ------------------
  |  |  551|  22.7M|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  22.7M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  22.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  797|  22.7M|    view->buf = buf;
  798|  22.7M|    view->len = len;
  799|  22.7M|    view->readonly = readonly;
  800|  22.7M|    view->itemsize = 1;
  801|  22.7M|    view->format = NULL;
  802|  22.7M|    if ((flags & PyBUF_FORMAT) == PyBUF_FORMAT)
  ------------------
  |  |  116|  22.7M|#define PyBUF_FORMAT 0x0004
  ------------------
                  if ((flags & PyBUF_FORMAT) == PyBUF_FORMAT)
  ------------------
  |  |  116|  22.7M|#define PyBUF_FORMAT 0x0004
  ------------------
  |  Branch (802:9): [True: 15.0M, False: 7.74M]
  ------------------
  803|  15.0M|        view->format = "B";
  804|  22.7M|    view->ndim = 1;
  805|  22.7M|    view->shape = NULL;
  806|  22.7M|    if ((flags & PyBUF_ND) == PyBUF_ND)
  ------------------
  |  |  117|  22.7M|#define PyBUF_ND 0x0008
  ------------------
                  if ((flags & PyBUF_ND) == PyBUF_ND)
  ------------------
  |  |  117|  22.7M|#define PyBUF_ND 0x0008
  ------------------
  |  Branch (806:9): [True: 15.1M, False: 7.65M]
  ------------------
  807|  15.1M|        view->shape = &(view->len);
  808|  22.7M|    view->strides = NULL;
  809|  22.7M|    if ((flags & PyBUF_STRIDES) == PyBUF_STRIDES)
  ------------------
  |  |  118|  22.7M|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  ------------------
  |  |  |  |  117|  22.7M|#define PyBUF_ND 0x0008
  |  |  ------------------
  ------------------
                  if ((flags & PyBUF_STRIDES) == PyBUF_STRIDES)
  ------------------
  |  |  118|  22.7M|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  ------------------
  |  |  |  |  117|  22.7M|#define PyBUF_ND 0x0008
  |  |  ------------------
  ------------------
  |  Branch (809:9): [True: 15.0M, False: 7.74M]
  ------------------
  810|  15.0M|        view->strides = &(view->itemsize);
  811|  22.7M|    view->suboffsets = NULL;
  812|       |    view->internal = NULL;
  813|  22.7M|    return 0;
  814|  22.7M|}
PyBuffer_Release:
  818|  22.9M|{
  819|  22.9M|    PyObject *obj = view->obj;
  820|  22.9M|    PyBufferProcs *pb;
  821|  22.9M|    if (obj == NULL)
  ------------------
  |  Branch (821:9): [True: 18.0k, False: 22.9M]
  ------------------
  822|  18.0k|        return;
  823|  22.9M|    pb = Py_TYPE(obj)->tp_as_buffer;
  ------------------
  |  |  213|  22.9M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  22.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  22.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  824|  22.9M|    if (pb && pb->bf_releasebuffer) {
  ------------------
  |  Branch (824:9): [True: 22.9M, False: 0]
  |  Branch (824:15): [True: 7.53M, False: 15.3M]
  ------------------
  825|  7.53M|        pb->bf_releasebuffer(obj, view);
  826|  7.53M|    }
  827|  22.9M|    view->obj = NULL;
  828|  22.9M|    Py_DECREF(obj);
  ------------------
  |  |  430|  22.9M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  22.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  22.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  829|  22.9M|}
PyObject_Format:
  854|  19.9k|{
  855|  19.9k|    PyObject *meth;
  856|  19.9k|    PyObject *empty = NULL;
  857|  19.9k|    PyObject *result = NULL;
  858|       |
  859|  19.9k|    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: 19.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|  19.9k|    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: 19.9k, False: 4]
  |  Branch (867:32): [True: 4, False: 0]
  ------------------
  868|  19.9k|        if (PyUnicode_CheckExact(obj)) {
  ------------------
  |  |  104|  19.9k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  19.9k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  19.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  19.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 19.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  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|  19.9k|        if (PyLong_CheckExact(obj)) {
  ------------------
  |  |   14|  19.9k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  19.9k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  19.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  19.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 15.6k, False: 4.31k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  872|  15.6k|            return PyObject_Str(obj);
  873|  15.6k|        }
  874|  19.9k|    }
  875|       |
  876|       |    /* If no format_spec is provided, use an empty string */
  877|  4.31k|    if (format_spec == NULL) {
  ------------------
  |  Branch (877:9): [True: 4.31k, False: 4]
  ------------------
  878|  4.31k|        empty = Py_GetConstant(Py_CONSTANT_EMPTY_STR);
  ------------------
  |  |  597|  4.31k|#define Py_CONSTANT_EMPTY_STR 7
  ------------------
  879|  4.31k|        format_spec = empty;
  880|  4.31k|    }
  881|       |
  882|       |    /* Find the (unbound!) __format__ method */
  883|  4.31k|    meth = _PyObject_LookupSpecial(obj, &_Py_ID(__format__));
  ------------------
  |  |  915|  4.31k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.31k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.31k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  884|  4.31k|    if (meth == NULL) {
  ------------------
  |  Branch (884:9): [True: 0, False: 4.31k]
  ------------------
  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|  4.31k|    result = PyObject_CallOneArg(meth, format_spec);
  896|  4.31k|    Py_DECREF(meth);
  ------------------
  |  |  430|  4.31k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.31k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  897|       |
  898|  4.31k|    if (result && !PyUnicode_Check(result)) {
  ------------------
  |  |  103|  4.31k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.31k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (898:9): [True: 4.31k, False: 0]
  |  Branch (898:19): [True: 0, False: 4.31k]
  ------------------
  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|  4.31k|done:
  907|  4.31k|    Py_XDECREF(empty);
  ------------------
  |  |  524|  4.31k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.31k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  908|  4.31k|    return result;
  909|  4.31k|}
PyNumber_Check:
  914|  4.57k|{
  915|  4.57k|    if (o == NULL)
  ------------------
  |  Branch (915:9): [True: 0, False: 4.57k]
  ------------------
  916|      0|        return 0;
  917|  4.57k|    PyNumberMethods *nb = Py_TYPE(o)->tp_as_number;
  ------------------
  |  |  213|  4.57k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.57k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.57k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  918|  4.57k|    return nb && (nb->nb_index || nb->nb_int || nb->nb_float || PyComplex_Check(o));
  ------------------
  |  |   13|  4.00k|#define PyComplex_Check(op) PyObject_TypeCheck((op), &PyComplex_Type)
  |  |  ------------------
  |  |  |  |  378|  4.00k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.00k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.00k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 4.00k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (918:12): [True: 4.57k, False: 0]
  |  Branch (918:19): [True: 571, False: 4.00k]
  |  Branch (918:35): [True: 0, False: 4.00k]
  |  Branch (918:49): [True: 0, False: 4.00k]
  ------------------
  919|  4.57k|}
PyNumber_Add:
 1139|   190k|{
 1140|   190k|    PyObject *result = BINARY_OP1(v, w, NB_SLOT(nb_add), "+");
  ------------------
  |  |  993|   190k|#  define BINARY_OP1(v, w, op_slot, op_name) binary_op1(v, w, op_slot)
  ------------------
 1141|   190k|    if (result != Py_NotImplemented) {
  ------------------
  |  |  640|   190k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1141:9): [True: 181k, False: 8.58k]
  ------------------
 1142|   181k|        return result;
 1143|   181k|    }
 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|  12.6k|{
 1178|  12.6k|    PyObject *result = BINARY_OP1(v, w, NB_SLOT(nb_multiply), "*");
  ------------------
  |  |  993|  12.6k|#  define BINARY_OP1(v, w, op_slot, op_name) binary_op1(v, w, op_slot)
  ------------------
 1179|  12.6k|    if (result == Py_NotImplemented) {
  ------------------
  |  |  640|  12.6k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1179:9): [True: 132, False: 12.4k]
  ------------------
 1180|    132|        PySequenceMethods *mv = Py_TYPE(v)->tp_as_sequence;
  ------------------
  |  |  213|    132|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    132|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    132|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1181|    132|        PySequenceMethods *mw = Py_TYPE(w)->tp_as_sequence;
  ------------------
  |  |  213|    132|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    132|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    132|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1182|    132|        Py_DECREF(result);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1183|    132|        if  (mv && mv->sq_repeat) {
  ------------------
  |  Branch (1183:14): [True: 130, False: 2]
  |  Branch (1183:20): [True: 130, False: 0]
  ------------------
 1184|    130|            return sequence_repeat(mv->sq_repeat, v, w);
 1185|    130|        }
 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|  12.4k|    return result;
 1192|  12.6k|}
PyNumber_Power:
 1201|  1.97M|{
 1202|       |    return ternary_op(v, w, z, NB_SLOT(nb_power), "** or pow()");
  ------------------
  |  |  923|  1.97M|#define NB_SLOT(x) offsetof(PyNumberMethods, x)
  ------------------
 1203|  1.97M|}
_PyNumber_PowerNoMod:
 1207|  1.97M|{
 1208|  1.97M|    return PyNumber_Power(lhs, rhs, Py_None);
  ------------------
  |  |  616|  1.97M|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1209|  1.97M|}
PyNumber_InPlaceAdd:
 1308|  7.60M|{
 1309|  7.60M|    PyObject *result = BINARY_IOP1(v, w, NB_SLOT(nb_inplace_add),
  ------------------
  |  | 1254|  7.60M|#  define BINARY_IOP1(v, w, iop_slot, op_slot, op_name) binary_iop1(v, w, iop_slot, op_slot)
  ------------------
 1310|  7.60M|                                   NB_SLOT(nb_add), "+=");
 1311|  7.60M|    if (result == Py_NotImplemented) {
  ------------------
  |  |  640|  7.60M|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1311:9): [True: 7.60M, False: 68]
  ------------------
 1312|  7.60M|        PySequenceMethods *m = Py_TYPE(v)->tp_as_sequence;
  ------------------
  |  |  213|  7.60M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  7.60M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.60M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1313|  7.60M|        Py_DECREF(result);
  ------------------
  |  |  430|  7.60M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.60M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.60M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1314|  7.60M|        if (m != NULL) {
  ------------------
  |  Branch (1314:13): [True: 7.60M, False: 0]
  ------------------
 1315|  7.60M|            binaryfunc func = m->sq_inplace_concat;
 1316|  7.60M|            if (func == NULL)
  ------------------
  |  Branch (1316:17): [True: 82.4k, False: 7.52M]
  ------------------
 1317|  82.4k|                func = m->sq_concat;
 1318|  7.60M|            if (func != NULL) {
  ------------------
  |  Branch (1318:17): [True: 7.60M, False: 0]
  ------------------
 1319|  7.60M|                result = func(v, w);
 1320|  7.60M|                assert(_Py_CheckSlotResult(v, "+=", result != NULL));
 1321|  7.60M|                return result;
 1322|  7.60M|            }
 1323|  7.60M|        }
 1324|      0|        result = binop_type_error(v, w, "+=");
 1325|      0|    }
 1326|     68|    return result;
 1327|  7.60M|}
PyIndex_Check:
 1399|  44.4k|{
 1400|  44.4k|    return _PyIndex_Check(obj);
 1401|  44.4k|}
_PyNumber_Index:
 1411|  21.6M|{
 1412|  21.6M|    if (item == NULL) {
  ------------------
  |  Branch (1412:9): [True: 0, False: 21.6M]
  ------------------
 1413|      0|        return null_error();
 1414|      0|    }
 1415|       |
 1416|  21.6M|    if (PyLong_Check(item)) {
  ------------------
  |  |   13|  21.6M|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  21.6M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 21.6M, False: 4.00k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1417|  21.6M|        return Py_NewRef(item);
  ------------------
  |  |  550|  21.6M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  21.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  21.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1418|  21.6M|    }
 1419|  4.00k|    if (!_PyIndex_Check(item)) {
  ------------------
  |  Branch (1419:9): [True: 4.00k, False: 0]
  ------------------
 1420|  4.00k|        PyErr_Format(PyExc_TypeError,
 1421|  4.00k|                     "'%.200s' object cannot be interpreted "
 1422|  4.00k|                     "as an integer", Py_TYPE(item)->tp_name);
  ------------------
  |  |  213|  4.00k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.00k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.00k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1423|  4.00k|        return NULL;
 1424|  4.00k|    }
 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|  54.2k|{
 1458|  54.2k|    PyObject *result = _PyNumber_Index(item);
 1459|  54.2k|    if (result != NULL && !PyLong_CheckExact(result)) {
  ------------------
  |  |   14|  54.2k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  54.2k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_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 (1459:9): [True: 54.2k, False: 0]
  |  Branch (1459:27): [True: 0, False: 54.2k]
  ------------------
 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|  54.2k|    return result;
 1463|  54.2k|}
PyNumber_AsSsize_t:
 1469|  21.3M|{
 1470|  21.3M|    Py_ssize_t result;
 1471|  21.3M|    PyObject *runerr;
 1472|  21.3M|    PyObject *value = _PyNumber_Index(item);
 1473|  21.3M|    if (value == NULL)
  ------------------
  |  Branch (1473:9): [True: 0, False: 21.3M]
  ------------------
 1474|      0|        return -1;
 1475|       |
 1476|       |    /* We're done if PyLong_AsSsize_t() returns without error. */
 1477|  21.3M|    result = PyLong_AsSsize_t(value);
 1478|  21.3M|    if (result != -1)
  ------------------
  |  Branch (1478:9): [True: 15.5M, False: 5.77M]
  ------------------
 1479|  15.5M|        goto finish;
 1480|       |
 1481|  5.77M|    PyThreadState *tstate = _PyThreadState_GET();
 1482|  5.77M|    runerr = _PyErr_Occurred(tstate);
 1483|  5.77M|    if (!runerr) {
  ------------------
  |  Branch (1483:9): [True: 5.77M, False: 0]
  ------------------
 1484|  5.77M|        goto finish;
 1485|  5.77M|    }
 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|  21.3M| finish:
 1513|  21.3M|    Py_DECREF(value);
  ------------------
  |  |  430|  21.3M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  21.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  21.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1514|  21.3M|    return result;
 1515|      0|}
PyNumber_Long:
 1520|  94.1k|{
 1521|  94.1k|    PyObject *result;
 1522|  94.1k|    PyNumberMethods *m;
 1523|  94.1k|    Py_buffer view;
 1524|       |
 1525|  94.1k|    if (o == NULL) {
  ------------------
  |  Branch (1525:9): [True: 0, False: 94.1k]
  ------------------
 1526|      0|        return null_error();
 1527|      0|    }
 1528|       |
 1529|  94.1k|    if (PyLong_CheckExact(o)) {
  ------------------
  |  |   14|  94.1k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  94.1k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  94.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  94.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 50.3k, False: 43.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1530|  50.3k|        return Py_NewRef(o);
  ------------------
  |  |  550|  50.3k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  50.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  50.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1531|  50.3k|    }
 1532|  43.8k|    m = Py_TYPE(o)->tp_as_number;
  ------------------
  |  |  213|  43.8k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  43.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  43.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1533|  43.8k|    if (m && m->nb_int) { /* This should include subclasses of int */
  ------------------
  |  Branch (1533:9): [True: 43.8k, False: 0]
  |  Branch (1533:14): [True: 43.7k, False: 76]
  ------------------
 1534|       |        /* Convert using the nb_int slot, which should return something
 1535|       |           of exact type int. */
 1536|  43.7k|        result = m->nb_int(o);
 1537|  43.7k|        assert(_Py_CheckSlotResult(o, "__int__", result != NULL));
 1538|  43.7k|        if (!result || PyLong_CheckExact(result)) {
  ------------------
  |  |   14|  43.7k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  43.7k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  43.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  43.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 43.7k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1538:13): [True: 0, False: 43.7k]
  ------------------
 1539|  43.7k|            return result;
 1540|  43.7k|        }
 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|     76|    if (m && m->nb_index) {
  ------------------
  |  Branch (1561:9): [True: 76, False: 0]
  |  Branch (1561:14): [True: 0, False: 76]
  ------------------
 1562|      0|        return PyNumber_Index(o);
 1563|      0|    }
 1564|       |
 1565|     76|    if (PyUnicode_Check(o))
  ------------------
  |  |  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: 76, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1566|       |        /* The below check is done in PyLong_FromUnicodeObject(). */
 1567|     76|        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|      4|{
 1604|      4|    if (o == NULL) {
  ------------------
  |  Branch (1604:9): [True: 0, False: 4]
  ------------------
 1605|      0|        return null_error();
 1606|      0|    }
 1607|       |
 1608|      4|    if (PyFloat_CheckExact(o)) {
  ------------------
  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1609|      0|        return 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1610|      0|    }
 1611|       |
 1612|      4|    PyNumberMethods *m = Py_TYPE(o)->tp_as_number;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1613|      4|    if (m && m->nb_float) { /* This should include subclasses of float */
  ------------------
  |  Branch (1613:9): [True: 4, False: 0]
  |  Branch (1613:14): [True: 4, False: 0]
  ------------------
 1614|      4|        PyObject *res = m->nb_float(o);
 1615|      4|        assert(_Py_CheckSlotResult(o, "__float__", res != NULL));
 1616|      4|        if (!res || PyFloat_CheckExact(res)) {
  ------------------
  |  |   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: 4, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1616:13): [True: 0, False: 4]
  ------------------
 1617|      4|            return res;
 1618|      4|        }
 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|    512|{
 1664|    512|    if (!(base == 2 || base == 8 || base == 10 || base == 16)) {
  ------------------
  |  Branch (1664:11): [True: 0, False: 512]
  |  Branch (1664:24): [True: 0, 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|    512|    PyObject *index = _PyNumber_Index(n);
 1670|    512|    if (!index)
  ------------------
  |  Branch (1670:9): [True: 0, False: 512]
  ------------------
 1671|      0|        return NULL;
 1672|    512|    PyObject *res = _PyLong_Format(index, base);
 1673|    512|    Py_DECREF(index);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1674|    512|    return res;
 1675|    512|}
PySequence_Check:
 1682|  1.41k|{
 1683|  1.41k|    if (PyDict_Check(s))
  ------------------
  |  |   18|  1.41k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.41k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 1.41k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1684|      0|        return 0;
 1685|  1.41k|    return Py_TYPE(s)->tp_as_sequence &&
  ------------------
  |  |  213|  1.41k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1685:12): [True: 1.41k, False: 0]
  ------------------
 1686|  1.41k|        Py_TYPE(s)->tp_as_sequence->sq_item != NULL;
  ------------------
  |  |  213|  1.41k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1686:9): [True: 1.41k, False: 0]
  ------------------
 1687|  1.41k|}
PySequence_Size:
 1691|  2.90k|{
 1692|  2.90k|    if (s == NULL) {
  ------------------
  |  Branch (1692:9): [True: 0, False: 2.90k]
  ------------------
 1693|      0|        null_error();
 1694|      0|        return -1;
 1695|      0|    }
 1696|       |
 1697|  2.90k|    PySequenceMethods *m = Py_TYPE(s)->tp_as_sequence;
  ------------------
  |  |  213|  2.90k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.90k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.90k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1698|  2.90k|    if (m && m->sq_length) {
  ------------------
  |  Branch (1698:9): [True: 2.90k, False: 0]
  |  Branch (1698:14): [True: 2.90k, False: 0]
  ------------------
 1699|  2.90k|        Py_ssize_t len = m->sq_length(s);
 1700|  2.90k|        assert(_Py_CheckSlotResult(s, "__len__", len >= 0));
 1701|  2.90k|        return len;
 1702|  2.90k|    }
 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|     18|{
 1723|     18|    if (s == NULL || o == NULL) {
  ------------------
  |  Branch (1723:9): [True: 0, False: 18]
  |  Branch (1723:22): [True: 0, False: 18]
  ------------------
 1724|      0|        return null_error();
 1725|      0|    }
 1726|       |
 1727|     18|    PySequenceMethods *m = Py_TYPE(s)->tp_as_sequence;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1728|     18|    if (m && m->sq_concat) {
  ------------------
  |  Branch (1728:9): [True: 18, False: 0]
  |  Branch (1728:14): [True: 18, False: 0]
  ------------------
 1729|     18|        PyObject *res = m->sq_concat(s, o);
 1730|     18|        assert(_Py_CheckSlotResult(s, "+", res != NULL));
 1731|     18|        return res;
 1732|     18|    }
 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|  10.4k|{
 1873|  10.4k|    if (!s) {
  ------------------
  |  Branch (1873:9): [True: 0, False: 10.4k]
  ------------------
 1874|      0|        return null_error();
 1875|      0|    }
 1876|       |
 1877|  10.4k|    PyMappingMethods *mp = Py_TYPE(s)->tp_as_mapping;
  ------------------
  |  |  213|  10.4k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  10.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1878|  10.4k|    if (mp && mp->mp_subscript) {
  ------------------
  |  Branch (1878:9): [True: 10.4k, False: 0]
  |  Branch (1878:15): [True: 10.4k, False: 0]
  ------------------
 1879|  10.4k|        PyObject *slice = _PySlice_FromIndices(i1, i2);
 1880|  10.4k|        if (!slice) {
  ------------------
  |  Branch (1880:13): [True: 0, False: 10.4k]
  ------------------
 1881|      0|            return NULL;
 1882|      0|        }
 1883|  10.4k|        PyObject *res = mp->mp_subscript(s, slice);
 1884|  10.4k|        assert(_Py_CheckSlotResult(s, "__getitem__", res != NULL));
 1885|  10.4k|        Py_DECREF(slice);
  ------------------
  |  |  430|  10.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1886|  10.4k|        return res;
 1887|  10.4k|    }
 1888|       |
 1889|      0|    return type_error("'%.200s' object is unsliceable", s);
 1890|  10.4k|}
PySequence_DelItem:
 1927|  2.17k|{
 1928|  2.17k|    if (s == NULL) {
  ------------------
  |  Branch (1928:9): [True: 0, False: 2.17k]
  ------------------
 1929|      0|        null_error();
 1930|      0|        return -1;
 1931|      0|    }
 1932|       |
 1933|  2.17k|    PySequenceMethods *m = Py_TYPE(s)->tp_as_sequence;
  ------------------
  |  |  213|  2.17k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1934|  2.17k|    if (m && m->sq_ass_item) {
  ------------------
  |  Branch (1934:9): [True: 2.17k, False: 0]
  |  Branch (1934:14): [True: 2.17k, False: 0]
  ------------------
 1935|  2.17k|        if (i < 0) {
  ------------------
  |  Branch (1935:13): [True: 0, False: 2.17k]
  ------------------
 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|  2.17k|        int res = m->sq_ass_item(s, i, (PyObject *)NULL);
 1946|  2.17k|        assert(_Py_CheckSlotResult(s, "__delitem__", res >= 0));
 1947|  2.17k|        return res;
 1948|  2.17k|    }
 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|  1.28M|{
 2007|  1.28M|    PyObject *it;  /* iter(v) */
 2008|       |
 2009|  1.28M|    if (v == NULL) {
  ------------------
  |  Branch (2009:9): [True: 0, False: 1.28M]
  ------------------
 2010|      0|        return null_error();
 2011|      0|    }
 2012|       |
 2013|       |    /* Special-case the common tuple and list cases, for efficiency. */
 2014|  1.28M|    if (PyTuple_CheckExact(v)) {
  ------------------
  |  |   28|  1.28M|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  1.28M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.28M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.28M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.25M, False: 30.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 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|  1.25M|        return Py_NewRef(v);
  ------------------
  |  |  550|  1.25M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.25M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.25M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2020|  1.25M|    }
 2021|  30.4k|    if (PyList_CheckExact(v))
  ------------------
  |  |   26|  30.4k|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|  30.4k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  30.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  30.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 16.9k, False: 13.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2022|  16.9k|        return PyList_AsTuple(v);
 2023|       |
 2024|       |    /* Get iterator. */
 2025|  13.4k|    it = PyObject_GetIter(v);
 2026|  13.4k|    if (it == NULL)
  ------------------
  |  Branch (2026:9): [True: 0, False: 13.4k]
  ------------------
 2027|      0|        return NULL;
 2028|       |
 2029|  13.4k|    Py_ssize_t n;
 2030|  13.4k|    PyObject *buffer[8];
 2031|  68.0k|    for (n = 0; n < 8; n++) {
  ------------------
  |  Branch (2031:17): [True: 68.0k, False: 38]
  ------------------
 2032|  68.0k|        PyObject *item = PyIter_Next(it);
 2033|  68.0k|        if (item == NULL) {
  ------------------
  |  Branch (2033:13): [True: 13.4k, False: 54.5k]
  ------------------
 2034|  13.4k|            if (PyErr_Occurred()) {
  ------------------
  |  Branch (2034:17): [True: 0, False: 13.4k]
  ------------------
 2035|      0|                goto fail;
 2036|      0|            }
 2037|  13.4k|            Py_DECREF(it);
  ------------------
  |  |  430|  13.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  13.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2038|  13.4k|            return _PyTuple_FromArraySteal(buffer, n);
 2039|  13.4k|        }
 2040|  54.5k|        buffer[n] = item;
 2041|  54.5k|    }
 2042|     38|    PyListObject *list = (PyListObject *)PyList_New(16);
 2043|     38|    if (list == NULL) {
  ------------------
  |  Branch (2043:9): [True: 0, False: 38]
  ------------------
 2044|      0|        goto fail;
 2045|      0|    }
 2046|     38|    assert(n == 8);
 2047|     38|    Py_SET_SIZE(list, n);
  ------------------
  |  |  216|     38|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|     38|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     38|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2048|    342|    for (Py_ssize_t j = 0; j < n; j++) {
  ------------------
  |  Branch (2048:28): [True: 304, False: 38]
  ------------------
 2049|    304|        PyList_SET_ITEM(list, j, buffer[j]);
  ------------------
  |  |   50|    304|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    304|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    304|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    304|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    304|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2050|    304|    }
 2051|    308|    for (;;) {
 2052|    308|        PyObject *item = PyIter_Next(it);
 2053|    308|        if (item == NULL) {
  ------------------
  |  Branch (2053:13): [True: 38, False: 270]
  ------------------
 2054|     38|            if (PyErr_Occurred()) {
  ------------------
  |  Branch (2054:17): [True: 0, False: 38]
  ------------------
 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|     38|            break;
 2060|     38|        }
 2061|    270|        if (_PyList_AppendTakeRef(list, item) < 0) {
  ------------------
  |  Branch (2061:13): [True: 0, False: 270]
  ------------------
 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|    270|    }
 2067|     38|    Py_DECREF(it);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2068|     38|    PyObject *res = _PyList_AsTupleAndClear(list);
 2069|     38|    Py_DECREF(list);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2070|     38|    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|     38|}
PySequence_List:
 2082|  2.02M|{
 2083|  2.02M|    PyObject *result;  /* result list */
 2084|  2.02M|    PyObject *rv;          /* return value from PyList_Extend */
 2085|       |
 2086|  2.02M|    if (v == NULL) {
  ------------------
  |  Branch (2086:9): [True: 0, False: 2.02M]
  ------------------
 2087|      0|        return null_error();
 2088|      0|    }
 2089|       |
 2090|  2.02M|    result = PyList_New(0);
 2091|  2.02M|    if (result == NULL)
  ------------------
  |  Branch (2091:9): [True: 0, False: 2.02M]
  ------------------
 2092|      0|        return NULL;
 2093|       |
 2094|  2.02M|    rv = _PyList_Extend((PyListObject *)result, v);
 2095|  2.02M|    if (rv == NULL) {
  ------------------
  |  Branch (2095:9): [True: 0, False: 2.02M]
  ------------------
 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|  2.02M|    Py_DECREF(rv);
  ------------------
  |  |  430|  2.02M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.02M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.02M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2100|  2.02M|    return result;
 2101|  2.02M|}
PySequence_Fast:
 2105|  2.33M|{
 2106|  2.33M|    PyObject *it;
 2107|       |
 2108|  2.33M|    if (v == NULL) {
  ------------------
  |  Branch (2108:9): [True: 0, False: 2.33M]
  ------------------
 2109|      0|        return null_error();
 2110|      0|    }
 2111|       |
 2112|  2.33M|    if (PyList_CheckExact(v) || PyTuple_CheckExact(v)) {
  ------------------
  |  |   26|  2.33M|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|  4.67M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.33M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.33M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 220k, False: 2.11M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyList_CheckExact(v) || PyTuple_CheckExact(v)) {
  ------------------
  |  |   28|  2.11M|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  2.11M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.11M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.11M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 2.10M, False: 12.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2113|  2.32M|        return Py_NewRef(v);
  ------------------
  |  |  550|  2.32M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.32M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.32M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2114|  2.32M|    }
 2115|       |
 2116|  12.5k|    it = PyObject_GetIter(v);
 2117|  12.5k|    if (it == NULL) {
  ------------------
  |  Branch (2117:9): [True: 0, False: 12.5k]
  ------------------
 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|  12.5k|    v = PySequence_List(it);
 2126|  12.5k|    Py_DECREF(it);
  ------------------
  |  |  430|  12.5k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2127|       |
 2128|  12.5k|    return v;
 2129|  12.5k|}
_PySequence_IterSearch:
 2139|    106|{
 2140|    106|    Py_ssize_t n;
 2141|    106|    int wrapped;  /* for PY_ITERSEARCH_INDEX, true iff n wrapped around */
 2142|    106|    PyObject *it;  /* iter(seq) */
 2143|       |
 2144|    106|    if (seq == NULL || obj == NULL) {
  ------------------
  |  Branch (2144:9): [True: 0, False: 106]
  |  Branch (2144:24): [True: 0, False: 106]
  ------------------
 2145|      0|        null_error();
 2146|      0|        return -1;
 2147|      0|    }
 2148|       |
 2149|    106|    it = PyObject_GetIter(seq);
 2150|    106|    if (it == NULL) {
  ------------------
  |  Branch (2150:9): [True: 0, False: 106]
  ------------------
 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|    106|    n = wrapped = 0;
 2166|    116|    for (;;) {
 2167|    116|        int cmp;
 2168|    116|        PyObject *item = PyIter_Next(it);
 2169|    116|        if (item == NULL) {
  ------------------
  |  Branch (2169:13): [True: 4, False: 112]
  ------------------
 2170|      4|            if (PyErr_Occurred())
  ------------------
  |  Branch (2170:17): [True: 0, False: 4]
  ------------------
 2171|      0|                goto Fail;
 2172|      4|            break;
 2173|      4|        }
 2174|       |
 2175|    112|        cmp = PyObject_RichCompareBool(item, obj, Py_EQ);
  ------------------
  |  |  654|    112|#define Py_EQ 2
  ------------------
 2176|    112|        Py_DECREF(item);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2177|    112|        if (cmp < 0)
  ------------------
  |  Branch (2177:13): [True: 0, False: 112]
  ------------------
 2178|      0|            goto Fail;
 2179|    112|        if (cmp > 0) {
  ------------------
  |  Branch (2179:13): [True: 102, False: 10]
  ------------------
 2180|    102|            switch (operation) {
 2181|      0|            case PY_ITERSEARCH_COUNT:
  ------------------
  |  |   27|      0|#define PY_ITERSEARCH_COUNT    1
  ------------------
  |  Branch (2181:13): [True: 0, False: 102]
  ------------------
 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|    102|            case PY_ITERSEARCH_INDEX:
  ------------------
  |  |   28|    102|#define PY_ITERSEARCH_INDEX    2
  ------------------
  |  Branch (2190:13): [True: 102, False: 0]
  ------------------
 2191|    102|                if (wrapped) {
  ------------------
  |  Branch (2191:21): [True: 0, False: 102]
  ------------------
 2192|      0|                    PyErr_SetString(PyExc_OverflowError,
 2193|      0|                           "index exceeds C integer size");
 2194|      0|                    goto Fail;
 2195|      0|                }
 2196|    102|                goto Done;
 2197|       |
 2198|    102|            case PY_ITERSEARCH_CONTAINS:
  ------------------
  |  |   29|      0|#define PY_ITERSEARCH_CONTAINS 3
  ------------------
  |  Branch (2198:13): [True: 0, False: 102]
  ------------------
 2199|      0|                n = 1;
 2200|      0|                goto Done;
 2201|       |
 2202|      0|            default:
  ------------------
  |  Branch (2202:13): [True: 0, False: 102]
  ------------------
 2203|      0|                Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 2204|    102|            }
 2205|    102|        }
 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|    106|Done:
 2224|    106|    Py_DECREF(it);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2225|    106|    return n;
 2226|       |
 2227|      0|}
PySequence_Contains:
 2241|   168k|{
 2242|   168k|    PySequenceMethods *sqm = Py_TYPE(seq)->tp_as_sequence;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2243|   168k|    if (sqm != NULL && sqm->sq_contains != NULL) {
  ------------------
  |  Branch (2243:9): [True: 168k, False: 0]
  |  Branch (2243:24): [True: 168k, False: 4]
  ------------------
 2244|   168k|        int res = (*sqm->sq_contains)(seq, ob);
 2245|   168k|        assert(_Py_CheckSlotResult(seq, "__contains__", res >= 0));
 2246|   168k|        return res;
 2247|   168k|    }
 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|   168k|}
PySequence_Index:
 2262|    102|{
 2263|    102|    return _PySequence_IterSearch(s, o, PY_ITERSEARCH_INDEX);
  ------------------
  |  |   28|    102|#define PY_ITERSEARCH_INDEX    2
  ------------------
 2264|    102|}
PyMapping_Check:
 2270|  35.6k|{
 2271|  35.6k|    return o && Py_TYPE(o)->tp_as_mapping &&
  ------------------
  |  |  213|  35.6k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  35.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  35.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2271:12): [True: 35.6k, False: 0]
  |  Branch (2271:17): [True: 35.1k, False: 512]
  ------------------
 2272|  35.1k|        Py_TYPE(o)->tp_as_mapping->mp_subscript;
  ------------------
  |  |  213|  35.1k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  35.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  35.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2272:9): [True: 35.1k, False: 0]
  ------------------
 2273|  35.6k|}
PyMapping_Size:
 2277|  12.6k|{
 2278|  12.6k|    if (o == NULL) {
  ------------------
  |  Branch (2278:9): [True: 0, False: 12.6k]
  ------------------
 2279|      0|        null_error();
 2280|      0|        return -1;
 2281|      0|    }
 2282|       |
 2283|  12.6k|    PyMappingMethods *m = Py_TYPE(o)->tp_as_mapping;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2284|  12.6k|    if (m && m->mp_length) {
  ------------------
  |  Branch (2284:9): [True: 12.6k, False: 0]
  |  Branch (2284:14): [True: 12.6k, False: 0]
  ------------------
 2285|  12.6k|        Py_ssize_t len = m->mp_length(o);
 2286|  12.6k|        assert(_Py_CheckSlotResult(o, "__len__", len >= 0));
 2287|  12.6k|        return len;
 2288|  12.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_GetOptionalItemString:
 2326|  10.7k|{
 2327|  10.7k|    if (key == NULL) {
  ------------------
  |  Branch (2327:9): [True: 0, False: 10.7k]
  ------------------
 2328|      0|        *result = NULL;
 2329|      0|        null_error();
 2330|      0|        return -1;
 2331|      0|    }
 2332|  10.7k|    PyObject *okey = PyUnicode_FromString(key);
 2333|  10.7k|    if (okey == NULL) {
  ------------------
  |  Branch (2333:9): [True: 0, False: 10.7k]
  ------------------
 2334|      0|        *result = NULL;
 2335|      0|        return -1;
 2336|      0|    }
 2337|  10.7k|    int rc = PyMapping_GetOptionalItem(obj, okey, result);
 2338|  10.7k|    Py_DECREF(okey);
  ------------------
  |  |  430|  10.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2339|  10.7k|    return rc;
 2340|  10.7k|}
PyMapping_SetItemString:
 2344|     88|{
 2345|     88|    PyObject *okey;
 2346|     88|    int r;
 2347|       |
 2348|     88|    if (key == NULL) {
  ------------------
  |  Branch (2348:9): [True: 0, False: 88]
  ------------------
 2349|      0|        null_error();
 2350|      0|        return -1;
 2351|      0|    }
 2352|       |
 2353|     88|    okey = PyUnicode_FromString(key);
 2354|     88|    if (okey == NULL)
  ------------------
  |  Branch (2354:9): [True: 0, False: 88]
  ------------------
 2355|      0|        return -1;
 2356|     88|    r = PyObject_SetItem(o, okey, value);
 2357|     88|    Py_DECREF(okey);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2358|     88|    return r;
 2359|     88|}
PyMapping_Keys:
 2461|    192|{
 2462|    192|    if (o == NULL) {
  ------------------
  |  Branch (2462:9): [True: 0, False: 192]
  ------------------
 2463|      0|        return null_error();
 2464|      0|    }
 2465|    192|    if (PyDict_CheckExact(o)) {
  ------------------
  |  |   19|    192|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|    192|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    192|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    192|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 38, False: 154]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2466|     38|        return PyDict_Keys(o);
 2467|     38|    }
 2468|    154|    return method_output_as_list(o, &_Py_ID(keys));
  ------------------
  |  |  915|    154|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    154|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    154|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2469|    192|}
PyMapping_Items:
 2473|    268|{
 2474|    268|    if (o == NULL) {
  ------------------
  |  Branch (2474:9): [True: 0, False: 268]
  ------------------
 2475|      0|        return null_error();
 2476|      0|    }
 2477|    268|    if (PyDict_CheckExact(o)) {
  ------------------
  |  |   19|    268|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|    268|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    268|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    268|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 268]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2478|      0|        return PyDict_Items(o);
 2479|      0|    }
 2480|    268|    return method_output_as_list(o, &_Py_ID(items));
  ------------------
  |  |  915|    268|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    268|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    268|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2481|    268|}
PyObject_IsInstance:
 2705|  1.87M|{
 2706|  1.87M|    PyThreadState *tstate = _PyThreadState_GET();
 2707|  1.87M|    return object_recursive_isinstance(tstate, inst, cls);
 2708|  1.87M|}
PyObject_IsSubclass:
 2793|   270k|{
 2794|   270k|    PyThreadState *tstate = _PyThreadState_GET();
 2795|   270k|    return object_issubclass(tstate, derived, cls);
 2796|   270k|}
_PyObject_RealIsInstance:
 2801|    264|{
 2802|    264|    return object_isinstance(inst, cls);
 2803|    264|}
_PyObject_RealIsSubclass:
 2807|  14.9k|{
 2808|  14.9k|    return recursive_issubclass(derived, cls);
 2809|  14.9k|}
PyObject_GetIter:
 2814|   613k|{
 2815|   613k|    PyTypeObject *t = Py_TYPE(o);
  ------------------
  |  |  213|   613k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   613k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   613k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2816|   613k|    getiterfunc f;
 2817|       |
 2818|   613k|    f = t->tp_iter;
 2819|   613k|    if (f == NULL) {
  ------------------
  |  Branch (2819:9): [True: 702, False: 612k]
  ------------------
 2820|    702|        if (PySequence_Check(o))
  ------------------
  |  Branch (2820:13): [True: 702, False: 0]
  ------------------
 2821|    702|            return PySeqIter_New(o);
 2822|      0|        return type_error("'%.200s' object is not iterable", o);
 2823|    702|    }
 2824|   612k|    else {
 2825|   612k|        PyObject *res = (*f)(o);
 2826|   612k|        if (res != NULL && !PyIter_Check(res)) {
  ------------------
  |  Branch (2826:13): [True: 612k, False: 0]
  |  Branch (2826:28): [True: 0, False: 612k]
  ------------------
 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|   612k|        return res;
 2833|   612k|    }
 2834|   613k|}
PyIter_Check:
 2857|   634k|{
 2858|   634k|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|   634k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   634k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   634k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2859|   634k|    return (tp->tp_iternext != NULL &&
  ------------------
  |  Branch (2859:13): [True: 634k, False: 0]
  ------------------
 2860|   634k|            tp->tp_iternext != &_PyObject_NextNotImplemented);
  ------------------
  |  Branch (2860:13): [True: 634k, False: 0]
  ------------------
 2861|   634k|}
PyIter_Next:
 2924|   494k|{
 2925|   494k|    PyObject *item;
 2926|   494k|    (void)iternext(iter, &item);
 2927|   494k|    return item;
 2928|   494k|}
abstract.c:_IsCContiguous:
  502|  15.0M|{
  503|  15.0M|    Py_ssize_t sd, dim;
  504|  15.0M|    int i;
  505|       |
  506|       |    /* 1) len = product(shape) * itemsize
  507|       |       2) itemsize > 0
  508|       |       3) len = 0 <==> exists i: shape[i] = 0 */
  509|  15.0M|    if (view->len == 0) return 1;
  ------------------
  |  Branch (509:9): [True: 0, False: 15.0M]
  ------------------
  510|  15.0M|    if (view->strides == NULL) return 1; /* C-contiguous by definition */
  ------------------
  |  Branch (510:9): [True: 0, False: 15.0M]
  ------------------
  511|       |
  512|       |    /* strides != NULL implies both of these */
  513|  15.0M|    assert(view->ndim > 0);
  514|  15.0M|    assert(view->shape != NULL);
  515|       |
  516|  15.0M|    sd = view->itemsize;
  517|  30.0M|    for (i=view->ndim-1; i>=0; i--) {
  ------------------
  |  Branch (517:26): [True: 15.0M, False: 15.0M]
  ------------------
  518|  15.0M|        dim = view->shape[i];
  519|  15.0M|        if (dim > 1 && view->strides[i] != sd) {
  ------------------
  |  Branch (519:13): [True: 3.62M, False: 11.4M]
  |  Branch (519:24): [True: 0, False: 3.62M]
  ------------------
  520|      0|            return 0;
  521|      0|        }
  522|  15.0M|        sd *= dim;
  523|  15.0M|    }
  524|  15.0M|    return 1;
  525|  15.0M|}
abstract.c:binary_op:
 1012|  15.5M|{
 1013|  15.5M|    PyObject *result = BINARY_OP1(v, w, op_slot, op_name);
  ------------------
  |  |  993|  15.5M|#  define BINARY_OP1(v, w, op_slot, op_name) binary_op1(v, w, op_slot)
  ------------------
 1014|  15.5M|    if (result == Py_NotImplemented) {
  ------------------
  |  |  640|  15.5M|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1014:9): [True: 0, False: 15.5M]
  ------------------
 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|  15.5M|    return result;
 1019|  15.5M|}
abstract.c:binary_op1:
  945|  23.4M|{
  946|  23.4M|    binaryfunc slotv;
  947|  23.4M|    if (Py_TYPE(v)->tp_as_number != NULL) {
  ------------------
  |  |  213|  23.4M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  23.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  23.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (947:9): [True: 23.3M, False: 91.2k]
  ------------------
  948|  23.3M|        slotv = NB_BINOP(Py_TYPE(v)->tp_as_number, op_slot);
  ------------------
  |  |  925|  23.3M|        (*(binaryfunc*)(& ((char*)nb_methods)[slot]))
  ------------------
  949|  23.3M|    }
  950|  91.2k|    else {
  951|  91.2k|        slotv = NULL;
  952|  91.2k|    }
  953|       |
  954|  23.4M|    binaryfunc slotw;
  955|  23.4M|    if (!Py_IS_TYPE(w, Py_TYPE(v)) && Py_TYPE(w)->tp_as_number != NULL) {
  ------------------
  |  |  215|  46.9M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  23.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  23.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (!Py_IS_TYPE(w, Py_TYPE(v)) && Py_TYPE(w)->tp_as_number != NULL) {
  ------------------
  |  |  213|  7.69M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  7.69M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.69M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (955:9): [True: 7.69M, False: 15.7M]
  |  Branch (955:39): [True: 7.69M, False: 2]
  ------------------
  956|  7.69M|        slotw = NB_BINOP(Py_TYPE(w)->tp_as_number, op_slot);
  ------------------
  |  |  925|  7.69M|        (*(binaryfunc*)(& ((char*)nb_methods)[slot]))
  ------------------
  957|  7.69M|        if (slotw == slotv) {
  ------------------
  |  Branch (957:13): [True: 7.66M, False: 25.2k]
  ------------------
  958|  7.66M|            slotw = NULL;
  959|  7.66M|        }
  960|  7.69M|    }
  961|  15.7M|    else {
  962|  15.7M|        slotw = NULL;
  963|  15.7M|    }
  964|       |
  965|  23.4M|    if (slotv) {
  ------------------
  |  Branch (965:9): [True: 15.8M, False: 7.61M]
  ------------------
  966|  15.8M|        PyObject *x;
  967|  15.8M|        if (slotw && PyType_IsSubtype(Py_TYPE(w), Py_TYPE(v))) {
  ------------------
  |  |  213|  24.8k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  24.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (slotw && PyType_IsSubtype(Py_TYPE(w), Py_TYPE(v))) {
  ------------------
  |  |  213|  24.8k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  24.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (967:13): [True: 24.8k, False: 15.8M]
  |  Branch (967:22): [True: 98, False: 24.7k]
  ------------------
  968|     98|            x = slotw(v, w);
  969|     98|            if (x != Py_NotImplemented)
  ------------------
  |  |  640|     98|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (969:17): [True: 98, False: 0]
  ------------------
  970|     98|                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|  15.8M|        x = slotv(v, w);
  975|  15.8M|        assert(_Py_CheckSlotResult(v, op_name, x != NULL));
  976|  15.8M|        if (x != Py_NotImplemented) {
  ------------------
  |  |  640|  15.8M|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (976:13): [True: 15.8M, False: 12.3k]
  ------------------
  977|  15.8M|            return x;
  978|  15.8M|        }
  979|  12.3k|        Py_DECREF(x); /* can't do it */
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  980|  12.3k|    }
  981|  7.62M|    if (slotw) {
  ------------------
  |  Branch (981:9): [True: 12.5k, False: 7.61M]
  ------------------
  982|  12.5k|        PyObject *x = slotw(v, w);
  983|  12.5k|        assert(_Py_CheckSlotResult(w, op_name, x != NULL));
  984|  12.5k|        if (x != Py_NotImplemented) {
  ------------------
  |  |  640|  12.5k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (984:13): [True: 12.3k, False: 130]
  ------------------
  985|  12.3k|            return x;
  986|  12.3k|        }
  987|    130|        Py_DECREF(x); /* can't do it */
  ------------------
  |  |  430|    130|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    130|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    130|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  988|    130|    }
  989|  7.61M|    Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|  7.61M|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|  7.61M|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
  990|  7.62M|}
abstract.c:sequence_repeat:
 1158|    132|{
 1159|    132|    Py_ssize_t count;
 1160|    132|    if (_PyIndex_Check(n)) {
  ------------------
  |  Branch (1160:9): [True: 132, False: 0]
  ------------------
 1161|    132|        count = PyNumber_AsSsize_t(n, PyExc_OverflowError);
 1162|    132|        if (count == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1162:13): [True: 0, False: 132]
  |  Branch (1162:28): [True: 0, False: 0]
  ------------------
 1163|      0|            return NULL;
 1164|      0|        }
 1165|    132|    }
 1166|      0|    else {
 1167|      0|        return type_error("can't multiply sequence by "
 1168|      0|                          "non-int of type '%.200s'", n);
 1169|      0|    }
 1170|    132|    PyObject *res = (*repeatfunc)(seq, count);
 1171|       |    assert(_Py_CheckSlotResult(seq, "*", res != NULL));
 1172|    132|    return res;
 1173|    132|}
abstract.c:ternary_op:
 1036|  1.97M|{
 1037|  1.97M|    PyNumberMethods *mv = Py_TYPE(v)->tp_as_number;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1038|  1.97M|    PyNumberMethods *mw = Py_TYPE(w)->tp_as_number;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1039|       |
 1040|  1.97M|    ternaryfunc slotv;
 1041|  1.97M|    if (mv != NULL) {
  ------------------
  |  Branch (1041:9): [True: 1.97M, False: 0]
  ------------------
 1042|  1.97M|        slotv = NB_TERNOP(mv, op_slot);
  ------------------
  |  |  927|  1.97M|        (*(ternaryfunc*)(& ((char*)nb_methods)[slot]))
  ------------------
 1043|  1.97M|    }
 1044|      0|    else {
 1045|      0|        slotv = NULL;
 1046|      0|    }
 1047|       |
 1048|  1.97M|    ternaryfunc slotw;
 1049|  1.97M|    if (!Py_IS_TYPE(w, Py_TYPE(v)) && mw != NULL) {
  ------------------
  |  |  215|  3.94M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  1.97M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.97M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1049:9): [True: 24, False: 1.97M]
  |  Branch (1049:39): [True: 24, False: 0]
  ------------------
 1050|     24|        slotw = NB_TERNOP(mw, op_slot);
  ------------------
  |  |  927|     24|        (*(ternaryfunc*)(& ((char*)nb_methods)[slot]))
  ------------------
 1051|     24|        if (slotw == slotv) {
  ------------------
  |  Branch (1051:13): [True: 0, False: 24]
  ------------------
 1052|      0|            slotw = NULL;
 1053|      0|        }
 1054|     24|    }
 1055|  1.97M|    else {
 1056|  1.97M|        slotw = NULL;
 1057|  1.97M|    }
 1058|       |
 1059|  1.97M|    if (slotv) {
  ------------------
  |  Branch (1059:9): [True: 1.97M, False: 0]
  ------------------
 1060|  1.97M|        PyObject *x;
 1061|  1.97M|        if (slotw && PyType_IsSubtype(Py_TYPE(w), Py_TYPE(v))) {
  ------------------
  |  |  213|     24|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (slotw && PyType_IsSubtype(Py_TYPE(w), Py_TYPE(v))) {
  ------------------
  |  |  213|     24|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1061:13): [True: 24, False: 1.97M]
  |  Branch (1061:22): [True: 0, False: 24]
  ------------------
 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.97M|        x = slotv(v, w, z);
 1070|  1.97M|        assert(_Py_CheckSlotResult(v, op_name, x != NULL));
 1071|  1.97M|        if (x != Py_NotImplemented) {
  ------------------
  |  |  640|  1.97M|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1071:13): [True: 1.97M, False: 0]
  ------------------
 1072|  1.97M|            return x;
 1073|  1.97M|        }
 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|  81.4k|{
 1263|  81.4k|    PyObject *result = BINARY_IOP1(v, w, iop_slot, op_slot, op_name);
  ------------------
  |  | 1254|  81.4k|#  define BINARY_IOP1(v, w, iop_slot, op_slot, op_name) binary_iop1(v, w, iop_slot, op_slot)
  ------------------
 1264|  81.4k|    if (result == Py_NotImplemented) {
  ------------------
  |  |  640|  81.4k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1264:9): [True: 0, False: 81.4k]
  ------------------
 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|  81.4k|    return result;
 1269|  81.4k|}
abstract.c:binary_iop1:
 1233|  7.68M|{
 1234|  7.68M|    PyNumberMethods *mv = Py_TYPE(v)->tp_as_number;
  ------------------
  |  |  213|  7.68M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  7.68M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.68M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1235|  7.68M|    if (mv != NULL) {
  ------------------
  |  Branch (1235:9): [True: 7.60M, False: 82.7k]
  ------------------
 1236|  7.60M|        binaryfunc slot = NB_BINOP(mv, iop_slot);
  ------------------
  |  |  925|  7.60M|        (*(binaryfunc*)(& ((char*)nb_methods)[slot]))
  ------------------
 1237|  7.60M|        if (slot) {
  ------------------
  |  Branch (1237:13): [True: 20.6k, False: 7.58M]
  ------------------
 1238|  20.6k|            PyObject *x = (slot)(v, w);
 1239|  20.6k|            assert(_Py_CheckSlotResult(v, op_name, x != NULL));
 1240|  20.6k|            if (x != Py_NotImplemented) {
  ------------------
  |  |  640|  20.6k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1240:17): [True: 20.6k, False: 0]
  ------------------
 1241|  20.6k|                return x;
 1242|  20.6k|            }
 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|  7.60M|    }
 1246|  7.66M|#ifdef NDEBUG
 1247|  7.66M|    return binary_op1(v, w, op_slot);
 1248|       |#else
 1249|       |    return binary_op1(v, w, op_slot, op_name);
 1250|       |#endif
 1251|  7.68M|}
abstract.c:method_output_as_list:
 2434|    422|{
 2435|    422|    PyObject *it, *result, *meth_output;
 2436|       |
 2437|    422|    assert(o != NULL);
 2438|    422|    meth_output = PyObject_CallMethodNoArgs(o, meth);
 2439|    422|    if (meth_output == NULL || PyList_CheckExact(meth_output)) {
  ------------------
  |  |   26|    422|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_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: 4, False: 418]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2439:9): [True: 0, False: 422]
  ------------------
 2440|      4|        return meth_output;
 2441|      4|    }
 2442|    418|    it = PyObject_GetIter(meth_output);
 2443|    418|    if (it == NULL) {
  ------------------
  |  Branch (2443:9): [True: 0, False: 418]
  ------------------
 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|    418|    Py_DECREF(meth_output);
  ------------------
  |  |  430|    418|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    418|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    418|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2454|    418|    result = PySequence_List(it);
 2455|    418|    Py_DECREF(it);
  ------------------
  |  |  430|    418|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    418|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    418|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2456|    418|    return result;
 2457|    418|}
abstract.c:object_recursive_isinstance:
 2640|  2.66M|{
 2641|       |    /* Quick test for an exact match */
 2642|  2.66M|    if (Py_IS_TYPE(inst, (PyTypeObject *)cls)) {
  ------------------
  |  |  215|  2.66M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  2.66M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.66M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 733k, False: 1.93M]
  |  |  ------------------
  ------------------
 2643|   733k|        return 1;
 2644|   733k|    }
 2645|       |
 2646|       |    /* We know what type's __instancecheck__ does. */
 2647|  1.93M|    if (PyType_CheckExact(cls)) {
  ------------------
  |  |  776|  1.93M|#  define PyType_CheckExact(op) PyType_CheckExact(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.93M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.93M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (776:33): [True: 1.43M, False: 500k]
  |  |  ------------------
  ------------------
 2648|  1.43M|        return object_isinstance(inst, cls);
 2649|  1.43M|    }
 2650|       |
 2651|   500k|    if (_PyUnion_Check(cls)) {
  ------------------
  |  |   15|   500k|#define _PyUnion_Check(op) Py_IS_TYPE((op), &_PyUnion_Type)
  |  |  ------------------
  |  |  |  |  215|   500k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   500k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   500k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 500k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2652|      0|        cls = _Py_union_args(cls);
 2653|      0|    }
 2654|       |
 2655|   500k|    if (PyTuple_Check(cls)) {
  ------------------
  |  |   27|   500k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   500k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 466k, False: 33.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2656|       |        /* Not a general sequence -- that opens up the road to
 2657|       |           recursion and stack overflow. */
 2658|   466k|        if (_Py_EnterRecursiveCallTstate(tstate, " in __instancecheck__")) {
  ------------------
  |  Branch (2658:13): [True: 0, False: 466k]
  ------------------
 2659|      0|            return -1;
 2660|      0|        }
 2661|   466k|        Py_ssize_t n = PyTuple_GET_SIZE(cls);
  ------------------
  |  |   27|   466k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   466k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   466k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2662|   466k|        int r = 0;
 2663|  1.07M|        for (Py_ssize_t i = 0; i < n; ++i) {
  ------------------
  |  Branch (2663:32): [True: 793k, False: 285k]
  ------------------
 2664|   793k|            PyObject *item = PyTuple_GET_ITEM(cls, i);
  ------------------
  |  |   29|   793k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|   793k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   793k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2665|   793k|            r = object_recursive_isinstance(tstate, inst, item);
 2666|   793k|            if (r != 0) {
  ------------------
  |  Branch (2666:17): [True: 180k, False: 612k]
  ------------------
 2667|       |                /* either found it, or got an error */
 2668|   180k|                break;
 2669|   180k|            }
 2670|   793k|        }
 2671|   466k|        _Py_LeaveRecursiveCallTstate(tstate);
 2672|   466k|        return r;
 2673|   466k|    }
 2674|       |
 2675|  33.7k|    PyObject *checker = _PyObject_LookupSpecial(cls, &_Py_ID(__instancecheck__));
  ------------------
  |  |  915|  33.7k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  33.7k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  33.7k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2676|  33.7k|    if (checker != NULL) {
  ------------------
  |  Branch (2676:9): [True: 33.7k, False: 0]
  ------------------
 2677|  33.7k|        if (_Py_EnterRecursiveCallTstate(tstate, " in __instancecheck__")) {
  ------------------
  |  Branch (2677:13): [True: 0, False: 33.7k]
  ------------------
 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|  33.7k|        PyObject *res = PyObject_CallOneArg(checker, inst);
 2683|  33.7k|        _Py_LeaveRecursiveCallTstate(tstate);
 2684|  33.7k|        Py_DECREF(checker);
  ------------------
  |  |  430|  33.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  33.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  33.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2685|       |
 2686|  33.7k|        if (res == NULL) {
  ------------------
  |  Branch (2686:13): [True: 0, False: 33.7k]
  ------------------
 2687|      0|            return -1;
 2688|      0|        }
 2689|  33.7k|        int ok = PyObject_IsTrue(res);
 2690|  33.7k|        Py_DECREF(res);
  ------------------
  |  |  430|  33.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  33.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  33.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2691|       |
 2692|  33.7k|        return ok;
 2693|  33.7k|    }
 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|  33.7k|}
abstract.c:object_issubclass:
 2733|   270k|{
 2734|   270k|    PyObject *checker;
 2735|       |
 2736|       |    /* We know what type's __subclasscheck__ does. */
 2737|   270k|    if (PyType_CheckExact(cls)) {
  ------------------
  |  |  776|   270k|#  define PyType_CheckExact(op) PyType_CheckExact(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   270k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   270k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (776:33): [True: 269k, False: 915]
  |  |  ------------------
  ------------------
 2738|       |        /* Quick test for an exact match */
 2739|   269k|        if (derived == cls)
  ------------------
  |  Branch (2739:13): [True: 247k, False: 21.7k]
  ------------------
 2740|   247k|            return 1;
 2741|  21.7k|        return recursive_issubclass(derived, cls);
 2742|   269k|    }
 2743|       |
 2744|    915|    if (_PyUnion_Check(cls)) {
  ------------------
  |  |   15|    915|#define _PyUnion_Check(op) Py_IS_TYPE((op), &_PyUnion_Type)
  |  |  ------------------
  |  |  |  |  215|    915|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    915|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    915|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 915]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2745|      0|        cls = _Py_union_args(cls);
 2746|      0|    }
 2747|       |
 2748|    915|    if (PyTuple_Check(cls)) {
  ------------------
  |  |   27|    915|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    915|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 8, False: 907]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 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|    907|    checker = _PyObject_LookupSpecial(cls, &_Py_ID(__subclasscheck__));
  ------------------
  |  |  915|    907|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    907|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    907|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2767|    907|    if (checker != NULL) {
  ------------------
  |  Branch (2767:9): [True: 907, False: 0]
  ------------------
 2768|    907|        int ok = -1;
 2769|    907|        if (_Py_EnterRecursiveCallTstate(tstate, " in __subclasscheck__")) {
  ------------------
  |  Branch (2769:13): [True: 0, False: 907]
  ------------------
 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|    907|        PyObject *res = PyObject_CallOneArg(checker, derived);
 2774|    907|        _Py_LeaveRecursiveCallTstate(tstate);
 2775|    907|        Py_DECREF(checker);
  ------------------
  |  |  430|    907|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    907|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    907|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2776|    907|        if (res != NULL) {
  ------------------
  |  Branch (2776:13): [True: 907, False: 0]
  ------------------
 2777|    907|            ok = PyObject_IsTrue(res);
 2778|    907|            Py_DECREF(res);
  ------------------
  |  |  430|    907|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    907|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    907|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2779|    907|        }
 2780|    907|        return ok;
 2781|    907|    }
 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|    907|}
abstract.c:object_isinstance:
 2604|  1.43M|{
 2605|  1.43M|    PyObject *icls;
 2606|  1.43M|    int retval;
 2607|  1.43M|    if (PyType_Check(cls)) {
  ------------------
  |  |  766|  1.43M|#  define PyType_Check(op) PyType_Check(_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 (766:28): [True: 1.43M, False: 0]
  |  |  ------------------
  ------------------
 2608|  1.43M|        retval = PyObject_TypeCheck(inst, (PyTypeObject *)cls);
  ------------------
  |  |  378|  1.43M|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  1.43M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.43M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2609|  1.43M|        if (retval == 0) {
  ------------------
  |  Branch (2609:13): [True: 1.36M, False: 64.3k]
  ------------------
 2610|  1.36M|            retval = PyObject_GetOptionalAttr(inst, &_Py_ID(__class__), &icls);
  ------------------
  |  |  915|  1.36M|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.36M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.36M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2611|  1.36M|            if (icls != NULL) {
  ------------------
  |  Branch (2611:17): [True: 1.36M, False: 0]
  ------------------
 2612|  1.36M|                if (icls != (PyObject *)(Py_TYPE(inst)) && PyType_Check(icls)) {
  ------------------
  |  |  213|  1.36M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.36M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.36M|#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: 1.36M]
  ------------------
 2613|      0|                    retval = PyType_IsSubtype(
 2614|      0|                        (PyTypeObject *)icls,
 2615|      0|                        (PyTypeObject *)cls);
 2616|      0|                }
 2617|  1.36M|                else {
 2618|  1.36M|                    retval = 0;
 2619|  1.36M|                }
 2620|  1.36M|                Py_DECREF(icls);
  ------------------
  |  |  430|  1.36M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.36M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.36M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2621|  1.36M|            }
 2622|  1.36M|        }
 2623|  1.43M|    }
 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);
  ------------------
  |  |  915|      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|  1.43M|    return retval;
 2636|  1.43M|}
abstract.c:recursive_issubclass:
 2713|  36.7k|{
 2714|  36.7k|    if (PyType_Check(cls) && PyType_Check(derived)) {
  ------------------
  |  |  766|  73.4k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  36.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  36.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 36.7k, False: 0]
  |  |  ------------------
  ------------------
                  if (PyType_Check(cls) && PyType_Check(derived)) {
  ------------------
  |  |  766|  36.7k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  36.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  36.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 36.7k, False: 0]
  |  |  ------------------
  ------------------
 2715|       |        /* Fast path (non-recursive) */
 2716|  36.7k|        return PyType_IsSubtype((PyTypeObject *)derived, (PyTypeObject *)cls);
 2717|  36.7k|    }
 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|   494k|{
 2875|   494k|    iternextfunc tp_iternext = Py_TYPE(iter)->tp_iternext;
  ------------------
  |  |  213|   494k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   494k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   494k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2876|   494k|    if ((*item = tp_iternext(iter))) {
  ------------------
  |  Branch (2876:9): [True: 349k, False: 144k]
  ------------------
 2877|   349k|        return 1;
 2878|   349k|    }
 2879|       |
 2880|   144k|    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|   144k|    if (!_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (2883:9): [True: 144k, False: 0]
  ------------------
 2884|   144k|        return 0;
 2885|   144k|    }
 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|  15.4M|{
   23|  15.4M|    return ok ? Py_True : Py_False;
  ------------------
  |  |   26|  15.4M|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|  4.20M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.20M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return ok ? Py_True : Py_False;
  ------------------
  |  |   25|  15.4M|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|  11.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (23:12): [True: 4.20M, False: 11.2M]
  ------------------
   24|  15.4M|}
boolobject.c:bool_vectorcall:
   47|  14.8k|{
   48|  14.8k|    long ok = 0;
   49|  14.8k|    if (!_PyArg_NoKwnames("bool", kwnames)) {
  ------------------
  |  |   15|  14.8k|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (15:6): [True: 14.8k, False: 0]
  |  |  |  Branch (15:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   50|      0|        return NULL;
   51|      0|    }
   52|       |
   53|  14.8k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  14.8k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
   54|  14.8k|    if (!_PyArg_CheckPositional("bool", nargs, 0, 1)) {
  ------------------
  |  |   31|  14.8k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 14.8k, False: 0]
  |  |  |  Branch (31:27): [True: 14.8k, False: 0]
  |  |  ------------------
  |  |   32|  14.8k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   55|      0|        return NULL;
   56|      0|    }
   57|       |
   58|  14.8k|    assert(PyType_Check(type));
   59|  14.8k|    if (nargs) {
  ------------------
  |  Branch (59:9): [True: 14.8k, False: 0]
  ------------------
   60|  14.8k|        ok = PyObject_IsTrue(args[0]);
   61|  14.8k|        if (ok < 0) {
  ------------------
  |  Branch (61:13): [True: 0, False: 14.8k]
  ------------------
   62|      0|            return NULL;
   63|      0|        }
   64|  14.8k|    }
   65|  14.8k|    return PyBool_FromLong(ok);
   66|  14.8k|}

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|  7.52M|{
  297|  7.52M|    int ret;
  298|  7.52M|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  7.52M|    {
  ------------------
  299|  7.52M|    ret = bytearray_resize_lock_held(self, requested_size);
  300|  7.52M|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  7.52M|    }
  ------------------
  301|  7.52M|    return ret;
  302|  7.52M|}
bytearrayobject.c:bytearray_reinit_from_bytes:
   48|  15.0M|                            Py_ssize_t alloc) {
   49|  15.0M|    self->ob_bytes = self->ob_start = PyBytes_AS_STRING(self->ob_bytes_object);
  ------------------
  |  |   27|  15.0M|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  15.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   50|  15.0M|    Py_SET_SIZE(self, size);
  ------------------
  |  |  216|  15.0M|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  15.0M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   51|  15.0M|    FT_ATOMIC_STORE_SSIZE_RELAXED(self->ob_alloc, alloc);
  ------------------
  |  |  193|  15.0M|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
   52|  15.0M|}
bytearrayobject.c:bytearray_resize_lock_held:
  213|  15.0M|{
  214|  15.0M|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(self);
  215|  15.0M|    PyByteArrayObject *obj = ((PyByteArrayObject *)self);
  216|       |    /* All computations are done unsigned to avoid integer overflows
  217|       |       (see issue #22335). */
  218|  15.0M|    size_t alloc = (size_t) obj->ob_alloc;
  219|  15.0M|    size_t logical_offset = (size_t) (obj->ob_start - obj->ob_bytes);
  220|  15.0M|    size_t size = (size_t) requested_size;
  221|       |
  222|  15.0M|    assert(self != NULL);
  223|  15.0M|    assert(PyByteArray_Check(self));
  224|  15.0M|    assert(logical_offset <= alloc);
  225|       |
  226|  15.0M|    if (requested_size < 0) {
  ------------------
  |  Branch (226:9): [True: 0, False: 15.0M]
  ------------------
  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|  15.0M|    if (requested_size == Py_SIZE(self)) {
  ------------------
  |  |  214|  15.0M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  15.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (232:9): [True: 0, False: 15.0M]
  ------------------
  233|      0|        return 0;
  234|      0|    }
  235|  15.0M|    if (!_canresize(obj)) {
  ------------------
  |  Branch (235:9): [True: 0, False: 15.0M]
  ------------------
  236|      0|        return -1;
  237|      0|    }
  238|       |
  239|  15.0M|    if (size + logical_offset <= alloc) {
  ------------------
  |  Branch (239:9): [True: 7.47M, False: 7.56M]
  ------------------
  240|       |        /* Current buffer is large enough to host the requested size,
  241|       |           decide on a strategy. */
  242|  7.47M|        if (size < alloc / 2) {
  ------------------
  |  Branch (242:13): [True: 0, False: 7.47M]
  ------------------
  243|       |            /* Major downsize; resize down to exact size */
  244|      0|            alloc = size;
  245|      0|        }
  246|  7.47M|        else {
  247|       |            /* Minor downsize; quick exit */
  248|  7.47M|            Py_SET_SIZE(self, size);
  ------------------
  |  |  216|  7.47M|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  7.47M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.47M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  249|       |            /* Add mid-buffer null; end provided by bytes. */
  250|  7.47M|            PyByteArray_AS_STRING(self)[size] = '\0'; /* Trailing null */
  ------------------
  |  |   28|  7.47M|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  7.47M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.47M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  251|  7.47M|            return 0;
  252|  7.47M|        }
  253|  7.47M|    }
  254|  7.56M|    else {
  255|       |        /* Need growing, decide on a strategy */
  256|  7.56M|        if (size <= alloc * 1.125) {
  ------------------
  |  Branch (256:13): [True: 30.1k, False: 7.53M]
  ------------------
  257|       |            /* Moderate upsize; overallocate similar to list_resize() */
  258|  30.1k|            alloc = size + (size >> 3) + (size < 9 ? 3 : 6);
  ------------------
  |  Branch (258:43): [True: 0, False: 30.1k]
  ------------------
  259|  30.1k|        }
  260|  7.53M|        else {
  261|       |            /* Major upsize; resize up to exact size */
  262|  7.53M|            alloc = size;
  263|  7.53M|        }
  264|  7.56M|    }
  265|  7.56M|    if (alloc > PyByteArray_SIZE_MAX) {
  ------------------
  |  |   21|  7.56M|#define PyByteArray_SIZE_MAX ((Py_ssize_t)(PY_SSIZE_T_MAX - _PyBytesObject_SIZE))
  |  |  ------------------
  |  |  |  |  137|  7.56M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |               #define PyByteArray_SIZE_MAX ((Py_ssize_t)(PY_SSIZE_T_MAX - _PyBytesObject_SIZE))
  |  |  ------------------
  |  |  |  |   74|  7.56M|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
  |  Branch (265:9): [True: 0, False: 7.56M]
  ------------------
  266|      0|        PyErr_NoMemory();
  267|      0|        return -1;
  268|      0|    }
  269|       |
  270|       |    /* Re-align data to the start of the allocation. */
  271|  7.56M|    if (logical_offset > 0) {
  ------------------
  |  Branch (271:9): [True: 0, False: 7.56M]
  ------------------
  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|  7.56M|    int ret = _PyBytes_Resize(&obj->ob_bytes_object, alloc);
  281|  7.56M|    if (ret == -1) {
  ------------------
  |  Branch (281:9): [True: 0, False: 7.56M]
  ------------------
  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|  7.56M|    bytearray_reinit_from_bytes(obj, size, alloc);
  286|  7.56M|    if (alloc != size) {
  ------------------
  |  Branch (286:9): [True: 30.1k, False: 7.53M]
  ------------------
  287|       |        /* Add mid-buffer null; end provided by bytes. */
  288|  30.1k|        obj->ob_bytes[size] = '\0';
  289|  30.1k|    }
  290|       |
  291|  7.56M|    return ret;
  292|  7.56M|}
bytearrayobject.c:_canresize:
  114|  15.0M|{
  115|  15.0M|    if (self->ob_exports > 0) {
  ------------------
  |  Branch (115:9): [True: 0, False: 15.0M]
  ------------------
  116|      0|        PyErr_SetString(PyExc_BufferError,
  117|      0|                "Existing exports of data: object cannot be re-sized");
  118|      0|        return 0;
  119|      0|    }
  120|  15.0M|    return 1;
  121|  15.0M|}
bytearrayobject.c:bytearray_dealloc:
 1208|  7.52M|{
 1209|  7.52M|    PyByteArrayObject *self = _PyByteArray_CAST(op);
  ------------------
  |  |   22|  7.52M|    (assert(PyByteArray_Check(op)), _Py_CAST(PyByteArrayObject*, op))
  |  |  ------------------
  |  |  |  |   37|  7.52M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1210|  7.52M|    if (self->ob_exports > 0) {
  ------------------
  |  Branch (1210:9): [True: 0, False: 7.52M]
  ------------------
 1211|      0|        PyErr_SetString(PyExc_SystemError,
 1212|      0|                        "deallocated bytearray object has exported buffers");
 1213|      0|        PyErr_Print();
 1214|      0|    }
 1215|  7.52M|    Py_XDECREF(self->ob_bytes_object);
  ------------------
  |  |  524|  7.52M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.52M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.52M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1216|  7.52M|    Py_TYPE(self)->tp_free((PyObject *)self);
  ------------------
  |  |  213|  7.52M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  7.52M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.52M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1217|  7.52M|}
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|  7.52M|{
   28|  7.52M|    int overflow;
   29|  7.52M|    long face_value = PyLong_AsLongAndOverflow(arg, &overflow);
   30|       |
   31|  7.52M|    if (face_value == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (31:9): [True: 0, False: 7.52M]
  |  Branch (31:29): [True: 0, False: 0]
  ------------------
   32|      0|        *value = -1;
   33|      0|        return 0;
   34|      0|    }
   35|  7.52M|    if (face_value < 0 || face_value >= 256) {
  ------------------
  |  Branch (35:9): [True: 0, False: 7.52M]
  |  Branch (35:27): [True: 0, False: 7.52M]
  ------------------
   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|  7.52M|    *value = face_value;
   43|  7.52M|    return 1;
   44|  7.52M|}
bytearrayobject.c:bytearray_setslice:
  638|    180|{
  639|    180|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(self);
  640|    180|    Py_ssize_t needed;
  641|    180|    void *bytes;
  642|    180|    Py_buffer vbytes;
  643|    180|    int res = 0;
  644|       |
  645|    180|    vbytes.len = -1;
  646|    180|    if (values == (PyObject *)self) {
  ------------------
  |  Branch (646:9): [True: 0, False: 180]
  ------------------
  647|       |        /* Make a copy and call this function recursively */
  648|      0|        int err;
  649|      0|        values = PyByteArray_FromStringAndSize(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  650|      0|                                               PyByteArray_GET_SIZE(values));
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  651|      0|        if (values == NULL)
  ------------------
  |  Branch (651:13): [True: 0, False: 0]
  ------------------
  652|      0|            return -1;
  653|      0|        err = bytearray_setslice(self, lo, hi, values);
  654|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  655|      0|        return err;
  656|      0|    }
  657|    180|    if (values == NULL) {
  ------------------
  |  Branch (657:9): [True: 0, False: 180]
  ------------------
  658|       |        /* del b[lo:hi] */
  659|      0|        bytes = NULL;
  660|      0|        needed = 0;
  661|      0|    }
  662|    180|    else {
  663|    180|        if (PyObject_GetBuffer(values, &vbytes, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|    180|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (663:13): [True: 0, False: 180]
  ------------------
  664|      0|            PyErr_Format(PyExc_TypeError,
  665|      0|                         "can't set bytearray slice from %.100s",
  666|      0|                         Py_TYPE(values)->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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  667|      0|            return -1;
  668|      0|        }
  669|    180|        needed = vbytes.len;
  670|    180|        bytes = vbytes.buf;
  671|    180|    }
  672|       |
  673|    180|    if (lo < 0)
  ------------------
  |  Branch (673:9): [True: 0, False: 180]
  ------------------
  674|      0|        lo = 0;
  675|    180|    if (hi < lo)
  ------------------
  |  Branch (675:9): [True: 0, False: 180]
  ------------------
  676|      0|        hi = lo;
  677|    180|    if (hi > Py_SIZE(self))
  ------------------
  |  |  214|    180|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    180|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    180|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (677:9): [True: 0, False: 180]
  ------------------
  678|      0|        hi = 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  679|       |
  680|    180|    res = bytearray_setslice_linear(self, lo, hi, bytes, needed);
  681|    180|    if (vbytes.len != -1)
  ------------------
  |  Branch (681:9): [True: 180, False: 0]
  ------------------
  682|    180|        PyBuffer_Release(&vbytes);
  683|    180|    return res;
  684|    180|}
bytearrayobject.c:bytearray_setslice_linear:
  554|    180|{
  555|    180|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(self);
  556|    180|    Py_ssize_t avail = hi - lo;
  557|    180|    char *buf = PyByteArray_AS_STRING(self);
  ------------------
  |  |   28|    180|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|    180|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    180|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  558|    180|    Py_ssize_t growth = bytes_len - avail;
  559|    180|    int res = 0;
  560|    180|    assert(avail >= 0);
  561|       |
  562|    180|    if (growth < 0) {
  ------------------
  |  Branch (562:9): [True: 0, False: 180]
  ------------------
  563|      0|        if (!_canresize(self))
  ------------------
  |  Branch (563:13): [True: 0, False: 0]
  ------------------
  564|      0|            return -1;
  565|       |
  566|      0|        if (lo == 0) {
  ------------------
  |  Branch (566:13): [True: 0, False: 0]
  ------------------
  567|       |            /* Shrink the buffer by advancing its logical start */
  568|      0|            self->ob_start -= growth;
  569|       |            /*
  570|       |              0   lo               hi             old_size
  571|       |              |   |<----avail----->|<-----tail------>|
  572|       |              |      |<-bytes_len->|<-----tail------>|
  573|       |              0    new_lo         new_hi          new_size
  574|       |            */
  575|      0|        }
  576|      0|        else {
  577|       |            /*
  578|       |              0   lo               hi               old_size
  579|       |              |   |<----avail----->|<-----tomove------>|
  580|       |              |   |<-bytes_len->|<-----tomove------>|
  581|       |              0   lo         new_hi              new_size
  582|       |            */
  583|      0|            memmove(buf + lo + bytes_len, buf + hi,
  584|      0|                    Py_SIZE(self) - hi);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  585|      0|        }
  586|      0|        if (bytearray_resize_lock_held((PyObject *)self,
  ------------------
  |  Branch (586:13): [True: 0, False: 0]
  ------------------
  587|      0|                               Py_SIZE(self) + growth) < 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  588|       |            /* Issue #19578: Handling the memory allocation failure here is
  589|       |               tricky here because the bytearray object has already been
  590|       |               modified. Depending on growth and lo, the behaviour is
  591|       |               different.
  592|       |
  593|       |               If growth < 0 and lo != 0, the operation is completed, but a
  594|       |               MemoryError is still raised and the memory block is not
  595|       |               shrunk. Otherwise, the bytearray is restored in its previous
  596|       |               state and a MemoryError is raised. */
  597|      0|            if (lo == 0) {
  ------------------
  |  Branch (597:17): [True: 0, False: 0]
  ------------------
  598|      0|                self->ob_start += growth;
  599|      0|                return -1;
  600|      0|            }
  601|       |            /* memmove() removed bytes, the bytearray object cannot be
  602|       |               restored in its previous state. */
  603|      0|            Py_SET_SIZE(self, Py_SIZE(self) + growth);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  604|      0|            res = -1;
  605|      0|        }
  606|      0|        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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  607|      0|    }
  608|    180|    else if (growth > 0) {
  ------------------
  |  Branch (608:14): [True: 180, False: 0]
  ------------------
  609|    180|        if (Py_SIZE(self) > PyByteArray_SIZE_MAX - growth) {
  ------------------
  |  |  214|    180|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    180|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    180|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (Py_SIZE(self) > PyByteArray_SIZE_MAX - growth) {
  ------------------
  |  |   21|    180|#define PyByteArray_SIZE_MAX ((Py_ssize_t)(PY_SSIZE_T_MAX - _PyBytesObject_SIZE))
  |  |  ------------------
  |  |  |  |  137|    180|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |               #define PyByteArray_SIZE_MAX ((Py_ssize_t)(PY_SSIZE_T_MAX - _PyBytesObject_SIZE))
  |  |  ------------------
  |  |  |  |   74|    180|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
  |  Branch (609:13): [True: 0, False: 180]
  ------------------
  610|      0|            PyErr_NoMemory();
  611|      0|            return -1;
  612|      0|        }
  613|       |
  614|    180|        if (bytearray_resize_lock_held((PyObject *)self,
  ------------------
  |  Branch (614:13): [True: 0, False: 180]
  ------------------
  615|    180|                               Py_SIZE(self) + growth) < 0) {
  ------------------
  |  |  214|    180|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    180|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    180|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  616|      0|            return -1;
  617|      0|        }
  618|    180|        buf = PyByteArray_AS_STRING(self);
  ------------------
  |  |   28|    180|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|    180|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    180|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  619|       |        /* Make the place for the additional bytes */
  620|       |        /*
  621|       |          0   lo        hi               old_size
  622|       |          |   |<-avail->|<-----tomove------>|
  623|       |          |   |<---bytes_len-->|<-----tomove------>|
  624|       |          0   lo            new_hi              new_size
  625|       |         */
  626|    180|        memmove(buf + lo + bytes_len, buf + hi,
  627|    180|                Py_SIZE(self) - lo - bytes_len);
  ------------------
  |  |  214|    180|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    180|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    180|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  628|    180|    }
  629|       |
  630|    180|    if (bytes_len > 0)
  ------------------
  |  Branch (630:9): [True: 180, False: 0]
  ------------------
  631|    180|        memcpy(buf + lo, bytes, bytes_len);
  632|    180|    return res;
  633|    180|}
bytearrayobject.c:bytearray_iconcat:
  380|  7.52M|{
  381|  7.52M|    PyObject *ret;
  382|  7.52M|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|  7.52M|    {
  ------------------
  383|  7.52M|    ret = bytearray_iconcat_lock_held(op, other);
  384|  7.52M|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  7.52M|    }
  ------------------
  385|  7.52M|    return ret;
  386|  7.52M|}
bytearrayobject.c:bytearray_iconcat_lock_held:
  351|  7.52M|{
  352|  7.52M|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(op);
  353|  7.52M|    PyByteArrayObject *self = _PyByteArray_CAST(op);
  ------------------
  |  |   22|  7.52M|    (assert(PyByteArray_Check(op)), _Py_CAST(PyByteArrayObject*, op))
  |  |  ------------------
  |  |  |  |   37|  7.52M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  354|       |
  355|  7.52M|    Py_buffer vo;
  356|  7.52M|    if (PyObject_GetBuffer(other, &vo, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|  7.52M|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (356:9): [True: 0, False: 7.52M]
  ------------------
  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|  7.52M|    Py_ssize_t size = Py_SIZE(self);
  ------------------
  |  |  214|  7.52M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  7.52M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.52M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  363|  7.52M|    if (size > PyByteArray_SIZE_MAX - vo.len) {
  ------------------
  |  |   21|  7.52M|#define PyByteArray_SIZE_MAX ((Py_ssize_t)(PY_SSIZE_T_MAX - _PyBytesObject_SIZE))
  |  |  ------------------
  |  |  |  |  137|  7.52M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |               #define PyByteArray_SIZE_MAX ((Py_ssize_t)(PY_SSIZE_T_MAX - _PyBytesObject_SIZE))
  |  |  ------------------
  |  |  |  |   74|  7.52M|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
  |  Branch (363:9): [True: 0, False: 7.52M]
  ------------------
  364|      0|        PyBuffer_Release(&vo);
  365|      0|        return PyErr_NoMemory();
  366|      0|    }
  367|       |
  368|  7.52M|    if (bytearray_resize_lock_held((PyObject *)self, size + vo.len) < 0) {
  ------------------
  |  Branch (368:9): [True: 0, False: 7.52M]
  ------------------
  369|      0|        PyBuffer_Release(&vo);
  370|      0|        return NULL;
  371|      0|    }
  372|       |
  373|  7.52M|    memcpy(PyByteArray_AS_STRING(self) + size, vo.buf, vo.len);
  ------------------
  |  |   28|  7.52M|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  7.52M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.52M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  374|  7.52M|    PyBuffer_Release(&vo);
  375|  7.52M|    return Py_NewRef(self);
  ------------------
  |  |  550|  7.52M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  7.52M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.52M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  376|  7.52M|}
bytearrayobject.c:bytearray_subscript:
  541|  7.52M|{
  542|  7.52M|    PyObject *ret;
  543|  7.52M|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|  7.52M|    {
  ------------------
  544|  7.52M|    ret = bytearray_subscript_lock_held(op, index);
  545|  7.52M|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  7.52M|    }
  ------------------
  546|  7.52M|    return ret;
  547|       |
  548|  7.52M|}
bytearrayobject.c:bytearray_subscript_lock_held:
  481|  7.52M|{
  482|  7.52M|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(op);
  483|  7.52M|    PyByteArrayObject *self = _PyByteArray_CAST(op);
  ------------------
  |  |   22|  7.52M|    (assert(PyByteArray_Check(op)), _Py_CAST(PyByteArrayObject*, op))
  |  |  ------------------
  |  |  |  |   37|  7.52M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  484|  7.52M|    if (_PyIndex_Check(index)) {
  ------------------
  |  Branch (484:9): [True: 7.52M, False: 672]
  ------------------
  485|  7.52M|        Py_ssize_t i = PyNumber_AsSsize_t(index, PyExc_IndexError);
  486|       |
  487|  7.52M|        if (i == -1 && PyErr_Occurred())
  ------------------
  |  Branch (487:13): [True: 0, False: 7.52M]
  |  Branch (487:24): [True: 0, False: 0]
  ------------------
  488|      0|            return NULL;
  489|       |
  490|  7.52M|        if (i < 0)
  ------------------
  |  Branch (490:13): [True: 0, False: 7.52M]
  ------------------
  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|  7.52M|        if (i < 0 || i >= Py_SIZE(self)) {
  ------------------
  |  |  214|  7.52M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  7.52M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.52M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (493:13): [True: 0, False: 7.52M]
  |  Branch (493:22): [True: 0, False: 7.52M]
  ------------------
  494|      0|            PyErr_SetString(PyExc_IndexError, "bytearray index out of range");
  495|      0|            return NULL;
  496|      0|        }
  497|  7.52M|        return _PyLong_FromUnsignedChar((unsigned char)(self->ob_start[i]));
  498|  7.52M|    }
  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|  7.52M|}
bytearrayobject.c:bytearray_ass_subscript:
  890|  7.52M|{
  891|  7.52M|    int ret;
  892|  7.52M|    if (values != NULL && PyByteArray_Check(values)) {
  ------------------
  |  |   24|  7.52M|#define PyByteArray_Check(self) PyObject_TypeCheck((self), &PyByteArray_Type)
  |  |  ------------------
  |  |  |  |  378|  7.52M|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  7.52M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  7.52M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 7.52M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (892:9): [True: 7.52M, 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|  7.52M|    else {
  898|  7.52M|        Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|  7.52M|    {
  ------------------
  899|  7.52M|        ret = bytearray_ass_subscript_lock_held(op, index, values);
  900|  7.52M|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  7.52M|    }
  ------------------
  901|  7.52M|    }
  902|  7.52M|    return ret;
  903|  7.52M|}
bytearrayobject.c:bytearray_ass_subscript_lock_held:
  729|  7.52M|{
  730|  7.52M|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(op);
  731|  7.52M|    PyByteArrayObject *self = _PyByteArray_CAST(op);
  ------------------
  |  |   22|  7.52M|    (assert(PyByteArray_Check(op)), _Py_CAST(PyByteArrayObject*, op))
  |  |  ------------------
  |  |  |  |   37|  7.52M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  732|  7.52M|    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|  7.52M|    if (_PyIndex_Check(index)) {
  ------------------
  |  Branch (737:9): [True: 7.52M, False: 0]
  ------------------
  738|  7.52M|        Py_ssize_t i = PyNumber_AsSsize_t(index, PyExc_IndexError);
  739|       |
  740|  7.52M|        if (i == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (740:13): [True: 0, False: 7.52M]
  |  Branch (740:24): [True: 0, False: 0]
  ------------------
  741|      0|            return -1;
  742|      0|        }
  743|       |
  744|  7.52M|        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|  7.52M|        if (values && !_getbytevalue(values, &ival)) {
  ------------------
  |  Branch (748:13): [True: 7.52M, False: 0]
  |  Branch (748:23): [True: 0, False: 7.52M]
  ------------------
  749|      0|            return -1;
  750|      0|        }
  751|       |
  752|  7.52M|        if (i < 0) {
  ------------------
  |  Branch (752:13): [True: 0, False: 7.52M]
  ------------------
  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|  7.52M|        if (i < 0 || i >= Py_SIZE(self)) {
  ------------------
  |  |  214|  7.52M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  7.52M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.52M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (756:13): [True: 0, False: 7.52M]
  |  Branch (756:22): [True: 6, False: 7.52M]
  ------------------
  757|      6|            PyErr_SetString(PyExc_IndexError, "bytearray index out of range");
  758|      6|            return -1;
  759|      6|        }
  760|       |
  761|  7.52M|        if (values == NULL) {
  ------------------
  |  Branch (761:13): [True: 0, False: 7.52M]
  ------------------
  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|  7.52M|        else {
  769|  7.52M|            assert(0 <= ival && ival < 256);
  770|  7.52M|            PyByteArray_AS_STRING(self)[i] = (char)ival;
  ------------------
  |  |   28|  7.52M|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  7.52M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.52M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  771|  7.52M|            return 0;
  772|  7.52M|        }
  773|  7.52M|    }
  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|  7.52M|{
   76|  7.52M|    int ret;
   77|  7.52M|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  7.52M|    {
  ------------------
   78|  7.52M|    ret = bytearray_getbuffer_lock_held(self, view, flags);
   79|  7.52M|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  7.52M|    }
  ------------------
   80|  7.52M|    return ret;
   81|  7.52M|}
bytearrayobject.c:bytearray_getbuffer_lock_held:
   56|  7.52M|{
   57|  7.52M|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(self);
   58|  7.52M|    PyByteArrayObject *obj = _PyByteArray_CAST(self);
  ------------------
  |  |   22|  7.52M|    (assert(PyByteArray_Check(op)), _Py_CAST(PyByteArrayObject*, op))
  |  |  ------------------
  |  |  |  |   37|  7.52M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   59|  7.52M|    if (view == NULL) {
  ------------------
  |  Branch (59:9): [True: 0, False: 7.52M]
  ------------------
   60|      0|        PyErr_SetString(PyExc_BufferError,
   61|      0|            "bytearray_getbuffer: view==NULL argument is obsolete");
   62|      0|        return -1;
   63|      0|    }
   64|       |
   65|  7.52M|    void *ptr = (void *) PyByteArray_AS_STRING(obj);
  ------------------
  |  |   28|  7.52M|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  7.52M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.52M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   66|  7.52M|    if (PyBuffer_FillInfo(view, (PyObject*)obj, ptr, Py_SIZE(obj), 0, flags) < 0) {
  ------------------
  |  |  214|  7.52M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  7.52M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.52M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (66:9): [True: 0, False: 7.52M]
  ------------------
   67|      0|        return -1;
   68|      0|    }
   69|  7.52M|    obj->ob_exports++;
   70|  7.52M|    return 0;
   71|  7.52M|}
bytearrayobject.c:bytearray_releasebuffer:
   85|  7.52M|{
   86|  7.52M|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  7.52M|    {
  ------------------
   87|  7.52M|    PyByteArrayObject *obj = _PyByteArray_CAST(self);
  ------------------
  |  |   22|  7.52M|    (assert(PyByteArray_Check(op)), _Py_CAST(PyByteArrayObject*, op))
  |  |  ------------------
  |  |  |  |   37|  7.52M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   88|  7.52M|    obj->ob_exports--;
   89|  7.52M|    assert(obj->ob_exports >= 0);
   90|  7.52M|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  7.52M|    }
  ------------------
   91|  7.52M|}
bytearrayobject.c:bytearray_append_impl:
 2121|  2.16k|{
 2122|  2.16k|    Py_ssize_t n = Py_SIZE(self);
  ------------------
  |  |  214|  2.16k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.16k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.16k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2123|       |
 2124|  2.16k|    if (bytearray_resize_lock_held((PyObject *)self, n + 1) < 0)
  ------------------
  |  Branch (2124:9): [True: 0, False: 2.16k]
  ------------------
 2125|      0|        return NULL;
 2126|       |
 2127|  2.16k|    PyByteArray_AS_STRING(self)[n] = item;
  ------------------
  |  |   28|  2.16k|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  2.16k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.16k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2128|       |
 2129|  2.16k|    Py_RETURN_NONE;
  ------------------
  |  |  628|  2.16k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  2.16k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 2130|  2.16k|}
bytearrayobject.c:_bytearray_with_buffer:
  100|  1.05k|{
  101|  1.05k|    PyObject *res;
  102|       |
  103|  1.05k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(self);
  104|       |
  105|       |    /* Increase exports to prevent bytearray storage from changing during op. */
  106|  1.05k|    self->ob_exports++;
  107|  1.05k|    res = op(PyByteArray_AS_STRING(self), Py_SIZE(self), sub, start, end);
  ------------------
  |  |   28|  1.05k|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  1.05k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.05k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  res = op(PyByteArray_AS_STRING(self), Py_SIZE(self), sub, start, end);
  ------------------
  |  |  214|  1.05k|#  define Py_SIZE(ob) _Py_SIZE_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  108|  1.05k|    self->ob_exports--;
  109|  1.05k|    return res;
  110|  1.05k|}
bytearrayobject.c:bytearray_extend_impl:
 2177|    180|{
 2178|    180|    PyObject *it, *item, *bytearray_obj;
 2179|    180|    Py_ssize_t buf_size = 0, len = 0;
 2180|    180|    int value;
 2181|    180|    char *buf;
 2182|       |
 2183|       |    /* bytearray_setslice code only accepts something supporting PEP 3118. */
 2184|    180|    if (PyObject_CheckBuffer(iterable_of_ints)) {
  ------------------
  |  Branch (2184:9): [True: 180, False: 0]
  ------------------
 2185|    180|        if (bytearray_setslice(self, Py_SIZE(self), Py_SIZE(self), iterable_of_ints) == -1)
  ------------------
  |  |  214|    180|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    180|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    180|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (bytearray_setslice(self, Py_SIZE(self), Py_SIZE(self), iterable_of_ints) == -1)
  ------------------
  |  |  214|    180|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    180|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    180|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2185:13): [True: 0, False: 180]
  ------------------
 2186|      0|            return NULL;
 2187|       |
 2188|    180|        Py_RETURN_NONE;
  ------------------
  |  |  628|    180|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    180|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 2189|    180|    }
 2190|       |
 2191|      0|    it = PyObject_GetIter(iterable_of_ints);
 2192|      0|    if (it == NULL) {
  ------------------
  |  Branch (2192:9): [True: 0, False: 0]
  ------------------
 2193|      0|        if (PyErr_ExceptionMatches(PyExc_TypeError)) {
  ------------------
  |  Branch (2193:13): [True: 0, False: 0]
  ------------------
 2194|      0|            PyErr_Format(PyExc_TypeError,
 2195|      0|                         "can't extend bytearray with %.100s",
 2196|      0|                         Py_TYPE(iterable_of_ints)->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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2197|      0|        }
 2198|      0|        return NULL;
 2199|      0|    }
 2200|       |
 2201|       |    /* Try to determine the length of the argument. 32 is arbitrary. */
 2202|      0|    buf_size = PyObject_LengthHint(iterable_of_ints, 32);
 2203|      0|    if (buf_size == -1) {
  ------------------
  |  Branch (2203:9): [True: 0, False: 0]
  ------------------
 2204|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2205|      0|        return NULL;
 2206|      0|    }
 2207|       |
 2208|      0|    bytearray_obj = PyByteArray_FromStringAndSize(NULL, buf_size);
 2209|      0|    if (bytearray_obj == NULL) {
  ------------------
  |  Branch (2209:9): [True: 0, False: 0]
  ------------------
 2210|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2211|      0|        return NULL;
 2212|      0|    }
 2213|      0|    buf = PyByteArray_AS_STRING(bytearray_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2214|       |
 2215|      0|    while ((item = PyIter_Next(it)) != NULL) {
  ------------------
  |  Branch (2215:12): [True: 0, False: 0]
  ------------------
 2216|      0|        if (! _getbytevalue(item, &value)) {
  ------------------
  |  Branch (2216:13): [True: 0, False: 0]
  ------------------
 2217|      0|            if (PyErr_ExceptionMatches(PyExc_TypeError) && PyUnicode_Check(iterable_of_ints)) {
  ------------------
  |  |  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 (2217:17): [True: 0, False: 0]
  ------------------
 2218|      0|                PyErr_Format(PyExc_TypeError,
 2219|      0|                             "expected iterable of integers; got: 'str'");
 2220|      0|            }
 2221|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2222|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2223|      0|            Py_DECREF(bytearray_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2224|      0|            return NULL;
 2225|      0|        }
 2226|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2227|       |
 2228|      0|        if (len >= buf_size) {
  ------------------
  |  Branch (2228:13): [True: 0, False: 0]
  ------------------
 2229|      0|            Py_ssize_t addition;
 2230|      0|            if (len == PyByteArray_SIZE_MAX) {
  ------------------
  |  |   21|      0|#define PyByteArray_SIZE_MAX ((Py_ssize_t)(PY_SSIZE_T_MAX - _PyBytesObject_SIZE))
  |  |  ------------------
  |  |  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |               #define PyByteArray_SIZE_MAX ((Py_ssize_t)(PY_SSIZE_T_MAX - _PyBytesObject_SIZE))
  |  |  ------------------
  |  |  |  |   74|      0|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
  |  Branch (2230:17): [True: 0, False: 0]
  ------------------
 2231|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2232|      0|                Py_DECREF(bytearray_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2233|      0|                return PyErr_NoMemory();
 2234|      0|            }
 2235|      0|            addition = len ? len >> 1 : 1;
  ------------------
  |  Branch (2235:24): [True: 0, False: 0]
  ------------------
 2236|      0|            if (addition > PyByteArray_SIZE_MAX - len)
  ------------------
  |  |   21|      0|#define PyByteArray_SIZE_MAX ((Py_ssize_t)(PY_SSIZE_T_MAX - _PyBytesObject_SIZE))
  |  |  ------------------
  |  |  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |               #define PyByteArray_SIZE_MAX ((Py_ssize_t)(PY_SSIZE_T_MAX - _PyBytesObject_SIZE))
  |  |  ------------------
  |  |  |  |   74|      0|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
  |  Branch (2236:17): [True: 0, False: 0]
  ------------------
 2237|      0|                buf_size = PyByteArray_SIZE_MAX;
  ------------------
  |  |   21|      0|#define PyByteArray_SIZE_MAX ((Py_ssize_t)(PY_SSIZE_T_MAX - _PyBytesObject_SIZE))
  |  |  ------------------
  |  |  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |               #define PyByteArray_SIZE_MAX ((Py_ssize_t)(PY_SSIZE_T_MAX - _PyBytesObject_SIZE))
  |  |  ------------------
  |  |  |  |   74|      0|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
 2238|      0|            else
 2239|      0|                buf_size = len + addition;
 2240|      0|            if (bytearray_resize_lock_held((PyObject *)bytearray_obj, buf_size) < 0) {
  ------------------
  |  Branch (2240:17): [True: 0, False: 0]
  ------------------
 2241|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2242|      0|                Py_DECREF(bytearray_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2243|      0|                return NULL;
 2244|      0|            }
 2245|       |            /* Recompute the `buf' pointer, since the resizing operation may
 2246|       |               have invalidated it. */
 2247|      0|            buf = PyByteArray_AS_STRING(bytearray_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2248|      0|        }
 2249|      0|        buf[len++] = value;
 2250|      0|    }
 2251|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2252|       |
 2253|      0|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (2253:9): [True: 0, False: 0]
  ------------------
 2254|      0|        Py_DECREF(bytearray_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2255|      0|        return NULL;
 2256|      0|    }
 2257|       |
 2258|       |    /* Resize down to exact size. */
 2259|      0|    if (bytearray_resize_lock_held((PyObject *)bytearray_obj, len) < 0) {
  ------------------
  |  Branch (2259:9): [True: 0, False: 0]
  ------------------
 2260|      0|        Py_DECREF(bytearray_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2261|      0|        return NULL;
 2262|      0|    }
 2263|       |
 2264|      0|    if (bytearray_setslice(self, Py_SIZE(self), Py_SIZE(self), bytearray_obj) == -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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (bytearray_setslice(self, Py_SIZE(self), Py_SIZE(self), bytearray_obj) == -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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2264:9): [True: 0, False: 0]
  ------------------
 2265|      0|        Py_DECREF(bytearray_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2266|      0|        return NULL;
 2267|      0|    }
 2268|      0|    Py_DECREF(bytearray_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2269|       |
 2270|      0|    assert(!PyErr_Occurred());
 2271|      0|    Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 2272|      0|}
bytearrayobject.c:bytearray_find_impl:
 1269|  1.05k|{
 1270|  1.05k|    return _bytearray_with_buffer(self, _Py_bytes_find, sub, start, end);
 1271|  1.05k|}
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:
 1641|     64|{
 1642|     64|    char *input, *output;
 1643|     64|    const char *table_chars;
 1644|     64|    Py_ssize_t i, c;
 1645|     64|    PyObject *input_obj = (PyObject*)self;
 1646|     64|    const char *output_start;
 1647|     64|    Py_ssize_t inlen;
 1648|     64|    PyObject *result = NULL;
 1649|     64|    int trans_table[256];
 1650|     64|    Py_buffer vtable, vdel;
 1651|       |
 1652|     64|    if (table == Py_None) {
  ------------------
  |  |  616|     64|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1652:9): [True: 0, False: 64]
  ------------------
 1653|      0|        table_chars = NULL;
 1654|      0|        table = NULL;
 1655|     64|    } else if (PyObject_GetBuffer(table, &vtable, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|     64|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (1655:16): [True: 0, False: 64]
  ------------------
 1656|      0|        return NULL;
 1657|     64|    } else {
 1658|     64|        if (vtable.len != 256) {
  ------------------
  |  Branch (1658:13): [True: 0, False: 64]
  ------------------
 1659|      0|            PyErr_SetString(PyExc_ValueError,
 1660|      0|                            "translation table must be 256 characters long");
 1661|      0|            PyBuffer_Release(&vtable);
 1662|      0|            return NULL;
 1663|      0|        }
 1664|     64|        table_chars = (const char*)vtable.buf;
 1665|     64|    }
 1666|       |
 1667|     64|    if (deletechars != NULL) {
  ------------------
  |  Branch (1667:9): [True: 0, False: 64]
  ------------------
 1668|      0|        if (PyObject_GetBuffer(deletechars, &vdel, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|      0|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (1668:13): [True: 0, False: 0]
  ------------------
 1669|      0|            if (table != NULL)
  ------------------
  |  Branch (1669:17): [True: 0, False: 0]
  ------------------
 1670|      0|                PyBuffer_Release(&vtable);
 1671|      0|            return NULL;
 1672|      0|        }
 1673|      0|    }
 1674|     64|    else {
 1675|     64|        vdel.buf = NULL;
 1676|     64|        vdel.len = 0;
 1677|     64|    }
 1678|       |
 1679|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1680|     64|    result = PyByteArray_FromStringAndSize((char *)NULL, inlen);
 1681|     64|    if (result == NULL)
  ------------------
  |  Branch (1681:9): [True: 0, False: 64]
  ------------------
 1682|      0|        goto done;
 1683|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1684|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1685|       |
 1686|     64|    if (vdel.len == 0 && table_chars != NULL) {
  ------------------
  |  Branch (1686:9): [True: 64, False: 0]
  |  Branch (1686:26): [True: 64, False: 0]
  ------------------
 1687|       |        /* If no deletions are required, use faster code */
 1688|  19.5k|        for (i = inlen; --i >= 0; ) {
  ------------------
  |  Branch (1688:25): [True: 19.4k, False: 64]
  ------------------
 1689|  19.4k|            c = Py_CHARMASK(*input++);
  ------------------
  |  |  138|  19.4k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 1690|  19.4k|            *output++ = table_chars[c];
 1691|  19.4k|        }
 1692|     64|        goto done;
 1693|     64|    }
 1694|       |
 1695|      0|    if (table_chars == NULL) {
  ------------------
  |  Branch (1695:9): [True: 0, False: 0]
  ------------------
 1696|      0|        for (i = 0; i < 256; i++)
  ------------------
  |  Branch (1696:21): [True: 0, False: 0]
  ------------------
 1697|      0|            trans_table[i] = Py_CHARMASK(i);
  ------------------
  |  |  138|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 1698|      0|    } else {
 1699|      0|        for (i = 0; i < 256; i++)
  ------------------
  |  Branch (1699:21): [True: 0, False: 0]
  ------------------
 1700|      0|            trans_table[i] = Py_CHARMASK(table_chars[i]);
  ------------------
  |  |  138|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 1701|      0|    }
 1702|       |
 1703|      0|    for (i = 0; i < vdel.len; i++)
  ------------------
  |  Branch (1703:17): [True: 0, False: 0]
  ------------------
 1704|      0|        trans_table[(int) Py_CHARMASK( ((unsigned char*)vdel.buf)[i] )] = -1;
  ------------------
  |  |  138|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 1705|       |
 1706|      0|    for (i = inlen; --i >= 0; ) {
  ------------------
  |  Branch (1706:21): [True: 0, False: 0]
  ------------------
 1707|      0|        c = Py_CHARMASK(*input++);
  ------------------
  |  |  138|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 1708|      0|        if (trans_table[c] != -1)
  ------------------
  |  Branch (1708:13): [True: 0, False: 0]
  ------------------
 1709|      0|            *output++ = (char)trans_table[c];
 1710|      0|    }
 1711|       |    /* Fix the size of the resulting bytearray */
 1712|      0|    if (inlen > 0)
  ------------------
  |  Branch (1712:9): [True: 0, False: 0]
  ------------------
 1713|      0|        if (PyByteArray_Resize(result, output - output_start) < 0) {
  ------------------
  |  Branch (1713:13): [True: 0, False: 0]
  ------------------
 1714|      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]
  |  |  ------------------
  ------------------
 1715|      0|            goto done;
 1716|      0|        }
 1717|       |
 1718|     64|done:
 1719|     64|    if (table != NULL)
  ------------------
  |  Branch (1719:9): [True: 64, False: 0]
  ------------------
 1720|     64|        PyBuffer_Release(&vtable);
 1721|     64|    if (deletechars != NULL)
  ------------------
  |  Branch (1721:9): [True: 0, False: 64]
  ------------------
 1722|      0|        PyBuffer_Release(&vdel);
 1723|     64|    return result;
 1724|      0|}
bytearrayobject.c:bytearray___init___impl:
  918|  7.52M|{
  919|  7.52M|    Py_ssize_t count;
  920|  7.52M|    PyObject *it;
  921|  7.52M|    PyObject *(*iternext)(PyObject *);
  922|       |
  923|       |    /* First __init__; set ob_bytes_object so ob_bytes is always non-null. */
  924|  7.52M|    if (self->ob_bytes_object == NULL) {
  ------------------
  |  Branch (924:9): [True: 7.52M, False: 0]
  ------------------
  925|  7.52M|        self->ob_bytes_object = Py_GetConstant(Py_CONSTANT_EMPTY_BYTES);
  ------------------
  |  |  598|  7.52M|#define Py_CONSTANT_EMPTY_BYTES 8
  ------------------
  926|  7.52M|        bytearray_reinit_from_bytes(self, 0, 0);
  927|  7.52M|        self->ob_exports = 0;
  928|  7.52M|    }
  929|       |
  930|  7.52M|    if (Py_SIZE(self) != 0) {
  ------------------
  |  |  214|  7.52M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  7.52M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.52M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (930:9): [True: 0, False: 7.52M]
  ------------------
  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|  7.52M|    assert(self->ob_bytes_object == Py_GetConstantBorrowed(Py_CONSTANT_EMPTY_BYTES));
  938|  7.52M|    assert(self->ob_exports == 0);
  939|       |
  940|       |    /* Make a quick exit if no first argument */
  941|  7.52M|    if (arg == NULL) {
  ------------------
  |  Branch (941:9): [True: 4.91k, False: 7.52M]
  ------------------
  942|  4.91k|        if (encoding != NULL || errors != NULL) {
  ------------------
  |  Branch (942:13): [True: 0, False: 4.91k]
  |  Branch (942:33): [True: 0, False: 4.91k]
  ------------------
  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|  4.91k|        return 0;
  950|  4.91k|    }
  951|       |
  952|  7.52M|    if (PyUnicode_Check(arg)) {
  ------------------
  |  |  103|  7.52M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  7.52M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 7.52M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  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|  7.52M|    if (encoding != NULL || errors != NULL) {
  ------------------
  |  Branch (984:9): [True: 0, False: 7.52M]
  |  Branch (984:29): [True: 0, False: 7.52M]
  ------------------
  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|  7.52M|    if (_PyIndex_Check(arg)) {
  ------------------
  |  Branch (993:9): [True: 332, False: 7.52M]
  ------------------
  994|    332|        count = PyNumber_AsSsize_t(arg, PyExc_OverflowError);
  995|    332|        if (count == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (995:13): [True: 0, False: 332]
  |  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|    332|        else {
 1001|    332|            if (count < 0) {
  ------------------
  |  Branch (1001:17): [True: 0, False: 332]
  ------------------
 1002|      0|                PyErr_SetString(PyExc_ValueError, "negative count");
 1003|      0|                return -1;
 1004|      0|            }
 1005|    332|            if (count > 0) {
  ------------------
  |  Branch (1005:17): [True: 332, False: 0]
  ------------------
 1006|    332|                if (PyByteArray_Resize((PyObject *)self, count))
  ------------------
  |  Branch (1006:21): [True: 0, False: 332]
  ------------------
 1007|      0|                    return -1;
 1008|    332|                memset(PyByteArray_AS_STRING(self), 0, count);
  ------------------
  |  |   28|    332|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|    332|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    332|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1009|    332|            }
 1010|    332|            return 0;
 1011|    332|        }
 1012|    332|    }
 1013|       |
 1014|       |    /* Use the buffer API */
 1015|  7.52M|    if (PyObject_CheckBuffer(arg)) {
  ------------------
  |  Branch (1015:9): [True: 7.52M, False: 2]
  ------------------
 1016|  7.52M|        Py_ssize_t size;
 1017|  7.52M|        Py_buffer view;
 1018|  7.52M|        if (PyObject_GetBuffer(arg, &view, PyBUF_FULL_RO) < 0)
  ------------------
  |  |  134|  7.52M|#define PyBUF_FULL_RO (PyBUF_INDIRECT | PyBUF_FORMAT)
  |  |  ------------------
  |  |  |  |  122|  7.52M|#define PyBUF_INDIRECT (0x0100 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|  7.52M|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|  7.52M|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define PyBUF_FULL_RO (PyBUF_INDIRECT | PyBUF_FORMAT)
  |  |  ------------------
  |  |  |  |  116|  7.52M|#define PyBUF_FORMAT 0x0004
  |  |  ------------------
  ------------------
  |  Branch (1018:13): [True: 0, False: 7.52M]
  ------------------
 1019|      0|            return -1;
 1020|  7.52M|        size = view.len;
 1021|  7.52M|        if (PyByteArray_Resize((PyObject *)self, size) < 0) goto fail;
  ------------------
  |  Branch (1021:13): [True: 0, False: 7.52M]
  ------------------
 1022|  7.52M|        if (PyBuffer_ToContiguous(PyByteArray_AS_STRING(self),
  ------------------
  |  |   28|  7.52M|#define PyByteArray_AS_STRING(self) PyByteArray_AS_STRING(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  7.52M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.52M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1022:13): [True: 0, False: 7.52M]
  ------------------
 1023|  7.52M|            &view, size, 'C') < 0)
 1024|      0|            goto fail;
 1025|  7.52M|        PyBuffer_Release(&view);
 1026|  7.52M|        return 0;
 1027|      0|    fail:
 1028|      0|        PyBuffer_Release(&view);
 1029|      0|        return -1;
 1030|  7.52M|    }
 1031|       |
 1032|      2|    if (PyList_CheckExact(arg) || PyTuple_CheckExact(arg)) {
  ------------------
  |  |   26|      2|#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|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  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|      0|        Py_ssize_t size = PySequence_Fast_GET_SIZE(arg);
  ------------------
  |  |   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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1034|      0|        if (PyByteArray_Resize((PyObject *)self, size) < 0) {
  ------------------
  |  Branch (1034:13): [True: 0, False: 0]
  ------------------
 1035|      0|            return -1;
 1036|      0|        }
 1037|      0|        PyObject **items = PySequence_Fast_ITEMS(arg);
  ------------------
  |  |  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)
  ------------------
 1038|      0|        char *s = 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1039|      0|        for (Py_ssize_t i = 0; i < size; i++) {
  ------------------
  |  Branch (1039:32): [True: 0, False: 0]
  ------------------
 1040|      0|            int value;
 1041|      0|            if (!PyLong_CheckExact(items[i])) {
  ------------------
  |  |   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 (1041:17): [True: 0, False: 0]
  ------------------
 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|      0|            int rc = _getbytevalue(items[i], &value);
 1051|      0|            if (!rc) {
  ------------------
  |  Branch (1051:17): [True: 0, False: 0]
  ------------------
 1052|      0|                return -1;
 1053|      0|            }
 1054|      0|            s[i] = value;
 1055|      0|        }
 1056|      0|        return 0;
 1057|      0|    }
 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:
 2955|      2|{
 2956|      2|    bytesiterobject *it = _bytesiterobject_CAST(self);
  ------------------
  |  | 2951|      2|#define _bytesiterobject_CAST(op)   ((bytesiterobject *)(op))
  ------------------
 2957|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2958|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2959|      2|    PyObject_GC_Del(it);
 2960|      2|}
bytearrayobject.c:bytearray_iter:
 3109|      2|{
 3110|      2|    bytesiterobject *it;
 3111|       |
 3112|      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 (3112:9): [True: 0, False: 2]
  ------------------
 3113|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3114|      0|        return NULL;
 3115|      0|    }
 3116|      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))
  |  |  ------------------
  ------------------
 3117|      2|    if (it == NULL)
  ------------------
  |  Branch (3117:9): [True: 0, False: 2]
  ------------------
 3118|      0|        return NULL;
 3119|      2|    it->it_index = 0;  // -1 indicates exhausted
 3120|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3121|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3122|      2|    return (PyObject *)it;
 3123|      2|}

_Py_bytes_lower:
  252|    781|{
  253|    781|    Py_ssize_t i;
  254|       |
  255|  14.6k|    for (i = 0; i < len; i++) {
  ------------------
  |  Branch (255:17): [True: 13.8k, False: 781]
  ------------------
  256|  13.8k|        result[i] = Py_TOLOWER((unsigned char) cptr[i]);
  ------------------
  |  |   32|  13.8k|#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  138|  13.8k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
  257|  13.8k|    }
  258|    781|}
_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.05k|{
  516|  1.05k|    Py_ssize_t result = find_internal(str, len, "find", sub, start, end, +1);
  517|  1.05k|    if (result == -2)
  ------------------
  |  Branch (517:9): [True: 0, False: 1.05k]
  ------------------
  518|      0|        return NULL;
  519|  1.05k|    return PyLong_FromSsize_t(result);
  520|  1.05k|}
_Py_bytes_contains:
  603|      7|{
  604|      7|    Py_ssize_t ival = PyNumber_AsSsize_t(arg, NULL);
  605|      7|    if (ival == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (605:9): [True: 0, False: 7]
  |  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|      7|    if (ival < 0 || ival >= 256) {
  ------------------
  |  Branch (616:9): [True: 0, False: 7]
  |  Branch (616:21): [True: 0, False: 7]
  ------------------
  617|      0|        PyErr_SetString(PyExc_ValueError, "byte must be in range(0, 256)");
  618|      0|        return -1;
  619|      0|    }
  620|       |
  621|      7|    return memchr(str, (int) ival, len) != NULL;
  622|      7|}
_Py_bytes_startswith:
  711|     13|{
  712|     13|    return _Py_bytes_tailmatch(str, len, "startswith", subobj, start, end, -1);
  713|     13|}
_Py_bytes_endswith:
  718|      3|{
  719|      3|    return _Py_bytes_tailmatch(str, len, "endswith", subobj, start, end, +1);
  720|      3|}
bytes_methods.c:find_internal:
  457|  1.05k|{
  458|  1.05k|    char byte;
  459|  1.05k|    Py_buffer subbuf;
  460|  1.05k|    const char *sub;
  461|  1.05k|    Py_ssize_t sub_len;
  462|  1.05k|    Py_ssize_t res;
  463|       |
  464|  1.05k|    if (!parse_args_finds_byte(function_name, &subobj, &byte)) {
  ------------------
  |  Branch (464:9): [True: 0, False: 1.05k]
  ------------------
  465|      0|        return -2;
  466|      0|    }
  467|       |
  468|  1.05k|    if (subobj) {
  ------------------
  |  Branch (468:9): [True: 0, False: 1.05k]
  ------------------
  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.05k|    else {
  476|  1.05k|        sub = &byte;
  477|  1.05k|        sub_len = 1;
  478|  1.05k|    }
  479|       |
  480|  1.05k|    ADJUST_INDICES(start, end, len);
  ------------------
  |  |  434|  1.05k|    do {                                \
  |  |  435|  1.05k|        if (end > len) {                \
  |  |  ------------------
  |  |  |  Branch (435:13): [True: 1.05k, False: 0]
  |  |  ------------------
  |  |  436|  1.05k|            end = len;                  \
  |  |  437|  1.05k|        }                               \
  |  |  438|  1.05k|        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.05k|        if (start < 0) {                \
  |  |  ------------------
  |  |  |  Branch (444:13): [True: 0, False: 1.05k]
  |  |  ------------------
  |  |  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.05k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (450:14): [Folded, False: 1.05k]
  |  |  ------------------
  ------------------
  481|  1.05k|    if (end - start < sub_len)
  ------------------
  |  Branch (481:9): [True: 0, False: 1.05k]
  ------------------
  482|      0|        res = -1;
  483|  1.05k|    else if (sub_len == 1) {
  ------------------
  |  Branch (483:14): [True: 1.05k, False: 0]
  ------------------
  484|  1.05k|        if (dir > 0)
  ------------------
  |  Branch (484:13): [True: 1.05k, False: 0]
  ------------------
  485|  1.05k|            res = stringlib_find_char(
  486|  1.05k|                str + start, end - start,
  487|  1.05k|                *sub);
  488|      0|        else
  489|      0|            res = stringlib_rfind_char(
  490|      0|                str + start, end - start,
  491|      0|                *sub);
  492|  1.05k|        if (res >= 0)
  ------------------
  |  Branch (492:13): [True: 792, False: 262]
  ------------------
  493|    792|            res += start;
  494|  1.05k|    }
  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.05k|    if (subobj)
  ------------------
  |  Branch (506:9): [True: 0, False: 1.05k]
  ------------------
  507|      0|        PyBuffer_Release(&subbuf);
  508|       |
  509|  1.05k|    return res;
  510|  1.05k|}
bytes_methods.c:parse_args_finds_byte:
  405|  1.05k|{
  406|  1.05k|    if (PyObject_CheckBuffer(*subobj)) {
  ------------------
  |  Branch (406:9): [True: 0, False: 1.05k]
  ------------------
  407|      0|        return 1;
  408|      0|    }
  409|       |
  410|  1.05k|    if (!_PyIndex_Check(*subobj)) {
  ------------------
  |  Branch (410:9): [True: 0, False: 1.05k]
  ------------------
  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.05k|    Py_ssize_t ival = PyNumber_AsSsize_t(*subobj, NULL);
  419|  1.05k|    if (ival == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (419:9): [True: 0, False: 1.05k]
  |  Branch (419:23): [True: 0, False: 0]
  ------------------
  420|      0|        return 0;
  421|      0|    }
  422|  1.05k|    if (ival < 0 || ival > 255) {
  ------------------
  |  Branch (422:9): [True: 0, False: 1.05k]
  |  Branch (422:21): [True: 0, False: 1.05k]
  ------------------
  423|      0|        PyErr_SetString(PyExc_ValueError, "byte must be in range(0, 256)");
  424|      0|        return 0;
  425|      0|    }
  426|       |
  427|  1.05k|    *subobj = NULL;
  428|  1.05k|    *byte = (char)ival;
  429|  1.05k|    return 1;
  430|  1.05k|}
bytes_methods.c:_Py_bytes_tailmatch:
  680|     16|{
  681|     16|    if (PyTuple_Check(subobj)) {
  ------------------
  |  |   27|     16|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     16|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 4, False: 12]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  682|      4|        Py_ssize_t i;
  683|     12|        for (i = 0; i < PyTuple_GET_SIZE(subobj); i++) {
  ------------------
  |  |   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 (683:21): [True: 8, False: 4]
  ------------------
  684|      8|            PyObject *item = PyTuple_GET_ITEM(subobj, 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  685|      8|            int result = tailmatch(str, len, item, start, end, direction);
  686|      8|            if (result < 0) {
  ------------------
  |  Branch (686:17): [True: 0, False: 8]
  ------------------
  687|      0|                return NULL;
  688|      0|            }
  689|      8|            else if (result) {
  ------------------
  |  Branch (689:22): [True: 0, False: 8]
  ------------------
  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|      8|        }
  693|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  694|      4|    }
  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|     20|{
  633|     20|    Py_buffer sub_view = {NULL, NULL};
  634|     20|    const char *sub;
  635|     20|    Py_ssize_t slen;
  636|       |
  637|     20|    if (PyBytes_Check(substr)) {
  ------------------
  |  |   28|     20|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     20|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 20, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  638|     20|        sub = PyBytes_AS_STRING(substr);
  ------------------
  |  |   27|     20|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  639|     20|        slen = PyBytes_GET_SIZE(substr);
  ------------------
  |  |   33|     20|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     20|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|     20|    }
  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|     20|    ADJUST_INDICES(start, end, len);
  ------------------
  |  |  434|     20|    do {                                \
  |  |  435|     20|        if (end > len) {                \
  |  |  ------------------
  |  |  |  Branch (435:13): [True: 20, False: 0]
  |  |  ------------------
  |  |  436|     20|            end = len;                  \
  |  |  437|     20|        }                               \
  |  |  438|     20|        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|     20|        if (start < 0) {                \
  |  |  ------------------
  |  |  |  Branch (444:13): [True: 0, False: 20]
  |  |  ------------------
  |  |  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|     20|    } while (0)
  |  |  ------------------
  |  |  |  Branch (450:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
  649|       |
  650|     20|    if (direction < 0) {
  ------------------
  |  Branch (650:9): [True: 17, False: 3]
  ------------------
  651|       |        /* startswith */
  652|     17|        if (start > len - slen)
  ------------------
  |  Branch (652:13): [True: 0, False: 17]
  ------------------
  653|      0|            goto notfound;
  654|     17|    } else {
  655|       |        /* endswith */
  656|      3|        if (end - start < slen || start > len)
  ------------------
  |  Branch (656:13): [True: 0, False: 3]
  |  Branch (656:35): [True: 0, False: 3]
  ------------------
  657|      0|            goto notfound;
  658|       |
  659|      3|        if (end - slen > start)
  ------------------
  |  Branch (659:13): [True: 3, False: 0]
  ------------------
  660|      3|            start = end - slen;
  661|      3|    }
  662|     20|    if (end - start < slen)
  ------------------
  |  Branch (662:9): [True: 0, False: 20]
  ------------------
  663|      0|        goto notfound;
  664|     20|    if (memcmp(str + start, sub, slen) != 0)
  ------------------
  |  Branch (664:9): [True: 20, False: 0]
  ------------------
  665|     20|        goto notfound;
  666|       |
  667|      0|    PyBuffer_Release(&sub_view);
  668|      0|    return 1;
  669|       |
  670|     20|notfound:
  671|     20|    PyBuffer_Release(&sub_view);
  672|     20|    return 0;
  673|     20|}

PyBytes_FromStringAndSize:
  134|  17.1M|{
  135|  17.1M|    PyBytesObject *op;
  136|  17.1M|    if (size < 0) {
  ------------------
  |  Branch (136:9): [True: 0, False: 17.1M]
  ------------------
  137|      0|        PyErr_SetString(PyExc_SystemError,
  138|      0|            "Negative size passed to PyBytes_FromStringAndSize");
  139|      0|        return NULL;
  140|      0|    }
  141|  17.1M|    if (size == 1 && str != NULL) {
  ------------------
  |  Branch (141:9): [True: 11.6M, False: 5.43M]
  |  Branch (141:22): [True: 11.6M, False: 34.3k]
  ------------------
  142|  11.6M|        op = CHARACTER(*str & 255);
  ------------------
  |  |   38|  11.6M|     ((PyBytesObject *)&(CHARACTERS[ch]));
  |  |  ------------------
  |  |  |  |   36|  11.6M|#define CHARACTERS _Py_SINGLETON(bytes_characters)
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|  11.6M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|  11.6M|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  143|  11.6M|        assert(_Py_IsImmortal(op));
  144|  11.6M|        return (PyObject *)op;
  145|  11.6M|    }
  146|  5.46M|    if (size == 0) {
  ------------------
  |  Branch (146:9): [True: 34.3k, False: 5.43M]
  ------------------
  147|  34.3k|        return bytes_get_empty();
  148|  34.3k|    }
  149|       |
  150|  5.43M|    op = (PyBytesObject *)_PyBytes_FromSize(size, 0);
  151|  5.43M|    if (op == NULL)
  ------------------
  |  Branch (151:9): [True: 0, False: 5.43M]
  ------------------
  152|      0|        return NULL;
  153|  5.43M|    if (str == NULL)
  ------------------
  |  Branch (153:9): [True: 368k, False: 5.06M]
  ------------------
  154|   368k|        return (PyObject *) op;
  155|       |
  156|  5.06M|    memcpy(op->ob_sval, str, size);
  157|  5.06M|    return (PyObject *) op;
  158|  5.43M|}
PyBytes_FromString:
  162|     12|{
  163|     12|    size_t size;
  164|     12|    PyBytesObject *op;
  165|       |
  166|     12|    assert(str != NULL);
  167|     12|    size = strlen(str);
  168|     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) {
  ------------------
  |  |   28|     12|#define PyBytesObject_SIZE _PyBytesObject_SIZE
  |  |  ------------------
  |  |  |  |   74|     12|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
  |  Branch (168:9): [True: 0, False: 12]
  ------------------
  169|      0|        PyErr_SetString(PyExc_OverflowError,
  170|      0|            "byte string is too long");
  171|      0|        return NULL;
  172|      0|    }
  173|       |
  174|     12|    if (size == 0) {
  ------------------
  |  Branch (174:9): [True: 0, False: 12]
  ------------------
  175|      0|        return bytes_get_empty();
  176|      0|    }
  177|     12|    else if (size == 1) {
  ------------------
  |  Branch (177:14): [True: 0, False: 12]
  ------------------
  178|      0|        op = CHARACTER(*str & 255);
  ------------------
  |  |   38|      0|     ((PyBytesObject *)&(CHARACTERS[ch]));
  |  |  ------------------
  |  |  |  |   36|      0|#define CHARACTERS _Py_SINGLETON(bytes_characters)
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  179|      0|        assert(_Py_IsImmortal(op));
  180|      0|        return (PyObject *)op;
  181|      0|    }
  182|       |
  183|       |    /* Inline PyObject_NewVar */
  184|     12|    op = (PyBytesObject *)PyObject_Malloc(PyBytesObject_SIZE + size);
  ------------------
  |  |   28|     12|#define PyBytesObject_SIZE _PyBytesObject_SIZE
  |  |  ------------------
  |  |  |  |   74|     12|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
  185|     12|    if (op == NULL) {
  ------------------
  |  Branch (185:9): [True: 0, False: 12]
  ------------------
  186|      0|        return PyErr_NoMemory();
  187|      0|    }
  188|     12|    _PyObject_InitVar((PyVarObject*)op, &PyBytes_Type, size);
  189|     12|    set_ob_shash(op, -1);
  190|     12|    memcpy(op->ob_sval, str, size+1);
  191|     12|    return (PyObject *) op;
  192|     12|}
_PyBytes_DecodeEscape2:
 1180|      4|{
 1181|      4|    PyBytesWriter *writer = PyBytesWriter_Create(len);
 1182|      4|    if (writer == NULL) {
  ------------------
  |  Branch (1182:9): [True: 0, False: 4]
  ------------------
 1183|      0|        return NULL;
 1184|      0|    }
 1185|      4|    char *p = PyBytesWriter_GetData(writer);
 1186|       |
 1187|      4|    *first_invalid_escape_char = -1;
 1188|      4|    *first_invalid_escape_ptr = NULL;
 1189|       |
 1190|      4|    const char *end = s + len;
 1191|      8|    while (s < end) {
  ------------------
  |  Branch (1191:12): [True: 4, False: 4]
  ------------------
 1192|      4|        if (*s != '\\') {
  ------------------
  |  Branch (1192:13): [True: 0, False: 4]
  ------------------
 1193|      0|            *p++ = *s++;
 1194|      0|            continue;
 1195|      0|        }
 1196|       |
 1197|      4|        s++;
 1198|      4|        if (s == end) {
  ------------------
  |  Branch (1198:13): [True: 0, False: 4]
  ------------------
 1199|      0|            PyErr_SetString(PyExc_ValueError,
 1200|      0|                            "Trailing \\ in string");
 1201|      0|            goto failed;
 1202|      0|        }
 1203|       |
 1204|      4|        switch (*s++) {
 1205|       |        /* XXX This assumes ASCII! */
 1206|      0|        case '\n': break;
  ------------------
  |  Branch (1206:9): [True: 0, False: 4]
  ------------------
 1207|      0|        case '\\': *p++ = '\\'; break;
  ------------------
  |  Branch (1207:9): [True: 0, False: 4]
  ------------------
 1208|      0|        case '\'': *p++ = '\''; break;
  ------------------
  |  Branch (1208:9): [True: 0, False: 4]
  ------------------
 1209|      0|        case '\"': *p++ = '\"'; break;
  ------------------
  |  Branch (1209:9): [True: 0, False: 4]
  ------------------
 1210|      0|        case 'b': *p++ = '\b'; break;
  ------------------
  |  Branch (1210:9): [True: 0, False: 4]
  ------------------
 1211|      0|        case 'f': *p++ = '\014'; break; /* FF */
  ------------------
  |  Branch (1211:9): [True: 0, False: 4]
  ------------------
 1212|      0|        case 't': *p++ = '\t'; break;
  ------------------
  |  Branch (1212:9): [True: 0, False: 4]
  ------------------
 1213|      3|        case 'n': *p++ = '\n'; break;
  ------------------
  |  Branch (1213:9): [True: 3, False: 1]
  ------------------
 1214|      0|        case 'r': *p++ = '\r'; break;
  ------------------
  |  Branch (1214:9): [True: 0, False: 4]
  ------------------
 1215|      0|        case 'v': *p++ = '\013'; break; /* VT */
  ------------------
  |  Branch (1215:9): [True: 0, False: 4]
  ------------------
 1216|      0|        case 'a': *p++ = '\007'; break; /* BEL, not classic C */
  ------------------
  |  Branch (1216:9): [True: 0, False: 4]
  ------------------
 1217|      1|        case '0': case '1': case '2': case '3':
  ------------------
  |  Branch (1217:9): [True: 1, False: 3]
  |  Branch (1217:19): [True: 0, False: 4]
  |  Branch (1217:29): [True: 0, False: 4]
  |  Branch (1217:39): [True: 0, False: 4]
  ------------------
 1218|      1|        case '4': case '5': case '6': case '7':
  ------------------
  |  Branch (1218:9): [True: 0, False: 4]
  |  Branch (1218:19): [True: 0, False: 4]
  |  Branch (1218:29): [True: 0, False: 4]
  |  Branch (1218:39): [True: 0, False: 4]
  ------------------
 1219|      1|        {
 1220|      1|            int c = s[-1] - '0';
 1221|      1|            if (s < end && '0' <= *s && *s <= '7') {
  ------------------
  |  Branch (1221:17): [True: 0, False: 1]
  |  Branch (1221:28): [True: 0, False: 0]
  |  Branch (1221:41): [True: 0, False: 0]
  ------------------
 1222|      0|                c = (c<<3) + *s++ - '0';
 1223|      0|                if (s < end && '0' <= *s && *s <= '7')
  ------------------
  |  Branch (1223:21): [True: 0, False: 0]
  |  Branch (1223:32): [True: 0, False: 0]
  |  Branch (1223:45): [True: 0, False: 0]
  ------------------
 1224|      0|                    c = (c<<3) + *s++ - '0';
 1225|      0|            }
 1226|      1|            if (c > 0377) {
  ------------------
  |  Branch (1226:17): [True: 0, False: 1]
  ------------------
 1227|      0|                if (*first_invalid_escape_char == -1) {
  ------------------
  |  Branch (1227:21): [True: 0, False: 0]
  ------------------
 1228|      0|                    *first_invalid_escape_char = c;
 1229|       |                    /* Back up 3 chars, since we've already incremented s. */
 1230|      0|                    *first_invalid_escape_ptr = s - 3;
 1231|      0|                }
 1232|      0|            }
 1233|      1|            *p++ = c;
 1234|      1|            break;
 1235|      1|        }
 1236|      0|        case 'x':
  ------------------
  |  Branch (1236:9): [True: 0, False: 4]
  ------------------
 1237|      0|            if (s+1 < end) {
  ------------------
  |  Branch (1237:17): [True: 0, False: 0]
  ------------------
 1238|      0|                int digit1, digit2;
 1239|      0|                digit1 = _PyLong_DigitValue[Py_CHARMASK(s[0])];
  ------------------
  |  |  138|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 1240|      0|                digit2 = _PyLong_DigitValue[Py_CHARMASK(s[1])];
  ------------------
  |  |  138|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 1241|      0|                if (digit1 < 16 && digit2 < 16) {
  ------------------
  |  Branch (1241:21): [True: 0, False: 0]
  |  Branch (1241:36): [True: 0, False: 0]
  ------------------
 1242|      0|                    *p++ = (unsigned char)((digit1 << 4) + digit2);
 1243|      0|                    s += 2;
 1244|      0|                    break;
 1245|      0|                }
 1246|      0|            }
 1247|       |            /* invalid hexadecimal digits */
 1248|       |
 1249|      0|            if (!errors || strcmp(errors, "strict") == 0) {
  ------------------
  |  Branch (1249:17): [True: 0, False: 0]
  |  Branch (1249:28): [True: 0, False: 0]
  ------------------
 1250|      0|                PyErr_Format(PyExc_ValueError,
 1251|      0|                             "invalid \\x escape at position %zd",
 1252|      0|                             s - 2 - (end - len));
 1253|      0|                goto failed;
 1254|      0|            }
 1255|      0|            if (strcmp(errors, "replace") == 0) {
  ------------------
  |  Branch (1255:17): [True: 0, False: 0]
  ------------------
 1256|      0|                *p++ = '?';
 1257|      0|            } else if (strcmp(errors, "ignore") == 0)
  ------------------
  |  Branch (1257:24): [True: 0, False: 0]
  ------------------
 1258|      0|                /* do nothing */;
 1259|      0|            else {
 1260|      0|                PyErr_Format(PyExc_ValueError,
 1261|      0|                             "decoding error; unknown "
 1262|      0|                             "error handling code: %.400s",
 1263|      0|                             errors);
 1264|      0|                goto failed;
 1265|      0|            }
 1266|       |            /* skip \x */
 1267|      0|            if (s < end && Py_ISXDIGIT(s[0]))
  ------------------
  |  |   25|      0|#define Py_ISXDIGIT(c) (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_XDIGIT)
  |  |  ------------------
  |  |  |  |  138|      0|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISXDIGIT(c) (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_XDIGIT)
  |  |  ------------------
  |  |  |  |   14|      0|#define PY_CTF_XDIGIT 0x10
  |  |  ------------------
  |  |  |  Branch (25:24): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1267:17): [True: 0, False: 0]
  ------------------
 1268|      0|                s++; /* and a hexdigit */
 1269|      0|            break;
 1270|       |
 1271|      0|        default:
  ------------------
  |  Branch (1271:9): [True: 0, False: 4]
  ------------------
 1272|      0|            if (*first_invalid_escape_char == -1) {
  ------------------
  |  Branch (1272:17): [True: 0, False: 0]
  ------------------
 1273|      0|                *first_invalid_escape_char = (unsigned char)s[-1];
 1274|       |                /* Back up one char, since we've already incremented s. */
 1275|      0|                *first_invalid_escape_ptr = s - 1;
 1276|      0|            }
 1277|      0|            *p++ = '\\';
 1278|      0|            s--;
 1279|      4|        }
 1280|      4|    }
 1281|       |
 1282|      4|    return PyBytesWriter_FinishWithPointer(writer, p);
 1283|       |
 1284|      0|  failed:
 1285|      0|    PyBytesWriter_Discard(writer);
 1286|       |    return NULL;
 1287|      4|}
PyBytes_AsString:
 1342|  3.52M|{
 1343|  3.52M|    if (!PyBytes_Check(op)) {
  ------------------
  |  |   28|  3.52M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  3.52M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1343:9): [True: 0, False: 3.52M]
  ------------------
 1344|      0|        PyErr_Format(PyExc_TypeError,
 1345|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1346|      0|        return NULL;
 1347|      0|    }
 1348|  3.52M|    return ((PyBytesObject *)op)->ob_sval;
 1349|  3.52M|}
PyBytes_AsStringAndSize:
 1355|    120|{
 1356|    120|    if (s == NULL) {
  ------------------
  |  Branch (1356:9): [True: 0, False: 120]
  ------------------
 1357|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1358|      0|        return -1;
 1359|      0|    }
 1360|       |
 1361|    120|    if (!PyBytes_Check(obj)) {
  ------------------
  |  |   28|    120|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    120|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1361:9): [True: 0, False: 120]
  ------------------
 1362|      0|        PyErr_Format(PyExc_TypeError,
 1363|      0|             "expected bytes, %.200s found", 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1364|      0|        return -1;
 1365|      0|    }
 1366|       |
 1367|    120|    *s = PyBytes_AS_STRING(obj);
  ------------------
  |  |   27|    120|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    120|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    120|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1368|    120|    if (len != NULL)
  ------------------
  |  Branch (1368:9): [True: 120, False: 0]
  ------------------
 1369|    120|        *len = PyBytes_GET_SIZE(obj);
  ------------------
  |  |   33|    120|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|    120|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    120|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1370|      0|    else if (strlen(*s) != (size_t)PyBytes_GET_SIZE(obj)) {
  ------------------
  |  |   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 (1370:14): [True: 0, False: 0]
  ------------------
 1371|      0|        PyErr_SetString(PyExc_ValueError,
 1372|      0|                        "embedded null byte");
 1373|      0|        return -1;
 1374|      0|    }
 1375|    120|    return 0;
 1376|    120|}
PyBytes_Repr:
 1435|      1|{
 1436|      1|    return _Py_bytes_repr(PyBytes_AS_STRING(obj), PyBytes_GET_SIZE(obj),
  ------------------
  |  |   27|      1|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return _Py_bytes_repr(PyBytes_AS_STRING(obj), PyBytes_GET_SIZE(obj),
  ------------------
  |  |   33|      1|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1437|      1|                          smartquotes, "bytes");
 1438|      1|}
_Py_bytes_repr:
 1443|      1|{
 1444|      1|    Py_ssize_t i;
 1445|      1|    Py_ssize_t newsize, squotes, dquotes;
 1446|      1|    PyObject *v;
 1447|      1|    unsigned char quote;
 1448|      1|    Py_UCS1 *p;
 1449|       |
 1450|       |    /* Compute size of output string */
 1451|      1|    squotes = dquotes = 0;
 1452|      1|    newsize = 3; /* b'' */
 1453|      1|    for (i = 0; i < length; i++) {
  ------------------
  |  Branch (1453:17): [True: 0, False: 1]
  ------------------
 1454|      0|        unsigned char c = data[i];
 1455|      0|        Py_ssize_t incr = 1;
 1456|      0|        switch(c) {
 1457|      0|        case '\'': squotes++; break;
  ------------------
  |  Branch (1457:9): [True: 0, False: 0]
  ------------------
 1458|      0|        case '"':  dquotes++; break;
  ------------------
  |  Branch (1458:9): [True: 0, False: 0]
  ------------------
 1459|      0|        case '\\': case '\t': case '\n': case '\r':
  ------------------
  |  Branch (1459:9): [True: 0, False: 0]
  |  Branch (1459:20): [True: 0, False: 0]
  |  Branch (1459:31): [True: 0, False: 0]
  |  Branch (1459:42): [True: 0, False: 0]
  ------------------
 1460|      0|            incr = 2; break; /* \C */
 1461|      0|        default:
  ------------------
  |  Branch (1461:9): [True: 0, False: 0]
  ------------------
 1462|      0|            if (c < ' ' || c >= 0x7f)
  ------------------
  |  Branch (1462:17): [True: 0, False: 0]
  |  Branch (1462:28): [True: 0, False: 0]
  ------------------
 1463|      0|                incr = 4; /* \xHH */
 1464|      0|        }
 1465|      0|        if (newsize > PY_SSIZE_T_MAX - incr)
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1465:13): [True: 0, False: 0]
  ------------------
 1466|      0|            goto overflow;
 1467|      0|        newsize += incr;
 1468|      0|    }
 1469|      1|    quote = '\'';
 1470|      1|    if (smartquotes && squotes && !dquotes)
  ------------------
  |  Branch (1470:9): [True: 1, False: 0]
  |  Branch (1470:24): [True: 0, False: 1]
  |  Branch (1470:35): [True: 0, False: 0]
  ------------------
 1471|      0|        quote = '"';
 1472|      1|    if (squotes && quote == '\'') {
  ------------------
  |  Branch (1472:9): [True: 0, False: 1]
  |  Branch (1472:20): [True: 0, False: 0]
  ------------------
 1473|      0|        if (newsize > PY_SSIZE_T_MAX - squotes)
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1473:13): [True: 0, False: 0]
  ------------------
 1474|      0|            goto overflow;
 1475|      0|        newsize += squotes;
 1476|      0|    }
 1477|       |
 1478|      1|    v = PyUnicode_New(newsize, 127);
 1479|      1|    if (v == NULL) {
  ------------------
  |  Branch (1479:9): [True: 0, False: 1]
  ------------------
 1480|      0|        return NULL;
 1481|      0|    }
 1482|      1|    p = PyUnicode_1BYTE_DATA(v);
  ------------------
  |  |  291|      1|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|      1|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1483|       |
 1484|      1|    *p++ = 'b', *p++ = quote;
 1485|      1|    for (i = 0; i < length; i++) {
  ------------------
  |  Branch (1485:17): [True: 0, False: 1]
  ------------------
 1486|      0|        unsigned char c = data[i];
 1487|      0|        if (c == quote || c == '\\')
  ------------------
  |  Branch (1487:13): [True: 0, False: 0]
  |  Branch (1487:27): [True: 0, False: 0]
  ------------------
 1488|      0|            *p++ = '\\', *p++ = c;
 1489|      0|        else if (c == '\t')
  ------------------
  |  Branch (1489:18): [True: 0, False: 0]
  ------------------
 1490|      0|            *p++ = '\\', *p++ = 't';
 1491|      0|        else if (c == '\n')
  ------------------
  |  Branch (1491:18): [True: 0, False: 0]
  ------------------
 1492|      0|            *p++ = '\\', *p++ = 'n';
 1493|      0|        else if (c == '\r')
  ------------------
  |  Branch (1493:18): [True: 0, False: 0]
  ------------------
 1494|      0|            *p++ = '\\', *p++ = 'r';
 1495|      0|        else if (c < ' ' || c >= 0x7f) {
  ------------------
  |  Branch (1495:18): [True: 0, False: 0]
  |  Branch (1495:29): [True: 0, False: 0]
  ------------------
 1496|      0|            *p++ = '\\';
 1497|      0|            *p++ = 'x';
 1498|      0|            *p++ = Py_hexdigits[(c & 0xf0) >> 4];
 1499|      0|            *p++ = Py_hexdigits[c & 0xf];
 1500|      0|        }
 1501|      0|        else
 1502|      0|            *p++ = c;
 1503|      0|    }
 1504|      1|    *p++ = quote;
 1505|      1|    assert(_PyUnicode_CheckConsistency(v, 1));
 1506|      1|    return v;
 1507|       |
 1508|      0|  overflow:
 1509|      0|    PyErr_Format(PyExc_OverflowError,
 1510|      0|                 "%s object is too large to make repr", classname);
 1511|       |    return NULL;
 1512|      1|}
_PyBytes_Concat:
 1542|  49.8k|{
 1543|  49.8k|    Py_buffer va, vb;
 1544|  49.8k|    PyObject *result = NULL;
 1545|       |
 1546|  49.8k|    va.len = -1;
 1547|  49.8k|    vb.len = -1;
 1548|  49.8k|    if (PyObject_GetBuffer(a, &va, PyBUF_SIMPLE) != 0 ||
  ------------------
  |  |  108|  49.8k|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (1548:9): [True: 0, False: 49.8k]
  ------------------
 1549|  49.8k|        PyObject_GetBuffer(b, &vb, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|  49.8k|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (1549:9): [True: 0, False: 49.8k]
  ------------------
 1550|      0|        PyErr_Format(PyExc_TypeError, "can't concat %.100s to %.100s",
 1551|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1552|      0|        goto done;
 1553|      0|    }
 1554|       |
 1555|       |    /* Optimize end cases */
 1556|  49.8k|    if (va.len == 0 && PyBytes_CheckExact(b)) {
  ------------------
  |  |   29|  3.23k|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_Type)
  |  |  ------------------
  |  |  |  |  215|  3.23k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.23k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.23k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 3.23k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1556:9): [True: 3.23k, False: 46.6k]
  ------------------
 1557|  3.23k|        result = Py_NewRef(b);
  ------------------
  |  |  550|  3.23k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  3.23k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.23k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1558|  3.23k|        goto done;
 1559|  3.23k|    }
 1560|  46.6k|    if (vb.len == 0 && PyBytes_CheckExact(a)) {
  ------------------
  |  |   29|  20.1k|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_Type)
  |  |  ------------------
  |  |  |  |  215|  20.1k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  20.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  20.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 20.1k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1560:9): [True: 20.1k, False: 26.4k]
  ------------------
 1561|  20.1k|        result = Py_NewRef(a);
  ------------------
  |  |  550|  20.1k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  20.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1562|  20.1k|        goto done;
 1563|  20.1k|    }
 1564|       |
 1565|  26.4k|    if (va.len > PY_SSIZE_T_MAX - vb.len) {
  ------------------
  |  |  137|  26.4k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1565:9): [True: 0, False: 26.4k]
  ------------------
 1566|      0|        PyErr_NoMemory();
 1567|      0|        goto done;
 1568|      0|    }
 1569|       |
 1570|  26.4k|    result = PyBytes_FromStringAndSize(NULL, va.len + vb.len);
 1571|  26.4k|    if (result != NULL) {
  ------------------
  |  Branch (1571:9): [True: 26.4k, False: 0]
  ------------------
 1572|  26.4k|        memcpy(PyBytes_AS_STRING(result), va.buf, va.len);
  ------------------
  |  |   27|  26.4k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  26.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  26.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1573|  26.4k|        memcpy(PyBytes_AS_STRING(result) + va.len, vb.buf, vb.len);
  ------------------
  |  |   27|  26.4k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  26.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  26.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1574|  26.4k|    }
 1575|       |
 1576|  49.8k|  done:
 1577|  49.8k|    if (va.len != -1)
  ------------------
  |  Branch (1577:9): [True: 49.8k, False: 0]
  ------------------
 1578|  49.8k|        PyBuffer_Release(&va);
 1579|  49.8k|    if (vb.len != -1)
  ------------------
  |  Branch (1579:9): [True: 49.8k, False: 0]
  ------------------
 1580|  49.8k|        PyBuffer_Release(&vb);
 1581|  49.8k|    return result;
 1582|  26.4k|}
PyBytes_Join:
 2000|      5|{
 2001|      5|    if (sep == NULL) {
  ------------------
  |  Branch (2001:9): [True: 0, False: 5]
  ------------------
 2002|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2003|      0|        return NULL;
 2004|      0|    }
 2005|      5|    if (!PyBytes_Check(sep)) {
  ------------------
  |  |   28|      5|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      5|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2005:9): [True: 0, False: 5]
  ------------------
 2006|      0|        PyErr_Format(PyExc_TypeError,
 2007|      0|                     "sep: expected bytes, got %T", sep);
 2008|      0|        return NULL;
 2009|      0|    }
 2010|       |
 2011|      5|    return stringlib_bytes_join(sep, iterable);
 2012|      5|}
PyBytes_FromObject:
 3118|  7.53M|{
 3119|  7.53M|    PyObject *it, *result;
 3120|       |
 3121|  7.53M|    if (x == NULL) {
  ------------------
  |  Branch (3121:9): [True: 0, False: 7.53M]
  ------------------
 3122|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3123|      0|        return NULL;
 3124|      0|    }
 3125|       |
 3126|  7.53M|    if (PyBytes_CheckExact(x)) {
  ------------------
  |  |   29|  7.53M|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_Type)
  |  |  ------------------
  |  |  |  |  215|  7.53M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  7.53M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  7.53M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 7.53M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3127|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3128|      0|    }
 3129|       |
 3130|       |    /* Use the modern buffer interface */
 3131|  7.53M|    if (PyObject_CheckBuffer(x))
  ------------------
  |  Branch (3131:9): [True: 7.52M, False: 10.6k]
  ------------------
 3132|  7.52M|        return _PyBytes_FromBuffer(x);
 3133|       |
 3134|  10.6k|    if (PyList_CheckExact(x))
  ------------------
  |  |   26|  10.6k|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|  10.6k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  10.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  10.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 10.5k, False: 46]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3135|  10.5k|        return _PyBytes_FromList(x);
 3136|       |
 3137|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3138|      0|        return _PyBytes_FromTuple(x);
 3139|       |
 3140|     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 (3140:9): [True: 46, False: 0]
  ------------------
 3141|     46|        it = PyObject_GetIter(x);
 3142|     46|        if (it != NULL) {
  ------------------
  |  Branch (3142:13): [True: 46, False: 0]
  ------------------
 3143|     46|            result = _PyBytes_FromIterator(it, x);
 3144|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3145|     46|            return result;
 3146|     46|        }
 3147|      0|        if (!PyErr_ExceptionMatches(PyExc_TypeError)) {
  ------------------
  |  Branch (3147:13): [True: 0, False: 0]
  ------------------
 3148|      0|            return NULL;
 3149|      0|        }
 3150|      0|    }
 3151|       |
 3152|      0|    PyErr_Format(PyExc_TypeError,
 3153|      0|                 "cannot convert '%.200s' object to bytes",
 3154|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3155|       |    return NULL;
 3156|     46|}
_PyBytes_Resize:
 3337|  7.62M|{
 3338|  7.62M|    PyObject *v;
 3339|  7.62M|    PyBytesObject *sv;
 3340|  7.62M|    v = *pv;
 3341|  7.62M|    if (!PyBytes_Check(v) || newsize < 0) {
  ------------------
  |  |   28|  7.62M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  15.2M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3341:9): [True: 0, False: 7.62M]
  |  Branch (3341:30): [True: 0, False: 7.62M]
  ------------------
 3342|      0|        *pv = 0;
 3343|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3344|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3345|      0|        return -1;
 3346|      0|    }
 3347|  7.62M|    Py_ssize_t oldsize = PyBytes_GET_SIZE(v);
  ------------------
  |  |   33|  7.62M|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  7.62M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.62M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3348|  7.62M|    if (oldsize == newsize) {
  ------------------
  |  Branch (3348:9): [True: 6, False: 7.62M]
  ------------------
 3349|       |        /* return early if newsize equals to v->ob_size */
 3350|      6|        return 0;
 3351|      6|    }
 3352|  7.62M|    if (oldsize == 0) {
  ------------------
  |  Branch (3352:9): [True: 7.52M, False: 93.8k]
  ------------------
 3353|  7.52M|        *pv = _PyBytes_FromSize(newsize, 0);
 3354|  7.52M|        Py_DECREF(v);
  ------------------
  |  |  430|  7.52M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.52M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.52M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3355|  7.52M|        return (*pv == NULL) ? -1 : 0;
  ------------------
  |  Branch (3355:16): [True: 0, False: 7.52M]
  ------------------
 3356|  7.52M|    }
 3357|  93.8k|    if (newsize == 0) {
  ------------------
  |  Branch (3357:9): [True: 2.02k, False: 91.8k]
  ------------------
 3358|  2.02k|        *pv = bytes_get_empty();
 3359|  2.02k|        Py_DECREF(v);
  ------------------
  |  |  430|  2.02k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.02k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.02k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3360|  2.02k|        return 0;
 3361|  2.02k|    }
 3362|  91.8k|    if (!_PyObject_IsUniquelyReferenced(v)) {
  ------------------
  |  Branch (3362:9): [True: 0, False: 91.8k]
  ------------------
 3363|      0|        if (oldsize < newsize) {
  ------------------
  |  Branch (3363:13): [True: 0, False: 0]
  ------------------
 3364|      0|            *pv = _PyBytes_FromSize(newsize, 0);
 3365|      0|            if (*pv) {
  ------------------
  |  Branch (3365:17): [True: 0, False: 0]
  ------------------
 3366|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3367|      0|            }
 3368|      0|        }
 3369|      0|        else {
 3370|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3371|      0|        }
 3372|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3373|      0|        return (*pv == NULL) ? -1 : 0;
  ------------------
  |  Branch (3373:16): [True: 0, False: 0]
  ------------------
 3374|      0|    }
 3375|       |
 3376|       |#ifdef Py_TRACE_REFS
 3377|       |    _Py_ForgetReference(v);
 3378|       |#endif
 3379|  91.8k|    _PyReftracerTrack(v, PyRefTracer_DESTROY);
  ------------------
  |  |  112|  91.8k|    do { \
  |  |  113|  91.8k|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  114|  91.8k|        if (tracer->tracer_func != NULL) { \
  |  |  ------------------
  |  |  |  Branch (114:13): [True: 0, False: 91.8k]
  |  |  ------------------
  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  117|      0|        } \
  |  |  118|  91.8k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (118:13): [Folded, False: 91.8k]
  |  |  ------------------
  ------------------
 3380|  91.8k|    *pv = (PyObject *)
 3381|  91.8k|        PyObject_Realloc(v, PyBytesObject_SIZE + newsize);
  ------------------
  |  |   28|  91.8k|#define PyBytesObject_SIZE _PyBytesObject_SIZE
  |  |  ------------------
  |  |  |  |   74|  91.8k|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
 3382|  91.8k|    if (*pv == NULL) {
  ------------------
  |  Branch (3382:9): [True: 0, False: 91.8k]
  ------------------
 3383|       |#ifdef Py_REF_DEBUG
 3384|       |        _Py_DecRefTotal(_PyThreadState_GET());
 3385|       |#endif
 3386|      0|        PyObject_Free(v);
 3387|      0|        PyErr_NoMemory();
 3388|      0|        return -1;
 3389|      0|    }
 3390|  91.8k|    _Py_NewReferenceNoTotal(*pv);
 3391|  91.8k|    sv = (PyBytesObject *) *pv;
 3392|  91.8k|    Py_SET_SIZE(sv, newsize);
  ------------------
  |  |  216|  91.8k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  91.8k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  91.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3393|  91.8k|    sv->ob_sval[newsize] = '\0';
 3394|  91.8k|    set_ob_shash(sv, -1);          /* invalidate cached hash value */
 3395|  91.8k|    return 0;
 3396|  91.8k|}
_PyBytes_Repeat:
 3560|      8|{
 3561|      8|    if (len_dest == 0) {
  ------------------
  |  Branch (3561:9): [True: 0, False: 8]
  ------------------
 3562|      0|        return;
 3563|      0|    }
 3564|      8|    if (len_src == 1) {
  ------------------
  |  Branch (3564:9): [True: 6, False: 2]
  ------------------
 3565|      6|        memset(dest, src[0], len_dest);
 3566|      6|    }
 3567|      2|    else {
 3568|      2|        if (src != dest) {
  ------------------
  |  Branch (3568:13): [True: 2, False: 0]
  ------------------
 3569|      2|            memcpy(dest, src, len_src);
 3570|      2|        }
 3571|      2|        Py_ssize_t copied = len_src;
 3572|     24|        while (copied < len_dest) {
  ------------------
  |  Branch (3572:16): [True: 22, False: 2]
  ------------------
 3573|     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]
  |  |  ------------------
  ------------------
 3574|     22|            memcpy(dest + copied, dest, bytes_to_copy);
 3575|     22|            copied += bytes_to_copy;
 3576|     22|        }
 3577|      2|    }
 3578|      8|}
PyBytesWriter_Create:
 3715|  8.88M|{
 3716|  8.88M|    return byteswriter_create(size, 0);
 3717|  8.88M|}
PyBytesWriter_Discard:
 3728|  8.88M|{
 3729|  8.88M|    if (writer == NULL) {
  ------------------
  |  Branch (3729:9): [True: 2.04k, False: 8.88M]
  ------------------
 3730|  2.04k|        return;
 3731|  2.04k|    }
 3732|       |
 3733|  8.88M|    Py_XDECREF(writer->obj);
  ------------------
  |  |  524|  8.88M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.88M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.88M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3734|  8.88M|    _Py_FREELIST_FREE(bytes_writers, writer, PyMem_Free);
  ------------------
  |  |   35|  8.88M|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  8.88M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.88M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  8.88M|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   30|  8.88M|#  define Py_bytes_writers_MAXFREELIST 1
  |  |  ------------------
  ------------------
 3735|  8.88M|}
PyBytesWriter_FinishWithSize:
 3740|  8.85M|{
 3741|  8.85M|    PyObject *result;
 3742|  8.85M|    if (size == 0) {
  ------------------
  |  Branch (3742:9): [True: 14.4k, False: 8.84M]
  ------------------
 3743|  14.4k|        result = bytes_get_empty();
 3744|  14.4k|    }
 3745|  8.84M|    else if (writer->obj != NULL) {
  ------------------
  |  Branch (3745:14): [True: 15.4k, False: 8.82M]
  ------------------
 3746|  15.4k|        if (writer->use_bytearray) {
  ------------------
  |  Branch (3746:13): [True: 0, False: 15.4k]
  ------------------
 3747|      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 (3747:17): [True: 0, False: 0]
  ------------------
 3748|      0|                if (PyByteArray_Resize(writer->obj, size)) {
  ------------------
  |  Branch (3748:21): [True: 0, False: 0]
  ------------------
 3749|      0|                    goto error;
 3750|      0|                }
 3751|      0|            }
 3752|      0|        }
 3753|  15.4k|        else {
 3754|  15.4k|            if (size != PyBytes_GET_SIZE(writer->obj)) {
  ------------------
  |  |   33|  15.4k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  15.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3754:17): [True: 14.8k, False: 612]
  ------------------
 3755|  14.8k|                if (_PyBytes_Resize(&writer->obj, size)) {
  ------------------
  |  Branch (3755:21): [True: 0, False: 14.8k]
  ------------------
 3756|      0|                    goto error;
 3757|      0|                }
 3758|  14.8k|            }
 3759|  15.4k|        }
 3760|  15.4k|        result = writer->obj;
 3761|  15.4k|        writer->obj = NULL;
 3762|  15.4k|    }
 3763|  8.82M|    else if (writer->use_bytearray) {
  ------------------
  |  Branch (3763:14): [True: 0, False: 8.82M]
  ------------------
 3764|      0|        result = PyByteArray_FromStringAndSize(writer->small_buffer, size);
 3765|      0|    }
 3766|  8.82M|    else {
 3767|  8.82M|        result = PyBytes_FromStringAndSize(writer->small_buffer, size);
 3768|  8.82M|    }
 3769|  8.85M|    PyBytesWriter_Discard(writer);
 3770|  8.85M|    return result;
 3771|       |
 3772|      0|error:
 3773|      0|    PyBytesWriter_Discard(writer);
 3774|       |    return NULL;
 3775|  8.85M|}
PyBytesWriter_Finish:
 3779|  7.62M|{
 3780|  7.62M|    return PyBytesWriter_FinishWithSize(writer, writer->size);
 3781|  7.62M|}
PyBytesWriter_FinishWithPointer:
 3786|  1.17M|{
 3787|  1.17M|    Py_ssize_t size = (char*)buf - byteswriter_data(writer);
 3788|  1.17M|    if (size < 0 || size > byteswriter_allocated(writer)) {
  ------------------
  |  Branch (3788:9): [True: 0, False: 1.17M]
  |  Branch (3788:21): [True: 0, False: 1.17M]
  ------------------
 3789|      0|        PyBytesWriter_Discard(writer);
 3790|      0|        PyErr_SetString(PyExc_ValueError, "invalid end pointer");
 3791|      0|        return NULL;
 3792|      0|    }
 3793|       |
 3794|  1.17M|    return PyBytesWriter_FinishWithSize(writer, size);
 3795|  1.17M|}
PyBytesWriter_GetData:
 3800|  8.89M|{
 3801|  8.89M|    return byteswriter_data(writer);
 3802|  8.89M|}
bytesobject.c:bytes_get_empty:
   44|  50.8k|{
   45|  50.8k|    PyObject *empty = &EMPTY->ob_base.ob_base;
  ------------------
  |  |   39|  50.8k|#define EMPTY (&_Py_SINGLETON(bytes_empty))
  |  |  ------------------
  |  |  |  |   18|  50.8k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  50.8k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   46|       |    assert(_Py_IsImmortal(empty));
   47|  50.8k|    return empty;
   48|  50.8k|}
bytesobject.c:_PyBytes_FromSize:
  102|  12.9M|{
  103|  12.9M|    PyBytesObject *op;
  104|  12.9M|    assert(size >= 0);
  105|       |
  106|  12.9M|    if (size == 0) {
  ------------------
  |  Branch (106:9): [True: 0, False: 12.9M]
  ------------------
  107|      0|        return bytes_get_empty();
  108|      0|    }
  109|       |
  110|  12.9M|    if ((size_t)size > (size_t)PY_SSIZE_T_MAX - PyBytesObject_SIZE) {
  ------------------
  |  |  137|  12.9M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
                  if ((size_t)size > (size_t)PY_SSIZE_T_MAX - PyBytesObject_SIZE) {
  ------------------
  |  |   28|  12.9M|#define PyBytesObject_SIZE _PyBytesObject_SIZE
  |  |  ------------------
  |  |  |  |   74|  12.9M|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
  |  Branch (110:9): [True: 0, False: 12.9M]
  ------------------
  111|      0|        PyErr_SetString(PyExc_OverflowError,
  112|      0|                        "byte string is too large");
  113|      0|        return NULL;
  114|      0|    }
  115|       |
  116|       |    /* Inline PyObject_NewVar */
  117|  12.9M|    if (use_calloc)
  ------------------
  |  Branch (117:9): [True: 0, False: 12.9M]
  ------------------
  118|      0|        op = (PyBytesObject *)PyObject_Calloc(1, PyBytesObject_SIZE + size);
  ------------------
  |  |   28|      0|#define PyBytesObject_SIZE _PyBytesObject_SIZE
  |  |  ------------------
  |  |  |  |   74|      0|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
  119|  12.9M|    else
  120|  12.9M|        op = (PyBytesObject *)PyObject_Malloc(PyBytesObject_SIZE + size);
  ------------------
  |  |   28|  12.9M|#define PyBytesObject_SIZE _PyBytesObject_SIZE
  |  |  ------------------
  |  |  |  |   74|  12.9M|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
  121|  12.9M|    if (op == NULL) {
  ------------------
  |  Branch (121:9): [True: 0, False: 12.9M]
  ------------------
  122|      0|        return PyErr_NoMemory();
  123|      0|    }
  124|  12.9M|    _PyObject_InitVar((PyVarObject*)op, &PyBytes_Type, size);
  125|  12.9M|    set_ob_shash(op, -1);
  126|  12.9M|    if (!use_calloc) {
  ------------------
  |  Branch (126:9): [True: 12.9M, False: 0]
  ------------------
  127|  12.9M|        op->ob_sval[size] = '\0';
  128|  12.9M|    }
  129|  12.9M|    return (PyObject *) op;
  130|  12.9M|}
bytesobject.c:set_ob_shash:
   53|  13.0M|{
   54|  13.0M|_Py_COMP_DIAG_PUSH
   55|  13.0M|_Py_COMP_DIAG_IGNORE_DEPR_DECLS
   56|       |#ifdef Py_GIL_DISABLED
   57|       |    _Py_atomic_store_ssize_relaxed(&a->ob_shash, hash);
   58|       |#else
   59|  13.0M|    a->ob_shash = hash;
   60|  13.0M|#endif
   61|  13.0M|_Py_COMP_DIAG_POP
   62|  13.0M|}
bytesobject.c:_PyBytes_FromBuffer:
 2958|  7.52M|{
 2959|  7.52M|    Py_buffer view;
 2960|  7.52M|    if (PyObject_GetBuffer(x, &view, PyBUF_FULL_RO) < 0)
  ------------------
  |  |  134|  7.52M|#define PyBUF_FULL_RO (PyBUF_INDIRECT | PyBUF_FORMAT)
  |  |  ------------------
  |  |  |  |  122|  7.52M|#define PyBUF_INDIRECT (0x0100 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|  7.52M|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|  7.52M|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define PyBUF_FULL_RO (PyBUF_INDIRECT | PyBUF_FORMAT)
  |  |  ------------------
  |  |  |  |  116|  7.52M|#define PyBUF_FORMAT 0x0004
  |  |  ------------------
  ------------------
  |  Branch (2960:9): [True: 0, False: 7.52M]
  ------------------
 2961|      0|        return NULL;
 2962|       |
 2963|  7.52M|    PyBytesWriter *writer = PyBytesWriter_Create(view.len);
 2964|  7.52M|    if (writer == NULL) {
  ------------------
  |  Branch (2964:9): [True: 0, False: 7.52M]
  ------------------
 2965|      0|        goto fail;
 2966|      0|    }
 2967|       |
 2968|  7.52M|    if (PyBuffer_ToContiguous(PyBytesWriter_GetData(writer),
  ------------------
  |  Branch (2968:9): [True: 0, False: 7.52M]
  ------------------
 2969|  7.52M|                              &view, view.len, 'C') < 0) {
 2970|      0|        goto fail;
 2971|      0|    }
 2972|       |
 2973|  7.52M|    PyBuffer_Release(&view);
 2974|  7.52M|    return PyBytesWriter_Finish(writer);
 2975|       |
 2976|      0|fail:
 2977|      0|    PyBytesWriter_Discard(writer);
 2978|      0|    PyBuffer_Release(&view);
 2979|       |    return NULL;
 2980|  7.52M|}
bytesobject.c:_PyBytes_FromList:
 2984|  10.5k|{
 2985|  10.5k|    Py_ssize_t size = PyList_GET_SIZE(x);
  ------------------
  |  |   38|  10.5k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2986|  10.5k|    PyBytesWriter *writer = PyBytesWriter_Create(size);
 2987|  10.5k|    if (writer == NULL) {
  ------------------
  |  Branch (2987:9): [True: 0, False: 10.5k]
  ------------------
 2988|      0|        return NULL;
 2989|      0|    }
 2990|  10.5k|    char *str = PyBytesWriter_GetData(writer);
 2991|  10.5k|    size = _PyBytesWriter_GetAllocated(writer);
 2992|       |
 2993|   487k|    for (Py_ssize_t i = 0; i < PyList_GET_SIZE(x); i++) {
  ------------------
  |  |   38|   487k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   487k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   487k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2993:28): [True: 477k, False: 10.5k]
  ------------------
 2994|   477k|        PyObject *item = PyList_GET_ITEM(x, i);
  ------------------
  |  |   40|   477k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|   477k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   477k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2995|   477k|        Py_INCREF(item);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2996|   477k|        Py_ssize_t value = PyNumber_AsSsize_t(item, NULL);
 2997|   477k|        Py_DECREF(item);
  ------------------
  |  |  430|   477k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   477k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   477k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2998|   477k|        if (value == -1 && PyErr_Occurred())
  ------------------
  |  Branch (2998:13): [True: 0, False: 477k]
  |  Branch (2998:28): [True: 0, False: 0]
  ------------------
 2999|      0|            goto error;
 3000|       |
 3001|   477k|        if (value < 0 || value >= 256) {
  ------------------
  |  Branch (3001:13): [True: 0, False: 477k]
  |  Branch (3001:26): [True: 0, False: 477k]
  ------------------
 3002|      0|            PyErr_SetString(PyExc_ValueError,
 3003|      0|                            "bytes must be in range(0, 256)");
 3004|      0|            goto error;
 3005|      0|        }
 3006|       |
 3007|   477k|        if (i >= size) {
  ------------------
  |  Branch (3007:13): [True: 0, False: 477k]
  ------------------
 3008|      0|            str = _PyBytesWriter_ResizeAndUpdatePointer(writer, size + 1, str);
 3009|      0|            if (str == NULL) {
  ------------------
  |  Branch (3009:17): [True: 0, False: 0]
  ------------------
 3010|      0|                goto error;
 3011|      0|            }
 3012|      0|            size = _PyBytesWriter_GetAllocated(writer);
 3013|      0|        }
 3014|   477k|        *str++ = (char) value;
 3015|   477k|    }
 3016|  10.5k|    return PyBytesWriter_FinishWithPointer(writer, str);
 3017|       |
 3018|      0|error:
 3019|      0|    PyBytesWriter_Discard(writer);
 3020|       |    return NULL;
 3021|  10.5k|}
bytesobject.c:_PyBytesWriter_GetAllocated:
 3814|  10.6k|{
 3815|  10.6k|    return byteswriter_allocated(writer);
 3816|  10.6k|}
bytesobject.c:_PyBytes_FromIterator:
 3058|     46|{
 3059|     46|    Py_ssize_t i, size;
 3060|       |
 3061|       |    /* For iterator version, create a bytes object and resize as needed */
 3062|     46|    size = PyObject_LengthHint(x, 64);
 3063|     46|    if (size == -1 && PyErr_Occurred())
  ------------------
  |  Branch (3063:9): [True: 0, False: 46]
  |  Branch (3063:23): [True: 0, False: 0]
  ------------------
 3064|      0|        return NULL;
 3065|       |
 3066|     46|    PyBytesWriter *writer = PyBytesWriter_Create(size);
 3067|     46|    if (writer == NULL) {
  ------------------
  |  Branch (3067:9): [True: 0, False: 46]
  ------------------
 3068|      0|        return NULL;
 3069|      0|    }
 3070|     46|    char *str = PyBytesWriter_GetData(writer);
 3071|     46|    size = _PyBytesWriter_GetAllocated(writer);
 3072|       |
 3073|       |    /* Run the iterator to exhaustion */
 3074|    354|    for (i = 0; ; i++) {
 3075|    354|        PyObject *item;
 3076|    354|        Py_ssize_t value;
 3077|       |
 3078|       |        /* Get the next item */
 3079|    354|        item = PyIter_Next(it);
 3080|    354|        if (item == NULL) {
  ------------------
  |  Branch (3080:13): [True: 46, False: 308]
  ------------------
 3081|     46|            if (PyErr_Occurred())
  ------------------
  |  Branch (3081:17): [True: 0, False: 46]
  ------------------
 3082|      0|                goto error;
 3083|     46|            break;
 3084|     46|        }
 3085|       |
 3086|       |        /* Interpret it as an int (__index__) */
 3087|    308|        value = PyNumber_AsSsize_t(item, NULL);
 3088|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3089|    308|        if (value == -1 && PyErr_Occurred())
  ------------------
  |  Branch (3089:13): [True: 0, False: 308]
  |  Branch (3089:28): [True: 0, False: 0]
  ------------------
 3090|      0|            goto error;
 3091|       |
 3092|       |        /* Range check */
 3093|    308|        if (value < 0 || value >= 256) {
  ------------------
  |  Branch (3093:13): [True: 0, False: 308]
  |  Branch (3093:26): [True: 0, False: 308]
  ------------------
 3094|      0|            PyErr_SetString(PyExc_ValueError,
 3095|      0|                            "bytes must be in range(0, 256)");
 3096|      0|            goto error;
 3097|      0|        }
 3098|       |
 3099|       |        /* Append the byte */
 3100|    308|        if (i >= size) {
  ------------------
  |  Branch (3100:13): [True: 0, False: 308]
  ------------------
 3101|      0|            str = _PyBytesWriter_ResizeAndUpdatePointer(writer, size + 1, str);
 3102|      0|            if (str == NULL) {
  ------------------
  |  Branch (3102:17): [True: 0, False: 0]
  ------------------
 3103|      0|                goto error;
 3104|      0|            }
 3105|      0|            size = _PyBytesWriter_GetAllocated(writer);
 3106|      0|        }
 3107|    308|        *str++ = (char) value;
 3108|    308|    }
 3109|     46|    return PyBytesWriter_FinishWithPointer(writer, str);
 3110|       |
 3111|      0|  error:
 3112|      0|    PyBytesWriter_Discard(writer);
 3113|       |    return NULL;
 3114|     46|}
bytesobject.c:bytes_repr:
 1516|      1|{
 1517|      1|    return PyBytes_Repr(op, 1);
 1518|      1|}
bytesobject.c:bytes_length:
 1534|  7.79M|{
 1535|  7.79M|    PyBytesObject *a = _PyBytes_CAST(self);
  ------------------
  |  |   21|  7.79M|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  7.79M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1536|  7.79M|    return Py_SIZE(a);
  ------------------
  |  |  214|  7.79M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  7.79M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.79M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1537|  7.79M|}
bytesobject.c:bytes_repeat:
 1586|      6|{
 1587|      6|    PyBytesObject *a = _PyBytes_CAST(self);
  ------------------
  |  |   21|      6|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1588|      6|    if (n < 0)
  ------------------
  |  Branch (1588:9): [True: 0, False: 6]
  ------------------
 1589|      0|        n = 0;
 1590|       |    /* watch out for overflows:  the size can overflow int,
 1591|       |     * and the # of bytes needed can overflow size_t
 1592|       |     */
 1593|      6|    if (n > 0 && Py_SIZE(a) > PY_SSIZE_T_MAX / n) {
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (n > 0 && Py_SIZE(a) > PY_SSIZE_T_MAX / n) {
  ------------------
  |  |  137|      6|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1593:9): [True: 6, False: 0]
  |  Branch (1593:18): [True: 0, False: 6]
  ------------------
 1594|      0|        PyErr_SetString(PyExc_OverflowError,
 1595|      0|            "repeated bytes are too long");
 1596|      0|        return NULL;
 1597|      0|    }
 1598|      6|    Py_ssize_t size = Py_SIZE(a) * n;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1599|      6|    if (size == Py_SIZE(a) && PyBytes_CheckExact(a)) {
  ------------------
  |  |  214|     12|#  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (size == Py_SIZE(a) && PyBytes_CheckExact(a)) {
  ------------------
  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1599:9): [True: 0, False: 6]
  ------------------
 1600|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1601|      0|    }
 1602|      6|    size_t nbytes = (size_t)size;
 1603|      6|    if (nbytes + PyBytesObject_SIZE <= nbytes) {
  ------------------
  |  |   28|      6|#define PyBytesObject_SIZE _PyBytesObject_SIZE
  |  |  ------------------
  |  |  |  |   74|      6|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
  |  Branch (1603:9): [True: 0, False: 6]
  ------------------
 1604|      0|        PyErr_SetString(PyExc_OverflowError,
 1605|      0|            "repeated bytes are too long");
 1606|      0|        return NULL;
 1607|      0|    }
 1608|      6|    PyBytesObject *op = PyObject_Malloc(PyBytesObject_SIZE + nbytes);
  ------------------
  |  |   28|      6|#define PyBytesObject_SIZE _PyBytesObject_SIZE
  |  |  ------------------
  |  |  |  |   74|      6|#define _PyBytesObject_SIZE (offsetof(PyBytesObject, ob_sval) + 1)
  |  |  ------------------
  ------------------
 1609|      6|    if (op == NULL) {
  ------------------
  |  Branch (1609:9): [True: 0, False: 6]
  ------------------
 1610|      0|        return PyErr_NoMemory();
 1611|      0|    }
 1612|      6|    _PyObject_InitVar((PyVarObject*)op, &PyBytes_Type, size);
 1613|      6|    set_ob_shash(op, -1);
 1614|      6|    op->ob_sval[size] = '\0';
 1615|       |
 1616|      6|    _PyBytes_Repeat(op->ob_sval, size, a->ob_sval, Py_SIZE(a));
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1617|       |
 1618|      6|    return (PyObject *) op;
 1619|      6|}
bytesobject.c:bytes_contains:
 1623|      7|{
 1624|      7|    return _Py_bytes_contains(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self), arg);
  ------------------
  |  |   27|      7|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return _Py_bytes_contains(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self), arg);
  ------------------
  |  |   33|      7|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1625|      7|}
bytesobject.c:bytes_subscript:
 1733|  7.55M|{
 1734|  7.55M|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|  7.55M|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  7.55M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1735|  7.55M|    if (_PyIndex_Check(item)) {
  ------------------
  |  Branch (1735:9): [True: 4, False: 7.55M]
  ------------------
 1736|      4|        Py_ssize_t i = PyNumber_AsSsize_t(item, PyExc_IndexError);
 1737|      4|        if (i == -1 && PyErr_Occurred())
  ------------------
  |  Branch (1737:13): [True: 0, False: 4]
  |  Branch (1737:24): [True: 0, False: 0]
  ------------------
 1738|      0|            return NULL;
 1739|      4|        if (i < 0)
  ------------------
  |  Branch (1739:13): [True: 0, False: 4]
  ------------------
 1740|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1741|      4|        if (i < 0 || i >= PyBytes_GET_SIZE(self)) {
  ------------------
  |  |   33|      4|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1741:13): [True: 0, False: 4]
  |  Branch (1741:22): [True: 0, False: 4]
  ------------------
 1742|      0|            PyErr_SetString(PyExc_IndexError,
 1743|      0|                            "index out of range");
 1744|      0|            return NULL;
 1745|      0|        }
 1746|      4|        return _PyLong_FromUnsignedChar((unsigned char)self->ob_sval[i]);
 1747|      4|    }
 1748|  7.55M|    else if (PySlice_Check(item)) {
  ------------------
  |  |   22|  7.55M|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  ------------------
  |  |  |  |  215|  7.55M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  7.55M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  7.55M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 7.55M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1749|  7.55M|        Py_ssize_t start, stop, step, slicelength, i;
 1750|  7.55M|        size_t cur;
 1751|  7.55M|        const char* source_buf;
 1752|  7.55M|        char* result_buf;
 1753|  7.55M|        PyObject* result;
 1754|       |
 1755|  7.55M|        if (PySlice_Unpack(item, &start, &stop, &step) < 0) {
  ------------------
  |  Branch (1755:13): [True: 0, False: 7.55M]
  ------------------
 1756|      0|            return NULL;
 1757|      0|        }
 1758|  7.55M|        slicelength = PySlice_AdjustIndices(PyBytes_GET_SIZE(self), &start,
  ------------------
  |  |   33|  7.55M|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  7.55M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.55M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1759|  7.55M|                                            &stop, step);
 1760|       |
 1761|  7.55M|        if (slicelength <= 0) {
  ------------------
  |  Branch (1761:13): [True: 67, False: 7.55M]
  ------------------
 1762|     67|            return Py_GetConstant(Py_CONSTANT_EMPTY_BYTES);
  ------------------
  |  |  598|     67|#define Py_CONSTANT_EMPTY_BYTES 8
  ------------------
 1763|     67|        }
 1764|  7.55M|        else if (start == 0 && step == 1 &&
  ------------------
  |  Branch (1764:18): [True: 19.0k, False: 7.53M]
  |  Branch (1764:32): [True: 19.0k, False: 0]
  ------------------
 1765|  19.0k|                 slicelength == PyBytes_GET_SIZE(self) &&
  ------------------
  |  |   33|  7.57M|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  19.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  19.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1765:18): [True: 92, False: 18.9k]
  ------------------
 1766|     92|                 PyBytes_CheckExact(self)) {
  ------------------
  |  |   29|     92|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_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 (215:32): [True: 92, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1767|     92|            return Py_NewRef(self);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1768|     92|        }
 1769|  7.55M|        else if (step == 1) {
  ------------------
  |  Branch (1769:18): [True: 7.55M, False: 0]
  ------------------
 1770|  7.55M|            return PyBytes_FromStringAndSize(
 1771|  7.55M|                PyBytes_AS_STRING(self) + start,
  ------------------
  |  |   27|  7.55M|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.55M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.55M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1772|  7.55M|                slicelength);
 1773|  7.55M|        }
 1774|      0|        else {
 1775|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1776|      0|            result = PyBytes_FromStringAndSize(NULL, slicelength);
 1777|      0|            if (result == NULL)
  ------------------
  |  Branch (1777:17): [True: 0, False: 0]
  ------------------
 1778|      0|                return NULL;
 1779|       |
 1780|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1781|      0|            for (cur = start, i = 0; i < slicelength;
  ------------------
  |  Branch (1781:38): [True: 0, False: 0]
  ------------------
 1782|      0|                 cur += step, i++) {
 1783|      0|                result_buf[i] = source_buf[cur];
 1784|      0|            }
 1785|       |
 1786|      0|            return result;
 1787|      0|        }
 1788|  7.55M|    }
 1789|      0|    else {
 1790|      0|        PyErr_Format(PyExc_TypeError,
 1791|      0|                     "byte indices must be integers or slices, not %.200s",
 1792|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1793|       |        return NULL;
 1794|      0|    }
 1795|  7.55M|}
bytesobject.c:bytes_hash:
 1720|  49.4k|{
 1721|  49.4k|    PyBytesObject *a = _PyBytes_CAST(self);
  ------------------
  |  |   21|  49.4k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  49.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1722|  49.4k|    Py_hash_t hash = get_ob_shash(a);
 1723|  49.4k|    if (hash == -1) {
  ------------------
  |  Branch (1723:9): [True: 6.99k, False: 42.4k]
  ------------------
 1724|       |        /* Can't fail */
 1725|  6.99k|        hash = Py_HashBuffer(a->ob_sval, Py_SIZE(a));
  ------------------
  |  |  214|  6.99k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  6.99k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.99k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1726|  6.99k|        set_ob_shash(a, hash);
 1727|  6.99k|    }
 1728|  49.4k|    return hash;
 1729|  49.4k|}
bytesobject.c:get_ob_shash:
   66|  49.4k|{
   67|  49.4k|_Py_COMP_DIAG_PUSH
   68|  49.4k|_Py_COMP_DIAG_IGNORE_DEPR_DECLS
   69|       |#ifdef Py_GIL_DISABLED
   70|       |    return _Py_atomic_load_ssize_relaxed(&a->ob_shash);
   71|       |#else
   72|  49.4k|    return a->ob_shash;
   73|  49.4k|#endif
   74|  49.4k|_Py_COMP_DIAG_POP
   75|  49.4k|}
bytesobject.c:bytes_buffer_getbuffer:
 1799|  15.2M|{
 1800|  15.2M|    PyBytesObject *self = _PyBytes_CAST(op);
  ------------------
  |  |   21|  15.2M|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  15.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1801|  15.2M|    return PyBuffer_FillInfo(view, (PyObject*)self, (void *)self->ob_sval, Py_SIZE(self),
  ------------------
  |  |  214|  15.2M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  15.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1802|  15.2M|                             1, flags);
 1803|  15.2M|}
bytesobject.c:bytes_richcompare:
 1657|  47.3k|{
 1658|       |    /* Make sure both arguments are strings. */
 1659|  47.3k|    if (!(PyBytes_Check(aa) && PyBytes_Check(bb))) {
  ------------------
  |  |   28|  47.3k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  94.7k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 47.3k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (!(PyBytes_Check(aa) && PyBytes_Check(bb))) {
  ------------------
  |  |   28|  47.3k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  47.3k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 47.3k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1660|      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 (1660:13): [True: 0, False: 0]
  |  Branch (1660:48): [True: 0, False: 0]
  |  Branch (1660:63): [True: 0, False: 0]
  ------------------
 1661|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1662|      0|                if (PyErr_WarnEx(PyExc_BytesWarning,
  ------------------
  |  Branch (1662:21): [True: 0, False: 0]
  ------------------
 1663|      0|                                 "Comparison between bytes and string", 1))
 1664|      0|                    return NULL;
 1665|      0|            }
 1666|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1667|      0|                if (PyErr_WarnEx(PyExc_BytesWarning,
  ------------------
  |  Branch (1667:21): [True: 0, False: 0]
  ------------------
 1668|      0|                                 "Comparison between bytes and int", 1))
 1669|      0|                    return NULL;
 1670|      0|            }
 1671|      0|        }
 1672|      0|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 1673|      0|    }
 1674|       |
 1675|  47.3k|    PyBytesObject *a = _PyBytes_CAST(aa);
  ------------------
  |  |   21|  47.3k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  47.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1676|  47.3k|    PyBytesObject *b = _PyBytes_CAST(bb);
  ------------------
  |  |   21|  47.3k|    (assert(PyBytes_Check(op)), _Py_CAST(PyBytesObject*, op))
  |  |  ------------------
  |  |  |  |   37|  47.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1677|  47.3k|    if (a == b) {
  ------------------
  |  Branch (1677:9): [True: 4, False: 47.3k]
  ------------------
 1678|      4|        switch (op) {
 1679|      4|        case Py_EQ:
  ------------------
  |  |  654|      4|#define Py_EQ 2
  ------------------
  |  Branch (1679:9): [True: 4, False: 0]
  ------------------
 1680|      4|        case Py_LE:
  ------------------
  |  |  653|      4|#define Py_LE 1
  ------------------
  |  Branch (1680:9): [True: 0, False: 4]
  ------------------
 1681|      4|        case Py_GE:
  ------------------
  |  |  657|      4|#define Py_GE 5
  ------------------
  |  Branch (1681:9): [True: 0, False: 4]
  ------------------
 1682|       |            /* a byte string is equal to itself */
 1683|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1684|      0|        case Py_NE:
  ------------------
  |  |  655|      0|#define Py_NE 3
  ------------------
  |  Branch (1684:9): [True: 0, False: 4]
  ------------------
 1685|      0|        case Py_LT:
  ------------------
  |  |  652|      0|#define Py_LT 0
  ------------------
  |  Branch (1685:9): [True: 0, False: 4]
  ------------------
 1686|      0|        case Py_GT:
  ------------------
  |  |  656|      0|#define Py_GT 4
  ------------------
  |  Branch (1686:9): [True: 0, False: 4]
  ------------------
 1687|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1688|      0|        default:
  ------------------
  |  Branch (1688:9): [True: 0, False: 4]
  ------------------
 1689|      0|            PyErr_BadArgument();
 1690|      0|            return NULL;
 1691|      4|        }
 1692|      4|    }
 1693|  47.3k|    else if (op == Py_EQ || op == Py_NE) {
  ------------------
  |  |  654|  94.7k|#define Py_EQ 2
  ------------------
                  else if (op == Py_EQ || op == Py_NE) {
  ------------------
  |  |  655|  4.04k|#define Py_NE 3
  ------------------
  |  Branch (1693:14): [True: 43.3k, False: 4.04k]
  |  Branch (1693:29): [True: 3.94k, False: 103]
  ------------------
 1694|  47.2k|        int eq = bytes_compare_eq(a, b);
 1695|  47.2k|        eq ^= (op == Py_NE);
  ------------------
  |  |  655|  47.2k|#define Py_NE 3
  ------------------
 1696|  47.2k|        return PyBool_FromLong(eq);
 1697|  47.2k|    }
 1698|    103|    else {
 1699|    103|        Py_ssize_t len_a = Py_SIZE(a);
  ------------------
  |  |  214|    103|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    103|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    103|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1700|    103|        Py_ssize_t len_b = Py_SIZE(b);
  ------------------
  |  |  214|    103|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    103|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    103|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1701|    103|        Py_ssize_t min_len = Py_MIN(len_a, len_b);
  ------------------
  |  |  112|    103|#define Py_MIN(x, y) (((x) > (y)) ? (y) : (x))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 35, False: 68]
  |  |  ------------------
  ------------------
 1702|    103|        int c;
 1703|    103|        if (min_len > 0) {
  ------------------
  |  Branch (1703:13): [True: 103, False: 0]
  ------------------
 1704|    103|            c = Py_CHARMASK(*a->ob_sval) - Py_CHARMASK(*b->ob_sval);
  ------------------
  |  |  138|    103|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
                          c = Py_CHARMASK(*a->ob_sval) - Py_CHARMASK(*b->ob_sval);
  ------------------
  |  |  138|    103|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 1705|    103|            if (c == 0)
  ------------------
  |  Branch (1705:17): [True: 103, False: 0]
  ------------------
 1706|    103|                c = memcmp(a->ob_sval, b->ob_sval, min_len);
 1707|    103|        }
 1708|      0|        else {
 1709|      0|            c = 0;
 1710|      0|        }
 1711|    103|        if (c != 0) {
  ------------------
  |  Branch (1711:13): [True: 103, False: 0]
  ------------------
 1712|    103|            Py_RETURN_RICHCOMPARE(c, 0, op);
  ------------------
  |  |  674|    103|    do {                                                                    \
  |  |  675|    103|        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: 103]
  |  |  |  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: 103]
  |  |  |  Branch (677:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  678|    103|        case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |  652|    103|#define Py_LT 0
  |  |  ------------------
  |  |                       case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   44|     62|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|     62|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     62|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     62|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   45|     41|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|     41|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     41|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     41|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (678:9): [True: 103, False: 0]
  |  |  |  Branch (678:25): [True: 62, False: 41]
  |  |  ------------------
  |  |  679|    103|        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: 103]
  |  |  |  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: 103]
  |  |  |  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: 103]
  |  |  |  Branch (681:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  682|      0|        default:                                                            \
  |  |  ------------------
  |  |  |  Branch (682:9): [True: 0, False: 103]
  |  |  ------------------
  |  |  683|      0|            Py_UNREACHABLE();                                               \
  |  |  ------------------
  |  |  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  |  |  ------------------
  |  |  684|    103|        }                                                                   \
  |  |  685|    103|    } while (0)
  |  |  ------------------
  |  |  |  Branch (685:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1713|    103|        }
 1714|      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]
  |  |  ------------------
  ------------------
 1715|      0|    }
 1716|  47.3k|}
bytesobject.c:bytes_compare_eq:
 1640|  47.2k|{
 1641|  47.2k|    int cmp;
 1642|  47.2k|    Py_ssize_t len;
 1643|       |
 1644|  47.2k|    len = Py_SIZE(a);
  ------------------
  |  |  214|  47.2k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  47.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  47.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1645|  47.2k|    if (Py_SIZE(b) != len)
  ------------------
  |  |  214|  47.2k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  47.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  47.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1645:9): [True: 39.5k, False: 7.71k]
  ------------------
 1646|  39.5k|        return 0;
 1647|       |
 1648|  7.71k|    if (a->ob_sval[0] != b->ob_sval[0])
  ------------------
  |  Branch (1648:9): [True: 22, False: 7.69k]
  ------------------
 1649|     22|        return 0;
 1650|       |
 1651|  7.69k|    cmp = memcmp(a->ob_sval, b->ob_sval, len);
 1652|  7.69k|    return (cmp == 0);
 1653|  7.71k|}
bytesobject.c:bytes_decode_impl:
 2577|     21|{
 2578|     21|    return PyUnicode_FromEncodedObject((PyObject*)self, encoding, errors);
 2579|     21|}
bytesobject.c:bytes_endswith_impl:
 2552|      3|{
 2553|      3|    return _Py_bytes_endswith(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self),
  ------------------
  |  |   27|      3|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return _Py_bytes_endswith(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self),
  ------------------
  |  |   33|      3|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2554|      3|                              subobj, start, end);
 2555|      3|}
bytesobject.c:bytes_join_impl:
 1994|  82.1k|{
 1995|  82.1k|    return stringlib_bytes_join((PyObject*)self, iterable_of_bytes);
 1996|  82.1k|}
bytesobject.c:bytes_maketrans_impl:
 2400|      2|{
 2401|      2|    return _Py_bytes_maketrans(frm, to);
 2402|      2|}
bytesobject.c:bytes_replace_impl:
 2425|     50|{
 2426|     50|    return stringlib_replace((PyObject *)self,
 2427|     50|                             (const char *)old->buf, old->len,
 2428|     50|                             (const char *)new->buf, new->len, count);
 2429|     50|}
bytesobject.c:bytes_startswith_impl:
 2527|     13|{
 2528|     13|    return _Py_bytes_startswith(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self),
  ------------------
  |  |   27|     13|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     13|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     13|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return _Py_bytes_startswith(PyBytes_AS_STRING(self), PyBytes_GET_SIZE(self),
  ------------------
  |  |   33|     13|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|     13|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     13|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2529|     13|                                subobj, start, end);
 2530|     13|}
bytesobject.c:bytes_new_impl:
 2874|  7.53M|{
 2875|  7.53M|    PyObject *bytes;
 2876|  7.53M|    PyObject *func;
 2877|  7.53M|    Py_ssize_t size;
 2878|       |
 2879|  7.53M|    if (x == NULL) {
  ------------------
  |  Branch (2879:9): [True: 0, False: 7.53M]
  ------------------
 2880|      0|        if (encoding != NULL || errors != NULL) {
  ------------------
  |  Branch (2880:13): [True: 0, False: 0]
  |  Branch (2880:33): [True: 0, False: 0]
  ------------------
 2881|      0|            PyErr_SetString(PyExc_TypeError,
 2882|      0|                            encoding != NULL ?
  ------------------
  |  Branch (2882:29): [True: 0, False: 0]
  ------------------
 2883|      0|                            "encoding without a string argument" :
 2884|      0|                            "errors without a string argument");
 2885|      0|            return NULL;
 2886|      0|        }
 2887|      0|        bytes = Py_GetConstant(Py_CONSTANT_EMPTY_BYTES);
  ------------------
  |  |  598|      0|#define Py_CONSTANT_EMPTY_BYTES 8
  ------------------
 2888|      0|    }
 2889|  7.53M|    else if (encoding != NULL) {
  ------------------
  |  Branch (2889:14): [True: 0, False: 7.53M]
  ------------------
 2890|       |        /* Encode via the codec registry */
 2891|      0|        if (!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 (2891:13): [True: 0, False: 0]
  ------------------
 2892|      0|            PyErr_SetString(PyExc_TypeError,
 2893|      0|                            "encoding without a string argument");
 2894|      0|            return NULL;
 2895|      0|        }
 2896|      0|        bytes = PyUnicode_AsEncodedString(x, encoding, errors);
 2897|      0|    }
 2898|  7.53M|    else if (errors != NULL) {
  ------------------
  |  Branch (2898:14): [True: 0, False: 7.53M]
  ------------------
 2899|      0|        PyErr_SetString(PyExc_TypeError,
 2900|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2901|      0|                        "string argument without an encoding" :
 2902|      0|                        "errors without a string argument");
 2903|      0|        return NULL;
 2904|      0|    }
 2905|       |    /* We'd like to call PyObject_Bytes here, but we need to check for an
 2906|       |       integer argument before deferring to PyBytes_FromObject, something
 2907|       |       PyObject_Bytes doesn't do. */
 2908|  7.53M|    else if ((func = _PyObject_LookupSpecial(x, &_Py_ID(__bytes__))) != NULL) {
  ------------------
  |  |  915|  7.53M|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  7.53M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  7.53M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2908:14): [True: 0, False: 7.53M]
  ------------------
 2909|      0|        bytes = _PyObject_CallNoArgs(func);
 2910|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2911|      0|        if (bytes == NULL)
  ------------------
  |  Branch (2911:13): [True: 0, False: 0]
  ------------------
 2912|      0|            return NULL;
 2913|      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 (2913:13): [True: 0, False: 0]
  ------------------
 2914|      0|            PyErr_Format(PyExc_TypeError,
 2915|      0|                         "%T.__bytes__() must return a bytes, not %T",
 2916|      0|                         x, bytes);
 2917|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2918|      0|            return NULL;
 2919|      0|        }
 2920|      0|    }
 2921|  7.53M|    else if (PyErr_Occurred())
  ------------------
  |  Branch (2921:14): [True: 0, False: 7.53M]
  ------------------
 2922|      0|        return NULL;
 2923|  7.53M|    else if (PyUnicode_Check(x)) {
  ------------------
  |  |  103|  7.53M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  7.53M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 7.53M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2924|      0|        PyErr_SetString(PyExc_TypeError,
 2925|      0|                        "string argument without an encoding");
 2926|      0|        return NULL;
 2927|      0|    }
 2928|       |    /* Is it an integer? */
 2929|  7.53M|    else if (_PyIndex_Check(x)) {
  ------------------
  |  Branch (2929:14): [True: 0, False: 7.53M]
  ------------------
 2930|      0|        size = PyNumber_AsSsize_t(x, PyExc_OverflowError);
 2931|      0|        if (size == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (2931:13): [True: 0, False: 0]
  |  Branch (2931:27): [True: 0, False: 0]
  ------------------
 2932|      0|            if (!PyErr_ExceptionMatches(PyExc_TypeError))
  ------------------
  |  Branch (2932:17): [True: 0, False: 0]
  ------------------
 2933|      0|                return NULL;
 2934|      0|            PyErr_Clear();  /* fall through */
 2935|      0|            bytes = PyBytes_FromObject(x);
 2936|      0|        }
 2937|      0|        else {
 2938|      0|            if (size < 0) {
  ------------------
  |  Branch (2938:17): [True: 0, False: 0]
  ------------------
 2939|      0|                PyErr_SetString(PyExc_ValueError, "negative count");
 2940|      0|                return NULL;
 2941|      0|            }
 2942|      0|            bytes = _PyBytes_FromSize(size, 1);
 2943|      0|        }
 2944|      0|    }
 2945|  7.53M|    else {
 2946|  7.53M|        bytes = PyBytes_FromObject(x);
 2947|  7.53M|    }
 2948|       |
 2949|  7.53M|    if (bytes != NULL && type != &PyBytes_Type) {
  ------------------
  |  Branch (2949:9): [True: 7.53M, False: 0]
  |  Branch (2949:26): [True: 0, False: 7.53M]
  ------------------
 2950|      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]
  |  |  ------------------
  ------------------
 2951|      0|    }
 2952|       |
 2953|  7.53M|    return bytes;
 2954|  7.53M|}
bytesobject.c:bytes_iteritem:
 3211|    384|{
 3212|    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))
  |  |  ------------------
  ------------------
 3213|    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 (3213:9): [True: 8, False: 376]
  ------------------
 3214|      8|        return (_PyObjectIndexPair) { .object = NULL, .index = index };
 3215|      8|    }
 3216|    376|    PyObject *l = _PyLong_FromUnsignedChar((unsigned char)a->ob_sval[index]);
 3217|    376|    return (_PyObjectIndexPair) { .object = l, .index = index + 1 };
 3218|    384|}
bytesobject.c:striter_dealloc:
 3411|      4|{
 3412|      4|    striterobject *it = _striterobject_CAST(op);
  ------------------
  |  | 3407|      4|#define _striterobject_CAST(op)  ((striterobject *)(op))
  ------------------
 3413|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3414|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3415|      4|    PyObject_GC_Del(it);
 3416|      4|}
bytesobject.c:striter_next:
 3428|    134|{
 3429|    134|    striterobject *it = _striterobject_CAST(op);
  ------------------
  |  | 3407|    134|#define _striterobject_CAST(op)  ((striterobject *)(op))
  ------------------
 3430|    134|    PyBytesObject *seq;
 3431|       |
 3432|    134|    assert(it != NULL);
 3433|    134|    seq = it->it_seq;
 3434|    134|    if (seq == NULL)
  ------------------
  |  Branch (3434:9): [True: 0, False: 134]
  ------------------
 3435|      0|        return NULL;
 3436|    134|    assert(PyBytes_Check(seq));
 3437|       |
 3438|    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 (3438:9): [True: 132, False: 2]
  ------------------
 3439|    132|        return _PyLong_FromUnsignedChar(
 3440|    132|            (unsigned char)seq->ob_sval[it->it_index++]);
 3441|    132|    }
 3442|       |
 3443|      2|    it->it_seq = NULL;
 3444|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3445|       |    return NULL;
 3446|    134|}
bytesobject.c:bytes_iter:
 3540|      4|{
 3541|      4|    striterobject *it;
 3542|       |
 3543|      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 (3543:9): [True: 0, False: 4]
  ------------------
 3544|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3545|      0|        return NULL;
 3546|      0|    }
 3547|      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))
  |  |  ------------------
  ------------------
 3548|      4|    if (it == NULL)
  ------------------
  |  Branch (3548:9): [True: 0, False: 4]
  ------------------
 3549|      0|        return NULL;
 3550|      4|    it->it_index = 0;
 3551|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3552|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3553|      4|    return (PyObject *)it;
 3554|      4|}
bytesobject.c:byteswriter_create:
 3681|  8.88M|{
 3682|  8.88M|    if (size < 0) {
  ------------------
  |  Branch (3682:9): [True: 0, False: 8.88M]
  ------------------
 3683|      0|        PyErr_SetString(PyExc_ValueError, "size must be >= 0");
 3684|      0|        return NULL;
 3685|      0|    }
 3686|       |
 3687|  8.88M|    PyBytesWriter *writer = _Py_FREELIST_POP_MEM(bytes_writers);
  ------------------
  |  |   48|  8.88M|    _PyFreeList_PopMem(&_Py_freelists_GET()->NAME)
  ------------------
 3688|  8.88M|    if (writer == NULL) {
  ------------------
  |  Branch (3688:9): [True: 6, False: 8.88M]
  ------------------
 3689|      6|        writer = (PyBytesWriter *)PyMem_Malloc(sizeof(PyBytesWriter));
 3690|      6|        if (writer == NULL) {
  ------------------
  |  Branch (3690:13): [True: 0, False: 6]
  ------------------
 3691|      0|            PyErr_NoMemory();
 3692|      0|            return NULL;
 3693|      0|        }
 3694|      6|    }
 3695|  8.88M|    writer->obj = NULL;
 3696|  8.88M|    writer->size = 0;
 3697|  8.88M|    writer->use_bytearray = use_bytearray;
 3698|  8.88M|    writer->overallocate = !use_bytearray;
 3699|       |
 3700|  8.88M|    if (size >= 1) {
  ------------------
  |  Branch (3700:9): [True: 8.88M, False: 7.05k]
  ------------------
 3701|  8.88M|        if (byteswriter_resize(writer, size, 0) < 0) {
  ------------------
  |  Branch (3701:13): [True: 0, False: 8.88M]
  ------------------
 3702|      0|            PyBytesWriter_Discard(writer);
 3703|      0|            return NULL;
 3704|      0|        }
 3705|  8.88M|        writer->size = size;
 3706|  8.88M|    }
 3707|       |#ifdef Py_DEBUG
 3708|       |    memset(byteswriter_data(writer), 0xff, byteswriter_allocated(writer));
 3709|       |#endif
 3710|  8.88M|    return writer;
 3711|  8.88M|}
bytesobject.c:byteswriter_data:
 3585|  10.0M|{
 3586|  10.0M|    return _PyBytesWriter_GetData(writer);
 3587|  10.0M|}
bytesobject.c:byteswriter_allocated:
 3592|  10.0M|{
 3593|  10.0M|    if (writer->obj == NULL) {
  ------------------
  |  Branch (3593:9): [True: 10.0M, False: 4.27k]
  ------------------
 3594|  10.0M|        return sizeof(writer->small_buffer);
 3595|  10.0M|    }
 3596|  4.27k|    else if (writer->use_bytearray) {
  ------------------
  |  Branch (3596:14): [True: 0, False: 4.27k]
  ------------------
 3597|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3598|      0|    }
 3599|  4.27k|    else {
 3600|  4.27k|        return PyBytes_GET_SIZE(writer->obj);
  ------------------
  |  |   33|  4.27k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  4.27k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.27k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3601|  4.27k|    }
 3602|  10.0M|}
bytesobject.c:byteswriter_resize:
 3615|  8.88M|{
 3616|  8.88M|    assert(size >= 0);
 3617|       |
 3618|  8.88M|    Py_ssize_t old_allocated = byteswriter_allocated(writer);
 3619|  8.88M|    if (size <= old_allocated) {
  ------------------
  |  Branch (3619:9): [True: 8.85M, False: 23.1k]
  ------------------
 3620|  8.85M|        return 0;
 3621|  8.85M|    }
 3622|       |
 3623|  23.1k|    if (resize & writer->overallocate) {
  ------------------
  |  Branch (3623:9): [True: 0, False: 23.1k]
  ------------------
 3624|      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)) {
  ------------------
  |  | 3610|      0|#  define OVERALLOCATE_FACTOR 4
  ------------------
  |  Branch (3624:13): [True: 0, False: 0]
  ------------------
 3625|      0|            size += size / OVERALLOCATE_FACTOR;
  ------------------
  |  | 3610|      0|#  define OVERALLOCATE_FACTOR 4
  ------------------
 3626|      0|        }
 3627|      0|    }
 3628|       |
 3629|  23.1k|    if (writer->obj != NULL) {
  ------------------
  |  Branch (3629:9): [True: 0, False: 23.1k]
  ------------------
 3630|      0|        if (writer->use_bytearray) {
  ------------------
  |  Branch (3630:13): [True: 0, False: 0]
  ------------------
 3631|      0|            if (PyByteArray_Resize(writer->obj, size)) {
  ------------------
  |  Branch (3631:17): [True: 0, False: 0]
  ------------------
 3632|      0|                return -1;
 3633|      0|            }
 3634|      0|        }
 3635|      0|        else {
 3636|      0|            if (_PyBytes_Resize(&writer->obj, size)) {
  ------------------
  |  Branch (3636:17): [True: 0, False: 0]
  ------------------
 3637|      0|                return -1;
 3638|      0|            }
 3639|      0|        }
 3640|      0|        assert(writer->obj != NULL);
 3641|      0|    }
 3642|  23.1k|    else if (writer->use_bytearray) {
  ------------------
  |  Branch (3642:14): [True: 0, False: 23.1k]
  ------------------
 3643|      0|        writer->obj = PyByteArray_FromStringAndSize(NULL, size);
 3644|      0|        if (writer->obj == NULL) {
  ------------------
  |  Branch (3644:13): [True: 0, False: 0]
  ------------------
 3645|      0|            return -1;
 3646|      0|        }
 3647|      0|        if (resize) {
  ------------------
  |  Branch (3647:13): [True: 0, False: 0]
  ------------------
 3648|      0|            assert((size_t)size > sizeof(writer->small_buffer));
 3649|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3650|      0|                   writer->small_buffer,
 3651|      0|                   sizeof(writer->small_buffer));
 3652|      0|        }
 3653|      0|    }
 3654|  23.1k|    else {
 3655|  23.1k|        writer->obj = PyBytes_FromStringAndSize(NULL, size);
 3656|  23.1k|        if (writer->obj == NULL) {
  ------------------
  |  Branch (3656:13): [True: 0, False: 23.1k]
  ------------------
 3657|      0|            return -1;
 3658|      0|        }
 3659|  23.1k|        if (resize) {
  ------------------
  |  Branch (3659:13): [True: 0, False: 23.1k]
  ------------------
 3660|      0|            assert((size_t)size > sizeof(writer->small_buffer));
 3661|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3662|      0|                   writer->small_buffer,
 3663|      0|                   sizeof(writer->small_buffer));
 3664|      0|        }
 3665|  23.1k|    }
 3666|       |
 3667|       |#ifdef Py_DEBUG
 3668|       |    Py_ssize_t allocated = byteswriter_allocated(writer);
 3669|       |    if (resize && allocated > old_allocated) {
 3670|       |        memset(byteswriter_data(writer) + old_allocated, 0xff,
 3671|       |               allocated - old_allocated);
 3672|       |    }
 3673|       |#endif
 3674|       |
 3675|  23.1k|    return 0;
 3676|  23.1k|}

_Py_CheckFunctionResult:
   27|  51.8M|{
   28|  51.8M|    assert((callable != NULL) ^ (where != NULL));
   29|       |
   30|  51.8M|    if (result == NULL) {
  ------------------
  |  Branch (30:9): [True: 45.0k, False: 51.8M]
  ------------------
   31|  45.0k|        if (!_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (31:13): [True: 0, False: 45.0k]
  ------------------
   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|  45.0k|    }
   48|  51.8M|    else {
   49|  51.8M|        if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (49:13): [True: 0, False: 51.8M]
  ------------------
   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|  51.8M|    }
   70|  51.8M|    return result;
   71|  51.8M|}
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|   414k|{
  115|   414k|    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|   414k|    assert(!_PyErr_Occurred(tstate));
  121|       |
  122|   414k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|   414k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  123|   414k|    assert(nargs >= 0);
  124|   414k|    assert(nargs == 0 || args != NULL);
  125|   414k|    assert(kwargs == NULL || PyDict_Check(kwargs));
  126|       |
  127|   414k|    vectorcallfunc func = PyVectorcall_Function(callable);
  128|   414k|    if (func == NULL) {
  ------------------
  |  Branch (128:9): [True: 452, False: 414k]
  ------------------
  129|       |        /* Use tp_call instead */
  130|    452|        return _PyObject_MakeTpCall(tstate, callable, args, nargs, kwargs);
  131|    452|    }
  132|       |
  133|   414k|    PyObject *res;
  134|   414k|    if (kwargs == NULL || PyDict_GET_SIZE(kwargs) == 0) {
  ------------------
  |  |   63|   251k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   251k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   251k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (134:9): [True: 162k, False: 251k]
  |  Branch (134:27): [True: 178, False: 251k]
  ------------------
  135|   162k|        res = func(callable, args, nargsf, NULL);
  136|   162k|    }
  137|   251k|    else {
  138|   251k|        PyObject *kwnames;
  139|   251k|        PyObject *const *newargs;
  140|   251k|        newargs = _PyStack_UnpackDict(tstate,
  141|   251k|                                      args, nargs,
  142|   251k|                                      kwargs, &kwnames);
  143|   251k|        if (newargs == NULL) {
  ------------------
  |  Branch (143:13): [True: 0, False: 251k]
  ------------------
  144|      0|            return NULL;
  145|      0|        }
  146|   251k|        res = func(callable, newargs,
  147|   251k|                   nargs | PY_VECTORCALL_ARGUMENTS_OFFSET, kwnames);
  ------------------
  |  |  287|   251k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|   251k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  148|   251k|        _PyStack_UnpackDict_Free(newargs, nargs, kwnames);
  149|   251k|    }
  150|   414k|    return _Py_CheckFunctionResult(tstate, callable, res, NULL);
  151|   414k|}
PyObject_VectorcallDict:
  157|  6.31k|{
  158|  6.31k|    PyThreadState *tstate = _PyThreadState_GET();
  159|  6.31k|    return _PyObject_VectorcallDictTstate(tstate, callable, args, nargsf, kwargs);
  160|  6.31k|}
_PyObject_MakeTpCall:
  203|  17.2M|{
  204|  17.2M|    assert(nargs >= 0);
  205|  17.2M|    assert(nargs == 0 || args != NULL);
  206|  17.2M|    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|  17.2M|    ternaryfunc call = Py_TYPE(callable)->tp_call;
  ------------------
  |  |  213|  17.2M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  17.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  211|  17.2M|    if (call == NULL) {
  ------------------
  |  Branch (211:9): [True: 0, False: 17.2M]
  ------------------
  212|      0|        object_is_not_callable(tstate, callable);
  213|      0|        return NULL;
  214|      0|    }
  215|       |
  216|  17.2M|    PyObject *argstuple = PyTuple_FromArray(args, nargs);
  217|  17.2M|    if (argstuple == NULL) {
  ------------------
  |  Branch (217:9): [True: 0, False: 17.2M]
  ------------------
  218|      0|        return NULL;
  219|      0|    }
  220|       |
  221|  17.2M|    PyObject *kwdict;
  222|  17.2M|    if (keywords == NULL || PyDict_Check(keywords)) {
  ------------------
  |  |   18|   277k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   277k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 64, False: 277k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (222:9): [True: 16.9M, False: 277k]
  ------------------
  223|  16.9M|        kwdict = keywords;
  224|  16.9M|    }
  225|   277k|    else {
  226|   277k|        if (PyTuple_GET_SIZE(keywords)) {
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (27:30): [True: 277k, False: 0]
  |  |  ------------------
  ------------------
  227|   277k|            assert(args != NULL);
  228|   277k|            kwdict = _PyStack_AsDict(args + nargs, keywords);
  229|   277k|            if (kwdict == NULL) {
  ------------------
  |  Branch (229:17): [True: 0, False: 277k]
  ------------------
  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|   277k|        }
  234|      0|        else {
  235|      0|            keywords = kwdict = NULL;
  236|      0|        }
  237|   277k|    }
  238|       |
  239|  17.2M|    PyObject *result = NULL;
  240|  17.2M|    if (_Py_EnterRecursiveCallTstate(tstate, " while calling a Python object") == 0)
  ------------------
  |  Branch (240:9): [True: 17.2M, False: 0]
  ------------------
  241|  17.2M|    {
  242|  17.2M|        result = _PyCFunctionWithKeywords_TrampolineCall(
  ------------------
  |  |  999|  17.2M|    (meth)((self), (args), (kw))
  ------------------
  243|  17.2M|            (PyCFunctionWithKeywords)call, callable, argstuple, kwdict);
  244|  17.2M|        _Py_LeaveRecursiveCallTstate(tstate);
  245|  17.2M|    }
  246|       |
  247|  17.2M|    Py_DECREF(argstuple);
  ------------------
  |  |  430|  17.2M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  17.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  248|  17.2M|    if (kwdict != keywords) {
  ------------------
  |  Branch (248:9): [True: 277k, False: 16.9M]
  ------------------
  249|   277k|        Py_DECREF(kwdict);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|   277k|    }
  251|       |
  252|       |    return _Py_CheckFunctionResult(tstate, callable, result, NULL);
  253|  17.2M|}
PyVectorcall_Function:
  258|  2.54M|{
  259|  2.54M|    return _PyVectorcall_FunctionInline(callable);
  260|  2.54M|}
PyObject_Vectorcall:
  325|  27.3M|{
  326|  27.3M|    PyThreadState *tstate = _PyThreadState_GET();
  327|  27.3M|    return _PyObject_VectorcallTstate(tstate, callable,
  328|  27.3M|                                      args, nargsf, kwnames);
  329|  27.3M|}
_PyObject_Call:
  335|  2.12M|{
  336|  2.12M|    ternaryfunc call;
  337|  2.12M|    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|  2.12M|    assert(!_PyErr_Occurred(tstate));
  343|  2.12M|    assert(PyTuple_Check(args));
  344|  2.12M|    assert(kwargs == NULL || PyDict_Check(kwargs));
  345|  2.12M|    EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_API, callable);
  ------------------
  |  |   80|  2.12M|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
  346|  2.12M|    vectorcallfunc vector_func = PyVectorcall_Function(callable);
  347|  2.12M|    if (vector_func != NULL) {
  ------------------
  |  Branch (347:9): [True: 2.05M, False: 72.8k]
  ------------------
  348|  2.05M|        return _PyVectorcall_Call(tstate, vector_func, callable, args, kwargs);
  349|  2.05M|    }
  350|  72.8k|    else {
  351|  72.8k|        call = Py_TYPE(callable)->tp_call;
  ------------------
  |  |  213|  72.8k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  72.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  72.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  352|  72.8k|        if (call == NULL) {
  ------------------
  |  Branch (352:13): [True: 0, False: 72.8k]
  ------------------
  353|      0|            object_is_not_callable(tstate, callable);
  354|      0|            return NULL;
  355|      0|        }
  356|       |
  357|  72.8k|        if (_Py_EnterRecursiveCallTstate(tstate, " while calling a Python object")) {
  ------------------
  |  Branch (357:13): [True: 0, False: 72.8k]
  ------------------
  358|      0|            return NULL;
  359|      0|        }
  360|       |
  361|  72.8k|        result = (*call)(callable, args, kwargs);
  362|       |
  363|  72.8k|        _Py_LeaveRecursiveCallTstate(tstate);
  364|       |
  365|       |        return _Py_CheckFunctionResult(tstate, callable, result, NULL);
  366|  72.8k|    }
  367|  2.12M|}
PyObject_Call:
  371|  2.11M|{
  372|  2.11M|    PyThreadState *tstate = _PyThreadState_GET();
  373|  2.11M|    return _PyObject_Call(tstate, callable, args, kwargs);
  374|  2.11M|}
PyObject_CallOneArg:
  387|  1.87M|{
  388|  1.87M|    EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_API, func);
  ------------------
  |  |   80|  1.87M|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
  389|  1.87M|    assert(arg != NULL);
  390|  1.87M|    PyObject *_args[2];
  391|  1.87M|    PyObject **args = _args + 1;  // For PY_VECTORCALL_ARGUMENTS_OFFSET
  392|  1.87M|    args[0] = arg;
  393|  1.87M|    PyThreadState *tstate = _PyThreadState_GET();
  394|  1.87M|    size_t nargsf = 1 | PY_VECTORCALL_ARGUMENTS_OFFSET;
  ------------------
  |  |  287|  1.87M|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  1.87M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  395|       |    return _PyObject_VectorcallTstate(tstate, func, args, nargsf, NULL);
  396|  1.87M|}
_PyFunction_Vectorcall:
  404|  4.39M|{
  405|  4.39M|    assert(PyFunction_Check(func));
  406|  4.39M|    PyFunctionObject *f = (PyFunctionObject *)func;
  407|  4.39M|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  4.39M|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  408|  4.39M|    assert(nargs >= 0);
  409|  4.39M|    PyThreadState *tstate = _PyThreadState_GET();
  410|  4.39M|    assert(nargs == 0 || stack != NULL);
  411|  4.39M|    EVAL_CALL_STAT_INC(EVAL_CALL_FUNCTION_VECTORCALL);
  ------------------
  |  |   79|  4.39M|#define EVAL_CALL_STAT_INC(name) ((void)0)
  ------------------
  412|  4.39M|    if (((PyCodeObject *)f->func_code)->co_flags & CO_OPTIMIZED) {
  ------------------
  |  |  118|  4.39M|#define CO_OPTIMIZED    0x0001
  ------------------
  |  Branch (412:9): [True: 4.39M, False: 0]
  ------------------
  413|  4.39M|        return _PyEval_Vector(tstate, f, NULL, stack, nargs, kwnames);
  414|  4.39M|    }
  415|      0|    else {
  416|      0|        return _PyEval_Vector(tstate, f, f->func_globals, stack, nargs, kwnames);
  417|      0|    }
  418|  4.39M|}
PyObject_CallObject:
  461|  3.43k|{
  462|  3.43k|    PyThreadState *tstate = _PyThreadState_GET();
  463|  3.43k|    assert(!_PyErr_Occurred(tstate));
  464|  3.43k|    if (args == NULL) {
  ------------------
  |  Branch (464:9): [True: 0, False: 3.43k]
  ------------------
  465|      0|        return _PyObject_CallNoArgsTstate(tstate, callable);
  466|      0|    }
  467|  3.43k|    if (!PyTuple_Check(args)) {
  ------------------
  |  |   27|  3.43k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  3.43k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (467:9): [True: 0, False: 3.43k]
  ------------------
  468|      0|        _PyErr_SetString(tstate, PyExc_TypeError,
  469|      0|                         "argument list must be a tuple");
  470|      0|        return NULL;
  471|      0|    }
  472|  3.43k|    return _PyObject_Call(tstate, callable, args, NULL);
  473|  3.43k|}
_PyObject_Call_Prepend:
  480|   408k|{
  481|   408k|    assert(PyTuple_Check(args));
  482|       |
  483|   408k|    PyObject *small_stack[_PY_FASTCALL_SMALL_STACK];
  484|   408k|    PyObject **stack;
  485|       |
  486|   408k|    Py_ssize_t argcount = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|   408k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   408k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   408k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  487|   408k|    if (argcount + 1 <= (Py_ssize_t)Py_ARRAY_LENGTH(small_stack)) {
  ------------------
  |  |  196|   408k|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (487:9): [True: 404k, False: 4.32k]
  ------------------
  488|   404k|        stack = small_stack;
  489|   404k|    }
  490|  4.32k|    else {
  491|  4.32k|        stack = PyMem_Malloc((argcount + 1) * sizeof(PyObject *));
  492|  4.32k|        if (stack == NULL) {
  ------------------
  |  Branch (492:13): [True: 0, False: 4.32k]
  ------------------
  493|      0|            PyErr_NoMemory();
  494|      0|            return NULL;
  495|      0|        }
  496|  4.32k|    }
  497|       |
  498|       |    /* use borrowed references */
  499|   408k|    stack[0] = obj;
  500|   408k|    memcpy(&stack[1],
  501|   408k|           _PyTuple_ITEMS(args),
  ------------------
  |  |   26|   408k|#define _PyTuple_ITEMS(op) _Py_RVALUE(_PyTuple_CAST(op)->ob_item)
  |  |  ------------------
  |  |  |  |  277|   408k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  502|   408k|           argcount * sizeof(PyObject *));
  503|       |
  504|   408k|    PyObject *result = _PyObject_VectorcallDictTstate(tstate, callable,
  505|   408k|                                                      stack, argcount + 1,
  506|   408k|                                                      kwargs);
  507|   408k|    if (stack != small_stack) {
  ------------------
  |  Branch (507:9): [True: 4.32k, False: 404k]
  ------------------
  508|  4.32k|        PyMem_Free(stack);
  509|  4.32k|    }
  510|   408k|    return result;
  511|   408k|}
PyObject_CallFunction:
  568|  74.7k|{
  569|  74.7k|    va_list va;
  570|  74.7k|    PyObject *result;
  571|  74.7k|    PyThreadState *tstate = _PyThreadState_GET();
  572|       |
  573|  74.7k|    va_start(va, format);
  574|  74.7k|    result = _PyObject_CallFunctionVa(tstate, callable, format, va);
  575|  74.7k|    va_end(va);
  576|       |
  577|  74.7k|    return result;
  578|  74.7k|}
PyObject_CallMethod:
  631|    769|{
  632|    769|    PyThreadState *tstate = _PyThreadState_GET();
  633|       |
  634|    769|    if (obj == NULL || name == NULL) {
  ------------------
  |  Branch (634:9): [True: 0, False: 769]
  |  Branch (634:24): [True: 0, False: 769]
  ------------------
  635|      0|        return null_error(tstate);
  636|      0|    }
  637|       |
  638|    769|    PyObject *callable = PyObject_GetAttrString(obj, name);
  639|    769|    if (callable == NULL) {
  ------------------
  |  Branch (639:9): [True: 0, False: 769]
  ------------------
  640|      0|        return NULL;
  641|      0|    }
  642|       |
  643|    769|    va_list va;
  644|    769|    va_start(va, format);
  645|    769|    PyObject *retval = callmethod(tstate, callable, format, va);
  646|    769|    va_end(va);
  647|       |
  648|    769|    Py_DECREF(callable);
  ------------------
  |  |  430|    769|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    769|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    769|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  649|    769|    return retval;
  650|    769|}
_PyObject_CallMethod:
  681|     65|{
  682|     65|    PyThreadState *tstate = _PyThreadState_GET();
  683|     65|    if (obj == NULL || name == NULL) {
  ------------------
  |  Branch (683:9): [True: 0, False: 65]
  |  Branch (683:24): [True: 0, False: 65]
  ------------------
  684|      0|        return null_error(tstate);
  685|      0|    }
  686|       |
  687|     65|    PyObject *callable = PyObject_GetAttr(obj, name);
  688|     65|    if (callable == NULL) {
  ------------------
  |  Branch (688:9): [True: 0, False: 65]
  ------------------
  689|      0|        return NULL;
  690|      0|    }
  691|       |
  692|     65|    va_list va;
  693|     65|    va_start(va, format);
  694|     65|    PyObject *retval = callmethod(tstate, callable, format, va);
  695|     65|    va_end(va);
  696|       |
  697|     65|    Py_DECREF(callable);
  ------------------
  |  |  430|     65|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     65|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     65|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  698|     65|    return retval;
  699|     65|}
_PyObject_VectorcallPrepend:
  835|  2.09M|{
  836|  2.09M|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  2.09M|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  837|  2.09M|    assert(nargs == 0 || args[nargs-1]);
  838|       |
  839|  2.09M|    PyObject *result;
  840|  2.09M|    if (nargsf & PY_VECTORCALL_ARGUMENTS_OFFSET) {
  ------------------
  |  |  287|  2.09M|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  2.09M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (840:9): [True: 2.08M, False: 1.49k]
  ------------------
  841|       |        /* PY_VECTORCALL_ARGUMENTS_OFFSET is set, so we are allowed to mutate the vector */
  842|  2.08M|        PyObject **newargs = (PyObject**)args - 1;
  843|  2.08M|        nargs += 1;
  844|  2.08M|        PyObject *tmp = newargs[0];
  845|  2.08M|        newargs[0] = arg;
  846|  2.08M|        assert(newargs[nargs-1]);
  847|  2.08M|        result = _PyObject_VectorcallTstate(tstate, callable, newargs,
  848|  2.08M|                                            nargs, kwnames);
  849|  2.08M|        newargs[0] = tmp;
  850|  2.08M|    }
  851|  1.49k|    else {
  852|  1.49k|        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.49k, False: 0]
  ------------------
  853|  1.49k|        Py_ssize_t totalargs = nargs + nkwargs;
  854|  1.49k|        if (totalargs == 0) {
  ------------------
  |  Branch (854:13): [True: 85, False: 1.41k]
  ------------------
  855|     85|            return _PyObject_VectorcallTstate(tstate, callable, &arg, 1, NULL);
  856|     85|        }
  857|       |
  858|  1.41k|        PyObject *newargs_stack[_PY_FASTCALL_SMALL_STACK];
  859|  1.41k|        PyObject **newargs;
  860|  1.41k|        if (totalargs <= (Py_ssize_t)Py_ARRAY_LENGTH(newargs_stack) - 1) {
  ------------------
  |  |  196|  1.41k|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (860:13): [True: 580, False: 830]
  ------------------
  861|    580|            newargs = newargs_stack;
  862|    580|        }
  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.41k|        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.41k|        assert(args != NULL);
  876|  1.41k|        memcpy(newargs + 1, args, totalargs * sizeof(PyObject *));
  877|  1.41k|        result = _PyObject_VectorcallTstate(tstate, callable,
  878|  1.41k|                                            newargs, nargs+1, kwnames);
  879|  1.41k|        if (newargs != newargs_stack) {
  ------------------
  |  Branch (879:13): [True: 830, False: 580]
  ------------------
  880|    830|            PyMem_Free(newargs);
  881|    830|        }
  882|  1.41k|    }
  883|  2.09M|    return result;
  884|  2.09M|}
PyObject_VectorcallMethod:
  889|   137k|{
  890|   137k|    assert(name != NULL);
  891|   137k|    assert(args != NULL);
  892|   137k|    assert(PyVectorcall_NARGS(nargsf) >= 1);
  893|       |
  894|   137k|    PyThreadState *tstate = _PyThreadState_GET();
  895|   137k|    _PyCStackRef self, method;
  896|   137k|    _PyThreadState_PushCStackRef(tstate, &self);
  897|   137k|    _PyThreadState_PushCStackRef(tstate, &method);
  898|       |    /* Use args[0] as "self" argument */
  899|   137k|    self.ref = PyStackRef_FromPyObjectBorrow(args[0]);
  900|   137k|    int unbound = _PyObject_GetMethodStackRef(tstate, &self.ref, name, &method.ref);
  901|   137k|    if (unbound < 0) {
  ------------------
  |  Branch (901:9): [True: 3, False: 137k]
  ------------------
  902|      3|        _PyThreadState_PopCStackRef(tstate, &method);
  903|      3|        _PyThreadState_PopCStackRef(tstate, &self);
  904|      3|        return NULL;
  905|      3|    }
  906|       |
  907|   137k|    PyObject *callable = PyStackRef_AsPyObjectBorrow(method.ref);
  908|   137k|    PyObject *self_obj = PyStackRef_AsPyObjectBorrow(self.ref);
  909|   137k|    PyObject *result;
  910|       |
  911|   137k|    EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_METHOD, callable);
  ------------------
  |  |   80|   137k|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
  912|   137k|    if (self_obj == NULL) {
  ------------------
  |  Branch (912:9): [True: 27.8k, False: 109k]
  ------------------
  913|       |        /* Skip "self". We can keep PY_VECTORCALL_ARGUMENTS_OFFSET since
  914|       |         * args[-1] in the onward call is args[0] here. */
  915|  27.8k|        result = _PyObject_VectorcallTstate(tstate, callable,
  916|  27.8k|                                            args + 1, nargsf - 1, kwnames);
  917|  27.8k|    }
  918|   109k|    else if (self_obj == args[0]) {
  ------------------
  |  Branch (918:14): [True: 109k, False: 0]
  ------------------
  919|       |        /* We must remove PY_VECTORCALL_ARGUMENTS_OFFSET since
  920|       |         * that would be interpreted as allowing to change args[-1] */
  921|   109k|        result = _PyObject_VectorcallTstate(tstate, callable, args,
  922|   109k|                                            nargsf & ~PY_VECTORCALL_ARGUMENTS_OFFSET,
  ------------------
  |  |  287|   109k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|   109k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  923|   109k|                                            kwnames);
  924|   109k|    }
  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|   137k|    _PyThreadState_PopCStackRef(tstate, &method);
  932|   137k|    _PyThreadState_PopCStackRef(tstate, &self);
  933|   137k|    return result;
  934|   137k|}
PyObject_CallMethodObjArgs:
  939|  11.4k|{
  940|  11.4k|    PyThreadState *tstate = _PyThreadState_GET();
  941|  11.4k|    if (obj == NULL || name == NULL) {
  ------------------
  |  Branch (941:9): [True: 0, False: 11.4k]
  |  Branch (941:24): [True: 0, False: 11.4k]
  ------------------
  942|      0|        return null_error(tstate);
  943|      0|    }
  944|       |
  945|  11.4k|    _PyCStackRef self, method;
  946|  11.4k|    _PyThreadState_PushCStackRef(tstate, &self);
  947|  11.4k|    _PyThreadState_PushCStackRef(tstate, &method);
  948|  11.4k|    self.ref = PyStackRef_FromPyObjectBorrow(obj);
  949|  11.4k|    int res = _PyObject_GetMethodStackRef(tstate, &self.ref, name, &method.ref);
  950|  11.4k|    if (res < 0) {
  ------------------
  |  Branch (950:9): [True: 0, False: 11.4k]
  ------------------
  951|      0|        _PyThreadState_PopCStackRef(tstate, &method);
  952|      0|        _PyThreadState_PopCStackRef(tstate, &self);
  953|      0|        return NULL;
  954|      0|    }
  955|  11.4k|    PyObject *callable = PyStackRef_AsPyObjectBorrow(method.ref);
  956|  11.4k|    PyObject *self_obj = PyStackRef_AsPyObjectBorrow(self.ref);
  957|       |
  958|  11.4k|    va_list vargs;
  959|  11.4k|    va_start(vargs, name);
  960|  11.4k|    PyObject *result = object_vacall(tstate, self_obj, callable, vargs);
  961|  11.4k|    va_end(vargs);
  962|       |
  963|  11.4k|    _PyThreadState_PopCStackRef(tstate, &method);
  964|  11.4k|    _PyThreadState_PopCStackRef(tstate, &self);
  965|  11.4k|    return result;
  966|  11.4k|}
PyObject_CallFunctionObjArgs:
  971|  5.54k|{
  972|  5.54k|    PyThreadState *tstate = _PyThreadState_GET();
  973|  5.54k|    va_list vargs;
  974|  5.54k|    PyObject *result;
  975|       |
  976|  5.54k|    va_start(vargs, callable);
  977|  5.54k|    result = object_vacall(tstate, NULL, callable, vargs);
  978|  5.54k|    va_end(vargs);
  979|       |
  980|  5.54k|    return result;
  981|  5.54k|}
_PyStack_AsDict:
  988|   280k|{
  989|   280k|    Py_ssize_t nkwargs;
  990|       |
  991|   280k|    assert(kwnames != NULL);
  992|   280k|    nkwargs = PyTuple_GET_SIZE(kwnames);
  ------------------
  |  |   27|   280k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   280k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   280k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  993|       |    return _PyDict_FromItems(&PyTuple_GET_ITEM(kwnames, 0), 1,
  ------------------
  |  |   29|   280k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|   280k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   280k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  994|   280k|                             values, 1, nkwargs);
  995|   280k|}
_PyStack_UnpackDict:
 1018|  2.31M|{
 1019|  2.31M|    assert(nargs >= 0);
 1020|  2.31M|    assert(kwargs != NULL);
 1021|  2.31M|    assert(PyDict_Check(kwargs));
 1022|       |
 1023|  2.31M|    Py_ssize_t nkwargs = PyDict_GET_SIZE(kwargs);
  ------------------
  |  |   63|  2.31M|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.31M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.31M|#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|  2.31M|    Py_ssize_t maxnargs = PY_SSIZE_T_MAX / sizeof(args[0]) - 1;
  ------------------
  |  |  137|  2.31M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
 1028|  2.31M|    if (nargs > maxnargs - nkwargs) {
  ------------------
  |  Branch (1028:9): [True: 0, False: 2.31M]
  ------------------
 1029|      0|        _PyErr_NoMemory(tstate);
 1030|      0|        return NULL;
 1031|      0|    }
 1032|       |
 1033|       |    /* Add 1 to support PY_VECTORCALL_ARGUMENTS_OFFSET */
 1034|  2.31M|    PyObject **stack = PyMem_Malloc((1 + nargs + nkwargs) * sizeof(args[0]));
 1035|  2.31M|    if (stack == NULL) {
  ------------------
  |  Branch (1035:9): [True: 0, False: 2.31M]
  ------------------
 1036|      0|        _PyErr_NoMemory(tstate);
 1037|      0|        return NULL;
 1038|      0|    }
 1039|       |
 1040|  2.31M|    PyObject *kwnames = PyTuple_New(nkwargs);
 1041|  2.31M|    if (kwnames == NULL) {
  ------------------
  |  Branch (1041:9): [True: 0, False: 2.31M]
  ------------------
 1042|      0|        PyMem_Free(stack);
 1043|      0|        return NULL;
 1044|      0|    }
 1045|       |
 1046|  2.31M|    stack++;  /* For PY_VECTORCALL_ARGUMENTS_OFFSET */
 1047|       |
 1048|       |    /* Copy positional arguments (borrowed references) */
 1049|  2.81M|    for (Py_ssize_t i = 0; i < nargs; i++) {
  ------------------
  |  Branch (1049:28): [True: 504k, False: 2.31M]
  ------------------
 1050|   504k|        stack[i] = args[i];
 1051|   504k|    }
 1052|       |
 1053|  2.31M|    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|  2.31M|    Py_ssize_t pos = 0, i = 0;
 1058|  2.31M|    PyObject *key, *value;
 1059|  2.31M|    unsigned long keys_are_strings = Py_TPFLAGS_UNICODE_SUBCLASS;
  ------------------
  |  |  555|  2.31M|#define Py_TPFLAGS_UNICODE_SUBCLASS     (1UL << 28)
  ------------------
 1060|  5.30M|    while (PyDict_Next(kwargs, &pos, &key, &value)) {
  ------------------
  |  Branch (1060:12): [True: 2.99M, False: 2.31M]
  ------------------
 1061|  2.99M|        keys_are_strings &= Py_TYPE(key)->tp_flags;
  ------------------
  |  |  213|  2.99M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.99M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.99M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1062|  2.99M|        PyTuple_SET_ITEM(kwnames, i, Py_NewRef(key));
  ------------------
  |  |   40|  2.99M|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  2.99M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.99M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  2.99M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.99M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1063|  2.99M|        kwstack[i] = Py_NewRef(value);
  ------------------
  |  |  550|  2.99M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.99M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.99M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1064|  2.99M|        i++;
 1065|  2.99M|    }
 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|  2.31M|    if (!keys_are_strings) {
  ------------------
  |  Branch (1072:9): [True: 0, False: 2.31M]
  ------------------
 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|  2.31M|    *p_kwnames = kwnames;
 1080|  2.31M|    return stack;
 1081|  2.31M|}
_PyStack_UnpackDict_Free:
 1086|  2.28M|{
 1087|       |    /* Only decref kwargs values, positional args are borrowed */
 1088|  2.28M|    Py_ssize_t nkwargs = PyTuple_GET_SIZE(kwnames);
  ------------------
  |  |   27|  2.28M|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.28M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.28M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1089|  5.22M|    for (Py_ssize_t i = 0; i < nkwargs; i++) {
  ------------------
  |  Branch (1089:28): [True: 2.93M, False: 2.28M]
  ------------------
 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|  2.28M|    _PyStack_UnpackDict_FreeNoDecRef(stack, kwnames);
 1093|  2.28M|}
_PyStack_UnpackDict_FreeNoDecRef:
 1097|  2.31M|{
 1098|  2.31M|    PyMem_Free((PyObject **)stack - 1);
 1099|  2.31M|    Py_DECREF(kwnames);
  ------------------
  |  |  430|  2.31M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.31M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.31M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1100|  2.31M|}
call.c:_PyVectorcall_Call:
  266|  2.05M|{
  267|  2.05M|    assert(func != NULL);
  268|       |
  269|  2.05M|    Py_ssize_t nargs = PyTuple_GET_SIZE(tuple);
  ------------------
  |  |   27|  2.05M|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.05M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.05M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  270|       |
  271|       |    /* Fast path for no keywords */
  272|  2.05M|    if (kwargs == NULL || PyDict_GET_SIZE(kwargs) == 0) {
  ------------------
  |  |   63|  2.04M|#define PyDict_GET_SIZE(op) PyDict_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 (272:9): [True: 5.36k, False: 2.04M]
  |  Branch (272:27): [True: 12.6k, False: 2.03M]
  ------------------
  273|  18.0k|        return func(callable, _PyTuple_ITEMS(tuple), nargs, NULL);
  ------------------
  |  |   26|  18.0k|#define _PyTuple_ITEMS(op) _Py_RVALUE(_PyTuple_CAST(op)->ob_item)
  |  |  ------------------
  |  |  |  |  277|  18.0k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  274|  18.0k|    }
  275|       |
  276|       |    /* Convert arguments & call */
  277|  2.03M|    PyObject *const *args;
  278|  2.03M|    PyObject *kwnames;
  279|  2.03M|    args = _PyStack_UnpackDict(tstate,
  280|  2.03M|                               _PyTuple_ITEMS(tuple), nargs,
  ------------------
  |  |   26|  2.03M|#define _PyTuple_ITEMS(op) _Py_RVALUE(_PyTuple_CAST(op)->ob_item)
  |  |  ------------------
  |  |  |  |  277|  2.03M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  281|  2.03M|                               kwargs, &kwnames);
  282|  2.03M|    if (args == NULL) {
  ------------------
  |  Branch (282:9): [True: 0, False: 2.03M]
  ------------------
  283|      0|        return NULL;
  284|      0|    }
  285|  2.03M|    PyObject *result = func(callable, args,
  286|  2.03M|                            nargs | PY_VECTORCALL_ARGUMENTS_OFFSET, kwnames);
  ------------------
  |  |  287|  2.03M|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  2.03M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  287|  2.03M|    _PyStack_UnpackDict_Free(args, nargs, kwnames);
  288|       |
  289|       |    return _Py_CheckFunctionResult(tstate, callable, result, NULL);
  290|  2.03M|}
call.c:_PyObject_CallFunctionVa:
  519|  75.6k|{
  520|  75.6k|    PyObject* small_stack[_PY_FASTCALL_SMALL_STACK];
  521|  75.6k|    const Py_ssize_t small_stack_len = Py_ARRAY_LENGTH(small_stack);
  ------------------
  |  |  196|  75.6k|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  522|  75.6k|    PyObject **stack;
  523|  75.6k|    Py_ssize_t nargs, i;
  524|  75.6k|    PyObject *result;
  525|       |
  526|  75.6k|    if (callable == NULL) {
  ------------------
  |  Branch (526:9): [True: 0, False: 75.6k]
  ------------------
  527|      0|        return null_error(tstate);
  528|      0|    }
  529|       |
  530|  75.6k|    if (!format || !*format) {
  ------------------
  |  Branch (530:9): [True: 763, False: 74.8k]
  |  Branch (530:20): [True: 2, False: 74.8k]
  ------------------
  531|    765|        return _PyObject_CallNoArgsTstate(tstate, callable);
  532|    765|    }
  533|       |
  534|  74.8k|    stack = _Py_VaBuildStack(small_stack, small_stack_len,
  535|  74.8k|                             format, va, &nargs);
  536|  74.8k|    if (stack == NULL) {
  ------------------
  |  Branch (536:9): [True: 0, False: 74.8k]
  ------------------
  537|      0|        return NULL;
  538|      0|    }
  539|  74.8k|    EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_API, callable);
  ------------------
  |  |   80|  74.8k|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
  540|  74.8k|    if (nargs == 1 && PyTuple_Check(stack[0])) {
  ------------------
  |  |   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 (760:41): [True: 11.8k, False: 18]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (540:9): [True: 11.8k, False: 63.0k]
  ------------------
  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|  11.8k|        PyObject *args = stack[0];
  546|  11.8k|        result = _PyObject_VectorcallTstate(tstate, callable,
  547|  11.8k|                                            _PyTuple_ITEMS(args),
  ------------------
  |  |   26|  11.8k|#define _PyTuple_ITEMS(op) _Py_RVALUE(_PyTuple_CAST(op)->ob_item)
  |  |  ------------------
  |  |  |  |  277|  11.8k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  548|  11.8k|                                            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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  549|  11.8k|                                            NULL);
  550|  11.8k|    }
  551|  63.0k|    else {
  552|  63.0k|        result = _PyObject_VectorcallTstate(tstate, callable,
  553|  63.0k|                                            stack, nargs, NULL);
  554|  63.0k|    }
  555|       |
  556|   372k|    for (i = 0; i < nargs; ++i) {
  ------------------
  |  Branch (556:17): [True: 298k, False: 74.8k]
  ------------------
  557|   298k|        Py_DECREF(stack[i]);
  ------------------
  |  |  430|   298k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   298k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   298k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  558|   298k|    }
  559|  74.8k|    if (stack != small_stack) {
  ------------------
  |  Branch (559:9): [True: 12, False: 74.8k]
  ------------------
  560|     12|        PyMem_Free(stack);
  561|     12|    }
  562|  74.8k|    return result;
  563|  74.8k|}
call.c:callmethod:
  617|    834|{
  618|    834|    assert(callable != NULL);
  619|    834|    if (!PyCallable_Check(callable)) {
  ------------------
  |  Branch (619:9): [True: 0, False: 834]
  ------------------
  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|    834|    return _PyObject_CallFunctionVa(tstate, callable, format, va);
  627|    834|}
call.c:object_vacall:
  772|  16.9k|{
  773|  16.9k|    PyObject *small_stack[_PY_FASTCALL_SMALL_STACK];
  774|  16.9k|    PyObject **stack;
  775|  16.9k|    Py_ssize_t nargs;
  776|  16.9k|    PyObject *result;
  777|  16.9k|    Py_ssize_t i;
  778|  16.9k|    va_list countva;
  779|       |
  780|  16.9k|    if (callable == NULL) {
  ------------------
  |  Branch (780:9): [True: 0, False: 16.9k]
  ------------------
  781|      0|        return null_error(tstate);
  782|      0|    }
  783|       |
  784|       |    /* Count the number of arguments */
  785|  16.9k|    va_copy(countva, vargs);
  786|  16.9k|    nargs = base ? 1 : 0;
  ------------------
  |  Branch (786:13): [True: 68, False: 16.9k]
  ------------------
  787|  80.7k|    while (1) {
  ------------------
  |  Branch (787:12): [True: 80.7k, Folded]
  ------------------
  788|  80.7k|        PyObject *arg = va_arg(countva, PyObject *);
  789|  80.7k|        if (arg == NULL) {
  ------------------
  |  Branch (789:13): [True: 16.9k, False: 63.7k]
  ------------------
  790|  16.9k|            break;
  791|  16.9k|        }
  792|  63.7k|        nargs++;
  793|  63.7k|    }
  794|  16.9k|    va_end(countva);
  795|       |
  796|       |    /* Copy arguments */
  797|  16.9k|    if (nargs <= (Py_ssize_t)Py_ARRAY_LENGTH(small_stack)) {
  ------------------
  |  |  196|  16.9k|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (797:9): [True: 12.6k, False: 4.30k]
  ------------------
  798|  12.6k|        stack = small_stack;
  799|  12.6k|    }
  800|  4.30k|    else {
  801|  4.30k|        stack = PyMem_Malloc(nargs * sizeof(stack[0]));
  802|  4.30k|        if (stack == NULL) {
  ------------------
  |  Branch (802:13): [True: 0, False: 4.30k]
  ------------------
  803|      0|            PyErr_NoMemory();
  804|      0|            return NULL;
  805|      0|        }
  806|  4.30k|    }
  807|       |
  808|  16.9k|    i = 0;
  809|  16.9k|    if (base) {
  ------------------
  |  Branch (809:9): [True: 68, False: 16.9k]
  ------------------
  810|     68|        stack[i++] = base;
  811|     68|    }
  812|       |
  813|  80.7k|    for (; i < nargs; ++i) {
  ------------------
  |  Branch (813:12): [True: 63.7k, False: 16.9k]
  ------------------
  814|  63.7k|        stack[i] = va_arg(vargs, PyObject *);
  815|  63.7k|    }
  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|  16.9k|    result = _PyObject_VectorcallTstate(tstate, callable, stack, nargs, NULL);
  824|       |
  825|  16.9k|    if (stack != small_stack) {
  ------------------
  |  Branch (825:9): [True: 4.30k, False: 12.6k]
  ------------------
  826|  4.30k|        PyMem_Free(stack);
  827|  4.30k|    }
  828|  16.9k|    return result;
  829|  16.9k|}

PyCapsule_New:
   61|  2.18k|{
   62|  2.18k|    PyCapsule *capsule;
   63|       |
   64|  2.18k|    if (!pointer) {
  ------------------
  |  Branch (64:9): [True: 0, False: 2.18k]
  ------------------
   65|      0|        PyErr_SetString(PyExc_ValueError, "PyCapsule_New called with null pointer");
   66|      0|        return NULL;
   67|      0|    }
   68|       |
   69|  2.18k|    capsule = PyObject_GC_New(PyCapsule, &PyCapsule_Type);
  ------------------
  |  |  181|  2.18k|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|  2.18k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   70|  2.18k|    if (capsule == NULL) {
  ------------------
  |  Branch (70:9): [True: 0, False: 2.18k]
  ------------------
   71|      0|        return NULL;
   72|      0|    }
   73|       |
   74|  2.18k|    capsule->pointer = pointer;
   75|  2.18k|    capsule->name = name;
   76|  2.18k|    capsule->context = NULL;
   77|  2.18k|    capsule->destructor = destructor;
   78|  2.18k|    capsule->traverse_func = NULL;
   79|  2.18k|    capsule->clear_func = NULL;
   80|       |    // Only track the object by the GC when _PyCapsule_SetTraverse() is called
   81|       |
   82|  2.18k|    return (PyObject *)capsule;
   83|  2.18k|}
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|  4.75k|{
  101|  4.75k|    if (!is_legal_capsule(op, "PyCapsule_GetPointer")) {
  ------------------
  |  |   43|  4.75k|    (_is_legal_capsule(capsule, \
  |  |   44|  4.75k|     name " called with invalid PyCapsule object"))
  ------------------
  |  Branch (101:9): [True: 0, False: 4.75k]
  ------------------
  102|      0|        return NULL;
  103|      0|    }
  104|  4.75k|    PyCapsule *capsule = (PyCapsule *)op;
  105|       |
  106|  4.75k|    if (!name_matches(name, capsule->name)) {
  ------------------
  |  Branch (106:9): [True: 0, False: 4.75k]
  ------------------
  107|      0|        PyErr_SetString(PyExc_ValueError, "PyCapsule_GetPointer called with incorrect name");
  108|      0|        return NULL;
  109|      0|    }
  110|       |
  111|  4.75k|    return capsule->pointer;
  112|  4.75k|}
_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|  4.75k|name_matches(const char *name1, const char *name2) {
   49|       |    /* if either is NULL, */
   50|  4.75k|    if (!name1 || !name2) {
  ------------------
  |  Branch (50:9): [True: 0, False: 4.75k]
  |  Branch (50:19): [True: 0, False: 4.75k]
  ------------------
   51|       |        /* they're only the same if they're both NULL. */
   52|      0|        return name1 == name2;
   53|      0|    }
   54|  4.75k|    return !strcmp(name1, name2);
   55|  4.75k|}
capsule.c:_is_legal_capsule:
   26|  4.75k|{
   27|  4.75k|    if (!op || !PyCapsule_CheckExact(op)) {
  ------------------
  |  |   25|  4.75k|#define PyCapsule_CheckExact(op) Py_IS_TYPE((op), &PyCapsule_Type)
  |  |  ------------------
  |  |  |  |  215|  4.75k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.75k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.75k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (27:9): [True: 0, False: 4.75k]
  |  Branch (27:16): [True: 0, False: 4.75k]
  ------------------
   28|      0|        goto error;
   29|      0|    }
   30|  4.75k|    PyCapsule *capsule = (PyCapsule *)op;
   31|       |
   32|  4.75k|    if (capsule->pointer == NULL) {
  ------------------
  |  Branch (32:9): [True: 0, False: 4.75k]
  ------------------
   33|      0|        goto error;
   34|      0|    }
   35|  4.75k|    return 1;
   36|       |
   37|      0|error:
   38|      0|    PyErr_SetString(PyExc_ValueError, invalid_capsule);
   39|      0|    return 0;
   40|  4.75k|}
capsule.c:capsule_dealloc:
  288|  2.17k|{
  289|  2.17k|    PyCapsule *capsule = _PyCapsule_CAST(op);
  ------------------
  |  |   21|  2.17k|#define _PyCapsule_CAST(op)     ((PyCapsule *)(op))
  ------------------
  290|  2.17k|    PyObject_GC_UnTrack(op);
  291|  2.17k|    if (capsule->destructor) {
  ------------------
  |  Branch (291:9): [True: 0, False: 2.17k]
  ------------------
  292|      0|        capsule->destructor(op);
  293|      0|    }
  294|  2.17k|    PyObject_GC_Del(op);
  295|  2.17k|}
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|  6.13M|{
   13|  6.13M|    PyCellObject *op;
   14|       |
   15|  6.13M|    op = (PyCellObject *)PyObject_GC_New(PyCellObject, &PyCell_Type);
  ------------------
  |  |  181|  6.13M|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|  6.13M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   16|  6.13M|    if (op == NULL)
  ------------------
  |  Branch (16:9): [True: 0, False: 6.13M]
  ------------------
   17|      0|        return NULL;
   18|  6.13M|    op->ob_ref = Py_XNewRef(obj);
  ------------------
  |  |  551|  6.13M|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  6.13M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.13M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   19|       |
   20|  6.13M|    _PyObject_GC_TRACK(op);
  ------------------
  |  |  508|  6.13M|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.13M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.13M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   21|  6.13M|    return (PyObject *)op;
   22|  6.13M|}
PyCell_Set:
   67|  1.89k|{
   68|  1.89k|    if (!PyCell_Check(op)) {
  ------------------
  |  |   18|  1.89k|#define PyCell_Check(op) Py_IS_TYPE((op), &PyCell_Type)
  |  |  ------------------
  |  |  |  |  215|  1.89k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.89k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.89k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (68:9): [True: 0, False: 1.89k]
  ------------------
   69|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
   70|      0|        return -1;
   71|      0|    }
   72|  1.89k|    PyCell_SetTakeRef((PyCellObject *)op, Py_XNewRef(value));
  ------------------
  |  |  551|  1.89k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.89k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.89k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   73|  1.89k|    return 0;
   74|  1.89k|}
cellobject.c:cell_dealloc:
   78|  6.13M|{
   79|  6.13M|    PyCellObject *op = _PyCell_CAST(self);
  ------------------
  |  |    8|  6.13M|#define _PyCell_CAST(op) _Py_CAST(PyCellObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  6.13M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   80|  6.13M|    _PyObject_GC_UNTRACK(op);
  ------------------
  |  |  510|  6.13M|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.13M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.13M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   81|  6.13M|    Py_XDECREF(op->ob_ref);
  ------------------
  |  |  524|  6.13M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.13M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.13M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   82|  6.13M|    PyObject_GC_Del(op);
   83|  6.13M|}
cellobject.c:cell_traverse:
  132|  3.36M|{
  133|  3.36M|    PyCellObject *op = _PyCell_CAST(self);
  ------------------
  |  |    8|  3.36M|#define _PyCell_CAST(op) _Py_CAST(PyCellObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  3.36M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  134|  3.36M|    Py_VISIT(op->ob_ref);
  ------------------
  |  |  194|  3.36M|    do {                                                                \
  |  |  195|  3.36M|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 3.35M, False: 15.0k]
  |  |  ------------------
  |  |  196|  3.35M|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  3.35M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.35M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  3.35M|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 3.35M]
  |  |  ------------------
  |  |  198|  3.35M|                return vret;                                            \
  |  |  199|  3.35M|        }                                                               \
  |  |  200|  3.36M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 3.36M]
  |  |  ------------------
  ------------------
  135|  3.36M|    return 0;
  136|  3.36M|}
cellobject.c:cell_clear:
  140|  1.45M|{
  141|  1.45M|    PyCellObject *op = _PyCell_CAST(self);
  ------------------
  |  |    8|  1.45M|#define _PyCell_CAST(op) _Py_CAST(PyCellObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  1.45M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  142|       |    Py_CLEAR(op->ob_ref);
  ------------------
  |  |  484|  1.45M|    do { \
  |  |  485|  1.45M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  1.45M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  1.45M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  1.45M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  1.45M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 1.45M, False: 0]
  |  |  ------------------
  |  |  488|  1.45M|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  1.45M|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  1.45M|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  1.45M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.45M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.45M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  1.45M|        } \
  |  |  491|  1.45M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 1.45M]
  |  |  ------------------
  ------------------
  143|  1.45M|    return 0;
  144|  1.45M|}
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|  2.47M|{
   67|  2.47M|    if (self == NULL) {
  ------------------
  |  Branch (67:9): [True: 0, False: 2.47M]
  ------------------
   68|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
   69|      0|        return NULL;
   70|      0|    }
   71|  2.47M|    PyMethodObject *im = _Py_FREELIST_POP(PyMethodObject, pymethodobjects);
  ------------------
  |  |   43|  2.47M|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  2.47M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   72|  2.47M|    if (im == NULL) {
  ------------------
  |  Branch (72:9): [True: 242, False: 2.47M]
  ------------------
   73|    242|        im = PyObject_GC_New(PyMethodObject, &PyMethod_Type);
  ------------------
  |  |  181|    242|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|    242|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   74|    242|        if (im == NULL) {
  ------------------
  |  Branch (74:13): [True: 0, False: 242]
  ------------------
   75|      0|            return NULL;
   76|      0|        }
   77|    242|    }
   78|  2.47M|    im->im_weakreflist = NULL;
   79|  2.47M|    im->im_func = Py_NewRef(func);
  ------------------
  |  |  550|  2.47M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.47M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.47M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   80|  2.47M|    im->im_self = Py_NewRef(self);
  ------------------
  |  |  550|  2.47M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.47M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.47M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   81|  2.47M|    im->vectorcall = method_vectorcall;
   82|  2.47M|    _PyObject_GC_TRACK(im);
  ------------------
  |  |  508|  2.47M|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.47M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.47M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   83|  2.47M|    return (PyObject *)im;
   84|  2.47M|}
classobject.c:method_vectorcall:
   49|  2.09M|{
   50|  2.09M|    assert(Py_IS_TYPE(method, &PyMethod_Type));
   51|       |
   52|  2.09M|    PyThreadState *tstate = _PyThreadState_GET();
   53|  2.09M|    PyObject *self = PyMethod_GET_SELF(method);
  ------------------
  |  |   42|  2.09M|#define PyMethod_GET_SELF(meth) PyMethod_GET_SELF(_PyObject_CAST(meth))
  |  |  ------------------
  |  |  |  |  171|  2.09M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.09M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   54|  2.09M|    PyObject *func = PyMethod_GET_FUNCTION(method);
  ------------------
  |  |   37|  2.09M|#define PyMethod_GET_FUNCTION(meth) PyMethod_GET_FUNCTION(_PyObject_CAST(meth))
  |  |  ------------------
  |  |  |  |  171|  2.09M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.09M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   55|  2.09M|    return _PyObject_VectorcallPrepend(tstate, func, self, args, nargsf, kwnames);
   56|  2.09M|}
classobject.c:method_dealloc:
  214|  2.47M|{
  215|  2.47M|    PyMethodObject *im = _PyMethodObject_CAST(self);
  ------------------
  |  |   16|  2.47M|#define _PyMethodObject_CAST(op) _Py_CAST(PyMethodObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  2.47M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  216|  2.47M|    _PyObject_GC_UNTRACK(im);
  ------------------
  |  |  510|  2.47M|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.47M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.47M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  217|  2.47M|    FT_CLEAR_WEAKREFS(self, im->im_weakreflist);
  ------------------
  |  |   47|  2.47M|    do {                                            \
  |  |   48|  2.47M|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|  2.47M|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 2.47M]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|  2.47M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 2.47M]
  |  |  ------------------
  ------------------
  218|  2.47M|    Py_DECREF(im->im_func);
  ------------------
  |  |  430|  2.47M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.47M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.47M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  219|  2.47M|    Py_XDECREF(im->im_self);
  ------------------
  |  |  524|  2.47M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.47M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.47M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  220|  2.47M|    assert(Py_IS_TYPE(self, &PyMethod_Type));
  221|  2.47M|    _Py_FREELIST_FREE(pymethodobjects, (PyObject *)im, PyObject_GC_Del);
  ------------------
  |  |   35|  2.47M|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  2.47M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.47M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  2.47M|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   33|  2.47M|#  define Py_pymethodobjects_MAXFREELIST 20
  |  |  ------------------
  ------------------
  222|  2.47M|}
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.49k|{
  300|  4.49k|    PyMethodObject *im = _PyMethodObject_CAST(self);
  ------------------
  |  |   16|  4.49k|#define _PyMethodObject_CAST(op) _Py_CAST(PyMethodObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  4.49k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  301|  4.49k|    Py_VISIT(im->im_func);
  ------------------
  |  |  194|  4.49k|    do {                                                                \
  |  |  195|  4.49k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 4.49k, False: 0]
  |  |  ------------------
  |  |  196|  4.49k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  4.49k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.49k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  4.49k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 4.49k]
  |  |  ------------------
  |  |  198|  4.49k|                return vret;                                            \
  |  |  199|  4.49k|        }                                                               \
  |  |  200|  4.49k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 4.49k]
  |  |  ------------------
  ------------------
  302|  4.49k|    Py_VISIT(im->im_self);
  ------------------
  |  |  194|  4.49k|    do {                                                                \
  |  |  195|  4.49k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 4.49k, False: 0]
  |  |  ------------------
  |  |  196|  4.49k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  4.49k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.49k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  4.49k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 4.49k]
  |  |  ------------------
  |  |  198|  4.49k|                return vret;                                            \
  |  |  199|  4.49k|        }                                                               \
  |  |  200|  4.49k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 4.49k]
  |  |  ------------------
  ------------------
  303|  4.49k|    return 0;
  304|  4.49k|}
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__));
  ------------------
  |  |  915|     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:
 1236|  2.16k|{
 1237|  2.16k|    PyObject *return_value = NULL;
 1238|  2.16k|    int item;
 1239|       |
 1240|  2.16k|    if (!_getbytevalue(arg, &item)) {
  ------------------
  |  Branch (1240:9): [True: 0, False: 2.16k]
  ------------------
 1241|      0|        goto exit;
 1242|      0|    }
 1243|  2.16k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  2.16k|    {
  ------------------
 1244|  2.16k|    return_value = bytearray_append_impl((PyByteArrayObject *)self, item);
 1245|  2.16k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  2.16k|    }
  ------------------
 1246|       |
 1247|  2.16k|exit:
 1248|  2.16k|    return return_value;
 1249|  2.16k|}
bytearrayobject.c:bytearray_extend:
 1268|    180|{
 1269|    180|    PyObject *return_value = NULL;
 1270|       |
 1271|    180|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|    180|    {
  ------------------
 1272|    180|    return_value = bytearray_extend_impl((PyByteArrayObject *)self, iterable_of_ints);
 1273|    180|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    180|    }
  ------------------
 1274|       |
 1275|    180|    return return_value;
 1276|    180|}
bytearrayobject.c:bytearray_find:
  130|  1.05k|{
  131|  1.05k|    PyObject *return_value = NULL;
  132|  1.05k|    PyObject *sub;
  133|  1.05k|    Py_ssize_t start = 0;
  134|  1.05k|    Py_ssize_t end = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|  1.05k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  135|       |
  136|  1.05k|    if (!_PyArg_CheckPositional("find", nargs, 1, 3)) {
  ------------------
  |  |   31|  1.05k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 1.05k, False: 0]
  |  |  |  Branch (31:27): [True: 1.05k, False: 0]
  |  |  ------------------
  |  |   32|  1.05k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  137|      0|        goto exit;
  138|      0|    }
  139|  1.05k|    sub = args[0];
  140|  1.05k|    if (nargs < 2) {
  ------------------
  |  Branch (140:9): [True: 0, False: 1.05k]
  ------------------
  141|      0|        goto skip_optional;
  142|      0|    }
  143|  1.05k|    if (!_PyEval_SliceIndex(args[1], &start)) {
  ------------------
  |  Branch (143:9): [True: 0, False: 1.05k]
  ------------------
  144|      0|        goto exit;
  145|      0|    }
  146|  1.05k|    if (nargs < 3) {
  ------------------
  |  Branch (146:9): [True: 1.05k, False: 0]
  ------------------
  147|  1.05k|        goto skip_optional;
  148|  1.05k|    }
  149|      0|    if (!_PyEval_SliceIndex(args[2], &end)) {
  ------------------
  |  Branch (149:9): [True: 0, False: 0]
  ------------------
  150|      0|        goto exit;
  151|      0|    }
  152|  1.05k|skip_optional:
  153|  1.05k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  1.05k|    {
  ------------------
  154|  1.05k|    return_value = bytearray_find_impl((PyByteArrayObject *)self, sub, start, end);
  155|  1.05k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  1.05k|    }
  ------------------
  156|       |
  157|  1.05k|exit:
  158|  1.05k|    return return_value;
  159|  1.05k|}
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:
  694|     64|{
  695|     64|    PyObject *return_value = NULL;
  696|     64|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  697|       |
  698|     64|    #define NUM_KEYWORDS 1
  699|     64|    static struct {
  700|     64|        PyGC_Head _this_is_not_used;
  701|     64|        PyObject_VAR_HEAD
  702|     64|        Py_hash_t ob_hash;
  703|     64|        PyObject *ob_item[NUM_KEYWORDS];
  704|     64|    } _kwtuple = {
  705|     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|    },
  ------------------
  706|     64|        .ob_hash = -1,
  707|     64|        .ob_item = { &_Py_ID(delete), },
  ------------------
  |  |  915|     64|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     64|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     64|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  708|     64|    };
  709|     64|    #undef NUM_KEYWORDS
  710|     64|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  711|       |
  712|       |    #else  // !Py_BUILD_CORE
  713|       |    #  define KWTUPLE NULL
  714|       |    #endif  // !Py_BUILD_CORE
  715|       |
  716|     64|    static const char * const _keywords[] = {"", "delete", NULL};
  717|     64|    static _PyArg_Parser _parser = {
  718|     64|        .keywords = _keywords,
  719|     64|        .fname = "translate",
  720|     64|        .kwtuple = KWTUPLE,
  ------------------
  |  |  710|     64|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  721|     64|    };
  722|     64|    #undef KWTUPLE
  723|     64|    PyObject *argsbuf[2];
  724|     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 (724:36): [True: 0, False: 64]
  ------------------
  725|     64|    PyObject *table;
  726|     64|    PyObject *deletechars = NULL;
  727|       |
  728|     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)))
  ------------------
  729|     64|            /*minpos*/ 1, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  730|     64|    if (!args) {
  ------------------
  |  Branch (730:9): [True: 0, False: 64]
  ------------------
  731|      0|        goto exit;
  732|      0|    }
  733|     64|    table = args[0];
  734|     64|    if (!noptargs) {
  ------------------
  |  Branch (734:9): [True: 64, False: 0]
  ------------------
  735|     64|        goto skip_optional_pos;
  736|     64|    }
  737|      0|    deletechars = args[1];
  738|     64|skip_optional_pos:
  739|     64|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|     64|    {
  ------------------
  740|     64|    return_value = bytearray_translate_impl((PyByteArrayObject *)self, table, deletechars);
  741|     64|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     64|    }
  ------------------
  742|       |
  743|     64|exit:
  744|     64|    return return_value;
  745|     64|}
bytearrayobject.c:bytearray___init__:
   19|  7.52M|{
   20|  7.52M|    int return_value = -1;
   21|  7.52M|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
   22|       |
   23|  7.52M|    #define NUM_KEYWORDS 3
   24|  7.52M|    static struct {
   25|  7.52M|        PyGC_Head _this_is_not_used;
   26|  7.52M|        PyObject_VAR_HEAD
   27|  7.52M|        Py_hash_t ob_hash;
   28|  7.52M|        PyObject *ob_item[NUM_KEYWORDS];
   29|  7.52M|    } _kwtuple = {
   30|  7.52M|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|  7.52M|    {                                     \
  |  |   98|  7.52M|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|  7.52M|    {                               \
  |  |  |  |   91|  7.52M|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|  7.52M|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  7.52M|#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|  7.52M|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|  7.52M|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|  7.52M|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|  7.52M|        (type)                      \
  |  |  |  |   93|  7.52M|    },
  |  |  ------------------
  |  |   99|  7.52M|        (size)                            \
  |  |  100|  7.52M|    },
  ------------------
   31|  7.52M|        .ob_hash = -1,
   32|  7.52M|        .ob_item = { &_Py_ID(source), &_Py_ID(encoding), &_Py_ID(errors), },
  ------------------
  |  |  915|  7.52M|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  7.52M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  7.52M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(source), &_Py_ID(encoding), &_Py_ID(errors), },
  ------------------
  |  |  915|  7.52M|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  7.52M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  7.52M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(source), &_Py_ID(encoding), &_Py_ID(errors), },
  ------------------
  |  |  915|  7.52M|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  7.52M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  7.52M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   33|  7.52M|    };
   34|  7.52M|    #undef NUM_KEYWORDS
   35|  7.52M|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
   36|       |
   37|       |    #else  // !Py_BUILD_CORE
   38|       |    #  define KWTUPLE NULL
   39|       |    #endif  // !Py_BUILD_CORE
   40|       |
   41|  7.52M|    static const char * const _keywords[] = {"source", "encoding", "errors", NULL};
   42|  7.52M|    static _PyArg_Parser _parser = {
   43|  7.52M|        .keywords = _keywords,
   44|  7.52M|        .fname = "bytearray",
   45|  7.52M|        .kwtuple = KWTUPLE,
  ------------------
  |  |   35|  7.52M|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
   46|  7.52M|    };
   47|  7.52M|    #undef KWTUPLE
   48|  7.52M|    PyObject *argsbuf[3];
   49|  7.52M|    PyObject * const *fastargs;
   50|  7.52M|    Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|  7.52M|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.52M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.52M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   51|  7.52M|    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: 7.52M]
  ------------------
   52|  7.52M|    PyObject *arg = NULL;
   53|  7.52M|    const char *encoding = NULL;
   54|  7.52M|    const char *errors = NULL;
   55|       |
   56|  7.52M|    fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser,
  ------------------
  |  |   88|  7.52M|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 7.52M, Folded]
  |  |  |  Branch (88:23): [True: 7.52M, False: 0]
  |  |  |  Branch (88:43): [True: 0, Folded]
  |  |  ------------------
  |  |   89|  7.52M|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 7.52M, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 7.52M]
  |  |  |  Branch (89:43): [True: 7.52M, False: 0]
  |  |  |  Branch (89:67): [True: 7.52M, False: 0]
  |  |  ------------------
  |  |   90|  7.52M|      (args) : \
  |  |   91|  7.52M|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
   57|  7.52M|            /*minpos*/ 0, /*maxpos*/ 3, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
   58|  7.52M|    if (!fastargs) {
  ------------------
  |  Branch (58:9): [True: 0, False: 7.52M]
  ------------------
   59|      0|        goto exit;
   60|      0|    }
   61|  7.52M|    if (!noptargs) {
  ------------------
  |  Branch (61:9): [True: 4.91k, False: 7.52M]
  ------------------
   62|  4.91k|        goto skip_optional_pos;
   63|  4.91k|    }
   64|  7.52M|    if (fastargs[0]) {
  ------------------
  |  Branch (64:9): [True: 7.52M, False: 0]
  ------------------
   65|  7.52M|        arg = fastargs[0];
   66|  7.52M|        if (!--noptargs) {
  ------------------
  |  Branch (66:13): [True: 7.52M, False: 0]
  ------------------
   67|  7.52M|            goto skip_optional_pos;
   68|  7.52M|        }
   69|  7.52M|    }
   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|  7.52M|skip_optional_pos:
  102|  7.52M|    return_value = bytearray___init___impl((PyByteArrayObject *)self, arg, encoding, errors);
  103|       |
  104|  7.52M|exit:
  105|  7.52M|    return return_value;
  106|  7.52M|}

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

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|  3.58k|{
  179|  3.58k|    PyObject *return_value = NULL;
  180|  3.58k|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  181|       |
  182|  3.58k|    #define NUM_KEYWORDS 18
  183|  3.58k|    static struct {
  184|  3.58k|        PyGC_Head _this_is_not_used;
  185|  3.58k|        PyObject_VAR_HEAD
  186|  3.58k|        Py_hash_t ob_hash;
  187|  3.58k|        PyObject *ob_item[NUM_KEYWORDS];
  188|  3.58k|    } _kwtuple = {
  189|  3.58k|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|  3.58k|    {                                     \
  |  |   98|  3.58k|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|  3.58k|    {                               \
  |  |  |  |   91|  3.58k|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|  3.58k|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  3.58k|#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|  3.58k|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|  3.58k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|  3.58k|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|  3.58k|        (type)                      \
  |  |  |  |   93|  3.58k|    },
  |  |  ------------------
  |  |   99|  3.58k|        (size)                            \
  |  |  100|  3.58k|    },
  ------------------
  190|  3.58k|        .ob_hash = -1,
  191|  3.58k|        .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), },
  ------------------
  |  |  915|  3.58k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  3.58k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  3.58k|    _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), },
  ------------------
  |  |  915|  3.58k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  3.58k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  3.58k|    _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), },
  ------------------
  |  |  915|  3.58k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  3.58k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  3.58k|    _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), },
  ------------------
  |  |  915|  3.58k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  3.58k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  3.58k|    _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), },
  ------------------
  |  |  915|  3.58k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  3.58k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  3.58k|    _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), },
  ------------------
  |  |  915|  3.58k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  3.58k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  3.58k|    _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), },
  ------------------
  |  |  915|  3.58k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  3.58k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  3.58k|    _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), },
  ------------------
  |  |  915|  3.58k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  3.58k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  3.58k|    _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), },
  ------------------
  |  |  915|  3.58k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  3.58k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  3.58k|    _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), },
  ------------------
  |  |  915|  3.58k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  3.58k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  3.58k|    _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), },
  ------------------
  |  |  915|  3.58k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  3.58k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  3.58k|    _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), },
  ------------------
  |  |  915|  3.58k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  3.58k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  3.58k|    _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), },
  ------------------
  |  |  915|  3.58k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  3.58k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  3.58k|    _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), },
  ------------------
  |  |  915|  3.58k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  3.58k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  3.58k|    _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), },
  ------------------
  |  |  915|  3.58k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  3.58k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  3.58k|    _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), },
  ------------------
  |  |  915|  3.58k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  3.58k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  3.58k|    _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), },
  ------------------
  |  |  915|  3.58k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  3.58k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  3.58k|    _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), },
  ------------------
  |  |  915|  3.58k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  3.58k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  3.58k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  192|  3.58k|    };
  193|  3.58k|    #undef NUM_KEYWORDS
  194|  3.58k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  195|       |
  196|       |    #else  // !Py_BUILD_CORE
  197|       |    #  define KWTUPLE NULL
  198|       |    #endif  // !Py_BUILD_CORE
  199|       |
  200|  3.58k|    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|  3.58k|    static _PyArg_Parser _parser = {
  202|  3.58k|        .keywords = _keywords,
  203|  3.58k|        .fname = "replace",
  204|  3.58k|        .kwtuple = KWTUPLE,
  ------------------
  |  |  194|  3.58k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  205|  3.58k|    };
  206|  3.58k|    #undef KWTUPLE
  207|  3.58k|    PyObject *argsbuf[18];
  208|  3.58k|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0;
  ------------------
  |  |   27|  3.58k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.58k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (208:36): [True: 3.58k, False: 0]
  ------------------
  209|  3.58k|    int co_argcount = ((PyCodeObject *)self)->co_argcount;
  210|  3.58k|    int co_posonlyargcount = ((PyCodeObject *)self)->co_posonlyargcount;
  211|  3.58k|    int co_kwonlyargcount = ((PyCodeObject *)self)->co_kwonlyargcount;
  212|  3.58k|    int co_nlocals = ((PyCodeObject *)self)->co_nlocals;
  213|  3.58k|    int co_stacksize = ((PyCodeObject *)self)->co_stacksize;
  214|  3.58k|    int co_flags = ((PyCodeObject *)self)->co_flags;
  215|  3.58k|    int co_firstlineno = ((PyCodeObject *)self)->co_firstlineno;
  216|  3.58k|    PyObject *co_code = NULL;
  217|  3.58k|    PyObject *co_consts = ((PyCodeObject *)self)->co_consts;
  218|  3.58k|    PyObject *co_names = ((PyCodeObject *)self)->co_names;
  219|  3.58k|    PyObject *co_varnames = NULL;
  220|  3.58k|    PyObject *co_freevars = NULL;
  221|  3.58k|    PyObject *co_cellvars = NULL;
  222|  3.58k|    PyObject *co_filename = ((PyCodeObject *)self)->co_filename;
  223|  3.58k|    PyObject *co_name = ((PyCodeObject *)self)->co_name;
  224|  3.58k|    PyObject *co_qualname = ((PyCodeObject *)self)->co_qualname;
  225|  3.58k|    PyObject *co_linetable = ((PyCodeObject *)self)->co_linetable;
  226|  3.58k|    PyObject *co_exceptiontable = ((PyCodeObject *)self)->co_exceptiontable;
  227|       |
  228|  3.58k|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|  3.58k|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 0, False: 3.58k]
  |  |  ------------------
  |  |   89|  3.58k|      (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|  3.58k|      (args) : \
  |  |   91|  3.58k|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|  3.58k|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  229|  3.58k|            /*minpos*/ 0, /*maxpos*/ 0, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  230|  3.58k|    if (!args) {
  ------------------
  |  Branch (230:9): [True: 0, False: 3.58k]
  ------------------
  231|      0|        goto exit;
  232|      0|    }
  233|  3.58k|    if (!noptargs) {
  ------------------
  |  Branch (233:9): [True: 0, False: 3.58k]
  ------------------
  234|      0|        goto skip_optional_kwonly;
  235|      0|    }
  236|  3.58k|    if (args[0]) {
  ------------------
  |  Branch (236:9): [True: 0, False: 3.58k]
  ------------------
  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|  3.58k|    if (args[1]) {
  ------------------
  |  Branch (245:9): [True: 0, False: 3.58k]
  ------------------
  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|  3.58k|    if (args[2]) {
  ------------------
  |  Branch (254:9): [True: 0, False: 3.58k]
  ------------------
  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|  3.58k|    if (args[3]) {
  ------------------
  |  Branch (263:9): [True: 0, False: 3.58k]
  ------------------
  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|  3.58k|    if (args[4]) {
  ------------------
  |  Branch (272:9): [True: 0, False: 3.58k]
  ------------------
  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|  3.58k|    if (args[5]) {
  ------------------
  |  Branch (281:9): [True: 2, False: 3.58k]
  ------------------
  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|  3.58k|    if (args[6]) {
  ------------------
  |  Branch (290:9): [True: 3.58k, False: 0]
  ------------------
  291|  3.58k|        co_firstlineno = PyLong_AsInt(args[6]);
  292|  3.58k|        if (co_firstlineno == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (292:13): [True: 0, False: 3.58k]
  |  Branch (292:37): [True: 0, False: 0]
  ------------------
  293|      0|            goto exit;
  294|      0|        }
  295|  3.58k|        if (!--noptargs) {
  ------------------
  |  Branch (295:13): [True: 0, False: 3.58k]
  ------------------
  296|      0|            goto skip_optional_kwonly;
  297|      0|        }
  298|  3.58k|    }
  299|  3.58k|    if (args[7]) {
  ------------------
  |  Branch (299:9): [True: 0, False: 3.58k]
  ------------------
  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|  3.58k|    if (args[8]) {
  ------------------
  |  Branch (309:9): [True: 0, False: 3.58k]
  ------------------
  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|  3.58k|    if (args[9]) {
  ------------------
  |  Branch (319:9): [True: 0, False: 3.58k]
  ------------------
  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|  3.58k|    if (args[10]) {
  ------------------
  |  Branch (329:9): [True: 0, False: 3.58k]
  ------------------
  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|  3.58k|    if (args[11]) {
  ------------------
  |  Branch (339:9): [True: 0, False: 3.58k]
  ------------------
  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|  3.58k|    if (args[12]) {
  ------------------
  |  Branch (349:9): [True: 0, False: 3.58k]
  ------------------
  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|  3.58k|    if (args[13]) {
  ------------------
  |  Branch (359:9): [True: 3.58k, False: 0]
  ------------------
  360|  3.58k|        if (!PyUnicode_Check(args[13])) {
  ------------------
  |  |  103|  3.58k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  3.58k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (360:13): [True: 0, False: 3.58k]
  ------------------
  361|      0|            _PyArg_BadArgument("replace", "argument 'co_filename'", "str", args[13]);
  362|      0|            goto exit;
  363|      0|        }
  364|  3.58k|        co_filename = args[13];
  365|  3.58k|        if (!--noptargs) {
  ------------------
  |  Branch (365:13): [True: 3.58k, False: 0]
  ------------------
  366|  3.58k|            goto skip_optional_kwonly;
  367|  3.58k|        }
  368|  3.58k|    }
  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|  3.58k|skip_optional_kwonly:
  405|  3.58k|    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|  3.58k|exit:
  408|  3.58k|    return return_value;
  409|  3.58k|}

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

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

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

frameobject.c:frame_back_get:
  208|  1.23k|{
  209|  1.23k|    PyObject *return_value = NULL;
  210|       |
  211|  1.23k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  1.23k|    {
  ------------------
  212|  1.23k|    return_value = frame_back_get_impl((PyFrameObject *)self);
  213|  1.23k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  1.23k|    }
  ------------------
  214|       |
  215|  1.23k|    return return_value;
  216|  1.23k|}
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|  7.19k|{
   92|  7.19k|    PyObject *return_value = NULL;
   93|       |
   94|  7.19k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  7.19k|    {
  ------------------
   95|  7.19k|    return_value = function___annotations___get_impl((PyFunctionObject *)self);
   96|  7.19k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  7.19k|    }
  ------------------
   97|       |
   98|  7.19k|    return return_value;
   99|  7.19k|}
funcobject.c:function___annotations___set:
  116|  3.58k|{
  117|  3.58k|    int return_value;
  118|       |
  119|  3.58k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  3.58k|    {
  ------------------
  120|  3.58k|    return_value = function___annotations___set_impl((PyFunctionObject *)self, value);
  121|  3.58k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  3.58k|    }
  ------------------
  122|       |
  123|  3.58k|    return return_value;
  124|  3.58k|}
funcobject.c:function___annotate___get:
   34|  3.86k|{
   35|  3.86k|    PyObject *return_value = NULL;
   36|       |
   37|  3.86k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  3.86k|    {
  ------------------
   38|  3.86k|    return_value = function___annotate___get_impl((PyFunctionObject *)self);
   39|  3.86k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  3.86k|    }
  ------------------
   40|       |
   41|  3.86k|    return return_value;
   42|  3.86k|}
funcobject.c:function___annotate___set:
   59|  3.77k|{
   60|  3.77k|    int return_value;
   61|       |
   62|  3.77k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  3.77k|    {
  ------------------
   63|  3.77k|    return_value = function___annotate___set_impl((PyFunctionObject *)self, value);
   64|  3.77k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  3.77k|    }
  ------------------
   65|       |
   66|  3.77k|    return return_value;
   67|  3.77k|}
funcobject.c:function___type_params___get:
  148|  3.81k|{
  149|  3.81k|    PyObject *return_value = NULL;
  150|       |
  151|  3.81k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  3.81k|    {
  ------------------
  152|  3.81k|    return_value = function___type_params___get_impl((PyFunctionObject *)self);
  153|  3.81k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  3.81k|    }
  ------------------
  154|       |
  155|  3.81k|    return return_value;
  156|  3.81k|}
funcobject.c:function___type_params___set:
  173|  3.72k|{
  174|  3.72k|    int return_value;
  175|       |
  176|  3.72k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  3.72k|    {
  ------------------
  177|  3.72k|    return_value = function___type_params___set_impl((PyFunctionObject *)self, value);
  178|  3.72k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  3.72k|    }
  ------------------
  179|       |
  180|  3.72k|    return return_value;
  181|  3.72k|}
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), },
  ------------------
  |  |  915|     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), },
  ------------------
  |  |  915|     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), },
  ------------------
  |  |  915|     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), },
  ------------------
  |  |  915|     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), },
  ------------------
  |  |  915|     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), },
  ------------------
  |  |  915|     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|  4.10M|{
  143|  4.10M|    PyObject *return_value = NULL;
  144|       |
  145|  4.10M|    return_value = list_extend_impl((PyListObject *)self, iterable);
  146|       |
  147|  4.10M|    return return_value;
  148|  4.10M|}
listobject.c:list___reversed__:
  468|  3.97k|{
  469|  3.97k|    return list___reversed___impl((PyListObject *)self);
  470|  3.97k|}
listobject.c:py_list_clear:
   70|  3.77k|{
   71|  3.77k|    PyObject *return_value = NULL;
   72|       |
   73|  3.77k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  3.77k|    {
  ------------------
   74|  3.77k|    return_value = py_list_clear_impl((PyListObject *)self);
   75|  3.77k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  3.77k|    }
  ------------------
   76|       |
   77|  3.77k|    return return_value;
   78|  3.77k|}
listobject.c:list_append:
  118|  16.0k|{
  119|  16.0k|    PyObject *return_value = NULL;
  120|       |
  121|  16.0k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  16.0k|    {
  ------------------
  122|  16.0k|    return_value = list_append_impl((PyListObject *)self, object);
  123|  16.0k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  16.0k|    }
  ------------------
  124|       |
  125|  16.0k|    return return_value;
  126|  16.0k|}
listobject.c:list_insert:
   27|     30|{
   28|     30|    PyObject *return_value = NULL;
   29|     30|    Py_ssize_t index;
   30|     30|    PyObject *object;
   31|       |
   32|     30|    if (!_PyArg_CheckPositional("insert", nargs, 2, 2)) {
  ------------------
  |  |   31|     30|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 30, False: 0]
  |  |  |  Branch (31:27): [True: 30, False: 0]
  |  |  ------------------
  |  |   32|     30|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   33|      0|        goto exit;
   34|      0|    }
   35|     30|    {
   36|     30|        Py_ssize_t ival = -1;
   37|     30|        PyObject *iobj = _PyNumber_Index(args[0]);
   38|     30|        if (iobj != NULL) {
  ------------------
  |  Branch (38:13): [True: 30, False: 0]
  ------------------
   39|     30|            ival = PyLong_AsSsize_t(iobj);
   40|     30|            Py_DECREF(iobj);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   41|     30|        }
   42|     30|        if (ival == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (42:13): [True: 0, False: 30]
  |  Branch (42:27): [True: 0, False: 0]
  ------------------
   43|      0|            goto exit;
   44|      0|        }
   45|     30|        index = ival;
   46|     30|    }
   47|      0|    object = args[1];
   48|     30|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|     30|    {
  ------------------
   49|     30|    return_value = list_insert_impl((PyListObject *)self, index, object);
   50|     30|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     30|    }
  ------------------
   51|       |
   52|     30|exit:
   53|     30|    return return_value;
   54|     30|}
listobject.c:list_pop:
  166|  2.40M|{
  167|  2.40M|    PyObject *return_value = NULL;
  168|  2.40M|    Py_ssize_t index = -1;
  169|       |
  170|  2.40M|    if (!_PyArg_CheckPositional("pop", nargs, 0, 1)) {
  ------------------
  |  |   31|  2.40M|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 2.40M, False: 0]
  |  |  |  Branch (31:27): [True: 2.40M, False: 0]
  |  |  ------------------
  |  |   32|  2.40M|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  171|      0|        goto exit;
  172|      0|    }
  173|  2.40M|    if (nargs < 1) {
  ------------------
  |  Branch (173:9): [True: 2.40M, False: 0]
  ------------------
  174|  2.40M|        goto skip_optional;
  175|  2.40M|    }
  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|  2.40M|skip_optional:
  189|  2.40M|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  2.40M|    {
  ------------------
  190|  2.40M|    return_value = list_pop_impl((PyListObject *)self, index);
  191|  2.40M|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  2.40M|    }
  ------------------
  192|       |
  193|  2.40M|exit:
  194|  2.40M|    return return_value;
  195|  2.40M|}
listobject.c:list_remove:
  388|  8.44k|{
  389|  8.44k|    PyObject *return_value = NULL;
  390|       |
  391|  8.44k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  8.44k|    {
  ------------------
  392|  8.44k|    return_value = list_remove_impl((PyListObject *)self, value);
  393|  8.44k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  8.44k|    }
  ------------------
  394|       |
  395|  8.44k|    return return_value;
  396|  8.44k|}
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|  2.00M|{
  220|  2.00M|    PyObject *return_value = NULL;
  221|  2.00M|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  222|       |
  223|  2.00M|    #define NUM_KEYWORDS 2
  224|  2.00M|    static struct {
  225|  2.00M|        PyGC_Head _this_is_not_used;
  226|  2.00M|        PyObject_VAR_HEAD
  227|  2.00M|        Py_hash_t ob_hash;
  228|  2.00M|        PyObject *ob_item[NUM_KEYWORDS];
  229|  2.00M|    } _kwtuple = {
  230|  2.00M|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|  2.00M|    {                                     \
  |  |   98|  2.00M|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|  2.00M|    {                               \
  |  |  |  |   91|  2.00M|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|  2.00M|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  2.00M|#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.00M|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|  2.00M|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|  2.00M|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|  2.00M|        (type)                      \
  |  |  |  |   93|  2.00M|    },
  |  |  ------------------
  |  |   99|  2.00M|        (size)                            \
  |  |  100|  2.00M|    },
  ------------------
  231|  2.00M|        .ob_hash = -1,
  232|  2.00M|        .ob_item = { &_Py_ID(key), &_Py_ID(reverse), },
  ------------------
  |  |  915|  2.00M|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  2.00M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.00M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(key), &_Py_ID(reverse), },
  ------------------
  |  |  915|  2.00M|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  2.00M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.00M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  233|  2.00M|    };
  234|  2.00M|    #undef NUM_KEYWORDS
  235|  2.00M|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  236|       |
  237|       |    #else  // !Py_BUILD_CORE
  238|       |    #  define KWTUPLE NULL
  239|       |    #endif  // !Py_BUILD_CORE
  240|       |
  241|  2.00M|    static const char * const _keywords[] = {"key", "reverse", NULL};
  242|  2.00M|    static _PyArg_Parser _parser = {
  243|  2.00M|        .keywords = _keywords,
  244|  2.00M|        .fname = "sort",
  245|  2.00M|        .kwtuple = KWTUPLE,
  ------------------
  |  |  235|  2.00M|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  246|  2.00M|    };
  247|  2.00M|    #undef KWTUPLE
  248|  2.00M|    PyObject *argsbuf[2];
  249|  2.00M|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0;
  ------------------
  |  |   27|    219|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    219|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    219|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (249:36): [True: 219, False: 2.00M]
  ------------------
  250|  2.00M|    PyObject *keyfunc = Py_None;
  ------------------
  |  |  616|  2.00M|#  define Py_None (&_Py_NoneStruct)
  ------------------
  251|  2.00M|    int reverse = 0;
  252|       |
  253|  2.00M|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|  2.00M|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 2.00M, False: 219]
  |  |  ------------------
  |  |   89|  2.00M|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 2.00M, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 2.00M]
  |  |  |  Branch (89:43): [True: 2.00M, False: 0]
  |  |  |  Branch (89:67): [True: 2.00M, False: 0]
  |  |  ------------------
  |  |   90|  2.00M|      (args) : \
  |  |   91|  2.00M|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|    219|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  254|  2.00M|            /*minpos*/ 0, /*maxpos*/ 0, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  255|  2.00M|    if (!args) {
  ------------------
  |  Branch (255:9): [True: 0, False: 2.00M]
  ------------------
  256|      0|        goto exit;
  257|      0|    }
  258|  2.00M|    if (!noptargs) {
  ------------------
  |  Branch (258:9): [True: 2.00M, False: 219]
  ------------------
  259|  2.00M|        goto skip_optional_kwonly;
  260|  2.00M|    }
  261|    219|    if (args[0]) {
  ------------------
  |  Branch (261:9): [True: 159, False: 60]
  ------------------
  262|    159|        keyfunc = args[0];
  263|    159|        if (!--noptargs) {
  ------------------
  |  Branch (263:13): [True: 159, False: 0]
  ------------------
  264|    159|            goto skip_optional_kwonly;
  265|    159|        }
  266|    159|    }
  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|  2.00M|skip_optional_kwonly:
  272|  2.00M|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  2.00M|    {
  ------------------
  273|  2.00M|    return_value = list_sort_impl((PyListObject *)self, keyfunc, reverse);
  274|  2.00M|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  2.00M|    }
  ------------------
  275|       |
  276|  2.00M|exit:
  277|  2.00M|    return return_value;
  278|  2.00M|}
listobject.c:list___init__:
  412|  8.44k|{
  413|  8.44k|    int return_value = -1;
  414|  8.44k|    PyTypeObject *base_tp = &PyList_Type;
  415|  8.44k|    PyObject *iterable = NULL;
  416|       |
  417|  8.44k|    if ((Py_IS_TYPE(self, base_tp) ||
  ------------------
  |  |  215|  16.8k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  8.44k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.44k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 0, False: 8.44k]
  |  |  ------------------
  ------------------
  418|  8.44k|         Py_TYPE(self)->tp_new == base_tp->tp_new) &&
  ------------------
  |  |  213|  8.44k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.44k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.44k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (418:10): [True: 8.44k, False: 0]
  ------------------
  419|  8.44k|        !_PyArg_NoKeywords("list", kwargs)) {
  ------------------
  |  |   25|  8.44k|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (25:6): [True: 8.44k, False: 0]
  |  |  |  Branch (25:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  420|      0|        goto exit;
  421|      0|    }
  422|  8.44k|    if (!_PyArg_CheckPositional("list", PyTuple_GET_SIZE(args), 0, 1)) {
  ------------------
  |  |   31|  8.44k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 8.44k, False: 0]
  |  |  |  Branch (31:27): [True: 8.44k, False: 0]
  |  |  ------------------
  |  |   32|  8.44k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  423|      0|        goto exit;
  424|      0|    }
  425|  8.44k|    if (PyTuple_GET_SIZE(args) < 1) {
  ------------------
  |  |   27|  8.44k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.44k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.44k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (425:9): [True: 8.44k, False: 0]
  ------------------
  426|  8.44k|        goto skip_optional;
  427|  8.44k|    }
  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|  8.44k|skip_optional:
  430|  8.44k|    return_value = list___init___impl((PyListObject *)self, iterable);
  431|       |
  432|  8.44k|exit:
  433|  8.44k|    return return_value;
  434|  8.44k|}

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

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), },
  ------------------
  |  |  915|      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), },
  ------------------
  |  |  915|      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|  3.94k|{
   24|  3.94k|    PyObject *return_value = NULL;
   25|  3.94k|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
   26|       |
   27|  3.94k|    #define NUM_KEYWORDS 1
   28|  3.94k|    static struct {
   29|  3.94k|        PyGC_Head _this_is_not_used;
   30|  3.94k|        PyObject_VAR_HEAD
   31|  3.94k|        Py_hash_t ob_hash;
   32|  3.94k|        PyObject *ob_item[NUM_KEYWORDS];
   33|  3.94k|    } _kwtuple = {
   34|  3.94k|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|  3.94k|    {                                     \
  |  |   98|  3.94k|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|  3.94k|    {                               \
  |  |  |  |   91|  3.94k|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|  3.94k|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  3.94k|#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|  3.94k|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|  3.94k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|  3.94k|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|  3.94k|        (type)                      \
  |  |  |  |   93|  3.94k|    },
  |  |  ------------------
  |  |   99|  3.94k|        (size)                            \
  |  |  100|  3.94k|    },
  ------------------
   35|  3.94k|        .ob_hash = -1,
   36|  3.94k|        .ob_item = { &_Py_ID(object), },
  ------------------
  |  |  915|  3.94k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  3.94k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  3.94k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   37|  3.94k|    };
   38|  3.94k|    #undef NUM_KEYWORDS
   39|  3.94k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
   40|       |
   41|       |    #else  // !Py_BUILD_CORE
   42|       |    #  define KWTUPLE NULL
   43|       |    #endif  // !Py_BUILD_CORE
   44|       |
   45|  3.94k|    static const char * const _keywords[] = {"object", NULL};
   46|  3.94k|    static _PyArg_Parser _parser = {
   47|  3.94k|        .keywords = _keywords,
   48|  3.94k|        .fname = "memoryview",
   49|  3.94k|        .kwtuple = KWTUPLE,
  ------------------
  |  |   39|  3.94k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
   50|  3.94k|    };
   51|  3.94k|    #undef KWTUPLE
   52|  3.94k|    PyObject *argsbuf[1];
   53|  3.94k|    PyObject * const *fastargs;
   54|  3.94k|    Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|  3.94k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.94k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.94k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   55|  3.94k|    PyObject *object;
   56|       |
   57|  3.94k|    fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser,
  ------------------
  |  |   88|  3.94k|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 3.94k, Folded]
  |  |  |  Branch (88:23): [True: 3.94k, False: 0]
  |  |  |  Branch (88:43): [True: 0, Folded]
  |  |  ------------------
  |  |   89|  3.94k|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 3.94k, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 3.94k]
  |  |  |  Branch (89:43): [True: 3.94k, False: 0]
  |  |  |  Branch (89:67): [True: 3.94k, False: 0]
  |  |  ------------------
  |  |   90|  3.94k|      (args) : \
  |  |   91|  3.94k|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
   58|  3.94k|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
   59|  3.94k|    if (!fastargs) {
  ------------------
  |  Branch (59:9): [True: 0, False: 3.94k]
  ------------------
   60|      0|        goto exit;
   61|      0|    }
   62|  3.94k|    object = fastargs[0];
   63|  3.94k|    return_value = memoryview_impl(type, object);
   64|       |
   65|  3.94k|exit:
   66|  3.94k|    return return_value;
   67|  3.94k|}

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

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), },
  ------------------
  |  |  915|      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), },
  ------------------
  |  |  915|      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:
  399|  2.05M|{
  400|  2.05M|    PyObject *return_value = NULL;
  401|  2.05M|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  402|       |
  403|  2.05M|    #define NUM_KEYWORDS 2
  404|  2.05M|    static struct {
  405|  2.05M|        PyGC_Head _this_is_not_used;
  406|  2.05M|        PyObject_VAR_HEAD
  407|  2.05M|        Py_hash_t ob_hash;
  408|  2.05M|        PyObject *ob_item[NUM_KEYWORDS];
  409|  2.05M|    } _kwtuple = {
  410|  2.05M|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|  2.05M|    {                                     \
  |  |   98|  2.05M|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|  2.05M|    {                               \
  |  |  |  |   91|  2.05M|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|  2.05M|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  2.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|  2.05M|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|  2.05M|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|  2.05M|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|  2.05M|        (type)                      \
  |  |  |  |   93|  2.05M|    },
  |  |  ------------------
  |  |   99|  2.05M|        (size)                            \
  |  |  100|  2.05M|    },
  ------------------
  411|  2.05M|        .ob_hash = -1,
  412|  2.05M|        .ob_item = { &_Py_ID(key), &_Py_ID(last), },
  ------------------
  |  |  915|  2.05M|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  2.05M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.05M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(key), &_Py_ID(last), },
  ------------------
  |  |  915|  2.05M|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  2.05M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.05M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  413|  2.05M|    };
  414|  2.05M|    #undef NUM_KEYWORDS
  415|  2.05M|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  416|       |
  417|       |    #else  // !Py_BUILD_CORE
  418|       |    #  define KWTUPLE NULL
  419|       |    #endif  // !Py_BUILD_CORE
  420|       |
  421|  2.05M|    static const char * const _keywords[] = {"key", "last", NULL};
  422|  2.05M|    static _PyArg_Parser _parser = {
  423|  2.05M|        .keywords = _keywords,
  424|  2.05M|        .fname = "move_to_end",
  425|  2.05M|        .kwtuple = KWTUPLE,
  ------------------
  |  |  415|  2.05M|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  426|  2.05M|    };
  427|  2.05M|    #undef KWTUPLE
  428|  2.05M|    PyObject *argsbuf[2];
  429|  2.05M|    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 (429:36): [True: 0, False: 2.05M]
  ------------------
  430|  2.05M|    PyObject *key;
  431|  2.05M|    int last = 1;
  432|       |
  433|  2.05M|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|  2.05M|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 2.05M, False: 0]
  |  |  ------------------
  |  |   89|  2.05M|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 2.05M, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 2.05M]
  |  |  |  Branch (89:43): [True: 2.05M, False: 0]
  |  |  |  Branch (89:67): [True: 2.05M, False: 0]
  |  |  ------------------
  |  |   90|  2.05M|      (args) : \
  |  |   91|  2.05M|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  434|  2.05M|            /*minpos*/ 1, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  435|  2.05M|    if (!args) {
  ------------------
  |  Branch (435:9): [True: 0, False: 2.05M]
  ------------------
  436|      0|        goto exit;
  437|      0|    }
  438|  2.05M|    key = args[0];
  439|  2.05M|    if (!noptargs) {
  ------------------
  |  Branch (439:9): [True: 2.05M, False: 0]
  ------------------
  440|  2.05M|        goto skip_optional_pos;
  441|  2.05M|    }
  442|      0|    last = PyObject_IsTrue(args[1]);
  443|      0|    if (last < 0) {
  ------------------
  |  Branch (443:9): [True: 0, False: 0]
  ------------------
  444|      0|        goto exit;
  445|      0|    }
  446|  2.05M|skip_optional_pos:
  447|  2.05M|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  2.05M|    {
  ------------------
  448|  2.05M|    return_value = OrderedDict_move_to_end_impl((PyODictObject *)self, key, last);
  449|  2.05M|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  2.05M|    }
  ------------------
  450|       |
  451|  2.05M|exit:
  452|  2.05M|    return return_value;
  453|  2.05M|}

sentinelobject.c:sentinel_new:
   12|      6|{
   13|      6|    PyObject *return_value = NULL;
   14|      6|    PyTypeObject *base_tp = &PySentinel_Type;
   15|      6|    PyObject *name;
   16|       |
   17|      6|    if ((type == base_tp || type->tp_init == base_tp->tp_init) &&
  ------------------
  |  Branch (17:10): [True: 6, False: 0]
  |  Branch (17:29): [True: 0, False: 0]
  ------------------
   18|      6|        !_PyArg_NoKeywords("sentinel", kwargs)) {
  ------------------
  |  |   25|      6|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (25:6): [True: 6, False: 0]
  |  |  |  Branch (25:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   19|      0|        goto exit;
   20|      0|    }
   21|      6|    if (!_PyArg_CheckPositional("sentinel", PyTuple_GET_SIZE(args), 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]
  |  |  ------------------
  ------------------
   22|      0|        goto exit;
   23|      0|    }
   24|      6|    if (!PyUnicode_Check(PyTuple_GET_ITEM(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 (24:9): [True: 0, False: 6]
  ------------------
   25|      0|        _PyArg_BadArgument("sentinel", "argument 1", "str", 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   26|      0|        goto exit;
   27|      0|    }
   28|      6|    name = 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   29|      6|    return_value = sentinel_new_impl(type, name);
   30|       |
   31|      6|exit:
   32|      6|    return return_value;
   33|      6|}

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|  73.9k|{
  352|  73.9k|    PyObject *return_value = NULL;
  353|       |
  354|  73.9k|    Py_BEGIN_CRITICAL_SECTION2(so, other);
  ------------------
  |  |   57|  73.9k|    {
  ------------------
  355|  73.9k|    return_value = set_issubset_impl((PySetObject *)so, other);
  356|  73.9k|    Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|  73.9k|    }
  ------------------
  357|       |
  358|  73.9k|    return return_value;
  359|  73.9k|}
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|  12.1k|{
  402|  12.1k|    PyObject *return_value = NULL;
  403|       |
  404|  12.1k|    Py_BEGIN_CRITICAL_SECTION(so);
  ------------------
  |  |   51|  12.1k|    {
  ------------------
  405|  12.1k|    return_value = set_add_impl((PySetObject *)so, key);
  406|  12.1k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  12.1k|    }
  ------------------
  407|       |
  408|  12.1k|    return return_value;
  409|  12.1k|}
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|    128|{
  499|    128|    PyObject *return_value = NULL;
  500|       |
  501|    128|    Py_BEGIN_CRITICAL_SECTION(so);
  ------------------
  |  |   51|    128|    {
  ------------------
  502|    128|    return_value = set_discard_impl((PySetObject *)so, key);
  503|    128|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    128|    }
  ------------------
  504|       |
  505|    128|    return return_value;
  506|    128|}
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|   143k|{
   49|   143k|    PyObject *return_value = NULL;
   50|   143k|    PyObject * const *others;
   51|   143k|    Py_ssize_t others_length;
   52|       |
   53|   143k|    others = args;
   54|   143k|    others_length = nargs;
   55|   143k|    return_value = set_update_impl((PySetObject *)so, others, others_length);
   56|       |
   57|   143k|    return return_value;
   58|   143k|}
setobject.c:frozenset___contains__:
  447|  19.2k|{
  448|  19.2k|    PyObject *return_value = NULL;
  449|       |
  450|  19.2k|    return_value = frozenset___contains___impl((PySetObject *)so, key);
  451|       |
  452|  19.2k|    return return_value;
  453|  19.2k|}
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|     57|{
   24|     57|    PyObject *return_value = NULL;
   25|       |
   26|     57|    Py_BEGIN_CRITICAL_SECTION(so);
  ------------------
  |  |   51|     57|    {
  ------------------
   27|     57|    return_value = set_pop_impl((PySetObject *)so);
   28|     57|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     57|    }
  ------------------
   29|       |
   30|     57|    return return_value;
   31|     57|}

structseq.c:structseq_new:
   16|  11.8k|{
   17|  11.8k|    PyObject *return_value = NULL;
   18|  11.8k|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
   19|       |
   20|  11.8k|    #define NUM_KEYWORDS 2
   21|  11.8k|    static struct {
   22|  11.8k|        PyGC_Head _this_is_not_used;
   23|  11.8k|        PyObject_VAR_HEAD
   24|  11.8k|        Py_hash_t ob_hash;
   25|  11.8k|        PyObject *ob_item[NUM_KEYWORDS];
   26|  11.8k|    } _kwtuple = {
   27|  11.8k|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|  11.8k|    {                                     \
  |  |   98|  11.8k|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|  11.8k|    {                               \
  |  |  |  |   91|  11.8k|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|  11.8k|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  11.8k|#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|  11.8k|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|  11.8k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|  11.8k|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|  11.8k|        (type)                      \
  |  |  |  |   93|  11.8k|    },
  |  |  ------------------
  |  |   99|  11.8k|        (size)                            \
  |  |  100|  11.8k|    },
  ------------------
   28|  11.8k|        .ob_hash = -1,
   29|  11.8k|        .ob_item = { &_Py_ID(sequence), &_Py_ID(dict), },
  ------------------
  |  |  915|  11.8k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  11.8k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  11.8k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(sequence), &_Py_ID(dict), },
  ------------------
  |  |  915|  11.8k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  11.8k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  11.8k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   30|  11.8k|    };
   31|  11.8k|    #undef NUM_KEYWORDS
   32|  11.8k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
   33|       |
   34|       |    #else  // !Py_BUILD_CORE
   35|       |    #  define KWTUPLE NULL
   36|       |    #endif  // !Py_BUILD_CORE
   37|       |
   38|  11.8k|    static const char * const _keywords[] = {"sequence", "dict", NULL};
   39|  11.8k|    static _PyArg_Parser _parser = {
   40|  11.8k|        .keywords = _keywords,
   41|  11.8k|        .fname = "structseq",
   42|  11.8k|        .kwtuple = KWTUPLE,
  ------------------
  |  |   32|  11.8k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
   43|  11.8k|    };
   44|  11.8k|    #undef KWTUPLE
   45|  11.8k|    PyObject *argsbuf[2];
   46|  11.8k|    PyObject * const *fastargs;
   47|  11.8k|    Py_ssize_t nargs = 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   48|  11.8k|    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 (48:36): [True: 0, False: 11.8k]
  ------------------
   49|  11.8k|    PyObject *arg;
   50|  11.8k|    PyObject *dict = NULL;
   51|       |
   52|  11.8k|    fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser,
  ------------------
  |  |   88|  11.8k|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 11.8k, Folded]
  |  |  |  Branch (88:23): [True: 11.8k, False: 0]
  |  |  |  Branch (88:43): [True: 0, Folded]
  |  |  ------------------
  |  |   89|  11.8k|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 11.8k, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 11.8k]
  |  |  |  Branch (89:43): [True: 11.8k, False: 0]
  |  |  |  Branch (89:67): [True: 11.8k, False: 0]
  |  |  ------------------
  |  |   90|  11.8k|      (args) : \
  |  |   91|  11.8k|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
   53|  11.8k|            /*minpos*/ 1, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
   54|  11.8k|    if (!fastargs) {
  ------------------
  |  Branch (54:9): [True: 0, False: 11.8k]
  ------------------
   55|      0|        goto exit;
   56|      0|    }
   57|  11.8k|    arg = fastargs[0];
   58|  11.8k|    if (!noptargs) {
  ------------------
  |  Branch (58:9): [True: 11.8k, False: 0]
  ------------------
   59|  11.8k|        goto skip_optional_pos;
   60|  11.8k|    }
   61|      0|    dict = fastargs[1];
   62|  11.8k|skip_optional_pos:
   63|  11.8k|    return_value = structseq_new_impl(type, arg, dict);
   64|       |
   65|  11.8k|exit:
   66|  11.8k|    return return_value;
   67|  11.8k|}

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|  55.3k|{
   92|  55.3k|    PyObject *return_value = NULL;
   93|  55.3k|    PyTypeObject *base_tp = &PyTuple_Type;
   94|  55.3k|    PyObject *iterable = NULL;
   95|       |
   96|  55.3k|    if ((type == base_tp || type->tp_init == base_tp->tp_init) &&
  ------------------
  |  Branch (96:10): [True: 0, False: 55.3k]
  |  Branch (96:29): [True: 55.3k, False: 2]
  ------------------
   97|  55.3k|        !_PyArg_NoKeywords("tuple", kwargs)) {
  ------------------
  |  |   25|  55.3k|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (25:6): [True: 55.3k, False: 0]
  |  |  |  Branch (25:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   98|      0|        goto exit;
   99|      0|    }
  100|  55.3k|    if (!_PyArg_CheckPositional("tuple", PyTuple_GET_SIZE(args), 0, 1)) {
  ------------------
  |  |   31|  55.3k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 55.3k, False: 0]
  |  |  |  Branch (31:27): [True: 55.3k, False: 0]
  |  |  ------------------
  |  |   32|  55.3k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  101|      0|        goto exit;
  102|      0|    }
  103|  55.3k|    if (PyTuple_GET_SIZE(args) < 1) {
  ------------------
  |  |   27|  55.3k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  55.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  55.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (103:9): [True: 0, False: 55.3k]
  ------------------
  104|      0|        goto skip_optional;
  105|      0|    }
  106|  55.3k|    iterable = PyTuple_GET_ITEM(args, 0);
  ------------------
  |  |   29|  55.3k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  55.3k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  55.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  107|  55.3k|skip_optional:
  108|  55.3k|    return_value = tuple_new_impl(type, iterable);
  109|       |
  110|  55.3k|exit:
  111|  55.3k|    return return_value;
  112|  55.3k|}

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

typevarobject.c:typevar_typing_prepare_subst:
  162|    102|{
  163|    102|    PyObject *return_value = NULL;
  164|    102|    PyObject *alias;
  165|    102|    PyObject *__clinic_args;
  166|       |
  167|    102|    if (!_PyArg_CheckPositional("__typing_prepare_subst__", nargs, 2, 2)) {
  ------------------
  |  |   31|    102|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 102, False: 0]
  |  |  |  Branch (31:27): [True: 102, False: 0]
  |  |  ------------------
  |  |   32|    102|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  168|      0|        goto exit;
  169|      0|    }
  170|    102|    alias = args[0];
  171|    102|    __clinic_args = args[1];
  172|    102|    return_value = typevar_typing_prepare_subst_impl((typevarobject *)self, alias, __clinic_args);
  173|       |
  174|    102|exit:
  175|    102|    return return_value;
  176|    102|}
typevarobject.c:typevar_has_default:
  208|     20|{
  209|     20|    return typevar_has_default_impl((typevarobject *)self);
  210|     20|}
typevarobject.c:typevar_new:
   25|     68|{
   26|     68|    PyObject *return_value = NULL;
   27|     68|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
   28|       |
   29|     68|    #define NUM_KEYWORDS 6
   30|     68|    static struct {
   31|     68|        PyGC_Head _this_is_not_used;
   32|     68|        PyObject_VAR_HEAD
   33|     68|        Py_hash_t ob_hash;
   34|     68|        PyObject *ob_item[NUM_KEYWORDS];
   35|     68|    } _kwtuple = {
   36|     68|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|     68|    {                                     \
  |  |   98|     68|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|     68|    {                               \
  |  |  |  |   91|     68|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|     68|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|     68|#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|     68|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|     68|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|     68|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|     68|        (type)                      \
  |  |  |  |   93|     68|    },
  |  |  ------------------
  |  |   99|     68|        (size)                            \
  |  |  100|     68|    },
  ------------------
   37|     68|        .ob_hash = -1,
   38|     68|        .ob_item = { &_Py_ID(name), &_Py_ID(bound), &_Py_ID(default), &_Py_ID(covariant), &_Py_ID(contravariant), &_Py_ID(infer_variance), },
  ------------------
  |  |  915|     68|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     68|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     68|    _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), },
  ------------------
  |  |  915|     68|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     68|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     68|    _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), },
  ------------------
  |  |  915|     68|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     68|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     68|    _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), },
  ------------------
  |  |  915|     68|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     68|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     68|    _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), },
  ------------------
  |  |  915|     68|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     68|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     68|    _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), },
  ------------------
  |  |  915|     68|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     68|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     68|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   39|     68|    };
   40|     68|    #undef NUM_KEYWORDS
   41|     68|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
   42|       |
   43|       |    #else  // !Py_BUILD_CORE
   44|       |    #  define KWTUPLE NULL
   45|       |    #endif  // !Py_BUILD_CORE
   46|       |
   47|     68|    static const char * const _keywords[] = {"name", "bound", "default", "covariant", "contravariant", "infer_variance", NULL};
   48|     68|    static _PyArg_Parser _parser = {
   49|     68|        .keywords = _keywords,
   50|     68|        .fname = "typevar",
   51|     68|        .kwtuple = KWTUPLE,
  ------------------
  |  |   41|     68|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
   52|     68|    };
   53|     68|    #undef KWTUPLE
   54|     68|    PyObject *argsbuf[6];
   55|     68|    PyObject * const *fastargs;
   56|     68|    Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|     68|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     68|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     68|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   57|     68|    Py_ssize_t noptargs = Py_MIN(nargs, 1) + (kwargs ? PyDict_GET_SIZE(kwargs) : 0) - 1;
  ------------------
  |  |  112|     68|#define Py_MIN(x, y) (((x) > (y)) ? (y) : (x))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 2, False: 66]
  |  |  ------------------
  ------------------
                  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: 50]
  ------------------
   58|     68|    PyObject *name;
   59|     68|    PyObject *constraints = NULL;
   60|     68|    PyObject *bound = Py_None;
  ------------------
  |  |  616|     68|#  define Py_None (&_Py_NoneStruct)
  ------------------
   61|     68|    PyObject *default_value = &_Py_NoDefaultStruct;
   62|     68|    int covariant = 0;
   63|     68|    int contravariant = 0;
   64|     68|    int infer_variance = 0;
   65|       |
   66|     68|    fastargs = _PyArg_UnpackKeywords(_PyTuple_CAST(args)->ob_item, nargs, kwargs, NULL, &_parser,
  ------------------
  |  |   88|     68|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 68, Folded]
  |  |  |  Branch (88:23): [True: 50, False: 18]
  |  |  |  Branch (88:43): [True: 0, Folded]
  |  |  ------------------
  |  |   89|     68|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 50, False: 0]
  |  |  |  Branch (89:31): [True: 0, Folded]
  |  |  |  Branch (89:43): [True: 0, False: 0]
  |  |  |  Branch (89:67): [True: 50, False: 0]
  |  |  ------------------
  |  |   90|     68|      (args) : \
  |  |   91|     68|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|     18|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
   67|     68|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 1, argsbuf);
   68|     68|    if (!fastargs) {
  ------------------
  |  Branch (68:9): [True: 0, False: 68]
  ------------------
   69|      0|        goto exit;
   70|      0|    }
   71|     68|    if (!PyUnicode_Check(fastargs[0])) {
  ------------------
  |  |  103|     68|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     68|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (71:9): [True: 0, False: 68]
  ------------------
   72|      0|        _PyArg_BadArgument("typevar", "argument 'name'", "str", fastargs[0]);
   73|      0|        goto exit;
   74|      0|    }
   75|     68|    name = fastargs[0];
   76|     68|    if (!noptargs) {
  ------------------
  |  Branch (76:9): [True: 50, False: 18]
  ------------------
   77|     50|        goto skip_optional_kwonly;
   78|     50|    }
   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|     68|skip_optional_kwonly:
  114|     68|    constraints = PyTuple_GetSlice(args, 1, PY_SSIZE_T_MAX);
  ------------------
  |  |  137|     68|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  115|     68|    if (!constraints) {
  ------------------
  |  Branch (115:9): [True: 0, False: 68]
  ------------------
  116|      0|        goto exit;
  117|      0|    }
  118|     68|    return_value = typevar_new_impl(type, name, constraints, bound, default_value, covariant, contravariant, infer_variance);
  119|       |
  120|     68|exit:
  121|       |    /* Cleanup for constraints */
  122|     68|    Py_XDECREF(constraints);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  123|       |
  124|     68|    return return_value;
  125|     68|}
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), },
  ------------------
  |  |  915|      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), },
  ------------------
  |  |  915|      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), },
  ------------------
  |  |  915|      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), },
  ------------------
  |  |  915|      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), },
  ------------------
  |  |  915|      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), },
  ------------------
  |  |  915|      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:
  217|  1.20M|{
  218|  1.20M|    PyObject *return_value = NULL;
  219|  1.20M|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  220|       |
  221|  1.20M|    #define NUM_KEYWORDS 2
  222|  1.20M|    static struct {
  223|  1.20M|        PyGC_Head _this_is_not_used;
  224|  1.20M|        PyObject_VAR_HEAD
  225|  1.20M|        Py_hash_t ob_hash;
  226|  1.20M|        PyObject *ob_item[NUM_KEYWORDS];
  227|  1.20M|    } _kwtuple = {
  228|  1.20M|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|  1.20M|    {                                     \
  |  |   98|  1.20M|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|  1.20M|    {                               \
  |  |  |  |   91|  1.20M|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|  1.20M|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  1.20M|#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.20M|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|  1.20M|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|  1.20M|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|  1.20M|        (type)                      \
  |  |  |  |   93|  1.20M|    },
  |  |  ------------------
  |  |   99|  1.20M|        (size)                            \
  |  |  100|  1.20M|    },
  ------------------
  229|  1.20M|        .ob_hash = -1,
  230|  1.20M|        .ob_item = { &_Py_ID(encoding), &_Py_ID(errors), },
  ------------------
  |  |  915|  1.20M|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.20M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.20M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(encoding), &_Py_ID(errors), },
  ------------------
  |  |  915|  1.20M|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.20M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.20M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  231|  1.20M|    };
  232|  1.20M|    #undef NUM_KEYWORDS
  233|  1.20M|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  234|       |
  235|       |    #else  // !Py_BUILD_CORE
  236|       |    #  define KWTUPLE NULL
  237|       |    #endif  // !Py_BUILD_CORE
  238|       |
  239|  1.20M|    static const char * const _keywords[] = {"encoding", "errors", NULL};
  240|  1.20M|    static _PyArg_Parser _parser = {
  241|  1.20M|        .keywords = _keywords,
  242|  1.20M|        .fname = "encode",
  243|  1.20M|        .kwtuple = KWTUPLE,
  ------------------
  |  |  233|  1.20M|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  244|  1.20M|    };
  245|  1.20M|    #undef KWTUPLE
  246|  1.20M|    PyObject *argsbuf[2];
  247|  1.20M|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 0;
  ------------------
  |  |   27|  12.3k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (247:36): [True: 12.3k, False: 1.19M]
  ------------------
  248|  1.20M|    const char *encoding = NULL;
  249|  1.20M|    const char *errors = NULL;
  250|       |
  251|  1.20M|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|  1.20M|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 1.19M, False: 12.3k]
  |  |  ------------------
  |  |   89|  1.20M|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 1.19M, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 1.19M]
  |  |  |  Branch (89:43): [True: 1.19M, False: 0]
  |  |  |  Branch (89:67): [True: 1.19M, False: 0]
  |  |  ------------------
  |  |   90|  1.20M|      (args) : \
  |  |   91|  1.20M|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|  12.3k|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  252|  1.20M|            /*minpos*/ 0, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  253|  1.20M|    if (!args) {
  ------------------
  |  Branch (253:9): [True: 0, False: 1.20M]
  ------------------
  254|      0|        goto exit;
  255|      0|    }
  256|  1.20M|    if (!noptargs) {
  ------------------
  |  Branch (256:9): [True: 11.6k, False: 1.19M]
  ------------------
  257|  11.6k|        goto skip_optional_pos;
  258|  11.6k|    }
  259|  1.19M|    if (args[0]) {
  ------------------
  |  Branch (259:9): [True: 1.18M, False: 12.3k]
  ------------------
  260|  1.18M|        if (!PyUnicode_Check(args[0])) {
  ------------------
  |  |  103|  1.18M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.18M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (260:13): [True: 0, False: 1.18M]
  ------------------
  261|      0|            _PyArg_BadArgument("encode", "argument 'encoding'", "str", args[0]);
  262|      0|            goto exit;
  263|      0|        }
  264|  1.18M|        Py_ssize_t encoding_length;
  265|  1.18M|        encoding = PyUnicode_AsUTF8AndSize(args[0], &encoding_length);
  266|  1.18M|        if (encoding == NULL) {
  ------------------
  |  Branch (266:13): [True: 0, False: 1.18M]
  ------------------
  267|      0|            goto exit;
  268|      0|        }
  269|  1.18M|        if (strlen(encoding) != (size_t)encoding_length) {
  ------------------
  |  Branch (269:13): [True: 0, False: 1.18M]
  ------------------
  270|      0|            PyErr_SetString(PyExc_ValueError, "embedded null character");
  271|      0|            goto exit;
  272|      0|        }
  273|  1.18M|        if (!--noptargs) {
  ------------------
  |  Branch (273:13): [True: 1.18M, False: 76]
  ------------------
  274|  1.18M|            goto skip_optional_pos;
  275|  1.18M|        }
  276|  1.18M|    }
  277|  12.4k|    if (!PyUnicode_Check(args[1])) {
  ------------------
  |  |  103|  12.4k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  12.4k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (277:9): [True: 0, False: 12.4k]
  ------------------
  278|      0|        _PyArg_BadArgument("encode", "argument 'errors'", "str", args[1]);
  279|      0|        goto exit;
  280|      0|    }
  281|  12.4k|    Py_ssize_t errors_length;
  282|  12.4k|    errors = PyUnicode_AsUTF8AndSize(args[1], &errors_length);
  283|  12.4k|    if (errors == NULL) {
  ------------------
  |  Branch (283:9): [True: 0, False: 12.4k]
  ------------------
  284|      0|        goto exit;
  285|      0|    }
  286|  12.4k|    if (strlen(errors) != (size_t)errors_length) {
  ------------------
  |  Branch (286:9): [True: 0, False: 12.4k]
  ------------------
  287|      0|        PyErr_SetString(PyExc_ValueError, "embedded null character");
  288|      0|        goto exit;
  289|      0|    }
  290|  1.20M|skip_optional_pos:
  291|  1.20M|    return_value = unicode_encode_impl(self, encoding, errors);
  292|       |
  293|  1.20M|exit:
  294|  1.20M|    return return_value;
  295|  1.20M|}
unicodeobject.c:unicode_replace:
  933|  3.82k|{
  934|  3.82k|    PyObject *return_value = NULL;
  935|  3.82k|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  936|       |
  937|  3.82k|    #define NUM_KEYWORDS 1
  938|  3.82k|    static struct {
  939|  3.82k|        PyGC_Head _this_is_not_used;
  940|  3.82k|        PyObject_VAR_HEAD
  941|  3.82k|        Py_hash_t ob_hash;
  942|  3.82k|        PyObject *ob_item[NUM_KEYWORDS];
  943|  3.82k|    } _kwtuple = {
  944|  3.82k|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|  3.82k|    {                                     \
  |  |   98|  3.82k|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|  3.82k|    {                               \
  |  |  |  |   91|  3.82k|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|  3.82k|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  3.82k|#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|  3.82k|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|  3.82k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|  3.82k|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|  3.82k|        (type)                      \
  |  |  |  |   93|  3.82k|    },
  |  |  ------------------
  |  |   99|  3.82k|        (size)                            \
  |  |  100|  3.82k|    },
  ------------------
  945|  3.82k|        .ob_hash = -1,
  946|  3.82k|        .ob_item = { &_Py_ID(count), },
  ------------------
  |  |  915|  3.82k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  3.82k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  3.82k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  947|  3.82k|    };
  948|  3.82k|    #undef NUM_KEYWORDS
  949|  3.82k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  950|       |
  951|       |    #else  // !Py_BUILD_CORE
  952|       |    #  define KWTUPLE NULL
  953|       |    #endif  // !Py_BUILD_CORE
  954|       |
  955|  3.82k|    static const char * const _keywords[] = {"", "", "count", NULL};
  956|  3.82k|    static _PyArg_Parser _parser = {
  957|  3.82k|        .keywords = _keywords,
  958|  3.82k|        .fname = "replace",
  959|  3.82k|        .kwtuple = KWTUPLE,
  ------------------
  |  |  949|  3.82k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  960|  3.82k|    };
  961|  3.82k|    #undef KWTUPLE
  962|  3.82k|    PyObject *argsbuf[3];
  963|  3.82k|    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 (963:36): [True: 0, False: 3.82k]
  ------------------
  964|  3.82k|    PyObject *old;
  965|  3.82k|    PyObject *new;
  966|  3.82k|    Py_ssize_t count = -1;
  967|       |
  968|  3.82k|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|  3.82k|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 3.82k, False: 0]
  |  |  ------------------
  |  |   89|  3.82k|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 3.82k, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 3.82k]
  |  |  |  Branch (89:43): [True: 3.82k, False: 0]
  |  |  |  Branch (89:67): [True: 3.82k, False: 0]
  |  |  ------------------
  |  |   90|  3.82k|      (args) : \
  |  |   91|  3.82k|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  969|  3.82k|            /*minpos*/ 2, /*maxpos*/ 3, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  970|  3.82k|    if (!args) {
  ------------------
  |  Branch (970:9): [True: 0, False: 3.82k]
  ------------------
  971|      0|        goto exit;
  972|      0|    }
  973|  3.82k|    if (!PyUnicode_Check(args[0])) {
  ------------------
  |  |  103|  3.82k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  3.82k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (973:9): [True: 0, False: 3.82k]
  ------------------
  974|      0|        _PyArg_BadArgument("replace", "argument 1", "str", args[0]);
  975|      0|        goto exit;
  976|      0|    }
  977|  3.82k|    old = args[0];
  978|  3.82k|    if (!PyUnicode_Check(args[1])) {
  ------------------
  |  |  103|  3.82k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  3.82k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (978:9): [True: 0, False: 3.82k]
  ------------------
  979|      0|        _PyArg_BadArgument("replace", "argument 2", "str", args[1]);
  980|      0|        goto exit;
  981|      0|    }
  982|  3.82k|    new = args[1];
  983|  3.82k|    if (!noptargs) {
  ------------------
  |  Branch (983:9): [True: 3.82k, False: 0]
  ------------------
  984|  3.82k|        goto skip_optional_pos;
  985|  3.82k|    }
  986|      0|    {
  987|      0|        Py_ssize_t ival = -1;
  988|      0|        PyObject *iobj = _PyNumber_Index(args[2]);
  989|      0|        if (iobj != NULL) {
  ------------------
  |  Branch (989:13): [True: 0, False: 0]
  ------------------
  990|      0|            ival = PyLong_AsSsize_t(iobj);
  991|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  992|      0|        }
  993|      0|        if (ival == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (993:13): [True: 0, False: 0]
  |  Branch (993:27): [True: 0, False: 0]
  ------------------
  994|      0|            goto exit;
  995|      0|        }
  996|      0|        count = ival;
  997|      0|    }
  998|  3.82k|skip_optional_pos:
  999|  3.82k|    return_value = unicode_replace_impl(self, old, new, count);
 1000|       |
 1001|  3.82k|exit:
 1002|  3.82k|    return return_value;
 1003|  3.82k|}
unicodeobject.c:unicode_split:
 1261|  4.19k|{
 1262|  4.19k|    PyObject *return_value = NULL;
 1263|  4.19k|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 1264|       |
 1265|  4.19k|    #define NUM_KEYWORDS 2
 1266|  4.19k|    static struct {
 1267|  4.19k|        PyGC_Head _this_is_not_used;
 1268|  4.19k|        PyObject_VAR_HEAD
 1269|  4.19k|        Py_hash_t ob_hash;
 1270|  4.19k|        PyObject *ob_item[NUM_KEYWORDS];
 1271|  4.19k|    } _kwtuple = {
 1272|  4.19k|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|  4.19k|    {                                     \
  |  |   98|  4.19k|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|  4.19k|    {                               \
  |  |  |  |   91|  4.19k|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|  4.19k|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  4.19k|#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.19k|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|  4.19k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|  4.19k|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|  4.19k|        (type)                      \
  |  |  |  |   93|  4.19k|    },
  |  |  ------------------
  |  |   99|  4.19k|        (size)                            \
  |  |  100|  4.19k|    },
  ------------------
 1273|  4.19k|        .ob_hash = -1,
 1274|  4.19k|        .ob_item = { &_Py_ID(sep), &_Py_ID(maxsplit), },
  ------------------
  |  |  915|  4.19k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.19k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.19k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(sep), &_Py_ID(maxsplit), },
  ------------------
  |  |  915|  4.19k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.19k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.19k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1275|  4.19k|    };
 1276|  4.19k|    #undef NUM_KEYWORDS
 1277|  4.19k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 1278|       |
 1279|       |    #else  // !Py_BUILD_CORE
 1280|       |    #  define KWTUPLE NULL
 1281|       |    #endif  // !Py_BUILD_CORE
 1282|       |
 1283|  4.19k|    static const char * const _keywords[] = {"sep", "maxsplit", NULL};
 1284|  4.19k|    static _PyArg_Parser _parser = {
 1285|  4.19k|        .keywords = _keywords,
 1286|  4.19k|        .fname = "split",
 1287|  4.19k|        .kwtuple = KWTUPLE,
  ------------------
  |  | 1277|  4.19k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 1288|  4.19k|    };
 1289|  4.19k|    #undef KWTUPLE
 1290|  4.19k|    PyObject *argsbuf[2];
 1291|  4.19k|    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 (1291:36): [True: 72, False: 4.11k]
  ------------------
 1292|  4.19k|    PyObject *sep = Py_None;
  ------------------
  |  |  616|  4.19k|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1293|  4.19k|    Py_ssize_t maxsplit = -1;
 1294|       |
 1295|  4.19k|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|  4.19k|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 4.11k, False: 72]
  |  |  ------------------
  |  |   89|  4.19k|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 4.11k, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 4.11k]
  |  |  |  Branch (89:43): [True: 4.11k, False: 0]
  |  |  |  Branch (89:67): [True: 4.11k, False: 0]
  |  |  ------------------
  |  |   90|  4.19k|      (args) : \
  |  |   91|  4.19k|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|     72|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
 1296|  4.19k|            /*minpos*/ 0, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 1297|  4.19k|    if (!args) {
  ------------------
  |  Branch (1297:9): [True: 0, False: 4.19k]
  ------------------
 1298|      0|        goto exit;
 1299|      0|    }
 1300|  4.19k|    if (!noptargs) {
  ------------------
  |  Branch (1300:9): [True: 52, False: 4.13k]
  ------------------
 1301|     52|        goto skip_optional_pos;
 1302|     52|    }
 1303|  4.13k|    if (args[0]) {
  ------------------
  |  Branch (1303:9): [True: 4.13k, False: 2]
  ------------------
 1304|  4.13k|        sep = args[0];
 1305|  4.13k|        if (!--noptargs) {
  ------------------
  |  Branch (1305:13): [True: 4.04k, False: 90]
  ------------------
 1306|  4.04k|            goto skip_optional_pos;
 1307|  4.04k|        }
 1308|  4.13k|    }
 1309|     92|    {
 1310|     92|        Py_ssize_t ival = -1;
 1311|     92|        PyObject *iobj = _PyNumber_Index(args[1]);
 1312|     92|        if (iobj != NULL) {
  ------------------
  |  Branch (1312:13): [True: 92, False: 0]
  ------------------
 1313|     92|            ival = PyLong_AsSsize_t(iobj);
 1314|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1315|     92|        }
 1316|     92|        if (ival == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1316:13): [True: 0, False: 92]
  |  Branch (1316:27): [True: 0, False: 0]
  ------------------
 1317|      0|            goto exit;
 1318|      0|        }
 1319|     92|        maxsplit = ival;
 1320|     92|    }
 1321|  4.19k|skip_optional_pos:
 1322|  4.19k|    return_value = unicode_split_impl(self, sep, maxsplit);
 1323|       |
 1324|  4.19k|exit:
 1325|  4.19k|    return return_value;
 1326|  4.19k|}
unicodeobject.c:unicode_rsplit:
 1386|     14|{
 1387|     14|    PyObject *return_value = NULL;
 1388|     14|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 1389|       |
 1390|     14|    #define NUM_KEYWORDS 2
 1391|     14|    static struct {
 1392|     14|        PyGC_Head _this_is_not_used;
 1393|     14|        PyObject_VAR_HEAD
 1394|     14|        Py_hash_t ob_hash;
 1395|     14|        PyObject *ob_item[NUM_KEYWORDS];
 1396|     14|    } _kwtuple = {
 1397|     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|    },
  ------------------
 1398|     14|        .ob_hash = -1,
 1399|     14|        .ob_item = { &_Py_ID(sep), &_Py_ID(maxsplit), },
  ------------------
  |  |  915|     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), },
  ------------------
  |  |  915|     14|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     14|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     14|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1400|     14|    };
 1401|     14|    #undef NUM_KEYWORDS
 1402|     14|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 1403|       |
 1404|       |    #else  // !Py_BUILD_CORE
 1405|       |    #  define KWTUPLE NULL
 1406|       |    #endif  // !Py_BUILD_CORE
 1407|       |
 1408|     14|    static const char * const _keywords[] = {"sep", "maxsplit", NULL};
 1409|     14|    static _PyArg_Parser _parser = {
 1410|     14|        .keywords = _keywords,
 1411|     14|        .fname = "rsplit",
 1412|     14|        .kwtuple = KWTUPLE,
  ------------------
  |  | 1402|     14|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 1413|     14|    };
 1414|     14|    #undef KWTUPLE
 1415|     14|    PyObject *argsbuf[2];
 1416|     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 (1416:36): [True: 0, False: 14]
  ------------------
 1417|     14|    PyObject *sep = Py_None;
  ------------------
  |  |  616|     14|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1418|     14|    Py_ssize_t maxsplit = -1;
 1419|       |
 1420|     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)))
  ------------------
 1421|     14|            /*minpos*/ 0, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 1422|     14|    if (!args) {
  ------------------
  |  Branch (1422:9): [True: 0, False: 14]
  ------------------
 1423|      0|        goto exit;
 1424|      0|    }
 1425|     14|    if (!noptargs) {
  ------------------
  |  Branch (1425:9): [True: 0, False: 14]
  ------------------
 1426|      0|        goto skip_optional_pos;
 1427|      0|    }
 1428|     14|    if (args[0]) {
  ------------------
  |  Branch (1428:9): [True: 14, False: 0]
  ------------------
 1429|     14|        sep = args[0];
 1430|     14|        if (!--noptargs) {
  ------------------
  |  Branch (1430:13): [True: 0, False: 14]
  ------------------
 1431|      0|            goto skip_optional_pos;
 1432|      0|        }
 1433|     14|    }
 1434|     14|    {
 1435|     14|        Py_ssize_t ival = -1;
 1436|     14|        PyObject *iobj = _PyNumber_Index(args[1]);
 1437|     14|        if (iobj != NULL) {
  ------------------
  |  Branch (1437:13): [True: 14, False: 0]
  ------------------
 1438|     14|            ival = PyLong_AsSsize_t(iobj);
 1439|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1440|     14|        }
 1441|     14|        if (ival == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1441:13): [True: 0, False: 14]
  |  Branch (1441:27): [True: 0, False: 0]
  ------------------
 1442|      0|            goto exit;
 1443|      0|        }
 1444|     14|        maxsplit = ival;
 1445|     14|    }
 1446|     14|skip_optional_pos:
 1447|     14|    return_value = unicode_rsplit_impl(self, sep, maxsplit);
 1448|       |
 1449|     14|exit:
 1450|     14|    return return_value;
 1451|     14|}
unicodeobject.c:unicode_expandtabs:
  313|    622|{
  314|    622|    PyObject *return_value = NULL;
  315|    622|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  316|       |
  317|    622|    #define NUM_KEYWORDS 1
  318|    622|    static struct {
  319|    622|        PyGC_Head _this_is_not_used;
  320|    622|        PyObject_VAR_HEAD
  321|    622|        Py_hash_t ob_hash;
  322|    622|        PyObject *ob_item[NUM_KEYWORDS];
  323|    622|    } _kwtuple = {
  324|    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|    },
  ------------------
  325|    622|        .ob_hash = -1,
  326|    622|        .ob_item = { &_Py_ID(tabsize), },
  ------------------
  |  |  915|    622|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    622|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    622|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  327|    622|    };
  328|    622|    #undef NUM_KEYWORDS
  329|    622|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  330|       |
  331|       |    #else  // !Py_BUILD_CORE
  332|       |    #  define KWTUPLE NULL
  333|       |    #endif  // !Py_BUILD_CORE
  334|       |
  335|    622|    static const char * const _keywords[] = {"tabsize", NULL};
  336|    622|    static _PyArg_Parser _parser = {
  337|    622|        .keywords = _keywords,
  338|    622|        .fname = "expandtabs",
  339|    622|        .kwtuple = KWTUPLE,
  ------------------
  |  |  329|    622|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  340|    622|    };
  341|    622|    #undef KWTUPLE
  342|    622|    PyObject *argsbuf[1];
  343|    622|    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 (343:36): [True: 0, False: 622]
  ------------------
  344|    622|    int tabsize = 8;
  345|       |
  346|    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: 0, False: 622]
  |  |  ------------------
  |  |   90|    622|      (args) : \
  |  |   91|    622|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|    622|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  347|    622|            /*minpos*/ 0, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  348|    622|    if (!args) {
  ------------------
  |  Branch (348:9): [True: 0, False: 622]
  ------------------
  349|      0|        goto exit;
  350|      0|    }
  351|    622|    if (!noptargs) {
  ------------------
  |  Branch (351:9): [True: 622, False: 0]
  ------------------
  352|    622|        goto skip_optional_pos;
  353|    622|    }
  354|      0|    tabsize = PyLong_AsInt(args[0]);
  355|      0|    if (tabsize == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (355:9): [True: 0, False: 0]
  |  Branch (355:26): [True: 0, False: 0]
  ------------------
  356|      0|        goto exit;
  357|      0|    }
  358|    622|skip_optional_pos:
  359|    622|    return_value = unicode_expandtabs_impl(self, tabsize);
  360|       |
  361|    622|exit:
  362|    622|    return return_value;
  363|    622|}
unicodeobject.c:unicode_find:
  383|  13.5k|{
  384|  13.5k|    PyObject *return_value = NULL;
  385|  13.5k|    PyObject *substr;
  386|  13.5k|    Py_ssize_t start = 0;
  387|  13.5k|    Py_ssize_t end = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|  13.5k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  388|  13.5k|    Py_ssize_t _return_value;
  389|       |
  390|  13.5k|    if (!_PyArg_CheckPositional("find", nargs, 1, 3)) {
  ------------------
  |  |   31|  13.5k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 13.5k, False: 0]
  |  |  |  Branch (31:27): [True: 13.5k, False: 0]
  |  |  ------------------
  |  |   32|  13.5k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  391|      0|        goto exit;
  392|      0|    }
  393|  13.5k|    if (!PyUnicode_Check(args[0])) {
  ------------------
  |  |  103|  13.5k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  13.5k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (393:9): [True: 0, False: 13.5k]
  ------------------
  394|      0|        _PyArg_BadArgument("find", "argument 1", "str", args[0]);
  395|      0|        goto exit;
  396|      0|    }
  397|  13.5k|    substr = args[0];
  398|  13.5k|    if (nargs < 2) {
  ------------------
  |  Branch (398:9): [True: 13.5k, False: 6]
  ------------------
  399|  13.5k|        goto skip_optional;
  400|  13.5k|    }
  401|      6|    if (!_PyEval_SliceIndex(args[1], &start)) {
  ------------------
  |  Branch (401:9): [True: 0, False: 6]
  ------------------
  402|      0|        goto exit;
  403|      0|    }
  404|      6|    if (nargs < 3) {
  ------------------
  |  Branch (404:9): [True: 6, False: 0]
  ------------------
  405|      6|        goto skip_optional;
  406|      6|    }
  407|      0|    if (!_PyEval_SliceIndex(args[2], &end)) {
  ------------------
  |  Branch (407:9): [True: 0, False: 0]
  ------------------
  408|      0|        goto exit;
  409|      0|    }
  410|  13.5k|skip_optional:
  411|  13.5k|    _return_value = unicode_find_impl(str, substr, start, end);
  412|  13.5k|    if ((_return_value == -1) && PyErr_Occurred()) {
  ------------------
  |  Branch (412:9): [True: 13.5k, False: 6]
  |  Branch (412:34): [True: 0, False: 13.5k]
  ------------------
  413|      0|        goto exit;
  414|      0|    }
  415|  13.5k|    return_value = PyLong_FromSsize_t(_return_value);
  416|       |
  417|  13.5k|exit:
  418|  13.5k|    return return_value;
  419|  13.5k|}
unicodeobject.c:unicode_lower:
  805|    781|{
  806|    781|    return unicode_lower_impl(self);
  807|    781|}
unicodeobject.c:unicode_lstrip:
  859|     22|{
  860|     22|    PyObject *return_value = NULL;
  861|     22|    PyObject *chars = Py_None;
  ------------------
  |  |  616|     22|#  define Py_None (&_Py_NoneStruct)
  ------------------
  862|       |
  863|     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]
  |  |  ------------------
  ------------------
  864|      0|        goto exit;
  865|      0|    }
  866|     22|    if (nargs < 1) {
  ------------------
  |  Branch (866:9): [True: 20, False: 2]
  ------------------
  867|     20|        goto skip_optional;
  868|     20|    }
  869|      2|    chars = args[0];
  870|     22|skip_optional:
  871|     22|    return_value = unicode_lstrip_impl(self, chars);
  872|       |
  873|     22|exit:
  874|     22|    return return_value;
  875|     22|}
unicodeobject.c:unicode_rfind:
 1088|  4.03k|{
 1089|  4.03k|    PyObject *return_value = NULL;
 1090|  4.03k|    PyObject *substr;
 1091|  4.03k|    Py_ssize_t start = 0;
 1092|  4.03k|    Py_ssize_t end = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|  4.03k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
 1093|  4.03k|    Py_ssize_t _return_value;
 1094|       |
 1095|  4.03k|    if (!_PyArg_CheckPositional("rfind", nargs, 1, 3)) {
  ------------------
  |  |   31|  4.03k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 4.03k, False: 0]
  |  |  |  Branch (31:27): [True: 4.03k, False: 0]
  |  |  ------------------
  |  |   32|  4.03k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1096|      0|        goto exit;
 1097|      0|    }
 1098|  4.03k|    if (!PyUnicode_Check(args[0])) {
  ------------------
  |  |  103|  4.03k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.03k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1098:9): [True: 0, False: 4.03k]
  ------------------
 1099|      0|        _PyArg_BadArgument("rfind", "argument 1", "str", args[0]);
 1100|      0|        goto exit;
 1101|      0|    }
 1102|  4.03k|    substr = args[0];
 1103|  4.03k|    if (nargs < 2) {
  ------------------
  |  Branch (1103:9): [True: 4.03k, False: 2]
  ------------------
 1104|  4.03k|        goto skip_optional;
 1105|  4.03k|    }
 1106|      2|    if (!_PyEval_SliceIndex(args[1], &start)) {
  ------------------
  |  Branch (1106:9): [True: 0, False: 2]
  ------------------
 1107|      0|        goto exit;
 1108|      0|    }
 1109|      2|    if (nargs < 3) {
  ------------------
  |  Branch (1109:9): [True: 0, False: 2]
  ------------------
 1110|      0|        goto skip_optional;
 1111|      0|    }
 1112|      2|    if (!_PyEval_SliceIndex(args[2], &end)) {
  ------------------
  |  Branch (1112:9): [True: 0, False: 2]
  ------------------
 1113|      0|        goto exit;
 1114|      0|    }
 1115|  4.03k|skip_optional:
 1116|  4.03k|    _return_value = unicode_rfind_impl(str, substr, start, end);
 1117|  4.03k|    if ((_return_value == -1) && PyErr_Occurred()) {
  ------------------
  |  Branch (1117:9): [True: 10, False: 4.02k]
  |  Branch (1117:34): [True: 0, False: 10]
  ------------------
 1118|      0|        goto exit;
 1119|      0|    }
 1120|  4.03k|    return_value = PyLong_FromSsize_t(_return_value);
 1121|       |
 1122|  4.03k|exit:
 1123|  4.03k|    return return_value;
 1124|  4.03k|}
unicodeobject.c:unicode_rstrip:
  893|   225k|{
  894|   225k|    PyObject *return_value = NULL;
  895|   225k|    PyObject *chars = Py_None;
  ------------------
  |  |  616|   225k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  896|       |
  897|   225k|    if (!_PyArg_CheckPositional("rstrip", nargs, 0, 1)) {
  ------------------
  |  |   31|   225k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 225k, False: 0]
  |  |  |  Branch (31:27): [True: 225k, False: 0]
  |  |  ------------------
  |  |   32|   225k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  898|      0|        goto exit;
  899|      0|    }
  900|   225k|    if (nargs < 1) {
  ------------------
  |  Branch (900:9): [True: 58, False: 225k]
  ------------------
  901|     58|        goto skip_optional;
  902|     58|    }
  903|   225k|    chars = args[0];
  904|   225k|skip_optional:
  905|   225k|    return_value = unicode_rstrip_impl(self, chars);
  906|       |
  907|   225k|exit:
  908|   225k|    return return_value;
  909|   225k|}
unicodeobject.c:unicode_splitlines:
 1470|      8|{
 1471|      8|    PyObject *return_value = NULL;
 1472|      8|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 1473|       |
 1474|      8|    #define NUM_KEYWORDS 1
 1475|      8|    static struct {
 1476|      8|        PyGC_Head _this_is_not_used;
 1477|      8|        PyObject_VAR_HEAD
 1478|      8|        Py_hash_t ob_hash;
 1479|      8|        PyObject *ob_item[NUM_KEYWORDS];
 1480|      8|    } _kwtuple = {
 1481|      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|    },
  ------------------
 1482|      8|        .ob_hash = -1,
 1483|      8|        .ob_item = { &_Py_ID(keepends), },
  ------------------
  |  |  915|      8|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      8|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      8|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1484|      8|    };
 1485|      8|    #undef NUM_KEYWORDS
 1486|      8|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 1487|       |
 1488|       |    #else  // !Py_BUILD_CORE
 1489|       |    #  define KWTUPLE NULL
 1490|       |    #endif  // !Py_BUILD_CORE
 1491|       |
 1492|      8|    static const char * const _keywords[] = {"keepends", NULL};
 1493|      8|    static _PyArg_Parser _parser = {
 1494|      8|        .keywords = _keywords,
 1495|      8|        .fname = "splitlines",
 1496|      8|        .kwtuple = KWTUPLE,
  ------------------
  |  | 1486|      8|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 1497|      8|    };
 1498|      8|    #undef KWTUPLE
 1499|      8|    PyObject *argsbuf[1];
 1500|      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 (1500:36): [True: 0, False: 8]
  ------------------
 1501|      8|    int keepends = 0;
 1502|       |
 1503|      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)))
  ------------------
 1504|      8|            /*minpos*/ 0, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 1505|      8|    if (!args) {
  ------------------
  |  Branch (1505:9): [True: 0, False: 8]
  ------------------
 1506|      0|        goto exit;
 1507|      0|    }
 1508|      8|    if (!noptargs) {
  ------------------
  |  Branch (1508:9): [True: 8, False: 0]
  ------------------
 1509|      8|        goto skip_optional_pos;
 1510|      8|    }
 1511|      0|    keepends = PyObject_IsTrue(args[0]);
 1512|      0|    if (keepends < 0) {
  ------------------
  |  Branch (1512:9): [True: 0, False: 0]
  ------------------
 1513|      0|        goto exit;
 1514|      0|    }
 1515|      8|skip_optional_pos:
 1516|      8|    return_value = unicode_splitlines_impl(self, keepends);
 1517|       |
 1518|      8|exit:
 1519|      8|    return return_value;
 1520|      8|}
unicodeobject.c:unicode_strip:
  825|  4.38k|{
  826|  4.38k|    PyObject *return_value = NULL;
  827|  4.38k|    PyObject *chars = Py_None;
  ------------------
  |  |  616|  4.38k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  828|       |
  829|  4.38k|    if (!_PyArg_CheckPositional("strip", nargs, 0, 1)) {
  ------------------
  |  |   31|  4.38k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 4.38k, False: 0]
  |  |  |  Branch (31:27): [True: 4.38k, False: 0]
  |  |  ------------------
  |  |   32|  4.38k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  830|      0|        goto exit;
  831|      0|    }
  832|  4.38k|    if (nargs < 1) {
  ------------------
  |  Branch (832:9): [True: 4.36k, False: 18]
  ------------------
  833|  4.36k|        goto skip_optional;
  834|  4.36k|    }
  835|     18|    chars = args[0];
  836|  4.38k|skip_optional:
  837|  4.38k|    return_value = unicode_strip_impl(self, chars);
  838|       |
  839|  4.38k|exit:
  840|  4.38k|    return return_value;
  841|  4.38k|}
unicodeobject.c:unicode_upper:
 1626|    102|{
 1627|    102|    return unicode_upper_impl(self);
 1628|    102|}
unicodeobject.c:unicode_startswith:
 1690|  17.1k|{
 1691|  17.1k|    PyObject *return_value = NULL;
 1692|  17.1k|    PyObject *subobj;
 1693|  17.1k|    Py_ssize_t start = 0;
 1694|  17.1k|    Py_ssize_t end = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|  17.1k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
 1695|       |
 1696|  17.1k|    if (!_PyArg_CheckPositional("startswith", nargs, 1, 3)) {
  ------------------
  |  |   31|  17.1k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 17.1k, False: 0]
  |  |  |  Branch (31:27): [True: 17.1k, False: 0]
  |  |  ------------------
  |  |   32|  17.1k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1697|      0|        goto exit;
 1698|      0|    }
 1699|  17.1k|    subobj = args[0];
 1700|  17.1k|    if (nargs < 2) {
  ------------------
  |  Branch (1700:9): [True: 17.1k, False: 0]
  ------------------
 1701|  17.1k|        goto skip_optional;
 1702|  17.1k|    }
 1703|      0|    if (!_PyEval_SliceIndex(args[1], &start)) {
  ------------------
  |  Branch (1703:9): [True: 0, False: 0]
  ------------------
 1704|      0|        goto exit;
 1705|      0|    }
 1706|      0|    if (nargs < 3) {
  ------------------
  |  Branch (1706:9): [True: 0, False: 0]
  ------------------
 1707|      0|        goto skip_optional;
 1708|      0|    }
 1709|      0|    if (!_PyEval_SliceIndex(args[2], &end)) {
  ------------------
  |  Branch (1709:9): [True: 0, False: 0]
  ------------------
 1710|      0|        goto exit;
 1711|      0|    }
 1712|  17.1k|skip_optional:
 1713|  17.1k|    return_value = unicode_startswith_impl(self, subobj, start, end);
 1714|       |
 1715|  17.1k|exit:
 1716|  17.1k|    return return_value;
 1717|  17.1k|}
unicodeobject.c:unicode_endswith:
 1741|  2.12k|{
 1742|  2.12k|    PyObject *return_value = NULL;
 1743|  2.12k|    PyObject *subobj;
 1744|  2.12k|    Py_ssize_t start = 0;
 1745|  2.12k|    Py_ssize_t end = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|  2.12k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
 1746|       |
 1747|  2.12k|    if (!_PyArg_CheckPositional("endswith", nargs, 1, 3)) {
  ------------------
  |  |   31|  2.12k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 2.12k, False: 0]
  |  |  |  Branch (31:27): [True: 2.12k, False: 0]
  |  |  ------------------
  |  |   32|  2.12k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1748|      0|        goto exit;
 1749|      0|    }
 1750|  2.12k|    subobj = args[0];
 1751|  2.12k|    if (nargs < 2) {
  ------------------
  |  Branch (1751:9): [True: 2.12k, False: 0]
  ------------------
 1752|  2.12k|        goto skip_optional;
 1753|  2.12k|    }
 1754|      0|    if (!_PyEval_SliceIndex(args[1], &start)) {
  ------------------
  |  Branch (1754:9): [True: 0, False: 0]
  ------------------
 1755|      0|        goto exit;
 1756|      0|    }
 1757|      0|    if (nargs < 3) {
  ------------------
  |  Branch (1757:9): [True: 0, False: 0]
  ------------------
 1758|      0|        goto skip_optional;
 1759|      0|    }
 1760|      0|    if (!_PyEval_SliceIndex(args[2], &end)) {
  ------------------
  |  Branch (1760:9): [True: 0, False: 0]
  ------------------
 1761|      0|        goto exit;
 1762|      0|    }
 1763|  2.12k|skip_optional:
 1764|  2.12k|    return_value = unicode_endswith_impl(self, subobj, start, end);
 1765|       |
 1766|  2.12k|exit:
 1767|  2.12k|    return return_value;
 1768|  2.12k|}
unicodeobject.c:unicode_removeprefix:
 1022|     14|{
 1023|     14|    PyObject *return_value = NULL;
 1024|     14|    PyObject *prefix;
 1025|       |
 1026|     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 (1026:9): [True: 0, False: 14]
  ------------------
 1027|      0|        _PyArg_BadArgument("removeprefix", "argument", "str", arg);
 1028|      0|        goto exit;
 1029|      0|    }
 1030|     14|    prefix = arg;
 1031|     14|    return_value = unicode_removeprefix_impl(self, prefix);
 1032|       |
 1033|     14|exit:
 1034|     14|    return return_value;
 1035|     14|}
unicodeobject.c:unicode_isascii:
  494|    230|{
  495|    230|    return unicode_isascii_impl(self);
  496|    230|}
unicodeobject.c:unicode_isupper:
  536|  3.64k|{
  537|  3.64k|    return unicode_isupper_impl(self);
  538|  3.64k|}
unicodeobject.c:unicode_isspace:
  578|    666|{
  579|    666|    return unicode_isspace_impl(self);
  580|    666|}
unicodeobject.c:unicode_isdigit:
  662|    228|{
  663|    228|    return unicode_isdigit_impl(self);
  664|    228|}
unicodeobject.c:unicode_isidentifier:
  704|  22.9k|{
  705|  22.9k|    return unicode_isidentifier_impl(self);
  706|  22.9k|}
unicodeobject.c:unicode_maketrans:
 1562|      2|{
 1563|      2|    PyObject *return_value = NULL;
 1564|      2|    PyObject *x;
 1565|      2|    PyObject *y = NULL;
 1566|      2|    PyObject *z = NULL;
 1567|       |
 1568|      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]
  |  |  ------------------
  ------------------
 1569|      0|        goto exit;
 1570|      0|    }
 1571|      2|    x = args[0];
 1572|      2|    if (nargs < 2) {
  ------------------
  |  Branch (1572:9): [True: 0, False: 2]
  ------------------
 1573|      0|        goto skip_optional;
 1574|      0|    }
 1575|      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 (1575:9): [True: 0, False: 2]
  ------------------
 1576|      0|        _PyArg_BadArgument("maketrans", "argument 2", "str", args[1]);
 1577|      0|        goto exit;
 1578|      0|    }
 1579|      2|    y = args[1];
 1580|      2|    if (nargs < 3) {
  ------------------
  |  Branch (1580:9): [True: 2, False: 0]
  ------------------
 1581|      2|        goto skip_optional;
 1582|      2|    }
 1583|      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 (1583:9): [True: 0, False: 0]
  ------------------
 1584|      0|        _PyArg_BadArgument("maketrans", "argument 3", "str", args[2]);
 1585|      0|        goto exit;
 1586|      0|    }
 1587|      0|    z = args[2];
 1588|      2|skip_optional:
 1589|      2|    return_value = unicode_maketrans_impl(x, y, z);
 1590|       |
 1591|      2|exit:
 1592|      2|    return return_value;
 1593|      2|}
unicodeobject.c:unicode_new:
 1823|     32|{
 1824|     32|    PyObject *return_value = NULL;
 1825|     32|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 1826|       |
 1827|     32|    #define NUM_KEYWORDS 3
 1828|     32|    static struct {
 1829|     32|        PyGC_Head _this_is_not_used;
 1830|     32|        PyObject_VAR_HEAD
 1831|     32|        Py_hash_t ob_hash;
 1832|     32|        PyObject *ob_item[NUM_KEYWORDS];
 1833|     32|    } _kwtuple = {
 1834|     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|    },
  ------------------
 1835|     32|        .ob_hash = -1,
 1836|     32|        .ob_item = { &_Py_ID(object), &_Py_ID(encoding), &_Py_ID(errors), },
  ------------------
  |  |  915|     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), },
  ------------------
  |  |  915|     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), },
  ------------------
  |  |  915|     32|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     32|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     32|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1837|     32|    };
 1838|     32|    #undef NUM_KEYWORDS
 1839|     32|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 1840|       |
 1841|       |    #else  // !Py_BUILD_CORE
 1842|       |    #  define KWTUPLE NULL
 1843|       |    #endif  // !Py_BUILD_CORE
 1844|       |
 1845|     32|    static const char * const _keywords[] = {"object", "encoding", "errors", NULL};
 1846|     32|    static _PyArg_Parser _parser = {
 1847|     32|        .keywords = _keywords,
 1848|     32|        .fname = "str",
 1849|     32|        .kwtuple = KWTUPLE,
  ------------------
  |  | 1839|     32|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 1850|     32|    };
 1851|     32|    #undef KWTUPLE
 1852|     32|    PyObject *argsbuf[3];
 1853|     32|    PyObject * const *fastargs;
 1854|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1855|     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 (1855:36): [True: 0, False: 32]
  ------------------
 1856|     32|    PyObject *x = NULL;
 1857|     32|    const char *encoding = NULL;
 1858|     32|    const char *errors = NULL;
 1859|       |
 1860|     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)))
  ------------------
 1861|     32|            /*minpos*/ 0, /*maxpos*/ 3, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 1862|     32|    if (!fastargs) {
  ------------------
  |  Branch (1862:9): [True: 0, False: 32]
  ------------------
 1863|      0|        goto exit;
 1864|      0|    }
 1865|     32|    if (!noptargs) {
  ------------------
  |  Branch (1865:9): [True: 0, False: 32]
  ------------------
 1866|      0|        goto skip_optional_pos;
 1867|      0|    }
 1868|     32|    if (fastargs[0]) {
  ------------------
  |  Branch (1868:9): [True: 32, False: 0]
  ------------------
 1869|     32|        x = fastargs[0];
 1870|     32|        if (!--noptargs) {
  ------------------
  |  Branch (1870:13): [True: 32, False: 0]
  ------------------
 1871|     32|            goto skip_optional_pos;
 1872|     32|        }
 1873|     32|    }
 1874|      0|    if (fastargs[1]) {
  ------------------
  |  Branch (1874:9): [True: 0, False: 0]
  ------------------
 1875|      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 (1875:13): [True: 0, False: 0]
  ------------------
 1876|      0|            _PyArg_BadArgument("str", "argument 'encoding'", "str", fastargs[1]);
 1877|      0|            goto exit;
 1878|      0|        }
 1879|      0|        Py_ssize_t encoding_length;
 1880|      0|        encoding = PyUnicode_AsUTF8AndSize(fastargs[1], &encoding_length);
 1881|      0|        if (encoding == NULL) {
  ------------------
  |  Branch (1881:13): [True: 0, False: 0]
  ------------------
 1882|      0|            goto exit;
 1883|      0|        }
 1884|      0|        if (strlen(encoding) != (size_t)encoding_length) {
  ------------------
  |  Branch (1884:13): [True: 0, False: 0]
  ------------------
 1885|      0|            PyErr_SetString(PyExc_ValueError, "embedded null character");
 1886|      0|            goto exit;
 1887|      0|        }
 1888|      0|        if (!--noptargs) {
  ------------------
  |  Branch (1888:13): [True: 0, False: 0]
  ------------------
 1889|      0|            goto skip_optional_pos;
 1890|      0|        }
 1891|      0|    }
 1892|      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 (1892:9): [True: 0, False: 0]
  ------------------
 1893|      0|        _PyArg_BadArgument("str", "argument 'errors'", "str", fastargs[2]);
 1894|      0|        goto exit;
 1895|      0|    }
 1896|      0|    Py_ssize_t errors_length;
 1897|      0|    errors = PyUnicode_AsUTF8AndSize(fastargs[2], &errors_length);
 1898|      0|    if (errors == NULL) {
  ------------------
  |  Branch (1898:9): [True: 0, False: 0]
  ------------------
 1899|      0|        goto exit;
 1900|      0|    }
 1901|      0|    if (strlen(errors) != (size_t)errors_length) {
  ------------------
  |  Branch (1901:9): [True: 0, False: 0]
  ------------------
 1902|      0|        PyErr_SetString(PyExc_ValueError, "embedded null character");
 1903|      0|        goto exit;
 1904|      0|    }
 1905|     32|skip_optional_pos:
 1906|     32|    return_value = unicode_new_impl(type, x, encoding, errors);
 1907|       |
 1908|     32|exit:
 1909|     32|    return return_value;
 1910|     32|}

_Py_set_localsplus_info:
  383|  15.1k|{
  384|  15.1k|    PyTuple_SET_ITEM(names, offset, Py_NewRef(name));
  ------------------
  |  |   40|  15.1k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  15.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  15.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  385|  15.1k|    _PyLocals_SetKind(kinds, offset, kind);
  386|  15.1k|}
_PyCode_Validate:
  447|  85.2k|{
  448|       |    /* Check argument types */
  449|  85.2k|    if (con->argcount < con->posonlyargcount || con->posonlyargcount < 0 ||
  ------------------
  |  Branch (449:9): [True: 0, False: 85.2k]
  |  Branch (449:49): [True: 0, False: 85.2k]
  ------------------
  450|  85.2k|        con->kwonlyargcount < 0 ||
  ------------------
  |  Branch (450:9): [True: 0, False: 85.2k]
  ------------------
  451|  85.2k|        con->stacksize < 0 || con->flags < 0 ||
  ------------------
  |  Branch (451:9): [True: 0, False: 85.2k]
  |  Branch (451:31): [True: 0, False: 85.2k]
  ------------------
  452|  85.2k|        con->code == NULL || !PyBytes_Check(con->code) ||
  ------------------
  |  |   28|  85.2k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   170k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (452:9): [True: 0, False: 85.2k]
  |  Branch (452:30): [True: 0, False: 85.2k]
  ------------------
  453|  85.2k|        con->consts == NULL || !PyTuple_Check(con->consts) ||
  ------------------
  |  |   27|  85.2k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   170k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (453:9): [True: 0, False: 85.2k]
  |  Branch (453:32): [True: 0, False: 85.2k]
  ------------------
  454|  85.2k|        con->names == NULL || !PyTuple_Check(con->names) ||
  ------------------
  |  |   27|  85.2k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   170k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (454:9): [True: 0, False: 85.2k]
  |  Branch (454:31): [True: 0, False: 85.2k]
  ------------------
  455|  85.2k|        con->localsplusnames == NULL || !PyTuple_Check(con->localsplusnames) ||
  ------------------
  |  |   27|  85.2k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   170k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (455:9): [True: 0, False: 85.2k]
  |  Branch (455:41): [True: 0, False: 85.2k]
  ------------------
  456|  85.2k|        con->localspluskinds == NULL || !PyBytes_Check(con->localspluskinds) ||
  ------------------
  |  |   28|  85.2k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   170k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (456:9): [True: 0, False: 85.2k]
  |  Branch (456:41): [True: 0, False: 85.2k]
  ------------------
  457|  85.2k|        PyTuple_GET_SIZE(con->localsplusnames)
  ------------------
  |  |   27|  85.2k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  85.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  85.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (457:9): [True: 0, False: 85.2k]
  ------------------
  458|  85.2k|            != PyBytes_GET_SIZE(con->localspluskinds) ||
  ------------------
  |  |   33|   170k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  85.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  85.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  459|  85.2k|        con->name == NULL || !PyUnicode_Check(con->name) ||
  ------------------
  |  |  103|  85.2k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   170k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (459:9): [True: 0, False: 85.2k]
  |  Branch (459:30): [True: 0, False: 85.2k]
  ------------------
  460|  85.2k|        con->qualname == NULL || !PyUnicode_Check(con->qualname) ||
  ------------------
  |  |  103|  85.2k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   170k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (460:9): [True: 0, False: 85.2k]
  |  Branch (460:34): [True: 0, False: 85.2k]
  ------------------
  461|  85.2k|        con->filename == NULL || !PyUnicode_Check(con->filename) ||
  ------------------
  |  |  103|  85.2k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   170k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (461:9): [True: 0, False: 85.2k]
  |  Branch (461:34): [True: 0, False: 85.2k]
  ------------------
  462|  85.2k|        con->linetable == NULL || !PyBytes_Check(con->linetable) ||
  ------------------
  |  |   28|  85.2k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   170k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (462:9): [True: 0, False: 85.2k]
  |  Branch (462:35): [True: 0, False: 85.2k]
  ------------------
  463|  85.2k|        con->exceptiontable == NULL || !PyBytes_Check(con->exceptiontable)
  ------------------
  |  |   28|  85.2k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  85.2k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (463:9): [True: 0, False: 85.2k]
  |  Branch (463:40): [True: 0, False: 85.2k]
  ------------------
  464|  85.2k|        ) {
  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|  85.2k|    if (PyBytes_GET_SIZE(con->code) > INT_MAX) {
  ------------------
  |  |   33|  85.2k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  85.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  85.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (472:9): [True: 0, False: 85.2k]
  ------------------
  473|      0|        PyErr_SetString(PyExc_OverflowError,
  474|      0|                        "code: co_code larger than INT_MAX");
  475|      0|        return -1;
  476|      0|    }
  477|  85.2k|    if (PyBytes_GET_SIZE(con->code) % sizeof(_Py_CODEUNIT) != 0 ||
  ------------------
  |  |   33|  85.2k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  85.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  85.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (477:9): [True: 0, False: 85.2k]
  ------------------
  478|  85.2k|        !_Py_IS_ALIGNED(PyBytes_AS_STRING(con->code), sizeof(_Py_CODEUNIT))
  ------------------
  |  |  221|  85.2k|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  ------------------
  |  Branch (478:9): [True: 0, False: 85.2k]
  ------------------
  479|  85.2k|        ) {
  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|  85.2k|    int nlocals;
  488|  85.2k|    get_localsplus_counts(con->localsplusnames, con->localspluskinds,
  489|  85.2k|                          &nlocals, NULL, NULL);
  490|  85.2k|    int nplainlocals = nlocals -
  491|  85.2k|                       con->argcount -
  492|  85.2k|                       con->kwonlyargcount -
  493|  85.2k|                       ((con->flags & CO_VARARGS) != 0) -
  ------------------
  |  |  120|  85.2k|#define CO_VARARGS      0x0004
  ------------------
  494|  85.2k|                       ((con->flags & CO_VARKEYWORDS) != 0);
  ------------------
  |  |  121|  85.2k|#define CO_VARKEYWORDS  0x0008
  ------------------
  495|  85.2k|    if (nplainlocals < 0) {
  ------------------
  |  Branch (495:9): [True: 0, False: 85.2k]
  ------------------
  496|      0|        PyErr_SetString(PyExc_ValueError, "code: co_varnames is too small");
  497|      0|        return -1;
  498|      0|    }
  499|       |
  500|  85.2k|    return 0;
  501|  85.2k|}
_PyCode_New:
  717|  85.2k|{
  718|  85.2k|    if (intern_code_constants(con) < 0) {
  ------------------
  |  Branch (718:9): [True: 0, False: 85.2k]
  ------------------
  719|      0|        return NULL;
  720|      0|    }
  721|       |
  722|  85.2k|    PyObject *replacement_locations = NULL;
  723|       |    // Compact the linetable if we are opted out of debug
  724|       |    // ranges.
  725|  85.2k|    if (!_Py_GetConfig()->code_debug_ranges) {
  ------------------
  |  Branch (725:9): [True: 0, False: 85.2k]
  ------------------
  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|  85.2k|    Py_ssize_t size = PyBytes_GET_SIZE(con->code) / sizeof(_Py_CODEUNIT);
  ------------------
  |  |   33|  85.2k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  85.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  85.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  734|  85.2k|    PyCodeObject *co;
  735|       |#ifdef Py_GIL_DISABLED
  736|       |    co = PyObject_GC_NewVar(PyCodeObject, &PyCode_Type, size);
  737|       |#else
  738|  85.2k|    co = PyObject_NewVar(PyCodeObject, &PyCode_Type, size);
  ------------------
  |  |  137|  85.2k|                ( (type *) _PyObject_NewVar((typeobj), (n)) )
  ------------------
  739|  85.2k|#endif
  740|  85.2k|    if (co == NULL) {
  ------------------
  |  Branch (740:9): [True: 0, False: 85.2k]
  ------------------
  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|  85.2k|    if (init_code(co, con) < 0) {
  ------------------
  |  Branch (746:9): [True: 0, False: 85.2k]
  ------------------
  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|  85.2k|    Py_XDECREF(replacement_locations);
  ------------------
  |  |  524|  85.2k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  85.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  85.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  756|  85.2k|    return co;
  757|  85.2k|}
PyUnstable_Code_NewWithPosOnlyArgs:
  774|  3.58k|{
  775|  3.58k|    PyCodeObject *co = NULL;
  776|  3.58k|    PyObject *localsplusnames = NULL;
  777|  3.58k|    PyObject *localspluskinds = NULL;
  778|       |
  779|  3.58k|    if (varnames == NULL || !PyTuple_Check(varnames) ||
  ------------------
  |  |   27|  3.58k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  7.16k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (779:9): [True: 0, False: 3.58k]
  |  Branch (779:29): [True: 0, False: 3.58k]
  ------------------
  780|  3.58k|        cellvars == NULL || !PyTuple_Check(cellvars) ||
  ------------------
  |  |   27|  3.58k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  7.16k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (780:9): [True: 0, False: 3.58k]
  |  Branch (780:29): [True: 0, False: 3.58k]
  ------------------
  781|  3.58k|        freevars == NULL || !PyTuple_Check(freevars)
  ------------------
  |  |   27|  3.58k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  3.58k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (781:9): [True: 0, False: 3.58k]
  |  Branch (781:29): [True: 0, False: 3.58k]
  ------------------
  782|  3.58k|        ) {
  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|  3.58k|    int nvarnames = (int)PyTuple_GET_SIZE(varnames);
  ------------------
  |  |   27|  3.58k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.58k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  789|  3.58k|    int ncellvars = (int)PyTuple_GET_SIZE(cellvars);
  ------------------
  |  |   27|  3.58k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.58k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  790|  3.58k|    int nfreevars = (int)PyTuple_GET_SIZE(freevars);
  ------------------
  |  |   27|  3.58k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.58k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  791|  3.58k|    int nlocalsplus = nvarnames + ncellvars + nfreevars;
  792|  3.58k|    localsplusnames = PyTuple_New(nlocalsplus);
  793|  3.58k|    if (localsplusnames == NULL) {
  ------------------
  |  Branch (793:9): [True: 0, False: 3.58k]
  ------------------
  794|      0|        goto error;
  795|      0|    }
  796|  3.58k|    localspluskinds = PyBytes_FromStringAndSize(NULL, nlocalsplus);
  797|  3.58k|    if (localspluskinds == NULL) {
  ------------------
  |  Branch (797:9): [True: 0, False: 3.58k]
  ------------------
  798|      0|        goto error;
  799|      0|    }
  800|  3.58k|    int  offset = 0;
  801|  7.37k|    for (int i = 0; i < nvarnames; i++, offset++) {
  ------------------
  |  Branch (801:21): [True: 3.79k, False: 3.58k]
  ------------------
  802|  3.79k|        PyObject *name = PyTuple_GET_ITEM(varnames, i);
  ------------------
  |  |   29|  3.79k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  3.79k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.79k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  803|  3.79k|        _Py_set_localsplus_info(offset, name, CO_FAST_LOCAL,
  ------------------
  |  |  197|  3.79k|#define CO_FAST_LOCAL   (0x20)
  ------------------
  804|  3.79k|                               localsplusnames, localspluskinds);
  805|  3.79k|    }
  806|  3.58k|    for (int i = 0; i < ncellvars; i++, offset++) {
  ------------------
  |  Branch (806:21): [True: 0, False: 3.58k]
  ------------------
  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|  7.16k|    for (int i = 0; i < nfreevars; i++, offset++) {
  ------------------
  |  Branch (829:21): [True: 3.58k, False: 3.58k]
  ------------------
  830|  3.58k|        PyObject *name = PyTuple_GET_ITEM(freevars, i);
  ------------------
  |  |   29|  3.58k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  3.58k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  831|  3.58k|        _Py_set_localsplus_info(offset, name, CO_FAST_FREE,
  ------------------
  |  |  199|  3.58k|#define CO_FAST_FREE    (0x80)
  ------------------
  832|  3.58k|                               localsplusnames, localspluskinds);
  833|  3.58k|    }
  834|       |
  835|       |    // gh-110543: Make sure the CO_FAST_HIDDEN flag is set correctly.
  836|  3.58k|    if (!(flags & CO_OPTIMIZED)) {
  ------------------
  |  |  118|  3.58k|#define CO_OPTIMIZED    0x0001
  ------------------
  |  Branch (836:9): [True: 0, False: 3.58k]
  ------------------
  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|  3.58k|    if (nlocalsplus != PyTuple_GET_SIZE(localsplusnames)) {
  ------------------
  |  |   27|  3.58k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.58k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (864:9): [True: 0, False: 3.58k]
  ------------------
  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|  3.58k|    struct _PyCodeConstructor con = {
  872|  3.58k|        .filename = filename,
  873|  3.58k|        .name = name,
  874|  3.58k|        .qualname = qualname,
  875|  3.58k|        .flags = flags,
  876|       |
  877|  3.58k|        .code = code,
  878|  3.58k|        .firstlineno = firstlineno,
  879|  3.58k|        .linetable = linetable,
  880|       |
  881|  3.58k|        .consts = consts,
  882|  3.58k|        .names = names,
  883|       |
  884|  3.58k|        .localsplusnames = localsplusnames,
  885|  3.58k|        .localspluskinds = localspluskinds,
  886|       |
  887|  3.58k|        .argcount = argcount,
  888|  3.58k|        .posonlyargcount = posonlyargcount,
  889|  3.58k|        .kwonlyargcount = kwonlyargcount,
  890|       |
  891|  3.58k|        .stacksize = stacksize,
  892|       |
  893|  3.58k|        .exceptiontable = exceptiontable,
  894|  3.58k|    };
  895|       |
  896|  3.58k|    if (_PyCode_Validate(&con) < 0) {
  ------------------
  |  Branch (896:9): [True: 0, False: 3.58k]
  ------------------
  897|      0|        goto error;
  898|      0|    }
  899|  3.58k|    assert(PyBytes_GET_SIZE(code) % sizeof(_Py_CODEUNIT) == 0);
  900|  3.58k|    assert(_Py_IS_ALIGNED(PyBytes_AS_STRING(code), sizeof(_Py_CODEUNIT)));
  901|  3.58k|    if (nlocals != PyTuple_GET_SIZE(varnames)) {
  ------------------
  |  |   27|  3.58k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.58k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (901:9): [True: 0, False: 3.58k]
  ------------------
  902|      0|        PyErr_SetString(PyExc_ValueError,
  903|      0|                        "code: co_nlocals != len(co_varnames)");
  904|      0|        goto error;
  905|      0|    }
  906|       |
  907|  3.58k|    co = _PyCode_New(&con);
  908|  3.58k|    if (co == NULL) {
  ------------------
  |  Branch (908:9): [True: 0, False: 3.58k]
  ------------------
  909|      0|        goto error;
  910|      0|    }
  911|       |
  912|  3.58k|error:
  913|  3.58k|    Py_XDECREF(localsplusnames);
  ------------------
  |  |  524|  3.58k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.58k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  914|  3.58k|    Py_XDECREF(localspluskinds);
  ------------------
  |  |  524|  3.58k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.58k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  915|  3.58k|    return co;
  916|  3.58k|}
PyCode_Addr2Line:
 1017|  4.30k|{
 1018|  4.30k|    if (addrq < 0) {
  ------------------
  |  Branch (1018:9): [True: 0, False: 4.30k]
  ------------------
 1019|      0|        return co->co_firstlineno;
 1020|      0|    }
 1021|  4.30k|    _PyCoMonitoringData *data = _Py_atomic_load_ptr_acquire(&co->_co_monitoring);
 1022|  4.30k|    if (data) {
  ------------------
  |  Branch (1022:9): [True: 0, False: 4.30k]
  ------------------
 1023|      0|        _PyCoLineInstrumentationData *lines = _Py_atomic_load_ptr_acquire(&data->lines);
 1024|      0|        if (lines) {
  ------------------
  |  Branch (1024:13): [True: 0, False: 0]
  ------------------
 1025|      0|            return _Py_Instrumentation_GetLine(co, lines, addrq/sizeof(_Py_CODEUNIT));
 1026|      0|        }
 1027|      0|    }
 1028|  4.30k|    assert(addrq >= 0 && addrq < _PyCode_NBYTES(co));
 1029|  4.30k|    PyCodeAddressRange bounds;
 1030|  4.30k|    _PyCode_InitAddressRange(co, &bounds);
 1031|  4.30k|    return _PyCode_CheckLineNumber(addrq, &bounds);
 1032|  4.30k|}
_PyLineTable_InitAddressRange:
 1053|  4.30k|{
 1054|  4.30k|    range->opaque.lo_next = (const uint8_t *)linetable;
 1055|  4.30k|    range->opaque.limit = range->opaque.lo_next + length;
 1056|  4.30k|    range->ar_start = -1;
 1057|  4.30k|    range->ar_end = 0;
 1058|  4.30k|    range->opaque.computed_line = firstlineno;
 1059|  4.30k|    range->ar_line = -1;
 1060|  4.30k|}
_PyCode_InitAddressRange:
 1064|  4.30k|{
 1065|  4.30k|    assert(co->co_linetable != NULL);
 1066|  4.30k|    const char *linetable = PyBytes_AS_STRING(co->co_linetable);
  ------------------
  |  |   27|  4.30k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1067|  4.30k|    Py_ssize_t length = PyBytes_GET_SIZE(co->co_linetable);
  ------------------
  |  |   33|  4.30k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1068|  4.30k|    _PyLineTable_InitAddressRange(linetable, length, co->co_firstlineno, bounds);
 1069|  4.30k|    return bounds->ar_line;
 1070|  4.30k|}
_PyCode_CheckLineNumber:
 1076|  4.30k|{
 1077|   279k|    while (bounds->ar_end <= lasti) {
  ------------------
  |  Branch (1077:12): [True: 275k, False: 4.30k]
  ------------------
 1078|   275k|        if (!_PyLineTable_NextAddressRange(bounds)) {
  ------------------
  |  Branch (1078:13): [True: 0, False: 275k]
  ------------------
 1079|      0|            return -1;
 1080|      0|        }
 1081|   275k|    }
 1082|  4.30k|    while (bounds->ar_start > lasti) {
  ------------------
  |  Branch (1082:12): [True: 0, False: 4.30k]
  ------------------
 1083|      0|        if (!_PyLineTable_PreviousAddressRange(bounds)) {
  ------------------
  |  Branch (1083:13): [True: 0, False: 0]
  ------------------
 1084|      0|            return -1;
 1085|      0|        }
 1086|      0|    }
 1087|  4.30k|    return bounds->ar_line;
 1088|  4.30k|}
_PyLineTable_NextAddressRange:
 1290|   275k|{
 1291|   275k|    if (at_end(range)) {
  ------------------
  |  Branch (1291:9): [True: 0, False: 275k]
  ------------------
 1292|      0|        return 0;
 1293|      0|    }
 1294|   275k|    advance(range);
 1295|       |    assert(range->ar_end > range->ar_start);
 1296|   275k|    return 1;
 1297|   275k|}
_PyCode_GetVarnames:
 1683|  20.7k|{
 1684|  20.7k|    if (init_co_cached(co)) {
  ------------------
  |  Branch (1684:9): [True: 0, False: 20.7k]
  ------------------
 1685|      0|        return NULL;
 1686|      0|    }
 1687|  20.7k|    return get_cached_locals(co, &co->_co_cached->_co_varnames, CO_FAST_LOCAL, co->co_nlocals);
  ------------------
  |  |  197|  20.7k|#define CO_FAST_LOCAL   (0x20)
  ------------------
 1688|  20.7k|}
_PyCode_GetFreevars:
 1713|  13.9k|{
 1714|  13.9k|    if (init_co_cached(co)) {
  ------------------
  |  Branch (1714:9): [True: 0, False: 13.9k]
  ------------------
 1715|      0|        return NULL;
 1716|      0|    }
 1717|  13.9k|    return get_cached_locals(co, &co->_co_cached->_co_freevars, CO_FAST_FREE, co->co_nfreevars);
  ------------------
  |  |  199|  13.9k|#define CO_FAST_FREE    (0x80)
  ------------------
 1718|  13.9k|}
_PyCode_GetCode:
 2215|  97.7k|{
 2216|  97.7k|    if (init_co_cached(co)) {
  ------------------
  |  Branch (2216:9): [True: 0, False: 97.7k]
  ------------------
 2217|      0|        return NULL;
 2218|      0|    }
 2219|       |
 2220|  97.7k|    _PyCoCached *cached = co->_co_cached;
 2221|  97.7k|    PyObject *code = FT_ATOMIC_LOAD_PTR(cached->_co_code);
  ------------------
  |  |  144|  97.7k|#define FT_ATOMIC_LOAD_PTR(value) value
  ------------------
 2222|  97.7k|    if (code != NULL) {
  ------------------
  |  Branch (2222:9): [True: 95.9k, False: 1.78k]
  ------------------
 2223|  95.9k|        return Py_NewRef(code);
  ------------------
  |  |  550|  95.9k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  95.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  95.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2224|  95.9k|    }
 2225|       |
 2226|  1.78k|    Py_BEGIN_CRITICAL_SECTION(co);
  ------------------
  |  |   51|  1.78k|    {
  ------------------
 2227|  1.78k|    code = cached->_co_code;
 2228|  1.78k|    if (code == NULL) {
  ------------------
  |  Branch (2228:9): [True: 1.78k, False: 0]
  ------------------
 2229|  1.78k|        code = PyBytes_FromStringAndSize((const char *)_PyCode_CODE(co),
  ------------------
  |  |   16|  1.78k|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  277|  1.78k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2230|  1.78k|                                         _PyCode_NBYTES(co));
  ------------------
  |  |   17|  1.78k|#define _PyCode_NBYTES(CO) (Py_SIZE(CO) * (Py_ssize_t)sizeof(_Py_CODEUNIT))
  |  |  ------------------
  |  |  |  |  214|  1.78k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.78k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.78k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2231|  1.78k|        if (code != NULL) {
  ------------------
  |  Branch (2231:13): [True: 1.78k, False: 0]
  ------------------
 2232|  1.78k|            deopt_code(co, (_Py_CODEUNIT *)PyBytes_AS_STRING(code));
  ------------------
  |  |   27|  1.78k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.78k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.78k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2233|  1.78k|            assert(cached->_co_code == NULL);
 2234|  1.78k|            FT_ATOMIC_STORE_PTR(cached->_co_code, code);
  ------------------
  |  |  145|  1.78k|#define FT_ATOMIC_STORE_PTR(value, new_value) value = new_value
  ------------------
 2235|  1.78k|        }
 2236|  1.78k|    }
 2237|  1.78k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  1.78k|    }
  ------------------
 2238|  1.78k|    return Py_XNewRef(code);
  ------------------
  |  |  551|  1.78k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.78k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.78k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2239|  97.7k|}
_PyCode_ConstantKey:
 2928|  59.4k|{
 2929|  59.4k|    PyObject *key;
 2930|       |
 2931|       |    /* Py_None and Py_Ellipsis are singletons. */
 2932|  59.4k|    if (op == Py_None || op == Py_Ellipsis
  ------------------
  |  |  616|   118k|#  define Py_None (&_Py_NoneStruct)
  ------------------
                  if (op == Py_None || op == Py_Ellipsis
  ------------------
  |  |   14|   117k|#  define Py_Ellipsis (&_Py_EllipsisObject)
  ------------------
  |  Branch (2932:9): [True: 1.23k, False: 58.1k]
  |  Branch (2932:26): [True: 4, False: 58.1k]
  ------------------
 2933|  59.4k|       || PyLong_CheckExact(op)
  ------------------
  |  |   14|  58.1k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|   117k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  58.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  58.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.93k, False: 56.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2934|  59.4k|       || PyUnicode_CheckExact(op)
  ------------------
  |  |  104|  56.2k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|   115k|#  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 (215:32): [True: 34.1k, False: 22.0k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2935|       |          /* code_richcompare() uses _PyCode_ConstantKey() internally */
 2936|  22.0k|       || PyCode_Check(op))
  ------------------
  |  |  164|  22.0k|#define PyCode_Check(op) Py_IS_TYPE((op), &PyCode_Type)
  |  |  ------------------
  |  |  |  |  215|  22.0k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  22.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  22.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 4.33k, False: 17.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2937|  41.7k|    {
 2938|       |        /* Objects of these types are always different from object of other
 2939|       |         * type and from tuples. */
 2940|  41.7k|        key = Py_NewRef(op);
  ------------------
  |  |  550|  41.7k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  41.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2941|  41.7k|    }
 2942|  17.7k|    else if (PyBool_Check(op) || PyBytes_CheckExact(op)) {
  ------------------
  |  |   12|  17.7k|#define PyBool_Check(x) Py_IS_TYPE((x), &PyBool_Type)
  |  |  ------------------
  |  |  |  |  215|  35.4k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  17.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  17.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 928, False: 16.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  else if (PyBool_Check(op) || PyBytes_CheckExact(op)) {
  ------------------
  |  |   29|  16.7k|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_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: 7.35k, False: 9.42k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2943|       |        /* Make booleans different from integers 0 and 1.
 2944|       |         * Avoid BytesWarning from comparing bytes with strings. */
 2945|  8.28k|        key = _PyTuple_FromPair((PyObject *)Py_TYPE(op), op);
  ------------------
  |  |  213|  8.28k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.28k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.28k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2946|  8.28k|    }
 2947|  9.42k|    else if (PyFloat_CheckExact(op)) {
  ------------------
  |  |   17|  9.42k|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  215|  9.42k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  9.42k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  9.42k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 29, False: 9.39k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2948|     29|        double d = PyFloat_AS_DOUBLE(op);
  ------------------
  |  |   18|     29|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     29|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2949|       |        /* all we need is to make the tuple different in either the 0.0
 2950|       |         * or -0.0 case from all others, just to avoid the "coercion".
 2951|       |         */
 2952|     29|        if (d == 0.0 && copysign(1.0, d) < 0.0)
  ------------------
  |  Branch (2952:13): [True: 2, False: 27]
  |  Branch (2952:25): [True: 0, False: 2]
  ------------------
 2953|      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)
  ------------------
 2954|     29|        else
 2955|     29|            key = _PyTuple_FromPair((PyObject *)Py_TYPE(op), op);
  ------------------
  |  |  213|     29|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     29|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     29|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2956|     29|    }
 2957|  9.39k|    else if (PyComplex_CheckExact(op)) {
  ------------------
  |  |   14|  9.39k|#define PyComplex_CheckExact(op) Py_IS_TYPE((op), &PyComplex_Type)
  |  |  ------------------
  |  |  |  |  215|  9.39k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  9.39k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  9.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 2, False: 9.39k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2958|      2|        Py_complex z;
 2959|      2|        int real_negzero, imag_negzero;
 2960|       |        /* For the complex case we must make complex(x, 0.)
 2961|       |           different from complex(x, -0.) and complex(0., y)
 2962|       |           different from complex(-0., y), for any x and y.
 2963|       |           All four complex zeros must be distinguished.*/
 2964|      2|        z = PyComplex_AsCComplex(op);
 2965|      2|        real_negzero = z.real == 0.0 && copysign(1.0, z.real) < 0.0;
  ------------------
  |  Branch (2965:24): [True: 2, False: 0]
  |  Branch (2965:41): [True: 0, False: 2]
  ------------------
 2966|      2|        imag_negzero = z.imag == 0.0 && copysign(1.0, z.imag) < 0.0;
  ------------------
  |  Branch (2966:24): [True: 0, False: 2]
  |  Branch (2966:41): [True: 0, False: 0]
  ------------------
 2967|       |        /* use True, False and None singleton as tags for the real and imag
 2968|       |         * sign, to make tuples different */
 2969|      2|        if (real_negzero && imag_negzero) {
  ------------------
  |  Branch (2969:13): [True: 0, False: 2]
  |  Branch (2969:29): [True: 0, False: 0]
  ------------------
 2970|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2971|      0|        }
 2972|      2|        else if (imag_negzero) {
  ------------------
  |  Branch (2972:18): [True: 0, False: 2]
  ------------------
 2973|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2974|      0|        }
 2975|      2|        else if (real_negzero) {
  ------------------
  |  Branch (2975:18): [True: 0, False: 2]
  ------------------
 2976|      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)
  ------------------
 2977|      0|        }
 2978|      2|        else {
 2979|      2|            key = _PyTuple_FromPair((PyObject *)Py_TYPE(op), 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2980|      2|        }
 2981|      2|    }
 2982|  9.39k|    else if (PyTuple_CheckExact(op)) {
  ------------------
  |  |   28|  9.39k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  9.39k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  9.39k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  9.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 9.23k, False: 160]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2983|  9.23k|        Py_ssize_t i, len;
 2984|  9.23k|        PyObject *tuple;
 2985|       |
 2986|  9.23k|        len = PyTuple_GET_SIZE(op);
  ------------------
  |  |   27|  9.23k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.23k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.23k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2987|  9.23k|        tuple = PyTuple_New(len);
 2988|  9.23k|        if (tuple == NULL)
  ------------------
  |  Branch (2988:13): [True: 0, False: 9.23k]
  ------------------
 2989|      0|            return NULL;
 2990|       |
 2991|  42.2k|        for (i=0; i < len; i++) {
  ------------------
  |  Branch (2991:19): [True: 32.9k, False: 9.23k]
  ------------------
 2992|  32.9k|            PyObject *item, *item_key;
 2993|       |
 2994|  32.9k|            item = PyTuple_GET_ITEM(op, i);
  ------------------
  |  |   29|  32.9k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  32.9k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  32.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2995|  32.9k|            item_key = _PyCode_ConstantKey(item);
 2996|  32.9k|            if (item_key == NULL) {
  ------------------
  |  Branch (2996:17): [True: 0, False: 32.9k]
  ------------------
 2997|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2998|      0|                return NULL;
 2999|      0|            }
 3000|       |
 3001|  32.9k|            PyTuple_SET_ITEM(tuple, i, item_key);
  ------------------
  |  |   40|  32.9k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  32.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  32.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  32.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  32.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3002|  32.9k|        }
 3003|       |
 3004|  9.23k|        key = _PyTuple_FromPair(tuple, op);
 3005|  9.23k|        Py_DECREF(tuple);
  ------------------
  |  |  430|  9.23k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.23k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.23k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3006|  9.23k|    }
 3007|    160|    else if (PyFrozenSet_CheckExact(op)) {
  ------------------
  |  |   23|    160|#define PyFrozenSet_CheckExact(ob) Py_IS_TYPE((ob), &PyFrozenSet_Type)
  |  |  ------------------
  |  |  |  |  215|    160|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    160|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    160|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 124, False: 36]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3008|    124|        Py_ssize_t pos = 0;
 3009|    124|        PyObject *item;
 3010|    124|        Py_hash_t hash;
 3011|    124|        Py_ssize_t i, len;
 3012|    124|        PyObject *tuple, *set;
 3013|       |
 3014|    124|        len = PySet_GET_SIZE(op);
  ------------------
  |  |   71|    124|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|    124|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    124|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3015|    124|        tuple = PyTuple_New(len);
 3016|    124|        if (tuple == NULL)
  ------------------
  |  Branch (3016:13): [True: 0, False: 124]
  ------------------
 3017|      0|            return NULL;
 3018|       |
 3019|    124|        i = 0;
 3020|    732|        while (_PySet_NextEntry(op, &pos, &item, &hash)) {
  ------------------
  |  Branch (3020:16): [True: 608, False: 124]
  ------------------
 3021|    608|            PyObject *item_key;
 3022|       |
 3023|    608|            item_key = _PyCode_ConstantKey(item);
 3024|    608|            if (item_key == NULL) {
  ------------------
  |  Branch (3024:17): [True: 0, False: 608]
  ------------------
 3025|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3026|      0|                return NULL;
 3027|      0|            }
 3028|       |
 3029|    608|            assert(i < len);
 3030|    608|            PyTuple_SET_ITEM(tuple, i, item_key);
  ------------------
  |  |   40|    608|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    608|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    608|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    608|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    608|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3031|    608|            i++;
 3032|    608|        }
 3033|    124|        set = PyFrozenSet_New(tuple);
 3034|    124|        Py_DECREF(tuple);
  ------------------
  |  |  430|    124|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    124|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    124|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3035|    124|        if (set == NULL)
  ------------------
  |  Branch (3035:13): [True: 0, False: 124]
  ------------------
 3036|      0|            return NULL;
 3037|       |
 3038|    124|        key = _PyTuple_FromPair(set, op);
 3039|    124|        Py_DECREF(set);
  ------------------
  |  |  430|    124|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    124|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    124|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3040|    124|        return key;
 3041|    124|    }
 3042|     36|    else if (PySlice_Check(op)) {
  ------------------
  |  |   22|     36|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3043|     36|        PySliceObject *slice = (PySliceObject *)op;
 3044|     36|        PyObject *start_key = NULL;
 3045|     36|        PyObject *stop_key = NULL;
 3046|     36|        PyObject *step_key = NULL;
 3047|     36|        key = NULL;
 3048|       |
 3049|     36|        start_key = _PyCode_ConstantKey(slice->start);
 3050|     36|        if (start_key == NULL) {
  ------------------
  |  Branch (3050:13): [True: 0, False: 36]
  ------------------
 3051|      0|            goto slice_exit;
 3052|      0|        }
 3053|       |
 3054|     36|        stop_key = _PyCode_ConstantKey(slice->stop);
 3055|     36|        if (stop_key == NULL) {
  ------------------
  |  Branch (3055:13): [True: 0, False: 36]
  ------------------
 3056|      0|            goto slice_exit;
 3057|      0|        }
 3058|       |
 3059|     36|        step_key = _PyCode_ConstantKey(slice->step);
 3060|     36|        if (step_key == NULL) {
  ------------------
  |  Branch (3060:13): [True: 0, False: 36]
  ------------------
 3061|      0|            goto slice_exit;
 3062|      0|        }
 3063|       |
 3064|     36|        PyObject *slice_key = PySlice_New(start_key, stop_key, step_key);
 3065|     36|        if (slice_key == NULL) {
  ------------------
  |  Branch (3065:13): [True: 0, False: 36]
  ------------------
 3066|      0|            goto slice_exit;
 3067|      0|        }
 3068|       |
 3069|     36|        key = _PyTuple_FromPair(slice_key, op);
 3070|     36|        Py_DECREF(slice_key);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3071|     36|    slice_exit:
 3072|     36|        Py_XDECREF(start_key);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3073|     36|        Py_XDECREF(stop_key);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3074|     36|        Py_XDECREF(step_key);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3075|     36|    }
 3076|      0|    else {
 3077|       |        /* for other types, use the object identifier as a unique identifier
 3078|       |         * to ensure that they are seen as unequal. */
 3079|      0|        PyObject *obj_id = PyLong_FromVoidPtr(op);
 3080|      0|        if (obj_id == NULL)
  ------------------
  |  Branch (3080:13): [True: 0, False: 0]
  ------------------
 3081|      0|            return NULL;
 3082|       |
 3083|      0|        key = _PyTuple_FromPair(obj_id, op);
 3084|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3085|      0|    }
 3086|  59.2k|    return key;
 3087|  59.4k|}
_PyCode_Init:
 3249|      2|{
 3250|       |#ifdef Py_GIL_DISABLED
 3251|       |    struct _py_code_state *state = &interp->code_state;
 3252|       |    state->constants = _Py_hashtable_new_full(&hash_const, &compare_constants,
 3253|       |                                              &destroy_key, NULL, NULL);
 3254|       |    if (state->constants == NULL) {
 3255|       |        return _PyStatus_NO_MEMORY();
 3256|       |    }
 3257|       |#endif
 3258|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3259|      2|}
codeobject.c:get_localsplus_counts:
  392|   170k|{
  393|   170k|    int nlocals = 0;
  394|   170k|    int ncellvars = 0;
  395|   170k|    int nfreevars = 0;
  396|   170k|    Py_ssize_t nlocalsplus = PyTuple_GET_SIZE(names);
  ------------------
  |  |   27|   170k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   170k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   170k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  397|   618k|    for (int i = 0; i < nlocalsplus; i++) {
  ------------------
  |  Branch (397:21): [True: 448k, False: 170k]
  ------------------
  398|   448k|        _PyLocals_Kind kind = _PyLocals_GetKind(kinds, i);
  399|   448k|        if (kind & CO_FAST_LOCAL) {
  ------------------
  |  |  197|   448k|#define CO_FAST_LOCAL   (0x20)
  ------------------
  |  Branch (399:13): [True: 391k, False: 56.5k]
  ------------------
  400|   391k|            nlocals += 1;
  401|   391k|            if (kind & CO_FAST_CELL) {
  ------------------
  |  |  198|   391k|#define CO_FAST_CELL    (0x40)
  ------------------
  |  Branch (401:17): [True: 2.09k, False: 389k]
  ------------------
  402|  2.09k|                ncellvars += 1;
  403|  2.09k|            }
  404|   391k|        }
  405|  56.5k|        else if (kind & CO_FAST_CELL) {
  ------------------
  |  |  198|  56.5k|#define CO_FAST_CELL    (0x40)
  ------------------
  |  Branch (405:18): [True: 33.1k, False: 23.3k]
  ------------------
  406|  33.1k|            ncellvars += 1;
  407|  33.1k|        }
  408|  23.3k|        else if (kind & CO_FAST_FREE) {
  ------------------
  |  |  199|  23.3k|#define CO_FAST_FREE    (0x80)
  ------------------
  |  Branch (408:18): [True: 23.3k, False: 0]
  ------------------
  409|  23.3k|            nfreevars += 1;
  410|  23.3k|        }
  411|   448k|    }
  412|   170k|    if (pnlocals != NULL) {
  ------------------
  |  Branch (412:9): [True: 170k, False: 0]
  ------------------
  413|   170k|        *pnlocals = nlocals;
  414|   170k|    }
  415|   170k|    if (pncellvars != NULL) {
  ------------------
  |  Branch (415:9): [True: 85.2k, False: 85.2k]
  ------------------
  416|  85.2k|        *pncellvars = ncellvars;
  417|  85.2k|    }
  418|   170k|    if (pnfreevars != NULL) {
  ------------------
  |  Branch (418:9): [True: 85.2k, False: 85.2k]
  ------------------
  419|  85.2k|        *pnfreevars = nfreevars;
  420|  85.2k|    }
  421|   170k|}
codeobject.c:intern_code_constants:
  690|  85.2k|{
  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|  85.2k|    if (intern_strings(con->names) < 0) {
  ------------------
  |  Branch (696:9): [True: 0, False: 85.2k]
  ------------------
  697|      0|        goto error;
  698|      0|    }
  699|  85.2k|    if (intern_constants(con->consts, NULL) < 0) {
  ------------------
  |  Branch (699:9): [True: 0, False: 85.2k]
  ------------------
  700|      0|        goto error;
  701|      0|    }
  702|  85.2k|    if (intern_strings(con->localsplusnames) < 0) {
  ------------------
  |  Branch (702:9): [True: 0, False: 85.2k]
  ------------------
  703|      0|        goto error;
  704|      0|    }
  705|  85.2k|    FT_MUTEX_UNLOCK(&state->mutex);
  ------------------
  |  |  204|  85.2k|#define FT_MUTEX_UNLOCK(lock) do {} while (0)
  |  |  ------------------
  |  |  |  Branch (204:44): [Folded, False: 85.2k]
  |  |  ------------------
  ------------------
  706|  85.2k|    return 0;
  707|       |
  708|      0|error:
  709|      0|    FT_MUTEX_UNLOCK(&state->mutex);
  ------------------
  |  |  204|      0|#define FT_MUTEX_UNLOCK(lock) do {} while (0)
  |  |  ------------------
  |  |  |  Branch (204:44): [Folded, False: 0]
  |  |  ------------------
  ------------------
  710|      0|    return -1;
  711|  85.2k|}
codeobject.c:intern_strings:
  183|   170k|{
  184|   170k|    PyInterpreterState *interp = _PyInterpreterState_GET();
  185|   170k|    Py_ssize_t i;
  186|       |
  187|  1.13M|    for (i = PyTuple_GET_SIZE(tuple); --i >= 0; ) {
  ------------------
  |  |   27|   170k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   170k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   170k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (187:39): [True: 963k, False: 170k]
  ------------------
  188|   963k|        PyObject *v = PyTuple_GET_ITEM(tuple, i);
  ------------------
  |  |   29|   963k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|   963k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   963k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  189|   963k|        if (v == NULL || !PyUnicode_CheckExact(v)) {
  ------------------
  |  |  104|   963k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|   963k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   963k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   963k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (189:13): [True: 0, False: 963k]
  |  Branch (189:26): [True: 0, False: 963k]
  ------------------
  190|      0|            PyErr_SetString(PyExc_SystemError,
  191|      0|                            "non-string found in code slot");
  192|      0|            return -1;
  193|      0|        }
  194|   963k|        _PyUnicode_InternImmortal(interp, &_PyTuple_ITEMS(tuple)[i]);
  ------------------
  |  |   26|   963k|#define _PyTuple_ITEMS(op) _Py_RVALUE(_PyTuple_CAST(op)->ob_item)
  |  |  ------------------
  |  |  |  |  277|   963k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  195|   963k|    }
  196|   170k|    return 0;
  197|   170k|}
codeobject.c:intern_constants:
  204|   148k|{
  205|   148k|    PyInterpreterState *interp = _PyInterpreterState_GET();
  206|   662k|    for (Py_ssize_t i = PyTuple_GET_SIZE(tuple); --i >= 0; ) {
  ------------------
  |  |   27|   148k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   148k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   148k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (206:50): [True: 514k, False: 148k]
  ------------------
  207|   514k|        PyObject *v = PyTuple_GET_ITEM(tuple, i);
  ------------------
  |  |   29|   514k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|   514k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   514k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  208|   514k|        if (PyUnicode_CheckExact(v)) {
  ------------------
  |  |  104|   514k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|   514k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   514k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   514k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 317k, False: 197k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  209|   317k|            if (should_intern_string(v)) {
  ------------------
  |  Branch (209:17): [True: 208k, False: 108k]
  ------------------
  210|   208k|                PyObject *w = v;
  211|   208k|                _PyUnicode_InternMortal(interp, &v);
  212|   208k|                if (w != v) {
  ------------------
  |  Branch (212:21): [True: 1.33k, False: 207k]
  ------------------
  213|  1.33k|                    PyTuple_SET_ITEM(tuple, i, v);
  ------------------
  |  |   40|  1.33k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  1.33k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.33k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  1.33k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.33k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  214|  1.33k|                    if (modified) {
  ------------------
  |  Branch (214:25): [True: 296, False: 1.03k]
  ------------------
  215|    296|                        *modified = 1;
  216|    296|                    }
  217|  1.33k|                }
  218|   208k|            }
  219|   317k|        }
  220|   197k|        else if (PyTuple_CheckExact(v)) {
  ------------------
  |  |   28|   197k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|   197k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   197k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   197k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 62.9k, False: 134k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  221|  62.9k|            if (intern_constants(v, NULL) < 0) {
  ------------------
  |  Branch (221:17): [True: 0, False: 62.9k]
  ------------------
  222|      0|                return -1;
  223|      0|            }
  224|  62.9k|        }
  225|   134k|        else if (PyFrozenSet_CheckExact(v)) {
  ------------------
  |  |   23|   134k|#define PyFrozenSet_CheckExact(ob) Py_IS_TYPE((ob), &PyFrozenSet_Type)
  |  |  ------------------
  |  |  |  |  215|   134k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   134k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   134k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 162, False: 134k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  226|    162|            PyObject *w = v;
  227|    162|            PyObject *tmp = PySequence_Tuple(v);
  228|    162|            if (tmp == NULL) {
  ------------------
  |  Branch (228:17): [True: 0, False: 162]
  ------------------
  229|      0|                return -1;
  230|      0|            }
  231|    162|            int tmp_modified = 0;
  232|    162|            if (intern_constants(tmp, &tmp_modified) < 0) {
  ------------------
  |  Branch (232:17): [True: 0, False: 162]
  ------------------
  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|    162|            if (tmp_modified) {
  ------------------
  |  Branch (236:17): [True: 58, False: 104]
  ------------------
  237|     58|                v = PyFrozenSet_New(tmp);
  238|     58|                if (v == NULL) {
  ------------------
  |  Branch (238:21): [True: 0, False: 58]
  ------------------
  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|     58|                PyTuple_SET_ITEM(tuple, i, v);
  ------------------
  |  |   40|     58|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     58|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     58|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     58|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     58|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  244|     58|                Py_DECREF(w);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  245|     58|                if (modified) {
  ------------------
  |  Branch (245:21): [True: 0, False: 58]
  ------------------
  246|      0|                    *modified = 1;
  247|      0|                }
  248|     58|            }
  249|    162|            Py_DECREF(tmp);
  ------------------
  |  |  430|    162|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    162|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    162|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  250|    162|        }
  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|   514k|    }
  303|   148k|    return 0;
  304|   148k|}
codeobject.c:should_intern_string:
  118|   317k|{
  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|   317k|    const unsigned char *s, *e;
  125|       |
  126|   317k|    if (!PyUnicode_IS_ASCII(o))
  ------------------
  |  |  227|   317k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   317k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   317k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (126:9): [True: 76, False: 317k]
  ------------------
  127|     76|        return 0;
  128|       |
  129|   317k|    s = PyUnicode_1BYTE_DATA(o);
  ------------------
  |  |  291|   317k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|   317k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  130|   317k|    e = s + PyUnicode_GET_LENGTH(o);
  ------------------
  |  |  299|   317k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   317k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   317k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  131|  3.33M|    for (; s != e; s++) {
  ------------------
  |  Branch (131:12): [True: 3.12M, False: 208k]
  ------------------
  132|  3.12M|        if (!Py_ISALNUM(*s) && *s != '_')
  ------------------
  |  |   26|  6.24M|#define Py_ISALNUM(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
  |  |  ------------------
  |  |  |  |  138|  3.12M|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISALNUM(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
  |  |  ------------------
  |  |  |  |   12|  3.12M|#define PY_CTF_ALNUM  (PY_CTF_ALPHA|PY_CTF_DIGIT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   10|  3.12M|#define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |    8|  3.12M|#define PY_CTF_LOWER  0x01
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |    9|  3.12M|#define PY_CTF_UPPER  0x02
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define PY_CTF_ALNUM  (PY_CTF_ALPHA|PY_CTF_DIGIT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   11|  3.12M|#define PY_CTF_DIGIT  0x04
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (132:13): [True: 229k, False: 2.89M]
  |  Branch (132:32): [True: 108k, False: 121k]
  ------------------
  133|   108k|            return 0;
  134|  3.12M|    }
  135|   208k|    return 1;
  136|   317k|#endif
  137|   317k|}
codeobject.c:get_line_delta:
  625|   275k|{
  626|   275k|    int code = ((*ptr) >> 3) & 15;
  627|   275k|    switch (code) {
  628|  4.30k|        case PY_CODE_LOCATION_INFO_NONE:
  ------------------
  |  Branch (628:9): [True: 4.30k, False: 271k]
  ------------------
  629|  4.30k|            return 0;
  630|      0|        case PY_CODE_LOCATION_INFO_NO_COLUMNS:
  ------------------
  |  Branch (630:9): [True: 0, False: 275k]
  ------------------
  631|  21.5k|        case PY_CODE_LOCATION_INFO_LONG:
  ------------------
  |  Branch (631:9): [True: 21.5k, False: 253k]
  ------------------
  632|  21.5k|            return scan_signed_varint(ptr+1);
  633|  86.0k|        case PY_CODE_LOCATION_INFO_ONE_LINE0:
  ------------------
  |  Branch (633:9): [True: 86.0k, False: 189k]
  ------------------
  634|  86.0k|            return 0;
  635|  47.3k|        case PY_CODE_LOCATION_INFO_ONE_LINE1:
  ------------------
  |  Branch (635:9): [True: 47.3k, False: 228k]
  ------------------
  636|  47.3k|            return 1;
  637|  8.60k|        case PY_CODE_LOCATION_INFO_ONE_LINE2:
  ------------------
  |  Branch (637:9): [True: 8.60k, False: 266k]
  ------------------
  638|  8.60k|            return 2;
  639|   107k|        default:
  ------------------
  |  Branch (639:9): [True: 107k, False: 167k]
  ------------------
  640|       |            /* Same line */
  641|   107k|            return 0;
  642|   275k|    }
  643|   275k|}
codeobject.c:scan_signed_varint:
  613|  21.5k|{
  614|  21.5k|    unsigned int uval = scan_varint(ptr);
  615|  21.5k|    if (uval & 1) {
  ------------------
  |  Branch (615:9): [True: 4.30k, False: 17.2k]
  ------------------
  616|  4.30k|        return -(int)(uval >> 1);
  617|  4.30k|    }
  618|  17.2k|    else {
  619|  17.2k|        return uval >> 1;
  620|  17.2k|    }
  621|  21.5k|}
codeobject.c:scan_varint:
  599|  21.5k|{
  600|  21.5k|    unsigned int read = *ptr++;
  601|  21.5k|    unsigned int val = read & 63;
  602|  21.5k|    unsigned int shift = 0;
  603|  21.5k|    while (read & 64) {
  ------------------
  |  Branch (603:12): [True: 0, False: 21.5k]
  ------------------
  604|      0|        read = *ptr++;
  605|      0|        shift += 6;
  606|      0|        val |= (read & 63) << shift;
  607|      0|    }
  608|  21.5k|    return val;
  609|  21.5k|}
codeobject.c:init_code:
  512|  85.2k|{
  513|  85.2k|    int nlocalsplus = (int)PyTuple_GET_SIZE(con->localsplusnames);
  ------------------
  |  |   27|  85.2k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  85.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  85.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  514|  85.2k|    int nlocals, ncellvars, nfreevars;
  515|  85.2k|    get_localsplus_counts(con->localsplusnames, con->localspluskinds,
  516|  85.2k|                          &nlocals, &ncellvars, &nfreevars);
  517|  85.2k|    if (con->stacksize == 0) {
  ------------------
  |  Branch (517:9): [True: 0, False: 85.2k]
  ------------------
  518|      0|        con->stacksize = 1;
  519|      0|    }
  520|       |
  521|  85.2k|    PyInterpreterState *interp = _PyInterpreterState_GET();
  522|  85.2k|    co->co_filename = Py_NewRef(con->filename);
  ------------------
  |  |  550|  85.2k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  85.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  85.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  523|  85.2k|    co->co_name = Py_NewRef(con->name);
  ------------------
  |  |  550|  85.2k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  85.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  85.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  524|  85.2k|    co->co_qualname = Py_NewRef(con->qualname);
  ------------------
  |  |  550|  85.2k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  85.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  85.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  525|  85.2k|    _PyUnicode_InternMortal(interp, &co->co_filename);
  526|  85.2k|    _PyUnicode_InternMortal(interp, &co->co_name);
  527|  85.2k|    _PyUnicode_InternMortal(interp, &co->co_qualname);
  528|  85.2k|    co->co_flags = con->flags;
  529|       |
  530|  85.2k|    co->co_firstlineno = con->firstlineno;
  531|  85.2k|    co->co_linetable = Py_NewRef(con->linetable);
  ------------------
  |  |  550|  85.2k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  85.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  85.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  532|       |
  533|  85.2k|    co->co_consts = Py_NewRef(con->consts);
  ------------------
  |  |  550|  85.2k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  85.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  85.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  534|  85.2k|    co->co_names = Py_NewRef(con->names);
  ------------------
  |  |  550|  85.2k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  85.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  85.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  535|       |
  536|  85.2k|    co->co_localsplusnames = Py_NewRef(con->localsplusnames);
  ------------------
  |  |  550|  85.2k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  85.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  85.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  537|  85.2k|    co->co_localspluskinds = Py_NewRef(con->localspluskinds);
  ------------------
  |  |  550|  85.2k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  85.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  85.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  538|       |
  539|  85.2k|    co->co_argcount = con->argcount;
  540|  85.2k|    co->co_posonlyargcount = con->posonlyargcount;
  541|  85.2k|    co->co_kwonlyargcount = con->kwonlyargcount;
  542|       |
  543|  85.2k|    co->co_stacksize = con->stacksize;
  544|       |
  545|  85.2k|    co->co_exceptiontable = Py_NewRef(con->exceptiontable);
  ------------------
  |  |  550|  85.2k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  85.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  85.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  546|       |
  547|       |    /* derived values */
  548|  85.2k|    co->co_nlocalsplus = nlocalsplus;
  549|  85.2k|    co->co_nlocals = nlocals;
  550|  85.2k|    co->co_framesize = nlocalsplus + con->stacksize + FRAME_SPECIALS_SIZE;
  ------------------
  |  |  122|  85.2k|#define FRAME_SPECIALS_SIZE ((int)((sizeof(_PyInterpreterFrame)-1)/sizeof(PyObject *)))
  ------------------
  551|  85.2k|    co->co_ncellvars = ncellvars;
  552|  85.2k|    co->co_nfreevars = nfreevars;
  553|  85.2k|    FT_MUTEX_LOCK(&interp->func_state.mutex);
  ------------------
  |  |  203|  85.2k|#define FT_MUTEX_LOCK(lock) do {} while (0)
  |  |  ------------------
  |  |  |  Branch (203:42): [Folded, False: 85.2k]
  |  |  ------------------
  ------------------
  554|  85.2k|    co->co_version = interp->func_state.next_version;
  555|  85.2k|    if (interp->func_state.next_version != 0) {
  ------------------
  |  Branch (555:9): [True: 85.2k, False: 0]
  ------------------
  556|  85.2k|        interp->func_state.next_version++;
  557|  85.2k|    }
  558|  85.2k|    FT_MUTEX_UNLOCK(&interp->func_state.mutex);
  ------------------
  |  |  204|  85.2k|#define FT_MUTEX_UNLOCK(lock) do {} while (0)
  |  |  ------------------
  |  |  |  Branch (204:44): [Folded, False: 85.2k]
  |  |  ------------------
  ------------------
  559|  85.2k|    co->_co_monitoring = NULL;
  560|  85.2k|    co->_co_instrumentation_version = 0;
  561|       |    /* not set */
  562|  85.2k|    co->co_weakreflist = NULL;
  563|  85.2k|    co->co_extra = NULL;
  564|  85.2k|    co->_co_cached = NULL;
  565|  85.2k|    co->co_executors = NULL;
  566|       |
  567|  85.2k|    memcpy(_PyCode_CODE(co), PyBytes_AS_STRING(con->code),
  ------------------
  |  |   16|  85.2k|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  277|  85.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
                  memcpy(_PyCode_CODE(co), PyBytes_AS_STRING(con->code),
  ------------------
  |  |   27|  85.2k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  85.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  85.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  568|  85.2k|           PyBytes_GET_SIZE(con->code));
  ------------------
  |  |   33|  85.2k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  85.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  85.2k|#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|  85.2k|    int entry_point = 0;
  577|   168k|    while (entry_point < Py_SIZE(co)) {
  ------------------
  |  |  214|   168k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   168k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   168k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (577:12): [True: 168k, False: 0]
  ------------------
  578|   168k|        if (_PyCode_CODE(co)[entry_point].op.code == RESUME &&
  ------------------
  |  |   16|   168k|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  277|   168k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
                      if (_PyCode_CODE(co)[entry_point].op.code == RESUME &&
  ------------------
  |  |  133|   336k|#define RESUME                                 128
  ------------------
  |  Branch (578:13): [True: 92.9k, False: 75.4k]
  ------------------
  579|  92.9k|           (_PyCode_CODE(co)[entry_point].op.arg & RESUME_OPARG_LOCATION_MASK) != RESUME_AT_GEN_EXPR_START
  ------------------
  |  |   16|  92.9k|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  277|  92.9k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
                         (_PyCode_CODE(co)[entry_point].op.arg & RESUME_OPARG_LOCATION_MASK) != RESUME_AT_GEN_EXPR_START
  ------------------
  |  |   92|  92.9k|#define RESUME_OPARG_LOCATION_MASK 0x7
  ------------------
                         (_PyCode_CODE(co)[entry_point].op.arg & RESUME_OPARG_LOCATION_MASK) != RESUME_AT_GEN_EXPR_START
  ------------------
  |  |   90|  92.9k|#define RESUME_AT_GEN_EXPR_START 4
  ------------------
  |  Branch (579:12): [True: 85.2k, False: 7.65k]
  ------------------
  580|   168k|        ) {
  581|  85.2k|            break;
  582|  85.2k|        }
  583|  83.1k|        entry_point++;
  584|  83.1k|    }
  585|  85.2k|    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|  85.2k|    _PyCode_Quicken(_PyCode_CODE(co), Py_SIZE(co), interp->opt_config.specialization_enabled, co->co_flags);
  ------------------
  |  |   16|  85.2k|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  277|  85.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
                  _PyCode_Quicken(_PyCode_CODE(co), Py_SIZE(co), interp->opt_config.specialization_enabled, co->co_flags);
  ------------------
  |  |  214|  85.2k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  85.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  85.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  592|  85.2k|#endif
  593|  85.2k|    notify_code_watchers(PY_CODE_EVENT_CREATE, co);
  594|  85.2k|    return 0;
  595|  85.2k|}
codeobject.c:notify_code_watchers:
   42|   150k|{
   43|   150k|    assert(Py_REFCNT(co) > 0);
   44|   150k|    PyInterpreterState *interp = _PyInterpreterState_GET();
   45|   150k|    assert(interp->_initialized);
   46|   150k|    uint8_t bits = interp->active_code_watchers;
   47|   150k|    int i = 0;
   48|   150k|    while (bits) {
  ------------------
  |  Branch (48:12): [True: 0, False: 150k]
  ------------------
   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|   150k|}
codeobject.c:is_no_line_marker:
 1092|   275k|{
 1093|   275k|    return (b >> 3) == 0x1f;
 1094|   275k|}
codeobject.c:at_end:
 1273|   275k|at_end(PyCodeAddressRange *bounds) {
 1274|   275k|    return bounds->opaque.lo_next >= bounds->opaque.limit;
 1275|   275k|}
codeobject.c:advance:
 1179|   275k|{
 1180|   275k|    ASSERT_VALID_BOUNDS(bounds);
  ------------------
  |  | 1098|   275k|    assert(bounds->opaque.lo_next <=  bounds->opaque.limit && \
  |  | 1099|   275k|        (bounds->ar_line == -1 || bounds->ar_line == bounds->opaque.computed_line) && \
  |  | 1100|   275k|        (bounds->opaque.lo_next == bounds->opaque.limit || \
  |  | 1101|   275k|        (*bounds->opaque.lo_next) & 128))
  ------------------
 1181|   275k|    bounds->opaque.computed_line += get_line_delta(bounds->opaque.lo_next);
 1182|   275k|    if (is_no_line_marker(*bounds->opaque.lo_next)) {
  ------------------
  |  Branch (1182:9): [True: 4.30k, False: 271k]
  ------------------
 1183|  4.30k|        bounds->ar_line = -1;
 1184|  4.30k|    }
 1185|   271k|    else {
 1186|   271k|        bounds->ar_line = bounds->opaque.computed_line;
 1187|   271k|    }
 1188|   275k|    bounds->ar_start = bounds->ar_end;
 1189|   275k|    bounds->ar_end += next_code_delta(bounds);
 1190|   761k|    do {
 1191|   761k|        bounds->opaque.lo_next++;
 1192|   761k|    } while (bounds->opaque.lo_next < bounds->opaque.limit &&
  ------------------
  |  Branch (1192:14): [True: 761k, False: 0]
  ------------------
 1193|   761k|        ((*bounds->opaque.lo_next) & 128) == 0);
  ------------------
  |  Branch (1193:9): [True: 486k, False: 275k]
  ------------------
 1194|       |    ASSERT_VALID_BOUNDS(bounds);
  ------------------
  |  | 1098|   275k|    assert(bounds->opaque.lo_next <=  bounds->opaque.limit && \
  |  | 1099|   275k|        (bounds->ar_line == -1 || bounds->ar_line == bounds->opaque.computed_line) && \
  |  | 1100|   275k|        (bounds->opaque.lo_next == bounds->opaque.limit || \
  |  | 1101|   275k|        (*bounds->opaque.lo_next) & 128))
  ------------------
 1195|   275k|}
codeobject.c:next_code_delta:
 1105|   275k|{
 1106|       |    assert((*bounds->opaque.lo_next) & 128);
 1107|   275k|    return (((*bounds->opaque.lo_next) & 7) + 1) * sizeof(_Py_CODEUNIT);
 1108|   275k|}
codeobject.c:init_co_cached:
  350|   132k|{
  351|   132k|    _PyCoCached *cached = FT_ATOMIC_LOAD_PTR(self->_co_cached);
  ------------------
  |  |  144|   132k|#define FT_ATOMIC_LOAD_PTR(value) value
  ------------------
  352|   132k|    if (cached != NULL) {
  ------------------
  |  Branch (352:9): [True: 130k, False: 2.21k]
  ------------------
  353|   130k|        return 0;
  354|   130k|    }
  355|       |
  356|  2.21k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  2.21k|    {
  ------------------
  357|  2.21k|    cached = self->_co_cached;
  358|  2.21k|    if (cached == NULL) {
  ------------------
  |  Branch (358:9): [True: 2.21k, False: 0]
  ------------------
  359|  2.21k|        cached = PyMem_New(_PyCoCached, 1);
  ------------------
  |  |   64|  2.21k|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|  2.21k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [Folded, False: 2.21k]
  |  |  ------------------
  |  |   65|  2.21k|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
  360|  2.21k|        if (cached == NULL) {
  ------------------
  |  Branch (360:13): [True: 0, False: 2.21k]
  ------------------
  361|      0|            PyErr_NoMemory();
  362|      0|        }
  363|  2.21k|        else {
  364|  2.21k|            cached->_co_code = NULL;
  365|  2.21k|            cached->_co_cellvars = NULL;
  366|  2.21k|            cached->_co_freevars = NULL;
  367|  2.21k|            cached->_co_varnames = NULL;
  368|  2.21k|            FT_ATOMIC_STORE_PTR(self->_co_cached, cached);
  ------------------
  |  |  145|  2.21k|#define FT_ATOMIC_STORE_PTR(value, new_value) value = new_value
  ------------------
  369|  2.21k|        }
  370|  2.21k|    }
  371|  2.21k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  2.21k|    }
  ------------------
  372|  2.21k|    return cached != NULL ? 0 : -1;
  ------------------
  |  Branch (372:12): [True: 2.21k, False: 0]
  ------------------
  373|   132k|}
codeobject.c:get_cached_locals:
 1661|  34.7k|{
 1662|  34.7k|    assert(cached_field != NULL);
 1663|  34.7k|    assert(co->_co_cached != NULL);
 1664|  34.7k|    PyObject *varnames = FT_ATOMIC_LOAD_PTR(*cached_field);
  ------------------
  |  |  144|  34.7k|#define FT_ATOMIC_LOAD_PTR(value) value
  ------------------
 1665|  34.7k|    if (varnames != NULL) {
  ------------------
  |  Branch (1665:9): [True: 34.2k, False: 443]
  ------------------
 1666|  34.2k|        return Py_NewRef(varnames);
  ------------------
  |  |  550|  34.2k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  34.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  34.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1667|  34.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);
  ------------------
  |  |  145|    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|  34.7k|}
codeobject.c:get_localsplus_names:
  425|  11.1k|{
  426|  11.1k|    PyObject *names = PyTuple_New(num);
  427|  11.1k|    if (names == NULL) {
  ------------------
  |  Branch (427:9): [True: 0, False: 11.1k]
  ------------------
  428|      0|        return NULL;
  429|      0|    }
  430|  11.1k|    int index = 0;
  431|  34.9k|    for (int offset = 0; offset < co->co_nlocalsplus; offset++) {
  ------------------
  |  Branch (431:26): [True: 23.7k, False: 11.1k]
  ------------------
  432|  23.7k|        _PyLocals_Kind k = _PyLocals_GetKind(co->co_localspluskinds, offset);
  433|  23.7k|        if ((k & kind) == 0) {
  ------------------
  |  Branch (433:13): [True: 15.5k, False: 8.16k]
  ------------------
  434|  15.5k|            continue;
  435|  15.5k|        }
  436|  23.7k|        assert(index < num);
  437|  8.16k|        PyObject *name = PyTuple_GET_ITEM(co->co_localsplusnames, offset);
  ------------------
  |  |   29|  8.16k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  8.16k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.16k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  438|  8.16k|        PyTuple_SET_ITEM(names, index, Py_NewRef(name));
  ------------------
  |  |   40|  8.16k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  8.16k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.16k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  8.16k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.16k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  439|  8.16k|        index += 1;
  440|  8.16k|    }
  441|       |    assert(index == num);
  442|  11.1k|    return names;
  443|  11.1k|}
codeobject.c:deopt_code:
 2199|  1.78k|{
 2200|  1.78k|    Py_ssize_t len = Py_SIZE(code);
  ------------------
  |  |  214|  1.78k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.78k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.78k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2201|  82.5k|    for (int i = 0; i < len; i++) {
  ------------------
  |  Branch (2201:21): [True: 80.8k, False: 1.78k]
  ------------------
 2202|  80.8k|        _Py_CODEUNIT inst = _Py_GetBaseCodeUnit(code, i);
 2203|  80.8k|        assert(inst.op.code < MIN_SPECIALIZED_OPCODE);
 2204|  80.8k|        int caches = _PyOpcode_Caches[inst.op.code];
 2205|  80.8k|        instructions[i] = inst;
 2206|   194k|        for (int j = 1; j <= caches; j++) {
  ------------------
  |  Branch (2206:25): [True: 114k, False: 80.8k]
  ------------------
 2207|   114k|            instructions[i+j].cache = 0;
 2208|   114k|        }
 2209|  80.8k|        i += caches;
 2210|  80.8k|    }
 2211|  1.78k|}
codeobject.c:code_dealloc:
 2395|  65.0k|{
 2396|  65.0k|    PyThreadState *tstate = PyThreadState_GET();
  ------------------
  |  |   63|  65.0k|#define PyThreadState_GET() PyThreadState_Get()
  ------------------
 2397|  65.0k|    _Py_atomic_add_uint64(&tstate->interp->_code_object_generation, 1);
 2398|  65.0k|    PyCodeObject *co = _PyCodeObject_CAST(self);
  ------------------
  |  |  114|  65.0k|#define _PyCodeObject_CAST(op)  (assert(PyCode_Check(op)), (PyCodeObject *)(op))
  ------------------
 2399|  65.0k|    _PyObject_ResurrectStart(self);
 2400|  65.0k|    notify_code_watchers(PY_CODE_EVENT_DESTROY, co);
 2401|  65.0k|    if (_PyObject_ResurrectEnd(self)) {
  ------------------
  |  Branch (2401:9): [True: 0, False: 65.0k]
  ------------------
 2402|      0|        return;
 2403|      0|    }
 2404|       |
 2405|       |#ifdef Py_GIL_DISABLED
 2406|       |    PyObject_GC_UnTrack(co);
 2407|       |#endif
 2408|       |
 2409|  65.0k|    _PyFunction_ClearCodeByVersion(co->co_version);
 2410|  65.0k|    if (co->co_extra != NULL) {
  ------------------
  |  Branch (2410:9): [True: 0, False: 65.0k]
  ------------------
 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|  65.0k|    Py_XDECREF(co->co_consts);
  ------------------
  |  |  524|  65.0k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  65.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  65.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2431|  65.0k|    Py_XDECREF(co->co_names);
  ------------------
  |  |  524|  65.0k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  65.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  65.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2432|  65.0k|    Py_XDECREF(co->co_localsplusnames);
  ------------------
  |  |  524|  65.0k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  65.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  65.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2433|  65.0k|    Py_XDECREF(co->co_localspluskinds);
  ------------------
  |  |  524|  65.0k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  65.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  65.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2434|  65.0k|    Py_XDECREF(co->co_filename);
  ------------------
  |  |  524|  65.0k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  65.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  65.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2435|  65.0k|    Py_XDECREF(co->co_name);
  ------------------
  |  |  524|  65.0k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  65.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  65.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2436|  65.0k|    Py_XDECREF(co->co_qualname);
  ------------------
  |  |  524|  65.0k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  65.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  65.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2437|  65.0k|    Py_XDECREF(co->co_linetable);
  ------------------
  |  |  524|  65.0k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  65.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  65.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2438|  65.0k|    Py_XDECREF(co->co_exceptiontable);
  ------------------
  |  |  524|  65.0k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  65.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  65.0k|#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|  65.0k|    if (co->_co_cached != NULL) {
  ------------------
  |  Branch (2442:9): [True: 195, False: 64.8k]
  ------------------
 2443|    195|        Py_XDECREF(co->_co_cached->_co_code);
  ------------------
  |  |  524|    195|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    195|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    195|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2444|    195|        Py_XDECREF(co->_co_cached->_co_cellvars);
  ------------------
  |  |  524|    195|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    195|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    195|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2445|    195|        Py_XDECREF(co->_co_cached->_co_freevars);
  ------------------
  |  |  524|    195|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    195|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    195|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2446|    195|        Py_XDECREF(co->_co_cached->_co_varnames);
  ------------------
  |  |  524|    195|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    195|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    195|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2447|    195|        PyMem_Free(co->_co_cached);
 2448|    195|    }
 2449|  65.0k|    FT_CLEAR_WEAKREFS(self, co->co_weakreflist);
  ------------------
  |  |   47|  65.0k|    do {                                            \
  |  |   48|  65.0k|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|  65.0k|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 65.0k]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|  65.0k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 65.0k]
  |  |  ------------------
  ------------------
 2450|  65.0k|    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|  65.0k|    PyObject_Free(co);
 2463|  65.0k|}
codeobject.c:free_monitoring_data:
 2371|  65.0k|{
 2372|  65.0k|    if (data == NULL) {
  ------------------
  |  Branch (2372:9): [True: 65.0k, False: 0]
  ------------------
 2373|  65.0k|        return;
 2374|  65.0k|    }
 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_hash:
 2586|  10.8k|{
 2587|  10.8k|    PyCodeObject *co = _PyCodeObject_CAST(self);
  ------------------
  |  |  114|  10.8k|#define _PyCodeObject_CAST(op)  (assert(PyCode_Check(op)), (PyCodeObject *)(op))
  ------------------
 2588|  10.8k|    Py_uhash_t uhash = 20221211;
 2589|  10.8k|    #define SCRAMBLE_IN(H) do {       \
 2590|  10.8k|        uhash ^= (Py_uhash_t)(H);     \
 2591|  10.8k|        uhash *= PyHASH_MULTIPLIER;  \
 2592|  10.8k|    } while (0)
 2593|  10.8k|    #define SCRAMBLE_IN_HASH(EXPR) do {     \
 2594|  10.8k|        Py_hash_t h = PyObject_Hash(EXPR);  \
 2595|  10.8k|        if (h == -1) {                      \
 2596|  10.8k|            return -1;                      \
 2597|  10.8k|        }                                   \
 2598|  10.8k|        SCRAMBLE_IN(h);                     \
 2599|  10.8k|    } while (0)
 2600|       |
 2601|  10.8k|    SCRAMBLE_IN_HASH(co->co_name);
  ------------------
  |  | 2593|  10.8k|    #define SCRAMBLE_IN_HASH(EXPR) do {     \
  |  | 2594|  10.8k|        Py_hash_t h = PyObject_Hash(EXPR);  \
  |  | 2595|  10.8k|        if (h == -1) {                      \
  |  |  ------------------
  |  |  |  Branch (2595:13): [True: 0, False: 10.8k]
  |  |  ------------------
  |  | 2596|      0|            return -1;                      \
  |  | 2597|      0|        }                                   \
  |  | 2598|  10.8k|        SCRAMBLE_IN(h);                     \
  |  |  ------------------
  |  |  |  | 2589|  10.8k|    #define SCRAMBLE_IN(H) do {       \
  |  |  |  | 2590|  10.8k|        uhash ^= (Py_uhash_t)(H);     \
  |  |  |  | 2591|  10.8k|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  |  |  ------------------
  |  |  |  |  |  |    6|  10.8k|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  |  |  ------------------
  |  |  |  | 2592|  10.8k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2592:14): [Folded, False: 10.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2599|  10.8k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2599:14): [Folded, False: 10.8k]
  |  |  ------------------
  ------------------
 2602|  10.8k|    SCRAMBLE_IN_HASH(co->co_consts);
  ------------------
  |  | 2593|  10.8k|    #define SCRAMBLE_IN_HASH(EXPR) do {     \
  |  | 2594|  10.8k|        Py_hash_t h = PyObject_Hash(EXPR);  \
  |  | 2595|  10.8k|        if (h == -1) {                      \
  |  |  ------------------
  |  |  |  Branch (2595:13): [True: 0, False: 10.8k]
  |  |  ------------------
  |  | 2596|      0|            return -1;                      \
  |  | 2597|      0|        }                                   \
  |  | 2598|  10.8k|        SCRAMBLE_IN(h);                     \
  |  |  ------------------
  |  |  |  | 2589|  10.8k|    #define SCRAMBLE_IN(H) do {       \
  |  |  |  | 2590|  10.8k|        uhash ^= (Py_uhash_t)(H);     \
  |  |  |  | 2591|  10.8k|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  |  |  ------------------
  |  |  |  |  |  |    6|  10.8k|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  |  |  ------------------
  |  |  |  | 2592|  10.8k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2592:14): [Folded, False: 10.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2599|  10.8k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2599:14): [Folded, False: 10.8k]
  |  |  ------------------
  ------------------
 2603|  10.8k|    SCRAMBLE_IN_HASH(co->co_names);
  ------------------
  |  | 2593|  10.8k|    #define SCRAMBLE_IN_HASH(EXPR) do {     \
  |  | 2594|  10.8k|        Py_hash_t h = PyObject_Hash(EXPR);  \
  |  | 2595|  10.8k|        if (h == -1) {                      \
  |  |  ------------------
  |  |  |  Branch (2595:13): [True: 0, False: 10.8k]
  |  |  ------------------
  |  | 2596|      0|            return -1;                      \
  |  | 2597|      0|        }                                   \
  |  | 2598|  10.8k|        SCRAMBLE_IN(h);                     \
  |  |  ------------------
  |  |  |  | 2589|  10.8k|    #define SCRAMBLE_IN(H) do {       \
  |  |  |  | 2590|  10.8k|        uhash ^= (Py_uhash_t)(H);     \
  |  |  |  | 2591|  10.8k|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  |  |  ------------------
  |  |  |  |  |  |    6|  10.8k|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  |  |  ------------------
  |  |  |  | 2592|  10.8k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2592:14): [Folded, False: 10.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2599|  10.8k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2599:14): [Folded, False: 10.8k]
  |  |  ------------------
  ------------------
 2604|  10.8k|    SCRAMBLE_IN_HASH(co->co_localsplusnames);
  ------------------
  |  | 2593|  10.8k|    #define SCRAMBLE_IN_HASH(EXPR) do {     \
  |  | 2594|  10.8k|        Py_hash_t h = PyObject_Hash(EXPR);  \
  |  | 2595|  10.8k|        if (h == -1) {                      \
  |  |  ------------------
  |  |  |  Branch (2595:13): [True: 0, False: 10.8k]
  |  |  ------------------
  |  | 2596|      0|            return -1;                      \
  |  | 2597|      0|        }                                   \
  |  | 2598|  10.8k|        SCRAMBLE_IN(h);                     \
  |  |  ------------------
  |  |  |  | 2589|  10.8k|    #define SCRAMBLE_IN(H) do {       \
  |  |  |  | 2590|  10.8k|        uhash ^= (Py_uhash_t)(H);     \
  |  |  |  | 2591|  10.8k|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  |  |  ------------------
  |  |  |  |  |  |    6|  10.8k|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  |  |  ------------------
  |  |  |  | 2592|  10.8k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2592:14): [Folded, False: 10.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2599|  10.8k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2599:14): [Folded, False: 10.8k]
  |  |  ------------------
  ------------------
 2605|  10.8k|    SCRAMBLE_IN_HASH(co->co_linetable);
  ------------------
  |  | 2593|  10.8k|    #define SCRAMBLE_IN_HASH(EXPR) do {     \
  |  | 2594|  10.8k|        Py_hash_t h = PyObject_Hash(EXPR);  \
  |  | 2595|  10.8k|        if (h == -1) {                      \
  |  |  ------------------
  |  |  |  Branch (2595:13): [True: 0, False: 10.8k]
  |  |  ------------------
  |  | 2596|      0|            return -1;                      \
  |  | 2597|      0|        }                                   \
  |  | 2598|  10.8k|        SCRAMBLE_IN(h);                     \
  |  |  ------------------
  |  |  |  | 2589|  10.8k|    #define SCRAMBLE_IN(H) do {       \
  |  |  |  | 2590|  10.8k|        uhash ^= (Py_uhash_t)(H);     \
  |  |  |  | 2591|  10.8k|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  |  |  ------------------
  |  |  |  |  |  |    6|  10.8k|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  |  |  ------------------
  |  |  |  | 2592|  10.8k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2592:14): [Folded, False: 10.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2599|  10.8k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2599:14): [Folded, False: 10.8k]
  |  |  ------------------
  ------------------
 2606|  10.8k|    SCRAMBLE_IN_HASH(co->co_exceptiontable);
  ------------------
  |  | 2593|  10.8k|    #define SCRAMBLE_IN_HASH(EXPR) do {     \
  |  | 2594|  10.8k|        Py_hash_t h = PyObject_Hash(EXPR);  \
  |  | 2595|  10.8k|        if (h == -1) {                      \
  |  |  ------------------
  |  |  |  Branch (2595:13): [True: 0, False: 10.8k]
  |  |  ------------------
  |  | 2596|      0|            return -1;                      \
  |  | 2597|      0|        }                                   \
  |  | 2598|  10.8k|        SCRAMBLE_IN(h);                     \
  |  |  ------------------
  |  |  |  | 2589|  10.8k|    #define SCRAMBLE_IN(H) do {       \
  |  |  |  | 2590|  10.8k|        uhash ^= (Py_uhash_t)(H);     \
  |  |  |  | 2591|  10.8k|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  |  |  ------------------
  |  |  |  |  |  |    6|  10.8k|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  |  |  ------------------
  |  |  |  | 2592|  10.8k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2592:14): [Folded, False: 10.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2599|  10.8k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2599:14): [Folded, False: 10.8k]
  |  |  ------------------
  ------------------
 2607|  10.8k|    SCRAMBLE_IN(co->co_argcount);
  ------------------
  |  | 2589|  10.8k|    #define SCRAMBLE_IN(H) do {       \
  |  | 2590|  10.8k|        uhash ^= (Py_uhash_t)(H);     \
  |  | 2591|  10.8k|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  ------------------
  |  |  |  |    6|  10.8k|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  ------------------
  |  | 2592|  10.8k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2592:14): [Folded, False: 10.8k]
  |  |  ------------------
  ------------------
 2608|  10.8k|    SCRAMBLE_IN(co->co_posonlyargcount);
  ------------------
  |  | 2589|  10.8k|    #define SCRAMBLE_IN(H) do {       \
  |  | 2590|  10.8k|        uhash ^= (Py_uhash_t)(H);     \
  |  | 2591|  10.8k|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  ------------------
  |  |  |  |    6|  10.8k|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  ------------------
  |  | 2592|  10.8k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2592:14): [Folded, False: 10.8k]
  |  |  ------------------
  ------------------
 2609|  10.8k|    SCRAMBLE_IN(co->co_kwonlyargcount);
  ------------------
  |  | 2589|  10.8k|    #define SCRAMBLE_IN(H) do {       \
  |  | 2590|  10.8k|        uhash ^= (Py_uhash_t)(H);     \
  |  | 2591|  10.8k|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  ------------------
  |  |  |  |    6|  10.8k|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  ------------------
  |  | 2592|  10.8k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2592:14): [Folded, False: 10.8k]
  |  |  ------------------
  ------------------
 2610|  10.8k|    SCRAMBLE_IN(co->co_flags);
  ------------------
  |  | 2589|  10.8k|    #define SCRAMBLE_IN(H) do {       \
  |  | 2590|  10.8k|        uhash ^= (Py_uhash_t)(H);     \
  |  | 2591|  10.8k|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  ------------------
  |  |  |  |    6|  10.8k|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  ------------------
  |  | 2592|  10.8k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2592:14): [Folded, False: 10.8k]
  |  |  ------------------
  ------------------
 2611|  10.8k|    SCRAMBLE_IN(co->co_firstlineno);
  ------------------
  |  | 2589|  10.8k|    #define SCRAMBLE_IN(H) do {       \
  |  | 2590|  10.8k|        uhash ^= (Py_uhash_t)(H);     \
  |  | 2591|  10.8k|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  ------------------
  |  |  |  |    6|  10.8k|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  ------------------
  |  | 2592|  10.8k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2592:14): [Folded, False: 10.8k]
  |  |  ------------------
  ------------------
 2612|  10.8k|    SCRAMBLE_IN(Py_SIZE(co));
  ------------------
  |  | 2589|  10.8k|    #define SCRAMBLE_IN(H) do {       \
  |  | 2590|  10.8k|        uhash ^= (Py_uhash_t)(H);     \
  |  | 2591|  10.8k|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  ------------------
  |  |  |  |    6|  10.8k|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  ------------------
  |  | 2592|  10.8k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2592:14): [Folded, False: 10.8k]
  |  |  ------------------
  ------------------
 2613|   446k|    for (int i = 0; i < Py_SIZE(co); i++) {
  ------------------
  |  |  214|   446k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   446k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   446k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2613:21): [True: 435k, False: 10.8k]
  ------------------
 2614|   435k|        _Py_CODEUNIT co_instr = _Py_GetBaseCodeUnit(co, i);
 2615|   435k|        SCRAMBLE_IN(co_instr.op.code);
  ------------------
  |  | 2589|   435k|    #define SCRAMBLE_IN(H) do {       \
  |  | 2590|   435k|        uhash ^= (Py_uhash_t)(H);     \
  |  | 2591|   435k|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  ------------------
  |  |  |  |    6|   435k|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  ------------------
  |  | 2592|   435k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2592:14): [Folded, False: 435k]
  |  |  ------------------
  ------------------
 2616|   435k|        SCRAMBLE_IN(co_instr.op.arg);
  ------------------
  |  | 2589|   435k|    #define SCRAMBLE_IN(H) do {       \
  |  | 2590|   435k|        uhash ^= (Py_uhash_t)(H);     \
  |  | 2591|   435k|        uhash *= PyHASH_MULTIPLIER;  \
  |  |  ------------------
  |  |  |  |    6|   435k|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  ------------------
  |  | 2592|   435k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2592:14): [Folded, False: 435k]
  |  |  ------------------
  ------------------
 2617|   435k|        i += _PyOpcode_Caches[co_instr.op.code];
 2618|   435k|    }
 2619|  10.8k|    if ((Py_hash_t)uhash == -1) {
  ------------------
  |  Branch (2619:9): [True: 0, False: 10.8k]
  ------------------
 2620|      0|        return -2;
 2621|      0|    }
 2622|  10.8k|    return (Py_hash_t)uhash;
 2623|  10.8k|}
codeobject.c:code_richcompare:
 2497|     14|{
 2498|     14|    PyCodeObject *co, *cp;
 2499|     14|    int eq;
 2500|     14|    PyObject *consts1, *consts2;
 2501|     14|    PyObject *res;
 2502|       |
 2503|     14|    if ((op != Py_EQ && op != Py_NE) ||
  ------------------
  |  |  654|     28|#define Py_EQ 2
  ------------------
                  if ((op != Py_EQ && op != Py_NE) ||
  ------------------
  |  |  655|      0|#define Py_NE 3
  ------------------
  |  Branch (2503:10): [True: 0, False: 14]
  |  Branch (2503:25): [True: 0, False: 0]
  ------------------
 2504|     14|        !PyCode_Check(self) ||
  ------------------
  |  |  164|     14|#define PyCode_Check(op) Py_IS_TYPE((op), &PyCode_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 (2504:9): [True: 0, False: 14]
  ------------------
 2505|     14|        !PyCode_Check(other)) {
  ------------------
  |  |  164|     14|#define PyCode_Check(op) Py_IS_TYPE((op), &PyCode_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 (2505:9): [True: 0, False: 14]
  ------------------
 2506|      0|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 2507|      0|    }
 2508|       |
 2509|     14|    co = (PyCodeObject *)self;
 2510|     14|    cp = (PyCodeObject *)other;
 2511|       |
 2512|     14|    eq = PyObject_RichCompareBool(co->co_name, cp->co_name, Py_EQ);
  ------------------
  |  |  654|     14|#define Py_EQ 2
  ------------------
 2513|     14|    if (eq <= 0) goto unequal;
  ------------------
  |  Branch (2513:9): [True: 0, False: 14]
  ------------------
 2514|     14|    eq = co->co_argcount == cp->co_argcount;
 2515|     14|    if (!eq) goto unequal;
  ------------------
  |  Branch (2515:9): [True: 0, False: 14]
  ------------------
 2516|     14|    eq = co->co_posonlyargcount == cp->co_posonlyargcount;
 2517|     14|    if (!eq) goto unequal;
  ------------------
  |  Branch (2517:9): [True: 0, False: 14]
  ------------------
 2518|     14|    eq = co->co_kwonlyargcount == cp->co_kwonlyargcount;
 2519|     14|    if (!eq) goto unequal;
  ------------------
  |  Branch (2519:9): [True: 0, False: 14]
  ------------------
 2520|     14|    eq = co->co_flags == cp->co_flags;
 2521|     14|    if (!eq) goto unequal;
  ------------------
  |  Branch (2521:9): [True: 0, False: 14]
  ------------------
 2522|     14|    eq = co->co_firstlineno == cp->co_firstlineno;
 2523|     14|    if (!eq) goto unequal;
  ------------------
  |  Branch (2523:9): [True: 0, False: 14]
  ------------------
 2524|     14|    eq = Py_SIZE(co) == Py_SIZE(cp);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  eq = Py_SIZE(co) == Py_SIZE(cp);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2525|     14|    if (!eq) {
  ------------------
  |  Branch (2525:9): [True: 0, False: 14]
  ------------------
 2526|      0|        goto unequal;
 2527|      0|    }
 2528|    364|    for (int i = 0; i < Py_SIZE(co); i++) {
  ------------------
  |  |  214|    364|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    364|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    364|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2528:21): [True: 350, False: 14]
  ------------------
 2529|    350|        _Py_CODEUNIT co_instr = _Py_GetBaseCodeUnit(co, i);
 2530|    350|        _Py_CODEUNIT cp_instr = _Py_GetBaseCodeUnit(cp, i);
 2531|    350|        if (co_instr.cache != cp_instr.cache) {
  ------------------
  |  Branch (2531:13): [True: 0, False: 350]
  ------------------
 2532|      0|            goto unequal;
 2533|      0|        }
 2534|    350|        i += _PyOpcode_Caches[co_instr.op.code];
 2535|    350|    }
 2536|       |
 2537|       |    /* compare constants */
 2538|     14|    consts1 = _PyCode_ConstantKey(co->co_consts);
 2539|     14|    if (!consts1)
  ------------------
  |  Branch (2539:9): [True: 0, False: 14]
  ------------------
 2540|      0|        return NULL;
 2541|     14|    consts2 = _PyCode_ConstantKey(cp->co_consts);
 2542|     14|    if (!consts2) {
  ------------------
  |  Branch (2542:9): [True: 0, False: 14]
  ------------------
 2543|      0|        Py_DECREF(consts1);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2544|      0|        return NULL;
 2545|      0|    }
 2546|     14|    eq = PyObject_RichCompareBool(consts1, consts2, Py_EQ);
  ------------------
  |  |  654|     14|#define Py_EQ 2
  ------------------
 2547|     14|    Py_DECREF(consts1);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2548|     14|    Py_DECREF(consts2);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2549|     14|    if (eq <= 0) goto unequal;
  ------------------
  |  Branch (2549:9): [True: 0, False: 14]
  ------------------
 2550|       |
 2551|     14|    eq = PyObject_RichCompareBool(co->co_names, cp->co_names, Py_EQ);
  ------------------
  |  |  654|     14|#define Py_EQ 2
  ------------------
 2552|     14|    if (eq <= 0) goto unequal;
  ------------------
  |  Branch (2552:9): [True: 0, False: 14]
  ------------------
 2553|     14|    eq = PyObject_RichCompareBool(co->co_localsplusnames,
 2554|     14|                                  cp->co_localsplusnames, Py_EQ);
  ------------------
  |  |  654|     14|#define Py_EQ 2
  ------------------
 2555|     14|    if (eq <= 0) goto unequal;
  ------------------
  |  Branch (2555:9): [True: 0, False: 14]
  ------------------
 2556|     14|    eq = PyObject_RichCompareBool(co->co_linetable, cp->co_linetable, Py_EQ);
  ------------------
  |  |  654|     14|#define Py_EQ 2
  ------------------
 2557|     14|    if (eq <= 0) {
  ------------------
  |  Branch (2557:9): [True: 0, False: 14]
  ------------------
 2558|      0|        goto unequal;
 2559|      0|    }
 2560|     14|    eq = PyObject_RichCompareBool(co->co_exceptiontable,
 2561|     14|                                  cp->co_exceptiontable, Py_EQ);
  ------------------
  |  |  654|     14|#define Py_EQ 2
  ------------------
 2562|     14|    if (eq <= 0) {
  ------------------
  |  Branch (2562:9): [True: 0, False: 14]
  ------------------
 2563|      0|        goto unequal;
 2564|      0|    }
 2565|       |
 2566|     14|    if (op == Py_EQ)
  ------------------
  |  |  654|     14|#define Py_EQ 2
  ------------------
  |  Branch (2566:9): [True: 14, False: 0]
  ------------------
 2567|     14|        res = Py_True;
  ------------------
  |  |   26|     14|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|     14|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2568|      0|    else
 2569|      0|        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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2570|     14|    goto done;
 2571|       |
 2572|      0|  unequal:
 2573|      0|    if (eq < 0)
  ------------------
  |  Branch (2573:9): [True: 0, False: 0]
  ------------------
 2574|      0|        return NULL;
 2575|      0|    if (op == Py_NE)
  ------------------
  |  |  655|      0|#define Py_NE 3
  ------------------
  |  Branch (2575:9): [True: 0, False: 0]
  ------------------
 2576|      0|        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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2577|      0|    else
 2578|      0|        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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2579|       |
 2580|     14|  done:
 2581|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2582|      0|}
codeobject.c:code_replace_impl:
 2760|  3.58k|{
 2761|  3.58k|#define CHECK_INT_ARG(ARG) \
 2762|  3.58k|        if (ARG < 0) { \
 2763|  3.58k|            PyErr_SetString(PyExc_ValueError, \
 2764|  3.58k|                            #ARG " must be a positive integer"); \
 2765|  3.58k|            return NULL; \
 2766|  3.58k|        }
 2767|       |
 2768|  3.58k|    CHECK_INT_ARG(co_argcount);
  ------------------
  |  | 2762|  3.58k|        if (ARG < 0) { \
  |  |  ------------------
  |  |  |  Branch (2762:13): [True: 0, False: 3.58k]
  |  |  ------------------
  |  | 2763|      0|            PyErr_SetString(PyExc_ValueError, \
  |  | 2764|      0|                            #ARG " must be a positive integer"); \
  |  | 2765|      0|            return NULL; \
  |  | 2766|      0|        }
  ------------------
 2769|  3.58k|    CHECK_INT_ARG(co_posonlyargcount);
  ------------------
  |  | 2762|  3.58k|        if (ARG < 0) { \
  |  |  ------------------
  |  |  |  Branch (2762:13): [True: 0, False: 3.58k]
  |  |  ------------------
  |  | 2763|      0|            PyErr_SetString(PyExc_ValueError, \
  |  | 2764|      0|                            #ARG " must be a positive integer"); \
  |  | 2765|      0|            return NULL; \
  |  | 2766|      0|        }
  ------------------
 2770|  3.58k|    CHECK_INT_ARG(co_kwonlyargcount);
  ------------------
  |  | 2762|  3.58k|        if (ARG < 0) { \
  |  |  ------------------
  |  |  |  Branch (2762:13): [True: 0, False: 3.58k]
  |  |  ------------------
  |  | 2763|      0|            PyErr_SetString(PyExc_ValueError, \
  |  | 2764|      0|                            #ARG " must be a positive integer"); \
  |  | 2765|      0|            return NULL; \
  |  | 2766|      0|        }
  ------------------
 2771|  3.58k|    CHECK_INT_ARG(co_nlocals);
  ------------------
  |  | 2762|  3.58k|        if (ARG < 0) { \
  |  |  ------------------
  |  |  |  Branch (2762:13): [True: 0, False: 3.58k]
  |  |  ------------------
  |  | 2763|      0|            PyErr_SetString(PyExc_ValueError, \
  |  | 2764|      0|                            #ARG " must be a positive integer"); \
  |  | 2765|      0|            return NULL; \
  |  | 2766|      0|        }
  ------------------
 2772|  3.58k|    CHECK_INT_ARG(co_stacksize);
  ------------------
  |  | 2762|  3.58k|        if (ARG < 0) { \
  |  |  ------------------
  |  |  |  Branch (2762:13): [True: 0, False: 3.58k]
  |  |  ------------------
  |  | 2763|      0|            PyErr_SetString(PyExc_ValueError, \
  |  | 2764|      0|                            #ARG " must be a positive integer"); \
  |  | 2765|      0|            return NULL; \
  |  | 2766|      0|        }
  ------------------
 2773|  3.58k|    CHECK_INT_ARG(co_flags);
  ------------------
  |  | 2762|  3.58k|        if (ARG < 0) { \
  |  |  ------------------
  |  |  |  Branch (2762:13): [True: 0, False: 3.58k]
  |  |  ------------------
  |  | 2763|      0|            PyErr_SetString(PyExc_ValueError, \
  |  | 2764|      0|                            #ARG " must be a positive integer"); \
  |  | 2765|      0|            return NULL; \
  |  | 2766|      0|        }
  ------------------
 2774|  3.58k|    CHECK_INT_ARG(co_firstlineno);
  ------------------
  |  | 2762|  3.58k|        if (ARG < 0) { \
  |  |  ------------------
  |  |  |  Branch (2762:13): [True: 0, False: 3.58k]
  |  |  ------------------
  |  | 2763|      0|            PyErr_SetString(PyExc_ValueError, \
  |  | 2764|      0|                            #ARG " must be a positive integer"); \
  |  | 2765|      0|            return NULL; \
  |  | 2766|      0|        }
  ------------------
 2775|       |
 2776|  3.58k|#undef CHECK_INT_ARG
 2777|       |
 2778|  3.58k|    PyObject *code = NULL;
 2779|  3.58k|    if (co_code == NULL) {
  ------------------
  |  Branch (2779:9): [True: 3.58k, False: 0]
  ------------------
 2780|  3.58k|        code = _PyCode_GetCode(self);
 2781|  3.58k|        if (code == NULL) {
  ------------------
  |  Branch (2781:13): [True: 0, False: 3.58k]
  ------------------
 2782|      0|            return NULL;
 2783|      0|        }
 2784|  3.58k|        co_code = code;
 2785|  3.58k|    }
 2786|       |
 2787|  3.58k|    if (PySys_Audit("code.__new__", "OOOiiiiii",
  ------------------
  |  Branch (2787:9): [True: 0, False: 3.58k]
  ------------------
 2788|  3.58k|                    co_code, co_filename, co_name, co_argcount,
 2789|  3.58k|                    co_posonlyargcount, co_kwonlyargcount, co_nlocals,
 2790|  3.58k|                    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|  3.58k|    PyCodeObject *co = NULL;
 2796|  3.58k|    PyObject *varnames = NULL;
 2797|  3.58k|    PyObject *cellvars = NULL;
 2798|  3.58k|    PyObject *freevars = NULL;
 2799|  3.58k|    if (co_varnames == NULL) {
  ------------------
  |  Branch (2799:9): [True: 3.58k, False: 0]
  ------------------
 2800|  3.58k|        varnames = get_localsplus_names(self, CO_FAST_LOCAL, self->co_nlocals);
  ------------------
  |  |  197|  3.58k|#define CO_FAST_LOCAL   (0x20)
  ------------------
 2801|  3.58k|        if (varnames == NULL) {
  ------------------
  |  Branch (2801:13): [True: 0, False: 3.58k]
  ------------------
 2802|      0|            goto error;
 2803|      0|        }
 2804|  3.58k|        co_varnames = varnames;
 2805|  3.58k|    }
 2806|  3.58k|    if (co_cellvars == NULL) {
  ------------------
  |  Branch (2806:9): [True: 3.58k, False: 0]
  ------------------
 2807|  3.58k|        cellvars = get_localsplus_names(self, CO_FAST_CELL, self->co_ncellvars);
  ------------------
  |  |  198|  3.58k|#define CO_FAST_CELL    (0x40)
  ------------------
 2808|  3.58k|        if (cellvars == NULL) {
  ------------------
  |  Branch (2808:13): [True: 0, False: 3.58k]
  ------------------
 2809|      0|            goto error;
 2810|      0|        }
 2811|  3.58k|        co_cellvars = cellvars;
 2812|  3.58k|    }
 2813|  3.58k|    if (co_freevars == NULL) {
  ------------------
  |  Branch (2813:9): [True: 3.58k, False: 0]
  ------------------
 2814|  3.58k|        freevars = get_localsplus_names(self, CO_FAST_FREE, self->co_nfreevars);
  ------------------
  |  |  199|  3.58k|#define CO_FAST_FREE    (0x80)
  ------------------
 2815|  3.58k|        if (freevars == NULL) {
  ------------------
  |  Branch (2815:13): [True: 0, False: 3.58k]
  ------------------
 2816|      0|            goto error;
 2817|      0|        }
 2818|  3.58k|        co_freevars = freevars;
 2819|  3.58k|    }
 2820|       |
 2821|  3.58k|    co = PyCode_NewWithPosOnlyArgs(
 2822|  3.58k|        co_argcount, co_posonlyargcount, co_kwonlyargcount, co_nlocals,
 2823|  3.58k|        co_stacksize, co_flags, co_code, co_consts, co_names,
 2824|  3.58k|        co_varnames, co_freevars, co_cellvars, co_filename, co_name,
 2825|  3.58k|        co_qualname, co_firstlineno,
 2826|  3.58k|        co_linetable, co_exceptiontable);
 2827|       |
 2828|  3.58k|error:
 2829|  3.58k|    Py_XDECREF(code);
  ------------------
  |  |  524|  3.58k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.58k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2830|  3.58k|    Py_XDECREF(varnames);
  ------------------
  |  |  524|  3.58k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.58k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2831|  3.58k|    Py_XDECREF(cellvars);
  ------------------
  |  |  524|  3.58k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.58k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2832|  3.58k|    Py_XDECREF(freevars);
  ------------------
  |  |  524|  3.58k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.58k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2833|  3.58k|    return (PyObject *)co;
 2834|  3.58k|}
codeobject.c:code_getvarnames:
 2649|  20.7k|{
 2650|       |    PyCodeObject *code = _PyCodeObject_CAST(self);
  ------------------
  |  |  114|  20.7k|#define _PyCodeObject_CAST(op)  (assert(PyCode_Check(op)), (PyCodeObject *)(op))
  ------------------
 2651|  20.7k|    return _PyCode_GetVarnames(code);
 2652|  20.7k|}
codeobject.c:code_getfreevars:
 2663|  13.9k|{
 2664|       |    PyCodeObject *code = _PyCodeObject_CAST(self);
  ------------------
  |  |  114|  13.9k|#define _PyCodeObject_CAST(op)  (assert(PyCode_Check(op)), (PyCodeObject *)(op))
  ------------------
 2665|  13.9k|    return _PyCode_GetFreevars(code);
 2666|  13.9k|}
codeobject.c:code_getcode:
 2678|  92.4k|{
 2679|       |    PyCodeObject *code = _PyCodeObject_CAST(self);
  ------------------
  |  |  114|  92.4k|#define _PyCodeObject_CAST(op)  (assert(PyCode_Check(op)), (PyCodeObject *)(op))
  ------------------
 2680|  92.4k|    return _PyCode_GetCode(code);
 2681|  92.4k|}

PyComplex_FromCComplex:
  412|      3|{
  413|      3|    PyComplexObject *op = _Py_FREELIST_POP(PyComplexObject, complexes);
  ------------------
  |  |   43|      3|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  414|       |
  415|      3|    if (op == NULL) {
  ------------------
  |  Branch (415:9): [True: 3, False: 0]
  ------------------
  416|       |        /* Inline PyObject_New */
  417|      3|        op = PyObject_Malloc(sizeof(PyComplexObject));
  418|      3|        if (op == NULL) {
  ------------------
  |  Branch (418:13): [True: 0, False: 3]
  ------------------
  419|      0|            return PyErr_NoMemory();
  420|      0|        }
  421|      3|        _PyObject_Init((PyObject*)op, &PyComplex_Type);
  422|      3|    }
  423|      3|    op->cval = cval;
  424|      3|    return (PyObject *) op;
  425|      3|}
PyComplex_RealAsDouble:
  461|      1|{
  462|      1|    double real = -1.0;
  463|       |
  464|      1|    if (PyComplex_Check(op)) {
  ------------------
  |  |   13|      1|#define PyComplex_Check(op) PyObject_TypeCheck((op), &PyComplex_Type)
  |  |  ------------------
  |  |  |  |  378|      1|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 1, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  465|      1|        real = ((PyComplexObject *)op)->cval.real;
  466|      1|    }
  467|      0|    else {
  468|      0|        PyObject* newop = try_complex_special_method(op);
  469|      0|        if (newop) {
  ------------------
  |  Branch (469:13): [True: 0, False: 0]
  ------------------
  470|      0|            real = ((PyComplexObject *)newop)->cval.real;
  471|      0|            Py_DECREF(newop);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) 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|        } else if (!PyErr_Occurred()) {
  ------------------
  |  Branch (472:20): [True: 0, False: 0]
  ------------------
  473|      0|            real = PyFloat_AsDouble(op);
  474|      0|        }
  475|      0|    }
  476|       |
  477|      1|    return real;
  478|      1|}
PyComplex_ImagAsDouble:
  482|      1|{
  483|      1|    double imag = -1.0;
  484|       |
  485|      1|    if (PyComplex_Check(op)) {
  ------------------
  |  |   13|      1|#define PyComplex_Check(op) PyObject_TypeCheck((op), &PyComplex_Type)
  |  |  ------------------
  |  |  |  |  378|      1|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 1, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  486|      1|        imag = ((PyComplexObject *)op)->cval.imag;
  487|      1|    }
  488|      0|    else {
  489|      0|        PyObject* newop = try_complex_special_method(op);
  490|      0|        if (newop) {
  ------------------
  |  Branch (490:13): [True: 0, False: 0]
  ------------------
  491|      0|            imag = ((PyComplexObject *)newop)->cval.imag;
  492|      0|            Py_DECREF(newop);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  493|      0|        } else if (!PyErr_Occurred()) {
  ------------------
  |  Branch (493:20): [True: 0, False: 0]
  ------------------
  494|      0|            PyFloat_AsDouble(op);
  495|      0|            if (!PyErr_Occurred()) {
  ------------------
  |  Branch (495:17): [True: 0, False: 0]
  ------------------
  496|      0|                imag = 0.0;
  497|      0|            }
  498|      0|        }
  499|      0|    }
  500|       |
  501|      1|    return imag;
  502|      1|}
PyComplex_AsCComplex:
  539|      2|{
  540|      2|    Py_complex cv;
  541|      2|    PyObject *newop = NULL;
  542|       |
  543|      2|    assert(op);
  544|       |    /* If op is already of type PyComplex_Type, return its value */
  545|      2|    if (PyComplex_Check(op)) {
  ------------------
  |  |   13|      2|#define PyComplex_Check(op) PyObject_TypeCheck((op), &PyComplex_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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  546|      2|        return ((PyComplexObject *)op)->cval;
  547|      2|    }
  548|       |    /* If not, use op's __complex__  method, if it exists */
  549|       |
  550|       |    /* return -1 on failure */
  551|      0|    cv.real = -1.;
  552|      0|    cv.imag = 0.;
  553|       |
  554|      0|    newop = try_complex_special_method(op);
  555|       |
  556|      0|    if (newop) {
  ------------------
  |  Branch (556:9): [True: 0, False: 0]
  ------------------
  557|      0|        cv = ((PyComplexObject *)newop)->cval;
  558|      0|        Py_DECREF(newop);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  559|      0|        return cv;
  560|      0|    }
  561|      0|    else if (PyErr_Occurred()) {
  ------------------
  |  Branch (561:14): [True: 0, False: 0]
  ------------------
  562|      0|        return cv;
  563|      0|    }
  564|       |    /* If neither of the above works, interpret op as a float giving the
  565|       |       real part of the result, and fill in the imaginary part as 0. */
  566|      0|    else {
  567|       |        /* PyFloat_AsDouble will return -1 on failure */
  568|      0|        cv.real = PyFloat_AsDouble(op);
  569|      0|        return cv;
  570|      0|    }
  571|      0|}
complexobject.c:complex_dealloc:
  429|      1|{
  430|      1|    assert(PyComplex_Check(op));
  431|      1|    if (PyComplex_CheckExact(op)) {
  ------------------
  |  |   14|      1|#define PyComplex_CheckExact(op) Py_IS_TYPE((op), &PyComplex_Type)
  |  |  ------------------
  |  |  |  |  215|      1|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  432|      1|        _Py_FREELIST_FREE(complexes, op, PyObject_Free);
  ------------------
  |  |   35|      1|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|      1|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   19|      1|#  define Py_complexes_MAXFREELIST 100
  |  |  ------------------
  ------------------
  433|      1|    }
  434|      0|    else {
  435|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  436|      0|    }
  437|      1|}
complexobject.c:complex_hash:
  632|      3|{
  633|      3|    Py_uhash_t hashreal, hashimag, combined;
  634|      3|    PyComplexObject *v = _PyComplexObject_CAST(op);
  ------------------
  |  |   17|      3|#define _PyComplexObject_CAST(op)   ((PyComplexObject *)(op))
  ------------------
  635|      3|    hashreal = (Py_uhash_t)_Py_HashDouble(op, v->cval.real);
  636|      3|    if (hashreal == (Py_uhash_t)-1)
  ------------------
  |  Branch (636:9): [True: 0, False: 3]
  ------------------
  637|      0|        return -1;
  638|      3|    hashimag = (Py_uhash_t)_Py_HashDouble(op, v->cval.imag);
  639|      3|    if (hashimag == (Py_uhash_t)-1)
  ------------------
  |  Branch (639:9): [True: 0, False: 3]
  ------------------
  640|      0|        return -1;
  641|       |    /* Note:  if the imaginary part is 0, hashimag is 0 now,
  642|       |     * so the following returns hashreal unchanged.  This is
  643|       |     * important because numbers of different types that
  644|       |     * compare equal must have the same hash value, so that
  645|       |     * hash(x + 0*j) must equal hash(x).
  646|       |     */
  647|      3|    combined = hashreal + PyHASH_IMAG * hashimag;
  ------------------
  |  |   20|      3|#define PyHASH_IMAG PyHASH_MULTIPLIER
  |  |  ------------------
  |  |  |  |    6|      3|#define PyHASH_MULTIPLIER 1000003UL  /* 0xf4243 */
  |  |  ------------------
  ------------------
  648|      3|    if (combined == (Py_uhash_t)-1)
  ------------------
  |  Branch (648:9): [True: 0, False: 3]
  ------------------
  649|      0|        combined = (Py_uhash_t)-2;
  650|      3|    return (Py_hash_t)combined;
  651|      3|}

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.36k|{
  987|  1.36k|    PyMemberDescrObject *descr;
  988|       |
  989|  1.36k|    if (member->flags & Py_RELATIVE_OFFSET) {
  ------------------
  |  |   86|  1.36k|#define Py_RELATIVE_OFFSET     (1 << 3)
  ------------------
  |  Branch (989:9): [True: 0, False: 1.36k]
  ------------------
  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.36k|    descr = (PyMemberDescrObject *)descr_new(&PyMemberDescr_Type,
  996|  1.36k|                                             type, member->name);
  997|  1.36k|    if (descr != NULL)
  ------------------
  |  Branch (997:9): [True: 1.36k, False: 0]
  ------------------
  998|  1.36k|        descr->d_member = member;
  999|  1.36k|    return (PyObject *)descr;
 1000|  1.36k|}
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.05M|{
 1031|  7.05M|    return Py_TYPE(ob)->tp_descr_set != NULL;
  ------------------
  |  |  213|  7.05M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  7.05M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.05M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1032|  7.05M|}
PyDictProxy_New:
 1284|  3.90k|{
 1285|  3.90k|    mappingproxyobject *pp;
 1286|       |
 1287|  3.90k|    if (mappingproxy_check_mapping(mapping) == -1)
  ------------------
  |  Branch (1287:9): [True: 0, False: 3.90k]
  ------------------
 1288|      0|        return NULL;
 1289|       |
 1290|  3.90k|    pp = PyObject_GC_New(mappingproxyobject, &PyDictProxy_Type);
  ------------------
  |  |  181|  3.90k|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|  3.90k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1291|  3.90k|    if (pp != NULL) {
  ------------------
  |  Branch (1291:9): [True: 3.90k, False: 0]
  ------------------
 1292|  3.90k|        pp->mapping = Py_NewRef(mapping);
  ------------------
  |  |  550|  3.90k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  3.90k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.90k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1293|  3.90k|        _PyObject_GC_TRACK(pp);
  ------------------
  |  |  508|  3.90k|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.90k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.90k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1294|  3.90k|    }
 1295|  3.90k|    return (PyObject *)pp;
 1296|  3.90k|}
PyWrapper_New:
 1492|  3.74k|{
 1493|  3.74k|    wrapperobject *wp;
 1494|  3.74k|    PyWrapperDescrObject *descr;
 1495|       |
 1496|  3.74k|    assert(PyObject_TypeCheck(d, &PyWrapperDescr_Type));
 1497|  3.74k|    descr = (PyWrapperDescrObject *)d;
 1498|  3.74k|    assert(_PyObject_RealIsSubclass((PyObject *)Py_TYPE(self),
 1499|  3.74k|                                    (PyObject *)PyDescr_TYPE(descr)));
 1500|       |
 1501|  3.74k|    wp = PyObject_GC_New(wrapperobject, &_PyMethodWrapper_Type);
  ------------------
  |  |  181|  3.74k|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|  3.74k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1502|  3.74k|    if (wp != NULL) {
  ------------------
  |  Branch (1502:9): [True: 3.74k, False: 0]
  ------------------
 1503|  3.74k|        wp->descr = (PyWrapperDescrObject*)Py_NewRef(descr);
  ------------------
  |  |  550|  3.74k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  3.74k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.74k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1504|  3.74k|        wp->self = Py_NewRef(self);
  ------------------
  |  |  550|  3.74k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  3.74k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.74k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1505|  3.74k|        _PyObject_GC_TRACK(wp);
  ------------------
  |  |  508|  3.74k|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.74k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.74k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1506|  3.74k|    }
 1507|  3.74k|    return (PyObject *)wp;
 1508|  3.74k|}
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.5k|{
  712|  52.5k|    PyDescrObject *descr = (PyDescrObject *)self;
  713|  52.5k|    Py_VISIT(descr->d_type);
  ------------------
  |  |  194|  52.5k|    do {                                                                \
  |  |  195|  52.5k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 52.5k, False: 0]
  |  |  ------------------
  |  |  196|  52.5k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  52.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  52.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  52.5k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 52.5k]
  |  |  ------------------
  |  |  198|  52.5k|                return vret;                                            \
  |  |  199|  52.5k|        }                                                               \
  |  |  200|  52.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 52.5k]
  |  |  ------------------
  ------------------
  714|  52.5k|    return 0;
  715|  52.5k|}
descrobject.c:method_get:
  139|  2.04M|{
  140|  2.04M|    PyMethodDescrObject *descr = (PyMethodDescrObject *)self;
  141|  2.04M|    if (obj == NULL) {
  ------------------
  |  Branch (141:9): [True: 4.65k, False: 2.03M]
  ------------------
  142|  4.65k|        return Py_NewRef(descr);
  ------------------
  |  |  550|  4.65k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  4.65k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.65k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  143|  4.65k|    }
  144|  2.03M|    if (descr_check((PyDescrObject *)descr, obj) < 0) {
  ------------------
  |  Branch (144:9): [True: 0, False: 2.03M]
  ------------------
  145|      0|        return NULL;
  146|      0|    }
  147|  2.03M|    if (descr->d_method->ml_flags & METH_METHOD) {
  ------------------
  |  |  133|  2.03M|#define METH_METHOD 0x0200
  ------------------
  |  Branch (147:9): [True: 4.02k, False: 2.03M]
  ------------------
  148|  4.02k|        if (type == NULL || PyType_Check(type)) {
  ------------------
  |  |  766|  4.02k|#  define PyType_Check(op) PyType_Check(_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 (766:28): [True: 4.02k, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (148:13): [True: 0, False: 4.02k]
  ------------------
  149|  4.02k|            return PyCMethod_New(descr->d_method, obj, NULL, descr->d_common.d_type);
  150|  4.02k|        } 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|  2.03M|    } else {
  158|       |        return PyCFunction_NewEx(descr->d_method, obj, NULL);
  ------------------
  |  |   87|  2.03M|#define PyCFunction_NewEx(ML, SELF, MOD) PyCMethod_New((ML), (SELF), (MOD), NULL)
  ------------------
  159|  2.03M|    }
  160|  2.03M|}
descrobject.c:descr_check:
   81|  4.62M|{
   82|  4.62M|    if (!PyObject_TypeCheck(obj, descr->d_type)) {
  ------------------
  |  |  378|  4.62M|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  4.62M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.62M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (82:9): [True: 0, False: 4.62M]
  ------------------
   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|  4.62M|    return 0;
   92|  4.62M|}
descrobject.c:classmethod_get:
   96|  7.55M|{
   97|  7.55M|    PyMethodDescrObject *descr = (PyMethodDescrObject *)self;
   98|       |    /* Ensure a valid type.  Class methods ignore obj. */
   99|  7.55M|    if (type == NULL) {
  ------------------
  |  Branch (99:9): [True: 0, False: 7.55M]
  ------------------
  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|  7.55M|    if (!PyType_Check(type)) {
  ------------------
  |  |  766|  7.55M|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.55M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.55M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (112:9): [True: 0, False: 7.55M]
  ------------------
  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|  7.55M|    if (!PyType_IsSubtype((PyTypeObject *)type, PyDescr_TYPE(descr))) {
  ------------------
  |  |   35|  7.55M|#define PyDescr_TYPE(x) (((PyDescrObject *)(x))->d_type)
  ------------------
  |  Branch (121:9): [True: 0, False: 7.55M]
  ------------------
  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|  7.55M|    PyTypeObject *cls = NULL;
  131|  7.55M|    if (descr->d_method->ml_flags & METH_METHOD) {
  ------------------
  |  |  133|  7.55M|#define METH_METHOD 0x0200
  ------------------
  |  Branch (131:9): [True: 0, False: 7.55M]
  ------------------
  132|      0|        cls = descr->d_common.d_type;
  133|      0|    }
  134|       |    return PyCMethod_New(descr->d_method, type, NULL, cls);
  135|  7.55M|}
descrobject.c:member_get:
  164|   199k|{
  165|   199k|    PyMemberDescrObject *descr = (PyMemberDescrObject *)self;
  166|   199k|    if (obj == NULL) {
  ------------------
  |  Branch (166:9): [True: 8, False: 199k]
  ------------------
  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|   199k|    if (descr_check((PyDescrObject *)descr, obj) < 0) {
  ------------------
  |  Branch (169:9): [True: 0, False: 199k]
  ------------------
  170|      0|        return NULL;
  171|      0|    }
  172|       |
  173|   199k|    if (descr->d_member->flags & Py_AUDIT_READ) {
  ------------------
  |  |   84|   199k|#define Py_AUDIT_READ          (1 << 1) // Added in 3.10, harmless no-op before that
  ------------------
  |  Branch (173:9): [True: 0, False: 199k]
  ------------------
  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|   199k|    return PyMember_GetOne((char *)obj, descr->d_member);
  181|   199k|}
descrobject.c:member_set:
  234|  2.10M|{
  235|  2.10M|    PyMemberDescrObject *descr = (PyMemberDescrObject *)self;
  236|  2.10M|    if (descr_setcheck((PyDescrObject *)descr, obj, value) < 0) {
  ------------------
  |  Branch (236:9): [True: 0, False: 2.10M]
  ------------------
  237|      0|        return -1;
  238|      0|    }
  239|  2.10M|    return PyMember_SetOne((char *)obj, descr->d_member, value);
  240|  2.10M|}
descrobject.c:descr_setcheck:
  218|  2.15M|{
  219|  2.15M|    assert(obj != NULL);
  220|  2.15M|    if (!PyObject_TypeCheck(obj, descr->d_type)) {
  ------------------
  |  |  378|  2.15M|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  2.15M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.15M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (220:9): [True: 0, False: 2.15M]
  ------------------
  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.15M|    return 0;
  230|  2.15M|}
descrobject.c:getset_get:
  185|  2.12M|{
  186|  2.12M|    PyGetSetDescrObject *descr = (PyGetSetDescrObject *)self;
  187|  2.12M|    if (obj == NULL) {
  ------------------
  |  Branch (187:9): [True: 2, False: 2.12M]
  ------------------
  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|  2.12M|    if (descr_check((PyDescrObject *)descr, obj) < 0) {
  ------------------
  |  Branch (190:9): [True: 0, False: 2.12M]
  ------------------
  191|      0|        return NULL;
  192|      0|    }
  193|  2.12M|    if (descr->d_getset->get != NULL)
  ------------------
  |  Branch (193:9): [True: 2.12M, False: 0]
  ------------------
  194|  2.12M|        return descr_get_trampoline_call(
  ------------------
  |  |   63|  2.12M|    (get)((obj), (closure))
  ------------------
  195|  2.12M|            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|  2.12M|}
descrobject.c:getset_set:
  244|  50.8k|{
  245|  50.8k|    PyGetSetDescrObject *descr = (PyGetSetDescrObject *)self;
  246|  50.8k|    if (descr_setcheck((PyDescrObject *)descr, obj, value) < 0) {
  ------------------
  |  Branch (246:9): [True: 0, False: 50.8k]
  ------------------
  247|      0|        return -1;
  248|      0|    }
  249|  50.8k|    if (descr->d_getset->set != NULL) {
  ------------------
  |  Branch (249:9): [True: 50.8k, False: 0]
  ------------------
  250|  50.8k|        return descr_set_trampoline_call(
  ------------------
  |  |   60|  50.8k|    (set)((obj), (value), (closure))
  ------------------
  251|  50.8k|            descr->d_getset->set, obj, value,
  252|  50.8k|            descr->d_getset->closure);
  253|  50.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|  50.8k|}
descrobject.c:wrapperdescr_call:
  537|  14.2k|{
  538|  14.2k|    PyWrapperDescrObject *descr = (PyWrapperDescrObject *)_descr;
  539|  14.2k|    Py_ssize_t argc;
  540|  14.2k|    PyObject *self, *result;
  541|       |
  542|       |    /* Make sure that the first argument is acceptable as 'self' */
  543|  14.2k|    assert(PyTuple_Check(args));
  544|  14.2k|    argc = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|  14.2k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  14.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  545|  14.2k|    if (argc < 1) {
  ------------------
  |  Branch (545:9): [True: 0, False: 14.2k]
  ------------------
  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|  14.2k|    self = PyTuple_GET_ITEM(args, 0);
  ------------------
  |  |   29|  14.2k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  14.2k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  554|  14.2k|    if (!_PyObject_RealIsSubclass((PyObject *)Py_TYPE(self),
  ------------------
  |  |  213|  14.2k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  14.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (554:9): [True: 0, False: 14.2k]
  ------------------
  555|  14.2k|                                  (PyObject *)PyDescr_TYPE(descr))) {
  ------------------
  |  |   35|  14.2k|#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|  14.2k|    args = PyTuple_GetSlice(args, 1, argc);
  567|  14.2k|    if (args == NULL) {
  ------------------
  |  Branch (567:9): [True: 0, False: 14.2k]
  ------------------
  568|      0|        return NULL;
  569|      0|    }
  570|  14.2k|    result = wrapperdescr_raw_call(descr, self, args, kwds);
  571|  14.2k|    Py_DECREF(args);
  ------------------
  |  |  430|  14.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  14.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  572|  14.2k|    return result;
  573|  14.2k|}
descrobject.c:wrapperdescr_raw_call:
  518|  18.1k|{
  519|  18.1k|    wrapperfunc wrapper = descr->d_base->wrapper;
  520|       |
  521|  18.1k|    if (descr->d_base->flags & PyWrapperFlag_KEYWORDS) {
  ------------------
  |  |   22|  18.1k|#define PyWrapperFlag_KEYWORDS 1 /* wrapper function takes keyword args */
  ------------------
  |  Branch (521:9): [True: 12.8k, False: 5.34k]
  ------------------
  522|  12.8k|        wrapperfunc_kwds wk = _Py_FUNC_CAST(wrapperfunc_kwds, wrapper);
  ------------------
  |  |   47|  12.8k|#define _Py_FUNC_CAST(T, func) _Py_CAST(T, _Py_CAST(void(*)(void), (func)))
  |  |  ------------------
  |  |  |  |   37|  12.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  523|  12.8k|        return (*wk)(self, args, descr->d_wrapped, kwds);
  524|  12.8k|    }
  525|       |
  526|  5.34k|    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: 5.34k]
  |  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|  5.34k|    return (*wrapper)(self, args, descr->d_wrapped);
  533|  5.34k|}
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.47k|{
  206|  4.47k|    PyWrapperDescrObject *descr = (PyWrapperDescrObject *)self;
  207|  4.47k|    if (obj == NULL) {
  ------------------
  |  Branch (207:9): [True: 728, False: 3.74k]
  ------------------
  208|    728|        return Py_NewRef(descr);
  ------------------
  |  |  550|    728|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    728|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    728|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  209|    728|    }
  210|  3.74k|    if (descr_check((PyDescrObject *)descr, obj) < 0) {
  ------------------
  |  Branch (210:9): [True: 0, False: 3.74k]
  ------------------
  211|      0|        return NULL;
  212|      0|    }
  213|  3.74k|    return PyWrapper_New((PyObject *)descr, obj);
  214|  3.74k|}
descrobject.c:method_vectorcall_VARARGS:
  310|  14.3k|{
  311|  14.3k|    PyThreadState *tstate = _PyThreadState_GET();
  312|  14.3k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  14.3k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  313|  14.3k|    if (method_check_args(func, args, nargs, kwnames)) {
  ------------------
  |  Branch (313:9): [True: 0, False: 14.3k]
  ------------------
  314|      0|        return NULL;
  315|      0|    }
  316|  14.3k|    PyObject *argstuple = PyTuple_FromArray(args+1, nargs-1);
  317|  14.3k|    if (argstuple == NULL) {
  ------------------
  |  Branch (317:9): [True: 0, False: 14.3k]
  ------------------
  318|      0|        return NULL;
  319|      0|    }
  320|  14.3k|    PyCFunction meth = (PyCFunction)method_enter_call(tstate, func);
  321|  14.3k|    if (meth == NULL) {
  ------------------
  |  Branch (321:9): [True: 0, False: 14.3k]
  ------------------
  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|  14.3k|    PyObject *result = _PyCFunction_TrampolineCall(
  ------------------
  |  |  997|  14.3k|    (meth)((self), (args))
  ------------------
  326|  14.3k|        meth, args[0], argstuple);
  327|  14.3k|    Py_DECREF(argstuple);
  ------------------
  |  |  430|  14.3k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  14.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  328|  14.3k|    _Py_LeaveRecursiveCallTstate(tstate);
  329|  14.3k|    return result;
  330|  14.3k|}
descrobject.c:method_check_args:
  268|   260k|{
  269|   260k|    assert(!PyErr_Occurred());
  270|   260k|    if (nargs < 1) {
  ------------------
  |  Branch (270:9): [True: 0, False: 260k]
  ------------------
  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|   260k|    PyObject *self = args[0];
  280|   260k|    if (descr_check((PyDescrObject *)func, self) < 0) {
  ------------------
  |  Branch (280:9): [True: 0, False: 260k]
  ------------------
  281|      0|        return -1;
  282|      0|    }
  283|   260k|    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: 260k]
  ------------------
  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|   260k|    return 0;
  293|   260k|}
descrobject.c:method_enter_call:
  299|   260k|{
  300|   260k|    if (_Py_EnterRecursiveCallTstate(tstate, " while calling a Python object")) {
  ------------------
  |  Branch (300:9): [True: 0, False: 260k]
  ------------------
  301|      0|        return NULL;
  302|      0|    }
  303|   260k|    return (funcptr)((PyMethodDescrObject *)func)->d_method->ml_meth;
  304|   260k|}
descrobject.c:method_vectorcall_VARARGS_KEYWORDS:
  335|  11.7k|{
  336|  11.7k|    PyThreadState *tstate = _PyThreadState_GET();
  337|  11.7k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  11.7k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  338|  11.7k|    if (method_check_args(func, args, nargs, NULL)) {
  ------------------
  |  Branch (338:9): [True: 0, False: 11.7k]
  ------------------
  339|      0|        return NULL;
  340|      0|    }
  341|  11.7k|    PyObject *argstuple = PyTuple_FromArray(args+1, nargs-1);
  342|  11.7k|    if (argstuple == NULL) {
  ------------------
  |  Branch (342:9): [True: 0, False: 11.7k]
  ------------------
  343|      0|        return NULL;
  344|      0|    }
  345|  11.7k|    PyObject *result = NULL;
  346|       |    /* Create a temporary dict for keyword arguments */
  347|  11.7k|    PyObject *kwdict = NULL;
  348|  11.7k|    if (kwnames != NULL && PyTuple_GET_SIZE(kwnames) > 0) {
  ------------------
  |  |   27|  3.61k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.61k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.61k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (348:9): [True: 3.61k, False: 8.14k]
  |  Branch (348:28): [True: 3.61k, False: 0]
  ------------------
  349|  3.61k|        kwdict = _PyStack_AsDict(args + nargs, kwnames);
  350|  3.61k|        if (kwdict == NULL) {
  ------------------
  |  Branch (350:13): [True: 0, False: 3.61k]
  ------------------
  351|      0|            goto exit;
  352|      0|        }
  353|  3.61k|    }
  354|  11.7k|    PyCFunctionWithKeywords meth = (PyCFunctionWithKeywords)
  355|  11.7k|                                   method_enter_call(tstate, func);
  356|  11.7k|    if (meth == NULL) {
  ------------------
  |  Branch (356:9): [True: 0, False: 11.7k]
  ------------------
  357|      0|        goto exit;
  358|      0|    }
  359|  11.7k|    result = _PyCFunctionWithKeywords_TrampolineCall(
  ------------------
  |  |  999|  11.7k|    (meth)((self), (args), (kw))
  ------------------
  360|  11.7k|        meth, args[0], argstuple, kwdict);
  361|  11.7k|    _Py_LeaveRecursiveCallTstate(tstate);
  362|  11.7k|exit:
  363|  11.7k|    Py_DECREF(argstuple);
  ------------------
  |  |  430|  11.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  364|  11.7k|    Py_XDECREF(kwdict);
  ------------------
  |  |  524|  11.7k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  365|  11.7k|    return result;
  366|  11.7k|}
descrobject.c:method_vectorcall_FASTCALL:
  391|  13.7k|{
  392|  13.7k|    PyThreadState *tstate = _PyThreadState_GET();
  393|  13.7k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  13.7k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  394|  13.7k|    if (method_check_args(func, args, nargs, kwnames)) {
  ------------------
  |  Branch (394:9): [True: 0, False: 13.7k]
  ------------------
  395|      0|        return NULL;
  396|      0|    }
  397|  13.7k|    PyCFunctionFast meth = (PyCFunctionFast)
  398|  13.7k|                            method_enter_call(tstate, func);
  399|  13.7k|    if (meth == NULL) {
  ------------------
  |  Branch (399:9): [True: 0, False: 13.7k]
  ------------------
  400|      0|        return NULL;
  401|      0|    }
  402|  13.7k|    PyObject *result = meth(args[0], args+1, nargs-1);
  403|  13.7k|    _Py_LeaveRecursiveCallTstate(tstate);
  404|  13.7k|    return result;
  405|  13.7k|}
descrobject.c:method_vectorcall_FASTCALL_KEYWORDS:
  410|  53.6k|{
  411|  53.6k|    PyThreadState *tstate = _PyThreadState_GET();
  412|  53.6k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  53.6k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  413|  53.6k|    if (method_check_args(func, args, nargs, NULL)) {
  ------------------
  |  Branch (413:9): [True: 0, False: 53.6k]
  ------------------
  414|      0|        return NULL;
  415|      0|    }
  416|  53.6k|    PyCFunctionFastWithKeywords meth = (PyCFunctionFastWithKeywords)
  417|  53.6k|                                        method_enter_call(tstate, func);
  418|  53.6k|    if (meth == NULL) {
  ------------------
  |  Branch (418:9): [True: 0, False: 53.6k]
  ------------------
  419|      0|        return NULL;
  420|      0|    }
  421|  53.6k|    PyObject *result = meth(args[0], args+1, nargs-1, kwnames);
  422|  53.6k|    _Py_LeaveRecursiveCallTstate(tstate);
  423|  53.6k|    return result;
  424|  53.6k|}
descrobject.c:method_vectorcall_NOARGS:
  429|   125k|{
  430|   125k|    PyThreadState *tstate = _PyThreadState_GET();
  431|   125k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|   125k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  432|   125k|    if (method_check_args(func, args, nargs, kwnames)) {
  ------------------
  |  Branch (432:9): [True: 0, False: 125k]
  ------------------
  433|      0|        return NULL;
  434|      0|    }
  435|   125k|    if (nargs != 1) {
  ------------------
  |  Branch (435:9): [True: 0, False: 125k]
  ------------------
  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|   125k|    PyCFunction meth = (PyCFunction)method_enter_call(tstate, func);
  445|   125k|    if (meth == NULL) {
  ------------------
  |  Branch (445:9): [True: 0, False: 125k]
  ------------------
  446|      0|        return NULL;
  447|      0|    }
  448|   125k|    PyObject *result = _PyCFunction_TrampolineCall(meth, args[0], NULL);
  ------------------
  |  |  997|   125k|    (meth)((self), (args))
  ------------------
  449|   125k|    _Py_LeaveRecursiveCallTstate(tstate);
  450|   125k|    return result;
  451|   125k|}
descrobject.c:method_vectorcall_O:
  456|  27.0k|{
  457|  27.0k|    PyThreadState *tstate = _PyThreadState_GET();
  458|  27.0k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  27.0k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  459|  27.0k|    if (method_check_args(func, args, nargs, kwnames)) {
  ------------------
  |  Branch (459:9): [True: 0, False: 27.0k]
  ------------------
  460|      0|        return NULL;
  461|      0|    }
  462|  27.0k|    if (nargs != 2) {
  ------------------
  |  Branch (462:9): [True: 0, False: 27.0k]
  ------------------
  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|  27.0k|    PyCFunction meth = (PyCFunction)method_enter_call(tstate, func);
  473|  27.0k|    if (meth == NULL) {
  ------------------
  |  Branch (473:9): [True: 0, False: 27.0k]
  ------------------
  474|      0|        return NULL;
  475|      0|    }
  476|  27.0k|    PyObject *result = _PyCFunction_TrampolineCall(meth, args[0], args[1]);
  ------------------
  |  |  997|  27.0k|    (meth)((self), (args))
  ------------------
  477|  27.0k|    _Py_LeaveRecursiveCallTstate(tstate);
  478|  27.0k|    return result;
  479|  27.0k|}
descrobject.c:method_vectorcall_FASTCALL_KEYWORDS_METHOD:
  371|  14.5k|{
  372|  14.5k|    PyThreadState *tstate = _PyThreadState_GET();
  373|  14.5k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  14.5k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  374|  14.5k|    if (method_check_args(func, args, nargs, NULL)) {
  ------------------
  |  Branch (374:9): [True: 0, False: 14.5k]
  ------------------
  375|      0|        return NULL;
  376|      0|    }
  377|  14.5k|    PyCMethod meth = (PyCMethod) method_enter_call(tstate, func);
  378|  14.5k|    if (meth == NULL) {
  ------------------
  |  Branch (378:9): [True: 0, False: 14.5k]
  ------------------
  379|      0|        return NULL;
  380|      0|    }
  381|  14.5k|    PyObject *result = meth(args[0],
  382|  14.5k|                            ((PyMethodDescrObject *)func)->d_common.d_type,
  383|  14.5k|                            args+1, nargs-1, kwnames);
  384|  14.5k|    _Py_LeaveRecursiveCall();
  385|  14.5k|    return result;
  386|  14.5k|}
descrobject.c:descr_new:
  908|  6.72k|{
  909|  6.72k|    PyDescrObject *descr;
  910|       |
  911|  6.72k|    descr = (PyDescrObject *)PyType_GenericAlloc(descrtype, 0);
  912|  6.72k|    if (descr != NULL) {
  ------------------
  |  Branch (912:9): [True: 6.72k, False: 0]
  ------------------
  913|  6.72k|        _PyObject_SetDeferredRefcount((PyObject *)descr);
  914|  6.72k|        descr->d_type = (PyTypeObject*)Py_XNewRef(type);
  ------------------
  |  |  551|  6.72k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  6.72k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.72k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  915|  6.72k|        descr->d_name = PyUnicode_InternFromString(name);
  916|  6.72k|        if (descr->d_name == NULL) {
  ------------------
  |  Branch (916:13): [True: 0, False: 6.72k]
  ------------------
  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.72k|        else {
  920|       |            descr->d_qualname = NULL;
  921|  6.72k|        }
  922|  6.72k|    }
  923|  6.72k|    return descr;
  924|  6.72k|}
descrobject.c:mappingproxy_check_mapping:
 1244|  14.7k|{
 1245|  14.7k|    if (!PyMapping_Check(mapping)
  ------------------
  |  Branch (1245:9): [True: 0, False: 14.7k]
  ------------------
 1246|  14.7k|        || PyList_Check(mapping)
  ------------------
  |  |   25|  14.7k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  29.5k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 14.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1247|  14.7k|        || PyTuple_Check(mapping)) {
  ------------------
  |  |   27|  14.7k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  14.7k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 14.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 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|  14.7k|    return 0;
 1254|  14.7k|}
descrobject.c:wrapper_dealloc:
 1314|  3.73k|{
 1315|  3.73k|    wrapperobject *wp = (wrapperobject *)self;
 1316|  3.73k|    PyObject_GC_UnTrack(wp);
 1317|  3.73k|    Py_XDECREF(wp->descr);
  ------------------
  |  |  524|  3.73k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.73k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.73k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1318|  3.73k|    Py_XDECREF(wp->self);
  ------------------
  |  |  524|  3.73k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.73k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.73k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1319|  3.73k|    PyObject_GC_Del(wp);
 1320|  3.73k|}
descrobject.c:wrapper_call:
 1438|  3.93k|{
 1439|  3.93k|    wrapperobject *wp = (wrapperobject *)self;
 1440|  3.93k|    return wrapperdescr_raw_call(wp->descr, wp->self, args, kwds);
 1441|  3.93k|}
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|  14.7k|{
 1190|  14.7k|    mappingproxyobject *pp = (mappingproxyobject *)self;
 1191|  14.7k|    _PyObject_GC_UNTRACK(pp);
  ------------------
  |  |  510|  14.7k|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  14.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1192|  14.7k|    Py_DECREF(pp->mapping);
  ------------------
  |  |  430|  14.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  14.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1193|  14.7k|    PyObject_GC_Del(pp);
 1194|  14.7k|}
descrobject.c:mappingproxy_contains:
 1090|  4.27k|{
 1091|  4.27k|    mappingproxyobject *pp = (mappingproxyobject *)self;
 1092|  4.27k|    if (PyDict_CheckExact(pp->mapping))
  ------------------
  |  |   19|  4.27k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|  4.27k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.27k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.27k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 718, False: 3.55k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1093|    718|        return PyDict_Contains(pp->mapping, key);
 1094|  3.55k|    else
 1095|  3.55k|        return PySequence_Contains(pp->mapping, key);
 1096|  4.27k|}
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.34k|{
 1054|  3.34k|    mappingproxyobject *pp = (mappingproxyobject *)self;
 1055|  3.34k|    return PyObject_GetItem(pp->mapping, key);
 1056|  3.34k|}
descrobject.c:mappingproxy_traverse:
 1226|    248|{
 1227|    248|    mappingproxyobject *pp = (mappingproxyobject *)self;
 1228|    248|    Py_VISIT(pp->mapping);
  ------------------
  |  |  194|    248|    do {                                                                \
  |  |  195|    248|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 248, False: 0]
  |  |  ------------------
  |  |  196|    248|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    248|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    248|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    248|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 248]
  |  |  ------------------
  |  |  198|    248|                return vret;                                            \
  |  |  199|    248|        }                                                               \
  |  |  200|    248|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 248]
  |  |  ------------------
  ------------------
 1229|    248|    return 0;
 1230|    248|}
descrobject.c:mappingproxy_getiter:
 1198|  7.20k|{
 1199|  7.20k|    mappingproxyobject *pp = (mappingproxyobject *)self;
 1200|  7.20k|    return PyObject_GetIter(pp->mapping);
 1201|  7.20k|}
descrobject.c:mappingproxy_get:
 1113|  2.54k|{
 1114|  2.54k|    mappingproxyobject *pp = (mappingproxyobject *)self;
 1115|       |    /* newargs: mapping, key, default=None */
 1116|  2.54k|    PyObject *newargs[3];
 1117|  2.54k|    newargs[0] = pp->mapping;
 1118|  2.54k|    newargs[2] = Py_None;
  ------------------
  |  |  616|  2.54k|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1119|       |
 1120|  2.54k|    if (!_PyArg_UnpackStack(args, nargs, "get", 1, 2,
  ------------------
  |  Branch (1120:9): [True: 0, False: 2.54k]
  ------------------
 1121|  2.54k|                            &newargs[1], &newargs[2]))
 1122|      0|    {
 1123|      0|        return NULL;
 1124|      0|    }
 1125|  2.54k|    return PyObject_VectorcallMethod(&_Py_ID(get), newargs,
  ------------------
  |  |  915|  2.54k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  2.54k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.54k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1126|  2.54k|                                     3 | PY_VECTORCALL_ARGUMENTS_OFFSET,
  ------------------
  |  |  287|  2.54k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  2.54k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1127|       |                                     NULL);
 1128|  2.54k|}
descrobject.c:mappingproxy_keys:
 1132|    150|{
 1133|    150|    mappingproxyobject *pp = (mappingproxyobject *)self;
 1134|    150|    return PyObject_CallMethodNoArgs(pp->mapping, &_Py_ID(keys));
  ------------------
  |  |  915|    150|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    150|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    150|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1135|    150|}
descrobject.c:mappingproxy_values:
 1139|  39.5k|{
 1140|  39.5k|    mappingproxyobject *pp = (mappingproxyobject *)self;
 1141|  39.5k|    return PyObject_CallMethodNoArgs(pp->mapping, &_Py_ID(values));
  ------------------
  |  |  915|  39.5k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  39.5k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  39.5k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1142|  39.5k|}
descrobject.c:mappingproxy_items:
 1146|    372|{
 1147|    372|    mappingproxyobject *pp = (mappingproxyobject *)self;
 1148|    372|    return PyObject_CallMethodNoArgs(pp->mapping, &_Py_ID(items));
  ------------------
  |  |  915|    372|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    372|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    372|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1149|    372|}
descrobject.c:mappingproxy_new_impl:
 1268|  10.8k|{
 1269|  10.8k|    mappingproxyobject *mappingproxy;
 1270|       |
 1271|  10.8k|    if (mappingproxy_check_mapping(mapping) == -1)
  ------------------
  |  Branch (1271:9): [True: 0, False: 10.8k]
  ------------------
 1272|      0|        return NULL;
 1273|       |
 1274|  10.8k|    mappingproxy = PyObject_GC_New(mappingproxyobject, &PyDictProxy_Type);
  ------------------
  |  |  181|  10.8k|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|  10.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1275|  10.8k|    if (mappingproxy == NULL)
  ------------------
  |  Branch (1275:9): [True: 0, False: 10.8k]
  ------------------
 1276|      0|        return NULL;
 1277|  10.8k|    mappingproxy->mapping = Py_NewRef(mapping);
  ------------------
  |  |  550|  10.8k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  10.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1278|  10.8k|    _PyObject_GC_TRACK(mappingproxy);
  ------------------
  |  |  508|  10.8k|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1279|  10.8k|    return (PyObject *)mappingproxy;
 1280|  10.8k|}
descrobject.c:property_dealloc:
 1637|     64|{
 1638|     64|    propertyobject *gs = (propertyobject *)self;
 1639|       |
 1640|     64|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  510|     64|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     64|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     64|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1641|     64|    Py_XDECREF(gs->prop_get);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1642|     64|    Py_XDECREF(gs->prop_set);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1643|     64|    Py_XDECREF(gs->prop_del);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1644|     64|    Py_XDECREF(gs->prop_doc);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1645|     64|    Py_XDECREF(gs->prop_name);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1646|     64|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1647|     64|}
descrobject.c:property_traverse:
 1980|  5.75k|{
 1981|  5.75k|    propertyobject *pp = (propertyobject *)self;
 1982|  5.75k|    Py_VISIT(pp->prop_get);
  ------------------
  |  |  194|  5.75k|    do {                                                                \
  |  |  195|  5.75k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 5.75k, False: 0]
  |  |  ------------------
  |  |  196|  5.75k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  5.75k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.75k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  5.75k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 5.75k]
  |  |  ------------------
  |  |  198|  5.75k|                return vret;                                            \
  |  |  199|  5.75k|        }                                                               \
  |  |  200|  5.75k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 5.75k]
  |  |  ------------------
  ------------------
 1983|  5.75k|    Py_VISIT(pp->prop_set);
  ------------------
  |  |  194|  5.75k|    do {                                                                \
  |  |  195|  5.75k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 688, False: 5.06k]
  |  |  ------------------
  |  |  196|    688|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    688|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    688|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    688|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 688]
  |  |  ------------------
  |  |  198|    688|                return vret;                                            \
  |  |  199|    688|        }                                                               \
  |  |  200|  5.75k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 5.75k]
  |  |  ------------------
  ------------------
 1984|  5.75k|    Py_VISIT(pp->prop_del);
  ------------------
  |  |  194|  5.75k|    do {                                                                \
  |  |  195|  5.75k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 48, False: 5.70k]
  |  |  ------------------
  |  |  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.75k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 5.75k]
  |  |  ------------------
  ------------------
 1985|  5.75k|    Py_VISIT(pp->prop_doc);
  ------------------
  |  |  194|  5.75k|    do {                                                                \
  |  |  195|  5.75k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 2.09k, False: 3.65k]
  |  |  ------------------
  |  |  196|  2.09k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  2.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  2.09k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 2.09k]
  |  |  ------------------
  |  |  198|  2.09k|                return vret;                                            \
  |  |  199|  2.09k|        }                                                               \
  |  |  200|  5.75k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 5.75k]
  |  |  ------------------
  ------------------
 1986|  5.75k|    Py_VISIT(pp->prop_name);
  ------------------
  |  |  194|  5.75k|    do {                                                                \
  |  |  195|  5.75k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 5.71k, False: 40]
  |  |  ------------------
  |  |  196|  5.71k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  5.71k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.71k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  5.71k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 5.71k]
  |  |  ------------------
  |  |  198|  5.71k|                return vret;                                            \
  |  |  199|  5.71k|        }                                                               \
  |  |  200|  5.75k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 5.75k]
  |  |  ------------------
  ------------------
 1987|  5.75k|    return 0;
 1988|  5.75k|}
descrobject.c:property_copy:
 1766|     64|{
 1767|     64|    propertyobject *pold = (propertyobject *)old;
 1768|     64|    PyObject *new, *type, *doc;
 1769|       |
 1770|     64|    type = PyObject_Type(old);
 1771|     64|    if (type == NULL)
  ------------------
  |  Branch (1771:9): [True: 0, False: 64]
  ------------------
 1772|      0|        return NULL;
 1773|       |
 1774|     64|    if (get == NULL || get == Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1774:9): [True: 64, False: 0]
  |  Branch (1774:24): [True: 0, False: 0]
  ------------------
 1775|     64|        get = pold->prop_get ? pold->prop_get : Py_None;
  ------------------
  |  |  616|     64|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1775:15): [True: 64, False: 0]
  ------------------
 1776|     64|    }
 1777|     64|    if (set == NULL || set == Py_None) {
  ------------------
  |  |  616|     60|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1777:9): [True: 4, False: 60]
  |  Branch (1777:24): [True: 0, False: 60]
  ------------------
 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|     64|    if (del == NULL || del == Py_None) {
  ------------------
  |  |  616|      4|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1780:9): [True: 60, False: 4]
  |  Branch (1780:24): [True: 0, False: 4]
  ------------------
 1781|     60|        del = pold->prop_del ? pold->prop_del : Py_None;
  ------------------
  |  |  616|    120|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1781:15): [True: 0, False: 60]
  ------------------
 1782|     60|    }
 1783|     64|    if (pold->getter_doc && get != Py_None) {
  ------------------
  |  |  616|     20|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1783:9): [True: 20, False: 44]
  |  Branch (1783:29): [True: 20, False: 0]
  ------------------
 1784|       |        /* make _init use __doc__ from getter */
 1785|     20|        doc = Py_None;
  ------------------
  |  |  616|     20|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1786|     20|    }
 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|     64|    new =  PyObject_CallFunctionObjArgs(type, get, set, del, doc, NULL);
 1792|     64|    Py_DECREF(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1793|     64|    if (new == NULL)
  ------------------
  |  Branch (1793:9): [True: 0, False: 64]
  ------------------
 1794|      0|        return NULL;
 1795|       |
 1796|     64|    if (PyObject_TypeCheck((new), &PyProperty_Type)) {
  ------------------
  |  |  378|     64|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     64|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     64|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (378:40): [True: 64, False: 0]
  |  |  ------------------
  ------------------
 1797|     64|        Py_XSETREF(((propertyobject *) new)->prop_name, Py_XNewRef(pold->prop_name));
  ------------------
  |  |  374|     64|    do { \
  |  |  375|     64|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     64|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|     64|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     64|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|     64|        *_tmp_dst_ptr = (src); \
  |  |  378|     64|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|     64|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 64]
  |  |  ------------------
  ------------------
 1798|     64|    }
 1799|     64|    return new;
 1800|     64|}
descrobject.c:property_setter:
 1587|     60|{
 1588|     60|    return property_copy(self, NULL, setter, NULL);
 1589|     60|}
descrobject.c:property_deleter:
 1597|      4|{
 1598|      4|    return property_copy(self, NULL, NULL, deleter);
 1599|      4|}
descrobject.c:property_set_name:
 1609|    764|property_set_name(PyObject *self, PyObject *args) {
 1610|    764|    if (PyTuple_GET_SIZE(args) != 2) {
  ------------------
  |  |   27|    764|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    764|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    764|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1610:9): [True: 0, False: 764]
  ------------------
 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|    764|    propertyobject *prop = (propertyobject *)self;
 1619|    764|    PyObject *name = PyTuple_GET_ITEM(args, 1);
  ------------------
  |  |   29|    764|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    764|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    764|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1620|       |
 1621|    764|    Py_XSETREF(prop->prop_name, Py_XNewRef(name));
  ------------------
  |  |  374|    764|    do { \
  |  |  375|    764|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    764|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|    764|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    764|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|    764|        *_tmp_dst_ptr = (src); \
  |  |  378|    764|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|    764|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    764|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    764|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|    764|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 764]
  |  |  ------------------
  ------------------
 1622|       |
 1623|    764|    Py_RETURN_NONE;
  ------------------
  |  |  628|    764|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    764|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1624|    764|}
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|   337k|{
 1666|   337k|    if (obj == NULL || obj == Py_None) {
  ------------------
  |  |  616|   337k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1666:9): [True: 22, False: 337k]
  |  Branch (1666:24): [True: 0, False: 337k]
  ------------------
 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|   337k|    propertyobject *gs = (propertyobject *)self;
 1671|   337k|    if (gs->prop_get == NULL) {
  ------------------
  |  Branch (1671:9): [True: 0, False: 337k]
  ------------------
 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|   337k|    return PyObject_CallOneArg(gs->prop_get, obj);
 1697|   337k|}
descrobject.c:property_descr_set:
 1701|  10.9k|{
 1702|  10.9k|    propertyobject *gs = (propertyobject *)self;
 1703|  10.9k|    PyObject *func, *res;
 1704|       |
 1705|  10.9k|    if (value == NULL) {
  ------------------
  |  Branch (1705:9): [True: 0, False: 10.9k]
  ------------------
 1706|      0|        func = gs->prop_del;
 1707|      0|    }
 1708|  10.9k|    else {
 1709|  10.9k|        func = gs->prop_set;
 1710|  10.9k|    }
 1711|       |
 1712|  10.9k|    if (func == NULL) {
  ------------------
  |  Branch (1712:9): [True: 0, False: 10.9k]
  ------------------
 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|  10.9k|    if (value == NULL) {
  ------------------
  |  Branch (1747:9): [True: 0, False: 10.9k]
  ------------------
 1748|      0|        res = PyObject_CallOneArg(func, obj);
 1749|      0|    }
 1750|  10.9k|    else {
 1751|  10.9k|        EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_API, func);
  ------------------
  |  |   80|  10.9k|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
 1752|  10.9k|        PyObject *args[] = { obj, value };
 1753|  10.9k|        res = PyObject_Vectorcall(func, args, 2, NULL);
 1754|  10.9k|    }
 1755|       |
 1756|  10.9k|    if (res == NULL) {
  ------------------
  |  Branch (1756:9): [True: 0, False: 10.9k]
  ------------------
 1757|      0|        return -1;
 1758|      0|    }
 1759|       |
 1760|  10.9k|    Py_DECREF(res);
  ------------------
  |  |  430|  10.9k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1761|  10.9k|    return 0;
 1762|  10.9k|}
descrobject.c:property_init_impl:
 1843|    798|{
 1844|    798|    if (fget == Py_None)
  ------------------
  |  |  616|    798|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1844:9): [True: 0, False: 798]
  ------------------
 1845|      0|        fget = NULL;
 1846|    798|    if (fset == Py_None)
  ------------------
  |  |  616|    798|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1846:9): [True: 0, False: 798]
  ------------------
 1847|      0|        fset = NULL;
 1848|    798|    if (fdel == Py_None)
  ------------------
  |  |  616|    798|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1848:9): [True: 60, False: 738]
  ------------------
 1849|     60|        fdel = NULL;
 1850|       |
 1851|    798|    Py_XSETREF(self->prop_get, Py_XNewRef(fget));
  ------------------
  |  |  374|    798|    do { \
  |  |  375|    798|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    798|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|    798|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    798|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|    798|        *_tmp_dst_ptr = (src); \
  |  |  378|    798|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|    798|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    798|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    798|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|    798|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 798]
  |  |  ------------------
  ------------------
 1852|    798|    Py_XSETREF(self->prop_set, Py_XNewRef(fset));
  ------------------
  |  |  374|    798|    do { \
  |  |  375|    798|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    798|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|    798|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    798|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|    798|        *_tmp_dst_ptr = (src); \
  |  |  378|    798|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|    798|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    798|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    798|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|    798|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 798]
  |  |  ------------------
  ------------------
 1853|    798|    Py_XSETREF(self->prop_del, Py_XNewRef(fdel));
  ------------------
  |  |  374|    798|    do { \
  |  |  375|    798|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    798|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|    798|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    798|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|    798|        *_tmp_dst_ptr = (src); \
  |  |  378|    798|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|    798|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    798|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    798|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|    798|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 798]
  |  |  ------------------
  ------------------
 1854|    798|    Py_XSETREF(self->prop_doc, NULL);
  ------------------
  |  |  374|    798|    do { \
  |  |  375|    798|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    798|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|    798|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    798|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|    798|        *_tmp_dst_ptr = (src); \
  |  |  378|    798|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|    798|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    798|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    798|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|    798|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 798]
  |  |  ------------------
  ------------------
 1855|    798|    Py_XSETREF(self->prop_name, NULL);
  ------------------
  |  |  374|    798|    do { \
  |  |  375|    798|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    798|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|    798|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    798|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|    798|        *_tmp_dst_ptr = (src); \
  |  |  378|    798|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|    798|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    798|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    798|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|    798|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 798]
  |  |  ------------------
  ------------------
 1856|       |
 1857|    798|    self->getter_doc = 0;
 1858|    798|    PyObject *prop_doc = NULL;
 1859|       |
 1860|    798|    if (doc != NULL && doc != Py_None) {
  ------------------
  |  |  616|     64|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1860:9): [True: 64, False: 734]
  |  Branch (1860:24): [True: 0, False: 64]
  ------------------
 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|    798|    else if (fget != NULL) {
  ------------------
  |  Branch (1864:14): [True: 798, False: 0]
  ------------------
 1865|    798|        int rc = PyObject_GetOptionalAttr(fget, &_Py_ID(__doc__), &prop_doc);
  ------------------
  |  |  915|    798|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    798|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    798|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1866|    798|        if (rc < 0) {
  ------------------
  |  Branch (1866:13): [True: 0, False: 798]
  ------------------
 1867|      0|            return rc;
 1868|      0|        }
 1869|    798|        if (prop_doc == Py_None) {
  ------------------
  |  |  616|    798|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1869:13): [True: 510, False: 288]
  ------------------
 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|    798|        if (prop_doc != NULL){
  ------------------
  |  Branch (1873:13): [True: 288, False: 510]
  ------------------
 1874|    288|            self->getter_doc = 1;
 1875|    288|        }
 1876|    798|    }
 1877|       |
 1878|       |    /* At this point `prop_doc` is either NULL or
 1879|       |       a non-None object with incremented ref counter */
 1880|       |
 1881|    798|    if (Py_IS_TYPE(self, &PyProperty_Type)) {
  ------------------
  |  |  215|    798|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    798|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    798|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 798, False: 0]
  |  |  ------------------
  ------------------
 1882|    798|        Py_XSETREF(self->prop_doc, prop_doc);
  ------------------
  |  |  374|    798|    do { \
  |  |  375|    798|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    798|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|    798|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    798|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|    798|        *_tmp_dst_ptr = (src); \
  |  |  378|    798|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|    798|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    798|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    798|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|    798|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 798]
  |  |  ------------------
  ------------------
 1883|    798|    } 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);
  ------------------
  |  |  915|      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|    798|    return 0;
 1915|    798|}

PyDict_New:
 1025|  5.15M|{
 1026|       |    /* We don't incref Py_EMPTY_KEYS here because it is immortal. */
 1027|  5.15M|    return new_dict(Py_EMPTY_KEYS, NULL, 0, 0);
  ------------------
  |  |  645|  5.15M|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
 1028|  5.15M|}
_PyDictKeys_StringLookup:
 1241|  2.90k|{
 1242|  2.90k|    if (!check_keys_unicode(dk, key)) {
  ------------------
  |  Branch (1242:9): [True: 0, False: 2.90k]
  ------------------
 1243|      0|        return DKIX_ERROR;
  ------------------
  |  |  186|      0|#define DKIX_ERROR (-3)
  ------------------
 1244|      0|    }
 1245|  2.90k|    Py_hash_t hash = hash_unicode_key(key);
 1246|  2.90k|    return unicodekeys_lookup_unicode(dk, key, hash);
 1247|  2.90k|}
_PyDictKeys_StringLookupAndVersion:
 1251|   351k|{
 1252|   351k|    if (!check_keys_unicode(dk, key)) {
  ------------------
  |  Branch (1252:9): [True: 0, False: 351k]
  ------------------
 1253|      0|        return DKIX_ERROR;
  ------------------
  |  |  186|      0|#define DKIX_ERROR (-3)
  ------------------
 1254|      0|    }
 1255|   351k|    Py_ssize_t ix;
 1256|   351k|    Py_hash_t hash = hash_unicode_key(key);
 1257|   351k|    LOCK_KEYS(dk);
 1258|   351k|    ix = unicodekeys_lookup_unicode(dk, key, hash);
 1259|   351k|    *version = _PyDictKeys_GetVersionForCurrentState(_PyInterpreterState_GET(), dk);
 1260|   351k|    UNLOCK_KEYS(dk);
 1261|   351k|    return ix;
 1262|   351k|}
_PyDictKeys_StringLookupSplit:
 1269|  9.11M|{
 1270|  9.11M|    assert(dk->dk_kind == DICT_KEYS_SPLIT);
 1271|  9.11M|    assert(PyUnicode_CheckExact(key));
 1272|  9.11M|    Py_hash_t hash = unicode_get_hash(key);
 1273|  9.11M|    if (hash == -1) {
  ------------------
  |  Branch (1273:9): [True: 0, False: 9.11M]
  ------------------
 1274|      0|        hash = PyUnicode_Type.tp_hash(key);
 1275|      0|        if (hash == -1) {
  ------------------
  |  Branch (1275:13): [True: 0, False: 0]
  ------------------
 1276|      0|            PyErr_Clear();
 1277|      0|            return DKIX_ERROR;
  ------------------
  |  |  186|      0|#define DKIX_ERROR (-3)
  ------------------
 1278|      0|        }
 1279|      0|    }
 1280|  9.11M|    return unicodekeys_lookup_split(dk, key, hash);
 1281|  9.11M|}
_Py_dict_lookup:
 1300|  67.0M|{
 1301|  67.0M|    PyDictKeysObject *dk;
 1302|  67.0M|    DictKeysKind kind;
 1303|  67.0M|    Py_ssize_t ix;
 1304|       |
 1305|  67.0M|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(mp);
 1306|  67.0M|start:
 1307|  67.0M|    dk = mp->ma_keys;
 1308|  67.0M|    kind = dk->dk_kind;
 1309|       |
 1310|  67.0M|    if (kind != DICT_KEYS_GENERAL) {
  ------------------
  |  Branch (1310:9): [True: 54.3M, False: 12.6M]
  ------------------
 1311|  54.3M|        if (PyUnicode_CheckExact(key)) {
  ------------------
  |  |  104|  54.3M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  54.3M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  54.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  54.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 54.0M, False: 281k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1312|       |#ifdef Py_GIL_DISABLED
 1313|       |            if (kind == DICT_KEYS_SPLIT) {
 1314|       |                ix = unicodekeys_lookup_split(dk, key, hash);
 1315|       |            }
 1316|       |            else {
 1317|       |                ix = unicodekeys_lookup_unicode(dk, key, hash);
 1318|       |            }
 1319|       |#else
 1320|  54.0M|            ix = unicodekeys_lookup_unicode(dk, key, hash);
 1321|  54.0M|#endif
 1322|  54.0M|        }
 1323|   281k|        else {
 1324|   281k|            INCREF_KEYS_FT(dk);
 1325|   281k|            LOCK_KEYS_IF_SPLIT(dk, kind);
 1326|       |
 1327|   281k|            ix = unicodekeys_lookup_generic(mp, dk, key, hash);
 1328|       |
 1329|   281k|            UNLOCK_KEYS_IF_SPLIT(dk, kind);
 1330|   281k|            DECREF_KEYS_FT(dk, IS_DICT_SHARED(mp));
 1331|   281k|            if (ix == DKIX_KEY_CHANGED) {
  ------------------
  |  |  187|   281k|#define DKIX_KEY_CHANGED (-4) /* Used internally */
  ------------------
  |  Branch (1331:17): [True: 0, False: 281k]
  ------------------
 1332|      0|                goto start;
 1333|      0|            }
 1334|   281k|        }
 1335|       |
 1336|  54.3M|        if (ix >= 0) {
  ------------------
  |  Branch (1336:13): [True: 39.4M, False: 14.8M]
  ------------------
 1337|  39.4M|            if (kind == DICT_KEYS_SPLIT) {
  ------------------
  |  Branch (1337:17): [True: 218k, False: 39.2M]
  ------------------
 1338|   218k|                *value_addr = mp->ma_values->values[ix];
 1339|   218k|            }
 1340|  39.2M|            else {
 1341|  39.2M|                *value_addr = DK_UNICODE_ENTRIES(dk)[ix].me_value;
 1342|  39.2M|            }
 1343|  39.4M|        }
 1344|  14.8M|        else {
 1345|  14.8M|            *value_addr = NULL;
 1346|  14.8M|        }
 1347|  54.3M|    }
 1348|  12.6M|    else {
 1349|  12.6M|        ix = dictkeys_generic_lookup(mp, dk, key, hash);
 1350|  12.6M|        if (ix == DKIX_KEY_CHANGED) {
  ------------------
  |  |  187|  12.6M|#define DKIX_KEY_CHANGED (-4) /* Used internally */
  ------------------
  |  Branch (1350:13): [True: 0, False: 12.6M]
  ------------------
 1351|      0|            goto start;
 1352|      0|        }
 1353|  12.6M|        if (ix >= 0) {
  ------------------
  |  Branch (1353:13): [True: 12.2M, False: 422k]
  ------------------
 1354|  12.2M|            *value_addr = DK_ENTRIES(dk)[ix].me_value;
 1355|  12.2M|        }
 1356|   422k|        else {
 1357|   422k|            *value_addr = NULL;
 1358|   422k|        }
 1359|  12.6M|    }
 1360|       |
 1361|  67.0M|    return ix;
 1362|  67.0M|}
_Py_dict_lookup_threadsafe:
 1698|  12.1M|{
 1699|  12.1M|    Py_ssize_t ix = _Py_dict_lookup(mp, key, hash, value_addr);
 1700|  12.1M|    Py_XNewRef(*value_addr);
  ------------------
  |  |  551|  12.1M|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  12.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1701|  12.1M|    return ix;
 1702|  12.1M|}
_Py_dict_lookup_threadsafe_stackref:
 1706|  11.5M|{
 1707|  11.5M|    PyObject *val;
 1708|  11.5M|    Py_ssize_t ix = _Py_dict_lookup(mp, key, hash, &val);
 1709|  11.5M|    if (val == NULL) {
  ------------------
  |  Branch (1709:9): [True: 5.24M, False: 6.34M]
  ------------------
 1710|  5.24M|        *value_addr = PyStackRef_NULL;
 1711|  5.24M|    }
 1712|  6.34M|    else {
 1713|  6.34M|        *value_addr = PyStackRef_FromPyObjectNew(val);
  ------------------
  |  |  599|  6.34M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  6.34M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.34M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1714|  6.34M|    }
 1715|  11.5M|    return ix;
 1716|  11.5M|}
_PyDict_GetMethodStackRef:
 1724|  6.68M|{
 1725|  6.68M|    assert(PyUnicode_CheckExact(key));
 1726|  6.68M|    Py_hash_t hash = hash_unicode_key(key);
 1727|       |
 1728|       |#ifdef Py_GIL_DISABLED
 1729|       |    // NOTE: We can only do the fast-path lookup if we are on the owning
 1730|       |    // thread or if the dict is already marked as shared so that the load
 1731|       |    // of ma_keys is safe without a lock. We cannot call ensure_shared_on_read()
 1732|       |    // in this code path without incref'ing the dict because the dict is a
 1733|       |    // borrowed reference protected by QSBR, and acquiring the lock could lead
 1734|       |    // to a quiescent state (allowing the dict to be freed).
 1735|       |    if (_Py_IsOwnedByCurrentThread((PyObject *)mp) || IS_DICT_SHARED(mp)) {
 1736|       |        PyDictKeysObject *dk = _Py_atomic_load_ptr_acquire(&mp->ma_keys);
 1737|       |        if (dk->dk_kind == DICT_KEYS_UNICODE) {
 1738|       |            _PyStackRef ref;
 1739|       |            Py_ssize_t ix = lookup_threadsafe_unicode(dk, key, hash, &ref);
 1740|       |            if (ix >= 0) {
 1741|       |                assert(!PyStackRef_IsNull(ref));
 1742|       |                PyStackRef_XSETREF(*method, ref);
 1743|       |                return 1;
 1744|       |            }
 1745|       |            else if (ix == DKIX_EMPTY) {
 1746|       |                return 0;
 1747|       |            }
 1748|       |            assert(ix == DKIX_KEY_CHANGED);
 1749|       |        }
 1750|       |    }
 1751|       |#endif
 1752|       |
 1753|  6.68M|    PyObject *obj;
 1754|  6.68M|    Py_INCREF(mp);
  ------------------
  |  |  310|  6.68M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.68M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.68M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1755|  6.68M|    Py_ssize_t ix = _Py_dict_lookup_threadsafe(mp, key, hash, &obj);
 1756|  6.68M|    Py_DECREF(mp);
  ------------------
  |  |  430|  6.68M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.68M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.68M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1757|  6.68M|    if (ix == DKIX_ERROR) {
  ------------------
  |  |  186|  6.68M|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (1757:9): [True: 0, False: 6.68M]
  ------------------
 1758|      0|        PyStackRef_CLEAR(*method);
  ------------------
  |  |  711|      0|    do { \
  |  |  712|      0|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  713|      0|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  714|      0|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  715|      0|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  716|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (716:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1759|      0|        return -1;
 1760|      0|    }
 1761|  6.68M|    else if (ix >= 0 && obj != NULL) {
  ------------------
  |  Branch (1761:14): [True: 11, False: 6.68M]
  |  Branch (1761:25): [True: 11, False: 0]
  ------------------
 1762|     11|        PyStackRef_XSETREF(*method, PyStackRef_FromPyObjectSteal(obj));
  ------------------
  |  |  834|     11|    do { \
  |  |  835|     11|        _PyStackRef _tmp_dst_ref = (dst); \
  |  |  836|     11|        (dst) = (src); \
  |  |  837|     11|        PyStackRef_XCLOSE(_tmp_dst_ref); \
  |  |  838|     11|    } while(0)
  |  |  ------------------
  |  |  |  Branch (838:13): [Folded, False: 11]
  |  |  ------------------
  ------------------
 1763|     11|        return 1;
 1764|     11|    }
 1765|  6.68M|    return 0;  // not found
 1766|  6.68M|}
_PyDict_HasOnlyStringKeys:
 1770|  2.48k|{
 1771|  2.48k|    Py_ssize_t pos = 0;
 1772|  2.48k|    PyObject *key, *value;
 1773|  2.48k|    assert(PyDict_Check(dict));
 1774|       |    /* Shortcut */
 1775|  2.48k|    if (((PyDictObject *)dict)->ma_keys->dk_kind != DICT_KEYS_GENERAL)
  ------------------
  |  Branch (1775:9): [True: 2.48k, False: 0]
  ------------------
 1776|  2.48k|        return 1;
 1777|      0|    while (PyDict_Next(dict, &pos, &key, &value))
  ------------------
  |  Branch (1777:12): [True: 0, False: 0]
  ------------------
 1778|      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 (1778:13): [True: 0, False: 0]
  ------------------
 1779|      0|            return 0;
 1780|      0|    return 1;
 1781|      0|}
_PyDict_EnablePerThreadRefcounting:
 1785|  4.18k|{
 1786|  4.18k|    assert(PyDict_Check(op));
 1787|       |#ifdef Py_GIL_DISABLED
 1788|       |    Py_ssize_t id = _PyObject_AssignUniqueId(op);
 1789|       |    if (id == _Py_INVALID_UNIQUE_ID) {
 1790|       |        return;
 1791|       |    }
 1792|       |    if ((uint64_t)id >= (uint64_t)DICT_UNIQUE_ID_MAX) {
 1793|       |        _PyObject_ReleaseUniqueId(id);
 1794|       |        return;
 1795|       |    }
 1796|       |
 1797|       |    PyDictObject *mp = (PyDictObject *)op;
 1798|       |    assert((mp->_ma_watcher_tag >> DICT_UNIQUE_ID_SHIFT) == 0);
 1799|       |    mp->_ma_watcher_tag += (uint64_t)id << DICT_UNIQUE_ID_SHIFT;
 1800|       |#endif
 1801|  4.18k|}
_PyDict_InsertSplitValue:
 1915|  3.42k|{
 1916|  3.42k|    assert(can_modify_dict(mp));
 1917|  3.42k|    assert(PyUnicode_CheckExact(key));
 1918|       |
 1919|  3.42k|    PyObject *old_value = mp->ma_values->values[ix];
 1920|  3.42k|    if (old_value == NULL) {
  ------------------
  |  Branch (1920:9): [True: 3.42k, False: 0]
  ------------------
 1921|  3.42k|        _PyDict_NotifyEvent(PyDict_EVENT_ADDED, mp, key, value);
 1922|  3.42k|        STORE_SPLIT_VALUE(mp, ix, Py_NewRef(value));
  ------------------
  |  |  317|  3.42k|#define STORE_SPLIT_VALUE(mp, idx, value) FT_ATOMIC_STORE_PTR_RELEASE(mp->ma_values->values[idx], value)
  |  |  ------------------
  |  |  |  |  163|  3.42k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1923|  3.42k|        _PyDictValues_AddToInsertionOrder(mp->ma_values, ix);
 1924|  3.42k|        STORE_USED(mp, mp->ma_used + 1);
  ------------------
  |  |  321|  3.42k|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  193|  3.42k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1925|  3.42k|    }
 1926|      0|    else {
 1927|      0|        _PyDict_NotifyEvent(PyDict_EVENT_MODIFIED, mp, key, value);
 1928|      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)
  |  |  ------------------
  |  |  |  |  163|      0|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1929|       |        // old_value should be DECREFed after GC track checking is done, if not, it could raise a segmentation fault,
 1930|       |        // when dict only holds the strong reference to value in ep->me_value.
 1931|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1932|      0|    }
 1933|       |    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  653|  3.42k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
 1934|  3.42k|}
_PyDict_FromItems:
 2305|  4.95M|{
 2306|  4.95M|    bool unicode = true;
 2307|  4.95M|    PyObject *const *ks = keys;
 2308|       |
 2309|  8.04M|    for (Py_ssize_t i = 0; i < length; i++) {
  ------------------
  |  Branch (2309:28): [True: 3.10M, False: 4.94M]
  ------------------
 2310|  3.10M|        if (!PyUnicode_CheckExact(*ks)) {
  ------------------
  |  |  104|  3.10M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  3.10M|#  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 (2310:13): [True: 12.4k, False: 3.09M]
  ------------------
 2311|  12.4k|            unicode = false;
 2312|  12.4k|            break;
 2313|  12.4k|        }
 2314|  3.09M|        ks += keys_offset;
 2315|  3.09M|    }
 2316|       |
 2317|  4.95M|    PyObject *dict = dict_new_presized(length, unicode);
 2318|  4.95M|    if (dict == NULL) {
  ------------------
  |  Branch (2318:9): [True: 0, False: 4.95M]
  ------------------
 2319|      0|        return NULL;
 2320|      0|    }
 2321|       |
 2322|  4.95M|    ks = keys;
 2323|  4.95M|    PyObject *const *vs = values;
 2324|       |
 2325|  8.09M|    for (Py_ssize_t i = 0; i < length; i++) {
  ------------------
  |  Branch (2325:28): [True: 3.14M, False: 4.95M]
  ------------------
 2326|  3.14M|        PyObject *key = *ks;
 2327|  3.14M|        PyObject *value = *vs;
 2328|  3.14M|        if (setitem_lock_held((PyDictObject *)dict, key, value) < 0) {
  ------------------
  |  Branch (2328:13): [True: 0, False: 3.14M]
  ------------------
 2329|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2330|      0|            return NULL;
 2331|      0|        }
 2332|  3.14M|        ks += keys_offset;
 2333|  3.14M|        vs += values_offset;
 2334|  3.14M|    }
 2335|       |
 2336|  4.95M|    return dict;
 2337|  4.95M|}
PyDict_GetItem:
 2395|  1.37k|{
 2396|  1.37k|    return dict_getitem(op, key,
 2397|  1.37k|            "Exception ignored in PyDict_GetItem(); consider using "
 2398|  1.37k|            "PyDict_GetItemRef() or PyDict_GetItemWithError()");
 2399|  1.37k|}
_PyDict_LookupIndexAndValue:
 2424|  8.33k|{
 2425|       |    // TODO: Thread safety
 2426|  8.33k|    assert(PyDict_CheckExact((PyObject*)mp));
 2427|  8.33k|    assert(PyUnicode_CheckExact(key));
 2428|       |
 2429|  8.33k|    Py_hash_t hash = _PyObject_HashFast(key);
 2430|  8.33k|    if (hash == -1) {
  ------------------
  |  Branch (2430:9): [True: 0, False: 8.33k]
  ------------------
 2431|      0|        dict_unhashable_type((PyObject*)mp, key);
 2432|      0|        return -1;
 2433|      0|    }
 2434|       |
 2435|  8.33k|    return _Py_dict_lookup(mp, key, hash, value);
 2436|  8.33k|}
_PyDict_LookupIndex:
 2440|    531|{
 2441|    531|    PyObject *value; // discarded
 2442|    531|    return _PyDict_LookupIndexAndValue(mp, key, &value);
 2443|    531|}
_PyDict_GetItemRef_KnownHash_LockHeld:
 2478|  25.1k|{
 2479|  25.1k|    PyObject *value;
 2480|  25.1k|    Py_ssize_t ix = _Py_dict_lookup(op, key, hash, &value);
 2481|  25.1k|    assert(ix >= 0 || value == NULL);
 2482|  25.1k|    if (ix == DKIX_ERROR) {
  ------------------
  |  |  186|  25.1k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (2482:9): [True: 0, False: 25.1k]
  ------------------
 2483|      0|        *result = NULL;
 2484|      0|        return -1;
 2485|      0|    }
 2486|  25.1k|    if (value == NULL) {
  ------------------
  |  Branch (2486:9): [True: 376, False: 24.7k]
  ------------------
 2487|    376|        *result = NULL;
 2488|    376|        return 0;  // missing key
 2489|    376|    }
 2490|  24.7k|    *result = Py_NewRef(value);
  ------------------
  |  |  550|  24.7k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  24.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2491|  24.7k|    return 1;  // key is present
 2492|  25.1k|}
_PyDict_GetItemRef_KnownHash:
 2500|  36.3M|{
 2501|  36.3M|    PyObject *value;
 2502|       |#ifdef Py_GIL_DISABLED
 2503|       |    Py_ssize_t ix = _Py_dict_lookup_threadsafe(op, key, hash, &value);
 2504|       |#else
 2505|  36.3M|    Py_ssize_t ix = _Py_dict_lookup(op, key, hash, &value);
 2506|  36.3M|#endif
 2507|  36.3M|    assert(ix >= 0 || value == NULL);
 2508|  36.3M|    if (ix == DKIX_ERROR) {
  ------------------
  |  |  186|  36.3M|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (2508:9): [True: 0, False: 36.3M]
  ------------------
 2509|      0|        *result = NULL;
 2510|      0|        return -1;
 2511|      0|    }
 2512|  36.3M|    if (value == NULL) {
  ------------------
  |  Branch (2512:9): [True: 1.12M, False: 35.2M]
  ------------------
 2513|  1.12M|        *result = NULL;
 2514|  1.12M|        return 0;  // missing key
 2515|  1.12M|    }
 2516|       |#ifdef Py_GIL_DISABLED
 2517|       |    *result = value;
 2518|       |#else
 2519|  35.2M|    *result = Py_NewRef(value);
  ------------------
  |  |  550|  35.2M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  35.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  35.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2520|  35.2M|#endif
 2521|  35.2M|    return 1;  // key is present
 2522|  36.3M|}
PyDict_GetItemRef:
 2526|  36.3M|{
 2527|  36.3M|    if (!PyAnyDict_Check(op)) {
  ------------------
  |  |   43|  36.3M|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|  36.3M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  72.7M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 36.3M, 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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2528|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2529|      0|        *result = NULL;
 2530|      0|        return -1;
 2531|      0|    }
 2532|       |
 2533|  36.3M|    Py_hash_t hash = _PyObject_HashFast(key);
 2534|  36.3M|    if (hash == -1) {
  ------------------
  |  Branch (2534:9): [True: 0, False: 36.3M]
  ------------------
 2535|      0|        dict_unhashable_type(op, key);
 2536|      0|        *result = NULL;
 2537|      0|        return -1;
 2538|      0|    }
 2539|       |
 2540|  36.3M|    return _PyDict_GetItemRef_KnownHash((PyDictObject *)op, key, hash, result);
 2541|  36.3M|}
_PyDict_GetItemRef_Unicode_LockHeld:
 2545|  3.50k|{
 2546|  3.50k|    ASSERT_DICT_LOCKED(op);
 2547|  3.50k|    assert(PyUnicode_CheckExact(key));
 2548|       |
 2549|  3.50k|    Py_hash_t hash = _PyObject_HashFast(key);
 2550|  3.50k|    if (hash == -1) {
  ------------------
  |  Branch (2550:9): [True: 0, False: 3.50k]
  ------------------
 2551|      0|        dict_unhashable_type((PyObject*)op, key);
 2552|      0|        *result = NULL;
 2553|      0|        return -1;
 2554|      0|    }
 2555|       |
 2556|  3.50k|    PyObject *value;
 2557|  3.50k|    Py_ssize_t ix = _Py_dict_lookup(op, key, hash, &value);
 2558|  3.50k|    assert(ix >= 0 || value == NULL);
 2559|  3.50k|    if (ix == DKIX_ERROR) {
  ------------------
  |  |  186|  3.50k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (2559:9): [True: 0, False: 3.50k]
  ------------------
 2560|      0|        *result = NULL;
 2561|      0|        return -1;
 2562|      0|    }
 2563|  3.50k|    if (value == NULL) {
  ------------------
  |  Branch (2563:9): [True: 2.70k, False: 792]
  ------------------
 2564|  2.70k|        *result = NULL;
 2565|  2.70k|        return 0;  // missing key
 2566|  2.70k|    }
 2567|    792|    *result = Py_NewRef(value);
  ------------------
  |  |  550|    792|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    792|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    792|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2568|    792|    return 1;  // key is present
 2569|  3.50k|}
PyDict_GetItemWithError:
 2577|   288k|{
 2578|   288k|    Py_ssize_t ix; (void)ix;
 2579|   288k|    Py_hash_t hash;
 2580|   288k|    PyDictObject*mp = (PyDictObject *)op;
 2581|   288k|    PyObject *value;
 2582|       |
 2583|   288k|    if (!PyAnyDict_Check(op)) {
  ------------------
  |  |   43|   288k|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|   288k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|   576k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 288k, 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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2584|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2585|      0|        return NULL;
 2586|      0|    }
 2587|   288k|    hash = _PyObject_HashFast(key);
 2588|   288k|    if (hash == -1) {
  ------------------
  |  Branch (2588:9): [True: 0, False: 288k]
  ------------------
 2589|      0|        dict_unhashable_type(op, key);
 2590|      0|        return NULL;
 2591|      0|    }
 2592|       |
 2593|       |#ifdef Py_GIL_DISABLED
 2594|       |    ix = _Py_dict_lookup_threadsafe(mp, key, hash, &value);
 2595|       |    Py_XDECREF(value);
 2596|       |#else
 2597|   288k|    ix = _Py_dict_lookup(mp, key, hash, &value);
 2598|   288k|#endif
 2599|       |    assert(ix >= 0 || value == NULL);
 2600|   288k|    return value;  // borrowed reference
 2601|   288k|}
_PyDict_LoadGlobal:
 2641|    290|{
 2642|    290|    Py_ssize_t ix;
 2643|    290|    Py_hash_t hash;
 2644|    290|    PyObject *value;
 2645|       |
 2646|    290|    hash = _PyObject_HashFast(key);
 2647|    290|    if (hash == -1) {
  ------------------
  |  Branch (2647:9): [True: 0, False: 290]
  ------------------
 2648|      0|        return NULL;
 2649|      0|    }
 2650|       |
 2651|       |    /* namespace 1: globals */
 2652|    290|    ix = _Py_dict_lookup_threadsafe(globals, key, hash, &value);
 2653|    290|    if (ix == DKIX_ERROR)
  ------------------
  |  |  186|    290|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (2653:9): [True: 0, False: 290]
  ------------------
 2654|      0|        return NULL;
 2655|    290|    if (ix != DKIX_EMPTY && value != NULL)
  ------------------
  |  |  184|    580|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (2655:9): [True: 108, False: 182]
  |  Branch (2655:29): [True: 108, False: 0]
  ------------------
 2656|    108|        return value;
 2657|       |
 2658|       |    /* namespace 2: builtins */
 2659|    182|    ix = _Py_dict_lookup_threadsafe(builtins, key, hash, &value);
 2660|       |    assert(ix >= 0 || value == NULL);
 2661|    182|    return value;
 2662|    290|}
_PyDict_LoadGlobalStackRef:
 2666|  45.1k|{
 2667|  45.1k|    Py_ssize_t ix;
 2668|  45.1k|    Py_hash_t hash;
 2669|       |
 2670|  45.1k|    hash = _PyObject_HashFast(key);
 2671|  45.1k|    if (hash == -1) {
  ------------------
  |  Branch (2671:9): [True: 0, False: 45.1k]
  ------------------
 2672|      0|        *res = PyStackRef_NULL;
 2673|      0|        return;
 2674|      0|    }
 2675|       |
 2676|       |    /* namespace 1: globals */
 2677|  45.1k|    ix = _Py_dict_lookup_threadsafe_stackref(globals, key, hash, res);
 2678|  45.1k|    if (ix == DKIX_ERROR) {
  ------------------
  |  |  186|  45.1k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (2678:9): [True: 0, False: 45.1k]
  ------------------
 2679|      0|        return;
 2680|      0|    }
 2681|  45.1k|    if (ix != DKIX_EMPTY && !PyStackRef_IsNull(*res)) {
  ------------------
  |  |  184|  90.2k|#define DKIX_EMPTY (-1)
  ------------------
                  if (ix != DKIX_EMPTY && !PyStackRef_IsNull(*res)) {
  ------------------
  |  |  470|  23.8k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  467|  23.8k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  23.8k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2681:9): [True: 23.8k, False: 21.2k]
  |  Branch (2681:29): [True: 23.8k, False: 0]
  ------------------
 2682|  23.8k|        return;
 2683|  23.8k|    }
 2684|       |
 2685|       |    /* namespace 2: builtins */
 2686|  21.2k|    ix = _Py_dict_lookup_threadsafe_stackref(builtins, key, hash, res);
 2687|       |    assert(ix >= 0 || PyStackRef_IsNull(*res));
 2688|  21.2k|}
_PyDict_LoadBuiltinsFromGlobals:
 2692|  3.74M|{
 2693|  3.74M|    if (!PyAnyDict_Check(globals)) {
  ------------------
  |  |   43|  3.74M|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|  3.74M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  7.49M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 3.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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2694|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2695|      0|        return NULL;
 2696|      0|    }
 2697|       |
 2698|  3.74M|    PyDictObject *mp = (PyDictObject *)globals;
 2699|  3.74M|    PyObject *key = &_Py_ID(__builtins__);
  ------------------
  |  |  915|  3.74M|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  3.74M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  3.74M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2700|  3.74M|    Py_hash_t hash = unicode_get_hash(key);
 2701|       |
 2702|       |    // Use the stackref variant to avoid reference count contention on the
 2703|       |    // builtins module in the free threading build. It's important not to
 2704|       |    // make any escaping calls between the lookup and the `PyStackRef_CLOSE()`
 2705|       |    // because the `ref` is not visible to the GC.
 2706|  3.74M|    _PyStackRef ref;
 2707|  3.74M|    Py_ssize_t ix = _Py_dict_lookup_threadsafe_stackref(mp, key, hash, &ref);
 2708|  3.74M|    if (ix == DKIX_ERROR) {
  ------------------
  |  |  186|  3.74M|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (2708:9): [True: 0, False: 3.74M]
  ------------------
 2709|      0|        return NULL;
 2710|      0|    }
 2711|  3.74M|    if (PyStackRef_IsNull(ref)) {
  ------------------
  |  |  470|  3.74M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  467|  3.74M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  3.74M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (470:32): [True: 0, False: 3.74M]
  |  |  ------------------
  ------------------
 2712|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2713|      0|    }
 2714|  3.74M|    PyObject *builtins = PyStackRef_AsPyObjectBorrow(ref);
 2715|  3.74M|    if (PyModule_Check(builtins)) {
  ------------------
  |  |   12|  3.74M|#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  378|  3.74M|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.74M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.74M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 4, False: 3.74M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2716|      4|        builtins = _PyModule_GetDict(builtins);
 2717|      4|        assert(builtins != NULL);
 2718|      4|    }
 2719|  3.74M|    _Py_INCREF_BUILTINS(builtins);
  ------------------
  |  |  386|  3.74M|#  define _Py_INCREF_BUILTINS Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  3.74M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.74M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.74M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2720|  3.74M|    PyStackRef_CLOSE(ref);
 2721|  3.74M|    return builtins;
 2722|  3.74M|}
_PyDict_SetItem_Take2:
 2760|  1.36M|{
 2761|  1.36M|    int res;
 2762|  1.36M|    Py_BEGIN_CRITICAL_SECTION(mp);
  ------------------
  |  |   51|  1.36M|    {
  ------------------
 2763|  1.36M|    res = setitem_take2_lock_held(mp, key, value);
 2764|  1.36M|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  1.36M|    }
  ------------------
 2765|  1.36M|    return res;
 2766|  1.36M|}
PyDict_SetItem:
 2786|   530k|{
 2787|   530k|    assert(key);
 2788|   530k|    assert(value);
 2789|       |
 2790|   530k|    if (!PyDict_Check(op)) {
  ------------------
  |  |   18|   530k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   530k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2790:9): [True: 0, False: 530k]
  ------------------
 2791|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2792|      0|            frozendict_does_not_support("assignment");
  ------------------
  |  | 2725|      0|    PyErr_SetString(PyExc_TypeError, "frozendict object does " \
  |  | 2726|      0|                    "not support item " WHAT)
  ------------------
 2793|      0|        }
 2794|      0|        else {
 2795|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2796|      0|        }
 2797|      0|        return -1;
 2798|      0|    }
 2799|       |
 2800|   530k|    return _PyDict_SetItem_Take2((PyDictObject *)op,
 2801|   530k|                                 Py_NewRef(key), Py_NewRef(value));
  ------------------
  |  |  550|   530k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   530k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   530k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                                               Py_NewRef(key), Py_NewRef(value));
  ------------------
  |  |  550|   530k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   530k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   530k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2802|   530k|}
_PyDict_SetItem_KnownHash_LockHeld:
 2827|  15.0k|{
 2828|  15.0k|    if (mp->ma_keys == Py_EMPTY_KEYS) {
  ------------------
  |  |  645|  15.0k|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
  |  Branch (2828:9): [True: 10.7k, False: 4.31k]
  ------------------
 2829|  10.7k|        return insert_to_emptydict(mp, Py_NewRef(key), hash, Py_NewRef(value));
  ------------------
  |  |  550|  10.7k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  10.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      return insert_to_emptydict(mp, Py_NewRef(key), hash, Py_NewRef(value));
  ------------------
  |  |  550|  10.7k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  10.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2830|  10.7k|    }
 2831|       |    /* insertdict() handles any resizing that might be necessary */
 2832|  4.31k|    return insertdict(mp, Py_NewRef(key), hash, Py_NewRef(value));
  ------------------
  |  |  550|  4.31k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  4.31k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return insertdict(mp, Py_NewRef(key), hash, Py_NewRef(value));
  ------------------
  |  |  550|  4.31k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  4.31k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2833|  15.0k|}
_PyDict_SetItem_KnownHash:
 2838|     26|{
 2839|     26|    assert(key);
 2840|     26|    assert(value);
 2841|     26|    assert(hash != -1);
 2842|       |
 2843|     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 (2843:9): [True: 0, False: 26]
  ------------------
 2844|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2845|      0|            frozendict_does_not_support("assignment");
  ------------------
  |  | 2725|      0|    PyErr_SetString(PyExc_TypeError, "frozendict object does " \
  |  | 2726|      0|                    "not support item " WHAT)
  ------------------
 2846|      0|        }
 2847|      0|        else {
 2848|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2849|      0|        }
 2850|      0|        return -1;
 2851|      0|    }
 2852|       |
 2853|     26|    int res;
 2854|     26|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|     26|    {
  ------------------
 2855|     26|    res = _PyDict_SetItem_KnownHash_LockHeld((PyDictObject *)op, key, value, hash);
 2856|     26|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     26|    }
  ------------------
 2857|     26|    return res;
 2858|     26|}
PyDict_DelItem:
 2923|  32.9k|{
 2924|  32.9k|    assert(key);
 2925|  32.9k|    Py_hash_t hash = _PyObject_HashFast(key);
 2926|  32.9k|    if (hash == -1) {
  ------------------
  |  Branch (2926:9): [True: 0, False: 32.9k]
  ------------------
 2927|      0|        dict_unhashable_type(op, key);
 2928|      0|        return -1;
 2929|      0|    }
 2930|       |
 2931|  32.9k|    return _PyDict_DelItem_KnownHash(op, key, hash);
 2932|  32.9k|}
_PyDict_DelItem_KnownHash_LockHeld:
 2936|  33.4k|{
 2937|  33.4k|    if (!PyDict_Check(op)) {
  ------------------
  |  |   18|  33.4k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  33.4k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2937:9): [True: 0, False: 33.4k]
  ------------------
 2938|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2939|      0|            frozendict_does_not_support("deletion");
  ------------------
  |  | 2725|      0|    PyErr_SetString(PyExc_TypeError, "frozendict object does " \
  |  | 2726|      0|                    "not support item " WHAT)
  ------------------
 2940|      0|        }
 2941|      0|        else {
 2942|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2943|      0|        }
 2944|      0|        return -1;
 2945|      0|    }
 2946|       |
 2947|  33.4k|    Py_ssize_t ix;
 2948|  33.4k|    PyObject *old_value;
 2949|  33.4k|    PyDictObject *mp = (PyDictObject *)op;
 2950|  33.4k|    assert(can_modify_dict(mp));
 2951|       |
 2952|  33.4k|    assert(key);
 2953|  33.4k|    assert(hash != -1);
 2954|  33.4k|    ix = _Py_dict_lookup(mp, key, hash, &old_value);
 2955|  33.4k|    if (ix == DKIX_ERROR)
  ------------------
  |  |  186|  33.4k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (2955:9): [True: 0, False: 33.4k]
  ------------------
 2956|      0|        return -1;
 2957|  33.4k|    if (ix == DKIX_EMPTY || old_value == NULL) {
  ------------------
  |  |  184|  66.9k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (2957:9): [True: 0, False: 33.4k]
  |  Branch (2957:29): [True: 0, False: 33.4k]
  ------------------
 2958|      0|        _PyErr_SetKeyError(key);
 2959|      0|        return -1;
 2960|      0|    }
 2961|       |
 2962|  33.4k|    _PyDict_NotifyEvent(PyDict_EVENT_DELETED, mp, key, NULL);
 2963|  33.4k|    delitem_common(mp, hash, ix, old_value);
 2964|  33.4k|    return 0;
 2965|  33.4k|}
_PyDict_DelItem_KnownHash:
 2969|  32.9k|{
 2970|  32.9k|    int res;
 2971|  32.9k|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|  32.9k|    {
  ------------------
 2972|  32.9k|    res = _PyDict_DelItem_KnownHash_LockHeld(op, key, hash);
 2973|  32.9k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  32.9k|    }
  ------------------
 2974|  32.9k|    return res;
 2975|  32.9k|}
_PyDict_DelItemIf:
 3023|  8.44k|{
 3024|  8.44k|    assert(PyDict_Check(op));
 3025|  8.44k|    int res;
 3026|  8.44k|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|  8.44k|    {
  ------------------
 3027|  8.44k|    res = delitemif_lock_held(op, key, predicate, arg);
 3028|  8.44k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  8.44k|    }
  ------------------
 3029|  8.44k|    return res;
 3030|  8.44k|}
PyDict_Clear:
 3098|  7.92k|{
 3099|  7.92k|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|  7.92k|    {
  ------------------
 3100|  7.92k|    clear_lock_held(op);
 3101|  7.92k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  7.92k|    }
  ------------------
 3102|  7.92k|}
_PyDict_Next:
 3112|  9.63M|{
 3113|  9.63M|    Py_ssize_t i;
 3114|  9.63M|    PyDictObject *mp;
 3115|  9.63M|    PyObject *key, *value;
 3116|  9.63M|    Py_hash_t hash;
 3117|       |
 3118|  9.63M|    if (!PyAnyDict_Check(op))
  ------------------
  |  |   43|  9.63M|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|  9.63M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  19.2M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 9.63M, 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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3119|      0|        return 0;
 3120|       |
 3121|  9.63M|    mp = (PyDictObject *)op;
 3122|  9.63M|    i = *ppos;
 3123|  9.63M|    if (_PyDict_HasSplitTable(mp)) {
  ------------------
  |  |   56|  9.63M|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (56:34): [True: 0, False: 9.63M]
  |  |  ------------------
  ------------------
 3124|      0|        assert(mp->ma_used <= SHARED_KEYS_MAX_SIZE);
 3125|      0|        if (i < 0 || i >= mp->ma_used)
  ------------------
  |  Branch (3125:13): [True: 0, False: 0]
  |  Branch (3125:22): [True: 0, False: 0]
  ------------------
 3126|      0|            return 0;
 3127|      0|        int index = get_index_from_order(mp, i);
 3128|      0|        value = mp->ma_values->values[index];
 3129|      0|        key = LOAD_SHARED_KEY(DK_UNICODE_ENTRIES(mp->ma_keys)[index].me_key);
  ------------------
  |  |  249|      0|#define LOAD_SHARED_KEY(key) key
  ------------------
 3130|      0|        hash = unicode_get_hash(key);
 3131|      0|        assert(value != NULL);
 3132|      0|    }
 3133|  9.63M|    else {
 3134|  9.63M|        Py_ssize_t n = mp->ma_keys->dk_nentries;
 3135|  9.63M|        if (i < 0 || i >= n)
  ------------------
  |  Branch (3135:13): [True: 0, False: 9.63M]
  |  Branch (3135:22): [True: 4.36M, False: 5.26M]
  ------------------
 3136|  4.36M|            return 0;
 3137|  5.26M|        if (DK_IS_UNICODE(mp->ma_keys)) {
  ------------------
  |  |  282|  5.26M|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (282:27): [True: 5.24M, False: 12.1k]
  |  |  ------------------
  ------------------
 3138|  5.24M|            PyDictUnicodeEntry *entry_ptr = &DK_UNICODE_ENTRIES(mp->ma_keys)[i];
 3139|  5.25M|            while (i < n && entry_ptr->me_value == NULL) {
  ------------------
  |  Branch (3139:20): [True: 5.25M, False: 332]
  |  Branch (3139:29): [True: 3.40k, False: 5.24M]
  ------------------
 3140|  3.40k|                entry_ptr++;
 3141|  3.40k|                i++;
 3142|  3.40k|            }
 3143|  5.24M|            if (i >= n)
  ------------------
  |  Branch (3143:17): [True: 332, False: 5.24M]
  ------------------
 3144|    332|                return 0;
 3145|  5.24M|            key = entry_ptr->me_key;
 3146|  5.24M|            hash = unicode_get_hash(entry_ptr->me_key);
 3147|  5.24M|            value = entry_ptr->me_value;
 3148|  5.24M|        }
 3149|  12.1k|        else {
 3150|  12.1k|            PyDictKeyEntry *entry_ptr = &DK_ENTRIES(mp->ma_keys)[i];
 3151|  12.1k|            while (i < n && entry_ptr->me_value == NULL) {
  ------------------
  |  Branch (3151:20): [True: 12.1k, False: 0]
  |  Branch (3151:29): [True: 0, False: 12.1k]
  ------------------
 3152|      0|                entry_ptr++;
 3153|      0|                i++;
 3154|      0|            }
 3155|  12.1k|            if (i >= n)
  ------------------
  |  Branch (3155:17): [True: 0, False: 12.1k]
  ------------------
 3156|      0|                return 0;
 3157|  12.1k|            key = entry_ptr->me_key;
 3158|  12.1k|            hash = entry_ptr->me_hash;
 3159|  12.1k|            value = entry_ptr->me_value;
 3160|  12.1k|        }
 3161|  5.26M|    }
 3162|  5.26M|    *ppos = i+1;
 3163|  5.26M|    if (pkey)
  ------------------
  |  Branch (3163:9): [True: 5.26M, False: 60]
  ------------------
 3164|  5.26M|        *pkey = key;
 3165|  5.26M|    if (pvalue)
  ------------------
  |  Branch (3165:9): [True: 5.22M, False: 33.0k]
  ------------------
 3166|  5.22M|        *pvalue = value;
 3167|  5.26M|    if (phash)
  ------------------
  |  Branch (3167:9): [True: 6.36k, False: 5.25M]
  ------------------
 3168|  6.36k|        *phash = hash;
 3169|  5.26M|    return 1;
 3170|  9.63M|}
PyDict_Next:
 3192|  5.52M|{
 3193|       |    return _PyDict_Next(op, ppos, pkey, pvalue, NULL);
 3194|  5.52M|}
_PyDict_Pop_KnownHash:
 3201|  10.2k|{
 3202|  10.2k|    assert(PyDict_Check(mp));
 3203|  10.2k|    assert(can_modify_dict(mp));
 3204|       |
 3205|  10.2k|    if (mp->ma_used == 0) {
  ------------------
  |  Branch (3205:9): [True: 0, False: 10.2k]
  ------------------
 3206|      0|        if (result) {
  ------------------
  |  Branch (3206:13): [True: 0, False: 0]
  ------------------
 3207|      0|            *result = NULL;
 3208|      0|        }
 3209|      0|        return 0;
 3210|      0|    }
 3211|       |
 3212|  10.2k|    PyObject *old_value;
 3213|  10.2k|    Py_ssize_t ix = _Py_dict_lookup(mp, key, hash, &old_value);
 3214|  10.2k|    if (ix == DKIX_ERROR) {
  ------------------
  |  |  186|  10.2k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (3214:9): [True: 0, False: 10.2k]
  ------------------
 3215|      0|        if (result) {
  ------------------
  |  Branch (3215:13): [True: 0, False: 0]
  ------------------
 3216|      0|            *result = NULL;
 3217|      0|        }
 3218|      0|        return -1;
 3219|      0|    }
 3220|       |
 3221|  10.2k|    if (ix == DKIX_EMPTY || old_value == NULL) {
  ------------------
  |  |  184|  20.4k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (3221:9): [True: 1.18k, False: 9.03k]
  |  Branch (3221:29): [True: 0, False: 9.03k]
  ------------------
 3222|  1.18k|        if (result) {
  ------------------
  |  Branch (3222:13): [True: 645, False: 538]
  ------------------
 3223|    645|            *result = NULL;
 3224|    645|        }
 3225|  1.18k|        return 0;
 3226|  1.18k|    }
 3227|       |
 3228|  10.2k|    assert(old_value != NULL);
 3229|  9.03k|    _PyDict_NotifyEvent(PyDict_EVENT_DELETED, mp, key, NULL);
 3230|  9.03k|    delitem_common(mp, hash, ix, Py_NewRef(old_value));
  ------------------
  |  |  550|  9.03k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  9.03k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.03k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3231|       |
 3232|  9.03k|    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  653|  9.03k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
 3233|  9.03k|    if (result) {
  ------------------
  |  Branch (3233:9): [True: 9.03k, False: 0]
  ------------------
 3234|  9.03k|        *result = old_value;
 3235|  9.03k|    }
 3236|      0|    else {
 3237|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3238|      0|    }
 3239|  9.03k|    return 1;
 3240|  10.2k|}
PyDict_Pop:
 3280|  10.2k|{
 3281|  10.2k|    int err;
 3282|  10.2k|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|  10.2k|    {
  ------------------
 3283|  10.2k|    err = pop_lock_held(op, key, result);
 3284|  10.2k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  10.2k|    }
  ------------------
 3285|       |
 3286|  10.2k|    return err;
 3287|  10.2k|}
_PyDict_FromKeys:
 3383|    244|{
 3384|    244|    PyObject *it;       /* iter(iterable) */
 3385|    244|    PyObject *key;
 3386|    244|    PyObject *d;
 3387|    244|    int status;
 3388|       |
 3389|    244|    d = _PyObject_CallNoArgs(cls);
 3390|    244|    if (d == NULL) {
  ------------------
  |  Branch (3390:9): [True: 0, False: 244]
  ------------------
 3391|      0|        return NULL;
 3392|      0|    }
 3393|       |
 3394|       |    // If cls is a dict or frozendict subclass with overridden constructor,
 3395|       |    // copy the frozendict.
 3396|    244|    PyTypeObject *cls_type = _PyType_CAST(cls);
  ------------------
  |  |  770|    244|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    244|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 3397|    244|    if (PyFrozenDict_Check(d) && cls_type->tp_new != frozendict_new) {
  ------------------
  |  |   37|    244|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|    488|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    244|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    244|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 244]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3397:34): [True: 0, False: 0]
  ------------------
 3398|       |        // Subclass-friendly copy
 3399|      0|        PyObject *copy;
 3400|      0|        if (PyObject_IsSubclass(cls, (PyObject*)&PyFrozenDict_Type)) {
  ------------------
  |  Branch (3400:13): [True: 0, False: 0]
  ------------------
 3401|      0|            copy = frozendict_new(cls_type, NULL, NULL);
 3402|      0|        }
 3403|      0|        else {
 3404|      0|            copy = dict_new(cls_type, NULL, NULL);
 3405|      0|        }
 3406|      0|        if (copy == NULL) {
  ------------------
  |  Branch (3406:13): [True: 0, False: 0]
  ------------------
 3407|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3408|      0|            return NULL;
 3409|      0|        }
 3410|      0|        if (dict_merge(copy, d, 1, NULL) < 0) {
  ------------------
  |  Branch (3410:13): [True: 0, False: 0]
  ------------------
 3411|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3412|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3413|      0|            return NULL;
 3414|      0|        }
 3415|      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]
  |  |  ------------------
  ------------------
 3416|      0|    }
 3417|    244|    assert(!PyFrozenDict_Check(d) || can_modify_dict((PyDictObject*)d));
 3418|       |
 3419|    244|    if (PyDict_CheckExact(d)) {
  ------------------
  |  |   19|    244|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|    244|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    244|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    244|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 244, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3420|    244|        if (PyDict_CheckExact(iterable)) {
  ------------------
  |  |   19|    244|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|    244|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    244|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    244|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 244]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3421|      0|            PyDictObject *mp = (PyDictObject *)d;
 3422|       |
 3423|      0|            Py_BEGIN_CRITICAL_SECTION2(d, iterable);
  ------------------
  |  |   57|      0|    {
  ------------------
 3424|      0|            d = (PyObject *)dict_dict_fromkeys(mp, iterable, value);
 3425|      0|            Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|      0|    }
  ------------------
 3426|      0|            return d;
 3427|      0|        }
 3428|    244|        else if (PyFrozenDict_CheckExact(iterable)) {
  ------------------
  |  |   38|    244|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  215|    244|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    244|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    244|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 244]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3429|      0|            PyDictObject *mp = (PyDictObject *)d;
 3430|       |
 3431|      0|            Py_BEGIN_CRITICAL_SECTION(d);
  ------------------
  |  |   51|      0|    {
  ------------------
 3432|      0|            d = (PyObject *)dict_dict_fromkeys(mp, iterable, value);
 3433|      0|            Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 3434|      0|            return d;
 3435|      0|        }
 3436|    244|        else if (PyAnySet_CheckExact(iterable)) {
  ------------------
  |  |   29|    244|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  215|    488|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    244|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    244|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 244]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  215|    244|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    244|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    244|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 244]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3437|      0|            PyDictObject *mp = (PyDictObject *)d;
 3438|       |
 3439|      0|            Py_BEGIN_CRITICAL_SECTION2(d, iterable);
  ------------------
  |  |   57|      0|    {
  ------------------
 3440|      0|            d = (PyObject *)dict_set_fromkeys(mp, iterable, value);
 3441|      0|            Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|      0|    }
  ------------------
 3442|      0|            return d;
 3443|      0|        }
 3444|    244|    }
 3445|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3446|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3447|      0|            PyDictObject *mp = (PyDictObject *)d;
 3448|       |
 3449|      0|            Py_BEGIN_CRITICAL_SECTION(iterable);
  ------------------
  |  |   51|      0|    {
  ------------------
 3450|      0|            d = (PyObject *)dict_dict_fromkeys(mp, iterable, value);
 3451|      0|            Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 3452|      0|            return d;
 3453|      0|        }
 3454|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3455|      0|            PyDictObject *mp = (PyDictObject *)d;
 3456|      0|            d = (PyObject *)dict_dict_fromkeys(mp, iterable, value);
 3457|      0|            return d;
 3458|      0|        }
 3459|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3460|      0|            PyDictObject *mp = (PyDictObject *)d;
 3461|       |
 3462|      0|            Py_BEGIN_CRITICAL_SECTION(iterable);
  ------------------
  |  |   51|      0|    {
  ------------------
 3463|      0|            d = (PyObject *)dict_set_fromkeys(mp, iterable, value);
 3464|      0|            Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 3465|      0|            return d;
 3466|      0|        }
 3467|      0|    }
 3468|       |
 3469|    244|    it = PyObject_GetIter(iterable);
 3470|    244|    if (it == NULL){
  ------------------
  |  Branch (3470:9): [True: 0, False: 244]
  ------------------
 3471|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3472|      0|        return NULL;
 3473|      0|    }
 3474|       |
 3475|    244|    if (PyDict_CheckExact(d)) {
  ------------------
  |  |   19|    244|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|    244|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    244|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    244|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 244, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3476|    244|        Py_BEGIN_CRITICAL_SECTION(d);
  ------------------
  |  |   51|    244|    {
  ------------------
 3477|  1.04k|        while ((key = PyIter_Next(it)) != NULL) {
  ------------------
  |  Branch (3477:16): [True: 800, False: 244]
  ------------------
 3478|    800|            status = setitem_lock_held((PyDictObject *)d, key, value);
 3479|    800|            Py_DECREF(key);
  ------------------
  |  |  430|    800|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    800|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    800|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3480|    800|            if (status < 0) {
  ------------------
  |  Branch (3480:17): [True: 0, False: 800]
  ------------------
 3481|      0|                assert(PyErr_Occurred());
 3482|      0|                goto dict_iter_exit;
 3483|      0|            }
 3484|    800|        }
 3485|    244|dict_iter_exit:;
 3486|    244|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    244|    }
  ------------------
 3487|    244|    }
 3488|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3489|      0|        while ((key = PyIter_Next(it)) != NULL) {
  ------------------
  |  Branch (3489:16): [True: 0, False: 0]
  ------------------
 3490|       |            // setitem_take2_lock_held consumes a reference to key
 3491|      0|            status = setitem_take2_lock_held((PyDictObject *)d,
 3492|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3493|      0|            if (status < 0) {
  ------------------
  |  Branch (3493:17): [True: 0, False: 0]
  ------------------
 3494|      0|                assert(PyErr_Occurred());
 3495|      0|                goto Fail;
 3496|      0|            }
 3497|      0|        }
 3498|      0|    }
 3499|      0|    else {
 3500|      0|        while ((key = PyIter_Next(it)) != NULL) {
  ------------------
  |  Branch (3500:16): [True: 0, False: 0]
  ------------------
 3501|      0|            status = PyObject_SetItem(d, key, value);
 3502|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3503|      0|            if (status < 0)
  ------------------
  |  Branch (3503:17): [True: 0, False: 0]
  ------------------
 3504|      0|                goto Fail;
 3505|      0|        }
 3506|      0|    }
 3507|       |
 3508|    244|    if (PyErr_Occurred())
  ------------------
  |  Branch (3508:9): [True: 0, False: 244]
  ------------------
 3509|      0|        goto Fail;
 3510|    244|    Py_DECREF(it);
  ------------------
  |  |  430|    244|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    244|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    244|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3511|    244|    return d;
 3512|       |
 3513|      0|Fail:
 3514|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3515|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3516|       |    return NULL;
 3517|    244|}
_PyDict_SubscriptKnownHash:
 3674|  5.05M|{
 3675|  5.05M|    PyDictObject *mp = (PyDictObject *)self;
 3676|  5.05M|    Py_ssize_t ix;
 3677|  5.05M|    PyObject *value;
 3678|       |
 3679|  5.05M|    ix = _Py_dict_lookup_threadsafe(mp, key, hash, &value);
 3680|  5.05M|    if (ix == DKIX_ERROR)
  ------------------
  |  |  186|  5.05M|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (3680:9): [True: 0, False: 5.05M]
  ------------------
 3681|      0|        return NULL;
 3682|  5.05M|    if (ix == DKIX_EMPTY || value == NULL) {
  ------------------
  |  |  184|  10.1M|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (3682:9): [True: 180k, False: 4.87M]
  |  Branch (3682:29): [True: 0, False: 4.87M]
  ------------------
 3683|   180k|        if (!PyAnyDict_CheckExact(mp)) {
  ------------------
  |  |   41|   180k|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   19|   180k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|   361k|#  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: 169k, False: 11.8k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   38|  11.8k|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|  11.8k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  11.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  11.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 0, False: 11.8k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3684|       |            /* Look up __missing__ method if we're a subclass. */
 3685|  11.8k|            PyObject *missing, *res;
 3686|  11.8k|            missing = _PyObject_LookupSpecial(
 3687|  11.8k|                    (PyObject *)mp, &_Py_ID(__missing__));
  ------------------
  |  |  915|  11.8k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  11.8k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  11.8k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3688|  11.8k|            if (missing != NULL) {
  ------------------
  |  Branch (3688:17): [True: 11.7k, False: 116]
  ------------------
 3689|  11.7k|                res = PyObject_CallOneArg(missing, key);
 3690|  11.7k|                Py_DECREF(missing);
  ------------------
  |  |  430|  11.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3691|  11.7k|                return res;
 3692|  11.7k|            }
 3693|    116|            else if (PyErr_Occurred())
  ------------------
  |  Branch (3693:22): [True: 0, False: 116]
  ------------------
 3694|      0|                return NULL;
 3695|  11.8k|        }
 3696|   169k|        _PyErr_SetKeyError(key);
 3697|   169k|        return NULL;
 3698|   180k|    }
 3699|  4.87M|    return value;
 3700|  5.05M|}
_PyDict_Subscript:
 3704|  5.05M|{
 3705|  5.05M|    Py_hash_t hash = _PyObject_HashFast(key);
 3706|  5.05M|    if (hash == -1) {
  ------------------
  |  Branch (3706:9): [True: 0, False: 5.05M]
  ------------------
 3707|      0|        dict_unhashable_type(self, key);
 3708|      0|        return NULL;
 3709|      0|    }
 3710|  5.05M|    return _PyDict_SubscriptKnownHash(self, key, hash);
 3711|  5.05M|}
_PyDict_StoreSubscript:
 3715|  26.1k|{
 3716|  26.1k|    if (w == NULL)
  ------------------
  |  Branch (3716:9): [True: 24.6k, False: 1.45k]
  ------------------
 3717|  24.6k|        return PyDict_DelItem(mp, v);
 3718|  1.45k|    else
 3719|  1.45k|        return PyDict_SetItem(mp, v, w);
 3720|  26.1k|}
PyDict_Keys:
 3768|  4.93k|{
 3769|  4.93k|    PyObject *res;
 3770|  4.93k|    Py_BEGIN_CRITICAL_SECTION(dict);
  ------------------
  |  |   51|  4.93k|    {
  ------------------
 3771|  4.93k|    res = keys_lock_held(dict);
 3772|  4.93k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  4.93k|    }
  ------------------
 3773|       |
 3774|  4.93k|    return res;
 3775|  4.93k|}
PyDict_Update:
 4293|    422|{
 4294|       |    return dict_merge_api(a, b, 1, NULL);
 4295|    422|}
_PyDict_MergeUniq:
 4306|  2.12M|{
 4307|  2.12M|    return dict_merge_api(a, b, 2, dupkey);
 4308|  2.12M|}
PyDict_Copy:
 4455|  5.88k|{
 4456|  5.88k|    if (o == NULL || !PyDict_Check(o)) {
  ------------------
  |  |   18|  5.88k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  5.88k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4456:9): [True: 0, False: 5.88k]
  |  Branch (4456:22): [True: 0, False: 5.88k]
  ------------------
 4457|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 4458|      0|        return NULL;
 4459|      0|    }
 4460|       |
 4461|  5.88k|    PyObject *res;
 4462|  5.88k|    Py_BEGIN_CRITICAL_SECTION(o);
  ------------------
  |  |   51|  5.88k|    {
  ------------------
 4463|  5.88k|    res = copy_lock_held(o, 0);
 4464|  5.88k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  5.88k|    }
  ------------------
 4465|  5.88k|    return res;
 4466|  5.88k|}
_PyDict_CopyAsDict:
 4491|  2.41k|{
 4492|  2.41k|    assert(PyAnyDict_Check(o));
 4493|       |
 4494|  2.41k|    PyObject *res;
 4495|  2.41k|    if (PyFrozenDict_Check(o)) {
  ------------------
  |  |   37|  2.41k|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|  2.41k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 0, False: 2.41k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4496|      0|        res = copy_lock_held(o, 0);
 4497|      0|    }
 4498|  2.41k|    else {
 4499|  2.41k|        Py_BEGIN_CRITICAL_SECTION(o);
  ------------------
  |  |   51|  2.41k|    {
  ------------------
 4500|  2.41k|        res = copy_lock_held(o, 0);
 4501|  2.41k|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  2.41k|    }
  ------------------
 4502|  2.41k|    }
 4503|  2.41k|    return res;
 4504|  2.41k|}
PyDict_Size:
 4508|    106|{
 4509|    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 (4509:9): [True: 0, False: 106]
  ------------------
 4510|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 4511|      0|        return -1;
 4512|      0|    }
 4513|    106|    return GET_USED((PyDictObject *)mp);
  ------------------
  |  |  313|    106|#define GET_USED(ep) FT_ATOMIC_LOAD_SSIZE_RELAXED((ep)->ma_used)
  |  |  ------------------
  |  |  |  |  148|    106|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  |  |  ------------------
  ------------------
 4514|    106|}
PyDict_SetDefaultRef:
 4775|   787k|{
 4776|   787k|    int res;
 4777|   787k|    Py_BEGIN_CRITICAL_SECTION(d);
  ------------------
  |  |   51|   787k|    {
  ------------------
 4778|   787k|    res = dict_setdefault_ref_lock_held(d, key, default_value, result, 1);
 4779|   787k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|   787k|    }
  ------------------
 4780|   787k|    return res;
 4781|   787k|}
_PyDict_KeysSize:
 5027|  2.07M|{
 5028|  2.07M|    size_t es = (keys->dk_kind == DICT_KEYS_GENERAL
  ------------------
  |  Branch (5028:18): [True: 3.45k, False: 2.07M]
  ------------------
 5029|  2.07M|                 ? sizeof(PyDictKeyEntry) : sizeof(PyDictUnicodeEntry));
 5030|  2.07M|    size_t size = sizeof(PyDictKeysObject);
 5031|  2.07M|    size += (size_t)1 << keys->dk_log2_index_bytes;
 5032|  2.07M|    size += USABLE_FRACTION((size_t)DK_SIZE(keys)) * es;
  ------------------
  |  |  575|  2.07M|#define USABLE_FRACTION(n) (((n) << 1)/3)
  ------------------
 5033|  2.07M|    return size;
 5034|  2.07M|}
_PyDict_Or:
 5051|      2|{
 5052|      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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5053|      0|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 5054|      0|    }
 5055|      2|    PyObject *new = anydict_copy(self);
 5056|      2|    if (new == NULL) {
  ------------------
  |  Branch (5056:9): [True: 0, False: 2]
  ------------------
 5057|      0|        return NULL;
 5058|      0|    }
 5059|      2|    if (dict_update_arg(new, other)) {
  ------------------
  |  Branch (5059:9): [True: 0, False: 2]
  ------------------
 5060|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5061|      0|        return NULL;
 5062|      0|    }
 5063|      2|    return new;
 5064|      2|}
_PyDict_IOr:
 5091|    137|{
 5092|    137|    if (dict_update_arg(self, other)) {
  ------------------
  |  Branch (5092:9): [True: 0, False: 137]
  ------------------
 5093|      0|        return NULL;
 5094|      0|    }
 5095|    137|    return Py_NewRef(self);
  ------------------
  |  |  550|    137|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    137|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    137|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5096|    137|}
PyDict_Contains:
 5146|  1.41M|{
 5147|  1.41M|    if (!PyAnyDict_Check(op)) {
  ------------------
  |  |   43|  1.41M|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|  1.41M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  2.83M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 1.41M, 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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5148|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 5149|      0|        return -1;
 5150|      0|    }
 5151|       |
 5152|  1.41M|    return dict_contains(op, key);
 5153|  1.41M|}
PyDict_ContainsString:
 5157|    431|{
 5158|    431|    PyObject *key_obj = PyUnicode_FromString(key);
 5159|    431|    if (key_obj == NULL) {
  ------------------
  |  Branch (5159:9): [True: 0, False: 431]
  ------------------
 5160|      0|        return -1;
 5161|      0|    }
 5162|    431|    int res = PyDict_Contains(op, key_obj);
 5163|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5164|    431|    return res;
 5165|    431|}
_PyDict_Contains_KnownHash:
 5170|  1.43M|{
 5171|  1.43M|    PyDictObject *mp = _PyAnyDict_CAST(op);
  ------------------
  |  |  311|  1.43M|    (assert(PyAnyDict_Check(op)), _Py_CAST(PyDictObject*, op))
  |  |  ------------------
  |  |  |  |   37|  1.43M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 5172|  1.43M|    PyObject *value;
 5173|  1.43M|    Py_ssize_t ix;
 5174|       |
 5175|       |#ifdef Py_GIL_DISABLED
 5176|       |    ix = _Py_dict_lookup_threadsafe(mp, key, hash, &value);
 5177|       |#else
 5178|  1.43M|    ix = _Py_dict_lookup(mp, key, hash, &value);
 5179|  1.43M|#endif
 5180|  1.43M|    if (ix == DKIX_ERROR)
  ------------------
  |  |  186|  1.43M|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (5180:9): [True: 0, False: 1.43M]
  ------------------
 5181|      0|        return -1;
 5182|  1.43M|    if (ix != DKIX_EMPTY && value != NULL) {
  ------------------
  |  |  184|  2.87M|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (5182:9): [True: 1.28M, False: 150k]
  |  Branch (5182:29): [True: 1.28M, False: 8]
  ------------------
 5183|       |#ifdef Py_GIL_DISABLED
 5184|       |        Py_DECREF(value);
 5185|       |#endif
 5186|  1.28M|        return 1;
 5187|  1.28M|    }
 5188|   150k|    return 0;
 5189|  1.43M|}
PyDict_GetItemStringRef:
 5402|  33.6k|{
 5403|  33.6k|    PyObject *key_obj = PyUnicode_FromString(key);
 5404|  33.6k|    if (key_obj == NULL) {
  ------------------
  |  Branch (5404:9): [True: 0, False: 33.6k]
  ------------------
 5405|      0|        *result = NULL;
 5406|      0|        return -1;
 5407|      0|    }
 5408|  33.6k|    int res = PyDict_GetItemRef(v, key_obj, result);
 5409|  33.6k|    Py_DECREF(key_obj);
  ------------------
  |  |  430|  33.6k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  33.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  33.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5410|  33.6k|    return res;
 5411|  33.6k|}
PyDict_SetItemString:
 5415|  4.28k|{
 5416|  4.28k|    PyObject *kv;
 5417|  4.28k|    int err;
 5418|  4.28k|    kv = PyUnicode_FromString(key);
 5419|  4.28k|    if (kv == NULL)
  ------------------
  |  Branch (5419:9): [True: 0, False: 4.28k]
  ------------------
 5420|      0|        return -1;
 5421|  4.28k|    PyInterpreterState *interp = _PyInterpreterState_GET();
 5422|  4.28k|    _PyUnicode_InternImmortal(interp, &kv); /* XXX Should we really? */
 5423|  4.28k|    err = PyDict_SetItem(v, kv, item);
 5424|  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5425|  4.28k|    return err;
 5426|  4.28k|}
_PyDictView_New:
 6298|   381k|{
 6299|   381k|    _PyDictViewObject *dv;
 6300|   381k|    if (dict == NULL) {
  ------------------
  |  Branch (6300:9): [True: 0, False: 381k]
  ------------------
 6301|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 6302|      0|        return NULL;
 6303|      0|    }
 6304|   381k|    if (!PyAnyDict_Check(dict)) {
  ------------------
  |  |   43|   381k|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|   381k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|   763k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 381k, 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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6305|       |        /* XXX Get rid of this restriction later */
 6306|      0|        PyErr_Format(PyExc_TypeError,
 6307|      0|                     "%s() requires a dict argument, not '%s'",
 6308|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6309|      0|        return NULL;
 6310|      0|    }
 6311|   381k|    dv = PyObject_GC_New(_PyDictViewObject, type);
  ------------------
  |  |  181|   381k|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|   381k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 6312|   381k|    if (dv == NULL)
  ------------------
  |  Branch (6312:9): [True: 0, False: 381k]
  ------------------
 6313|      0|        return NULL;
 6314|   381k|    dv->dv_dict = (PyDictObject *)Py_NewRef(dict);
  ------------------
  |  |  550|   381k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   381k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   381k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6315|   381k|    _PyObject_GC_TRACK(dv);
  ------------------
  |  |  508|   381k|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   381k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   381k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6316|   381k|    return (PyObject *)dv;
 6317|   381k|}
_PyDict_NewKeysForClass:
 7094|  1.37k|{
 7095|  1.37k|    PyDictKeysObject *keys = new_keys_object(NEXT_LOG2_SHARED_KEYS_MAX_SIZE, 1);
  ------------------
  |  |  244|  1.37k|#define NEXT_LOG2_SHARED_KEYS_MAX_SIZE 6
  ------------------
 7096|  1.37k|    if (keys == NULL) {
  ------------------
  |  Branch (7096:9): [True: 0, False: 1.37k]
  ------------------
 7097|      0|        PyErr_Clear();
 7098|      0|    }
 7099|  1.37k|    else {
 7100|  1.37k|        assert(keys->dk_nentries == 0);
 7101|       |        /* Set to max size+1 as it will shrink by one before each new object */
 7102|  1.37k|        keys->dk_usable = SHARED_KEYS_MAX_SIZE;
  ------------------
  |  |  243|  1.37k|#define SHARED_KEYS_MAX_SIZE 30
  ------------------
 7103|  1.37k|        keys->dk_kind = DICT_KEYS_SPLIT;
 7104|  1.37k|    }
 7105|  1.37k|    if (cls->ht_type.tp_dict) {
  ------------------
  |  Branch (7105:9): [True: 1.37k, False: 0]
  ------------------
 7106|  1.37k|        PyObject *attrs = PyDict_GetItem(cls->ht_type.tp_dict, &_Py_ID(__static_attributes__));
  ------------------
  |  |  915|  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
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7107|  1.37k|        if (attrs != NULL && PyTuple_Check(attrs)) {
  ------------------
  |  |   27|  1.30k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.30k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 1.30k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (7107:13): [True: 1.30k, False: 70]
  ------------------
 7108|  4.69k|            for (Py_ssize_t i = 0; i < PyTuple_GET_SIZE(attrs); i++) {
  ------------------
  |  |   27|  4.69k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.69k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.69k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (7108:36): [True: 3.39k, False: 1.30k]
  ------------------
 7109|  3.39k|                PyObject *key = PyTuple_GET_ITEM(attrs, i);
  ------------------
  |  |   29|  3.39k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  3.39k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7110|  3.39k|                Py_hash_t hash;
 7111|  3.39k|                if (PyUnicode_CheckExact(key) && (hash = unicode_get_hash(key)) != -1) {
  ------------------
  |  |  104|  3.39k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  6.78k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.39k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 3.39k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (7111:50): [True: 3.39k, False: 0]
  ------------------
 7112|  3.39k|                    if (insert_split_key(keys, key, hash) == DKIX_EMPTY) {
  ------------------
  |  |  184|  3.39k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (7112:25): [True: 6, False: 3.38k]
  ------------------
 7113|      6|                        break;
 7114|      6|                    }
 7115|  3.39k|                }
 7116|  3.39k|            }
 7117|  1.30k|        }
 7118|  1.37k|    }
 7119|  1.37k|    return keys;
 7120|  1.37k|}
_PyObject_InitInlineValues:
 7124|   281k|{
 7125|   281k|    assert(tp->tp_flags & Py_TPFLAGS_HEAPTYPE);
 7126|   281k|    assert(tp->tp_flags & Py_TPFLAGS_INLINE_VALUES);
 7127|   281k|    assert(tp->tp_flags & Py_TPFLAGS_MANAGED_DICT);
 7128|   281k|    PyDictKeysObject *keys = CACHED_KEYS(tp);
  ------------------
  |  |  870|   281k|#define CACHED_KEYS(tp) (((PyHeapTypeObject*)tp)->ht_cached_keys)
  ------------------
 7129|   281k|    assert(keys != NULL);
 7130|   281k|    OBJECT_STAT_INC(inline_values);
  ------------------
  |  |   77|   281k|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
 7131|       |#ifdef Py_GIL_DISABLED
 7132|       |    Py_ssize_t usable = _Py_atomic_load_ssize_relaxed(&keys->dk_usable);
 7133|       |    if (usable > 1) {
 7134|       |        LOCK_KEYS(keys);
 7135|       |        if (keys->dk_usable > 1) {
 7136|       |            _Py_atomic_store_ssize(&keys->dk_usable, keys->dk_usable - 1);
 7137|       |        }
 7138|       |        UNLOCK_KEYS(keys);
 7139|       |    }
 7140|       |#else
 7141|   281k|    if (keys->dk_usable > 1) {
  ------------------
  |  Branch (7141:9): [True: 2.44k, False: 278k]
  ------------------
 7142|  2.44k|        keys->dk_usable--;
 7143|  2.44k|    }
 7144|   281k|#endif
 7145|   281k|    size_t size = shared_keys_usable_size(keys);
 7146|   281k|    PyDictValues *values = _PyObject_InlineValues(obj);
 7147|   281k|    assert(size < 256);
 7148|   281k|    values->capacity = (uint8_t)size;
 7149|   281k|    values->size = 0;
 7150|   281k|    values->embedded = 1;
 7151|   281k|    values->valid = 1;
 7152|  2.71M|    for (size_t i = 0; i < size; i++) {
  ------------------
  |  Branch (7152:24): [True: 2.43M, False: 281k]
  ------------------
 7153|  2.43M|        values->values[i] = NULL;
 7154|  2.43M|    }
 7155|       |    _PyObject_ManagedDictPointer(obj)->dict = NULL;
 7156|   281k|}
_PyObject_MaterializeManagedDict_LockHeld:
 7176|     76|{
 7177|     76|    ASSERT_WORLD_STOPPED_OR_OBJ_LOCKED(obj);
 7178|       |
 7179|     76|    OBJECT_STAT_INC(dict_materialized_on_request);
  ------------------
  |  |   77|     76|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
 7180|       |
 7181|     76|    PyDictValues *values = _PyObject_InlineValues(obj);
 7182|     76|    PyDictObject *dict;
 7183|     76|    if (values->valid) {
  ------------------
  |  Branch (7183:9): [True: 76, False: 0]
  ------------------
 7184|     76|        PyDictKeysObject *keys = CACHED_KEYS(Py_TYPE(obj));
  ------------------
  |  |  870|     76|#define CACHED_KEYS(tp) (((PyHeapTypeObject*)tp)->ht_cached_keys)
  ------------------
 7185|     76|        dict = make_dict_from_instance_attributes(keys, values);
 7186|     76|    }
 7187|      0|    else {
 7188|      0|        dict = (PyDictObject *)PyDict_New();
 7189|      0|    }
 7190|     76|    FT_ATOMIC_STORE_PTR_RELEASE(_PyObject_ManagedDictPointer(obj)->dict,
  ------------------
  |  |  163|     76|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 7191|     76|                                dict);
 7192|     76|    return dict;
 7193|     76|}
_PyObject_MaterializeManagedDict:
 7197|  9.44M|{
 7198|  9.44M|    PyDictObject *dict = _PyObject_GetManagedDict(obj);
 7199|  9.44M|    if (dict != NULL) {
  ------------------
  |  Branch (7199:9): [True: 9.44M, False: 76]
  ------------------
 7200|  9.44M|        return dict;
 7201|  9.44M|    }
 7202|       |
 7203|     76|    Py_BEGIN_CRITICAL_SECTION(obj);
  ------------------
  |  |   51|     76|    {
  ------------------
 7204|       |
 7205|       |#ifdef Py_GIL_DISABLED
 7206|       |    dict = _PyObject_GetManagedDict(obj);
 7207|       |    if (dict != NULL) {
 7208|       |        // We raced with another thread creating the dict
 7209|       |        goto exit;
 7210|       |    }
 7211|       |#endif
 7212|     76|    dict = _PyObject_MaterializeManagedDict_LockHeld(obj);
 7213|       |
 7214|       |#ifdef Py_GIL_DISABLED
 7215|       |exit:
 7216|       |#endif
 7217|     76|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     76|    }
  ------------------
 7218|     76|    return dict;
 7219|  9.44M|}
_PyDict_SetItem_LockHeld:
 7223|   381k|{
 7224|   381k|    if (!PyDict_Check(dict)) {
  ------------------
  |  |   18|   381k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   381k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (7224:9): [True: 0, False: 381k]
  ------------------
 7225|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7226|      0|            if (value == NULL) {
  ------------------
  |  Branch (7226:17): [True: 0, False: 0]
  ------------------
 7227|      0|                frozendict_does_not_support("deletion");
  ------------------
  |  | 2725|      0|    PyErr_SetString(PyExc_TypeError, "frozendict object does " \
  |  | 2726|      0|                    "not support item " WHAT)
  ------------------
 7228|      0|            }
 7229|      0|            else {
 7230|      0|                frozendict_does_not_support("assignment");
  ------------------
  |  | 2725|      0|    PyErr_SetString(PyExc_TypeError, "frozendict object does " \
  |  | 2726|      0|                    "not support item " WHAT)
  ------------------
 7231|      0|            }
 7232|      0|        }
 7233|      0|        else {
 7234|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 7235|      0|        }
 7236|      0|        return -1;
 7237|      0|    }
 7238|       |
 7239|   381k|    if (value == NULL) {
  ------------------
  |  Branch (7239:9): [True: 548, False: 380k]
  ------------------
 7240|    548|        Py_hash_t hash = _PyObject_HashFast(name);
 7241|    548|        if (hash == -1) {
  ------------------
  |  Branch (7241:13): [True: 0, False: 548]
  ------------------
 7242|      0|            dict_unhashable_type((PyObject*)dict, name);
 7243|      0|            return -1;
 7244|      0|        }
 7245|    548|        return _PyDict_DelItem_KnownHash_LockHeld((PyObject *)dict, name, hash);
 7246|   380k|    } else {
 7247|   380k|        return setitem_lock_held(dict, name, value);
 7248|   380k|    }
 7249|   381k|}
_PyObject_StoreInstanceAttribute:
 7370|   716k|{
 7371|   716k|    PyDictValues *values = _PyObject_InlineValues(obj);
 7372|   716k|    if (!FT_ATOMIC_LOAD_UINT8(values->valid)) {
  ------------------
  |  |  153|   716k|#define FT_ATOMIC_LOAD_UINT8(value) value
  ------------------
  |  Branch (7372:9): [True: 156k, False: 559k]
  ------------------
 7373|   156k|        PyDictObject *dict = _PyObject_GetManagedDict(obj);
 7374|   156k|        if (dict == NULL) {
  ------------------
  |  Branch (7374:13): [True: 0, False: 156k]
  ------------------
 7375|      0|            dict = (PyDictObject *)PyObject_GenericGetDict(obj, NULL);
 7376|      0|            if (dict == NULL) {
  ------------------
  |  Branch (7376:17): [True: 0, False: 0]
  ------------------
 7377|      0|                return -1;
 7378|      0|            }
 7379|      0|            int res = store_instance_attr_dict(obj, dict, name, value);
 7380|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7381|      0|            return res;
 7382|      0|        }
 7383|   156k|        return store_instance_attr_dict(obj, dict, name, value);
 7384|   156k|    }
 7385|       |
 7386|       |#ifdef Py_GIL_DISABLED
 7387|       |    // We have a valid inline values, at least for now...  There are two potential
 7388|       |    // races with having the values become invalid.  One is the dictionary
 7389|       |    // being detached from the object.  The other is if someone is inserting
 7390|       |    // into the dictionary directly and therefore causing it to resize.
 7391|       |    //
 7392|       |    // If we haven't materialized the dictionary yet we lock on the object, which
 7393|       |    // will also be used to prevent the dictionary from being materialized while
 7394|       |    // we're doing the insertion.  If we race and the dictionary gets created
 7395|       |    // then we'll need to release the object lock and lock the dictionary to
 7396|       |    // prevent resizing.
 7397|       |    PyDictObject *dict = _PyObject_GetManagedDict(obj);
 7398|       |    if (dict == NULL) {
 7399|       |        int res;
 7400|       |        Py_BEGIN_CRITICAL_SECTION(obj);
 7401|       |        dict = _PyObject_GetManagedDict(obj);
 7402|       |
 7403|       |        if (dict == NULL) {
 7404|       |            res = store_instance_attr_lock_held(obj, values, name, value);
 7405|       |        }
 7406|       |        Py_END_CRITICAL_SECTION();
 7407|       |
 7408|       |        if (dict == NULL) {
 7409|       |            return res;
 7410|       |        }
 7411|       |    }
 7412|       |    return store_instance_attr_dict(obj, dict, name, value);
 7413|       |#else
 7414|   559k|    return store_instance_attr_lock_held(obj, values, name, value);
 7415|   716k|#endif
 7416|   716k|}
_PyObject_TryGetInstanceAttribute:
 7453|  25.1M|{
 7454|  25.1M|    assert(PyUnicode_CheckExact(name));
 7455|  25.1M|    PyDictValues *values = _PyObject_InlineValues(obj);
 7456|  25.1M|    if (!FT_ATOMIC_LOAD_UINT8(values->valid)) {
  ------------------
  |  |  153|  25.1M|#define FT_ATOMIC_LOAD_UINT8(value) value
  ------------------
  |  Branch (7456:9): [True: 16.0M, False: 9.10M]
  ------------------
 7457|  16.0M|        return false;
 7458|  16.0M|    }
 7459|       |
 7460|  9.10M|    PyDictKeysObject *keys = CACHED_KEYS(Py_TYPE(obj));
  ------------------
  |  |  870|  9.10M|#define CACHED_KEYS(tp) (((PyHeapTypeObject*)tp)->ht_cached_keys)
  ------------------
 7461|  9.10M|    assert(keys != NULL);
 7462|  9.10M|    Py_ssize_t ix = _PyDictKeys_StringLookupSplit(keys, name);
 7463|  9.10M|    if (ix == DKIX_EMPTY) {
  ------------------
  |  |  184|  9.10M|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (7463:9): [True: 4.00M, False: 5.09M]
  ------------------
 7464|  4.00M|        *attr = NULL;
 7465|  4.00M|        return true;
 7466|  4.00M|    }
 7467|       |
 7468|       |#ifdef Py_GIL_DISABLED
 7469|       |    PyObject *value = _Py_atomic_load_ptr_acquire(&values->values[ix]);
 7470|       |    if (value == NULL) {
 7471|       |        if (FT_ATOMIC_LOAD_UINT8(values->valid)) {
 7472|       |            *attr = NULL;
 7473|       |            return true;
 7474|       |        }
 7475|       |    }
 7476|       |    else if (_Py_TryIncrefCompare(&values->values[ix], value)) {
 7477|       |        *attr = value;
 7478|       |        return true;
 7479|       |    }
 7480|       |
 7481|       |    PyDictObject *dict = _PyObject_GetManagedDict(obj);
 7482|       |    if (dict == NULL) {
 7483|       |        // No dict, lock the object to prevent one from being
 7484|       |        // materialized...
 7485|       |        bool success = false;
 7486|       |        Py_BEGIN_CRITICAL_SECTION(obj);
 7487|       |
 7488|       |        dict = _PyObject_GetManagedDict(obj);
 7489|       |        if (dict == NULL) {
 7490|       |            // Still no dict, we can read from the values
 7491|       |            assert(values->valid);
 7492|       |            value = values->values[ix];
 7493|       |            *attr = _Py_XNewRefWithLock(value);
 7494|       |            success = true;
 7495|       |        }
 7496|       |
 7497|       |        Py_END_CRITICAL_SECTION();
 7498|       |
 7499|       |        if (success) {
 7500|       |            return true;
 7501|       |        }
 7502|       |    }
 7503|       |
 7504|       |    // We have a dictionary, we'll need to lock it to prevent
 7505|       |    // the values from being resized.
 7506|       |    assert(dict != NULL);
 7507|       |
 7508|       |    bool success;
 7509|       |    Py_BEGIN_CRITICAL_SECTION(dict);
 7510|       |
 7511|       |    if (dict->ma_values == values && FT_ATOMIC_LOAD_UINT8(values->valid)) {
 7512|       |        value = _Py_atomic_load_ptr_consume(&values->values[ix]);
 7513|       |        *attr = _Py_XNewRefWithLock(value);
 7514|       |        success = true;
 7515|       |    } else {
 7516|       |        // Caller needs to lookup from the dictionary
 7517|       |        success = false;
 7518|       |    }
 7519|       |
 7520|       |    Py_END_CRITICAL_SECTION();
 7521|       |
 7522|       |    return success;
 7523|       |#else
 7524|  5.09M|    PyObject *value = values->values[ix];
 7525|  5.09M|    *attr = Py_XNewRef(value);
  ------------------
  |  |  551|  5.09M|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  5.09M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.09M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7526|       |    return true;
 7527|  9.10M|#endif
 7528|  9.10M|}
PyObject_VisitManagedDict:
 7566|   279k|{
 7567|   279k|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|   279k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   279k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   279k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7568|   279k|    if((tp->tp_flags & Py_TPFLAGS_MANAGED_DICT) == 0) {
  ------------------
  |  |  482|   279k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (7568:8): [True: 0, False: 279k]
  ------------------
 7569|      0|        return 0;
 7570|      0|    }
 7571|   279k|    PyDictObject *dict = _PyObject_ManagedDictPointer(obj)->dict;
 7572|   279k|    if (dict != NULL) {
  ------------------
  |  Branch (7572:9): [True: 17.1k, False: 262k]
  ------------------
 7573|       |        // GH-130327: If there's a managed dictionary available, we should
 7574|       |        // *always* traverse it. The dict is responsible for traversing the
 7575|       |        // inline values if it points to them.
 7576|  17.1k|        Py_VISIT(dict);
  ------------------
  |  |  194|  17.1k|    do {                                                                \
  |  |  195|  17.1k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 17.1k, False: 0]
  |  |  ------------------
  |  |  196|  17.1k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  17.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  17.1k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 17.1k]
  |  |  ------------------
  |  |  198|  17.1k|                return vret;                                            \
  |  |  199|  17.1k|        }                                                               \
  |  |  200|  17.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 17.1k]
  |  |  ------------------
  ------------------
 7577|  17.1k|    }
 7578|   262k|    else if (tp->tp_flags & Py_TPFLAGS_INLINE_VALUES) {
  ------------------
  |  |  472|   262k|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (7578:14): [True: 262k, False: 32]
  ------------------
 7579|   262k|        PyDictValues *values = _PyObject_InlineValues(obj);
 7580|   262k|        if (values->valid) {
  ------------------
  |  Branch (7580:13): [True: 262k, False: 0]
  ------------------
 7581|  2.92M|            for (Py_ssize_t i = 0; i < values->capacity; i++) {
  ------------------
  |  Branch (7581:36): [True: 2.65M, False: 262k]
  ------------------
 7582|  2.65M|                Py_VISIT(values->values[i]);
  ------------------
  |  |  194|  2.65M|    do {                                                                \
  |  |  195|  2.65M|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 1.68M, False: 978k]
  |  |  ------------------
  |  |  196|  1.68M|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  1.68M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.68M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  1.68M|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 1.68M]
  |  |  ------------------
  |  |  198|  1.68M|                return vret;                                            \
  |  |  199|  1.68M|        }                                                               \
  |  |  200|  2.65M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.65M]
  |  |  ------------------
  ------------------
 7583|  2.65M|            }
 7584|   262k|        }
 7585|   262k|    }
 7586|   279k|    return 0;
 7587|   279k|}
PyObject_ClearManagedDict:
 7805|   369k|{
 7806|       |    // This is called when the object is being freed or cleared
 7807|       |    // by the GC and therefore known to have no references.
 7808|   369k|    if (Py_TYPE(obj)->tp_flags & Py_TPFLAGS_INLINE_VALUES) {
  ------------------
  |  |  213|   369k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   369k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   369k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (Py_TYPE(obj)->tp_flags & Py_TPFLAGS_INLINE_VALUES) {
  ------------------
  |  |  472|   369k|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (7808:9): [True: 368k, False: 1.07k]
  ------------------
 7809|   368k|        PyDictObject *dict = _PyObject_GetManagedDict(obj);
 7810|   368k|        if (dict == NULL) {
  ------------------
  |  Branch (7810:13): [True: 365k, False: 3.43k]
  ------------------
 7811|       |            // We have no materialized dictionary and inline values
 7812|       |            // that just need to be cleared.
 7813|       |            // No dict to clear, we're done
 7814|   365k|            clear_inline_values(_PyObject_InlineValues(obj));
 7815|   365k|            return;
 7816|   365k|        }
 7817|  3.43k|        else if (FT_ATOMIC_LOAD_PTR_RELAXED(dict->ma_values) ==
  ------------------
  |  |  152|  3.43k|#define FT_ATOMIC_LOAD_PTR_RELAXED(value) value
  ------------------
  |  Branch (7817:18): [True: 11, False: 3.42k]
  ------------------
 7818|  3.43k|                    _PyObject_InlineValues(obj)) {
 7819|       |            // We have a materialized object which points at the inline
 7820|       |            // values. We need to materialize the keys. Nothing can modify
 7821|       |            // this object, but we need to lock the dictionary.
 7822|     11|            int err;
 7823|     11|            Py_BEGIN_CRITICAL_SECTION(dict);
  ------------------
  |  |   51|     11|    {
  ------------------
 7824|     11|            err = detach_dict_from_object(dict, obj);
 7825|     11|            Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     11|    }
  ------------------
 7826|       |
 7827|     11|            if (err) {
  ------------------
  |  Branch (7827:17): [True: 0, False: 11]
  ------------------
 7828|       |                /* Must be out of memory */
 7829|      0|                assert(PyErr_Occurred() == PyExc_MemoryError);
 7830|      0|                PyErr_FormatUnraisable("Exception ignored while "
 7831|      0|                                       "clearing an object managed dict");
 7832|       |                /* Clear the dict */
 7833|      0|                Py_BEGIN_CRITICAL_SECTION(dict);
  ------------------
  |  |   51|      0|    {
  ------------------
 7834|      0|                PyDictKeysObject *oldkeys = dict->ma_keys;
 7835|      0|                set_keys(dict, Py_EMPTY_KEYS);
  ------------------
  |  |  645|      0|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
 7836|      0|                dict->ma_values = NULL;
 7837|      0|                dictkeys_decref(oldkeys, IS_DICT_SHARED(dict));
  ------------------
  |  |  258|      0|#define IS_DICT_SHARED(mp) (false)
  ------------------
 7838|      0|                STORE_USED(dict, 0);
  ------------------
  |  |  321|      0|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  193|      0|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 7839|      0|                clear_inline_values(_PyObject_InlineValues(obj));
 7840|      0|                Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 7841|      0|            }
 7842|     11|        }
 7843|   368k|    }
 7844|  4.51k|    Py_CLEAR(_PyObject_ManagedDictPointer(obj)->dict);
  ------------------
  |  |  484|  4.51k|    do { \
  |  |  485|  4.51k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  4.51k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  4.51k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  4.51k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  4.51k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 3.47k, False: 1.03k]
  |  |  ------------------
  |  |  488|  3.47k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  3.47k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  3.47k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  3.47k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.47k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.47k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  3.47k|        } \
  |  |  491|  4.51k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 4.51k]
  |  |  ------------------
  ------------------
 7845|  4.51k|}
PyObject_GenericGetDict:
 7920|   220k|{
 7921|   220k|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|   220k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   220k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   220k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7922|   220k|    if (_PyType_HasFeature(tp, Py_TPFLAGS_MANAGED_DICT)) {
  ------------------
  |  |  482|   220k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (7922:9): [True: 212k, False: 7.55k]
  ------------------
 7923|   212k|        return Py_XNewRef(ensure_managed_dict(obj));
  ------------------
  |  |  551|   212k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   212k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   212k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7924|   212k|    }
 7925|  7.55k|    else {
 7926|  7.55k|        PyObject **dictptr = _PyObject_ComputedDictPointer(obj);
 7927|  7.55k|        if (dictptr == NULL) {
  ------------------
  |  Branch (7927:13): [True: 0, False: 7.55k]
  ------------------
 7928|      0|            PyErr_SetString(PyExc_AttributeError,
 7929|      0|                            "This object has no __dict__");
 7930|      0|            return NULL;
 7931|      0|        }
 7932|       |
 7933|  7.55k|        return Py_XNewRef(ensure_nonmanaged_dict(obj, dictptr));
  ------------------
  |  |  551|  7.55k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  7.55k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.55k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7934|  7.55k|    }
 7935|   220k|}
_PyObjectDict_SetItem:
 7940|   217k|{
 7941|   217k|    PyObject *dict;
 7942|   217k|    int res;
 7943|       |
 7944|   217k|    assert(dictptr != NULL);
 7945|   217k|    dict = ensure_nonmanaged_dict(obj, dictptr);
 7946|   217k|    if (dict == NULL) {
  ------------------
  |  Branch (7946:9): [True: 0, False: 217k]
  ------------------
 7947|      0|        return -1;
 7948|      0|    }
 7949|       |
 7950|   217k|    Py_BEGIN_CRITICAL_SECTION(dict);
  ------------------
  |  |   51|   217k|    {
  ------------------
 7951|   217k|    res = _PyDict_SetItem_LockHeld((PyDictObject *)dict, key, value);
 7952|   217k|    ASSERT_CONSISTENT(dict);
  ------------------
  |  |  653|   217k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
 7953|   217k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|   217k|    }
  ------------------
 7954|   217k|    return res;
 7955|   217k|}
_PyDictKeys_DecRef:
 7959|     94|{
 7960|       |    dictkeys_decref(keys, false);
 7961|     94|}
_PyDictKeys_GetVersionForCurrentState:
 7990|   361k|{
 7991|   361k|    uint32_t dk_version = FT_ATOMIC_LOAD_UINT32_RELAXED(dictkeys->dk_version);
  ------------------
  |  |  158|   361k|#define FT_ATOMIC_LOAD_UINT32_RELAXED(value) value
  ------------------
 7992|   361k|    if (dk_version != 0) {
  ------------------
  |  Branch (7992:9): [True: 361k, False: 762]
  ------------------
 7993|   361k|        return dk_version;
 7994|   361k|    }
 7995|    762|    dk_version = get_next_dict_keys_version(interp);
 7996|    762|    FT_ATOMIC_STORE_UINT32_RELAXED(dictkeys->dk_version, dk_version);
  ------------------
  |  |  171|    762|#define FT_ATOMIC_STORE_UINT32_RELAXED(value, new_value) value = new_value
  ------------------
 7997|    762|    return dk_version;
 7998|   361k|}
_PyDict_GetKeysVersionForCurrentState:
 8003|  10.6k|{
 8004|  10.6k|    ASSERT_DICT_LOCKED((PyObject *) dict);
 8005|  10.6k|    uint32_t dk_version =
 8006|  10.6k|        _PyDictKeys_GetVersionForCurrentState(interp, dict->ma_keys);
 8007|  10.6k|    ensure_shared_on_keys_version_assignment(dict);
 8008|  10.6k|    return dk_version;
 8009|  10.6k|}
PyDict_Watch:
 8027|  4.18k|{
 8028|  4.18k|    if (!PyDict_Check(dict)) {
  ------------------
  |  |   18|  4.18k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.18k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (8028:9): [True: 0, False: 4.18k]
  ------------------
 8029|      0|        PyErr_SetString(PyExc_ValueError, "Cannot watch non-dictionary");
 8030|      0|        return -1;
 8031|      0|    }
 8032|  4.18k|    PyInterpreterState *interp = _PyInterpreterState_GET();
 8033|  4.18k|    if (validate_watcher_id(interp, watcher_id)) {
  ------------------
  |  Branch (8033:9): [True: 0, False: 4.18k]
  ------------------
 8034|      0|        return -1;
 8035|      0|    }
 8036|  4.18k|    FT_ATOMIC_OR_UINT64(((PyDictObject*)dict)->_ma_watcher_tag, (1LL << watcher_id));
  ------------------
  |  |  173|  4.18k|#define FT_ATOMIC_OR_UINT64(value, new_value) (void)(value |= new_value)
  ------------------
 8037|  4.18k|    return 0;
 8038|  4.18k|}
_PyDict_SendEvent:
 8101|   119k|{
 8102|   119k|    PyInterpreterState *interp = _PyInterpreterState_GET();
 8103|  1.07M|    for (int i = 0; i < DICT_MAX_WATCHERS; i++) {
  ------------------
  |  |   11|  1.07M|#define DICT_MAX_WATCHERS 8
  ------------------
  |  Branch (8103:21): [True: 952k, False: 119k]
  ------------------
 8104|   952k|        if (watcher_bits & 1) {
  ------------------
  |  Branch (8104:13): [True: 119k, False: 833k]
  ------------------
 8105|   119k|            PyDict_WatchCallback cb = interp->dict_state.watchers[i];
 8106|   119k|            if (cb && (cb(event, (PyObject*)mp, key, value) < 0)) {
  ------------------
  |  Branch (8106:17): [True: 119k, False: 0]
  |  Branch (8106:23): [True: 0, False: 119k]
  ------------------
 8107|       |                // We don't want to resurrect the dict by potentially having an
 8108|       |                // unraisablehook keep a reference to it, so we don't pass the
 8109|       |                // dict as context, just an informative string message.  Dict
 8110|       |                // repr can call arbitrary code, so we invent a simpler version.
 8111|      0|                PyErr_FormatUnraisable(
 8112|      0|                    "Exception ignored in %s watcher callback for <dict at %p>",
 8113|      0|                    dict_event_name(event), mp);
 8114|      0|            }
 8115|   119k|        }
 8116|   952k|        watcher_bits >>= 1;
 8117|   952k|    }
 8118|   119k|}
dictobject.c:dictkeys_get_index:
  513|  91.3M|{
  514|  91.3M|    int log2size = DK_LOG_SIZE(keys);
  ------------------
  |  |  260|  91.3M|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  ------------------
  |  |  |  |  277|  91.3M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  515|  91.3M|    Py_ssize_t ix;
  516|       |
  517|  91.3M|    if (log2size < 8) {
  ------------------
  |  Branch (517:9): [True: 87.4M, False: 3.87M]
  ------------------
  518|  87.4M|        ix = LOAD_INDEX(keys, 8, i);
  ------------------
  |  |  260|  87.4M|#define LOAD_INDEX(keys, size, idx) ((const int##size##_t*)(keys->dk_indices))[idx]
  ------------------
  519|  87.4M|    }
  520|  3.87M|    else if (log2size < 16) {
  ------------------
  |  Branch (520:14): [True: 2.98M, False: 896k]
  ------------------
  521|  2.98M|        ix = LOAD_INDEX(keys, 16, i);
  ------------------
  |  |  260|  2.98M|#define LOAD_INDEX(keys, size, idx) ((const int##size##_t*)(keys->dk_indices))[idx]
  ------------------
  522|  2.98M|    }
  523|   896k|#if SIZEOF_VOID_P > 4
  524|   896k|    else if (log2size >= 32) {
  ------------------
  |  Branch (524:14): [True: 0, False: 896k]
  ------------------
  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|   896k|#endif
  528|   896k|    else {
  529|   896k|        ix = LOAD_INDEX(keys, 32, i);
  ------------------
  |  |  260|   896k|#define LOAD_INDEX(keys, size, idx) ((const int##size##_t*)(keys->dk_indices))[idx]
  ------------------
  530|   896k|    }
  531|       |    assert(ix >= DKIX_DUMMY);
  532|  91.3M|    return ix;
  533|  91.3M|}
dictobject.c:unicode_get_hash:
  436|  39.9M|{
  437|  39.9M|    return PyUnstable_Unicode_GET_CACHED_HASH(o);
  438|  39.9M|}
dictobject.c:get_index_from_order:
  658|     12|{
  659|     12|    assert(mp->ma_used <= SHARED_KEYS_MAX_SIZE);
  660|       |    assert(i < mp->ma_values->size);
  661|     12|    uint8_t *array = get_insertion_order_array(mp->ma_values);
  662|     12|    return array[i];
  663|     12|}
dictobject.c:new_dict:
  927|  5.17M|{
  928|  5.17M|    PyDictObject *mp = _Py_FREELIST_POP(PyDictObject, dicts);
  ------------------
  |  |   43|  5.17M|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  5.17M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  929|  5.17M|    if (mp == NULL) {
  ------------------
  |  Branch (929:9): [True: 189k, False: 4.98M]
  ------------------
  930|   189k|        mp = PyObject_GC_New(PyDictObject, &PyDict_Type);
  ------------------
  |  |  181|   189k|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|   189k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  931|   189k|    }
  932|  5.17M|    assert(mp == NULL || Py_IS_TYPE(mp, &PyDict_Type));
  933|       |
  934|  5.17M|    return new_dict_impl(mp, keys, values, used, free_values_on_failure);
  935|  5.17M|}
dictobject.c:new_dict_impl:
  904|  5.17M|{
  905|  5.17M|    assert(keys != NULL);
  906|  5.17M|    if (mp == NULL) {
  ------------------
  |  Branch (906:9): [True: 0, False: 5.17M]
  ------------------
  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|  5.17M|    mp->ma_keys = keys;
  915|  5.17M|    mp->ma_values = values;
  916|  5.17M|    mp->ma_used = used;
  917|  5.17M|    mp->_ma_watcher_tag = 0;
  918|  5.17M|    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  653|  5.17M|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
  919|  5.17M|    _PyObject_GC_TRACK(mp);
  ------------------
  |  |  508|  5.17M|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.17M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.17M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  920|  5.17M|    return (PyObject *)mp;
  921|  5.17M|}
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:
 1188|   354k|{
 1189|   354k|    return PyUnicode_CheckExact(key) && (dk->dk_kind != DICT_KEYS_GENERAL);
  ------------------
  |  |  104|   354k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|   708k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   354k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   354k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 354k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1189:41): [True: 354k, False: 0]
  ------------------
 1190|   354k|}
dictobject.c:hash_unicode_key:
 1194|  7.03M|{
 1195|  7.03M|    assert(PyUnicode_CheckExact(key));
 1196|  7.03M|    Py_hash_t hash = unicode_get_hash(key);
 1197|  7.03M|    if (hash == -1) {
  ------------------
  |  Branch (1197:9): [True: 0, False: 7.03M]
  ------------------
 1198|      0|        hash = PyUnicode_Type.tp_hash(key);
 1199|       |        assert(hash != -1);
 1200|      0|    }
 1201|  7.03M|    return hash;
 1202|  7.03M|}
dictobject.c:unicodekeys_lookup_unicode:
 1148|  64.1M|{
 1149|       |    return do_lookup(NULL, dk, key, hash, compare_unicode_unicode);
 1150|  64.1M|}
dictobject.c:do_lookup:
 1055|  77.1M|{
 1056|  77.1M|    void *ep0 = _DK_ENTRIES(dk);
 1057|  77.1M|    size_t mask = DK_MASK(dk);
  ------------------
  |  |  452|  77.1M|#define DK_MASK(dk) (DK_SIZE(dk)-1)
  |  |  ------------------
  |  |  |  |  262|  77.1M|#define DK_SIZE(dk)      (((int64_t)1)<<DK_LOG_SIZE(dk))
  |  |  |  |  ------------------
  |  |  |  |  |  |  260|  77.1M|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  277|  77.1M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1058|  77.1M|    size_t perturb = hash;
 1059|  77.1M|    size_t i = (size_t)hash & mask;
 1060|  77.1M|    Py_ssize_t ix;
 1061|  79.3M|    for (;;) {
 1062|  79.3M|        ix = dictkeys_get_index(dk, i);
 1063|  79.3M|        if (ix >= 0) {
  ------------------
  |  Branch (1063:13): [True: 63.8M, False: 15.4M]
  ------------------
 1064|  63.8M|            int cmp = check_lookup(mp, dk, ep0, ix, key, hash);
 1065|  63.8M|            if (cmp < 0) {
  ------------------
  |  Branch (1065:17): [True: 0, False: 63.8M]
  ------------------
 1066|      0|                return cmp;
 1067|  63.8M|            } else if (cmp) {
  ------------------
  |  Branch (1067:24): [True: 56.0M, False: 7.88M]
  ------------------
 1068|  56.0M|                return ix;
 1069|  56.0M|            }
 1070|  63.8M|        }
 1071|  15.4M|        else if (ix == DKIX_EMPTY) {
  ------------------
  |  |  184|  15.4M|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (1071:18): [True: 14.9M, False: 498k]
  ------------------
 1072|  14.9M|            return DKIX_EMPTY;
  ------------------
  |  |  184|  14.9M|#define DKIX_EMPTY (-1)
  ------------------
 1073|  14.9M|        }
 1074|  8.38M|        perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  323|  8.38M|#define PERTURB_SHIFT 5
  ------------------
 1075|  8.38M|        i = mask & (i*5 + perturb + 1);
 1076|       |
 1077|       |        // Manual loop unrolling
 1078|  8.38M|        ix = dictkeys_get_index(dk, i);
 1079|  8.38M|        if (ix >= 0) {
  ------------------
  |  Branch (1079:13): [True: 3.59M, False: 4.79M]
  ------------------
 1080|  3.59M|            int cmp = check_lookup(mp, dk, ep0, ix, key, hash);
 1081|  3.59M|            if (cmp < 0) {
  ------------------
  |  Branch (1081:17): [True: 0, False: 3.59M]
  ------------------
 1082|      0|                return cmp;
 1083|  3.59M|            } else if (cmp) {
  ------------------
  |  Branch (1083:24): [True: 1.43M, False: 2.16M]
  ------------------
 1084|  1.43M|                return ix;
 1085|  1.43M|            }
 1086|  3.59M|        }
 1087|  4.79M|        else if (ix == DKIX_EMPTY) {
  ------------------
  |  |  184|  4.79M|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (1087:18): [True: 4.73M, False: 60.3k]
  ------------------
 1088|  4.73M|            return DKIX_EMPTY;
  ------------------
  |  |  184|  4.73M|#define DKIX_EMPTY (-1)
  ------------------
 1089|  4.73M|        }
 1090|  2.22M|        perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  323|  2.22M|#define PERTURB_SHIFT 5
  ------------------
 1091|  2.22M|        i = mask & (i*5 + perturb + 1);
 1092|  2.22M|    }
 1093|      0|    Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1094|  77.1M|}
dictobject.c:compare_unicode_unicode:
 1134|  54.7M|{
 1135|  54.7M|    PyDictUnicodeEntry *ep = &((PyDictUnicodeEntry *)ep0)[ix];
 1136|  54.7M|    PyObject *ep_key = FT_ATOMIC_LOAD_PTR_CONSUME(ep->me_key);
  ------------------
  |  |  150|  54.7M|#define FT_ATOMIC_LOAD_PTR_CONSUME(value) value
  ------------------
 1137|  54.7M|    assert(ep_key != NULL);
 1138|  54.7M|    assert(PyUnicode_CheckExact(ep_key));
 1139|  54.7M|    if (ep_key == key ||
  ------------------
  |  Branch (1139:9): [True: 41.1M, False: 13.6M]
  ------------------
 1140|  45.1M|            (unicode_get_hash(ep_key) == hash && unicode_eq(ep_key, key))) {
  ------------------
  |  Branch (1140:14): [True: 4.03M, False: 9.61M]
  |  Branch (1140:50): [True: 4.03M, False: 24]
  ------------------
 1141|  45.1M|        return 1;
 1142|  45.1M|    }
 1143|  9.61M|    return 0;
 1144|  54.7M|}
dictobject.c:unicodekeys_lookup_split:
 1212|  9.11M|{
 1213|  9.11M|    Py_ssize_t ix;
 1214|  9.11M|    assert(dk->dk_kind == DICT_KEYS_SPLIT);
 1215|  9.11M|    assert(PyUnicode_CheckExact(key));
 1216|       |
 1217|       |#ifdef Py_GIL_DISABLED
 1218|       |    // A split dictionaries keys can be mutated by other dictionaries
 1219|       |    // but if we have a unicode key we can avoid locking the shared
 1220|       |    // keys.
 1221|       |    ix = unicodekeys_lookup_unicode_threadsafe(dk, key, hash);
 1222|       |    if (ix == DKIX_KEY_CHANGED) {
 1223|       |        LOCK_KEYS(dk);
 1224|       |        ix = unicodekeys_lookup_unicode(dk, key, hash);
 1225|       |        UNLOCK_KEYS(dk);
 1226|       |    }
 1227|       |#else
 1228|  9.11M|    ix = unicodekeys_lookup_unicode(dk, key, hash);
 1229|  9.11M|#endif
 1230|  9.11M|    return ix;
 1231|  9.11M|}
dictobject.c:unicodekeys_lookup_generic:
 1127|   281k|{
 1128|   281k|    return do_lookup(mp, dk, key, hash, compare_unicode_generic);
 1129|   281k|}
dictobject.c:compare_unicode_generic:
 1099|  1.42k|{
 1100|  1.42k|    PyDictUnicodeEntry *ep = &((PyDictUnicodeEntry *)ep0)[ix];
 1101|  1.42k|    assert(ep->me_key != NULL);
 1102|  1.42k|    assert(PyUnicode_CheckExact(ep->me_key));
 1103|  1.42k|    assert(!PyUnicode_CheckExact(key));
 1104|       |
 1105|  1.42k|    if (unicode_get_hash(ep->me_key) == hash) {
  ------------------
  |  Branch (1105:9): [True: 0, False: 1.42k]
  ------------------
 1106|      0|        PyObject *startkey = ep->me_key;
 1107|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1108|      0|        int cmp = PyObject_RichCompareBool(startkey, key, Py_EQ);
  ------------------
  |  |  654|      0|#define Py_EQ 2
  ------------------
 1109|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1110|      0|        if (cmp < 0) {
  ------------------
  |  Branch (1110:13): [True: 0, False: 0]
  ------------------
 1111|      0|            return DKIX_ERROR;
  ------------------
  |  |  186|      0|#define DKIX_ERROR (-3)
  ------------------
 1112|      0|        }
 1113|      0|        if (dk == mp->ma_keys && ep->me_key == startkey) {
  ------------------
  |  Branch (1113:13): [True: 0, False: 0]
  |  Branch (1113:34): [True: 0, False: 0]
  ------------------
 1114|      0|            return cmp;
 1115|      0|        }
 1116|      0|        else {
 1117|       |            /* The dict was mutated, restart */
 1118|      0|            return DKIX_KEY_CHANGED;
  ------------------
  |  |  187|      0|#define DKIX_KEY_CHANGED (-4) /* Used internally */
  ------------------
 1119|      0|        }
 1120|      0|    }
 1121|  1.42k|    return 0;
 1122|  1.42k|}
dictobject.c:dictkeys_generic_lookup:
 1182|  12.6M|{
 1183|  12.6M|    return do_lookup(mp, dk, key, hash, compare_generic);
 1184|  12.6M|}
dictobject.c:compare_generic:
 1155|  12.6M|{
 1156|  12.6M|    PyDictKeyEntry *ep = &((PyDictKeyEntry *)ep0)[ix];
 1157|  12.6M|    assert(ep->me_key != NULL);
 1158|  12.6M|    if (ep->me_key == key) {
  ------------------
  |  Branch (1158:9): [True: 7.79M, False: 4.89M]
  ------------------
 1159|  7.79M|        return 1;
 1160|  7.79M|    }
 1161|  4.89M|    if (ep->me_hash == hash) {
  ------------------
  |  Branch (1161:9): [True: 4.46M, False: 427k]
  ------------------
 1162|  4.46M|        PyObject *startkey = ep->me_key;
 1163|  4.46M|        Py_INCREF(startkey);
  ------------------
  |  |  310|  4.46M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.46M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.46M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1164|  4.46M|        int cmp = PyObject_RichCompareBool(startkey, key, Py_EQ);
  ------------------
  |  |  654|  4.46M|#define Py_EQ 2
  ------------------
 1165|  4.46M|        Py_DECREF(startkey);
  ------------------
  |  |  430|  4.46M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.46M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.46M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1166|  4.46M|        if (cmp < 0) {
  ------------------
  |  Branch (1166:13): [True: 0, False: 4.46M]
  ------------------
 1167|      0|            return DKIX_ERROR;
  ------------------
  |  |  186|      0|#define DKIX_ERROR (-3)
  ------------------
 1168|      0|        }
 1169|  4.46M|        if (dk == mp->ma_keys && ep->me_key == startkey) {
  ------------------
  |  Branch (1169:13): [True: 4.46M, False: 0]
  |  Branch (1169:34): [True: 4.46M, False: 0]
  ------------------
 1170|  4.46M|            return cmp;
 1171|  4.46M|        }
 1172|      0|        else {
 1173|       |            /* The dict was mutated, restart */
 1174|      0|            return DKIX_KEY_CHANGED;
  ------------------
  |  |  187|      0|#define DKIX_KEY_CHANGED (-4) /* Used internally */
  ------------------
 1175|      0|        }
 1176|  4.46M|    }
 1177|   427k|    return 0;
 1178|  4.89M|}
dictobject.c:dict_new_presized:
 2269|  4.95M|{
 2270|  4.95M|    const uint8_t log2_max_presize = 17;
 2271|  4.95M|    const Py_ssize_t max_presize = ((Py_ssize_t)1) << log2_max_presize;
 2272|  4.95M|    uint8_t log2_newsize;
 2273|  4.95M|    PyDictKeysObject *new_keys;
 2274|       |
 2275|  4.95M|    if (minused <= USABLE_FRACTION(PyDict_MINSIZE)) {
  ------------------
  |  |  575|  4.95M|#define USABLE_FRACTION(n) (((n) << 1)/3)
  ------------------
  |  Branch (2275:9): [True: 4.94M, False: 7.47k]
  ------------------
 2276|  4.94M|        return PyDict_New();
 2277|  4.94M|    }
 2278|       |    /* There are no strict guarantee that returned dict can contain minused
 2279|       |     * items without resize.  So we create medium size dict instead of very
 2280|       |     * large dict or MemoryError.
 2281|       |     */
 2282|  7.47k|    if (minused > USABLE_FRACTION(max_presize)) {
  ------------------
  |  |  575|  7.47k|#define USABLE_FRACTION(n) (((n) << 1)/3)
  ------------------
  |  Branch (2282:9): [True: 0, False: 7.47k]
  ------------------
 2283|      0|        log2_newsize = log2_max_presize;
 2284|      0|    }
 2285|  7.47k|    else {
 2286|  7.47k|        log2_newsize = estimate_log2_keysize(minused);
 2287|  7.47k|    }
 2288|       |
 2289|  7.47k|    new_keys = new_keys_object(log2_newsize, unicode);
 2290|  7.47k|    if (new_keys == NULL)
  ------------------
  |  Branch (2290:9): [True: 0, False: 7.47k]
  ------------------
 2291|      0|        return NULL;
 2292|  7.47k|    return new_dict(new_keys, NULL, 0, 0);
 2293|  7.47k|}
dictobject.c:estimate_log2_keysize:
  607|  7.47k|{
  608|  7.47k|    return calculate_log2_keysize((n*3 + 1) / 2);
  609|  7.47k|}
dictobject.c:calculate_log2_keysize:
  580|  91.8k|{
  581|  91.8k|#if SIZEOF_LONG == SIZEOF_SIZE_T
  582|  91.8k|    minsize = Py_MAX(minsize, PyDict_MINSIZE);
  ------------------
  |  |  115|  91.8k|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 58.6k, False: 33.2k]
  |  |  ------------------
  ------------------
  583|  91.8k|    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|  91.8k|}
dictobject.c:dict_getitem:
 2351|  1.37k|{
 2352|  1.37k|    if (!PyAnyDict_Check(op)) {
  ------------------
  |  |   43|  1.37k|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|  1.37k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  2.75k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 1.37k, 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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2353|      0|        return NULL;
 2354|      0|    }
 2355|  1.37k|    PyDictObject *mp = (PyDictObject *)op;
 2356|       |
 2357|  1.37k|    Py_hash_t hash = _PyObject_HashFast(key);
 2358|  1.37k|    if (hash == -1) {
  ------------------
  |  Branch (2358:9): [True: 0, False: 1.37k]
  ------------------
 2359|      0|        PyErr_FormatUnraisable(warnmsg);
 2360|      0|        return NULL;
 2361|      0|    }
 2362|       |
 2363|  1.37k|    PyThreadState *tstate = _PyThreadState_GET();
 2364|       |#ifdef Py_DEBUG
 2365|       |    // bpo-40839: Before Python 3.10, it was possible to call PyDict_GetItem()
 2366|       |    // with the GIL released.
 2367|       |    _Py_EnsureTstateNotNULL(tstate);
 2368|       |#endif
 2369|       |
 2370|       |    /* Preserve the existing exception */
 2371|  1.37k|    PyObject *value;
 2372|  1.37k|    Py_ssize_t ix; (void)ix;
 2373|       |
 2374|  1.37k|    PyObject *exc = _PyErr_GetRaisedException(tstate);
 2375|       |#ifdef Py_GIL_DISABLED
 2376|       |    ix = _Py_dict_lookup_threadsafe(mp, key, hash, &value);
 2377|       |    Py_XDECREF(value);
 2378|       |#else
 2379|  1.37k|    ix = _Py_dict_lookup(mp, key, hash, &value);
 2380|  1.37k|#endif
 2381|       |
 2382|       |    /* Ignore any exception raised by the lookup */
 2383|  1.37k|    PyObject *exc2 = _PyErr_Occurred(tstate);
 2384|  1.37k|    if (exc2 && !PyErr_GivenExceptionMatches(exc2, PyExc_KeyError)) {
  ------------------
  |  Branch (2384:9): [True: 0, False: 1.37k]
  |  Branch (2384:17): [True: 0, False: 0]
  ------------------
 2385|      0|        PyErr_FormatUnraisable(warnmsg);
 2386|      0|    }
 2387|  1.37k|    _PyErr_SetRaisedException(tstate, exc);
 2388|       |
 2389|       |    assert(ix >= 0 || value == NULL);
 2390|  1.37k|    return value;  // borrowed reference
 2391|  1.37k|}
dictobject.c:setitem_take2_lock_held:
 2746|  4.89M|{
 2747|  4.89M|    Py_hash_t hash = _PyObject_HashFast(key);
 2748|  4.89M|    if (hash == -1) {
  ------------------
  |  Branch (2748:9): [True: 0, False: 4.89M]
  ------------------
 2749|      0|        dict_unhashable_type((PyObject*)mp, key);
 2750|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2751|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2752|      0|        return -1;
 2753|      0|    }
 2754|       |
 2755|  4.89M|    return setitem_take2_lock_held_known_hash(mp, key, value, hash);
 2756|  4.89M|}
dictobject.c:setitem_take2_lock_held_known_hash:
 2731|  4.89M|{
 2732|  4.89M|    assert(PyAnyDict_Check(mp));
 2733|  4.89M|    assert(can_modify_dict(mp));
 2734|  4.89M|    assert(key);
 2735|  4.89M|    assert(value);
 2736|       |
 2737|  4.89M|    if (mp->ma_keys == Py_EMPTY_KEYS) {
  ------------------
  |  |  645|  4.89M|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
  |  Branch (2737:9): [True: 2.73M, False: 2.15M]
  ------------------
 2738|  2.73M|        return insert_to_emptydict(mp, key, hash, value);
 2739|  2.73M|    }
 2740|       |    /* insertdict() handles any resizing that might be necessary */
 2741|  2.15M|    return insertdict(mp, key, hash, value);
 2742|  4.89M|}
dictobject.c:setitem_lock_held:
 2816|  3.52M|{
 2817|  3.52M|    assert(key);
 2818|  3.52M|    assert(value);
 2819|  3.52M|    return setitem_take2_lock_held(mp,
 2820|  3.52M|                                   Py_NewRef(key), Py_NewRef(value));
  ------------------
  |  |  550|  3.52M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  3.52M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.52M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                                                 Py_NewRef(key), Py_NewRef(value));
  ------------------
  |  |  550|  3.52M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  3.52M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.52M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2821|  3.52M|}
dictobject.c:insert_to_emptydict:
 2016|  2.75M|{
 2017|  2.75M|    assert(can_modify_dict(mp));
 2018|  2.75M|    assert(mp->ma_keys == Py_EMPTY_KEYS);
 2019|       |
 2020|  2.75M|    int unicode = PyUnicode_CheckExact(key);
  ------------------
  |  |  104|  2.75M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  2.75M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.75M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.75M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2021|  2.75M|    PyDictKeysObject *newkeys = new_keys_object(PyDict_LOG_MINSIZE, unicode);
  ------------------
  |  |  115|  2.75M|#define PyDict_LOG_MINSIZE 3
  ------------------
 2022|  2.75M|    if (newkeys == NULL) {
  ------------------
  |  Branch (2022:9): [True: 0, False: 2.75M]
  ------------------
 2023|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2024|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2025|      0|        return -1;
 2026|      0|    }
 2027|  2.75M|    _PyDict_NotifyEvent(PyDict_EVENT_ADDED, mp, key, value);
 2028|       |
 2029|       |    /* We don't decref Py_EMPTY_KEYS here because it is immortal. */
 2030|  2.75M|    assert(mp->ma_values == NULL);
 2031|       |
 2032|  2.75M|    size_t hashpos = (size_t)hash & (PyDict_MINSIZE-1);
  ------------------
  |  |  116|  2.75M|#define PyDict_MINSIZE 8
  ------------------
 2033|  2.75M|    dictkeys_set_index(newkeys, hashpos, 0);
 2034|  2.75M|    if (unicode) {
  ------------------
  |  Branch (2034:9): [True: 2.46M, False: 292k]
  ------------------
 2035|  2.46M|        PyDictUnicodeEntry *ep = DK_UNICODE_ENTRIES(newkeys);
 2036|  2.46M|        ep->me_key = key;
 2037|  2.46M|        STORE_VALUE(ep, value);
  ------------------
  |  |  316|  2.46M|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  163|  2.46M|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2038|  2.46M|    }
 2039|   292k|    else {
 2040|   292k|        PyDictKeyEntry *ep = DK_ENTRIES(newkeys);
 2041|   292k|        ep->me_key = key;
 2042|   292k|        ep->me_hash = hash;
 2043|   292k|        STORE_VALUE(ep, value);
  ------------------
  |  |  316|   292k|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  163|   292k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2044|   292k|    }
 2045|  2.75M|    STORE_USED(mp, mp->ma_used + 1);
  ------------------
  |  |  321|  2.75M|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  193|  2.75M|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2046|  2.75M|    newkeys->dk_usable--;
 2047|  2.75M|    newkeys->dk_nentries++;
 2048|       |    // We store the keys last so no one can see them in a partially inconsistent
 2049|       |    // state so that we don't need to switch the keys to being shared yet for
 2050|       |    // the case where we're inserting from the non-owner thread.  We don't use
 2051|       |    // set_keys here because the transition from empty to non-empty is safe
 2052|       |    // as the empty keys will never be freed.
 2053|  2.75M|    FT_ATOMIC_STORE_PTR_RELEASE(mp->ma_keys, newkeys);
  ------------------
  |  |  163|  2.75M|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 2054|  2.75M|    return 0;
 2055|  2.75M|}
dictobject.c:dictkeys_set_index:
  538|  5.16M|{
  539|  5.16M|    int log2size = DK_LOG_SIZE(keys);
  ------------------
  |  |  260|  5.16M|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  ------------------
  |  |  |  |  277|  5.16M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  540|       |
  541|  5.16M|    assert(ix >= DKIX_DUMMY);
  542|  5.16M|    assert(keys->dk_version == 0);
  543|       |
  544|  5.16M|    if (log2size < 8) {
  ------------------
  |  Branch (544:9): [True: 4.89M, False: 264k]
  ------------------
  545|  4.89M|        assert(ix <= 0x7f);
  546|  4.89M|        STORE_INDEX(keys, 8, i, ix);
  ------------------
  |  |  261|  4.89M|#define STORE_INDEX(keys, size, idx, value) ((int##size##_t*)(keys->dk_indices))[idx] = (int##size##_t)value
  ------------------
  547|  4.89M|    }
  548|   264k|    else if (log2size < 16) {
  ------------------
  |  Branch (548:14): [True: 194k, False: 70.1k]
  ------------------
  549|   194k|        assert(ix <= 0x7fff);
  550|   194k|        STORE_INDEX(keys, 16, i, ix);
  ------------------
  |  |  261|   194k|#define STORE_INDEX(keys, size, idx, value) ((int##size##_t*)(keys->dk_indices))[idx] = (int##size##_t)value
  ------------------
  551|   194k|    }
  552|  70.1k|#if SIZEOF_VOID_P > 4
  553|  70.1k|    else if (log2size >= 32) {
  ------------------
  |  Branch (553:14): [True: 0, False: 70.1k]
  ------------------
  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|  70.1k|#endif
  557|  70.1k|    else {
  558|  70.1k|        assert(ix <= 0x7fffffff);
  559|  70.1k|        STORE_INDEX(keys, 32, i, ix);
  ------------------
  |  |  261|  70.1k|#define STORE_INDEX(keys, size, idx, value) ((int##size##_t*)(keys->dk_indices))[idx] = (int##size##_t)value
  ------------------
  560|  70.1k|    }
  561|  5.16M|}
dictobject.c:insertdict:
 1945|  2.16M|{
 1946|  2.16M|    assert(can_modify_dict(mp));
 1947|       |
 1948|  2.16M|    PyObject *old_value = NULL;
 1949|  2.16M|    Py_ssize_t ix;
 1950|       |
 1951|  2.16M|    if (_PyDict_HasSplitTable(mp) && PyUnicode_CheckExact(key)) {
  ------------------
  |  |   56|  4.32M|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (56:34): [True: 6.91k, False: 2.15M]
  |  |  ------------------
  ------------------
                  if (_PyDict_HasSplitTable(mp) && PyUnicode_CheckExact(key)) {
  ------------------
  |  |  104|  6.91k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_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: 6.91k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1952|  6.91k|        ix = insert_split_key(mp->ma_keys, key, hash);
 1953|  6.91k|        if (ix != DKIX_EMPTY) {
  ------------------
  |  |  184|  6.91k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (1953:13): [True: 3.42k, False: 3.48k]
  ------------------
 1954|  3.42k|            _PyDict_InsertSplitValue(mp, key, value, ix);
 1955|  3.42k|            Py_DECREF(key);
  ------------------
  |  |  430|  3.42k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.42k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.42k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1956|  3.42k|            Py_DECREF(value);
  ------------------
  |  |  430|  3.42k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.42k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.42k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1957|  3.42k|            return 0;
 1958|  3.42k|        }
 1959|       |        // No space in shared keys. Go to insert_combined_dict() below.
 1960|  6.91k|    }
 1961|  2.15M|    else {
 1962|  2.15M|        ix = _Py_dict_lookup(mp, key, hash, &old_value);
 1963|  2.15M|        if (ix == DKIX_ERROR)
  ------------------
  |  |  186|  2.15M|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (1963:13): [True: 0, False: 2.15M]
  ------------------
 1964|      0|            goto Fail;
 1965|  2.15M|    }
 1966|       |
 1967|  2.15M|    if (old_value == NULL) {
  ------------------
  |  Branch (1967:9): [True: 1.42M, False: 728k]
  ------------------
 1968|       |        // insert_combined_dict() will convert from non DICT_KEYS_GENERAL table
 1969|       |        // into DICT_KEYS_GENERAL table if key is not Unicode.
 1970|       |        // We don't convert it before _Py_dict_lookup because non-Unicode key
 1971|       |        // may change generic table into Unicode table.
 1972|       |        //
 1973|       |        // NOTE: ix may not be DKIX_EMPTY because split table may have key
 1974|       |        // without value.
 1975|  1.42M|        if (insert_combined_dict(mp, hash, key, value) < 0) {
  ------------------
  |  Branch (1975:13): [True: 0, False: 1.42M]
  ------------------
 1976|      0|            goto Fail;
 1977|      0|        }
 1978|  1.42M|        STORE_USED(mp, mp->ma_used + 1);
  ------------------
  |  |  321|  1.42M|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  193|  1.42M|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1979|  1.42M|        ASSERT_CONSISTENT(mp);
  ------------------
  |  |  653|  1.42M|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
 1980|  1.42M|        return 0;
 1981|  1.42M|    }
 1982|       |
 1983|   728k|    if (old_value != value) {
  ------------------
  |  Branch (1983:9): [True: 661k, False: 66.5k]
  ------------------
 1984|   661k|        _PyDict_NotifyEvent(PyDict_EVENT_MODIFIED, mp, key, value);
 1985|   661k|        assert(old_value != NULL);
 1986|   661k|        if (DK_IS_UNICODE(mp->ma_keys)) {
  ------------------
  |  |  282|   661k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (282:27): [True: 322k, False: 339k]
  |  |  ------------------
  ------------------
 1987|   322k|            if (_PyDict_HasSplitTable(mp)) {
  ------------------
  |  |   56|   322k|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (56:34): [True: 0, False: 322k]
  |  |  ------------------
  ------------------
 1988|      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)
  |  |  ------------------
  |  |  |  |  163|      0|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1989|      0|            }
 1990|   322k|            else {
 1991|   322k|                PyDictUnicodeEntry *ep = &DK_UNICODE_ENTRIES(mp->ma_keys)[ix];
 1992|   322k|                STORE_VALUE(ep, value);
  ------------------
  |  |  316|   322k|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  163|   322k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1993|   322k|            }
 1994|   322k|        }
 1995|   339k|        else {
 1996|   339k|            PyDictKeyEntry *ep = &DK_ENTRIES(mp->ma_keys)[ix];
 1997|   339k|            STORE_VALUE(ep, value);
  ------------------
  |  |  316|   339k|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  163|   339k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1998|   339k|        }
 1999|   661k|    }
 2000|   728k|    Py_XDECREF(old_value); /* which **CAN** re-enter (see issue #22653) */
  ------------------
  |  |  524|   728k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   728k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   728k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2001|   728k|    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  653|   728k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
 2002|   728k|    Py_DECREF(key);
  ------------------
  |  |  430|   728k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   728k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   728k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2003|   728k|    return 0;
 2004|       |
 2005|      0|Fail:
 2006|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2007|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2008|      0|    return -1;
 2009|  2.15M|}
dictobject.c:insert_combined_dict:
 1841|  1.55M|{
 1842|       |    // gh-140551: If dict was cleared in _Py_dict_lookup,
 1843|       |    // we have to resize one more time to force general key kind.
 1844|  1.55M|    if (DK_IS_UNICODE(mp->ma_keys) && !PyUnicode_CheckExact(key)) {
  ------------------
  |  |  282|  3.11M|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (282:27): [True: 1.31M, False: 244k]
  |  |  ------------------
  ------------------
                  if (DK_IS_UNICODE(mp->ma_keys) && !PyUnicode_CheckExact(key)) {
  ------------------
  |  |  104|  1.31M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  1.31M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.31M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.31M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1844:39): [True: 5.44k, False: 1.30M]
  ------------------
 1845|  5.44k|        if (insertion_resize(mp, 0) < 0)
  ------------------
  |  Branch (1845:13): [True: 0, False: 5.44k]
  ------------------
 1846|      0|            return -1;
 1847|  5.44k|        assert(mp->ma_keys->dk_kind == DICT_KEYS_GENERAL);
 1848|  5.44k|    }
 1849|       |
 1850|  1.55M|    if (mp->ma_keys->dk_usable <= 0) {
  ------------------
  |  Branch (1850:9): [True: 78.9k, False: 1.47M]
  ------------------
 1851|       |        /* Need to resize. */
 1852|  78.9k|        if (insertion_resize(mp, 1) < 0) {
  ------------------
  |  Branch (1852:13): [True: 0, False: 78.9k]
  ------------------
 1853|      0|            return -1;
 1854|      0|        }
 1855|  78.9k|    }
 1856|       |
 1857|  1.55M|    _PyDict_NotifyEvent(PyDict_EVENT_ADDED, mp, key, value);
 1858|  1.55M|    FT_ATOMIC_STORE_UINT32_RELAXED(mp->ma_keys->dk_version, 0);
  ------------------
  |  |  171|  1.55M|#define FT_ATOMIC_STORE_UINT32_RELAXED(value, new_value) value = new_value
  ------------------
 1859|       |
 1860|  1.55M|    Py_ssize_t hashpos = find_empty_slot(mp->ma_keys, hash);
 1861|  1.55M|    dictkeys_set_index(mp->ma_keys, hashpos, mp->ma_keys->dk_nentries);
 1862|       |
 1863|  1.55M|    if (DK_IS_UNICODE(mp->ma_keys)) {
  ------------------
  |  |  282|  1.55M|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (282:27): [True: 1.30M, False: 249k]
  |  |  ------------------
  ------------------
 1864|  1.30M|        PyDictUnicodeEntry *ep;
 1865|  1.30M|        ep = &DK_UNICODE_ENTRIES(mp->ma_keys)[mp->ma_keys->dk_nentries];
 1866|  1.30M|        STORE_KEY(ep, key);
  ------------------
  |  |  315|  1.30M|#define STORE_KEY(ep, key) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_key, key)
  |  |  ------------------
  |  |  |  |  163|  1.30M|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1867|  1.30M|        STORE_VALUE(ep, value);
  ------------------
  |  |  316|  1.30M|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  163|  1.30M|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1868|  1.30M|    }
 1869|   249k|    else {
 1870|   249k|        PyDictKeyEntry *ep;
 1871|   249k|        ep = &DK_ENTRIES(mp->ma_keys)[mp->ma_keys->dk_nentries];
 1872|   249k|        STORE_KEY(ep, key);
  ------------------
  |  |  315|   249k|#define STORE_KEY(ep, key) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_key, key)
  |  |  ------------------
  |  |  |  |  163|   249k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1873|   249k|        STORE_VALUE(ep, value);
  ------------------
  |  |  316|   249k|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  163|   249k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1874|   249k|        STORE_HASH(ep, hash);
  ------------------
  |  |  318|   249k|#define STORE_HASH(ep, hash) FT_ATOMIC_STORE_SSIZE_RELAXED((ep)->me_hash, hash)
  |  |  ------------------
  |  |  |  |  193|   249k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1875|   249k|    }
 1876|  1.55M|    STORE_KEYS_USABLE(mp->ma_keys, mp->ma_keys->dk_usable - 1);
  ------------------
  |  |  319|  1.55M|#define STORE_KEYS_USABLE(keys, usable) FT_ATOMIC_STORE_SSIZE_RELAXED(keys->dk_usable, usable)
  |  |  ------------------
  |  |  |  |  193|  1.55M|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1877|  1.55M|    STORE_KEYS_NENTRIES(mp->ma_keys, mp->ma_keys->dk_nentries + 1);
  ------------------
  |  |  320|  1.55M|#define STORE_KEYS_NENTRIES(keys, nentries) FT_ATOMIC_STORE_SSIZE_RELAXED(keys->dk_nentries, nentries)
  |  |  ------------------
  |  |  |  |  193|  1.55M|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 1878|       |    assert(mp->ma_keys->dk_usable >= 0);
 1879|  1.55M|    return 0;
 1880|  1.55M|}
dictobject.c:insertion_resize:
 1834|  84.3k|{
 1835|  84.3k|    return dictresize(mp, calculate_log2_keysize(GROWTH_RATE(mp)), unicode);
  ------------------
  |  |  622|  84.3k|#define GROWTH_RATE(d) ((d)->ma_used*3)
  ------------------
 1836|  84.3k|}
dictobject.c:dictresize:
 2118|  84.3k|{
 2119|  84.3k|    assert(can_modify_dict(mp));
 2120|       |
 2121|  84.3k|    PyDictKeysObject *oldkeys, *newkeys;
 2122|  84.3k|    PyDictValues *oldvalues;
 2123|       |
 2124|  84.3k|    if (log2_newsize >= SIZEOF_SIZE_T*8) {
  ------------------
  |  | 1849|  84.3k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (2124:9): [True: 0, False: 84.3k]
  ------------------
 2125|      0|        PyErr_NoMemory();
 2126|      0|        return -1;
 2127|      0|    }
 2128|  84.3k|    assert(log2_newsize >= PyDict_LOG_MINSIZE);
 2129|       |
 2130|  84.3k|    oldkeys = mp->ma_keys;
 2131|  84.3k|    oldvalues = mp->ma_values;
 2132|       |
 2133|  84.3k|    if (!DK_IS_UNICODE(oldkeys)) {
  ------------------
  |  |  282|  84.3k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  ------------------
  |  Branch (2133:9): [True: 32.9k, False: 51.4k]
  ------------------
 2134|  32.9k|        unicode = 0;
 2135|  32.9k|    }
 2136|       |
 2137|  84.3k|    ensure_shared_on_resize(mp);
 2138|       |    /* NOTE: Current odict checks mp->ma_keys to detect resize happen.
 2139|       |     * So we can't reuse oldkeys even if oldkeys->dk_size == newsize.
 2140|       |     * TODO: Try reusing oldkeys when reimplement odict.
 2141|       |     */
 2142|       |
 2143|       |    /* Allocate a new table. */
 2144|  84.3k|    newkeys = new_keys_object(log2_newsize, unicode);
 2145|  84.3k|    if (newkeys == NULL) {
  ------------------
  |  Branch (2145:9): [True: 0, False: 84.3k]
  ------------------
 2146|      0|        return -1;
 2147|      0|    }
 2148|       |    // New table must be large enough.
 2149|  84.3k|    assert(newkeys->dk_usable >= mp->ma_used);
 2150|       |
 2151|  84.3k|    Py_ssize_t numentries = mp->ma_used;
 2152|       |
 2153|  84.3k|    if (oldvalues != NULL) {
  ------------------
  |  Branch (2153:9): [True: 3.48k, False: 80.8k]
  ------------------
 2154|  3.48k|        LOCK_KEYS(oldkeys);
 2155|  3.48k|        PyDictUnicodeEntry *oldentries = DK_UNICODE_ENTRIES(oldkeys);
 2156|       |        /* Convert split table into new combined table.
 2157|       |         * We must incref keys; we can transfer values.
 2158|       |         */
 2159|  3.48k|        if (newkeys->dk_kind == DICT_KEYS_GENERAL) {
  ------------------
  |  Branch (2159:13): [True: 0, False: 3.48k]
  ------------------
 2160|       |            // split -> generic
 2161|      0|            PyDictKeyEntry *newentries = DK_ENTRIES(newkeys);
 2162|       |
 2163|      0|            for (Py_ssize_t i = 0; i < numentries; i++) {
  ------------------
  |  Branch (2163:36): [True: 0, False: 0]
  ------------------
 2164|      0|                int index = get_index_from_order(mp, i);
 2165|      0|                PyDictUnicodeEntry *ep = &oldentries[index];
 2166|      0|                assert(oldvalues->values[index] != NULL);
 2167|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2168|      0|                newentries[i].me_hash = unicode_get_hash(ep->me_key);
 2169|      0|                newentries[i].me_value = oldvalues->values[index];
 2170|      0|            }
 2171|      0|            build_indices_generic(newkeys, newentries, numentries);
 2172|      0|        }
 2173|  3.48k|        else { // split -> combined unicode
 2174|  3.48k|            PyDictUnicodeEntry *newentries = DK_UNICODE_ENTRIES(newkeys);
 2175|       |
 2176|  3.50k|            for (Py_ssize_t i = 0; i < numentries; i++) {
  ------------------
  |  Branch (2176:36): [True: 12, False: 3.48k]
  ------------------
 2177|     12|                int index = get_index_from_order(mp, i);
 2178|     12|                PyDictUnicodeEntry *ep = &oldentries[index];
 2179|     12|                assert(oldvalues->values[index] != NULL);
 2180|     12|                newentries[i].me_key = Py_NewRef(ep->me_key);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2181|     12|                newentries[i].me_value = oldvalues->values[index];
 2182|     12|            }
 2183|  3.48k|            build_indices_unicode(newkeys, newentries, numentries);
 2184|  3.48k|        }
 2185|  3.48k|        UNLOCK_KEYS(oldkeys);
 2186|  3.48k|        set_keys(mp, newkeys);
 2187|  3.48k|        dictkeys_decref(oldkeys, IS_DICT_SHARED(mp));
  ------------------
  |  |  258|  3.48k|#define IS_DICT_SHARED(mp) (false)
  ------------------
 2188|  3.48k|        set_values(mp, NULL);
 2189|  3.48k|        if (oldvalues->embedded) {
  ------------------
  |  Branch (2189:13): [True: 3.48k, False: 0]
  ------------------
 2190|  3.48k|            assert(oldvalues->embedded == 1);
 2191|  3.48k|            assert(oldvalues->valid == 1);
 2192|  3.48k|            invalidate_and_clear_inline_values(oldvalues);
 2193|  3.48k|        }
 2194|      0|        else {
 2195|      0|            free_values(oldvalues, IS_DICT_SHARED(mp));
  ------------------
  |  |  258|      0|#define IS_DICT_SHARED(mp) (false)
  ------------------
 2196|      0|        }
 2197|  3.48k|    }
 2198|  80.8k|    else {  // oldkeys is combined.
 2199|  80.8k|        if (oldkeys->dk_kind == DICT_KEYS_GENERAL) {
  ------------------
  |  Branch (2199:13): [True: 32.9k, False: 47.9k]
  ------------------
 2200|       |            // generic -> generic
 2201|  32.9k|            assert(newkeys->dk_kind == DICT_KEYS_GENERAL);
 2202|  32.9k|            PyDictKeyEntry *oldentries = DK_ENTRIES(oldkeys);
 2203|  32.9k|            PyDictKeyEntry *newentries = DK_ENTRIES(newkeys);
 2204|  32.9k|            if (oldkeys->dk_nentries == numentries) {
  ------------------
  |  Branch (2204:17): [True: 29.9k, False: 2.92k]
  ------------------
 2205|  29.9k|                memcpy(newentries, oldentries, numentries * sizeof(PyDictKeyEntry));
 2206|  29.9k|            }
 2207|  2.92k|            else {
 2208|  2.92k|                PyDictKeyEntry *ep = oldentries;
 2209|  10.2k|                for (Py_ssize_t i = 0; i < numentries; i++) {
  ------------------
  |  Branch (2209:40): [True: 7.30k, False: 2.92k]
  ------------------
 2210|  18.8k|                    while (ep->me_value == NULL)
  ------------------
  |  Branch (2210:28): [True: 11.5k, False: 7.30k]
  ------------------
 2211|  11.5k|                        ep++;
 2212|  7.30k|                    newentries[i] = *ep++;
 2213|  7.30k|                }
 2214|  2.92k|            }
 2215|  32.9k|            build_indices_generic(newkeys, newentries, numentries);
 2216|  32.9k|        }
 2217|  47.9k|        else {  // oldkeys is combined unicode
 2218|  47.9k|            PyDictUnicodeEntry *oldentries = DK_UNICODE_ENTRIES(oldkeys);
 2219|  47.9k|            if (unicode) { // combined unicode -> combined unicode
  ------------------
  |  Branch (2219:17): [True: 42.5k, False: 5.44k]
  ------------------
 2220|  42.5k|                PyDictUnicodeEntry *newentries = DK_UNICODE_ENTRIES(newkeys);
 2221|  42.5k|                if (oldkeys->dk_nentries == numentries && mp->ma_keys->dk_kind == DICT_KEYS_UNICODE) {
  ------------------
  |  Branch (2221:21): [True: 40.0k, False: 2.46k]
  |  Branch (2221:59): [True: 40.0k, False: 0]
  ------------------
 2222|  40.0k|                    memcpy(newentries, oldentries, numentries * sizeof(PyDictUnicodeEntry));
 2223|  40.0k|                }
 2224|  2.46k|                else {
 2225|  2.46k|                    PyDictUnicodeEntry *ep = oldentries;
 2226|  81.4k|                    for (Py_ssize_t i = 0; i < numentries; i++) {
  ------------------
  |  Branch (2226:44): [True: 79.0k, False: 2.46k]
  ------------------
 2227|  87.8k|                        while (ep->me_value == NULL)
  ------------------
  |  Branch (2227:32): [True: 8.81k, False: 79.0k]
  ------------------
 2228|  8.81k|                            ep++;
 2229|  79.0k|                        newentries[i] = *ep++;
 2230|  79.0k|                    }
 2231|  2.46k|                }
 2232|  42.5k|                build_indices_unicode(newkeys, newentries, numentries);
 2233|  42.5k|            }
 2234|  5.44k|            else { // combined unicode -> generic
 2235|  5.44k|                PyDictKeyEntry *newentries = DK_ENTRIES(newkeys);
 2236|  5.44k|                PyDictUnicodeEntry *ep = oldentries;
 2237|  12.2k|                for (Py_ssize_t i = 0; i < numentries; i++) {
  ------------------
  |  Branch (2237:40): [True: 6.76k, False: 5.44k]
  ------------------
 2238|  6.76k|                    while (ep->me_value == NULL)
  ------------------
  |  Branch (2238:28): [True: 0, False: 6.76k]
  ------------------
 2239|      0|                        ep++;
 2240|  6.76k|                    newentries[i].me_key = ep->me_key;
 2241|  6.76k|                    newentries[i].me_hash = unicode_get_hash(ep->me_key);
 2242|  6.76k|                    newentries[i].me_value = ep->me_value;
 2243|  6.76k|                    ep++;
 2244|  6.76k|                }
 2245|  5.44k|                build_indices_generic(newkeys, newentries, numentries);
 2246|  5.44k|            }
 2247|  47.9k|        }
 2248|       |
 2249|  80.8k|        set_keys(mp, newkeys);
 2250|       |
 2251|  80.8k|        if (oldkeys != Py_EMPTY_KEYS) {
  ------------------
  |  |  645|  80.8k|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
  |  Branch (2251:13): [True: 80.8k, False: 0]
  ------------------
 2252|       |#ifdef Py_REF_DEBUG
 2253|       |            _Py_DecRefTotal(_PyThreadState_GET());
 2254|       |#endif
 2255|  80.8k|            assert(oldkeys->dk_kind != DICT_KEYS_SPLIT);
 2256|  80.8k|            assert(oldkeys->dk_refcnt == 1);
 2257|  80.8k|            free_keys_object(oldkeys, IS_DICT_SHARED(mp));
  ------------------
  |  |  258|  80.8k|#define IS_DICT_SHARED(mp) (false)
  ------------------
 2258|  80.8k|        }
 2259|  80.8k|    }
 2260|       |
 2261|  84.3k|    STORE_KEYS_USABLE(mp->ma_keys, mp->ma_keys->dk_usable - numentries);
  ------------------
  |  |  319|  84.3k|#define STORE_KEYS_USABLE(keys, usable) FT_ATOMIC_STORE_SSIZE_RELAXED(keys->dk_usable, usable)
  |  |  ------------------
  |  |  |  |  193|  84.3k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2262|  84.3k|    STORE_KEYS_NENTRIES(mp->ma_keys, numentries);
  ------------------
  |  |  320|  84.3k|#define STORE_KEYS_NENTRIES(keys, nentries) FT_ATOMIC_STORE_SSIZE_RELAXED(keys->dk_nentries, nentries)
  |  |  ------------------
  |  |  |  |  193|  84.3k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2263|       |    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  653|  84.3k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
 2264|  84.3k|    return 0;
 2265|  84.3k|}
dictobject.c:ensure_shared_on_resize:
 1390|  2.15M|{
 1391|       |#ifdef Py_GIL_DISABLED
 1392|       |    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(mp);
 1393|       |
 1394|       |    if (!_Py_IsOwnedByCurrentThread((PyObject *)mp) && !IS_DICT_SHARED(mp)) {
 1395|       |        // We are writing to the dict from another thread that owns
 1396|       |        // it and we haven't marked it as shared which will ensure
 1397|       |        // that when we re-size ma_keys or ma_values that we will
 1398|       |        // free using QSBR.  We need to lock the dictionary to
 1399|       |        // contend with writes from the owning thread, mark it as
 1400|       |        // shared, and then we can continue with lock-free reads.
 1401|       |        // Technically this is a little heavy handed, we could just
 1402|       |        // free the individual old keys / old-values using qsbr
 1403|       |        SET_DICT_SHARED(mp);
 1404|       |    }
 1405|       |#endif
 1406|  2.15M|}
dictobject.c:build_indices_generic:
 2062|  38.3k|{
 2063|  38.3k|    size_t mask = DK_MASK(keys);
  ------------------
  |  |  452|  38.3k|#define DK_MASK(dk) (DK_SIZE(dk)-1)
  |  |  ------------------
  |  |  |  |  262|  38.3k|#define DK_SIZE(dk)      (((int64_t)1)<<DK_LOG_SIZE(dk))
  |  |  |  |  ------------------
  |  |  |  |  |  |  260|  38.3k|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  277|  38.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2064|   144k|    for (Py_ssize_t ix = 0; ix != n; ix++, ep++) {
  ------------------
  |  Branch (2064:29): [True: 105k, False: 38.3k]
  ------------------
 2065|   105k|        Py_hash_t hash = ep->me_hash;
 2066|   105k|        size_t i = hash & mask;
 2067|   123k|        for (size_t perturb = hash; dictkeys_get_index(keys, i) != DKIX_EMPTY;) {
  ------------------
  |  |  184|   123k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (2067:37): [True: 17.9k, False: 105k]
  ------------------
 2068|  17.9k|            perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  323|  17.9k|#define PERTURB_SHIFT 5
  ------------------
 2069|  17.9k|            i = mask & (i*5 + perturb + 1);
 2070|  17.9k|        }
 2071|   105k|        dictkeys_set_index(keys, i, ix);
 2072|   105k|    }
 2073|  38.3k|}
dictobject.c:build_indices_unicode:
 2077|  46.0k|{
 2078|  46.0k|    size_t mask = DK_MASK(keys);
  ------------------
  |  |  452|  46.0k|#define DK_MASK(dk) (DK_SIZE(dk)-1)
  |  |  ------------------
  |  |  |  |  262|  46.0k|#define DK_SIZE(dk)      (((int64_t)1)<<DK_LOG_SIZE(dk))
  |  |  |  |  ------------------
  |  |  |  |  |  |  260|  46.0k|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  277|  46.0k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2079|   630k|    for (Py_ssize_t ix = 0; ix != n; ix++, ep++) {
  ------------------
  |  Branch (2079:29): [True: 584k, False: 46.0k]
  ------------------
 2080|   584k|        Py_hash_t hash = unicode_get_hash(ep->me_key);
 2081|   584k|        assert(hash != -1);
 2082|   584k|        size_t i = hash & mask;
 2083|   697k|        for (size_t perturb = hash; dictkeys_get_index(keys, i) != DKIX_EMPTY;) {
  ------------------
  |  |  184|   697k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (2083:37): [True: 113k, False: 584k]
  ------------------
 2084|   113k|            perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  323|   113k|#define PERTURB_SHIFT 5
  ------------------
 2085|   113k|            i = mask & (i*5 + perturb + 1);
 2086|   113k|        }
 2087|   584k|        dictkeys_set_index(keys, i, ix);
 2088|   584k|    }
 2089|  46.0k|}
dictobject.c:set_values:
  277|  3.48k|{
  278|  3.48k|    mp->ma_values = values;
  279|  3.48k|}
dictobject.c:invalidate_and_clear_inline_values:
 2093|  3.50k|{
 2094|  3.50k|    assert(values->embedded);
 2095|  3.50k|    FT_ATOMIC_STORE_UINT8(values->valid, 0);
  ------------------
  |  |  154|  3.50k|#define FT_ATOMIC_STORE_UINT8(value, new_value) value = new_value
  ------------------
 2096|   108k|    for (int i = 0; i < values->capacity; i++) {
  ------------------
  |  Branch (2096:21): [True: 104k, False: 3.50k]
  ------------------
 2097|   104k|        FT_ATOMIC_STORE_PTR_RELEASE(values->values[i], NULL);
  ------------------
  |  |  163|   104k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 2098|   104k|    }
 2099|  3.50k|}
dictobject.c:free_keys_object:
  845|  4.91M|{
  846|       |#ifdef Py_GIL_DISABLED
  847|       |    if (use_qsbr) {
  848|       |        _PyMem_FreeDelayed(keys, _PyDict_KeysSize(keys));
  849|       |        return;
  850|       |    }
  851|       |#endif
  852|  4.91M|    if (DK_LOG_SIZE(keys) == PyDict_LOG_MINSIZE && keys->dk_kind == DICT_KEYS_UNICODE) {
  ------------------
  |  |  260|  4.91M|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  ------------------
  |  |  |  |  277|  4.91M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
                  if (DK_LOG_SIZE(keys) == PyDict_LOG_MINSIZE && keys->dk_kind == DICT_KEYS_UNICODE) {
  ------------------
  |  |  115|  9.83M|#define PyDict_LOG_MINSIZE 3
  ------------------
  |  Branch (852:9): [True: 4.85M, False: 58.7k]
  |  Branch (852:52): [True: 4.53M, False: 323k]
  ------------------
  853|  4.53M|        _Py_FREELIST_FREE(dictkeys, keys, PyMem_Free);
  ------------------
  |  |   35|  4.53M|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  4.53M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.53M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  4.53M|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   17|  4.53M|#  define Py_dictkeys_MAXFREELIST 80
  |  |  ------------------
  ------------------
  854|  4.53M|    }
  855|   381k|    else {
  856|   381k|        PyMem_Free(keys);
  857|   381k|    }
  858|  4.91M|}
dictobject.c:find_empty_slot:
 1818|  1.55M|{
 1819|  1.55M|    assert(keys != NULL);
 1820|       |
 1821|  1.55M|    const size_t mask = DK_MASK(keys);
  ------------------
  |  |  452|  1.55M|#define DK_MASK(dk) (DK_SIZE(dk)-1)
  |  |  ------------------
  |  |  |  |  262|  1.55M|#define DK_SIZE(dk)      (((int64_t)1)<<DK_LOG_SIZE(dk))
  |  |  |  |  ------------------
  |  |  |  |  |  |  260|  1.55M|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  277|  1.55M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1822|  1.55M|    size_t i = hash & mask;
 1823|  1.55M|    Py_ssize_t ix = dictkeys_get_index(keys, i);
 1824|  2.58M|    for (size_t perturb = hash; is_unusable_slot(ix);) {
  ------------------
  |  Branch (1824:33): [True: 1.02M, False: 1.55M]
  ------------------
 1825|  1.02M|        perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  323|  1.02M|#define PERTURB_SHIFT 5
  ------------------
 1826|  1.02M|        i = (i*5 + perturb + 1) & mask;
 1827|  1.02M|        ix = dictkeys_get_index(keys, i);
 1828|  1.02M|    }
 1829|  1.55M|    return i;
 1830|  1.55M|}
dictobject.c:is_unusable_slot:
 1805|  2.58M|{
 1806|       |#ifdef Py_GIL_DISABLED
 1807|       |    return ix >= 0 || ix == DKIX_DUMMY;
 1808|       |#else
 1809|  2.58M|    return ix >= 0;
 1810|  2.58M|#endif
 1811|  2.58M|}
dictobject.c:delitem_common:
 2881|  50.9k|{
 2882|  50.9k|    assert(can_modify_dict(mp));
 2883|       |
 2884|  50.9k|    PyObject *old_key;
 2885|       |
 2886|  50.9k|    Py_ssize_t hashpos = lookdict_index(mp->ma_keys, hash, ix);
 2887|  50.9k|    assert(hashpos >= 0);
 2888|       |
 2889|  50.9k|    STORE_USED(mp, mp->ma_used - 1);
  ------------------
  |  |  321|  50.9k|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  193|  50.9k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2890|  50.9k|    if (_PyDict_HasSplitTable(mp)) {
  ------------------
  |  |   56|  50.9k|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (56:34): [True: 0, False: 50.9k]
  |  |  ------------------
  ------------------
 2891|      0|        assert(old_value == mp->ma_values->values[ix]);
 2892|      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)
  |  |  ------------------
  |  |  |  |  163|      0|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2893|      0|        assert(ix < SHARED_KEYS_MAX_SIZE);
 2894|       |        /* Update order */
 2895|      0|        delete_index_from_values(mp->ma_values, ix);
 2896|      0|        ASSERT_CONSISTENT(mp);
  ------------------
  |  |  653|      0|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
 2897|      0|    }
 2898|  50.9k|    else {
 2899|  50.9k|        FT_ATOMIC_STORE_UINT32_RELAXED(mp->ma_keys->dk_version, 0);
  ------------------
  |  |  171|  50.9k|#define FT_ATOMIC_STORE_UINT32_RELAXED(value, new_value) value = new_value
  ------------------
 2900|  50.9k|        dictkeys_set_index(mp->ma_keys, hashpos, DKIX_DUMMY);
  ------------------
  |  |  185|  50.9k|#define DKIX_DUMMY (-2)  /* Used internally */
  ------------------
 2901|  50.9k|        if (DK_IS_UNICODE(mp->ma_keys)) {
  ------------------
  |  |  282|  50.9k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (282:27): [True: 24.6k, False: 26.3k]
  |  |  ------------------
  ------------------
 2902|  24.6k|            PyDictUnicodeEntry *ep = &DK_UNICODE_ENTRIES(mp->ma_keys)[ix];
 2903|  24.6k|            old_key = ep->me_key;
 2904|  24.6k|            STORE_KEY(ep, NULL);
  ------------------
  |  |  315|  24.6k|#define STORE_KEY(ep, key) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_key, key)
  |  |  ------------------
  |  |  |  |  163|  24.6k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2905|  24.6k|            STORE_VALUE(ep, NULL);
  ------------------
  |  |  316|  24.6k|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  163|  24.6k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2906|  24.6k|        }
 2907|  26.3k|        else {
 2908|  26.3k|            PyDictKeyEntry *ep = &DK_ENTRIES(mp->ma_keys)[ix];
 2909|  26.3k|            old_key = ep->me_key;
 2910|  26.3k|            STORE_KEY(ep, NULL);
  ------------------
  |  |  315|  26.3k|#define STORE_KEY(ep, key) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_key, key)
  |  |  ------------------
  |  |  |  |  163|  26.3k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2911|  26.3k|            STORE_VALUE(ep, NULL);
  ------------------
  |  |  316|  26.3k|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  163|  26.3k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2912|  26.3k|            STORE_HASH(ep, 0);
  ------------------
  |  |  318|  26.3k|#define STORE_HASH(ep, hash) FT_ATOMIC_STORE_SSIZE_RELAXED((ep)->me_hash, hash)
  |  |  ------------------
  |  |  |  |  193|  26.3k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 2913|  26.3k|        }
 2914|  50.9k|        Py_DECREF(old_key);
  ------------------
  |  |  430|  50.9k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  50.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  50.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2915|  50.9k|    }
 2916|  50.9k|    Py_DECREF(old_value);
  ------------------
  |  |  430|  50.9k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  50.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  50.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2917|       |
 2918|       |    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  653|  50.9k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
 2919|  50.9k|}
dictobject.c:lookdict_index:
 1033|   155k|{
 1034|   155k|    size_t mask = DK_MASK(k);
  ------------------
  |  |  452|   155k|#define DK_MASK(dk) (DK_SIZE(dk)-1)
  |  |  ------------------
  |  |  |  |  262|   155k|#define DK_SIZE(dk)      (((int64_t)1)<<DK_LOG_SIZE(dk))
  |  |  |  |  ------------------
  |  |  |  |  |  |  260|   155k|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  277|   155k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1035|   155k|    size_t perturb = (size_t)hash;
 1036|   155k|    size_t i = (size_t)hash & mask;
 1037|       |
 1038|   179k|    for (;;) {
 1039|   179k|        Py_ssize_t ix = dictkeys_get_index(k, i);
 1040|   179k|        if (ix == index) {
  ------------------
  |  Branch (1040:13): [True: 155k, False: 24.4k]
  ------------------
 1041|   155k|            return i;
 1042|   155k|        }
 1043|  24.4k|        if (ix == DKIX_EMPTY) {
  ------------------
  |  |  184|  24.4k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (1043:13): [True: 0, False: 24.4k]
  ------------------
 1044|      0|            return DKIX_EMPTY;
  ------------------
  |  |  184|      0|#define DKIX_EMPTY (-1)
  ------------------
 1045|      0|        }
 1046|  24.4k|        perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  323|  24.4k|#define PERTURB_SHIFT 5
  ------------------
 1047|  24.4k|        i = mask & (i*5 + perturb + 1);
 1048|  24.4k|    }
 1049|      0|    Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1050|   155k|}
dictobject.c:delete_index_from_values:
 2862|  62.6k|{
 2863|  62.6k|    uint8_t *array = get_insertion_order_array(values);
 2864|  62.6k|    int size = values->size;
 2865|  62.6k|    assert(size <= values->capacity);
 2866|  62.6k|    int i;
 2867|   167k|    for (i = 0; array[i] != ix; i++) {
  ------------------
  |  Branch (2867:17): [True: 104k, False: 62.6k]
  ------------------
 2868|   104k|        assert(i < size);
 2869|   104k|    }
 2870|  62.6k|    assert(i < size);
 2871|  62.6k|    size--;
 2872|   146k|    for (; i < size; i++) {
  ------------------
  |  Branch (2872:12): [True: 83.5k, False: 62.6k]
  ------------------
 2873|  83.5k|        array[i] = array[i+1];
 2874|  83.5k|    }
 2875|  62.6k|    values->size = size;
 2876|  62.6k|}
dictobject.c:delitemif_lock_held:
 2981|  8.44k|{
 2982|  8.44k|    PyDictObject *mp = _PyAnyDict_CAST(op);
  ------------------
  |  |  311|  8.44k|    (assert(PyAnyDict_Check(op)), _Py_CAST(PyDictObject*, op))
  |  |  ------------------
  |  |  |  |   37|  8.44k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2983|  8.44k|    assert(can_modify_dict(mp));
 2984|       |
 2985|  8.44k|    Py_ssize_t ix;
 2986|  8.44k|    Py_hash_t hash;
 2987|  8.44k|    PyObject *old_value;
 2988|  8.44k|    int res;
 2989|       |
 2990|  8.44k|    assert(key);
 2991|  8.44k|    hash = PyObject_Hash(key);
 2992|  8.44k|    if (hash == -1)
  ------------------
  |  Branch (2992:9): [True: 0, False: 8.44k]
  ------------------
 2993|      0|        return -1;
 2994|  8.44k|    ix = _Py_dict_lookup(mp, key, hash, &old_value);
 2995|  8.44k|    if (ix == DKIX_ERROR) {
  ------------------
  |  |  186|  8.44k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (2995:9): [True: 0, False: 8.44k]
  ------------------
 2996|      0|        return -1;
 2997|      0|    }
 2998|  8.44k|    if (ix == DKIX_EMPTY || old_value == NULL) {
  ------------------
  |  |  184|  16.8k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (2998:9): [True: 0, False: 8.44k]
  |  Branch (2998:29): [True: 0, False: 8.44k]
  ------------------
 2999|      0|        return 0;
 3000|      0|    }
 3001|       |
 3002|  8.44k|    res = predicate(old_value, arg);
 3003|  8.44k|    if (res == -1)
  ------------------
  |  Branch (3003:9): [True: 0, False: 8.44k]
  ------------------
 3004|      0|        return -1;
 3005|       |
 3006|  8.44k|    if (res > 0) {
  ------------------
  |  Branch (3006:9): [True: 8.44k, False: 0]
  ------------------
 3007|  8.44k|        _PyDict_NotifyEvent(PyDict_EVENT_DELETED, mp, key, NULL);
 3008|  8.44k|        delitem_common(mp, hash, ix, old_value);
 3009|  8.44k|        return 1;
 3010|  8.44k|    } else {
 3011|      0|        return 0;
 3012|      0|    }
 3013|  8.44k|}
dictobject.c:clear_lock_held:
 3049|  7.92k|{
 3050|  7.92k|    if (!PyDict_Check(op)) {
  ------------------
  |  |   18|  7.92k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  7.92k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3050:9): [True: 0, False: 7.92k]
  ------------------
 3051|      0|        return;
 3052|      0|    }
 3053|  7.92k|    PyDictObject *mp = (PyDictObject *)op;
 3054|  7.92k|    assert(can_modify_dict(mp));
 3055|       |
 3056|  7.92k|    PyDictKeysObject *oldkeys;
 3057|  7.92k|    PyDictValues *oldvalues;
 3058|  7.92k|    Py_ssize_t i, n;
 3059|       |
 3060|  7.92k|    oldkeys = mp->ma_keys;
 3061|  7.92k|    oldvalues = mp->ma_values;
 3062|  7.92k|    if (oldkeys == Py_EMPTY_KEYS) {
  ------------------
  |  |  645|  7.92k|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
  |  Branch (3062:9): [True: 59, False: 7.86k]
  ------------------
 3063|     59|        return;
 3064|     59|    }
 3065|       |    /* Empty the dict... */
 3066|  7.86k|    _PyDict_NotifyEvent(PyDict_EVENT_CLEARED, mp, NULL, NULL);
 3067|       |    // We don't inc ref empty keys because they're immortal
 3068|  7.86k|    ensure_shared_on_resize(mp);
 3069|  7.86k|    STORE_USED(mp, 0);
  ------------------
  |  |  321|  7.86k|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  193|  7.86k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 3070|  7.86k|    if (oldvalues == NULL) {
  ------------------
  |  Branch (3070:9): [True: 7.86k, False: 0]
  ------------------
 3071|  7.86k|        set_keys(mp, Py_EMPTY_KEYS);
  ------------------
  |  |  645|  7.86k|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
 3072|  7.86k|        assert(oldkeys->dk_refcnt == 1);
 3073|  7.86k|        dictkeys_decref(oldkeys, IS_DICT_SHARED(mp));
  ------------------
  |  |  258|  7.86k|#define IS_DICT_SHARED(mp) (false)
  ------------------
 3074|  7.86k|    }
 3075|      0|    else if (oldvalues->embedded) {
  ------------------
  |  Branch (3075:14): [True: 0, False: 0]
  ------------------
 3076|      0|        clear_embedded_values(oldvalues, oldkeys->dk_nentries);
 3077|      0|    }
 3078|      0|    else {
 3079|      0|        set_values(mp, NULL);
 3080|      0|        set_keys(mp, Py_EMPTY_KEYS);
  ------------------
  |  |  645|      0|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
 3081|      0|        n = oldkeys->dk_nentries;
 3082|      0|        for (i = 0; i < n; i++) {
  ------------------
  |  Branch (3082:21): [True: 0, False: 0]
  ------------------
 3083|      0|            Py_CLEAR(oldvalues->values[i]);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 3084|      0|        }
 3085|      0|        free_values(oldvalues, IS_DICT_SHARED(mp));
  ------------------
  |  |  258|      0|#define IS_DICT_SHARED(mp) (false)
  ------------------
 3086|      0|        dictkeys_decref(oldkeys, false);
 3087|      0|    }
 3088|       |    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  653|  7.86k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
 3089|  7.86k|}
dictobject.c:pop_lock_held:
 3244|  10.2k|{
 3245|  10.2k|    if (!PyDict_Check(op)) {
  ------------------
  |  |   18|  10.2k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  10.2k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3245:9): [True: 0, False: 10.2k]
  ------------------
 3246|      0|        if (result) {
  ------------------
  |  Branch (3246:13): [True: 0, False: 0]
  ------------------
 3247|      0|            *result = NULL;
 3248|      0|        }
 3249|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3250|      0|            frozendict_does_not_support("deletion");
  ------------------
  |  | 2725|      0|    PyErr_SetString(PyExc_TypeError, "frozendict object does " \
  |  | 2726|      0|                    "not support item " WHAT)
  ------------------
 3251|      0|        }
 3252|      0|        else {
 3253|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3254|      0|        }
 3255|      0|        return -1;
 3256|      0|    }
 3257|  10.2k|    PyDictObject *dict = (PyDictObject *)op;
 3258|  10.2k|    assert(can_modify_dict(dict));
 3259|       |
 3260|  10.2k|    if (dict->ma_used == 0) {
  ------------------
  |  Branch (3260:9): [True: 4, False: 10.2k]
  ------------------
 3261|      4|        if (result) {
  ------------------
  |  Branch (3261:13): [True: 4, False: 0]
  ------------------
 3262|      4|            *result = NULL;
 3263|      4|        }
 3264|      4|        return 0;
 3265|      4|    }
 3266|       |
 3267|  10.2k|    Py_hash_t hash = _PyObject_HashFast(key);
 3268|  10.2k|    if (hash == -1) {
  ------------------
  |  Branch (3268:9): [True: 0, False: 10.2k]
  ------------------
 3269|      0|        dict_unhashable_type(op, key);
 3270|      0|        if (result) {
  ------------------
  |  Branch (3270:13): [True: 0, False: 0]
  ------------------
 3271|      0|            *result = NULL;
 3272|      0|        }
 3273|      0|        return -1;
 3274|      0|    }
 3275|  10.2k|    return _PyDict_Pop_KnownHash(dict, key, hash, result);
 3276|  10.2k|}
dictobject.c:dict_pop_default:
 3309|  1.18k|{
 3310|  1.18k|    PyObject *result;
 3311|  1.18k|    if (PyDict_Pop(dict, key, &result) == 0) {
  ------------------
  |  Branch (3311:9): [True: 355, False: 834]
  ------------------
 3312|    355|        if (default_value != NULL) {
  ------------------
  |  Branch (3312:13): [True: 355, False: 0]
  ------------------
 3313|    355|            return Py_NewRef(default_value);
  ------------------
  |  |  550|    355|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    355|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    355|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3314|    355|        }
 3315|      0|        _PyErr_SetKeyError(key);
 3316|      0|        return NULL;
 3317|    355|    }
 3318|    834|    return result;
 3319|  1.18k|}
dictobject.c:keys_lock_held:
 3730|  4.93k|{
 3731|  4.93k|    ASSERT_DICT_LOCKED(dict);
 3732|       |
 3733|  4.93k|    if (dict == NULL || !PyAnyDict_Check(dict)) {
  ------------------
  |  |   43|  4.93k|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|  4.93k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  9.86k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 4.93k, 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 (3733:9): [True: 0, False: 4.93k]
  ------------------
 3734|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3735|      0|        return NULL;
 3736|      0|    }
 3737|  4.93k|    PyDictObject *mp = (PyDictObject *)dict;
 3738|  4.93k|    PyObject *v;
 3739|  4.93k|    Py_ssize_t n;
 3740|       |
 3741|  4.93k|  again:
 3742|  4.93k|    n = mp->ma_used;
 3743|  4.93k|    v = PyList_New(n);
 3744|  4.93k|    if (v == NULL)
  ------------------
  |  Branch (3744:9): [True: 0, False: 4.93k]
  ------------------
 3745|      0|        return NULL;
 3746|  4.93k|    if (n != mp->ma_used) {
  ------------------
  |  Branch (3746:9): [True: 0, False: 4.93k]
  ------------------
 3747|       |        /* Durnit.  The allocations caused the dict to resize.
 3748|       |         * Just start over, this shouldn't normally happen.
 3749|       |         */
 3750|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3751|      0|        goto again;
 3752|      0|    }
 3753|       |
 3754|       |    /* Nothing we do below makes any function calls. */
 3755|  4.93k|    Py_ssize_t j = 0, pos = 0;
 3756|  4.93k|    PyObject *key;
 3757|  37.9k|    while (_PyDict_Next((PyObject*)mp, &pos, &key, NULL, NULL)) {
  ------------------
  |  Branch (3757:12): [True: 33.0k, False: 4.93k]
  ------------------
 3758|  33.0k|        assert(j < n);
 3759|  33.0k|        PyList_SET_ITEM(v, j, Py_NewRef(key));
  ------------------
  |  |   50|  33.0k|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  33.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  33.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  33.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  33.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3760|  33.0k|        j++;
 3761|  33.0k|    }
 3762|       |    assert(j == n);
 3763|  4.93k|    return v;
 3764|  4.93k|}
dictobject.c:dict_merge_from_seq2:
 4055|     91|{
 4056|     91|    int res;
 4057|     91|    Py_BEGIN_CRITICAL_SECTION(d);
  ------------------
  |  |   51|     91|    {
  ------------------
 4058|     91|    res = merge_from_seq2_lock_held(d, seq2, override);
 4059|     91|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     91|    }
  ------------------
 4060|       |
 4061|     91|    return res;
 4062|     91|}
dictobject.c:merge_from_seq2_lock_held:
 3969|     91|{
 3970|     91|    PyObject *it;       /* iter(seq2) */
 3971|     91|    Py_ssize_t i;       /* index into seq2 of current element */
 3972|     91|    PyObject *item;     /* seq2[i] */
 3973|     91|    PyObject *fast;     /* item as a 2-tuple or 2-list */
 3974|       |
 3975|     91|    assert(d != NULL);
 3976|     91|    assert(PyAnyDict_Check(d));
 3977|     91|    assert(seq2 != NULL);
 3978|       |
 3979|     91|    it = PyObject_GetIter(seq2);
 3980|     91|    if (it == NULL)
  ------------------
  |  Branch (3980:9): [True: 0, False: 91]
  ------------------
 3981|      0|        return -1;
 3982|       |
 3983|    957|    for (i = 0; ; ++i) {
 3984|    957|        PyObject *key, *value;
 3985|    957|        Py_ssize_t n;
 3986|       |
 3987|    957|        fast = NULL;
 3988|    957|        item = PyIter_Next(it);
 3989|    957|        if (item == NULL) {
  ------------------
  |  Branch (3989:13): [True: 91, False: 866]
  ------------------
 3990|     91|            if (PyErr_Occurred())
  ------------------
  |  Branch (3990:17): [True: 0, False: 91]
  ------------------
 3991|      0|                goto Fail;
 3992|     91|            break;
 3993|     91|        }
 3994|       |
 3995|       |        /* Convert item to sequence, and verify length 2. */
 3996|    866|        fast = PySequence_Fast(item, "object is not iterable");
 3997|    866|        if (fast == NULL) {
  ------------------
  |  Branch (3997:13): [True: 0, False: 866]
  ------------------
 3998|      0|            if (PyErr_ExceptionMatches(PyExc_TypeError)) {
  ------------------
  |  Branch (3998:17): [True: 0, False: 0]
  ------------------
 3999|      0|                _PyErr_FormatNote(
 4000|      0|                    "Cannot convert dictionary update "
 4001|      0|                    "sequence element #%zd to a sequence",
 4002|      0|                    i);
 4003|      0|            }
 4004|      0|            goto Fail;
 4005|      0|        }
 4006|    866|        n = PySequence_Fast_GET_SIZE(fast);
  ------------------
  |  |   92|    866|    (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   25|    866|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    866|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 30, False: 836]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   38|     30|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     30|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     30|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   27|    836|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    836|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    836|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4007|    866|        if (n != 2) {
  ------------------
  |  Branch (4007:13): [True: 0, False: 866]
  ------------------
 4008|      0|            PyErr_Format(PyExc_ValueError,
 4009|      0|                         "dictionary update sequence element #%zd "
 4010|      0|                         "has length %zd; 2 is required",
 4011|      0|                         i, n);
 4012|      0|            goto Fail;
 4013|      0|        }
 4014|       |
 4015|       |        /* Update/merge with this (key, value) pair. */
 4016|    866|        key = PySequence_Fast_GET_ITEM(fast, 0);
  ------------------
  |  |   97|    866|     (PyList_Check(o) ? PyList_GET_ITEM((o), (i)) : PyTuple_GET_ITEM((o), (i)))
  |  |  ------------------
  |  |  |  |   25|    866|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    866|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 30, False: 836]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                    (PyList_Check(o) ? PyList_GET_ITEM((o), (i)) : PyTuple_GET_ITEM((o), (i)))
  |  |  ------------------
  |  |  |  |   40|     30|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|     30|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     30|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                    (PyList_Check(o) ? PyList_GET_ITEM((o), (i)) : PyTuple_GET_ITEM((o), (i)))
  |  |  ------------------
  |  |  |  |   29|    836|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   19|    836|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    836|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4017|    866|        value = PySequence_Fast_GET_ITEM(fast, 1);
  ------------------
  |  |   97|    866|     (PyList_Check(o) ? PyList_GET_ITEM((o), (i)) : PyTuple_GET_ITEM((o), (i)))
  |  |  ------------------
  |  |  |  |   25|    866|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    866|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 30, False: 836]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                    (PyList_Check(o) ? PyList_GET_ITEM((o), (i)) : PyTuple_GET_ITEM((o), (i)))
  |  |  ------------------
  |  |  |  |   40|     30|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|     30|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     30|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                    (PyList_Check(o) ? PyList_GET_ITEM((o), (i)) : PyTuple_GET_ITEM((o), (i)))
  |  |  ------------------
  |  |  |  |   29|    836|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   19|    836|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    836|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4018|    866|        Py_INCREF(key);
  ------------------
  |  |  310|    866|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    866|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    866|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4019|    866|        Py_INCREF(value);
  ------------------
  |  |  310|    866|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    866|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    866|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4020|    866|        if (override) {
  ------------------
  |  Branch (4020:13): [True: 866, False: 0]
  ------------------
 4021|    866|            if (setitem_lock_held((PyDictObject *)d, key, value) < 0) {
  ------------------
  |  Branch (4021:17): [True: 0, False: 866]
  ------------------
 4022|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4023|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4024|      0|                goto Fail;
 4025|      0|            }
 4026|    866|        }
 4027|      0|        else {
 4028|      0|            if (dict_setdefault_ref_lock_held(d, key, value, NULL, 0) < 0) {
  ------------------
  |  Branch (4028:17): [True: 0, False: 0]
  ------------------
 4029|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4030|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4031|      0|                goto Fail;
 4032|      0|            }
 4033|      0|        }
 4034|       |
 4035|    866|        Py_DECREF(key);
  ------------------
  |  |  430|    866|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    866|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    866|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4036|    866|        Py_DECREF(value);
  ------------------
  |  |  430|    866|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    866|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    866|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4037|    866|        Py_DECREF(fast);
  ------------------
  |  |  430|    866|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    866|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    866|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4038|    866|        Py_DECREF(item);
  ------------------
  |  |  430|    866|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    866|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    866|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4039|    866|    }
 4040|       |
 4041|     91|    i = 0;
 4042|     91|    ASSERT_CONSISTENT(d);
  ------------------
  |  |  653|     91|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
 4043|     91|    goto Return;
 4044|      0|Fail:
 4045|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4046|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4047|      0|    i = -1;
 4048|     91|Return:
 4049|     91|    Py_DECREF(it);
  ------------------
  |  |  430|     91|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     91|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     91|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4050|     91|    return Py_SAFE_DOWNCAST(i, Py_ssize_t, int);
  ------------------
  |  |  247|     91|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  ------------------
  |  |  |  |   34|     91|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 4051|      0|}
dictobject.c:dict_merge:
 4179|  2.14M|{
 4180|  2.14M|    assert(a != NULL);
 4181|  2.14M|    assert(b != NULL);
 4182|  2.14M|    assert(0 <= override && override <= 2);
 4183|       |
 4184|  2.14M|    PyDictObject *mp = _PyAnyDict_CAST(a);
  ------------------
  |  |  311|  2.14M|    (assert(PyAnyDict_Check(op)), _Py_CAST(PyDictObject*, op))
  |  |  ------------------
  |  |  |  |   37|  2.14M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 4185|  2.14M|    int res = 0;
 4186|  2.14M|    if (PyAnyDict_Check(b) && (Py_TYPE(b)->tp_iter == dict_iter)) {
  ------------------
  |  |   43|  4.28M|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|  2.14M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  4.28M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 2.14M, False: 156]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   37|    156|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|    156|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    156|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    156|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 2, False: 154]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyAnyDict_Check(b) && (Py_TYPE(b)->tp_iter == dict_iter)) {
  ------------------
  |  |  213|  2.14M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.14M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.14M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4186:31): [True: 2.14M, False: 0]
  ------------------
 4187|  2.14M|        PyDictObject *other = (PyDictObject*)b;
 4188|  2.14M|        int res;
 4189|  2.14M|        Py_BEGIN_CRITICAL_SECTION2(a, b);
  ------------------
  |  |   57|  2.14M|    {
  ------------------
 4190|  2.14M|        res = dict_dict_merge((PyDictObject *)a, other, override, dupkey);
 4191|  2.14M|        ASSERT_CONSISTENT(a);
  ------------------
  |  |  653|  2.14M|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
 4192|  2.14M|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|  2.14M|    }
  ------------------
 4193|  2.14M|        return res;
 4194|  2.14M|    }
 4195|    154|    else {
 4196|       |        /* Do it the generic, slower way */
 4197|    154|        Py_BEGIN_CRITICAL_SECTION(a);
  ------------------
  |  |   51|    154|    {
  ------------------
 4198|    154|        PyObject *keys = PyMapping_Keys(b);
 4199|    154|        PyObject *iter;
 4200|    154|        PyObject *key, *value;
 4201|    154|        int status;
 4202|       |
 4203|    154|        if (keys == NULL) {
  ------------------
  |  Branch (4203:13): [True: 0, False: 154]
  ------------------
 4204|       |            /* Docstring says this is equivalent to E.keys() so
 4205|       |             * if E doesn't have a .keys() method we want
 4206|       |             * AttributeError to percolate up.  Might as well
 4207|       |             * do the same for any other error.
 4208|       |             */
 4209|      0|            res = -1;
 4210|      0|            goto slow_exit;
 4211|      0|        }
 4212|       |
 4213|    154|        iter = PyObject_GetIter(keys);
 4214|    154|        Py_DECREF(keys);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4215|    154|        if (iter == NULL) {
  ------------------
  |  Branch (4215:13): [True: 0, False: 154]
  ------------------
 4216|      0|            res = -1;
 4217|      0|            goto slow_exit;
 4218|      0|        }
 4219|       |
 4220|  3.44k|        for (key = PyIter_Next(iter); key; key = PyIter_Next(iter)) {
  ------------------
  |  Branch (4220:39): [True: 3.29k, False: 154]
  ------------------
 4221|  3.29k|            if (override != 1) {
  ------------------
  |  Branch (4221:17): [True: 0, False: 3.29k]
  ------------------
 4222|      0|                status = dict_contains(a, key);
 4223|      0|                if (status != 0) {
  ------------------
  |  Branch (4223:21): [True: 0, False: 0]
  ------------------
 4224|      0|                    if (status > 0) {
  ------------------
  |  Branch (4224:25): [True: 0, False: 0]
  ------------------
 4225|      0|                        if (dupkey == NULL) {
  ------------------
  |  Branch (4225:29): [True: 0, False: 0]
  ------------------
 4226|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4227|      0|                            continue;
 4228|      0|                        }
 4229|      0|                        *dupkey = key;
 4230|      0|                        res = -2;
 4231|      0|                    }
 4232|      0|                    else {
 4233|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4234|      0|                        res = -1;
 4235|      0|                    }
 4236|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4237|      0|                    goto slow_exit;
 4238|      0|                }
 4239|      0|            }
 4240|  3.29k|            value = PyObject_GetItem(b, key);
 4241|  3.29k|            if (value == NULL) {
  ------------------
  |  Branch (4241:17): [True: 0, False: 3.29k]
  ------------------
 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|                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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4244|      0|                res = -1;
 4245|      0|                goto slow_exit;
 4246|      0|            }
 4247|  3.29k|            status = setitem_lock_held(mp, key, value);
 4248|  3.29k|            Py_DECREF(key);
  ------------------
  |  |  430|  3.29k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.29k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.29k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4249|  3.29k|            Py_DECREF(value);
  ------------------
  |  |  430|  3.29k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.29k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.29k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4250|  3.29k|            if (status < 0) {
  ------------------
  |  Branch (4250:17): [True: 0, False: 3.29k]
  ------------------
 4251|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4252|      0|                res = -1;
 4253|      0|                goto slow_exit;
 4254|      0|                return -1;
 4255|      0|            }
 4256|  3.29k|        }
 4257|    154|        Py_DECREF(iter);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4258|    154|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (4258:13): [True: 0, False: 154]
  ------------------
 4259|       |            /* Iterator completed, via error */
 4260|      0|            res = -1;
 4261|      0|            goto slow_exit;
 4262|      0|        }
 4263|       |
 4264|    154|slow_exit:
 4265|    154|        ASSERT_CONSISTENT(a);
  ------------------
  |  |  653|    154|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
 4266|    154|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    154|    }
  ------------------
 4267|    154|        return res;
 4268|    154|    }
 4269|  2.14M|}
dictobject.c:dict_dict_merge:
 4084|  2.14M|{
 4085|  2.14M|    assert(can_modify_dict(mp));
 4086|  2.14M|    ASSERT_DICT_LOCKED(other);
 4087|       |
 4088|  2.14M|    if (other == mp || other->ma_used == 0)
  ------------------
  |  Branch (4088:9): [True: 0, False: 2.14M]
  |  Branch (4088:24): [True: 72.3k, False: 2.06M]
  ------------------
 4089|       |        /* a.update(a) or a.update({}); nothing to do */
 4090|  72.3k|        return 0;
 4091|  2.06M|    if (mp->ma_used == 0) {
  ------------------
  |  Branch (4091:9): [True: 2.06M, False: 442]
  ------------------
 4092|       |        /* Since the target dict is empty, _PyDict_Contains_KnownHash()
 4093|       |         * always returns 0.  Setting override to 1
 4094|       |         * skips the unnecessary test.
 4095|       |         */
 4096|  2.06M|        override = 1;
 4097|  2.06M|        PyDictKeysObject *okeys = other->ma_keys;
 4098|       |
 4099|       |        // If other is clean, combined, and just allocated, just clone it.
 4100|  2.06M|        if (mp->ma_values == NULL &&
  ------------------
  |  Branch (4100:13): [True: 2.06M, False: 8]
  ------------------
 4101|  2.06M|            other->ma_values == NULL &&
  ------------------
  |  Branch (4101:13): [True: 2.06M, False: 0]
  ------------------
 4102|  2.06M|            other->ma_used == okeys->dk_nentries &&
  ------------------
  |  Branch (4102:13): [True: 2.06M, False: 0]
  ------------------
 4103|  2.06M|            (DK_LOG_SIZE(okeys) == PyDict_LOG_MINSIZE ||
  ------------------
  |  |  260|  2.06M|#define DK_LOG_SIZE(dk)  _Py_RVALUE((dk)->dk_log2_size)
  |  |  ------------------
  |  |  |  |  277|  2.06M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
                          (DK_LOG_SIZE(okeys) == PyDict_LOG_MINSIZE ||
  ------------------
  |  |  115|  4.13M|#define PyDict_LOG_MINSIZE 3
  ------------------
  |  Branch (4103:14): [True: 2.06M, False: 200]
  ------------------
 4104|    200|             USABLE_FRACTION(DK_SIZE(okeys)/2) < other->ma_used)
  ------------------
  |  |  575|    200|#define USABLE_FRACTION(n) (((n) << 1)/3)
  ------------------
  |  Branch (4104:14): [True: 200, False: 0]
  ------------------
 4105|  2.06M|        ) {
 4106|  2.06M|            _PyDict_NotifyEvent(PyDict_EVENT_CLONED, mp, (PyObject *)other, NULL);
 4107|  2.06M|            PyDictKeysObject *keys = clone_combined_dict_keys(other);
 4108|  2.06M|            if (keys == NULL)
  ------------------
  |  Branch (4108:17): [True: 0, False: 2.06M]
  ------------------
 4109|      0|                return -1;
 4110|       |
 4111|  2.06M|            ensure_shared_on_resize(mp);
 4112|  2.06M|            dictkeys_decref(mp->ma_keys, IS_DICT_SHARED(mp));
  ------------------
  |  |  258|  2.06M|#define IS_DICT_SHARED(mp) (false)
  ------------------
 4113|  2.06M|            set_keys(mp, keys);
 4114|  2.06M|            STORE_USED(mp, other->ma_used);
  ------------------
  |  |  321|  2.06M|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  193|  2.06M|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 4115|  2.06M|            ASSERT_CONSISTENT(mp);
  ------------------
  |  |  653|  2.06M|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
 4116|       |
 4117|  2.06M|            if (_PyObject_GC_IS_TRACKED(other) && !_PyObject_GC_IS_TRACKED(mp)) {
  ------------------
  |  |   81|  4.13M|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|  2.06M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (81:37): [True: 2.06M, False: 0]
  |  |  ------------------
  ------------------
                          if (_PyObject_GC_IS_TRACKED(other) && !_PyObject_GC_IS_TRACKED(mp)) {
  ------------------
  |  |   81|  2.06M|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|  2.06M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (4117:51): [True: 0, False: 2.06M]
  ------------------
 4118|       |                /* Maintain tracking. */
 4119|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4120|      0|            }
 4121|       |
 4122|  2.06M|            return 0;
 4123|  2.06M|        }
 4124|  2.06M|    }
 4125|       |    /* Do one big resize at the start, rather than
 4126|       |        * incrementally resizing as we insert new items.  Expect
 4127|       |        * that there will be no (or few) overlapping keys.
 4128|       |        */
 4129|    450|    if (USABLE_FRACTION(DK_SIZE(mp->ma_keys)) < other->ma_used) {
  ------------------
  |  |  575|    450|#define USABLE_FRACTION(n) (((n) << 1)/3)
  ------------------
  |  Branch (4129:9): [True: 2, False: 448]
  ------------------
 4130|      2|        int unicode = DK_IS_UNICODE(other->ma_keys);
  ------------------
  |  |  282|      2|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  ------------------
 4131|      2|        if (dictresize(mp, estimate_log2_keysize(mp->ma_used + other->ma_used),
  ------------------
  |  Branch (4131:13): [True: 0, False: 2]
  ------------------
 4132|      2|                        unicode)) {
 4133|      0|            return -1;
 4134|      0|        }
 4135|      2|    }
 4136|       |
 4137|    450|    Py_ssize_t orig_size = other->ma_used;
 4138|    450|    Py_ssize_t pos = 0;
 4139|    450|    Py_hash_t hash;
 4140|    450|    PyObject *key, *value;
 4141|       |
 4142|  6.55k|    while (_PyDict_Next((PyObject*)other, &pos, &key, &value, &hash)) {
  ------------------
  |  Branch (4142:12): [True: 6.10k, False: 450]
  ------------------
 4143|  6.10k|        int err = 0;
 4144|  6.10k|        Py_INCREF(key);
  ------------------
  |  |  310|  6.10k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.10k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.10k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4145|  6.10k|        Py_INCREF(value);
  ------------------
  |  |  310|  6.10k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.10k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.10k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4146|  6.10k|        if (override == 1) {
  ------------------
  |  Branch (4146:13): [True: 6.10k, False: 4]
  ------------------
 4147|  6.10k|            err = insertdict(mp, Py_NewRef(key), hash, Py_NewRef(value));
  ------------------
  |  |  550|  6.10k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  6.10k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.10k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          err = insertdict(mp, Py_NewRef(key), hash, Py_NewRef(value));
  ------------------
  |  |  550|  6.10k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  6.10k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.10k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4148|  6.10k|        }
 4149|      4|        else {
 4150|      4|            err = _PyDict_Contains_KnownHash((PyObject *)mp, key, hash);
 4151|      4|            if (err == 0) {
  ------------------
  |  Branch (4151:17): [True: 4, False: 0]
  ------------------
 4152|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4153|      4|            }
 4154|      0|            else if (err > 0) {
  ------------------
  |  Branch (4154:22): [True: 0, False: 0]
  ------------------
 4155|      0|                if (dupkey != NULL) {
  ------------------
  |  Branch (4155:21): [True: 0, False: 0]
  ------------------
 4156|      0|                    *dupkey = key;
 4157|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4158|      0|                    return -2;
 4159|      0|                }
 4160|      0|                err = 0;
 4161|      0|            }
 4162|      4|        }
 4163|  6.10k|        Py_DECREF(value);
  ------------------
  |  |  430|  6.10k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.10k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.10k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4164|  6.10k|        Py_DECREF(key);
  ------------------
  |  |  430|  6.10k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.10k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.10k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4165|  6.10k|        if (err != 0)
  ------------------
  |  Branch (4165:13): [True: 0, False: 6.10k]
  ------------------
 4166|      0|            return -1;
 4167|       |
 4168|  6.10k|        if (orig_size != other->ma_used) {
  ------------------
  |  Branch (4168:13): [True: 0, False: 6.10k]
  ------------------
 4169|      0|            PyErr_SetString(PyExc_RuntimeError,
 4170|      0|                    "dict mutated during update");
 4171|      0|            return -1;
 4172|      0|        }
 4173|  6.10k|    }
 4174|    450|    return 0;
 4175|    450|}
dictobject.c:clone_combined_dict_keys:
  964|  2.07M|{
  965|  2.07M|    assert(PyAnyDict_Check(orig));
  966|  2.07M|    assert(Py_TYPE(orig)->tp_iter == dict_iter);
  967|  2.07M|    assert(orig->ma_values == NULL);
  968|  2.07M|    assert(orig->ma_keys != Py_EMPTY_KEYS);
  969|  2.07M|    assert(orig->ma_keys->dk_refcnt == 1);
  970|       |
  971|  2.07M|    if (!PyFrozenDict_Check(orig)) {
  ------------------
  |  |   37|  2.07M|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|  2.07M|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_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 (971:9): [True: 2.07M, False: 2]
  ------------------
  972|  2.07M|        ASSERT_DICT_LOCKED(orig);
  973|  2.07M|    }
  974|       |
  975|  2.07M|    size_t keys_size = _PyDict_KeysSize(orig->ma_keys);
  976|  2.07M|    PyDictKeysObject *keys = PyMem_Malloc(keys_size);
  977|  2.07M|    if (keys == NULL) {
  ------------------
  |  Branch (977:9): [True: 0, False: 2.07M]
  ------------------
  978|      0|        PyErr_NoMemory();
  979|      0|        return NULL;
  980|      0|    }
  981|       |
  982|  2.07M|    memcpy(keys, orig->ma_keys, keys_size);
  983|       |
  984|       |    /* After copying key/value pairs, we need to incref all
  985|       |       keys and values and they are about to be co-owned by a
  986|       |       new dict object. */
  987|  2.07M|    PyObject **pkey, **pvalue;
  988|  2.07M|    size_t offs;
  989|  2.07M|    if (DK_IS_UNICODE(orig->ma_keys)) {
  ------------------
  |  |  282|  2.07M|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (282:27): [True: 2.07M, False: 3.45k]
  |  |  ------------------
  ------------------
  990|  2.07M|        PyDictUnicodeEntry *ep0 = DK_UNICODE_ENTRIES(keys);
  991|  2.07M|        pkey = &ep0->me_key;
  992|  2.07M|        pvalue = &ep0->me_value;
  993|  2.07M|        offs = sizeof(PyDictUnicodeEntry) / sizeof(PyObject*);
  994|  2.07M|    }
  995|  3.45k|    else {
  996|  3.45k|        PyDictKeyEntry *ep0 = DK_ENTRIES(keys);
  997|  3.45k|        pkey = &ep0->me_key;
  998|  3.45k|        pvalue = &ep0->me_value;
  999|  3.45k|        offs = sizeof(PyDictKeyEntry) / sizeof(PyObject*);
 1000|  3.45k|    }
 1001|       |
 1002|  2.07M|    Py_ssize_t n = keys->dk_nentries;
 1003|  4.49M|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (1003:28): [True: 2.42M, False: 2.07M]
  ------------------
 1004|  2.42M|        PyObject *value = *pvalue;
 1005|  2.42M|        if (value != NULL) {
  ------------------
  |  Branch (1005:13): [True: 2.41M, False: 3.73k]
  ------------------
 1006|  2.41M|            Py_INCREF(value);
  ------------------
  |  |  310|  2.41M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.41M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.41M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1007|  2.41M|            Py_INCREF(*pkey);
  ------------------
  |  |  310|  2.41M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.41M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.41M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1008|  2.41M|        }
 1009|  2.42M|        pvalue += offs;
 1010|  2.42M|        pkey += offs;
 1011|  2.42M|    }
 1012|       |
 1013|       |    /* Since we copied the keys table we now have an extra reference
 1014|       |       in the system.  Manually call increment _Py_RefTotal to signal that
 1015|       |       we have it now; calling dictkeys_incref would be an error as
 1016|       |       keys->dk_refcnt is already set to 1 (after memcpy). */
 1017|       |#ifdef Py_REF_DEBUG
 1018|       |    _Py_IncRefTotal(_PyThreadState_GET());
 1019|       |#endif
 1020|  2.07M|    return keys;
 1021|  2.07M|}
dictobject.c:dict_merge_api:
 4273|  2.12M|{
 4274|       |    /* We accept for the argument either a concrete dictionary object,
 4275|       |     * or an abstract "mapping" object.  For the former, we can do
 4276|       |     * things quite efficiently.  For the latter, we only require that
 4277|       |     * PyMapping_Keys() and PyObject_GetItem() be supported.
 4278|       |     */
 4279|  2.12M|    if (a == NULL || !PyDict_Check(a) || b == NULL) {
  ------------------
  |  |   18|  2.12M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.25M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4279:9): [True: 0, False: 2.12M]
  |  Branch (4279:22): [True: 0, False: 2.12M]
  |  Branch (4279:42): [True: 0, False: 2.12M]
  ------------------
 4280|      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 (4280:13): [True: 0, False: 0]
  ------------------
 4281|      0|            frozendict_does_not_support("assignment");
  ------------------
  |  | 2725|      0|    PyErr_SetString(PyExc_TypeError, "frozendict object does " \
  |  | 2726|      0|                    "not support item " WHAT)
  ------------------
 4282|      0|        }
 4283|      0|        else {
 4284|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 4285|      0|        }
 4286|      0|        return -1;
 4287|      0|    }
 4288|  2.12M|    return dict_merge(a, b, override, dupkey);
 4289|  2.12M|}
dictobject.c:copy_lock_held:
 4346|  8.30k|{
 4347|  8.30k|    PyObject *copy;
 4348|  8.30k|    PyDictObject *mp;
 4349|       |
 4350|       |    // frozendict is immutable and so doesn't need critical section
 4351|  8.30k|    if (!PyFrozenDict_Check(o)) {
  ------------------
  |  |   37|  8.30k|#define PyFrozenDict_Check(op) PyObject_TypeCheck((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  378|  8.30k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  8.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  8.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4351:9): [True: 8.30k, False: 0]
  ------------------
 4352|  8.30k|        ASSERT_DICT_LOCKED(o);
 4353|  8.30k|    }
 4354|       |
 4355|  8.30k|    mp = (PyDictObject *)o;
 4356|  8.30k|    if (mp->ma_used == 0) {
  ------------------
  |  Branch (4356:9): [True: 8, False: 8.29k]
  ------------------
 4357|       |        /* The dict is empty; just return a new dict. */
 4358|      8|        if (as_frozendict) {
  ------------------
  |  Branch (4358:13): [True: 0, False: 8]
  ------------------
 4359|      0|            return PyFrozenDict_New(NULL);
 4360|      0|        }
 4361|      8|        else {
 4362|      8|            return PyDict_New();
 4363|      8|        }
 4364|      8|    }
 4365|       |
 4366|  8.29k|    if (_PyDict_HasSplitTable(mp)) {
  ------------------
  |  |   56|  8.29k|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (56:34): [True: 0, False: 8.29k]
  |  |  ------------------
  ------------------
 4367|      0|        PyDictObject *split_copy;
 4368|      0|        PyDictValues *newvalues = copy_values(mp->ma_values);
 4369|      0|        if (newvalues == NULL) {
  ------------------
  |  Branch (4369:13): [True: 0, False: 0]
  ------------------
 4370|      0|            return PyErr_NoMemory();
 4371|      0|        }
 4372|      0|        if (as_frozendict) {
  ------------------
  |  Branch (4372:13): [True: 0, False: 0]
  ------------------
 4373|      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))
  |  |  ------------------
  ------------------
 4374|      0|                                                         &PyFrozenDict_Type);
 4375|      0|        }
 4376|      0|        else {
 4377|      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))
  |  |  ------------------
  ------------------
 4378|      0|        }
 4379|      0|        if (split_copy == NULL) {
  ------------------
  |  Branch (4379:13): [True: 0, False: 0]
  ------------------
 4380|      0|            free_values(newvalues, false);
 4381|      0|            return NULL;
 4382|      0|        }
 4383|      0|        for (size_t i = 0; i < newvalues->capacity; i++) {
  ------------------
  |  Branch (4383:28): [True: 0, False: 0]
  ------------------
 4384|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4385|      0|        }
 4386|      0|        split_copy->ma_values = newvalues;
 4387|      0|        split_copy->ma_keys = mp->ma_keys;
 4388|      0|        split_copy->ma_used = mp->ma_used;
 4389|      0|        split_copy->_ma_watcher_tag = 0;
 4390|      0|        dictkeys_incref(mp->ma_keys);
 4391|      0|        if (as_frozendict) {
  ------------------
  |  Branch (4391:13): [True: 0, False: 0]
  ------------------
 4392|      0|            PyFrozenDictObject *frozen = (PyFrozenDictObject *)split_copy;
 4393|      0|            frozen->ma_hash = -1;
 4394|      0|        }
 4395|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4396|      0|        return (PyObject *)split_copy;
 4397|      0|    }
 4398|       |
 4399|  8.29k|    if (Py_TYPE(mp)->tp_iter == dict_iter &&
  ------------------
  |  |  213|  8.29k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.29k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.29k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4399:9): [True: 8.29k, False: 0]
  ------------------
 4400|  8.29k|            mp->ma_values == NULL &&
  ------------------
  |  Branch (4400:13): [True: 8.29k, False: 0]
  ------------------
 4401|  8.29k|            (mp->ma_used >= (mp->ma_keys->dk_nentries * 2) / 3))
  ------------------
  |  Branch (4401:13): [True: 8.29k, False: 0]
  ------------------
 4402|  8.29k|    {
 4403|       |        /* Use fast-copy if:
 4404|       |
 4405|       |           (1) type(mp) doesn't override tp_iter; and
 4406|       |
 4407|       |           (2) 'mp' is not a split-dict; and
 4408|       |
 4409|       |           (3) if 'mp' is non-compact ('del' operation does not resize dicts),
 4410|       |               do fast-copy only if it has at most 1/3 non-used keys.
 4411|       |
 4412|       |           The last condition (3) is important to guard against a pathological
 4413|       |           case when a large dict is almost emptied with multiple del/pop
 4414|       |           operations and copied after that.  In cases like this, we defer to
 4415|       |           PyDict_Merge, which produces a compacted copy.
 4416|       |        */
 4417|  8.29k|        PyDictKeysObject *keys = clone_combined_dict_keys(mp);
 4418|  8.29k|        if (keys == NULL) {
  ------------------
  |  Branch (4418:13): [True: 0, False: 8.29k]
  ------------------
 4419|      0|            return NULL;
 4420|      0|        }
 4421|  8.29k|        PyDictObject *new;
 4422|  8.29k|        if (as_frozendict) {
  ------------------
  |  Branch (4422:13): [True: 0, False: 8.29k]
  ------------------
 4423|      0|            new = (PyDictObject *)new_frozendict(keys, NULL, 0, 0);
 4424|      0|        }
 4425|  8.29k|        else {
 4426|  8.29k|            new = (PyDictObject *)new_dict(keys, NULL, 0, 0);
 4427|  8.29k|        }
 4428|  8.29k|        if (new == NULL) {
  ------------------
  |  Branch (4428:13): [True: 0, False: 8.29k]
  ------------------
 4429|       |            /* In case of an error, new_dict()/new_frozendict() takes care of
 4430|       |               cleaning up `keys`. */
 4431|      0|            return NULL;
 4432|      0|        }
 4433|       |
 4434|  8.29k|        new->ma_used = mp->ma_used;
 4435|  8.29k|        ASSERT_CONSISTENT(new);
  ------------------
  |  |  653|  8.29k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
 4436|  8.29k|        return (PyObject *)new;
 4437|  8.29k|    }
 4438|       |
 4439|      0|    if (as_frozendict) {
  ------------------
  |  Branch (4439:9): [True: 0, False: 0]
  ------------------
 4440|      0|        copy = PyFrozenDict_New(NULL);
 4441|      0|    }
 4442|      0|    else {
 4443|      0|        copy = PyDict_New();
 4444|      0|    }
 4445|      0|    if (copy == NULL)
  ------------------
  |  Branch (4445:9): [True: 0, False: 0]
  ------------------
 4446|      0|        return NULL;
 4447|      0|    if (dict_merge(copy, o, 1, NULL) == 0)
  ------------------
  |  Branch (4447:9): [True: 0, False: 0]
  ------------------
 4448|      0|        return copy;
 4449|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4450|       |    return NULL;
 4451|      0|}
dictobject.c:copy_values:
 4328|     11|{
 4329|     11|    PyDictValues *newvalues = new_values(values->capacity);
 4330|     11|    if (newvalues == NULL) {
  ------------------
  |  Branch (4330:9): [True: 0, False: 11]
  ------------------
 4331|      0|        return NULL;
 4332|      0|    }
 4333|     11|    newvalues->size = values->size;
 4334|     11|    uint8_t *values_order = get_insertion_order_array(values);
 4335|     11|    uint8_t *new_values_order = get_insertion_order_array(newvalues);
 4336|     11|    memcpy(new_values_order, values_order, values->capacity);
 4337|    310|    for (int i = 0; i < values->capacity; i++) {
  ------------------
  |  Branch (4337:21): [True: 299, False: 11]
  ------------------
 4338|    299|        newvalues->values[i] = values->values[i];
 4339|    299|    }
 4340|       |    assert(newvalues->embedded == 0);
 4341|     11|    return newvalues;
 4342|     11|}
dictobject.c:new_values:
  874|    931|{
  875|    931|    size_t n = values_size_from_count(size);
  876|    931|    PyDictValues *res = (PyDictValues *)PyMem_Malloc(n);
  877|    931|    if (res == NULL) {
  ------------------
  |  Branch (877:9): [True: 0, False: 931]
  ------------------
  878|      0|        return NULL;
  879|      0|    }
  880|    931|    res->embedded = 0;
  881|    931|    res->size = 0;
  882|       |    assert(size < 256);
  883|    931|    res->capacity = (uint8_t)size;
  884|    931|    return res;
  885|    931|}
dictobject.c:values_size_from_count:
  862|    931|{
  863|    931|    assert(count >= 1);
  864|    931|    size_t suffix_size = _Py_SIZE_ROUND_UP(count, sizeof(PyObject *));
  ------------------
  |  |  213|    931|#define _Py_SIZE_ROUND_UP(n, a) (((size_t)(n) + \
  |  |  214|    931|        (size_t)((a) - 1)) & ~(size_t)((a) - 1))
  ------------------
  865|    931|    assert(suffix_size < 128);
  866|       |    assert(suffix_size % sizeof(PyObject *) == 0);
  867|    931|    return (count + 1) * sizeof(PyObject *) + suffix_size;
  868|    931|}
dictobject.c:dictkeys_incref:
  467|  4.48k|{
  468|  4.48k|    if (FT_ATOMIC_LOAD_SSIZE_RELAXED(dk->dk_refcnt) < 0) {
  ------------------
  |  |  148|  4.48k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
  |  Branch (468:9): [True: 0, False: 4.48k]
  ------------------
  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.48k|    INCREF_KEYS(dk);
  ------------------
  |  |  251|  4.48k|#define INCREF_KEYS(dk)  dk->dk_refcnt++
  ------------------
  476|  4.48k|}
dictobject.c:dict_setdefault_ref_lock_held:
 4673|   827k|{
 4674|   827k|    if (!PyDict_Check(d)) {
  ------------------
  |  |   18|   827k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   827k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4674:9): [True: 0, False: 827k]
  ------------------
 4675|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4676|      0|            frozendict_does_not_support("assignment");
  ------------------
  |  | 2725|      0|    PyErr_SetString(PyExc_TypeError, "frozendict object does " \
  |  | 2726|      0|                    "not support item " WHAT)
  ------------------
 4677|      0|        }
 4678|      0|        else {
 4679|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 4680|      0|        }
 4681|      0|        if (result) {
  ------------------
  |  Branch (4681:13): [True: 0, False: 0]
  ------------------
 4682|      0|            *result = NULL;
 4683|      0|        }
 4684|      0|        return -1;
 4685|      0|    }
 4686|   827k|    assert(can_modify_dict((PyDictObject*)d));
 4687|       |
 4688|   827k|    PyDictObject *mp = (PyDictObject *)d;
 4689|   827k|    PyObject *value;
 4690|   827k|    Py_hash_t hash;
 4691|   827k|    Py_ssize_t ix;
 4692|       |
 4693|   827k|    hash = _PyObject_HashFast(key);
 4694|   827k|    if (hash == -1) {
  ------------------
  |  Branch (4694:9): [True: 0, False: 827k]
  ------------------
 4695|      0|        dict_unhashable_type(d, key);
 4696|      0|        if (result) {
  ------------------
  |  Branch (4696:13): [True: 0, False: 0]
  ------------------
 4697|      0|            *result = NULL;
 4698|      0|        }
 4699|      0|        return -1;
 4700|      0|    }
 4701|       |
 4702|   827k|    if (mp->ma_keys == Py_EMPTY_KEYS) {
  ------------------
  |  |  645|   827k|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
  |  Branch (4702:9): [True: 6.64k, False: 820k]
  ------------------
 4703|  6.64k|        if (insert_to_emptydict(mp, Py_NewRef(key), hash,
  ------------------
  |  |  550|  6.64k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  6.64k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.64k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4703:13): [True: 0, False: 6.64k]
  ------------------
 4704|  6.64k|                                Py_NewRef(default_value)) < 0) {
  ------------------
  |  |  550|  6.64k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  6.64k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.64k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4705|      0|            if (result) {
  ------------------
  |  Branch (4705:17): [True: 0, False: 0]
  ------------------
 4706|      0|                *result = NULL;
 4707|      0|            }
 4708|      0|            return -1;
 4709|      0|        }
 4710|  6.64k|        if (result) {
  ------------------
  |  Branch (4710:13): [True: 6.62k, False: 26]
  ------------------
 4711|  6.62k|            *result = incref_result ? Py_NewRef(default_value) : default_value;
  ------------------
  |  |  550|  6.62k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  6.62k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.62k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4711:23): [True: 6.62k, False: 0]
  ------------------
 4712|  6.62k|        }
 4713|  6.64k|        return 0;
 4714|  6.64k|    }
 4715|       |
 4716|   820k|    if (_PyDict_HasSplitTable(mp) && PyUnicode_CheckExact(key)) {
  ------------------
  |  |   56|  1.64M|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (56:34): [True: 0, False: 820k]
  |  |  ------------------
  ------------------
                  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4717|      0|        ix = insert_split_key(mp->ma_keys, key, hash);
 4718|      0|        if (ix != DKIX_EMPTY) {
  ------------------
  |  |  184|      0|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (4718:13): [True: 0, False: 0]
  ------------------
 4719|      0|            PyObject *value = mp->ma_values->values[ix];
 4720|      0|            int already_present = value != NULL;
 4721|      0|            if (!already_present) {
  ------------------
  |  Branch (4721:17): [True: 0, False: 0]
  ------------------
 4722|      0|                _PyDict_InsertSplitValue(mp, key, default_value, ix);
 4723|      0|                value = default_value;
 4724|      0|            }
 4725|      0|            if (result) {
  ------------------
  |  Branch (4725:17): [True: 0, False: 0]
  ------------------
 4726|      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 (4726:27): [True: 0, False: 0]
  ------------------
 4727|      0|            }
 4728|      0|            return already_present;
 4729|      0|        }
 4730|       |        // No space in shared keys. Go to insert_combined_dict() below.
 4731|      0|    }
 4732|   820k|    else {
 4733|   820k|        ix = _Py_dict_lookup(mp, key, hash, &value);
 4734|   820k|        if (ix == DKIX_ERROR) {
  ------------------
  |  |  186|   820k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (4734:13): [True: 0, False: 820k]
  ------------------
 4735|      0|            if (result) {
  ------------------
  |  Branch (4735:17): [True: 0, False: 0]
  ------------------
 4736|      0|                *result = NULL;
 4737|      0|            }
 4738|      0|            return -1;
 4739|      0|        }
 4740|   820k|    }
 4741|       |
 4742|   820k|    if (ix == DKIX_EMPTY) {
  ------------------
  |  |  184|   820k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (4742:9): [True: 126k, False: 694k]
  ------------------
 4743|   126k|        value = default_value;
 4744|       |
 4745|       |        // See comment to this function in insertdict.
 4746|   126k|        if (insert_combined_dict(mp, hash, Py_NewRef(key), Py_NewRef(value)) < 0) {
  ------------------
  |  |  550|   126k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   126k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   126k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (insert_combined_dict(mp, hash, Py_NewRef(key), Py_NewRef(value)) < 0) {
  ------------------
  |  |  550|   126k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   126k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   126k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4746:13): [True: 0, False: 126k]
  ------------------
 4747|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4748|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4749|      0|            if (result) {
  ------------------
  |  Branch (4749:17): [True: 0, False: 0]
  ------------------
 4750|      0|                *result = NULL;
 4751|      0|            }
 4752|      0|            return -1;
 4753|      0|        }
 4754|       |
 4755|   126k|        STORE_USED(mp, mp->ma_used + 1);
  ------------------
  |  |  321|   126k|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  193|   126k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 4756|   126k|        assert(mp->ma_keys->dk_usable >= 0);
 4757|   126k|        ASSERT_CONSISTENT(mp);
  ------------------
  |  |  653|   126k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
 4758|   126k|        if (result) {
  ------------------
  |  Branch (4758:13): [True: 120k, False: 6.06k]
  ------------------
 4759|   120k|            *result = incref_result ? Py_NewRef(value) : value;
  ------------------
  |  |  550|   120k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   120k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   120k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4759:23): [True: 120k, False: 0]
  ------------------
 4760|   120k|        }
 4761|   126k|        return 0;
 4762|   126k|    }
 4763|       |
 4764|   820k|    assert(value != NULL);
 4765|   694k|    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  653|   694k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
 4766|   694k|    if (result) {
  ------------------
  |  Branch (4766:9): [True: 694k, False: 0]
  ------------------
 4767|   694k|        *result = incref_result ? Py_NewRef(value) : value;
  ------------------
  |  |  550|   694k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   694k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   694k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4767:19): [True: 694k, False: 0]
  ------------------
 4768|   694k|    }
 4769|   694k|    return 1;
 4770|   820k|}
dictobject.c:anydict_copy:
 4472|      2|{
 4473|      2|    assert(PyAnyDict_Check(o));
 4474|       |
 4475|      2|    PyObject *res;
 4476|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4477|      0|        res = copy_lock_held(o, 1);
 4478|      0|    }
 4479|      2|    else {
 4480|      2|        Py_BEGIN_CRITICAL_SECTION(o);
  ------------------
  |  |   51|      2|    {
  ------------------
 4481|      2|        res = copy_lock_held(o, 0);
 4482|      2|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      2|    }
  ------------------
 4483|      2|    }
 4484|      2|    return res;
 4485|      2|}
dictobject.c:dict_update_arg:
 3909|  11.6k|{
 3910|  11.6k|    if (PyAnyDict_CheckExact(arg)) {
  ------------------
  |  |   41|  11.6k|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   19|  11.6k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|  23.2k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  11.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  11.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 11.3k, False: 225]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   38|    225|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|    225|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    225|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    225|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 2, False: 223]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3911|  11.3k|        return dict_merge(self, arg, 1, NULL);
 3912|  11.3k|    }
 3913|    223|    int has_keys = PyObject_HasAttrWithError(arg, &_Py_ID(keys));
  ------------------
  |  |  915|    223|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    223|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    223|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3914|    223|    if (has_keys < 0) {
  ------------------
  |  Branch (3914:9): [True: 0, False: 223]
  ------------------
 3915|      0|        return -1;
 3916|      0|    }
 3917|    223|    if (has_keys) {
  ------------------
  |  Branch (3917:9): [True: 132, False: 91]
  ------------------
 3918|    132|        return dict_merge(self, arg, 1, NULL);
 3919|    132|    }
 3920|     91|    return dict_merge_from_seq2(self, arg, 1);
 3921|    223|}
dictobject.c:dict_contains:
 5133|  1.43M|{
 5134|  1.43M|    Py_hash_t hash = _PyObject_HashFast(key);
 5135|  1.43M|    if (hash == -1) {
  ------------------
  |  Branch (5135:9): [True: 0, False: 1.43M]
  ------------------
 5136|      0|        dict_unhashable_type(op, key);
 5137|      0|        return -1;
 5138|      0|    }
 5139|       |
 5140|  1.43M|    return _PyDict_Contains_KnownHash(op, key, hash);
 5141|  1.43M|}
dictobject.c:dict_new:
 5212|  28.9k|{
 5213|  28.9k|    assert(type != NULL);
 5214|  28.9k|    assert(type->tp_alloc != NULL);
 5215|       |    // dict subclasses must implement the GC protocol
 5216|  28.9k|    assert(_PyType_IS_GC(type));
 5217|       |
 5218|  28.9k|    PyObject *self = type->tp_alloc(type, 0);
 5219|  28.9k|    if (self == NULL) {
  ------------------
  |  Branch (5219:9): [True: 0, False: 28.9k]
  ------------------
 5220|      0|        return NULL;
 5221|      0|    }
 5222|  28.9k|    PyDictObject *d = (PyDictObject *)self;
 5223|       |
 5224|  28.9k|    d->ma_used = 0;
 5225|  28.9k|    d->_ma_watcher_tag = 0;
 5226|       |    // We don't inc ref empty keys because they're immortal
 5227|  28.9k|    assert((Py_EMPTY_KEYS)->dk_refcnt == _Py_DICT_IMMORTAL_INITIAL_REFCNT);
 5228|  28.9k|    d->ma_keys = Py_EMPTY_KEYS;
  ------------------
  |  |  645|  28.9k|#define Py_EMPTY_KEYS &empty_keys_struct
  ------------------
 5229|  28.9k|    d->ma_values = NULL;
 5230|  28.9k|    ASSERT_CONSISTENT(d);
  ------------------
  |  |  653|  28.9k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
 5231|  28.9k|    if (!_PyObject_GC_IS_TRACKED(d)) {
  ------------------
  |  |   81|  28.9k|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|  28.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (5231:9): [True: 7.63k, False: 21.3k]
  ------------------
 5232|  7.63k|        _PyObject_GC_TRACK(d);
  ------------------
  |  |  508|  7.63k|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.63k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5233|  7.63k|    }
 5234|  28.9k|    return self;
 5235|  28.9k|}
dictobject.c:dict_dealloc:
 3523|  5.19M|{
 3524|  5.19M|    PyDictObject *mp = (PyDictObject *)self;
 3525|  5.19M|    _PyObject_ResurrectStart(self);
 3526|  5.19M|    _PyDict_NotifyEvent(PyDict_EVENT_DEALLOCATED, mp, NULL, NULL);
 3527|  5.19M|    if (_PyObject_ResurrectEnd(self)) {
  ------------------
  |  Branch (3527:9): [True: 0, False: 5.19M]
  ------------------
 3528|      0|        return;
 3529|      0|    }
 3530|  5.19M|    PyDictValues *values = mp->ma_values;
 3531|  5.19M|    PyDictKeysObject *keys = mp->ma_keys;
 3532|  5.19M|    Py_ssize_t i, n;
 3533|       |
 3534|       |    /* bpo-31095: UnTrack is needed before calling any callbacks */
 3535|  5.19M|    PyObject_GC_UnTrack(mp);
 3536|  5.19M|    if (values != NULL) {
  ------------------
  |  Branch (3536:9): [True: 49, False: 5.19M]
  ------------------
 3537|     49|        if (values->embedded == 0) {
  ------------------
  |  Branch (3537:13): [True: 49, False: 0]
  ------------------
 3538|  1.48k|            for (i = 0, n = values->capacity; i < n; i++) {
  ------------------
  |  Branch (3538:47): [True: 1.43k, False: 49]
  ------------------
 3539|  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3540|  1.43k|            }
 3541|     49|            free_values(values, false);
 3542|     49|        }
 3543|     49|        dictkeys_decref(keys, false);
 3544|     49|    }
 3545|  5.19M|    else if (keys != NULL) {
  ------------------
  |  Branch (3545:14): [True: 5.19M, False: 0]
  ------------------
 3546|  5.19M|        assert(keys->dk_refcnt == 1 || keys == Py_EMPTY_KEYS);
 3547|  5.19M|        dictkeys_decref(keys, false);
 3548|  5.19M|    }
 3549|  5.19M|    if (Py_IS_TYPE(mp, &PyDict_Type)) {
  ------------------
  |  |  215|  5.19M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  5.19M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.19M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 5.16M, False: 21.1k]
  |  |  ------------------
  ------------------
 3550|  5.16M|        _Py_FREELIST_FREE(dicts, mp, Py_TYPE(mp)->tp_free);
  ------------------
  |  |   35|  5.16M|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  5.16M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.16M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  5.16M|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   16|  5.16M|#  define Py_dicts_MAXFREELIST 80
  |  |  ------------------
  ------------------
 3551|  5.16M|    }
 3552|  21.1k|    else {
 3553|  21.1k|        Py_TYPE(mp)->tp_free((PyObject *)mp);
  ------------------
  |  |  213|  21.1k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  21.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  21.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3554|  21.1k|    }
 3555|  5.19M|}
dictobject.c:dict_length:
 3662|  53.3k|{
 3663|  53.3k|    return GET_USED(_PyAnyDict_CAST(self));
  ------------------
  |  |  313|  53.3k|#define GET_USED(ep) FT_ATOMIC_LOAD_SSIZE_RELAXED((ep)->ma_used)
  |  |  ------------------
  |  |  |  |  148|  53.3k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  |  |  ------------------
  ------------------
 3664|  53.3k|}
dictobject.c:dict_traverse:
 4948|   754k|{
 4949|   754k|    PyDictObject *mp = (PyDictObject *)op;
 4950|   754k|    PyDictKeysObject *keys = mp->ma_keys;
 4951|   754k|    Py_ssize_t i, n = keys->dk_nentries;
 4952|       |
 4953|   754k|    if (DK_IS_UNICODE(keys)) {
  ------------------
  |  |  282|   754k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (282:27): [True: 226k, False: 527k]
  |  |  ------------------
  ------------------
 4954|   226k|        if (_PyDict_HasSplitTable(mp)) {
  ------------------
  |  |   56|   226k|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (56:34): [True: 7.52k, False: 218k]
  |  |  ------------------
  ------------------
 4955|  37.2k|            for (i = 0; i < n; i++) {
  ------------------
  |  Branch (4955:25): [True: 29.7k, False: 7.52k]
  ------------------
 4956|  29.7k|                Py_VISIT(mp->ma_values->values[i]);
  ------------------
  |  |  194|  29.7k|    do {                                                                \
  |  |  195|  29.7k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 29.3k, False: 360]
  |  |  ------------------
  |  |  196|  29.3k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  29.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  29.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  29.3k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 29.3k]
  |  |  ------------------
  |  |  198|  29.3k|                return vret;                                            \
  |  |  199|  29.3k|        }                                                               \
  |  |  200|  29.7k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 29.7k]
  |  |  ------------------
  ------------------
 4957|  29.7k|            }
 4958|  7.52k|        }
 4959|   218k|        else {
 4960|   218k|            PyDictUnicodeEntry *entries = DK_UNICODE_ENTRIES(keys);
 4961|  1.70M|            for (i = 0; i < n; i++) {
  ------------------
  |  Branch (4961:25): [True: 1.49M, False: 218k]
  ------------------
 4962|  1.49M|                Py_VISIT(entries[i].me_value);
  ------------------
  |  |  194|  1.49M|    do {                                                                \
  |  |  195|  1.49M|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 1.43M, False: 51.8k]
  |  |  ------------------
  |  |  196|  1.43M|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  1.43M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.43M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  1.43M|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 1.43M]
  |  |  ------------------
  |  |  198|  1.43M|                return vret;                                            \
  |  |  199|  1.43M|        }                                                               \
  |  |  200|  1.49M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 1.49M]
  |  |  ------------------
  ------------------
 4963|  1.49M|            }
 4964|   218k|        }
 4965|   226k|    }
 4966|   527k|    else {
 4967|   527k|        PyDictKeyEntry *entries = DK_ENTRIES(keys);
 4968|  1.14M|        for (i = 0; i < n; i++) {
  ------------------
  |  Branch (4968:21): [True: 620k, False: 527k]
  ------------------
 4969|   620k|            if (entries[i].me_value != NULL) {
  ------------------
  |  Branch (4969:17): [True: 620k, False: 570]
  ------------------
 4970|   620k|                Py_VISIT(entries[i].me_value);
  ------------------
  |  |  194|   620k|    do {                                                                \
  |  |  195|   620k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 620k, False: 0]
  |  |  ------------------
  |  |  196|   620k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|   620k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   620k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|   620k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 620k]
  |  |  ------------------
  |  |  198|   620k|                return vret;                                            \
  |  |  199|   620k|        }                                                               \
  |  |  200|   620k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 620k]
  |  |  ------------------
  ------------------
 4971|   620k|                Py_VISIT(entries[i].me_key);
  ------------------
  |  |  194|   620k|    do {                                                                \
  |  |  195|   620k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 620k, False: 0]
  |  |  ------------------
  |  |  196|   620k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|   620k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   620k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|   620k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 620k]
  |  |  ------------------
  |  |  198|   620k|                return vret;                                            \
  |  |  199|   620k|        }                                                               \
  |  |  200|   620k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 620k]
  |  |  ------------------
  ------------------
 4972|   620k|            }
 4973|   620k|        }
 4974|   527k|    }
 4975|   754k|    return 0;
 4976|   754k|}
dictobject.c:dict_tp_clear:
 4980|     56|{
 4981|     56|    PyDict_Clear(op);
 4982|     56|    return 0;
 4983|     56|}
dictobject.c:dict_richcompare:
 4595|  12.3k|{
 4596|  12.3k|    int cmp;
 4597|  12.3k|    PyObject *res;
 4598|       |
 4599|  12.3k|    if (!PyAnyDict_Check(v) || !PyAnyDict_Check(w)) {
  ------------------
  |  |   43|  24.6k|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|  12.3k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  24.6k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 12.3k, 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|  12.3k|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|  12.3k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  24.6k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 12.3k, 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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4600|      0|        res = Py_NotImplemented;
  ------------------
  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
 4601|      0|    }
 4602|  12.3k|    else if (op == Py_EQ || op == Py_NE) {
  ------------------
  |  |  654|  24.6k|#define Py_EQ 2
  ------------------
                  else if (op == Py_EQ || op == Py_NE) {
  ------------------
  |  |  655|     20|#define Py_NE 3
  ------------------
  |  Branch (4602:14): [True: 12.3k, False: 20]
  |  Branch (4602:29): [True: 20, False: 0]
  ------------------
 4603|  12.3k|        cmp = dict_equal((PyDictObject *)v, (PyDictObject *)w);
 4604|  12.3k|        if (cmp < 0)
  ------------------
  |  Branch (4604:13): [True: 0, False: 12.3k]
  ------------------
 4605|      0|            return NULL;
 4606|  12.3k|        res = (cmp == (op == Py_EQ)) ? Py_True : Py_False;
  ------------------
  |  |  654|  12.3k|#define Py_EQ 2
  ------------------
                      res = (cmp == (op == Py_EQ)) ? Py_True : Py_False;
  ------------------
  |  |   26|  12.3k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|  12.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      res = (cmp == (op == Py_EQ)) ? Py_True : Py_False;
  ------------------
  |  |   25|  12.3k|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|     20|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4606:15): [True: 12.3k, False: 20]
  ------------------
 4607|  12.3k|    }
 4608|      0|    else
 4609|      0|        res = Py_NotImplemented;
  ------------------
  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
 4610|  12.3k|    return Py_NewRef(res);
  ------------------
  |  |  550|  12.3k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  12.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4611|  12.3k|}
dictobject.c:dict_equal:
 4584|  12.3k|{
 4585|  12.3k|    int res;
 4586|  12.3k|    Py_BEGIN_CRITICAL_SECTION2(a, b);
  ------------------
  |  |   57|  12.3k|    {
  ------------------
 4587|  12.3k|    res = dict_equal_lock_held(a, b);
 4588|  12.3k|    Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|  12.3k|    }
  ------------------
 4589|       |
 4590|  12.3k|    return res;
 4591|  12.3k|}
dictobject.c:dict_equal_lock_held:
 4522|  12.3k|{
 4523|  12.3k|    Py_ssize_t i;
 4524|       |
 4525|  12.3k|    ASSERT_DICT_LOCKED(a);
 4526|  12.3k|    ASSERT_DICT_LOCKED(b);
 4527|       |
 4528|  12.3k|    if (a->ma_used != b->ma_used)
  ------------------
  |  Branch (4528:9): [True: 0, False: 12.3k]
  ------------------
 4529|       |        /* can't be equal if # of entries differ */
 4530|      0|        return 0;
 4531|       |    /* Same # of entries -- check all of 'em.  Exit early on any diff. */
 4532|  12.4k|    for (i = 0; i < LOAD_KEYS_NENTRIES(a->ma_keys); i++) {
  ------------------
  |  |  253|  12.4k|#define LOAD_KEYS_NENTRIES(keys) keys->dk_nentries
  ------------------
  |  Branch (4532:17): [True: 84, False: 12.3k]
  ------------------
 4533|     84|        PyObject *key, *aval;
 4534|     84|        Py_hash_t hash;
 4535|     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]
  |  |  ------------------
  ------------------
 4536|     84|            PyDictUnicodeEntry *ep = &DK_UNICODE_ENTRIES(a->ma_keys)[i];
 4537|     84|            key = ep->me_key;
 4538|     84|            if (key == NULL) {
  ------------------
  |  Branch (4538:17): [True: 0, False: 84]
  ------------------
 4539|      0|                continue;
 4540|      0|            }
 4541|     84|            hash = unicode_get_hash(key);
 4542|     84|            if (_PyDict_HasSplitTable(a))
  ------------------
  |  |   56|     84|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (56:34): [True: 0, False: 84]
  |  |  ------------------
  ------------------
 4543|      0|                aval = a->ma_values->values[i];
 4544|     84|            else
 4545|     84|                aval = ep->me_value;
 4546|     84|        }
 4547|      0|        else {
 4548|      0|            PyDictKeyEntry *ep = &DK_ENTRIES(a->ma_keys)[i];
 4549|      0|            key = ep->me_key;
 4550|      0|            aval = ep->me_value;
 4551|      0|            hash = ep->me_hash;
 4552|      0|        }
 4553|     84|        if (aval != NULL) {
  ------------------
  |  Branch (4553:13): [True: 84, False: 0]
  ------------------
 4554|     84|            int cmp;
 4555|     84|            PyObject *bval;
 4556|       |            /* temporarily bump aval's refcount to ensure it stays
 4557|       |               alive until we're done with it */
 4558|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4559|       |            /* ditto for key */
 4560|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4561|       |            /* reuse the known hash value */
 4562|     84|            _Py_dict_lookup(b, key, hash, &bval);
 4563|     84|            if (bval == NULL) {
  ------------------
  |  Branch (4563:17): [True: 0, False: 84]
  ------------------
 4564|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4565|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4566|      0|                if (PyErr_Occurred())
  ------------------
  |  Branch (4566:21): [True: 0, False: 0]
  ------------------
 4567|      0|                    return -1;
 4568|      0|                return 0;
 4569|      0|            }
 4570|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4571|     84|            cmp = PyObject_RichCompareBool(aval, bval, Py_EQ);
  ------------------
  |  |  654|     84|#define Py_EQ 2
  ------------------
 4572|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4573|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4574|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4575|     84|            if (cmp <= 0)  /* error or not equal */
  ------------------
  |  Branch (4575:17): [True: 0, False: 84]
  ------------------
 4576|      0|                return cmp;
 4577|     84|        }
 4578|     84|    }
 4579|  12.3k|    return 1;
 4580|  12.3k|}
dictobject.c:dict_iter:
 5317|  12.6k|{
 5318|  12.6k|    PyDictObject *dict = (PyDictObject *)self;
 5319|  12.6k|    return dictiter_new(dict, &PyDictIterKey_Type);
 5320|  12.6k|}
dictobject.c:dictiter_new:
 5454|   354k|{
 5455|   354k|    Py_ssize_t used;
 5456|   354k|    dictiterobject *di;
 5457|   354k|    di = PyObject_GC_New(dictiterobject, itertype);
  ------------------
  |  |  181|   354k|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|   354k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 5458|   354k|    if (di == NULL) {
  ------------------
  |  Branch (5458:9): [True: 0, False: 354k]
  ------------------
 5459|      0|        return NULL;
 5460|      0|    }
 5461|   354k|    di->di_dict = (PyDictObject*)Py_NewRef(dict);
  ------------------
  |  |  550|   354k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   354k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   354k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5462|   354k|    used = GET_USED(dict);
  ------------------
  |  |  313|   354k|#define GET_USED(ep) FT_ATOMIC_LOAD_SSIZE_RELAXED((ep)->ma_used)
  |  |  ------------------
  |  |  |  |  148|   354k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  |  |  ------------------
  ------------------
 5463|   354k|    di->di_used = used;
 5464|   354k|    di->len = used;
 5465|   354k|    if (itertype == &PyDictRevIterKey_Type ||
  ------------------
  |  Branch (5465:9): [True: 0, False: 354k]
  ------------------
 5466|   354k|         itertype == &PyDictRevIterItem_Type ||
  ------------------
  |  Branch (5466:10): [True: 0, False: 354k]
  ------------------
 5467|   354k|         itertype == &PyDictRevIterValue_Type) {
  ------------------
  |  Branch (5467:10): [True: 0, False: 354k]
  ------------------
 5468|      0|        if (_PyDict_HasSplitTable(dict)) {
  ------------------
  |  |   56|      0|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (56:34): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5469|      0|            di->di_pos = used - 1;
 5470|      0|        }
 5471|      0|        else {
 5472|      0|            di->di_pos = load_keys_nentries(dict) - 1;
 5473|      0|        }
 5474|      0|    }
 5475|   354k|    else {
 5476|   354k|        di->di_pos = 0;
 5477|   354k|    }
 5478|   354k|    if (itertype == &PyDictIterItem_Type ||
  ------------------
  |  Branch (5478:9): [True: 316k, False: 37.7k]
  ------------------
 5479|   316k|        itertype == &PyDictRevIterItem_Type) {
  ------------------
  |  Branch (5479:9): [True: 0, False: 37.7k]
  ------------------
 5480|   316k|        di->di_result = _PyTuple_FromPairSteal(Py_None, Py_None);
  ------------------
  |  |  616|   316k|#  define Py_None (&_Py_NoneStruct)
  ------------------
                      di->di_result = _PyTuple_FromPairSteal(Py_None, Py_None);
  ------------------
  |  |  616|   316k|#  define Py_None (&_Py_NoneStruct)
  ------------------
 5481|   316k|        if (di->di_result == NULL) {
  ------------------
  |  Branch (5481:13): [True: 0, False: 316k]
  ------------------
 5482|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5483|      0|            return NULL;
 5484|      0|        }
 5485|   316k|    }
 5486|  37.7k|    else {
 5487|  37.7k|        di->di_result = NULL;
 5488|  37.7k|    }
 5489|   354k|    _PyObject_GC_TRACK(di);
  ------------------
  |  |  508|   354k|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   354k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   354k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5490|   354k|    return (PyObject *)di;
 5491|   354k|}
dictobject.c:dict___contains___impl:
 4627|    232|{
 4628|    232|    int contains = dict_contains((PyObject *)self, key);
 4629|    232|    if (contains < 0) {
  ------------------
  |  Branch (4629:9): [True: 0, False: 232]
  ------------------
 4630|      0|        return NULL;
 4631|      0|    }
 4632|    232|    if (contains) {
  ------------------
  |  Branch (4632:9): [True: 0, False: 232]
  ------------------
 4633|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4634|      0|    }
 4635|    232|    Py_RETURN_FALSE;
  ------------------
  |  |   45|    232|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|    232|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    232|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    232|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4636|    232|}
dictobject.c:dict_get_impl:
 4651|   451k|{
 4652|   451k|    PyObject *val = NULL;
 4653|   451k|    Py_hash_t hash;
 4654|   451k|    Py_ssize_t ix;
 4655|       |
 4656|   451k|    hash = _PyObject_HashFast(key);
 4657|   451k|    if (hash == -1) {
  ------------------
  |  Branch (4657:9): [True: 0, False: 451k]
  ------------------
 4658|      0|        dict_unhashable_type((PyObject*)self, key);
 4659|      0|        return NULL;
 4660|      0|    }
 4661|   451k|    ix = _Py_dict_lookup_threadsafe(self, key, hash, &val);
 4662|   451k|    if (ix == DKIX_ERROR)
  ------------------
  |  |  186|   451k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (4662:9): [True: 0, False: 451k]
  ------------------
 4663|      0|        return NULL;
 4664|   451k|    if (ix == DKIX_EMPTY || val == NULL) {
  ------------------
  |  |  184|   902k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (4664:9): [True: 334k, False: 116k]
  |  Branch (4664:29): [True: 6, False: 116k]
  ------------------
 4665|   334k|        val = Py_NewRef(default_value);
  ------------------
  |  |  550|   334k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   334k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   334k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4666|   334k|    }
 4667|   451k|    return val;
 4668|   451k|}
dictobject.c:dict_setdefault_impl:
 4810|  39.2k|{
 4811|  39.2k|    PyObject *val;
 4812|  39.2k|    dict_setdefault_ref_lock_held((PyObject *)self, key, default_value, &val, 1);
 4813|  39.2k|    return val;
 4814|  39.2k|}
dictobject.c:dict_pop_impl:
 4848|  1.18k|{
 4849|  1.18k|    return dict_pop_default((PyObject*)self, key, default_value);
 4850|  1.18k|}
dictobject.c:dict_popitem_impl:
 4865|   209k|{
 4866|   209k|    assert(can_modify_dict(self));
 4867|       |
 4868|   209k|    Py_ssize_t i, j;
 4869|   209k|    PyObject *res;
 4870|       |
 4871|       |    /* Allocate the result tuple before checking the size.  Believe it
 4872|       |     * or not, this allocation could trigger a garbage collection which
 4873|       |     * could empty the dict, so if we checked the size first and that
 4874|       |     * happened, the result would be an infinite loop (searching for an
 4875|       |     * entry that no longer exists).  Note that the usual popitem()
 4876|       |     * idiom is "while d: k, v = d.popitem()". so needing to throw the
 4877|       |     * tuple away if the dict *is* empty isn't a significant
 4878|       |     * inefficiency -- possible, but unlikely in practice.
 4879|       |     */
 4880|   209k|    res = PyTuple_New(2);
 4881|   209k|    if (res == NULL)
  ------------------
  |  Branch (4881:9): [True: 0, False: 209k]
  ------------------
 4882|      0|        return NULL;
 4883|   209k|    if (self->ma_used == 0) {
  ------------------
  |  Branch (4883:9): [True: 104k, False: 104k]
  ------------------
 4884|   104k|        Py_DECREF(res);
  ------------------
  |  |  430|   104k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   104k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   104k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4885|   104k|        PyErr_SetString(PyExc_KeyError, "popitem(): dictionary is empty");
 4886|   104k|        return NULL;
 4887|   104k|    }
 4888|       |    /* Convert split table to combined table */
 4889|   104k|    if (_PyDict_HasSplitTable(self)) {
  ------------------
  |  |   56|   104k|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (56:34): [True: 0, False: 104k]
  |  |  ------------------
  ------------------
 4890|      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 (4890:13): [True: 0, False: 0]
  ------------------
 4891|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4892|      0|            return NULL;
 4893|      0|        }
 4894|      0|    }
 4895|   104k|    FT_ATOMIC_STORE_UINT32_RELAXED(self->ma_keys->dk_version, 0);
  ------------------
  |  |  171|   104k|#define FT_ATOMIC_STORE_UINT32_RELAXED(value, new_value) value = new_value
  ------------------
 4896|       |
 4897|       |    /* Pop last item */
 4898|   104k|    PyObject *key, *value;
 4899|   104k|    Py_hash_t hash;
 4900|   104k|    if (DK_IS_UNICODE(self->ma_keys)) {
  ------------------
  |  |  282|   104k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (282:27): [True: 0, False: 104k]
  |  |  ------------------
  ------------------
 4901|      0|        PyDictUnicodeEntry *ep0 = DK_UNICODE_ENTRIES(self->ma_keys);
 4902|      0|        i = self->ma_keys->dk_nentries - 1;
 4903|      0|        while (i >= 0 && ep0[i].me_value == NULL) {
  ------------------
  |  Branch (4903:16): [True: 0, False: 0]
  |  Branch (4903:26): [True: 0, False: 0]
  ------------------
 4904|      0|            i--;
 4905|      0|        }
 4906|      0|        assert(i >= 0);
 4907|       |
 4908|      0|        key = ep0[i].me_key;
 4909|      0|        _PyDict_NotifyEvent(PyDict_EVENT_DELETED, self, key, NULL);
 4910|      0|        hash = unicode_get_hash(key);
 4911|      0|        value = ep0[i].me_value;
 4912|      0|        STORE_KEY(&ep0[i], NULL);
  ------------------
  |  |  315|      0|#define STORE_KEY(ep, key) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_key, key)
  |  |  ------------------
  |  |  |  |  163|      0|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 4913|      0|        STORE_VALUE(&ep0[i], NULL);
  ------------------
  |  |  316|      0|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  163|      0|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 4914|      0|    }
 4915|   104k|    else {
 4916|   104k|        PyDictKeyEntry *ep0 = DK_ENTRIES(self->ma_keys);
 4917|   104k|        i = self->ma_keys->dk_nentries - 1;
 4918|   104k|        while (i >= 0 && ep0[i].me_value == NULL) {
  ------------------
  |  Branch (4918:16): [True: 104k, False: 0]
  |  Branch (4918:26): [True: 0, False: 104k]
  ------------------
 4919|      0|            i--;
 4920|      0|        }
 4921|   104k|        assert(i >= 0);
 4922|       |
 4923|   104k|        key = ep0[i].me_key;
 4924|   104k|        _PyDict_NotifyEvent(PyDict_EVENT_DELETED, self, key, NULL);
 4925|   104k|        hash = ep0[i].me_hash;
 4926|   104k|        value = ep0[i].me_value;
 4927|   104k|        STORE_KEY(&ep0[i], NULL);
  ------------------
  |  |  315|   104k|#define STORE_KEY(ep, key) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_key, key)
  |  |  ------------------
  |  |  |  |  163|   104k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 4928|   104k|        STORE_HASH(&ep0[i], -1);
  ------------------
  |  |  318|   104k|#define STORE_HASH(ep, hash) FT_ATOMIC_STORE_SSIZE_RELAXED((ep)->me_hash, hash)
  |  |  ------------------
  |  |  |  |  193|   104k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 4929|   104k|        STORE_VALUE(&ep0[i], NULL);
  ------------------
  |  |  316|   104k|#define STORE_VALUE(ep, value) FT_ATOMIC_STORE_PTR_RELEASE((ep)->me_value, value)
  |  |  ------------------
  |  |  |  |  163|   104k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 4930|   104k|    }
 4931|       |
 4932|   104k|    j = lookdict_index(self->ma_keys, hash, i);
 4933|   104k|    assert(j >= 0);
 4934|   104k|    assert(dictkeys_get_index(self->ma_keys, j) == i);
 4935|   104k|    dictkeys_set_index(self->ma_keys, j, DKIX_DUMMY);
  ------------------
  |  |  185|   104k|#define DKIX_DUMMY (-2)  /* Used internally */
  ------------------
 4936|       |
 4937|   104k|    PyTuple_SET_ITEM(res, 0, key);
  ------------------
  |  |   40|   104k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   104k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   104k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   104k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   104k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4938|   104k|    PyTuple_SET_ITEM(res, 1, value);
  ------------------
  |  |   40|   104k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   104k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   104k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   104k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   104k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4939|       |    /* We can't dk_usable++ since there is DKIX_DUMMY in indices */
 4940|   104k|    STORE_KEYS_NENTRIES(self->ma_keys, i);
  ------------------
  |  |  320|   104k|#define STORE_KEYS_NENTRIES(keys, nentries) FT_ATOMIC_STORE_SSIZE_RELAXED(keys->dk_nentries, nentries)
  |  |  ------------------
  |  |  |  |  193|   104k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 4941|   104k|    STORE_USED(self, self->ma_used - 1);
  ------------------
  |  |  321|   104k|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  193|   104k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 4942|       |    ASSERT_CONSISTENT(self);
  ------------------
  |  |  653|   104k|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
 4943|   104k|    return res;
 4944|   104k|}
dictobject.c:dict_keys_impl:
 6873|    682|{
 6874|    682|    return _PyDictView_New((PyObject *)self, &PyDictKeys_Type);
 6875|    682|}
dictobject.c:dict_items_impl:
 6985|   316k|{
 6986|   316k|    return _PyDictView_New((PyObject *)self, &PyDictItems_Type);
 6987|   316k|}
dictobject.c:dict_values_impl:
 7075|  24.9k|{
 7076|  24.9k|    return _PyDictView_New((PyObject *)self, &PyDictValues_Type);
 7077|  24.9k|}
dictobject.c:dict_update:
 3951|  4.16k|{
 3952|  4.16k|    if (dict_update_common(self, args, kwds, "update") != -1)
  ------------------
  |  Branch (3952:9): [True: 4.16k, False: 0]
  ------------------
 3953|  4.16k|        Py_RETURN_NONE;
  ------------------
  |  |  628|  4.16k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  4.16k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 3954|      0|    return NULL;
 3955|  4.16k|}
dictobject.c:dict_update_common:
 3926|  14.7k|{
 3927|  14.7k|    PyObject *arg = NULL;
 3928|  14.7k|    int result = 0;
 3929|       |
 3930|  14.7k|    if (!PyArg_UnpackTuple(args, methname, 0, 1, &arg)) {
  ------------------
  |  Branch (3930:9): [True: 0, False: 14.7k]
  ------------------
 3931|      0|        result = -1;
 3932|      0|    }
 3933|  14.7k|    else if (arg != NULL) {
  ------------------
  |  Branch (3933:14): [True: 4.17k, False: 10.5k]
  ------------------
 3934|  4.17k|        result = dict_update_arg(self, arg);
 3935|  4.17k|    }
 3936|       |
 3937|  14.7k|    if (result == 0 && kwds != NULL) {
  ------------------
  |  Branch (3937:9): [True: 14.7k, False: 0]
  |  Branch (3937:24): [True: 16, False: 14.7k]
  ------------------
 3938|     16|        if (PyArg_ValidateKeywordArguments(kwds))
  ------------------
  |  Branch (3938:13): [True: 16, False: 0]
  ------------------
 3939|     16|            result = dict_merge(self, kwds, 1, NULL);
 3940|      0|        else
 3941|      0|            result = -1;
 3942|     16|    }
 3943|  14.7k|    return result;
 3944|  14.7k|}
dictobject.c:dict_fromkeys_impl:
 3902|    244|{
 3903|    244|    return _PyDict_FromKeys((PyObject *)type, iterable, value);
 3904|    244|}
dictobject.c:dict_clear_impl:
 4826|  3.46k|{
 4827|  3.46k|    PyDict_Clear((PyObject *)self);
 4828|  3.46k|    Py_RETURN_NONE;
  ------------------
  |  |  628|  3.46k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  3.46k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 4829|  3.46k|}
dictobject.c:dict_copy_impl:
 4319|  3.46k|{
 4320|  3.46k|    return PyDict_Copy((PyObject *)self);
 4321|  3.46k|}
dictobject.c:dict_init:
 5239|  10.5k|{
 5240|  10.5k|    return dict_update_common(self, args, kwds, "dict");
 5241|  10.5k|}
dictobject.c:dict_vectorcall:
 5246|  7.56k|{
 5247|  7.56k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  7.56k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
 5248|  7.56k|    if (!_PyArg_CheckPositional("dict", nargs, 0, 1)) {
  ------------------
  |  |   31|  7.56k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 7.56k, False: 0]
  |  |  |  Branch (31:27): [True: 7.56k, False: 0]
  |  |  ------------------
  |  |   32|  7.56k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5249|      0|        return NULL;
 5250|      0|    }
 5251|       |
 5252|  7.56k|    PyObject *self = dict_new(_PyType_CAST(type), NULL, NULL);
  ------------------
  |  |  770|  7.56k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  7.56k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 5253|  7.56k|    if (self == NULL) {
  ------------------
  |  Branch (5253:9): [True: 0, False: 7.56k]
  ------------------
 5254|      0|        return NULL;
 5255|      0|    }
 5256|  7.56k|    if (nargs == 1) {
  ------------------
  |  Branch (5256:9): [True: 7.29k, False: 272]
  ------------------
 5257|  7.29k|        if (dict_update_arg(self, args[0]) < 0) {
  ------------------
  |  Branch (5257:13): [True: 0, False: 7.29k]
  ------------------
 5258|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5259|      0|            return NULL;
 5260|      0|        }
 5261|  7.29k|        args++;
 5262|  7.29k|    }
 5263|  7.56k|    if (kwnames != NULL) {
  ------------------
  |  Branch (5263:9): [True: 2, False: 7.56k]
  ------------------
 5264|     18|        for (Py_ssize_t i = 0; i < PyTuple_GET_SIZE(kwnames); i++) {
  ------------------
  |  |   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 (5264:32): [True: 16, False: 2]
  ------------------
 5265|     16|            PyObject *key = PyTuple_GET_ITEM(kwnames, i);  // borrowed
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5266|     16|            if (PyDict_SetItem(self, key, args[i]) < 0) {
  ------------------
  |  Branch (5266:17): [True: 0, False: 16]
  ------------------
 5267|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5268|      0|                return NULL;
 5269|      0|            }
 5270|     16|        }
 5271|      2|    }
 5272|  7.56k|    return self;
 5273|  7.56k|}
dictobject.c:dictiter_dealloc:
 5495|   354k|{
 5496|   354k|    dictiterobject *di = (dictiterobject *)self;
 5497|       |    /* bpo-31095: UnTrack is needed before calling any callbacks */
 5498|   354k|    _PyObject_GC_UNTRACK(di);
  ------------------
  |  |  510|   354k|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   354k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   354k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5499|   354k|    Py_XDECREF(di->di_dict);
  ------------------
  |  |  524|   354k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   354k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   354k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5500|   354k|    Py_XDECREF(di->di_result);
  ------------------
  |  |  524|   354k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   354k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   354k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5501|   354k|    PyObject_GC_Del(di);
 5502|   354k|}
dictobject.c:dictiter_traverse:
 5506|  2.77k|{
 5507|  2.77k|    dictiterobject *di = (dictiterobject *)self;
 5508|  2.77k|    Py_VISIT(di->di_dict);
  ------------------
  |  |  194|  2.77k|    do {                                                                \
  |  |  195|  2.77k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 2.77k, False: 0]
  |  |  ------------------
  |  |  196|  2.77k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  2.77k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.77k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  2.77k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 2.77k]
  |  |  ------------------
  |  |  198|  2.77k|                return vret;                                            \
  |  |  199|  2.77k|        }                                                               \
  |  |  200|  2.77k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.77k]
  |  |  ------------------
  ------------------
 5509|  2.77k|    Py_VISIT(di->di_result);
  ------------------
  |  |  194|  2.77k|    do {                                                                \
  |  |  195|  2.77k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 2.77k, False: 0]
  |  |  ------------------
  |  |  196|  2.77k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  2.77k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.77k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  2.77k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 2.77k]
  |  |  ------------------
  |  |  198|  2.77k|                return vret;                                            \
  |  |  199|  2.77k|        }                                                               \
  |  |  200|  2.77k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.77k]
  |  |  ------------------
  ------------------
 5510|  2.77k|    return 0;
 5511|  2.77k|}
dictobject.c:dictiter_iternextkey:
 5618|  66.7k|{
 5619|  66.7k|    dictiterobject *di = (dictiterobject *)self;
 5620|  66.7k|    PyDictObject *d = di->di_dict;
 5621|       |
 5622|  66.7k|    if (d == NULL)
  ------------------
  |  Branch (5622:9): [True: 0, False: 66.7k]
  ------------------
 5623|      0|        return NULL;
 5624|       |
 5625|  66.7k|    PyObject *value;
 5626|       |#ifdef Py_GIL_DISABLED
 5627|       |    if (dictiter_iternext_threadsafe(d, self, &value, NULL) < 0) {
 5628|       |        value = NULL;
 5629|       |    }
 5630|       |#else
 5631|  66.7k|    value = dictiter_iternextkey_lock_held(d, self);
 5632|  66.7k|#endif
 5633|       |
 5634|  66.7k|    return value;
 5635|  66.7k|}
dictobject.c:dictiter_iternextkey_lock_held:
 5549|  66.7k|{
 5550|  66.7k|    dictiterobject *di = (dictiterobject *)self;
 5551|  66.7k|    PyObject *key;
 5552|  66.7k|    Py_ssize_t i;
 5553|  66.7k|    PyDictKeysObject *k;
 5554|       |
 5555|  66.7k|    assert (PyAnyDict_Check(d));
 5556|  66.7k|    ASSERT_DICT_LOCKED(d);
 5557|       |
 5558|  66.7k|    if (di->di_used != d->ma_used) {
  ------------------
  |  Branch (5558:9): [True: 0, False: 66.7k]
  ------------------
 5559|      0|        PyErr_SetString(PyExc_RuntimeError,
 5560|      0|                        "dictionary changed size during iteration");
 5561|      0|        di->di_used = -1; /* Make this state sticky */
 5562|      0|        return NULL;
 5563|      0|    }
 5564|       |
 5565|  66.7k|    i = di->di_pos;
 5566|  66.7k|    k = d->ma_keys;
 5567|  66.7k|    assert(i >= 0);
 5568|  66.7k|    if (_PyDict_HasSplitTable(d)) {
  ------------------
  |  |   56|  66.7k|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (56:34): [True: 0, False: 66.7k]
  |  |  ------------------
  ------------------
 5569|      0|        if (i >= d->ma_used)
  ------------------
  |  Branch (5569:13): [True: 0, False: 0]
  ------------------
 5570|      0|            goto fail;
 5571|      0|        int index = get_index_from_order(d, i);
 5572|      0|        key = LOAD_SHARED_KEY(DK_UNICODE_ENTRIES(k)[index].me_key);
  ------------------
  |  |  249|      0|#define LOAD_SHARED_KEY(key) key
  ------------------
 5573|      0|        assert(d->ma_values->values[index] != NULL);
 5574|      0|    }
 5575|  66.7k|    else {
 5576|  66.7k|        Py_ssize_t n = k->dk_nentries;
 5577|  66.7k|        if (DK_IS_UNICODE(k)) {
  ------------------
  |  |  282|  66.7k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (282:27): [True: 4.89k, False: 61.8k]
  |  |  ------------------
  ------------------
 5578|  4.89k|            PyDictUnicodeEntry *entry_ptr = &DK_UNICODE_ENTRIES(k)[i];
 5579|  5.23k|            while (i < n && entry_ptr->me_value == NULL) {
  ------------------
  |  Branch (5579:20): [True: 4.79k, False: 438]
  |  Branch (5579:29): [True: 342, False: 4.45k]
  ------------------
 5580|    342|                entry_ptr++;
 5581|    342|                i++;
 5582|    342|            }
 5583|  4.89k|            if (i >= n)
  ------------------
  |  Branch (5583:17): [True: 438, False: 4.45k]
  ------------------
 5584|    438|                goto fail;
 5585|  4.45k|            key = entry_ptr->me_key;
 5586|  4.45k|        }
 5587|  61.8k|        else {
 5588|  61.8k|            PyDictKeyEntry *entry_ptr = &DK_ENTRIES(k)[i];
 5589|  61.8k|            while (i < n && entry_ptr->me_value == NULL) {
  ------------------
  |  Branch (5589:20): [True: 49.4k, False: 12.3k]
  |  Branch (5589:29): [True: 0, False: 49.4k]
  ------------------
 5590|      0|                entry_ptr++;
 5591|      0|                i++;
 5592|      0|            }
 5593|  61.8k|            if (i >= n)
  ------------------
  |  Branch (5593:17): [True: 12.3k, False: 49.4k]
  ------------------
 5594|  12.3k|                goto fail;
 5595|  49.4k|            key = entry_ptr->me_key;
 5596|  49.4k|        }
 5597|  66.7k|    }
 5598|       |    // We found an element (key), but did not expect it
 5599|  53.9k|    if (di->len == 0) {
  ------------------
  |  Branch (5599:9): [True: 0, False: 53.9k]
  ------------------
 5600|      0|        PyErr_SetString(PyExc_RuntimeError,
 5601|      0|                        "dictionary keys changed during iteration");
 5602|      0|        goto fail;
 5603|      0|    }
 5604|  53.9k|    di->di_pos = i+1;
 5605|  53.9k|    di->len--;
 5606|  53.9k|    return Py_NewRef(key);
  ------------------
  |  |  550|  53.9k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  53.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  53.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5607|       |
 5608|  12.7k|fail:
 5609|  12.7k|    di->di_dict = NULL;
 5610|  12.7k|    Py_DECREF(d);
  ------------------
  |  |  430|  12.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5611|       |    return NULL;
 5612|  53.9k|}
dictobject.c:dictiter_len:
 5515|    464|{
 5516|    464|    dictiterobject *di = (dictiterobject *)self;
 5517|    464|    Py_ssize_t len = 0;
 5518|    464|    if (di->di_dict != NULL && di->di_used == GET_USED(di->di_dict))
  ------------------
  |  |  313|    464|#define GET_USED(ep) FT_ATOMIC_LOAD_SSIZE_RELAXED((ep)->ma_used)
  |  |  ------------------
  |  |  |  |  148|    464|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  |  |  ------------------
  ------------------
  |  Branch (5518:9): [True: 464, False: 0]
  |  Branch (5518:32): [True: 464, False: 0]
  ------------------
 5519|    464|        len = FT_ATOMIC_LOAD_SSIZE_RELAXED(di->len);
  ------------------
  |  |  148|    464|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 5520|    464|    return PyLong_FromSize_t(len);
 5521|    464|}
dictobject.c:dictiter_iternextvalue:
 5741|   127k|{
 5742|   127k|    dictiterobject *di = (dictiterobject *)self;
 5743|   127k|    PyDictObject *d = di->di_dict;
 5744|       |
 5745|   127k|    if (d == NULL)
  ------------------
  |  Branch (5745:9): [True: 0, False: 127k]
  ------------------
 5746|      0|        return NULL;
 5747|       |
 5748|   127k|    PyObject *value;
 5749|       |#ifdef Py_GIL_DISABLED
 5750|       |    if (dictiter_iternext_threadsafe(d, self, NULL, &value) < 0) {
 5751|       |        value = NULL;
 5752|       |    }
 5753|       |#else
 5754|   127k|    value = dictiter_iternextvalue_lock_held(d, self);
 5755|   127k|#endif
 5756|       |
 5757|   127k|    return value;
 5758|   127k|}
dictobject.c:dictiter_iternextvalue_lock_held:
 5674|   127k|{
 5675|   127k|    dictiterobject *di = (dictiterobject *)self;
 5676|   127k|    PyObject *value;
 5677|   127k|    Py_ssize_t i;
 5678|       |
 5679|   127k|    assert (PyAnyDict_Check(d));
 5680|   127k|    ASSERT_DICT_LOCKED(d);
 5681|       |
 5682|   127k|    if (di->di_used != d->ma_used) {
  ------------------
  |  Branch (5682:9): [True: 0, False: 127k]
  ------------------
 5683|      0|        PyErr_SetString(PyExc_RuntimeError,
 5684|      0|                        "dictionary changed size during iteration");
 5685|      0|        di->di_used = -1; /* Make this state sticky */
 5686|      0|        return NULL;
 5687|      0|    }
 5688|       |
 5689|   127k|    i = di->di_pos;
 5690|   127k|    assert(i >= 0);
 5691|   127k|    if (_PyDict_HasSplitTable(d)) {
  ------------------
  |  |   56|   127k|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (56:34): [True: 0, False: 127k]
  |  |  ------------------
  ------------------
 5692|      0|        if (i >= d->ma_used)
  ------------------
  |  Branch (5692:13): [True: 0, False: 0]
  ------------------
 5693|      0|            goto fail;
 5694|      0|        int index = get_index_from_order(d, i);
 5695|      0|        value = d->ma_values->values[index];
 5696|      0|        assert(value != NULL);
 5697|      0|    }
 5698|   127k|    else {
 5699|   127k|        Py_ssize_t n = d->ma_keys->dk_nentries;
 5700|   127k|        if (DK_IS_UNICODE(d->ma_keys)) {
  ------------------
  |  |  282|   127k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (282:27): [True: 4.77k, False: 122k]
  |  |  ------------------
  ------------------
 5701|  4.77k|            PyDictUnicodeEntry *entry_ptr = &DK_UNICODE_ENTRIES(d->ma_keys)[i];
 5702|  4.82k|            while (i < n && entry_ptr->me_value == NULL) {
  ------------------
  |  Branch (5702:20): [True: 4.47k, False: 344]
  |  Branch (5702:29): [True: 44, False: 4.43k]
  ------------------
 5703|     44|                entry_ptr++;
 5704|     44|                i++;
 5705|     44|            }
 5706|  4.77k|            if (i >= n)
  ------------------
  |  Branch (5706:17): [True: 344, False: 4.43k]
  ------------------
 5707|    344|                goto fail;
 5708|  4.43k|            value = entry_ptr->me_value;
 5709|  4.43k|        }
 5710|   122k|        else {
 5711|   122k|            PyDictKeyEntry *entry_ptr = &DK_ENTRIES(d->ma_keys)[i];
 5712|   122k|            while (i < n && entry_ptr->me_value == NULL) {
  ------------------
  |  Branch (5712:20): [True: 98.3k, False: 24.5k]
  |  Branch (5712:29): [True: 0, False: 98.3k]
  ------------------
 5713|      0|                entry_ptr++;
 5714|      0|                i++;
 5715|      0|            }
 5716|   122k|            if (i >= n)
  ------------------
  |  Branch (5716:17): [True: 24.5k, False: 98.3k]
  ------------------
 5717|  24.5k|                goto fail;
 5718|  98.3k|            value = entry_ptr->me_value;
 5719|  98.3k|        }
 5720|   127k|    }
 5721|       |    // We found an element, but did not expect it
 5722|   102k|    if (di->len == 0) {
  ------------------
  |  Branch (5722:9): [True: 0, False: 102k]
  ------------------
 5723|      0|        PyErr_SetString(PyExc_RuntimeError,
 5724|      0|                        "dictionary keys changed during iteration");
 5725|      0|        goto fail;
 5726|      0|    }
 5727|   102k|    di->di_pos = i+1;
 5728|   102k|    di->len--;
 5729|   102k|    return Py_NewRef(value);
  ------------------
  |  |  550|   102k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   102k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   102k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5730|       |
 5731|  24.9k|fail:
 5732|  24.9k|    di->di_dict = NULL;
 5733|  24.9k|    Py_DECREF(d);
  ------------------
  |  |  430|  24.9k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  24.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5734|       |    return NULL;
 5735|   102k|}
dictobject.c:dictiter_iternextitem:
 6019|   603k|{
 6020|   603k|    dictiterobject *di = (dictiterobject *)self;
 6021|   603k|    PyDictObject *d = di->di_dict;
 6022|       |
 6023|   603k|    if (d == NULL)
  ------------------
  |  Branch (6023:9): [True: 0, False: 603k]
  ------------------
 6024|      0|        return NULL;
 6025|       |
 6026|   603k|    PyObject *key, *value;
 6027|       |#ifdef Py_GIL_DISABLED
 6028|       |    if (dictiter_iternext_threadsafe(d, self, &key, &value) == 0) {
 6029|       |#else
 6030|   603k|    if (dictiter_iternextitem_lock_held(d, self, &key, &value) == 0) {
  ------------------
  |  Branch (6030:9): [True: 290k, False: 313k]
  ------------------
 6031|       |
 6032|   290k|#endif
 6033|   290k|        PyObject *result = di->di_result;
 6034|   290k|        if (acquire_iter_result(result)) {
  ------------------
  |  Branch (6034:13): [True: 286k, False: 3.43k]
  ------------------
 6035|   286k|            PyObject *oldkey = PyTuple_GET_ITEM(result, 0);
  ------------------
  |  |   29|   286k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|   286k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   286k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6036|   286k|            PyObject *oldvalue = PyTuple_GET_ITEM(result, 1);
  ------------------
  |  |   29|   286k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|   286k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   286k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6037|   286k|            PyTuple_SET_ITEM(result, 0, key);
  ------------------
  |  |   40|   286k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   286k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   286k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   286k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   286k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6038|   286k|            PyTuple_SET_ITEM(result, 1, value);
  ------------------
  |  |   40|   286k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   286k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   286k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   286k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   286k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6039|   286k|            Py_DECREF(oldkey);
  ------------------
  |  |  430|   286k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   286k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   286k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6040|   286k|            Py_DECREF(oldvalue);
  ------------------
  |  |  430|   286k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   286k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   286k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6041|       |            // bpo-42536: The GC may have untracked this result tuple. Since we're
 6042|       |            // recycling it, make sure it's tracked again:
 6043|   286k|            _PyTuple_Recycle(result);
 6044|   286k|        }
 6045|  3.43k|        else {
 6046|  3.43k|            result = _PyTuple_FromPairSteal(key, value);
 6047|  3.43k|        }
 6048|   290k|        return result;
 6049|   290k|    }
 6050|   313k|    return NULL;
 6051|   603k|}
dictobject.c:dictiter_iternextitem_lock_held:
 5796|   603k|{
 5797|   603k|    dictiterobject *di = (dictiterobject *)self;
 5798|   603k|    PyObject *key, *value;
 5799|   603k|    Py_ssize_t i;
 5800|       |
 5801|   603k|    assert (PyAnyDict_Check(d));
 5802|   603k|    ASSERT_DICT_LOCKED(d);
 5803|       |
 5804|   603k|    if (di->di_used != d->ma_used) {
  ------------------
  |  Branch (5804:9): [True: 0, False: 603k]
  ------------------
 5805|      0|        PyErr_SetString(PyExc_RuntimeError,
 5806|      0|                        "dictionary changed size during iteration");
 5807|      0|        di->di_used = -1; /* Make this state sticky */
 5808|      0|        return -1;
 5809|      0|    }
 5810|       |
 5811|   603k|    i = FT_ATOMIC_LOAD_SSIZE_RELAXED(di->di_pos);
  ------------------
  |  |  148|   603k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 5812|       |
 5813|   603k|    assert(i >= 0);
 5814|   603k|    if (_PyDict_HasSplitTable(d)) {
  ------------------
  |  |   56|   603k|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (56:34): [True: 0, False: 603k]
  |  |  ------------------
  ------------------
 5815|      0|        if (i >= d->ma_used)
  ------------------
  |  Branch (5815:13): [True: 0, False: 0]
  ------------------
 5816|      0|            goto fail;
 5817|      0|        int index = get_index_from_order(d, i);
 5818|      0|        key = LOAD_SHARED_KEY(DK_UNICODE_ENTRIES(d->ma_keys)[index].me_key);
  ------------------
  |  |  249|      0|#define LOAD_SHARED_KEY(key) key
  ------------------
 5819|      0|        value = d->ma_values->values[index];
 5820|      0|        assert(value != NULL);
 5821|      0|    }
 5822|   603k|    else {
 5823|   603k|        Py_ssize_t n = d->ma_keys->dk_nentries;
 5824|   603k|        if (DK_IS_UNICODE(d->ma_keys)) {
  ------------------
  |  |  282|   603k|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (282:27): [True: 232k, False: 370k]
  |  |  ------------------
  ------------------
 5825|   232k|            PyDictUnicodeEntry *entry_ptr = &DK_UNICODE_ENTRIES(d->ma_keys)[i];
 5826|   233k|            while (i < n && entry_ptr->me_value == NULL) {
  ------------------
  |  Branch (5826:20): [True: 105k, False: 127k]
  |  Branch (5826:29): [True: 612, False: 104k]
  ------------------
 5827|    612|                entry_ptr++;
 5828|    612|                i++;
 5829|    612|            }
 5830|   232k|            if (i >= n)
  ------------------
  |  Branch (5830:17): [True: 127k, False: 104k]
  ------------------
 5831|   127k|                goto fail;
 5832|   104k|            key = entry_ptr->me_key;
 5833|   104k|            value = entry_ptr->me_value;
 5834|   104k|        }
 5835|   370k|        else {
 5836|   370k|            PyDictKeyEntry *entry_ptr = &DK_ENTRIES(d->ma_keys)[i];
 5837|   370k|            while (i < n && entry_ptr->me_value == NULL) {
  ------------------
  |  Branch (5837:20): [True: 185k, False: 185k]
  |  Branch (5837:29): [True: 0, False: 185k]
  ------------------
 5838|      0|                entry_ptr++;
 5839|      0|                i++;
 5840|      0|            }
 5841|   370k|            if (i >= n)
  ------------------
  |  Branch (5841:17): [True: 185k, False: 185k]
  ------------------
 5842|   185k|                goto fail;
 5843|   185k|            key = entry_ptr->me_key;
 5844|   185k|            value = entry_ptr->me_value;
 5845|   185k|        }
 5846|   603k|    }
 5847|       |    // We found an element, but did not expect it
 5848|   290k|    if (di->len == 0) {
  ------------------
  |  Branch (5848:9): [True: 0, False: 290k]
  ------------------
 5849|      0|        PyErr_SetString(PyExc_RuntimeError,
 5850|      0|                        "dictionary keys changed during iteration");
 5851|      0|        goto fail;
 5852|      0|    }
 5853|   290k|    di->di_pos = i+1;
 5854|   290k|    di->len--;
 5855|   290k|    if (out_key != NULL) {
  ------------------
  |  Branch (5855:9): [True: 290k, False: 0]
  ------------------
 5856|   290k|        *out_key = Py_NewRef(key);
  ------------------
  |  |  550|   290k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   290k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   290k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5857|   290k|    }
 5858|   290k|    if (out_value != NULL) {
  ------------------
  |  Branch (5858:9): [True: 290k, False: 0]
  ------------------
 5859|   290k|        *out_value = Py_NewRef(value);
  ------------------
  |  |  550|   290k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   290k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   290k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5860|   290k|    }
 5861|   290k|    return 0;
 5862|       |
 5863|   313k|fail:
 5864|   313k|    di->di_dict = NULL;
 5865|   313k|    Py_DECREF(d);
  ------------------
  |  |  430|   313k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   313k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   313k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5866|   313k|    return -1;
 5867|   290k|}
dictobject.c:acquire_iter_result:
 6009|   290k|{
 6010|   290k|    if (_PyObject_IsUniquelyReferenced(result)) {
  ------------------
  |  Branch (6010:9): [True: 286k, False: 3.43k]
  ------------------
 6011|   286k|        Py_INCREF(result);
  ------------------
  |  |  310|   286k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   286k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   286k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6012|   286k|        return true;
 6013|   286k|    }
 6014|  3.43k|    return false;
 6015|   290k|}
dictobject.c:dictview_len:
 6288|      4|{
 6289|      4|    _PyDictViewObject *dv = (_PyDictViewObject *)self;
 6290|      4|    Py_ssize_t len = 0;
 6291|      4|    if (dv->dv_dict != NULL)
  ------------------
  |  Branch (6291:9): [True: 4, False: 0]
  ------------------
 6292|      4|        len = GET_USED(dv->dv_dict);
  ------------------
  |  |  313|      4|#define GET_USED(ep) FT_ATOMIC_LOAD_SSIZE_RELAXED((ep)->ma_used)
  |  |  ------------------
  |  |  |  |  148|      4|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  |  |  ------------------
  ------------------
 6293|      4|    return len;
 6294|      4|}
dictobject.c:dictkeys_contains:
 6466|  11.3k|{
 6467|  11.3k|    _PyDictViewObject *dv = (_PyDictViewObject *)self;
 6468|  11.3k|    if (dv->dv_dict == NULL)
  ------------------
  |  Branch (6468:9): [True: 0, False: 11.3k]
  ------------------
 6469|      0|        return 0;
 6470|  11.3k|    return dict_contains((PyObject *)dv->dv_dict, obj);
 6471|  11.3k|}
dictobject.c:dictview_dealloc:
 6270|   381k|{
 6271|   381k|    _PyDictViewObject *dv = (_PyDictViewObject *)self;
 6272|       |    /* bpo-31095: UnTrack is needed before calling any callbacks */
 6273|   381k|    _PyObject_GC_UNTRACK(dv);
  ------------------
  |  |  510|   381k|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   381k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   381k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6274|   381k|    Py_XDECREF(dv->dv_dict);
  ------------------
  |  |  524|   381k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   381k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   381k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6275|   381k|    PyObject_GC_Del(dv);
 6276|   381k|}
dictobject.c:dictview_traverse:
 6280|     68|{
 6281|     68|    _PyDictViewObject *dv = (_PyDictViewObject *)self;
 6282|     68|    Py_VISIT(dv->dv_dict);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 6283|     68|    return 0;
 6284|     68|}
dictobject.c:dictkeys_iter:
 6456|    198|{
 6457|    198|    _PyDictViewObject *dv = (_PyDictViewObject *)self;
 6458|    198|    if (dv->dv_dict == NULL) {
  ------------------
  |  Branch (6458:9): [True: 0, False: 198]
  ------------------
 6459|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 6460|      0|    }
 6461|    198|    return dictiter_new(dv->dv_dict, &PyDictIterKey_Type);
 6462|    198|}
dictobject.c:dictitems_iter:
 6891|   316k|{
 6892|   316k|    _PyDictViewObject *dv = (_PyDictViewObject *)self;
 6893|   316k|    if (dv->dv_dict == NULL) {
  ------------------
  |  Branch (6893:9): [True: 0, False: 316k]
  ------------------
 6894|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 6895|      0|    }
 6896|   316k|    return dictiter_new(dv->dv_dict, &PyDictIterItem_Type);
 6897|   316k|}
dictobject.c:dictvalues_iter:
 7003|  24.9k|{
 7004|  24.9k|    _PyDictViewObject *dv = (_PyDictViewObject *)self;
 7005|  24.9k|    if (dv->dv_dict == NULL) {
  ------------------
  |  Branch (7005:9): [True: 0, False: 24.9k]
  ------------------
 7006|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 7007|      0|    }
 7008|  24.9k|    return dictiter_new(dv->dv_dict, &PyDictIterValue_Type);
 7009|  24.9k|}
dictobject.c:new_keys_object:
  789|  2.85M|{
  790|  2.85M|    Py_ssize_t usable;
  791|  2.85M|    int log2_bytes;
  792|  2.85M|    size_t entry_size = unicode ? sizeof(PyDictUnicodeEntry) : sizeof(PyDictKeyEntry);
  ------------------
  |  Branch (792:25): [True: 2.51M, False: 330k]
  ------------------
  793|       |
  794|  2.85M|    assert(log2_size >= PyDict_LOG_MINSIZE);
  795|       |
  796|  2.85M|    usable = USABLE_FRACTION((size_t)1<<log2_size);
  ------------------
  |  |  575|  2.85M|#define USABLE_FRACTION(n) (((n) << 1)/3)
  ------------------
  797|  2.85M|    if (log2_size < 8) {
  ------------------
  |  Branch (797:9): [True: 2.84M, False: 360]
  ------------------
  798|  2.84M|        log2_bytes = log2_size;
  799|  2.84M|    }
  800|    360|    else if (log2_size < 16) {
  ------------------
  |  Branch (800:14): [True: 358, False: 2]
  ------------------
  801|    358|        log2_bytes = log2_size + 1;
  802|    358|    }
  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.85M|    PyDictKeysObject *dk = NULL;
  813|  2.85M|    if (log2_size == PyDict_LOG_MINSIZE && unicode) {
  ------------------
  |  |  115|  5.70M|#define PyDict_LOG_MINSIZE 3
  ------------------
  |  Branch (813:9): [True: 2.79M, False: 60.0k]
  |  Branch (813:44): [True: 2.46M, False: 320k]
  ------------------
  814|  2.46M|        dk = _Py_FREELIST_POP_MEM(dictkeys);
  ------------------
  |  |   48|  2.46M|    _PyFreeList_PopMem(&_Py_freelists_GET()->NAME)
  ------------------
  815|  2.46M|    }
  816|  2.85M|    if (dk == NULL) {
  ------------------
  |  Branch (816:9): [True: 383k, False: 2.46M]
  ------------------
  817|   383k|        dk = PyMem_Malloc(sizeof(PyDictKeysObject)
  818|   383k|                          + ((size_t)1 << log2_bytes)
  819|   383k|                          + entry_size * usable);
  820|   383k|        if (dk == NULL) {
  ------------------
  |  Branch (820:13): [True: 0, False: 383k]
  ------------------
  821|      0|            PyErr_NoMemory();
  822|      0|            return NULL;
  823|      0|        }
  824|   383k|    }
  825|       |#ifdef Py_REF_DEBUG
  826|       |    _Py_IncRefTotal(_PyThreadState_GET());
  827|       |#endif
  828|  2.85M|    dk->dk_refcnt = 1;
  829|  2.85M|    dk->dk_log2_size = log2_size;
  830|  2.85M|    dk->dk_log2_index_bytes = log2_bytes;
  831|  2.85M|    dk->dk_kind = unicode ? DICT_KEYS_UNICODE : DICT_KEYS_GENERAL;
  ------------------
  |  Branch (831:19): [True: 2.51M, False: 330k]
  ------------------
  832|       |#ifdef Py_GIL_DISABLED
  833|       |    dk->dk_mutex = (PyMutex){0};
  834|       |#endif
  835|  2.85M|    dk->dk_nentries = 0;
  836|  2.85M|    dk->dk_usable = usable;
  837|  2.85M|    dk->dk_version = 0;
  838|  2.85M|    memset(&dk->dk_indices[0], 0xff, ((size_t)1 << log2_bytes));
  839|  2.85M|    memset(&dk->dk_indices[(size_t)1 << log2_bytes], 0, entry_size * usable);
  840|  2.85M|    return dk;
  841|  2.85M|}
dictobject.c:insert_split_key:
 1884|   569k|{
 1885|   569k|    assert(PyUnicode_CheckExact(key));
 1886|   569k|    Py_ssize_t ix;
 1887|       |
 1888|       |
 1889|       |#ifdef Py_GIL_DISABLED
 1890|       |    ix = unicodekeys_lookup_unicode_threadsafe(keys, key, hash);
 1891|       |    if (ix >= 0) {
 1892|       |        return ix;
 1893|       |    }
 1894|       |#endif
 1895|       |
 1896|   569k|    LOCK_KEYS(keys);
 1897|   569k|    ix = unicodekeys_lookup_unicode(keys, key, hash);
 1898|   569k|    if (ix == DKIX_EMPTY && keys->dk_usable > 0) {
  ------------------
  |  |  184|  1.13M|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (1898:9): [True: 11.0k, False: 558k]
  |  Branch (1898:29): [True: 4.06k, False: 6.98k]
  ------------------
 1899|       |        // Insert into new slot
 1900|  4.06k|        FT_ATOMIC_STORE_UINT32_RELAXED(keys->dk_version, 0);
  ------------------
  |  |  171|  4.06k|#define FT_ATOMIC_STORE_UINT32_RELAXED(value, new_value) value = new_value
  ------------------
 1901|  4.06k|        Py_ssize_t hashpos = find_empty_slot(keys, hash);
 1902|  4.06k|        ix = keys->dk_nentries;
 1903|  4.06k|        dictkeys_set_index(keys, hashpos, ix);
 1904|  4.06k|        PyDictUnicodeEntry *ep = &DK_UNICODE_ENTRIES(keys)[ix];
 1905|  4.06k|        STORE_SHARED_KEY(ep->me_key, Py_NewRef(key));
  ------------------
  |  |  250|  4.06k|#define STORE_SHARED_KEY(key, value) key = value
  ------------------
 1906|  4.06k|        split_keys_entry_added(keys);
 1907|  4.06k|    }
 1908|       |    assert (ix < SHARED_KEYS_MAX_SIZE);
 1909|   569k|    UNLOCK_KEYS(keys);
 1910|   569k|    return ix;
 1911|   569k|}
dictobject.c:split_keys_entry_added:
  264|  4.06k|{
  265|  4.06k|    keys->dk_usable--;
  266|  4.06k|    keys->dk_nentries++;
  267|  4.06k|}
dictobject.c:make_dict_from_instance_attributes:
 7160|  3.56k|{
 7161|  3.56k|    dictkeys_incref(keys);
 7162|  3.56k|    Py_ssize_t used = 0;
 7163|  3.56k|    size_t size = shared_keys_usable_size(keys);
 7164|   109k|    for (size_t i = 0; i < size; i++) {
  ------------------
  |  Branch (7164:24): [True: 106k, False: 3.56k]
  ------------------
 7165|   106k|        PyObject *val = values->values[i];
 7166|   106k|        if (val != NULL) {
  ------------------
  |  Branch (7166:13): [True: 376, False: 105k]
  ------------------
 7167|    376|            used += 1;
 7168|    376|        }
 7169|   106k|    }
 7170|  3.56k|    PyDictObject *res = (PyDictObject *)new_dict(keys, values, used, 0);
 7171|  3.56k|    return res;
 7172|  3.56k|}
dictobject.c:store_instance_attr_dict:
 7354|   156k|{
 7355|   156k|    PyDictValues *values = _PyObject_InlineValues(obj);
 7356|   156k|    int res;
 7357|   156k|    Py_BEGIN_CRITICAL_SECTION(dict);
  ------------------
  |  |   51|   156k|    {
  ------------------
 7358|   156k|    if (dict->ma_values == values) {
  ------------------
  |  Branch (7358:9): [True: 0, False: 156k]
  ------------------
 7359|      0|        res = store_instance_attr_lock_held(obj, values, name, value);
 7360|      0|    }
 7361|   156k|    else {
 7362|   156k|        res = _PyDict_SetItem_LockHeld(dict, name, value);
 7363|   156k|    }
 7364|   156k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|   156k|    }
  ------------------
 7365|   156k|    return res;
 7366|   156k|}
dictobject.c:store_instance_attr_lock_held:
 7257|   559k|{
 7258|   559k|    PyDictKeysObject *keys = CACHED_KEYS(Py_TYPE(obj));
  ------------------
  |  |  870|   559k|#define CACHED_KEYS(tp) (((PyHeapTypeObject*)tp)->ht_cached_keys)
  ------------------
 7259|   559k|    assert(keys != NULL);
 7260|   559k|    assert(values != NULL);
 7261|   559k|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
 7262|   559k|    Py_ssize_t ix = DKIX_EMPTY;
  ------------------
  |  |  184|   559k|#define DKIX_EMPTY (-1)
  ------------------
 7263|   559k|    PyDictObject *dict = _PyObject_GetManagedDict(obj);
 7264|   559k|    assert(dict == NULL || ((PyDictObject *)dict)->ma_values == values);
 7265|   559k|    if (PyUnicode_CheckExact(name)) {
  ------------------
  |  |  104|   559k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|   559k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   559k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   559k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 559k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7266|   559k|        Py_hash_t hash = unicode_get_hash(name);
 7267|   559k|        if (hash == -1) {
  ------------------
  |  Branch (7267:13): [True: 0, False: 559k]
  ------------------
 7268|      0|            hash = PyUnicode_Type.tp_hash(name);
 7269|      0|            assert(hash != -1);
 7270|      0|        }
 7271|       |
 7272|   559k|        ix = insert_split_key(keys, name, hash);
 7273|       |
 7274|       |#ifdef Py_STATS
 7275|       |        if (ix == DKIX_EMPTY) {
 7276|       |            if (PyUnicode_CheckExact(name)) {
 7277|       |                if (shared_keys_usable_size(keys) == SHARED_KEYS_MAX_SIZE) {
 7278|       |                    OBJECT_STAT_INC(dict_materialized_too_big);
 7279|       |                }
 7280|       |                else {
 7281|       |                    OBJECT_STAT_INC(dict_materialized_new_key);
 7282|       |                }
 7283|       |            }
 7284|       |            else {
 7285|       |                OBJECT_STAT_INC(dict_materialized_str_subclass);
 7286|       |            }
 7287|       |        }
 7288|       |#endif
 7289|   559k|    }
 7290|       |
 7291|   559k|    if (ix == DKIX_EMPTY) {
  ------------------
  |  |  184|   559k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (7291:9): [True: 3.48k, False: 555k]
  ------------------
 7292|  3.48k|        int res;
 7293|  3.48k|        if (dict == NULL) {
  ------------------
  |  Branch (7293:13): [True: 3.48k, False: 0]
  ------------------
 7294|       |            // Make the dict but don't publish it in the object
 7295|       |            // so that no one else will see it.
 7296|  3.48k|            dict = make_dict_from_instance_attributes(keys, values);
 7297|  3.48k|            if (dict == NULL ||
  ------------------
  |  Branch (7297:17): [True: 0, False: 3.48k]
  ------------------
 7298|  3.48k|                _PyDict_SetItem_LockHeld(dict, name, value) < 0) {
  ------------------
  |  Branch (7298:17): [True: 0, False: 3.48k]
  ------------------
 7299|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7300|      0|                return -1;
 7301|      0|            }
 7302|       |
 7303|  3.48k|            FT_ATOMIC_STORE_PTR_RELEASE(_PyObject_ManagedDictPointer(obj)->dict,
  ------------------
  |  |  163|  3.48k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 7304|  3.48k|                                        (PyDictObject *)dict);
 7305|  3.48k|            return 0;
 7306|  3.48k|        }
 7307|       |
 7308|      0|        _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(dict);
 7309|       |
 7310|      0|        res = _PyDict_SetItem_LockHeld(dict, name, value);
 7311|      0|        return res;
 7312|  3.48k|    }
 7313|       |
 7314|   555k|    PyObject *old_value = values->values[ix];
 7315|   555k|    if (old_value == NULL && value == NULL) {
  ------------------
  |  Branch (7315:9): [True: 363k, False: 192k]
  |  Branch (7315:30): [True: 0, False: 363k]
  ------------------
 7316|      0|        PyErr_Format(PyExc_AttributeError,
 7317|      0|                        "'%.100s' object has no attribute '%U'",
 7318|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7319|      0|        (void)_PyObject_SetAttributeErrorContext(obj, name);
 7320|      0|        return -1;
 7321|      0|    }
 7322|       |
 7323|   555k|    if (dict) {
  ------------------
  |  Branch (7323:9): [True: 40, False: 555k]
  ------------------
 7324|     40|        PyDict_WatchEvent event = (old_value == NULL ? PyDict_EVENT_ADDED :
  ------------------
  |  Branch (7324:36): [True: 30, False: 10]
  ------------------
 7325|     40|                                   value == NULL ? PyDict_EVENT_DELETED :
  ------------------
  |  Branch (7325:36): [True: 0, False: 10]
  ------------------
 7326|     10|                                   PyDict_EVENT_MODIFIED);
 7327|     40|        _PyDict_NotifyEvent(event, dict, name, value);
 7328|     40|    }
 7329|       |
 7330|   555k|    FT_ATOMIC_STORE_PTR_RELEASE(values->values[ix], Py_XNewRef(value));
  ------------------
  |  |  163|   555k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 7331|       |
 7332|   555k|    if (old_value == NULL) {
  ------------------
  |  Branch (7332:9): [True: 363k, False: 192k]
  ------------------
 7333|   363k|        _PyDictValues_AddToInsertionOrder(values, ix);
 7334|   363k|        if (dict) {
  ------------------
  |  Branch (7334:13): [True: 30, False: 363k]
  ------------------
 7335|     30|            assert(dict->ma_values == values);
 7336|     30|            STORE_USED(dict, dict->ma_used + 1);
  ------------------
  |  |  321|     30|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  193|     30|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 7337|     30|        }
 7338|   363k|    }
 7339|   192k|    else {
 7340|   192k|        if (value == NULL) {
  ------------------
  |  Branch (7340:13): [True: 62.6k, False: 129k]
  ------------------
 7341|  62.6k|            delete_index_from_values(values, ix);
 7342|  62.6k|            if (dict) {
  ------------------
  |  Branch (7342:17): [True: 0, False: 62.6k]
  ------------------
 7343|      0|                assert(dict->ma_values == values);
 7344|      0|                STORE_USED(dict, dict->ma_used - 1);
  ------------------
  |  |  321|      0|#define STORE_USED(mp, used) FT_ATOMIC_STORE_SSIZE_RELAXED(mp->ma_used, used)
  |  |  ------------------
  |  |  |  |  193|      0|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  ------------------
 7345|      0|            }
 7346|  62.6k|        }
 7347|   192k|        Py_DECREF(old_value);
  ------------------
  |  |  430|   192k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   192k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   192k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7348|   192k|    }
 7349|   555k|    return 0;
 7350|   555k|}
dictobject.c:clear_inline_values:
 7591|   365k|{
 7592|   365k|    if (values->valid) {
  ------------------
  |  Branch (7592:9): [True: 275k, False: 90.0k]
  ------------------
 7593|   275k|        FT_ATOMIC_STORE_UINT8(values->valid, 0);
  ------------------
  |  |  154|   275k|#define FT_ATOMIC_STORE_UINT8(value, new_value) value = new_value
  ------------------
 7594|  2.56M|        for (Py_ssize_t i = 0; i < values->capacity; i++) {
  ------------------
  |  Branch (7594:32): [True: 2.29M, False: 275k]
  ------------------
 7595|       |            Py_CLEAR(values->values[i]);
  ------------------
  |  |  484|  2.29M|    do { \
  |  |  485|  2.29M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  2.29M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  2.29M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  2.29M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  2.29M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 1.55M, False: 742k]
  |  |  ------------------
  |  |  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|  2.29M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2.29M]
  |  |  ------------------
  ------------------
 7596|  2.29M|        }
 7597|   275k|    }
 7598|   365k|}
dictobject.c:detach_dict_from_object:
 7772|     11|{
 7773|     11|    assert(_PyObject_ManagedDictPointer(obj)->dict == mp);
 7774|     11|    assert(_PyObject_InlineValuesConsistencyCheck(obj));
 7775|       |
 7776|     11|    if (FT_ATOMIC_LOAD_PTR_RELAXED(mp->ma_values) != _PyObject_InlineValues(obj)) {
  ------------------
  |  |  152|     11|#define FT_ATOMIC_LOAD_PTR_RELAXED(value) value
  ------------------
  |  Branch (7776:9): [True: 0, False: 11]
  ------------------
 7777|      0|        return 0;
 7778|      0|    }
 7779|       |
 7780|       |    // We could be called with an unlocked dict when the caller knows the
 7781|       |    // values are already detached, so we assert after inline values check.
 7782|     11|    ASSERT_WORLD_STOPPED_OR_OBJ_LOCKED(mp);
 7783|     11|    assert(mp->ma_values->embedded == 1);
 7784|     11|    assert(mp->ma_values->valid == 1);
 7785|     11|    assert(Py_TYPE(obj)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
 7786|       |
 7787|     11|    PyDictValues *values = copy_values(mp->ma_values);
 7788|       |
 7789|     11|    if (values == NULL) {
  ------------------
  |  Branch (7789:9): [True: 0, False: 11]
  ------------------
 7790|      0|        PyErr_NoMemory();
 7791|      0|        return -1;
 7792|      0|    }
 7793|     11|    mp->ma_values = values;
 7794|       |
 7795|     11|    invalidate_and_clear_inline_values(_PyObject_InlineValues(obj));
 7796|       |
 7797|     11|    assert(_PyObject_InlineValuesConsistencyCheck(obj));
 7798|       |    ASSERT_CONSISTENT(mp);
  ------------------
  |  |  653|     11|#  define ASSERT_CONSISTENT(op) assert(_PyDict_CheckConsistency((PyObject *)(op), 0))
  ------------------
 7799|     11|    return 0;
 7800|     11|}
dictobject.c:set_keys:
  271|  2.15M|{
  272|  2.15M|    mp->ma_keys = keys;
  273|  2.15M|}
dictobject.c:dictkeys_decref:
  480|  7.26M|{
  481|  7.26M|    if (FT_ATOMIC_LOAD_SSIZE_RELAXED(dk->dk_refcnt) < 0) {
  ------------------
  |  |  148|  7.26M|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
  |  Branch (481:9): [True: 2.42M, False: 4.83M]
  ------------------
  482|  2.42M|        assert(FT_ATOMIC_LOAD_SSIZE_RELAXED(dk->dk_refcnt) == _Py_DICT_IMMORTAL_INITIAL_REFCNT);
  483|  2.42M|        return;
  484|  2.42M|    }
  485|  7.26M|    assert(FT_ATOMIC_LOAD_SSIZE(dk->dk_refcnt) > 0);
  486|       |#ifdef Py_REF_DEBUG
  487|       |    _Py_DecRefTotal(_PyThreadState_GET());
  488|       |#endif
  489|  4.83M|    if (DECREF_KEYS(dk) == 1) {
  ------------------
  |  |  252|  4.83M|#define DECREF_KEYS(dk)  dk->dk_refcnt--
  ------------------
  |  Branch (489:9): [True: 4.83M, False: 3.53k]
  ------------------
  490|  4.83M|        if (DK_IS_UNICODE(dk)) {
  ------------------
  |  |  282|  4.83M|#define DK_IS_UNICODE(dk) ((dk)->dk_kind != DICT_KEYS_GENERAL)
  |  |  ------------------
  |  |  |  Branch (282:27): [True: 4.53M, False: 300k]
  |  |  ------------------
  ------------------
  491|  4.53M|            PyDictUnicodeEntry *entries = DK_UNICODE_ENTRIES(dk);
  492|  4.53M|            Py_ssize_t i, n;
  493|  10.5M|            for (i = 0, n = dk->dk_nentries; i < n; i++) {
  ------------------
  |  Branch (493:46): [True: 6.01M, False: 4.53M]
  ------------------
  494|  6.01M|                Py_XDECREF(entries[i].me_key);
  ------------------
  |  |  524|  6.01M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.01M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.01M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  495|  6.01M|                Py_XDECREF(entries[i].me_value);
  ------------------
  |  |  524|  6.01M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.01M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.01M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  496|  6.01M|            }
  497|  4.53M|        }
  498|   300k|        else {
  499|   300k|            PyDictKeyEntry *entries = DK_ENTRIES(dk);
  500|   300k|            Py_ssize_t i, n;
  501|   712k|            for (i = 0, n = dk->dk_nentries; i < n; i++) {
  ------------------
  |  Branch (501:46): [True: 412k, False: 300k]
  ------------------
  502|   412k|                Py_XDECREF(entries[i].me_key);
  ------------------
  |  |  524|   412k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   412k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   412k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  503|   412k|                Py_XDECREF(entries[i].me_value);
  ------------------
  |  |  524|   412k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   412k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   412k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  504|   412k|            }
  505|   300k|        }
  506|  4.83M|        free_keys_object(dk, use_qsbr);
  507|  4.83M|    }
  508|  4.83M|}
dictobject.c:ensure_managed_dict:
 7857|   212k|{
 7858|   212k|    PyDictObject *dict = _PyObject_GetManagedDict(obj);
 7859|   212k|    if (dict == NULL) {
  ------------------
  |  Branch (7859:9): [True: 76, False: 212k]
  ------------------
 7860|     76|        PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7861|     76|        if ((tp->tp_flags & Py_TPFLAGS_INLINE_VALUES) &&
  ------------------
  |  |  472|     76|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (7861:13): [True: 76, False: 0]
  ------------------
 7862|     76|            FT_ATOMIC_LOAD_UINT8(_PyObject_InlineValues(obj)->valid)) {
  ------------------
  |  |  153|     76|#define FT_ATOMIC_LOAD_UINT8(value) value
  |  |  ------------------
  |  |  |  Branch (153:37): [True: 76, False: 0]
  |  |  ------------------
  ------------------
 7863|     76|            dict = _PyObject_MaterializeManagedDict(obj);
 7864|     76|        }
 7865|      0|        else {
 7866|       |#ifdef Py_GIL_DISABLED
 7867|       |            // Check again that we're not racing with someone else creating the dict
 7868|       |            Py_BEGIN_CRITICAL_SECTION(obj);
 7869|       |            dict = _PyObject_GetManagedDict(obj);
 7870|       |            if (dict != NULL) {
 7871|       |                goto done;
 7872|       |            }
 7873|       |#endif
 7874|      0|            dict = (PyDictObject *)new_dict_with_shared_keys(CACHED_KEYS(tp));
  ------------------
  |  |  870|      0|#define CACHED_KEYS(tp) (((PyHeapTypeObject*)tp)->ht_cached_keys)
  ------------------
 7875|      0|            FT_ATOMIC_STORE_PTR_RELEASE(_PyObject_ManagedDictPointer(obj)->dict,
  ------------------
  |  |  163|      0|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 7876|      0|                                        (PyDictObject *)dict);
 7877|       |
 7878|       |#ifdef Py_GIL_DISABLED
 7879|       |done:
 7880|       |            Py_END_CRITICAL_SECTION();
 7881|       |#endif
 7882|      0|        }
 7883|     76|    }
 7884|   212k|    return (PyObject *)dict;
 7885|   212k|}
dictobject.c:new_dict_with_shared_keys:
  948|    920|{
  949|    920|    size_t size = shared_keys_usable_size(keys);
  950|    920|    PyDictValues *values = new_values(size);
  951|    920|    if (values == NULL) {
  ------------------
  |  Branch (951:9): [True: 0, False: 920]
  ------------------
  952|      0|        return PyErr_NoMemory();
  953|      0|    }
  954|    920|    dictkeys_incref(keys);
  955|  28.5k|    for (size_t i = 0; i < size; i++) {
  ------------------
  |  Branch (955:24): [True: 27.6k, False: 920]
  ------------------
  956|       |        values->values[i] = NULL;
  957|  27.6k|    }
  958|    920|    return new_dict(keys, values, 0, 1);
  959|    920|}
dictobject.c:ensure_nonmanaged_dict:
 7889|   225k|{
 7890|   225k|    PyDictKeysObject *cached;
 7891|       |
 7892|   225k|    PyObject *dict = FT_ATOMIC_LOAD_PTR_ACQUIRE(*dictptr);
  ------------------
  |  |  149|   225k|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
 7893|   225k|    if (dict == NULL) {
  ------------------
  |  Branch (7893:9): [True: 24.1k, False: 201k]
  ------------------
 7894|       |#ifdef Py_GIL_DISABLED
 7895|       |        Py_BEGIN_CRITICAL_SECTION(obj);
 7896|       |        dict = *dictptr;
 7897|       |        if (dict != NULL) {
 7898|       |            goto done;
 7899|       |        }
 7900|       |#endif
 7901|  24.1k|        PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|  24.1k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  24.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7902|  24.1k|        if (_PyType_HasFeature(tp, Py_TPFLAGS_HEAPTYPE) && (cached = CACHED_KEYS(tp))) {
  ------------------
  |  |  503|  24.1k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
                      if (_PyType_HasFeature(tp, Py_TPFLAGS_HEAPTYPE) && (cached = CACHED_KEYS(tp))) {
  ------------------
  |  |  870|  19.1k|#define CACHED_KEYS(tp) (((PyHeapTypeObject*)tp)->ht_cached_keys)
  ------------------
  |  Branch (7902:13): [True: 19.1k, False: 5.06k]
  |  Branch (7902:60): [True: 920, False: 18.1k]
  ------------------
 7903|    920|            assert(!_PyType_HasFeature(tp, Py_TPFLAGS_INLINE_VALUES));
 7904|    920|            dict = new_dict_with_shared_keys(cached);
 7905|    920|        }
 7906|  23.2k|        else {
 7907|  23.2k|            dict = PyDict_New();
 7908|  23.2k|        }
 7909|  24.1k|        FT_ATOMIC_STORE_PTR_RELEASE(*dictptr, dict);
  ------------------
  |  |  163|  24.1k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 7910|       |#ifdef Py_GIL_DISABLED
 7911|       |done:
 7912|       |        Py_END_CRITICAL_SECTION();
 7913|       |#endif
 7914|  24.1k|    }
 7915|   225k|    return dict;
 7916|   225k|}
dictobject.c:get_next_dict_keys_version:
 7965|    762|{
 7966|       |#ifdef Py_GIL_DISABLED
 7967|       |    uint32_t v;
 7968|       |    do {
 7969|       |        v = _Py_atomic_load_uint32_relaxed(
 7970|       |            &interp->dict_state.next_keys_version);
 7971|       |        if (v == 0) {
 7972|       |            return 0;
 7973|       |        }
 7974|       |    } while (!_Py_atomic_compare_exchange_uint32(
 7975|       |        &interp->dict_state.next_keys_version, &v, v + 1));
 7976|       |#else
 7977|    762|    if (interp->dict_state.next_keys_version == 0) {
  ------------------
  |  Branch (7977:9): [True: 0, False: 762]
  ------------------
 7978|      0|        return 0;
 7979|      0|    }
 7980|    762|    uint32_t v = interp->dict_state.next_keys_version++;
 7981|    762|#endif
 7982|    762|    return v;
 7983|    762|}
dictobject.c:ensure_shared_on_keys_version_assignment:
 1410|  10.6k|{
 1411|  10.6k|    ASSERT_DICT_LOCKED((PyObject *) mp);
 1412|       |    #ifdef Py_GIL_DISABLED
 1413|       |    if (!IS_DICT_SHARED(mp)) {
 1414|       |        // This ensures that a concurrent resize operation will delay
 1415|       |        // freeing the old keys or values using QSBR, which is necessary to
 1416|       |        // safely allow concurrent reads without locking.
 1417|       |        SET_DICT_SHARED(mp);
 1418|       |    }
 1419|       |    #endif
 1420|  10.6k|}
dictobject.c:validate_watcher_id:
 8013|  4.18k|{
 8014|  4.18k|    if (watcher_id < 0 || watcher_id >= DICT_MAX_WATCHERS) {
  ------------------
  |  |   11|  4.18k|#define DICT_MAX_WATCHERS 8
  ------------------
  |  Branch (8014:9): [True: 0, False: 4.18k]
  |  Branch (8014:27): [True: 0, False: 4.18k]
  ------------------
 8015|      0|        PyErr_Format(PyExc_ValueError, "Invalid dict watcher ID %d", watcher_id);
 8016|      0|        return -1;
 8017|      0|    }
 8018|  4.18k|    if (!interp->dict_state.watchers[watcher_id]) {
  ------------------
  |  Branch (8018:9): [True: 0, False: 4.18k]
  ------------------
 8019|      0|        PyErr_Format(PyExc_ValueError, "No dict watcher set for ID %d", watcher_id);
 8020|      0|        return -1;
 8021|      0|    }
 8022|  4.18k|    return 0;
 8023|  4.18k|}
dictobject.c:frozendict_new:
 8256|     72|{
 8257|     72|    PyObject *d = dict_new(type, args, kwds);
 8258|     72|    if (d == NULL) {
  ------------------
  |  Branch (8258:9): [True: 0, False: 72]
  ------------------
 8259|      0|        return NULL;
 8260|      0|    }
 8261|     72|    assert(can_modify_dict(_PyAnyDict_CAST(d)));
 8262|       |
 8263|     72|    PyFrozenDictObject *self = _PyFrozenDictObject_CAST(d);
  ------------------
  |  |  443|     72|    (assert(PyFrozenDict_Check(op)), _Py_CAST(PyFrozenDictObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     72|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 8264|     72|    self->ma_hash = -1;
 8265|       |
 8266|     72|    if (args != NULL) {
  ------------------
  |  Branch (8266:9): [True: 0, False: 72]
  ------------------
 8267|      0|        if (dict_update_common(d, args, kwds, "frozendict") < 0) {
  ------------------
  |  Branch (8267:13): [True: 0, False: 0]
  ------------------
 8268|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8269|      0|            return NULL;
 8270|      0|        }
 8271|      0|    }
 8272|     72|    else {
 8273|     72|        assert(kwds == NULL);
 8274|     72|    }
 8275|       |
 8276|     72|    return d;
 8277|     72|}
dictobject.c:frozendict_vectorcall:
 5278|     72|{
 5279|     72|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|     72|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
 5280|     72|    if (!_PyArg_CheckPositional("frozendict", nargs, 0, 1)) {
  ------------------
  |  |   31|     72|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 72, False: 0]
  |  |  |  Branch (31:27): [True: 72, False: 0]
  |  |  ------------------
  |  |   32|     72|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5281|      0|        return NULL;
 5282|      0|    }
 5283|       |
 5284|     72|    if (nargs == 1 && kwnames == NULL
  ------------------
  |  Branch (5284:9): [True: 18, False: 54]
  |  Branch (5284:23): [True: 18, False: 0]
  ------------------
 5285|     72|        && PyFrozenDict_CheckExact(args[0])
  ------------------
  |  |   38|     18|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  215|     90|#  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: 0, False: 18]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5286|      0|        && Py_Is((PyTypeObject*)type, &PyFrozenDict_Type))
  ------------------
  |  |  187|      0|#define Py_Is(x, y) ((x) == (y))
  |  |  ------------------
  |  |  |  Branch (187:21): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5287|      0|    {
 5288|       |        // frozendict(frozendict) returns the same object unmodified
 5289|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5290|      0|    }
 5291|       |
 5292|     72|    PyObject *self = frozendict_new(_PyType_CAST(type), NULL, NULL);
  ------------------
  |  |  770|     72|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     72|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 5293|     72|    if (self == NULL) {
  ------------------
  |  Branch (5293:9): [True: 0, False: 72]
  ------------------
 5294|      0|        return NULL;
 5295|      0|    }
 5296|     72|    if (nargs == 1) {
  ------------------
  |  Branch (5296:9): [True: 18, False: 54]
  ------------------
 5297|     18|        if (dict_update_arg(self, args[0]) < 0) {
  ------------------
  |  Branch (5297:13): [True: 0, False: 18]
  ------------------
 5298|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5299|      0|            return NULL;
 5300|      0|        }
 5301|     18|        args++;
 5302|     18|    }
 5303|     72|    if (kwnames != NULL) {
  ------------------
  |  Branch (5303:9): [True: 52, False: 20]
  ------------------
 5304|    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 (5304:32): [True: 638, False: 52]
  ------------------
 5305|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5306|    638|            if (_PyAnyDict_SetItem(self, key, args[i]) < 0) {
  ------------------
  |  Branch (5306:17): [True: 0, False: 638]
  ------------------
 5307|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5308|      0|                return NULL;
 5309|      0|            }
 5310|    638|        }
 5311|     52|    }
 5312|     72|    return self;
 5313|     72|}
dictobject.c:_PyAnyDict_SetItem:
 2806|    638|{
 2807|    638|    assert(PyAnyDict_Check(op));
 2808|    638|    assert(key);
 2809|    638|    assert(value);
 2810|    638|    return _PyDict_SetItem_Take2((PyDictObject *)op,
 2811|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2812|    638|}

enumobject.c:enum_dealloc:
  157|  7.32k|{
  158|  7.32k|    enumobject *en = _enumobject_CAST(op);
  ------------------
  |  |   28|  7.32k|#define _enumobject_CAST(op)    ((enumobject *)(op))
  ------------------
  159|  7.32k|    PyObject_GC_UnTrack(en);
  160|  7.32k|    Py_XDECREF(en->en_sit);
  ------------------
  |  |  524|  7.32k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.32k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.32k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  161|  7.32k|    Py_XDECREF(en->en_result);
  ------------------
  |  |  524|  7.32k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.32k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.32k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  162|  7.32k|    Py_XDECREF(en->en_longindex);
  ------------------
  |  |  524|  7.32k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.32k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.32k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  163|  7.32k|    Py_TYPE(en)->tp_free(en);
  ------------------
  |  |  213|  7.32k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  7.32k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.32k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  164|  7.32k|}
enumobject.c:enum_traverse:
  168|      2|{
  169|      2|    enumobject *en = _enumobject_CAST(op);
  ------------------
  |  |   28|      2|#define _enumobject_CAST(op)    ((enumobject *)(op))
  ------------------
  170|      2|    Py_VISIT(en->en_sit);
  ------------------
  |  |  194|      2|    do {                                                                \
  |  |  195|      2|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 2, False: 0]
  |  |  ------------------
  |  |  196|      2|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      2|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 2]
  |  |  ------------------
  |  |  198|      2|                return vret;                                            \
  |  |  199|      2|        }                                                               \
  |  |  200|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  171|      2|    Py_VISIT(en->en_result);
  ------------------
  |  |  194|      2|    do {                                                                \
  |  |  195|      2|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 2, False: 0]
  |  |  ------------------
  |  |  196|      2|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      2|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 2]
  |  |  ------------------
  |  |  198|      2|                return vret;                                            \
  |  |  199|      2|        }                                                               \
  |  |  200|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  172|      2|    Py_VISIT(en->en_longindex);
  ------------------
  |  |  194|      2|    do {                                                                \
  |  |  195|      2|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  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|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  173|      2|    return 0;
  174|      2|}
enumobject.c:enum_next:
  234|  11.9k|{
  235|  11.9k|    enumobject *en = _enumobject_CAST(op);
  ------------------
  |  |   28|  11.9k|#define _enumobject_CAST(op)    ((enumobject *)(op))
  ------------------
  236|  11.9k|    PyObject *next_index;
  237|  11.9k|    PyObject *next_item;
  238|  11.9k|    PyObject *result = en->en_result;
  239|  11.9k|    PyObject *it = en->en_sit;
  240|  11.9k|    PyObject *old_index;
  241|  11.9k|    PyObject *old_item;
  242|       |
  243|  11.9k|    next_item = (*Py_TYPE(it)->tp_iternext)(it);
  ------------------
  |  |  213|  11.9k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  11.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  244|  11.9k|    if (next_item == NULL)
  ------------------
  |  Branch (244:9): [True: 7.29k, False: 4.64k]
  ------------------
  245|  7.29k|        return NULL;
  246|       |
  247|  4.64k|    Py_ssize_t en_index = FT_ATOMIC_LOAD_SSIZE_RELAXED(en->en_index);
  ------------------
  |  |  148|  4.64k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
  248|  4.64k|    if (en_index == PY_SSIZE_T_MAX)
  ------------------
  |  |  137|  4.64k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (248:9): [True: 0, False: 4.64k]
  ------------------
  249|      0|        return enum_next_long(en, next_item);
  250|       |
  251|  4.64k|    next_index = PyLong_FromSsize_t(en_index);
  252|  4.64k|    if (next_index == NULL) {
  ------------------
  |  Branch (252:9): [True: 0, False: 4.64k]
  ------------------
  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.64k|    FT_ATOMIC_STORE_SSIZE_RELAXED(en->en_index, en_index + 1);
  ------------------
  |  |  193|  4.64k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  257|       |
  258|  4.64k|    if (_PyObject_IsUniquelyReferenced(result)) {
  ------------------
  |  Branch (258:9): [True: 4.64k, False: 0]
  ------------------
  259|  4.64k|        Py_INCREF(result);
  ------------------
  |  |  310|  4.64k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.64k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.64k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  260|  4.64k|        old_index = PyTuple_GET_ITEM(result, 0);
  ------------------
  |  |   29|  4.64k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  4.64k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.64k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  261|  4.64k|        old_item = PyTuple_GET_ITEM(result, 1);
  ------------------
  |  |   29|  4.64k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  4.64k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.64k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  262|  4.64k|        PyTuple_SET_ITEM(result, 0, next_index);
  ------------------
  |  |   40|  4.64k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  4.64k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.64k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  4.64k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.64k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  263|  4.64k|        PyTuple_SET_ITEM(result, 1, next_item);
  ------------------
  |  |   40|  4.64k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  4.64k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.64k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  4.64k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.64k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  264|  4.64k|        Py_DECREF(old_index);
  ------------------
  |  |  430|  4.64k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.64k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.64k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  265|  4.64k|        Py_DECREF(old_item);
  ------------------
  |  |  430|  4.64k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.64k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.64k|#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.64k|        _PyTuple_Recycle(result);
  269|  4.64k|        return result;
  270|  4.64k|    }
  271|      0|    return _PyTuple_FromPairSteal(next_index, next_item);
  272|  4.64k|}
enumobject.c:enum_new_impl:
   50|  7.32k|{
   51|  7.32k|    enumobject *en;
   52|       |
   53|  7.32k|    en = (enumobject *)type->tp_alloc(type, 0);
   54|  7.32k|    if (en == NULL)
  ------------------
  |  Branch (54:9): [True: 0, False: 7.32k]
  ------------------
   55|      0|        return NULL;
   56|  7.32k|    if (start != NULL) {
  ------------------
  |  Branch (56:9): [True: 2, False: 7.32k]
  ------------------
   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|  7.32k|    } else {
   73|  7.32k|        en->en_index = 0;
   74|  7.32k|        en->en_longindex = NULL;
   75|  7.32k|    }
   76|  7.32k|    en->en_sit = PyObject_GetIter(iterable);
   77|  7.32k|    if (en->en_sit == NULL) {
  ------------------
  |  Branch (77:9): [True: 0, False: 7.32k]
  ------------------
   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|  7.32k|    en->en_result = _PyTuple_FromPairSteal(Py_None, Py_None);
  ------------------
  |  |  616|  7.32k|#  define Py_None (&_Py_NoneStruct)
  ------------------
                  en->en_result = _PyTuple_FromPairSteal(Py_None, Py_None);
  ------------------
  |  |  616|  7.32k|#  define Py_None (&_Py_NoneStruct)
  ------------------
   82|  7.32k|    if (en->en_result == NULL) {
  ------------------
  |  Branch (82:9): [True: 0, False: 7.32k]
  ------------------
   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|  7.32k|    en->one = _PyLong_GetOne();    /* borrowed reference */
   87|  7.32k|    return (PyObject *)en;
   88|  7.32k|}
enumobject.c:enumerate_vectorcall:
  106|  7.32k|{
  107|  7.32k|    PyTypeObject *tp = _PyType_CAST(type);
  ------------------
  |  |  770|  7.32k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  7.32k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  108|  7.32k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  7.32k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  109|  7.32k|    Py_ssize_t nkwargs = 0;
  110|  7.32k|    if (kwnames != NULL) {
  ------------------
  |  Branch (110:9): [True: 0, False: 7.32k]
  ------------------
  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|  7.32k|    if (nargs + nkwargs == 2) {
  ------------------
  |  Branch (115:9): [True: 2, False: 7.32k]
  ------------------
  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|  7.32k|    if (nargs + nkwargs == 1) {
  ------------------
  |  Branch (137:9): [True: 7.32k, False: 0]
  ------------------
  138|  7.32k|        if (nkwargs == 1 && !check_keyword(kwnames, 0, "iterable")) {
  ------------------
  |  Branch (138:13): [True: 0, False: 7.32k]
  |  Branch (138:29): [True: 0, False: 0]
  ------------------
  139|      0|            return NULL;
  140|      0|        }
  141|  7.32k|        return enum_new_impl(tp, args[0], NULL);
  142|  7.32k|    }
  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);
  ------------------
  |  |  148|     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);
  ------------------
  |  |  193|     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);
  ------------------
  |  |  193|     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|  3.99k|{
  366|  3.99k|    Py_ssize_t n;
  367|  3.99k|    PyObject *reversed_meth;
  368|  3.99k|    reversedobject *ro;
  369|       |
  370|  3.99k|    reversed_meth = _PyObject_LookupSpecial(seq, &_Py_ID(__reversed__));
  ------------------
  |  |  915|  3.99k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  3.99k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  3.99k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  371|  3.99k|    if (reversed_meth == Py_None) {
  ------------------
  |  |  616|  3.99k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (371:9): [True: 0, False: 3.99k]
  ------------------
  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|  3.99k|    if (reversed_meth != NULL) {
  ------------------
  |  Branch (378:9): [True: 3.98k, False: 12]
  ------------------
  379|  3.98k|        PyObject *res = _PyObject_CallNoArgs(reversed_meth);
  380|  3.98k|        Py_DECREF(reversed_meth);
  ------------------
  |  |  430|  3.98k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.98k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.98k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  381|  3.98k|        return res;
  382|  3.98k|    }
  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|  3.99k|{
  410|  3.99k|    if (!_PyArg_NoKwnames("reversed", kwnames)) {
  ------------------
  |  |   15|  3.99k|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (15:6): [True: 3.99k, False: 0]
  |  |  |  Branch (15:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  411|      0|        return NULL;
  412|      0|    }
  413|       |
  414|  3.99k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  3.99k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  415|  3.99k|    if (!_PyArg_CheckPositional("reversed", nargs, 1, 1)) {
  ------------------
  |  |   31|  3.99k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 3.99k, False: 0]
  |  |  |  Branch (31:27): [True: 3.99k, False: 0]
  |  |  ------------------
  |  |   32|  3.99k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  416|      0|        return NULL;
  417|      0|    }
  418|       |
  419|  3.99k|    return reversed_new_impl(_PyType_CAST(type), args[0]);
  ------------------
  |  |  770|  3.99k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.99k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  420|  3.99k|}

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

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|  4.14M|{
  127|  4.14M|    PyFloatObject *op = _Py_FREELIST_POP(PyFloatObject, floats);
  ------------------
  |  |   43|  4.14M|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  4.14M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  128|  4.14M|    if (op == NULL) {
  ------------------
  |  Branch (128:9): [True: 1.32k, False: 4.14M]
  ------------------
  129|  1.32k|        op = PyObject_Malloc(sizeof(PyFloatObject));
  130|  1.32k|        if (!op) {
  ------------------
  |  Branch (130:13): [True: 0, False: 1.32k]
  ------------------
  131|      0|            return PyErr_NoMemory();
  132|      0|        }
  133|  1.32k|        _PyObject_Init((PyObject*)op, &PyFloat_Type);
  134|  1.32k|    }
  135|  4.14M|    op->ob_fval = fval;
  136|  4.14M|    return (PyObject *) op;
  137|  4.14M|}
PyFloat_FromString:
  181|  13.6k|{
  182|  13.6k|    const char *s;
  183|  13.6k|    PyObject *s_buffer = NULL;
  184|  13.6k|    Py_ssize_t len;
  185|  13.6k|    Py_buffer view = {NULL, NULL};
  186|  13.6k|    PyObject *result = NULL;
  187|       |
  188|  13.6k|    if (PyUnicode_Check(v)) {
  ------------------
  |  |  103|  13.6k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  13.6k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 13.6k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  189|  13.6k|        s_buffer = _PyUnicode_TransformDecimalAndSpaceToASCII(v);
  190|  13.6k|        if (s_buffer == NULL)
  ------------------
  |  Branch (190:13): [True: 0, False: 13.6k]
  ------------------
  191|      0|            return NULL;
  192|  13.6k|        assert(PyUnicode_IS_ASCII(s_buffer));
  193|       |        /* Simply get a pointer to existing ASCII characters. */
  194|  13.6k|        s = PyUnicode_AsUTF8AndSize(s_buffer, &len);
  195|  13.6k|        assert(s != NULL);
  196|  13.6k|    }
  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|  13.6k|    result = _Py_string_to_number_with_underscores(s, len, "float", v, v,
  223|  13.6k|                                                   float_from_string_inner);
  224|  13.6k|    PyBuffer_Release(&view);
  225|  13.6k|    Py_XDECREF(s_buffer);
  ------------------
  |  |  524|  13.6k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  13.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  226|  13.6k|    return result;
  227|  13.6k|}
_PyFloat_ExactDealloc:
  231|  4.14M|{
  232|  4.14M|    assert(PyFloat_CheckExact(obj));
  233|  4.14M|    _Py_FREELIST_FREE(floats, obj, PyObject_Free);
  ------------------
  |  |   35|  4.14M|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  4.14M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.14M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  4.14M|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   18|  4.14M|#  define Py_floats_MAXFREELIST 100
  |  |  ------------------
  ------------------
  234|  4.14M|}
PyFloat_AsDouble:
  248|    236|{
  249|    236|    PyNumberMethods *nb;
  250|    236|    PyObject *res;
  251|    236|    double val;
  252|       |
  253|    236|    if (op == NULL) {
  ------------------
  |  Branch (253:9): [True: 0, False: 236]
  ------------------
  254|      0|        PyErr_BadArgument();
  255|      0|        return -1;
  256|      0|    }
  257|       |
  258|    236|    if (PyFloat_Check(op)) {
  ------------------
  |  |   16|    236|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  378|    236|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    236|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    236|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 234, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  259|    234|        return PyFloat_AS_DOUBLE(op);
  ------------------
  |  |   18|    234|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    234|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    234|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  260|    234|    }
  261|       |
  262|      2|    nb = Py_TYPE(op)->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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  263|      2|    if (nb == NULL || nb->nb_float == NULL) {
  ------------------
  |  Branch (263:9): [True: 0, False: 2]
  |  Branch (263:23): [True: 0, False: 2]
  ------------------
  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|      2|    res = (*nb->nb_float) (op);
  279|      2|    if (res == NULL) {
  ------------------
  |  Branch (279:9): [True: 0, False: 2]
  ------------------
  280|      0|        return -1;
  281|      0|    }
  282|      2|    if (!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 (282:9): [True: 0, False: 2]
  ------------------
  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|      2|    val = PyFloat_AS_DOUBLE(res);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  301|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  302|      2|    return val;
  303|      2|}
_Py_convert_int_to_double:
  321|  12.4k|{
  322|  12.4k|    PyObject *obj = *v;
  323|       |
  324|  12.4k|    if (PyLong_Check(obj)) {
  ------------------
  |  |   13|  12.4k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  12.4k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 12.4k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  325|  12.4k|        *dbl = PyLong_AsDouble(obj);
  326|  12.4k|        if (*dbl == -1.0 && PyErr_Occurred()) {
  ------------------
  |  Branch (326:13): [True: 0, False: 12.4k]
  |  Branch (326:29): [True: 0, False: 0]
  ------------------
  327|      0|            *v = NULL;
  328|      0|            return -1;
  329|      0|        }
  330|  12.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|  12.4k|    return 0;
  336|  12.4k|}
_PyFloat_InitTypes:
 1856|      2|{
 1857|       |    /* Init float info */
 1858|      2|    if (_PyStructSequence_InitBuiltin(interp, &FloatInfoType,
  ------------------
  |  Branch (1858:9): [True: 0, False: 2]
  ------------------
 1859|      2|                                      &floatinfo_desc) < 0)
 1860|      0|    {
 1861|      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)}
  ------------------
 1862|      0|    }
 1863|       |
 1864|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 1865|      2|}
PyFloat_Pack8:
 2071|    221|{
 2072|    221|    unsigned char *p = (unsigned char *)data;
 2073|    221|    unsigned char as_bytes[8];
 2074|    221|    memcpy(as_bytes, &x, 8);
 2075|    221|    const unsigned char *s = as_bytes;
 2076|    221|    int i, incr = 1;
 2077|       |
 2078|    221|    if ((_PY_FLOAT_LITTLE_ENDIAN && !le) || (_PY_FLOAT_BIG_ENDIAN && le)) {
  ------------------
  |  |   51|    442|#  define _PY_FLOAT_LITTLE_ENDIAN 1
  |  |  ------------------
  |  |  |  Branch (51:35): [True: 221, 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 (2078:37): [True: 206, False: 15]
  |  Branch (2078:70): [True: 0, False: 0]
  ------------------
 2079|    206|        p += 7;
 2080|    206|        incr = -1;
 2081|    206|    }
 2082|       |
 2083|  1.98k|    for (i = 0; i < 8; i++) {
  ------------------
  |  Branch (2083:17): [True: 1.76k, False: 221]
  ------------------
 2084|  1.76k|        *p = *s++;
 2085|  1.76k|        p += incr;
 2086|  1.76k|    }
 2087|    221|    return 0;
 2088|    221|}
PyFloat_Unpack8:
 2206|    247|{
 2207|    247|    unsigned char *p = (unsigned char *)data;
 2208|    247|    double x;
 2209|       |
 2210|    247|    if ((_PY_FLOAT_LITTLE_ENDIAN && !le) || (_PY_FLOAT_BIG_ENDIAN && le)) {
  ------------------
  |  |   51|    494|#  define _PY_FLOAT_LITTLE_ENDIAN 1
  |  |  ------------------
  |  |  |  Branch (51:35): [True: 247, 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 (2210:37): [True: 8, False: 239]
  |  Branch (2210:70): [True: 0, False: 0]
  ------------------
 2211|      8|        char buf[8];
 2212|      8|        char *d = &buf[7];
 2213|      8|        int i;
 2214|       |
 2215|     72|        for (i = 0; i < 8; i++) {
  ------------------
  |  Branch (2215:21): [True: 64, False: 8]
  ------------------
 2216|     64|            *d-- = *p++;
 2217|     64|        }
 2218|      8|        memcpy(&x, buf, 8);
 2219|      8|    }
 2220|    239|    else {
 2221|    239|        memcpy(&x, p, 8);
 2222|    239|    }
 2223|       |
 2224|    247|    return x;
 2225|    247|}
floatobject.c:float_from_string_inner:
  141|  13.6k|{
  142|  13.6k|    double x;
  143|  13.6k|    const char *end;
  144|  13.6k|    const char *last = s + len;
  145|       |    /* strip leading whitespace */
  146|  13.6k|    while (s < last && Py_ISSPACE(*s)) {
  ------------------
  |  |   27|  13.6k|#define Py_ISSPACE(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_SPACE)
  |  |  ------------------
  |  |  |  |  138|  13.6k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISSPACE(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_SPACE)
  |  |  ------------------
  |  |  |  |   13|  13.6k|#define PY_CTF_SPACE  0x08
  |  |  ------------------
  |  |  |  Branch (27:24): [True: 0, False: 13.6k]
  |  |  ------------------
  ------------------
  |  Branch (146:12): [True: 13.6k, False: 0]
  ------------------
  147|      0|        s++;
  148|      0|    }
  149|  13.6k|    if (s == last) {
  ------------------
  |  Branch (149:9): [True: 0, False: 13.6k]
  ------------------
  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|  13.6k|    while (s < last - 1 && Py_ISSPACE(last[-1])) {
  ------------------
  |  |   27|  13.6k|#define Py_ISSPACE(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_SPACE)
  |  |  ------------------
  |  |  |  |  138|  13.6k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISSPACE(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_SPACE)
  |  |  ------------------
  |  |  |  |   13|  13.6k|#define PY_CTF_SPACE  0x08
  |  |  ------------------
  |  |  |  Branch (27:24): [True: 0, False: 13.6k]
  |  |  ------------------
  ------------------
  |  Branch (157:12): [True: 13.6k, 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|  13.6k|    x = PyOS_string_to_double(s, (char **)&end, NULL);
  165|  13.6k|    if (end != last) {
  ------------------
  |  Branch (165:9): [True: 0, False: 13.6k]
  ------------------
  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|  13.6k|    else if (x == -1.0 && PyErr_Occurred()) {
  ------------------
  |  Branch (171:14): [True: 0, False: 13.6k]
  |  Branch (171:27): [True: 0, False: 0]
  ------------------
  172|      0|        return NULL;
  173|      0|    }
  174|  13.6k|    else {
  175|  13.6k|        return PyFloat_FromDouble(x);
  176|  13.6k|    }
  177|  13.6k|}
floatobject.c:float_dealloc:
  238|  4.13M|{
  239|  4.13M|    assert(PyFloat_Check(op));
  240|  4.13M|    if (PyFloat_CheckExact(op))
  ------------------
  |  |   17|  4.13M|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  215|  4.13M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.13M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.13M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 4.13M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  241|  4.13M|        _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|  4.13M|}
floatobject.c:float_add:
  543|  12.3k|{
  544|  12.3k|    double a,b;
  545|  12.3k|    CONVERT_TO_DOUBLE(v, a);
  ------------------
  |  |  312|  12.3k|    if (PyFloat_Check(obj))                                 \
  |  |  ------------------
  |  |  |  |   16|  12.3k|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|  12.3k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_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 (378:40): [True: 4, False: 12.3k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  313|  12.3k|        dbl = PyFloat_AS_DOUBLE(obj);                       \
  |  |  ------------------
  |  |  |  |   18|  12.3k|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      4|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  314|  12.3k|    else if (_Py_convert_int_to_double(&(obj), &(dbl)) < 0) \
  |  |  ------------------
  |  |  |  Branch (314:14): [True: 0, False: 12.3k]
  |  |  ------------------
  |  |  315|  12.3k|        return obj;
  ------------------
  546|  12.3k|    CONVERT_TO_DOUBLE(w, b);
  ------------------
  |  |  312|  12.3k|    if (PyFloat_Check(obj))                                 \
  |  |  ------------------
  |  |  |  |   16|  12.3k|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|  12.3k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_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 (378:40): [True: 12.3k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  313|  12.3k|        dbl = PyFloat_AS_DOUBLE(obj);                       \
  |  |  ------------------
  |  |  |  |   18|  24.6k|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  12.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  12.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  314|  12.3k|    else if (_Py_convert_int_to_double(&(obj), &(dbl)) < 0) \
  |  |  ------------------
  |  |  |  Branch (314:14): [True: 0, False: 0]
  |  |  ------------------
  |  |  315|      0|        return obj;
  ------------------
  547|  12.3k|    a = a + b;
  548|  12.3k|    return PyFloat_FromDouble(a);
  549|  12.3k|}
floatobject.c:float_sub:
  553|    246|{
  554|    246|    double a,b;
  555|    246|    CONVERT_TO_DOUBLE(v, a);
  ------------------
  |  |  312|    246|    if (PyFloat_Check(obj))                                 \
  |  |  ------------------
  |  |  |  |   16|    246|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|    246|#  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: 231, False: 15]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  313|    246|        dbl = PyFloat_AS_DOUBLE(obj);                       \
  |  |  ------------------
  |  |  |  |   18|    477|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    231|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    231|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  314|    246|    else if (_Py_convert_int_to_double(&(obj), &(dbl)) < 0) \
  |  |  ------------------
  |  |  |  Branch (314:14): [True: 0, False: 15]
  |  |  ------------------
  |  |  315|     15|        return obj;
  ------------------
  556|    246|    CONVERT_TO_DOUBLE(w, b);
  ------------------
  |  |  312|    246|    if (PyFloat_Check(obj))                                 \
  |  |  ------------------
  |  |  |  |   16|    246|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|    246|#  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: 240, False: 6]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  313|    246|        dbl = PyFloat_AS_DOUBLE(obj);                       \
  |  |  ------------------
  |  |  |  |   18|    486|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    240|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    240|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  314|    246|    else if (_Py_convert_int_to_double(&(obj), &(dbl)) < 0) \
  |  |  ------------------
  |  |  |  Branch (314:14): [True: 0, False: 6]
  |  |  ------------------
  |  |  315|      6|        return obj;
  ------------------
  557|    246|    a = a - b;
  558|    246|    return PyFloat_FromDouble(a);
  559|    246|}
floatobject.c:float_mul:
  563|    113|{
  564|    113|    double a,b;
  565|    113|    CONVERT_TO_DOUBLE(v, a);
  ------------------
  |  |  312|    113|    if (PyFloat_Check(obj))                                 \
  |  |  ------------------
  |  |  |  |   16|    113|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|    113|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    113|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    113|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 87, False: 26]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  313|    113|        dbl = PyFloat_AS_DOUBLE(obj);                       \
  |  |  ------------------
  |  |  |  |   18|    200|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     87|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     87|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  314|    113|    else if (_Py_convert_int_to_double(&(obj), &(dbl)) < 0) \
  |  |  ------------------
  |  |  |  Branch (314:14): [True: 0, False: 26]
  |  |  ------------------
  |  |  315|     26|        return obj;
  ------------------
  566|    113|    CONVERT_TO_DOUBLE(w, b);
  ------------------
  |  |  312|    113|    if (PyFloat_Check(obj))                                 \
  |  |  ------------------
  |  |  |  |   16|    113|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|    113|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    113|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    113|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 32, False: 81]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  313|    113|        dbl = PyFloat_AS_DOUBLE(obj);                       \
  |  |  ------------------
  |  |  |  |   18|    145|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     32|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  314|    113|    else if (_Py_convert_int_to_double(&(obj), &(dbl)) < 0) \
  |  |  ------------------
  |  |  |  Branch (314:14): [True: 0, False: 81]
  |  |  ------------------
  |  |  315|     81|        return obj;
  ------------------
  567|    113|    a = a * b;
  568|    113|    return PyFloat_FromDouble(a);
  569|    113|}
floatobject.c:float_pow:
  688|     26|{
  689|     26|    double iv, iw, ix;
  690|     26|    int negate_result = 0;
  691|       |
  692|     26|    if ((PyObject *)z != Py_None) {
  ------------------
  |  |  616|     26|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (692:9): [True: 0, False: 26]
  ------------------
  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|     26|    CONVERT_TO_DOUBLE(v, iv);
  ------------------
  |  |  312|     26|    if (PyFloat_Check(obj))                                 \
  |  |  ------------------
  |  |  |  |   16|     26|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|     26|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     26|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     26|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 24, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  313|     26|        dbl = PyFloat_AS_DOUBLE(obj);                       \
  |  |  ------------------
  |  |  |  |   18|     50|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     24|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     24|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  314|     26|    else if (_Py_convert_int_to_double(&(obj), &(dbl)) < 0) \
  |  |  ------------------
  |  |  |  Branch (314:14): [True: 0, False: 2]
  |  |  ------------------
  |  |  315|      2|        return obj;
  ------------------
  699|     26|    CONVERT_TO_DOUBLE(w, iw);
  ------------------
  |  |  312|     26|    if (PyFloat_Check(obj))                                 \
  |  |  ------------------
  |  |  |  |   16|     26|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|     26|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     26|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     26|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 0, False: 26]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  313|     26|        dbl = PyFloat_AS_DOUBLE(obj);                       \
  |  |  ------------------
  |  |  |  |   18|     26|#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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  314|     26|    else if (_Py_convert_int_to_double(&(obj), &(dbl)) < 0) \
  |  |  ------------------
  |  |  |  Branch (314:14): [True: 0, False: 26]
  |  |  ------------------
  |  |  315|     26|        return obj;
  ------------------
  700|       |
  701|       |    /* Sort out special cases here instead of relying on pow() */
  702|     26|    if (iw == 0) {              /* v**0 is 1, even 0**0 */
  ------------------
  |  Branch (702:9): [True: 0, False: 26]
  ------------------
  703|      0|        return PyFloat_FromDouble(1.0);
  704|      0|    }
  705|     26|    if (isnan(iv)) {        /* nan**w = nan, unless w == 0 */
  ------------------
  |  Branch (705:9): [True: 0, False: 26]
  ------------------
  706|      0|        return PyFloat_FromDouble(iv);
  707|      0|    }
  708|     26|    if (isnan(iw)) {        /* v**nan = nan, unless v == 1; 1**nan = 1 */
  ------------------
  |  Branch (708:9): [True: 0, False: 26]
  ------------------
  709|      0|        return PyFloat_FromDouble(iv == 1.0 ? 1.0 : iw);
  ------------------
  |  Branch (709:35): [True: 0, False: 0]
  ------------------
  710|      0|    }
  711|     26|    if (isinf(iw)) {
  ------------------
  |  Branch (711:9): [True: 0, False: 26]
  ------------------
  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|     26|    if (isinf(iv)) {
  ------------------
  |  Branch (726:9): [True: 0, False: 26]
  ------------------
  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|     26|    if (iv == 0.0) {  /* 0**w is: 0 for w positive, 1 for w zero
  ------------------
  |  Branch (738:9): [True: 0, False: 26]
  ------------------
  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|     26|    if (iv < 0.0) {
  ------------------
  |  Branch (751:9): [True: 0, False: 26]
  ------------------
  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|     26|    if (iv == 1.0) { /* 1**w is 1, even 1**inf and 1**nan */
  ------------------
  |  Branch (769:9): [True: 0, False: 26]
  ------------------
  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|     26|    errno = 0;
  789|     26|    ix = pow(iv, iw);
  790|     26|    _Py_ADJUST_ERANGE1(ix);
  791|     26|    if (negate_result)
  ------------------
  |  Branch (791:9): [True: 0, False: 26]
  ------------------
  792|      0|        ix = -ix;
  793|       |
  794|     26|    if (errno != 0) {
  ------------------
  |  Branch (794:9): [True: 0, False: 26]
  ------------------
  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|     26|    return PyFloat_FromDouble(ix);
  803|     26|}
floatobject.c:float_neg:
  809|     61|{
  810|       |    PyFloatObject *v = _PyFloat_CAST(op);
  ------------------
  |  |   11|     61|    (assert(PyFloat_Check(op)), _Py_CAST(PyFloatObject*, op))
  |  |  ------------------
  |  |  |  |   37|     61|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  811|     61|    return PyFloat_FromDouble(-v->ob_fval);
  812|     61|}
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|  3.93k|{
  865|  3.93k|    return PyLong_FromDouble(PyFloat_AS_DOUBLE(self));
  ------------------
  |  |   18|  3.93k|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.93k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.93k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  866|  3.93k|}
floatobject.c:float_div:
  573|     38|{
  574|     38|    double a,b;
  575|     38|    CONVERT_TO_DOUBLE(v, a);
  ------------------
  |  |  312|     38|    if (PyFloat_Check(obj))                                 \
  |  |  ------------------
  |  |  |  |   16|     38|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|     38|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     38|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     38|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 36, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  313|     38|        dbl = PyFloat_AS_DOUBLE(obj);                       \
  |  |  ------------------
  |  |  |  |   18|     74|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     36|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     36|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  314|     38|    else if (_Py_convert_int_to_double(&(obj), &(dbl)) < 0) \
  |  |  ------------------
  |  |  |  Branch (314:14): [True: 0, False: 2]
  |  |  ------------------
  |  |  315|      2|        return obj;
  ------------------
  576|     38|    CONVERT_TO_DOUBLE(w, b);
  ------------------
  |  |  312|     38|    if (PyFloat_Check(obj))                                 \
  |  |  ------------------
  |  |  |  |   16|     38|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|     38|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     38|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     38|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 34, False: 4]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  313|     38|        dbl = PyFloat_AS_DOUBLE(obj);                       \
  |  |  ------------------
  |  |  |  |   18|     72|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  314|     38|    else if (_Py_convert_int_to_double(&(obj), &(dbl)) < 0) \
  |  |  ------------------
  |  |  |  Branch (314:14): [True: 0, False: 4]
  |  |  ------------------
  |  |  315|      4|        return obj;
  ------------------
  577|     38|    if (b == 0.0) {
  ------------------
  |  Branch (577:9): [True: 0, False: 38]
  ------------------
  578|      0|        PyErr_SetString(PyExc_ZeroDivisionError,
  579|      0|                        "division by zero");
  580|      0|        return NULL;
  581|      0|    }
  582|     38|    a = a / b;
  583|     38|    return PyFloat_FromDouble(a);
  584|     38|}
floatobject.c:float_hash:
  536|  1.98M|{
  537|       |    PyFloatObject *v = _PyFloat_CAST(op);
  ------------------
  |  |   11|  1.98M|    (assert(PyFloat_Check(op)), _Py_CAST(PyFloatObject*, op))
  |  |  ------------------
  |  |  |  |   37|  1.98M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  538|  1.98M|    return _Py_HashDouble(op, v->ob_fval);
  539|  1.98M|}
floatobject.c:float_richcompare:
  373|  8.00M|{
  374|  8.00M|    double i, j;
  375|  8.00M|    int r = 0;
  376|       |
  377|  8.00M|    assert(PyFloat_Check(v));
  378|  8.00M|    i = PyFloat_AS_DOUBLE(v);
  ------------------
  |  |   18|  8.00M|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.00M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.00M|#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|  8.00M|    if (PyFloat_Check(w))
  ------------------
  |  |   16|  8.00M|#define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  378|  8.00M|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  8.00M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  8.00M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (378:40): [True: 3.92M, False: 4.08M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  384|  3.92M|        j = PyFloat_AS_DOUBLE(w);
  ------------------
  |  |   18|  3.92M|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.92M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.92M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  385|       |
  386|  4.08M|    else if (!isfinite(i)) {
  ------------------
  |  Branch (386:14): [True: 13.5k, False: 4.07M]
  ------------------
  387|  13.5k|        if (PyLong_Check(w))
  ------------------
  |  |   13|  13.5k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  13.5k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 13.5k, 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|  13.5k|            j = 0.0;
  393|      0|        else
  394|      0|            goto Unimplemented;
  395|  13.5k|    }
  396|       |
  397|  4.07M|    else if (PyLong_Check(w)) {
  ------------------
  |  |   13|  4.07M|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.07M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 4.07M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  398|  4.07M|        int vsign = i == 0.0 ? 0 : i < 0.0 ? -1 : 1;
  ------------------
  |  Branch (398:21): [True: 8.72k, False: 4.06M]
  |  Branch (398:36): [True: 0, False: 4.06M]
  ------------------
  399|  4.07M|        int wsign;
  400|  4.07M|        int exponent;
  401|       |
  402|  4.07M|        (void)PyLong_GetSign(w, &wsign);
  403|  4.07M|        if (vsign != wsign) {
  ------------------
  |  Branch (403:13): [True: 2.04M, False: 2.03M]
  ------------------
  404|       |            /* Magnitudes are irrelevant -- the signs alone
  405|       |             * determine the outcome.
  406|       |             */
  407|  2.04M|            i = (double)vsign;
  408|  2.04M|            j = (double)wsign;
  409|  2.04M|            goto Compare;
  410|  2.04M|        }
  411|       |        /* The signs are the same. */
  412|       |        /* Convert w to a double if it fits.  In particular, 0 fits. */
  413|  2.03M|        int64_t nbits64 = _PyLong_NumBits(w);
  414|  2.03M|        assert(nbits64 >= 0);
  415|  2.03M|        assert(!PyErr_Occurred());
  416|  2.03M|        if (nbits64 > DBL_MAX_EXP) {
  ------------------
  |  Branch (416:13): [True: 0, False: 2.03M]
  ------------------
  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|  2.03M|        int nbits = (int)nbits64;
  429|  2.03M|        if (nbits <= 48) {
  ------------------
  |  Branch (429:13): [True: 2.03M, False: 0]
  ------------------
  430|  2.03M|            j = PyLong_AsDouble(w);
  431|       |            /* It's impossible that <= 48 bits overflowed. */
  432|  2.03M|            assert(j != -1.0 || ! PyErr_Occurred());
  433|  2.03M|            goto Compare;
  434|  2.03M|        }
  435|  2.03M|        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|  8.00M| Compare:
  508|  8.00M|    switch (op) {
  ------------------
  |  Branch (508:13): [True: 8.00M, False: 0]
  ------------------
  509|  3.93M|    case Py_EQ:
  ------------------
  |  |  654|  3.93M|#define Py_EQ 2
  ------------------
  |  Branch (509:5): [True: 3.93M, False: 4.07M]
  ------------------
  510|  3.93M|        r = i == j;
  511|  3.93M|        break;
  512|  49.2k|    case Py_NE:
  ------------------
  |  |  655|  49.2k|#define Py_NE 3
  ------------------
  |  Branch (512:5): [True: 49.2k, False: 7.96M]
  ------------------
  513|  49.2k|        r = i != j;
  514|  49.2k|        break;
  515|  1.96M|    case Py_LE:
  ------------------
  |  |  653|  1.96M|#define Py_LE 1
  ------------------
  |  Branch (515:5): [True: 1.96M, False: 6.04M]
  ------------------
  516|  1.96M|        r = i <= j;
  517|  1.96M|        break;
  518|  1.96M|    case Py_GE:
  ------------------
  |  |  657|  1.96M|#define Py_GE 5
  ------------------
  |  Branch (518:5): [True: 1.96M, False: 6.04M]
  ------------------
  519|  1.96M|        r = i >= j;
  520|  1.96M|        break;
  521|  64.0k|    case Py_LT:
  ------------------
  |  |  652|  64.0k|#define Py_LT 0
  ------------------
  |  Branch (521:5): [True: 64.0k, False: 7.94M]
  ------------------
  522|  64.0k|        r = i < j;
  523|  64.0k|        break;
  524|  23.7k|    case Py_GT:
  ------------------
  |  |  656|  23.7k|#define Py_GT 4
  ------------------
  |  Branch (524:5): [True: 23.7k, False: 7.98M]
  ------------------
  525|  23.7k|        r = i > j;
  526|  23.7k|        break;
  527|  8.00M|    }
  528|  8.00M|    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|  8.00M|}
floatobject.c:float_new_impl:
 1569|  13.6k|{
 1570|  13.6k|    if (type != &PyFloat_Type) {
  ------------------
  |  Branch (1570:9): [True: 0, False: 13.6k]
  ------------------
 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|  13.6k|    if (x == NULL) {
  ------------------
  |  Branch (1577:9): [True: 0, False: 13.6k]
  ------------------
 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|  13.6k|    if (PyUnicode_CheckExact(x))
  ------------------
  |  |  104|  13.6k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  13.6k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  13.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  13.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 13.6k, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1583|  13.6k|        return PyFloat_FromString(x);
 1584|      4|    return PyNumber_Float(x);
 1585|  13.6k|}
floatobject.c:float_vectorcall:
 1615|  13.6k|{
 1616|  13.6k|    if (!_PyArg_NoKwnames("float", kwnames)) {
  ------------------
  |  |   15|  13.6k|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (15:6): [True: 13.6k, False: 0]
  |  |  |  Branch (15:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1617|      0|        return NULL;
 1618|      0|    }
 1619|       |
 1620|  13.6k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  13.6k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
 1621|  13.6k|    if (!_PyArg_CheckPositional("float", nargs, 0, 1)) {
  ------------------
  |  |   31|  13.6k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 13.6k, False: 0]
  |  |  |  Branch (31:27): [True: 13.6k, False: 0]
  |  |  ------------------
  |  |   32|  13.6k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1622|      0|        return NULL;
 1623|      0|    }
 1624|       |
 1625|  13.6k|    PyObject *x = nargs >= 1 ? args[0] : NULL;
  ------------------
  |  Branch (1625:19): [True: 13.6k, False: 0]
  ------------------
 1626|       |    return float_new_impl(_PyType_CAST(type), x);
  ------------------
  |  |  770|  13.6k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  13.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1627|  13.6k|}

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

_PyFunction_FromConstructor:
  117|  4.18k|{
  118|  4.18k|    PyObject *module;
  119|  4.18k|    if (PyDict_GetItemRef(constr->fc_globals, &_Py_ID(__name__), &module) < 0) {
  ------------------
  |  |  915|  4.18k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.18k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.18k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (119:9): [True: 0, False: 4.18k]
  ------------------
  120|      0|        return NULL;
  121|      0|    }
  122|       |
  123|  4.18k|    PyFunctionObject *op = PyObject_GC_New(PyFunctionObject, &PyFunction_Type);
  ------------------
  |  |  181|  4.18k|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|  4.18k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  124|  4.18k|    if (op == NULL) {
  ------------------
  |  Branch (124:9): [True: 0, False: 4.18k]
  ------------------
  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|  4.18k|    _Py_INCREF_DICT(constr->fc_globals);
  ------------------
  |  |  384|  4.18k|#  define _Py_INCREF_DICT Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  4.18k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.18k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.18k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  129|  4.18k|    op->func_globals = constr->fc_globals;
  130|  4.18k|    _Py_INCREF_BUILTINS(constr->fc_builtins);
  ------------------
  |  |  386|  4.18k|#  define _Py_INCREF_BUILTINS Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  4.18k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.18k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.18k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  131|  4.18k|    op->func_builtins = constr->fc_builtins;
  132|  4.18k|    op->func_name = Py_NewRef(constr->fc_name);
  ------------------
  |  |  550|  4.18k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  4.18k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.18k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  133|  4.18k|    op->func_qualname = Py_NewRef(constr->fc_qualname);
  ------------------
  |  |  550|  4.18k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  4.18k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.18k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  134|  4.18k|    _Py_INCREF_CODE((PyCodeObject *)constr->fc_code);
  ------------------
  |  |  317|  4.18k|#  define _Py_INCREF_CODE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  4.18k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.18k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.18k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  135|  4.18k|    op->func_code = constr->fc_code;
  136|  4.18k|    op->func_defaults = Py_XNewRef(constr->fc_defaults);
  ------------------
  |  |  551|  4.18k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  4.18k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.18k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  137|  4.18k|    op->func_kwdefaults = Py_XNewRef(constr->fc_kwdefaults);
  ------------------
  |  |  551|  4.18k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  4.18k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.18k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  138|  4.18k|    op->func_closure = Py_XNewRef(constr->fc_closure);
  ------------------
  |  |  551|  4.18k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  4.18k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.18k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  139|  4.18k|    op->func_doc = Py_NewRef(Py_None);
  ------------------
  |  |  550|  4.18k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  4.18k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.18k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  140|  4.18k|    op->func_dict = NULL;
  141|  4.18k|    op->func_weakreflist = NULL;
  142|  4.18k|    op->func_module = module;
  143|  4.18k|    op->func_annotations = NULL;
  144|  4.18k|    op->func_annotate = NULL;
  145|  4.18k|    op->func_typeparams = NULL;
  146|  4.18k|    op->vectorcall = _PyFunction_Vectorcall;
  147|  4.18k|    op->func_version = FUNC_VERSION_UNSET;
  ------------------
  |  |   18|  4.18k|#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|  4.18k|    _PyObject_GC_TRACK(op);
  ------------------
  |  |  508|  4.18k|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.18k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.18k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  152|       |    handle_func_event(PyFunction_EVENT_CREATE, op, NULL);
  153|  4.18k|    return op;
  154|  4.18k|}
PyFunction_NewWithQualName:
  158|  3.74M|{
  159|  3.74M|    assert(globals != NULL);
  160|  3.74M|    assert(PyAnyDict_Check(globals));
  161|  3.74M|    _Py_INCREF_DICT(globals);
  ------------------
  |  |  384|  3.74M|#  define _Py_INCREF_DICT Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  3.74M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.74M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.74M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  162|       |
  163|  3.74M|    PyCodeObject *code_obj = (PyCodeObject *)code;
  164|  3.74M|    _Py_INCREF_CODE(code_obj);
  ------------------
  |  |  317|  3.74M|#  define _Py_INCREF_CODE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  3.74M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.74M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.74M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  165|       |
  166|  3.74M|    assert(code_obj->co_name != NULL);
  167|  3.74M|    PyObject *name = Py_NewRef(code_obj->co_name);
  ------------------
  |  |  550|  3.74M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  3.74M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.74M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  168|       |
  169|  3.74M|    if (!qualname) {
  ------------------
  |  Branch (169:9): [True: 3.74M, False: 0]
  ------------------
  170|  3.74M|        qualname = code_obj->co_qualname;
  171|  3.74M|    }
  172|  3.74M|    assert(qualname != NULL);
  173|  3.74M|    Py_INCREF(qualname);
  ------------------
  |  |  310|  3.74M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.74M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.74M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  174|       |
  175|  3.74M|    PyObject *consts = code_obj->co_consts;
  176|  3.74M|    assert(PyTuple_Check(consts));
  177|  3.74M|    PyObject *doc;
  178|  3.74M|    if (code_obj->co_flags & CO_HAS_DOCSTRING) {
  ------------------
  |  |  150|  3.74M|#define CO_HAS_DOCSTRING 0x4000000
  ------------------
  |  Branch (178:9): [True: 6.82k, False: 3.73M]
  ------------------
  179|  6.82k|        assert(PyTuple_Size(consts) >= 1);
  180|  6.82k|        doc = PyTuple_GetItem(consts, 0);
  181|  6.82k|        if (!PyUnicode_Check(doc)) {
  ------------------
  |  |  103|  6.82k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  6.82k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (181:13): [True: 0, False: 6.82k]
  ------------------
  182|      0|            doc = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  183|      0|        }
  184|  6.82k|    }
  185|  3.73M|    else {
  186|  3.73M|        doc = Py_None;
  ------------------
  |  |  616|  3.73M|#  define Py_None (&_Py_NoneStruct)
  ------------------
  187|  3.73M|    }
  188|  3.74M|    Py_INCREF(doc);
  ------------------
  |  |  310|  3.74M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.74M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.74M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  189|       |
  190|       |    // __module__: Use globals['__name__'] if it exists, or NULL.
  191|  3.74M|    PyObject *module;
  192|  3.74M|    PyObject *builtins = NULL;
  193|  3.74M|    if (PyDict_GetItemRef(globals, &_Py_ID(__name__), &module) < 0) {
  ------------------
  |  |  915|  3.74M|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  3.74M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  3.74M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (193:9): [True: 0, False: 3.74M]
  ------------------
  194|      0|        goto error;
  195|      0|    }
  196|       |
  197|  3.74M|    builtins = _PyDict_LoadBuiltinsFromGlobals(globals);
  198|  3.74M|    if (builtins == NULL) {
  ------------------
  |  Branch (198:9): [True: 0, False: 3.74M]
  ------------------
  199|      0|        goto error;
  200|      0|    }
  201|       |
  202|  3.74M|    PyFunctionObject *op = PyObject_GC_New(PyFunctionObject, &PyFunction_Type);
  ------------------
  |  |  181|  3.74M|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|  3.74M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  203|  3.74M|    if (op == NULL) {
  ------------------
  |  Branch (203:9): [True: 0, False: 3.74M]
  ------------------
  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.74M|    op->func_globals = globals;
  210|  3.74M|    op->func_builtins = builtins;
  211|  3.74M|    op->func_name = name;
  212|  3.74M|    op->func_qualname = qualname;
  213|  3.74M|    op->func_code = (PyObject*)code_obj;
  214|  3.74M|    op->func_defaults = NULL;    // No default positional arguments
  215|  3.74M|    op->func_kwdefaults = NULL;  // No default keyword arguments
  216|  3.74M|    op->func_closure = NULL;
  217|  3.74M|    op->func_doc = doc;
  218|  3.74M|    op->func_dict = NULL;
  219|  3.74M|    op->func_weakreflist = NULL;
  220|  3.74M|    op->func_module = module;
  221|  3.74M|    op->func_annotations = NULL;
  222|  3.74M|    op->func_annotate = NULL;
  223|  3.74M|    op->func_typeparams = NULL;
  224|  3.74M|    op->vectorcall = _PyFunction_Vectorcall;
  225|  3.74M|    op->func_version = FUNC_VERSION_UNSET;
  ------------------
  |  |   18|  3.74M|#define FUNC_VERSION_UNSET 0
  ------------------
  226|  3.74M|    if (((code_obj->co_flags & CO_NESTED) == 0) ||
  ------------------
  |  |  122|  3.74M|#define CO_NESTED       0x0010
  ------------------
  |  Branch (226:9): [True: 19.9k, False: 3.72M]
  ------------------
  227|  3.72M|        (code_obj->co_flags & CO_METHOD)) {
  ------------------
  |  |  153|  3.72M|#define CO_METHOD  0x8000000
  ------------------
  |  Branch (227:9): [True: 16, False: 3.72M]
  ------------------
  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|  19.9k|        _PyObject_SetDeferredRefcount((PyObject *)op);
  235|  19.9k|    }
  236|  3.74M|    _PyObject_GC_TRACK(op);
  ------------------
  |  |  508|  3.74M|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.74M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.74M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  237|  3.74M|    handle_func_event(PyFunction_EVENT_CREATE, op, NULL);
  238|  3.74M|    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.74M|}
_PyFunction_SetVersion:
  320|  3.74M|{
  321|  3.74M|    assert(func->func_version == FUNC_VERSION_UNSET);
  322|  3.74M|    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.74M|    func->func_version = version;
  326|  3.74M|#ifndef Py_GIL_DISABLED
  327|  3.74M|    PyInterpreterState *interp = _PyInterpreterState_GET();
  328|  3.74M|    struct _func_version_cache_item *slot = get_cache_item(interp, version);
  329|  3.74M|    slot->func = func;
  330|  3.74M|    slot->code = func->func_code;
  331|  3.74M|#endif
  332|  3.74M|}
_PyFunction_ClearCodeByVersion:
  368|  65.0k|{
  369|  65.0k|#ifndef Py_GIL_DISABLED
  370|  65.0k|    PyInterpreterState *interp = _PyInterpreterState_GET();
  371|  65.0k|    struct _func_version_cache_item *slot = get_cache_item(interp, version);
  372|  65.0k|    if (slot->code) {
  ------------------
  |  Branch (372:9): [True: 59.0k, False: 6.02k]
  ------------------
  373|  59.0k|        assert(PyCode_Check(slot->code));
  374|  59.0k|        PyCodeObject *code = (PyCodeObject *)slot->code;
  375|  59.0k|        if (code->co_version == version) {
  ------------------
  |  Branch (375:13): [True: 2.09k, False: 56.9k]
  ------------------
  376|  2.09k|            slot->code = NULL;
  377|       |            slot->func = NULL;
  378|  2.09k|        }
  379|  59.0k|    }
  380|  65.0k|#endif
  381|  65.0k|}
_PyFunction_GetVersionForCurrentState:
  385|  17.3k|{
  386|  17.3k|    return func->func_version;
  387|  17.3k|}
PyFunction_New:
  391|  3.74M|{
  392|       |    return PyFunction_NewWithQualName(code, globals, NULL);
  393|  3.74M|}
PyFunction_GetModule:
  417|    136|{
  418|    136|    if (!PyFunction_Check(op)) {
  ------------------
  |  |   68|    136|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  ------------------
  |  |  |  |  215|    136|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    136|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    136|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (418:9): [True: 0, False: 136]
  ------------------
  419|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  420|      0|        return NULL;
  421|      0|    }
  422|    136|    return ((PyFunctionObject *) op) -> func_module;
  423|    136|}
_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|    432|{
 1920|       |    classmethod *cm = _PyClassMethod_CAST(self);
  ------------------
  |  | 1411|    432|    (assert(PyObject_TypeCheck((cm), &PyClassMethod_Type)), \
  |  | 1412|    432|     _Py_CAST(classmethod*, cm))
  |  |  ------------------
  |  |  |  |   37|    432|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1921|    432|    return cm->cm_callable;
 1922|    432|}
_PyStaticMethod_GetFunc:
 1926|  76.8k|{
 1927|       |    staticmethod *sm = _PyStaticMethod_CAST(self);
  ------------------
  |  | 1676|  76.8k|    (assert(PyObject_TypeCheck((cm), &PyStaticMethod_Type)), \
  |  | 1677|  76.8k|     _Py_CAST(staticmethod*, cm))
  |  |  ------------------
  |  |  |  |   37|  76.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1928|  76.8k|    return sm->sm_callable;
 1929|  76.8k|}
funcobject.c:handle_func_event:
   55|  7.49M|{
   56|  7.49M|    assert(Py_REFCNT(func) > 0);
   57|  7.49M|    PyInterpreterState *interp = _PyInterpreterState_GET();
   58|  7.49M|    assert(interp->_initialized);
   59|  7.49M|    if (interp->active_func_watchers) {
  ------------------
  |  Branch (59:9): [True: 0, False: 7.49M]
  ------------------
   60|      0|        notify_func_watchers(interp, event, func, new_value);
   61|      0|    }
   62|  7.49M|    switch (event) {
   63|  3.58k|        case PyFunction_EVENT_MODIFY_CODE:
  ------------------
  |  Branch (63:9): [True: 3.58k, False: 7.48M]
  ------------------
   64|  7.18k|        case PyFunction_EVENT_MODIFY_DEFAULTS:
  ------------------
  |  Branch (64:9): [True: 3.59k, False: 7.48M]
  ------------------
   65|  7.25k|        case PyFunction_EVENT_MODIFY_KWDEFAULTS:
  ------------------
  |  Branch (65:9): [True: 76, False: 7.49M]
  ------------------
   66|  11.6k|        case PyFunction_EVENT_MODIFY_QUALNAME:
  ------------------
  |  Branch (66:9): [True: 4.37k, False: 7.48M]
  ------------------
   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|  11.6k|            RARE_EVENT_INTERP_INC(interp, func_modification);
  ------------------
  |  |   98|  11.6k|    do { \
  |  |   99|  11.6k|        /* saturating add */ \
  |  |  100|  11.6k|        uint8_t val = FT_ATOMIC_LOAD_UINT8_RELAXED(interp->rare_events.name); \
  |  |  ------------------
  |  |  |  |  156|  11.6k|#define FT_ATOMIC_LOAD_UINT8_RELAXED(value) value
  |  |  ------------------
  |  |  101|  11.6k|        if (val < UINT8_MAX) { \
  |  |  ------------------
  |  |  |  Branch (101:13): [True: 510, False: 11.1k]
  |  |  ------------------
  |  |  102|    510|            FT_ATOMIC_STORE_UINT8(interp->rare_events.name, val + 1); \
  |  |  ------------------
  |  |  |  |  154|    510|#define FT_ATOMIC_STORE_UINT8(value, new_value) value = new_value
  |  |  ------------------
  |  |  103|    510|        } \
  |  |  104|  11.6k|        RARE_EVENT_STAT_INC(name); \
  |  |  ------------------
  |  |  |  |   89|  11.6k|#define RARE_EVENT_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  |  105|  11.6k|    } while (0); \
  |  |  ------------------
  |  |  |  Branch (105:14): [Folded, False: 11.6k]
  |  |  ------------------
  ------------------
   75|  11.6k|            break;
   76|  7.47M|        default:
  ------------------
  |  Branch (76:9): [True: 7.47M, False: 11.6k]
  ------------------
   77|  7.47M|            break;
   78|  7.49M|    }
   79|  7.49M|}
funcobject.c:get_cache_item:
  312|  7.53M|{
  313|  7.53M|    return interp->func_state.func_version_cache +
  314|  7.53M|           (version % FUNC_VERSION_CACHE_SIZE);
  ------------------
  |  |  497|  7.53M|#define FUNC_VERSION_CACHE_SIZE (1<<12)  /* Must be a power of 2 */
  ------------------
  315|  7.53M|}
funcobject.c:_PyFunction_ClearVersion:
  355|  7.25k|{
  356|  7.25k|    if (func->func_version < FUNC_VERSION_FIRST_VALID) {
  ------------------
  |  |   20|  7.25k|#define FUNC_VERSION_FIRST_VALID 2
  ------------------
  |  Branch (356:9): [True: 3.65k, False: 3.59k]
  ------------------
  357|       |        // Version was never set or has already been cleared.
  358|  3.65k|        return;
  359|  3.65k|    }
  360|  3.59k|    PyInterpreterState *interp = _PyInterpreterState_GET();
  361|  3.59k|    _PyEval_StopTheWorld(interp);
  362|  3.59k|    func_clear_version(interp, func);
  363|  3.59k|    _PyEval_StartTheWorld(interp);
  364|  3.59k|}
funcobject.c:func_clear_version:
  336|  3.75M|{
  337|  3.75M|    if (func->func_version < FUNC_VERSION_FIRST_VALID) {
  ------------------
  |  |   20|  3.75M|#define FUNC_VERSION_FIRST_VALID 2
  ------------------
  |  Branch (337:9): [True: 28.2k, False: 3.72M]
  ------------------
  338|       |        // Version was never set or has already been cleared.
  339|  28.2k|        return;
  340|  28.2k|    }
  341|  3.72M|#ifndef Py_GIL_DISABLED
  342|  3.72M|    struct _func_version_cache_item *slot =
  343|  3.72M|        get_cache_item(interp, func->func_version);
  344|  3.72M|    if (slot->func == func) {
  ------------------
  |  Branch (344:9): [True: 2.97M, False: 747k]
  ------------------
  345|  2.97M|        slot->func = NULL;
  346|       |        // Leave slot->code alone, there may be use for it.
  347|  2.97M|    }
  348|  3.72M|#endif
  349|  3.72M|    func->func_version = FUNC_VERSION_CLEARED;
  ------------------
  |  |   19|  3.72M|#define FUNC_VERSION_CLEARED 1
  ------------------
  350|  3.72M|}
funcobject.c:func_get_annotation_dict:
  535|  7.19k|{
  536|  7.19k|    if (op->func_annotations == NULL) {
  ------------------
  |  Branch (536:9): [True: 124, False: 7.07k]
  ------------------
  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.07k|    if (PyTuple_CheckExact(op->func_annotations)) {
  ------------------
  |  |   28|  7.07k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  7.07k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  7.07k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  7.07k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 7.07k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  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.07k|    assert(PyDict_Check(op->func_annotations));
  577|  7.07k|    return op->func_annotations;
  578|  7.07k|}
funcobject.c:func_dealloc:
 1129|  3.73M|{
 1130|  3.73M|    PyFunctionObject *op = _PyFunction_CAST(self);
  ------------------
  |  |   86|  3.73M|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|  3.73M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1131|  3.73M|    _PyObject_ResurrectStart(self);
 1132|  3.73M|    handle_func_event(PyFunction_EVENT_DESTROY, op, NULL);
 1133|  3.73M|    if (_PyObject_ResurrectEnd(self)) {
  ------------------
  |  Branch (1133:9): [True: 0, False: 3.73M]
  ------------------
 1134|      0|        return;
 1135|      0|    }
 1136|  3.73M|    _PyObject_GC_UNTRACK(op);
  ------------------
  |  |  510|  3.73M|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.73M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.73M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1137|  3.73M|    FT_CLEAR_WEAKREFS(self, op->func_weakreflist);
  ------------------
  |  |   47|  3.73M|    do {                                            \
  |  |   48|  3.73M|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|  3.73M|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 245, False: 3.72M]
  |  |  ------------------
  |  |   50|    245|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|    245|        }                                           \
  |  |   52|  3.73M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 3.73M]
  |  |  ------------------
  ------------------
 1138|  3.73M|    (void)func_clear((PyObject*)op);
 1139|       |    // These aren't cleared by func_clear().
 1140|  3.73M|    _Py_DECREF_CODE((PyCodeObject *)op->func_code);
  ------------------
  |  |  318|  3.73M|#  define _Py_DECREF_CODE Py_DECREF
  |  |  ------------------
  |  |  |  |  430|  3.73M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.73M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.73M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1141|  3.73M|    Py_DECREF(op->func_name);
  ------------------
  |  |  430|  3.73M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.73M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.73M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1142|  3.73M|    Py_DECREF(op->func_qualname);
  ------------------
  |  |  430|  3.73M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.73M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.73M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1143|  3.73M|    PyObject_GC_Del(op);
 1144|  3.73M|}
funcobject.c:func_traverse:
 1156|  1.66M|{
 1157|  1.66M|    PyFunctionObject *f = _PyFunction_CAST(self);
  ------------------
  |  |   86|  1.66M|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|  1.66M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1158|  1.66M|    Py_VISIT(f->func_code);
  ------------------
  |  |  194|  1.66M|    do {                                                                \
  |  |  195|  1.66M|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 1.66M, False: 0]
  |  |  ------------------
  |  |  196|  1.66M|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  1.66M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.66M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  1.66M|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 1.66M]
  |  |  ------------------
  |  |  198|  1.66M|                return vret;                                            \
  |  |  199|  1.66M|        }                                                               \
  |  |  200|  1.66M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 1.66M]
  |  |  ------------------
  ------------------
 1159|  1.66M|    Py_VISIT(f->func_globals);
  ------------------
  |  |  194|  1.66M|    do {                                                                \
  |  |  195|  1.66M|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 1.66M, False: 0]
  |  |  ------------------
  |  |  196|  1.66M|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  1.66M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.66M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  1.66M|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 1.66M]
  |  |  ------------------
  |  |  198|  1.66M|                return vret;                                            \
  |  |  199|  1.66M|        }                                                               \
  |  |  200|  1.66M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 1.66M]
  |  |  ------------------
  ------------------
 1160|  1.66M|    Py_VISIT(f->func_builtins);
  ------------------
  |  |  194|  1.66M|    do {                                                                \
  |  |  195|  1.66M|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 1.66M, False: 0]
  |  |  ------------------
  |  |  196|  1.66M|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  1.66M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.66M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  1.66M|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 1.66M]
  |  |  ------------------
  |  |  198|  1.66M|                return vret;                                            \
  |  |  199|  1.66M|        }                                                               \
  |  |  200|  1.66M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 1.66M]
  |  |  ------------------
  ------------------
 1161|  1.66M|    Py_VISIT(f->func_module);
  ------------------
  |  |  194|  1.66M|    do {                                                                \
  |  |  195|  1.66M|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 1.66M, False: 4]
  |  |  ------------------
  |  |  196|  1.66M|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  1.66M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.66M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  1.66M|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 1.66M]
  |  |  ------------------
  |  |  198|  1.66M|                return vret;                                            \
  |  |  199|  1.66M|        }                                                               \
  |  |  200|  1.66M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 1.66M]
  |  |  ------------------
  ------------------
 1162|  1.66M|    Py_VISIT(f->func_defaults);
  ------------------
  |  |  194|  1.66M|    do {                                                                \
  |  |  195|  1.66M|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 24.1k, False: 1.64M]
  |  |  ------------------
  |  |  196|  24.1k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  24.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  24.1k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 24.1k]
  |  |  ------------------
  |  |  198|  24.1k|                return vret;                                            \
  |  |  199|  24.1k|        }                                                               \
  |  |  200|  1.66M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 1.66M]
  |  |  ------------------
  ------------------
 1163|  1.66M|    Py_VISIT(f->func_kwdefaults);
  ------------------
  |  |  194|  1.66M|    do {                                                                \
  |  |  195|  1.66M|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 15.6k, False: 1.65M]
  |  |  ------------------
  |  |  196|  15.6k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  15.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  15.6k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 15.6k]
  |  |  ------------------
  |  |  198|  15.6k|                return vret;                                            \
  |  |  199|  15.6k|        }                                                               \
  |  |  200|  1.66M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 1.66M]
  |  |  ------------------
  ------------------
 1164|  1.66M|    Py_VISIT(f->func_doc);
  ------------------
  |  |  194|  1.66M|    do {                                                                \
  |  |  195|  1.66M|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 1.66M, False: 0]
  |  |  ------------------
  |  |  196|  1.66M|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  1.66M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.66M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  1.66M|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 1.66M]
  |  |  ------------------
  |  |  198|  1.66M|                return vret;                                            \
  |  |  199|  1.66M|        }                                                               \
  |  |  200|  1.66M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 1.66M]
  |  |  ------------------
  ------------------
 1165|  1.66M|    Py_VISIT(f->func_name);
  ------------------
  |  |  194|  1.66M|    do {                                                                \
  |  |  195|  1.66M|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 1.66M, False: 0]
  |  |  ------------------
  |  |  196|  1.66M|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  1.66M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.66M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  1.66M|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 1.66M]
  |  |  ------------------
  |  |  198|  1.66M|                return vret;                                            \
  |  |  199|  1.66M|        }                                                               \
  |  |  200|  1.66M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 1.66M]
  |  |  ------------------
  ------------------
 1166|  1.66M|    Py_VISIT(f->func_dict);
  ------------------
  |  |  194|  1.66M|    do {                                                                \
  |  |  195|  1.66M|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 9.74k, False: 1.65M]
  |  |  ------------------
  |  |  196|  9.74k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  9.74k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.74k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  9.74k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 9.74k]
  |  |  ------------------
  |  |  198|  9.74k|                return vret;                                            \
  |  |  199|  9.74k|        }                                                               \
  |  |  200|  1.66M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 1.66M]
  |  |  ------------------
  ------------------
 1167|  1.66M|    Py_VISIT(f->func_closure);
  ------------------
  |  |  194|  1.66M|    do {                                                                \
  |  |  195|  1.66M|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 793k, False: 875k]
  |  |  ------------------
  |  |  196|   793k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|   793k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   793k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|   793k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 793k]
  |  |  ------------------
  |  |  198|   793k|                return vret;                                            \
  |  |  199|   793k|        }                                                               \
  |  |  200|  1.66M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 1.66M]
  |  |  ------------------
  ------------------
 1168|  1.66M|    Py_VISIT(f->func_annotations);
  ------------------
  |  |  194|  1.66M|    do {                                                                \
  |  |  195|  1.66M|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 4.95k, False: 1.66M]
  |  |  ------------------
  |  |  196|  4.95k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  4.95k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.95k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  4.95k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 4.95k]
  |  |  ------------------
  |  |  198|  4.95k|                return vret;                                            \
  |  |  199|  4.95k|        }                                                               \
  |  |  200|  1.66M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 1.66M]
  |  |  ------------------
  ------------------
 1169|  1.66M|    Py_VISIT(f->func_annotate);
  ------------------
  |  |  194|  1.66M|    do {                                                                \
  |  |  195|  1.66M|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 749k, False: 920k]
  |  |  ------------------
  |  |  196|   749k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|   749k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   749k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|   749k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 749k]
  |  |  ------------------
  |  |  198|   749k|                return vret;                                            \
  |  |  199|   749k|        }                                                               \
  |  |  200|  1.66M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 1.66M]
  |  |  ------------------
  ------------------
 1170|  1.66M|    Py_VISIT(f->func_typeparams);
  ------------------
  |  |  194|  1.66M|    do {                                                                \
  |  |  195|  1.66M|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 4.84k, False: 1.66M]
  |  |  ------------------
  |  |  196|  4.84k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  4.84k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.84k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  4.84k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 4.84k]
  |  |  ------------------
  |  |  198|  4.84k|                return vret;                                            \
  |  |  199|  4.84k|        }                                                               \
  |  |  200|  1.66M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 1.66M]
  |  |  ------------------
  ------------------
 1171|  1.66M|    Py_VISIT(f->func_qualname);
  ------------------
  |  |  194|  1.66M|    do {                                                                \
  |  |  195|  1.66M|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 1.66M, False: 0]
  |  |  ------------------
  |  |  196|  1.66M|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  1.66M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.66M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  1.66M|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 1.66M]
  |  |  ------------------
  |  |  198|  1.66M|                return vret;                                            \
  |  |  199|  1.66M|        }                                                               \
  |  |  200|  1.66M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 1.66M]
  |  |  ------------------
  ------------------
 1172|  1.66M|    return 0;
 1173|  1.66M|}
funcobject.c:func_clear:
 1095|  3.75M|{
 1096|  3.75M|    PyFunctionObject *op = _PyFunction_CAST(self);
  ------------------
  |  |   86|  3.75M|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|  3.75M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1097|  3.75M|    func_clear_version(_PyInterpreterState_GET(), op);
 1098|  3.75M|    PyObject *globals = op->func_globals;
 1099|  3.75M|    op->func_globals = NULL;
 1100|  3.75M|    if (globals != NULL) {
  ------------------
  |  Branch (1100:9): [True: 3.73M, False: 20.5k]
  ------------------
 1101|  3.73M|        _Py_DECREF_DICT(globals);
  ------------------
  |  |  385|  3.73M|#  define _Py_DECREF_DICT Py_DECREF
  |  |  ------------------
  |  |  |  |  430|  3.73M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.73M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.73M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1102|  3.73M|    }
 1103|  3.75M|    PyObject *builtins = op->func_builtins;
 1104|  3.75M|    op->func_builtins = NULL;
 1105|  3.75M|    if (builtins != NULL) {
  ------------------
  |  Branch (1105:9): [True: 3.73M, False: 20.5k]
  ------------------
 1106|  3.73M|        _Py_DECREF_BUILTINS(builtins);
  ------------------
  |  |  387|  3.73M|#  define _Py_DECREF_BUILTINS Py_DECREF
  |  |  ------------------
  |  |  |  |  430|  3.73M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.73M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.73M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1107|  3.73M|    }
 1108|  3.75M|    Py_CLEAR(op->func_module);
  ------------------
  |  |  484|  3.75M|    do { \
  |  |  485|  3.75M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  3.75M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  3.75M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  3.75M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  3.75M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 3.73M, False: 20.5k]
  |  |  ------------------
  |  |  488|  3.73M|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  3.73M|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  3.73M|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  3.73M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.73M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.73M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  3.73M|        } \
  |  |  491|  3.75M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 3.75M]
  |  |  ------------------
  ------------------
 1109|  3.75M|    Py_CLEAR(op->func_defaults);
  ------------------
  |  |  484|  3.75M|    do { \
  |  |  485|  3.75M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  3.75M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  3.75M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  3.75M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  3.75M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 11.0k, False: 3.73M]
  |  |  ------------------
  |  |  488|  11.0k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  11.0k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  11.0k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  11.0k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  11.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  11.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  11.0k|        } \
  |  |  491|  3.75M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 3.75M]
  |  |  ------------------
  ------------------
 1110|  3.75M|    Py_CLEAR(op->func_kwdefaults);
  ------------------
  |  |  484|  3.75M|    do { \
  |  |  485|  3.75M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  3.75M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  3.75M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  3.75M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  3.75M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 11.7k, False: 3.73M]
  |  |  ------------------
  |  |  488|  11.7k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  11.7k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  11.7k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  11.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  11.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  11.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  11.7k|        } \
  |  |  491|  3.75M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 3.75M]
  |  |  ------------------
  ------------------
 1111|  3.75M|    Py_CLEAR(op->func_doc);
  ------------------
  |  |  484|  3.75M|    do { \
  |  |  485|  3.75M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  3.75M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  3.75M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  3.75M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  3.75M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 3.73M, False: 20.5k]
  |  |  ------------------
  |  |  488|  3.73M|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  3.73M|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  3.73M|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  3.73M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.73M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.73M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  3.73M|        } \
  |  |  491|  3.75M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 3.75M]
  |  |  ------------------
  ------------------
 1112|  3.75M|    Py_CLEAR(op->func_dict);
  ------------------
  |  |  484|  3.75M|    do { \
  |  |  485|  3.75M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  3.75M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  3.75M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  3.75M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  3.75M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 3.47k, False: 3.74M]
  |  |  ------------------
  |  |  488|  3.47k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  3.47k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  3.47k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  3.47k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.47k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.47k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  3.47k|        } \
  |  |  491|  3.75M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 3.75M]
  |  |  ------------------
  ------------------
 1113|  3.75M|    Py_CLEAR(op->func_closure);
  ------------------
  |  |  484|  3.75M|    do { \
  |  |  485|  3.75M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  3.75M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  3.75M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  3.75M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  3.75M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2.81M, False: 933k]
  |  |  ------------------
  |  |  488|  2.81M|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  2.81M|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  2.81M|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  2.81M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.81M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.81M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  2.81M|        } \
  |  |  491|  3.75M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 3.75M]
  |  |  ------------------
  ------------------
 1114|  3.75M|    Py_CLEAR(op->func_annotations);
  ------------------
  |  |  484|  3.75M|    do { \
  |  |  485|  3.75M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  3.75M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  3.75M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  3.75M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  3.75M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 3.46k, False: 3.74M]
  |  |  ------------------
  |  |  488|  3.46k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  3.46k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  3.46k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  3.46k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.46k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  3.46k|        } \
  |  |  491|  3.75M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 3.75M]
  |  |  ------------------
  ------------------
 1115|  3.75M|    Py_CLEAR(op->func_annotate);
  ------------------
  |  |  484|  3.75M|    do { \
  |  |  485|  3.75M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  3.75M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  3.75M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  3.75M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  3.75M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 717k, False: 3.03M]
  |  |  ------------------
  |  |  488|   717k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|   717k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|   717k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|   717k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   717k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   717k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|   717k|        } \
  |  |  491|  3.75M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 3.75M]
  |  |  ------------------
  ------------------
 1116|  3.75M|    Py_CLEAR(op->func_typeparams);
  ------------------
  |  |  484|  3.75M|    do { \
  |  |  485|  3.75M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  3.75M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  3.75M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  3.75M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  3.75M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 3.47k, False: 3.74M]
  |  |  ------------------
  |  |  488|  3.47k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  3.47k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  3.47k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  3.47k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.47k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.47k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  3.47k|        } \
  |  |  491|  3.75M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 3.75M]
  |  |  ------------------
  ------------------
 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.75M|    Py_SETREF(op->func_name, &_Py_STR(empty));
  ------------------
  |  |  352|  3.75M|    do { \
  |  |  353|  3.75M|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  3.75M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|  3.75M|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  3.75M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|  3.75M|        *_tmp_dst_ptr = (src); \
  |  |  356|  3.75M|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|  3.75M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.75M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.75M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|  3.75M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 3.75M]
  |  |  ------------------
  ------------------
 1123|  3.75M|    Py_SETREF(op->func_qualname, &_Py_STR(empty));
  ------------------
  |  |  352|  3.75M|    do { \
  |  |  353|  3.75M|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  3.75M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|  3.75M|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  3.75M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|  3.75M|        *_tmp_dst_ptr = (src); \
  |  |  356|  3.75M|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|  3.75M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.75M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.75M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|  3.75M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 3.75M]
  |  |  ------------------
  ------------------
 1124|  3.75M|    return 0;
 1125|  3.75M|}
funcobject.c:func_get_code:
  635|   138k|{
  636|   138k|    PyFunctionObject *op = _PyFunction_CAST(self);
  ------------------
  |  |   86|   138k|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|   138k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  637|   138k|    if (PySys_Audit("object.__getattr__", "Os", op, "__code__") < 0) {
  ------------------
  |  Branch (637:9): [True: 0, False: 138k]
  ------------------
  638|      0|        return NULL;
  639|      0|    }
  640|       |
  641|   138k|    return Py_NewRef(op->func_code);
  ------------------
  |  |  550|   138k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   138k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   138k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  642|   138k|}
funcobject.c:func_set_code:
  646|  3.58k|{
  647|  3.58k|    PyFunctionObject *op = _PyFunction_CAST(self);
  ------------------
  |  |   86|  3.58k|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|  3.58k|#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|  3.58k|    if (value == NULL || !PyCode_Check(value)) {
  ------------------
  |  |  164|  3.58k|#define PyCode_Check(op) Py_IS_TYPE((op), &PyCode_Type)
  |  |  ------------------
  |  |  |  |  215|  3.58k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.58k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (651:9): [True: 0, False: 3.58k]
  |  Branch (651:26): [True: 0, False: 3.58k]
  ------------------
  652|      0|        PyErr_SetString(PyExc_TypeError,
  653|      0|                        "__code__ must be set to a code object");
  654|      0|        return -1;
  655|      0|    }
  656|       |
  657|  3.58k|    if (PySys_Audit("object.__setattr__", "OsO",
  ------------------
  |  Branch (657:9): [True: 0, False: 3.58k]
  ------------------
  658|  3.58k|                    op, "__code__", value) < 0) {
  659|      0|        return -1;
  660|      0|    }
  661|       |
  662|  3.58k|    int nfree = ((PyCodeObject *)value)->co_nfreevars;
  663|  3.58k|    Py_ssize_t nclosure = (op->func_closure == NULL ? 0 :
  ------------------
  |  Branch (663:28): [True: 2, False: 3.58k]
  ------------------
  664|  3.58k|                                        PyTuple_GET_SIZE(op->func_closure));
  ------------------
  |  |   27|  3.58k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.58k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  665|  3.58k|    if (nclosure != nfree) {
  ------------------
  |  Branch (665:9): [True: 0, False: 3.58k]
  ------------------
  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|  3.58k|    PyObject *func_code = PyFunction_GET_CODE(op);
  ------------------
  |  |   93|  3.58k|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|  3.58k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  675|  3.58k|    int old_flags = ((PyCodeObject *)func_code)->co_flags;
  676|  3.58k|    int new_flags = ((PyCodeObject *)value)->co_flags;
  677|  3.58k|    int mask = CO_GENERATOR | CO_COROUTINE | CO_ASYNC_GENERATOR;
  ------------------
  |  |  123|  3.58k|#define CO_GENERATOR    0x0020
  ------------------
                  int mask = CO_GENERATOR | CO_COROUTINE | CO_ASYNC_GENERATOR;
  ------------------
  |  |  127|  3.58k|#define CO_COROUTINE            0x0080
  ------------------
                  int mask = CO_GENERATOR | CO_COROUTINE | CO_ASYNC_GENERATOR;
  ------------------
  |  |  129|  3.58k|#define CO_ASYNC_GENERATOR      0x0200
  ------------------
  678|  3.58k|    if ((old_flags & mask) != (new_flags & mask)) {
  ------------------
  |  Branch (678:9): [True: 0, False: 3.58k]
  ------------------
  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|  3.58k|    handle_func_event(PyFunction_EVENT_MODIFY_CODE, op, value);
  688|  3.58k|    _PyFunction_ClearVersion(op);
  689|  3.58k|    Py_XSETREF(op->func_code, Py_NewRef(value));
  ------------------
  |  |  374|  3.58k|    do { \
  |  |  375|  3.58k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  3.58k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|  3.58k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  3.58k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|  3.58k|        *_tmp_dst_ptr = (src); \
  |  |  378|  3.58k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  3.58k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.58k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|  3.58k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 3.58k]
  |  |  ------------------
  ------------------
  690|  3.58k|    return 0;
  691|  3.58k|}
funcobject.c:func_get_defaults:
  740|  20.7k|{
  741|  20.7k|    PyFunctionObject *op = _PyFunction_CAST(self);
  ------------------
  |  |   86|  20.7k|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|  20.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  742|  20.7k|    if (PySys_Audit("object.__getattr__", "Os", op, "__defaults__") < 0) {
  ------------------
  |  Branch (742:9): [True: 0, False: 20.7k]
  ------------------
  743|      0|        return NULL;
  744|      0|    }
  745|  20.7k|    if (op->func_defaults == NULL) {
  ------------------
  |  Branch (745:9): [True: 20.7k, False: 68]
  ------------------
  746|  20.7k|        Py_RETURN_NONE;
  ------------------
  |  |  628|  20.7k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  20.7k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  747|  20.7k|    }
  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|  20.7k|}
funcobject.c:func_set_defaults:
  753|  3.59k|{
  754|       |    /* Legal to del f.func_defaults.
  755|       |     * Can only set func_defaults to NULL or a tuple. */
  756|  3.59k|    PyFunctionObject *op = _PyFunction_CAST(self);
  ------------------
  |  |   86|  3.59k|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|  3.59k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  757|  3.59k|    if (value == Py_None)
  ------------------
  |  |  616|  3.59k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (757:9): [True: 0, False: 3.59k]
  ------------------
  758|      0|        value = NULL;
  759|  3.59k|    if (value != NULL && !PyTuple_Check(value)) {
  ------------------
  |  |   27|  3.59k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  3.59k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (759:9): [True: 3.59k, False: 0]
  |  Branch (759:26): [True: 0, False: 3.59k]
  ------------------
  760|      0|        PyErr_SetString(PyExc_TypeError,
  761|      0|                        "__defaults__ must be set to a tuple object");
  762|      0|        return -1;
  763|      0|    }
  764|  3.59k|    if (value) {
  ------------------
  |  Branch (764:9): [True: 3.59k, False: 0]
  ------------------
  765|  3.59k|        if (PySys_Audit("object.__setattr__", "OsO",
  ------------------
  |  Branch (765:13): [True: 0, False: 3.59k]
  ------------------
  766|  3.59k|                        op, "__defaults__", value) < 0) {
  767|      0|            return -1;
  768|      0|        }
  769|  3.59k|    } 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|  3.59k|    handle_func_event(PyFunction_EVENT_MODIFY_DEFAULTS, op, value);
  775|  3.59k|    _PyFunction_ClearVersion(op);
  776|  3.59k|    Py_XSETREF(op->func_defaults, Py_XNewRef(value));
  ------------------
  |  |  374|  3.59k|    do { \
  |  |  375|  3.59k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  3.59k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|  3.59k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  3.59k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|  3.59k|        *_tmp_dst_ptr = (src); \
  |  |  378|  3.59k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|  3.59k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 3.59k]
  |  |  ------------------
  ------------------
  777|  3.59k|    return 0;
  778|  3.59k|}
funcobject.c:func_get_kwdefaults:
  782|  20.7k|{
  783|  20.7k|    PyFunctionObject *op = _PyFunction_CAST(self);
  ------------------
  |  |   86|  20.7k|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|  20.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  784|  20.7k|    if (PySys_Audit("object.__getattr__", "Os",
  ------------------
  |  Branch (784:9): [True: 0, False: 20.7k]
  ------------------
  785|  20.7k|                    op, "__kwdefaults__") < 0) {
  786|      0|        return NULL;
  787|      0|    }
  788|  20.7k|    if (op->func_kwdefaults == NULL) {
  ------------------
  |  Branch (788:9): [True: 20.7k, False: 80]
  ------------------
  789|  20.7k|        Py_RETURN_NONE;
  ------------------
  |  |  628|  20.7k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  20.7k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  790|  20.7k|    }
  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|  20.7k|}
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|  7.19k|{
  884|  7.19k|    PyObject *d = NULL;
  885|  7.19k|    if (self->func_annotations == NULL &&
  ------------------
  |  Branch (885:9): [True: 3.71k, False: 3.47k]
  ------------------
  886|  3.71k|        (self->func_annotate == NULL || !PyCallable_Check(self->func_annotate))) {
  ------------------
  |  Branch (886:10): [True: 3.59k, False: 124]
  |  Branch (886:41): [True: 0, False: 124]
  ------------------
  887|  3.59k|        self->func_annotations = PyDict_New();
  888|  3.59k|        if (self->func_annotations == NULL)
  ------------------
  |  Branch (888:13): [True: 0, False: 3.59k]
  ------------------
  889|      0|            return NULL;
  890|  3.59k|    }
  891|  7.19k|    d = func_get_annotation_dict(self);
  892|  7.19k|    return Py_XNewRef(d);
  ------------------
  |  |  551|  7.19k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  7.19k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.19k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  893|  7.19k|}
funcobject.c:function___annotations___set_impl:
  904|  3.58k|{
  905|  3.58k|    if (value == Py_None)
  ------------------
  |  |  616|  3.58k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (905:9): [True: 0, False: 3.58k]
  ------------------
  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|  3.58k|    if (value != NULL && !PyDict_Check(value)) {
  ------------------
  |  |   18|  3.58k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  3.58k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (910:9): [True: 3.58k, False: 0]
  |  Branch (910:26): [True: 0, False: 3.58k]
  ------------------
  911|      0|        PyErr_SetString(PyExc_TypeError,
  912|      0|            "__annotations__ must be set to a dict object");
  913|      0|        return -1;
  914|      0|    }
  915|  3.58k|    Py_XSETREF(self->func_annotations, Py_XNewRef(value));
  ------------------
  |  |  374|  3.58k|    do { \
  |  |  375|  3.58k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  3.58k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|  3.58k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  3.58k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|  3.58k|        *_tmp_dst_ptr = (src); \
  |  |  378|  3.58k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  3.58k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.58k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|  3.58k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 3.58k]
  |  |  ------------------
  ------------------
  916|       |    Py_CLEAR(self->func_annotate);
  ------------------
  |  |  484|  3.58k|    do { \
  |  |  485|  3.58k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  3.58k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  3.58k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  3.58k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  3.58k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 3.58k]
  |  |  ------------------
  |  |  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|  3.58k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 3.58k]
  |  |  ------------------
  ------------------
  917|  3.58k|    return 0;
  918|  3.58k|}
funcobject.c:function___annotate___get_impl:
  834|  3.86k|{
  835|  3.86k|    if (self->func_annotate == NULL) {
  ------------------
  |  Branch (835:9): [True: 192, False: 3.66k]
  ------------------
  836|    192|        Py_RETURN_NONE;
  ------------------
  |  |  628|    192|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    192|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  837|    192|    }
  838|  3.66k|    return Py_NewRef(self->func_annotate);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  839|  3.86k|}
funcobject.c:function___annotate___set_impl:
  850|  3.77k|{
  851|  3.77k|    if (value == NULL) {
  ------------------
  |  Branch (851:9): [True: 0, False: 3.77k]
  ------------------
  852|      0|        PyErr_SetString(PyExc_TypeError,
  853|      0|            "__annotate__ cannot be deleted");
  854|      0|        return -1;
  855|      0|    }
  856|  3.77k|    if (Py_IsNone(value)) {
  ------------------
  |  |  621|  3.77k|#define Py_IsNone(x) Py_Is((x), Py_None)
  |  |  ------------------
  |  |  |  |  187|  3.77k|#define Py_Is(x, y) ((x) == (y))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (187:21): [True: 136, False: 3.64k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  857|    136|        Py_XSETREF(self->func_annotate, value);
  ------------------
  |  |  374|    136|    do { \
  |  |  375|    136|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    136|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|    136|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    136|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|    136|        *_tmp_dst_ptr = (src); \
  |  |  378|    136|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|    136|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    136|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    136|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|    136|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 136]
  |  |  ------------------
  ------------------
  858|    136|        return 0;
  859|    136|    }
  860|  3.64k|    else if (PyCallable_Check(value)) {
  ------------------
  |  Branch (860:14): [True: 3.64k, False: 0]
  ------------------
  861|  3.64k|        Py_XSETREF(self->func_annotate, Py_XNewRef(value));
  ------------------
  |  |  374|  3.64k|    do { \
  |  |  375|  3.64k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  3.64k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|  3.64k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  3.64k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|  3.64k|        *_tmp_dst_ptr = (src); \
  |  |  378|  3.64k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  3.64k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.64k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.64k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|  3.64k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 3.64k]
  |  |  ------------------
  ------------------
  862|  3.64k|        Py_CLEAR(self->func_annotations);
  ------------------
  |  |  484|  3.64k|    do { \
  |  |  485|  3.64k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  3.64k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  3.64k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  3.64k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  3.64k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 3.56k, False: 74]
  |  |  ------------------
  |  |  488|  3.56k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  3.56k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  3.56k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  3.56k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.56k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.56k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  3.56k|        } \
  |  |  491|  3.64k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 3.64k]
  |  |  ------------------
  ------------------
  863|  3.64k|        return 0;
  864|  3.64k|    }
  865|      0|    else {
  866|      0|        PyErr_SetString(PyExc_TypeError,
  867|      0|            "__annotate__ must be callable or None");
  868|      0|        return -1;
  869|      0|    }
  870|  3.77k|}
funcobject.c:func_get_name:
  695|  39.5k|{
  696|  39.5k|    PyFunctionObject *op = _PyFunction_CAST(self);
  ------------------
  |  |   86|  39.5k|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|  39.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  697|  39.5k|    return Py_NewRef(op->func_name);
  ------------------
  |  |  550|  39.5k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  39.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  39.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  698|  39.5k|}
funcobject.c:func_set_name:
  702|  7.47k|{
  703|  7.47k|    PyFunctionObject *op = _PyFunction_CAST(self);
  ------------------
  |  |   86|  7.47k|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|  7.47k|#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|  7.47k|    if (value == NULL || !PyUnicode_Check(value)) {
  ------------------
  |  |  103|  7.47k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  7.47k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (706:9): [True: 0, False: 7.47k]
  |  Branch (706:26): [True: 0, False: 7.47k]
  ------------------
  707|      0|        PyErr_SetString(PyExc_TypeError,
  708|      0|                        "__name__ must be set to a string object");
  709|      0|        return -1;
  710|      0|    }
  711|  7.47k|    Py_XSETREF(op->func_name, Py_NewRef(value));
  ------------------
  |  |  374|  7.47k|    do { \
  |  |  375|  7.47k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  7.47k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|  7.47k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  7.47k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|  7.47k|        *_tmp_dst_ptr = (src); \
  |  |  378|  7.47k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  7.47k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  7.47k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  7.47k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|  7.47k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 7.47k]
  |  |  ------------------
  ------------------
  712|  7.47k|    return 0;
  713|  7.47k|}
funcobject.c:func_get_qualname:
  717|  4.57k|{
  718|  4.57k|    PyFunctionObject *op = _PyFunction_CAST(self);
  ------------------
  |  |   86|  4.57k|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|  4.57k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  719|  4.57k|    return Py_NewRef(op->func_qualname);
  ------------------
  |  |  550|  4.57k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  4.57k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.57k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  720|  4.57k|}
funcobject.c:func_set_qualname:
  724|  4.37k|{
  725|  4.37k|    PyFunctionObject *op = _PyFunction_CAST(self);
  ------------------
  |  |   86|  4.37k|    (assert(PyFunction_Check(func)), _Py_CAST(PyFunctionObject*, func))
  |  |  ------------------
  |  |  |  |   37|  4.37k|#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.37k|    if (value == NULL || !PyUnicode_Check(value)) {
  ------------------
  |  |  103|  4.37k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.37k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (728:9): [True: 0, False: 4.37k]
  |  Branch (728:26): [True: 0, False: 4.37k]
  ------------------
  729|      0|        PyErr_SetString(PyExc_TypeError,
  730|      0|                        "__qualname__ must be set to a string object");
  731|      0|        return -1;
  732|      0|    }
  733|  4.37k|    handle_func_event(PyFunction_EVENT_MODIFY_QUALNAME, (PyFunctionObject *) op, value);
  734|  4.37k|    Py_XSETREF(op->func_qualname, Py_NewRef(value));
  ------------------
  |  |  374|  4.37k|    do { \
  |  |  375|  4.37k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  4.37k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|  4.37k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  4.37k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|  4.37k|        *_tmp_dst_ptr = (src); \
  |  |  378|  4.37k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  4.37k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.37k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|  4.37k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 4.37k]
  |  |  ------------------
  ------------------
  735|  4.37k|    return 0;
  736|  4.37k|}
funcobject.c:function___type_params___get_impl:
  931|  3.81k|{
  932|  3.81k|    if (self->func_typeparams == NULL) {
  ------------------
  |  Branch (932:9): [True: 3.77k, False: 38]
  ------------------
  933|  3.77k|        return PyTuple_New(0);
  934|  3.77k|    }
  935|       |
  936|  3.81k|    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|  3.81k|}
funcobject.c:function___type_params___set_impl:
  949|  3.72k|{
  950|       |    /* Not legal to del f.__type_params__ or to set it to anything
  951|       |     * other than a tuple object. */
  952|  3.72k|    if (value == NULL || !PyTuple_Check(value)) {
  ------------------
  |  |   27|  3.72k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  3.72k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (952:9): [True: 0, False: 3.72k]
  |  Branch (952:26): [True: 0, False: 3.72k]
  ------------------
  953|      0|        PyErr_SetString(PyExc_TypeError,
  954|      0|                        "__type_params__ must be set to a tuple");
  955|      0|        return -1;
  956|      0|    }
  957|  3.72k|    Py_XSETREF(self->func_typeparams, Py_NewRef(value));
  ------------------
  |  |  374|  3.72k|    do { \
  |  |  375|  3.72k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  3.72k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|  3.72k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  3.72k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|  3.72k|        *_tmp_dst_ptr = (src); \
  |  |  378|  3.72k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  3.72k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.72k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.72k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|  3.72k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 3.72k]
  |  |  ------------------
  ------------------
  958|  3.72k|    return 0;
  959|  3.72k|}
funcobject.c:func_descr_get:
 1178|  2.37M|{
 1179|  2.37M|    if (obj == Py_None || obj == NULL) {
  ------------------
  |  |  616|  4.75M|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1179:9): [True: 0, False: 2.37M]
  |  Branch (1179:27): [True: 1.37k, False: 2.37M]
  ------------------
 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|  2.37M|    return PyMethod_New(func, obj);
 1183|  2.37M|}
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.30k|{
 1427|  3.30k|    classmethod *cm = _PyClassMethod_CAST(self);
  ------------------
  |  | 1411|  3.30k|    (assert(PyObject_TypeCheck((cm), &PyClassMethod_Type)), \
  |  | 1412|  3.30k|     _Py_CAST(classmethod*, cm))
  |  |  ------------------
  |  |  |  |   37|  3.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1428|  3.30k|    Py_VISIT(cm->cm_callable);
  ------------------
  |  |  194|  3.30k|    do {                                                                \
  |  |  195|  3.30k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 3.30k, False: 0]
  |  |  ------------------
  |  |  196|  3.30k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  3.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  3.30k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 3.30k]
  |  |  ------------------
  |  |  198|  3.30k|                return vret;                                            \
  |  |  199|  3.30k|        }                                                               \
  |  |  200|  3.30k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 3.30k]
  |  |  ------------------
  ------------------
 1429|  3.30k|    Py_VISIT(cm->cm_dict);
  ------------------
  |  |  194|  3.30k|    do {                                                                \
  |  |  195|  3.30k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 3.30k, False: 0]
  |  |  ------------------
  |  |  196|  3.30k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  3.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  3.30k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 3.30k]
  |  |  ------------------
  |  |  198|  3.30k|                return vret;                                            \
  |  |  199|  3.30k|        }                                                               \
  |  |  200|  3.30k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 3.30k]
  |  |  ------------------
  ------------------
 1430|  3.30k|    return 0;
 1431|  3.30k|}
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|  99.5k|{
 1446|  99.5k|    classmethod *cm = (classmethod *)self;
 1447|  99.5k|    if (type == NULL)
  ------------------
  |  Branch (1447:9): [True: 0, False: 99.5k]
  ------------------
 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|  99.5k|    return PyMethod_New(cm->cm_callable, type);
 1450|  99.5k|}
funcobject.c:cm_init:
 1490|    404|{
 1491|    404|    if (!_PyArg_NoKeywords("classmethod", kwds)) {
  ------------------
  |  |   25|    404|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (25:6): [True: 404, False: 0]
  |  |  |  Branch (25:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1492|      0|        return -1;
 1493|      0|    }
 1494|    404|    PyObject *callable;  // borrowed ref
 1495|    404|    if (!PyArg_UnpackTuple(args, "classmethod", 1, 1, &callable)) {
  ------------------
  |  Branch (1495:9): [True: 0, False: 404]
  ------------------
 1496|      0|        return -1;
 1497|      0|    }
 1498|       |
 1499|    404|    classmethod *cm = (classmethod *)self;
 1500|    404|    return cm_set_callable(cm, callable);
 1501|    404|}
funcobject.c:cm_new:
 1467|    404|{
 1468|    404|    if (!_PyArg_NoKeywords("classmethod", kwds)) {
  ------------------
  |  |   25|    404|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (25:6): [True: 404, False: 0]
  |  |  |  Branch (25:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1469|      0|        return NULL;
 1470|      0|    }
 1471|    404|    PyObject *callable;  // borrowed ref
 1472|    404|    if (!PyArg_UnpackTuple(args, "classmethod", 1, 1, &callable)) {
  ------------------
  |  Branch (1472:9): [True: 0, False: 404]
  ------------------
 1473|      0|        return NULL;
 1474|      0|    }
 1475|       |
 1476|    404|    classmethod *cm = (classmethod *)PyType_GenericAlloc(type, 0);
 1477|    404|    if (cm == NULL) {
  ------------------
  |  Branch (1477:9): [True: 0, False: 404]
  ------------------
 1478|      0|        return NULL;
 1479|      0|    }
 1480|    404|    _PyObject_SetDeferredRefcount((PyObject *)cm);
 1481|    404|    if (cm_set_callable(cm, callable) < 0) {
  ------------------
  |  Branch (1481:9): [True: 0, False: 404]
  ------------------
 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|    404|    return (PyObject *)cm;
 1486|    404|}
funcobject.c:cm_set_callable:
 1454|    824|{
 1455|    824|    assert(callable != NULL);
 1456|    824|    if (cm->cm_callable == callable) {
  ------------------
  |  Branch (1456:9): [True: 404, False: 420]
  ------------------
 1457|       |        // cm_init() sets the same callable than cm_new()
 1458|    404|        return 0;
 1459|    404|    }
 1460|       |
 1461|    420|    Py_XSETREF(cm->cm_callable, Py_NewRef(callable));
  ------------------
  |  |  374|    420|    do { \
  |  |  375|    420|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    420|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|    420|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    420|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|    420|        *_tmp_dst_ptr = (src); \
  |  |  378|    420|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|    420|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    420|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    420|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|    420|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 420]
  |  |  ------------------
  ------------------
 1462|    420|    return functools_wraps((PyObject *)cm, cm->cm_callable);
 1463|    824|}
funcobject.c:functools_wraps:
 1302|    710|{
 1303|    710|#define COPY_ATTR(ATTR) \
 1304|    710|    do { \
 1305|    710|        if (functools_copy_attr(wrapper, wrapped, &_Py_ID(ATTR)) < 0) { \
 1306|    710|            return -1; \
 1307|    710|        } \
 1308|    710|    } while (0) \
 1309|    710|
 1310|    710|    COPY_ATTR(__module__);
  ------------------
  |  | 1304|    710|    do { \
  |  | 1305|    710|        if (functools_copy_attr(wrapper, wrapped, &_Py_ID(ATTR)) < 0) { \
  |  |  ------------------
  |  |  |  |  915|    710|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|    710|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|    710|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1305:13): [True: 0, False: 710]
  |  |  ------------------
  |  | 1306|      0|            return -1; \
  |  | 1307|      0|        } \
  |  | 1308|    710|    } while (0) \
  |  |  ------------------
  |  |  |  Branch (1308:14): [Folded, False: 710]
  |  |  ------------------
  ------------------
 1311|    710|    COPY_ATTR(__name__);
  ------------------
  |  | 1304|    710|    do { \
  |  | 1305|    710|        if (functools_copy_attr(wrapper, wrapped, &_Py_ID(ATTR)) < 0) { \
  |  |  ------------------
  |  |  |  |  915|    710|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|    710|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|    710|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1305:13): [True: 0, False: 710]
  |  |  ------------------
  |  | 1306|      0|            return -1; \
  |  | 1307|      0|        } \
  |  | 1308|    710|    } while (0) \
  |  |  ------------------
  |  |  |  Branch (1308:14): [Folded, False: 710]
  |  |  ------------------
  ------------------
 1312|    710|    COPY_ATTR(__qualname__);
  ------------------
  |  | 1304|    710|    do { \
  |  | 1305|    710|        if (functools_copy_attr(wrapper, wrapped, &_Py_ID(ATTR)) < 0) { \
  |  |  ------------------
  |  |  |  |  915|    710|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|    710|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|    710|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1305:13): [True: 0, False: 710]
  |  |  ------------------
  |  | 1306|      0|            return -1; \
  |  | 1307|      0|        } \
  |  | 1308|    710|    } while (0) \
  |  |  ------------------
  |  |  |  Branch (1308:14): [Folded, False: 710]
  |  |  ------------------
  ------------------
 1313|    710|    COPY_ATTR(__doc__);
  ------------------
  |  | 1304|    710|    do { \
  |  | 1305|    710|        if (functools_copy_attr(wrapper, wrapped, &_Py_ID(ATTR)) < 0) { \
  |  |  ------------------
  |  |  |  |  915|    710|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|    710|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|    710|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1305:13): [True: 0, False: 710]
  |  |  ------------------
  |  | 1306|      0|            return -1; \
  |  | 1307|      0|        } \
  |  | 1308|    710|    } while (0) \
  |  |  ------------------
  |  |  |  Branch (1308:14): [Folded, False: 710]
  |  |  ------------------
  ------------------
 1314|    710|    return 0;
 1315|       |
 1316|    710|#undef COPY_ATTR
 1317|    710|}
funcobject.c:functools_copy_attr:
 1289|  2.84k|{
 1290|  2.84k|    PyObject *value;
 1291|  2.84k|    int res = PyObject_GetOptionalAttr(wrapped, name, &value);
 1292|  2.84k|    if (value != NULL) {
  ------------------
  |  Branch (1292:9): [True: 2.84k, False: 0]
  ------------------
 1293|  2.84k|        res = PyObject_SetAttr(wrapper, name, value);
 1294|  2.84k|        Py_DECREF(value);
  ------------------
  |  |  430|  2.84k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.84k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.84k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1295|  2.84k|    }
 1296|  2.84k|    return res;
 1297|  2.84k|}
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.20k|{
 1692|  2.20k|    staticmethod *sm = _PyStaticMethod_CAST(self);
  ------------------
  |  | 1676|  2.20k|    (assert(PyObject_TypeCheck((cm), &PyStaticMethod_Type)), \
  |  | 1677|  2.20k|     _Py_CAST(staticmethod*, cm))
  |  |  ------------------
  |  |  |  |   37|  2.20k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1693|  2.20k|    Py_VISIT(sm->sm_callable);
  ------------------
  |  |  194|  2.20k|    do {                                                                \
  |  |  195|  2.20k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 2.20k, False: 0]
  |  |  ------------------
  |  |  196|  2.20k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  2.20k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.20k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  2.20k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 2.20k]
  |  |  ------------------
  |  |  198|  2.20k|                return vret;                                            \
  |  |  199|  2.20k|        }                                                               \
  |  |  200|  2.20k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.20k]
  |  |  ------------------
  ------------------
 1694|  2.20k|    Py_VISIT(sm->sm_dict);
  ------------------
  |  |  194|  2.20k|    do {                                                                \
  |  |  195|  2.20k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 2.20k, False: 0]
  |  |  ------------------
  |  |  196|  2.20k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  2.20k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.20k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  2.20k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 2.20k]
  |  |  ------------------
  |  |  198|  2.20k|                return vret;                                            \
  |  |  199|  2.20k|        }                                                               \
  |  |  200|  2.20k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.20k]
  |  |  ------------------
  ------------------
 1695|  2.20k|    return 0;
 1696|  2.20k|}
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|  8.48k|{
 1710|  8.48k|    staticmethod *sm = (staticmethod *)self;
 1711|  8.48k|    return Py_NewRef(sm->sm_callable);
  ------------------
  |  |  550|  8.48k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  8.48k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.48k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1712|  8.48k|}
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: 46, False: 54]
  |  |  ------------------
  ------------------
  209|     46|            continue;
  210|     46|        }
  211|     54|        int rc = PyObject_HasAttrWithError(t, &_Py_ID(__typing_subst__));
  ------------------
  |  |  915|     54|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     54|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     54|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  212|     54|        if (rc < 0) {
  ------------------
  |  Branch (212:13): [True: 0, False: 54]
  ------------------
  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|     54|        if (rc) {
  ------------------
  |  Branch (217:13): [True: 20, False: 34]
  ------------------
  218|     20|            iparam += tuple_add(parameters, iparam, t);
  219|     20|        }
  220|     34|        else {
  221|     34|            PyObject *subparams;
  222|     34|            if (PyObject_GetOptionalAttr(t, &_Py_ID(__parameters__),
  ------------------
  |  |  915|     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|     54|    }
  257|     52|    if (iparam < len) {
  ------------------
  |  Branch (257:9): [True: 38, False: 14]
  ------------------
  258|     38|        if (_PyTuple_Resize(&parameters, iparam) < 0) {
  ------------------
  |  Branch (258:13): [True: 0, False: 38]
  ------------------
  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|     38|    }
  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:
 1045|    326|{
 1046|    326|    gaobject *alias = (gaobject*) PyType_GenericAlloc(
 1047|    326|            (PyTypeObject *)&Py_GenericAliasType, 0);
 1048|    326|    if (alias == NULL) {
  ------------------
  |  Branch (1048:9): [True: 0, False: 326]
  ------------------
 1049|      0|        return NULL;
 1050|      0|    }
 1051|    326|    if (!setup_ga(alias, origin, args)) {
  ------------------
  |  Branch (1051:9): [True: 0, False: 326]
  ------------------
 1052|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1053|      0|        return NULL;
 1054|      0|    }
 1055|    326|    return (PyObject *)alias;
 1056|    326|}
genericaliasobject.c:tuple_add:
  161|     20|{
  162|     20|    if (tuple_index(self, len, item) < 0) {
  ------------------
  |  Branch (162:9): [True: 20, False: 0]
  ------------------
  163|     20|        PyTuple_SET_ITEM(self, len, Py_NewRef(item));
  ------------------
  |  |   40|     20|    PyTuple_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))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  164|     20|        return 1;
  165|     20|    }
  166|      0|    return 0;
  167|     20|}
genericaliasobject.c:tuple_index:
  150|     20|{
  151|     24|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (151:28): [True: 4, False: 20]
  ------------------
  152|      4|        if (PyTuple_GET_ITEM(self, i) == item) {
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (152:13): [True: 0, False: 4]
  ------------------
  153|      0|            return i;
  154|      0|        }
  155|      4|    }
  156|     20|    return -1;
  157|     20|}
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:
  608|    368|{
  609|    368|    gaobject *alias = (gaobject *)self;
  610|       |    // TODO: Hash in the hash for the origin
  611|    368|    Py_hash_t h0 = PyObject_Hash(alias->origin);
  612|    368|    if (h0 == -1) {
  ------------------
  |  Branch (612:9): [True: 0, False: 368]
  ------------------
  613|      0|        return -1;
  614|      0|    }
  615|    368|    Py_hash_t h1 = PyObject_Hash(alias->args);
  616|    368|    if (h1 == -1) {
  ------------------
  |  Branch (616:9): [True: 0, False: 368]
  ------------------
  617|      0|        return -1;
  618|      0|    }
  619|    368|    return h0 ^ h1;
  620|    368|}
genericaliasobject.c:ga_getattro:
  678|    498|{
  679|    498|    gaobject *alias = (gaobject *)self;
  680|    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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  681|       |        // When we check blocked attrs, we don't allow to proxy them to `__origin__`.
  682|       |        // Otherwise, we can break existing code.
  683|  1.99k|        for (const char * const *p = attr_blocked; ; p++) {
  684|  1.99k|            if (*p == NULL) {
  ------------------
  |  Branch (684:17): [True: 498, False: 1.49k]
  ------------------
  685|    498|                break;
  686|    498|            }
  687|  1.49k|            if (_PyUnicode_EqualToASCIIString(name, *p)) {
  ------------------
  |  Branch (687:17): [True: 0, False: 1.49k]
  ------------------
  688|      0|                goto generic_getattr;
  689|      0|            }
  690|  1.49k|        }
  691|       |
  692|       |        // When we see own attrs, it has a priority over `__origin__`'s attr.
  693|  1.36k|        for (const char * const *p = attr_exceptions; ; p++) {
  694|  1.36k|            if (*p == NULL) {
  ------------------
  |  Branch (694:17): [True: 72, False: 1.29k]
  ------------------
  695|     72|                return PyObject_GetAttr(alias->origin, name);
  696|     72|            }
  697|  1.29k|            if (_PyUnicode_EqualToASCIIString(name, *p)) {
  ------------------
  |  Branch (697:17): [True: 426, False: 870]
  ------------------
  698|    426|                goto generic_getattr;
  699|    426|            }
  700|  1.29k|        }
  701|    498|    }
  702|       |
  703|    426|generic_getattr:
  704|    426|    return PyObject_GenericGetAttr(self, name);
  705|    498|}
genericaliasobject.c:ga_traverse:
   46|  3.11k|{
   47|  3.11k|    gaobject *alias = (gaobject *)self;
   48|  3.11k|    Py_VISIT(alias->origin);
  ------------------
  |  |  194|  3.11k|    do {                                                                \
  |  |  195|  3.11k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 3.11k, False: 0]
  |  |  ------------------
  |  |  196|  3.11k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  3.11k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.11k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  3.11k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 3.11k]
  |  |  ------------------
  |  |  198|  3.11k|                return vret;                                            \
  |  |  199|  3.11k|        }                                                               \
  |  |  200|  3.11k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 3.11k]
  |  |  ------------------
  ------------------
   49|  3.11k|    Py_VISIT(alias->args);
  ------------------
  |  |  194|  3.11k|    do {                                                                \
  |  |  195|  3.11k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 3.11k, False: 0]
  |  |  ------------------
  |  |  196|  3.11k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  3.11k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.11k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  3.11k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 3.11k]
  |  |  ------------------
  |  |  198|  3.11k|                return vret;                                            \
  |  |  199|  3.11k|        }                                                               \
  |  |  200|  3.11k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 3.11k]
  |  |  ------------------
  ------------------
   50|  3.11k|    Py_VISIT(alias->parameters);
  ------------------
  |  |  194|  3.11k|    do {                                                                \
  |  |  195|  3.11k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 280, False: 2.83k]
  |  |  ------------------
  |  |  196|    280|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    280|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    280|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    280|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 280]
  |  |  ------------------
  |  |  198|    280|                return vret;                                            \
  |  |  199|    280|        }                                                               \
  |  |  200|  3.11k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 3.11k]
  |  |  ------------------
  ------------------
   51|  3.11k|    return 0;
   52|  3.11k|}
genericaliasobject.c:ga_richcompare:
  709|     76|{
  710|     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 (710:9): [True: 64, False: 12]
  ------------------
  711|     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 (711:10): [True: 0, False: 12]
  |  Branch (711:25): [True: 0, False: 0]
  ------------------
  712|     64|    {
  713|     64|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|     64|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|     64|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
  714|     64|    }
  715|       |
  716|     12|    if (op == Py_NE) {
  ------------------
  |  |  655|     12|#define Py_NE 3
  ------------------
  |  Branch (716:9): [True: 0, False: 12]
  ------------------
  717|      0|        PyObject *eq = ga_richcompare(a, b, Py_EQ);
  ------------------
  |  |  654|      0|#define Py_EQ 2
  ------------------
  718|      0|        if (eq == NULL)
  ------------------
  |  Branch (718:13): [True: 0, False: 0]
  ------------------
  719|      0|            return NULL;
  720|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  721|      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 (721:13): [True: 0, False: 0]
  ------------------
  722|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  723|      0|        }
  724|      0|        else {
  725|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  726|      0|        }
  727|      0|    }
  728|       |
  729|     12|    gaobject *aa = (gaobject *)a;
  730|     12|    gaobject *bb = (gaobject *)b;
  731|     12|    if (aa->starred != bb->starred) {
  ------------------
  |  Branch (731:9): [True: 0, False: 12]
  ------------------
  732|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  733|      0|    }
  734|     12|    int eq = PyObject_RichCompareBool(aa->origin, bb->origin, Py_EQ);
  ------------------
  |  |  654|     12|#define Py_EQ 2
  ------------------
  735|     12|    if (eq < 0) {
  ------------------
  |  Branch (735:9): [True: 0, False: 12]
  ------------------
  736|      0|        return NULL;
  737|      0|    }
  738|     12|    if (!eq) {
  ------------------
  |  Branch (738:9): [True: 0, False: 12]
  ------------------
  739|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  740|      0|    }
  741|     12|    return PyObject_RichCompare(aa->args, bb->args, Py_EQ);
  ------------------
  |  |  654|     12|#define Py_EQ 2
  ------------------
  742|     12|}
genericaliasobject.c:ga_mro_entries:
  746|      2|{
  747|      2|    gaobject *alias = (gaobject *)self;
  748|      2|    return PyTuple_Pack(1, alias->origin);
  749|      2|}
genericaliasobject.c:ga_parameters:
  841|     42|{
  842|     42|    gaobject *alias = (gaobject *)self;
  843|     42|    if (alias->parameters == NULL) {
  ------------------
  |  Branch (843:9): [True: 40, False: 2]
  ------------------
  844|     40|        alias->parameters = _Py_make_parameters(alias->args);
  845|     40|        if (alias->parameters == NULL) {
  ------------------
  |  Branch (845:13): [True: 0, False: 40]
  ------------------
  846|      0|            return NULL;
  847|      0|        }
  848|     40|    }
  849|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  850|     42|}
genericaliasobject.c:ga_new:
  900|     90|{
  901|     90|    if (!_PyArg_NoKeywords("GenericAlias", kwds)) {
  ------------------
  |  |   25|     90|    ((kwargs) == NULL || _PyArg_NoKeywords((funcname), (kwargs)))
  |  |  ------------------
  |  |  |  Branch (25:6): [True: 90, False: 0]
  |  |  |  Branch (25:26): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  902|      0|        return NULL;
  903|      0|    }
  904|     90|    if (!_PyArg_CheckPositional("GenericAlias", PyTuple_GET_SIZE(args), 2, 2)) {
  ------------------
  |  |   31|     90|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 90, False: 0]
  |  |  |  Branch (31:27): [True: 90, False: 0]
  |  |  ------------------
  |  |   32|     90|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  905|      0|        return NULL;
  906|      0|    }
  907|     90|    PyObject *origin = PyTuple_GET_ITEM(args, 0);
  ------------------
  |  |   29|     90|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     90|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     90|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  908|     90|    PyObject *arguments = PyTuple_GET_ITEM(args, 1);
  ------------------
  |  |   29|     90|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     90|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     90|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  909|     90|    gaobject *self = (gaobject *)type->tp_alloc(type, 0);
  910|     90|    if (self == NULL) {
  ------------------
  |  Branch (910:9): [True: 0, False: 90]
  ------------------
  911|      0|        return NULL;
  912|      0|    }
  913|     90|    if (!setup_ga(self, origin, arguments)) {
  ------------------
  |  Branch (913:9): [True: 0, False: 90]
  ------------------
  914|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  915|      0|        return NULL;
  916|      0|    }
  917|     90|    return (PyObject *)self;
  918|     90|}
genericaliasobject.c:setup_ga:
  872|    416|setup_ga(gaobject *alias, PyObject *origin, PyObject *args) {
  873|    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 (873:9): [True: 268, False: 148]
  ------------------
  874|    268|        args = PyTuple_Pack(1, args);
  875|    268|        if (args == NULL) {
  ------------------
  |  Branch (875:13): [True: 0, False: 268]
  ------------------
  876|      0|            return 0;
  877|      0|        }
  878|    268|    }
  879|    148|    else {
  880|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  881|    148|    }
  882|       |
  883|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  884|    416|    alias->args = args;
  885|    416|    alias->parameters = NULL;
  886|    416|    alias->weakreflist = NULL;
  887|       |
  888|    416|    if (PyVectorcall_Function(origin) != NULL) {
  ------------------
  |  Branch (888:9): [True: 320, False: 96]
  ------------------
  889|    320|        alias->vectorcall = ga_vectorcall;
  890|    320|    }
  891|     96|    else {
  892|     96|        alias->vectorcall = NULL;
  893|     96|    }
  894|       |
  895|    416|    return 1;
  896|    416|}

_Py_MakeCoro:
 1115|  2.18M|{
 1116|  2.18M|    int coro_flags = ((PyCodeObject *)func->func_code)->co_flags &
 1117|  2.18M|        (CO_GENERATOR | CO_COROUTINE | CO_ASYNC_GENERATOR);
  ------------------
  |  |  123|  2.18M|#define CO_GENERATOR    0x0020
  ------------------
                      (CO_GENERATOR | CO_COROUTINE | CO_ASYNC_GENERATOR);
  ------------------
  |  |  127|  2.18M|#define CO_COROUTINE            0x0080
  ------------------
                      (CO_GENERATOR | CO_COROUTINE | CO_ASYNC_GENERATOR);
  ------------------
  |  |  129|  2.18M|#define CO_ASYNC_GENERATOR      0x0200
  ------------------
 1118|  2.18M|    assert(coro_flags);
 1119|  2.18M|    if (coro_flags == CO_GENERATOR) {
  ------------------
  |  |  123|  2.18M|#define CO_GENERATOR    0x0020
  ------------------
  |  Branch (1119:9): [True: 2.18M, False: 4]
  ------------------
 1120|  2.18M|        return make_gen(&PyGen_Type, func);
 1121|  2.18M|    }
 1122|      4|    if (coro_flags == CO_ASYNC_GENERATOR) {
  ------------------
  |  |  129|      4|#define CO_ASYNC_GENERATOR      0x0200
  ------------------
  |  Branch (1122:9): [True: 2, False: 2]
  ------------------
 1123|      2|        PyAsyncGenObject *ag;
 1124|      2|        ag = (PyAsyncGenObject *)make_gen(&PyAsyncGen_Type, func);
 1125|      2|        if (ag == NULL) {
  ------------------
  |  Branch (1125:13): [True: 0, False: 2]
  ------------------
 1126|      0|            return NULL;
 1127|      0|        }
 1128|      2|        ag->ag_origin_or_finalizer = NULL;
 1129|      2|        ag->ag_closed = 0;
 1130|      2|        ag->ag_hooks_inited = 0;
 1131|      2|        ag->ag_running_async = 0;
 1132|      2|        return (PyObject*)ag;
 1133|      2|    }
 1134|       |
 1135|      4|    assert (coro_flags == CO_COROUTINE);
 1136|      2|    PyObject *coro = make_gen(&PyCoro_Type, func);
 1137|      2|    if (!coro) {
  ------------------
  |  Branch (1137:9): [True: 0, False: 2]
  ------------------
 1138|      0|        return NULL;
 1139|      0|    }
 1140|      2|    PyThreadState *tstate = _PyThreadState_GET();
 1141|      2|    int origin_depth = tstate->coroutine_origin_tracking_depth;
 1142|       |
 1143|      2|    if (origin_depth == 0) {
  ------------------
  |  Branch (1143:9): [True: 2, False: 0]
  ------------------
 1144|      2|        ((PyCoroObject *)coro)->cr_origin_or_finalizer = NULL;
 1145|      2|    } else {
 1146|      0|        _PyInterpreterFrame *frame = tstate->current_frame;
 1147|      0|        assert(frame);
 1148|      0|        assert(_PyFrame_IsIncomplete(frame));
 1149|      0|        frame = _PyFrame_GetFirstComplete(frame->previous);
 1150|      0|        PyObject *cr_origin = _PyCoro_ComputeOrigin(origin_depth, frame);
 1151|      0|        ((PyCoroObject *)coro)->cr_origin_or_finalizer = cr_origin;
 1152|      0|        if (!cr_origin) {
  ------------------
  |  Branch (1152:13): [True: 0, False: 0]
  ------------------
 1153|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1154|      0|            return NULL;
 1155|      0|        }
 1156|      0|    }
 1157|      2|    return coro;
 1158|      2|}
genobject.c:_PyGen_GetCode:
   69|    222|_PyGen_GetCode(PyGenObject *gen) {
   70|    222|    return _PyFrame_GetCode(&gen->gi_iframe);
   71|    222|}
genobject.c:gen_clear_frame:
  168|    216|{
  169|    216|    assert(FT_ATOMIC_LOAD_INT8_RELAXED(gen->gi_frame_state) == FRAME_CLEARED);
  170|    216|    _PyInterpreterFrame *frame = &gen->gi_iframe;
  171|       |    frame->previous = NULL;
  172|    216|    _PyFrame_ClearExceptCode(frame);
  173|    216|    _PyErr_ClearExcState(&gen->gi_exc_state);
  174|    216|}
genobject.c:gen_dealloc:
  206|  2.18M|{
  207|  2.18M|    PyGenObject *gen = _PyGen_CAST(self);
  ------------------
  |  |   33|  2.18M|    _Py_CAST(PyGenObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  2.18M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  208|       |
  209|  2.18M|    _PyObject_GC_UNTRACK(gen);
  ------------------
  |  |  510|  2.18M|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.18M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.18M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  210|       |
  211|  2.18M|    FT_CLEAR_WEAKREFS(self, gen->gi_weakreflist);
  ------------------
  |  |   47|  2.18M|    do {                                            \
  |  |   48|  2.18M|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|  2.18M|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 2.18M]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|  2.18M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 2.18M]
  |  |  ------------------
  ------------------
  212|       |
  213|  2.18M|    _PyObject_GC_TRACK(self);
  ------------------
  |  |  508|  2.18M|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.18M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.18M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  214|       |
  215|  2.18M|    if (PyObject_CallFinalizerFromDealloc(self))
  ------------------
  |  Branch (215:9): [True: 0, False: 2.18M]
  ------------------
  216|      0|        return;                     /* resurrected.  :( */
  217|       |
  218|  2.18M|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  510|  2.18M|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.18M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.18M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  219|  2.18M|    if (PyAsyncGen_CheckExact(gen)) {
  ------------------
  |  |   46|  2.18M|#define PyAsyncGen_CheckExact(op) Py_IS_TYPE((op), &PyAsyncGen_Type)
  |  |  ------------------
  |  |  |  |  215|  2.18M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.18M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.18M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 2, False: 2.18M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  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|  2.18M|    if (PyCoro_CheckExact(gen)) {
  ------------------
  |  |   31|  2.18M|#define PyCoro_CheckExact(op) Py_IS_TYPE((op), &PyCoro_Type)
  |  |  ------------------
  |  |  |  |  215|  2.18M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.18M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.18M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 2, False: 2.18M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  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|  2.18M|    if (gen->gi_frame_state != FRAME_CLEARED) {
  ------------------
  |  Branch (228:9): [True: 0, False: 2.18M]
  ------------------
  229|      0|        gen->gi_frame_state = FRAME_CLEARED;
  230|      0|        gen_clear_frame(gen);
  231|      0|    }
  232|  2.18M|    assert(gen->gi_exc_state.exc_value == NULL);
  233|  2.18M|    PyStackRef_CLEAR(gen->gi_iframe.f_executable);
  ------------------
  |  |  711|  2.18M|    do { \
  |  |  712|  2.18M|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  713|  2.18M|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  714|  2.18M|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  715|  2.18M|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  716|  2.18M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (716:14): [Folded, False: 2.18M]
  |  |  ------------------
  ------------------
  234|  2.18M|    Py_CLEAR(gen->gi_name);
  ------------------
  |  |  484|  2.18M|    do { \
  |  |  485|  2.18M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  2.18M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  2.18M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  2.18M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  2.18M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2.18M, False: 0]
  |  |  ------------------
  |  |  488|  2.18M|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  2.18M|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  2.18M|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  2.18M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.18M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.18M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  2.18M|        } \
  |  |  491|  2.18M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2.18M]
  |  |  ------------------
  ------------------
  235|  2.18M|    Py_CLEAR(gen->gi_qualname);
  ------------------
  |  |  484|  2.18M|    do { \
  |  |  485|  2.18M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  2.18M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  2.18M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  2.18M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  2.18M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2.18M, False: 0]
  |  |  ------------------
  |  |  488|  2.18M|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  2.18M|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  2.18M|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  2.18M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.18M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.18M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  2.18M|        } \
  |  |  491|  2.18M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2.18M]
  |  |  ------------------
  ------------------
  236|       |
  237|  2.18M|    PyObject_GC_Del(gen);
  238|  2.18M|}
genobject.c:gen_send_ex:
  330|  1.06M|{
  331|  1.06M|    *presult = NULL;
  332|  1.06M|    int8_t frame_state = FT_ATOMIC_LOAD_INT8_RELAXED(gen->gi_frame_state);
  ------------------
  |  |  155|  1.06M|#define FT_ATOMIC_LOAD_INT8_RELAXED(value) value
  ------------------
  333|  1.06M|    do {
  334|  1.06M|        if (frame_state == FRAME_CREATED && arg && arg != Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (334:13): [True: 45.3k, False: 1.02M]
  |  Branch (334:45): [True: 0, False: 45.3k]
  |  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|  1.06M|        if (frame_state == FRAME_EXECUTING) {
  ------------------
  |  Branch (347:13): [True: 0, False: 1.06M]
  ------------------
  348|      0|            gen_raise_already_executing_error(gen);
  349|      0|            return PYGEN_ERROR;
  350|      0|        }
  351|  1.06M|        if (FRAME_STATE_FINISHED(frame_state)) {
  ------------------
  |  |   57|  1.06M|#define FRAME_STATE_FINISHED(S) ((S) == FRAME_CLEARED)
  |  |  ------------------
  |  |  |  Branch (57:33): [True: 0, False: 1.06M]
  |  |  ------------------
  ------------------
  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|  1.06M|        assert((frame_state == FRAME_CREATED) ||
  370|  1.06M|               FRAME_STATE_SUSPENDED(frame_state));
  371|  1.06M|    } while (!_Py_GEN_TRY_SET_FRAME_STATE(gen, frame_state, FRAME_EXECUTING));
  ------------------
  |  |   57|  1.06M|    ((gen)->gi_frame_state = (state), true)
  ------------------
  |  Branch (371:14): [True: 0, False: 1.06M]
  ------------------
  372|       |
  373|  1.06M|    return gen_send_ex2(gen, arg, presult, 0);
  374|  1.06M|}
genobject.c:gen_send_ex2:
  260|  1.08M|{
  261|  1.08M|    assert(FT_ATOMIC_LOAD_INT8_RELAXED(gen->gi_frame_state) == FRAME_EXECUTING);
  262|       |
  263|  1.08M|    PyThreadState *tstate = _PyThreadState_GET();
  264|  1.08M|    _PyInterpreterFrame *frame = &gen->gi_iframe;
  265|       |
  266|       |    /* Push arg onto the frame's value stack */
  267|  1.08M|    PyObject *arg_obj = arg ? arg : Py_None;
  ------------------
  |  |  616|  1.06M|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (267:25): [True: 19.9k, False: 1.06M]
  ------------------
  268|  1.08M|    _PyFrame_StackPush(frame, PyStackRef_FromPyObjectNew(arg_obj));
  ------------------
  |  |  599|  1.08M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.08M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.08M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  269|       |
  270|  1.08M|    _PyErr_StackItem *prev_exc_info = tstate->exc_info;
  271|  1.08M|    gen->gi_exc_state.previous_item = prev_exc_info;
  272|  1.08M|    tstate->exc_info = &gen->gi_exc_state;
  273|       |
  274|  1.08M|    if (exc) {
  ------------------
  |  Branch (274:9): [True: 19.9k, False: 1.06M]
  ------------------
  275|  19.9k|        assert(_PyErr_Occurred(tstate));
  276|  19.9k|        _PyErr_ChainStackItem();
  277|  19.9k|    }
  278|       |
  279|  1.08M|    EVAL_CALL_STAT_INC(EVAL_CALL_GENERATOR);
  ------------------
  |  |   79|  1.08M|#define EVAL_CALL_STAT_INC(name) ((void)0)
  ------------------
  280|  1.08M|    PyObject *result = _PyEval_EvalFrame(tstate, frame, exc);
  281|  1.08M|    assert(tstate->exc_info == prev_exc_info);
  282|  1.08M|#ifndef Py_GIL_DISABLED
  283|  1.08M|    assert(gen->gi_exc_state.previous_item == NULL);
  284|  1.08M|    assert(frame->previous == NULL);
  285|  1.08M|    assert(gen->gi_frame_state != FRAME_EXECUTING);
  286|  1.08M|#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|  1.08M|    int return_kind = ((_PyThreadStateImpl *)tstate)->generator_return_kind;
  293|       |
  294|  1.08M|    if (return_kind == GENERATOR_YIELD) {
  ------------------
  |  Branch (294:9): [True: 1.04M, False: 45.1k]
  ------------------
  295|  1.04M|        assert(result != NULL && !_PyErr_Occurred(tstate));
  296|  1.04M|#ifndef Py_GIL_DISABLED
  297|  1.04M|        assert(FRAME_STATE_SUSPENDED(gen->gi_frame_state));
  298|  1.04M|#endif
  299|  1.04M|        *presult = result;
  300|  1.04M|        return PYGEN_NEXT;
  301|  1.04M|    }
  302|       |
  303|  1.08M|    assert(return_kind == GENERATOR_RETURN);
  304|  45.1k|    assert(gen->gi_exc_state.exc_value == NULL);
  305|  45.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|  45.1k|    if (result) {
  ------------------
  |  Branch (309:9): [True: 25.2k, False: 19.9k]
  ------------------
  310|  25.2k|        assert(result == Py_None || !PyAsyncGen_CheckExact(gen));
  311|  25.2k|        if (result == Py_None && !PyAsyncGen_CheckExact(gen) && !arg) {
  ------------------
  |  |  616|  50.4k|#  define Py_None (&_Py_NoneStruct)
  ------------------
                      if (result == Py_None && !PyAsyncGen_CheckExact(gen) && !arg) {
  ------------------
  |  |   46|  25.2k|#define PyAsyncGen_CheckExact(op) Py_IS_TYPE((op), &PyAsyncGen_Type)
  |  |  ------------------
  |  |  |  |  215|  50.4k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  25.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  25.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (311:13): [True: 25.2k, False: 0]
  |  Branch (311:34): [True: 25.2k, False: 0]
  |  Branch (311:65): [True: 25.2k, False: 0]
  ------------------
  312|       |            /* Return NULL if called by gen_iternext() */
  313|  25.2k|            Py_CLEAR(result);
  ------------------
  |  |  484|  25.2k|    do { \
  |  |  485|  25.2k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  25.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  25.2k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  25.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  25.2k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 25.2k, False: 0]
  |  |  ------------------
  |  |  488|  25.2k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  25.2k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  25.2k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  25.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  25.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  25.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  25.2k|        } \
  |  |  491|  25.2k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 25.2k]
  |  |  ------------------
  ------------------
  314|  25.2k|        }
  315|  25.2k|    }
  316|  19.9k|    else {
  317|  19.9k|        assert(!PyErr_ExceptionMatches(PyExc_StopIteration));
  318|  19.9k|        assert(!PyAsyncGen_CheckExact(gen) ||
  319|  19.9k|            !PyErr_ExceptionMatches(PyExc_StopAsyncIteration));
  320|  19.9k|    }
  321|       |
  322|  45.1k|    *presult = result;
  323|  45.1k|    return result ? PYGEN_RETURN : PYGEN_ERROR;
  ------------------
  |  Branch (323:12): [True: 0, False: 45.1k]
  ------------------
  324|  1.08M|}
genobject.c:gen_traverse:
   83|  16.5k|{
   84|  16.5k|    PyGenObject *gen = _PyGen_CAST(self);
  ------------------
  |  |   33|  16.5k|    _Py_CAST(PyGenObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  16.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   85|  16.5k|    Py_VISIT(gen->gi_name);
  ------------------
  |  |  194|  16.5k|    do {                                                                \
  |  |  195|  16.5k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16.5k, False: 0]
  |  |  ------------------
  |  |  196|  16.5k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  16.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  16.5k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16.5k]
  |  |  ------------------
  |  |  198|  16.5k|                return vret;                                            \
  |  |  199|  16.5k|        }                                                               \
  |  |  200|  16.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16.5k]
  |  |  ------------------
  ------------------
   86|  16.5k|    Py_VISIT(gen->gi_qualname);
  ------------------
  |  |  194|  16.5k|    do {                                                                \
  |  |  195|  16.5k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16.5k, False: 0]
  |  |  ------------------
  |  |  196|  16.5k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  16.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  16.5k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 16.5k]
  |  |  ------------------
  |  |  198|  16.5k|                return vret;                                            \
  |  |  199|  16.5k|        }                                                               \
  |  |  200|  16.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16.5k]
  |  |  ------------------
  ------------------
   87|  16.5k|    if (gen->gi_frame_state != FRAME_CLEARED) {
  ------------------
  |  Branch (87:9): [True: 16.5k, False: 5]
  ------------------
   88|  16.5k|        _PyInterpreterFrame *frame = &gen->gi_iframe;
   89|  16.5k|        assert(frame->frame_obj == NULL ||
   90|  16.5k|               frame->frame_obj->f_frame->owner == FRAME_OWNED_BY_GENERATOR);
   91|  16.5k|        int err = _PyFrame_Traverse(frame, visit, arg);
   92|  16.5k|        if (err) {
  ------------------
  |  Branch (92:13): [True: 0, False: 16.5k]
  ------------------
   93|      0|            return err;
   94|      0|        }
   95|  16.5k|    }
   96|      5|    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|      5|        _Py_VISIT_STACKREF(gen->gi_iframe.f_executable);
  ------------------
  |  |  842|      5|    do {                                                                \
  |  |  843|      5|        if (!PyStackRef_IsNullOrInt(ref)) {                             \
  |  |  ------------------
  |  |  |  |  486|      5|#define PyStackRef_IsNullOrInt(stackref) (PyStackRef_IsNull(stackref) || PyStackRef_IsTaggedInt(stackref))
  |  |  |  |  ------------------
  |  |  |  |  |  |  470|     10|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  467|      5|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|      5|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (470:32): [True: 0, False: 5]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (486:74): [True: 0, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  844|      5|            int vret = _PyGC_VisitStackRef(&(ref), visit, arg);         \
  |  |  845|      5|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (845:17): [True: 0, False: 5]
  |  |  ------------------
  |  |  846|      5|                return vret;                                            \
  |  |  847|      5|        }                                                               \
  |  |  848|      5|    } while (0)
  |  |  ------------------
  |  |  |  Branch (848:14): [Folded, False: 5]
  |  |  ------------------
  ------------------
  100|      5|    }
  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.5k|    Py_VISIT(gen->gi_exc_state.exc_value);
  ------------------
  |  |  194|  16.5k|    do {                                                                \
  |  |  195|  16.5k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 10, False: 16.5k]
  |  |  ------------------
  |  |  196|     10|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     10|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 10]
  |  |  ------------------
  |  |  198|     10|                return vret;                                            \
  |  |  199|     10|        }                                                               \
  |  |  200|  16.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 16.5k]
  |  |  ------------------
  ------------------
  104|  16.5k|    return 0;
  105|  16.5k|}
genobject.c:gen_iternext:
  759|  1.06M|{
  760|  1.06M|    assert(PyGen_CheckExact(self) || PyCoro_CheckExact(self));
  761|  1.06M|    PyGenObject *gen = _PyGen_CAST(self);
  ------------------
  |  |   33|  1.06M|    _Py_CAST(PyGenObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  1.06M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  762|       |
  763|  1.06M|    PyObject *result;
  764|  1.06M|    if (gen_send_ex(gen, NULL, &result) == PYGEN_RETURN) {
  ------------------
  |  Branch (764:9): [True: 0, False: 1.06M]
  ------------------
  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|  1.06M|    return result;
  771|  1.06M|}
genobject.c:gen_throw:
  728|  19.9k|{
  729|  19.9k|    PyGenObject *gen = _PyGen_CAST(op);
  ------------------
  |  |   33|  19.9k|    _Py_CAST(PyGenObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  19.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  730|  19.9k|    PyObject *typ;
  731|  19.9k|    PyObject *tb = NULL;
  732|  19.9k|    PyObject *val = NULL;
  733|       |
  734|  19.9k|    if (!_PyArg_CheckPositional("throw", nargs, 1, 3)) {
  ------------------
  |  |   31|  19.9k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 19.9k, False: 0]
  |  |  |  Branch (31:27): [True: 19.9k, False: 0]
  |  |  ------------------
  |  |   32|  19.9k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  735|      0|        return NULL;
  736|      0|    }
  737|  19.9k|    if (nargs > 1) {
  ------------------
  |  Branch (737:9): [True: 0, False: 19.9k]
  ------------------
  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|  19.9k|    typ = args[0];
  746|  19.9k|    if (nargs == 3) {
  ------------------
  |  Branch (746:9): [True: 0, False: 19.9k]
  ------------------
  747|      0|        val = args[1];
  748|      0|        tb = args[2];
  749|      0|    }
  750|  19.9k|    else if (nargs == 2) {
  ------------------
  |  Branch (750:14): [True: 0, False: 19.9k]
  ------------------
  751|      0|        val = args[1];
  752|      0|    }
  753|  19.9k|    return _gen_throw(gen, 1, typ, val, tb);
  754|  19.9k|}
genobject.c:_gen_throw:
  626|  19.9k|{
  627|  19.9k|    int8_t frame_state = FT_ATOMIC_LOAD_INT8_RELAXED(gen->gi_frame_state);
  ------------------
  |  |  155|  19.9k|#define FT_ATOMIC_LOAD_INT8_RELAXED(value) value
  ------------------
  628|  19.9k|    do {
  629|  19.9k|        if (frame_state == FRAME_EXECUTING) {
  ------------------
  |  Branch (629:13): [True: 0, False: 19.9k]
  ------------------
  630|      0|            gen_raise_already_executing_error(gen);
  631|      0|            return NULL;
  632|      0|        }
  633|       |
  634|  19.9k|        if (FRAME_STATE_FINISHED(frame_state)) {
  ------------------
  |  |   57|  19.9k|#define FRAME_STATE_FINISHED(S) ((S) == FRAME_CLEARED)
  |  |  ------------------
  |  |  |  Branch (57:33): [True: 0, False: 19.9k]
  |  |  ------------------
  ------------------
  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|  19.9k|        assert((frame_state == FRAME_CREATED) ||
  647|  19.9k|               FRAME_STATE_SUSPENDED(frame_state));
  648|  19.9k|    } while (!_Py_GEN_TRY_SET_FRAME_STATE(gen, frame_state, FRAME_EXECUTING));
  ------------------
  |  |   57|  19.9k|    ((gen)->gi_frame_state = (state), true)
  ------------------
  |  Branch (648:14): [True: 0, False: 19.9k]
  ------------------
  649|       |
  650|  19.9k|    if (frame_state == FRAME_SUSPENDED_YIELD_FROM) {
  ------------------
  |  Branch (650:9): [True: 0, False: 19.9k]
  ------------------
  651|      0|        _PyInterpreterFrame *frame = &gen->gi_iframe;
  652|      0|        PyObject *yf = PyStackRef_AsPyObjectNew(_PyFrame_StackPeek(frame, 2));
  ------------------
  |  |  736|      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) {
  ------------------
  |  |  915|      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);
  ------------------
  |  |  166|      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);
  ------------------
  |  |  166|      0|#define FT_ATOMIC_STORE_INT8_RELEASE(value, new_value) value = new_value
  ------------------
  713|      0|        return ret;
  714|      0|    }
  715|       |
  716|  19.9k|throw_here:
  717|  19.9k|    assert(FT_ATOMIC_LOAD_INT8_RELAXED(gen->gi_frame_state) == FRAME_EXECUTING);
  718|  19.9k|    if (gen_set_exception(typ, val, tb) < 0) {
  ------------------
  |  Branch (718:9): [True: 0, False: 19.9k]
  ------------------
  719|      0|        FT_ATOMIC_STORE_INT8_RELEASE(gen->gi_frame_state, frame_state);
  ------------------
  |  |  166|      0|#define FT_ATOMIC_STORE_INT8_RELEASE(value, new_value) value = new_value
  ------------------
  720|      0|        return NULL;
  721|      0|    }
  722|  19.9k|    return gen_throw_current_exception(gen);
  723|  19.9k|}
genobject.c:gen_set_exception:
  546|  19.9k|{
  547|       |    /* First, check the traceback argument, replacing None with
  548|       |       NULL. */
  549|  19.9k|    if (tb == Py_None) {
  ------------------
  |  |  616|  19.9k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (549:9): [True: 0, False: 19.9k]
  ------------------
  550|      0|        tb = NULL;
  551|      0|    }
  552|  19.9k|    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: 19.9k]
  |  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|  19.9k|    Py_INCREF(typ);
  ------------------
  |  |  310|  19.9k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  19.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  19.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  559|  19.9k|    Py_XINCREF(val);
  ------------------
  |  |  514|  19.9k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  19.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  19.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  560|  19.9k|    Py_XINCREF(tb);
  ------------------
  |  |  514|  19.9k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  19.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  19.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  561|       |
  562|  19.9k|    if (PyExceptionClass_Check(typ)) {
  ------------------
  |  |   61|  19.9k|    (PyType_Check((x)) &&                                               \
  |  |  ------------------
  |  |  |  |  766|  39.8k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  19.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  19.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (766:28): [True: 0, False: 19.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   62|  19.9k|     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|  19.9k|    else if (PyExceptionInstance_Check(typ)) {
  ------------------
  |  |   65|  19.9k|    PyType_FastSubclass(Py_TYPE(x), Py_TPFLAGS_BASE_EXC_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  19.9k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 19.9k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  566|       |        /* Raising an instance.  The value should be a dummy. */
  567|  19.9k|        if (val && val != Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (567:13): [True: 0, False: 19.9k]
  |  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|  19.9k|        else {
  573|       |            /* Normalize to raise <class>, <instance> */
  574|  19.9k|            Py_XSETREF(val, typ);
  ------------------
  |  |  374|  19.9k|    do { \
  |  |  375|  19.9k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  19.9k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|  19.9k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  19.9k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|  19.9k|        *_tmp_dst_ptr = (src); \
  |  |  378|  19.9k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  19.9k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  19.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  19.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|  19.9k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 19.9k]
  |  |  ------------------
  ------------------
  575|  19.9k|            typ = Py_NewRef(PyExceptionInstance_Class(typ));
  ------------------
  |  |  550|  19.9k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  19.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  19.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  576|       |
  577|  19.9k|            if (tb == NULL)
  ------------------
  |  Branch (577:17): [True: 19.9k, False: 0]
  ------------------
  578|       |                /* Returns NULL if there's no traceback */
  579|  19.9k|                tb = PyException_GetTraceback(val);
  580|  19.9k|        }
  581|  19.9k|    }
  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|  19.9k|    PyErr_Restore(typ, val, tb);
  592|  19.9k|    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|  19.9k|}
genobject.c:gen_throw_current_exception:
  604|  19.9k|{
  605|  19.9k|    assert(FT_ATOMIC_LOAD_INT8_RELAXED(gen->gi_frame_state) == FRAME_EXECUTING);
  606|       |
  607|  19.9k|    PyObject *result;
  608|  19.9k|    if (gen_send_ex2(gen, Py_None, &result, 1) == PYGEN_RETURN) {
  ------------------
  |  |  616|  19.9k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (608:9): [True: 0, False: 19.9k]
  ------------------
  609|      0|        return gen_set_stop_iteration(gen, result);
  610|      0|    }
  611|  19.9k|    return result;
  612|  19.9k|}
genobject.c:gen_close:
  464|    224|{
  465|    224|    PyGenObject *gen = _PyGen_CAST(self);
  ------------------
  |  |   33|    224|    _Py_CAST(PyGenObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    224|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  466|       |
  467|    224|    int8_t frame_state = FT_ATOMIC_LOAD_INT8_RELAXED(gen->gi_frame_state);
  ------------------
  |  |  155|    224|#define FT_ATOMIC_LOAD_INT8_RELAXED(value) value
  ------------------
  468|    224|    do {
  469|    224|        if (frame_state == FRAME_CREATED) {
  ------------------
  |  Branch (469:13): [True: 7, False: 217]
  ------------------
  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|    217|        if (FRAME_STATE_FINISHED(frame_state)) {
  ------------------
  |  |   57|    217|#define FRAME_STATE_FINISHED(S) ((S) == FRAME_CLEARED)
  |  |  ------------------
  |  |  |  Branch (57:33): [True: 0, False: 217]
  |  |  ------------------
  ------------------
  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|    217|        if (frame_state == FRAME_EXECUTING) {
  ------------------
  |  Branch (482:13): [True: 0, False: 217]
  ------------------
  483|      0|            gen_raise_already_executing_error(gen);
  484|      0|            return NULL;
  485|      0|        }
  486|       |
  487|    217|        assert(FRAME_STATE_SUSPENDED(frame_state));
  488|    217|    } while (!_Py_GEN_TRY_SET_FRAME_STATE(gen, frame_state, FRAME_EXECUTING));
  ------------------
  |  |   57|    217|    ((gen)->gi_frame_state = (state), true)
  ------------------
  |  Branch (488:14): [True: 0, False: 217]
  ------------------
  489|       |
  490|    217|    int err = 0;
  491|    217|    _PyInterpreterFrame *frame = &gen->gi_iframe;
  492|    217|    if (frame_state == FRAME_SUSPENDED_YIELD_FROM) {
  ------------------
  |  Branch (492:9): [True: 0, False: 217]
  ------------------
  493|      0|        PyObject *yf = PyStackRef_AsPyObjectNew(_PyFrame_StackPeek(frame, 2));
  ------------------
  |  |  736|      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|    217|    if (is_resume(frame->instr_ptr)) {
  ------------------
  |  Branch (498:9): [True: 217, False: 0]
  ------------------
  499|    217|        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|    217|        int oparg = frame->instr_ptr->op.arg;
  504|    217|        if (oparg & RESUME_OPARG_DEPTH1_MASK && no_unwind_tools) {
  ------------------
  |  |   93|    434|#define RESUME_OPARG_DEPTH1_MASK 0x8
  ------------------
  |  Branch (504:13): [True: 209, False: 8]
  |  Branch (504:49): [True: 209, False: 0]
  ------------------
  505|       |            // RESUME after YIELD_VALUE and exception depth is 1
  506|    209|            assert((oparg & RESUME_OPARG_LOCATION_MASK) != RESUME_AT_FUNC_START);
  507|    209|            FT_ATOMIC_STORE_INT8_RELEASE(gen->gi_frame_state, FRAME_CLEARED);
  ------------------
  |  |  166|    209|#define FT_ATOMIC_STORE_INT8_RELEASE(value, new_value) value = new_value
  ------------------
  508|    209|            gen_clear_frame(gen);
  509|    209|            Py_RETURN_NONE;
  ------------------
  |  |  628|    209|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    209|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  510|    209|        }
  511|    217|    }
  512|      8|    if (err == 0) {
  ------------------
  |  Branch (512:9): [True: 8, False: 0]
  ------------------
  513|      8|        PyErr_SetNone(PyExc_GeneratorExit);
  514|      8|    }
  515|       |
  516|      8|    PyObject *retval;
  517|      8|    if (gen_send_ex2(gen, Py_None, &retval, 1) == PYGEN_RETURN) {
  ------------------
  |  |  616|      8|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (517:9): [True: 0, False: 8]
  ------------------
  518|       |        // the generator returned a value while closing, return the value here
  519|      0|        assert(!PyErr_Occurred());
  520|      0|        return retval;
  521|      0|    }
  522|      8|    else if (retval) {
  ------------------
  |  Branch (522:14): [True: 0, False: 8]
  ------------------
  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|      8|    assert(PyErr_Occurred());
  534|       |
  535|      8|    if (PyErr_ExceptionMatches(PyExc_GeneratorExit)) {
  ------------------
  |  Branch (535:9): [True: 8, False: 0]
  ------------------
  536|      8|        PyErr_Clear();          /* ignore this error */
  537|      8|        Py_RETURN_NONE;
  ------------------
  |  |  628|      8|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      8|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  538|      8|    }
  539|      0|    return NULL;
  540|      8|}
genobject.c:is_resume:
  452|    217|{
  453|    217|    uint8_t code = FT_ATOMIC_LOAD_UINT8_RELAXED(instr->op.code);
  ------------------
  |  |  156|    217|#define FT_ATOMIC_LOAD_UINT8_RELAXED(value) value
  ------------------
  454|    217|    return (
  455|    217|        code == RESUME ||
  ------------------
  |  |  133|    434|#define RESUME                                 128
  ------------------
  |  Branch (455:9): [True: 92, False: 125]
  ------------------
  456|    125|        code == RESUME_CHECK ||
  ------------------
  |  |  205|    342|#define RESUME_CHECK                           200
  ------------------
  |  Branch (456:9): [True: 125, False: 0]
  ------------------
  457|      0|        code == RESUME_CHECK_JIT ||
  ------------------
  |  |  206|    217|#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|    217|    );
  460|    217|}
genobject.c:gen_finalize:
  109|  2.18M|{
  110|  2.18M|    PyGenObject *gen = (PyGenObject *)self;
  111|       |
  112|  2.18M|    if (FRAME_STATE_FINISHED(gen->gi_frame_state)) {
  ------------------
  |  |   57|  2.18M|#define FRAME_STATE_FINISHED(S) ((S) == FRAME_CLEARED)
  |  |  ------------------
  |  |  |  Branch (57:33): [True: 2.18M, False: 222]
  |  |  ------------------
  ------------------
  113|       |        /* Generator isn't paused, so no need to close */
  114|  2.18M|        return;
  115|  2.18M|    }
  116|       |
  117|    222|    if (PyAsyncGen_CheckExact(self)) {
  ------------------
  |  |   46|    222|#define PyAsyncGen_CheckExact(op) Py_IS_TYPE((op), &PyAsyncGen_Type)
  |  |  ------------------
  |  |  |  |  215|    222|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    222|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    222|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 2, False: 220]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  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|    222|    PyObject *exc = PyErr_GetRaisedException();
  140|       |
  141|       |    /* If `gen` is a coroutine, and if it was never awaited on,
  142|       |       issue a RuntimeWarning. */
  143|    222|    assert(_PyGen_GetCode(gen) != NULL);
  144|    222|    if (_PyGen_GetCode(gen)->co_flags & CO_COROUTINE &&
  ------------------
  |  |  127|    444|#define CO_COROUTINE            0x0080
  ------------------
  |  Branch (144:9): [True: 0, False: 222]
  ------------------
  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|    222|    else {
  150|    222|        PyObject *res = gen_close((PyObject*)gen, NULL);
  151|    222|        if (res == NULL) {
  ------------------
  |  Branch (151:13): [True: 0, False: 222]
  ------------------
  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|    222|        else {
  158|    222|            Py_DECREF(res);
  ------------------
  |  |  430|    222|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    222|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    222|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  159|    222|        }
  160|    222|    }
  161|       |
  162|       |    /* Restore the saved exception. */
  163|    222|    PyErr_SetRaisedException(exc);
  164|    222|}
genobject.c:make_gen:
 1093|  2.18M|{
 1094|  2.18M|    PyCodeObject *code = (PyCodeObject *)func->func_code;
 1095|  2.18M|    int slots = _PyFrame_NumSlotsForCodeObject(code);
 1096|  2.18M|    PyGenObject *gen = PyObject_GC_NewVar(PyGenObject, type, slots);
  ------------------
  |  |  183|  2.18M|    _Py_CAST(type*, _PyObject_GC_NewVar((typeobj), (n)))
  |  |  ------------------
  |  |  |  |   37|  2.18M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1097|  2.18M|    if (gen == NULL) {
  ------------------
  |  Branch (1097:9): [True: 0, False: 2.18M]
  ------------------
 1098|      0|        return NULL;
 1099|      0|    }
 1100|  2.18M|    gen->gi_frame_state = FRAME_CLEARED;
 1101|  2.18M|    gen->gi_weakreflist = NULL;
 1102|  2.18M|    gen->gi_exc_state.exc_value = NULL;
 1103|  2.18M|    gen->gi_exc_state.previous_item = NULL;
 1104|  2.18M|    gen->gi_iframe.f_executable = PyStackRef_None;
  ------------------
  |  |  473|  2.18M|#define PyStackRef_None ((_PyStackRef){.bits = ((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT })
  |  |  ------------------
  |  |  |  |   55|  2.18M|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
 1105|  2.18M|    assert(func->func_name != NULL);
 1106|  2.18M|    gen->gi_name = Py_NewRef(func->func_name);
  ------------------
  |  |  550|  2.18M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.18M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.18M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1107|  2.18M|    assert(func->func_qualname != NULL);
 1108|  2.18M|    gen->gi_qualname = Py_NewRef(func->func_qualname);
  ------------------
  |  |  550|  2.18M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.18M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.18M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1109|  2.18M|    _PyObject_GC_TRACK(gen);
  ------------------
  |  |  508|  2.18M|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.18M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.18M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1110|  2.18M|    return (PyObject *)gen;
 1111|  2.18M|}

_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');
  ------------------
  |  |  919|      0|    ((CH) < 128 \
  |  |  ------------------
  |  |  |  Branch (919:6): [True: 0, Folded]
  |  |  ------------------
  |  |  920|      0|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  921|      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');
  ------------------
  |  |  919|      0|    ((CH) < 128 \
  |  |  ------------------
  |  |  |  Branch (919:6): [True: 0, Folded]
  |  |  ------------------
  |  |  920|      0|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  921|      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');
  ------------------
  |  |  919|      0|    ((CH) < 128 \
  |  |  ------------------
  |  |  |  Branch (919:6): [True: 0, Folded]
  |  |  ------------------
  |  |  920|      0|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  921|      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|    702|{
   20|    702|    seqiterobject *it;
   21|       |
   22|    702|    if (!PySequence_Check(seq)) {
  ------------------
  |  Branch (22:9): [True: 0, False: 702]
  ------------------
   23|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
   24|      0|        return NULL;
   25|      0|    }
   26|    702|    it = PyObject_GC_New(seqiterobject, &PySeqIter_Type);
  ------------------
  |  |  181|    702|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|    702|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   27|    702|    if (it == NULL)
  ------------------
  |  Branch (27:9): [True: 0, False: 702]
  ------------------
   28|      0|        return NULL;
   29|    702|    it->it_index = 0;
   30|    702|    it->it_seq = Py_NewRef(seq);
  ------------------
  |  |  550|    702|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    702|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    702|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   31|    702|    _PyObject_GC_TRACK(it);
  ------------------
  |  |  508|    702|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    702|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    702|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   32|    702|    return (PyObject *)it;
   33|    702|}
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|    702|{
   38|    702|    seqiterobject *it = (seqiterobject*)op;
   39|    702|    _PyObject_GC_UNTRACK(it);
  ------------------
  |  |  510|    702|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    702|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    702|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   40|    702|    Py_XDECREF(it->it_seq);
  ------------------
  |  |  524|    702|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    702|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    702|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   41|    702|    PyObject_GC_Del(it);
   42|    702|}
iterobject.c:iter_iternext:
   54|  1.74k|{
   55|  1.74k|    seqiterobject *it;
   56|  1.74k|    PyObject *seq;
   57|  1.74k|    PyObject *result;
   58|       |
   59|  1.74k|    assert(PySeqIter_Check(iterator));
   60|  1.74k|    it = (seqiterobject *)iterator;
   61|  1.74k|    seq = it->it_seq;
   62|  1.74k|    if (seq == NULL)
  ------------------
  |  Branch (62:9): [True: 0, False: 1.74k]
  ------------------
   63|      0|        return NULL;
   64|  1.74k|    if (it->it_index == PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|  1.74k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (64:9): [True: 0, False: 1.74k]
  ------------------
   65|      0|        PyErr_SetString(PyExc_OverflowError,
   66|      0|                        "iter index too large");
   67|      0|        return NULL;
   68|      0|    }
   69|       |
   70|  1.74k|    result = PySequence_GetItem(seq, it->it_index);
   71|  1.74k|    if (result != NULL) {
  ------------------
  |  Branch (71:9): [True: 1.04k, False: 702]
  ------------------
   72|  1.04k|        it->it_index++;
   73|  1.04k|        return result;
   74|  1.04k|    }
   75|    702|    if (PyErr_ExceptionMatches(PyExc_IndexError) ||
  ------------------
  |  Branch (75:9): [True: 702, False: 0]
  ------------------
   76|      0|        PyErr_ExceptionMatches(PyExc_StopIteration))
  ------------------
  |  Branch (76:9): [True: 0, False: 0]
  ------------------
   77|    702|    {
   78|    702|        PyErr_Clear();
   79|    702|        it->it_seq = NULL;
   80|    702|        Py_DECREF(seq);
  ------------------
  |  |  430|    702|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    702|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    702|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   81|    702|    }
   82|       |    return NULL;
   83|  1.74k|}
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|     60|{
   16|     60|    PyLazyImportObject *m;
   17|     60|    if (!name || !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 (17:9): [True: 0, False: 60]
  |  Branch (17:18): [True: 0, False: 60]
  ------------------
   18|      0|        PyErr_SetString(PyExc_TypeError, "expected str for name");
   19|      0|        return NULL;
   20|      0|    }
   21|     60|    if (fromlist == Py_None || fromlist == NULL) {
  ------------------
  |  |  616|    120|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (21:9): [True: 28, False: 32]
  |  Branch (21:32): [True: 0, False: 32]
  ------------------
   22|     28|        fromlist = NULL;
   23|     28|    }
   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|     60|    m = PyObject_GC_New(PyLazyImportObject, &PyLazyImport_Type);
  ------------------
  |  |  181|     60|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|     60|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   30|     60|    if (m == NULL) {
  ------------------
  |  Branch (30:9): [True: 0, False: 60]
  ------------------
   31|      0|        return NULL;
   32|      0|    }
   33|     60|    m->lz_builtins = Py_XNewRef(builtins);
  ------------------
  |  |  551|     60|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     60|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     60|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   34|     60|    m->lz_from = Py_NewRef(name);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   35|     60|    m->lz_attr = Py_XNewRef(fromlist);
  ------------------
  |  |  551|     60|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     60|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     60|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   36|       |
   37|       |    // Capture frame information for the original import location.
   38|     60|    m->lz_code = NULL;
   39|     60|    m->lz_instr_offset = -1;
   40|       |
   41|     60|    if (frame != NULL) {
  ------------------
  |  Branch (41:9): [True: 60, False: 0]
  ------------------
   42|     60|        PyCodeObject *code = _PyFrame_GetCode(frame);
   43|     60|        if (code != NULL) {
  ------------------
  |  Branch (43:13): [True: 60, False: 0]
  ------------------
   44|     60|            m->lz_code = (PyCodeObject *)Py_NewRef(code);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   45|       |            // Calculate the instruction offset from the current frame.
   46|     60|            m->lz_instr_offset = _PyInterpreterFrame_LASTI(frame);
  ------------------
  |  |   18|     60|    ((int)((IF)->instr_ptr - _PyFrame_GetBytecode((IF))))
  ------------------
   47|     60|        }
   48|     60|    }
   49|       |
   50|     60|    _PyObject_GC_TRACK(m);
  ------------------
  |  |  508|     60|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     60|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     60|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   51|     60|    return (PyObject *)m;
   52|     60|}
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|    356|{
   57|    356|    PyLazyImportObject *m = PyLazyImportObject_CAST(op);
  ------------------
  |  |   11|    356|#define PyLazyImportObject_CAST(op) ((PyLazyImportObject *)(op))
  ------------------
   58|    356|    Py_VISIT(m->lz_builtins);
  ------------------
  |  |  194|    356|    do {                                                                \
  |  |  195|    356|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 356, False: 0]
  |  |  ------------------
  |  |  196|    356|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    356|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    356|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    356|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 356]
  |  |  ------------------
  |  |  198|    356|                return vret;                                            \
  |  |  199|    356|        }                                                               \
  |  |  200|    356|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 356]
  |  |  ------------------
  ------------------
   59|    356|    Py_VISIT(m->lz_from);
  ------------------
  |  |  194|    356|    do {                                                                \
  |  |  195|    356|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 356, False: 0]
  |  |  ------------------
  |  |  196|    356|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    356|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    356|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    356|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 356]
  |  |  ------------------
  |  |  198|    356|                return vret;                                            \
  |  |  199|    356|        }                                                               \
  |  |  200|    356|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 356]
  |  |  ------------------
  ------------------
   60|    356|    Py_VISIT(m->lz_attr);
  ------------------
  |  |  194|    356|    do {                                                                \
  |  |  195|    356|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 160, False: 196]
  |  |  ------------------
  |  |  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|    356|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 356]
  |  |  ------------------
  ------------------
   61|    356|    Py_VISIT(m->lz_code);
  ------------------
  |  |  194|    356|    do {                                                                \
  |  |  195|    356|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 356, False: 0]
  |  |  ------------------
  |  |  196|    356|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    356|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    356|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    356|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 356]
  |  |  ------------------
  |  |  198|    356|                return vret;                                            \
  |  |  199|    356|        }                                                               \
  |  |  200|    356|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 356]
  |  |  ------------------
  ------------------
   62|    356|    return 0;
   63|    356|}
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|  6.87M|{
  243|  6.87M|    if (size < 0) {
  ------------------
  |  Branch (243:9): [True: 0, False: 6.87M]
  ------------------
  244|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  245|      0|        return NULL;
  246|      0|    }
  247|       |
  248|  6.87M|    PyListObject *op = _Py_FREELIST_POP(PyListObject, lists);
  ------------------
  |  |   43|  6.87M|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  6.87M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  249|  6.87M|    if (op == NULL) {
  ------------------
  |  Branch (249:9): [True: 9.15k, False: 6.86M]
  ------------------
  250|  9.15k|        op = PyObject_GC_New(PyListObject, &PyList_Type);
  ------------------
  |  |  181|  9.15k|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|  9.15k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  251|  9.15k|        if (op == NULL) {
  ------------------
  |  Branch (251:13): [True: 0, False: 9.15k]
  ------------------
  252|      0|            return NULL;
  253|      0|        }
  254|  9.15k|    }
  255|  6.87M|    if (size <= 0) {
  ------------------
  |  Branch (255:9): [True: 4.69M, False: 2.17M]
  ------------------
  256|  4.69M|        op->ob_item = NULL;
  257|  4.69M|    }
  258|  2.17M|    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|  2.17M|        op->ob_item = (PyObject **) PyMem_Calloc(size, sizeof(PyObject *));
  269|  2.17M|#endif
  270|  2.17M|        if (op->ob_item == NULL) {
  ------------------
  |  Branch (270:13): [True: 0, False: 2.17M]
  ------------------
  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|  2.17M|    }
  275|  6.87M|    Py_SET_SIZE(op, size);
  ------------------
  |  |  216|  6.87M|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  6.87M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.87M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  276|  6.87M|    op->allocated = size;
  277|  6.87M|    _PyObject_GC_TRACK(op);
  ------------------
  |  |  508|  6.87M|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.87M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.87M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  278|  6.87M|    return (PyObject *) op;
  279|  6.87M|}
PyList_Size:
  310|  2.44k|{
  311|  2.44k|    if (!PyList_Check(op)) {
  ------------------
  |  |   25|  2.44k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  2.44k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (311:9): [True: 0, False: 2.44k]
  ------------------
  312|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  313|      0|        return -1;
  314|      0|    }
  315|  2.44k|    else {
  316|  2.44k|        return PyList_GET_SIZE(op);
  ------------------
  |  |   38|  2.44k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.44k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.44k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  317|  2.44k|    }
  318|  2.44k|}
PyList_GetItem:
  392|    102|{
  393|    102|    if (!PyList_Check(op)) {
  ------------------
  |  |   25|    102|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    102|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (393:9): [True: 0, False: 102]
  ------------------
  394|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  395|      0|        return NULL;
  396|      0|    }
  397|    102|    if (!valid_index(i, Py_SIZE(op))) {
  ------------------
  |  |  214|    102|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    102|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    102|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (397:9): [True: 0, False: 102]
  ------------------
  398|      0|        _Py_DECLARE_STR(list_err, "list index out of range");
  399|      0|        PyErr_SetObject(PyExc_IndexError, &_Py_STR(list_err));
  ------------------
  |  |  917|      0|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  400|      0|        return NULL;
  401|      0|    }
  402|    102|    return ((PyListObject *)op) -> ob_item[i];
  403|    102|}
PyList_GetItemRef:
  407|     47|{
  408|     47|    if (!PyList_Check(op)) {
  ------------------
  |  |   25|     47|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     47|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (408:9): [True: 0, False: 47]
  ------------------
  409|      0|        PyErr_SetString(PyExc_TypeError, "expected a list");
  410|      0|        return NULL;
  411|      0|    }
  412|     47|    PyObject *item = list_get_item_ref((PyListObject *)op, i);
  413|     47|    if (item == NULL) {
  ------------------
  |  Branch (413:9): [True: 0, False: 47]
  ------------------
  414|      0|        _Py_DECLARE_STR(list_err, "list index out of range");
  415|      0|        PyErr_SetObject(PyExc_IndexError, &_Py_STR(list_err));
  ------------------
  |  |  917|      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|     47|    return item;
  419|     47|}
PyList_SetItem:
  456|  3.50k|{
  457|  3.50k|    if (!PyList_Check(op)) {
  ------------------
  |  |   25|  3.50k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  3.50k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (457:9): [True: 0, False: 3.50k]
  ------------------
  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|  3.50k|    int ret;
  463|  3.50k|    PyListObject *self = ((PyListObject *)op);
  464|  3.50k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  3.50k|    {
  ------------------
  465|  3.50k|    if (!valid_index(i, Py_SIZE(self))) {
  ------------------
  |  |  214|  3.50k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.50k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.50k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (465:9): [True: 0, False: 3.50k]
  ------------------
  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|  3.50k|    PyObject *tmp = self->ob_item[i];
  473|  3.50k|    FT_ATOMIC_STORE_PTR_RELEASE(self->ob_item[i], newitem);
  ------------------
  |  |  163|  3.50k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  474|  3.50k|    Py_XDECREF(tmp);
  ------------------
  |  |  524|  3.50k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.50k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.50k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  475|  3.50k|    ret = 0;
  476|  3.50k|end:;
  477|  3.50k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  3.50k|    }
  ------------------
  478|  3.50k|    return ret;
  479|  3.50k|}
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.90M|{
  528|  2.90M|    Py_ssize_t len = Py_SIZE(self);
  ------------------
  |  |  214|  2.90M|#  define Py_SIZE(ob) _Py_SIZE_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  529|  2.90M|    assert(self->allocated == -1 || self->allocated == len);
  530|  2.90M|    if (list_resize(self, len + 1) < 0) {
  ------------------
  |  Branch (530:9): [True: 0, False: 2.90M]
  ------------------
  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.90M|    FT_ATOMIC_STORE_PTR_RELEASE(self->ob_item[len], newitem);
  ------------------
  |  |  163|  2.90M|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  535|  2.90M|    return 0;
  536|  2.90M|}
PyList_Append:
  540|  4.58M|{
  541|  4.58M|    if (PyList_Check(op) && (newitem != NULL)) {
  ------------------
  |  |   25|  4.58M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  9.16M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 4.58M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (541:29): [True: 4.58M, False: 0]
  ------------------
  542|  4.58M|        int ret;
  543|  4.58M|        Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|  4.58M|    {
  ------------------
  544|  4.58M|        ret = _PyList_AppendTakeRef((PyListObject *)op, Py_NewRef(newitem));
  ------------------
  |  |  550|  4.58M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  4.58M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.58M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  545|  4.58M|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  4.58M|    }
  ------------------
  546|  4.58M|        return ret;
  547|  4.58M|    }
  548|      0|    PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  549|      0|    return -1;
  550|  4.58M|}
_PyList_BinarySlice:
  721|  7.79k|{
  722|  7.79k|    assert(PyList_CheckExact(container));
  723|  7.79k|    Py_ssize_t istart = 0;
  724|  7.79k|    Py_ssize_t istop = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|  7.79k|#   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|  7.79k|    if (!_PyEval_SliceIndex(start, &istart)) {
  ------------------
  |  Branch (728:9): [True: 0, False: 7.79k]
  ------------------
  729|      0|        return NULL;
  730|      0|    }
  731|  7.79k|    if (!_PyEval_SliceIndex(stop, &istop)) {
  ------------------
  |  Branch (731:9): [True: 0, False: 7.79k]
  ------------------
  732|      0|        return NULL;
  733|      0|    }
  734|  7.79k|    PyObject *ret;
  735|  7.79k|    Py_BEGIN_CRITICAL_SECTION(container);
  ------------------
  |  |   51|  7.79k|    {
  ------------------
  736|  7.79k|    Py_ssize_t len = Py_SIZE(container);
  ------------------
  |  |  214|  7.79k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  7.79k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.79k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  737|  7.79k|    PySlice_AdjustIndices(len, &istart, &istop, 1);
  738|  7.79k|    ret = list_slice_lock_held((PyListObject *)container, istart, istop);
  739|  7.79k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  7.79k|    }
  ------------------
  740|  7.79k|    return ret;
  741|  7.79k|}
_PyList_Concat:
  803|  3.75k|{
  804|  3.75k|    if (!PyList_Check(bb)) {
  ------------------
  |  |   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 (804:9): [True: 0, False: 3.75k]
  ------------------
  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|  3.75k|    PyListObject *a = (PyListObject *)aa;
  811|  3.75k|    PyListObject *b = (PyListObject *)bb;
  812|  3.75k|    PyObject *ret;
  813|  3.75k|    Py_BEGIN_CRITICAL_SECTION2(a, b);
  ------------------
  |  |   57|  3.75k|    {
  ------------------
  814|  3.75k|    ret = list_concat_lock_held(a, b);
  815|  3.75k|    Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|  3.75k|    }
  ------------------
  816|  3.75k|    return ret;
  817|  3.75k|}
PyList_SetSlice:
 1072|  33.3k|{
 1073|  33.3k|    if (!PyList_Check(a)) {
  ------------------
  |  |   25|  33.3k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  33.3k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1073:9): [True: 0, False: 33.3k]
  ------------------
 1074|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1075|      0|        return -1;
 1076|      0|    }
 1077|  33.3k|    return list_ass_slice((PyListObject *)a, ilow, ihigh, v);
 1078|  33.3k|}
_PyList_Extend:
 1534|  4.10M|{
 1535|  4.10M|    return list_extend((PyObject*)self, iterable);
 1536|  4.10M|}
PyList_Sort:
 3213|  5.43k|{
 3214|  5.43k|    if (v == NULL || !PyList_Check(v)) {
  ------------------
  |  |   25|  5.43k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  5.43k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3214:9): [True: 0, False: 5.43k]
  |  Branch (3214:22): [True: 0, False: 5.43k]
  ------------------
 3215|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3216|      0|        return -1;
 3217|      0|    }
 3218|  5.43k|    Py_BEGIN_CRITICAL_SECTION(v);
  ------------------
  |  |   51|  5.43k|    {
  ------------------
 3219|  5.43k|    v = list_sort_impl((PyListObject *)v, NULL, 0);
 3220|  5.43k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  5.43k|    }
  ------------------
 3221|  5.43k|    if (v == NULL)
  ------------------
  |  Branch (3221:9): [True: 0, False: 5.43k]
  ------------------
 3222|      0|        return -1;
 3223|  5.43k|    Py_DECREF(v);
  ------------------
  |  |  430|  5.43k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3224|  5.43k|    return 0;
 3225|  5.43k|}
PyList_Reverse:
 3245|     14|{
 3246|     14|    PyListObject *self = (PyListObject *)v;
 3247|       |
 3248|     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 (3248:9): [True: 0, False: 14]
  |  Branch (3248:22): [True: 0, False: 14]
  ------------------
 3249|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3250|      0|        return -1;
 3251|      0|    }
 3252|     14|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|     14|    {
  ------------------
 3253|     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 (3253:9): [True: 14, False: 0]
  ------------------
 3254|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3255|     14|    }
 3256|     14|    Py_END_CRITICAL_SECTION()
  ------------------
  |  |   55|     14|    }
  ------------------
 3257|     14|    return 0;
 3258|     14|}
PyList_AsTuple:
 3262|  20.3k|{
 3263|  20.3k|    if (v == NULL || !PyList_Check(v)) {
  ------------------
  |  |   25|  20.3k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  20.3k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3263:9): [True: 0, False: 20.3k]
  |  Branch (3263:22): [True: 0, False: 20.3k]
  ------------------
 3264|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3265|      0|        return NULL;
 3266|      0|    }
 3267|  20.3k|    PyObject *ret;
 3268|  20.3k|    PyListObject *self = (PyListObject *)v;
 3269|  20.3k|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  20.3k|    {
  ------------------
 3270|  20.3k|    ret = PyTuple_FromArray(self->ob_item, Py_SIZE(v));
  ------------------
  |  |  214|  20.3k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  20.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3271|  20.3k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  20.3k|    }
  ------------------
 3272|  20.3k|    return ret;
 3273|  20.3k|}
_PyList_AsTupleAndClear:
 3277|     38|{
 3278|     38|    assert(self != NULL);
 3279|     38|    PyObject *ret;
 3280|     38|    if (self->ob_item == NULL) {
  ------------------
  |  Branch (3280:9): [True: 0, False: 38]
  ------------------
 3281|      0|        return PyTuple_New(0);
 3282|      0|    }
 3283|     38|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|     38|    {
  ------------------
 3284|     38|    PyObject **items = self->ob_item;
 3285|     38|    Py_ssize_t size = Py_SIZE(self);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3286|     38|    Py_SET_SIZE(self, 0);
  ------------------
  |  |  216|     38|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|     38|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     38|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3287|     38|    ret = _PyTuple_FromArraySteal(items, size);
 3288|     38|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     38|    }
  ------------------
 3289|     38|    return ret;
 3290|     38|}
_PyList_FromStackRefStealOnSuccess:
 3294|  4.75M|{
 3295|  4.75M|    if (n == 0) {
  ------------------
  |  Branch (3295:9): [True: 2.58M, False: 2.16M]
  ------------------
 3296|  2.58M|        return PyList_New(0);
 3297|  2.58M|    }
 3298|       |
 3299|  2.16M|    PyListObject *list = (PyListObject *)PyList_New(n);
 3300|  2.16M|    if (list == NULL) {
  ------------------
  |  Branch (3300:9): [True: 0, False: 2.16M]
  ------------------
 3301|      0|        return NULL;
 3302|      0|    }
 3303|       |
 3304|  2.16M|    PyObject **dst = list->ob_item;
 3305|  4.35M|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (3305:28): [True: 2.18M, False: 2.16M]
  ------------------
 3306|  2.18M|        dst[i] = PyStackRef_AsPyObjectSteal(src[i]);
 3307|  2.18M|    }
 3308|       |
 3309|  2.16M|    return (PyObject *)list;
 3310|  2.16M|}
_PyList_SliceSubscript:
 3684|  12.6k|{
 3685|  12.6k|    return list_slice_subscript(_self, item);
 3686|  12.6k|}
listobject.c:valid_index:
  322|  8.32M|{
  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|  8.32M|    return (size_t) i < (size_t) limit;
  331|  8.32M|}
listobject.c:list_get_item_ref:
  382|   131k|{
  383|   131k|    if (!valid_index(i, Py_SIZE(op))) {
  ------------------
  |  |  214|   131k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   131k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   131k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (383:9): [True: 33.8k, False: 97.3k]
  ------------------
  384|  33.8k|        return NULL;
  385|  33.8k|    }
  386|  97.3k|    return Py_NewRef(PyList_GET_ITEM(op, i));
  ------------------
  |  |  550|  97.3k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  97.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  97.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  387|   131k|}
listobject.c:ins1:
  483|     34|{
  484|     34|    Py_ssize_t i, n = Py_SIZE(self);
  ------------------
  |  |  214|     34|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     34|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  485|     34|    PyObject **items;
  486|     34|    if (v == NULL) {
  ------------------
  |  Branch (486:9): [True: 0, False: 34]
  ------------------
  487|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  488|      0|        return -1;
  489|      0|    }
  490|       |
  491|     34|    assert((size_t)n + 1 < PY_SSIZE_T_MAX);
  492|     34|    if (list_resize(self, n+1) < 0)
  ------------------
  |  Branch (492:9): [True: 0, False: 34]
  ------------------
  493|      0|        return -1;
  494|       |
  495|     34|    if (where < 0) {
  ------------------
  |  Branch (495:9): [True: 0, False: 34]
  ------------------
  496|      0|        where += n;
  497|      0|        if (where < 0)
  ------------------
  |  Branch (497:13): [True: 0, False: 0]
  ------------------
  498|      0|            where = 0;
  499|      0|    }
  500|     34|    if (where > n)
  ------------------
  |  Branch (500:9): [True: 0, False: 34]
  ------------------
  501|      0|        where = n;
  502|     34|    items = self->ob_item;
  503|    118|    for (i = n; --i >= where; )
  ------------------
  |  Branch (503:17): [True: 84, False: 34]
  ------------------
  504|     84|        FT_ATOMIC_STORE_PTR_RELEASE(items[i+1], items[i]);
  ------------------
  |  |  163|    118|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  505|     34|    FT_ATOMIC_STORE_PTR_RELEASE(items[where], Py_NewRef(v));
  ------------------
  |  |  163|     34|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  506|     34|    return 0;
  507|     34|}
listobject.c:list_resize:
  105|  9.36M|{
  106|  9.36M|    size_t new_allocated, target_bytes;
  107|  9.36M|    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|  9.36M|    if (allocated >= newsize && newsize >= (allocated >> 1)) {
  ------------------
  |  Branch (113:9): [True: 2.40M, False: 6.95M]
  |  Branch (113:33): [True: 2.28M, False: 124k]
  ------------------
  114|  2.28M|        assert(self->ob_item != NULL || newsize == 0);
  115|  2.28M|        Py_SET_SIZE(self, newsize);
  ------------------
  |  |  216|  2.28M|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  2.28M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.28M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  116|  2.28M|        return 0;
  117|  2.28M|    }
  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|  7.08M|    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|  7.08M|    if (newsize - Py_SIZE(self) > (Py_ssize_t)(new_allocated - newsize))
  ------------------
  |  |  214|  7.08M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  7.08M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.08M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (133:9): [True: 38.8k, False: 7.04M]
  ------------------
  134|  38.8k|        new_allocated = ((size_t)newsize + 3) & ~(size_t)3;
  135|       |
  136|  7.08M|    if (newsize == 0)
  ------------------
  |  Branch (136:9): [True: 70, False: 7.08M]
  ------------------
  137|     70|        new_allocated = 0;
  138|       |
  139|  7.08M|    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|  7.08M|    PyObject **items;
  173|  7.08M|    if (new_allocated <= (size_t)PY_SSIZE_T_MAX / sizeof(PyObject *)) {
  ------------------
  |  |  137|  7.08M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (173:9): [True: 7.08M, False: 0]
  ------------------
  174|  7.08M|        target_bytes = new_allocated * sizeof(PyObject *);
  175|  7.08M|        items = (PyObject **)PyMem_Realloc(self->ob_item, target_bytes);
  176|  7.08M|    }
  177|      0|    else {
  178|       |        // integer overflow
  179|      0|        items = NULL;
  180|      0|    }
  181|  7.08M|    if (items == NULL) {
  ------------------
  |  Branch (181:9): [True: 0, False: 7.08M]
  ------------------
  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|  7.08M|    self->ob_item = items;
  191|  7.08M|    Py_SET_SIZE(self, newsize);
  ------------------
  |  |  216|  7.08M|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  7.08M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.08M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  192|  7.08M|    self->allocated = new_allocated;
  193|  7.08M|#endif
  194|  7.08M|    return 0;
  195|  7.08M|}
listobject.c:ensure_shared_on_resize:
   77|  7.08M|{
   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|  7.08M|}
listobject.c:list_slice_lock_held:
  697|  20.4k|{
  698|  20.4k|    PyListObject *np;
  699|  20.4k|    PyObject **src, **dest;
  700|  20.4k|    Py_ssize_t i, len;
  701|  20.4k|    len = ihigh - ilow;
  702|  20.4k|    if (len <= 0) {
  ------------------
  |  Branch (702:9): [True: 6, False: 20.4k]
  ------------------
  703|      6|        return PyList_New(0);
  704|      6|    }
  705|  20.4k|    np = (PyListObject *) list_new_prealloc(len);
  706|  20.4k|    if (np == NULL)
  ------------------
  |  Branch (706:9): [True: 0, False: 20.4k]
  ------------------
  707|      0|        return NULL;
  708|       |
  709|  20.4k|    src = a->ob_item + ilow;
  710|  20.4k|    dest = np->ob_item;
  711|   100k|    for (i = 0; i < len; i++) {
  ------------------
  |  Branch (711:17): [True: 79.6k, False: 20.4k]
  ------------------
  712|  79.6k|        PyObject *v = src[i];
  713|  79.6k|        dest[i] = Py_NewRef(v);
  ------------------
  |  |  550|  79.6k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  79.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  79.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  714|  79.6k|    }
  715|  20.4k|    Py_SET_SIZE(np, len);
  ------------------
  |  |  216|  20.4k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  20.4k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  716|  20.4k|    return (PyObject *)np;
  717|  20.4k|}
listobject.c:list_new_prealloc:
  283|  24.3k|{
  284|  24.3k|    assert(size > 0);
  285|  24.3k|    PyListObject *op = (PyListObject *) PyList_New(0);
  286|  24.3k|    if (op == NULL) {
  ------------------
  |  Branch (286:9): [True: 0, False: 24.3k]
  ------------------
  287|      0|        return NULL;
  288|      0|    }
  289|  24.3k|    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|  24.3k|    op->ob_item = PyMem_New(PyObject *, size);
  ------------------
  |  |   64|  24.3k|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|  24.3k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [True: 0, False: 24.3k]
  |  |  ------------------
  |  |   65|  24.3k|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
  299|  24.3k|    if (op->ob_item == NULL) {
  ------------------
  |  Branch (299:9): [True: 0, False: 24.3k]
  ------------------
  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|  24.3k|#endif
  304|  24.3k|    op->allocated = size;
  305|  24.3k|    return (PyObject *) op;
  306|  24.3k|}
listobject.c:list_concat_lock_held:
  771|  3.75k|{
  772|  3.75k|    Py_ssize_t size;
  773|  3.75k|    Py_ssize_t i;
  774|  3.75k|    PyObject **src, **dest;
  775|  3.75k|    PyListObject *np;
  776|  3.75k|    assert((size_t)Py_SIZE(a) + (size_t)Py_SIZE(b) < PY_SSIZE_T_MAX);
  777|  3.75k|    size = Py_SIZE(a) + Py_SIZE(b);
  ------------------
  |  |  214|  3.75k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.75k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.75k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  size = Py_SIZE(a) + Py_SIZE(b);
  ------------------
  |  |  214|  3.75k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.75k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.75k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  778|  3.75k|    if (size == 0) {
  ------------------
  |  Branch (778:9): [True: 4, False: 3.75k]
  ------------------
  779|      4|        return PyList_New(0);
  780|      4|    }
  781|  3.75k|    np = (PyListObject *) list_new_prealloc(size);
  782|  3.75k|    if (np == NULL) {
  ------------------
  |  Branch (782:9): [True: 0, False: 3.75k]
  ------------------
  783|      0|        return NULL;
  784|      0|    }
  785|  3.75k|    src = a->ob_item;
  786|  3.75k|    dest = np->ob_item;
  787|  8.40k|    for (i = 0; i < Py_SIZE(a); i++) {
  ------------------
  |  |  214|  8.40k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.40k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (787:17): [True: 4.64k, False: 3.75k]
  ------------------
  788|  4.64k|        PyObject *v = src[i];
  789|  4.64k|        dest[i] = Py_NewRef(v);
  ------------------
  |  |  550|  4.64k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  4.64k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.64k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  790|  4.64k|    }
  791|  3.75k|    src = b->ob_item;
  792|  3.75k|    dest = np->ob_item + Py_SIZE(a);
  ------------------
  |  |  214|  3.75k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.75k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.75k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  793|  16.0k|    for (i = 0; i < Py_SIZE(b); i++) {
  ------------------
  |  |  214|  16.0k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  16.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (793:17): [True: 12.2k, False: 3.75k]
  ------------------
  794|  12.2k|        PyObject *v = src[i];
  795|  12.2k|        dest[i] = Py_NewRef(v);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  796|  12.2k|    }
  797|  3.75k|    Py_SET_SIZE(np, size);
  ------------------
  |  |  216|  3.75k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  3.75k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.75k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  798|  3.75k|    return (PyObject *)np;
  799|  3.75k|}
listobject.c:list_ass_slice:
 1042|  33.3k|{
 1043|  33.3k|    int ret;
 1044|  33.3k|    if (a == (PyListObject *)v) {
  ------------------
  |  Branch (1044:9): [True: 0, False: 33.3k]
  ------------------
 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|  33.3k|    else if (v != NULL && PyList_CheckExact(v)) {
  ------------------
  |  |   26|    130|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|    130|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    130|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    130|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 44, False: 86]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1057:14): [True: 130, False: 33.1k]
  ------------------
 1058|     44|        Py_BEGIN_CRITICAL_SECTION2(a, v);
  ------------------
  |  |   57|     44|    {
  ------------------
 1059|     44|        ret = list_ass_slice_lock_held(a, ilow, ihigh, v);
 1060|     44|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|     44|    }
  ------------------
 1061|     44|    }
 1062|  33.2k|    else {
 1063|  33.2k|        Py_BEGIN_CRITICAL_SECTION(a);
  ------------------
  |  |   51|  33.2k|    {
  ------------------
 1064|  33.2k|        ret = list_ass_slice_lock_held(a, ilow, ihigh, v);
 1065|  33.2k|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  33.2k|    }
  ------------------
 1066|  33.2k|    }
 1067|  33.3k|    return ret;
 1068|  33.3k|}
listobject.c:list_ass_slice_lock_held:
  951|  41.8k|{
  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|  41.8k|    PyObject *recycle_on_stack[8];
  959|  41.8k|    PyObject **recycle = recycle_on_stack; /* will allocate more if needed */
  960|  41.8k|    PyObject **item;
  961|  41.8k|    PyObject **vitem = NULL;
  962|  41.8k|    PyObject *v_as_SF = NULL; /* PySequence_Fast(v) */
  963|  41.8k|    Py_ssize_t n; /* # of elements in replacement list */
  964|  41.8k|    Py_ssize_t norig; /* # of elements in list getting replaced */
  965|  41.8k|    Py_ssize_t d; /* Change in size */
  966|  41.8k|    Py_ssize_t k;
  967|  41.8k|    size_t s;
  968|  41.8k|    int result = -1;            /* guilty until proved innocent */
  969|  41.8k|#define b ((PyListObject *)v)
  970|  41.8k|    if (v == NULL)
  ------------------
  |  Branch (970:9): [True: 41.6k, False: 150]
  ------------------
  971|  41.6k|        n = 0;
  972|    150|    else {
  973|    150|        v_as_SF = PySequence_Fast(v, "can only assign an iterable");
  974|    150|        if(v_as_SF == NULL)
  ------------------
  |  Branch (974:12): [True: 0, False: 150]
  ------------------
  975|      0|            goto Error;
  976|    150|        n = PySequence_Fast_GET_SIZE(v_as_SF);
  ------------------
  |  |   92|    150|    (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   25|    150|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    150|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 64, False: 86]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   38|     64|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     64|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     64|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   27|     86|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     86|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     86|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  977|    150|        vitem = PySequence_Fast_ITEMS(v_as_SF);
  ------------------
  |  |  102|    150|    (PyList_Check(sf) ? ((PyListObject *)(sf))->ob_item \
  |  |  ------------------
  |  |  |  |   25|    150|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    150|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 64, False: 86]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  103|    150|                      : ((PyTupleObject *)(sf))->ob_item)
  ------------------
  978|    150|    }
  979|  41.8k|    if (ilow < 0)
  ------------------
  |  Branch (979:9): [True: 0, False: 41.8k]
  ------------------
  980|      0|        ilow = 0;
  981|  41.8k|    else if (ilow > Py_SIZE(a))
  ------------------
  |  |  214|  41.8k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  41.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (981:14): [True: 0, False: 41.8k]
  ------------------
  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|  41.8k|    if (ihigh < ilow)
  ------------------
  |  Branch (984:9): [True: 0, False: 41.8k]
  ------------------
  985|      0|        ihigh = ilow;
  986|  41.8k|    else if (ihigh > Py_SIZE(a))
  ------------------
  |  |  214|  41.8k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  41.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (986:14): [True: 0, False: 41.8k]
  ------------------
  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|  41.8k|    norig = ihigh - ilow;
  990|  41.8k|    assert(norig >= 0);
  991|  41.8k|    d = n - norig;
  992|  41.8k|    if (Py_SIZE(a) + d == 0) {
  ------------------
  |  |  214|  41.8k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  41.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (992:9): [True: 35.9k, False: 5.90k]
  ------------------
  993|  35.9k|        Py_XDECREF(v_as_SF);
  ------------------
  |  |  524|  35.9k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  35.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  35.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  994|  35.9k|        list_clear(a);
  995|  35.9k|        return 0;
  996|  35.9k|    }
  997|  5.90k|    item = a->ob_item;
  998|       |    /* recycle the items that we are about to remove */
  999|  5.90k|    s = norig * sizeof(PyObject *);
 1000|       |    /* If norig == 0, item might be NULL, in which case we may not memcpy from it. */
 1001|  5.90k|    if (s) {
  ------------------
  |  Branch (1001:9): [True: 5.81k, False: 92]
  ------------------
 1002|  5.81k|        if (s > sizeof(recycle_on_stack)) {
  ------------------
  |  Branch (1002:13): [True: 24, False: 5.79k]
  ------------------
 1003|     24|            recycle = (PyObject **)PyMem_Malloc(s);
 1004|     24|            if (recycle == NULL) {
  ------------------
  |  Branch (1004:17): [True: 0, False: 24]
  ------------------
 1005|      0|                PyErr_NoMemory();
 1006|      0|                goto Error;
 1007|      0|            }
 1008|     24|        }
 1009|  5.81k|        memcpy(recycle, &item[ilow], s);
 1010|  5.81k|    }
 1011|       |
 1012|  5.90k|    if (d < 0) { /* Delete -d items */
  ------------------
  |  Branch (1012:9): [True: 5.80k, False: 106]
  ------------------
 1013|  5.80k|        Py_ssize_t tail = Py_SIZE(a) - ihigh;
  ------------------
  |  |  214|  5.80k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.80k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.80k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1014|  5.80k|        ptr_wise_atomic_memmove(a, &item[ihigh+d], &item[ihigh], tail);
 1015|  5.80k|        (void)list_resize(a, Py_SIZE(a) + d); // NB: shrinking a list can't fail
  ------------------
  |  |  214|  5.80k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.80k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.80k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1016|  5.80k|        item = a->ob_item;
 1017|  5.80k|    }
 1018|    106|    else if (d > 0) { /* Insert d items */
  ------------------
  |  Branch (1018:14): [True: 88, False: 18]
  ------------------
 1019|     88|        k = Py_SIZE(a);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1020|     88|        if (list_resize(a, k+d) < 0)
  ------------------
  |  Branch (1020:13): [True: 0, False: 88]
  ------------------
 1021|      0|            goto Error;
 1022|     88|        item = a->ob_item;
 1023|     88|        ptr_wise_atomic_memmove(a, &item[ihigh+d], &item[ihigh], k - ihigh);
 1024|     88|    }
 1025|  6.39k|    for (k = 0; k < n; k++, ilow++) {
  ------------------
  |  Branch (1025:17): [True: 490, False: 5.90k]
  ------------------
 1026|    490|        PyObject *w = vitem[k];
 1027|    490|        FT_ATOMIC_STORE_PTR_RELEASE(item[ilow], Py_XNewRef(w));
  ------------------
  |  |  163|    490|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1028|    490|    }
 1029|  13.0k|    for (k = norig - 1; k >= 0; --k)
  ------------------
  |  Branch (1029:25): [True: 7.09k, False: 5.90k]
  ------------------
 1030|  7.09k|        Py_XDECREF(recycle[k]);
  ------------------
  |  |  524|  13.0k|#  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1031|  5.90k|    result = 0;
 1032|  5.90k| Error:
 1033|  5.90k|    if (recycle != recycle_on_stack)
  ------------------
  |  Branch (1033:9): [True: 24, False: 5.88k]
  ------------------
 1034|     24|        PyMem_Free(recycle);
 1035|  5.90k|    Py_XDECREF(v_as_SF);
  ------------------
  |  |  524|  5.90k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.90k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.90k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1036|  5.90k|    return result;
 1037|  5.90k|#undef b
 1038|  5.90k|}
listobject.c:ptr_wise_atomic_memmove:
  919|  5.88k|{
  920|  5.88k|#ifndef Py_GIL_DISABLED
  921|  5.88k|    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|  5.88k|}
listobject.c:list_extend_impl:
 1525|  4.10M|{
 1526|  4.10M|    if (_list_extend(self, iterable) < 0) {
  ------------------
  |  Branch (1526:9): [True: 0, False: 4.10M]
  ------------------
 1527|      0|        return NULL;
 1528|      0|    }
 1529|  4.10M|    Py_RETURN_NONE;
  ------------------
  |  |  628|  4.10M|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  4.10M|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1530|  4.10M|}
listobject.c:_list_extend:
 1458|  4.11M|{
 1459|       |    // Special case:
 1460|       |    // lists and tuples which can use PySequence_Fast ops
 1461|  4.11M|    int res = -1;
 1462|  4.11M|    if ((PyObject *)self == iterable) {
  ------------------
  |  Branch (1462:9): [True: 0, False: 4.11M]
  ------------------
 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|  4.11M|    else if (PyList_CheckExact(iterable)) {
  ------------------
  |  |   26|  4.11M|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|  4.11M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.11M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.11M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 8.31k, False: 4.10M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1468|  8.31k|        Py_BEGIN_CRITICAL_SECTION2(self, iterable);
  ------------------
  |  |   57|  8.31k|    {
  ------------------
 1469|  8.31k|        res = list_extend_lock_held(self, iterable);
 1470|  8.31k|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|  8.31k|    }
  ------------------
 1471|  8.31k|    }
 1472|  4.10M|    else if (PyTuple_CheckExact(iterable)) {
  ------------------
  |  |   28|  4.10M|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  4.10M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.10M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.10M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 2.08M, False: 2.02M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1473|  2.08M|        Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  2.08M|    {
  ------------------
 1474|  2.08M|        res = list_extend_lock_held(self, iterable);
 1475|  2.08M|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  2.08M|    }
  ------------------
 1476|  2.08M|    }
 1477|  2.02M|    else if (PyAnySet_CheckExact(iterable)) {
  ------------------
  |  |   29|  2.02M|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  215|  4.04M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.02M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.02M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 171, False: 2.02M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  215|  2.02M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.02M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.02M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 2.02M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1478|    171|        Py_BEGIN_CRITICAL_SECTION2(self, iterable);
  ------------------
  |  |   57|    171|    {
  ------------------
 1479|    171|        res = list_extend_set(self, (PySetObject *)iterable);
 1480|    171|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|    171|    }
  ------------------
 1481|    171|    }
 1482|  2.02M|    else if (PyDict_CheckExact(iterable)) {
  ------------------
  |  |   19|  2.02M|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|  2.02M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.02M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.02M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 2.00M, False: 13.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1483|  2.00M|        Py_BEGIN_CRITICAL_SECTION2(self, iterable);
  ------------------
  |  |   57|  2.00M|    {
  ------------------
 1484|  2.00M|        res = list_extend_dict(self, (PyDictObject *)iterable, 0 /*keys*/);
 1485|  2.00M|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|  2.00M|    }
  ------------------
 1486|  2.00M|    }
 1487|  13.8k|    else if (Py_IS_TYPE(iterable, &PyDictKeys_Type)) {
  ------------------
  |  |  215|  13.8k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  13.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 470, False: 13.3k]
  |  |  ------------------
  ------------------
 1488|    470|        PyDictObject *dict = ((_PyDictViewObject *)iterable)->dv_dict;
 1489|    470|        Py_BEGIN_CRITICAL_SECTION2(self, dict);
  ------------------
  |  |   57|    470|    {
  ------------------
 1490|    470|        res = list_extend_dict(self, dict, 0 /*keys*/);
 1491|    470|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|    470|    }
  ------------------
 1492|    470|    }
 1493|  13.3k|    else if (Py_IS_TYPE(iterable, &PyDictValues_Type)) {
  ------------------
  |  |  215|  13.3k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  13.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 2, False: 13.3k]
  |  |  ------------------
  ------------------
 1494|      2|        PyDictObject *dict = ((_PyDictViewObject *)iterable)->dv_dict;
 1495|      2|        Py_BEGIN_CRITICAL_SECTION2(self, dict);
  ------------------
  |  |   57|      2|    {
  ------------------
 1496|      2|        res = list_extend_dict(self, dict, 1 /*values*/);
 1497|      2|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|      2|    }
  ------------------
 1498|      2|    }
 1499|  13.3k|    else if (Py_IS_TYPE(iterable, &PyDictItems_Type)) {
  ------------------
  |  |  215|  13.3k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  13.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 3, False: 13.3k]
  |  |  ------------------
  ------------------
 1500|      3|        PyDictObject *dict = ((_PyDictViewObject *)iterable)->dv_dict;
 1501|      3|        Py_BEGIN_CRITICAL_SECTION2(self, dict);
  ------------------
  |  |   57|      3|    {
  ------------------
 1502|      3|        res = list_extend_dictitems(self, dict);
 1503|      3|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|      3|    }
  ------------------
 1504|      3|    }
 1505|  13.3k|    else {
 1506|  13.3k|        Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  13.3k|    {
  ------------------
 1507|  13.3k|        res = list_extend_iter_lock_held(self, iterable);
 1508|  13.3k|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  13.3k|    }
  ------------------
 1509|  13.3k|    }
 1510|  4.11M|    return res;
 1511|  4.11M|}
listobject.c:list_extend_lock_held:
 1356|  2.08M|{
 1357|  2.08M|    PyObject *seq = PySequence_Fast(iterable, "argument must be iterable");
 1358|  2.08M|    if (!seq) {
  ------------------
  |  Branch (1358:9): [True: 0, False: 2.08M]
  ------------------
 1359|      0|        return -1;
 1360|      0|    }
 1361|       |
 1362|  2.08M|    int res = list_extend_fast(self, seq);
 1363|  2.08M|    Py_DECREF(seq);
  ------------------
  |  |  430|  2.08M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.08M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.08M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1364|  2.08M|    return res;
 1365|  2.08M|}
listobject.c:list_extend_fast:
 1243|  2.08M|{
 1244|  2.08M|    Py_ssize_t n = PySequence_Fast_GET_SIZE(iterable);
  ------------------
  |  |   92|  2.08M|    (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   25|  2.08M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  2.08M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 8.31k, False: 2.08M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   38|  8.31k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  8.31k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  8.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   27|  2.08M|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.08M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.08M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1245|  2.08M|    if (n == 0) {
  ------------------
  |  Branch (1245:9): [True: 33.6k, False: 2.05M]
  ------------------
 1246|       |        /* short circuit when iterable is empty */
 1247|  33.6k|        return 0;
 1248|  33.6k|    }
 1249|       |
 1250|  2.05M|    Py_ssize_t m = Py_SIZE(self);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1251|       |    // It should not be possible to allocate a list large enough to cause
 1252|       |    // an overflow on any relevant platform.
 1253|  2.05M|    assert(m < PY_SSIZE_T_MAX - n);
 1254|  2.05M|    if (self->ob_item == NULL) {
  ------------------
  |  Branch (1254:9): [True: 8.65k, False: 2.04M]
  ------------------
 1255|  8.65k|        if (list_preallocate_exact(self, n) < 0) {
  ------------------
  |  Branch (1255:13): [True: 0, False: 8.65k]
  ------------------
 1256|      0|            return -1;
 1257|      0|        }
 1258|  8.65k|        Py_SET_SIZE(self, n);
  ------------------
  |  |  216|  8.65k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  8.65k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.65k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1259|  8.65k|    }
 1260|  2.04M|    else if (list_resize(self, m + n) < 0) {
  ------------------
  |  Branch (1260:14): [True: 0, False: 2.04M]
  ------------------
 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|  2.05M|    PyObject **src = PySequence_Fast_ITEMS(iterable);
  ------------------
  |  |  102|  2.05M|    (PyList_Check(sf) ? ((PyListObject *)(sf))->ob_item \
  |  |  ------------------
  |  |  |  |   25|  2.05M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  2.05M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 7.97k, False: 2.04M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  103|  2.05M|                      : ((PyTupleObject *)(sf))->ob_item)
  ------------------
 1271|  2.05M|    PyObject **dest = self->ob_item + m;
 1272|  6.57M|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (1272:28): [True: 4.51M, False: 2.05M]
  ------------------
 1273|  4.51M|        PyObject *o = src[i];
 1274|  4.51M|        FT_ATOMIC_STORE_PTR_RELEASE(dest[i], Py_NewRef(o));
  ------------------
  |  |  163|  4.51M|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1275|  4.51M|    }
 1276|  2.05M|    return 0;
 1277|  2.05M|}
listobject.c:list_preallocate_exact:
  199|  21.8k|{
  200|  21.8k|    PyObject **items;
  201|  21.8k|    assert(self->ob_item == NULL);
  202|  21.8k|    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|  21.8k|    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|  21.8k|    items = PyMem_New(PyObject*, size);
  ------------------
  |  |   64|  21.8k|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|  21.8k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [True: 0, False: 21.8k]
  |  |  ------------------
  |  |   65|  21.8k|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
  220|  21.8k|    if (items == NULL) {
  ------------------
  |  Branch (220:9): [True: 0, False: 21.8k]
  ------------------
  221|      0|        PyErr_NoMemory();
  222|      0|        return -1;
  223|      0|    }
  224|  21.8k|#endif
  225|  21.8k|    FT_ATOMIC_STORE_PTR_RELEASE(self->ob_item, items);
  ------------------
  |  |  163|  21.8k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  226|  21.8k|    self->allocated = size;
  227|  21.8k|    return 0;
  228|  21.8k|}
listobject.c:list_extend_set:
 1369|    171|{
 1370|    171|    Py_ssize_t m = Py_SIZE(self);
  ------------------
  |  |  214|    171|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    171|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    171|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1371|    171|    Py_ssize_t n = PySet_GET_SIZE(other);
  ------------------
  |  |   71|    171|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|    171|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    171|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1372|    171|    Py_ssize_t r = m + n;
 1373|    171|    if (r == 0) {
  ------------------
  |  Branch (1373:9): [True: 77, False: 94]
  ------------------
 1374|     77|        return 0;
 1375|     77|    }
 1376|     94|    if (list_resize(self, r) < 0) {
  ------------------
  |  Branch (1376:9): [True: 0, False: 94]
  ------------------
 1377|      0|        return -1;
 1378|      0|    }
 1379|       |
 1380|     94|    assert(self->ob_item != NULL);
 1381|       |    /* populate the end of self with iterable's items */
 1382|     94|    Py_ssize_t setpos = 0;
 1383|     94|    Py_hash_t hash;
 1384|     94|    PyObject *key;
 1385|     94|    PyObject **dest = self->ob_item + m;
 1386|  1.74k|    while (_PySet_NextEntryRef((PyObject *)other, &setpos, &key, &hash)) {
  ------------------
  |  Branch (1386:12): [True: 1.65k, False: 94]
  ------------------
 1387|  1.65k|        FT_ATOMIC_STORE_PTR_RELEASE(*dest, key);
  ------------------
  |  |  163|  1.65k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1388|  1.65k|        dest++;
 1389|  1.65k|    }
 1390|     94|    Py_SET_SIZE(self, r);
  ------------------
  |  |  216|     94|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|     94|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     94|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1391|     94|    return 0;
 1392|     94|}
listobject.c:list_extend_dict:
 1396|  2.00M|{
 1397|       |    // which_item: 0 for keys and 1 for values
 1398|  2.00M|    Py_ssize_t m = Py_SIZE(self);
  ------------------
  |  |  214|  2.00M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.00M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.00M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1399|  2.00M|    Py_ssize_t n = PyDict_GET_SIZE(dict);
  ------------------
  |  |   63|  2.00M|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.00M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.00M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1400|  2.00M|    Py_ssize_t r = m + n;
 1401|  2.00M|    if (r == 0) {
  ------------------
  |  Branch (1401:9): [True: 0, False: 2.00M]
  ------------------
 1402|      0|        return 0;
 1403|      0|    }
 1404|  2.00M|    if (list_resize(self, r) < 0) {
  ------------------
  |  Branch (1404:9): [True: 0, False: 2.00M]
  ------------------
 1405|      0|        return -1;
 1406|      0|    }
 1407|       |
 1408|  2.00M|    assert(self->ob_item != NULL);
 1409|  2.00M|    PyObject **dest = self->ob_item + m;
 1410|  2.00M|    Py_ssize_t pos = 0;
 1411|  2.00M|    PyObject *keyvalue[2];
 1412|  4.05M|    while (_PyDict_Next((PyObject *)dict, &pos, &keyvalue[0], &keyvalue[1], NULL)) {
  ------------------
  |  Branch (1412:12): [True: 2.04M, False: 2.00M]
  ------------------
 1413|  2.04M|        PyObject *obj = keyvalue[which_item];
 1414|  2.04M|        Py_INCREF(obj);
  ------------------
  |  |  310|  2.04M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.04M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1415|  2.04M|        FT_ATOMIC_STORE_PTR_RELEASE(*dest, obj);
  ------------------
  |  |  163|  2.04M|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1416|  2.04M|        dest++;
 1417|  2.04M|    }
 1418|       |
 1419|  2.00M|    Py_SET_SIZE(self, r);
  ------------------
  |  |  216|  2.00M|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  2.00M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.00M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1420|  2.00M|    return 0;
 1421|  2.00M|}
listobject.c:list_extend_dictitems:
 1425|      3|{
 1426|      3|    Py_ssize_t m = Py_SIZE(self);
  ------------------
  |  |  214|      3|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1427|      3|    Py_ssize_t n = PyDict_GET_SIZE(dict);
  ------------------
  |  |   63|      3|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1428|      3|    Py_ssize_t r = m + n;
 1429|      3|    if (r == 0) {
  ------------------
  |  Branch (1429:9): [True: 0, False: 3]
  ------------------
 1430|      0|        return 0;
 1431|      0|    }
 1432|      3|    if (list_resize(self, r) < 0) {
  ------------------
  |  Branch (1432:9): [True: 0, False: 3]
  ------------------
 1433|      0|        return -1;
 1434|      0|    }
 1435|       |
 1436|      3|    assert(self->ob_item != NULL);
 1437|      3|    PyObject **dest = self->ob_item + m;
 1438|      3|    Py_ssize_t pos = 0;
 1439|      3|    Py_ssize_t i = 0;
 1440|      3|    PyObject *key, *value;
 1441|    121|    while (_PyDict_Next((PyObject *)dict, &pos, &key, &value, NULL)) {
  ------------------
  |  Branch (1441:12): [True: 118, False: 3]
  ------------------
 1442|    118|        PyObject *item = _PyTuple_FromPair(key, value);
 1443|    118|        if (item == NULL) {
  ------------------
  |  Branch (1443:13): [True: 0, False: 118]
  ------------------
 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|    118|        FT_ATOMIC_STORE_PTR_RELEASE(*dest, item);
  ------------------
  |  |  163|    118|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1448|    118|        dest++;
 1449|    118|        i++;
 1450|    118|    }
 1451|       |
 1452|      3|    Py_SET_SIZE(self, r);
  ------------------
  |  |  216|      3|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|      3|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1453|      3|    return 0;
 1454|      3|}
listobject.c:list_extend_iter_lock_held:
 1281|  13.3k|{
 1282|  13.3k|    PyObject *it = PyObject_GetIter(iterable);
 1283|  13.3k|    if (it == NULL) {
  ------------------
  |  Branch (1283:9): [True: 0, False: 13.3k]
  ------------------
 1284|      0|        return -1;
 1285|      0|    }
 1286|  13.3k|    PyObject *(*iternext)(PyObject *) = *Py_TYPE(it)->tp_iternext;
  ------------------
  |  |  213|  13.3k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  13.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1287|       |
 1288|       |    /* Guess a result list size. */
 1289|  13.3k|    Py_ssize_t n = PyObject_LengthHint(iterable, 8);
 1290|  13.3k|    if (n < 0) {
  ------------------
  |  Branch (1290:9): [True: 0, False: 13.3k]
  ------------------
 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|  13.3k|    Py_ssize_t m = Py_SIZE(self);
  ------------------
  |  |  214|  13.3k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  13.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1296|  13.3k|    if (m > PY_SSIZE_T_MAX - n) {
  ------------------
  |  |  137|  13.3k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1296:9): [True: 0, False: 13.3k]
  ------------------
 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|  13.3k|    else if (self->ob_item == NULL) {
  ------------------
  |  Branch (1302:14): [True: 13.2k, False: 130]
  ------------------
 1303|  13.2k|        if (n && list_preallocate_exact(self, n) < 0)
  ------------------
  |  Branch (1303:13): [True: 13.2k, False: 8]
  |  Branch (1303:18): [True: 0, False: 13.2k]
  ------------------
 1304|      0|            goto error;
 1305|  13.2k|    }
 1306|    130|    else {
 1307|       |        /* Make room. */
 1308|    130|        if (list_resize(self, m + n) < 0) {
  ------------------
  |  Branch (1308:13): [True: 0, False: 130]
  ------------------
 1309|      0|            goto error;
 1310|      0|        }
 1311|       |
 1312|       |        /* Make the list sane again. */
 1313|    130|        Py_SET_SIZE(self, m);
  ------------------
  |  |  216|    130|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|    130|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    130|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1314|    130|    }
 1315|       |
 1316|       |    /* Run iterator to exhaustion. */
 1317|  1.03M|    for (;;) {
 1318|  1.03M|        PyObject *item = iternext(it);
 1319|  1.03M|        if (item == NULL) {
  ------------------
  |  Branch (1319:13): [True: 13.3k, False: 1.02M]
  ------------------
 1320|  13.3k|            if (PyErr_Occurred()) {
  ------------------
  |  Branch (1320:17): [True: 0, False: 13.3k]
  ------------------
 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|  13.3k|            break;
 1327|  13.3k|        }
 1328|       |
 1329|  1.02M|        if (Py_SIZE(self) < self->allocated) {
  ------------------
  |  |  214|  1.02M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.02M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.02M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1329:13): [True: 1.01M, False: 8.33k]
  ------------------
 1330|  1.01M|            Py_ssize_t len = Py_SIZE(self);
  ------------------
  |  |  214|  1.01M|#  define Py_SIZE(ob) _Py_SIZE_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1331|  1.01M|            FT_ATOMIC_STORE_PTR_RELEASE(self->ob_item[len], item);  // steals item ref
  ------------------
  |  |  163|  1.01M|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1332|  1.01M|            Py_SET_SIZE(self, len + 1);
  ------------------
  |  |  216|  1.01M|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  1.01M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.01M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1333|  1.01M|        }
 1334|  8.33k|        else {
 1335|  8.33k|            if (_PyList_AppendTakeRef(self, item) < 0)
  ------------------
  |  Branch (1335:17): [True: 0, False: 8.33k]
  ------------------
 1336|      0|                goto error;
 1337|  8.33k|        }
 1338|  1.02M|    }
 1339|       |
 1340|       |    /* Cut back result list if initial guess was too large. */
 1341|  13.3k|    if (Py_SIZE(self) < self->allocated) {
  ------------------
  |  |  214|  13.3k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  13.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1341:9): [True: 12.9k, False: 390]
  ------------------
 1342|  12.9k|        if (list_resize(self, Py_SIZE(self)) < 0)
  ------------------
  |  |  214|  12.9k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  12.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1342:13): [True: 0, False: 12.9k]
  ------------------
 1343|      0|            goto error;
 1344|  12.9k|    }
 1345|       |
 1346|  13.3k|    Py_DECREF(it);
  ------------------
  |  |  430|  13.3k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  13.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1347|  13.3k|    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|  13.3k|}
listobject.c:list_clear:
  904|  57.7k|{
  905|       |    list_clear_impl(a, true);
  906|  57.7k|}
listobject.c:list_clear_impl:
  874|  57.7k|{
  875|  57.7k|    PyObject **items = a->ob_item;
  876|  57.7k|    if (items == NULL) {
  ------------------
  |  Branch (876:9): [True: 32, False: 57.7k]
  ------------------
  877|     32|        return;
  878|     32|    }
  879|       |
  880|       |    /* Because XDECREF can recursively invoke operations on
  881|       |       this list, we make it empty first. */
  882|  57.7k|    Py_ssize_t i = Py_SIZE(a);
  ------------------
  |  |  214|  57.7k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  57.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  57.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  883|  57.7k|    Py_SET_SIZE(a, 0);
  ------------------
  |  |  216|  57.7k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  57.7k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  57.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  884|  57.7k|    FT_ATOMIC_STORE_PTR_RELEASE(a->ob_item, NULL);
  ------------------
  |  |  163|  57.7k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  885|  57.7k|    a->allocated = 0;
  886|   115k|    while (--i >= 0) {
  ------------------
  |  Branch (886:12): [True: 58.0k, False: 57.7k]
  ------------------
  887|  58.0k|        Py_XDECREF(items[i]);
  ------------------
  |  |  524|  58.0k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  58.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  58.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  888|  58.0k|    }
  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|  57.7k|    bool use_qsbr = false;
  896|  57.7k|#endif
  897|  57.7k|    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|  57.7k|}
listobject.c:free_list_items:
   60|  6.72M|{
   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|  6.72M|    PyMem_Free(items);
   72|  6.72M|#endif
   73|  6.72M|}
listobject.c:list_sort_impl:
 2947|  2.01M|{
 2948|  2.01M|    MergeState ms;
 2949|  2.01M|    Py_ssize_t nremaining;
 2950|  2.01M|    Py_ssize_t minrun;
 2951|  2.01M|    sortslice lo;
 2952|  2.01M|    Py_ssize_t saved_ob_size, saved_allocated;
 2953|  2.01M|    PyObject **saved_ob_item;
 2954|  2.01M|    PyObject **final_ob_item;
 2955|  2.01M|    PyObject *result = NULL;            /* guilty until proved innocent */
 2956|  2.01M|    Py_ssize_t i;
 2957|  2.01M|    PyObject **keys;
 2958|       |
 2959|  2.01M|    assert(self != NULL);
 2960|  2.01M|    assert(PyList_Check(self));
 2961|  2.01M|    if (keyfunc == Py_None)
  ------------------
  |  |  616|  2.01M|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2961:9): [True: 2.00M, False: 5.59k]
  ------------------
 2962|  2.00M|        keyfunc = NULL;
 2963|       |
 2964|       |    /* The list is temporarily made empty, so that mutations performed
 2965|       |     * by comparison functions can't affect the slice of memory we're
 2966|       |     * sorting (allowing mutations during sorting is a core-dump
 2967|       |     * factory, since ob_item may change).
 2968|       |     */
 2969|  2.01M|    saved_ob_size = Py_SIZE(self);
  ------------------
  |  |  214|  2.01M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.01M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.01M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2970|  2.01M|    saved_ob_item = self->ob_item;
 2971|  2.01M|    saved_allocated = self->allocated;
 2972|  2.01M|    Py_SET_SIZE(self, 0);
  ------------------
  |  |  216|  2.01M|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  2.01M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.01M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2973|  2.01M|    FT_ATOMIC_STORE_PTR_RELEASE(self->ob_item, NULL);
  ------------------
  |  |  163|  2.01M|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 2974|  2.01M|    self->allocated = -1; /* any operation will reset it to >= 0 */
 2975|       |
 2976|  2.01M|    if (keyfunc == NULL) {
  ------------------
  |  Branch (2976:9): [True: 2.01M, False: 159]
  ------------------
 2977|  2.01M|        keys = NULL;
 2978|  2.01M|        lo.keys = saved_ob_item;
 2979|  2.01M|        lo.values = NULL;
 2980|  2.01M|    }
 2981|    159|    else {
 2982|    159|        if (saved_ob_size < MERGESTATE_TEMP_SIZE/2)
  ------------------
  |  | 1731|    159|#define MERGESTATE_TEMP_SIZE 256
  ------------------
  |  Branch (2982:13): [True: 157, False: 2]
  ------------------
 2983|       |            /* Leverage stack space we allocated but won't otherwise use */
 2984|    157|            keys = &ms.temparray[saved_ob_size+1];
 2985|      2|        else {
 2986|      2|            keys = PyMem_Malloc(sizeof(PyObject *) * saved_ob_size);
 2987|      2|            if (keys == NULL) {
  ------------------
  |  Branch (2987:17): [True: 0, False: 2]
  ------------------
 2988|      0|                PyErr_NoMemory();
 2989|      0|                goto keyfunc_fail;
 2990|      0|            }
 2991|      2|        }
 2992|       |
 2993|  4.76k|        for (i = 0; i < saved_ob_size ; i++) {
  ------------------
  |  Branch (2993:21): [True: 4.61k, False: 159]
  ------------------
 2994|  4.61k|            keys[i] = PyObject_CallOneArg(keyfunc, saved_ob_item[i]);
 2995|  4.61k|            if (keys[i] == NULL) {
  ------------------
  |  Branch (2995:17): [True: 0, False: 4.61k]
  ------------------
 2996|      0|                for (i=i-1 ; i>=0 ; i--)
  ------------------
  |  Branch (2996:30): [True: 0, False: 0]
  ------------------
 2997|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2998|      0|                if (saved_ob_size >= MERGESTATE_TEMP_SIZE/2)
  ------------------
  |  | 1731|      0|#define MERGESTATE_TEMP_SIZE 256
  ------------------
  |  Branch (2998:21): [True: 0, False: 0]
  ------------------
 2999|      0|                    PyMem_Free(keys);
 3000|      0|                goto keyfunc_fail;
 3001|      0|            }
 3002|  4.61k|        }
 3003|       |
 3004|    159|        lo.keys = keys;
 3005|    159|        lo.values = saved_ob_item;
 3006|    159|    }
 3007|       |
 3008|       |
 3009|       |    /* The pre-sort check: here's where we decide which compare function to use.
 3010|       |     * How much optimization is safe? We test for homogeneity with respect to
 3011|       |     * several properties that are expensive to check at compare-time, and
 3012|       |     * set ms appropriately. */
 3013|  2.01M|    if (saved_ob_size > 1) {
  ------------------
  |  Branch (3013:9): [True: 29.0k, False: 1.98M]
  ------------------
 3014|       |        /* Assume the first element is representative of the whole list. */
 3015|  29.0k|        int keys_are_in_tuples = (Py_IS_TYPE(lo.keys[0], &PyTuple_Type) &&
  ------------------
  |  |  215|  58.0k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  29.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  29.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 99, False: 28.9k]
  |  |  ------------------
  ------------------
 3016|     99|                                  Py_SIZE(lo.keys[0]) > 0);
  ------------------
  |  |  214|     99|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     99|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     99|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3016:35): [True: 99, False: 0]
  ------------------
 3017|       |
 3018|  29.0k|        PyTypeObject* key_type = (keys_are_in_tuples ?
  ------------------
  |  Branch (3018:35): [True: 99, False: 28.9k]
  ------------------
 3019|     99|                                  Py_TYPE(PyTuple_GET_ITEM(lo.keys[0], 0)) :
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3020|  29.0k|                                  Py_TYPE(lo.keys[0]));
  ------------------
  |  |  213|  28.9k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  28.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  28.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3021|       |
 3022|  29.0k|        int keys_are_all_same_type = 1;
 3023|  29.0k|        int strings_are_latin = 1;
 3024|  29.0k|        int ints_are_bounded = 1;
 3025|       |
 3026|       |        /* Prove that assumption by checking every key. */
 3027|  2.39M|        for (i=0; i < saved_ob_size; i++) {
  ------------------
  |  Branch (3027:19): [True: 2.36M, False: 29.0k]
  ------------------
 3028|       |
 3029|  2.36M|            if (keys_are_in_tuples &&
  ------------------
  |  Branch (3029:17): [True: 2.24M, False: 114k]
  ------------------
 3030|  2.24M|                !(Py_IS_TYPE(lo.keys[i], &PyTuple_Type) && Py_SIZE(lo.keys[i]) != 0)) {
  ------------------
  |  |  215|  4.49M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  2.24M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.24M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 2.24M, False: 0]
  |  |  ------------------
  ------------------
                              !(Py_IS_TYPE(lo.keys[i], &PyTuple_Type) && Py_SIZE(lo.keys[i]) != 0)) {
  ------------------
  |  |  214|  2.24M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.24M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.24M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3030:60): [True: 2.24M, False: 0]
  ------------------
 3031|      0|                keys_are_in_tuples = 0;
 3032|      0|                keys_are_all_same_type = 0;
 3033|      0|                break;
 3034|      0|            }
 3035|       |
 3036|       |            /* Note: for lists of tuples, key is the first element of the tuple
 3037|       |             * lo.keys[i], not lo.keys[i] itself! We verify type-homogeneity
 3038|       |             * for lists of tuples in the if-statement directly above. */
 3039|  2.36M|            PyObject *key = (keys_are_in_tuples ?
  ------------------
  |  Branch (3039:30): [True: 2.24M, False: 114k]
  ------------------
 3040|  2.24M|                             PyTuple_GET_ITEM(lo.keys[i], 0) :
  ------------------
  |  |   29|  2.24M|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  2.24M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.24M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3041|  2.36M|                             lo.keys[i]);
 3042|       |
 3043|  2.36M|            if (!Py_IS_TYPE(key, key_type)) {
  ------------------
  |  |  215|  2.36M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  2.36M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.36M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3043:17): [True: 2, False: 2.36M]
  ------------------
 3044|      2|                keys_are_all_same_type = 0;
 3045|       |                /* If keys are in tuple we must loop over the whole list to make
 3046|       |                   sure all items are tuples */
 3047|      2|                if (!keys_are_in_tuples) {
  ------------------
  |  Branch (3047:21): [True: 2, False: 0]
  ------------------
 3048|      2|                    break;
 3049|      2|                }
 3050|      2|            }
 3051|       |
 3052|  2.36M|            if (keys_are_all_same_type) {
  ------------------
  |  Branch (3052:17): [True: 2.36M, False: 0]
  ------------------
 3053|  2.36M|                if (key_type == &PyLong_Type &&
  ------------------
  |  Branch (3053:21): [True: 2.27M, False: 92.7k]
  ------------------
 3054|  2.27M|                    ints_are_bounded &&
  ------------------
  |  Branch (3054:21): [True: 2.26M, False: 1.07k]
  ------------------
 3055|  2.26M|                    !_PyLong_IsCompact((PyLongObject *)key)) {
  ------------------
  |  Branch (3055:21): [True: 12, False: 2.26M]
  ------------------
 3056|       |
 3057|     12|                    ints_are_bounded = 0;
 3058|     12|                }
 3059|  2.36M|                else if (key_type == &PyUnicode_Type &&
  ------------------
  |  Branch (3059:26): [True: 92.7k, False: 2.27M]
  ------------------
 3060|  92.7k|                         strings_are_latin &&
  ------------------
  |  Branch (3060:26): [True: 92.5k, False: 112]
  ------------------
 3061|  92.5k|                         PyUnicode_KIND(key) != PyUnicode_1BYTE_KIND) {
  ------------------
  |  |  258|  92.5k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  92.5k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (3061:26): [True: 2, False: 92.5k]
  ------------------
 3062|       |
 3063|      2|                        strings_are_latin = 0;
 3064|      2|                    }
 3065|  2.36M|                }
 3066|  2.36M|            }
 3067|       |
 3068|       |        /* Choose the best compare, given what we now know about the keys. */
 3069|  29.0k|        if (keys_are_all_same_type) {
  ------------------
  |  Branch (3069:13): [True: 29.0k, False: 2]
  ------------------
 3070|       |
 3071|  29.0k|            if (key_type == &PyUnicode_Type && strings_are_latin) {
  ------------------
  |  Branch (3071:17): [True: 28.8k, False: 184]
  |  Branch (3071:48): [True: 28.8k, False: 2]
  ------------------
 3072|  28.8k|                ms.key_compare = unsafe_latin_compare;
 3073|  28.8k|            }
 3074|    186|            else if (key_type == &PyLong_Type && ints_are_bounded) {
  ------------------
  |  Branch (3074:22): [True: 174, False: 12]
  |  Branch (3074:50): [True: 162, False: 12]
  ------------------
 3075|    162|                ms.key_compare = unsafe_long_compare;
 3076|    162|            }
 3077|     24|            else if (key_type == &PyFloat_Type) {
  ------------------
  |  Branch (3077:22): [True: 0, False: 24]
  ------------------
 3078|      0|                ms.key_compare = unsafe_float_compare;
 3079|      0|            }
 3080|     24|            else if ((ms.key_richcompare = key_type->tp_richcompare) != NULL) {
  ------------------
  |  Branch (3080:22): [True: 24, False: 0]
  ------------------
 3081|     24|                ms.key_compare = unsafe_object_compare;
 3082|     24|            }
 3083|      0|            else {
 3084|      0|                ms.key_compare = safe_object_compare;
 3085|      0|            }
 3086|  29.0k|        }
 3087|      2|        else {
 3088|      2|            ms.key_compare = safe_object_compare;
 3089|      2|        }
 3090|       |
 3091|  29.0k|        if (keys_are_in_tuples) {
  ------------------
  |  Branch (3091:13): [True: 99, False: 28.9k]
  ------------------
 3092|       |            /* Make sure we're not dealing with tuples of tuples
 3093|       |             * (remember: here, key_type refers list [key[0] for key in keys]) */
 3094|     99|            if (key_type == &PyTuple_Type) {
  ------------------
  |  Branch (3094:17): [True: 0, False: 99]
  ------------------
 3095|      0|                ms.tuple_elem_compare = safe_object_compare;
 3096|      0|            }
 3097|     99|            else {
 3098|     99|                ms.tuple_elem_compare = ms.key_compare;
 3099|     99|            }
 3100|       |
 3101|     99|            ms.key_compare = unsafe_tuple_compare;
 3102|     99|        }
 3103|  29.0k|    }
 3104|       |    /* End of pre-sort check: ms is now set properly! */
 3105|       |
 3106|  2.01M|    merge_init(&ms, saved_ob_size, keys != NULL, &lo);
 3107|       |
 3108|  2.01M|    nremaining = saved_ob_size;
 3109|  2.01M|    if (nremaining < 2)
  ------------------
  |  Branch (3109:9): [True: 1.98M, False: 29.0k]
  ------------------
 3110|  1.98M|        goto succeed;
 3111|       |
 3112|       |    /* Reverse sort stability achieved by initially reversing the list,
 3113|       |    applying a stable forward sort, then reversing the final result. */
 3114|  29.0k|    if (reverse) {
  ------------------
  |  Branch (3114:9): [True: 60, False: 28.9k]
  ------------------
 3115|     60|        if (keys != NULL)
  ------------------
  |  Branch (3115:13): [True: 0, False: 60]
  ------------------
 3116|      0|            reverse_slice(&keys[0], &keys[saved_ob_size]);
 3117|     60|        reverse_slice(&saved_ob_item[0], &saved_ob_item[saved_ob_size]);
 3118|     60|    }
 3119|       |
 3120|       |    /* March over the array once, left to right, finding natural runs,
 3121|       |     * and extending short natural runs to minrun elements.
 3122|       |     */
 3123|  29.1k|    do {
 3124|  29.1k|        Py_ssize_t n;
 3125|       |
 3126|       |        /* Identify next run. */
 3127|  29.1k|        n = count_run(&ms, &lo, nremaining);
 3128|  29.1k|        if (n < 0)
  ------------------
  |  Branch (3128:13): [True: 0, False: 29.1k]
  ------------------
 3129|      0|            goto fail;
 3130|       |        /* If short, extend to min(minrun, nremaining). */
 3131|  29.1k|        minrun = minrun_next(&ms);
 3132|  29.1k|        if (n < minrun) {
  ------------------
  |  Branch (3132:13): [True: 16.3k, False: 12.7k]
  ------------------
 3133|  16.3k|            const Py_ssize_t force = nremaining <= minrun ?
  ------------------
  |  Branch (3133:38): [True: 16.2k, False: 70]
  ------------------
 3134|  16.2k|                              nremaining : minrun;
 3135|  16.3k|            if (binarysort(&ms, &lo, force, n) < 0)
  ------------------
  |  Branch (3135:17): [True: 0, False: 16.3k]
  ------------------
 3136|      0|                goto fail;
 3137|  16.3k|            n = force;
 3138|  16.3k|        }
 3139|       |        /* Maybe merge pending runs. */
 3140|  29.1k|        assert(ms.n == 0 || ms.pending[ms.n -1].base.keys +
 3141|  29.1k|                            ms.pending[ms.n-1].len == lo.keys);
 3142|  29.1k|        if (found_new_run(&ms, n) < 0)
  ------------------
  |  Branch (3142:13): [True: 0, False: 29.1k]
  ------------------
 3143|      0|            goto fail;
 3144|       |        /* Push new run on stack. */
 3145|  29.1k|        assert(ms.n < MAX_MERGE_PENDING);
 3146|  29.1k|        ms.pending[ms.n].base = lo;
 3147|  29.1k|        ms.pending[ms.n].len = n;
 3148|  29.1k|        ++ms.n;
 3149|       |        /* Advance to find next run. */
 3150|  29.1k|        sortslice_advance(&lo, n);
 3151|  29.1k|        nremaining -= n;
 3152|  29.1k|    } while (nremaining);
  ------------------
  |  Branch (3152:14): [True: 101, False: 29.0k]
  ------------------
 3153|       |
 3154|  29.0k|    if (merge_force_collapse(&ms) < 0)
  ------------------
  |  Branch (3154:9): [True: 0, False: 29.0k]
  ------------------
 3155|      0|        goto fail;
 3156|  29.0k|    assert(ms.n == 1);
 3157|  29.0k|    assert(keys == NULL
 3158|  29.0k|           ? ms.pending[0].base.keys == saved_ob_item
 3159|  29.0k|           : ms.pending[0].base.keys == &keys[0]);
 3160|  29.0k|    assert(ms.pending[0].len == saved_ob_size);
 3161|  29.0k|    lo = ms.pending[0].base;
 3162|       |
 3163|  2.01M|succeed:
 3164|  2.01M|    result = Py_None;
  ------------------
  |  |  616|  2.01M|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3165|  2.01M|fail:
 3166|  2.01M|    if (keys != NULL) {
  ------------------
  |  Branch (3166:9): [True: 159, False: 2.01M]
  ------------------
 3167|  4.76k|        for (i = 0; i < saved_ob_size; i++)
  ------------------
  |  Branch (3167:21): [True: 4.61k, False: 159]
  ------------------
 3168|  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3169|    159|        if (saved_ob_size >= MERGESTATE_TEMP_SIZE/2)
  ------------------
  |  | 1731|    159|#define MERGESTATE_TEMP_SIZE 256
  ------------------
  |  Branch (3169:13): [True: 2, False: 157]
  ------------------
 3170|      2|            PyMem_Free(keys);
 3171|    159|    }
 3172|       |
 3173|  2.01M|    if (self->allocated != -1 && result != NULL) {
  ------------------
  |  Branch (3173:9): [True: 0, False: 2.01M]
  |  Branch (3173:34): [True: 0, False: 0]
  ------------------
 3174|       |        /* The user mucked with the list during the sort,
 3175|       |         * and we don't already have another error to report.
 3176|       |         */
 3177|      0|        PyErr_SetString(PyExc_ValueError, "list modified during sort");
 3178|      0|        result = NULL;
 3179|      0|    }
 3180|       |
 3181|  2.01M|    if (reverse && saved_ob_size > 1)
  ------------------
  |  Branch (3181:9): [True: 60, False: 2.01M]
  |  Branch (3181:20): [True: 60, False: 0]
  ------------------
 3182|     60|        reverse_slice(saved_ob_item, saved_ob_item + saved_ob_size);
 3183|       |
 3184|  2.01M|    merge_freemem(&ms);
 3185|       |
 3186|  2.01M|keyfunc_fail:
 3187|  2.01M|    final_ob_item = self->ob_item;
 3188|  2.01M|    i = Py_SIZE(self);
  ------------------
  |  |  214|  2.01M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.01M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.01M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3189|  2.01M|    Py_SET_SIZE(self, saved_ob_size);
  ------------------
  |  |  216|  2.01M|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  2.01M|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.01M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3190|  2.01M|    FT_ATOMIC_STORE_PTR_RELEASE(self->ob_item, saved_ob_item);
  ------------------
  |  |  163|  2.01M|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 3191|  2.01M|    FT_ATOMIC_STORE_SSIZE_RELAXED(self->allocated, saved_allocated);
  ------------------
  |  |  193|  2.01M|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
 3192|  2.01M|    if (final_ob_item != NULL) {
  ------------------
  |  Branch (3192:9): [True: 0, False: 2.01M]
  ------------------
 3193|       |        /* we cannot use list_clear() for this because it does not
 3194|       |           guarantee that the list is really empty when it returns */
 3195|      0|        while (--i >= 0) {
  ------------------
  |  Branch (3195:16): [True: 0, False: 0]
  ------------------
 3196|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3197|      0|        }
 3198|       |#ifdef Py_GIL_DISABLED
 3199|       |        ensure_shared_on_resize(self);
 3200|       |        bool use_qsbr = _PyObject_GC_IS_SHARED(self);
 3201|       |#else
 3202|      0|        bool use_qsbr = false;
 3203|      0|#endif
 3204|      0|        free_list_items(final_ob_item, use_qsbr);
 3205|      0|    }
 3206|  2.01M|    return Py_XNewRef(result);
  ------------------
  |  |  551|  2.01M|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.01M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.01M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3207|  2.01M|}
listobject.c:unsafe_latin_compare:
 2816|   158k|{
 2817|   158k|    Py_ssize_t len;
 2818|   158k|    int res;
 2819|       |
 2820|       |    /* Modified from Objects/unicodeobject.c:unicode_compare, assuming: */
 2821|   158k|    assert(Py_IS_TYPE(v, &PyUnicode_Type));
 2822|   158k|    assert(Py_IS_TYPE(w, &PyUnicode_Type));
 2823|   158k|    assert(PyUnicode_KIND(v) == PyUnicode_KIND(w));
 2824|   158k|    assert(PyUnicode_KIND(v) == PyUnicode_1BYTE_KIND);
 2825|       |
 2826|   158k|    len = Py_MIN(PyUnicode_GET_LENGTH(v), PyUnicode_GET_LENGTH(w));
  ------------------
  |  |  112|   158k|#define Py_MIN(x, y) (((x) > (y)) ? (y) : (x))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 54.8k, False: 103k]
  |  |  ------------------
  ------------------
 2827|   158k|    res = memcmp(PyUnicode_DATA(v), PyUnicode_DATA(w), len);
  ------------------
  |  |  284|   158k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   158k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   158k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  res = memcmp(PyUnicode_DATA(v), PyUnicode_DATA(w), len);
  ------------------
  |  |  284|   158k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   158k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   158k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2828|       |
 2829|   158k|    res = (res != 0 ?
  ------------------
  |  Branch (2829:12): [True: 156k, False: 1.63k]
  ------------------
 2830|   156k|           res < 0 :
 2831|   158k|           PyUnicode_GET_LENGTH(v) < PyUnicode_GET_LENGTH(w));
  ------------------
  |  |  299|  1.63k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.63k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                         PyUnicode_GET_LENGTH(v) < PyUnicode_GET_LENGTH(w));
  ------------------
  |  |  299|  1.63k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.63k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2832|       |
 2833|       |    assert(res == PyObject_RichCompareBool(v, w, Py_LT));;
 2834|   158k|    return res;
 2835|   158k|}
listobject.c:unsafe_long_compare:
 2840|  3.39M|{
 2841|  3.39M|    PyLongObject *vl, *wl;
 2842|  3.39M|    intptr_t v0, w0;
 2843|  3.39M|    int res;
 2844|       |
 2845|       |    /* Modified from Objects/longobject.c:long_compare, assuming: */
 2846|  3.39M|    assert(Py_IS_TYPE(v, &PyLong_Type));
 2847|  3.39M|    assert(Py_IS_TYPE(w, &PyLong_Type));
 2848|  3.39M|    assert(_PyLong_IsCompact((PyLongObject *)v));
 2849|  3.39M|    assert(_PyLong_IsCompact((PyLongObject *)w));
 2850|       |
 2851|  3.39M|    vl = (PyLongObject*)v;
 2852|  3.39M|    wl = (PyLongObject*)w;
 2853|       |
 2854|  3.39M|    v0 = _PyLong_CompactValue(vl);
 2855|  3.39M|    w0 = _PyLong_CompactValue(wl);
 2856|       |
 2857|  3.39M|    res = v0 < w0;
 2858|       |    assert(res == PyObject_RichCompareBool(v, w, Py_LT));
 2859|  3.39M|    return res;
 2860|  3.39M|}
listobject.c:unsafe_object_compare:
 2779|  8.47k|{
 2780|  8.47k|    PyObject *res_obj; int res;
 2781|       |
 2782|       |    /* No assumptions, because we check first: */
 2783|  8.47k|    if (Py_TYPE(v)->tp_richcompare != ms->key_richcompare)
  ------------------
  |  |  213|  8.47k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.47k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.47k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2783:9): [True: 0, False: 8.47k]
  ------------------
 2784|      0|        return PyObject_RichCompareBool(v, w, Py_LT);
  ------------------
  |  |  652|      0|#define Py_LT 0
  ------------------
 2785|       |
 2786|  8.47k|    assert(ms->key_richcompare != NULL);
 2787|  8.47k|    res_obj = (*(ms->key_richcompare))(v, w, Py_LT);
  ------------------
  |  |  652|  8.47k|#define Py_LT 0
  ------------------
 2788|       |
 2789|  8.47k|    if (res_obj == Py_NotImplemented) {
  ------------------
  |  |  640|  8.47k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (2789:9): [True: 0, False: 8.47k]
  ------------------
 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.47k|    if (res_obj == NULL)
  ------------------
  |  Branch (2793:9): [True: 0, False: 8.47k]
  ------------------
 2794|      0|        return -1;
 2795|       |
 2796|  8.47k|    if (PyBool_Check(res_obj)) {
  ------------------
  |  |   12|  8.47k|#define PyBool_Check(x) Py_IS_TYPE((x), &PyBool_Type)
  |  |  ------------------
  |  |  |  |  215|  8.47k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  8.47k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  8.47k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 8.47k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2797|  8.47k|        res = (res_obj == Py_True);
  ------------------
  |  |   26|  8.47k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|  8.47k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.47k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2798|  8.47k|        assert(_Py_IsImmortal(res_obj));
 2799|  8.47k|    }
 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.47k|    return res;
 2811|  8.47k|}
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|  4.49M|{
 2886|  4.49M|    PyTupleObject *vt, *wt;
 2887|  4.49M|    Py_ssize_t i, vlen, wlen;
 2888|  4.49M|    int k;
 2889|       |
 2890|       |    /* Modified from Objects/tupleobject.c:tuplerichcompare, assuming: */
 2891|  4.49M|    assert(Py_IS_TYPE(v, &PyTuple_Type));
 2892|  4.49M|    assert(Py_IS_TYPE(w, &PyTuple_Type));
 2893|  4.49M|    assert(Py_SIZE(v) > 0);
 2894|  4.49M|    assert(Py_SIZE(w) > 0);
 2895|       |
 2896|  4.49M|    vt = (PyTupleObject *)v;
 2897|  4.49M|    wt = (PyTupleObject *)w;
 2898|       |
 2899|  4.49M|    vlen = Py_SIZE(vt);
  ------------------
  |  |  214|  4.49M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.49M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.49M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2900|  4.49M|    wlen = Py_SIZE(wt);
  ------------------
  |  |  214|  4.49M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.49M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.49M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2901|       |
 2902|  6.71M|    for (i = 0; i < vlen && i < wlen; i++) {
  ------------------
  |  Branch (2902:17): [True: 5.60M, False: 1.11M]
  |  Branch (2902:29): [True: 5.60M, False: 0]
  ------------------
 2903|  5.60M|        k = PyObject_RichCompareBool(vt->ob_item[i], wt->ob_item[i], Py_EQ);
  ------------------
  |  |  654|  5.60M|#define Py_EQ 2
  ------------------
 2904|  5.60M|        if (k < 0)
  ------------------
  |  Branch (2904:13): [True: 0, False: 5.60M]
  ------------------
 2905|      0|            return -1;
 2906|  5.60M|        if (!k)
  ------------------
  |  Branch (2906:13): [True: 3.38M, False: 2.22M]
  ------------------
 2907|  3.38M|            break;
 2908|  5.60M|    }
 2909|       |
 2910|  4.49M|    if (i >= vlen || i >= wlen)
  ------------------
  |  Branch (2910:9): [True: 1.11M, False: 3.38M]
  |  Branch (2910:22): [True: 0, False: 3.38M]
  ------------------
 2911|  1.11M|        return vlen < wlen;
 2912|       |
 2913|  3.38M|    if (i == 0)
  ------------------
  |  Branch (2913:9): [True: 3.38M, False: 22]
  ------------------
 2914|  3.38M|        return ms->tuple_elem_compare(vt->ob_item[i], wt->ob_item[i], ms);
 2915|     22|    else
 2916|     22|        return PyObject_RichCompareBool(vt->ob_item[i], wt->ob_item[i], Py_LT);
  ------------------
  |  |  652|     22|#define Py_LT 0
  ------------------
 2917|  3.38M|}
listobject.c:merge_init:
 2234|  2.01M|{
 2235|  2.01M|    assert(ms != NULL);
 2236|  2.01M|    if (has_keyfunc) {
  ------------------
  |  Branch (2236:9): [True: 159, False: 2.01M]
  ------------------
 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|    159|        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|    159|        if (MERGESTATE_TEMP_SIZE / 2 < ms->alloced)
  ------------------
  |  | 1731|    159|#define MERGESTATE_TEMP_SIZE 256
  ------------------
  |  Branch (2247:13): [True: 2, False: 157]
  ------------------
 2248|      2|            ms->alloced = MERGESTATE_TEMP_SIZE / 2;
  ------------------
  |  | 1731|      2|#define MERGESTATE_TEMP_SIZE 256
  ------------------
 2249|    159|        ms->a.values = &ms->temparray[ms->alloced];
 2250|    159|    }
 2251|  2.01M|    else {
 2252|  2.01M|        ms->alloced = MERGESTATE_TEMP_SIZE;
  ------------------
  |  | 1731|  2.01M|#define MERGESTATE_TEMP_SIZE 256
  ------------------
 2253|  2.01M|        ms->a.values = NULL;
 2254|  2.01M|    }
 2255|  2.01M|    ms->a.keys = ms->temparray;
 2256|  2.01M|    ms->n = 0;
 2257|  2.01M|    ms->min_gallop = MIN_GALLOP;
  ------------------
  |  | 1728|  2.01M|#define MIN_GALLOP 7
  ------------------
 2258|  2.01M|    ms->listlen = list_size;
 2259|  2.01M|    ms->basekeys = lo->keys;
 2260|       |
 2261|       |    /* State for generating minrun values. See listsort.txt. */
 2262|  2.01M|    ms->mr_e = 0;
 2263|  2.01M|    while (list_size >> ms->mr_e >= MAX_MINRUN) {
  ------------------
  |  | 1734|  2.01M|#define MAX_MINRUN 64
  ------------------
  |  Branch (2263:12): [True: 269, False: 2.01M]
  ------------------
 2264|    269|        ++ms->mr_e;
 2265|    269|    }
 2266|  2.01M|    ms->mr_mask = (1 << ms->mr_e) - 1;
 2267|  2.01M|    ms->mr_current = 0;
 2268|  2.01M|}
listobject.c:count_run:
 1952|  29.1k|{
 1953|  29.1k|    Py_ssize_t k; /* used by IFLT macro expansion */
 1954|  29.1k|    Py_ssize_t n;
 1955|  29.1k|    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|  29.1k|#define REVERSE_LAST_NEQ                        \
 1964|  29.1k|    if (neq) {                                  \
 1965|  29.1k|        sortslice slice = *slo;                 \
 1966|  29.1k|        ++neq;                                  \
 1967|  29.1k|        sortslice_advance(&slice, n - neq);     \
 1968|  29.1k|        sortslice_reverse(&slice, neq);         \
 1969|  29.1k|        neq = 0;                                \
 1970|  29.1k|    }
 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|  29.1k|#define IF_NEXT_LARGER  IFLT(lo[n-1], lo[n])
 1978|  29.1k|#define IF_NEXT_SMALLER IFLT(lo[n], lo[n-1])
 1979|       |
 1980|  29.1k|    assert(nremaining);
 1981|       |    /* try ascending run first */
 1982|  64.0k|    for (n = 1; n < nremaining; ++n) {
  ------------------
  |  Branch (1982:17): [True: 63.5k, False: 517]
  ------------------
 1983|  63.5k|        IF_NEXT_SMALLER
  ------------------
  |  | 1978|  63.5k|#define IF_NEXT_SMALLER IFLT(lo[n], lo[n-1])
  |  |  ------------------
  |  |  |  | 1715|  63.5k|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1709|  63.5k|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1715:24): [True: 0, False: 63.5k]
  |  |  |  |  ------------------
  |  |  |  | 1716|  63.5k|           if (k)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1716:16): [True: 28.6k, False: 34.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1984|  28.6k|            break;
 1985|  63.5k|    }
 1986|  29.1k|    if (n == nremaining)
  ------------------
  |  Branch (1986:9): [True: 517, False: 28.6k]
  ------------------
 1987|    517|        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|  28.6k|    if (n > 1) {
  ------------------
  |  Branch (1998:9): [True: 14.8k, False: 13.7k]
  ------------------
 1999|  14.8k|        IFLT(lo[0], lo[n-1])
  ------------------
  |  | 1715|  14.8k|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1709|  14.8k|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1715:24): [True: 0, False: 14.8k]
  |  |  ------------------
  |  | 1716|  14.8k|           if (k)
  |  |  ------------------
  |  |  |  Branch (1716:16): [True: 14.8k, False: 0]
  |  |  ------------------
  ------------------
 2000|  14.8k|            return n;
 2001|      0|        sortslice_reverse(slo, n);
 2002|      0|    }
 2003|  13.7k|    ++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|  13.7k|    Py_ssize_t neq = 0;
 2010|  2.26M|    for ( ; n < nremaining; ++n) {
  ------------------
  |  Branch (2010:13): [True: 2.25M, False: 12.1k]
  ------------------
 2011|  2.25M|        IF_NEXT_SMALLER {
  ------------------
  |  | 1978|  2.25M|#define IF_NEXT_SMALLER IFLT(lo[n], lo[n-1])
  |  |  ------------------
  |  |  |  | 1715|  2.25M|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1709|  2.25M|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1715:24): [True: 0, False: 2.25M]
  |  |  |  |  ------------------
  |  |  |  | 1716|  2.25M|           if (k)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1716:16): [True: 2.25M, False: 1.62k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2012|       |            /* This ends the most recent run of equal elements, but still in
 2013|       |             * the "descending" direction.
 2014|       |             */
 2015|  2.25M|            REVERSE_LAST_NEQ
  ------------------
  |  | 1964|  2.25M|    if (neq) {                                  \
  |  |  ------------------
  |  |  |  Branch (1964:9): [True: 0, False: 2.25M]
  |  |  ------------------
  |  | 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|  2.25M|        }
 2017|  1.62k|        else {
 2018|  1.62k|            IF_NEXT_LARGER /* descending run is over */
  ------------------
  |  | 1977|  1.62k|#define IF_NEXT_LARGER  IFLT(lo[n-1], lo[n])
  |  |  ------------------
  |  |  |  | 1715|  1.62k|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1709|  1.62k|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1715:24): [True: 0, False: 1.62k]
  |  |  |  |  ------------------
  |  |  |  | 1716|  1.62k|           if (k)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1716:16): [True: 1.62k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2019|  1.62k|                break;
 2020|      0|            else /* not x < y and not y < x implies x == y */
 2021|      0|                ++neq;
 2022|  1.62k|        }
 2023|  2.25M|    }
 2024|  13.7k|    REVERSE_LAST_NEQ
  ------------------
  |  | 1964|  13.7k|    if (neq) {                                  \
  |  |  ------------------
  |  |  |  Branch (1964:9): [True: 0, False: 13.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|    }
  ------------------
 2025|  13.7k|    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|  14.6k|    for ( ; n < nremaining; ++n) {
  ------------------
  |  Branch (2031:13): [True: 2.39k, False: 12.2k]
  ------------------
 2032|  2.39k|        IF_NEXT_SMALLER
  ------------------
  |  | 1978|  2.39k|#define IF_NEXT_SMALLER IFLT(lo[n], lo[n-1])
  |  |  ------------------
  |  |  |  | 1715|  2.39k|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  |  |  ------------------
  |  |  |  |  |  | 1709|  2.39k|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1715:24): [True: 0, False: 2.39k]
  |  |  |  |  ------------------
  |  |  |  | 1716|  2.39k|           if (k)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1716:16): [True: 1.53k, False: 858]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2033|  1.53k|            break;
 2034|  2.39k|    }
 2035|       |
 2036|  13.7k|    return n;
 2037|      0|fail:
 2038|      0|    return -1;
 2039|       |
 2040|  13.7k|#undef REVERSE_LAST_NEQ
 2041|  13.7k|#undef IF_NEXT_SMALLER
 2042|  13.7k|#undef IF_NEXT_LARGER
 2043|  13.7k|}
listobject.c:sortslice_reverse:
 1936|  13.7k|{
 1937|  13.7k|    reverse_slice(s->keys, &s->keys[n]);
 1938|  13.7k|    if (s->values != NULL)
  ------------------
  |  Branch (1938:9): [True: 6, False: 13.7k]
  ------------------
 1939|      6|        reverse_slice(s->values, &s->values[n]);
 1940|  13.7k|}
listobject.c:minrun_next:
 2748|  29.1k|{
 2749|  29.1k|    ms->mr_current += ms->listlen;
 2750|       |    assert(ms->mr_current >= 0); /* no overflow */
 2751|  29.1k|    Py_ssize_t result = ms->mr_current >> ms->mr_e;
 2752|  29.1k|    ms->mr_current &= ms->mr_mask;
 2753|  29.1k|    return result;
 2754|  29.1k|}
listobject.c:binarysort:
 1814|  16.3k|{
 1815|  16.3k|    Py_ssize_t k; /* for IFLT macro expansion */
 1816|  16.3k|    PyObject ** const a = ss->keys;
 1817|  16.3k|    PyObject ** const v = ss->values;
 1818|  16.3k|    const bool has_values = v != NULL;
 1819|  16.3k|    PyObject *pivot;
 1820|  16.3k|    Py_ssize_t M;
 1821|       |
 1822|  16.3k|    assert(0 <= ok && ok <= n && 1 <= n && n <= MAX_MINRUN);
 1823|       |    /* assert a[:ok] is sorted */
 1824|  16.3k|    if (! ok)
  ------------------
  |  Branch (1824:9): [True: 0, False: 16.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|  16.3k|    Py_ssize_t L, R;
 1877|  50.2k|    for (; ok < n; ++ok) {
  ------------------
  |  Branch (1877:12): [True: 33.8k, False: 16.3k]
  ------------------
 1878|       |        /* set L to where a[ok] belongs */
 1879|  33.8k|        L = 0;
 1880|  33.8k|        R = ok;
 1881|  33.8k|        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|  33.8k|        assert(L < R);
 1888|  96.8k|        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|  96.8k|            M = (L + R) >> 1;
 1892|  96.8k|#if 1 // straightforward, but highly unpredictable branch on random data
 1893|  96.8k|            IFLT(pivot, a[M])
  ------------------
  |  | 1715|  96.8k|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1709|  96.8k|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1715:24): [True: 0, False: 96.8k]
  |  |  ------------------
  |  | 1716|  96.8k|           if (k)
  |  |  ------------------
  |  |  |  Branch (1716:16): [True: 53.3k, False: 43.5k]
  |  |  ------------------
  ------------------
 1894|  53.3k|                R = M;
 1895|  43.5k|            else
 1896|  43.5k|                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|  96.8k|        } while (L < R);
  ------------------
  |  Branch (1910:18): [True: 62.9k, False: 33.8k]
  ------------------
 1911|  33.8k|        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|   185k|        for (M = ok; M > L; --M)
  ------------------
  |  Branch (1917:22): [True: 151k, False: 33.8k]
  ------------------
 1918|   151k|            a[M] = a[M - 1];
 1919|  33.8k|        a[L] = pivot;
 1920|  33.8k|        if (has_values) {
  ------------------
  |  Branch (1920:13): [True: 344, False: 33.5k]
  ------------------
 1921|    344|            pivot = v[ok];
 1922|  2.27k|            for (M = ok; M > L; --M)
  ------------------
  |  Branch (1922:26): [True: 1.93k, False: 344]
  ------------------
 1923|  1.93k|                v[M] = v[M - 1];
 1924|    344|            v[L] = pivot;
 1925|    344|        }
 1926|  33.8k|    }
 1927|  16.3k|#endif // pick binary or regular insertion sort
 1928|  16.3k|    return 0;
 1929|       |
 1930|      0| fail:
 1931|      0|    return -1;
 1932|  16.3k|}
listobject.c:found_new_run:
 2706|  29.1k|{
 2707|  29.1k|    assert(ms);
 2708|  29.1k|    if (ms->n) {
  ------------------
  |  Branch (2708:9): [True: 101, False: 29.0k]
  ------------------
 2709|    101|        assert(ms->n > 0);
 2710|    101|        struct s_slice *p = ms->pending;
 2711|    101|        Py_ssize_t s1 = p[ms->n - 1].base.keys - ms->basekeys; /* start index */
 2712|    101|        Py_ssize_t n1 = p[ms->n - 1].len;
 2713|    101|        int power = powerloop(s1, n1, n2, ms->listlen);
 2714|    129|        while (ms->n > 1 && p[ms->n - 2].power > power) {
  ------------------
  |  Branch (2714:16): [True: 56, False: 73]
  |  Branch (2714:29): [True: 28, False: 28]
  ------------------
 2715|     28|            if (merge_at(ms, ms->n - 2) < 0)
  ------------------
  |  Branch (2715:17): [True: 0, False: 28]
  ------------------
 2716|      0|                return -1;
 2717|     28|        }
 2718|    101|        assert(ms->n < 2 || p[ms->n - 2].power < power);
 2719|    101|        p[ms->n - 1].power = power;
 2720|    101|    }
 2721|  29.1k|    return 0;
 2722|  29.1k|}
listobject.c:powerloop:
 2659|    101|{
 2660|    101|    int result = 0;
 2661|    101|    assert(s1 >= 0);
 2662|    101|    assert(n1 > 0 && n2 > 0);
 2663|    101|    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|    101|    Py_ssize_t a = 2 * s1 + n1;  /* 2*a */
 2674|    101|    Py_ssize_t b = a + n1 + n2;  /* 2*b */
 2675|       |    /* Emulate a/n and b/n one bit a time, until bits differ. */
 2676|    169|    for (;;) {
 2677|    169|        ++result;
 2678|    169|        if (a >= n) {  /* both quotient bits are 1 */
  ------------------
  |  Branch (2678:13): [True: 34, False: 135]
  ------------------
 2679|     34|            assert(b >= a);
 2680|     34|            a -= n;
 2681|     34|            b -= n;
 2682|     34|        }
 2683|    135|        else if (b >= n) {  /* a/n bit is 0, b/n bit is 1 */
  ------------------
  |  Branch (2683:18): [True: 101, False: 34]
  ------------------
 2684|    101|            break;
 2685|    101|        } /* else both quotient bits are 0 */
 2686|    169|        assert(a < b && b < n);
 2687|     68|        a <<= 1;
 2688|     68|        b <<= 1;
 2689|     68|    }
 2690|    101|    return result;
 2691|    101|}
listobject.c:merge_at:
 2599|    101|{
 2600|    101|    sortslice ssa, ssb;
 2601|    101|    Py_ssize_t na, nb;
 2602|    101|    Py_ssize_t k;
 2603|       |
 2604|    101|    assert(ms != NULL);
 2605|    101|    assert(ms->n >= 2);
 2606|    101|    assert(i >= 0);
 2607|    101|    assert(i == ms->n - 2 || i == ms->n - 3);
 2608|       |
 2609|    101|    ssa = ms->pending[i].base;
 2610|    101|    na = ms->pending[i].len;
 2611|    101|    ssb = ms->pending[i+1].base;
 2612|    101|    nb = ms->pending[i+1].len;
 2613|    101|    assert(na > 0 && nb > 0);
 2614|    101|    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|    101|    ms->pending[i].len = na + nb;
 2621|    101|    if (i == ms->n - 3)
  ------------------
  |  Branch (2621:9): [True: 0, False: 101]
  ------------------
 2622|      0|        ms->pending[i+1] = ms->pending[i+2];
 2623|    101|    --ms->n;
 2624|       |
 2625|       |    /* Where does b start in a?  Elements in a before that can be
 2626|       |     * ignored (already in place).
 2627|       |     */
 2628|    101|    k = gallop_right(ms, *ssb.keys, ssa.keys, na, 0);
 2629|    101|    if (k < 0)
  ------------------
  |  Branch (2629:9): [True: 0, False: 101]
  ------------------
 2630|      0|        return -1;
 2631|    101|    sortslice_advance(&ssa, k);
 2632|    101|    na -= k;
 2633|    101|    if (na == 0)
  ------------------
  |  Branch (2633:9): [True: 0, False: 101]
  ------------------
 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|    101|    nb = gallop_left(ms, ssa.keys[na-1], ssb.keys, nb, nb-1);
 2640|    101|    if (nb <= 0)
  ------------------
  |  Branch (2640:9): [True: 0, False: 101]
  ------------------
 2641|      0|        return nb;
 2642|       |
 2643|       |    /* Merge what remains of the runs, using a temp array with
 2644|       |     * min(na, nb) elements.
 2645|       |     */
 2646|    101|    if (na <= nb)
  ------------------
  |  Branch (2646:9): [True: 86, False: 15]
  ------------------
 2647|     86|        return merge_lo(ms, ssa, na, ssb, nb);
 2648|     15|    else
 2649|     15|        return merge_hi(ms, ssa, na, ssb, nb);
 2650|    101|}
listobject.c:gallop_right:
 2157|    725|{
 2158|    725|    Py_ssize_t ofs;
 2159|    725|    Py_ssize_t lastofs;
 2160|    725|    Py_ssize_t k;
 2161|       |
 2162|    725|    assert(key && a && n > 0 && hint >= 0 && hint < n);
 2163|       |
 2164|    725|    a += hint;
 2165|    725|    lastofs = 0;
 2166|    725|    ofs = 1;
 2167|    725|    IFLT(key, *a) {
  ------------------
  |  | 1715|    725|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1709|    725|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1715:24): [True: 0, False: 725]
  |  |  ------------------
  |  | 1716|    725|           if (k)
  |  |  ------------------
  |  |  |  Branch (1716:16): [True: 495, False: 230]
  |  |  ------------------
  ------------------
 2168|       |        /* key < a[hint] -- gallop left, until
 2169|       |         * a[hint - ofs] <= key < a[hint - lastofs]
 2170|       |         */
 2171|    495|        const Py_ssize_t maxofs = hint + 1;             /* &a[0] is lowest */
 2172|    549|        while (ofs < maxofs) {
  ------------------
  |  Branch (2172:16): [True: 66, False: 483]
  ------------------
 2173|     66|            IFLT(key, *(a-ofs)) {
  ------------------
  |  | 1715|     66|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1709|     66|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1715:24): [True: 0, False: 66]
  |  |  ------------------
  |  | 1716|     66|           if (k)
  |  |  ------------------
  |  |  |  Branch (1716:16): [True: 54, False: 12]
  |  |  ------------------
  ------------------
 2174|     54|                lastofs = ofs;
 2175|     54|                assert(ofs <= (PY_SSIZE_T_MAX - 1) / 2);
 2176|     54|                ofs = (ofs << 1) + 1;
 2177|     54|            }
 2178|     12|            else                /* a[hint - ofs] <= key */
 2179|     12|                break;
 2180|     66|        }
 2181|    495|        if (ofs > maxofs)
  ------------------
  |  Branch (2181:13): [True: 6, False: 489]
  ------------------
 2182|      6|            ofs = maxofs;
 2183|       |        /* Translate back to positive offsets relative to &a[0]. */
 2184|    495|        k = lastofs;
 2185|    495|        lastofs = hint - ofs;
 2186|    495|        ofs = hint - k;
 2187|    495|    }
 2188|    230|    else {
 2189|       |        /* a[hint] <= key -- gallop right, until
 2190|       |         * a[hint + lastofs] <= key < a[hint + ofs]
 2191|       |        */
 2192|    230|        const Py_ssize_t maxofs = n - hint;             /* &a[n-1] is highest */
 2193|    650|        while (ofs < maxofs) {
  ------------------
  |  Branch (2193:16): [True: 628, False: 22]
  ------------------
 2194|    628|            IFLT(key, a[ofs])
  ------------------
  |  | 1715|    628|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1709|    628|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1715:24): [True: 0, False: 628]
  |  |  ------------------
  |  | 1716|    628|           if (k)
  |  |  ------------------
  |  |  |  Branch (1716:16): [True: 208, False: 420]
  |  |  ------------------
  ------------------
 2195|    208|                break;
 2196|       |            /* a[hint + ofs] <= key */
 2197|    420|            lastofs = ofs;
 2198|    420|            assert(ofs <= (PY_SSIZE_T_MAX - 1) / 2);
 2199|    420|            ofs = (ofs << 1) + 1;
 2200|    420|        }
 2201|    230|        if (ofs > maxofs)
  ------------------
  |  Branch (2201:13): [True: 4, False: 226]
  ------------------
 2202|      4|            ofs = maxofs;
 2203|       |        /* Translate back to offsets relative to &a[0]. */
 2204|    230|        lastofs += hint;
 2205|    230|        ofs += hint;
 2206|    230|    }
 2207|    725|    a -= hint;
 2208|       |
 2209|    725|    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|    725|    ++lastofs;
 2215|  1.19k|    while (lastofs < ofs) {
  ------------------
  |  Branch (2215:12): [True: 468, False: 725]
  ------------------
 2216|    468|        Py_ssize_t m = lastofs + ((ofs - lastofs) >> 1);
 2217|       |
 2218|    468|        IFLT(key, a[m])
  ------------------
  |  | 1715|    468|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1709|    468|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1715:24): [True: 0, False: 468]
  |  |  ------------------
  |  | 1716|    468|           if (k)
  |  |  ------------------
  |  |  |  Branch (1716:16): [True: 265, False: 203]
  |  |  ------------------
  ------------------
 2219|    265|            ofs = m;                    /* key < a[m] */
 2220|    203|        else
 2221|    203|            lastofs = m+1;              /* a[m] <= key */
 2222|    468|    }
 2223|    725|    assert(lastofs == ofs);             /* so a[ofs-1] <= key < a[ofs] */
 2224|    725|    return ofs;
 2225|       |
 2226|      0|fail:
 2227|      0|    return -1;
 2228|    725|}
listobject.c:gallop_left:
 2068|    709|{
 2069|    709|    Py_ssize_t ofs;
 2070|    709|    Py_ssize_t lastofs;
 2071|    709|    Py_ssize_t k;
 2072|       |
 2073|    709|    assert(key && a && n > 0 && hint >= 0 && hint < n);
 2074|       |
 2075|    709|    a += hint;
 2076|    709|    lastofs = 0;
 2077|    709|    ofs = 1;
 2078|    709|    IFLT(*a, key) {
  ------------------
  |  | 1715|    709|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1709|    709|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1715:24): [True: 0, False: 709]
  |  |  ------------------
  |  | 1716|    709|           if (k)
  |  |  ------------------
  |  |  |  Branch (1716:16): [True: 513, False: 196]
  |  |  ------------------
  ------------------
 2079|       |        /* a[hint] < key -- gallop right, until
 2080|       |         * a[hint + lastofs] < key <= a[hint + ofs]
 2081|       |         */
 2082|    513|        const Py_ssize_t maxofs = n - hint;             /* &a[n-1] is highest */
 2083|  1.53k|        while (ofs < maxofs) {
  ------------------
  |  Branch (2083:16): [True: 1.41k, False: 123]
  ------------------
 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: 390]
  |  |  ------------------
  ------------------
 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|    390|            else                /* key <= a[hint + ofs] */
 2090|    390|                break;
 2091|  1.41k|        }
 2092|    513|        if (ofs > maxofs)
  ------------------
  |  Branch (2092:13): [True: 24, False: 489]
  ------------------
 2093|     24|            ofs = maxofs;
 2094|       |        /* Translate back to offsets relative to &a[0]. */
 2095|    513|        lastofs += hint;
 2096|    513|        ofs += hint;
 2097|    513|    }
 2098|    196|    else {
 2099|       |        /* key <= a[hint] -- gallop left, until
 2100|       |         * a[hint - ofs] < key <= a[hint - lastofs]
 2101|       |         */
 2102|    196|        const Py_ssize_t maxofs = hint + 1;             /* &a[0] is lowest */
 2103|    270|        while (ofs < maxofs) {
  ------------------
  |  Branch (2103:16): [True: 118, False: 152]
  ------------------
 2104|    118|            IFLT(*(a-ofs), key)
  ------------------
  |  | 1715|    118|#define IFLT(X, Y) if ((k = ISLT(X, Y)) < 0) goto fail;  \
  |  |  ------------------
  |  |  |  | 1709|    118|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  |  |  ------------------
  |  |  |  Branch (1715:24): [True: 0, False: 118]
  |  |  ------------------
  |  | 1716|    118|           if (k)
  |  |  ------------------
  |  |  |  Branch (1716:16): [True: 44, False: 74]
  |  |  ------------------
  ------------------
 2105|     44|                break;
 2106|       |            /* key <= a[hint - ofs] */
 2107|     74|            lastofs = ofs;
 2108|     74|            assert(ofs <= (PY_SSIZE_T_MAX - 1) / 2);
 2109|     74|            ofs = (ofs << 1) + 1;
 2110|     74|        }
 2111|    196|        if (ofs > maxofs)
  ------------------
  |  Branch (2111:13): [True: 2, False: 194]
  ------------------
 2112|      2|            ofs = maxofs;
 2113|       |        /* Translate back to positive offsets relative to &a[0]. */
 2114|    196|        k = lastofs;
 2115|    196|        lastofs = hint - ofs;
 2116|    196|        ofs = hint - k;
 2117|    196|    }
 2118|    709|    a -= hint;
 2119|       |
 2120|    709|    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|    709|    ++lastofs;
 2126|  1.76k|    while (lastofs < ofs) {
  ------------------
  |  Branch (2126:12): [True: 1.05k, False: 709]
  ------------------
 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: 444, False: 611]
  |  |  ------------------
  ------------------
 2130|    444|            lastofs = m+1;              /* a[m] < key */
 2131|    611|        else
 2132|    611|            ofs = m;                    /* key <= a[m] */
 2133|  1.05k|    }
 2134|    709|    assert(lastofs == ofs);             /* so a[ofs-1] < key <= a[ofs] */
 2135|    709|    return ofs;
 2136|       |
 2137|      0|fail:
 2138|      0|    return -1;
 2139|    709|}
listobject.c:merge_lo:
 2329|     86|{
 2330|     86|    Py_ssize_t k;
 2331|     86|    sortslice dest;
 2332|     86|    int result = -1;            /* guilty until proved innocent */
 2333|     86|    Py_ssize_t min_gallop;
 2334|       |
 2335|     86|    assert(ms && ssa.keys && ssb.keys && na > 0 && nb > 0);
 2336|     86|    assert(ssa.keys + na == ssb.keys);
 2337|     86|    if (MERGE_GETMEM(ms, na) < 0)
  ------------------
  |  | 2317|     86|#define MERGE_GETMEM(MS, NEED) ((NEED) <= (MS)->alloced ? 0 :   \
  |  |  ------------------
  |  |  |  Branch (2317:33): [True: 74, False: 12]
  |  |  ------------------
  |  | 2318|     86|                                merge_getmem(MS, NEED))
  ------------------
  |  Branch (2337:9): [True: 0, False: 86]
  ------------------
 2338|      0|        return -1;
 2339|     86|    sortslice_memcpy(&ms->a, 0, &ssa, 0, na);
 2340|     86|    dest = ssa;
 2341|     86|    ssa = ms->a;
 2342|       |
 2343|     86|    sortslice_copy_incr(&dest, &ssb);
 2344|     86|    --nb;
 2345|     86|    if (nb == 0)
  ------------------
  |  Branch (2345:9): [True: 0, False: 86]
  ------------------
 2346|      0|        goto Succeed;
 2347|     86|    if (na == 1)
  ------------------
  |  Branch (2347:9): [True: 0, False: 86]
  ------------------
 2348|      0|        goto CopyB;
 2349|       |
 2350|     86|    min_gallop = ms->min_gallop;
 2351|    398|    for (;;) {
 2352|    398|        Py_ssize_t acount = 0;          /* # of times A won in a row */
 2353|    398|        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|  19.0k|        for (;;) {
 2359|  19.0k|            assert(na > 1 && nb > 0);
 2360|  19.0k|            k = ISLT(ssb.keys[0], ssa.keys[0]);
  ------------------
  |  | 1709|  19.0k|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  ------------------
 2361|  19.0k|            if (k) {
  ------------------
  |  Branch (2361:17): [True: 10.7k, False: 8.29k]
  ------------------
 2362|  10.7k|                if (k < 0)
  ------------------
  |  Branch (2362:21): [True: 0, False: 10.7k]
  ------------------
 2363|      0|                    goto Fail;
 2364|  10.7k|                sortslice_copy_incr(&dest, &ssb);
 2365|  10.7k|                ++bcount;
 2366|  10.7k|                acount = 0;
 2367|  10.7k|                --nb;
 2368|  10.7k|                if (nb == 0)
  ------------------
  |  Branch (2368:21): [True: 26, False: 10.7k]
  ------------------
 2369|     26|                    goto Succeed;
 2370|  10.7k|                if (bcount >= min_gallop)
  ------------------
  |  Branch (2370:21): [True: 267, False: 10.4k]
  ------------------
 2371|    267|                    break;
 2372|  10.7k|            }
 2373|  8.29k|            else {
 2374|  8.29k|                sortslice_copy_incr(&dest, &ssa);
 2375|  8.29k|                ++acount;
 2376|  8.29k|                bcount = 0;
 2377|  8.29k|                --na;
 2378|  8.29k|                if (na == 1)
  ------------------
  |  Branch (2378:21): [True: 20, False: 8.27k]
  ------------------
 2379|     20|                    goto CopyB;
 2380|  8.27k|                if (acount >= min_gallop)
  ------------------
  |  Branch (2380:21): [True: 85, False: 8.19k]
  ------------------
 2381|     85|                    break;
 2382|  8.27k|            }
 2383|  19.0k|        }
 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|    352|        ++min_gallop;
 2391|    584|        do {
 2392|    584|            assert(na > 1 && nb > 0);
 2393|    584|            min_gallop -= min_gallop > 1;
 2394|    584|            ms->min_gallop = min_gallop;
 2395|    584|            k = gallop_right(ms, ssb.keys[0], ssa.keys, na, 0);
 2396|    584|            acount = k;
 2397|    584|            if (k) {
  ------------------
  |  Branch (2397:17): [True: 183, False: 401]
  ------------------
 2398|    183|                if (k < 0)
  ------------------
  |  Branch (2398:21): [True: 0, False: 183]
  ------------------
 2399|      0|                    goto Fail;
 2400|    183|                sortslice_memcpy(&dest, 0, &ssa, 0, k);
 2401|    183|                sortslice_advance(&dest, k);
 2402|    183|                sortslice_advance(&ssa, k);
 2403|    183|                na -= k;
 2404|    183|                if (na == 1)
  ------------------
  |  Branch (2404:21): [True: 6, False: 177]
  ------------------
 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|    177|                if (na == 0)
  ------------------
  |  Branch (2410:21): [True: 0, False: 177]
  ------------------
 2411|      0|                    goto Succeed;
 2412|    177|            }
 2413|    578|            sortslice_copy_incr(&dest, &ssb);
 2414|    578|            --nb;
 2415|    578|            if (nb == 0)
  ------------------
  |  Branch (2415:17): [True: 4, False: 574]
  ------------------
 2416|      4|                goto Succeed;
 2417|       |
 2418|    574|            k = gallop_left(ms, ssa.keys[0], ssb.keys, nb, 0);
 2419|    574|            bcount = k;
 2420|    574|            if (k) {
  ------------------
  |  Branch (2420:17): [True: 424, False: 150]
  ------------------
 2421|    424|                if (k < 0)
  ------------------
  |  Branch (2421:21): [True: 0, False: 424]
  ------------------
 2422|      0|                    goto Fail;
 2423|    424|                sortslice_memmove(&dest, 0, &ssb, 0, k);
 2424|    424|                sortslice_advance(&dest, k);
 2425|    424|                sortslice_advance(&ssb, k);
 2426|    424|                nb -= k;
 2427|    424|                if (nb == 0)
  ------------------
  |  Branch (2427:21): [True: 22, False: 402]
  ------------------
 2428|     22|                    goto Succeed;
 2429|    424|            }
 2430|    552|            sortslice_copy_incr(&dest, &ssa);
 2431|    552|            --na;
 2432|    552|            if (na == 1)
  ------------------
  |  Branch (2432:17): [True: 8, False: 544]
  ------------------
 2433|      8|                goto CopyB;
 2434|    552|        } while (acount >= MIN_GALLOP || bcount >= MIN_GALLOP);
  ------------------
  |  | 1728|  1.08k|#define MIN_GALLOP 7
  ------------------
                      } while (acount >= MIN_GALLOP || bcount >= MIN_GALLOP);
  ------------------
  |  | 1728|    478|#define MIN_GALLOP 7
  ------------------
  |  Branch (2434:18): [True: 66, False: 478]
  |  Branch (2434:42): [True: 166, False: 312]
  ------------------
 2435|    312|        ++min_gallop;           /* penalize it for leaving galloping mode */
 2436|    312|        ms->min_gallop = min_gallop;
 2437|    312|    }
 2438|     52|Succeed:
 2439|     52|    result = 0;
 2440|     52|Fail:
 2441|     52|    if (na)
  ------------------
  |  Branch (2441:9): [True: 52, False: 0]
  ------------------
 2442|     52|        sortslice_memcpy(&dest, 0, &ssa, 0, na);
 2443|     52|    return result;
 2444|     34|CopyB:
 2445|     34|    assert(na == 1 && nb > 0);
 2446|       |    /* The last element of ssa belongs at the end of the merge. */
 2447|     34|    sortslice_memmove(&dest, 0, &ssb, 0, nb);
 2448|     34|    sortslice_copy(&dest, nb, &ssa, 0);
 2449|     34|    return 0;
 2450|     52|}
listobject.c:merge_getmem:
 2289|     13|{
 2290|     13|    int multiplier;
 2291|       |
 2292|     13|    assert(ms != NULL);
 2293|     13|    if (need <= ms->alloced)
  ------------------
  |  Branch (2293:9): [True: 0, False: 13]
  ------------------
 2294|      0|        return 0;
 2295|       |
 2296|     13|    multiplier = ms->a.values != NULL ? 2 : 1;
  ------------------
  |  Branch (2296:18): [True: 2, False: 11]
  ------------------
 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|     13|    merge_freemem(ms);
 2302|     13|    if ((size_t)need > PY_SSIZE_T_MAX / sizeof(PyObject *) / multiplier) {
  ------------------
  |  |  137|     13|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (2302:9): [True: 0, False: 13]
  ------------------
 2303|      0|        PyErr_NoMemory();
 2304|      0|        return -1;
 2305|      0|    }
 2306|     13|    ms->a.keys = (PyObject **)PyMem_Malloc(multiplier * need
 2307|     13|                                          * sizeof(PyObject *));
 2308|     13|    if (ms->a.keys != NULL) {
  ------------------
  |  Branch (2308:9): [True: 13, False: 0]
  ------------------
 2309|     13|        ms->alloced = need;
 2310|     13|        if (ms->a.values != NULL)
  ------------------
  |  Branch (2310:13): [True: 2, False: 11]
  ------------------
 2311|      2|            ms->a.values = &ms->a.keys[need];
 2312|     13|        return 0;
 2313|     13|    }
 2314|      0|    PyErr_NoMemory();
 2315|      0|    return -1;
 2316|     13|}
listobject.c:sortslice_memcpy:
 1681|    372|{
 1682|    372|    memcpy(&s1->keys[i], &s2->keys[j], sizeof(PyObject *) * n);
 1683|    372|    if (s1->values != NULL)
  ------------------
  |  Branch (1683:9): [True: 4, False: 368]
  ------------------
 1684|      4|        memcpy(&s1->values[i], &s2->values[j], sizeof(PyObject *) * n);
 1685|    372|}
listobject.c:sortslice_copy_incr:
 1663|  20.2k|{
 1664|  20.2k|    *dst->keys++ = *src->keys++;
 1665|  20.2k|    if (dst->values != NULL)
  ------------------
  |  Branch (1665:9): [True: 18, False: 20.2k]
  ------------------
 1666|     18|        *dst->values++ = *src->values++;
 1667|  20.2k|}
listobject.c:sortslice_memmove:
 1690|    481|{
 1691|    481|    memmove(&s1->keys[i], &s2->keys[j], sizeof(PyObject *) * n);
 1692|    481|    if (s1->values != NULL)
  ------------------
  |  Branch (1692:9): [True: 2, False: 479]
  ------------------
 1693|      2|        memmove(&s1->values[i], &s2->values[j], sizeof(PyObject *) * n);
 1694|    481|}
listobject.c:sortslice_copy:
 1655|     35|{
 1656|     35|    s1->keys[i] = s2->keys[j];
 1657|     35|    if (s1->values != NULL)
  ------------------
  |  Branch (1657:9): [True: 0, False: 35]
  ------------------
 1658|      0|        s1->values[i] = s2->values[j];
 1659|     35|}
listobject.c:merge_hi:
 2461|     15|{
 2462|     15|    Py_ssize_t k;
 2463|     15|    sortslice dest, basea, baseb;
 2464|     15|    int result = -1;            /* guilty until proved innocent */
 2465|     15|    Py_ssize_t min_gallop;
 2466|       |
 2467|     15|    assert(ms && ssa.keys && ssb.keys && na > 0 && nb > 0);
 2468|     15|    assert(ssa.keys + na == ssb.keys);
 2469|     15|    if (MERGE_GETMEM(ms, nb) < 0)
  ------------------
  |  | 2317|     15|#define MERGE_GETMEM(MS, NEED) ((NEED) <= (MS)->alloced ? 0 :   \
  |  |  ------------------
  |  |  |  Branch (2317:33): [True: 14, False: 1]
  |  |  ------------------
  |  | 2318|     15|                                merge_getmem(MS, NEED))
  ------------------
  |  Branch (2469:9): [True: 0, False: 15]
  ------------------
 2470|      0|        return -1;
 2471|     15|    dest = ssb;
 2472|     15|    sortslice_advance(&dest, nb-1);
 2473|     15|    sortslice_memcpy(&ms->a, 0, &ssb, 0, nb);
 2474|     15|    basea = ssa;
 2475|     15|    baseb = ms->a;
 2476|     15|    ssb.keys = ms->a.keys + nb - 1;
 2477|     15|    if (ssb.values != NULL)
  ------------------
  |  Branch (2477:9): [True: 0, False: 15]
  ------------------
 2478|      0|        ssb.values = ms->a.values + nb - 1;
 2479|     15|    sortslice_advance(&ssa, na - 1);
 2480|       |
 2481|     15|    sortslice_copy_decr(&dest, &ssa);
 2482|     15|    --na;
 2483|     15|    if (na == 0)
  ------------------
  |  Branch (2483:9): [True: 0, False: 15]
  ------------------
 2484|      0|        goto Succeed;
 2485|     15|    if (nb == 1)
  ------------------
  |  Branch (2485:9): [True: 0, False: 15]
  ------------------
 2486|      0|        goto CopyA;
 2487|       |
 2488|     15|    min_gallop = ms->min_gallop;
 2489|     35|    for (;;) {
 2490|     35|        Py_ssize_t acount = 0;          /* # of times A won in a row */
 2491|     35|        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|  2.22M|        for (;;) {
 2497|  2.22M|            assert(na > 0 && nb > 1);
 2498|  2.22M|            k = ISLT(ssb.keys[0], ssa.keys[0]);
  ------------------
  |  | 1709|  2.22M|#define ISLT(X, Y) (*(ms->key_compare))(X, Y, ms)
  ------------------
 2499|  2.22M|            if (k) {
  ------------------
  |  Branch (2499:17): [True: 1.11M, False: 1.11M]
  ------------------
 2500|  1.11M|                if (k < 0)
  ------------------
  |  Branch (2500:21): [True: 0, False: 1.11M]
  ------------------
 2501|      0|                    goto Fail;
 2502|  1.11M|                sortslice_copy_decr(&dest, &ssa);
 2503|  1.11M|                ++acount;
 2504|  1.11M|                bcount = 0;
 2505|  1.11M|                --na;
 2506|  1.11M|                if (na == 0)
  ------------------
  |  Branch (2506:21): [True: 8, False: 1.11M]
  ------------------
 2507|      8|                    goto Succeed;
 2508|  1.11M|                if (acount >= min_gallop)
  ------------------
  |  Branch (2508:21): [True: 18, False: 1.11M]
  ------------------
 2509|     18|                    break;
 2510|  1.11M|            }
 2511|  1.11M|            else {
 2512|  1.11M|                sortslice_copy_decr(&dest, &ssb);
 2513|  1.11M|                ++bcount;
 2514|  1.11M|                acount = 0;
 2515|  1.11M|                --nb;
 2516|  1.11M|                if (nb == 1)
  ------------------
  |  Branch (2516:21): [True: 1, False: 1.11M]
  ------------------
 2517|      1|                    goto CopyA;
 2518|  1.11M|                if (bcount >= min_gallop)
  ------------------
  |  Branch (2518:21): [True: 8, False: 1.11M]
  ------------------
 2519|      8|                    break;
 2520|  1.11M|            }
 2521|  2.22M|        }
 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|     26|        ++min_gallop;
 2529|     40|        do {
 2530|     40|            assert(na > 0 && nb > 1);
 2531|     40|            min_gallop -= min_gallop > 1;
 2532|     40|            ms->min_gallop = min_gallop;
 2533|     40|            k = gallop_right(ms, ssb.keys[0], basea.keys, na, na-1);
 2534|     40|            if (k < 0)
  ------------------
  |  Branch (2534:17): [True: 0, False: 40]
  ------------------
 2535|      0|                goto Fail;
 2536|     40|            k = na - k;
 2537|     40|            acount = k;
 2538|     40|            if (k) {
  ------------------
  |  Branch (2538:17): [True: 22, False: 18]
  ------------------
 2539|     22|                sortslice_advance(&dest, -k);
 2540|     22|                sortslice_advance(&ssa, -k);
 2541|     22|                sortslice_memmove(&dest, 1, &ssa, 1, k);
 2542|     22|                na -= k;
 2543|     22|                if (na == 0)
  ------------------
  |  Branch (2543:21): [True: 6, False: 16]
  ------------------
 2544|      6|                    goto Succeed;
 2545|     22|            }
 2546|     34|            sortslice_copy_decr(&dest, &ssb);
 2547|     34|            --nb;
 2548|     34|            if (nb == 1)
  ------------------
  |  Branch (2548:17): [True: 0, False: 34]
  ------------------
 2549|      0|                goto CopyA;
 2550|       |
 2551|     34|            k = gallop_left(ms, ssa.keys[0], baseb.keys, nb, nb-1);
 2552|     34|            if (k < 0)
  ------------------
  |  Branch (2552:17): [True: 0, False: 34]
  ------------------
 2553|      0|                goto Fail;
 2554|     34|            k = nb - k;
 2555|     34|            bcount = k;
 2556|     34|            if (k) {
  ------------------
  |  Branch (2556:17): [True: 22, False: 12]
  ------------------
 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|     34|            sortslice_copy_decr(&dest, &ssa);
 2571|     34|            --na;
 2572|     34|            if (na == 0)
  ------------------
  |  Branch (2572:17): [True: 0, False: 34]
  ------------------
 2573|      0|                goto Succeed;
 2574|     34|        } while (acount >= MIN_GALLOP || bcount >= MIN_GALLOP);
  ------------------
  |  | 1728|     68|#define MIN_GALLOP 7
  ------------------
                      } while (acount >= MIN_GALLOP || bcount >= MIN_GALLOP);
  ------------------
  |  | 1728|     26|#define MIN_GALLOP 7
  ------------------
  |  Branch (2574:18): [True: 8, False: 26]
  |  Branch (2574:42): [True: 6, False: 20]
  ------------------
 2575|     20|        ++min_gallop;           /* penalize it for leaving galloping mode */
 2576|     20|        ms->min_gallop = min_gallop;
 2577|     20|    }
 2578|     14|Succeed:
 2579|     14|    result = 0;
 2580|     14|Fail:
 2581|     14|    if (nb)
  ------------------
  |  Branch (2581:9): [True: 14, False: 0]
  ------------------
 2582|     14|        sortslice_memcpy(&dest, -(nb-1), &baseb, 0, nb);
 2583|     14|    return result;
 2584|      1|CopyA:
 2585|      1|    assert(nb == 1 && na > 0);
 2586|       |    /* The first element of ssb belongs at the front of the merge. */
 2587|      1|    sortslice_memmove(&dest, 1-na, &ssa, 1-na, na);
 2588|      1|    sortslice_advance(&dest, -na);
 2589|      1|    sortslice_advance(&ssa, -na);
 2590|      1|    sortslice_copy(&dest, 0, &ssb, 0);
 2591|      1|    return 0;
 2592|     14|}
listobject.c:sortslice_copy_decr:
 1671|  2.22M|{
 1672|  2.22M|    *dst->keys-- = *src->keys--;
 1673|  2.22M|    if (dst->values != NULL)
  ------------------
  |  Branch (1673:9): [True: 0, False: 2.22M]
  ------------------
 1674|      0|        *dst->values-- = *src->values--;
 1675|  2.22M|}
listobject.c:sortslice_advance:
 1698|  30.5k|{
 1699|  30.5k|    slice->keys += n;
 1700|  30.5k|    if (slice->values != NULL)
  ------------------
  |  Branch (1700:9): [True: 48, False: 30.5k]
  ------------------
 1701|     48|        slice->values += n;
 1702|  30.5k|}
listobject.c:merge_force_collapse:
 2731|  29.0k|{
 2732|  29.0k|    struct s_slice *p = ms->pending;
 2733|       |
 2734|  29.0k|    assert(ms);
 2735|  29.1k|    while (ms->n > 1) {
  ------------------
  |  Branch (2735:12): [True: 73, False: 29.0k]
  ------------------
 2736|     73|        Py_ssize_t n = ms->n - 2;
 2737|     73|        if (n > 0 && p[n-1].len < p[n+1].len)
  ------------------
  |  Branch (2737:13): [True: 16, False: 57]
  |  Branch (2737:22): [True: 0, False: 16]
  ------------------
 2738|      0|            --n;
 2739|     73|        if (merge_at(ms, n) < 0)
  ------------------
  |  Branch (2739:13): [True: 0, False: 73]
  ------------------
 2740|      0|            return -1;
 2741|     73|    }
 2742|  29.0k|    return 0;
 2743|  29.0k|}
listobject.c:merge_freemem:
 2276|  2.01M|{
 2277|  2.01M|    assert(ms != NULL);
 2278|  2.01M|    if (ms->a.keys != ms->temparray) {
  ------------------
  |  Branch (2278:9): [True: 13, False: 2.01M]
  ------------------
 2279|     13|        PyMem_Free(ms->a.keys);
 2280|       |        ms->a.keys = NULL;
 2281|     13|    }
 2282|  2.01M|}
listobject.c:reverse_slice:
 1622|  13.8k|{
 1623|  13.8k|    assert(lo && hi);
 1624|       |
 1625|  13.8k|    --hi;
 1626|  3.40M|    while (lo < hi) {
  ------------------
  |  Branch (1626:12): [True: 3.38M, False: 13.8k]
  ------------------
 1627|  3.38M|        PyObject *t = *lo;
 1628|  3.38M|        FT_ATOMIC_STORE_PTR_RELEASE(*lo, *hi);
  ------------------
  |  |  163|  3.38M|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1629|  3.38M|        FT_ATOMIC_STORE_PTR_RELEASE(*hi, t);
  ------------------
  |  |  163|  3.38M|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1630|  3.38M|        ++lo;
 1631|  3.38M|        --hi;
 1632|  3.38M|    }
 1633|  13.8k|}
listobject.c:list_slice_subscript:
 3672|  12.7k|{
 3673|  12.7k|    assert(PyList_Check(self));
 3674|  12.7k|    assert(PySlice_Check(item));
 3675|  12.7k|    Py_ssize_t start, stop, step;
 3676|  12.7k|    if (PySlice_Unpack(item, &start, &stop, &step) < 0) {
  ------------------
  |  Branch (3676:9): [True: 0, False: 12.7k]
  ------------------
 3677|      0|        return NULL;
 3678|      0|    }
 3679|  12.7k|    return list_slice_wrap((PyListObject *)self, start, stop, step);
 3680|  12.7k|}
listobject.c:list_slice_wrap:
 3653|  12.7k|{
 3654|  12.7k|    PyObject *res = NULL;
 3655|  12.7k|    Py_BEGIN_CRITICAL_SECTION(aa);
  ------------------
  |  |   51|  12.7k|    {
  ------------------
 3656|  12.7k|    Py_ssize_t len = PySlice_AdjustIndices(Py_SIZE(aa), &start, &stop, step);
  ------------------
  |  |  214|  12.7k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  12.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3657|  12.7k|    if (len <= 0) {
  ------------------
  |  Branch (3657:9): [True: 4, False: 12.6k]
  ------------------
 3658|      4|        res = PyList_New(0);
 3659|      4|    }
 3660|  12.6k|    else if (step == 1) {
  ------------------
  |  Branch (3660:14): [True: 12.6k, False: 32]
  ------------------
 3661|  12.6k|        res = list_slice_lock_held(aa, start, stop);
 3662|  12.6k|    }
 3663|     32|    else {
 3664|     32|        res = list_slice_step_lock_held(aa, start, step, len);
 3665|     32|    }
 3666|  12.7k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  12.7k|    }
  ------------------
 3667|  12.7k|    return res;
 3668|  12.7k|}
listobject.c:list_slice_step_lock_held:
 3633|     32|{
 3634|     32|    PyListObject *np = (PyListObject *)list_new_prealloc(len);
 3635|     32|    if (np == NULL) {
  ------------------
  |  Branch (3635:9): [True: 0, False: 32]
  ------------------
 3636|      0|        return NULL;
 3637|      0|    }
 3638|     32|    size_t cur;
 3639|     32|    Py_ssize_t i;
 3640|     32|    PyObject **src = a->ob_item;
 3641|     32|    PyObject **dest = np->ob_item;
 3642|    228|    for (cur = start, i = 0; i < len;
  ------------------
  |  Branch (3642:30): [True: 196, False: 32]
  ------------------
 3643|    196|            cur += (size_t)step, i++) {
 3644|    196|        PyObject *v = src[cur];
 3645|    196|        dest[i] = Py_NewRef(v);
  ------------------
  |  |  550|    196|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    196|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    196|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3646|    196|    }
 3647|     32|    Py_SET_SIZE(np, len);
  ------------------
  |  |  216|     32|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|     32|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3648|     32|    return (PyObject *)np;
 3649|     32|}
listobject.c:list_dealloc:
  556|  6.90M|{
  557|  6.90M|    PyListObject *op = (PyListObject *)self;
  558|  6.90M|    Py_ssize_t i;
  559|  6.90M|    PyObject_GC_UnTrack(op);
  560|  6.90M|    if (op->ob_item != NULL) {
  ------------------
  |  Branch (560:9): [True: 6.66M, False: 236k]
  ------------------
  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|  6.66M|        i = Py_SIZE(op);
  ------------------
  |  |  214|  6.66M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  6.66M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.66M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  566|  26.9M|        while (--i >= 0) {
  ------------------
  |  Branch (566:16): [True: 20.3M, False: 6.66M]
  ------------------
  567|  20.3M|            Py_XDECREF(op->ob_item[i]);
  ------------------
  |  |  524|  20.3M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  20.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  568|  20.3M|        }
  569|  6.66M|        free_list_items(op->ob_item, false);
  570|  6.66M|        op->ob_item = NULL;
  571|  6.66M|    }
  572|  6.90M|    if (PyList_CheckExact(op)) {
  ------------------
  |  |   26|  6.90M|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|  6.90M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.90M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.90M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 6.89M, False: 8.44k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  573|  6.89M|        _Py_FREELIST_FREE(lists, op, PyObject_GC_Del);
  ------------------
  |  |   35|  6.89M|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  6.89M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.89M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  6.89M|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   13|  6.89M|#  define Py_lists_MAXFREELIST 80
  |  |  ------------------
  ------------------
  574|  6.89M|    }
  575|  8.44k|    else {
  576|  8.44k|        PyObject_GC_Del(op);
  577|  8.44k|    }
  578|  6.90M|}
listobject.c:list_length:
  651|   312k|{
  652|   312k|    return PyList_GET_SIZE(a);
  ------------------
  |  |   38|   312k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   312k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   312k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  653|   312k|}
listobject.c:list_repeat:
  863|    118|{
  864|    118|    PyObject *ret;
  865|    118|    PyListObject *a = (PyListObject *)aa;
  866|    118|    Py_BEGIN_CRITICAL_SECTION(a);
  ------------------
  |  |   51|    118|    {
  ------------------
  867|    118|    ret = list_repeat_lock_held(a, n);
  868|    118|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    118|    }
  ------------------
  869|    118|    return ret;
  870|    118|}
listobject.c:list_repeat_lock_held:
  821|    118|{
  822|    118|    const Py_ssize_t input_size = Py_SIZE(a);
  ------------------
  |  |  214|    118|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    118|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    118|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  823|    118|    if (input_size == 0 || n <= 0)
  ------------------
  |  Branch (823:9): [True: 0, False: 118]
  |  Branch (823:28): [True: 0, False: 118]
  ------------------
  824|      0|        return PyList_New(0);
  825|    118|    assert(n > 0);
  826|       |
  827|    118|    if (input_size > PY_SSIZE_T_MAX / n)
  ------------------
  |  |  137|    118|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (827:9): [True: 0, False: 118]
  ------------------
  828|      0|        return PyErr_NoMemory();
  829|    118|    Py_ssize_t output_size = input_size * n;
  830|       |
  831|    118|    PyListObject *np = (PyListObject *) list_new_prealloc(output_size);
  832|    118|    if (np == NULL)
  ------------------
  |  Branch (832:9): [True: 0, False: 118]
  ------------------
  833|      0|        return NULL;
  834|       |
  835|    118|    PyObject **dest = np->ob_item;
  836|    118|    if (input_size == 1) {
  ------------------
  |  Branch (836:9): [True: 118, False: 0]
  ------------------
  837|    118|        PyObject *elem = a->ob_item[0];
  838|    118|        _Py_RefcntAdd(elem, n);
  ------------------
  |  |  179|    118|#define _Py_RefcntAdd(op, n) _Py_RefcntAdd(_PyObject_CAST(op), n)
  |  |  ------------------
  |  |  |  |  171|    118|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    118|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  839|    118|        PyObject **dest_end = dest + output_size;
  840|    436|        while (dest < dest_end) {
  ------------------
  |  Branch (840:16): [True: 318, False: 118]
  ------------------
  841|    318|            *dest++ = elem;
  842|    318|        }
  843|    118|    }
  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|    118|    Py_SET_SIZE(np, output_size);
  ------------------
  |  |  216|    118|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|    118|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    118|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  858|    118|    return (PyObject *) np;
  859|    118|}
listobject.c:list_item:
  676|  3.55M|{
  677|  3.55M|    PyListObject *a = (PyListObject *)aa;
  678|  3.55M|    if (!valid_index(i, PyList_GET_SIZE(a))) {
  ------------------
  |  |   38|  3.55M|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.55M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.55M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (678:9): [True: 746, False: 3.55M]
  ------------------
  679|    746|        PyErr_SetObject(PyExc_IndexError, &_Py_STR(list_err));
  ------------------
  |  |  917|    746|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    746|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    746|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  680|    746|        return NULL;
  681|    746|    }
  682|  3.55M|    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|  3.55M|    item = Py_NewRef(a->ob_item[i]);
  ------------------
  |  |  550|  3.55M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  3.55M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.55M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  691|  3.55M|#endif
  692|  3.55M|    return item;
  693|  3.55M|}
listobject.c:list_ass_item:
 1162|  2.17k|{
 1163|  2.17k|    int ret;
 1164|  2.17k|    PyListObject *a = (PyListObject *)aa;
 1165|  2.17k|    Py_BEGIN_CRITICAL_SECTION(a);
  ------------------
  |  |   51|  2.17k|    {
  ------------------
 1166|  2.17k|    ret = list_ass_item_lock_held(a, i, v);
 1167|  2.17k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  2.17k|    }
  ------------------
 1168|  2.17k|    return ret;
 1169|  2.17k|}
listobject.c:list_ass_item_lock_held:
 1139|  2.23M|{
 1140|  2.23M|    if (!valid_index(i, Py_SIZE(a))) {
  ------------------
  |  |  214|  2.23M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.23M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.23M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1140:9): [True: 0, False: 2.23M]
  ------------------
 1141|      0|        PyErr_SetString(PyExc_IndexError,
 1142|      0|                        "list assignment index out of range");
 1143|      0|        return -1;
 1144|      0|    }
 1145|  2.23M|    PyObject *tmp = a->ob_item[i];
 1146|  2.23M|    if (v == NULL) {
  ------------------
  |  Branch (1146:9): [True: 2.17k, False: 2.23M]
  ------------------
 1147|  2.17k|        Py_ssize_t size = Py_SIZE(a);
  ------------------
  |  |  214|  2.17k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1148|  2.17k|        for (Py_ssize_t idx = i; idx < size - 1; idx++) {
  ------------------
  |  Branch (1148:34): [True: 0, False: 2.17k]
  ------------------
 1149|      0|            FT_ATOMIC_STORE_PTR_RELEASE(a->ob_item[idx], a->ob_item[idx + 1]);
  ------------------
  |  |  163|      0|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1150|      0|        }
 1151|  2.17k|        Py_SET_SIZE(a, size - 1);
  ------------------
  |  |  216|  2.17k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  2.17k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1152|  2.17k|    }
 1153|  2.23M|    else {
 1154|  2.23M|        FT_ATOMIC_STORE_PTR_RELEASE(a->ob_item[i], Py_NewRef(v));
  ------------------
  |  |  163|  2.23M|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 1155|  2.23M|    }
 1156|  2.23M|    Py_DECREF(tmp);
  ------------------
  |  |  430|  2.23M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.23M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.23M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1157|  2.23M|    return 0;
 1158|  2.23M|}
listobject.c:list_contains:
  657|  1.52k|{
  658|       |
  659|  12.6k|    for (Py_ssize_t i = 0; ; i++) {
  660|  12.6k|        PyObject *item = list_get_item_ref((PyListObject *)aa, i);
  661|  12.6k|        if (item == NULL) {
  ------------------
  |  Branch (661:13): [True: 1.28k, False: 11.3k]
  ------------------
  662|       |            // out-of-bounds
  663|  1.28k|            return 0;
  664|  1.28k|        }
  665|  11.3k|        int cmp = PyObject_RichCompareBool(item, el, Py_EQ);
  ------------------
  |  |  654|  11.3k|#define Py_EQ 2
  ------------------
  666|  11.3k|        Py_DECREF(item);
  ------------------
  |  |  430|  11.3k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  667|  11.3k|        if (cmp != 0) {
  ------------------
  |  Branch (667:13): [True: 232, False: 11.1k]
  ------------------
  668|    232|            return cmp;
  669|    232|        }
  670|  11.3k|    }
  671|      0|    return 0;
  672|  1.52k|}
listobject.c:list_inplace_concat:
 1565|    326|{
 1566|    326|    PyListObject *self = (PyListObject *)_self;
 1567|    326|    if (_list_extend(self, other) < 0) {
  ------------------
  |  Branch (1567:9): [True: 0, False: 326]
  ------------------
 1568|      0|        return NULL;
 1569|      0|    }
 1570|    326|    return Py_NewRef(self);
  ------------------
  |  |  550|    326|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    326|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    326|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1571|    326|}
listobject.c:list_subscript:
 3690|  3.54M|{
 3691|  3.54M|    PyListObject* self = (PyListObject*)_self;
 3692|  3.54M|    if (_PyIndex_Check(item)) {
  ------------------
  |  Branch (3692:9): [True: 3.54M, False: 31]
  ------------------
 3693|  3.54M|        Py_ssize_t i;
 3694|  3.54M|        i = PyNumber_AsSsize_t(item, PyExc_IndexError);
 3695|  3.54M|        if (i == -1 && PyErr_Occurred())
  ------------------
  |  Branch (3695:13): [True: 3.54M, False: 837]
  |  Branch (3695:24): [True: 0, False: 3.54M]
  ------------------
 3696|      0|            return NULL;
 3697|  3.54M|        if (i < 0)
  ------------------
  |  Branch (3697:13): [True: 3.54M, False: 833]
  ------------------
 3698|  3.54M|            i += PyList_GET_SIZE(self);
  ------------------
  |  |   38|  3.54M|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.54M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.54M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3699|  3.54M|        return list_item((PyObject *)self, i);
 3700|  3.54M|    }
 3701|     31|    else if (PySlice_Check(item)) {
  ------------------
  |  |   22|     31|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  ------------------
  |  |  |  |  215|     31|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     31|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     31|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 31, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3702|     31|        return list_slice_subscript(_self, item);
 3703|     31|    }
 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|  3.54M|}
listobject.c:list_ass_subscript:
 3900|  2.23M|{
 3901|  2.23M|    int res;
 3902|       |#ifdef Py_GIL_DISABLED
 3903|       |    if (PySlice_Check(item) && value != NULL && PyList_CheckExact(value)) {
 3904|       |        Py_BEGIN_CRITICAL_SECTION2(self, value);
 3905|       |        res = list_ass_subscript_lock_held(self, item, value);
 3906|       |        Py_END_CRITICAL_SECTION2();
 3907|       |        return res;
 3908|       |    }
 3909|       |#endif
 3910|  2.23M|    Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|  2.23M|    {
  ------------------
 3911|  2.23M|    res = list_ass_subscript_lock_held(self, item, value);
 3912|  2.23M|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  2.23M|    }
  ------------------
 3913|  2.23M|    return res;
 3914|  2.23M|}
listobject.c:list_ass_subscript_lock_held:
 3731|  2.23M|{
 3732|  2.23M|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(_self);
 3733|       |
 3734|  2.23M|    PyListObject *self = (PyListObject *)_self;
 3735|  2.23M|    if (_PyIndex_Check(item)) {
  ------------------
  |  Branch (3735:9): [True: 2.23M, False: 70]
  ------------------
 3736|  2.23M|        Py_ssize_t i = PyNumber_AsSsize_t(item, PyExc_IndexError);
 3737|  2.23M|        if (i == -1 && PyErr_Occurred())
  ------------------
  |  Branch (3737:13): [True: 2.23M, False: 56]
  |  Branch (3737:24): [True: 0, False: 2.23M]
  ------------------
 3738|      0|            return -1;
 3739|  2.23M|        if (i < 0)
  ------------------
  |  Branch (3739:13): [True: 2.23M, False: 56]
  ------------------
 3740|  2.23M|            i += PyList_GET_SIZE(self);
  ------------------
  |  |   38|  2.23M|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.23M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.23M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3741|  2.23M|        return list_ass_item_lock_held(self, i, value);
 3742|  2.23M|    }
 3743|     70|    else if (PySlice_Check(item)) {
  ------------------
  |  |   22|     70|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_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: 70, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3744|     70|        Py_ssize_t start, stop, step;
 3745|       |
 3746|     70|        if (PySlice_Unpack(item, &start, &stop, &step) < 0) {
  ------------------
  |  Branch (3746:13): [True: 0, False: 70]
  ------------------
 3747|      0|            return -1;
 3748|      0|        }
 3749|       |
 3750|     70|        if (value == NULL) {
  ------------------
  |  Branch (3750:13): [True: 50, False: 20]
  ------------------
 3751|       |            /* delete slice */
 3752|     50|            PyObject **garbage;
 3753|     50|            size_t cur;
 3754|     50|            Py_ssize_t i;
 3755|     50|            int res;
 3756|       |
 3757|     50|            Py_ssize_t slicelength = adjust_slice_indexes(self, &start, &stop,
 3758|     50|                                                          step);
 3759|       |
 3760|     50|            if (step == 1)
  ------------------
  |  Branch (3760:17): [True: 50, False: 0]
  ------------------
 3761|     50|                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|                memmove(self->ob_item + cur - i,
 3797|      0|                    self->ob_item + cur + 1,
 3798|      0|                    lim * sizeof(PyObject *));
 3799|      0|            }
 3800|      0|            cur = start + (size_t)slicelength * step;
 3801|      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 (3801:17): [True: 0, False: 0]
  ------------------
 3802|      0|                memmove(self->ob_item + cur - slicelength,
 3803|      0|                    self->ob_item + cur,
 3804|      0|                    (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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3805|      0|                     sizeof(PyObject *));
 3806|      0|            }
 3807|       |
 3808|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3809|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3810|       |
 3811|      0|            for (i = 0; i < slicelength; i++) {
  ------------------
  |  Branch (3811:25): [True: 0, False: 0]
  ------------------
 3812|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3813|      0|            }
 3814|      0|            PyMem_Free(garbage);
 3815|       |
 3816|      0|            return res;
 3817|      0|        }
 3818|     20|        else {
 3819|       |            /* assign slice */
 3820|     20|            PyObject *ins, *seq;
 3821|     20|            PyObject **garbage, **seqitems, **selfitems;
 3822|     20|            Py_ssize_t i;
 3823|     20|            size_t cur;
 3824|       |
 3825|       |            /* protect against a[::-1] = a */
 3826|     20|            if (self == (PyListObject*)value) {
  ------------------
  |  Branch (3826:17): [True: 0, False: 20]
  ------------------
 3827|      0|                seq = list_slice_lock_held((PyListObject *)value, 0,
 3828|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3829|      0|            }
 3830|     20|            else {
 3831|     20|                seq = PySequence_Fast(value,
 3832|     20|                                      "must assign iterable "
 3833|     20|                                      "to extended slice");
 3834|     20|            }
 3835|     20|            if (!seq)
  ------------------
  |  Branch (3835:17): [True: 0, False: 20]
  ------------------
 3836|      0|                return -1;
 3837|       |
 3838|     20|            Py_ssize_t slicelength = adjust_slice_indexes(self, &start, &stop,
 3839|     20|                                                          step);
 3840|       |
 3841|     20|            if (step == 1) {
  ------------------
  |  Branch (3841:17): [True: 20, False: 0]
  ------------------
 3842|     20|                int res = list_ass_slice_lock_held(self, start, stop, seq);
 3843|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3844|     20|                return res;
 3845|     20|            }
 3846|       |
 3847|      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 (3847:17): [True: 0, False: 0]
  ------------------
 3848|      0|                PyErr_Format(PyExc_ValueError,
 3849|      0|                    "attempt to assign sequence of "
 3850|      0|                    "size %zd to extended slice of "
 3851|      0|                    "size %zd",
 3852|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3853|      0|                         slicelength);
 3854|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3855|      0|                return -1;
 3856|      0|            }
 3857|       |
 3858|      0|            if (!slicelength) {
  ------------------
  |  Branch (3858:17): [True: 0, False: 0]
  ------------------
 3859|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3860|      0|                return 0;
 3861|      0|            }
 3862|       |
 3863|      0|            garbage = (PyObject**)
 3864|      0|                PyMem_Malloc(slicelength*sizeof(PyObject*));
 3865|      0|            if (!garbage) {
  ------------------
  |  Branch (3865:17): [True: 0, False: 0]
  ------------------
 3866|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3867|      0|                PyErr_NoMemory();
 3868|      0|                return -1;
 3869|      0|            }
 3870|       |
 3871|      0|            selfitems = self->ob_item;
 3872|      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)
  ------------------
 3873|      0|            for (cur = start, i = 0; i < slicelength;
  ------------------
  |  Branch (3873:38): [True: 0, False: 0]
  ------------------
 3874|      0|                 cur += (size_t)step, i++) {
 3875|      0|                garbage[i] = selfitems[cur];
 3876|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3877|      0|                FT_ATOMIC_STORE_PTR_RELEASE(selfitems[cur], ins);
  ------------------
  |  |  163|      0|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 3878|      0|            }
 3879|       |
 3880|      0|            for (i = 0; i < slicelength; i++) {
  ------------------
  |  Branch (3880:25): [True: 0, False: 0]
  ------------------
 3881|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3882|      0|            }
 3883|       |
 3884|      0|            PyMem_Free(garbage);
 3885|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3886|       |
 3887|      0|            return 0;
 3888|      0|        }
 3889|     70|    }
 3890|      0|    else {
 3891|      0|        PyErr_Format(PyExc_TypeError,
 3892|      0|                     "list indices must be integers or slices, not %.200s",
 3893|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3894|      0|        return -1;
 3895|      0|    }
 3896|  2.23M|}
listobject.c:adjust_slice_indexes:
 3716|     70|{
 3717|     70|    Py_ssize_t slicelength = PySlice_AdjustIndices(Py_SIZE(lst), start, stop,
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3718|     70|                                                   step);
 3719|       |
 3720|       |    /* Make sure s[5:2] = [..] inserts at the right place:
 3721|       |        before 5, not before 2. */
 3722|     70|    if ((step < 0 && *start < *stop) ||
  ------------------
  |  Branch (3722:10): [True: 0, False: 70]
  |  Branch (3722:22): [True: 0, False: 0]
  ------------------
 3723|     70|        (step > 0 && *start > *stop))
  ------------------
  |  Branch (3723:10): [True: 70, False: 0]
  |  Branch (3723:22): [True: 0, False: 70]
  ------------------
 3724|      0|        *stop = *start;
 3725|       |
 3726|     70|    return slicelength;
 3727|     70|}
listobject.c:list_traverse:
 3429|  80.3k|{
 3430|  80.3k|    PyListObject *o = (PyListObject *)self;
 3431|  80.3k|    Py_ssize_t i;
 3432|       |
 3433|   933k|    for (i = Py_SIZE(o); --i >= 0; )
  ------------------
  |  |  214|  80.3k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  80.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  80.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3433:26): [True: 853k, False: 80.3k]
  ------------------
 3434|   853k|        Py_VISIT(o->ob_item[i]);
  ------------------
  |  |  194|   853k|    do {                                                                \
  |  |  195|   853k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 853k, False: 0]
  |  |  ------------------
  |  |  196|   853k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|   853k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   853k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|   853k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 853k]
  |  |  ------------------
  |  |  198|   853k|                return vret;                                            \
  |  |  199|   853k|        }                                                               \
  |  |  200|   853k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 853k]
  |  |  ------------------
  ------------------
 3435|  80.3k|    return 0;
 3436|  80.3k|}
listobject.c:list_richcompare:
 3503|  13.4k|{
 3504|  13.4k|    PyObject *ret;
 3505|  13.4k|    Py_BEGIN_CRITICAL_SECTION2(v, w);
  ------------------
  |  |   57|  13.4k|    {
  ------------------
 3506|  13.4k|    ret = list_richcompare_impl(v, w, op);
 3507|  13.4k|    Py_END_CRITICAL_SECTION2()
  ------------------
  |  |   61|  13.4k|    }
  ------------------
 3508|  13.4k|    return ret;
 3509|  13.4k|}
listobject.c:list_richcompare_impl:
 3440|  13.4k|{
 3441|  13.4k|    PyListObject *vl, *wl;
 3442|  13.4k|    Py_ssize_t i;
 3443|       |
 3444|  13.4k|    if (!PyList_Check(v) || !PyList_Check(w))
  ------------------
  |  |   25|  13.4k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  26.8k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                  if (!PyList_Check(v) || !PyList_Check(w))
  ------------------
  |  |   25|  13.4k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  13.4k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3444:9): [True: 0, False: 13.4k]
  |  Branch (3444:29): [True: 482, False: 12.9k]
  ------------------
 3445|    482|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|    482|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|    482|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 3446|       |
 3447|  12.9k|    vl = (PyListObject *)v;
 3448|  12.9k|    wl = (PyListObject *)w;
 3449|       |
 3450|  12.9k|    if (Py_SIZE(vl) != Py_SIZE(wl) && (op == Py_EQ || op == Py_NE)) {
  ------------------
  |  |  214|  12.9k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  12.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (Py_SIZE(vl) != Py_SIZE(wl) && (op == Py_EQ || op == Py_NE)) {
  ------------------
  |  |  214|  25.8k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  12.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (Py_SIZE(vl) != Py_SIZE(wl) && (op == Py_EQ || op == Py_NE)) {
  ------------------
  |  |  654|  9.05k|#define Py_EQ 2
  ------------------
                  if (Py_SIZE(vl) != Py_SIZE(wl) && (op == Py_EQ || op == Py_NE)) {
  ------------------
  |  |  655|      0|#define Py_NE 3
  ------------------
  |  Branch (3450:9): [True: 4.52k, False: 8.41k]
  |  Branch (3450:40): [True: 4.52k, False: 0]
  |  Branch (3450:55): [True: 0, False: 0]
  ------------------
 3451|       |        /* Shortcut: if the lengths differ, the lists differ */
 3452|  4.52k|        if (op == Py_EQ)
  ------------------
  |  |  654|  4.52k|#define Py_EQ 2
  ------------------
  |  Branch (3452:13): [True: 4.52k, False: 0]
  ------------------
 3453|  4.52k|            Py_RETURN_FALSE;
  ------------------
  |  |   45|  4.52k|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|  4.52k|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3454|      0|        else
 3455|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3456|  4.52k|    }
 3457|       |
 3458|       |    /* Search for the first index where items are different */
 3459|  26.9k|    for (i = 0; i < Py_SIZE(vl) && i < Py_SIZE(wl); i++) {
  ------------------
  |  |  214|  53.9k|#  define Py_SIZE(ob) _Py_SIZE_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  for (i = 0; i < Py_SIZE(vl) && i < Py_SIZE(wl); i++) {
  ------------------
  |  |  214|  18.7k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  18.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3459:17): [True: 18.7k, False: 8.20k]
  |  Branch (3459:36): [True: 18.7k, False: 0]
  ------------------
 3460|  18.7k|        PyObject *vitem = vl->ob_item[i];
 3461|  18.7k|        PyObject *witem = wl->ob_item[i];
 3462|  18.7k|        if (vitem == witem) {
  ------------------
  |  Branch (3462:13): [True: 18.5k, False: 212]
  ------------------
 3463|  18.5k|            continue;
 3464|  18.5k|        }
 3465|       |
 3466|    212|        Py_INCREF(vitem);
  ------------------
  |  |  310|    212|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    212|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    212|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3467|    212|        Py_INCREF(witem);
  ------------------
  |  |  310|    212|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    212|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    212|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3468|    212|        int k = PyObject_RichCompareBool(vitem, witem, Py_EQ);
  ------------------
  |  |  654|    212|#define Py_EQ 2
  ------------------
 3469|    212|        Py_DECREF(vitem);
  ------------------
  |  |  430|    212|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    212|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    212|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3470|    212|        Py_DECREF(witem);
  ------------------
  |  |  430|    212|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    212|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    212|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3471|    212|        if (k < 0)
  ------------------
  |  Branch (3471:13): [True: 0, False: 212]
  ------------------
 3472|      0|            return NULL;
 3473|    212|        if (!k)
  ------------------
  |  Branch (3473:13): [True: 206, False: 6]
  ------------------
 3474|    206|            break;
 3475|    212|    }
 3476|       |
 3477|  8.41k|    if (i >= Py_SIZE(vl) || i >= Py_SIZE(wl)) {
  ------------------
  |  |  214|  16.8k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (i >= Py_SIZE(vl) || i >= Py_SIZE(wl)) {
  ------------------
  |  |  214|    206|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    206|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    206|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3477:9): [True: 8.20k, False: 206]
  |  Branch (3477:29): [True: 0, False: 206]
  ------------------
 3478|       |        /* No more items to compare -- compare sizes */
 3479|  8.20k|        Py_RETURN_RICHCOMPARE(Py_SIZE(vl), Py_SIZE(wl), op);
  ------------------
  |  |  674|  8.20k|    do {                                                                    \
  |  |  675|  8.20k|        switch (op) {                                                       \
  |  |  676|  8.18k|        case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  654|  8.18k|#define Py_EQ 2
  |  |  ------------------
  |  |                       case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|  8.18k|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|  8.18k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  8.18k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  8.18k|#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: 8.18k, False: 18]
  |  |  |  Branch (676:25): [True: 8.18k, False: 0]
  |  |  ------------------
  |  |  677|  8.18k|        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: 8.18k]
  |  |  |  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: 8.20k]
  |  |  |  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: 8.20k]
  |  |  |  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: 8.20k]
  |  |  |  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: 8.20k]
  |  |  |  Branch (681:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  682|      0|        default:                                                            \
  |  |  ------------------
  |  |  |  Branch (682:9): [True: 0, False: 8.20k]
  |  |  ------------------
  |  |  683|      0|            Py_UNREACHABLE();                                               \
  |  |  ------------------
  |  |  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  |  |  ------------------
  |  |  684|  8.20k|        }                                                                   \
  |  |  685|  8.20k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (685:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3480|  8.20k|    }
 3481|       |
 3482|       |    /* We have an item that differs -- shortcuts for EQ/NE */
 3483|    206|    if (op == Py_EQ) {
  ------------------
  |  |  654|    206|#define Py_EQ 2
  ------------------
  |  Branch (3483:9): [True: 204, False: 2]
  ------------------
 3484|    204|        Py_RETURN_FALSE;
  ------------------
  |  |   45|    204|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|    204|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    204|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    204|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3485|    204|    }
 3486|      2|    if (op == Py_NE) {
  ------------------
  |  |  655|      2|#define Py_NE 3
  ------------------
  |  Branch (3486:9): [True: 2, False: 0]
  ------------------
 3487|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3488|      2|    }
 3489|       |
 3490|       |    /* Compare the final item again using the proper operator */
 3491|      0|    PyObject *vitem = vl->ob_item[i];
 3492|      0|    PyObject *witem = wl->ob_item[i];
 3493|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3494|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3495|      0|    PyObject *result = PyObject_RichCompare(vl->ob_item[i], wl->ob_item[i], op);
 3496|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3497|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3498|      0|    return result;
 3499|      2|}
listobject.c:list___reversed___impl:
 4193|  3.97k|{
 4194|  3.97k|    listreviterobject *it;
 4195|       |
 4196|  3.97k|    it = PyObject_GC_New(listreviterobject, &PyListRevIter_Type);
  ------------------
  |  |  181|  3.97k|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|  3.97k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 4197|  3.97k|    if (it == NULL)
  ------------------
  |  Branch (4197:9): [True: 0, False: 3.97k]
  ------------------
 4198|      0|        return NULL;
 4199|  3.97k|    assert(PyList_Check(self));
 4200|  3.97k|    it->it_index = PyList_GET_SIZE(self) - 1;
  ------------------
  |  |   38|  3.97k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.97k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.97k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4201|  3.97k|    it->it_seq = (PyListObject*)Py_NewRef(self);
  ------------------
  |  |  550|  3.97k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  3.97k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.97k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4202|  3.97k|    PyObject_GC_Track(it);
 4203|  3.97k|    return (PyObject *)it;
 4204|  3.97k|}
listobject.c:py_list_clear_impl:
 1202|  3.77k|{
 1203|  3.77k|    list_clear(self);
 1204|  3.77k|    Py_RETURN_NONE;
  ------------------
  |  |  628|  3.77k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  3.77k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1205|  3.77k|}
listobject.c:list_append_impl:
 1234|  16.0k|{
 1235|  16.0k|    if (_PyList_AppendTakeRef(self, Py_NewRef(object)) < 0) {
  ------------------
  |  |  550|  16.0k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  16.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1235:9): [True: 0, False: 16.0k]
  ------------------
 1236|      0|        return NULL;
 1237|      0|    }
 1238|  16.0k|    Py_RETURN_NONE;
  ------------------
  |  |  628|  16.0k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  16.0k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1239|  16.0k|}
listobject.c:list_insert_impl:
 1185|     30|{
 1186|     30|    if (ins1(self, index, object) == 0) {
  ------------------
  |  Branch (1186:9): [True: 30, False: 0]
  ------------------
 1187|     30|        Py_RETURN_NONE;
  ------------------
  |  |  628|     30|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     30|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1188|     30|    }
 1189|      0|    return NULL;
 1190|     30|}
listobject.c:list_pop_impl:
 1588|  2.40M|{
 1589|  2.40M|    PyObject *v;
 1590|       |
 1591|  2.40M|    if (Py_SIZE(self) == 0) {
  ------------------
  |  |  214|  2.40M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.40M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.40M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1591:9): [True: 0, False: 2.40M]
  ------------------
 1592|       |        /* Special-case most common failure cause */
 1593|      0|        PyErr_SetString(PyExc_IndexError, "pop from empty list");
 1594|      0|        return NULL;
 1595|      0|    }
 1596|  2.40M|    if (index < 0)
  ------------------
  |  Branch (1596:9): [True: 2.40M, False: 0]
  ------------------
 1597|  2.40M|        index += Py_SIZE(self);
  ------------------
  |  |  214|  2.40M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.40M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.40M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1598|  2.40M|    if (!valid_index(index, Py_SIZE(self))) {
  ------------------
  |  |  214|  2.40M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.40M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.40M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1598:9): [True: 0, False: 2.40M]
  ------------------
 1599|      0|        PyErr_SetString(PyExc_IndexError, "pop index out of range");
 1600|      0|        return NULL;
 1601|      0|    }
 1602|       |
 1603|  2.40M|    PyObject **items = self->ob_item;
 1604|  2.40M|    v = items[index];
 1605|  2.40M|    if (Py_SIZE(self) == 1) {
  ------------------
  |  |  214|  2.40M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.40M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.40M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1605:9): [True: 18.0k, False: 2.38M]
  ------------------
 1606|  18.0k|        Py_INCREF(v);
  ------------------
  |  |  310|  18.0k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  18.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1607|  18.0k|        list_clear(self);
 1608|  18.0k|        return v;
 1609|  18.0k|    }
 1610|  2.38M|    Py_ssize_t size_after_pop = Py_SIZE(self) - 1;
  ------------------
  |  |  214|  2.38M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.38M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.38M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1611|  2.38M|    if (index < size_after_pop) {
  ------------------
  |  Branch (1611:9): [True: 0, False: 2.38M]
  ------------------
 1612|      0|        ptr_wise_atomic_memmove(self, &items[index], &items[index+1],
 1613|      0|                                size_after_pop - index);
 1614|      0|    }
 1615|  2.38M|    list_resize(self, size_after_pop);  // NB: shrinking a list can't fail
 1616|  2.38M|    return v;
 1617|  2.40M|}
listobject.c:list_remove_impl:
 3407|  8.44k|{
 3408|  8.44k|    Py_ssize_t i;
 3409|       |
 3410|  8.45k|    for (i = 0; i < Py_SIZE(self); i++) {
  ------------------
  |  |  214|  8.45k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.45k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.45k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3410:17): [True: 8.45k, False: 0]
  ------------------
 3411|  8.45k|        PyObject *obj = self->ob_item[i];
 3412|  8.45k|        Py_INCREF(obj);
  ------------------
  |  |  310|  8.45k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.45k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.45k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3413|  8.45k|        int cmp = PyObject_RichCompareBool(obj, value, Py_EQ);
  ------------------
  |  |  654|  8.45k|#define Py_EQ 2
  ------------------
 3414|  8.45k|        Py_DECREF(obj);
  ------------------
  |  |  430|  8.45k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.45k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.45k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3415|  8.45k|        if (cmp > 0) {
  ------------------
  |  Branch (3415:13): [True: 8.44k, False: 8]
  ------------------
 3416|  8.44k|            if (list_ass_slice_lock_held(self, i, i+1, NULL) == 0)
  ------------------
  |  Branch (3416:17): [True: 8.44k, False: 0]
  ------------------
 3417|  8.44k|                Py_RETURN_NONE;
  ------------------
  |  |  628|  8.44k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  8.44k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 3418|      0|            return NULL;
 3419|  8.44k|        }
 3420|      8|        else if (cmp < 0)
  ------------------
  |  Branch (3420:18): [True: 0, False: 8]
  ------------------
 3421|      0|            return NULL;
 3422|  8.45k|    }
 3423|      0|    PyErr_SetString(PyExc_ValueError, "list.remove(x): x not in list");
 3424|       |    return NULL;
 3425|  8.44k|}
listobject.c:list_count_impl:
 3369|     12|{
 3370|     12|    Py_ssize_t count = 0;
 3371|     72|    for (Py_ssize_t i = 0; ; i++) {
 3372|     72|        PyObject *obj = list_get_item_ref(self, i);
 3373|     72|        if (obj == NULL) {
  ------------------
  |  Branch (3373:13): [True: 12, False: 60]
  ------------------
 3374|       |            // out-of-bounds
 3375|     12|            break;
 3376|     12|        }
 3377|     60|        if (obj == value) {
  ------------------
  |  Branch (3377:13): [True: 48, False: 12]
  ------------------
 3378|     48|           count++;
 3379|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3380|     48|           continue;
 3381|     48|        }
 3382|     12|        int cmp = PyObject_RichCompareBool(obj, value, Py_EQ);
  ------------------
  |  |  654|     12|#define Py_EQ 2
  ------------------
 3383|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3384|     12|        if (cmp > 0)
  ------------------
  |  Branch (3384:13): [True: 0, False: 12]
  ------------------
 3385|      0|            count++;
 3386|     12|        else if (cmp < 0)
  ------------------
  |  Branch (3386:18): [True: 0, False: 12]
  ------------------
 3387|      0|            return NULL;
 3388|     12|    }
 3389|     12|    return PyLong_FromSsize_t(count);
 3390|     12|}
listobject.c:list___init___impl:
 3526|  16.9k|{
 3527|       |    /* Verify list invariants established by PyType_GenericAlloc() */
 3528|  16.9k|    assert(0 <= Py_SIZE(self));
 3529|  16.9k|    assert(Py_SIZE(self) <= self->allocated || self->allocated == -1);
 3530|  16.9k|    assert(self->ob_item != NULL ||
 3531|  16.9k|           self->allocated == 0 || self->allocated == -1);
 3532|       |
 3533|       |    /* Empty previous contents */
 3534|  16.9k|    if (self->ob_item != NULL) {
  ------------------
  |  Branch (3534:9): [True: 0, False: 16.9k]
  ------------------
 3535|      0|        Py_BEGIN_CRITICAL_SECTION(self);
  ------------------
  |  |   51|      0|    {
  ------------------
 3536|      0|        list_clear(self);
 3537|      0|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 3538|      0|    }
 3539|  16.9k|    if (iterable != NULL) {
  ------------------
  |  Branch (3539:9): [True: 8.52k, False: 8.44k]
  ------------------
 3540|  8.52k|        if (_list_extend(self, iterable) < 0) {
  ------------------
  |  Branch (3540:13): [True: 0, False: 8.52k]
  ------------------
 3541|      0|            return -1;
 3542|      0|        }
 3543|  8.52k|    }
 3544|  16.9k|    return 0;
 3545|  16.9k|}
listobject.c:list_vectorcall:
 3550|  20.3k|{
 3551|  20.3k|    if (!_PyArg_NoKwnames("list", kwnames)) {
  ------------------
  |  |   15|  20.3k|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (15:6): [True: 20.3k, False: 0]
  |  |  |  Branch (15:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3552|      0|        return NULL;
 3553|      0|    }
 3554|  20.3k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  20.3k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
 3555|  20.3k|    if (!_PyArg_CheckPositional("list", nargs, 0, 1)) {
  ------------------
  |  |   31|  20.3k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 20.3k, False: 0]
  |  |  |  Branch (31:27): [True: 20.3k, False: 0]
  |  |  ------------------
  |  |   32|  20.3k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3556|      0|        return NULL;
 3557|      0|    }
 3558|       |
 3559|  20.3k|    PyObject *list = PyType_GenericAlloc(_PyType_CAST(type), 0);
  ------------------
  |  |  770|  20.3k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  20.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 3560|  20.3k|    if (list == NULL) {
  ------------------
  |  Branch (3560:9): [True: 0, False: 20.3k]
  ------------------
 3561|      0|        return NULL;
 3562|      0|    }
 3563|  20.3k|    if (nargs) {
  ------------------
  |  Branch (3563:9): [True: 8.52k, False: 11.7k]
  ------------------
 3564|  8.52k|        if (list___init___impl((PyListObject *)list, args[0])) {
  ------------------
  |  Branch (3564:13): [True: 0, False: 8.52k]
  ------------------
 3565|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3566|      0|            return NULL;
 3567|      0|        }
 3568|  8.52k|    }
 3569|  20.3k|    return list;
 3570|  20.3k|}
listobject.c:list_iteritem:
 3918|  2.77k|{
 3919|  2.77k|    PyObject *result = list_get_item_ref((PyListObject *)obj, index);
 3920|  2.77k|    return (_PyObjectIndexPair) { .object = result, .index = index + 1 };
 3921|  2.77k|}
listobject.c:list_iter:
 4033|  32.8k|{
 4034|  32.8k|    if (!PyList_Check(seq)) {
  ------------------
  |  |   25|  32.8k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  32.8k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4034:9): [True: 0, False: 32.8k]
  ------------------
 4035|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 4036|      0|        return NULL;
 4037|      0|    }
 4038|  32.8k|    _PyListIterObject *it = _Py_FREELIST_POP(_PyListIterObject, list_iters);
  ------------------
  |  |   43|  32.8k|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  32.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 4039|  32.8k|    if (it == NULL) {
  ------------------
  |  Branch (4039:9): [True: 14, False: 32.8k]
  ------------------
 4040|     14|        it = PyObject_GC_New(_PyListIterObject, &PyListIter_Type);
  ------------------
  |  |  181|     14|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|     14|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 4041|     14|        if (it == NULL) {
  ------------------
  |  Branch (4041:13): [True: 0, False: 14]
  ------------------
 4042|      0|            return NULL;
 4043|      0|        }
 4044|     14|    }
 4045|  32.8k|    it->it_index = 0;
 4046|  32.8k|    it->it_seq = (PyListObject *)Py_NewRef(seq);
  ------------------
  |  |  550|  32.8k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  32.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  32.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4047|  32.8k|    _PyObject_GC_TRACK(it);
  ------------------
  |  |  508|  32.8k|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  32.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  32.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4048|  32.8k|    return (PyObject *)it;
 4049|  32.8k|}
listobject.c:listiter_dealloc:
 4053|  32.8k|{
 4054|  32.8k|    _PyListIterObject *it = (_PyListIterObject *)self;
 4055|  32.8k|    _PyObject_GC_UNTRACK(it);
  ------------------
  |  |  510|  32.8k|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  32.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  32.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4056|  32.8k|    Py_XDECREF(it->it_seq);
  ------------------
  |  |  524|  32.8k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  32.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  32.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4057|  32.8k|    assert(Py_IS_TYPE(self, &PyListIter_Type));
 4058|  32.8k|    _Py_FREELIST_FREE(list_iters, it, PyObject_GC_Del);
  ------------------
  |  |   35|  32.8k|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  32.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  32.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  32.8k|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   14|  32.8k|#  define Py_list_iters_MAXFREELIST 10
  |  |  ------------------
  ------------------
 4059|  32.8k|}
listobject.c:listiter_next:
 4070|   111k|{
 4071|   111k|    _PyListIterObject *it = (_PyListIterObject *)self;
 4072|   111k|    Py_ssize_t index = FT_ATOMIC_LOAD_SSIZE_RELAXED(it->it_index);
  ------------------
  |  |  148|   111k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 4073|   111k|    if (index < 0) {
  ------------------
  |  Branch (4073:9): [True: 0, False: 111k]
  ------------------
 4074|      0|        return NULL;
 4075|      0|    }
 4076|       |
 4077|   111k|    PyObject *item = list_get_item_ref(it->it_seq, index);
 4078|   111k|    if (item == NULL) {
  ------------------
  |  Branch (4078:9): [True: 32.4k, False: 79.0k]
  ------------------
 4079|       |        // out-of-bounds
 4080|  32.4k|        FT_ATOMIC_STORE_SSIZE_RELAXED(it->it_index, -1);
  ------------------
  |  |  193|  32.4k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
 4081|  32.4k|#ifndef Py_GIL_DISABLED
 4082|  32.4k|        PyListObject *seq = it->it_seq;
 4083|  32.4k|        it->it_seq = NULL;
 4084|  32.4k|        Py_DECREF(seq);
  ------------------
  |  |  430|  32.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  32.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  32.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4085|  32.4k|#endif
 4086|  32.4k|        return NULL;
 4087|  32.4k|    }
 4088|  79.0k|    FT_ATOMIC_STORE_SSIZE_RELAXED(it->it_index, index + 1);
  ------------------
  |  |  193|  79.0k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
 4089|  79.0k|    return item;
 4090|   111k|}
listobject.c:listreviter_dealloc:
 4208|  3.97k|{
 4209|  3.97k|    listreviterobject *it = (listreviterobject *)self;
 4210|  3.97k|    PyObject_GC_UnTrack(it);
 4211|  3.97k|    Py_XDECREF(it->it_seq);
  ------------------
  |  |  524|  3.97k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.97k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.97k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4212|  3.97k|    PyObject_GC_Del(it);
 4213|  3.97k|}
listobject.c:listreviter_traverse:
 4217|      4|{
 4218|      4|    Py_VISIT(((listreviterobject *)it)->it_seq);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 4219|      4|    return 0;
 4220|      4|}
listobject.c:listreviter_next:
 4224|  8.14k|{
 4225|  8.14k|    listreviterobject *it = (listreviterobject *)self;
 4226|  8.14k|    assert(it != NULL);
 4227|  8.14k|    Py_ssize_t index = FT_ATOMIC_LOAD_SSIZE_RELAXED(it->it_index);
  ------------------
  |  |  148|  8.14k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 4228|  8.14k|    if (index < 0) {
  ------------------
  |  Branch (4228:9): [True: 3.94k, False: 4.20k]
  ------------------
 4229|  3.94k|        return NULL;
 4230|  3.94k|    }
 4231|       |
 4232|  4.20k|    PyListObject *seq = it->it_seq;
 4233|  4.20k|    assert(PyList_Check(seq));
 4234|  4.20k|    PyObject *item = list_get_item_ref(seq, index);
 4235|  4.20k|    if (item != NULL) {
  ------------------
  |  Branch (4235:9): [True: 4.20k, False: 0]
  ------------------
 4236|  4.20k|        FT_ATOMIC_STORE_SSIZE_RELAXED(it->it_index, index - 1);
  ------------------
  |  |  193|  4.20k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
 4237|  4.20k|        return item;
 4238|  4.20k|    }
 4239|      0|    FT_ATOMIC_STORE_SSIZE_RELAXED(it->it_index, -1);
  ------------------
  |  |  193|      0|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
 4240|      0|#ifndef Py_GIL_DISABLED
 4241|      0|    it->it_seq = NULL;
 4242|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4243|      0|#endif
 4244|       |    return NULL;
 4245|  4.20k|}

_PyLong_Copy:
  223|  40.2k|{
  224|  40.2k|    assert(src != NULL);
  225|  40.2k|    int sign;
  226|       |
  227|  40.2k|    if (_PyLong_IsCompact(src)) {
  ------------------
  |  Branch (227:9): [True: 39.5k, False: 680]
  ------------------
  228|  39.5k|        stwodigits ival = medium_value(src);
  ------------------
  |  |   27|  39.5k|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
  229|  39.5k|        if (IS_SMALL_INT(ival)) {
  ------------------
  |  |   29|  39.5k|#define IS_SMALL_INT(ival) _PY_IS_SMALL_INT(ival)
  |  |  ------------------
  |  |  |  |   68|  39.5k|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   98|  39.5k|#define _PY_NSMALLNEGINTS           5
  |  |  |  |  ------------------
  |  |  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   97|  39.5k|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (68:6): [True: 39.5k, False: 0]
  |  |  |  |  |  Branch (68:37): [True: 39.5k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  230|  39.5k|            return get_small_int((sdigit)ival);
  231|  39.5k|        }
  232|      0|        sign = _PyLong_CompactSign(src);
  233|      0|    }
  234|    680|    else {
  235|    680|        sign = _PyLong_NonCompactSign(src);
  236|    680|    }
  237|       |
  238|    680|    Py_ssize_t size = _PyLong_DigitCount(src);
  239|    680|    PyLongObject *result = long_alloc(size);
  240|       |
  241|    680|    if (result == NULL) {
  ------------------
  |  Branch (241:9): [True: 0, False: 680]
  ------------------
  242|      0|        return NULL;
  243|      0|    }
  244|    680|    _PyLong_SetSignAndDigitCount(result, sign, size);
  245|    680|    memcpy(result->long_value.ob_digit, src->long_value.ob_digit,
  246|    680|           size * sizeof(digit));
  247|    680|    return (PyObject *)result;
  248|    680|}
PyLong_FromLong:
  408|  14.9M|{
  409|       |    PYLONG_FROM_INT(unsigned long, long, ival);
  ------------------
  |  |  371|  14.9M|    do {                                                                            \
  |  |  372|  14.9M|        /* Handle small and medium cases. */                                        \
  |  |  373|  14.9M|        if (IS_SMALL_INT(ival)) {                                                   \
  |  |  ------------------
  |  |  |  |   29|  14.9M|#define IS_SMALL_INT(ival) _PY_IS_SMALL_INT(ival)
  |  |  |  |  ------------------
  |  |  |  |  |  |   68|  14.9M|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   98|  14.9M|#define _PY_NSMALLNEGINTS           5
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   97|  14.9M|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (68:6): [True: 14.9M, False: 52]
  |  |  |  |  |  |  |  Branch (68:37): [True: 12.6M, False: 2.35M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  374|  12.6M|            return get_small_int((sdigit)(ival));                                   \
  |  |  375|  12.6M|        }                                                                           \
  |  |  376|  14.9M|        if (-(INT_TYPE)PyLong_MASK <= (ival) && (ival) <= (INT_TYPE)PyLong_MASK) {  \
  |  |  ------------------
  |  |  |  |   62|  2.35M|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|  2.35M|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  2.35M|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (-(INT_TYPE)PyLong_MASK <= (ival) && (ival) <= (INT_TYPE)PyLong_MASK) {  \
  |  |  ------------------
  |  |  |  |   62|  2.35M|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|  2.35M|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  2.35M|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (376:13): [True: 2.35M, False: 0]
  |  |  |  Branch (376:49): [True: 2.35M, False: 4.02k]
  |  |  ------------------
  |  |  377|  2.35M|            return _PyLong_FromMedium((sdigit)(ival));                              \
  |  |  378|  2.35M|        }                                                                           \
  |  |  379|  2.35M|        UINT_TYPE abs_ival = (ival) < 0 ? 0U-(UINT_TYPE)(ival) : (UINT_TYPE)(ival); \
  |  |  ------------------
  |  |  |  Branch (379:30): [True: 0, False: 4.02k]
  |  |  ------------------
  |  |  380|  4.02k|        /* Do shift in two steps to avoid possible undefined behavior. */           \
  |  |  381|  4.02k|        UINT_TYPE t = abs_ival >> PyLong_SHIFT >> PyLong_SHIFT;                     \
  |  |  ------------------
  |  |  |  |   47|  4.02k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |                       UINT_TYPE t = abs_ival >> PyLong_SHIFT >> PyLong_SHIFT;                     \
  |  |  ------------------
  |  |  |  |   47|  4.02k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  382|  4.02k|        /* Count digits (at least two - smaller cases were handled above). */       \
  |  |  383|  4.02k|        Py_ssize_t ndigits = 2;                                                     \
  |  |  384|  4.02k|        while (t) {                                                                 \
  |  |  ------------------
  |  |  |  Branch (384:16): [True: 0, False: 4.02k]
  |  |  ------------------
  |  |  385|      0|            ++ndigits;                                                              \
  |  |  386|      0|            t >>= PyLong_SHIFT;                                                     \
  |  |  ------------------
  |  |  |  |   47|      0|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  387|      0|        }                                                                           \
  |  |  388|  4.02k|        /* Construct output value. */                                               \
  |  |  389|  4.02k|        PyLongObject *v = long_alloc(ndigits);                                      \
  |  |  390|  4.02k|        if (v == NULL) {                                                            \
  |  |  ------------------
  |  |  |  Branch (390:13): [True: 0, False: 4.02k]
  |  |  ------------------
  |  |  391|      0|            return NULL;                                                            \
  |  |  392|      0|        }                                                                           \
  |  |  393|  4.02k|        digit *p = v->long_value.ob_digit;                                          \
  |  |  394|  4.02k|        _PyLong_SetSignAndDigitCount(v, (ival) < 0 ? -1 : 1, ndigits);              \
  |  |  ------------------
  |  |  |  Branch (394:41): [True: 0, False: 4.02k]
  |  |  ------------------
  |  |  395|  4.02k|        t = abs_ival;                                                               \
  |  |  396|  12.0k|        while (t) {                                                                 \
  |  |  ------------------
  |  |  |  Branch (396:16): [True: 8.05k, False: 4.02k]
  |  |  ------------------
  |  |  397|  8.05k|            *p++ = (digit)(t & PyLong_MASK);                                        \
  |  |  ------------------
  |  |  |  |   62|  8.05k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|  8.05k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  8.05k|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  398|  8.05k|            t >>= PyLong_SHIFT;                                                     \
  |  |  ------------------
  |  |  |  |   47|  8.05k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  399|  8.05k|        }                                                                           \
  |  |  400|  4.02k|        return (PyObject *)v;                                                       \
  |  |  401|  4.02k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (401:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  410|  14.9M|}
PyLong_FromUnsignedLong:
  446|  6.65M|{
  447|       |    PYLONG_FROM_UINT(unsigned long, ival);
  ------------------
  |  |  413|  6.65M|    do { \
  |  |  414|  6.65M|        /* Handle small and medium cases. */ \
  |  |  415|  6.65M|        if (IS_SMALL_UINT(ival)) { \
  |  |  ------------------
  |  |  |  |   30|  6.65M|#define IS_SMALL_UINT(ival) ((ival) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   97|  6.65M|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (30:29): [True: 63.1k, False: 6.59M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  416|  63.1k|            return get_small_int((sdigit)(ival)); \
  |  |  417|  63.1k|        } \
  |  |  418|  6.65M|        if ((ival) <= PyLong_MASK) { \
  |  |  ------------------
  |  |  |  |   62|  6.59M|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|  6.59M|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  6.59M|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (418:13): [True: 1.72M, False: 4.86M]
  |  |  ------------------
  |  |  419|  1.72M|            return _PyLong_FromMedium((sdigit)(ival)); \
  |  |  420|  1.72M|        } \
  |  |  421|  6.59M|        /* Do shift in two steps to avoid possible undefined behavior. */ \
  |  |  422|  6.59M|        INT_TYPE t = (ival) >> PyLong_SHIFT >> PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|  4.86M|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |                       INT_TYPE t = (ival) >> PyLong_SHIFT >> PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|  4.86M|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  423|  4.86M|        /* Count digits (at least two - smaller cases were handled above). */ \
  |  |  424|  4.86M|        Py_ssize_t ndigits = 2; \
  |  |  425|  4.86M|        while (t) { \
  |  |  ------------------
  |  |  |  Branch (425:16): [True: 2, False: 4.86M]
  |  |  ------------------
  |  |  426|      2|            ++ndigits; \
  |  |  427|      2|            t >>= PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|      2|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  428|      2|        } \
  |  |  429|  4.86M|        /* Construct output value. */ \
  |  |  430|  4.86M|        PyLongObject *v = long_alloc(ndigits); \
  |  |  431|  4.86M|        if (v == NULL) { \
  |  |  ------------------
  |  |  |  Branch (431:13): [True: 0, False: 4.86M]
  |  |  ------------------
  |  |  432|      0|            return NULL; \
  |  |  433|      0|        } \
  |  |  434|  4.86M|        digit *p = v->long_value.ob_digit; \
  |  |  435|  14.6M|        while ((ival)) { \
  |  |  ------------------
  |  |  |  Branch (435:16): [True: 9.73M, False: 4.86M]
  |  |  ------------------
  |  |  436|  9.73M|            *p++ = (digit)((ival) & PyLong_MASK); \
  |  |  ------------------
  |  |  |  |   62|  9.73M|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|  9.73M|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  9.73M|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  437|  9.73M|            (ival) >>= PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|  9.73M|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  438|  9.73M|        } \
  |  |  439|  4.86M|        return (PyObject *)v; \
  |  |  440|  4.86M|    } while(0)
  |  |  ------------------
  |  |  |  Branch (440:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  448|  6.65M|}
PyLong_FromUnsignedLongLong:
  454|   289k|{
  455|       |    PYLONG_FROM_UINT(unsigned long long, ival);
  ------------------
  |  |  413|   289k|    do { \
  |  |  414|   289k|        /* Handle small and medium cases. */ \
  |  |  415|   289k|        if (IS_SMALL_UINT(ival)) { \
  |  |  ------------------
  |  |  |  |   30|   289k|#define IS_SMALL_UINT(ival) ((ival) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   97|   289k|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (30:29): [True: 34.2k, False: 254k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  416|  34.2k|            return get_small_int((sdigit)(ival)); \
  |  |  417|  34.2k|        } \
  |  |  418|   289k|        if ((ival) <= PyLong_MASK) { \
  |  |  ------------------
  |  |  |  |   62|   254k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|   254k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|   254k|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (418:13): [True: 55.0k, False: 199k]
  |  |  ------------------
  |  |  419|  55.0k|            return _PyLong_FromMedium((sdigit)(ival)); \
  |  |  420|  55.0k|        } \
  |  |  421|   254k|        /* Do shift in two steps to avoid possible undefined behavior. */ \
  |  |  422|   254k|        INT_TYPE t = (ival) >> PyLong_SHIFT >> PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|   199k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |                       INT_TYPE t = (ival) >> PyLong_SHIFT >> PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|   199k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  423|   199k|        /* Count digits (at least two - smaller cases were handled above). */ \
  |  |  424|   199k|        Py_ssize_t ndigits = 2; \
  |  |  425|   202k|        while (t) { \
  |  |  ------------------
  |  |  |  Branch (425:16): [True: 2.86k, False: 199k]
  |  |  ------------------
  |  |  426|  2.86k|            ++ndigits; \
  |  |  427|  2.86k|            t >>= PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|  2.86k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  428|  2.86k|        } \
  |  |  429|   199k|        /* Construct output value. */ \
  |  |  430|   199k|        PyLongObject *v = long_alloc(ndigits); \
  |  |  431|   199k|        if (v == NULL) { \
  |  |  ------------------
  |  |  |  Branch (431:13): [True: 0, False: 199k]
  |  |  ------------------
  |  |  432|      0|            return NULL; \
  |  |  433|      0|        } \
  |  |  434|   199k|        digit *p = v->long_value.ob_digit; \
  |  |  435|   602k|        while ((ival)) { \
  |  |  ------------------
  |  |  |  Branch (435:16): [True: 402k, False: 199k]
  |  |  ------------------
  |  |  436|   402k|            *p++ = (digit)((ival) & PyLong_MASK); \
  |  |  ------------------
  |  |  |  |   62|   402k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|   402k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|   402k|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  437|   402k|            (ival) >>= PyLong_SHIFT; \
  |  |  ------------------
  |  |  |  |   47|   402k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  438|   402k|        } \
  |  |  439|   199k|        return (PyObject *)v; \
  |  |  440|   199k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (440:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  456|   289k|}
PyLong_FromSize_t:
  462|    464|{
  463|       |    PYLONG_FROM_UINT(size_t, ival);
  ------------------
  |  |  413|    464|    do { \
  |  |  414|    464|        /* Handle small and medium cases. */ \
  |  |  415|    464|        if (IS_SMALL_UINT(ival)) { \
  |  |  ------------------
  |  |  |  |   30|    464|#define IS_SMALL_UINT(ival) ((ival) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   97|    464|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (30:29): [True: 464, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  416|    464|            return get_small_int((sdigit)(ival)); \
  |  |  417|    464|        } \
  |  |  418|    464|        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|    464|}
PyLong_FromDouble:
  470|  1.97M|{
  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.97M|    const double int_max = (unsigned long)LONG_MAX + 1;
  482|  1.97M|    if (-int_max < dval && dval < int_max) {
  ------------------
  |  Branch (482:9): [True: 1.97M, False: 0]
  |  Branch (482:28): [True: 1.97M, False: 0]
  ------------------
  483|  1.97M|        return PyLong_FromLong((long)dval);
  484|  1.97M|    }
  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|  12.9M|{
  595|       |    /* This version originally by Tim Peters */
  596|  12.9M|    PyLongObject *v;
  597|  12.9M|    long res;
  598|  12.9M|    Py_ssize_t i;
  599|  12.9M|    int sign;
  600|  12.9M|    int do_decref = 0; /* if PyNumber_Index was called */
  601|       |
  602|  12.9M|    *overflow = 0;
  603|  12.9M|    if (vv == NULL) {
  ------------------
  |  Branch (603:9): [True: 0, False: 12.9M]
  ------------------
  604|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  605|      0|        return -1;
  606|      0|    }
  607|       |
  608|  12.9M|    if (PyLong_Check(vv)) {
  ------------------
  |  |   13|  12.9M|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  12.9M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 12.9M, False: 4.00k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  609|  12.9M|        v = (PyLongObject *)vv;
  610|  12.9M|    }
  611|  4.00k|    else {
  612|  4.00k|        v = (PyLongObject *)_PyNumber_Index(vv);
  613|  4.00k|        if (v == NULL)
  ------------------
  |  Branch (613:13): [True: 4.00k, False: 0]
  ------------------
  614|  4.00k|            return -1;
  615|      0|        do_decref = 1;
  616|      0|    }
  617|  12.9M|    if (_PyLong_IsCompact(v)) {
  ------------------
  |  Branch (617:9): [True: 12.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|  12.9M|        res = _PyLong_CompactValue(v);
  633|  12.9M|#endif
  634|  12.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|  12.9M|  exit:
  663|  12.9M|    if (do_decref) {
  ------------------
  |  Branch (663:9): [True: 0, False: 12.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|  12.9M|    return res;
  667|  12.9M|}
PyLong_AsLong:
  674|  1.42M|{
  675|  1.42M|    int overflow;
  676|  1.42M|    long result = PyLong_AsLongAndOverflow(obj, &overflow);
  677|  1.42M|    if (overflow) {
  ------------------
  |  Branch (677:9): [True: 2, False: 1.42M]
  ------------------
  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.42M|    return result;
  684|  1.42M|}
PyLong_AsInt:
  691|   632k|{
  692|   632k|    int overflow;
  693|   632k|    long result = PyLong_AsLongAndOverflow(obj, &overflow);
  694|   632k|    if (overflow || result > INT_MAX || result < INT_MIN) {
  ------------------
  |  Branch (694:9): [True: 0, False: 632k]
  |  Branch (694:21): [True: 0, False: 632k]
  |  Branch (694:41): [True: 0, False: 632k]
  ------------------
  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|   632k|    return (int)result;
  702|   632k|}
PyLong_AsSsize_t:
  708|  21.7M|PyLong_AsSsize_t(PyObject *vv) {
  709|  21.7M|    PyLongObject *v;
  710|  21.7M|    Py_ssize_t i;
  711|  21.7M|    int sign;
  712|       |
  713|  21.7M|    if (vv == NULL) {
  ------------------
  |  Branch (713:9): [True: 0, False: 21.7M]
  ------------------
  714|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  715|      0|        return -1;
  716|      0|    }
  717|  21.7M|    if (!PyLong_Check(vv)) {
  ------------------
  |  |   13|  21.7M|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  21.7M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (717:9): [True: 0, False: 21.7M]
  ------------------
  718|      0|        PyErr_SetString(PyExc_TypeError, "an integer is required");
  719|      0|        return -1;
  720|      0|    }
  721|       |
  722|  21.7M|    v = (PyLongObject *)vv;
  723|  21.7M|    if (_PyLong_IsCompact(v)) {
  ------------------
  |  Branch (723:9): [True: 21.6M, False: 70.9k]
  ------------------
  724|  21.6M|        return _PyLong_CompactValue(v);
  725|  21.6M|    }
  726|  70.9k|    i = _PyLong_DigitCount(v);
  727|  70.9k|    sign = _PyLong_NonCompactSign(v);
  728|       |
  729|  70.9k|    size_t x = unroll_digits_size_t(v, &i);
  730|   130k|    while (--i >= 0) {
  ------------------
  |  Branch (730:12): [True: 59.4k, False: 70.9k]
  ------------------
  731|  59.4k|        if (x > (SIZE_MAX >> PyLong_SHIFT)) {
  ------------------
  |  |   47|  59.4k|#define PyLong_SHIFT    30
  ------------------
  |  Branch (731:13): [True: 0, False: 59.4k]
  ------------------
  732|      0|            goto overflow;
  733|      0|        }
  734|  59.4k|        x = (x << PyLong_SHIFT) | v->long_value.ob_digit[i];
  ------------------
  |  |   47|  59.4k|#define PyLong_SHIFT    30
  ------------------
  735|  59.4k|    }
  736|       |    /* Haven't lost any bits, but casting to a signed type requires
  737|       |     * extra care (see comment above).
  738|       |     */
  739|  70.9k|    if (x <= (size_t)PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|  70.9k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (739:9): [True: 70.9k, False: 0]
  ------------------
  740|  70.9k|        return (Py_ssize_t)x * sign;
  741|  70.9k|    }
  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|  70.9k|}
PyLong_AsUnsignedLong:
  758|  2.28M|{
  759|  2.28M|    PyLongObject *v;
  760|  2.28M|    Py_ssize_t i;
  761|       |
  762|  2.28M|    if (vv == NULL) {
  ------------------
  |  Branch (762:9): [True: 0, False: 2.28M]
  ------------------
  763|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  764|      0|        return (unsigned long)-1;
  765|      0|    }
  766|  2.28M|    if (!PyLong_Check(vv)) {
  ------------------
  |  |   13|  2.28M|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  2.28M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (766:9): [True: 0, False: 2.28M]
  ------------------
  767|      0|        PyErr_SetString(PyExc_TypeError, "an integer is required");
  768|      0|        return (unsigned long)-1;
  769|      0|    }
  770|       |
  771|  2.28M|    v = (PyLongObject *)vv;
  772|  2.28M|    if (_PyLong_IsNonNegativeCompact(v)) {
  ------------------
  |  Branch (772:9): [True: 650k, False: 1.63M]
  ------------------
  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|   650k|        return (unsigned long)(size_t)_PyLong_CompactValue(v);
  782|   650k|#endif
  783|   650k|    }
  784|  1.63M|    if (_PyLong_IsNegative(v)) {
  ------------------
  |  Branch (784:9): [True: 0, False: 1.63M]
  ------------------
  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.63M|    i = _PyLong_DigitCount(v);
  790|       |
  791|  1.63M|    unsigned long x = unroll_digits_ulong(v, &i);
  792|  1.63M|    while (--i >= 0) {
  ------------------
  |  Branch (792:12): [True: 0, False: 1.63M]
  ------------------
  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.63M|    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.63M|}
PyLong_AsSize_t:
  811|      2|{
  812|      2|    PyLongObject *v;
  813|      2|    Py_ssize_t i;
  814|       |
  815|      2|    if (vv == NULL) {
  ------------------
  |  Branch (815:9): [True: 0, False: 2]
  ------------------
  816|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  817|      0|        return (size_t) -1;
  818|      0|    }
  819|      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 (819:9): [True: 0, False: 2]
  ------------------
  820|      0|        PyErr_SetString(PyExc_TypeError, "an integer is required");
  821|      0|        return (size_t)-1;
  822|      0|    }
  823|       |
  824|      2|    v = (PyLongObject *)vv;
  825|      2|    if (_PyLong_IsNonNegativeCompact(v)) {
  ------------------
  |  Branch (825:9): [True: 2, False: 0]
  ------------------
  826|      2|        return (size_t)_PyLong_CompactValue(v);
  827|      2|    }
  828|      0|    if (_PyLong_IsNegative(v)) {
  ------------------
  |  Branch (828:9): [True: 0, False: 0]
  ------------------
  829|      0|        PyErr_SetString(PyExc_OverflowError,
  830|      0|                   "can't convert negative value to size_t");
  831|      0|        return (size_t) -1;
  832|      0|    }
  833|      0|    i = _PyLong_DigitCount(v);
  834|       |
  835|      0|    size_t x = unroll_digits_size_t(v, &i);
  836|      0|    while (--i >= 0) {
  ------------------
  |  Branch (836:12): [True: 0, False: 0]
  ------------------
  837|      0|            if (x > (SIZE_MAX >> PyLong_SHIFT)) {
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
  |  Branch (837:17): [True: 0, False: 0]
  ------------------
  838|      0|                PyErr_SetString(PyExc_OverflowError,
  839|      0|                    "Python int too large to convert to C size_t");
  840|      0|                return (size_t) -1;
  841|      0|            }
  842|      0|            x = (x << PyLong_SHIFT) | v->long_value.ob_digit[i];
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
  843|      0|        }
  844|      0|    return x;
  845|      0|}
PyLong_GetSign:
  955|  4.07M|{
  956|  4.07M|    if (!PyLong_Check(vv)) {
  ------------------
  |  |   13|  4.07M|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.07M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (956:9): [True: 0, False: 4.07M]
  ------------------
  957|      0|        PyErr_Format(PyExc_TypeError, "expect int, got %T", vv);
  958|      0|        return -1;
  959|      0|    }
  960|       |
  961|  4.07M|    *sign = long_sign(vv);
  962|  4.07M|    return 0;
  963|  4.07M|}
_PyLong_NumBits:
  977|  4.06M|{
  978|  4.06M|    PyLongObject *v = (PyLongObject *)vv;
  979|  4.06M|    int64_t result = 0;
  980|  4.06M|    Py_ssize_t ndigits;
  981|  4.06M|    int msd_bits;
  982|       |
  983|  4.06M|    assert(v != NULL);
  984|  4.06M|    assert(PyLong_Check(v));
  985|  4.06M|    ndigits = _PyLong_DigitCount(v);
  986|  4.06M|    assert(ndigits == 0 || v->long_value.ob_digit[ndigits - 1] != 0);
  987|  4.06M|    if (ndigits > 0) {
  ------------------
  |  Branch (987:9): [True: 4.05M, False: 11.3k]
  ------------------
  988|  4.05M|        digit msd = v->long_value.ob_digit[ndigits - 1];
  989|  4.05M|#if SIZEOF_SIZE_T == 8
  990|  4.05M|        assert(ndigits <= INT64_MAX / PyLong_SHIFT);
  991|  4.05M|#endif
  992|  4.05M|        result = (int64_t)(ndigits - 1) * PyLong_SHIFT;
  ------------------
  |  |   47|  4.05M|#define PyLong_SHIFT    30
  ------------------
  993|  4.05M|        msd_bits = bit_length_digit(msd);
  994|  4.05M|        result += msd_bits;
  995|  4.05M|    }
  996|  4.06M|    return result;
  997|  4.06M|}
_PyLong_FromByteArray:
 1002|  7.54M|{
 1003|  7.54M|    const unsigned char* pstartbyte;    /* LSB of bytes */
 1004|  7.54M|    int incr;                           /* direction to move pstartbyte */
 1005|  7.54M|    const unsigned char* pendbyte;      /* MSB of bytes */
 1006|  7.54M|    size_t numsignificantbytes;         /* number of bytes that matter */
 1007|  7.54M|    Py_ssize_t ndigits;                 /* number of Python int digits */
 1008|  7.54M|    PyLongObject* v;                    /* result */
 1009|  7.54M|    Py_ssize_t idigit = 0;              /* next free index in v->long_value.ob_digit */
 1010|       |
 1011|  7.54M|    if (n == 0)
  ------------------
  |  Branch (1011:9): [True: 0, False: 7.54M]
  ------------------
 1012|      0|        return PyLong_FromLong(0L);
 1013|       |
 1014|  7.54M|    if (little_endian) {
  ------------------
  |  Branch (1014:9): [True: 11.7k, False: 7.53M]
  ------------------
 1015|  11.7k|        pstartbyte = bytes;
 1016|  11.7k|        pendbyte = bytes + n - 1;
 1017|  11.7k|        incr = 1;
 1018|  11.7k|    }
 1019|  7.53M|    else {
 1020|  7.53M|        pstartbyte = bytes + n - 1;
 1021|  7.53M|        pendbyte = bytes;
 1022|  7.53M|        incr = -1;
 1023|  7.53M|    }
 1024|       |
 1025|  7.54M|    if (is_signed)
  ------------------
  |  Branch (1025:9): [True: 0, False: 7.54M]
  ------------------
 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|  7.54M|    {
 1032|  7.54M|        size_t i;
 1033|  7.54M|        const unsigned char* p = pendbyte;
 1034|  7.54M|        const int pincr = -incr;  /* search MSB to LSB */
 1035|  7.54M|        const unsigned char insignificant = is_signed ? 0xff : 0x00;
  ------------------
  |  Branch (1035:45): [True: 0, False: 7.54M]
  ------------------
 1036|       |
 1037|  10.5M|        for (i = 0; i < n; ++i, p += pincr) {
  ------------------
  |  Branch (1037:21): [True: 7.71M, False: 2.82M]
  ------------------
 1038|  7.71M|            if (*p != insignificant)
  ------------------
  |  Branch (1038:17): [True: 4.72M, False: 2.99M]
  ------------------
 1039|  4.72M|                break;
 1040|  7.71M|        }
 1041|  7.54M|        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|  7.54M|        if (is_signed && numsignificantbytes < n)
  ------------------
  |  Branch (1047:13): [True: 0, False: 7.54M]
  |  Branch (1047:26): [True: 0, False: 0]
  ------------------
 1048|      0|            ++numsignificantbytes;
 1049|  7.54M|    }
 1050|       |
 1051|       |    /* avoid integer overflow */
 1052|  7.54M|    ndigits = numsignificantbytes / PyLong_SHIFT * 8
  ------------------
  |  |   47|  7.54M|#define PyLong_SHIFT    30
  ------------------
 1053|  7.54M|        + (numsignificantbytes % PyLong_SHIFT * 8 + PyLong_SHIFT - 1) / PyLong_SHIFT;
  ------------------
  |  |   47|  7.54M|#define PyLong_SHIFT    30
  ------------------
                      + (numsignificantbytes % PyLong_SHIFT * 8 + PyLong_SHIFT - 1) / PyLong_SHIFT;
  ------------------
  |  |   47|  7.54M|#define PyLong_SHIFT    30
  ------------------
                      + (numsignificantbytes % PyLong_SHIFT * 8 + PyLong_SHIFT - 1) / PyLong_SHIFT;
  ------------------
  |  |   47|  7.54M|#define PyLong_SHIFT    30
  ------------------
 1054|  7.54M|    v = long_alloc(ndigits);
 1055|  7.54M|    if (v == NULL)
  ------------------
  |  Branch (1055:9): [True: 0, False: 7.54M]
  ------------------
 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|  7.54M|    {
 1062|  7.54M|        size_t i;
 1063|  7.54M|        twodigits carry = 1;                    /* for 2's-comp calculation */
 1064|  7.54M|        twodigits accum = 0;                    /* sliding register */
 1065|  7.54M|        unsigned int accumbits = 0;             /* number of bits in accum */
 1066|  7.54M|        const unsigned char* p = pstartbyte;
 1067|       |
 1068|  15.8M|        for (i = 0; i < numsignificantbytes; ++i, p += incr) {
  ------------------
  |  Branch (1068:21): [True: 8.31M, False: 7.54M]
  ------------------
 1069|  8.31M|            twodigits thisbyte = *p;
 1070|       |            /* Compute correction for 2's comp, if needed. */
 1071|  8.31M|            if (is_signed) {
  ------------------
  |  Branch (1071:17): [True: 0, False: 8.31M]
  ------------------
 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|  8.31M|            accum |= thisbyte << accumbits;
 1080|  8.31M|            accumbits += 8;
 1081|  8.31M|            if (accumbits >= PyLong_SHIFT) {
  ------------------
  |  |   47|  8.31M|#define PyLong_SHIFT    30
  ------------------
  |  Branch (1081:17): [True: 40.9k, False: 8.26M]
  ------------------
 1082|       |                /* There's enough to fill a Python digit. */
 1083|  40.9k|                assert(idigit < ndigits);
 1084|  40.9k|                v->long_value.ob_digit[idigit] = (digit)(accum & PyLong_MASK);
  ------------------
  |  |   62|  40.9k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  40.9k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  40.9k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1085|  40.9k|                ++idigit;
 1086|  40.9k|                accum >>= PyLong_SHIFT;
  ------------------
  |  |   47|  40.9k|#define PyLong_SHIFT    30
  ------------------
 1087|  40.9k|                accumbits -= PyLong_SHIFT;
  ------------------
  |  |   47|  40.9k|#define PyLong_SHIFT    30
  ------------------
 1088|  40.9k|                assert(accumbits < PyLong_SHIFT);
 1089|  40.9k|            }
 1090|  8.31M|        }
 1091|  7.54M|        assert(accumbits < PyLong_SHIFT);
 1092|  7.54M|        if (accumbits) {
  ------------------
  |  Branch (1092:13): [True: 4.72M, False: 2.82M]
  ------------------
 1093|  4.72M|            assert(idigit < ndigits);
 1094|  4.72M|            v->long_value.ob_digit[idigit] = (digit)accum;
 1095|  4.72M|            ++idigit;
 1096|  4.72M|        }
 1097|  7.54M|    }
 1098|       |
 1099|  7.54M|    int sign = is_signed ? -1: 1;
  ------------------
  |  Branch (1099:16): [True: 0, False: 7.54M]
  ------------------
 1100|  7.54M|    if (idigit == 0) {
  ------------------
  |  Branch (1100:9): [True: 2.82M, False: 4.72M]
  ------------------
 1101|  2.82M|        sign = 0;
 1102|  2.82M|        v->long_value.ob_digit[0] = 0;
 1103|  2.82M|    }
 1104|  7.54M|    _PyLong_SetSignAndDigitCount(v, sign, idigit);
 1105|  7.54M|    return (PyObject *)maybe_small_long(long_normalize(v));
 1106|  7.54M|}
_PyLong_AsByteArray:
 1113|   112k|{
 1114|   112k|    Py_ssize_t i;               /* index into v->long_value.ob_digit */
 1115|   112k|    Py_ssize_t ndigits;         /* number of digits */
 1116|   112k|    twodigits accum;            /* sliding register */
 1117|   112k|    unsigned int accumbits;     /* # bits in accum */
 1118|   112k|    int do_twos_comp;           /* store 2's-comp?  is_signed and v < 0 */
 1119|   112k|    digit carry;                /* for computing 2's-comp */
 1120|   112k|    size_t j;                   /* # bytes filled */
 1121|   112k|    unsigned char* p;           /* pointer to next byte in bytes */
 1122|   112k|    int pincr;                  /* direction to move p */
 1123|       |
 1124|   112k|    assert(v != NULL && PyLong_Check(v));
 1125|       |
 1126|   112k|    ndigits = _PyLong_DigitCount(v);
 1127|   112k|    if (_PyLong_IsNegative(v)) {
  ------------------
  |  Branch (1127:9): [True: 0, False: 112k]
  ------------------
 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|   112k|    else {
 1138|   112k|        do_twos_comp = 0;
 1139|   112k|    }
 1140|       |
 1141|   112k|    if (little_endian) {
  ------------------
  |  Branch (1141:9): [True: 15.1k, False: 97.7k]
  ------------------
 1142|  15.1k|        p = bytes;
 1143|  15.1k|        pincr = 1;
 1144|  15.1k|    }
 1145|  97.7k|    else {
 1146|  97.7k|        p = bytes + n - 1;
 1147|  97.7k|        pincr = -1;
 1148|  97.7k|    }
 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|   112k|    assert(ndigits == 0 || v->long_value.ob_digit[ndigits - 1] != 0);
 1160|   112k|    j = 0;
 1161|   112k|    accum = 0;
 1162|   112k|    accumbits = 0;
 1163|   112k|    carry = do_twos_comp ? 1 : 0;
  ------------------
  |  Branch (1163:13): [True: 0, False: 112k]
  ------------------
 1164|   232k|    for (i = 0; i < ndigits; ++i) {
  ------------------
  |  Branch (1164:17): [True: 119k, False: 112k]
  ------------------
 1165|   119k|        digit thisdigit = v->long_value.ob_digit[i];
 1166|   119k|        if (do_twos_comp) {
  ------------------
  |  Branch (1166:13): [True: 0, False: 119k]
  ------------------
 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|   119k|        accum |= (twodigits)thisdigit << accumbits;
 1175|       |
 1176|       |        /* The most-significant digit may be (probably is) at least
 1177|       |           partly empty. */
 1178|   119k|        if (i == ndigits - 1) {
  ------------------
  |  Branch (1178:13): [True: 101k, False: 17.9k]
  ------------------
 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|   101k|            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: 101k]
  ------------------
 1183|   847k|            while (s != 0) {
  ------------------
  |  Branch (1183:20): [True: 746k, False: 101k]
  ------------------
 1184|   746k|                s >>= 1;
 1185|   746k|                accumbits++;
 1186|   746k|            }
 1187|   101k|        }
 1188|  17.9k|        else
 1189|  17.9k|            accumbits += PyLong_SHIFT;
  ------------------
  |  |   47|  17.9k|#define PyLong_SHIFT    30
  ------------------
 1190|       |
 1191|       |        /* Store as many bytes as possible. */
 1192|   219k|        while (accumbits >= 8) {
  ------------------
  |  Branch (1192:16): [True: 100k, False: 119k]
  ------------------
 1193|   100k|            if (j >= n)
  ------------------
  |  Branch (1193:17): [True: 0, False: 100k]
  ------------------
 1194|      0|                goto Overflow;
 1195|   100k|            ++j;
 1196|   100k|            *p = (unsigned char)(accum & 0xff);
 1197|   100k|            p += pincr;
 1198|   100k|            accumbits -= 8;
 1199|   100k|            accum >>= 8;
 1200|   100k|        }
 1201|   119k|    }
 1202|       |
 1203|       |    /* Store the straggler (if any). */
 1204|   112k|    assert(accumbits < 8);
 1205|   112k|    assert(carry == 0);  /* else do_twos_comp and *every* digit was 0 */
 1206|   112k|    if (accumbits > 0) {
  ------------------
  |  Branch (1206:9): [True: 87.3k, False: 25.5k]
  ------------------
 1207|  87.3k|        if (j >= n)
  ------------------
  |  Branch (1207:13): [True: 0, False: 87.3k]
  ------------------
 1208|      0|            goto Overflow;
 1209|  87.3k|        ++j;
 1210|  87.3k|        if (do_twos_comp) {
  ------------------
  |  Branch (1210:13): [True: 0, False: 87.3k]
  ------------------
 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|  87.3k|        *p = (unsigned char)(accum & 0xff);
 1217|  87.3k|        p += pincr;
 1218|  87.3k|    }
 1219|  25.5k|    else if (j == n && is_signed) {
  ------------------
  |  Branch (1219:14): [True: 12.3k, False: 13.2k]
  |  Branch (1219:24): [True: 0, False: 12.3k]
  ------------------
 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|   112k|    {
 1241|   112k|        unsigned char signbyte = do_twos_comp ? 0xffU : 0U;
  ------------------
  |  Branch (1241:34): [True: 0, False: 112k]
  ------------------
 1242|   147k|        for ( ; j < n; ++j, p += pincr)
  ------------------
  |  Branch (1242:17): [True: 34.2k, False: 112k]
  ------------------
 1243|  34.2k|            *p = signbyte;
 1244|   112k|    }
 1245|       |
 1246|   112k|    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|   112k|}
PyLong_AsNativeBytes:
 1283|  7.69M|{
 1284|  7.69M|    PyLongObject *v;
 1285|  7.69M|    union {
 1286|  7.69M|        Py_ssize_t v;
 1287|  7.69M|        unsigned char b[sizeof(Py_ssize_t)];
 1288|  7.69M|    } cv;
 1289|  7.69M|    int do_decref = 0;
 1290|  7.69M|    Py_ssize_t res = 0;
 1291|       |
 1292|  7.69M|    if (vv == NULL || n < 0) {
  ------------------
  |  Branch (1292:9): [True: 0, False: 7.69M]
  |  Branch (1292:23): [True: 0, False: 7.69M]
  ------------------
 1293|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1294|      0|        return -1;
 1295|      0|    }
 1296|       |
 1297|  7.69M|    int little_endian = flags;
 1298|  7.69M|    if (_resolve_endianness(&little_endian) < 0) {
  ------------------
  |  Branch (1298:9): [True: 0, False: 7.69M]
  ------------------
 1299|      0|        return -1;
 1300|      0|    }
 1301|       |
 1302|  7.69M|    if (PyLong_Check(vv)) {
  ------------------
  |  |   13|  7.69M|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  7.69M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 7.69M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1303|  7.69M|        v = (PyLongObject *)vv;
 1304|  7.69M|    }
 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|  7.69M|    if ((flags != -1 && (flags & Py_ASNATIVEBYTES_REJECT_NEGATIVE))
  ------------------
  |  |   49|  7.69M|#define Py_ASNATIVEBYTES_REJECT_NEGATIVE 8
  ------------------
  |  Branch (1317:10): [True: 7.69M, False: 0]
  |  Branch (1317:25): [True: 19.0k, False: 7.67M]
  ------------------
 1318|  19.0k|        && _PyLong_IsNegative(v)) {
  ------------------
  |  Branch (1318:12): [True: 0, False: 19.0k]
  ------------------
 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|  7.69M|    if (_PyLong_IsCompact(v)) {
  ------------------
  |  Branch (1326:9): [True: 7.68M, False: 8.07k]
  ------------------
 1327|  7.68M|        res = 0;
 1328|  7.68M|        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|  7.68M|        res = sizeof(cv.b);
 1333|  7.68M|        if (n <= 0) {
  ------------------
  |  Branch (1333:13): [True: 0, False: 7.68M]
  ------------------
 1334|       |            // nothing to do!
 1335|      0|        }
 1336|  7.68M|        else if (n <= (Py_ssize_t)sizeof(cv.b)) {
  ------------------
  |  Branch (1336:18): [True: 7.68M, False: 0]
  ------------------
 1337|  7.68M|#if PY_LITTLE_ENDIAN
 1338|  7.68M|            if (little_endian) {
  ------------------
  |  Branch (1338:17): [True: 7.68M, False: 0]
  ------------------
 1339|  7.68M|                memcpy(buffer, cv.b, n);
 1340|  7.68M|            }
 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|  7.68M|            if (_fits_in_n_bits(cv.v, n * 8)) {
  ------------------
  |  Branch (1358:17): [True: 7.68M, False: 0]
  ------------------
 1359|  7.68M|                res = n;
 1360|  7.68M|            } 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|  7.68M|        }
 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|  7.68M|    }
 1404|  8.07k|    else {
 1405|  8.07k|        if (n > 0) {
  ------------------
  |  Branch (1405:13): [True: 8.07k, False: 0]
  ------------------
 1406|  8.07k|            _PyLong_AsByteArray(v, buffer, (size_t)n, little_endian, 1, 0);
 1407|  8.07k|        }
 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|  8.07k|        int64_t nb = _PyLong_NumBits((PyObject *)v);
 1412|  8.07k|        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|  8.07k|        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|  8.07k|        if (n > 0 && res == n + 1 && nb % 8 == 0) {
  ------------------
  |  Branch (1422:13): [True: 8.07k, False: 0]
  |  Branch (1422:22): [True: 0, False: 8.07k]
  |  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|  8.07k|    }
 1457|       |
 1458|  7.69M|    if (do_decref) {
  ------------------
  |  Branch (1458:9): [True: 0, False: 7.69M]
  ------------------
 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|  7.69M|    return res;
 1463|  7.69M|}
PyLong_FromVoidPtr:
 1509|  40.0k|{
 1510|  40.0k|#if SIZEOF_VOID_P <= SIZEOF_LONG
 1511|  40.0k|    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|  40.0k|}
PyLong_AsVoidPtr:
 1526|      4|{
 1527|      4|#if SIZEOF_VOID_P <= SIZEOF_LONG
 1528|      4|    long x;
 1529|       |
 1530|      4|    if (PyLong_Check(vv) && _PyLong_IsNegative((PyLongObject *)vv)) {
  ------------------
  |  |   13|      4|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      8|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 4, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1530:29): [True: 0, False: 4]
  ------------------
 1531|      0|        x = PyLong_AsLong(vv);
 1532|      0|    }
 1533|      4|    else {
 1534|      4|        x = PyLong_AsUnsignedLong(vv);
 1535|      4|    }
 1536|       |#else
 1537|       |
 1538|       |#if SIZEOF_LONG_LONG < SIZEOF_VOID_P
 1539|       |#   error "PyLong_AsVoidPtr: sizeof(long long) < sizeof(void*)"
 1540|       |#endif
 1541|       |    long long x;
 1542|       |
 1543|       |    if (PyLong_Check(vv) && _PyLong_IsNegative((PyLongObject *)vv)) {
 1544|       |        x = PyLong_AsLongLong(vv);
 1545|       |    }
 1546|       |    else {
 1547|       |        x = PyLong_AsUnsignedLongLong(vv);
 1548|       |    }
 1549|       |
 1550|       |#endif /* SIZEOF_VOID_P <= SIZEOF_LONG */
 1551|       |
 1552|      4|    if (x == -1 && PyErr_Occurred())
  ------------------
  |  Branch (1552:9): [True: 0, False: 4]
  |  Branch (1552:20): [True: 0, False: 0]
  ------------------
 1553|      0|        return NULL;
 1554|      4|    return (void *)x;
 1555|      4|}
PyLong_FromLongLong:
 1567|   183k|{
 1568|       |    PYLONG_FROM_INT(unsigned long long, long long, ival);
  ------------------
  |  |  371|   183k|    do {                                                                            \
  |  |  372|   183k|        /* Handle small and medium cases. */                                        \
  |  |  373|   183k|        if (IS_SMALL_INT(ival)) {                                                   \
  |  |  ------------------
  |  |  |  |   29|   183k|#define IS_SMALL_INT(ival) _PY_IS_SMALL_INT(ival)
  |  |  |  |  ------------------
  |  |  |  |  |  |   68|   183k|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   98|   183k|#define _PY_NSMALLNEGINTS           5
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   97|   183k|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (68:6): [True: 183k, False: 0]
  |  |  |  |  |  |  |  Branch (68:37): [True: 178, False: 183k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  374|    178|            return get_small_int((sdigit)(ival));                                   \
  |  |  375|    178|        }                                                                           \
  |  |  376|   183k|        if (-(INT_TYPE)PyLong_MASK <= (ival) && (ival) <= (INT_TYPE)PyLong_MASK) {  \
  |  |  ------------------
  |  |  |  |   62|   183k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|   183k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|   183k|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (-(INT_TYPE)PyLong_MASK <= (ival) && (ival) <= (INT_TYPE)PyLong_MASK) {  \
  |  |  ------------------
  |  |  |  |   62|   183k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|   183k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|   183k|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (376:13): [True: 183k, False: 0]
  |  |  |  Branch (376:49): [True: 26.0k, False: 157k]
  |  |  ------------------
  |  |  377|  26.0k|            return _PyLong_FromMedium((sdigit)(ival));                              \
  |  |  378|  26.0k|        }                                                                           \
  |  |  379|   183k|        UINT_TYPE abs_ival = (ival) < 0 ? 0U-(UINT_TYPE)(ival) : (UINT_TYPE)(ival); \
  |  |  ------------------
  |  |  |  Branch (379:30): [True: 0, False: 157k]
  |  |  ------------------
  |  |  380|   157k|        /* Do shift in two steps to avoid possible undefined behavior. */           \
  |  |  381|   157k|        UINT_TYPE t = abs_ival >> PyLong_SHIFT >> PyLong_SHIFT;                     \
  |  |  ------------------
  |  |  |  |   47|   157k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |                       UINT_TYPE t = abs_ival >> PyLong_SHIFT >> PyLong_SHIFT;                     \
  |  |  ------------------
  |  |  |  |   47|   157k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  382|   157k|        /* Count digits (at least two - smaller cases were handled above). */       \
  |  |  383|   157k|        Py_ssize_t ndigits = 2;                                                     \
  |  |  384|   235k|        while (t) {                                                                 \
  |  |  ------------------
  |  |  |  Branch (384:16): [True: 78.5k, False: 157k]
  |  |  ------------------
  |  |  385|  78.5k|            ++ndigits;                                                              \
  |  |  386|  78.5k|            t >>= PyLong_SHIFT;                                                     \
  |  |  ------------------
  |  |  |  |   47|  78.5k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  387|  78.5k|        }                                                                           \
  |  |  388|   157k|        /* Construct output value. */                                               \
  |  |  389|   157k|        PyLongObject *v = long_alloc(ndigits);                                      \
  |  |  390|   157k|        if (v == NULL) {                                                            \
  |  |  ------------------
  |  |  |  Branch (390:13): [True: 0, False: 157k]
  |  |  ------------------
  |  |  391|      0|            return NULL;                                                            \
  |  |  392|      0|        }                                                                           \
  |  |  393|   157k|        digit *p = v->long_value.ob_digit;                                          \
  |  |  394|   157k|        _PyLong_SetSignAndDigitCount(v, (ival) < 0 ? -1 : 1, ndigits);              \
  |  |  ------------------
  |  |  |  Branch (394:41): [True: 0, False: 157k]
  |  |  ------------------
  |  |  395|   157k|        t = abs_ival;                                                               \
  |  |  396|   549k|        while (t) {                                                                 \
  |  |  ------------------
  |  |  |  Branch (396:16): [True: 392k, False: 157k]
  |  |  ------------------
  |  |  397|   392k|            *p++ = (digit)(t & PyLong_MASK);                                        \
  |  |  ------------------
  |  |  |  |   62|   392k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|   392k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|   392k|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  398|   392k|            t >>= PyLong_SHIFT;                                                     \
  |  |  ------------------
  |  |  |  |   47|   392k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  399|   392k|        }                                                                           \
  |  |  400|   157k|        return (PyObject *)v;                                                       \
  |  |  401|   157k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (401:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1569|   183k|}
PyLong_FromSsize_t:
 1575|  20.6M|{
 1576|       |    PYLONG_FROM_INT(size_t, Py_ssize_t, ival);
  ------------------
  |  |  371|  20.6M|    do {                                                                            \
  |  |  372|  20.6M|        /* Handle small and medium cases. */                                        \
  |  |  373|  20.6M|        if (IS_SMALL_INT(ival)) {                                                   \
  |  |  ------------------
  |  |  |  |   29|  20.6M|#define IS_SMALL_INT(ival) _PY_IS_SMALL_INT(ival)
  |  |  |  |  ------------------
  |  |  |  |  |  |   68|  20.6M|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   98|  20.6M|#define _PY_NSMALLNEGINTS           5
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   97|  20.6M|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (68:6): [True: 20.6M, False: 29.9k]
  |  |  |  |  |  |  |  Branch (68:37): [True: 13.1M, False: 7.50M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  374|  13.1M|            return get_small_int((sdigit)(ival));                                   \
  |  |  375|  13.1M|        }                                                                           \
  |  |  376|  20.6M|        if (-(INT_TYPE)PyLong_MASK <= (ival) && (ival) <= (INT_TYPE)PyLong_MASK) {  \
  |  |  ------------------
  |  |  |  |   62|  7.53M|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|  7.53M|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  7.53M|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (-(INT_TYPE)PyLong_MASK <= (ival) && (ival) <= (INT_TYPE)PyLong_MASK) {  \
  |  |  ------------------
  |  |  |  |   62|  7.50M|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|  7.50M|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  7.50M|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (376:13): [True: 7.50M, False: 29.9k]
  |  |  |  Branch (376:49): [True: 7.44M, False: 59.3k]
  |  |  ------------------
  |  |  377|  7.44M|            return _PyLong_FromMedium((sdigit)(ival));                              \
  |  |  378|  7.44M|        }                                                                           \
  |  |  379|  7.53M|        UINT_TYPE abs_ival = (ival) < 0 ? 0U-(UINT_TYPE)(ival) : (UINT_TYPE)(ival); \
  |  |  ------------------
  |  |  |  Branch (379:30): [True: 29.9k, False: 59.3k]
  |  |  ------------------
  |  |  380|  89.3k|        /* Do shift in two steps to avoid possible undefined behavior. */           \
  |  |  381|  89.3k|        UINT_TYPE t = abs_ival >> PyLong_SHIFT >> PyLong_SHIFT;                     \
  |  |  ------------------
  |  |  |  |   47|  89.3k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |                       UINT_TYPE t = abs_ival >> PyLong_SHIFT >> PyLong_SHIFT;                     \
  |  |  ------------------
  |  |  |  |   47|  89.3k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  382|  89.3k|        /* Count digits (at least two - smaller cases were handled above). */       \
  |  |  383|  89.3k|        Py_ssize_t ndigits = 2;                                                     \
  |  |  384|   167k|        while (t) {                                                                 \
  |  |  ------------------
  |  |  |  Branch (384:16): [True: 77.8k, False: 89.3k]
  |  |  ------------------
  |  |  385|  77.8k|            ++ndigits;                                                              \
  |  |  386|  77.8k|            t >>= PyLong_SHIFT;                                                     \
  |  |  ------------------
  |  |  |  |   47|  77.8k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  387|  77.8k|        }                                                                           \
  |  |  388|  89.3k|        /* Construct output value. */                                               \
  |  |  389|  89.3k|        PyLongObject *v = long_alloc(ndigits);                                      \
  |  |  390|  89.3k|        if (v == NULL) {                                                            \
  |  |  ------------------
  |  |  |  Branch (390:13): [True: 0, False: 89.3k]
  |  |  ------------------
  |  |  391|      0|            return NULL;                                                            \
  |  |  392|      0|        }                                                                           \
  |  |  393|  89.3k|        digit *p = v->long_value.ob_digit;                                          \
  |  |  394|  89.3k|        _PyLong_SetSignAndDigitCount(v, (ival) < 0 ? -1 : 1, ndigits);              \
  |  |  ------------------
  |  |  |  Branch (394:41): [True: 29.9k, False: 59.3k]
  |  |  ------------------
  |  |  395|  89.3k|        t = abs_ival;                                                               \
  |  |  396|   345k|        while (t) {                                                                 \
  |  |  ------------------
  |  |  |  Branch (396:16): [True: 256k, False: 89.3k]
  |  |  ------------------
  |  |  397|   256k|            *p++ = (digit)(t & PyLong_MASK);                                        \
  |  |  ------------------
  |  |  |  |   62|   256k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   61|   256k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|   256k|#define PyLong_SHIFT    30
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  398|   256k|            t >>= PyLong_SHIFT;                                                     \
  |  |  ------------------
  |  |  |  |   47|   256k|#define PyLong_SHIFT    30
  |  |  ------------------
  |  |  399|   256k|        }                                                                           \
  |  |  400|  89.3k|        return (PyObject *)v;                                                       \
  |  |  401|  89.3k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (401:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1577|  20.6M|}
PyLong_AsUnsignedLongLong:
 1629|  6.33k|{
 1630|  6.33k|    PyLongObject *v;
 1631|  6.33k|    unsigned long long bytes;
 1632|  6.33k|    int res;
 1633|       |
 1634|  6.33k|    if (vv == NULL) {
  ------------------
  |  Branch (1634:9): [True: 0, False: 6.33k]
  ------------------
 1635|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1636|      0|        return (unsigned long long)-1;
 1637|      0|    }
 1638|  6.33k|    if (!PyLong_Check(vv)) {
  ------------------
  |  |   13|  6.33k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  6.33k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1638:9): [True: 0, False: 6.33k]
  ------------------
 1639|      0|        PyErr_SetString(PyExc_TypeError, "an integer is required");
 1640|      0|        return (unsigned long long)-1;
 1641|      0|    }
 1642|       |
 1643|  6.33k|    v = (PyLongObject*)vv;
 1644|  6.33k|    if (_PyLong_IsNonNegativeCompact(v)) {
  ------------------
  |  Branch (1644:9): [True: 6.32k, False: 2]
  ------------------
 1645|  6.32k|        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|  6.32k|        bytes = (unsigned long long)(size_t)_PyLong_CompactValue(v);
 1657|  6.32k|#endif
 1658|  6.32k|    }
 1659|      2|    else {
 1660|      2|        res = _PyLong_AsByteArray((PyLongObject *)vv, (unsigned char *)&bytes,
 1661|      2|                              SIZEOF_LONG_LONG, PY_LITTLE_ENDIAN, 0, 1);
  ------------------
  |  | 1831|      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|  6.33k|    if (res < 0)
  ------------------
  |  Branch (1665:9): [True: 0, False: 6.33k]
  ------------------
 1666|      0|        return (unsigned long long)res;
 1667|  6.33k|    else
 1668|  6.33k|        return bytes;
 1669|  6.33k|}
_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_UInt32_Converter:
 1814|  10.7k|_PyLong_##NAME##_Converter(PyObject *obj, void *ptr)                \
 1815|  10.7k|{                                                                   \
 1816|  10.7k|    Py_ssize_t bytes = PyLong_AsNativeBytes(obj, ptr, sizeof(TYPE), \
 1817|  10.7k|            Py_ASNATIVEBYTES_NATIVE_ENDIAN |                        \
  ------------------
  |  |   47|  10.7k|#define Py_ASNATIVEBYTES_NATIVE_ENDIAN 3
  ------------------
 1818|  10.7k|            Py_ASNATIVEBYTES_ALLOW_INDEX |                          \
  ------------------
  |  |   50|  10.7k|#define Py_ASNATIVEBYTES_ALLOW_INDEX 16
  ------------------
 1819|  10.7k|            Py_ASNATIVEBYTES_REJECT_NEGATIVE |                      \
  ------------------
  |  |   49|  10.7k|#define Py_ASNATIVEBYTES_REJECT_NEGATIVE 8
  ------------------
 1820|  10.7k|            Py_ASNATIVEBYTES_UNSIGNED_BUFFER);                      \
  ------------------
  |  |   48|  10.7k|#define Py_ASNATIVEBYTES_UNSIGNED_BUFFER 4
  ------------------
 1821|  10.7k|    if (bytes < 0) {                                                \
  ------------------
  |  Branch (1821:9): [True: 0, False: 10.7k]
  ------------------
 1822|      0|        return 0;                                                   \
 1823|      0|    }                                                               \
 1824|  10.7k|    if ((size_t)bytes > sizeof(TYPE)) {                             \
  ------------------
  |  Branch (1824:9): [True: 0, False: 10.7k]
  ------------------
 1825|      0|        PyErr_SetString(PyExc_OverflowError,                        \
 1826|      0|                        "Python int too large for C "#TYPE);        \
 1827|      0|        return 0;                                                   \
 1828|      0|    }                                                               \
 1829|  10.7k|    return 1;                                                       \
 1830|  10.7k|}
_PyLong_UInt64_Converter:
 1814|    244|_PyLong_##NAME##_Converter(PyObject *obj, void *ptr)                \
 1815|    244|{                                                                   \
 1816|    244|    Py_ssize_t bytes = PyLong_AsNativeBytes(obj, ptr, sizeof(TYPE), \
 1817|    244|            Py_ASNATIVEBYTES_NATIVE_ENDIAN |                        \
  ------------------
  |  |   47|    244|#define Py_ASNATIVEBYTES_NATIVE_ENDIAN 3
  ------------------
 1818|    244|            Py_ASNATIVEBYTES_ALLOW_INDEX |                          \
  ------------------
  |  |   50|    244|#define Py_ASNATIVEBYTES_ALLOW_INDEX 16
  ------------------
 1819|    244|            Py_ASNATIVEBYTES_REJECT_NEGATIVE |                      \
  ------------------
  |  |   49|    244|#define Py_ASNATIVEBYTES_REJECT_NEGATIVE 8
  ------------------
 1820|    244|            Py_ASNATIVEBYTES_UNSIGNED_BUFFER);                      \
  ------------------
  |  |   48|    244|#define Py_ASNATIVEBYTES_UNSIGNED_BUFFER 4
  ------------------
 1821|    244|    if (bytes < 0) {                                                \
  ------------------
  |  Branch (1821:9): [True: 0, False: 244]
  ------------------
 1822|      0|        return 0;                                                   \
 1823|      0|    }                                                               \
 1824|    244|    if ((size_t)bytes > sizeof(TYPE)) {                             \
  ------------------
  |  Branch (1824:9): [True: 0, False: 244]
  ------------------
 1825|      0|        PyErr_SetString(PyExc_OverflowError,                        \
 1826|      0|                        "Python int too large for C "#TYPE);        \
 1827|      0|        return 0;                                                   \
 1828|      0|    }                                                               \
 1829|    244|    return 1;                                                       \
 1830|    244|}
_PyLong_Format:
 2501|    576|{
 2502|    576|    PyObject *str;
 2503|    576|    int err;
 2504|    576|    if (base == 10)
  ------------------
  |  Branch (2504:9): [True: 0, False: 576]
  ------------------
 2505|      0|        err = long_to_decimal_string_internal(obj, &str, NULL, NULL, NULL);
 2506|    576|    else
 2507|    576|        err = long_format_binary(obj, base, 1, &str, NULL, NULL, NULL);
 2508|    576|    if (err == -1)
  ------------------
  |  Branch (2508:9): [True: 0, False: 576]
  ------------------
 2509|      0|        return NULL;
 2510|    576|    return str;
 2511|    576|}
_PyLong_FormatWriter:
 2517|  8.30k|{
 2518|  8.30k|    if (base == 10)
  ------------------
  |  Branch (2518:9): [True: 8.30k, False: 0]
  ------------------
 2519|  8.30k|        return long_to_decimal_string_internal(obj, NULL, writer,
 2520|  8.30k|                                               NULL, NULL);
 2521|      0|    else
 2522|      0|        return long_format_binary(obj, base, alternate, NULL, writer,
 2523|      0|                                  NULL, NULL);
 2524|  8.30k|}
PyLong_FromString:
 3053|  9.28k|{
 3054|  9.28k|    int sign = 1, error_if_nonzero = 0;
 3055|  9.28k|    const char *orig_str = str;
 3056|  9.28k|    PyLongObject *z = NULL;
 3057|  9.28k|    PyObject *strobj;
 3058|  9.28k|    Py_ssize_t slen;
 3059|       |
 3060|  9.28k|    if ((base != 0 && base < 2) || base > 36) {
  ------------------
  |  Branch (3060:10): [True: 9.28k, False: 0]
  |  Branch (3060:23): [True: 0, False: 9.28k]
  |  Branch (3060:36): [True: 0, False: 9.28k]
  ------------------
 3061|      0|        PyErr_SetString(PyExc_ValueError,
 3062|      0|                        "int() arg 2 must be >= 2 and <= 36");
 3063|      0|        return NULL;
 3064|      0|    }
 3065|  9.28k|    while (*str != '\0' && Py_ISSPACE(*str)) {
  ------------------
  |  |   27|  9.28k|#define Py_ISSPACE(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_SPACE)
  |  |  ------------------
  |  |  |  |  138|  9.28k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISSPACE(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_SPACE)
  |  |  ------------------
  |  |  |  |   13|  9.28k|#define PY_CTF_SPACE  0x08
  |  |  ------------------
  |  |  |  Branch (27:24): [True: 0, False: 9.28k]
  |  |  ------------------
  ------------------
  |  Branch (3065:12): [True: 9.28k, False: 0]
  ------------------
 3066|      0|        ++str;
 3067|      0|    }
 3068|  9.28k|    if (*str == '+') {
  ------------------
  |  Branch (3068:9): [True: 0, False: 9.28k]
  ------------------
 3069|      0|        ++str;
 3070|      0|    }
 3071|  9.28k|    else if (*str == '-') {
  ------------------
  |  Branch (3071:14): [True: 0, False: 9.28k]
  ------------------
 3072|      0|        ++str;
 3073|      0|        sign = -1;
 3074|      0|    }
 3075|  9.28k|    if (base == 0) {
  ------------------
  |  Branch (3075:9): [True: 0, False: 9.28k]
  ------------------
 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|  9.28k|    if (str[0] == '0' &&
  ------------------
  |  Branch (3095:9): [True: 708, False: 8.57k]
  ------------------
 3096|    708|        ((base == 16 && (str[1] == 'x' || str[1] == 'X')) ||
  ------------------
  |  Branch (3096:11): [True: 10, False: 698]
  |  Branch (3096:26): [True: 0, False: 10]
  |  Branch (3096:43): [True: 0, False: 10]
  ------------------
 3097|    708|         (base == 8  && (str[1] == 'o' || str[1] == 'O')) ||
  ------------------
  |  Branch (3097:11): [True: 8, False: 700]
  |  Branch (3097:26): [True: 0, False: 8]
  |  Branch (3097:43): [True: 0, False: 8]
  ------------------
 3098|    708|         (base == 2  && (str[1] == 'b' || str[1] == 'B')))) {
  ------------------
  |  Branch (3098:11): [True: 582, False: 126]
  |  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|  9.28k|    int ret = long_from_string_base(&str, base, &z);
 3108|  9.28k|    if (ret == -1) {
  ------------------
  |  Branch (3108:9): [True: 0, False: 9.28k]
  ------------------
 3109|       |        /* Syntax error. */
 3110|      0|        goto onError;
 3111|      0|    }
 3112|  9.28k|    if (z == NULL) {
  ------------------
  |  Branch (3112:9): [True: 0, False: 9.28k]
  ------------------
 3113|       |        /* Error. exception already set. */
 3114|      0|        return NULL;
 3115|      0|    }
 3116|       |
 3117|  9.28k|    if (error_if_nonzero) {
  ------------------
  |  Branch (3117:9): [True: 0, False: 9.28k]
  ------------------
 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|  9.28k|    long_normalize(z);
 3130|  9.28k|    z = maybe_small_long(z);
 3131|  9.28k|    if (sign < 0) {
  ------------------
  |  Branch (3131:9): [True: 0, False: 9.28k]
  ------------------
 3132|      0|        _PyLong_Negate(&z);
 3133|      0|    }
 3134|       |
 3135|  9.28k|    if (pend != NULL) {
  ------------------
  |  Branch (3135:9): [True: 988, False: 8.29k]
  ------------------
 3136|    988|        *pend = (char *)str;
 3137|    988|    }
 3138|  9.28k|    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|    380|{
 3185|    380|    PyObject *result, *asciidig;
 3186|    380|    const char *buffer;
 3187|    380|    char *end = NULL;
 3188|    380|    Py_ssize_t buflen;
 3189|       |
 3190|    380|    asciidig = _PyUnicode_TransformDecimalAndSpaceToASCII(u);
 3191|    380|    if (asciidig == NULL)
  ------------------
  |  Branch (3191:9): [True: 0, False: 380]
  ------------------
 3192|      0|        return NULL;
 3193|    380|    assert(PyUnicode_IS_ASCII(asciidig));
 3194|       |    /* Simply get a pointer to existing ASCII characters. */
 3195|    380|    buffer = PyUnicode_AsUTF8AndSize(asciidig, &buflen);
 3196|    380|    assert(buffer != NULL);
 3197|       |
 3198|    380|    result = PyLong_FromString(buffer, &end, base);
 3199|    380|    if (end == NULL || (result != NULL && end == buffer + buflen)) {
  ------------------
  |  Branch (3199:9): [True: 0, False: 380]
  |  Branch (3199:25): [True: 380, False: 0]
  |  Branch (3199:43): [True: 380, False: 0]
  ------------------
 3200|    380|        Py_DECREF(asciidig);
  ------------------
  |  |  430|    380|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    380|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    380|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3201|    380|        return result;
 3202|    380|    }
 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|    380|}
_PyLong_Frexp:
 3466|     54|{
 3467|     54|    Py_ssize_t a_size, shift_digits, x_size;
 3468|     54|    int shift_bits;
 3469|     54|    int64_t a_bits;
 3470|       |    /* See below for why x_digits is always large enough. */
 3471|     54|    digit rem;
 3472|     54|    digit x_digits[2 + (DBL_MANT_DIG + 1) / PyLong_SHIFT] = {0,};
 3473|     54|    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|     54|    static const int half_even_correction[8] = {0, -1, -2, 1, 0, -1, 2, 1};
 3478|       |
 3479|     54|    a_size = _PyLong_DigitCount(a);
 3480|     54|    if (a_size == 0) {
  ------------------
  |  Branch (3480:9): [True: 0, False: 54]
  ------------------
 3481|       |        /* Special case for 0: significand 0.0, exponent 0. */
 3482|      0|        *e = 0;
 3483|      0|        return 0.0;
 3484|      0|    }
 3485|     54|    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|     54|    if (a_bits <= DBL_MANT_DIG + 2) {
  ------------------
  |  Branch (3512:9): [True: 54, False: 0]
  ------------------
 3513|     54|        shift_digits = (DBL_MANT_DIG + 2 - (Py_ssize_t)a_bits) / PyLong_SHIFT;
  ------------------
  |  |   47|     54|#define PyLong_SHIFT    30
  ------------------
 3514|     54|        shift_bits = (DBL_MANT_DIG + 2 - (int)a_bits) % PyLong_SHIFT;
  ------------------
  |  |   47|     54|#define PyLong_SHIFT    30
  ------------------
 3515|     54|        x_size = shift_digits;
 3516|     54|        rem = v_lshift(x_digits + x_size, a->long_value.ob_digit, a_size,
 3517|     54|                       shift_bits);
 3518|     54|        x_size += a_size;
 3519|     54|        x_digits[x_size++] = rem;
 3520|     54|    }
 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|     54|    assert(1 <= x_size && x_size <= (Py_ssize_t)Py_ARRAY_LENGTH(x_digits));
 3541|       |
 3542|       |    /* Round, and convert to double. */
 3543|     54|    x_digits[0] += half_even_correction[x_digits[0] & 7];
 3544|     54|    dx = x_digits[--x_size];
 3545|    162|    while (x_size > 0)
  ------------------
  |  Branch (3545:12): [True: 108, False: 54]
  ------------------
 3546|    108|        dx = dx * PyLong_BASE + x_digits[--x_size];
  ------------------
  |  |   61|    108|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|    108|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
 3547|       |
 3548|       |    /* Rescale;  make correction if result is 1.0. */
 3549|     54|    dx /= 4.0 * EXP2_DBL_MANT_DIG;
  ------------------
  |  | 3459|     54|#define EXP2_DBL_MANT_DIG 9007199254740992.0
  ------------------
 3550|     54|    if (dx == 1.0) {
  ------------------
  |  Branch (3550:9): [True: 0, False: 54]
  ------------------
 3551|      0|        assert(a_bits < INT64_MAX);
 3552|      0|        dx = 0.5;
 3553|      0|        a_bits += 1;
 3554|      0|    }
 3555|       |
 3556|     54|    *e = a_bits;
 3557|     54|    return _PyLong_IsNegative(a) ? -dx : dx;
  ------------------
  |  Branch (3557:12): [True: 0, False: 54]
  ------------------
 3558|     54|}
PyLong_AsDouble:
 3565|  2.04M|{
 3566|  2.04M|    int64_t exponent;
 3567|  2.04M|    double x;
 3568|       |
 3569|  2.04M|    if (v == NULL) {
  ------------------
  |  Branch (3569:9): [True: 0, False: 2.04M]
  ------------------
 3570|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3571|      0|        return -1.0;
 3572|      0|    }
 3573|  2.04M|    if (!PyLong_Check(v)) {
  ------------------
  |  |   13|  2.04M|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  2.04M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3573:9): [True: 0, False: 2.04M]
  ------------------
 3574|      0|        PyErr_SetString(PyExc_TypeError, "an integer is required");
 3575|      0|        return -1.0;
 3576|      0|    }
 3577|  2.04M|    if (_PyLong_IsCompact((PyLongObject *)v)) {
  ------------------
  |  Branch (3577:9): [True: 2.04M, False: 54]
  ------------------
 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|  2.04M|        return (double)medium_value((PyLongObject *)v);
  ------------------
  |  |   27|  2.04M|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 3583|  2.04M|    }
 3584|     54|    x = _PyLong_Frexp((PyLongObject *)v, &exponent);
 3585|     54|    assert(exponent >= 0);
 3586|     54|    assert(!PyErr_Occurred());
 3587|     54|    if (exponent > DBL_MAX_EXP) {
  ------------------
  |  Branch (3587:9): [True: 0, False: 54]
  ------------------
 3588|      0|        PyErr_SetString(PyExc_OverflowError,
 3589|      0|                        "int too large to convert to float");
 3590|      0|        return -1.0;
 3591|      0|    }
 3592|     54|    return ldexp(x, (int)exponent);
 3593|     54|}
_PyLong_ExactDealloc:
 3636|  24.7M|{
 3637|  24.7M|    assert(PyLong_CheckExact(self));
 3638|  24.7M|    if (_PyLong_IsSmallInt((PyLongObject *)self)) {
  ------------------
  |  Branch (3638:9): [True: 0, False: 24.7M]
  ------------------
 3639|       |        // See PEP 683, section Accidental De-Immortalizing for details
 3640|      0|        _Py_SetImmortal(self);
 3641|      0|        return;
 3642|      0|    }
 3643|  24.7M|    if (_PyLong_IsCompact((PyLongObject *)self)) {
  ------------------
  |  Branch (3643:9): [True: 24.6M, False: 39.4k]
  ------------------
 3644|  24.6M|        _Py_FREELIST_FREE(ints, self, PyObject_Free);
  ------------------
  |  |   35|  24.6M|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  24.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  24.6M|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   20|  24.6M|#  define Py_ints_MAXFREELIST 100
  |  |  ------------------
  ------------------
 3645|  24.6M|        return;
 3646|  24.6M|    }
 3647|  39.4k|    PyObject_Free(self);
 3648|  39.4k|}
_PyCompactLong_Add:
 3868|  38.8M|{
 3869|  38.8M|    assert(_PyLong_BothAreCompact(a, b));
 3870|  38.8M|    stwodigits v = medium_value(a) + medium_value(b);
  ------------------
  |  |   27|  38.8M|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                  stwodigits v = medium_value(a) + medium_value(b);
  ------------------
  |  |   27|  38.8M|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 3871|  38.8M|    return medium_from_stwodigits(v);
 3872|  38.8M|}
_PyCompactLong_Subtract:
 3913|  7.62M|{
 3914|  7.62M|    assert(_PyLong_BothAreCompact(a, b));
 3915|  7.62M|    stwodigits v = medium_value(a) - medium_value(b);
  ------------------
  |  |   27|  7.62M|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                  stwodigits v = medium_value(a) - medium_value(b);
  ------------------
  |  |   27|  7.62M|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 3916|  7.62M|    return medium_from_stwodigits(v);
 3917|  7.62M|}
_PyCompactLong_Multiply:
 4360|   256k|{
 4361|   256k|    assert(_PyLong_BothAreCompact(a, b));
 4362|   256k|    stwodigits v = medium_value(a) * medium_value(b);
  ------------------
  |  |   27|   256k|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                  stwodigits v = medium_value(a) * medium_value(b);
  ------------------
  |  |   27|   256k|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 4363|   256k|    return medium_from_stwodigits(v);
 4364|   256k|}
_PyLong_Rshift:
 5428|  7.53M|{
 5429|  7.53M|    Py_ssize_t wordshift;
 5430|  7.53M|    digit remshift;
 5431|       |
 5432|  7.53M|    assert(PyLong_Check(a));
 5433|  7.53M|    assert(shiftby >= 0);
 5434|  7.53M|    if (_PyLong_IsZero((PyLongObject *)a)) {
  ------------------
  |  Branch (5434:9): [True: 0, False: 7.53M]
  ------------------
 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|  7.53M|    wordshift = (Py_ssize_t)(shiftby / PyLong_SHIFT);
  ------------------
  |  |   47|  7.53M|#define PyLong_SHIFT    30
  ------------------
 5448|  7.53M|    remshift = (digit)(shiftby % PyLong_SHIFT);
  ------------------
  |  |   47|  7.53M|#define PyLong_SHIFT    30
  ------------------
 5449|  7.53M|    return long_rshift1((PyLongObject *)a, wordshift, remshift);
 5450|  7.53M|}
PyLong_GetInfo:
 6712|      2|{
 6713|      2|    PyObject* int_info;
 6714|      2|    int field = 0;
 6715|      2|    int_info = PyStructSequence_New(&Int_InfoType);
 6716|      2|    if (int_info == NULL)
  ------------------
  |  Branch (6716:9): [True: 0, False: 2]
  ------------------
 6717|      0|        return NULL;
 6718|      2|    PyStructSequence_SET_ITEM(int_info, field++,
  ------------------
  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  ------------------
 6719|      2|                              PyLong_FromLong(PyLong_SHIFT));
  ------------------
  |  |   47|      2|#define PyLong_SHIFT    30
  ------------------
 6720|      2|    PyStructSequence_SET_ITEM(int_info, field++,
  ------------------
  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  ------------------
 6721|      2|                              PyLong_FromLong(sizeof(digit)));
 6722|       |    /*
 6723|       |     * The following two fields were added after investigating uses of
 6724|       |     * sys.int_info in the wild: Exceedingly rarely used. The ONLY use found was
 6725|       |     * numba using sys.int_info.bits_per_digit as attribute access rather than
 6726|       |     * sequence unpacking. Cython and sympy also refer to sys.int_info but only
 6727|       |     * as info for debugging. No concern about adding these in a backport.
 6728|       |     */
 6729|      2|    PyStructSequence_SET_ITEM(int_info, field++,
  ------------------
  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  ------------------
 6730|      2|                              PyLong_FromLong(_PY_LONG_DEFAULT_MAX_STR_DIGITS));
  ------------------
  |  |   29|      2|#define _PY_LONG_DEFAULT_MAX_STR_DIGITS 4300
  ------------------
 6731|      2|    PyStructSequence_SET_ITEM(int_info, field++,
  ------------------
  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  ------------------
 6732|      2|                              PyLong_FromLong(_PY_LONG_MAX_STR_DIGITS_THRESHOLD));
  ------------------
  |  |   42|      2|#define _PY_LONG_MAX_STR_DIGITS_THRESHOLD 640
  ------------------
 6733|      2|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (6733:9): [True: 0, False: 2]
  ------------------
 6734|      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]
  |  |  ------------------
  ------------------
 6735|      0|        return NULL;
 6736|      0|    }
 6737|      2|    return int_info;
 6738|      2|}
_PyLong_InitTypes:
 6745|      2|{
 6746|       |    /* initialize int_info */
 6747|      2|    if (_PyStructSequence_InitBuiltin(interp, &Int_InfoType,
  ------------------
  |  Branch (6747:9): [True: 0, False: 2]
  ------------------
 6748|      2|                                      &int_info_desc) < 0)
 6749|      0|    {
 6750|      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)}
  ------------------
 6751|      0|    }
 6752|       |
 6753|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 6754|      2|}
PyLong_FromInt64:
 6789|  2.01M|{
 6790|       |    PYLONG_FROM_INT(uint64_t, int64_t, value);
  ------------------
  |  |  371|  2.01M|    do {                                                                            \
  |  |  372|  2.01M|        /* Handle small and medium cases. */                                        \
  |  |  373|  2.01M|        if (IS_SMALL_INT(ival)) {                                                   \
  |  |  ------------------
  |  |  |  |   29|  2.01M|#define IS_SMALL_INT(ival) _PY_IS_SMALL_INT(ival)
  |  |  |  |  ------------------
  |  |  |  |  |  |   68|  2.01M|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   98|  2.01M|#define _PY_NSMALLNEGINTS           5
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   97|  2.01M|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (68:6): [True: 2.01M, False: 0]
  |  |  |  |  |  |  |  Branch (68:37): [True: 2.01M, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  374|  2.01M|            return get_small_int((sdigit)(ival));                                   \
  |  |  375|  2.01M|        }                                                                           \
  |  |  376|  2.01M|        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]
  |  |  ------------------
  ------------------
 6791|  2.01M|}
PyLong_AsInt64:
 6820|  7.66M|{
 6821|  7.66M|    LONG_TO_INT(obj, value, "C int64_t");
  ------------------
  |  | 6799|  7.66M|    do { \
  |  | 6800|  7.66M|        int flags = (Py_ASNATIVEBYTES_NATIVE_ENDIAN \
  |  |  ------------------
  |  |  |  |   47|  7.66M|#define Py_ASNATIVEBYTES_NATIVE_ENDIAN 3
  |  |  ------------------
  |  | 6801|  7.66M|                     | Py_ASNATIVEBYTES_ALLOW_INDEX); \
  |  |  ------------------
  |  |  |  |   50|  7.66M|#define Py_ASNATIVEBYTES_ALLOW_INDEX 16
  |  |  ------------------
  |  | 6802|  7.66M|        Py_ssize_t bytes = PyLong_AsNativeBytes(obj, value, sizeof(*value), flags); \
  |  | 6803|  7.66M|        if (bytes < 0) { \
  |  |  ------------------
  |  |  |  Branch (6803:13): [True: 0, False: 7.66M]
  |  |  ------------------
  |  | 6804|      0|            return -1; \
  |  | 6805|      0|        } \
  |  | 6806|  7.66M|        if ((size_t)bytes > sizeof(*value)) { \
  |  |  ------------------
  |  |  |  Branch (6806:13): [True: 0, False: 7.66M]
  |  |  ------------------
  |  | 6807|      0|            PyErr_SetString(PyExc_OverflowError, \
  |  | 6808|      0|                            "Python int too large to convert to " type_name); \
  |  | 6809|      0|            return -1; \
  |  | 6810|      0|        } \
  |  | 6811|  7.66M|        return 0; \
  |  | 6812|  7.66M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (6812:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 6822|  7.66M|}
PyLong_GetNativeLayout:
 6863|    122|{
 6864|    122|    return &PyLong_LAYOUT;
 6865|    122|}
PyLongWriter_Create:
 6926|    122|{
 6927|    122|    if (ndigits <= 0) {
  ------------------
  |  Branch (6927:9): [True: 0, False: 122]
  ------------------
 6928|      0|        PyErr_SetString(PyExc_ValueError, "ndigits must be positive");
 6929|      0|        goto error;
 6930|      0|    }
 6931|    122|    assert(digits != NULL);
 6932|       |
 6933|    122|    PyLongObject *obj = long_alloc(ndigits);
 6934|    122|    if (obj == NULL) {
  ------------------
  |  Branch (6934:9): [True: 0, False: 122]
  ------------------
 6935|      0|        goto error;
 6936|      0|    }
 6937|    122|    if (negative) {
  ------------------
  |  Branch (6937:9): [True: 4, False: 118]
  ------------------
 6938|      4|        _PyLong_FlipSign(obj);
 6939|      4|    }
 6940|       |
 6941|    122|    *digits = obj->long_value.ob_digit;
 6942|    122|    return (PyLongWriter*)obj;
 6943|       |
 6944|      0|error:
 6945|      0|    *digits = NULL;
 6946|       |    return NULL;
 6947|    122|}
PyLongWriter_Finish:
 6965|    122|{
 6966|    122|    PyLongObject *obj = (PyLongObject *)writer;
 6967|    122|    assert(Py_REFCNT(obj) == 1);
 6968|       |
 6969|       |#ifdef Py_DEBUG
 6970|       |    // gh-147988: Detect uninitialized digits: long_alloc() fills digits with
 6971|       |    // 0xFF byte pattern. It's posssible because PyLong_BASE is smaller than
 6972|       |    // the maximum value of the C digit type (uint32_t or unsigned short):
 6973|       |    // most significan bits are unused by the API.
 6974|       |    Py_ssize_t ndigits = _PyLong_DigitCount(obj);
 6975|       |    if (ndigits == 0) {
 6976|       |        // Check ob_digit[0] digit for the number zero
 6977|       |        ndigits = 1;
 6978|       |    }
 6979|       |    for (Py_ssize_t i = 0; i < ndigits; i++) {
 6980|       |        digit d = obj->long_value.ob_digit[i];
 6981|       |        if (d & ~(digit)PyLong_MASK) {
 6982|       |            Py_DECREF(obj);
 6983|       |            PyErr_Format(PyExc_SystemError,
 6984|       |                         "PyLongWriter_Finish: digit %zd is uninitialized",
 6985|       |                         i);
 6986|       |            return NULL;
 6987|       |        }
 6988|       |    }
 6989|       |#endif
 6990|       |
 6991|       |    // Normalize and get singleton if possible
 6992|    122|    obj = maybe_small_long(long_normalize(obj));
 6993|       |
 6994|    122|    return (PyObject*)obj;
 6995|    122|}
longobject.c:long_alloc:
  160|  13.0M|{
  161|  13.0M|    assert(size >= 0);
  162|  13.0M|    PyLongObject *result = NULL;
  163|  13.0M|    if (size > (Py_ssize_t)MAX_LONG_DIGITS) {
  ------------------
  |  |  155|  13.0M|# define MAX_LONG_DIGITS ((INT64_MAX-1) / PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|  13.0M|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
  |  Branch (163:9): [True: 0, False: 13.0M]
  ------------------
  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|  13.0M|    Py_ssize_t ndigits = size ? size : 1;
  ------------------
  |  Branch (170:26): [True: 10.2M, False: 2.82M]
  ------------------
  171|       |
  172|  13.0M|    if (ndigits == 1) {
  ------------------
  |  Branch (172:9): [True: 7.52M, False: 5.56M]
  ------------------
  173|  7.52M|        result = (PyLongObject *)_Py_FREELIST_POP(PyLongObject, ints);
  ------------------
  |  |   43|  7.52M|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  7.52M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  174|  7.52M|    }
  175|  13.0M|    if (result == NULL) {
  ------------------
  |  Branch (175:9): [True: 5.57M, False: 7.51M]
  ------------------
  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|  5.57M|        result = PyObject_Malloc(offsetof(PyLongObject, long_value.ob_digit) +
  182|  5.57M|                                ndigits*sizeof(digit));
  183|  5.57M|        if (!result) {
  ------------------
  |  Branch (183:13): [True: 0, False: 5.57M]
  ------------------
  184|      0|            PyErr_NoMemory();
  185|      0|            return NULL;
  186|      0|        }
  187|  5.57M|        _PyObject_Init((PyObject*)result, &PyLong_Type);
  188|  5.57M|        _PyLong_InitTag(result);
  189|  5.57M|    }
  190|  13.0M|    _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|  13.0M|    return result;
  197|  13.0M|}
longobject.c:get_small_int:
   62|  60.9M|{
   63|  60.9M|    assert(IS_SMALL_INT(ival));
   64|  60.9M|    return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS + ival];
  ------------------
  |  |   59|  60.9M|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  ------------------
  |  |  |  |   18|  60.9M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  60.9M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS + ival];
  ------------------
  |  |   98|  60.9M|#define _PY_NSMALLNEGINTS           5
  ------------------
   65|  60.9M|}
longobject.c:_PyLong_FromMedium:
  252|  11.6M|{
  253|  11.6M|    assert(!IS_SMALL_INT(x));
  254|  11.6M|    assert(is_medium_int(x));
  255|       |
  256|  11.6M|    PyLongObject *v = (PyLongObject *)_Py_FREELIST_POP(PyLongObject, ints);
  ------------------
  |  |   43|  11.6M|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  11.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  257|  11.6M|    if (v == NULL) {
  ------------------
  |  Branch (257:9): [True: 3.25M, False: 8.41M]
  ------------------
  258|  3.25M|        v = PyObject_Malloc(sizeof(PyLongObject));
  259|  3.25M|        if (v == NULL) {
  ------------------
  |  Branch (259:13): [True: 0, False: 3.25M]
  ------------------
  260|      0|            PyErr_NoMemory();
  261|      0|            return NULL;
  262|      0|        }
  263|  3.25M|        _PyObject_Init((PyObject*)v, &PyLong_Type);
  264|  3.25M|        _PyLong_InitTag(v);
  265|  3.25M|    }
  266|  11.6M|    digit abs_x = x < 0 ? -x : x;
  ------------------
  |  Branch (266:19): [True: 439, False: 11.6M]
  ------------------
  267|  11.6M|    _PyLong_SetSignAndDigitCount(v, x<0?-1:1, 1);
  ------------------
  |  Branch (267:37): [True: 439, False: 11.6M]
  ------------------
  268|  11.6M|    v->long_value.ob_digit[0] = abs_x;
  269|  11.6M|    return (PyObject*)v;
  270|  11.6M|}
longobject.c:unroll_digits_ulong:
  537|  1.63M|{
  538|  1.63M|    assert(ULONG_MAX >= ((1UL << PyLong_SHIFT) - 1));
  539|       |
  540|  1.63M|    Py_ssize_t i = *iptr;
  541|  1.63M|    assert(i >= 2);
  542|       |
  543|       |    /* unroll 1 digit */
  544|  1.63M|    --i;
  545|  1.63M|    digit *digits = v->long_value.ob_digit;
  546|  1.63M|    unsigned long x = digits[i];
  547|       |
  548|  1.63M|#if (ULONG_MAX >> PyLong_SHIFT) >= ((1UL << PyLong_SHIFT) - 1)
  549|       |    /* unroll another digit */
  550|  1.63M|    x <<= PyLong_SHIFT;
  ------------------
  |  |   47|  1.63M|#define PyLong_SHIFT    30
  ------------------
  551|  1.63M|    --i;
  552|  1.63M|    x |= digits[i];
  553|  1.63M|#endif
  554|       |
  555|  1.63M|    *iptr = i;
  556|  1.63M|    return x;
  557|  1.63M|}
longobject.c:unroll_digits_size_t:
  561|  70.9k|{
  562|  70.9k|    assert(SIZE_MAX >= ((1UL << PyLong_SHIFT) - 1));
  563|       |
  564|  70.9k|    Py_ssize_t i = *iptr;
  565|  70.9k|    assert(i >= 2);
  566|       |
  567|       |    /* unroll 1 digit */
  568|  70.9k|    --i;
  569|  70.9k|    digit *digits = v->long_value.ob_digit;
  570|  70.9k|    size_t x = digits[i];
  571|       |
  572|  70.9k|#if (SIZE_MAX >> PyLong_SHIFT) >= ((1 << PyLong_SHIFT) - 1)
  573|       |    /* unroll another digit */
  574|  70.9k|    x <<= PyLong_SHIFT;
  ------------------
  |  |   47|  70.9k|#define PyLong_SHIFT    30
  ------------------
  575|  70.9k|    --i;
  576|  70.9k|    x |= digits[i];
  577|  70.9k|#endif
  578|       |
  579|  70.9k|    *iptr = i;
  580|  70.9k|    return x;
  581|  70.9k|}
longobject.c:long_sign:
  936|  4.07M|{
  937|  4.07M|    assert(vv != NULL);
  938|  4.07M|    assert(PyLong_Check(vv));
  939|  4.07M|    PyLongObject *v = (PyLongObject *)vv;
  940|       |
  941|  4.07M|    if (_PyLong_IsCompact(v)) {
  ------------------
  |  Branch (941:9): [True: 4.06M, False: 8.72k]
  ------------------
  942|  4.06M|        return _PyLong_CompactSign(v);
  943|  4.06M|    }
  944|  8.72k|    return _PyLong_NonCompactSign(v);
  945|  4.07M|}
longobject.c:bit_length_digit:
  967|  4.05M|{
  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|  4.05M|                  "digit is larger than unsigned long");
  972|  4.05M|    return _Py_bit_length((unsigned long)x);
  973|  4.05M|}
longobject.c:maybe_small_long:
   69|  7.71M|{
   70|  7.71M|    if (v && _PyLong_IsCompact(v)) {
  ------------------
  |  Branch (70:9): [True: 7.71M, False: 0]
  |  Branch (70:14): [True: 7.54M, False: 165k]
  ------------------
   71|  7.54M|        stwodigits ival = medium_value(v);
  ------------------
  |  |   27|  7.54M|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
   72|  7.54M|        if (IS_SMALL_INT(ival)) {
  ------------------
  |  |   29|  7.54M|#define IS_SMALL_INT(ival) _PY_IS_SMALL_INT(ival)
  |  |  ------------------
  |  |  |  |   68|  7.54M|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   98|  7.54M|#define _PY_NSMALLNEGINTS           5
  |  |  |  |  ------------------
  |  |  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   97|  7.54M|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (68:6): [True: 7.54M, False: 0]
  |  |  |  |  |  Branch (68:37): [True: 5.72M, False: 1.81M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   73|  5.72M|            _Py_DECREF_INT(v);
   74|  5.72M|            return (PyLongObject *)get_small_int((sdigit)ival);
   75|  5.72M|        }
   76|  7.54M|    }
   77|  1.98M|    return v;
   78|  7.71M|}
longobject.c:_Py_DECREF_INT:
   47|  5.76M|{
   48|       |    assert(PyLong_CheckExact(op));
   49|  5.76M|    _Py_DECREF_SPECIALIZED((PyObject *)op, _PyLong_ExactDealloc);
   50|  5.76M|}
longobject.c:long_normalize:
  127|  7.72M|{
  128|  7.72M|    Py_ssize_t j = _PyLong_DigitCount(v);
  129|  7.72M|    Py_ssize_t i = j;
  130|       |
  131|  7.79M|    while (i > 0 && v->long_value.ob_digit[i-1] == 0)
  ------------------
  |  Branch (131:12): [True: 4.97M, False: 2.82M]
  |  Branch (131:21): [True: 70.1k, False: 4.90M]
  ------------------
  132|  70.1k|        --i;
  133|  7.72M|    if (i != j) {
  ------------------
  |  Branch (133:9): [True: 69.6k, False: 7.65M]
  ------------------
  134|  69.6k|        if (i == 0) {
  ------------------
  |  Branch (134:13): [True: 490, False: 69.1k]
  ------------------
  135|    490|            _PyLong_SetSignAndDigitCount(v, 0, 0);
  136|    490|        }
  137|  69.1k|        else {
  138|  69.1k|            _PyLong_SetDigitCount(v, i);
  139|  69.1k|        }
  140|  69.6k|    }
  141|  7.72M|    return v;
  142|  7.72M|}
longobject.c:_resolve_endianness:
 1271|  7.69M|{
 1272|  7.69M|    if (*endianness == -1 || (*endianness & 2)) {
  ------------------
  |  Branch (1272:9): [True: 0, False: 7.69M]
  |  Branch (1272:30): [True: 7.69M, False: 0]
  ------------------
 1273|  7.69M|        *endianness = PY_LITTLE_ENDIAN;
  ------------------
  |  |  454|  7.69M|#  define PY_LITTLE_ENDIAN 1
  ------------------
 1274|  7.69M|    } else {
 1275|      0|        *endianness &= 1;
 1276|      0|    }
 1277|       |    assert(*endianness == 0 || *endianness == 1);
 1278|  7.69M|    return 0;
 1279|  7.69M|}
longobject.c:_fits_in_n_bits:
 1259|  7.68M|{
 1260|  7.68M|    if (n >= (Py_ssize_t)sizeof(Py_ssize_t) * 8) {
  ------------------
  |  Branch (1260:9): [True: 7.66M, False: 21.0k]
  ------------------
 1261|  7.66M|        return 1;
 1262|  7.66M|    }
 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|  21.0k|    Py_ssize_t v_extended = v >> ((int)n - 1);
 1266|  21.0k|    return v_extended == 0 || v_extended == -1;
  ------------------
  |  Branch (1266:12): [True: 21.0k, False: 0]
  |  Branch (1266:31): [True: 0, False: 0]
  ------------------
 1267|  7.68M|}
longobject.c:long_to_decimal_string_internal:
 2101|  39.5k|{
 2102|  39.5k|    PyLongObject *scratch, *a;
 2103|  39.5k|    PyObject *str = NULL;
 2104|  39.5k|    Py_ssize_t size, strlen, size_a, i, j;
 2105|  39.5k|    digit *pout, *pin, rem, tenpow;
 2106|  39.5k|    int negative;
 2107|  39.5k|    int d;
 2108|       |
 2109|       |    // writer or bytes_writer can be used, but not both at the same time.
 2110|  39.5k|    assert(writer == NULL || bytes_writer == NULL);
 2111|       |
 2112|  39.5k|    a = (PyLongObject *)aa;
 2113|  39.5k|    if (a == NULL || !PyLong_Check(a)) {
  ------------------
  |  |   13|  39.5k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  39.5k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2113:9): [True: 0, False: 39.5k]
  |  Branch (2113:22): [True: 0, False: 39.5k]
  ------------------
 2114|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2115|      0|        return -1;
 2116|      0|    }
 2117|  39.5k|    size_a = _PyLong_DigitCount(a);
 2118|  39.5k|    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|  39.5k|    if (size_a >= 10 * _PY_LONG_MAX_STR_DIGITS_THRESHOLD
  ------------------
  |  |   42|  39.5k|#define _PY_LONG_MAX_STR_DIGITS_THRESHOLD 640
  ------------------
  |  Branch (2125:9): [True: 0, False: 39.5k]
  ------------------
 2126|  39.5k|                  / (3 * PyLong_SHIFT) + 2) {
  ------------------
  |  |   47|  39.5k|#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|  39.5k|#if WITH_PYLONG_MODULE
 2138|  39.5k|    if (size_a > 1000) {
  ------------------
  |  Branch (2138:9): [True: 0, False: 39.5k]
  ------------------
 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|  39.5k|#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|  39.5k|    d = (33 * _PyLong_DECIMAL_SHIFT) /
  ------------------
  |  |   48|  39.5k|#define _PyLong_DECIMAL_SHIFT   9 /* max(e such that 10**e fits in a digit) */
  ------------------
 2163|  39.5k|        (10 * PyLong_SHIFT - 33 * _PyLong_DECIMAL_SHIFT);
  ------------------
  |  |   47|  39.5k|#define PyLong_SHIFT    30
  ------------------
                      (10 * PyLong_SHIFT - 33 * _PyLong_DECIMAL_SHIFT);
  ------------------
  |  |   48|  39.5k|#define _PyLong_DECIMAL_SHIFT   9 /* max(e such that 10**e fits in a digit) */
  ------------------
 2164|  39.5k|    assert(size_a < PY_SSIZE_T_MAX/2);
 2165|  39.5k|    size = 1 + size_a + size_a / d;
 2166|  39.5k|    scratch = long_alloc(size);
 2167|  39.5k|    if (scratch == NULL)
  ------------------
  |  Branch (2167:9): [True: 0, False: 39.5k]
  ------------------
 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|  39.5k|    pin = a->long_value.ob_digit;
 2174|  39.5k|    pout = scratch->long_value.ob_digit;
 2175|  39.5k|    size = 0;
 2176|   102k|    for (i = size_a; --i >= 0; ) {
  ------------------
  |  Branch (2176:22): [True: 62.5k, False: 39.5k]
  ------------------
 2177|  62.5k|        digit hi = pin[i];
 2178|  97.0k|        for (j = 0; j < size; j++) {
  ------------------
  |  Branch (2178:21): [True: 34.5k, False: 62.5k]
  ------------------
 2179|  34.5k|            twodigits z = (twodigits)pout[j] << PyLong_SHIFT | hi;
  ------------------
  |  |   47|  34.5k|#define PyLong_SHIFT    30
  ------------------
 2180|  34.5k|            hi = (digit)(z / _PyLong_DECIMAL_BASE);
  ------------------
  |  |   49|  34.5k|#define _PyLong_DECIMAL_BASE    ((digit)1000000000) /* 10 ** DECIMAL_SHIFT */
  ------------------
 2181|  34.5k|            pout[j] = (digit)(z - (twodigits)hi *
 2182|  34.5k|                              _PyLong_DECIMAL_BASE);
  ------------------
  |  |   49|  34.5k|#define _PyLong_DECIMAL_BASE    ((digit)1000000000) /* 10 ** DECIMAL_SHIFT */
  ------------------
 2183|  34.5k|        }
 2184|   125k|        while (hi) {
  ------------------
  |  Branch (2184:16): [True: 62.5k, False: 62.5k]
  ------------------
 2185|  62.5k|            pout[size++] = hi % _PyLong_DECIMAL_BASE;
  ------------------
  |  |   49|  62.5k|#define _PyLong_DECIMAL_BASE    ((digit)1000000000) /* 10 ** DECIMAL_SHIFT */
  ------------------
 2186|  62.5k|            hi /= _PyLong_DECIMAL_BASE;
  ------------------
  |  |   49|  62.5k|#define _PyLong_DECIMAL_BASE    ((digit)1000000000) /* 10 ** DECIMAL_SHIFT */
  ------------------
 2187|  62.5k|        }
 2188|       |        /* check for keyboard interrupt */
 2189|  62.5k|        SIGCHECK({
  ------------------
  |  |  117|  62.5k|    do {                                        \
  |  |  118|  62.5k|        if (PyErr_CheckSignals()) PyTryBlock    \
  |  |  ------------------
  |  |  |  Branch (118:13): [True: 0, False: 62.5k]
  |  |  ------------------
  |  |  119|  62.5k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (119:13): [Folded, False: 62.5k]
  |  |  ------------------
  ------------------
 2190|  62.5k|                Py_DECREF(scratch);
 2191|  62.5k|                return -1;
 2192|  62.5k|            });
 2193|  62.5k|    }
 2194|       |    /* pout should have at least one digit, so that the case when a = 0
 2195|       |       works correctly */
 2196|  39.5k|    if (size == 0)
  ------------------
  |  Branch (2196:9): [True: 74, False: 39.4k]
  ------------------
 2197|     74|        pout[size++] = 0;
 2198|       |
 2199|       |    /* calculate exact length of output string, and allocate */
 2200|  39.5k|    strlen = negative + 1 + (size - 1) * _PyLong_DECIMAL_SHIFT;
  ------------------
  |  |   48|  39.5k|#define _PyLong_DECIMAL_SHIFT   9 /* max(e such that 10**e fits in a digit) */
  ------------------
 2201|  39.5k|    tenpow = 10;
 2202|  39.5k|    rem = pout[size-1];
 2203|  92.4k|    while (rem >= tenpow) {
  ------------------
  |  Branch (2203:12): [True: 52.9k, False: 39.5k]
  ------------------
 2204|  52.9k|        tenpow *= 10;
 2205|  52.9k|        strlen++;
 2206|  52.9k|    }
 2207|  39.5k|    if (strlen > _PY_LONG_MAX_STR_DIGITS_THRESHOLD) {
  ------------------
  |  |   42|  39.5k|#define _PY_LONG_MAX_STR_DIGITS_THRESHOLD 640
  ------------------
  |  Branch (2207:9): [True: 0, False: 39.5k]
  ------------------
 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|  39.5k|    if (writer) {
  ------------------
  |  Branch (2218:9): [True: 8.30k, False: 31.2k]
  ------------------
 2219|  8.30k|        if (_PyUnicodeWriter_Prepare(writer, strlen, '9') == -1) {
  ------------------
  |  |  562|  8.30k|    (((MAXCHAR) <= (WRITER)->maxchar                                  \
  |  |  ------------------
  |  |  |  Branch (562:7): [True: 8.30k, False: 2]
  |  |  ------------------
  |  |  563|  8.30k|      && (LENGTH) <= (WRITER)->size - (WRITER)->pos)                  \
  |  |  ------------------
  |  |  |  Branch (563:10): [True: 8.27k, False: 24]
  |  |  ------------------
  |  |  564|  8.30k|     ? 0                                                              \
  |  |  565|  8.30k|     : (((LENGTH) == 0)                                               \
  |  |  ------------------
  |  |  |  Branch (565:9): [True: 0, False: 26]
  |  |  ------------------
  |  |  566|     26|        ? 0                                                           \
  |  |  567|     26|        : _PyUnicodeWriter_PrepareInternal((WRITER), (LENGTH), (MAXCHAR))))
  ------------------
  |  Branch (2219:13): [True: 0, False: 8.30k]
  ------------------
 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|  8.30k|    }
 2224|  31.2k|    else if (bytes_writer) {
  ------------------
  |  Branch (2224:14): [True: 0, False: 31.2k]
  ------------------
 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|  31.2k|    else {
 2233|  31.2k|        str = PyUnicode_New(strlen, '9');
 2234|  31.2k|        if (str == NULL) {
  ------------------
  |  Branch (2234:13): [True: 0, False: 31.2k]
  ------------------
 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|  31.2k|    }
 2239|       |
 2240|  39.5k|#define WRITE_DIGITS(p)                                               \
 2241|  39.5k|    do {                                                              \
 2242|       |        /* pout[0] through pout[size-2] contribute exactly            \
 2243|       |           _PyLong_DECIMAL_SHIFT digits each */                       \
 2244|  39.5k|        for (i=0; i < size - 1; i++) {                                \
 2245|  39.5k|            rem = pout[i];                                            \
 2246|  39.5k|            for (j = 0; j < _PyLong_DECIMAL_SHIFT; j++) {             \
 2247|  39.5k|                *--p = '0' + rem % 10;                                \
 2248|  39.5k|                rem /= 10;                                            \
 2249|  39.5k|            }                                                         \
 2250|  39.5k|        }                                                             \
 2251|       |        /* pout[size-1]: always produce at least one decimal digit */ \
 2252|  39.5k|        rem = pout[i];                                                \
 2253|  39.5k|        do {                                                          \
 2254|  39.5k|            *--p = '0' + rem % 10;                                    \
 2255|  39.5k|            rem /= 10;                                                \
 2256|  39.5k|        } while (rem != 0);                                           \
 2257|  39.5k|                                                                      \
 2258|       |        /* and sign */                                                \
 2259|  39.5k|        if (negative)                                                 \
 2260|  39.5k|            *--p = '-';                                               \
 2261|  39.5k|    } while (0)
 2262|       |
 2263|  39.5k|#define WRITE_UNICODE_DIGITS(TYPE)                                    \
 2264|  39.5k|    do {                                                              \
 2265|  39.5k|        if (writer)                                                   \
 2266|  39.5k|            p = (TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos + strlen; \
 2267|  39.5k|        else                                                          \
 2268|  39.5k|            p = (TYPE*)PyUnicode_DATA(str) + strlen;                  \
 2269|  39.5k|                                                                      \
 2270|  39.5k|        WRITE_DIGITS(p);                                              \
 2271|  39.5k|                                                                      \
 2272|       |        /* check we've counted correctly */                           \
 2273|  39.5k|        if (writer)                                                   \
 2274|  39.5k|            assert(p == ((TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos)); \
 2275|  39.5k|        else                                                          \
 2276|  39.5k|            assert(p == (TYPE*)PyUnicode_DATA(str));                  \
 2277|  39.5k|    } while (0)
 2278|       |
 2279|       |    /* fill the string right-to-left */
 2280|  39.5k|    if (bytes_writer) {
  ------------------
  |  Branch (2280:9): [True: 0, False: 39.5k]
  ------------------
 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|  39.5k|    else {
 2286|  39.5k|        int kind = writer ? writer->kind : PyUnicode_KIND(str);
  ------------------
  |  |  258|  31.2k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  31.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (2286:20): [True: 8.30k, False: 31.2k]
  ------------------
 2287|  39.5k|        if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (2287:13): [True: 39.5k, False: 0]
  ------------------
 2288|  39.5k|            Py_UCS1 *p;
 2289|  39.5k|            WRITE_UNICODE_DIGITS(Py_UCS1);
  ------------------
  |  | 2264|  39.5k|    do {                                                              \
  |  | 2265|  39.5k|        if (writer)                                                   \
  |  |  ------------------
  |  |  |  Branch (2265:13): [True: 8.30k, False: 31.2k]
  |  |  ------------------
  |  | 2266|  39.5k|            p = (TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos + strlen; \
  |  |  ------------------
  |  |  |  |  284|  8.30k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  8.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  8.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2267|  39.5k|        else                                                          \
  |  | 2268|  39.5k|            p = (TYPE*)PyUnicode_DATA(str) + strlen;                  \
  |  |  ------------------
  |  |  |  |  284|  31.2k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  31.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  31.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2269|  39.5k|                                                                      \
  |  | 2270|  39.5k|        WRITE_DIGITS(p);                                              \
  |  |  ------------------
  |  |  |  | 2241|  39.5k|    do {                                                              \
  |  |  |  | 2242|  39.5k|        /* pout[0] through pout[size-2] contribute exactly            \
  |  |  |  | 2243|  39.5k|           _PyLong_DECIMAL_SHIFT digits each */                       \
  |  |  |  | 2244|  62.5k|        for (i=0; i < size - 1; i++) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2244:19): [True: 23.0k, False: 39.5k]
  |  |  |  |  ------------------
  |  |  |  | 2245|  23.0k|            rem = pout[i];                                            \
  |  |  |  | 2246|   230k|            for (j = 0; j < _PyLong_DECIMAL_SHIFT; j++) {             \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|   230k|#define _PyLong_DECIMAL_SHIFT   9 /* max(e such that 10**e fits in a digit) */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2246:25): [True: 207k, False: 23.0k]
  |  |  |  |  ------------------
  |  |  |  | 2247|   207k|                *--p = '0' + rem % 10;                                \
  |  |  |  | 2248|   207k|                rem /= 10;                                            \
  |  |  |  | 2249|   207k|            }                                                         \
  |  |  |  | 2250|  23.0k|        }                                                             \
  |  |  |  | 2251|  39.5k|        /* pout[size-1]: always produce at least one decimal digit */ \
  |  |  |  | 2252|  39.5k|        rem = pout[i];                                                \
  |  |  |  | 2253|  92.4k|        do {                                                          \
  |  |  |  | 2254|  92.4k|            *--p = '0' + rem % 10;                                    \
  |  |  |  | 2255|  92.4k|            rem /= 10;                                                \
  |  |  |  | 2256|  92.4k|        } while (rem != 0);                                           \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2256:18): [True: 52.9k, False: 39.5k]
  |  |  |  |  ------------------
  |  |  |  | 2257|  39.5k|                                                                      \
  |  |  |  | 2258|  39.5k|        /* and sign */                                                \
  |  |  |  | 2259|  39.5k|        if (negative)                                                 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2259:13): [True: 1, False: 39.5k]
  |  |  |  |  ------------------
  |  |  |  | 2260|  39.5k|            *--p = '-';                                               \
  |  |  |  | 2261|  39.5k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2261:14): [Folded, False: 39.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2271|  39.5k|                                                                      \
  |  | 2272|  39.5k|        /* check we've counted correctly */                           \
  |  | 2273|  39.5k|        if (writer)                                                   \
  |  |  ------------------
  |  |  |  Branch (2273:13): [True: 8.30k, False: 31.2k]
  |  |  ------------------
  |  | 2274|  39.5k|            assert(p == ((TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos)); \
  |  | 2275|  39.5k|        else                                                          \
  |  | 2276|  39.5k|            assert(p == (TYPE*)PyUnicode_DATA(str));                  \
  |  | 2277|  39.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2277:14): [Folded, False: 39.5k]
  |  |  ------------------
  ------------------
 2290|  39.5k|        }
 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|  39.5k|    }
 2301|       |
 2302|  39.5k|#undef WRITE_DIGITS
 2303|  39.5k|#undef WRITE_UNICODE_DIGITS
 2304|       |
 2305|  39.5k|    _Py_DECREF_INT(scratch);
 2306|  39.5k|    if (writer) {
  ------------------
  |  Branch (2306:9): [True: 8.30k, False: 31.2k]
  ------------------
 2307|  8.30k|        writer->pos += strlen;
 2308|  8.30k|    }
 2309|  31.2k|    else if (bytes_writer) {
  ------------------
  |  Branch (2309:14): [True: 0, False: 31.2k]
  ------------------
 2310|      0|        (*bytes_str) += strlen;
 2311|      0|    }
 2312|  31.2k|    else {
 2313|       |        assert(_PyUnicode_CheckConsistency(str, 1));
 2314|  31.2k|        *p_output = (PyObject *)str;
 2315|  31.2k|    }
 2316|  39.5k|    return 0;
 2317|  39.5k|}
longobject.c:long_format_binary:
 2337|    576|{
 2338|    576|    PyLongObject *a = (PyLongObject *)aa;
 2339|    576|    PyObject *v = NULL;
 2340|    576|    Py_ssize_t sz;
 2341|    576|    Py_ssize_t size_a;
 2342|    576|    int negative;
 2343|    576|    int bits;
 2344|       |
 2345|    576|    assert(base == 2 || base == 8 || base == 16);
 2346|       |    // writer or bytes_writer can be used, but not both at the same time.
 2347|    576|    assert(writer == NULL || bytes_writer == NULL);
 2348|    576|    if (a == NULL || !PyLong_Check(a)) {
  ------------------
  |  |   13|    576|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    576|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2348:9): [True: 0, False: 576]
  |  Branch (2348:22): [True: 0, False: 576]
  ------------------
 2349|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2350|      0|        return -1;
 2351|      0|    }
 2352|    576|    size_a = _PyLong_DigitCount(a);
 2353|    576|    negative = _PyLong_IsNegative(a);
 2354|       |
 2355|       |    /* Compute a rough upper bound for the length of the string */
 2356|    576|    switch (base) {
 2357|    576|    case 16:
  ------------------
  |  Branch (2357:5): [True: 576, False: 0]
  ------------------
 2358|    576|        bits = 4;
 2359|    576|        break;
 2360|      0|    case 8:
  ------------------
  |  Branch (2360:5): [True: 0, False: 576]
  ------------------
 2361|      0|        bits = 3;
 2362|      0|        break;
 2363|      0|    case 2:
  ------------------
  |  Branch (2363:5): [True: 0, False: 576]
  ------------------
 2364|      0|        bits = 1;
 2365|      0|        break;
 2366|      0|    default:
  ------------------
  |  Branch (2366:5): [True: 0, False: 576]
  ------------------
 2367|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 2368|    576|    }
 2369|       |
 2370|       |    /* Compute exact length 'sz' of output string. */
 2371|    576|    if (size_a == 0) {
  ------------------
  |  Branch (2371:9): [True: 4, False: 572]
  ------------------
 2372|      4|        sz = 1;
 2373|      4|    }
 2374|    572|    else {
 2375|    572|        Py_ssize_t size_a_in_bits;
 2376|       |        /* Ensure overflow doesn't occur during computation of sz. */
 2377|    572|        if (size_a > (PY_SSIZE_T_MAX - 3) / PyLong_SHIFT) {
  ------------------
  |  |  137|    572|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
                      if (size_a > (PY_SSIZE_T_MAX - 3) / PyLong_SHIFT) {
  ------------------
  |  |   47|    572|#define PyLong_SHIFT    30
  ------------------
  |  Branch (2377:13): [True: 0, False: 572]
  ------------------
 2378|      0|            PyErr_SetString(PyExc_OverflowError,
 2379|      0|                            "int too large to format");
 2380|      0|            return -1;
 2381|      0|        }
 2382|    572|        size_a_in_bits = (size_a - 1) * PyLong_SHIFT +
  ------------------
  |  |   47|    572|#define PyLong_SHIFT    30
  ------------------
 2383|    572|                         bit_length_digit(a->long_value.ob_digit[size_a - 1]);
 2384|       |        /* Allow 1 character for a '-' sign. */
 2385|    572|        sz = negative + (size_a_in_bits + (bits - 1)) / bits;
 2386|    572|    }
 2387|    576|    if (alternate) {
  ------------------
  |  Branch (2387:9): [True: 576, False: 0]
  ------------------
 2388|       |        /* 2 characters for prefix  */
 2389|    576|        sz += 2;
 2390|    576|    }
 2391|       |
 2392|    576|    if (writer) {
  ------------------
  |  Branch (2392:9): [True: 0, False: 576]
  ------------------
 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|    576|    else if (bytes_writer) {
  ------------------
  |  Branch (2396:14): [True: 0, False: 576]
  ------------------
 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|    576|    else {
 2403|    576|        v = PyUnicode_New(sz, 'x');
 2404|    576|        if (v == NULL)
  ------------------
  |  Branch (2404:13): [True: 0, False: 576]
  ------------------
 2405|      0|            return -1;
 2406|    576|    }
 2407|       |
 2408|    576|#define WRITE_DIGITS(p)                                                 \
 2409|    576|    do {                                                                \
 2410|    576|        if (size_a == 0) {                                              \
 2411|    576|            *--p = '0';                                                 \
 2412|    576|        }                                                               \
 2413|    576|        else {                                                          \
 2414|       |            /* JRH: special case for power-of-2 bases */                \
 2415|    576|            twodigits accum = 0;                                        \
 2416|    576|            int accumbits = 0;   /* # of bits in accum */               \
 2417|    576|            Py_ssize_t i;                                               \
 2418|    576|            for (i = 0; i < size_a; ++i) {                              \
 2419|    576|                accum |= (twodigits)a->long_value.ob_digit[i] << accumbits;        \
 2420|    576|                accumbits += PyLong_SHIFT;                              \
 2421|    576|                assert(accumbits >= bits);                              \
 2422|    576|                do {                                                    \
 2423|    576|                    char cdigit;                                        \
 2424|    576|                    cdigit = (char)(accum & (base - 1));                \
 2425|    576|                    cdigit += (cdigit < 10) ? '0' : 'a'-10;             \
 2426|    576|                    *--p = cdigit;                                      \
 2427|    576|                    accumbits -= bits;                                  \
 2428|    576|                    accum >>= bits;                                     \
 2429|    576|                } while (i < size_a-1 ? accumbits >= bits : accum > 0); \
 2430|    576|            }                                                           \
 2431|    576|        }                                                               \
 2432|    576|                                                                        \
 2433|    576|        if (alternate) {                                                \
 2434|    576|            if (base == 16)                                             \
 2435|    576|                *--p = 'x';                                             \
 2436|    576|            else if (base == 8)                                         \
 2437|    576|                *--p = 'o';                                             \
 2438|    576|            else /* (base == 2) */                                      \
 2439|    576|                *--p = 'b';                                             \
 2440|    576|            *--p = '0';                                                 \
 2441|    576|        }                                                               \
 2442|    576|        if (negative)                                                   \
 2443|    576|            *--p = '-';                                                 \
 2444|    576|    } while (0)
 2445|       |
 2446|    576|#define WRITE_UNICODE_DIGITS(TYPE)                                      \
 2447|    576|    do {                                                                \
 2448|    576|        if (writer)                                                     \
 2449|    576|            p = (TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos + sz; \
 2450|    576|        else                                                            \
 2451|    576|            p = (TYPE*)PyUnicode_DATA(v) + sz;                          \
 2452|    576|                                                                        \
 2453|    576|        WRITE_DIGITS(p);                                                \
 2454|    576|                                                                        \
 2455|    576|        if (writer)                                                     \
 2456|    576|            assert(p == ((TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos)); \
 2457|    576|        else                                                            \
 2458|    576|            assert(p == (TYPE*)PyUnicode_DATA(v));                      \
 2459|    576|    } while (0)
 2460|       |
 2461|    576|    if (bytes_writer) {
  ------------------
  |  Branch (2461:9): [True: 0, False: 576]
  ------------------
 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|    576|    else {
 2467|    576|        int kind = writer ? writer->kind : PyUnicode_KIND(v);
  ------------------
  |  |  258|    576|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|    576|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (2467:20): [True: 0, False: 576]
  ------------------
 2468|    576|        if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (2468:13): [True: 576, False: 0]
  ------------------
 2469|    576|            Py_UCS1 *p;
 2470|    576|            WRITE_UNICODE_DIGITS(Py_UCS1);
  ------------------
  |  | 2447|    576|    do {                                                                \
  |  | 2448|    576|        if (writer)                                                     \
  |  |  ------------------
  |  |  |  Branch (2448:13): [True: 0, False: 576]
  |  |  ------------------
  |  | 2449|    576|            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|    576|        else                                                            \
  |  | 2451|    576|            p = (TYPE*)PyUnicode_DATA(v) + sz;                          \
  |  |  ------------------
  |  |  |  |  284|    576|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    576|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    576|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2452|    576|                                                                        \
  |  | 2453|    576|        WRITE_DIGITS(p);                                                \
  |  |  ------------------
  |  |  |  | 2409|    576|    do {                                                                \
  |  |  |  | 2410|    576|        if (size_a == 0) {                                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2410:13): [True: 4, False: 572]
  |  |  |  |  ------------------
  |  |  |  | 2411|      4|            *--p = '0';                                                 \
  |  |  |  | 2412|      4|        }                                                               \
  |  |  |  | 2413|    576|        else {                                                          \
  |  |  |  | 2414|    572|            /* JRH: special case for power-of-2 bases */                \
  |  |  |  | 2415|    572|            twodigits accum = 0;                                        \
  |  |  |  | 2416|    572|            int accumbits = 0;   /* # of bits in accum */               \
  |  |  |  | 2417|    572|            Py_ssize_t i;                                               \
  |  |  |  | 2418|  1.14k|            for (i = 0; i < size_a; ++i) {                              \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2418:25): [True: 572, False: 572]
  |  |  |  |  ------------------
  |  |  |  | 2419|    572|                accum |= (twodigits)a->long_value.ob_digit[i] << accumbits;        \
  |  |  |  | 2420|    572|                accumbits += PyLong_SHIFT;                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|    572|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  |  | 2421|    572|                assert(accumbits >= bits);                              \
  |  |  |  | 2422|  1.08k|                do {                                                    \
  |  |  |  | 2423|  1.08k|                    char cdigit;                                        \
  |  |  |  | 2424|  1.08k|                    cdigit = (char)(accum & (base - 1));                \
  |  |  |  | 2425|  1.08k|                    cdigit += (cdigit < 10) ? '0' : 'a'-10;             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2425:31): [True: 676, False: 408]
  |  |  |  |  ------------------
  |  |  |  | 2426|  1.08k|                    *--p = cdigit;                                      \
  |  |  |  | 2427|  1.08k|                    accumbits -= bits;                                  \
  |  |  |  | 2428|  1.08k|                    accum >>= bits;                                     \
  |  |  |  | 2429|  1.08k|                } while (i < size_a-1 ? accumbits >= bits : accum > 0); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2429:26): [True: 0, False: 1.08k]
  |  |  |  |  |  Branch (2429:26): [True: 512, False: 572]
  |  |  |  |  ------------------
  |  |  |  | 2430|    572|            }                                                           \
  |  |  |  | 2431|    572|        }                                                               \
  |  |  |  | 2432|    576|                                                                        \
  |  |  |  | 2433|    576|        if (alternate) {                                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2433:13): [True: 576, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2434|    576|            if (base == 16)                                             \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2434:17): [True: 576, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 2435|    576|                *--p = 'x';                                             \
  |  |  |  | 2436|    576|            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|    576|            *--p = '0';                                                 \
  |  |  |  | 2441|    576|        }                                                               \
  |  |  |  | 2442|    576|        if (negative)                                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2442:13): [True: 0, False: 576]
  |  |  |  |  ------------------
  |  |  |  | 2443|    576|            *--p = '-';                                                 \
  |  |  |  | 2444|    576|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2444:14): [Folded, False: 576]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2454|    576|                                                                        \
  |  | 2455|    576|        if (writer)                                                     \
  |  |  ------------------
  |  |  |  Branch (2455:13): [True: 0, False: 576]
  |  |  ------------------
  |  | 2456|    576|            assert(p == ((TYPE*)PyUnicode_DATA(writer->buffer) + writer->pos)); \
  |  | 2457|    576|        else                                                            \
  |  | 2458|    576|            assert(p == (TYPE*)PyUnicode_DATA(v));                      \
  |  | 2459|    576|    } while (0)
  |  |  ------------------
  |  |  |  Branch (2459:14): [Folded, False: 576]
  |  |  ------------------
  ------------------
 2471|    576|        }
 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|    576|    }
 2482|       |
 2483|    576|#undef WRITE_DIGITS
 2484|    576|#undef WRITE_UNICODE_DIGITS
 2485|       |
 2486|    576|    if (writer) {
  ------------------
  |  Branch (2486:9): [True: 0, False: 576]
  ------------------
 2487|      0|        writer->pos += sz;
 2488|      0|    }
 2489|    576|    else if (bytes_writer) {
  ------------------
  |  Branch (2489:14): [True: 0, False: 576]
  ------------------
 2490|      0|        (*bytes_str) += sz;
 2491|      0|    }
 2492|    576|    else {
 2493|       |        assert(_PyUnicode_CheckConsistency(v, 1));
 2494|    576|        *p_output = v;
 2495|    576|    }
 2496|    576|    return 0;
 2497|    576|}
longobject.c:long_from_string_base:
 2960|  9.28k|{
 2961|  9.28k|    const char *start, *end, *p;
 2962|  9.28k|    char prev = 0;
 2963|  9.28k|    Py_ssize_t digits = 0;
 2964|  9.28k|    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|  9.28k|    start = p = *str;
 2974|       |    /* Leading underscore not allowed. */
 2975|  9.28k|    if (*start == '_') {
  ------------------
  |  Branch (2975:9): [True: 0, False: 9.28k]
  ------------------
 2976|      0|        return -1;
 2977|      0|    }
 2978|       |    /* Verify all characters are digits and underscores. */
 2979|  67.5k|    while (_PyLong_DigitValue[Py_CHARMASK(*p)] < base || *p == '_') {
  ------------------
  |  |  138|  67.5k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
  |  Branch (2979:12): [True: 58.2k, False: 9.28k]
  |  Branch (2979:58): [True: 0, False: 9.28k]
  ------------------
 2980|  58.2k|        if (*p == '_') {
  ------------------
  |  Branch (2980:13): [True: 0, False: 58.2k]
  ------------------
 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|  58.2k|        } else {
 2987|  58.2k|            ++digits;
 2988|  58.2k|        }
 2989|  58.2k|        prev = *p;
 2990|  58.2k|        ++p;
 2991|  58.2k|    }
 2992|       |    /* Trailing underscore not allowed. */
 2993|  9.28k|    if (prev == '_') {
  ------------------
  |  Branch (2993:9): [True: 0, False: 9.28k]
  ------------------
 2994|      0|        *str = p - 1;
 2995|      0|        return -1;
 2996|      0|    }
 2997|  9.28k|    *str = end = p;
 2998|       |    /* Reject empty strings */
 2999|  9.28k|    if (start == end) {
  ------------------
  |  Branch (2999:9): [True: 0, False: 9.28k]
  ------------------
 3000|      0|        return -1;
 3001|      0|    }
 3002|       |    /* Allow only trailing whitespace after `end` */
 3003|  9.28k|    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: 9.28k]
  ------------------
 3004|      0|        p++;
 3005|      0|    }
 3006|  9.28k|    *str = p;
 3007|  9.28k|    if (*p != '\0') {
  ------------------
  |  Branch (3007:9): [True: 0, False: 9.28k]
  ------------------
 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|  9.28k|    if (is_binary_base) {
  ------------------
  |  Branch (3015:9): [True: 736, False: 8.54k]
  ------------------
 3016|       |        /* Use the linear algorithm for binary bases. */
 3017|    736|        return long_from_binary_base(start, end, digits, base, res);
 3018|    736|    }
 3019|  8.54k|    else {
 3020|       |        /* Limit the size to avoid excessive computation attacks exploiting the
 3021|       |         * quadratic algorithm. */
 3022|  8.54k|        if (digits > _PY_LONG_MAX_STR_DIGITS_THRESHOLD) {
  ------------------
  |  |   42|  8.54k|#define _PY_LONG_MAX_STR_DIGITS_THRESHOLD 640
  ------------------
  |  Branch (3022:13): [True: 0, False: 8.54k]
  ------------------
 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|  8.54k|#if WITH_PYLONG_MODULE
 3033|  8.54k|        if (digits > 6000 && base == 10) {
  ------------------
  |  Branch (3033:13): [True: 0, False: 8.54k]
  |  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|  8.54k|#endif
 3038|       |        /* Use the quadratic algorithm for non binary bases. */
 3039|  8.54k|        return long_from_non_binary_base(start, end, digits, base, res);
 3040|  8.54k|    }
 3041|  9.28k|}
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|  8.54k|{
 2828|  8.54k|    twodigits c;           /* current input character */
 2829|  8.54k|    Py_ssize_t size_z;
 2830|  8.54k|    int i;
 2831|  8.54k|    int convwidth;
 2832|  8.54k|    twodigits convmultmax, convmult;
 2833|  8.54k|    digit *pz, *pzstop;
 2834|  8.54k|    PyLongObject *z;
 2835|  8.54k|    const char *p;
 2836|       |
 2837|  8.54k|    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|  8.54k|    double fsize_z = (double)digits * log_base_BASE[base] + 1.0;
 2845|  8.54k|    if (fsize_z > (double)MAX_LONG_DIGITS) {
  ------------------
  |  |  155|  8.54k|# define MAX_LONG_DIGITS ((INT64_MAX-1) / PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|  8.54k|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
  |  Branch (2845:9): [True: 0, False: 8.54k]
  ------------------
 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|  8.54k|    size_z = (Py_ssize_t)fsize_z;
 2853|       |    /* Uncomment next line to test exceedingly rare copy code */
 2854|       |    /* size_z = 1; */
 2855|  8.54k|    assert(size_z > 0);
 2856|  8.54k|    z = long_alloc(size_z);
 2857|  8.54k|    if (z == NULL) {
  ------------------
  |  Branch (2857:9): [True: 0, False: 8.54k]
  ------------------
 2858|      0|        *res = NULL;
 2859|      0|        return 0;
 2860|      0|    }
 2861|  8.54k|    z->long_value.ob_digit[0] = 0;
 2862|  8.54k|    _PyLong_SetSignAndDigitCount(z, 0, 0);
 2863|       |
 2864|       |    /* `convwidth` consecutive input digits are treated as a single
 2865|       |     * digit in base `convmultmax`.
 2866|       |     */
 2867|  8.54k|    convwidth = convwidth_base[base];
 2868|  8.54k|    convmultmax = convmultmax_base[base];
 2869|       |
 2870|       |    /* Work ;-) */
 2871|  8.54k|    p = start;
 2872|  17.0k|    while (p < end) {
  ------------------
  |  Branch (2872:12): [True: 8.54k, False: 8.54k]
  ------------------
 2873|  8.54k|        if (*p == '_') {
  ------------------
  |  Branch (2873:13): [True: 0, False: 8.54k]
  ------------------
 2874|      0|            p++;
 2875|      0|            continue;
 2876|      0|        }
 2877|       |        /* grab up to convwidth digits from the input string */
 2878|  8.54k|        c = (digit)_PyLong_DigitValue[Py_CHARMASK(*p++)];
  ------------------
  |  |  138|  8.54k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 2879|  38.0k|        for (i = 1; i < convwidth && p != end; ++p) {
  ------------------
  |  Branch (2879:21): [True: 38.0k, False: 0]
  |  Branch (2879:38): [True: 29.4k, False: 8.54k]
  ------------------
 2880|  29.4k|            if (*p == '_') {
  ------------------
  |  Branch (2880:17): [True: 0, False: 29.4k]
  ------------------
 2881|      0|                continue;
 2882|      0|            }
 2883|  29.4k|            i++;
 2884|  29.4k|            c = (twodigits)(c *  base +
 2885|  29.4k|                            (int)_PyLong_DigitValue[Py_CHARMASK(*p)]);
  ------------------
  |  |  138|  29.4k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
 2886|  29.4k|            assert(c < PyLong_BASE);
 2887|  29.4k|        }
 2888|       |
 2889|  8.54k|        convmult = convmultmax;
 2890|       |        /* Calculate the shift only if we couldn't get
 2891|       |         * convwidth digits.
 2892|       |         */
 2893|  8.54k|        if (i != convwidth) {
  ------------------
  |  Branch (2893:13): [True: 8.54k, False: 0]
  ------------------
 2894|  8.54k|            convmult = base;
 2895|  38.0k|            for ( ; i > 1; --i) {
  ------------------
  |  Branch (2895:21): [True: 29.4k, False: 8.54k]
  ------------------
 2896|  29.4k|                convmult *= base;
 2897|  29.4k|            }
 2898|  8.54k|        }
 2899|       |
 2900|       |        /* Multiply z by convmult, and add c. */
 2901|  8.54k|        pz = z->long_value.ob_digit;
 2902|  8.54k|        pzstop = pz + _PyLong_DigitCount(z);
 2903|  8.54k|        for (; pz < pzstop; ++pz) {
  ------------------
  |  Branch (2903:16): [True: 0, False: 8.54k]
  ------------------
 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|  8.54k|        if (c) {
  ------------------
  |  Branch (2909:13): [True: 8.43k, False: 108]
  ------------------
 2910|  8.43k|            assert(c < PyLong_BASE);
 2911|  8.43k|            if (_PyLong_DigitCount(z) < size_z) {
  ------------------
  |  Branch (2911:17): [True: 8.43k, False: 0]
  ------------------
 2912|  8.43k|                *pz = (digit)c;
 2913|  8.43k|                assert(!_PyLong_IsNegative(z));
 2914|  8.43k|                _PyLong_SetSignAndDigitCount(z, 1, _PyLong_DigitCount(z) + 1);
 2915|  8.43k|            }
 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|  8.43k|        }
 2934|  8.54k|    }
 2935|  8.54k|    *res = z;
 2936|  8.54k|    return 0;
 2937|  8.54k|}
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|  13.7M|{
  315|  13.7M|    if (IS_SMALL_INT(x)) {
  ------------------
  |  |   29|  13.7M|#define IS_SMALL_INT(ival) _PY_IS_SMALL_INT(ival)
  |  |  ------------------
  |  |  |  |   68|  13.7M|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   98|  13.7M|#define _PY_NSMALLNEGINTS           5
  |  |  |  |  ------------------
  |  |  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   97|  13.7M|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (68:6): [True: 13.7M, False: 387]
  |  |  |  |  |  Branch (68:37): [True: 13.6M, False: 67.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  316|  13.6M|        return (PyLongObject*)get_small_int((sdigit)x);
  317|  13.6M|    }
  318|  13.7M|    assert(x != 0);
  319|  68.2k|    if (is_medium_int(x)) {
  ------------------
  |  Branch (319:9): [True: 58.4k, False: 9.79k]
  ------------------
  320|  58.4k|        return (PyLongObject*)_PyLong_FromMedium((sdigit)x);
  321|  58.4k|    }
  322|  9.79k|    return (PyLongObject*)_PyLong_FromLarge(x);
  323|  68.2k|}
longobject.c:is_medium_int:
   54|  33.1M|{
   55|       |    /* Take care that we are comparing unsigned values. */
   56|  33.1M|    twodigits x_plus_mask = ((twodigits)x) + PyLong_MASK;
  ------------------
  |  |   62|  33.1M|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  33.1M|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  33.1M|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   57|  33.1M|    return x_plus_mask < ((twodigits)PyLong_MASK) + PyLong_BASE;
  ------------------
  |  |   62|  33.1M|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  33.1M|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  33.1M|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return x_plus_mask < ((twodigits)PyLong_MASK) + PyLong_BASE;
  ------------------
  |  |   61|  33.1M|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|  33.1M|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
   58|  33.1M|}
longobject.c:_PyLong_FromLarge:
  274|  9.79k|{
  275|  9.79k|    twodigits abs_ival;
  276|  9.79k|    int sign;
  277|  9.79k|    assert(!is_medium_int(ival));
  278|       |
  279|  9.79k|    if (ival < 0) {
  ------------------
  |  Branch (279:9): [True: 0, False: 9.79k]
  ------------------
  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|  9.79k|    else {
  286|  9.79k|        abs_ival = (twodigits)ival;
  287|  9.79k|        sign = 1;
  288|  9.79k|    }
  289|       |    /* Must be at least two digits */
  290|  9.79k|    assert(abs_ival >> PyLong_SHIFT != 0);
  291|  9.79k|    twodigits t = abs_ival >> (PyLong_SHIFT * 2);
  ------------------
  |  |   47|  9.79k|#define PyLong_SHIFT    30
  ------------------
  292|  9.79k|    Py_ssize_t ndigits = 2;
  293|  9.79k|    while (t) {
  ------------------
  |  Branch (293:12): [True: 0, False: 9.79k]
  ------------------
  294|      0|        ++ndigits;
  295|      0|        t >>= PyLong_SHIFT;
  ------------------
  |  |   47|      0|#define PyLong_SHIFT    30
  ------------------
  296|      0|    }
  297|  9.79k|    PyLongObject *v = long_alloc(ndigits);
  298|  9.79k|    if (v != NULL) {
  ------------------
  |  Branch (298:9): [True: 9.79k, False: 0]
  ------------------
  299|  9.79k|        digit *p = v->long_value.ob_digit;
  300|  9.79k|        _PyLong_SetSignAndDigitCount(v, sign, ndigits);
  301|  9.79k|        t = abs_ival;
  302|  29.3k|        while (t) {
  ------------------
  |  Branch (302:16): [True: 19.5k, False: 9.79k]
  ------------------
  303|  19.5k|            *p++ = Py_SAFE_DOWNCAST(
  ------------------
  |  |  247|  19.5k|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  ------------------
  |  |  |  |   34|  19.5k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  304|  19.5k|                t & PyLong_MASK, twodigits, digit);
  305|  19.5k|            t >>= PyLong_SHIFT;
  ------------------
  |  |   47|  19.5k|#define PyLong_SHIFT    30
  ------------------
  306|  19.5k|        }
  307|  9.79k|    }
  308|  9.79k|    return (PyObject *)v;
  309|  9.79k|}
longobject.c:v_lshift:
 1906|    354|{
 1907|    354|    Py_ssize_t i;
 1908|    354|    digit carry = 0;
 1909|       |
 1910|    354|    assert(0 <= d && d < PyLong_SHIFT);
 1911|  1.54k|    for (i=0; i < m; i++) {
  ------------------
  |  Branch (1911:15): [True: 1.18k, False: 354]
  ------------------
 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|    354|    return carry;
 1917|    354|}
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|  46.6M|{
  330|  46.6M|    if (IS_SMALL_INT(x)) {
  ------------------
  |  |   29|  46.6M|#define IS_SMALL_INT(ival) _PY_IS_SMALL_INT(ival)
  |  |  ------------------
  |  |  |  |   68|  46.6M|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   98|  46.6M|#define _PY_NSMALLNEGINTS           5
  |  |  |  |  ------------------
  |  |  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   97|  46.6M|#define _PY_NSMALLPOSINTS           1025
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (68:6): [True: 46.6M, False: 2.16k]
  |  |  |  |  |  Branch (68:37): [True: 13.6M, False: 33.0M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  331|  13.6M|        return PyStackRef_FromPyObjectBorrow(get_small_int((sdigit)x));
  332|  13.6M|    }
  333|  46.6M|    assert(x != 0);
  334|  33.0M|    if(!is_medium_int(x)) {
  ------------------
  |  Branch (334:8): [True: 0, False: 33.0M]
  ------------------
  335|      0|        return PyStackRef_NULL;
  336|      0|    }
  337|  33.0M|    PyLongObject *v = (PyLongObject *)_Py_FREELIST_POP(PyLongObject, ints);
  ------------------
  |  |   43|  33.0M|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  33.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  338|  33.0M|    if (v == NULL) {
  ------------------
  |  Branch (338:9): [True: 1.18M, False: 31.8M]
  ------------------
  339|  1.18M|        v = PyObject_Malloc(sizeof(PyLongObject));
  340|  1.18M|        if (v == NULL) {
  ------------------
  |  Branch (340:13): [True: 0, False: 1.18M]
  ------------------
  341|      0|            return PyStackRef_NULL;
  342|      0|        }
  343|  1.18M|        _PyObject_Init((PyObject*)v, &PyLong_Type);
  344|  1.18M|        _PyLong_InitTag(v);
  345|  1.18M|    }
  346|  33.0M|    digit abs_x = x < 0 ? (digit)(-x) : (digit)x;
  ------------------
  |  Branch (346:19): [True: 2.16k, False: 33.0M]
  ------------------
  347|  33.0M|    _PyLong_SetSignAndDigitCount(v, x<0?-1:1, 1);
  ------------------
  |  Branch (347:37): [True: 2.16k, False: 33.0M]
  ------------------
  348|  33.0M|    v->long_value.ob_digit[0] = abs_x;
  349|  33.0M|    return PyStackRef_FromPyObjectStealMortal((PyObject *)v);
  350|  33.0M|}
longobject.c:long_rshift1:
 5312|  7.53M|{
 5313|  7.53M|    PyLongObject *z = NULL;
 5314|  7.53M|    Py_ssize_t newsize, hishift, size_a;
 5315|  7.53M|    twodigits accum;
 5316|  7.53M|    int a_negative;
 5317|       |
 5318|       |    /* Total number of bits shifted must be nonnegative. */
 5319|  7.53M|    assert(wordshift >= 0);
 5320|  7.53M|    assert(remshift < PyLong_SHIFT);
 5321|       |
 5322|       |    /* Fast path for small a. */
 5323|  7.53M|    if (_PyLong_IsCompact(a)) {
  ------------------
  |  Branch (5323:9): [True: 7.53M, False: 52]
  ------------------
 5324|  7.53M|        stwodigits m, x;
 5325|  7.53M|        digit shift;
 5326|  7.53M|        m = medium_value(a);
  ------------------
  |  |   27|  7.53M|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 5327|  7.53M|        shift = wordshift == 0 ? remshift : PyLong_SHIFT;
  ------------------
  |  |   47|  7.53M|#define PyLong_SHIFT    30
  ------------------
  |  Branch (5327:17): [True: 7.53M, False: 0]
  ------------------
 5328|  7.53M|        x = m < 0 ? ~(~m >> shift) : m >> shift;
  ------------------
  |  Branch (5328:13): [True: 0, False: 7.53M]
  ------------------
 5329|  7.53M|        return (PyObject*)_PyLong_FromSTwoDigits(x);
 5330|  7.53M|    }
 5331|       |
 5332|     52|    a_negative = _PyLong_IsNegative(a);
 5333|     52|    size_a = _PyLong_DigitCount(a);
 5334|       |
 5335|     52|    if (a_negative) {
  ------------------
  |  Branch (5335:9): [True: 0, False: 52]
  ------------------
 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|     52|    assert(wordshift >= 0);
 5350|     52|    newsize = size_a - wordshift;
 5351|     52|    if (newsize <= 0) {
  ------------------
  |  Branch (5351:9): [True: 0, False: 52]
  ------------------
 5352|       |        /* Shifting all the bits of 'a' out gives either -1 or 0. */
 5353|      0|        return PyLong_FromLong(-a_negative);
 5354|      0|    }
 5355|     52|    z = long_alloc(newsize);
 5356|     52|    if (z == NULL) {
  ------------------
  |  Branch (5356:9): [True: 0, False: 52]
  ------------------
 5357|      0|        return NULL;
 5358|      0|    }
 5359|     52|    hishift = PyLong_SHIFT - remshift;
  ------------------
  |  |   47|     52|#define PyLong_SHIFT    30
  ------------------
 5360|       |
 5361|     52|    accum = a->long_value.ob_digit[wordshift];
 5362|     52|    if (a_negative) {
  ------------------
  |  Branch (5362:9): [True: 0, False: 52]
  ------------------
 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|     52|    accum >>= remshift;
 5384|    180|    for (Py_ssize_t i = 0, j = wordshift + 1; j < size_a; i++, j++) {
  ------------------
  |  Branch (5384:47): [True: 128, False: 52]
  ------------------
 5385|    128|        accum += (twodigits)a->long_value.ob_digit[j] << hishift;
 5386|    128|        z->long_value.ob_digit[i] = (digit)(accum & PyLong_MASK);
  ------------------
  |  |   62|    128|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|    128|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|    128|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5387|    128|        accum >>= PyLong_SHIFT;
  ------------------
  |  |   47|    128|#define PyLong_SHIFT    30
  ------------------
 5388|    128|    }
 5389|     52|    assert(accum <= PyLong_MASK);
 5390|     52|    z->long_value.ob_digit[newsize - 1] = (digit)accum;
 5391|       |
 5392|     52|    z = maybe_small_long(long_normalize(z));
 5393|     52|    return (PyObject *)z;
 5394|     52|}
longobject.c:long_long:
 5731|  56.0k|{
 5732|  56.0k|    if (PyLong_CheckExact(v)) {
  ------------------
  |  |   14|  56.0k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  56.0k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  56.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  56.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 16.5k, False: 39.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5733|  16.5k|        return Py_NewRef(v);
  ------------------
  |  |  550|  16.5k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  16.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5734|  16.5k|    }
 5735|  39.5k|    else {
 5736|  39.5k|        return _PyLong_Copy((PyLongObject *)v);
 5737|  39.5k|    }
 5738|  56.0k|}
longobject.c:long_lshift_int64:
 5523|   134k|{
 5524|   134k|    assert(shiftby >= 0);
 5525|       |
 5526|   134k|    if (_PyLong_IsZero(a)) {
  ------------------
  |  Branch (5526:9): [True: 0, False: 134k]
  ------------------
 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|   134k|    Py_ssize_t wordshift = (Py_ssize_t)(shiftby / PyLong_SHIFT);
  ------------------
  |  |   47|   134k|#define PyLong_SHIFT    30
  ------------------
 5537|   134k|    digit remshift = (digit)(shiftby % PyLong_SHIFT);
  ------------------
  |  |   47|   134k|#define PyLong_SHIFT    30
  ------------------
 5538|   134k|    return long_lshift1(a, wordshift, remshift);
 5539|   134k|}
longobject.c:long_lshift1:
 5454|   134k|{
 5455|   134k|    PyLongObject *z = NULL;
 5456|   134k|    Py_ssize_t oldsize, newsize, i, j;
 5457|   134k|    twodigits accum;
 5458|       |
 5459|   134k|    if (wordshift == 0 && _PyLong_IsCompact(a)) {
  ------------------
  |  Branch (5459:9): [True: 134k, False: 70]
  |  Branch (5459:27): [True: 109k, False: 25.0k]
  ------------------
 5460|   109k|        stwodigits m = medium_value(a);
  ------------------
  |  |   27|   109k|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 5461|       |        // bypass undefined shift operator behavior
 5462|   109k|        stwodigits x = m < 0 ? -(-m << remshift) : m << remshift;
  ------------------
  |  Branch (5462:24): [True: 0, False: 109k]
  ------------------
 5463|   109k|        return (PyObject*)_PyLong_FromSTwoDigits(x);
 5464|   109k|    }
 5465|       |
 5466|  25.1k|    oldsize = _PyLong_DigitCount(a);
 5467|  25.1k|    newsize = oldsize + wordshift;
 5468|  25.1k|    if (remshift)
  ------------------
  |  Branch (5468:9): [True: 25.1k, False: 0]
  ------------------
 5469|  25.1k|        ++newsize;
 5470|  25.1k|    z = long_alloc(newsize);
 5471|  25.1k|    if (z == NULL)
  ------------------
  |  Branch (5471:9): [True: 0, False: 25.1k]
  ------------------
 5472|      0|        return NULL;
 5473|  25.1k|    if (_PyLong_IsNegative(a)) {
  ------------------
  |  Branch (5473:9): [True: 0, False: 25.1k]
  ------------------
 5474|      0|        assert(Py_REFCNT(z) == 1);
 5475|      0|        _PyLong_FlipSign(z);
 5476|      0|    }
 5477|  25.4k|    for (i = 0; i < wordshift; i++)
  ------------------
  |  Branch (5477:17): [True: 256, False: 25.1k]
  ------------------
 5478|    256|        z->long_value.ob_digit[i] = 0;
 5479|  25.1k|    accum = 0;
 5480|   100k|    for (j = 0; j < oldsize; i++, j++) {
  ------------------
  |  Branch (5480:17): [True: 75.3k, False: 25.1k]
  ------------------
 5481|  75.3k|        accum |= (twodigits)a->long_value.ob_digit[j] << remshift;
 5482|  75.3k|        z->long_value.ob_digit[i] = (digit)(accum & PyLong_MASK);
  ------------------
  |  |   62|  75.3k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  75.3k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  75.3k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5483|  75.3k|        accum >>= PyLong_SHIFT;
  ------------------
  |  |   47|  75.3k|#define PyLong_SHIFT    30
  ------------------
 5484|  75.3k|    }
 5485|  25.1k|    if (remshift)
  ------------------
  |  Branch (5485:9): [True: 25.1k, False: 0]
  ------------------
 5486|  25.1k|        z->long_value.ob_digit[newsize-1] = (digit)accum;
 5487|      0|    else
 5488|       |        assert(!accum);
 5489|  25.1k|    z = long_normalize(z);
 5490|  25.1k|    return (PyObject *) maybe_small_long(z);
 5491|  25.1k|}
longobject.c:long_abs:
 5287|  7.89k|{
 5288|  7.89k|    if (_PyLong_IsNegative(v))
  ------------------
  |  Branch (5288:9): [True: 488, False: 7.40k]
  ------------------
 5289|    488|        return long_neg(v);
 5290|  7.40k|    else
 5291|  7.40k|        return (PyLongObject*)long_long((PyObject *)v);
 5292|  7.89k|}
longobject.c:long_compare:
 3603|  7.56M|{
 3604|  7.56M|    if (_PyLong_BothAreCompact(a, b)) {
  ------------------
  |  Branch (3604:9): [True: 7.17M, False: 386k]
  ------------------
 3605|  7.17M|        return _PyLong_CompactValue(a) - _PyLong_CompactValue(b);
 3606|  7.17M|    }
 3607|   386k|    Py_ssize_t sign = _PyLong_SignedDigitCount(a) - _PyLong_SignedDigitCount(b);
 3608|   386k|    if (sign == 0) {
  ------------------
  |  Branch (3608:9): [True: 257k, False: 129k]
  ------------------
 3609|   257k|        Py_ssize_t i = _PyLong_DigitCount(a);
 3610|   257k|        sdigit diff = 0;
 3611|   806k|        while (--i >= 0) {
  ------------------
  |  Branch (3611:16): [True: 560k, False: 245k]
  ------------------
 3612|   560k|            diff = (sdigit) a->long_value.ob_digit[i] - (sdigit) b->long_value.ob_digit[i];
 3613|   560k|            if (diff) {
  ------------------
  |  Branch (3613:17): [True: 11.1k, False: 549k]
  ------------------
 3614|  11.1k|                break;
 3615|  11.1k|            }
 3616|   560k|        }
 3617|   257k|        sign = _PyLong_IsNegative(a) ? -diff : diff;
  ------------------
  |  Branch (3617:16): [True: 8.84k, False: 248k]
  ------------------
 3618|   257k|    }
 3619|   386k|    return sign;
 3620|  7.56M|}
longobject.c:l_mod:
 4558|  7.52M|{
 4559|  7.52M|    PyLongObject *mod;
 4560|       |
 4561|  7.52M|    assert(pmod);
 4562|  7.52M|    if (_PyLong_DigitCount(v) == 1 && _PyLong_DigitCount(w) == 1) {
  ------------------
  |  Branch (4562:9): [True: 7.52M, False: 160]
  |  Branch (4562:39): [True: 7.52M, False: 78]
  ------------------
 4563|       |        /* Fast path for single-digit longs */
 4564|  7.52M|        *pmod = (PyLongObject *)fast_mod(v, w);
 4565|  7.52M|        return -(*pmod == NULL);
 4566|  7.52M|    }
 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|  7.53M|{
 4377|  7.53M|    sdigit left = a->long_value.ob_digit[0];
 4378|  7.53M|    sdigit right = b->long_value.ob_digit[0];
 4379|  7.53M|    sdigit mod;
 4380|       |
 4381|  7.53M|    assert(_PyLong_DigitCount(a) == 1);
 4382|  7.53M|    assert(_PyLong_DigitCount(b) == 1);
 4383|  7.53M|    sdigit sign = _PyLong_CompactSign(b);
 4384|  7.53M|    if (_PyLong_SameSign(a, b)) {
  ------------------
  |  Branch (4384:9): [True: 7.53M, False: 0]
  ------------------
 4385|  7.53M|        mod = left % right;
 4386|  7.53M|    }
 4387|      0|    else {
 4388|       |        /* Either 'a' or 'b' is negative. */
 4389|      0|        mod = right - 1 - (left - 1) % right;
 4390|      0|    }
 4391|       |
 4392|  7.53M|    return PyLong_FromLong(mod * sign);
 4393|  7.53M|}
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|  21.1k|{
 3217|  21.1k|    Py_ssize_t size_a = _PyLong_DigitCount(a), size_b = _PyLong_DigitCount(b);
 3218|  21.1k|    PyLongObject *z;
 3219|       |
 3220|  21.1k|    if (size_b == 0) {
  ------------------
  |  Branch (3220:9): [True: 0, False: 21.1k]
  ------------------
 3221|      0|        PyErr_SetString(PyExc_ZeroDivisionError, "division by zero");
 3222|      0|        return -1;
 3223|      0|    }
 3224|  21.1k|    if (size_a < size_b ||
  ------------------
  |  Branch (3224:9): [True: 9.02k, False: 12.1k]
  ------------------
 3225|  12.1k|        (size_a == size_b &&
  ------------------
  |  Branch (3225:10): [True: 0, False: 12.1k]
  ------------------
 3226|  9.02k|         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|  9.02k|        *prem = (PyLongObject *)long_long((PyObject *)a);
 3229|  9.02k|        if (*prem == NULL) {
  ------------------
  |  Branch (3229:13): [True: 0, False: 9.02k]
  ------------------
 3230|      0|            return -1;
 3231|      0|        }
 3232|  9.02k|        *pdiv = (PyLongObject*)_PyLong_GetZero();
 3233|  9.02k|        return 0;
 3234|  9.02k|    }
 3235|  12.1k|    if (size_b == 1) {
  ------------------
  |  Branch (3235:9): [True: 12.1k, False: 0]
  ------------------
 3236|  12.1k|        digit rem = 0;
 3237|  12.1k|        z = divrem1(a, b->long_value.ob_digit[0], &rem);
 3238|  12.1k|        if (z == NULL)
  ------------------
  |  Branch (3238:13): [True: 0, False: 12.1k]
  ------------------
 3239|      0|            return -1;
 3240|  12.1k|        *prem = (PyLongObject *) PyLong_FromLong((long)rem);
 3241|  12.1k|        if (*prem == NULL) {
  ------------------
  |  Branch (3241:13): [True: 0, False: 12.1k]
  ------------------
 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|  12.1k|    }
 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|  12.1k|    if ((_PyLong_IsNegative(a)) != (_PyLong_IsNegative(b))) {
  ------------------
  |  Branch (3256:9): [True: 0, False: 12.1k]
  ------------------
 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|  12.1k|    if (_PyLong_IsNegative(a) && !_PyLong_IsZero(*prem)) {
  ------------------
  |  Branch (3263:9): [True: 0, False: 12.1k]
  |  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|  12.1k|    *pdiv = maybe_small_long(z);
 3272|  12.1k|    return 0;
 3273|  12.1k|}
longobject.c:divrem1:
 1983|  12.1k|{
 1984|  12.1k|    const Py_ssize_t size = _PyLong_DigitCount(a);
 1985|  12.1k|    PyLongObject *z;
 1986|       |
 1987|  12.1k|    assert(n > 0 && n <= PyLong_MASK);
 1988|  12.1k|    z = long_alloc(size);
 1989|  12.1k|    if (z == NULL)
  ------------------
  |  Branch (1989:9): [True: 0, False: 12.1k]
  ------------------
 1990|      0|        return NULL;
 1991|  12.1k|    *prem = inplace_divrem1(z->long_value.ob_digit, a->long_value.ob_digit, size, n);
 1992|  12.1k|    return long_normalize(z);
 1993|  12.1k|}
longobject.c:inplace_divrem1:
 1961|  12.1k|{
 1962|  12.1k|    digit remainder = 0;
 1963|       |
 1964|  12.1k|    assert(n > 0 && n <= PyLong_MASK);
 1965|  36.3k|    while (--size >= 0) {
  ------------------
  |  Branch (1965:12): [True: 24.2k, False: 12.1k]
  ------------------
 1966|  24.2k|        twodigits dividend;
 1967|  24.2k|        dividend = ((twodigits)remainder << PyLong_SHIFT) | pin[size];
  ------------------
  |  |   47|  24.2k|#define PyLong_SHIFT    30
  ------------------
 1968|  24.2k|        digit quotient;
 1969|  24.2k|        quotient = (digit)(dividend / n);
 1970|  24.2k|        remainder = dividend % n;
 1971|  24.2k|        pout[size] = quotient;
 1972|  24.2k|    }
 1973|  12.1k|    return remainder;
 1974|  12.1k|}
longobject.c:long_neg:
 5267|  1.28k|{
 5268|  1.28k|    if (_PyLong_IsCompact(v)) {
  ------------------
  |  Branch (5268:9): [True: 601, False: 680]
  ------------------
 5269|    601|        return _PyLong_FromSTwoDigits(-medium_value(v));
  ------------------
  |  |   27|    601|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 5270|    601|    }
 5271|       |
 5272|    680|    PyLongObject *z = (PyLongObject *)_PyLong_Copy(v);
 5273|    680|    if (z != NULL) {
  ------------------
  |  Branch (5273:9): [True: 680, False: 0]
  ------------------
 5274|    680|        _PyLong_FlipSign(z);
 5275|    680|    }
 5276|    680|    return z;
 5277|  1.28k|}
longobject.c:long_sub:
 3884|  37.2k|{
 3885|  37.2k|    if (_PyLong_BothAreCompact(a, b)) {
  ------------------
  |  Branch (3885:9): [True: 195, False: 37.0k]
  ------------------
 3886|    195|        return _PyLong_FromSTwoDigits(medium_value(a) - medium_value(b));
  ------------------
  |  |   27|    195|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                      return _PyLong_FromSTwoDigits(medium_value(a) - medium_value(b));
  ------------------
  |  |   27|    195|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 3887|    195|    }
 3888|       |
 3889|  37.0k|    PyLongObject *z;
 3890|  37.0k|    if (_PyLong_IsNegative(a)) {
  ------------------
  |  Branch (3890:9): [True: 2, False: 37.0k]
  ------------------
 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|  37.0k|    else {
 3903|  37.0k|        if (_PyLong_IsNegative(b))
  ------------------
  |  Branch (3903:13): [True: 0, False: 37.0k]
  ------------------
 3904|      0|            z = x_add(a, b);
 3905|  37.0k|        else
 3906|  37.0k|            z = x_sub(a, b);
 3907|  37.0k|    }
 3908|  37.0k|    return z;
 3909|  37.2k|}
longobject.c:x_sub:
 3781|  37.0k|{
 3782|  37.0k|    Py_ssize_t size_a = _PyLong_DigitCount(a), size_b = _PyLong_DigitCount(b);
 3783|  37.0k|    PyLongObject *z;
 3784|  37.0k|    Py_ssize_t i;
 3785|  37.0k|    int sign = 1;
 3786|  37.0k|    digit borrow = 0;
 3787|       |
 3788|       |    /* Ensure a is the larger of the two: */
 3789|  37.0k|    if (size_a < size_b) {
  ------------------
  |  Branch (3789:9): [True: 0, False: 37.0k]
  ------------------
 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|  37.0k|    else if (size_a == size_b) {
  ------------------
  |  Branch (3796:14): [True: 0, False: 37.0k]
  ------------------
 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|  37.0k|    z = long_alloc(size_a);
 3810|  37.0k|    if (z == NULL)
  ------------------
  |  Branch (3810:9): [True: 0, False: 37.0k]
  ------------------
 3811|      0|        return NULL;
 3812|  49.4k|    for (i = 0; i < size_b; ++i) {
  ------------------
  |  Branch (3812:17): [True: 12.4k, False: 37.0k]
  ------------------
 3813|       |        /* The following assumes unsigned arithmetic
 3814|       |           works module 2**N for some N>PyLong_SHIFT. */
 3815|  12.4k|        borrow = a->long_value.ob_digit[i] - b->long_value.ob_digit[i] - borrow;
 3816|  12.4k|        z->long_value.ob_digit[i] = borrow & PyLong_MASK;
  ------------------
  |  |   62|  12.4k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  12.4k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  12.4k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3817|  12.4k|        borrow >>= PyLong_SHIFT;
  ------------------
  |  |   47|  12.4k|#define PyLong_SHIFT    30
  ------------------
 3818|  12.4k|        borrow &= 1; /* Keep only one sign bit */
 3819|  12.4k|    }
 3820|  98.8k|    for (; i < size_a; ++i) {
  ------------------
  |  Branch (3820:12): [True: 61.8k, False: 37.0k]
  ------------------
 3821|  61.8k|        borrow = a->long_value.ob_digit[i] - borrow;
 3822|  61.8k|        z->long_value.ob_digit[i] = borrow & PyLong_MASK;
  ------------------
  |  |   62|  61.8k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  61.8k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  61.8k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3823|  61.8k|        borrow >>= PyLong_SHIFT;
  ------------------
  |  |   47|  61.8k|#define PyLong_SHIFT    30
  ------------------
 3824|  61.8k|        borrow &= 1; /* Keep only one sign bit */
 3825|  61.8k|    }
 3826|  37.0k|    assert(borrow == 0);
 3827|  37.0k|    if (sign < 0) {
  ------------------
  |  Branch (3827:9): [True: 0, False: 37.0k]
  ------------------
 3828|      0|        _PyLong_FlipSign(z);
 3829|      0|    }
 3830|  37.0k|    return maybe_small_long(long_normalize(z));
 3831|  37.0k|}
longobject.c:x_add:
 3747|  10.8k|{
 3748|  10.8k|    Py_ssize_t size_a = _PyLong_DigitCount(a), size_b = _PyLong_DigitCount(b);
 3749|  10.8k|    PyLongObject *z;
 3750|  10.8k|    Py_ssize_t i;
 3751|  10.8k|    digit carry = 0;
 3752|       |
 3753|       |    /* Ensure a is the larger of the two: */
 3754|  10.8k|    if (size_a < size_b) {
  ------------------
  |  Branch (3754:9): [True: 10.5k, False: 292]
  ------------------
 3755|  10.5k|        { PyLongObject *temp = a; a = b; b = temp; }
 3756|  10.5k|        { Py_ssize_t size_temp = size_a;
 3757|  10.5k|            size_a = size_b;
 3758|  10.5k|            size_b = size_temp; }
 3759|  10.5k|    }
 3760|  10.8k|    z = long_alloc(size_a+1);
 3761|  10.8k|    if (z == NULL)
  ------------------
  |  Branch (3761:9): [True: 0, False: 10.8k]
  ------------------
 3762|      0|        return NULL;
 3763|  11.3k|    for (i = 0; i < size_b; ++i) {
  ------------------
  |  Branch (3763:17): [True: 444, False: 10.8k]
  ------------------
 3764|    444|        carry += a->long_value.ob_digit[i] + b->long_value.ob_digit[i];
 3765|    444|        z->long_value.ob_digit[i] = carry & PyLong_MASK;
  ------------------
  |  |   62|    444|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|    444|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|    444|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3766|    444|        carry >>= PyLong_SHIFT;
  ------------------
  |  |   47|    444|#define PyLong_SHIFT    30
  ------------------
 3767|    444|    }
 3768|  32.5k|    for (; i < size_a; ++i) {
  ------------------
  |  Branch (3768:12): [True: 21.6k, False: 10.8k]
  ------------------
 3769|  21.6k|        carry += a->long_value.ob_digit[i];
 3770|  21.6k|        z->long_value.ob_digit[i] = carry & PyLong_MASK;
  ------------------
  |  |   62|  21.6k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  21.6k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  21.6k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3771|  21.6k|        carry >>= PyLong_SHIFT;
  ------------------
  |  |   47|  21.6k|#define PyLong_SHIFT    30
  ------------------
 3772|  21.6k|    }
 3773|  10.8k|    z->long_value.ob_digit[i] = carry;
 3774|  10.8k|    return long_normalize(z);
 3775|  10.8k|}
longobject.c:long_add:
 3835|   158k|{
 3836|   158k|    if (_PyLong_BothAreCompact(a, b)) {
  ------------------
  |  Branch (3836:9): [True: 147k, False: 10.8k]
  ------------------
 3837|   147k|        stwodigits z = medium_value(a) + medium_value(b);
  ------------------
  |  |   27|   147k|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                      stwodigits z = medium_value(a) + medium_value(b);
  ------------------
  |  |   27|   147k|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 3838|   147k|        return _PyLong_FromSTwoDigits(z);
 3839|   147k|    }
 3840|       |
 3841|  10.8k|    PyLongObject *z;
 3842|  10.8k|    if (_PyLong_IsNegative(a)) {
  ------------------
  |  Branch (3842:9): [True: 0, False: 10.8k]
  ------------------
 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|  10.8k|    else {
 3858|  10.8k|        if (_PyLong_IsNegative(b))
  ------------------
  |  Branch (3858:13): [True: 0, False: 10.8k]
  ------------------
 3859|      0|            z = x_sub(a, b);
 3860|  10.8k|        else
 3861|  10.8k|            z = x_add(a, b);
 3862|  10.8k|    }
 3863|  10.8k|    return z;
 3864|   158k|}
longobject.c:long_dealloc:
 3652|  33.0M|{
 3653|  33.0M|    if (_PyLong_IsSmallInt((PyLongObject *)self)) {
  ------------------
  |  Branch (3653:9): [True: 0, False: 33.0M]
  ------------------
 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|  33.0M|    if (PyLong_CheckExact(self) && _PyLong_IsCompact((PyLongObject *)self)) {
  ------------------
  |  |   14|  33.0M|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  66.1M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  33.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  33.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 33.0M, False: 38]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3663:36): [True: 27.5M, False: 5.50M]
  ------------------
 3664|  27.5M|        _Py_FREELIST_FREE(ints, self, PyObject_Free);
  ------------------
  |  |   35|  27.5M|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  27.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  27.5M|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   20|  27.5M|#  define Py_ints_MAXFREELIST 100
  |  |  ------------------
  ------------------
 3665|  27.5M|        return;
 3666|  27.5M|    }
 3667|  5.50M|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|  5.50M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.50M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.50M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3668|  5.50M|}
longobject.c:long_to_decimal_string:
 2321|  31.2k|{
 2322|  31.2k|    PyObject *v;
 2323|  31.2k|    if (long_to_decimal_string_internal(aa, &v, NULL, NULL, NULL) == -1)
  ------------------
  |  Branch (2323:9): [True: 0, False: 31.2k]
  ------------------
 2324|      0|        return NULL;
 2325|  31.2k|    return v;
 2326|  31.2k|}
longobject.c:long_add_method:
 3876|   170k|{
 3877|   170k|    CHECK_BINOP(a, b);
  ------------------
  |  | 1844|   170k|    do {                                                \
  |  | 1845|   170k|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|   170k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|   340k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|   170k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|   170k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 0, False: 170k]
  |  |  |  Branch (1845:33): [True: 12.3k, False: 158k]
  |  |  ------------------
  |  | 1846|   170k|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|  12.3k|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|  12.3k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|   170k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 158k]
  |  |  ------------------
  ------------------
 3878|   158k|    return (PyObject*)long_add((PyLongObject*)a, (PyLongObject*)b);
 3879|   170k|}
longobject.c:long_sub_method:
 3921|  37.2k|{
 3922|  37.2k|    CHECK_BINOP(a, b);
  ------------------
  |  | 1844|  37.2k|    do {                                                \
  |  | 1845|  37.2k|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  37.2k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  74.5k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  37.2k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  37.2k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 0, False: 37.2k]
  |  |  |  Branch (1845:33): [True: 15, False: 37.2k]
  |  |  ------------------
  |  | 1846|  37.2k|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|     15|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|     15|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|  37.2k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 37.2k]
  |  |  ------------------
  ------------------
 3923|  37.2k|    return (PyObject*)long_sub((PyLongObject*)a, (PyLongObject*)b);
 3924|  37.2k|}
longobject.c:long_mul_method:
 4368|  12.5k|{
 4369|  12.5k|    CHECK_BINOP(a, b);
  ------------------
  |  | 1844|  12.5k|    do {                                                \
  |  | 1845|  12.5k|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  12.5k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  25.0k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  12.4k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  12.4k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 130, False: 12.4k]
  |  |  |  Branch (1845:33): [True: 44, False: 12.3k]
  |  |  ------------------
  |  | 1846|  12.5k|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|    174|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|    174|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|  12.5k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 12.3k]
  |  |  ------------------
  ------------------
 4370|  12.3k|    return (PyObject*)long_mul((PyLongObject*)a, (PyLongObject*)b);
 4371|  12.5k|}
longobject.c:long_mul:
 4341|  5.92M|{
 4342|       |    /* fast path for single-digit multiplication */
 4343|  5.92M|    if (_PyLong_BothAreCompact(a, b)) {
  ------------------
  |  Branch (4343:9): [True: 5.92M, False: 3.92k]
  ------------------
 4344|  5.92M|        stwodigits v = medium_value(a) * medium_value(b);
  ------------------
  |  |   27|  5.92M|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                      stwodigits v = medium_value(a) * medium_value(b);
  ------------------
  |  |   27|  5.92M|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 4345|  5.92M|        return _PyLong_FromSTwoDigits(v);
 4346|  5.92M|    }
 4347|       |
 4348|  3.92k|    PyLongObject *z = k_mul(a, b);
 4349|       |    /* Negate if exactly one of the inputs is negative. */
 4350|  3.92k|    if (!_PyLong_SameSign(a, b) && z) {
  ------------------
  |  Branch (4350:9): [True: 2, False: 3.91k]
  |  Branch (4350:36): [True: 2, False: 0]
  ------------------
 4351|      2|        _PyLong_Negate(&z);
 4352|      2|    }
 4353|  3.92k|    return z;
 4354|  5.92M|}
longobject.c:k_mul:
 4071|  3.92k|{
 4072|  3.92k|    Py_ssize_t asize = _PyLong_DigitCount(a);
 4073|  3.92k|    Py_ssize_t bsize = _PyLong_DigitCount(b);
 4074|  3.92k|    PyLongObject *ah = NULL;
 4075|  3.92k|    PyLongObject *al = NULL;
 4076|  3.92k|    PyLongObject *bh = NULL;
 4077|  3.92k|    PyLongObject *bl = NULL;
 4078|  3.92k|    PyLongObject *ret = NULL;
 4079|  3.92k|    PyLongObject *t1, *t2, *t3;
 4080|  3.92k|    Py_ssize_t shift;           /* the number of digits we split off */
 4081|  3.92k|    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|  3.92k|    if (asize > bsize) {
  ------------------
  |  Branch (4094:9): [True: 2.80k, False: 1.11k]
  ------------------
 4095|  2.80k|        t1 = a;
 4096|  2.80k|        a = b;
 4097|  2.80k|        b = t1;
 4098|       |
 4099|  2.80k|        i = asize;
 4100|  2.80k|        asize = bsize;
 4101|  2.80k|        bsize = i;
 4102|  2.80k|    }
 4103|       |
 4104|       |    /* Use gradeschool math when either number is too small. */
 4105|  3.92k|    i = a == b ? KARATSUBA_SQUARE_CUTOFF : KARATSUBA_CUTOFF;
  ------------------
  |  |   85|  1.10k|#define KARATSUBA_SQUARE_CUTOFF (2 * KARATSUBA_CUTOFF)
  |  |  ------------------
  |  |  |  |   84|  1.10k|#define KARATSUBA_CUTOFF 70
  |  |  ------------------
  ------------------
                  i = a == b ? KARATSUBA_SQUARE_CUTOFF : KARATSUBA_CUTOFF;
  ------------------
  |  |   84|  6.74k|#define KARATSUBA_CUTOFF 70
  ------------------
  |  Branch (4105:9): [True: 1.10k, False: 2.82k]
  ------------------
 4106|  3.92k|    if (asize <= i) {
  ------------------
  |  Branch (4106:9): [True: 3.92k, False: 0]
  ------------------
 4107|  3.92k|        if (asize == 0)
  ------------------
  |  Branch (4107:13): [True: 2, False: 3.91k]
  ------------------
 4108|      2|            return (PyLongObject *)PyLong_FromLong(0);
 4109|  3.91k|        else
 4110|  3.91k|            return x_mul(a, b);
 4111|  3.92k|    }
 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|  3.91k|{
 3933|  3.91k|    PyLongObject *z;
 3934|  3.91k|    Py_ssize_t size_a = _PyLong_DigitCount(a);
 3935|  3.91k|    Py_ssize_t size_b = _PyLong_DigitCount(b);
 3936|  3.91k|    Py_ssize_t i;
 3937|       |
 3938|  3.91k|    z = long_alloc(size_a + size_b);
 3939|  3.91k|    if (z == NULL)
  ------------------
  |  Branch (3939:9): [True: 0, False: 3.91k]
  ------------------
 3940|      0|        return NULL;
 3941|       |
 3942|  3.91k|    memset(z->long_value.ob_digit, 0, _PyLong_DigitCount(z) * sizeof(digit));
 3943|  3.91k|    if (a == b) {
  ------------------
  |  Branch (3943:9): [True: 1.10k, False: 2.81k]
  ------------------
 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|  1.10k|        digit *paend = a->long_value.ob_digit + size_a;
 3951|  3.34k|        for (i = 0; i < size_a; ++i) {
  ------------------
  |  Branch (3951:21): [True: 2.24k, False: 1.10k]
  ------------------
 3952|  2.24k|            twodigits carry;
 3953|  2.24k|            twodigits f = a->long_value.ob_digit[i];
 3954|  2.24k|            digit *pz = z->long_value.ob_digit + (i << 1);
 3955|  2.24k|            digit *pa = a->long_value.ob_digit + i + 1;
 3956|       |
 3957|  2.24k|            SIGCHECK({
  ------------------
  |  |  117|  2.24k|    do {                                        \
  |  |  118|  2.24k|        if (PyErr_CheckSignals()) PyTryBlock    \
  |  |  ------------------
  |  |  |  Branch (118:13): [True: 0, False: 2.24k]
  |  |  ------------------
  |  |  119|  2.24k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (119:13): [Folded, False: 2.24k]
  |  |  ------------------
  ------------------
 3958|  2.24k|                    Py_DECREF(z);
 3959|  2.24k|                    return NULL;
 3960|  2.24k|                });
 3961|       |
 3962|  2.24k|            carry = *pz + f * f;
 3963|  2.24k|            *pz++ = (digit)(carry & PyLong_MASK);
  ------------------
  |  |   62|  2.24k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  2.24k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  2.24k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3964|  2.24k|            carry >>= PyLong_SHIFT;
  ------------------
  |  |   47|  2.24k|#define PyLong_SHIFT    30
  ------------------
 3965|  2.24k|            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|  2.24k|            f <<= 1;
 3971|  3.43k|            while (pa < paend) {
  ------------------
  |  Branch (3971:20): [True: 1.19k, False: 2.24k]
  ------------------
 3972|  1.19k|                carry += *pz + *pa++ * f;
 3973|  1.19k|                *pz++ = (digit)(carry & PyLong_MASK);
  ------------------
  |  |   62|  1.19k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  1.19k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  1.19k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3974|  1.19k|                carry >>= PyLong_SHIFT;
  ------------------
  |  |   47|  1.19k|#define PyLong_SHIFT    30
  ------------------
 3975|  1.19k|                assert(carry <= (PyLong_MASK << 1));
 3976|  1.19k|            }
 3977|  2.24k|            if (carry) {
  ------------------
  |  Branch (3977:17): [True: 190, False: 2.05k]
  ------------------
 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|  2.24k|        }
 4000|  1.10k|    }
 4001|  2.81k|    else {      /* a is not the same as b -- gradeschool int mult */
 4002|  5.65k|        for (i = 0; i < size_a; ++i) {
  ------------------
  |  Branch (4002:21): [True: 2.84k, False: 2.81k]
  ------------------
 4003|  2.84k|            twodigits carry = 0;
 4004|  2.84k|            twodigits f = a->long_value.ob_digit[i];
 4005|  2.84k|            digit *pz = z->long_value.ob_digit + i;
 4006|  2.84k|            digit *pb = b->long_value.ob_digit;
 4007|  2.84k|            digit *pbend = b->long_value.ob_digit + size_b;
 4008|       |
 4009|  2.84k|            SIGCHECK({
  ------------------
  |  |  117|  2.84k|    do {                                        \
  |  |  118|  2.84k|        if (PyErr_CheckSignals()) PyTryBlock    \
  |  |  ------------------
  |  |  |  Branch (118:13): [True: 0, False: 2.84k]
  |  |  ------------------
  |  |  119|  2.84k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (119:13): [Folded, False: 2.84k]
  |  |  ------------------
  ------------------
 4010|  2.84k|                    Py_DECREF(z);
 4011|  2.84k|                    return NULL;
 4012|  2.84k|                });
 4013|       |
 4014|  8.60k|            while (pb < pbend) {
  ------------------
  |  Branch (4014:20): [True: 5.76k, False: 2.84k]
  ------------------
 4015|  5.76k|                carry += *pz + *pb++ * f;
 4016|  5.76k|                *pz++ = (digit)(carry & PyLong_MASK);
  ------------------
  |  |   62|  5.76k|#define PyLong_MASK     ((digit)(PyLong_BASE - 1))
  |  |  ------------------
  |  |  |  |   61|  5.76k|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  5.76k|#define PyLong_SHIFT    30
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4017|  5.76k|                carry >>= PyLong_SHIFT;
  ------------------
  |  |   47|  5.76k|#define PyLong_SHIFT    30
  ------------------
 4018|  5.76k|                assert(carry <= PyLong_MASK);
 4019|  5.76k|            }
 4020|  2.84k|            if (carry)
  ------------------
  |  Branch (4020:17): [True: 46, False: 2.79k]
  ------------------
 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|  2.84k|            assert((carry >> PyLong_SHIFT) == 0);
 4023|  2.84k|        }
 4024|  2.81k|    }
 4025|  3.91k|    return long_normalize(z);
 4026|  3.91k|}
longobject.c:long_mod:
 4862|  7.52M|{
 4863|  7.52M|    PyLongObject *mod;
 4864|       |
 4865|  7.52M|    CHECK_BINOP(a, b);
  ------------------
  |  | 1844|  7.52M|    do {                                                \
  |  | 1845|  7.52M|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  7.52M|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  15.0M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  7.52M|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  7.52M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 0, False: 7.52M]
  |  |  |  Branch (1845:33): [True: 0, False: 7.52M]
  |  |  ------------------
  |  | 1846|  7.52M|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|  7.52M|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 7.52M]
  |  |  ------------------
  ------------------
 4866|       |
 4867|  7.52M|    if (l_mod((PyLongObject*)a, (PyLongObject*)b, &mod) < 0)
  ------------------
  |  Branch (4867:9): [True: 0, False: 7.52M]
  ------------------
 4868|      0|        mod = NULL;
 4869|  7.52M|    return (PyObject *)mod;
 4870|  7.52M|}
longobject.c:long_divmod:
 4874|  23.5k|{
 4875|  23.5k|    PyLongObject *div, *mod;
 4876|  23.5k|    CHECK_BINOP(a, b);
  ------------------
  |  | 1844|  23.5k|    do {                                                \
  |  | 1845|  23.5k|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  23.5k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  47.0k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  23.5k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  23.5k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 0, False: 23.5k]
  |  |  |  Branch (1845:33): [True: 0, False: 23.5k]
  |  |  ------------------
  |  | 1846|  23.5k|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|  23.5k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 23.5k]
  |  |  ------------------
  ------------------
 4877|       |
 4878|  23.5k|    if (l_divmod((PyLongObject*)a, (PyLongObject*)b, &div, &mod) < 0) {
  ------------------
  |  Branch (4878:9): [True: 0, False: 23.5k]
  ------------------
 4879|      0|        return NULL;
 4880|      0|    }
 4881|  23.5k|    return _PyTuple_FromPairSteal((PyObject *)div, (PyObject *)mod);
 4882|  23.5k|}
longobject.c:l_divmod:
 4481|  30.7k|{
 4482|  30.7k|    PyLongObject *div, *mod;
 4483|       |
 4484|  30.7k|    if (_PyLong_DigitCount(v) == 1 && _PyLong_DigitCount(w) == 1) {
  ------------------
  |  Branch (4484:9): [True: 9.60k, False: 21.1k]
  |  Branch (4484:39): [True: 9.60k, False: 0]
  ------------------
 4485|       |        /* Fast path for single-digit longs */
 4486|  9.60k|        div = NULL;
 4487|  9.60k|        if (pdiv != NULL) {
  ------------------
  |  Branch (4487:13): [True: 9.60k, False: 0]
  ------------------
 4488|  9.60k|            div = (PyLongObject *)fast_floor_div(v, w);
 4489|  9.60k|            if (div == NULL) {
  ------------------
  |  Branch (4489:17): [True: 0, False: 9.60k]
  ------------------
 4490|      0|                return -1;
 4491|      0|            }
 4492|  9.60k|        }
 4493|  9.60k|        if (pmod != NULL) {
  ------------------
  |  Branch (4493:13): [True: 9.60k, False: 0]
  ------------------
 4494|  9.60k|            mod = (PyLongObject *)fast_mod(v, w);
 4495|  9.60k|            if (mod == NULL) {
  ------------------
  |  Branch (4495:17): [True: 0, False: 9.60k]
  ------------------
 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|  9.60k|            *pmod = mod;
 4500|  9.60k|        }
 4501|  9.60k|        if (pdiv != NULL) {
  ------------------
  |  Branch (4501:13): [True: 9.60k, False: 0]
  ------------------
 4502|       |            /* We only want to set `*pdiv` when `*pmod` is
 4503|       |               set successfully. */
 4504|  9.60k|            *pdiv = div;
 4505|  9.60k|        }
 4506|  9.60k|        return 0;
 4507|  9.60k|    }
 4508|  21.1k|#if WITH_PYLONG_MODULE
 4509|  21.1k|    Py_ssize_t size_v = _PyLong_DigitCount(v); /* digits in numerator */
 4510|  21.1k|    Py_ssize_t size_w = _PyLong_DigitCount(w); /* digits in denominator */
 4511|  21.1k|    if (size_w > 300 && (size_v - size_w) > 150) {
  ------------------
  |  Branch (4511:9): [True: 0, False: 21.1k]
  |  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|  21.1k|#endif
 4520|  21.1k|    if (long_divrem(v, w, &div, &mod) < 0)
  ------------------
  |  Branch (4520:9): [True: 0, False: 21.1k]
  ------------------
 4521|      0|        return -1;
 4522|  21.1k|    if ((_PyLong_IsNegative(mod) && _PyLong_IsPositive(w)) ||
  ------------------
  |  Branch (4522:10): [True: 0, False: 21.1k]
  |  Branch (4522:37): [True: 0, False: 0]
  ------------------
 4523|  21.1k|        (_PyLong_IsPositive(mod) && _PyLong_IsNegative(w))) {
  ------------------
  |  Branch (4523:10): [True: 1.69k, False: 19.4k]
  |  Branch (4523:37): [True: 0, False: 1.69k]
  ------------------
 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|  21.1k|    if (pdiv != NULL)
  ------------------
  |  Branch (4539:9): [True: 21.1k, False: 0]
  ------------------
 4540|  21.1k|        *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|  21.1k|    if (pmod != NULL)
  ------------------
  |  Branch (4544:9): [True: 13.9k, False: 7.19k]
  ------------------
 4545|  13.9k|        *pmod = mod;
 4546|  7.19k|    else
 4547|  7.19k|        Py_DECREF(mod);
  ------------------
  |  |  430|  7.19k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.19k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.19k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4548|       |
 4549|  21.1k|    return 0;
 4550|  21.1k|}
longobject.c:fast_floor_div:
 4398|   248k|{
 4399|   248k|    sdigit left = a->long_value.ob_digit[0];
 4400|   248k|    sdigit right = b->long_value.ob_digit[0];
 4401|   248k|    sdigit div;
 4402|       |
 4403|   248k|    assert(_PyLong_DigitCount(a) == 1);
 4404|   248k|    assert(_PyLong_DigitCount(b) == 1);
 4405|       |
 4406|   248k|    if (_PyLong_SameSign(a, b)) {
  ------------------
  |  Branch (4406:9): [True: 248k, False: 14]
  ------------------
 4407|   248k|        div = left / right;
 4408|   248k|    }
 4409|     14|    else {
 4410|       |        /* Either 'a' or 'b' is negative. */
 4411|     14|        div = -1 - (left - 1) / right;
 4412|     14|    }
 4413|       |
 4414|   248k|    return PyLong_FromLong(div);
 4415|   248k|}
longobject.c:long_pow:
 4968|  1.97M|{
 4969|  1.97M|    PyLongObject *a, *b, *c; /* a,b,c = v,w,x */
 4970|  1.97M|    int negativeOutput = 0;  /* if x<0 return negative output */
 4971|       |
 4972|  1.97M|    PyLongObject *z = NULL;  /* accumulated result */
 4973|  1.97M|    Py_ssize_t i, j;             /* counters */
 4974|  1.97M|    PyLongObject *temp = NULL;
 4975|  1.97M|    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.97M|    PyLongObject *table[EXP_TABLE_LEN];
 4986|  1.97M|    Py_ssize_t num_table_entries = 0;
 4987|       |
 4988|       |    /* a, b, c = v, w, x */
 4989|  1.97M|    CHECK_BINOP(v, w);
  ------------------
  |  | 1844|  1.97M|    do {                                                \
  |  | 1845|  1.97M|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  1.97M|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  3.94M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  1.97M|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  1.97M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 0, False: 1.97M]
  |  |  |  Branch (1845:33): [True: 0, False: 1.97M]
  |  |  ------------------
  |  | 1846|  1.97M|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|  1.97M|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 1.97M]
  |  |  ------------------
  ------------------
 4990|  1.97M|    a = (PyLongObject*)Py_NewRef(v);
  ------------------
  |  |  550|  1.97M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.97M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.97M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4991|  1.97M|    b = (PyLongObject*)Py_NewRef(w);
  ------------------
  |  |  550|  1.97M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.97M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.97M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4992|  1.97M|    if (PyLong_Check(x)) {
  ------------------
  |  |   13|  1.97M|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.97M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 2, False: 1.97M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 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.97M|    else if (x == Py_None)
  ------------------
  |  |  616|  1.97M|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (4995:14): [True: 1.97M, False: 0]
  ------------------
 4996|  1.97M|        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.97M|    if (_PyLong_IsNegative(b) && c == NULL) {
  ------------------
  |  Branch (5003:9): [True: 2, False: 1.97M]
  |  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.97M|    if (c) {
  ------------------
  |  Branch (5013:9): [True: 2, False: 1.97M]
  ------------------
 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.97M|    z = (PyLongObject *)PyLong_FromLong(1L);
 5084|  1.97M|    if (z == NULL)
  ------------------
  |  Branch (5084:9): [True: 0, False: 1.97M]
  ------------------
 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.97M|#define REDUCE(X)                                       \
 5091|  1.97M|    do {                                                \
 5092|  1.97M|        if (c != NULL) {                                \
 5093|  1.97M|            if (l_mod(X, c, &temp) < 0)                 \
 5094|  1.97M|                goto Error;                             \
 5095|  1.97M|            Py_XDECREF(X);                              \
 5096|  1.97M|            X = temp;                                   \
 5097|  1.97M|            temp = NULL;                                \
 5098|  1.97M|        }                                               \
 5099|  1.97M|    } 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.97M|#define MULT(X, Y, result)                      \
 5104|  1.97M|    do {                                        \
 5105|  1.97M|        temp = (PyLongObject *)long_mul(X, Y);  \
 5106|  1.97M|        if (temp == NULL)                       \
 5107|  1.97M|            goto Error;                         \
 5108|  1.97M|        Py_XDECREF(result);                     \
 5109|  1.97M|        result = temp;                          \
 5110|  1.97M|        temp = NULL;                            \
 5111|  1.97M|        REDUCE(result);                         \
 5112|  1.97M|    } while(0)
 5113|       |
 5114|  1.97M|    i = _PyLong_SignedDigitCount(b);
 5115|  1.97M|    digit bi = i ? b->long_value.ob_digit[i-1] : 0;
  ------------------
  |  Branch (5115:16): [True: 1.97M, False: 6]
  ------------------
 5116|  1.97M|    digit bit;
 5117|  1.97M|    if (i <= 1 && bi <= 3) {
  ------------------
  |  Branch (5117:9): [True: 1.97M, False: 2]
  |  Branch (5117:19): [True: 10, False: 1.97M]
  ------------------
 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.97M|    else if (i <= HUGE_EXP_CUTOFF / PyLong_SHIFT ) {
  ------------------
  |  |  114|  1.97M|#define HUGE_EXP_CUTOFF 60
  ------------------
                  else if (i <= HUGE_EXP_CUTOFF / PyLong_SHIFT ) {
  ------------------
  |  |   47|  1.97M|#define PyLong_SHIFT    30
  ------------------
  |  Branch (5134:14): [True: 1.97M, 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.97M|        assert(bi);  /* else there is no significant bit */
 5142|  1.97M|        Py_SETREF(z, (PyLongObject*)Py_NewRef(a));
  ------------------
  |  |  352|  1.97M|    do { \
  |  |  353|  1.97M|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  1.97M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|  1.97M|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  1.97M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|  1.97M|        *_tmp_dst_ptr = (src); \
  |  |  356|  1.97M|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|  1.97M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.97M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.97M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|  1.97M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 1.97M]
  |  |  ------------------
  ------------------
 5143|  7.88M|        for (bit = 2; ; bit <<= 1) {
 5144|  7.88M|            if (bit > bi) { /* found the first bit */
  ------------------
  |  Branch (5144:17): [True: 1.97M, False: 5.91M]
  ------------------
 5145|  1.97M|                assert((bi & bit) == 0);
 5146|  1.97M|                bit >>= 1;
 5147|  1.97M|                assert(bi & bit);
 5148|  1.97M|                break;
 5149|  1.97M|            }
 5150|  7.88M|        }
 5151|  1.97M|        for (--i, bit >>= 1;;) {
 5152|  7.88M|            for (; bit != 0; bit >>= 1) {
  ------------------
  |  Branch (5152:20): [True: 5.91M, False: 1.97M]
  ------------------
 5153|  5.91M|                MULT(z, z, z);
  ------------------
  |  | 5104|  5.91M|    do {                                        \
  |  | 5105|  5.91M|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  | 5106|  5.91M|        if (temp == NULL)                       \
  |  |  ------------------
  |  |  |  Branch (5106:13): [True: 0, False: 5.91M]
  |  |  ------------------
  |  | 5107|  5.91M|            goto Error;                         \
  |  | 5108|  5.91M|        Py_XDECREF(result);                     \
  |  |  ------------------
  |  |  |  |  524|  5.91M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.91M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.91M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5109|  5.91M|        result = temp;                          \
  |  | 5110|  5.91M|        temp = NULL;                            \
  |  | 5111|  5.91M|        REDUCE(result);                         \
  |  |  ------------------
  |  |  |  | 5091|  5.91M|    do {                                                \
  |  |  |  | 5092|  5.91M|        if (c != NULL) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5092:13): [True: 0, False: 5.91M]
  |  |  |  |  ------------------
  |  |  |  | 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|  5.91M|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5099:13): [Folded, False: 5.91M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5112|  5.91M|    } while(0)
  |  |  ------------------
  |  |  |  Branch (5112:13): [Folded, False: 5.91M]
  |  |  ------------------
  ------------------
 5154|  5.91M|                if (bi & bit) {
  ------------------
  |  Branch (5154:21): [True: 1.29k, False: 5.91M]
  ------------------
 5155|  1.29k|                    MULT(z, a, z);
  ------------------
  |  | 5104|  1.29k|    do {                                        \
  |  | 5105|  1.29k|        temp = (PyLongObject *)long_mul(X, Y);  \
  |  | 5106|  1.29k|        if (temp == NULL)                       \
  |  |  ------------------
  |  |  |  Branch (5106:13): [True: 0, False: 1.29k]
  |  |  ------------------
  |  | 5107|  1.29k|            goto Error;                         \
  |  | 5108|  1.29k|        Py_XDECREF(result);                     \
  |  |  ------------------
  |  |  |  |  524|  1.29k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.29k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.29k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5109|  1.29k|        result = temp;                          \
  |  | 5110|  1.29k|        temp = NULL;                            \
  |  | 5111|  1.29k|        REDUCE(result);                         \
  |  |  ------------------
  |  |  |  | 5091|  1.29k|    do {                                                \
  |  |  |  | 5092|  1.29k|        if (c != NULL) {                                \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5092:13): [True: 0, False: 1.29k]
  |  |  |  |  ------------------
  |  |  |  | 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|  1.29k|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (5099:13): [Folded, False: 1.29k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5112|  1.29k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (5112:13): [Folded, False: 1.29k]
  |  |  ------------------
  ------------------
 5156|  1.29k|                }
 5157|  5.91M|            }
 5158|  1.97M|            if (--i < 0) {
  ------------------
  |  Branch (5158:17): [True: 1.97M, False: 0]
  ------------------
 5159|  1.97M|                break;
 5160|  1.97M|            }
 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.97M|    }
 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.97M|    if (negativeOutput && !_PyLong_IsZero(z)) {
  ------------------
  |  Branch (5224:9): [True: 0, False: 1.97M]
  |  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.97M|    goto Done;
 5232|       |
 5233|  1.97M|  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.97M|  Done:
 5237|  1.97M|    for (i = 0; i < num_table_entries; ++i)
  ------------------
  |  Branch (5237:17): [True: 32, False: 1.97M]
  ------------------
 5238|     32|        Py_DECREF(table[i]);
  ------------------
  |  |  430|  1.97M|#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.97M|    Py_DECREF(a);
  ------------------
  |  |  430|  1.97M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.97M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.97M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5240|  1.97M|    Py_DECREF(b);
  ------------------
  |  |  430|  1.97M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.97M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.97M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5241|  1.97M|    Py_XDECREF(c);
  ------------------
  |  |  524|  1.97M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.97M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.97M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5242|  1.97M|    Py_XDECREF(a2);
  ------------------
  |  |  524|  1.97M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.97M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.97M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5243|  1.97M|    Py_XDECREF(temp);
  ------------------
  |  |  524|  1.97M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.97M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.97M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5244|  1.97M|    return (PyObject *)z;
 5245|      0|}
longobject.c:long_neg_method:
 5281|    793|{
 5282|       |    return (PyObject*)long_neg(_PyLong_CAST(v));
  ------------------
  |  |    6|    793|    (assert(PyLong_Check(op)), _Py_CAST(PyLongObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    793|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 5283|    793|}
longobject.c:long_abs_method:
 5296|  7.89k|{
 5297|       |    return (PyObject*)long_abs(_PyLong_CAST(v));
  ------------------
  |  |    6|  7.89k|    (assert(PyLong_Check(op)), _Py_CAST(PyLongObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  7.89k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 5298|  7.89k|}
longobject.c:long_bool:
 5302|    661|{
 5303|       |    return !_PyLong_IsZero(_PyLong_CAST(v));
  ------------------
  |  |    6|    661|    (assert(PyLong_Check(op)), _Py_CAST(PyLongObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    661|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 5304|    661|}
longobject.c:long_invert:
 5249|    282|{
 5250|    282|    PyLongObject *v = _PyLong_CAST(self);
  ------------------
  |  |    6|    282|    (assert(PyLong_Check(op)), _Py_CAST(PyLongObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    282|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 5251|       |
 5252|       |    /* Implement ~x as -(x+1) */
 5253|    282|    if (_PyLong_IsCompact(v))
  ------------------
  |  Branch (5253:9): [True: 282, False: 0]
  ------------------
 5254|    282|        return (PyObject*)_PyLong_FromSTwoDigits(~medium_value(v));
  ------------------
  |  |   27|    282|#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|   178k|{
 5497|   178k|    CHECK_BINOP(aa, bb);
  ------------------
  |  | 1844|   178k|    do {                                                \
  |  | 1845|   178k|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|   178k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|   356k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|   178k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|   178k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 0, False: 178k]
  |  |  |  Branch (1845:33): [True: 0, False: 178k]
  |  |  ------------------
  |  | 1846|   178k|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|   178k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 178k]
  |  |  ------------------
  ------------------
 5498|   178k|    PyLongObject *a = (PyLongObject*)aa;
 5499|   178k|    PyLongObject *b = (PyLongObject*)bb;
 5500|       |
 5501|   178k|    if (_PyLong_IsNegative(b)) {
  ------------------
  |  Branch (5501:9): [True: 0, False: 178k]
  ------------------
 5502|      0|        PyErr_SetString(PyExc_ValueError, "negative shift count");
 5503|      0|        return NULL;
 5504|      0|    }
 5505|   178k|    if (_PyLong_IsZero(a)) {
  ------------------
  |  Branch (5505:9): [True: 43.3k, False: 134k]
  ------------------
 5506|  43.3k|        return PyLong_FromLong(0);
 5507|  43.3k|    }
 5508|       |
 5509|   134k|    int64_t shiftby;
 5510|   134k|    if (PyLong_AsInt64(bb, &shiftby) < 0) {
  ------------------
  |  Branch (5510:9): [True: 0, False: 134k]
  ------------------
 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|   134k|    return long_lshift_int64(a, shiftby);
 5518|   134k|}
longobject.c:long_rshift:
 5398|  7.53M|{
 5399|  7.53M|    int64_t shiftby;
 5400|       |
 5401|  7.53M|    CHECK_BINOP(a, b);
  ------------------
  |  | 1844|  7.53M|    do {                                                \
  |  | 1845|  7.53M|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  7.53M|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  15.0M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  7.53M|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  7.53M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 0, False: 7.53M]
  |  |  |  Branch (1845:33): [True: 0, False: 7.53M]
  |  |  ------------------
  |  | 1846|  7.53M|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|  7.53M|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 7.53M]
  |  |  ------------------
  ------------------
 5402|       |
 5403|  7.53M|    if (_PyLong_IsNegative((PyLongObject *)b)) {
  ------------------
  |  Branch (5403:9): [True: 0, False: 7.53M]
  ------------------
 5404|      0|        PyErr_SetString(PyExc_ValueError, "negative shift count");
 5405|      0|        return NULL;
 5406|      0|    }
 5407|  7.53M|    if (_PyLong_IsZero((PyLongObject *)a)) {
  ------------------
  |  Branch (5407:9): [True: 510, False: 7.53M]
  ------------------
 5408|    510|        return PyLong_FromLong(0);
 5409|    510|    }
 5410|  7.53M|    if (PyLong_AsInt64(b, &shiftby) < 0) {
  ------------------
  |  Branch (5410:9): [True: 0, False: 7.53M]
  ------------------
 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|  7.53M|    return _PyLong_Rshift(a, shiftby);
 5423|  7.53M|}
longobject.c:long_and:
 5695|  58.3k|{
 5696|  58.3k|    CHECK_BINOP(a, b);
  ------------------
  |  | 1844|  58.3k|    do {                                                \
  |  | 1845|  58.3k|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  58.3k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|   116k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  58.3k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  58.3k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 0, False: 58.3k]
  |  |  |  Branch (1845:33): [True: 0, False: 58.3k]
  |  |  ------------------
  |  | 1846|  58.3k|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|  58.3k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 58.3k]
  |  |  ------------------
  ------------------
 5697|  58.3k|    PyLongObject *x = (PyLongObject*)a;
 5698|  58.3k|    PyLongObject *y = (PyLongObject*)b;
 5699|  58.3k|    if (_PyLong_IsCompact(x) && _PyLong_IsCompact(y)) {
  ------------------
  |  Branch (5699:9): [True: 29.1k, False: 29.1k]
  |  Branch (5699:33): [True: 115, False: 29.0k]
  ------------------
 5700|    115|        return (PyObject*)_PyLong_FromSTwoDigits(medium_value(x) & medium_value(y));
  ------------------
  |  |   27|    115|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                      return (PyObject*)_PyLong_FromSTwoDigits(medium_value(x) & medium_value(y));
  ------------------
  |  |   27|    115|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 5701|    115|    }
 5702|  58.2k|    return long_bitwise(x, '&', y);
 5703|  58.3k|}
longobject.c:long_bitwise:
 5571|   108k|{
 5572|   108k|    int nega, negb, negz;
 5573|   108k|    Py_ssize_t size_a, size_b, size_z, i;
 5574|   108k|    PyLongObject *z;
 5575|       |
 5576|   108k|    PyLongObject *new_a = NULL;
 5577|   108k|    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|   108k|    size_a = _PyLong_DigitCount(a);
 5585|   108k|    size_b = _PyLong_DigitCount(b);
 5586|       |    /* Swap a and b if necessary to ensure size_a >= size_b. */
 5587|   108k|    if (size_a < size_b) {
  ------------------
  |  Branch (5587:9): [True: 54.1k, False: 54.3k]
  ------------------
 5588|  54.1k|        z = a; a = b; b = z;
 5589|  54.1k|        size_z = size_a; size_a = size_b; size_b = size_z;
 5590|  54.1k|    }
 5591|       |
 5592|       |    /* If a is negative, replace it by its two's complement. */
 5593|   108k|    nega = _PyLong_IsNegative(a);
 5594|   108k|    if (nega) {
  ------------------
  |  Branch (5594:9): [True: 0, False: 108k]
  ------------------
 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|   108k|    negb = _PyLong_IsNegative(b);
 5605|   108k|    if (negb) {
  ------------------
  |  Branch (5605:9): [True: 0, False: 108k]
  ------------------
 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|   108k|    switch (op) {
 5624|  50.2k|    case '^':
  ------------------
  |  Branch (5624:5): [True: 50.2k, False: 58.2k]
  ------------------
 5625|  50.2k|        negz = nega ^ negb;
 5626|  50.2k|        size_z = size_a;
 5627|  50.2k|        break;
 5628|  58.2k|    case '&':
  ------------------
  |  Branch (5628:5): [True: 58.2k, False: 50.2k]
  ------------------
 5629|  58.2k|        negz = nega & negb;
 5630|  58.2k|        size_z = negb ? size_a : size_b;
  ------------------
  |  Branch (5630:18): [True: 0, False: 58.2k]
  ------------------
 5631|  58.2k|        break;
 5632|     26|    case '|':
  ------------------
  |  Branch (5632:5): [True: 26, False: 108k]
  ------------------
 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: 108k]
  ------------------
 5637|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 5638|   108k|    }
 5639|       |
 5640|   108k|    if ((size_z + negz) == 0) {
  ------------------
  |  Branch (5640:9): [True: 25.1k, False: 83.3k]
  ------------------
 5641|  25.1k|        Py_XDECREF(new_a);
  ------------------
  |  |  524|  25.1k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  25.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  25.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5642|  25.1k|        Py_XDECREF(new_b);
  ------------------
  |  |  524|  25.1k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  25.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  25.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5643|  25.1k|        return get_small_int(0);
 5644|  25.1k|    }
 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|  83.3k|    z = long_alloc(size_z + negz);
 5649|  83.3k|    if (z == NULL) {
  ------------------
  |  Branch (5649:9): [True: 0, False: 83.3k]
  ------------------
 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|  83.3k|    switch(op) {
 5657|  33.1k|    case '&':
  ------------------
  |  Branch (5657:5): [True: 33.1k, False: 50.2k]
  ------------------
 5658|   120k|        for (i = 0; i < size_b; ++i)
  ------------------
  |  Branch (5658:21): [True: 87.5k, False: 33.1k]
  ------------------
 5659|  87.5k|            z->long_value.ob_digit[i] = a->long_value.ob_digit[i] & b->long_value.ob_digit[i];
 5660|  33.1k|        break;
 5661|     26|    case '|':
  ------------------
  |  Branch (5661:5): [True: 26, False: 83.3k]
  ------------------
 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|  50.2k|    case '^':
  ------------------
  |  Branch (5665:5): [True: 50.2k, False: 33.1k]
  ------------------
 5666|   114k|        for (i = 0; i < size_b; ++i)
  ------------------
  |  Branch (5666:21): [True: 63.8k, False: 50.2k]
  ------------------
 5667|  63.8k|            z->long_value.ob_digit[i] = a->long_value.ob_digit[i] ^ b->long_value.ob_digit[i];
 5668|  50.2k|        break;
 5669|      0|    default:
  ------------------
  |  Branch (5669:5): [True: 0, False: 83.3k]
  ------------------
 5670|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 5671|  83.3k|    }
 5672|       |
 5673|       |    /* Copy any remaining digits of a, inverting if necessary. */
 5674|  83.3k|    if (op == '^' && negb)
  ------------------
  |  Branch (5674:9): [True: 50.2k, False: 33.1k]
  |  Branch (5674:22): [True: 0, False: 50.2k]
  ------------------
 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|  83.3k|    else if (i < size_z)
  ------------------
  |  Branch (5677:14): [True: 36.6k, False: 46.7k]
  ------------------
 5678|  36.6k|        memcpy(&z->long_value.ob_digit[i], &a->long_value.ob_digit[i],
 5679|  36.6k|               (size_z-i)*sizeof(digit));
 5680|       |
 5681|       |    /* Complement result if negative. */
 5682|  83.3k|    if (negz) {
  ------------------
  |  Branch (5682:9): [True: 0, False: 83.3k]
  ------------------
 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|  83.3k|    Py_XDECREF(new_a);
  ------------------
  |  |  524|  83.3k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  83.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  83.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5689|  83.3k|    Py_XDECREF(new_b);
  ------------------
  |  |  524|  83.3k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  83.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  83.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5690|  83.3k|    return (PyObject *)maybe_small_long(long_normalize(z));
 5691|  83.3k|}
longobject.c:long_xor:
 5707|  50.2k|{
 5708|  50.2k|    CHECK_BINOP(a, b);
  ------------------
  |  | 1844|  50.2k|    do {                                                \
  |  | 1845|  50.2k|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  50.2k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|   100k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  50.2k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  50.2k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 0, False: 50.2k]
  |  |  |  Branch (1845:33): [True: 0, False: 50.2k]
  |  |  ------------------
  |  | 1846|  50.2k|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|  50.2k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 50.2k]
  |  |  ------------------
  ------------------
 5709|  50.2k|    PyLongObject *x = (PyLongObject*)a;
 5710|  50.2k|    PyLongObject *y = (PyLongObject*)b;
 5711|  50.2k|    if (_PyLong_IsCompact(x) && _PyLong_IsCompact(y)) {
  ------------------
  |  Branch (5711:9): [True: 25.0k, False: 25.1k]
  |  Branch (5711:33): [True: 6, False: 25.0k]
  ------------------
 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|  50.2k|    return long_bitwise(x, '^', y);
 5715|  50.2k|}
longobject.c:long_or:
 5719|    132|{
 5720|    132|    CHECK_BINOP(a, b);
  ------------------
  |  | 1844|    132|    do {                                                \
  |  | 1845|    132|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|    132|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    264|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|    132|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|    132|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 0, False: 132]
  |  |  |  Branch (1845:33): [True: 0, False: 132]
  |  |  ------------------
  |  | 1846|    132|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|    132|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 132]
  |  |  ------------------
  ------------------
 5721|    132|    PyLongObject *x = (PyLongObject*)a;
 5722|    132|    PyLongObject *y = (PyLongObject*)b;
 5723|    132|    if (_PyLong_IsCompact(x) && _PyLong_IsCompact(y)) {
  ------------------
  |  Branch (5723:9): [True: 112, False: 20]
  |  Branch (5723:33): [True: 106, False: 6]
  ------------------
 5724|    106|        return (PyObject*)_PyLong_FromSTwoDigits(medium_value(x) | medium_value(y));
  ------------------
  |  |   27|    106|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
                      return (PyObject*)_PyLong_FromSTwoDigits(medium_value(x) | medium_value(y));
  ------------------
  |  |   27|    106|#define medium_value(x) ((stwodigits)_PyLong_CompactValue(x))
  ------------------
 5725|    106|    }
 5726|     26|    return long_bitwise(x, '|', y);
 5727|    132|}
longobject.c:long_float:
 5950|      6|{
 5951|      6|    double result;
 5952|      6|    result = PyLong_AsDouble(v);
 5953|      6|    if (result == -1.0 && PyErr_Occurred())
  ------------------
  |  Branch (5953:9): [True: 0, False: 6]
  |  Branch (5953:27): [True: 0, False: 0]
  ------------------
 5954|      0|        return NULL;
 5955|      6|    return PyFloat_FromDouble(result);
 5956|      6|}
longobject.c:long_div:
 4584|   245k|{
 4585|   245k|    PyLongObject *div;
 4586|       |
 4587|   245k|    CHECK_BINOP(a, b);
  ------------------
  |  | 1844|   245k|    do {                                                \
  |  | 1845|   245k|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|   245k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|   491k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|   245k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|   245k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 0, False: 245k]
  |  |  |  Branch (1845:33): [True: 0, False: 245k]
  |  |  ------------------
  |  | 1846|   245k|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|   245k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 245k]
  |  |  ------------------
  ------------------
 4588|       |
 4589|   245k|    if (_PyLong_DigitCount((PyLongObject*)a) == 1 && _PyLong_DigitCount((PyLongObject*)b) == 1) {
  ------------------
  |  Branch (4589:9): [True: 238k, False: 7.19k]
  |  Branch (4589:54): [True: 238k, False: 0]
  ------------------
 4590|   238k|        return fast_floor_div((PyLongObject*)a, (PyLongObject*)b);
 4591|   238k|    }
 4592|       |
 4593|  7.19k|    if (l_divmod((PyLongObject*)a, (PyLongObject*)b, &div, NULL) < 0)
  ------------------
  |  Branch (4593:9): [True: 0, False: 7.19k]
  ------------------
 4594|      0|        div = NULL;
 4595|  7.19k|    return (PyObject *)div;
 4596|   245k|}
longobject.c:long_true_divide:
 4605|     24|{
 4606|     24|    PyLongObject *a, *b, *x;
 4607|     24|    Py_ssize_t a_size, b_size, shift, extra_bits, diff, x_size, x_bits;
 4608|     24|    digit mask, low;
 4609|     24|    int inexact, negate, a_is_small, b_is_small;
 4610|     24|    double dx, result;
 4611|       |
 4612|     24|    CHECK_BINOP(v, w);
  ------------------
  |  | 1844|     24|    do {                                                \
  |  | 1845|     24|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|     24|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|     48|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|     24|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|     24|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 0, False: 24]
  |  |  |  Branch (1845:33): [True: 2, False: 22]
  |  |  ------------------
  |  | 1846|     24|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|      2|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|      2|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|     24|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 22]
  |  |  ------------------
  ------------------
 4613|     22|    a = (PyLongObject *)v;
 4614|     22|    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|     22|    a_size = _PyLong_DigitCount(a);
 4705|     22|    b_size = _PyLong_DigitCount(b);
 4706|     22|    negate = (_PyLong_IsNegative(a)) != (_PyLong_IsNegative(b));
 4707|     22|    if (b_size == 0) {
  ------------------
  |  Branch (4707:9): [True: 0, False: 22]
  ------------------
 4708|      0|        PyErr_SetString(PyExc_ZeroDivisionError,
 4709|      0|                        "division by zero");
 4710|      0|        goto error;
 4711|      0|    }
 4712|     22|    if (a_size == 0)
  ------------------
  |  Branch (4712:9): [True: 0, False: 22]
  ------------------
 4713|      0|        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|     22|    a_is_small = a_size <= MANT_DIG_DIGITS ||
  ------------------
  |  | 4600|     44|#define MANT_DIG_DIGITS (DBL_MANT_DIG / PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|     22|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
  |  Branch (4719:18): [True: 20, False: 2]
  ------------------
 4720|      2|        (a_size == MANT_DIG_DIGITS+1 &&
  ------------------
  |  | 4600|      2|#define MANT_DIG_DIGITS (DBL_MANT_DIG / PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|      2|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
  |  Branch (4720:10): [True: 2, False: 0]
  ------------------
 4721|      2|         a->long_value.ob_digit[MANT_DIG_DIGITS] >> MANT_DIG_BITS == 0);
  ------------------
  |  | 4600|      2|#define MANT_DIG_DIGITS (DBL_MANT_DIG / PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|      2|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
                       a->long_value.ob_digit[MANT_DIG_DIGITS] >> MANT_DIG_BITS == 0);
  ------------------
  |  | 4601|      2|#define MANT_DIG_BITS (DBL_MANT_DIG % PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|      2|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
  |  Branch (4721:10): [True: 2, False: 0]
  ------------------
 4722|     22|    b_is_small = b_size <= MANT_DIG_DIGITS ||
  ------------------
  |  | 4600|     44|#define MANT_DIG_DIGITS (DBL_MANT_DIG / PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|     22|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
  |  Branch (4722:18): [True: 22, 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|     22|    if (a_is_small && b_is_small) {
  ------------------
  |  Branch (4725:9): [True: 22, False: 0]
  |  Branch (4725:23): [True: 22, False: 0]
  ------------------
 4726|     22|        double da, db;
 4727|     22|        da = a->long_value.ob_digit[--a_size];
 4728|     24|        while (a_size > 0)
  ------------------
  |  Branch (4728:16): [True: 2, False: 22]
  ------------------
 4729|      2|            da = da * PyLong_BASE + a->long_value.ob_digit[--a_size];
  ------------------
  |  |   61|      2|#define PyLong_BASE     ((digit)1 << PyLong_SHIFT)
  |  |  ------------------
  |  |  |  |   47|      2|#define PyLong_SHIFT    30
  |  |  ------------------
  ------------------
 4730|     22|        db = b->long_value.ob_digit[--b_size];
 4731|     22|        while (b_size > 0)
  ------------------
  |  Branch (4731:16): [True: 0, False: 22]
  ------------------
 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|     22|        result = da / db;
 4734|     22|        goto success;
 4735|     22|    }
 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|     22|  success:
 4848|     22|    return PyFloat_FromDouble(negate ? -result : result);
  ------------------
  |  Branch (4848:31): [True: 0, False: 22]
  ------------------
 4849|       |
 4850|      0|  underflow_or_zero:
 4851|      0|    return PyFloat_FromDouble(negate ? -0.0 : 0.0);
  ------------------
  |  Branch (4851:31): [True: 0, False: 0]
  ------------------
 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|  5.66M|{
 3673|  5.66M|    PyLongObject *v = (PyLongObject *)obj;
 3674|  5.66M|    Py_uhash_t x;
 3675|  5.66M|    Py_ssize_t i;
 3676|  5.66M|    int sign;
 3677|       |
 3678|  5.66M|    if (_PyLong_IsCompact(v)) {
  ------------------
  |  Branch (3678:9): [True: 1.65M, False: 4.01M]
  ------------------
 3679|  1.65M|        x = (Py_uhash_t)_PyLong_CompactValue(v);
 3680|  1.65M|        if (x == (Py_uhash_t)-1) {
  ------------------
  |  Branch (3680:13): [True: 11, False: 1.65M]
  ------------------
 3681|     11|            x = (Py_uhash_t)-2;
 3682|     11|        }
 3683|  1.65M|        return x;
 3684|  1.65M|    }
 3685|  4.01M|    i = _PyLong_DigitCount(v);
 3686|  4.01M|    sign = _PyLong_NonCompactSign(v);
 3687|       |
 3688|       |    // unroll first digit
 3689|  4.01M|    Py_BUILD_ASSERT(PyHASH_BITS > PyLong_SHIFT);
  ------------------
  |  |  167|  4.01M|        do { \
  |  |  168|  4.01M|            static_assert((cond), #cond); \
  |  |  169|  4.01M|        } while (0)
  |  |  ------------------
  |  |  |  Branch (169:18): [Folded, False: 4.01M]
  |  |  ------------------
  ------------------
 3690|  4.01M|    assert(i >= 1);
 3691|  4.01M|    --i;
 3692|  4.01M|    x = v->long_value.ob_digit[i];
 3693|  4.01M|    assert(x < PyHASH_MODULUS);
 3694|       |
 3695|  4.01M|#if PyHASH_BITS >= 2 * PyLong_SHIFT
 3696|       |    // unroll second digit
 3697|  4.01M|    assert(i >= 1);
 3698|  4.01M|    --i;
 3699|  4.01M|    x <<= PyLong_SHIFT;
  ------------------
  |  |   47|  4.01M|#define PyLong_SHIFT    30
  ------------------
 3700|  4.01M|    x += v->long_value.ob_digit[i];
 3701|  4.01M|    assert(x < PyHASH_MODULUS);
 3702|  4.01M|#endif
 3703|       |
 3704|  4.40M|    while (--i >= 0) {
  ------------------
  |  Branch (3704:12): [True: 396k, False: 4.01M]
  ------------------
 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|   396k|        x = ((x << PyLong_SHIFT) & PyHASH_MODULUS) |
  ------------------
  |  |   47|   396k|#define PyLong_SHIFT    30
  ------------------
                      x = ((x << PyLong_SHIFT) & PyHASH_MODULUS) |
  ------------------
  |  |   18|   396k|#define PyHASH_MODULUS (((size_t)1 << PyHASH_BITS) - 1)
  |  |  ------------------
  |  |  |  |   13|   396k|#  define PyHASH_BITS 61
  |  |  ------------------
  ------------------
 3731|   396k|            (x >> (PyHASH_BITS - PyLong_SHIFT));
  ------------------
  |  |   13|   396k|#  define PyHASH_BITS 61
  ------------------
                          (x >> (PyHASH_BITS - PyLong_SHIFT));
  ------------------
  |  |   47|   396k|#define PyLong_SHIFT    30
  ------------------
 3732|   396k|        x += v->long_value.ob_digit[i];
 3733|   396k|        if (x >= PyHASH_MODULUS)
  ------------------
  |  |   18|   396k|#define PyHASH_MODULUS (((size_t)1 << PyHASH_BITS) - 1)
  |  |  ------------------
  |  |  |  |   13|   396k|#  define PyHASH_BITS 61
  |  |  ------------------
  ------------------
  |  Branch (3733:13): [True: 20, False: 396k]
  ------------------
 3734|     20|            x -= PyHASH_MODULUS;
  ------------------
  |  |   18|     20|#define PyHASH_MODULUS (((size_t)1 << PyHASH_BITS) - 1)
  |  |  ------------------
  |  |  |  |   13|     20|#  define PyHASH_BITS 61
  |  |  ------------------
  ------------------
 3735|   396k|    }
 3736|  4.01M|    x = x * sign;
 3737|  4.01M|    if (x == (Py_uhash_t)-1)
  ------------------
  |  Branch (3737:9): [True: 4, False: 4.01M]
  ------------------
 3738|      4|        x = (Py_uhash_t)-2;
 3739|  4.01M|    return (Py_hash_t)x;
 3740|  5.66M|}
longobject.c:long_richcompare:
 3624|  10.8M|{
 3625|  10.8M|    Py_ssize_t result;
 3626|  10.8M|    CHECK_BINOP(self, other);
  ------------------
  |  | 1844|  10.8M|    do {                                                \
  |  | 1845|  10.8M|        if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  10.8M|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  21.6M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       if (!PyLong_Check(v) || !PyLong_Check(w))       \
  |  |  ------------------
  |  |  |  |   13|  10.8M|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  10.8M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1845:13): [True: 0, False: 10.8M]
  |  |  |  Branch (1845:33): [True: 2.05M, False: 8.78M]
  |  |  ------------------
  |  | 1846|  10.8M|            Py_RETURN_NOTIMPLEMENTED;                   \
  |  |  ------------------
  |  |  |  |  648|  2.05M|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  |  |  ------------------
  |  |  |  |  |  |  640|  2.05M|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1847|  10.8M|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1847:13): [Folded, False: 8.78M]
  |  |  ------------------
  ------------------
 3627|  8.78M|    if (self == other)
  ------------------
  |  Branch (3627:9): [True: 1.22M, False: 7.56M]
  ------------------
 3628|  1.22M|        result = 0;
 3629|  7.56M|    else
 3630|  7.56M|        result = long_compare((PyLongObject*)self, (PyLongObject*)other);
 3631|  8.78M|    Py_RETURN_RICHCOMPARE(result, 0, op);
  ------------------
  |  |  674|  8.78M|    do {                                                                    \
  |  |  675|  8.78M|        switch (op) {                                                       \
  |  |  676|  4.14M|        case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  654|  4.14M|#define Py_EQ 2
  |  |  ------------------
  |  |                       case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|   364k|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|   364k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   364k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   364k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|  3.78M|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|  3.78M|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  3.78M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  3.78M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (676:9): [True: 4.14M, False: 4.64M]
  |  |  |  Branch (676:25): [True: 364k, False: 3.78M]
  |  |  ------------------
  |  |  677|  4.14M|        case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  655|  24.9k|#define Py_NE 3
  |  |  ------------------
  |  |                       case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|     60|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|     60|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     60|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     60|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|  24.9k|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|  24.9k|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  24.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  24.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (677:9): [True: 24.9k, False: 8.76M]
  |  |  |  Branch (677:25): [True: 60, False: 24.9k]
  |  |  ------------------
  |  |  678|   169k|        case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |  652|   169k|#define Py_LT 0
  |  |  ------------------
  |  |                       case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   44|  69.3k|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|  69.3k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  69.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  69.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   45|   100k|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|   100k|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   100k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   100k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (678:9): [True: 169k, False: 8.61M]
  |  |  |  Branch (678:25): [True: 69.3k, False: 100k]
  |  |  ------------------
  |  |  679|  4.40M|        case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |  656|  4.40M|#define Py_GT 4
  |  |  ------------------
  |  |                       case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   44|  2.06M|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|  2.06M|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  2.06M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  2.06M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_GT: if ((val1) > (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   45|  2.33M|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|  2.33M|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  2.33M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  2.33M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (679:9): [True: 4.40M, False: 4.38M]
  |  |  |  Branch (679:25): [True: 2.06M, False: 2.33M]
  |  |  ------------------
  |  |  680|  4.40M|        case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  653|  47.1k|#define Py_LE 1
  |  |  ------------------
  |  |                       case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|  38.3k|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|  38.3k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  38.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  38.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_LE: if ((val1) <= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|  8.73k|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|  8.73k|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  8.73k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  8.73k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (680:9): [True: 47.1k, False: 8.74M]
  |  |  |  Branch (680:25): [True: 38.3k, False: 8.73k]
  |  |  ------------------
  |  |  681|  47.1k|        case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  657|    312|#define Py_GE 5
  |  |  ------------------
  |  |                       case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|     70|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|     70|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     70|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     70|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_GE: if ((val1) >= (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   45|    242|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|    242|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    242|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    242|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (681:9): [True: 312, False: 8.78M]
  |  |  |  Branch (681:25): [True: 70, False: 242]
  |  |  ------------------
  |  |  682|    312|        default:                                                            \
  |  |  ------------------
  |  |  |  Branch (682:9): [True: 0, False: 8.78M]
  |  |  ------------------
  |  |  683|      0|            Py_UNREACHABLE();                                               \
  |  |  ------------------
  |  |  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  |  |  ------------------
  |  |  684|  8.78M|        }                                                                   \
  |  |  685|  8.78M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (685:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3632|  8.78M|}
longobject.c:int_bit_length_impl:
 6292|  2.01M|{
 6293|  2.01M|    int64_t nbits = _PyLong_NumBits(self);
 6294|  2.01M|    assert(nbits >= 0);
 6295|       |    assert(!PyErr_Occurred());
 6296|  2.01M|    return PyLong_FromInt64(nbits);
 6297|  2.01M|}
longobject.c:int_to_bytes_impl:
 6392|  97.9k|{
 6393|  97.9k|    int little_endian;
 6394|  97.9k|    if (byteorder == NULL)
  ------------------
  |  Branch (6394:9): [True: 0, False: 97.9k]
  ------------------
 6395|      0|        little_endian = 0;
 6396|  97.9k|    else if (_PyUnicode_Equal(byteorder, &_Py_ID(little)))
  ------------------
  |  |  915|  97.9k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  97.9k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  97.9k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6396:14): [True: 137, False: 97.7k]
  ------------------
 6397|    137|        little_endian = 1;
 6398|  97.7k|    else if (_PyUnicode_Equal(byteorder, &_Py_ID(big)))
  ------------------
  |  |  915|  97.7k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  97.7k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  97.7k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6398:14): [True: 97.7k, False: 0]
  ------------------
 6399|  97.7k|        little_endian = 0;
 6400|      0|    else {
 6401|      0|        PyErr_SetString(PyExc_ValueError,
 6402|      0|            "byteorder must be either 'little' or 'big'");
 6403|      0|        return NULL;
 6404|      0|    }
 6405|       |
 6406|  97.9k|    PyBytesWriter *writer = PyBytesWriter_Create(length);
 6407|  97.9k|    if (writer == NULL) {
  ------------------
  |  Branch (6407:9): [True: 0, False: 97.9k]
  ------------------
 6408|      0|        return NULL;
 6409|      0|    }
 6410|       |
 6411|  97.9k|    if (_PyLong_AsByteArray((PyLongObject *)self,
  ------------------
  |  Branch (6411:9): [True: 0, False: 97.9k]
  ------------------
 6412|  97.9k|                            PyBytesWriter_GetData(writer),
 6413|  97.9k|                            length, little_endian, is_signed, 1) < 0) {
 6414|      0|        PyBytesWriter_Discard(writer);
 6415|      0|        return NULL;
 6416|      0|    }
 6417|       |
 6418|  97.9k|    return PyBytesWriter_Finish(writer);
 6419|  97.9k|}
longobject.c:int_from_bytes_impl:
 6447|  7.54M|{
 6448|  7.54M|    int little_endian;
 6449|  7.54M|    PyObject *long_obj, *bytes;
 6450|       |
 6451|  7.54M|    if (byteorder == NULL)
  ------------------
  |  Branch (6451:9): [True: 0, False: 7.54M]
  ------------------
 6452|      0|        little_endian = 0;
 6453|  7.54M|    else if (_PyUnicode_Equal(byteorder, &_Py_ID(little)))
  ------------------
  |  |  915|  7.54M|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  7.54M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  7.54M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6453:14): [True: 11.7k, False: 7.53M]
  ------------------
 6454|  11.7k|        little_endian = 1;
 6455|  7.53M|    else if (_PyUnicode_Equal(byteorder, &_Py_ID(big)))
  ------------------
  |  |  915|  7.53M|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  7.53M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  7.53M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6455:14): [True: 7.53M, False: 0]
  ------------------
 6456|  7.53M|        little_endian = 0;
 6457|      0|    else {
 6458|      0|        PyErr_SetString(PyExc_ValueError,
 6459|      0|            "byteorder must be either 'little' or 'big'");
 6460|      0|        return NULL;
 6461|      0|    }
 6462|       |
 6463|       |    /* Fast-path exact bytes. */
 6464|  7.54M|    if (PyBytes_CheckExact(bytes_obj)) {
  ------------------
  |  |   29|  7.54M|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_Type)
  |  |  ------------------
  |  |  |  |  215|  7.54M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  7.54M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  7.54M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 7.54M, False: 44]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6465|  7.54M|        long_obj = _PyLong_FromByteArray(
 6466|  7.54M|            (unsigned char *)PyBytes_AS_STRING(bytes_obj), Py_SIZE(bytes_obj),
  ------------------
  |  |   27|  7.54M|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.54M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.54M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          (unsigned char *)PyBytes_AS_STRING(bytes_obj), Py_SIZE(bytes_obj),
  ------------------
  |  |  214|  7.54M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  7.54M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.54M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6467|  7.54M|            little_endian, is_signed);
 6468|  7.54M|    }
 6469|       |    /* Use buffer protocol to avoid copies. */
 6470|     44|    else if (PyObject_CheckBuffer(bytes_obj)) {
  ------------------
  |  Branch (6470:14): [True: 0, False: 44]
  ------------------
 6471|      0|        Py_buffer view;
 6472|      0|        if (PyObject_GetBuffer(bytes_obj, &view, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|      0|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (6472:13): [True: 0, False: 0]
  ------------------
 6473|      0|            return NULL;
 6474|      0|        }
 6475|      0|        long_obj = _PyLong_FromByteArray(view.buf, view.len, little_endian,
 6476|      0|            is_signed);
 6477|      0|        PyBuffer_Release(&view);
 6478|      0|    }
 6479|     44|    else {
 6480|       |        /* fallback: Construct a bytes then convert. */
 6481|     44|        bytes = PyObject_Bytes(bytes_obj);
 6482|     44|        if (bytes == NULL) {
  ------------------
  |  Branch (6482:13): [True: 0, False: 44]
  ------------------
 6483|      0|            return NULL;
 6484|      0|        }
 6485|     44|        long_obj = _PyLong_FromByteArray(
 6486|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6487|     44|            little_endian, is_signed);
 6488|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6489|     44|    }
 6490|       |
 6491|  7.54M|    if (long_obj != NULL && type != &PyLong_Type) {
  ------------------
  |  Branch (6491:9): [True: 7.54M, False: 0]
  |  Branch (6491:29): [True: 0, False: 7.54M]
  ------------------
 6492|      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]
  |  |  ------------------
  ------------------
 6493|      0|    }
 6494|       |
 6495|  7.54M|    return long_obj;
 6496|  7.54M|}
longobject.c:long_new_impl:
 5972|  2.74k|{
 5973|  2.74k|    Py_ssize_t base;
 5974|       |
 5975|  2.74k|    if (type != &PyLong_Type)
  ------------------
  |  Branch (5975:9): [True: 914, False: 1.82k]
  ------------------
 5976|    914|        return long_subtype_new(type, x, obase); /* Wimp out */
 5977|  1.82k|    if (x == NULL) {
  ------------------
  |  Branch (5977:9): [True: 2, False: 1.82k]
  ------------------
 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.82k|    if (obase == NULL)
  ------------------
  |  Branch (5986:9): [True: 912, False: 912]
  ------------------
 5987|    912|        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|    914|{
 6023|    914|    PyLongObject *tmp, *newobj;
 6024|    914|    Py_ssize_t size, ndigits;
 6025|    914|    int sign;
 6026|       |
 6027|    914|    assert(PyType_IsSubtype(type, &PyLong_Type));
 6028|    914|    tmp = (PyLongObject *)long_new_impl(&PyLong_Type, x, obase);
 6029|    914|    if (tmp == NULL)
  ------------------
  |  Branch (6029:9): [True: 0, False: 914]
  ------------------
 6030|      0|        return NULL;
 6031|    914|    assert(PyLong_Check(tmp));
 6032|    914|    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|    914|    ndigits = size ? size : 1;
  ------------------
  |  Branch (6035:15): [True: 872, False: 42]
  ------------------
 6036|    914|    newobj = (PyLongObject *)type->tp_alloc(type, ndigits);
 6037|    914|    if (newobj == NULL) {
  ------------------
  |  Branch (6037:9): [True: 0, False: 914]
  ------------------
 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|    914|    assert(PyLong_Check(newobj));
 6042|    914|    if (_PyLong_IsCompact(tmp)) {
  ------------------
  |  Branch (6042:9): [True: 906, False: 8]
  ------------------
 6043|    906|        sign = _PyLong_CompactSign(tmp);
 6044|    906|    }
 6045|      8|    else {
 6046|      8|        sign = _PyLong_NonCompactSign(tmp);
 6047|      8|    }
 6048|    914|    _PyLong_InitTag(newobj);
 6049|    914|    _PyLong_SetSignAndDigitCount(newobj, sign, size);
 6050|    914|    memcpy(newobj->long_value.ob_digit, tmp->long_value.ob_digit,
 6051|    914|           ndigits * sizeof(digit));
 6052|    914|    Py_DECREF(tmp);
  ------------------
  |  |  430|    914|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    914|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    914|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6053|    914|    return (PyObject *)newobj;
 6054|    914|}
longobject.c:long_vectorcall:
 6526|  94.1k|{
 6527|  94.1k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  94.1k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
 6528|  94.1k|    if (kwnames != NULL) {
  ------------------
  |  Branch (6528:9): [True: 0, False: 94.1k]
  ------------------
 6529|      0|        PyThreadState *tstate = PyThreadState_GET();
  ------------------
  |  |   63|      0|#define PyThreadState_GET() PyThreadState_Get()
  ------------------
 6530|      0|        return _PyObject_MakeTpCall(tstate, type, args, nargs, kwnames);
 6531|      0|    }
 6532|  94.1k|    switch (nargs) {
 6533|      4|        case 0:
  ------------------
  |  Branch (6533:9): [True: 4, False: 94.1k]
  ------------------
 6534|      4|            return _PyLong_GetZero();
 6535|  93.2k|        case 1:
  ------------------
  |  Branch (6535:9): [True: 93.2k, False: 916]
  ------------------
 6536|  93.2k|            return PyNumber_Long(args[0]);
 6537|    912|        case 2:
  ------------------
  |  Branch (6537:9): [True: 912, False: 93.2k]
  ------------------
 6538|    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))
  |  |  ------------------
  ------------------
 6539|      0|        default:
  ------------------
  |  Branch (6539:9): [True: 0, False: 94.1k]
  ------------------
 6540|      0|            return PyErr_Format(PyExc_TypeError,
 6541|      0|                                "int expected at most 2 arguments, got %zd",
 6542|      0|                                nargs);
 6543|  94.1k|    }
 6544|  94.1k|}

PyMemoryView_FromBuffer:
  771|  4.37k|{
  772|  4.37k|    _PyManagedBufferObject *mbuf;
  773|  4.37k|    PyObject *mv;
  774|       |
  775|  4.37k|    if (info->buf == NULL) {
  ------------------
  |  Branch (775:9): [True: 0, False: 4.37k]
  ------------------
  776|      0|        PyErr_SetString(PyExc_ValueError,
  777|      0|            "PyMemoryView_FromBuffer(): info->buf must not be NULL");
  778|      0|        return NULL;
  779|      0|    }
  780|       |
  781|  4.37k|    mbuf = mbuf_alloc();
  782|  4.37k|    if (mbuf == NULL)
  ------------------
  |  Branch (782:9): [True: 0, False: 4.37k]
  ------------------
  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|  4.37k|    mbuf->master = *info;
  788|  4.37k|    mbuf->master.obj = NULL;
  789|       |
  790|  4.37k|    mv = mbuf_add_view(mbuf, NULL);
  791|  4.37k|    Py_DECREF(mbuf);
  ------------------
  |  |  430|  4.37k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.37k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  792|       |
  793|  4.37k|    return mv;
  794|  4.37k|}
PyMemoryView_FromObject:
  855|  3.94k|{
  856|  3.94k|    return PyMemoryView_FromObjectAndFlags(v, PyBUF_FULL_RO);
  ------------------
  |  |  134|  3.94k|#define PyBUF_FULL_RO (PyBUF_INDIRECT | PyBUF_FORMAT)
  |  |  ------------------
  |  |  |  |  122|  3.94k|#define PyBUF_INDIRECT (0x0100 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|  3.94k|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|  3.94k|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define PyBUF_FULL_RO (PyBUF_INDIRECT | PyBUF_FORMAT)
  |  |  ------------------
  |  |  |  |  116|  3.94k|#define PyBUF_FORMAT 0x0004
  |  |  ------------------
  ------------------
  857|  3.94k|}
PyBuffer_ToContiguous:
 1050|  15.0M|{
 1051|  15.0M|    Py_buffer_full *fb = NULL;
 1052|  15.0M|    int ret;
 1053|       |
 1054|  15.0M|    assert(order == 'C' || order == 'F' || order == 'A');
 1055|       |
 1056|  15.0M|    if (len != src->len) {
  ------------------
  |  Branch (1056:9): [True: 0, False: 15.0M]
  ------------------
 1057|      0|        PyErr_SetString(PyExc_ValueError,
 1058|      0|            "PyBuffer_ToContiguous: len != view->len");
 1059|      0|        return -1;
 1060|      0|    }
 1061|       |
 1062|  15.0M|    if (PyBuffer_IsContiguous(src, order)) {
  ------------------
  |  Branch (1062:9): [True: 15.0M, False: 0]
  ------------------
 1063|  15.0M|        memcpy((char *)buf, src->buf, len);
 1064|  15.0M|        return 0;
 1065|  15.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|  8.31k|{
  122|  8.31k|    _PyManagedBufferObject *self = (_PyManagedBufferObject *)_self;
  123|  8.31k|    assert(self->exports == 0);
  124|  8.31k|    mbuf_release(self);
  125|  8.31k|    if (self->flags&_Py_MANAGED_BUFFER_FREE_FORMAT)
  ------------------
  |  |    9|  8.31k|#define _Py_MANAGED_BUFFER_FREE_FORMAT 0x002  /* free format */
  ------------------
  |  Branch (125:9): [True: 0, False: 8.31k]
  ------------------
  126|      0|        PyMem_Free(self->master.format);
  127|  8.31k|    PyObject_GC_Del(self);
  128|  8.31k|}
memoryobject.c:mbuf_release:
  108|  16.6k|{
  109|  16.6k|    if (self->flags&_Py_MANAGED_BUFFER_RELEASED)
  ------------------
  |  |    8|  16.6k|#define _Py_MANAGED_BUFFER_RELEASED    0x001  /* access to exporter blocked */
  ------------------
  |  Branch (109:9): [True: 8.31k, False: 8.31k]
  ------------------
  110|  8.31k|        return;
  111|       |
  112|  8.31k|    self->flags |= _Py_MANAGED_BUFFER_RELEASED;
  ------------------
  |  |    8|  8.31k|#define _Py_MANAGED_BUFFER_RELEASED    0x001  /* access to exporter blocked */
  ------------------
  113|       |
  114|       |    /* PyBuffer_Release() decrements master->obj and sets it to NULL. */
  115|  8.31k|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  510|  8.31k|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.31k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  116|  8.31k|    PyBuffer_Release(&self->master);
  117|  8.31k|}
memoryobject.c:mbuf_traverse:
  132|     50|{
  133|     50|    _PyManagedBufferObject *self = (_PyManagedBufferObject *)_self;
  134|     50|    Py_VISIT(self->master.obj);
  ------------------
  |  |  194|     50|    do {                                                                \
  |  |  195|     50|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 50, False: 0]
  |  |  ------------------
  |  |  196|     50|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     50|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 50]
  |  |  ------------------
  |  |  198|     50|                return vret;                                            \
  |  |  199|     50|        }                                                               \
  |  |  200|     50|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 50]
  |  |  ------------------
  ------------------
  135|     50|    return 0;
  136|     50|}
memoryobject.c:mbuf_alloc:
   73|  8.31k|{
   74|  8.31k|    _PyManagedBufferObject *mbuf;
   75|       |
   76|  8.31k|    mbuf = (_PyManagedBufferObject *)
   77|  8.31k|        PyObject_GC_New(_PyManagedBufferObject, &_PyManagedBuffer_Type);
  ------------------
  |  |  181|  8.31k|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|  8.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   78|  8.31k|    if (mbuf == NULL)
  ------------------
  |  Branch (78:9): [True: 0, False: 8.31k]
  ------------------
   79|      0|        return NULL;
   80|  8.31k|    mbuf->flags = 0;
   81|  8.31k|    mbuf->exports = 0;
   82|  8.31k|    mbuf->master.obj = NULL;
   83|  8.31k|    _PyObject_GC_TRACK(mbuf);
  ------------------
  |  |  508|  8.31k|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.31k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   84|       |
   85|  8.31k|    return mbuf;
   86|  8.31k|}
memoryobject.c:mbuf_add_view:
  677|  12.2k|{
  678|  12.2k|    PyMemoryViewObject *mv;
  679|  12.2k|    Py_buffer *dest;
  680|       |
  681|  12.2k|    if (src == NULL)
  ------------------
  |  Branch (681:9): [True: 8.31k, False: 3.93k]
  ------------------
  682|  8.31k|        src = &mbuf->master;
  683|       |
  684|  12.2k|    if (src->ndim > PyBUF_MAX_NDIM) {
  ------------------
  |  |  105|  12.2k|#define PyBUF_MAX_NDIM 64
  ------------------
  |  Branch (684:9): [True: 0, False: 12.2k]
  ------------------
  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|  12.2k|    mv = memory_alloc(src->ndim);
  692|  12.2k|    if (mv == NULL)
  ------------------
  |  Branch (692:9): [True: 0, False: 12.2k]
  ------------------
  693|      0|        return NULL;
  694|       |
  695|  12.2k|    dest = &mv->view;
  696|  12.2k|    init_shared_values(dest, src);
  697|  12.2k|    init_shape_strides(dest, src);
  698|  12.2k|    init_suboffsets(dest, src);
  699|  12.2k|    init_flags(mv);
  700|       |
  701|  12.2k|    mv->mbuf = (_PyManagedBufferObject*)Py_NewRef(mbuf);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  702|  12.2k|    mbuf->exports++;
  703|       |
  704|  12.2k|    return (PyObject *)mv;
  705|  12.2k|}
memoryobject.c:memory_alloc:
  645|  12.2k|{
  646|  12.2k|    PyMemoryViewObject *mv;
  647|       |
  648|  12.2k|    mv = (PyMemoryViewObject *)
  649|  12.2k|        PyObject_GC_NewVar(PyMemoryViewObject, &PyMemoryView_Type, 3*ndim);
  ------------------
  |  |  183|  12.2k|    _Py_CAST(type*, _PyObject_GC_NewVar((typeobj), (n)))
  |  |  ------------------
  |  |  |  |   37|  12.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  650|  12.2k|    if (mv == NULL)
  ------------------
  |  Branch (650:9): [True: 0, False: 12.2k]
  ------------------
  651|      0|        return NULL;
  652|       |
  653|  12.2k|    mv->mbuf = NULL;
  654|  12.2k|    mv->hash = -1;
  655|  12.2k|    mv->flags = 0;
  656|  12.2k|    mv->exports = 0;
  657|  12.2k|    mv->view.ndim = ndim;
  658|  12.2k|    mv->view.shape = mv->ob_array;
  659|  12.2k|    mv->view.strides = mv->ob_array + ndim;
  660|  12.2k|    mv->view.suboffsets = mv->ob_array + 2 * ndim;
  661|  12.2k|    mv->weakreflist = NULL;
  662|       |
  663|  12.2k|    _PyObject_GC_TRACK(mv);
  ------------------
  |  |  508|  12.2k|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  664|  12.2k|    return mv;
  665|  12.2k|}
memoryobject.c:init_flags:
  612|  16.1k|{
  613|  16.1k|    const Py_buffer *view = &mv->view;
  614|  16.1k|    int flags = 0;
  615|       |
  616|  16.1k|    switch (view->ndim) {
  617|      0|    case 0:
  ------------------
  |  Branch (617:5): [True: 0, False: 16.1k]
  ------------------
  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|  16.1k|    case 1:
  ------------------
  |  Branch (621:5): [True: 16.1k, False: 0]
  ------------------
  622|  16.1k|        if (MV_CONTIGUOUS_NDIM1(view))
  ------------------
  |  |  241|  16.1k|    ((view)->shape[0] == 1 || (view)->strides[0] == (view)->itemsize)
  |  |  ------------------
  |  |  |  Branch (241:6): [True: 0, False: 16.1k]
  |  |  |  Branch (241:31): [True: 16.1k, False: 0]
  |  |  ------------------
  ------------------
  623|  16.1k|            flags |= (_Py_MEMORYVIEW_C|_Py_MEMORYVIEW_FORTRAN);
  ------------------
  |  |   21|  16.1k|#define _Py_MEMORYVIEW_C           0x002  /* C-contiguous layout */
  ------------------
                          flags |= (_Py_MEMORYVIEW_C|_Py_MEMORYVIEW_FORTRAN);
  ------------------
  |  |   22|  16.1k|#define _Py_MEMORYVIEW_FORTRAN     0x004  /* Fortran contiguous layout */
  ------------------
  624|  16.1k|        break;
  625|      0|    default:
  ------------------
  |  Branch (625:5): [True: 0, False: 16.1k]
  ------------------
  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|  16.1k|    }
  632|       |
  633|  16.1k|    if (view->suboffsets) {
  ------------------
  |  Branch (633:9): [True: 0, False: 16.1k]
  ------------------
  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|  16.1k|    mv->flags = flags;
  639|  16.1k|}
memoryobject.c:PyMemoryView_FromObjectAndFlags:
  802|  3.94k|{
  803|  3.94k|    _PyManagedBufferObject *mbuf;
  804|       |
  805|  3.94k|    if (PyMemoryView_Check(v)) {
  ------------------
  |  |   11|  3.94k|#define PyMemoryView_Check(op) Py_IS_TYPE((op), &PyMemoryView_Type)
  |  |  ------------------
  |  |  |  |  215|  3.94k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.94k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.94k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 3, False: 3.94k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  806|      3|        PyMemoryViewObject *mv = (PyMemoryViewObject *)v;
  807|      3|        CHECK_RELEASED(mv);
  ------------------
  |  |  185|      3|    if (BASE_INACCESSIBLE(mv)) {                                  \
  |  |  ------------------
  |  |  |  |  181|      3|    (((PyMemoryViewObject *)mv)->flags&_Py_MEMORYVIEW_RELEASED || \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      6|#define _Py_MEMORYVIEW_RELEASED    0x001  /* access to master buffer blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (181:6): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  |  182|      3|     ((PyMemoryViewObject *)mv)->mbuf->flags&_Py_MANAGED_BUFFER_RELEASED)
  |  |  |  |  ------------------
  |  |  |  |  |  |    8|      3|#define _Py_MANAGED_BUFFER_RELEASED    0x001  /* access to exporter blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (182:6): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  186|      0|        PyErr_SetString(PyExc_ValueError,                         \
  |  |  187|      0|            "operation forbidden on released memoryview object"); \
  |  |  188|      0|        return NULL;                                              \
  |  |  189|      0|    }
  ------------------
  808|      3|        CHECK_RESTRICTED(mv);
  ------------------
  |  |  199|      3|    if (((PyMemoryViewObject *)(mv))->flags & _Py_MEMORYVIEW_RESTRICTED) { \
  |  |  ------------------
  |  |  |  |   25|      3|#define _Py_MEMORYVIEW_RESTRICTED  0x020  /* Disallow new references to the memoryview's buffer */
  |  |  ------------------
  |  |  |  Branch (199:9): [True: 0, False: 3]
  |  |  ------------------
  |  |  200|      0|        PyErr_SetString(PyExc_ValueError,                                  \
  |  |  201|      0|            "cannot create new view on restricted memoryview");            \
  |  |  202|      0|        return NULL;                                                       \
  |  |  203|      0|    }
  ------------------
  809|      3|        return mbuf_add_view(mv->mbuf, &mv->view);
  810|      3|    }
  811|  3.94k|    else if (PyObject_CheckBuffer(v)) {
  ------------------
  |  Branch (811:14): [True: 3.94k, False: 0]
  ------------------
  812|  3.94k|        PyObject *ret;
  813|  3.94k|        mbuf = (_PyManagedBufferObject *)_PyManagedBuffer_FromObject(v, flags);
  814|  3.94k|        if (mbuf == NULL)
  ------------------
  |  Branch (814:13): [True: 0, False: 3.94k]
  ------------------
  815|      0|            return NULL;
  816|  3.94k|        ret = mbuf_add_view(mbuf, NULL);
  817|  3.94k|        Py_DECREF(mbuf);
  ------------------
  |  |  430|  3.94k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.94k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.94k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  818|  3.94k|        return ret;
  819|  3.94k|    }
  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|  3.94k|}
memoryobject.c:_PyManagedBuffer_FromObject:
   90|  3.94k|{
   91|  3.94k|    _PyManagedBufferObject *mbuf;
   92|       |
   93|  3.94k|    mbuf = mbuf_alloc();
   94|  3.94k|    if (mbuf == NULL)
  ------------------
  |  Branch (94:9): [True: 0, False: 3.94k]
  ------------------
   95|      0|        return NULL;
   96|       |
   97|  3.94k|    if (PyObject_GetBuffer(base, &mbuf->master, flags) < 0) {
  ------------------
  |  Branch (97:9): [True: 0, False: 3.94k]
  ------------------
   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|  3.94k|    return (PyObject *)mbuf;
  104|  3.94k|}
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|  12.2k|{
  545|  12.2k|    dest->obj = src->obj;
  546|  12.2k|    dest->buf = src->buf;
  547|  12.2k|    dest->len = src->len;
  548|  12.2k|    dest->itemsize = src->itemsize;
  549|  12.2k|    dest->readonly = src->readonly;
  550|  12.2k|    dest->format = src->format ? src->format : "B";
  ------------------
  |  Branch (550:20): [True: 7.88k, False: 4.37k]
  ------------------
  551|  12.2k|    dest->internal = src->internal;
  552|  12.2k|}
memoryobject.c:init_shape_strides:
  557|  12.2k|{
  558|  12.2k|    Py_ssize_t i;
  559|       |
  560|  12.2k|    if (src->ndim == 0) {
  ------------------
  |  Branch (560:9): [True: 0, False: 12.2k]
  ------------------
  561|      0|        dest->shape = NULL;
  562|      0|        dest->strides = NULL;
  563|      0|        return;
  564|      0|    }
  565|  12.2k|    if (src->ndim == 1) {
  ------------------
  |  Branch (565:9): [True: 12.2k, False: 0]
  ------------------
  566|  12.2k|        dest->shape[0] = src->shape ? src->shape[0] : src->len / src->itemsize;
  ------------------
  |  Branch (566:26): [True: 12.2k, False: 0]
  ------------------
  567|  12.2k|        dest->strides[0] = src->strides ? src->strides[0] : src->itemsize;
  ------------------
  |  Branch (567:28): [True: 7.87k, False: 4.37k]
  ------------------
  568|  12.2k|        return;
  569|  12.2k|    }
  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|  12.2k|{
  585|  12.2k|    Py_ssize_t i;
  586|       |
  587|  12.2k|    if (src->suboffsets == NULL) {
  ------------------
  |  Branch (587:9): [True: 12.2k, False: 0]
  ------------------
  588|  12.2k|        dest->suboffsets = NULL;
  589|  12.2k|        return;
  590|  12.2k|    }
  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:
 1814|    384|{
 1815|    384|    unsigned long long llu;
 1816|    384|    unsigned long lu;
 1817|    384|    size_t zu;
 1818|    384|    long long lld;
 1819|    384|    long ld;
 1820|    384|    Py_ssize_t zd;
 1821|    384|    double d[2];
 1822|    384|    unsigned char uc;
 1823|    384|    void *p;
 1824|       |
 1825|    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|    }
  |  |  ------------------
  ------------------
 1826|       |
 1827|    384|#if PY_LITTLE_ENDIAN
 1828|    384|    int endian = 1;
 1829|       |#else
 1830|       |    int endian = 0;
 1831|       |#endif
 1832|       |
 1833|    384|    switch (fmt[0]) {
 1834|       |
 1835|       |    /* signed integers and fast path for 'B' */
 1836|      0|    case 'B': uc = *((const unsigned char *)ptr); goto convert_uc;
  ------------------
  |  Branch (1836:5): [True: 0, False: 384]
  ------------------
 1837|      0|    case 'b': ld =   *((const signed char *)ptr); goto convert_ld;
  ------------------
  |  Branch (1837:5): [True: 0, False: 384]
  ------------------
 1838|      0|    case 'h': UNPACK_SINGLE(ld, ptr, short); goto convert_ld;
  ------------------
  |  | 1803|      0|    do {                                   \
  |  | 1804|      0|        type x;                            \
  |  | 1805|      0|        memcpy((char *)&x, ptr, sizeof x); \
  |  | 1806|      0|        dest = x;                          \
  |  | 1807|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1807:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1838:5): [True: 0, False: 384]
  ------------------
 1839|      0|    case 'i': UNPACK_SINGLE(ld, ptr, int); goto convert_ld;
  ------------------
  |  | 1803|      0|    do {                                   \
  |  | 1804|      0|        type x;                            \
  |  | 1805|      0|        memcpy((char *)&x, ptr, sizeof x); \
  |  | 1806|      0|        dest = x;                          \
  |  | 1807|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1807:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1839:5): [True: 0, False: 384]
  ------------------
 1840|      0|    case 'l': UNPACK_SINGLE(ld, ptr, long); goto convert_ld;
  ------------------
  |  | 1803|      0|    do {                                   \
  |  | 1804|      0|        type x;                            \
  |  | 1805|      0|        memcpy((char *)&x, ptr, sizeof x); \
  |  | 1806|      0|        dest = x;                          \
  |  | 1807|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1807:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1840:5): [True: 0, False: 384]
  ------------------
 1841|       |
 1842|       |    /* boolean */
 1843|      0|    case '?': ld = UNPACK_TO_BOOL(ptr); goto convert_bool;
  ------------------
  |  | 1706|      0|#define UNPACK_TO_BOOL(PTR) (memcmp((PTR), &bool_false, sizeof(_Bool)) != 0)
  ------------------
  |  Branch (1843:5): [True: 0, False: 384]
  ------------------
 1844|       |
 1845|       |    /* unsigned integers */
 1846|      0|    case 'H': UNPACK_SINGLE(lu, ptr, unsigned short); goto convert_lu;
  ------------------
  |  | 1803|      0|    do {                                   \
  |  | 1804|      0|        type x;                            \
  |  | 1805|      0|        memcpy((char *)&x, ptr, sizeof x); \
  |  | 1806|      0|        dest = x;                          \
  |  | 1807|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1807:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1846:5): [True: 0, False: 384]
  ------------------
 1847|    384|    case 'I': UNPACK_SINGLE(lu, ptr, unsigned int); goto convert_lu;
  ------------------
  |  | 1803|    384|    do {                                   \
  |  | 1804|    384|        type x;                            \
  |  | 1805|    384|        memcpy((char *)&x, ptr, sizeof x); \
  |  | 1806|    384|        dest = x;                          \
  |  | 1807|    384|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1807:14): [Folded, False: 384]
  |  |  ------------------
  ------------------
  |  Branch (1847:5): [True: 384, False: 0]
  ------------------
 1848|      0|    case 'L': UNPACK_SINGLE(lu, ptr, unsigned long); goto convert_lu;
  ------------------
  |  | 1803|      0|    do {                                   \
  |  | 1804|      0|        type x;                            \
  |  | 1805|      0|        memcpy((char *)&x, ptr, sizeof x); \
  |  | 1806|      0|        dest = x;                          \
  |  | 1807|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1807:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1848:5): [True: 0, False: 384]
  ------------------
 1849|       |
 1850|       |    /* native 64-bit */
 1851|      0|    case 'q': UNPACK_SINGLE(lld, ptr, long long); goto convert_lld;
  ------------------
  |  | 1803|      0|    do {                                   \
  |  | 1804|      0|        type x;                            \
  |  | 1805|      0|        memcpy((char *)&x, ptr, sizeof x); \
  |  | 1806|      0|        dest = x;                          \
  |  | 1807|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1807:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1851:5): [True: 0, False: 384]
  ------------------
 1852|      0|    case 'Q': UNPACK_SINGLE(llu, ptr, unsigned long long); goto convert_llu;
  ------------------
  |  | 1803|      0|    do {                                   \
  |  | 1804|      0|        type x;                            \
  |  | 1805|      0|        memcpy((char *)&x, ptr, sizeof x); \
  |  | 1806|      0|        dest = x;                          \
  |  | 1807|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1807:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1852:5): [True: 0, False: 384]
  ------------------
 1853|       |
 1854|       |    /* ssize_t and size_t */
 1855|      0|    case 'n': UNPACK_SINGLE(zd, ptr, Py_ssize_t); goto convert_zd;
  ------------------
  |  | 1803|      0|    do {                                   \
  |  | 1804|      0|        type x;                            \
  |  | 1805|      0|        memcpy((char *)&x, ptr, sizeof x); \
  |  | 1806|      0|        dest = x;                          \
  |  | 1807|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1807:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1855:5): [True: 0, False: 384]
  ------------------
 1856|      0|    case 'N': UNPACK_SINGLE(zu, ptr, size_t); goto convert_zu;
  ------------------
  |  | 1803|      0|    do {                                   \
  |  | 1804|      0|        type x;                            \
  |  | 1805|      0|        memcpy((char *)&x, ptr, sizeof x); \
  |  | 1806|      0|        dest = x;                          \
  |  | 1807|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1807:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1856:5): [True: 0, False: 384]
  ------------------
 1857|       |
 1858|       |    /* floats */
 1859|      0|    case 'f': UNPACK_SINGLE(d[0], ptr, float); goto convert_double;
  ------------------
  |  | 1803|      0|    do {                                   \
  |  | 1804|      0|        type x;                            \
  |  | 1805|      0|        memcpy((char *)&x, ptr, sizeof x); \
  |  | 1806|      0|        dest = x;                          \
  |  | 1807|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1807:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1859:5): [True: 0, False: 384]
  ------------------
 1860|      0|    case 'd': UNPACK_SINGLE(d[0], ptr, double); goto convert_double;
  ------------------
  |  | 1803|      0|    do {                                   \
  |  | 1804|      0|        type x;                            \
  |  | 1805|      0|        memcpy((char *)&x, ptr, sizeof x); \
  |  | 1806|      0|        dest = x;                          \
  |  | 1807|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1807:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1860:5): [True: 0, False: 384]
  ------------------
 1861|      0|    case 'e': d[0] = PyFloat_Unpack2(ptr, endian); goto convert_double;
  ------------------
  |  Branch (1861:5): [True: 0, False: 384]
  ------------------
 1862|       |
 1863|       |    /* complexes */
 1864|      0|    case 'Z': {
  ------------------
  |  Branch (1864:5): [True: 0, False: 384]
  ------------------
 1865|      0|        switch (fmt[1]) {
 1866|      0|        case 'f':
  ------------------
  |  Branch (1866:9): [True: 0, False: 0]
  ------------------
 1867|      0|            d[0] = PyFloat_Unpack4(ptr, endian);
 1868|      0|            d[1] = PyFloat_Unpack4(ptr + sizeof(float), endian);
 1869|      0|            goto convert_double_complex;
 1870|       |
 1871|      0|        case 'd':
  ------------------
  |  Branch (1871:9): [True: 0, False: 0]
  ------------------
 1872|      0|            d[0] = PyFloat_Unpack8(ptr, endian);
 1873|      0|            d[1] = PyFloat_Unpack8(ptr + sizeof(double), endian);
 1874|      0|            goto convert_double_complex;
 1875|       |
 1876|      0|        default: goto err_format;
  ------------------
  |  Branch (1876:9): [True: 0, False: 0]
  ------------------
 1877|      0|        }
 1878|      0|        break;
 1879|      0|    }
 1880|       |
 1881|       |    /* bytes object */
 1882|      0|    case 'c': goto convert_bytes;
  ------------------
  |  Branch (1882:5): [True: 0, False: 384]
  ------------------
 1883|       |
 1884|       |    /* pointer */
 1885|      0|    case 'P': UNPACK_SINGLE(p, ptr, void *); goto convert_pointer;
  ------------------
  |  | 1803|      0|    do {                                   \
  |  | 1804|      0|        type x;                            \
  |  | 1805|      0|        memcpy((char *)&x, ptr, sizeof x); \
  |  | 1806|      0|        dest = x;                          \
  |  | 1807|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1807:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1885:5): [True: 0, False: 384]
  ------------------
 1886|       |
 1887|       |    /* default */
 1888|      0|    default: goto err_format;
  ------------------
  |  Branch (1888:5): [True: 0, False: 384]
  ------------------
 1889|    384|    }
 1890|       |
 1891|      0|convert_uc:
 1892|       |    /* PyLong_FromUnsignedLong() is slower */
 1893|      0|    return PyLong_FromLong(uc);
 1894|      0|convert_ld:
 1895|      0|    return PyLong_FromLong(ld);
 1896|    384|convert_lu:
 1897|    384|    return PyLong_FromUnsignedLong(lu);
 1898|      0|convert_lld:
 1899|      0|    return PyLong_FromLongLong(lld);
 1900|      0|convert_llu:
 1901|      0|    return PyLong_FromUnsignedLongLong(llu);
 1902|      0|convert_zd:
 1903|      0|    return PyLong_FromSsize_t(zd);
 1904|      0|convert_zu:
 1905|      0|    return PyLong_FromSize_t(zu);
 1906|      0|convert_double:
 1907|      0|    return PyFloat_FromDouble(d[0]);
 1908|      0|convert_double_complex:
 1909|      0|    return PyComplex_FromDoubles(d[0], d[1]);
 1910|      0|convert_bool:
 1911|      0|    return PyBool_FromLong(ld);
 1912|      0|convert_bytes:
 1913|      0|    return PyBytes_FromStringAndSize(ptr, 1);
 1914|      0|convert_pointer:
 1915|      0|    return PyLong_FromVoidPtr(p);
 1916|      0|err_format:
 1917|      0|    PyErr_Format(PyExc_NotImplementedError,
 1918|      0|        "memoryview: format %s not supported", fmt);
 1919|       |    return NULL;
 1920|    384|}
memoryobject.c:memory_dealloc:
 1152|  12.2k|{
 1153|  12.2k|    PyMemoryViewObject *self = (PyMemoryViewObject *)_self;
 1154|  12.2k|    assert(get_exports(self) == 0);
 1155|  12.2k|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  510|  12.2k|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1156|  12.2k|    _memory_release(self);
 1157|  12.2k|    Py_CLEAR(self->mbuf);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 1158|  12.2k|    if (self->weakreflist != NULL)
  ------------------
  |  Branch (1158:9): [True: 0, False: 12.2k]
  ------------------
 1159|      0|        PyObject_ClearWeakRefs((PyObject *) self);
 1160|  12.2k|    PyObject_GC_Del(self);
 1161|  12.2k|}
memoryobject.c:_memory_release:
 1110|  12.2k|{
 1111|  12.2k|    assert(get_exports(self) == 0);
 1112|  12.2k|    if (self->flags & _Py_MEMORYVIEW_RELEASED)
  ------------------
  |  |   20|  12.2k|#define _Py_MEMORYVIEW_RELEASED    0x001  /* access to master buffer blocked */
  ------------------
  |  Branch (1112:9): [True: 0, False: 12.2k]
  ------------------
 1113|      0|        return;
 1114|       |
 1115|  12.2k|    self->flags |= _Py_MEMORYVIEW_RELEASED;
  ------------------
  |  |   20|  12.2k|#define _Py_MEMORYVIEW_RELEASED    0x001  /* access to master buffer blocked */
  ------------------
 1116|  12.2k|    assert(self->mbuf->exports > 0);
 1117|  12.2k|    if (--self->mbuf->exports == 0) {
  ------------------
  |  Branch (1117:9): [True: 8.31k, False: 3.94k]
  ------------------
 1118|  8.31k|        mbuf_release(self->mbuf);
 1119|  8.31k|    }
 1120|  12.2k|}
memoryobject.c:memory_length:
 2835|      6|{
 2836|      6|    PyMemoryViewObject *self = (PyMemoryViewObject *)_self;
 2837|      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|    }
  ------------------
 2838|      6|    if (self->view.ndim == 0) {
  ------------------
  |  Branch (2838:9): [True: 0, False: 6]
  ------------------
 2839|      0|        PyErr_SetString(PyExc_TypeError, "0-dim memory has no length");
 2840|      0|        return -1;
 2841|      0|    }
 2842|      6|    return self->view.shape[0];
 2843|      6|}
memoryobject.c:adjust_fmt:
 2238|      6|{
 2239|      6|    const char *fmt;
 2240|       |
 2241|      6|    fmt = (view->format[0] == '@') ? view->format+1 : view->format;
  ------------------
  |  Branch (2241:11): [True: 0, False: 6]
  ------------------
 2242|      6|    if (fmt[0] == 'Z' && fmt[1] && fmt[2] == '\0')
  ------------------
  |  Branch (2242:9): [True: 0, False: 6]
  |  Branch (2242:26): [True: 0, False: 0]
  |  Branch (2242:36): [True: 0, False: 0]
  ------------------
 2243|      0|        return fmt;
 2244|      6|    if (fmt[0] && fmt[1] == '\0')
  ------------------
  |  Branch (2244:9): [True: 6, False: 0]
  |  Branch (2244:19): [True: 6, False: 0]
  ------------------
 2245|      6|        return fmt;
 2246|       |
 2247|      0|    PyErr_Format(PyExc_NotImplementedError,
 2248|      0|        "memoryview: unsupported format %s", view->format);
 2249|       |    return NULL;
 2250|      6|}
memoryobject.c:memory_subscript:
 2669|  3.93k|{
 2670|  3.93k|    PyMemoryViewObject *self = (PyMemoryViewObject *)_self;
 2671|  3.93k|    Py_buffer *view;
 2672|  3.93k|    view = &(self->view);
 2673|       |
 2674|  3.93k|    CHECK_RELEASED(self);
  ------------------
  |  |  185|  3.93k|    if (BASE_INACCESSIBLE(mv)) {                                  \
  |  |  ------------------
  |  |  |  |  181|  3.93k|    (((PyMemoryViewObject *)mv)->flags&_Py_MEMORYVIEW_RELEASED || \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|  7.87k|#define _Py_MEMORYVIEW_RELEASED    0x001  /* access to master buffer blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (181:6): [True: 0, False: 3.93k]
  |  |  |  |  ------------------
  |  |  |  |  182|  3.93k|     ((PyMemoryViewObject *)mv)->mbuf->flags&_Py_MANAGED_BUFFER_RELEASED)
  |  |  |  |  ------------------
  |  |  |  |  |  |    8|  3.93k|#define _Py_MANAGED_BUFFER_RELEASED    0x001  /* access to exporter blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (182:6): [True: 0, False: 3.93k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  186|      0|        PyErr_SetString(PyExc_ValueError,                         \
  |  |  187|      0|            "operation forbidden on released memoryview object"); \
  |  |  188|      0|        return NULL;                                              \
  |  |  189|      0|    }
  ------------------
 2675|       |
 2676|  3.93k|    if (view->ndim == 0) {
  ------------------
  |  Branch (2676:9): [True: 0, False: 3.93k]
  ------------------
 2677|      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 (2677:35): [True: 0, False: 0]
  ------------------
 2678|      0|            const char *fmt = adjust_fmt(view);
 2679|      0|            if (fmt == NULL)
  ------------------
  |  Branch (2679:17): [True: 0, False: 0]
  ------------------
 2680|      0|                return NULL;
 2681|      0|            return unpack_single(self, view->buf, fmt);
 2682|      0|        }
 2683|      0|        else if (key == Py_Ellipsis) {
  ------------------
  |  |   14|      0|#  define Py_Ellipsis (&_Py_EllipsisObject)
  ------------------
  |  Branch (2683:18): [True: 0, False: 0]
  ------------------
 2684|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2685|      0|        }
 2686|      0|        else {
 2687|      0|            PyErr_SetString(PyExc_TypeError,
 2688|      0|                "invalid indexing of 0-dim memory");
 2689|      0|            return NULL;
 2690|      0|        }
 2691|      0|    }
 2692|       |
 2693|  3.93k|    if (_PyIndex_Check(key)) {
  ------------------
  |  Branch (2693:9): [True: 0, False: 3.93k]
  ------------------
 2694|      0|        Py_ssize_t index;
 2695|      0|        index = PyNumber_AsSsize_t(key, PyExc_IndexError);
 2696|      0|        if (index == -1 && PyErr_Occurred())
  ------------------
  |  Branch (2696:13): [True: 0, False: 0]
  |  Branch (2696:28): [True: 0, False: 0]
  ------------------
 2697|      0|            return NULL;
 2698|      0|        return memory_item((PyObject *)self, index);
 2699|      0|    }
 2700|  3.93k|    else if (PySlice_Check(key)) {
  ------------------
  |  |   22|  3.93k|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2701|  3.93k|        CHECK_RESTRICTED(self);
  ------------------
  |  |  199|  3.93k|    if (((PyMemoryViewObject *)(mv))->flags & _Py_MEMORYVIEW_RESTRICTED) { \
  |  |  ------------------
  |  |  |  |   25|  3.93k|#define _Py_MEMORYVIEW_RESTRICTED  0x020  /* Disallow new references to the memoryview's buffer */
  |  |  ------------------
  |  |  |  Branch (199:9): [True: 0, False: 3.93k]
  |  |  ------------------
  |  |  200|      0|        PyErr_SetString(PyExc_ValueError,                                  \
  |  |  201|      0|            "cannot create new view on restricted memoryview");            \
  |  |  202|      0|        return NULL;                                                       \
  |  |  203|      0|    }
  ------------------
 2702|  3.93k|        PyMemoryViewObject *sliced;
 2703|       |
 2704|  3.93k|        sliced = (PyMemoryViewObject *)mbuf_add_view(self->mbuf, view);
 2705|  3.93k|        if (sliced == NULL)
  ------------------
  |  Branch (2705:13): [True: 0, False: 3.93k]
  ------------------
 2706|      0|            return NULL;
 2707|       |
 2708|  3.93k|        if (init_slice(&sliced->view, key, 0) < 0) {
  ------------------
  |  Branch (2708:13): [True: 0, False: 3.93k]
  ------------------
 2709|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2710|      0|            return NULL;
 2711|      0|        }
 2712|  3.93k|        init_len(&sliced->view);
 2713|  3.93k|        init_flags(sliced);
 2714|       |
 2715|  3.93k|        return (PyObject *)sliced;
 2716|  3.93k|    }
 2717|      0|    else if (is_multiindex(key)) {
  ------------------
  |  Branch (2717:14): [True: 0, False: 0]
  ------------------
 2718|      0|        return memory_item_multi(self, key);
 2719|      0|    }
 2720|      0|    else if (is_multislice(key)) {
  ------------------
  |  Branch (2720:14): [True: 0, False: 0]
  ------------------
 2721|      0|        PyErr_SetString(PyExc_NotImplementedError,
 2722|      0|            "multi-dimensional slicing is not implemented");
 2723|      0|        return NULL;
 2724|      0|    }
 2725|       |
 2726|      0|    PyErr_SetString(PyExc_TypeError, "memoryview: invalid slice key");
 2727|       |    return NULL;
 2728|  3.93k|}
memoryobject.c:init_slice:
 2598|  3.93k|{
 2599|  3.93k|    Py_ssize_t start, stop, step, slicelength;
 2600|       |
 2601|  3.93k|    if (PySlice_Unpack(key, &start, &stop, &step) < 0) {
  ------------------
  |  Branch (2601:9): [True: 0, False: 3.93k]
  ------------------
 2602|      0|        return -1;
 2603|      0|    }
 2604|  3.93k|    slicelength = PySlice_AdjustIndices(base->shape[dim], &start, &stop, step);
 2605|       |
 2606|       |
 2607|  3.93k|    if (base->suboffsets == NULL || dim == 0) {
  ------------------
  |  Branch (2607:9): [True: 3.93k, False: 0]
  |  Branch (2607:37): [True: 0, False: 0]
  ------------------
 2608|  3.93k|    adjust_buf:
 2609|  3.93k|        base->buf = (char *)base->buf + base->strides[dim] * start;
 2610|  3.93k|    }
 2611|      0|    else {
 2612|      0|        Py_ssize_t n = dim-1;
 2613|      0|        while (n >= 0 && base->suboffsets[n] < 0)
  ------------------
  |  Branch (2613:16): [True: 0, False: 0]
  |  Branch (2613:26): [True: 0, False: 0]
  ------------------
 2614|      0|            n--;
 2615|      0|        if (n < 0)
  ------------------
  |  Branch (2615:13): [True: 0, False: 0]
  ------------------
 2616|      0|            goto adjust_buf; /* all suboffsets are negative */
 2617|      0|        base->suboffsets[n] = base->suboffsets[n] + base->strides[dim] * start;
 2618|      0|    }
 2619|  3.93k|    base->shape[dim] = slicelength;
 2620|  3.93k|    base->strides[dim] = base->strides[dim] * step;
 2621|       |
 2622|  3.93k|    return 0;
 2623|  3.93k|}
memoryobject.c:init_len:
  598|  3.93k|{
  599|  3.93k|    Py_ssize_t i, len;
  600|       |
  601|  3.93k|    len = 1;
  602|  7.87k|    for (i = 0; i < view->ndim; i++)
  ------------------
  |  Branch (602:17): [True: 3.93k, False: 3.93k]
  ------------------
  603|  3.93k|        len *= view->shape[i];
  604|  3.93k|    len *= view->itemsize;
  605|       |
  606|  3.93k|    view->len = len;
  607|  3.93k|}
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|  8.26k|{
 1560|  8.26k|    PyMemoryViewObject *self = (PyMemoryViewObject *)_self;
 1561|  8.26k|    Py_buffer *base = &self->view;
 1562|  8.26k|    int baseflags = self->flags;
 1563|       |
 1564|  8.26k|    CHECK_RELEASED_INT(self);
  ------------------
  |  |  192|  8.26k|    if (BASE_INACCESSIBLE(mv)) {                                  \
  |  |  ------------------
  |  |  |  |  181|  8.26k|    (((PyMemoryViewObject *)mv)->flags&_Py_MEMORYVIEW_RELEASED || \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|  16.5k|#define _Py_MEMORYVIEW_RELEASED    0x001  /* access to master buffer blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (181:6): [True: 0, False: 8.26k]
  |  |  |  |  ------------------
  |  |  |  |  182|  8.26k|     ((PyMemoryViewObject *)mv)->mbuf->flags&_Py_MANAGED_BUFFER_RELEASED)
  |  |  |  |  ------------------
  |  |  |  |  |  |    8|  8.26k|#define _Py_MANAGED_BUFFER_RELEASED    0x001  /* access to exporter blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (182:6): [True: 0, False: 8.26k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  193|      0|        PyErr_SetString(PyExc_ValueError,                         \
  |  |  194|      0|            "operation forbidden on released memoryview object"); \
  |  |  195|      0|        return -1;                                                \
  |  |  196|      0|    }
  ------------------
 1565|  8.26k|    CHECK_RESTRICTED_INT(self);
  ------------------
  |  |  206|  8.26k|    if (((PyMemoryViewObject *)(mv))->flags & _Py_MEMORYVIEW_RESTRICTED) { \
  |  |  ------------------
  |  |  |  |   25|  8.26k|#define _Py_MEMORYVIEW_RESTRICTED  0x020  /* Disallow new references to the memoryview's buffer */
  |  |  ------------------
  |  |  |  Branch (206:9): [True: 0, False: 8.26k]
  |  |  ------------------
  |  |  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|  8.26k|    *view = *base;
 1569|  8.26k|    view->obj = NULL;
 1570|       |
 1571|  8.26k|    if (REQ_WRITABLE(flags) && base->readonly) {
  ------------------
  |  |  250|  16.5k|#define REQ_WRITABLE(flags) (flags&PyBUF_WRITABLE)
  |  |  ------------------
  |  |  |  |  109|  8.26k|#define PyBUF_WRITABLE 0x0001
  |  |  ------------------
  |  |  |  Branch (250:29): [True: 18, False: 8.24k]
  |  |  ------------------
  ------------------
  |  Branch (1571:32): [True: 0, False: 18]
  ------------------
 1572|      0|        PyErr_SetString(PyExc_BufferError,
 1573|      0|            "memoryview: underlying buffer is not writable");
 1574|      0|        return -1;
 1575|      0|    }
 1576|  8.26k|    if (!REQ_FORMAT(flags)) {
  ------------------
  |  |  251|  8.26k|#define REQ_FORMAT(flags) (flags&PyBUF_FORMAT)
  |  |  ------------------
  |  |  |  |  116|  8.26k|#define PyBUF_FORMAT 0x0004
  |  |  ------------------
  ------------------
  |  Branch (1576:9): [True: 8.26k, 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|  8.26k|        view->format = NULL;
 1583|  8.26k|    }
 1584|       |
 1585|  8.26k|    if (REQ_C_CONTIGUOUS(flags) && !MV_C_CONTIGUOUS(baseflags)) {
  ------------------
  |  |  245|  16.5k|#define REQ_C_CONTIGUOUS(flags) ((flags&PyBUF_C_CONTIGUOUS) == PyBUF_C_CONTIGUOUS)
  |  |  ------------------
  |  |  |  |  119|  8.26k|#define PyBUF_C_CONTIGUOUS (0x0020 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|  8.26k|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|  8.26k|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define REQ_C_CONTIGUOUS(flags) ((flags&PyBUF_C_CONTIGUOUS) == PyBUF_C_CONTIGUOUS)
  |  |  ------------------
  |  |  |  |  119|  8.26k|#define PyBUF_C_CONTIGUOUS (0x0020 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|  8.26k|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|  8.26k|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (245:33): [True: 0, False: 8.26k]
  |  |  ------------------
  ------------------
                  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|  8.26k|    if (REQ_F_CONTIGUOUS(flags) && !MV_F_CONTIGUOUS(baseflags)) {
  ------------------
  |  |  246|  16.5k|#define REQ_F_CONTIGUOUS(flags) ((flags&PyBUF_F_CONTIGUOUS) == PyBUF_F_CONTIGUOUS)
  |  |  ------------------
  |  |  |  |  120|  8.26k|#define PyBUF_F_CONTIGUOUS (0x0040 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|  8.26k|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|  8.26k|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define REQ_F_CONTIGUOUS(flags) ((flags&PyBUF_F_CONTIGUOUS) == PyBUF_F_CONTIGUOUS)
  |  |  ------------------
  |  |  |  |  120|  8.26k|#define PyBUF_F_CONTIGUOUS (0x0040 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|  8.26k|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|  8.26k|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (246:33): [True: 0, False: 8.26k]
  |  |  ------------------
  ------------------
                  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|  8.26k|    if (REQ_ANY_CONTIGUOUS(flags) && !MV_ANY_CONTIGUOUS(baseflags)) {
  ------------------
  |  |  247|  16.5k|#define REQ_ANY_CONTIGUOUS(flags) ((flags&PyBUF_ANY_CONTIGUOUS) == PyBUF_ANY_CONTIGUOUS)
  |  |  ------------------
  |  |  |  |  121|  8.26k|#define PyBUF_ANY_CONTIGUOUS (0x0080 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|  8.26k|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|  8.26k|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define REQ_ANY_CONTIGUOUS(flags) ((flags&PyBUF_ANY_CONTIGUOUS) == PyBUF_ANY_CONTIGUOUS)
  |  |  ------------------
  |  |  |  |  121|  8.26k|#define PyBUF_ANY_CONTIGUOUS (0x0080 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|  8.26k|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|  8.26k|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (247:35): [True: 0, False: 8.26k]
  |  |  ------------------
  ------------------
                  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|  8.26k|    if (!REQ_INDIRECT(flags) && (baseflags & _Py_MEMORYVIEW_PIL)) {
  ------------------
  |  |  244|  16.5k|#define REQ_INDIRECT(flags) ((flags&PyBUF_INDIRECT) == PyBUF_INDIRECT)
  |  |  ------------------
  |  |  |  |  122|  8.26k|#define PyBUF_INDIRECT (0x0100 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|  8.26k|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|  8.26k|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define REQ_INDIRECT(flags) ((flags&PyBUF_INDIRECT) == PyBUF_INDIRECT)
  |  |  ------------------
  |  |  |  |  122|  8.26k|#define PyBUF_INDIRECT (0x0100 | PyBUF_STRIDES)
  |  |  |  |  ------------------
  |  |  |  |  |  |  118|  8.26k|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  117|  8.26k|#define PyBUF_ND 0x0008
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (!REQ_INDIRECT(flags) && (baseflags & _Py_MEMORYVIEW_PIL)) {
  ------------------
  |  |   24|  8.26k|#define _Py_MEMORYVIEW_PIL         0x010  /* PIL-style layout */
  ------------------
  |  Branch (1600:9): [True: 8.26k, False: 0]
  |  Branch (1600:33): [True: 0, False: 8.26k]
  ------------------
 1601|      0|        PyErr_SetString(PyExc_BufferError,
 1602|      0|            "memoryview: underlying buffer requires suboffsets");
 1603|      0|        return -1;
 1604|      0|    }
 1605|  8.26k|    if (!REQ_STRIDES(flags)) {
  ------------------
  |  |  248|  8.26k|#define REQ_STRIDES(flags) ((flags&PyBUF_STRIDES) == PyBUF_STRIDES)
  |  |  ------------------
  |  |  |  |  118|  8.26k|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|  8.26k|#define PyBUF_ND 0x0008
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define REQ_STRIDES(flags) ((flags&PyBUF_STRIDES) == PyBUF_STRIDES)
  |  |  ------------------
  |  |  |  |  118|  8.26k|#define PyBUF_STRIDES (0x0010 | PyBUF_ND)
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|  8.26k|#define PyBUF_ND 0x0008
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1605:9): [True: 8.26k, False: 0]
  ------------------
 1606|  8.26k|        if (!MV_C_CONTIGUOUS(baseflags)) {
  ------------------
  |  |  233|  8.26k|#define MV_C_CONTIGUOUS(flags) (flags&(_Py_MEMORYVIEW_SCALAR|_Py_MEMORYVIEW_C))
  |  |  ------------------
  |  |  |  |   23|  8.26k|#define _Py_MEMORYVIEW_SCALAR      0x008  /* scalar: ndim = 0 */
  |  |  ------------------
  |  |               #define MV_C_CONTIGUOUS(flags) (flags&(_Py_MEMORYVIEW_SCALAR|_Py_MEMORYVIEW_C))
  |  |  ------------------
  |  |  |  |   21|  8.26k|#define _Py_MEMORYVIEW_C           0x002  /* C-contiguous layout */
  |  |  ------------------
  ------------------
  |  Branch (1606:13): [True: 0, False: 8.26k]
  ------------------
 1607|      0|            PyErr_SetString(PyExc_BufferError,
 1608|      0|                "memoryview: underlying buffer is not C-contiguous");
 1609|      0|            return -1;
 1610|      0|        }
 1611|  8.26k|        view->strides = NULL;
 1612|  8.26k|    }
 1613|  8.26k|    if (!REQ_SHAPE(flags)) {
  ------------------
  |  |  249|  8.26k|#define REQ_SHAPE(flags) ((flags&PyBUF_ND) == PyBUF_ND)
  |  |  ------------------
  |  |  |  |  117|  8.26k|#define PyBUF_ND 0x0008
  |  |  ------------------
  |  |               #define REQ_SHAPE(flags) ((flags&PyBUF_ND) == PyBUF_ND)
  |  |  ------------------
  |  |  |  |  117|  8.26k|#define PyBUF_ND 0x0008
  |  |  ------------------
  ------------------
  |  Branch (1613:9): [True: 8.26k, False: 0]
  ------------------
 1614|       |        /* PyBUF_SIMPLE or PyBUF_WRITABLE: at this point buf is C-contiguous,
 1615|       |           so base->buf = ndbuf->data. */
 1616|  8.26k|        if (view->format != NULL) {
  ------------------
  |  Branch (1616:13): [True: 0, False: 8.26k]
  ------------------
 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|  8.26k|        view->ndim = 1;
 1627|  8.26k|        view->shape = NULL;
 1628|  8.26k|    }
 1629|       |
 1630|       |
 1631|  8.26k|    view->obj = Py_NewRef(self);
  ------------------
  |  |  550|  8.26k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  8.26k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1632|       |#ifdef Py_GIL_DISABLED
 1633|       |    _Py_atomic_add_ssize(&self->exports, 1);
 1634|       |#else
 1635|  8.26k|    self->exports++;
 1636|  8.26k|#endif
 1637|       |
 1638|  8.26k|    return 0;
 1639|  8.26k|}
memoryobject.c:memory_releasebuf:
 1643|  8.26k|{
 1644|  8.26k|    PyMemoryViewObject *self = (PyMemoryViewObject *)_self;
 1645|       |#ifdef Py_GIL_DISABLED
 1646|       |    _Py_atomic_add_ssize(&self->exports, -1);
 1647|       |#else
 1648|  8.26k|    self->exports--;
 1649|  8.26k|#endif
 1650|  8.26k|    return;
 1651|       |    /* PyBuffer_Release() decrements view->obj after this function returns. */
 1652|  8.26k|}
memoryobject.c:memory_traverse:
 1165|     50|{
 1166|     50|    PyMemoryViewObject *self = (PyMemoryViewObject *)_self;
 1167|     50|    Py_VISIT(self->mbuf);
  ------------------
  |  |  194|     50|    do {                                                                \
  |  |  195|     50|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 50, False: 0]
  |  |  ------------------
  |  |  196|     50|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     50|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     50|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     50|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 50]
  |  |  ------------------
  |  |  198|     50|                return vret;                                            \
  |  |  199|     50|        }                                                               \
  |  |  200|     50|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 50]
  |  |  ------------------
  ------------------
 1168|     50|    return 0;
 1169|     50|}
memoryobject.c:memoryview_tolist_impl:
 2325|      6|{
 2326|      6|    const Py_buffer *view = &self->view;
 2327|      6|    const char *fmt;
 2328|       |
 2329|      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|    }
  ------------------
 2330|       |
 2331|      6|    fmt = adjust_fmt(view);
 2332|      6|    if (fmt == NULL)
  ------------------
  |  Branch (2332:9): [True: 0, False: 6]
  ------------------
 2333|      0|        return NULL;
 2334|      6|    if (view->ndim == 0) {
  ------------------
  |  Branch (2334:9): [True: 0, False: 6]
  ------------------
 2335|      0|        return unpack_single(self, view->buf, fmt);
 2336|      0|    }
 2337|      6|    else if (view->ndim == 1) {
  ------------------
  |  Branch (2337:14): [True: 6, False: 0]
  ------------------
 2338|      6|        return tolist_base(self, view->buf, view->shape,
 2339|      6|                           view->strides, view->suboffsets,
 2340|      6|                           fmt);
 2341|      6|    }
 2342|      0|    else {
 2343|      0|        return tolist_rec(self, view->buf, view->ndim, view->shape,
 2344|      0|                          view->strides, view->suboffsets,
 2345|      0|                          fmt);
 2346|      0|    }
 2347|      6|}
memoryobject.c:tolist_base:
 2257|      6|{
 2258|      6|    PyObject *lst, *item;
 2259|      6|    Py_ssize_t i;
 2260|       |
 2261|      6|    lst = PyList_New(shape[0]);
 2262|      6|    if (lst == NULL)
  ------------------
  |  Branch (2262:9): [True: 0, False: 6]
  ------------------
 2263|      0|        return NULL;
 2264|       |
 2265|    390|    for (i = 0; i < shape[0]; ptr+=strides[0], i++) {
  ------------------
  |  Branch (2265:17): [True: 384, False: 6]
  ------------------
 2266|    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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2267|    384|        item = unpack_single(self, xptr, fmt);
 2268|    384|        if (item == NULL) {
  ------------------
  |  Branch (2268:13): [True: 0, False: 384]
  ------------------
 2269|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2270|      0|            return NULL;
 2271|      0|        }
 2272|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2273|    384|    }
 2274|       |
 2275|      6|    return lst;
 2276|      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:
 3441|      3|{
 3442|      3|    PyMemoryViewObject *self = (PyMemoryViewObject *)_self;
 3443|      3|    CHECK_RELEASED(self);
  ------------------
  |  |  185|      3|    if (BASE_INACCESSIBLE(mv)) {                                  \
  |  |  ------------------
  |  |  |  |  181|      3|    (((PyMemoryViewObject *)mv)->flags&_Py_MEMORYVIEW_RELEASED || \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|      6|#define _Py_MEMORYVIEW_RELEASED    0x001  /* access to master buffer blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (181:6): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  |  182|      3|     ((PyMemoryViewObject *)mv)->mbuf->flags&_Py_MANAGED_BUFFER_RELEASED)
  |  |  |  |  ------------------
  |  |  |  |  |  |    8|      3|#define _Py_MANAGED_BUFFER_RELEASED    0x001  /* access to exporter blocked */
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (182:6): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  186|      0|        PyErr_SetString(PyExc_ValueError,                         \
  |  |  187|      0|            "operation forbidden on released memoryview object"); \
  |  |  188|      0|        return NULL;                                              \
  |  |  189|      0|    }
  ------------------
 3444|      3|    return PyLong_FromSsize_t(self->view.len);
 3445|      3|}
memoryobject.c:memory_itemsize_get:
 3457|     12|{
 3458|     12|    PyMemoryViewObject *self = (PyMemoryViewObject *)_self;
 3459|     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|    }
  ------------------
 3460|     12|    return PyLong_FromSsize_t(self->view.itemsize);
 3461|     12|}
memoryobject.c:memoryview_impl:
 1016|  3.94k|{
 1017|  3.94k|    return PyMemoryView_FromObject(object);
 1018|  3.94k|}

PyCMethod_New:
   48|  9.59M|{
   49|       |    /* Figure out correct vectorcall function to use */
   50|  9.59M|    vectorcallfunc vectorcall;
   51|  9.59M|    switch (ml->ml_flags & (METH_VARARGS | METH_FASTCALL | METH_NOARGS |
  ------------------
  |  |   95|  9.59M|#define METH_VARARGS  0x0001
  ------------------
                  switch (ml->ml_flags & (METH_VARARGS | METH_FASTCALL | METH_NOARGS |
  ------------------
  |  |  115|  9.59M|#  define METH_FASTCALL  0x0080
  ------------------
                  switch (ml->ml_flags & (METH_VARARGS | METH_FASTCALL | METH_NOARGS |
  ------------------
  |  |   98|  9.59M|#define METH_NOARGS   0x0004
  ------------------
   52|  9.59M|                            METH_O | METH_KEYWORDS | METH_METHOD))
  ------------------
  |  |   99|  9.59M|#define METH_O        0x0008
  ------------------
                                          METH_O | METH_KEYWORDS | METH_METHOD))
  ------------------
  |  |   96|  9.59M|#define METH_KEYWORDS 0x0002
  ------------------
                                          METH_O | METH_KEYWORDS | METH_METHOD))
  ------------------
  |  |  133|  9.59M|#define METH_METHOD 0x0200
  ------------------
   53|  9.59M|    {
   54|    852|        case METH_VARARGS:
  ------------------
  |  |   95|    852|#define METH_VARARGS  0x0001
  ------------------
  |  Branch (54:9): [True: 852, False: 9.58M]
  ------------------
   55|  1.29k|        case METH_VARARGS | METH_KEYWORDS:
  ------------------
  |  |   95|  1.29k|#define METH_VARARGS  0x0001
  ------------------
                      case METH_VARARGS | METH_KEYWORDS:
  ------------------
  |  |   96|  1.29k|#define METH_KEYWORDS 0x0002
  ------------------
  |  Branch (55:9): [True: 446, False: 9.58M]
  ------------------
   56|       |            /* For METH_VARARGS functions, it's more efficient to use tp_call
   57|       |             * instead of vectorcall. */
   58|  1.29k|            vectorcall = NULL;
   59|  1.29k|            break;
   60|    820|        case METH_FASTCALL:
  ------------------
  |  |  115|    820|#  define METH_FASTCALL  0x0080
  ------------------
  |  Branch (60:9): [True: 820, False: 9.58M]
  ------------------
   61|    820|            vectorcall = cfunction_vectorcall_FASTCALL;
   62|    820|            break;
   63|  9.55M|        case METH_FASTCALL | METH_KEYWORDS:
  ------------------
  |  |  115|  9.55M|#  define METH_FASTCALL  0x0080
  ------------------
                      case METH_FASTCALL | METH_KEYWORDS:
  ------------------
  |  |   96|  9.55M|#define METH_KEYWORDS 0x0002
  ------------------
  |  Branch (63:9): [True: 9.55M, False: 33.9k]
  ------------------
   64|  9.55M|            vectorcall = cfunction_vectorcall_FASTCALL_KEYWORDS;
   65|  9.55M|            break;
   66|  7.48k|        case METH_NOARGS:
  ------------------
  |  |   98|  7.48k|#define METH_NOARGS   0x0004
  ------------------
  |  Branch (66:9): [True: 7.48k, False: 9.58M]
  ------------------
   67|  7.48k|            vectorcall = cfunction_vectorcall_NOARGS;
   68|  7.48k|            break;
   69|  20.3k|        case METH_O:
  ------------------
  |  |   99|  20.3k|#define METH_O        0x0008
  ------------------
  |  Branch (69:9): [True: 20.3k, False: 9.56M]
  ------------------
   70|  20.3k|            vectorcall = cfunction_vectorcall_O;
   71|  20.3k|            break;
   72|  4.02k|        case METH_METHOD | METH_FASTCALL | METH_KEYWORDS:
  ------------------
  |  |  133|  4.02k|#define METH_METHOD 0x0200
  ------------------
                      case METH_METHOD | METH_FASTCALL | METH_KEYWORDS:
  ------------------
  |  |  115|  4.02k|#  define METH_FASTCALL  0x0080
  ------------------
                      case METH_METHOD | METH_FASTCALL | METH_KEYWORDS:
  ------------------
  |  |   96|  4.02k|#define METH_KEYWORDS 0x0002
  ------------------
  |  Branch (72:9): [True: 4.02k, False: 9.58M]
  ------------------
   73|  4.02k|            vectorcall = cfunction_vectorcall_FASTCALL_KEYWORDS_METHOD;
   74|  4.02k|            break;
   75|      0|        default:
  ------------------
  |  Branch (75:9): [True: 0, False: 9.59M]
  ------------------
   76|      0|            PyErr_Format(PyExc_SystemError,
   77|      0|                         "%s() method: bad call flags", ml->ml_name);
   78|      0|            return NULL;
   79|  9.59M|    }
   80|       |
   81|  9.59M|    PyCFunctionObject *op = NULL;
   82|       |
   83|  9.59M|    if (ml->ml_flags & METH_METHOD) {
  ------------------
  |  |  133|  9.59M|#define METH_METHOD 0x0200
  ------------------
  |  Branch (83:9): [True: 4.02k, False: 9.58M]
  ------------------
   84|  4.02k|        if (!cls) {
  ------------------
  |  Branch (84:13): [True: 0, False: 4.02k]
  ------------------
   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|  4.02k|        PyCMethodObject *om = _Py_FREELIST_POP(PyCMethodObject, pycmethodobject);
  ------------------
  |  |   43|  4.02k|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  4.02k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   91|  4.02k|        if (om == NULL) {
  ------------------
  |  Branch (91:13): [True: 34, False: 3.98k]
  ------------------
   92|     34|            om = PyObject_GC_New(PyCMethodObject, &PyCMethod_Type);
  ------------------
  |  |  181|     34|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|     34|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   93|     34|            if (om == NULL) {
  ------------------
  |  Branch (93:17): [True: 0, False: 34]
  ------------------
   94|      0|                return NULL;
   95|      0|            }
   96|     34|        }
   97|  4.02k|        om->mm_class = (PyTypeObject*)Py_NewRef(cls);
  ------------------
  |  |  550|  4.02k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  4.02k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.02k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   98|  4.02k|        op = (PyCFunctionObject *)om;
   99|  9.58M|    } else {
  100|  9.58M|        if (cls) {
  ------------------
  |  Branch (100:13): [True: 0, False: 9.58M]
  ------------------
  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.58M|        op = _Py_FREELIST_POP(PyCFunctionObject, pycfunctionobject);
  ------------------
  |  |   43|  9.58M|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  9.58M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  107|  9.58M|        if (op == NULL) {
  ------------------
  |  Branch (107:13): [True: 2.37k, False: 9.58M]
  ------------------
  108|  2.37k|            op = PyObject_GC_New(PyCFunctionObject, &PyCFunction_Type);
  ------------------
  |  |  181|  2.37k|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|  2.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  109|  2.37k|            if (op == NULL) {
  ------------------
  |  Branch (109:17): [True: 0, False: 2.37k]
  ------------------
  110|      0|                return NULL;
  111|      0|            }
  112|  2.37k|        }
  113|  9.58M|    }
  114|       |
  115|  9.59M|    op->m_weakreflist = NULL;
  116|  9.59M|    op->m_ml = ml;
  117|  9.59M|    op->m_self = Py_XNewRef(self);
  ------------------
  |  |  551|  9.59M|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  9.59M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.59M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  118|  9.59M|    op->m_module = Py_XNewRef(module);
  ------------------
  |  |  551|  9.59M|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  9.59M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.59M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  119|  9.59M|    op->vectorcall = vectorcall;
  120|  9.59M|    _PyObject_GC_TRACK(op);
  ------------------
  |  |  508|  9.59M|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.59M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.59M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  121|  9.59M|    return (PyObject *)op;
  122|  9.59M|}
PyCFunction_GetFunction:
  126|      3|{
  127|      3|    if (!PyCFunction_Check(op)) {
  ------------------
  |  |   17|      3|#define PyCFunction_Check(op) PyObject_TypeCheck((op), &PyCFunction_Type)
  |  |  ------------------
  |  |  |  |  378|      3|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (127:9): [True: 0, False: 3]
  ------------------
  128|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  129|      0|        return NULL;
  130|      0|    }
  131|      3|    return PyCFunction_GET_FUNCTION(op);
  ------------------
  |  |   43|      3|#define PyCFunction_GET_FUNCTION(func) PyCFunction_GET_FUNCTION(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  132|      3|}
methodobject.c:meth_dealloc:
  168|  9.58M|{
  169|  9.58M|    PyCFunctionObject *m = _PyCFunctionObject_CAST(self);
  ------------------
  |  |   17|  9.58M|    (assert(PyCFunction_Check(func)), \
  |  |   18|  9.58M|     _Py_CAST(PyCFunctionObject*, (func)))
  |  |  ------------------
  |  |  |  |   37|  9.58M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  170|  9.58M|    PyObject_GC_UnTrack(m);
  171|  9.58M|    FT_CLEAR_WEAKREFS(self, m->m_weakreflist);
  ------------------
  |  |   47|  9.58M|    do {                                            \
  |  |   48|  9.58M|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|  9.58M|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 9.58M]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|  9.58M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 9.58M]
  |  |  ------------------
  ------------------
  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.58M|    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.58M|    Py_XDECREF(PyCFunction_GET_CLASS(m));
  ------------------
  |  |  524|  9.58M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.58M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.58M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  179|  9.58M|    Py_XDECREF(m->m_self);
  ------------------
  |  |  524|  9.58M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.58M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.58M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  180|  9.58M|    Py_XDECREF(m->m_module);
  ------------------
  |  |  524|  9.58M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.58M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.58M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  181|  9.58M|    if (ml_flags & METH_METHOD) {
  ------------------
  |  |  133|  9.58M|#define METH_METHOD 0x0200
  ------------------
  |  Branch (181:9): [True: 3.99k, False: 9.58M]
  ------------------
  182|  3.99k|        assert(Py_IS_TYPE(self, &PyCMethod_Type));
  183|  3.99k|        _Py_FREELIST_FREE(pycmethodobject, m, PyObject_GC_Del);
  ------------------
  |  |   35|  3.99k|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  3.99k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.99k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  3.99k|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   32|  3.99k|#  define Py_pycmethodobject_MAXFREELIST 16
  |  |  ------------------
  ------------------
  184|  3.99k|    }
  185|  9.58M|    else {
  186|  9.58M|        assert(Py_IS_TYPE(self, &PyCFunction_Type));
  187|  9.58M|        _Py_FREELIST_FREE(pycfunctionobject, m, PyObject_GC_Del);
  ------------------
  |  |   35|  9.58M|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  9.58M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.58M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  9.58M|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   31|  9.58M|#  define Py_pycfunctionobject_MAXFREELIST 16
  |  |  ------------------
  ------------------
  188|  9.58M|    }
  189|  9.58M|}
methodobject.c:meth_hash:
  344|    508|{
  345|    508|    PyCFunctionObject *a = _PyCFunctionObject_CAST(self);
  ------------------
  |  |   17|    508|    (assert(PyCFunction_Check(func)), \
  |  |   18|    508|     _Py_CAST(PyCFunctionObject*, (func)))
  |  |  ------------------
  |  |  |  |   37|    508|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  346|    508|    Py_hash_t x = PyObject_GenericHash(a->m_self);
  347|    508|    Py_hash_t y = Py_HashPointer((void*)(a->m_ml->ml_meth));
  348|    508|    x ^= y;
  349|    508|    if (x == -1) {
  ------------------
  |  Branch (349:9): [True: 0, False: 508]
  ------------------
  350|      0|        x = -2;
  351|      0|    }
  352|    508|    return x;
  353|    508|}
methodobject.c:meth_traverse:
  267|  19.0k|{
  268|  19.0k|    PyCFunctionObject *m = _PyCFunctionObject_CAST(self);
  ------------------
  |  |   17|  19.0k|    (assert(PyCFunction_Check(func)), \
  |  |   18|  19.0k|     _Py_CAST(PyCFunctionObject*, (func)))
  |  |  ------------------
  |  |  |  |   37|  19.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  269|  19.0k|    Py_VISIT(PyCFunction_GET_CLASS(m));
  ------------------
  |  |  194|  19.0k|    do {                                                                \
  |  |  195|  19.0k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 224, False: 18.8k]
  |  |  ------------------
  |  |  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|  19.0k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 19.0k]
  |  |  ------------------
  ------------------
  270|  19.0k|    Py_VISIT(m->m_self);
  ------------------
  |  |  194|  19.0k|    do {                                                                \
  |  |  195|  19.0k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 18.9k, False: 176]
  |  |  ------------------
  |  |  196|  18.9k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  18.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  18.9k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 18.9k]
  |  |  ------------------
  |  |  198|  18.9k|                return vret;                                            \
  |  |  199|  18.9k|        }                                                               \
  |  |  200|  19.0k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 19.0k]
  |  |  ------------------
  ------------------
  271|  19.0k|    Py_VISIT(m->m_module);
  ------------------
  |  |  194|  19.0k|    do {                                                                \
  |  |  195|  19.0k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 12.8k, False: 6.27k]
  |  |  ------------------
  |  |  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|  19.0k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 19.0k]
  |  |  ------------------
  ------------------
  272|  19.0k|    return 0;
  273|  19.0k|}
methodobject.c:meth_richcompare:
  319|  27.2k|{
  320|  27.2k|    PyCFunctionObject *a, *b;
  321|  27.2k|    PyObject *res;
  322|  27.2k|    int eq;
  323|       |
  324|  27.2k|    if ((op != Py_EQ && op != Py_NE) ||
  ------------------
  |  |  654|  54.4k|#define Py_EQ 2
  ------------------
                  if ((op != Py_EQ && op != Py_NE) ||
  ------------------
  |  |  655|      0|#define Py_NE 3
  ------------------
  |  Branch (324:10): [True: 0, False: 27.2k]
  |  Branch (324:25): [True: 0, False: 0]
  ------------------
  325|  27.2k|        !PyCFunction_Check(self) ||
  ------------------
  |  |   17|  27.2k|#define PyCFunction_Check(op) PyObject_TypeCheck((op), &PyCFunction_Type)
  |  |  ------------------
  |  |  |  |  378|  54.4k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  27.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  27.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (325:9): [True: 0, False: 27.2k]
  ------------------
  326|  27.2k|        !PyCFunction_Check(other))
  ------------------
  |  |   17|  27.2k|#define PyCFunction_Check(op) PyObject_TypeCheck((op), &PyCFunction_Type)
  |  |  ------------------
  |  |  |  |  378|  27.2k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  27.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  27.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (326:9): [True: 27.2k, False: 18]
  ------------------
  327|  27.2k|    {
  328|  27.2k|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|  27.2k|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|  27.2k|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
  329|  27.2k|    }
  330|     18|    a = (PyCFunctionObject *)self;
  331|     18|    b = (PyCFunctionObject *)other;
  332|     18|    eq = a->m_self == b->m_self;
  333|     18|    if (eq)
  ------------------
  |  Branch (333:9): [True: 0, False: 18]
  ------------------
  334|      0|        eq = a->m_ml->ml_meth == b->m_ml->ml_meth;
  335|     18|    if (op == Py_EQ)
  ------------------
  |  |  654|     18|#define Py_EQ 2
  ------------------
  |  Branch (335:9): [True: 18, False: 0]
  ------------------
  336|     18|        res = eq ? Py_True : Py_False;
  ------------------
  |  |   26|     18|#  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|     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 (336:15): [True: 0, False: 18]
  ------------------
  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|     18|    return Py_NewRef(res);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  340|  27.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__));
  ------------------
  |  |  915|      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|      5|{
  278|      5|    PyCFunctionObject *m = _PyCFunctionObject_CAST(meth);
  ------------------
  |  |   17|      5|    (assert(PyCFunction_Check(func)), \
  |  |   18|      5|     _Py_CAST(PyCFunctionObject*, (func)))
  |  |  ------------------
  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  279|      5|    PyObject *self = PyCFunction_GET_SELF(m);
  ------------------
  |  |   52|      5|#define PyCFunction_GET_SELF(func) PyCFunction_GET_SELF(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  280|      5|    if (self == NULL) {
  ------------------
  |  Branch (280:9): [True: 0, False: 5]
  ------------------
  281|      0|        self = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  282|      0|    }
  283|      5|    return Py_NewRef(self);
  ------------------
  |  |  550|      5|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  284|      5|}
methodobject.c:cfunction_vectorcall_FASTCALL:
  438|  1.63k|{
  439|  1.63k|    PyThreadState *tstate = _PyThreadState_GET();
  440|  1.63k|    if (cfunction_check_kwargs(tstate, func, kwnames)) {
  ------------------
  |  Branch (440:9): [True: 0, False: 1.63k]
  ------------------
  441|      0|        return NULL;
  442|      0|    }
  443|  1.63k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  1.63k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  444|  1.63k|    PyCFunctionFast meth = (PyCFunctionFast)
  445|  1.63k|                            cfunction_enter_call(tstate, func);
  446|  1.63k|    if (meth == NULL) {
  ------------------
  |  Branch (446:9): [True: 0, False: 1.63k]
  ------------------
  447|      0|        return NULL;
  448|      0|    }
  449|  1.63k|    PyObject *result = meth(PyCFunction_GET_SELF(func), args, nargs);
  ------------------
  |  |   52|  1.63k|#define PyCFunction_GET_SELF(func) PyCFunction_GET_SELF(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|  1.63k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  450|  1.63k|    _Py_LeaveRecursiveCallTstate(tstate);
  451|  1.63k|    return result;
  452|  1.63k|}
methodobject.c:cfunction_check_kwargs:
  408|   421k|{
  409|   421k|    assert(!_PyErr_Occurred(tstate));
  410|   421k|    assert(PyCFunction_Check(func));
  411|   421k|    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: 421k]
  ------------------
  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|   421k|    return 0;
  421|   421k|}
methodobject.c:cfunction_enter_call:
  427|  10.0M|{
  428|  10.0M|    if (_Py_EnterRecursiveCallTstate(tstate, " while calling a Python object")) {
  ------------------
  |  Branch (428:9): [True: 0, False: 10.0M]
  ------------------
  429|      0|        return NULL;
  430|      0|    }
  431|  10.0M|    return (funcptr)PyCFunction_GET_FUNCTION(func);
  ------------------
  |  |   43|  10.0M|#define PyCFunction_GET_FUNCTION(func) PyCFunction_GET_FUNCTION(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|  10.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  432|  10.0M|}
methodobject.c:cfunction_vectorcall_FASTCALL_KEYWORDS:
  457|  9.65M|{
  458|  9.65M|    PyThreadState *tstate = _PyThreadState_GET();
  459|  9.65M|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  9.65M|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  460|  9.65M|    PyCFunctionFastWithKeywords meth = (PyCFunctionFastWithKeywords)
  461|  9.65M|                                        cfunction_enter_call(tstate, func);
  462|  9.65M|    if (meth == NULL) {
  ------------------
  |  Branch (462:9): [True: 0, False: 9.65M]
  ------------------
  463|      0|        return NULL;
  464|      0|    }
  465|  9.65M|    PyObject *result = meth(PyCFunction_GET_SELF(func), args, nargs, kwnames);
  ------------------
  |  |   52|  9.65M|#define PyCFunction_GET_SELF(func) PyCFunction_GET_SELF(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|  9.65M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.65M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  466|  9.65M|    _Py_LeaveRecursiveCallTstate(tstate);
  467|  9.65M|    return result;
  468|  9.65M|}
methodobject.c:cfunction_vectorcall_FASTCALL_KEYWORDS_METHOD:
  473|  3.99k|{
  474|  3.99k|    PyThreadState *tstate = _PyThreadState_GET();
  475|  3.99k|    PyTypeObject *cls = PyCFunction_GET_CLASS(func);
  ------------------
  |  |   66|  3.99k|#define PyCFunction_GET_CLASS(func) PyCFunction_GET_CLASS(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|  3.99k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.99k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  476|  3.99k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  3.99k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  477|  3.99k|    PyCMethod meth = (PyCMethod)cfunction_enter_call(tstate, func);
  478|  3.99k|    if (meth == NULL) {
  ------------------
  |  Branch (478:9): [True: 0, False: 3.99k]
  ------------------
  479|      0|        return NULL;
  480|      0|    }
  481|  3.99k|    PyObject *result = meth(PyCFunction_GET_SELF(func), cls, args, nargs, kwnames);
  ------------------
  |  |   52|  3.99k|#define PyCFunction_GET_SELF(func) PyCFunction_GET_SELF(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|  3.99k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.99k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  482|  3.99k|    _Py_LeaveRecursiveCallTstate(tstate);
  483|  3.99k|    return result;
  484|  3.99k|}
methodobject.c:cfunction_vectorcall_NOARGS:
  489|   379k|{
  490|   379k|    PyThreadState *tstate = _PyThreadState_GET();
  491|   379k|    if (cfunction_check_kwargs(tstate, func, kwnames)) {
  ------------------
  |  Branch (491:9): [True: 0, False: 379k]
  ------------------
  492|      0|        return NULL;
  493|      0|    }
  494|   379k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|   379k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  495|   379k|    if (nargs != 0) {
  ------------------
  |  Branch (495:9): [True: 0, False: 379k]
  ------------------
  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|   379k|    PyCFunction meth = (PyCFunction)cfunction_enter_call(tstate, func);
  505|   379k|    if (meth == NULL) {
  ------------------
  |  Branch (505:9): [True: 0, False: 379k]
  ------------------
  506|      0|        return NULL;
  507|      0|    }
  508|   379k|    PyObject *result = _PyCFunction_TrampolineCall(
  ------------------
  |  |  997|   379k|    (meth)((self), (args))
  ------------------
  509|   379k|        meth, PyCFunction_GET_SELF(func), NULL);
  510|   379k|    _Py_LeaveRecursiveCallTstate(tstate);
  511|   379k|    return result;
  512|   379k|}
methodobject.c:cfunction_vectorcall_O:
  517|  40.3k|{
  518|  40.3k|    PyThreadState *tstate = _PyThreadState_GET();
  519|  40.3k|    if (cfunction_check_kwargs(tstate, func, kwnames)) {
  ------------------
  |  Branch (519:9): [True: 0, False: 40.3k]
  ------------------
  520|      0|        return NULL;
  521|      0|    }
  522|  40.3k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  40.3k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  523|  40.3k|    if (nargs != 1) {
  ------------------
  |  Branch (523:9): [True: 0, False: 40.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|  40.3k|    PyCFunction meth = (PyCFunction)cfunction_enter_call(tstate, func);
  533|  40.3k|    if (meth == NULL) {
  ------------------
  |  Branch (533:9): [True: 0, False: 40.3k]
  ------------------
  534|      0|        return NULL;
  535|      0|    }
  536|  40.3k|    PyObject *result = _PyCFunction_TrampolineCall(
  ------------------
  |  |  997|  40.3k|    (meth)((self), (args))
  ------------------
  537|  40.3k|        meth, PyCFunction_GET_SELF(func), args[0]);
  538|  40.3k|    _Py_LeaveRecursiveCallTstate(tstate);
  539|  40.3k|    return result;
  540|  40.3k|}
methodobject.c:cfunction_call:
  545|  1.39k|{
  546|  1.39k|    assert(kwargs == NULL || PyDict_Check(kwargs));
  547|       |
  548|  1.39k|    PyThreadState *tstate = _PyThreadState_GET();
  549|  1.39k|    assert(!_PyErr_Occurred(tstate));
  550|       |
  551|  1.39k|    int flags = PyCFunction_GET_FLAGS(func);
  ------------------
  |  |   57|  1.39k|#define PyCFunction_GET_FLAGS(func) PyCFunction_GET_FLAGS(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|  1.39k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  552|  1.39k|    if (!(flags & METH_VARARGS)) {
  ------------------
  |  |   95|  1.39k|#define METH_VARARGS  0x0001
  ------------------
  |  Branch (552:9): [True: 0, False: 1.39k]
  ------------------
  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.39k|    PyCFunction meth = PyCFunction_GET_FUNCTION(func);
  ------------------
  |  |   43|  1.39k|#define PyCFunction_GET_FUNCTION(func) PyCFunction_GET_FUNCTION(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|  1.39k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  560|  1.39k|    PyObject *self = PyCFunction_GET_SELF(func);
  ------------------
  |  |   52|  1.39k|#define PyCFunction_GET_SELF(func) PyCFunction_GET_SELF(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|  1.39k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  561|       |
  562|  1.39k|    PyObject *result;
  563|  1.39k|    if (flags & METH_KEYWORDS) {
  ------------------
  |  |   96|  1.39k|#define METH_KEYWORDS 0x0002
  ------------------
  |  Branch (563:9): [True: 438, False: 954]
  ------------------
  564|    438|        result = _PyCFunctionWithKeywords_TrampolineCall(
  ------------------
  |  |  999|    438|    (meth)((self), (args), (kw))
  ------------------
  565|    438|            *_PyCFunctionWithKeywords_CAST(meth),
  566|    438|            self, args, kwargs);
  567|    438|    }
  568|    954|    else {
  569|    954|        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: 954]
  |  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|    954|        result = _PyCFunction_TrampolineCall(meth, self, args);
  ------------------
  |  |  997|    954|    (meth)((self), (args))
  ------------------
  576|    954|    }
  577|  1.39k|    return _Py_CheckFunctionResult(tstate, func, result, NULL);
  578|  1.39k|}

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) {
  ------------------
  |  |  915|    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.73k|{
  832|  2.73k|    if (!PyModule_Check(m)) {
  ------------------
  |  |   12|  2.73k|#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  378|  2.73k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.73k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.73k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (832:9): [True: 0, False: 2.73k]
  ------------------
  833|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  834|      0|        return NULL;
  835|      0|    }
  836|  2.73k|    return _PyModule_GetDict(m);  // borrowed reference
  837|  2.73k|}
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) {
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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|  24.7k|{
 1030|  24.7k|    if (!PyModule_Check(m)) {
  ------------------
  |  |   12|  24.7k|#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  378|  24.7k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  24.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  24.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1030:9): [True: 0, False: 24.7k]
  ------------------
 1031|      0|        PyErr_BadArgument();
 1032|      0|        return NULL;
 1033|      0|    }
 1034|  24.7k|    return _PyModule_GetState(m);
 1035|  24.7k|}
_PyModuleSpec_IsInitializing:
 1175|   490k|{
 1176|   490k|    if (spec == NULL) {
  ------------------
  |  Branch (1176:9): [True: 0, False: 490k]
  ------------------
 1177|      0|        return 0;
 1178|      0|    }
 1179|   490k|    PyObject *value;
 1180|   490k|    int rc = PyObject_GetOptionalAttr(spec, &_Py_ID(_initializing), &value);
  ------------------
  |  |  915|   490k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|   490k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   490k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1181|   490k|    if (rc > 0) {
  ------------------
  |  Branch (1181:9): [True: 490k, False: 326]
  ------------------
 1182|   490k|        rc = PyObject_IsTrue(value);
 1183|   490k|        Py_DECREF(value);
  ------------------
  |  |  430|   490k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   490k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   490k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1184|   490k|    }
 1185|   490k|    return rc;
 1186|   490k|}
_PyModuleSpec_IsUninitializedSubmodule:
 1193|     42|{
 1194|     42|    if (spec == NULL) {
  ------------------
  |  Branch (1194:9): [True: 0, False: 42]
  ------------------
 1195|      0|         return 0;
 1196|      0|    }
 1197|       |
 1198|     42|    PyObject *value;
 1199|     42|    int rc = PyObject_GetOptionalAttr(spec, &_Py_ID(_uninitialized_submodules), &value);
  ------------------
  |  |  915|     42|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     42|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     42|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1200|     42|    if (rc > 0) {
  ------------------
  |  Branch (1200:9): [True: 26, False: 16]
  ------------------
 1201|     26|        rc = PySequence_Contains(value, name);
 1202|     26|        Py_DECREF(value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1203|     26|    }
 1204|     42|    return rc;
 1205|     42|}
_PyModuleSpec_GetFileOrigin:
 1209|     44|{
 1210|     44|    PyObject *has_location = NULL;
 1211|     44|    int rc = PyObject_GetOptionalAttr(spec, &_Py_ID(has_location), &has_location);
  ------------------
  |  |  915|     44|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     44|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     44|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1212|     44|    if (rc <= 0) {
  ------------------
  |  Branch (1212:9): [True: 16, False: 28]
  ------------------
 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|     28|    rc = PyObject_IsTrue(has_location);
 1219|     28|    Py_DECREF(has_location);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1220|     28|    if (rc <= 0) {
  ------------------
  |  Branch (1220:9): [True: 26, False: 2]
  ------------------
 1221|     26|        return rc;
 1222|     26|    }
 1223|       |    // has_location is true, so origin is a location
 1224|      2|    PyObject *origin = NULL;
 1225|      2|    rc = PyObject_GetOptionalAttr(spec, &_Py_ID(origin), &origin);
  ------------------
  |  |  915|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1226|      2|    if (rc <= 0) {
  ------------------
  |  Branch (1226:9): [True: 0, False: 2]
  ------------------
 1227|      0|        return rc;
 1228|      0|    }
 1229|      2|    assert(origin != NULL);
 1230|      2|    if (!PyUnicode_Check(origin)) {
  ------------------
  |  |  103|      2|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      2|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1230:9): [True: 0, False: 2]
  ------------------
 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|      2|    *p_origin = origin;
 1235|      2|    return 1;
 1236|      2|}
_PyModule_IsPossiblyShadowing:
 1240|     44|{
 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|     44|    if (origin == NULL) {
  ------------------
  |  Branch (1248:9): [True: 42, False: 2]
  ------------------
 1249|     42|        return 0;
 1250|     42|    }
 1251|       |
 1252|       |    // not sys.flags.safe_path
 1253|      2|    const PyConfig *config = _Py_GetConfig();
 1254|      2|    if (config->safe_path) {
  ------------------
  |  Branch (1254:9): [True: 0, False: 2]
  ------------------
 1255|      0|        return 0;
 1256|      0|    }
 1257|       |
 1258|       |    // root = os.path.dirname(origin.removesuffix(os.sep + "__init__.py"))
 1259|      2|    wchar_t root[MAXPATHLEN + 1];
 1260|      2|    Py_ssize_t size = PyUnicode_AsWideChar(origin, root, MAXPATHLEN);
  ------------------
  |  |   43|      2|#    define MAXPATHLEN PATH_MAX
  ------------------
 1261|      2|    if (size < 0) {
  ------------------
  |  Branch (1261:9): [True: 0, False: 2]
  ------------------
 1262|      0|        return -1;
 1263|      0|    }
 1264|      2|    assert(size <= MAXPATHLEN);
 1265|      2|    root[size] = L'\0';
 1266|       |
 1267|      2|    wchar_t *sep = wcsrchr(root, SEP);
  ------------------
  |  |   29|      2|#  define SEP L'/'
  ------------------
 1268|      2|    if (sep == NULL) {
  ------------------
  |  Branch (1268:9): [True: 0, False: 2]
  ------------------
 1269|      0|        return 0;
 1270|      0|    }
 1271|       |    // If it's a package then we need to look one directory further up
 1272|      2|    if (wcscmp(sep + 1, L"__init__.py") == 0) {
  ------------------
  |  Branch (1272:9): [True: 0, False: 2]
  ------------------
 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|      2|    *sep = L'\0';
 1280|       |
 1281|       |    // sys.path[0] or os.getcwd()
 1282|      2|    wchar_t *sys_path_0 = config->sys_path_0;
 1283|      2|    if (!sys_path_0) {
  ------------------
  |  Branch (1283:9): [True: 2, False: 0]
  ------------------
 1284|      2|        return 0;
 1285|      2|    }
 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:
 1304|  1.50M|{
 1305|       |    // When suppress=1, this function suppresses AttributeError.
 1306|  1.50M|    PyObject *attr, *mod_name, *getattr;
 1307|  1.50M|    attr = _PyObject_GenericGetAttrWithDict((PyObject *)m, name, NULL, suppress);
 1308|  1.50M|    if (attr) {
  ------------------
  |  Branch (1308:9): [True: 1.05M, False: 451k]
  ------------------
 1309|  1.05M|        if (PyLazyImport_CheckExact(attr)) {
  ------------------
  |  |   15|  1.05M|#define PyLazyImport_CheckExact(op) Py_IS_TYPE((op), &PyLazyImport_Type)
  |  |  ------------------
  |  |  |  |  215|  1.05M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.05M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.05M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 1.05M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1310|      0|            PyObject *new_value = _PyImport_LoadLazyImportTstate(
 1311|      0|                PyThreadState_GET(), attr);
  ------------------
  |  |   63|      0|#define PyThreadState_GET() PyThreadState_Get()
  ------------------
 1312|      0|            if (new_value == NULL) {
  ------------------
  |  Branch (1312:17): [True: 0, False: 0]
  ------------------
 1313|      0|                if (suppress &&
  ------------------
  |  Branch (1313:21): [True: 0, False: 0]
  ------------------
 1314|      0|                    PyErr_ExceptionMatches(PyExc_ImportCycleError)) {
  ------------------
  |  Branch (1314:21): [True: 0, False: 0]
  ------------------
 1315|       |                    // ImportCycleError is raised when a lazy object tries
 1316|       |                    // to import itself. In this case, the error should not
 1317|       |                    // propagate to the caller and instead treated as if the
 1318|       |                    // attribute doesn't exist.
 1319|      0|                    PyErr_Clear();
 1320|      0|                }
 1321|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1322|      0|                return NULL;
 1323|      0|            }
 1324|       |
 1325|      0|            if (PyDict_SetItem(m->md_dict, name, new_value) < 0) {
  ------------------
  |  Branch (1325:17): [True: 0, False: 0]
  ------------------
 1326|      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]
  |  |  ------------------
  ------------------
 1327|      0|            }
 1328|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1329|      0|            return new_value;
 1330|      0|        }
 1331|  1.05M|        return attr;
 1332|  1.05M|    }
 1333|   451k|    if (suppress == 1) {
  ------------------
  |  Branch (1333:9): [True: 451k, False: 42]
  ------------------
 1334|   451k|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (1334:13): [True: 0, False: 451k]
  ------------------
 1335|       |            // pass up non-AttributeError exception
 1336|      0|            return NULL;
 1337|      0|        }
 1338|   451k|    }
 1339|     42|    else {
 1340|     42|        if (!PyErr_ExceptionMatches(PyExc_AttributeError)) {
  ------------------
  |  Branch (1340:13): [True: 0, False: 42]
  ------------------
 1341|       |            // pass up non-AttributeError exception
 1342|      0|            return NULL;
 1343|      0|        }
 1344|     42|        PyErr_Clear();
 1345|     42|    }
 1346|   451k|    assert(m->md_dict != NULL);
 1347|   451k|    if (PyDict_GetItemRef(m->md_dict, &_Py_ID(__getattr__), &getattr) < 0) {
  ------------------
  |  |  915|   451k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|   451k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   451k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1347:9): [True: 0, False: 451k]
  ------------------
 1348|      0|        return NULL;
 1349|      0|    }
 1350|   451k|    if (getattr) {
  ------------------
  |  Branch (1350:9): [True: 348, False: 451k]
  ------------------
 1351|    348|        PyObject *result = PyObject_CallOneArg(getattr, name);
 1352|    348|        if (result == NULL && suppress == 1 && PyErr_ExceptionMatches(PyExc_AttributeError)) {
  ------------------
  |  Branch (1352:13): [True: 346, False: 2]
  |  Branch (1352:31): [True: 346, False: 0]
  |  Branch (1352:48): [True: 346, False: 0]
  ------------------
 1353|       |            // suppress AttributeError
 1354|    346|            PyErr_Clear();
 1355|    346|        }
 1356|    348|        Py_DECREF(getattr);
  ------------------
  |  |  430|    348|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    348|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    348|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1357|    348|        return result;
 1358|    348|    }
 1359|       |
 1360|       |    // The attribute was not found.  We make a best effort attempt at a useful error message,
 1361|       |    // but only if we're not suppressing AttributeError.
 1362|   451k|    if (suppress == 1) {
  ------------------
  |  Branch (1362:9): [True: 451k, False: 42]
  ------------------
 1363|   451k|        return NULL;
 1364|   451k|    }
 1365|     42|    if (PyDict_GetItemRef(m->md_dict, &_Py_ID(__name__), &mod_name) < 0) {
  ------------------
  |  |  915|     42|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     42|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     42|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1365:9): [True: 0, False: 42]
  ------------------
 1366|      0|        return NULL;
 1367|      0|    }
 1368|     42|    if (!mod_name || !PyUnicode_Check(mod_name)) {
  ------------------
  |  |  103|     42|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     42|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1368:9): [True: 0, False: 42]
  |  Branch (1368:22): [True: 0, False: 42]
  ------------------
 1369|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1370|      0|        PyErr_Format(PyExc_AttributeError,
 1371|      0|                    "module has no attribute '%U'", name);
 1372|      0|        return NULL;
 1373|      0|    }
 1374|     42|    PyObject *spec;
 1375|     42|    if (PyDict_GetItemRef(m->md_dict, &_Py_ID(__spec__), &spec) < 0) {
  ------------------
  |  |  915|     42|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     42|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     42|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1375:9): [True: 0, False: 42]
  ------------------
 1376|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1377|      0|        return NULL;
 1378|      0|    }
 1379|     42|    if (spec == NULL) {
  ------------------
  |  Branch (1379:9): [True: 0, False: 42]
  ------------------
 1380|      0|        PyErr_Format(PyExc_AttributeError,
 1381|      0|                     "module '%U' has no attribute '%U'",
 1382|      0|                     mod_name, name);
 1383|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1384|      0|        return NULL;
 1385|      0|    }
 1386|       |
 1387|     42|    PyObject *origin = NULL;
 1388|     42|    if (_PyModuleSpec_GetFileOrigin(spec, &origin) < 0) {
  ------------------
  |  Branch (1388:9): [True: 0, False: 42]
  ------------------
 1389|      0|        goto done;
 1390|      0|    }
 1391|       |
 1392|     42|    int is_possibly_shadowing = _PyModule_IsPossiblyShadowing(origin);
 1393|     42|    if (is_possibly_shadowing < 0) {
  ------------------
  |  Branch (1393:9): [True: 0, False: 42]
  ------------------
 1394|      0|        goto done;
 1395|      0|    }
 1396|     42|    int is_possibly_shadowing_stdlib = 0;
 1397|     42|    if (is_possibly_shadowing) {
  ------------------
  |  Branch (1397:9): [True: 0, False: 42]
  ------------------
 1398|      0|        PyObject *stdlib_modules;
 1399|      0|        if (PySys_GetOptionalAttrString("stdlib_module_names", &stdlib_modules) < 0) {
  ------------------
  |  Branch (1399:13): [True: 0, False: 0]
  ------------------
 1400|      0|            goto done;
 1401|      0|        }
 1402|      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 (1402:13): [True: 0, False: 0]
  ------------------
 1403|      0|            is_possibly_shadowing_stdlib = PySet_Contains(stdlib_modules, mod_name);
 1404|      0|            if (is_possibly_shadowing_stdlib < 0) {
  ------------------
  |  Branch (1404:17): [True: 0, False: 0]
  ------------------
 1405|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1406|      0|                goto done;
 1407|      0|            }
 1408|      0|        }
 1409|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1410|      0|    }
 1411|       |
 1412|     42|    if (is_possibly_shadowing_stdlib) {
  ------------------
  |  Branch (1412:9): [True: 0, False: 42]
  ------------------
 1413|      0|        assert(origin);
 1414|      0|        PyErr_Format(PyExc_AttributeError,
 1415|      0|                    "module '%U' has no attribute '%U' "
 1416|      0|                    "(consider renaming '%U' since it has the same "
 1417|      0|                    "name as the standard library module named '%U' "
 1418|      0|                    "and prevents importing that standard library module)",
 1419|      0|                    mod_name, name, origin, mod_name);
 1420|      0|    }
 1421|     42|    else {
 1422|     42|        int rc = _PyModuleSpec_IsInitializing(spec);
 1423|     42|        if (rc < 0) {
  ------------------
  |  Branch (1423:13): [True: 0, False: 42]
  ------------------
 1424|      0|            goto done;
 1425|      0|        }
 1426|     42|        else if (rc > 0) {
  ------------------
  |  Branch (1426:18): [True: 0, False: 42]
  ------------------
 1427|      0|            if (is_possibly_shadowing) {
  ------------------
  |  Branch (1427:17): [True: 0, False: 0]
  ------------------
 1428|      0|                assert(origin);
 1429|       |                // For non-stdlib modules, only mention the possibility of
 1430|       |                // shadowing if the module is being initialized.
 1431|      0|                PyErr_Format(PyExc_AttributeError,
 1432|      0|                            "module '%U' has no attribute '%U' "
 1433|      0|                            "(consider renaming '%U' if it has the same name "
 1434|      0|                            "as a library you intended to import)",
 1435|      0|                            mod_name, name, origin);
 1436|      0|            }
 1437|      0|            else if (origin) {
  ------------------
  |  Branch (1437:22): [True: 0, False: 0]
  ------------------
 1438|      0|                PyErr_Format(PyExc_AttributeError,
 1439|      0|                            "partially initialized "
 1440|      0|                            "module '%U' from '%U' has no attribute '%U' "
 1441|      0|                            "(most likely due to a circular import)",
 1442|      0|                            mod_name, origin, name);
 1443|      0|            }
 1444|      0|            else {
 1445|      0|                PyErr_Format(PyExc_AttributeError,
 1446|      0|                            "partially initialized "
 1447|      0|                            "module '%U' has no attribute '%U' "
 1448|      0|                            "(most likely due to a circular import)",
 1449|      0|                            mod_name, name);
 1450|      0|            }
 1451|      0|        }
 1452|     42|        else {
 1453|     42|            assert(rc == 0);
 1454|     42|            rc = _PyModuleSpec_IsUninitializedSubmodule(spec, name);
 1455|     42|            if (rc > 0) {
  ------------------
  |  Branch (1455:17): [True: 0, False: 42]
  ------------------
 1456|      0|                PyErr_Format(PyExc_AttributeError,
 1457|      0|                            "cannot access submodule '%U' of module '%U' "
 1458|      0|                            "(most likely due to a circular import)",
 1459|      0|                            name, mod_name);
 1460|      0|            }
 1461|     42|            else if (rc == 0) {
  ------------------
  |  Branch (1461:22): [True: 42, False: 0]
  ------------------
 1462|     42|                PyErr_Format(PyExc_AttributeError,
 1463|     42|                            "module '%U' has no attribute '%U'",
 1464|     42|                            mod_name, name);
 1465|     42|            }
 1466|     42|        }
 1467|     42|    }
 1468|       |
 1469|     42|done:
 1470|     42|    Py_XDECREF(origin);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1471|     42|    Py_DECREF(spec);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1472|     42|    Py_DECREF(mod_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1473|       |    return NULL;
 1474|     42|}
_Py_module_getattro:
 1479|  47.5k|{
 1480|       |    PyModuleObject *m = _PyModule_CAST(self);
  ------------------
  |  |   24|  47.5k|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  47.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1481|  47.5k|    return _Py_module_getattro_impl(m, name, 0);
 1482|  47.5k|}
moduleobject.c:module_dict_watcher:
  206|   119k|{
  207|   119k|    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|   119k|    if (event == PyDict_EVENT_MODIFIED &&
  ------------------
  |  Branch (210:9): [True: 54.7k, False: 64.3k]
  ------------------
  211|  54.7k|        new_value != NULL &&
  ------------------
  |  Branch (211:9): [True: 54.7k, False: 0]
  ------------------
  212|  54.7k|        PyLazyImport_CheckExact(new_value)) {
  ------------------
  |  |   15|  54.7k|#define PyLazyImport_CheckExact(op) Py_IS_TYPE((op), &PyLazyImport_Type)
  |  |  ------------------
  |  |  |  |  215|  54.7k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  54.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  54.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 54.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  213|      0|        _PyDict_ClearKeysVersionLockHeld(dict);
  214|      0|    }
  215|   119k|    return 0;
  216|   119k|}
moduleobject.c:new_module_notrack:
  173|  4.18k|{
  174|  4.18k|    PyModuleObject *m;
  175|  4.18k|    m = (PyModuleObject *)_PyType_AllocNoTrack(mt, 0);
  176|  4.18k|    if (m == NULL)
  ------------------
  |  Branch (176:9): [True: 0, False: 4.18k]
  ------------------
  177|      0|        return NULL;
  178|  4.18k|    m->md_state = NULL;
  179|  4.18k|    m->md_weaklist = NULL;
  180|  4.18k|    m->md_name = NULL;
  181|  4.18k|    m->md_token_is_def = false;
  182|       |#ifdef Py_GIL_DISABLED
  183|       |    m->md_requires_gil = true;
  184|       |#endif
  185|  4.18k|    m->md_state_size = 0;
  186|  4.18k|    m->md_state_traverse = NULL;
  187|  4.18k|    m->md_state_clear = NULL;
  188|  4.18k|    m->md_state_free = NULL;
  189|  4.18k|    m->md_exec = NULL;
  190|  4.18k|    m->md_token = NULL;
  191|  4.18k|    m->md_dict = PyDict_New();
  192|  4.18k|    if (m->md_dict == NULL) {
  ------------------
  |  Branch (192:9): [True: 0, False: 4.18k]
  ------------------
  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|  4.18k|    return m;
  197|  4.18k|}
moduleobject.c:module_init_dict:
  149|  4.18k|{
  150|  4.18k|    assert(md_dict != NULL);
  151|  4.18k|    if (doc == NULL)
  ------------------
  |  Branch (151:9): [True: 124, False: 4.06k]
  ------------------
  152|    124|        doc = Py_None;
  ------------------
  |  |  616|    124|#  define Py_None (&_Py_NoneStruct)
  ------------------
  153|       |
  154|  4.18k|    if (PyDict_SetItem(md_dict, &_Py_ID(__name__), name) != 0)
  ------------------
  |  |  915|  4.18k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.18k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.18k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (154:9): [True: 0, False: 4.18k]
  ------------------
  155|      0|        return -1;
  156|  4.18k|    if (PyDict_SetItem(md_dict, &_Py_ID(__doc__), doc) != 0)
  ------------------
  |  |  915|  4.18k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.18k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.18k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (156:9): [True: 0, False: 4.18k]
  ------------------
  157|      0|        return -1;
  158|  4.18k|    if (PyDict_SetItem(md_dict, &_Py_ID(__package__), Py_None) != 0)
  ------------------
  |  |  915|  4.18k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.18k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.18k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyDict_SetItem(md_dict, &_Py_ID(__package__), Py_None) != 0)
  ------------------
  |  |  616|  4.18k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (158:9): [True: 0, False: 4.18k]
  ------------------
  159|      0|        return -1;
  160|  4.18k|    if (PyDict_SetItem(md_dict, &_Py_ID(__loader__), Py_None) != 0)
  ------------------
  |  |  915|  4.18k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.18k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.18k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyDict_SetItem(md_dict, &_Py_ID(__loader__), Py_None) != 0)
  ------------------
  |  |  616|  4.18k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (160:9): [True: 0, False: 4.18k]
  ------------------
  161|      0|        return -1;
  162|  4.18k|    if (PyDict_SetItem(md_dict, &_Py_ID(__spec__), Py_None) != 0)
  ------------------
  |  |  915|  4.18k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.18k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.18k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyDict_SetItem(md_dict, &_Py_ID(__spec__), Py_None) != 0)
  ------------------
  |  |  616|  4.18k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (162:9): [True: 0, False: 4.18k]
  ------------------
  163|      0|        return -1;
  164|  4.18k|    if (PyUnicode_CheckExact(name)) {
  ------------------
  |  |  104|  4.18k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  4.18k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.18k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.18k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 4.18k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  165|  4.18k|        Py_XSETREF(mod->md_name, Py_NewRef(name));
  ------------------
  |  |  374|  4.18k|    do { \
  |  |  375|  4.18k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  4.18k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|  4.18k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  4.18k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|  4.18k|        *_tmp_dst_ptr = (src); \
  |  |  378|  4.18k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  4.18k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.18k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.18k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|  4.18k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 4.18k]
  |  |  ------------------
  ------------------
  166|  4.18k|    }
  167|       |
  168|  4.18k|    return 0;
  169|  4.18k|}
moduleobject.c:track_module:
  229|  4.18k|{
  230|  4.18k|    _PyDict_EnablePerThreadRefcounting(m->md_dict);
  231|  4.18k|    _PyObject_SetDeferredRefcount((PyObject *)m);
  232|  4.18k|    PyDict_Watch(MODULE_WATCHER_ID, m->md_dict);
  ------------------
  |  |  294|  4.18k|#define MODULE_WATCHER_ID       2
  ------------------
  233|  4.18k|    PyObject_GC_Track(m);
  234|  4.18k|}
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.72k|    for (fdef = functions; fdef->ml_name != NULL; fdef++) {
  ------------------
  |  Branch (300:28): [True: 1.61k, False: 110]
  ------------------
  301|  1.61k|        if ((fdef->ml_flags & METH_CLASS) ||
  ------------------
  |  |  104|  1.61k|#define METH_CLASS    0x0010
  ------------------
  |  Branch (301:13): [True: 0, False: 1.61k]
  ------------------
  302|  1.61k|            (fdef->ml_flags & METH_STATIC)) {
  ------------------
  |  |  105|  1.61k|#define METH_STATIC   0x0020
  ------------------
  |  Branch (302:13): [True: 0, False: 1.61k]
  ------------------
  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.61k|        func = PyCFunction_NewEx(fdef, (PyObject*)module, name);
  ------------------
  |  |   87|  1.61k|#define PyCFunction_NewEx(ML, SELF, MOD) PyCMethod_New((ML), (SELF), (MOD), NULL)
  ------------------
  309|  1.61k|        if (func == NULL) {
  ------------------
  |  Branch (309:13): [True: 0, False: 1.61k]
  ------------------
  310|      0|            return -1;
  311|      0|        }
  312|  1.61k|        _PyObject_SetDeferredRefcount(func);
  313|  1.61k|        if (PyObject_SetAttrString(module, fdef->ml_name, func) != 0) {
  ------------------
  |  Branch (313:13): [True: 0, False: 1.61k]
  ------------------
  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.61k|        Py_DECREF(func);
  ------------------
  |  |  430|  1.61k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.61k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.61k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  318|  1.61k|    }
  319|       |
  320|    110|    return 0;
  321|    110|}
moduleobject.c:module_dealloc:
 1137|  3.44k|{
 1138|  3.44k|    PyModuleObject *m = _PyModule_CAST(self);
  ------------------
  |  |   24|  3.44k|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.44k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1139|       |
 1140|  3.44k|    PyObject_GC_UnTrack(m);
 1141|       |
 1142|  3.44k|    int verbose = _Py_GetConfig()->verbose;
 1143|  3.44k|    if (verbose && m->md_name) {
  ------------------
  |  Branch (1143:9): [True: 0, False: 3.44k]
  |  Branch (1143:20): [True: 0, False: 0]
  ------------------
 1144|      0|        PySys_FormatStderr("# destroy %U\n", m->md_name);
 1145|      0|    }
 1146|  3.44k|    FT_CLEAR_WEAKREFS(self, m->md_weaklist);
  ------------------
  |  |   47|  3.44k|    do {                                            \
  |  |   48|  3.44k|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|  3.44k|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 3.44k]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|  3.44k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 3.44k]
  |  |  ------------------
  ------------------
 1147|       |
 1148|  3.44k|    assert_def_missing_or_redundant(m);
 1149|       |    /* bpo-39824: Don't call m_free() if m_size > 0 and md_state=NULL */
 1150|  3.44k|    if (m->md_state_free && (m->md_state_size <= 0 || m->md_state != NULL))
  ------------------
  |  Branch (1150:9): [True: 0, False: 3.44k]
  |  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|  3.44k|    Py_XDECREF(m->md_dict);
  ------------------
  |  |  524|  3.44k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.44k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.44k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1156|  3.44k|    Py_XDECREF(m->md_name);
  ------------------
  |  |  524|  3.44k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.44k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.44k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1157|  3.44k|    if (m->md_state != NULL) {
  ------------------
  |  Branch (1157:9): [True: 0, False: 3.44k]
  ------------------
 1158|      0|        PyMem_Free(m->md_state);
 1159|      0|    }
 1160|  3.44k|    Py_TYPE(m)->tp_free((PyObject *)m);
  ------------------
  |  |  213|  3.44k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.44k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.44k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1161|  3.44k|}
moduleobject.c:assert_def_missing_or_redundant:
   34|  9.29k|{
   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|  9.29k|}
moduleobject.c:module_traverse:
 1486|  5.85k|{
 1487|  5.85k|    PyModuleObject *m = _PyModule_CAST(self);
  ------------------
  |  |   24|  5.85k|    (assert(PyModule_Check(op)), _Py_CAST(PyModuleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  5.85k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1488|       |
 1489|  5.85k|    assert_def_missing_or_redundant(m);
 1490|       |    /* bpo-39824: Don't call m_traverse() if m_size > 0 and md_state=NULL */
 1491|  5.85k|    if (m->md_state_traverse && (m->md_state_size <= 0 || m->md_state != NULL))
  ------------------
  |  Branch (1491:9): [True: 500, False: 5.35k]
  |  Branch (1491:34): [True: 0, False: 500]
  |  Branch (1491:59): [True: 500, False: 0]
  ------------------
 1492|    500|    {
 1493|    500|        int res = m->md_state_traverse((PyObject*)m, visit, arg);
 1494|    500|        if (res)
  ------------------
  |  Branch (1494:13): [True: 0, False: 500]
  ------------------
 1495|      0|            return res;
 1496|    500|    }
 1497|       |
 1498|  5.85k|    Py_VISIT(m->md_dict);
  ------------------
  |  |  194|  5.85k|    do {                                                                \
  |  |  195|  5.85k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 5.85k, False: 0]
  |  |  ------------------
  |  |  196|  5.85k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  5.85k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.85k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  5.85k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 5.85k]
  |  |  ------------------
  |  |  198|  5.85k|                return vret;                                            \
  |  |  199|  5.85k|        }                                                               \
  |  |  200|  5.85k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 5.85k]
  |  |  ------------------
  ------------------
 1499|  5.85k|    return 0;
 1500|  5.85k|}
moduleobject.c:module_dir:
 1527|      6|{
 1528|      6|    PyObject *result = NULL;
 1529|      6|    PyObject *dict;
 1530|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1531|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1532|      6|    } else {
 1533|      0|        dict = PyObject_GetAttr(self, &_Py_ID(__dict__));
  ------------------
  |  |  915|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1534|      0|    }
 1535|       |
 1536|      6|    if (dict != NULL) {
  ------------------
  |  Branch (1536:9): [True: 6, False: 0]
  ------------------
 1537|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1538|      6|            PyObject *dirfunc = PyDict_GetItemWithError(dict, &_Py_ID(__dir__));
  ------------------
  |  |  915|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1539|      6|            if (dirfunc) {
  ------------------
  |  Branch (1539:17): [True: 0, False: 6]
  ------------------
 1540|      0|                result = _PyObject_CallNoArgs(dirfunc);
 1541|      0|            }
 1542|      6|            else if (!PyErr_Occurred()) {
  ------------------
  |  Branch (1542:22): [True: 6, False: 0]
  ------------------
 1543|      6|                result = PyDict_Keys(dict);
 1544|      6|            }
 1545|      6|        }
 1546|      0|        else {
 1547|      0|            PyErr_Format(PyExc_TypeError, "<module>.__dict__ is not a dictionary");
 1548|      0|        }
 1549|      6|    }
 1550|       |
 1551|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1552|      6|    return result;
 1553|      6|}
moduleobject.c:module___init___impl:
 1131|  4.06k|{
 1132|  4.06k|    return module_init_dict(self, self->md_dict, name, doc);
 1133|  4.06k|}
moduleobject.c:new_module:
  238|  4.06k|{
  239|  4.06k|    PyModuleObject *m = new_module_notrack(mt);
  240|  4.06k|    if (m != NULL) {
  ------------------
  |  Branch (240:9): [True: 4.06k, False: 0]
  ------------------
  241|  4.06k|        track_module(m);
  242|  4.06k|    }
  243|  4.06k|    return (PyObject *)m;
  244|  4.06k|}

_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.0k|{
  556|  17.0k|    PyObject *op = (PyObject *) PyObject_Malloc(_PyObject_SIZE(tp));
  557|  17.0k|    if (op == NULL) {
  ------------------
  |  Branch (557:9): [True: 0, False: 17.0k]
  ------------------
  558|      0|        return PyErr_NoMemory();
  559|      0|    }
  560|  17.0k|    _PyObject_Init(op, tp);
  561|  17.0k|    return op;
  562|  17.0k|}
_PyObject_NewVar:
  566|  85.2k|{
  567|  85.2k|    PyVarObject *op;
  568|  85.2k|    const size_t size = _PyObject_VAR_SIZE(tp, nitems);
  569|  85.2k|    op = (PyVarObject *) PyObject_Malloc(size);
  570|  85.2k|    if (op == NULL) {
  ------------------
  |  Branch (570:9): [True: 0, False: 85.2k]
  ------------------
  571|      0|        return (PyVarObject *)PyErr_NoMemory();
  572|      0|    }
  573|  85.2k|    _PyObject_InitVar(op, tp, nitems);
  574|  85.2k|    return op;
  575|  85.2k|}
PyObject_CallFinalizer:
  579|  2.21M|{
  580|  2.21M|    PyTypeObject *tp = Py_TYPE(self);
  ------------------
  |  |  213|  2.21M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.21M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.21M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  581|       |
  582|  2.21M|    if (tp->tp_finalize == NULL)
  ------------------
  |  Branch (582:9): [True: 0, False: 2.21M]
  ------------------
  583|      0|        return;
  584|       |    /* tp_finalize should only be called once. */
  585|  2.21M|    if (_PyType_IS_GC(tp) && _PyGC_FINALIZED(self))
  ------------------
  |  |  828|  4.43M|#define _PyType_IS_GC(t) _PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
  |  |  ------------------
  |  |  |  |  524|  2.21M|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  |  |  ------------------
  |  |  |  Branch (828:26): [True: 2.21M, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (585:30): [True: 10.3k, False: 2.20M]
  ------------------
  586|  10.3k|        return;
  587|       |
  588|  2.20M|    tp->tp_finalize(self);
  589|  2.20M|    if (_PyType_IS_GC(tp)) {
  ------------------
  |  |  828|  2.20M|#define _PyType_IS_GC(t) _PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
  |  |  ------------------
  |  |  |  |  524|  2.20M|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  |  |  ------------------
  |  |  |  Branch (828:26): [True: 2.20M, False: 0]
  |  |  ------------------
  ------------------
  590|  2.20M|        _PyGC_SET_FINALIZED(self);
  591|  2.20M|    }
  592|  2.20M|}
PyObject_CallFinalizerFromDealloc:
  596|  2.21M|{
  597|  2.21M|    if (Py_REFCNT(self) != 0) {
  ------------------
  |  |  119|  2.21M|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.21M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.21M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (597:9): [True: 0, False: 2.21M]
  ------------------
  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|  2.21M|    _PyObject_ResurrectStart(self);
  605|       |
  606|  2.21M|    PyObject_CallFinalizer(self);
  607|       |
  608|  2.21M|    _PyObject_ASSERT_WITH_MSG(self,
  ------------------
  |  |  421|  2.21M|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  |  410|  2.21M|    ((void)0)
  |  |  ------------------
  ------------------
  609|  2.21M|                              Py_REFCNT(self) > 0,
  610|  2.21M|                              "refcount is too small");
  611|       |
  612|  2.21M|    _PyObject_ASSERT(self,
  ------------------
  |  |  423|  2.21M|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|  2.21M|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|  2.21M|    ((void)0)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  613|  2.21M|                    (!_PyType_IS_GC(Py_TYPE(self))
  614|  2.21M|                    || _PyObject_GC_IS_TRACKED(self)));
  615|       |
  616|       |    /* Undo the temporary resurrection; can't use DECREF here, it would
  617|       |     * cause a recursive call. */
  618|  2.21M|    if (_PyObject_ResurrectEnd(self)) {
  ------------------
  |  Branch (618:9): [True: 0, False: 2.21M]
  ------------------
  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|  2.21M|    return 0;
  630|  2.21M|}
PyObject_Repr:
  760|  80.6k|{
  761|  80.6k|    PyObject *res;
  762|  80.6k|    if (PyErr_CheckSignals())
  ------------------
  |  Branch (762:9): [True: 0, False: 80.6k]
  ------------------
  763|      0|        return NULL;
  764|  80.6k|    if (v == NULL)
  ------------------
  |  Branch (764:9): [True: 0, False: 80.6k]
  ------------------
  765|      0|        return PyUnicode_FromString("<NULL>");
  766|  80.6k|    if (Py_TYPE(v)->tp_repr == NULL)
  ------------------
  |  |  213|  80.6k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  80.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  80.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (766:9): [True: 0, False: 80.6k]
  ------------------
  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|  80.6k|    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|  80.6k|    if (_Py_EnterRecursiveCallTstate(tstate,
  ------------------
  |  Branch (780:9): [True: 0, False: 80.6k]
  ------------------
  781|  80.6k|                                     " while getting the repr of an object")) {
  782|      0|        return NULL;
  783|      0|    }
  784|  80.6k|    res = (*Py_TYPE(v)->tp_repr)(v);
  ------------------
  |  |  213|  80.6k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  80.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  80.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  785|  80.6k|    _Py_LeaveRecursiveCallTstate(tstate);
  786|       |
  787|  80.6k|    if (res == NULL) {
  ------------------
  |  Branch (787:9): [True: 0, False: 80.6k]
  ------------------
  788|      0|        return NULL;
  789|      0|    }
  790|  80.6k|    if (!PyUnicode_Check(res)) {
  ------------------
  |  |  103|  80.6k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  80.6k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (790:9): [True: 0, False: 80.6k]
  ------------------
  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|  80.6k|    return res;
  797|  80.6k|}
PyObject_Str:
  801|  49.2k|{
  802|  49.2k|    PyObject *res;
  803|  49.2k|    if (PyErr_CheckSignals())
  ------------------
  |  Branch (803:9): [True: 0, False: 49.2k]
  ------------------
  804|      0|        return NULL;
  805|  49.2k|    if (v == NULL)
  ------------------
  |  Branch (805:9): [True: 0, False: 49.2k]
  ------------------
  806|      0|        return PyUnicode_FromString("<NULL>");
  807|  49.2k|    if (PyUnicode_CheckExact(v)) {
  ------------------
  |  |  104|  49.2k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  49.2k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  49.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  49.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 14.1k, False: 35.0k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  808|  14.1k|        return Py_NewRef(v);
  ------------------
  |  |  550|  14.1k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  14.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  809|  14.1k|    }
  810|  35.0k|    if (Py_TYPE(v)->tp_str == NULL)
  ------------------
  |  |  213|  35.0k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  35.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  35.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (810:9): [True: 0, False: 35.0k]
  ------------------
  811|      0|        return PyObject_Repr(v);
  812|       |
  813|  35.0k|    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|  35.0k|    if (_Py_EnterRecursiveCallTstate(tstate, " while getting the str of an object")) {
  ------------------
  |  Branch (823:9): [True: 0, False: 35.0k]
  ------------------
  824|      0|        return NULL;
  825|      0|    }
  826|  35.0k|    res = (*Py_TYPE(v)->tp_str)(v);
  ------------------
  |  |  213|  35.0k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  35.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  35.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  827|  35.0k|    _Py_LeaveRecursiveCallTstate(tstate);
  828|       |
  829|  35.0k|    if (res == NULL) {
  ------------------
  |  Branch (829:9): [True: 0, False: 35.0k]
  ------------------
  830|      0|        return NULL;
  831|      0|    }
  832|  35.0k|    if (!PyUnicode_Check(res)) {
  ------------------
  |  |  103|  35.0k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  35.0k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (832:9): [True: 0, False: 35.0k]
  ------------------
  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|  35.0k|    assert(_PyUnicode_CheckConsistency(res, 1));
  839|  35.0k|    return res;
  840|  35.0k|}
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__));
  ------------------
  |  |  915|     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|  32.3M|{
 1101|  32.3M|    PyThreadState *tstate = _PyThreadState_GET();
 1102|       |
 1103|  32.3M|    assert(Py_LT <= op && op <= Py_GE);
 1104|  32.3M|    if (v == NULL || w == NULL) {
  ------------------
  |  Branch (1104:9): [True: 0, False: 32.3M]
  |  Branch (1104:22): [True: 0, False: 32.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|  32.3M|    if (_Py_EnterRecursiveCallTstate(tstate, " in comparison")) {
  ------------------
  |  Branch (1110:9): [True: 0, False: 32.3M]
  ------------------
 1111|      0|        return NULL;
 1112|      0|    }
 1113|  32.3M|    PyObject *res = do_richcompare(tstate, v, w, op);
 1114|  32.3M|    _Py_LeaveRecursiveCallTstate(tstate);
 1115|  32.3M|    return res;
 1116|  32.3M|}
PyObject_RichCompareBool:
 1122|  33.2M|{
 1123|  33.2M|    PyObject *res;
 1124|  33.2M|    int ok;
 1125|       |
 1126|       |    /* Quick result when objects are the same.
 1127|       |       Guarantees that identity implies equality. */
 1128|  33.2M|    if (v == w) {
  ------------------
  |  Branch (1128:9): [True: 9.14M, False: 24.1M]
  ------------------
 1129|  9.14M|        if (op == Py_EQ)
  ------------------
  |  |  654|  9.14M|#define Py_EQ 2
  ------------------
  |  Branch (1129:13): [True: 8.01M, False: 1.13M]
  ------------------
 1130|  8.01M|            return 1;
 1131|  1.13M|        else if (op == Py_NE)
  ------------------
  |  |  655|  1.13M|#define Py_NE 3
  ------------------
  |  Branch (1131:18): [True: 0, False: 1.13M]
  ------------------
 1132|      0|            return 0;
 1133|  9.14M|    }
 1134|       |
 1135|  25.2M|    res = PyObject_RichCompare(v, w, op);
 1136|  25.2M|    if (res == NULL)
  ------------------
  |  Branch (1136:9): [True: 0, False: 25.2M]
  ------------------
 1137|      0|        return -1;
 1138|  25.2M|    if (PyBool_Check(res)) {
  ------------------
  |  |   12|  25.2M|#define PyBool_Check(x) Py_IS_TYPE((x), &PyBool_Type)
  |  |  ------------------
  |  |  |  |  215|  25.2M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  25.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  25.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 25.2M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1139|  25.2M|        ok = (res == Py_True);
  ------------------
  |  |   26|  25.2M|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|  25.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  25.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1140|  25.2M|        assert(_Py_IsImmortal(res));
 1141|  25.2M|    }
 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|  25.2M|    return ok;
 1147|  25.2M|}
PyObject_Hash:
 1159|  27.0M|{
 1160|  27.0M|    PyTypeObject *tp = Py_TYPE(v);
  ------------------
  |  |  213|  27.0M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  27.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1161|  27.0M|    if (tp->tp_hash != NULL)
  ------------------
  |  Branch (1161:9): [True: 27.0M, False: 0]
  ------------------
 1162|  27.0M|        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.74k|{
 1181|  1.74k|    PyObject *w, *res;
 1182|       |
 1183|  1.74k|    if (Py_TYPE(v)->tp_getattr != NULL)
  ------------------
  |  |  213|  1.74k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.74k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.74k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1183:9): [True: 0, False: 1.74k]
  ------------------
 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.74k|    w = PyUnicode_FromString(name);
 1186|  1.74k|    if (w == NULL)
  ------------------
  |  Branch (1186:9): [True: 0, False: 1.74k]
  ------------------
 1187|      0|        return NULL;
 1188|  1.74k|    res = PyObject_GetAttr(v, w);
 1189|  1.74k|    Py_DECREF(w);
  ------------------
  |  |  430|  1.74k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.74k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.74k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1190|  1.74k|    return res;
 1191|  1.74k|}
PyObject_SetAttrString:
 1219|  2.21k|{
 1220|  2.21k|    PyThreadState *tstate = _PyThreadState_GET();
 1221|  2.21k|    if (w == NULL && _PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (1221:9): [True: 0, False: 2.21k]
  |  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.21k|    if (Py_TYPE(v)->tp_setattr != NULL) {
  ------------------
  |  |  213|  2.21k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.21k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.21k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1230:9): [True: 0, False: 2.21k]
  ------------------
 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.21k|    PyObject *s = PyUnicode_InternFromString(name);
 1235|  2.21k|    if (s == NULL) {
  ------------------
  |  Branch (1235:9): [True: 0, False: 2.21k]
  ------------------
 1236|      0|        return -1;
 1237|      0|    }
 1238|       |
 1239|  2.21k|    int res = PyObject_SetAttr(v, s, w);
 1240|  2.21k|    Py_DECREF(s);
  ------------------
  |  |  430|  2.21k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.21k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.21k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1241|  2.21k|    return res;
 1242|  2.21k|}
_PyObject_IsAbstract:
 1252|  4.64k|{
 1253|  4.64k|    int res;
 1254|  4.64k|    PyObject* isabstract;
 1255|       |
 1256|  4.64k|    if (obj == NULL)
  ------------------
  |  Branch (1256:9): [True: 184, False: 4.46k]
  ------------------
 1257|    184|        return 0;
 1258|       |
 1259|  4.46k|    res = PyObject_GetOptionalAttr(obj, &_Py_ID(__isabstractmethod__), &isabstract);
  ------------------
  |  |  915|  4.46k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.46k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.46k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1260|  4.46k|    if (res > 0) {
  ------------------
  |  Branch (1260:9): [True: 654, False: 3.81k]
  ------------------
 1261|    654|        res = PyObject_IsTrue(isabstract);
 1262|    654|        Py_DECREF(isabstract);
  ------------------
  |  |  430|    654|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    654|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    654|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1263|    654|    }
 1264|  4.46k|    return res;
 1265|  4.64k|}
_PyObject_SetAttributeErrorContext:
 1283|  2.09M|{
 1284|  2.09M|    assert(PyErr_Occurred());
 1285|  2.09M|    if (!PyErr_ExceptionMatches(PyExc_AttributeError)){
  ------------------
  |  Branch (1285:9): [True: 0, False: 2.09M]
  ------------------
 1286|      0|        return 0;
 1287|      0|    }
 1288|       |    // Intercept AttributeError exceptions and augment them to offer suggestions later.
 1289|  2.09M|    PyObject *exc = PyErr_GetRaisedException();
 1290|  2.09M|    if (!PyErr_GivenExceptionMatches(exc, PyExc_AttributeError)) {
  ------------------
  |  Branch (1290:9): [True: 0, False: 2.09M]
  ------------------
 1291|      0|        goto restore;
 1292|      0|    }
 1293|  2.09M|    PyAttributeErrorObject* the_exc = (PyAttributeErrorObject*) exc;
 1294|       |    // Check if this exception was already augmented
 1295|  2.09M|    if (the_exc->name || the_exc->obj) {
  ------------------
  |  Branch (1295:9): [True: 1.04M, False: 1.04M]
  |  Branch (1295:26): [True: 0, False: 1.04M]
  ------------------
 1296|  1.04M|        goto restore;
 1297|  1.04M|    }
 1298|       |    // Augment the exception with the name and object
 1299|  1.04M|    if (PyObject_SetAttr(exc, &_Py_ID(name), name) ||
  ------------------
  |  |  915|  1.04M|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.04M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.04M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1299:9): [True: 0, False: 1.04M]
  ------------------
 1300|  1.04M|        PyObject_SetAttr(exc, &_Py_ID(obj), v)) {
  ------------------
  |  |  915|  1.04M|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.04M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.04M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1300:9): [True: 0, False: 1.04M]
  ------------------
 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.09M|restore:
 1305|  2.09M|    PyErr_SetRaisedException(exc);
 1306|  2.09M|    return 0;
 1307|  1.04M|}
PyObject_GetAttr:
 1311|  14.3M|{
 1312|  14.3M|    PyTypeObject *tp = Py_TYPE(v);
  ------------------
  |  |  213|  14.3M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  14.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1313|  14.3M|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|  14.3M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  14.3M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1313:9): [True: 0, False: 14.3M]
  ------------------
 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.3M|    PyObject* result = NULL;
 1321|  14.3M|    if (tp->tp_getattro != NULL) {
  ------------------
  |  Branch (1321:9): [True: 14.3M, False: 0]
  ------------------
 1322|  14.3M|        result = (*tp->tp_getattro)(v, name);
 1323|  14.3M|    }
 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.3M|    if (result == NULL) {
  ------------------
  |  Branch (1337:9): [True: 973k, False: 13.4M]
  ------------------
 1338|   973k|        _PyObject_SetAttributeErrorContext(v, name);
 1339|   973k|    }
 1340|  14.3M|    return result;
 1341|  14.3M|}
_PyObject_GetAttrStackRef:
 1348|  20.7M|{
 1349|  20.7M|    PyTypeObject *tp = Py_TYPE(v);
  ------------------
  |  |  213|  20.7M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  20.7M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1350|  20.7M|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|  20.7M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  20.7M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1350:9): [True: 0, False: 20.7M]
  ------------------
 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|  20.7M|    if (tp->tp_getattro == _Py_type_getattro) {
  ------------------
  |  Branch (1358:9): [True: 168k, False: 20.6M]
  ------------------
 1359|   168k|        _PyStackRef result = _Py_type_getattro_stackref((PyTypeObject *)v, name, NULL);
 1360|   168k|        if (PyStackRef_IsNull(result)) {
  ------------------
  |  |  470|   168k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  467|   168k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|   168k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (470:32): [True: 30, False: 168k]
  |  |  ------------------
  ------------------
 1361|     30|            _PyObject_SetAttributeErrorContext(v, name);
 1362|     30|        }
 1363|   168k|        return result;
 1364|   168k|    }
 1365|       |
 1366|       |    /* Fall back to regular PyObject_GetAttr and convert to stackref */
 1367|  20.6M|    PyObject *result = NULL;
 1368|  20.6M|    if (tp->tp_getattro != NULL) {
  ------------------
  |  Branch (1368:9): [True: 20.6M, False: 0]
  ------------------
 1369|  20.6M|        result = (*tp->tp_getattro)(v, name);
 1370|  20.6M|    }
 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|  20.6M|    if (result == NULL) {
  ------------------
  |  Branch (1384:9): [True: 73.1k, False: 20.5M]
  ------------------
 1385|  73.1k|        _PyObject_SetAttributeErrorContext(v, name);
 1386|  73.1k|        return PyStackRef_NULL;
 1387|  73.1k|    }
 1388|  20.5M|    return PyStackRef_FromPyObjectSteal(result);
 1389|  20.6M|}
PyObject_GetOptionalAttr:
 1393|  4.48M|{
 1394|  4.48M|    PyTypeObject *tp = Py_TYPE(v);
  ------------------
  |  |  213|  4.48M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.48M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.48M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1395|       |
 1396|  4.48M|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|  4.48M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.48M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1396:9): [True: 0, False: 4.48M]
  ------------------
 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|  4.48M|    if (tp->tp_getattro == PyObject_GenericGetAttr) {
  ------------------
  |  Branch (1404:9): [True: 2.08M, False: 2.40M]
  ------------------
 1405|  2.08M|        *result = _PyObject_GenericGetAttrWithDict(v, name, NULL, 1);
 1406|  2.08M|        if (*result != NULL) {
  ------------------
  |  Branch (1406:13): [True: 1.95M, False: 131k]
  ------------------
 1407|  1.95M|            return 1;
 1408|  1.95M|        }
 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|  2.40M|    if (tp->tp_getattro == _Py_type_getattro) {
  ------------------
  |  Branch (1414:9): [True: 6.82k, False: 2.39M]
  ------------------
 1415|  6.82k|        int suppress_missing_attribute_exception = 0;
 1416|  6.82k|        *result = _Py_type_getattro_impl((PyTypeObject*)v, name, &suppress_missing_attribute_exception);
 1417|  6.82k|        if (suppress_missing_attribute_exception) {
  ------------------
  |  Branch (1417:13): [True: 636, False: 6.19k]
  ------------------
 1418|       |            // return 0 without having to clear the exception
 1419|    636|            return 0;
 1420|    636|        }
 1421|  6.82k|    }
 1422|  2.39M|    else if (tp->tp_getattro == (getattrofunc)_Py_module_getattro) {
  ------------------
  |  Branch (1422:14): [True: 1.45M, False: 941k]
  ------------------
 1423|       |        // optimization: suppress attribute error from module getattro method
 1424|  1.45M|        *result = _Py_module_getattro_impl((PyModuleObject*)v, name, 1);
 1425|  1.45M|        if (*result != NULL) {
  ------------------
  |  Branch (1425:13): [True: 1.00M, False: 451k]
  ------------------
 1426|  1.00M|            return 1;
 1427|  1.00M|        }
 1428|   451k|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (1428:13): [True: 0, False: 451k]
  ------------------
 1429|      0|            return -1;
 1430|      0|        }
 1431|   451k|        return 0;
 1432|   451k|    }
 1433|   941k|    else if (tp->tp_getattro != NULL) {
  ------------------
  |  Branch (1433:14): [True: 941k, False: 0]
  ------------------
 1434|   941k|        *result = (*tp->tp_getattro)(v, name);
 1435|   941k|    }
 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|   947k|    if (*result != NULL) {
  ------------------
  |  Branch (1449:9): [True: 947k, False: 450]
  ------------------
 1450|   947k|        return 1;
 1451|   947k|    }
 1452|    450|    if (!PyErr_ExceptionMatches(PyExc_AttributeError)) {
  ------------------
  |  Branch (1452:9): [True: 0, False: 450]
  ------------------
 1453|      0|        return -1;
 1454|      0|    }
 1455|    450|    PyErr_Clear();
 1456|    450|    return 0;
 1457|    450|}
PyObject_HasAttrWithError:
 1486|   521k|{
 1487|   521k|    PyObject *res;
 1488|   521k|    int rc = PyObject_GetOptionalAttr(obj, name, &res);
 1489|   521k|    Py_XDECREF(res);
  ------------------
  |  |  524|   521k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   521k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   521k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1490|   521k|    return rc;
 1491|   521k|}
PyObject_SetAttr:
 1509|  3.53M|{
 1510|  3.53M|    PyThreadState *tstate = _PyThreadState_GET();
 1511|  3.53M|    if (value == NULL && _PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (1511:9): [True: 63.2k, False: 3.47M]
  |  Branch (1511:26): [True: 0, False: 63.2k]
  ------------------
 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|  3.53M|    PyTypeObject *tp = Py_TYPE(v);
  ------------------
  |  |  213|  3.53M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.53M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.53M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1521|  3.53M|    int err;
 1522|       |
 1523|  3.53M|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|  3.53M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  3.53M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1523:9): [True: 0, False: 3.53M]
  ------------------
 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|  3.53M|    Py_INCREF(name);
  ------------------
  |  |  310|  3.53M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.53M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.53M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1530|       |
 1531|  3.53M|    _PyUnicode_InternMortal(tstate->interp, &name);
 1532|  3.53M|    if (tp->tp_setattro != NULL) {
  ------------------
  |  Branch (1532:9): [True: 3.53M, False: 0]
  ------------------
 1533|  3.53M|        err = (*tp->tp_setattro)(v, name, value);
 1534|  3.53M|        Py_DECREF(name);
  ------------------
  |  |  430|  3.53M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.53M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.53M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1535|  3.53M|        return err;
 1536|  3.53M|    }
 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|  63.2k|{
 1569|       |    return PyObject_SetAttr(v, name, NULL);
 1570|  63.2k|}
_PyObject_ComputedDictPointer:
 1574|  4.38M|{
 1575|  4.38M|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|  4.38M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.38M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.38M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1576|  4.38M|    assert((tp->tp_flags & Py_TPFLAGS_MANAGED_DICT) == 0);
 1577|       |
 1578|  4.38M|    Py_ssize_t dictoffset = tp->tp_dictoffset;
 1579|  4.38M|    if (dictoffset == 0) {
  ------------------
  |  Branch (1579:9): [True: 2.05M, False: 2.32M]
  ------------------
 1580|  2.05M|        return NULL;
 1581|  2.05M|    }
 1582|       |
 1583|  2.32M|    if (dictoffset < 0) {
  ------------------
  |  Branch (1583:9): [True: 0, False: 2.32M]
  ------------------
 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.32M|    return (PyObject **) ((char *)obj + dictoffset);
 1598|  4.38M|}
PyObject_SelfIter:
 1626|  37.6k|{
 1627|  37.6k|    return Py_NewRef(obj);
  ------------------
  |  |  550|  37.6k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  37.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  37.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1628|  37.6k|}
_PyObject_GetMethodStackRef:
 1758|  14.7M|{
 1759|  14.7M|    int meth_found = 0;
 1760|  14.7M|    PyObject *obj = PyStackRef_AsPyObjectBorrow(*self);
 1761|       |
 1762|  14.7M|    assert(PyStackRef_IsNull(*method));
 1763|       |
 1764|  14.7M|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|  14.7M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  14.7M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1765|  14.7M|    if (!_PyType_IsReady(tp)) {
  ------------------
  |  Branch (1765:9): [True: 0, False: 14.7M]
  ------------------
 1766|      0|        if (PyType_Ready(tp) < 0) {
  ------------------
  |  Branch (1766:13): [True: 0, False: 0]
  ------------------
 1767|      0|            PyStackRef_CLEAR(*self);
  ------------------
  |  |  711|      0|    do { \
  |  |  712|      0|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  713|      0|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  714|      0|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  715|      0|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  716|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (716:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1768|      0|            return -1;
 1769|      0|        }
 1770|      0|    }
 1771|       |
 1772|  14.7M|    if (tp->tp_getattro != PyObject_GenericGetAttr || !PyUnicode_CheckExact(name)) {
  ------------------
  |  |  104|  7.05M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  7.05M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  7.05M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  7.05M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1772:9): [True: 7.65M, False: 7.05M]
  |  Branch (1772:55): [True: 0, False: 7.05M]
  ------------------
 1773|  7.65M|        PyObject *res = PyObject_GetAttr(obj, name);
 1774|  7.65M|        PyStackRef_CLEAR(*self);
  ------------------
  |  |  711|  7.65M|    do { \
  |  |  712|  7.65M|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  713|  7.65M|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  714|  7.65M|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  715|  7.65M|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  716|  7.65M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (716:14): [Folded, False: 7.65M]
  |  |  ------------------
  ------------------
 1775|  7.65M|        if (res != NULL) {
  ------------------
  |  Branch (1775:13): [True: 7.65M, False: 2]
  ------------------
 1776|  7.65M|            *method = PyStackRef_FromPyObjectSteal(res);
 1777|  7.65M|            return 0;
 1778|  7.65M|        }
 1779|      2|        return -1;
 1780|  7.65M|    }
 1781|       |
 1782|  7.05M|    _PyType_LookupStackRefAndVersion(tp, name, method);
 1783|  7.05M|    PyObject *descr = PyStackRef_AsPyObjectBorrow(*method);
 1784|  7.05M|    descrgetfunc f = NULL;
 1785|  7.05M|    if (descr != NULL) {
  ------------------
  |  Branch (1785:9): [True: 7.05M, False: 32]
  ------------------
 1786|  7.05M|        if (_PyType_HasFeature(Py_TYPE(descr), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  213|  7.05M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  7.05M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.05M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (_PyType_HasFeature(Py_TYPE(descr), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  534|  7.05M|#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
  ------------------
  |  Branch (1786:13): [True: 7.04M, False: 16.3k]
  ------------------
 1787|  7.04M|            meth_found = 1;
 1788|  7.04M|        }
 1789|  16.3k|        else {
 1790|  16.3k|            f = Py_TYPE(descr)->tp_descr_get;
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1791|  16.3k|            if (f != NULL && PyDescr_IsData(descr)) {
  ------------------
  |  Branch (1791:17): [True: 16.3k, False: 69]
  |  Branch (1791:30): [True: 12.3k, False: 4.00k]
  ------------------
 1792|  12.3k|                PyObject *value = f(descr, obj, (PyObject *)Py_TYPE(obj));
  ------------------
  |  |  213|  12.3k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  12.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1793|  12.3k|                PyStackRef_CLEAR(*method);
  ------------------
  |  |  711|  12.3k|    do { \
  |  |  712|  12.3k|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  713|  12.3k|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  714|  12.3k|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  715|  12.3k|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  716|  12.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (716:14): [Folded, False: 12.3k]
  |  |  ------------------
  ------------------
 1794|  12.3k|                PyStackRef_CLEAR(*self);
  ------------------
  |  |  711|  12.3k|    do { \
  |  |  712|  12.3k|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  713|  12.3k|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  714|  12.3k|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  715|  12.3k|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  716|  12.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (716:14): [Folded, False: 12.3k]
  |  |  ------------------
  ------------------
 1795|  12.3k|                if (value != NULL) {
  ------------------
  |  Branch (1795:21): [True: 12.3k, False: 0]
  ------------------
 1796|  12.3k|                    *method = PyStackRef_FromPyObjectSteal(value);
 1797|  12.3k|                    return 0;
 1798|  12.3k|                }
 1799|      0|                return -1;
 1800|  12.3k|            }
 1801|  16.3k|        }
 1802|  7.05M|    }
 1803|  7.04M|    PyObject *dict, *attr;
 1804|  7.04M|    if ((tp->tp_flags & Py_TPFLAGS_INLINE_VALUES) &&
  ------------------
  |  |  472|  7.04M|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (1804:9): [True: 6.91M, False: 135k]
  ------------------
 1805|  6.91M|         _PyObject_TryGetInstanceAttribute(obj, name, &attr)) {
  ------------------
  |  Branch (1805:10): [True: 290k, False: 6.62M]
  ------------------
 1806|   290k|        if (attr != NULL) {
  ------------------
  |  Branch (1806:13): [True: 18, False: 290k]
  ------------------
 1807|     18|            PyStackRef_XSETREF(*method, PyStackRef_FromPyObjectSteal(attr));
  ------------------
  |  |  834|     18|    do { \
  |  |  835|     18|        _PyStackRef _tmp_dst_ref = (dst); \
  |  |  836|     18|        (dst) = (src); \
  |  |  837|     18|        PyStackRef_XCLOSE(_tmp_dst_ref); \
  |  |  838|     18|    } while(0)
  |  |  ------------------
  |  |  |  Branch (838:13): [Folded, False: 18]
  |  |  ------------------
  ------------------
 1808|     18|            PyStackRef_CLEAR(*self);
  ------------------
  |  |  711|     18|    do { \
  |  |  712|     18|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  713|     18|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  714|     18|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  715|     18|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  716|     18|    } while (0)
  |  |  ------------------
  |  |  |  Branch (716:14): [Folded, False: 18]
  |  |  ------------------
  ------------------
 1809|     18|            return 0;
 1810|     18|        }
 1811|   290k|        dict = NULL;
 1812|   290k|    }
 1813|  6.75M|    else if ((tp->tp_flags & Py_TPFLAGS_MANAGED_DICT)) {
  ------------------
  |  |  482|  6.75M|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (1813:14): [True: 6.62M, False: 134k]
  ------------------
 1814|  6.62M|        dict = (PyObject *)_PyObject_GetManagedDict(obj);
 1815|  6.62M|    }
 1816|   134k|    else {
 1817|   134k|        PyObject **dictptr = _PyObject_ComputedDictPointer(obj);
 1818|   134k|        if (dictptr != NULL) {
  ------------------
  |  Branch (1818:13): [True: 120k, False: 14.6k]
  ------------------
 1819|   120k|            dict = FT_ATOMIC_LOAD_PTR_ACQUIRE(*dictptr);
  ------------------
  |  |  149|   120k|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
 1820|   120k|        }
 1821|  14.6k|        else {
 1822|  14.6k|            dict = NULL;
 1823|  14.6k|        }
 1824|   134k|    }
 1825|  7.04M|    if (dict != NULL) {
  ------------------
  |  Branch (1825:9): [True: 6.68M, False: 361k]
  ------------------
 1826|  6.68M|        assert(PyUnicode_CheckExact(name));
 1827|  6.68M|        int found = _PyDict_GetMethodStackRef((PyDictObject *)dict, name, method);
 1828|  6.68M|        if (found < 0) {
  ------------------
  |  Branch (1828:13): [True: 0, False: 6.68M]
  ------------------
 1829|      0|            assert(PyStackRef_IsNull(*method));
 1830|      0|            PyStackRef_CLEAR(*self);
  ------------------
  |  |  711|      0|    do { \
  |  |  712|      0|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  713|      0|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  714|      0|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  715|      0|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  716|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (716:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1831|      0|            return -1;
 1832|      0|        }
 1833|  6.68M|        else if (found) {
  ------------------
  |  Branch (1833:18): [True: 11, False: 6.68M]
  ------------------
 1834|     11|            PyStackRef_CLEAR(*self);
  ------------------
  |  |  711|     11|    do { \
  |  |  712|     11|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  713|     11|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  714|     11|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  715|     11|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  716|     11|    } while (0)
  |  |  ------------------
  |  |  |  Branch (716:14): [Folded, False: 11]
  |  |  ------------------
  ------------------
 1835|     11|            return 0;
 1836|     11|        }
 1837|  6.68M|    }
 1838|       |
 1839|  7.04M|    if (meth_found) {
  ------------------
  |  Branch (1839:9): [True: 7.04M, False: 4.07k]
  ------------------
 1840|  7.04M|        assert(!PyStackRef_IsNull(*method));
 1841|  7.04M|        return 1;
 1842|  7.04M|    }
 1843|       |
 1844|  4.07k|    if (f != NULL) {
  ------------------
  |  Branch (1844:9): [True: 4.00k, False: 72]
  ------------------
 1845|  4.00k|        if (Py_IS_TYPE(descr, &PyClassMethod_Type)) {
  ------------------
  |  |  215|  4.00k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  4.00k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.00k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 432, False: 3.57k]
  |  |  ------------------
  ------------------
 1846|    432|            PyObject *callable = _PyClassMethod_GetFunc(descr);
 1847|    432|            PyStackRef_XSETREF(*method, PyStackRef_FromPyObjectNew(callable));
  ------------------
  |  |  834|    432|    do { \
  |  |  835|    432|        _PyStackRef _tmp_dst_ref = (dst); \
  |  |  836|    432|        (dst) = (src); \
  |  |  837|    432|        PyStackRef_XCLOSE(_tmp_dst_ref); \
  |  |  838|    432|    } while(0)
  |  |  ------------------
  |  |  |  Branch (838:13): [Folded, False: 432]
  |  |  ------------------
  ------------------
 1848|    432|            PyStackRef_XSETREF(*self, PyStackRef_FromPyObjectNew((PyObject *)tp));
  ------------------
  |  |  834|    432|    do { \
  |  |  835|    432|        _PyStackRef _tmp_dst_ref = (dst); \
  |  |  836|    432|        (dst) = (src); \
  |  |  837|    432|        PyStackRef_XCLOSE(_tmp_dst_ref); \
  |  |  838|    432|    } while(0)
  |  |  ------------------
  |  |  |  Branch (838:13): [Folded, False: 432]
  |  |  ------------------
  ------------------
 1849|    432|            return 1;
 1850|    432|        }
 1851|  3.57k|        else if (Py_IS_TYPE(descr, &PyStaticMethod_Type)) {
  ------------------
  |  |  215|  3.57k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  3.57k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.57k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 3.57k, False: 0]
  |  |  ------------------
  ------------------
 1852|  3.57k|            PyObject *callable = _PyStaticMethod_GetFunc(descr);
 1853|  3.57k|            PyStackRef_XSETREF(*method, PyStackRef_FromPyObjectNew(callable));
  ------------------
  |  |  834|  3.57k|    do { \
  |  |  835|  3.57k|        _PyStackRef _tmp_dst_ref = (dst); \
  |  |  836|  3.57k|        (dst) = (src); \
  |  |  837|  3.57k|        PyStackRef_XCLOSE(_tmp_dst_ref); \
  |  |  838|  3.57k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (838:13): [Folded, False: 3.57k]
  |  |  ------------------
  ------------------
 1854|  3.57k|            PyStackRef_CLEAR(*self);
  ------------------
  |  |  711|  3.57k|    do { \
  |  |  712|  3.57k|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  713|  3.57k|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  714|  3.57k|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  715|  3.57k|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  716|  3.57k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (716:14): [Folded, False: 3.57k]
  |  |  ------------------
  ------------------
 1855|  3.57k|            return 0;
 1856|  3.57k|        }
 1857|      0|        PyObject *value = f(descr, obj, (PyObject *)tp);
 1858|      0|        PyStackRef_CLEAR(*method);
  ------------------
  |  |  711|      0|    do { \
  |  |  712|      0|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  713|      0|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  714|      0|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  715|      0|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  716|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (716:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1859|      0|        PyStackRef_CLEAR(*self);
  ------------------
  |  |  711|      0|    do { \
  |  |  712|      0|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  713|      0|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  714|      0|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  715|      0|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  716|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (716: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|     72|    if (descr != NULL) {
  ------------------
  |  Branch (1867:9): [True: 69, False: 3]
  ------------------
 1868|     69|        assert(!PyStackRef_IsNull(*method));
 1869|     69|        PyStackRef_CLEAR(*self);
  ------------------
  |  |  711|     69|    do { \
  |  |  712|     69|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  713|     69|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  714|     69|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  715|     69|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  716|     69|    } while (0)
  |  |  ------------------
  |  |  |  Branch (716:14): [Folded, False: 69]
  |  |  ------------------
  ------------------
 1870|     69|        return 0;
 1871|     69|    }
 1872|       |
 1873|      3|    PyErr_Format(PyExc_AttributeError,
 1874|      3|                 "'%.100s' object has no attribute '%U'",
 1875|      3|                 tp->tp_name, name);
 1876|       |
 1877|      3|    _PyObject_SetAttributeErrorContext(obj, name);
 1878|      3|    assert(PyStackRef_IsNull(*method));
 1879|      3|    PyStackRef_CLEAR(*self);
  ------------------
  |  |  711|      3|    do { \
  |  |  712|      3|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  713|      3|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  714|      3|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  715|      3|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  716|      3|    } while (0)
  |  |  ------------------
  |  |  |  Branch (716:14): [Folded, False: 3]
  |  |  ------------------
  ------------------
 1880|      3|    return -1;
 1881|     72|}
_PyObject_GenericGetAttrWithDict:
 1889|  24.9M|{
 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|  24.9M|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|  24.9M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  24.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1897|  24.9M|    PyObject *descr = NULL;
 1898|  24.9M|    PyObject *res = NULL;
 1899|  24.9M|    descrgetfunc f;
 1900|       |
 1901|  24.9M|    if (!PyUnicode_Check(name)){
  ------------------
  |  |  103|  24.9M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  24.9M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1901:9): [True: 0, False: 24.9M]
  ------------------
 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|  24.9M|    if (!_PyType_IsReady(tp)) {
  ------------------
  |  Branch (1908:9): [True: 0, False: 24.9M]
  ------------------
 1909|      0|        if (PyType_Ready(tp) < 0)
  ------------------
  |  Branch (1909:13): [True: 0, False: 0]
  ------------------
 1910|      0|            return NULL;
 1911|      0|    }
 1912|       |
 1913|  24.9M|    Py_INCREF(name);
  ------------------
  |  |  310|  24.9M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  24.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1914|       |
 1915|  24.9M|    PyThreadState *tstate = _PyThreadState_GET();
 1916|  24.9M|    _PyCStackRef cref;
 1917|  24.9M|    _PyThreadState_PushCStackRef(tstate, &cref);
 1918|       |
 1919|  24.9M|    _PyType_LookupStackRefAndVersion(tp, name, &cref.ref);
 1920|  24.9M|    descr = PyStackRef_AsPyObjectBorrow(cref.ref);
 1921|       |
 1922|  24.9M|    f = NULL;
 1923|  24.9M|    if (descr != NULL) {
  ------------------
  |  Branch (1923:9): [True: 7.22M, False: 17.7M]
  ------------------
 1924|  7.22M|        f = Py_TYPE(descr)->tp_descr_get;
  ------------------
  |  |  213|  7.22M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  7.22M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.22M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1925|  7.22M|        if (f != NULL && PyDescr_IsData(descr)) {
  ------------------
  |  Branch (1925:13): [True: 6.98M, False: 236k]
  |  Branch (1925:26): [True: 2.63M, False: 4.35M]
  ------------------
 1926|  2.63M|            res = f(descr, obj, (PyObject *)Py_TYPE(obj));
  ------------------
  |  |  213|  2.63M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.63M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.63M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1927|  2.63M|            if (res == NULL && suppress &&
  ------------------
  |  Branch (1927:17): [True: 100, False: 2.63M]
  |  Branch (1927:32): [True: 0, False: 100]
  ------------------
 1928|      0|                    PyErr_ExceptionMatches(PyExc_AttributeError)) {
  ------------------
  |  Branch (1928:21): [True: 0, False: 0]
  ------------------
 1929|      0|                PyErr_Clear();
 1930|      0|            }
 1931|  2.63M|            goto done;
 1932|  2.63M|        }
 1933|  7.22M|    }
 1934|  22.2M|    if (dict == NULL) {
  ------------------
  |  Branch (1934:9): [True: 22.2M, False: 105]
  ------------------
 1935|  22.2M|        if ((tp->tp_flags & Py_TPFLAGS_INLINE_VALUES)) {
  ------------------
  |  |  472|  22.2M|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (1935:13): [True: 18.2M, False: 4.03M]
  ------------------
 1936|  18.2M|            if (PyUnicode_CheckExact(name) &&
  ------------------
  |  |  104|  18.2M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  36.5M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  18.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  18.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 18.2M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1937|  18.2M|                _PyObject_TryGetInstanceAttribute(obj, name, &res)) {
  ------------------
  |  Branch (1937:17): [True: 8.81M, False: 9.44M]
  ------------------
 1938|  8.81M|                if (res != NULL) {
  ------------------
  |  Branch (1938:21): [True: 4.48M, False: 4.33M]
  ------------------
 1939|  4.48M|                    goto done;
 1940|  4.48M|                }
 1941|  8.81M|            }
 1942|  9.44M|            else {
 1943|  9.44M|                dict = (PyObject *)_PyObject_MaterializeManagedDict(obj);
 1944|  9.44M|                if (dict == NULL) {
  ------------------
  |  Branch (1944:21): [True: 0, False: 9.44M]
  ------------------
 1945|      0|                    res = NULL;
 1946|      0|                    goto done;
 1947|      0|                }
 1948|  9.44M|            }
 1949|  18.2M|        }
 1950|  4.03M|        else if ((tp->tp_flags & Py_TPFLAGS_MANAGED_DICT)) {
  ------------------
  |  |  482|  4.03M|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (1950:18): [True: 6.29k, False: 4.03M]
  ------------------
 1951|  6.29k|            dict = (PyObject *)_PyObject_GetManagedDict(obj);
 1952|  6.29k|        }
 1953|  4.03M|        else {
 1954|  4.03M|            PyObject **dictptr = _PyObject_ComputedDictPointer(obj);
 1955|  4.03M|            if (dictptr) {
  ------------------
  |  Branch (1955:17): [True: 1.98M, False: 2.04M]
  ------------------
 1956|       |#ifdef Py_GIL_DISABLED
 1957|       |                dict = _Py_atomic_load_ptr_acquire(dictptr);
 1958|       |#else
 1959|  1.98M|                dict = *dictptr;
 1960|  1.98M|#endif
 1961|  1.98M|            }
 1962|  4.03M|        }
 1963|  22.2M|    }
 1964|  17.8M|    if (dict != NULL) {
  ------------------
  |  Branch (1964:9): [True: 11.3M, False: 6.41M]
  ------------------
 1965|  11.3M|        Py_INCREF(dict);
  ------------------
  |  |  310|  11.3M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1966|  11.3M|        int rc = PyDict_GetItemRef(dict, name, &res);
 1967|  11.3M|        Py_DECREF(dict);
  ------------------
  |  |  430|  11.3M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1968|  11.3M|        if (res != NULL) {
  ------------------
  |  Branch (1968:13): [True: 10.8M, False: 541k]
  ------------------
 1969|  10.8M|            goto done;
 1970|  10.8M|        }
 1971|   541k|        else if (rc < 0) {
  ------------------
  |  Branch (1971:18): [True: 0, False: 541k]
  ------------------
 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|  11.3M|    }
 1980|       |
 1981|  6.96M|    if (f != NULL) {
  ------------------
  |  Branch (1981:9): [True: 4.35M, False: 2.60M]
  ------------------
 1982|  4.35M|        res = f(descr, obj, (PyObject *)Py_TYPE(obj));
  ------------------
  |  |  213|  4.35M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.35M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.35M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1983|  4.35M|        if (res == NULL && suppress &&
  ------------------
  |  Branch (1983:13): [True: 0, False: 4.35M]
  |  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|  4.35M|        goto done;
 1988|  4.35M|    }
 1989|       |
 1990|  2.60M|    if (descr != NULL) {
  ------------------
  |  Branch (1990:9): [True: 131k, False: 2.47M]
  ------------------
 1991|   131k|        res = PyStackRef_AsPyObjectSteal(cref.ref);
 1992|   131k|        cref.ref = PyStackRef_NULL;
 1993|   131k|        goto done;
 1994|   131k|    }
 1995|       |
 1996|  2.47M|    if (!suppress) {
  ------------------
  |  Branch (1996:9): [True: 1.04M, False: 1.43M]
  ------------------
 1997|  1.04M|        PyErr_Format(PyExc_AttributeError,
 1998|  1.04M|                     "'%.100s' object has no attribute '%U'",
 1999|  1.04M|                     tp->tp_name, name);
 2000|       |
 2001|  1.04M|        _PyObject_SetAttributeErrorContext(obj, name);
 2002|  1.04M|    }
 2003|  24.9M|  done:
 2004|  24.9M|    _PyThreadState_PopCStackRef(tstate, &cref);
 2005|  24.9M|    Py_DECREF(name);
  ------------------
  |  |  430|  24.9M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  24.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  24.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2006|  24.9M|    return res;
 2007|  2.47M|}
PyObject_GenericGetAttr:
 2011|  17.1M|{
 2012|       |    return _PyObject_GenericGetAttrWithDict(obj, name, NULL, 0);
 2013|  17.1M|}
_PyObject_GenericSetAttrWithDict:
 2018|  3.32M|{
 2019|  3.32M|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|  3.32M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.32M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.32M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2020|  3.32M|    PyObject *descr;
 2021|  3.32M|    descrsetfunc f;
 2022|  3.32M|    int res = -1;
 2023|       |
 2024|  3.32M|    assert(!PyType_IsSubtype(tp, &PyType_Type));
 2025|  3.32M|    if (!PyUnicode_Check(name)){
  ------------------
  |  |  103|  3.32M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  3.32M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2025:9): [True: 0, False: 3.32M]
  ------------------
 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|  3.32M|    if (!_PyType_IsReady(tp) && PyType_Ready(tp) < 0) {
  ------------------
  |  Branch (2032:9): [True: 0, False: 3.32M]
  |  Branch (2032:33): [True: 0, False: 0]
  ------------------
 2033|      0|        return -1;
 2034|      0|    }
 2035|       |
 2036|  3.32M|    Py_INCREF(name);
  ------------------
  |  |  310|  3.32M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.32M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.32M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2037|  3.32M|    _Py_INCREF_TYPE(tp);
  ------------------
  |  |  315|  3.32M|#  define _Py_INCREF_TYPE Py_INCREF
  |  |  ------------------
  |  |  |  |  310|  3.32M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.32M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.32M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2038|       |
 2039|  3.32M|    PyThreadState *tstate = _PyThreadState_GET();
 2040|  3.32M|    _PyCStackRef cref;
 2041|  3.32M|    _PyThreadState_PushCStackRef(tstate, &cref);
 2042|       |
 2043|  3.32M|    _PyType_LookupStackRefAndVersion(tp, name, &cref.ref);
 2044|  3.32M|    descr = PyStackRef_AsPyObjectBorrow(cref.ref);
 2045|       |
 2046|  3.32M|    if (descr != NULL) {
  ------------------
  |  Branch (2046:9): [True: 2.32M, False: 1.00M]
  ------------------
 2047|  2.32M|        f = Py_TYPE(descr)->tp_descr_set;
  ------------------
  |  |  213|  2.32M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.32M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.32M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2048|  2.32M|        if (f != NULL) {
  ------------------
  |  Branch (2048:13): [True: 2.16M, False: 157k]
  ------------------
 2049|  2.16M|            res = f(descr, obj, value);
 2050|  2.16M|            goto done;
 2051|  2.16M|        }
 2052|  2.32M|    }
 2053|       |
 2054|  1.16M|    if (dict == NULL) {
  ------------------
  |  Branch (2054:9): [True: 933k, False: 226k]
  ------------------
 2055|   933k|        PyObject **dictptr;
 2056|       |
 2057|   933k|        if ((tp->tp_flags & Py_TPFLAGS_INLINE_VALUES)) {
  ------------------
  |  |  472|   933k|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (2057:13): [True: 716k, False: 217k]
  ------------------
 2058|   716k|            res = _PyObject_StoreInstanceAttribute(obj, name, value);
 2059|   716k|            goto error_check;
 2060|   716k|        }
 2061|       |
 2062|   217k|        if ((tp->tp_flags & Py_TPFLAGS_MANAGED_DICT)) {
  ------------------
  |  |  482|   217k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (2062:13): [True: 3.38k, False: 214k]
  ------------------
 2063|  3.38k|            PyManagedDictPointer *managed_dict = _PyObject_ManagedDictPointer(obj);
 2064|  3.38k|            dictptr = (PyObject **)&managed_dict->dict;
 2065|  3.38k|        }
 2066|   214k|        else {
 2067|   214k|            dictptr = _PyObject_ComputedDictPointer(obj);
 2068|   214k|        }
 2069|   217k|        if (dictptr == NULL) {
  ------------------
  |  Branch (2069:13): [True: 4, False: 217k]
  ------------------
 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|   217k|        else {
 2092|   217k|            res = _PyObjectDict_SetItem(tp, obj, dictptr, name, value);
 2093|   217k|        }
 2094|   217k|    }
 2095|   226k|    else {
 2096|   226k|        Py_INCREF(dict);
  ------------------
  |  |  310|   226k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   226k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   226k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2097|   226k|        if (value == NULL)
  ------------------
  |  Branch (2097:13): [True: 0, False: 226k]
  ------------------
 2098|      0|            res = PyDict_DelItem(dict, name);
 2099|   226k|        else
 2100|   226k|            res = PyDict_SetItem(dict, name, value);
 2101|   226k|        Py_DECREF(dict);
  ------------------
  |  |  430|   226k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   226k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   226k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2102|   226k|    }
 2103|  1.16M|  error_check:
 2104|  1.16M|    if (res < 0 && PyErr_ExceptionMatches(PyExc_KeyError)) {
  ------------------
  |  Branch (2104:9): [True: 0, False: 1.16M]
  |  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|  3.32M|  done:
 2111|  3.32M|    _PyThreadState_PopCStackRef(tstate, &cref);
 2112|  3.32M|    _Py_DECREF_TYPE(tp);
  ------------------
  |  |  316|  3.32M|#  define _Py_DECREF_TYPE Py_DECREF
  |  |  ------------------
  |  |  |  |  430|  3.32M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.32M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.32M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2113|  3.32M|    Py_DECREF(name);
  ------------------
  |  |  430|  3.32M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.32M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.32M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2114|  3.32M|    return res;
 2115|  1.16M|}
PyObject_GenericSetAttr:
 2119|  3.09M|{
 2120|       |    return _PyObject_GenericSetAttrWithDict(obj, name, value, NULL);
 2121|  3.09M|}
PyObject_IsTrue:
 2139|  7.66M|{
 2140|  7.66M|    Py_ssize_t res;
 2141|  7.66M|    if (v == Py_True)
  ------------------
  |  |   26|  7.66M|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|  7.66M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.66M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2141:9): [True: 392k, False: 7.26M]
  ------------------
 2142|   392k|        return 1;
 2143|  7.26M|    if (v == Py_False)
  ------------------
  |  |   25|  7.26M|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|  7.26M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.26M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2143:9): [True: 6.67M, False: 590k]
  ------------------
 2144|  6.67M|        return 0;
 2145|   590k|    if (v == Py_None)
  ------------------
  |  |  616|   590k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2145:9): [True: 4.77k, False: 586k]
  ------------------
 2146|  4.77k|        return 0;
 2147|   586k|    else if (Py_TYPE(v)->tp_as_number != NULL &&
  ------------------
  |  |  213|   586k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   586k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   586k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2147:14): [True: 66.4k, False: 519k]
  ------------------
 2148|  66.4k|             Py_TYPE(v)->tp_as_number->nb_bool != NULL)
  ------------------
  |  |  213|  66.4k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  66.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  66.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2148:14): [True: 683, False: 65.8k]
  ------------------
 2149|    683|        res = (*Py_TYPE(v)->tp_as_number->nb_bool)(v);
  ------------------
  |  |  213|    683|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    683|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    683|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2150|   585k|    else if (Py_TYPE(v)->tp_as_mapping != NULL &&
  ------------------
  |  |  213|   585k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   585k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   585k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2150:14): [True: 563k, False: 22.3k]
  ------------------
 2151|   563k|             Py_TYPE(v)->tp_as_mapping->mp_length != NULL)
  ------------------
  |  |  213|   563k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   563k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   563k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2151:14): [True: 552k, False: 10.6k]
  ------------------
 2152|   552k|        res = (*Py_TYPE(v)->tp_as_mapping->mp_length)(v);
  ------------------
  |  |  213|   552k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   552k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   552k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2153|  32.9k|    else if (Py_TYPE(v)->tp_as_sequence != NULL &&
  ------------------
  |  |  213|  32.9k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  32.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  32.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2153:14): [True: 19.5k, False: 13.4k]
  ------------------
 2154|  19.5k|             Py_TYPE(v)->tp_as_sequence->sq_length != NULL)
  ------------------
  |  |  213|  19.5k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  19.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  19.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2154:14): [True: 9.07k, False: 10.4k]
  ------------------
 2155|  9.07k|        res = (*Py_TYPE(v)->tp_as_sequence->sq_length)(v);
  ------------------
  |  |  213|  9.07k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  9.07k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.07k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2156|  23.8k|    else
 2157|  23.8k|        return 1;
 2158|       |    /* if it is negative, it should be either -1 or -2 */
 2159|   562k|    return (res > 0) ? 1 : Py_SAFE_DOWNCAST(res, Py_ssize_t, int);
  ------------------
  |  |  247|  66.9k|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  ------------------
  |  |  |  |   34|  66.9k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (2159:12): [True: 495k, False: 66.9k]
  ------------------
 2160|   590k|}
PyCallable_Check:
 2179|  37.8k|{
 2180|  37.8k|    if (x == NULL)
  ------------------
  |  Branch (2180:9): [True: 0, False: 37.8k]
  ------------------
 2181|      0|        return 0;
 2182|  37.8k|    return Py_TYPE(x)->tp_call != NULL;
  ------------------
  |  |  213|  37.8k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  37.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  37.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2183|  37.8k|}
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__));
  ------------------
  |  |  915|      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|   178M|{
 2761|       |#ifdef Py_REF_DEBUG
 2762|       |    _Py_IncRefTotal(_PyThreadState_GET());
 2763|       |#endif
 2764|   178M|    new_reference(op);
 2765|   178M|}
_Py_NewReferenceNoTotal:
 2769|  1.22M|{
 2770|  1.22M|    new_reference(op);
 2771|  1.22M|}
_Py_SetImmortalUntracked:
 2775|  52.3k|{
 2776|       |    // Check if already immortal to avoid degrading from static immortal to plain immortal
 2777|  52.3k|    if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  52.3k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  52.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  52.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 6, False: 52.3k]
  |  |  ------------------
  ------------------
 2778|      6|        return;
 2779|      6|    }
 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|  52.3k|    op->ob_flags = _Py_IMMORTAL_FLAGS;
  ------------------
  |  |  581|  52.3k|#define _Py_IMMORTAL_FLAGS (1 << 0)
  ------------------
 2787|  52.3k|    op->ob_refcnt = _Py_IMMORTAL_INITIAL_REFCNT;
  ------------------
  |  |   47|  52.3k|#define _Py_IMMORTAL_INITIAL_REFCNT (3ULL << 30)
  ------------------
 2788|       |#else
 2789|       |    op->ob_refcnt = _Py_IMMORTAL_INITIAL_REFCNT;
 2790|       |#endif
 2791|  52.3k|}
_Py_SetImmortal:
 2795|  52.3k|{
 2796|  52.3k|    if (PyObject_IS_GC(op) && _PyObject_GC_IS_TRACKED(op)) {
  ------------------
  |  |   81|    828|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|    828|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (81:37): [True: 826, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (2796:9): [True: 828, False: 51.4k]
  ------------------
 2797|    826|        _PyObject_GC_UNTRACK(op);
  ------------------
  |  |  510|    826|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    826|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    826|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2798|    826|    }
 2799|  52.3k|    _Py_SetImmortalUntracked(op);
 2800|  52.3k|}
_PyObject_SetDeferredRefcount:
 2804|  33.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|  33.6k|}
PyUnstable_Object_EnableDeferredRefcount:
 2816|  2.66k|{
 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.66k|    return 0;
 2840|  2.66k|#endif
 2841|  2.66k|}
Py_ReprEnter:
 3101|  27.1k|{
 3102|  27.1k|    PyObject *dict;
 3103|  27.1k|    PyObject *list;
 3104|  27.1k|    Py_ssize_t i;
 3105|       |
 3106|  27.1k|    dict = PyThreadState_GetDict();
 3107|       |    /* Ignore a missing thread-state, so that this function can be called
 3108|       |       early on startup. */
 3109|  27.1k|    if (dict == NULL)
  ------------------
  |  Branch (3109:9): [True: 0, False: 27.1k]
  ------------------
 3110|      0|        return 0;
 3111|  27.1k|    list = PyDict_GetItemWithError(dict, &_Py_ID(Py_Repr));
  ------------------
  |  |  915|  27.1k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  27.1k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  27.1k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3112|  27.1k|    if (list == NULL) {
  ------------------
  |  Branch (3112:9): [True: 1, False: 27.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) {
  ------------------
  |  |  915|      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|  27.1k|    i = PyList_GET_SIZE(list);
  ------------------
  |  |   38|  27.1k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  27.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3124|  27.1k|    while (--i >= 0) {
  ------------------
  |  Branch (3124:12): [True: 3, False: 27.1k]
  ------------------
 3125|      3|        if (PyList_GET_ITEM(list, i) == obj)
  ------------------
  |  |   40|      3|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|      3|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3125:13): [True: 0, False: 3]
  ------------------
 3126|      0|            return 1;
 3127|      3|    }
 3128|  27.1k|    if (PyList_Append(list, obj) < 0)
  ------------------
  |  Branch (3128:9): [True: 0, False: 27.1k]
  ------------------
 3129|      0|        return -1;
 3130|  27.1k|    return 0;
 3131|  27.1k|}
Py_ReprLeave:
 3135|  27.1k|{
 3136|  27.1k|    PyObject *dict;
 3137|  27.1k|    PyObject *list;
 3138|  27.1k|    Py_ssize_t i;
 3139|       |
 3140|  27.1k|    PyObject *exc = PyErr_GetRaisedException();
 3141|       |
 3142|  27.1k|    dict = PyThreadState_GetDict();
 3143|  27.1k|    if (dict == NULL)
  ------------------
  |  Branch (3143:9): [True: 0, False: 27.1k]
  ------------------
 3144|      0|        goto finally;
 3145|       |
 3146|  27.1k|    list = PyDict_GetItemWithError(dict, &_Py_ID(Py_Repr));
  ------------------
  |  |  915|  27.1k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  27.1k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  27.1k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3147|  27.1k|    if (list == NULL || !PyList_Check(list))
  ------------------
  |  |   25|  27.1k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  27.1k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3147:9): [True: 0, False: 27.1k]
  |  Branch (3147:25): [True: 0, False: 27.1k]
  ------------------
 3148|      0|        goto finally;
 3149|       |
 3150|  27.1k|    i = PyList_GET_SIZE(list);
  ------------------
  |  |   38|  27.1k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  27.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3151|       |    /* Count backwards because we always expect obj to be list[-1] */
 3152|  27.1k|    while (--i >= 0) {
  ------------------
  |  Branch (3152:12): [True: 27.1k, False: 0]
  ------------------
 3153|  27.1k|        if (PyList_GET_ITEM(list, i) == obj) {
  ------------------
  |  |   40|  27.1k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|  27.1k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3153:13): [True: 27.1k, False: 0]
  ------------------
 3154|  27.1k|            PyList_SetSlice(list, i, i + 1, NULL);
 3155|  27.1k|            break;
 3156|  27.1k|        }
 3157|  27.1k|    }
 3158|       |
 3159|  27.1k|finally:
 3160|       |    /* ignore exceptions because there is no way to report them. */
 3161|  27.1k|    PyErr_SetRaisedException(exc);
 3162|  27.1k|}
_Py_Dealloc:
 3284|   135M|{
 3285|   135M|    PyTypeObject *type = Py_TYPE(op);
  ------------------
  |  |  213|   135M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   135M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   135M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3286|   135M|    unsigned long gc_flag = type->tp_flags & Py_TPFLAGS_HAVE_GC;
  ------------------
  |  |  524|   135M|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
 3287|   135M|    destructor dealloc = type->tp_dealloc;
 3288|   135M|    PyThreadState *tstate = _PyThreadState_GET();
 3289|   135M|    intptr_t margin = _Py_RecursionLimit_GetMargin(tstate);
 3290|   135M|    if (margin < 2 && gc_flag) {
  ------------------
  |  Branch (3290:9): [True: 0, False: 135M]
  |  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|   135M|    _PyReftracerTrack(op, PyRefTracer_DESTROY);
  ------------------
  |  |  112|   135M|    do { \
  |  |  113|   135M|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  114|   135M|        if (tracer->tracer_func != NULL) { \
  |  |  ------------------
  |  |  |  Branch (114:13): [True: 0, False: 135M]
  |  |  ------------------
  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  117|      0|        } \
  |  |  118|   135M|    } while(0)
  |  |  ------------------
  |  |  |  Branch (118:13): [Folded, False: 135M]
  |  |  ------------------
  ------------------
 3312|   135M|    (*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|   135M|    if (tstate->delete_later && margin >= 4 && gc_flag) {
  ------------------
  |  Branch (3336:9): [True: 0, False: 135M]
  |  Branch (3336:33): [True: 0, False: 0]
  |  Branch (3336:48): [True: 0, False: 0]
  ------------------
 3337|      0|        _PyTrash_thread_destroy_chain(tstate);
 3338|      0|    }
 3339|   135M|}
_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|  7.53M|{
 3459|  7.53M|    if (constant_id < Py_ARRAY_LENGTH(constants)) {
  ------------------
  |  |  196|  7.53M|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (3459:9): [True: 7.53M, False: 0]
  ------------------
 3460|  7.53M|        return constants[constant_id];
 3461|  7.53M|    }
 3462|      0|    else {
 3463|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3464|       |        return NULL;
 3465|      0|    }
 3466|  7.53M|}
Py_GetConstantBorrowed:
 3471|      2|{
 3472|       |    // All constants are immortal
 3473|      2|    return Py_GetConstant(constant_id);
 3474|      2|}
_PyObject_VisitType:
 3495|   196k|{
 3496|   196k|    assert(op != NULL);
 3497|   196k|    PyTypeObject *tp = Py_TYPE(op);
  ------------------
  |  |  213|   196k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   196k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   196k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3498|   196k|    _PyObject_ASSERT((PyObject *)tp, PyType_HasFeature(tp, Py_TPFLAGS_HEAPTYPE));
  ------------------
  |  |  423|   196k|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|   196k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|   196k|    ((void)0)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3499|   196k|    Py_VISIT(tp);
  ------------------
  |  |  194|   196k|    do {                                                                \
  |  |  195|   196k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 196k, False: 0]
  |  |  ------------------
  |  |  196|   196k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|   196k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   196k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|   196k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 196k]
  |  |  ------------------
  |  |  198|   196k|                return vret;                                            \
  |  |  199|   196k|        }                                                               \
  |  |  200|   196k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 196k]
  |  |  ------------------
  ------------------
 3500|   196k|    return 0;
 3501|   196k|}
object.c:clear_freelist:
  904|    160|{
  905|    160|    void *ptr;
  906|  3.33k|    while ((ptr = _PyFreeList_PopNoStats(freelist)) != NULL) {
  ------------------
  |  Branch (906:12): [True: 3.17k, False: 160]
  ------------------
  907|  3.17k|        dofree(ptr);
  908|  3.17k|    }
  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|  2.90k|{
  919|  2.90k|    PyObject *op = (PyObject *)obj;
  920|  2.90k|    PyTypeObject *tp = Py_TYPE(op);
  ------------------
  |  |  213|  2.90k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.90k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.90k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  921|  2.90k|    tp->tp_free(op);
  922|  2.90k|    Py_DECREF(tp);
  ------------------
  |  |  430|  2.90k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.90k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.90k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  923|  2.90k|}
object.c:do_richcompare:
 1049|  32.3M|{
 1050|  32.3M|    richcmpfunc f;
 1051|  32.3M|    PyObject *res;
 1052|  32.3M|    int checked_reverse_op = 0;
 1053|       |
 1054|  32.3M|    if (!Py_IS_TYPE(v, Py_TYPE(w)) &&
  ------------------
  |  |  215|  64.6M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  32.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  32.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1054:9): [True: 7.04M, False: 25.2M]
  ------------------
 1055|  7.04M|        PyType_IsSubtype(Py_TYPE(w), Py_TYPE(v)) &&
  ------------------
  |  |  213|  7.04M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  7.04M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      PyType_IsSubtype(Py_TYPE(w), Py_TYPE(v)) &&
  ------------------
  |  |  213|  7.04M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  7.04M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1055:9): [True: 400, False: 7.04M]
  ------------------
 1056|    400|        (f = Py_TYPE(w)->tp_richcompare) != NULL) {
  ------------------
  |  |  213|    400|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    400|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    400|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1056:9): [True: 400, False: 0]
  ------------------
 1057|    400|        checked_reverse_op = 1;
 1058|    400|        res = (*f)(w, v, _Py_SwappedOp[op]);
 1059|    400|        if (res != Py_NotImplemented)
  ------------------
  |  |  640|    400|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1059:13): [True: 358, False: 42]
  ------------------
 1060|    358|            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|  32.3M|    if ((f = Py_TYPE(v)->tp_richcompare) != NULL) {
  ------------------
  |  |  213|  32.3M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  32.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  32.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1063:9): [True: 32.3M, False: 0]
  ------------------
 1064|  32.3M|        res = (*f)(v, w, op);
 1065|  32.3M|        if (res != Py_NotImplemented)
  ------------------
  |  |  640|  32.3M|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1065:13): [True: 29.3M, False: 2.97M]
  ------------------
 1066|  29.3M|            return res;
 1067|  2.97M|        Py_DECREF(res);
  ------------------
  |  |  430|  2.97M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.97M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.97M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1068|  2.97M|    }
 1069|  2.97M|    if (!checked_reverse_op && (f = Py_TYPE(w)->tp_richcompare) != NULL) {
  ------------------
  |  |  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 (1069:9): [True: 2.97M, False: 42]
  |  Branch (1069:32): [True: 2.97M, False: 0]
  ------------------
 1070|  2.97M|        res = (*f)(w, v, _Py_SwappedOp[op]);
 1071|  2.97M|        if (res != Py_NotImplemented)
  ------------------
  |  |  640|  2.97M|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (1071:13): [True: 13.5k, False: 2.96M]
  ------------------
 1072|  13.5k|            return res;
 1073|  2.96M|        Py_DECREF(res);
  ------------------
  |  |  430|  2.96M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.96M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.96M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1074|  2.96M|    }
 1075|       |    /* If neither object implements it, provide a sensible default
 1076|       |       for == and !=, but raise an exception for ordering. */
 1077|  2.96M|    switch (op) {
 1078|  2.96M|    case Py_EQ:
  ------------------
  |  |  654|  2.96M|#define Py_EQ 2
  ------------------
  |  Branch (1078:5): [True: 2.96M, False: 2]
  ------------------
 1079|  2.96M|        res = (v == w) ? Py_True : Py_False;
  ------------------
  |  |   26|  2.96M|#  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|  2.96M|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|  2.96M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.92M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1079:15): [True: 0, False: 2.96M]
  ------------------
 1080|  2.96M|        break;
 1081|      2|    case Py_NE:
  ------------------
  |  |  655|      2|#define Py_NE 3
  ------------------
  |  Branch (1081:5): [True: 2, False: 2.96M]
  ------------------
 1082|      2|        res = (v != w) ? Py_True : Py_False;
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      res = (v != w) ? Py_True : Py_False;
  ------------------
  |  |   25|      2|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1082:15): [True: 2, False: 0]
  ------------------
 1083|      2|        break;
 1084|      0|    default:
  ------------------
  |  Branch (1084:5): [True: 0, False: 2.96M]
  ------------------
 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|  2.96M|    }
 1092|  2.96M|    return Py_NewRef(res);
  ------------------
  |  |  550|  2.96M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.96M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.96M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1093|  2.96M|}
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__));
  ------------------
  |  |  915|     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|  27.1k|{
 2282|  27.1k|    return PyUnicode_FromString("None");
 2283|  27.1k|}
object.c:none_hash:
 2312|  43.5k|{
 2313|  43.5k|    return 0xFCA86420;
 2314|  43.5k|}
object.c:new_reference:
 2727|   179M|{
 2728|       |    // Skip the immortal object check in Py_SET_REFCNT; always set refcnt to 1
 2729|   179M|#if !defined(Py_GIL_DISABLED)
 2730|   179M|#if SIZEOF_VOID_P > 4
 2731|   179M|    op->ob_refcnt_full = 1;
 2732|   179M|    assert(op->ob_refcnt == 1);
 2733|   179M|    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|   179M|    do { \
  |  |  113|   179M|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  114|   179M|        if (tracer->tracer_func != NULL) { \
  |  |  ------------------
  |  |  |  Branch (114:13): [True: 0, False: 179M]
  |  |  ------------------
  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  117|      0|        } \
  |  |  118|   179M|    } while(0)
  |  |  ------------------
  |  |  |  Branch (118:13): [Folded, False: 179M]
  |  |  ------------------
  ------------------
 2756|   179M|}

_PyMem_RawMalloc:
   59|   324k|{
   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|   324k|    if (size == 0)
  ------------------
  |  Branch (64:9): [True: 3.29k, False: 321k]
  ------------------
   65|  3.29k|        size = 1;
   66|   324k|    return malloc(size);
   67|   324k|}
_PyMem_RawCalloc:
   71|  49.6k|{
   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|  49.6k|    if (nelem == 0 || elsize == 0) {
  ------------------
  |  Branch (76:9): [True: 0, False: 49.6k]
  |  Branch (76:23): [True: 0, False: 49.6k]
  ------------------
   77|      0|        nelem = 1;
   78|      0|        elsize = 1;
   79|      0|    }
   80|  49.6k|    return calloc(nelem, elsize);
   81|  49.6k|}
_PyMem_RawRealloc:
   85|   155k|{
   86|   155k|    if (size == 0)
  ------------------
  |  Branch (86:9): [True: 0, False: 155k]
  ------------------
   87|      0|        size = 1;
   88|   155k|    return realloc(ptr, size);
   89|   155k|}
_PyMem_RawFree:
   93|   365k|{
   94|   365k|    free(ptr);
   95|   365k|}
_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|    210|{
  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|    210|    ptr = mmap(NULL, size, PROT_READ|PROT_WRITE,
  664|    210|               MAP_PRIVATE|MAP_ANONYMOUS, -1, 0);
  665|    210|    if (ptr == MAP_FAILED)
  ------------------
  |  Branch (665:9): [True: 0, False: 210]
  ------------------
  666|      0|        return NULL;
  667|    210|    assert(ptr != NULL);
  668|    210|#ifdef MADV_HUGEPAGE
  669|    210|    (void)madvise(ptr, size, MADV_HUGEPAGE);
  670|    210|#endif
  671|    210|    (void)_PyAnnotateMemoryMap(ptr, size, "cpython:pymalloc");
  672|    210|    return ptr;
  673|       |#else
  674|       |    return malloc(size);
  675|       |#endif
  676|    210|}
_PyMem_ArenaFree:
  686|    165|{
  687|       |#ifdef MS_WINDOWS
  688|       |    /* Unlike free(), VirtualFree() does not special-case NULL to noop. */
  689|       |    if (ptr == NULL) {
  690|       |        return;
  691|       |    }
  692|       |    VirtualFree(ptr, 0, MEM_RELEASE);
  693|       |#elif defined(ARENAS_USE_MMAP)
  694|       |    /* Unlike free(), munmap() does not special-case NULL to noop. */
  695|    165|    if (ptr == NULL) {
  ------------------
  |  Branch (695:9): [True: 0, False: 165]
  ------------------
  696|      0|        return;
  697|      0|    }
  698|    165|    if (munmap(ptr, size) < 0) {
  ------------------
  |  Branch (698:9): [True: 0, False: 165]
  ------------------
  699|      0|        _Py_FatalErrorFormat(__func__,
  700|      0|                             "munmap(%p, %zu) failed with errno %d",
  701|      0|                             ptr, size, errno);
  702|      0|    }
  703|       |#else
  704|       |    free(ptr);
  705|       |#endif
  706|    165|}
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|   324k|{
 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|   324k|    if (size > (size_t)PY_SSIZE_T_MAX)
  ------------------
  |  |  137|   324k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1211:9): [True: 0, False: 324k]
  ------------------
 1212|      0|        return NULL;
 1213|   324k|    return _PyMem_Raw.malloc(_PyMem_Raw.ctx, size);
  ------------------
  |  |  714|   324k|#define _PyMem_Raw (_PyRuntime.allocators.standard.raw)
  ------------------
                  return _PyMem_Raw.malloc(_PyMem_Raw.ctx, size);
  ------------------
  |  |  714|   324k|#define _PyMem_Raw (_PyRuntime.allocators.standard.raw)
  ------------------
 1214|   324k|}
PyMem_RawCalloc:
 1218|  49.6k|{
 1219|       |    /* see PyMem_RawMalloc() */
 1220|  49.6k|    if (elsize != 0 && nelem > (size_t)PY_SSIZE_T_MAX / elsize)
  ------------------
  |  |  137|  49.6k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1220:9): [True: 49.6k, False: 0]
  |  Branch (1220:24): [True: 0, False: 49.6k]
  ------------------
 1221|      0|        return NULL;
 1222|  49.6k|    return _PyMem_Raw.calloc(_PyMem_Raw.ctx, nelem, elsize);
  ------------------
  |  |  714|  49.6k|#define _PyMem_Raw (_PyRuntime.allocators.standard.raw)
  ------------------
                  return _PyMem_Raw.calloc(_PyMem_Raw.ctx, nelem, elsize);
  ------------------
  |  |  714|  49.6k|#define _PyMem_Raw (_PyRuntime.allocators.standard.raw)
  ------------------
 1223|  49.6k|}
PyMem_RawRealloc:
 1227|   155k|{
 1228|       |    /* see PyMem_RawMalloc() */
 1229|   155k|    if (new_size > (size_t)PY_SSIZE_T_MAX)
  ------------------
  |  |  137|   155k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1229:9): [True: 0, False: 155k]
  ------------------
 1230|      0|        return NULL;
 1231|   155k|    return _PyMem_Raw.realloc(_PyMem_Raw.ctx, ptr, new_size);
  ------------------
  |  |  714|   155k|#define _PyMem_Raw (_PyRuntime.allocators.standard.raw)
  ------------------
                  return _PyMem_Raw.realloc(_PyMem_Raw.ctx, ptr, new_size);
  ------------------
  |  |  714|   155k|#define _PyMem_Raw (_PyRuntime.allocators.standard.raw)
  ------------------
 1232|   155k|}
PyMem_RawFree:
 1235|   365k|{
 1236|   365k|    _PyMem_Raw.free(_PyMem_Raw.ctx, ptr);
  ------------------
  |  |  714|   365k|#define _PyMem_Raw (_PyRuntime.allocators.standard.raw)
  ------------------
                  _PyMem_Raw.free(_PyMem_Raw.ctx, ptr);
  ------------------
  |  |  714|   365k|#define _PyMem_Raw (_PyRuntime.allocators.standard.raw)
  ------------------
 1237|   365k|}
PyMem_Malloc:
 1246|  8.29M|{
 1247|       |    /* see PyMem_RawMalloc() */
 1248|  8.29M|    if (size > (size_t)PY_SSIZE_T_MAX)
  ------------------
  |  |  137|  8.29M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1248:9): [True: 0, False: 8.29M]
  ------------------
 1249|      0|        return NULL;
 1250|  8.29M|    OBJECT_STAT_INC_COND(allocations512, size < 512);
  ------------------
  |  |   78|  8.29M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 1251|  8.29M|    OBJECT_STAT_INC_COND(allocations4k, size >= 512 && size < 4094);
  ------------------
  |  |   78|  8.29M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 1252|  8.29M|    OBJECT_STAT_INC_COND(allocations_big, size >= 4094);
  ------------------
  |  |   78|  8.29M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 1253|  8.29M|    OBJECT_STAT_INC(allocations);
  ------------------
  |  |   77|  8.29M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
 1254|  8.29M|    return _PyMem.malloc(_PyMem.ctx, size);
  ------------------
  |  |  715|  8.29M|#define _PyMem (_PyRuntime.allocators.standard.mem)
  ------------------
                  return _PyMem.malloc(_PyMem.ctx, size);
  ------------------
  |  |  715|  8.29M|#define _PyMem (_PyRuntime.allocators.standard.mem)
  ------------------
 1255|  8.29M|}
PyMem_Calloc:
 1259|  2.58M|{
 1260|       |    /* see PyMem_RawMalloc() */
 1261|  2.58M|    if (elsize != 0 && nelem > (size_t)PY_SSIZE_T_MAX / elsize)
  ------------------
  |  |  137|  2.58M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1261:9): [True: 2.58M, False: 0]
  |  Branch (1261:24): [True: 0, False: 2.58M]
  ------------------
 1262|      0|        return NULL;
 1263|  2.58M|    OBJECT_STAT_INC_COND(allocations512, elsize < 512);
  ------------------
  |  |   78|  2.58M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 1264|  2.58M|    OBJECT_STAT_INC_COND(allocations4k, elsize >= 512 && elsize < 4094);
  ------------------
  |  |   78|  2.58M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 1265|  2.58M|    OBJECT_STAT_INC_COND(allocations_big, elsize >= 4094);
  ------------------
  |  |   78|  2.58M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 1266|  2.58M|    OBJECT_STAT_INC(allocations);
  ------------------
  |  |   77|  2.58M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
 1267|  2.58M|    return _PyMem.calloc(_PyMem.ctx, nelem, elsize);
  ------------------
  |  |  715|  2.58M|#define _PyMem (_PyRuntime.allocators.standard.mem)
  ------------------
                  return _PyMem.calloc(_PyMem.ctx, nelem, elsize);
  ------------------
  |  |  715|  2.58M|#define _PyMem (_PyRuntime.allocators.standard.mem)
  ------------------
 1268|  2.58M|}
PyMem_Realloc:
 1272|  7.19M|{
 1273|       |    /* see PyMem_RawMalloc() */
 1274|  7.19M|    if (new_size > (size_t)PY_SSIZE_T_MAX)
  ------------------
  |  |  137|  7.19M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1274:9): [True: 0, False: 7.19M]
  ------------------
 1275|      0|        return NULL;
 1276|  7.19M|    return _PyMem.realloc(_PyMem.ctx, ptr, new_size);
  ------------------
  |  |  715|  7.19M|#define _PyMem (_PyRuntime.allocators.standard.mem)
  ------------------
                  return _PyMem.realloc(_PyMem.ctx, ptr, new_size);
  ------------------
  |  |  715|  7.19M|#define _PyMem (_PyRuntime.allocators.standard.mem)
  ------------------
 1277|  7.19M|}
PyMem_Free:
 1281|  15.4M|{
 1282|  15.4M|    OBJECT_STAT_INC(frees);
  ------------------
  |  |   77|  15.4M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
 1283|  15.4M|    _PyMem.free(_PyMem.ctx, ptr);
  ------------------
  |  |  715|  15.4M|#define _PyMem (_PyRuntime.allocators.standard.mem)
  ------------------
                  _PyMem.free(_PyMem.ctx, ptr);
  ------------------
  |  |  715|  15.4M|#define _PyMem (_PyRuntime.allocators.standard.mem)
  ------------------
 1284|  15.4M|}
_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|  62.5M|{
 1699|       |    /* see PyMem_RawMalloc() */
 1700|  62.5M|    if (size > (size_t)PY_SSIZE_T_MAX)
  ------------------
  |  |  137|  62.5M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1700:9): [True: 0, False: 62.5M]
  ------------------
 1701|      0|        return NULL;
 1702|  62.5M|    OBJECT_STAT_INC_COND(allocations512, size < 512);
  ------------------
  |  |   78|  62.5M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 1703|  62.5M|    OBJECT_STAT_INC_COND(allocations4k, size >= 512 && size < 4094);
  ------------------
  |  |   78|  62.5M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 1704|  62.5M|    OBJECT_STAT_INC_COND(allocations_big, size >= 4094);
  ------------------
  |  |   78|  62.5M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 1705|  62.5M|    OBJECT_STAT_INC(allocations);
  ------------------
  |  |   77|  62.5M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
 1706|  62.5M|    return _PyObject.malloc(_PyObject.ctx, size);
  ------------------
  |  |  716|  62.5M|#define _PyObject (_PyRuntime.allocators.standard.obj)
  ------------------
                  return _PyObject.malloc(_PyObject.ctx, size);
  ------------------
  |  |  716|  62.5M|#define _PyObject (_PyRuntime.allocators.standard.obj)
  ------------------
 1707|  62.5M|}
PyObject_Realloc:
 1724|  1.22M|{
 1725|       |    /* see PyMem_RawMalloc() */
 1726|  1.22M|    if (new_size > (size_t)PY_SSIZE_T_MAX)
  ------------------
  |  |  137|  1.22M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1726:9): [True: 0, False: 1.22M]
  ------------------
 1727|      0|        return NULL;
 1728|  1.22M|    return _PyObject.realloc(_PyObject.ctx, ptr, new_size);
  ------------------
  |  |  716|  1.22M|#define _PyObject (_PyRuntime.allocators.standard.obj)
  ------------------
                  return _PyObject.realloc(_PyObject.ctx, ptr, new_size);
  ------------------
  |  |  716|  1.22M|#define _PyObject (_PyRuntime.allocators.standard.obj)
  ------------------
 1729|  1.22M|}
PyObject_Free:
 1733|  62.1M|{
 1734|  62.1M|    OBJECT_STAT_INC(frees);
  ------------------
  |  |   77|  62.1M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
 1735|  62.1M|    _PyObject.free(_PyObject.ctx, ptr);
  ------------------
  |  |  716|  62.1M|#define _PyObject (_PyRuntime.allocators.standard.obj)
  ------------------
                  _PyObject.free(_PyObject.ctx, ptr);
  ------------------
  |  |  716|  62.1M|#define _PyObject (_PyRuntime.allocators.standard.obj)
  ------------------
 1736|  62.1M|}
_PyObject_Malloc:
 2539|  78.8M|{
 2540|  78.8M|    OMState *state = get_state();
 2541|  78.8M|    void* ptr = pymalloc_alloc(state, ctx, nbytes);
 2542|  78.8M|    if (LIKELY(ptr != NULL)) {
  ------------------
  |  | 1743|  78.8M|#  define LIKELY(value) __builtin_expect((value), 1)
  |  |  ------------------
  |  |  |  Branch (1743:25): [True: 78.6M, False: 238k]
  |  |  ------------------
  ------------------
 2543|  78.6M|        return ptr;
 2544|  78.6M|    }
 2545|       |
 2546|   238k|    ptr = PyMem_RawMalloc(nbytes);
 2547|   238k|    if (ptr != NULL) {
  ------------------
  |  Branch (2547:9): [True: 238k, False: 0]
  ------------------
 2548|   238k|        raw_allocated_blocks++;
  ------------------
  |  | 1793|   238k|#define raw_allocated_blocks (state->mgmt.raw_allocated_blocks)
  ------------------
 2549|   238k|    }
 2550|   238k|    return ptr;
 2551|  78.8M|}
_PyObject_Calloc:
 2556|  2.58M|{
 2557|  2.58M|    assert(elsize == 0 || nelem <= (size_t)PY_SSIZE_T_MAX / elsize);
 2558|  2.58M|    size_t nbytes = nelem * elsize;
 2559|       |
 2560|  2.58M|    OMState *state = get_state();
 2561|  2.58M|    void* ptr = pymalloc_alloc(state, ctx, nbytes);
 2562|  2.58M|    if (LIKELY(ptr != NULL)) {
  ------------------
  |  | 1743|  2.58M|#  define LIKELY(value) __builtin_expect((value), 1)
  |  |  ------------------
  |  |  |  Branch (1743:25): [True: 2.53M, False: 49.3k]
  |  |  ------------------
  ------------------
 2563|  2.53M|        memset(ptr, 0, nbytes);
 2564|  2.53M|        return ptr;
 2565|  2.53M|    }
 2566|       |
 2567|  49.3k|    ptr = PyMem_RawCalloc(nelem, elsize);
 2568|  49.3k|    if (ptr != NULL) {
  ------------------
  |  Branch (2568:9): [True: 49.3k, False: 0]
  ------------------
 2569|  49.3k|        raw_allocated_blocks++;
  ------------------
  |  | 1793|  49.3k|#define raw_allocated_blocks (state->mgmt.raw_allocated_blocks)
  ------------------
 2570|  49.3k|    }
 2571|  49.3k|    return ptr;
 2572|  2.58M|}
_PyObject_Free:
 2821|  81.1M|{
 2822|       |    /* PyObject_Free(NULL) has no effect */
 2823|  81.1M|    if (p == NULL) {
  ------------------
  |  Branch (2823:9): [True: 61.6k, False: 81.1M]
  ------------------
 2824|  61.6k|        return;
 2825|  61.6k|    }
 2826|       |
 2827|  81.1M|    OMState *state = get_state();
 2828|  81.1M|    if (UNLIKELY(!pymalloc_free(state, ctx, p))) {
  ------------------
  |  | 1742|  81.1M|#  define UNLIKELY(value) __builtin_expect((value), 0)
  |  |  ------------------
  |  |  |  Branch (1742:27): [True: 276k, False: 80.8M]
  |  |  ------------------
  ------------------
 2829|       |        /* pymalloc didn't allocate this address */
 2830|   276k|        PyMem_RawFree(p);
 2831|   276k|        raw_allocated_blocks--;
  ------------------
  |  | 1793|   276k|#define raw_allocated_blocks (state->mgmt.raw_allocated_blocks)
  ------------------
 2832|   276k|    }
 2833|  81.1M|}
_PyObject_Realloc:
 2909|  8.41M|{
 2910|  8.41M|    void *ptr2;
 2911|       |
 2912|  8.41M|    if (ptr == NULL) {
  ------------------
  |  Branch (2912:9): [True: 4.50M, False: 3.91M]
  ------------------
 2913|  4.50M|        return _PyObject_Malloc(ctx, nbytes);
 2914|  4.50M|    }
 2915|       |
 2916|  3.91M|    OMState *state = get_state();
 2917|  3.91M|    if (pymalloc_realloc(state, ctx, &ptr2, ptr, nbytes)) {
  ------------------
  |  Branch (2917:9): [True: 3.75M, False: 155k]
  ------------------
 2918|  3.75M|        return ptr2;
 2919|  3.75M|    }
 2920|       |
 2921|   155k|    return PyMem_RawRealloc(ptr, nbytes);
 2922|  3.91M|}
_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|   166M|{
 1778|   166M|    PyInterpreterState *interp = _PyInterpreterState_GET();
 1779|       |    assert(interp->obmalloc != NULL); // otherwise not initialized or freed
 1780|   166M|    return interp->obmalloc;
 1781|   166M|}
obmalloc.c:pymalloc_alloc:
 2491|  81.4M|{
 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|  81.4M|    if (UNLIKELY(nbytes == 0)) {
  ------------------
  |  | 1742|  81.4M|#  define UNLIKELY(value) __builtin_expect((value), 0)
  |  |  ------------------
  |  |  |  Branch (1742:27): [True: 3.29k, False: 81.4M]
  |  |  ------------------
  ------------------
 2502|  3.29k|        return NULL;
 2503|  3.29k|    }
 2504|  81.4M|    if (UNLIKELY(nbytes > SMALL_REQUEST_THRESHOLD)) {
  ------------------
  |  | 1742|  81.4M|#  define UNLIKELY(value) __builtin_expect((value), 0)
  |  |  ------------------
  |  |  |  Branch (1742:27): [True: 284k, False: 81.1M]
  |  |  ------------------
  ------------------
 2505|   284k|        return NULL;
 2506|   284k|    }
 2507|       |
 2508|  81.1M|    uint size = (uint)(nbytes - 1) >> ALIGNMENT_SHIFT;
  ------------------
  |  |   35|  81.1M|#define uint pymem_uint
  ------------------
                  uint size = (uint)(nbytes - 1) >> ALIGNMENT_SHIFT;
  ------------------
  |  |  139|  81.1M|#define ALIGNMENT_SHIFT         4
  ------------------
 2509|  81.1M|    poolp pool = usedpools[size + size];
  ------------------
  |  | 1784|  81.1M|#define usedpools (state->pools.used)
  ------------------
 2510|  81.1M|    pymem_block *bp;
 2511|       |
 2512|  81.1M|    if (LIKELY(pool != pool->nextpool)) {
  ------------------
  |  | 1743|  81.1M|#  define LIKELY(value) __builtin_expect((value), 1)
  |  |  ------------------
  |  |  |  Branch (1743:25): [True: 81.1M, False: 38.8k]
  |  |  ------------------
  ------------------
 2513|       |        /*
 2514|       |         * There is a used pool for this size class.
 2515|       |         * Pick up the head block of its free list.
 2516|       |         */
 2517|  81.1M|        ++pool->ref.count;
 2518|  81.1M|        bp = pool->freeblock;
 2519|  81.1M|        assert(bp != NULL);
 2520|       |
 2521|  81.1M|        if (UNLIKELY((pool->freeblock = *(pymem_block **)bp) == NULL)) {
  ------------------
  |  | 1742|  81.1M|#  define UNLIKELY(value) __builtin_expect((value), 0)
  |  |  ------------------
  |  |  |  Branch (1742:27): [True: 20.4M, False: 60.7M]
  |  |  ------------------
  ------------------
 2522|       |            // Reached the end of the free list, try to extend it.
 2523|  20.4M|            pymalloc_pool_extend(pool, size);
 2524|  20.4M|        }
 2525|  81.1M|    }
 2526|  38.8k|    else {
 2527|       |        /* There isn't a pool of the right size class immediately
 2528|       |         * available:  use a free pool.
 2529|       |         */
 2530|  38.8k|        bp = allocate_from_new_pool(state, size);
 2531|  38.8k|    }
 2532|       |
 2533|  81.1M|    return (void *)bp;
 2534|  81.4M|}
obmalloc.c:pymalloc_pool_extend:
 2333|  20.4M|{
 2334|  20.4M|    if (UNLIKELY(pool->nextoffset <= pool->maxnextoffset)) {
  ------------------
  |  | 1742|  20.4M|#  define UNLIKELY(value) __builtin_expect((value), 0)
  |  |  ------------------
  |  |  |  Branch (1742:27): [True: 4.43M, False: 16.0M]
  |  |  ------------------
  ------------------
 2335|       |        /* There is room for another block. */
 2336|  4.43M|        pool->freeblock = (pymem_block*)pool + pool->nextoffset;
 2337|  4.43M|        pool->nextoffset += INDEX2SIZE(size);
  ------------------
  |  |  146|  4.43M|#define INDEX2SIZE(I) (((pymem_uint)(I) + 1) << ALIGNMENT_SHIFT)
  |  |  ------------------
  |  |  |  |  139|  4.43M|#define ALIGNMENT_SHIFT         4
  |  |  ------------------
  ------------------
 2338|  4.43M|        *(pymem_block **)(pool->freeblock) = NULL;
 2339|  4.43M|        return;
 2340|  4.43M|    }
 2341|       |
 2342|       |    /* Pool is full, unlink from used pools. */
 2343|  16.0M|    poolp next;
 2344|  16.0M|    next = pool->nextpool;
 2345|  16.0M|    pool = pool->prevpool;
 2346|  16.0M|    next->prevpool = pool;
 2347|  16.0M|    pool->nextpool = next;
 2348|  16.0M|}
obmalloc.c:allocate_from_new_pool:
 2355|  38.8k|{
 2356|       |    /* There isn't a pool of the right size class immediately
 2357|       |     * available:  use a free pool.
 2358|       |     */
 2359|  38.8k|    if (UNLIKELY(usable_arenas == NULL)) {
  ------------------
  |  | 1742|  38.8k|#  define UNLIKELY(value) __builtin_expect((value), 0)
  |  |  ------------------
  |  |  |  Branch (1742:27): [True: 206, False: 38.6k]
  |  |  ------------------
  ------------------
 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|    206|        usable_arenas = new_arena(state);
  ------------------
  |  | 1788|    206|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2367|    206|        if (usable_arenas == NULL) {
  ------------------
  |  | 1788|    206|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
  |  Branch (2367:13): [True: 0, False: 206]
  ------------------
 2368|      0|            return NULL;
 2369|      0|        }
 2370|    206|        usable_arenas->nextarena = usable_arenas->prevarena = NULL;
  ------------------
  |  | 1788|    206|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
                      usable_arenas->nextarena = usable_arenas->prevarena = NULL;
  ------------------
  |  | 1788|    206|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2371|    206|        assert(nfp2lasta[usable_arenas->nfreepools] == NULL);
 2372|    206|        nfp2lasta[usable_arenas->nfreepools] = usable_arenas;
  ------------------
  |  | 1789|    206|#define nfp2lasta (state->mgmt.nfp2lasta)
  ------------------
                      nfp2lasta[usable_arenas->nfreepools] = usable_arenas;
  ------------------
  |  | 1788|    206|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
                      nfp2lasta[usable_arenas->nfreepools] = usable_arenas;
  ------------------
  |  | 1788|    206|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2373|    206|    }
 2374|  38.8k|    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|  38.8k|    assert(usable_arenas->nfreepools > 0);
 2382|  38.8k|    if (nfp2lasta[usable_arenas->nfreepools] == usable_arenas) {
  ------------------
  |  | 1789|  38.8k|#define nfp2lasta (state->mgmt.nfp2lasta)
  ------------------
                  if (nfp2lasta[usable_arenas->nfreepools] == usable_arenas) {
  ------------------
  |  | 1788|  38.8k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
                  if (nfp2lasta[usable_arenas->nfreepools] == usable_arenas) {
  ------------------
  |  | 1788|  38.8k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
  |  Branch (2382:9): [True: 38.8k, False: 0]
  ------------------
 2383|       |        /* It's the last of this size, so there won't be any. */
 2384|  38.8k|        nfp2lasta[usable_arenas->nfreepools] = NULL;
  ------------------
  |  | 1789|  38.8k|#define nfp2lasta (state->mgmt.nfp2lasta)
  ------------------
                      nfp2lasta[usable_arenas->nfreepools] = NULL;
  ------------------
  |  | 1788|  38.8k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2385|  38.8k|    }
 2386|       |    /* If any free pools will remain, it will be the new smallest. */
 2387|  38.8k|    if (usable_arenas->nfreepools > 1) {
  ------------------
  |  | 1788|  38.8k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
  |  Branch (2387:9): [True: 31.5k, False: 7.23k]
  ------------------
 2388|  31.5k|        assert(nfp2lasta[usable_arenas->nfreepools - 1] == NULL);
 2389|  31.5k|        nfp2lasta[usable_arenas->nfreepools - 1] = usable_arenas;
  ------------------
  |  | 1789|  31.5k|#define nfp2lasta (state->mgmt.nfp2lasta)
  ------------------
                      nfp2lasta[usable_arenas->nfreepools - 1] = usable_arenas;
  ------------------
  |  | 1788|  31.5k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
                      nfp2lasta[usable_arenas->nfreepools - 1] = usable_arenas;
  ------------------
  |  | 1788|  31.5k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2390|  31.5k|    }
 2391|       |
 2392|       |    /* Try to get a cached free pool. */
 2393|  38.8k|    poolp pool = usable_arenas->freepools;
  ------------------
  |  | 1788|  38.8k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2394|  38.8k|    if (LIKELY(pool != NULL)) {
  ------------------
  |  | 1743|  38.8k|#  define LIKELY(value) __builtin_expect((value), 1)
  |  |  ------------------
  |  |  |  Branch (1743:25): [True: 25.9k, False: 12.8k]
  |  |  ------------------
  ------------------
 2395|       |        /* Unlink from cached pools. */
 2396|  25.9k|        usable_arenas->freepools = pool->nextpool;
  ------------------
  |  | 1788|  25.9k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2397|  25.9k|        usable_arenas->nfreepools--;
  ------------------
  |  | 1788|  25.9k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2398|  25.9k|        if (UNLIKELY(usable_arenas->nfreepools == 0)) {
  ------------------
  |  | 1742|  25.9k|#  define UNLIKELY(value) __builtin_expect((value), 0)
  |  |  ------------------
  |  |  |  Branch (1742:27): [True: 7.02k, False: 18.8k]
  |  |  ------------------
  ------------------
 2399|       |            /* Wholly allocated:  remove. */
 2400|  7.02k|            assert(usable_arenas->freepools == NULL);
 2401|  7.02k|            assert(usable_arenas->nextarena == NULL ||
 2402|  7.02k|                   usable_arenas->nextarena->prevarena ==
 2403|  7.02k|                   usable_arenas);
 2404|  7.02k|            usable_arenas = usable_arenas->nextarena;
  ------------------
  |  | 1788|  7.02k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
                          usable_arenas = usable_arenas->nextarena;
  ------------------
  |  | 1788|  7.02k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2405|  7.02k|            if (usable_arenas != NULL) {
  ------------------
  |  | 1788|  7.02k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
  |  Branch (2405:17): [True: 6.93k, False: 90]
  ------------------
 2406|  6.93k|                usable_arenas->prevarena = NULL;
  ------------------
  |  | 1788|  6.93k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2407|  6.93k|                assert(usable_arenas->address != 0);
 2408|  6.93k|            }
 2409|  7.02k|        }
 2410|  18.8k|        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|  18.8k|            assert(usable_arenas->freepools != NULL ||
 2417|  18.8k|                   usable_arenas->pool_address <=
 2418|  18.8k|                   (pymem_block*)usable_arenas->address +
 2419|  18.8k|                       ARENA_SIZE - POOL_SIZE);
 2420|  18.8k|        }
 2421|  25.9k|    }
 2422|  12.8k|    else {
 2423|       |        /* Carve off a new pool. */
 2424|  12.8k|        assert(usable_arenas->nfreepools > 0);
 2425|  12.8k|        assert(usable_arenas->freepools == NULL);
 2426|  12.8k|        pool = (poolp)usable_arenas->pool_address;
  ------------------
  |  | 1788|  12.8k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2427|  12.8k|        assert((pymem_block*)pool <= (pymem_block*)usable_arenas->address +
 2428|  12.8k|                                 ARENA_SIZE - POOL_SIZE);
 2429|  12.8k|        pool->arenaindex = (uint)(usable_arenas - allarenas);
  ------------------
  |  | 1788|  12.8k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
                      pool->arenaindex = (uint)(usable_arenas - allarenas);
  ------------------
  |  | 1785|  12.8k|#define allarenas (state->mgmt.arenas)
  ------------------
 2430|  12.8k|        assert(&allarenas[pool->arenaindex] == usable_arenas);
 2431|  12.8k|        pool->szidx = DUMMY_SIZE_IDX;
  ------------------
  |  |  321|  12.8k|#define DUMMY_SIZE_IDX          0xffff  /* size class of newly cached pools */
  ------------------
 2432|  12.8k|        usable_arenas->pool_address += POOL_SIZE;
  ------------------
  |  | 1788|  12.8k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
                      usable_arenas->pool_address += POOL_SIZE;
  ------------------
  |  |  240|  12.8k|#define POOL_SIZE               (1 << POOL_BITS)
  |  |  ------------------
  |  |  |  |  236|  12.8k|#define POOL_BITS               14                  /* 16 KiB */
  |  |  ------------------
  ------------------
 2433|  12.8k|        --usable_arenas->nfreepools;
  ------------------
  |  | 1788|  12.8k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2434|       |
 2435|  12.8k|        if (usable_arenas->nfreepools == 0) {
  ------------------
  |  | 1788|  12.8k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
  |  Branch (2435:13): [True: 204, False: 12.6k]
  ------------------
 2436|    204|            assert(usable_arenas->nextarena == NULL ||
 2437|    204|                   usable_arenas->nextarena->prevarena ==
 2438|    204|                   usable_arenas);
 2439|       |            /* Unlink the arena:  it is completely allocated. */
 2440|    204|            usable_arenas = usable_arenas->nextarena;
  ------------------
  |  | 1788|    204|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
                          usable_arenas = usable_arenas->nextarena;
  ------------------
  |  | 1788|    204|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2441|    204|            if (usable_arenas != NULL) {
  ------------------
  |  | 1788|    204|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
  |  Branch (2441:17): [True: 0, False: 204]
  ------------------
 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|    204|        }
 2446|  12.8k|    }
 2447|       |
 2448|       |    /* Frontlink to used pools. */
 2449|  38.8k|    pymem_block *bp;
 2450|  38.8k|    poolp next = usedpools[size + size]; /* == prev */
  ------------------
  |  | 1784|  38.8k|#define usedpools (state->pools.used)
  ------------------
 2451|  38.8k|    pool->nextpool = next;
 2452|  38.8k|    pool->prevpool = next;
 2453|  38.8k|    next->nextpool = pool;
 2454|  38.8k|    next->prevpool = pool;
 2455|  38.8k|    pool->ref.count = 1;
 2456|  38.8k|    if (pool->szidx == size) {
  ------------------
  |  Branch (2456:9): [True: 24.6k, False: 14.1k]
  ------------------
 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|  24.6k|        bp = pool->freeblock;
 2462|  24.6k|        assert(bp != NULL);
 2463|  24.6k|        pool->freeblock = *(pymem_block **)bp;
 2464|  24.6k|        return bp;
 2465|  24.6k|    }
 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|  14.1k|    pool->szidx = size;
 2472|  14.1k|    size = INDEX2SIZE(size);
  ------------------
  |  |  146|  14.1k|#define INDEX2SIZE(I) (((pymem_uint)(I) + 1) << ALIGNMENT_SHIFT)
  |  |  ------------------
  |  |  |  |  139|  14.1k|#define ALIGNMENT_SHIFT         4
  |  |  ------------------
  ------------------
 2473|  14.1k|    bp = (pymem_block *)pool + POOL_OVERHEAD;
  ------------------
  |  |  319|  14.1k|#define POOL_OVERHEAD   _Py_SIZE_ROUND_UP(sizeof(struct pool_header), ALIGNMENT)
  |  |  ------------------
  |  |  |  |  213|  14.1k|#define _Py_SIZE_ROUND_UP(n, a) (((size_t)(n) + \
  |  |  |  |  214|  14.1k|        (size_t)((a) - 1)) & ~(size_t)((a) - 1))
  |  |  ------------------
  ------------------
 2474|  14.1k|    pool->nextoffset = POOL_OVERHEAD + (size << 1);
  ------------------
  |  |  319|  14.1k|#define POOL_OVERHEAD   _Py_SIZE_ROUND_UP(sizeof(struct pool_header), ALIGNMENT)
  |  |  ------------------
  |  |  |  |  213|  14.1k|#define _Py_SIZE_ROUND_UP(n, a) (((size_t)(n) + \
  |  |  |  |  214|  14.1k|        (size_t)((a) - 1)) & ~(size_t)((a) - 1))
  |  |  ------------------
  ------------------
 2475|  14.1k|    pool->maxnextoffset = POOL_SIZE - size;
  ------------------
  |  |  240|  14.1k|#define POOL_SIZE               (1 << POOL_BITS)
  |  |  ------------------
  |  |  |  |  236|  14.1k|#define POOL_BITS               14                  /* 16 KiB */
  |  |  ------------------
  ------------------
 2476|  14.1k|    pool->freeblock = bp + size;
 2477|       |    *(pymem_block **)(pool->freeblock) = NULL;
 2478|  14.1k|    return bp;
 2479|  38.8k|}
obmalloc.c:new_arena:
 2121|    206|{
 2122|    206|    struct arena_object* arenaobj;
 2123|    206|    uint excess;        /* number of bytes above pool alignment */
  ------------------
  |  |   35|    206|#define uint pymem_uint
  ------------------
 2124|    206|    void *address;
 2125|       |
 2126|    206|    int debug_stats = _PyRuntime.obmalloc.dump_debug_stats;
 2127|    206|    if (debug_stats == -1) {
  ------------------
  |  Branch (2127:9): [True: 2, False: 204]
  ------------------
 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|    206|    if (debug_stats) {
  ------------------
  |  Branch (2132:9): [True: 0, False: 206]
  ------------------
 2133|      0|        _PyObject_DebugMallocStats(stderr);
 2134|      0|    }
 2135|       |
 2136|    206|    if (unused_arena_objects == NULL) {
  ------------------
  |  | 1787|    206|#define unused_arena_objects (state->mgmt.unused_arena_objects)
  ------------------
  |  Branch (2136:9): [True: 7, False: 199]
  ------------------
 2137|      7|        uint i;
  ------------------
  |  |   35|      7|#define uint pymem_uint
  ------------------
 2138|      7|        uint numarenas;
  ------------------
  |  |   35|      7|#define uint pymem_uint
  ------------------
 2139|      7|        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|      7|        numarenas = maxarenas ? maxarenas << 1 : INITIAL_ARENA_OBJECTS;
  ------------------
  |  | 1786|      7|#define maxarenas (state->mgmt.maxarenas)
  |  |  ------------------
  |  |  |  Branch (1786:19): [True: 5, False: 2]
  |  |  ------------------
  ------------------
                      numarenas = maxarenas ? maxarenas << 1 : INITIAL_ARENA_OBJECTS;
  ------------------
  |  | 1786|      5|#define maxarenas (state->mgmt.maxarenas)
  ------------------
                      numarenas = maxarenas ? maxarenas << 1 : INITIAL_ARENA_OBJECTS;
  ------------------
  |  |  485|      9|#define INITIAL_ARENA_OBJECTS 16
  ------------------
 2145|      7|        if (numarenas <= maxarenas)
  ------------------
  |  | 1786|      7|#define maxarenas (state->mgmt.maxarenas)
  ------------------
  |  Branch (2145:13): [True: 0, False: 7]
  ------------------
 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|      7|        nbytes = numarenas * sizeof(*allarenas);
  ------------------
  |  | 1785|      7|#define allarenas (state->mgmt.arenas)
  ------------------
 2152|      7|        arenaobj = (struct arena_object *)PyMem_RawRealloc(allarenas, nbytes);
  ------------------
  |  | 1785|      7|#define allarenas (state->mgmt.arenas)
  ------------------
 2153|      7|        if (arenaobj == NULL)
  ------------------
  |  Branch (2153:13): [True: 0, False: 7]
  ------------------
 2154|      0|            return NULL;
 2155|      7|        allarenas = arenaobj;
  ------------------
  |  | 1785|      7|#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|      7|        assert(usable_arenas == NULL);
 2164|      7|        assert(unused_arena_objects == NULL);
 2165|       |
 2166|       |        /* Put the new arenas on the unused_arena_objects list. */
 2167|    295|        for (i = maxarenas; i < numarenas; ++i) {
  ------------------
  |  | 1786|      7|#define maxarenas (state->mgmt.maxarenas)
  ------------------
  |  Branch (2167:29): [True: 288, False: 7]
  ------------------
 2168|    288|            allarenas[i].address = 0;              /* mark as unassociated */
  ------------------
  |  | 1785|    288|#define allarenas (state->mgmt.arenas)
  ------------------
 2169|    288|            allarenas[i].nextarena = i < numarenas - 1 ?
  ------------------
  |  | 1785|    288|#define allarenas (state->mgmt.arenas)
  ------------------
  |  Branch (2169:38): [True: 281, False: 7]
  ------------------
 2170|    288|                                        &allarenas[i+1] : NULL;
  ------------------
  |  | 1785|    281|#define allarenas (state->mgmt.arenas)
  ------------------
 2171|    288|        }
 2172|       |
 2173|       |        /* Update globals. */
 2174|      7|        unused_arena_objects = &allarenas[maxarenas];
  ------------------
  |  | 1787|      7|#define unused_arena_objects (state->mgmt.unused_arena_objects)
  ------------------
                      unused_arena_objects = &allarenas[maxarenas];
  ------------------
  |  | 1785|      7|#define allarenas (state->mgmt.arenas)
  ------------------
                      unused_arena_objects = &allarenas[maxarenas];
  ------------------
  |  | 1786|      7|#define maxarenas (state->mgmt.maxarenas)
  ------------------
 2175|      7|        maxarenas = numarenas;
  ------------------
  |  | 1786|      7|#define maxarenas (state->mgmt.maxarenas)
  ------------------
 2176|      7|    }
 2177|       |
 2178|       |    /* Take the next available arena object off the head of the list. */
 2179|    206|    assert(unused_arena_objects != NULL);
 2180|    206|    arenaobj = unused_arena_objects;
  ------------------
  |  | 1787|    206|#define unused_arena_objects (state->mgmt.unused_arena_objects)
  ------------------
 2181|    206|    unused_arena_objects = arenaobj->nextarena;
  ------------------
  |  | 1787|    206|#define unused_arena_objects (state->mgmt.unused_arena_objects)
  ------------------
 2182|    206|    assert(arenaobj->address == 0);
 2183|    206|    address = _PyObject_Arena.alloc(_PyObject_Arena.ctx, ARENA_SIZE);
  ------------------
  |  |  718|    206|#define _PyObject_Arena (_PyRuntime.allocators.obj_arena)
  ------------------
                  address = _PyObject_Arena.alloc(_PyObject_Arena.ctx, ARENA_SIZE);
  ------------------
  |  |  718|    206|#define _PyObject_Arena (_PyRuntime.allocators.obj_arena)
  ------------------
                  address = _PyObject_Arena.alloc(_PyObject_Arena.ctx, ARENA_SIZE);
  ------------------
  |  |  225|    206|#define ARENA_SIZE              (1 << ARENA_BITS)
  |  |  ------------------
  |  |  |  |  220|    206|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  ------------------
  ------------------
 2184|    206|#if WITH_PYMALLOC_RADIX_TREE
 2185|    206|    if (address != NULL) {
  ------------------
  |  Branch (2185:9): [True: 206, False: 0]
  ------------------
 2186|    206|        if (!arena_map_mark_used(state, (uintptr_t)address, 1)) {
  ------------------
  |  Branch (2186:13): [True: 0, False: 206]
  ------------------
 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|    206|    }
 2192|    206|#endif
 2193|    206|    if (address == NULL) {
  ------------------
  |  Branch (2193:9): [True: 0, False: 206]
  ------------------
 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|    206|    arenaobj->address = (uintptr_t)address;
 2202|       |
 2203|    206|    ++narenas_currently_allocated;
  ------------------
  |  | 1790|    206|#define narenas_currently_allocated (state->mgmt.narenas_currently_allocated)
  ------------------
 2204|    206|    ++ntimes_arena_allocated;
  ------------------
  |  | 1791|    206|#define ntimes_arena_allocated (state->mgmt.ntimes_arena_allocated)
  ------------------
 2205|    206|    if (narenas_currently_allocated > narenas_highwater)
  ------------------
  |  | 1790|    206|#define narenas_currently_allocated (state->mgmt.narenas_currently_allocated)
  ------------------
                  if (narenas_currently_allocated > narenas_highwater)
  ------------------
  |  | 1792|    206|#define narenas_highwater (state->mgmt.narenas_highwater)
  ------------------
  |  Branch (2205:9): [True: 179, False: 27]
  ------------------
 2206|    179|        narenas_highwater = narenas_currently_allocated;
  ------------------
  |  | 1792|    179|#define narenas_highwater (state->mgmt.narenas_highwater)
  ------------------
                      narenas_highwater = narenas_currently_allocated;
  ------------------
  |  | 1790|    179|#define narenas_currently_allocated (state->mgmt.narenas_currently_allocated)
  ------------------
 2207|    206|    arenaobj->freepools = NULL;
 2208|       |    /* pool_address <- first pool-aligned address in the arena
 2209|       |       nfreepools <- number of whole pools that fit after alignment */
 2210|    206|    arenaobj->pool_address = (pymem_block*)arenaobj->address;
 2211|    206|    arenaobj->nfreepools = MAX_POOLS_IN_ARENA;
  ------------------
  |  |  249|    206|#define MAX_POOLS_IN_ARENA  (ARENA_SIZE / POOL_SIZE)
  |  |  ------------------
  |  |  |  |  225|    206|#define ARENA_SIZE              (1 << ARENA_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  220|    206|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define MAX_POOLS_IN_ARENA  (ARENA_SIZE / POOL_SIZE)
  |  |  ------------------
  |  |  |  |  240|    206|#define POOL_SIZE               (1 << POOL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  236|    206|#define POOL_BITS               14                  /* 16 KiB */
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2212|    206|    excess = (uint)(arenaobj->address & POOL_SIZE_MASK);
  ------------------
  |  |  241|    206|#define POOL_SIZE_MASK          (POOL_SIZE - 1)
  |  |  ------------------
  |  |  |  |  240|    206|#define POOL_SIZE               (1 << POOL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  236|    206|#define POOL_BITS               14                  /* 16 KiB */
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2213|    206|    if (excess != 0) {
  ------------------
  |  Branch (2213:9): [True: 174, False: 32]
  ------------------
 2214|    174|        --arenaobj->nfreepools;
 2215|    174|        arenaobj->pool_address += POOL_SIZE - excess;
  ------------------
  |  |  240|    174|#define POOL_SIZE               (1 << POOL_BITS)
  |  |  ------------------
  |  |  |  |  236|    174|#define POOL_BITS               14                  /* 16 KiB */
  |  |  ------------------
  ------------------
 2216|    174|    }
 2217|    206|    arenaobj->ntotalpools = arenaobj->nfreepools;
 2218|       |
 2219|    206|    return arenaobj;
 2220|    206|}
obmalloc.c:arena_map_mark_used:
 2050|    371|{
 2051|       |    /* sanity check that IGNORE_BITS is correct */
 2052|    371|    assert(HIGH_BITS(arena_base) == HIGH_BITS(&arena_map_root));
 2053|    371|    arena_map_bot_t *n_hi = arena_map_get(
 2054|    371|            state, (pymem_block *)arena_base, is_used);
 2055|    371|    if (n_hi == NULL) {
  ------------------
  |  Branch (2055:9): [True: 0, False: 371]
  ------------------
 2056|      0|        assert(is_used); /* otherwise node should already exist */
 2057|      0|        return 0; /* failed to allocate space for node */
 2058|      0|    }
 2059|    371|    int i3 = MAP_BOT_INDEX((pymem_block *)arena_base);
  ------------------
  |  |  625|    371|#define MAP_BOT_INDEX(p) ((AS_UINT(p) >> MAP_BOT_SHIFT) & MAP_BOT_MASK)
  |  |  ------------------
  |  |  |  |  624|    371|#define AS_UINT(p) ((uintptr_t)(p))
  |  |  ------------------
  |  |               #define MAP_BOT_INDEX(p) ((AS_UINT(p) >> MAP_BOT_SHIFT) & MAP_BOT_MASK)
  |  |  ------------------
  |  |  |  |  620|    371|#define MAP_BOT_SHIFT ARENA_BITS
  |  |  |  |  ------------------
  |  |  |  |  |  |  220|    371|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define MAP_BOT_INDEX(p) ((AS_UINT(p) >> MAP_BOT_SHIFT) & MAP_BOT_MASK)
  |  |  ------------------
  |  |  |  |  618|    371|#define MAP_BOT_MASK (MAP_BOT_LENGTH - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  617|    371|#define MAP_BOT_LENGTH (1 << MAP_BOT_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  616|    371|#define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  599|    371|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  565|    371|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  576|    371|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  220|    371|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  603|    371|#define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  599|    371|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  565|    371|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  576|    371|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  220|    371|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2060|    371|    int32_t tail = (int32_t)(arena_base & ARENA_SIZE_MASK);
  ------------------
  |  |  226|    371|#define ARENA_SIZE_MASK         (ARENA_SIZE - 1)
  |  |  ------------------
  |  |  |  |  225|    371|#define ARENA_SIZE              (1 << ARENA_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  220|    371|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2061|    371|    if (tail == 0) {
  ------------------
  |  Branch (2061:9): [True: 4, False: 367]
  ------------------
 2062|       |        /* is ideal arena address */
 2063|      4|        n_hi->arenas[i3].tail_hi = is_used ? -1 : 0;
  ------------------
  |  Branch (2063:36): [True: 4, False: 0]
  ------------------
 2064|      4|    }
 2065|    367|    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|    367|        n_hi->arenas[i3].tail_hi = is_used ? tail : 0;
  ------------------
  |  Branch (2072:36): [True: 202, False: 165]
  ------------------
 2073|    367|        uintptr_t arena_base_next = arena_base + ARENA_SIZE;
  ------------------
  |  |  225|    367|#define ARENA_SIZE              (1 << ARENA_BITS)
  |  |  ------------------
  |  |  |  |  220|    367|#    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|    367|        assert(arena_base < arena_base_next);
 2079|    367|        arena_map_bot_t *n_lo = arena_map_get(
 2080|    367|                state, (pymem_block *)arena_base_next, is_used);
 2081|    367|        if (n_lo == NULL) {
  ------------------
  |  Branch (2081:13): [True: 0, False: 367]
  ------------------
 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|    367|        int i3_next = MAP_BOT_INDEX(arena_base_next);
  ------------------
  |  |  625|    367|#define MAP_BOT_INDEX(p) ((AS_UINT(p) >> MAP_BOT_SHIFT) & MAP_BOT_MASK)
  |  |  ------------------
  |  |  |  |  624|    367|#define AS_UINT(p) ((uintptr_t)(p))
  |  |  ------------------
  |  |               #define MAP_BOT_INDEX(p) ((AS_UINT(p) >> MAP_BOT_SHIFT) & MAP_BOT_MASK)
  |  |  ------------------
  |  |  |  |  620|    367|#define MAP_BOT_SHIFT ARENA_BITS
  |  |  |  |  ------------------
  |  |  |  |  |  |  220|    367|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define MAP_BOT_INDEX(p) ((AS_UINT(p) >> MAP_BOT_SHIFT) & MAP_BOT_MASK)
  |  |  ------------------
  |  |  |  |  618|    367|#define MAP_BOT_MASK (MAP_BOT_LENGTH - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  617|    367|#define MAP_BOT_LENGTH (1 << MAP_BOT_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  616|    367|#define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  599|    367|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  565|    367|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  576|    367|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  220|    367|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  603|    367|#define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  599|    367|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  565|    367|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  576|    367|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  220|    367|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2087|    367|        n_lo->arenas[i3_next].tail_lo = is_used ? tail : 0;
  ------------------
  |  Branch (2087:41): [True: 202, False: 165]
  ------------------
 2088|    367|    }
 2089|    371|    return 1;
 2090|    371|}
obmalloc.c:arena_map_get:
 1989|  85.0M|{
 1990|  85.0M|#ifdef USE_INTERIOR_NODES
 1991|       |    /* sanity check that IGNORE_BITS is correct */
 1992|  85.0M|    assert(HIGH_BITS(p) == HIGH_BITS(&arena_map_root));
 1993|  85.0M|    int i1 = MAP_TOP_INDEX(p);
  ------------------
  |  |  627|  85.0M|#define MAP_TOP_INDEX(p) ((AS_UINT(p) >> MAP_TOP_SHIFT) & MAP_TOP_MASK)
  |  |  ------------------
  |  |  |  |  624|  85.0M|#define AS_UINT(p) ((uintptr_t)(p))
  |  |  ------------------
  |  |               #define MAP_TOP_INDEX(p) ((AS_UINT(p) >> MAP_TOP_SHIFT) & MAP_TOP_MASK)
  |  |  ------------------
  |  |  |  |  622|  85.0M|#define MAP_TOP_SHIFT (MAP_MID_BITS + MAP_MID_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |  612|  85.0M|#define MAP_MID_BITS INTERIOR_BITS
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  603|  85.0M|#define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  599|  85.0M|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  565|  85.0M|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  576|  85.0M|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  220|  85.0M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define MAP_TOP_SHIFT (MAP_MID_BITS + MAP_MID_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |  621|  85.0M|#define MAP_MID_SHIFT (MAP_BOT_BITS + MAP_BOT_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  616|  85.0M|#define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  599|  85.0M|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  565|  85.0M|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  576|  85.0M|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  220|  85.0M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  603|  85.0M|#define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  599|  85.0M|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  565|  85.0M|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  576|  85.0M|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  220|  85.0M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define MAP_MID_SHIFT (MAP_BOT_BITS + MAP_BOT_SHIFT)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  620|  85.0M|#define MAP_BOT_SHIFT ARENA_BITS
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  220|  85.0M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define MAP_TOP_INDEX(p) ((AS_UINT(p) >> MAP_TOP_SHIFT) & MAP_TOP_MASK)
  |  |  ------------------
  |  |  |  |  610|  85.0M|#define MAP_TOP_MASK (MAP_TOP_LENGTH - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  609|  85.0M|#define MAP_TOP_LENGTH (1 << MAP_TOP_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  608|  85.0M|#define MAP_TOP_BITS INTERIOR_BITS
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  603|  85.0M|#define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  599|  85.0M|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  565|  85.0M|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  576|  85.0M|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  220|  85.0M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1994|  85.0M|    if (arena_map_root.ptrs[i1] == NULL) {
  ------------------
  |  | 1979|  85.0M|#define arena_map_root (state->usage.arena_map_root)
  ------------------
  |  Branch (1994:9): [True: 2, False: 85.0M]
  ------------------
 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|  85.0M|    int i2 = MAP_MID_INDEX(p);
  ------------------
  |  |  626|  85.0M|#define MAP_MID_INDEX(p) ((AS_UINT(p) >> MAP_MID_SHIFT) & MAP_MID_MASK)
  |  |  ------------------
  |  |  |  |  624|  85.0M|#define AS_UINT(p) ((uintptr_t)(p))
  |  |  ------------------
  |  |               #define MAP_MID_INDEX(p) ((AS_UINT(p) >> MAP_MID_SHIFT) & MAP_MID_MASK)
  |  |  ------------------
  |  |  |  |  621|  85.0M|#define MAP_MID_SHIFT (MAP_BOT_BITS + MAP_BOT_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |  616|  85.0M|#define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  599|  85.0M|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  565|  85.0M|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  576|  85.0M|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  220|  85.0M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  603|  85.0M|#define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  599|  85.0M|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  565|  85.0M|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  576|  85.0M|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  220|  85.0M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define MAP_MID_SHIFT (MAP_BOT_BITS + MAP_BOT_SHIFT)
  |  |  |  |  ------------------
  |  |  |  |  |  |  620|  85.0M|#define MAP_BOT_SHIFT ARENA_BITS
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  220|  85.0M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define MAP_MID_INDEX(p) ((AS_UINT(p) >> MAP_MID_SHIFT) & MAP_MID_MASK)
  |  |  ------------------
  |  |  |  |  614|  85.0M|#define MAP_MID_MASK (MAP_MID_LENGTH - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  613|  85.0M|#define MAP_MID_LENGTH (1 << MAP_MID_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  612|  85.0M|#define MAP_MID_BITS INTERIOR_BITS
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  603|  85.0M|#define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  599|  85.0M|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  565|  85.0M|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  576|  85.0M|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  220|  85.0M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2006|  85.0M|    if (arena_map_root.ptrs[i1]->ptrs[i2] == NULL) {
  ------------------
  |  | 1979|  85.0M|#define arena_map_root (state->usage.arena_map_root)
  ------------------
  |  Branch (2006:9): [True: 432k, False: 84.6M]
  ------------------
 2007|   432k|        if (!create) {
  ------------------
  |  Branch (2007:13): [True: 432k, False: 2]
  ------------------
 2008|   432k|            return NULL;
 2009|   432k|        }
 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|  84.6M|    return arena_map_root.ptrs[i1]->ptrs[i2];
  ------------------
  |  | 1979|  84.6M|#define arena_map_root (state->usage.arena_map_root)
  ------------------
 2018|       |#else
 2019|       |    return &arena_map_root;
 2020|       |#endif
 2021|  85.0M|}
obmalloc.c:pymalloc_free:
 2763|  81.1M|{
 2764|  81.1M|    assert(p != NULL);
 2765|       |
 2766|       |#ifdef WITH_VALGRIND
 2767|       |    if (UNLIKELY(running_on_valgrind > 0)) {
 2768|       |        return 0;
 2769|       |    }
 2770|       |#endif
 2771|       |
 2772|  81.1M|    poolp pool = POOL_ADDR(p);
  ------------------
  |  |  324|  81.1M|#define POOL_ADDR(P) ((poolp)_Py_ALIGN_DOWN((P), POOL_SIZE))
  |  |  ------------------
  |  |  |  |  216|  81.1M|#define _Py_ALIGN_DOWN(p, a) ((void *)((uintptr_t)(p) & ~(uintptr_t)((a) - 1)))
  |  |  ------------------
  ------------------
 2773|  81.1M|    if (UNLIKELY(!address_in_range(state, p, pool))) {
  ------------------
  |  | 1742|  81.1M|#  define UNLIKELY(value) __builtin_expect((value), 0)
  |  |  ------------------
  |  |  |  Branch (1742:27): [True: 276k, False: 80.8M]
  |  |  ------------------
  ------------------
 2774|   276k|        return 0;
 2775|   276k|    }
 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|  81.1M|    assert(pool->ref.count > 0);            /* else it was empty */
 2785|  80.8M|    pymem_block *lastfree = pool->freeblock;
 2786|  80.8M|    *(pymem_block **)p = lastfree;
 2787|  80.8M|    pool->freeblock = (pymem_block *)p;
 2788|  80.8M|    pool->ref.count--;
 2789|       |
 2790|  80.8M|    if (UNLIKELY(lastfree == NULL)) {
  ------------------
  |  | 1742|  80.8M|#  define UNLIKELY(value) __builtin_expect((value), 0)
  |  |  ------------------
  |  |  |  Branch (1742:27): [True: 16.0M, False: 64.8M]
  |  |  ------------------
  ------------------
 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|  16.0M|        insert_to_usedpool(state, pool);
 2798|  16.0M|        return 1;
 2799|  16.0M|    }
 2800|       |
 2801|       |    /* freeblock wasn't NULL, so the pool wasn't full,
 2802|       |     * and the pool is in a usedpools[] list.
 2803|       |     */
 2804|  64.8M|    if (LIKELY(pool->ref.count != 0)) {
  ------------------
  |  | 1743|  64.8M|#  define LIKELY(value) __builtin_expect((value), 1)
  |  |  ------------------
  |  |  |  Branch (1743:25): [True: 64.8M, False: 36.6k]
  |  |  ------------------
  ------------------
 2805|       |        /* pool isn't empty:  leave it in usedpools */
 2806|  64.8M|        return 1;
 2807|  64.8M|    }
 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|  36.6k|    insert_to_freepool(state, pool);
 2815|  36.6k|    return 1;
 2816|  64.8M|}
obmalloc.c:address_in_range:
 2230|  85.0M|{
 2231|  85.0M|    return arena_map_is_used(state, p);
 2232|  85.0M|}
obmalloc.c:arena_map_is_used:
 2096|  85.0M|{
 2097|  85.0M|    arena_map_bot_t *n = arena_map_get(state, p, 0);
 2098|  85.0M|    if (n == NULL) {
  ------------------
  |  Branch (2098:9): [True: 432k, False: 84.6M]
  ------------------
 2099|   432k|        return 0;
 2100|   432k|    }
 2101|  84.6M|    int i3 = MAP_BOT_INDEX(p);
  ------------------
  |  |  625|  84.6M|#define MAP_BOT_INDEX(p) ((AS_UINT(p) >> MAP_BOT_SHIFT) & MAP_BOT_MASK)
  |  |  ------------------
  |  |  |  |  624|  84.6M|#define AS_UINT(p) ((uintptr_t)(p))
  |  |  ------------------
  |  |               #define MAP_BOT_INDEX(p) ((AS_UINT(p) >> MAP_BOT_SHIFT) & MAP_BOT_MASK)
  |  |  ------------------
  |  |  |  |  620|  84.6M|#define MAP_BOT_SHIFT ARENA_BITS
  |  |  |  |  ------------------
  |  |  |  |  |  |  220|  84.6M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define MAP_BOT_INDEX(p) ((AS_UINT(p) >> MAP_BOT_SHIFT) & MAP_BOT_MASK)
  |  |  ------------------
  |  |  |  |  618|  84.6M|#define MAP_BOT_MASK (MAP_BOT_LENGTH - 1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  617|  84.6M|#define MAP_BOT_LENGTH (1 << MAP_BOT_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  616|  84.6M|#define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  599|  84.6M|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  565|  84.6M|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  576|  84.6M|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  220|  84.6M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define MAP_BOT_BITS (ADDRESS_BITS - ARENA_BITS - 2*INTERIOR_BITS)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  603|  84.6M|#define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  599|  84.6M|#define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  565|  84.6M|#define POINTER_BITS 64
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |               #define ADDRESS_BITS (POINTER_BITS - IGNORE_BITS)
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |  576|  84.6M|#define IGNORE_BITS 0
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |               #define INTERIOR_BITS ((ADDRESS_BITS - ARENA_BITS + 2) / 3)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  220|  84.6M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2102|       |    /* ARENA_BITS must be < 32 so that the tail is a non-negative int32_t. */
 2103|  84.6M|    int32_t hi = n->arenas[i3].tail_hi;
 2104|  84.6M|    int32_t lo = n->arenas[i3].tail_lo;
 2105|  84.6M|    int32_t tail = (int32_t)(AS_UINT(p) & ARENA_SIZE_MASK);
  ------------------
  |  |  624|  84.6M|#define AS_UINT(p) ((uintptr_t)(p))
  ------------------
                  int32_t tail = (int32_t)(AS_UINT(p) & ARENA_SIZE_MASK);
  ------------------
  |  |  226|  84.6M|#define ARENA_SIZE_MASK         (ARENA_SIZE - 1)
  |  |  ------------------
  |  |  |  |  225|  84.6M|#define ARENA_SIZE              (1 << ARENA_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  220|  84.6M|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2106|  84.6M|    return (tail < lo) || (tail >= hi && hi != 0);
  ------------------
  |  Branch (2106:12): [True: 12.8M, False: 71.7M]
  |  Branch (2106:28): [True: 71.7M, False: 14]
  |  Branch (2106:42): [True: 71.7M, False: 78]
  ------------------
 2107|  85.0M|}
obmalloc.c:insert_to_usedpool:
 2577|  16.0M|{
 2578|  16.0M|    assert(pool->ref.count > 0);            /* else the pool is empty */
 2579|       |
 2580|  16.0M|    uint size = pool->szidx;
  ------------------
  |  |   35|  16.0M|#define uint pymem_uint
  ------------------
 2581|  16.0M|    poolp next = usedpools[size + size];
  ------------------
  |  | 1784|  16.0M|#define usedpools (state->pools.used)
  ------------------
 2582|  16.0M|    poolp prev = next->prevpool;
 2583|       |
 2584|       |    /* insert pool before next:   prev <-> pool <-> next */
 2585|  16.0M|    pool->nextpool = next;
 2586|  16.0M|    pool->prevpool = prev;
 2587|  16.0M|    next->prevpool = pool;
 2588|  16.0M|    prev->nextpool = pool;
 2589|  16.0M|}
obmalloc.c:insert_to_freepool:
 2593|  36.6k|{
 2594|  36.6k|    poolp next = pool->nextpool;
 2595|  36.6k|    poolp prev = pool->prevpool;
 2596|  36.6k|    next->prevpool = prev;
 2597|  36.6k|    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|  36.6k|    struct arena_object *ao = &allarenas[pool->arenaindex];
  ------------------
  |  | 1785|  36.6k|#define allarenas (state->mgmt.arenas)
  ------------------
 2603|  36.6k|    pool->nextpool = ao->freepools;
 2604|  36.6k|    ao->freepools = pool;
 2605|  36.6k|    uint nf = ao->nfreepools;
  ------------------
  |  |   35|  36.6k|#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|  36.6k|    struct arena_object* lastnf = nfp2lasta[nf];
  ------------------
  |  | 1789|  36.6k|#define nfp2lasta (state->mgmt.nfp2lasta)
  ------------------
 2611|  36.6k|    assert((nf == 0 && lastnf == NULL) ||
 2612|  36.6k|           (nf > 0 &&
 2613|  36.6k|            lastnf != NULL &&
 2614|  36.6k|            lastnf->nfreepools == nf &&
 2615|  36.6k|            (lastnf->nextarena == NULL ||
 2616|  36.6k|             nf < lastnf->nextarena->nfreepools)));
 2617|  36.6k|    if (lastnf == ao) {  /* it is the rightmost */
  ------------------
  |  Branch (2617:9): [True: 29.2k, False: 7.46k]
  ------------------
 2618|  29.2k|        struct arena_object* p = ao->prevarena;
 2619|  29.2k|        nfp2lasta[nf] = (p != NULL && p->nfreepools == nf) ? p : NULL;
  ------------------
  |  | 1789|  29.2k|#define nfp2lasta (state->mgmt.nfp2lasta)
  ------------------
  |  Branch (2619:26): [True: 1.12k, False: 28.0k]
  |  Branch (2619:39): [True: 1, False: 1.12k]
  ------------------
 2620|  29.2k|    }
 2621|  36.6k|    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|  36.6k|    if (nf == ao->ntotalpools && ao->nextarena != NULL) {
  ------------------
  |  Branch (2640:9): [True: 286, False: 36.4k]
  |  Branch (2640:34): [True: 165, False: 121]
  ------------------
 2641|       |        /* Case 1.  First unlink ao from usable_arenas.
 2642|       |         */
 2643|    165|        assert(ao->prevarena == NULL ||
 2644|    165|               ao->prevarena->address != 0);
 2645|    165|        assert(ao ->nextarena == NULL ||
 2646|    165|               ao->nextarena->address != 0);
 2647|       |
 2648|       |        /* Fix the pointer in the prevarena, or the
 2649|       |         * usable_arenas pointer.
 2650|       |         */
 2651|    165|        if (ao->prevarena == NULL) {
  ------------------
  |  Branch (2651:13): [True: 28, False: 137]
  ------------------
 2652|     28|            usable_arenas = ao->nextarena;
  ------------------
  |  | 1788|     28|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2653|     28|            assert(usable_arenas == NULL ||
 2654|     28|                   usable_arenas->address != 0);
 2655|     28|        }
 2656|    137|        else {
 2657|    137|            assert(ao->prevarena->nextarena == ao);
 2658|    137|            ao->prevarena->nextarena =
 2659|    137|                ao->nextarena;
 2660|    137|        }
 2661|       |        /* Fix the pointer in the nextarena. */
 2662|    165|        if (ao->nextarena != NULL) {
  ------------------
  |  Branch (2662:13): [True: 165, False: 0]
  ------------------
 2663|    165|            assert(ao->nextarena->prevarena == ao);
 2664|    165|            ao->nextarena->prevarena =
 2665|    165|                ao->prevarena;
 2666|    165|        }
 2667|       |        /* Record that this arena_object slot is
 2668|       |         * available to be reused.
 2669|       |         */
 2670|    165|        ao->nextarena = unused_arena_objects;
  ------------------
  |  | 1787|    165|#define unused_arena_objects (state->mgmt.unused_arena_objects)
  ------------------
 2671|    165|        unused_arena_objects = ao;
  ------------------
  |  | 1787|    165|#define unused_arena_objects (state->mgmt.unused_arena_objects)
  ------------------
 2672|       |
 2673|    165|#if WITH_PYMALLOC_RADIX_TREE
 2674|       |        /* mark arena region as not under control of obmalloc */
 2675|    165|        arena_map_mark_used(state, ao->address, 0);
 2676|    165|#endif
 2677|       |
 2678|       |        /* Free the entire arena. */
 2679|    165|        _PyObject_Arena.free(_PyObject_Arena.ctx,
  ------------------
  |  |  718|    165|#define _PyObject_Arena (_PyRuntime.allocators.obj_arena)
  ------------------
                      _PyObject_Arena.free(_PyObject_Arena.ctx,
  ------------------
  |  |  718|    165|#define _PyObject_Arena (_PyRuntime.allocators.obj_arena)
  ------------------
 2680|    165|                             (void *)ao->address, ARENA_SIZE);
  ------------------
  |  |  225|    165|#define ARENA_SIZE              (1 << ARENA_BITS)
  |  |  ------------------
  |  |  |  |  220|    165|#    define ARENA_BITS            20                    /* 1 MiB */
  |  |  ------------------
  ------------------
 2681|    165|        ao->address = 0;                        /* mark unassociated */
 2682|    165|        --narenas_currently_allocated;
  ------------------
  |  | 1790|    165|#define narenas_currently_allocated (state->mgmt.narenas_currently_allocated)
  ------------------
 2683|       |
 2684|    165|        return;
 2685|    165|    }
 2686|       |
 2687|  36.5k|    if (nf == 1) {
  ------------------
  |  Branch (2687:9): [True: 7.19k, False: 29.3k]
  ------------------
 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|  7.19k|        ao->nextarena = usable_arenas;
  ------------------
  |  | 1788|  7.19k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2694|  7.19k|        ao->prevarena = NULL;
 2695|  7.19k|        if (usable_arenas)
  ------------------
  |  | 1788|  7.19k|#define usable_arenas (state->mgmt.usable_arenas)
  |  |  ------------------
  |  |  |  Branch (1788:23): [True: 7.10k, False: 90]
  |  |  ------------------
  ------------------
 2696|  7.10k|            usable_arenas->prevarena = ao;
  ------------------
  |  | 1788|  7.10k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2697|  7.19k|        usable_arenas = ao;
  ------------------
  |  | 1788|  7.19k|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2698|  7.19k|        assert(usable_arenas->address != 0);
 2699|  7.19k|        if (nfp2lasta[1] == NULL) {
  ------------------
  |  | 1789|  7.19k|#define nfp2lasta (state->mgmt.nfp2lasta)
  ------------------
  |  Branch (2699:13): [True: 7.19k, False: 1]
  ------------------
 2700|  7.19k|            nfp2lasta[1] = ao;
  ------------------
  |  | 1789|  7.19k|#define nfp2lasta (state->mgmt.nfp2lasta)
  ------------------
 2701|  7.19k|        }
 2702|       |
 2703|  7.19k|        return;
 2704|  7.19k|    }
 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|  29.3k|    if (nfp2lasta[nf] == NULL) {
  ------------------
  |  | 1789|  29.3k|#define nfp2lasta (state->mgmt.nfp2lasta)
  ------------------
  |  Branch (2714:9): [True: 29.0k, False: 271]
  ------------------
 2715|  29.0k|        nfp2lasta[nf] = ao;
  ------------------
  |  | 1789|  29.0k|#define nfp2lasta (state->mgmt.nfp2lasta)
  ------------------
 2716|  29.0k|    } /* else the rightmost with nf doesn't change */
 2717|       |    /* If this was the rightmost of the old size, it remains in place. */
 2718|  29.3k|    if (ao == lastnf) {
  ------------------
  |  Branch (2718:9): [True: 29.0k, False: 245]
  ------------------
 2719|       |        /* Case 4.  Nothing to do. */
 2720|  29.0k|        return;
 2721|  29.0k|    }
 2722|       |    /* If ao were the only arena in the list, the last block would have
 2723|       |     * gotten us out.
 2724|       |     */
 2725|  29.3k|    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|    245|    if (ao->prevarena != NULL) {
  ------------------
  |  Branch (2732:9): [True: 104, False: 141]
  ------------------
 2733|       |        /* ao isn't at the head of the list */
 2734|    104|        assert(ao->prevarena->nextarena == ao);
 2735|    104|        ao->prevarena->nextarena = ao->nextarena;
 2736|    104|    }
 2737|    141|    else {
 2738|       |        /* ao is at the head of the list */
 2739|    141|        assert(usable_arenas == ao);
 2740|    141|        usable_arenas = ao->nextarena;
  ------------------
  |  | 1788|    141|#define usable_arenas (state->mgmt.usable_arenas)
  ------------------
 2741|    141|    }
 2742|    245|    ao->nextarena->prevarena = ao->prevarena;
 2743|       |    /* And insert after lastnf. */
 2744|    245|    ao->prevarena = lastnf;
 2745|    245|    ao->nextarena = lastnf->nextarena;
 2746|    245|    if (ao->nextarena != NULL) {
  ------------------
  |  Branch (2746:9): [True: 241, False: 4]
  ------------------
 2747|    241|        ao->nextarena->prevarena = ao;
 2748|    241|    }
 2749|    245|    lastnf->nextarena = ao;
 2750|       |    /* Verify that the swaps worked. */
 2751|    245|    assert(ao->nextarena == NULL || nf <= ao->nextarena->nfreepools);
 2752|    245|    assert(ao->prevarena == NULL || nf > ao->prevarena->nfreepools);
 2753|    245|    assert(ao->nextarena == NULL || ao->nextarena->prevarena == ao);
 2754|       |    assert((usable_arenas == ao && ao->prevarena == NULL)
 2755|    245|           || ao->prevarena->nextarena == ao);
 2756|    245|}
obmalloc.c:pymalloc_realloc:
 2848|  3.91M|{
 2849|  3.91M|    void *bp;
 2850|  3.91M|    poolp pool;
 2851|  3.91M|    size_t size;
 2852|       |
 2853|  3.91M|    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.91M|    pool = POOL_ADDR(p);
  ------------------
  |  |  324|  3.91M|#define POOL_ADDR(P) ((poolp)_Py_ALIGN_DOWN((P), POOL_SIZE))
  |  |  ------------------
  |  |  |  |  216|  3.91M|#define _Py_ALIGN_DOWN(p, a) ((void *)((uintptr_t)(p) & ~(uintptr_t)((a) - 1)))
  |  |  ------------------
  ------------------
 2863|  3.91M|    if (!address_in_range(state, p, pool)) {
  ------------------
  |  Branch (2863:9): [True: 155k, False: 3.75M]
  ------------------
 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|   155k|        return 0;
 2877|   155k|    }
 2878|       |
 2879|       |    /* pymalloc is in charge of this block */
 2880|  3.75M|    size = INDEX2SIZE(pool->szidx);
  ------------------
  |  |  146|  3.75M|#define INDEX2SIZE(I) (((pymem_uint)(I) + 1) << ALIGNMENT_SHIFT)
  |  |  ------------------
  |  |  |  |  139|  3.75M|#define ALIGNMENT_SHIFT         4
  |  |  ------------------
  ------------------
 2881|  3.75M|    if (nbytes <= size) {
  ------------------
  |  Branch (2881:9): [True: 1.28M, False: 2.46M]
  ------------------
 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.28M|        if (4 * nbytes > 3 * size) {
  ------------------
  |  Branch (2889:13): [True: 200k, False: 1.08M]
  ------------------
 2890|       |            /* It's the same, or shrinking and new/old > 3/4. */
 2891|   200k|            *newptr_p = p;
 2892|   200k|            return 1;
 2893|   200k|        }
 2894|  1.08M|        size = nbytes;
 2895|  1.08M|    }
 2896|       |
 2897|  3.55M|    bp = _PyObject_Malloc(ctx, nbytes);
 2898|  3.55M|    if (bp != NULL) {
  ------------------
  |  Branch (2898:9): [True: 3.55M, False: 0]
  ------------------
 2899|  3.55M|        memcpy(bp, p, size);
 2900|  3.55M|        _PyObject_Free(ctx, p);
 2901|  3.55M|    }
 2902|  3.55M|    *newptr_p = bp;
 2903|  3.55M|    return 1;
 2904|  3.75M|}
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:
 1651|  14.8k|{
 1652|  14.8k|    int res;
 1653|  14.8k|    Py_BEGIN_CRITICAL_SECTION(od);
  ------------------
  |  |   51|  14.8k|    {
  ------------------
 1654|  14.8k|    res = PyODict_SetItem_LockHeld(od, key, value);
 1655|  14.8k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  14.8k|    }
  ------------------
 1656|  14.8k|    return res;
 1657|  14.8k|}
odictobject.c:odict_dealloc:
 1408|  10.7k|{
 1409|  10.7k|    PyODictObject *self = _PyODictObject_CAST(op);
  ------------------
  |  |  504|  10.7k|#define _PyODictObject_CAST(op) _Py_CAST(PyODictObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  10.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1410|  10.7k|    PyObject_GC_UnTrack(self);
 1411|       |
 1412|  10.7k|    Py_XDECREF(self->od_inst_dict);
  ------------------
  |  |  524|  10.7k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1413|  10.7k|    FT_CLEAR_WEAKREFS(op, self->od_weakreflist);
  ------------------
  |  |   47|  10.7k|    do {                                            \
  |  |   48|  10.7k|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|  10.7k|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 10.7k]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|  10.7k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 10.7k]
  |  |  ------------------
  ------------------
 1414|       |
 1415|  10.7k|    _odict_clear_nodes(self);
 1416|  10.7k|    PyDict_Type.tp_dealloc((PyObject *)self);
 1417|  10.7k|}
odictobject.c:_odict_clear_nodes:
  796|  10.7k|{
  797|  10.7k|    _ODictNode *node, *next;
  798|       |
  799|  10.7k|    PyMem_Free(od->od_fast_nodes);
  800|  10.7k|    od->od_fast_nodes = NULL;
  801|  10.7k|    od->od_fast_nodes_size = 0;
  802|  10.7k|    od->od_resize_sentinel = NULL;
  803|       |
  804|  10.7k|    node = _odict_FIRST(od);
  ------------------
  |  |  528|  10.7k|#define _odict_FIRST(od) (_PyODictObject_CAST(od)->od_first)
  |  |  ------------------
  |  |  |  |  504|  10.7k|#define _PyODictObject_CAST(op) _Py_CAST(PyODictObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  805|  10.7k|    _odict_FIRST(od) = NULL;
  ------------------
  |  |  528|  10.7k|#define _odict_FIRST(od) (_PyODictObject_CAST(od)->od_first)
  |  |  ------------------
  |  |  |  |  504|  10.7k|#define _PyODictObject_CAST(op) _Py_CAST(PyODictObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  806|  10.7k|    _odict_LAST(od) = NULL;
  ------------------
  |  |  529|  10.7k|#define _odict_LAST(od) (_PyODictObject_CAST(od)->od_last)
  |  |  ------------------
  |  |  |  |  504|  10.7k|#define _PyODictObject_CAST(op) _Py_CAST(PyODictObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  807|  25.5k|    while (node != NULL) {
  ------------------
  |  Branch (807:12): [True: 14.8k, False: 10.7k]
  ------------------
  808|  14.8k|        next = _odictnode_NEXT(node);
  ------------------
  |  |  526|  14.8k|#define _odictnode_NEXT(node) (node->next)
  ------------------
  809|  14.8k|        _odictnode_DEALLOC(node);
  ------------------
  |  |  720|  14.8k|    do { \
  |  |  721|  14.8k|        Py_DECREF(_odictnode_KEY(node)); \
  |  |  ------------------
  |  |  |  |  430|  14.8k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  14.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  14.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  722|  14.8k|        PyMem_Free((void *)node); \
  |  |  723|  14.8k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (723:14): [Folded, False: 14.8k]
  |  |  ------------------
  ------------------
  810|  14.8k|        node = next;
  811|  14.8k|    }
  812|  10.7k|    od->od_state++;
  813|  10.7k|}
odictobject.c:mutablemapping_update_arg:
 2269|  7.19k|{
 2270|  7.19k|    int res = 0;
 2271|  7.19k|    if (PyAnyDict_CheckExact(arg)) {
  ------------------
  |  |   41|  7.19k|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   19|  7.19k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|  14.3k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  7.19k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  7.19k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 0, False: 7.19k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   38|  7.19k|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|  7.19k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  7.19k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  7.19k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 0, False: 7.19k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2272|      0|        PyObject *items = PyDict_Items(arg);
 2273|      0|        if (items == NULL) {
  ------------------
  |  Branch (2273:13): [True: 0, False: 0]
  ------------------
 2274|      0|            return -1;
 2275|      0|        }
 2276|      0|        res = mutablemapping_add_pairs(self, items);
 2277|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2278|      0|        return res;
 2279|      0|    }
 2280|  7.19k|    PyObject *func;
 2281|  7.19k|    if (PyObject_GetOptionalAttr(arg, &_Py_ID(keys), &func) < 0) {
  ------------------
  |  |  915|  7.19k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  7.19k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  7.19k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2281:9): [True: 0, False: 7.19k]
  ------------------
 2282|      0|        return -1;
 2283|      0|    }
 2284|  7.19k|    if (func != NULL) {
  ------------------
  |  Branch (2284:9): [True: 0, False: 7.19k]
  ------------------
 2285|      0|        PyObject *keys = _PyObject_CallNoArgs(func);
 2286|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2287|      0|        if (keys == NULL) {
  ------------------
  |  Branch (2287:13): [True: 0, False: 0]
  ------------------
 2288|      0|            return -1;
 2289|      0|        }
 2290|      0|        PyObject *iterator = PyObject_GetIter(keys);
 2291|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2292|      0|        if (iterator == NULL) {
  ------------------
  |  Branch (2292:13): [True: 0, False: 0]
  ------------------
 2293|      0|            return -1;
 2294|      0|        }
 2295|      0|        PyObject *key;
 2296|      0|        while (res == 0 && (key = PyIter_Next(iterator))) {
  ------------------
  |  Branch (2296:16): [True: 0, False: 0]
  |  Branch (2296:28): [True: 0, False: 0]
  ------------------
 2297|      0|            PyObject *value = PyObject_GetItem(arg, key);
 2298|      0|            if (value != NULL) {
  ------------------
  |  Branch (2298:17): [True: 0, False: 0]
  ------------------
 2299|      0|                res = PyObject_SetItem(self, key, value);
 2300|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2301|      0|            }
 2302|      0|            else {
 2303|      0|                res = -1;
 2304|      0|            }
 2305|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2306|      0|        }
 2307|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2308|      0|        if (res != 0 || PyErr_Occurred()) {
  ------------------
  |  Branch (2308:13): [True: 0, False: 0]
  |  Branch (2308:25): [True: 0, False: 0]
  ------------------
 2309|      0|            return -1;
 2310|      0|        }
 2311|      0|        return 0;
 2312|      0|    }
 2313|  7.19k|    if (PyObject_GetOptionalAttr(arg, &_Py_ID(items), &func) < 0) {
  ------------------
  |  |  915|  7.19k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  7.19k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  7.19k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2313:9): [True: 0, False: 7.19k]
  ------------------
 2314|      0|        return -1;
 2315|      0|    }
 2316|  7.19k|    if (func != NULL) {
  ------------------
  |  Branch (2316:9): [True: 0, False: 7.19k]
  ------------------
 2317|      0|        PyObject *items = _PyObject_CallNoArgs(func);
 2318|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2319|      0|        if (items == NULL) {
  ------------------
  |  Branch (2319:13): [True: 0, False: 0]
  ------------------
 2320|      0|            return -1;
 2321|      0|        }
 2322|      0|        res = mutablemapping_add_pairs(self, items);
 2323|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2324|      0|        return res;
 2325|      0|    }
 2326|  7.19k|    res = mutablemapping_add_pairs(self, arg);
 2327|  7.19k|    return res;
 2328|  7.19k|}
odictobject.c:mutablemapping_add_pairs:
 2207|  7.19k|{
 2208|  7.19k|    PyObject *pair, *iterator, *unexpected;
 2209|  7.19k|    int res = 0;
 2210|       |
 2211|  7.19k|    iterator = PyObject_GetIter(pairs);
 2212|  7.19k|    if (iterator == NULL)
  ------------------
  |  Branch (2212:9): [True: 0, False: 7.19k]
  ------------------
 2213|      0|        return -1;
 2214|  7.19k|    PyErr_Clear();
 2215|       |
 2216|  18.2k|    while ((pair = PyIter_Next(iterator)) != NULL) {
  ------------------
  |  Branch (2216:12): [True: 11.0k, False: 7.19k]
  ------------------
 2217|       |        /* could be more efficient (see UNPACK_SEQUENCE in ceval.c) */
 2218|  11.0k|        PyObject *key = NULL, *value = NULL;
 2219|  11.0k|        PyObject *pair_iterator = PyObject_GetIter(pair);
 2220|  11.0k|        if (pair_iterator == NULL)
  ------------------
  |  Branch (2220:13): [True: 0, False: 11.0k]
  ------------------
 2221|      0|            goto Done;
 2222|       |
 2223|  11.0k|        key = PyIter_Next(pair_iterator);
 2224|  11.0k|        if (key == NULL) {
  ------------------
  |  Branch (2224:13): [True: 0, False: 11.0k]
  ------------------
 2225|      0|            if (!PyErr_Occurred())
  ------------------
  |  Branch (2225:17): [True: 0, False: 0]
  ------------------
 2226|      0|                PyErr_SetString(PyExc_ValueError,
 2227|      0|                                "need more than 0 values to unpack");
 2228|      0|            goto Done;
 2229|      0|        }
 2230|       |
 2231|  11.0k|        value = PyIter_Next(pair_iterator);
 2232|  11.0k|        if (value == NULL) {
  ------------------
  |  Branch (2232:13): [True: 0, False: 11.0k]
  ------------------
 2233|      0|            if (!PyErr_Occurred())
  ------------------
  |  Branch (2233:17): [True: 0, False: 0]
  ------------------
 2234|      0|                PyErr_SetString(PyExc_ValueError,
 2235|      0|                                "need more than 1 value to unpack");
 2236|      0|            goto Done;
 2237|      0|        }
 2238|       |
 2239|  11.0k|        unexpected = PyIter_Next(pair_iterator);
 2240|  11.0k|        if (unexpected != NULL) {
  ------------------
  |  Branch (2240:13): [True: 0, False: 11.0k]
  ------------------
 2241|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2242|      0|            PyErr_SetString(PyExc_ValueError,
 2243|      0|                            "too many values to unpack (expected 2)");
 2244|      0|            goto Done;
 2245|      0|        }
 2246|  11.0k|        else if (PyErr_Occurred())
  ------------------
  |  Branch (2246:18): [True: 0, False: 11.0k]
  ------------------
 2247|      0|            goto Done;
 2248|       |
 2249|  11.0k|        res = PyObject_SetItem(self, key, value);
 2250|       |
 2251|  11.0k|Done:
 2252|  11.0k|        Py_DECREF(pair);
  ------------------
  |  |  430|  11.0k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2253|  11.0k|        Py_XDECREF(pair_iterator);
  ------------------
  |  |  524|  11.0k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2254|  11.0k|        Py_XDECREF(key);
  ------------------
  |  |  524|  11.0k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2255|  11.0k|        Py_XDECREF(value);
  ------------------
  |  |  524|  11.0k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2256|  11.0k|        if (PyErr_Occurred())
  ------------------
  |  Branch (2256:13): [True: 0, False: 11.0k]
  ------------------
 2257|      0|            break;
 2258|  11.0k|    }
 2259|  7.19k|    Py_DECREF(iterator);
  ------------------
  |  |  430|  7.19k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.19k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.19k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2260|       |
 2261|  7.19k|    if (res < 0 || PyErr_Occurred() != NULL)
  ------------------
  |  Branch (2261:9): [True: 0, False: 7.19k]
  |  Branch (2261:20): [True: 0, False: 7.19k]
  ------------------
 2262|      0|        return -1;
 2263|  7.19k|    else
 2264|  7.19k|        return 0;
 2265|  7.19k|}
odictobject.c:odict_mp_ass_sub:
  874|  14.8k|{
  875|  14.8k|    if (w == NULL)
  ------------------
  |  Branch (875:9): [True: 0, False: 14.8k]
  ------------------
  876|      0|        return PyODict_DelItem(od, v);
  877|  14.8k|    else
  878|  14.8k|        return PyODict_SetItem(od, v, w);
  879|  14.8k|}
odictobject.c:odict_traverse:
 1460|    210|{
 1461|    210|    PyODictObject *od = _PyODictObject_CAST(op);
  ------------------
  |  |  504|    210|#define _PyODictObject_CAST(op) _Py_CAST(PyODictObject*, (op))
  |  |  ------------------
  |  |  |  |   37|    210|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1462|    210|    _ODictNode *node;
 1463|       |
 1464|    210|    Py_VISIT(od->od_inst_dict);
  ------------------
  |  |  194|    210|    do {                                                                \
  |  |  195|    210|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 210]
  |  |  ------------------
  |  |  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|    210|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 210]
  |  |  ------------------
  ------------------
 1465|    474|    _odict_FOREACH(od, node) {
  ------------------
  |  |  532|    684|    for (node = _odict_FIRST(od); node != NULL; node = _odictnode_NEXT(node))
  |  |  ------------------
  |  |  |  |  528|    210|#define _odict_FIRST(od) (_PyODictObject_CAST(od)->od_first)
  |  |  |  |  ------------------
  |  |  |  |  |  |  504|    210|#define _PyODictObject_CAST(op) _Py_CAST(PyODictObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    210|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   for (node = _odict_FIRST(od); node != NULL; node = _odictnode_NEXT(node))
  |  |  ------------------
  |  |  |  |  526|    474|#define _odictnode_NEXT(node) (node->next)
  |  |  ------------------
  |  |  |  Branch (532:35): [True: 474, False: 210]
  |  |  ------------------
  ------------------
 1466|    474|        Py_VISIT(_odictnode_KEY(node));
  ------------------
  |  |  194|    474|    do {                                                                \
  |  |  195|    474|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 474, False: 0]
  |  |  ------------------
  |  |  196|    474|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    474|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    474|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    474|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 474]
  |  |  ------------------
  |  |  198|    474|                return vret;                                            \
  |  |  199|    474|        }                                                               \
  |  |  200|    474|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 474]
  |  |  ------------------
  ------------------
 1467|    474|    }
 1468|    210|    return PyDict_Type.tp_traverse((PyObject *)od, visit, arg);
 1469|    210|}
odictobject.c:odict_iter:
 1534|  7.17k|{
 1535|  7.17k|    return odictiter_new(_PyODictObject_CAST(op), _odict_ITER_KEYS);
  ------------------
  |  |  504|  7.17k|#define _PyODictObject_CAST(op) _Py_CAST(PyODictObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  7.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
                  return odictiter_new(_PyODictObject_CAST(op), _odict_ITER_KEYS);
  ------------------
  |  | 1293|  7.17k|#define _odict_ITER_KEYS 2
  ------------------
 1536|  7.17k|}
odictobject.c:odictiter_new:
 1923|  46.6k|{
 1924|  46.6k|    odictiterobject *di;
 1925|  46.6k|    _ODictNode *node;
 1926|  46.6k|    int reversed = kind & _odict_ITER_REVERSED;
  ------------------
  |  | 1292|  46.6k|#define _odict_ITER_REVERSED 1
  ------------------
 1927|       |
 1928|  46.6k|    di = PyObject_GC_New(odictiterobject, &PyODictIter_Type);
  ------------------
  |  |  181|  46.6k|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|  46.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1929|  46.6k|    if (di == NULL)
  ------------------
  |  Branch (1929:9): [True: 0, False: 46.6k]
  ------------------
 1930|      0|        return NULL;
 1931|       |
 1932|  46.6k|    if ((kind & _odict_ITER_ITEMS) == _odict_ITER_ITEMS) {
  ------------------
  |  | 1295|  46.6k|#define _odict_ITER_ITEMS (_odict_ITER_KEYS|_odict_ITER_VALUES)
  |  |  ------------------
  |  |  |  | 1293|  46.6k|#define _odict_ITER_KEYS 2
  |  |  ------------------
  |  |               #define _odict_ITER_ITEMS (_odict_ITER_KEYS|_odict_ITER_VALUES)
  |  |  ------------------
  |  |  |  | 1294|  46.6k|#define _odict_ITER_VALUES 4
  |  |  ------------------
  ------------------
                  if ((kind & _odict_ITER_ITEMS) == _odict_ITER_ITEMS) {
  ------------------
  |  | 1295|  46.6k|#define _odict_ITER_ITEMS (_odict_ITER_KEYS|_odict_ITER_VALUES)
  |  |  ------------------
  |  |  |  | 1293|  46.6k|#define _odict_ITER_KEYS 2
  |  |  ------------------
  |  |               #define _odict_ITER_ITEMS (_odict_ITER_KEYS|_odict_ITER_VALUES)
  |  |  ------------------
  |  |  |  | 1294|  46.6k|#define _odict_ITER_VALUES 4
  |  |  ------------------
  ------------------
  |  Branch (1932:9): [True: 4, False: 46.6k]
  ------------------
 1933|      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)
  ------------------
 1934|      4|        if (di->di_result == NULL) {
  ------------------
  |  Branch (1934:13): [True: 0, False: 4]
  ------------------
 1935|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1936|      0|            return NULL;
 1937|      0|        }
 1938|      4|    }
 1939|  46.6k|    else {
 1940|  46.6k|        di->di_result = NULL;
 1941|  46.6k|    }
 1942|       |
 1943|  46.6k|    di->kind = kind;
 1944|  46.6k|    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|  93.3k|#define _odict_FIRST(od) (_PyODictObject_CAST(od)->od_first)
  |  |  ------------------
  |  |  |  |  504|  46.6k|#define _PyODictObject_CAST(op) _Py_CAST(PyODictObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  46.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1944:12): [True: 0, False: 46.6k]
  ------------------
 1945|  46.6k|    di->di_current = node ? Py_NewRef(_odictnode_KEY(node)) : NULL;
  ------------------
  |  |  550|  46.4k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  46.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  46.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1945:22): [True: 46.4k, False: 270]
  ------------------
 1946|  46.6k|    di->di_size = PyODict_SIZE(od);
  ------------------
  |  |   23|  46.6k|#define PyODict_SIZE(op) PyDict_GET_SIZE((op))
  |  |  ------------------
  |  |  |  |   63|  46.6k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  46.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  46.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1947|  46.6k|    di->di_state = od->od_state;
 1948|  46.6k|    di->di_odict = (PyODictObject*)Py_NewRef(od);
  ------------------
  |  |  550|  46.6k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  46.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  46.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1949|       |
 1950|  46.6k|    _PyObject_GC_TRACK(di);
  ------------------
  |  |  508|  46.6k|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  46.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  46.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1951|  46.6k|    return (PyObject *)di;
 1952|  46.6k|}
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|  2.12M|{
  600|  2.12M|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(od);
  601|  2.12M|    PyDictKeysObject *keys;
  602|       |
  603|  2.12M|    assert(key != NULL);
  604|  2.12M|    keys = ((PyDictObject *)od)->ma_keys;
  605|       |
  606|       |    /* Ensure od_fast_nodes and dk_entries are in sync. */
  607|  2.12M|    if (od->od_resize_sentinel != keys ||
  ------------------
  |  Branch (607:9): [True: 10.7k, False: 2.11M]
  ------------------
  608|  2.11M|        od->od_fast_nodes_size != (ONE << (keys->dk_log2_size))) {
  ------------------
  |  |  557|  2.11M|#define ONE ((Py_ssize_t)1)
  ------------------
  |  Branch (608:9): [True: 0, False: 2.11M]
  ------------------
  609|  10.7k|        int resize_res = _odict_resize(od);
  610|  10.7k|        if (resize_res < 0)
  ------------------
  |  Branch (610:13): [True: 0, False: 10.7k]
  ------------------
  611|      0|            return -1;
  612|  10.7k|    }
  613|       |
  614|  2.12M|    return _odict_get_index_raw(od, key, hash);
  615|  2.12M|}
odictobject.c:_odict_resize:
  562|  10.7k|{
  563|  10.7k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(od);
  564|  10.7k|    Py_ssize_t size, i;
  565|  10.7k|    _ODictNode **fast_nodes, *node;
  566|       |
  567|       |    /* Initialize a new "fast nodes" table. */
  568|  10.7k|    size = ONE << (((PyDictObject *)od)->ma_keys->dk_log2_size);
  ------------------
  |  |  557|  10.7k|#define ONE ((Py_ssize_t)1)
  ------------------
  569|  10.7k|    fast_nodes = PyMem_NEW(_ODictNode *, size);
  ------------------
  |  |   82|  10.7k|#define PyMem_NEW(type, n)        PyMem_New(type, (n))
  |  |  ------------------
  |  |  |  |   64|  10.7k|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|  10.7k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (64:5): [True: 0, False: 10.7k]
  |  |  |  |  ------------------
  |  |  |  |   65|  10.7k|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  |  |  ------------------
  ------------------
  570|  10.7k|    if (fast_nodes == NULL) {
  ------------------
  |  Branch (570:9): [True: 0, False: 10.7k]
  ------------------
  571|      0|        PyErr_NoMemory();
  572|      0|        return -1;
  573|      0|    }
  574|  97.6k|    for (i = 0; i < size; i++)
  ------------------
  |  Branch (574:17): [True: 86.8k, False: 10.7k]
  ------------------
  575|  86.8k|        fast_nodes[i] = NULL;
  576|       |
  577|       |    /* Copy the current nodes into the table. */
  578|  10.7k|    _odict_FOREACH(od, node) {
  ------------------
  |  |  532|  11.0k|    for (node = _odict_FIRST(od); node != NULL; node = _odictnode_NEXT(node))
  |  |  ------------------
  |  |  |  |  528|  10.7k|#define _odict_FIRST(od) (_PyODictObject_CAST(od)->od_first)
  |  |  |  |  ------------------
  |  |  |  |  |  |  504|  10.7k|#define _PyODictObject_CAST(op) _Py_CAST(PyODictObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  10.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   for (node = _odict_FIRST(od); node != NULL; node = _odictnode_NEXT(node))
  |  |  ------------------
  |  |  |  |  526|    275|#define _odictnode_NEXT(node) (node->next)
  |  |  ------------------
  |  |  |  Branch (532:35): [True: 275, False: 10.7k]
  |  |  ------------------
  ------------------
  579|    275|        i = _odict_get_index_raw(od, _odictnode_KEY(node),
  ------------------
  |  |  519|    275|    (node->key)
  ------------------
  580|    275|                                 _odictnode_HASH(node));
  ------------------
  |  |  521|    275|    (node->hash)
  ------------------
  581|    275|        if (i < 0) {
  ------------------
  |  Branch (581:13): [True: 0, False: 275]
  ------------------
  582|      0|            PyMem_Free(fast_nodes);
  583|      0|            return -1;
  584|      0|        }
  585|    275|        fast_nodes[i] = node;
  586|    275|    }
  587|       |
  588|       |    /* Replace the old fast nodes table. */
  589|  10.7k|    PyMem_Free(od->od_fast_nodes);
  590|  10.7k|    od->od_fast_nodes = fast_nodes;
  591|  10.7k|    od->od_fast_nodes_size = size;
  592|  10.7k|    od->od_resize_sentinel = ((PyDictObject *)od)->ma_keys;
  593|  10.7k|    return 0;
  594|  10.7k|}
odictobject.c:_odict_get_index_raw:
  537|  2.12M|{
  538|  2.12M|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(od);
  539|  2.12M|    PyObject *value = NULL;
  540|  2.12M|    PyDictKeysObject *keys = ((PyDictObject *)od)->ma_keys;
  541|  2.12M|    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|  2.12M|    ix = _Py_dict_lookup((PyDictObject *)od, key, hash, &value);
  547|  2.12M|#endif
  548|  2.12M|    if (ix == DKIX_EMPTY) {
  ------------------
  |  |  184|  2.12M|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (548:9): [True: 0, False: 2.12M]
  ------------------
  549|      0|        return keys->dk_nentries;  /* index of new entry */
  550|      0|    }
  551|  2.12M|    if (ix < 0)
  ------------------
  |  Branch (551:9): [True: 0, False: 2.12M]
  ------------------
  552|      0|        return -1;
  553|       |    /* We use pointer arithmetic to get the entry's index into the table. */
  554|  2.12M|    return ix;
  555|  2.12M|}
odictobject.c:odictvalues_new:
 2157|  39.4k|{
 2158|  39.4k|    return _PyDictView_New(od, &PyODictValues_Type);
 2159|  39.4k|}
odictobject.c:odictitems_new:
 2088|      4|{
 2089|      4|    return _PyDictView_New(od, &PyODictItems_Type);
 2090|      4|}
odictobject.c:mutablemapping_update:
 2332|  10.8k|{
 2333|  10.8k|    int res;
 2334|       |    /* first handle args, if any */
 2335|  10.8k|    assert(args == NULL || PyTuple_Check(args));
 2336|  10.8k|    Py_ssize_t len = (args != NULL) ? PyTuple_GET_SIZE(args) : 0;
  ------------------
  |  |   27|  10.8k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2336:22): [True: 10.8k, False: 0]
  ------------------
 2337|  10.8k|    if (len > 1) {
  ------------------
  |  Branch (2337:9): [True: 0, False: 10.8k]
  ------------------
 2338|      0|        const char *msg = "update() takes at most 1 positional argument (%zd given)";
 2339|      0|        PyErr_Format(PyExc_TypeError, msg, len);
 2340|      0|        return NULL;
 2341|      0|    }
 2342|       |
 2343|  10.8k|    if (len) {
  ------------------
  |  Branch (2343:9): [True: 7.19k, False: 3.61k]
  ------------------
 2344|  7.19k|        PyObject *other = PyTuple_GET_ITEM(args, 0);  /* borrowed reference */
  ------------------
  |  |   29|  7.19k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  7.19k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.19k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2345|  7.19k|        assert(other != NULL);
 2346|  7.19k|        Py_INCREF(other);
  ------------------
  |  |  310|  7.19k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.19k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.19k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2347|  7.19k|        res = mutablemapping_update_arg(self, other);
 2348|  7.19k|        Py_DECREF(other);
  ------------------
  |  |  430|  7.19k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.19k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.19k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2349|  7.19k|        if (res < 0) {
  ------------------
  |  Branch (2349:13): [True: 0, False: 7.19k]
  ------------------
 2350|      0|            return NULL;
 2351|      0|        }
 2352|  7.19k|    }
 2353|       |
 2354|       |    /* now handle kwargs */
 2355|  10.8k|    assert(kwargs == NULL || PyDict_Check(kwargs));
 2356|  10.8k|    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 (2356:9): [True: 0, False: 10.8k]
  ------------------
 2357|      0|        PyObject *items = PyDict_Items(kwargs);
 2358|      0|        if (items == NULL)
  ------------------
  |  Branch (2358:13): [True: 0, False: 0]
  ------------------
 2359|      0|            return NULL;
 2360|      0|        res = mutablemapping_add_pairs(self, items);
 2361|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2362|      0|        if (res == -1)
  ------------------
  |  Branch (2362:13): [True: 0, False: 0]
  ------------------
 2363|      0|            return NULL;
 2364|      0|    }
 2365|       |
 2366|  10.8k|    Py_RETURN_NONE;
  ------------------
  |  |  628|  10.8k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  10.8k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 2367|  10.8k|}
odictobject.c:_PyODict_SetItem_KnownHash_LockHeld:
 1622|  14.8k|{
 1623|  14.8k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(od);
 1624|  14.8k|    int res = _PyDict_SetItem_KnownHash_LockHeld((PyDictObject *)od, key, value, hash);
 1625|  14.8k|    if (res == 0) {
  ------------------
  |  Branch (1625:9): [True: 14.8k, False: 0]
  ------------------
 1626|  14.8k|        res = _odict_add_new_node(_PyODictObject_CAST(od), key, hash);
  ------------------
  |  |  504|  14.8k|#define _PyODictObject_CAST(op) _Py_CAST(PyODictObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  14.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1627|  14.8k|        if (res < 0) {
  ------------------
  |  Branch (1627:13): [True: 0, False: 14.8k]
  ------------------
 1628|       |            /* Revert setting the value on the dict */
 1629|      0|            PyObject *exc = PyErr_GetRaisedException();
 1630|      0|            (void) _PyDict_DelItem_KnownHash(od, key, hash);
 1631|      0|            _PyErr_ChainExceptions1(exc);
 1632|      0|        }
 1633|  14.8k|    }
 1634|  14.8k|    return res;
 1635|  14.8k|}
odictobject.c:_odict_add_new_node:
  683|  14.8k|{
  684|  14.8k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(od);
  685|  14.8k|    Py_ssize_t i;
  686|  14.8k|    _ODictNode *node;
  687|       |
  688|  14.8k|    Py_INCREF(key);
  ------------------
  |  |  310|  14.8k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  14.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  689|  14.8k|    i = _odict_get_index(od, key, hash);
  690|  14.8k|    if (i < 0) {
  ------------------
  |  Branch (690:9): [True: 0, False: 14.8k]
  ------------------
  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|  14.8k|    assert(od->od_fast_nodes != NULL);
  697|  14.8k|    if (od->od_fast_nodes[i] != NULL) {
  ------------------
  |  Branch (697:9): [True: 0, False: 14.8k]
  ------------------
  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|  14.8k|    node = (_ODictNode *)PyMem_Malloc(sizeof(_ODictNode));
  705|  14.8k|    if (node == NULL) {
  ------------------
  |  Branch (705:9): [True: 0, False: 14.8k]
  ------------------
  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|  14.8k|    _odictnode_KEY(node) = key;
  ------------------
  |  |  519|  14.8k|    (node->key)
  ------------------
  712|  14.8k|    _odictnode_HASH(node) = hash;
  ------------------
  |  |  521|  14.8k|    (node->hash)
  ------------------
  713|  14.8k|    _odict_add_tail(od, node);
  714|  14.8k|    od->od_fast_nodes[i] = node;
  715|  14.8k|    return 0;
  716|  14.8k|}
odictobject.c:_odict_add_tail:
  668|   124k|{
  669|   124k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(od);
  670|   124k|    _odictnode_PREV(node) = _odict_LAST(od);
  ------------------
  |  |  525|   124k|#define _odictnode_PREV(node) (node->prev)
  ------------------
                  _odictnode_PREV(node) = _odict_LAST(od);
  ------------------
  |  |  529|   124k|#define _odict_LAST(od) (_PyODictObject_CAST(od)->od_last)
  |  |  ------------------
  |  |  |  |  504|   124k|#define _PyODictObject_CAST(op) _Py_CAST(PyODictObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   124k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  671|   124k|    _odictnode_NEXT(node) = NULL;
  ------------------
  |  |  526|   124k|#define _odictnode_NEXT(node) (node->next)
  ------------------
  672|   124k|    if (_odict_LAST(od) == NULL)
  ------------------
  |  |  529|   124k|#define _odict_LAST(od) (_PyODictObject_CAST(od)->od_last)
  |  |  ------------------
  |  |  |  |  504|   124k|#define _PyODictObject_CAST(op) _Py_CAST(PyODictObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   124k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (672:9): [True: 10.7k, False: 113k]
  ------------------
  673|  10.7k|        _odict_FIRST(od) = node;
  ------------------
  |  |  528|  10.7k|#define _odict_FIRST(od) (_PyODictObject_CAST(od)->od_first)
  |  |  ------------------
  |  |  |  |  504|  10.7k|#define _PyODictObject_CAST(op) _Py_CAST(PyODictObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  674|   113k|    else
  675|   113k|        _odictnode_NEXT(_odict_LAST(od)) = node;
  ------------------
  |  |  526|   113k|#define _odictnode_NEXT(node) (node->next)
  ------------------
  676|   124k|    _odict_LAST(od) = node;
  ------------------
  |  |  529|   124k|#define _odict_LAST(od) (_PyODictObject_CAST(od)->od_last)
  |  |  ------------------
  |  |  |  |  504|   124k|#define _PyODictObject_CAST(op) _Py_CAST(PyODictObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   124k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  677|   124k|    od->od_state++;
  678|   124k|}
odictobject.c:OrderedDict_move_to_end_impl:
 1325|  2.05M|{
 1326|  2.05M|    _ODictNode *node;
 1327|       |
 1328|  2.05M|    if (_odict_EMPTY(self)) {
  ------------------
  |  |  530|  2.05M|#define _odict_EMPTY(od) (_odict_FIRST(od) == NULL)
  |  |  ------------------
  |  |  |  |  528|  2.05M|#define _odict_FIRST(od) (_PyODictObject_CAST(od)->od_first)
  |  |  |  |  ------------------
  |  |  |  |  |  |  504|  2.05M|#define _PyODictObject_CAST(op) _Py_CAST(PyODictObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.05M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (530:26): [True: 0, False: 2.05M]
  |  |  ------------------
  ------------------
 1329|      0|        PyErr_SetObject(PyExc_KeyError, key);
 1330|      0|        return NULL;
 1331|      0|    }
 1332|  2.05M|    node = last ? _odict_LAST(self) : _odict_FIRST(self);
  ------------------
  |  |  529|  2.05M|#define _odict_LAST(od) (_PyODictObject_CAST(od)->od_last)
  |  |  ------------------
  |  |  |  |  504|  2.05M|#define _PyODictObject_CAST(op) _Py_CAST(PyODictObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.05M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  node = last ? _odict_LAST(self) : _odict_FIRST(self);
  ------------------
  |  |  528|  2.05M|#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 (1332:12): [True: 2.05M, False: 0]
  ------------------
 1333|  2.05M|    if (key != _odictnode_KEY(node)) {
  ------------------
  |  |  519|  2.05M|    (node->key)
  ------------------
  |  Branch (1333:9): [True: 2.05M, False: 12]
  ------------------
 1334|  2.05M|        node = _odict_find_node(self, key);
 1335|  2.05M|        if (node == NULL) {
  ------------------
  |  Branch (1335:13): [True: 0, False: 2.05M]
  ------------------
 1336|      0|            if (!PyErr_Occurred())
  ------------------
  |  Branch (1336:17): [True: 0, False: 0]
  ------------------
 1337|      0|                PyErr_SetObject(PyExc_KeyError, key);
 1338|      0|            return NULL;
 1339|      0|        }
 1340|  2.05M|        if (last) {
  ------------------
  |  Branch (1340:13): [True: 2.05M, False: 0]
  ------------------
 1341|       |            /* Only move if not already the last one. */
 1342|  2.05M|            if (node != _odict_LAST(self)) {
  ------------------
  |  |  529|  2.05M|#define _odict_LAST(od) (_PyODictObject_CAST(od)->od_last)
  |  |  ------------------
  |  |  |  |  504|  2.05M|#define _PyODictObject_CAST(op) _Py_CAST(PyODictObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.05M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1342:17): [True: 109k, False: 1.94M]
  ------------------
 1343|   109k|                _odict_remove_node(self, node);
 1344|   109k|                _odict_add_tail(self, node);
 1345|   109k|            }
 1346|  2.05M|        }
 1347|      0|        else {
 1348|       |            /* Only move if not already the first one. */
 1349|      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 (1349:17): [True: 0, False: 0]
  ------------------
 1350|      0|                _odict_remove_node(self, node);
 1351|      0|                _odict_add_head(self, node);
 1352|      0|            }
 1353|      0|        }
 1354|  2.05M|    }
 1355|  2.05M|    Py_RETURN_NONE;
  ------------------
  |  |  628|  2.05M|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  2.05M|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1356|  2.05M|}
odictobject.c:_odict_find_node:
  635|  2.10M|{
  636|  2.10M|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(od);
  637|  2.10M|    Py_ssize_t index;
  638|  2.10M|    Py_hash_t hash;
  639|       |
  640|  2.10M|    if (_odict_EMPTY(od))
  ------------------
  |  |  530|  2.10M|#define _odict_EMPTY(od) (_odict_FIRST(od) == NULL)
  |  |  ------------------
  |  |  |  |  528|  2.10M|#define _odict_FIRST(od) (_PyODictObject_CAST(od)->od_first)
  |  |  |  |  ------------------
  |  |  |  |  |  |  504|  2.10M|#define _PyODictObject_CAST(op) _Py_CAST(PyODictObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.10M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (530:26): [True: 0, False: 2.10M]
  |  |  ------------------
  ------------------
  641|      0|        return NULL;
  642|  2.10M|    hash = PyObject_Hash(key);
  643|  2.10M|    if (hash == -1)
  ------------------
  |  Branch (643:9): [True: 0, False: 2.10M]
  ------------------
  644|      0|        return NULL;
  645|  2.10M|    index = _odict_get_index(od, key, hash);
  646|  2.10M|    if (index < 0)
  ------------------
  |  Branch (646:9): [True: 0, False: 2.10M]
  ------------------
  647|      0|        return NULL;
  648|  2.10M|    assert(od->od_fast_nodes != NULL);
  649|  2.10M|    return od->od_fast_nodes[index];
  650|  2.10M|}
odictobject.c:_odict_remove_node:
  728|   109k|{
  729|   109k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(od);
  730|   109k|    if (_odict_FIRST(od) == node)
  ------------------
  |  |  528|   109k|#define _odict_FIRST(od) (_PyODictObject_CAST(od)->od_first)
  |  |  ------------------
  |  |  |  |  504|   109k|#define _PyODictObject_CAST(op) _Py_CAST(PyODictObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   109k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (730:9): [True: 37, False: 109k]
  ------------------
  731|     37|        _odict_FIRST(od) = _odictnode_NEXT(node);
  ------------------
  |  |  528|     37|#define _odict_FIRST(od) (_PyODictObject_CAST(od)->od_first)
  |  |  ------------------
  |  |  |  |  504|     37|#define _PyODictObject_CAST(op) _Py_CAST(PyODictObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     37|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      _odict_FIRST(od) = _odictnode_NEXT(node);
  ------------------
  |  |  526|     37|#define _odictnode_NEXT(node) (node->next)
  ------------------
  732|   109k|    else if (_odictnode_PREV(node) != NULL)
  ------------------
  |  |  525|   109k|#define _odictnode_PREV(node) (node->prev)
  ------------------
  |  Branch (732:14): [True: 109k, False: 0]
  ------------------
  733|   109k|        _odictnode_NEXT(_odictnode_PREV(node)) = _odictnode_NEXT(node);
  ------------------
  |  |  526|   109k|#define _odictnode_NEXT(node) (node->next)
  ------------------
                      _odictnode_NEXT(_odictnode_PREV(node)) = _odictnode_NEXT(node);
  ------------------
  |  |  526|   109k|#define _odictnode_NEXT(node) (node->next)
  ------------------
  734|       |
  735|   109k|    if (_odict_LAST(od) == node)
  ------------------
  |  |  529|   109k|#define _odict_LAST(od) (_PyODictObject_CAST(od)->od_last)
  |  |  ------------------
  |  |  |  |  504|   109k|#define _PyODictObject_CAST(op) _Py_CAST(PyODictObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   109k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (735:9): [True: 0, False: 109k]
  ------------------
  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|   109k|    else if (_odictnode_NEXT(node) != NULL)
  ------------------
  |  |  526|   109k|#define _odictnode_NEXT(node) (node->next)
  ------------------
  |  Branch (737:14): [True: 109k, False: 0]
  ------------------
  738|   109k|        _odictnode_PREV(_odictnode_NEXT(node)) = _odictnode_PREV(node);
  ------------------
  |  |  525|   109k|#define _odictnode_PREV(node) (node->prev)
  ------------------
                      _odictnode_PREV(_odictnode_NEXT(node)) = _odictnode_PREV(node);
  ------------------
  |  |  525|   109k|#define _odictnode_PREV(node) (node->prev)
  ------------------
  739|       |
  740|   109k|    _odictnode_PREV(node) = NULL;
  ------------------
  |  |  525|   109k|#define _odictnode_PREV(node) (node->prev)
  ------------------
  741|   109k|    _odictnode_NEXT(node) = NULL;
  ------------------
  |  |  526|   109k|#define _odictnode_NEXT(node) (node->next)
  ------------------
  742|   109k|    od->od_state++;
  743|   109k|}
odictobject.c:odict_init:
 1542|  10.8k|{
 1543|  10.8k|    PyObject *res;
 1544|  10.8k|    Py_ssize_t len = PyObject_Length(args);
  ------------------
  |  |  353|  10.8k|#define PyObject_Length PyObject_Size
  ------------------
 1545|       |
 1546|  10.8k|    if (len == -1)
  ------------------
  |  Branch (1546:9): [True: 0, False: 10.8k]
  ------------------
 1547|      0|        return -1;
 1548|  10.8k|    if (len > 1) {
  ------------------
  |  Branch (1548:9): [True: 0, False: 10.8k]
  ------------------
 1549|      0|        const char *msg = "expected at most 1 argument, got %zd";
 1550|      0|        PyErr_Format(PyExc_TypeError, msg, len);
 1551|      0|        return -1;
 1552|      0|    }
 1553|       |
 1554|       |    /* __init__() triggering update() is just the way things are! */
 1555|  10.8k|    res = odict_update(self, args, kwds);
  ------------------
  |  | 1211|  10.8k|#define odict_update mutablemapping_update
  ------------------
 1556|  10.8k|    if (res == NULL) {
  ------------------
  |  Branch (1556:9): [True: 0, False: 10.8k]
  ------------------
 1557|      0|        return -1;
 1558|  10.8k|    } else {
 1559|  10.8k|        Py_DECREF(res);
  ------------------
  |  |  430|  10.8k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1560|  10.8k|        return 0;
 1561|  10.8k|    }
 1562|  10.8k|}
odictobject.c:PyODict_SetItem_LockHeld:
 1640|  14.8k|{
 1641|  14.8k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(od);
 1642|  14.8k|    Py_hash_t hash = PyObject_Hash(key);
 1643|  14.8k|    if (hash == -1) {
  ------------------
  |  Branch (1643:9): [True: 0, False: 14.8k]
  ------------------
 1644|      0|        return -1;
 1645|      0|    }
 1646|  14.8k|    return _PyODict_SetItem_KnownHash_LockHeld(od, key, value, hash);
 1647|  14.8k|}
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:
 1699|  46.6k|{
 1700|  46.6k|    odictiterobject *di = (odictiterobject*)op;
 1701|  46.6k|    _PyObject_GC_UNTRACK(di);
  ------------------
  |  |  510|  46.6k|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  46.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  46.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1702|  46.6k|    Py_XDECREF(di->di_odict);
  ------------------
  |  |  524|  46.6k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  46.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  46.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1703|  46.6k|    Py_XDECREF(di->di_current);
  ------------------
  |  |  524|  46.6k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  46.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  46.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1704|  46.6k|    if ((di->kind & _odict_ITER_ITEMS) == _odict_ITER_ITEMS) {
  ------------------
  |  | 1295|  46.6k|#define _odict_ITER_ITEMS (_odict_ITER_KEYS|_odict_ITER_VALUES)
  |  |  ------------------
  |  |  |  | 1293|  46.6k|#define _odict_ITER_KEYS 2
  |  |  ------------------
  |  |               #define _odict_ITER_ITEMS (_odict_ITER_KEYS|_odict_ITER_VALUES)
  |  |  ------------------
  |  |  |  | 1294|  46.6k|#define _odict_ITER_VALUES 4
  |  |  ------------------
  ------------------
                  if ((di->kind & _odict_ITER_ITEMS) == _odict_ITER_ITEMS) {
  ------------------
  |  | 1295|  46.6k|#define _odict_ITER_ITEMS (_odict_ITER_KEYS|_odict_ITER_VALUES)
  |  |  ------------------
  |  |  |  | 1293|  46.6k|#define _odict_ITER_KEYS 2
  |  |  ------------------
  |  |               #define _odict_ITER_ITEMS (_odict_ITER_KEYS|_odict_ITER_VALUES)
  |  |  ------------------
  |  |  |  | 1294|  46.6k|#define _odict_ITER_VALUES 4
  |  |  ------------------
  ------------------
  |  Branch (1704:9): [True: 4, False: 46.6k]
  ------------------
 1705|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1706|      4|    }
 1707|  46.6k|    PyObject_GC_Del(di);
 1708|  46.6k|}
odictobject.c:odictiter_iternext:
 1850|  92.3k|{
 1851|  92.3k|    PyObject *res;
 1852|  92.3k|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|  92.3k|    {
  ------------------
 1853|  92.3k|    res = odictiter_iternext_lock_held(op);
 1854|  92.3k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  92.3k|    }
  ------------------
 1855|  92.3k|    return res;
 1856|  92.3k|}
odictobject.c:odictiter_iternext_lock_held:
 1792|  92.3k|{
 1793|  92.3k|    odictiterobject *di = (odictiterobject*)op;
 1794|  92.3k|    PyObject *result, *value;
 1795|  92.3k|    PyObject *key = odictiter_nextkey(di);  /* new reference */
 1796|       |
 1797|  92.3k|    if (key == NULL)
  ------------------
  |  Branch (1797:9): [True: 43.0k, False: 49.2k]
  ------------------
 1798|  43.0k|        return NULL;
 1799|       |
 1800|       |    /* Handle the keys case. */
 1801|  49.2k|    if (! (di->kind & _odict_ITER_VALUES)) {
  ------------------
  |  | 1294|  49.2k|#define _odict_ITER_VALUES 4
  ------------------
  |  Branch (1801:9): [True: 7.59k, False: 41.6k]
  ------------------
 1802|  7.59k|        return key;
 1803|  7.59k|    }
 1804|       |
 1805|  41.6k|    if (PyDict_GetItemRef((PyObject *)di->di_odict, key, &value) != 1) {
  ------------------
  |  Branch (1805:9): [True: 0, False: 41.6k]
  ------------------
 1806|      0|        if (!PyErr_Occurred())
  ------------------
  |  Branch (1806:13): [True: 0, False: 0]
  ------------------
 1807|      0|            PyErr_SetObject(PyExc_KeyError, key);
 1808|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1809|      0|        goto error;
 1810|      0|    }
 1811|       |
 1812|       |    /* Handle the values case. */
 1813|  41.6k|    if (!(di->kind & _odict_ITER_KEYS)) {
  ------------------
  |  | 1293|  41.6k|#define _odict_ITER_KEYS 2
  ------------------
  |  Branch (1813:9): [True: 41.6k, False: 12]
  ------------------
 1814|  41.6k|        Py_DECREF(key);
  ------------------
  |  |  430|  41.6k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  41.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1815|  41.6k|        return value;
 1816|  41.6k|    }
 1817|       |
 1818|       |    /* Handle the items case. */
 1819|     12|    result = di->di_result;
 1820|       |
 1821|     12|    if (_PyObject_IsUniquelyReferenced(result)) {
  ------------------
  |  Branch (1821:9): [True: 12, False: 0]
  ------------------
 1822|       |        /* not in use so we can reuse it
 1823|       |         * (the common case during iteration) */
 1824|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1825|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1826|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1827|       |        // bpo-42536: The GC may have untracked this result tuple. Since we're
 1828|       |        // recycling it, make sure it's tracked again:
 1829|     12|        _PyTuple_Recycle(result);
 1830|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1831|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1832|     12|    }
 1833|      0|    else {
 1834|      0|        result = _PyTuple_FromPairSteal(key, value);
 1835|      0|        if (result == NULL) {
  ------------------
  |  Branch (1835:13): [True: 0, False: 0]
  ------------------
 1836|      0|            goto error;
 1837|      0|        }
 1838|      0|    }
 1839|       |
 1840|     12|    return result;
 1841|       |
 1842|      0|error:
 1843|      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]
  |  |  ------------------
  ------------------
 1844|      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]
  |  |  ------------------
  ------------------
 1845|       |    return NULL;
 1846|     12|}
odictobject.c:odictiter_nextkey:
 1778|  92.3k|{
 1779|  92.3k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(di);
 1780|  92.3k|    if (di->di_odict == NULL) {
  ------------------
  |  Branch (1780:9): [True: 4, False: 92.3k]
  ------------------
 1781|      4|        return NULL;
 1782|      4|    }
 1783|  92.3k|    PyObject *res;
 1784|  92.3k|    Py_BEGIN_CRITICAL_SECTION(di->di_odict);
  ------------------
  |  |   51|  92.3k|    {
  ------------------
 1785|  92.3k|    res = odictiter_nextkey_lock_held(di);
 1786|  92.3k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  92.3k|    }
  ------------------
 1787|  92.3k|    return res;
 1788|  92.3k|}
odictobject.c:odictiter_nextkey_lock_held:
 1724|  92.3k|{
 1725|  92.3k|    assert(di->di_odict != NULL);
 1726|  92.3k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(di->di_odict);
 1727|  92.3k|    PyObject *key = NULL;
 1728|  92.3k|    _ODictNode *node;
 1729|  92.3k|    int reversed = di->kind & _odict_ITER_REVERSED;
  ------------------
  |  | 1292|  92.3k|#define _odict_ITER_REVERSED 1
  ------------------
 1730|       |
 1731|  92.3k|    if (di->di_current == NULL)
  ------------------
  |  Branch (1731:9): [True: 43.0k, False: 49.2k]
  ------------------
 1732|  43.0k|        goto done;  /* We're already done. */
 1733|       |
 1734|       |    /* Check for unsupported changes. */
 1735|  49.2k|    if (di->di_odict->od_state != di->di_state) {
  ------------------
  |  Branch (1735:9): [True: 0, False: 49.2k]
  ------------------
 1736|      0|        PyErr_SetString(PyExc_RuntimeError,
 1737|      0|                        "OrderedDict mutated during iteration");
 1738|      0|        goto done;
 1739|      0|    }
 1740|  49.2k|    if (di->di_size != PyODict_SIZE(di->di_odict)) {
  ------------------
  |  |   23|  49.2k|#define PyODict_SIZE(op) PyDict_GET_SIZE((op))
  |  |  ------------------
  |  |  |  |   63|  49.2k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  49.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  49.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1740:9): [True: 0, False: 49.2k]
  ------------------
 1741|      0|        PyErr_SetString(PyExc_RuntimeError,
 1742|      0|                        "OrderedDict changed size during iteration");
 1743|      0|        di->di_size = -1; /* Make this state sticky */
 1744|      0|        return NULL;
 1745|      0|    }
 1746|       |
 1747|       |    /* Get the key. */
 1748|  49.2k|    node = _odict_find_node(di->di_odict, di->di_current);
 1749|  49.2k|    if (node == NULL) {
  ------------------
  |  Branch (1749:9): [True: 0, False: 49.2k]
  ------------------
 1750|      0|        if (!PyErr_Occurred())
  ------------------
  |  Branch (1750:13): [True: 0, False: 0]
  ------------------
 1751|      0|            PyErr_SetObject(PyExc_KeyError, di->di_current);
 1752|       |        /* Must have been deleted. */
 1753|      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]
  |  |  ------------------
  ------------------
 1754|      0|        return NULL;
 1755|      0|    }
 1756|  49.2k|    key = di->di_current;
 1757|       |
 1758|       |    /* Advance to the next key. */
 1759|  49.2k|    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|  98.5k|#define _odictnode_NEXT(node) (node->next)
  ------------------
  |  Branch (1759:12): [True: 0, False: 49.2k]
  ------------------
 1760|  49.2k|    if (node == NULL) {
  ------------------
  |  Branch (1760:9): [True: 42.8k, False: 6.41k]
  ------------------
 1761|       |        /* Reached the end. */
 1762|  42.8k|        di->di_current = NULL;
 1763|  42.8k|    }
 1764|  6.41k|    else {
 1765|  6.41k|        di->di_current = Py_NewRef(_odictnode_KEY(node));
  ------------------
  |  |  550|  6.41k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  6.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1766|  6.41k|    }
 1767|       |
 1768|  49.2k|    return key;
 1769|       |
 1770|  43.0k|done:
 1771|       |    Py_CLEAR(di->di_odict);
  ------------------
  |  |  484|  43.0k|    do { \
  |  |  485|  43.0k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  43.0k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  43.0k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  43.0k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  43.0k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 43.0k, False: 0]
  |  |  ------------------
  |  |  488|  43.0k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  43.0k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  43.0k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  43.0k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  43.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  43.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  43.0k|        } \
  |  |  491|  43.0k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 43.0k]
  |  |  ------------------
  ------------------
 1772|  43.0k|    return key;
 1773|  49.2k|}
odictobject.c:odictitems_iter:
 2027|      4|{
 2028|      4|    _PyDictViewObject *dv = (_PyDictViewObject*)op;
 2029|      4|    if (dv->dv_dict == NULL) {
  ------------------
  |  Branch (2029:9): [True: 0, False: 4]
  ------------------
 2030|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 2031|      0|    }
 2032|      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))
  |  |  ------------------
  ------------------
 2033|      4|            _odict_ITER_KEYS|_odict_ITER_VALUES);
  ------------------
  |  | 1293|      4|#define _odict_ITER_KEYS 2
  ------------------
                          _odict_ITER_KEYS|_odict_ITER_VALUES);
  ------------------
  |  | 1294|      4|#define _odict_ITER_VALUES 4
  ------------------
 2034|      4|}
odictobject.c:odictvalues_iter:
 2096|  39.4k|{
 2097|  39.4k|    _PyDictViewObject *dv = (_PyDictViewObject*)op;
 2098|  39.4k|    if (dv->dv_dict == NULL) {
  ------------------
  |  Branch (2098:9): [True: 0, False: 39.4k]
  ------------------
 2099|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 2100|      0|    }
 2101|  39.4k|    return odictiter_new(_PyODictObject_CAST(dv->dv_dict),
  ------------------
  |  |  504|  39.4k|#define _PyODictObject_CAST(op) _Py_CAST(PyODictObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  39.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2102|  39.4k|            _odict_ITER_VALUES);
  ------------------
  |  | 1294|  39.4k|#define _odict_ITER_VALUES 4
  ------------------
 2103|  39.4k|}

rangeobject.c:range_dealloc:
  186|  49.9k|{
  187|  49.9k|    rangeobject *r = (rangeobject*)op;
  188|  49.9k|    Py_DECREF(r->start);
  ------------------
  |  |  430|  49.9k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  49.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  49.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  189|  49.9k|    Py_DECREF(r->stop);
  ------------------
  |  |  430|  49.9k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  49.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  49.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  190|  49.9k|    Py_DECREF(r->step);
  ------------------
  |  |  430|  49.9k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  49.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  49.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  191|  49.9k|    Py_DECREF(r->length);
  ------------------
  |  |  430|  49.9k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  49.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  49.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  192|  49.9k|    _Py_FREELIST_FREE(ranges, r, PyObject_Free);
  ------------------
  |  |   35|  49.9k|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  49.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  49.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  49.9k|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   22|  49.9k|#  define Py_ranges_MAXFREELIST 6
  |  |  ------------------
  ------------------
  193|  49.9k|}
rangeobject.c:range_length:
  327|      2|{
  328|      2|    rangeobject *r = (rangeobject*)op;
  329|      2|    return PyLong_AsSsize_t(r->length);
  330|      2|}
rangeobject.c:compute_item:
  334|    852|{
  335|    852|    PyObject *incr, *result;
  336|       |    /* PyLong equivalent to:
  337|       |     *    return r->start + (i * r->step)
  338|       |     */
  339|    852|    if (r->step == _PyLong_GetOne()) {
  ------------------
  |  Branch (339:9): [True: 852, False: 0]
  ------------------
  340|    852|        result = PyNumber_Add(r->start, i);
  341|    852|    }
  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|    852|    return result;
  351|    852|}
rangeobject.c:range_subscript:
  730|    426|{
  731|    426|    rangeobject *self = (rangeobject*)op;
  732|    426|    if (_PyIndex_Check(item)) {
  ------------------
  |  Branch (732:9): [True: 0, False: 426]
  ------------------
  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|    426|    if (PySlice_Check(item)) {
  ------------------
  |  |   22|    426|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  ------------------
  |  |  |  |  215|    426|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    426|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    426|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 426, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  742|    426|        return compute_slice(self, item);
  743|    426|    }
  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|    426|}
rangeobject.c:compute_slice:
  420|    426|{
  421|    426|    PySliceObject *slice = (PySliceObject *) _slice;
  422|    426|    rangeobject *result;
  423|    426|    PyObject *start = NULL, *stop = NULL, *step = NULL;
  424|    426|    PyObject *substart = NULL, *substop = NULL, *substep = NULL;
  425|    426|    int error;
  426|       |
  427|    426|    error = _PySlice_GetLongIndices(slice, r->length, &start, &stop, &step);
  428|    426|    if (error == -1)
  ------------------
  |  Branch (428:9): [True: 0, False: 426]
  ------------------
  429|      0|        return NULL;
  430|       |
  431|    426|    substep = PyNumber_Multiply(r->step, step);
  432|    426|    if (substep == NULL) goto fail;
  ------------------
  |  Branch (432:9): [True: 0, False: 426]
  ------------------
  433|    426|    Py_CLEAR(step);
  ------------------
  |  |  484|    426|    do { \
  |  |  485|    426|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    426|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    426|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    426|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    426|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 426, False: 0]
  |  |  ------------------
  |  |  488|    426|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    426|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|    426|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|    426|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    426|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    426|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|    426|        } \
  |  |  491|    426|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 426]
  |  |  ------------------
  ------------------
  434|       |
  435|    426|    substart = compute_item(r, start);
  436|    426|    if (substart == NULL) goto fail;
  ------------------
  |  Branch (436:9): [True: 0, False: 426]
  ------------------
  437|    426|    Py_CLEAR(start);
  ------------------
  |  |  484|    426|    do { \
  |  |  485|    426|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    426|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    426|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    426|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    426|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 426, False: 0]
  |  |  ------------------
  |  |  488|    426|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    426|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|    426|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|    426|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    426|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    426|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|    426|        } \
  |  |  491|    426|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 426]
  |  |  ------------------
  ------------------
  438|       |
  439|    426|    substop = compute_item(r, stop);
  440|    426|    if (substop == NULL) goto fail;
  ------------------
  |  Branch (440:9): [True: 0, False: 426]
  ------------------
  441|    426|    Py_CLEAR(stop);
  ------------------
  |  |  484|    426|    do { \
  |  |  485|    426|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    426|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    426|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    426|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    426|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 426, False: 0]
  |  |  ------------------
  |  |  488|    426|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    426|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|    426|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|    426|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    426|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    426|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|    426|        } \
  |  |  491|    426|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 426]
  |  |  ------------------
  ------------------
  442|       |
  443|    426|    result = make_range_object(Py_TYPE(r), substart, substop, substep);
  ------------------
  |  |  213|    426|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    426|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    426|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  444|    426|    if (result != NULL) {
  ------------------
  |  Branch (444:9): [True: 426, False: 0]
  ------------------
  445|    426|        return (PyObject *) result;
  446|    426|    }
  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|    426|}
rangeobject.c:make_range_object:
   69|  49.9k|{
   70|  49.9k|    PyObject *length;
   71|  49.9k|    length = compute_range_length(start, stop, step);
   72|  49.9k|    if (length == NULL) {
  ------------------
  |  Branch (72:9): [True: 0, False: 49.9k]
  ------------------
   73|      0|        return NULL;
   74|      0|    }
   75|  49.9k|    rangeobject *obj = _Py_FREELIST_POP(rangeobject, ranges);
  ------------------
  |  |   43|  49.9k|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  49.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   76|  49.9k|    if (obj == NULL) {
  ------------------
  |  Branch (76:9): [True: 8, False: 49.9k]
  ------------------
   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|  49.9k|    obj->start = start;
   84|  49.9k|    obj->stop = stop;
   85|  49.9k|    obj->step = step;
   86|  49.9k|    obj->length = length;
   87|  49.9k|    return obj;
   88|  49.9k|}
rangeobject.c:compute_range_length:
  244|  49.9k|{
  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|  49.9k|    int cmp_result;
  250|  49.9k|    PyObject *lo, *hi;
  251|  49.9k|    PyObject *diff = NULL;
  252|  49.9k|    PyObject *tmp1 = NULL, *tmp2 = NULL, *result;
  253|       |                /* holds sub-expression evaluations */
  254|       |
  255|  49.9k|    PyObject *zero = _PyLong_GetZero();  // borrowed reference
  256|  49.9k|    PyObject *one = _PyLong_GetOne();  // borrowed reference
  257|       |
  258|  49.9k|    assert(PyLong_Check(start));
  259|  49.9k|    assert(PyLong_Check(stop));
  260|  49.9k|    assert(PyLong_Check(step));
  261|       |
  262|       |    /* fast path when all arguments fit into a long integer */
  263|  49.9k|    long len = compute_range_length_long(start, stop, step);
  264|  49.9k|    if (len >= 0) {
  ------------------
  |  Branch (264:9): [True: 49.9k, False: 2]
  ------------------
  265|  49.9k|        return PyLong_FromLong(len);
  266|  49.9k|    }
  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|  49.9k|    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|  49.9k|                PyObject *stop, PyObject *step) {
  204|  49.9k|    int overflow = 0;
  205|       |
  206|  49.9k|    long long_start = PyLong_AsLongAndOverflow(start, &overflow);
  207|  49.9k|    if (overflow) {
  ------------------
  |  Branch (207:9): [True: 0, False: 49.9k]
  ------------------
  208|      0|        return -2;
  209|      0|    }
  210|  49.9k|    if (long_start == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (210:9): [True: 10, False: 49.9k]
  |  Branch (210:29): [True: 0, False: 10]
  ------------------
  211|      0|        return -1;
  212|      0|    }
  213|  49.9k|    long long_stop = PyLong_AsLongAndOverflow(stop, &overflow);
  214|  49.9k|    if (overflow) {
  ------------------
  |  Branch (214:9): [True: 2, False: 49.9k]
  ------------------
  215|      2|        return -2;
  216|      2|    }
  217|  49.9k|    if (long_stop == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (217:9): [True: 426, False: 49.5k]
  |  Branch (217:28): [True: 0, False: 426]
  ------------------
  218|      0|        return -1;
  219|      0|    }
  220|  49.9k|    long long_step = PyLong_AsLongAndOverflow(step, &overflow);
  221|  49.9k|    if (overflow) {
  ------------------
  |  Branch (221:9): [True: 0, False: 49.9k]
  ------------------
  222|      0|        return -2;
  223|      0|    }
  224|  49.9k|    if (long_step == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (224:9): [True: 426, False: 49.5k]
  |  Branch (224:28): [True: 0, False: 426]
  ------------------
  225|      0|        return -1;
  226|      0|    }
  227|       |
  228|  49.9k|    unsigned long ulen = get_len_of_range(long_start, long_stop, long_step);
  229|  49.9k|    if (ulen > (unsigned long)LONG_MAX) {
  ------------------
  |  Branch (229:9): [True: 0, False: 49.9k]
  ------------------
  230|       |        /* length too large for a long */
  231|      0|        return -2;
  232|      0|    }
  233|  49.9k|    else {
  234|  49.9k|        return (long)ulen;
  235|  49.9k|    }
  236|  49.9k|}
rangeobject.c:get_len_of_range:
  993|  99.4k|{
  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|  99.4k|    assert(step != 0);
 1008|  99.4k|    if (step > 0 && lo < hi)
  ------------------
  |  Branch (1008:9): [True: 98.4k, False: 980]
  |  Branch (1008:21): [True: 98.0k, False: 430]
  ------------------
 1009|  98.0k|        return 1UL + (hi - 1UL - lo) / step;
 1010|  1.41k|    else if (step < 0 && lo > hi)
  ------------------
  |  Branch (1010:14): [True: 980, False: 430]
  |  Branch (1010:26): [True: 972, False: 8]
  ------------------
 1011|    972|        return 1UL + (lo - 1UL - hi) / (0UL - step);
 1012|    438|    else
 1013|    438|        return 0UL;
 1014|  99.4k|}
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|  49.5k|{
 1022|  49.5k|    _PyRangeIterObject *it = _Py_FREELIST_POP(_PyRangeIterObject, range_iters);
  ------------------
  |  |   43|  49.5k|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  49.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1023|  49.5k|    if (it == NULL) {
  ------------------
  |  Branch (1023:9): [True: 7, False: 49.5k]
  ------------------
 1024|      7|        it = PyObject_New(_PyRangeIterObject, &PyRangeIter_Type);
  ------------------
  |  |  130|      7|#define PyObject_New(type, typeobj) ((type *)_PyObject_New(typeobj))
  ------------------
 1025|      7|        if (it == NULL) {
  ------------------
  |  Branch (1025:13): [True: 0, False: 7]
  ------------------
 1026|      0|            return NULL;
 1027|      0|        }
 1028|      7|    }
 1029|  49.5k|    assert(Py_IS_TYPE(it, &PyRangeIter_Type));
 1030|  49.5k|    it->start = start;
 1031|  49.5k|    it->step = step;
 1032|  49.5k|    it->len = len;
 1033|  49.5k|    return (PyObject *)it;
 1034|  49.5k|}
rangeobject.c:range_from_array:
   97|  49.5k|{
   98|  49.5k|    rangeobject *obj;
   99|  49.5k|    PyObject *start = NULL, *stop = NULL, *step = NULL;
  100|       |
  101|  49.5k|    switch (num_args) {
  102|     92|        case 3:
  ------------------
  |  Branch (102:9): [True: 92, False: 49.4k]
  ------------------
  103|     92|            step = args[2];
  104|     92|            _Py_FALLTHROUGH;
  ------------------
  |  |  644|     92|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  105|  3.92k|        case 2:
  ------------------
  |  Branch (105:9): [True: 3.83k, False: 45.6k]
  ------------------
  106|       |            /* Convert borrowed refs to owned refs */
  107|  3.92k|            start = PyNumber_Index(args[0]);
  108|  3.92k|            if (!start) {
  ------------------
  |  Branch (108:17): [True: 0, False: 3.92k]
  ------------------
  109|      0|                return NULL;
  110|      0|            }
  111|  3.92k|            stop = PyNumber_Index(args[1]);
  112|  3.92k|            if (!stop) {
  ------------------
  |  Branch (112:17): [True: 0, False: 3.92k]
  ------------------
  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|  3.92k|            step = validate_step(step);  /* Caution, this can clear exceptions */
  117|  3.92k|            if (!step) {
  ------------------
  |  Branch (117:17): [True: 0, False: 3.92k]
  ------------------
  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|  3.92k|            break;
  123|  45.5k|        case 1:
  ------------------
  |  Branch (123:9): [True: 45.5k, False: 3.92k]
  ------------------
  124|  45.5k|            stop = PyNumber_Index(args[0]);
  125|  45.5k|            if (!stop) {
  ------------------
  |  Branch (125:17): [True: 0, False: 45.5k]
  ------------------
  126|      0|                return NULL;
  127|      0|            }
  128|  45.5k|            start = _PyLong_GetZero();
  129|  45.5k|            step = _PyLong_GetOne();
  130|  45.5k|            break;
  131|      0|        case 0:
  ------------------
  |  Branch (131:9): [True: 0, False: 49.5k]
  ------------------
  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: 49.5k]
  ------------------
  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|  49.5k|    }
  141|  49.5k|    obj = make_range_object(type, start, stop, step);
  142|  49.5k|    if (obj != NULL) {
  ------------------
  |  Branch (142:9): [True: 49.5k, False: 0]
  ------------------
  143|  49.5k|        return (PyObject *) obj;
  144|  49.5k|    }
  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|  49.5k|}
rangeobject.c:validate_step:
   48|  3.92k|{
   49|       |    /* No step specified, use a step of 1. */
   50|  3.92k|    if (!step)
  ------------------
  |  Branch (50:9): [True: 3.83k, False: 92]
  ------------------
   51|  3.83k|        return PyLong_FromLong(1);
   52|       |
   53|     92|    step = PyNumber_Index(step);
   54|     92|    if (step && _PyLong_IsZero((PyLongObject *)step)) {
  ------------------
  |  Branch (54:9): [True: 92, False: 0]
  |  Branch (54:17): [True: 0, False: 92]
  ------------------
   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|     92|    return step;
   61|  3.92k|}
rangeobject.c:range_vectorcall:
  166|  49.5k|{
  167|  49.5k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  49.5k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  168|  49.5k|    if (!_PyArg_NoKwnames("range", kwnames)) {
  ------------------
  |  |   15|  49.5k|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (15:6): [True: 49.5k, False: 0]
  |  |  |  Branch (15:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  169|      0|        return NULL;
  170|      0|    }
  171|  49.5k|    return range_from_array((PyTypeObject *)rangetype, args, nargs);
  172|  49.5k|}
rangeobject.c:rangeiter_dealloc:
  944|  49.5k|{
  945|  49.5k|    _Py_FREELIST_FREE(range_iters, (_PyRangeIterObject *)self, PyObject_Free);
  ------------------
  |  |   35|  49.5k|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  49.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  49.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  49.5k|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   23|  49.5k|#  define Py_range_iters_MAXFREELIST 6
  |  |  ------------------
  ------------------
  946|  49.5k|}
rangeobject.c:rangeiter_next:
  847|  4.75k|{
  848|  4.75k|    PyObject *ret = NULL;
  849|  4.75k|    Py_BEGIN_CRITICAL_SECTION(op);
  ------------------
  |  |   51|  4.75k|    {
  ------------------
  850|  4.75k|    _PyRangeIterObject *r = (_PyRangeIterObject*)op;
  851|  4.75k|    if (r->len > 0) {
  ------------------
  |  Branch (851:9): [True: 4.73k, False: 17]
  ------------------
  852|  4.73k|        long result = r->start;
  853|  4.73k|        r->start = result + r->step;
  854|  4.73k|        r->len--;
  855|  4.73k|        ret = PyLong_FromLong(result);
  856|  4.73k|    }
  857|  4.75k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  4.75k|    }
  ------------------
  858|  4.75k|    return ret;
  859|  4.75k|}
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|  49.5k|{
 1229|  49.5k|    rangeobject *r = (rangeobject *)seq;
 1230|  49.5k|    longrangeiterobject *it;
 1231|  49.5k|    long lstart, lstop, lstep;
 1232|  49.5k|    unsigned long ulen;
 1233|       |
 1234|  49.5k|    assert(PyRange_Check(seq));
 1235|       |
 1236|       |    /* If all three fields and the length convert to long, use the int
 1237|       |     * version */
 1238|  49.5k|    lstart = PyLong_AsLong(r->start);
 1239|  49.5k|    if (lstart == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1239:9): [True: 10, False: 49.5k]
  |  Branch (1239:25): [True: 0, False: 10]
  ------------------
 1240|      0|        PyErr_Clear();
 1241|      0|        goto long_range;
 1242|      0|    }
 1243|  49.5k|    lstop = PyLong_AsLong(r->stop);
 1244|  49.5k|    if (lstop == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1244:9): [True: 428, False: 49.0k]
  |  Branch (1244:24): [True: 2, False: 426]
  ------------------
 1245|      2|        PyErr_Clear();
 1246|      2|        goto long_range;
 1247|      2|    }
 1248|  49.5k|    lstep = PyLong_AsLong(r->step);
 1249|  49.5k|    if (lstep == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1249:9): [True: 426, False: 49.0k]
  |  Branch (1249:24): [True: 0, False: 426]
  ------------------
 1250|      0|        PyErr_Clear();
 1251|      0|        goto long_range;
 1252|      0|    }
 1253|  49.5k|    ulen = get_len_of_range(lstart, lstop, lstep);
 1254|  49.5k|    if (ulen > (unsigned long)LONG_MAX) {
  ------------------
  |  Branch (1254:9): [True: 0, False: 49.5k]
  ------------------
 1255|      0|        goto long_range;
 1256|      0|    }
 1257|       |    /* check for potential overflow of lstart + ulen * lstep */
 1258|  49.5k|    if (ulen) {
  ------------------
  |  Branch (1258:9): [True: 49.3k, False: 215]
  ------------------
 1259|  49.3k|        if (lstep > 0) {
  ------------------
  |  Branch (1259:13): [True: 48.8k, False: 486]
  ------------------
 1260|  48.8k|            if (lstop > LONG_MAX - (lstep - 1))
  ------------------
  |  Branch (1260:17): [True: 0, False: 48.8k]
  ------------------
 1261|      0|                goto long_range;
 1262|  48.8k|        }
 1263|    486|        else {
 1264|    486|            if (lstop < LONG_MIN + (-1 - lstep))
  ------------------
  |  Branch (1264:17): [True: 0, False: 486]
  ------------------
 1265|      0|                goto long_range;
 1266|    486|        }
 1267|  49.3k|    }
 1268|  49.5k|    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:
   50|      6|{
   51|      6|    assert(PyUnicode_Check(name));
   52|       |
   53|      6|    sentinelobject *self = PyObject_GC_New(sentinelobject, type);
  ------------------
  |  |  181|      6|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   54|      6|    if (self == NULL) {
  ------------------
  |  Branch (54:9): [True: 0, False: 6]
  ------------------
   55|      0|        return NULL;
   56|      0|    }
   57|      6|    self->name = Py_NewRef(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   58|      6|    self->module = Py_NewRef(module);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   59|      6|    _PyObject_GC_TRACK(self);
  ------------------
  |  |  508|      6|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   60|      6|    return (PyObject *)self;
   61|      6|}
sentinelobject.c:sentinel_traverse:
  122|     48|{
  123|     48|    sentinelobject *self = sentinelobject_CAST(op);
  ------------------
  |  |   20|     48|    (assert(PySentinel_Check(op)), _Py_CAST(sentinelobject *, (op)))
  |  |  ------------------
  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  124|     48|    Py_VISIT(self->name);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  125|     48|    Py_VISIT(self->module);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  126|     48|    return 0;
  127|     48|}
sentinelobject.c:sentinel_new_impl:
   74|      6|{
   75|      6|    PyObject *module = caller();
   76|      6|    PyObject *self = sentinel_new_with_module(type, name, module);
   77|      6|    Py_DECREF(module);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   78|      6|    return self;
   79|      6|}
sentinelobject.c:caller:
   32|      6|{
   33|      6|    _PyInterpreterFrame *f = _PyThreadState_GET()->current_frame;
   34|      6|    if (f == NULL || PyStackRef_IsNull(f->f_funcobj)) {
  ------------------
  |  |  470|      6|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  467|      6|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      6|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (470:32): [True: 0, False: 6]
  |  |  ------------------
  ------------------
  |  Branch (34:9): [True: 0, False: 6]
  ------------------
   35|      0|        assert(!PyErr_Occurred());
   36|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
   37|      0|    }
   38|      6|    PyFunctionObject *func = _PyFrame_GetFunction(f);
   39|      6|    assert(PyFunction_Check(func));
   40|      6|    PyObject *r = PyFunction_GetModule((PyObject *)func);
   41|      6|    if (!r) {
  ------------------
  |  Branch (41:9): [True: 0, False: 6]
  ------------------
   42|      0|        assert(!PyErr_Occurred());
   43|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
   44|      0|    }
   45|      6|    return Py_NewRef(r);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   46|      6|}

_PySet_AddTakeRef:
  363|   199k|{
  364|   199k|    Py_hash_t hash = _PyObject_HashFast(key);
  365|   199k|    if (hash == -1) {
  ------------------
  |  Branch (365:9): [True: 0, False: 199k]
  ------------------
  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|   199k|    return set_add_entry_takeref(so, key, hash);
  373|   199k|}
_PySet_Contains:
 2502|   499k|{
 2503|   499k|    assert(so);
 2504|       |
 2505|   499k|    Py_hash_t hash = _PyObject_HashFast(key);
 2506|   499k|    if (hash == -1) {
  ------------------
  |  Branch (2506:9): [True: 0, False: 499k]
  ------------------
 2507|      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 (2507:34): [True: 0, False: 0]
  ------------------
 2508|      0|            set_unhashable_type(key);
 2509|      0|            return -1;
 2510|      0|        }
 2511|      0|        PyErr_Clear();
 2512|       |        // Note that 'key' could be a set() or frozenset() object.  Unlike most
 2513|       |        // container types, set allows membership testing with a set key, even
 2514|       |        // though it is not hashable.
 2515|      0|        Py_BEGIN_CRITICAL_SECTION(key);
  ------------------
  |  |   51|      0|    {
  ------------------
 2516|      0|        hash = frozenset_hash_impl(key);
 2517|      0|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 2518|      0|    }
 2519|   499k|    return set_contains_entry(so, key, hash);
 2520|   499k|}
PySet_New:
 2978|   288k|{
 2979|   288k|    return make_new_set(&PySet_Type, iterable);
 2980|   288k|}
PyFrozenSet_New:
 2984|  1.10k|{
 2985|  1.10k|    PyObject *result = make_new_set(&PyFrozenSet_Type, iterable);
 2986|  1.10k|    if (result != NULL) {
  ------------------
  |  Branch (2986:9): [True: 1.10k, False: 0]
  ------------------
 2987|  1.10k|        _PyFrozenSet_MaybeUntrack(result);
 2988|  1.10k|    }
 2989|  1.10k|    return result;
 2990|  1.10k|}
PySet_Size:
 2994|     79|{
 2995|     79|    if (!PyAnySet_Check(anyset)) {
  ------------------
  |  |   31|     79|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|    158|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     79|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     79|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 79, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|     79|#  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|     79|      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|     79|      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]
  |  |  ------------------
  ------------------
 2996|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2997|      0|        return -1;
 2998|      0|    }
 2999|     79|    return set_len(anyset);
 3000|     79|}
PySet_Clear:
 3004|     72|{
 3005|     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]
  |  |  ------------------
  ------------------
 3006|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3007|      0|        return -1;
 3008|      0|    }
 3009|     72|    (void)set_clear(set, NULL);
 3010|     72|    return 0;
 3011|     72|}
PySet_Contains:
 3021|   103k|{
 3022|   103k|    if (!PyAnySet_Check(anyset)) {
  ------------------
  |  |   31|   103k|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|   207k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   103k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   103k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 103k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|   103k|#  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|   103k|      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|   103k|      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]
  |  |  ------------------
  ------------------
 3023|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3024|      0|        return -1;
 3025|      0|    }
 3026|       |
 3027|   103k|    PySetObject *so = (PySetObject *)anyset;
 3028|   103k|    Py_hash_t hash = _PyObject_HashFast(key);
 3029|   103k|    if (hash == -1) {
  ------------------
  |  Branch (3029:9): [True: 0, False: 103k]
  ------------------
 3030|      0|        set_unhashable_type(key);
 3031|      0|        return -1;
 3032|      0|    }
 3033|   103k|    return set_contains_entry(so, key, hash);
 3034|   103k|}
PySet_Discard:
 3038|  23.6k|{
 3039|  23.6k|    if (!PySet_Check(set)) {
  ------------------
  |  |   37|  23.6k|    (Py_IS_TYPE((ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  215|  47.3k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  23.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  23.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 23.6k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   38|  23.6k|    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]
  |  |  ------------------
  ------------------
 3040|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3041|      0|        return -1;
 3042|      0|    }
 3043|       |
 3044|  23.6k|    int rv;
 3045|  23.6k|    Py_BEGIN_CRITICAL_SECTION(set);
  ------------------
  |  |   51|  23.6k|    {
  ------------------
 3046|  23.6k|    rv = set_discard_key((PySetObject *)set, key);
 3047|  23.6k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  23.6k|    }
  ------------------
 3048|  23.6k|    return rv;
 3049|  23.6k|}
PySet_Add:
 3053|  16.6k|{
 3054|  16.6k|    if (PySet_Check(anyset)) {
  ------------------
  |  |   37|  16.6k|    (Py_IS_TYPE((ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  215|  33.2k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  16.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  16.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 15.7k, False: 858]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   38|  16.6k|    PyType_IsSubtype(Py_TYPE(ob), &PySet_Type))
  |  |  ------------------
  |  |  |  |  213|    858|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    858|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    858|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (38:5): [True: 0, False: 858]
  |  |  ------------------
  ------------------
 3055|  15.7k|        int rv;
 3056|  15.7k|        Py_BEGIN_CRITICAL_SECTION(anyset);
  ------------------
  |  |   51|  15.7k|    {
  ------------------
 3057|  15.7k|        rv = set_add_key((PySetObject *)anyset, key);
 3058|  15.7k|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  15.7k|    }
  ------------------
 3059|  15.7k|        return rv;
 3060|  15.7k|    }
 3061|       |
 3062|    858|    if (PyFrozenSet_Check(anyset) && _PyObject_IsUniquelyReferenced(anyset)) {
  ------------------
  |  |   25|  1.71k|    (Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|  1.71k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    858|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    858|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 858, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   26|  1.71k|      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 (3062:38): [True: 858, False: 0]
  ------------------
 3063|       |        // We can only change frozensets if they are uniquely referenced. The
 3064|       |        // API limits the usage of `PySet_Add` to "fill in the values of brand
 3065|       |        // new frozensets before they are exposed to other code". In this case,
 3066|       |        // this can be done without a lock.
 3067|       |        // Since another key is added to the set, we must track the frozenset
 3068|       |        // if needed.
 3069|    858|        if (PyFrozenSet_CheckExact(anyset) && !PyObject_GC_IsTracked(anyset) && PyObject_GC_IsTracked(key)) {
  ------------------
  |  |   23|    858|#define PyFrozenSet_CheckExact(ob) Py_IS_TYPE((ob), &PyFrozenSet_Type)
  |  |  ------------------
  |  |  |  |  215|  1.71k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    858|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    858|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 858, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3069:47): [True: 852, False: 6]
  |  Branch (3069:81): [True: 2, False: 850]
  ------------------
 3070|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3071|      2|        }
 3072|    858|        return set_add_key((PySetObject *)anyset, key);
 3073|    858|    }
 3074|       |
 3075|      0|    PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3076|      0|    return -1;
 3077|    858|}
_PySet_NextEntry:
 3081|    906|{
 3082|    906|    setentry *entry;
 3083|       |
 3084|    906|    if (!PyAnySet_Check(set)) {
  ------------------
  |  |   31|    906|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|  1.81k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    906|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    906|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 906]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|  1.81k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    906|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    906|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 906, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   32|    906|      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|    906|      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]
  |  |  ------------------
  ------------------
 3085|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3086|      0|        return -1;
 3087|      0|    }
 3088|    906|    if (set_next((PySetObject *)set, pos, &entry) == 0)
  ------------------
  |  Branch (3088:9): [True: 183, False: 723]
  ------------------
 3089|    183|        return 0;
 3090|    723|    *key = entry->key;
 3091|    723|    *hash = entry->hash;
 3092|    723|    return 1;
 3093|    906|}
_PySet_NextEntryRef:
 3097|  1.82k|{
 3098|  1.82k|    setentry *entry;
 3099|       |
 3100|  1.82k|    if (!PyAnySet_Check(set)) {
  ------------------
  |  |   31|  1.82k|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_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.77k, False: 58]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|  1.88k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     58|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     58|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 58, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   32|  1.82k|      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.82k|      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]
  |  |  ------------------
  ------------------
 3101|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3102|      0|        return -1;
 3103|      0|    }
 3104|  1.82k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(set);
 3105|  1.82k|    if (set_next((PySetObject *)set, pos, &entry) == 0)
  ------------------
  |  Branch (3105:9): [True: 120, False: 1.70k]
  ------------------
 3106|    120|        return 0;
 3107|  1.70k|    *key = Py_NewRef(entry->key);
  ------------------
  |  |  550|  1.70k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.70k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.70k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3108|  1.70k|    *hash = entry->hash;
 3109|  1.70k|    return 1;
 3110|  1.82k|}
PySet_Pop:
 3114|      5|{
 3115|      5|    if (!PySet_Check(set)) {
  ------------------
  |  |   37|      5|    (Py_IS_TYPE((ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  215|     10|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 5, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   38|      5|    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]
  |  |  ------------------
  ------------------
 3116|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3117|      0|        return NULL;
 3118|      0|    }
 3119|      5|    return set_pop(set, NULL);
 3120|      5|}
_PySet_Update:
 3124|  30.7k|{
 3125|  30.7k|    if (!PySet_Check(set)) {
  ------------------
  |  |   37|  30.7k|    (Py_IS_TYPE((ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  215|  61.5k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  30.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  30.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 30.7k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   38|  30.7k|    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]
  |  |  ------------------
  ------------------
 3126|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3127|      0|        return -1;
 3128|      0|    }
 3129|  30.7k|    return set_update_internal((PySetObject *)set, iterable);
 3130|  30.7k|}
setobject.c:set_add_entry_takeref:
  254|   539k|{
  255|   539k|    setentry *table;
  256|   539k|    setentry *freeslot;
  257|   539k|    setentry *entry;
  258|   539k|    size_t perturb;
  259|   539k|    size_t mask;
  260|   539k|    size_t i;                       /* Unsigned for defined overflow behavior */
  261|   539k|    int probes;
  262|   539k|    int cmp;
  263|       |
  264|   539k|  restart:
  265|       |
  266|   539k|    mask = so->mask;
  267|   539k|    i = (size_t)hash & mask;
  268|   539k|    freeslot = NULL;
  269|   539k|    perturb = hash;
  270|       |
  271|   558k|    while (1) {
  ------------------
  |  Branch (271:12): [True: 558k, Folded]
  ------------------
  272|   558k|        entry = &so->table[i];
  273|   558k|        probes = (i + LINEAR_PROBES <= mask) ? LINEAR_PROBES: 0;
  ------------------
  |  |  214|   558k|#define LINEAR_PROBES 9
  ------------------
                      probes = (i + LINEAR_PROBES <= mask) ? LINEAR_PROBES: 0;
  ------------------
  |  |  214|   156k|#define LINEAR_PROBES 9
  ------------------
  |  Branch (273:18): [True: 156k, False: 402k]
  ------------------
  274|   610k|        do {
  275|   610k|            if (entry->hash == 0 && entry->key == NULL)
  ------------------
  |  Branch (275:17): [True: 417k, False: 192k]
  |  Branch (275:37): [True: 417k, False: 169]
  ------------------
  276|   417k|                goto found_unused_or_dummy;
  277|   192k|            if (entry->hash == hash) {
  ------------------
  |  Branch (277:17): [True: 122k, False: 70.5k]
  ------------------
  278|   122k|                PyObject *startkey = entry->key;
  279|   122k|                assert(startkey != dummy);
  280|   122k|                if (startkey == key)
  ------------------
  |  Branch (280:21): [True: 96.2k, False: 26.1k]
  ------------------
  281|  96.2k|                    goto found_active;
  282|  26.1k|                if (PyUnicode_CheckExact(startkey)
  ------------------
  |  |  104|  26.1k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  52.2k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  26.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  26.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 32, False: 26.0k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  283|  26.1k|                    && PyUnicode_CheckExact(key)
  ------------------
  |  |  104|     32|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  26.1k|#  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 (215:32): [True: 32, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  284|     32|                    && unicode_eq(startkey, key))
  ------------------
  |  Branch (284:24): [True: 32, False: 0]
  ------------------
  285|     32|                    goto found_active;
  286|  26.0k|                table = so->table;
  287|  26.0k|                Py_INCREF(startkey);
  ------------------
  |  |  310|  26.0k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  26.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  26.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  288|  26.0k|                cmp = PyObject_RichCompareBool(startkey, key, Py_EQ);
  ------------------
  |  |  654|  26.0k|#define Py_EQ 2
  ------------------
  289|  26.0k|                Py_DECREF(startkey);
  ------------------
  |  |  430|  26.0k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  26.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  26.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  290|  26.0k|                if (cmp > 0)
  ------------------
  |  Branch (290:21): [True: 26.0k, False: 22]
  ------------------
  291|  26.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|  70.5k|            else if (entry->hash == -1) {
  ------------------
  |  Branch (298:22): [True: 0, False: 70.5k]
  ------------------
  299|      0|                assert (entry->key == dummy);
  300|      0|                freeslot = entry;
  301|      0|            }
  302|  70.5k|            entry++;
  303|  70.5k|        } while (probes--);
  ------------------
  |  Branch (303:18): [True: 51.2k, False: 19.2k]
  ------------------
  304|  19.2k|        perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  218|  19.2k|#define PERTURB_SHIFT 5
  ------------------
  305|  19.2k|        i = (i * 5 + 1 + perturb) & mask;
  306|  19.2k|    }
  307|       |
  308|   417k|  found_unused_or_dummy:
  309|   417k|    if (freeslot == NULL)
  ------------------
  |  Branch (309:9): [True: 417k, False: 0]
  ------------------
  310|   417k|        goto found_unused;
  311|      0|    if (freeslot->hash != -1) {
  ------------------
  |  Branch (311:9): [True: 0, False: 0]
  ------------------
  312|      0|        goto restart;
  313|      0|    }
  314|      0|    FT_ATOMIC_STORE_SSIZE_RELAXED(so->used, so->used + 1);
  ------------------
  |  |  193|      0|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  315|      0|    FT_ATOMIC_STORE_SSIZE_RELAXED(freeslot->hash, hash);
  ------------------
  |  |  193|      0|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  316|      0|    FT_ATOMIC_STORE_PTR_RELEASE(freeslot->key, key);
  ------------------
  |  |  163|      0|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  317|      0|    return 0;
  318|       |
  319|   417k|  found_unused:
  320|   417k|    so->fill++;
  321|   417k|    FT_ATOMIC_STORE_SSIZE_RELAXED(so->used, so->used + 1);
  ------------------
  |  |  193|   417k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  322|   417k|    FT_ATOMIC_STORE_SSIZE_RELAXED(entry->hash, hash);
  ------------------
  |  |  193|   417k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  323|   417k|    FT_ATOMIC_STORE_PTR_RELEASE(entry->key, key);
  ------------------
  |  |  163|   417k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  324|   417k|    if ((size_t)so->fill*5 < mask*3)
  ------------------
  |  Branch (324:9): [True: 412k, False: 4.86k]
  ------------------
  325|   412k|        return 0;
  326|  4.86k|    return set_table_resize(so, so->used>50000 ? so->used*2 : so->used*4);
  ------------------
  |  Branch (326:33): [True: 0, False: 4.86k]
  ------------------
  327|       |
  328|   122k|  found_active:
  329|   122k|    Py_DECREF(key);
  ------------------
  |  |  430|   122k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   122k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   122k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  330|   122k|    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|   417k|}
setobject.c:set_table_resize:
  485|  16.6k|{
  486|  16.6k|    setentry *oldtable, *newtable, *entry;
  487|  16.6k|    Py_ssize_t oldmask = so->mask;
  488|  16.6k|    Py_ssize_t oldsize = (size_t)oldmask + 1;
  489|  16.6k|    size_t newmask;
  490|  16.6k|    int is_oldtable_malloced;
  491|  16.6k|    setentry small_copy[PySet_MINSIZE];
  492|       |
  493|  16.6k|    assert(minused >= 0);
  494|       |
  495|       |    /* Find the smallest table size > minused. */
  496|       |    /* XXX speed-up with intrinsics */
  497|  16.6k|    size_t newsize = PySet_MINSIZE;
  ------------------
  |  |   18|  16.6k|#define PySet_MINSIZE 8
  ------------------
  498|  46.0k|    while (newsize <= (size_t)minused) {
  ------------------
  |  Branch (498:12): [True: 29.3k, False: 16.6k]
  ------------------
  499|  29.3k|        newsize <<= 1; // The largest possible value is PY_SSIZE_T_MAX + 1.
  500|  29.3k|    }
  501|       |
  502|       |    /* Get space for a new table. */
  503|  16.6k|    oldtable = so->table;
  504|  16.6k|    assert(oldtable != NULL);
  505|  16.6k|    is_oldtable_malloced = oldtable != so->smalltable;
  506|       |
  507|  16.6k|    if (newsize == PySet_MINSIZE) {
  ------------------
  |  |   18|  16.6k|#define PySet_MINSIZE 8
  ------------------
  |  Branch (507:9): [True: 0, False: 16.6k]
  ------------------
  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.6k|    else {
  527|  16.6k|        newtable = PyMem_NEW(setentry, newsize);
  ------------------
  |  |   82|  16.6k|#define PyMem_NEW(type, n)        PyMem_New(type, (n))
  |  |  ------------------
  |  |  |  |   64|  16.6k|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|  16.6k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (64:5): [True: 0, False: 16.6k]
  |  |  |  |  ------------------
  |  |  |  |   65|  16.6k|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  |  |  ------------------
  ------------------
  528|  16.6k|        if (newtable == NULL) {
  ------------------
  |  Branch (528:13): [True: 0, False: 16.6k]
  ------------------
  529|      0|            PyErr_NoMemory();
  530|      0|            return -1;
  531|      0|        }
  532|  16.6k|    }
  533|       |
  534|       |    /* Make the set empty, using the new table. */
  535|  16.6k|    assert(newtable != oldtable);
  536|  16.6k|    set_zero_table(newtable, newsize);
  537|  16.6k|    FT_ATOMIC_STORE_PTR_RELEASE(so->table, NULL);
  ------------------
  |  |  163|  16.6k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  538|  16.6k|    FT_ATOMIC_STORE_SSIZE_RELEASE(so->mask, newsize - 1);
  ------------------
  |  |  168|  16.6k|#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.6k|    newmask = (size_t)so->mask;
  543|  16.6k|    if (so->fill == so->used) {
  ------------------
  |  Branch (543:9): [True: 16.6k, False: 0]
  ------------------
  544|   182k|        for (entry = oldtable; entry <= oldtable + oldmask; entry++) {
  ------------------
  |  Branch (544:32): [True: 166k, False: 16.6k]
  ------------------
  545|   166k|            if (entry->key != NULL) {
  ------------------
  |  Branch (545:17): [True: 64.8k, False: 101k]
  ------------------
  546|  64.8k|                set_insert_clean(newtable, newmask, entry->key, entry->hash);
  547|  64.8k|            }
  548|   166k|        }
  549|  16.6k|    } else {
  550|      0|        so->fill = so->used;
  551|      0|        for (entry = oldtable; entry <= oldtable + oldmask; entry++) {
  ------------------
  |  Branch (551:32): [True: 0, False: 0]
  ------------------
  552|      0|            if (entry->key != NULL && entry->key != dummy) {
  ------------------
  |  |   64|      0|#define dummy (&_dummy_struct)
  ------------------
  |  Branch (552:17): [True: 0, False: 0]
  |  Branch (552:39): [True: 0, False: 0]
  ------------------
  553|      0|                set_insert_clean(newtable, newmask, entry->key, entry->hash);
  554|      0|            }
  555|      0|        }
  556|      0|    }
  557|       |
  558|  16.6k|    FT_ATOMIC_STORE_PTR_RELEASE(so->table, newtable);
  ------------------
  |  |  163|  16.6k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  559|       |
  560|  16.6k|    if (is_oldtable_malloced)
  ------------------
  |  Branch (560:9): [True: 3.09k, False: 13.5k]
  ------------------
  561|  3.09k|        free_entries(oldtable, oldsize, SET_IS_SHARED(so));
  ------------------
  |  |  132|  3.09k|#define SET_IS_SHARED(so) 0
  ------------------
  562|  16.6k|    return 0;
  563|  16.6k|}
setobject.c:set_zero_table:
  197|  16.7k|{
  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.7k|    memset(table, 0, sizeof(setentry)*size);
  206|  16.7k|#endif
  207|  16.7k|}
setobject.c:set_insert_clean:
  385|  69.1k|{
  386|  69.1k|    setentry *entry;
  387|  69.1k|    size_t perturb = hash;
  388|  69.1k|    size_t i = (size_t)hash & mask;
  389|  69.1k|    size_t j;
  390|       |
  391|  74.6k|    while (1) {
  ------------------
  |  Branch (391:12): [True: 74.6k, Folded]
  ------------------
  392|  74.6k|        entry = &table[i];
  393|  74.6k|        if (entry->key == NULL)
  ------------------
  |  Branch (393:13): [True: 66.9k, False: 7.67k]
  ------------------
  394|  66.9k|            goto found_null;
  395|  7.67k|        if (i + LINEAR_PROBES <= mask) {
  ------------------
  |  |  214|  7.67k|#define LINEAR_PROBES 9
  ------------------
  |  Branch (395:13): [True: 6.56k, False: 1.10k]
  ------------------
  396|  49.6k|            for (j = 0; j < LINEAR_PROBES; j++) {
  ------------------
  |  |  214|  49.6k|#define LINEAR_PROBES 9
  ------------------
  |  Branch (396:25): [True: 45.2k, False: 4.39k]
  ------------------
  397|  45.2k|                entry++;
  398|  45.2k|                if (entry->key == NULL)
  ------------------
  |  Branch (398:21): [True: 2.17k, False: 43.0k]
  ------------------
  399|  2.17k|                    goto found_null;
  400|  45.2k|            }
  401|  6.56k|        }
  402|  5.49k|        perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  218|  5.49k|#define PERTURB_SHIFT 5
  ------------------
  403|  5.49k|        i = (i * 5 + 1 + perturb) & mask;
  404|  5.49k|    }
  405|  69.1k|  found_null:
  406|  69.1k|    FT_ATOMIC_STORE_SSIZE_RELAXED(entry->hash, hash);
  ------------------
  |  |  193|  69.1k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  407|  69.1k|    FT_ATOMIC_STORE_PTR_RELEASE(entry->key, key);
  ------------------
  |  |  163|  69.1k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  408|  69.1k|}
setobject.c:free_entries:
  468|  16.3k|{
  469|       |#ifdef Py_GIL_DISABLED
  470|       |    if (use_qsbr) {
  471|       |        _PyMem_FreeDelayed(entries, size * sizeof(setentry));
  472|       |        return;
  473|       |    }
  474|       |#endif
  475|  16.3k|    PyMem_Free(entries);
  476|  16.3k|}
setobject.c:setiter_dealloc:
 1041|  8.09k|{
 1042|  8.09k|    setiterobject *si = (setiterobject*)self;
 1043|       |    /* bpo-31095: UnTrack is needed before calling any callbacks */
 1044|  8.09k|    _PyObject_GC_UNTRACK(si);
  ------------------
  |  |  510|  8.09k|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1045|  8.09k|    Py_XDECREF(si->si_set);
  ------------------
  |  |  524|  8.09k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1046|  8.09k|    PyObject_GC_Del(si);
 1047|  8.09k|}
setobject.c:setiter_iternext:
 1096|  43.5k|{
 1097|  43.5k|    setiterobject *si = (setiterobject*)self;
 1098|  43.5k|    PyObject *key = NULL;
 1099|  43.5k|    Py_ssize_t i, mask;
 1100|  43.5k|    setentry *entry;
 1101|  43.5k|    PySetObject *so = si->si_set;
 1102|       |
 1103|  43.5k|    if (so == NULL)
  ------------------
  |  Branch (1103:9): [True: 0, False: 43.5k]
  ------------------
 1104|      0|        return NULL;
 1105|  43.5k|    assert (PyAnySet_Check(so));
 1106|       |
 1107|  43.5k|    Py_ssize_t so_used = FT_ATOMIC_LOAD_SSIZE_RELAXED(so->used);
  ------------------
  |  |  148|  43.5k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 1108|  43.5k|    Py_ssize_t si_used = FT_ATOMIC_LOAD_SSIZE_RELAXED(si->si_used);
  ------------------
  |  |  148|  43.5k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 1109|  43.5k|    if (si_used != so_used) {
  ------------------
  |  Branch (1109:9): [True: 0, False: 43.5k]
  ------------------
 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|  43.5k|    Py_BEGIN_CRITICAL_SECTION(so);
  ------------------
  |  |   51|  43.5k|    {
  ------------------
 1117|  43.5k|    i = si->si_pos;
 1118|  43.5k|    assert(i>=0);
 1119|  43.5k|    entry = so->table;
 1120|  43.5k|    mask = so->mask;
 1121|   150k|    while (i <= mask && (entry[i].key == NULL || entry[i].key == dummy)) {
  ------------------
  |  |   64|  35.9k|#define dummy (&_dummy_struct)
  ------------------
  |  Branch (1121:12): [True: 142k, False: 8.09k]
  |  Branch (1121:26): [True: 106k, False: 35.9k]
  |  Branch (1121:50): [True: 458, False: 35.4k]
  ------------------
 1122|   107k|        i++;
 1123|   107k|    }
 1124|  43.5k|    if (i <= mask) {
  ------------------
  |  Branch (1124:9): [True: 35.4k, False: 8.09k]
  ------------------
 1125|  35.4k|        key = Py_NewRef(entry[i].key);
  ------------------
  |  |  550|  35.4k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  35.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  35.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1126|  35.4k|    }
 1127|  43.5k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  43.5k|    }
  ------------------
 1128|  43.5k|    si->si_pos = i+1;
 1129|  43.5k|    if (key == NULL) {
  ------------------
  |  Branch (1129:9): [True: 8.09k, False: 35.4k]
  ------------------
 1130|  8.09k|        si->si_set = NULL;
 1131|  8.09k|        Py_DECREF(so);
  ------------------
  |  |  430|  8.09k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1132|  8.09k|        return NULL;
 1133|  8.09k|    }
 1134|  35.4k|    si->len--;
 1135|  35.4k|    return key;
 1136|  43.5k|}
setobject.c:frozenset_hash_impl:
  974|  74.2k|{
  975|  74.2k|    PySetObject *so = _PySet_CAST(self);
  ------------------
  |  |   62|  74.2k|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|  74.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  976|  74.2k|    Py_uhash_t hash = 0;
  977|  74.2k|    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|   675k|    for (entry = so->table; entry <= &so->table[so->mask]; entry++)
  ------------------
  |  Branch (989:29): [True: 601k, False: 74.2k]
  ------------------
  990|   601k|        hash ^= _shuffle_bits(entry->hash);
  991|       |
  992|       |    /* Remove the effect of an odd number of NULL entries */
  993|  74.2k|    if ((so->mask + 1 - so->fill) & 1)
  ------------------
  |  Branch (993:9): [True: 192, False: 74.0k]
  ------------------
  994|    192|        hash ^= _shuffle_bits(0);
  995|       |
  996|       |    /* Remove the effect of an odd number of dummy entries */
  997|  74.2k|    if ((so->fill - so->used) & 1)
  ------------------
  |  Branch (997:9): [True: 0, False: 74.2k]
  ------------------
  998|      0|        hash ^= _shuffle_bits(-1);
  999|       |
 1000|       |    /* Factor in the number of active entries */
 1001|  74.2k|    hash ^= ((Py_uhash_t)PySet_GET_SIZE(self) + 1) * 1927868237UL;
  ------------------
  |  |   71|  74.2k|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|  74.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  74.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1002|       |
 1003|       |    /* Disperse patterns arising in nested frozensets */
 1004|  74.2k|    hash ^= (hash >> 11) ^ (hash >> 25);
 1005|  74.2k|    hash = hash * 69069U + 907133923UL;
 1006|       |
 1007|       |    /* -1 is reserved as an error code */
 1008|  74.2k|    if (hash == (Py_uhash_t)-1)
  ------------------
  |  Branch (1008:9): [True: 0, False: 74.2k]
  ------------------
 1009|      0|        hash = 590923713UL;
 1010|       |
 1011|  74.2k|    return (Py_hash_t)hash;
 1012|  74.2k|}
setobject.c:_shuffle_bits:
  955|   601k|{
  956|   601k|    return ((h ^ 89869747UL) ^ (h << 16)) * 3644798167UL;
  957|   601k|}
setobject.c:set_contains_entry:
  567|   653k|{
  568|       |#ifdef Py_GIL_DISABLED
  569|       |    return set_lookkey_threadsafe(so, key, hash);
  570|       |#else
  571|   653k|    setentry *entry; // unused
  572|   653k|    return set_lookkey(so, key, hash, &entry);
  573|   653k|#endif
  574|   653k|}
setobject.c:set_lookkey:
  415|   677k|{
  416|   677k|    int status;
  417|   677k|    if (PyFrozenSet_CheckExact(so)) {
  ------------------
  |  |   23|   677k|#define PyFrozenSet_CheckExact(ob) Py_IS_TYPE((ob), &PyFrozenSet_Type)
  |  |  ------------------
  |  |  |  |  215|   677k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   677k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   677k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 414k, False: 263k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  418|   414k|        status = set_do_lookup(so, so->table, so->mask, key, hash, epp,
  419|   414k|                               set_compare_frozenset);
  420|   414k|    }
  421|   263k|    else {
  422|   263k|        Py_BEGIN_CRITICAL_SECTION(so);
  ------------------
  |  |   51|   263k|    {
  ------------------
  423|   263k|        do {
  424|   263k|            status = set_do_lookup(so, so->table, so->mask, key, hash, epp,
  425|   263k|                                   set_compare_entry_lock_held);
  426|   263k|        } while (status == SET_LOOKKEY_CHANGED);
  ------------------
  |  |   69|   263k|#define SET_LOOKKEY_CHANGED (-2)
  ------------------
  |  Branch (426:18): [True: 0, False: 263k]
  ------------------
  427|   263k|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|   263k|    }
  ------------------
  428|   263k|    }
  429|       |    assert(status == SET_LOOKKEY_FOUND ||
  430|   677k|           status == SET_LOOKKEY_NO_MATCH ||
  431|   677k|           status == SET_LOOKKEY_ERROR);
  432|   677k|    return status;
  433|   677k|}
setobject.c:set_do_lookup:
  223|   696k|{
  224|   696k|    setentry *entry;
  225|   696k|    size_t perturb = hash;
  226|   696k|    size_t i = (size_t)hash & mask; /* Unsigned for defined overflow behavior */
  227|   696k|    int probes;
  228|   696k|    int status;
  229|       |
  230|   805k|    while (1) {
  ------------------
  |  Branch (230:12): [True: 805k, Folded]
  ------------------
  231|   805k|        entry = &table[i];
  232|   805k|        probes = (i + LINEAR_PROBES <= mask) ? LINEAR_PROBES: 0;
  ------------------
  |  |  214|   805k|#define LINEAR_PROBES 9
  ------------------
                      probes = (i + LINEAR_PROBES <= mask) ? LINEAR_PROBES: 0;
  ------------------
  |  |  214|   147k|#define LINEAR_PROBES 9
  ------------------
  |  Branch (232:18): [True: 147k, False: 658k]
  ------------------
  233|  1.04M|        do {
  234|  1.04M|            status = compare_entry(so, table, entry, key, hash);
  235|  1.04M|            if (status != SET_LOOKKEY_NO_MATCH) {
  ------------------
  |  |   67|  1.04M|#define SET_LOOKKEY_NO_MATCH 0
  ------------------
  |  Branch (235:17): [True: 696k, False: 351k]
  ------------------
  236|   696k|                if (status == SET_LOOKKEY_EMPTY) {
  ------------------
  |  |   70|   696k|#define SET_LOOKKEY_EMPTY (-3)
  ------------------
  |  Branch (236:21): [True: 230k, False: 466k]
  ------------------
  237|   230k|                    return SET_LOOKKEY_NO_MATCH;
  ------------------
  |  |   67|   230k|#define SET_LOOKKEY_NO_MATCH 0
  ------------------
  238|   230k|                }
  239|   466k|                *epp = entry;
  240|   466k|                return status;
  241|   696k|            }
  242|   351k|            entry++;
  243|   351k|        } while (probes--);
  ------------------
  |  Branch (243:18): [True: 242k, False: 108k]
  ------------------
  244|   108k|        perturb >>= PERTURB_SHIFT;
  ------------------
  |  |  218|   108k|#define PERTURB_SHIFT 5
  ------------------
  245|   108k|        i = (i * 5 + 1 + perturb) & mask;
  246|   108k|    }
  247|      0|    Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  248|   696k|}
setobject.c:set_compare_frozenset:
  174|   524k|{
  175|   524k|    assert(PyFrozenSet_Check(so));
  176|   524k|    PyObject *startkey = ep->key;
  177|   524k|    if (startkey == NULL) {
  ------------------
  |  Branch (177:9): [True: 21.9k, False: 502k]
  ------------------
  178|  21.9k|        return SET_LOOKKEY_EMPTY;
  ------------------
  |  |   70|  21.9k|#define SET_LOOKKEY_EMPTY (-3)
  ------------------
  179|  21.9k|    }
  180|   502k|    if (startkey == key) {
  ------------------
  |  Branch (180:9): [True: 362k, False: 140k]
  ------------------
  181|   362k|        return SET_LOOKKEY_FOUND;
  ------------------
  |  |   66|   362k|#define SET_LOOKKEY_FOUND 1
  ------------------
  182|   362k|    }
  183|   140k|    Py_ssize_t ep_hash = ep->hash;
  184|   140k|    if (ep_hash == hash) {
  ------------------
  |  Branch (184:9): [True: 49.1k, False: 91.5k]
  ------------------
  185|  49.1k|        int cmp = PyObject_RichCompareBool(startkey, key, Py_EQ);
  ------------------
  |  |  654|  49.1k|#define Py_EQ 2
  ------------------
  186|  49.1k|        if (cmp < 0) {
  ------------------
  |  Branch (186:13): [True: 0, False: 49.1k]
  ------------------
  187|      0|            return SET_LOOKKEY_ERROR;
  ------------------
  |  |   68|      0|#define SET_LOOKKEY_ERROR (-1)
  ------------------
  188|      0|        }
  189|  49.1k|        assert(cmp == SET_LOOKKEY_FOUND || cmp == SET_LOOKKEY_NO_MATCH);
  190|  49.1k|        return cmp;
  191|  49.1k|    }
  192|  91.5k|    return SET_LOOKKEY_NO_MATCH;
  ------------------
  |  |   67|  91.5k|#define SET_LOOKKEY_NO_MATCH 0
  ------------------
  193|   140k|}
setobject.c:set_compare_entry_lock_held:
  140|   523k|{
  141|   523k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(so);
  142|   523k|    if (entry->hash == 0 && entry->key == NULL)
  ------------------
  |  Branch (142:9): [True: 208k, False: 314k]
  |  Branch (142:29): [True: 208k, False: 0]
  ------------------
  143|   208k|        return SET_LOOKKEY_EMPTY;
  ------------------
  |  |   70|   208k|#define SET_LOOKKEY_EMPTY (-3)
  ------------------
  144|   314k|    if (entry->hash == hash) {
  ------------------
  |  Branch (144:9): [True: 54.9k, False: 259k]
  ------------------
  145|  54.9k|        PyObject *startkey = entry->key;
  146|  54.9k|        assert(startkey != dummy);
  147|  54.9k|        if (startkey == key)
  ------------------
  |  Branch (147:13): [True: 3.67k, False: 51.2k]
  ------------------
  148|  3.67k|            return SET_LOOKKEY_FOUND;
  ------------------
  |  |   66|  3.67k|#define SET_LOOKKEY_FOUND 1
  ------------------
  149|  51.2k|        if (PyUnicode_CheckExact(startkey)
  ------------------
  |  |  104|  51.2k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|   102k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  51.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  51.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 3.98k, False: 47.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  150|  51.2k|            && PyUnicode_CheckExact(key)
  ------------------
  |  |  104|  3.98k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  55.2k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.98k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.98k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 3.98k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  151|  3.98k|            && unicode_eq(startkey, key))
  ------------------
  |  Branch (151:16): [True: 3.98k, False: 0]
  ------------------
  152|  3.98k|            return SET_LOOKKEY_FOUND;
  ------------------
  |  |   66|  3.98k|#define SET_LOOKKEY_FOUND 1
  ------------------
  153|  47.2k|        table = so->table;
  154|  47.2k|        Py_INCREF(startkey);
  ------------------
  |  |  310|  47.2k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  47.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  47.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  155|  47.2k|        int cmp = PyObject_RichCompareBool(startkey, key, Py_EQ);
  ------------------
  |  |  654|  47.2k|#define Py_EQ 2
  ------------------
  156|  47.2k|        Py_DECREF(startkey);
  ------------------
  |  |  430|  47.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  47.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  47.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  157|  47.2k|        if (cmp < 0)
  ------------------
  |  Branch (157:13): [True: 0, False: 47.2k]
  ------------------
  158|      0|            return SET_LOOKKEY_ERROR;
  ------------------
  |  |   68|      0|#define SET_LOOKKEY_ERROR (-1)
  ------------------
  159|  47.2k|        if (table != so->table || entry->key != startkey)
  ------------------
  |  Branch (159:13): [True: 0, False: 47.2k]
  |  Branch (159:35): [True: 0, False: 47.2k]
  ------------------
  160|      0|            return SET_LOOKKEY_CHANGED;
  ------------------
  |  |   69|      0|#define SET_LOOKKEY_CHANGED (-2)
  ------------------
  161|  47.2k|        if (cmp > 0)
  ------------------
  |  Branch (161:13): [True: 47.2k, False: 0]
  ------------------
  162|  47.2k|            return SET_LOOKKEY_FOUND;
  ------------------
  |  |   66|  47.2k|#define SET_LOOKKEY_FOUND 1
  ------------------
  163|  47.2k|    }
  164|   259k|    return SET_LOOKKEY_NO_MATCH;
  ------------------
  |  |   67|   259k|#define SET_LOOKKEY_NO_MATCH 0
  ------------------
  165|   314k|}
setobject.c:set_dealloc:
  735|   563k|{
  736|   563k|    PySetObject *so = _PySet_CAST(self);
  ------------------
  |  |   62|   563k|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|   563k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  737|   563k|    setentry *entry;
  738|   563k|    Py_ssize_t used = so->used;
  739|   563k|    Py_ssize_t oldsize = (size_t)so->mask + 1;
  740|       |
  741|       |    /* bpo-31095: UnTrack is needed before calling any callbacks */
  742|   563k|    PyObject_GC_UnTrack(so);
  743|   563k|    FT_CLEAR_WEAKREFS(self, so->weakreflist);
  ------------------
  |  |   47|   563k|    do {                                            \
  |  |   48|   563k|        assert(Py_REFCNT(obj) == 0);                \
  |  |   49|   563k|        if (weakref_list != NULL) {                 \
  |  |  ------------------
  |  |  |  Branch (49:13): [True: 0, False: 563k]
  |  |  ------------------
  |  |   50|      0|            PyObject_ClearWeakRefs(obj);            \
  |  |   51|      0|        }                                           \
  |  |   52|   563k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (52:14): [Folded, False: 563k]
  |  |  ------------------
  ------------------
  744|       |
  745|  2.27M|    for (entry = so->table; used > 0; entry++) {
  ------------------
  |  Branch (745:29): [True: 1.71M, False: 563k]
  ------------------
  746|  1.71M|        if (entry->key && entry->key != dummy) {
  ------------------
  |  |   64|   571k|#define dummy (&_dummy_struct)
  ------------------
  |  Branch (746:13): [True: 571k, False: 1.13M]
  |  Branch (746:27): [True: 571k, False: 14]
  ------------------
  747|   571k|                used--;
  748|   571k|                Py_DECREF(entry->key);
  ------------------
  |  |  430|   571k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   571k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   571k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  749|   571k|        }
  750|  1.71M|    }
  751|   563k|    if (so->table != so->smalltable)
  ------------------
  |  Branch (751:9): [True: 13.2k, False: 550k]
  ------------------
  752|  13.2k|        free_entries(so->table, oldsize, SET_IS_SHARED(so));
  ------------------
  |  |  132|  13.2k|#define SET_IS_SHARED(so) 0
  ------------------
  753|   563k|    Py_TYPE(so)->tp_free(so);
  ------------------
  |  |  213|   563k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   563k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   563k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  754|   563k|}
setobject.c:set_sub:
 2156|      6|{
 2157|      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]
  |  |  ------------------
  ------------------
 2158|      0|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 2159|      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))
  |  |  ------------------
  ------------------
 2160|       |
 2161|      6|    PyObject *rv;
 2162|      6|    Py_BEGIN_CRITICAL_SECTION2(so, other);
  ------------------
  |  |   57|      6|    {
  ------------------
 2163|      6|    rv = set_difference(so, other);
 2164|      6|    Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|      6|    }
  ------------------
 2165|      6|    return rv;
 2166|      6|}
setobject.c:set_difference:
 2039|      6|{
 2040|      6|    PyObject *result;
 2041|      6|    PyObject *key;
 2042|      6|    Py_hash_t hash;
 2043|      6|    setentry *entry;
 2044|      6|    Py_ssize_t pos = 0, other_size;
 2045|      6|    int rv;
 2046|       |
 2047|      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]
  |  |  ------------------
  ------------------
 2048|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2049|      6|    }
 2050|      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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2051|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2052|      0|    }
 2053|      0|    else {
 2054|      0|        return set_copy_and_difference(so, other);
 2055|      0|    }
 2056|       |
 2057|       |    /* If len(so) much more than len(other), it's more efficient to simply copy
 2058|       |     * so and then iterate other looking for common elements. */
 2059|      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 (2059:9): [True: 6, False: 0]
  ------------------
 2060|      6|        return set_copy_and_difference(so, other);
 2061|      6|    }
 2062|       |
 2063|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2064|      0|    if (result == NULL)
  ------------------
  |  Branch (2064:9): [True: 0, False: 0]
  ------------------
 2065|      0|        return NULL;
 2066|       |
 2067|      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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2068|      0|        while (set_next(so, &pos, &entry)) {
  ------------------
  |  Branch (2068:16): [True: 0, False: 0]
  ------------------
 2069|      0|            key = entry->key;
 2070|      0|            hash = entry->hash;
 2071|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2072|      0|            rv = _PyDict_Contains_KnownHash(other, key, hash);
 2073|      0|            if (rv < 0) {
  ------------------
  |  Branch (2073:17): [True: 0, False: 0]
  ------------------
 2074|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2075|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2076|      0|                return NULL;
 2077|      0|            }
 2078|      0|            if (!rv) {
  ------------------
  |  Branch (2078:17): [True: 0, False: 0]
  ------------------
 2079|      0|                if (set_add_entry((PySetObject *)result, key, hash)) {
  ------------------
  |  Branch (2079:21): [True: 0, False: 0]
  ------------------
 2080|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2081|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2082|      0|                    return NULL;
 2083|      0|                }
 2084|      0|            }
 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|        }
 2087|      0|        return result;
 2088|      0|    }
 2089|       |
 2090|       |    /* Iterate over so, checking for common elements in other. */
 2091|      0|    while (set_next(so, &pos, &entry)) {
  ------------------
  |  Branch (2091:12): [True: 0, False: 0]
  ------------------
 2092|      0|        key = entry->key;
 2093|      0|        hash = entry->hash;
 2094|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2095|      0|        rv = set_contains_entry((PySetObject *)other, key, hash);
 2096|      0|        if (rv < 0) {
  ------------------
  |  Branch (2096:13): [True: 0, False: 0]
  ------------------
 2097|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2098|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2099|      0|            return NULL;
 2100|      0|        }
 2101|      0|        if (!rv) {
  ------------------
  |  Branch (2101:13): [True: 0, False: 0]
  ------------------
 2102|      0|            if (set_add_entry((PySetObject *)result, key, hash)) {
  ------------------
  |  Branch (2102:17): [True: 0, False: 0]
  ------------------
 2103|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2104|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2105|      0|                return NULL;
 2106|      0|            }
 2107|      0|        }
 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|    }
 2110|      0|    return result;
 2111|      0|}
setobject.c:set_copy_and_difference:
 2025|      6|{
 2026|      6|    PyObject *result;
 2027|       |
 2028|      6|    result = set_copy_impl(so);
 2029|      6|    if (result == NULL)
  ------------------
  |  Branch (2029:9): [True: 0, False: 6]
  ------------------
 2030|      0|        return NULL;
 2031|      6|    if (set_difference_update_internal((PySetObject *) result, other) == 0)
  ------------------
  |  Branch (2031:9): [True: 6, False: 0]
  ------------------
 2032|      6|        return result;
 2033|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2034|       |    return NULL;
 2035|      6|}
setobject.c:set_copy_impl:
 1559|     26|{
 1560|     26|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(so);
 1561|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1562|     26|    if (copy == NULL) {
  ------------------
  |  Branch (1562:9): [True: 0, False: 26]
  ------------------
 1563|      0|        return NULL;
 1564|      0|    }
 1565|     26|    if (set_merge_lock_held((PySetObject *)copy, (PyObject *)so) < 0) {
  ------------------
  |  Branch (1565:9): [True: 0, False: 26]
  ------------------
 1566|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1567|      0|        return NULL;
 1568|      0|    }
 1569|     26|    return copy;
 1570|     26|}
setobject.c:set_merge_lock_held:
  830|   279k|{
  831|   279k|    PySetObject *other;
  832|   279k|    PyObject *key;
  833|   279k|    Py_ssize_t i;
  834|   279k|    setentry *so_entry;
  835|   279k|    setentry *other_entry;
  836|       |
  837|   279k|    assert (PyAnySet_Check(so));
  838|   279k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(so);
  839|   279k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(otherset);
  840|       |
  841|   279k|    other = _PySet_CAST(otherset);
  ------------------
  |  |   62|   279k|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|   279k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  842|   279k|    if (other == so || other->used == 0)
  ------------------
  |  Branch (842:9): [True: 0, False: 279k]
  |  Branch (842:24): [True: 69.4k, False: 209k]
  ------------------
  843|       |        /* a.update(a) or a.update(set()); nothing to do */
  844|  69.4k|        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|   209k|    if ((so->fill + other->used)*5 >= so->mask*3) {
  ------------------
  |  Branch (849:9): [True: 11.7k, False: 197k]
  ------------------
  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|   209k|    so_entry = so->table;
  854|   209k|    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|   209k|    if (so->fill == 0 && so->mask == other->mask && other->fill == other->used) {
  ------------------
  |  Branch (858:9): [True: 63.4k, False: 146k]
  |  Branch (858:26): [True: 63.0k, False: 493]
  |  Branch (858:53): [True: 63.0k, False: 0]
  ------------------
  859|   587k|        for (i = 0; i <= other->mask; i++, so_entry++, other_entry++) {
  ------------------
  |  Branch (859:21): [True: 524k, False: 63.0k]
  ------------------
  860|   524k|            key = other_entry->key;
  861|   524k|            if (key != NULL) {
  ------------------
  |  Branch (861:17): [True: 159k, False: 365k]
  ------------------
  862|   159k|                assert(so_entry->key == NULL);
  863|   159k|                FT_ATOMIC_STORE_SSIZE_RELAXED(so_entry->hash, other_entry->hash);
  ------------------
  |  |  193|   159k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  864|   159k|                FT_ATOMIC_STORE_PTR_RELEASE(so_entry->key, Py_NewRef(key));
  ------------------
  |  |  163|   159k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  865|   159k|            }
  866|   524k|        }
  867|  63.0k|        so->fill = other->fill;
  868|  63.0k|        FT_ATOMIC_STORE_SSIZE_RELAXED(so->used, other->used);
  ------------------
  |  |  193|  63.0k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  869|  63.0k|        return 0;
  870|  63.0k|    }
  871|       |
  872|       |    /* If our table is empty, we can use set_insert_clean() */
  873|   146k|    if (so->fill == 0) {
  ------------------
  |  Branch (873:9): [True: 493, False: 146k]
  ------------------
  874|    493|        setentry *newtable = so->table;
  875|    493|        size_t newmask = (size_t)so->mask;
  876|    493|        so->fill = other->used;
  877|    493|        FT_ATOMIC_STORE_SSIZE_RELAXED(so->used, other->used);
  ------------------
  |  |  193|    493|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  878|  20.9k|        for (i = other->mask + 1; i > 0 ; i--, other_entry++) {
  ------------------
  |  Branch (878:35): [True: 20.4k, False: 493]
  ------------------
  879|  20.4k|            key = other_entry->key;
  880|  20.4k|            if (key != NULL && key != dummy) {
  ------------------
  |  |   64|  4.29k|#define dummy (&_dummy_struct)
  ------------------
  |  Branch (880:17): [True: 4.29k, False: 16.1k]
  |  Branch (880:32): [True: 4.29k, False: 0]
  ------------------
  881|  4.29k|                set_insert_clean(newtable, newmask, Py_NewRef(key),
  ------------------
  |  |  550|  4.29k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  4.29k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.29k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  882|  4.29k|                                 other_entry->hash);
  883|  4.29k|            }
  884|  20.4k|        }
  885|    493|        return 0;
  886|    493|    }
  887|       |
  888|       |    /* We can't assure there are no duplicates, so do normal insertions */
  889|  1.39M|    for (i = 0; i <= other->mask; i++) {
  ------------------
  |  Branch (889:17): [True: 1.25M, False: 146k]
  ------------------
  890|  1.25M|        other_entry = &other->table[i];
  891|  1.25M|        key = other_entry->key;
  892|  1.25M|        if (key != NULL && key != dummy) {
  ------------------
  |  |   64|   262k|#define dummy (&_dummy_struct)
  ------------------
  |  Branch (892:13): [True: 262k, False: 989k]
  |  Branch (892:28): [True: 262k, False: 2]
  ------------------
  893|   262k|            if (set_add_entry(so, key, other_entry->hash))
  ------------------
  |  Branch (893:17): [True: 0, False: 262k]
  ------------------
  894|      0|                return -1;
  895|   262k|        }
  896|  1.25M|    }
  897|   146k|    return 0;
  898|   146k|}
setobject.c:set_difference_update_internal:
 1936|     34|{
 1937|     34|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(so);
 1938|     34|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(other);
 1939|       |
 1940|     34|    if ((PyObject *)so == other)
  ------------------
  |  Branch (1940:9): [True: 0, False: 34]
  ------------------
 1941|      0|        return set_clear_internal((PyObject*)so);
 1942|       |
 1943|     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]
  |  |  ------------------
  ------------------
 1944|     34|        setentry *entry;
 1945|     34|        Py_ssize_t pos = 0;
 1946|       |
 1947|       |        /* Optimization:  When the other set is more than 8 times
 1948|       |           larger than the base set, replace the other set with
 1949|       |           intersection of the two sets.
 1950|       |        */
 1951|     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 (1951:13): [True: 0, False: 34]
  ------------------
 1952|      0|            other = set_intersection(so, other);
 1953|      0|            if (other == NULL)
  ------------------
  |  Branch (1953:17): [True: 0, False: 0]
  ------------------
 1954|      0|                return -1;
 1955|     34|        } else {
 1956|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1957|     34|        }
 1958|       |
 1959|     48|        while (set_next((PySetObject *)other, &pos, &entry)) {
  ------------------
  |  Branch (1959:16): [True: 14, False: 34]
  ------------------
 1960|     14|            PyObject *key = entry->key;
 1961|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1962|     14|            if (set_discard_entry(so, key, entry->hash) < 0) {
  ------------------
  |  Branch (1962:17): [True: 0, False: 14]
  ------------------
 1963|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1964|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1965|      0|                return -1;
 1966|      0|            }
 1967|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1968|     14|        }
 1969|       |
 1970|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1971|     34|    } else {
 1972|      0|        PyObject *key, *it;
 1973|      0|        it = PyObject_GetIter(other);
 1974|      0|        if (it == NULL)
  ------------------
  |  Branch (1974:13): [True: 0, False: 0]
  ------------------
 1975|      0|            return -1;
 1976|       |
 1977|      0|        while ((key = PyIter_Next(it)) != NULL) {
  ------------------
  |  Branch (1977:16): [True: 0, False: 0]
  ------------------
 1978|      0|            if (set_discard_key(so, key) < 0) {
  ------------------
  |  Branch (1978:17): [True: 0, False: 0]
  ------------------
 1979|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1980|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1981|      0|                return -1;
 1982|      0|            }
 1983|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1984|      0|        }
 1985|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1986|      0|        if (PyErr_Occurred())
  ------------------
  |  Branch (1986:13): [True: 0, False: 0]
  ------------------
 1987|      0|            return -1;
 1988|      0|    }
 1989|       |    /* If more than 1/4th are dummies, then resize them away. */
 1990|     34|    if ((size_t)(so->fill - so->used) <= (size_t)so->mask / 4)
  ------------------
  |  Branch (1990:9): [True: 34, False: 0]
  ------------------
 1991|     34|        return 0;
 1992|      0|    return set_table_resize(so, so->used>50000 ? so->used*2 : so->used*4);
  ------------------
  |  Branch (1992:33): [True: 0, False: 0]
  ------------------
 1993|     34|}
setobject.c:set_intersection:
 1676|     60|{
 1677|     60|    PySetObject *result;
 1678|     60|    PyObject *key, *it, *tmp;
 1679|     60|    Py_hash_t hash;
 1680|     60|    int rv;
 1681|       |
 1682|     60|    if ((PyObject *)so == other)
  ------------------
  |  Branch (1682:9): [True: 0, False: 60]
  ------------------
 1683|      0|        return set_copy_impl(so);
 1684|       |
 1685|     60|    result = (PySetObject *)make_new_set_basetype(Py_TYPE(so), NULL);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1686|     60|    if (result == NULL)
  ------------------
  |  Branch (1686:9): [True: 0, False: 60]
  ------------------
 1687|      0|        return NULL;
 1688|       |
 1689|     60|    if (PyAnySet_Check(other)) {
  ------------------
  |  |   31|     60|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|    120|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     60|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     60|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 54, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|     66|#  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|     60|      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|     60|      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]
  |  |  ------------------
  ------------------
 1690|     54|        Py_ssize_t pos = 0;
 1691|     54|        setentry *entry;
 1692|       |
 1693|     54|        if (PySet_GET_SIZE(other) > PySet_GET_SIZE(so)) {
  ------------------
  |  |   71|     54|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|     54|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     54|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (PySet_GET_SIZE(other) > PySet_GET_SIZE(so)) {
  ------------------
  |  |   71|     54|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|     54|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     54|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1693:13): [True: 12, False: 42]
  ------------------
 1694|     12|            tmp = (PyObject *)so;
 1695|     12|            so = (PySetObject *)other;
 1696|     12|            other = tmp;
 1697|     12|        }
 1698|       |
 1699|    138|        while (set_next((PySetObject *)other, &pos, &entry)) {
  ------------------
  |  Branch (1699:16): [True: 84, False: 54]
  ------------------
 1700|     84|            key = entry->key;
 1701|     84|            hash = entry->hash;
 1702|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1703|     84|            rv = set_contains_entry(so, key, hash);
 1704|     84|            if (rv < 0) {
  ------------------
  |  Branch (1704:17): [True: 0, False: 84]
  ------------------
 1705|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1706|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1707|      0|                return NULL;
 1708|      0|            }
 1709|     84|            if (rv) {
  ------------------
  |  Branch (1709:17): [True: 0, False: 84]
  ------------------
 1710|      0|                if (set_add_entry(result, key, hash)) {
  ------------------
  |  Branch (1710:21): [True: 0, False: 0]
  ------------------
 1711|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1712|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1713|      0|                    return NULL;
 1714|      0|                }
 1715|      0|            }
 1716|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1717|     84|        }
 1718|     54|        return (PyObject *)result;
 1719|     54|    }
 1720|       |
 1721|      6|    it = PyObject_GetIter(other);
 1722|      6|    if (it == NULL) {
  ------------------
  |  Branch (1722:9): [True: 0, False: 6]
  ------------------
 1723|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1724|      0|        return NULL;
 1725|      0|    }
 1726|       |
 1727|     62|    while ((key = PyIter_Next(it)) != NULL) {
  ------------------
  |  Branch (1727:12): [True: 58, False: 4]
  ------------------
 1728|     58|        hash = PyObject_Hash(key);
 1729|     58|        if (hash == -1)
  ------------------
  |  Branch (1729:13): [True: 0, False: 58]
  ------------------
 1730|      0|            goto error;
 1731|     58|        rv = set_contains_entry(so, key, hash);
 1732|     58|        if (rv < 0)
  ------------------
  |  Branch (1732:13): [True: 0, False: 58]
  ------------------
 1733|      0|            goto error;
 1734|     58|        if (rv) {
  ------------------
  |  Branch (1734:13): [True: 58, False: 0]
  ------------------
 1735|     58|            if (set_add_entry(result, key, hash))
  ------------------
  |  Branch (1735:17): [True: 0, False: 58]
  ------------------
 1736|      0|                goto error;
 1737|     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 (1737:17): [True: 2, False: 56]
  ------------------
 1738|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1739|      2|                break;
 1740|      2|            }
 1741|     58|        }
 1742|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1743|     56|    }
 1744|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1745|      6|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (1745:9): [True: 0, False: 6]
  ------------------
 1746|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1747|      0|        return NULL;
 1748|      0|    }
 1749|      6|    return (PyObject *)result;
 1750|      0|  error:
 1751|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1752|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1753|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1754|       |    return NULL;
 1755|      6|}
setobject.c:set_discard_entry:
  581|  23.8k|{
  582|  23.8k|    setentry *entry;
  583|  23.8k|    PyObject *old_key;
  584|  23.8k|    int status = set_lookkey(so, key, hash, &entry);
  585|  23.8k|    if (status < 0) {
  ------------------
  |  Branch (585:9): [True: 0, False: 23.8k]
  ------------------
  586|      0|        return -1;
  587|      0|    }
  588|  23.8k|    if (status == SET_LOOKKEY_NO_MATCH) {
  ------------------
  |  |   67|  23.8k|#define SET_LOOKKEY_NO_MATCH 0
  ------------------
  |  Branch (588:9): [True: 23.3k, False: 500]
  ------------------
  589|  23.3k|        return DISCARD_NOTFOUND;
  ------------------
  |  |  576|  23.3k|#define DISCARD_NOTFOUND 0
  ------------------
  590|  23.3k|    }
  591|  23.8k|    assert(status == SET_LOOKKEY_FOUND);
  592|    500|    old_key = entry->key;
  593|    500|    FT_ATOMIC_STORE_SSIZE_RELAXED(entry->hash, -1);
  ------------------
  |  |  193|    500|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  594|    500|    FT_ATOMIC_STORE_SSIZE_RELAXED(so->used, so->used - 1);
  ------------------
  |  |  193|    500|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  595|    500|    FT_ATOMIC_STORE_PTR_RELEASE(entry->key, dummy);
  ------------------
  |  |  163|    500|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  596|    500|    Py_DECREF(old_key);
  ------------------
  |  |  430|    500|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    500|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    500|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  597|    500|    return DISCARD_FOUND;
  ------------------
  |  |  577|    500|#define DISCARD_FOUND 1
  ------------------
  598|  23.8k|}
setobject.c:make_new_set_basetype:
 1378|     86|{
 1379|     86|    if (type != &PySet_Type && type != &PyFrozenSet_Type) {
  ------------------
  |  Branch (1379:9): [True: 4, False: 82]
  |  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|     86|    return make_new_set(type, iterable);
 1386|     86|}
setobject.c:set_add_entry:
  339|   340k|{
  340|   340k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(so);
  341|       |
  342|   340k|    return set_add_entry_takeref(so, Py_NewRef(key), hash);
  ------------------
  |  |  550|   340k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   340k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   340k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  343|   340k|}
setobject.c:set_and:
 1832|     54|{
 1833|     54|    if (!PyAnySet_Check(self) || !PyAnySet_Check(other))
  ------------------
  |  |   31|    108|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|    108|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     54|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     54|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 54, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|     54|#  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|     54|      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|    108|      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|     54|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|    108|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     54|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     54|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 54, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|     54|#  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|     54|      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|     54|      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]
  |  |  ------------------
  ------------------
 1834|      0|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 1835|     54|    PySetObject *so = _PySet_CAST(self);
  ------------------
  |  |   62|     54|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|     54|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1836|       |
 1837|     54|    PyObject *rv;
 1838|     54|    Py_BEGIN_CRITICAL_SECTION2(so, other);
  ------------------
  |  |   57|     54|    {
  ------------------
 1839|     54|    rv = set_intersection(so, other);
 1840|     54|    Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|     54|    }
  ------------------
 1841|       |
 1842|     54|    return rv;
 1843|     54|}
setobject.c:set_update_dict_lock_held:
 1188|     54|{
 1189|     54|    assert(PyAnyDict_CheckExact(other));
 1190|       |
 1191|     54|    _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|     54|    Py_ssize_t dictsize = PyDict_GET_SIZE(other);
  ------------------
  |  |   63|     54|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     54|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     54|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1203|     54|    if ((so->fill + dictsize)*5 >= so->mask*3) {
  ------------------
  |  Branch (1203:9): [True: 18, False: 36]
  ------------------
 1204|     18|        if (set_table_resize(so, (so->used + dictsize)*2) != 0) {
  ------------------
  |  Branch (1204:13): [True: 0, False: 18]
  ------------------
 1205|      0|            return -1;
 1206|      0|        }
 1207|     18|    }
 1208|       |
 1209|     54|    Py_ssize_t pos = 0;
 1210|     54|    PyObject *key;
 1211|     54|    PyObject *value;
 1212|     54|    Py_hash_t hash;
 1213|    286|    while (_PyDict_Next(other, &pos, &key, &value, &hash)) {
  ------------------
  |  Branch (1213:12): [True: 232, False: 54]
  ------------------
 1214|    232|        if (set_add_entry(so, key, hash)) {
  ------------------
  |  Branch (1214:13): [True: 0, False: 232]
  ------------------
 1215|      0|            return -1;
 1216|      0|        }
 1217|    232|    }
 1218|     54|    return 0;
 1219|     54|}
setobject.c:set_update_iterable_lock_held:
 1223|  7.81k|{
 1224|  7.81k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(so);
 1225|       |
 1226|  7.81k|    PyObject *it = PyObject_GetIter(other);
 1227|  7.81k|    if (it == NULL) {
  ------------------
  |  Branch (1227:9): [True: 0, False: 7.81k]
  ------------------
 1228|      0|        return -1;
 1229|      0|    }
 1230|       |
 1231|  7.81k|    PyObject *key;
 1232|  56.4k|    while ((key = PyIter_Next(it)) != NULL) {
  ------------------
  |  Branch (1232:12): [True: 48.6k, False: 7.81k]
  ------------------
 1233|  48.6k|        if (set_add_key(so, key)) {
  ------------------
  |  Branch (1233:13): [True: 0, False: 48.6k]
  ------------------
 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.6k|        Py_DECREF(key);
  ------------------
  |  |  430|  48.6k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  48.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  48.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1239|  48.6k|    }
 1240|  7.81k|    Py_DECREF(it);
  ------------------
  |  |  430|  7.81k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.81k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.81k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1241|  7.81k|    if (PyErr_Occurred())
  ------------------
  |  Branch (1241:9): [True: 0, False: 7.81k]
  ------------------
 1242|      0|        return -1;
 1243|  7.81k|    return 0;
 1244|  7.81k|}
setobject.c:set_or:
 1641|     18|{
 1642|     18|    PySetObject *result;
 1643|       |
 1644|     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]
  |  |  ------------------
  ------------------
 1645|      0|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 1646|       |
 1647|     18|    result = (PySetObject *)set_copy(self, NULL);
 1648|     18|    if (result == NULL) {
  ------------------
  |  Branch (1648:9): [True: 0, False: 18]
  ------------------
 1649|      0|        return NULL;
 1650|      0|    }
 1651|     18|    if (Py_Is(self, other)) {
  ------------------
  |  |  187|     18|#define Py_Is(x, y) ((x) == (y))
  |  |  ------------------
  |  |  |  Branch (187:21): [True: 0, False: 18]
  |  |  ------------------
  ------------------
 1652|      0|        return (PyObject *)result;
 1653|      0|    }
 1654|     18|    if (set_update_local(result, other)) {
  ------------------
  |  Branch (1654:9): [True: 0, False: 18]
  ------------------
 1655|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1656|      0|        return NULL;
 1657|      0|    }
 1658|     18|    return (PyObject *)result;
 1659|     18|}
setobject.c:set_update_local:
 1261|  91.6k|{
 1262|  91.6k|    assert(Py_REFCNT(so) == 1);
 1263|  91.6k|    if (PyAnySet_Check(other)) {
  ------------------
  |  |   31|  91.6k|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|   183k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  91.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  91.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 90.7k, False: 912]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|  92.5k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    912|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    912|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 4, False: 908]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   32|  91.6k|      PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  213|    908|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    908|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    908|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (32:7): [True: 0, False: 908]
  |  |  ------------------
  |  |   33|  91.6k|      PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  213|    908|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    908|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    908|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (33:7): [True: 0, False: 908]
  |  |  ------------------
  ------------------
 1264|  90.7k|        int rv;
 1265|  90.7k|        Py_BEGIN_CRITICAL_SECTION(other);
  ------------------
  |  |   51|  90.7k|    {
  ------------------
 1266|  90.7k|        rv = set_merge_lock_held(so, other);
 1267|  90.7k|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  90.7k|    }
  ------------------
 1268|  90.7k|        return rv;
 1269|  90.7k|    }
 1270|    908|    else if (PyDict_CheckExact(other)) {
  ------------------
  |  |   19|    908|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|    908|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    908|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    908|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 54, False: 854]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1271|     54|        int rv;
 1272|     54|        Py_BEGIN_CRITICAL_SECTION(other);
  ------------------
  |  |   51|     54|    {
  ------------------
 1273|     54|        rv = set_update_dict_lock_held(so, other);
 1274|     54|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     54|    }
  ------------------
 1275|     54|        return rv;
 1276|     54|    }
 1277|    854|    else if (PyFrozenDict_CheckExact(other)) {
  ------------------
  |  |   38|    854|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  215|    854|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    854|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    854|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 854]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1278|      0|        return set_update_dict_lock_held(so, other);
 1279|      0|    }
 1280|    854|    return set_update_iterable_lock_held(so, other);
 1281|  91.6k|}
setobject.c:set_isub:
 2170|     28|{
 2171|     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]
  |  |  ------------------
  ------------------
 2172|      0|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 2173|     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))
  |  |  ------------------
  ------------------
 2174|       |
 2175|     28|    int rv;
 2176|     28|    Py_BEGIN_CRITICAL_SECTION2(so, other);
  ------------------
  |  |   57|     28|    {
  ------------------
 2177|     28|    rv = set_difference_update_internal(so, other);
 2178|     28|    Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|     28|    }
  ------------------
 2179|     28|    if (rv < 0) {
  ------------------
  |  Branch (2179:9): [True: 0, False: 28]
  ------------------
 2180|      0|        return NULL;
 2181|      0|    }
 2182|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2183|     28|}
setobject.c:set_ior:
 1663|  20.6k|{
 1664|  20.6k|    if (!PyAnySet_Check(other))
  ------------------
  |  |   31|  20.6k|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|  41.2k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  20.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  20.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 20.6k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|  20.6k|#  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|  20.6k|      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|  20.6k|      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]
  |  |  ------------------
  ------------------
 1665|      0|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 1666|  20.6k|    PySetObject *so = _PySet_CAST(self);
  ------------------
  |  |   62|  20.6k|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|  20.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1667|       |
 1668|  20.6k|    if (set_update_internal(so, other)) {
  ------------------
  |  Branch (1668:9): [True: 0, False: 20.6k]
  ------------------
 1669|      0|        return NULL;
 1670|      0|    }
 1671|  20.6k|    return Py_NewRef(so);
  ------------------
  |  |  550|  20.6k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  20.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1672|  20.6k|}
setobject.c:set_contains:
 2524|    121|{
 2525|       |    PySetObject *so = _PySet_CAST(self);
  ------------------
  |  |   62|    121|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|    121|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2526|    121|    return _PySet_Contains(so, key);
 2527|    121|}
setobject.c:set_traverse:
  938|  31.9k|{
  939|  31.9k|    PySetObject *so = _PySet_CAST(self);
  ------------------
  |  |   62|  31.9k|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|  31.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  940|  31.9k|    Py_ssize_t pos = 0;
  941|  31.9k|    setentry *entry;
  942|       |
  943|   178k|    while (set_next(so, &pos, &entry))
  ------------------
  |  Branch (943:12): [True: 146k, False: 31.9k]
  ------------------
  944|   146k|        Py_VISIT(entry->key);
  ------------------
  |  |  194|   146k|    do {                                                                \
  |  |  195|   146k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 146k, False: 0]
  |  |  ------------------
  |  |  196|   146k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|   146k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   146k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|   146k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 146k]
  |  |  ------------------
  |  |  198|   146k|                return vret;                                            \
  |  |  199|   146k|        }                                                               \
  |  |  200|   146k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 146k]
  |  |  ------------------
  ------------------
  945|  31.9k|    return 0;
  946|  31.9k|}
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|    397|    for (entry = table; used > 0; entry++) {
  ------------------
  |  Branch (684:25): [True: 325, False: 72]
  ------------------
  685|    325|        if (entry->key && entry->key != dummy) {
  ------------------
  |  |   64|     72|#define dummy (&_dummy_struct)
  ------------------
  |  Branch (685:13): [True: 72, False: 253]
  |  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|    325|    }
  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);
  ------------------
  |  |  163|     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);
  ------------------
  |  |  193|     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);
  ------------------
  |  |  168|     72|#define FT_ATOMIC_STORE_SSIZE_RELEASE(value, new_value) value = new_value
  ------------------
  641|     72|    FT_ATOMIC_STORE_SSIZE_RELAXED(so->hash, -1);
  ------------------
  |  |  193|     72|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  642|     72|    FT_ATOMIC_STORE_PTR_RELEASE(so->table, so->smalltable);
  ------------------
  |  |  163|     72|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  643|     72|}
setobject.c:set_richcompare:
 2437|  74.0k|{
 2438|  74.0k|    PySetObject *v = _PySet_CAST(self);
  ------------------
  |  |   62|  74.0k|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|  74.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2439|  74.0k|    PyObject *r1;
 2440|  74.0k|    int r2;
 2441|       |
 2442|  74.0k|    if(!PyAnySet_Check(w))
  ------------------
  |  |   31|  74.0k|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|   148k|#  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: 94, False: 73.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|   148k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  73.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  73.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 73.9k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   32|  74.0k|      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|  74.0k|      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]
  |  |  ------------------
  ------------------
 2443|      0|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 2444|       |
 2445|  74.0k|    switch (op) {
  ------------------
  |  Branch (2445:13): [True: 74.0k, False: 0]
  ------------------
 2446|  74.0k|    case Py_EQ:
  ------------------
  |  |  654|  74.0k|#define Py_EQ 2
  ------------------
  |  Branch (2446:5): [True: 74.0k, False: 28]
  ------------------
 2447|  74.0k|        if (PySet_GET_SIZE(v) != PySet_GET_SIZE(w))
  ------------------
  |  |   71|  74.0k|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|  74.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  74.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (PySet_GET_SIZE(v) != PySet_GET_SIZE(w))
  ------------------
  |  |   71|  74.0k|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|  74.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  74.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2447:13): [True: 58, False: 73.9k]
  ------------------
 2448|     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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2449|  73.9k|        Py_hash_t v_hash = FT_ATOMIC_LOAD_SSIZE_RELAXED(v->hash);
  ------------------
  |  |  148|  73.9k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 2450|  73.9k|        Py_hash_t w_hash = FT_ATOMIC_LOAD_SSIZE_RELAXED(((PySetObject *)w)->hash);
  ------------------
  |  |  148|  73.9k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 2451|  73.9k|        if (v_hash != -1 && w_hash != -1 && v_hash != w_hash)
  ------------------
  |  Branch (2451:13): [True: 73.9k, False: 12]
  |  Branch (2451:29): [True: 73.9k, False: 0]
  |  Branch (2451:45): [True: 0, False: 73.9k]
  ------------------
 2452|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2453|  73.9k|        return set_issubset((PyObject*)v, w);
 2454|      0|    case Py_NE:
  ------------------
  |  |  655|      0|#define Py_NE 3
  ------------------
  |  Branch (2454:5): [True: 0, False: 74.0k]
  ------------------
 2455|      0|        r1 = set_richcompare((PyObject*)v, w, Py_EQ);
  ------------------
  |  |  654|      0|#define Py_EQ 2
  ------------------
 2456|      0|        if (r1 == NULL)
  ------------------
  |  Branch (2456:13): [True: 0, False: 0]
  ------------------
 2457|      0|            return NULL;
 2458|      0|        r2 = PyObject_IsTrue(r1);
 2459|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2460|      0|        if (r2 < 0)
  ------------------
  |  Branch (2460:13): [True: 0, False: 0]
  ------------------
 2461|      0|            return NULL;
 2462|      0|        return PyBool_FromLong(!r2);
 2463|     28|    case Py_LE:
  ------------------
  |  |  653|     28|#define Py_LE 1
  ------------------
  |  Branch (2463:5): [True: 28, False: 74.0k]
  ------------------
 2464|     28|        return set_issubset((PyObject*)v, w);
 2465|      0|    case Py_GE:
  ------------------
  |  |  657|      0|#define Py_GE 5
  ------------------
  |  Branch (2465:5): [True: 0, False: 74.0k]
  ------------------
 2466|      0|        return set_issuperset((PyObject*)v, w);
 2467|      0|    case Py_LT:
  ------------------
  |  |  652|      0|#define Py_LT 0
  ------------------
  |  Branch (2467:5): [True: 0, False: 74.0k]
  ------------------
 2468|      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 (2468:13): [True: 0, False: 0]
  ------------------
 2469|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2470|      0|        return set_issubset((PyObject*)v, w);
 2471|      0|    case Py_GT:
  ------------------
  |  |  656|      0|#define Py_GT 4
  ------------------
  |  Branch (2471:5): [True: 0, False: 74.0k]
  ------------------
 2472|      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 (2472:13): [True: 0, False: 0]
  ------------------
 2473|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2474|      0|        return set_issuperset((PyObject*)v, w);
 2475|  74.0k|    }
 2476|      0|    Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 2477|  74.0k|}
setobject.c:set_issubset_impl:
 2362|  73.9k|{
 2363|  73.9k|    setentry *entry;
 2364|  73.9k|    Py_ssize_t pos = 0;
 2365|  73.9k|    int rv;
 2366|       |
 2367|  73.9k|    if (!PyAnySet_Check(other)) {
  ------------------
  |  |   31|  73.9k|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|   147k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  73.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  73.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 36, False: 73.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|   147k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  73.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  73.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 73.9k, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   32|  73.9k|      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|  73.9k|      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]
  |  |  ------------------
  ------------------
 2368|      2|        PyObject *tmp = set_intersection(so, other);
 2369|      2|        if (tmp == NULL) {
  ------------------
  |  Branch (2369:13): [True: 0, False: 2]
  ------------------
 2370|      0|            return NULL;
 2371|      0|        }
 2372|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2373|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2374|      2|        return PyBool_FromLong(result);
 2375|      2|    }
 2376|  73.9k|    if (PySet_GET_SIZE(so) > PySet_GET_SIZE(other))
  ------------------
  |  |   71|  73.9k|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|  73.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  73.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PySet_GET_SIZE(so) > PySet_GET_SIZE(other))
  ------------------
  |  |   71|  73.9k|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|  73.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  73.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2376:9): [True: 0, False: 73.9k]
  ------------------
 2377|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2378|       |
 2379|   123k|    while (set_next(so, &pos, &entry)) {
  ------------------
  |  Branch (2379:12): [True: 49.7k, False: 73.9k]
  ------------------
 2380|  49.7k|        PyObject *key = entry->key;
 2381|  49.7k|        Py_INCREF(key);
  ------------------
  |  |  310|  49.7k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  49.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  49.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2382|  49.7k|        rv = set_contains_entry((PySetObject *)other, key, entry->hash);
 2383|  49.7k|        Py_DECREF(key);
  ------------------
  |  |  430|  49.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  49.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  49.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2384|  49.7k|        if (rv < 0) {
  ------------------
  |  Branch (2384:13): [True: 0, False: 49.7k]
  ------------------
 2385|      0|            return NULL;
 2386|      0|        }
 2387|  49.7k|        if (!rv) {
  ------------------
  |  Branch (2387:13): [True: 0, False: 49.7k]
  ------------------
 2388|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2389|      0|        }
 2390|  49.7k|    }
 2391|  73.9k|    Py_RETURN_TRUE;
  ------------------
  |  |   44|  73.9k|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|  73.9k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  73.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  73.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2392|  73.9k|}
setobject.c:set_issuperset_impl:
 2407|     94|{
 2408|     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]
  |  |  ------------------
  ------------------
 2409|      0|        return set_issubset(other, (PyObject *)so);
 2410|      0|    }
 2411|       |
 2412|     94|    PyObject *key, *it = PyObject_GetIter(other);
 2413|     94|    if (it == NULL) {
  ------------------
  |  Branch (2413:9): [True: 0, False: 94]
  ------------------
 2414|      0|        return NULL;
 2415|      0|    }
 2416|    384|    while ((key = PyIter_Next(it)) != NULL) {
  ------------------
  |  Branch (2416:12): [True: 290, False: 94]
  ------------------
 2417|    290|        int rv = set_contains_key(so, key);
 2418|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2419|    290|        if (rv < 0) {
  ------------------
  |  Branch (2419:13): [True: 0, False: 290]
  ------------------
 2420|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2421|      0|            return NULL;
 2422|      0|        }
 2423|    290|        if (!rv) {
  ------------------
  |  Branch (2423:13): [True: 0, False: 290]
  ------------------
 2424|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2425|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2426|      0|        }
 2427|    290|    }
 2428|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2429|     94|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (2429:9): [True: 0, False: 94]
  ------------------
 2430|      0|        return NULL;
 2431|      0|    }
 2432|     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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2433|     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|  8.09k|{
 1174|  8.09k|    Py_ssize_t size = set_len(so);
 1175|  8.09k|    setiterobject *si = PyObject_GC_New(setiterobject, &PySetIter_Type);
  ------------------
  |  |  181|  8.09k|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|  8.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1176|  8.09k|    if (si == NULL)
  ------------------
  |  Branch (1176:9): [True: 0, False: 8.09k]
  ------------------
 1177|      0|        return NULL;
 1178|  8.09k|    si->si_set = (PySetObject*)Py_NewRef(so);
  ------------------
  |  |  550|  8.09k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  8.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1179|  8.09k|    si->si_used = size;
 1180|  8.09k|    si->si_pos = 0;
 1181|  8.09k|    si->len = size;
 1182|  8.09k|    _PyObject_GC_TRACK(si);
  ------------------
  |  |  508|  8.09k|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1183|  8.09k|    return (PyObject *)si;
 1184|  8.09k|}
setobject.c:set_add_impl:
 2494|  12.1k|{
 2495|  12.1k|    if (set_add_key(so, key))
  ------------------
  |  Branch (2495:9): [True: 0, False: 12.1k]
  ------------------
 2496|      0|        return NULL;
 2497|  12.1k|    Py_RETURN_NONE;
  ------------------
  |  |  628|  12.1k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  12.1k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 2498|  12.1k|}
setobject.c:set___contains___impl:
 2542|    206|{
 2543|    206|    long result;
 2544|       |
 2545|    206|    result = _PySet_Contains(so, key);
 2546|    206|    if (result < 0)
  ------------------
  |  Branch (2546:9): [True: 0, False: 206]
  ------------------
 2547|      0|        return NULL;
 2548|    206|    return PyBool_FromLong(result);
 2549|    206|}
setobject.c:set_discard_impl:
 2639|    128|{
 2640|    128|    int rv;
 2641|       |
 2642|    128|    rv = set_discard_key(so, key);
 2643|    128|    if (rv < 0) {
  ------------------
  |  Branch (2643:9): [True: 0, False: 128]
  ------------------
 2644|      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 (2644:34): [True: 0, False: 0]
  ------------------
 2645|      0|            return NULL;
 2646|      0|        PyErr_Clear();
 2647|      0|        Py_hash_t hash;
 2648|      0|        Py_BEGIN_CRITICAL_SECTION(key);
  ------------------
  |  |   51|      0|    {
  ------------------
 2649|      0|        hash = frozenset_hash_impl(key);
 2650|      0|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 2651|      0|        rv = set_discard_entry(so, key, hash);
 2652|      0|        if (rv < 0)
  ------------------
  |  Branch (2652:13): [True: 0, False: 0]
  ------------------
 2653|      0|            return NULL;
 2654|      0|    }
 2655|    128|    Py_RETURN_NONE;
  ------------------
  |  |  628|    128|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    128|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 2656|    128|}
setobject.c:set_intersection_multi_impl:
 1769|      4|{
 1770|      4|    Py_ssize_t i;
 1771|       |
 1772|      4|    if (others_length == 0) {
  ------------------
  |  Branch (1772:9): [True: 0, False: 4]
  ------------------
 1773|      0|        return set_copy((PyObject *)so, NULL);
 1774|      0|    }
 1775|       |
 1776|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1777|      8|    for (i = 0; i < others_length; i++) {
  ------------------
  |  Branch (1777:17): [True: 4, False: 4]
  ------------------
 1778|      4|        PyObject *other = others[i];
 1779|      4|        PyObject *newresult;
 1780|      4|        Py_BEGIN_CRITICAL_SECTION2(result, other);
  ------------------
  |  |   57|      4|    {
  ------------------
 1781|      4|        newresult = set_intersection((PySetObject *)result, other);
 1782|      4|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|      4|    }
  ------------------
 1783|      4|        if (newresult == NULL) {
  ------------------
  |  Branch (1783:13): [True: 0, False: 4]
  ------------------
 1784|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1785|      0|            return NULL;
 1786|      0|        }
 1787|      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]
  |  |  ------------------
  ------------------
 1788|      4|    }
 1789|      4|    return result;
 1790|      4|}
setobject.c:set_isdisjoint_impl:
 1877|     18|{
 1878|     18|    PyObject *key, *it, *tmp;
 1879|     18|    int rv;
 1880|       |
 1881|     18|    if ((PyObject *)so == other) {
  ------------------
  |  Branch (1881:9): [True: 0, False: 18]
  ------------------
 1882|      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 (1882:13): [True: 0, False: 0]
  ------------------
 1883|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1884|      0|        else
 1885|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1886|      0|    }
 1887|       |
 1888|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1889|     18|        Py_ssize_t pos = 0;
 1890|     18|        setentry *entry;
 1891|       |
 1892|     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 (1892:13): [True: 2, False: 16]
  ------------------
 1893|      2|            tmp = (PyObject *)so;
 1894|      2|            so = (PySetObject *)other;
 1895|      2|            other = tmp;
 1896|      2|        }
 1897|     18|        while (set_next((PySetObject *)other, &pos, &entry)) {
  ------------------
  |  Branch (1897:16): [True: 0, False: 18]
  ------------------
 1898|      0|            PyObject *key = entry->key;
 1899|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1900|      0|            rv = set_contains_entry(so, key, entry->hash);
 1901|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1902|      0|            if (rv < 0) {
  ------------------
  |  Branch (1902:17): [True: 0, False: 0]
  ------------------
 1903|      0|                return NULL;
 1904|      0|            }
 1905|      0|            if (rv) {
  ------------------
  |  Branch (1905:17): [True: 0, False: 0]
  ------------------
 1906|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1907|      0|            }
 1908|      0|        }
 1909|     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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1910|     18|    }
 1911|       |
 1912|      0|    it = PyObject_GetIter(other);
 1913|      0|    if (it == NULL)
  ------------------
  |  Branch (1913:9): [True: 0, False: 0]
  ------------------
 1914|      0|        return NULL;
 1915|       |
 1916|      0|    while ((key = PyIter_Next(it)) != NULL) {
  ------------------
  |  Branch (1916:12): [True: 0, False: 0]
  ------------------
 1917|      0|        rv = set_contains_key(so, key);
 1918|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1919|      0|        if (rv < 0) {
  ------------------
  |  Branch (1919:13): [True: 0, False: 0]
  ------------------
 1920|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1921|      0|            return NULL;
 1922|      0|        }
 1923|      0|        if (rv) {
  ------------------
  |  Branch (1923:13): [True: 0, False: 0]
  ------------------
 1924|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1925|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1926|      0|        }
 1927|      0|    }
 1928|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1929|      0|    if (PyErr_Occurred())
  ------------------
  |  Branch (1929:9): [True: 0, False: 0]
  ------------------
 1930|      0|        return NULL;
 1931|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1932|      0|}
setobject.c:set_union_impl:
 1618|      2|{
 1619|      2|    PySetObject *result;
 1620|      2|    PyObject *other;
 1621|      2|    Py_ssize_t i;
 1622|       |
 1623|      2|    result = (PySetObject *)set_copy((PyObject *)so, NULL);
 1624|      2|    if (result == NULL)
  ------------------
  |  Branch (1624:9): [True: 0, False: 2]
  ------------------
 1625|      0|        return NULL;
 1626|       |
 1627|      4|    for (i = 0; i < others_length; i++) {
  ------------------
  |  Branch (1627:17): [True: 2, False: 2]
  ------------------
 1628|      2|        other = others[i];
 1629|      2|        if ((PyObject *)so == other)
  ------------------
  |  Branch (1629:13): [True: 0, False: 2]
  ------------------
 1630|      0|            continue;
 1631|      2|        if (set_update_local(result, other)) {
  ------------------
  |  Branch (1631:13): [True: 0, False: 2]
  ------------------
 1632|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1633|      0|            return NULL;
 1634|      0|        }
 1635|      2|    }
 1636|      2|    return (PyObject *)result;
 1637|      2|}
setobject.c:set_update_impl:
 1331|   143k|{
 1332|   143k|    Py_ssize_t i;
 1333|       |
 1334|   287k|    for (i = 0; i < others_length; i++) {
  ------------------
  |  Branch (1334:17): [True: 143k, False: 143k]
  ------------------
 1335|   143k|        PyObject *other = others[i];
 1336|   143k|        if (set_update_internal(so, other))
  ------------------
  |  Branch (1336:13): [True: 0, False: 143k]
  ------------------
 1337|      0|            return NULL;
 1338|   143k|    }
 1339|   143k|    Py_RETURN_NONE;
  ------------------
  |  |  628|   143k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|   143k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1340|   143k|}
setobject.c:set_vectorcall:
 2740|   201k|{
 2741|   201k|    assert(PyType_Check(type));
 2742|       |
 2743|   201k|    if (!_PyArg_NoKwnames("set", kwnames)) {
  ------------------
  |  |   15|   201k|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (15:6): [True: 201k, False: 0]
  |  |  |  Branch (15:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2744|      0|        return NULL;
 2745|      0|    }
 2746|       |
 2747|   201k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|   201k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
 2748|   201k|    if (!_PyArg_CheckPositional("set", nargs, 0, 1)) {
  ------------------
  |  |   31|   201k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 201k, False: 0]
  |  |  |  Branch (31:27): [True: 201k, False: 0]
  |  |  ------------------
  |  |   32|   201k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2749|      0|        return NULL;
 2750|      0|    }
 2751|       |
 2752|   201k|    if (nargs) {
  ------------------
  |  Branch (2752:9): [True: 450, False: 201k]
  ------------------
 2753|    450|        return make_new_set(_PyType_CAST(type), args[0]);
  ------------------
  |  |  770|    450|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    450|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2754|    450|    }
 2755|       |
 2756|   201k|    return make_new_set(_PyType_CAST(type), NULL);
  ------------------
  |  |  770|   201k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   201k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2757|   201k|}
setobject.c:frozenset_hash:
 1016|  74.4k|{
 1017|  74.4k|    PySetObject *so = _PySet_CAST(self);
  ------------------
  |  |   62|  74.4k|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|  74.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1018|  74.4k|    Py_uhash_t hash;
 1019|       |
 1020|  74.4k|    if (FT_ATOMIC_LOAD_SSIZE_RELAXED(so->hash) != -1) {
  ------------------
  |  |  148|  74.4k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
  |  Branch (1020:9): [True: 180, False: 74.2k]
  ------------------
 1021|    180|        return FT_ATOMIC_LOAD_SSIZE_ACQUIRE(so->hash);
  ------------------
  |  |  147|    180|#define FT_ATOMIC_LOAD_SSIZE_ACQUIRE(value) value
  ------------------
 1022|    180|    }
 1023|       |
 1024|  74.2k|    hash = frozenset_hash_impl(self);
 1025|  74.2k|    FT_ATOMIC_STORE_SSIZE_RELEASE(so->hash, hash);
  ------------------
  |  |  168|  74.2k|#define FT_ATOMIC_STORE_SSIZE_RELEASE(value, new_value) value = new_value
  ------------------
 1026|  74.2k|    return hash;
 1027|  74.4k|}
setobject.c:frozenset___contains___impl:
 2564|  19.2k|{
 2565|  19.2k|    Py_hash_t hash = _PyObject_HashFast(key);
 2566|  19.2k|    if (hash == -1) {
  ------------------
  |  Branch (2566:9): [True: 0, False: 19.2k]
  ------------------
 2567|      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 (2567:34): [True: 0, False: 0]
  ------------------
 2568|      0|            set_unhashable_type(key);
 2569|      0|            return NULL;
 2570|      0|        }
 2571|      0|        PyErr_Clear();
 2572|      0|        Py_BEGIN_CRITICAL_SECTION(key);
  ------------------
  |  |   51|      0|    {
  ------------------
 2573|      0|        hash = frozenset_hash_impl(key);
 2574|      0|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
 2575|      0|    }
 2576|  19.2k|    setentry *entry; // unused
 2577|  19.2k|    int status = set_do_lookup(so, so->table, so->mask, key, hash, &entry,
 2578|  19.2k|                           set_compare_frozenset);
 2579|  19.2k|    if (status < 0)
  ------------------
  |  Branch (2579:9): [True: 0, False: 19.2k]
  ------------------
 2580|      0|        return NULL;
 2581|  19.2k|    return PyBool_FromLong(status);
 2582|  19.2k|}
setobject.c:make_new_frozenset:
 1410|  74.2k|{
 1411|  74.2k|    if (type != &PyFrozenSet_Type) {
  ------------------
  |  Branch (1411:9): [True: 0, False: 74.2k]
  ------------------
 1412|      0|        return make_new_set(type, iterable);
 1413|      0|    }
 1414|       |
 1415|  74.2k|    if (iterable != NULL && PyFrozenSet_CheckExact(iterable)) {
  ------------------
  |  |   23|  74.2k|#define PyFrozenSet_CheckExact(ob) Py_IS_TYPE((ob), &PyFrozenSet_Type)
  |  |  ------------------
  |  |  |  |  215|  74.2k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  74.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  74.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 74.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1415:9): [True: 74.2k, 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|  74.2k|    PyObject *obj = make_new_set(type, iterable);
 1420|  74.2k|    if (obj != NULL) {
  ------------------
  |  Branch (1420:9): [True: 74.2k, False: 0]
  ------------------
 1421|  74.2k|        _PyFrozenSet_MaybeUntrack(obj);
 1422|  74.2k|    }
 1423|  74.2k|    return obj;
 1424|  74.2k|}
setobject.c:frozenset_vectorcall:
 1447|  74.2k|{
 1448|  74.2k|    if (!_PyArg_NoKwnames("frozenset", kwnames)) {
  ------------------
  |  |   15|  74.2k|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (15:6): [True: 74.2k, False: 0]
  |  |  |  Branch (15:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1449|      0|        return NULL;
 1450|      0|    }
 1451|       |
 1452|  74.2k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  74.2k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
 1453|  74.2k|    if (!_PyArg_CheckPositional("frozenset", nargs, 0, 1)) {
  ------------------
  |  |   31|  74.2k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 74.2k, False: 0]
  |  |  |  Branch (31:27): [True: 74.2k, False: 0]
  |  |  ------------------
  |  |   32|  74.2k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1454|      0|        return NULL;
 1455|      0|    }
 1456|       |
 1457|  74.2k|    PyObject *iterable = (nargs ? args[0] : NULL);
  ------------------
  |  Branch (1457:27): [True: 74.2k, False: 28]
  ------------------
 1458|       |    return make_new_frozenset(_PyType_CAST(type), iterable);
  ------------------
  |  |  770|  74.2k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  74.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1459|  74.2k|}
setobject.c:make_new_set:
 1350|   565k|{
 1351|   565k|    assert(PyType_Check(type));
 1352|   565k|    PySetObject *so;
 1353|       |
 1354|   565k|    so = (PySetObject *)type->tp_alloc(type, 0);
 1355|   565k|    if (so == NULL)
  ------------------
  |  Branch (1355:9): [True: 0, False: 565k]
  ------------------
 1356|      0|        return NULL;
 1357|       |
 1358|   565k|    so->fill = 0;
 1359|   565k|    so->used = 0;
 1360|   565k|    so->mask = PySet_MINSIZE - 1;
  ------------------
  |  |   18|   565k|#define PySet_MINSIZE 8
  ------------------
 1361|   565k|    so->table = so->smalltable;
 1362|   565k|    so->hash = -1;
 1363|   565k|    so->finger = 0;
 1364|   565k|    so->weakreflist = NULL;
 1365|       |
 1366|   565k|    if (iterable != NULL) {
  ------------------
  |  Branch (1366:9): [True: 91.6k, False: 474k]
  ------------------
 1367|  91.6k|        if (set_update_local(so, iterable)) {
  ------------------
  |  Branch (1367:13): [True: 0, False: 91.6k]
  ------------------
 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|  91.6k|    }
 1372|       |
 1373|   565k|    return (PyObject *)so;
 1374|   565k|}
setobject.c:_PyFrozenSet_MaybeUntrack:
 1391|  75.3k|{
 1392|  75.3k|    assert(op != NULL);
 1393|       |    // subclasses of a frozenset can generate reference cycles, so do not untrack
 1394|  75.3k|    if (!PyFrozenSet_CheckExact(op)) {
  ------------------
  |  |   23|  75.3k|#define PyFrozenSet_CheckExact(ob) Py_IS_TYPE((ob), &PyFrozenSet_Type)
  |  |  ------------------
  |  |  |  |  215|  75.3k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  75.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  75.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1394:9): [True: 0, False: 75.3k]
  ------------------
 1395|      0|        return;
 1396|      0|    }
 1397|       |    // if no elements of a frozenset are tracked by the GC, we untrack the object
 1398|  75.3k|    Py_ssize_t pos = 0;
 1399|  75.3k|    setentry *entry;
 1400|  79.4k|    while (set_next((PySetObject *)op, &pos, &entry)) {
  ------------------
  |  Branch (1400:12): [True: 29.1k, False: 50.3k]
  ------------------
 1401|  29.1k|        if (_PyObject_GC_MAY_BE_TRACKED(entry->key)) {
  ------------------
  |  Branch (1401:13): [True: 24.9k, False: 4.15k]
  ------------------
 1402|  24.9k|            return;
 1403|  24.9k|        }
 1404|  29.1k|    }
 1405|  50.3k|    _PyObject_GC_UNTRACK(op);
  ------------------
  |  |  510|  50.3k|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  50.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  50.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1406|  50.3k|}
setobject.c:set_len:
  823|  20.8k|{
  824|  20.8k|    PySetObject *so = _PySet_CAST(self);
  ------------------
  |  |   62|  20.8k|    (assert(PyAnySet_Check(so)), _Py_CAST(PySetObject*, so))
  |  |  ------------------
  |  |  |  |   37|  20.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  825|  20.8k|    return FT_ATOMIC_LOAD_SSIZE_RELAXED(so->used);
  ------------------
  |  |  148|  20.8k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
  826|  20.8k|}
setobject.c:set_clear_impl:
 1601|     72|{
 1602|     72|    set_clear_internal((PyObject*)so);
 1603|     72|    Py_RETURN_NONE;
  ------------------
  |  |  628|     72|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     72|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1604|     72|}
setobject.c:set_discard_key:
  624|  23.7k|{
  625|  23.7k|    Py_hash_t hash = _PyObject_HashFast(key);
  626|  23.7k|    if (hash == -1) {
  ------------------
  |  Branch (626:9): [True: 0, False: 23.7k]
  ------------------
  627|      0|        set_unhashable_type(key);
  628|      0|        return -1;
  629|      0|    }
  630|  23.7k|    return set_discard_entry(so, key, hash);
  631|  23.7k|}
setobject.c:set_add_key:
  602|  77.4k|{
  603|  77.4k|    Py_hash_t hash = _PyObject_HashFast(key);
  604|  77.4k|    if (hash == -1) {
  ------------------
  |  Branch (604:9): [True: 0, False: 77.4k]
  ------------------
  605|      0|        set_unhashable_type(key);
  606|      0|        return -1;
  607|      0|    }
  608|  77.4k|    return set_add_entry(so, key, hash);
  609|  77.4k|}
setobject.c:set_next:
  711|   384k|{
  712|   384k|    Py_ssize_t i;
  713|   384k|    Py_ssize_t mask;
  714|   384k|    setentry *entry;
  715|       |
  716|   384k|    assert (PyAnySet_Check(so));
  717|   384k|    i = *pos_ptr;
  718|   384k|    assert(i >= 0);
  719|   384k|    mask = so->mask;
  720|   384k|    entry = &so->table[i];
  721|  1.82M|    while (i <= mask && (entry->key == NULL || entry->key == dummy)) {
  ------------------
  |  |   64|   227k|#define dummy (&_dummy_struct)
  ------------------
  |  Branch (721:12): [True: 1.66M, False: 156k]
  |  Branch (721:26): [True: 1.44M, False: 227k]
  |  Branch (721:48): [True: 34, False: 227k]
  ------------------
  722|  1.44M|        i++;
  723|  1.44M|        entry++;
  724|  1.44M|    }
  725|   384k|    *pos_ptr = i+1;
  726|   384k|    if (i > mask)
  ------------------
  |  Branch (726:9): [True: 156k, False: 227k]
  ------------------
  727|   156k|        return 0;
  728|   384k|    assert(entry != NULL);
  729|   227k|    *entry_ptr = entry;
  730|   227k|    return 1;
  731|   384k|}
setobject.c:set_pop_impl:
  913|     57|{
  914|       |    /* Make sure the search finger is in bounds */
  915|     57|    setentry *entry = so->table + (so->finger & so->mask);
  916|     57|    setentry *limit = so->table + so->mask;
  917|     57|    PyObject *key;
  918|       |
  919|     57|    if (so->used == 0) {
  ------------------
  |  Branch (919:9): [True: 0, False: 57]
  ------------------
  920|      0|        PyErr_SetString(PyExc_KeyError, "pop from an empty set");
  921|      0|        return NULL;
  922|      0|    }
  923|    179|    while (entry->key == NULL || entry->key==dummy) {
  ------------------
  |  |   64|     57|#define dummy (&_dummy_struct)
  ------------------
  |  Branch (923:12): [True: 122, False: 57]
  |  Branch (923:34): [True: 0, False: 57]
  ------------------
  924|    122|        entry++;
  925|    122|        if (entry > limit)
  ------------------
  |  Branch (925:13): [True: 0, False: 122]
  ------------------
  926|      0|            entry = so->table;
  927|    122|    }
  928|     57|    FT_ATOMIC_STORE_SSIZE_RELAXED(entry->hash, -1);
  ------------------
  |  |  193|     57|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  929|     57|    FT_ATOMIC_STORE_SSIZE_RELAXED(so->used, so->used - 1);
  ------------------
  |  |  193|     57|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  930|     57|    key = entry->key;
  931|     57|    FT_ATOMIC_STORE_PTR_RELEASE(entry->key, dummy);
  ------------------
  |  |  163|     57|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  932|     57|    so->finger = entry - so->table + 1;   /* next place to start */
  933|     57|    return key;
  934|     57|}
setobject.c:set_update_internal:
 1285|   195k|{
 1286|   195k|    if (PyAnySet_Check(other)) {
  ------------------
  |  |   31|   195k|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|   390k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   195k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   195k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 161k, False: 34.1k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type) || \
  |  |  ------------------
  |  |  |  |  215|   229k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  34.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  34.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 27.1k, False: 6.95k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   32|   195k|      PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || \
  |  |  ------------------
  |  |  |  |  213|  6.95k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.95k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.95k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (32:7): [True: 0, False: 6.95k]
  |  |  ------------------
  |  |   33|   195k|      PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  213|  6.95k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.95k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.95k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (33:7): [True: 0, False: 6.95k]
  |  |  ------------------
  ------------------
 1287|   188k|        if (Py_Is((PyObject *)so, other)) {
  ------------------
  |  |  187|   188k|#define Py_Is(x, y) ((x) == (y))
  |  |  ------------------
  |  |  |  Branch (187:21): [True: 0, False: 188k]
  |  |  ------------------
  ------------------
 1288|      0|            return 0;
 1289|      0|        }
 1290|   188k|        int rv;
 1291|   188k|        Py_BEGIN_CRITICAL_SECTION2(so, other);
  ------------------
  |  |   57|   188k|    {
  ------------------
 1292|   188k|        rv = set_merge_lock_held(so, other);
 1293|   188k|        Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|   188k|    }
  ------------------
 1294|   188k|        return rv;
 1295|   188k|    }
 1296|  6.95k|    else if (PyDict_CheckExact(other)) {
  ------------------
  |  |   19|  6.95k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|  6.95k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.95k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.95k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 6.95k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 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|  6.95k|    else if (PyFrozenDict_CheckExact(other)) {
  ------------------
  |  |   38|  6.95k|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  215|  6.95k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.95k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.95k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 6.95k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 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|  6.95k|    else {
 1311|  6.95k|        int rv;
 1312|  6.95k|        Py_BEGIN_CRITICAL_SECTION(so);
  ------------------
  |  |   51|  6.95k|    {
  ------------------
 1313|  6.95k|        rv = set_update_iterable_lock_held(so, other);
 1314|  6.95k|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  6.95k|    }
  ------------------
 1315|  6.95k|        return rv;
 1316|  6.95k|    }
 1317|   195k|}

PySlice_New:
  146|  7.53M|{
  147|  7.53M|    if (step == NULL) {
  ------------------
  |  Branch (147:9): [True: 7.53M, False: 1.03k]
  ------------------
  148|  7.53M|        step = Py_None;
  ------------------
  |  |  616|  7.53M|#  define Py_None (&_Py_NoneStruct)
  ------------------
  149|  7.53M|    }
  150|  7.53M|    if (start == NULL) {
  ------------------
  |  Branch (150:9): [True: 11, False: 7.53M]
  ------------------
  151|     11|        start = Py_None;
  ------------------
  |  |  616|     11|#  define Py_None (&_Py_NoneStruct)
  ------------------
  152|     11|    }
  153|  7.53M|    if (stop == NULL) {
  ------------------
  |  Branch (153:9): [True: 16, False: 7.53M]
  ------------------
  154|     16|        stop = Py_None;
  ------------------
  |  |  616|     16|#  define Py_None (&_Py_NoneStruct)
  ------------------
  155|     16|    }
  156|  7.53M|    return (PyObject *)_PyBuildSlice_Consume2(Py_NewRef(start),
  ------------------
  |  |  550|  7.53M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  7.53M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.53M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  157|  7.53M|                                              Py_NewRef(stop), step);
  ------------------
  |  |  550|  7.53M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  7.53M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.53M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  158|  7.53M|}
_PyBuildSlice_ConsumeRefs:
  162|     12|{
  163|     12|    assert(start != NULL && stop != NULL);
  164|     12|    return (PyObject *)_PyBuildSlice_Consume2(start, stop, Py_None);
  ------------------
  |  |  616|     12|#  define Py_None (&_Py_NoneStruct)
  ------------------
  165|     12|}
_PySlice_FromIndices:
  169|  10.4k|{
  170|  10.4k|    PyObject *start, *end, *slice;
  171|  10.4k|    start = PyLong_FromSsize_t(istart);
  172|  10.4k|    if (!start)
  ------------------
  |  Branch (172:9): [True: 0, False: 10.4k]
  ------------------
  173|      0|        return NULL;
  174|  10.4k|    end = PyLong_FromSsize_t(istop);
  175|  10.4k|    if (!end) {
  ------------------
  |  Branch (175:9): [True: 0, False: 10.4k]
  ------------------
  176|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  177|      0|        return NULL;
  178|      0|    }
  179|       |
  180|  10.4k|    slice = PySlice_New(start, end, NULL);
  181|  10.4k|    Py_DECREF(start);
  ------------------
  |  |  430|  10.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  182|  10.4k|    Py_DECREF(end);
  ------------------
  |  |  430|  10.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  183|  10.4k|    return slice;
  184|  10.4k|}
PySlice_Unpack:
  221|  7.59M|{
  222|  7.59M|    PySliceObject *r = (PySliceObject*)_r;
  223|       |    /* this is harder to get right than you might think */
  224|       |
  225|  7.59M|    static_assert(PY_SSIZE_T_MIN + 1 <= -PY_SSIZE_T_MAX,
  226|  7.59M|                  "-PY_SSIZE_T_MAX < PY_SSIZE_T_MIN + 1");
  227|       |
  228|  7.59M|    if (r->step == Py_None) {
  ------------------
  |  |  616|  7.59M|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (228:9): [True: 7.59M, False: 146]
  ------------------
  229|  7.59M|        *step = 1;
  230|  7.59M|    }
  231|    146|    else {
  232|    146|        if (!_PyEval_SliceIndex(r->step, step)) return -1;
  ------------------
  |  Branch (232:13): [True: 0, False: 146]
  ------------------
  233|    146|        if (*step == 0) {
  ------------------
  |  Branch (233:13): [True: 0, False: 146]
  ------------------
  234|      0|            PyErr_SetString(PyExc_ValueError,
  235|      0|                            "slice step cannot be zero");
  236|      0|            return -1;
  237|      0|        }
  238|       |        /* Here *step might be -PY_SSIZE_T_MAX-1; in this case we replace it
  239|       |         * with -PY_SSIZE_T_MAX.  This doesn't affect the semantics, and it
  240|       |         * guards against later undefined behaviour resulting from code that
  241|       |         * does "step = -step" as part of a slice reversal.
  242|       |         */
  243|    146|        if (*step < -PY_SSIZE_T_MAX)
  ------------------
  |  |  137|    146|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (243:13): [True: 0, False: 146]
  ------------------
  244|      0|            *step = -PY_SSIZE_T_MAX;
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  245|    146|    }
  246|       |
  247|  7.59M|    if (r->start == Py_None) {
  ------------------
  |  |  616|  7.59M|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (247:9): [True: 41.0k, False: 7.55M]
  ------------------
  248|  41.0k|        *start = *step < 0 ? PY_SSIZE_T_MAX : 0;
  ------------------
  |  |  137|  41.0k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (248:18): [True: 92, False: 40.9k]
  ------------------
  249|  41.0k|    }
  250|  7.55M|    else {
  251|  7.55M|        if (!_PyEval_SliceIndex(r->start, start)) return -1;
  ------------------
  |  Branch (251:13): [True: 0, False: 7.55M]
  ------------------
  252|  7.55M|    }
  253|       |
  254|  7.59M|    if (r->stop == Py_None) {
  ------------------
  |  |  616|  7.59M|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (254:9): [True: 17.2k, False: 7.57M]
  ------------------
  255|  17.2k|        *stop = *step < 0 ? PY_SSIZE_T_MIN : PY_SSIZE_T_MAX;
  ------------------
  |  |  146|     92|#define PY_SSIZE_T_MIN (-PY_SSIZE_T_MAX-1)
  |  |  ------------------
  |  |  |  |  137|     92|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  ------------------
                      *stop = *step < 0 ? PY_SSIZE_T_MIN : PY_SSIZE_T_MAX;
  ------------------
  |  |  137|  17.2k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (255:17): [True: 92, False: 17.1k]
  ------------------
  256|  17.2k|    }
  257|  7.57M|    else {
  258|  7.57M|        if (!_PyEval_SliceIndex(r->stop, stop)) return -1;
  ------------------
  |  Branch (258:13): [True: 0, False: 7.57M]
  ------------------
  259|  7.57M|    }
  260|       |
  261|  7.59M|    return 0;
  262|  7.59M|}
PySlice_AdjustIndices:
  267|  7.63M|{
  268|       |    /* this is harder to get right than you might think */
  269|       |
  270|  7.63M|    assert(step != 0);
  271|  7.63M|    assert(step >= -PY_SSIZE_T_MAX);
  272|       |
  273|  7.63M|    if (*start < 0) {
  ------------------
  |  Branch (273:9): [True: 1.83k, False: 7.63M]
  ------------------
  274|  1.83k|        *start += length;
  275|  1.83k|        if (*start < 0) {
  ------------------
  |  Branch (275:13): [True: 0, False: 1.83k]
  ------------------
  276|      0|            *start = (step < 0) ? -1 : 0;
  ------------------
  |  Branch (276:22): [True: 0, False: 0]
  ------------------
  277|      0|        }
  278|  1.83k|    }
  279|  7.63M|    else if (*start >= length) {
  ------------------
  |  Branch (279:14): [True: 21.7k, False: 7.61M]
  ------------------
  280|  21.7k|        *start = (step < 0) ? length - 1 : length;
  ------------------
  |  Branch (280:18): [True: 92, False: 21.6k]
  ------------------
  281|  21.7k|    }
  282|       |
  283|  7.63M|    if (*stop < 0) {
  ------------------
  |  Branch (283:9): [True: 227, False: 7.63M]
  ------------------
  284|    227|        *stop += length;
  285|    227|        if (*stop < 0) {
  ------------------
  |  Branch (285:13): [True: 92, False: 135]
  ------------------
  286|     92|            *stop = (step < 0) ? -1 : 0;
  ------------------
  |  Branch (286:21): [True: 92, False: 0]
  ------------------
  287|     92|        }
  288|    227|    }
  289|  7.63M|    else if (*stop >= length) {
  ------------------
  |  Branch (289:14): [True: 54.4k, False: 7.58M]
  ------------------
  290|  54.4k|        *stop = (step < 0) ? length - 1 : length;
  ------------------
  |  Branch (290:17): [True: 0, False: 54.4k]
  ------------------
  291|  54.4k|    }
  292|       |
  293|  7.63M|    if (step < 0) {
  ------------------
  |  Branch (293:9): [True: 138, False: 7.63M]
  ------------------
  294|    138|        if (*stop < *start) {
  ------------------
  |  Branch (294:13): [True: 138, False: 0]
  ------------------
  295|    138|            return (*start - *stop - 1) / (-step) + 1;
  296|    138|        }
  297|    138|    }
  298|  7.63M|    else {
  299|  7.63M|        if (*start < *stop) {
  ------------------
  |  Branch (299:13): [True: 7.60M, False: 32.3k]
  ------------------
  300|  7.60M|            return (*stop - *start - 1) / step + 1;
  301|  7.60M|        }
  302|  7.63M|    }
  303|  32.3k|    return 0;
  304|  7.63M|}
_PySlice_GetLongIndices:
  398|    426|{
  399|    426|    PyObject *start=NULL, *stop=NULL, *step=NULL;
  400|    426|    PyObject *upper=NULL, *lower=NULL;
  401|    426|    int step_is_negative, cmp_result;
  402|       |
  403|       |    /* Convert step to an integer; raise for zero step. */
  404|    426|    if (self->step == Py_None) {
  ------------------
  |  |  616|    426|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (404:9): [True: 0, False: 426]
  ------------------
  405|      0|        step = _PyLong_GetOne();
  406|      0|        step_is_negative = 0;
  407|      0|    }
  408|    426|    else {
  409|    426|        step = evaluate_slice_index(self->step);
  410|    426|        if (step == NULL) {
  ------------------
  |  Branch (410:13): [True: 0, False: 426]
  ------------------
  411|      0|            goto error;
  412|      0|        }
  413|    426|        assert(PyLong_Check(step));
  414|       |
  415|    426|        int step_sign;
  416|    426|        (void)PyLong_GetSign(step, &step_sign);
  417|    426|        if (step_sign == 0) {
  ------------------
  |  Branch (417:13): [True: 0, False: 426]
  ------------------
  418|      0|            PyErr_SetString(PyExc_ValueError,
  419|      0|                            "slice step cannot be zero");
  420|      0|            goto error;
  421|      0|        }
  422|    426|        step_is_negative = step_sign < 0;
  423|    426|    }
  424|       |
  425|       |    /* Find lower and upper bounds for start and stop. */
  426|    426|    if (step_is_negative) {
  ------------------
  |  Branch (426:9): [True: 426, False: 0]
  ------------------
  427|    426|        lower = PyLong_FromLong(-1L);
  428|    426|        if (lower == NULL)
  ------------------
  |  Branch (428:13): [True: 0, False: 426]
  ------------------
  429|      0|            goto error;
  430|       |
  431|    426|        upper = PyNumber_Add(length, lower);
  432|    426|        if (upper == NULL)
  ------------------
  |  Branch (432:13): [True: 0, False: 426]
  ------------------
  433|      0|            goto error;
  434|    426|    }
  435|      0|    else {
  436|      0|        lower = _PyLong_GetZero();
  437|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  438|      0|    }
  439|       |
  440|       |    /* Compute start. */
  441|    426|    if (self->start == Py_None) {
  ------------------
  |  |  616|    426|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (441:9): [True: 426, False: 0]
  ------------------
  442|    426|        start = Py_NewRef(step_is_negative ? upper : lower);
  ------------------
  |  |  550|    426|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    426|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    852|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (37:38): [True: 426, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  443|    426|    }
  444|      0|    else {
  445|      0|        start = evaluate_slice_index(self->start);
  446|      0|        if (start == NULL)
  ------------------
  |  Branch (446:13): [True: 0, False: 0]
  ------------------
  447|      0|            goto error;
  448|       |
  449|      0|        if (_PyLong_IsNegative((PyLongObject *)start)) {
  ------------------
  |  Branch (449:13): [True: 0, False: 0]
  ------------------
  450|       |            /* start += length */
  451|      0|            PyObject *tmp = PyNumber_Add(start, length);
  452|      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]
  |  |  ------------------
  ------------------
  453|      0|            if (start == NULL)
  ------------------
  |  Branch (453:17): [True: 0, False: 0]
  ------------------
  454|      0|                goto error;
  455|       |
  456|      0|            cmp_result = PyObject_RichCompareBool(start, lower, Py_LT);
  ------------------
  |  |  652|      0|#define Py_LT 0
  ------------------
  457|      0|            if (cmp_result < 0)
  ------------------
  |  Branch (457:17): [True: 0, False: 0]
  ------------------
  458|      0|                goto error;
  459|      0|            if (cmp_result) {
  ------------------
  |  Branch (459:17): [True: 0, False: 0]
  ------------------
  460|      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]
  |  |  ------------------
  ------------------
  461|      0|            }
  462|      0|        }
  463|      0|        else {
  464|      0|            cmp_result = PyObject_RichCompareBool(start, upper, Py_GT);
  ------------------
  |  |  656|      0|#define Py_GT 4
  ------------------
  465|      0|            if (cmp_result < 0)
  ------------------
  |  Branch (465:17): [True: 0, False: 0]
  ------------------
  466|      0|                goto error;
  467|      0|            if (cmp_result) {
  ------------------
  |  Branch (467:17): [True: 0, False: 0]
  ------------------
  468|      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]
  |  |  ------------------
  ------------------
  469|      0|            }
  470|      0|        }
  471|      0|    }
  472|       |
  473|       |    /* Compute stop. */
  474|    426|    if (self->stop == Py_None) {
  ------------------
  |  |  616|    426|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (474:9): [True: 426, False: 0]
  ------------------
  475|    426|        stop = Py_NewRef(step_is_negative ? lower : upper);
  ------------------
  |  |  550|    426|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    426|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    852|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (37:38): [True: 426, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  476|    426|    }
  477|      0|    else {
  478|      0|        stop = evaluate_slice_index(self->stop);
  479|      0|        if (stop == NULL)
  ------------------
  |  Branch (479:13): [True: 0, False: 0]
  ------------------
  480|      0|            goto error;
  481|       |
  482|      0|        if (_PyLong_IsNegative((PyLongObject *)stop)) {
  ------------------
  |  Branch (482:13): [True: 0, False: 0]
  ------------------
  483|       |            /* stop += length */
  484|      0|            PyObject *tmp = PyNumber_Add(stop, length);
  485|      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]
  |  |  ------------------
  ------------------
  486|      0|            if (stop == NULL)
  ------------------
  |  Branch (486:17): [True: 0, False: 0]
  ------------------
  487|      0|                goto error;
  488|       |
  489|      0|            cmp_result = PyObject_RichCompareBool(stop, lower, Py_LT);
  ------------------
  |  |  652|      0|#define Py_LT 0
  ------------------
  490|      0|            if (cmp_result < 0)
  ------------------
  |  Branch (490:17): [True: 0, False: 0]
  ------------------
  491|      0|                goto error;
  492|      0|            if (cmp_result) {
  ------------------
  |  Branch (492:17): [True: 0, False: 0]
  ------------------
  493|      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]
  |  |  ------------------
  ------------------
  494|      0|            }
  495|      0|        }
  496|      0|        else {
  497|      0|            cmp_result = PyObject_RichCompareBool(stop, upper, Py_GT);
  ------------------
  |  |  656|      0|#define Py_GT 4
  ------------------
  498|      0|            if (cmp_result < 0)
  ------------------
  |  Branch (498:17): [True: 0, False: 0]
  ------------------
  499|      0|                goto error;
  500|      0|            if (cmp_result) {
  ------------------
  |  Branch (500:17): [True: 0, False: 0]
  ------------------
  501|      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]
  |  |  ------------------
  ------------------
  502|      0|            }
  503|      0|        }
  504|      0|    }
  505|       |
  506|    426|    *start_ptr = start;
  507|    426|    *stop_ptr = stop;
  508|    426|    *step_ptr = step;
  509|    426|    Py_DECREF(upper);
  ------------------
  |  |  430|    426|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    426|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    426|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  510|    426|    Py_DECREF(lower);
  ------------------
  |  |  430|    426|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    426|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    426|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|    426|    return 0;
  512|       |
  513|      0|  error:
  514|      0|    *start_ptr = *stop_ptr = *step_ptr = NULL;
  515|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  516|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  517|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  518|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  519|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  520|      0|    return -1;
  521|    426|}
sliceobject.c:_PyBuildSlice_Consume2:
  122|  7.53M|{
  123|  7.53M|    assert(start != NULL && stop != NULL && step != NULL);
  124|  7.53M|    PySliceObject *obj = _Py_FREELIST_POP(PySliceObject, slices);
  ------------------
  |  |   43|  7.53M|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  7.53M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  125|  7.53M|    if (obj == NULL) {
  ------------------
  |  Branch (125:9): [True: 470, False: 7.53M]
  ------------------
  126|    470|        obj = PyObject_GC_New(PySliceObject, &PySlice_Type);
  ------------------
  |  |  181|    470|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|    470|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  127|    470|        if (obj == NULL) {
  ------------------
  |  Branch (127:13): [True: 0, False: 470]
  ------------------
  128|      0|            goto error;
  129|      0|        }
  130|    470|    }
  131|       |
  132|  7.53M|    obj->start = start;
  133|  7.53M|    obj->stop = stop;
  134|  7.53M|    obj->step = Py_NewRef(step);
  ------------------
  |  |  550|  7.53M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  7.53M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.53M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  135|       |
  136|  7.53M|    _PyObject_GC_TRACK(obj);
  ------------------
  |  |  508|  7.53M|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.53M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.53M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  137|  7.53M|    return 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|       |    return NULL;
  142|  7.53M|}
sliceobject.c:evaluate_slice_index:
  378|    426|{
  379|    426|    if (_PyIndex_Check(v)) {
  ------------------
  |  Branch (379:9): [True: 426, False: 0]
  ------------------
  380|    426|        return PyNumber_Index(v);
  381|    426|    }
  382|      0|    else {
  383|      0|        PyErr_SetString(PyExc_TypeError,
  384|      0|                        "slice indices must be integers or "
  385|      0|                        "None or have an __index__ method");
  386|       |        return NULL;
  387|      0|    }
  388|    426|}
sliceobject.c:slice_dealloc:
  349|  7.53M|{
  350|  7.53M|    PySliceObject *r = _PySlice_CAST(op);
  ------------------
  |  |   25|  7.53M|#define _PySlice_CAST(op) _Py_CAST(PySliceObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  7.53M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  351|  7.53M|    PyObject_GC_UnTrack(r);
  352|  7.53M|    Py_DECREF(r->step);
  ------------------
  |  |  430|  7.53M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.53M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.53M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  353|  7.53M|    Py_DECREF(r->start);
  ------------------
  |  |  430|  7.53M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.53M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.53M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  354|  7.53M|    Py_DECREF(r->stop);
  ------------------
  |  |  430|  7.53M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.53M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.53M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  355|  7.53M|    _Py_FREELIST_FREE(slices, r, PyObject_GC_Del);
  ------------------
  |  |   35|  7.53M|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  7.53M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.53M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  7.53M|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   21|  7.53M|#  define Py_slices_MAXFREELIST 1
  |  |  ------------------
  ------------------
  356|  7.53M|}
sliceobject.c:slice_hash:
  649|     88|{
  650|     88|    PySliceObject *v = _PySlice_CAST(op);
  ------------------
  |  |   25|     88|#define _PySlice_CAST(op) _Py_CAST(PySliceObject*, (op))
  |  |  ------------------
  |  |  |  |   37|     88|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  651|     88|    Py_uhash_t acc = _PyHASH_XXPRIME_5;
  ------------------
  |  |  638|     88|#define _PyHASH_XXPRIME_5 ((Py_uhash_t)2870177450012600261ULL)
  ------------------
  652|     88|#define _PyHASH_SLICE_PART(com) { \
  653|     88|    Py_uhash_t lane = PyObject_Hash(v->com); \
  654|     88|    if(lane == (Py_uhash_t)-1) { \
  655|     88|        return -1; \
  656|     88|    } \
  657|     88|    acc += lane * _PyHASH_XXPRIME_2; \
  658|     88|    acc = _PyHASH_XXROTATE(acc); \
  659|     88|    acc *= _PyHASH_XXPRIME_1; \
  660|     88|}
  661|     88|    _PyHASH_SLICE_PART(start);
  ------------------
  |  |  652|     88|#define _PyHASH_SLICE_PART(com) { \
  |  |  653|     88|    Py_uhash_t lane = PyObject_Hash(v->com); \
  |  |  654|     88|    if(lane == (Py_uhash_t)-1) { \
  |  |  ------------------
  |  |  |  Branch (654:8): [True: 0, False: 88]
  |  |  ------------------
  |  |  655|      0|        return -1; \
  |  |  656|      0|    } \
  |  |  657|     88|    acc += lane * _PyHASH_XXPRIME_2; \
  |  |  ------------------
  |  |  |  |  637|     88|#define _PyHASH_XXPRIME_2 ((Py_uhash_t)14029467366897019727ULL)
  |  |  ------------------
  |  |  658|     88|    acc = _PyHASH_XXROTATE(acc); \
  |  |  ------------------
  |  |  |  |  639|     88|#define _PyHASH_XXROTATE(x) ((x << 31) | (x >> 33))  /* Rotate left 31 bits */
  |  |  ------------------
  |  |  659|     88|    acc *= _PyHASH_XXPRIME_1; \
  |  |  ------------------
  |  |  |  |  636|     88|#define _PyHASH_XXPRIME_1 ((Py_uhash_t)11400714785074694791ULL)
  |  |  ------------------
  |  |  660|     88|}
  ------------------
  662|     88|    _PyHASH_SLICE_PART(stop);
  ------------------
  |  |  652|     88|#define _PyHASH_SLICE_PART(com) { \
  |  |  653|     88|    Py_uhash_t lane = PyObject_Hash(v->com); \
  |  |  654|     88|    if(lane == (Py_uhash_t)-1) { \
  |  |  ------------------
  |  |  |  Branch (654:8): [True: 0, False: 88]
  |  |  ------------------
  |  |  655|      0|        return -1; \
  |  |  656|      0|    } \
  |  |  657|     88|    acc += lane * _PyHASH_XXPRIME_2; \
  |  |  ------------------
  |  |  |  |  637|     88|#define _PyHASH_XXPRIME_2 ((Py_uhash_t)14029467366897019727ULL)
  |  |  ------------------
  |  |  658|     88|    acc = _PyHASH_XXROTATE(acc); \
  |  |  ------------------
  |  |  |  |  639|     88|#define _PyHASH_XXROTATE(x) ((x << 31) | (x >> 33))  /* Rotate left 31 bits */
  |  |  ------------------
  |  |  659|     88|    acc *= _PyHASH_XXPRIME_1; \
  |  |  ------------------
  |  |  |  |  636|     88|#define _PyHASH_XXPRIME_1 ((Py_uhash_t)11400714785074694791ULL)
  |  |  ------------------
  |  |  660|     88|}
  ------------------
  663|     88|    _PyHASH_SLICE_PART(step);
  ------------------
  |  |  652|     88|#define _PyHASH_SLICE_PART(com) { \
  |  |  653|     88|    Py_uhash_t lane = PyObject_Hash(v->com); \
  |  |  654|     88|    if(lane == (Py_uhash_t)-1) { \
  |  |  ------------------
  |  |  |  Branch (654:8): [True: 0, False: 88]
  |  |  ------------------
  |  |  655|      0|        return -1; \
  |  |  656|      0|    } \
  |  |  657|     88|    acc += lane * _PyHASH_XXPRIME_2; \
  |  |  ------------------
  |  |  |  |  637|     88|#define _PyHASH_XXPRIME_2 ((Py_uhash_t)14029467366897019727ULL)
  |  |  ------------------
  |  |  658|     88|    acc = _PyHASH_XXROTATE(acc); \
  |  |  ------------------
  |  |  |  |  639|     88|#define _PyHASH_XXROTATE(x) ((x << 31) | (x >> 33))  /* Rotate left 31 bits */
  |  |  ------------------
  |  |  659|     88|    acc *= _PyHASH_XXPRIME_1; \
  |  |  ------------------
  |  |  |  |  636|     88|#define _PyHASH_XXPRIME_1 ((Py_uhash_t)11400714785074694791ULL)
  |  |  ------------------
  |  |  660|     88|}
  ------------------
  664|     88|#undef _PyHASH_SLICE_PART
  665|     88|    if(acc == (Py_uhash_t)-1) {
  ------------------
  |  Branch (665:8): [True: 0, False: 88]
  ------------------
  666|      0|        return 1546275796;
  667|      0|    }
  668|     88|    return acc;
  669|     88|}
sliceobject.c:slice_traverse:
  626|  3.28k|{
  627|  3.28k|    PySliceObject *v = _PySlice_CAST(op);
  ------------------
  |  |   25|  3.28k|#define _PySlice_CAST(op) _Py_CAST(PySliceObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  3.28k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  628|  3.28k|    Py_VISIT(v->start);
  ------------------
  |  |  194|  3.28k|    do {                                                                \
  |  |  195|  3.28k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 3.28k, False: 0]
  |  |  ------------------
  |  |  196|  3.28k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  3.28k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.28k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  3.28k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 3.28k]
  |  |  ------------------
  |  |  198|  3.28k|                return vret;                                            \
  |  |  199|  3.28k|        }                                                               \
  |  |  200|  3.28k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 3.28k]
  |  |  ------------------
  ------------------
  629|  3.28k|    Py_VISIT(v->stop);
  ------------------
  |  |  194|  3.28k|    do {                                                                \
  |  |  195|  3.28k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 3.28k, False: 0]
  |  |  ------------------
  |  |  196|  3.28k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  3.28k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.28k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  3.28k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 3.28k]
  |  |  ------------------
  |  |  198|  3.28k|                return vret;                                            \
  |  |  199|  3.28k|        }                                                               \
  |  |  200|  3.28k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 3.28k]
  |  |  ------------------
  ------------------
  630|  3.28k|    Py_VISIT(v->step);
  ------------------
  |  |  194|  3.28k|    do {                                                                \
  |  |  195|  3.28k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 3.28k, False: 0]
  |  |  ------------------
  |  |  196|  3.28k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  3.28k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.28k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  3.28k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 3.28k]
  |  |  ------------------
  |  |  198|  3.28k|                return vret;                                            \
  |  |  199|  3.28k|        }                                                               \
  |  |  200|  3.28k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 3.28k]
  |  |  ------------------
  ------------------
  631|  3.28k|    return 0;
  632|  3.28k|}
sliceobject.c:slice_richcompare:
  579|     14|{
  580|     14|    if (!PySlice_Check(v) || !PySlice_Check(w))
  ------------------
  |  |   22|     14|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (!PySlice_Check(v) || !PySlice_Check(w))
  ------------------
  |  |   22|     14|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_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 (580:9): [True: 0, False: 14]
  |  Branch (580:30): [True: 0, False: 14]
  ------------------
  581|      0|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
  582|       |
  583|     14|    if (v == w) {
  ------------------
  |  Branch (583:9): [True: 0, False: 14]
  ------------------
  584|      0|        PyObject *res;
  585|       |        /* XXX Do we really need this shortcut?
  586|       |           There's a unit test for it, but is that fair? */
  587|      0|        switch (op) {
  588|      0|        case Py_EQ:
  ------------------
  |  |  654|      0|#define Py_EQ 2
  ------------------
  |  Branch (588:9): [True: 0, False: 0]
  ------------------
  589|      0|        case Py_LE:
  ------------------
  |  |  653|      0|#define Py_LE 1
  ------------------
  |  Branch (589:9): [True: 0, False: 0]
  ------------------
  590|      0|        case Py_GE:
  ------------------
  |  |  657|      0|#define Py_GE 5
  ------------------
  |  Branch (590:9): [True: 0, False: 0]
  ------------------
  591|      0|            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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  592|      0|            break;
  593|      0|        default:
  ------------------
  |  Branch (593:9): [True: 0, False: 0]
  ------------------
  594|      0|            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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  595|      0|            break;
  596|      0|        }
  597|      0|        return Py_NewRef(res);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  598|      0|    }
  599|       |
  600|       |
  601|     14|    PyObject *t1 = PyTuple_Pack(3,
  602|     14|                                ((PySliceObject *)v)->start,
  603|     14|                                ((PySliceObject *)v)->stop,
  604|     14|                                ((PySliceObject *)v)->step);
  605|     14|    if (t1 == NULL) {
  ------------------
  |  Branch (605:9): [True: 0, False: 14]
  ------------------
  606|      0|        return NULL;
  607|      0|    }
  608|       |
  609|     14|    PyObject *t2 = PyTuple_Pack(3,
  610|     14|                                ((PySliceObject *)w)->start,
  611|     14|                                ((PySliceObject *)w)->stop,
  612|     14|                                ((PySliceObject *)w)->step);
  613|     14|    if (t2 == NULL) {
  ------------------
  |  Branch (613:9): [True: 0, False: 14]
  ------------------
  614|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  615|      0|        return NULL;
  616|      0|    }
  617|       |
  618|     14|    PyObject *res = PyObject_RichCompare(t1, t2, op);
  619|     14|    Py_DECREF(t1);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  620|     14|    Py_DECREF(t2);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  621|     14|    return res;
  622|     14|}
sliceobject.c:slice_new:
  321|      4|{
  322|      4|    PyObject *start, *stop, *step;
  323|       |
  324|      4|    start = stop = step = NULL;
  325|       |
  326|      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]
  |  |  ------------------
  ------------------
  327|      0|        return NULL;
  328|       |
  329|      4|    if (!PyArg_UnpackTuple(args, "slice", 1, 3, &start, &stop, &step))
  ------------------
  |  Branch (329:9): [True: 0, False: 4]
  ------------------
  330|      0|        return NULL;
  331|       |
  332|       |    /* This swapping of stop and start is to maintain similarity with
  333|       |       range(). */
  334|      4|    if (stop == NULL) {
  ------------------
  |  Branch (334:9): [True: 2, False: 2]
  ------------------
  335|      2|        stop = start;
  336|       |        start = NULL;
  337|      2|    }
  338|      4|    return PySlice_New(start, stop, step);
  339|      4|}

unicodeobject.c:ucs1lib_utf8_encoder:
  267|    589|{
  268|       |#if STRINGLIB_SIZEOF_CHAR > 1
  269|       |    PyObject *error_handler_obj = NULL;
  270|       |    PyObject *exc = NULL;
  271|       |    PyObject *rep = NULL;
  272|       |#endif
  273|    589|#if STRINGLIB_SIZEOF_CHAR == 1
  274|    589|    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|    589|    assert(size >= 0);
  282|    589|    if (size > PY_SSIZE_T_MAX / max_char_size) {
  ------------------
  |  |  137|    589|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (282:9): [True: 0, False: 589]
  ------------------
  283|       |        /* integer overflow */
  284|      0|        PyErr_NoMemory();
  285|      0|        *end = NULL;
  286|      0|        return NULL;
  287|      0|    }
  288|       |
  289|    589|    PyBytesWriter *writer = PyBytesWriter_Create(size * max_char_size);
  290|    589|    if (writer == NULL) {
  ------------------
  |  Branch (290:9): [True: 0, False: 589]
  ------------------
  291|      0|        *end = NULL;
  292|      0|        return NULL;
  293|      0|    }
  294|       |    /* next free byte in output buffer */
  295|    589|    char *p = PyBytesWriter_GetData(writer);
  296|       |
  297|    589|    Py_ssize_t i;                /* index into data of next input character */
  298|  32.2k|    for (i = 0; i < size;) {
  ------------------
  |  Branch (298:17): [True: 31.6k, False: 589]
  ------------------
  299|  31.6k|        Py_UCS4 ch = data[i++];
  300|       |
  301|  31.6k|        if (ch < 0x80) {
  ------------------
  |  Branch (301:13): [True: 27.6k, False: 4.02k]
  ------------------
  302|       |            /* Encode ASCII */
  303|  27.6k|            *p++ = (char) ch;
  304|       |
  305|  27.6k|        }
  306|  4.02k|        else
  307|       |#if STRINGLIB_SIZEOF_CHAR > 1
  308|       |        if (ch < 0x0800)
  309|       |#endif
  310|  4.02k|        {
  311|       |            /* Encode Latin-1 */
  312|  4.02k|            *p++ = (char)(0xc0 | (ch >> 6));
  313|  4.02k|            *p++ = (char)(0x80 | (ch & 0x3f));
  314|  4.02k|        }
  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|  31.6k|    }
  465|       |
  466|       |#if STRINGLIB_SIZEOF_CHAR > 1
  467|       |    Py_XDECREF(error_handler_obj);
  468|       |    Py_XDECREF(exc);
  469|       |#endif
  470|    589|    *end = p;
  471|    589|    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|    589|}
unicodeobject.c:ucs2lib_utf8_encoder:
  267|  70.9k|{
  268|  70.9k|#if STRINGLIB_SIZEOF_CHAR > 1
  269|  70.9k|    PyObject *error_handler_obj = NULL;
  270|  70.9k|    PyObject *exc = NULL;
  271|  70.9k|    PyObject *rep = NULL;
  272|  70.9k|#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|  70.9k|    assert(size >= 0);
  282|  70.9k|    if (size > PY_SSIZE_T_MAX / max_char_size) {
  ------------------
  |  |  137|  70.9k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (282:9): [True: 0, False: 70.9k]
  ------------------
  283|       |        /* integer overflow */
  284|      0|        PyErr_NoMemory();
  285|      0|        *end = NULL;
  286|      0|        return NULL;
  287|      0|    }
  288|       |
  289|  70.9k|    PyBytesWriter *writer = PyBytesWriter_Create(size * max_char_size);
  290|  70.9k|    if (writer == NULL) {
  ------------------
  |  Branch (290:9): [True: 0, False: 70.9k]
  ------------------
  291|      0|        *end = NULL;
  292|      0|        return NULL;
  293|      0|    }
  294|       |    /* next free byte in output buffer */
  295|  70.9k|    char *p = PyBytesWriter_GetData(writer);
  296|       |
  297|  70.9k|    Py_ssize_t i;                /* index into data of next input character */
  298|   251k|    for (i = 0; i < size;) {
  ------------------
  |  Branch (298:17): [True: 182k, False: 68.8k]
  ------------------
  299|   182k|        Py_UCS4 ch = data[i++];
  300|       |
  301|   182k|        if (ch < 0x80) {
  ------------------
  |  Branch (301:13): [True: 101k, False: 81.1k]
  ------------------
  302|       |            /* Encode ASCII */
  303|   101k|            *p++ = (char) ch;
  304|       |
  305|   101k|        }
  306|  81.1k|        else
  307|  81.1k|#if STRINGLIB_SIZEOF_CHAR > 1
  308|  81.1k|        if (ch < 0x0800)
  ------------------
  |  Branch (308:13): [True: 6.68k, False: 74.5k]
  ------------------
  309|  6.68k|#endif
  310|  6.68k|        {
  311|       |            /* Encode Latin-1 */
  312|  6.68k|            *p++ = (char)(0xc0 | (ch >> 6));
  313|  6.68k|            *p++ = (char)(0x80 | (ch & 0x3f));
  314|  6.68k|        }
  315|  74.5k|#if STRINGLIB_SIZEOF_CHAR > 1
  316|  74.5k|        else if (Py_UNICODE_IS_SURROGATE(ch)) {
  ------------------
  |  Branch (316:18): [True: 2.04k, False: 72.4k]
  ------------------
  317|  2.04k|            Py_ssize_t startpos, endpos, newpos;
  318|  2.04k|            Py_ssize_t k;
  319|  2.04k|            if (error_handler == _Py_ERROR_UNKNOWN) {
  ------------------
  |  Branch (319:17): [True: 2.04k, False: 0]
  ------------------
  320|  2.04k|                error_handler = _Py_GetErrorHandler(errors);
  321|  2.04k|            }
  322|       |
  323|  2.04k|            startpos = i-1;
  324|  2.04k|            endpos = startpos+1;
  325|       |
  326|  2.04k|            while ((endpos < size) && Py_UNICODE_IS_SURROGATE(data[endpos]))
  ------------------
  |  Branch (326:20): [True: 0, False: 2.04k]
  |  Branch (326:39): [True: 0, False: 0]
  ------------------
  327|      0|                endpos++;
  328|       |
  329|       |            /* Only overallocate the buffer if it's not the last write */
  330|  2.04k|            writer->overallocate = (endpos < size);
  331|       |
  332|  2.04k|            switch (error_handler)
  333|  2.04k|            {
  334|      0|            case _Py_ERROR_REPLACE:
  ------------------
  |  Branch (334:13): [True: 0, False: 2.04k]
  ------------------
  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: 2.04k]
  ------------------
  339|      0|                i += (endpos - startpos - 1);
  340|      0|                break;
  341|       |
  342|      0|            case _Py_ERROR_SURROGATEPASS:
  ------------------
  |  Branch (342:13): [True: 0, False: 2.04k]
  ------------------
  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: 2.04k]
  ------------------
  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: 2.04k]
  ------------------
  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: 2.04k]
  ------------------
  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|  2.04k|            default:
  ------------------
  |  Branch (386:13): [True: 2.04k, False: 0]
  ------------------
  387|  2.04k|                rep = unicode_encode_call_errorhandler(
  388|  2.04k|                      errors, &error_handler_obj, "utf-8", "surrogates not allowed",
  389|  2.04k|                      unicode, &exc, startpos, endpos, &newpos);
  390|  2.04k|                if (!rep)
  ------------------
  |  Branch (390:21): [True: 2.04k, False: 0]
  ------------------
  391|  2.04k|                    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|  2.04k|            }
  438|       |
  439|       |            /* If overallocation was disabled, ensure that it was the last
  440|       |               write. Otherwise, we missed an optimization */
  441|  2.04k|            assert(writer->overallocate || i == size);
  442|      0|        }
  443|  72.4k|        else
  444|       |#if STRINGLIB_SIZEOF_CHAR > 2
  445|       |        if (ch < 0x10000)
  446|       |#endif
  447|  72.4k|        {
  448|  72.4k|            *p++ = (char)(0xe0 | (ch >> 12));
  449|  72.4k|            *p++ = (char)(0x80 | ((ch >> 6) & 0x3f));
  450|  72.4k|            *p++ = (char)(0x80 | (ch & 0x3f));
  451|  72.4k|        }
  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|   182k|#endif /* STRINGLIB_SIZEOF_CHAR > 1 */
  464|   182k|    }
  465|       |
  466|  68.8k|#if STRINGLIB_SIZEOF_CHAR > 1
  467|  68.8k|    Py_XDECREF(error_handler_obj);
  ------------------
  |  |  524|  68.8k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  68.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  68.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  468|  68.8k|    Py_XDECREF(exc);
  ------------------
  |  |  524|  68.8k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  68.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  68.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  469|  68.8k|#endif
  470|  68.8k|    *end = p;
  471|  68.8k|    return writer;
  472|       |
  473|      0|#if STRINGLIB_SIZEOF_CHAR > 1
  474|  2.04k| error:
  475|  2.04k|    PyBytesWriter_Discard(writer);
  476|  2.04k|    Py_XDECREF(rep);
  ------------------
  |  |  524|  2.04k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.04k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  477|  2.04k|    Py_XDECREF(error_handler_obj);
  ------------------
  |  |  524|  2.04k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.04k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  478|  2.04k|    Py_XDECREF(exc);
  ------------------
  |  |  524|  2.04k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.04k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  479|  2.04k|    *end = NULL;
  480|       |    return NULL;
  481|  70.9k|#endif
  482|  70.9k|}
unicodeobject.c:ucs4lib_utf8_encoder:
  267|  1.09M|{
  268|  1.09M|#if STRINGLIB_SIZEOF_CHAR > 1
  269|  1.09M|    PyObject *error_handler_obj = NULL;
  270|  1.09M|    PyObject *exc = NULL;
  271|  1.09M|    PyObject *rep = NULL;
  272|  1.09M|#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|  1.09M|    const Py_ssize_t max_char_size = 4;
  279|  1.09M|#endif
  280|       |
  281|  1.09M|    assert(size >= 0);
  282|  1.09M|    if (size > PY_SSIZE_T_MAX / max_char_size) {
  ------------------
  |  |  137|  1.09M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (282:9): [True: 0, False: 1.09M]
  ------------------
  283|       |        /* integer overflow */
  284|      0|        PyErr_NoMemory();
  285|      0|        *end = NULL;
  286|      0|        return NULL;
  287|      0|    }
  288|       |
  289|  1.09M|    PyBytesWriter *writer = PyBytesWriter_Create(size * max_char_size);
  290|  1.09M|    if (writer == NULL) {
  ------------------
  |  Branch (290:9): [True: 0, False: 1.09M]
  ------------------
  291|      0|        *end = NULL;
  292|      0|        return NULL;
  293|      0|    }
  294|       |    /* next free byte in output buffer */
  295|  1.09M|    char *p = PyBytesWriter_GetData(writer);
  296|       |
  297|  1.09M|    Py_ssize_t i;                /* index into data of next input character */
  298|  4.02M|    for (i = 0; i < size;) {
  ------------------
  |  Branch (298:17): [True: 2.92M, False: 1.09M]
  ------------------
  299|  2.92M|        Py_UCS4 ch = data[i++];
  300|       |
  301|  2.92M|        if (ch < 0x80) {
  ------------------
  |  Branch (301:13): [True: 454k, False: 2.47M]
  ------------------
  302|       |            /* Encode ASCII */
  303|   454k|            *p++ = (char) ch;
  304|       |
  305|   454k|        }
  306|  2.47M|        else
  307|  2.47M|#if STRINGLIB_SIZEOF_CHAR > 1
  308|  2.47M|        if (ch < 0x0800)
  ------------------
  |  Branch (308:13): [True: 12.9k, False: 2.45M]
  ------------------
  309|  12.9k|#endif
  310|  12.9k|        {
  311|       |            /* Encode Latin-1 */
  312|  12.9k|            *p++ = (char)(0xc0 | (ch >> 6));
  313|  12.9k|            *p++ = (char)(0x80 | (ch & 0x3f));
  314|  12.9k|        }
  315|  2.45M|#if STRINGLIB_SIZEOF_CHAR > 1
  316|  2.45M|        else if (Py_UNICODE_IS_SURROGATE(ch)) {
  ------------------
  |  Branch (316:18): [True: 0, False: 2.45M]
  ------------------
  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|  2.45M|        else
  444|  2.45M|#if STRINGLIB_SIZEOF_CHAR > 2
  445|  2.45M|        if (ch < 0x10000)
  ------------------
  |  Branch (445:13): [True: 135k, False: 2.32M]
  ------------------
  446|   135k|#endif
  447|   135k|        {
  448|   135k|            *p++ = (char)(0xe0 | (ch >> 12));
  449|   135k|            *p++ = (char)(0x80 | ((ch >> 6) & 0x3f));
  450|   135k|            *p++ = (char)(0x80 | (ch & 0x3f));
  451|   135k|        }
  452|  2.32M|#if STRINGLIB_SIZEOF_CHAR > 2
  453|  2.32M|        else /* ch >= 0x10000 */
  454|  2.32M|        {
  455|  2.32M|            assert(ch <= MAX_UNICODE);
  456|       |            /* Encode UCS4 Unicode ordinals */
  457|  2.32M|            *p++ = (char)(0xf0 | (ch >> 18));
  458|  2.32M|            *p++ = (char)(0x80 | ((ch >> 12) & 0x3f));
  459|  2.32M|            *p++ = (char)(0x80 | ((ch >> 6) & 0x3f));
  460|  2.32M|            *p++ = (char)(0x80 | (ch & 0x3f));
  461|  2.32M|        }
  462|  2.92M|#endif /* STRINGLIB_SIZEOF_CHAR > 2 */
  463|  2.92M|#endif /* STRINGLIB_SIZEOF_CHAR > 1 */
  464|  2.92M|    }
  465|       |
  466|  1.09M|#if STRINGLIB_SIZEOF_CHAR > 1
  467|  1.09M|    Py_XDECREF(error_handler_obj);
  ------------------
  |  |  524|  1.09M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.09M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.09M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  468|  1.09M|    Py_XDECREF(exc);
  ------------------
  |  |  524|  1.09M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.09M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.09M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  469|  1.09M|#endif
  470|  1.09M|    *end = p;
  471|  1.09M|    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|  1.09M|#endif
  482|  1.09M|}
unicodeobject.c:asciilib_utf8_decode:
   26|     78|{
   27|     78|    Py_UCS4 ch;
   28|     78|    const char *s = *inptr;
   29|     78|    STRINGLIB_CHAR *p = dest + *outpos;
  ------------------
  |  |   11|     78|#define STRINGLIB_CHAR           Py_UCS1
  ------------------
   30|       |
   31|     78|    while (s < end) {
  ------------------
  |  Branch (31:12): [True: 78, False: 0]
  ------------------
   32|     78|        ch = (unsigned char)*s;
   33|       |
   34|     78|        if (ch < 0x80) {
  ------------------
  |  Branch (34:13): [True: 0, False: 78]
  ------------------
   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) {
  ------------------
  |  | 1849|      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;
  ------------------
  |  | 1849|      0|#define SIZEOF_SIZE_T 8
  ------------------
   82|      0|                    _p += SIZEOF_SIZE_T;
  ------------------
  |  | 1849|      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|     78|        if (ch < 0xE0) {
  ------------------
  |  Branch (97:13): [True: 36, False: 42]
  ------------------
   98|       |            /* \xC2\x80-\xDF\xBF -- 0080-07FF */
   99|     36|            Py_UCS4 ch2;
  100|     36|            if (ch < 0xC2) {
  ------------------
  |  Branch (100:17): [True: 0, False: 36]
  ------------------
  101|       |                /* invalid sequence
  102|       |                \x80-\xBF -- continuation byte
  103|       |                \xC0-\xC1 -- fake 0000-007F */
  104|      0|                goto InvalidStart;
  105|      0|            }
  106|     36|            if (end - s < 2) {
  ------------------
  |  Branch (106:17): [True: 0, False: 36]
  ------------------
  107|       |                /* unexpected end of data: the caller will decide whether
  108|       |                   it's an error or not */
  109|      0|                break;
  110|      0|            }
  111|     36|            ch2 = (unsigned char)s[1];
  112|     36|            if (!IS_CONTINUATION_BYTE(ch2))
  ------------------
  |  |   20|     36|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 36, False: 0]
  |  |  |  Branch (20:51): [True: 36, False: 0]
  |  |  ------------------
  ------------------
  113|       |                /* invalid continuation byte */
  114|      0|                goto InvalidContinuation1;
  115|     36|            ch = (ch << 6) + ch2 -
  116|     36|                 ((0xC0 << 6) + 0x80);
  117|     36|            assert ((ch > 0x007F) && (ch <= 0x07FF));
  118|     36|            s += 2;
  119|     36|            if (STRINGLIB_MAX_CHAR <= 0x007F ||
  ------------------
  |  |   10|     36|#define STRINGLIB_MAX_CHAR       0x7Fu
  ------------------
  |  Branch (119:17): [True: 36, 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|     36|                goto Return;
  123|      0|            *p++ = ch;
  124|      0|            continue;
  125|     36|        }
  126|       |
  127|     42|        if (ch < 0xF0) {
  ------------------
  |  Branch (127:13): [True: 24, False: 18]
  ------------------
  128|       |            /* \xE0\xA0\x80-\xEF\xBF\xBF -- 0800-FFFF */
  129|     24|            Py_UCS4 ch2, ch3;
  130|     24|            if (end - s < 3) {
  ------------------
  |  Branch (130:17): [True: 0, False: 24]
  ------------------
  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|     24|            ch2 = (unsigned char)s[1];
  143|     24|            ch3 = (unsigned char)s[2];
  144|     24|            if (!IS_CONTINUATION_BYTE(ch2)) {
  ------------------
  |  |   20|     24|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 24, False: 0]
  |  |  |  Branch (20:51): [True: 24, False: 0]
  |  |  ------------------
  ------------------
  145|       |                /* invalid continuation byte */
  146|      0|                goto InvalidContinuation1;
  147|      0|            }
  148|     24|            if (ch == 0xE0) {
  ------------------
  |  Branch (148:17): [True: 8, False: 16]
  ------------------
  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|     16|            } else if (ch == 0xED && ch2 >= 0xA0) {
  ------------------
  |  Branch (153:24): [True: 0, False: 16]
  |  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|     24|            if (!IS_CONTINUATION_BYTE(ch3)) {
  ------------------
  |  |   20|     24|#define IS_CONTINUATION_BYTE(ch) ((ch) >= 0x80 && (ch) < 0xC0)
  |  |  ------------------
  |  |  |  Branch (20:35): [True: 24, False: 0]
  |  |  |  Branch (20:51): [True: 24, False: 0]
  |  |  ------------------
  ------------------
  162|       |                /* invalid continuation byte */
  163|      0|                goto InvalidContinuation2;
  164|      0|            }
  165|     24|            ch = (ch << 12) + (ch2 << 6) + ch3 -
  166|     24|                 ((0xE0 << 12) + (0x80 << 6) + 0x80);
  167|     24|            assert ((ch > 0x07FF) && (ch <= 0xFFFF));
  168|     24|            s += 3;
  169|     24|            if (STRINGLIB_MAX_CHAR <= 0x07FF ||
  ------------------
  |  |   10|     24|#define STRINGLIB_MAX_CHAR       0x7Fu
  ------------------
  |  Branch (169:17): [True: 24, 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|     24|                goto Return;
  173|      0|            *p++ = ch;
  174|      0|            continue;
  175|     24|        }
  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|     78|Return:
  237|     78|    *inptr = s;
  238|     78|    *outpos = p - dest;
  239|     78|    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|     22|{
   27|     22|    Py_UCS4 ch;
   28|     22|    const char *s = *inptr;
   29|     22|    STRINGLIB_CHAR *p = dest + *outpos;
  ------------------
  |  |   11|     22|#define STRINGLIB_CHAR           Py_UCS1
  ------------------
   30|       |
   31|    182|    while (s < end) {
  ------------------
  |  Branch (31:12): [True: 170, False: 12]
  ------------------
   32|    170|        ch = (unsigned char)*s;
   33|       |
   34|    170|        if (ch < 0x80) {
  ------------------
  |  Branch (34:13): [True: 94, 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|     94|            if (_Py_IS_ALIGNED(s, ALIGNOF_SIZE_T)) {
  ------------------
  |  |  221|     94|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  |  |  ------------------
  |  |  |  Branch (221:30): [True: 16, False: 78]
  |  |  ------------------
  ------------------
   43|       |                /* Help register allocation */
   44|     16|                const char *_s = s;
   45|     16|                STRINGLIB_CHAR *_p = p;
  ------------------
  |  |   11|     16|#define STRINGLIB_CHAR           Py_UCS1
  ------------------
   46|  2.40k|                while (_s + SIZEOF_SIZE_T <= end) {
  ------------------
  |  | 1849|  2.40k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (46:24): [True: 2.39k, False: 8]
  ------------------
   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.39k|                    size_t value = *(const size_t *) _s;
   51|  2.39k|                    if (value & ASCII_CHAR_MASK)
  ------------------
  |  |   12|  2.39k|# define ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
  |  Branch (51:25): [True: 8, False: 2.38k]
  ------------------
   52|      8|                        break;
   53|  2.38k|#if PY_LITTLE_ENDIAN
   54|  2.38k|                    _p[0] = (STRINGLIB_CHAR)(value & 0xFFu);
   55|  2.38k|                    _p[1] = (STRINGLIB_CHAR)((value >> 8) & 0xFFu);
   56|  2.38k|                    _p[2] = (STRINGLIB_CHAR)((value >> 16) & 0xFFu);
   57|  2.38k|                    _p[3] = (STRINGLIB_CHAR)((value >> 24) & 0xFFu);
   58|  2.38k|# if SIZEOF_SIZE_T == 8
   59|  2.38k|                    _p[4] = (STRINGLIB_CHAR)((value >> 32) & 0xFFu);
   60|  2.38k|                    _p[5] = (STRINGLIB_CHAR)((value >> 40) & 0xFFu);
   61|  2.38k|                    _p[6] = (STRINGLIB_CHAR)((value >> 48) & 0xFFu);
   62|  2.38k|                    _p[7] = (STRINGLIB_CHAR)((value >> 56) & 0xFFu);
   63|  2.38k|# 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.38k|                    _s += SIZEOF_SIZE_T;
  ------------------
  |  | 1849|  2.38k|#define SIZEOF_SIZE_T 8
  ------------------
   82|  2.38k|                    _p += SIZEOF_SIZE_T;
  ------------------
  |  | 1849|  2.38k|#define SIZEOF_SIZE_T 8
  ------------------
   83|  2.38k|                }
   84|     16|                s = _s;
   85|     16|                p = _p;
   86|     16|                if (s == end)
  ------------------
  |  Branch (86:21): [True: 0, False: 16]
  ------------------
   87|      0|                    break;
   88|     16|                ch = (unsigned char)*s;
   89|     16|            }
   90|     94|            if (ch < 0x80) {
  ------------------
  |  Branch (90:17): [True: 94, False: 0]
  ------------------
   91|     94|                s++;
   92|     94|                *p++ = ch;
   93|     94|                continue;
   94|     94|            }
   95|     94|        }
   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|     12|    ch = 0;
  236|     22|Return:
  237|     22|    *inptr = s;
  238|     22|    *outpos = p - dest;
  239|     22|    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|     12|}
unicodeobject.c:ucs2lib_utf8_decode:
   26|     42|{
   27|     42|    Py_UCS4 ch;
   28|     42|    const char *s = *inptr;
   29|     42|    STRINGLIB_CHAR *p = dest + *outpos;
  ------------------
  |  |   11|     42|#define STRINGLIB_CHAR           Py_UCS2
  ------------------
   30|       |
   31|  3.59k|    while (s < end) {
  ------------------
  |  Branch (31:12): [True: 3.55k, False: 36]
  ------------------
   32|  3.55k|        ch = (unsigned char)*s;
   33|       |
   34|  3.55k|        if (ch < 0x80) {
  ------------------
  |  Branch (34:13): [True: 1.58k, False: 1.97k]
  ------------------
   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.58k|            if (_Py_IS_ALIGNED(s, ALIGNOF_SIZE_T)) {
  ------------------
  |  |  221|  1.58k|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  |  |  ------------------
  |  |  |  Branch (221:30): [True: 206, False: 1.37k]
  |  |  ------------------
  ------------------
   43|       |                /* Help register allocation */
   44|    206|                const char *_s = s;
   45|    206|                STRINGLIB_CHAR *_p = p;
  ------------------
  |  |   11|    206|#define STRINGLIB_CHAR           Py_UCS2
  ------------------
   46|  2.11k|                while (_s + SIZEOF_SIZE_T <= end) {
  ------------------
  |  | 1849|  2.11k|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (46:24): [True: 2.09k, 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|  2.09k|                    size_t value = *(const size_t *) _s;
   51|  2.09k|                    if (value & ASCII_CHAR_MASK)
  ------------------
  |  |   12|  2.09k|# define ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
  |  Branch (51:25): [True: 190, False: 1.90k]
  ------------------
   52|    190|                        break;
   53|  1.90k|#if PY_LITTLE_ENDIAN
   54|  1.90k|                    _p[0] = (STRINGLIB_CHAR)(value & 0xFFu);
   55|  1.90k|                    _p[1] = (STRINGLIB_CHAR)((value >> 8) & 0xFFu);
   56|  1.90k|                    _p[2] = (STRINGLIB_CHAR)((value >> 16) & 0xFFu);
   57|  1.90k|                    _p[3] = (STRINGLIB_CHAR)((value >> 24) & 0xFFu);
   58|  1.90k|# if SIZEOF_SIZE_T == 8
   59|  1.90k|                    _p[4] = (STRINGLIB_CHAR)((value >> 32) & 0xFFu);
   60|  1.90k|                    _p[5] = (STRINGLIB_CHAR)((value >> 40) & 0xFFu);
   61|  1.90k|                    _p[6] = (STRINGLIB_CHAR)((value >> 48) & 0xFFu);
   62|  1.90k|                    _p[7] = (STRINGLIB_CHAR)((value >> 56) & 0xFFu);
   63|  1.90k|# 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.90k|                    _s += SIZEOF_SIZE_T;
  ------------------
  |  | 1849|  1.90k|#define SIZEOF_SIZE_T 8
  ------------------
   82|  1.90k|                    _p += SIZEOF_SIZE_T;
  ------------------
  |  | 1849|  1.90k|#define SIZEOF_SIZE_T 8
  ------------------
   83|  1.90k|                }
   84|    206|                s = _s;
   85|    206|                p = _p;
   86|    206|                if (s == end)
  ------------------
  |  Branch (86:21): [True: 6, False: 200]
  ------------------
   87|      6|                    break;
   88|    200|                ch = (unsigned char)*s;
   89|    200|            }
   90|  1.57k|            if (ch < 0x80) {
  ------------------
  |  Branch (90:17): [True: 1.56k, False: 14]
  ------------------
   91|  1.56k|                s++;
   92|  1.56k|                *p++ = ch;
   93|  1.56k|                continue;
   94|  1.56k|            }
   95|  1.57k|        }
   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.29k]
  ------------------
  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.29k|            } else if (ch == 0xED && ch2 >= 0xA0) {
  ------------------
  |  Branch (153:24): [True: 0, False: 1.29k]
  |  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|     42|    ch = 0;
  236|     42|Return:
  237|     42|    *inptr = s;
  238|     42|    *outpos = p - dest;
  239|     42|    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|     42|}
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: 24, False: 122]
  |  |  ------------------
  ------------------
   43|       |                /* Help register allocation */
   44|     24|                const char *_s = s;
   45|     24|                STRINGLIB_CHAR *_p = p;
  ------------------
  |  |   11|     24|#define STRINGLIB_CHAR           Py_UCS4
  ------------------
   46|     80|                while (_s + SIZEOF_SIZE_T <= end) {
  ------------------
  |  | 1849|     80|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (46:24): [True: 66, 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|     66|                    size_t value = *(const size_t *) _s;
   51|     66|                    if (value & ASCII_CHAR_MASK)
  ------------------
  |  |   12|     66|# define ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
  |  Branch (51:25): [True: 10, False: 56]
  ------------------
   52|     10|                        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;
  ------------------
  |  | 1849|     56|#define SIZEOF_SIZE_T 8
  ------------------
   82|     56|                    _p += SIZEOF_SIZE_T;
  ------------------
  |  | 1849|     56|#define SIZEOF_SIZE_T 8
  ------------------
   83|     56|                }
   84|     24|                s = _s;
   85|     24|                p = _p;
   86|     24|                if (s == end)
  ------------------
  |  Branch (86:21): [True: 4, False: 20]
  ------------------
   87|      4|                    break;
   88|     20|                ch = (unsigned char)*s;
   89|     20|            }
   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|  4.03M|{
    9|  4.03M|    Py_ssize_t len = PyUnicode_GET_LENGTH(str1);
  ------------------
  |  |  299|  4.03M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.03M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.03M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   10|  4.03M|    if (PyUnicode_GET_LENGTH(str2) != len) {
  ------------------
  |  |  299|  4.03M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.03M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.03M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10:9): [True: 24, False: 4.03M]
  ------------------
   11|     24|        return 0;
   12|     24|    }
   13|       |
   14|  4.03M|    int kind = PyUnicode_KIND(str1);
  ------------------
  |  |  258|  4.03M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  4.03M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   15|  4.03M|    if (PyUnicode_KIND(str2) != kind) {
  ------------------
  |  |  258|  4.03M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  4.03M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (15:9): [True: 0, False: 4.03M]
  ------------------
   16|      0|        return 0;
   17|      0|    }
   18|       |
   19|  4.03M|    const void *data1 = PyUnicode_DATA(str1);
  ------------------
  |  |  284|  4.03M|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.03M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.03M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   20|  4.03M|    const void *data2 = PyUnicode_DATA(str2);
  ------------------
  |  |  284|  4.03M|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.03M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.03M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   21|  4.03M|    return (memcmp(data1, data2, len * kind) == 0);
   22|  4.03M|}
setobject.c:unicode_eq:
    8|  4.01k|{
    9|  4.01k|    Py_ssize_t len = PyUnicode_GET_LENGTH(str1);
  ------------------
  |  |  299|  4.01k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   10|  4.01k|    if (PyUnicode_GET_LENGTH(str2) != len) {
  ------------------
  |  |  299|  4.01k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_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 (10:9): [True: 0, False: 4.01k]
  ------------------
   11|      0|        return 0;
   12|      0|    }
   13|       |
   14|  4.01k|    int kind = PyUnicode_KIND(str1);
  ------------------
  |  |  258|  4.01k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  4.01k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   15|  4.01k|    if (PyUnicode_KIND(str2) != kind) {
  ------------------
  |  |  258|  4.01k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  4.01k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (15:9): [True: 0, False: 4.01k]
  ------------------
   16|      0|        return 0;
   17|      0|    }
   18|       |
   19|  4.01k|    const void *data1 = PyUnicode_DATA(str1);
  ------------------
  |  |  284|  4.01k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   20|  4.01k|    const void *data2 = PyUnicode_DATA(str2);
  ------------------
  |  |  284|  4.01k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   21|  4.01k|    return (memcmp(data1, data2, len * kind) == 0);
   22|  4.01k|}
unicodeobject.c:unicode_eq:
    8|  22.5M|{
    9|  22.5M|    Py_ssize_t len = PyUnicode_GET_LENGTH(str1);
  ------------------
  |  |  299|  22.5M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  22.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  22.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   10|  22.5M|    if (PyUnicode_GET_LENGTH(str2) != len) {
  ------------------
  |  |  299|  22.5M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  22.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  22.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10:9): [True: 19.0M, False: 3.49M]
  ------------------
   11|  19.0M|        return 0;
   12|  19.0M|    }
   13|       |
   14|  3.49M|    int kind = PyUnicode_KIND(str1);
  ------------------
  |  |  258|  3.49M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  3.49M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   15|  3.49M|    if (PyUnicode_KIND(str2) != kind) {
  ------------------
  |  |  258|  3.49M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  3.49M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (15:9): [True: 0, False: 3.49M]
  ------------------
   16|      0|        return 0;
   17|      0|    }
   18|       |
   19|  3.49M|    const void *data1 = PyUnicode_DATA(str1);
  ------------------
  |  |  284|  3.49M|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.49M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.49M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   20|  3.49M|    const void *data2 = PyUnicode_DATA(str2);
  ------------------
  |  |  284|  3.49M|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.49M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.49M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   21|  3.49M|    return (memcmp(data1, data2, len * kind) == 0);
   22|  3.49M|}

unicodeobject.c:ucs1lib_find_char:
   51|   160k|{
   52|   160k|    const STRINGLIB_CHAR *p, *e;
   53|       |
   54|   160k|    p = s;
   55|   160k|    e = s + n;
   56|   160k|    if (n > MEMCHR_CUT_OFF) {
  ------------------
  |  |   44|   160k|#  define MEMCHR_CUT_OFF 15
  ------------------
  |  Branch (56:9): [True: 5.93k, False: 154k]
  ------------------
   57|  5.93k|#ifdef STRINGLIB_FAST_MEMCHR
   58|  5.93k|        p = STRINGLIB_FAST_MEMCHR(s, ch, n);
  ------------------
  |  |   23|  5.93k|#define STRINGLIB_FAST_MEMCHR    memchr
  ------------------
   59|  5.93k|        if (p != NULL)
  ------------------
  |  Branch (59:13): [True: 5.73k, False: 201]
  ------------------
   60|  5.73k|            return (p - s);
   61|    201|        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|  5.93k|    }
   98|   776k|    while (p < e) {
  ------------------
  |  Branch (98:12): [True: 624k, False: 152k]
  ------------------
   99|   624k|        if (*p == ch)
  ------------------
  |  Branch (99:13): [True: 1.92k, False: 622k]
  ------------------
  100|  1.92k|            return (p - s);
  101|   622k|        p++;
  102|   622k|    }
  103|   152k|    return -1;
  104|   154k|}
unicodeobject.c:ucs1lib_rfind_char:
  117|  4.16k|{
  118|  4.16k|    const STRINGLIB_CHAR *p;
  119|  4.16k|#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|  4.16k|    if (n > MEMRCHR_CUT_OFF) {
  ------------------
  |  |  109|  4.16k|#  define MEMRCHR_CUT_OFF 15
  ------------------
  |  Branch (125:9): [True: 4.05k, False: 108]
  ------------------
  126|  4.05k|#if STRINGLIB_SIZEOF_CHAR == 1
  127|  4.05k|        p = memrchr(s, ch, n);
  128|  4.05k|        if (p != NULL)
  ------------------
  |  Branch (128:13): [True: 4.04k, False: 8]
  ------------------
  129|  4.04k|            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|  4.05k|    }
  169|    108|#endif  /* HAVE_MEMRCHR */
  170|    108|    p = s + n;
  171|    812|    while (p > s) {
  ------------------
  |  Branch (171:12): [True: 712, False: 100]
  ------------------
  172|    712|        p--;
  173|    712|        if (*p == ch)
  ------------------
  |  Branch (173:13): [True: 8, False: 704]
  ------------------
  174|      8|            return (p - s);
  175|    712|    }
  176|    100|    return -1;
  177|    108|}
unicodeobject.c:ucs2lib_find_char:
   51|    359|{
   52|    359|    const STRINGLIB_CHAR *p, *e;
   53|       |
   54|    359|    p = s;
   55|    359|    e = s + n;
   56|    359|    if (n > MEMCHR_CUT_OFF) {
  ------------------
  |  |   46|    359|#  define MEMCHR_CUT_OFF 40
  ------------------
  |  Branch (56:9): [True: 359, False: 0]
  ------------------
   57|       |#ifdef STRINGLIB_FAST_MEMCHR
   58|       |        p = STRINGLIB_FAST_MEMCHR(s, ch, n);
   59|       |        if (p != NULL)
   60|       |            return (p - s);
   61|       |        return -1;
   62|       |#else
   63|       |        /* use memchr if we can choose a needle without too many likely
   64|       |           false positives */
   65|    359|        const STRINGLIB_CHAR *s1, *e1;
   66|    359|        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|    359|        if (needle != 0) {
  ------------------
  |  Branch (70:13): [True: 359, False: 0]
  ------------------
   71|    396|            do {
   72|    396|                const void *candidate = memchr(p, needle,
   73|    396|                                               (e - p) * sizeof(STRINGLIB_CHAR));
   74|    396|                if (candidate == NULL)
  ------------------
  |  Branch (74:21): [True: 0, False: 396]
  ------------------
   75|      0|                    return -1;
   76|    396|                s1 = p;
   77|    396|                p = (const STRINGLIB_CHAR *)
   78|    396|                        _Py_ALIGN_DOWN(candidate, sizeof(STRINGLIB_CHAR));
  ------------------
  |  |  216|    396|#define _Py_ALIGN_DOWN(p, a) ((void *)((uintptr_t)(p) & ~(uintptr_t)((a) - 1)))
  ------------------
   79|    396|                if (*p == ch)
  ------------------
  |  Branch (79:21): [True: 359, False: 37]
  ------------------
   80|    359|                    return (p - s);
   81|       |                /* False positive */
   82|     37|                p++;
   83|     37|                if (p - s1 > MEMCHR_CUT_OFF)
  ------------------
  |  |   46|     37|#  define MEMCHR_CUT_OFF 40
  ------------------
  |  Branch (83:21): [True: 37, False: 0]
  ------------------
   84|     37|                    continue;
   85|      0|                if (e - p <= MEMCHR_CUT_OFF)
  ------------------
  |  |   46|      0|#  define MEMCHR_CUT_OFF 40
  ------------------
  |  Branch (85:21): [True: 0, False: 0]
  ------------------
   86|      0|                    break;
   87|      0|                e1 = p + MEMCHR_CUT_OFF;
  ------------------
  |  |   46|      0|#  define MEMCHR_CUT_OFF 40
  ------------------
   88|      0|                while (p != e1) {
  ------------------
  |  Branch (88:24): [True: 0, False: 0]
  ------------------
   89|      0|                    if (*p == ch)
  ------------------
  |  Branch (89:25): [True: 0, False: 0]
  ------------------
   90|      0|                        return (p - s);
   91|      0|                    p++;
   92|      0|                }
   93|      0|            }
   94|    359|            while (e - p > MEMCHR_CUT_OFF);
  ------------------
  |  |   46|     37|#  define MEMCHR_CUT_OFF 40
  ------------------
  |  Branch (94:20): [True: 37, False: 0]
  ------------------
   95|    359|        }
   96|    359|#endif
   97|    359|    }
   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:ucs4lib_find_char:
   51|  2.03k|{
   52|  2.03k|    const STRINGLIB_CHAR *p, *e;
   53|       |
   54|  2.03k|    p = s;
   55|  2.03k|    e = s + n;
   56|  2.03k|    if (n > MEMCHR_CUT_OFF) {
  ------------------
  |  |   44|  2.03k|#  define MEMCHR_CUT_OFF 15
  ------------------
  |  Branch (56:9): [True: 2.03k, False: 0]
  ------------------
   57|  2.03k|#ifdef STRINGLIB_FAST_MEMCHR
   58|  2.03k|        p = STRINGLIB_FAST_MEMCHR(s, ch, n);
  ------------------
  |  |   26|  2.03k|    (Py_UCS4 *)wmemchr((const wchar_t *)(s), c, n)
  ------------------
   59|  2.03k|        if (p != NULL)
  ------------------
  |  Branch (59:13): [True: 2.03k, False: 0]
  ------------------
   60|  2.03k|            return (p - s);
   61|      0|        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|  2.03k|    }
   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_fastsearch:
  776|  37.7k|{
  777|  37.7k|    if (n < m || (mode == FAST_COUNT && maxcount == 0)) {
  ------------------
  |  |   24|  75.5k|#define FAST_COUNT 0
  ------------------
  |  Branch (777:9): [True: 0, False: 37.7k]
  |  Branch (777:19): [True: 0, False: 37.7k]
  |  Branch (777:41): [True: 0, False: 0]
  ------------------
  778|      0|        return -1;
  779|      0|    }
  780|       |
  781|       |    /* look for special cases */
  782|  37.7k|    if (m <= 1) {
  ------------------
  |  Branch (782:9): [True: 34.2k, False: 3.52k]
  ------------------
  783|  34.2k|        if (m <= 0) {
  ------------------
  |  Branch (783:13): [True: 0, False: 34.2k]
  ------------------
  784|      0|            return -1;
  785|      0|        }
  786|       |        /* use special case for 1-character strings */
  787|  34.2k|        if (mode == FAST_SEARCH)
  ------------------
  |  |   25|  34.2k|#define FAST_SEARCH 1
  ------------------
  |  Branch (787:13): [True: 180, False: 34.0k]
  ------------------
  788|    180|            return STRINGLIB(find_char)(s, n, p[0]);
  ------------------
  |  |    7|    180|#define STRINGLIB(F)             asciilib_##F
  ------------------
  789|  34.0k|        else if (mode == FAST_RSEARCH)
  ------------------
  |  |   26|  34.0k|#define FAST_RSEARCH 2
  ------------------
  |  Branch (789:18): [True: 34.0k, False: 0]
  ------------------
  790|  34.0k|            return STRINGLIB(rfind_char)(s, n, p[0]);
  ------------------
  |  |    7|  34.0k|#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|  34.2k|    }
  798|       |
  799|  3.52k|    if (mode != FAST_RSEARCH) {
  ------------------
  |  |   26|  3.52k|#define FAST_RSEARCH 2
  ------------------
  |  Branch (799:9): [True: 3.52k, False: 0]
  ------------------
  800|  3.52k|        if (n < 2500 || (m < 100 && n < 30000) || m < 6) {
  ------------------
  |  Branch (800:13): [True: 3.52k, 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.52k|            return STRINGLIB(default_find)(s, n, p, m, maxcount, mode);
  ------------------
  |  |    7|  3.52k|#define STRINGLIB(F)             asciilib_##F
  ------------------
  802|  3.52k|        }
  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.52k|    }
  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.52k|}
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|  34.0k|{
  118|  34.0k|    const STRINGLIB_CHAR *p;
  119|  34.0k|#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|  34.0k|    if (n > MEMRCHR_CUT_OFF) {
  ------------------
  |  |  109|  34.0k|#  define MEMRCHR_CUT_OFF 15
  ------------------
  |  Branch (125:9): [True: 11.5k, False: 22.5k]
  ------------------
  126|  11.5k|#if STRINGLIB_SIZEOF_CHAR == 1
  127|  11.5k|        p = memrchr(s, ch, n);
  128|  11.5k|        if (p != NULL)
  ------------------
  |  Branch (128:13): [True: 11.4k, False: 54]
  ------------------
  129|  11.4k|            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|  11.5k|    }
  169|  22.5k|#endif  /* HAVE_MEMRCHR */
  170|  22.5k|    p = s + n;
  171|   125k|    while (p > s) {
  ------------------
  |  Branch (171:12): [True: 107k, False: 18.1k]
  ------------------
  172|   107k|        p--;
  173|   107k|        if (*p == ch)
  ------------------
  |  Branch (173:13): [True: 4.40k, False: 102k]
  ------------------
  174|  4.40k|            return (p - s);
  175|   107k|    }
  176|  18.1k|    return -1;
  177|  22.5k|}
unicodeobject.c:asciilib_default_find:
  560|  3.52k|{
  561|  3.52k|    const Py_ssize_t w = n - m;
  562|  3.52k|    Py_ssize_t mlast = m - 1, count = 0;
  563|  3.52k|    Py_ssize_t gap = mlast;
  564|  3.52k|    const STRINGLIB_CHAR last = p[mlast];
  565|  3.52k|    const STRINGLIB_CHAR *const ss = &s[mlast];
  566|       |
  567|  3.52k|    unsigned long mask = 0;
  568|  28.2k|    for (Py_ssize_t i = 0; i < mlast; i++) {
  ------------------
  |  Branch (568:28): [True: 24.7k, False: 3.52k]
  ------------------
  569|  24.7k|        STRINGLIB_BLOOM_ADD(mask, p[i]);
  ------------------
  |  |   39|  24.7k|    ((mask |= (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|  24.7k|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  570|  24.7k|        if (p[i] == last) {
  ------------------
  |  Branch (570:13): [True: 0, False: 24.7k]
  ------------------
  571|      0|            gap = mlast - i - 1;
  572|      0|        }
  573|  24.7k|    }
  574|  3.52k|    STRINGLIB_BLOOM_ADD(mask, last);
  ------------------
  |  |   39|  3.52k|    ((mask |= (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|  3.52k|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  575|       |
  576|  10.5k|    for (Py_ssize_t i = 0; i <= w; i++) {
  ------------------
  |  Branch (576:28): [True: 7.07k, False: 3.52k]
  ------------------
  577|  7.07k|        if (ss[i] == last) {
  ------------------
  |  Branch (577:13): [True: 4, False: 7.07k]
  ------------------
  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.07k|        else {
  606|       |            /* skip: check if next character is part of pattern */
  607|  7.07k|            if (i + 1 <= w && !STRINGLIB_BLOOM(mask, ss[i+1])) {
  ------------------
  |  |   41|  7.05k|    ((mask &  (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|  7.05k|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  |  Branch (607:17): [True: 7.05k, False: 14]
  |  Branch (607:31): [True: 7.01k, False: 42]
  ------------------
  608|  7.01k|                i = i + m;
  609|  7.01k|            }
  610|  7.07k|        }
  611|  7.07k|    }
  612|  3.52k|    return mode == FAST_COUNT ? count : -1;
  ------------------
  |  |   24|  3.52k|#define FAST_COUNT 0
  ------------------
  |  Branch (612:12): [True: 0, False: 3.52k]
  ------------------
  613|  3.52k|}
unicodeobject.c:ucs1lib_fastsearch:
  776|  27.2k|{
  777|  27.2k|    if (n < m || (mode == FAST_COUNT && maxcount == 0)) {
  ------------------
  |  |   24|  54.4k|#define FAST_COUNT 0
  ------------------
  |  Branch (777:9): [True: 0, False: 27.2k]
  |  Branch (777:19): [True: 136, False: 27.0k]
  |  Branch (777:41): [True: 0, False: 136]
  ------------------
  778|      0|        return -1;
  779|      0|    }
  780|       |
  781|       |    /* look for special cases */
  782|  27.2k|    if (m <= 1) {
  ------------------
  |  Branch (782:9): [True: 108, False: 27.1k]
  ------------------
  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|  27.1k|    if (mode != FAST_RSEARCH) {
  ------------------
  |  |   26|  27.1k|#define FAST_RSEARCH 2
  ------------------
  |  Branch (799:9): [True: 27.1k, False: 0]
  ------------------
  800|  27.1k|        if (n < 2500 || (m < 100 && n < 30000) || m < 6) {
  ------------------
  |  Branch (800:13): [True: 27.1k, False: 0]
  |  Branch (800:26): [True: 0, False: 0]
  |  Branch (800:37): [True: 0, False: 0]
  |  Branch (800:51): [True: 0, False: 0]
  ------------------
  801|  27.1k|            return STRINGLIB(default_find)(s, n, p, m, maxcount, mode);
  ------------------
  |  |    7|  27.1k|#define STRINGLIB(F)             ucs1lib_##F
  ------------------
  802|  27.1k|        }
  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|  27.1k|    }
  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|  27.1k|}
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|  27.1k|{
  561|  27.1k|    const Py_ssize_t w = n - m;
  562|  27.1k|    Py_ssize_t mlast = m - 1, count = 0;
  563|  27.1k|    Py_ssize_t gap = mlast;
  564|  27.1k|    const STRINGLIB_CHAR last = p[mlast];
  565|  27.1k|    const STRINGLIB_CHAR *const ss = &s[mlast];
  566|       |
  567|  27.1k|    unsigned long mask = 0;
  568|   242k|    for (Py_ssize_t i = 0; i < mlast; i++) {
  ------------------
  |  Branch (568:28): [True: 215k, False: 27.1k]
  ------------------
  569|   215k|        STRINGLIB_BLOOM_ADD(mask, p[i]);
  ------------------
  |  |   39|   215k|    ((mask |= (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|   215k|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  570|   215k|        if (p[i] == last) {
  ------------------
  |  Branch (570:13): [True: 14, False: 215k]
  ------------------
  571|     14|            gap = mlast - i - 1;
  572|     14|        }
  573|   215k|    }
  574|  27.1k|    STRINGLIB_BLOOM_ADD(mask, last);
  ------------------
  |  |   39|  27.1k|    ((mask |= (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|  27.1k|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  575|       |
  576|   196k|    for (Py_ssize_t i = 0; i <= w; i++) {
  ------------------
  |  Branch (576:28): [True: 183k, False: 13.4k]
  ------------------
  577|   183k|        if (ss[i] == last) {
  ------------------
  |  Branch (577:13): [True: 13.9k, False: 169k]
  ------------------
  578|       |            /* candidate match */
  579|  13.9k|            Py_ssize_t j;
  580|   123k|            for (j = 0; j < mlast; j++) {
  ------------------
  |  Branch (580:25): [True: 109k, False: 13.6k]
  ------------------
  581|   109k|                if (s[i+j] != p[j]) {
  ------------------
  |  Branch (581:21): [True: 266, False: 109k]
  ------------------
  582|    266|                    break;
  583|    266|                }
  584|   109k|            }
  585|  13.9k|            if (j == mlast) {
  ------------------
  |  Branch (585:17): [True: 13.6k, False: 266]
  ------------------
  586|       |                /* got a match! */
  587|  13.6k|                if (mode != FAST_COUNT) {
  ------------------
  |  |   24|  13.6k|#define FAST_COUNT 0
  ------------------
  |  Branch (587:21): [True: 13.6k, False: 4]
  ------------------
  588|  13.6k|                    return i;
  589|  13.6k|                }
  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|    266|            if (i + 1 <= w && !STRINGLIB_BLOOM(mask, ss[i+1])) {
  ------------------
  |  |   41|    262|    ((mask &  (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|    262|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  |  Branch (598:17): [True: 262, False: 4]
  |  Branch (598:31): [True: 258, False: 4]
  ------------------
  599|    258|                i = i + m;
  600|    258|            }
  601|      8|            else {
  602|      8|                i = i + gap;
  603|      8|            }
  604|    266|        }
  605|   169k|        else {
  606|       |            /* skip: check if next character is part of pattern */
  607|   169k|            if (i + 1 <= w && !STRINGLIB_BLOOM(mask, ss[i+1])) {
  ------------------
  |  |   41|   169k|    ((mask &  (1UL << ((ch) & (STRINGLIB_BLOOM_WIDTH -1)))))
  |  |  ------------------
  |  |  |  |   31|   169k|#define STRINGLIB_BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  |  Branch (607:17): [True: 169k, False: 234]
  |  Branch (607:31): [True: 117k, False: 51.9k]
  ------------------
  608|   117k|                i = i + m;
  609|   117k|            }
  610|   169k|        }
  611|   183k|    }
  612|  13.4k|    return mode == FAST_COUNT ? count : -1;
  ------------------
  |  |   24|  13.4k|#define FAST_COUNT 0
  ------------------
  |  Branch (612:12): [True: 28, False: 13.4k]
  ------------------
  613|  27.1k|}
bytes_methods.c:stringlib_find_char:
   51|  1.05k|{
   52|  1.05k|    const STRINGLIB_CHAR *p, *e;
   53|       |
   54|  1.05k|    p = s;
   55|  1.05k|    e = s + n;
   56|  1.05k|    if (n > MEMCHR_CUT_OFF) {
  ------------------
  |  |   44|  1.05k|#  define MEMCHR_CUT_OFF 15
  ------------------
  |  Branch (56:9): [True: 1.05k, False: 0]
  ------------------
   57|  1.05k|#ifdef STRINGLIB_FAST_MEMCHR
   58|  1.05k|        p = STRINGLIB_FAST_MEMCHR(s, ch, n);
  ------------------
  |  |  383|  1.05k|#define STRINGLIB_FAST_MEMCHR memchr
  ------------------
   59|  1.05k|        if (p != NULL)
  ------------------
  |  Branch (59:13): [True: 792, False: 262]
  ------------------
   60|    792|            return (p - s);
   61|    262|        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.05k|    }
   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|  3.62k|{
   12|  3.62k|    Py_ssize_t pos;
   13|       |
   14|  3.62k|    assert(str_len >= 0);
   15|  3.62k|    if (sub_len == 0)
  ------------------
  |  Branch (15:9): [True: 0, False: 3.62k]
  ------------------
   16|      0|        return offset;
   17|       |
   18|  3.62k|    pos = FASTSEARCH(str, str_len, sub, sub_len, -1, FAST_SEARCH);
  ------------------
  |  |    6|  3.62k|#define FASTSEARCH               asciilib_fastsearch
  ------------------
                  pos = FASTSEARCH(str, str_len, sub, sub_len, -1, FAST_SEARCH);
  ------------------
  |  |   25|  3.62k|#define FAST_SEARCH 1
  ------------------
   19|       |
   20|  3.62k|    if (pos >= 0)
  ------------------
  |  Branch (20:9): [True: 100, False: 3.52k]
  ------------------
   21|    100|        pos += offset;
   22|       |
   23|  3.62k|    return pos;
   24|  3.62k|}
unicodeobject.c:ucs1lib_find:
   11|  27.0k|{
   12|  27.0k|    Py_ssize_t pos;
   13|       |
   14|  27.0k|    assert(str_len >= 0);
   15|  27.0k|    if (sub_len == 0)
  ------------------
  |  Branch (15:9): [True: 0, False: 27.0k]
  ------------------
   16|      0|        return offset;
   17|       |
   18|  27.0k|    pos = FASTSEARCH(str, str_len, sub, sub_len, -1, FAST_SEARCH);
  ------------------
  |  |    6|  27.0k|#define FASTSEARCH               ucs1lib_fastsearch
  ------------------
                  pos = FASTSEARCH(str, str_len, sub, sub_len, -1, FAST_SEARCH);
  ------------------
  |  |   25|  27.0k|#define FAST_SEARCH 1
  ------------------
   19|       |
   20|  27.0k|    if (pos >= 0)
  ------------------
  |  Branch (20:9): [True: 13.6k, False: 13.4k]
  ------------------
   21|  13.6k|        pos += offset;
   22|       |
   23|  27.0k|    return pos;
   24|  27.0k|}

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.78M|{
   23|  1.78M|    const unsigned char *p = (const unsigned char *) begin;
   24|  1.78M|    const unsigned char *_end = (const unsigned char *)end;
   25|       |
   26|  11.7M|    while (p < _end) {
  ------------------
  |  Branch (26:12): [True: 10.0M, False: 1.69M]
  ------------------
   27|  10.0M|        if (_Py_IS_ALIGNED(p, ALIGNOF_SIZE_T)) {
  ------------------
  |  |  221|  10.0M|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  |  |  ------------------
  |  |  |  Branch (221:30): [True: 1.71M, False: 8.35M]
  |  |  ------------------
  ------------------
   28|       |            /* Help register allocation */
   29|  1.71M|            const unsigned char *_p = p;
   30|  8.11M|            while (_p + SIZEOF_SIZE_T <= _end) {
  ------------------
  |  | 1849|  8.11M|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (30:20): [True: 6.40M, False: 1.71M]
  ------------------
   31|  6.40M|                size_t value = *(const size_t *) _p;
   32|  6.40M|                if (value & UCS1_ASCII_CHAR_MASK)
  ------------------
  |  |   11|  6.40M|# define UCS1_ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
  |  Branch (32:21): [True: 0, False: 6.40M]
  ------------------
   33|      0|                    return 255;
   34|  6.40M|                _p += SIZEOF_SIZE_T;
  ------------------
  |  | 1849|  6.40M|#define SIZEOF_SIZE_T 8
  ------------------
   35|  6.40M|            }
   36|  1.71M|            p = _p;
   37|  1.71M|            if (p == _end)
  ------------------
  |  Branch (37:17): [True: 81.8k, False: 1.63M]
  ------------------
   38|  81.8k|                break;
   39|  1.71M|        }
   40|  9.98M|        if (*p++ & 0x80)
  ------------------
  |  Branch (40:13): [True: 2, False: 9.98M]
  ------------------
   41|      2|            return 255;
   42|  9.98M|    }
   43|  1.78M|    return 127;
   44|  1.78M|}
unicodeobject.c:ucs2lib_find_max_char:
   61|    328|{
   62|    328|#if STRINGLIB_SIZEOF_CHAR == 2
   63|    328|    const Py_UCS4 mask_limit = MASK_UCS1;
  ------------------
  |  |   51|    328|#define MASK_UCS1 0xFFFFFF00
  ------------------
   64|    328|    const Py_UCS4 max_char_limit = MAX_CHAR_UCS2;
  ------------------
  |  |   56|    328|#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|    328|    Py_UCS4 mask;
   72|    328|    Py_ssize_t n = end - begin;
   73|    328|    const STRINGLIB_CHAR *p = begin;
   74|    328|    const STRINGLIB_CHAR *unrolled_end = begin + _Py_SIZE_ROUND_DOWN(n, 4);
  ------------------
  |  |  211|    328|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  ------------------
   75|    328|    Py_UCS4 max_char;
   76|       |
   77|    328|    max_char = MAX_CHAR_ASCII;
  ------------------
  |  |   54|    328|#define MAX_CHAR_ASCII 0x7f
  ------------------
   78|    328|    mask = MASK_ASCII;
  ------------------
  |  |   50|    328|#define MASK_ASCII 0xFFFFFF80
  ------------------
   79|  4.26k|    while (p < unrolled_end) {
  ------------------
  |  Branch (79:12): [True: 3.93k, False: 326]
  ------------------
   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|    910|    while (p < end) {
  ------------------
  |  Branch (101:12): [True: 584, False: 326]
  ------------------
  102|    584|        if (p[0] & mask) {
  ------------------
  |  Branch (102:13): [True: 0, False: 584]
  ------------------
  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|    584|        p++;
  121|    584|    }
  122|    326|    return max_char;
  123|    326|}

bytesobject.c:stringlib_bytes_join:
    9|  82.1k|{
   10|  82.1k|    const char *sepstr = STRINGLIB_STR(sep);
  ------------------
  |  |   20|  82.1k|#define STRINGLIB_STR            PyBytes_AS_STRING
  |  |  ------------------
  |  |  |  |   27|  82.1k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  82.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  82.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   11|  82.1k|    Py_ssize_t seplen = STRINGLIB_LEN(sep);
  ------------------
  |  |   21|  82.1k|#define STRINGLIB_LEN            PyBytes_GET_SIZE
  |  |  ------------------
  |  |  |  |   33|  82.1k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  82.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  82.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   12|  82.1k|    PyObject *res = NULL;
   13|  82.1k|    char *p;
   14|  82.1k|    Py_ssize_t seqlen = 0;
   15|  82.1k|    Py_ssize_t sz = 0;
   16|  82.1k|    Py_ssize_t i, nbufs;
   17|  82.1k|    PyObject *seq, *item;
   18|  82.1k|    Py_buffer *buffers = NULL;
   19|  82.1k|#define NB_STATIC_BUFFERS 10
   20|  82.1k|    Py_buffer static_buffers[NB_STATIC_BUFFERS];
   21|  82.1k|#define GIL_THRESHOLD 1048576
   22|  82.1k|    int drop_gil = 1;
   23|  82.1k|    PyThreadState *save = NULL;
   24|       |
   25|  82.1k|    seq = PySequence_Fast(iterable, "can only join an iterable");
   26|  82.1k|    if (seq == NULL) {
  ------------------
  |  Branch (26:9): [True: 0, False: 82.1k]
  ------------------
   27|      0|        return NULL;
   28|      0|    }
   29|       |
   30|  82.1k|    seqlen = PySequence_Fast_GET_SIZE(seq);
  ------------------
  |  |   92|  82.1k|    (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   25|  82.1k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  82.1k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 82.1k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   38|  82.1k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  82.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  82.1k|#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|  82.1k|    if (seqlen == 0) {
  ------------------
  |  Branch (31:9): [True: 0, False: 82.1k]
  ------------------
   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|  82.1k|#if !STRINGLIB_MUTABLE
   36|  82.1k|    if (seqlen == 1) {
  ------------------
  |  Branch (36:9): [True: 21.8k, False: 60.3k]
  ------------------
   37|  21.8k|        item = PySequence_Fast_GET_ITEM(seq, 0);
  ------------------
  |  |   97|  21.8k|     (PyList_Check(o) ? PyList_GET_ITEM((o), (i)) : PyTuple_GET_ITEM((o), (i)))
  |  |  ------------------
  |  |  |  |   25|  21.8k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  21.8k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 21.8k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                    (PyList_Check(o) ? PyList_GET_ITEM((o), (i)) : PyTuple_GET_ITEM((o), (i)))
  |  |  ------------------
  |  |  |  |   40|  21.8k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|  21.8k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  21.8k|#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|  21.8k|        if (STRINGLIB_CHECK_EXACT(item)) {
  ------------------
  |  |   24|  21.8k|#define STRINGLIB_CHECK_EXACT    PyBytes_CheckExact
  |  |  ------------------
  |  |  |  |   29|  21.8k|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|  21.8k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  21.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  21.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 21.8k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   39|  21.8k|            Py_INCREF(item);
  ------------------
  |  |  310|  21.8k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  21.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  21.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   40|  21.8k|            Py_DECREF(seq);
  ------------------
  |  |  430|  21.8k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  21.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  21.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   41|  21.8k|            return item;
   42|  21.8k|        }
   43|  21.8k|    }
   44|  60.3k|#endif
   45|  60.3k|    if (seqlen > NB_STATIC_BUFFERS) {
  ------------------
  |  |   19|  60.3k|#define NB_STATIC_BUFFERS 10
  ------------------
  |  Branch (45:9): [True: 0, False: 60.3k]
  ------------------
   46|      0|        buffers = PyMem_NEW(Py_buffer, seqlen);
  ------------------
  |  |   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)) ) )
  |  |  ------------------
  ------------------
   47|      0|        if (buffers == NULL) {
  ------------------
  |  Branch (47:13): [True: 0, False: 0]
  ------------------
   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|      0|    }
   53|  60.3k|    else {
   54|  60.3k|        buffers = static_buffers;
   55|  60.3k|    }
   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|   182k|    for (i = 0, nbufs = 0; i < seqlen; i++) {
  ------------------
  |  Branch (61:28): [True: 122k, False: 60.3k]
  ------------------
   62|   122k|        Py_ssize_t itemlen;
   63|   122k|        item = PySequence_Fast_GET_ITEM(seq, i);
  ------------------
  |  |   97|   122k|     (PyList_Check(o) ? PyList_GET_ITEM((o), (i)) : PyTuple_GET_ITEM((o), (i)))
  |  |  ------------------
  |  |  |  |   25|   122k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|   122k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 122k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                    (PyList_Check(o) ? PyList_GET_ITEM((o), (i)) : PyTuple_GET_ITEM((o), (i)))
  |  |  ------------------
  |  |  |  |   40|   122k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|   122k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   122k|#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|   122k|        if (PyBytes_CheckExact(item)) {
  ------------------
  |  |   29|   122k|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_Type)
  |  |  ------------------
  |  |  |  |  215|   122k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   122k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   122k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 122k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   65|       |            /* Fast path. */
   66|   122k|            buffers[i].obj = Py_NewRef(item);
  ------------------
  |  |  550|   122k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   122k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   122k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   67|   122k|            buffers[i].buf = PyBytes_AS_STRING(item);
  ------------------
  |  |   27|   122k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   122k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   122k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   68|   122k|            buffers[i].len = PyBytes_GET_SIZE(item);
  ------------------
  |  |   33|   122k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|   122k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   122k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   69|   122k|        }
   70|      0|        else {
   71|      0|            if (PyObject_GetBuffer(item, &buffers[i], PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|      0|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (71:17): [True: 0, False: 0]
  ------------------
   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|      0|            drop_gil = 0;
   85|      0|        }
   86|   122k|        nbufs = i + 1;  /* for error cleanup */
   87|   122k|        itemlen = buffers[i].len;
   88|   122k|        if (itemlen > PY_SSIZE_T_MAX - sz) {
  ------------------
  |  |  137|   122k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (88:13): [True: 0, False: 122k]
  ------------------
   89|      0|            PyErr_SetString(PyExc_OverflowError,
   90|      0|                            "join() result is too long");
   91|      0|            goto error;
   92|      0|        }
   93|   122k|        sz += itemlen;
   94|   122k|        if (i != 0) {
  ------------------
  |  Branch (94:13): [True: 61.8k, False: 60.3k]
  ------------------
   95|  61.8k|            if (seplen > PY_SSIZE_T_MAX - sz) {
  ------------------
  |  |  137|  61.8k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (95:17): [True: 0, False: 61.8k]
  ------------------
   96|      0|                PyErr_SetString(PyExc_OverflowError,
   97|      0|                                "join() result is too long");
   98|      0|                goto error;
   99|      0|            }
  100|  61.8k|            sz += seplen;
  101|  61.8k|        }
  102|   122k|        if (seqlen != PySequence_Fast_GET_SIZE(seq)) {
  ------------------
  |  |   92|   122k|    (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   25|   122k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|   122k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 122k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   38|   122k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   122k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   122k|#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: 122k]
  ------------------
  103|      0|            PyErr_SetString(PyExc_RuntimeError,
  104|      0|                            "sequence changed size during iteration");
  105|      0|            goto error;
  106|      0|        }
  107|   122k|    }
  108|       |
  109|       |    /* Allocate result space. */
  110|  60.3k|    res = STRINGLIB_NEW(NULL, sz);
  ------------------
  |  |   22|  60.3k|#define STRINGLIB_NEW            PyBytes_FromStringAndSize
  ------------------
  111|  60.3k|    if (res == NULL)
  ------------------
  |  Branch (111:9): [True: 0, False: 60.3k]
  ------------------
  112|      0|        goto error;
  113|       |
  114|       |    /* Catenate everything. */
  115|  60.3k|    p = STRINGLIB_STR(res);
  ------------------
  |  |   20|  60.3k|#define STRINGLIB_STR            PyBytes_AS_STRING
  |  |  ------------------
  |  |  |  |   27|  60.3k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  60.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  60.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  116|  60.3k|    if (sz < GIL_THRESHOLD) {
  ------------------
  |  |   21|  60.3k|#define GIL_THRESHOLD 1048576
  ------------------
  |  Branch (116:9): [True: 60.3k, False: 0]
  ------------------
  117|  60.3k|        drop_gil = 0;   /* Benefits are likely outweighed by the overheads */
  118|  60.3k|    }
  119|  60.3k|    if (drop_gil) {
  ------------------
  |  Branch (119:9): [True: 0, False: 60.3k]
  ------------------
  120|      0|        save = PyEval_SaveThread();
  121|      0|    }
  122|  60.3k|    if (!seplen) {
  ------------------
  |  Branch (122:9): [True: 60.3k, False: 0]
  ------------------
  123|       |        /* fast path */
  124|   182k|        for (i = 0; i < nbufs; i++) {
  ------------------
  |  Branch (124:21): [True: 122k, False: 60.3k]
  ------------------
  125|   122k|            Py_ssize_t n = buffers[i].len;
  126|   122k|            char *q = buffers[i].buf;
  127|   122k|            memcpy(p, q, n);
  128|   122k|            p += n;
  129|   122k|        }
  130|  60.3k|    }
  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|  60.3k|    if (drop_gil) {
  ------------------
  |  Branch (145:9): [True: 0, False: 60.3k]
  ------------------
  146|      0|        PyEval_RestoreThread(save);
  147|      0|    }
  148|  60.3k|    goto done;
  149|       |
  150|      0|error:
  151|      0|    res = NULL;
  152|  60.3k|done:
  153|  60.3k|    Py_DECREF(seq);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  154|   182k|    for (i = 0; i < nbufs; i++)
  ------------------
  |  Branch (154:17): [True: 122k, False: 60.3k]
  ------------------
  155|   122k|        PyBuffer_Release(&buffers[i]);
  156|  60.3k|    if (buffers != static_buffers)
  ------------------
  |  Branch (156:9): [True: 0, False: 60.3k]
  ------------------
  157|      0|        PyMem_Free(buffers);
  158|  60.3k|    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|  34.0k|{
   75|  34.0k|    PyObject* out;
   76|  34.0k|    Py_ssize_t pos;
   77|       |
   78|  34.0k|    if (sep_len == 0) {
  ------------------
  |  Branch (78:9): [True: 0, False: 34.0k]
  ------------------
   79|      0|        PyErr_SetString(PyExc_ValueError, "empty separator");
   80|      0|        return NULL;
   81|      0|    }
   82|       |
   83|  34.0k|    out = PyTuple_New(3);
   84|  34.0k|    if (!out)
  ------------------
  |  Branch (84:9): [True: 0, False: 34.0k]
  ------------------
   85|      0|        return NULL;
   86|       |
   87|  34.0k|    pos = FASTSEARCH(str, str_len, sep, sep_len, -1, FAST_RSEARCH);
  ------------------
  |  |    6|  34.0k|#define FASTSEARCH               asciilib_fastsearch
  ------------------
                  pos = FASTSEARCH(str, str_len, sep, sep_len, -1, FAST_RSEARCH);
  ------------------
  |  |   26|  34.0k|#define FAST_RSEARCH 2
  ------------------
   88|       |
   89|  34.0k|    if (pos < 0) {
  ------------------
  |  Branch (89:9): [True: 18.2k, False: 15.8k]
  ------------------
   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|  18.2k|        PyObject *empty = (PyObject*)STRINGLIB_GET_EMPTY();
  ------------------
  |  |  955|  18.2k|#define STRINGLIB_GET_EMPTY() _PyUnicode_GetEmpty()
  ------------------
  101|  18.2k|        assert(empty != NULL);
  102|  18.2k|        Py_INCREF(empty);
  ------------------
  |  |  310|  18.2k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  18.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  103|  18.2k|        PyTuple_SET_ITEM(out, 0, empty);
  ------------------
  |  |   40|  18.2k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  18.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  18.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  104|  18.2k|        Py_INCREF(empty);
  ------------------
  |  |  310|  18.2k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  18.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  105|  18.2k|        PyTuple_SET_ITEM(out, 1, empty);
  ------------------
  |  |   40|  18.2k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  18.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  18.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  106|  18.2k|        Py_INCREF(str_obj);
  ------------------
  |  |  310|  18.2k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  18.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  107|  18.2k|        PyTuple_SET_ITEM(out, 2, (PyObject*) str_obj);
  ------------------
  |  |   40|  18.2k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  18.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  18.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  18.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  108|  18.2k|#endif
  109|  18.2k|        return out;
  110|  18.2k|    }
  111|       |
  112|  15.8k|    PyTuple_SET_ITEM(out, 0, STRINGLIB_NEW(str, pos));
  ------------------
  |  |   40|  15.8k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  15.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  15.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  113|  15.8k|    Py_INCREF(sep_obj);
  ------------------
  |  |  310|  15.8k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  15.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  114|  15.8k|    PyTuple_SET_ITEM(out, 1, sep_obj);
  ------------------
  |  |   40|  15.8k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  15.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  15.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  115|  15.8k|    pos += sep_len;
  116|  15.8k|    PyTuple_SET_ITEM(out, 2, STRINGLIB_NEW(str + pos, str_len - pos));
  ------------------
  |  |   40|  15.8k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  15.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  15.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  117|       |
  118|  15.8k|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (118:9): [True: 0, False: 15.8k]
  ------------------
  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|  15.8k|    return out;
  124|  15.8k|}

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:ucs1lib_repr:
   11|  1.83k|{
   12|  1.83k|    Py_ssize_t isize = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  299|  1.83k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.83k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.83k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   13|  1.83k|    const void *idata = PyUnicode_DATA(unicode);
  ------------------
  |  |  284|  1.83k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.83k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.83k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   14|  1.83k|    int ikind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|  1.83k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  1.83k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   15|       |
   16|  1.83k|    *odata++ = quote;
   17|  7.70k|    for (Py_ssize_t i = 0; i < isize; i++) {
  ------------------
  |  Branch (17:28): [True: 5.86k, False: 1.83k]
  ------------------
   18|  5.86k|        Py_UCS4 ch = PyUnicode_READ(ikind, idata, i);
  ------------------
  |  |  354|  5.86k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  5.86k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  5.86k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  5.86k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  5.86k|                   (index))
  ------------------
   19|       |
   20|       |        /* Escape quotes and backslashes */
   21|  5.86k|        if ((ch == quote) || (ch == '\\')) {
  ------------------
  |  Branch (21:13): [True: 10, False: 5.85k]
  |  Branch (21:30): [True: 0, False: 5.85k]
  ------------------
   22|     10|            *odata++ = '\\';
   23|     10|            *odata++ = ch;
   24|     10|            continue;
   25|     10|        }
   26|       |
   27|       |        /* Map special whitespace to '\t', \n', '\r' */
   28|  5.85k|        if (ch == '\t') {
  ------------------
  |  Branch (28:13): [True: 25, False: 5.83k]
  ------------------
   29|     25|            *odata++ = '\\';
   30|     25|            *odata++ = 't';
   31|     25|        }
   32|  5.83k|        else if (ch == '\n') {
  ------------------
  |  Branch (32:18): [True: 6, False: 5.82k]
  ------------------
   33|      6|            *odata++ = '\\';
   34|      6|            *odata++ = 'n';
   35|      6|        }
   36|  5.82k|        else if (ch == '\r') {
  ------------------
  |  Branch (36:18): [True: 21, False: 5.80k]
  ------------------
   37|     21|            *odata++ = '\\';
   38|     21|            *odata++ = 'r';
   39|     21|        }
   40|       |
   41|       |        /* Map non-printable US ASCII to '\xhh' */
   42|  5.80k|        else if (ch < ' ' || ch == 0x7F) {
  ------------------
  |  Branch (42:18): [True: 745, False: 5.05k]
  |  Branch (42:30): [True: 1, False: 5.05k]
  ------------------
   43|    746|            *odata++ = '\\';
   44|    746|            *odata++ = 'x';
   45|    746|            *odata++ = Py_hexdigits[(ch >> 4) & 0x000F];
   46|    746|            *odata++ = Py_hexdigits[ch & 0x000F];
   47|    746|        }
   48|       |
   49|       |        /* Copy ASCII characters as-is */
   50|  5.05k|        else if (ch < 0x7F) {
  ------------------
  |  Branch (50:18): [True: 64, False: 4.99k]
  ------------------
   51|     64|            *odata++ = ch;
   52|     64|        }
   53|       |
   54|       |        /* Non-ASCII characters */
   55|  4.99k|        else {
   56|       |            /* Map Unicode whitespace and control characters
   57|       |               (categories Z* and C* except ASCII space)
   58|       |            */
   59|  4.99k|            if (!Py_UNICODE_ISPRINTABLE(ch)) {
  ------------------
  |  |  761|  4.99k|#define Py_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch)
  ------------------
  |  Branch (59:17): [True: 4.94k, False: 51]
  ------------------
   60|  4.94k|                *odata++ = '\\';
   61|       |                /* Map 8-bit characters to '\xhh' */
   62|  4.94k|                if (ch <= 0xff) {
  ------------------
  |  Branch (62:21): [True: 230, False: 4.71k]
  ------------------
   63|    230|                    *odata++ = 'x';
   64|    230|                    *odata++ = Py_hexdigits[(ch >> 4) & 0x000F];
   65|    230|                    *odata++ = Py_hexdigits[ch & 0x000F];
   66|    230|                }
   67|       |                /* Map 16-bit characters to '\uxxxx' */
   68|  4.71k|                else if (ch <= 0xffff) {
  ------------------
  |  Branch (68:26): [True: 86, False: 4.62k]
  ------------------
   69|     86|                    *odata++ = 'u';
   70|     86|                    *odata++ = Py_hexdigits[(ch >> 12) & 0xF];
   71|     86|                    *odata++ = Py_hexdigits[(ch >> 8) & 0xF];
   72|     86|                    *odata++ = Py_hexdigits[(ch >> 4) & 0xF];
   73|     86|                    *odata++ = Py_hexdigits[ch & 0xF];
   74|     86|                }
   75|       |                /* Map 21-bit characters to '\U00xxxxxx' */
   76|  4.62k|                else {
   77|  4.62k|                    *odata++ = 'U';
   78|  4.62k|                    *odata++ = Py_hexdigits[(ch >> 28) & 0xF];
   79|  4.62k|                    *odata++ = Py_hexdigits[(ch >> 24) & 0xF];
   80|  4.62k|                    *odata++ = Py_hexdigits[(ch >> 20) & 0xF];
   81|  4.62k|                    *odata++ = Py_hexdigits[(ch >> 16) & 0xF];
   82|  4.62k|                    *odata++ = Py_hexdigits[(ch >> 12) & 0xF];
   83|  4.62k|                    *odata++ = Py_hexdigits[(ch >> 8) & 0xF];
   84|  4.62k|                    *odata++ = Py_hexdigits[(ch >> 4) & 0xF];
   85|  4.62k|                    *odata++ = Py_hexdigits[ch & 0xF];
   86|  4.62k|                }
   87|  4.94k|            }
   88|       |            /* Copy characters as-is */
   89|     51|            else {
   90|     51|                *odata++ = ch;
   91|     51|            }
   92|  4.99k|        }
   93|  5.85k|    }
   94|  1.83k|    *odata = quote;
   95|  1.83k|}
unicodeobject.c:ucs2lib_repr:
   11|    246|{
   12|    246|    Py_ssize_t isize = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   13|    246|    const void *idata = PyUnicode_DATA(unicode);
  ------------------
  |  |  284|    246|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    246|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    246|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   14|    246|    int ikind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|    246|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|    246|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   15|       |
   16|    246|    *odata++ = quote;
   17|  1.77k|    for (Py_ssize_t i = 0; i < isize; i++) {
  ------------------
  |  Branch (17:28): [True: 1.53k, False: 246]
  ------------------
   18|  1.53k|        Py_UCS4 ch = PyUnicode_READ(ikind, idata, i);
  ------------------
  |  |  354|  1.53k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  1.53k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  1.53k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  1.53k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  1.53k|                   (index))
  ------------------
   19|       |
   20|       |        /* Escape quotes and backslashes */
   21|  1.53k|        if ((ch == quote) || (ch == '\\')) {
  ------------------
  |  Branch (21:13): [True: 0, False: 1.53k]
  |  Branch (21:30): [True: 2, False: 1.52k]
  ------------------
   22|      2|            *odata++ = '\\';
   23|      2|            *odata++ = ch;
   24|      2|            continue;
   25|      2|        }
   26|       |
   27|       |        /* Map special whitespace to '\t', \n', '\r' */
   28|  1.52k|        if (ch == '\t') {
  ------------------
  |  Branch (28:13): [True: 9, False: 1.52k]
  ------------------
   29|      9|            *odata++ = '\\';
   30|      9|            *odata++ = 't';
   31|      9|        }
   32|  1.52k|        else if (ch == '\n') {
  ------------------
  |  Branch (32:18): [True: 1, False: 1.51k]
  ------------------
   33|      1|            *odata++ = '\\';
   34|      1|            *odata++ = 'n';
   35|      1|        }
   36|  1.51k|        else if (ch == '\r') {
  ------------------
  |  Branch (36:18): [True: 3, False: 1.51k]
  ------------------
   37|      3|            *odata++ = '\\';
   38|      3|            *odata++ = 'r';
   39|      3|        }
   40|       |
   41|       |        /* Map non-printable US ASCII to '\xhh' */
   42|  1.51k|        else if (ch < ' ' || ch == 0x7F) {
  ------------------
  |  Branch (42:18): [True: 317, False: 1.19k]
  |  Branch (42:30): [True: 0, False: 1.19k]
  ------------------
   43|    317|            *odata++ = '\\';
   44|    317|            *odata++ = 'x';
   45|    317|            *odata++ = Py_hexdigits[(ch >> 4) & 0x000F];
   46|    317|            *odata++ = Py_hexdigits[ch & 0x000F];
   47|    317|        }
   48|       |
   49|       |        /* Copy ASCII characters as-is */
   50|  1.19k|        else if (ch < 0x7F) {
  ------------------
  |  Branch (50:18): [True: 19, False: 1.18k]
  ------------------
   51|     19|            *odata++ = ch;
   52|     19|        }
   53|       |
   54|       |        /* Non-ASCII characters */
   55|  1.18k|        else {
   56|       |            /* Map Unicode whitespace and control characters
   57|       |               (categories Z* and C* except ASCII space)
   58|       |            */
   59|  1.18k|            if (!Py_UNICODE_ISPRINTABLE(ch)) {
  ------------------
  |  |  761|  1.18k|#define Py_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch)
  ------------------
  |  Branch (59:17): [True: 795, False: 385]
  ------------------
   60|    795|                *odata++ = '\\';
   61|       |                /* Map 8-bit characters to '\xhh' */
   62|    795|                if (ch <= 0xff) {
  ------------------
  |  Branch (62:21): [True: 103, False: 692]
  ------------------
   63|    103|                    *odata++ = 'x';
   64|    103|                    *odata++ = Py_hexdigits[(ch >> 4) & 0x000F];
   65|    103|                    *odata++ = Py_hexdigits[ch & 0x000F];
   66|    103|                }
   67|       |                /* Map 16-bit characters to '\uxxxx' */
   68|    692|                else if (ch <= 0xffff) {
  ------------------
  |  Branch (68:26): [True: 121, False: 571]
  ------------------
   69|    121|                    *odata++ = 'u';
   70|    121|                    *odata++ = Py_hexdigits[(ch >> 12) & 0xF];
   71|    121|                    *odata++ = Py_hexdigits[(ch >> 8) & 0xF];
   72|    121|                    *odata++ = Py_hexdigits[(ch >> 4) & 0xF];
   73|    121|                    *odata++ = Py_hexdigits[ch & 0xF];
   74|    121|                }
   75|       |                /* Map 21-bit characters to '\U00xxxxxx' */
   76|    571|                else {
   77|    571|                    *odata++ = 'U';
   78|    571|                    *odata++ = Py_hexdigits[(ch >> 28) & 0xF];
   79|    571|                    *odata++ = Py_hexdigits[(ch >> 24) & 0xF];
   80|    571|                    *odata++ = Py_hexdigits[(ch >> 20) & 0xF];
   81|    571|                    *odata++ = Py_hexdigits[(ch >> 16) & 0xF];
   82|    571|                    *odata++ = Py_hexdigits[(ch >> 12) & 0xF];
   83|    571|                    *odata++ = Py_hexdigits[(ch >> 8) & 0xF];
   84|    571|                    *odata++ = Py_hexdigits[(ch >> 4) & 0xF];
   85|    571|                    *odata++ = Py_hexdigits[ch & 0xF];
   86|    571|                }
   87|    795|            }
   88|       |            /* Copy characters as-is */
   89|    385|            else {
   90|    385|                *odata++ = ch;
   91|    385|            }
   92|  1.18k|        }
   93|  1.52k|    }
   94|    246|    *odata = quote;
   95|    246|}
unicodeobject.c:ucs4lib_repr:
   11|    246|{
   12|    246|    Py_ssize_t isize = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   13|    246|    const void *idata = PyUnicode_DATA(unicode);
  ------------------
  |  |  284|    246|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    246|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    246|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   14|    246|    int ikind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|    246|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|    246|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   15|       |
   16|    246|    *odata++ = quote;
   17|  8.77k|    for (Py_ssize_t i = 0; i < isize; i++) {
  ------------------
  |  Branch (17:28): [True: 8.52k, False: 246]
  ------------------
   18|  8.52k|        Py_UCS4 ch = PyUnicode_READ(ikind, idata, i);
  ------------------
  |  |  354|  8.52k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  8.52k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  8.52k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  8.52k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  8.52k|                   (index))
  ------------------
   19|       |
   20|       |        /* Escape quotes and backslashes */
   21|  8.52k|        if ((ch == quote) || (ch == '\\')) {
  ------------------
  |  Branch (21:13): [True: 0, False: 8.52k]
  |  Branch (21:30): [True: 0, False: 8.52k]
  ------------------
   22|      0|            *odata++ = '\\';
   23|      0|            *odata++ = ch;
   24|      0|            continue;
   25|      0|        }
   26|       |
   27|       |        /* Map special whitespace to '\t', \n', '\r' */
   28|  8.52k|        if (ch == '\t') {
  ------------------
  |  Branch (28:13): [True: 0, False: 8.52k]
  ------------------
   29|      0|            *odata++ = '\\';
   30|      0|            *odata++ = 't';
   31|      0|        }
   32|  8.52k|        else if (ch == '\n') {
  ------------------
  |  Branch (32:18): [True: 15, False: 8.51k]
  ------------------
   33|     15|            *odata++ = '\\';
   34|     15|            *odata++ = 'n';
   35|     15|        }
   36|  8.51k|        else if (ch == '\r') {
  ------------------
  |  Branch (36:18): [True: 15, False: 8.49k]
  ------------------
   37|     15|            *odata++ = '\\';
   38|     15|            *odata++ = 'r';
   39|     15|        }
   40|       |
   41|       |        /* Map non-printable US ASCII to '\xhh' */
   42|  8.49k|        else if (ch < ' ' || ch == 0x7F) {
  ------------------
  |  Branch (42:18): [True: 275, False: 8.22k]
  |  Branch (42:30): [True: 0, False: 8.22k]
  ------------------
   43|    275|            *odata++ = '\\';
   44|    275|            *odata++ = 'x';
   45|    275|            *odata++ = Py_hexdigits[(ch >> 4) & 0x000F];
   46|    275|            *odata++ = Py_hexdigits[ch & 0x000F];
   47|    275|        }
   48|       |
   49|       |        /* Copy ASCII characters as-is */
   50|  8.22k|        else if (ch < 0x7F) {
  ------------------
  |  Branch (50:18): [True: 19, False: 8.20k]
  ------------------
   51|     19|            *odata++ = ch;
   52|     19|        }
   53|       |
   54|       |        /* Non-ASCII characters */
   55|  8.20k|        else {
   56|       |            /* Map Unicode whitespace and control characters
   57|       |               (categories Z* and C* except ASCII space)
   58|       |            */
   59|  8.20k|            if (!Py_UNICODE_ISPRINTABLE(ch)) {
  ------------------
  |  |  761|  8.20k|#define Py_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch)
  ------------------
  |  Branch (59:17): [True: 5.29k, False: 2.91k]
  ------------------
   60|  5.29k|                *odata++ = '\\';
   61|       |                /* Map 8-bit characters to '\xhh' */
   62|  5.29k|                if (ch <= 0xff) {
  ------------------
  |  Branch (62:21): [True: 181, False: 5.11k]
  ------------------
   63|    181|                    *odata++ = 'x';
   64|    181|                    *odata++ = Py_hexdigits[(ch >> 4) & 0x000F];
   65|    181|                    *odata++ = Py_hexdigits[ch & 0x000F];
   66|    181|                }
   67|       |                /* Map 16-bit characters to '\uxxxx' */
   68|  5.11k|                else if (ch <= 0xffff) {
  ------------------
  |  Branch (68:26): [True: 72, False: 5.03k]
  ------------------
   69|     72|                    *odata++ = 'u';
   70|     72|                    *odata++ = Py_hexdigits[(ch >> 12) & 0xF];
   71|     72|                    *odata++ = Py_hexdigits[(ch >> 8) & 0xF];
   72|     72|                    *odata++ = Py_hexdigits[(ch >> 4) & 0xF];
   73|     72|                    *odata++ = Py_hexdigits[ch & 0xF];
   74|     72|                }
   75|       |                /* Map 21-bit characters to '\U00xxxxxx' */
   76|  5.03k|                else {
   77|  5.03k|                    *odata++ = 'U';
   78|  5.03k|                    *odata++ = Py_hexdigits[(ch >> 28) & 0xF];
   79|  5.03k|                    *odata++ = Py_hexdigits[(ch >> 24) & 0xF];
   80|  5.03k|                    *odata++ = Py_hexdigits[(ch >> 20) & 0xF];
   81|  5.03k|                    *odata++ = Py_hexdigits[(ch >> 16) & 0xF];
   82|  5.03k|                    *odata++ = Py_hexdigits[(ch >> 12) & 0xF];
   83|  5.03k|                    *odata++ = Py_hexdigits[(ch >> 8) & 0xF];
   84|  5.03k|                    *odata++ = Py_hexdigits[(ch >> 4) & 0xF];
   85|  5.03k|                    *odata++ = Py_hexdigits[ch & 0xF];
   86|  5.03k|                }
   87|  5.29k|            }
   88|       |            /* Copy characters as-is */
   89|  2.91k|            else {
   90|  2.91k|                *odata++ = ch;
   91|  2.91k|            }
   92|  8.20k|        }
   93|  8.52k|    }
   94|    246|    *odata = quote;
   95|    246|}

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|  4.13k|{
  150|  4.13k|    Py_ssize_t i, j, pos, count=0;
  151|  4.13k|    PyObject *list, *sub;
  152|       |
  153|  4.13k|    if (sep_len == 0) {
  ------------------
  |  Branch (153:9): [True: 0, False: 4.13k]
  ------------------
  154|      0|        PyErr_SetString(PyExc_ValueError, "empty separator");
  155|      0|        return NULL;
  156|      0|    }
  157|  4.13k|    else if (sep_len == 1)
  ------------------
  |  Branch (157:14): [True: 4.13k, False: 0]
  ------------------
  158|  4.13k|        return STRINGLIB(split_char)(str_obj, str, str_len, sep[0], maxcount);
  ------------------
  |  |    7|  4.13k|#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|  4.13k|{
  107|  4.13k|    Py_ssize_t i, j, count=0;
  108|  4.13k|    PyObject *list = PyList_New(PREALLOC_SIZE(maxcount));
  ------------------
  |  |   18|  4.13k|    (maxsplit >= MAX_PREALLOC ? MAX_PREALLOC : maxsplit+1)
  |  |  ------------------
  |  |  |  |   14|  8.27k|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |                   (maxsplit >= MAX_PREALLOC ? MAX_PREALLOC : maxsplit+1)
  |  |  ------------------
  |  |  |  |   14|  3.93k|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |  |  Branch (18:6): [True: 3.93k, False: 198]
  |  |  ------------------
  ------------------
  109|  4.13k|    PyObject *sub;
  110|       |
  111|  4.13k|    if (list == NULL)
  ------------------
  |  Branch (111:9): [True: 0, False: 4.13k]
  ------------------
  112|      0|        return NULL;
  113|       |
  114|  4.13k|    i = j = 0;
  115|  13.3k|    while ((j < str_len) && (maxcount-- > 0)) {
  ------------------
  |  Branch (115:12): [True: 9.25k, False: 4.11k]
  |  Branch (115:29): [True: 9.23k, False: 20]
  ------------------
  116|  86.0k|        for(; j < str_len; j++) {
  ------------------
  |  Branch (116:15): [True: 81.9k, False: 4.05k]
  ------------------
  117|       |            /* I found that using memchr makes no difference */
  118|  81.9k|            if (str[j] == ch) {
  ------------------
  |  Branch (118:17): [True: 5.18k, False: 76.8k]
  ------------------
  119|  5.18k|                SPLIT_ADD(str, i, j);
  ------------------
  |  |   32|  5.18k|#define SPLIT_ADD(data, left, right) {          \
  |  |   33|  5.18k|    sub = STRINGLIB_NEW((data) + (left),        \
  |  |  ------------------
  |  |  |  |   20|  5.18k|#define STRINGLIB_NEW(STR,LEN)   _PyUnicode_FromASCII((const char*)(STR),(LEN))
  |  |  ------------------
  |  |   34|  5.18k|                        (right) - (left));      \
  |  |   35|  5.18k|    if (sub == NULL)                            \
  |  |  ------------------
  |  |  |  Branch (35:9): [True: 0, False: 5.18k]
  |  |  ------------------
  |  |   36|  5.18k|        goto onError;                           \
  |  |   37|  5.18k|    if (count < MAX_PREALLOC) {                 \
  |  |  ------------------
  |  |  |  |   14|  5.18k|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |  |  Branch (37:9): [True: 5.12k, False: 58]
  |  |  ------------------
  |  |   38|  5.12k|        PyList_SET_ITEM(list, count, sub);      \
  |  |  ------------------
  |  |  |  |   50|  5.12k|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.12k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.12k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.12k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.12k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   39|  5.12k|    } 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|  5.18k|    count++; }
  ------------------
  120|  5.18k|                i = j = j + 1;
  121|  5.18k|                break;
  122|  5.18k|            }
  123|  81.9k|        }
  124|  9.23k|    }
  125|  4.13k|#if !STRINGLIB_MUTABLE
  126|  4.13k|    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: 4.11k]
  ------------------
  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|  4.11k|#endif
  133|  4.11k|    if (i <= str_len) {
  ------------------
  |  Branch (133:9): [True: 4.11k, False: 0]
  ------------------
  134|  8.23k|        SPLIT_ADD(str, i, str_len);
  ------------------
  |  |   32|  4.11k|#define SPLIT_ADD(data, left, right) {          \
  |  |   33|  4.11k|    sub = STRINGLIB_NEW((data) + (left),        \
  |  |  ------------------
  |  |  |  |   20|  4.11k|#define STRINGLIB_NEW(STR,LEN)   _PyUnicode_FromASCII((const char*)(STR),(LEN))
  |  |  ------------------
  |  |   34|  4.11k|                        (right) - (left));      \
  |  |   35|  4.11k|    if (sub == NULL)                            \
  |  |  ------------------
  |  |  |  Branch (35:9): [True: 0, False: 4.11k]
  |  |  ------------------
  |  |   36|  4.11k|        goto onError;                           \
  |  |   37|  4.11k|    if (count < MAX_PREALLOC) {                 \
  |  |  ------------------
  |  |  |  |   14|  4.11k|#define MAX_PREALLOC 12
  |  |  ------------------
  |  |  |  Branch (37:9): [True: 4.11k, False: 2]
  |  |  ------------------
  |  |   38|  4.11k|        PyList_SET_ITEM(list, count, sub);      \
  |  |  ------------------
  |  |  |  |   50|  4.11k|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.11k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.11k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.11k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.11k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   39|  4.11k|    } 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|  4.11k|    count++; }
  ------------------
  135|  8.23k|    }
  136|  4.13k|    FIX_PREALLOC_SIZE(list);
  ------------------
  |  |   51|  4.13k|#define FIX_PREALLOC_SIZE(list) Py_SET_SIZE(list, count)
  |  |  ------------------
  |  |  |  |  216|  4.13k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  182|  4.13k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  137|  4.13k|    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|  4.13k|}
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|  7.67k|{
  944|  7.67k|    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|  7.67k|    int recursion_depth = 2;
  951|       |
  952|  7.67k|    AutoNumber auto_number;
  953|  7.67k|    AutoNumber_Init(&auto_number);
  954|  7.67k|    SubString_init(&input, self, 0, PyUnicode_GET_LENGTH(self));
  ------------------
  |  |  299|  7.67k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.67k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.67k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  955|  7.67k|    return build_string(&input, args, kwargs, recursion_depth, &auto_number);
  956|  7.67k|}
unicodeobject.c:AutoNumber_Init:
   49|  7.67k|{
   50|  7.67k|    auto_number->an_state = ANS_INIT;
   51|  7.67k|    auto_number->an_field_number = 0;
   52|  7.67k|}
unicodeobject.c:SubString_init:
   57|   217k|{
   58|   217k|    str->str = s;
   59|   217k|    str->start = start;
   60|   217k|    str->end = end;
   61|   217k|}
unicodeobject.c:build_string:
  913|  7.67k|{
  914|  7.67k|    _PyUnicodeWriter writer;
  915|       |
  916|       |    /* check the recursion level */
  917|  7.67k|    if (recursion_depth <= 0) {
  ------------------
  |  Branch (917:9): [True: 0, False: 7.67k]
  ------------------
  918|      0|        PyErr_SetString(PyExc_ValueError,
  919|      0|                        "Max string recursion exceeded");
  920|      0|        return NULL;
  921|      0|    }
  922|       |
  923|  7.67k|    _PyUnicodeWriter_Init(&writer);
  924|  7.67k|    writer.overallocate = 1;
  925|  7.67k|    writer.min_length = PyUnicode_GET_LENGTH(input->str) + 100;
  ------------------
  |  |  299|  7.67k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.67k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.67k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  926|       |
  927|  7.67k|    if (!do_markup(input, args, kwargs, &writer, recursion_depth,
  ------------------
  |  Branch (927:9): [True: 0, False: 7.67k]
  ------------------
  928|  7.67k|                   auto_number)) {
  929|      0|        _PyUnicodeWriter_Dealloc(&writer);
  930|      0|        return NULL;
  931|      0|    }
  932|       |
  933|  7.67k|    return _PyUnicodeWriter_Finish(&writer);
  934|  7.67k|}
unicodeobject.c:do_markup:
  870|  7.67k|{
  871|  7.67k|    MarkupIterator iter;
  872|  7.67k|    int format_spec_needs_expanding;
  873|  7.67k|    int result;
  874|  7.67k|    int field_present;
  875|  7.67k|    SubString literal;
  876|  7.67k|    SubString field_name;
  877|  7.67k|    SubString format_spec;
  878|  7.67k|    Py_UCS4 conversion;
  879|       |
  880|  7.67k|    MarkupIterator_init(&iter, input->str, input->start, input->end);
  881|  41.1k|    while ((result = MarkupIterator_next(&iter, &literal, &field_present,
  ------------------
  |  Branch (881:12): [True: 33.4k, False: 7.67k]
  ------------------
  882|  41.1k|                                         &field_name, &format_spec,
  883|  41.1k|                                         &conversion,
  884|  41.1k|                                         &format_spec_needs_expanding)) == 2) {
  885|  33.4k|        if (literal.end != literal.start) {
  ------------------
  |  Branch (885:13): [True: 29.3k, False: 4.06k]
  ------------------
  886|  29.3k|            if (!field_present && iter.str.start == iter.str.end)
  ------------------
  |  Branch (886:17): [True: 7.26k, False: 22.1k]
  |  Branch (886:35): [True: 7.26k, False: 0]
  ------------------
  887|  7.26k|                writer->overallocate = 0;
  888|  29.3k|            if (_PyUnicodeWriter_WriteSubstring(writer, literal.str,
  ------------------
  |  Branch (888:17): [True: 0, False: 29.3k]
  ------------------
  889|  29.3k|                                                literal.start, literal.end) < 0)
  890|      0|                return 0;
  891|  29.3k|        }
  892|       |
  893|  33.4k|        if (field_present) {
  ------------------
  |  Branch (893:13): [True: 26.1k, False: 7.26k]
  ------------------
  894|  26.1k|            if (iter.str.start == iter.str.end)
  ------------------
  |  Branch (894:17): [True: 402, False: 25.7k]
  ------------------
  895|    402|                writer->overallocate = 0;
  896|  26.1k|            if (!output_markup(&field_name, &format_spec,
  ------------------
  |  Branch (896:17): [True: 0, False: 26.1k]
  ------------------
  897|  26.1k|                               format_spec_needs_expanding, conversion, writer,
  898|  26.1k|                               args, kwargs, recursion_depth, auto_number))
  899|      0|                return 0;
  900|  26.1k|        }
  901|  33.4k|    }
  902|  7.67k|    return result;
  903|  7.67k|}
unicodeobject.c:MarkupIterator_init:
  668|  7.67k|{
  669|  7.67k|    SubString_init(&self->str, str, start, end);
  670|  7.67k|    return 1;
  671|  7.67k|}
unicodeobject.c:MarkupIterator_next:
  680|  41.1k|{
  681|  41.1k|    int at_end;
  682|  41.1k|    Py_UCS4 c = 0;
  683|  41.1k|    Py_ssize_t start;
  684|  41.1k|    Py_ssize_t len;
  685|  41.1k|    int markup_follows = 0;
  686|       |
  687|       |    /* initialize all of the output variables */
  688|  41.1k|    SubString_init(literal, NULL, 0, 0);
  689|  41.1k|    SubString_init(field_name, NULL, 0, 0);
  690|  41.1k|    SubString_init(format_spec, NULL, 0, 0);
  691|  41.1k|    *conversion = '\0';
  692|  41.1k|    *format_spec_needs_expanding = 0;
  693|  41.1k|    *field_present = 0;
  694|       |
  695|       |    /* No more input, end of iterator.  This is the normal exit
  696|       |       path. */
  697|  41.1k|    if (self->str.start >= self->str.end)
  ------------------
  |  Branch (697:9): [True: 7.67k, False: 33.4k]
  ------------------
  698|  7.67k|        return 1;
  699|       |
  700|  33.4k|    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|   424k|    while (self->str.start < self->str.end) {
  ------------------
  |  Branch (709:12): [True: 417k, False: 7.26k]
  ------------------
  710|   417k|        switch (c = PyUnicode_READ_CHAR(self->str.str, self->str.start++)) {
  ------------------
  |  |  381|   417k|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|   417k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   417k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  711|  26.1k|        case '{':
  ------------------
  |  Branch (711:9): [True: 26.1k, False: 391k]
  ------------------
  712|  26.1k|        case '}':
  ------------------
  |  Branch (712:9): [True: 0, False: 417k]
  ------------------
  713|  26.1k|            markup_follows = 1;
  714|  26.1k|            break;
  715|   391k|        default:
  ------------------
  |  Branch (715:9): [True: 391k, False: 26.1k]
  ------------------
  716|   391k|            continue;
  717|   417k|        }
  718|  26.1k|        break;
  719|   417k|    }
  720|       |
  721|  33.4k|    at_end = self->str.start >= self->str.end;
  722|  33.4k|    len = self->str.start - start;
  723|       |
  724|  33.4k|    if ((c == '}') && (at_end ||
  ------------------
  |  Branch (724:9): [True: 0, False: 33.4k]
  |  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|  33.4k|    if (at_end && c == '{') {
  ------------------
  |  Branch (731:9): [True: 7.26k, False: 26.1k]
  |  Branch (731:19): [True: 0, False: 7.26k]
  ------------------
  732|      0|        PyErr_SetString(PyExc_ValueError, "Single '{' encountered "
  733|      0|                        "in format string");
  734|      0|        return 0;
  735|      0|    }
  736|  33.4k|    if (!at_end) {
  ------------------
  |  Branch (736:9): [True: 26.1k, False: 7.26k]
  ------------------
  737|  26.1k|        if (c == PyUnicode_READ_CHAR(self->str.str, self->str.start)) {
  ------------------
  |  |  381|  26.1k|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|  26.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  26.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (737:13): [True: 0, False: 26.1k]
  ------------------
  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|  26.1k|        else
  744|  26.1k|            len--;
  745|  26.1k|    }
  746|       |
  747|       |    /* record the literal text */
  748|  33.4k|    literal->str = self->str.str;
  749|  33.4k|    literal->start = start;
  750|  33.4k|    literal->end = start + len;
  751|       |
  752|  33.4k|    if (!markup_follows)
  ------------------
  |  Branch (752:9): [True: 7.26k, False: 26.1k]
  ------------------
  753|  7.26k|        return 2;
  754|       |
  755|       |    /* this is markup; parse the field */
  756|  26.1k|    *field_present = 1;
  757|  26.1k|    if (!parse_field(&self->str, field_name, format_spec,
  ------------------
  |  Branch (757:9): [True: 0, False: 26.1k]
  ------------------
  758|  26.1k|                     format_spec_needs_expanding, conversion))
  759|      0|        return 0;
  760|  26.1k|    return 2;
  761|  26.1k|}
unicodeobject.c:parse_field:
  557|  26.1k|{
  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|  26.1k|    Py_UCS4 c = 0;
  563|       |
  564|       |    /* initialize these, as they may be empty */
  565|  26.1k|    *conversion = '\0';
  566|  26.1k|    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|  26.1k|    field_name->str = str->str;
  571|  26.1k|    field_name->start = str->start;
  572|   184k|    while (str->start < str->end) {
  ------------------
  |  Branch (572:12): [True: 184k, False: 0]
  ------------------
  573|   184k|        switch ((c = PyUnicode_READ_CHAR(str->str, str->start++))) {
  ------------------
  |  |  381|   184k|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|   184k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   184k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  574|      0|        case '{':
  ------------------
  |  Branch (574:9): [True: 0, False: 184k]
  ------------------
  575|      0|            PyErr_SetString(PyExc_ValueError, "unexpected '{' in field name");
  576|      0|            return 0;
  577|      0|        case '[':
  ------------------
  |  Branch (577:9): [True: 0, False: 184k]
  ------------------
  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|  26.1k|        case '}':
  ------------------
  |  Branch (582:9): [True: 26.1k, False: 158k]
  ------------------
  583|  26.1k|        case ':':
  ------------------
  |  Branch (583:9): [True: 64, False: 184k]
  ------------------
  584|  26.1k|        case '!':
  ------------------
  |  Branch (584:9): [True: 0, False: 184k]
  ------------------
  585|  26.1k|            break;
  586|   158k|        default:
  ------------------
  |  Branch (586:9): [True: 158k, False: 26.1k]
  ------------------
  587|   158k|            continue;
  588|   184k|        }
  589|  26.1k|        break;
  590|   184k|    }
  591|       |
  592|  26.1k|    field_name->end = str->start - 1;
  593|  26.1k|    if (c == '!' || c == ':') {
  ------------------
  |  Branch (593:9): [True: 0, False: 26.1k]
  |  Branch (593:21): [True: 64, False: 26.1k]
  ------------------
  594|     64|        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|     64|        if (c == '!') {
  ------------------
  |  Branch (599:13): [True: 0, False: 64]
  ------------------
  600|       |            /* there must be another character present */
  601|      0|            if (str->start >= str->end) {
  ------------------
  |  Branch (601:17): [True: 0, False: 0]
  ------------------
  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|      0|            *conversion = 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  608|       |
  609|      0|            if (str->start < str->end) {
  ------------------
  |  Branch (609:17): [True: 0, False: 0]
  ------------------
  610|      0|                c = 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  611|      0|                if (c == '}')
  ------------------
  |  Branch (611:21): [True: 0, False: 0]
  ------------------
  612|      0|                    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|      0|        }
  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|  26.1k|    else if (c != '}') {
  ------------------
  |  Branch (644:14): [True: 0, False: 26.1k]
  ------------------
  645|      0|        PyErr_SetString(PyExc_ValueError, "expected '}' before end of string");
  646|      0|        return 0;
  647|      0|    }
  648|       |
  649|  26.1k|    return 1;
  650|  26.1k|}
unicodeobject.c:output_markup:
  811|  26.1k|{
  812|  26.1k|    PyObject *tmp = NULL;
  813|  26.1k|    PyObject *fieldobj = NULL;
  814|  26.1k|    SubString expanded_format_spec;
  815|  26.1k|    SubString *actual_format_spec;
  816|  26.1k|    int result = 0;
  817|       |
  818|       |    /* convert field_name to an object */
  819|  26.1k|    fieldobj = get_field_object(field_name, args, kwargs, auto_number);
  820|  26.1k|    if (fieldobj == NULL)
  ------------------
  |  Branch (820:9): [True: 0, False: 26.1k]
  ------------------
  821|      0|        goto done;
  822|       |
  823|  26.1k|    if (conversion != '\0') {
  ------------------
  |  Branch (823:9): [True: 0, False: 26.1k]
  ------------------
  824|      0|        tmp = do_conversion(fieldobj, conversion);
  825|      0|        if (tmp == NULL)
  ------------------
  |  Branch (825:13): [True: 0, False: 0]
  ------------------
  826|      0|            goto done;
  827|       |
  828|       |        /* do the assignment, transferring ownership: fieldobj = tmp */
  829|      0|        Py_SETREF(fieldobj, 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]
  |  |  ------------------
  ------------------
  830|      0|        tmp = NULL;
  831|      0|    }
  832|       |
  833|       |    /* if needed, recursively compute the format_spec */
  834|  26.1k|    if (format_spec_needs_expanding) {
  ------------------
  |  Branch (834:9): [True: 0, False: 26.1k]
  ------------------
  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|  26.1k|    else
  847|  26.1k|        actual_format_spec = format_spec;
  848|       |
  849|  26.1k|    if (render_field(fieldobj, actual_format_spec, writer) == 0)
  ------------------
  |  Branch (849:9): [True: 0, False: 26.1k]
  ------------------
  850|      0|        goto done;
  851|       |
  852|  26.1k|    result = 1;
  853|       |
  854|  26.1k|done:
  855|  26.1k|    Py_XDECREF(fieldobj);
  ------------------
  |  |  524|  26.1k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  26.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  26.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  856|  26.1k|    Py_XDECREF(tmp);
  ------------------
  |  |  524|  26.1k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  26.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  26.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  857|       |
  858|  26.1k|    return result;
  859|  26.1k|}
unicodeobject.c:get_field_object:
  400|  26.1k|{
  401|  26.1k|    PyObject *obj = NULL;
  402|  26.1k|    int ok;
  403|  26.1k|    int is_attribute;
  404|  26.1k|    SubString name;
  405|  26.1k|    SubString first;
  406|  26.1k|    Py_ssize_t index;
  407|  26.1k|    FieldNameIterator rest;
  408|       |
  409|  26.1k|    if (!field_name_split(input->str, input->start, input->end, &first,
  ------------------
  |  Branch (409:9): [True: 0, False: 26.1k]
  ------------------
  410|  26.1k|                          &index, &rest, auto_number)) {
  411|      0|        goto error;
  412|      0|    }
  413|       |
  414|  26.1k|    if (index == -1) {
  ------------------
  |  Branch (414:9): [True: 21.8k, False: 4.35k]
  ------------------
  415|       |        /* look up in kwargs */
  416|  21.8k|        PyObject *key = SubString_new_object(&first);
  417|  21.8k|        if (key == NULL) {
  ------------------
  |  Branch (417:13): [True: 0, False: 21.8k]
  ------------------
  418|      0|            goto error;
  419|      0|        }
  420|  21.8k|        if (kwargs == NULL) {
  ------------------
  |  Branch (420:13): [True: 0, False: 21.8k]
  ------------------
  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|  21.8k|        obj = PyObject_GetItem(kwargs, key);
  429|  21.8k|        Py_DECREF(key);
  ------------------
  |  |  430|  21.8k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  21.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  21.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  430|  21.8k|        if (obj == NULL) {
  ------------------
  |  Branch (430:13): [True: 0, False: 21.8k]
  ------------------
  431|      0|            goto error;
  432|      0|        }
  433|  21.8k|    }
  434|  4.35k|    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|  4.35k|        if (args == NULL) {
  ------------------
  |  Branch (439:13): [True: 0, False: 4.35k]
  ------------------
  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|  4.35k|        obj = PySequence_GetItem(args, index);
  447|  4.35k|        if (obj == NULL) {
  ------------------
  |  Branch (447:13): [True: 0, False: 4.35k]
  ------------------
  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|  4.35k|    }
  455|       |
  456|       |    /* iterate over the rest of the field_name */
  457|  26.1k|    while ((ok = FieldNameIterator_next(&rest, &is_attribute, &index,
  ------------------
  |  Branch (457:12): [True: 2, False: 26.1k]
  ------------------
  458|  26.1k|                                        &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|  26.1k|    if (ok == 1)
  ------------------
  |  Branch (481:9): [True: 26.1k, False: 0]
  ------------------
  482|  26.1k|        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|  26.1k|}
unicodeobject.c:field_name_split:
  324|  26.1k|{
  325|  26.1k|    Py_UCS4 c;
  326|  26.1k|    Py_ssize_t i = start;
  327|  26.1k|    int field_name_is_empty;
  328|  26.1k|    int using_numeric_index;
  329|       |
  330|       |    /* find the part up until the first '.' or '[' */
  331|   184k|    while (i < end) {
  ------------------
  |  Branch (331:12): [True: 158k, False: 26.1k]
  ------------------
  332|   158k|        switch (c = PyUnicode_READ_CHAR(str, i++)) {
  ------------------
  |  |  381|   158k|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|   158k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   158k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  333|      0|        case '[':
  ------------------
  |  Branch (333:9): [True: 0, False: 158k]
  ------------------
  334|      2|        case '.':
  ------------------
  |  Branch (334:9): [True: 2, False: 158k]
  ------------------
  335|       |            /* backup so that we this character is available to the
  336|       |               "rest" iterator */
  337|      2|            i--;
  338|      2|            break;
  339|   158k|        default:
  ------------------
  |  Branch (339:9): [True: 158k, False: 2]
  ------------------
  340|   158k|            continue;
  341|   158k|        }
  342|      2|        break;
  343|   158k|    }
  344|       |
  345|       |    /* set up the return values */
  346|  26.1k|    SubString_init(first, str, start, i);
  347|  26.1k|    FieldNameIterator_init(rest, str, i, end);
  348|       |
  349|       |    /* see if "first" is an integer, in which case it's used as an index */
  350|  26.1k|    *first_idx = get_integer(first);
  351|  26.1k|    if (*first_idx == -1 && PyErr_Occurred())
  ------------------
  |  Branch (351:9): [True: 25.9k, False: 184]
  |  Branch (351:29): [True: 0, False: 25.9k]
  ------------------
  352|      0|        return 0;
  353|       |
  354|  26.1k|    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|  26.1k|    using_numeric_index = field_name_is_empty || *first_idx != -1;
  ------------------
  |  Branch (358:27): [True: 4.16k, False: 22.0k]
  |  Branch (358:50): [True: 184, False: 21.8k]
  ------------------
  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|  26.1k|    if (auto_number) {
  ------------------
  |  Branch (368:9): [True: 26.1k, False: 0]
  ------------------
  369|       |        /* Initialize our auto numbering state if this is the first
  370|       |           time we're either auto-numbering or manually numbering. */
  371|  26.1k|        if (auto_number->an_state == ANS_INIT && using_numeric_index)
  ------------------
  |  Branch (371:13): [True: 25.8k, False: 358]
  |  Branch (371:50): [True: 3.99k, False: 21.8k]
  ------------------
  372|  3.99k|            auto_number->an_state = field_name_is_empty ?
  ------------------
  |  Branch (372:37): [True: 3.88k, False: 112]
  ------------------
  373|  3.88k|                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|  26.1k|        if (using_numeric_index)
  ------------------
  |  Branch (378:13): [True: 4.35k, False: 21.8k]
  ------------------
  379|  4.35k|            if (autonumber_state_error(auto_number->an_state,
  ------------------
  |  Branch (379:17): [True: 0, False: 4.35k]
  ------------------
  380|  4.35k|                                       field_name_is_empty))
  381|      0|                return 0;
  382|       |        /* Zero length field means we want to do auto-numbering of the
  383|       |           fields. */
  384|  26.1k|        if (field_name_is_empty)
  ------------------
  |  Branch (384:13): [True: 4.16k, False: 22.0k]
  ------------------
  385|  4.16k|            *first_idx = (auto_number->an_field_number)++;
  386|  26.1k|    }
  387|       |
  388|  26.1k|    return 1;
  389|  26.1k|}
unicodeobject.c:FieldNameIterator_init:
  207|  26.1k|{
  208|  26.1k|    SubString_init(&self->str, s, start, end);
  209|  26.1k|    self->index = start;
  210|  26.1k|    return 1;
  211|  26.1k|}
unicodeobject.c:get_integer:
  114|  26.1k|{
  115|  26.1k|    Py_ssize_t accumulator = 0;
  116|  26.1k|    Py_ssize_t digitval;
  117|  26.1k|    Py_ssize_t i;
  118|       |
  119|       |    /* empty string is an error */
  120|  26.1k|    if (str->start >= str->end)
  ------------------
  |  Branch (120:9): [True: 4.16k, False: 22.0k]
  ------------------
  121|  4.16k|        return -1;
  122|       |
  123|  22.1k|    for (i = str->start; i < str->end; i++) {
  ------------------
  |  Branch (123:26): [True: 22.0k, False: 184]
  ------------------
  124|  22.0k|        digitval = Py_UNICODE_TODECIMAL(PyUnicode_READ_CHAR(str->str, i));
  ------------------
  |  |  763|  22.0k|#define Py_UNICODE_TODECIMAL(ch) _PyUnicode_ToDecimalDigit(ch)
  ------------------
  125|  22.0k|        if (digitval < 0)
  ------------------
  |  Branch (125:13): [True: 21.8k, False: 184]
  ------------------
  126|  21.8k|            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|  22.0k|}
unicodeobject.c:autonumber_state_error:
   87|  4.35k|{
   88|  4.35k|    if (state == ANS_MANUAL) {
  ------------------
  |  Branch (88:9): [True: 184, False: 4.16k]
  ------------------
   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|  4.16k|    else {
   97|  4.16k|        if (!field_name_is_empty) {
  ------------------
  |  Branch (97:13): [True: 0, False: 4.16k]
  ------------------
   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|  4.16k|    }
  104|  4.35k|    return 0;
  105|  4.35k|}
unicodeobject.c:SubString_new_object:
   66|  21.8k|{
   67|  21.8k|    if (str->str == NULL)
  ------------------
  |  Branch (67:9): [True: 0, False: 21.8k]
  ------------------
   68|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
   69|  21.8k|    return PyUnicode_Substring(str->str, str->start, str->end);
   70|  21.8k|}
unicodeobject.c:FieldNameIterator_next:
  277|  26.1k|{
  278|       |    /* check at end of input */
  279|  26.1k|    if (self->index >= self->str.end)
  ------------------
  |  Branch (279:9): [True: 26.1k, False: 2]
  ------------------
  280|  26.1k|        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:render_field:
  502|  26.1k|{
  503|  26.1k|    int ok = 0;
  504|  26.1k|    PyObject *result = NULL;
  505|  26.1k|    PyObject *format_spec_object = NULL;
  506|  26.1k|    int (*formatter) (_PyUnicodeWriter*, PyObject *, PyObject *, Py_ssize_t, Py_ssize_t) = NULL;
  507|  26.1k|    int err;
  508|       |
  509|       |    /* If we know the type exactly, skip the lookup of __format__ and just
  510|       |       call the formatter directly. */
  511|  26.1k|    if (PyUnicode_CheckExact(fieldobj))
  ------------------
  |  |  104|  26.1k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  26.1k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  26.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  26.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 26.1k, False: 70]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  512|  26.1k|        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|  26.1k|    if (formatter) {
  ------------------
  |  Branch (520:9): [True: 26.1k, False: 4]
  ------------------
  521|       |        /* we know exactly which formatter will be called when __format__ is
  522|       |           looked up, so call it directly, instead. */
  523|  26.1k|        err = formatter(writer, fieldobj, format_spec->str,
  524|  26.1k|                        format_spec->start, format_spec->end);
  525|  26.1k|        return (err == 0);
  526|  26.1k|    }
  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|  38.0k|{
   67|  38.0k|    PyStructSequence *obj;
   68|  38.0k|    Py_ssize_t size = REAL_SIZE_TP(type), i;
  ------------------
  |  |   48|  38.0k|    get_type_attr_as_size(tp, &_Py_ID(n_fields))
  |  |  ------------------
  |  |  |  |  915|  38.0k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|  38.0k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|  38.0k|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   69|  38.0k|    if (size < 0) {
  ------------------
  |  Branch (69:9): [True: 0, False: 38.0k]
  ------------------
   70|      0|        return NULL;
   71|      0|    }
   72|  38.0k|    Py_ssize_t vsize = VISIBLE_SIZE_TP(type);
  ------------------
  |  |   46|  38.0k|    get_type_attr_as_size(tp, &_Py_ID(n_sequence_fields))
  |  |  ------------------
  |  |  |  |  915|  38.0k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|  38.0k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|  38.0k|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   73|  38.0k|    if (vsize < 0) {
  ------------------
  |  Branch (73:9): [True: 0, False: 38.0k]
  ------------------
   74|      0|        return NULL;
   75|      0|    }
   76|       |
   77|  38.0k|    obj = PyObject_GC_NewVar(PyStructSequence, type, size);
  ------------------
  |  |  183|  38.0k|    _Py_CAST(type*, _PyObject_GC_NewVar((typeobj), (n)))
  |  |  ------------------
  |  |  |  |   37|  38.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   78|  38.0k|    if (obj == NULL)
  ------------------
  |  Branch (78:9): [True: 0, False: 38.0k]
  ------------------
   79|      0|        return NULL;
   80|  38.0k|    _PyTuple_RESET_HASH_CACHE(obj);
  ------------------
  |  |   43|  38.0k|    do {                                    \
  |  |   44|  38.0k|        assert(op != NULL);                 \
  |  |   45|  38.0k|        _PyTuple_CAST(op)->ob_hash = -1;    \
  |  |  ------------------
  |  |  |  |   19|  38.0k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  38.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   46|  38.0k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (46:14): [Folded, False: 38.0k]
  |  |  ------------------
  ------------------
   81|       |    /* Hack the size of the variable object, so invisible fields don't appear
   82|       |     to Python code. */
   83|  38.0k|    Py_SET_SIZE(obj, vsize);
  ------------------
  |  |  216|  38.0k|#  define Py_SET_SIZE(ob, size) _Py_SET_SIZE_impl(_PyVarObject_CAST(ob), (size))
  |  |  ------------------
  |  |  |  |  182|  38.0k|#define _PyVarObject_CAST(op) _Py_CAST(PyVarObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  38.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   84|   665k|    for (i = 0; i < size; i++)
  ------------------
  |  Branch (84:17): [True: 627k, False: 38.0k]
  ------------------
   85|   627k|        obj->ob_item[i] = NULL;
   86|       |
   87|  38.0k|    return (PyObject*)obj;
   88|  38.0k|}
PyStructSequence_SetItem:
   92|   497k|{
   93|   497k|    PyTupleObject *tuple = _PyTuple_CAST(op);
  ------------------
  |  |   19|   497k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   497k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   94|   497k|    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|   497k|    tuple->ob_item[index] = value;
  101|   497k|}
PyStructSequence_GetItem:
  105|    280|{
  106|    280|    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|    280|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    280|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    280|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  113|    280|}
_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|   111k|{
   30|   111k|    PyObject *v = PyDict_GetItemWithError(_PyType_GetDict(tp), name);
   31|       |
   32|   111k|    if (v == NULL) {
  ------------------
  |  Branch (32:9): [True: 0, False: 111k]
  ------------------
   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|   111k|    return PyLong_AsSsize_t(v);
   42|   111k|}
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|  38.0k|{
  134|  38.0k|    PyStructSequence *obj = (PyStructSequence *)op;
  135|  38.0k|    Py_ssize_t i, size;
  136|  38.0k|    PyObject_GC_UnTrack(obj);
  137|       |
  138|  38.0k|    PyTypeObject *tp = Py_TYPE(obj);
  ------------------
  |  |  213|  38.0k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  38.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  38.0k|#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|  38.0k|    size = REAL_SIZE(obj);
  ------------------
  |  |   49|  38.0k|#define REAL_SIZE(op) get_real_size((PyObject *)op)
  ------------------
  143|   665k|    for (i = 0; i < size; ++i) {
  ------------------
  |  Branch (143:17): [True: 627k, False: 38.0k]
  ------------------
  144|   627k|        Py_XDECREF(obj->ob_item[i]);
  ------------------
  |  |  524|   627k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   627k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   627k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  145|   627k|    }
  146|  38.0k|    PyObject_GC_Del(obj);
  147|  38.0k|    if (_PyType_HasFeature(tp, Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|  38.0k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (147:9): [True: 38.0k, False: 0]
  ------------------
  148|  38.0k|        Py_DECREF(tp);
  ------------------
  |  |  430|  38.0k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  38.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  38.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  149|  38.0k|    }
  150|  38.0k|}
structseq.c:get_real_size:
   57|  38.0k|{
   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|  38.0k|    Py_ssize_t hidden = Py_TYPE(op)->tp_basicsize - offsetof(PyStructSequence, ob_item);
  ------------------
  |  |  213|  38.0k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  38.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  38.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   61|  38.0k|    return Py_SIZE(op) + hidden / sizeof(PyObject *);
  ------------------
  |  |  214|  38.0k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  38.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  38.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   62|  38.0k|}
structseq.c:structseq_new_impl:
  169|  11.8k|{
  170|  11.8k|    PyStructSequence *res = NULL;
  171|  11.8k|    Py_ssize_t len, min_len, max_len, i, n_unnamed_fields;
  172|       |
  173|  11.8k|    min_len = VISIBLE_SIZE_TP(type);
  ------------------
  |  |   46|  11.8k|    get_type_attr_as_size(tp, &_Py_ID(n_sequence_fields))
  |  |  ------------------
  |  |  |  |  915|  11.8k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|  11.8k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|  11.8k|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  174|  11.8k|    if (min_len < 0) {
  ------------------
  |  Branch (174:9): [True: 0, False: 11.8k]
  ------------------
  175|      0|        return NULL;
  176|      0|    }
  177|  11.8k|    max_len = REAL_SIZE_TP(type);
  ------------------
  |  |   48|  11.8k|    get_type_attr_as_size(tp, &_Py_ID(n_fields))
  |  |  ------------------
  |  |  |  |  915|  11.8k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|  11.8k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|  11.8k|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  178|  11.8k|    if (max_len < 0) {
  ------------------
  |  Branch (178:9): [True: 0, False: 11.8k]
  ------------------
  179|      0|        return NULL;
  180|      0|    }
  181|  11.8k|    n_unnamed_fields = UNNAMED_FIELDS_TP(type);
  ------------------
  |  |   52|  11.8k|    get_type_attr_as_size(tp, &_Py_ID(n_unnamed_fields))
  |  |  ------------------
  |  |  |  |  915|  11.8k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|  11.8k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|  11.8k|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  182|  11.8k|    if (n_unnamed_fields < 0) {
  ------------------
  |  Branch (182:9): [True: 0, False: 11.8k]
  ------------------
  183|      0|        return NULL;
  184|      0|    }
  185|       |
  186|  11.8k|    arg = PySequence_Fast(arg, "constructor requires a sequence");
  187|       |
  188|  11.8k|    if (!arg) {
  ------------------
  |  Branch (188:9): [True: 0, False: 11.8k]
  ------------------
  189|      0|        return NULL;
  190|      0|    }
  191|       |
  192|  11.8k|    if (dict && !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 (192:9): [True: 0, False: 11.8k]
  |  Branch (192:17): [True: 0, False: 0]
  ------------------
  193|      0|        PyErr_Format(PyExc_TypeError,
  194|      0|                     "%.500s() takes a dict as second arg, if any",
  195|      0|                     type->tp_name);
  196|      0|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  197|      0|        return NULL;
  198|      0|    }
  199|       |
  200|  11.8k|    len = PySequence_Fast_GET_SIZE(arg);
  ------------------
  |  |   92|  11.8k|    (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   25|  11.8k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  11.8k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 0, False: 11.8k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (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|  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  201|  11.8k|    if (min_len != max_len) {
  ------------------
  |  Branch (201:9): [True: 11.8k, False: 0]
  ------------------
  202|  11.8k|        if (len < min_len) {
  ------------------
  |  Branch (202:13): [True: 0, False: 11.8k]
  ------------------
  203|      0|            PyErr_Format(PyExc_TypeError,
  204|      0|                "%.500s() takes an at least %zd-sequence (%zd-sequence given)",
  205|      0|                type->tp_name, min_len, len);
  206|      0|            Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  207|      0|            return NULL;
  208|      0|        }
  209|       |
  210|  11.8k|        if (len > max_len) {
  ------------------
  |  Branch (210:13): [True: 0, False: 11.8k]
  ------------------
  211|      0|            PyErr_Format(PyExc_TypeError,
  212|      0|                "%.500s() takes an at most %zd-sequence (%zd-sequence given)",
  213|      0|                type->tp_name, max_len, len);
  214|      0|            Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  215|      0|            return NULL;
  216|      0|        }
  217|  11.8k|    }
  218|      0|    else {
  219|      0|        if (len != min_len) {
  ------------------
  |  Branch (219:13): [True: 0, False: 0]
  ------------------
  220|      0|            PyErr_Format(PyExc_TypeError,
  221|      0|                         "%.500s() takes a %zd-sequence (%zd-sequence given)",
  222|      0|                         type->tp_name, min_len, len);
  223|      0|            Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  224|      0|            return NULL;
  225|      0|        }
  226|      0|    }
  227|       |
  228|  11.8k|    res = (PyStructSequence*) PyStructSequence_New(type);
  229|  11.8k|    if (res == NULL) {
  ------------------
  |  Branch (229:9): [True: 0, False: 11.8k]
  ------------------
  230|      0|        Py_DECREF(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  231|      0|        return NULL;
  232|      0|    }
  233|   118k|    for (i = 0; i < len; ++i) {
  ------------------
  |  Branch (233:17): [True: 106k, False: 11.8k]
  ------------------
  234|   106k|        PyObject *v = PySequence_Fast_GET_ITEM(arg, i);
  ------------------
  |  |   97|   106k|     (PyList_Check(o) ? PyList_GET_ITEM((o), (i)) : PyTuple_GET_ITEM((o), (i)))
  |  |  ------------------
  |  |  |  |   25|   106k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|   106k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 0, False: 106k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                    (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|   106k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   19|   106k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   106k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  235|   106k|        res->ob_item[i] = Py_NewRef(v);
  ------------------
  |  |  550|   106k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   106k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   106k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  236|   106k|    }
  237|  11.8k|    Py_DECREF(arg);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  238|  11.8k|    if (dict != NULL && PyDict_GET_SIZE(dict) > 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 (238:9): [True: 0, False: 11.8k]
  |  Branch (238:25): [True: 0, False: 0]
  ------------------
  239|      0|        Py_ssize_t n_found_keys = 0;
  240|      0|        for (i = len; i < max_len; ++i) {
  ------------------
  |  Branch (240:23): [True: 0, False: 0]
  ------------------
  241|      0|            PyObject *ob = NULL;
  242|      0|            const char *name = type->tp_members[i - n_unnamed_fields].name;
  243|      0|            if (PyDict_GetItemStringRef(dict, name, &ob) < 0) {
  ------------------
  |  Branch (243:17): [True: 0, False: 0]
  ------------------
  244|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  245|      0|                return NULL;
  246|      0|            }
  247|      0|            if (ob == NULL) {
  ------------------
  |  Branch (247:17): [True: 0, False: 0]
  ------------------
  248|      0|                ob = 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  249|      0|            }
  250|      0|            else {
  251|      0|                ++n_found_keys;
  252|      0|            }
  253|      0|            res->ob_item[i] = ob;
  254|      0|        }
  255|      0|        if (PyDict_GET_SIZE(dict) > n_found_keys) {
  ------------------
  |  |   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 (255:13): [True: 0, False: 0]
  ------------------
  256|      0|            PyErr_Format(PyExc_TypeError,
  257|      0|                         "%.500s() got duplicate or unexpected field name(s)",
  258|      0|                         type->tp_name);
  259|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  260|      0|            return NULL;
  261|      0|        }
  262|  11.8k|    } else {
  263|  35.4k|        for (i = len; i < max_len; ++i) {
  ------------------
  |  Branch (263:23): [True: 23.6k, False: 11.8k]
  ------------------
  264|  23.6k|            res->ob_item[i] = Py_NewRef(Py_None);
  ------------------
  |  |  550|  23.6k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  23.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  23.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  265|  23.6k|        }
  266|  11.8k|    }
  267|       |
  268|  11.8k|    _PyObject_GC_TRACK(res);
  ------------------
  |  |  508|  11.8k|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  269|  11.8k|    return (PyObject*) res;
  270|  11.8k|}

_PyTemplate_Build:
  402|      4|{
  403|      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))
  |  |  ------------------
  ------------------
  404|      4|    if (template == NULL) {
  ------------------
  |  Branch (404:9): [True: 0, False: 4]
  ------------------
  405|      0|        return NULL;
  406|      0|    }
  407|       |
  408|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  409|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  410|      4|    PyObject_GC_Track(template);
  411|      4|    return (PyObject *) template;
  412|      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|  4.03M|{
   77|  4.03M|    PyTupleObject *op;
   78|  4.03M|    if (size == 0) {
  ------------------
  |  Branch (78:9): [True: 1.06M, False: 2.96M]
  ------------------
   79|  1.06M|        return tuple_get_empty();
   80|  1.06M|    }
   81|  2.96M|    op = tuple_alloc(size);
   82|  2.96M|    if (op == NULL) {
  ------------------
  |  Branch (82:9): [True: 0, False: 2.96M]
  ------------------
   83|      0|        return NULL;
   84|      0|    }
   85|  15.0M|    for (Py_ssize_t i = 0; i < size; i++) {
  ------------------
  |  Branch (85:28): [True: 12.0M, False: 2.96M]
  ------------------
   86|  12.0M|        op->ob_item[i] = NULL;
   87|  12.0M|    }
   88|  2.96M|    _PyObject_GC_TRACK(op);
  ------------------
  |  |  508|  2.96M|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.96M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.96M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   89|  2.96M|    return (PyObject *) op;
   90|  2.96M|}
PyTuple_Size:
   94|  3.54k|{
   95|  3.54k|    if (!PyTuple_Check(op)) {
  ------------------
  |  |   27|  3.54k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  3.54k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (95:9): [True: 0, False: 3.54k]
  ------------------
   96|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
   97|      0|        return -1;
   98|      0|    }
   99|  3.54k|    else
  100|  3.54k|        return Py_SIZE(op);
  ------------------
  |  |  214|  3.54k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.54k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.54k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  101|  3.54k|}
PyTuple_GetItem:
  105|  6.84k|{
  106|  6.84k|    if (!PyTuple_Check(op)) {
  ------------------
  |  |   27|  6.84k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  6.84k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (106:9): [True: 0, False: 6.84k]
  ------------------
  107|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  108|      0|        return NULL;
  109|      0|    }
  110|  6.84k|    if (i < 0 || i >= Py_SIZE(op)) {
  ------------------
  |  |  214|  6.84k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  6.84k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.84k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (110:9): [True: 0, False: 6.84k]
  |  Branch (110:18): [True: 0, False: 6.84k]
  ------------------
  111|      0|        PyErr_SetString(PyExc_IndexError, "tuple index out of range");
  112|      0|        return NULL;
  113|      0|    }
  114|  6.84k|    return ((PyTupleObject *)op) -> ob_item[i];
  115|  6.84k|}
PyTuple_SetItem:
  119|  3.43k|{
  120|  3.43k|    PyObject **p;
  121|  3.43k|    if (!PyTuple_Check(op) || !_PyObject_IsUniquelyReferenced(op)) {
  ------------------
  |  |   27|  3.43k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  6.87k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (121:9): [True: 0, False: 3.43k]
  |  Branch (121:31): [True: 0, False: 3.43k]
  ------------------
  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.43k|    if (i < 0 || i >= Py_SIZE(op)) {
  ------------------
  |  |  214|  3.43k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (126:9): [True: 0, False: 3.43k]
  |  Branch (126:18): [True: 0, False: 3.43k]
  ------------------
  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.43k|    p = ((PyTupleObject *)op) -> ob_item + i;
  133|  3.43k|    Py_XSETREF(*p, newitem);
  ------------------
  |  |  374|  3.43k|    do { \
  |  |  375|  3.43k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  3.43k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|  3.43k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  3.43k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|  3.43k|        *_tmp_dst_ptr = (src); \
  |  |  378|  3.43k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  3.43k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|  3.43k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 3.43k]
  |  |  ------------------
  ------------------
  134|  3.43k|    return 0;
  135|  3.43k|}
_PyTuple_MaybeUntrack:
  139|   132k|{
  140|   132k|    PyTupleObject *t;
  141|   132k|    Py_ssize_t i, n;
  142|       |
  143|   132k|    if (!PyTuple_CheckExact(op) || !_PyObject_GC_IS_TRACKED(op))
  ------------------
  |  |   28|   132k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|   265k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   132k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   132k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (!PyTuple_CheckExact(op) || !_PyObject_GC_IS_TRACKED(op))
  ------------------
  |  |   81|   132k|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|   132k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (143:9): [True: 0, False: 132k]
  |  Branch (143:36): [True: 0, False: 132k]
  ------------------
  144|      0|        return;
  145|   132k|    t = (PyTupleObject *) op;
  146|   132k|    n = Py_SIZE(t);
  ------------------
  |  |  214|   132k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   132k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   132k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  147|  2.19M|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (147:17): [True: 2.13M, False: 66.8k]
  ------------------
  148|  2.13M|        PyObject *elt = PyTuple_GET_ITEM(t, i);
  ------------------
  |  |   29|  2.13M|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  2.13M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.13M|#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.13M|        if (!elt ||
  ------------------
  |  Branch (152:13): [True: 0, False: 2.13M]
  ------------------
  153|  2.13M|            _PyObject_GC_MAY_BE_TRACKED(elt))
  ------------------
  |  Branch (153:13): [True: 65.8k, False: 2.06M]
  ------------------
  154|  65.8k|            return;
  155|  2.13M|    }
  156|  66.8k|    _PyObject_GC_UNTRACK(op);
  ------------------
  |  |  510|  66.8k|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  66.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  66.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  157|  66.8k|}
PyTuple_Pack:
  173|  5.95k|{
  174|  5.95k|    Py_ssize_t i;
  175|  5.95k|    PyObject *o;
  176|  5.95k|    PyObject **items;
  177|  5.95k|    va_list vargs;
  178|  5.95k|    bool track = false;
  179|       |
  180|  5.95k|    if (n == 0) {
  ------------------
  |  Branch (180:9): [True: 0, False: 5.95k]
  ------------------
  181|      0|        return tuple_get_empty();
  182|      0|    }
  183|       |
  184|  5.95k|    va_start(vargs, n);
  185|  5.95k|    PyTupleObject *result = tuple_alloc(n);
  186|  5.95k|    if (result == NULL) {
  ------------------
  |  Branch (186:9): [True: 0, False: 5.95k]
  ------------------
  187|      0|        va_end(vargs);
  188|      0|        return NULL;
  189|      0|    }
  190|  5.95k|    items = result->ob_item;
  191|  20.7k|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (191:17): [True: 14.8k, False: 5.95k]
  ------------------
  192|  14.8k|        o = va_arg(vargs, PyObject *);
  193|  14.8k|        if (!track && maybe_tracked(o)) {
  ------------------
  |  Branch (193:13): [True: 10.4k, False: 4.33k]
  |  Branch (193:23): [True: 5.83k, False: 4.65k]
  ------------------
  194|  5.83k|            track = true;
  195|  5.83k|        }
  196|  14.8k|        items[i] = Py_NewRef(o);
  ------------------
  |  |  550|  14.8k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  14.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  197|  14.8k|    }
  198|  5.95k|    va_end(vargs);
  199|  5.95k|    if (track) {
  ------------------
  |  Branch (199:9): [True: 5.83k, False: 115]
  ------------------
  200|  5.83k|        _PyObject_GC_TRACK(result);
  ------------------
  |  |  508|  5.83k|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.83k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.83k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  201|  5.83k|    }
  202|  5.95k|    return (PyObject *)result;
  203|  5.95k|}
_PyTuple_FromPair:
  207|  44.9k|{
  208|  44.9k|    assert(first != NULL);
  209|  44.9k|    assert(second != NULL);
  210|       |
  211|  44.9k|    return _PyTuple_FromPairSteal(Py_NewRef(first), Py_NewRef(second));
  ------------------
  |  |  550|  44.9k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  44.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  44.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  return _PyTuple_FromPairSteal(Py_NewRef(first), Py_NewRef(second));
  ------------------
  |  |  550|  44.9k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  44.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  44.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  212|  44.9k|}
_PyTuple_FromPairSteal:
  216|   395k|{
  217|   395k|    assert(first != NULL);
  218|   395k|    assert(second != NULL);
  219|       |
  220|   395k|    PyTupleObject *op = tuple_alloc(2);
  221|   395k|    if (op == NULL) {
  ------------------
  |  Branch (221:9): [True: 0, False: 395k]
  ------------------
  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|   395k|    PyObject **items = op->ob_item;
  227|   395k|    items[0] = first;
  228|   395k|    items[1] = second;
  229|   395k|    if (maybe_tracked(first) || maybe_tracked(second)) {
  ------------------
  |  Branch (229:9): [True: 17.7k, False: 378k]
  |  Branch (229:33): [True: 29.9k, False: 348k]
  ------------------
  230|  47.7k|        _PyObject_GC_TRACK(op);
  ------------------
  |  |  508|  47.7k|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  47.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  47.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  231|  47.7k|    }
  232|   395k|    return (PyObject *)op;
  233|   395k|}
PyTuple_FromArray:
  434|  21.9M|{
  435|  21.9M|    if (n == 0) {
  ------------------
  |  Branch (435:9): [True: 424k, False: 21.5M]
  ------------------
  436|   424k|        return tuple_get_empty();
  437|   424k|    }
  438|       |
  439|  21.5M|    PyTupleObject *tuple = tuple_alloc(n);
  440|  21.5M|    if (tuple == NULL) {
  ------------------
  |  Branch (440:9): [True: 0, False: 21.5M]
  ------------------
  441|      0|        return NULL;
  442|      0|    }
  443|  21.5M|    PyObject **dst = tuple->ob_item;
  444|  21.5M|    bool track = false;
  445|  47.3M|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (445:28): [True: 25.7M, False: 21.5M]
  ------------------
  446|  25.7M|        PyObject *item = src[i];
  447|  25.7M|        if (!track && maybe_tracked(item)) {
  ------------------
  |  Branch (447:13): [True: 24.0M, False: 1.77M]
  |  Branch (447:23): [True: 1.05M, False: 22.9M]
  ------------------
  448|  1.05M|            track = true;
  449|  1.05M|        }
  450|  25.7M|        dst[i] = Py_NewRef(item);
  ------------------
  |  |  550|  25.7M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  25.7M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  25.7M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  451|  25.7M|    }
  452|  21.5M|    if (track) {
  ------------------
  |  Branch (452:9): [True: 1.05M, False: 20.4M]
  ------------------
  453|  1.05M|        _PyObject_GC_TRACK(tuple);
  ------------------
  |  |  508|  1.05M|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.05M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.05M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  454|  1.05M|    }
  455|  21.5M|    return (PyObject *)tuple;
  456|  21.5M|}
_PyTuple_FromStackRefStealOnSuccess:
  460|  8.33M|{
  461|  8.33M|    if (n == 0) {
  ------------------
  |  Branch (461:9): [True: 0, False: 8.33M]
  ------------------
  462|      0|        return tuple_get_empty();
  463|      0|    }
  464|  8.33M|    PyTupleObject *tuple = tuple_alloc(n);
  465|  8.33M|    if (tuple == NULL) {
  ------------------
  |  Branch (465:9): [True: 0, False: 8.33M]
  ------------------
  466|      0|        return NULL;
  467|      0|    }
  468|  8.33M|    PyObject **dst = tuple->ob_item;
  469|  8.33M|    bool track = false;
  470|  24.6M|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (470:28): [True: 16.3M, False: 8.33M]
  ------------------
  471|  16.3M|        PyObject *item = PyStackRef_AsPyObjectSteal(src[i]);
  472|  16.3M|        if (!track && maybe_tracked(item)) {
  ------------------
  |  Branch (472:13): [True: 12.8M, False: 3.55M]
  |  Branch (472:23): [True: 4.33M, False: 8.47M]
  ------------------
  473|  4.33M|            track = true;
  474|  4.33M|        }
  475|  16.3M|        dst[i] = item;
  476|  16.3M|    }
  477|  8.33M|    if (track) {
  ------------------
  |  Branch (477:9): [True: 4.33M, False: 4.00M]
  ------------------
  478|  4.33M|        _PyObject_GC_TRACK(tuple);
  ------------------
  |  |  508|  4.33M|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.33M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.33M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  479|  4.33M|    }
  480|  8.33M|    return (PyObject *)tuple;
  481|  8.33M|}
_PyTuple_FromArraySteal:
  485|  13.4k|{
  486|  13.4k|    if (n == 0) {
  ------------------
  |  Branch (486:9): [True: 4, False: 13.4k]
  ------------------
  487|      4|        return tuple_get_empty();
  488|      4|    }
  489|  13.4k|    PyTupleObject *tuple = tuple_alloc(n);
  490|  13.4k|    if (tuple == NULL) {
  ------------------
  |  Branch (490:9): [True: 0, False: 13.4k]
  ------------------
  491|      0|        for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (491:32): [True: 0, False: 0]
  ------------------
  492|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  493|      0|        }
  494|      0|        return NULL;
  495|      0|    }
  496|  13.4k|    PyObject **dst = tuple->ob_item;
  497|  68.3k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (497:28): [True: 54.8k, False: 13.4k]
  ------------------
  498|  54.8k|        PyObject *item = src[i];
  499|  54.8k|        dst[i] = item;
  500|  54.8k|    }
  501|  13.4k|    _PyObject_GC_TRACK(tuple);
  ------------------
  |  |  508|  13.4k|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  13.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  502|  13.4k|    return (PyObject *)tuple;
  503|  13.4k|}
_PyTuple_BinarySlice:
  523|  28.9k|{
  524|  28.9k|    assert(PyTuple_CheckExact(container));
  525|  28.9k|    Py_ssize_t len = Py_SIZE(container);
  ------------------
  |  |  214|  28.9k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  28.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  28.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  526|  28.9k|    Py_ssize_t istart, istop;
  527|  28.9k|    if (!_PyEval_UnpackIndices(start, stop, len, &istart, &istop)) {
  ------------------
  |  Branch (527:9): [True: 0, False: 28.9k]
  ------------------
  528|      0|        return NULL;
  529|      0|    }
  530|  28.9k|    if (istart == 0 && istop == len) {
  ------------------
  |  Branch (530:9): [True: 21.7k, False: 7.12k]
  |  Branch (530:24): [True: 10.9k, False: 10.8k]
  ------------------
  531|  10.9k|        return Py_NewRef(container);
  ------------------
  |  |  550|  10.9k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  10.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  532|  10.9k|    }
  533|  17.9k|    if (istop < istart) {
  ------------------
  |  Branch (533:9): [True: 0, False: 17.9k]
  ------------------
  534|      0|        istop = istart;
  535|      0|    }
  536|  17.9k|    return PyTuple_FromArray(((PyTupleObject *)container)->ob_item + istart,
  537|  17.9k|                             istop - istart);
  538|  28.9k|}
PyTuple_GetSlice:
  542|  66.3k|{
  543|  66.3k|    if (op == NULL || !PyTuple_Check(op)) {
  ------------------
  |  |   27|  66.3k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  66.3k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (543:9): [True: 0, False: 66.3k]
  |  Branch (543:23): [True: 0, False: 66.3k]
  ------------------
  544|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  545|      0|        return NULL;
  546|      0|    }
  547|  66.3k|    return tuple_slice((PyTupleObject *)op, i, j);
  548|  66.3k|}
_PyTuple_Concat:
  552|  90.8k|{
  553|  90.8k|    PyTupleObject *a = _PyTuple_CAST(aa);
  ------------------
  |  |   19|  90.8k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  90.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  554|  90.8k|    if (Py_SIZE(a) == 0 && PyTuple_CheckExact(bb)) {
  ------------------
  |  |  214|  90.8k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  90.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  90.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (Py_SIZE(a) == 0 && PyTuple_CheckExact(bb)) {
  ------------------
  |  |   28|  3.46k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  3.46k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.46k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 3.46k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (554:9): [True: 3.46k, False: 87.3k]
  ------------------
  555|  3.46k|        return Py_NewRef(bb);
  ------------------
  |  |  550|  3.46k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  3.46k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  556|  3.46k|    }
  557|  87.3k|    if (!PyTuple_Check(bb)) {
  ------------------
  |  |   27|  87.3k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  87.3k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (557:9): [True: 0, False: 87.3k]
  ------------------
  558|      0|        PyErr_Format(PyExc_TypeError,
  559|      0|             "can only concatenate tuple (not \"%.200s\") to tuple",
  560|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  561|      0|        return NULL;
  562|      0|    }
  563|  87.3k|    PyTupleObject *b = (PyTupleObject *)bb;
  564|       |
  565|  87.3k|    if (Py_SIZE(b) == 0 && PyTuple_CheckExact(a)) {
  ------------------
  |  |  214|  87.3k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  87.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  87.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (Py_SIZE(b) == 0 && PyTuple_CheckExact(a)) {
  ------------------
  |  |   28|     18|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_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 (215:32): [True: 18, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (565:9): [True: 18, False: 87.3k]
  ------------------
  566|     18|        return Py_NewRef(a);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  567|     18|    }
  568|  87.3k|    assert((size_t)Py_SIZE(a) + (size_t)Py_SIZE(b) < PY_SSIZE_T_MAX);
  569|  87.3k|    Py_ssize_t size = Py_SIZE(a) + Py_SIZE(b);
  ------------------
  |  |  214|  87.3k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  87.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  87.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  Py_ssize_t size = Py_SIZE(a) + Py_SIZE(b);
  ------------------
  |  |  214|  87.3k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  87.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  87.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  570|  87.3k|    if (size == 0) {
  ------------------
  |  Branch (570:9): [True: 0, False: 87.3k]
  ------------------
  571|      0|        return tuple_get_empty();
  572|      0|    }
  573|       |
  574|  87.3k|    PyTupleObject *np = tuple_alloc(size);
  575|  87.3k|    if (np == NULL) {
  ------------------
  |  Branch (575:9): [True: 0, False: 87.3k]
  ------------------
  576|      0|        return NULL;
  577|      0|    }
  578|       |
  579|  87.3k|    PyObject **src = a->ob_item;
  580|  87.3k|    PyObject **dest = np->ob_item;
  581|  6.95M|    for (Py_ssize_t i = 0; i < Py_SIZE(a); i++) {
  ------------------
  |  |  214|  6.95M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  6.95M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.95M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (581:28): [True: 6.86M, False: 87.3k]
  ------------------
  582|  6.86M|        PyObject *v = src[i];
  583|  6.86M|        dest[i] = Py_NewRef(v);
  ------------------
  |  |  550|  6.86M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  6.86M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.86M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  584|  6.86M|    }
  585|       |
  586|  87.3k|    src = b->ob_item;
  587|  87.3k|    dest = np->ob_item + Py_SIZE(a);
  ------------------
  |  |  214|  87.3k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  87.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  87.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  588|  1.30M|    for (Py_ssize_t i = 0; i < Py_SIZE(b); i++) {
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (588:28): [True: 1.21M, False: 87.3k]
  ------------------
  589|  1.21M|        PyObject *v = src[i];
  590|  1.21M|        dest[i] = Py_NewRef(v);
  ------------------
  |  |  550|  1.21M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.21M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.21M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  591|  1.21M|    }
  592|       |
  593|  87.3k|    _PyObject_GC_TRACK(np);
  ------------------
  |  |  508|  87.3k|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  87.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  87.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  594|  87.3k|    return (PyObject *)np;
  595|  87.3k|}
_PyTuple_Resize:
 1026|     78|{
 1027|     78|    PyTupleObject *v;
 1028|     78|    PyTupleObject *sv;
 1029|     78|    Py_ssize_t i;
 1030|     78|    Py_ssize_t oldsize;
 1031|       |
 1032|     78|    v = (PyTupleObject *) *pv;
 1033|     78|    if (v == NULL || !Py_IS_TYPE(v, &PyTuple_Type) ||
  ------------------
  |  |  215|    156|#  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 (1033:9): [True: 0, False: 78]
  |  Branch (1033:22): [True: 0, False: 78]
  ------------------
 1034|     78|        (Py_SIZE(v) != 0 && !_PyObject_IsUniquelyReferenced(*pv))) {
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1034:10): [True: 78, False: 0]
  |  Branch (1034:29): [True: 0, False: 78]
  ------------------
 1035|      0|        *pv = 0;
 1036|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1037|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1038|      0|        return -1;
 1039|      0|    }
 1040|       |
 1041|     78|    oldsize = Py_SIZE(v);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1042|     78|    if (oldsize == newsize) {
  ------------------
  |  Branch (1042:9): [True: 38, False: 40]
  ------------------
 1043|     38|        return 0;
 1044|     38|    }
 1045|     40|    if (newsize == 0) {
  ------------------
  |  Branch (1045:9): [True: 36, False: 4]
  ------------------
 1046|     36|        Py_DECREF(v);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1047|     36|        *pv = tuple_get_empty();
 1048|     36|        return 0;
 1049|     36|    }
 1050|      4|    if (oldsize == 0) {
  ------------------
  |  Branch (1050:9): [True: 0, False: 4]
  ------------------
 1051|       |#ifdef Py_DEBUG
 1052|       |        assert(v == &_Py_SINGLETON(tuple_empty));
 1053|       |#endif
 1054|       |        /* The empty tuple is statically allocated so we never
 1055|       |           resize it in-place. */
 1056|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1057|      0|        *pv = PyTuple_New(newsize);
 1058|      0|        return *pv == NULL ? -1 : 0;
  ------------------
  |  Branch (1058:16): [True: 0, False: 0]
  ------------------
 1059|      0|    }
 1060|       |
 1061|      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]
  |  |  ------------------
  ------------------
 1062|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1063|      4|    }
 1064|       |#ifdef Py_TRACE_REFS
 1065|       |    _Py_ForgetReference((PyObject *) v);
 1066|       |#endif
 1067|       |    /* DECREF items deleted by shrinkage */
 1068|     12|    for (i = newsize; i < oldsize; i++) {
  ------------------
  |  Branch (1068:23): [True: 8, False: 4]
  ------------------
 1069|      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]
  |  |  ------------------
  ------------------
 1070|      8|    }
 1071|      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]
  |  |  ------------------
  ------------------
 1072|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1073|      4|    if (sv == NULL) {
  ------------------
  |  Branch (1073:9): [True: 0, False: 4]
  ------------------
 1074|      0|        *pv = NULL;
 1075|       |#ifdef Py_REF_DEBUG
 1076|       |        _Py_DecRefTotal(_PyThreadState_GET());
 1077|       |#endif
 1078|      0|        PyObject_GC_Del(v);
 1079|      0|        return -1;
 1080|      0|    }
 1081|      4|    _Py_NewReferenceNoTotal((PyObject *) sv);
 1082|       |    /* Zero out items added by growing */
 1083|      4|    if (newsize > oldsize)
  ------------------
  |  Branch (1083:9): [True: 0, False: 4]
  ------------------
 1084|      0|        memset(&sv->ob_item[oldsize], 0,
 1085|      0|               sizeof(*sv->ob_item) * (newsize - oldsize));
 1086|      4|    *pv = (PyObject *) sv;
 1087|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1088|      4|    return 0;
 1089|      4|}
tupleobject.c:tuple_get_empty:
   70|  1.50M|{
   71|  1.50M|    return (PyObject *)&_Py_SINGLETON(tuple_empty);
  ------------------
  |  |   18|  1.50M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|  1.50M|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
   72|  1.50M|}
tupleobject.c:tuple_alloc:
   38|  33.3M|{
   39|  33.3M|    if (size < 0) {
  ------------------
  |  Branch (39:9): [True: 0, False: 33.3M]
  ------------------
   40|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
   41|      0|        return NULL;
   42|      0|    }
   43|  33.3M|    assert(size != 0);    // The empty tuple is statically allocated.
   44|  33.3M|    Py_ssize_t index = size - 1;
   45|  33.3M|    if (index < PyTuple_MAXSAVESIZE) {
  ------------------
  |  |   11|  33.3M|#  define PyTuple_MAXSAVESIZE 20     // Largest tuple to save on freelist
  ------------------
  |  Branch (45:9): [True: 33.2M, False: 69.6k]
  ------------------
   46|  33.2M|        PyTupleObject *op = _Py_FREELIST_POP(PyTupleObject, tuples[index]);
  ------------------
  |  |   43|  33.2M|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  33.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   47|  33.2M|        if (op != NULL) {
  ------------------
  |  Branch (47:13): [True: 32.0M, False: 1.20M]
  ------------------
   48|  32.0M|            _PyTuple_RESET_HASH_CACHE(op);
  ------------------
  |  |   43|  32.0M|    do {                                    \
  |  |   44|  32.0M|        assert(op != NULL);                 \
  |  |   45|  32.0M|        _PyTuple_CAST(op)->ob_hash = -1;    \
  |  |  ------------------
  |  |  |  |   19|  32.0M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  32.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   46|  32.0M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (46:14): [Folded, False: 32.0M]
  |  |  ------------------
  ------------------
   49|  32.0M|            return op;
   50|  32.0M|        }
   51|  33.2M|    }
   52|       |    /* Check for overflow */
   53|  1.27M|    if ((size_t)size > ((size_t)PY_SSIZE_T_MAX - (sizeof(PyTupleObject) -
  ------------------
  |  |  137|  1.27M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (53:9): [True: 0, False: 1.27M]
  ------------------
   54|  1.27M|                sizeof(PyObject *))) / sizeof(PyObject *)) {
   55|      0|        return (PyTupleObject *)PyErr_NoMemory();
   56|      0|    }
   57|  1.27M|    PyTupleObject *result = PyObject_GC_NewVar(PyTupleObject, &PyTuple_Type, size);
  ------------------
  |  |  183|  1.27M|    _Py_CAST(type*, _PyObject_GC_NewVar((typeobj), (n)))
  |  |  ------------------
  |  |  |  |   37|  1.27M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   58|  1.27M|    if (result != NULL) {
  ------------------
  |  Branch (58:9): [True: 1.27M, False: 0]
  ------------------
   59|       |        _PyTuple_RESET_HASH_CACHE(result);
  ------------------
  |  |   43|  1.27M|    do {                                    \
  |  |   44|  1.27M|        assert(op != NULL);                 \
  |  |   45|  1.27M|        _PyTuple_CAST(op)->ob_hash = -1;    \
  |  |  ------------------
  |  |  |  |   19|  1.27M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.27M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   46|  1.27M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (46:14): [Folded, False: 1.27M]
  |  |  ------------------
  ------------------
   60|  1.27M|    }
   61|  1.27M|    return result;
   62|  1.27M|}
tupleobject.c:maybe_tracked:
  167|  37.6M|{
  168|  37.6M|    return _PyType_IS_GC(Py_TYPE(ob));
  ------------------
  |  |  828|  37.6M|#define _PyType_IS_GC(t) _PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
  |  |  ------------------
  |  |  |  |  524|  37.6M|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  |  |  ------------------
  ------------------
  169|  37.6M|}
tupleobject.c:tuple_slice:
  508|  66.3k|{
  509|  66.3k|    if (ilow < 0)
  ------------------
  |  Branch (509:9): [True: 0, False: 66.3k]
  ------------------
  510|      0|        ilow = 0;
  511|  66.3k|    if (ihigh > Py_SIZE(a))
  ------------------
  |  |  214|  66.3k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  66.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  66.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (511:9): [True: 68, False: 66.3k]
  ------------------
  512|     68|        ihigh = Py_SIZE(a);
  ------------------
  |  |  214|     68|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     68|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     68|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  513|  66.3k|    if (ihigh < ilow)
  ------------------
  |  Branch (513:9): [True: 0, False: 66.3k]
  ------------------
  514|      0|        ihigh = ilow;
  515|  66.3k|    if (ilow == 0 && ihigh == Py_SIZE(a) && PyTuple_CheckExact(a)) {
  ------------------
  |  |  214|   107k|#  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  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 (515:9): [True: 41.2k, False: 25.1k]
  |  Branch (515:22): [True: 0, False: 41.2k]
  ------------------
  516|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  517|      0|    }
  518|  66.3k|    return PyTuple_FromArray(a->ob_item + ilow, ihigh - ilow);
  519|  66.3k|}
tupleobject.c:tuple_dealloc:
  256|  33.3M|{
  257|  33.3M|    PyTupleObject *op = _PyTuple_CAST(self);
  ------------------
  |  |   19|  33.3M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  33.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  258|  33.3M|    if (Py_SIZE(op) == 0) {
  ------------------
  |  |  214|  33.3M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  33.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  33.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (258:9): [True: 4, False: 33.3M]
  ------------------
  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|  33.3M|    PyObject_GC_UnTrack(op);
  274|       |
  275|  33.3M|    Py_ssize_t i = Py_SIZE(op);
  ------------------
  |  |  214|  33.3M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  33.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  33.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  276|  96.3M|    while (--i >= 0) {
  ------------------
  |  Branch (276:12): [True: 63.0M, False: 33.3M]
  ------------------
  277|  63.0M|        Py_XDECREF(op->ob_item[i]);
  ------------------
  |  |  524|  63.0M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  63.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  63.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  278|  63.0M|    }
  279|       |    // This will abort on the empty singleton (if there is one).
  280|  33.3M|    if (!maybe_freelist_push(op)) {
  ------------------
  |  Branch (280:9): [True: 1.23M, False: 32.0M]
  ------------------
  281|  1.23M|        Py_TYPE(op)->tp_free((PyObject *)op);
  ------------------
  |  |  213|  1.23M|#  define Py_TYPE(ob) _Py_TYPE_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  282|  1.23M|    }
  283|  33.3M|}
tupleobject.c:tuple_repr:
  287|  27.1k|{
  288|  27.1k|    PyTupleObject *v = _PyTuple_CAST(self);
  ------------------
  |  |   19|  27.1k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  27.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  289|  27.1k|    Py_ssize_t n = PyTuple_GET_SIZE(v);
  ------------------
  |  |   27|  27.1k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  27.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  290|  27.1k|    if (n == 0) {
  ------------------
  |  Branch (290:9): [True: 0, False: 27.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|  27.1k|    int res = Py_ReprEnter((PyObject *)v);
  299|  27.1k|    if (res != 0) {
  ------------------
  |  Branch (299:9): [True: 0, False: 27.1k]
  ------------------
  300|      0|        return res > 0 ? PyUnicode_FromString("(...)") : NULL;
  ------------------
  |  Branch (300:16): [True: 0, False: 0]
  ------------------
  301|      0|    }
  302|       |
  303|  27.1k|    Py_ssize_t prealloc;
  304|  27.1k|    if (n > 1) {
  ------------------
  |  Branch (304:9): [True: 13.5k, False: 13.5k]
  ------------------
  305|       |        // "(" + "1" + ", 2" * (len - 1) + ")"
  306|  13.5k|        prealloc = 1 + 1 + (2 + 1) * (n - 1) + 1;
  307|  13.5k|    }
  308|  13.5k|    else {
  309|       |        // "(1,)"
  310|  13.5k|        prealloc = 4;
  311|  13.5k|    }
  312|  27.1k|    PyUnicodeWriter *writer = PyUnicodeWriter_Create(prealloc);
  313|  27.1k|    if (writer == NULL) {
  ------------------
  |  Branch (313:9): [True: 0, False: 27.1k]
  ------------------
  314|      0|        goto error;
  315|      0|    }
  316|       |
  317|  27.1k|    if (PyUnicodeWriter_WriteChar(writer, '(') < 0) {
  ------------------
  |  Branch (317:9): [True: 0, False: 27.1k]
  ------------------
  318|      0|        goto error;
  319|      0|    }
  320|       |
  321|       |    /* Do repr() on each element. */
  322|  67.9k|    for (Py_ssize_t i = 0; i < n; ++i) {
  ------------------
  |  Branch (322:28): [True: 40.7k, False: 27.1k]
  ------------------
  323|  40.7k|        if (i > 0) {
  ------------------
  |  Branch (323:13): [True: 13.5k, False: 27.1k]
  ------------------
  324|  13.5k|            if (PyUnicodeWriter_WriteChar(writer, ',') < 0) {
  ------------------
  |  Branch (324:17): [True: 0, False: 13.5k]
  ------------------
  325|      0|                goto error;
  326|      0|            }
  327|  13.5k|            if (PyUnicodeWriter_WriteChar(writer, ' ') < 0) {
  ------------------
  |  Branch (327:17): [True: 0, False: 13.5k]
  ------------------
  328|      0|                goto error;
  329|      0|            }
  330|  13.5k|        }
  331|       |
  332|  40.7k|        if (PyUnicodeWriter_WriteRepr(writer, v->ob_item[i]) < 0) {
  ------------------
  |  Branch (332:13): [True: 0, False: 40.7k]
  ------------------
  333|      0|            goto error;
  334|      0|        }
  335|  40.7k|    }
  336|       |
  337|  27.1k|    if (n == 1) {
  ------------------
  |  Branch (337:9): [True: 13.5k, False: 13.5k]
  ------------------
  338|  13.5k|        if (PyUnicodeWriter_WriteChar(writer, ',') < 0) {
  ------------------
  |  Branch (338:13): [True: 0, False: 13.5k]
  ------------------
  339|      0|            goto error;
  340|      0|        }
  341|  13.5k|    }
  342|  27.1k|    if (PyUnicodeWriter_WriteChar(writer, ')') < 0) {
  ------------------
  |  Branch (342:9): [True: 0, False: 27.1k]
  ------------------
  343|      0|        goto error;
  344|      0|    }
  345|       |
  346|  27.1k|    Py_ReprLeave((PyObject *)v);
  347|  27.1k|    return PyUnicodeWriter_Finish(writer);
  348|       |
  349|      0|error:
  350|      0|    PyUnicodeWriter_Discard(writer);
  351|      0|    Py_ReprLeave((PyObject *)v);
  352|       |    return NULL;
  353|  27.1k|}
tupleobject.c:tuple_length:
  405|  4.83M|{
  406|  4.83M|    PyTupleObject *a = _PyTuple_CAST(self);
  ------------------
  |  |   19|  4.83M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  4.83M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  407|  4.83M|    return Py_SIZE(a);
  ------------------
  |  |  214|  4.83M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.83M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.83M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  408|  4.83M|}
tupleobject.c:tuple_item:
  423|  5.19k|{
  424|  5.19k|    PyTupleObject *a = _PyTuple_CAST(op);
  ------------------
  |  |   19|  5.19k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  5.19k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  425|  5.19k|    if (i < 0 || i >= Py_SIZE(a)) {
  ------------------
  |  |  214|  5.19k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.19k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.19k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (425:9): [True: 0, False: 5.19k]
  |  Branch (425:18): [True: 38, False: 5.15k]
  ------------------
  426|     38|        PyErr_SetString(PyExc_IndexError, "tuple index out of range");
  427|     38|        return NULL;
  428|     38|    }
  429|  5.15k|    return Py_NewRef(a->ob_item[i]);
  ------------------
  |  |  550|  5.15k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  5.15k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.15k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  430|  5.19k|}
tupleobject.c:tuple_contains:
  412|   115k|{
  413|   115k|    PyTupleObject *a = _PyTuple_CAST(self);
  ------------------
  |  |   19|   115k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   115k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  414|   115k|    int cmp = 0;
  415|  1.06M|    for (Py_ssize_t i = 0; cmp == 0 && i < Py_SIZE(a); ++i) {
  ------------------
  |  |  214|  1.03M|#  define Py_SIZE(ob) _Py_SIZE_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (415:28): [True: 1.03M, False: 25.5k]
  |  Branch (415:40): [True: 949k, False: 89.9k]
  ------------------
  416|   949k|        cmp = PyObject_RichCompareBool(PyTuple_GET_ITEM(a, i), el, Py_EQ);
  ------------------
  |  |   29|   949k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|   949k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   949k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      cmp = PyObject_RichCompareBool(PyTuple_GET_ITEM(a, i), el, Py_EQ);
  ------------------
  |  |  654|   949k|#define Py_EQ 2
  ------------------
  417|   949k|    }
  418|   115k|    return cmp;
  419|   115k|}
tupleobject.c:tuple_subscript:
  889|  23.1k|{
  890|  23.1k|    PyTupleObject *self = _PyTuple_CAST(op);
  ------------------
  |  |   19|  23.1k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  23.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  891|  23.1k|    if (_PyIndex_Check(item)) {
  ------------------
  |  Branch (891:9): [True: 585, False: 22.5k]
  ------------------
  892|    585|        Py_ssize_t i = PyNumber_AsSsize_t(item, PyExc_IndexError);
  893|    585|        if (i == -1 && PyErr_Occurred())
  ------------------
  |  Branch (893:13): [True: 392, False: 193]
  |  Branch (893:24): [True: 0, False: 392]
  ------------------
  894|      0|            return NULL;
  895|    585|        if (i < 0)
  ------------------
  |  Branch (895:13): [True: 392, False: 193]
  ------------------
  896|    392|            i += PyTuple_GET_SIZE(self);
  ------------------
  |  |   27|    392|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    392|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    392|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  897|    585|        return tuple_item(op, i);
  898|    585|    }
  899|  22.5k|    else if (PySlice_Check(item)) {
  ------------------
  |  |   22|  22.5k|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  ------------------
  |  |  |  |  215|  22.5k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  22.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  22.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 22.5k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  900|  22.5k|        Py_ssize_t start, stop, step, slicelength, i;
  901|  22.5k|        size_t cur;
  902|  22.5k|        PyObject* it;
  903|  22.5k|        PyObject **src, **dest;
  904|       |
  905|  22.5k|        if (PySlice_Unpack(item, &start, &stop, &step) < 0) {
  ------------------
  |  Branch (905:13): [True: 0, False: 22.5k]
  ------------------
  906|      0|            return NULL;
  907|      0|        }
  908|  22.5k|        slicelength = PySlice_AdjustIndices(PyTuple_GET_SIZE(self), &start,
  ------------------
  |  |   27|  22.5k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  22.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  22.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  909|  22.5k|                                            &stop, step);
  910|       |
  911|  22.5k|        if (slicelength <= 0) {
  ------------------
  |  Branch (911:13): [True: 10.4k, False: 12.0k]
  ------------------
  912|  10.4k|            return tuple_get_empty();
  913|  10.4k|        }
  914|  12.0k|        else if (start == 0 && step == 1 &&
  ------------------
  |  Branch (914:18): [True: 11.7k, False: 316]
  |  Branch (914:32): [True: 11.7k, False: 4]
  ------------------
  915|  11.7k|                 slicelength == PyTuple_GET_SIZE(self) &&
  ------------------
  |  |   27|  23.7k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (915:18): [True: 0, False: 11.7k]
  ------------------
  916|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  917|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  918|      0|        }
  919|  12.0k|        else {
  920|  12.0k|            PyTupleObject* result = tuple_alloc(slicelength);
  921|  12.0k|            if (!result) return NULL;
  ------------------
  |  Branch (921:17): [True: 0, False: 12.0k]
  ------------------
  922|       |
  923|  12.0k|            src = self->ob_item;
  924|  12.0k|            dest = result->ob_item;
  925|  83.5k|            for (cur = start, i = 0; i < slicelength;
  ------------------
  |  Branch (925:38): [True: 71.5k, False: 12.0k]
  ------------------
  926|  71.5k|                 cur += step, i++) {
  927|  71.5k|                it = Py_NewRef(src[cur]);
  ------------------
  |  |  550|  71.5k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  71.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  71.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  928|  71.5k|                dest[i] = it;
  929|  71.5k|            }
  930|       |
  931|  12.0k|            _PyObject_GC_TRACK(result);
  ------------------
  |  |  508|  12.0k|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  932|  12.0k|            return (PyObject *)result;
  933|  12.0k|        }
  934|  22.5k|    }
  935|      0|    else {
  936|      0|        PyErr_Format(PyExc_TypeError,
  937|      0|                     "tuple indices must be integers or slices, not %.200s",
  938|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  939|       |        return NULL;
  940|      0|    }
  941|  23.1k|}
tupleobject.c:tuple_hash:
  370|  4.76M|{
  371|  4.76M|    PyTupleObject *v = _PyTuple_CAST(op);
  ------------------
  |  |   19|  4.76M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  4.76M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  372|       |
  373|  4.76M|    Py_uhash_t acc = FT_ATOMIC_LOAD_SSIZE_RELAXED(v->ob_hash);
  ------------------
  |  |  148|  4.76M|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
  374|  4.76M|    if (acc != (Py_uhash_t)-1) {
  ------------------
  |  Branch (374:9): [True: 2.24M, False: 2.51M]
  ------------------
  375|  2.24M|        return acc;
  376|  2.24M|    }
  377|       |
  378|  2.51M|    Py_ssize_t len = Py_SIZE(v);
  ------------------
  |  |  214|  2.51M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.51M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.51M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  379|  2.51M|    PyObject **item = v->ob_item;
  380|  2.51M|    acc = _PyTuple_HASH_XXPRIME_5;
  ------------------
  |  |   68|  2.51M|#define _PyTuple_HASH_XXPRIME_5 ((Py_uhash_t)2870177450012600261ULL)
  ------------------
  381|  12.2M|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (381:28): [True: 9.71M, False: 2.51M]
  ------------------
  382|  9.71M|        Py_uhash_t lane = PyObject_Hash(item[i]);
  383|  9.71M|        if (lane == (Py_uhash_t)-1) {
  ------------------
  |  Branch (383:13): [True: 0, False: 9.71M]
  ------------------
  384|      0|            return -1;
  385|      0|        }
  386|  9.71M|        acc += lane * _PyTuple_HASH_XXPRIME_2;
  ------------------
  |  |   67|  9.71M|#define _PyTuple_HASH_XXPRIME_2 ((Py_uhash_t)14029467366897019727ULL)
  ------------------
  387|  9.71M|        acc = _PyTuple_HASH_XXROTATE(acc);
  ------------------
  |  |   69|  9.71M|#define _PyTuple_HASH_XXROTATE(x) ((x << 31) | (x >> 33))  /* Rotate left 31 bits */
  ------------------
  388|  9.71M|        acc *= _PyTuple_HASH_XXPRIME_1;
  ------------------
  |  |   66|  9.71M|#define _PyTuple_HASH_XXPRIME_1 ((Py_uhash_t)11400714785074694791ULL)
  ------------------
  389|  9.71M|    }
  390|       |
  391|       |    /* Add input length, mangled to keep the historical value of hash(()). */
  392|  2.51M|    acc += len ^ (_PyTuple_HASH_XXPRIME_5 ^ 3527539UL);
  ------------------
  |  |   68|  2.51M|#define _PyTuple_HASH_XXPRIME_5 ((Py_uhash_t)2870177450012600261ULL)
  ------------------
  393|       |
  394|  2.51M|    if (acc == (Py_uhash_t)-1) {
  ------------------
  |  Branch (394:9): [True: 0, False: 2.51M]
  ------------------
  395|      0|        acc = 1546275796;
  396|      0|    }
  397|       |
  398|  2.51M|    FT_ATOMIC_STORE_SSIZE_RELAXED(v->ob_hash, acc);
  ------------------
  |  |  193|  2.51M|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  399|       |
  400|  2.51M|    return acc;
  401|  2.51M|}
tupleobject.c:tuple_traverse:
  716|  1.13M|{
  717|  1.13M|    PyTupleObject *o = _PyTuple_CAST(self);
  ------------------
  |  |   19|  1.13M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.13M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  718|  9.33M|    for (Py_ssize_t i = Py_SIZE(o); --i >= 0; ) {
  ------------------
  |  |  214|  1.13M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.13M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.13M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (718:37): [True: 8.19M, False: 1.13M]
  ------------------
  719|  8.19M|        Py_VISIT(o->ob_item[i]);
  ------------------
  |  |  194|  8.19M|    do {                                                                \
  |  |  195|  8.19M|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 8.19M, False: 0]
  |  |  ------------------
  |  |  196|  8.19M|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  8.19M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.19M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  8.19M|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 8.19M]
  |  |  ------------------
  |  |  198|  8.19M|                return vret;                                            \
  |  |  199|  8.19M|        }                                                               \
  |  |  200|  8.19M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 8.19M]
  |  |  ------------------
  ------------------
  720|  8.19M|    }
  721|  1.13M|    return 0;
  722|  1.13M|}
tupleobject.c:tuple_richcompare:
  726|  4.97M|{
  727|  4.97M|    PyTupleObject *vt, *wt;
  728|  4.97M|    Py_ssize_t i;
  729|  4.97M|    Py_ssize_t vlen, wlen;
  730|       |
  731|  4.97M|    if (!PyTuple_Check(v) || !PyTuple_Check(w))
  ------------------
  |  |   27|  4.97M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  9.95M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                  if (!PyTuple_Check(v) || !PyTuple_Check(w))
  ------------------
  |  |   27|  4.97M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.97M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (731:9): [True: 0, False: 4.97M]
  |  Branch (731:30): [True: 4, False: 4.97M]
  ------------------
  732|      4|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      4|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      4|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
  733|       |
  734|  4.97M|    vt = (PyTupleObject *)v;
  735|  4.97M|    wt = (PyTupleObject *)w;
  736|       |
  737|  4.97M|    vlen = Py_SIZE(vt);
  ------------------
  |  |  214|  4.97M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.97M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.97M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  738|  4.97M|    wlen = Py_SIZE(wt);
  ------------------
  |  |  214|  4.97M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.97M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.97M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  739|       |
  740|       |    /* Note:  the corresponding code for lists has an "early out" test
  741|       |     * here when op is EQ or NE and the lengths differ.  That pays there,
  742|       |     * but Tim was unable to find any real code where EQ/NE tuple
  743|       |     * compares don't have the same length, so testing for it here would
  744|       |     * have cost without benefit.
  745|       |     */
  746|       |
  747|       |    /* Search for the first index where items are different.
  748|       |     * Note that because tuples are immutable, it's safe to reuse
  749|       |     * vlen and wlen across the comparison calls.
  750|       |     */
  751|  15.1M|    for (i = 0; i < vlen && i < wlen; i++) {
  ------------------
  |  Branch (751:17): [True: 10.6M, False: 4.48M]
  |  Branch (751:29): [True: 10.6M, False: 0]
  ------------------
  752|  10.6M|        int k = PyObject_RichCompareBool(vt->ob_item[i],
  753|  10.6M|                                         wt->ob_item[i], Py_EQ);
  ------------------
  |  |  654|  10.6M|#define Py_EQ 2
  ------------------
  754|  10.6M|        if (k < 0)
  ------------------
  |  Branch (754:13): [True: 0, False: 10.6M]
  ------------------
  755|      0|            return NULL;
  756|  10.6M|        if (!k)
  ------------------
  |  Branch (756:13): [True: 496k, False: 10.1M]
  ------------------
  757|   496k|            break;
  758|  10.6M|    }
  759|       |
  760|  4.97M|    if (i >= vlen || i >= wlen) {
  ------------------
  |  Branch (760:9): [True: 4.48M, False: 496k]
  |  Branch (760:22): [True: 0, False: 496k]
  ------------------
  761|       |        /* No more items to compare -- compare sizes */
  762|  4.48M|        Py_RETURN_RICHCOMPARE(vlen, wlen, op);
  ------------------
  |  |  674|  4.48M|    do {                                                                    \
  |  |  675|  4.48M|        switch (op) {                                                       \
  |  |  676|  4.48M|        case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  654|  4.48M|#define Py_EQ 2
  |  |  ------------------
  |  |                       case Py_EQ: if ((val1) == (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |   44|  4.48M|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|  4.48M|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  4.48M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  4.48M|#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: 4.48M, False: 143]
  |  |  |  Branch (676:25): [True: 4.48M, False: 0]
  |  |  ------------------
  |  |  677|  4.48M|        case Py_NE: if ((val1) != (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;  \
  |  |  ------------------
  |  |  |  |  655|    143|#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|    143|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|    143|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    143|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    143|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (677:9): [True: 143, False: 4.48M]
  |  |  |  Branch (677:25): [True: 0, False: 143]
  |  |  ------------------
  |  |  678|    143|        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: 4.48M]
  |  |  |  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: 4.48M]
  |  |  |  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: 4.48M]
  |  |  |  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: 4.48M]
  |  |  |  Branch (681:25): [True: 0, False: 0]
  |  |  ------------------
  |  |  682|      0|        default:                                                            \
  |  |  ------------------
  |  |  |  Branch (682:9): [True: 0, False: 4.48M]
  |  |  ------------------
  |  |  683|      0|            Py_UNREACHABLE();                                               \
  |  |  ------------------
  |  |  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  |  |  ------------------
  |  |  684|  4.48M|        }                                                                   \
  |  |  685|  4.48M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (685:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  763|  4.48M|    }
  764|       |
  765|       |    /* We have an item that differs -- shortcuts for EQ/NE */
  766|   496k|    if (op == Py_EQ) {
  ------------------
  |  |  654|   496k|#define Py_EQ 2
  ------------------
  |  Branch (766:9): [True: 150k, False: 346k]
  ------------------
  767|   150k|        Py_RETURN_FALSE;
  ------------------
  |  |   45|   150k|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|   150k|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   150k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   150k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  768|   150k|    }
  769|   346k|    if (op == Py_NE) {
  ------------------
  |  |  655|   346k|#define Py_NE 3
  ------------------
  |  Branch (769:9): [True: 73.9k, False: 272k]
  ------------------
  770|  73.9k|        Py_RETURN_TRUE;
  ------------------
  |  |   44|  73.9k|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|  73.9k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  73.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  73.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  771|  73.9k|    }
  772|       |
  773|       |    /* Compare the final item again using the proper operator */
  774|   272k|    return PyObject_RichCompare(vt->ob_item[i], wt->ob_item[i], op);
  775|   346k|}
tupleobject.c:tuple_index_impl:
  663|    376|{
  664|    376|    Py_ssize_t i;
  665|       |
  666|    376|    if (start < 0) {
  ------------------
  |  Branch (666:9): [True: 0, False: 376]
  ------------------
  667|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  668|      0|        if (start < 0)
  ------------------
  |  Branch (668:13): [True: 0, False: 0]
  ------------------
  669|      0|            start = 0;
  670|      0|    }
  671|    376|    if (stop < 0) {
  ------------------
  |  Branch (671:9): [True: 0, False: 376]
  ------------------
  672|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  673|      0|    }
  674|    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 (674:14): [True: 376, False: 0]
  ------------------
  675|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  676|    376|    }
  677|    486|    for (i = start; i < stop; i++) {
  ------------------
  |  Branch (677:21): [True: 194, False: 292]
  ------------------
  678|    194|        int cmp = PyObject_RichCompareBool(self->ob_item[i], value, Py_EQ);
  ------------------
  |  |  654|    194|#define Py_EQ 2
  ------------------
  679|    194|        if (cmp > 0)
  ------------------
  |  Branch (679:13): [True: 84, False: 110]
  ------------------
  680|     84|            return PyLong_FromSsize_t(i);
  681|    110|        else if (cmp < 0)
  ------------------
  |  Branch (681:18): [True: 0, False: 110]
  ------------------
  682|      0|            return NULL;
  683|    194|    }
  684|    292|    PyErr_SetString(PyExc_ValueError, "tuple.index(x): x not in tuple");
  685|       |    return NULL;
  686|    376|}
tupleobject.c:tuple_new_impl:
  797|   110k|{
  798|   110k|    if (type != &PyTuple_Type)
  ------------------
  |  Branch (798:9): [True: 55.3k, False: 55.4k]
  ------------------
  799|  55.3k|        return tuple_subtype_new(type, iterable);
  800|       |
  801|  55.4k|    if (iterable == NULL) {
  ------------------
  |  Branch (801:9): [True: 0, False: 55.4k]
  ------------------
  802|      0|        return tuple_get_empty();
  803|      0|    }
  804|  55.4k|    else {
  805|  55.4k|        return PySequence_Tuple(iterable);
  806|  55.4k|    }
  807|  55.4k|}
tupleobject.c:tuple_subtype_new:
  832|  55.3k|{
  833|  55.3k|    PyObject *tmp, *newobj, *item;
  834|  55.3k|    Py_ssize_t i, n;
  835|       |
  836|  55.3k|    assert(PyType_IsSubtype(type, &PyTuple_Type));
  837|       |    // tuple subclasses must implement the GC protocol
  838|  55.3k|    assert(_PyType_IS_GC(type));
  839|       |
  840|  55.3k|    tmp = tuple_new_impl(&PyTuple_Type, iterable);
  841|  55.3k|    if (tmp == NULL)
  ------------------
  |  Branch (841:9): [True: 0, False: 55.3k]
  ------------------
  842|      0|        return NULL;
  843|  55.3k|    assert(PyTuple_Check(tmp));
  844|       |    /* This may allocate an empty tuple that is not the global one. */
  845|  55.3k|    newobj = type->tp_alloc(type, n = PyTuple_GET_SIZE(tmp));
  ------------------
  |  |   27|  55.3k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  55.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  55.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  846|  55.3k|    if (newobj == NULL) {
  ------------------
  |  Branch (846:9): [True: 0, False: 55.3k]
  ------------------
  847|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  848|      0|        return NULL;
  849|      0|    }
  850|   169k|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (850:17): [True: 113k, False: 55.3k]
  ------------------
  851|   113k|        item = PyTuple_GET_ITEM(tmp, i);
  ------------------
  |  |   29|   113k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|   113k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   113k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  852|   113k|        PyTuple_SET_ITEM(newobj, i, Py_NewRef(item));
  ------------------
  |  |   40|   113k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   113k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   113k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   113k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   113k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  853|   113k|    }
  854|  55.3k|    Py_DECREF(tmp);
  ------------------
  |  |  430|  55.3k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  55.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  55.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  855|       |
  856|  55.3k|    _PyTuple_RESET_HASH_CACHE(newobj);
  ------------------
  |  |   43|  55.3k|    do {                                    \
  |  |   44|  55.3k|        assert(op != NULL);                 \
  |  |   45|  55.3k|        _PyTuple_CAST(op)->ob_hash = -1;    \
  |  |  ------------------
  |  |  |  |   19|  55.3k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  55.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   46|  55.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (46:14): [Folded, False: 55.3k]
  |  |  ------------------
  ------------------
  857|       |
  858|       |    // Don't track if a subclass tp_alloc is PyType_GenericAlloc()
  859|  55.3k|    if (!_PyObject_GC_IS_TRACKED(newobj)) {
  ------------------
  |  |   81|  55.3k|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|  55.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (859:9): [True: 0, False: 55.3k]
  ------------------
  860|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  861|      0|    }
  862|  55.3k|    return newobj;
  863|  55.3k|}
tupleobject.c:tuple_vectorcall:
  812|     54|{
  813|     54|    if (!_PyArg_NoKwnames("tuple", kwnames)) {
  ------------------
  |  |   15|     54|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (15:6): [True: 54, False: 0]
  |  |  |  Branch (15:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  814|      0|        return NULL;
  815|      0|    }
  816|       |
  817|     54|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|     54|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
  818|     54|    if (!_PyArg_CheckPositional("tuple", nargs, 0, 1)) {
  ------------------
  |  |   31|     54|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 54, False: 0]
  |  |  |  Branch (31:27): [True: 54, False: 0]
  |  |  ------------------
  |  |   32|     54|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  819|      0|        return NULL;
  820|      0|    }
  821|       |
  822|     54|    if (nargs) {
  ------------------
  |  Branch (822:9): [True: 54, False: 0]
  ------------------
  823|     54|        return tuple_new_impl(_PyType_CAST(type), args[0]);
  ------------------
  |  |  770|     54|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     54|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  824|     54|    }
  825|      0|    else {
  826|      0|        return tuple_get_empty();
  827|      0|    }
  828|     54|}
tupleobject.c:tuple_iteritem:
  878|  2.34k|{
  879|  2.34k|    if (index >= PyTuple_GET_SIZE(obj)) {
  ------------------
  |  |   27|  2.34k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_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 (879:9): [True: 50, False: 2.29k]
  ------------------
  880|     50|        return (_PyObjectIndexPair) { .object = NULL, .index = index };
  881|     50|    }
  882|  2.29k|    PyObject *result = PyTuple_GET_ITEM(obj, index);
  ------------------
  |  |   29|  2.29k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  2.29k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.29k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  883|  2.29k|    Py_INCREF(result);
  ------------------
  |  |  310|  2.29k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.29k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.29k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  884|  2.29k|    return (_PyObjectIndexPair) { .object = result, .index = index + 1 };
  885|  2.34k|}
tupleobject.c:tupleiter_dealloc:
 1097|  75.6k|{
 1098|  75.6k|    _PyTupleIterObject *it = _PyTupleIterObject_CAST(self);
  ------------------
  |  | 1093|  75.6k|#define _PyTupleIterObject_CAST(op) ((_PyTupleIterObject *)(op))
  ------------------
 1099|  75.6k|    _PyObject_GC_UNTRACK(it);
  ------------------
  |  |  510|  75.6k|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  75.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  75.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1100|  75.6k|    Py_XDECREF(it->it_seq);
  ------------------
  |  |  524|  75.6k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  75.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  75.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1101|  75.6k|    assert(Py_IS_TYPE(self, &PyTupleIter_Type));
 1102|  75.6k|    _Py_FREELIST_FREE(tuple_iters, it, PyObject_GC_Del);
  ------------------
  |  |   35|  75.6k|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  75.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  75.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  75.6k|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   15|  75.6k|#  define Py_tuple_iters_MAXFREELIST 10
  |  |  ------------------
  ------------------
 1103|  75.6k|}
tupleobject.c:tupleiter_traverse:
 1107|      2|{
 1108|      2|    _PyTupleIterObject *it = _PyTupleIterObject_CAST(self);
  ------------------
  |  | 1093|      2|#define _PyTupleIterObject_CAST(op) ((_PyTupleIterObject *)(op))
  ------------------
 1109|      2|    Py_VISIT(it->it_seq);
  ------------------
  |  |  194|      2|    do {                                                                \
  |  |  195|      2|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 2, False: 0]
  |  |  ------------------
  |  |  196|      2|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|      2|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 2]
  |  |  ------------------
  |  |  198|      2|                return vret;                                            \
  |  |  199|      2|        }                                                               \
  |  |  200|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1110|      2|    return 0;
 1111|      2|}
tupleobject.c:tupleiter_next:
 1115|   227k|{
 1116|   227k|    _PyTupleIterObject *it = _PyTupleIterObject_CAST(self);
  ------------------
  |  | 1093|   227k|#define _PyTupleIterObject_CAST(op) ((_PyTupleIterObject *)(op))
  ------------------
 1117|   227k|    PyTupleObject *seq;
 1118|   227k|    PyObject *item;
 1119|       |
 1120|   227k|    assert(it != NULL);
 1121|   227k|    seq = it->it_seq;
 1122|   227k|#ifndef Py_GIL_DISABLED
 1123|   227k|    if (seq == NULL)
  ------------------
  |  Branch (1123:9): [True: 0, False: 227k]
  ------------------
 1124|      0|        return NULL;
 1125|   227k|#endif
 1126|   227k|    assert(PyTuple_Check(seq));
 1127|       |
 1128|   227k|    Py_ssize_t index = FT_ATOMIC_LOAD_SSIZE_RELAXED(it->it_index);
  ------------------
  |  |  148|   227k|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  ------------------
 1129|   227k|    if (index < PyTuple_GET_SIZE(seq)) {
  ------------------
  |  |   27|   227k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   227k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   227k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1129:9): [True: 152k, False: 75.0k]
  ------------------
 1130|   152k|        FT_ATOMIC_STORE_SSIZE_RELAXED(it->it_index, index + 1);
  ------------------
  |  |  193|   152k|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
 1131|   152k|        item = PyTuple_GET_ITEM(seq, index);
  ------------------
  |  |   29|   152k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|   152k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   152k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1132|   152k|        return Py_NewRef(item);
  ------------------
  |  |  550|   152k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   152k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   152k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1133|   152k|    }
 1134|       |
 1135|  75.0k|#ifndef Py_GIL_DISABLED
 1136|  75.0k|    it->it_seq = NULL;
 1137|  75.0k|    Py_DECREF(seq);
  ------------------
  |  |  430|  75.0k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  75.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  75.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1138|  75.0k|#endif
 1139|       |    return NULL;
 1140|   227k|}
tupleobject.c:tuple_iter:
 1244|  75.6k|{
 1245|  75.6k|    if (!PyTuple_Check(seq)) {
  ------------------
  |  |   27|  75.6k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  75.6k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1245:9): [True: 0, False: 75.6k]
  ------------------
 1246|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1247|      0|        return NULL;
 1248|      0|    }
 1249|  75.6k|    _PyTupleIterObject *it = _Py_FREELIST_POP(_PyTupleIterObject, tuple_iters);
  ------------------
  |  |   43|  75.6k|    _Py_CAST(TYPE*, _PyFreeList_Pop(&_Py_freelists_GET()->NAME))
  |  |  ------------------
  |  |  |  |   37|  75.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1250|  75.6k|    if (it == NULL) {
  ------------------
  |  Branch (1250:9): [True: 11, False: 75.6k]
  ------------------
 1251|     11|        it = PyObject_GC_New(_PyTupleIterObject, &PyTupleIter_Type);
  ------------------
  |  |  181|     11|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1252|     11|        if (it == NULL)
  ------------------
  |  Branch (1252:13): [True: 0, False: 11]
  ------------------
 1253|      0|            return NULL;
 1254|     11|    }
 1255|  75.6k|    it->it_index = 0;
 1256|  75.6k|    it->it_seq = (PyTupleObject *)Py_NewRef(seq);
  ------------------
  |  |  550|  75.6k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  75.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  75.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1257|  75.6k|    _PyObject_GC_TRACK(it);
  ------------------
  |  |  508|  75.6k|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  75.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  75.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1258|  75.6k|    return (PyObject *)it;
 1259|  75.6k|}
tupleobject.c:maybe_freelist_push:
 1268|  33.3M|{
 1269|  33.3M|    if (!Py_IS_TYPE(op, &PyTuple_Type)) {
  ------------------
  |  |  215|  33.3M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  33.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  33.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1269:9): [True: 55.3k, False: 33.2M]
  ------------------
 1270|  55.3k|        return 0;
 1271|  55.3k|    }
 1272|  33.2M|    Py_ssize_t index = Py_SIZE(op) - 1;
  ------------------
  |  |  214|  33.2M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  33.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  33.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1273|  33.2M|    if (index < PyTuple_MAXSAVESIZE) {
  ------------------
  |  |   11|  33.2M|#  define PyTuple_MAXSAVESIZE 20     // Largest tuple to save on freelist
  ------------------
  |  Branch (1273:9): [True: 33.1M, False: 68.5k]
  ------------------
 1274|  33.1M|        return _Py_FREELIST_PUSH(tuples[index], op, Py_tuple_MAXFREELIST);
  ------------------
  |  |   39|  33.1M|    _PyFreeList_Push(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), limit)
  |  |  ------------------
  |  |  |  |  171|  33.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  33.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1275|  33.1M|    }
 1276|  68.5k|    return 0;
 1277|  33.2M|}

_PyStaticType_GetState:
  303|  24.1M|{
  304|       |    assert(self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN);
  305|  24.1M|    return managed_static_type_state_get(interp, self);
  306|  24.1M|}
_PyType_GetDict:
  540|  51.3M|{
  541|       |    /* It returns a borrowed reference. */
  542|  51.3M|    return lookup_tp_dict(self);
  543|  51.3M|}
PyType_GetDict:
  547|    432|{
  548|    432|    PyObject *dict = lookup_tp_dict(self);
  549|    432|    return _Py_XNewRef(dict);
  550|    432|}
_PyType_GetBases:
  587|    416|{
  588|    416|    PyObject *res;
  589|       |
  590|    416|    BEGIN_TYPE_LOCK();
  591|    416|    res = lookup_tp_bases(self);
  592|    416|    Py_INCREF(res);
  ------------------
  |  |  310|    416|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    416|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    416|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  593|    416|    END_TYPE_LOCK();
  594|       |
  595|    416|    return res;
  596|    416|}
_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|    141|{
  778|    141|    PyObject *list = PyList_New(0);
  779|    141|    if (list == NULL) {
  ------------------
  |  Branch (779:9): [True: 0, False: 141]
  ------------------
  780|      0|        return NULL;
  781|      0|    }
  782|       |
  783|    141|    PyObject *subclasses = lookup_tp_subclasses(self);  // borrowed ref
  784|    141|    if (subclasses == NULL) {
  ------------------
  |  Branch (784:9): [True: 117, False: 24]
  ------------------
  785|    117|        return list;
  786|    117|    }
  787|    141|    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++) {
  ------------------
  |  |  562|  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) {
  ------------------
  |  |  188|    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|  8.98k|{
 1509|  8.98k|    assert(type->tp_name != NULL);
 1510|  8.98k|    const char *s = strrchr(type->tp_name, '.');
 1511|  8.98k|    if (s == NULL) {
  ------------------
  |  Branch (1511:9): [True: 8.64k, False: 342]
  ------------------
 1512|  8.64k|        s = type->tp_name;
 1513|  8.64k|    }
 1514|    342|    else {
 1515|    342|        s++;
 1516|    342|    }
 1517|  8.98k|    return s;
 1518|  8.98k|}
_PyType_GetFullyQualifiedName:
 1654|    100|{
 1655|    100|    if (!(type->tp_flags & Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|    100|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (1655:9): [True: 0, False: 100]
  ------------------
 1656|      0|        return PyUnicode_FromString(type->tp_name);
 1657|      0|    }
 1658|       |
 1659|    100|    PyObject *qualname = type_qualname((PyObject *)type, NULL);
 1660|    100|    if (qualname == NULL) {
  ------------------
  |  Branch (1660:9): [True: 0, False: 100]
  ------------------
 1661|      0|        return NULL;
 1662|      0|    }
 1663|       |
 1664|    100|    PyObject *module = type_module(type);
 1665|    100|    if (module == NULL) {
  ------------------
  |  Branch (1665:9): [True: 0, False: 100]
  ------------------
 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|    100|    PyObject *result;
 1671|    100|    if (PyUnicode_Check(module)
  ------------------
  |  |  103|    100|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    200|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 100, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1672|    100|        && !_PyUnicode_Equal(module, &_Py_ID(builtins))
  ------------------
  |  |  915|    100|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    100|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    100|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1672:12): [True: 100, False: 0]
  ------------------
 1673|    100|        && !_PyUnicode_Equal(module, &_Py_ID(__main__)))
  ------------------
  |  |  915|    100|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    100|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    100|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1673:12): [True: 100, False: 0]
  ------------------
 1674|    100|    {
 1675|    100|        result = PyUnicode_FromFormat("%U%c%U", module, sep, qualname);
 1676|    100|    }
 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|    100|    Py_DECREF(module);
  ------------------
  |  |  430|    100|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    100|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    100|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1681|    100|    Py_DECREF(qualname);
  ------------------
  |  |  430|    100|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    100|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    100|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1682|    100|    return result;
 1683|    100|}
PyType_GetFullyQualifiedName:
 1687|    100|{
 1688|    100|    return _PyType_GetFullyQualifiedName(type, '.');
 1689|    100|}
_PyType_AllocNoTrack:
 2508|  10.7M|{
 2509|  10.7M|    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|  10.7M|    size_t size = _PyObject_VAR_SIZE(type, nitems+1);
 2517|       |
 2518|  10.7M|    const size_t presize = _PyType_PreHeaderSize(type);
 2519|  10.7M|    if (type->tp_flags & Py_TPFLAGS_INLINE_VALUES) {
  ------------------
  |  |  472|  10.7M|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (2519:9): [True: 281k, False: 10.4M]
  ------------------
 2520|   281k|        assert(type->tp_itemsize == 0);
 2521|   281k|        size += _PyInlineValuesSize(type);
 2522|   281k|    }
 2523|  10.7M|    char *alloc = _PyObject_MallocWithType(type, size + presize);
 2524|  10.7M|    if (alloc  == NULL) {
  ------------------
  |  Branch (2524:9): [True: 0, False: 10.7M]
  ------------------
 2525|      0|        return PyErr_NoMemory();
 2526|      0|    }
 2527|  10.7M|    obj = (PyObject *)(alloc + presize);
 2528|  10.7M|    if (presize) {
  ------------------
  |  Branch (2528:9): [True: 2.98M, False: 7.72M]
  ------------------
 2529|  2.98M|        ((PyObject **)alloc)[0] = NULL;
 2530|  2.98M|        ((PyObject **)alloc)[1] = NULL;
 2531|  2.98M|    }
 2532|  10.7M|    if (PyType_IS_GC(type)) {
  ------------------
  |  |  157|  10.7M|#define PyType_IS_GC(t) PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
  |  |  ------------------
  |  |  |  |  524|  10.7M|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  |  |  ------------------
  |  |  |  Branch (157:25): [True: 2.98M, False: 7.72M]
  |  |  ------------------
  ------------------
 2533|  2.98M|        _PyObject_GC_Link(obj);
 2534|  2.98M|    }
 2535|       |    // Zero out the object after the PyObject header. The header fields are
 2536|       |    // initialized by _PyObject_Init[Var]().
 2537|  10.7M|    memset((char *)obj + sizeof(PyObject), 0, size - sizeof(PyObject));
 2538|       |
 2539|  10.7M|    if (type->tp_itemsize == 0) {
  ------------------
  |  Branch (2539:9): [True: 10.6M, False: 58.9k]
  ------------------
 2540|  10.6M|        _PyObject_Init(obj, type);
 2541|  10.6M|    }
 2542|  58.9k|    else {
 2543|  58.9k|        _PyObject_InitVar((PyVarObject *)obj, type, nitems);
 2544|  58.9k|    }
 2545|  10.7M|    if (type->tp_flags & Py_TPFLAGS_INLINE_VALUES) {
  ------------------
  |  |  472|  10.7M|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (2545:9): [True: 281k, False: 10.4M]
  ------------------
 2546|   281k|        _PyObject_InitInlineValues(obj, type);
 2547|   281k|    }
 2548|  10.7M|    return obj;
 2549|  10.7M|}
PyType_GenericAlloc:
 2553|  10.6M|{
 2554|  10.6M|    PyObject *obj = _PyType_AllocNoTrack(type, nitems);
 2555|  10.6M|    if (obj == NULL) {
  ------------------
  |  Branch (2555:9): [True: 0, False: 10.6M]
  ------------------
 2556|      0|        return NULL;
 2557|      0|    }
 2558|       |
 2559|  10.6M|    if (_PyType_IS_GC(type)) {
  ------------------
  |  |  828|  10.6M|#define _PyType_IS_GC(t) _PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
  |  |  ------------------
  |  |  |  |  524|  10.6M|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  |  |  ------------------
  |  |  |  Branch (828:26): [True: 2.97M, False: 7.72M]
  |  |  ------------------
  ------------------
 2560|  2.97M|        _PyObject_GC_TRACK(obj);
  ------------------
  |  |  508|  2.97M|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.97M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.97M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2561|  2.97M|    }
 2562|  10.6M|    return obj;
 2563|  10.6M|}
PyType_GenericNew:
 2567|  7.54M|{
 2568|  7.54M|    return type->tp_alloc(type, 0);
 2569|  7.54M|}
PyType_IsSubtype:
 2925|  44.8M|{
 2926|  44.8M|    return is_subtype_with_mro(a->tp_mro, a, b);
 2927|  44.8M|}
_PyObject_LookupSpecial:
 2946|  7.63M|{
 2947|  7.63M|    PyObject *res;
 2948|       |
 2949|  7.63M|    res = _PyType_LookupRef(Py_TYPE(self), attr);
  ------------------
  |  |  213|  7.63M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  7.63M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.63M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2950|  7.63M|    if (res != NULL) {
  ------------------
  |  Branch (2950:9): [True: 56.3k, False: 7.57M]
  ------------------
 2951|  56.3k|        descrgetfunc f;
 2952|  56.3k|        if ((f = Py_TYPE(res)->tp_descr_get) != NULL) {
  ------------------
  |  |  213|  56.3k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  56.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  56.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2952:13): [True: 56.3k, False: 0]
  ------------------
 2953|  56.3k|            Py_SETREF(res, f(res, self, (PyObject *)(Py_TYPE(self))));
  ------------------
  |  |  352|  56.3k|    do { \
  |  |  353|  56.3k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  56.3k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|  56.3k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  56.3k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|  56.3k|        *_tmp_dst_ptr = (src); \
  |  |  356|  56.3k|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|  56.3k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  56.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  56.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|  56.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 56.3k]
  |  |  ------------------
  ------------------
 2954|  56.3k|        }
 2955|  56.3k|    }
 2956|  7.63M|    return res;
 2957|  7.63M|}
_PyObject_LookupSpecialMethod:
 2966|   396k|{
 2967|   396k|    PyObject *self = PyStackRef_AsPyObjectBorrow(method_and_self[1]);
 2968|   396k|    _PyType_LookupStackRefAndVersion(Py_TYPE(self), attr, &method_and_self[0]);
  ------------------
  |  |  213|   396k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   396k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   396k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2969|   396k|    PyObject *method_o = PyStackRef_AsPyObjectBorrow(method_and_self[0]);
 2970|   396k|    if (method_o == NULL) {
  ------------------
  |  Branch (2970:9): [True: 0, False: 396k]
  ------------------
 2971|      0|        return 0;
 2972|      0|    }
 2973|       |
 2974|   396k|    if (_PyType_HasFeature(Py_TYPE(method_o), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  213|   396k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   396k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   396k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (_PyType_HasFeature(Py_TYPE(method_o), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  534|   396k|#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
  ------------------
  |  Branch (2974:9): [True: 396k, False: 0]
  ------------------
 2975|       |        /* Avoid temporary PyMethodObject */
 2976|   396k|        return 1;
 2977|   396k|    }
 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
  ------------------
  |  |  711|      0|    do { \
  |  |  712|      0|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  713|      0|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  714|      0|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  715|      0|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  716|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (716: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
  ------------------
  |  |  711|      0|    do { \
  |  |  712|      0|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  713|      0|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  714|      0|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  715|      0|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  716|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (716:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2989|      0|    return 1;
 2990|      0|}
_PyObject_MaybeCallSpecialNoArgs:
 3202|    292|{
 3203|       |    return maybe_call_special_no_args(self, attr, NULL);
 3204|    292|}
_PyObject_MaybeCallSpecialOneArg:
 3208|  1.29k|{
 3209|       |    return maybe_call_special_one_arg(self, attr, arg, NULL);
 3210|  1.29k|}
PyType_GetFlags:
 4134|   135k|{
 4135|   135k|    return type->tp_flags;
 4136|   135k|}
_PyType_CalculateMetaclass:
 4149|  4.09k|{
 4150|  4.09k|    Py_ssize_t i, nbases;
 4151|  4.09k|    PyTypeObject *winner;
 4152|  4.09k|    PyObject *tmp;
 4153|  4.09k|    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.09k|    nbases = PyTuple_GET_SIZE(bases);
  ------------------
  |  |   27|  4.09k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4161|  4.09k|    winner = metatype;
 4162|  8.01k|    for (i = 0; i < nbases; i++) {
  ------------------
  |  Branch (4162:17): [True: 3.92k, False: 4.09k]
  ------------------
 4163|  3.92k|        tmp = PyTuple_GET_ITEM(bases, i);
  ------------------
  |  |   29|  3.92k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  3.92k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.92k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4164|  3.92k|        tmptype = Py_TYPE(tmp);
  ------------------
  |  |  213|  3.92k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.92k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.92k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4165|  3.92k|        if (PyType_IsSubtype(winner, tmptype))
  ------------------
  |  Branch (4165:13): [True: 3.85k, False: 70]
  ------------------
 4166|  3.85k|            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.09k|    return winner;
 4180|  4.09k|}
PyType_FromMetaclass:
 5784|     20|{
 5785|       |    return type_from_slots_or_spec(NULL, spec, metaclass, module, bases);
 5786|     20|}
PyType_FromModuleAndSpec:
 5790|    164|{
 5791|    164|    return type_from_slots_or_spec(NULL, spec, NULL, module, bases);
 5792|    164|}
PyType_FromSpecWithBases:
 5796|     28|{
 5797|     28|    return type_from_slots_or_spec(NULL, spec, NULL, NULL, bases);
 5798|     28|}
PyType_FromSpec:
 5802|     30|{
 5803|     30|    return type_from_slots_or_spec(NULL, spec, NULL, NULL, NULL);
 5804|     30|}
PyType_GetSlot:
 5826|    400|{
 5827|    400|    uint16_t slot = _PySlot_resolve_type_slot(slot_in);
 5828|    400|    return _PySlot_type_getslot(type, slot);
 5829|    400|}
PyType_GetModule:
 5844|  14.1k|{
 5845|  14.1k|    assert(PyType_Check(type));
 5846|  14.1k|    if (!_PyType_HasFeature(type, Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|  14.1k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (5846:9): [True: 0, False: 14.1k]
  ------------------
 5847|      0|        PyErr_Format(
 5848|      0|            PyExc_TypeError,
 5849|      0|            "PyType_GetModule: Type '%s' is not a heap type",
 5850|      0|            type->tp_name);
 5851|      0|        return NULL;
 5852|      0|    }
 5853|       |
 5854|  14.1k|    PyHeapTypeObject* et = (PyHeapTypeObject*)type;
 5855|  14.1k|    if (!et->ht_module) {
  ------------------
  |  Branch (5855:9): [True: 0, False: 14.1k]
  ------------------
 5856|      0|        PyErr_Format(
 5857|      0|            PyExc_TypeError,
 5858|      0|            "PyType_GetModule: Type '%s' has no associated module",
 5859|      0|            type->tp_name);
 5860|      0|        return NULL;
 5861|      0|    }
 5862|  14.1k|    return et->ht_module;
 5863|  14.1k|}
PyType_GetModuleState:
 5877|  14.1k|{
 5878|  14.1k|    PyObject *m = PyType_GetModule(type);
 5879|  14.1k|    if (m == NULL) {
  ------------------
  |  Branch (5879:9): [True: 0, False: 14.1k]
  ------------------
 5880|      0|        return NULL;
 5881|      0|    }
 5882|  14.1k|    return _PyModule_GetState(m);
 5883|  14.1k|}
PyType_GetModuleByToken_DuringGC:
 5890|  7.15M|{
 5891|  7.15M|    assert(PyType_Check(type));
 5892|       |
 5893|  7.15M|    if (!_PyType_HasFeature(type, Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|  7.15M|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (5893:9): [True: 0, False: 7.15M]
  ------------------
 5894|       |        // type_ready_mro() ensures that no heap type is
 5895|       |        // contained in a static type MRO.
 5896|      0|        return NULL;
 5897|      0|    }
 5898|  7.15M|    else {
 5899|  7.15M|        PyHeapTypeObject *ht = (PyHeapTypeObject*)type;
 5900|  7.15M|        PyObject *module = ht->ht_module;
 5901|  7.15M|        if (module && _PyModule_GetToken(module) == token) {
  ------------------
  |  Branch (5901:13): [True: 7.15M, False: 2]
  |  Branch (5901:23): [True: 7.15M, False: 0]
  ------------------
 5902|  7.15M|            return module;
 5903|  7.15M|        }
 5904|  7.15M|    }
 5905|       |
 5906|      2|    PyObject *res = NULL;
 5907|      2|    BEGIN_TYPE_LOCK();
 5908|       |
 5909|      2|    PyObject *mro = lookup_tp_mro(type);
 5910|       |    // The type must be ready
 5911|      2|    assert(mro != NULL);
 5912|      2|    assert(PyTuple_Check(mro));
 5913|       |    // mro_invoke() ensures that the type MRO cannot be empty.
 5914|      2|    assert(PyTuple_GET_SIZE(mro) >= 1);
 5915|       |    // Also, the first item in the MRO is the type itself, which
 5916|       |    // we already checked above. We skip it in the loop.
 5917|      2|    assert(PyTuple_GET_ITEM(mro, 0) == (PyObject *)type);
 5918|       |
 5919|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5920|      2|    for (Py_ssize_t i = 1; i < n; i++) {
  ------------------
  |  Branch (5920:28): [True: 2, False: 0]
  ------------------
 5921|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5922|      2|        if (!_PyType_HasFeature((PyTypeObject *)super, Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|      2|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (5922:13): [True: 0, False: 2]
  ------------------
 5923|       |            // Static types in the MRO need to be skipped
 5924|      0|            continue;
 5925|      0|        }
 5926|       |
 5927|      2|        PyHeapTypeObject *ht = (PyHeapTypeObject*)super;
 5928|      2|        PyObject *module = ht->ht_module;
 5929|      2|        if (module && _PyModule_GetToken(module) == token) {
  ------------------
  |  Branch (5929:13): [True: 2, False: 0]
  |  Branch (5929:23): [True: 2, False: 0]
  ------------------
 5930|      2|            res = module;
 5931|      2|            break;
 5932|      2|        }
 5933|      2|    }
 5934|      2|    END_TYPE_LOCK();
 5935|       |
 5936|      2|    return res;
 5937|  7.15M|}
PyType_GetModuleByDef:
 5947|  7.15M|{
 5948|  7.15M|    PyObject *mod = PyType_GetModuleByToken_DuringGC(type, def);
 5949|  7.15M|    if (!mod) {
  ------------------
  |  Branch (5949:9): [True: 0, False: 7.15M]
  ------------------
 5950|      0|        PyErr_Format(
 5951|      0|            PyExc_TypeError,
 5952|      0|            "PyType_GetModuleByDef: No superclass of '%s' has the given module",
 5953|      0|            type->tp_name);
 5954|      0|        return NULL;
 5955|      0|    }
 5956|  7.15M|    return mod;
 5957|  7.15M|}
PyObject_GetItemData:
 6109|   438k|{
 6110|       |    return getitemdata(obj, true);
 6111|   438k|}
_PyType_LookupRefAndVersion:
 6258|  16.5M|{
 6259|  16.5M|    _PyStackRef out;
 6260|  16.5M|    unsigned int ver = _PyType_LookupStackRefAndVersion(type, name, &out);
 6261|  16.5M|    if (version) {
  ------------------
  |  Branch (6261:9): [True: 390k, False: 16.1M]
  ------------------
 6262|   390k|        *version = ver;
 6263|   390k|    }
 6264|  16.5M|    if (PyStackRef_IsNull(out)) {
  ------------------
  |  |  470|  16.5M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  467|  16.5M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  16.5M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (470:32): [True: 7.79M, False: 8.72M]
  |  |  ------------------
  ------------------
 6265|  7.79M|        return NULL;
 6266|  7.79M|    }
 6267|  8.72M|    return PyStackRef_AsPyObjectSteal(out);
 6268|  16.5M|}
_PyType_LookupStackRefAndVersion:
 6280|  68.8M|{
 6281|  68.8M|    unsigned int h = MCACHE_HASH_METHOD(type, name);
  ------------------
  |  |   54|  68.8M|    MCACHE_HASH(FT_ATOMIC_LOAD_UINT_RELAXED((type)->tp_version_tag),   \
  |  |  ------------------
  |  |  |  |   50|  68.8M|        (((unsigned int)(version) ^ (unsigned int)(name_hash))          \
  |  |  |  |   51|  68.8M|         & ((1 << MCACHE_SIZE_EXP) - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |  562|  68.8M|#define MCACHE_SIZE_EXP 12
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   55|  68.8M|                ((Py_ssize_t)(name)) >> 3)
  ------------------
 6282|  68.8M|    struct type_cache *cache = get_type_cache();
 6283|  68.8M|    struct type_cache_entry *entry = &cache->hashtable[h];
 6284|       |#ifdef Py_GIL_DISABLED
 6285|       |    // synchronize-with other writing threads by doing an acquire load on the sequence
 6286|       |    while (1) {
 6287|       |        uint32_t sequence = _PySeqLock_BeginRead(&entry->sequence);
 6288|       |        uint32_t entry_version = _Py_atomic_load_uint32_acquire(&entry->version);
 6289|       |        uint32_t type_version = _Py_atomic_load_uint32_acquire(&type->tp_version_tag);
 6290|       |        if (entry_version == type_version &&
 6291|       |            _Py_atomic_load_ptr_relaxed(&entry->name) == name) {
 6292|       |            OBJECT_STAT_INC_COND(type_cache_hits, !is_dunder_name(name));
 6293|       |            OBJECT_STAT_INC_COND(type_cache_dunder_hits, is_dunder_name(name));
 6294|       |            if (_Py_TryXGetStackRef(&entry->value, out)) {
 6295|       |                // If the sequence is still valid then we're done
 6296|       |                if (_PySeqLock_EndRead(&entry->sequence, sequence)) {
 6297|       |                    return entry_version;
 6298|       |                }
 6299|       |                PyStackRef_XCLOSE(*out);
 6300|       |            }
 6301|       |            else {
 6302|       |                // If we can't incref the object we need to fallback to locking
 6303|       |                break;
 6304|       |            }
 6305|       |        }
 6306|       |        else {
 6307|       |            // cache miss
 6308|       |            break;
 6309|       |        }
 6310|       |    }
 6311|       |#else
 6312|  68.8M|    if (entry->version == type->tp_version_tag && entry->name == name) {
  ------------------
  |  Branch (6312:9): [True: 67.8M, False: 947k]
  |  Branch (6312:51): [True: 65.2M, False: 2.65M]
  ------------------
 6313|  65.2M|        assert(type->tp_version_tag);
 6314|  65.2M|        OBJECT_STAT_INC_COND(type_cache_hits, !is_dunder_name(name));
  ------------------
  |  |   78|  65.2M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 6315|  65.2M|        OBJECT_STAT_INC_COND(type_cache_dunder_hits, is_dunder_name(name));
  ------------------
  |  |   78|  65.2M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 6316|  65.2M|        *out = entry->value ? PyStackRef_FromPyObjectNew(entry->value) : PyStackRef_NULL;
  ------------------
  |  |  599|  32.0M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  32.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  32.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6316:16): [True: 32.0M, False: 33.1M]
  ------------------
 6317|  65.2M|        return entry->version;
 6318|  65.2M|    }
 6319|  3.60M|#endif
 6320|  3.60M|    OBJECT_STAT_INC_COND(type_cache_misses, !is_dunder_name(name));
  ------------------
  |  |   78|  3.60M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 6321|  3.60M|    OBJECT_STAT_INC_COND(type_cache_dunder_misses, is_dunder_name(name));
  ------------------
  |  |   78|  3.60M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 6322|       |
 6323|       |    /* We may end up clearing live exceptions below, so make sure it's ours. */
 6324|  3.60M|    assert(!PyErr_Occurred());
 6325|       |
 6326|  3.60M|    int res;
 6327|  3.60M|    PyInterpreterState *interp = _PyInterpreterState_GET();
 6328|       |
 6329|  3.60M|    unsigned int version_tag = FT_ATOMIC_LOAD_UINT(type->tp_version_tag);
  ------------------
  |  |  187|  3.60M|#define FT_ATOMIC_LOAD_UINT(value) value
  ------------------
 6330|  3.60M|    if (should_assign_version_tag(type, name, version_tag)) {
  ------------------
  |  Branch (6330:9): [True: 2.97k, False: 3.59M]
  ------------------
 6331|  2.97k|        BEGIN_TYPE_LOCK();
 6332|  2.97k|        assign_version_tag(interp, type);
 6333|  2.97k|        version_tag = type->tp_version_tag;
 6334|  2.97k|        res = find_name_in_mro(type, name, out);
 6335|  2.97k|        END_TYPE_LOCK();
 6336|  2.97k|    }
 6337|  3.59M|    else {
 6338|  3.59M|        res = find_name_in_mro(type, name, out);
 6339|  3.59M|    }
 6340|       |
 6341|       |    /* Only put NULL results into cache if there was no error. */
 6342|  3.60M|    if (res < 0) {
  ------------------
  |  Branch (6342:9): [True: 0, False: 3.60M]
  ------------------
 6343|      0|        *out = PyStackRef_NULL;
 6344|      0|        return 0;
 6345|      0|    }
 6346|       |
 6347|  3.60M|    if (version_tag == 0 || !MCACHE_CACHEABLE_NAME(name)) {
  ------------------
  |  |   57|  3.60M|        (PyUnicode_CheckExact(name) &&                           \
  |  |  ------------------
  |  |  |  |  104|  3.60M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|  7.20M|#  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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 3.60M, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   58|  3.60M|         (PyUnicode_GET_LENGTH(name) <= MCACHE_MAX_ATTR_SIZE))
  |  |  ------------------
  |  |  |  |  299|  3.60M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.60M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.60M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                        (PyUnicode_GET_LENGTH(name) <= MCACHE_MAX_ATTR_SIZE))
  |  |  ------------------
  |  |  |  |   48|  3.60M|#define MCACHE_MAX_ATTR_SIZE    100
  |  |  ------------------
  |  |  |  Branch (58:10): [True: 3.60M, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (6347:9): [True: 0, False: 3.60M]
  ------------------
 6348|      0|        return 0;
 6349|      0|    }
 6350|       |
 6351|  3.60M|    PyObject *res_obj = PyStackRef_AsPyObjectBorrow(*out);
 6352|       |#if Py_GIL_DISABLED
 6353|       |    update_cache_gil_disabled(entry, name, version_tag, res_obj);
 6354|       |#else
 6355|  3.60M|    PyObject *old_value = update_cache(entry, name, version_tag, res_obj);
 6356|  3.60M|    Py_DECREF(old_value);
  ------------------
  |  |  430|  3.60M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.60M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.60M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6357|  3.60M|#endif
 6358|  3.60M|    return version_tag;
 6359|  3.60M|}
_PyType_LookupRef:
 6366|  16.1M|{
 6367|       |    return _PyType_LookupRefAndVersion(type, name, NULL);
 6368|  16.1M|}
_PyType_Lookup:
 6374|  17.8k|{
 6375|  17.8k|    PyObject *res = _PyType_LookupRefAndVersion(type, name, NULL);
 6376|  17.8k|    Py_XDECREF(res);
  ------------------
  |  |  524|  17.8k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  17.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6377|  17.8k|    return res;
 6378|  17.8k|}
_PyType_CacheInitForSpecialization:
 6383|     75|{
 6384|     75|    if (!init || !tp_version) {
  ------------------
  |  Branch (6384:9): [True: 0, False: 75]
  |  Branch (6384:18): [True: 0, False: 75]
  ------------------
 6385|      0|        return 0;
 6386|      0|    }
 6387|     75|    int can_cache;
 6388|     75|    BEGIN_TYPE_LOCK();
 6389|     75|    can_cache = ((PyTypeObject*)type)->tp_version_tag == tp_version;
 6390|       |    #ifdef Py_GIL_DISABLED
 6391|       |    can_cache = can_cache && _PyObject_HasDeferredRefcount(init);
 6392|       |    #endif
 6393|     75|    if (can_cache) {
  ------------------
  |  Branch (6393:9): [True: 75, False: 0]
  ------------------
 6394|     75|        FT_ATOMIC_STORE_PTR_RELEASE(type->_spec_cache.init, init);
  ------------------
  |  |  163|     75|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 6395|     75|    }
 6396|     75|    END_TYPE_LOCK();
 6397|     75|    return can_cache;
 6398|     75|}
_PyType_CacheGetItemForSpecialization:
 6402|     43|{
 6403|     43|    if (!descriptor || !tp_version) {
  ------------------
  |  Branch (6403:9): [True: 0, False: 43]
  |  Branch (6403:24): [True: 0, False: 43]
  ------------------
 6404|      0|        return 0;
 6405|      0|    }
 6406|     43|    int can_cache;
 6407|     43|    BEGIN_TYPE_LOCK();
 6408|     43|    can_cache = ((PyTypeObject*)ht)->tp_version_tag == tp_version;
 6409|       |    // This pointer is invalidated by PyType_Modified (see the comment on
 6410|       |    // struct _specialization_cache):
 6411|     43|    PyFunctionObject *func = (PyFunctionObject *)descriptor;
 6412|     43|    uint32_t version = _PyFunction_GetVersionForCurrentState(func);
 6413|     43|    can_cache = can_cache && _PyFunction_IsVersionValid(version);
  ------------------
  |  Branch (6413:17): [True: 43, False: 0]
  |  Branch (6413:30): [True: 43, False: 0]
  ------------------
 6414|       |#ifdef Py_GIL_DISABLED
 6415|       |    can_cache = can_cache && _PyObject_HasDeferredRefcount(descriptor);
 6416|       |#endif
 6417|     43|    if (can_cache) {
  ------------------
  |  Branch (6417:9): [True: 43, False: 0]
  ------------------
 6418|     43|        FT_ATOMIC_STORE_PTR_RELEASE(ht->_spec_cache.getitem, descriptor);
  ------------------
  |  |  163|     43|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
 6419|     43|        FT_ATOMIC_STORE_UINT32_RELAXED(ht->_spec_cache.getitem_version, version);
  ------------------
  |  |  171|     43|#define FT_ATOMIC_STORE_UINT32_RELAXED(value, new_value) value = new_value
  ------------------
 6420|     43|    }
 6421|     43|    END_TYPE_LOCK();
 6422|     43|    return can_cache;
 6423|     43|}
_PyType_SetFlags:
 6427|      4|{
 6428|      4|    unsigned long new_flags = (self->tp_flags & ~mask) | flags;
 6429|      4|    if (new_flags != self->tp_flags) {
  ------------------
  |  Branch (6429:9): [True: 4, False: 0]
  ------------------
 6430|      4|        types_stop_world();
 6431|       |        // can't use new_flags here since they could be out-of-date
 6432|      4|        self->tp_flags = (self->tp_flags & ~mask) | flags;
 6433|      4|        types_start_world();
 6434|      4|    }
 6435|      4|}
_PyType_Validate:
 6439|    264|{
 6440|    264|    int err;
 6441|    264|    BEGIN_TYPE_LOCK();
 6442|    264|    err = validate(ty);
 6443|    264|    if (!err) {
  ------------------
  |  Branch (6443:9): [True: 218, False: 46]
  ------------------
 6444|    218|        if(assign_version_tag(_PyInterpreterState_GET(), ty)) {
  ------------------
  |  Branch (6444:12): [True: 218, False: 0]
  ------------------
 6445|    218|            *tp_version = ty->tp_version_tag;
 6446|    218|        }
 6447|      0|        else {
 6448|      0|            err = -1;
 6449|      0|        }
 6450|    218|    }
 6451|    264|    END_TYPE_LOCK();
 6452|    264|    return err;
 6453|    264|}
_PyType_SetFlagsRecursive:
 6480|     32|{
 6481|     32|    types_stop_world();
 6482|     32|    set_flags_recursive(self, mask, flags);
 6483|     32|    types_start_world();
 6484|     32|}
_Py_type_getattro_impl:
 6500|  7.69M|{
 6501|  7.69M|    _PyStackRef ref = _Py_type_getattro_stackref(type, name, suppress_missing_attribute);
 6502|  7.69M|    if (PyStackRef_IsNull(ref)) {
  ------------------
  |  |  470|  7.69M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  467|  7.69M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  7.69M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (470:32): [True: 828, False: 7.69M]
  |  |  ------------------
  ------------------
 6503|    828|        return NULL;
 6504|    828|    }
 6505|  7.69M|    return PyStackRef_AsPyObjectSteal(ref);
 6506|  7.69M|}
_Py_type_getattro:
 6512|  7.68M|{
 6513|  7.68M|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  200|  7.68M|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 6514|       |    return _Py_type_getattro_impl(type, name, NULL);
 6515|  7.68M|}
_Py_type_getattro_stackref:
 6530|  7.86M|{
 6531|  7.86M|    PyTypeObject *metatype = Py_TYPE(type);
  ------------------
  |  |  213|  7.86M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  7.86M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.86M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6532|  7.86M|    descrgetfunc meta_get = NULL;
 6533|       |
 6534|  7.86M|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|  7.86M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  7.86M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (6534:9): [True: 0, False: 7.86M]
  ------------------
 6535|      0|        PyErr_Format(PyExc_TypeError,
 6536|      0|                     "attribute name must be string, not '%.200s'",
 6537|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6538|      0|        return PyStackRef_NULL;
 6539|      0|    }
 6540|       |
 6541|       |    /* Initialize this type (we'll assume the metatype is initialized) */
 6542|  7.86M|    if (!_PyType_IsReady(type)) {
  ------------------
  |  Branch (6542:9): [True: 0, False: 7.86M]
  ------------------
 6543|      0|        if (PyType_Ready(type) < 0)
  ------------------
  |  Branch (6543:13): [True: 0, False: 0]
  ------------------
 6544|      0|            return PyStackRef_NULL;
 6545|      0|    }
 6546|       |
 6547|       |    /* Set up GC-visible stack refs */
 6548|  7.86M|    _PyCStackRef result_ref, meta_attribute_ref, attribute_ref;
 6549|  7.86M|    PyThreadState *tstate = _PyThreadState_GET();
 6550|  7.86M|    _PyThreadState_PushCStackRef(tstate, &result_ref);
 6551|  7.86M|    _PyThreadState_PushCStackRef(tstate, &meta_attribute_ref);
 6552|  7.86M|    _PyThreadState_PushCStackRef(tstate, &attribute_ref);
 6553|       |
 6554|       |    /* Look for the attribute in the metatype */
 6555|  7.86M|    _PyType_LookupStackRefAndVersion(metatype, name, &meta_attribute_ref.ref);
 6556|       |
 6557|  7.86M|    if (!PyStackRef_IsNull(meta_attribute_ref.ref)) {
  ------------------
  |  |  470|  7.86M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  467|  7.86M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  7.86M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6557:9): [True: 109k, False: 7.75M]
  ------------------
 6558|   109k|        PyObject *meta_attr_obj = PyStackRef_AsPyObjectBorrow(meta_attribute_ref.ref);
 6559|   109k|        meta_get = Py_TYPE(meta_attr_obj)->tp_descr_get;
  ------------------
  |  |  213|   109k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   109k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   109k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6560|       |
 6561|   109k|        if (meta_get != NULL && PyDescr_IsData(meta_attr_obj)) {
  ------------------
  |  Branch (6561:13): [True: 45.7k, False: 63.8k]
  |  Branch (6561:33): [True: 17.6k, False: 28.0k]
  ------------------
 6562|       |            /* Data descriptors implement tp_descr_set to intercept
 6563|       |             * writes. Assume the attribute is not overridden in
 6564|       |             * type's tp_dict (and bases): call the descriptor now.
 6565|       |             */
 6566|  17.6k|            PyObject *res = meta_get(meta_attr_obj, (PyObject *)type,
 6567|  17.6k|                                     (PyObject *)metatype);
 6568|  17.6k|            if (res != NULL) {
  ------------------
  |  Branch (6568:17): [True: 17.5k, False: 122]
  ------------------
 6569|  17.5k|                result_ref.ref = PyStackRef_FromPyObjectSteal(res);
 6570|  17.5k|            }
 6571|  17.6k|            goto done;
 6572|  17.6k|        }
 6573|   109k|    }
 6574|       |
 6575|       |    /* No data descriptor found on metatype. Look in tp_dict of this
 6576|       |     * type and its bases */
 6577|  7.84M|    _PyType_LookupStackRefAndVersion(type, name, &attribute_ref.ref);
 6578|  7.84M|    if (!PyStackRef_IsNull(attribute_ref.ref)) {
  ------------------
  |  |  470|  7.84M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  467|  7.84M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  7.84M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6578:9): [True: 7.83M, False: 12.8k]
  ------------------
 6579|       |        /* Implement descriptor functionality, if any */
 6580|  7.83M|        PyObject *attr_obj = PyStackRef_AsPyObjectBorrow(attribute_ref.ref);
 6581|  7.83M|        descrgetfunc local_get = Py_TYPE(attr_obj)->tp_descr_get;
  ------------------
  |  |  213|  7.83M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  7.83M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.83M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6582|       |
 6583|       |        /* Release meta_attribute early since we found in local dict */
 6584|  7.83M|        PyStackRef_CLEAR(meta_attribute_ref.ref);
  ------------------
  |  |  711|  7.83M|    do { \
  |  |  712|  7.83M|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  713|  7.83M|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  714|  7.83M|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  715|  7.83M|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  716|  7.83M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (716:14): [Folded, False: 7.83M]
  |  |  ------------------
  ------------------
 6585|       |
 6586|  7.83M|        if (local_get != NULL) {
  ------------------
  |  Branch (6586:13): [True: 7.72M, False: 105k]
  ------------------
 6587|       |            /* Special case staticmethod to avoid descriptor call overhead.
 6588|       |             * staticmethod.__get__ just returns the wrapped callable. */
 6589|  7.72M|            if (Py_TYPE(attr_obj) == &PyStaticMethod_Type) {
  ------------------
  |  |  213|  7.72M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  7.72M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.72M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6589:17): [True: 73.2k, False: 7.65M]
  ------------------
 6590|  73.2k|                PyObject *callable = _PyStaticMethod_GetFunc(attr_obj);
 6591|  73.2k|                if (callable) {
  ------------------
  |  Branch (6591:21): [True: 73.2k, False: 0]
  ------------------
 6592|  73.2k|                    result_ref.ref = PyStackRef_FromPyObjectNew(callable);
  ------------------
  |  |  599|  73.2k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  73.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  73.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6593|  73.2k|                    goto done;
 6594|  73.2k|                }
 6595|  73.2k|            }
 6596|       |            /* NULL 2nd argument indicates the descriptor was
 6597|       |             * found on the target object itself (or a base)  */
 6598|  7.65M|            PyObject *res = local_get(attr_obj, (PyObject *)NULL,
 6599|  7.65M|                                      (PyObject *)type);
 6600|  7.65M|            if (res != NULL) {
  ------------------
  |  Branch (6600:17): [True: 7.65M, False: 0]
  ------------------
 6601|  7.65M|                result_ref.ref = PyStackRef_FromPyObjectSteal(res);
 6602|  7.65M|            }
 6603|  7.65M|            goto done;
 6604|  7.72M|        }
 6605|       |
 6606|       |        /* No descriptor, return the attribute directly */
 6607|   105k|        result_ref.ref = attribute_ref.ref;
 6608|   105k|        attribute_ref.ref = PyStackRef_NULL;
 6609|   105k|        goto done;
 6610|  7.83M|    }
 6611|       |
 6612|       |    /* No attribute found in local __dict__ (or bases): use the
 6613|       |     * descriptor from the metatype, if any */
 6614|  12.8k|    if (meta_get != NULL) {
  ------------------
  |  Branch (6614:9): [True: 12.1k, False: 736]
  ------------------
 6615|  12.1k|        PyObject *meta_attr_obj = PyStackRef_AsPyObjectBorrow(meta_attribute_ref.ref);
 6616|  12.1k|        PyObject *res = meta_get(meta_attr_obj, (PyObject *)type,
 6617|  12.1k|                                 (PyObject *)metatype);
 6618|  12.1k|        if (res != NULL) {
  ------------------
  |  Branch (6618:13): [True: 12.1k, False: 0]
  ------------------
 6619|  12.1k|            result_ref.ref = PyStackRef_FromPyObjectSteal(res);
 6620|  12.1k|        }
 6621|  12.1k|        goto done;
 6622|  12.1k|    }
 6623|       |
 6624|       |    /* If an ordinary attribute was found on the metatype, return it now */
 6625|    736|    if (!PyStackRef_IsNull(meta_attribute_ref.ref)) {
  ------------------
  |  |  470|    736|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  467|    736|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    736|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6625:9): [True: 0, False: 736]
  ------------------
 6626|      0|        result_ref.ref = meta_attribute_ref.ref;
 6627|      0|        meta_attribute_ref.ref = PyStackRef_NULL;
 6628|      0|        goto done;
 6629|      0|    }
 6630|       |
 6631|       |    /* Give up */
 6632|    736|    if (suppress_missing_attribute == NULL) {
  ------------------
  |  Branch (6632:9): [True: 100, False: 636]
  ------------------
 6633|    100|        PyErr_Format(PyExc_AttributeError,
 6634|    100|                     "type object '%.100s' has no attribute '%U'",
 6635|    100|                     type->tp_name, name);
 6636|    100|    }
 6637|    636|    else {
 6638|       |        // signal the caller we have not set an PyExc_AttributeError and gave up
 6639|    636|        *suppress_missing_attribute = 1;
 6640|    636|    }
 6641|       |
 6642|  7.86M|done:
 6643|  7.86M|    _PyThreadState_PopCStackRef(tstate, &attribute_ref);
 6644|  7.86M|    _PyThreadState_PopCStackRef(tstate, &meta_attribute_ref);
 6645|  7.86M|    return _PyThreadState_PopCStackRefSteal(tstate, &result_ref);
 6646|    736|}
_Py_BaseObject_RichCompare:
 7524|  2.04M|{
 7525|  2.04M|    return object_richcompare(self, other, op);
 7526|  2.04M|}
_PyType_AddMethod:
 8627|      2|{
 8628|      2|    return type_add_method(type, meth);
 8629|      2|}
PyType_Ready:
 9570|  2.65k|{
 9571|  2.65k|    if (type->tp_flags & Py_TPFLAGS_READY) {
  ------------------
  |  |  518|  2.65k|#define Py_TPFLAGS_READY (1UL << 12)
  ------------------
  |  Branch (9571:9): [True: 0, False: 2.65k]
  ------------------
 9572|      0|        assert(_PyType_CheckConsistency(type));
 9573|      0|        return 0;
 9574|      0|    }
 9575|  2.65k|    assert(!(type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN));
 9576|       |
 9577|       |    /* Historically, all static types were immutable. See bpo-43908 */
 9578|  2.65k|    if (!(type->tp_flags & Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|  2.65k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (9578:9): [True: 0, False: 2.65k]
  ------------------
 9579|      0|        type_add_flags(type, Py_TPFLAGS_IMMUTABLETYPE);
  ------------------
  |  |  500|      0|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
 9580|       |        /* Static types must be immortal */
 9581|      0|        _Py_SetImmortalUntracked((PyObject *)type);
 9582|      0|    }
 9583|       |
 9584|  2.65k|    int res;
 9585|  2.65k|    BEGIN_TYPE_LOCK();
 9586|  2.65k|    if (!(type->tp_flags & Py_TPFLAGS_READY)) {
  ------------------
  |  |  518|  2.65k|#define Py_TPFLAGS_READY (1UL << 12)
  ------------------
  |  Branch (9586:9): [True: 2.65k, False: 0]
  ------------------
 9587|  2.65k|        res = type_ready(type, 1);
 9588|  2.65k|    } else {
 9589|      0|        res = 0;
 9590|       |        assert(_PyType_CheckConsistency(type));
 9591|      0|    }
 9592|  2.65k|    END_TYPE_LOCK();
 9593|  2.65k|    return res;
 9594|  2.65k|}
_PyStaticType_InitForExtension:
 9639|     12|{
 9640|     12|    return init_static_type(interp, self, 0, ((self->tp_flags & Py_TPFLAGS_READY) == 0));
  ------------------
  |  |  518|     12|#define Py_TPFLAGS_READY (1UL << 12)
  ------------------
 9641|     12|}
_PyStaticType_InitBuiltin:
 9645|    402|{
 9646|    402|    return init_static_type(interp, self, 1, _Py_IsMainInterpreter(interp));
 9647|    402|}
_Py_slot_tp_getattr_hook:
10950|  4.23M|{
10951|  4.23M|    PyTypeObject *tp = Py_TYPE(self);
  ------------------
  |  |  213|  4.23M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.23M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.23M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10952|  4.23M|    PyObject *getattr, *getattribute, *res;
10953|       |
10954|       |    /* speed hack: we could use lookup_maybe, but that would resolve the
10955|       |       method fully for each attribute lookup for classes with
10956|       |       __getattr__, even when the attribute is present. So we use
10957|       |       _PyType_LookupRef and create the method only when needed, with
10958|       |       call_attribute. */
10959|  4.23M|    getattr = _PyType_LookupRef(tp, &_Py_ID(__getattr__));
  ------------------
  |  |  915|  4.23M|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.23M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.23M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10960|  4.23M|    if (getattr == NULL) {
  ------------------
  |  Branch (10960:9): [True: 0, False: 4.23M]
  ------------------
10961|       |        /* No __getattr__ hook: use a simpler dispatcher */
10962|      0|#ifndef Py_GIL_DISABLED
10963|       |        // Replacing the slot is only thread-safe if there is a GIL.
10964|      0|        tp->tp_getattro = _Py_slot_tp_getattro;
10965|      0|#endif
10966|      0|        return _Py_slot_tp_getattro(self, name);
10967|      0|    }
10968|       |    /* speed hack: we could use lookup_maybe, but that would resolve the
10969|       |       method fully for each attribute lookup for classes with
10970|       |       __getattr__, even when self has the default __getattribute__
10971|       |       method. So we use _PyType_LookupRef and create the method only when
10972|       |       needed, with call_attribute. */
10973|  4.23M|    getattribute = _PyType_LookupRef(tp, &_Py_ID(__getattribute__));
  ------------------
  |  |  915|  4.23M|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.23M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.23M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10974|  4.23M|    if (getattribute == NULL ||
  ------------------
  |  Branch (10974:9): [True: 0, False: 4.23M]
  ------------------
10975|  4.23M|        (Py_IS_TYPE(getattribute, &PyWrapperDescr_Type) &&
  ------------------
  |  |  215|  8.47M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  4.23M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.23M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 4.23M, False: 0]
  |  |  ------------------
  ------------------
10976|  4.23M|         ((PyWrapperDescrObject *)getattribute)->d_wrapped ==
  ------------------
  |  Branch (10976:10): [True: 4.23M, False: 0]
  ------------------
10977|  4.23M|             (void *)PyObject_GenericGetAttr)) {
10978|  4.23M|        Py_XDECREF(getattribute);
  ------------------
  |  |  524|  4.23M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.23M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.23M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10979|  4.23M|        res = _PyObject_GenericGetAttrWithDict(self, name, NULL, 1);
10980|       |        /* if res == NULL with no exception set, then it must be an
10981|       |           AttributeError suppressed by us. */
10982|  4.23M|        if (res == NULL && !PyErr_Occurred()) {
  ------------------
  |  Branch (10982:13): [True: 846k, False: 3.39M]
  |  Branch (10982:28): [True: 846k, False: 0]
  ------------------
10983|   846k|            res = call_attribute(self, getattr, name);
10984|   846k|        }
10985|  4.23M|    }
10986|      0|    else {
10987|      0|        res = call_attribute(self, getattribute, name);
10988|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10989|      0|        if (res == NULL && PyErr_ExceptionMatches(PyExc_AttributeError)) {
  ------------------
  |  Branch (10989:13): [True: 0, False: 0]
  |  Branch (10989:28): [True: 0, False: 0]
  ------------------
10990|      0|            PyErr_Clear();
10991|      0|            res = call_attribute(self, getattr, name);
10992|      0|        }
10993|      0|    }
10994|       |
10995|  4.23M|    Py_DECREF(getattr);
  ------------------
  |  |  430|  4.23M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.23M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.23M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10996|  4.23M|    return res;
10997|  4.23M|}
_PyType_InitSlotDefs:
12140|      2|{
12141|      2|    if (!_Py_IsMainInterpreter(interp)) {
  ------------------
  |  Branch (12141:9): [True: 0, False: 2]
  ------------------
12142|      0|        return 0;
12143|      0|    }
12144|      2|    PyObject *bytearray = NULL;
12145|      2|    PyObject *cache = PyDict_New();
12146|      2|    if (!cache) {
  ------------------
  |  Branch (12146:9): [True: 0, False: 2]
  ------------------
12147|      0|        return -1;
12148|      0|    }
12149|       |
12150|      2|    pytype_slotdef *p;
12151|      2|    Py_ssize_t idx = 0;
12152|    190|    for (p = slotdefs; p->name_strobj; p++, idx++) {
  ------------------
  |  Branch (12152:24): [True: 188, False: 2]
  ------------------
12153|    188|        assert(idx < 255);
12154|       |
12155|    188|        if (PyDict_GetItemRef(cache, p->name_strobj, &bytearray) < 0) {
  ------------------
  |  Branch (12155:13): [True: 0, False: 188]
  ------------------
12156|      0|            goto error;
12157|      0|        }
12158|       |
12159|    188|        if (!bytearray) {
  ------------------
  |  Branch (12159:13): [True: 162, False: 26]
  ------------------
12160|    162|            Py_ssize_t size = sizeof(uint8_t) * (1 + MAX_EQUIV);
  ------------------
  |  |  729|    162|#define MAX_EQUIV 10
  ------------------
12161|    162|            bytearray = PyByteArray_FromStringAndSize(NULL, size);
12162|    162|            if (!bytearray) {
  ------------------
  |  Branch (12162:17): [True: 0, False: 162]
  ------------------
12163|      0|                goto error;
12164|      0|            }
12165|       |
12166|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12167|    162|            data[0] = 0;
12168|       |
12169|    162|            if (PyDict_SetItem(cache, p->name_strobj, bytearray) < 0) {
  ------------------
  |  Branch (12169:17): [True: 0, False: 162]
  ------------------
12170|      0|                goto error;
12171|      0|            }
12172|    162|        }
12173|       |
12174|    188|        assert(PyByteArray_CheckExact(bytearray));
12175|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12176|       |
12177|    188|        data[0] += 1;
12178|    188|        assert(data[0] < MAX_EQUIV);
12179|       |
12180|    188|        data[data[0]] = (uint8_t)idx;
12181|       |
12182|    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]
  |  |  ------------------
  ------------------
12183|    188|    }
12184|       |
12185|      2|    memset(slotdefs_dups, -1, sizeof(slotdefs_dups));
12186|       |
12187|      2|    Py_ssize_t pos = 0;
12188|      2|    PyObject *key = NULL;
12189|      2|    PyObject *value = NULL;
12190|    164|    while (PyDict_Next(cache, &pos, &key, &value)) {
  ------------------
  |  Branch (12190:12): [True: 162, False: 2]
  ------------------
12191|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12192|    162|        uint8_t n = data[0];
12193|    350|        for (uint8_t i = 0; i < n; i++) {
  ------------------
  |  Branch (12193:29): [True: 188, False: 162]
  ------------------
12194|    188|            uint8_t idx = data[i + 1];
12195|    188|            memcpy(&slotdefs_dups[idx], data, sizeof(uint8_t) * (n + 1));
12196|    188|        }
12197|    162|    }
12198|       |
12199|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12200|      2|    return 0;
12201|       |
12202|      0|error:
12203|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12204|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12205|      0|    return -1;
12206|      2|}
_PySuper_LookupDescr:
12543|   223k|{
12544|   223k|    PyObject *mro, *res;
12545|   223k|    Py_ssize_t i, n;
12546|       |
12547|   223k|    mro = lookup_tp_mro(su_obj_type);
12548|   223k|    if (mro == NULL)
  ------------------
  |  Branch (12548:9): [True: 0, False: 223k]
  ------------------
12549|      0|        return NULL;
12550|       |
12551|       |    /* Keep a strong reference to mro because su_obj_type->tp_mro can be
12552|       |       replaced during PyDict_GetItemRef(dict, name, &res). */
12553|   223k|    PyThreadState *tstate = _PyThreadState_GET();
12554|   223k|    _PyCStackRef mro_ref;
12555|   223k|    _PyThreadState_PushCStackRefNew(tstate, &mro_ref, mro);
12556|       |
12557|   223k|    assert(PyTuple_Check(mro));
12558|   223k|    n = PyTuple_GET_SIZE(mro);
  ------------------
  |  |   27|   223k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   223k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   223k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12559|       |
12560|       |    /* No need to check the last one: it's gonna be skipped anyway.  */
12561|   253k|    for (i = 0; i+1 < n; i++) {
  ------------------
  |  Branch (12561:17): [True: 253k, False: 0]
  ------------------
12562|   253k|        if ((PyObject *)(su_type) == PyTuple_GET_ITEM(mro, i))
  ------------------
  |  |   29|   253k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|   253k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   253k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12562:13): [True: 223k, False: 29.9k]
  ------------------
12563|   223k|            break;
12564|   253k|    }
12565|   223k|    i++;  /* skip su->type (if any)  */
12566|   223k|    if (i >= n) {
  ------------------
  |  Branch (12566:9): [True: 0, False: 223k]
  ------------------
12567|      0|        _PyThreadState_PopCStackRef(tstate, &mro_ref);
12568|      0|        return NULL;
12569|      0|    }
12570|       |
12571|   260k|    do {
12572|   260k|        PyObject *obj = PyTuple_GET_ITEM(mro, i);
  ------------------
  |  |   29|   260k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|   260k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   260k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12573|   260k|        PyObject *dict = lookup_tp_dict(_PyType_CAST(obj));
  ------------------
  |  |  770|   260k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|   260k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
12574|   260k|        assert(dict != NULL && PyDict_Check(dict));
12575|       |
12576|   260k|        if (PyDict_GetItemRef(dict, name, &res) != 0) {
  ------------------
  |  Branch (12576:13): [True: 223k, False: 36.9k]
  ------------------
12577|       |            // found or error
12578|   223k|            _PyThreadState_PopCStackRef(tstate, &mro_ref);
12579|   223k|            return res;
12580|   223k|        }
12581|       |
12582|  36.9k|        i++;
12583|  36.9k|    } while (i < n);
  ------------------
  |  Branch (12583:14): [True: 36.9k, False: 0]
  ------------------
12584|      0|    _PyThreadState_PopCStackRef(tstate, &mro_ref);
12585|       |    return NULL;
12586|   223k|}
_PySuper_Lookup:
12724|   221k|{
12725|   221k|    PyTypeObject *su_obj_type = supercheck(su_type, su_obj);
12726|   221k|    if (su_obj_type == NULL) {
  ------------------
  |  Branch (12726:9): [True: 0, False: 221k]
  ------------------
12727|      0|        return NULL;
12728|      0|    }
12729|   221k|    PyObject *res = do_super_lookup(NULL, su_type, su_obj, su_obj_type, name, method);
12730|   221k|    Py_DECREF(su_obj_type);
  ------------------
  |  |  430|   221k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   221k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   221k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12731|   221k|    return res;
12732|   221k|}
typeobject.c:managed_static_type_state_get:
  286|  24.1M|{
  287|       |    // It's probably a builtin type.
  288|  24.1M|    size_t index = managed_static_type_index_get(self);
  289|  24.1M|    managed_static_type_state *state =
  290|  24.1M|            &(interp->types.builtins.initialized[index]);
  291|  24.1M|    if (state->type == self) {
  ------------------
  |  Branch (291:9): [True: 24.1M, False: 684]
  ------------------
  292|  24.1M|        return state;
  293|  24.1M|    }
  294|    684|    if (index > _Py_MAX_MANAGED_STATIC_EXT_TYPES) {
  ------------------
  |  |  532|    684|#define _Py_MAX_MANAGED_STATIC_EXT_TYPES 10
  ------------------
  |  Branch (294:9): [True: 0, False: 684]
  ------------------
  295|      0|        return state;
  296|      0|    }
  297|    684|    return &(interp->types.for_extensions.initialized[index]);
  298|    684|}
typeobject.c:managed_static_type_index_get:
  240|  24.1M|{
  241|  24.1M|    assert(managed_static_type_index_is_set(self));
  242|       |    /* We store a 1-based index so 0 can mean "not initialized". */
  243|  24.1M|    return (size_t)self->tp_subclasses - 1;
  244|  24.1M|}
typeobject.c:lookup_tp_dict:
  528|  59.3M|{
  529|  59.3M|    if (self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  59.3M|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (529:9): [True: 24.0M, False: 35.3M]
  ------------------
  530|  24.0M|        PyInterpreterState *interp = _PyInterpreterState_GET();
  531|  24.0M|        managed_static_type_state *state = _PyStaticType_GetState(interp, self);
  532|  24.0M|        assert(state != NULL);
  533|  24.0M|        return state->tp_dict;
  534|  24.0M|    }
  535|  35.3M|    return self->tp_dict;
  536|  59.3M|}
typeobject.c:lookup_tp_bases:
  581|  15.9k|{
  582|  15.9k|    return self->tp_bases;
  583|  15.9k|}
typeobject.c:lookup_tp_subclasses:
  733|  6.59k|{
  734|  6.59k|    if (self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  6.59k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (734:9): [True: 1.82k, False: 4.76k]
  ------------------
  735|  1.82k|        PyInterpreterState *interp = _PyInterpreterState_GET();
  736|  1.82k|        managed_static_type_state *state = _PyStaticType_GetState(interp, self);
  737|  1.82k|        assert(state != NULL);
  738|  1.82k|        return state->tp_subclasses;
  739|  1.82k|    }
  740|  4.76k|    return (PyObject *)self->tp_subclasses;
  741|  6.59k|}
typeobject.c:init_tp_subclasses:
  701|    630|{
  702|    630|    PyObject *subclasses = PyDict_New();
  703|    630|    if (subclasses == NULL) {
  ------------------
  |  Branch (703:9): [True: 0, False: 630]
  ------------------
  704|      0|        return NULL;
  705|      0|    }
  706|    630|    if (self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|    630|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (706:9): [True: 102, False: 528]
  ------------------
  707|    102|        PyInterpreterState *interp = _PyInterpreterState_GET();
  708|    102|        managed_static_type_state *state = _PyStaticType_GetState(interp, self);
  709|    102|        state->tp_subclasses = subclasses;
  710|    102|        return subclasses;
  711|    102|    }
  712|    528|    self->tp_subclasses = (void *)subclasses;
  713|    528|    return subclasses;
  714|    630|}
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: 152, False: 15.2k]
  |  Branch (858:31): [True: 32, False: 120]
  ------------------
  859|     32|            return NULL;
  860|  15.3k|        doc++;
  861|  15.3k|    }
  862|     16|    return NULL;
  863|    392|}
typeobject.c:type_modified_unlocked:
 1167|  6.46k|{
 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.46k|    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.46k|    if (type->tp_version_tag == 0) {
  ------------------
  |  Branch (1189:9): [True: 4.22k, False: 2.24k]
  ------------------
 1190|  4.22k|        return;
 1191|  4.22k|    }
 1192|       |    // Cannot modify static builtin types.
 1193|  6.46k|    assert((type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) == 0);
 1194|       |
 1195|  2.24k|    PyObject *subclasses = lookup_tp_subclasses(type);
 1196|  2.24k|    if (subclasses != NULL) {
  ------------------
  |  Branch (1196:9): [True: 8, False: 2.23k]
  ------------------
 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.24k|    if (type->tp_watched) {
  ------------------
  |  Branch (1212:9): [True: 0, False: 2.24k]
  ------------------
 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.24k|    set_version_unlocked(type, 0); /* 0 is not a valid version tag */
 1234|  2.24k|    if (PyType_HasFeature(type, Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|  2.24k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (1234:9): [True: 2.24k, False: 0]
  ------------------
 1235|       |        // This field *must* be invalidated if the type is modified (see the
 1236|       |        // comment on struct _specialization_cache):
 1237|  2.24k|        FT_ATOMIC_STORE_PTR_RELAXED(
  ------------------
  |  |  162|  2.24k|#define FT_ATOMIC_STORE_PTR_RELAXED(value, new_value) value = new_value
  ------------------
 1238|  2.24k|            ((PyHeapTypeObject *)type)->_spec_cache.getitem, NULL);
 1239|  2.24k|    }
 1240|  2.24k|}
typeobject.c:set_version_unlocked:
 1135|  5.77k|{
 1136|  5.77k|    assert(version == 0 || (tp->tp_versions_used != _Py_ATTR_CACHE_UNUSED));
 1137|  5.77k|#ifndef Py_GIL_DISABLED
 1138|  5.77k|    PyInterpreterState *interp = _PyInterpreterState_GET();
 1139|       |    // lookup the old version and set to null
 1140|  5.77k|    if (tp->tp_version_tag != 0) {
  ------------------
  |  Branch (1140:9): [True: 2.24k, False: 3.53k]
  ------------------
 1141|  2.24k|        PyTypeObject **slot =
 1142|  2.24k|            interp->types.type_version_cache
 1143|  2.24k|            + (tp->tp_version_tag % TYPE_VERSION_CACHE_SIZE);
  ------------------
  |  |  584|  2.24k|#define TYPE_VERSION_CACHE_SIZE (1<<12)  /* Must be a power of 2 */
  ------------------
 1144|  2.24k|        *slot = NULL;
 1145|  2.24k|    }
 1146|  5.77k|    if (version) {
  ------------------
  |  Branch (1146:9): [True: 3.53k, False: 2.24k]
  ------------------
 1147|  3.53k|        tp->tp_versions_used++;
 1148|  3.53k|    }
 1149|       |#else
 1150|       |    if (version) {
 1151|       |        _Py_atomic_add_uint16(&tp->tp_versions_used, 1);
 1152|       |    }
 1153|       |#endif
 1154|  5.77k|    FT_ATOMIC_STORE_UINT_RELAXED(tp->tp_version_tag, version);
  ------------------
  |  |  189|  5.77k|#define FT_ATOMIC_STORE_UINT_RELAXED(value, new_value) value = new_value
  ------------------
 1155|  5.77k|#ifndef Py_GIL_DISABLED
 1156|  5.77k|    if (version != 0) {
  ------------------
  |  Branch (1156:9): [True: 3.53k, False: 2.24k]
  ------------------
 1157|  3.53k|        PyTypeObject **slot =
 1158|  3.53k|            interp->types.type_version_cache
 1159|  3.53k|            + (version % TYPE_VERSION_CACHE_SIZE);
  ------------------
  |  |  584|  3.53k|#define TYPE_VERSION_CACHE_SIZE (1<<12)  /* Must be a power of 2 */
  ------------------
 1160|  3.53k|        *slot = tp;
 1161|  3.53k|    }
 1162|  5.77k|#endif
 1163|  5.77k|}
typeobject.c:assign_version_tag:
 1409|  6.52k|{
 1410|  6.52k|    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.52k|    if (type->tp_version_tag != 0) {
  ------------------
  |  Branch (1416:9): [True: 3.38k, False: 3.14k]
  ------------------
 1417|  3.38k|        return 1;
 1418|  3.38k|    }
 1419|  3.14k|    if (!_PyType_HasFeature(type, Py_TPFLAGS_READY)) {
  ------------------
  |  |  518|  3.14k|#define Py_TPFLAGS_READY (1UL << 12)
  ------------------
  |  Branch (1419:9): [True: 0, False: 3.14k]
  ------------------
 1420|      0|        return 0;
 1421|      0|    }
 1422|  3.14k|    if (type->tp_versions_used >= MAX_VERSIONS_PER_CLASS) {
  ------------------
  |  | 1389|  3.14k|#define MAX_VERSIONS_PER_CLASS 1000
  ------------------
  |  Branch (1422:9): [True: 0, False: 3.14k]
  ------------------
 1423|       |        /* (this includes `tp_versions_used == _Py_ATTR_CACHE_UNUSED`) */
 1424|      0|        return 0;
 1425|      0|    }
 1426|       |
 1427|  3.14k|    PyObject *bases = lookup_tp_bases(type);
 1428|  3.14k|    Py_ssize_t n = PyTuple_GET_SIZE(bases);
  ------------------
  |  |   27|  3.14k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.14k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.14k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1429|  6.48k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (1429:28): [True: 3.33k, False: 3.14k]
  ------------------
 1430|  3.33k|        PyObject *b = PyTuple_GET_ITEM(bases, i);
  ------------------
  |  |   29|  3.33k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  3.33k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.33k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1431|  3.33k|        if (!assign_version_tag(interp, _PyType_CAST(b))) {
  ------------------
  |  |  770|  3.33k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.33k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (1431:13): [True: 0, False: 3.33k]
  ------------------
 1432|      0|            return 0;
 1433|      0|        }
 1434|  3.33k|    }
 1435|  3.14k|    if (type->tp_flags & Py_TPFLAGS_IMMUTABLETYPE) {
  ------------------
  |  |  500|  3.14k|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (1435:9): [True: 71, False: 3.07k]
  ------------------
 1436|       |        /* static types */
 1437|     71|        unsigned int next_version_tag = next_global_version_tag();
 1438|     71|        if (next_version_tag == 0) {
  ------------------
  |  Branch (1438:13): [True: 0, False: 71]
  ------------------
 1439|       |            /* We have run out of version numbers */
 1440|      0|            return 0;
 1441|      0|        }
 1442|     71|        set_version_unlocked(type, next_version_tag);
 1443|     71|        assert (type->tp_version_tag <= _Py_MAX_GLOBAL_TYPE_VERSION_TAG);
 1444|     71|    }
 1445|  3.07k|    else {
 1446|       |        /* heap types */
 1447|  3.07k|        if (NEXT_VERSION_TAG(interp) == 0) {
  ------------------
  |  |   61|  3.07k|    (interp)->types.next_version_tag
  ------------------
  |  Branch (1447:13): [True: 0, False: 3.07k]
  ------------------
 1448|       |            /* We have run out of version numbers */
 1449|      0|            return 0;
 1450|      0|        }
 1451|  3.07k|        set_version_unlocked(type, NEXT_VERSION_TAG(interp)++);
  ------------------
  |  |   61|  3.07k|    (interp)->types.next_version_tag
  ------------------
 1452|  3.07k|        assert (type->tp_version_tag != 0);
 1453|  3.07k|    }
 1454|  3.14k|    return 1;
 1455|  3.14k|}
typeobject.c:next_global_version_tag:
 1396|    463|{
 1397|    463|    unsigned int old;
 1398|    463|    do {
 1399|    463|        old = _Py_atomic_load_uint_relaxed(&_PyRuntime.types.next_version_tag);
 1400|    463|        if (old >= _Py_MAX_GLOBAL_TYPE_VERSION_TAG) {
  ------------------
  |  |   35|    463|#define _Py_MAX_GLOBAL_TYPE_VERSION_TAG (_Py_TYPE_BASE_VERSION_TAG - 1)
  |  |  ------------------
  |  |  |  |   34|    463|#define _Py_TYPE_BASE_VERSION_TAG (2<<16)
  |  |  ------------------
  ------------------
  |  Branch (1400:13): [True: 0, False: 463]
  ------------------
 1401|      0|            return 0;
 1402|      0|        }
 1403|    463|    } while (!_Py_atomic_compare_exchange_uint(&_PyRuntime.types.next_version_tag, &old, old + 1));
  ------------------
  |  Branch (1403:14): [True: 0, False: 463]
  ------------------
 1404|    463|    return old + 1;
 1405|    463|}
typeobject.c:type_qualname:
 1535|    557|{
 1536|    557|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  200|    557|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1537|    557|    if (type->tp_flags & Py_TPFLAGS_HEAPTYPE) {
  ------------------
  |  |  503|    557|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (1537:9): [True: 473, False: 84]
  ------------------
 1538|    473|        PyHeapTypeObject* et = (PyHeapTypeObject*)type;
 1539|    473|        return Py_NewRef(et->ht_qualname);
  ------------------
  |  |  550|    473|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    473|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    473|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1540|    473|    }
 1541|     84|    else {
 1542|     84|        return PyUnicode_FromString(_PyType_Name(type));
 1543|     84|    }
 1544|    557|}
typeobject.c:type_module:
 1603|    428|{
 1604|    428|    PyObject *mod;
 1605|    428|    if (type->tp_flags & Py_TPFLAGS_HEAPTYPE) {
  ------------------
  |  |  503|    428|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (1605:9): [True: 338, False: 90]
  ------------------
 1606|    338|        PyObject *dict = lookup_tp_dict(type);
 1607|    338|        if (PyDict_GetItemRef(dict, &_Py_ID(__module__), &mod) == 0) {
  ------------------
  |  |  915|    338|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    338|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    338|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1607:13): [True: 0, False: 338]
  ------------------
 1608|      0|            PyErr_Format(PyExc_AttributeError, "__module__");
 1609|      0|        }
 1610|    338|    }
 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);
  ------------------
  |  |  915|     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|    428|    return mod;
 1626|    428|}
typeobject.c:is_subtype_with_mro:
 2900|  44.9M|{
 2901|  44.9M|    int res;
 2902|  44.9M|    if (a_mro != NULL) {
  ------------------
  |  Branch (2902:9): [True: 44.9M, False: 50]
  ------------------
 2903|       |        /* Deal with multiple inheritance without recursion
 2904|       |           by walking the MRO tuple */
 2905|  44.9M|        Py_ssize_t i, n;
 2906|  44.9M|        assert(PyTuple_Check(a_mro));
 2907|  44.9M|        n = PyTuple_GET_SIZE(a_mro);
  ------------------
  |  |   27|  44.9M|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  44.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  44.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2908|  44.9M|        res = 0;
 2909|   109M|        for (i = 0; i < n; i++) {
  ------------------
  |  Branch (2909:21): [True: 79.9M, False: 29.4M]
  ------------------
 2910|  79.9M|            if (PyTuple_GET_ITEM(a_mro, i) == (PyObject *)b) {
  ------------------
  |  |   29|  79.9M|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  79.9M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  79.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2910:17): [True: 15.5M, False: 64.4M]
  ------------------
 2911|  15.5M|                res = 1;
 2912|  15.5M|                break;
 2913|  15.5M|            }
 2914|  79.9M|        }
 2915|  44.9M|    }
 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|  44.9M|    return res;
 2921|  44.9M|}
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|  71.7k|{
 3161|  71.7k|    PyThreadState *tstate = _PyThreadState_GET();
 3162|  71.7k|    _PyCStackRef cref;
 3163|  71.7k|    _PyThreadState_PushCStackRef(tstate, &cref);
 3164|       |
 3165|  71.7k|    PyObject *res = NULL;
 3166|  71.7k|    int unbound = lookup_maybe_method(self, attr, &cref.ref);
 3167|  71.7k|    PyObject *func = PyStackRef_AsPyObjectBorrow(cref.ref);
 3168|  71.7k|    if (attr_is_none != NULL) {
  ------------------
  |  Branch (3168:9): [True: 71.4k, False: 292]
  ------------------
 3169|  71.4k|        *attr_is_none = (func == Py_None);
  ------------------
  |  |  616|  71.4k|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3170|  71.4k|    }
 3171|  71.7k|    if (func != NULL && (func != Py_None || attr_is_none == NULL)) {
  ------------------
  |  |  616|   143k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3171:9): [True: 71.7k, False: 0]
  |  Branch (3171:26): [True: 71.7k, False: 0]
  |  Branch (3171:45): [True: 0, False: 0]
  ------------------
 3172|  71.7k|        res = call_unbound_noarg(unbound, func, self);
 3173|  71.7k|    }
 3174|  71.7k|    _PyThreadState_PopCStackRef(tstate, &cref);
 3175|  71.7k|    return res;
 3176|  71.7k|}
typeobject.c:lookup_maybe_method:
 3029|  77.1k|{
 3030|  77.1k|    return lookup_method_ex(self, attr, out, 0);
 3031|  77.1k|}
typeobject.c:lookup_method_ex:
 2995|   897k|{
 2996|   897k|    _PyType_LookupStackRefAndVersion(Py_TYPE(self), attr, out);
  ------------------
  |  |  213|   897k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   897k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   897k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2997|   897k|    if (PyStackRef_IsNull(*out)) {
  ------------------
  |  |  470|   897k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  467|   897k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|   897k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (470:32): [True: 0, False: 897k]
  |  |  ------------------
  ------------------
 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|   897k|    PyObject *value = PyStackRef_AsPyObjectBorrow(*out);
 3005|   897k|    if (_PyType_HasFeature(Py_TYPE(value), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  213|   897k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   897k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   897k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (_PyType_HasFeature(Py_TYPE(value), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  534|   897k|#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
  ------------------
  |  Branch (3005:9): [True: 897k, False: 0]
  ------------------
 3006|       |        /* Avoid temporary PyMethodObject */
 3007|   897k|        return 1;
 3008|   897k|    }
 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);
  ------------------
  |  |  711|      0|    do { \
  |  |  712|      0|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  713|      0|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  714|      0|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  715|      0|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  716|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (716: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|  75.6k|{
 3058|  75.6k|    if (unbound) {
  ------------------
  |  Branch (3058:9): [True: 75.6k, False: 0]
  ------------------
 3059|  75.6k|        return PyObject_CallOneArg(func, self);
 3060|  75.6k|    }
 3061|      0|    else {
 3062|      0|        return _PyObject_CallNoArgs(func);
 3063|      0|    }
 3064|  75.6k|}
typeobject.c:maybe_call_special_one_arg:
 3181|  1.70k|{
 3182|  1.70k|    PyThreadState *tstate = _PyThreadState_GET();
 3183|  1.70k|    _PyCStackRef cref;
 3184|  1.70k|    _PyThreadState_PushCStackRef(tstate, &cref);
 3185|       |
 3186|  1.70k|    PyObject *res = NULL;
 3187|  1.70k|    int unbound = lookup_maybe_method(self, attr, &cref.ref);
 3188|  1.70k|    PyObject *func = PyStackRef_AsPyObjectBorrow(cref.ref);
 3189|  1.70k|    if (attr_is_none != NULL) {
  ------------------
  |  Branch (3189:9): [True: 409, False: 1.29k]
  ------------------
 3190|    409|        *attr_is_none = (func == Py_None);
  ------------------
  |  |  616|    409|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3191|    409|    }
 3192|  1.70k|    if (func != NULL && (func != Py_None || attr_is_none == NULL)) {
  ------------------
  |  |  616|  3.40k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3192:9): [True: 1.70k, False: 0]
  |  Branch (3192:26): [True: 1.70k, False: 0]
  |  Branch (3192:45): [True: 0, False: 0]
  ------------------
 3193|  1.70k|        PyObject *args[] = { self, arg };
 3194|  1.70k|        res = vectorcall_unbound(tstate, unbound, func, args, 2);
 3195|  1.70k|    }
 3196|  1.70k|    _PyThreadState_PopCStackRef(tstate, &cref);
 3197|  1.70k|    return res;
 3198|  1.70k|}
typeobject.c:vectorcall_unbound:
 3043|   477k|{
 3044|   477k|    size_t nargsf = nargs;
 3045|   477k|    if (!unbound) {
  ------------------
  |  Branch (3045:9): [True: 0, False: 477k]
  ------------------
 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|   477k|    EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_SLOT, func);
  ------------------
  |  |   80|   477k|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  ------------------
 3052|       |    return _PyObject_VectorcallTstate(tstate, func, args, nargsf, NULL);
 3053|   477k|}
typeobject.c:type_from_slots_or_spec:
 5226|    242|{
 5227|       |    /* Invariant: A non-NULL value in one of these means this function holds
 5228|       |     * a strong reference or owns allocated memory.
 5229|       |     * These get decrefed/freed/returned at the end, on both success and error.
 5230|       |     */
 5231|    242|    PyHeapTypeObject *res = NULL;
 5232|    242|    PyTypeObject *type;
 5233|    242|    PyObject *bases = NULL;
 5234|    242|    char *tp_doc = NULL;
 5235|    242|    PyObject *ht_name = NULL;
 5236|    242|    char *_ht_tpname = NULL;
 5237|       |
 5238|    242|    int r;
 5239|       |
 5240|       |    /* First pass of slots */
 5241|       |
 5242|    242|    Py_ssize_t nmembers = 0;
 5243|    242|    const PyMemberDef *weaklistoffset_member = NULL;
 5244|    242|    const PyMemberDef *dictoffset_member = NULL;
 5245|    242|    const PyMemberDef *vectorcalloffset_member = NULL;
 5246|    242|    Py_ssize_t basicsize = 0;
 5247|    242|    Py_ssize_t extra_basicsize = 0;
 5248|    242|    Py_ssize_t itemsize = 0;
 5249|    242|    int flags = 0;
 5250|    242|    void *token = NULL;
 5251|       |
 5252|    242|    bool have_relative_members = false;
 5253|    242|    Py_ssize_t max_relative_offset = 0;
 5254|       |
 5255|    242|    PyObject *bases_slot = NULL; /* borrowed from the slots */
 5256|       |
 5257|    242|    _PySlotIterator it;
 5258|       |
 5259|    242|    if (spec) {
  ------------------
  |  Branch (5259:9): [True: 242, False: 0]
  ------------------
 5260|    242|        assert(!slots);
 5261|    242|        if (spec->basicsize > 0) {
  ------------------
  |  Branch (5261:13): [True: 236, False: 6]
  ------------------
 5262|    236|            basicsize = spec->basicsize;
 5263|    236|        }
 5264|    242|        if (spec->basicsize < 0) {
  ------------------
  |  Branch (5264:13): [True: 0, False: 242]
  ------------------
 5265|      0|            extra_basicsize = -spec->basicsize;
 5266|      0|        }
 5267|    242|        itemsize = spec->itemsize;
 5268|    242|        flags = spec->flags;
 5269|    242|        _PySlotIterator_InitLegacy(&it, spec->slots, _PySlot_KIND_TYPE);
 5270|    242|        it.name = spec->name;
 5271|    242|    }
 5272|      0|    else {
 5273|      0|        assert(!spec);
 5274|      0|        assert(!metaclass);
 5275|      0|        assert(!module);
 5276|      0|        assert(!bases_in);
 5277|      0|        _PySlotIterator_Init(&it, slots, _PySlot_KIND_TYPE);
 5278|      0|    }
 5279|       |
 5280|    242|    #define NO_SPEC                                         \
 5281|    242|        if (spec) {                                         \
 5282|    242|            PyErr_Format(                                   \
 5283|    242|                PyExc_SystemError,                          \
 5284|    242|                "%s must not be used with PyType_Spec",     \
 5285|    242|                _PySlot_GetName(it.current.sl_id));         \
 5286|    242|            goto finally;                                   \
 5287|    242|        }                                                   \
 5288|       |        /////////////////////////////////////////////////////
 5289|       |
 5290|  2.08k|    while (_PySlotIterator_Next(&it)) {
  ------------------
  |  Branch (5290:12): [True: 1.84k, False: 242]
  ------------------
 5291|  1.84k|        switch (it.current.sl_id) {
  ------------------
  |  Branch (5291:17): [True: 294, False: 1.55k]
  ------------------
 5292|      0|        case Py_slot_invalid:
  ------------------
  |  |   25|      0|#define Py_slot_invalid 0xffff
  ------------------
  |  Branch (5292:9): [True: 0, False: 1.84k]
  ------------------
 5293|      0|            goto finally;
 5294|      0|        case Py_tp_name:
  ------------------
  |  |  103|      0|#define Py_tp_name 95
  ------------------
  |  Branch (5294:9): [True: 0, False: 1.84k]
  ------------------
 5295|      0|            NO_SPEC;
  ------------------
  |  | 5281|      0|        if (spec) {                                         \
  |  |  ------------------
  |  |  |  Branch (5281:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5282|      0|            PyErr_Format(                                   \
  |  | 5283|      0|                PyExc_SystemError,                          \
  |  | 5284|      0|                "%s must not be used with PyType_Spec",     \
  |  | 5285|      0|                _PySlot_GetName(it.current.sl_id));         \
  |  | 5286|      0|            goto finally;                                   \
  |  | 5287|      0|        }                                                   \
  ------------------
 5296|      0|            it.name = it.current.sl_ptr;
 5297|      0|            break;
 5298|      0|        case Py_tp_metaclass:
  ------------------
  |  |  115|      0|#define Py_tp_metaclass 107
  ------------------
  |  Branch (5298:9): [True: 0, False: 1.84k]
  ------------------
 5299|      0|            NO_SPEC;
  ------------------
  |  | 5281|      0|        if (spec) {                                         \
  |  |  ------------------
  |  |  |  Branch (5281:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5282|      0|            PyErr_Format(                                   \
  |  | 5283|      0|                PyExc_SystemError,                          \
  |  | 5284|      0|                "%s must not be used with PyType_Spec",     \
  |  | 5285|      0|                _PySlot_GetName(it.current.sl_id));         \
  |  | 5286|      0|            goto finally;                                   \
  |  | 5287|      0|        }                                                   \
  ------------------
 5300|      0|            metaclass = it.current.sl_ptr;
 5301|      0|            break;
 5302|      0|        case Py_tp_module:
  ------------------
  |  |  116|      0|#define Py_tp_module 108
  ------------------
  |  Branch (5302:9): [True: 0, False: 1.84k]
  ------------------
 5303|      0|            NO_SPEC;
  ------------------
  |  | 5281|      0|        if (spec) {                                         \
  |  |  ------------------
  |  |  |  Branch (5281:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5282|      0|            PyErr_Format(                                   \
  |  | 5283|      0|                PyExc_SystemError,                          \
  |  | 5284|      0|                "%s must not be used with PyType_Spec",     \
  |  | 5285|      0|                _PySlot_GetName(it.current.sl_id));         \
  |  | 5286|      0|            goto finally;                                   \
  |  | 5287|      0|        }                                                   \
  ------------------
 5304|      0|            module = it.current.sl_ptr;
 5305|      0|            break;
 5306|      0|        case Py_tp_bases:
  ------------------
  |  |   57|      0|#define Py_tp_bases 49
  ------------------
  |  Branch (5306:9): [True: 0, False: 1.84k]
  ------------------
 5307|      0|            bases_slot = it.current.sl_ptr;
 5308|      0|            break;
 5309|      0|        case Py_tp_base:
  ------------------
  |  |   56|      0|#define Py_tp_base 48
  ------------------
  |  Branch (5309:9): [True: 0, False: 1.84k]
  ------------------
 5310|      0|            if (!_PySlotIterator_SawSlot(&it, Py_tp_bases)) {
  ------------------
  |  |   57|      0|#define Py_tp_bases 49
  ------------------
  |  Branch (5310:17): [True: 0, False: 0]
  ------------------
 5311|      0|                bases_slot = it.current.sl_ptr;
 5312|      0|            }
 5313|      0|            break;
 5314|      0|        case Py_tp_basicsize:
  ------------------
  |  |  104|      0|#define Py_tp_basicsize 96
  ------------------
  |  Branch (5314:9): [True: 0, False: 1.84k]
  ------------------
 5315|      0|            NO_SPEC;
  ------------------
  |  | 5281|      0|        if (spec) {                                         \
  |  |  ------------------
  |  |  |  Branch (5281:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5282|      0|            PyErr_Format(                                   \
  |  | 5283|      0|                PyExc_SystemError,                          \
  |  | 5284|      0|                "%s must not be used with PyType_Spec",     \
  |  | 5285|      0|                _PySlot_GetName(it.current.sl_id));         \
  |  | 5286|      0|            goto finally;                                   \
  |  | 5287|      0|        }                                                   \
  ------------------
 5316|      0|            basicsize = it.current.sl_size;
 5317|      0|            if (basicsize <= 0) {
  ------------------
  |  Branch (5317:17): [True: 0, False: 0]
  ------------------
 5318|      0|                PyErr_SetString(
 5319|      0|                    PyExc_SystemError,
 5320|      0|                    "Py_tp_basicsize must be positive");
 5321|      0|                goto finally;
 5322|      0|            }
 5323|      0|            break;
 5324|      0|        case Py_tp_extra_basicsize:
  ------------------
  |  |  105|      0|#define Py_tp_extra_basicsize 97
  ------------------
  |  Branch (5324:9): [True: 0, False: 1.84k]
  ------------------
 5325|      0|            NO_SPEC;
  ------------------
  |  | 5281|      0|        if (spec) {                                         \
  |  |  ------------------
  |  |  |  Branch (5281:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5282|      0|            PyErr_Format(                                   \
  |  | 5283|      0|                PyExc_SystemError,                          \
  |  | 5284|      0|                "%s must not be used with PyType_Spec",     \
  |  | 5285|      0|                _PySlot_GetName(it.current.sl_id));         \
  |  | 5286|      0|            goto finally;                                   \
  |  | 5287|      0|        }                                                   \
  ------------------
 5326|      0|            extra_basicsize = it.current.sl_size;
 5327|      0|            if (extra_basicsize <= 0) {
  ------------------
  |  Branch (5327:17): [True: 0, False: 0]
  ------------------
 5328|      0|                PyErr_SetString(
 5329|      0|                    PyExc_SystemError,
 5330|      0|                    "Py_tp_extra_basicsize must be positive");
 5331|      0|                goto finally;
 5332|      0|            }
 5333|      0|            break;
 5334|      0|        case Py_tp_itemsize:
  ------------------
  |  |  106|      0|#define Py_tp_itemsize 98
  ------------------
  |  Branch (5334:9): [True: 0, False: 1.84k]
  ------------------
 5335|      0|            NO_SPEC;
  ------------------
  |  | 5281|      0|        if (spec) {                                         \
  |  |  ------------------
  |  |  |  Branch (5281:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5282|      0|            PyErr_Format(                                   \
  |  | 5283|      0|                PyExc_SystemError,                          \
  |  | 5284|      0|                "%s must not be used with PyType_Spec",     \
  |  | 5285|      0|                _PySlot_GetName(it.current.sl_id));         \
  |  | 5286|      0|            goto finally;                                   \
  |  | 5287|      0|        }                                                   \
  ------------------
 5336|      0|            itemsize = it.current.sl_size;
 5337|      0|            if (itemsize <= 0) {
  ------------------
  |  Branch (5337:17): [True: 0, False: 0]
  ------------------
 5338|      0|                PyErr_SetString(
 5339|      0|                    PyExc_SystemError,
 5340|      0|                    "Py_tp_itemsize must be positive");
 5341|      0|                goto finally;
 5342|      0|            }
 5343|      0|            break;
 5344|      0|        case Py_tp_flags:
  ------------------
  |  |  107|      0|#define Py_tp_flags 99
  ------------------
  |  Branch (5344:9): [True: 0, False: 1.84k]
  ------------------
 5345|      0|            NO_SPEC;
  ------------------
  |  | 5281|      0|        if (spec) {                                         \
  |  |  ------------------
  |  |  |  Branch (5281:13): [True: 0, False: 0]
  |  |  ------------------
  |  | 5282|      0|            PyErr_Format(                                   \
  |  | 5283|      0|                PyExc_SystemError,                          \
  |  | 5284|      0|                "%s must not be used with PyType_Spec",     \
  |  | 5285|      0|                _PySlot_GetName(it.current.sl_id));         \
  |  | 5286|      0|            goto finally;                                   \
  |  | 5287|      0|        }                                                   \
  ------------------
 5346|      0|            flags = (int)it.current.sl_uint64;
 5347|      0|            break;
 5348|    114|        case Py_tp_members:
  ------------------
  |  |   80|    114|#define Py_tp_members 72
  ------------------
  |  Branch (5348:9): [True: 114, False: 1.73k]
  ------------------
 5349|    114|            for (const PyMemberDef *memb = it.current.sl_ptr;
 5350|    514|                 memb->name != NULL;
  ------------------
  |  Branch (5350:18): [True: 400, False: 114]
  ------------------
 5351|    400|                 memb++)
 5352|    400|            {
 5353|    400|                nmembers++;
 5354|    400|                if (memb->flags & Py_RELATIVE_OFFSET) {
  ------------------
  |  |   86|    400|#define Py_RELATIVE_OFFSET     (1 << 3)
  ------------------
  |  Branch (5354:21): [True: 0, False: 400]
  ------------------
 5355|      0|                    if (memb->offset < 0) {
  ------------------
  |  Branch (5355:25): [True: 0, False: 0]
  ------------------
 5356|      0|                        PyErr_SetString(
 5357|      0|                            PyExc_SystemError,
 5358|      0|                            "Member offset must not be negative");
 5359|      0|                        goto finally;
 5360|      0|                    }
 5361|      0|                    have_relative_members = true;
 5362|      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]
  |  |  ------------------
  ------------------
 5363|      0|                                                 memb->offset);
 5364|      0|                }
 5365|    400|                if (strcmp(memb->name, "__weaklistoffset__") == 0) {
  ------------------
  |  Branch (5365:21): [True: 40, False: 360]
  ------------------
 5366|     40|                    weaklistoffset_member = memb;
 5367|     40|                }
 5368|    360|                else if (strcmp(memb->name, "__dictoffset__") == 0) {
  ------------------
  |  Branch (5368:26): [True: 24, False: 336]
  ------------------
 5369|     24|                    dictoffset_member = memb;
 5370|     24|                }
 5371|    336|                else if (strcmp(memb->name, "__vectorcalloffset__") == 0) {
  ------------------
  |  Branch (5371:26): [True: 8, False: 328]
  ------------------
 5372|      8|                    vectorcalloffset_member = memb;
 5373|      8|                }
 5374|    400|            }
 5375|    114|            break;
 5376|    114|        case Py_tp_token:
  ------------------
  |  |   91|      2|#define Py_tp_token 83
  ------------------
  |  Branch (5376:9): [True: 2, False: 1.84k]
  ------------------
 5377|      2|            token = it.current.sl_ptr;
 5378|      2|            if (token == Py_TP_USE_SPEC) {
  ------------------
  |  |  365|      2|#define Py_TP_USE_SPEC NULL
  ------------------
  |  Branch (5378:17): [True: 2, False: 0]
  ------------------
 5379|      2|                if (!spec) {
  ------------------
  |  Branch (5379:21): [True: 0, False: 2]
  ------------------
 5380|      0|                    PyErr_SetString(
 5381|      0|                        PyExc_SystemError,
 5382|      0|                        "Py_tp_token: Py_TP_USE_SPEC (NULL) can only be "
 5383|      0|                        "used with PyType_Spec");
 5384|      0|                    goto finally;
 5385|      0|                }
 5386|      2|                token = spec;
 5387|      2|            }
 5388|      2|            break;
 5389|    178|        case Py_tp_doc:
  ------------------
  |  |   64|    178|#define Py_tp_doc 56
  ------------------
  |  Branch (5389:9): [True: 178, False: 1.66k]
  ------------------
 5390|       |            /* For the docstring slot, which usually points to a static string
 5391|       |               literal, we need to make a copy */
 5392|    178|            if (it.current.sl_ptr == NULL) {
  ------------------
  |  Branch (5392:17): [True: 0, False: 178]
  ------------------
 5393|      0|                PyMem_Free(tp_doc);
 5394|      0|                tp_doc = NULL;
 5395|      0|            }
 5396|    178|            else {
 5397|    178|                size_t len = strlen(it.current.sl_ptr)+1;
 5398|    178|                tp_doc = PyMem_Malloc(len);
 5399|    178|                if (tp_doc == NULL) {
  ------------------
  |  Branch (5399:21): [True: 0, False: 178]
  ------------------
 5400|      0|                    PyErr_NoMemory();
 5401|      0|                    goto finally;
 5402|      0|                }
 5403|    178|                memcpy(tp_doc, it.current.sl_ptr, len);
 5404|    178|            }
 5405|    178|            break;
 5406|  1.84k|        }
 5407|  1.84k|    }
 5408|    242|    #undef NO_SPEC
 5409|       |
 5410|       |    /* Required slots & bad combinations */
 5411|       |
 5412|    242|    if (it.name == NULL) {
  ------------------
  |  Branch (5412:9): [True: 0, False: 242]
  ------------------
 5413|      0|        if (spec) {
  ------------------
  |  Branch (5413:13): [True: 0, False: 0]
  ------------------
 5414|      0|            PyErr_SetString(PyExc_SystemError,
 5415|      0|                            "Type spec does not define the name field.");
 5416|      0|        }
 5417|      0|        else {
 5418|      0|            PyErr_SetString(PyExc_SystemError,
 5419|      0|                            "Py_tp_name slot is required.");
 5420|      0|        }
 5421|      0|        goto finally;
 5422|      0|    }
 5423|       |
 5424|    242|    if (_PySlotIterator_SawSlot(&it, Py_tp_basicsize)
  ------------------
  |  |  104|    242|#define Py_tp_basicsize 96
  ------------------
  |  Branch (5424:9): [True: 0, False: 242]
  ------------------
 5425|      0|        && _PySlotIterator_SawSlot(&it, Py_tp_extra_basicsize))
  ------------------
  |  |  105|      0|#define Py_tp_extra_basicsize 97
  ------------------
  |  Branch (5425:12): [True: 0, False: 0]
  ------------------
 5426|      0|    {
 5427|      0|        PyErr_Format(
 5428|      0|            PyExc_SystemError,
 5429|      0|            "type %s: Py_tp_basicsize and Py_tp_extra_basicsize are "
 5430|      0|            "mutually exclusive",
 5431|      0|            it.name);
 5432|      0|        goto finally;
 5433|      0|    }
 5434|       |
 5435|    242|    if (have_relative_members) {
  ------------------
  |  Branch (5435:9): [True: 0, False: 242]
  ------------------
 5436|      0|        if (!extra_basicsize) {
  ------------------
  |  Branch (5436:13): [True: 0, False: 0]
  ------------------
 5437|      0|            PyErr_SetString(
 5438|      0|                PyExc_SystemError,
 5439|      0|                "With Py_RELATIVE_OFFSET, basicsize must be extended");
 5440|      0|            goto finally;
 5441|      0|        }
 5442|      0|        if (max_relative_offset >= extra_basicsize) {
  ------------------
  |  Branch (5442:13): [True: 0, False: 0]
  ------------------
 5443|      0|            PyErr_SetString(
 5444|      0|                PyExc_SystemError,
 5445|      0|                "Member offset out of range (0..extra_basicsize)");
 5446|      0|            goto finally;
 5447|      0|        }
 5448|      0|    }
 5449|       |
 5450|       |    /* Prepare the type name and qualname */
 5451|       |
 5452|    242|    assert(it.name);
 5453|    242|    const char *s = strrchr(it.name, '.');
 5454|    242|    if (s == NULL) {
  ------------------
  |  Branch (5454:9): [True: 0, False: 242]
  ------------------
 5455|      0|        s = it.name;
 5456|      0|    }
 5457|    242|    else {
 5458|    242|        s++;
 5459|    242|    }
 5460|       |
 5461|    242|    ht_name = PyUnicode_FromString(s);
 5462|    242|    if (!ht_name) {
  ------------------
  |  Branch (5462:9): [True: 0, False: 242]
  ------------------
 5463|      0|        goto finally;
 5464|      0|    }
 5465|       |
 5466|       |    /* Copy the name to a buffer we own.
 5467|       |    *
 5468|       |    * Unfortunately, we can't use tp_name directly (with some
 5469|       |    * flag saying that it should be deallocated with the type),
 5470|       |    * because tp_name is public API and may be set independently
 5471|       |    * of any such flag.
 5472|       |    * So, we use a separate buffer, _ht_tpname, that's always
 5473|       |    * deallocated with the type (if it's non-NULL).
 5474|       |    */
 5475|    242|    Py_ssize_t name_buf_len = strlen(it.name) + 1;
 5476|    242|    _ht_tpname = PyMem_Malloc(name_buf_len);
 5477|    242|    if (_ht_tpname == NULL) {
  ------------------
  |  Branch (5477:9): [True: 0, False: 242]
  ------------------
 5478|      0|        goto finally;
 5479|      0|    }
 5480|    242|    memcpy(_ht_tpname, it.name, name_buf_len);
 5481|       |
 5482|       |    /* Get a tuple of bases.
 5483|       |     * bases is a strong reference (unlike bases_in).
 5484|       |     * (This is convoluted for backwards compatibility -- preserving priority
 5485|       |     * of the various ways to specify bases)
 5486|       |     */
 5487|    242|    if (!bases_in) {
  ------------------
  |  Branch (5487:9): [True: 184, False: 58]
  ------------------
 5488|    184|        bases_in = bases_slot;
 5489|    184|    }
 5490|    242|    if (bases_in) {
  ------------------
  |  Branch (5490:9): [True: 58, False: 184]
  ------------------
 5491|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5492|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5493|      0|        }
 5494|     58|        else {
 5495|     58|            bases = PyTuple_Pack(1, bases_in);
 5496|     58|        }
 5497|     58|    }
 5498|    184|    else {
 5499|    184|        bases = PyTuple_Pack(1, &PyBaseObject_Type);
 5500|    184|    }
 5501|    242|    if (!bases) {
  ------------------
  |  Branch (5501:9): [True: 0, False: 242]
  ------------------
 5502|      0|        goto finally;
 5503|      0|    }
 5504|       |
 5505|       |    /* If this is an immutable type, check if all bases are also immutable.
 5506|       |     * (This isn't necessary for static types: those can't have heap bases,
 5507|       |     * and only heap types can be mutable.)
 5508|       |     */
 5509|    242|    if (flags & Py_TPFLAGS_IMMUTABLETYPE) {
  ------------------
  |  |  500|    242|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (5509:9): [True: 208, False: 34]
  ------------------
 5510|    208|        if (check_immutable_bases(it.name, bases, 0) < 0) {
  ------------------
  |  Branch (5510:13): [True: 0, False: 208]
  ------------------
 5511|      0|            goto finally;
 5512|      0|        }
 5513|    208|    }
 5514|       |
 5515|       |    /* Calculate the metaclass */
 5516|       |
 5517|    242|    if (!metaclass) {
  ------------------
  |  Branch (5517:9): [True: 242, False: 0]
  ------------------
 5518|    242|        metaclass = &PyType_Type;
 5519|    242|    }
 5520|    242|    metaclass = _PyType_CalculateMetaclass(metaclass, bases);
 5521|    242|    if (metaclass == NULL) {
  ------------------
  |  Branch (5521:9): [True: 0, False: 242]
  ------------------
 5522|      0|        goto finally;
 5523|      0|    }
 5524|    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 (5524:9): [True: 0, False: 242]
  ------------------
 5525|      0|        PyErr_Format(PyExc_TypeError,
 5526|      0|                     "Metaclass '%R' is not a subclass of 'type'.",
 5527|      0|                     metaclass);
 5528|      0|        goto finally;
 5529|      0|    }
 5530|    242|    if (metaclass->tp_new && metaclass->tp_new != PyType_Type.tp_new) {
  ------------------
  |  Branch (5530:9): [True: 242, False: 0]
  |  Branch (5530:30): [True: 0, False: 242]
  ------------------
 5531|      0|        PyErr_SetString(
 5532|      0|            PyExc_TypeError,
 5533|      0|            "Metaclasses with custom tp_new are not supported.");
 5534|      0|        goto finally;
 5535|      0|    }
 5536|       |
 5537|       |    /* Calculate best base, and check that all bases are type objects */
 5538|    242|    PyTypeObject *base = find_best_base(bases);  // borrowed ref
 5539|    242|    if (base == NULL) {
  ------------------
  |  Branch (5539:9): [True: 0, False: 242]
  ------------------
 5540|      0|        goto finally;
 5541|      0|    }
 5542|       |    // find_best_base() should check Py_TPFLAGS_BASETYPE & raise a proper
 5543|       |    // exception, here we just check its work
 5544|    242|    assert(_PyType_HasFeature(base, Py_TPFLAGS_BASETYPE));
 5545|       |
 5546|       |    /* Calculate sizes */
 5547|       |
 5548|    242|    Py_ssize_t type_data_offset = basicsize;
 5549|    242|    if (extra_basicsize) {
  ------------------
  |  Branch (5549:9): [True: 0, False: 242]
  ------------------
 5550|       |        /* Extend */
 5551|      0|        assert(basicsize == 0);
 5552|      0|        type_data_offset = _align_up(base->tp_basicsize);
 5553|      0|        basicsize = type_data_offset + _align_up(extra_basicsize);
 5554|       |
 5555|       |        /* Inheriting variable-sized types is limited */
 5556|      0|        if (base->tp_itemsize
  ------------------
  |  Branch (5556:13): [True: 0, False: 0]
  ------------------
 5557|      0|            && !((base->tp_flags | flags) & Py_TPFLAGS_ITEMS_AT_END))
  ------------------
  |  |  548|      0|#define Py_TPFLAGS_ITEMS_AT_END (1UL << 23)
  ------------------
  |  Branch (5557:16): [True: 0, False: 0]
  ------------------
 5558|      0|        {
 5559|      0|            PyErr_SetString(
 5560|      0|                PyExc_SystemError,
 5561|      0|                "Cannot extend variable-size class without Py_TPFLAGS_ITEMS_AT_END.");
 5562|      0|            goto finally;
 5563|      0|        }
 5564|      0|    }
 5565|    242|    if (basicsize == 0) {
  ------------------
  |  Branch (5565:9): [True: 6, False: 236]
  ------------------
 5566|       |        /* Inherit */
 5567|      6|        basicsize = base->tp_basicsize;
 5568|      6|    }
 5569|       |
 5570|       |    /* Compute special offsets */
 5571|       |
 5572|    242|    Py_ssize_t weaklistoffset = 0;
 5573|    242|    if (special_offset_from_member(weaklistoffset_member, type_data_offset,
  ------------------
  |  Branch (5573:9): [True: 0, False: 242]
  ------------------
 5574|    242|                                  &weaklistoffset) < 0) {
 5575|      0|        goto finally;
 5576|      0|    }
 5577|    242|    Py_ssize_t dictoffset = 0;
 5578|    242|    if (special_offset_from_member(dictoffset_member, type_data_offset,
  ------------------
  |  Branch (5578:9): [True: 0, False: 242]
  ------------------
 5579|    242|                                  &dictoffset) < 0) {
 5580|      0|        goto finally;
 5581|      0|    }
 5582|    242|    Py_ssize_t vectorcalloffset = 0;
 5583|    242|    if (special_offset_from_member(vectorcalloffset_member, type_data_offset,
  ------------------
  |  Branch (5583:9): [True: 0, False: 242]
  ------------------
 5584|    242|                                  &vectorcalloffset) < 0) {
 5585|      0|        goto finally;
 5586|      0|    }
 5587|       |
 5588|       |    /* Allocate the new type
 5589|       |     *
 5590|       |     * Between here and PyType_Ready, we should limit:
 5591|       |     * - calls to Python code
 5592|       |     * - raising exceptions
 5593|       |     * - memory allocations
 5594|       |     */
 5595|       |
 5596|    242|    res = (PyHeapTypeObject*)metaclass->tp_alloc(metaclass, nmembers);
 5597|    242|    if (res == NULL) {
  ------------------
  |  Branch (5597:9): [True: 0, False: 242]
  ------------------
 5598|      0|        goto finally;
 5599|      0|    }
 5600|       |
 5601|    242|    type = &res->ht_type;
 5602|       |    /* The flags must be initialized early, before the GC traverses us */
 5603|    242|    type_set_flags(type, flags | Py_TPFLAGS_HEAPTYPE);
  ------------------
  |  |  503|    242|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
 5604|       |
 5605|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5606|       |
 5607|       |    /* Initialize essential fields */
 5608|       |
 5609|    242|    type->tp_as_async = &res->as_async;
 5610|    242|    type->tp_as_number = &res->as_number;
 5611|    242|    type->tp_as_sequence = &res->as_sequence;
 5612|    242|    type->tp_as_mapping = &res->as_mapping;
 5613|    242|    type->tp_as_buffer = &res->as_buffer;
 5614|       |
 5615|       |    /* Set slots we have prepared */
 5616|       |
 5617|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5618|    242|    set_tp_bases(type, bases, 1);
 5619|    242|    bases = NULL;  // We give our reference to bases to the type
 5620|       |
 5621|    242|    type->tp_doc = tp_doc;
 5622|    242|    tp_doc = NULL;  // Give ownership of the allocated memory to the type
 5623|       |
 5624|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5625|    242|    res->ht_name = ht_name;
 5626|    242|    ht_name = NULL;  // Give our reference to the type
 5627|       |
 5628|    242|    type->tp_name = _ht_tpname;
 5629|    242|    res->_ht_tpname = _ht_tpname;
 5630|    242|    _ht_tpname = NULL;  // Give ownership to the type
 5631|       |
 5632|    242|    res->ht_token = token;
 5633|       |
 5634|       |    /* Copy the sizes */
 5635|       |
 5636|    242|    type->tp_basicsize = basicsize;
 5637|    242|    type->tp_itemsize = itemsize;
 5638|       |
 5639|       |    /* Second pass of slots: copy most of them into the type */
 5640|       |
 5641|    242|    _PySlotIterator_Rewind(&it, spec ? (void*)spec->slots : (void*)slots);
  ------------------
  |  Branch (5641:33): [True: 242, False: 0]
  ------------------
 5642|  2.08k|    while (_PySlotIterator_Next(&it)) {
  ------------------
  |  Branch (5642:12): [True: 1.84k, False: 242]
  ------------------
 5643|  1.84k|        switch (it.current.sl_id) {
 5644|      0|        case Py_slot_invalid:
  ------------------
  |  |   25|      0|#define Py_slot_invalid 0xffff
  ------------------
  |  Branch (5644:9): [True: 0, False: 1.84k]
  ------------------
 5645|      0|            goto finally;
 5646|      0|        case Py_tp_base:
  ------------------
  |  |   56|      0|#define Py_tp_base 48
  ------------------
  |  Branch (5646:9): [True: 0, False: 1.84k]
  ------------------
 5647|      0|        case Py_tp_bases:
  ------------------
  |  |   57|      0|#define Py_tp_bases 49
  ------------------
  |  Branch (5647:9): [True: 0, False: 1.84k]
  ------------------
 5648|    178|        case Py_tp_doc:
  ------------------
  |  |   64|    178|#define Py_tp_doc 56
  ------------------
  |  Branch (5648:9): [True: 178, False: 1.66k]
  ------------------
 5649|       |            /* Processed above */
 5650|    178|            break;
 5651|    114|        case Py_tp_members:
  ------------------
  |  |   80|    114|#define Py_tp_members 72
  ------------------
  |  Branch (5651:9): [True: 114, False: 1.73k]
  ------------------
 5652|    114|            {
 5653|       |                /* Move the slots to the heap type itself */
 5654|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5655|    114|                memcpy(_PyHeapType_GET_MEMBERS(res), it.current.sl_ptr, len);
 5656|    114|                type->tp_members = _PyHeapType_GET_MEMBERS(res);
 5657|    114|                PyMemberDef *memb;
 5658|    114|                Py_ssize_t i;
 5659|    114|                for (memb = _PyHeapType_GET_MEMBERS(res), i = nmembers;
 5660|    514|                     i > 0; ++memb, --i)
  ------------------
  |  Branch (5660:22): [True: 400, False: 114]
  ------------------
 5661|    400|                {
 5662|    400|                    if (memb->flags & Py_RELATIVE_OFFSET) {
  ------------------
  |  |   86|    400|#define Py_RELATIVE_OFFSET     (1 << 3)
  ------------------
  |  Branch (5662:25): [True: 0, False: 400]
  ------------------
 5663|      0|                        memb->flags &= ~Py_RELATIVE_OFFSET;
  ------------------
  |  |   86|      0|#define Py_RELATIVE_OFFSET     (1 << 3)
  ------------------
 5664|      0|                        memb->offset += type_data_offset;
 5665|      0|                    }
 5666|    400|                }
 5667|    114|            }
 5668|    114|            break;
 5669|  1.55k|        default:
  ------------------
  |  Branch (5669:9): [True: 1.55k, False: 292]
  ------------------
 5670|  1.55k|            _PySlot_heaptype_apply_field_slot(res, it.current);
 5671|  1.55k|            break;
 5672|  1.84k|        }
 5673|  1.84k|    }
 5674|    242|    if (type->tp_dealloc == NULL) {
  ------------------
  |  Branch (5674:9): [True: 12, False: 230]
  ------------------
 5675|       |        /* It's a heap type, so needs the heap types' dealloc.
 5676|       |           subtype_dealloc will call the base type's tp_dealloc, if
 5677|       |           necessary. */
 5678|     12|        type->tp_dealloc = subtype_dealloc;
 5679|     12|    }
 5680|       |
 5681|       |    /* Set up offsets */
 5682|       |
 5683|    242|    type->tp_vectorcall_offset = vectorcalloffset;
 5684|    242|    type->tp_weaklistoffset = weaklistoffset;
 5685|    242|    type->tp_dictoffset = dictoffset;
 5686|       |
 5687|       |#ifdef Py_GIL_DISABLED
 5688|       |    // Assign a unique id to enable per-thread refcounting
 5689|       |    res->unique_id = _PyObject_AssignUniqueId((PyObject *)res);
 5690|       |#endif
 5691|       |
 5692|       |    /* Ready the type (which includes inheritance).
 5693|       |     *
 5694|       |     * After this call we should generally only touch up what's
 5695|       |     * accessible to Python code, like __dict__.
 5696|       |     */
 5697|       |
 5698|    242|    if (PyType_Ready(type) < 0) {
  ------------------
  |  Branch (5698:9): [True: 0, False: 242]
  ------------------
 5699|      0|        goto finally;
 5700|      0|    }
 5701|       |
 5702|    242|    if (!check_basicsize_includes_size_and_offsets(type)) {
  ------------------
  |  Branch (5702:9): [True: 0, False: 242]
  ------------------
 5703|      0|        goto finally;
 5704|      0|    }
 5705|       |
 5706|    242|    PyObject *dict = lookup_tp_dict(type);
 5707|    242|    if (type->tp_doc) {
  ------------------
  |  Branch (5707:9): [True: 178, False: 64]
  ------------------
 5708|    178|        PyObject *__doc__ = PyUnicode_FromString(_PyType_DocWithoutSignature(type->tp_name, type->tp_doc));
 5709|    178|        if (!__doc__) {
  ------------------
  |  Branch (5709:13): [True: 0, False: 178]
  ------------------
 5710|      0|            goto finally;
 5711|      0|        }
 5712|    178|        r = PyDict_SetItem(dict, &_Py_ID(__doc__), __doc__);
  ------------------
  |  |  915|    178|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    178|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    178|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5713|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5714|    178|        if (r < 0) {
  ------------------
  |  Branch (5714:13): [True: 0, False: 178]
  ------------------
 5715|      0|            goto finally;
 5716|      0|        }
 5717|    178|    }
 5718|       |
 5719|    242|    if (weaklistoffset) {
  ------------------
  |  Branch (5719:9): [True: 40, False: 202]
  ------------------
 5720|     40|        if (PyDict_DelItem(dict, &_Py_ID(__weaklistoffset__)) < 0) {
  ------------------
  |  |  915|     40|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     40|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     40|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5720:13): [True: 0, False: 40]
  ------------------
 5721|      0|            goto finally;
 5722|      0|        }
 5723|     40|    }
 5724|    242|    if (dictoffset) {
  ------------------
  |  Branch (5724:9): [True: 24, False: 218]
  ------------------
 5725|     24|        if (PyDict_DelItem(dict, &_Py_ID(__dictoffset__)) < 0) {
  ------------------
  |  |  915|     24|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     24|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     24|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5725:13): [True: 0, False: 24]
  ------------------
 5726|      0|            goto finally;
 5727|      0|        }
 5728|     24|    }
 5729|       |
 5730|       |    /* Set type.__module__ */
 5731|    242|    r = PyDict_Contains(dict, &_Py_ID(__module__));
  ------------------
  |  |  915|    242|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    242|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    242|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5732|    242|    if (r < 0) {
  ------------------
  |  Branch (5732:9): [True: 0, False: 242]
  ------------------
 5733|      0|        goto finally;
 5734|      0|    }
 5735|    242|    if (r == 0) {
  ------------------
  |  Branch (5735:9): [True: 242, False: 0]
  ------------------
 5736|    242|        s = strrchr(it.name, '.');
 5737|    242|        if (s != NULL) {
  ------------------
  |  Branch (5737:13): [True: 242, False: 0]
  ------------------
 5738|    242|            PyObject *modname = PyUnicode_FromStringAndSize(
 5739|    242|                    it.name, (Py_ssize_t)(s - it.name));
 5740|    242|            if (modname == NULL) {
  ------------------
  |  Branch (5740:17): [True: 0, False: 242]
  ------------------
 5741|      0|                goto finally;
 5742|      0|            }
 5743|    242|            r = PyDict_SetItem(dict, &_Py_ID(__module__), modname);
  ------------------
  |  |  915|    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|            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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5745|    242|            if (r != 0) {
  ------------------
  |  Branch (5745:17): [True: 0, False: 242]
  ------------------
 5746|      0|                goto finally;
 5747|      0|            }
 5748|    242|        }
 5749|      0|        else {
 5750|      0|            if (PyErr_WarnFormat(PyExc_DeprecationWarning, 1,
  ------------------
  |  Branch (5750:17): [True: 0, False: 0]
  ------------------
 5751|      0|                    "builtin type %.200s has no __module__ attribute",
 5752|      0|                    it.name))
 5753|      0|                goto finally;
 5754|      0|        }
 5755|    242|    }
 5756|       |
 5757|    242|    assert(_PyType_CheckConsistency(type));
 5758|       |#if defined(Py_GIL_DISABLED) && defined(Py_DEBUG) && SIZEOF_VOID_P > 4
 5759|       |    // After this point, other threads can potentally use this type.
 5760|       |    ((PyObject*)type)->ob_flags |= _Py_TYPE_REVEALED_FLAG;
 5761|       |#endif
 5762|       |
 5763|    242| finally:
 5764|    242|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (5764:9): [True: 0, False: 242]
  ------------------
 5765|      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]
  |  |  ------------------
  ------------------
 5766|      0|    }
 5767|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5768|    242|    PyMem_Free(tp_doc);
 5769|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5770|    242|    PyMem_Free(_ht_tpname);
 5771|    242|    return (PyObject*)res;
 5772|    242|}
typeobject.c:find_best_base:
 3703|  2.10k|{
 3704|  2.10k|    Py_ssize_t i, n;
 3705|  2.10k|    PyTypeObject *base, *winner, *candidate;
 3706|       |
 3707|  2.10k|    assert(PyTuple_Check(bases));
 3708|  2.10k|    n = PyTuple_GET_SIZE(bases);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3709|  2.10k|    assert(n > 0);
 3710|  2.10k|    base = NULL;
 3711|  2.10k|    winner = NULL;
 3712|  4.40k|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (3712:17): [True: 2.30k, False: 2.10k]
  ------------------
 3713|  2.30k|        PyObject *base_proto = PyTuple_GET_ITEM(bases, i);
  ------------------
  |  |   29|  2.30k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  2.30k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3714|  2.30k|        if (!PyType_Check(base_proto)) {
  ------------------
  |  |  766|  2.30k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3714:13): [True: 0, False: 2.30k]
  ------------------
 3715|      0|            PyErr_SetString(
 3716|      0|                PyExc_TypeError,
 3717|      0|                "bases must be types");
 3718|      0|            return NULL;
 3719|      0|        }
 3720|  2.30k|        PyTypeObject *base_i = (PyTypeObject *)base_proto;
 3721|       |
 3722|  2.30k|        if (!_PyType_IsReady(base_i)) {
  ------------------
  |  Branch (3722:13): [True: 0, False: 2.30k]
  ------------------
 3723|      0|            if (PyType_Ready(base_i) < 0)
  ------------------
  |  Branch (3723:17): [True: 0, False: 0]
  ------------------
 3724|      0|                return NULL;
 3725|      0|        }
 3726|  2.30k|        if (!_PyType_HasFeature(base_i, Py_TPFLAGS_BASETYPE)) {
  ------------------
  |  |  506|  2.30k|#define Py_TPFLAGS_BASETYPE (1UL << 10)
  ------------------
  |  Branch (3726:13): [True: 0, False: 2.30k]
  ------------------
 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.30k|        candidate = solid_base(base_i);
 3733|  2.30k|        if (winner == NULL) {
  ------------------
  |  Branch (3733:13): [True: 2.10k, False: 196]
  ------------------
 3734|  2.10k|            winner = candidate;
 3735|  2.10k|            base = base_i;
 3736|  2.10k|        }
 3737|    196|        else if (PyType_IsSubtype(winner, candidate))
  ------------------
  |  Branch (3737:18): [True: 190, False: 6]
  ------------------
 3738|    190|            ;
 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.30k|    }
 3751|  2.10k|    assert (base != NULL);
 3752|       |
 3753|  2.10k|    return base;
 3754|  2.10k|}
typeobject.c:solid_base:
 3767|  12.4k|{
 3768|  12.4k|    PyTypeObject *base;
 3769|       |
 3770|  12.4k|    if (type->tp_base) {
  ------------------
  |  Branch (3770:9): [True: 7.89k, False: 4.58k]
  ------------------
 3771|  7.89k|        base = solid_base(type->tp_base);
 3772|  7.89k|    }
 3773|  4.58k|    else {
 3774|  4.58k|        base = &PyBaseObject_Type;
 3775|  4.58k|    }
 3776|  12.4k|    if (shape_differs(type, base)) {
  ------------------
  |  Branch (3776:9): [True: 1.78k, False: 10.6k]
  ------------------
 3777|  1.78k|        return type;
 3778|  1.78k|    }
 3779|  10.6k|    else {
 3780|  10.6k|        return base;
 3781|  10.6k|    }
 3782|  12.4k|}
typeobject.c:shape_differs:
 3758|  12.4k|{
 3759|  12.4k|    return (
 3760|  12.4k|        t1->tp_basicsize != t2->tp_basicsize ||
  ------------------
  |  Branch (3760:9): [True: 1.78k, False: 10.6k]
  ------------------
 3761|  10.6k|        t1->tp_itemsize != t2->tp_itemsize
  ------------------
  |  Branch (3761:9): [True: 0, False: 10.6k]
  ------------------
 3762|  12.4k|    );
 3763|  12.4k|}
typeobject.c:special_offset_from_member:
 5194|    726|{
 5195|    726|    if (memb == NULL) {
  ------------------
  |  Branch (5195:9): [True: 654, False: 72]
  ------------------
 5196|    654|        *dest = 0;
 5197|    654|        return 0;
 5198|    654|    }
 5199|     72|    if (memb->type != Py_T_PYSSIZET) {
  ------------------
  |  |   79|     72|#define Py_T_PYSSIZET  19      /* Py_ssize_t */
  ------------------
  |  Branch (5199:9): [True: 0, False: 72]
  ------------------
 5200|      0|        PyErr_Format(
 5201|      0|            PyExc_SystemError,
 5202|      0|            "type of %s must be Py_T_PYSSIZET",
 5203|      0|            memb->name);
 5204|      0|        return -1;
 5205|      0|    }
 5206|     72|    if (memb->flags == Py_READONLY) {
  ------------------
  |  |   83|     72|#define Py_READONLY            (1 << 0)
  ------------------
  |  Branch (5206:9): [True: 72, False: 0]
  ------------------
 5207|     72|        *dest = memb->offset;
 5208|     72|        return 0;
 5209|     72|    }
 5210|      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 (5210:14): [True: 0, False: 0]
  ------------------
 5211|      0|        *dest = memb->offset + type_data_offset;
 5212|      0|        return 0;
 5213|      0|    }
 5214|      0|    PyErr_Format(
 5215|      0|        PyExc_SystemError,
 5216|      0|        "flags for %s must be Py_READONLY or (Py_READONLY | Py_RELATIVE_OFFSET)",
 5217|      0|        memb->name);
 5218|      0|    return -1;
 5219|     72|}
typeobject.c:type_set_flags:
  456|  28.7k|{
  457|  28.7k|    ASSERT_WORLD_STOPPED_OR_NEW_TYPE(tp);
  458|  28.7k|    tp->tp_flags = flags;
  459|  28.7k|}
typeobject.c:set_tp_bases:
  600|  3.07k|{
  601|  3.07k|    assert(PyTuple_Check(bases));
  602|  3.07k|    ASSERT_NEW_TYPE_OR_LOCKED(self);
  603|  3.07k|    if (self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  3.07k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (603:9): [True: 414, False: 2.66k]
  ------------------
  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.07k|    self->tp_bases = bases;
  621|  3.07k|}
typeobject.c:_PyHeapType_GET_MEMBERS:
 2575|   438k|{
 2576|   438k|    return PyObject_GetItemData((PyObject *)type);
 2577|   438k|}
typeobject.c:subtype_dealloc:
 2715|   488k|{
 2716|   488k|    PyTypeObject *type, *base;
 2717|   488k|    destructor basedealloc;
 2718|   488k|    int has_finalizer;
 2719|       |
 2720|       |    /* Extract the type; we expect it to be a heap type */
 2721|   488k|    type = Py_TYPE(self);
  ------------------
  |  |  213|   488k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   488k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   488k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2722|   488k|    _PyObject_ASSERT((PyObject *)type, type->tp_flags & Py_TPFLAGS_HEAPTYPE);
  ------------------
  |  |  423|   488k|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|   488k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|   488k|    ((void)0)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2723|       |
 2724|       |    /* Test whether the type has GC exactly once */
 2725|       |
 2726|   488k|    if (!_PyType_IS_GC(type)) {
  ------------------
  |  |  828|   488k|#define _PyType_IS_GC(t) _PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
  |  |  ------------------
  |  |  |  |  524|   488k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  |  |  ------------------
  ------------------
  |  Branch (2726:9): [True: 4, False: 488k]
  ------------------
 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|   488k|    PyObject_GC_UnTrack(self);
 2781|       |
 2782|       |    /* Find the nearest base with a different tp_dealloc */
 2783|   488k|    base = type;
 2784|  1.19M|    while ((/*basedealloc =*/ base->tp_dealloc) == subtype_dealloc) {
  ------------------
  |  Branch (2784:12): [True: 706k, False: 488k]
  ------------------
 2785|   706k|        base = base->tp_base;
 2786|   706k|        assert(base);
 2787|   706k|    }
 2788|       |
 2789|   488k|    has_finalizer = type->tp_finalize || type->tp_del;
  ------------------
  |  Branch (2789:21): [True: 13.8k, False: 474k]
  |  Branch (2789:42): [True: 0, False: 474k]
  ------------------
 2790|       |
 2791|   488k|    if (type->tp_finalize) {
  ------------------
  |  Branch (2791:9): [True: 13.8k, False: 474k]
  ------------------
 2792|  13.8k|        _PyObject_GC_TRACK(self);
  ------------------
  |  |  508|  13.8k|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  13.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2793|  13.8k|        if (PyObject_CallFinalizerFromDealloc(self) < 0) {
  ------------------
  |  Branch (2793:13): [True: 0, False: 13.8k]
  ------------------
 2794|       |            /* Resurrected */
 2795|      0|            return;
 2796|      0|        }
 2797|  13.8k|        _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  510|  13.8k|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  13.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2798|  13.8k|    }
 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|   488k|    if (type->tp_weaklistoffset && !base->tp_weaklistoffset) {
  ------------------
  |  Branch (2808:9): [True: 301k, False: 187k]
  |  Branch (2808:36): [True: 290k, False: 10.3k]
  ------------------
 2809|   290k|        PyObject_ClearWeakRefs(self);
 2810|   290k|    }
 2811|       |
 2812|   488k|    if (type->tp_del) {
  ------------------
  |  Branch (2812:9): [True: 0, False: 488k]
  ------------------
 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|   488k|    if (has_finalizer) {
  ------------------
  |  Branch (2821:9): [True: 13.8k, False: 474k]
  ------------------
 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|  13.8k|        if (type->tp_weaklistoffset && !base->tp_weaklistoffset) {
  ------------------
  |  Branch (2826:13): [True: 13.8k, False: 0]
  |  Branch (2826:40): [True: 3.55k, False: 10.3k]
  ------------------
 2827|  3.55k|            _PyWeakref_ClearWeakRefsNoCallbacks(self);
 2828|  3.55k|        }
 2829|  13.8k|    }
 2830|       |
 2831|       |    /*  Clear slots up to the nearest base with a different tp_dealloc */
 2832|   488k|    base = type;
 2833|  1.19M|    while ((basedealloc = base->tp_dealloc) == subtype_dealloc) {
  ------------------
  |  Branch (2833:12): [True: 706k, False: 488k]
  ------------------
 2834|   706k|        if (Py_SIZE(base))
  ------------------
  |  |  214|   706k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   706k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   706k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (214:23): [True: 132k, False: 574k]
  |  |  ------------------
  ------------------
 2835|   132k|            clear_slots(base, self);
 2836|   706k|        base = base->tp_base;
 2837|   706k|        assert(base);
 2838|   706k|    }
 2839|       |
 2840|       |    /* If we added a dict, DECREF it, or free inline values. */
 2841|   488k|    if (type->tp_flags & Py_TPFLAGS_MANAGED_DICT) {
  ------------------
  |  |  482|   488k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (2841:9): [True: 279k, False: 208k]
  ------------------
 2842|   279k|        PyObject_ClearManagedDict(self);
 2843|   279k|    }
 2844|   208k|    else if (type->tp_dictoffset && !base->tp_dictoffset) {
  ------------------
  |  Branch (2844:14): [True: 14.1k, False: 194k]
  |  Branch (2844:37): [True: 0, False: 14.1k]
  ------------------
 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|   488k|    type = Py_TYPE(self);
  ------------------
  |  |  213|   488k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   488k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   488k|#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|   488k|    if (_PyType_IS_GC(base)) {
  ------------------
  |  |  828|   488k|#define _PyType_IS_GC(t) _PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
  |  |  ------------------
  |  |  |  |  524|   488k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  |  |  ------------------
  |  |  |  Branch (828:26): [True: 202k, False: 285k]
  |  |  ------------------
  ------------------
 2862|   202k|        _PyObject_GC_TRACK(self);
  ------------------
  |  |  508|   202k|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   202k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   202k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2863|   202k|    }
 2864|       |
 2865|       |    // Don't read type memory after calling basedealloc() since basedealloc()
 2866|       |    // can deallocate the type and free its memory.
 2867|   488k|    int type_needs_decref = (type->tp_flags & Py_TPFLAGS_HEAPTYPE
  ------------------
  |  |  503|   977k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (2867:30): [True: 488k, False: 0]
  ------------------
 2868|   488k|                             && !(base->tp_flags & Py_TPFLAGS_HEAPTYPE));
  ------------------
  |  |  503|   488k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (2868:33): [True: 361k, False: 126k]
  ------------------
 2869|       |
 2870|   488k|    assert(basedealloc);
 2871|   488k|    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|   488k|    if (type_needs_decref) {
  ------------------
  |  Branch (2877:9): [True: 361k, False: 126k]
  ------------------
 2878|   361k|        _Py_DECREF_TYPE(type);
  ------------------
  |  |  316|   361k|#  define _Py_DECREF_TYPE Py_DECREF
  |  |  ------------------
  |  |  |  |  430|   361k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   361k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   361k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2879|   361k|    }
 2880|   488k|}
typeobject.c:clear_slots:
 2656|   132k|{
 2657|   132k|    Py_ssize_t i, n;
 2658|   132k|    PyMemberDef *mp;
 2659|       |
 2660|   132k|    n = Py_SIZE(type);
  ------------------
  |  |  214|   132k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   132k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   132k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2661|   132k|    mp = _PyHeapType_GET_MEMBERS((PyHeapTypeObject *)type);
 2662|   914k|    for (i = 0; i < n; i++, mp++) {
  ------------------
  |  Branch (2662:17): [True: 782k, False: 132k]
  ------------------
 2663|   782k|        if (mp->type == Py_T_OBJECT_EX && !(mp->flags & Py_READONLY)) {
  ------------------
  |  |   75|  1.56M|#define Py_T_OBJECT_EX 16
  ------------------
                      if (mp->type == Py_T_OBJECT_EX && !(mp->flags & Py_READONLY)) {
  ------------------
  |  |   83|   782k|#define Py_READONLY            (1 << 0)
  ------------------
  |  Branch (2663:13): [True: 782k, False: 0]
  |  Branch (2663:43): [True: 782k, False: 0]
  ------------------
 2664|   782k|            void *addr = _PyMember_GetOffset(self, mp);
 2665|   782k|            PyObject *obj = *(PyObject **)addr;
 2666|   782k|            if (obj != NULL) {
  ------------------
  |  Branch (2666:17): [True: 762k, False: 20.2k]
  ------------------
 2667|   762k|                *(PyObject **)addr = NULL;
 2668|   762k|                Py_DECREF(obj);
  ------------------
  |  |  430|   762k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   762k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   762k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2669|   762k|            }
 2670|   782k|        }
 2671|   782k|    }
 2672|   132k|}
typeobject.c:check_basicsize_includes_size_and_offsets:
 5122|    242|{
 5123|    242|    if (type->tp_alloc != PyType_GenericAlloc) {
  ------------------
  |  Branch (5123:9): [True: 0, False: 242]
  ------------------
 5124|       |        // Custom allocators can ignore tp_basicsize
 5125|      0|        return 1;
 5126|      0|    }
 5127|    242|    Py_ssize_t max = (Py_ssize_t)type->tp_basicsize;
 5128|       |
 5129|    242|    if (type->tp_base && type->tp_base->tp_basicsize > type->tp_basicsize) {
  ------------------
  |  Branch (5129:9): [True: 242, False: 0]
  |  Branch (5129:26): [True: 0, False: 242]
  ------------------
 5130|      0|        PyErr_Format(PyExc_TypeError,
 5131|      0|                     "tp_basicsize for type '%s' (%zd) is too small for base '%s' (%zd)",
 5132|      0|                     type->tp_name, type->tp_basicsize,
 5133|      0|                     type->tp_base->tp_name, type->tp_base->tp_basicsize);
 5134|      0|        return 0;
 5135|      0|    }
 5136|    242|    if (type->tp_weaklistoffset + (Py_ssize_t)sizeof(PyObject*) > max) {
  ------------------
  |  Branch (5136:9): [True: 0, False: 242]
  ------------------
 5137|      0|        PyErr_Format(PyExc_TypeError,
 5138|      0|                     "weaklist offset %zd is out of bounds for type '%s' (tp_basicsize = %zd)",
 5139|      0|                     type->tp_weaklistoffset,
 5140|      0|                     type->tp_name, type->tp_basicsize);
 5141|      0|        return 0;
 5142|      0|    }
 5143|    242|    if (type->tp_dictoffset + (Py_ssize_t)sizeof(PyObject*) > max) {
  ------------------
  |  Branch (5143:9): [True: 0, False: 242]
  ------------------
 5144|      0|        PyErr_Format(PyExc_TypeError,
 5145|      0|                     "dict offset %zd is out of bounds for type '%s' (tp_basicsize = %zd)",
 5146|      0|                     type->tp_dictoffset,
 5147|      0|                     type->tp_name, type->tp_basicsize);
 5148|      0|        return 0;
 5149|      0|    }
 5150|    242|    if (type->tp_vectorcall_offset + (Py_ssize_t)sizeof(vectorcallfunc*) > max) {
  ------------------
  |  Branch (5150:9): [True: 0, False: 242]
  ------------------
 5151|      0|        PyErr_Format(PyExc_TypeError,
 5152|      0|                     "vectorcall offset %zd is out of bounds for type '%s' (tp_basicsize = %zd)",
 5153|      0|                     type->tp_vectorcall_offset,
 5154|      0|                     type->tp_name, type->tp_basicsize);
 5155|      0|        return 0;
 5156|      0|    }
 5157|    242|    return 1;
 5158|    242|}
typeobject.c:type_name:
 1522|  8.99k|{
 1523|  8.99k|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  200|  8.99k|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1524|  8.99k|    if (type->tp_flags & Py_TPFLAGS_HEAPTYPE) {
  ------------------
  |  |  503|  8.99k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (1524:9): [True: 322, False: 8.67k]
  ------------------
 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|  8.67k|    else {
 1529|  8.67k|        return PyUnicode_FromString(_PyType_Name(type));
 1530|  8.67k|    }
 1531|  8.99k|}
typeobject.c:lookup_tp_mro:
  646|  4.12M|{
  647|  4.12M|    return self->tp_mro;
  648|  4.12M|}
typeobject.c:getitemdata:
 6089|   438k|{
 6090|   438k|    if (!_PyType_HasFeature(Py_TYPE(obj), Py_TPFLAGS_ITEMS_AT_END)) {
  ------------------
  |  |  213|   438k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   438k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   438k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (!_PyType_HasFeature(Py_TYPE(obj), Py_TPFLAGS_ITEMS_AT_END)) {
  ------------------
  |  |  548|   438k|#define Py_TPFLAGS_ITEMS_AT_END (1UL << 23)
  ------------------
  |  Branch (6090:9): [True: 0, False: 438k]
  ------------------
 6091|      0|        if (raise) {
  ------------------
  |  Branch (6091:13): [True: 0, False: 0]
  ------------------
 6092|      0|            PyErr_Format(PyExc_TypeError,
 6093|      0|                         "type '%T' does not have Py_TPFLAGS_ITEMS_AT_END",
 6094|      0|                         obj);
 6095|      0|        }
 6096|      0|        return NULL;
 6097|      0|    }
 6098|   438k|    return (char *)obj + Py_TYPE(obj)->tp_basicsize;
  ------------------
  |  |  213|   438k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   438k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   438k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6099|   438k|}
typeobject.c:get_type_cache:
  974|  68.8M|{
  975|  68.8M|    PyInterpreterState *interp = _PyInterpreterState_GET();
  976|  68.8M|    return &interp->types.type_cache;
  977|  68.8M|}
typeobject.c:should_assign_version_tag:
 6272|  3.60M|{
 6273|  3.60M|    return (version_tag == 0
  ------------------
  |  Branch (6273:13): [True: 2.97k, False: 3.59M]
  ------------------
 6274|  2.97k|        && FT_ATOMIC_LOAD_UINT16_RELAXED(type->tp_versions_used) < MAX_VERSIONS_PER_CLASS
  ------------------
  |  |  157|  2.97k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  ------------------
                      && FT_ATOMIC_LOAD_UINT16_RELAXED(type->tp_versions_used) < MAX_VERSIONS_PER_CLASS
  ------------------
  |  | 1389|  3.60M|#define MAX_VERSIONS_PER_CLASS 1000
  ------------------
  |  Branch (6274:12): [True: 2.97k, False: 0]
  ------------------
 6275|  2.97k|        && MCACHE_CACHEABLE_NAME(name));
  ------------------
  |  |   57|  2.97k|        (PyUnicode_CheckExact(name) &&                           \
  |  |  ------------------
  |  |  |  |  104|  2.97k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|  5.94k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  2.97k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  2.97k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 2.97k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   58|  2.97k|         (PyUnicode_GET_LENGTH(name) <= MCACHE_MAX_ATTR_SIZE))
  |  |  ------------------
  |  |  |  |  299|  2.97k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.97k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.97k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                        (PyUnicode_GET_LENGTH(name) <= MCACHE_MAX_ATTR_SIZE))
  |  |  ------------------
  |  |  |  |   48|  2.97k|#define MCACHE_MAX_ATTR_SIZE    100
  |  |  ------------------
  |  |  |  Branch (58:10): [True: 2.97k, False: 0]
  |  |  ------------------
  ------------------
 6276|  3.60M|}
typeobject.c:find_name_in_mro:
 6119|  3.82M|{
 6120|  3.82M|    Py_hash_t hash = _PyObject_HashFast(name);
 6121|  3.82M|    if (hash == -1) {
  ------------------
  |  Branch (6121:9): [True: 0, False: 3.82M]
  ------------------
 6122|      0|        PyErr_Clear();
 6123|      0|        return -1;
 6124|      0|    }
 6125|       |
 6126|       |    /* Look in tp_dict of types in MRO */
 6127|  3.82M|    PyObject *mro = lookup_tp_mro(type);
 6128|  3.82M|    if (mro == NULL) {
  ------------------
  |  Branch (6128:9): [True: 0, False: 3.82M]
  ------------------
 6129|      0|        if (!is_readying(type)) {
  ------------------
  |  Branch (6129:13): [True: 0, False: 0]
  ------------------
 6130|      0|            if (PyType_Ready(type) < 0) {
  ------------------
  |  Branch (6130:17): [True: 0, False: 0]
  ------------------
 6131|      0|                PyErr_Clear();
 6132|      0|                return -1;
 6133|      0|            }
 6134|      0|            mro = lookup_tp_mro(type);
 6135|      0|        }
 6136|      0|        if (mro == NULL) {
  ------------------
  |  Branch (6136:13): [True: 0, False: 0]
  ------------------
 6137|      0|            return -1;
 6138|      0|        }
 6139|      0|    }
 6140|       |
 6141|  3.82M|    int res = 0;
 6142|  3.82M|    PyThreadState *tstate = _PyThreadState_GET();
 6143|       |    /* Keep a strong reference to mro because type->tp_mro can be replaced
 6144|       |       during dict lookup, e.g. when comparing to non-string keys. */
 6145|  3.82M|    _PyCStackRef mro_ref;
 6146|  3.82M|    _PyThreadState_PushCStackRef(tstate, &mro_ref);
 6147|  3.82M|    mro_ref.ref = PyStackRef_FromPyObjectNew(mro);
  ------------------
  |  |  599|  3.82M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  3.82M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.82M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6148|  3.82M|    Py_ssize_t n = PyTuple_GET_SIZE(mro);
  ------------------
  |  |   27|  3.82M|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.82M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.82M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6149|  9.05M|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (6149:28): [True: 7.77M, False: 1.27M]
  ------------------
 6150|  7.77M|        PyObject *base = PyTuple_GET_ITEM(mro, i);
  ------------------
  |  |   29|  7.77M|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  7.77M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.77M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6151|  7.77M|        PyObject *dict = lookup_tp_dict(_PyType_CAST(base));
  ------------------
  |  |  770|  7.77M|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  7.77M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 6152|  7.77M|        assert(dict && PyDict_Check(dict));
 6153|  7.77M|        Py_ssize_t ix = _Py_dict_lookup_threadsafe_stackref(
 6154|  7.77M|            (PyDictObject *)dict, name, hash, out);
 6155|  7.77M|        if (ix == DKIX_ERROR) {
  ------------------
  |  |  186|  7.77M|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (6155:13): [True: 0, False: 7.77M]
  ------------------
 6156|      0|            PyErr_Clear();
 6157|      0|            res = -1;
 6158|      0|            goto done;
 6159|      0|        }
 6160|  7.77M|        if (!PyStackRef_IsNull(*out)) {
  ------------------
  |  |  470|  7.77M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  467|  7.77M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  7.77M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6160:13): [True: 2.54M, False: 5.22M]
  ------------------
 6161|  2.54M|            res = 1;
 6162|  2.54M|            break;
 6163|  2.54M|        }
 6164|  7.77M|    }
 6165|  3.82M|done:
 6166|  3.82M|    _PyThreadState_PopCStackRef(tstate, &mro_ref);
 6167|  3.82M|    return res;
 6168|  3.82M|}
typeobject.c:update_cache:
 6190|  3.60M|{
 6191|  3.60M|    _Py_atomic_store_ptr_relaxed(&entry->value, value); /* borrowed */
 6192|  3.60M|    assert(PyUnstable_Unicode_GET_CACHED_HASH(name) != -1);
 6193|  3.60M|    OBJECT_STAT_INC_COND(type_cache_collisions, entry->name != Py_None && entry->name != name);
  ------------------
  |  |   78|  3.60M|#define OBJECT_STAT_INC_COND(name, cond) ((void)0)
  ------------------
 6194|       |    // We're releasing this under the lock for simplicity sake because it's always a
 6195|       |    // exact unicode object or Py_None so it's safe to do so.
 6196|  3.60M|    PyObject *old_name = entry->name;
 6197|  3.60M|    _Py_atomic_store_ptr_relaxed(&entry->name, Py_NewRef(name));
  ------------------
  |  |  550|  3.60M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  3.60M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.60M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6198|       |    // We must write the version last to avoid _Py_TryXGetStackRef()
 6199|       |    // operating on an invalid (already deallocated) value inside
 6200|       |    // _PyType_LookupRefAndVersion().  If we write the version first then a
 6201|       |    // reader could pass the "entry_version == type_version" check but could
 6202|       |    // be using the old entry value.
 6203|  3.60M|    _Py_atomic_store_uint32_release(&entry->version, version_tag);
 6204|  3.60M|    return old_name;
 6205|  3.60M|}
typeobject.c:set_flags_recursive:
 6457|     32|{
 6458|     32|    if (PyType_HasFeature(self, Py_TPFLAGS_IMMUTABLETYPE) ||
  ------------------
  |  |  500|     32|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (6458:9): [True: 32, False: 0]
  ------------------
 6459|      0|        (self->tp_flags & mask) == flags)
  ------------------
  |  Branch (6459:9): [True: 0, False: 0]
  ------------------
 6460|     32|    {
 6461|     32|        return;
 6462|     32|    }
 6463|       |
 6464|      0|    type_set_flags_with_mask(self, mask, flags);
 6465|       |
 6466|      0|    PyObject *children = _PyType_GetSubclasses(self);
 6467|      0|    if (children == NULL) {
  ------------------
  |  Branch (6467:9): [True: 0, False: 0]
  ------------------
 6468|      0|        return;
 6469|      0|    }
 6470|       |
 6471|      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 (6471:28): [True: 0, False: 0]
  ------------------
 6472|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6473|      0|        set_flags_recursive((PyTypeObject *)child, mask, flags);
 6474|      0|    }
 6475|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6476|      0|}
typeobject.c:type_dealloc_common:
 6808|    102|{
 6809|    102|    PyObject *bases = lookup_tp_bases(type);
 6810|    102|    if (bases != NULL) {
  ------------------
  |  Branch (6810:9): [True: 102, False: 0]
  ------------------
 6811|    102|        PyObject *exc = PyErr_GetRaisedException();
 6812|    102|        remove_all_subclasses(type, bases);
 6813|    102|        PyErr_SetRaisedException(exc);
 6814|    102|    }
 6815|    102|}
typeobject.c:remove_all_subclasses:
 9755|    106|{
 9756|    106|    assert(bases != NULL);
 9757|       |    // remove_subclass() can clear the current exception
 9758|    106|    assert(!PyErr_Occurred());
 9759|       |
 9760|    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 (9760:28): [True: 106, False: 106]
  ------------------
 9761|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9762|    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]
  |  |  ------------------
  ------------------
 9763|    106|            remove_subclass((PyTypeObject*) base, type);
 9764|    106|        }
 9765|    106|    }
 9766|       |    assert(!PyErr_Occurred());
 9767|    106|}
typeobject.c:remove_subclass:
 9732|    106|{
 9733|    106|    PyObject *subclasses = lookup_tp_subclasses(base);  // borrowed ref
 9734|    106|    if (subclasses == NULL) {
  ------------------
  |  Branch (9734:9): [True: 0, False: 106]
  ------------------
 9735|      0|        return;
 9736|      0|    }
 9737|    106|    assert(PyDict_CheckExact(subclasses));
 9738|       |
 9739|    106|    PyObject *key = get_subclasses_key(type, base);
 9740|    106|    if (key != NULL && PyDict_DelItem(subclasses, key)) {
  ------------------
  |  Branch (9740:9): [True: 106, False: 0]
  |  Branch (9740:24): [True: 0, False: 106]
  ------------------
 9741|       |        /* This can happen if the type initialization errored out before
 9742|       |           the base subclasses were updated (e.g. a non-str __qualname__
 9743|       |           was passed in the type dict). */
 9744|      0|        PyErr_Clear();
 9745|      0|    }
 9746|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9747|       |
 9748|    106|    if (PyDict_Size(subclasses) == 0) {
  ------------------
  |  Branch (9748:9): [True: 0, False: 106]
  ------------------
 9749|      0|        clear_tp_subclasses(base);
 9750|      0|    }
 9751|    106|}
typeobject.c:get_subclasses_key:
 9701|    106|{
 9702|    106|    PyObject *key = PyLong_FromVoidPtr((void *) type);
 9703|    106|    if (key != NULL) {
  ------------------
  |  Branch (9703:9): [True: 106, False: 0]
  ------------------
 9704|    106|        return key;
 9705|    106|    }
 9706|      0|    PyErr_Clear();
 9707|       |
 9708|       |    /* This basically means we're out of memory.
 9709|       |       We fall back to manually traversing the values. */
 9710|      0|    Py_ssize_t i = 0;
 9711|      0|    PyObject *ref;  // borrowed ref
 9712|      0|    PyObject *subclasses = lookup_tp_subclasses(base);
 9713|      0|    if (subclasses != NULL) {
  ------------------
  |  Branch (9713:9): [True: 0, False: 0]
  ------------------
 9714|      0|        while (PyDict_Next(subclasses, &i, &key, &ref)) {
  ------------------
  |  Branch (9714:16): [True: 0, False: 0]
  ------------------
 9715|      0|            PyTypeObject *subclass = type_from_ref(ref);
 9716|      0|            if (subclass == NULL) {
  ------------------
  |  Branch (9716:17): [True: 0, False: 0]
  ------------------
 9717|      0|                continue;
 9718|      0|            }
 9719|      0|            if (subclass == type) {
  ------------------
  |  Branch (9719:17): [True: 0, False: 0]
  ------------------
 9720|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9721|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9722|      0|            }
 9723|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9724|      0|        }
 9725|      0|    }
 9726|       |    /* It wasn't found. */
 9727|      0|    return NULL;
 9728|      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|  2.96k|{
  478|  2.96k|    type_set_flags(tp, tp->tp_flags & ~flag);
  479|  2.96k|}
typeobject.c:type_dealloc:
 6937|    102|{
 6938|    102|    PyTypeObject *type = PyTypeObject_CAST(self);
  ------------------
  |  |  200|    102|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 6939|       |
 6940|       |    // Assert this is a heap-allocated type object
 6941|    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)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6942|       |
 6943|       |    // Notify type watchers before teardown.  The type object is still fully
 6944|       |    // intact at this point (dict, bases, mro, name are all valid), so
 6945|       |    // callbacks can safely inspect it.
 6946|    102|    if (type->tp_watched) {
  ------------------
  |  Branch (6946:9): [True: 0, False: 102]
  ------------------
 6947|      0|        _PyObject_ResurrectStart(self);
 6948|      0|        PyInterpreterState *interp = _PyInterpreterState_GET();
 6949|      0|        int bits = type->tp_watched;
 6950|      0|        int i = 0;
 6951|      0|        while (bits) {
  ------------------
  |  Branch (6951:16): [True: 0, False: 0]
  ------------------
 6952|      0|            assert(i < TYPE_MAX_WATCHERS);
 6953|      0|            if (bits & 1) {
  ------------------
  |  Branch (6953:17): [True: 0, False: 0]
  ------------------
 6954|      0|                PyType_WatchCallback cb = interp->type_watchers[i];
 6955|      0|                if (cb && (cb(type) < 0)) {
  ------------------
  |  Branch (6955:21): [True: 0, False: 0]
  |  Branch (6955:27): [True: 0, False: 0]
  ------------------
 6956|      0|                    PyErr_FormatUnraisable(
 6957|      0|                        "Exception ignored in type watcher callback #%d "
 6958|      0|                        "for %R",
 6959|      0|                        i, type);
 6960|      0|                }
 6961|      0|            }
 6962|      0|            i++;
 6963|      0|            bits >>= 1;
 6964|      0|        }
 6965|      0|        if (_PyObject_ResurrectEnd(self)) {
  ------------------
  |  Branch (6965:13): [True: 0, False: 0]
  ------------------
 6966|      0|            return;     // callback resurrected the object
 6967|      0|        }
 6968|      0|    }
 6969|       |
 6970|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6971|    102|    type_dealloc_common(type);
 6972|       |
 6973|       |    // PyObject_ClearWeakRefs() raises an exception if Py_REFCNT() != 0
 6974|    102|    assert(Py_REFCNT(type) == 0);
 6975|    102|    PyObject_ClearWeakRefs((PyObject *)type);
 6976|       |
 6977|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6978|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6979|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6980|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6981|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6982|    102|    clear_tp_subclasses(type);
 6983|       |
 6984|       |    /* A type's tp_doc is heap allocated, unlike the tp_doc slots
 6985|       |     * of most other objects.  It's okay to cast it to char *.
 6986|       |     */
 6987|    102|    PyMem_Free((char *)type->tp_doc);
 6988|       |
 6989|    102|    PyHeapTypeObject *et = (PyHeapTypeObject *)type;
 6990|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6991|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6992|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6993|    102|    if (et->ht_cached_keys) {
  ------------------
  |  Branch (6993:9): [True: 94, False: 8]
  ------------------
 6994|     94|        _PyDictKeys_DecRef(et->ht_cached_keys);
 6995|     94|    }
 6996|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6997|    102|    PyMem_Free(et->_ht_tpname);
 6998|       |#ifdef Py_GIL_DISABLED
 6999|       |    assert(et->unique_id == _Py_INVALID_UNIQUE_ID);
 7000|       |#endif
 7001|    102|    et->ht_token = NULL;
 7002|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7003|    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))) {
  ------------------
  |  |  915|      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|  17.2M|{
 2428|  17.2M|    PyTypeObject *type = PyTypeObject_CAST(self);
  ------------------
  |  |  200|  17.2M|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 2429|  17.2M|    PyObject *obj;
 2430|  17.2M|    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|  17.2M|    if (type == &PyType_Type) {
  ------------------
  |  Branch (2441:9): [True: 2.06k, False: 17.2M]
  ------------------
 2442|  2.06k|        assert(args != NULL && PyTuple_Check(args));
 2443|  2.06k|        assert(kwds == NULL || PyDict_Check(kwds));
 2444|  2.06k|        Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|  2.06k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.06k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.06k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2445|       |
 2446|  2.06k|        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.06k]
  |  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.06k|        if (nargs != 3) {
  ------------------
  |  Branch (2454:13): [True: 0, False: 2.06k]
  ------------------
 2455|      0|            PyErr_SetString(PyExc_TypeError,
 2456|      0|                            "type() takes 1 or 3 arguments");
 2457|      0|            return NULL;
 2458|      0|        }
 2459|  2.06k|    }
 2460|       |
 2461|  17.2M|    if (type->tp_new == NULL) {
  ------------------
  |  Branch (2461:9): [True: 0, False: 17.2M]
  ------------------
 2462|      0|        _PyErr_Format(tstate, PyExc_TypeError,
 2463|      0|                      "cannot create '%s' instances", type->tp_name);
 2464|      0|        return NULL;
 2465|      0|    }
 2466|       |
 2467|  17.2M|    obj = type->tp_new(type, args, kwds);
 2468|  17.2M|    obj = _Py_CheckFunctionResult(tstate, (PyObject*)type, obj, NULL);
 2469|  17.2M|    if (obj == NULL)
  ------------------
  |  Branch (2469:9): [True: 0, False: 17.2M]
  ------------------
 2470|      0|        return NULL;
 2471|       |
 2472|       |    /* If the returned object is not an instance of type,
 2473|       |       it won't be initialized. */
 2474|  17.2M|    if (!PyObject_TypeCheck(obj, type))
  ------------------
  |  |  378|  17.2M|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  17.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2474:9): [True: 4, False: 17.2M]
  ------------------
 2475|      4|        return obj;
 2476|       |
 2477|  17.2M|    type = Py_TYPE(obj);
  ------------------
  |  |  213|  17.2M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  17.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2478|  17.2M|    if (type->tp_init != NULL) {
  ------------------
  |  Branch (2478:9): [True: 17.2M, False: 0]
  ------------------
 2479|  17.2M|        int res = type->tp_init(obj, args, kwds);
 2480|  17.2M|        if (res < 0) {
  ------------------
  |  Branch (2480:13): [True: 76, False: 17.2M]
  ------------------
 2481|     76|            assert(_PyErr_Occurred(tstate));
 2482|     76|            Py_SETREF(obj, NULL);
  ------------------
  |  |  352|     76|    do { \
  |  |  353|     76|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     76|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|     76|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     76|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|     76|        *_tmp_dst_ptr = (src); \
  |  |  356|     76|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|     76|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 76]
  |  |  ------------------
  ------------------
 2483|     76|        }
 2484|  17.2M|        else {
 2485|       |            assert(!_PyErr_Occurred(tstate));
 2486|  17.2M|        }
 2487|  17.2M|    }
 2488|  17.2M|    return obj;
 2489|  17.2M|}
typeobject.c:type_setattro:
 6708|  4.11k|{
 6709|  4.11k|    PyTypeObject *type = PyTypeObject_CAST(self);
  ------------------
  |  |  200|  4.11k|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 6710|  4.11k|    int res;
 6711|  4.11k|    if (type->tp_flags & Py_TPFLAGS_IMMUTABLETYPE) {
  ------------------
  |  |  500|  4.11k|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (6711:9): [True: 0, False: 4.11k]
  ------------------
 6712|      0|        PyErr_Format(
 6713|      0|            PyExc_TypeError,
 6714|      0|            "cannot set %R attribute of immutable type '%s'",
 6715|      0|            name, type->tp_name);
 6716|      0|        return -1;
 6717|      0|    }
 6718|  4.11k|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|  4.11k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.11k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (6718:9): [True: 0, False: 4.11k]
  ------------------
 6719|      0|        PyErr_Format(PyExc_TypeError,
 6720|      0|                     "attribute name must be string, not '%.200s'",
 6721|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6722|      0|        return -1;
 6723|      0|    }
 6724|       |
 6725|  4.11k|    if (PyUnicode_CheckExact(name)) {
  ------------------
  |  |  104|  4.11k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  4.11k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.11k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.11k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 4.11k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6726|  4.11k|        Py_INCREF(name);
  ------------------
  |  |  310|  4.11k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.11k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.11k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6727|  4.11k|    }
 6728|      0|    else {
 6729|      0|        name = _PyUnicode_Copy(name);
 6730|      0|        if (name == NULL)
  ------------------
  |  Branch (6730:13): [True: 0, False: 0]
  ------------------
 6731|      0|            return -1;
 6732|      0|    }
 6733|  4.11k|    if (!PyUnicode_CHECK_INTERNED(name)) {
  ------------------
  |  |  214|  4.11k|#define PyUnicode_CHECK_INTERNED(op) PyUnicode_CHECK_INTERNED(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.11k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.11k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (6733:9): [True: 0, False: 4.11k]
  ------------------
 6734|      0|        PyInterpreterState *interp = _PyInterpreterState_GET();
 6735|      0|        _PyUnicode_InternMortal(interp, &name);
 6736|      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 (6736:13): [True: 0, False: 0]
  ------------------
 6737|      0|            PyErr_SetString(PyExc_MemoryError,
 6738|      0|                            "Out of memory interning an attribute name");
 6739|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6740|      0|            return -1;
 6741|      0|        }
 6742|      0|    }
 6743|       |
 6744|  4.11k|    PyTypeObject *metatype = Py_TYPE(type);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6745|  4.11k|    assert(!_PyType_HasFeature(metatype, Py_TPFLAGS_INLINE_VALUES));
 6746|  4.11k|    assert(!_PyType_HasFeature(metatype, Py_TPFLAGS_MANAGED_DICT));
 6747|       |
 6748|       |#ifdef Py_GIL_DISABLED
 6749|       |    // gh-139103: Enable deferred refcounting for functions assigned
 6750|       |    // to type objects.  This is important for `dataclass.__init__`,
 6751|       |    // which is generated dynamically.
 6752|       |    if (value != NULL &&
 6753|       |        PyFunction_Check(value) &&
 6754|       |        !_PyObject_HasDeferredRefcount(value))
 6755|       |    {
 6756|       |        PyUnstable_Object_EnableDeferredRefcount(value);
 6757|       |    }
 6758|       |#endif
 6759|       |
 6760|  4.11k|    PyObject *old_value = NULL;
 6761|  4.11k|    PyObject *descr = _PyType_LookupRef(metatype, name);
 6762|  4.11k|    if (descr != NULL) {
  ------------------
  |  Branch (6762:9): [True: 1.23k, False: 2.87k]
  ------------------
 6763|  1.23k|        descrsetfunc f = Py_TYPE(descr)->tp_descr_set;
  ------------------
  |  |  213|  1.23k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.23k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.23k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6764|  1.23k|        if (f != NULL) {
  ------------------
  |  Branch (6764:13): [True: 678, False: 554]
  ------------------
 6765|    678|            res = f(descr, (PyObject *)type, value);
 6766|    678|            goto done;
 6767|    678|        }
 6768|  1.23k|    }
 6769|       |
 6770|  3.43k|    PyObject *dict = type->tp_dict;
 6771|  3.43k|    if (dict == NULL) {
  ------------------
  |  Branch (6771:9): [True: 0, False: 3.43k]
  ------------------
 6772|       |        // This is an unlikely case.  PyType_Ready has not yet been done and
 6773|       |        // we need to initialize tp_dict.  We don't just do PyType_Ready
 6774|       |        // because we could already be readying.
 6775|      0|        BEGIN_TYPE_LOCK();
 6776|      0|        dict = type->tp_dict;
 6777|      0|        if (dict == NULL) {
  ------------------
  |  Branch (6777:13): [True: 0, False: 0]
  ------------------
 6778|      0|            dict = type->tp_dict = PyDict_New();
 6779|      0|        }
 6780|      0|        END_TYPE_LOCK();
 6781|      0|        if (dict == NULL) {
  ------------------
  |  Branch (6781:13): [True: 0, False: 0]
  ------------------
 6782|      0|            res = -1;
 6783|      0|            goto done;
 6784|      0|        }
 6785|      0|    }
 6786|       |
 6787|  3.43k|    BEGIN_TYPE_DICT_LOCK(dict);
 6788|  3.43k|    res = type_update_dict(type, (PyDictObject *)dict, name, value, &old_value);
 6789|  3.43k|    assert(_PyType_CheckConsistency(type));
 6790|  3.43k|    if (res == 0) {
  ------------------
  |  Branch (6790:9): [True: 3.43k, False: 0]
  ------------------
 6791|  3.43k|        if (is_dunder_name(name) && has_slotdef(name)) {
  ------------------
  |  Branch (6791:13): [True: 1.10k, False: 2.33k]
  |  Branch (6791:37): [True: 458, False: 644]
  ------------------
 6792|       |            // The name corresponds to a type slot.
 6793|    458|            res = update_slot_after_setattr(type, name);
 6794|    458|        }
 6795|  3.43k|    }
 6796|  3.43k|    END_TYPE_DICT_LOCK();
 6797|       |
 6798|  4.11k|done:
 6799|  4.11k|    Py_DECREF(name);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6800|  4.11k|    Py_XDECREF(descr);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6801|  4.11k|    Py_XDECREF(old_value);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6802|  4.11k|    return res;
 6803|  3.43k|}
typeobject.c:type_update_dict:
 6653|  3.43k|{
 6654|       |    // We don't want any re-entrancy between when we update the dict
 6655|       |    // and call type_modified_unlocked, including running the destructor
 6656|       |    // of the current value as it can observe the cache in an inconsistent
 6657|       |    // state.  Because we have an exact unicode and our dict has exact
 6658|       |    // unicodes we know that this will all complete without releasing
 6659|       |    // the locks.
 6660|  3.43k|    if (_PyDict_GetItemRef_Unicode_LockHeld(dict, name, old_value) < 0) {
  ------------------
  |  Branch (6660:9): [True: 0, False: 3.43k]
  ------------------
 6661|      0|        return -1;
 6662|      0|    }
 6663|       |
 6664|       |    /* Clear the VALID_VERSION flag of 'type' and all its
 6665|       |        subclasses.  This could possibly be unified with the
 6666|       |        update_subclasses() recursion in update_slot(), but carefully:
 6667|       |        they each have their own conditions on which to stop
 6668|       |        recursing into subclasses. */
 6669|  3.43k|    type_modified_unlocked(type);
 6670|       |
 6671|  3.43k|    if (_PyDict_SetItem_LockHeld(dict, name, value) < 0) {
  ------------------
  |  Branch (6671:9): [True: 0, False: 3.43k]
  ------------------
 6672|      0|        PyErr_Format(PyExc_AttributeError,
 6673|      0|                     "type object '%.50s' has no attribute '%U'",
 6674|      0|                     ((PyTypeObject*)type)->tp_name, name);
 6675|      0|        _PyObject_SetAttributeErrorContext((PyObject *)type, name);
 6676|      0|        return -1;
 6677|      0|    }
 6678|       |
 6679|  3.43k|    return 0;
 6680|  3.43k|}
typeobject.c:is_dunder_name:
 6174|  3.43k|{
 6175|  3.43k|    Py_ssize_t length = PyUnicode_GET_LENGTH(name);
  ------------------
  |  |  299|  3.43k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6176|  3.43k|    int kind = PyUnicode_KIND(name);
  ------------------
  |  |  258|  3.43k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  3.43k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 6177|       |    /* Special names contain at least "__x__" and are always ASCII. */
 6178|  3.43k|    if (length > 4 && kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (6178:9): [True: 3.35k, False: 82]
  |  Branch (6178:23): [True: 3.35k, False: 0]
  ------------------
 6179|  3.35k|        const Py_UCS1 *characters = PyUnicode_1BYTE_DATA(name);
  ------------------
  |  |  291|  3.35k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  3.35k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 6180|  3.35k|        return (
 6181|  3.35k|            ((characters[length-2] == '_') && (characters[length-1] == '_')) &&
  ------------------
  |  Branch (6181:14): [True: 1.11k, False: 2.23k]
  |  Branch (6181:47): [True: 1.10k, False: 16]
  ------------------
 6182|  1.10k|            ((characters[0] == '_') && (characters[1] == '_'))
  ------------------
  |  Branch (6182:14): [True: 1.10k, False: 0]
  |  Branch (6182:40): [True: 1.10k, False: 0]
  ------------------
 6183|  3.35k|        );
 6184|  3.35k|    }
 6185|     82|    return 0;
 6186|  3.43k|}
typeobject.c:has_slotdef:
11789|  1.10k|{
11790|  68.7k|    for (pytype_slotdef *p = slotdefs; p->name_strobj; p++) {
  ------------------
  |  Branch (11790:40): [True: 68.1k, False: 644]
  ------------------
11791|  68.1k|        if (p->name_strobj == name) {
  ------------------
  |  Branch (11791:13): [True: 458, False: 67.6k]
  ------------------
11792|    458|            return true;
11793|    458|        }
11794|  68.1k|    }
11795|    644|    return false;
11796|  1.10k|}
typeobject.c:update_slot_after_setattr:
 6684|    458|{
 6685|       |#ifdef Py_GIL_DISABLED
 6686|       |    // stack allocate one chunk since that's all we need
 6687|       |    assert(SLOT_UPDATE_CHUNK_SIZE >= MAX_EQUIV);
 6688|       |    slot_update_chunk_t chunk = {0};
 6689|       |    slot_update_t queued_updates = {&chunk};
 6690|       |
 6691|       |    if (update_slot(type, name, &queued_updates) < 0) {
 6692|       |        return -1;
 6693|       |    }
 6694|       |    if (queued_updates.head->n > 0) {
 6695|       |        apply_type_slot_updates(&queued_updates);
 6696|       |        ASSERT_TYPE_LOCK_HELD();
 6697|       |        // should never allocate another chunk
 6698|       |        assert(chunk.prev == NULL);
 6699|       |    }
 6700|       |#else
 6701|       |    update_slot(type, name, NULL);
 6702|    458|#endif
 6703|    458|    return 0;
 6704|    458|}
typeobject.c:update_slot:
12044|    834|{
12045|    834|    pytype_slotdef *ptrs[MAX_EQUIV];
12046|    834|    pytype_slotdef *p;
12047|    834|    pytype_slotdef **pp;
12048|    834|    int offset;
12049|       |
12050|    834|    ASSERT_TYPE_LOCK_HELD();
12051|    834|    assert(PyUnicode_CheckExact(name));
12052|    834|    assert(PyUnicode_CHECK_INTERNED(name));
12053|       |
12054|    834|    pp = ptrs;
12055|  79.2k|    for (p = slotdefs; p->name; p++) {
  ------------------
  |  Branch (12055:24): [True: 78.3k, False: 834]
  ------------------
12056|  78.3k|        assert(PyUnicode_CheckExact(p->name_strobj));
12057|  78.3k|        assert(PyUnicode_CHECK_INTERNED(p->name_strobj));
12058|  78.3k|        assert(PyUnicode_CheckExact(name));
12059|       |        /* bpo-40521: Using interned strings. */
12060|  78.3k|        if (p->name_strobj == name) {
  ------------------
  |  Branch (12060:13): [True: 986, False: 77.4k]
  ------------------
12061|    986|            *pp++ = p;
12062|    986|        }
12063|  78.3k|    }
12064|    834|    *pp = NULL;
12065|  1.82k|    for (pp = ptrs; *pp; pp++) {
  ------------------
  |  Branch (12065:21): [True: 986, False: 834]
  ------------------
12066|    986|        p = *pp;
12067|    986|        offset = p->offset;
12068|  1.36k|        while (p > slotdefs && (p-1)->offset == offset)
  ------------------
  |  Branch (12068:16): [True: 1.35k, False: 16]
  |  Branch (12068:32): [True: 380, False: 970]
  ------------------
12069|    380|            --p;
12070|    986|        *pp = p;
12071|    986|    }
12072|    834|    if (ptrs[0] == NULL)
  ------------------
  |  Branch (12072:9): [True: 0, False: 834]
  ------------------
12073|      0|        return 0; /* Not an attribute that affects any slots */
12074|       |
12075|    834|    update_callback_data_t callback_data;
12076|    834|    callback_data.defs = ptrs;
12077|    834|    callback_data.queued_updates = queued_updates;
12078|    834|    return update_subclasses(type, name,
12079|    834|                             update_slots_callback, (void *)&callback_data);
12080|    834|}
typeobject.c:update_subclasses:
12309|    834|{
12310|    834|    if (callback(type, data) < 0) {
  ------------------
  |  Branch (12310:9): [True: 0, False: 834]
  ------------------
12311|      0|        return -1;
12312|      0|    }
12313|    834|    return recurse_down_subclasses(type, attr_name, callback, data);
12314|    834|}
typeobject.c:recurse_down_subclasses:
12319|    834|{
12320|       |    // It is safe to use a borrowed reference because update_subclasses() is
12321|       |    // only used with update_slots_callback() which doesn't modify
12322|       |    // tp_subclasses.
12323|    834|    PyObject *subclasses = lookup_tp_subclasses(type);  // borrowed ref
12324|    834|    if (subclasses == NULL) {
  ------------------
  |  Branch (12324:9): [True: 834, False: 0]
  ------------------
12325|    834|        return 0;
12326|    834|    }
12327|    834|    assert(PyDict_CheckExact(subclasses));
12328|       |
12329|      0|    Py_ssize_t i = 0;
12330|      0|    PyObject *ref;
12331|      0|    while (PyDict_Next(subclasses, &i, NULL, &ref)) {
  ------------------
  |  Branch (12331:12): [True: 0, False: 0]
  ------------------
12332|      0|        PyTypeObject *subclass = type_from_ref(ref);
12333|      0|        if (subclass == NULL) {
  ------------------
  |  Branch (12333:13): [True: 0, False: 0]
  ------------------
12334|      0|            continue;
12335|      0|        }
12336|       |
12337|       |        /* Avoid recursing down into unaffected classes */
12338|      0|        PyObject *dict = lookup_tp_dict(subclass);
12339|      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 (12339:13): [True: 0, False: 0]
  ------------------
12340|      0|            int r = PyDict_Contains(dict, attr_name);
12341|      0|            if (r < 0) {
  ------------------
  |  Branch (12341:17): [True: 0, False: 0]
  ------------------
12342|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12343|      0|                return -1;
12344|      0|            }
12345|      0|            if (r > 0) {
  ------------------
  |  Branch (12345:17): [True: 0, False: 0]
  ------------------
12346|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12347|      0|                continue;
12348|      0|            }
12349|      0|        }
12350|       |
12351|      0|        if (update_subclasses(subclass, attr_name, callback, data) < 0) {
  ------------------
  |  Branch (12351:13): [True: 0, False: 0]
  ------------------
12352|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12353|      0|            return -1;
12354|      0|        }
12355|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12356|      0|    }
12357|      0|    return 0;
12358|      0|}
typeobject.c:update_slots_callback:
12028|    834|{
12029|    834|    ASSERT_NEW_TYPE_OR_LOCKED(type);
12030|       |
12031|    834|    update_callback_data_t *update_data = (update_callback_data_t *)data;
12032|    834|    pytype_slotdef **pp = update_data->defs;
12033|  1.82k|    for (; *pp; pp++) {
  ------------------
  |  Branch (12033:12): [True: 986, False: 834]
  ------------------
12034|    986|        if (update_one_slot(type, *pp, NULL, update_data->queued_updates) < 0) {
  ------------------
  |  Branch (12034:13): [True: 0, False: 986]
  ------------------
12035|      0|            return -1;
12036|      0|        }
12037|    986|    }
12038|    834|    return 0;
12039|    834|}
typeobject.c:update_one_slot:
11863|   162k|{
11864|   162k|    ASSERT_NEW_TYPE_OR_LOCKED(type);
11865|       |
11866|   162k|    PyObject *descr;
11867|   162k|    PyWrapperDescrObject *d;
11868|       |
11869|       |    // The correct specialized C function, like "tp_repr of str" in the
11870|       |    // example above
11871|   162k|    void *specific = NULL;
11872|       |
11873|       |    // A generic wrapper that uses method lookup (safe but slow)
11874|   162k|    void *generic = NULL;
11875|       |
11876|       |    // Set to 1 if the generic wrapper is necessary
11877|   162k|    int use_generic = 0;
11878|       |
11879|   162k|    int offset = p->offset;
11880|   162k|    void **ptr = slotptr(type, offset);
11881|       |
11882|   162k|    if (ptr == NULL) {
  ------------------
  |  Branch (11882:9): [True: 0, False: 162k]
  ------------------
11883|      0|        do {
11884|      0|            ++p;
11885|      0|        } while (p->offset == offset);
  ------------------
  |  Branch (11885:18): [True: 0, False: 0]
  ------------------
11886|      0|        if (next_p != NULL) {
  ------------------
  |  Branch (11886:13): [True: 0, False: 0]
  ------------------
11887|      0|            *next_p = p;
11888|      0|        }
11889|      0|        return 0;
11890|      0|    }
11891|       |    /* We may end up clearing live exceptions below, so make sure it's ours. */
11892|   162k|    assert(!PyErr_Occurred());
11893|   228k|    do {
11894|       |        /* Use faster uncached lookup as we won't get any cache hits during type setup. */
11895|   228k|        _PyStackRef descr_ref;
11896|   228k|        int res = find_name_in_mro(type, p->name_strobj, &descr_ref);
11897|   228k|        if (res <= 0) {
  ------------------
  |  Branch (11897:13): [True: 179k, False: 49.4k]
  ------------------
11898|   179k|            if (ptr == (void**)&type->tp_iternext) {
  ------------------
  |  Branch (11898:17): [True: 2.36k, False: 177k]
  ------------------
11899|  2.36k|                specific = (void *)_PyObject_NextNotImplemented;
11900|  2.36k|            }
11901|   179k|            continue;
11902|   179k|        }
11903|  49.4k|        descr = PyStackRef_AsPyObjectBorrow(descr_ref);
11904|  49.4k|        if (Py_IS_TYPE(descr, &PyWrapperDescr_Type) &&
  ------------------
  |  |  215|  98.8k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  49.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  49.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 40.2k, False: 9.16k]
  |  |  ------------------
  ------------------
11905|  40.2k|            ((PyWrapperDescrObject *)descr)->d_base->name_strobj == p->name_strobj) {
  ------------------
  |  Branch (11905:13): [True: 40.1k, False: 54]
  ------------------
11906|  40.1k|            void **tptr;
11907|  40.1k|            size_t index = (p - slotdefs);
11908|  40.1k|            if (slotdefs_dups[index][0] > 1) {
  ------------------
  |  Branch (11908:17): [True: 16.3k, False: 23.8k]
  ------------------
11909|  16.3k|                tptr = NULL;
11910|  48.3k|                for (size_t i = 1; i <= slotdefs_dups[index][0]; i++) {
  ------------------
  |  Branch (11910:36): [True: 32.6k, False: 15.7k]
  ------------------
11911|  32.6k|                    pytype_slotdef *q = &slotdefs[slotdefs_dups[index][i]];
11912|  32.6k|                    void **qptr = slotptr(type, q->offset);
11913|  32.6k|                    if (qptr == NULL || *qptr == NULL)
  ------------------
  |  Branch (11913:25): [True: 0, False: 32.6k]
  |  Branch (11913:41): [True: 15.7k, False: 16.8k]
  ------------------
11914|  15.7k|                        continue;
11915|  16.8k|                    if (tptr != NULL) {
  ------------------
  |  Branch (11915:25): [True: 534, False: 16.3k]
  ------------------
11916|    534|                        tptr = NULL;
11917|    534|                        break;
11918|    534|                    }
11919|  16.3k|                    tptr = qptr;
11920|  16.3k|                }
11921|  16.3k|            }
11922|  23.8k|            else {
11923|  23.8k|                tptr = slotptr(type, offset);
11924|  23.8k|            }
11925|       |
11926|  40.1k|            if (tptr == NULL || tptr == ptr)
  ------------------
  |  Branch (11926:17): [True: 534, False: 39.6k]
  |  Branch (11926:33): [True: 31.7k, False: 7.89k]
  ------------------
11927|  32.3k|                generic = p->function;
11928|  40.1k|            d = (PyWrapperDescrObject *)descr;
11929|  40.1k|            if ((specific == NULL || specific == d->d_wrapped) &&
  ------------------
  |  Branch (11929:18): [True: 25.0k, False: 15.1k]
  |  Branch (11929:38): [True: 15.1k, False: 4]
  ------------------
11930|  40.1k|                d->d_base->wrapper == p->wrapper &&
  ------------------
  |  Branch (11930:17): [True: 32.2k, False: 7.98k]
  ------------------
11931|  32.2k|                is_subtype_with_mro(lookup_tp_mro(type), type, PyDescr_TYPE(d)))
  ------------------
  |  |   35|  32.2k|#define PyDescr_TYPE(x) (((PyDescrObject *)(x))->d_type)
  ------------------
  |  Branch (11931:17): [True: 32.2k, False: 0]
  ------------------
11932|  32.2k|            {
11933|  32.2k|                specific = d->d_wrapped;
11934|  32.2k|            }
11935|  7.98k|            else {
11936|       |                /* We cannot use the specific slot function because either
11937|       |                   - it is not unique: there are multiple methods for this
11938|       |                     slot and they conflict
11939|       |                   - the signature is wrong (as checked by the ->wrapper
11940|       |                     comparison above)
11941|       |                   - it's wrapping the wrong class
11942|       |                 */
11943|  7.98k|                use_generic = 1;
11944|  7.98k|            }
11945|  40.1k|        }
11946|  9.22k|        else if (Py_IS_TYPE(descr, &PyCFunction_Type) &&
  ------------------
  |  |  215|  18.4k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  9.22k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.22k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 2.13k, False: 7.08k]
  |  |  ------------------
  ------------------
11947|  2.13k|                 PyCFunction_GET_FUNCTION(descr) ==
  ------------------
  |  |   43|  2.13k|#define PyCFunction_GET_FUNCTION(func) PyCFunction_GET_FUNCTION(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|  2.13k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (11947:18): [True: 2.13k, False: 2]
  ------------------
11948|  9.22k|                 _PyCFunction_CAST(tp_new_wrapper) &&
  ------------------
  |  |   53|  9.22k|    _Py_FUNC_CAST(PyCFunction, func)
  |  |  ------------------
  |  |  |  |   47|  2.13k|#define _Py_FUNC_CAST(T, func) _Py_CAST(T, _Py_CAST(void(*)(void), (func)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11949|  2.13k|                 ptr == (void**)&type->tp_new)
  ------------------
  |  Branch (11949:18): [True: 2.13k, False: 0]
  ------------------
11950|  2.13k|        {
11951|       |            /* The __new__ wrapper is not a wrapper descriptor,
11952|       |               so must be special-cased differently.
11953|       |               If we don't do this, creating an instance will
11954|       |               always use slot_tp_new which will look up
11955|       |               __new__ in the MRO which will call tp_new_wrapper
11956|       |               which will look through the base classes looking
11957|       |               for a static base and call its tp_new (usually
11958|       |               PyType_GenericNew), after performing various
11959|       |               sanity checks and constructing a new argument
11960|       |               list.  Cut all that nonsense short -- this speeds
11961|       |               up instance creation tremendously. */
11962|  2.13k|            specific = (void *)type->tp_new;
11963|       |            /* XXX I'm not 100% sure that there isn't a hole
11964|       |               in this reasoning that requires additional
11965|       |               sanity checks.  I'll buy the first person to
11966|       |               point out a bug in this reasoning a beer. */
11967|  2.13k|        }
11968|  7.08k|        else if (descr == Py_None &&
  ------------------
  |  |  616|  14.1k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (11968:18): [True: 240, False: 6.84k]
  ------------------
11969|    240|                 ptr == (void**)&type->tp_hash) {
  ------------------
  |  Branch (11969:18): [True: 222, False: 18]
  ------------------
11970|       |            /* We specifically allow __hash__ to be set to None
11971|       |               to prevent inheritance of the default
11972|       |               implementation from object.__hash__ */
11973|    222|            specific = (void *)PyObject_HashNotImplemented;
11974|    222|        }
11975|  6.86k|        else {
11976|  6.86k|            use_generic = 1;
11977|  6.86k|            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 (11977:17): [True: 5.72k, False: 1.14k]
  ------------------
11978|    122|                *ptr == ((PyMethodDescrObject *)descr)->d_method->ml_meth)
  ------------------
  |  Branch (11978:17): [True: 44, False: 78]
  ------------------
11979|     44|            {
11980|     44|                generic = *ptr;
11981|     44|            }
11982|  6.82k|            else {
11983|  6.82k|                generic = p->function;
11984|  6.82k|            }
11985|  6.86k|            if (p->function == slot_tp_call) {
  ------------------
  |  Branch (11985:17): [True: 148, False: 6.71k]
  ------------------
11986|       |                /* A generic __call__ is incompatible with vectorcall */
11987|    148|                if (queued_updates == NULL) {
  ------------------
  |  Branch (11987:21): [True: 148, False: 0]
  ------------------
11988|    148|                    type_clear_flags(type, Py_TPFLAGS_HAVE_VECTORCALL);
  ------------------
  |  |  510|    148|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
11989|    148|                }
11990|    148|            }
11991|  6.86k|        }
11992|  49.4k|        PyStackRef_CLOSE(descr_ref);
11993|   228k|    } while ((++p)->offset == offset);
  ------------------
  |  Branch (11993:14): [True: 66.0k, False: 162k]
  ------------------
11994|       |
11995|   162k|    void *slot_value;
11996|   162k|    if (specific && !use_generic) {
  ------------------
  |  Branch (11996:9): [True: 21.7k, False: 141k]
  |  Branch (11996:21): [True: 21.2k, False: 484]
  ------------------
11997|  21.2k|        slot_value = specific;
11998|   141k|    } else {
11999|   141k|        slot_value = generic;
12000|   141k|    }
12001|       |
12002|       |#ifdef Py_GIL_DISABLED
12003|       |    if (queued_updates != NULL) {
12004|       |        // queue the update to perform later, while world is stopped
12005|       |        if (queue_slot_update(queued_updates, type, ptr, slot_value) < 0) {
12006|       |            return -1;
12007|       |        }
12008|       |    } else {
12009|       |        // do the update to the type structure now
12010|       |        *ptr = slot_value;
12011|       |    }
12012|       |#else
12013|       |    // always do the update immediately
12014|   162k|    assert(queued_updates == NULL);
12015|   162k|    *ptr = slot_value;
12016|   162k|#endif
12017|       |
12018|   162k|    if (next_p != NULL) {
  ------------------
  |  Branch (12018:9): [True: 161k, False: 986]
  ------------------
12019|   161k|        *next_p = p;
12020|   161k|    }
12021|   162k|    return 0;
12022|   162k|}
typeobject.c:slotptr:
11750|   491k|{
11751|   491k|    char *ptr;
11752|   491k|    long offset = ioffset;
11753|       |
11754|       |    /* Note: this depends on the order of the members of PyHeapTypeObject! */
11755|   491k|    assert(offset >= 0);
11756|   491k|    assert((size_t)offset < offsetof(PyHeapTypeObject, ht_name));
11757|   491k|    if ((size_t)offset >= offsetof(PyHeapTypeObject, as_buffer)) {
  ------------------
  |  Branch (11757:9): [True: 11.0k, False: 480k]
  ------------------
11758|  11.0k|        ptr = (char *)type->tp_as_buffer;
11759|  11.0k|        offset -= offsetof(PyHeapTypeObject, as_buffer);
11760|  11.0k|    }
11761|   480k|    else if ((size_t)offset >= offsetof(PyHeapTypeObject, as_sequence)) {
  ------------------
  |  Branch (11761:14): [True: 52.3k, False: 428k]
  ------------------
11762|  52.3k|        ptr = (char *)type->tp_as_sequence;
11763|  52.3k|        offset -= offsetof(PyHeapTypeObject, as_sequence);
11764|  52.3k|    }
11765|   428k|    else if ((size_t)offset >= offsetof(PyHeapTypeObject, as_mapping)) {
  ------------------
  |  Branch (11765:14): [True: 20.3k, False: 408k]
  ------------------
11766|  20.3k|        ptr = (char *)type->tp_as_mapping;
11767|  20.3k|        offset -= offsetof(PyHeapTypeObject, as_mapping);
11768|  20.3k|    }
11769|   408k|    else if ((size_t)offset >= offsetof(PyHeapTypeObject, as_number)) {
  ------------------
  |  Branch (11769:14): [True: 239k, False: 169k]
  ------------------
11770|   239k|        ptr = (char *)type->tp_as_number;
11771|   239k|        offset -= offsetof(PyHeapTypeObject, as_number);
11772|   239k|    }
11773|   169k|    else if ((size_t)offset >= offsetof(PyHeapTypeObject, as_async)) {
  ------------------
  |  Branch (11773:14): [True: 16.4k, False: 152k]
  ------------------
11774|  16.4k|        ptr = (char *)type->tp_as_async;
11775|  16.4k|        offset -= offsetof(PyHeapTypeObject, as_async);
11776|  16.4k|    }
11777|   152k|    else {
11778|   152k|        ptr = (char *)type;
11779|   152k|    }
11780|   491k|    if (ptr != NULL)
  ------------------
  |  Branch (11780:9): [True: 466k, False: 25.4k]
  ------------------
11781|   466k|        ptr += offset;
11782|   491k|    return (void **)ptr;
11783|   491k|}
typeobject.c:tp_new_wrapper:
10372|  65.4k|{
10373|  65.4k|    PyTypeObject *staticbase;
10374|  65.4k|    PyObject *arg0, *res;
10375|       |
10376|  65.4k|    if (self == NULL || !PyType_Check(self)) {
  ------------------
  |  |  766|  65.4k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  65.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  65.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10376:9): [True: 0, False: 65.4k]
  |  Branch (10376:25): [True: 0, False: 65.4k]
  ------------------
10377|      0|        PyErr_Format(PyExc_SystemError,
10378|      0|                     "__new__() called with non-type 'self'");
10379|      0|        return NULL;
10380|      0|    }
10381|  65.4k|    PyTypeObject *type = (PyTypeObject *)self;
10382|       |
10383|  65.4k|    if (nargs < 1) {
  ------------------
  |  Branch (10383:9): [True: 0, False: 65.4k]
  ------------------
10384|      0|        PyErr_Format(PyExc_TypeError,
10385|      0|                     "%s.__new__(): not enough arguments",
10386|      0|                     type->tp_name);
10387|      0|        return NULL;
10388|      0|    }
10389|  65.4k|    arg0 = args[0];
10390|  65.4k|    if (!PyType_Check(arg0)) {
  ------------------
  |  |  766|  65.4k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  65.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  65.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10390:9): [True: 0, False: 65.4k]
  ------------------
10391|      0|        PyErr_Format(PyExc_TypeError,
10392|      0|                     "%s.__new__(X): X is not a type object (%s)",
10393|      0|                     type->tp_name,
10394|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10395|      0|        return NULL;
10396|      0|    }
10397|  65.4k|    PyTypeObject *subtype = (PyTypeObject *)arg0;
10398|       |
10399|  65.4k|    if (!PyType_IsSubtype(subtype, type)) {
  ------------------
  |  Branch (10399:9): [True: 0, False: 65.4k]
  ------------------
10400|      0|        PyErr_Format(PyExc_TypeError,
10401|      0|                     "%s.__new__(%s): %s is not a subtype of %s",
10402|      0|                     type->tp_name,
10403|      0|                     subtype->tp_name,
10404|      0|                     subtype->tp_name,
10405|      0|                     type->tp_name);
10406|      0|        return NULL;
10407|      0|    }
10408|       |
10409|       |    /* Check that the use doesn't do something silly and unsafe like
10410|       |       object.__new__(dict).  To do this, we check that the
10411|       |       most derived base that's not a heap type is this type. */
10412|  65.4k|    staticbase = subtype;
10413|   133k|    while (staticbase && (staticbase->tp_new == slot_tp_new))
  ------------------
  |  Branch (10413:12): [True: 133k, False: 0]
  |  Branch (10413:26): [True: 67.5k, False: 65.4k]
  ------------------
10414|  67.5k|        staticbase = staticbase->tp_base;
10415|       |    /* If staticbase is NULL now, it is a really weird type.
10416|       |       In the spirit of backwards compatibility (?), just shut up. */
10417|  65.4k|    if (staticbase && staticbase->tp_new != type->tp_new) {
  ------------------
  |  Branch (10417:9): [True: 65.4k, False: 0]
  |  Branch (10417:23): [True: 0, False: 65.4k]
  ------------------
10418|      0|        if (staticbase->tp_new == NULL) {
  ------------------
  |  Branch (10418:13): [True: 0, False: 0]
  ------------------
10419|      0|            PyErr_Format(PyExc_TypeError,
10420|      0|                         "cannot create '%s' instances", subtype->tp_name);
10421|      0|            return NULL;
10422|      0|        }
10423|      0|        PyErr_Format(PyExc_TypeError,
10424|      0|                     "%s.__new__(%s) is not safe, use %s.__new__()",
10425|      0|                     type->tp_name,
10426|      0|                     subtype->tp_name,
10427|      0|                     staticbase->tp_name);
10428|      0|        return NULL;
10429|      0|    }
10430|       |
10431|  65.4k|    PyObject *args_tuple = PyTuple_FromArray(args + 1, nargs - 1);
10432|  65.4k|    if (args_tuple == NULL) {
  ------------------
  |  Branch (10432:9): [True: 0, False: 65.4k]
  ------------------
10433|      0|        return NULL;
10434|      0|    }
10435|  65.4k|    PyObject *kwds = NULL;
10436|  65.4k|    if (kwnames != NULL) {
  ------------------
  |  Branch (10436:9): [True: 0, False: 65.4k]
  ------------------
10437|      0|        kwds = _PyStack_AsDict(args + nargs, kwnames);
10438|      0|        if (kwds == NULL) {
  ------------------
  |  Branch (10438:13): [True: 0, False: 0]
  ------------------
10439|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10440|      0|            return NULL;
10441|      0|        }
10442|      0|    }
10443|  65.4k|    res = type->tp_new(subtype, args_tuple, kwds);
10444|  65.4k|    Py_DECREF(args_tuple);
  ------------------
  |  |  430|  65.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  65.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  65.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10445|  65.4k|    Py_XDECREF(kwds);
  ------------------
  |  |  524|  65.4k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  65.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  65.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10446|  65.4k|    return res;
10447|  65.4k|}
typeobject.c:slot_tp_new:
11153|  63.5k|{
11154|  63.5k|    PyThreadState *tstate = _PyThreadState_GET();
11155|  63.5k|    PyObject *result;
11156|       |
11157|  63.5k|    _PyCStackRef func_ref;
11158|  63.5k|    _PyThreadState_PushCStackRef(tstate, &func_ref);
11159|  63.5k|    func_ref.ref = _PyObject_GetAttrStackRef((PyObject *)type, &_Py_ID(__new__));
  ------------------
  |  |  915|  63.5k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  63.5k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  63.5k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11160|  63.5k|    if (PyStackRef_IsNull(func_ref.ref)) {
  ------------------
  |  |  470|  63.5k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  467|  63.5k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  63.5k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (470:32): [True: 0, False: 63.5k]
  |  |  ------------------
  ------------------
11161|      0|        _PyThreadState_PopCStackRef(tstate, &func_ref);
11162|      0|        return NULL;
11163|      0|    }
11164|       |
11165|  63.5k|    PyObject *func = PyStackRef_AsPyObjectBorrow(func_ref.ref);
11166|  63.5k|    result = _PyObject_Call_Prepend(tstate, func, (PyObject *)type, args, kwds);
11167|  63.5k|    _PyThreadState_PopCStackRef(tstate, &func_ref);
11168|  63.5k|    return result;
11169|  63.5k|}
typeobject.c:slot_tp_call:
10901|  15.2k|{
10902|  15.2k|    return call_method(self, &_Py_ID(__call__), args, kwds);
  ------------------
  |  |  915|  15.2k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  15.2k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  15.2k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10903|  15.2k|}
typeobject.c:call_method:
 3086|   344k|{
 3087|   344k|    PyThreadState *tstate = _PyThreadState_GET();
 3088|   344k|    _PyCStackRef cref;
 3089|   344k|    _PyThreadState_PushCStackRef(tstate, &cref);
 3090|   344k|    PyObject *res = NULL;
 3091|   344k|    int unbound = lookup_method(self, attr, &cref.ref);
 3092|   344k|    if (unbound >= 0) {
  ------------------
  |  Branch (3092:9): [True: 344k, False: 0]
  ------------------
 3093|   344k|        PyObject *meth = PyStackRef_AsPyObjectBorrow(cref.ref);
 3094|   344k|        if (unbound) {
  ------------------
  |  Branch (3094:13): [True: 344k, False: 0]
  ------------------
 3095|   344k|            res = _PyObject_Call_Prepend(tstate, meth, self, args, kwds);
 3096|   344k|        }
 3097|      0|        else {
 3098|      0|            res = _PyObject_Call(tstate, meth, args, kwds);
 3099|      0|        }
 3100|   344k|    }
 3101|   344k|    _PyThreadState_PopCStackRef(tstate, &cref);
 3102|   344k|    return res;
 3103|   344k|}
typeobject.c:lookup_method:
 3035|   820k|{
 3036|   820k|    return lookup_method_ex(self, attr, out, 1);
 3037|   820k|}
typeobject.c:type_traverse:
 7157|  20.4k|{
 7158|  20.4k|    PyTypeObject *type = PyTypeObject_CAST(self);
  ------------------
  |  |  200|  20.4k|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 7159|       |
 7160|       |    /* Because of type_is_gc(), the collector only calls this
 7161|       |       for heaptypes. */
 7162|  20.4k|    if (!(type->tp_flags & Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|  20.4k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (7162:9): [True: 0, False: 20.4k]
  ------------------
 7163|      0|        char msg[200];
 7164|      0|        sprintf(msg, "type_traverse() called on non-heap type '%.100s'",
 7165|      0|                type->tp_name);
 7166|      0|        _PyObject_ASSERT_FAILED_MSG((PyObject *)type, msg);
  ------------------
  |  |  426|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  ------------------
 7167|      0|    }
 7168|       |
 7169|  20.4k|    Py_VISIT(type->tp_dict);
  ------------------
  |  |  194|  20.4k|    do {                                                                \
  |  |  195|  20.4k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 20.4k, False: 0]
  |  |  ------------------
  |  |  196|  20.4k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  20.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  20.4k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 20.4k]
  |  |  ------------------
  |  |  198|  20.4k|                return vret;                                            \
  |  |  199|  20.4k|        }                                                               \
  |  |  200|  20.4k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20.4k]
  |  |  ------------------
  ------------------
 7170|  20.4k|    Py_VISIT(type->tp_cache);
  ------------------
  |  |  194|  20.4k|    do {                                                                \
  |  |  195|  20.4k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 20.4k]
  |  |  ------------------
  |  |  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.4k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20.4k]
  |  |  ------------------
  ------------------
 7171|  20.4k|    Py_VISIT(type->tp_mro);
  ------------------
  |  |  194|  20.4k|    do {                                                                \
  |  |  195|  20.4k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 20.4k, False: 0]
  |  |  ------------------
  |  |  196|  20.4k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  20.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  20.4k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 20.4k]
  |  |  ------------------
  |  |  198|  20.4k|                return vret;                                            \
  |  |  199|  20.4k|        }                                                               \
  |  |  200|  20.4k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20.4k]
  |  |  ------------------
  ------------------
 7172|  20.4k|    Py_VISIT(type->tp_bases);
  ------------------
  |  |  194|  20.4k|    do {                                                                \
  |  |  195|  20.4k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 20.4k, False: 0]
  |  |  ------------------
  |  |  196|  20.4k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  20.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  20.4k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 20.4k]
  |  |  ------------------
  |  |  198|  20.4k|                return vret;                                            \
  |  |  199|  20.4k|        }                                                               \
  |  |  200|  20.4k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20.4k]
  |  |  ------------------
  ------------------
 7173|  20.4k|    Py_VISIT(type->tp_base);
  ------------------
  |  |  194|  20.4k|    do {                                                                \
  |  |  195|  20.4k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 20.4k, False: 0]
  |  |  ------------------
  |  |  196|  20.4k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  20.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  20.4k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 20.4k]
  |  |  ------------------
  |  |  198|  20.4k|                return vret;                                            \
  |  |  199|  20.4k|        }                                                               \
  |  |  200|  20.4k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20.4k]
  |  |  ------------------
  ------------------
 7174|  20.4k|    Py_VISIT(((PyHeapTypeObject *)type)->ht_module);
  ------------------
  |  |  194|  20.4k|    do {                                                                \
  |  |  195|  20.4k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 1.45k, False: 19.0k]
  |  |  ------------------
  |  |  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.4k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 20.4k]
  |  |  ------------------
  ------------------
 7175|       |
 7176|       |    /* There's no need to visit others because they can't be involved
 7177|       |       in cycles:
 7178|       |       type->tp_subclasses is a list of weak references,
 7179|       |       ((PyHeapTypeObject *)type)->ht_slots is a tuple of strings,
 7180|       |       ((PyHeapTypeObject *)type)->ht_*name are strings.
 7181|       |       */
 7182|       |
 7183|  20.4k|    return 0;
 7184|  20.4k|}
typeobject.c:type_clear:
 7188|    102|{
 7189|    102|    PyTypeObject *type = PyTypeObject_CAST(self);
  ------------------
  |  |  200|    102|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 7190|       |
 7191|       |    /* Because of type_is_gc(), the collector only calls this
 7192|       |       for heaptypes. */
 7193|    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)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7194|       |
 7195|       |    /* We need to invalidate the method cache carefully before clearing
 7196|       |       the dict, so that other objects caught in a reference cycle
 7197|       |       don't start calling destroyed methods.
 7198|       |
 7199|       |       Otherwise, we need to clear tp_mro, which is
 7200|       |       part of a hard cycle (its first element is the class itself) that
 7201|       |       won't be broken otherwise (it's a tuple and tuples don't have a
 7202|       |       tp_clear handler).
 7203|       |       We also need to clear ht_module, if present: the module usually holds a
 7204|       |       reference to its class. None of the other fields need to be
 7205|       |
 7206|       |       cleared, and here's why:
 7207|       |
 7208|       |       tp_cache:
 7209|       |           Not used; if it were, it would be a dict.
 7210|       |
 7211|       |       tp_bases, tp_base:
 7212|       |           If these are involved in a cycle, there must be at least
 7213|       |           one other, mutable object in the cycle, e.g. a base
 7214|       |           class's dict; the cycle will be broken that way.
 7215|       |
 7216|       |       tp_subclasses:
 7217|       |           A dict of weak references can't be part of a cycle; and
 7218|       |           dicts have their own tp_clear.
 7219|       |
 7220|       |       slots (in PyHeapTypeObject):
 7221|       |           A tuple of strings can't be part of a cycle.
 7222|       |    */
 7223|       |
 7224|    102|    PyType_Modified(type);
 7225|    102|    PyObject *dict = lookup_tp_dict(type);
 7226|    102|    if (dict) {
  ------------------
  |  Branch (7226:9): [True: 102, False: 0]
  ------------------
 7227|    102|        PyDict_Clear(dict);
 7228|    102|    }
 7229|    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]
  |  |  ------------------
  ------------------
 7230|       |
 7231|    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]
  |  |  ------------------
  ------------------
 7232|       |
 7233|    102|    return 0;
 7234|    102|}
typeobject.c:type_mro_impl:
 3532|    404|{
 3533|    404|    PyObject *seq;
 3534|    404|    seq = mro_implementation(self);
 3535|    404|    if (seq != NULL && !PyList_Check(seq)) {
  ------------------
  |  |   25|    404|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    404|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3535:9): [True: 404, False: 0]
  |  Branch (3535:24): [True: 358, False: 46]
  ------------------
 3536|    358|        Py_SETREF(seq, PySequence_List(seq));
  ------------------
  |  |  352|    358|    do { \
  |  |  353|    358|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    358|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|    358|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    358|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|    358|        *_tmp_dst_ptr = (src); \
  |  |  356|    358|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|    358|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 358]
  |  |  ------------------
  ------------------
 3537|    358|    }
 3538|    404|    return seq;
 3539|    404|}
typeobject.c:mro_implementation:
 3515|    404|{
 3516|    404|    PyObject *mro;
 3517|    404|    BEGIN_TYPE_LOCK();
 3518|    404|    mro = mro_implementation_unlocked(type);
 3519|    404|    END_TYPE_LOCK();
 3520|    404|    return mro;
 3521|    404|}
typeobject.c:mro_implementation_unlocked:
 3427|  3.08k|{
 3428|  3.08k|    ASSERT_TYPE_LOCK_HELD();
 3429|       |
 3430|  3.08k|    if (!_PyType_IsReady(type)) {
  ------------------
  |  Branch (3430:9): [True: 0, False: 3.08k]
  ------------------
 3431|      0|        if (PyType_Ready(type) < 0)
  ------------------
  |  Branch (3431:13): [True: 0, False: 0]
  ------------------
 3432|      0|            return NULL;
 3433|      0|    }
 3434|       |
 3435|  3.08k|    PyObject *bases = lookup_tp_bases(type);
 3436|  3.08k|    Py_ssize_t n = PyTuple_GET_SIZE(bases);
  ------------------
  |  |   27|  3.08k|#define PyTuple_GET_SIZE(op) PyTuple_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3437|  6.36k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (3437:28): [True: 3.28k, False: 3.08k]
  ------------------
 3438|  3.28k|        PyTypeObject *base = _PyType_CAST(PyTuple_GET_ITEM(bases, i));
  ------------------
  |  |  770|  3.28k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  3.28k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 3439|  3.28k|        if (lookup_tp_mro(base) == NULL) {
  ------------------
  |  Branch (3439:13): [True: 0, False: 3.28k]
  ------------------
 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.28k|        assert(PyTuple_Check(lookup_tp_mro(base)));
 3446|  3.28k|    }
 3447|       |
 3448|  3.08k|    if (n == 1) {
  ------------------
  |  Branch (3448:9): [True: 2.90k, False: 180]
  ------------------
 3449|       |        /* Fast path: if there is a single base, constructing the MRO
 3450|       |         * is trivial.
 3451|       |         */
 3452|  2.90k|        PyTypeObject *base = _PyType_CAST(PyTuple_GET_ITEM(bases, 0));
  ------------------
  |  |  770|  2.90k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  2.90k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 3453|  2.90k|        PyObject *base_mro = lookup_tp_mro(base);
 3454|  2.90k|        assert(base_mro != NULL);
 3455|  2.90k|        Py_ssize_t k = PyTuple_GET_SIZE(base_mro);
  ------------------
  |  |   27|  2.90k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.90k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.90k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3456|  2.90k|        PyObject *result = PyTuple_New(k + 1);
 3457|  2.90k|        if (result == NULL) {
  ------------------
  |  Branch (3457:13): [True: 0, False: 2.90k]
  ------------------
 3458|      0|            return NULL;
 3459|      0|        }
 3460|       |
 3461|  2.90k|        ;
 3462|  2.90k|        PyTuple_SET_ITEM(result, 0, Py_NewRef(type));
  ------------------
  |  |   40|  2.90k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  2.90k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.90k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  2.90k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.90k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3463|  9.58k|        for (Py_ssize_t i = 0; i < k; i++) {
  ------------------
  |  Branch (3463:32): [True: 6.67k, False: 2.90k]
  ------------------
 3464|  6.67k|            PyObject *cls = PyTuple_GET_ITEM(base_mro, i);
  ------------------
  |  |   29|  6.67k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  6.67k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.67k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3465|  6.67k|            PyTuple_SET_ITEM(result, i + 1, Py_NewRef(cls));
  ------------------
  |  |   40|  6.67k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  6.67k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.67k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  6.67k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.67k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3466|  6.67k|        }
 3467|  2.90k|        return result;
 3468|  2.90k|    }
 3469|       |
 3470|       |    /* This is just a basic sanity check. */
 3471|    180|    if (check_duplicates(bases) < 0) {
  ------------------
  |  Branch (3471:9): [True: 0, False: 180]
  ------------------
 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|    180|    PyObject **to_merge = PyMem_New(PyObject *, n + 1);
  ------------------
  |  |   64|    180|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|    180|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [True: 0, False: 180]
  |  |  ------------------
  |  |   65|    180|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
 3484|    180|    if (to_merge == NULL) {
  ------------------
  |  Branch (3484:9): [True: 0, False: 180]
  ------------------
 3485|      0|        PyErr_NoMemory();
 3486|      0|        return NULL;
 3487|      0|    }
 3488|       |
 3489|    180|    PyObject *mro_to_merge;
 3490|    554|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (3490:28): [True: 374, False: 180]
  ------------------
 3491|    374|        PyTypeObject *base = _PyType_CAST(PyTuple_GET_ITEM(bases, i));
  ------------------
  |  |  770|    374|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    374|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 3492|    374|        mro_to_merge = lookup_tp_mro(base);
 3493|    374|        assert(mro_to_merge != NULL);
 3494|    374|        to_merge[i] = mro_to_merge;
 3495|    374|    }
 3496|    180|    to_merge[n] = bases;
 3497|       |
 3498|    180|    PyObject *result = PyList_New(1);
 3499|    180|    if (result == NULL) {
  ------------------
  |  Branch (3499:9): [True: 0, False: 180]
  ------------------
 3500|      0|        PyMem_Free(to_merge);
 3501|      0|        return NULL;
 3502|      0|    }
 3503|       |
 3504|    180|    PyList_SET_ITEM(result, 0, Py_NewRef(type));
  ------------------
  |  |   50|    180|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    180|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    180|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    180|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    180|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3505|    180|    if (pmerge(result, to_merge, n + 1) < 0) {
  ------------------
  |  Branch (3505:9): [True: 0, False: 180]
  ------------------
 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|    180|    PyMem_Free(to_merge);
 3509|       |
 3510|    180|    return result;
 3511|    180|}
typeobject.c:check_duplicates:
 3266|    180|{
 3267|    180|    Py_ssize_t i, j, n;
 3268|       |    /* Let's use a quadratic time algorithm,
 3269|       |       assuming that the bases tuples is short.
 3270|       |    */
 3271|    180|    n = PyTuple_GET_SIZE(tuple);
  ------------------
  |  |   27|    180|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    180|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    180|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3272|    554|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (3272:17): [True: 374, False: 180]
  ------------------
 3273|    374|        PyObject *o = PyTuple_GET_ITEM(tuple, i);
  ------------------
  |  |   29|    374|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    374|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    374|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3274|    588|        for (j = i + 1; j < n; j++) {
  ------------------
  |  Branch (3274:25): [True: 214, False: 374]
  ------------------
 3275|    214|            if (PyTuple_GET_ITEM(tuple, j) == o) {
  ------------------
  |  |   29|    214|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    214|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    214|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3275:17): [True: 0, False: 214]
  ------------------
 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|    214|        }
 3291|    374|    }
 3292|    180|    return 0;
 3293|    180|}
typeobject.c:pmerge:
 3357|    180|{
 3358|    180|    int res = 0;
 3359|    180|    Py_ssize_t i, j, empty_cnt;
 3360|    180|    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|    180|    remain = PyMem_New(Py_ssize_t, to_merge_size);
  ------------------
  |  |   64|    180|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|    180|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [True: 0, False: 180]
  |  |  ------------------
  |  |   65|    180|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
 3367|    180|    if (remain == NULL) {
  ------------------
  |  Branch (3367:9): [True: 0, False: 180]
  ------------------
 3368|      0|        PyErr_NoMemory();
 3369|      0|        return -1;
 3370|      0|    }
 3371|    734|    for (i = 0; i < to_merge_size; i++)
  ------------------
  |  Branch (3371:17): [True: 554, False: 180]
  ------------------
 3372|    554|        remain[i] = 0;
 3373|       |
 3374|  1.11k|  again:
 3375|  1.11k|    empty_cnt = 0;
 3376|  2.00k|    for (i = 0; i < to_merge_size; i++) {
  ------------------
  |  Branch (3376:17): [True: 1.82k, False: 180]
  ------------------
 3377|  1.82k|        PyObject *candidate;
 3378|       |
 3379|  1.82k|        PyObject *cur_tuple = to_merge[i];
 3380|       |
 3381|  1.82k|        if (remain[i] >= PyTuple_GET_SIZE(cur_tuple)) {
  ------------------
  |  |   27|  1.82k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.82k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.82k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3381:13): [True: 554, False: 1.27k]
  ------------------
 3382|    554|            empty_cnt++;
 3383|    554|            continue;
 3384|    554|        }
 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.27k|        candidate = PyTuple_GET_ITEM(cur_tuple, remain[i]);
  ------------------
  |  |   29|  1.27k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  1.27k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.27k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3394|  4.56k|        for (j = 0; j < to_merge_size; j++) {
  ------------------
  |  Branch (3394:21): [True: 3.63k, False: 934]
  ------------------
 3395|  3.63k|            PyObject *j_lst = to_merge[j];
 3396|  3.63k|            if (tail_contains(j_lst, remain[j], candidate))
  ------------------
  |  Branch (3396:17): [True: 336, False: 3.29k]
  ------------------
 3397|    336|                goto skip; /* continue outer loop */
 3398|  3.63k|        }
 3399|    934|        res = PyList_Append(acc, candidate);
 3400|    934|        if (res < 0)
  ------------------
  |  Branch (3400:13): [True: 0, False: 934]
  ------------------
 3401|      0|            goto out;
 3402|       |
 3403|  3.84k|        for (j = 0; j < to_merge_size; j++) {
  ------------------
  |  Branch (3403:21): [True: 2.91k, False: 934]
  ------------------
 3404|  2.91k|            PyObject *j_lst = to_merge[j];
 3405|  2.91k|            if (remain[j] < PyTuple_GET_SIZE(j_lst) &&
  ------------------
  |  |   27|  5.82k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.91k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.91k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3405:17): [True: 2.45k, False: 462]
  ------------------
 3406|  2.45k|                PyTuple_GET_ITEM(j_lst, remain[j]) == candidate) {
  ------------------
  |  |   29|  2.45k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  2.45k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.45k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3406:17): [True: 1.70k, False: 748]
  ------------------
 3407|  1.70k|                remain[j]++;
 3408|  1.70k|            }
 3409|  2.91k|        }
 3410|    934|        goto again;
 3411|    336|      skip: ;
 3412|    336|    }
 3413|       |
 3414|    180|    if (empty_cnt != to_merge_size) {
  ------------------
  |  Branch (3414:9): [True: 0, False: 180]
  ------------------
 3415|      0|        set_mro_error(to_merge, to_merge_size, remain);
 3416|      0|        res = -1;
 3417|      0|    }
 3418|       |
 3419|    180|  out:
 3420|    180|    PyMem_Free(remain);
 3421|       |
 3422|    180|    return res;
 3423|    180|}
typeobject.c:tail_contains:
 3242|  3.63k|{
 3243|  3.63k|    Py_ssize_t j, size;
 3244|  3.63k|    size = PyTuple_GET_SIZE(tuple);
  ------------------
  |  |   27|  3.63k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.63k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3245|       |
 3246|  7.53k|    for (j = whence+1; j < size; j++) {
  ------------------
  |  Branch (3246:24): [True: 4.23k, False: 3.29k]
  ------------------
 3247|  4.23k|        if (PyTuple_GET_ITEM(tuple, j) == o)
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3247:13): [True: 336, False: 3.89k]
  ------------------
 3248|    336|            return 1;
 3249|  4.23k|    }
 3250|  3.29k|    return 0;
 3251|  3.63k|}
typeobject.c:type___subclasses___impl:
 7015|    141|{
 7016|    141|    return _PyType_GetSubclasses(self);
 7017|    141|}
typeobject.c:type_prepare:
 7022|  1.89k|{
 7023|  1.89k|    return PyDict_New();
 7024|  1.89k|}
typeobject.c:type___instancecheck___impl:
 2350|    264|{
 2351|    264|    return _PyObject_RealIsInstance(instance, (PyObject *)self);
 2352|    264|}
typeobject.c:type___subclasscheck___impl:
 2366|    708|{
 2367|    708|    return _PyObject_RealIsSubclass(subclass, (PyObject *)self);
 2368|    708|}
typeobject.c:type___dir___impl:
 7101|      4|{
 7102|      4|    PyObject *result = NULL;
 7103|      4|    PyObject *dict = PyDict_New();
 7104|       |
 7105|      4|    if (dict != NULL && merge_class_dict(dict, (PyObject *)self) == 0)
  ------------------
  |  Branch (7105:9): [True: 4, False: 0]
  |  Branch (7105:25): [True: 4, False: 0]
  ------------------
 7106|      4|        result = PyDict_Keys(dict);
 7107|       |
 7108|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7109|      4|    return result;
 7110|      4|}
typeobject.c:merge_class_dict:
 7037|     18|{
 7038|     18|    PyObject *classdict;
 7039|     18|    PyObject *bases;
 7040|       |
 7041|     18|    assert(PyDict_Check(dict));
 7042|     18|    assert(aclass);
 7043|       |
 7044|       |    /* Merge in the type's dict (if any). */
 7045|     18|    if (PyObject_GetOptionalAttr(aclass, &_Py_ID(__dict__), &classdict) < 0) {
  ------------------
  |  |  915|     18|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     18|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     18|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (7045:9): [True: 0, False: 18]
  ------------------
 7046|      0|        return -1;
 7047|      0|    }
 7048|     18|    if (classdict != NULL) {
  ------------------
  |  Branch (7048:9): [True: 18, False: 0]
  ------------------
 7049|     18|        int status = PyDict_Update(dict, classdict);
 7050|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7051|     18|        if (status < 0)
  ------------------
  |  Branch (7051:13): [True: 0, False: 18]
  ------------------
 7052|      0|            return -1;
 7053|     18|    }
 7054|       |
 7055|       |    /* Recursively merge in the base types' (if any) dicts. */
 7056|     18|    if (PyObject_GetOptionalAttr(aclass, &_Py_ID(__bases__), &bases) < 0) {
  ------------------
  |  |  915|     18|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     18|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     18|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (7056:9): [True: 0, False: 18]
  ------------------
 7057|      0|        return -1;
 7058|      0|    }
 7059|     18|    if (bases != NULL) {
  ------------------
  |  Branch (7059:9): [True: 18, False: 0]
  ------------------
 7060|       |        /* We have no guarantee that bases is a real tuple */
 7061|     18|        Py_ssize_t i, n;
 7062|     18|        n = PySequence_Size(bases); /* This better be right */
 7063|     18|        if (n < 0) {
  ------------------
  |  Branch (7063:13): [True: 0, False: 18]
  ------------------
 7064|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7065|      0|            return -1;
 7066|      0|        }
 7067|     18|        else {
 7068|     28|            for (i = 0; i < n; i++) {
  ------------------
  |  Branch (7068:25): [True: 10, False: 18]
  ------------------
 7069|     10|                int status;
 7070|     10|                PyObject *base = PySequence_GetItem(bases, i);
 7071|     10|                if (base == NULL) {
  ------------------
  |  Branch (7071:21): [True: 0, False: 10]
  ------------------
 7072|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7073|      0|                    return -1;
 7074|      0|                }
 7075|     10|                status = merge_class_dict(dict, base);
 7076|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7077|     10|                if (status < 0) {
  ------------------
  |  Branch (7077:21): [True: 0, False: 10]
  ------------------
 7078|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7079|      0|                    return -1;
 7080|      0|                }
 7081|     10|            }
 7082|     18|        }
 7083|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7084|     18|    }
 7085|     18|    return 0;
 7086|     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|    416|{
 1755|    416|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  200|    416|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1756|    416|    PyObject *bases = _PyType_GetBases(type);
 1757|    416|    if (bases == NULL) {
  ------------------
  |  Branch (1757:9): [True: 0, False: 416]
  ------------------
 1758|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1759|      0|    }
 1760|    416|    return bases;
 1761|    416|}
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:
 7588|      4|{
 7589|      4|    PyTypeObject *newbase, *oldbase;
 7590|      4|    PyTypeObject *oldto = setclass ? origto : origto->tp_base;
  ------------------
  |  Branch (7590:27): [True: 0, False: 4]
  ------------------
 7591|       |
 7592|      4|    if (setclass && newto->tp_free != oldto->tp_free) {
  ------------------
  |  Branch (7592:9): [True: 0, False: 4]
  |  Branch (7592:21): [True: 0, False: 0]
  ------------------
 7593|      0|        PyErr_Format(PyExc_TypeError,
 7594|      0|                     "%s assignment: "
 7595|      0|                     "'%s' deallocator differs from '%s'",
 7596|      0|                     attr,
 7597|      0|                     newto->tp_name,
 7598|      0|                     oldto->tp_name);
 7599|      0|        return 0;
 7600|      0|    }
 7601|      4|    if (!compatible_flags(setclass, origto, newto,
  ------------------
  |  Branch (7601:9): [True: 0, False: 4]
  ------------------
 7602|      4|                          Py_TPFLAGS_HAVE_GC |
  ------------------
  |  |  524|      4|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
 7603|      4|                          Py_TPFLAGS_INLINE_VALUES |
  ------------------
  |  |  472|      4|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
 7604|      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)
  |  |  ------------------
  ------------------
 7605|      0|    {
 7606|      0|        goto differs;
 7607|      0|    }
 7608|       |    /* For __class__ assignment, tp_dictoffset and tp_weaklistoffset should
 7609|       |       be the same for old and new types.
 7610|       |       For __bases__ assignment, they can only be set in the new base
 7611|       |       if they are set in the original class with the same value.
 7612|       |     */
 7613|      4|    if ((setclass || newto->tp_dictoffset)
  ------------------
  |  Branch (7613:10): [True: 0, False: 4]
  |  Branch (7613:22): [True: 0, False: 4]
  ------------------
 7614|      0|        && origto->tp_dictoffset != newto->tp_dictoffset)
  ------------------
  |  Branch (7614:12): [True: 0, False: 0]
  ------------------
 7615|      0|    {
 7616|      0|        goto differs;
 7617|      0|    }
 7618|      4|    if ((setclass || newto->tp_weaklistoffset)
  ------------------
  |  Branch (7618:10): [True: 0, False: 4]
  |  Branch (7618:22): [True: 0, False: 4]
  ------------------
 7619|      0|        && origto->tp_weaklistoffset != newto->tp_weaklistoffset)
  ------------------
  |  Branch (7619:12): [True: 0, False: 0]
  ------------------
 7620|      0|    {
 7621|      0|        goto differs;
 7622|      0|    }
 7623|       |    /*
 7624|       |     It's tricky to tell if two arbitrary types are sufficiently compatible as
 7625|       |     to be interchangeable; e.g., even if they have the same tp_basicsize, they
 7626|       |     might have totally different struct fields. It's much easier to tell if a
 7627|       |     type and its supertype are compatible; e.g., if they have the same
 7628|       |     tp_basicsize, then that means they have identical fields. So to check
 7629|       |     whether two arbitrary types are compatible, we first find the highest
 7630|       |     supertype that each is compatible with, and then if those supertypes are
 7631|       |     compatible then the original types must also be compatible.
 7632|       |    */
 7633|      4|    newbase = newto;
 7634|      4|    oldbase = oldto;
 7635|      4|    while (compatible_with_tp_base(newbase))
  ------------------
  |  Branch (7635:12): [True: 0, False: 4]
  ------------------
 7636|      0|        newbase = newbase->tp_base;
 7637|      4|    while (compatible_with_tp_base(oldbase))
  ------------------
  |  Branch (7637:12): [True: 0, False: 4]
  ------------------
 7638|      0|        oldbase = oldbase->tp_base;
 7639|      4|    if (newbase != oldbase &&
  ------------------
  |  Branch (7639:9): [True: 0, False: 4]
  ------------------
 7640|      0|        (newbase->tp_base != oldbase->tp_base ||
  ------------------
  |  Branch (7640:10): [True: 0, False: 0]
  ------------------
 7641|      0|         !same_slots_added(newbase, oldbase))) {
  ------------------
  |  Branch (7641:10): [True: 0, False: 0]
  ------------------
 7642|      0|        goto differs;
 7643|      0|    }
 7644|      4|    return 1;
 7645|      0|differs:
 7646|      0|    PyErr_Format(PyExc_TypeError,
 7647|      0|                    "%s assignment: "
 7648|      0|                    "'%s' object layout differs from '%s'",
 7649|      0|                    attr,
 7650|      0|                    newto->tp_name,
 7651|      0|                    oldto->tp_name);
 7652|      0|    return 0;
 7653|      4|}
typeobject.c:compatible_flags:
 7576|      4|{
 7577|       |    /* For __class__ assignment, the flags should be the same.
 7578|       |       For __bases__ assignment, the new base flags can only be set
 7579|       |       if the original class flags are set.
 7580|       |     */
 7581|      4|    return setclass ? (origto->tp_flags & flags) == (newto->tp_flags & flags)
  ------------------
  |  Branch (7581:12): [True: 0, False: 4]
  ------------------
 7582|      4|                    : !(~(origto->tp_flags & flags) & (newto->tp_flags & flags));
 7583|      4|}
typeobject.c:compatible_with_tp_base:
 7536|      8|{
 7537|      8|    PyTypeObject *parent = child->tp_base;
 7538|      8|    return (parent != NULL &&
  ------------------
  |  Branch (7538:13): [True: 8, False: 0]
  ------------------
 7539|      8|            child->tp_basicsize == parent->tp_basicsize &&
  ------------------
  |  Branch (7539:13): [True: 0, False: 8]
  ------------------
 7540|      0|            child->tp_itemsize == parent->tp_itemsize &&
  ------------------
  |  Branch (7540:13): [True: 0, False: 0]
  ------------------
 7541|      0|            (child->tp_dealloc == subtype_dealloc ||
  ------------------
  |  Branch (7541:14): [True: 0, False: 0]
  ------------------
 7542|      0|             child->tp_dealloc == parent->tp_dealloc));
  ------------------
  |  Branch (7542:14): [True: 0, False: 0]
  ------------------
 7543|      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); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  156|      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); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  154|      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.07k|{
 3652|  3.07k|    ASSERT_TYPE_LOCK_HELD();
 3653|       |
 3654|  3.07k|    PyObject *new_mro, *old_mro;
 3655|  3.07k|    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.07k|    old_mro = Py_XNewRef(lookup_tp_mro(type));
  ------------------
  |  |  551|  3.07k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  3.07k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.07k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3661|  3.07k|    new_mro = mro_invoke(type);  /* might cause reentrance */
 3662|  3.07k|    reent = (lookup_tp_mro(type) != old_mro);
 3663|  3.07k|    Py_XDECREF(old_mro);
  ------------------
  |  |  524|  3.07k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.07k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.07k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3664|  3.07k|    if (new_mro == NULL) {
  ------------------
  |  Branch (3664:9): [True: 0, False: 3.07k]
  ------------------
 3665|      0|        return -1;
 3666|      0|    }
 3667|       |
 3668|  3.07k|    if (reent) {
  ------------------
  |  Branch (3668:9): [True: 0, False: 3.07k]
  ------------------
 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.07k|    set_tp_mro(type, new_mro, initial);
 3674|       |
 3675|  3.07k|    type_mro_modified(type, new_mro);
 3676|       |    /* corner case: the super class might have been hidden
 3677|       |       from the custom MRO */
 3678|  3.07k|    type_mro_modified(type, lookup_tp_bases(type));
 3679|       |
 3680|       |    // XXX Expand this to Py_TPFLAGS_IMMUTABLETYPE?
 3681|  3.07k|    if (!(type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN)) {
  ------------------
  |  |  467|  3.07k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (3681:9): [True: 2.66k, False: 414]
  ------------------
 3682|  2.66k|        type_modified_unlocked(type);
 3683|  2.66k|    }
 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.07k|    if (p_old_mro != NULL)
  ------------------
  |  Branch (3690:9): [True: 4, False: 3.07k]
  ------------------
 3691|      4|        *p_old_mro = old_mro;  /* transfer the ownership */
 3692|  3.07k|    else
 3693|  3.07k|        Py_XDECREF(old_mro);
  ------------------
  |  |  524|  3.07k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.07k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.07k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3694|       |
 3695|  3.07k|    return 1;
 3696|  3.07k|}
typeobject.c:mro_invoke:
 3587|  3.07k|{
 3588|  3.07k|    PyObject *mro_result;
 3589|  3.07k|    PyObject *new_mro;
 3590|       |
 3591|  3.07k|    ASSERT_TYPE_LOCK_HELD();
 3592|       |
 3593|  3.07k|    const int custom = !Py_IS_TYPE(type, &PyType_Type);
  ------------------
  |  |  215|  3.07k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  3.07k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.07k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3594|       |
 3595|  3.07k|    if (custom) {
  ------------------
  |  Branch (3595:9): [True: 394, False: 2.68k]
  ------------------
 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|    394|        mro_result = call_method_noarg((PyObject *)type, &_Py_ID(mro));
  ------------------
  |  |  915|    394|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    394|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    394|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3599|    394|    }
 3600|  2.68k|    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.68k|        mro_result = mro_implementation_unlocked(type);
 3604|  2.68k|    }
 3605|  3.07k|    if (mro_result == NULL)
  ------------------
  |  Branch (3605:9): [True: 0, False: 3.07k]
  ------------------
 3606|      0|        return NULL;
 3607|       |
 3608|  3.07k|    new_mro = PySequence_Tuple(mro_result);
 3609|  3.07k|    Py_DECREF(mro_result);
  ------------------
  |  |  430|  3.07k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.07k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.07k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3610|  3.07k|    if (new_mro == NULL) {
  ------------------
  |  Branch (3610:9): [True: 0, False: 3.07k]
  ------------------
 3611|      0|        return NULL;
 3612|      0|    }
 3613|       |
 3614|  3.07k|    if (PyTuple_GET_SIZE(new_mro) == 0) {
  ------------------
  |  |   27|  3.07k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.07k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.07k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3614:9): [True: 0, False: 3.07k]
  ------------------
 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.07k|    if (custom && mro_check(type, new_mro) < 0) {
  ------------------
  |  Branch (3620:9): [True: 394, False: 2.68k]
  |  Branch (3620:19): [True: 0, False: 394]
  ------------------
 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.07k|    return new_mro;
 3625|  3.07k|}
typeobject.c:call_method_noarg:
 3070|    394|{
 3071|    394|    PyThreadState *tstate = _PyThreadState_GET();
 3072|    394|    _PyCStackRef cref;
 3073|    394|    _PyThreadState_PushCStackRef(tstate, &cref);
 3074|    394|    PyObject *res = NULL;
 3075|    394|    int unbound = lookup_method(self, attr, &cref.ref);
 3076|    394|    if (unbound >= 0) {
  ------------------
  |  Branch (3076:9): [True: 394, False: 0]
  ------------------
 3077|    394|        PyObject *func = PyStackRef_AsPyObjectBorrow(cref.ref);
 3078|    394|        res = call_unbound_noarg(unbound, func, self);
 3079|    394|    }
 3080|    394|    _PyThreadState_PopCStackRef(tstate, &cref);
 3081|    394|    return res;
 3082|    394|}
typeobject.c:mro_check:
 3543|    394|{
 3544|    394|    PyTypeObject *solid;
 3545|    394|    Py_ssize_t i, n;
 3546|       |
 3547|    394|    solid = solid_base(type);
 3548|       |
 3549|    394|    n = PyTuple_GET_SIZE(mro);
  ------------------
  |  |   27|    394|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    394|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    394|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3550|  2.28k|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (3550:17): [True: 1.88k, False: 394]
  ------------------
 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|    394|    return 0;
 3569|    394|}
typeobject.c:type_mro_modified:
 1280|  6.15k|{
 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.15k|    Py_ssize_t i, n;
 1294|       |
 1295|  6.15k|    ASSERT_TYPE_LOCK_HELD();
 1296|  6.15k|    if (!Py_IS_TYPE(type, &PyType_Type) && has_custom_mro(type)) {
  ------------------
  |  |  215|  12.3k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  6.15k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.15k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1296:9): [True: 788, False: 5.36k]
  |  Branch (1296:44): [True: 0, False: 788]
  ------------------
 1297|      0|        goto clear;
 1298|      0|    }
 1299|  6.15k|    n = PyTuple_GET_SIZE(bases);
  ------------------
  |  |   27|  6.15k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.15k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.15k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1300|  20.0k|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (1300:17): [True: 13.9k, False: 6.15k]
  ------------------
 1301|  13.9k|        PyObject *b = PyTuple_GET_ITEM(bases, i);
  ------------------
  |  |   29|  13.9k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  13.9k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1302|  13.9k|        PyTypeObject *cls = _PyType_CAST(b);
  ------------------
  |  |  770|  13.9k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  13.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1303|       |
 1304|  13.9k|        if (cls->tp_versions_used >= _Py_ATTR_CACHE_UNUSED) {
  ------------------
  |  |  251|  13.9k|#define _Py_ATTR_CACHE_UNUSED (30000)  // (see tp_versions_used)
  ------------------
  |  Branch (1304:13): [True: 0, False: 13.9k]
  ------------------
 1305|      0|            goto clear;
 1306|      0|        }
 1307|       |
 1308|  13.9k|        if (!is_subtype_with_mro(lookup_tp_mro(type), type, cls)) {
  ------------------
  |  Branch (1308:13): [True: 0, False: 13.9k]
  ------------------
 1309|      0|            goto clear;
 1310|      0|        }
 1311|  13.9k|    }
 1312|  6.15k|    return;
 1313|       |
 1314|  6.15k| 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(
  ------------------
  |  |  162|      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|    788|{
 1263|    788|    _PyCStackRef c_ref1, c_ref2;
 1264|    788|    PyThreadState *tstate = _PyThreadState_GET();
 1265|    788|    _PyThreadState_PushCStackRef(tstate, &c_ref1);
 1266|    788|    _PyThreadState_PushCStackRef(tstate, &c_ref2);
 1267|       |
 1268|    788|    _PyType_LookupStackRefAndVersion(Py_TYPE(tp), &_Py_ID(mro), &c_ref1.ref);
  ------------------
  |  |  213|    788|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    788|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    788|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  _PyType_LookupStackRefAndVersion(Py_TYPE(tp), &_Py_ID(mro), &c_ref1.ref);
  ------------------
  |  |  915|    788|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    788|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    788|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1269|    788|    _PyType_LookupStackRefAndVersion(&PyType_Type, &_Py_ID(mro), &c_ref2.ref);
  ------------------
  |  |  915|    788|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    788|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    788|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1270|       |
 1271|    788|    int custom = !PyStackRef_Is(c_ref1.ref, c_ref2.ref);
  ------------------
  |  |  721|    788|#define PyStackRef_Is(a, b) (((a).bits & (~Py_TAG_REFCNT)) == ((b).bits & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|    788|#define Py_TAG_REFCNT 1
  |  |  ------------------
  |  |               #define PyStackRef_Is(a, b) (((a).bits & (~Py_TAG_REFCNT)) == ((b).bits & (~Py_TAG_REFCNT)))
  |  |  ------------------
  |  |  |  |   55|    788|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
 1272|       |
 1273|    788|    _PyThreadState_PopCStackRef(tstate, &c_ref2);
 1274|    788|    _PyThreadState_PopCStackRef(tstate, &c_ref1);
 1275|    788|    return custom;
 1276|    788|}
typeobject.c:add_all_subclasses:
 9685|      4|{
 9686|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9687|      4|    int res = 0;
 9688|      8|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (9688:28): [True: 4, False: 4]
  ------------------
 9689|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9690|       |        // bases tuple must only contain types
 9691|      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))
  |  |  ------------------
  ------------------
 9692|      4|        if (add_subclass(base, type) < 0) {
  ------------------
  |  Branch (9692:13): [True: 0, False: 4]
  ------------------
 9693|      0|            res = -1;
 9694|      0|        }
 9695|      4|    }
 9696|      4|    return res;
 9697|      4|}
typeobject.c:add_subclass:
 9652|  3.27k|{
 9653|  3.27k|    PyObject *key = PyLong_FromVoidPtr((void *) type);
 9654|  3.27k|    if (key == NULL)
  ------------------
  |  Branch (9654:9): [True: 0, False: 3.27k]
  ------------------
 9655|      0|        return -1;
 9656|       |
 9657|  3.27k|    PyObject *ref = PyWeakref_NewRef((PyObject *)type, NULL);
 9658|  3.27k|    if (ref == NULL) {
  ------------------
  |  Branch (9658:9): [True: 0, False: 3.27k]
  ------------------
 9659|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9660|      0|        return -1;
 9661|      0|    }
 9662|       |
 9663|       |    // Only get tp_subclasses after creating the key and value.
 9664|       |    // PyWeakref_NewRef() can trigger a garbage collection which can execute
 9665|       |    // arbitrary Python code and so modify base->tp_subclasses.
 9666|  3.27k|    PyObject *subclasses = lookup_tp_subclasses(base);
 9667|  3.27k|    if (subclasses == NULL) {
  ------------------
  |  Branch (9667:9): [True: 630, False: 2.64k]
  ------------------
 9668|    630|        subclasses = init_tp_subclasses(base);
 9669|    630|        if (subclasses == NULL) {
  ------------------
  |  Branch (9669:13): [True: 0, False: 630]
  ------------------
 9670|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9671|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9672|      0|            return -1;
 9673|      0|        }
 9674|    630|    }
 9675|  3.27k|    assert(PyDict_CheckExact(subclasses));
 9676|       |
 9677|  3.27k|    int result = PyDict_SetItem(subclasses, key, ref);
 9678|  3.27k|    Py_DECREF(ref);
  ------------------
  |  |  430|  3.27k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.27k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.27k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9679|  3.27k|    Py_DECREF(key);
  ------------------
  |  |  430|  3.27k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.27k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.27k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9680|  3.27k|    return result;
 9681|  3.27k|}
typeobject.c:update_all_slots:
12127|      4|{
12128|      4|    pytype_slotdef *p;
12129|    380|    for (p = slotdefs; p->name; p++) {
  ------------------
  |  Branch (12129:24): [True: 376, False: 4]
  ------------------
12130|       |        /* update_slot returns int but can't actually fail in this case*/
12131|       |        update_slot(type, p->name_strobj, NULL);
12132|    376|    }
12133|      4|    return 0;
12134|      4|}
typeobject.c:set_tp_mro:
  652|  3.07k|{
  653|  3.07k|    if (mro != NULL) {
  ------------------
  |  Branch (653:9): [True: 3.07k, False: 0]
  ------------------
  654|  3.07k|        assert(PyTuple_CheckExact(mro));
  655|  3.07k|        if (self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  3.07k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (655:13): [True: 414, False: 2.66k]
  ------------------
  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.66k|        else {
  664|  2.66k|            PyUnstable_Object_EnableDeferredRefcount(mro);
  665|  2.66k|        }
  666|  3.07k|    }
  667|  3.07k|    if (!initial) {
  ------------------
  |  Branch (667:9): [True: 4, False: 3.07k]
  ------------------
  668|      4|        type_lock_prevent_release();
  669|      4|        types_stop_world();
  670|      4|    }
  671|  3.07k|    self->tp_mro = mro;
  672|  3.07k|    if (!initial) {
  ------------------
  |  Branch (672:9): [True: 4, False: 3.07k]
  ------------------
  673|      4|        types_start_world();
  674|      4|        type_lock_allow_release();
  675|      4|    }
  676|  3.07k|}
typeobject.c:type_get_module:
 1630|    320|{
 1631|    320|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  200|    320|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1632|    320|    return type_module(type);
 1633|    320|}
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) {
  ------------------
  |  |  915|     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);
  ------------------
  |  |  915|     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|    372|{
 1694|    372|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  200|    372|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1695|    372|    PyObject *res = NULL;
 1696|       |    /* type itself has an __abstractmethods__ descriptor (this). Don't return
 1697|       |       that. */
 1698|    372|    if (type == &PyType_Type) {
  ------------------
  |  Branch (1698:9): [True: 0, False: 372]
  ------------------
 1699|      0|        PyErr_SetObject(PyExc_AttributeError, &_Py_ID(__abstractmethods__));
  ------------------
  |  |  915|      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|    372|    else {
 1702|    372|        PyObject *dict = lookup_tp_dict(type);
 1703|    372|        if (PyDict_GetItemRef(dict, &_Py_ID(__abstractmethods__), &res) == 0) {
  ------------------
  |  |  915|    372|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    372|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    372|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1703:13): [True: 122, False: 250]
  ------------------
 1704|    122|            PyErr_SetObject(PyExc_AttributeError, &_Py_ID(__abstractmethods__));
  ------------------
  |  |  915|    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|    372|    }
 1707|    372|    return res;
 1708|    372|}
typeobject.c:type_set_abstractmethods:
 1712|    268|{
 1713|    268|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  200|    268|#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|    268|    int abstract, res;
 1719|    268|    PyObject *dict = lookup_tp_dict(type);
 1720|    268|    if (value != NULL) {
  ------------------
  |  Branch (1720:9): [True: 268, False: 0]
  ------------------
 1721|    268|        abstract = PyObject_IsTrue(value);
 1722|    268|        if (abstract < 0)
  ------------------
  |  Branch (1722:13): [True: 0, False: 268]
  ------------------
 1723|      0|            return -1;
 1724|    268|        res = PyDict_SetItem(dict, &_Py_ID(__abstractmethods__), value);
  ------------------
  |  |  915|    268|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    268|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    268|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1725|    268|    }
 1726|      0|    else {
 1727|      0|        abstract = 0;
 1728|      0|        res = PyDict_Pop(dict, &_Py_ID(__abstractmethods__), NULL);
  ------------------
  |  |  915|      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__));
  ------------------
  |  |  915|      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|    268|    if (res < 0) {
  ------------------
  |  Branch (1734:9): [True: 0, False: 268]
  ------------------
 1735|      0|        return -1;
 1736|      0|    }
 1737|       |
 1738|    268|    BEGIN_TYPE_LOCK();
 1739|    268|    type_modified_unlocked(type);
 1740|    268|    types_stop_world();
 1741|    268|    if (abstract)
  ------------------
  |  Branch (1741:9): [True: 106, False: 162]
  ------------------
 1742|    106|        type_add_flags(type, Py_TPFLAGS_IS_ABSTRACT);
  ------------------
  |  |  540|    106|#define Py_TPFLAGS_IS_ABSTRACT (1UL << 20)
  ------------------
 1743|    162|    else
 1744|    162|        type_clear_flags(type, Py_TPFLAGS_IS_ABSTRACT);
  ------------------
  |  |  540|    162|#define Py_TPFLAGS_IS_ABSTRACT (1UL << 20)
  ------------------
 1745|    268|    types_start_world();
 1746|    268|    ASSERT_TYPE_LOCK_HELD();
 1747|    268|    END_TYPE_LOCK();
 1748|       |
 1749|    268|    return 0;
 1750|    268|}
typeobject.c:type_dict:
 2035|  3.90k|{
 2036|  3.90k|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  200|  3.90k|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 2037|  3.90k|    PyObject *dict = lookup_tp_dict(type);
 2038|  3.90k|    if (dict == NULL) {
  ------------------
  |  Branch (2038:9): [True: 0, False: 3.90k]
  ------------------
 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.90k|    return PyDictProxy_New(dict);
 2042|  3.90k|}
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) {
  ------------------
  |  |  915|     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);
  ------------------
  |  |  915|     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) {
  ------------------
  |  |  915|    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) {
  ------------------
  |  |  915|    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);
  ------------------
  |  |  915|     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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|      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);
  ------------------
  |  |  915|    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);
  ------------------
  |  |  915|      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) {
  ------------------
  |  |  915|    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) {
  ------------------
  |  |  915|    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) {
  ------------------
  |  |  915|     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) {
  ------------------
  |  |  915|     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);
  ------------------
  |  |  915|     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);
  ------------------
  |  |  915|     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) {
  ------------------
  |  |  915|     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.41k|{
 4112|  2.41k|    assert(args != NULL && PyTuple_Check(args));
 4113|  2.41k|    assert(kwds == NULL || PyDict_Check(kwds));
 4114|       |
 4115|  2.41k|    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.25k]
  |  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.41k|    if ((PyTuple_GET_SIZE(args) != 1 && PyTuple_GET_SIZE(args) != 3)) {
  ------------------
  |  |   27|  2.41k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if ((PyTuple_GET_SIZE(args) != 1 && PyTuple_GET_SIZE(args) != 3)) {
  ------------------
  |  |   27|  2.41k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4122:10): [True: 2.41k, False: 0]
  |  Branch (4122:41): [True: 0, False: 2.41k]
  ------------------
 4123|      0|        PyErr_SetString(PyExc_TypeError,
 4124|      0|                        "type.__init__() takes 1 or 3 arguments");
 4125|      0|        return -1;
 4126|      0|    }
 4127|       |
 4128|  2.41k|    return 0;
 4129|  2.41k|}
typeobject.c:type_new:
 5041|  2.46k|{
 5042|  2.46k|    assert(args != NULL && PyTuple_Check(args));
 5043|  2.46k|    assert(kwds == NULL || PyDict_Check(kwds));
 5044|       |
 5045|       |    /* Parse arguments: (name, bases, dict) */
 5046|  2.46k|    PyObject *name, *bases, *orig_dict;
 5047|  2.46k|    if (!PyArg_ParseTuple(args, "UO!O:type.__new__",
  ------------------
  |  Branch (5047:9): [True: 0, False: 2.46k]
  ------------------
 5048|  2.46k|                          &name,
 5049|  2.46k|                          &PyTuple_Type, &bases,
 5050|  2.46k|                          &orig_dict))
 5051|      0|    {
 5052|      0|        return NULL;
 5053|      0|    }
 5054|  2.46k|    if (!PyAnyDict_Check(orig_dict)) {
  ------------------
  |  |   43|  2.46k|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|  2.46k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  4.92k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 2.46k, 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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5055|      0|        PyErr_Format(PyExc_TypeError,
 5056|      0|                     "type.__new__() argument 3 must be dict or frozendict, not %T",
 5057|      0|                     orig_dict);
 5058|      0|        return NULL;
 5059|      0|    }
 5060|       |
 5061|  2.46k|    type_new_ctx ctx = {
 5062|  2.46k|        .metatype = metatype,
 5063|  2.46k|        .args = args,
 5064|  2.46k|        .kwds = kwds,
 5065|  2.46k|        .orig_dict = orig_dict,
 5066|  2.46k|        .name = name,
 5067|  2.46k|        .bases = bases,
 5068|  2.46k|        .base = NULL,
 5069|  2.46k|        .slots = NULL,
 5070|  2.46k|        .nslot = 0,
 5071|  2.46k|        .add_dict = 0,
 5072|  2.46k|        .add_weak = 0,
 5073|  2.46k|        .may_add_dict = 0,
 5074|  2.46k|        .may_add_weak = 0};
 5075|  2.46k|    PyObject *type = NULL;
 5076|  2.46k|    int res = type_new_get_bases(&ctx, &type);
 5077|  2.46k|    if (res < 0) {
  ------------------
  |  Branch (5077:9): [True: 0, False: 2.46k]
  ------------------
 5078|      0|        assert(PyErr_Occurred());
 5079|      0|        return NULL;
 5080|      0|    }
 5081|  2.46k|    if (res == 1) {
  ------------------
  |  Branch (5081:9): [True: 44, False: 2.41k]
  ------------------
 5082|     44|        assert(type != NULL);
 5083|     44|        return type;
 5084|     44|    }
 5085|  2.46k|    assert(ctx.base != NULL);
 5086|  2.41k|    assert(ctx.bases != NULL);
 5087|       |
 5088|  2.41k|    type = type_new_impl(&ctx);
 5089|  2.41k|    Py_DECREF(ctx.bases);
  ------------------
  |  |  430|  2.41k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5090|  2.41k|    return type;
 5091|  2.46k|}
typeobject.c:type_new_get_bases:
 4977|  2.46k|{
 4978|  2.46k|    Py_ssize_t nbases = PyTuple_GET_SIZE(ctx->bases);
  ------------------
  |  |   27|  2.46k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.46k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4979|  2.46k|    if (nbases == 0) {
  ------------------
  |  Branch (4979:9): [True: 558, False: 1.90k]
  ------------------
 4980|       |        // Adjust for empty tuple bases
 4981|    558|        ctx->base = &PyBaseObject_Type;
 4982|    558|        PyObject *new_bases = PyTuple_Pack(1, ctx->base);
 4983|    558|        if (new_bases == NULL) {
  ------------------
  |  Branch (4983:13): [True: 0, False: 558]
  ------------------
 4984|      0|            return -1;
 4985|      0|        }
 4986|    558|        ctx->bases = new_bases;
 4987|    558|        return 0;
 4988|    558|    }
 4989|       |
 4990|  4.00k|    for (Py_ssize_t i = 0; i < nbases; i++) {
  ------------------
  |  Branch (4990:28): [True: 2.09k, False: 1.90k]
  ------------------
 4991|  2.09k|        PyObject *base = PyTuple_GET_ITEM(ctx->bases, i);
  ------------------
  |  |   29|  2.09k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  2.09k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4992|  2.09k|        if (PyType_Check(base)) {
  ------------------
  |  |  766|  2.09k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 2.09k, False: 0]
  |  |  ------------------
  ------------------
 4993|  2.09k|            continue;
 4994|  2.09k|        }
 4995|      0|        int rc = PyObject_HasAttrWithError(base, &_Py_ID(__mro_entries__));
  ------------------
  |  |  915|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4996|      0|        if (rc < 0) {
  ------------------
  |  Branch (4996:13): [True: 0, False: 0]
  ------------------
 4997|      0|            return -1;
 4998|      0|        }
 4999|      0|        if (rc) {
  ------------------
  |  Branch (4999:13): [True: 0, False: 0]
  ------------------
 5000|      0|            PyErr_SetString(PyExc_TypeError,
 5001|      0|                            "type() doesn't support MRO entry resolution; "
 5002|      0|                            "use types.new_class()");
 5003|      0|            return -1;
 5004|      0|        }
 5005|      0|    }
 5006|       |
 5007|       |    // Search the bases for the proper metatype to deal with this
 5008|  1.90k|    PyTypeObject *winner;
 5009|  1.90k|    winner = _PyType_CalculateMetaclass(ctx->metatype, ctx->bases);
 5010|  1.90k|    if (winner == NULL) {
  ------------------
  |  Branch (5010:9): [True: 0, False: 1.90k]
  ------------------
 5011|      0|        return -1;
 5012|      0|    }
 5013|       |
 5014|  1.90k|    if (winner != ctx->metatype) {
  ------------------
  |  Branch (5014:9): [True: 44, False: 1.85k]
  ------------------
 5015|     44|        if (winner->tp_new != type_new) {
  ------------------
  |  Branch (5015:13): [True: 44, False: 0]
  ------------------
 5016|       |            /* Pass it to the winner */
 5017|     44|            *type = winner->tp_new(winner, ctx->args, ctx->kwds);
 5018|     44|            if (*type == NULL) {
  ------------------
  |  Branch (5018:17): [True: 0, False: 44]
  ------------------
 5019|      0|                return -1;
 5020|      0|            }
 5021|     44|            return 1;
 5022|     44|        }
 5023|       |
 5024|      0|        ctx->metatype = winner;
 5025|      0|    }
 5026|       |
 5027|       |    /* Calculate best base, and check that all bases are type objects */
 5028|  1.85k|    PyTypeObject *base = find_best_base(ctx->bases);
 5029|  1.85k|    if (base == NULL) {
  ------------------
  |  Branch (5029:9): [True: 0, False: 1.85k]
  ------------------
 5030|      0|        return -1;
 5031|      0|    }
 5032|       |
 5033|  1.85k|    ctx->base = base;
 5034|  1.85k|    ctx->bases = Py_NewRef(ctx->bases);
  ------------------
  |  |  550|  1.85k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.85k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.85k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5035|  1.85k|    return 0;
 5036|  1.85k|}
typeobject.c:type_new_impl:
 4924|  2.41k|{
 4925|  2.41k|    PyTypeObject *type = type_new_init(ctx);
 4926|  2.41k|    if (type == NULL) {
  ------------------
  |  Branch (4926:9): [True: 0, False: 2.41k]
  ------------------
 4927|      0|        return NULL;
 4928|      0|    }
 4929|       |
 4930|  2.41k|    if (type_new_set_attrs(ctx, type) < 0) {
  ------------------
  |  Branch (4930:9): [True: 0, False: 2.41k]
  ------------------
 4931|      0|        goto error;
 4932|      0|    }
 4933|       |
 4934|       |    /* Initialize the rest */
 4935|  2.41k|    if (PyType_Ready(type) < 0) {
  ------------------
  |  Branch (4935:9): [True: 0, False: 2.41k]
  ------------------
 4936|      0|        goto error;
 4937|      0|    }
 4938|       |
 4939|       |    // Put the proper slots in place
 4940|  2.41k|    fixup_slot_dispatchers(type);
 4941|       |
 4942|  2.41k|    if (!_PyDict_HasOnlyStringKeys(type->tp_dict)) {
  ------------------
  |  Branch (4942:9): [True: 0, False: 2.41k]
  ------------------
 4943|      0|        if (PyErr_WarnFormat(
  ------------------
  |  Branch (4943:13): [True: 0, False: 0]
  ------------------
 4944|      0|                PyExc_RuntimeWarning,
 4945|      0|                1,
 4946|      0|                "non-string key in the __dict__ of class %.200s",
 4947|      0|                type->tp_name) == -1)
 4948|      0|        {
 4949|      0|            goto error;
 4950|      0|        }
 4951|      0|    }
 4952|       |
 4953|  2.41k|    if (type_new_set_names(type) < 0) {
  ------------------
  |  Branch (4953:9): [True: 0, False: 2.41k]
  ------------------
 4954|      0|        goto error;
 4955|      0|    }
 4956|       |
 4957|  2.41k|    if (type_new_init_subclass(type, ctx->kwds) < 0) {
  ------------------
  |  Branch (4957:9): [True: 0, False: 2.41k]
  ------------------
 4958|      0|        goto error;
 4959|      0|    }
 4960|       |
 4961|  2.41k|    assert(_PyType_CheckConsistency(type));
 4962|       |#if defined(Py_GIL_DISABLED) && defined(Py_DEBUG) && SIZEOF_VOID_P > 4
 4963|       |    // After this point, other threads can potentally use this type.
 4964|       |    ((PyObject*)type)->ob_flags |= _Py_TYPE_REVEALED_FLAG;
 4965|       |#endif
 4966|       |
 4967|  2.41k|    return (PyObject *)type;
 4968|       |
 4969|      0|error:
 4970|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4971|       |    return NULL;
 4972|  2.41k|}
typeobject.c:type_new_init:
 4881|  2.41k|{
 4882|  2.41k|    PyObject *dict = _PyDict_CopyAsDict(ctx->orig_dict);
 4883|  2.41k|    if (dict == NULL) {
  ------------------
  |  Branch (4883:9): [True: 0, False: 2.41k]
  ------------------
 4884|      0|        goto error;
 4885|      0|    }
 4886|       |
 4887|  2.41k|    if (type_new_get_slots(ctx, dict) < 0) {
  ------------------
  |  Branch (4887:9): [True: 0, False: 2.41k]
  ------------------
 4888|      0|        goto error;
 4889|      0|    }
 4890|  2.41k|    assert(!PyErr_Occurred());
 4891|       |
 4892|  2.41k|    if (type_new_slots(ctx, dict) < 0) {
  ------------------
  |  Branch (4892:9): [True: 0, False: 2.41k]
  ------------------
 4893|      0|        goto error;
 4894|      0|    }
 4895|       |
 4896|  2.41k|    PyTypeObject *type = type_new_alloc(ctx);
 4897|  2.41k|    if (type == NULL) {
  ------------------
  |  Branch (4897:9): [True: 0, False: 2.41k]
  ------------------
 4898|      0|        goto error;
 4899|      0|    }
 4900|       |
 4901|  2.41k|    set_tp_dict(type, dict);
 4902|       |
 4903|  2.41k|    PyHeapTypeObject *et = (PyHeapTypeObject*)type;
 4904|  2.41k|    if (ctx->slots && PyTuple_GET_SIZE(ctx->slots)) {
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (27:30): [True: 144, False: 238]
  |  |  ------------------
  ------------------
  |  Branch (4904:9): [True: 382, False: 2.03k]
  ------------------
 4905|    144|        et->ht_slots = ctx->slots;
 4906|    144|        ctx->slots = NULL;
 4907|    144|    }
 4908|  2.27k|    else {
 4909|  2.27k|        et->ht_slots = NULL;
 4910|  2.27k|        Py_CLEAR(ctx->slots);
  ------------------
  |  |  484|  2.27k|    do { \
  |  |  485|  2.27k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  2.27k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  2.27k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  2.27k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  2.27k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 238, False: 2.03k]
  |  |  ------------------
  |  |  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.27k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2.27k]
  |  |  ------------------
  ------------------
 4911|  2.27k|    }
 4912|       |
 4913|  2.41k|    return type;
 4914|       |
 4915|      0|error:
 4916|      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]
  |  |  ------------------
  ------------------
 4917|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4918|       |    return NULL;
 4919|  2.41k|}
typeobject.c:type_new_get_slots:
 4850|  2.41k|{
 4851|  2.41k|    PyObject *slots = PyDict_GetItemWithError(dict, &_Py_ID(__slots__));
  ------------------
  |  |  915|  2.41k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  2.41k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.41k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4852|  2.41k|    if (slots == NULL) {
  ------------------
  |  Branch (4852:9): [True: 2.03k, False: 382]
  ------------------
 4853|  2.03k|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (4853:13): [True: 0, False: 2.03k]
  ------------------
 4854|      0|            return -1;
 4855|      0|        }
 4856|  2.03k|        ctx->slots = NULL;
 4857|  2.03k|        ctx->nslot = 0;
 4858|  2.03k|        return 0;
 4859|  2.03k|    }
 4860|       |
 4861|       |    // Make it into a tuple
 4862|    382|    PyObject *new_slots;
 4863|    382|    if (PyUnicode_Check(slots)) {
  ------------------
  |  |  103|    382|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    382|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 382]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4864|      0|        new_slots = PyTuple_Pack(1, slots);
 4865|      0|    }
 4866|    382|    else {
 4867|    382|        new_slots = PySequence_Tuple(slots);
 4868|    382|    }
 4869|    382|    if (new_slots == NULL) {
  ------------------
  |  Branch (4869:9): [True: 0, False: 382]
  ------------------
 4870|      0|        return -1;
 4871|      0|    }
 4872|    382|    assert(PyTuple_CheckExact(new_slots));
 4873|    382|    ctx->slots = new_slots;
 4874|    382|    ctx->nslot = PyTuple_GET_SIZE(new_slots);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4875|    382|    return 0;
 4876|    382|}
typeobject.c:type_new_slots:
 4375|  2.41k|{
 4376|       |    // Check for a __slots__ sequence variable in dict, and count it
 4377|  2.41k|    ctx->add_dict = 0;
 4378|  2.41k|    ctx->add_weak = 0;
 4379|  2.41k|    ctx->may_add_dict = (ctx->base->tp_dictoffset == 0);
 4380|  2.41k|    ctx->may_add_weak = (ctx->base->tp_weaklistoffset == 0);
 4381|       |
 4382|  2.41k|    if (ctx->slots == NULL) {
  ------------------
  |  Branch (4382:9): [True: 2.03k, False: 382]
  ------------------
 4383|  2.03k|        if (ctx->may_add_dict) {
  ------------------
  |  Branch (4383:13): [True: 798, False: 1.23k]
  ------------------
 4384|    798|            ctx->add_dict++;
 4385|    798|        }
 4386|  2.03k|        if (ctx->may_add_weak && ctx->base->tp_itemsize == 0) {
  ------------------
  |  Branch (4386:13): [True: 1.05k, False: 976]
  |  Branch (4386:34): [True: 976, False: 82]
  ------------------
 4387|    976|            ctx->add_weak++;
 4388|    976|        }
 4389|  2.03k|    }
 4390|    382|    else {
 4391|       |        /* Have slots */
 4392|    382|        if (type_new_slots_impl(ctx, dict) < 0) {
  ------------------
  |  Branch (4392:13): [True: 0, False: 382]
  ------------------
 4393|      0|            return -1;
 4394|      0|        }
 4395|    382|    }
 4396|  2.41k|    return 0;
 4397|  2.41k|}
typeobject.c:type_new_slots_impl:
 4353|    382|{
 4354|    382|    if (type_new_visit_slots(ctx) < 0) {
  ------------------
  |  Branch (4354:9): [True: 0, False: 382]
  ------------------
 4355|      0|        return -1;
 4356|      0|    }
 4357|       |
 4358|    382|    PyObject *new_slots = type_new_copy_slots(ctx, dict);
 4359|    382|    if (new_slots == NULL) {
  ------------------
  |  Branch (4359:9): [True: 0, False: 382]
  ------------------
 4360|      0|        return -1;
 4361|      0|    }
 4362|    382|    assert(PyTuple_CheckExact(new_slots));
 4363|       |
 4364|    382|    Py_XSETREF(ctx->slots, new_slots);
  ------------------
  |  |  374|    382|    do { \
  |  |  375|    382|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    382|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|    382|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    382|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|    382|        *_tmp_dst_ptr = (src); \
  |  |  378|    382|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|    382|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    382|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    382|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|    382|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 382]
  |  |  ------------------
  ------------------
 4365|    382|    ctx->nslot = PyTuple_GET_SIZE(new_slots);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4366|       |
 4367|       |    /* Secondary bases may provide weakrefs or dict */
 4368|    382|    type_new_slots_bases(ctx);
 4369|    382|    return 0;
 4370|    382|}
typeobject.c:type_new_visit_slots:
 4207|    382|{
 4208|    382|    PyObject *slots = ctx->slots;
 4209|    382|    Py_ssize_t nslot = ctx->nslot;
 4210|    986|    for (Py_ssize_t i = 0; i < nslot; i++) {
  ------------------
  |  Branch (4210:28): [True: 604, False: 382]
  ------------------
 4211|    604|        PyObject *name = PyTuple_GET_ITEM(slots, i);
  ------------------
  |  |   29|    604|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    604|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    604|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4212|    604|        if (!valid_identifier(name)) {
  ------------------
  |  Branch (4212:13): [True: 0, False: 604]
  ------------------
 4213|      0|            return -1;
 4214|      0|        }
 4215|    604|        assert(PyUnicode_Check(name));
 4216|    604|        if (_PyUnicode_Equal(name, &_Py_ID(__dict__))) {
  ------------------
  |  |  915|    604|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    604|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    604|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4216:13): [True: 2, False: 602]
  ------------------
 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|    604|        if (_PyUnicode_Equal(name, &_Py_ID(__weakref__))) {
  ------------------
  |  |  915|    604|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    604|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    604|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4225:13): [True: 26, False: 578]
  ------------------
 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|    604|    }
 4235|    382|    return 0;
 4236|    382|}
typeobject.c:valid_identifier:
 4094|    604|{
 4095|    604|    if (!PyUnicode_Check(s)) {
  ------------------
  |  |  103|    604|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    604|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4095:9): [True: 0, False: 604]
  ------------------
 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|    604|    if (!PyUnicode_IsIdentifier(s)) {
  ------------------
  |  Branch (4101:9): [True: 0, False: 604]
  ------------------
 4102|      0|        PyErr_SetString(PyExc_TypeError,
 4103|      0|                        "__slots__ must be identifiers");
 4104|      0|        return 0;
 4105|      0|    }
 4106|    604|    return 1;
 4107|    604|}
typeobject.c:type_new_copy_slots:
 4245|    382|{
 4246|    382|    PyObject *slots = ctx->slots;
 4247|    382|    Py_ssize_t nslot = ctx->nslot;
 4248|       |
 4249|    382|    Py_ssize_t new_nslot = nslot - ctx->add_dict - ctx->add_weak;
 4250|    382|    PyObject *new_slots = PyList_New(new_nslot);
 4251|    382|    if (new_slots == NULL) {
  ------------------
  |  Branch (4251:9): [True: 0, False: 382]
  ------------------
 4252|      0|        return NULL;
 4253|      0|    }
 4254|       |
 4255|    382|    Py_ssize_t j = 0;
 4256|    986|    for (Py_ssize_t i = 0; i < nslot; i++) {
  ------------------
  |  Branch (4256:28): [True: 604, False: 382]
  ------------------
 4257|    604|        PyObject *slot = PyTuple_GET_ITEM(slots, i);
  ------------------
  |  |   29|    604|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    604|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    604|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4258|    604|        if ((ctx->add_dict && _PyUnicode_Equal(slot, &_Py_ID(__dict__))) ||
  ------------------
  |  |  915|     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: 590]
  |  Branch (4258:31): [True: 2, False: 12]
  ------------------
 4259|    602|            (ctx->add_weak && _PyUnicode_Equal(slot, &_Py_ID(__weakref__))))
  ------------------
  |  |  915|    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: 474]
  |  Branch (4259:31): [True: 26, False: 102]
  ------------------
 4260|     28|        {
 4261|     28|            continue;
 4262|     28|        }
 4263|       |
 4264|    576|        slot =_Py_Mangle(ctx->name, slot);
 4265|    576|        if (!slot) {
  ------------------
  |  Branch (4265:13): [True: 0, False: 576]
  ------------------
 4266|      0|            goto error;
 4267|      0|        }
 4268|    576|        PyList_SET_ITEM(new_slots, j, slot);
  ------------------
  |  |   50|    576|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    576|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    576|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    576|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    576|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4269|       |
 4270|    576|        int r = PyDict_Contains(dict, slot);
 4271|    576|        if (r < 0) {
  ------------------
  |  Branch (4271:13): [True: 0, False: 576]
  ------------------
 4272|      0|            goto error;
 4273|      0|        }
 4274|    576|        if (r > 0) {
  ------------------
  |  Branch (4274:13): [True: 0, False: 576]
  ------------------
 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__)) &&
  ------------------
  |  |  915|      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__)) &&
  ------------------
  |  |  915|      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__)))
  ------------------
  |  |  915|      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|    576|        j++;
 4290|    576|    }
 4291|    382|    assert(j == new_nslot);
 4292|       |
 4293|    382|    if (PyList_Sort(new_slots) == -1) {
  ------------------
  |  Branch (4293:9): [True: 0, False: 382]
  ------------------
 4294|      0|        goto error;
 4295|      0|    }
 4296|       |
 4297|    382|    PyObject *tuple = PyList_AsTuple(new_slots);
 4298|    382|    Py_DECREF(new_slots);
  ------------------
  |  |  430|    382|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    382|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    382|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4299|    382|    if (tuple == NULL) {
  ------------------
  |  Branch (4299:9): [True: 0, False: 382]
  ------------------
 4300|      0|        return NULL;
 4301|      0|    }
 4302|       |
 4303|    382|    assert(PyTuple_GET_SIZE(tuple) == new_nslot);
 4304|    382|    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|    382|}
typeobject.c:type_new_slots_bases:
 4314|    382|{
 4315|    382|    Py_ssize_t nbases = PyTuple_GET_SIZE(ctx->bases);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4316|    382|    if (nbases > 1 &&
  ------------------
  |  Branch (4316:9): [True: 50, False: 332]
  ------------------
 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|    382|}
typeobject.c:type_new_alloc:
 4402|  2.41k|{
 4403|  2.41k|    PyTypeObject *metatype = ctx->metatype;
 4404|  2.41k|    PyTypeObject *type;
 4405|       |
 4406|       |    // Allocate the type object
 4407|  2.41k|    type = (PyTypeObject *)metatype->tp_alloc(metatype, ctx->nslot);
 4408|  2.41k|    if (type == NULL) {
  ------------------
  |  Branch (4408:9): [True: 0, False: 2.41k]
  ------------------
 4409|      0|        return NULL;
 4410|      0|    }
 4411|  2.41k|    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.41k|    type_set_flags(type, Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE |
  ------------------
  |  |  560|  2.41k|#define Py_TPFLAGS_DEFAULT  ( \
  |  |  561|  2.41k|                 Py_TPFLAGS_HAVE_STACKLESS_EXTENSION | \
  |  |  ------------------
  |  |  |  |  530|  2.41k|#define Py_TPFLAGS_HAVE_STACKLESS_EXTENSION 0
  |  |  ------------------
  |  |  562|  2.41k|                0)
  ------------------
                  type_set_flags(type, Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HEAPTYPE |
  ------------------
  |  |  503|  2.41k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
 4417|  2.41k|                   Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC);
  ------------------
  |  |  506|  2.41k|#define Py_TPFLAGS_BASETYPE (1UL << 10)
  ------------------
                                 Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_GC);
  ------------------
  |  |  524|  2.41k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
 4418|       |
 4419|       |    // Initialize essential fields
 4420|  2.41k|    type->tp_as_async = &et->as_async;
 4421|  2.41k|    type->tp_as_number = &et->as_number;
 4422|  2.41k|    type->tp_as_sequence = &et->as_sequence;
 4423|  2.41k|    type->tp_as_mapping = &et->as_mapping;
 4424|  2.41k|    type->tp_as_buffer = &et->as_buffer;
 4425|       |
 4426|  2.41k|    set_tp_bases(type, Py_NewRef(ctx->bases), 1);
  ------------------
  |  |  550|  2.41k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4427|  2.41k|    type->tp_base = (PyTypeObject *)Py_NewRef(ctx->base);
  ------------------
  |  |  550|  2.41k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4428|       |
 4429|  2.41k|    type->tp_dealloc = subtype_dealloc;
 4430|       |    /* Always override allocation strategy to use regular heap */
 4431|  2.41k|    type->tp_alloc = PyType_GenericAlloc;
 4432|  2.41k|    type->tp_free = PyObject_GC_Del;
 4433|       |
 4434|  2.41k|    type->tp_traverse = subtype_traverse;
 4435|  2.41k|    type->tp_clear = subtype_clear;
 4436|       |
 4437|  2.41k|    et->ht_name = Py_NewRef(ctx->name);
  ------------------
  |  |  550|  2.41k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4438|  2.41k|    et->ht_module = NULL;
 4439|  2.41k|    et->_ht_tpname = NULL;
 4440|  2.41k|    et->ht_token = NULL;
 4441|       |
 4442|       |#ifdef Py_GIL_DISABLED
 4443|       |    et->unique_id = _PyObject_AssignUniqueId((PyObject *)et);
 4444|       |#endif
 4445|       |
 4446|  2.41k|    return type;
 4447|  2.41k|}
typeobject.c:subtype_traverse:
 2603|   589k|{
 2604|   589k|    PyTypeObject *type, *base;
 2605|   589k|    traverseproc basetraverse;
 2606|       |
 2607|       |    /* Find the nearest base with a different tp_traverse,
 2608|       |       and traverse slots while we're at it */
 2609|   589k|    type = Py_TYPE(self);
  ------------------
  |  |  213|   589k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   589k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   589k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2610|   589k|    base = type;
 2611|  1.48M|    while ((basetraverse = base->tp_traverse) == subtype_traverse) {
  ------------------
  |  Branch (2611:12): [True: 893k, False: 589k]
  ------------------
 2612|   893k|        if (Py_SIZE(base)) {
  ------------------
  |  |  214|   893k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   893k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   893k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (214:23): [True: 303k, False: 589k]
  |  |  ------------------
  ------------------
 2613|   303k|            int err = traverse_slots(base, self, visit, arg);
 2614|   303k|            if (err)
  ------------------
  |  Branch (2614:17): [True: 0, False: 303k]
  ------------------
 2615|      0|                return err;
 2616|   303k|        }
 2617|   893k|        base = base->tp_base;
 2618|   893k|        assert(base);
 2619|   893k|    }
 2620|       |
 2621|   589k|    if (type->tp_dictoffset != base->tp_dictoffset) {
  ------------------
  |  Branch (2621:9): [True: 279k, False: 310k]
  ------------------
 2622|   279k|        assert(base->tp_dictoffset == 0);
 2623|   279k|        if (type->tp_flags & Py_TPFLAGS_MANAGED_DICT) {
  ------------------
  |  |  482|   279k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (2623:13): [True: 279k, False: 0]
  ------------------
 2624|   279k|            assert(type->tp_dictoffset == -1);
 2625|   279k|            int err = PyObject_VisitManagedDict(self, visit, arg);
 2626|   279k|            if (err) {
  ------------------
  |  Branch (2626:17): [True: 0, False: 279k]
  ------------------
 2627|      0|                return err;
 2628|      0|            }
 2629|   279k|        }
 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|   279k|    }
 2637|       |
 2638|   589k|    if (type->tp_flags & Py_TPFLAGS_HEAPTYPE
  ------------------
  |  |  503|  1.17M|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (2638:9): [True: 589k, False: 0]
  ------------------
 2639|   589k|        && (!basetraverse || !(base->tp_flags & Py_TPFLAGS_HEAPTYPE))) {
  ------------------
  |  |  503|   190k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (2639:13): [True: 398k, False: 190k]
  |  Branch (2639:30): [True: 4.28k, False: 186k]
  ------------------
 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|   403k|        Py_VISIT(type);
  ------------------
  |  |  194|   403k|    do {                                                                \
  |  |  195|   403k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 403k, False: 0]
  |  |  ------------------
  |  |  196|   403k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|   403k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   403k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|   403k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 403k]
  |  |  ------------------
  |  |  198|   403k|                return vret;                                            \
  |  |  199|   403k|        }                                                               \
  |  |  200|   403k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 403k]
  |  |  ------------------
  ------------------
 2647|   403k|    }
 2648|       |
 2649|   589k|    if (basetraverse)
  ------------------
  |  Branch (2649:9): [True: 190k, False: 398k]
  ------------------
 2650|   190k|        return basetraverse(self, visit, arg);
 2651|   398k|    return 0;
 2652|   589k|}
typeobject.c:traverse_slots:
 2581|   303k|{
 2582|   303k|    Py_ssize_t i, n;
 2583|   303k|    PyMemberDef *mp;
 2584|       |
 2585|   303k|    n = Py_SIZE(type);
  ------------------
  |  |  214|   303k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   303k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   303k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2586|   303k|    mp = _PyHeapType_GET_MEMBERS((PyHeapTypeObject *)type);
 2587|  1.95M|    for (i = 0; i < n; i++, mp++) {
  ------------------
  |  Branch (2587:17): [True: 1.65M, False: 303k]
  ------------------
 2588|  1.65M|        if (mp->type == Py_T_OBJECT_EX) {
  ------------------
  |  |   75|  1.65M|#define Py_T_OBJECT_EX 16
  ------------------
  |  Branch (2588:13): [True: 1.65M, False: 0]
  ------------------
 2589|  1.65M|            void *addr = _PyMember_GetOffset(self, mp);
 2590|  1.65M|            PyObject *obj = *(PyObject **)addr;
 2591|  1.65M|            if (obj != NULL) {
  ------------------
  |  Branch (2591:17): [True: 1.63M, False: 16.9k]
  ------------------
 2592|  1.63M|                int err = visit(obj, arg);
 2593|  1.63M|                if (err)
  ------------------
  |  Branch (2593:21): [True: 0, False: 1.63M]
  ------------------
 2594|      0|                    return err;
 2595|  1.63M|            }
 2596|  1.65M|        }
 2597|  1.65M|    }
 2598|   303k|    return 0;
 2599|   303k|}
typeobject.c:subtype_clear:
 2676|  90.0k|{
 2677|  90.0k|    PyTypeObject *type, *base;
 2678|  90.0k|    inquiry baseclear;
 2679|       |
 2680|       |    /* Find the nearest base with a different tp_clear
 2681|       |       and clear slots while we're at it */
 2682|  90.0k|    type = Py_TYPE(self);
  ------------------
  |  |  213|  90.0k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  90.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  90.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2683|  90.0k|    base = type;
 2684|   279k|    while ((baseclear = base->tp_clear) == subtype_clear) {
  ------------------
  |  Branch (2684:12): [True: 189k, False: 90.0k]
  ------------------
 2685|   189k|        if (Py_SIZE(base))
  ------------------
  |  |  214|   189k|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   189k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   189k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (214:23): [True: 5, False: 189k]
  |  |  ------------------
  ------------------
 2686|      5|            clear_slots(base, self);
 2687|   189k|        base = base->tp_base;
 2688|   189k|        assert(base);
 2689|   189k|    }
 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|  90.0k|    if (type->tp_flags & Py_TPFLAGS_MANAGED_DICT) {
  ------------------
  |  |  482|  90.0k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (2693:9): [True: 90.0k, False: 5]
  ------------------
 2694|  90.0k|        if ((base->tp_flags & Py_TPFLAGS_MANAGED_DICT) == 0) {
  ------------------
  |  |  482|  90.0k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (2694:13): [True: 90.0k, False: 0]
  ------------------
 2695|  90.0k|            PyObject_ClearManagedDict(self);
 2696|  90.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|  90.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|  90.0k|    if (baseclear)
  ------------------
  |  Branch (2708:9): [True: 0, False: 90.0k]
  ------------------
 2709|      0|        return baseclear(self);
 2710|  90.0k|    return 0;
 2711|  90.0k|}
typeobject.c:set_tp_dict:
  554|  3.07k|{
  555|  3.07k|    if (self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  3.07k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (555:9): [True: 414, False: 2.65k]
  ------------------
  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.65k|    self->tp_dict = dict;
  563|  2.65k|}
typeobject.c:type_new_set_attrs:
 4797|  2.41k|{
 4798|  2.41k|    if (type_new_set_name(ctx, type) < 0) {
  ------------------
  |  Branch (4798:9): [True: 0, False: 2.41k]
  ------------------
 4799|      0|        return -1;
 4800|      0|    }
 4801|       |
 4802|  2.41k|    PyObject *dict = lookup_tp_dict(type);
 4803|  2.41k|    assert(dict);
 4804|       |
 4805|  2.41k|    if (type_new_set_module(dict) < 0) {
  ------------------
  |  Branch (4805:9): [True: 0, False: 2.41k]
  ------------------
 4806|      0|        return -1;
 4807|      0|    }
 4808|       |
 4809|  2.41k|    if (type_new_set_ht_name(type, dict) < 0) {
  ------------------
  |  Branch (4809:9): [True: 0, False: 2.41k]
  ------------------
 4810|      0|        return -1;
 4811|      0|    }
 4812|       |
 4813|  2.41k|    if (type_new_set_doc(type, dict) < 0) {
  ------------------
  |  Branch (4813:9): [True: 0, False: 2.41k]
  ------------------
 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.41k|    if (type_new_staticmethod(dict, &_Py_ID(__new__)) < 0) {
  ------------------
  |  |  915|  2.41k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  2.41k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.41k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4819:9): [True: 0, False: 2.41k]
  ------------------
 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.41k|    if (type_new_classmethod(dict, &_Py_ID(__init_subclass__)) < 0) {
  ------------------
  |  |  915|  2.41k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  2.41k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.41k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4825:9): [True: 0, False: 2.41k]
  ------------------
 4826|      0|        return -1;
 4827|      0|    }
 4828|  2.41k|    if (type_new_classmethod(dict, &_Py_ID(__class_getitem__)) < 0) {
  ------------------
  |  |  915|  2.41k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  2.41k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.41k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4828:9): [True: 0, False: 2.41k]
  ------------------
 4829|      0|        return -1;
 4830|      0|    }
 4831|       |
 4832|  2.41k|    if (type_new_descriptors(ctx, type, dict) < 0) {
  ------------------
  |  Branch (4832:9): [True: 0, False: 2.41k]
  ------------------
 4833|      0|        return -1;
 4834|      0|    }
 4835|       |
 4836|  2.41k|    type_new_set_slots(ctx, type);
 4837|       |
 4838|  2.41k|    if (type_new_set_classcell(type, dict) < 0) {
  ------------------
  |  Branch (4838:9): [True: 0, False: 2.41k]
  ------------------
 4839|      0|        return -1;
 4840|      0|    }
 4841|  2.41k|    if (type_new_set_classdictcell(dict) < 0) {
  ------------------
  |  Branch (4841:9): [True: 0, False: 2.41k]
  ------------------
 4842|      0|        return -1;
 4843|      0|    }
 4844|  2.41k|    return 0;
 4845|  2.41k|}
typeobject.c:type_new_set_name:
 4452|  2.41k|{
 4453|  2.41k|    Py_ssize_t name_size;
 4454|  2.41k|    type->tp_name = PyUnicode_AsUTF8AndSize(ctx->name, &name_size);
 4455|  2.41k|    if (!type->tp_name) {
  ------------------
  |  Branch (4455:9): [True: 0, False: 2.41k]
  ------------------
 4456|      0|        return -1;
 4457|      0|    }
 4458|  2.41k|    if (strlen(type->tp_name) != (size_t)name_size) {
  ------------------
  |  Branch (4458:9): [True: 0, False: 2.41k]
  ------------------
 4459|      0|        PyErr_SetString(PyExc_ValueError,
 4460|      0|                        "type name must not contain null characters");
 4461|      0|        return -1;
 4462|      0|    }
 4463|  2.41k|    return 0;
 4464|  2.41k|}
typeobject.c:type_new_set_module:
 4470|  2.41k|{
 4471|  2.41k|    int r = PyDict_Contains(dict, &_Py_ID(__module__));
  ------------------
  |  |  915|  2.41k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  2.41k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.41k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4472|  2.41k|    if (r < 0) {
  ------------------
  |  Branch (4472:9): [True: 0, False: 2.41k]
  ------------------
 4473|      0|        return -1;
 4474|      0|    }
 4475|  2.41k|    if (r > 0) {
  ------------------
  |  Branch (4475:9): [True: 2.34k, False: 68]
  ------------------
 4476|  2.34k|        return 0;
 4477|  2.34k|    }
 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);
  ------------------
  |  |  915|     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);
  ------------------
  |  |  915|     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.41k|{
 4499|  2.41k|    PyHeapTypeObject *et = (PyHeapTypeObject *)type;
 4500|  2.41k|    PyObject *qualname;
 4501|  2.41k|    if (PyDict_GetItemRef(dict, &_Py_ID(__qualname__), &qualname) < 0) {
  ------------------
  |  |  915|  2.41k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  2.41k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.41k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4501:9): [True: 0, False: 2.41k]
  ------------------
 4502|      0|        return -1;
 4503|      0|    }
 4504|  2.41k|    if (qualname != NULL) {
  ------------------
  |  Branch (4504:9): [True: 1.94k, False: 474]
  ------------------
 4505|  1.94k|        if (!PyUnicode_Check(qualname)) {
  ------------------
  |  |  103|  1.94k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.94k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4505:13): [True: 0, False: 1.94k]
  ------------------
 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.94k|        et->ht_qualname = qualname;
 4513|  1.94k|        if (PyDict_DelItem(dict, &_Py_ID(__qualname__)) < 0) {
  ------------------
  |  |  915|  1.94k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.94k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.94k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4513:13): [True: 0, False: 1.94k]
  ------------------
 4514|      0|            return -1;
 4515|      0|        }
 4516|  1.94k|    }
 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.41k|    return 0;
 4521|  2.41k|}
typeobject.c:type_new_set_doc:
 4529|  2.41k|{
 4530|  2.41k|    PyObject *doc = PyDict_GetItemWithError(dict, &_Py_ID(__doc__));
  ------------------
  |  |  915|  2.41k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  2.41k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.41k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4531|  2.41k|    if (doc == NULL) {
  ------------------
  |  Branch (4531:9): [True: 838, False: 1.57k]
  ------------------
 4532|    838|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (4532:13): [True: 0, False: 838]
  ------------------
 4533|      0|            return -1;
 4534|      0|        }
 4535|       |        // no __doc__ key
 4536|    838|        return 0;
 4537|    838|    }
 4538|  1.57k|    if (!PyUnicode_Check(doc)) {
  ------------------
  |  |  103|  1.57k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.57k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4538:9): [True: 34, False: 1.54k]
  ------------------
 4539|       |        // ignore non-string __doc__
 4540|     34|        return 0;
 4541|     34|    }
 4542|       |
 4543|  1.54k|    const char *doc_str = PyUnicode_AsUTF8(doc);
 4544|  1.54k|    if (doc_str == NULL) {
  ------------------
  |  Branch (4544:9): [True: 0, False: 1.54k]
  ------------------
 4545|      0|        return -1;
 4546|      0|    }
 4547|       |
 4548|       |    // Silently truncate the docstring if it contains a null byte
 4549|  1.54k|    Py_ssize_t size = strlen(doc_str) + 1;
 4550|  1.54k|    char *tp_doc = (char *)PyMem_Malloc(size);
 4551|  1.54k|    if (tp_doc == NULL) {
  ------------------
  |  Branch (4551:9): [True: 0, False: 1.54k]
  ------------------
 4552|      0|        PyErr_NoMemory();
 4553|      0|        return -1;
 4554|      0|    }
 4555|       |
 4556|  1.54k|    memcpy(tp_doc, doc_str, size);
 4557|  1.54k|    type->tp_doc = tp_doc;
 4558|  1.54k|    return 0;
 4559|  1.54k|}
typeobject.c:type_new_staticmethod:
 4564|  2.41k|{
 4565|  2.41k|    PyObject *func = PyDict_GetItemWithError(dict, attr);
 4566|  2.41k|    if (func == NULL) {
  ------------------
  |  Branch (4566:9): [True: 2.26k, False: 148]
  ------------------
 4567|  2.26k|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (4567:13): [True: 0, False: 2.26k]
  ------------------
 4568|      0|            return -1;
 4569|      0|        }
 4570|  2.26k|        return 0;
 4571|  2.26k|    }
 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.83k|{
 4592|  4.83k|    PyObject *func = PyDict_GetItemWithError(dict, attr);
 4593|  4.83k|    if (func == NULL) {
  ------------------
  |  Branch (4593:9): [True: 4.75k, False: 78]
  ------------------
 4594|  4.75k|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (4594:13): [True: 0, False: 4.75k]
  ------------------
 4595|      0|            return -1;
 4596|      0|        }
 4597|  4.75k|        return 0;
 4598|  4.75k|    }
 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.41k|{
 4647|  2.41k|    PyHeapTypeObject *et = (PyHeapTypeObject *)type;
 4648|  2.41k|    Py_ssize_t slotoffset = ctx->base->tp_basicsize;
 4649|  2.41k|    if (et->ht_slots != NULL) {
  ------------------
  |  Branch (4649:9): [True: 144, False: 2.27k]
  ------------------
 4650|    144|        PyMemberDef *mp = _PyHeapType_GET_MEMBERS(et);
 4651|    144|        Py_ssize_t nslot = PyTuple_GET_SIZE(et->ht_slots);
  ------------------
  |  |   27|    144|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    144|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    144|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4652|    144|        int after_items = (ctx->base->tp_itemsize != 0 &&
  ------------------
  |  Branch (4652:28): [True: 6, False: 138]
  ------------------
 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|    144|        if (ctx->base->tp_itemsize != 0 &&
  ------------------
  |  Branch (4654:13): [True: 6, False: 138]
  ------------------
 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|    720|        for (Py_ssize_t i = 0; i < nslot; i++, mp++) {
  ------------------
  |  Branch (4662:32): [True: 576, False: 144]
  ------------------
 4663|    576|            mp->name = PyUnicode_AsUTF8(
 4664|    576|                PyTuple_GET_ITEM(et->ht_slots, i));
  ------------------
  |  |   29|    576|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    576|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    576|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4665|    576|            if (mp->name == NULL) {
  ------------------
  |  Branch (4665:17): [True: 0, False: 576]
  ------------------
 4666|      0|                return -1;
 4667|      0|            }
 4668|    576|            mp->type = Py_T_OBJECT_EX;
  ------------------
  |  |   75|    576|#define Py_T_OBJECT_EX 16
  ------------------
 4669|    576|            mp->offset = slotoffset;
 4670|    576|            if (after_items) {
  ------------------
  |  Branch (4670:17): [True: 6, False: 570]
  ------------------
 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|    576|            assert(strcmp(mp->name, "__dict__") != 0);
 4676|    576|            assert(strcmp(mp->name, "__weakref__") != 0);
 4677|       |
 4678|    576|            slotoffset += sizeof(PyObject *);
 4679|    576|        }
 4680|    144|    }
 4681|       |
 4682|  2.41k|    if (ctx->add_weak) {
  ------------------
  |  Branch (4682:9): [True: 1.00k, False: 1.41k]
  ------------------
 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.41k|    if (ctx->add_dict) {
  ------------------
  |  Branch (4687:9): [True: 800, False: 1.61k]
  ------------------
 4688|    800|        assert((type->tp_flags & Py_TPFLAGS_MANAGED_DICT) == 0);
 4689|    800|        type_add_flags(type, Py_TPFLAGS_MANAGED_DICT);
  ------------------
  |  |  482|    800|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
 4690|    800|        type->tp_dictoffset = -1;
 4691|    800|    }
 4692|       |
 4693|  2.41k|    type->tp_basicsize = slotoffset;
 4694|  2.41k|    type->tp_itemsize = ctx->base->tp_itemsize;
 4695|  2.41k|    type->tp_members = _PyHeapType_GET_MEMBERS(et);
 4696|       |
 4697|  2.41k|    PyInterpreterState *interp = _PyInterpreterState_GET();
 4698|       |
 4699|  2.41k|    if (type->tp_dictoffset) {
  ------------------
  |  Branch (4699:9): [True: 800, False: 1.61k]
  ------------------
 4700|    800|        if (type_add_common_descriptor(
  ------------------
  |  Branch (4700:13): [True: 0, False: 800]
  ------------------
 4701|    800|            interp,
 4702|    800|            &interp->cached_objects.dict_descriptor,
 4703|    800|            &subtype_getset_dict,
 4704|    800|            dict) < 0)
 4705|      0|        {
 4706|      0|            return -1;
 4707|      0|        }
 4708|    800|    }
 4709|  2.41k|    if (type->tp_weaklistoffset) {
  ------------------
  |  Branch (4709:9): [True: 1.00k, False: 1.41k]
  ------------------
 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.41k|    return 0;
 4721|  2.41k|}
typeobject.c:type_add_common_descriptor:
 4622|  1.80k|{
 4623|       |#ifdef Py_GIL_DISABLED
 4624|       |    PyMutex_Lock(&interp->cached_objects.descriptor_mutex);
 4625|       |#endif
 4626|  1.80k|    PyObject *descr = *cache;
 4627|  1.80k|    if (!descr) {
  ------------------
  |  Branch (4627:9): [True: 4, False: 1.79k]
  ------------------
 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.80k|    if (!descr) {
  ------------------
  |  Branch (4634:9): [True: 0, False: 1.80k]
  ------------------
 4635|      0|        return -1;
 4636|      0|    }
 4637|  1.80k|    if (PyDict_SetDefaultRef(dict, PyDescr_NAME(descr), descr, NULL) < 0) {
  ------------------
  |  |   36|  1.80k|#define PyDescr_NAME(x) (((PyDescrObject *)(x))->d_name)
  ------------------
  |  Branch (4637:9): [True: 0, False: 1.80k]
  ------------------
 4638|      0|        return -1;
 4639|      0|    }
 4640|  1.80k|    return 0;
 4641|  1.80k|}
typeobject.c:subtype_dict:
 3985|   212k|{
 3986|   212k|    PyTypeObject *base;
 3987|       |
 3988|   212k|    base = get_builtin_base_with_dict(Py_TYPE(obj));
  ------------------
  |  |  213|   212k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   212k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   212k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3989|   212k|    if (base != NULL) {
  ------------------
  |  Branch (3989:9): [True: 0, False: 212k]
  ------------------
 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|   212k|    return PyObject_GenericGetDict(obj, context);
 4004|   212k|}
typeobject.c:get_builtin_base_with_dict:
 3953|   212k|{
 3954|   425k|    while (type->tp_base != NULL) {
  ------------------
  |  Branch (3954:12): [True: 213k, False: 212k]
  ------------------
 3955|   213k|        if (type->tp_dictoffset != 0 &&
  ------------------
  |  Branch (3955:13): [True: 212k, False: 140]
  ------------------
 3956|   212k|            !(type->tp_flags & Py_TPFLAGS_HEAPTYPE))
  ------------------
  |  |  503|   212k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (3956:13): [True: 0, False: 212k]
  ------------------
 3957|      0|            return type;
 3958|   213k|        type = type->tp_base;
 3959|   213k|    }
 3960|   212k|    return NULL;
 3961|   212k|}
typeobject.c:type_new_set_slots:
 4726|  2.41k|{
 4727|  2.41k|    type->tp_getset = NULL;
 4728|       |
 4729|       |    /* Special case some slots */
 4730|  2.41k|    if (type->tp_dictoffset != 0 || ctx->nslot > 0) {
  ------------------
  |  Branch (4730:9): [True: 800, False: 1.61k]
  |  Branch (4730:37): [True: 142, False: 1.47k]
  ------------------
 4731|    942|        PyTypeObject *base = ctx->base;
 4732|    942|        if (base->tp_getattr == NULL && base->tp_getattro == NULL) {
  ------------------
  |  Branch (4732:13): [True: 942, False: 0]
  |  Branch (4732:41): [True: 0, False: 942]
  ------------------
 4733|      0|            type->tp_getattro = PyObject_GenericGetAttr;
 4734|      0|        }
 4735|    942|        if (base->tp_setattr == NULL && base->tp_setattro == NULL) {
  ------------------
  |  Branch (4735:13): [True: 942, False: 0]
  |  Branch (4735:41): [True: 0, False: 942]
  ------------------
 4736|      0|            type->tp_setattro = PyObject_GenericSetAttr;
 4737|      0|        }
 4738|    942|    }
 4739|  2.41k|}
typeobject.c:type_new_set_classcell:
 4745|  2.41k|{
 4746|  2.41k|    PyObject *cell = PyDict_GetItemWithError(dict, &_Py_ID(__classcell__));
  ------------------
  |  |  915|  2.41k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  2.41k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.41k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4747|  2.41k|    if (cell == NULL) {
  ------------------
  |  Branch (4747:9): [True: 2.04k, False: 370]
  ------------------
 4748|  2.04k|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (4748:13): [True: 0, False: 2.04k]
  ------------------
 4749|      0|            return -1;
 4750|      0|        }
 4751|  2.04k|        return 0;
 4752|  2.04k|    }
 4753|       |
 4754|       |    /* At least one method requires a reference to its defining class */
 4755|    370|    if (!PyCell_Check(cell)) {
  ------------------
  |  |   18|    370|#define PyCell_Check(op) Py_IS_TYPE((op), &PyCell_Type)
  |  |  ------------------
  |  |  |  |  215|    370|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    370|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    370|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4755:9): [True: 0, False: 370]
  ------------------
 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|    370|    (void)PyCell_Set(cell, (PyObject *) type);
 4763|    370|    if (PyDict_DelItem(dict, &_Py_ID(__classcell__)) < 0) {
  ------------------
  |  |  915|    370|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    370|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    370|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4763:9): [True: 0, False: 370]
  ------------------
 4764|      0|        return -1;
 4765|      0|    }
 4766|    370|    return 0;
 4767|    370|}
typeobject.c:type_new_set_classdictcell:
 4771|  2.41k|{
 4772|  2.41k|    PyObject *cell = PyDict_GetItemWithError(dict, &_Py_ID(__classdictcell__));
  ------------------
  |  |  915|  2.41k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  2.41k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.41k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4773|  2.41k|    if (cell == NULL) {
  ------------------
  |  Branch (4773:9): [True: 888, False: 1.52k]
  ------------------
 4774|    888|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (4774:13): [True: 0, False: 888]
  ------------------
 4775|      0|            return -1;
 4776|      0|        }
 4777|    888|        return 0;
 4778|    888|    }
 4779|       |
 4780|       |    /* At least one method requires a reference to the dict of its defining class */
 4781|  1.52k|    if (!PyCell_Check(cell)) {
  ------------------
  |  |   18|  1.52k|#define PyCell_Check(op) Py_IS_TYPE((op), &PyCell_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 (4781:9): [True: 0, False: 1.52k]
  ------------------
 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.52k|    (void)PyCell_Set(cell, (PyObject *)dict);
 4789|  1.52k|    if (PyDict_DelItem(dict, &_Py_ID(__classdictcell__)) < 0) {
  ------------------
  |  |  915|  1.52k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.52k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.52k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4789:9): [True: 0, False: 1.52k]
  ------------------
 4790|      0|        return -1;
 4791|      0|    }
 4792|  1.52k|    return 0;
 4793|  1.52k|}
typeobject.c:fixup_slot_dispatchers:
12087|  2.41k|{
12088|  2.41k|    assert(!PyErr_Occurred());
12089|   164k|    for (pytype_slotdef *p = slotdefs; p->name; ) {
  ------------------
  |  Branch (12089:40): [True: 161k, False: 2.41k]
  ------------------
12090|       |        update_one_slot(type, p, &p, NULL);
12091|   161k|    }
12092|  2.41k|}
typeobject.c:type_new_set_names:
12231|  2.41k|{
12232|  2.41k|    PyObject *dict = lookup_tp_dict(type);
12233|  2.41k|    PyObject *names_to_set = PyDict_Copy(dict);
12234|  2.41k|    if (names_to_set == NULL) {
  ------------------
  |  Branch (12234:9): [True: 0, False: 2.41k]
  ------------------
12235|      0|        return -1;
12236|      0|    }
12237|       |
12238|  2.41k|    Py_ssize_t i = 0;
12239|  2.41k|    PyObject *key, *value;
12240|  30.5k|    while (PyDict_Next(names_to_set, &i, &key, &value)) {
  ------------------
  |  Branch (12240:12): [True: 28.1k, False: 2.41k]
  ------------------
12241|  28.1k|        PyObject *set_name = _PyObject_LookupSpecial(value,
12242|  28.1k|                                                     &_Py_ID(__set_name__));
  ------------------
  |  |  915|  28.1k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  28.1k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  28.1k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12243|  28.1k|        if (set_name == NULL) {
  ------------------
  |  Branch (12243:13): [True: 27.0k, False: 1.07k]
  ------------------
12244|  27.0k|            if (PyErr_Occurred()) {
  ------------------
  |  Branch (12244:17): [True: 0, False: 27.0k]
  ------------------
12245|      0|                goto error;
12246|      0|            }
12247|  27.0k|            continue;
12248|  27.0k|        }
12249|       |
12250|  1.07k|        PyObject *res = PyObject_CallFunctionObjArgs(set_name, type, key, NULL);
12251|  1.07k|        Py_DECREF(set_name);
  ------------------
  |  |  430|  1.07k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.07k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.07k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12252|       |
12253|  1.07k|        if (res == NULL) {
  ------------------
  |  Branch (12253:13): [True: 0, False: 1.07k]
  ------------------
12254|      0|            _PyErr_FormatNote(
12255|      0|                "Error calling __set_name__ on '%.100s' instance %R "
12256|      0|                "in '%.100s'",
12257|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12258|      0|            goto error;
12259|      0|        }
12260|  1.07k|        else {
12261|  1.07k|            Py_DECREF(res);
  ------------------
  |  |  430|  1.07k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.07k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.07k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12262|  1.07k|        }
12263|  1.07k|    }
12264|       |
12265|  2.41k|    Py_DECREF(names_to_set);
  ------------------
  |  |  430|  2.41k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12266|  2.41k|    return 0;
12267|       |
12268|      0|error:
12269|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12270|      0|    return -1;
12271|  2.41k|}
typeobject.c:type_new_init_subclass:
12277|  2.41k|{
12278|  2.41k|    PyObject *args[2] = {(PyObject *)type, (PyObject *)type};
12279|  2.41k|    PyObject *super = PyObject_Vectorcall((PyObject *)&PySuper_Type,
12280|  2.41k|                                          args, 2, NULL);
12281|  2.41k|    if (super == NULL) {
  ------------------
  |  Branch (12281:9): [True: 0, False: 2.41k]
  ------------------
12282|      0|        return -1;
12283|      0|    }
12284|       |
12285|  2.41k|    PyObject *func = PyObject_GetAttr(super, &_Py_ID(__init_subclass__));
  ------------------
  |  |  915|  2.41k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  2.41k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.41k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12286|  2.41k|    Py_DECREF(super);
  ------------------
  |  |  430|  2.41k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12287|  2.41k|    if (func == NULL) {
  ------------------
  |  Branch (12287:9): [True: 0, False: 2.41k]
  ------------------
12288|      0|        return -1;
12289|      0|    }
12290|       |
12291|  2.41k|    PyObject *result = PyObject_VectorcallDict(func, NULL, 0, kwds);
12292|  2.41k|    Py_DECREF(func);
  ------------------
  |  |  430|  2.41k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12293|  2.41k|    if (result == NULL) {
  ------------------
  |  Branch (12293:9): [True: 0, False: 2.41k]
  ------------------
12294|      0|        return -1;
12295|      0|    }
12296|       |
12297|  2.41k|    Py_DECREF(result);
  ------------------
  |  |  430|  2.41k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12298|  2.41k|    return 0;
12299|  2.41k|}
typeobject.c:type_is_gc:
 7238|   935k|{
 7239|   935k|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  200|   935k|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 7240|   935k|    return type->tp_flags & Py_TPFLAGS_HEAPTYPE;
  ------------------
  |  |  503|   935k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
 7241|   935k|}
typeobject.c:type_vectorcall:
 5097|  2.21k|{
 5098|  2.21k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  2.21k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
 5099|  2.21k|    if (nargs == 1 && metatype == (PyObject *)&PyType_Type){
  ------------------
  |  Branch (5099:9): [True: 153, False: 2.06k]
  |  Branch (5099:23): [True: 153, False: 0]
  ------------------
 5100|    153|        if (!_PyArg_NoKwnames("type", kwnames)) {
  ------------------
  |  |   15|    153|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (15:6): [True: 153, False: 0]
  |  |  |  Branch (15:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 5101|      0|            return NULL;
 5102|      0|        }
 5103|    153|        return Py_NewRef(Py_TYPE(args[0]));
  ------------------
  |  |  550|    153|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    153|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    153|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5104|    153|    }
 5105|       |    /* In other (much less common) cases, fall back to
 5106|       |       more flexible calling conventions. */
 5107|  2.06k|    PyThreadState *tstate = _PyThreadState_GET();
 5108|  2.06k|    return _PyObject_MakeTpCall(tstate, metatype, args, nargs, kwnames);
 5109|  2.21k|}
typeobject.c:object_richcompare:
 7480|  3.99M|{
 7481|  3.99M|    PyObject *res;
 7482|       |
 7483|  3.99M|    switch (op) {
 7484|       |
 7485|  3.99M|    case Py_EQ:
  ------------------
  |  |  654|  3.99M|#define Py_EQ 2
  ------------------
  |  Branch (7485:5): [True: 3.99M, False: 6]
  ------------------
 7486|       |        /* Return NotImplemented instead of False, so if two
 7487|       |           objects are compared, both get a chance at the
 7488|       |           comparison.  See issue #1393. */
 7489|  3.99M|        res = Py_NewRef((self == other) ? Py_True : Py_NotImplemented);
  ------------------
  |  |  550|  3.99M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  3.99M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.99M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (37:38): [True: 151k, False: 3.84M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7490|  3.99M|        break;
 7491|       |
 7492|      6|    case Py_NE:
  ------------------
  |  |  655|      6|#define Py_NE 3
  ------------------
  |  Branch (7492:5): [True: 6, False: 3.99M]
  ------------------
 7493|       |        /* By default, __ne__() delegates to __eq__() and inverts the result,
 7494|       |           unless the latter returns NotImplemented. */
 7495|      6|        if (Py_TYPE(self)->tp_richcompare == NULL) {
  ------------------
  |  |  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 (7495:13): [True: 0, False: 6]
  ------------------
 7496|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7497|      0|            break;
 7498|      0|        }
 7499|      6|        res = (*Py_TYPE(self)->tp_richcompare)(self, other, Py_EQ);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      res = (*Py_TYPE(self)->tp_richcompare)(self, other, Py_EQ);
  ------------------
  |  |  654|      6|#define Py_EQ 2
  ------------------
 7500|      6|        if (res != NULL && res != Py_NotImplemented) {
  ------------------
  |  |  640|      6|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  ------------------
  |  Branch (7500:13): [True: 6, False: 0]
  |  Branch (7500:28): [True: 4, False: 2]
  ------------------
 7501|      4|            int ok = PyObject_IsTrue(res);
 7502|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7503|      4|            if (ok < 0)
  ------------------
  |  Branch (7503:17): [True: 0, False: 4]
  ------------------
 7504|      0|                res = NULL;
 7505|      4|            else {
 7506|      4|                if (ok)
  ------------------
  |  Branch (7506:21): [True: 4, False: 0]
  ------------------
 7507|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7508|      0|                else
 7509|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7510|      4|            }
 7511|      4|        }
 7512|      6|        break;
 7513|       |
 7514|      0|    default:
  ------------------
  |  Branch (7514:5): [True: 0, False: 3.99M]
  ------------------
 7515|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7516|      0|        break;
 7517|  3.99M|    }
 7518|       |
 7519|  3.99M|    return res;
 7520|  3.99M|}
typeobject.c:object_dealloc:
 7435|  13.3M|{
 7436|  13.3M|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7437|  13.3M|}
typeobject.c:object_str:
 7469|  27.1k|{
 7470|  27.1k|    unaryfunc f;
 7471|       |
 7472|  27.1k|    f = Py_TYPE(self)->tp_repr;
  ------------------
  |  |  213|  27.1k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  27.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7473|  27.1k|    if (f == NULL)
  ------------------
  |  Branch (7473:9): [True: 0, False: 27.1k]
  ------------------
 7474|      0|        f = object_repr;
 7475|  27.1k|    return f(self);
 7476|  27.1k|}
typeobject.c:object_subclasshook:
 8367|    101|{
 8368|    101|    Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|    101|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|    101|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
 8369|    101|}
typeobject.c:object_init_subclass:
 8381|  2.38k|{
 8382|  2.38k|    Py_RETURN_NONE;
  ------------------
  |  |  628|  2.38k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  2.38k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 8383|  2.38k|}
typeobject.c:object___format___impl:
 8405|  4.31k|{
 8406|       |    /* Issue 7994: If we're converting to a string, we
 8407|       |       should reject format specifications */
 8408|  4.31k|    if (PyUnicode_GET_LENGTH(format_spec) > 0) {
  ------------------
  |  |  299|  4.31k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.31k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (8408:9): [True: 0, False: 4.31k]
  ------------------
 8409|      0|        PyErr_Format(PyExc_TypeError,
 8410|      0|                     "unsupported format string passed to %.200s.__format__",
 8411|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8412|      0|        return NULL;
 8413|      0|    }
 8414|  4.31k|    return PyObject_Str(self);
 8415|  4.31k|}
typeobject.c:object___dir___impl:
 8453|      4|{
 8454|      4|    PyObject *result = NULL;
 8455|      4|    PyObject *dict = NULL;
 8456|      4|    PyObject *itsclass = NULL;
 8457|       |
 8458|       |    /* Get __dict__ (which may or may not be a real dict...) */
 8459|      4|    if (PyObject_GetOptionalAttr(self, &_Py_ID(__dict__), &dict) < 0) {
  ------------------
  |  |  915|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (8459:9): [True: 0, False: 4]
  ------------------
 8460|      0|        return NULL;
 8461|      0|    }
 8462|      4|    if (dict == NULL) {
  ------------------
  |  Branch (8462:9): [True: 0, False: 4]
  ------------------
 8463|      0|        dict = PyDict_New();
 8464|      0|    }
 8465|      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 (8465:14): [True: 0, False: 4]
  ------------------
 8466|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8467|      0|        dict = PyDict_New();
 8468|      0|    }
 8469|      4|    else {
 8470|       |        /* Copy __dict__ to avoid mutating it. */
 8471|      4|        PyObject *temp = PyDict_Copy(dict);
 8472|      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]
  |  |  ------------------
  ------------------
 8473|      4|    }
 8474|       |
 8475|      4|    if (dict == NULL)
  ------------------
  |  Branch (8475:9): [True: 0, False: 4]
  ------------------
 8476|      0|        goto error;
 8477|       |
 8478|       |    /* Merge in attrs reachable from its class. */
 8479|      4|    if (PyObject_GetOptionalAttr(self, &_Py_ID(__class__), &itsclass) < 0) {
  ------------------
  |  |  915|      4|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (8479:9): [True: 0, False: 4]
  ------------------
 8480|      0|        goto error;
 8481|      0|    }
 8482|       |    /* XXX(tomer): Perhaps fall back to Py_TYPE(obj) if no
 8483|       |                   __class__ exists? */
 8484|      4|    if (itsclass != NULL && merge_class_dict(dict, itsclass) < 0)
  ------------------
  |  Branch (8484:9): [True: 4, False: 0]
  |  Branch (8484:29): [True: 0, False: 4]
  ------------------
 8485|      0|        goto error;
 8486|       |
 8487|      4|    result = PyDict_Keys(dict);
 8488|       |    /* fall through */
 8489|      4|error:
 8490|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8491|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8492|      4|    return result;
 8493|      4|}
typeobject.c:object_get_class:
 7530|  1.45M|{
 7531|  1.45M|    return Py_NewRef(Py_TYPE(self));
  ------------------
  |  |  550|  1.45M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.45M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.45M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7532|  1.45M|}
typeobject.c:object_init:
 7345|  7.86M|{
 7346|  7.86M|    PyTypeObject *type = Py_TYPE(self);
  ------------------
  |  |  213|  7.86M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  7.86M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.86M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7347|  7.86M|    if (excess_args(args, kwds)) {
  ------------------
  |  Branch (7347:9): [True: 7.64M, False: 215k]
  ------------------
 7348|  7.64M|        if (type->tp_init != object_init) {
  ------------------
  |  Branch (7348:13): [True: 0, False: 7.64M]
  ------------------
 7349|      0|            PyErr_SetString(PyExc_TypeError,
 7350|      0|                            "object.__init__() takes exactly one argument (the instance to initialize)");
 7351|      0|            return -1;
 7352|      0|        }
 7353|  7.64M|        if (type->tp_new == object_new) {
  ------------------
  |  Branch (7353:13): [True: 0, False: 7.64M]
  ------------------
 7354|      0|            PyErr_Format(PyExc_TypeError,
 7355|      0|                         "%.200s.__init__() takes exactly one argument (the instance to initialize)",
 7356|      0|                         type->tp_name);
 7357|      0|            return -1;
 7358|      0|        }
 7359|  7.64M|    }
 7360|  7.86M|    return 0;
 7361|  7.86M|}
typeobject.c:excess_args:
 7338|  8.38M|{
 7339|  8.38M|    return PyTuple_GET_SIZE(args) ||
  ------------------
  |  |   27|  16.7M|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.38M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.38M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (27:30): [True: 7.84M, False: 537k]
  |  |  ------------------
  ------------------
 7340|   537k|        (kwds && PyDict_Check(kwds) && PyDict_GET_SIZE(kwds));
  ------------------
  |  |   18|  97.4k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   634k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 97.4k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      (kwds && PyDict_Check(kwds) && PyDict_GET_SIZE(kwds));
  ------------------
  |  |   63|  97.4k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  97.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  97.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (63:29): [True: 97.4k, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (7340:10): [True: 97.4k, False: 439k]
  ------------------
 7341|  8.38M|}
typeobject.c:object_new:
 7365|   522k|{
 7366|   522k|    if (excess_args(args, kwds)) {
  ------------------
  |  Branch (7366:9): [True: 298k, False: 224k]
  ------------------
 7367|   298k|        if (type->tp_new != object_new) {
  ------------------
  |  Branch (7367:13): [True: 0, False: 298k]
  ------------------
 7368|      0|            PyErr_SetString(PyExc_TypeError,
 7369|      0|                            "object.__new__() takes exactly one argument (the type to instantiate)");
 7370|      0|            return NULL;
 7371|      0|        }
 7372|   298k|        if (type->tp_init == object_init) {
  ------------------
  |  Branch (7372:13): [True: 0, False: 298k]
  ------------------
 7373|      0|            PyErr_Format(PyExc_TypeError, "%.200s() takes no arguments",
 7374|      0|                         type->tp_name);
 7375|      0|            return NULL;
 7376|      0|        }
 7377|   298k|    }
 7378|       |
 7379|   522k|    if (type->tp_flags & Py_TPFLAGS_IS_ABSTRACT) {
  ------------------
  |  |  540|   522k|#define Py_TPFLAGS_IS_ABSTRACT (1UL << 20)
  ------------------
  |  Branch (7379:9): [True: 0, False: 522k]
  ------------------
 7380|      0|        PyObject *abstract_methods;
 7381|      0|        PyObject *sorted_methods;
 7382|      0|        PyObject *joined;
 7383|      0|        PyObject* comma_w_quotes_sep;
 7384|      0|        Py_ssize_t method_count;
 7385|       |
 7386|       |        /* Compute "', '".join(sorted(type.__abstractmethods__))
 7387|       |           into joined. */
 7388|      0|        abstract_methods = type_abstractmethods((PyObject *)type, NULL);
 7389|      0|        if (abstract_methods == NULL)
  ------------------
  |  Branch (7389:13): [True: 0, False: 0]
  ------------------
 7390|      0|            return NULL;
 7391|      0|        sorted_methods = PySequence_List(abstract_methods);
 7392|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7393|      0|        if (sorted_methods == NULL)
  ------------------
  |  Branch (7393:13): [True: 0, False: 0]
  ------------------
 7394|      0|            return NULL;
 7395|      0|        if (PyList_Sort(sorted_methods)) {
  ------------------
  |  Branch (7395:13): [True: 0, False: 0]
  ------------------
 7396|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7397|      0|            return NULL;
 7398|      0|        }
 7399|      0|        comma_w_quotes_sep = PyUnicode_FromString("', '");
 7400|      0|        if (!comma_w_quotes_sep) {
  ------------------
  |  Branch (7400:13): [True: 0, False: 0]
  ------------------
 7401|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7402|      0|            return NULL;
 7403|      0|        }
 7404|      0|        joined = PyUnicode_Join(comma_w_quotes_sep, sorted_methods);
 7405|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7406|      0|        if (joined == NULL)  {
  ------------------
  |  Branch (7406:13): [True: 0, False: 0]
  ------------------
 7407|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7408|      0|            return NULL;
 7409|      0|        }
 7410|      0|        method_count = PyObject_Length(sorted_methods);
  ------------------
  |  |  353|      0|#define PyObject_Length PyObject_Size
  ------------------
 7411|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7412|      0|        if (method_count == -1) {
  ------------------
  |  Branch (7412:13): [True: 0, False: 0]
  ------------------
 7413|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7414|      0|            return NULL;
 7415|      0|        }
 7416|       |
 7417|      0|        PyErr_Format(PyExc_TypeError,
 7418|      0|                     "Can't instantiate abstract class %s "
 7419|      0|                     "without an implementation for abstract method%s '%U'",
 7420|      0|                     type->tp_name,
 7421|      0|                     method_count > 1 ? "s" : "",
  ------------------
  |  Branch (7421:22): [True: 0, False: 0]
  ------------------
 7422|      0|                     joined);
 7423|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7424|      0|        return NULL;
 7425|      0|    }
 7426|   522k|    PyObject *obj = type->tp_alloc(type, 0);
 7427|   522k|    if (obj == NULL) {
  ------------------
  |  Branch (7427:9): [True: 0, False: 522k]
  ------------------
 7428|      0|        return NULL;
 7429|      0|    }
 7430|   522k|    return obj;
 7431|   522k|}
typeobject.c:type_add_method:
 8560|  2.28k|{
 8561|  2.28k|    PyObject *descr;
 8562|  2.28k|    int isdescr = 1;
 8563|  2.28k|    if (meth->ml_flags & METH_CLASS) {
  ------------------
  |  |  104|  2.28k|#define METH_CLASS    0x0010
  ------------------
  |  Branch (8563:9): [True: 142, False: 2.13k]
  ------------------
 8564|    142|        if (meth->ml_flags & METH_STATIC) {
  ------------------
  |  |  105|    142|#define METH_STATIC   0x0020
  ------------------
  |  Branch (8564:13): [True: 0, False: 142]
  ------------------
 8565|      0|            PyErr_SetString(PyExc_ValueError,
 8566|      0|                    "method cannot be both class and static");
 8567|      0|            return -1;
 8568|      0|        }
 8569|    142|        descr = PyDescr_NewClassMethod(type, meth);
 8570|    142|    }
 8571|  2.13k|    else if (meth->ml_flags & METH_STATIC) {
  ------------------
  |  |  105|  2.13k|#define METH_STATIC   0x0020
  ------------------
  |  Branch (8571:14): [True: 6, False: 2.13k]
  ------------------
 8572|      6|        PyObject *mod = type_module(type);
 8573|      6|        if (mod == NULL) {
  ------------------
  |  Branch (8573:13): [True: 0, False: 6]
  ------------------
 8574|      0|            if (!PyErr_ExceptionMatches(PyExc_AttributeError)) {
  ------------------
  |  Branch (8574:17): [True: 0, False: 0]
  ------------------
 8575|      0|                return -1;
 8576|      0|            }
 8577|      0|            PyErr_Clear();
 8578|      0|        }
 8579|      6|        PyObject *cfunc = PyCFunction_NewEx(meth, (PyObject*)type, mod);
  ------------------
  |  |   87|      6|#define PyCFunction_NewEx(ML, SELF, MOD) PyCMethod_New((ML), (SELF), (MOD), NULL)
  ------------------
 8580|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8581|      6|        if (cfunc == NULL) {
  ------------------
  |  Branch (8581:13): [True: 0, False: 6]
  ------------------
 8582|      0|            return -1;
 8583|      0|        }
 8584|      6|        descr = PyStaticMethod_New(cfunc);
 8585|      6|        isdescr = 0;  // PyStaticMethod is not PyDescrObject
 8586|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8587|      6|    }
 8588|  2.13k|    else {
 8589|  2.13k|        descr = PyDescr_NewMethod(type, meth);
 8590|  2.13k|    }
 8591|  2.28k|    if (descr == NULL) {
  ------------------
  |  Branch (8591:9): [True: 0, False: 2.28k]
  ------------------
 8592|      0|        return -1;
 8593|      0|    }
 8594|       |
 8595|  2.28k|    PyObject *name;
 8596|  2.28k|    if (isdescr) {
  ------------------
  |  Branch (8596:9): [True: 2.27k, False: 6]
  ------------------
 8597|  2.27k|        name = PyDescr_NAME(descr);
  ------------------
  |  |   36|  2.27k|#define PyDescr_NAME(x) (((PyDescrObject *)(x))->d_name)
  ------------------
 8598|  2.27k|    }
 8599|      6|    else {
 8600|      6|        name = PyUnicode_FromString(meth->ml_name);
 8601|      6|        if (name == NULL) {
  ------------------
  |  Branch (8601:13): [True: 0, False: 6]
  ------------------
 8602|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8603|      0|            return -1;
 8604|      0|        }
 8605|      6|    }
 8606|       |
 8607|  2.28k|    int err;
 8608|  2.28k|    PyObject *dict = lookup_tp_dict(type);
 8609|  2.28k|    if (!(meth->ml_flags & METH_COEXIST)) {
  ------------------
  |  |  112|  2.28k|#define METH_COEXIST   0x0040
  ------------------
  |  Branch (8609:9): [True: 2.26k, False: 20]
  ------------------
 8610|  2.26k|        err = PyDict_SetDefaultRef(dict, name, descr, NULL) < 0;
 8611|  2.26k|    }
 8612|     20|    else {
 8613|     20|        err = PyDict_SetItem(dict, name, descr) < 0;
 8614|     20|    }
 8615|  2.28k|    if (!isdescr) {
  ------------------
  |  Branch (8615:9): [True: 6, False: 2.27k]
  ------------------
 8616|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8617|      6|    }
 8618|  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8619|  2.28k|    if (err) {
  ------------------
  |  Branch (8619:9): [True: 0, False: 2.28k]
  ------------------
 8620|      0|        return -1;
 8621|      0|    }
 8622|  2.28k|    return 0;
 8623|  2.28k|}
typeobject.c:type_add_flags:
  471|  23.1k|{
  472|  23.1k|    type_set_flags(tp, tp->tp_flags | flag);
  473|  23.1k|}
typeobject.c:type_ready:
 9487|  3.07k|{
 9488|  3.07k|    ASSERT_TYPE_LOCK_HELD();
 9489|       |
 9490|  3.07k|    _PyObject_ASSERT((PyObject *)type, !is_readying(type));
  ------------------
  |  |  423|  3.07k|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|  3.07k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|  3.07k|    ((void)0)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9491|  3.07k|    start_readying(type);
 9492|       |
 9493|  3.07k|    if (type_ready_pre_checks(type) < 0) {
  ------------------
  |  Branch (9493:9): [True: 0, False: 3.07k]
  ------------------
 9494|      0|        goto error;
 9495|      0|    }
 9496|       |
 9497|       |#ifdef Py_TRACE_REFS
 9498|       |    /* PyType_Ready is the closest thing we have to a choke point
 9499|       |     * for type objects, so is the best place I can think of to try
 9500|       |     * to get type objects into the doubly-linked list of all objects.
 9501|       |     * Still, not all type objects go through PyType_Ready.
 9502|       |     */
 9503|       |    _Py_AddToAllObjects((PyObject *)type);
 9504|       |#endif
 9505|       |
 9506|       |    /* Initialize tp_dict: _PyType_IsReady() tests if tp_dict != NULL */
 9507|  3.07k|    if (type_ready_set_dict(type) < 0) {
  ------------------
  |  Branch (9507:9): [True: 0, False: 3.07k]
  ------------------
 9508|      0|        goto error;
 9509|      0|    }
 9510|  3.07k|    if (type_ready_set_base(type) < 0) {
  ------------------
  |  Branch (9510:9): [True: 0, False: 3.07k]
  ------------------
 9511|      0|        goto error;
 9512|      0|    }
 9513|  3.07k|    if (type_ready_set_type(type) < 0) {
  ------------------
  |  Branch (9513:9): [True: 0, False: 3.07k]
  ------------------
 9514|      0|        goto error;
 9515|      0|    }
 9516|  3.07k|    if (type_ready_set_bases(type, initial) < 0) {
  ------------------
  |  Branch (9516:9): [True: 0, False: 3.07k]
  ------------------
 9517|      0|        goto error;
 9518|      0|    }
 9519|  3.07k|    if (type_ready_mro(type, initial) < 0) {
  ------------------
  |  Branch (9519:9): [True: 0, False: 3.07k]
  ------------------
 9520|      0|        goto error;
 9521|      0|    }
 9522|  3.07k|    if (type_ready_set_new(type, initial) < 0) {
  ------------------
  |  Branch (9522:9): [True: 0, False: 3.07k]
  ------------------
 9523|      0|        goto error;
 9524|      0|    }
 9525|  3.07k|    if (type_ready_fill_dict(type) < 0) {
  ------------------
  |  Branch (9525:9): [True: 0, False: 3.07k]
  ------------------
 9526|      0|        goto error;
 9527|      0|    }
 9528|  3.07k|    if (initial) {
  ------------------
  |  Branch (9528:9): [True: 3.07k, False: 0]
  ------------------
 9529|  3.07k|        if (type_ready_inherit(type) < 0) {
  ------------------
  |  Branch (9529:13): [True: 0, False: 3.07k]
  ------------------
 9530|      0|            goto error;
 9531|      0|        }
 9532|  3.07k|        if (type_ready_preheader(type) < 0) {
  ------------------
  |  Branch (9532:13): [True: 0, False: 3.07k]
  ------------------
 9533|      0|            goto error;
 9534|      0|        }
 9535|  3.07k|    }
 9536|  3.07k|    if (type_ready_set_hash(type) < 0) {
  ------------------
  |  Branch (9536:9): [True: 0, False: 3.07k]
  ------------------
 9537|      0|        goto error;
 9538|      0|    }
 9539|  3.07k|    if (type_ready_add_subclasses(type) < 0) {
  ------------------
  |  Branch (9539:9): [True: 0, False: 3.07k]
  ------------------
 9540|      0|        goto error;
 9541|      0|    }
 9542|  3.07k|    if (initial) {
  ------------------
  |  Branch (9542:9): [True: 3.07k, False: 0]
  ------------------
 9543|  3.07k|        if (type_ready_managed_dict(type) < 0) {
  ------------------
  |  Branch (9543:13): [True: 0, False: 3.07k]
  ------------------
 9544|      0|            goto error;
 9545|      0|        }
 9546|  3.07k|        if (type_ready_post_checks(type) < 0) {
  ------------------
  |  Branch (9546:13): [True: 0, False: 3.07k]
  ------------------
 9547|      0|            goto error;
 9548|      0|        }
 9549|  3.07k|    }
 9550|       |
 9551|       |    /* All done -- set the ready flag */
 9552|  3.07k|    if (initial) {
  ------------------
  |  Branch (9552:9): [True: 3.07k, False: 0]
  ------------------
 9553|  3.07k|        type_add_flags(type, Py_TPFLAGS_READY);
  ------------------
  |  |  518|  3.07k|#define Py_TPFLAGS_READY (1UL << 12)
  ------------------
 9554|  3.07k|    } else {
 9555|      0|        assert(type->tp_flags & Py_TPFLAGS_READY);
 9556|      0|    }
 9557|       |
 9558|  3.07k|    stop_readying(type);
 9559|       |
 9560|  3.07k|    assert(_PyType_CheckConsistency(type));
 9561|  3.07k|    return 0;
 9562|       |
 9563|      0|error:
 9564|      0|    stop_readying(type);
 9565|      0|    return -1;
 9566|  3.07k|}
typeobject.c:start_readying:
  483|  3.07k|{
  484|  3.07k|    if (type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  3.07k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (484:9): [True: 414, False: 2.65k]
  ------------------
  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.07k|    assert((type->tp_flags & Py_TPFLAGS_READYING) == 0);
  493|  2.65k|    type_add_flags(type, Py_TPFLAGS_READYING);
  ------------------
  |  |  521|  2.65k|#define Py_TPFLAGS_READYING (1UL << 13)
  ------------------
  494|  2.65k|}
typeobject.c:type_ready_pre_checks:
 8982|  3.07k|{
 8983|       |    /* Consistency checks for PEP 590:
 8984|       |     * - Py_TPFLAGS_METHOD_DESCRIPTOR requires tp_descr_get
 8985|       |     * - Py_TPFLAGS_HAVE_VECTORCALL requires tp_call and
 8986|       |     *   tp_vectorcall_offset > 0
 8987|       |     * To avoid mistakes, we require this before inheriting.
 8988|       |     */
 8989|  3.07k|    if (type->tp_flags & Py_TPFLAGS_METHOD_DESCRIPTOR) {
  ------------------
  |  |  534|  3.07k|#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
  ------------------
  |  Branch (8989:9): [True: 8, False: 3.06k]
  ------------------
 8990|      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)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8991|      8|    }
 8992|  3.07k|    if (type->tp_flags & Py_TPFLAGS_HAVE_VECTORCALL) {
  ------------------
  |  |  510|  3.07k|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (8992:9): [True: 24, False: 3.04k]
  ------------------
 8993|     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)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8994|     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)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8995|     24|    }
 8996|       |
 8997|       |    /* Consistency checks for pattern matching
 8998|       |     * Py_TPFLAGS_SEQUENCE and Py_TPFLAGS_MAPPING are mutually exclusive */
 8999|  3.07k|    _PyObject_ASSERT((PyObject *)type, (type->tp_flags & COLLECTION_FLAGS) != COLLECTION_FLAGS);
  ------------------
  |  |  423|  3.07k|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|  3.07k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|  3.07k|    ((void)0)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9000|       |
 9001|  3.07k|    if (type->tp_name == NULL) {
  ------------------
  |  Branch (9001:9): [True: 0, False: 3.07k]
  ------------------
 9002|      0|        PyErr_Format(PyExc_SystemError,
 9003|      0|                     "Type does not define the tp_name field.");
 9004|      0|        return -1;
 9005|      0|    }
 9006|  3.07k|    return 0;
 9007|  3.07k|}
typeobject.c:type_ready_set_dict:
 9088|  3.07k|{
 9089|  3.07k|    if (lookup_tp_dict(type) != NULL) {
  ------------------
  |  Branch (9089:9): [True: 2.41k, False: 656]
  ------------------
 9090|  2.41k|        return 0;
 9091|  2.41k|    }
 9092|       |
 9093|    656|    PyObject *dict = PyDict_New();
 9094|    656|    if (dict == NULL) {
  ------------------
  |  Branch (9094:9): [True: 0, False: 656]
  ------------------
 9095|      0|        return -1;
 9096|      0|    }
 9097|    656|    set_tp_dict(type, dict);
 9098|    656|    return 0;
 9099|    656|}
typeobject.c:type_ready_set_base:
 9012|  3.07k|{
 9013|       |    /* Initialize tp_base (defaults to BaseObject unless that's us) */
 9014|  3.07k|    PyTypeObject *base = type->tp_base;
 9015|  3.07k|    if (base == NULL && type != &PyBaseObject_Type) {
  ------------------
  |  Branch (9015:9): [True: 242, False: 2.83k]
  |  Branch (9015:25): [True: 240, False: 2]
  ------------------
 9016|    240|        base = &PyBaseObject_Type;
 9017|    240|        if (type->tp_flags & Py_TPFLAGS_HEAPTYPE) {
  ------------------
  |  |  503|    240|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (9017:13): [True: 0, False: 240]
  ------------------
 9018|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9019|      0|        }
 9020|    240|        else {
 9021|    240|            type->tp_base = base;
 9022|    240|        }
 9023|    240|    }
 9024|  3.07k|    assert(type->tp_base != NULL || type == &PyBaseObject_Type);
 9025|       |
 9026|       |    /* Now the only way base can still be NULL is if type is
 9027|       |     * &PyBaseObject_Type. */
 9028|       |
 9029|       |    /* Initialize the base class */
 9030|  3.07k|    if (base != NULL && !_PyType_IsReady(base)) {
  ------------------
  |  Branch (9030:9): [True: 3.07k, False: 2]
  |  Branch (9030:25): [True: 0, False: 3.07k]
  ------------------
 9031|      0|        if (PyType_Ready(base) < 0) {
  ------------------
  |  Branch (9031:13): [True: 0, False: 0]
  ------------------
 9032|      0|            return -1;
 9033|      0|        }
 9034|      0|    }
 9035|       |
 9036|  3.07k|    return 0;
 9037|  3.07k|}
typeobject.c:type_ready_set_type:
 9041|  3.07k|{
 9042|       |    /* Initialize ob_type if NULL.      This means extensions that want to be
 9043|       |       compilable separately on Windows can call PyType_Ready() instead of
 9044|       |       initializing the ob_type field of their type objects. */
 9045|       |    /* The test for base != NULL is really unnecessary, since base is only
 9046|       |       NULL when type is &PyBaseObject_Type, and we know its ob_type is
 9047|       |       not NULL (it's initialized to &PyType_Type).      But coverity doesn't
 9048|       |       know that. */
 9049|  3.07k|    PyTypeObject *base = type->tp_base;
 9050|  3.07k|    if (Py_IS_TYPE(type, NULL) && base != NULL) {
  ------------------
  |  |  215|  6.14k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  3.07k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.07k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 170, False: 2.90k]
  |  |  ------------------
  ------------------
  |  Branch (9050:35): [True: 170, False: 0]
  ------------------
 9051|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9052|    170|    }
 9053|       |
 9054|  3.07k|    return 0;
 9055|  3.07k|}
typeobject.c:type_ready_set_bases:
 9059|  3.07k|{
 9060|  3.07k|    if (type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  3.07k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (9060:9): [True: 414, False: 2.65k]
  ------------------
 9061|    414|        if (!initial) {
  ------------------
  |  Branch (9061:13): [True: 0, False: 414]
  ------------------
 9062|      0|            assert(lookup_tp_bases(type) != NULL);
 9063|      0|            return 0;
 9064|      0|        }
 9065|    414|        assert(lookup_tp_bases(type) == NULL);
 9066|    414|    }
 9067|       |
 9068|  3.07k|    PyObject *bases = lookup_tp_bases(type);
 9069|  3.07k|    if (bases == NULL) {
  ------------------
  |  Branch (9069:9): [True: 414, False: 2.65k]
  ------------------
 9070|    414|        PyTypeObject *base = type->tp_base;
 9071|    414|        if (base == NULL) {
  ------------------
  |  Branch (9071:13): [True: 2, False: 412]
  ------------------
 9072|      2|            bases = PyTuple_New(0);
 9073|      2|        }
 9074|    412|        else {
 9075|    412|            bases = PyTuple_Pack(1, base);
 9076|    412|        }
 9077|    414|        if (bases == NULL) {
  ------------------
  |  Branch (9077:13): [True: 0, False: 414]
  ------------------
 9078|      0|            return -1;
 9079|      0|        }
 9080|    414|        set_tp_bases(type, bases, 1);
 9081|    414|    }
 9082|  3.07k|    return 0;
 9083|  3.07k|}
typeobject.c:type_ready_mro:
 9205|  3.07k|{
 9206|  3.07k|    ASSERT_TYPE_LOCK_HELD();
 9207|       |
 9208|  3.07k|    if (type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  3.07k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (9208:9): [True: 414, False: 2.65k]
  ------------------
 9209|    414|        if (!initial) {
  ------------------
  |  Branch (9209:13): [True: 0, False: 414]
  ------------------
 9210|      0|            assert(lookup_tp_mro(type) != NULL);
 9211|      0|            return 0;
 9212|      0|        }
 9213|    414|        assert(lookup_tp_mro(type) == NULL);
 9214|    414|    }
 9215|       |
 9216|       |    /* Calculate method resolution order */
 9217|  3.07k|    if (mro_internal(type, initial, NULL) < 0) {
  ------------------
  |  Branch (9217:9): [True: 0, False: 3.07k]
  ------------------
 9218|      0|        return -1;
 9219|      0|    }
 9220|  3.07k|    PyObject *mro = lookup_tp_mro(type);
 9221|  3.07k|    assert(mro != NULL);
 9222|  3.07k|    assert(PyTuple_Check(mro));
 9223|       |
 9224|       |    /* All bases of statically allocated type should be statically allocated,
 9225|       |       and static builtin types must have static builtin bases. */
 9226|  3.07k|    if (!(type->tp_flags & Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|  3.07k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (9226:9): [True: 414, False: 2.65k]
  ------------------
 9227|    414|        assert(type->tp_flags & Py_TPFLAGS_IMMUTABLETYPE);
 9228|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9229|  1.64k|        for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (9229:32): [True: 1.23k, False: 414]
  ------------------
 9230|  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))
  |  |  ------------------
  ------------------
 9231|  1.23k|            if (base->tp_flags & Py_TPFLAGS_HEAPTYPE) {
  ------------------
  |  |  503|  1.23k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (9231:17): [True: 0, False: 1.23k]
  ------------------
 9232|      0|                PyErr_Format(PyExc_TypeError,
 9233|      0|                             "type '%.100s' is not dynamically allocated but "
 9234|      0|                             "its base type '%.100s' is dynamically allocated",
 9235|      0|                             type->tp_name, base->tp_name);
 9236|      0|                return -1;
 9237|      0|            }
 9238|  1.23k|            assert(!(type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) ||
 9239|  1.23k|                   (base->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN));
 9240|  1.23k|        }
 9241|    414|    }
 9242|  3.07k|    return 0;
 9243|  3.07k|}
typeobject.c:type_ready_set_new:
 9374|  3.07k|{
 9375|  3.07k|    PyTypeObject *base = type->tp_base;
 9376|       |    /* The condition below could use some explanation.
 9377|       |
 9378|       |       It appears that tp_new is not inherited for static types whose base
 9379|       |       class is 'object'; this seems to be a precaution so that old extension
 9380|       |       types don't suddenly become callable (object.__new__ wouldn't insure the
 9381|       |       invariants that the extension type's own factory function ensures).
 9382|       |
 9383|       |       Heap types, of course, are under our control, so they do inherit tp_new;
 9384|       |       static extension types that specify some other built-in type as the
 9385|       |       default also inherit object.__new__. */
 9386|  3.07k|    if (type->tp_new == NULL
  ------------------
  |  Branch (9386:9): [True: 2.69k, False: 376]
  ------------------
 9387|  2.69k|        && base == &PyBaseObject_Type
  ------------------
  |  Branch (9387:12): [True: 940, False: 1.75k]
  ------------------
 9388|    940|        && !(type->tp_flags & Py_TPFLAGS_HEAPTYPE))
  ------------------
  |  |  503|    940|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (9388:12): [True: 128, False: 812]
  ------------------
 9389|    128|    {
 9390|    128|        if (initial) {
  ------------------
  |  Branch (9390:13): [True: 128, False: 0]
  ------------------
 9391|    128|            type_add_flags(type, Py_TPFLAGS_DISALLOW_INSTANTIATION);
  ------------------
  |  |  497|    128|#define Py_TPFLAGS_DISALLOW_INSTANTIATION (1UL << 7)
  ------------------
 9392|    128|        } else {
 9393|      0|            assert(type->tp_flags & Py_TPFLAGS_DISALLOW_INSTANTIATION);
 9394|      0|        }
 9395|    128|    }
 9396|       |
 9397|  3.07k|    if (!(type->tp_flags & Py_TPFLAGS_DISALLOW_INSTANTIATION)) {
  ------------------
  |  |  497|  3.07k|#define Py_TPFLAGS_DISALLOW_INSTANTIATION (1UL << 7)
  ------------------
  |  Branch (9397:9): [True: 2.88k, False: 184]
  ------------------
 9398|  2.88k|        if (type->tp_new != NULL) {
  ------------------
  |  Branch (9398:13): [True: 372, False: 2.51k]
  ------------------
 9399|    372|            if (initial || base == NULL || type->tp_new != base->tp_new) {
  ------------------
  |  Branch (9399:17): [True: 372, False: 0]
  |  Branch (9399:28): [True: 0, False: 0]
  |  Branch (9399:44): [True: 0, False: 0]
  ------------------
 9400|       |                // If "__new__" key does not exists in the type dictionary,
 9401|       |                // set it to tp_new_wrapper().
 9402|    372|                if (add_tp_new_wrapper(type) < 0) {
  ------------------
  |  Branch (9402:21): [True: 0, False: 372]
  ------------------
 9403|      0|                    return -1;
 9404|      0|                }
 9405|    372|            }
 9406|    372|        }
 9407|  2.51k|        else {
 9408|  2.51k|            if (initial) {
  ------------------
  |  Branch (9408:17): [True: 2.51k, False: 0]
  ------------------
 9409|       |                // tp_new is NULL: inherit tp_new from base
 9410|  2.51k|                type->tp_new = base->tp_new;
 9411|  2.51k|            }
 9412|  2.51k|        }
 9413|  2.88k|    }
 9414|    184|    else {
 9415|       |        // Py_TPFLAGS_DISALLOW_INSTANTIATION sets tp_new to NULL
 9416|    184|        if (initial) {
  ------------------
  |  Branch (9416:13): [True: 184, False: 0]
  ------------------
 9417|    184|            type->tp_new = NULL;
 9418|    184|        }
 9419|    184|    }
 9420|  3.07k|    return 0;
 9421|  3.07k|}
typeobject.c:add_tp_new_wrapper:
10459|    372|{
10460|    372|    PyObject *dict = lookup_tp_dict(type);
10461|    372|    int r = PyDict_Contains(dict, &_Py_ID(__new__));
  ------------------
  |  |  915|    372|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    372|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    372|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10462|    372|    if (r > 0) {
  ------------------
  |  Branch (10462:9): [True: 0, False: 372]
  ------------------
10463|      0|        return 0;
10464|      0|    }
10465|    372|    if (r < 0) {
  ------------------
  |  Branch (10465:9): [True: 0, False: 372]
  ------------------
10466|      0|        return -1;
10467|      0|    }
10468|       |
10469|    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)
  ------------------
10470|    372|    if (func == NULL) {
  ------------------
  |  Branch (10470:9): [True: 0, False: 372]
  ------------------
10471|      0|        return -1;
10472|      0|    }
10473|    372|    _PyObject_SetDeferredRefcount(func);
10474|    372|    r = PyDict_SetItem(dict, &_Py_ID(__new__), func);
  ------------------
  |  |  915|    372|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    372|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    372|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10475|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10476|    372|    return r;
10477|    372|}
typeobject.c:type_ready_fill_dict:
 9141|  3.07k|{
 9142|       |    /* Add type-specific descriptors to tp_dict */
 9143|  3.07k|    if (add_operators(type) < 0) {
  ------------------
  |  Branch (9143:9): [True: 0, False: 3.07k]
  ------------------
 9144|      0|        return -1;
 9145|      0|    }
 9146|  3.07k|    if (type_add_methods(type) < 0) {
  ------------------
  |  Branch (9146:9): [True: 0, False: 3.07k]
  ------------------
 9147|      0|        return -1;
 9148|      0|    }
 9149|  3.07k|    if (type_add_members(type) < 0) {
  ------------------
  |  Branch (9149:9): [True: 0, False: 3.07k]
  ------------------
 9150|      0|        return -1;
 9151|      0|    }
 9152|  3.07k|    if (type_add_getset(type) < 0) {
  ------------------
  |  Branch (9152:9): [True: 0, False: 3.07k]
  ------------------
 9153|      0|        return -1;
 9154|      0|    }
 9155|  3.07k|    if (type_dict_set_doc(type) < 0) {
  ------------------
  |  Branch (9155:9): [True: 0, False: 3.07k]
  ------------------
 9156|      0|        return -1;
 9157|      0|    }
 9158|  3.07k|    return 0;
 9159|  3.07k|}
typeobject.c:add_operators:
12412|  3.07k|{
12413|  3.07k|    PyObject *dict = lookup_tp_dict(type);
12414|  3.07k|    pytype_slotdef *p;
12415|  3.07k|    PyObject *descr;
12416|  3.07k|    void **ptr;
12417|       |
12418|   291k|    for (p = slotdefs; p->name; p++) {
  ------------------
  |  Branch (12418:24): [True: 288k, False: 3.07k]
  ------------------
12419|   288k|        if (p->wrapper == NULL)
  ------------------
  |  Branch (12419:13): [True: 18.4k, False: 270k]
  ------------------
12420|  18.4k|            continue;
12421|   270k|        ptr = slotptr(type, p->offset);
12422|   270k|        if (!ptr || !*ptr)
  ------------------
  |  Branch (12422:13): [True: 24.6k, False: 245k]
  |  Branch (12422:21): [True: 242k, False: 2.88k]
  ------------------
12423|   267k|            continue;
12424|       |        /* Also ignore when the type slot has been inherited. */
12425|  2.88k|        if (type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN
  ------------------
  |  |  467|  5.76k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (12425:13): [True: 2.27k, False: 602]
  ------------------
12426|  2.27k|            && type->tp_base != NULL
  ------------------
  |  Branch (12426:16): [True: 2.25k, False: 26]
  ------------------
12427|  2.25k|            && slot_inherited(type, p, ptr))
  ------------------
  |  Branch (12427:16): [True: 322, False: 1.93k]
  ------------------
12428|    322|        {
12429|    322|            continue;
12430|    322|        }
12431|  2.55k|        int r = PyDict_Contains(dict, p->name_strobj);
12432|  2.55k|        if (r > 0)
  ------------------
  |  Branch (12432:13): [True: 48, False: 2.51k]
  ------------------
12433|     48|            continue;
12434|  2.51k|        if (r < 0) {
  ------------------
  |  Branch (12434:13): [True: 0, False: 2.51k]
  ------------------
12435|      0|            return -1;
12436|      0|        }
12437|  2.51k|        if (*ptr == (void *)PyObject_HashNotImplemented) {
  ------------------
  |  Branch (12437:13): [True: 20, False: 2.49k]
  ------------------
12438|       |            /* Classes may prevent the inheritance of the tp_hash
12439|       |               slot by storing PyObject_HashNotImplemented in it. Make it
12440|       |               visible as a None value for the __hash__ attribute. */
12441|     20|            if (PyDict_SetItem(dict, p->name_strobj, Py_None) < 0)
  ------------------
  |  |  616|     20|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (12441:17): [True: 0, False: 20]
  ------------------
12442|      0|                return -1;
12443|     20|        }
12444|  2.49k|        else {
12445|  2.49k|            descr = PyDescr_NewWrapper(type, p, *ptr);
12446|  2.49k|            if (descr == NULL)
  ------------------
  |  Branch (12446:17): [True: 0, False: 2.49k]
  ------------------
12447|      0|                return -1;
12448|  2.49k|            if (PyDict_SetItem(dict, p->name_strobj, descr) < 0) {
  ------------------
  |  Branch (12448:17): [True: 0, False: 2.49k]
  ------------------
12449|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12450|      0|                return -1;
12451|      0|            }
12452|  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12453|  2.49k|        }
12454|  2.51k|    }
12455|  3.07k|    return 0;
12456|  3.07k|}
typeobject.c:slot_inherited:
12362|  2.25k|{
12363|  2.25k|    void **slot_base = slotptr(type->tp_base, slotdef->offset);
12364|  2.25k|    if (slot_base == NULL || *slot != *slot_base) {
  ------------------
  |  Branch (12364:9): [True: 766, False: 1.48k]
  |  Branch (12364:30): [True: 1.16k, False: 324]
  ------------------
12365|  1.92k|        return 0;
12366|  1.92k|    }
12367|       |
12368|       |    /* Some slots are inherited in pairs. */
12369|    324|    if (slot == (void *)&type->tp_hash) {
  ------------------
  |  Branch (12369:9): [True: 2, False: 322]
  ------------------
12370|      2|        return (type->tp_richcompare == type->tp_base->tp_richcompare);
12371|      2|    }
12372|    322|    else if (slot == (void *)&type->tp_richcompare) {
  ------------------
  |  Branch (12372:14): [True: 0, False: 322]
  ------------------
12373|      0|        return (type->tp_hash == type->tp_base->tp_hash);
12374|      0|    }
12375|       |
12376|       |    /* It must be inherited (see type_ready_inherit()). */
12377|    322|    return 1;
12378|    324|}
typeobject.c:type_add_methods:
 8635|  3.07k|{
 8636|  3.07k|    PyMethodDef *meth = type->tp_methods;
 8637|  3.07k|    if (meth == NULL) {
  ------------------
  |  Branch (8637:9): [True: 2.66k, False: 406]
  ------------------
 8638|  2.66k|        return 0;
 8639|  2.66k|    }
 8640|       |
 8641|  2.68k|    for (; meth->ml_name != NULL; meth++) {
  ------------------
  |  Branch (8641:12): [True: 2.27k, False: 406]
  ------------------
 8642|  2.27k|        if (type_add_method(type, meth) < 0) {
  ------------------
  |  Branch (8642:13): [True: 0, False: 2.27k]
  ------------------
 8643|      0|            return -1;
 8644|      0|        }
 8645|  2.27k|    }
 8646|    406|    return 0;
 8647|    406|}
typeobject.c:type_add_members:
 8652|  3.07k|{
 8653|  3.07k|    PyMemberDef *memb = type->tp_members;
 8654|  3.07k|    if (memb == NULL) {
  ------------------
  |  Branch (8654:9): [True: 428, False: 2.64k]
  ------------------
 8655|    428|        return 0;
 8656|    428|    }
 8657|       |
 8658|  2.64k|    PyObject *dict = lookup_tp_dict(type);
 8659|  4.00k|    for (; memb->name != NULL; memb++) {
  ------------------
  |  Branch (8659:12): [True: 1.36k, False: 2.64k]
  ------------------
 8660|  1.36k|        PyObject *descr = PyDescr_NewMember(type, memb);
 8661|  1.36k|        if (descr == NULL)
  ------------------
  |  Branch (8661:13): [True: 0, False: 1.36k]
  ------------------
 8662|      0|            return -1;
 8663|       |
 8664|  1.36k|        if (PyDict_SetDefaultRef(dict, PyDescr_NAME(descr), descr, NULL) < 0) {
  ------------------
  |  |   36|  1.36k|#define PyDescr_NAME(x) (((PyDescrObject *)(x))->d_name)
  ------------------
  |  Branch (8664:13): [True: 0, False: 1.36k]
  ------------------
 8665|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8666|      0|            return -1;
 8667|      0|        }
 8668|  1.36k|        Py_DECREF(descr);
  ------------------
  |  |  430|  1.36k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.36k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.36k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8669|  1.36k|    }
 8670|  2.64k|    return 0;
 8671|  2.64k|}
typeobject.c:type_add_getset:
 8676|  3.07k|{
 8677|  3.07k|    PyGetSetDef *gsp = type->tp_getset;
 8678|  3.07k|    if (gsp == NULL) {
  ------------------
  |  Branch (8678:9): [True: 2.89k, False: 176]
  ------------------
 8679|  2.89k|        return 0;
 8680|  2.89k|    }
 8681|       |
 8682|    176|    PyObject *dict = lookup_tp_dict(type);
 8683|    768|    for (; gsp->name != NULL; gsp++) {
  ------------------
  |  Branch (8683:12): [True: 592, False: 176]
  ------------------
 8684|    592|        PyObject *descr = PyDescr_NewGetSet(type, gsp);
 8685|    592|        if (descr == NULL) {
  ------------------
  |  Branch (8685:13): [True: 0, False: 592]
  ------------------
 8686|      0|            return -1;
 8687|      0|        }
 8688|       |
 8689|    592|        if (PyDict_SetDefaultRef(dict, PyDescr_NAME(descr), descr, NULL) < 0) {
  ------------------
  |  |   36|    592|#define PyDescr_NAME(x) (((PyDescrObject *)(x))->d_name)
  ------------------
  |  Branch (8689:13): [True: 0, False: 592]
  ------------------
 8690|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8691|      0|            return -1;
 8692|      0|        }
 8693|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8694|    592|    }
 8695|    176|    return 0;
 8696|    176|}
typeobject.c:type_dict_set_doc:
 9106|  3.07k|{
 9107|  3.07k|    PyObject *dict = lookup_tp_dict(type);
 9108|  3.07k|    int r = PyDict_Contains(dict, &_Py_ID(__doc__));
  ------------------
  |  |  915|  3.07k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  3.07k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  3.07k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9109|  3.07k|    if (r < 0) {
  ------------------
  |  Branch (9109:9): [True: 0, False: 3.07k]
  ------------------
 9110|      0|        return -1;
 9111|      0|    }
 9112|  3.07k|    if (r > 0) {
  ------------------
  |  Branch (9112:9): [True: 1.60k, False: 1.46k]
  ------------------
 9113|  1.60k|        return 0;
 9114|  1.60k|    }
 9115|       |
 9116|  1.46k|    if (type->tp_doc != NULL) {
  ------------------
  |  Branch (9116:9): [True: 446, False: 1.02k]
  ------------------
 9117|    446|        const char *doc_str;
 9118|    446|        doc_str = _PyType_DocWithoutSignature(type->tp_name, type->tp_doc);
 9119|    446|        PyObject *doc = PyUnicode_FromString(doc_str);
 9120|    446|        if (doc == NULL) {
  ------------------
  |  Branch (9120:13): [True: 0, False: 446]
  ------------------
 9121|      0|            return -1;
 9122|      0|        }
 9123|       |
 9124|    446|        if (PyDict_SetItem(dict, &_Py_ID(__doc__), doc) < 0) {
  ------------------
  |  |  915|    446|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    446|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    446|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (9124:13): [True: 0, False: 446]
  ------------------
 9125|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9126|      0|            return -1;
 9127|      0|        }
 9128|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9129|    446|    }
 9130|  1.02k|    else {
 9131|  1.02k|        if (PyDict_SetItem(dict, &_Py_ID(__doc__), Py_None) < 0) {
  ------------------
  |  |  915|  1.02k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.02k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.02k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (PyDict_SetItem(dict, &_Py_ID(__doc__), Py_None) < 0) {
  ------------------
  |  |  616|  1.02k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (9131:13): [True: 0, False: 1.02k]
  ------------------
 9132|      0|            return -1;
 9133|      0|        }
 9134|  1.02k|    }
 9135|  1.46k|    return 0;
 9136|  1.46k|}
typeobject.c:type_ready_inherit:
 9280|  3.07k|{
 9281|  3.07k|    ASSERT_TYPE_LOCK_HELD();
 9282|       |
 9283|       |    /* Inherit special flags from dominant base */
 9284|  3.07k|    PyTypeObject *base = type->tp_base;
 9285|  3.07k|    if (base != NULL) {
  ------------------
  |  Branch (9285:9): [True: 3.07k, False: 2]
  ------------------
 9286|  3.07k|        inherit_special(type, base);
 9287|  3.07k|    }
 9288|       |
 9289|       |    // Inherit slots
 9290|  3.07k|    PyObject *mro = lookup_tp_mro(type);
 9291|  3.07k|    assert(mro != NULL);
 9292|  3.07k|    Py_ssize_t n = PyTuple_GET_SIZE(mro);
  ------------------
  |  |   27|  3.07k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.07k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.07k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9293|  10.6k|    for (Py_ssize_t i = 1; i < n; i++) {
  ------------------
  |  Branch (9293:28): [True: 7.58k, False: 3.07k]
  ------------------
 9294|  7.58k|        PyObject *b = PyTuple_GET_ITEM(mro, i);
  ------------------
  |  |   29|  7.58k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  7.58k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9295|  7.58k|        if (PyType_Check(b)) {
  ------------------
  |  |  766|  7.58k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.58k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 7.58k, False: 0]
  |  |  ------------------
  ------------------
 9296|  7.58k|            if (inherit_slots(type, (PyTypeObject *)b) < 0) {
  ------------------
  |  Branch (9296:17): [True: 0, False: 7.58k]
  ------------------
 9297|      0|                return -1;
 9298|      0|            }
 9299|  7.58k|            inherit_patma_flags(type, (PyTypeObject *)b);
 9300|  7.58k|        }
 9301|  7.58k|    }
 9302|       |
 9303|  3.07k|    if (base != NULL) {
  ------------------
  |  Branch (9303:9): [True: 3.07k, False: 2]
  ------------------
 9304|  3.07k|        type_ready_inherit_as_structs(type, base);
 9305|  3.07k|    }
 9306|       |
 9307|       |    /* Sanity check for tp_free. */
 9308|  3.07k|    if (_PyType_IS_GC(type) && (type->tp_flags & Py_TPFLAGS_BASETYPE) &&
  ------------------
  |  |  828|  6.14k|#define _PyType_IS_GC(t) _PyType_HasFeature((t), Py_TPFLAGS_HAVE_GC)
  |  |  ------------------
  |  |  |  |  524|  3.07k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  |  |  ------------------
  |  |  |  Branch (828:26): [True: 2.97k, False: 98]
  |  |  ------------------
  ------------------
                  if (_PyType_IS_GC(type) && (type->tp_flags & Py_TPFLAGS_BASETYPE) &&
  ------------------
  |  |  506|  2.97k|#define Py_TPFLAGS_BASETYPE (1UL << 10)
  ------------------
  |  Branch (9308:32): [True: 2.69k, False: 278]
  ------------------
 9309|  2.69k|        (type->tp_free == NULL || type->tp_free == PyObject_Free))
  ------------------
  |  Branch (9309:10): [True: 0, False: 2.69k]
  |  Branch (9309:35): [True: 0, False: 2.69k]
  ------------------
 9310|      0|    {
 9311|       |        /* This base class needs to call tp_free, but doesn't have
 9312|       |         * one, or its tp_free is for non-gc'ed objects.
 9313|       |         */
 9314|      0|        PyErr_Format(PyExc_TypeError, "type '%.100s' participates in "
 9315|      0|                     "gc and is a base type but has inappropriate "
 9316|      0|                     "tp_free slot",
 9317|      0|                     type->tp_name);
 9318|      0|        return -1;
 9319|      0|    }
 9320|       |
 9321|  3.07k|    return 0;
 9322|  3.07k|}
typeobject.c:inherit_special:
 8701|  3.07k|{
 8702|       |    /* Copying tp_traverse and tp_clear is connected to the GC flags */
 8703|  3.07k|    if (!(type->tp_flags & Py_TPFLAGS_HAVE_GC) &&
  ------------------
  |  |  524|  3.07k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (8703:9): [True: 112, False: 2.95k]
  ------------------
 8704|    112|        (base->tp_flags & Py_TPFLAGS_HAVE_GC) &&
  ------------------
  |  |  524|    112|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (8704:9): [True: 16, False: 96]
  ------------------
 8705|     16|        (!type->tp_traverse && !type->tp_clear)) {
  ------------------
  |  Branch (8705:10): [True: 16, False: 0]
  |  Branch (8705:32): [True: 16, False: 0]
  ------------------
 8706|     16|        type_add_flags(type, Py_TPFLAGS_HAVE_GC);
  ------------------
  |  |  524|     16|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
 8707|     16|        if (type->tp_traverse == NULL)
  ------------------
  |  Branch (8707:13): [True: 16, False: 0]
  ------------------
 8708|     16|            type->tp_traverse = base->tp_traverse;
 8709|     16|        if (type->tp_clear == NULL)
  ------------------
  |  Branch (8709:13): [True: 16, False: 0]
  ------------------
 8710|     16|            type->tp_clear = base->tp_clear;
 8711|     16|    }
 8712|  3.07k|    type_add_flags(type, base->tp_flags & Py_TPFLAGS_PREHEADER);
  ------------------
  |  |  487|  3.07k|#define Py_TPFLAGS_PREHEADER (Py_TPFLAGS_MANAGED_WEAKREF | Py_TPFLAGS_MANAGED_DICT)
  |  |  ------------------
  |  |  |  |  477|  3.07k|#define Py_TPFLAGS_MANAGED_WEAKREF (1 << 3)
  |  |  ------------------
  |  |               #define Py_TPFLAGS_PREHEADER (Py_TPFLAGS_MANAGED_WEAKREF | Py_TPFLAGS_MANAGED_DICT)
  |  |  ------------------
  |  |  |  |  482|  3.07k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  |  |  ------------------
  ------------------
 8713|       |
 8714|  3.07k|    if (type->tp_basicsize == 0)
  ------------------
  |  Branch (8714:9): [True: 18, False: 3.05k]
  ------------------
 8715|     18|        type->tp_basicsize = base->tp_basicsize;
 8716|       |
 8717|       |    /* Copy other non-function slots */
 8718|       |
 8719|  3.07k|#define COPYVAL(SLOT) \
 8720|  3.07k|    if (type->SLOT == 0) { type->SLOT = base->SLOT; }
 8721|       |
 8722|  3.07k|    COPYVAL(tp_itemsize);
  ------------------
  |  | 8720|  3.07k|    if (type->SLOT == 0) { type->SLOT = base->SLOT; }
  |  |  ------------------
  |  |  |  Branch (8720:9): [True: 2.81k, False: 260]
  |  |  ------------------
  ------------------
 8723|  3.07k|    COPYVAL(tp_weaklistoffset);
  ------------------
  |  | 8720|  3.07k|    if (type->SLOT == 0) { type->SLOT = base->SLOT; }
  |  |  ------------------
  |  |  |  Branch (8720:9): [True: 1.99k, False: 1.07k]
  |  |  ------------------
  ------------------
 8724|  3.07k|    COPYVAL(tp_dictoffset);
  ------------------
  |  | 8720|  3.07k|    if (type->SLOT == 0) { type->SLOT = base->SLOT; }
  |  |  ------------------
  |  |  |  Branch (8720:9): [True: 2.09k, False: 976]
  |  |  ------------------
  ------------------
 8725|       |
 8726|  3.07k|#undef COPYVAL
 8727|       |
 8728|       |    /* Setup fast subclass flags */
 8729|  3.07k|    PyObject *mro = lookup_tp_mro(base);
 8730|  3.07k|    unsigned long flags = 0;
 8731|  3.07k|    if (is_subtype_with_mro(mro, base, (PyTypeObject*)PyExc_BaseException)) {
  ------------------
  |  Branch (8731:9): [True: 484, False: 2.58k]
  ------------------
 8732|    484|        flags |= Py_TPFLAGS_BASE_EXC_SUBCLASS;
  ------------------
  |  |  557|    484|#define Py_TPFLAGS_BASE_EXC_SUBCLASS    (1UL << 30)
  ------------------
 8733|    484|    }
 8734|  2.58k|    else if (is_subtype_with_mro(mro, base, &PyType_Type)) {
  ------------------
  |  Branch (8734:14): [True: 22, False: 2.56k]
  ------------------
 8735|     22|        flags |= Py_TPFLAGS_TYPE_SUBCLASS;
  ------------------
  |  |  558|     22|#define Py_TPFLAGS_TYPE_SUBCLASS        (1UL << 31)
  ------------------
 8736|     22|    }
 8737|  2.56k|    else if (is_subtype_with_mro(mro, base, &PyLong_Type)) {
  ------------------
  |  Branch (8737:14): [True: 64, False: 2.50k]
  ------------------
 8738|     64|        flags |= Py_TPFLAGS_LONG_SUBCLASS;
  ------------------
  |  |  551|     64|#define Py_TPFLAGS_LONG_SUBCLASS        (1UL << 24)
  ------------------
 8739|     64|    }
 8740|  2.50k|    else if (is_subtype_with_mro(mro, base, &PyBytes_Type)) {
  ------------------
  |  Branch (8740:14): [True: 2, False: 2.49k]
  ------------------
 8741|      2|        flags |= Py_TPFLAGS_BYTES_SUBCLASS;
  ------------------
  |  |  554|      2|#define Py_TPFLAGS_BYTES_SUBCLASS       (1UL << 27)
  ------------------
 8742|      2|    }
 8743|  2.49k|    else if (is_subtype_with_mro(mro, base, &PyUnicode_Type)) {
  ------------------
  |  Branch (8743:14): [True: 8, False: 2.49k]
  ------------------
 8744|      8|        flags |= Py_TPFLAGS_UNICODE_SUBCLASS;
  ------------------
  |  |  555|      8|#define Py_TPFLAGS_UNICODE_SUBCLASS     (1UL << 28)
  ------------------
 8745|      8|    }
 8746|  2.49k|    else if (is_subtype_with_mro(mro, base, &PyTuple_Type)) {
  ------------------
  |  Branch (8746:14): [True: 144, False: 2.34k]
  ------------------
 8747|    144|        flags |= Py_TPFLAGS_TUPLE_SUBCLASS;
  ------------------
  |  |  553|    144|#define Py_TPFLAGS_TUPLE_SUBCLASS       (1UL << 26)
  ------------------
 8748|    144|    }
 8749|  2.34k|    else if (is_subtype_with_mro(mro, base, &PyList_Type)) {
  ------------------
  |  Branch (8749:14): [True: 10, False: 2.33k]
  ------------------
 8750|     10|        flags |= Py_TPFLAGS_LIST_SUBCLASS;
  ------------------
  |  |  552|     10|#define Py_TPFLAGS_LIST_SUBCLASS        (1UL << 25)
  ------------------
 8751|     10|    }
 8752|  2.33k|    else if (is_subtype_with_mro(mro, base, &PyDict_Type)) {
  ------------------
  |  Branch (8752:14): [True: 38, False: 2.29k]
  ------------------
 8753|     38|        flags |= Py_TPFLAGS_DICT_SUBCLASS;
  ------------------
  |  |  556|     38|#define Py_TPFLAGS_DICT_SUBCLASS        (1UL << 29)
  ------------------
 8754|     38|    }
 8755|       |
 8756|       |    /* Setup some inheritable flags */
 8757|  3.07k|    if (PyType_HasFeature(base, _Py_TPFLAGS_MATCH_SELF)) {
  ------------------
  |  |  545|  3.07k|#define _Py_TPFLAGS_MATCH_SELF (1UL << 22)
  ------------------
  |  Branch (8757:9): [True: 266, False: 2.80k]
  ------------------
 8758|    266|        flags |= _Py_TPFLAGS_MATCH_SELF;
  ------------------
  |  |  545|    266|#define _Py_TPFLAGS_MATCH_SELF (1UL << 22)
  ------------------
 8759|    266|    }
 8760|  3.07k|    if (PyType_HasFeature(base, Py_TPFLAGS_ITEMS_AT_END)) {
  ------------------
  |  |  548|  3.07k|#define Py_TPFLAGS_ITEMS_AT_END (1UL << 23)
  ------------------
  |  Branch (8760:9): [True: 22, False: 3.04k]
  ------------------
 8761|     22|        flags |= Py_TPFLAGS_ITEMS_AT_END;
  ------------------
  |  |  548|     22|#define Py_TPFLAGS_ITEMS_AT_END (1UL << 23)
  ------------------
 8762|     22|    }
 8763|  3.07k|    type_add_flags(type, flags);
 8764|  3.07k|}
typeobject.c:inherit_slots:
 8781|  7.58k|{
 8782|  7.58k|    PyTypeObject *basebase;
 8783|       |
 8784|  7.58k|#undef SLOTDEFINED
 8785|  7.58k|#undef COPYSLOT
 8786|  7.58k|#undef COPYNUM
 8787|  7.58k|#undef COPYSEQ
 8788|  7.58k|#undef COPYMAP
 8789|  7.58k|#undef COPYBUF
 8790|       |
 8791|  7.58k|#define SLOTDEFINED(SLOT) \
 8792|  7.58k|    (base->SLOT != 0 && \
 8793|  7.58k|     (basebase == NULL || base->SLOT != basebase->SLOT))
 8794|       |
 8795|  7.58k|#define COPYSLOT(SLOT) \
 8796|  7.58k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
 8797|       |
 8798|  7.58k|#define COPYASYNC(SLOT) COPYSLOT(tp_as_async->SLOT)
 8799|  7.58k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
 8800|  7.58k|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
 8801|  7.58k|#define COPYMAP(SLOT) COPYSLOT(tp_as_mapping->SLOT)
 8802|  7.58k|#define COPYBUF(SLOT) COPYSLOT(tp_as_buffer->SLOT)
 8803|       |
 8804|       |    /* This won't inherit indirect slots (from tp_as_number etc.)
 8805|       |       if type doesn't provide the space. */
 8806|       |
 8807|  7.58k|    if (type->tp_as_number != NULL && base->tp_as_number != NULL) {
  ------------------
  |  Branch (8807:9): [True: 6.82k, False: 756]
  |  Branch (8807:39): [True: 3.06k, False: 3.76k]
  ------------------
 8808|  3.06k|        basebase = base->tp_base;
 8809|  3.06k|        if (basebase->tp_as_number == NULL)
  ------------------
  |  Branch (8809:13): [True: 1.75k, False: 1.30k]
  ------------------
 8810|  1.75k|            basebase = NULL;
 8811|  3.06k|        COPYNUM(nb_add);
  ------------------
  |  | 8799|  3.06k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8796|  3.06k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8792|  2.89k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8792:6): [True: 154, False: 2.74k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8793|  2.89k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8793:7): [True: 70, False: 84]
  |  |  |  |  |  |  |  Branch (8793:27): [True: 18, False: 66]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8796:9): [True: 2.89k, False: 170]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8812|  3.06k|        COPYNUM(nb_subtract);
  ------------------
  |  | 8799|  3.06k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8796|  3.06k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8792|  2.81k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8792:6): [True: 164, False: 2.65k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8793|  2.81k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8793:7): [True: 66, False: 98]
  |  |  |  |  |  |  |  Branch (8793:27): [True: 32, False: 66]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8796:9): [True: 2.81k, False: 248]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8813|  3.06k|        COPYNUM(nb_multiply);
  ------------------
  |  | 8799|  3.06k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8796|  3.06k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8792|  2.91k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8792:6): [True: 140, False: 2.77k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8793|  2.91k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8793:7): [True: 66, False: 74]
  |  |  |  |  |  |  |  Branch (8793:27): [True: 10, False: 64]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8796:9): [True: 2.91k, False: 152]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8814|  3.06k|        COPYNUM(nb_remainder);
  ------------------
  |  | 8799|  3.06k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8796|  3.06k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8792|  2.90k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8792:6): [True: 146, False: 2.76k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8793|  2.90k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8793:7): [True: 76, False: 70]
  |  |  |  |  |  |  |  Branch (8793:27): [True: 6, False: 64]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8796:9): [True: 2.90k, False: 158]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8815|  3.06k|        COPYNUM(nb_divmod);
  ------------------
  |  | 8799|  3.06k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8796|  3.06k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8792|  2.92k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8792:6): [True: 130, False: 2.79k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8793|  2.92k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8793:7): [True: 66, False: 64]
  |  |  |  |  |  |  |  Branch (8793:27): [True: 6, False: 58]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8796:9): [True: 2.92k, False: 142]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8816|  3.06k|        COPYNUM(nb_power);
  ------------------
  |  | 8799|  3.06k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8796|  3.06k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8792|  2.92k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8792:6): [True: 136, False: 2.79k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8793|  2.92k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8793:7): [True: 64, False: 72]
  |  |  |  |  |  |  |  Branch (8793:27): [True: 8, False: 64]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8796:9): [True: 2.92k, False: 138]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8817|  3.06k|        COPYNUM(nb_negative);
  ------------------
  |  | 8799|  3.06k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8796|  3.06k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8792|  2.92k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8792:6): [True: 138, False: 2.78k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8793|  2.92k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8793:7): [True: 66, False: 72]
  |  |  |  |  |  |  |  Branch (8793:27): [True: 8, False: 64]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8796:9): [True: 2.92k, False: 138]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8818|  3.06k|        COPYNUM(nb_positive);
  ------------------
  |  | 8799|  3.06k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8796|  3.06k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8792|  2.92k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8792:6): [True: 138, False: 2.78k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8793|  2.92k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8793:7): [True: 66, False: 72]
  |  |  |  |  |  |  |  Branch (8793:27): [True: 8, False: 64]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8796:9): [True: 2.92k, False: 138]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8819|  3.06k|        COPYNUM(nb_absolute);
  ------------------
  |  | 8799|  3.06k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8796|  3.06k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8792|  2.92k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8792:6): [True: 138, False: 2.78k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8793|  2.92k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8793:7): [True: 66, False: 72]
  |  |  |  |  |  |  |  Branch (8793:27): [True: 8, False: 64]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8796:9): [True: 2.92k, False: 138]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8820|  3.06k|        COPYNUM(nb_bool);
  ------------------
  |  | 8799|  3.06k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8796|  3.06k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8792|  2.84k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8792:6): [True: 220, False: 2.62k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8793|  2.84k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8793:7): [True: 66, False: 154]
  |  |  |  |  |  |  |  Branch (8793:27): [True: 80, False: 74]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8796:9): [True: 2.84k, False: 220]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8821|  3.06k|        COPYNUM(nb_invert);
  ------------------
  |  | 8799|  3.06k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8796|  3.06k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8792|  2.92k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8792:6): [True: 104, False: 2.81k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8793|  2.92k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8793:7): [True: 50, False: 54]
  |  |  |  |  |  |  |  Branch (8793:27): [True: 12, False: 42]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8796:9): [True: 2.92k, False: 144]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8822|  3.06k|        COPYNUM(nb_lshift);
  ------------------
  |  | 8799|  3.06k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8796|  3.06k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8792|  2.93k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8792:6): [True: 118, False: 2.81k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8793|  2.93k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8793:7): [True: 64, False: 54]
  |  |  |  |  |  |  |  Branch (8793:27): [True: 0, False: 54]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8796:9): [True: 2.93k, False: 130]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8823|  3.06k|        COPYNUM(nb_rshift);
  ------------------
  |  | 8799|  3.06k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8796|  3.06k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8792|  2.93k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8792:6): [True: 118, False: 2.81k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8793|  2.93k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8793:7): [True: 64, False: 54]
  |  |  |  |  |  |  |  Branch (8793:27): [True: 0, False: 54]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8796:9): [True: 2.93k, False: 130]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8824|  3.06k|        COPYNUM(nb_and);
  ------------------
  |  | 8799|  3.06k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8796|  3.06k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8792|  2.82k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8792:6): [True: 122, False: 2.70k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8793|  2.82k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8793:7): [True: 50, False: 72]
  |  |  |  |  |  |  |  Branch (8793:27): [True: 28, False: 44]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8796:9): [True: 2.82k, False: 236]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8825|  3.06k|        COPYNUM(nb_xor);
  ------------------
  |  | 8799|  3.06k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8796|  3.06k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8792|  2.82k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8792:6): [True: 122, False: 2.70k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8793|  2.82k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8793:7): [True: 50, False: 72]
  |  |  |  |  |  |  |  Branch (8793:27): [True: 28, False: 44]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8796:9): [True: 2.82k, False: 236]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8826|  3.06k|        COPYNUM(nb_or);
  ------------------
  |  | 8799|  3.06k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8796|  3.06k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8792|  2.70k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8792:6): [True: 286, False: 2.41k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8793|  2.70k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8793:7): [True: 106, False: 180]
  |  |  |  |  |  |  |  Branch (8793:27): [True: 118, False: 62]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8796:9): [True: 2.70k, False: 362]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8827|  3.06k|        COPYNUM(nb_int);
  ------------------
  |  | 8799|  3.06k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8796|  3.06k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8792|  2.91k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8792:6): [True: 126, False: 2.79k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8793|  2.91k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8793:7): [True: 64, False: 62]
  |  |  |  |  |  |  |  Branch (8793:27): [True: 8, False: 54]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8796:9): [True: 2.91k, False: 146]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8828|  3.06k|        COPYNUM(nb_float);
  ------------------
  |  | 8799|  3.06k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8796|  3.06k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8792|  2.92k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8792:6): [True: 128, False: 2.79k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8793|  2.92k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8793:7): [True: 64, False: 64]
  |  |  |  |  |  |  |  Branch (8793:27): [True: 6, False: 58]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8796:9): [True: 2.92k, False: 142]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8829|  3.06k|        COPYNUM(nb_inplace_add);
  ------------------
  |  | 8799|  3.06k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8796|  3.06k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8792|  3.02k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8792:6): [True: 8, False: 3.02k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8793|  3.02k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8793:7): [True: 0, False: 8]
  |  |  |  |  |  |  |  Branch (8793:27): [True: 6, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8796:9): [True: 3.02k, False: 36]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8830|  3.06k|        COPYNUM(nb_inplace_subtract);
  ------------------
  |  | 8799|  3.06k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8796|  3.06k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8792|  3.05k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8792:6): [True: 2, False: 3.04k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8793|  3.05k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8793:7): [True: 0, False: 2]
  |  |  |  |  |  |  |  Branch (8793:27): [True: 2, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8796:9): [True: 3.05k, False: 14]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8831|  3.06k|        COPYNUM(nb_inplace_multiply);
  ------------------
  |  | 8799|  3.06k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8796|  3.06k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8792|  3.05k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8792:6): [True: 2, False: 3.04k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8793|  3.05k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8793:7): [True: 0, False: 2]
  |  |  |  |  |  |  |  Branch (8793:27): [True: 2, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8796:9): [True: 3.05k, False: 14]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8832|  3.06k|        COPYNUM(nb_inplace_remainder);
  ------------------
  |  | 8799|  3.06k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8796|  3.06k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8792|  3.06k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8792:6): [True: 0, False: 3.06k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8793|  3.06k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8793:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8793:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8796:9): [True: 3.06k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8833|  3.06k|        COPYNUM(nb_inplace_power);
  ------------------
  |  | 8799|  3.06k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8796|  3.06k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8792|  3.06k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8792:6): [True: 0, False: 3.06k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8793|  3.06k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8793:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8793:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8796:9): [True: 3.06k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8834|  3.06k|        COPYNUM(nb_inplace_lshift);
  ------------------
  |  | 8799|  3.06k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8796|  3.06k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8792|  3.06k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8792:6): [True: 0, False: 3.06k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8793|  3.06k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8793:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8793:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8796:9): [True: 3.06k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8835|  3.06k|        COPYNUM(nb_inplace_rshift);
  ------------------
  |  | 8799|  3.06k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8796|  3.06k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8792|  3.06k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8792:6): [True: 0, False: 3.06k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8793|  3.06k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8793:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8793:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8796:9): [True: 3.06k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8836|  3.06k|        COPYNUM(nb_inplace_and);
  ------------------
  |  | 8799|  3.06k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8796|  3.06k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8792|  3.05k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8792:6): [True: 2, False: 3.04k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8793|  3.05k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8793:7): [True: 0, False: 2]
  |  |  |  |  |  |  |  Branch (8793:27): [True: 2, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8796:9): [True: 3.05k, False: 14]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8837|  3.06k|        COPYNUM(nb_inplace_xor);
  ------------------
  |  | 8799|  3.06k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8796|  3.06k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8792|  3.05k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8792:6): [True: 2, False: 3.04k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8793|  3.05k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8793:7): [True: 0, False: 2]
  |  |  |  |  |  |  |  Branch (8793:27): [True: 2, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8796:9): [True: 3.05k, False: 14]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8838|  3.06k|        COPYNUM(nb_inplace_or);
  ------------------
  |  | 8799|  3.06k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8796|  3.06k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8792|  3.03k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8792:6): [True: 42, False: 2.99k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8793|  3.03k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8793:7): [True: 36, False: 6]
  |  |  |  |  |  |  |  Branch (8793:27): [True: 4, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8796:9): [True: 3.03k, False: 28]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8839|  3.06k|        COPYNUM(nb_true_divide);
  ------------------
  |  | 8799|  3.06k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8796|  3.06k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8792|  2.92k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8792:6): [True: 160, False: 2.76k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8793|  2.92k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8793:7): [True: 78, False: 82]
  |  |  |  |  |  |  |  Branch (8793:27): [True: 8, False: 74]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8796:9): [True: 2.92k, False: 138]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8840|  3.06k|        COPYNUM(nb_floor_divide);
  ------------------
  |  | 8799|  3.06k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8796|  3.06k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8792|  2.92k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8792:6): [True: 130, False: 2.79k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8793|  2.92k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8793:7): [True: 66, False: 64]
  |  |  |  |  |  |  |  Branch (8793:27): [True: 6, False: 58]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8796:9): [True: 2.92k, False: 142]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8841|  3.06k|        COPYNUM(nb_inplace_true_divide);
  ------------------
  |  | 8799|  3.06k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8796|  3.06k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8792|  3.06k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8792:6): [True: 0, False: 3.06k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8793|  3.06k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8793:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8793:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8796:9): [True: 3.06k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8842|  3.06k|        COPYNUM(nb_inplace_floor_divide);
  ------------------
  |  | 8799|  3.06k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8796|  3.06k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8792|  3.06k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8792:6): [True: 0, False: 3.06k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8793|  3.06k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8793:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8793:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8796:9): [True: 3.06k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8843|  3.06k|        COPYNUM(nb_index);
  ------------------
  |  | 8799|  3.06k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8796|  3.06k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8792|  2.93k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8792:6): [True: 118, False: 2.81k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8793|  2.93k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8793:7): [True: 64, False: 54]
  |  |  |  |  |  |  |  Branch (8793:27): [True: 0, False: 54]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8796:9): [True: 2.93k, False: 130]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8844|  3.06k|        COPYNUM(nb_matrix_multiply);
  ------------------
  |  | 8799|  3.06k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8796|  3.06k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8792|  3.06k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8792:6): [True: 0, False: 3.06k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8793|  3.06k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8793:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8793:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8796:9): [True: 3.06k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8845|  3.06k|        COPYNUM(nb_inplace_matrix_multiply);
  ------------------
  |  | 8799|  3.06k|#define COPYNUM(SLOT) COPYSLOT(tp_as_number->SLOT)
  |  |  ------------------
  |  |  |  | 8796|  3.06k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8792|  3.06k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8792:6): [True: 0, False: 3.06k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8793|  3.06k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8793:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8793:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8796:9): [True: 3.06k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8846|  3.06k|    }
 8847|       |
 8848|  7.58k|    if (type->tp_as_async != NULL && base->tp_as_async != NULL) {
  ------------------
  |  Branch (8848:9): [True: 6.77k, False: 808]
  |  Branch (8848:38): [True: 2.92k, False: 3.85k]
  ------------------
 8849|  2.92k|        basebase = base->tp_base;
 8850|  2.92k|        if (basebase->tp_as_async == NULL)
  ------------------
  |  Branch (8850:13): [True: 1.68k, False: 1.23k]
  ------------------
 8851|  1.68k|            basebase = NULL;
 8852|  2.92k|        COPYASYNC(am_await);
  ------------------
  |  | 8798|  2.92k|#define COPYASYNC(SLOT) COPYSLOT(tp_as_async->SLOT)
  |  |  ------------------
  |  |  |  | 8796|  2.92k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8792|  2.92k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8792:6): [True: 6, False: 2.91k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8793|  2.92k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8793:7): [True: 6, False: 0]
  |  |  |  |  |  |  |  Branch (8793:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8796:9): [True: 2.92k, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8853|  2.92k|        COPYASYNC(am_aiter);
  ------------------
  |  | 8798|  2.92k|#define COPYASYNC(SLOT) COPYSLOT(tp_as_async->SLOT)
  |  |  ------------------
  |  |  |  | 8796|  2.92k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8792|  2.92k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8792:6): [True: 6, False: 2.91k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8793|  2.92k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8793:7): [True: 4, False: 2]
  |  |  |  |  |  |  |  Branch (8793:27): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8796:9): [True: 2.92k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8854|  2.92k|        COPYASYNC(am_anext);
  ------------------
  |  | 8798|  2.92k|#define COPYASYNC(SLOT) COPYSLOT(tp_as_async->SLOT)
  |  |  ------------------
  |  |  |  | 8796|  2.92k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8792|  2.92k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8792:6): [True: 2, False: 2.92k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8793|  2.92k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8793:7): [True: 0, False: 2]
  |  |  |  |  |  |  |  Branch (8793:27): [True: 2, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8796:9): [True: 2.92k, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8855|  2.92k|    }
 8856|       |
 8857|  7.58k|    if (type->tp_as_sequence != NULL && base->tp_as_sequence != NULL) {
  ------------------
  |  Branch (8857:9): [True: 6.80k, False: 778]
  |  Branch (8857:41): [True: 3.10k, False: 3.69k]
  ------------------
 8858|  3.10k|        basebase = base->tp_base;
 8859|  3.10k|        if (basebase->tp_as_sequence == NULL)
  ------------------
  |  Branch (8859:13): [True: 1.82k, False: 1.28k]
  ------------------
 8860|  1.82k|            basebase = NULL;
 8861|  3.10k|        COPYSEQ(sq_length);
  ------------------
  |  | 8800|  3.10k|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8796|  3.10k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8792|  2.82k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8792:6): [True: 414, False: 2.41k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8793|  2.82k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8793:7): [True: 208, False: 206]
  |  |  |  |  |  |  |  Branch (8793:27): [True: 28, False: 178]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8796:9): [True: 2.82k, False: 282]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8862|  3.10k|        COPYSEQ(sq_concat);
  ------------------
  |  | 8800|  3.10k|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8796|  3.10k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8792|  3.06k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8792:6): [True: 202, False: 2.86k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8793|  3.06k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8793:7): [True: 148, False: 54]
  |  |  |  |  |  |  |  Branch (8793:27): [True: 0, False: 54]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8796:9): [True: 3.06k, False: 46]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8863|  3.10k|        COPYSEQ(sq_repeat);
  ------------------
  |  | 8800|  3.10k|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8796|  3.10k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8792|  3.06k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8792:6): [True: 202, False: 2.86k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8793|  3.06k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8793:7): [True: 148, False: 54]
  |  |  |  |  |  |  |  Branch (8793:27): [True: 0, False: 54]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8796:9): [True: 3.06k, False: 46]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8864|  3.10k|        COPYSEQ(sq_item);
  ------------------
  |  | 8800|  3.10k|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8796|  3.10k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8792|  2.79k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8792:6): [True: 258, False: 2.53k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8793|  2.79k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8793:7): [True: 116, False: 142]
  |  |  |  |  |  |  |  Branch (8793:27): [True: 104, False: 38]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8796:9): [True: 2.79k, False: 316]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8865|  3.10k|        COPYSEQ(sq_ass_item);
  ------------------
  |  | 8800|  3.10k|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8796|  3.10k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8792|  3.01k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8792:6): [True: 42, False: 2.96k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8793|  3.01k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8793:7): [True: 16, False: 26]
  |  |  |  |  |  |  |  Branch (8793:27): [True: 20, False: 6]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8796:9): [True: 3.01k, False: 98]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8866|  3.10k|        COPYSEQ(sq_contains);
  ------------------
  |  | 8800|  3.10k|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8796|  3.10k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8792|  2.75k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8792:6): [True: 380, False: 2.37k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8793|  2.75k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8793:7): [True: 206, False: 174]
  |  |  |  |  |  |  |  Branch (8793:27): [True: 68, False: 106]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8796:9): [True: 2.75k, False: 350]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8867|  3.10k|        COPYSEQ(sq_inplace_concat);
  ------------------
  |  | 8800|  3.10k|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8796|  3.10k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8792|  3.10k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8792:6): [True: 10, False: 3.09k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8793|  3.10k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8793:7): [True: 10, False: 0]
  |  |  |  |  |  |  |  Branch (8793:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8796:9): [True: 3.10k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8868|  3.10k|        COPYSEQ(sq_inplace_repeat);
  ------------------
  |  | 8800|  3.10k|#define COPYSEQ(SLOT) COPYSLOT(tp_as_sequence->SLOT)
  |  |  ------------------
  |  |  |  | 8796|  3.10k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8792|  3.10k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8792:6): [True: 10, False: 3.09k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8793|  3.10k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8793:7): [True: 10, False: 0]
  |  |  |  |  |  |  |  Branch (8793:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8796:9): [True: 3.10k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8869|  3.10k|    }
 8870|       |
 8871|  7.58k|    if (type->tp_as_mapping != NULL && base->tp_as_mapping != NULL) {
  ------------------
  |  Branch (8871:9): [True: 6.80k, False: 774]
  |  Branch (8871:40): [True: 3.11k, False: 3.69k]
  ------------------
 8872|  3.11k|        basebase = base->tp_base;
 8873|  3.11k|        if (basebase->tp_as_mapping == NULL)
  ------------------
  |  Branch (8873:13): [True: 1.83k, False: 1.28k]
  ------------------
 8874|  1.83k|            basebase = NULL;
 8875|  3.11k|        COPYMAP(mp_length);
  ------------------
  |  | 8801|  3.11k|#define COPYMAP(SLOT) COPYSLOT(tp_as_mapping->SLOT)
  |  |  ------------------
  |  |  |  | 8796|  3.11k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8792|  2.83k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8792:6): [True: 454, False: 2.37k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8793|  2.83k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8793:7): [True: 246, False: 208]
  |  |  |  |  |  |  |  Branch (8793:27): [True: 28, False: 180]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8796:9): [True: 2.83k, False: 282]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8876|  3.11k|        COPYMAP(mp_subscript);
  ------------------
  |  | 8801|  3.11k|#define COPYMAP(SLOT) COPYSLOT(tp_as_mapping->SLOT)
  |  |  ------------------
  |  |  |  | 8796|  3.11k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8792|  2.83k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8792:6): [True: 340, False: 2.49k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8793|  2.83k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8793:7): [True: 196, False: 144]
  |  |  |  |  |  |  |  Branch (8793:27): [True: 64, False: 80]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8796:9): [True: 2.83k, False: 276]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8877|  3.11k|        COPYMAP(mp_ass_subscript);
  ------------------
  |  | 8801|  3.11k|#define COPYMAP(SLOT) COPYSLOT(tp_as_mapping->SLOT)
  |  |  ------------------
  |  |  |  | 8796|  3.11k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8792|  3.01k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8792:6): [True: 80, False: 2.93k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8793|  3.01k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8793:7): [True: 52, False: 28]
  |  |  |  |  |  |  |  Branch (8793:27): [True: 20, False: 8]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8796:9): [True: 3.01k, False: 100]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8878|  3.11k|    }
 8879|       |
 8880|  7.58k|    if (type->tp_as_buffer != NULL && base->tp_as_buffer != NULL) {
  ------------------
  |  Branch (8880:9): [True: 6.77k, False: 810]
  |  Branch (8880:39): [True: 2.92k, False: 3.84k]
  ------------------
 8881|  2.92k|        basebase = base->tp_base;
 8882|  2.92k|        if (basebase->tp_as_buffer == NULL)
  ------------------
  |  Branch (8882:13): [True: 1.68k, False: 1.23k]
  ------------------
 8883|  1.68k|            basebase = NULL;
 8884|  2.92k|        COPYBUF(bf_getbuffer);
  ------------------
  |  | 8802|  2.92k|#define COPYBUF(SLOT) COPYSLOT(tp_as_buffer->SLOT)
  |  |  ------------------
  |  |  |  | 8796|  2.92k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8792|  2.92k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8792:6): [True: 2, False: 2.92k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8793|  2.92k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8793:7): [True: 2, False: 0]
  |  |  |  |  |  |  |  Branch (8793:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8796:9): [True: 2.92k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8885|  2.92k|        COPYBUF(bf_releasebuffer);
  ------------------
  |  | 8802|  2.92k|#define COPYBUF(SLOT) COPYSLOT(tp_as_buffer->SLOT)
  |  |  ------------------
  |  |  |  | 8796|  2.92k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  |  |  ------------------
  |  |  |  |  |  | 8792|  2.92k|    (base->SLOT != 0 && \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8792:6): [True: 0, False: 2.92k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 8793|  2.92k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (8793:7): [True: 0, False: 0]
  |  |  |  |  |  |  |  Branch (8793:27): [True: 0, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8796:9): [True: 2.92k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8886|  2.92k|    }
 8887|       |
 8888|  7.58k|    basebase = base->tp_base;
 8889|       |
 8890|  7.58k|    COPYSLOT(tp_dealloc);
  ------------------
  |  | 8796|  7.58k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8792|     34|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8792:6): [True: 34, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 8793|     34|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8793:7): [True: 16, False: 18]
  |  |  |  |  |  Branch (8793:27): [True: 12, False: 6]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8796:9): [True: 34, False: 7.54k]
  |  |  ------------------
  ------------------
 8891|  7.58k|    if (type->tp_getattr == NULL && type->tp_getattro == NULL) {
  ------------------
  |  Branch (8891:9): [True: 7.58k, False: 0]
  |  Branch (8891:37): [True: 2.79k, False: 4.79k]
  ------------------
 8892|  2.79k|        type->tp_getattr = base->tp_getattr;
 8893|  2.79k|        type->tp_getattro = base->tp_getattro;
 8894|  2.79k|    }
 8895|  7.58k|    if (type->tp_setattr == NULL && type->tp_setattro == NULL) {
  ------------------
  |  Branch (8895:9): [True: 7.58k, False: 0]
  |  Branch (8895:37): [True: 3.04k, False: 4.54k]
  ------------------
 8896|  3.04k|        type->tp_setattr = base->tp_setattr;
 8897|  3.04k|        type->tp_setattro = base->tp_setattro;
 8898|  3.04k|    }
 8899|  7.58k|    COPYSLOT(tp_repr);
  ------------------
  |  | 8796|  7.58k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8792|  5.36k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8792:6): [True: 5.36k, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 8793|  5.36k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8793:7): [True: 1.55k, False: 3.81k]
  |  |  |  |  |  Branch (8793:27): [True: 1.25k, False: 2.56k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8796:9): [True: 5.36k, False: 2.21k]
  |  |  ------------------
  ------------------
 8900|       |    /* tp_hash see tp_richcompare */
 8901|  7.58k|    {
 8902|       |        /* Always inherit tp_vectorcall_offset to support PyVectorcall_Call().
 8903|       |         * If Py_TPFLAGS_HAVE_VECTORCALL is not inherited, then vectorcall
 8904|       |         * won't be used automatically. */
 8905|  7.58k|        COPYSLOT(tp_vectorcall_offset);
  ------------------
  |  | 8796|  7.58k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8792|  7.52k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8792:6): [True: 40, False: 7.48k]
  |  |  |  |  ------------------
  |  |  |  | 8793|  7.52k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8793:7): [True: 0, False: 40]
  |  |  |  |  |  Branch (8793:27): [True: 32, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8796:9): [True: 7.52k, False: 56]
  |  |  ------------------
  ------------------
 8906|       |
 8907|       |        /* Inherit Py_TPFLAGS_HAVE_VECTORCALL if tp_call is not overridden */
 8908|  7.58k|        if (!type->tp_call &&
  ------------------
  |  Branch (8908:13): [True: 7.34k, False: 234]
  ------------------
 8909|  7.34k|            _PyType_HasFeature(base, Py_TPFLAGS_HAVE_VECTORCALL))
  ------------------
  |  |  510|  7.34k|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
  |  Branch (8909:13): [True: 36, False: 7.31k]
  ------------------
 8910|     36|        {
 8911|     36|            type_add_flags(type, Py_TPFLAGS_HAVE_VECTORCALL);
  ------------------
  |  |  510|     36|#define Py_TPFLAGS_HAVE_VECTORCALL (1UL << 11)
  ------------------
 8912|     36|        }
 8913|  7.58k|        COPYSLOT(tp_call);
  ------------------
  |  | 8796|  7.58k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8792|  7.34k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8792:6): [True: 134, False: 7.21k]
  |  |  |  |  ------------------
  |  |  |  | 8793|  7.34k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8793:7): [True: 0, False: 134]
  |  |  |  |  |  Branch (8793:27): [True: 104, False: 30]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8796:9): [True: 7.34k, False: 234]
  |  |  ------------------
  ------------------
 8914|  7.58k|    }
 8915|  7.58k|    COPYSLOT(tp_str);
  ------------------
  |  | 8796|  7.58k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8792|  6.42k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8792:6): [True: 6.42k, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 8793|  6.42k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8793:7): [True: 2.41k, False: 4.00k]
  |  |  |  |  |  Branch (8793:27): [True: 602, False: 3.40k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8796:9): [True: 6.42k, False: 1.16k]
  |  |  ------------------
  ------------------
 8916|  7.58k|    {
 8917|       |        /* Copy comparison-related slots only when
 8918|       |           not overriding them anywhere */
 8919|  7.58k|        if (type->tp_richcompare == NULL &&
  ------------------
  |  Branch (8919:13): [True: 3.15k, False: 4.43k]
  ------------------
 8920|  3.15k|            type->tp_hash == NULL)
  ------------------
  |  Branch (8920:13): [True: 3.14k, False: 10]
  ------------------
 8921|  3.14k|        {
 8922|  3.14k|            int r = overrides_hash(type);
 8923|  3.14k|            if (r < 0) {
  ------------------
  |  Branch (8923:17): [True: 0, False: 3.14k]
  ------------------
 8924|      0|                return -1;
 8925|      0|            }
 8926|  3.14k|            if (!r) {
  ------------------
  |  Branch (8926:17): [True: 2.79k, False: 348]
  ------------------
 8927|  2.79k|                type->tp_richcompare = base->tp_richcompare;
 8928|  2.79k|                type->tp_hash = base->tp_hash;
 8929|  2.79k|            }
 8930|  3.14k|        }
 8931|  7.58k|    }
 8932|  7.58k|    {
 8933|  7.58k|        COPYSLOT(tp_iter);
  ------------------
  |  | 8796|  7.58k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8792|  6.59k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8792:6): [True: 656, False: 5.94k]
  |  |  |  |  ------------------
  |  |  |  | 8793|  6.59k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8793:7): [True: 0, False: 656]
  |  |  |  |  |  Branch (8793:27): [True: 390, False: 266]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8796:9): [True: 6.59k, False: 984]
  |  |  ------------------
  ------------------
 8934|  7.58k|        COPYSLOT(tp_iternext);
  ------------------
  |  | 8796|  7.58k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8792|  4.81k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8792:6): [True: 2.03k, False: 2.77k]
  |  |  |  |  ------------------
  |  |  |  | 8793|  4.81k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8793:7): [True: 0, False: 2.03k]
  |  |  |  |  |  Branch (8793:27): [True: 1.28k, False: 754]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8796:9): [True: 4.81k, False: 2.77k]
  |  |  ------------------
  ------------------
 8935|  7.58k|    }
 8936|  7.58k|    {
 8937|  7.58k|        COPYSLOT(tp_descr_get);
  ------------------
  |  | 8796|  7.58k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8792|  7.54k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8792:6): [True: 8, False: 7.53k]
  |  |  |  |  ------------------
  |  |  |  | 8793|  7.54k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8793:7): [True: 0, False: 8]
  |  |  |  |  |  Branch (8793:27): [True: 8, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8796:9): [True: 7.54k, False: 38]
  |  |  ------------------
  ------------------
 8938|       |        /* Inherit Py_TPFLAGS_METHOD_DESCRIPTOR if tp_descr_get was inherited,
 8939|       |         * but only for extension types */
 8940|  7.58k|        if (base->tp_descr_get &&
  ------------------
  |  Branch (8940:13): [True: 8, False: 7.57k]
  ------------------
 8941|      8|            type->tp_descr_get == base->tp_descr_get &&
  ------------------
  |  Branch (8941:13): [True: 8, False: 0]
  ------------------
 8942|      8|            _PyType_HasFeature(type, Py_TPFLAGS_IMMUTABLETYPE) &&
  ------------------
  |  |  500|      8|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (8942:13): [True: 0, False: 8]
  ------------------
 8943|      0|            _PyType_HasFeature(base, Py_TPFLAGS_METHOD_DESCRIPTOR))
  ------------------
  |  |  534|      0|#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
  ------------------
  |  Branch (8943:13): [True: 0, False: 0]
  ------------------
 8944|      0|        {
 8945|      0|            type_add_flags(type, Py_TPFLAGS_METHOD_DESCRIPTOR);
  ------------------
  |  |  534|      0|#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
  ------------------
 8946|      0|        }
 8947|  7.58k|        COPYSLOT(tp_descr_set);
  ------------------
  |  | 8796|  7.58k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8792|  7.57k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8792:6): [True: 4, False: 7.56k]
  |  |  |  |  ------------------
  |  |  |  | 8793|  7.57k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8793:7): [True: 0, False: 4]
  |  |  |  |  |  Branch (8793:27): [True: 4, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8796:9): [True: 7.57k, False: 12]
  |  |  ------------------
  ------------------
 8948|  7.58k|        COPYSLOT(tp_dictoffset);
  ------------------
  |  | 8796|  7.58k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8792|  1.44k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8792:6): [True: 0, False: 1.44k]
  |  |  |  |  ------------------
  |  |  |  | 8793|  1.44k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8793:7): [True: 0, False: 0]
  |  |  |  |  |  Branch (8793:27): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8796:9): [True: 1.44k, False: 6.13k]
  |  |  ------------------
  ------------------
 8949|  7.58k|        COPYSLOT(tp_init);
  ------------------
  |  | 8796|  7.58k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8792|  5.17k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8792:6): [True: 5.17k, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 8793|  5.17k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8793:7): [True: 1.70k, False: 3.47k]
  |  |  |  |  |  Branch (8793:27): [True: 1.17k, False: 2.29k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8796:9): [True: 5.17k, False: 2.41k]
  |  |  ------------------
  ------------------
 8950|  7.58k|        COPYSLOT(tp_alloc);
  ------------------
  |  | 8796|  7.58k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8792|  1.04k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8792:6): [True: 1.04k, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 8793|  1.04k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8793:7): [True: 562, False: 480]
  |  |  |  |  |  Branch (8793:27): [True: 0, False: 480]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8796:9): [True: 1.04k, False: 6.54k]
  |  |  ------------------
  ------------------
 8951|  7.58k|        COPYSLOT(tp_is_gc);
  ------------------
  |  | 8796|  7.58k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8792|  7.55k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8792:6): [True: 30, False: 7.52k]
  |  |  |  |  ------------------
  |  |  |  | 8793|  7.55k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8793:7): [True: 0, False: 30]
  |  |  |  |  |  Branch (8793:27): [True: 22, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8796:9): [True: 7.55k, False: 24]
  |  |  ------------------
  ------------------
 8952|  7.58k|        COPYSLOT(tp_finalize);
  ------------------
  |  | 8796|  7.58k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8792|  7.44k|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8792:6): [True: 186, False: 7.26k]
  |  |  |  |  ------------------
  |  |  |  | 8793|  7.44k|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8793:7): [True: 0, False: 186]
  |  |  |  |  |  Branch (8793:27): [True: 78, False: 108]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8796:9): [True: 7.44k, False: 134]
  |  |  ------------------
  ------------------
 8953|  7.58k|        if ((type->tp_flags & Py_TPFLAGS_HAVE_GC) ==
  ------------------
  |  |  524|  7.58k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (8953:13): [True: 4.52k, False: 3.05k]
  ------------------
 8954|  7.58k|            (base->tp_flags & Py_TPFLAGS_HAVE_GC)) {
  ------------------
  |  |  524|  7.58k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
 8955|       |            /* They agree about gc. */
 8956|  4.52k|            COPYSLOT(tp_free);
  ------------------
  |  | 8796|  4.52k|    if (!type->SLOT && SLOTDEFINED(SLOT)) type->SLOT = base->SLOT
  |  |  ------------------
  |  |  |  | 8792|    560|    (base->SLOT != 0 && \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8792:6): [True: 560, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 8793|    560|     (basebase == NULL || base->SLOT != basebase->SLOT))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (8793:7): [True: 78, False: 482]
  |  |  |  |  |  Branch (8793:27): [True: 218, False: 264]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8796:9): [True: 560, False: 3.96k]
  |  |  ------------------
  ------------------
 8957|  4.52k|        }
 8958|  3.05k|        else if ((type->tp_flags & Py_TPFLAGS_HAVE_GC) &&
  ------------------
  |  |  524|  3.05k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (8958:18): [True: 3.05k, False: 0]
  ------------------
 8959|  3.05k|                 type->tp_free == NULL &&
  ------------------
  |  Branch (8959:18): [True: 206, False: 2.85k]
  ------------------
 8960|    206|                 base->tp_free == PyObject_Free) {
  ------------------
  |  Branch (8960:18): [True: 206, False: 0]
  ------------------
 8961|       |            /* A bit of magic to plug in the correct default
 8962|       |             * tp_free function when a derived class adds gc,
 8963|       |             * didn't define tp_free, and the base uses the
 8964|       |             * default non-gc tp_free.
 8965|       |             */
 8966|    206|            type->tp_free = PyObject_GC_Del;
 8967|    206|        }
 8968|       |        /* else they didn't agree about gc, and there isn't something
 8969|       |         * obvious to be done -- the type is on its own.
 8970|       |         */
 8971|  7.58k|    }
 8972|  7.58k|    return 0;
 8973|  7.58k|}
typeobject.c:overrides_hash:
 8768|  3.14k|{
 8769|  3.14k|    PyObject *dict = lookup_tp_dict(type);
 8770|       |
 8771|  3.14k|    assert(dict != NULL);
 8772|  3.14k|    int r = PyDict_Contains(dict, &_Py_ID(__eq__));
  ------------------
  |  |  915|  3.14k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  3.14k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  3.14k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8773|  3.14k|    if (r == 0) {
  ------------------
  |  Branch (8773:9): [True: 2.80k, False: 338]
  ------------------
 8774|  2.80k|        r = PyDict_Contains(dict, &_Py_ID(__hash__));
  ------------------
  |  |  915|  2.80k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  2.80k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.80k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8775|  2.80k|    }
 8776|  3.14k|    return r;
 8777|  3.14k|}
typeobject.c:inherit_patma_flags:
 9272|  7.58k|inherit_patma_flags(PyTypeObject *type, PyTypeObject *base) {
 9273|  7.58k|    if ((type->tp_flags & COLLECTION_FLAGS) == 0) {
  ------------------
  |  | 8978|  7.58k|#define COLLECTION_FLAGS (Py_TPFLAGS_SEQUENCE | Py_TPFLAGS_MAPPING)
  |  |  ------------------
  |  |  |  |  490|  7.58k|#define Py_TPFLAGS_SEQUENCE (1 << 5)
  |  |  ------------------
  |  |               #define COLLECTION_FLAGS (Py_TPFLAGS_SEQUENCE | Py_TPFLAGS_MAPPING)
  |  |  ------------------
  |  |  |  |  492|  7.58k|#define Py_TPFLAGS_MAPPING (1 << 6)
  |  |  ------------------
  ------------------
  |  Branch (9273:9): [True: 7.03k, False: 550]
  ------------------
 9274|  7.03k|        type_add_flags(type, base->tp_flags & COLLECTION_FLAGS);
  ------------------
  |  | 8978|  7.03k|#define COLLECTION_FLAGS (Py_TPFLAGS_SEQUENCE | Py_TPFLAGS_MAPPING)
  |  |  ------------------
  |  |  |  |  490|  7.03k|#define Py_TPFLAGS_SEQUENCE (1 << 5)
  |  |  ------------------
  |  |               #define COLLECTION_FLAGS (Py_TPFLAGS_SEQUENCE | Py_TPFLAGS_MAPPING)
  |  |  ------------------
  |  |  |  |  492|  7.03k|#define Py_TPFLAGS_MAPPING (1 << 6)
  |  |  ------------------
  ------------------
 9275|  7.03k|    }
 9276|  7.58k|}
typeobject.c:type_ready_inherit_as_structs:
 9253|  3.07k|{
 9254|  3.07k|    if (type->tp_as_async == NULL) {
  ------------------
  |  Branch (9254:9): [True: 400, False: 2.67k]
  ------------------
 9255|    400|        type->tp_as_async = base->tp_as_async;
 9256|    400|    }
 9257|  3.07k|    if (type->tp_as_number == NULL) {
  ------------------
  |  Branch (9257:9): [True: 354, False: 2.71k]
  ------------------
 9258|    354|        type->tp_as_number = base->tp_as_number;
 9259|    354|    }
 9260|  3.07k|    if (type->tp_as_sequence == NULL) {
  ------------------
  |  Branch (9260:9): [True: 370, False: 2.70k]
  ------------------
 9261|    370|        type->tp_as_sequence = base->tp_as_sequence;
 9262|    370|    }
 9263|  3.07k|    if (type->tp_as_mapping == NULL) {
  ------------------
  |  Branch (9263:9): [True: 368, False: 2.70k]
  ------------------
 9264|    368|        type->tp_as_mapping = base->tp_as_mapping;
 9265|    368|    }
 9266|  3.07k|    if (type->tp_as_buffer == NULL) {
  ------------------
  |  Branch (9266:9): [True: 402, False: 2.66k]
  ------------------
 9267|    402|        type->tp_as_buffer = base->tp_as_buffer;
 9268|    402|    }
 9269|  3.07k|}
typeobject.c:type_ready_preheader:
 9163|  3.07k|{
 9164|  3.07k|    if (type->tp_flags & Py_TPFLAGS_MANAGED_DICT) {
  ------------------
  |  |  482|  3.07k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (9164:9): [True: 1.37k, False: 1.69k]
  ------------------
 9165|  1.37k|        if (type->tp_dictoffset > 0 || type->tp_dictoffset < -1) {
  ------------------
  |  Branch (9165:13): [True: 0, False: 1.37k]
  |  Branch (9165:40): [True: 0, False: 1.37k]
  ------------------
 9166|      0|            PyErr_Format(PyExc_TypeError,
 9167|      0|                        "type %s has the Py_TPFLAGS_MANAGED_DICT flag "
 9168|      0|                        "but tp_dictoffset is set",
 9169|      0|                        type->tp_name);
 9170|      0|            return -1;
 9171|      0|        }
 9172|  1.37k|        if (!(type->tp_flags & Py_TPFLAGS_HAVE_GC)) {
  ------------------
  |  |  524|  1.37k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (9172:13): [True: 0, False: 1.37k]
  ------------------
 9173|      0|            PyErr_Format(PyExc_SystemError,
 9174|      0|                        "type %s has the Py_TPFLAGS_MANAGED_DICT flag "
 9175|      0|                        "but not Py_TPFLAGS_HAVE_GC flag",
 9176|      0|                        type->tp_name);
 9177|      0|            return -1;
 9178|      0|        }
 9179|  1.37k|        type->tp_dictoffset = -1;
 9180|  1.37k|    }
 9181|  3.07k|    if (type->tp_flags & Py_TPFLAGS_MANAGED_WEAKREF) {
  ------------------
  |  |  477|  3.07k|#define Py_TPFLAGS_MANAGED_WEAKREF (1 << 3)
  ------------------
  |  Branch (9181:9): [True: 1.94k, False: 1.13k]
  ------------------
 9182|  1.94k|        if (type->tp_weaklistoffset != 0 &&
  ------------------
  |  Branch (9182:13): [True: 1.92k, False: 16]
  ------------------
 9183|  1.92k|            type->tp_weaklistoffset != MANAGED_WEAKREF_OFFSET)
  ------------------
  |  |  926|  1.92k|#  define MANAGED_WEAKREF_OFFSET (((Py_ssize_t)sizeof(PyObject *))*-4)
  ------------------
  |  Branch (9183:13): [True: 0, False: 1.92k]
  ------------------
 9184|      0|        {
 9185|      0|            PyErr_Format(PyExc_TypeError,
 9186|      0|                        "type %s has the Py_TPFLAGS_MANAGED_WEAKREF flag "
 9187|      0|                        "but tp_weaklistoffset is set",
 9188|      0|                        type->tp_name);
 9189|      0|            return -1;
 9190|      0|        }
 9191|  1.94k|        if (!(type->tp_flags & Py_TPFLAGS_HAVE_GC)) {
  ------------------
  |  |  524|  1.94k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (9191:13): [True: 0, False: 1.94k]
  ------------------
 9192|      0|            PyErr_Format(PyExc_SystemError,
 9193|      0|                        "type %s has the Py_TPFLAGS_MANAGED_WEAKREF flag "
 9194|      0|                        "but not Py_TPFLAGS_HAVE_GC flag",
 9195|      0|                        type->tp_name);
 9196|      0|            return -1;
 9197|      0|        }
 9198|  1.94k|        type->tp_weaklistoffset = MANAGED_WEAKREF_OFFSET;
  ------------------
  |  |  926|  1.94k|#  define MANAGED_WEAKREF_OFFSET (((Py_ssize_t)sizeof(PyObject *))*-4)
  ------------------
 9199|  1.94k|    }
 9200|  3.07k|    return 0;
 9201|  3.07k|}
typeobject.c:type_ready_set_hash:
 9332|  3.07k|{
 9333|  3.07k|    if (type->tp_hash != NULL) {
  ------------------
  |  Branch (9333:9): [True: 2.87k, False: 200]
  ------------------
 9334|  2.87k|        return 0;
 9335|  2.87k|    }
 9336|       |
 9337|    200|    PyObject *dict = lookup_tp_dict(type);
 9338|    200|    int r = PyDict_Contains(dict, &_Py_ID(__hash__));
  ------------------
  |  |  915|    200|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    200|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    200|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9339|    200|    if (r < 0) {
  ------------------
  |  Branch (9339:9): [True: 0, False: 200]
  ------------------
 9340|      0|        return -1;
 9341|      0|    }
 9342|    200|    if (r > 0) {
  ------------------
  |  Branch (9342:9): [True: 112, False: 88]
  ------------------
 9343|    112|        return 0;
 9344|    112|    }
 9345|       |
 9346|     88|    if (PyDict_SetItem(dict, &_Py_ID(__hash__), Py_None) < 0) {
  ------------------
  |  |  915|     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 (9346:9): [True: 0, False: 88]
  ------------------
 9347|      0|        return -1;
 9348|      0|    }
 9349|     88|    type->tp_hash = PyObject_HashNotImplemented;
 9350|     88|    return 0;
 9351|     88|}
typeobject.c:type_ready_add_subclasses:
 9357|  3.07k|{
 9358|  3.07k|    PyObject *bases = lookup_tp_bases(type);
 9359|  3.07k|    Py_ssize_t nbase = PyTuple_GET_SIZE(bases);
  ------------------
  |  |   27|  3.07k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.07k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.07k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9360|  6.33k|    for (Py_ssize_t i = 0; i < nbase; i++) {
  ------------------
  |  Branch (9360:28): [True: 3.26k, False: 3.07k]
  ------------------
 9361|  3.26k|        PyObject *b = PyTuple_GET_ITEM(bases, i);
  ------------------
  |  |   29|  3.26k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  3.26k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9362|  3.26k|        if (PyType_Check(b) && add_subclass((PyTypeObject *)b, type) < 0) {
  ------------------
  |  |  766|  6.53k|#  define PyType_Check(op) PyType_Check(_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 (766:28): [True: 3.26k, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (9362:32): [True: 0, False: 3.26k]
  ------------------
 9363|      0|            return -1;
 9364|      0|        }
 9365|  3.26k|    }
 9366|  3.07k|    return 0;
 9367|  3.07k|}
typeobject.c:type_ready_managed_dict:
 9425|  3.07k|{
 9426|  3.07k|    if (!(type->tp_flags & Py_TPFLAGS_MANAGED_DICT)) {
  ------------------
  |  |  482|  3.07k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (9426:9): [True: 1.69k, False: 1.37k]
  ------------------
 9427|  1.69k|        return 0;
 9428|  1.69k|    }
 9429|  1.37k|    if (!(type->tp_flags & Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|  1.37k|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (9429:9): [True: 0, False: 1.37k]
  ------------------
 9430|      0|        PyErr_Format(PyExc_SystemError,
 9431|      0|                     "type %s has the Py_TPFLAGS_MANAGED_DICT flag "
 9432|      0|                     "but not Py_TPFLAGS_HEAPTYPE flag",
 9433|      0|                     type->tp_name);
 9434|      0|        return -1;
 9435|      0|    }
 9436|  1.37k|    PyHeapTypeObject* et = (PyHeapTypeObject*)type;
 9437|  1.37k|    if (et->ht_cached_keys == NULL) {
  ------------------
  |  Branch (9437:9): [True: 1.37k, False: 0]
  ------------------
 9438|  1.37k|        et->ht_cached_keys = _PyDict_NewKeysForClass(et);
 9439|  1.37k|        if (et->ht_cached_keys == NULL) {
  ------------------
  |  Branch (9439:13): [True: 0, False: 1.37k]
  ------------------
 9440|      0|            PyErr_NoMemory();
 9441|      0|            return -1;
 9442|      0|        }
 9443|  1.37k|    }
 9444|  1.37k|    if (type->tp_itemsize == 0) {
  ------------------
  |  Branch (9444:9): [True: 1.29k, False: 82]
  ------------------
 9445|  1.29k|        type_add_flags(type, Py_TPFLAGS_INLINE_VALUES);
  ------------------
  |  |  472|  1.29k|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
 9446|  1.29k|    }
 9447|  1.37k|    return 0;
 9448|  1.37k|}
typeobject.c:type_ready_post_checks:
 9452|  3.07k|{
 9453|       |    // bpo-44263: tp_traverse is required if Py_TPFLAGS_HAVE_GC is set.
 9454|       |    // Note: tp_clear is optional.
 9455|  3.07k|    if (type->tp_flags & Py_TPFLAGS_HAVE_GC
  ------------------
  |  |  524|  6.14k|#define Py_TPFLAGS_HAVE_GC (1UL << 14)
  ------------------
  |  Branch (9455:9): [True: 2.97k, False: 98]
  ------------------
 9456|  2.97k|        && type->tp_traverse == NULL)
  ------------------
  |  Branch (9456:12): [True: 0, False: 2.97k]
  ------------------
 9457|      0|    {
 9458|      0|        PyErr_Format(PyExc_SystemError,
 9459|      0|                     "type %s has the Py_TPFLAGS_HAVE_GC flag "
 9460|      0|                     "but has no traverse function",
 9461|      0|                     type->tp_name);
 9462|      0|        return -1;
 9463|      0|    }
 9464|  3.07k|    if (type->tp_flags & Py_TPFLAGS_MANAGED_DICT) {
  ------------------
  |  |  482|  3.07k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (9464:9): [True: 1.37k, False: 1.69k]
  ------------------
 9465|  1.37k|        if (type->tp_dictoffset != -1) {
  ------------------
  |  Branch (9465:13): [True: 0, False: 1.37k]
  ------------------
 9466|      0|            PyErr_Format(PyExc_SystemError,
 9467|      0|                        "type %s has the Py_TPFLAGS_MANAGED_DICT flag "
 9468|      0|                        "but tp_dictoffset is set to incompatible value",
 9469|      0|                        type->tp_name);
 9470|      0|            return -1;
 9471|      0|        }
 9472|  1.37k|    }
 9473|  1.69k|    else if (type->tp_dictoffset < (Py_ssize_t)sizeof(PyObject)) {
  ------------------
  |  Branch (9473:14): [True: 838, False: 856]
  ------------------
 9474|    838|        if (type->tp_dictoffset + type->tp_basicsize <= 0) {
  ------------------
  |  Branch (9474:13): [True: 0, False: 838]
  ------------------
 9475|      0|            PyErr_Format(PyExc_SystemError,
 9476|      0|                         "type %s has a tp_dictoffset that is too small",
 9477|      0|                         type->tp_name);
 9478|      0|            return -1;
 9479|      0|        }
 9480|    838|    }
 9481|  3.07k|    return 0;
 9482|  3.07k|}
typeobject.c:stop_readying:
  498|  3.07k|{
  499|  3.07k|    if (type->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN) {
  ------------------
  |  |  467|  3.07k|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
  |  Branch (499:9): [True: 414, False: 2.65k]
  ------------------
  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.07k|    assert(type->tp_flags & Py_TPFLAGS_READYING);
  508|  2.65k|    type_clear_flags(type, Py_TPFLAGS_READYING);
  ------------------
  |  |  521|  2.65k|#define Py_TPFLAGS_READYING (1UL << 13)
  ------------------
  509|  2.65k|}
typeobject.c:init_static_type:
 9600|    414|{
 9601|    414|    assert(_Py_IsImmortal((PyObject *)self));
 9602|    414|    assert(!(self->tp_flags & Py_TPFLAGS_HEAPTYPE));
 9603|    414|    assert(!(self->tp_flags & Py_TPFLAGS_MANAGED_DICT));
 9604|    414|    assert(!(self->tp_flags & Py_TPFLAGS_MANAGED_WEAKREF));
 9605|       |
 9606|    414|    if (initial) {
  ------------------
  |  Branch (9606:9): [True: 414, False: 0]
  ------------------
 9607|    414|        assert((self->tp_flags & Py_TPFLAGS_READY) == 0);
 9608|       |
 9609|    414|        type_add_flags(self, _Py_TPFLAGS_STATIC_BUILTIN);
  ------------------
  |  |  467|    414|#define _Py_TPFLAGS_STATIC_BUILTIN (1 << 1)
  ------------------
 9610|    414|        type_add_flags(self, Py_TPFLAGS_IMMUTABLETYPE);
  ------------------
  |  |  500|    414|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
 9611|       |
 9612|    414|        if (self->tp_version_tag == 0) {
  ------------------
  |  Branch (9612:13): [True: 392, False: 22]
  ------------------
 9613|    392|            unsigned int next_version_tag = next_global_version_tag();
 9614|    392|            assert(next_version_tag != 0);
 9615|    392|            _PyType_SetVersion(self, next_version_tag);
 9616|    392|        }
 9617|    414|    }
 9618|      0|    else {
 9619|      0|        assert(!initial);
 9620|      0|        assert(self->tp_flags & _Py_TPFLAGS_STATIC_BUILTIN);
 9621|      0|        assert(self->tp_version_tag != 0);
 9622|      0|    }
 9623|       |
 9624|    414|    managed_static_type_state_init(interp, self, isbuiltin, initial);
 9625|       |
 9626|    414|    int res;
 9627|    414|    BEGIN_TYPE_LOCK();
 9628|    414|    res = type_ready(self, initial);
 9629|    414|    END_TYPE_LOCK();
 9630|    414|    if (res < 0) {
  ------------------
  |  Branch (9630:9): [True: 0, False: 414]
  ------------------
 9631|      0|        _PyStaticType_ClearWeakRefs(interp, self);
 9632|      0|        managed_static_type_state_clear(interp, self, isbuiltin, initial);
 9633|      0|    }
 9634|    414|    return res;
 9635|    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;
  ------------------
  |  |  531|     12|    (_Py_NUM_MANAGED_PREINITIALIZED_TYPES + 83)
  |  |  ------------------
  |  |  |  |  529|     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|   475k|{
 3113|   475k|    assert(nargs >= 1);
 3114|       |
 3115|   475k|    PyThreadState *tstate = _PyThreadState_GET();
 3116|   475k|    PyObject *retval = NULL;
 3117|   475k|    PyObject *self = args[0];
 3118|   475k|    _PyCStackRef cref;
 3119|   475k|    _PyThreadState_PushCStackRef(tstate, &cref);
 3120|   475k|    int unbound = lookup_method(self, name, &cref.ref);
 3121|   475k|    if (unbound >= 0) {
  ------------------
  |  Branch (3121:9): [True: 475k, False: 0]
  ------------------
 3122|   475k|        PyObject *func = PyStackRef_AsPyObjectBorrow(cref.ref);
 3123|   475k|        retval = vectorcall_unbound(tstate, unbound, func, args, nargs);
 3124|   475k|    }
 3125|   475k|    _PyThreadState_PopCStackRef(tstate, &cref);
 3126|   475k|    return retval;
 3127|   475k|}
typeobject.c:call_attribute:
10925|   846k|{
10926|   846k|    PyObject *res, *descr = NULL;
10927|       |
10928|   846k|    if (_PyType_HasFeature(Py_TYPE(attr), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  213|   846k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   846k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   846k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (_PyType_HasFeature(Py_TYPE(attr), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  534|   846k|#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
  ------------------
  |  Branch (10928:9): [True: 846k, False: 0]
  ------------------
10929|   846k|        PyObject *args[] = { self, name };
10930|   846k|        res = PyObject_Vectorcall(attr, args, 2, NULL);
10931|   846k|        return res;
10932|   846k|    }
10933|       |
10934|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10935|       |
10936|      0|    if (f != NULL) {
  ------------------
  |  Branch (10936:9): [True: 0, False: 0]
  ------------------
10937|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10938|      0|        if (descr == NULL)
  ------------------
  |  Branch (10938:13): [True: 0, False: 0]
  ------------------
10939|      0|            return NULL;
10940|      0|        else
10941|      0|            attr = descr;
10942|      0|    }
10943|      0|    res = PyObject_CallOneArg(attr, name);
10944|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10945|      0|    return res;
10946|      0|}
typeobject.c:slot_tp_iternext:
11077|      3|{
11078|      3|    PyObject *stack[1] = {self};
11079|      3|    return vectorcall_method(&_Py_ID(__next__), stack, 1);
  ------------------
  |  |  915|      3|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      3|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      3|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11080|      3|}
typeobject.c:slot_tp_repr:
10847|    292|{
10848|    292|    PyObject *res = _PyObject_MaybeCallSpecialNoArgs(self, &_Py_ID(__repr__));
  ------------------
  |  |  915|    292|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    292|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    292|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10849|    292|    if (res != NULL) {
  ------------------
  |  Branch (10849:9): [True: 292, False: 0]
  ------------------
10850|    292|        return res;
10851|    292|    }
10852|      0|    else if (PyErr_Occurred()) {
  ------------------
  |  Branch (10852:14): [True: 0, False: 0]
  ------------------
10853|      0|        return NULL;
10854|      0|    }
10855|      0|    return PyUnicode_FromFormat("<%s object at %p>",
10856|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10857|    292|}
typeobject.c:check_num_args:
 9771|  1.14k|{
 9772|  1.14k|    if (!PyTuple_CheckExact(ob)) {
  ------------------
  |  |   28|  1.14k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  1.14k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.14k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.14k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (9772:9): [True: 0, False: 1.14k]
  ------------------
 9773|      0|        PyErr_SetString(PyExc_SystemError,
 9774|      0|            "PyArg_UnpackTuple() argument list is not a tuple");
 9775|      0|        return 0;
 9776|      0|    }
 9777|  1.14k|    if (n == PyTuple_GET_SIZE(ob))
  ------------------
  |  |   27|  1.14k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.14k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.14k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (9777:9): [True: 1.14k, False: 0]
  ------------------
 9778|  1.14k|        return 1;
 9779|      0|    PyErr_Format(
 9780|      0|        PyExc_TypeError,
 9781|      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 (9781:47): [True: 0, False: 0]
  ------------------
 9782|      0|    return 0;
 9783|  1.14k|}
typeobject.c:slot_tp_hash:
10863|  70.9k|{
10864|  70.9k|    PyObject *res;
10865|  70.9k|    int attr_is_none = 0;
10866|  70.9k|    res  = maybe_call_special_no_args(self, &_Py_ID(__hash__), &attr_is_none);
  ------------------
  |  |  915|  70.9k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  70.9k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  70.9k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10867|  70.9k|    if (attr_is_none || res == NULL) {
  ------------------
  |  Branch (10867:9): [True: 0, False: 70.9k]
  |  Branch (10867:25): [True: 0, False: 70.9k]
  ------------------
10868|      0|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (10868:13): [True: 0, False: 0]
  ------------------
10869|      0|            return -1;
10870|      0|        }
10871|      0|        return PyObject_HashNotImplemented(self);
10872|      0|    }
10873|  70.9k|    if (!PyLong_Check(res)) {
  ------------------
  |  |   13|  70.9k|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  70.9k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (10873:9): [True: 0, False: 70.9k]
  ------------------
10874|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10875|      0|        PyErr_SetString(PyExc_TypeError,
10876|      0|                        "__hash__ method should return an integer");
10877|      0|        return -1;
10878|      0|    }
10879|       |    /* Transform the PyLong `res` to a Py_hash_t `h`.  For an existing
10880|       |       hashable Python object x, hash(x) will always lie within the range of
10881|       |       Py_hash_t.  Therefore our transformation must preserve values that
10882|       |       already lie within this range, to ensure that if x.__hash__() returns
10883|       |       hash(y) then hash(x) == hash(y). */
10884|  70.9k|    Py_ssize_t h = PyLong_AsSsize_t(res);
10885|  70.9k|    if (h == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (10885:9): [True: 0, False: 70.9k]
  |  Branch (10885:20): [True: 0, False: 0]
  ------------------
10886|       |        /* res was not within the range of a Py_hash_t, so we're free to
10887|       |           use any sufficiently bit-mixing transformation;
10888|       |           long.__hash__ will do nicely. */
10889|      0|        PyErr_Clear();
10890|      0|        h = PyLong_Type.tp_hash(res);
10891|      0|    }
10892|       |    /* -1 is reserved for errors. */
10893|  70.9k|    if (h == -1)
  ------------------
  |  Branch (10893:9): [True: 0, False: 70.9k]
  ------------------
10894|      0|        h = -2;
10895|  70.9k|    Py_DECREF(res);
  ------------------
  |  |  430|  70.9k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  70.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  70.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10896|  70.9k|    return h;
10897|  70.9k|}
typeobject.c:slot_tp_str:
10484|  3.60k|FUNCNAME(PyObject *self) \
10485|  3.60k|{ \
10486|  3.60k|    PyObject* stack[1] = {self}; \
10487|  3.60k|    return vectorcall_method(&_Py_ID(DUNDER), stack, 1); \
  ------------------
  |  |  915|  3.60k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  3.60k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  3.60k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10488|  3.60k|}
typeobject.c:slot_tp_setattro:
11001|   216k|{
11002|   216k|    PyObject *stack[3];
11003|   216k|    PyObject *res;
11004|       |
11005|   216k|    stack[0] = self;
11006|   216k|    stack[1] = name;
11007|   216k|    if (value == NULL) {
  ------------------
  |  Branch (11007:9): [True: 526, False: 215k]
  ------------------
11008|    526|        res = vectorcall_method(&_Py_ID(__delattr__), stack, 2);
  ------------------
  |  |  915|    526|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    526|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    526|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11009|    526|    }
11010|   215k|    else {
11011|   215k|        stack[2] = value;
11012|   215k|        res = vectorcall_method(&_Py_ID(__setattr__), stack, 3);
  ------------------
  |  |  915|   215k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|   215k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   215k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11013|   215k|    }
11014|   216k|    if (res == NULL)
  ------------------
  |  Branch (11014:9): [True: 0, False: 216k]
  ------------------
11015|      0|        return -1;
11016|   216k|    Py_DECREF(res);
  ------------------
  |  |  430|   216k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   216k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   216k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11017|   216k|    return 0;
11018|   216k|}
typeobject.c:wrap_setattr:
10143|  3.45k|{
10144|  3.45k|    setattrofunc func = (setattrofunc)wrapped;
10145|  3.45k|    int res;
10146|  3.45k|    PyObject *name, *value;
10147|       |
10148|  3.45k|    if (!PyArg_UnpackTuple(args, "__setattr__", 2, 2, &name, &value))
  ------------------
  |  Branch (10148:9): [True: 0, False: 3.45k]
  ------------------
10149|      0|        return NULL;
10150|  3.45k|    if (!hackcheck(self, func, "__setattr__"))
  ------------------
  |  Branch (10150:9): [True: 0, False: 3.45k]
  ------------------
10151|      0|        return NULL;
10152|  3.45k|    res = (*func)(self, name, value);
10153|  3.45k|    if (res < 0)
  ------------------
  |  Branch (10153:9): [True: 0, False: 3.45k]
  ------------------
10154|      0|        return NULL;
10155|  3.45k|    Py_RETURN_NONE;
  ------------------
  |  |  628|  3.45k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  3.45k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
10156|  3.45k|}
typeobject.c:hackcheck:
10129|  3.98k|{
10130|  3.98k|    if (!PyType_Check(self)) {
  ------------------
  |  |  766|  3.98k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.98k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.98k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10130:9): [True: 2.20k, False: 1.78k]
  ------------------
10131|  2.20k|        return 1;
10132|  2.20k|    }
10133|       |
10134|  1.78k|    int res;
10135|  1.78k|    BEGIN_TYPE_LOCK();
10136|  1.78k|    res = hackcheck_unlocked(self, func, what);
10137|  1.78k|    END_TYPE_LOCK();
10138|  1.78k|    return res;
10139|  3.98k|}
typeobject.c:hackcheck_unlocked:
10081|  1.78k|{
10082|  1.78k|    PyTypeObject *type = Py_TYPE(self);
  ------------------
  |  |  213|  1.78k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.78k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.78k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10083|       |
10084|  1.78k|    ASSERT_TYPE_LOCK_HELD();
10085|       |
10086|  1.78k|    PyObject *mro = lookup_tp_mro(type);
10087|  1.78k|    if (!mro) {
  ------------------
  |  Branch (10087:9): [True: 0, False: 1.78k]
  ------------------
10088|       |        /* Probably ok not to check the call in this case. */
10089|      0|        return 1;
10090|      0|    }
10091|  1.78k|    assert(PyTuple_Check(mro));
10092|       |
10093|       |    /* Find the (base) type that defined the type's slot function. */
10094|  1.78k|    PyTypeObject *defining_type = type;
10095|  1.78k|    Py_ssize_t i;
10096|  7.17k|    for (i = PyTuple_GET_SIZE(mro) - 1; i >= 0; i--) {
  ------------------
  |  |   27|  1.78k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.78k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.78k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (10096:41): [True: 5.39k, False: 1.78k]
  ------------------
10097|  5.39k|        PyTypeObject *base = _PyType_CAST(PyTuple_GET_ITEM(mro, i));
  ------------------
  |  |  770|  5.39k|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  5.39k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
10098|  5.39k|        if (base->tp_setattro == slot_tp_setattro) {
  ------------------
  |  Branch (10098:13): [True: 1.83k, False: 3.56k]
  ------------------
10099|       |            /* Ignore Python classes:
10100|       |               they never define their own C-level setattro. */
10101|  1.83k|        }
10102|  3.56k|        else if (base->tp_setattro == type->tp_setattro) {
  ------------------
  |  Branch (10102:18): [True: 0, False: 3.56k]
  ------------------
10103|      0|            defining_type = base;
10104|      0|            break;
10105|      0|        }
10106|  5.39k|    }
10107|       |
10108|       |    /* Reject calls that jump over intermediate C-level overrides. */
10109|  3.61k|    for (PyTypeObject *base = defining_type; base; base = base->tp_base) {
  ------------------
  |  Branch (10109:46): [True: 3.61k, False: 0]
  ------------------
10110|  3.61k|        if (base->tp_setattro == func) {
  ------------------
  |  Branch (10110:13): [True: 1.78k, False: 1.83k]
  ------------------
10111|       |            /* 'func' is the right slot function to call. */
10112|  1.78k|            break;
10113|  1.78k|        }
10114|  1.83k|        else if (base->tp_setattro != slot_tp_setattro) {
  ------------------
  |  Branch (10114:18): [True: 0, False: 1.83k]
  ------------------
10115|       |            /* 'base' is not a Python class and overrides 'func'.
10116|       |               Its tp_setattro should be called instead. */
10117|      0|            PyErr_Format(PyExc_TypeError,
10118|      0|                         "can't apply this %s to %s object",
10119|      0|                         what,
10120|      0|                         type->tp_name);
10121|      0|            return 0;
10122|      0|        }
10123|  3.61k|    }
10124|  1.78k|    return 1;
10125|  1.78k|}
typeobject.c:wrap_delattr:
10160|    526|{
10161|    526|    setattrofunc func = (setattrofunc)wrapped;
10162|    526|    int res;
10163|    526|    PyObject *name;
10164|       |
10165|    526|    if (!check_num_args(args, 1))
  ------------------
  |  Branch (10165:9): [True: 0, False: 526]
  ------------------
10166|      0|        return NULL;
10167|    526|    name = PyTuple_GET_ITEM(args, 0);
  ------------------
  |  |   29|    526|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    526|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    526|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10168|    526|    if (!hackcheck(self, func, "__delattr__"))
  ------------------
  |  Branch (10168:9): [True: 0, False: 526]
  ------------------
10169|      0|        return NULL;
10170|    526|    res = (*func)(self, name, NULL);
10171|    526|    if (res < 0)
  ------------------
  |  Branch (10171:9): [True: 0, False: 526]
  ------------------
10172|      0|        return NULL;
10173|    526|    Py_RETURN_NONE;
  ------------------
  |  |  628|    526|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    526|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
10174|    526|}
typeobject.c:slot_tp_richcompare:
11031|  1.29k|{
11032|  1.29k|    PyObject *res = _PyObject_MaybeCallSpecialOneArg(self, name_op[op], other);
11033|  1.29k|    if (res == NULL) {
  ------------------
  |  Branch (11033:9): [True: 0, False: 1.29k]
  ------------------
11034|      0|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (11034:13): [True: 0, False: 0]
  ------------------
11035|      0|            return NULL;
11036|      0|        }
11037|      0|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
11038|      0|    }
11039|  1.29k|    return res;
11040|  1.29k|}
typeobject.c:wrap_richcmpfunc:
10212|    470|{
10213|    470|    richcmpfunc func = (richcmpfunc)wrapped;
10214|    470|    PyObject *other;
10215|       |
10216|    470|    if (!check_num_args(args, 1))
  ------------------
  |  Branch (10216:9): [True: 0, False: 470]
  ------------------
10217|      0|        return NULL;
10218|    470|    other = PyTuple_GET_ITEM(args, 0);
  ------------------
  |  |   29|    470|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    470|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    470|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10219|    470|    return (*func)(self, other, op);
10220|    470|}
typeobject.c:richcmp_eq:
10225|    468|richcmp_##NAME(PyObject *self, PyObject *args, void *wrapped) \
10226|    468|{ \
10227|    468|    return wrap_richcmpfunc(self, args, wrapped, OP); \
10228|    468|}
typeobject.c:richcmp_ne:
10225|      2|richcmp_##NAME(PyObject *self, PyObject *args, void *wrapped) \
10226|      2|{ \
10227|      2|    return wrap_richcmpfunc(self, args, wrapped, OP); \
10228|      2|}
typeobject.c:slot_tp_iter:
11056|    496|{
11057|    496|    int attr_is_none = 0;
11058|    496|    PyObject *res = maybe_call_special_no_args(self, &_Py_ID(__iter__),
  ------------------
  |  |  915|    496|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    496|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    496|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11059|    496|                                               &attr_is_none);
11060|    496|    if (res != NULL) {
  ------------------
  |  Branch (11060:9): [True: 496, False: 0]
  ------------------
11061|    496|        return res;
11062|    496|    }
11063|      0|    else if (PyErr_Occurred()) {
  ------------------
  |  Branch (11063:14): [True: 0, False: 0]
  ------------------
11064|      0|        return NULL;
11065|      0|    }
11066|      0|    else if (attr_is_none || !has_dunder_getitem(self)) {
  ------------------
  |  Branch (11066:14): [True: 0, False: 0]
  |  Branch (11066:30): [True: 0, False: 0]
  ------------------
11067|      0|        PyErr_Format(PyExc_TypeError,
11068|      0|            "'%.200s' object is not iterable",
11069|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11070|      0|        return NULL;
11071|      0|    }
11072|      0|    return PySeqIter_New(self);
11073|    496|}
typeobject.c:wrap_next:
10239|    146|{
10240|    146|    unaryfunc func = (unaryfunc)wrapped;
10241|    146|    PyObject *res;
10242|       |
10243|    146|    if (!check_num_args(args, 0))
  ------------------
  |  Branch (10243:9): [True: 0, False: 146]
  ------------------
10244|      0|        return NULL;
10245|    146|    res = (*func)(self);
10246|    146|    if (res == NULL && !PyErr_Occurred())
  ------------------
  |  Branch (10246:9): [True: 6, False: 140]
  |  Branch (10246:24): [True: 6, False: 0]
  ------------------
10247|      6|        PyErr_SetNone(PyExc_StopIteration);
10248|    146|    return res;
10249|    146|}
typeobject.c:slot_tp_descr_get:
11090|  8.40k|{
11091|  8.40k|    PyTypeObject *tp = Py_TYPE(self);
  ------------------
  |  |  213|  8.40k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.40k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11092|  8.40k|    PyObject *get;
11093|       |
11094|  8.40k|    get = _PyType_LookupRef(tp, &_Py_ID(__get__));
  ------------------
  |  |  915|  8.40k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  8.40k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  8.40k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11095|  8.40k|    if (get == NULL) {
  ------------------
  |  Branch (11095:9): [True: 0, False: 8.40k]
  ------------------
11096|      0|#ifndef Py_GIL_DISABLED
11097|       |        /* Avoid further slowdowns */
11098|      0|        if (tp->tp_descr_get == slot_tp_descr_get)
  ------------------
  |  Branch (11098:13): [True: 0, False: 0]
  ------------------
11099|      0|            tp->tp_descr_get = NULL;
11100|      0|#endif
11101|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11102|      0|    }
11103|  8.40k|    if (obj == NULL)
  ------------------
  |  Branch (11103:9): [True: 0, False: 8.40k]
  ------------------
11104|      0|        obj = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
11105|  8.40k|    if (type == NULL)
  ------------------
  |  Branch (11105:9): [True: 0, False: 8.40k]
  ------------------
11106|      0|        type = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
11107|  8.40k|    PyObject *stack[3] = {self, obj, type};
11108|  8.40k|    PyObject *res = PyObject_Vectorcall(get, stack, 3, NULL);
11109|  8.40k|    Py_DECREF(get);
  ------------------
  |  |  430|  8.40k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.40k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11110|  8.40k|    return res;
11111|  8.40k|}
typeobject.c:wrap_descr_get:
10253|     90|{
10254|     90|    descrgetfunc func = (descrgetfunc)wrapped;
10255|     90|    PyObject *obj;
10256|     90|    PyObject *type = NULL;
10257|       |
10258|     90|    if (!PyArg_UnpackTuple(args, "__get__", 1, 2, &obj, &type))
  ------------------
  |  Branch (10258:9): [True: 0, False: 90]
  ------------------
10259|      0|        return NULL;
10260|     90|    if (obj == Py_None)
  ------------------
  |  |  616|     90|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (10260:9): [True: 0, False: 90]
  ------------------
10261|      0|        obj = NULL;
10262|     90|    if (type == Py_None)
  ------------------
  |  |  616|     90|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (10262:9): [True: 0, False: 90]
  ------------------
10263|      0|        type = NULL;
10264|     90|    if (type == NULL && obj == NULL) {
  ------------------
  |  Branch (10264:9): [True: 90, False: 0]
  |  Branch (10264:25): [True: 0, False: 90]
  ------------------
10265|      0|        PyErr_SetString(PyExc_TypeError,
10266|      0|                        "__get__(None, None) is invalid");
10267|      0|        return NULL;
10268|      0|    }
10269|     90|    return (*func)(self, obj, type);
10270|     90|}
typeobject.c:slot_tp_init:
11136|   329k|{
11137|   329k|    PyObject *res = call_method(self, &_Py_ID(__init__), args, kwds);
  ------------------
  |  |  915|   329k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|   329k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   329k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11138|   329k|    if (res == NULL)
  ------------------
  |  Branch (11138:9): [True: 70, False: 329k]
  ------------------
11139|     70|        return -1;
11140|   329k|    if (res != Py_None) {
  ------------------
  |  |  616|   329k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (11140:9): [True: 0, False: 329k]
  ------------------
11141|      0|        PyErr_Format(PyExc_TypeError,
11142|      0|                     "__init__() should return None, not '%.200s'",
11143|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11144|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11145|      0|        return -1;
11146|      0|    }
11147|   329k|    Py_DECREF(res);
  ------------------
  |  |  430|   329k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   329k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   329k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11148|   329k|    return 0;
11149|   329k|}
typeobject.c:wrap_init:
10362|  12.8k|{
10363|  12.8k|    initproc func = (initproc)wrapped;
10364|       |
10365|  12.8k|    if (func(self, args, kwds) < 0)
  ------------------
  |  Branch (10365:9): [True: 0, False: 12.8k]
  ------------------
10366|      0|        return NULL;
10367|  12.8k|    Py_RETURN_NONE;
  ------------------
  |  |  628|  12.8k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  12.8k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
10368|  12.8k|}
typeobject.c:slot_tp_finalize:
11173|  3.56k|{
11174|       |    /* Save the current exception, if any. */
11175|  3.56k|    PyThreadState *tstate = _PyThreadState_GET();
11176|  3.56k|    PyObject *exc = _PyErr_GetRaisedException(tstate);
11177|       |
11178|  3.56k|    _PyCStackRef cref;
11179|  3.56k|    _PyThreadState_PushCStackRef(tstate, &cref);
11180|       |
11181|       |    /* Execute __del__ method, if any. */
11182|  3.56k|    int unbound = lookup_maybe_method(self, &_Py_ID(__del__), &cref.ref);
  ------------------
  |  |  915|  3.56k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  3.56k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  3.56k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11183|  3.56k|    if (unbound >= 0) {
  ------------------
  |  Branch (11183:9): [True: 3.56k, False: 0]
  ------------------
11184|  3.56k|        PyObject *del = PyStackRef_AsPyObjectBorrow(cref.ref);
11185|  3.56k|        PyObject *res = call_unbound_noarg(unbound, del, self);
11186|  3.56k|        if (res == NULL) {
  ------------------
  |  Branch (11186:13): [True: 0, False: 3.56k]
  ------------------
11187|      0|            PyErr_FormatUnraisable("Exception ignored while "
11188|      0|                                   "calling deallocator %R", del);
11189|      0|        }
11190|  3.56k|        else {
11191|  3.56k|            Py_DECREF(res);
  ------------------
  |  |  430|  3.56k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.56k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.56k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11192|  3.56k|        }
11193|  3.56k|    }
11194|       |
11195|  3.56k|    _PyThreadState_PopCStackRef(tstate, &cref);
11196|       |
11197|       |    /* Restore the saved exception. */
11198|  3.56k|    _PyErr_SetRaisedException(tstate, exc);
11199|  3.56k|}
typeobject.c:wrap_del:
10200|      7|{
10201|      7|    destructor func = (destructor)wrapped;
10202|       |
10203|      7|    if (!check_num_args(args, 0))
  ------------------
  |  Branch (10203:9): [True: 0, False: 7]
  ------------------
10204|      0|        return NULL;
10205|       |
10206|      7|    (*func)(self);
10207|      7|    Py_RETURN_NONE;
  ------------------
  |  |  628|      7|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      7|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
10208|      7|}
typeobject.c:vectorcall_maybe:
 3134|    149|{
 3135|    149|    assert(nargs >= 1);
 3136|       |
 3137|    149|    PyObject *self = args[0];
 3138|    149|    _PyCStackRef cref;
 3139|    149|    _PyThreadState_PushCStackRef(tstate, &cref);
 3140|    149|    int unbound = lookup_maybe_method(self, name, &cref.ref);
 3141|    149|    PyObject *func = PyStackRef_AsPyObjectBorrow(cref.ref);
 3142|    149|    if (func == NULL) {
  ------------------
  |  Branch (3142:9): [True: 0, False: 149]
  ------------------
 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|    149|    PyObject *retval = vectorcall_unbound(tstate, unbound, func, args, nargs);
 3150|    149|    _PyThreadState_PopCStackRef(tstate, &cref);
 3151|    149|    return retval;
 3152|    149|}
typeobject.c:slot_nb_bool:
10763|     20|{
10764|     20|    int using_len = 0;
10765|     20|    int attr_is_none = 0;
10766|     20|    PyObject *value = maybe_call_special_no_args(self, &_Py_ID(__bool__),
  ------------------
  |  |  915|     20|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     20|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     20|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10767|     20|                                                 &attr_is_none);
10768|     20|    if (attr_is_none) {
  ------------------
  |  Branch (10768:9): [True: 0, False: 20]
  ------------------
10769|      0|        PyErr_Format(PyExc_TypeError,
10770|      0|                     "'%.200s' cannot be interpreted as a boolean",
10771|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10772|      0|        return -1;
10773|      0|    }
10774|     20|    else if (value == NULL && !PyErr_Occurred()) {
  ------------------
  |  Branch (10774:14): [True: 0, False: 20]
  |  Branch (10774:31): [True: 0, False: 0]
  ------------------
10775|      0|        value = _PyObject_MaybeCallSpecialNoArgs(self, &_Py_ID(__len__));
  ------------------
  |  |  915|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10776|      0|        if (value == NULL && !PyErr_Occurred()) {
  ------------------
  |  Branch (10776:13): [True: 0, False: 0]
  |  Branch (10776:30): [True: 0, False: 0]
  ------------------
10777|      0|            return 1;
10778|      0|        }
10779|      0|        using_len = 1;
10780|      0|    }
10781|       |
10782|     20|    if (value == NULL) {
  ------------------
  |  Branch (10782:9): [True: 0, False: 20]
  ------------------
10783|      0|        return -1;
10784|      0|    }
10785|       |
10786|     20|    int result;
10787|     20|    if (using_len) {
  ------------------
  |  Branch (10787:9): [True: 0, False: 20]
  ------------------
10788|       |        /* bool type enforced by slot_nb_len */
10789|      0|        result = PyObject_IsTrue(value);
10790|      0|    }
10791|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10792|     20|        result = PyObject_IsTrue(value);
10793|     20|    }
10794|      0|    else {
10795|      0|        PyErr_Format(PyExc_TypeError,
10796|      0|                     "%T.__bool__() must return a bool, not %T",
10797|      0|                     self, value);
10798|      0|        result = -1;
10799|      0|    }
10800|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10801|     20|    return result;
10802|     20|}
typeobject.c:slot_nb_int:
10484|    224|FUNCNAME(PyObject *self) \
10485|    224|{ \
10486|    224|    PyObject* stack[1] = {self}; \
10487|    224|    return vectorcall_method(&_Py_ID(DUNDER), stack, 1); \
  ------------------
  |  |  915|    224|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    224|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    224|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10488|    224|}
typeobject.c:slot_sq_length:
10579|  29.2k|{
10580|  29.2k|    PyObject* stack[1] = {self};
10581|  29.2k|    PyObject *res = vectorcall_method(&_Py_ID(__len__), stack, 1);
  ------------------
  |  |  915|  29.2k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  29.2k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  29.2k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10582|  29.2k|    Py_ssize_t len;
10583|       |
10584|  29.2k|    if (res == NULL)
  ------------------
  |  Branch (10584:9): [True: 0, False: 29.2k]
  ------------------
10585|      0|        return -1;
10586|       |
10587|  29.2k|    Py_SETREF(res, _PyNumber_Index(res));
  ------------------
  |  |  352|  29.2k|    do { \
  |  |  353|  29.2k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  29.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|  29.2k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  29.2k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|  29.2k|        *_tmp_dst_ptr = (src); \
  |  |  356|  29.2k|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|  29.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  29.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  29.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|  29.2k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 29.2k]
  |  |  ------------------
  ------------------
10588|  29.2k|    if (res == NULL)
  ------------------
  |  Branch (10588:9): [True: 0, False: 29.2k]
  ------------------
10589|      0|        return -1;
10590|       |
10591|  29.2k|    assert(PyLong_Check(res));
10592|  29.2k|    if (_PyLong_IsNegative((PyLongObject *)res)) {
  ------------------
  |  Branch (10592:9): [True: 0, False: 29.2k]
  ------------------
10593|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10594|      0|        PyErr_SetString(PyExc_ValueError,
10595|      0|                        "__len__() should return >= 0");
10596|      0|        return -1;
10597|      0|    }
10598|       |
10599|  29.2k|    len = PyNumber_AsSsize_t(res, PyExc_OverflowError);
10600|  29.2k|    assert(len >= 0 || PyErr_ExceptionMatches(PyExc_OverflowError));
10601|  29.2k|    Py_DECREF(res);
  ------------------
  |  |  430|  29.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  29.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  29.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10602|  29.2k|    return len;
10603|  29.2k|}
typeobject.c:slot_mp_subscript:
10492|    527|FUNCNAME(PyObject *self, ARG1TYPE arg1) \
10493|    527|{ \
10494|    527|    PyObject* stack[2] = {self, arg1}; \
10495|    527|    return vectorcall_method(&_Py_ID(DUNDER), stack, 2); \
  ------------------
  |  |  915|    527|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    527|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    527|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10496|    527|}
typeobject.c:slot_mp_ass_subscript:
10677|   223k|{
10678|   223k|    PyObject *stack[3];
10679|   223k|    PyObject *res;
10680|       |
10681|   223k|    stack[0] = self;
10682|   223k|    stack[1] = key;
10683|   223k|    if (value == NULL) {
  ------------------
  |  Branch (10683:9): [True: 0, False: 223k]
  ------------------
10684|      0|        res = vectorcall_method(&_Py_ID(__delitem__), stack, 2);
  ------------------
  |  |  915|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10685|      0|    }
10686|   223k|    else {
10687|   223k|        stack[2] = value;
10688|   223k|        res = vectorcall_method(&_Py_ID(__setitem__), stack, 3);
  ------------------
  |  |  915|   223k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|   223k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   223k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10689|   223k|    }
10690|       |
10691|   223k|    if (res == NULL)
  ------------------
  |  Branch (10691:9): [True: 0, False: 223k]
  ------------------
10692|      0|        return -1;
10693|   223k|    Py_DECREF(res);
  ------------------
  |  |  430|   223k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   223k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   223k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10694|   223k|    return 0;
10695|   223k|}
typeobject.c:wrap_objobjargproc:
10046|    648|{
10047|    648|    objobjargproc func = (objobjargproc)wrapped;
10048|    648|    int res;
10049|    648|    PyObject *key, *value;
10050|       |
10051|    648|    if (!PyArg_UnpackTuple(args, "__setitem__", 2, 2, &key, &value))
  ------------------
  |  Branch (10051:9): [True: 0, False: 648]
  ------------------
10052|      0|        return NULL;
10053|    648|    res = (*func)(self, key, value);
10054|    648|    if (res == -1 && PyErr_Occurred())
  ------------------
  |  Branch (10054:9): [True: 0, False: 648]
  |  Branch (10054:22): [True: 0, False: 0]
  ------------------
10055|      0|        return NULL;
10056|    648|    Py_RETURN_NONE;
  ------------------
  |  |  628|    648|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    648|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
10057|    648|}
typeobject.c:slot_sq_item:
10607|  1.74k|{
10608|  1.74k|    PyObject *ival = PyLong_FromSsize_t(i);
10609|  1.74k|    if (ival == NULL) {
  ------------------
  |  Branch (10609:9): [True: 0, False: 1.74k]
  ------------------
10610|      0|        return NULL;
10611|      0|    }
10612|  1.74k|    PyObject *stack[2] = {self, ival};
10613|  1.74k|    PyObject *retval = vectorcall_method(&_Py_ID(__getitem__), stack, 2);
  ------------------
  |  |  915|  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
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10614|  1.74k|    Py_DECREF(ival);
  ------------------
  |  |  430|  1.74k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.74k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.74k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10615|  1.74k|    return retval;
10616|  1.74k|}
typeobject.c:slot_sq_contains:
10650|    409|{
10651|    409|    int attr_is_none = 0;
10652|    409|    PyObject *res = maybe_call_special_one_arg(self, &_Py_ID(__contains__), value,
  ------------------
  |  |  915|    409|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    409|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    409|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10653|    409|                                               &attr_is_none);
10654|    409|    if (attr_is_none) {
  ------------------
  |  Branch (10654:9): [True: 0, False: 409]
  ------------------
10655|      0|        PyErr_Format(PyExc_TypeError,
10656|      0|            "'%.200s' object is not a container",
10657|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10658|      0|        return -1;
10659|      0|    }
10660|    409|    else if (res == NULL && PyErr_Occurred()) {
  ------------------
  |  Branch (10660:14): [True: 0, False: 409]
  |  Branch (10660:29): [True: 0, False: 0]
  ------------------
10661|      0|        return -1;
10662|      0|    }
10663|    409|    else if (res == NULL) {
  ------------------
  |  Branch (10663:14): [True: 0, False: 409]
  ------------------
10664|      0|        return (int)_PySequence_IterSearch(self, value, PY_ITERSEARCH_CONTAINS);
  ------------------
  |  |   29|      0|#define PY_ITERSEARCH_CONTAINS 3
  ------------------
10665|      0|    }
10666|    409|    int result = PyObject_IsTrue(res);
10667|    409|    Py_DECREF(res);
  ------------------
  |  |  430|    409|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    409|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    409|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10668|    409|    return result;
10669|    409|}
typeobject.c:type_get_mro:
 1765|    663|{
 1766|    663|    PyTypeObject *type = PyTypeObject_CAST(tp);
  ------------------
  |  |  200|    663|#define PyTypeObject_CAST(op)   ((PyTypeObject *)(op))
  ------------------
 1767|    663|    PyObject *mro = lookup_tp_mro(type);
 1768|    663|    if (mro == NULL) {
  ------------------
  |  Branch (1768:9): [True: 0, False: 663]
  ------------------
 1769|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1770|      0|    }
 1771|    663|    return Py_NewRef(mro);
  ------------------
  |  |  550|    663|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    663|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    663|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1772|    663|}
typeobject.c:check_immutable_bases:
 5162|    208|{
 5163|    208|    Py_ssize_t i = 0;
 5164|    208|    if (skip_first) {
  ------------------
  |  Branch (5164:9): [True: 0, False: 208]
  ------------------
 5165|       |        // When testing the MRO, skip the type itself
 5166|      0|        i = 1;
 5167|      0|    }
 5168|    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 (5168:12): [True: 208, False: 208]
  ------------------
 5169|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5170|    208|        if (!b) {
  ------------------
  |  Branch (5170:13): [True: 0, False: 208]
  ------------------
 5171|      0|            return -1;
 5172|      0|        }
 5173|    208|        if (!_PyType_HasFeature(b, Py_TPFLAGS_IMMUTABLETYPE)) {
  ------------------
  |  |  500|    208|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (5173:13): [True: 0, False: 208]
  ------------------
 5174|      0|            PyErr_Format(
 5175|      0|                PyExc_TypeError,
 5176|      0|                "Creating immutable type %s from mutable base %N",
 5177|      0|                type_name, b
 5178|      0|            );
 5179|      0|            return -1;
 5180|      0|        }
 5181|    208|    }
 5182|    208|    return 0;
 5183|    208|}
typeobject.c:supercheck:
12658|   223k|{
12659|       |    /* Check that a super() call makes sense.  Return a type object.
12660|       |
12661|       |       obj can be a class, or an instance of one:
12662|       |
12663|       |       - If it is a class, it must be a subclass of 'type'.      This case is
12664|       |         used for class methods; the return value is obj.
12665|       |
12666|       |       - If it is an instance, it must be an instance of 'type'.  This is
12667|       |         the normal case; the return value is obj.__class__.
12668|       |
12669|       |       But... when obj is an instance, we want to allow for the case where
12670|       |       Py_TYPE(obj) is not a subclass of type, but obj.__class__ is!
12671|       |       This will allow using super() with a proxy for obj.
12672|       |    */
12673|       |
12674|       |    /* Check for first bullet above (special case) */
12675|   223k|    if (PyType_Check(obj) && PyType_IsSubtype((PyTypeObject *)obj, type)) {
  ------------------
  |  |  766|   447k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   223k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   223k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 13.4k, False: 210k]
  |  |  ------------------
  ------------------
  |  Branch (12675:30): [True: 11.6k, False: 1.81k]
  ------------------
12676|  11.6k|        return (PyTypeObject *)Py_NewRef(obj);
  ------------------
  |  |  550|  11.6k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  11.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12677|  11.6k|    }
12678|       |
12679|       |    /* Normal case */
12680|   212k|    if (PyType_IsSubtype(Py_TYPE(obj), type)) {
  ------------------
  |  |  213|   212k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   212k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   212k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12680:9): [True: 212k, False: 0]
  ------------------
12681|   212k|        return (PyTypeObject*)Py_NewRef(Py_TYPE(obj));
  ------------------
  |  |  550|   212k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   212k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   212k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12682|   212k|    }
12683|      0|    else {
12684|       |        /* Try the slow way */
12685|      0|        PyObject *class_attr;
12686|       |
12687|      0|        if (PyObject_GetOptionalAttr(obj, &_Py_ID(__class__), &class_attr) < 0) {
  ------------------
  |  |  915|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12687:13): [True: 0, False: 0]
  ------------------
12688|      0|            return NULL;
12689|      0|        }
12690|      0|        if (class_attr != NULL &&
  ------------------
  |  Branch (12690:13): [True: 0, False: 0]
  ------------------
12691|      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]
  |  |  ------------------
  ------------------
12692|      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 (12692:13): [True: 0, False: 0]
  ------------------
12693|      0|        {
12694|      0|            int ok = PyType_IsSubtype(
12695|      0|                (PyTypeObject *)class_attr, type);
12696|      0|            if (ok) {
  ------------------
  |  Branch (12696:17): [True: 0, False: 0]
  ------------------
12697|      0|                return (PyTypeObject *)class_attr;
12698|      0|            }
12699|      0|        }
12700|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12701|      0|    }
12702|       |
12703|      0|    const char *type_or_instance, *obj_str;
12704|       |
12705|      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]
  |  |  ------------------
  ------------------
12706|      0|        type_or_instance = "type";
12707|      0|        obj_str = ((PyTypeObject*)obj)->tp_name;
12708|      0|    }
12709|      0|    else {
12710|      0|        type_or_instance = "instance of";
12711|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12712|      0|    }
12713|       |
12714|      0|    PyErr_Format(PyExc_TypeError,
12715|      0|                "super(type, obj): obj (%s %.200s) is not "
12716|      0|                "an instance or subtype of type (%.200s).",
12717|      0|                type_or_instance, obj_str, type->tp_name);
12718|       |
12719|       |    return NULL;
12720|   212k|}
typeobject.c:do_super_lookup:
12593|   223k|{
12594|   223k|    PyObject *res;
12595|   223k|    int temp_su = 0;
12596|       |
12597|   223k|    if (su_obj_type == NULL) {
  ------------------
  |  Branch (12597:9): [True: 0, False: 223k]
  ------------------
12598|      0|        goto skip;
12599|      0|    }
12600|       |
12601|   223k|    res = _PySuper_LookupDescr(su_type, su_obj_type, name);
12602|   223k|    if (res != NULL) {
  ------------------
  |  Branch (12602:9): [True: 223k, False: 0]
  ------------------
12603|   223k|        if (method && _PyType_HasFeature(Py_TYPE(res), 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 (method && _PyType_HasFeature(Py_TYPE(res), Py_TPFLAGS_METHOD_DESCRIPTOR)) {
  ------------------
  |  |  534|   208k|#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
  ------------------
  |  Branch (12603:13): [True: 208k, False: 15.3k]
  |  Branch (12603:23): [True: 208k, False: 0]
  ------------------
12604|   208k|            *method = 1;
12605|   208k|        }
12606|  15.3k|        else {
12607|  15.3k|            descrgetfunc f = Py_TYPE(res)->tp_descr_get;
  ------------------
  |  |  213|  15.3k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  15.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12608|  15.3k|            if (f != NULL) {
  ------------------
  |  Branch (12608:17): [True: 6.33k, False: 9.00k]
  ------------------
12609|  6.33k|                PyObject *res2;
12610|  6.33k|                res2 = f(res,
12611|       |                    /* Only pass 'obj' param if this is instance-mode super
12612|       |                    (See SF ID #743627)  */
12613|  6.33k|                    (su_obj == (PyObject *)su_obj_type) ? NULL : su_obj,
  ------------------
  |  Branch (12613:21): [True: 2.59k, False: 3.73k]
  ------------------
12614|  6.33k|                    (PyObject *)su_obj_type);
12615|  6.33k|                Py_SETREF(res, res2);
  ------------------
  |  |  352|  6.33k|    do { \
  |  |  353|  6.33k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  6.33k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|  6.33k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  6.33k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|  6.33k|        *_tmp_dst_ptr = (src); \
  |  |  356|  6.33k|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|  6.33k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.33k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.33k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|  6.33k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 6.33k]
  |  |  ------------------
  ------------------
12616|  6.33k|            }
12617|  15.3k|        }
12618|       |
12619|   223k|        return res;
12620|   223k|    }
12621|      0|    else if (PyErr_Occurred()) {
  ------------------
  |  Branch (12621:14): [True: 0, False: 0]
  ------------------
12622|      0|        return NULL;
12623|      0|    }
12624|       |
12625|      0|  skip:
12626|      0|    if (su == NULL) {
  ------------------
  |  Branch (12626:9): [True: 0, False: 0]
  ------------------
12627|      0|        PyObject *args[] = {(PyObject *)su_type, su_obj};
12628|      0|        su = (superobject *)PyObject_Vectorcall((PyObject *)&PySuper_Type, args, 2, NULL);
12629|      0|        if (su == NULL) {
  ------------------
  |  Branch (12629:13): [True: 0, False: 0]
  ------------------
12630|      0|            return NULL;
12631|      0|        }
12632|      0|        temp_su = 1;
12633|      0|    }
12634|      0|    res = PyObject_GenericGetAttr((PyObject *)su, name);
12635|      0|    if (temp_su) {
  ------------------
  |  Branch (12635:9): [True: 0, False: 0]
  ------------------
12636|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12637|      0|    }
12638|      0|    return res;
12639|      0|}
typeobject.c:super_dealloc:
12511|  2.51k|{
12512|  2.51k|    superobject *su = superobject_CAST(self);
  ------------------
  |  |12497|  2.51k|#define superobject_CAST(op)    ((superobject *)(op))
  ------------------
12513|       |
12514|  2.51k|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  510|  2.51k|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.51k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.51k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12515|  2.51k|    Py_XDECREF(su->obj);
  ------------------
  |  |  524|  2.51k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.51k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.51k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12516|  2.51k|    Py_XDECREF(su->type);
  ------------------
  |  |  524|  2.51k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.51k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.51k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12517|  2.51k|    Py_XDECREF(su->obj_type);
  ------------------
  |  |  524|  2.51k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.51k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.51k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12518|  2.51k|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|  2.51k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.51k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.51k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12519|  2.51k|}
typeobject.c:super_getattro:
12643|  2.51k|{
12644|  2.51k|    superobject *su = superobject_CAST(self);
  ------------------
  |  |12497|  2.51k|#define superobject_CAST(op)    ((superobject *)(op))
  ------------------
12645|       |
12646|       |    /* We want __class__ to return the class of the super object
12647|       |       (i.e. super, or a subclass), not the class of su->obj. */
12648|  2.51k|    if (PyUnicode_Check(name) &&
  ------------------
  |  |  103|  2.51k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  5.02k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 2.51k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12649|  2.51k|        PyUnicode_GET_LENGTH(name) == 9 &&
  ------------------
  |  |  299|  2.51k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.51k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.51k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12649:9): [True: 0, False: 2.51k]
  ------------------
12650|      0|        _PyUnicode_Equal(name, &_Py_ID(__class__)))
  ------------------
  |  |  915|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12650:9): [True: 0, False: 0]
  ------------------
12651|      0|        return PyObject_GenericGetAttr(self, name);
12652|       |
12653|  2.51k|    return do_super_lookup(su, su->type, su->obj, su->obj_type, name, NULL);
12654|  2.51k|}
typeobject.c:super_init_impl:
12868|  2.51k|super_init_impl(PyObject *self, PyTypeObject *type, PyObject *obj) {
12869|  2.51k|    superobject *su = superobject_CAST(self);
  ------------------
  |  |12497|  2.51k|#define superobject_CAST(op)    ((superobject *)(op))
  ------------------
12870|  2.51k|    PyTypeObject *obj_type = NULL;
12871|  2.51k|    if (type == NULL) {
  ------------------
  |  Branch (12871:9): [True: 92, False: 2.42k]
  ------------------
12872|       |        /* Call super(), without args -- fill in from __class__
12873|       |           and first local variable on the stack. */
12874|     92|        PyThreadState *tstate = _PyThreadState_GET();
12875|     92|        _PyInterpreterFrame *frame = _PyThreadState_GetFrame(tstate);
12876|     92|        if (frame == NULL) {
  ------------------
  |  Branch (12876:13): [True: 0, False: 92]
  ------------------
12877|      0|            PyErr_SetString(PyExc_RuntimeError,
12878|      0|                            "super(): no current frame");
12879|      0|            return -1;
12880|      0|        }
12881|     92|        int res = super_init_without_args(frame, &type, &obj);
12882|       |
12883|     92|        if (res < 0) {
  ------------------
  |  Branch (12883:13): [True: 0, False: 92]
  ------------------
12884|      0|            return -1;
12885|      0|        }
12886|     92|    }
12887|  2.42k|    else {
12888|  2.42k|        Py_INCREF(type);
  ------------------
  |  |  310|  2.42k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.42k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.42k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12889|  2.42k|        Py_XINCREF(obj);
  ------------------
  |  |  514|  2.42k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.42k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.42k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12890|  2.42k|    }
12891|       |
12892|  2.51k|    if (obj == Py_None) {
  ------------------
  |  |  616|  2.51k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (12892:9): [True: 0, False: 2.51k]
  ------------------
12893|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12894|      0|        obj = NULL;
12895|      0|    }
12896|  2.51k|    if (obj != NULL) {
  ------------------
  |  Branch (12896:9): [True: 2.51k, False: 0]
  ------------------
12897|  2.51k|        obj_type = supercheck(type, obj);
12898|  2.51k|        if (obj_type == NULL) {
  ------------------
  |  Branch (12898:13): [True: 0, False: 2.51k]
  ------------------
12899|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12900|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12901|      0|            return -1;
12902|      0|        }
12903|  2.51k|    }
12904|  2.51k|    Py_XSETREF(su->type, (PyTypeObject*)type);
  ------------------
  |  |  374|  2.51k|    do { \
  |  |  375|  2.51k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  2.51k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|  2.51k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  2.51k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|  2.51k|        *_tmp_dst_ptr = (src); \
  |  |  378|  2.51k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  2.51k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.51k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.51k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|  2.51k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 2.51k]
  |  |  ------------------
  ------------------
12905|  2.51k|    Py_XSETREF(su->obj, obj);
  ------------------
  |  |  374|  2.51k|    do { \
  |  |  375|  2.51k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  2.51k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|  2.51k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  2.51k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|  2.51k|        *_tmp_dst_ptr = (src); \
  |  |  378|  2.51k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  2.51k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.51k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.51k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|  2.51k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 2.51k]
  |  |  ------------------
  ------------------
12906|  2.51k|    Py_XSETREF(su->obj_type, obj_type);
  ------------------
  |  |  374|  2.51k|    do { \
  |  |  375|  2.51k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  2.51k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|  2.51k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  2.51k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|  2.51k|        *_tmp_dst_ptr = (src); \
  |  |  378|  2.51k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  2.51k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.51k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.51k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|  2.51k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 2.51k]
  |  |  ------------------
  ------------------
12907|  2.51k|    return 0;
12908|  2.51k|}
typeobject.c:super_init_without_args:
12770|     92|{
12771|     92|    PyCodeObject *co = _PyFrame_GetCode(cframe);
12772|     92|    if (co->co_argcount == 0) {
  ------------------
  |  Branch (12772:9): [True: 0, False: 92]
  ------------------
12773|      0|        PyErr_SetString(PyExc_RuntimeError,
12774|      0|                        "super(): no arguments");
12775|      0|        return -1;
12776|      0|    }
12777|       |
12778|     92|    assert(_PyFrame_GetCode(cframe)->co_nlocalsplus > 0);
12779|     92|    PyObject *firstarg = PyStackRef_AsPyObjectBorrow(_PyFrame_GetLocalsArray(cframe)[0]);
12780|     92|    if (firstarg == NULL) {
  ------------------
  |  Branch (12780:9): [True: 0, False: 92]
  ------------------
12781|      0|        PyErr_SetString(PyExc_RuntimeError, "super(): arg[0] deleted");
12782|      0|        return -1;
12783|      0|    }
12784|       |    // The first argument might be a cell.
12785|       |    // "firstarg" is a cell here unless (very unlikely) super()
12786|       |    // was called from the C-API before the first MAKE_CELL op.
12787|     92|    if ((_PyLocals_GetKind(co->co_localspluskinds, 0) & CO_FAST_CELL) &&
  ------------------
  |  |  198|     92|#define CO_FAST_CELL    (0x40)
  ------------------
  |  Branch (12787:9): [True: 0, False: 92]
  ------------------
12788|      0|            (_PyInterpreterFrame_LASTI(cframe) >= 0)) {
  ------------------
  |  |   18|      0|    ((int)((IF)->instr_ptr - _PyFrame_GetBytecode((IF))))
  ------------------
  |  Branch (12788:13): [True: 0, False: 0]
  ------------------
12789|       |        // MAKE_CELL and COPY_FREE_VARS have no quickened forms, so no need
12790|       |        // to use _PyOpcode_Deopt here:
12791|      0|        assert(_PyCode_CODE(co)[0].op.code == MAKE_CELL ||
12792|      0|                _PyCode_CODE(co)[0].op.code == COPY_FREE_VARS);
12793|      0|        assert(PyCell_Check(firstarg));
12794|      0|        firstarg = PyCell_GetRef((PyCellObject *)firstarg);
12795|      0|        if (firstarg == NULL) {
  ------------------
  |  Branch (12795:13): [True: 0, False: 0]
  ------------------
12796|      0|            PyErr_SetString(PyExc_RuntimeError, "super(): arg[0] deleted");
12797|      0|            return -1;
12798|      0|        }
12799|      0|    }
12800|     92|    else {
12801|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12802|     92|    }
12803|       |
12804|       |    // Look for __class__ in the free vars.
12805|     92|    PyTypeObject *type = NULL;
12806|     92|    int i = PyUnstable_Code_GetFirstFree(co);
12807|     92|    for (; i < co->co_nlocalsplus; i++) {
  ------------------
  |  Branch (12807:12): [True: 92, False: 0]
  ------------------
12808|     92|        assert((_PyLocals_GetKind(co->co_localspluskinds, i) & CO_FAST_FREE) != 0);
12809|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12810|     92|        assert(PyUnicode_Check(name));
12811|     92|        if (_PyUnicode_Equal(name, &_Py_ID(__class__))) {
  ------------------
  |  |  915|     92|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     92|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     92|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12811:13): [True: 92, False: 0]
  ------------------
12812|     92|            PyObject *cell = PyStackRef_AsPyObjectBorrow(_PyFrame_GetLocalsArray(cframe)[i]);
12813|     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 (12813:17): [True: 0, False: 92]
  |  Branch (12813:33): [True: 0, False: 92]
  ------------------
12814|      0|                PyErr_SetString(PyExc_RuntimeError,
12815|      0|                  "super(): bad __class__ cell");
12816|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12817|      0|                return -1;
12818|      0|            }
12819|     92|            type = (PyTypeObject *) PyCell_GetRef((PyCellObject *)cell);
12820|     92|            if (type == NULL) {
  ------------------
  |  Branch (12820:17): [True: 0, False: 92]
  ------------------
12821|      0|                PyErr_SetString(PyExc_RuntimeError,
12822|      0|                  "super(): empty __class__ cell");
12823|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12824|      0|                return -1;
12825|      0|            }
12826|     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 (12826:17): [True: 0, False: 92]
  ------------------
12827|      0|                PyErr_Format(PyExc_RuntimeError,
12828|      0|                  "super(): __class__ is not a type (%s)",
12829|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12830|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12831|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12832|      0|                return -1;
12833|      0|            }
12834|     92|            break;
12835|     92|        }
12836|     92|    }
12837|     92|    if (type == NULL) {
  ------------------
  |  Branch (12837:9): [True: 0, False: 92]
  ------------------
12838|      0|        PyErr_SetString(PyExc_RuntimeError,
12839|      0|                        "super(): __class__ cell not found");
12840|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12841|      0|        return -1;
12842|      0|    }
12843|       |
12844|     92|    *type_p = type;
12845|     92|    *obj_p = firstarg;
12846|     92|    return 0;
12847|     92|}
typeobject.c:super_vectorcall:
12940|  2.51k|{
12941|  2.51k|    assert(PyType_Check(self));
12942|  2.51k|    if (!_PyArg_NoKwnames("super", kwnames)) {
  ------------------
  |  |   15|  2.51k|    ((kwnames) == NULL || _PyArg_NoKwnames((funcname), (kwnames)))
  |  |  ------------------
  |  |  |  Branch (15:6): [True: 2.51k, False: 0]
  |  |  |  Branch (15:27): [True: 0, False: 0]
  |  |  ------------------
  ------------------
12943|      0|        return NULL;
12944|      0|    }
12945|  2.51k|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|  2.51k|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
12946|  2.51k|    if (!_PyArg_CheckPositional("super()", nargs, 0, 2)) {
  ------------------
  |  |   31|  2.51k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 2.51k, False: 0]
  |  |  |  Branch (31:27): [True: 2.51k, False: 0]
  |  |  ------------------
  |  |   32|  2.51k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
12947|      0|        return NULL;
12948|      0|    }
12949|  2.51k|    PyTypeObject *type = NULL;
12950|  2.51k|    PyObject *obj = NULL;
12951|  2.51k|    PyTypeObject *self_type = (PyTypeObject *)self;
12952|  2.51k|    PyObject *su = self_type->tp_alloc(self_type, 0);
12953|  2.51k|    if (su == NULL) {
  ------------------
  |  Branch (12953:9): [True: 0, False: 2.51k]
  ------------------
12954|      0|        return NULL;
12955|      0|    }
12956|       |    // 1 or 2 argument form super().
12957|  2.51k|    if (nargs != 0) {
  ------------------
  |  Branch (12957:9): [True: 2.42k, False: 92]
  ------------------
12958|  2.42k|        PyObject *arg0 = args[0];
12959|  2.42k|        if (!PyType_Check(arg0)) {
  ------------------
  |  |  766|  2.42k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.42k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.42k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12959:13): [True: 0, False: 2.42k]
  ------------------
12960|      0|            PyErr_Format(PyExc_TypeError,
12961|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12962|      0|            goto fail;
12963|      0|        }
12964|  2.42k|        type = (PyTypeObject *)arg0;
12965|  2.42k|    }
12966|  2.51k|    if (nargs == 2) {
  ------------------
  |  Branch (12966:9): [True: 2.42k, False: 92]
  ------------------
12967|  2.42k|        obj = args[1];
12968|  2.42k|    }
12969|  2.51k|    if (super_init_impl(su, type, obj) < 0) {
  ------------------
  |  Branch (12969:9): [True: 0, False: 2.51k]
  ------------------
12970|      0|        goto fail;
12971|      0|    }
12972|  2.51k|    return su;
12973|      0|fail:
12974|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12975|       |    return NULL;
12976|  2.51k|}

_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 &&
  ------------------
  |  |  915|      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)
  ------------------
  |  |  915|      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) {
  ------------------
  |  |  915|      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) {
  ------------------
  |  |  915|      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|     78|{
  647|     78|    PyTypeObject *tp = _PyInterpreterState_GET()->cached_objects.typevar_type;
  648|     78|    assert(tp != NULL);
  649|     78|    typevarobject *tv = PyObject_GC_New(typevarobject, tp);
  ------------------
  |  |  181|     78|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|     78|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  650|     78|    if (tv == NULL) {
  ------------------
  |  Branch (650:9): [True: 0, False: 78]
  ------------------
  651|      0|        return NULL;
  652|      0|    }
  653|       |
  654|     78|    tv->name = Py_NewRef(name);
  ------------------
  |  |  550|     78|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     78|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     78|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  655|       |
  656|     78|    tv->bound = Py_XNewRef(bound);
  ------------------
  |  |  551|     78|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     78|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     78|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  657|     78|    tv->evaluate_bound = Py_XNewRef(evaluate_bound);
  ------------------
  |  |  551|     78|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     78|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     78|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  658|     78|    tv->constraints = Py_XNewRef(constraints);
  ------------------
  |  |  551|     78|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     78|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     78|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  659|     78|    tv->evaluate_constraints = Py_XNewRef(evaluate_constraints);
  ------------------
  |  |  551|     78|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     78|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     78|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  660|     78|    tv->default_value = Py_XNewRef(default_value);
  ------------------
  |  |  551|     78|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     78|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     78|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  661|     78|    tv->evaluate_default = NULL;
  662|       |
  663|     78|    tv->covariant = covariant;
  664|     78|    tv->contravariant = contravariant;
  665|     78|    tv->infer_variance = infer_variance;
  666|     78|    _PyObject_GC_TRACK(tv);
  ------------------
  |  |  508|     78|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     78|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     78|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  667|       |
  668|     78|    if (module != NULL) {
  ------------------
  |  Branch (668:9): [True: 68, False: 10]
  ------------------
  669|     68|        if (PyObject_SetAttrString((PyObject *)tv, "__module__", module) < 0) {
  ------------------
  |  Branch (669:13): [True: 0, False: 68]
  ------------------
  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|     68|    }
  674|       |
  675|     78|    return tv;
  676|     78|}
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|     70|{
  393|     70|    _PyInterpreterFrame *f = _PyThreadState_GET()->current_frame;
  394|     70|    if (f == NULL) {
  ------------------
  |  Branch (394:9): [True: 0, False: 70]
  ------------------
  395|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  396|      0|    }
  397|     70|    if (f == NULL || PyStackRef_IsNull(f->f_funcobj)) {
  ------------------
  |  |  470|     70|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  467|     70|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|     70|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (470:32): [True: 0, False: 70]
  |  |  ------------------
  ------------------
  |  Branch (397:9): [True: 0, False: 70]
  ------------------
  398|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  399|      0|    }
  400|     70|    PyObject *r = PyFunction_GetModule(PyStackRef_AsPyObjectBorrow(f->f_funcobj));
  401|     70|    if (!r) {
  ------------------
  |  Branch (401:9): [True: 0, False: 70]
  ------------------
  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|     70|    return Py_NewRef(r);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  406|     70|}
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|    240|{
 2366|    240|    return call_typing_args_kwargs("_generic_class_getitem",
 2367|    240|                                   (PyTypeObject*)cls, args, kwargs);
 2368|    240|}
typevarobject.c:call_typing_args_kwargs:
 2323|    356|{
 2324|    356|    PyObject *typing = NULL, *func = NULL, *new_args = NULL;
 2325|    356|    typing = PyImport_ImportModule("typing");
 2326|    356|    if (typing == NULL) {
  ------------------
  |  Branch (2326:9): [True: 0, False: 356]
  ------------------
 2327|      0|        goto error;
 2328|      0|    }
 2329|    356|    func = PyObject_GetAttrString(typing, name);
 2330|    356|    if (func == NULL) {
  ------------------
  |  Branch (2330:9): [True: 0, False: 356]
  ------------------
 2331|      0|        goto error;
 2332|      0|    }
 2333|    356|    assert(PyTuple_Check(args));
 2334|    356|    Py_ssize_t nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|    356|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    356|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    356|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2335|    356|    new_args = PyTuple_New(nargs + 1);
 2336|    356|    if (new_args == NULL) {
  ------------------
  |  Branch (2336:9): [True: 0, False: 356]
  ------------------
 2337|      0|        goto error;
 2338|      0|    }
 2339|    356|    PyTuple_SET_ITEM(new_args, 0, Py_NewRef((PyObject *)cls));
  ------------------
  |  |   40|    356|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    356|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    356|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    356|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    356|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2340|    596|    for (Py_ssize_t i = 0; i < nargs; i++) {
  ------------------
  |  Branch (2340:28): [True: 240, False: 356]
  ------------------
 2341|    240|        PyObject *arg = PyTuple_GET_ITEM(args, i);
  ------------------
  |  |   29|    240|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    240|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    240|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2342|    240|        PyTuple_SET_ITEM(new_args, i + 1, Py_NewRef(arg));
  ------------------
  |  |   40|    240|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    240|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    240|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    240|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    240|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2343|    240|    }
 2344|    356|    PyObject *result = PyObject_Call(func, new_args, kwargs);
 2345|    356|    Py_DECREF(typing);
  ------------------
  |  |  430|    356|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    356|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    356|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2346|    356|    Py_DECREF(func);
  ------------------
  |  |  430|    356|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    356|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    356|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2347|    356|    Py_DECREF(new_args);
  ------------------
  |  |  430|    356|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    356|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    356|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2348|    356|    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|    356|}
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|   116k|{
 2398|   116k|    PyTypeObject *tp = Py_TYPE(self);
  ------------------
  |  |  213|   116k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   116k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   116k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2399|   116k|    _PyObject_GC_UNTRACK(self);
  ------------------
  |  |  510|   116k|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   116k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   116k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2400|   116k|    Py_TYPE(self)->tp_free(self);
  ------------------
  |  |  213|   116k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   116k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   116k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2401|   116k|    Py_DECREF(tp);
  ------------------
  |  |  430|   116k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   116k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   116k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2402|   116k|}
typevarobject.c:typevar_typing_prepare_subst_impl:
  782|    102|{
  783|    102|    PyObject *params = PyObject_GetAttrString(alias, "__parameters__");
  784|    102|    if (params == NULL) {
  ------------------
  |  Branch (784:9): [True: 0, False: 102]
  ------------------
  785|      0|        return NULL;
  786|      0|    }
  787|    102|    Py_ssize_t i = PySequence_Index(params, (PyObject *)self);
  788|    102|    if (i == -1) {
  ------------------
  |  Branch (788:9): [True: 0, False: 102]
  ------------------
  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|    102|    Py_ssize_t args_len = PySequence_Length(args);
  ------------------
  |  |  682|    102|#define PySequence_Length PySequence_Size
  ------------------
  793|    102|    if (args_len == -1) {
  ------------------
  |  Branch (793:9): [True: 0, False: 102]
  ------------------
  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|    102|    if (i < args_len) {
  ------------------
  |  Branch (797:9): [True: 102, False: 0]
  ------------------
  798|       |        // We already have a value for our TypeVar
  799|    102|        Py_DECREF(params);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  800|    102|        return Py_NewRef(args);
  ------------------
  |  |  550|    102|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    102|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    102|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  801|    102|    }
  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|    102|}
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|     68|{
  699|     68|    if (covariant && contravariant) {
  ------------------
  |  Branch (699:9): [True: 10, False: 58]
  |  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|     68|    if (infer_variance && (covariant || contravariant)) {
  ------------------
  |  Branch (705:9): [True: 0, False: 68]
  |  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|     68|    if (Py_IsNone(bound)) {
  ------------------
  |  |  621|     68|#define Py_IsNone(x) Py_Is((x), Py_None)
  |  |  ------------------
  |  |  |  |  187|     68|#define Py_Is(x, y) ((x) == (y))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (187:21): [True: 60, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  712|     60|        bound = NULL;
  713|     60|    }
  714|     68|    if (bound != NULL) {
  ------------------
  |  Branch (714:9): [True: 8, False: 60]
  ------------------
  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|     68|    assert(PyTuple_CheckExact(constraints));
  722|     68|    Py_ssize_t n_constraints = PyTuple_GET_SIZE(constraints);
  ------------------
  |  |   27|     68|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     68|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     68|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  723|     68|    if (n_constraints == 1) {
  ------------------
  |  Branch (723:9): [True: 0, False: 68]
  ------------------
  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|     68|    } else if (n_constraints == 0) {
  ------------------
  |  Branch (728:16): [True: 66, False: 2]
  ------------------
  729|     66|        constraints = NULL;
  730|     66|    } 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|     68|    PyObject *module = caller();
  737|     68|    if (module == NULL) {
  ------------------
  |  Branch (737:9): [True: 0, False: 68]
  ------------------
  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|     68|    PyObject *tv = (PyObject *)typevar_alloc(name, bound, NULL,
  743|     68|                                             constraints, NULL,
  744|     68|                                             default_value,
  745|     68|                                             covariant, contravariant,
  746|     68|                                             infer_variance, module);
  747|     68|    Py_XDECREF(bound);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  748|     68|    Py_XDECREF(module);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  749|     68|    return tv;
  750|     68|}
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|    596|{
  498|    596|    Py_VISIT(Py_TYPE(self));
  ------------------
  |  |  194|    596|    do {                                                                \
  |  |  195|    596|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 596, False: 0]
  |  |  ------------------
  |  |  196|    596|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    596|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    596|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    596|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 596]
  |  |  ------------------
  |  |  198|    596|                return vret;                                            \
  |  |  199|    596|        }                                                               \
  |  |  200|    596|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 596]
  |  |  ------------------
  ------------------
  499|    596|    typevarobject *tv = typevarobject_CAST(self);
  ------------------
  |  |   68|    596|#define typevarobject_CAST(op)      ((typevarobject *)(op))
  ------------------
  500|    596|    Py_VISIT(tv->name);
  ------------------
  |  |  194|    596|    do {                                                                \
  |  |  195|    596|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 596, False: 0]
  |  |  ------------------
  |  |  196|    596|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    596|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    596|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    596|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 596]
  |  |  ------------------
  |  |  198|    596|                return vret;                                            \
  |  |  199|    596|        }                                                               \
  |  |  200|    596|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 596]
  |  |  ------------------
  ------------------
  501|    596|    Py_VISIT(tv->bound);
  ------------------
  |  |  194|    596|    do {                                                                \
  |  |  195|    596|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 64, False: 532]
  |  |  ------------------
  |  |  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|    596|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 596]
  |  |  ------------------
  ------------------
  502|    596|    Py_VISIT(tv->evaluate_bound);
  ------------------
  |  |  194|    596|    do {                                                                \
  |  |  195|    596|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 580]
  |  |  ------------------
  |  |  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|    596|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 596]
  |  |  ------------------
  ------------------
  503|    596|    Py_VISIT(tv->constraints);
  ------------------
  |  |  194|    596|    do {                                                                \
  |  |  195|    596|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 16, False: 580]
  |  |  ------------------
  |  |  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|    596|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 596]
  |  |  ------------------
  ------------------
  504|    596|    Py_VISIT(tv->evaluate_constraints);
  ------------------
  |  |  194|    596|    do {                                                                \
  |  |  195|    596|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 596]
  |  |  ------------------
  |  |  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|    596|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 596]
  |  |  ------------------
  ------------------
  505|    596|    Py_VISIT(tv->default_value);
  ------------------
  |  |  194|    596|    do {                                                                \
  |  |  195|    596|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 516, False: 80]
  |  |  ------------------
  |  |  196|    516|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    516|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    516|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    516|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 516]
  |  |  ------------------
  |  |  198|    516|                return vret;                                            \
  |  |  199|    516|        }                                                               \
  |  |  200|    596|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 596]
  |  |  ------------------
  ------------------
  506|    596|    Py_VISIT(tv->evaluate_default);
  ------------------
  |  |  194|    596|    do {                                                                \
  |  |  195|    596|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 596]
  |  |  ------------------
  |  |  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|    596|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 596]
  |  |  ------------------
  ------------------
  507|    596|    return PyObject_VisitManagedDict(self, visit, arg);
  508|    596|}
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|    512|{
  190|    512|    PyObject *result = NULL;
  191|    512|    char *buf;
  192|    512|    Py_ssize_t i;
  193|    512|    int sign;           /* 1 if '-', else 0 */
  194|    512|    int len;            /* number of characters */
  195|    512|    Py_ssize_t llen;
  196|    512|    int numdigits;      /* len == numnondigits + numdigits */
  197|    512|    int numnondigits = 0;
  198|       |
  199|       |    /* Avoid exceeding SSIZE_T_MAX */
  200|    512|    if (prec > INT_MAX-3) {
  ------------------
  |  Branch (200:9): [True: 0, False: 512]
  ------------------
  201|      0|        PyErr_SetString(PyExc_OverflowError,
  202|      0|                        "precision too large");
  203|      0|        return NULL;
  204|      0|    }
  205|       |
  206|    512|    assert(PyLong_Check(val));
  207|       |
  208|    512|    switch (type) {
  209|      0|    default:
  ------------------
  |  Branch (209:5): [True: 0, False: 512]
  ------------------
  210|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  211|      0|    case 'd':
  ------------------
  |  Branch (211:5): [True: 0, False: 512]
  ------------------
  212|      0|    case 'i':
  ------------------
  |  Branch (212:5): [True: 0, False: 512]
  ------------------
  213|      0|    case 'u':
  ------------------
  |  Branch (213:5): [True: 0, False: 512]
  ------------------
  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|      0|    case 'o':
  ------------------
  |  Branch (218:5): [True: 0, False: 512]
  ------------------
  219|      0|        numnondigits = 2;
  220|      0|        result = PyNumber_ToBase(val, 8);
  221|      0|        break;
  222|      0|    case 'x':
  ------------------
  |  Branch (222:5): [True: 0, False: 512]
  ------------------
  223|    512|    case 'X':
  ------------------
  |  Branch (223:5): [True: 512, False: 0]
  ------------------
  224|    512|        numnondigits = 2;
  225|    512|        result = PyNumber_ToBase(val, 16);
  226|    512|        break;
  227|    512|    }
  228|    512|    if (!result)
  ------------------
  |  Branch (228:9): [True: 0, False: 512]
  ------------------
  229|      0|        return NULL;
  230|       |
  231|    512|    assert(_PyUnicode_IsModifiable(result));
  232|    512|    assert(PyUnicode_IS_ASCII(result));
  233|       |
  234|       |    /* To modify the string in-place, there can only be one reference. */
  235|    512|    if (!_PyObject_IsUniquelyReferenced(result)) {
  ------------------
  |  Branch (235:9): [True: 0, False: 512]
  ------------------
  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|    512|    buf = PyUnicode_DATA(result);
  ------------------
  |  |  284|    512|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    512|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    512|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  241|    512|    llen = PyUnicode_GET_LENGTH(result);
  ------------------
  |  |  299|    512|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    512|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    512|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  242|    512|    if (llen > INT_MAX) {
  ------------------
  |  Branch (242:9): [True: 0, False: 512]
  ------------------
  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|    512|    len = (int)llen;
  249|    512|    sign = buf[0] == '-';
  250|    512|    numnondigits += sign;
  251|    512|    numdigits = len - numnondigits;
  252|    512|    assert(numdigits > 0);
  253|       |
  254|       |    /* Get rid of base marker unless F_ALT */
  255|    512|    if (((alt) == 0 &&
  ------------------
  |  Branch (255:10): [True: 512, False: 0]
  ------------------
  256|    512|        (type == 'o' || type == 'x' || type == 'X'))) {
  ------------------
  |  Branch (256:10): [True: 0, False: 512]
  |  Branch (256:25): [True: 0, False: 512]
  |  Branch (256:40): [True: 512, False: 0]
  ------------------
  257|    512|        assert(buf[sign] == '0');
  258|    512|        assert(buf[sign+1] == 'x' || buf[sign+1] == 'X' ||
  259|    512|               buf[sign+1] == 'o');
  260|    512|        numnondigits -= 2;
  261|    512|        buf += 2;
  262|    512|        len -= 2;
  263|    512|        if (sign)
  ------------------
  |  Branch (263:13): [True: 0, False: 512]
  ------------------
  264|      0|            buf[0] = '-';
  265|    512|        assert(len == numnondigits + numdigits);
  266|    512|        assert(numdigits > 0);
  267|    512|    }
  268|       |
  269|       |    /* Fill with leading zeroes to meet minimum width. */
  270|    512|    if (prec > numdigits) {
  ------------------
  |  Branch (270:9): [True: 0, False: 512]
  ------------------
  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|    512|    if (type == 'X') {
  ------------------
  |  Branch (292:9): [True: 512, False: 0]
  ------------------
  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|    512|    if (!PyUnicode_Check(result)
  ------------------
  |  |  103|    512|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.02k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (299:9): [True: 0, False: 512]
  ------------------
  300|    512|        || buf != PyUnicode_DATA(result)) {
  ------------------
  |  |  284|    512|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    512|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    512|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (300:12): [True: 512, False: 0]
  ------------------
  301|    512|        PyObject *unicode;
  302|    512|        unicode = _PyUnicode_FromASCII(buf, len);
  303|    512|        Py_SETREF(result, unicode);
  ------------------
  |  |  352|    512|    do { \
  |  |  353|    512|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|    512|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|    512|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|    512|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|    512|        *_tmp_dst_ptr = (src); \
  |  |  356|    512|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|    512|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 512]
  |  |  ------------------
  ------------------
  304|    512|    }
  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|    512|    return result;
  310|    512|}
PyUnicode_Format:
 1023|  9.49k|{
 1024|  9.49k|    struct unicode_formatter_t ctx;
 1025|       |
 1026|  9.49k|    if (format == NULL || args == NULL) {
  ------------------
  |  Branch (1026:9): [True: 0, False: 9.49k]
  |  Branch (1026:27): [True: 0, False: 9.49k]
  ------------------
 1027|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1028|      0|        return NULL;
 1029|      0|    }
 1030|       |
 1031|  9.49k|    if (ensure_unicode(format) < 0)
  ------------------
  |  |   52|  9.49k|#define ensure_unicode _PyUnicode_EnsureUnicode
  ------------------
  |  Branch (1031:9): [True: 0, False: 9.49k]
  ------------------
 1032|      0|        return NULL;
 1033|       |
 1034|  9.49k|    ctx.fmtstr = format;
 1035|  9.49k|    ctx.fmtdata = PyUnicode_DATA(ctx.fmtstr);
  ------------------
  |  |  284|  9.49k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.49k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.49k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1036|  9.49k|    ctx.fmtkind = PyUnicode_KIND(ctx.fmtstr);
  ------------------
  |  |  258|  9.49k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  9.49k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1037|  9.49k|    ctx.fmtcnt = PyUnicode_GET_LENGTH(ctx.fmtstr);
  ------------------
  |  |  299|  9.49k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.49k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.49k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1038|  9.49k|    ctx.fmtpos = 0;
 1039|       |
 1040|  9.49k|    _PyUnicodeWriter_Init(&ctx.writer);
 1041|  9.49k|    ctx.writer.min_length = ctx.fmtcnt + 100;
 1042|  9.49k|    ctx.writer.overallocate = 1;
 1043|       |
 1044|  9.49k|    if (PyTuple_Check(args)) {
  ------------------
  |  |   27|  9.49k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  9.49k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 2, False: 9.48k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1045|      2|        ctx.arglen = PyTuple_Size(args);
 1046|      2|        ctx.argidx = 0;
 1047|      2|    }
 1048|  9.48k|    else {
 1049|  9.48k|        ctx.arglen = -1;
 1050|  9.48k|        ctx.argidx = -2;
 1051|  9.48k|    }
 1052|  9.49k|    ctx.args_owned = 0;
 1053|  9.49k|    if (PyMapping_Check(args) && !PyTuple_Check(args) && !PyUnicode_Check(args))
  ------------------
  |  |   27|  8.97k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  18.4k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                  if (PyMapping_Check(args) && !PyTuple_Check(args) && !PyUnicode_Check(args))
  ------------------
  |  |  103|  8.97k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  8.97k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1053:9): [True: 8.97k, False: 512]
  |  Branch (1053:34): [True: 8.97k, False: 2]
  |  Branch (1053:58): [True: 2, False: 8.97k]
  ------------------
 1054|      2|        ctx.dict = args;
 1055|  9.48k|    else
 1056|  9.48k|        ctx.dict = NULL;
 1057|  9.49k|    ctx.args = args;
 1058|       |
 1059|  33.1k|    while (--ctx.fmtcnt >= 0) {
  ------------------
  |  Branch (1059:12): [True: 23.6k, False: 9.49k]
  ------------------
 1060|  23.6k|        if (PyUnicode_READ(ctx.fmtkind, ctx.fmtdata, ctx.fmtpos) != '%') {
  ------------------
  |  |  354|  23.6k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  23.6k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  23.6k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  23.6k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  23.6k|                   (index))
  ------------------
  |  Branch (1060:13): [True: 14.1k, False: 9.51k]
  ------------------
 1061|  14.1k|            Py_ssize_t nonfmtpos;
 1062|       |
 1063|  14.1k|            nonfmtpos = ctx.fmtpos++;
 1064|  90.5k|            while (ctx.fmtcnt >= 0 &&
  ------------------
  |  Branch (1064:20): [True: 85.9k, False: 4.62k]
  ------------------
 1065|  85.9k|                   PyUnicode_READ(ctx.fmtkind, ctx.fmtdata, ctx.fmtpos) != '%') {
  ------------------
  |  |  354|  85.9k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  85.9k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  85.9k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  85.9k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  85.9k|                   (index))
  ------------------
  |  Branch (1065:20): [True: 76.4k, False: 9.50k]
  ------------------
 1066|  76.4k|                ctx.fmtpos++;
 1067|  76.4k|                ctx.fmtcnt--;
 1068|  76.4k|            }
 1069|  14.1k|            if (ctx.fmtcnt < 0) {
  ------------------
  |  Branch (1069:17): [True: 4.62k, False: 9.50k]
  ------------------
 1070|  4.62k|                ctx.fmtpos--;
 1071|  4.62k|                ctx.writer.overallocate = 0;
 1072|  4.62k|            }
 1073|       |
 1074|  14.1k|            if (_PyUnicodeWriter_WriteSubstring(&ctx.writer, ctx.fmtstr,
  ------------------
  |  Branch (1074:17): [True: 0, False: 14.1k]
  ------------------
 1075|  14.1k|                                                nonfmtpos, ctx.fmtpos) < 0)
 1076|      0|                goto onError;
 1077|  14.1k|        }
 1078|  9.51k|        else {
 1079|  9.51k|            ctx.fmtpos++;
 1080|  9.51k|            if (unicode_format_arg(&ctx) == -1)
  ------------------
  |  Branch (1080:17): [True: 0, False: 9.51k]
  ------------------
 1081|      0|                goto onError;
 1082|  9.51k|        }
 1083|  23.6k|    }
 1084|       |
 1085|  9.49k|    if (ctx.argidx < ctx.arglen && !ctx.dict) {
  ------------------
  |  Branch (1085:9): [True: 0, False: 9.49k]
  |  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|  9.49k|    if (ctx.args_owned) {
  ------------------
  |  Branch (1094:9): [True: 2, False: 9.48k]
  ------------------
 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|  9.49k|    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|  9.49k|}
unicode_format.c:unicode_format_arg:
  967|  9.51k|{
  968|  9.51k|    struct unicode_format_arg_t arg;
  969|  9.51k|    PyObject *str;
  970|  9.51k|    int ret;
  971|       |
  972|  9.51k|    arg.ch = PyUnicode_READ(ctx->fmtkind, ctx->fmtdata, ctx->fmtpos);
  ------------------
  |  |  354|  9.51k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  9.51k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  9.51k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  9.51k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  9.51k|                   (index))
  ------------------
  973|  9.51k|    if (arg.ch == '%') {
  ------------------
  |  Branch (973:9): [True: 0, False: 9.51k]
  ------------------
  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|  9.51k|    arg.flags = 0;
  981|  9.51k|    arg.width = -1;
  982|  9.51k|    arg.prec = -1;
  983|  9.51k|    arg.sign = 0;
  984|  9.51k|    arg.fmtstart = ctx->fmtpos - 1;
  985|  9.51k|    arg.key = NULL;
  986|  9.51k|    str = NULL;
  987|       |
  988|  9.51k|    ret = unicode_format_arg_parse(ctx, &arg);
  989|  9.51k|    if (ret == -1) {
  ------------------
  |  Branch (989:9): [True: 0, False: 9.51k]
  ------------------
  990|      0|        goto onError;
  991|      0|    }
  992|       |
  993|  9.51k|    ret = unicode_format_arg_format(ctx, &arg, &str);
  994|  9.51k|    if (ret == -1) {
  ------------------
  |  Branch (994:9): [True: 0, False: 9.51k]
  ------------------
  995|      0|        goto onError;
  996|      0|    }
  997|       |
  998|  9.51k|    if (ret != 1) {
  ------------------
  |  Branch (998:9): [True: 9.50k, False: 4]
  ------------------
  999|  9.50k|        ret = unicode_format_arg_output(ctx, &arg, str);
 1000|  9.50k|        Py_DECREF(str);
  ------------------
  |  |  430|  9.50k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.50k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.50k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1001|  9.50k|        if (ret == -1) {
  ------------------
  |  Branch (1001:13): [True: 0, False: 9.50k]
  ------------------
 1002|      0|            goto onError;
 1003|      0|        }
 1004|  9.50k|    }
 1005|       |
 1006|  9.51k|    if (ctx->dict && (ctx->argidx < ctx->arglen)) {
  ------------------
  |  Branch (1006:9): [True: 20, False: 9.49k]
  |  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|  9.51k|    Py_XDECREF(arg.key);
  ------------------
  |  |  524|  9.51k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.51k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.51k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1013|  9.51k|    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|  9.51k|}
unicode_format.c:unicode_format_arg_parse:
  461|  9.51k|{
  462|  9.51k|#define FORMAT_READ(ctx) \
  463|  9.51k|        PyUnicode_READ((ctx)->fmtkind, (ctx)->fmtdata, (ctx)->fmtpos)
  464|       |
  465|  9.51k|    PyObject *v;
  466|       |
  467|  9.51k|    if (arg->ch == '(') {
  ------------------
  |  Branch (467:9): [True: 20, False: 9.49k]
  ------------------
  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|  9.49k|    else {
  514|  9.49k|        if (ctx->arglen < -1) {
  ------------------
  |  Branch (514:13): [True: 0, False: 9.49k]
  ------------------
  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|  9.49k|    }
  522|       |
  523|       |    /* Parse flags. Example: "%+i" => flags=F_SIGN. */
  524|  10.0k|    while (--ctx->fmtcnt >= 0) {
  ------------------
  |  Branch (524:12): [True: 10.0k, False: 0]
  ------------------
  525|  10.0k|        arg->ch = FORMAT_READ(ctx);
  ------------------
  |  |  463|  10.0k|        PyUnicode_READ((ctx)->fmtkind, (ctx)->fmtdata, (ctx)->fmtpos)
  |  |  ------------------
  |  |  |  |  354|  10.0k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  10.0k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  355|  10.0k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  10.0k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|  10.0k|                   (index))
  |  |  ------------------
  ------------------
  526|  10.0k|        ctx->fmtpos++;
  527|  10.0k|        switch (arg->ch) {
  ------------------
  |  Branch (527:17): [True: 512, False: 9.51k]
  ------------------
  528|      0|        case '-': arg->flags |= F_LJUST; continue;
  ------------------
  |  |   18|      0|#define F_LJUST (1<<0)
  ------------------
  |  Branch (528:9): [True: 0, False: 10.0k]
  ------------------
  529|      0|        case '+': arg->flags |= F_SIGN; continue;
  ------------------
  |  |   19|      0|#define F_SIGN  (1<<1)
  ------------------
  |  Branch (529:9): [True: 0, False: 10.0k]
  ------------------
  530|      0|        case ' ': arg->flags |= F_BLANK; continue;
  ------------------
  |  |   20|      0|#define F_BLANK (1<<2)
  ------------------
  |  Branch (530:9): [True: 0, False: 10.0k]
  ------------------
  531|      0|        case '#': arg->flags |= F_ALT; continue;
  ------------------
  |  |   21|      0|#define F_ALT   (1<<3)
  ------------------
  |  Branch (531:9): [True: 0, False: 10.0k]
  ------------------
  532|    512|        case '0': arg->flags |= F_ZERO; continue;
  ------------------
  |  |   22|    512|#define F_ZERO  (1<<4)
  ------------------
  |  Branch (532:9): [True: 512, False: 9.51k]
  ------------------
  533|  10.0k|        }
  534|  9.51k|        break;
  535|  10.0k|    }
  536|       |
  537|       |    /* Parse width. Example: "%10s" => width=10 */
  538|  9.51k|    if (arg->ch == '*') {
  ------------------
  |  Branch (538:9): [True: 0, False: 9.51k]
  ------------------
  539|      0|        if (ctx->arglen < -1) {
  ------------------
  |  Branch (539:13): [True: 0, False: 0]
  ------------------
  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|      0|        v = unicode_format_getnextarg(ctx, 0);
  547|      0|        if (v == NULL)
  ------------------
  |  Branch (547:13): [True: 0, False: 0]
  ------------------
  548|      0|            return -1;
  549|      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 (549:13): [True: 0, False: 0]
  ------------------
  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|      0|        arg->width = PyLong_AsSsize_t(v);
  554|      0|        if (arg->width == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (554:13): [True: 0, False: 0]
  |  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|      0|        if (arg->width < 0) {
  ------------------
  |  Branch (561:13): [True: 0, False: 0]
  ------------------
  562|      0|            arg->flags |= F_LJUST;
  ------------------
  |  |   18|      0|#define F_LJUST (1<<0)
  ------------------
  563|      0|            arg->width = -arg->width;
  564|      0|        }
  565|      0|        if (--ctx->fmtcnt >= 0) {
  ------------------
  |  Branch (565:13): [True: 0, False: 0]
  ------------------
  566|      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))
  |  |  ------------------
  ------------------
  567|      0|            ctx->fmtpos++;
  568|      0|        }
  569|      0|    }
  570|  9.51k|    else if (arg->ch >= '0' && arg->ch <= '9') {
  ------------------
  |  Branch (570:14): [True: 9.51k, False: 0]
  |  Branch (570:32): [True: 512, False: 8.99k]
  ------------------
  571|    512|        arg->width = arg->ch - '0';
  572|    512|        while (--ctx->fmtcnt >= 0) {
  ------------------
  |  Branch (572:16): [True: 512, False: 0]
  ------------------
  573|    512|            arg->ch = FORMAT_READ(ctx);
  ------------------
  |  |  463|    512|        PyUnicode_READ((ctx)->fmtkind, (ctx)->fmtdata, (ctx)->fmtpos)
  |  |  ------------------
  |  |  |  |  354|    512|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|    512|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  355|    512|                   _Py_STATIC_CAST(const void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|    512|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  356|    512|                   (index))
  |  |  ------------------
  ------------------
  574|    512|            ctx->fmtpos++;
  575|    512|            if (arg->ch < '0' || arg->ch > '9')
  ------------------
  |  Branch (575:17): [True: 0, False: 512]
  |  Branch (575:34): [True: 512, False: 0]
  ------------------
  576|    512|                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|    512|    }
  589|       |
  590|       |    /* Parse precision. Example: "%.3f" => prec=3 */
  591|  9.51k|    if (arg->ch == '.') {
  ------------------
  |  Branch (591:9): [True: 0, False: 9.51k]
  ------------------
  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|  9.51k|    if (ctx->fmtcnt >= 0) {
  ------------------
  |  Branch (646:9): [True: 9.51k, False: 0]
  ------------------
  647|  9.51k|        if (arg->ch == 'h' || arg->ch == 'l' || arg->ch == 'L') {
  ------------------
  |  Branch (647:13): [True: 0, False: 9.51k]
  |  Branch (647:31): [True: 0, False: 9.51k]
  |  Branch (647:49): [True: 0, False: 9.51k]
  ------------------
  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|  9.51k|    }
  654|  9.51k|    if (ctx->fmtcnt < 0) {
  ------------------
  |  Branch (654:9): [True: 0, False: 9.51k]
  ------------------
  655|      0|        PyErr_Format(PyExc_ValueError,
  656|      0|                     "stray %% at position %zd", arg->fmtstart);
  657|      0|        return -1;
  658|      0|    }
  659|  9.51k|    return 0;
  660|       |
  661|  9.51k|#undef FORMAT_READ
  662|  9.51k|}
unicode_format.c:unicode_format_getnextarg:
   98|  9.51k|{
   99|  9.51k|    Py_ssize_t argidx = ctx->argidx;
  100|       |
  101|  9.51k|    if (argidx < ctx->arglen && (allowone || ctx->arglen >= 0)) {
  ------------------
  |  Branch (101:9): [True: 9.51k, False: 0]
  |  Branch (101:34): [True: 9.51k, False: 0]
  |  Branch (101:46): [True: 0, False: 0]
  ------------------
  102|  9.51k|        ctx->argidx++;
  103|  9.51k|        if (ctx->arglen >= 0) {
  ------------------
  |  Branch (103:13): [True: 4, False: 9.50k]
  ------------------
  104|      4|            return PyTuple_GetItem(ctx->args, argidx);
  105|      4|        }
  106|  9.50k|        else if (allowone) {
  ------------------
  |  Branch (106:18): [True: 9.50k, False: 0]
  ------------------
  107|  9.50k|            return ctx->args;
  108|  9.50k|        }
  109|  9.51k|    }
  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|  9.51k|}
unicode_format.c:unicode_format_arg_format:
  683|  9.51k|{
  684|  9.51k|    PyObject *v;
  685|  9.51k|    _PyUnicodeWriter *writer = &ctx->writer;
  686|       |
  687|  9.51k|    if (ctx->fmtcnt == 0)
  ------------------
  |  Branch (687:9): [True: 4.87k, False: 4.64k]
  ------------------
  688|  4.87k|        ctx->writer.overallocate = 0;
  689|       |
  690|  9.51k|    v = unicode_format_getnextarg(ctx, 1);
  691|  9.51k|    if (v == NULL)
  ------------------
  |  Branch (691:9): [True: 0, False: 9.51k]
  ------------------
  692|      0|        return -1;
  693|       |
  694|       |
  695|  9.51k|    switch (arg->ch) {
  696|  4.69k|    case 's':
  ------------------
  |  Branch (696:5): [True: 4.69k, False: 4.82k]
  ------------------
  697|  8.99k|    case 'r':
  ------------------
  |  Branch (697:5): [True: 4.30k, False: 5.20k]
  ------------------
  698|  8.99k|    case 'a':
  ------------------
  |  Branch (698:5): [True: 0, False: 9.51k]
  ------------------
  699|  8.99k|        if (PyLong_CheckExact(v) && arg->width == -1 && arg->prec == -1) {
  ------------------
  |  |   14|  8.99k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  17.9k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  8.99k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  8.99k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 8.99k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  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|  8.99k|        if (PyUnicode_CheckExact(v) && arg->ch == 's') {
  ------------------
  |  |  104|  8.99k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  17.9k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  8.99k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  8.99k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 8.99k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (706:40): [True: 4.69k, False: 4.30k]
  ------------------
  707|  4.69k|            *p_str = Py_NewRef(v);
  ------------------
  |  |  550|  4.69k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  4.69k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.69k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  708|  4.69k|        }
  709|  4.30k|        else {
  710|  4.30k|            if (arg->ch == 's')
  ------------------
  |  Branch (710:17): [True: 0, False: 4.30k]
  ------------------
  711|      0|                *p_str = PyObject_Str(v);
  712|  4.30k|            else if (arg->ch == 'r')
  ------------------
  |  Branch (712:22): [True: 4.30k, False: 0]
  ------------------
  713|  4.30k|                *p_str = PyObject_Repr(v);
  714|      0|            else
  715|      0|                *p_str = PyObject_ASCII(v);
  716|  4.30k|        }
  717|  8.99k|        break;
  718|       |
  719|      0|    case 'i':
  ------------------
  |  Branch (719:5): [True: 0, False: 9.51k]
  ------------------
  720|      4|    case 'd':
  ------------------
  |  Branch (720:5): [True: 4, False: 9.50k]
  ------------------
  721|      4|    case 'u':
  ------------------
  |  Branch (721:5): [True: 0, False: 9.51k]
  ------------------
  722|      4|    case 'o':
  ------------------
  |  Branch (722:5): [True: 0, False: 9.51k]
  ------------------
  723|      4|    case 'x':
  ------------------
  |  Branch (723:5): [True: 0, False: 9.51k]
  ------------------
  724|    516|    case 'X':
  ------------------
  |  Branch (724:5): [True: 512, False: 8.99k]
  ------------------
  725|    516|    {
  726|    516|        int ret = mainformatlong(v, ctx, arg, p_str, writer);
  727|    516|        if (ret != 0)
  ------------------
  |  Branch (727:13): [True: 4, False: 512]
  ------------------
  728|      4|            return ret;
  729|    512|        arg->sign = 1;
  730|    512|        break;
  731|    516|    }
  732|       |
  733|      0|    case 'e':
  ------------------
  |  Branch (733:5): [True: 0, False: 9.51k]
  ------------------
  734|      0|    case 'E':
  ------------------
  |  Branch (734:5): [True: 0, False: 9.51k]
  ------------------
  735|      0|    case 'f':
  ------------------
  |  Branch (735:5): [True: 0, False: 9.51k]
  ------------------
  736|      0|    case 'F':
  ------------------
  |  Branch (736:5): [True: 0, False: 9.51k]
  ------------------
  737|      0|    case 'g':
  ------------------
  |  Branch (737:5): [True: 0, False: 9.51k]
  ------------------
  738|      0|    case 'G':
  ------------------
  |  Branch (738:5): [True: 0, False: 9.51k]
  ------------------
  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: 9.51k]
  ------------------
  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: 9.51k]
  ------------------
  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|  9.51k|    }
  803|  9.50k|    if (*p_str == NULL)
  ------------------
  |  Branch (803:9): [True: 0, False: 9.50k]
  ------------------
  804|      0|        return -1;
  805|  9.50k|    assert (PyUnicode_Check(*p_str));
  806|  9.50k|    return 0;
  807|  9.50k|}
unicode_format.c:mainformatlong:
  323|    516|{
  324|    516|    PyObject *iobj, *res;
  325|    516|    char type = (char)arg->ch;
  326|       |
  327|    516|    if (!PyNumber_Check(v))
  ------------------
  |  Branch (327:9): [True: 0, False: 516]
  ------------------
  328|      0|        goto wrongtype;
  329|       |
  330|       |    /* make sure number is a type of integer for o, x, and X */
  331|    516|    if (!PyLong_Check(v)) {
  ------------------
  |  |   13|    516|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    516|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (331:9): [True: 0, False: 516]
  ------------------
  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|    516|    else {
  346|    516|        iobj = Py_NewRef(v);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  347|    516|    }
  348|       |
  349|    516|    if (PyLong_CheckExact(v)
  ------------------
  |  |   14|    516|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  1.03k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    516|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    516|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 516, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  350|    516|        && arg->width == -1 && arg->prec == -1
  ------------------
  |  Branch (350:12): [True: 4, False: 512]
  |  Branch (350:32): [True: 4, False: 0]
  ------------------
  351|      4|        && !(arg->flags & (F_SIGN | F_BLANK))
  ------------------
  |  |   19|      4|#define F_SIGN  (1<<1)
  ------------------
                      && !(arg->flags & (F_SIGN | F_BLANK))
  ------------------
  |  |   20|      4|#define F_BLANK (1<<2)
  ------------------
  |  Branch (351:12): [True: 4, False: 0]
  ------------------
  352|      4|        && type != 'X')
  ------------------
  |  Branch (352:12): [True: 4, False: 0]
  ------------------
  353|      4|    {
  354|       |        /* Fast path */
  355|      4|        int alternate = arg->flags & F_ALT;
  ------------------
  |  |   21|      4|#define F_ALT   (1<<3)
  ------------------
  356|      4|        int base;
  357|       |
  358|      4|        switch(type)
  359|      4|        {
  360|      0|            default:
  ------------------
  |  Branch (360:13): [True: 0, False: 4]
  ------------------
  361|      0|                Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  362|      4|            case 'd':
  ------------------
  |  Branch (362:13): [True: 4, False: 0]
  ------------------
  363|      4|            case 'i':
  ------------------
  |  Branch (363:13): [True: 0, False: 4]
  ------------------
  364|      4|            case 'u':
  ------------------
  |  Branch (364:13): [True: 0, False: 4]
  ------------------
  365|      4|                base = 10;
  366|      4|                break;
  367|      0|            case 'o':
  ------------------
  |  Branch (367:13): [True: 0, False: 4]
  ------------------
  368|      0|                base = 8;
  369|      0|                break;
  370|      0|            case 'x':
  ------------------
  |  Branch (370:13): [True: 0, False: 4]
  ------------------
  371|      0|            case 'X':
  ------------------
  |  Branch (371:13): [True: 0, False: 4]
  ------------------
  372|      0|                base = 16;
  373|      0|                break;
  374|      4|        }
  375|       |
  376|      4|        if (_PyLong_FormatWriter(writer, v, base, alternate) == -1) {
  ------------------
  |  Branch (376:13): [True: 0, False: 4]
  ------------------
  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|      4|        Py_DECREF(iobj);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  381|      4|        return 1;
  382|      4|    }
  383|       |
  384|    512|    res = _PyUnicode_FormatLong(iobj, arg->flags & F_ALT, arg->prec, type);
  ------------------
  |  |   21|    512|#define F_ALT   (1<<3)
  ------------------
  385|    512|    Py_DECREF(iobj);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  386|    512|    if (res == NULL)
  ------------------
  |  Branch (386:9): [True: 0, False: 512]
  ------------------
  387|      0|        return -1;
  388|    512|    *p_output = res;
  389|    512|    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|  9.50k|{
  815|  9.50k|    Py_ssize_t len;
  816|  9.50k|    int kind;
  817|  9.50k|    const void *pbuf;
  818|  9.50k|    Py_ssize_t pindex;
  819|  9.50k|    Py_UCS4 signchar;
  820|  9.50k|    Py_ssize_t buflen;
  821|  9.50k|    Py_UCS4 maxchar;
  822|  9.50k|    Py_ssize_t sublen;
  823|  9.50k|    _PyUnicodeWriter *writer = &ctx->writer;
  824|  9.50k|    Py_UCS4 fill;
  825|       |
  826|  9.50k|    fill = ' ';
  827|  9.50k|    if (arg->sign && arg->flags & F_ZERO)
  ------------------
  |  |   22|    512|#define F_ZERO  (1<<4)
  ------------------
  |  Branch (827:9): [True: 512, False: 8.99k]
  |  Branch (827:22): [True: 512, False: 0]
  ------------------
  828|    512|        fill = '0';
  829|       |
  830|  9.50k|    len = PyUnicode_GET_LENGTH(str);
  ------------------
  |  |  299|  9.50k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.50k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.50k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  831|  9.50k|    if ((arg->width == -1 || arg->width <= len)
  ------------------
  |  Branch (831:10): [True: 8.99k, False: 512]
  |  Branch (831:30): [True: 480, False: 32]
  ------------------
  832|  9.47k|        && (arg->prec == -1 || arg->prec >= len)
  ------------------
  |  Branch (832:13): [True: 9.47k, False: 0]
  |  Branch (832:32): [True: 0, False: 0]
  ------------------
  833|  9.47k|        && !(arg->flags & (F_SIGN | F_BLANK)))
  ------------------
  |  |   19|  9.47k|#define F_SIGN  (1<<1)
  ------------------
                      && !(arg->flags & (F_SIGN | F_BLANK)))
  ------------------
  |  |   20|  9.47k|#define F_BLANK (1<<2)
  ------------------
  |  Branch (833:12): [True: 9.47k, False: 0]
  ------------------
  834|  9.47k|    {
  835|       |        /* Fast path */
  836|  9.47k|        if (_PyUnicodeWriter_WriteStr(writer, str) == -1)
  ------------------
  |  Branch (836:13): [True: 0, False: 9.47k]
  ------------------
  837|      0|            return -1;
  838|  9.47k|        return 0;
  839|  9.47k|    }
  840|       |
  841|       |    /* Truncate the string for "s", "r" and "a" formats
  842|       |       if the precision is set */
  843|     32|    if (arg->ch == 's' || arg->ch == 'r' || arg->ch == 'a') {
  ------------------
  |  Branch (843:9): [True: 0, False: 32]
  |  Branch (843:27): [True: 0, False: 32]
  |  Branch (843:45): [True: 0, False: 32]
  ------------------
  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|     32|    kind = PyUnicode_KIND(str);
  ------------------
  |  |  258|     32|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|     32|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  850|     32|    pbuf = PyUnicode_DATA(str);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  851|     32|    pindex = 0;
  852|     32|    signchar = '\0';
  853|     32|    if (arg->sign) {
  ------------------
  |  Branch (853:9): [True: 32, False: 0]
  ------------------
  854|     32|        Py_UCS4 ch = PyUnicode_READ(kind, pbuf, pindex);
  ------------------
  |  |  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))
  ------------------
  855|     32|        if (ch == '-' || ch == '+') {
  ------------------
  |  Branch (855:13): [True: 0, False: 32]
  |  Branch (855:26): [True: 0, False: 32]
  ------------------
  856|      0|            signchar = ch;
  857|      0|            len--;
  858|      0|            pindex++;
  859|      0|        }
  860|     32|        else if (arg->flags & F_SIGN)
  ------------------
  |  |   19|     32|#define F_SIGN  (1<<1)
  ------------------
  |  Branch (860:18): [True: 0, False: 32]
  ------------------
  861|      0|            signchar = '+';
  862|     32|        else if (arg->flags & F_BLANK)
  ------------------
  |  |   20|     32|#define F_BLANK (1<<2)
  ------------------
  |  Branch (862:18): [True: 0, False: 32]
  ------------------
  863|      0|            signchar = ' ';
  864|     32|        else
  865|     32|            arg->sign = 0;
  866|     32|    }
  867|     32|    if (arg->width < len)
  ------------------
  |  Branch (867:9): [True: 0, False: 32]
  ------------------
  868|      0|        arg->width = len;
  869|       |
  870|       |    /* Prepare the writer */
  871|     32|    maxchar = writer->maxchar;
  872|     32|    if (!(arg->flags & F_LJUST)) {
  ------------------
  |  |   18|     32|#define F_LJUST (1<<0)
  ------------------
  |  Branch (872:9): [True: 32, False: 0]
  ------------------
  873|     32|        if (arg->sign) {
  ------------------
  |  Branch (873:13): [True: 0, False: 32]
  ------------------
  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|     32|        else {
  878|     32|            if (arg->width > len)
  ------------------
  |  Branch (878:17): [True: 32, False: 0]
  ------------------
  879|     32|                maxchar = Py_MAX(maxchar, fill);
  ------------------
  |  |  115|     32|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 32, False: 0]
  |  |  ------------------
  ------------------
  880|     32|        }
  881|     32|    }
  882|     32|    if (PyUnicode_MAX_CHAR_VALUE(str) > maxchar) {
  ------------------
  |  |  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 (882:9): [True: 0, False: 32]
  ------------------
  883|      0|        Py_UCS4 strmaxchar = _PyUnicode_FindMaxChar(str, 0, pindex+len);
  884|      0|        maxchar = Py_MAX(maxchar, strmaxchar);
  ------------------
  |  |  115|      0|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  885|      0|    }
  886|       |
  887|     32|    buflen = arg->width;
  888|     32|    if (arg->sign && len == arg->width)
  ------------------
  |  Branch (888:9): [True: 0, False: 32]
  |  Branch (888:22): [True: 0, False: 0]
  ------------------
  889|      0|        buflen++;
  890|     32|    if (_PyUnicodeWriter_Prepare(writer, buflen, maxchar) == -1)
  ------------------
  |  |  562|     32|    (((MAXCHAR) <= (WRITER)->maxchar                                  \
  |  |  ------------------
  |  |  |  Branch (562:7): [True: 32, False: 0]
  |  |  ------------------
  |  |  563|     32|      && (LENGTH) <= (WRITER)->size - (WRITER)->pos)                  \
  |  |  ------------------
  |  |  |  Branch (563:10): [True: 32, False: 0]
  |  |  ------------------
  |  |  564|     32|     ? 0                                                              \
  |  |  565|     32|     : (((LENGTH) == 0)                                               \
  |  |  ------------------
  |  |  |  Branch (565:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  566|      0|        ? 0                                                           \
  |  |  567|      0|        : _PyUnicodeWriter_PrepareInternal((WRITER), (LENGTH), (MAXCHAR))))
  ------------------
  |  Branch (890:9): [True: 0, False: 32]
  ------------------
  891|      0|        return -1;
  892|       |
  893|       |    /* Write the sign if needed */
  894|     32|    if (arg->sign) {
  ------------------
  |  Branch (894:9): [True: 0, False: 32]
  ------------------
  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|     32|    if ((arg->flags & F_ALT) && (arg->ch == 'x' || arg->ch == 'X' || arg->ch == 'o')) {
  ------------------
  |  |   21|     32|#define F_ALT   (1<<3)
  ------------------
  |  Branch (906:9): [True: 0, False: 32]
  |  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|     32|    if (arg->width > len && !(arg->flags & F_LJUST)) {
  ------------------
  |  |   18|     32|#define F_LJUST (1<<0)
  ------------------
  |  Branch (922:9): [True: 32, False: 0]
  |  Branch (922:29): [True: 32, False: 0]
  ------------------
  923|     32|        sublen = arg->width - len;
  924|     32|        _PyUnicode_Fill(writer->kind, writer->data, fill, writer->pos, sublen);
  925|     32|        writer->pos += sublen;
  926|     32|        arg->width = len;
  927|     32|    }
  928|       |
  929|       |    /* If padding with spaces: write sign if needed and/or numeric prefix if
  930|       |       the alternate form is used */
  931|     32|    if (fill == ' ') {
  ------------------
  |  Branch (931:9): [True: 0, False: 32]
  ------------------
  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|     32|    if (len) {
  ------------------
  |  Branch (947:9): [True: 32, False: 0]
  ------------------
  948|     32|        _PyUnicode_FastCopyCharacters(writer->buffer, writer->pos,
  949|     32|                                      str, pindex, len);
  950|     32|        writer->pos += len;
  951|     32|    }
  952|       |
  953|       |    /* Pad right with the fill character if needed */
  954|     32|    if (arg->width > len) {
  ------------------
  |  Branch (954:9): [True: 0, False: 32]
  ------------------
  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|     32|    return 0;
  960|     32|}

_PyUnicode_FormatAdvancedWriter:
 1793|  26.1k|{
 1794|  26.1k|    InternalFormatSpec format;
 1795|       |
 1796|  26.1k|    assert(PyUnicode_Check(obj));
 1797|       |
 1798|       |    /* check for the special case of zero length format spec, make
 1799|       |       it equivalent to str(obj) */
 1800|  26.1k|    if (start == end) {
  ------------------
  |  Branch (1800:9): [True: 26.1k, False: 0]
  ------------------
 1801|  26.1k|        if (PyUnicode_CheckExact(obj))
  ------------------
  |  |  104|  26.1k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  26.1k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  26.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  26.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 26.1k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1802|  26.1k|            return _PyUnicodeWriter_WriteStr(writer, obj);
 1803|      0|        else
 1804|      0|            return format_obj(obj, writer);
 1805|  26.1k|    }
 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.12M|{
  145|  1.12M|    memset(writer, 0, sizeof(*writer));
  146|       |
  147|       |    /* ASCII is the bare minimum */
  148|  1.12M|    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.12M|    assert(writer->kind == 0);
  153|       |    assert(writer->kind < PyUnicode_1BYTE_KIND);
  154|  1.12M|}
PyUnicodeWriter_Create:
  159|  27.5k|{
  160|  27.5k|    if (length < 0) {
  ------------------
  |  Branch (160:9): [True: 0, False: 27.5k]
  ------------------
  161|      0|        PyErr_SetString(PyExc_ValueError,
  162|      0|                        "length must be positive");
  163|      0|        return NULL;
  164|      0|    }
  165|       |
  166|  27.5k|    const size_t size = sizeof(_PyUnicodeWriter);
  167|  27.5k|    PyUnicodeWriter *pub_writer;
  168|  27.5k|    pub_writer = _Py_FREELIST_POP_MEM(unicode_writers);
  ------------------
  |  |   48|  27.5k|    _PyFreeList_PopMem(&_Py_freelists_GET()->NAME)
  ------------------
  169|  27.5k|    if (pub_writer == NULL) {
  ------------------
  |  Branch (169:9): [True: 7, False: 27.5k]
  ------------------
  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|  27.5k|    _PyUnicodeWriter *writer = (_PyUnicodeWriter *)pub_writer;
  176|       |
  177|  27.5k|    _PyUnicodeWriter_Init(writer);
  178|  27.5k|    if (_PyUnicodeWriter_Prepare(writer, length, 127) < 0) {
  ------------------
  |  |  562|  27.5k|    (((MAXCHAR) <= (WRITER)->maxchar                                  \
  |  |  ------------------
  |  |  |  Branch (562:7): [True: 0, False: 27.5k]
  |  |  ------------------
  |  |  563|  27.5k|      && (LENGTH) <= (WRITER)->size - (WRITER)->pos)                  \
  |  |  ------------------
  |  |  |  Branch (563:10): [True: 0, False: 0]
  |  |  ------------------
  |  |  564|  27.5k|     ? 0                                                              \
  |  |  565|  27.5k|     : (((LENGTH) == 0)                                               \
  |  |  ------------------
  |  |  |  Branch (565:9): [True: 294, False: 27.2k]
  |  |  ------------------
  |  |  566|  27.5k|        ? 0                                                           \
  |  |  567|  27.5k|        : _PyUnicodeWriter_PrepareInternal((WRITER), (LENGTH), (MAXCHAR))))
  ------------------
  |  Branch (178:9): [True: 0, False: 27.5k]
  ------------------
  179|      0|        PyUnicodeWriter_Discard(pub_writer);
  180|      0|        return NULL;
  181|      0|    }
  182|  27.5k|    writer->overallocate = 1;
  183|       |
  184|  27.5k|    return pub_writer;
  185|  27.5k|}
PyUnicodeWriter_Discard:
  189|    100|{
  190|    100|    if (writer == NULL) {
  ------------------
  |  Branch (190:9): [True: 4, False: 96]
  ------------------
  191|      4|        return;
  192|      4|    }
  193|     96|    _PyUnicodeWriter_Dealloc((_PyUnicodeWriter*)writer);
  194|     96|    _Py_FREELIST_FREE(unicode_writers, writer, PyMem_Free);
  ------------------
  |  |   35|     96|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|     96|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     96|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|     96|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   29|     96|#  define Py_unicode_writers_MAXFREELIST 1
  |  |  ------------------
  ------------------
  195|     96|}
_PyUnicodeWriter_InitWithBuffer:
  201|     80|{
  202|     80|    memset(writer, 0, sizeof(*writer));
  203|     80|    writer->buffer = buffer;
  204|     80|    _PyUnicodeWriter_Update(writer);
  205|     80|    writer->min_length = writer->size;
  206|     80|}
_PyUnicodeWriter_PrepareInternal:
  212|  1.13M|{
  213|  1.13M|    Py_ssize_t newlen;
  214|  1.13M|    PyObject *newbuffer;
  215|       |
  216|  1.13M|    assert(length >= 0);
  217|  1.13M|    assert(maxchar <= _Py_MAX_UNICODE);
  218|       |
  219|       |    /* ensure that the _PyUnicodeWriter_Prepare macro was used */
  220|  1.13M|    assert((maxchar > writer->maxchar && length >= 0)
  221|  1.13M|           || length > 0);
  222|       |
  223|  1.13M|    if (length > PY_SSIZE_T_MAX - writer->pos) {
  ------------------
  |  |  137|  1.13M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (223:9): [True: 0, False: 1.13M]
  ------------------
  224|      0|        PyErr_NoMemory();
  225|      0|        return -1;
  226|      0|    }
  227|  1.13M|    newlen = writer->pos + length;
  228|       |
  229|  1.13M|    maxchar = Py_MAX(maxchar, writer->min_char);
  ------------------
  |  |  115|  1.13M|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 2.58k, False: 1.13M]
  |  |  ------------------
  ------------------
  230|       |
  231|  1.13M|    if (writer->buffer == NULL) {
  ------------------
  |  Branch (231:9): [True: 1.09M, False: 43.6k]
  ------------------
  232|  1.09M|        assert(!writer->readonly);
  233|  1.09M|        if (writer->overallocate
  ------------------
  |  Branch (233:13): [True: 1.06M, False: 27.4k]
  ------------------
  234|  1.06M|            && newlen <= (PY_SSIZE_T_MAX - newlen / OVERALLOCATE_FACTOR)) {
  ------------------
  |  |  137|  1.06M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
                          && newlen <= (PY_SSIZE_T_MAX - newlen / OVERALLOCATE_FACTOR)) {
  ------------------
  |  |   52|  1.06M|#  define OVERALLOCATE_FACTOR 4
  ------------------
  |  Branch (234:16): [True: 1.06M, False: 0]
  ------------------
  235|       |            /* overallocate to limit the number of realloc() */
  236|  1.06M|            newlen += newlen / OVERALLOCATE_FACTOR;
  ------------------
  |  |   52|  1.06M|#  define OVERALLOCATE_FACTOR 4
  ------------------
  237|  1.06M|        }
  238|  1.09M|        if (newlen < writer->min_length)
  ------------------
  |  Branch (238:13): [True: 1.06M, False: 27.6k]
  ------------------
  239|  1.06M|            newlen = writer->min_length;
  240|       |
  241|  1.09M|        writer->buffer = PyUnicode_New(newlen, maxchar);
  242|  1.09M|        if (writer->buffer == NULL)
  ------------------
  |  Branch (242:13): [True: 0, False: 1.09M]
  ------------------
  243|      0|            return -1;
  244|  1.09M|    }
  245|  43.6k|    else if (newlen > writer->size) {
  ------------------
  |  Branch (245:14): [True: 41.1k, False: 2.50k]
  ------------------
  246|  41.1k|        if (writer->overallocate
  ------------------
  |  Branch (246:13): [True: 40.9k, False: 169]
  ------------------
  247|  40.9k|            && newlen <= (PY_SSIZE_T_MAX - newlen / OVERALLOCATE_FACTOR)) {
  ------------------
  |  |  137|  40.9k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
                          && newlen <= (PY_SSIZE_T_MAX - newlen / OVERALLOCATE_FACTOR)) {
  ------------------
  |  |   52|  40.9k|#  define OVERALLOCATE_FACTOR 4
  ------------------
  |  Branch (247:16): [True: 40.9k, False: 0]
  ------------------
  248|       |            /* overallocate to limit the number of realloc() */
  249|  40.9k|            newlen += newlen / OVERALLOCATE_FACTOR;
  ------------------
  |  |   52|  40.9k|#  define OVERALLOCATE_FACTOR 4
  ------------------
  250|  40.9k|        }
  251|  41.1k|        if (newlen < writer->min_length)
  ------------------
  |  Branch (251:13): [True: 0, False: 41.1k]
  ------------------
  252|      0|            newlen = writer->min_length;
  253|       |
  254|  41.1k|        if (maxchar > writer->maxchar || writer->readonly) {
  ------------------
  |  Branch (254:13): [True: 81, False: 41.0k]
  |  Branch (254:42): [True: 0, False: 41.0k]
  ------------------
  255|       |            /* resize + widen */
  256|     81|            maxchar = Py_MAX(maxchar, writer->maxchar);
  ------------------
  |  |  115|     81|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 81, False: 0]
  |  |  ------------------
  ------------------
  257|     81|            newbuffer = PyUnicode_New(newlen, maxchar);
  258|     81|            if (newbuffer == NULL)
  ------------------
  |  Branch (258:17): [True: 0, False: 81]
  ------------------
  259|      0|                return -1;
  260|     81|            _PyUnicode_FastCopyCharacters(newbuffer, 0,
  261|     81|                                          writer->buffer, 0, writer->pos);
  262|     81|            Py_DECREF(writer->buffer);
  ------------------
  |  |  430|     81|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     81|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     81|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  263|     81|            writer->readonly = 0;
  264|     81|        }
  265|  41.0k|        else {
  266|  41.0k|            newbuffer = _PyUnicode_ResizeCompact(writer->buffer, newlen);
  267|  41.0k|            if (newbuffer == NULL)
  ------------------
  |  Branch (267:17): [True: 0, False: 41.0k]
  ------------------
  268|      0|                return -1;
  269|  41.0k|        }
  270|  41.1k|        writer->buffer = newbuffer;
  271|  41.1k|    }
  272|  2.50k|    else if (maxchar > writer->maxchar) {
  ------------------
  |  Branch (272:14): [True: 2.50k, False: 0]
  ------------------
  273|  2.50k|        assert(!writer->readonly);
  274|  2.50k|        newbuffer = PyUnicode_New(writer->size, maxchar);
  275|  2.50k|        if (newbuffer == NULL)
  ------------------
  |  Branch (275:13): [True: 0, False: 2.50k]
  ------------------
  276|      0|            return -1;
  277|  2.50k|        _PyUnicode_FastCopyCharacters(newbuffer, 0,
  278|  2.50k|                                      writer->buffer, 0, writer->pos);
  279|  2.50k|        Py_SETREF(writer->buffer, newbuffer);
  ------------------
  |  |  352|  2.50k|    do { \
  |  |  353|  2.50k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  2.50k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|  2.50k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  2.50k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|  2.50k|        *_tmp_dst_ptr = (src); \
  |  |  356|  2.50k|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|  2.50k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.50k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.50k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|  2.50k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 2.50k]
  |  |  ------------------
  ------------------
  280|  2.50k|    }
  281|  1.13M|    _PyUnicodeWriter_Update(writer);
  282|  1.13M|    return 0;
  283|       |
  284|  1.13M|#undef OVERALLOCATE_FACTOR
  285|  1.13M|}
_PyUnicodeWriter_WriteChar:
  311|   103k|{
  312|   103k|    return _PyUnicodeWriter_WriteCharInline(writer, ch);
  313|   103k|}
PyUnicodeWriter_WriteChar:
  318|   103k|{
  319|   103k|    if (ch > _Py_MAX_UNICODE) {
  ------------------
  |  |   16|   103k|#define _Py_MAX_UNICODE 0x10ffff
  ------------------
  |  Branch (319:9): [True: 0, False: 103k]
  ------------------
  320|      0|        PyErr_SetString(PyExc_ValueError,
  321|      0|                        "character must be in range(0x110000)");
  322|      0|        return -1;
  323|      0|    }
  324|       |
  325|   103k|    return _PyUnicodeWriter_WriteChar((_PyUnicodeWriter*)writer, ch);
  326|   103k|}
_PyUnicodeWriter_WriteStr:
  331|  1.13M|{
  332|  1.13M|    assert(PyUnicode_Check(str));
  333|       |
  334|  1.13M|    Py_UCS4 maxchar;
  335|  1.13M|    Py_ssize_t len;
  336|       |
  337|  1.13M|    len = PyUnicode_GET_LENGTH(str);
  ------------------
  |  |  299|  1.13M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.13M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.13M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  338|  1.13M|    if (len == 0)
  ------------------
  |  Branch (338:9): [True: 106, False: 1.13M]
  ------------------
  339|    106|        return 0;
  340|  1.13M|    maxchar = PyUnicode_MAX_CHAR_VALUE(str);
  ------------------
  |  |  405|  1.13M|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.13M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.13M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  341|  1.13M|    if (maxchar > writer->maxchar || len > writer->size - writer->pos) {
  ------------------
  |  Branch (341:9): [True: 3.57k, False: 1.12M]
  |  Branch (341:38): [True: 27.3k, False: 1.10M]
  ------------------
  342|  30.9k|        if (writer->buffer == NULL && !writer->overallocate) {
  ------------------
  |  Branch (342:13): [True: 1.08k, False: 29.8k]
  |  Branch (342:39): [True: 10, False: 1.07k]
  ------------------
  343|     10|            assert(_PyUnicode_CheckConsistency(str, 1));
  344|     10|            writer->readonly = 1;
  345|     10|            writer->buffer = Py_NewRef(str);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  346|     10|            _PyUnicodeWriter_Update(writer);
  347|     10|            writer->pos += len;
  348|     10|            return 0;
  349|     10|        }
  350|  30.9k|        if (_PyUnicodeWriter_PrepareInternal(writer, len, maxchar) == -1)
  ------------------
  |  Branch (350:13): [True: 0, False: 30.9k]
  ------------------
  351|      0|            return -1;
  352|  30.9k|    }
  353|  1.13M|    _PyUnicode_FastCopyCharacters(writer->buffer, writer->pos,
  354|  1.13M|                                  str, 0, len);
  355|  1.13M|    writer->pos += len;
  356|  1.13M|    return 0;
  357|  1.13M|}
PyUnicodeWriter_WriteStr:
  362|  8.72k|{
  363|  8.72k|    PyTypeObject *type = Py_TYPE(obj);
  ------------------
  |  |  213|  8.72k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  8.72k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.72k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  364|  8.72k|    if (type == &PyUnicode_Type) {
  ------------------
  |  Branch (364:9): [True: 8.72k, False: 0]
  ------------------
  365|  8.72k|        return _PyUnicodeWriter_WriteStr((_PyUnicodeWriter*)writer, obj);
  366|  8.72k|    }
  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|  49.0k|{
  386|  49.0k|    if (obj == NULL) {
  ------------------
  |  Branch (386:9): [True: 0, False: 49.0k]
  ------------------
  387|      0|        return _PyUnicodeWriter_WriteASCIIString((_PyUnicodeWriter*)writer, "<NULL>", 6);
  388|      0|    }
  389|       |
  390|  49.0k|    if (Py_TYPE(obj) == &PyLong_Type) {
  ------------------
  |  |  213|  49.0k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  49.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  49.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (390:9): [True: 8.29k, False: 40.7k]
  ------------------
  391|  8.29k|        return _PyLong_FormatWriter((_PyUnicodeWriter*)writer, obj, 10, 0);
  392|  8.29k|    }
  393|       |
  394|  40.7k|    PyObject *repr = PyObject_Repr(obj);
  395|  40.7k|    if (repr == NULL) {
  ------------------
  |  Branch (395:9): [True: 0, False: 40.7k]
  ------------------
  396|      0|        return -1;
  397|      0|    }
  398|       |
  399|  40.7k|    int res = _PyUnicodeWriter_WriteStr((_PyUnicodeWriter*)writer, repr);
  400|  40.7k|    Py_DECREF(repr);
  ------------------
  |  |  430|  40.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  40.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  40.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  401|  40.7k|    return res;
  402|  40.7k|}
_PyUnicodeWriter_WriteSubstring:
  408|  43.6k|{
  409|  43.6k|    assert(0 <= start);
  410|  43.6k|    assert(end <= PyUnicode_GET_LENGTH(str));
  411|  43.6k|    assert(start <= end);
  412|       |
  413|  43.6k|    if (start == 0 && end == PyUnicode_GET_LENGTH(str))
  ------------------
  |  |  299|  16.8k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  16.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (413:9): [True: 16.8k, False: 26.8k]
  |  Branch (413:23): [True: 86, False: 16.7k]
  ------------------
  414|     86|        return _PyUnicodeWriter_WriteStr(writer, str);
  415|       |
  416|  43.6k|    Py_ssize_t len = end - start;
  417|  43.6k|    if (len == 0) {
  ------------------
  |  Branch (417:9): [True: 96, False: 43.5k]
  ------------------
  418|     96|        return 0;
  419|     96|    }
  420|       |
  421|  43.5k|    Py_UCS4 maxchar;
  422|  43.5k|    if (PyUnicode_MAX_CHAR_VALUE(str) > writer->maxchar) {
  ------------------
  |  |  405|  43.5k|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  43.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  43.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (422:9): [True: 16.7k, False: 26.7k]
  ------------------
  423|  16.7k|        maxchar = _PyUnicode_FindMaxChar(str, start, end);
  424|  16.7k|    }
  425|  26.7k|    else {
  426|  26.7k|        maxchar = writer->maxchar;
  427|  26.7k|    }
  428|  43.5k|    if (_PyUnicodeWriter_Prepare(writer, len, maxchar) < 0) {
  ------------------
  |  |  562|  43.5k|    (((MAXCHAR) <= (WRITER)->maxchar                                  \
  |  |  ------------------
  |  |  |  Branch (562:7): [True: 26.7k, False: 16.7k]
  |  |  ------------------
  |  |  563|  43.5k|      && (LENGTH) <= (WRITER)->size - (WRITER)->pos)                  \
  |  |  ------------------
  |  |  |  Branch (563:10): [True: 26.7k, False: 8]
  |  |  ------------------
  |  |  564|  43.5k|     ? 0                                                              \
  |  |  565|  43.5k|     : (((LENGTH) == 0)                                               \
  |  |  ------------------
  |  |  |  Branch (565:9): [True: 0, False: 16.8k]
  |  |  ------------------
  |  |  566|  16.8k|        ? 0                                                           \
  |  |  567|  16.8k|        : _PyUnicodeWriter_PrepareInternal((WRITER), (LENGTH), (MAXCHAR))))
  ------------------
  |  Branch (428:9): [True: 0, False: 43.5k]
  ------------------
  429|      0|        return -1;
  430|      0|    }
  431|       |
  432|  43.5k|    _PyUnicode_FastCopyCharacters(writer->buffer, writer->pos,
  433|  43.5k|                                  str, start, len);
  434|  43.5k|    writer->pos += len;
  435|  43.5k|    return 0;
  436|  43.5k|}
PyUnicodeWriter_WriteSubstring:
  442|    182|{
  443|    182|    if (!PyUnicode_Check(str)) {
  ------------------
  |  |  103|    182|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    182|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (443:9): [True: 0, False: 182]
  ------------------
  444|      0|        PyErr_Format(PyExc_TypeError, "expect str, not %T", str);
  445|      0|        return -1;
  446|      0|    }
  447|    182|    if (start < 0 || start > end) {
  ------------------
  |  Branch (447:9): [True: 0, False: 182]
  |  Branch (447:22): [True: 0, False: 182]
  ------------------
  448|      0|        PyErr_Format(PyExc_ValueError, "invalid start argument");
  449|      0|        return -1;
  450|      0|    }
  451|    182|    if (end > PyUnicode_GET_LENGTH(str)) {
  ------------------
  |  |  299|    182|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    182|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    182|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (451:9): [True: 0, False: 182]
  ------------------
  452|      0|        PyErr_Format(PyExc_ValueError, "invalid end argument");
  453|      0|        return -1;
  454|      0|    }
  455|       |
  456|    182|    return _PyUnicodeWriter_WriteSubstring((_PyUnicodeWriter*)writer, str,
  457|    182|                                           start, end);
  458|    182|}
_PyUnicodeWriter_WriteASCIIString:
  464|  3.17M|{
  465|  3.17M|    if (len == -1)
  ------------------
  |  Branch (465:9): [True: 0, False: 3.17M]
  ------------------
  466|      0|        len = strlen(ascii);
  467|       |
  468|  3.17M|    if (len == 0) {
  ------------------
  |  Branch (468:9): [True: 0, False: 3.17M]
  ------------------
  469|      0|        return 0;
  470|      0|    }
  471|       |
  472|  3.17M|    assert(ucs1lib_find_max_char((const Py_UCS1*)ascii, (const Py_UCS1*)ascii + len) < 128);
  473|       |
  474|  3.17M|    if (writer->buffer == NULL && !writer->overallocate) {
  ------------------
  |  Branch (474:9): [True: 1.07M, False: 2.09M]
  |  Branch (474:35): [True: 27.1k, False: 1.05M]
  ------------------
  475|  27.1k|        PyObject *str;
  476|       |
  477|  27.1k|        str = _PyUnicode_FromASCII(ascii, len);
  478|  27.1k|        if (str == NULL)
  ------------------
  |  Branch (478:13): [True: 0, False: 27.1k]
  ------------------
  479|      0|            return -1;
  480|       |
  481|  27.1k|        writer->readonly = 1;
  482|  27.1k|        writer->buffer = str;
  483|  27.1k|        _PyUnicodeWriter_Update(writer);
  484|  27.1k|        writer->pos += len;
  485|  27.1k|        return 0;
  486|  27.1k|    }
  487|       |
  488|  3.14M|    if (_PyUnicodeWriter_Prepare(writer, len, 127) == -1)
  ------------------
  |  |  562|  3.14M|    (((MAXCHAR) <= (WRITER)->maxchar                                  \
  |  |  ------------------
  |  |  |  Branch (562:7): [True: 2.09M, False: 1.05M]
  |  |  ------------------
  |  |  563|  3.14M|      && (LENGTH) <= (WRITER)->size - (WRITER)->pos)                  \
  |  |  ------------------
  |  |  |  Branch (563:10): [True: 2.09M, False: 1]
  |  |  ------------------
  |  |  564|  3.14M|     ? 0                                                              \
  |  |  565|  3.14M|     : (((LENGTH) == 0)                                               \
  |  |  ------------------
  |  |  |  Branch (565:9): [True: 0, False: 1.05M]
  |  |  ------------------
  |  |  566|  1.05M|        ? 0                                                           \
  |  |  567|  1.05M|        : _PyUnicodeWriter_PrepareInternal((WRITER), (LENGTH), (MAXCHAR))))
  ------------------
  |  Branch (488:9): [True: 0, False: 3.14M]
  ------------------
  489|      0|        return -1;
  490|       |
  491|  3.14M|    switch (writer->kind)
  492|  3.14M|    {
  493|  3.14M|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (493:5): [True: 3.14M, False: 0]
  ------------------
  494|  3.14M|    {
  495|  3.14M|        const Py_UCS1 *str = (const Py_UCS1 *)ascii;
  496|  3.14M|        Py_UCS1 *data = writer->data;
  497|       |
  498|  3.14M|        memcpy(data + writer->pos, str, len);
  499|  3.14M|        break;
  500|      0|    }
  501|      0|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (501:5): [True: 0, False: 3.14M]
  ------------------
  502|      0|    {
  503|      0|        _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   44|      0|    do {                                                \
  |  |   45|      0|        to_type *_to = (to_type *)(to);                 \
  |  |   46|      0|        const from_type *_iter = (const from_type *)(begin);\
  |  |   47|      0|        const from_type *_end = (const from_type *)(end);\
  |  |   48|      0|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   49|      0|        const from_type *_unrolled_end =                \
  |  |   50|      0|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  211|      0|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   51|      0|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (51:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   52|      0|            _to[0] = (to_type) _iter[0];                \
  |  |   53|      0|            _to[1] = (to_type) _iter[1];                \
  |  |   54|      0|            _to[2] = (to_type) _iter[2];                \
  |  |   55|      0|            _to[3] = (to_type) _iter[3];                \
  |  |   56|      0|            _iter += 4; _to += 4;                       \
  |  |   57|      0|        }                                               \
  |  |   58|      0|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (58:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   59|      0|            *_to++ = (to_type) *_iter++;                \
  |  |   60|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (60: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.14M]
  ------------------
  510|      0|    {
  511|      0|        _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   44|      0|    do {                                                \
  |  |   45|      0|        to_type *_to = (to_type *)(to);                 \
  |  |   46|      0|        const from_type *_iter = (const from_type *)(begin);\
  |  |   47|      0|        const from_type *_end = (const from_type *)(end);\
  |  |   48|      0|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   49|      0|        const from_type *_unrolled_end =                \
  |  |   50|      0|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  211|      0|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   51|      0|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (51:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   52|      0|            _to[0] = (to_type) _iter[0];                \
  |  |   53|      0|            _to[1] = (to_type) _iter[1];                \
  |  |   54|      0|            _to[2] = (to_type) _iter[2];                \
  |  |   55|      0|            _to[3] = (to_type) _iter[3];                \
  |  |   56|      0|            _iter += 4; _to += 4;                       \
  |  |   57|      0|        }                                               \
  |  |   58|      0|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (58:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   59|      0|            *_to++ = (to_type) *_iter++;                \
  |  |   60|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (60: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.14M]
  ------------------
  518|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  519|  3.14M|    }
  520|       |
  521|  3.14M|    writer->pos += len;
  522|  3.14M|    return 0;
  523|  3.14M|}
PyUnicodeWriter_WriteASCII:
  530|     32|{
  531|     32|    assert(writer != NULL);
  532|     32|    _Py_AssertHoldsTstate();
  533|       |
  534|     32|    _PyUnicodeWriter *priv_writer = (_PyUnicodeWriter*)writer;
  535|     32|    return _PyUnicodeWriter_WriteASCIIString(priv_writer, str, size);
  536|     32|}
_PyUnicodeWriter_Finish:
  602|  1.12M|{
  603|  1.12M|    PyObject *str;
  604|       |
  605|  1.12M|    if (writer->pos == 0) {
  ------------------
  |  Branch (605:9): [True: 0, False: 1.12M]
  ------------------
  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.12M|    str = writer->buffer;
  611|  1.12M|    writer->buffer = NULL;
  612|       |
  613|  1.12M|    if (writer->readonly) {
  ------------------
  |  Branch (613:9): [True: 27.1k, False: 1.09M]
  ------------------
  614|  27.1k|        assert(PyUnicode_GET_LENGTH(str) == writer->pos);
  615|  27.1k|        return str;
  616|  27.1k|    }
  617|       |
  618|  1.09M|    if (PyUnicode_GET_LENGTH(str) != writer->pos) {
  ------------------
  |  |  299|  1.09M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.09M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.09M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (618:9): [True: 1.08M, False: 13.9k]
  ------------------
  619|  1.08M|        PyObject *str2;
  620|  1.08M|        str2 = _PyUnicode_ResizeCompact(str, writer->pos);
  621|  1.08M|        if (str2 == NULL) {
  ------------------
  |  Branch (621:13): [True: 0, False: 1.08M]
  ------------------
  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.08M|        str = str2;
  626|  1.08M|    }
  627|       |
  628|  1.09M|    assert(_PyUnicode_CheckConsistency(str, 1));
  629|  1.09M|    return _PyUnicode_Result(str);
  630|  1.09M|}
PyUnicodeWriter_Finish:
  635|  27.4k|{
  636|  27.4k|    PyObject *str = _PyUnicodeWriter_Finish((_PyUnicodeWriter*)writer);
  637|  27.4k|    assert(((_PyUnicodeWriter*)writer)->buffer == NULL);
  638|  27.4k|    _Py_FREELIST_FREE(unicode_writers, writer, PyMem_Free);
  ------------------
  |  |   35|  27.4k|    _PyFreeList_Free(&_Py_freelists_GET()->NAME, _PyObject_CAST(op), \
  |  |  ------------------
  |  |  |  |  171|  27.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   36|  27.4k|                     Py_ ## NAME ## _MAXFREELIST, freefunc)
  |  |  ------------------
  |  |  |  |   29|  27.4k|#  define Py_unicode_writers_MAXFREELIST 1
  |  |  ------------------
  ------------------
  639|  27.4k|    return str;
  640|  27.4k|}
_PyUnicodeWriter_Dealloc:
  645|     96|{
  646|       |    Py_CLEAR(writer->buffer);
  ------------------
  |  |  484|     96|    do { \
  |  |  485|     96|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     96|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     96|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     96|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     96|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 96]
  |  |  ------------------
  |  |  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|     96|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 96]
  |  |  ------------------
  ------------------
  647|     96|}
unicode_writer.c:_PyUnicodeWriter_Update:
  120|  1.16M|{
  121|  1.16M|    writer->maxchar = PyUnicode_MAX_CHAR_VALUE(writer->buffer);
  ------------------
  |  |  405|  1.16M|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.16M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.16M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  122|  1.16M|    writer->data = PyUnicode_DATA(writer->buffer);
  ------------------
  |  |  284|  1.16M|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.16M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.16M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  123|       |
  124|  1.16M|    if (!writer->readonly) {
  ------------------
  |  Branch (124:9): [True: 1.14M, False: 27.1k]
  ------------------
  125|  1.14M|        writer->kind = PyUnicode_KIND(writer->buffer);
  ------------------
  |  |  258|  1.14M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  1.14M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  126|  1.14M|        writer->size = PyUnicode_GET_LENGTH(writer->buffer);
  ------------------
  |  |  299|  1.14M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.14M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.14M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  127|  1.14M|    }
  128|  27.1k|    else {
  129|       |        /* use a value smaller than PyUnicode_1BYTE_KIND() so
  130|       |           _PyUnicodeWriter_PrepareKind() will copy the buffer. */
  131|  27.1k|        writer->kind = 0;
  132|  27.1k|        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|  27.1k|        writer->size = 0;
  138|  27.1k|    }
  139|  1.16M|}

_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|  23.5k|{
   87|  23.5k|    const _PyUnicode_TypeRecord *ctype = gettyperecord(ch);
   88|       |
   89|  23.5k|    return (ctype->flags & XID_START_MASK) != 0;
  ------------------
  |  |   20|  23.5k|#define XID_START_MASK 0x100
  ------------------
   90|  23.5k|}
_PyUnicode_IsXidContinue:
   96|   187k|{
   97|   187k|    const _PyUnicode_TypeRecord *ctype = gettyperecord(ch);
   98|       |
   99|   187k|    return (ctype->flags & XID_CONTINUE_MASK) != 0;
  ------------------
  |  |   21|   187k|#define XID_CONTINUE_MASK 0x200
  ------------------
  100|   187k|}
_PyUnicode_ToDecimalDigit:
  106|  22.1k|{
  107|  22.1k|    const _PyUnicode_TypeRecord *ctype = gettyperecord(ch);
  108|       |
  109|  22.1k|    return (ctype->flags & DECIMAL_MASK) ? ctype->decimal : -1;
  ------------------
  |  |   15|  22.1k|#define DECIMAL_MASK 0x02
  ------------------
  |  Branch (109:12): [True: 248, False: 21.9k]
  ------------------
  110|  22.1k|}
_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|   154k|{
  153|   154k|    const _PyUnicode_TypeRecord *ctype = gettyperecord(ch);
  154|       |
  155|   154k|    return (ctype->flags & PRINTABLE_MASK) != 0;
  ------------------
  |  |   22|   154k|#define PRINTABLE_MASK 0x400
  ------------------
  156|   154k|}
_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|   477k|{
   47|   477k|    int index;
   48|       |
   49|   477k|    if (code >= 0x110000)
  ------------------
  |  Branch (49:9): [True: 0, False: 477k]
  ------------------
   50|      0|        index = 0;
   51|   477k|    else
   52|   477k|    {
   53|   477k|        index = index1[(code>>SHIFT)];
  ------------------
  |  | 1760|   477k|#define SHIFT 7
  ------------------
   54|   477k|        index = index2[(index<<SHIFT)+(code&((1<<SHIFT)-1))];
  ------------------
  |  | 1760|   477k|#define SHIFT 7
  ------------------
                      index = index2[(index<<SHIFT)+(code&((1<<SHIFT)-1))];
  ------------------
  |  | 1760|   477k|#define SHIFT 7
  ------------------
   55|   477k|    }
   56|       |
   57|   477k|    return &_PyUnicode_TypeRecords[index];
   58|   477k|}

_PyUnicode_GetEmpty:
  203|  1.26M|{
  204|  1.26M|    _Py_DECLARE_STR(empty, "");
  205|  1.26M|    return &_Py_STR(empty);
  ------------------
  |  |  917|  1.26M|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.26M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.26M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  206|  1.26M|}
_Py_GetErrorHandler:
  470|  71.1k|{
  471|  71.1k|    if (errors == NULL || strcmp(errors, "strict") == 0) {
  ------------------
  |  Branch (471:9): [True: 29.9k, False: 41.2k]
  |  Branch (471:27): [True: 0, False: 41.2k]
  ------------------
  472|  29.9k|        return _Py_ERROR_STRICT;
  473|  29.9k|    }
  474|  41.2k|    if (strcmp(errors, "surrogateescape") == 0) {
  ------------------
  |  Branch (474:9): [True: 41.2k, False: 0]
  ------------------
  475|  41.2k|        return _Py_ERROR_SURROGATEESCAPE;
  476|  41.2k|    }
  477|      0|    if (strcmp(errors, "replace") == 0) {
  ------------------
  |  Branch (477:9): [True: 0, False: 0]
  ------------------
  478|      0|        return _Py_ERROR_REPLACE;
  479|      0|    }
  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.13M|{
  720|  1.13M|    assert(_PyUnicode_CHECK(unicode));
  721|       |
  722|  1.13M|    Py_ssize_t length = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  299|  1.13M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.13M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.13M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  723|  1.13M|    if (length == 0) {
  ------------------
  |  Branch (723:9): [True: 0, False: 1.13M]
  ------------------
  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.13M|    if (length == 1) {
  ------------------
  |  Branch (731:9): [True: 97, False: 1.13M]
  ------------------
  732|     97|        int kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|     97|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|     97|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  733|     97|        if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (733:13): [True: 87, False: 10]
  ------------------
  734|     87|            const Py_UCS1 *data = PyUnicode_1BYTE_DATA(unicode);
  ------------------
  |  |  291|     87|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|     87|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  735|     87|            Py_UCS1 ch = data[0];
  736|     87|            PyObject *latin1_char = LATIN1(ch);
  ------------------
  |  |  184|     87|#define LATIN1 _Py_LATIN1_CHR
  |  |  ------------------
  |  |  |  |  919|     87|    ((CH) < 128 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (919:6): [True: 85, False: 2]
  |  |  |  |  ------------------
  |  |  |  |  920|     87|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|     85|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|     85|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  921|     87|     : (PyObject*)&_Py_SINGLETON(strings).latin1[(CH) - 128])
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  737|     87|            if (unicode != latin1_char) {
  ------------------
  |  Branch (737:17): [True: 87, False: 0]
  ------------------
  738|     87|                Py_DECREF(unicode);
  ------------------
  |  |  430|     87|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     87|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     87|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  739|     87|            }
  740|     87|            return latin1_char;
  741|     87|        }
  742|     97|    }
  743|       |
  744|  1.13M|    assert(_PyUnicode_CheckConsistency(unicode, 1));
  745|  1.13M|    return unicode;
  746|  1.13M|}
_PyUnicode_ResizeCompact:
 1069|  1.12M|{
 1070|  1.12M|    Py_ssize_t char_size;
 1071|  1.12M|    Py_ssize_t struct_size;
 1072|  1.12M|    Py_ssize_t new_size;
 1073|  1.12M|    PyObject *new_unicode;
 1074|       |#ifdef Py_DEBUG
 1075|       |    Py_ssize_t old_length = _PyUnicode_LENGTH(unicode);
 1076|       |#endif
 1077|       |
 1078|  1.12M|    if (!_PyUnicode_IsModifiable(unicode)) {
  ------------------
  |  Branch (1078:9): [True: 0, False: 1.12M]
  ------------------
 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.12M|    assert(PyUnicode_IS_COMPACT(unicode));
 1087|       |
 1088|  1.12M|    char_size = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|  1.12M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  1.12M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1089|  1.12M|    if (PyUnicode_IS_ASCII(unicode))
  ------------------
  |  |  227|  1.12M|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.12M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.12M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 1.12M, False: 4.98k]
  |  |  ------------------
  ------------------
 1090|  1.12M|        struct_size = sizeof(PyASCIIObject);
 1091|  4.98k|    else
 1092|  4.98k|        struct_size = sizeof(PyCompactUnicodeObject);
 1093|       |
 1094|  1.12M|    if (length > ((PY_SSIZE_T_MAX - struct_size) / char_size - 1)) {
  ------------------
  |  |  137|  1.12M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1094:9): [True: 0, False: 1.12M]
  ------------------
 1095|      0|        PyErr_NoMemory();
 1096|      0|        return NULL;
 1097|      0|    }
 1098|  1.12M|    new_size = (struct_size + (length + 1) * char_size);
 1099|       |
 1100|  1.12M|    if (_PyUnicode_HAS_UTF8_MEMORY(unicode)) {
  ------------------
  |  Branch (1100:9): [True: 0, False: 1.12M]
  ------------------
 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.12M|    _PyReftracerTrack(unicode, PyRefTracer_DESTROY);
  ------------------
  |  |  112|  1.12M|    do { \
  |  |  113|  1.12M|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  114|  1.12M|        if (tracer->tracer_func != NULL) { \
  |  |  ------------------
  |  |  |  Branch (114:13): [True: 0, False: 1.12M]
  |  |  ------------------
  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  117|      0|        } \
  |  |  118|  1.12M|    } while(0)
  |  |  ------------------
  |  |  |  Branch (118:13): [Folded, False: 1.12M]
  |  |  ------------------
  ------------------
 1109|       |
 1110|  1.12M|    new_unicode = (PyObject *)PyObject_Realloc(unicode, new_size);
 1111|  1.12M|    if (new_unicode == NULL) {
  ------------------
  |  Branch (1111:9): [True: 0, False: 1.12M]
  ------------------
 1112|      0|        _Py_NewReferenceNoTotal(unicode);
 1113|      0|        PyErr_NoMemory();
 1114|      0|        return NULL;
 1115|      0|    }
 1116|  1.12M|    unicode = new_unicode;
 1117|  1.12M|    _Py_NewReferenceNoTotal(unicode);
 1118|       |
 1119|  1.12M|    _PyUnicode_LENGTH(unicode) = length;
  ------------------
  |  |  151|  1.12M|    (_PyASCIIObject_CAST(op)->length)
  |  |  ------------------
  |  |  |  |  186|  1.12M|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  1.12M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.12M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1120|       |#ifdef Py_DEBUG
 1121|       |    unicode_fill_invalid(unicode, old_length);
 1122|       |#endif
 1123|  1.12M|    PyUnicode_WRITE(PyUnicode_KIND(unicode), PyUnicode_DATA(unicode),
  ------------------
  |  |  335|  1.12M|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|  1.12M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|  1.12M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  336|  1.12M|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|  1.12M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1124|  1.12M|                    length, 0);
 1125|       |    assert(_PyUnicode_CheckConsistency(unicode, 0));
 1126|  1.12M|    return unicode;
 1127|  1.12M|}
PyUnicode_New:
 1273|  10.4M|{
 1274|       |    /* Optimization for empty strings */
 1275|  10.4M|    if (size == 0) {
  ------------------
  |  Branch (1275:9): [True: 322, False: 10.4M]
  ------------------
 1276|    322|        return _PyUnicode_GetEmpty();
 1277|    322|    }
 1278|       |
 1279|  10.4M|    PyObject *obj;
 1280|  10.4M|    PyCompactUnicodeObject *unicode;
 1281|  10.4M|    void *data;
 1282|  10.4M|    int kind;
 1283|  10.4M|    int is_ascii;
 1284|  10.4M|    Py_ssize_t char_size;
 1285|  10.4M|    Py_ssize_t struct_size;
 1286|       |
 1287|  10.4M|    is_ascii = 0;
 1288|  10.4M|    struct_size = sizeof(PyCompactUnicodeObject);
 1289|  10.4M|    if (maxchar < 128) {
  ------------------
  |  Branch (1289:9): [True: 7.21M, False: 3.22M]
  ------------------
 1290|  7.21M|        kind = PyUnicode_1BYTE_KIND;
 1291|  7.21M|        char_size = 1;
 1292|  7.21M|        is_ascii = 1;
 1293|  7.21M|        struct_size = sizeof(PyASCIIObject);
 1294|  7.21M|    }
 1295|  3.22M|    else if (maxchar < 256) {
  ------------------
  |  Branch (1295:14): [True: 462, False: 3.22M]
  ------------------
 1296|    462|        kind = PyUnicode_1BYTE_KIND;
 1297|    462|        char_size = 1;
 1298|    462|    }
 1299|  3.22M|    else if (maxchar < 65536) {
  ------------------
  |  Branch (1299:14): [True: 249k, False: 2.97M]
  ------------------
 1300|   249k|        kind = PyUnicode_2BYTE_KIND;
 1301|   249k|        char_size = 2;
 1302|   249k|    }
 1303|  2.97M|    else {
 1304|  2.97M|        if (maxchar > MAX_UNICODE) {
  ------------------
  |  |  104|  2.97M|#define MAX_UNICODE _Py_MAX_UNICODE
  |  |  ------------------
  |  |  |  |   16|  2.97M|#define _Py_MAX_UNICODE 0x10ffff
  |  |  ------------------
  ------------------
  |  Branch (1304:13): [True: 0, False: 2.97M]
  ------------------
 1305|      0|            PyErr_SetString(PyExc_SystemError,
 1306|      0|                            "invalid maximum character passed to PyUnicode_New");
 1307|      0|            return NULL;
 1308|      0|        }
 1309|  2.97M|        kind = PyUnicode_4BYTE_KIND;
 1310|  2.97M|        char_size = 4;
 1311|  2.97M|    }
 1312|       |
 1313|       |    /* Ensure we won't overflow the size. */
 1314|  10.4M|    if (size < 0) {
  ------------------
  |  Branch (1314:9): [True: 0, False: 10.4M]
  ------------------
 1315|      0|        PyErr_SetString(PyExc_SystemError,
 1316|      0|                        "Negative size passed to PyUnicode_New");
 1317|      0|        return NULL;
 1318|      0|    }
 1319|  10.4M|    if (size > ((PY_SSIZE_T_MAX - struct_size) / char_size - 1))
  ------------------
  |  |  137|  10.4M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1319:9): [True: 0, False: 10.4M]
  ------------------
 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|  10.4M|    obj = (PyObject *) PyObject_Malloc(struct_size + (size + 1) * char_size);
 1327|  10.4M|    if (obj == NULL) {
  ------------------
  |  Branch (1327:9): [True: 0, False: 10.4M]
  ------------------
 1328|      0|        return PyErr_NoMemory();
 1329|      0|    }
 1330|  10.4M|    _PyObject_Init(obj, &PyUnicode_Type);
 1331|       |
 1332|  10.4M|    unicode = (PyCompactUnicodeObject *)obj;
 1333|  10.4M|    if (is_ascii)
  ------------------
  |  Branch (1333:9): [True: 7.21M, False: 3.22M]
  ------------------
 1334|  7.21M|        data = ((PyASCIIObject*)obj) + 1;
 1335|  3.22M|    else
 1336|  3.22M|        data = unicode + 1;
 1337|  10.4M|    _PyUnicode_LENGTH(unicode) = size;
  ------------------
  |  |  151|  10.4M|    (_PyASCIIObject_CAST(op)->length)
  |  |  ------------------
  |  |  |  |  186|  10.4M|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  10.4M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1338|  10.4M|    _PyUnicode_HASH(unicode) = -1;
  ------------------
  |  |  155|  10.4M|    (_PyASCIIObject_CAST(op)->hash)
  |  |  ------------------
  |  |  |  |  186|  10.4M|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  10.4M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1339|  10.4M|    _PyUnicode_STATE(unicode).interned = 0;
  ------------------
  |  |  153|  10.4M|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|  10.4M|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  10.4M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1340|  10.4M|    _PyUnicode_STATE(unicode).kind = kind;
  ------------------
  |  |  153|  10.4M|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|  10.4M|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  10.4M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1341|  10.4M|    _PyUnicode_STATE(unicode).compact = 1;
  ------------------
  |  |  153|  10.4M|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|  10.4M|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  10.4M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1342|  10.4M|    _PyUnicode_STATE(unicode).ascii = is_ascii;
  ------------------
  |  |  153|  10.4M|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|  10.4M|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  10.4M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1343|  10.4M|    _PyUnicode_STATE(unicode).statically_allocated = 0;
  ------------------
  |  |  153|  10.4M|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|  10.4M|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  10.4M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1344|  10.4M|    if (is_ascii) {
  ------------------
  |  Branch (1344:9): [True: 7.21M, False: 3.22M]
  ------------------
 1345|  7.21M|        ((char*)data)[size] = 0;
 1346|  7.21M|    }
 1347|  3.22M|    else if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (1347:14): [True: 462, False: 3.22M]
  ------------------
 1348|    462|        ((char*)data)[size] = 0;
 1349|    462|        unicode->utf8 = NULL;
 1350|    462|        unicode->utf8_length = 0;
 1351|    462|    }
 1352|  3.22M|    else {
 1353|  3.22M|        unicode->utf8 = NULL;
 1354|  3.22M|        unicode->utf8_length = 0;
 1355|  3.22M|        if (kind == PyUnicode_2BYTE_KIND)
  ------------------
  |  Branch (1355:13): [True: 249k, False: 2.97M]
  ------------------
 1356|   249k|            ((Py_UCS2*)data)[size] = 0;
 1357|  2.97M|        else /* kind == PyUnicode_4BYTE_KIND */
 1358|  2.97M|            ((Py_UCS4*)data)[size] = 0;
 1359|  3.22M|    }
 1360|       |#ifdef Py_DEBUG
 1361|       |    unicode_fill_invalid((PyObject*)unicode, 0);
 1362|       |#endif
 1363|       |    assert(_PyUnicode_CheckConsistency((PyObject*)unicode, 0));
 1364|  10.4M|    return obj;
 1365|  10.4M|}
_PyUnicode_FastCopyCharacters:
 1525|  4.69M|{
 1526|  4.69M|    (void)_copy_characters(to, to_start, from, from_start, how_many, 0);
 1527|  4.69M|}
_PyUnicode_IsModifiable:
 1734|  1.14M|{
 1735|  1.14M|    assert(_PyUnicode_CHECK(unicode));
 1736|  1.14M|    if (!_PyObject_IsUniquelyReferenced(unicode))
  ------------------
  |  Branch (1736:9): [True: 651, False: 1.14M]
  ------------------
 1737|    651|        return 0;
 1738|  1.14M|    if (PyUnicode_HASH(unicode) != -1)
  ------------------
  |  |  157|  1.14M|#define PyUnicode_HASH PyUnstable_Unicode_GET_CACHED_HASH
  ------------------
  |  Branch (1738:9): [True: 0, False: 1.14M]
  ------------------
 1739|      0|        return 0;
 1740|  1.14M|    if (PyUnicode_CHECK_INTERNED(unicode))
  ------------------
  |  |  214|  1.14M|#define PyUnicode_CHECK_INTERNED(op) PyUnicode_CHECK_INTERNED(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.14M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.14M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (214:38): [True: 0, False: 1.14M]
  |  |  ------------------
  ------------------
 1741|      0|        return 0;
 1742|  1.14M|    if (!PyUnicode_CheckExact(unicode))
  ------------------
  |  |  104|  1.14M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  1.14M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.14M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.14M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1742:9): [True: 0, False: 1.14M]
  ------------------
 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.14M|    return 1;
 1749|  1.14M|}
PyUnicode_FromWideChar:
 1900|  41.6k|{
 1901|  41.6k|    PyObject *unicode;
 1902|  41.6k|    Py_UCS4 maxchar = 0;
 1903|  41.6k|    Py_ssize_t num_surrogates;
 1904|       |
 1905|  41.6k|    if (u == NULL && size != 0) {
  ------------------
  |  Branch (1905:9): [True: 0, False: 41.6k]
  |  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|  41.6k|    if (size == -1) {
  ------------------
  |  Branch (1910:9): [True: 72, False: 41.5k]
  ------------------
 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|  41.6k|    if (size == 0)
  ------------------
  |  Branch (1918:9): [True: 46, False: 41.5k]
  ------------------
 1919|     46|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  375|     46|    do {                             \
  |  |  376|     46|        return _PyUnicode_GetEmpty();\
  |  |  377|     46|    } 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|  41.5k|    if (size == 1 && (Py_UCS4)*u < 256)
  ------------------
  |  Branch (1937:9): [True: 42, False: 41.5k]
  |  Branch (1937:22): [True: 42, False: 0]
  ------------------
 1938|     42|        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|  41.5k|    if (find_maxchar_surrogates(u, u + size,
  ------------------
  |  Branch (1942:9): [True: 0, False: 41.5k]
  ------------------
 1943|  41.5k|                                &maxchar, &num_surrogates) == -1)
 1944|      0|        return NULL;
 1945|       |
 1946|  41.5k|    unicode = PyUnicode_New(size - num_surrogates, maxchar);
 1947|  41.5k|    if (!unicode)
  ------------------
  |  Branch (1947:9): [True: 0, False: 41.5k]
  ------------------
 1948|      0|        return NULL;
 1949|       |
 1950|  41.5k|    unicode_write_widechar(PyUnicode_KIND(unicode), PyUnicode_DATA(unicode),
  ------------------
  |  |  258|  41.5k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  41.5k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
                  unicode_write_widechar(PyUnicode_KIND(unicode), PyUnicode_DATA(unicode),
  ------------------
  |  |  284|  41.5k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  41.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1951|  41.5k|                           u, size, num_surrogates);
 1952|       |
 1953|  41.5k|    return unicode_result(unicode);
  ------------------
  |  |  747|  41.5k|#define unicode_result _PyUnicode_Result
  ------------------
 1954|  41.5k|}
PyUnicode_FromStringAndSize:
 2009|  84.2k|{
 2010|  84.2k|    if (size < 0) {
  ------------------
  |  Branch (2010:9): [True: 0, False: 84.2k]
  ------------------
 2011|      0|        PyErr_SetString(PyExc_SystemError,
 2012|      0|                        "Negative size passed to PyUnicode_FromStringAndSize");
 2013|      0|        return NULL;
 2014|      0|    }
 2015|  84.2k|    if (u != NULL) {
  ------------------
  |  Branch (2015:9): [True: 84.2k, False: 0]
  ------------------
 2016|  84.2k|        return PyUnicode_DecodeUTF8Stateful(u, size, NULL, NULL);
 2017|  84.2k|    }
 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|  1.37M|{
 2029|  1.37M|    size_t size = strlen(u);
 2030|  1.37M|    if (size > PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|  1.37M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (2030:9): [True: 0, False: 1.37M]
  ------------------
 2031|      0|        PyErr_SetString(PyExc_OverflowError, "input too long");
 2032|      0|        return NULL;
 2033|      0|    }
 2034|  1.37M|    return PyUnicode_DecodeUTF8Stateful(u, (Py_ssize_t)size, NULL, NULL);
 2035|  1.37M|}
_PyUnicode_FromASCII:
 2123|   116k|{
 2124|   116k|    const unsigned char *s = (const unsigned char *)buffer;
 2125|   116k|    PyObject *unicode;
 2126|   116k|    if (size == 1) {
  ------------------
  |  Branch (2126:9): [True: 1.84k, False: 114k]
  ------------------
 2127|       |#ifdef Py_DEBUG
 2128|       |        assert((unsigned char)s[0] < 128);
 2129|       |#endif
 2130|  1.84k|        return get_latin1_char(s[0]);
 2131|  1.84k|    }
 2132|   114k|    unicode = PyUnicode_New(size, 127);
 2133|   114k|    if (!unicode)
  ------------------
  |  Branch (2133:9): [True: 0, False: 114k]
  ------------------
 2134|      0|        return NULL;
 2135|   114k|    memcpy(PyUnicode_1BYTE_DATA(unicode), s, size);
  ------------------
  |  |  291|   114k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|   114k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2136|       |    assert(_PyUnicode_CheckConsistency(unicode, 1));
 2137|   114k|    return unicode;
 2138|   114k|}
PyUnicode_FromKindAndData:
 2279|   716k|{
 2280|   716k|    if (size < 0) {
  ------------------
  |  Branch (2280:9): [True: 0, False: 716k]
  ------------------
 2281|      0|        PyErr_SetString(PyExc_ValueError, "size must be positive");
 2282|      0|        return NULL;
 2283|      0|    }
 2284|   716k|    switch (kind) {
 2285|   716k|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (2285:5): [True: 716k, False: 388]
  ------------------
 2286|   716k|        return _PyUnicode_FromUCS1(buffer, size);
 2287|    356|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (2287:5): [True: 356, False: 716k]
  ------------------
 2288|    356|        return _PyUnicode_FromUCS2(buffer, size);
 2289|     32|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (2289:5): [True: 32, False: 716k]
  ------------------
 2290|     32|        return _PyUnicode_FromUCS4(buffer, size);
 2291|      0|    default:
  ------------------
  |  Branch (2291:5): [True: 0, False: 716k]
  ------------------
 2292|      0|        PyErr_SetString(PyExc_SystemError, "invalid kind");
 2293|       |        return NULL;
 2294|   716k|    }
 2295|   716k|}
_PyUnicode_FindMaxChar:
 2299|  16.7k|{
 2300|  16.7k|    int kind;
 2301|  16.7k|    const void *startptr, *endptr;
 2302|       |
 2303|  16.7k|    assert(0 <= start);
 2304|  16.7k|    assert(end <= PyUnicode_GET_LENGTH(unicode));
 2305|  16.7k|    assert(start <= end);
 2306|       |
 2307|  16.7k|    if (start == 0 && end == PyUnicode_GET_LENGTH(unicode))
  ------------------
  |  |  299|  16.7k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  16.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2307:9): [True: 16.7k, False: 0]
  |  Branch (2307:23): [True: 0, False: 16.7k]
  ------------------
 2308|      0|        return PyUnicode_MAX_CHAR_VALUE(unicode);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2309|       |
 2310|  16.7k|    if (start == end)
  ------------------
  |  Branch (2310:9): [True: 0, False: 16.7k]
  ------------------
 2311|      0|        return 127;
 2312|       |
 2313|  16.7k|    if (PyUnicode_IS_ASCII(unicode))
  ------------------
  |  |  227|  16.7k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  16.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 16.7k, False: 0]
  |  |  ------------------
  ------------------
 2314|  16.7k|        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.07M|{
 3112|  1.07M|    _PyUnicodeWriter writer;
 3113|  1.07M|    _PyUnicodeWriter_Init(&writer);
 3114|       |
 3115|  1.07M|    if (unicode_from_format(&writer, format, vargs) < 0) {
  ------------------
  |  Branch (3115:9): [True: 0, False: 1.07M]
  ------------------
 3116|      0|        _PyUnicodeWriter_Dealloc(&writer);
 3117|      0|        return NULL;
 3118|      0|    }
 3119|  1.07M|    return _PyUnicodeWriter_Finish(&writer);
 3120|  1.07M|}
PyUnicode_FromFormat:
 3124|    607|{
 3125|    607|    PyObject* ret;
 3126|    607|    va_list vargs;
 3127|       |
 3128|    607|    va_start(vargs, format);
 3129|    607|    ret = PyUnicode_FromFormatV(format, vargs);
 3130|       |    va_end(vargs);
 3131|    607|    return ret;
 3132|    607|}
PyUnicode_AsWideChar:
 3241|      2|{
 3242|      2|    Py_ssize_t res;
 3243|       |
 3244|      2|    if (unicode == NULL) {
  ------------------
  |  Branch (3244:9): [True: 0, False: 2]
  ------------------
 3245|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3246|      0|        return -1;
 3247|      0|    }
 3248|      2|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|      2|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      2|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3248:9): [True: 0, False: 2]
  ------------------
 3249|      0|        PyErr_BadArgument();
 3250|      0|        return -1;
 3251|      0|    }
 3252|       |
 3253|      2|    res = unicode_get_widechar_size(unicode);
 3254|      2|    if (w == NULL) {
  ------------------
  |  Branch (3254:9): [True: 0, False: 2]
  ------------------
 3255|      0|        return res + 1;
 3256|      0|    }
 3257|       |
 3258|      2|    if (size > res) {
  ------------------
  |  Branch (3258:9): [True: 2, False: 0]
  ------------------
 3259|      2|        size = res + 1;
 3260|      2|    }
 3261|      0|    else {
 3262|      0|        res = size;
 3263|      0|    }
 3264|      2|    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|      2|    return res;
 3277|      2|}
PyUnicode_AsWideCharString:
 3282|    267|{
 3283|    267|    wchar_t *buffer;
 3284|    267|    Py_ssize_t buflen;
 3285|       |
 3286|    267|    if (unicode == NULL) {
  ------------------
  |  Branch (3286:9): [True: 0, False: 267]
  ------------------
 3287|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 3288|      0|        return NULL;
 3289|      0|    }
 3290|    267|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|    267|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    267|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3290:9): [True: 0, False: 267]
  ------------------
 3291|      0|        PyErr_BadArgument();
 3292|      0|        return NULL;
 3293|      0|    }
 3294|       |
 3295|    267|    buflen = unicode_get_widechar_size(unicode);
 3296|    267|    buffer = (wchar_t *) PyMem_New(wchar_t, (buflen + 1));
  ------------------
  |  |   64|    267|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|    267|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [True: 0, False: 267]
  |  |  ------------------
  |  |   65|    267|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
 3297|    267|    if (buffer == NULL) {
  ------------------
  |  Branch (3297:9): [True: 0, False: 267]
  ------------------
 3298|      0|        PyErr_NoMemory();
 3299|      0|        return NULL;
 3300|      0|    }
 3301|    267|    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|    267|    if (size != NULL) {
  ------------------
  |  Branch (3313:9): [True: 205, False: 62]
  ------------------
 3314|    205|        *size = buflen;
 3315|    205|    }
 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|    267|    return buffer;
 3323|    267|}
PyUnicode_FromOrdinal:
 3377|  3.24M|{
 3378|  3.24M|    if (ordinal < 0 || ordinal > MAX_UNICODE) {
  ------------------
  |  |  104|  3.24M|#define MAX_UNICODE _Py_MAX_UNICODE
  |  |  ------------------
  |  |  |  |   16|  3.24M|#define _Py_MAX_UNICODE 0x10ffff
  |  |  ------------------
  ------------------
  |  Branch (3378:9): [True: 0, False: 3.24M]
  |  Branch (3378:24): [True: 0, False: 3.24M]
  ------------------
 3379|      0|        PyErr_SetString(PyExc_ValueError,
 3380|      0|                        "chr() arg not in range(0x110000)");
 3381|      0|        return NULL;
 3382|      0|    }
 3383|       |
 3384|  3.24M|    return unicode_char((Py_UCS4)ordinal);
 3385|  3.24M|}
PyUnicode_FromObject:
 3389|     93|{
 3390|       |    /* XXX Perhaps we should make this API an alias of
 3391|       |       PyObject_Str() instead ?! */
 3392|     93|    if (PyUnicode_CheckExact(obj)) {
  ------------------
  |  |  104|     93|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|     93|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     93|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     93|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 93, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3393|     93|        return Py_NewRef(obj);
  ------------------
  |  |  550|     93|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     93|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     93|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3394|     93|    }
 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|     33|{
 3411|     33|    Py_buffer buffer;
 3412|     33|    PyObject *v;
 3413|       |
 3414|     33|    if (obj == NULL) {
  ------------------
  |  Branch (3414:9): [True: 0, False: 33]
  ------------------
 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|     33|    if (PyBytes_Check(obj)) {
  ------------------
  |  |   28|     33|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     33|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 33, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3421|     33|        if (PyBytes_GET_SIZE(obj) == 0) {
  ------------------
  |  |   33|     33|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3421:13): [True: 0, False: 33]
  ------------------
 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|     33|        return PyUnicode_Decode(
 3428|     33|                PyBytes_AS_STRING(obj), PyBytes_GET_SIZE(obj),
  ------------------
  |  |   27|     33|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                              PyBytes_AS_STRING(obj), PyBytes_GET_SIZE(obj),
  ------------------
  |  |   33|     33|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|     33|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     33|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3429|     33|                encoding, errors);
 3430|     33|    }
 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|  1.21M|{
 3468|  1.21M|    const char *e;
 3469|  1.21M|    char *l;
 3470|  1.21M|    char *l_end;
 3471|  1.21M|    int punct;
 3472|       |
 3473|  1.21M|    assert(encoding != NULL);
 3474|       |
 3475|  1.21M|    e = encoding;
 3476|  1.21M|    l = lower;
 3477|  1.21M|    l_end = &lower[lower_len - 1];
 3478|  1.21M|    punct = 0;
 3479|  7.27M|    while (1) {
  ------------------
  |  Branch (3479:12): [True: 7.27M, Folded]
  ------------------
 3480|  7.27M|        char c = *e;
 3481|  7.27M|        if (c == 0) {
  ------------------
  |  Branch (3481:13): [True: 1.21M, False: 6.06M]
  ------------------
 3482|  1.21M|            break;
 3483|  1.21M|        }
 3484|       |
 3485|  6.06M|        if (Py_ISALNUM(c) || c == '.') {
  ------------------
  |  |   26|  12.1M|#define Py_ISALNUM(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
  |  |  ------------------
  |  |  |  |  138|  6.06M|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISALNUM(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
  |  |  ------------------
  |  |  |  |   12|  6.06M|#define PY_CTF_ALNUM  (PY_CTF_ALPHA|PY_CTF_DIGIT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   10|  6.06M|#define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |    8|  6.06M|#define PY_CTF_LOWER  0x01
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |               #define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |    9|  6.06M|#define PY_CTF_UPPER  0x02
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define PY_CTF_ALNUM  (PY_CTF_ALPHA|PY_CTF_DIGIT)
  |  |  |  |  ------------------
  |  |  |  |  |  |   11|  6.06M|#define PY_CTF_DIGIT  0x04
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (26:24): [True: 4.88M, False: 1.18M]
  |  |  ------------------
  ------------------
  |  Branch (3485:30): [True: 0, False: 1.18M]
  ------------------
 3486|  4.88M|            if (punct && l != lower) {
  ------------------
  |  Branch (3486:17): [True: 1.18M, False: 3.69M]
  |  Branch (3486:26): [True: 1.18M, False: 0]
  ------------------
 3487|  1.18M|                if (l == l_end) {
  ------------------
  |  Branch (3487:21): [True: 0, False: 1.18M]
  ------------------
 3488|      0|                    return 0;
 3489|      0|                }
 3490|  1.18M|                *l++ = '_';
 3491|  1.18M|            }
 3492|  4.88M|            punct = 0;
 3493|       |
 3494|  4.88M|            if (l == l_end) {
  ------------------
  |  Branch (3494:17): [True: 0, False: 4.88M]
  ------------------
 3495|      0|                return 0;
 3496|      0|            }
 3497|  4.88M|            *l++ = to_lower ? Py_TOLOWER(c) : c;
  ------------------
  |  |   32|  4.88M|#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  138|  4.88M|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
  |  Branch (3497:20): [True: 4.88M, False: 8]
  ------------------
 3498|  4.88M|        }
 3499|  1.18M|        else {
 3500|  1.18M|            punct = 1;
 3501|  1.18M|        }
 3502|       |
 3503|  6.06M|        e++;
 3504|  6.06M|    }
 3505|  1.21M|    *l = '\0';
 3506|  1.21M|    return 1;
 3507|  1.21M|}
PyUnicode_Decode:
 3514|  27.1k|{
 3515|  27.1k|    PyObject *buffer = NULL, *unicode;
 3516|  27.1k|    Py_buffer info;
 3517|  27.1k|    char buflower[11];   /* strlen("iso-8859-1\0") == 11, longest shortcut */
 3518|       |
 3519|  27.1k|    if (unicode_check_encoding_errors(encoding, errors) < 0) {
  ------------------
  |  Branch (3519:9): [True: 0, False: 27.1k]
  ------------------
 3520|      0|        return NULL;
 3521|      0|    }
 3522|       |
 3523|  27.1k|    if (size == 0) {
  ------------------
  |  Branch (3523:9): [True: 0, False: 27.1k]
  ------------------
 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|  27.1k|    if (encoding == NULL) {
  ------------------
  |  Branch (3527:9): [True: 0, False: 27.1k]
  ------------------
 3528|      0|        return PyUnicode_DecodeUTF8Stateful(s, size, errors, NULL);
 3529|      0|    }
 3530|       |
 3531|       |    /* Shortcuts for common default encodings */
 3532|  27.1k|    if (_Py_normalize_encoding(encoding, buflower, sizeof(buflower), 1)) {
  ------------------
  |  Branch (3532:9): [True: 27.1k, False: 0]
  ------------------
 3533|  27.1k|        char *lower = buflower;
 3534|       |
 3535|       |        /* Fast paths */
 3536|  27.1k|        if (lower[0] == 'u' && lower[1] == 't' && lower[2] == 'f') {
  ------------------
  |  Branch (3536:13): [True: 27.1k, False: 12]
  |  Branch (3536:32): [True: 27.1k, False: 0]
  |  Branch (3536:51): [True: 27.1k, False: 0]
  ------------------
 3537|  27.1k|            lower += 3;
 3538|  27.1k|            if (*lower == '_') {
  ------------------
  |  Branch (3538:17): [True: 27.1k, False: 0]
  ------------------
 3539|       |                /* Match "utf8" and "utf_8" */
 3540|  27.1k|                lower++;
 3541|  27.1k|            }
 3542|       |
 3543|  27.1k|            if (lower[0] == '8' && lower[1] == 0) {
  ------------------
  |  Branch (3543:17): [True: 27.1k, False: 0]
  |  Branch (3543:36): [True: 27.1k, False: 0]
  ------------------
 3544|  27.1k|                return PyUnicode_DecodeUTF8Stateful(s, size, errors, NULL);
 3545|  27.1k|            }
 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|  27.1k|        }
 3553|     12|        else {
 3554|     12|            if (strcmp(lower, "ascii") == 0
  ------------------
  |  Branch (3554:17): [True: 0, False: 12]
  ------------------
 3555|     12|                || strcmp(lower, "us_ascii") == 0) {
  ------------------
  |  Branch (3555:20): [True: 0, False: 12]
  ------------------
 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|     12|            else if (strcmp(lower, "latin1") == 0
  ------------------
  |  Branch (3563:22): [True: 12, 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|     12|                     || strcmp(lower, "iso8859_1") == 0) {
  ------------------
  |  Branch (3566:25): [True: 0, False: 0]
  ------------------
 3567|     12|                return PyUnicode_DecodeLatin1(s, size, errors);
 3568|     12|            }
 3569|     12|        }
 3570|  27.1k|    }
 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|  71.6k|{
 3736|  71.6k|    PyInterpreterState *interp = _PyInterpreterState_GET();
 3737|  71.6k|    struct _Py_unicode_fs_codec *fs_codec = &interp->unicode.fs_codec;
 3738|  71.6k|    if (fs_codec->utf8) {
  ------------------
  |  Branch (3738:9): [True: 71.6k, False: 0]
  ------------------
 3739|  71.6k|        return unicode_encode_utf8(unicode,
 3740|  71.6k|                                   fs_codec->error_handler,
 3741|  71.6k|                                   fs_codec->errors);
 3742|  71.6k|    }
 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|  71.6k|}
PyUnicode_AsEncodedString:
 3771|  1.20M|{
 3772|  1.20M|    PyObject *v;
 3773|  1.20M|    char buflower[11];   /* strlen("iso_8859_1\0") == 11, longest shortcut */
 3774|       |
 3775|  1.20M|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|  1.20M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.20M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3775:9): [True: 0, False: 1.20M]
  ------------------
 3776|      0|        PyErr_BadArgument();
 3777|      0|        return NULL;
 3778|      0|    }
 3779|       |
 3780|  1.20M|    if (unicode_check_encoding_errors(encoding, errors) < 0) {
  ------------------
  |  Branch (3780:9): [True: 0, False: 1.20M]
  ------------------
 3781|      0|        return NULL;
 3782|      0|    }
 3783|       |
 3784|  1.20M|    if (encoding == NULL) {
  ------------------
  |  Branch (3784:9): [True: 23.9k, False: 1.18M]
  ------------------
 3785|  23.9k|        return _PyUnicode_AsUTF8String(unicode, errors);
 3786|  23.9k|    }
 3787|       |
 3788|       |    /* Shortcuts for common default encodings */
 3789|  1.18M|    if (_Py_normalize_encoding(encoding, buflower, sizeof(buflower), 1)) {
  ------------------
  |  Branch (3789:9): [True: 1.18M, False: 0]
  ------------------
 3790|  1.18M|        char *lower = buflower;
 3791|       |
 3792|       |        /* Fast paths */
 3793|  1.18M|        if (lower[0] == 'u' && lower[1] == 't' && lower[2] == 'f') {
  ------------------
  |  Branch (3793:13): [True: 1.15M, False: 31.0k]
  |  Branch (3793:32): [True: 1.15M, False: 0]
  |  Branch (3793:51): [True: 1.15M, False: 0]
  ------------------
 3794|  1.15M|            lower += 3;
 3795|  1.15M|            if (*lower == '_') {
  ------------------
  |  Branch (3795:17): [True: 1.15M, False: 0]
  ------------------
 3796|       |                /* Match "utf8" and "utf_8" */
 3797|  1.15M|                lower++;
 3798|  1.15M|            }
 3799|       |
 3800|  1.15M|            if (lower[0] == '8' && lower[1] == 0) {
  ------------------
  |  Branch (3800:17): [True: 1.15M, False: 0]
  |  Branch (3800:36): [True: 1.15M, False: 0]
  ------------------
 3801|  1.15M|                return _PyUnicode_AsUTF8String(unicode, errors);
 3802|  1.15M|            }
 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|  1.15M|        }
 3810|  31.0k|        else {
 3811|  31.0k|            if (strcmp(lower, "ascii") == 0
  ------------------
  |  Branch (3811:17): [True: 31.0k, False: 6]
  ------------------
 3812|  31.0k|                || strcmp(lower, "us_ascii") == 0) {
  ------------------
  |  Branch (3812:20): [True: 0, False: 6]
  ------------------
 3813|  31.0k|                return _PyUnicode_AsASCIIString(unicode, errors);
 3814|  31.0k|            }
 3815|       |#ifdef MS_WINDOWS
 3816|       |            else if (strcmp(lower, "mbcs") == 0) {
 3817|       |                return PyUnicode_EncodeCodePage(CP_ACP, unicode, errors);
 3818|       |            }
 3819|       |#endif
 3820|      6|            else if (strcmp(lower, "latin1") == 0 ||
  ------------------
  |  Branch (3820:22): [True: 0, False: 6]
  ------------------
 3821|      6|                     strcmp(lower, "latin_1") == 0 ||
  ------------------
  |  Branch (3821:22): [True: 6, False: 0]
  ------------------
 3822|      0|                     strcmp(lower, "iso_8859_1") == 0 ||
  ------------------
  |  Branch (3822:22): [True: 0, False: 0]
  ------------------
 3823|      6|                     strcmp(lower, "iso8859_1") == 0) {
  ------------------
  |  Branch (3823:22): [True: 0, False: 0]
  ------------------
 3824|      6|                return _PyUnicode_AsLatin1String(unicode, errors);
 3825|      6|            }
 3826|  31.0k|        }
 3827|  1.18M|    }
 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|  41.2k|{
 3953|  41.2k|    Py_ssize_t size = (Py_ssize_t)strlen(str);
 3954|  41.2k|    _Py_error_handler error_handler = _Py_GetErrorHandler(errors);
 3955|  41.2k|    return unicode_decode_locale(str, size, error_handler, 1);
 3956|  41.2k|}
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|  3.42k|{
 3968|  3.42k|    PyInterpreterState *interp = _PyInterpreterState_GET();
 3969|  3.42k|    struct _Py_unicode_fs_codec *fs_codec = &interp->unicode.fs_codec;
 3970|  3.42k|    if (fs_codec->utf8) {
  ------------------
  |  Branch (3970:9): [True: 3.42k, False: 2]
  ------------------
 3971|  3.42k|        return unicode_decode_utf8(s, size,
 3972|  3.42k|                                   fs_codec->error_handler,
 3973|  3.42k|                                   fs_codec->errors,
 3974|  3.42k|                                   NULL);
 3975|  3.42k|    }
 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|  3.42k|}
PyUnicode_FSConverter:
 4003|  31.1k|{
 4004|  31.1k|    PyObject *path = NULL;
 4005|  31.1k|    PyObject *output = NULL;
 4006|  31.1k|    Py_ssize_t size;
 4007|  31.1k|    const char *data;
 4008|  31.1k|    if (arg == NULL) {
  ------------------
  |  Branch (4008:9): [True: 0, False: 31.1k]
  ------------------
 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|  31.1k|    path = PyOS_FSPath(arg);
 4014|  31.1k|    if (path == NULL) {
  ------------------
  |  Branch (4014:9): [True: 0, False: 31.1k]
  ------------------
 4015|      0|        return 0;
 4016|      0|    }
 4017|  31.1k|    if (PyBytes_Check(path)) {
  ------------------
  |  |   28|  31.1k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  31.1k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 31.1k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4018|      0|        output = path;
 4019|      0|    }
 4020|  31.1k|    else {  // PyOS_FSPath() guarantees its returned value is bytes or str.
 4021|  31.1k|        output = PyUnicode_EncodeFSDefault(path);
 4022|  31.1k|        Py_DECREF(path);
  ------------------
  |  |  430|  31.1k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  31.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  31.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4023|  31.1k|        if (!output) {
  ------------------
  |  Branch (4023:13): [True: 0, False: 31.1k]
  ------------------
 4024|      0|            return 0;
 4025|      0|        }
 4026|  31.1k|        assert(PyBytes_Check(output));
 4027|  31.1k|    }
 4028|       |
 4029|  31.1k|    size = PyBytes_GET_SIZE(output);
  ------------------
  |  |   33|  31.1k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  31.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  31.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4030|  31.1k|    data = PyBytes_AS_STRING(output);
  ------------------
  |  |   27|  31.1k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  31.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  31.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4031|  31.1k|    if ((size_t)size != strlen(data)) {
  ------------------
  |  Branch (4031:9): [True: 0, False: 31.1k]
  ------------------
 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|  31.1k|    *(PyObject**)addr = output;
 4037|  31.1k|    return Py_CLEANUP_SUPPORTED;
  ------------------
  |  |   57|  31.1k|#define Py_CLEANUP_SUPPORTED 0x20000
  ------------------
 4038|  31.1k|}
PyUnicode_FSDecoder:
 4043|  27.2k|{
 4044|  27.2k|    if (arg == NULL) {
  ------------------
  |  Branch (4044:9): [True: 0, False: 27.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|  27.2k|    PyObject *path = PyOS_FSPath(arg);
 4051|  27.2k|    if (path == NULL) {
  ------------------
  |  Branch (4051:9): [True: 0, False: 27.2k]
  ------------------
 4052|      0|        return 0;
 4053|      0|    }
 4054|       |
 4055|  27.2k|    PyObject *output = NULL;
 4056|  27.2k|    if (PyUnicode_Check(path)) {
  ------------------
  |  |  103|  27.2k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  27.2k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 27.2k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4057|  27.2k|        output = path;
 4058|  27.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|  27.2k|    if (findchar(PyUnicode_DATA(output), PyUnicode_KIND(output),
  ------------------
  |  |  284|  27.2k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  27.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (findchar(PyUnicode_DATA(output), PyUnicode_KIND(output),
  ------------------
  |  |  258|  27.2k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  27.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (4075:9): [True: 0, False: 27.2k]
  ------------------
 4076|  27.2k|                 PyUnicode_GET_LENGTH(output), 0, 1) >= 0) {
  ------------------
  |  |  299|  27.2k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  27.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.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|  27.2k|    *(PyObject**)addr = output;
 4082|  27.2k|    return Py_CLEANUP_SUPPORTED;
  ------------------
  |  |   57|  27.2k|#define Py_CLEANUP_SUPPORTED 0x20000
  ------------------
 4083|  27.2k|}
PyUnicode_AsUTF8AndSize:
 4105|  1.35M|{
 4106|  1.35M|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|  1.35M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.35M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4106:9): [True: 0, False: 1.35M]
  ------------------
 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|  1.35M|    if (unicode_ensure_utf8(unicode) == -1) {
  ------------------
  |  Branch (4114:9): [True: 0, False: 1.35M]
  ------------------
 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|  1.35M|    if (psize) {
  ------------------
  |  Branch (4121:9): [True: 1.28M, False: 68.5k]
  ------------------
 4122|  1.28M|        *psize = PyUnicode_UTF8_LENGTH(unicode);
 4123|  1.28M|    }
 4124|  1.35M|    return PyUnicode_UTF8(unicode);
 4125|  1.35M|}
PyUnicode_AsUTF8:
 4129|  68.5k|{
 4130|       |    return PyUnicode_AsUTF8AndSize(unicode, NULL);
 4131|  68.5k|}
_PyUnicode_AsUTF8NoNUL:
 4135|    264|{
 4136|    264|    Py_ssize_t size;
 4137|    264|    const char *s = PyUnicode_AsUTF8AndSize(unicode, &size);
 4138|    264|    if (s && strlen(s) != (size_t)size) {
  ------------------
  |  Branch (4138:9): [True: 264, False: 0]
  |  Branch (4138:14): [True: 0, False: 264]
  ------------------
 4139|      0|        PyErr_SetString(PyExc_ValueError, "embedded null character");
 4140|      0|        return NULL;
 4141|      0|    }
 4142|    264|    return s;
 4143|    264|}
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|  3.58M|{
 4865|       |    return PyUnicode_DecodeUTF8Stateful(s, size, errors, NULL);
 4866|  3.58M|}
_PyUnicode_DecodeUTF8Writer:
 5348|  1.05M|{
 5349|  1.05M|    if (size == 0) {
  ------------------
  |  Branch (5349:9): [True: 0, False: 1.05M]
  ------------------
 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.05M|    if (_PyUnicodeWriter_Prepare(writer, size, 127) < 0) {
  ------------------
  |  |  562|  1.05M|    (((MAXCHAR) <= (WRITER)->maxchar                                  \
  |  |  ------------------
  |  |  |  Branch (562:7): [True: 1.05M, False: 0]
  |  |  ------------------
  |  |  563|  1.05M|      && (LENGTH) <= (WRITER)->size - (WRITER)->pos)                  \
  |  |  ------------------
  |  |  |  Branch (563:10): [True: 1.05M, False: 0]
  |  |  ------------------
  |  |  564|  1.05M|     ? 0                                                              \
  |  |  565|  1.05M|     : (((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.05M]
  ------------------
 5358|      0|        return -1;
 5359|      0|    }
 5360|       |
 5361|  1.05M|    const char *starts = s;
 5362|  1.05M|    const char *end = s + size;
 5363|  1.05M|    Py_ssize_t decoded = 0;
 5364|  1.05M|    Py_UCS1 *dest = (Py_UCS1*)writer->data + writer->pos * writer->kind;
 5365|  1.05M|    if (writer->kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (5365:9): [True: 1.05M, False: 0]
  ------------------
 5366|  1.05M|        decoded = ascii_decode(s, end, dest);
 5367|  1.05M|        writer->pos += decoded;
 5368|       |
 5369|  1.05M|        if (decoded == size) {
  ------------------
  |  Branch (5369:13): [True: 1.05M, False: 0]
  ------------------
 5370|  1.05M|            if (consumed) {
  ------------------
  |  Branch (5370:17): [True: 0, False: 1.05M]
  ------------------
 5371|      0|                *consumed = size;
 5372|      0|            }
 5373|  1.05M|            return 0;
 5374|  1.05M|        }
 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.05M|}
PyUnicode_DecodeUTF8Stateful:
 5388|  5.07M|{
 5389|  5.07M|    return unicode_decode_utf8(s, size,
 5390|  5.07M|                               errors ? _Py_ERROR_UNKNOWN : _Py_ERROR_STRICT,
  ------------------
  |  Branch (5390:32): [True: 81.7k, False: 4.99M]
  ------------------
 5391|  5.07M|                               errors, consumed);
 5392|  5.07M|}
_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|  1.18M|{
 5777|  1.18M|    return unicode_encode_utf8(unicode, _Py_ERROR_UNKNOWN, errors);
 5778|  1.18M|}
_PyUnicode_DecodeUnicodeEscapeInternal2:
 6467|    119|{
 6468|    119|    const char *starts = s;
 6469|    119|    const char *initial_starts = starts;
 6470|    119|    _PyUnicodeWriter writer;
 6471|    119|    const char *end;
 6472|    119|    PyObject *errorHandler = NULL;
 6473|    119|    PyObject *exc = NULL;
 6474|    119|    _PyUnicode_Name_CAPI *ucnhash_capi;
 6475|       |
 6476|       |    // so we can remember if we've seen an invalid escape char or not
 6477|    119|    *first_invalid_escape_char = -1;
 6478|    119|    *first_invalid_escape_ptr = NULL;
 6479|       |
 6480|    119|    if (size == 0) {
  ------------------
  |  Branch (6480:9): [True: 0, False: 119]
  ------------------
 6481|      0|        if (consumed) {
  ------------------
  |  Branch (6481:13): [True: 0, False: 0]
  ------------------
 6482|      0|            *consumed = 0;
 6483|      0|        }
 6484|      0|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  375|      0|    do {                             \
  |  |  376|      0|        return _PyUnicode_GetEmpty();\
  |  |  377|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (377:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 6485|      0|    }
 6486|       |    /* Escaped strings will always be longer than the resulting
 6487|       |       Unicode string, so we start with size here and then reduce the
 6488|       |       length after conversion to the true value.
 6489|       |       (but if the error callback returns a long replacement string
 6490|       |       we'll have to allocate more space) */
 6491|    119|    _PyUnicodeWriter_Init(&writer);
 6492|    119|    writer.min_length = size;
 6493|    119|    if (_PyUnicodeWriter_Prepare(&writer, size, 127) < 0) {
  ------------------
  |  |  562|    119|    (((MAXCHAR) <= (WRITER)->maxchar                                  \
  |  |  ------------------
  |  |  |  Branch (562:7): [True: 0, False: 119]
  |  |  ------------------
  |  |  563|    119|      && (LENGTH) <= (WRITER)->size - (WRITER)->pos)                  \
  |  |  ------------------
  |  |  |  Branch (563:10): [True: 0, False: 0]
  |  |  ------------------
  |  |  564|    119|     ? 0                                                              \
  |  |  565|    119|     : (((LENGTH) == 0)                                               \
  |  |  ------------------
  |  |  |  Branch (565:9): [True: 0, False: 119]
  |  |  ------------------
  |  |  566|    119|        ? 0                                                           \
  |  |  567|    119|        : _PyUnicodeWriter_PrepareInternal((WRITER), (LENGTH), (MAXCHAR))))
  ------------------
  |  Branch (6493:9): [True: 0, False: 119]
  ------------------
 6494|      0|        goto onError;
 6495|      0|    }
 6496|       |
 6497|    119|    end = s + size;
 6498|  3.69k|    while (s < end) {
  ------------------
  |  Branch (6498:12): [True: 3.57k, False: 119]
  ------------------
 6499|  3.57k|        unsigned char c = (unsigned char) *s++;
 6500|  3.57k|        Py_UCS4 ch;
 6501|  3.57k|        int count;
 6502|  3.57k|        const char *message;
 6503|       |
 6504|  3.57k|#define WRITE_ASCII_CHAR(ch)                                                  \
 6505|  3.57k|            do {                                                              \
 6506|  3.57k|                assert(ch <= 127);                                            \
 6507|  3.57k|                assert(writer.pos < writer.size);                             \
 6508|  3.57k|                PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch);  \
 6509|  3.57k|            } while(0)
 6510|       |
 6511|  3.57k|#define WRITE_CHAR(ch)                                                        \
 6512|  3.57k|            do {                                                              \
 6513|  3.57k|                if (ch <= writer.maxchar) {                                   \
 6514|  3.57k|                    assert(writer.pos < writer.size);                         \
 6515|  3.57k|                    PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch); \
 6516|  3.57k|                }                                                             \
 6517|  3.57k|                else if (_PyUnicodeWriter_WriteCharInline(&writer, ch) < 0) { \
 6518|  3.57k|                    goto onError;                                             \
 6519|  3.57k|                }                                                             \
 6520|  3.57k|            } while(0)
 6521|       |
 6522|       |        /* Non-escape characters are interpreted as Unicode ordinals */
 6523|  3.57k|        if (c != '\\') {
  ------------------
  |  Branch (6523:13): [True: 3.44k, False: 126]
  ------------------
 6524|  3.44k|            WRITE_CHAR(c);
  ------------------
  |  | 6512|  3.44k|            do {                                                              \
  |  | 6513|  3.44k|                if (ch <= writer.maxchar) {                                   \
  |  |  ------------------
  |  |  |  Branch (6513:21): [True: 3.44k, False: 0]
  |  |  ------------------
  |  | 6514|  3.44k|                    assert(writer.pos < writer.size);                         \
  |  | 6515|  3.44k|                    PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch); \
  |  |  ------------------
  |  |  |  |  335|  3.44k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  3.44k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.44k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  336|  3.44k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  3.44k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6516|  3.44k|                }                                                             \
  |  | 6517|  3.44k|                else if (_PyUnicodeWriter_WriteCharInline(&writer, ch) < 0) { \
  |  |  ------------------
  |  |  |  Branch (6517:26): [True: 0, False: 0]
  |  |  ------------------
  |  | 6518|      0|                    goto onError;                                             \
  |  | 6519|      0|                }                                                             \
  |  | 6520|  3.44k|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6520:21): [Folded, False: 3.44k]
  |  |  ------------------
  ------------------
 6525|  3.44k|            continue;
 6526|  3.44k|        }
 6527|       |
 6528|    126|        Py_ssize_t startinpos = s - starts - 1;
 6529|       |        /* \ - Escapes */
 6530|    126|        if (s >= end) {
  ------------------
  |  Branch (6530:13): [True: 0, False: 126]
  ------------------
 6531|      0|            message = "\\ at end of string";
 6532|      0|            goto incomplete;
 6533|      0|        }
 6534|    126|        c = (unsigned char) *s++;
 6535|       |
 6536|    126|        assert(writer.pos < writer.size);
 6537|    126|        switch (c) {
 6538|       |
 6539|       |            /* \x escapes */
 6540|      2|        case '\n': continue;
  ------------------
  |  Branch (6540:9): [True: 2, False: 124]
  ------------------
 6541|      2|        case '\\': WRITE_ASCII_CHAR('\\'); continue;
  ------------------
  |  | 6505|      2|            do {                                                              \
  |  | 6506|      2|                assert(ch <= 127);                                            \
  |  | 6507|      2|                assert(writer.pos < writer.size);                             \
  |  | 6508|      2|                PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch);  \
  |  |  ------------------
  |  |  |  |  335|      2|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      2|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  336|      2|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      2|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6509|      2|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6509:21): [Folded, False: 2]
  |  |  ------------------
  ------------------
  |  Branch (6541:9): [True: 2, False: 124]
  ------------------
 6542|      0|        case '\'': WRITE_ASCII_CHAR('\''); continue;
  ------------------
  |  | 6505|      0|            do {                                                              \
  |  | 6506|      0|                assert(ch <= 127);                                            \
  |  | 6507|      0|                assert(writer.pos < writer.size);                             \
  |  | 6508|      0|                PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, 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))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6509|      0|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6509:21): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (6542:9): [True: 0, False: 126]
  ------------------
 6543|      0|        case '\"': WRITE_ASCII_CHAR('\"'); continue;
  ------------------
  |  | 6505|      0|            do {                                                              \
  |  | 6506|      0|                assert(ch <= 127);                                            \
  |  | 6507|      0|                assert(writer.pos < writer.size);                             \
  |  | 6508|      0|                PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, 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))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6509|      0|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6509:21): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (6543:9): [True: 0, False: 126]
  ------------------
 6544|      0|        case 'b': WRITE_ASCII_CHAR('\b'); continue;
  ------------------
  |  | 6505|      0|            do {                                                              \
  |  | 6506|      0|                assert(ch <= 127);                                            \
  |  | 6507|      0|                assert(writer.pos < writer.size);                             \
  |  | 6508|      0|                PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, 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))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6509|      0|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6509:21): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (6544:9): [True: 0, False: 126]
  ------------------
 6545|       |        /* FF */
 6546|      0|        case 'f': WRITE_ASCII_CHAR('\014'); continue;
  ------------------
  |  | 6505|      0|            do {                                                              \
  |  | 6506|      0|                assert(ch <= 127);                                            \
  |  | 6507|      0|                assert(writer.pos < writer.size);                             \
  |  | 6508|      0|                PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, 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))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6509|      0|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6509:21): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (6546:9): [True: 0, False: 126]
  ------------------
 6547|      7|        case 't': WRITE_ASCII_CHAR('\t'); continue;
  ------------------
  |  | 6505|      7|            do {                                                              \
  |  | 6506|      7|                assert(ch <= 127);                                            \
  |  | 6507|      7|                assert(writer.pos < writer.size);                             \
  |  | 6508|      7|                PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch);  \
  |  |  ------------------
  |  |  |  |  335|      7|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      7|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  336|      7|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      7|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6509|      7|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6509:21): [Folded, False: 7]
  |  |  ------------------
  ------------------
  |  Branch (6547:9): [True: 7, False: 119]
  ------------------
 6548|     97|        case 'n': WRITE_ASCII_CHAR('\n'); continue;
  ------------------
  |  | 6505|     97|            do {                                                              \
  |  | 6506|     97|                assert(ch <= 127);                                            \
  |  | 6507|     97|                assert(writer.pos < writer.size);                             \
  |  | 6508|     97|                PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch);  \
  |  |  ------------------
  |  |  |  |  335|     97|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|     97|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     97|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  336|     97|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|     97|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6509|     97|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6509:21): [Folded, False: 97]
  |  |  ------------------
  ------------------
  |  Branch (6548:9): [True: 97, False: 29]
  ------------------
 6549|      0|        case 'r': WRITE_ASCII_CHAR('\r'); continue;
  ------------------
  |  | 6505|      0|            do {                                                              \
  |  | 6506|      0|                assert(ch <= 127);                                            \
  |  | 6507|      0|                assert(writer.pos < writer.size);                             \
  |  | 6508|      0|                PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, 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))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6509|      0|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6509:21): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (6549:9): [True: 0, False: 126]
  ------------------
 6550|       |        /* VT */
 6551|      0|        case 'v': WRITE_ASCII_CHAR('\013'); continue;
  ------------------
  |  | 6505|      0|            do {                                                              \
  |  | 6506|      0|                assert(ch <= 127);                                            \
  |  | 6507|      0|                assert(writer.pos < writer.size);                             \
  |  | 6508|      0|                PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, 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))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6509|      0|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6509:21): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (6551:9): [True: 0, False: 126]
  ------------------
 6552|       |        /* BEL, not classic C */
 6553|      0|        case 'a': WRITE_ASCII_CHAR('\007'); continue;
  ------------------
  |  | 6505|      0|            do {                                                              \
  |  | 6506|      0|                assert(ch <= 127);                                            \
  |  | 6507|      0|                assert(writer.pos < writer.size);                             \
  |  | 6508|      0|                PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, 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))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6509|      0|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6509:21): [Folded, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (6553:9): [True: 0, False: 126]
  ------------------
 6554|       |
 6555|       |            /* \OOO (octal) escapes */
 6556|     15|        case '0': case '1': case '2': case '3':
  ------------------
  |  Branch (6556:9): [True: 10, False: 116]
  |  Branch (6556:19): [True: 5, False: 121]
  |  Branch (6556:29): [True: 0, False: 126]
  |  Branch (6556:39): [True: 0, False: 126]
  ------------------
 6557|     15|        case '4': case '5': case '6': case '7':
  ------------------
  |  Branch (6557:9): [True: 0, False: 126]
  |  Branch (6557:19): [True: 0, False: 126]
  |  Branch (6557:29): [True: 0, False: 126]
  |  Branch (6557:39): [True: 0, False: 126]
  ------------------
 6558|     15|            ch = c - '0';
 6559|     15|            if (s < end && '0' <= *s && *s <= '7') {
  ------------------
  |  Branch (6559:17): [True: 3, False: 12]
  |  Branch (6559:28): [True: 1, False: 2]
  |  Branch (6559:41): [True: 0, False: 1]
  ------------------
 6560|      0|                ch = (ch<<3) + *s++ - '0';
 6561|      0|                if (s < end && '0' <= *s && *s <= '7') {
  ------------------
  |  Branch (6561:21): [True: 0, False: 0]
  |  Branch (6561:32): [True: 0, False: 0]
  |  Branch (6561:45): [True: 0, False: 0]
  ------------------
 6562|      0|                    ch = (ch<<3) + *s++ - '0';
 6563|      0|                }
 6564|      0|            }
 6565|     15|            if (ch > 0377) {
  ------------------
  |  Branch (6565:17): [True: 0, False: 15]
  ------------------
 6566|      0|                if (*first_invalid_escape_char == -1) {
  ------------------
  |  Branch (6566:21): [True: 0, False: 0]
  ------------------
 6567|      0|                    *first_invalid_escape_char = ch;
 6568|      0|                    if (starts == initial_starts) {
  ------------------
  |  Branch (6568:25): [True: 0, False: 0]
  ------------------
 6569|       |                        /* Back up 3 chars, since we've already incremented s. */
 6570|      0|                        *first_invalid_escape_ptr = s - 3;
 6571|      0|                    }
 6572|      0|                }
 6573|      0|            }
 6574|     15|            WRITE_CHAR(ch);
  ------------------
  |  | 6512|     15|            do {                                                              \
  |  | 6513|     15|                if (ch <= writer.maxchar) {                                   \
  |  |  ------------------
  |  |  |  Branch (6513:21): [True: 15, False: 0]
  |  |  ------------------
  |  | 6514|     15|                    assert(writer.pos < writer.size);                         \
  |  | 6515|     15|                    PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch); \
  |  |  ------------------
  |  |  |  |  335|     15|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|     15|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     15|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  336|     15|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|     15|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6516|     15|                }                                                             \
  |  | 6517|     15|                else if (_PyUnicodeWriter_WriteCharInline(&writer, ch) < 0) { \
  |  |  ------------------
  |  |  |  Branch (6517:26): [True: 0, False: 0]
  |  |  ------------------
  |  | 6518|      0|                    goto onError;                                             \
  |  | 6519|      0|                }                                                             \
  |  | 6520|     15|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6520:21): [Folded, False: 15]
  |  |  ------------------
  ------------------
 6575|     15|            continue;
 6576|       |
 6577|       |            /* hex escapes */
 6578|       |            /* \xXX */
 6579|     15|        case 'x':
  ------------------
  |  Branch (6579:9): [True: 3, False: 123]
  ------------------
 6580|      3|            count = 2;
 6581|      3|            message = "truncated \\xXX escape";
 6582|      3|            goto hexescape;
 6583|       |
 6584|       |            /* \uXXXX */
 6585|      0|        case 'u':
  ------------------
  |  Branch (6585:9): [True: 0, False: 126]
  ------------------
 6586|      0|            count = 4;
 6587|      0|            message = "truncated \\uXXXX escape";
 6588|      0|            goto hexescape;
 6589|       |
 6590|       |            /* \UXXXXXXXX */
 6591|      0|        case 'U':
  ------------------
  |  Branch (6591:9): [True: 0, False: 126]
  ------------------
 6592|      0|            count = 8;
 6593|      0|            message = "truncated \\UXXXXXXXX escape";
 6594|      3|        hexescape:
 6595|      9|            for (ch = 0; count; ++s, --count) {
  ------------------
  |  Branch (6595:26): [True: 6, False: 3]
  ------------------
 6596|      6|                if (s >= end) {
  ------------------
  |  Branch (6596:21): [True: 0, False: 6]
  ------------------
 6597|      0|                    goto incomplete;
 6598|      0|                }
 6599|      6|                c = (unsigned char)*s;
 6600|      6|                ch <<= 4;
 6601|      6|                if (c >= '0' && c <= '9') {
  ------------------
  |  Branch (6601:21): [True: 6, False: 0]
  |  Branch (6601:33): [True: 6, False: 0]
  ------------------
 6602|      6|                    ch += c - '0';
 6603|      6|                }
 6604|      0|                else if (c >= 'a' && c <= 'f') {
  ------------------
  |  Branch (6604:26): [True: 0, False: 0]
  |  Branch (6604:38): [True: 0, False: 0]
  ------------------
 6605|      0|                    ch += c - ('a' - 10);
 6606|      0|                }
 6607|      0|                else if (c >= 'A' && c <= 'F') {
  ------------------
  |  Branch (6607:26): [True: 0, False: 0]
  |  Branch (6607:38): [True: 0, False: 0]
  ------------------
 6608|      0|                    ch += c - ('A' - 10);
 6609|      0|                }
 6610|      0|                else {
 6611|      0|                    goto error;
 6612|      0|                }
 6613|      6|            }
 6614|       |
 6615|       |            /* when we get here, ch is a 32-bit unicode character */
 6616|      3|            if (ch > MAX_UNICODE) {
  ------------------
  |  |  104|      3|#define MAX_UNICODE _Py_MAX_UNICODE
  |  |  ------------------
  |  |  |  |   16|      3|#define _Py_MAX_UNICODE 0x10ffff
  |  |  ------------------
  ------------------
  |  Branch (6616:17): [True: 0, False: 3]
  ------------------
 6617|      0|                message = "illegal Unicode character";
 6618|      0|                goto error;
 6619|      0|            }
 6620|       |
 6621|      3|            WRITE_CHAR(ch);
  ------------------
  |  | 6512|      3|            do {                                                              \
  |  | 6513|      3|                if (ch <= writer.maxchar) {                                   \
  |  |  ------------------
  |  |  |  Branch (6513:21): [True: 3, False: 0]
  |  |  ------------------
  |  | 6514|      3|                    assert(writer.pos < writer.size);                         \
  |  | 6515|      3|                    PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, ch); \
  |  |  ------------------
  |  |  |  |  335|      3|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      3|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  |  |  336|      3|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      3|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6516|      3|                }                                                             \
  |  | 6517|      3|                else if (_PyUnicodeWriter_WriteCharInline(&writer, ch) < 0) { \
  |  |  ------------------
  |  |  |  Branch (6517:26): [True: 0, False: 0]
  |  |  ------------------
  |  | 6518|      0|                    goto onError;                                             \
  |  | 6519|      0|                }                                                             \
  |  | 6520|      3|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6520:21): [Folded, False: 3]
  |  |  ------------------
  ------------------
 6622|      3|            continue;
 6623|       |
 6624|       |            /* \N{name} */
 6625|      3|        case 'N':
  ------------------
  |  Branch (6625:9): [True: 0, False: 126]
  ------------------
 6626|      0|            ucnhash_capi = _PyUnicode_GetNameCAPI();
 6627|      0|            if (ucnhash_capi == NULL) {
  ------------------
  |  Branch (6627:17): [True: 0, False: 0]
  ------------------
 6628|      0|                PyErr_SetString(
 6629|      0|                        PyExc_UnicodeError,
 6630|      0|                        "\\N escapes not supported (can't load unicodedata module)"
 6631|      0|                );
 6632|      0|                goto onError;
 6633|      0|            }
 6634|       |
 6635|      0|            message = "malformed \\N character escape";
 6636|      0|            if (s >= end) {
  ------------------
  |  Branch (6636:17): [True: 0, False: 0]
  ------------------
 6637|      0|                goto incomplete;
 6638|      0|            }
 6639|      0|            if (*s == '{') {
  ------------------
  |  Branch (6639:17): [True: 0, False: 0]
  ------------------
 6640|      0|                const char *start = ++s;
 6641|      0|                size_t namelen;
 6642|       |                /* look for the closing brace */
 6643|      0|                while (s < end && *s != '}')
  ------------------
  |  Branch (6643:24): [True: 0, False: 0]
  |  Branch (6643:35): [True: 0, False: 0]
  ------------------
 6644|      0|                    s++;
 6645|      0|                if (s >= end) {
  ------------------
  |  Branch (6645:21): [True: 0, False: 0]
  ------------------
 6646|      0|                    goto incomplete;
 6647|      0|                }
 6648|      0|                namelen = s - start;
 6649|      0|                if (namelen) {
  ------------------
  |  Branch (6649:21): [True: 0, False: 0]
  ------------------
 6650|       |                    /* found a name.  look it up in the unicode database */
 6651|      0|                    s++;
 6652|      0|                    ch = 0xffffffff; /* in case 'getcode' messes up */
 6653|      0|                    if (namelen <= INT_MAX &&
  ------------------
  |  Branch (6653:25): [True: 0, False: 0]
  ------------------
 6654|      0|                        ucnhash_capi->getcode(start, (int)namelen,
  ------------------
  |  Branch (6654:25): [True: 0, False: 0]
  ------------------
 6655|      0|                                              &ch, 0)) {
 6656|      0|                        assert(ch <= MAX_UNICODE);
 6657|      0|                        WRITE_CHAR(ch);
  ------------------
  |  | 6512|      0|            do {                                                              \
  |  | 6513|      0|                if (ch <= writer.maxchar) {                                   \
  |  |  ------------------
  |  |  |  Branch (6513:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 6514|      0|                    assert(writer.pos < writer.size);                         \
  |  | 6515|      0|                    PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, 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))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6516|      0|                }                                                             \
  |  | 6517|      0|                else if (_PyUnicodeWriter_WriteCharInline(&writer, ch) < 0) { \
  |  |  ------------------
  |  |  |  Branch (6517:26): [True: 0, False: 0]
  |  |  ------------------
  |  | 6518|      0|                    goto onError;                                             \
  |  | 6519|      0|                }                                                             \
  |  | 6520|      0|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6520:21): [Folded, False: 0]
  |  |  ------------------
  ------------------
 6658|      0|                        continue;
 6659|      0|                    }
 6660|      0|                    message = "unknown Unicode character name";
 6661|      0|                }
 6662|      0|            }
 6663|      0|            goto error;
 6664|       |
 6665|      0|        default:
  ------------------
  |  Branch (6665:9): [True: 0, False: 126]
  ------------------
 6666|      0|            if (*first_invalid_escape_char == -1) {
  ------------------
  |  Branch (6666:17): [True: 0, False: 0]
  ------------------
 6667|      0|                *first_invalid_escape_char = c;
 6668|      0|                if (starts == initial_starts) {
  ------------------
  |  Branch (6668:21): [True: 0, False: 0]
  ------------------
 6669|       |                    /* Back up one char, since we've already incremented s. */
 6670|      0|                    *first_invalid_escape_ptr = s - 1;
 6671|      0|                }
 6672|      0|            }
 6673|      0|            WRITE_ASCII_CHAR('\\');
  ------------------
  |  | 6505|      0|            do {                                                              \
  |  | 6506|      0|                assert(ch <= 127);                                            \
  |  | 6507|      0|                assert(writer.pos < writer.size);                             \
  |  | 6508|      0|                PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, 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))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6509|      0|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6509:21): [Folded, False: 0]
  |  |  ------------------
  ------------------
 6674|      0|            WRITE_CHAR(c);
  ------------------
  |  | 6512|      0|            do {                                                              \
  |  | 6513|      0|                if (ch <= writer.maxchar) {                                   \
  |  |  ------------------
  |  |  |  Branch (6513:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 6514|      0|                    assert(writer.pos < writer.size);                         \
  |  | 6515|      0|                    PyUnicode_WRITE(writer.kind, writer.data, writer.pos++, 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))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6516|      0|                }                                                             \
  |  | 6517|      0|                else if (_PyUnicodeWriter_WriteCharInline(&writer, ch) < 0) { \
  |  |  ------------------
  |  |  |  Branch (6517:26): [True: 0, False: 0]
  |  |  ------------------
  |  | 6518|      0|                    goto onError;                                             \
  |  | 6519|      0|                }                                                             \
  |  | 6520|      0|            } while(0)
  |  |  ------------------
  |  |  |  Branch (6520:21): [Folded, False: 0]
  |  |  ------------------
  ------------------
 6675|      0|            continue;
 6676|    126|        }
 6677|       |
 6678|      0|      incomplete:
 6679|      0|        if (consumed) {
  ------------------
  |  Branch (6679:13): [True: 0, False: 0]
  ------------------
 6680|      0|            *consumed = startinpos;
 6681|      0|            break;
 6682|      0|        }
 6683|      0|      error:;
 6684|      0|        Py_ssize_t endinpos = s-starts;
 6685|      0|        writer.min_length = end - s + writer.pos;
 6686|      0|        if (unicode_decode_call_errorhandler_writer(
  ------------------
  |  Branch (6686:13): [True: 0, False: 0]
  ------------------
 6687|      0|                errors, &errorHandler,
 6688|      0|                "unicodeescape", message,
 6689|      0|                &starts, &end, &startinpos, &endinpos, &exc, &s,
 6690|      0|                &writer)) {
 6691|      0|            goto onError;
 6692|      0|        }
 6693|      0|        assert(end - s <= writer.size - writer.pos);
 6694|       |
 6695|      0|#undef WRITE_ASCII_CHAR
 6696|      0|#undef WRITE_CHAR
 6697|      0|    }
 6698|       |
 6699|    119|    Py_XDECREF(errorHandler);
  ------------------
  |  |  524|    119|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    119|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    119|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6700|    119|    Py_XDECREF(exc);
  ------------------
  |  |  524|    119|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    119|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    119|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6701|    119|    return _PyUnicodeWriter_Finish(&writer);
 6702|       |
 6703|      0|  onError:
 6704|      0|    _PyUnicodeWriter_Dealloc(&writer);
 6705|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6706|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6707|       |    return NULL;
 6708|    119|}
PyUnicode_DecodeLatin1:
 7078|     12|{
 7079|       |    /* Latin-1 is equivalent to the first 256 ordinals in Unicode. */
 7080|     12|    return _PyUnicode_FromUCS1((const unsigned char*)s, size);
 7081|     12|}
_PyUnicode_AsLatin1String:
 7368|      6|{
 7369|      6|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|      6|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      6|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (7369:9): [True: 0, False: 6]
  ------------------
 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|      6|    if (PyUnicode_KIND(unicode) == PyUnicode_1BYTE_KIND)
  ------------------
  |  |  258|      6|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|      6|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (7375:9): [True: 6, False: 0]
  ------------------
 7376|      6|        return PyBytes_FromStringAndSize(PyUnicode_DATA(unicode),
  ------------------
  |  |  284|      6|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7377|      6|                                         PyUnicode_GET_LENGTH(unicode));
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 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|      6|}
PyUnicode_DecodeASCII:
 7395|    100|{
 7396|    100|    const char *starts = s;
 7397|    100|    const char *e = s + size;
 7398|    100|    PyObject *error_handler_obj = NULL;
 7399|    100|    PyObject *exc = NULL;
 7400|    100|    _Py_error_handler error_handler = _Py_ERROR_UNKNOWN;
 7401|       |
 7402|    100|    if (size == 0)
  ------------------
  |  Branch (7402:9): [True: 0, False: 100]
  ------------------
 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|    100|    if (size == 1 && (unsigned char)s[0] < 128) {
  ------------------
  |  Branch (7406:9): [True: 30, False: 70]
  |  Branch (7406:22): [True: 30, False: 0]
  ------------------
 7407|     30|        return get_latin1_char((unsigned char)s[0]);
 7408|     30|    }
 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|  31.0k|{
 7493|  31.0k|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|  31.0k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  31.0k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (7493:9): [True: 0, False: 31.0k]
  ------------------
 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|  31.0k|    if (PyUnicode_IS_ASCII(unicode))
  ------------------
  |  |  227|  31.0k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  31.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  31.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 3.18k, False: 27.8k]
  |  |  ------------------
  ------------------
 7500|  3.18k|        return PyBytes_FromStringAndSize(PyUnicode_DATA(unicode),
  ------------------
  |  |  284|  3.18k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.18k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.18k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7501|  3.18k|                                         PyUnicode_GET_LENGTH(unicode));
  ------------------
  |  |  299|  3.18k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.18k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.18k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7502|  27.8k|    return unicode_encode_ucs1(unicode, errors, 128);
 7503|  31.0k|}
PyUnicode_AsASCIIString:
 7507|      6|{
 7508|       |    return _PyUnicode_AsASCIIString(unicode, NULL);
 7509|      6|}
_PyUnicode_TransformDecimalAndSpaceToASCII:
 9455|  13.9k|{
 9456|  13.9k|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|  13.9k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  13.9k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (9456:9): [True: 0, False: 13.9k]
  ------------------
 9457|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 9458|      0|        return NULL;
 9459|      0|    }
 9460|  13.9k|    if (PyUnicode_IS_ASCII(unicode)) {
  ------------------
  |  |  227|  13.9k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  13.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 13.9k, False: 0]
  |  |  ------------------
  ------------------
 9461|       |        /* If the string is already ASCII, just return the same string */
 9462|  13.9k|        return Py_NewRef(unicode);
  ------------------
  |  |  550|  13.9k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  13.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9463|  13.9k|    }
 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|   108k|{
 9635|   108k|    int kind;
 9636|   108k|    Py_ssize_t len, result;
 9637|   108k|    len = PyUnicode_GET_LENGTH(str);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9638|   108k|    ADJUST_INDICES(start, end, len);
  ------------------
  |  | 9503|   108k|    do {                                \
  |  | 9504|   108k|        if (end > len) {                \
  |  |  ------------------
  |  |  |  Branch (9504:13): [True: 0, False: 108k]
  |  |  ------------------
  |  | 9505|      0|            end = len;                  \
  |  | 9506|      0|        }                               \
  |  | 9507|   108k|        else if (end < 0) {             \
  |  |  ------------------
  |  |  |  Branch (9507:18): [True: 0, False: 108k]
  |  |  ------------------
  |  | 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|   108k|        if (start < 0) {                \
  |  |  ------------------
  |  |  |  Branch (9513:13): [True: 0, False: 108k]
  |  |  ------------------
  |  | 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|   108k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (9519:14): [Folded, False: 108k]
  |  |  ------------------
  ------------------
 9639|   108k|    if (end - start < 1)
  ------------------
  |  Branch (9639:9): [True: 0, False: 108k]
  ------------------
 9640|      0|        return -1;
 9641|   108k|    kind = PyUnicode_KIND(str);
  ------------------
  |  |  258|   108k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|   108k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 9642|   108k|    result = findchar(PyUnicode_1BYTE_DATA(str) + kind*start,
  ------------------
  |  |  291|   108k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|   108k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 9643|   108k|                      kind, end-start, ch, direction);
 9644|   108k|    if (result == -1)
  ------------------
  |  Branch (9644:9): [True: 104k, False: 4.66k]
  ------------------
 9645|   104k|        return -1;
 9646|  4.66k|    else
 9647|  4.66k|        return start + result;
 9648|   108k|}
PyUnicode_Join:
 9960|   143k|{
 9961|   143k|    PyObject *res;
 9962|   143k|    PyObject *fseq;
 9963|   143k|    Py_ssize_t seqlen;
 9964|   143k|    PyObject **items;
 9965|       |
 9966|   143k|    fseq = PySequence_Fast(seq, "can only join an iterable");
 9967|   143k|    if (fseq == NULL) {
  ------------------
  |  Branch (9967:9): [True: 0, False: 143k]
  ------------------
 9968|      0|        return NULL;
 9969|      0|    }
 9970|       |
 9971|   143k|    Py_BEGIN_CRITICAL_SECTION_SEQUENCE_FAST(seq);
  ------------------
  |  |   77|   143k|# define Py_BEGIN_CRITICAL_SECTION_SEQUENCE_FAST(original) {
  ------------------
 9972|       |
 9973|   143k|    items = PySequence_Fast_ITEMS(fseq);
  ------------------
  |  |  102|   143k|    (PyList_Check(sf) ? ((PyListObject *)(sf))->ob_item \
  |  |  ------------------
  |  |  |  |   25|   143k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|   143k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 142k, False: 526]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  103|   143k|                      : ((PyTupleObject *)(sf))->ob_item)
  ------------------
 9974|   143k|    seqlen = PySequence_Fast_GET_SIZE(fseq);
  ------------------
  |  |   92|   143k|    (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   25|   143k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|   143k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 142k, False: 526]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   38|   142k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   142k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   142k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
  |  |  ------------------
  |  |  |  |   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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9975|   143k|    res = _PyUnicode_JoinArray(separator, items, seqlen);
 9976|       |
 9977|   143k|    Py_END_CRITICAL_SECTION_SEQUENCE_FAST();
  ------------------
  |  |   78|   143k|# define Py_END_CRITICAL_SECTION_SEQUENCE_FAST() }
  ------------------
 9978|       |
 9979|   143k|    Py_DECREF(fseq);
  ------------------
  |  |  430|   143k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   143k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   143k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9980|   143k|    return res;
 9981|   143k|}
_PyUnicode_JoinArray:
 9985|  2.28M|{
 9986|  2.28M|    PyObject *res = NULL; /* the result */
 9987|  2.28M|    PyObject *sep = NULL;
 9988|  2.28M|    Py_ssize_t seplen;
 9989|  2.28M|    PyObject *item;
 9990|  2.28M|    Py_ssize_t sz, i, res_offset;
 9991|  2.28M|    Py_UCS4 maxchar;
 9992|  2.28M|    Py_UCS4 item_maxchar;
 9993|  2.28M|    int use_memcpy;
 9994|  2.28M|    unsigned char *res_data = NULL, *sep_data = NULL;
 9995|  2.28M|    PyObject *last_obj;
 9996|  2.28M|    int kind = 0;
 9997|       |
 9998|       |    /* If empty sequence, return u"". */
 9999|  2.28M|    if (seqlen == 0) {
  ------------------
  |  Branch (9999:9): [True: 60, False: 2.28M]
  ------------------
10000|     60|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  375|     60|    do {                             \
  |  |  376|     60|        return _PyUnicode_GetEmpty();\
  |  |  377|     60|    } while (0)
  |  |  ------------------
  |  |  |  Branch (377:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
10001|     60|    }
10002|       |
10003|       |    /* If singleton sequence with an exact Unicode, return that. */
10004|  2.28M|    last_obj = NULL;
10005|  2.28M|    if (seqlen == 1) {
  ------------------
  |  Branch (10005:9): [True: 19.9k, False: 2.26M]
  ------------------
10006|  19.9k|        if (PyUnicode_CheckExact(items[0])) {
  ------------------
  |  |  104|  19.9k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  19.9k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  19.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  19.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 19.9k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10007|  19.9k|            res = items[0];
10008|  19.9k|            return Py_NewRef(res);
  ------------------
  |  |  550|  19.9k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  19.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  19.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10009|  19.9k|        }
10010|      0|        seplen = 0;
10011|      0|        maxchar = 0;
10012|      0|    }
10013|  2.26M|    else {
10014|       |        /* Set up sep and seplen */
10015|  2.26M|        if (separator == NULL) {
  ------------------
  |  Branch (10015:13): [True: 0, False: 2.26M]
  ------------------
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|  2.26M|        else {
10024|  2.26M|            if (!PyUnicode_Check(separator)) {
  ------------------
  |  |  103|  2.26M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  2.26M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (10024:17): [True: 0, False: 2.26M]
  ------------------
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|  2.26M|            sep = separator;
10032|  2.26M|            seplen = PyUnicode_GET_LENGTH(separator);
  ------------------
  |  |  299|  2.26M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.26M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.26M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10033|  2.26M|            maxchar = PyUnicode_MAX_CHAR_VALUE(separator);
  ------------------
  |  |  405|  2.26M|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.26M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.26M|#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|  2.26M|            Py_INCREF(sep);
  ------------------
  |  |  310|  2.26M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.26M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.26M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10037|  2.26M|        }
10038|  2.26M|        last_obj = sep;
10039|  2.26M|    }
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|  2.26M|    sz = 0;
10047|       |#ifdef Py_DEBUG
10048|       |    use_memcpy = 0;
10049|       |#else
10050|  2.26M|    use_memcpy = 1;
10051|  2.26M|#endif
10052|  7.82M|    for (i = 0; i < seqlen; i++) {
  ------------------
  |  Branch (10052:17): [True: 5.56M, False: 2.26M]
  ------------------
10053|  5.56M|        size_t add_sz;
10054|  5.56M|        item = items[i];
10055|  5.56M|        if (!PyUnicode_Check(item)) {
  ------------------
  |  |  103|  5.56M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  5.56M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (10055:13): [True: 0, False: 5.56M]
  ------------------
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|  5.56M|        add_sz = PyUnicode_GET_LENGTH(item);
  ------------------
  |  |  299|  5.56M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.56M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.56M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10063|  5.56M|        item_maxchar = PyUnicode_MAX_CHAR_VALUE(item);
  ------------------
  |  |  405|  5.56M|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.56M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.56M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10064|  5.56M|        maxchar = Py_MAX(maxchar, item_maxchar);
  ------------------
  |  |  115|  5.56M|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 117k, False: 5.44M]
  |  |  ------------------
  ------------------
10065|  5.56M|        if (i != 0) {
  ------------------
  |  Branch (10065:13): [True: 3.29M, False: 2.26M]
  ------------------
10066|  3.29M|            add_sz += seplen;
10067|  3.29M|        }
10068|  5.56M|        if (add_sz > (size_t)(PY_SSIZE_T_MAX - sz)) {
  ------------------
  |  |  137|  5.56M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (10068:13): [True: 0, False: 5.56M]
  ------------------
10069|      0|            PyErr_SetString(PyExc_OverflowError,
10070|      0|                            "join() result is too long for a Python string");
10071|      0|            goto onError;
10072|      0|        }
10073|  5.56M|        sz += add_sz;
10074|  5.56M|        if (use_memcpy && last_obj != NULL) {
  ------------------
  |  Branch (10074:13): [True: 4.57M, False: 984k]
  |  Branch (10074:27): [True: 4.57M, False: 0]
  ------------------
10075|  4.57M|            if (PyUnicode_KIND(last_obj) != PyUnicode_KIND(item))
  ------------------
  |  |  258|  4.57M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  4.57M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
                          if (PyUnicode_KIND(last_obj) != PyUnicode_KIND(item))
  ------------------
  |  |  258|  4.57M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  4.57M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (10075:17): [True: 5.58k, False: 4.57M]
  ------------------
10076|  5.58k|                use_memcpy = 0;
10077|  4.57M|        }
10078|  5.56M|        last_obj = item;
10079|  5.56M|    }
10080|       |
10081|  2.26M|    res = PyUnicode_New(sz, maxchar);
10082|  2.26M|    if (res == NULL)
  ------------------
  |  Branch (10082:9): [True: 0, False: 2.26M]
  ------------------
10083|      0|        goto onError;
10084|       |
10085|       |    /* Catenate everything. */
10086|       |#ifdef Py_DEBUG
10087|       |    use_memcpy = 0;
10088|       |#else
10089|  2.26M|    if (use_memcpy) {
  ------------------
  |  Branch (10089:9): [True: 2.26M, False: 5.58k]
  ------------------
10090|  2.26M|        res_data = PyUnicode_1BYTE_DATA(res);
  ------------------
  |  |  291|  2.26M|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  2.26M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
10091|  2.26M|        kind = PyUnicode_KIND(res);
  ------------------
  |  |  258|  2.26M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  2.26M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
10092|  2.26M|        if (seplen != 0)
  ------------------
  |  Branch (10092:13): [True: 115k, False: 2.14M]
  ------------------
10093|   115k|            sep_data = PyUnicode_1BYTE_DATA(sep);
  ------------------
  |  |  291|   115k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|   115k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
10094|  2.26M|    }
10095|  2.26M|#endif
10096|  2.26M|    if (use_memcpy) {
  ------------------
  |  Branch (10096:9): [True: 2.26M, False: 5.58k]
  ------------------
10097|  6.81M|        for (i = 0; i < seqlen; ++i) {
  ------------------
  |  Branch (10097:21): [True: 4.55M, False: 2.26M]
  ------------------
10098|  4.55M|            Py_ssize_t itemlen;
10099|  4.55M|            item = items[i];
10100|       |
10101|       |            /* Copy item, and maybe the separator. */
10102|  4.55M|            if (i && seplen != 0) {
  ------------------
  |  Branch (10102:17): [True: 2.29M, False: 2.26M]
  |  Branch (10102:22): [True: 122k, False: 2.17M]
  ------------------
10103|   122k|                memcpy(res_data,
10104|   122k|                          sep_data,
10105|   122k|                          kind * seplen);
10106|   122k|                res_data += kind * seplen;
10107|   122k|            }
10108|       |
10109|  4.55M|            itemlen = PyUnicode_GET_LENGTH(item);
  ------------------
  |  |  299|  4.55M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.55M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.55M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10110|  4.55M|            if (itemlen != 0) {
  ------------------
  |  Branch (10110:17): [True: 4.55M, False: 524]
  ------------------
10111|  4.55M|                memcpy(res_data,
10112|  4.55M|                          PyUnicode_DATA(item),
  ------------------
  |  |  284|  4.55M|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.55M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.55M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10113|  4.55M|                          kind * itemlen);
10114|  4.55M|                res_data += kind * itemlen;
10115|  4.55M|            }
10116|  4.55M|        }
10117|  2.26M|        assert(res_data == PyUnicode_1BYTE_DATA(res)
10118|  2.26M|                           + kind * PyUnicode_GET_LENGTH(res));
10119|  2.26M|    }
10120|  5.58k|    else {
10121|  1.01M|        for (i = 0, res_offset = 0; i < seqlen; ++i) {
  ------------------
  |  Branch (10121:37): [True: 1.00M, False: 5.58k]
  ------------------
10122|  1.00M|            Py_ssize_t itemlen;
10123|  1.00M|            item = items[i];
10124|       |
10125|       |            /* Copy item, and maybe the separator. */
10126|  1.00M|            if (i && seplen != 0) {
  ------------------
  |  Branch (10126:17): [True: 1.00M, False: 5.58k]
  |  Branch (10126:22): [True: 0, False: 1.00M]
  ------------------
10127|      0|                _PyUnicode_FastCopyCharacters(res, res_offset, sep, 0, seplen);
10128|      0|                res_offset += seplen;
10129|      0|            }
10130|       |
10131|  1.00M|            itemlen = PyUnicode_GET_LENGTH(item);
  ------------------
  |  |  299|  1.00M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.00M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.00M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10132|  1.00M|            if (itemlen != 0) {
  ------------------
  |  Branch (10132:17): [True: 1.00M, False: 0]
  ------------------
10133|  1.00M|                _PyUnicode_FastCopyCharacters(res, res_offset, item, 0, itemlen);
10134|  1.00M|                res_offset += itemlen;
10135|  1.00M|            }
10136|  1.00M|        }
10137|  5.58k|        assert(res_offset == PyUnicode_GET_LENGTH(res));
10138|  5.58k|    }
10139|       |
10140|  2.26M|    Py_XDECREF(sep);
  ------------------
  |  |  524|  2.26M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.26M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.26M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10141|  2.26M|    assert(_PyUnicode_CheckConsistency(res, 1));
10142|  2.26M|    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|  2.26M|}
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:
11018|  22.8M|{
11019|  22.8M|    assert(PyUnicode_Check(str1));
11020|  22.8M|    assert(PyUnicode_Check(str2));
11021|  22.8M|    if (str1 == str2) {
  ------------------
  |  Branch (11021:9): [True: 7.73M, False: 15.1M]
  ------------------
11022|  7.73M|        return 1;
11023|  7.73M|    }
11024|  15.1M|    return unicode_eq(str1, str2);
11025|  22.8M|}
PyUnicode_Compare:
11048|  9.24k|{
11049|  9.24k|    if (PyUnicode_Check(left) && PyUnicode_Check(right)) {
  ------------------
  |  |  103|  9.24k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  18.4k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 9.24k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyUnicode_Check(left) && PyUnicode_Check(right)) {
  ------------------
  |  |  103|  9.24k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  9.24k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 9.24k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11050|       |        /* a string is equal to itself */
11051|  9.24k|        if (left == right)
  ------------------
  |  Branch (11051:13): [True: 0, False: 9.24k]
  ------------------
11052|      0|            return 0;
11053|       |
11054|  9.24k|        return unicode_compare(left, right);
11055|  9.24k|    }
11056|      0|    PyErr_Format(PyExc_TypeError,
11057|      0|                 "Can't compare %.100s and %.100s",
11058|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11059|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11060|      0|    return -1;
11061|  9.24k|}
PyUnicode_CompareWithASCIIString:
11065|   368k|{
11066|   368k|    Py_ssize_t i;
11067|   368k|    int kind;
11068|   368k|    Py_UCS4 chr;
11069|       |
11070|   368k|    assert(_PyUnicode_CHECK(uni));
11071|   368k|    kind = PyUnicode_KIND(uni);
  ------------------
  |  |  258|   368k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|   368k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
11072|   368k|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (11072:9): [True: 368k, False: 0]
  ------------------
11073|   368k|        const void *data = PyUnicode_1BYTE_DATA(uni);
  ------------------
  |  |  291|   368k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|   368k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
11074|   368k|        size_t len1 = (size_t)PyUnicode_GET_LENGTH(uni);
  ------------------
  |  |  299|   368k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   368k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   368k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11075|   368k|        size_t len, len2 = strlen(str);
11076|   368k|        int cmp;
11077|       |
11078|   368k|        len = Py_MIN(len1, len2);
  ------------------
  |  |  112|   368k|#define Py_MIN(x, y) (((x) > (y)) ? (y) : (x))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 173k, False: 195k]
  |  |  ------------------
  ------------------
11079|   368k|        cmp = memcmp(data, str, len);
11080|   368k|        if (cmp != 0) {
  ------------------
  |  Branch (11080:13): [True: 367k, False: 972]
  ------------------
11081|   367k|            if (cmp < 0)
  ------------------
  |  Branch (11081:17): [True: 16.2k, False: 351k]
  ------------------
11082|  16.2k|                return -1;
11083|   351k|            else
11084|   351k|                return 1;
11085|   367k|        }
11086|    972|        if (len1 > len2)
  ------------------
  |  Branch (11086:13): [True: 0, False: 972]
  ------------------
11087|      0|            return 1; /* uni is longer */
11088|    972|        if (len1 < len2)
  ------------------
  |  Branch (11088:13): [True: 0, False: 972]
  ------------------
11089|      0|            return -1; /* str is longer */
11090|    972|        return 0;
11091|    972|    }
11092|      0|    else {
11093|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11094|       |        /* Compare Unicode string and source character set string */
11095|      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 (11095:21): [True: 0, False: 0]
  |  Branch (11095:62): [True: 0, False: 0]
  ------------------
11096|      0|            if (chr != (unsigned char)str[i])
  ------------------
  |  Branch (11096:17): [True: 0, False: 0]
  ------------------
11097|      0|                return (chr < (unsigned char)(str[i])) ? -1 : 1;
  ------------------
  |  Branch (11097:24): [True: 0, False: 0]
  ------------------
11098|       |        /* This check keeps Python strings that end in '\0' from comparing equal
11099|       |         to C strings identical up to that point. */
11100|      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 (11100:13): [True: 0, False: 0]
  |  Branch (11100:47): [True: 0, False: 0]
  ------------------
11101|      0|            return 1; /* uni is longer */
11102|      0|        if (str[i])
  ------------------
  |  Branch (11102:13): [True: 0, False: 0]
  ------------------
11103|      0|            return -1; /* str is longer */
11104|      0|        return 0;
11105|      0|    }
11106|   368k|}
PyUnicode_EqualToUTF8:
11110|      4|{
11111|      4|    return PyUnicode_EqualToUTF8AndSize(unicode, str, strlen(str));
11112|      4|}
PyUnicode_EqualToUTF8AndSize:
11116|      4|{
11117|      4|    assert(_PyUnicode_CHECK(unicode));
11118|      4|    assert(str);
11119|       |
11120|      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]
  |  |  ------------------
  ------------------
11121|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11122|      4|        return size == len &&
  ------------------
  |  Branch (11122:16): [True: 0, False: 4]
  ------------------
11123|      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 (11123:13): [True: 0, False: 0]
  ------------------
11124|      4|    }
11125|      0|    if (PyUnicode_UTF8(unicode) != NULL) {
  ------------------
  |  Branch (11125:9): [True: 0, False: 0]
  ------------------
11126|      0|        Py_ssize_t len = PyUnicode_UTF8_LENGTH(unicode);
11127|      0|        return size == len &&
  ------------------
  |  Branch (11127:16): [True: 0, False: 0]
  ------------------
11128|      0|            memcmp(PyUnicode_UTF8(unicode), str, len) == 0;
  ------------------
  |  Branch (11128:13): [True: 0, False: 0]
  ------------------
11129|      0|    }
11130|       |
11131|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11132|      0|    if ((size_t)len >= (size_t)size || (size_t)len < (size_t)size / 4) {
  ------------------
  |  Branch (11132:9): [True: 0, False: 0]
  |  Branch (11132:40): [True: 0, False: 0]
  ------------------
11133|      0|        return 0;
11134|      0|    }
11135|      0|    const unsigned char *s = (const unsigned char *)str;
11136|      0|    const unsigned char *ends = s + (size_t)size;
11137|      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))
  |  |  ------------------
  ------------------
11138|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11139|       |    /* Compare Unicode string and UTF-8 string */
11140|      0|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (11140:28): [True: 0, False: 0]
  ------------------
11141|      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))
  ------------------
11142|      0|        if (ch < 0x80) {
  ------------------
  |  Branch (11142:13): [True: 0, False: 0]
  ------------------
11143|      0|            if (ends == s || s[0] != ch) {
  ------------------
  |  Branch (11143:17): [True: 0, False: 0]
  |  Branch (11143:30): [True: 0, False: 0]
  ------------------
11144|      0|                return 0;
11145|      0|            }
11146|      0|            s += 1;
11147|      0|        }
11148|      0|        else if (ch < 0x800) {
  ------------------
  |  Branch (11148:18): [True: 0, False: 0]
  ------------------
11149|      0|            if ((ends - s) < 2 ||
  ------------------
  |  Branch (11149:17): [True: 0, False: 0]
  ------------------
11150|      0|                s[0] != (0xc0 | (ch >> 6)) ||
  ------------------
  |  Branch (11150:17): [True: 0, False: 0]
  ------------------
11151|      0|                s[1] != (0x80 | (ch & 0x3f)))
  ------------------
  |  Branch (11151:17): [True: 0, False: 0]
  ------------------
11152|      0|            {
11153|      0|                return 0;
11154|      0|            }
11155|      0|            s += 2;
11156|      0|        }
11157|      0|        else if (ch < 0x10000) {
  ------------------
  |  Branch (11157:18): [True: 0, False: 0]
  ------------------
11158|      0|            if (Py_UNICODE_IS_SURROGATE(ch) ||
  ------------------
  |  Branch (11158:17): [True: 0, False: 0]
  ------------------
11159|      0|                (ends - s) < 3 ||
  ------------------
  |  Branch (11159:17): [True: 0, False: 0]
  ------------------
11160|      0|                s[0] != (0xe0 | (ch >> 12)) ||
  ------------------
  |  Branch (11160:17): [True: 0, False: 0]
  ------------------
11161|      0|                s[1] != (0x80 | ((ch >> 6) & 0x3f)) ||
  ------------------
  |  Branch (11161:17): [True: 0, False: 0]
  ------------------
11162|      0|                s[2] != (0x80 | (ch & 0x3f)))
  ------------------
  |  Branch (11162:17): [True: 0, False: 0]
  ------------------
11163|      0|            {
11164|      0|                return 0;
11165|      0|            }
11166|      0|            s += 3;
11167|      0|        }
11168|      0|        else {
11169|      0|            assert(ch <= MAX_UNICODE);
11170|      0|            if ((ends - s) < 4 ||
  ------------------
  |  Branch (11170:17): [True: 0, False: 0]
  ------------------
11171|      0|                s[0] != (0xf0 | (ch >> 18)) ||
  ------------------
  |  Branch (11171:17): [True: 0, False: 0]
  ------------------
11172|      0|                s[1] != (0x80 | ((ch >> 12) & 0x3f)) ||
  ------------------
  |  Branch (11172:17): [True: 0, False: 0]
  ------------------
11173|      0|                s[2] != (0x80 | ((ch >> 6) & 0x3f)) ||
  ------------------
  |  Branch (11173:17): [True: 0, False: 0]
  ------------------
11174|      0|                s[3] != (0x80 | (ch & 0x3f)))
  ------------------
  |  Branch (11174:17): [True: 0, False: 0]
  ------------------
11175|      0|            {
11176|      0|                return 0;
11177|      0|            }
11178|      0|            s += 4;
11179|      0|        }
11180|      0|    }
11181|      0|    return s == ends;
11182|      0|}
_PyUnicode_EqualToASCIIString:
11186|  10.9M|{
11187|  10.9M|    size_t len;
11188|  10.9M|    assert(_PyUnicode_CHECK(unicode));
11189|  10.9M|    assert(str);
11190|       |#ifndef NDEBUG
11191|       |    for (const char *p = str; *p; p++) {
11192|       |        assert((unsigned char)*p < 128);
11193|       |    }
11194|       |#endif
11195|  10.9M|    if (!PyUnicode_IS_ASCII(unicode))
  ------------------
  |  |  227|  10.9M|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (11195:9): [True: 0, False: 10.9M]
  ------------------
11196|      0|        return 0;
11197|  10.9M|    len = (size_t)PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  299|  10.9M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11198|  10.9M|    return strlen(str) == len &&
  ------------------
  |  Branch (11198:12): [True: 148k, False: 10.7M]
  ------------------
11199|   148k|           memcmp(PyUnicode_1BYTE_DATA(unicode), str, len) == 0;
  ------------------
  |  |  291|   148k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|   148k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (11199:12): [True: 30.2k, False: 118k]
  ------------------
11200|  10.9M|}
PyUnicode_RichCompare:
11204|  7.14M|{
11205|  7.14M|    int result;
11206|       |
11207|  7.14M|    if (!PyUnicode_Check(left) || !PyUnicode_Check(right))
  ------------------
  |  |  103|  7.14M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  14.2M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                  if (!PyUnicode_Check(left) || !PyUnicode_Check(right))
  ------------------
  |  |  103|  7.14M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  7.14M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (11207:9): [True: 0, False: 7.14M]
  |  Branch (11207:35): [True: 383, False: 7.14M]
  ------------------
11208|    383|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|    383|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|    383|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
11209|       |
11210|  7.14M|    if (left == right) {
  ------------------
  |  Branch (11210:9): [True: 126, False: 7.14M]
  ------------------
11211|    126|        switch (op) {
11212|     96|        case Py_EQ:
  ------------------
  |  |  654|     96|#define Py_EQ 2
  ------------------
  |  Branch (11212:9): [True: 96, False: 30]
  ------------------
11213|     96|        case Py_LE:
  ------------------
  |  |  653|     96|#define Py_LE 1
  ------------------
  |  Branch (11213:9): [True: 0, False: 126]
  ------------------
11214|     96|        case Py_GE:
  ------------------
  |  |  657|     96|#define Py_GE 5
  ------------------
  |  Branch (11214:9): [True: 0, False: 126]
  ------------------
11215|       |            /* a string is equal to itself */
11216|     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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11217|     30|        case Py_NE:
  ------------------
  |  |  655|     30|#define Py_NE 3
  ------------------
  |  Branch (11217:9): [True: 30, False: 96]
  ------------------
11218|     30|        case Py_LT:
  ------------------
  |  |  652|     30|#define Py_LT 0
  ------------------
  |  Branch (11218:9): [True: 0, False: 126]
  ------------------
11219|     30|        case Py_GT:
  ------------------
  |  |  656|     30|#define Py_GT 4
  ------------------
  |  Branch (11219:9): [True: 0, False: 126]
  ------------------
11220|     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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11221|      0|        default:
  ------------------
  |  Branch (11221:9): [True: 0, False: 126]
  ------------------
11222|      0|            PyErr_BadArgument();
11223|      0|            return NULL;
11224|    126|        }
11225|    126|    }
11226|  7.14M|    else if (op == Py_EQ || op == Py_NE) {
  ------------------
  |  |  654|  14.2M|#define Py_EQ 2
  ------------------
                  else if (op == Py_EQ || op == Py_NE) {
  ------------------
  |  |  655|  1.02k|#define Py_NE 3
  ------------------
  |  Branch (11226:14): [True: 7.14M, False: 1.02k]
  |  Branch (11226:29): [True: 53, False: 972]
  ------------------
11227|  7.14M|        result = unicode_eq(left, right);
11228|  7.14M|        result ^= (op == Py_NE);
  ------------------
  |  |  655|  7.14M|#define Py_NE 3
  ------------------
11229|  7.14M|        return PyBool_FromLong(result);
11230|  7.14M|    }
11231|    972|    else {
11232|    972|        result = unicode_compare(left, right);
11233|    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|    380|#  define Py_RETURN_TRUE return Py_True
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|    380|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    380|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    380|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       case Py_LT: if ((val1) < (val2)) Py_RETURN_TRUE; Py_RETURN_FALSE;   \
  |  |  ------------------
  |  |  |  |   45|    386|#  define Py_RETURN_FALSE return Py_False
  |  |  |  |  ------------------
  |  |  |  |  |  |   25|    386|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    386|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    386|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (678:9): [True: 766, False: 206]
  |  |  |  Branch (678:25): [True: 380, False: 386]
  |  |  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
11234|    972|    }
11235|  7.14M|}
PyUnicode_Contains:
11239|  40.4k|{
11240|  40.4k|    int kind1, kind2;
11241|  40.4k|    const void *buf1, *buf2;
11242|  40.4k|    Py_ssize_t len1, len2;
11243|  40.4k|    int result;
11244|       |
11245|  40.4k|    if (!PyUnicode_Check(substr)) {
  ------------------
  |  |  103|  40.4k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  40.4k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (11245:9): [True: 0, False: 40.4k]
  ------------------
11246|      0|        PyErr_Format(PyExc_TypeError,
11247|      0|                     "'in <string>' requires string as left operand, not %.100s",
11248|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11249|      0|        return -1;
11250|      0|    }
11251|  40.4k|    if (ensure_unicode(str) < 0)
  ------------------
  |  |  105|  40.4k|#define ensure_unicode _PyUnicode_EnsureUnicode
  ------------------
  |  Branch (11251:9): [True: 0, False: 40.4k]
  ------------------
11252|      0|        return -1;
11253|       |
11254|  40.4k|    kind1 = PyUnicode_KIND(str);
  ------------------
  |  |  258|  40.4k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  40.4k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
11255|  40.4k|    kind2 = PyUnicode_KIND(substr);
  ------------------
  |  |  258|  40.4k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  40.4k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
11256|  40.4k|    if (kind1 < kind2)
  ------------------
  |  Branch (11256:9): [True: 0, False: 40.4k]
  ------------------
11257|      0|        return 0;
11258|  40.4k|    len1 = PyUnicode_GET_LENGTH(str);
  ------------------
  |  |  299|  40.4k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  40.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  40.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11259|  40.4k|    len2 = PyUnicode_GET_LENGTH(substr);
  ------------------
  |  |  299|  40.4k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  40.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  40.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11260|  40.4k|    if (len1 < len2)
  ------------------
  |  Branch (11260:9): [True: 66, False: 40.3k]
  ------------------
11261|     66|        return 0;
11262|  40.3k|    buf1 = PyUnicode_DATA(str);
  ------------------
  |  |  284|  40.3k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  40.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  40.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11263|  40.3k|    buf2 = PyUnicode_DATA(substr);
  ------------------
  |  |  284|  40.3k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  40.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  40.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11264|  40.3k|    if (len2 == 1) {
  ------------------
  |  Branch (11264:9): [True: 13.2k, False: 27.0k]
  ------------------
11265|  13.2k|        Py_UCS4 ch = PyUnicode_READ(kind2, buf2, 0);
  ------------------
  |  |  354|  13.2k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  13.2k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  13.2k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  13.2k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  13.2k|                   (index))
  ------------------
11266|  13.2k|        result = findchar((const char *)buf1, kind1, len1, ch, 1) != -1;
11267|  13.2k|        return result;
11268|  13.2k|    }
11269|  27.0k|    if (kind2 != kind1) {
  ------------------
  |  Branch (11269:9): [True: 0, False: 27.0k]
  ------------------
11270|      0|        buf2 = unicode_askind(kind2, buf2, len2, kind1);
11271|      0|        if (!buf2)
  ------------------
  |  Branch (11271:13): [True: 0, False: 0]
  ------------------
11272|      0|            return -1;
11273|      0|    }
11274|       |
11275|  27.0k|    switch (kind1) {
11276|  27.0k|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (11276:5): [True: 27.0k, False: 0]
  ------------------
11277|  27.0k|        result = ucs1lib_find(buf1, len1, buf2, len2, 0) != -1;
11278|  27.0k|        break;
11279|      0|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (11279:5): [True: 0, False: 27.0k]
  ------------------
11280|      0|        result = ucs2lib_find(buf1, len1, buf2, len2, 0) != -1;
11281|      0|        break;
11282|      0|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (11282:5): [True: 0, False: 27.0k]
  ------------------
11283|      0|        result = ucs4lib_find(buf1, len1, buf2, len2, 0) != -1;
11284|      0|        break;
11285|      0|    default:
  ------------------
  |  Branch (11285:5): [True: 0, False: 27.0k]
  ------------------
11286|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
11287|  27.0k|    }
11288|       |
11289|  27.0k|    assert((kind2 == kind1) == (buf2 == PyUnicode_DATA(substr)));
11290|  27.0k|    if (kind2 != kind1)
  ------------------
  |  Branch (11290:9): [True: 0, False: 27.0k]
  ------------------
11291|      0|        PyMem_Free((void *)buf2);
11292|       |
11293|  27.0k|    return result;
11294|  27.0k|}
PyUnicode_Concat:
11300|  1.23M|{
11301|  1.23M|    PyObject *result;
11302|  1.23M|    Py_UCS4 maxchar, maxchar2;
11303|  1.23M|    Py_ssize_t left_len, right_len, new_len;
11304|       |
11305|  1.23M|    if (ensure_unicode(left) < 0)
  ------------------
  |  |  105|  1.23M|#define ensure_unicode _PyUnicode_EnsureUnicode
  ------------------
  |  Branch (11305:9): [True: 0, False: 1.23M]
  ------------------
11306|      0|        return NULL;
11307|       |
11308|  1.23M|    if (!PyUnicode_Check(right)) {
  ------------------
  |  |  103|  1.23M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.23M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (11308:9): [True: 0, False: 1.23M]
  ------------------
11309|      0|        PyErr_Format(PyExc_TypeError,
11310|      0|            "can only concatenate str (not \"%.200s\") to str",
11311|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11312|      0|        return NULL;
11313|      0|    }
11314|       |
11315|       |    /* Shortcuts */
11316|  1.23M|    PyObject *empty = _PyUnicode_GetEmpty();  // Borrowed reference
11317|  1.23M|    if (left == empty) {
  ------------------
  |  Branch (11317:9): [True: 66, False: 1.23M]
  ------------------
11318|     66|        return PyUnicode_FromObject(right);
11319|     66|    }
11320|  1.23M|    if (right == empty) {
  ------------------
  |  Branch (11320:9): [True: 5, False: 1.23M]
  ------------------
11321|      5|        return PyUnicode_FromObject(left);
11322|      5|    }
11323|       |
11324|  1.23M|    left_len = PyUnicode_GET_LENGTH(left);
  ------------------
  |  |  299|  1.23M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.23M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.23M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11325|  1.23M|    right_len = PyUnicode_GET_LENGTH(right);
  ------------------
  |  |  299|  1.23M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.23M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.23M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11326|  1.23M|    if (left_len > PY_SSIZE_T_MAX - right_len) {
  ------------------
  |  |  137|  1.23M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (11326:9): [True: 0, False: 1.23M]
  ------------------
11327|      0|        PyErr_SetString(PyExc_OverflowError,
11328|      0|                        "strings are too large to concat");
11329|      0|        return NULL;
11330|      0|    }
11331|  1.23M|    new_len = left_len + right_len;
11332|       |
11333|  1.23M|    maxchar = PyUnicode_MAX_CHAR_VALUE(left);
  ------------------
  |  |  405|  1.23M|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.23M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.23M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11334|  1.23M|    maxchar2 = PyUnicode_MAX_CHAR_VALUE(right);
  ------------------
  |  |  405|  1.23M|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.23M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.23M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11335|  1.23M|    maxchar = Py_MAX(maxchar, maxchar2);
  ------------------
  |  |  115|  1.23M|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 0, False: 1.23M]
  |  |  ------------------
  ------------------
11336|       |
11337|       |    /* Concat the two Unicode strings */
11338|  1.23M|    result = PyUnicode_New(new_len, maxchar);
11339|  1.23M|    if (result == NULL)
  ------------------
  |  Branch (11339:9): [True: 0, False: 1.23M]
  ------------------
11340|      0|        return NULL;
11341|  1.23M|    _PyUnicode_FastCopyCharacters(result, 0, left, 0, left_len);
11342|  1.23M|    _PyUnicode_FastCopyCharacters(result, left_len, right, 0, right_len);
11343|       |    assert(_PyUnicode_CheckConsistency(result, 1));
11344|  1.23M|    return result;
11345|  1.23M|}
PyUnicode_Append:
11349|  7.18k|{
11350|  7.18k|    PyObject *left, *res;
11351|  7.18k|    Py_UCS4 maxchar, maxchar2;
11352|  7.18k|    Py_ssize_t left_len, right_len, new_len;
11353|       |
11354|  7.18k|    if (p_left == NULL) {
  ------------------
  |  Branch (11354:9): [True: 0, False: 7.18k]
  ------------------
11355|      0|        if (!PyErr_Occurred())
  ------------------
  |  Branch (11355:13): [True: 0, False: 0]
  ------------------
11356|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
11357|      0|        return;
11358|      0|    }
11359|  7.18k|    left = *p_left;
11360|  7.18k|    if (right == NULL || left == NULL
  ------------------
  |  Branch (11360:9): [True: 0, False: 7.18k]
  |  Branch (11360:26): [True: 0, False: 7.18k]
  ------------------
11361|  7.18k|        || !PyUnicode_Check(left) || !PyUnicode_Check(right)) {
  ------------------
  |  |  103|  7.18k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  14.3k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                      || !PyUnicode_Check(left) || !PyUnicode_Check(right)) {
  ------------------
  |  |  103|  7.18k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  7.18k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (11361:12): [True: 0, False: 7.18k]
  |  Branch (11361:38): [True: 0, False: 7.18k]
  ------------------
11362|      0|        if (!PyErr_Occurred())
  ------------------
  |  Branch (11362:13): [True: 0, False: 0]
  ------------------
11363|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
11364|      0|        goto error;
11365|      0|    }
11366|       |
11367|       |    /* Shortcuts */
11368|  7.18k|    PyObject *empty = _PyUnicode_GetEmpty();  // Borrowed reference
11369|  7.18k|    if (left == empty) {
  ------------------
  |  Branch (11369:9): [True: 130, False: 7.05k]
  ------------------
11370|    130|        Py_DECREF(left);
  ------------------
  |  |  430|    130|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    130|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    130|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11371|    130|        *p_left = Py_NewRef(right);
  ------------------
  |  |  550|    130|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    130|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    130|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11372|    130|        return;
11373|    130|    }
11374|  7.05k|    if (right == empty) {
  ------------------
  |  Branch (11374:9): [True: 0, False: 7.05k]
  ------------------
11375|      0|        return;
11376|      0|    }
11377|       |
11378|  7.05k|    left_len = PyUnicode_GET_LENGTH(left);
  ------------------
  |  |  299|  7.05k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.05k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.05k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11379|  7.05k|    right_len = PyUnicode_GET_LENGTH(right);
  ------------------
  |  |  299|  7.05k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.05k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.05k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11380|  7.05k|    if (left_len > PY_SSIZE_T_MAX - right_len) {
  ------------------
  |  |  137|  7.05k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (11380:9): [True: 0, False: 7.05k]
  ------------------
11381|      0|        PyErr_SetString(PyExc_OverflowError,
11382|      0|                        "strings are too large to concat");
11383|      0|        goto error;
11384|      0|    }
11385|  7.05k|    new_len = left_len + right_len;
11386|       |
11387|  7.05k|    if (_PyUnicode_IsModifiable(left)
  ------------------
  |  Branch (11387:9): [True: 6.40k, False: 651]
  ------------------
11388|  7.05k|        && PyUnicode_CheckExact(right)
  ------------------
  |  |  104|  6.40k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  13.4k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.40k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 6.40k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11389|  7.05k|        && PyUnicode_KIND(right) <= PyUnicode_KIND(left)
  ------------------
  |  |  258|  6.40k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  6.40k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
                      && PyUnicode_KIND(right) <= PyUnicode_KIND(left)
  ------------------
  |  |  258|  6.40k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  13.4k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (11389:12): [True: 6.40k, False: 0]
  ------------------
11390|       |        /* Don't resize for ascii += latin1. Convert ascii to latin1 requires
11391|       |           to change the structure size, but characters are stored just after
11392|       |           the structure, and so it requires to move all characters which is
11393|       |           not so different than duplicating the string. */
11394|  6.40k|        && !(PyUnicode_IS_ASCII(left) && !PyUnicode_IS_ASCII(right)))
  ------------------
  |  |  227|  12.8k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.40k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 3.91k, False: 2.49k]
  |  |  ------------------
  ------------------
                      && !(PyUnicode_IS_ASCII(left) && !PyUnicode_IS_ASCII(right)))
  ------------------
  |  |  227|  3.91k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.91k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.91k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (11394:42): [True: 0, False: 3.91k]
  ------------------
11395|  6.40k|    {
11396|       |        /* append inplace */
11397|  6.40k|        if (unicode_resize(p_left, new_len) != 0)
  ------------------
  |  Branch (11397:13): [True: 0, False: 6.40k]
  ------------------
11398|      0|            goto error;
11399|       |
11400|       |        /* copy 'right' into the newly allocated area of 'left' */
11401|  6.40k|        _PyUnicode_FastCopyCharacters(*p_left, left_len, right, 0, right_len);
11402|  6.40k|    }
11403|    651|    else {
11404|    651|        maxchar = PyUnicode_MAX_CHAR_VALUE(left);
  ------------------
  |  |  405|    651|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    651|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    651|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11405|    651|        maxchar2 = PyUnicode_MAX_CHAR_VALUE(right);
  ------------------
  |  |  405|    651|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    651|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    651|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11406|    651|        maxchar = Py_MAX(maxchar, maxchar2);
  ------------------
  |  |  115|    651|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 0, False: 651]
  |  |  ------------------
  ------------------
11407|       |
11408|       |        /* Concat the two Unicode strings */
11409|    651|        res = PyUnicode_New(new_len, maxchar);
11410|    651|        if (res == NULL)
  ------------------
  |  Branch (11410:13): [True: 0, False: 651]
  ------------------
11411|      0|            goto error;
11412|    651|        _PyUnicode_FastCopyCharacters(res, 0, left, 0, left_len);
11413|    651|        _PyUnicode_FastCopyCharacters(res, left_len, right, 0, right_len);
11414|    651|        Py_DECREF(left);
  ------------------
  |  |  430|    651|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    651|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    651|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11415|    651|        *p_left = res;
11416|    651|    }
11417|  7.05k|    assert(_PyUnicode_CheckConsistency(*p_left, 1));
11418|  7.05k|    return;
11419|       |
11420|      0|error:
11421|       |    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]
  |  |  ------------------
  ------------------
11422|      0|}
PyUnicode_AppendAndDel:
11426|      4|{
11427|      4|    PyUnicode_Append(pleft, right);
11428|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11429|      4|}
_PyUnicode_ScanIdentifier:
12106|  23.5k|{
12107|  23.5k|    Py_ssize_t i;
12108|  23.5k|    Py_ssize_t len = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  299|  23.5k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  23.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  23.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12109|  23.5k|    if (len == 0) {
  ------------------
  |  Branch (12109:9): [True: 0, False: 23.5k]
  ------------------
12110|       |        /* an empty string is not a valid identifier */
12111|      0|        return 0;
12112|      0|    }
12113|       |
12114|  23.5k|    int kind = PyUnicode_KIND(self);
  ------------------
  |  |  258|  23.5k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  23.5k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
12115|  23.5k|    const void *data = PyUnicode_DATA(self);
  ------------------
  |  |  284|  23.5k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  23.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  23.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12116|  23.5k|    Py_UCS4 ch = PyUnicode_READ(kind, data, 0);
  ------------------
  |  |  354|  23.5k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  23.5k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  23.5k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  23.5k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  23.5k|                   (index))
  ------------------
12117|       |    /* PEP 3131 says that the first character must be in
12118|       |       XID_Start and subsequent characters in XID_Continue,
12119|       |       and for the ASCII range, the 2.x rules apply (i.e
12120|       |       start with letters and underscore, continue with
12121|       |       letters, digits, underscore). However, given the current
12122|       |       definition of XID_Start and XID_Continue, it is sufficient
12123|       |       to check just for these, except that _ must be allowed
12124|       |       as starting an identifier.  */
12125|  23.5k|    if (!_PyUnicode_IsXidStart(ch) && ch != 0x5F /* LOW LINE */) {
  ------------------
  |  Branch (12125:9): [True: 270, False: 23.2k]
  |  Branch (12125:39): [True: 0, False: 270]
  ------------------
12126|      0|        return 0;
12127|      0|    }
12128|       |
12129|   211k|    for (i = 1; i < len; i++) {
  ------------------
  |  Branch (12129:17): [True: 187k, False: 23.5k]
  ------------------
12130|   187k|        ch = PyUnicode_READ(kind, data, i);
  ------------------
  |  |  354|   187k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|   187k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|   187k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|   187k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|   187k|                   (index))
  ------------------
12131|   187k|        if (!_PyUnicode_IsXidContinue(ch)) {
  ------------------
  |  Branch (12131:13): [True: 0, False: 187k]
  ------------------
12132|      0|            return i;
12133|      0|        }
12134|   187k|    }
12135|  23.5k|    return i;
12136|  23.5k|}
PyUnicode_IsIdentifier:
12140|  23.5k|{
12141|  23.5k|    Py_ssize_t i = _PyUnicode_ScanIdentifier(self);
12142|  23.5k|    Py_ssize_t len = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  299|  23.5k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  23.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  23.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12143|       |    /* an empty string is not a valid identifier */
12144|  23.5k|    return len && i == len;
  ------------------
  |  Branch (12144:12): [True: 23.5k, False: 0]
  |  Branch (12144:19): [True: 23.5k, False: 0]
  ------------------
12145|  23.5k|}
_PyUnicode_XStrip:
12275|   225k|{
12276|   225k|    const void *data;
12277|   225k|    int kind;
12278|   225k|    Py_ssize_t i, j, len;
12279|   225k|    BLOOM_MASK sepmask;
  ------------------
  |  |  905|   225k|#define BLOOM_MASK unsigned long
  ------------------
12280|   225k|    Py_ssize_t seplen;
12281|       |
12282|   225k|    kind = PyUnicode_KIND(self);
  ------------------
  |  |  258|   225k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|   225k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
12283|   225k|    data = PyUnicode_DATA(self);
  ------------------
  |  |  284|   225k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   225k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   225k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12284|   225k|    len = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  299|   225k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   225k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   225k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12285|   225k|    seplen = PyUnicode_GET_LENGTH(sepobj);
  ------------------
  |  |  299|   225k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   225k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   225k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12286|   225k|    sepmask = make_bloom_mask(PyUnicode_KIND(sepobj),
  ------------------
  |  |  258|   225k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|   225k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
12287|   225k|                              PyUnicode_DATA(sepobj),
  ------------------
  |  |  284|   225k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   225k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   225k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12288|   225k|                              seplen);
12289|       |
12290|   225k|    i = 0;
12291|   225k|    if (striptype != RIGHTSTRIP) {
  ------------------
  |  |12264|   225k|#define RIGHTSTRIP 1
  ------------------
  |  Branch (12291:9): [True: 20, False: 225k]
  ------------------
12292|     28|        while (i < len) {
  ------------------
  |  Branch (12292:16): [True: 26, False: 2]
  ------------------
12293|     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))
  ------------------
12294|     26|            if (!BLOOM(sepmask, ch))
  ------------------
  |  |  909|     26|#define BLOOM(mask, ch)     ((mask &  (1UL << ((ch) & (BLOOM_WIDTH - 1)))))
  |  |  ------------------
  |  |  |  |  898|     26|#define BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  |  Branch (12294:17): [True: 18, False: 8]
  ------------------
12295|     18|                break;
12296|      8|            if (PyUnicode_FindChar(sepobj, ch, 0, seplen, 1) < 0)
  ------------------
  |  Branch (12296:17): [True: 0, False: 8]
  ------------------
12297|      0|                break;
12298|      8|            i++;
12299|      8|        }
12300|     20|    }
12301|       |
12302|   225k|    j = len;
12303|   225k|    if (striptype != LEFTSTRIP) {
  ------------------
  |  |12263|   225k|#define LEFTSTRIP 0
  ------------------
  |  Branch (12303:9): [True: 225k, False: 2]
  ------------------
12304|   225k|        j--;
12305|   225k|        while (j >= i) {
  ------------------
  |  Branch (12305:16): [True: 225k, False: 0]
  ------------------
12306|   225k|            Py_UCS4 ch = PyUnicode_READ(kind, data, j);
  ------------------
  |  |  354|   225k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|   225k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|   225k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|   225k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|   225k|                   (index))
  ------------------
12307|   225k|            if (!BLOOM(sepmask, ch))
  ------------------
  |  |  909|   225k|#define BLOOM(mask, ch)     ((mask &  (1UL << ((ch) & (BLOOM_WIDTH - 1)))))
  |  |  ------------------
  |  |  |  |  898|   225k|#define BLOOM_WIDTH 64
  |  |  ------------------
  ------------------
  |  Branch (12307:17): [True: 153k, False: 71.9k]
  ------------------
12308|   153k|                break;
12309|  71.9k|            if (PyUnicode_FindChar(sepobj, ch, 0, seplen, 1) < 0)
  ------------------
  |  Branch (12309:17): [True: 71.9k, False: 25]
  ------------------
12310|  71.9k|                break;
12311|     25|            j--;
12312|     25|        }
12313|       |
12314|   225k|        j++;
12315|   225k|    }
12316|       |
12317|   225k|    return PyUnicode_Substring(self, i, j);
12318|   225k|}
_PyUnicode_BinarySlice:
12322|  9.75k|{
12323|  9.75k|    assert(PyUnicode_CheckExact(container));
12324|  9.75k|    Py_ssize_t len = PyUnicode_GET_LENGTH(container);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12325|  9.75k|    Py_ssize_t istart, istop;
12326|  9.75k|    if (!_PyEval_UnpackIndices(start_o, stop_o, len, &istart, &istop)) {
  ------------------
  |  Branch (12326:9): [True: 0, False: 9.75k]
  ------------------
12327|      0|        return NULL;
12328|      0|    }
12329|  9.75k|    return PyUnicode_Substring(container, istart, istop);
12330|  9.75k|}
PyUnicode_Substring:
12334|   274k|{
12335|   274k|    const unsigned char *data;
12336|   274k|    int kind;
12337|   274k|    Py_ssize_t length;
12338|       |
12339|   274k|    length = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  299|   274k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   274k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   274k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12340|   274k|    end = Py_MIN(end, length);
  ------------------
  |  |  112|   274k|#define Py_MIN(x, y) (((x) > (y)) ? (y) : (x))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 0, False: 274k]
  |  |  ------------------
  ------------------
12341|       |
12342|   274k|    if (start == 0 && end == length)
  ------------------
  |  Branch (12342:9): [True: 232k, False: 42.2k]
  |  Branch (12342:23): [True: 226k, False: 5.74k]
  ------------------
12343|   226k|        return unicode_result_unchanged(self);
12344|       |
12345|  48.0k|    if (start < 0 || end < 0) {
  ------------------
  |  Branch (12345:9): [True: 0, False: 48.0k]
  |  Branch (12345:22): [True: 0, False: 48.0k]
  ------------------
12346|      0|        PyErr_SetString(PyExc_IndexError, "string index out of range");
12347|      0|        return NULL;
12348|      0|    }
12349|  48.0k|    if (start >= length || end < start)
  ------------------
  |  Branch (12349:9): [True: 4, False: 48.0k]
  |  Branch (12349:28): [True: 0, False: 48.0k]
  ------------------
12350|      4|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  375|      4|    do {                             \
  |  |  376|      4|        return _PyUnicode_GetEmpty();\
  |  |  377|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (377:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
12351|       |
12352|  48.0k|    length = end - start;
12353|  48.0k|    if (PyUnicode_IS_ASCII(self)) {
  ------------------
  |  |  227|  48.0k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  48.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  48.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 47.6k, False: 356]
  |  |  ------------------
  ------------------
12354|  47.6k|        data = PyUnicode_1BYTE_DATA(self);
  ------------------
  |  |  291|  47.6k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  47.6k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
12355|  47.6k|        return _PyUnicode_FromASCII((const char*)(data + start), length);
12356|  47.6k|    }
12357|    356|    else {
12358|    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))
  |  |  ------------------
  ------------------
12359|    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))
  |  |  ------------------
  ------------------
12360|    356|        return PyUnicode_FromKindAndData(kind,
12361|    356|                                         data + kind * start,
12362|    356|                                         length);
12363|    356|    }
12364|  48.0k|}
PyUnicode_Partition:
12861|     84|{
12862|     84|    PyObject* out;
12863|     84|    int kind1, kind2;
12864|     84|    const void *buf1, *buf2;
12865|     84|    Py_ssize_t len1, len2;
12866|       |
12867|     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 (12867:9): [True: 0, False: 84]
  |  Branch (12867:40): [True: 0, False: 84]
  ------------------
12868|      0|        return NULL;
12869|       |
12870|     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))
  |  |  ------------------
  ------------------
12871|     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))
  |  |  ------------------
  ------------------
12872|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12873|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12874|     84|    if (kind1 < kind2 || len1 < len2) {
  ------------------
  |  Branch (12874:9): [True: 0, False: 84]
  |  Branch (12874:26): [True: 0, False: 84]
  ------------------
12875|      0|        PyObject *empty = _PyUnicode_GetEmpty();  // Borrowed reference
12876|      0|        return PyTuple_Pack(3, str_obj, empty, empty);
12877|      0|    }
12878|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12879|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12880|     84|    if (kind2 != kind1) {
  ------------------
  |  Branch (12880:9): [True: 0, False: 84]
  ------------------
12881|      0|        buf2 = unicode_askind(kind2, buf2, len2, kind1);
12882|      0|        if (!buf2)
  ------------------
  |  Branch (12882:13): [True: 0, False: 0]
  ------------------
12883|      0|            return NULL;
12884|      0|    }
12885|       |
12886|     84|    switch (kind1) {
12887|     84|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (12887:5): [True: 84, False: 0]
  ------------------
12888|     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]
  |  |  ------------------
  ------------------
12889|     84|            out = asciilib_partition(str_obj, buf1, len1, sep_obj, buf2, len2);
12890|      0|        else
12891|      0|            out = ucs1lib_partition(str_obj, buf1, len1, sep_obj, buf2, len2);
12892|     84|        break;
12893|      0|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (12893:5): [True: 0, False: 84]
  ------------------
12894|      0|        out = ucs2lib_partition(str_obj, buf1, len1, sep_obj, buf2, len2);
12895|      0|        break;
12896|      0|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (12896:5): [True: 0, False: 84]
  ------------------
12897|      0|        out = ucs4lib_partition(str_obj, buf1, len1, sep_obj, buf2, len2);
12898|      0|        break;
12899|      0|    default:
  ------------------
  |  Branch (12899:5): [True: 0, False: 84]
  ------------------
12900|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
12901|     84|    }
12902|       |
12903|     84|    assert((kind2 == kind1) == (buf2 == PyUnicode_DATA(sep_obj)));
12904|     84|    if (kind2 != kind1)
  ------------------
  |  Branch (12904:9): [True: 0, False: 84]
  ------------------
12905|      0|        PyMem_Free((void *)buf2);
12906|       |
12907|     84|    return out;
12908|     84|}
PyUnicode_RPartition:
12913|  34.0k|{
12914|  34.0k|    PyObject* out;
12915|  34.0k|    int kind1, kind2;
12916|  34.0k|    const void *buf1, *buf2;
12917|  34.0k|    Py_ssize_t len1, len2;
12918|       |
12919|  34.0k|    if (ensure_unicode(str_obj) < 0 || ensure_unicode(sep_obj) < 0)
  ------------------
  |  |  105|  34.0k|#define ensure_unicode _PyUnicode_EnsureUnicode
  ------------------
                  if (ensure_unicode(str_obj) < 0 || ensure_unicode(sep_obj) < 0)
  ------------------
  |  |  105|  34.0k|#define ensure_unicode _PyUnicode_EnsureUnicode
  ------------------
  |  Branch (12919:9): [True: 0, False: 34.0k]
  |  Branch (12919:40): [True: 0, False: 34.0k]
  ------------------
12920|      0|        return NULL;
12921|       |
12922|  34.0k|    kind1 = PyUnicode_KIND(str_obj);
  ------------------
  |  |  258|  34.0k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  34.0k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
12923|  34.0k|    kind2 = PyUnicode_KIND(sep_obj);
  ------------------
  |  |  258|  34.0k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  34.0k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
12924|  34.0k|    len1 = PyUnicode_GET_LENGTH(str_obj);
  ------------------
  |  |  299|  34.0k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  34.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  34.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12925|  34.0k|    len2 = PyUnicode_GET_LENGTH(sep_obj);
  ------------------
  |  |  299|  34.0k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  34.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  34.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12926|  34.0k|    if (kind1 < kind2 || len1 < len2) {
  ------------------
  |  Branch (12926:9): [True: 0, False: 34.0k]
  |  Branch (12926:26): [True: 0, False: 34.0k]
  ------------------
12927|      0|        PyObject *empty = _PyUnicode_GetEmpty();  // Borrowed reference
12928|      0|        return PyTuple_Pack(3, empty, empty, str_obj);
12929|      0|    }
12930|  34.0k|    buf1 = PyUnicode_DATA(str_obj);
  ------------------
  |  |  284|  34.0k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  34.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  34.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12931|  34.0k|    buf2 = PyUnicode_DATA(sep_obj);
  ------------------
  |  |  284|  34.0k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  34.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  34.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12932|  34.0k|    if (kind2 != kind1) {
  ------------------
  |  Branch (12932:9): [True: 0, False: 34.0k]
  ------------------
12933|      0|        buf2 = unicode_askind(kind2, buf2, len2, kind1);
12934|      0|        if (!buf2)
  ------------------
  |  Branch (12934:13): [True: 0, False: 0]
  ------------------
12935|      0|            return NULL;
12936|      0|    }
12937|       |
12938|  34.0k|    switch (kind1) {
12939|  34.0k|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (12939:5): [True: 34.0k, False: 0]
  ------------------
12940|  34.0k|        if (PyUnicode_IS_ASCII(str_obj) && PyUnicode_IS_ASCII(sep_obj))
  ------------------
  |  |  227|  68.1k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  34.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  34.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 34.0k, False: 0]
  |  |  ------------------
  ------------------
                      if (PyUnicode_IS_ASCII(str_obj) && PyUnicode_IS_ASCII(sep_obj))
  ------------------
  |  |  227|  34.0k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  34.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  34.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 34.0k, False: 0]
  |  |  ------------------
  ------------------
12941|  34.0k|            out = asciilib_rpartition(str_obj, buf1, len1, sep_obj, buf2, len2);
12942|      0|        else
12943|      0|            out = ucs1lib_rpartition(str_obj, buf1, len1, sep_obj, buf2, len2);
12944|  34.0k|        break;
12945|      0|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (12945:5): [True: 0, False: 34.0k]
  ------------------
12946|      0|        out = ucs2lib_rpartition(str_obj, buf1, len1, sep_obj, buf2, len2);
12947|      0|        break;
12948|      0|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (12948:5): [True: 0, False: 34.0k]
  ------------------
12949|      0|        out = ucs4lib_rpartition(str_obj, buf1, len1, sep_obj, buf2, len2);
12950|      0|        break;
12951|      0|    default:
  ------------------
  |  Branch (12951:5): [True: 0, False: 34.0k]
  ------------------
12952|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
12953|  34.0k|    }
12954|       |
12955|  34.0k|    assert((kind2 == kind1) == (buf2 == PyUnicode_DATA(sep_obj)));
12956|  34.0k|    if (kind2 != kind1)
  ------------------
  |  Branch (12956:9): [True: 0, False: 34.0k]
  ------------------
12957|      0|        PyMem_Free((void *)buf2);
12958|       |
12959|  34.0k|    return out;
12960|  34.0k|}
_PyUnicode_ExactDealloc:
14009|  6.74k|{
14010|       |    assert(PyUnicode_CheckExact(op));
14011|  6.74k|    unicode_dealloc(op);
14012|  6.74k|}
_PyUnicode_InitState:
14104|      2|{
14105|      2|    if (!_Py_IsMainInterpreter(interp)) {
  ------------------
  |  Branch (14105:9): [True: 0, False: 2]
  ------------------
14106|      0|        return;
14107|      0|    }
14108|      2|    _init_global_state();
14109|      2|}
_PyUnicode_InitGlobalObjects:
14114|      2|{
14115|      2|    if (_Py_IsMainInterpreter(interp)) {
  ------------------
  |  Branch (14115:9): [True: 2, False: 0]
  ------------------
14116|      2|        PyStatus status = init_global_interned_strings(interp);
14117|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
14118|      0|            return status;
14119|      0|        }
14120|      2|    }
14121|      2|    assert(INTERNED_STRINGS);
14122|       |
14123|      2|    if (init_interned_dict(interp)) {
  ------------------
  |  Branch (14123:9): [True: 0, False: 2]
  ------------------
14124|      0|        PyErr_Clear();
14125|      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)}
  ------------------
14126|      0|    }
14127|       |
14128|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
14129|      2|}
_PyUnicode_InitTypes:
14134|      2|{
14135|      2|    if (_PyStaticType_InitBuiltin(interp, &EncodingMapType) < 0) {
  ------------------
  |  Branch (14135:9): [True: 0, False: 2]
  ------------------
14136|      0|        goto error;
14137|      0|    }
14138|      2|    if (_PyStaticType_InitBuiltin(interp, &PyFieldNameIter_Type) < 0) {
  ------------------
  |  Branch (14138:9): [True: 0, False: 2]
  ------------------
14139|      0|        goto error;
14140|      0|    }
14141|      2|    if (_PyStaticType_InitBuiltin(interp, &PyFormatterIter_Type) < 0) {
  ------------------
  |  Branch (14141:9): [True: 0, False: 2]
  ------------------
14142|      0|        goto error;
14143|      0|    }
14144|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
14145|       |
14146|      0|error:
14147|      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)}
  ------------------
14148|      2|}
_PyUnicode_InternStatic:
14191|  2.23k|{
14192|       |    // This should only be called as part of runtime initialization
14193|  2.23k|    assert(!Py_IsInitialized());
14194|       |
14195|  2.23k|    *p = intern_static(interp, *p);
14196|       |    assert(*p);
14197|  2.23k|}
_PyUnicode_InternImmortal:
14405|  5.09M|{
14406|  5.09M|    *p = intern_common(interp, *p, 1);
14407|       |    assert(*p);
14408|  5.09M|}
_PyUnicode_InternMortal:
14412|  4.02M|{
14413|  4.02M|    *p = intern_common(interp, *p, 0);
14414|       |    assert(*p);
14415|  4.02M|}
PyUnicode_InternFromString:
14443|  23.0k|{
14444|  23.0k|    PyObject *s = PyUnicode_FromString(cp);
14445|  23.0k|    if (s == NULL) {
  ------------------
  |  Branch (14445:9): [True: 0, False: 23.0k]
  ------------------
14446|      0|        return NULL;
14447|      0|    }
14448|  23.0k|    PyInterpreterState *interp = _PyInterpreterState_GET();
14449|  23.0k|    _PyUnicode_InternMortal(interp, &s);
14450|  23.0k|    return s;
14451|  23.0k|}
_PyUnicode_InitEncodings:
14905|      2|{
14906|      2|    PyStatus status = _PyCodec_InitRegistry(tstate->interp);
14907|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
14908|      0|        return status;
14909|      0|    }
14910|      2|    status = init_fs_encoding(tstate);
14911|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
14912|      0|        return status;
14913|      0|    }
14914|       |
14915|      2|    return init_stdio_encoding(tstate->interp);
14916|      2|}
PyInit__string:
15024|      2|{
15025|      2|    return PyModuleDef_Init(&_string_module);
15026|      2|}
unicodeobject.c:get_interned_dict:
  212|   752k|{
  213|   752k|    return _Py_INTERP_CACHED_OBJECT(interp, interned_strings);
  ------------------
  |  |   22|   752k|    (interp)->cached_objects.NAME
  ------------------
  214|   752k|}
unicodeobject.c:_PyUnicode_UTF8:
  114|  4.40M|{
  115|  4.40M|    return FT_ATOMIC_LOAD_PTR_ACQUIRE(_PyCompactUnicodeObject_CAST(op)->utf8);
  ------------------
  |  |  149|  4.40M|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
  116|  4.40M|}
unicodeobject.c:_PyUnicode_HAS_UTF8_MEMORY:
  177|  11.4M|{
  178|  11.4M|    return (!PyUnicode_IS_COMPACT_ASCII(op)
  ------------------
  |  |  241|  22.9M|#define PyUnicode_IS_COMPACT_ASCII(op) PyUnicode_IS_COMPACT_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (178:13): [True: 3.23M, False: 8.23M]
  ------------------
  179|  3.23M|            && _PyUnicode_UTF8(op) != NULL
  ------------------
  |  Branch (179:16): [True: 0, False: 3.23M]
  ------------------
  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|  11.4M|}
unicodeobject.c:PyUnicode_SET_UTF8_LENGTH:
  146|     70|{
  147|       |    _PyCompactUnicodeObject_CAST(op)->utf8_length = length;
  ------------------
  |  |  189|     70|    (assert(PyUnicode_Check(op)), \
  |  |  190|     70|     _Py_CAST(PyCompactUnicodeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|     70|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  148|     70|}
unicodeobject.c:PyUnicode_SET_UTF8:
  130|     70|{
  131|     70|    FT_ATOMIC_STORE_PTR_RELEASE(_PyCompactUnicodeObject_CAST(op)->utf8, utf8);
  ------------------
  |  |  163|     70|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  132|     70|}
unicodeobject.c:_copy_characters:
 1382|  4.69M|{
 1383|  4.69M|    int from_kind, to_kind;
 1384|  4.69M|    const void *from_data;
 1385|  4.69M|    void *to_data;
 1386|       |
 1387|  4.69M|    assert(0 <= how_many);
 1388|  4.69M|    assert(0 <= from_start);
 1389|  4.69M|    assert(0 <= to_start);
 1390|  4.69M|    assert(PyUnicode_Check(from));
 1391|  4.69M|    assert(from_start + how_many <= PyUnicode_GET_LENGTH(from));
 1392|       |
 1393|  4.69M|    assert(to == NULL || PyUnicode_Check(to));
 1394|       |
 1395|  4.69M|    if (how_many == 0) {
  ------------------
  |  Branch (1395:9): [True: 48, False: 4.69M]
  ------------------
 1396|     48|        return 0;
 1397|     48|    }
 1398|       |
 1399|  4.69M|    assert(to != NULL);
 1400|  4.69M|    assert(to_start + how_many <= PyUnicode_GET_LENGTH(to));
 1401|       |
 1402|  4.69M|    from_kind = PyUnicode_KIND(from);
  ------------------
  |  |  258|  4.69M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  4.69M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1403|  4.69M|    from_data = PyUnicode_DATA(from);
  ------------------
  |  |  284|  4.69M|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.69M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.69M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1404|  4.69M|    to_kind = PyUnicode_KIND(to);
  ------------------
  |  |  258|  4.69M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  4.69M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1405|  4.69M|    to_data = PyUnicode_DATA(to);
  ------------------
  |  |  284|  4.69M|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.69M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.69M|#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.69M|    if (from_kind == to_kind) {
  ------------------
  |  Branch (1421:9): [True: 4.54M, False: 143k]
  ------------------
 1422|  4.54M|        if (check_maxchar
  ------------------
  |  Branch (1422:13): [True: 0, False: 4.54M]
  ------------------
 1423|      0|            && !PyUnicode_IS_ASCII(from) && PyUnicode_IS_ASCII(to))
  ------------------
  |  |  227|  4.54M|#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.54M|        memcpy((char*)to_data + to_kind * to_start,
 1434|  4.54M|                  (const char*)from_data + from_kind * from_start,
 1435|  4.54M|                  to_kind * how_many);
 1436|  4.54M|    }
 1437|   143k|    else if (from_kind == PyUnicode_1BYTE_KIND
  ------------------
  |  Branch (1437:14): [True: 28.8k, False: 114k]
  ------------------
 1438|  28.8k|             && to_kind == PyUnicode_2BYTE_KIND)
  ------------------
  |  Branch (1438:17): [True: 5.56k, False: 23.2k]
  ------------------
 1439|  5.56k|    {
 1440|  5.56k|        _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   44|  5.56k|    do {                                                \
  |  |   45|  5.56k|        to_type *_to = (to_type *)(to);                 \
  |  |   46|  5.56k|        const from_type *_iter = (const from_type *)(begin);\
  |  |   47|  5.56k|        const from_type *_end = (const from_type *)(end);\
  |  |   48|  5.56k|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   49|  5.56k|        const from_type *_unrolled_end =                \
  |  |   50|  5.56k|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  211|  5.56k|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   51|  26.3k|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (51:16): [True: 20.8k, False: 5.56k]
  |  |  ------------------
  |  |   52|  20.8k|            _to[0] = (to_type) _iter[0];                \
  |  |   53|  20.8k|            _to[1] = (to_type) _iter[1];                \
  |  |   54|  20.8k|            _to[2] = (to_type) _iter[2];                \
  |  |   55|  20.8k|            _to[3] = (to_type) _iter[3];                \
  |  |   56|  20.8k|            _iter += 4; _to += 4;                       \
  |  |   57|  20.8k|        }                                               \
  |  |   58|  12.5k|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (58:16): [True: 7.01k, False: 5.56k]
  |  |  ------------------
  |  |   59|  7.01k|            *_to++ = (to_type) *_iter++;                \
  |  |   60|  5.56k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (60:14): [Folded, False: 5.56k]
  |  |  ------------------
  ------------------
 1441|  5.56k|            Py_UCS1, Py_UCS2,
 1442|  5.56k|            PyUnicode_1BYTE_DATA(from) + from_start,
 1443|  5.56k|            PyUnicode_1BYTE_DATA(from) + from_start + how_many,
 1444|  5.56k|            PyUnicode_2BYTE_DATA(to) + to_start
 1445|  5.56k|            );
 1446|  5.56k|    }
 1447|   138k|    else if (from_kind == PyUnicode_1BYTE_KIND
  ------------------
  |  Branch (1447:14): [True: 23.2k, False: 114k]
  ------------------
 1448|  23.2k|             && to_kind == PyUnicode_4BYTE_KIND)
  ------------------
  |  Branch (1448:17): [True: 23.2k, False: 0]
  ------------------
 1449|  23.2k|    {
 1450|  23.2k|        _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   44|  23.2k|    do {                                                \
  |  |   45|  23.2k|        to_type *_to = (to_type *)(to);                 \
  |  |   46|  23.2k|        const from_type *_iter = (const from_type *)(begin);\
  |  |   47|  23.2k|        const from_type *_end = (const from_type *)(end);\
  |  |   48|  23.2k|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   49|  23.2k|        const from_type *_unrolled_end =                \
  |  |   50|  23.2k|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  211|  23.2k|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   51|   112k|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (51:16): [True: 89.4k, False: 23.2k]
  |  |  ------------------
  |  |   52|  89.4k|            _to[0] = (to_type) _iter[0];                \
  |  |   53|  89.4k|            _to[1] = (to_type) _iter[1];                \
  |  |   54|  89.4k|            _to[2] = (to_type) _iter[2];                \
  |  |   55|  89.4k|            _to[3] = (to_type) _iter[3];                \
  |  |   56|  89.4k|            _iter += 4; _to += 4;                       \
  |  |   57|  89.4k|        }                                               \
  |  |   58|  54.6k|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (58:16): [True: 31.3k, False: 23.2k]
  |  |  ------------------
  |  |   59|  31.3k|            *_to++ = (to_type) *_iter++;                \
  |  |   60|  23.2k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (60:14): [Folded, False: 23.2k]
  |  |  ------------------
  ------------------
 1451|  23.2k|            Py_UCS1, Py_UCS4,
 1452|  23.2k|            PyUnicode_1BYTE_DATA(from) + from_start,
 1453|  23.2k|            PyUnicode_1BYTE_DATA(from) + from_start + how_many,
 1454|  23.2k|            PyUnicode_4BYTE_DATA(to) + to_start
 1455|  23.2k|            );
 1456|  23.2k|    }
 1457|   114k|    else if (from_kind == PyUnicode_2BYTE_KIND
  ------------------
  |  Branch (1457:14): [True: 114k, False: 0]
  ------------------
 1458|   114k|             && to_kind == PyUnicode_4BYTE_KIND)
  ------------------
  |  Branch (1458:17): [True: 114k, False: 0]
  ------------------
 1459|   114k|    {
 1460|   114k|        _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   44|   114k|    do {                                                \
  |  |   45|   114k|        to_type *_to = (to_type *)(to);                 \
  |  |   46|   114k|        const from_type *_iter = (const from_type *)(begin);\
  |  |   47|   114k|        const from_type *_end = (const from_type *)(end);\
  |  |   48|   114k|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   49|   114k|        const from_type *_unrolled_end =                \
  |  |   50|   114k|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  211|   114k|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   51|   114k|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (51:16): [True: 0, False: 114k]
  |  |  ------------------
  |  |   52|      0|            _to[0] = (to_type) _iter[0];                \
  |  |   53|      0|            _to[1] = (to_type) _iter[1];                \
  |  |   54|      0|            _to[2] = (to_type) _iter[2];                \
  |  |   55|      0|            _to[3] = (to_type) _iter[3];                \
  |  |   56|      0|            _iter += 4; _to += 4;                       \
  |  |   57|      0|        }                                               \
  |  |   58|   229k|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (58:16): [True: 114k, False: 114k]
  |  |  ------------------
  |  |   59|   114k|            *_to++ = (to_type) *_iter++;                \
  |  |   60|   114k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (60:14): [Folded, False: 114k]
  |  |  ------------------
  ------------------
 1461|   114k|            Py_UCS2, Py_UCS4,
 1462|   114k|            PyUnicode_2BYTE_DATA(from) + from_start,
 1463|   114k|            PyUnicode_2BYTE_DATA(from) + from_start + how_many,
 1464|   114k|            PyUnicode_4BYTE_DATA(to) + to_start
 1465|   114k|            );
 1466|   114k|    }
 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(
  ------------------
  |  |   44|      0|    do {                                                \
  |  |   45|      0|        to_type *_to = (to_type *)(to);                 \
  |  |   46|      0|        const from_type *_iter = (const from_type *)(begin);\
  |  |   47|      0|        const from_type *_end = (const from_type *)(end);\
  |  |   48|      0|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   49|      0|        const from_type *_unrolled_end =                \
  |  |   50|      0|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  211|      0|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   51|      0|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (51:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   52|      0|            _to[0] = (to_type) _iter[0];                \
  |  |   53|      0|            _to[1] = (to_type) _iter[1];                \
  |  |   54|      0|            _to[2] = (to_type) _iter[2];                \
  |  |   55|      0|            _to[3] = (to_type) _iter[3];                \
  |  |   56|      0|            _iter += 4; _to += 4;                       \
  |  |   57|      0|        }                                               \
  |  |   58|      0|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (58:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   59|      0|            *_to++ = (to_type) *_iter++;                \
  |  |   60|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (60: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(
  ------------------
  |  |   44|      0|    do {                                                \
  |  |   45|      0|        to_type *_to = (to_type *)(to);                 \
  |  |   46|      0|        const from_type *_iter = (const from_type *)(begin);\
  |  |   47|      0|        const from_type *_end = (const from_type *)(end);\
  |  |   48|      0|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   49|      0|        const from_type *_unrolled_end =                \
  |  |   50|      0|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  211|      0|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   51|      0|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (51:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   52|      0|            _to[0] = (to_type) _iter[0];                \
  |  |   53|      0|            _to[1] = (to_type) _iter[1];                \
  |  |   54|      0|            _to[2] = (to_type) _iter[2];                \
  |  |   55|      0|            _to[3] = (to_type) _iter[3];                \
  |  |   56|      0|            _iter += 4; _to += 4;                       \
  |  |   57|      0|        }                                               \
  |  |   58|      0|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (58:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   59|      0|            *_to++ = (to_type) *_iter++;                \
  |  |   60|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (60: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(
  ------------------
  |  |   44|      0|    do {                                                \
  |  |   45|      0|        to_type *_to = (to_type *)(to);                 \
  |  |   46|      0|        const from_type *_iter = (const from_type *)(begin);\
  |  |   47|      0|        const from_type *_end = (const from_type *)(end);\
  |  |   48|      0|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   49|      0|        const from_type *_unrolled_end =                \
  |  |   50|      0|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  211|      0|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   51|      0|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (51:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   52|      0|            _to[0] = (to_type) _iter[0];                \
  |  |   53|      0|            _to[1] = (to_type) _iter[1];                \
  |  |   54|      0|            _to[2] = (to_type) _iter[2];                \
  |  |   55|      0|            _to[3] = (to_type) _iter[3];                \
  |  |   56|      0|            _iter += 4; _to += 4;                       \
  |  |   57|      0|        }                                               \
  |  |   58|      0|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (58:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   59|      0|            *_to++ = (to_type) *_iter++;                \
  |  |   60|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (60: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.69M|    return 0;
 1519|  4.69M|}
unicodeobject.c:unicode_resize:
 1753|  6.40k|{
 1754|  6.40k|    PyObject *unicode;
 1755|  6.40k|    Py_ssize_t old_length;
 1756|       |
 1757|  6.40k|    assert(p_unicode != NULL);
 1758|  6.40k|    unicode = *p_unicode;
 1759|       |
 1760|  6.40k|    assert(unicode != NULL);
 1761|  6.40k|    assert(PyUnicode_Check(unicode));
 1762|  6.40k|    assert(0 <= length);
 1763|       |
 1764|  6.40k|    old_length = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  299|  6.40k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.40k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1765|  6.40k|    if (old_length == length)
  ------------------
  |  Branch (1765:9): [True: 0, False: 6.40k]
  ------------------
 1766|      0|        return 0;
 1767|       |
 1768|  6.40k|    if (length == 0) {
  ------------------
  |  Branch (1768:9): [True: 0, False: 6.40k]
  ------------------
 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|  6.40k|    if (!_PyUnicode_IsModifiable(unicode)) {
  ------------------
  |  Branch (1774:9): [True: 0, False: 6.40k]
  ------------------
 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|  6.40k|    if (PyUnicode_IS_COMPACT(unicode)) {
  ------------------
  |  |  234|  6.40k|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.40k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (234:34): [True: 6.40k, False: 0]
  |  |  ------------------
  ------------------
 1783|  6.40k|        PyObject *new_unicode = _PyUnicode_ResizeCompact(unicode, length);
 1784|  6.40k|        if (new_unicode == NULL)
  ------------------
  |  Branch (1784:13): [True: 0, False: 6.40k]
  ------------------
 1785|      0|            return -1;
 1786|  6.40k|        *p_unicode = new_unicode;
 1787|  6.40k|        return 0;
 1788|  6.40k|    }
 1789|      0|    return resize_inplace(unicode, length);
 1790|  6.40k|}
unicodeobject.c:get_latin1_char:
 1811|  3.42M|{
 1812|  3.42M|    PyObject *o = LATIN1(ch);
  ------------------
  |  |  184|  3.42M|#define LATIN1 _Py_LATIN1_CHR
  |  |  ------------------
  |  |  |  |  919|  3.42M|    ((CH) < 128 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (919:6): [True: 3.42M, False: 4.25k]
  |  |  |  |  ------------------
  |  |  |  |  920|  3.42M|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|  3.42M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|  3.42M|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  921|  3.42M|     : (PyObject*)&_Py_SINGLETON(strings).latin1[(CH) - 128])
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|  4.25k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|  4.25k|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1813|  3.42M|    return o;
 1814|  3.42M|}
unicodeobject.c:find_maxchar_surrogates:
 1588|  41.5k|{
 1589|  41.5k|    const wchar_t *iter;
 1590|  41.5k|    Py_UCS4 ch;
 1591|       |
 1592|  41.5k|    assert(num_surrogates != NULL && maxchar != NULL);
 1593|  41.5k|    *num_surrogates = 0;
 1594|  41.5k|    *maxchar = 0;
 1595|       |
 1596|  1.08M|    for (iter = begin; iter < end; ) {
  ------------------
  |  Branch (1596:24): [True: 1.04M, False: 41.5k]
  ------------------
 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.04M|        {
 1609|  1.04M|            ch = *iter;
 1610|  1.04M|            iter++;
 1611|  1.04M|        }
 1612|  1.04M|        if (ch > *maxchar) {
  ------------------
  |  Branch (1612:13): [True: 207k, False: 838k]
  ------------------
 1613|   207k|            *maxchar = ch;
 1614|   207k|            if (*maxchar > MAX_UNICODE) {
  ------------------
  |  |  104|   207k|#define MAX_UNICODE _Py_MAX_UNICODE
  |  |  ------------------
  |  |  |  |   16|   207k|#define _Py_MAX_UNICODE 0x10ffff
  |  |  ------------------
  ------------------
  |  Branch (1614:17): [True: 0, False: 207k]
  ------------------
 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|   207k|        }
 1621|  1.04M|    }
 1622|  41.5k|    return 0;
 1623|  41.5k|}
unicodeobject.c:unicode_write_widechar:
 1847|  41.5k|{
 1848|  41.5k|    switch (kind) {
 1849|  41.5k|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (1849:5): [True: 41.5k, False: 0]
  ------------------
 1850|  41.5k|        _PyUnicode_CONVERT_BYTES(wchar_t, unsigned char, u, u + size, data);
  ------------------
  |  |   44|  41.5k|    do {                                                \
  |  |   45|  41.5k|        to_type *_to = (to_type *)(to);                 \
  |  |   46|  41.5k|        const from_type *_iter = (const from_type *)(begin);\
  |  |   47|  41.5k|        const from_type *_end = (const from_type *)(end);\
  |  |   48|  41.5k|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   49|  41.5k|        const from_type *_unrolled_end =                \
  |  |   50|  41.5k|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  211|  41.5k|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   51|   292k|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (51:16): [True: 250k, False: 41.5k]
  |  |  ------------------
  |  |   52|   250k|            _to[0] = (to_type) _iter[0];                \
  |  |   53|   250k|            _to[1] = (to_type) _iter[1];                \
  |  |   54|   250k|            _to[2] = (to_type) _iter[2];                \
  |  |   55|   250k|            _to[3] = (to_type) _iter[3];                \
  |  |   56|   250k|            _iter += 4; _to += 4;                       \
  |  |   57|   250k|        }                                               \
  |  |   58|  83.3k|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (58:16): [True: 41.7k, False: 41.5k]
  |  |  ------------------
  |  |   59|  41.7k|            *_to++ = (to_type) *_iter++;                \
  |  |   60|  41.5k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (60:14): [Folded, False: 41.5k]
  |  |  ------------------
  ------------------
 1851|  41.5k|        break;
 1852|       |
 1853|      0|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (1853:5): [True: 0, False: 41.5k]
  ------------------
 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);
  ------------------
  |  |   44|      0|    do {                                                \
  |  |   45|      0|        to_type *_to = (to_type *)(to);                 \
  |  |   46|      0|        const from_type *_iter = (const from_type *)(begin);\
  |  |   47|      0|        const from_type *_end = (const from_type *)(end);\
  |  |   48|      0|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   49|      0|        const from_type *_unrolled_end =                \
  |  |   50|      0|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  211|      0|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   51|      0|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (51:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   52|      0|            _to[0] = (to_type) _iter[0];                \
  |  |   53|      0|            _to[1] = (to_type) _iter[1];                \
  |  |   54|      0|            _to[2] = (to_type) _iter[2];                \
  |  |   55|      0|            _to[3] = (to_type) _iter[3];                \
  |  |   56|      0|            _iter += 4; _to += 4;                       \
  |  |   57|      0|        }                                               \
  |  |   58|      0|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (58:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   59|      0|            *_to++ = (to_type) *_iter++;                \
  |  |   60|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (60:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1858|      0|#endif
 1859|      0|        break;
 1860|       |
 1861|      0|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (1861:5): [True: 0, False: 41.5k]
  ------------------
 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: 41.5k]
  ------------------
 1893|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1894|  41.5k|    }
 1895|  41.5k|}
unicodeobject.c:_PyUnicode_FromUCS1:
 2157|   716k|{
 2158|   716k|    PyObject *res;
 2159|   716k|    unsigned char max_char;
 2160|       |
 2161|   716k|    if (size == 0) {
  ------------------
  |  Branch (2161:9): [True: 146, False: 716k]
  ------------------
 2162|    146|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  375|    146|    do {                             \
  |  |  376|    146|        return _PyUnicode_GetEmpty();\
  |  |  377|    146|    } while (0)
  |  |  ------------------
  |  |  |  Branch (377:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2163|    146|    }
 2164|   716k|    assert(size > 0);
 2165|   716k|    if (size == 1) {
  ------------------
  |  Branch (2165:9): [True: 14.2k, False: 702k]
  ------------------
 2166|  14.2k|        return get_latin1_char(u[0]);
 2167|  14.2k|    }
 2168|       |
 2169|   702k|    max_char = ucs1lib_find_max_char(u, u + size);
 2170|   702k|    res = PyUnicode_New(size, max_char);
 2171|   702k|    if (!res)
  ------------------
  |  Branch (2171:9): [True: 0, False: 702k]
  ------------------
 2172|      0|        return NULL;
 2173|   702k|    memcpy(PyUnicode_1BYTE_DATA(res), u, size);
  ------------------
  |  |  291|   702k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|   702k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 2174|       |    assert(_PyUnicode_CheckConsistency(res, 1));
 2175|   702k|    return res;
 2176|   702k|}
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: 28, False: 328]
  ------------------
 2188|     28|        return unicode_char(u[0]);
 2189|       |
 2190|    328|    max_char = ucs2lib_find_max_char(u, u + size);
 2191|    328|    res = PyUnicode_New(size, max_char);
 2192|    328|    if (!res)
  ------------------
  |  Branch (2192:9): [True: 0, False: 328]
  ------------------
 2193|      0|        return NULL;
 2194|    328|    if (max_char >= 256)
  ------------------
  |  Branch (2194:9): [True: 2, False: 326]
  ------------------
 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|    326|    else {
 2197|    326|        _PyUnicode_CONVERT_BYTES(
  ------------------
  |  |   44|    326|    do {                                                \
  |  |   45|    326|        to_type *_to = (to_type *)(to);                 \
  |  |   46|    326|        const from_type *_iter = (const from_type *)(begin);\
  |  |   47|    326|        const from_type *_end = (const from_type *)(end);\
  |  |   48|    326|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   49|    326|        const from_type *_unrolled_end =                \
  |  |   50|    326|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  211|    326|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   51|  4.22k|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (51:16): [True: 3.90k, False: 326]
  |  |  ------------------
  |  |   52|  3.90k|            _to[0] = (to_type) _iter[0];                \
  |  |   53|  3.90k|            _to[1] = (to_type) _iter[1];                \
  |  |   54|  3.90k|            _to[2] = (to_type) _iter[2];                \
  |  |   55|  3.90k|            _to[3] = (to_type) _iter[3];                \
  |  |   56|  3.90k|            _iter += 4; _to += 4;                       \
  |  |   57|  3.90k|        }                                               \
  |  |   58|    910|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (58:16): [True: 584, False: 326]
  |  |  ------------------
  |  |   59|    584|            *_to++ = (to_type) *_iter++;                \
  |  |   60|    326|    } while (0)
  |  |  ------------------
  |  |  |  Branch (60:14): [Folded, False: 326]
  |  |  ------------------
  ------------------
 2198|    326|            Py_UCS2, Py_UCS1, u, u + size, PyUnicode_1BYTE_DATA(res));
 2199|    326|    }
 2200|       |    assert(_PyUnicode_CheckConsistency(res, 1));
 2201|    328|    return res;
 2202|    328|}
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,
  ------------------
  |  |   44|     32|    do {                                                \
  |  |   45|     32|        to_type *_to = (to_type *)(to);                 \
  |  |   46|     32|        const from_type *_iter = (const from_type *)(begin);\
  |  |   47|     32|        const from_type *_end = (const from_type *)(end);\
  |  |   48|     32|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   49|     32|        const from_type *_unrolled_end =                \
  |  |   50|     32|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  211|     32|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   51|    356|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (51:16): [True: 324, False: 32]
  |  |  ------------------
  |  |   52|    324|            _to[0] = (to_type) _iter[0];                \
  |  |   53|    324|            _to[1] = (to_type) _iter[1];                \
  |  |   54|    324|            _to[2] = (to_type) _iter[2];                \
  |  |   55|    324|            _to[3] = (to_type) _iter[3];                \
  |  |   56|    324|            _iter += 4; _to += 4;                       \
  |  |   57|    324|        }                                               \
  |  |   58|     96|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (58:16): [True: 64, False: 32]
  |  |  ------------------
  |  |   59|     64|            *_to++ = (to_type) *_iter++;                \
  |  |   60|     32|    } while (0)
  |  |  ------------------
  |  |  |  Branch (60: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,
  ------------------
  |  |   44|      0|    do {                                                \
  |  |   45|      0|        to_type *_to = (to_type *)(to);                 \
  |  |   46|      0|        const from_type *_iter = (const from_type *)(begin);\
  |  |   47|      0|        const from_type *_end = (const from_type *)(end);\
  |  |   48|      0|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   49|      0|        const from_type *_unrolled_end =                \
  |  |   50|      0|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  211|      0|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   51|      0|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (51:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   52|      0|            _to[0] = (to_type) _iter[0];                \
  |  |   53|      0|            _to[1] = (to_type) _iter[1];                \
  |  |   54|      0|            _to[2] = (to_type) _iter[2];                \
  |  |   55|      0|            _to[3] = (to_type) _iter[3];                \
  |  |   56|      0|            _iter += 4; _to += 4;                       \
  |  |   57|      0|        }                                               \
  |  |   58|      0|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (58:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   59|      0|            *_to++ = (to_type) *_iter++;                \
  |  |   60|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (60: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);
  ------------------
  |  |   44|      2|    do {                                                \
  |  |   45|      2|        to_type *_to = (to_type *)(to);                 \
  |  |   46|      2|        const from_type *_iter = (const from_type *)(begin);\
  |  |   47|      2|        const from_type *_end = (const from_type *)(end);\
  |  |   48|      2|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   49|      2|        const from_type *_unrolled_end =                \
  |  |   50|      2|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  211|      2|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   51|    342|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (51:16): [True: 340, False: 2]
  |  |  ------------------
  |  |   52|    340|            _to[0] = (to_type) _iter[0];                \
  |  |   53|    340|            _to[1] = (to_type) _iter[1];                \
  |  |   54|    340|            _to[2] = (to_type) _iter[2];                \
  |  |   55|    340|            _to[3] = (to_type) _iter[3];                \
  |  |   56|    340|            _iter += 4; _to += 4;                       \
  |  |   57|    340|        }                                               \
  |  |   58|      2|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (58:16): [True: 0, False: 2]
  |  |  ------------------
  |  |   59|      2|            *_to++ = (to_type) *_iter++;                \
  |  |   60|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (60: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);
  ------------------
  |  |   44|      0|    do {                                                \
  |  |   45|      0|        to_type *_to = (to_type *)(to);                 \
  |  |   46|      0|        const from_type *_iter = (const from_type *)(begin);\
  |  |   47|      0|        const from_type *_end = (const from_type *)(end);\
  |  |   48|      0|        Py_ssize_t n = (_end) - (_iter);                \
  |  |   49|      0|        const from_type *_unrolled_end =                \
  |  |   50|      0|            _iter + _Py_SIZE_ROUND_DOWN(n, 4);          \
  |  |  ------------------
  |  |  |  |  211|      0|#define _Py_SIZE_ROUND_DOWN(n, a) ((size_t)(n) & ~(size_t)((a) - 1))
  |  |  ------------------
  |  |   51|      0|        while (_iter < (_unrolled_end)) {               \
  |  |  ------------------
  |  |  |  Branch (51:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   52|      0|            _to[0] = (to_type) _iter[0];                \
  |  |   53|      0|            _to[1] = (to_type) _iter[1];                \
  |  |   54|      0|            _to[2] = (to_type) _iter[2];                \
  |  |   55|      0|            _to[3] = (to_type) _iter[3];                \
  |  |   56|      0|            _iter += 4; _to += 4;                       \
  |  |   57|      0|        }                                               \
  |  |   58|      0|        while (_iter < (_end))                          \
  |  |  ------------------
  |  |  |  Branch (58:16): [True: 0, False: 0]
  |  |  ------------------
  |  |   59|      0|            *_to++ = (to_type) *_iter++;                \
  |  |   60|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (60: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.07M|{
 3058|  1.07M|    Py_ssize_t len = strlen(format);
 3059|  1.07M|    writer->min_length += len + 100;
 3060|  1.07M|    writer->overallocate = 1;
 3061|       |
 3062|       |    // Copy varags to be able to pass a reference to a subfunction.
 3063|  1.07M|    va_list vargs2;
 3064|  1.07M|    va_copy(vargs2, vargs);
 3065|       |
 3066|       |    // _PyUnicodeWriter_WriteASCIIString() below requires the format string
 3067|       |    // to be encoded to ASCII.
 3068|  1.07M|    int is_ascii = (ucs1lib_find_max_char((Py_UCS1*)format, (Py_UCS1*)format + len) < 128);
 3069|  1.07M|    if (!is_ascii) {
  ------------------
  |  Branch (3069:9): [True: 0, False: 1.07M]
  ------------------
 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|  6.35M|    for (const char *f = format; *f; ) {
  ------------------
  |  Branch (3079:34): [True: 5.27M, False: 1.07M]
  ------------------
 3080|  5.27M|        if (*f == '%') {
  ------------------
  |  Branch (3080:13): [True: 2.09M, False: 3.17M]
  ------------------
 3081|  2.09M|            f = unicode_fromformat_arg(writer, f, &vargs2);
 3082|  2.09M|            if (f == NULL)
  ------------------
  |  Branch (3082:17): [True: 0, False: 2.09M]
  ------------------
 3083|      0|                goto fail;
 3084|  2.09M|        }
 3085|  3.17M|        else {
 3086|  3.17M|            const char *p = strchr(f, '%');
 3087|  3.17M|            if (p != NULL) {
  ------------------
  |  Branch (3087:17): [True: 2.09M, False: 1.07M]
  ------------------
 3088|  2.09M|                len = p - f;
 3089|  2.09M|            }
 3090|  1.07M|            else {
 3091|  1.07M|                len = strlen(f);
 3092|  1.07M|                writer->overallocate = 0;
 3093|  1.07M|            }
 3094|       |
 3095|  3.17M|            if (_PyUnicodeWriter_WriteASCIIString(writer, f, len) < 0) {
  ------------------
  |  Branch (3095:17): [True: 0, False: 3.17M]
  ------------------
 3096|      0|                goto fail;
 3097|      0|            }
 3098|  3.17M|            f += len;
 3099|  3.17M|        }
 3100|  5.27M|    }
 3101|  1.07M|    va_end(vargs2);
 3102|  1.07M|    return 0;
 3103|       |
 3104|      0|  fail:
 3105|       |    va_end(vargs2);
 3106|      0|    return -1;
 3107|  1.07M|}
unicodeobject.c:unicode_fromformat_arg:
 2643|  2.09M|{
 2644|  2.09M|    const char *p;
 2645|  2.09M|    Py_ssize_t len;
 2646|  2.09M|    int flags = 0;
 2647|  2.09M|    Py_ssize_t width;
 2648|  2.09M|    Py_ssize_t precision;
 2649|       |
 2650|  2.09M|    p = f;
 2651|  2.09M|    f++;
 2652|  2.09M|    if (*f == '%') {
  ------------------
  |  Branch (2652:9): [True: 0, False: 2.09M]
  ------------------
 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.09M|    while (1) {
  ------------------
  |  Branch (2664:12): [True: 2.09M, Folded]
  ------------------
 2665|  2.09M|        switch (*f++) {
  ------------------
  |  Branch (2665:17): [True: 0, False: 2.09M]
  ------------------
 2666|      0|        case '-': flags |= F_LJUST; continue;
  ------------------
  |  |   18|      0|#define F_LJUST (1<<0)
  ------------------
  |  Branch (2666:9): [True: 0, False: 2.09M]
  ------------------
 2667|      0|        case '0': flags |= F_ZERO; continue;
  ------------------
  |  |   22|      0|#define F_ZERO  (1<<4)
  ------------------
  |  Branch (2667:9): [True: 0, False: 2.09M]
  ------------------
 2668|      0|        case '#': flags |= F_ALT; continue;
  ------------------
  |  |   21|      0|#define F_ALT   (1<<3)
  ------------------
  |  Branch (2668:9): [True: 0, False: 2.09M]
  ------------------
 2669|  2.09M|        }
 2670|  2.09M|        f--;
 2671|  2.09M|        break;
 2672|  2.09M|    }
 2673|       |
 2674|       |    /* parse the width.precision part, e.g. "%2.5s" => width=2, precision=5 */
 2675|  2.09M|    width = -1;
 2676|  2.09M|    if (*f == '*') {
  ------------------
  |  Branch (2676:9): [True: 0, False: 2.09M]
  ------------------
 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.09M|    else if (Py_ISDIGIT((unsigned)*f)) {
  ------------------
  |  |   24|  2.09M|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  138|  2.09M|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|  2.09M|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 0, False: 2.09M]
  |  |  ------------------
  ------------------
 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.09M|    precision = -1;
 2698|  2.09M|    if (*f == '.') {
  ------------------
  |  Branch (2698:9): [True: 1.05M, False: 1.04M]
  ------------------
 2699|  1.05M|        f++;
 2700|  1.05M|        if (*f == '*') {
  ------------------
  |  Branch (2700:13): [True: 0, False: 1.05M]
  ------------------
 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.05M|        else if (Py_ISDIGIT((unsigned)*f)) {
  ------------------
  |  |   24|  1.05M|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  138|  1.05M|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|  1.05M|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 1.05M, False: 0]
  |  |  ------------------
  ------------------
 2708|  1.05M|            precision = (*f - '0');
 2709|  1.05M|            f++;
 2710|  3.15M|            while (Py_ISDIGIT((unsigned)*f)) {
  ------------------
  |  |   24|  3.15M|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  138|  3.15M|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|  3.15M|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 2.10M, False: 1.05M]
  |  |  ------------------
  ------------------
 2711|  2.10M|                if (precision > (PY_SSIZE_T_MAX - ((int)*f - '0')) / 10) {
  ------------------
  |  |  137|  2.10M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (2711:21): [True: 0, False: 2.10M]
  ------------------
 2712|      0|                    PyErr_SetString(PyExc_ValueError,
 2713|      0|                                    "precision too big");
 2714|      0|                    return NULL;
 2715|      0|                }
 2716|  2.10M|                precision = (precision * 10) + (*f - '0');
 2717|  2.10M|                f++;
 2718|  2.10M|            }
 2719|  1.05M|        }
 2720|  1.05M|    }
 2721|       |
 2722|  2.09M|    int sizemod = 0;
 2723|  2.09M|    if (*f == 'l') {
  ------------------
  |  Branch (2723:9): [True: 0, False: 2.09M]
  ------------------
 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.09M|    else if (*f == 'z') {
  ------------------
  |  Branch (2733:14): [True: 0, False: 2.09M]
  ------------------
 2734|      0|        sizemod = F_SIZE;
  ------------------
  |  | 2636|      0|#define F_SIZE 3
  ------------------
 2735|      0|        ++f;
 2736|      0|    }
 2737|  2.09M|    else if (*f == 't') {
  ------------------
  |  Branch (2737:14): [True: 0, False: 2.09M]
  ------------------
 2738|      0|        sizemod = F_PTRDIFF;
  ------------------
  |  | 2637|      0|#define F_PTRDIFF 4
  ------------------
 2739|      0|        ++f;
 2740|      0|    }
 2741|  2.09M|    else if (*f == 'j') {
  ------------------
  |  Branch (2741:14): [True: 0, False: 2.09M]
  ------------------
 2742|      0|        sizemod = F_INTMAX;
  ------------------
  |  | 2638|      0|#define F_INTMAX 5
  ------------------
 2743|      0|        ++f;
 2744|      0|    }
 2745|  2.09M|    if (f[0] != '\0' && f[1] == '\0')
  ------------------
  |  Branch (2745:9): [True: 2.09M, False: 0]
  |  Branch (2745:25): [True: 607, False: 2.09M]
  ------------------
 2746|    607|        writer->overallocate = 0;
 2747|       |
 2748|  2.09M|    switch (*f) {
 2749|     76|    case 'd': case 'i': case 'o': case 'u': case 'x': case 'X':
  ------------------
  |  Branch (2749:5): [True: 76, False: 2.09M]
  |  Branch (2749:15): [True: 0, False: 2.09M]
  |  Branch (2749:25): [True: 0, False: 2.09M]
  |  Branch (2749:35): [True: 0, False: 2.09M]
  |  Branch (2749:45): [True: 0, False: 2.09M]
  |  Branch (2749:55): [True: 0, False: 2.09M]
  ------------------
 2750|     76|        break;
 2751|    102|    case 'c': case 'p':
  ------------------
  |  Branch (2751:5): [True: 102, False: 2.09M]
  |  Branch (2751:15): [True: 0, False: 2.09M]
  ------------------
 2752|    102|        if (sizemod || width >= 0 || precision >= 0) goto invalid_format;
  ------------------
  |  Branch (2752:13): [True: 0, False: 102]
  |  Branch (2752:24): [True: 0, False: 102]
  |  Branch (2752:38): [True: 0, False: 102]
  ------------------
 2753|    102|        break;
 2754|  1.05M|    case 's':
  ------------------
  |  Branch (2754:5): [True: 1.05M, False: 1.04M]
  ------------------
 2755|  1.05M|    case 'V':
  ------------------
  |  Branch (2755:5): [True: 0, False: 2.09M]
  ------------------
 2756|  1.05M|        if (sizemod && sizemod != F_LONG) goto invalid_format;
  ------------------
  |  | 2634|      0|#define F_LONG 1
  ------------------
  |  Branch (2756:13): [True: 0, False: 1.05M]
  |  Branch (2756:24): [True: 0, False: 0]
  ------------------
 2757|  1.05M|        break;
 2758|  1.05M|    default:
  ------------------
  |  Branch (2758:5): [True: 1.04M, False: 1.05M]
  ------------------
 2759|  1.04M|        if (sizemod) goto invalid_format;
  ------------------
  |  Branch (2759:13): [True: 0, False: 1.04M]
  ------------------
 2760|  1.04M|        break;
 2761|  2.09M|    }
 2762|       |
 2763|  2.09M|    switch (*f) {
 2764|    102|    case 'c':
  ------------------
  |  Branch (2764:5): [True: 102, False: 2.09M]
  ------------------
 2765|    102|    {
 2766|    102|        int ordinal = va_arg(*vargs, int);
 2767|    102|        if (ordinal < 0 || ordinal > MAX_UNICODE) {
  ------------------
  |  |  104|    102|#define MAX_UNICODE _Py_MAX_UNICODE
  |  |  ------------------
  |  |  |  |   16|    102|#define _Py_MAX_UNICODE 0x10ffff
  |  |  ------------------
  ------------------
  |  Branch (2767:13): [True: 0, False: 102]
  |  Branch (2767:28): [True: 0, False: 102]
  ------------------
 2768|      0|            PyErr_SetString(PyExc_OverflowError,
 2769|      0|                            "character argument not in range(0x110000)");
 2770|      0|            return NULL;
 2771|      0|        }
 2772|    102|        if (_PyUnicodeWriter_WriteCharInline(writer, ordinal) < 0)
  ------------------
  |  Branch (2772:13): [True: 0, False: 102]
  ------------------
 2773|      0|            return NULL;
 2774|    102|        break;
 2775|    102|    }
 2776|       |
 2777|    102|    case 'd': case 'i':
  ------------------
  |  Branch (2777:5): [True: 76, False: 2.09M]
  |  Branch (2777:15): [True: 0, False: 2.09M]
  ------------------
 2778|     76|    case 'o': case 'u': case 'x': case 'X':
  ------------------
  |  Branch (2778:5): [True: 0, False: 2.09M]
  |  Branch (2778:15): [True: 0, False: 2.09M]
  |  Branch (2778:25): [True: 0, False: 2.09M]
  |  Branch (2778:35): [True: 0, False: 2.09M]
  ------------------
 2779|     76|    {
 2780|     76|        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|     76|        #define SPRINT(SIZE_SPEC, FMT_CHAR, TYPE) \
 2794|     76|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
 2795|       |
 2796|       |        // One inner switch to handle all format variants
 2797|     76|        #define DO_SPRINTS(SIZE_SPEC, SIGNED_TYPE, UNSIGNED_TYPE)             \
 2798|     76|            switch (*f) {                                                     \
 2799|     76|                case 'o': len = SPRINT(SIZE_SPEC, "o", UNSIGNED_TYPE); break; \
 2800|     76|                case 'u': len = SPRINT(SIZE_SPEC, "u", UNSIGNED_TYPE); break; \
 2801|     76|                case 'x': len = SPRINT(SIZE_SPEC, "x", UNSIGNED_TYPE); break; \
 2802|     76|                case 'X': len = SPRINT(SIZE_SPEC, "X", UNSIGNED_TYPE); break; \
 2803|     76|                default:  len = SPRINT(SIZE_SPEC, "d", SIGNED_TYPE); break;   \
 2804|     76|            }
 2805|       |
 2806|       |        // Outer switch to handle all the sizes/types
 2807|     76|        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: 76]
  ------------------
 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: 76]
  ------------------
 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: 76]
  ------------------
 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: 76]
  ------------------
 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: 76]
  ------------------
 2813|     76|            default:         DO_SPRINTS("", int, unsigned int); break;
  ------------------
  |  | 2798|     76|            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: 76]
  |  |  ------------------
  |  | 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: 76]
  |  |  ------------------
  |  | 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: 76]
  |  |  ------------------
  |  | 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: 76]
  |  |  ------------------
  |  | 2803|     76|                default:  len = SPRINT(SIZE_SPEC, "d", SIGNED_TYPE); break;   \
  |  |  ------------------
  |  |  |  | 2794|     76|            sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
  |  |  ------------------
  |  |  |  Branch (2803:17): [True: 76, False: 0]
  |  |  ------------------
  |  | 2804|     76|            }
  ------------------
  |  Branch (2813:13): [True: 76, False: 0]
  ------------------
 2814|     76|        }
 2815|     76|        #undef SPRINT
 2816|     76|        #undef DO_SPRINTS
 2817|       |
 2818|     76|        assert(len >= 0);
 2819|       |
 2820|     76|        int sign = (buffer[0] == '-');
 2821|     76|        len -= sign;
 2822|       |
 2823|     76|        precision = Py_MAX(precision, len);
  ------------------
  |  |  115|     76|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 0, False: 76]
  |  |  ------------------
  ------------------
 2824|     76|        width = Py_MAX(width, precision + sign);
  ------------------
  |  |  115|     76|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 0, False: 76]
  |  |  ------------------
  ------------------
 2825|     76|        if ((flags & F_ZERO) && !(flags & F_LJUST)) {
  ------------------
  |  |   22|     76|#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: 76]
  |  Branch (2825:33): [True: 0, False: 0]
  ------------------
 2826|      0|            precision = width - sign;
 2827|      0|        }
 2828|       |
 2829|     76|        Py_ssize_t spacepad = Py_MAX(width - precision - sign, 0);
  ------------------
  |  |  115|     76|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 0, False: 76]
  |  |  ------------------
  ------------------
 2830|     76|        Py_ssize_t zeropad = Py_MAX(precision - len, 0);
  ------------------
  |  |  115|     76|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 0, False: 76]
  |  |  ------------------
  ------------------
 2831|       |
 2832|     76|        if (_PyUnicodeWriter_Prepare(writer, width, 127) == -1)
  ------------------
  |  |  562|     76|    (((MAXCHAR) <= (WRITER)->maxchar                                  \
  |  |  ------------------
  |  |  |  Branch (562:7): [True: 76, False: 0]
  |  |  ------------------
  |  |  563|     76|      && (LENGTH) <= (WRITER)->size - (WRITER)->pos)                  \
  |  |  ------------------
  |  |  |  Branch (563:10): [True: 76, False: 0]
  |  |  ------------------
  |  |  564|     76|     ? 0                                                              \
  |  |  565|     76|     : (((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: 76]
  ------------------
 2833|      0|            return NULL;
 2834|       |
 2835|     76|        if (spacepad && !(flags & F_LJUST)) {
  ------------------
  |  |   18|      0|#define F_LJUST (1<<0)
  ------------------
  |  Branch (2835:13): [True: 0, False: 76]
  |  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|     76|        if (sign) {
  ------------------
  |  Branch (2841:13): [True: 0, False: 76]
  ------------------
 2842|      0|            if (_PyUnicodeWriter_WriteChar(writer, '-') == -1)
  ------------------
  |  Branch (2842:17): [True: 0, False: 0]
  ------------------
 2843|      0|                return NULL;
 2844|      0|        }
 2845|       |
 2846|     76|        if (zeropad) {
  ------------------
  |  Branch (2846:13): [True: 0, False: 76]
  ------------------
 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|     76|        if (_PyUnicodeWriter_WriteASCIIString(writer, &buffer[sign], len) < 0)
  ------------------
  |  Branch (2852:13): [True: 0, False: 76]
  ------------------
 2853|      0|            return NULL;
 2854|       |
 2855|     76|        if (spacepad && (flags & F_LJUST)) {
  ------------------
  |  |   18|      0|#define F_LJUST (1<<0)
  ------------------
  |  Branch (2855:13): [True: 0, False: 76]
  |  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|     76|        break;
 2861|     76|    }
 2862|       |
 2863|     76|    case 'p':
  ------------------
  |  Branch (2863:5): [True: 0, False: 2.09M]
  ------------------
 2864|      0|    {
 2865|      0|        char number[MAX_INTMAX_CHARS];
 2866|       |
 2867|      0|        len = sprintf(number, "%p", va_arg(*vargs, void*));
 2868|      0|        assert(len >= 0);
 2869|       |
 2870|       |        /* %p is ill-defined:  ensure leading 0x. */
 2871|      0|        if (number[1] == 'X')
  ------------------
  |  Branch (2871:13): [True: 0, False: 0]
  ------------------
 2872|      0|            number[1] = 'x';
 2873|      0|        else if (number[1] != 'x') {
  ------------------
  |  Branch (2873:18): [True: 0, False: 0]
  ------------------
 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|      0|        if (_PyUnicodeWriter_WriteASCIIString(writer, number, len) < 0)
  ------------------
  |  Branch (2881:13): [True: 0, False: 0]
  ------------------
 2882|      0|            return NULL;
 2883|      0|        break;
 2884|      0|    }
 2885|       |
 2886|  1.05M|    case 's':
  ------------------
  |  Branch (2886:5): [True: 1.05M, False: 1.04M]
  ------------------
 2887|  1.05M|    {
 2888|  1.05M|        if (sizemod) {
  ------------------
  |  Branch (2888:13): [True: 0, False: 1.05M]
  ------------------
 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.05M|        else {
 2894|       |            /* UTF-8 */
 2895|  1.05M|            const char *s = va_arg(*vargs, const char*);
 2896|  1.05M|            if (unicode_fromformat_write_utf8(writer, s, width, precision, flags) < 0)
  ------------------
  |  Branch (2896:17): [True: 0, False: 1.05M]
  ------------------
 2897|      0|                return NULL;
 2898|  1.05M|        }
 2899|  1.05M|        break;
 2900|  1.05M|    }
 2901|       |
 2902|  1.05M|    case 'U':
  ------------------
  |  Branch (2902:5): [True: 1.04M, False: 1.05M]
  ------------------
 2903|  1.04M|    {
 2904|  1.04M|        PyObject *obj = va_arg(*vargs, PyObject *);
 2905|  1.04M|        assert(obj && _PyUnicode_CHECK(obj));
 2906|       |
 2907|  1.04M|        if (unicode_fromformat_write_str(writer, obj, width, precision, flags) == -1)
  ------------------
  |  Branch (2907:13): [True: 0, False: 1.04M]
  ------------------
 2908|      0|            return NULL;
 2909|  1.04M|        break;
 2910|  1.04M|    }
 2911|       |
 2912|  1.04M|    case 'V':
  ------------------
  |  Branch (2912:5): [True: 0, False: 2.09M]
  ------------------
 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.09M]
  ------------------
 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.09M]
  ------------------
 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.09M]
  ------------------
 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|    100|    case 'T':
  ------------------
  |  Branch (2989:5): [True: 100, False: 2.09M]
  ------------------
 2990|    100|    {
 2991|    100|        PyObject *obj = va_arg(*vargs, PyObject *);
 2992|    100|        PyTypeObject *type = (PyTypeObject *)Py_NewRef(Py_TYPE(obj));
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2993|       |
 2994|    100|        PyObject *type_name;
 2995|    100|        if (flags & F_ALT) {
  ------------------
  |  |   21|    100|#define F_ALT   (1<<3)
  ------------------
  |  Branch (2995:13): [True: 0, False: 100]
  ------------------
 2996|      0|            type_name = _PyType_GetFullyQualifiedName(type, ':');
 2997|      0|        }
 2998|    100|        else {
 2999|    100|            type_name = PyType_GetFullyQualifiedName(type);
 3000|    100|        }
 3001|    100|        Py_DECREF(type);
  ------------------
  |  |  430|    100|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    100|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    100|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3002|    100|        if (!type_name) {
  ------------------
  |  Branch (3002:13): [True: 0, False: 100]
  ------------------
 3003|      0|            return NULL;
 3004|      0|        }
 3005|       |
 3006|    100|        if (unicode_fromformat_write_str(writer, type_name,
  ------------------
  |  Branch (3006:13): [True: 0, False: 100]
  ------------------
 3007|    100|                                         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|    100|        Py_DECREF(type_name);
  ------------------
  |  |  430|    100|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    100|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    100|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3012|    100|        break;
 3013|    100|    }
 3014|       |
 3015|      0|    case 'N':
  ------------------
  |  Branch (3015:5): [True: 0, False: 2.09M]
  ------------------
 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.09M]
  ------------------
 3046|      0|    invalid_format:
 3047|      0|        PyErr_Format(PyExc_SystemError, "invalid format string: %s", p);
 3048|      0|        return NULL;
 3049|  2.09M|    }
 3050|       |
 3051|  2.09M|    f++;
 3052|  2.09M|    return f;
 3053|  2.09M|}
unicodeobject.c:unicode_fromformat_write_utf8:
 2567|  1.05M|{
 2568|       |    /* UTF-8 */
 2569|  1.05M|    Py_ssize_t *pconsumed = NULL;
 2570|  1.05M|    Py_ssize_t length;
 2571|  1.05M|    if (precision == -1) {
  ------------------
  |  Branch (2571:9): [True: 108, False: 1.05M]
  ------------------
 2572|    108|        length = strlen(str);
 2573|    108|    }
 2574|  1.05M|    else {
 2575|  1.05M|        length = 0;
 2576|  16.1M|        while (length < precision && str[length]) {
  ------------------
  |  Branch (2576:16): [True: 16.1M, False: 0]
  |  Branch (2576:38): [True: 15.1M, False: 1.05M]
  ------------------
 2577|  15.1M|            length++;
 2578|  15.1M|        }
 2579|  1.05M|        if (length == precision) {
  ------------------
  |  Branch (2579:13): [True: 0, False: 1.05M]
  ------------------
 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.05M|    }
 2588|       |
 2589|  1.05M|    if (width < 0) {
  ------------------
  |  Branch (2589:9): [True: 1.05M, False: 0]
  ------------------
 2590|  1.05M|        return _PyUnicode_DecodeUTF8Writer(writer, str, length,
 2591|  1.05M|                                           _Py_ERROR_REPLACE, "replace", pconsumed);
 2592|  1.05M|    }
 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.04M|{
 2524|  1.04M|    Py_ssize_t length, fill, arglen;
 2525|  1.04M|    Py_UCS4 maxchar;
 2526|       |
 2527|  1.04M|    length = PyUnicode_GET_LENGTH(str);
  ------------------
  |  |  299|  1.04M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.04M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2528|  1.04M|    if ((precision == -1 || precision >= length)
  ------------------
  |  Branch (2528:10): [True: 1.04M, False: 0]
  |  Branch (2528:29): [True: 0, False: 0]
  ------------------
 2529|  1.04M|        && width <= length)
  ------------------
  |  Branch (2529:12): [True: 1.04M, False: 0]
  ------------------
 2530|  1.04M|        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|    269|{
 3162|    269|    Py_ssize_t res;
 3163|       |
 3164|    269|    assert(unicode != NULL);
 3165|    269|    assert(_PyUnicode_CHECK(unicode));
 3166|       |
 3167|    269|    res = _PyUnicode_LENGTH(unicode);
  ------------------
  |  |  151|    269|    (_PyASCIIObject_CAST(op)->length)
  |  |  ------------------
  |  |  |  |  186|    269|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|    269|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    269|#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|    269|    return res;
 3180|    269|}
unicodeobject.c:unicode_copy_as_widechar:
 3184|    269|{
 3185|    269|    assert(unicode != NULL);
 3186|    269|    assert(_PyUnicode_CHECK(unicode));
 3187|       |
 3188|    269|    if (PyUnicode_KIND(unicode) == sizeof(wchar_t)) {
  ------------------
  |  |  258|    269|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|    269|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (3188:9): [True: 0, False: 269]
  ------------------
 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|    269|    if (PyUnicode_KIND(unicode) == PyUnicode_1BYTE_KIND) {
  ------------------
  |  |  258|    269|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|    269|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (3193:9): [True: 269, False: 0]
  ------------------
 3194|    269|        const Py_UCS1 *s = PyUnicode_1BYTE_DATA(unicode);
  ------------------
  |  |  291|    269|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|    269|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 3195|  15.8k|        for (; size--; ++s, ++w) {
  ------------------
  |  Branch (3195:16): [True: 15.5k, False: 269]
  ------------------
 3196|  15.5k|            *w = *s;
 3197|  15.5k|        }
 3198|    269|    }
 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|    269|}
unicodeobject.c:unicode_char:
 1818|  3.25M|{
 1819|  3.25M|    PyObject *unicode;
 1820|       |
 1821|  3.25M|    assert(ch <= MAX_UNICODE);
 1822|       |
 1823|  3.25M|    if (ch < 256) {
  ------------------
  |  Branch (1823:9): [True: 32.4k, False: 3.21M]
  ------------------
 1824|  32.4k|        return get_latin1_char(ch);
 1825|  32.4k|    }
 1826|       |
 1827|  3.21M|    unicode = PyUnicode_New(1, ch);
 1828|  3.21M|    if (unicode == NULL)
  ------------------
  |  Branch (1828:9): [True: 0, False: 3.21M]
  ------------------
 1829|      0|        return NULL;
 1830|       |
 1831|  3.21M|    assert(PyUnicode_KIND(unicode) != PyUnicode_1BYTE_KIND);
 1832|  3.21M|    if (PyUnicode_KIND(unicode) == PyUnicode_2BYTE_KIND) {
  ------------------
  |  |  258|  3.21M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  3.21M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (1832:9): [True: 247k, False: 2.96M]
  ------------------
 1833|   247k|        PyUnicode_2BYTE_DATA(unicode)[0] = (Py_UCS2)ch;
  ------------------
  |  |  292|   247k|#define PyUnicode_2BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS2*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|   247k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1834|  2.96M|    } else {
 1835|  2.96M|        assert(PyUnicode_KIND(unicode) == PyUnicode_4BYTE_KIND);
 1836|  2.96M|        PyUnicode_4BYTE_DATA(unicode)[0] = ch;
  ------------------
  |  |  293|  2.96M|#define PyUnicode_4BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS4*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  2.96M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1837|  2.96M|    }
 1838|       |    assert(_PyUnicode_CheckConsistency(unicode, 1));
 1839|  3.21M|    return unicode;
 1840|  3.21M|}
unicodeobject.c:unicode_check_encoding_errors:
  526|  1.23M|{
  527|  1.23M|    if (encoding == NULL && errors == NULL) {
  ------------------
  |  Branch (527:9): [True: 23.9k, False: 1.21M]
  |  Branch (527:29): [True: 11.6k, False: 12.3k]
  ------------------
  528|  11.6k|        return 0;
  529|  11.6k|    }
  530|       |
  531|  1.22M|    PyInterpreterState *interp = _PyInterpreterState_GET();
  532|  1.22M|#ifndef Py_DEBUG
  533|       |    /* In release mode, only check in development mode (-X dev) */
  534|  1.22M|    if (!_PyInterpreterState_GetConfig(interp)->dev_mode) {
  ------------------
  |  Branch (534:9): [True: 1.22M, False: 0]
  ------------------
  535|  1.22M|        return 0;
  536|  1.22M|    }
  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|  41.2k|{
 3905|  41.2k|    if (str[len] != '\0' || (size_t)len != strlen(str))  {
  ------------------
  |  Branch (3905:9): [True: 0, False: 41.2k]
  |  Branch (3905:29): [True: 0, False: 41.2k]
  ------------------
 3906|      0|        PyErr_SetString(PyExc_ValueError, "embedded null byte");
 3907|      0|        return NULL;
 3908|      0|    }
 3909|       |
 3910|  41.2k|    wchar_t *wstr;
 3911|  41.2k|    size_t wlen;
 3912|  41.2k|    const char *reason;
 3913|  41.2k|    int res = _Py_DecodeLocaleEx(str, &wstr, &wlen, &reason,
 3914|  41.2k|                                 current_locale, errors);
 3915|  41.2k|    if (res != 0) {
  ------------------
  |  Branch (3915:9): [True: 0, False: 41.2k]
  ------------------
 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|  41.2k|    PyObject *unicode = PyUnicode_FromWideChar(wstr, wlen);
 3938|  41.2k|    PyMem_RawFree(wstr);
 3939|  41.2k|    return unicode;
 3940|  41.2k|}
unicodeobject.c:findchar:
 1007|   166k|{
 1008|   166k|    switch (kind) {
 1009|   164k|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (1009:5): [True: 164k, False: 2.39k]
  ------------------
 1010|   164k|        if ((Py_UCS1) ch != ch)
  ------------------
  |  Branch (1010:13): [True: 0, False: 164k]
  ------------------
 1011|      0|            return -1;
 1012|   164k|        if (direction > 0)
  ------------------
  |  Branch (1012:13): [True: 160k, False: 4.16k]
  ------------------
 1013|   160k|            return ucs1lib_find_char((const Py_UCS1 *) s, size, (Py_UCS1) ch);
 1014|  4.16k|        else
 1015|  4.16k|            return ucs1lib_rfind_char((const Py_UCS1 *) s, size, (Py_UCS1) ch);
 1016|    359|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (1016:5): [True: 359, False: 166k]
  ------------------
 1017|    359|        if ((Py_UCS2) ch != ch)
  ------------------
  |  Branch (1017:13): [True: 0, False: 359]
  ------------------
 1018|      0|            return -1;
 1019|    359|        if (direction > 0)
  ------------------
  |  Branch (1019:13): [True: 359, False: 0]
  ------------------
 1020|    359|            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|  2.03k|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (1023:5): [True: 2.03k, False: 164k]
  ------------------
 1024|  2.03k|        if (direction > 0)
  ------------------
  |  Branch (1024:13): [True: 2.03k, False: 0]
  ------------------
 1025|  2.03k|            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: 166k]
  ------------------
 1029|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1030|   166k|    }
 1031|   166k|}
unicodeobject.c:unicode_ensure_utf8:
 4091|  1.35M|{
 4092|  1.35M|    int err = 0;
 4093|  1.35M|    if (PyUnicode_UTF8(unicode) == NULL) {
  ------------------
  |  Branch (4093:9): [True: 6, False: 1.35M]
  ------------------
 4094|      6|        Py_BEGIN_CRITICAL_SECTION(unicode);
  ------------------
  |  |   51|      6|    {
  ------------------
 4095|      6|        if (PyUnicode_UTF8(unicode) == NULL) {
  ------------------
  |  Branch (4095:13): [True: 6, False: 0]
  ------------------
 4096|      6|            err = unicode_fill_utf8(unicode);
 4097|      6|        }
 4098|      6|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      6|    }
  ------------------
 4099|      6|    }
 4100|  1.35M|    return err;
 4101|  1.35M|}
unicodeobject.c:unicode_fill_utf8:
 5725|      6|{
 5726|      6|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(unicode);
 5727|       |    /* the string cannot be ASCII, or PyUnicode_UTF8() would be set */
 5728|      6|    assert(!PyUnicode_IS_ASCII(unicode));
 5729|       |
 5730|      6|    int kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|      6|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|      6|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 5731|      6|    const void *data = PyUnicode_DATA(unicode);
  ------------------
  |  |  284|      6|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5732|      6|    Py_ssize_t size = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5733|       |
 5734|      6|    PyBytesWriter *writer;
 5735|      6|    char *end;
 5736|       |
 5737|      6|    switch (kind) {
 5738|      0|    default:
  ------------------
  |  Branch (5738:5): [True: 0, False: 6]
  ------------------
 5739|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 5740|      0|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (5740:5): [True: 0, False: 6]
  ------------------
 5741|      0|        writer = ucs1lib_utf8_encoder(unicode, data, size,
 5742|      0|                                      _Py_ERROR_STRICT, NULL, &end);
 5743|      0|        break;
 5744|      6|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (5744:5): [True: 6, False: 0]
  ------------------
 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: 6]
  ------------------
 5749|      0|        writer = ucs4lib_utf8_encoder(unicode, data, size,
 5750|      0|                                      _Py_ERROR_STRICT, NULL, &end);
 5751|      0|        break;
 5752|      6|    }
 5753|      6|    if (writer == NULL) {
  ------------------
  |  Branch (5753:9): [True: 0, False: 6]
  ------------------
 5754|      0|        return -1;
 5755|      0|    }
 5756|       |
 5757|      6|    const char *start = PyBytesWriter_GetData(writer);
 5758|      6|    Py_ssize_t len = end - start;
 5759|       |
 5760|      6|    char *cache = PyMem_Malloc(len + 1);
 5761|      6|    if (cache == NULL) {
  ------------------
  |  Branch (5761:9): [True: 0, False: 6]
  ------------------
 5762|      0|        PyBytesWriter_Discard(writer);
 5763|      0|        PyErr_NoMemory();
 5764|      0|        return -1;
 5765|      0|    }
 5766|      6|    memcpy(cache, start, len);
 5767|      6|    cache[len] = '\0';
 5768|      6|    PyUnicode_SET_UTF8_LENGTH(unicode, len);
 5769|      6|    PyUnicode_SET_UTF8(unicode, cache);
 5770|      6|    PyBytesWriter_Discard(writer);
 5771|      6|    return 0;
 5772|      6|}
unicodeobject.c:PyUnicode_UTF8_LENGTH:
  135|  1.37M|{
  136|  1.37M|    assert(_PyUnicode_CHECK(op));
  137|  1.37M|    if (PyUnicode_IS_COMPACT_ASCII(op)) {
  ------------------
  |  |  241|  1.37M|#define PyUnicode_IS_COMPACT_ASCII(op) PyUnicode_IS_COMPACT_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.37M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.37M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (241:40): [True: 1.37M, False: 795]
  |  |  ------------------
  ------------------
  138|  1.37M|         return _PyASCIIObject_CAST(op)->length;
  ------------------
  |  |  186|  1.37M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  1.37M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  1.37M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  139|  1.37M|    }
  140|    795|    else {
  141|       |         return _PyCompactUnicodeObject_CAST(op)->utf8_length;
  ------------------
  |  |  189|    795|    (assert(PyUnicode_Check(op)), \
  |  |  190|    795|     _Py_CAST(PyCompactUnicodeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    795|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  142|    795|    }
  143|  1.37M|}
unicodeobject.c:PyUnicode_UTF8:
  119|  4.05M|{
  120|  4.05M|    assert(_PyUnicode_CHECK(op));
  121|  4.05M|    if (PyUnicode_IS_COMPACT_ASCII(op)) {
  ------------------
  |  |  241|  4.05M|#define PyUnicode_IS_COMPACT_ASCII(op) PyUnicode_IS_COMPACT_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.05M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.05M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (241:40): [True: 2.88M, False: 1.16M]
  |  |  ------------------
  ------------------
  122|  2.88M|        return ((char*)(_PyASCIIObject_CAST(op) + 1));
  ------------------
  |  |  186|  2.88M|    (assert(PyUnicode_Check(op)), \
  |  |  187|  2.88M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|  2.88M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  123|  2.88M|    }
  124|  1.16M|    else {
  125|  1.16M|         return _PyUnicode_UTF8(op);
  126|  1.16M|    }
  127|  4.05M|}
unicodeobject.c:unicode_decode_utf8:
 5253|  5.08M|{
 5254|  5.08M|    if (size == 0) {
  ------------------
  |  Branch (5254:9): [True: 206, False: 5.08M]
  ------------------
 5255|    206|        if (consumed) {
  ------------------
  |  Branch (5255:13): [True: 0, False: 206]
  ------------------
 5256|      0|            *consumed = 0;
 5257|      0|        }
 5258|    206|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  375|    206|    do {                             \
  |  |  376|    206|        return _PyUnicode_GetEmpty();\
  |  |  377|    206|    } while (0)
  |  |  ------------------
  |  |  |  Branch (377:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 5259|    206|    }
 5260|       |
 5261|       |    /* ASCII is equivalent to the first 128 ordinals in Unicode. */
 5262|  5.08M|    if (size == 1 && (unsigned char)s[0] < 128) {
  ------------------
  |  Branch (5262:9): [True: 3.37M, False: 1.70M]
  |  Branch (5262:22): [True: 3.37M, False: 0]
  ------------------
 5263|  3.37M|        if (consumed) {
  ------------------
  |  Branch (5263:13): [True: 0, False: 3.37M]
  ------------------
 5264|      0|            *consumed = 1;
 5265|      0|        }
 5266|  3.37M|        return get_latin1_char((unsigned char)s[0]);
 5267|  3.37M|    }
 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|  1.70M|    if (PY_SSIZE_T_MAX - sizeof(PyCompactUnicodeObject) < (size_t)size) {
  ------------------
  |  |  137|  1.70M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (5271:9): [True: 0, False: 1.70M]
  ------------------
 5272|      0|        PyErr_NoMemory();
 5273|      0|        return NULL;
 5274|      0|    }
 5275|       |
 5276|  1.70M|    const char *starts = s;
 5277|  1.70M|    const char *end = s + size;
 5278|       |
 5279|  1.70M|    Py_ssize_t pos = find_first_nonascii((const unsigned char*)starts, (const unsigned char*)end);
 5280|  1.70M|    if (pos == size) {  // fast path: ASCII string.
  ------------------
  |  Branch (5280:9): [True: 1.70M, False: 80]
  ------------------
 5281|  1.70M|        PyObject *u = PyUnicode_New(size, 127);
 5282|  1.70M|        if (u == NULL) {
  ------------------
  |  Branch (5282:13): [True: 0, False: 1.70M]
  ------------------
 5283|      0|            return NULL;
 5284|      0|        }
 5285|  1.70M|        memcpy(PyUnicode_1BYTE_DATA(u), s, size);
  ------------------
  |  |  291|  1.70M|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  1.70M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 5286|  1.70M|        if (consumed) {
  ------------------
  |  Branch (5286:13): [True: 52, False: 1.70M]
  ------------------
 5287|     52|            *consumed = size;
 5288|     52|        }
 5289|  1.70M|        return u;
 5290|  1.70M|    }
 5291|       |
 5292|     80|    int maxchr = 127;
 5293|     80|    Py_ssize_t maxsize = size;
 5294|       |
 5295|     80|    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|     80|    if (error_handler == _Py_ERROR_STRICT && !consumed && ch >= 0xc2) {
  ------------------
  |  Branch (5301:9): [True: 2, False: 78]
  |  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|     80|    PyObject *u = PyUnicode_New(maxsize, maxchr);
 5319|     80|    if (!u) {
  ------------------
  |  Branch (5319:9): [True: 0, False: 80]
  ------------------
 5320|      0|        return NULL;
 5321|      0|    }
 5322|       |
 5323|       |    // Use _PyUnicodeWriter after fast path is failed.
 5324|     80|    _PyUnicodeWriter writer;
 5325|     80|    _PyUnicodeWriter_InitWithBuffer(&writer, u);
 5326|     80|    if (maxchr <= 255) {
  ------------------
  |  Branch (5326:9): [True: 80, False: 0]
  ------------------
 5327|     80|        memcpy(PyUnicode_1BYTE_DATA(u), s, pos);
  ------------------
  |  |  291|     80|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|     80|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 5328|     80|        s += pos;
 5329|     80|        writer.pos = pos;
 5330|     80|    }
 5331|       |
 5332|     80|    if (unicode_decode_utf8_impl(&writer, starts, s, end,
  ------------------
  |  Branch (5332:9): [True: 0, False: 80]
  ------------------
 5333|     80|                                 error_handler, errors,
 5334|     80|                                 consumed) < 0) {
 5335|      0|        _PyUnicodeWriter_Dealloc(&writer);
 5336|      0|        return NULL;
 5337|      0|    }
 5338|     80|    return _PyUnicodeWriter_Finish(&writer);
 5339|     80|}
unicodeobject.c:find_first_nonascii:
 4981|  2.75M|{
 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|  2.75M|    const unsigned char *p = start;
 4987|       |
 4988|  2.75M|    if (end - start >= SIZEOF_SIZE_T) {
  ------------------
  |  | 1849|  2.75M|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (4988:9): [True: 1.39M, False: 1.36M]
  ------------------
 4989|       |        // Avoid unaligned read.
 4990|  1.39M|#if PY_LITTLE_ENDIAN && HAVE_CTZ
 4991|  1.39M|        size_t u;
 4992|  1.39M|        memcpy(&u, p, sizeof(size_t));
 4993|  1.39M|        u &= ASCII_CHAR_MASK;
  ------------------
  |  | 4887|  1.39M|# define ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
 4994|  1.39M|        if (u) {
  ------------------
  |  Branch (4994:13): [True: 42, False: 1.39M]
  ------------------
 4995|     42|            return (ctz(u) - 7) / 8;
 4996|     42|        }
 4997|  1.39M|        p = _Py_ALIGN_DOWN(p + SIZEOF_SIZE_T, SIZEOF_SIZE_T);
  ------------------
  |  |  216|  1.39M|#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.39M|        const unsigned char *e = end - SIZEOF_SIZE_T;
  ------------------
  |  | 1849|  1.39M|#define SIZEOF_SIZE_T 8
  ------------------
 5009|  2.44M|        while (p <= e) {
  ------------------
  |  Branch (5009:16): [True: 1.04M, False: 1.39M]
  ------------------
 5010|  1.04M|            size_t u = (*(const size_t *)p) & ASCII_CHAR_MASK;
  ------------------
  |  | 4887|  1.04M|# define ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
 5011|  1.04M|            if (u) {
  ------------------
  |  Branch (5011:17): [True: 20, False: 1.04M]
  ------------------
 5012|     20|#if PY_LITTLE_ENDIAN && HAVE_CTZ
 5013|     20|                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|     20|            }
 5020|  1.04M|            p += SIZEOF_SIZE_T;
  ------------------
  |  | 1849|  1.04M|#define SIZEOF_SIZE_T 8
  ------------------
 5021|  1.04M|        }
 5022|  1.39M|    }
 5023|  2.75M|#if PY_LITTLE_ENDIAN && HAVE_CTZ
 5024|  2.75M|    assert((end - p) < SIZEOF_SIZE_T);
 5025|       |    // we can not use *(const size_t*)p to avoid buffer overrun.
 5026|  2.75M|    size_t u = load_unaligned(p, end - p) & ASCII_CHAR_MASK;
  ------------------
  |  | 4887|  2.75M|# define ASCII_CHAR_MASK 0x8080808080808080ULL
  ------------------
 5027|  2.75M|    if (u) {
  ------------------
  |  Branch (5027:9): [True: 18, False: 2.75M]
  ------------------
 5028|     18|        return p - start + (ctz(u) - 7) / 8;
 5029|     18|    }
 5030|  2.75M|    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|  2.75M|}
unicodeobject.c:ctz:
 4903|     80|{
 4904|     80|    return __builtin_ctzll((unsigned long long)v);
 4905|     80|}
unicodeobject.c:load_unaligned:
 4927|  2.75M|{
 4928|  2.75M|    union {
 4929|  2.75M|        size_t s;
 4930|  2.75M|        unsigned char b[SIZEOF_SIZE_T];
 4931|  2.75M|    } u;
 4932|  2.75M|    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|  2.75M|    switch (size) {
 4937|      0|    default:
  ------------------
  |  Branch (4937:5): [True: 0, False: 2.75M]
  ------------------
 4938|      0|#if SIZEOF_SIZE_T == 8
 4939|      0|    case 8:
  ------------------
  |  Branch (4939:5): [True: 0, False: 2.75M]
  ------------------
 4940|      0|        u.b[7] = p[7];
 4941|      0|        _Py_FALLTHROUGH;
  ------------------
  |  |  644|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 4942|  17.0k|    case 7:
  ------------------
  |  Branch (4942:5): [True: 17.0k, False: 2.73M]
  ------------------
 4943|  17.0k|        u.b[6] = p[6];
 4944|  17.0k|        _Py_FALLTHROUGH;
  ------------------
  |  |  644|  17.0k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 4945|   203k|    case 6:
  ------------------
  |  Branch (4945:5): [True: 186k, False: 2.57M]
  ------------------
 4946|   203k|        u.b[5] = p[5];
 4947|   203k|        _Py_FALLTHROUGH;
  ------------------
  |  |  644|   203k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 4948|   315k|    case 5:
  ------------------
  |  Branch (4948:5): [True: 111k, False: 2.64M]
  ------------------
 4949|   315k|        u.b[4] = p[4];
 4950|   315k|        _Py_FALLTHROUGH;
  ------------------
  |  |  644|   315k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 4951|   315k|#endif
 4952|  1.08M|    case 4:
  ------------------
  |  Branch (4952:5): [True: 768k, False: 1.98M]
  ------------------
 4953|  1.08M|        u.b[3] = p[3];
 4954|  1.08M|        _Py_FALLTHROUGH;
  ------------------
  |  |  644|  1.08M|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 4955|  1.24M|    case 3:
  ------------------
  |  Branch (4955:5): [True: 161k, False: 2.59M]
  ------------------
 4956|  1.24M|        u.b[2] = p[2];
 4957|  1.24M|        _Py_FALLTHROUGH;
  ------------------
  |  |  644|  1.24M|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 4958|  2.42M|    case 2:
  ------------------
  |  Branch (4958:5): [True: 1.17M, False: 1.57M]
  ------------------
 4959|  2.42M|        u.b[1] = p[1];
 4960|  2.42M|        _Py_FALLTHROUGH;
  ------------------
  |  |  644|  2.42M|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 4961|  2.44M|    case 1:
  ------------------
  |  Branch (4961:5): [True: 18.6k, False: 2.73M]
  ------------------
 4962|  2.44M|        u.b[0] = p[0];
 4963|  2.44M|        break;
 4964|   312k|    case 0:
  ------------------
  |  Branch (4964:5): [True: 312k, False: 2.44M]
  ------------------
 4965|   312k|        break;
 4966|  2.75M|    }
 4967|  2.75M|    return u.s;
 4968|  2.75M|}
unicodeobject.c:utf8_count_codepoints:
 5059|      2|{
 5060|      2|    Py_ssize_t len = 0;
 5061|       |
 5062|      2|    if (end - s >= SIZEOF_SIZE_T) {
  ------------------
  |  | 1849|      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) {
  ------------------
  |  | 1849|      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) {
  ------------------
  |  | 1849|      6|#define SIZEOF_SIZE_T 8
  ------------------
  |  Branch (5069:17): [True: 4, False: 2]
  ------------------
 5070|      4|                e = s + SIZEOF_SIZE_T * 255;
  ------------------
  |  | 1849|      4|#define SIZEOF_SIZE_T 8
  ------------------
 5071|      4|            }
 5072|      6|            Py_ssize_t vstart = 0;
 5073|  1.18k|            while (s + SIZEOF_SIZE_T <= e) {
  ------------------
  |  | 1849|  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;
  ------------------
  |  | 1849|  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.05M|{
 5096|  1.05M|#if SIZEOF_SIZE_T <= SIZEOF_VOID_P
 5097|  1.05M|    if (_Py_IS_ALIGNED(start, ALIGNOF_SIZE_T)
  ------------------
  |  |  221|  2.10M|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  |  |  ------------------
  |  |  |  Branch (221:30): [True: 1.03M, False: 18.5k]
  |  |  ------------------
  ------------------
 5098|  1.03M|        && _Py_IS_ALIGNED(dest, ALIGNOF_SIZE_T))
  ------------------
  |  |  221|  1.03M|#define _Py_IS_ALIGNED(p, a) (!((uintptr_t)(p) & (uintptr_t)((a) - 1)))
  |  |  ------------------
  |  |  |  Branch (221:30): [True: 14, False: 1.03M]
  |  |  ------------------
  ------------------
 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) {
  ------------------
  |  | 1849|     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;
  ------------------
  |  | 1849|     10|#define SIZEOF_SIZE_T 8
  ------------------
 5110|     10|            q += SIZEOF_SIZE_T;
  ------------------
  |  | 1849|     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.05M|#endif
 5120|  1.05M|    Py_ssize_t pos = find_first_nonascii((const unsigned char*)start,
 5121|  1.05M|                                         (const unsigned char*)end);
 5122|  1.05M|    memcpy(dest, start, pos);
 5123|  1.05M|    return pos;
 5124|  1.05M|}
unicodeobject.c:unicode_decode_utf8_impl:
 5132|     80|{
 5133|     80|    Py_ssize_t startinpos, endinpos;
 5134|     80|    const char *errmsg = "";
 5135|     80|    PyObject *error_handler_obj = NULL;
 5136|     80|    PyObject *exc = NULL;
 5137|       |
 5138|    168|    while (s < end) {
  ------------------
  |  Branch (5138:12): [True: 156, False: 12]
  ------------------
 5139|    156|        Py_UCS4 ch;
 5140|    156|        int kind = writer->kind;
 5141|       |
 5142|    156|        if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (5142:13): [True: 100, False: 56]
  ------------------
 5143|    100|            if (PyUnicode_IS_ASCII(writer->buffer))
  ------------------
  |  |  227|    100|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    100|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    100|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 78, False: 22]
  |  |  ------------------
  ------------------
 5144|     78|                ch = asciilib_utf8_decode(&s, end, writer->data, &writer->pos);
 5145|     22|            else
 5146|     22|                ch = ucs1lib_utf8_decode(&s, end, writer->data, &writer->pos);
 5147|    100|        } else if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (5147:20): [True: 42, False: 14]
  ------------------
 5148|     42|            ch = ucs2lib_utf8_decode(&s, end, writer->data, &writer->pos);
 5149|     42|        } else {
 5150|     14|            assert(kind == PyUnicode_4BYTE_KIND);
 5151|     14|            ch = ucs4lib_utf8_decode(&s, end, writer->data, &writer->pos);
 5152|     14|        }
 5153|       |
 5154|    156|        switch (ch) {
 5155|     68|        case 0:
  ------------------
  |  Branch (5155:9): [True: 68, False: 88]
  ------------------
 5156|     68|            if (s == end || consumed)
  ------------------
  |  Branch (5156:17): [True: 68, False: 0]
  |  Branch (5156:29): [True: 0, False: 0]
  ------------------
 5157|     68|                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: 156]
  ------------------
 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: 156]
  ------------------
 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: 156]
  ------------------
 5176|      0|        case 4:
  ------------------
  |  Branch (5176:9): [True: 0, False: 156]
  ------------------
 5177|      0|            errmsg = "invalid continuation byte";
 5178|      0|            startinpos = s - starts;
 5179|      0|            endinpos = startinpos + ch - 1;
 5180|      0|            break;
 5181|     88|        default:
  ------------------
  |  Branch (5181:9): [True: 88, False: 68]
  ------------------
 5182|       |            // ch doesn't fit into kind, so change the buffer kind to write
 5183|       |            // the character
 5184|     88|            if (_PyUnicodeWriter_WriteCharInline(writer, ch) < 0)
  ------------------
  |  Branch (5184:17): [True: 0, False: 88]
  ------------------
 5185|      0|                goto onError;
 5186|     88|            continue;
 5187|    156|        }
 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|     80|End:
 5235|     80|    if (consumed)
  ------------------
  |  Branch (5235:9): [True: 2, False: 78]
  ------------------
 5236|      2|        *consumed = s - starts;
 5237|       |
 5238|     80|    Py_XDECREF(error_handler_obj);
  ------------------
  |  |  524|     80|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     80|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     80|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5239|     80|    Py_XDECREF(exc);
  ------------------
  |  |  524|     80|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     80|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     80|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5240|     80|    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|     80|}
unicodeobject.c:unicode_encode_utf8:
 5680|  1.25M|{
 5681|  1.25M|    if (!PyUnicode_Check(unicode)) {
  ------------------
  |  |  103|  1.25M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.25M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (5681:9): [True: 0, False: 1.25M]
  ------------------
 5682|      0|        PyErr_BadArgument();
 5683|      0|        return NULL;
 5684|      0|    }
 5685|       |
 5686|  1.25M|    if (PyUnicode_UTF8(unicode))
  ------------------
  |  Branch (5686:9): [True: 86.7k, False: 1.16M]
  ------------------
 5687|  86.7k|        return PyBytes_FromStringAndSize(PyUnicode_UTF8(unicode),
 5688|  86.7k|                                         PyUnicode_UTF8_LENGTH(unicode));
 5689|       |
 5690|  1.16M|    int kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|  1.16M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  1.16M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 5691|  1.16M|    const void *data = PyUnicode_DATA(unicode);
  ------------------
  |  |  284|  1.16M|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.16M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.16M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5692|  1.16M|    Py_ssize_t size = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  299|  1.16M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.16M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.16M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5693|       |
 5694|  1.16M|    PyBytesWriter *writer;
 5695|  1.16M|    char *end;
 5696|       |
 5697|  1.16M|    switch (kind) {
 5698|      0|    default:
  ------------------
  |  Branch (5698:5): [True: 0, False: 1.16M]
  ------------------
 5699|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 5700|    589|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (5700:5): [True: 589, False: 1.16M]
  ------------------
 5701|       |        /* the string cannot be ASCII, or PyUnicode_UTF8() would be set */
 5702|    589|        assert(!PyUnicode_IS_ASCII(unicode));
 5703|    589|        writer = ucs1lib_utf8_encoder(unicode, data, size,
 5704|    589|                                      error_handler, errors, &end);
 5705|    589|        break;
 5706|  70.8k|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (5706:5): [True: 70.8k, False: 1.09M]
  ------------------
 5707|  70.8k|        writer = ucs2lib_utf8_encoder(unicode, data, size,
 5708|  70.8k|                                      error_handler, errors, &end);
 5709|  70.8k|        break;
 5710|  1.09M|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (5710:5): [True: 1.09M, False: 71.4k]
  ------------------
 5711|  1.09M|        writer = ucs4lib_utf8_encoder(unicode, data, size,
 5712|  1.09M|                                      error_handler, errors, &end);
 5713|  1.09M|        break;
 5714|  1.16M|    }
 5715|       |
 5716|  1.16M|    if (writer == NULL) {
  ------------------
  |  Branch (5716:9): [True: 2.04k, False: 1.16M]
  ------------------
 5717|  2.04k|        PyBytesWriter_Discard(writer);
 5718|  2.04k|        return NULL;
 5719|  2.04k|    }
 5720|  1.16M|    return PyBytesWriter_FinishWithPointer(writer, end);
 5721|  1.16M|}
unicodeobject.c:raise_encode_exception:
 7116|  27.8k|{
 7117|  27.8k|    make_encode_exception(exceptionObject,
 7118|  27.8k|                          encoding, unicode, startpos, endpos, reason);
 7119|  27.8k|    if (*exceptionObject != NULL)
  ------------------
  |  Branch (7119:9): [True: 27.8k, False: 0]
  ------------------
 7120|  27.8k|        PyCodec_StrictErrors(*exceptionObject);
 7121|  27.8k|}
unicodeobject.c:make_encode_exception:
 7090|  29.9k|{
 7091|  29.9k|    if (*exceptionObject == NULL) {
  ------------------
  |  Branch (7091:9): [True: 29.9k, False: 0]
  ------------------
 7092|  29.9k|        *exceptionObject = PyObject_CallFunction(
 7093|  29.9k|            PyExc_UnicodeEncodeError, "sOnns",
 7094|  29.9k|            encoding, unicode, startpos, endpos, reason);
 7095|  29.9k|    }
 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|  29.9k|}
unicodeobject.c:unicode_encode_call_errorhandler:
 7134|  2.04k|{
 7135|  2.04k|    static const char *argparse = "On;encoding error handler must return (str/bytes, int) tuple";
 7136|  2.04k|    Py_ssize_t len;
 7137|  2.04k|    PyObject *restuple;
 7138|  2.04k|    PyObject *resunicode;
 7139|       |
 7140|  2.04k|    if (*errorHandler == NULL) {
  ------------------
  |  Branch (7140:9): [True: 2.04k, False: 0]
  ------------------
 7141|  2.04k|        *errorHandler = PyCodec_LookupError(errors);
 7142|  2.04k|        if (*errorHandler == NULL)
  ------------------
  |  Branch (7142:13): [True: 0, False: 2.04k]
  ------------------
 7143|      0|            return NULL;
 7144|  2.04k|    }
 7145|       |
 7146|  2.04k|    len = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  299|  2.04k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.04k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7147|       |
 7148|  2.04k|    make_encode_exception(exceptionObject,
 7149|  2.04k|                          encoding, unicode, startpos, endpos, reason);
 7150|  2.04k|    if (*exceptionObject == NULL)
  ------------------
  |  Branch (7150:9): [True: 0, False: 2.04k]
  ------------------
 7151|      0|        return NULL;
 7152|       |
 7153|  2.04k|    restuple = PyObject_CallOneArg(*errorHandler, *exceptionObject);
 7154|  2.04k|    if (restuple == NULL)
  ------------------
  |  Branch (7154:9): [True: 2.04k, False: 0]
  ------------------
 7155|  2.04k|        return NULL;
 7156|      0|    if (!PyTuple_Check(restuple)) {
  ------------------
  |  |   27|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (7156:9): [True: 0, False: 0]
  ------------------
 7157|      0|        PyErr_SetString(PyExc_TypeError, &argparse[3]);
 7158|      0|        Py_DECREF(restuple);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7159|      0|        return NULL;
 7160|      0|    }
 7161|      0|    if (!PyArg_ParseTuple(restuple, argparse,
  ------------------
  |  Branch (7161:9): [True: 0, False: 0]
  ------------------
 7162|      0|                          &resunicode, newpos)) {
 7163|      0|        Py_DECREF(restuple);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7164|      0|        return NULL;
 7165|      0|    }
 7166|      0|    if (!PyUnicode_Check(resunicode) && !PyBytes_Check(resunicode)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                  if (!PyUnicode_Check(resunicode) && !PyBytes_Check(resunicode)) {
  ------------------
  |  |   28|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (7166:9): [True: 0, False: 0]
  |  Branch (7166:41): [True: 0, False: 0]
  ------------------
 7167|      0|        PyErr_SetString(PyExc_TypeError, &argparse[3]);
 7168|      0|        Py_DECREF(restuple);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7169|      0|        return NULL;
 7170|      0|    }
 7171|      0|    if (*newpos<0)
  ------------------
  |  Branch (7171:9): [True: 0, False: 0]
  ------------------
 7172|      0|        *newpos = len + *newpos;
 7173|      0|    if (*newpos<0 || *newpos>len) {
  ------------------
  |  Branch (7173:9): [True: 0, False: 0]
  |  Branch (7173:22): [True: 0, False: 0]
  ------------------
 7174|      0|        PyErr_Format(PyExc_IndexError, "position %zd from error handler out of bounds", *newpos);
 7175|      0|        Py_DECREF(restuple);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7176|      0|        return NULL;
 7177|      0|    }
 7178|      0|    Py_INCREF(resunicode);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7179|      0|    Py_DECREF(restuple);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7180|      0|    return resunicode;
 7181|      0|}
unicodeobject.c:unicode_encode_ucs1:
 7187|  27.8k|{
 7188|       |    /* input state */
 7189|  27.8k|    Py_ssize_t pos=0, size;
 7190|  27.8k|    int kind;
 7191|  27.8k|    const void *data;
 7192|  27.8k|    const char *encoding = (limit == 256) ? "latin-1" : "ascii";
  ------------------
  |  Branch (7192:28): [True: 0, False: 27.8k]
  ------------------
 7193|  27.8k|    const char *reason = (limit == 256) ? "ordinal not in range(256)" : "ordinal not in range(128)";
  ------------------
  |  Branch (7193:26): [True: 0, False: 27.8k]
  ------------------
 7194|  27.8k|    PyObject *error_handler_obj = NULL;
 7195|  27.8k|    PyObject *exc = NULL;
 7196|  27.8k|    _Py_error_handler error_handler = _Py_ERROR_UNKNOWN;
 7197|  27.8k|    PyObject *rep = NULL;
 7198|       |
 7199|  27.8k|    size = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  299|  27.8k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  27.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7200|  27.8k|    kind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|  27.8k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  27.8k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 7201|  27.8k|    data = PyUnicode_DATA(unicode);
  ------------------
  |  |  284|  27.8k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  27.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.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|  27.8k|    if (size == 0)
  ------------------
  |  Branch (7204:9): [True: 0, False: 27.8k]
  ------------------
 7205|      0|        return Py_GetConstant(Py_CONSTANT_EMPTY_BYTES);
  ------------------
  |  |  598|      0|#define Py_CONSTANT_EMPTY_BYTES 8
  ------------------
 7206|       |
 7207|       |    /* output object */
 7208|  27.8k|    PyBytesWriter *writer = PyBytesWriter_Create(size);
 7209|  27.8k|    if (writer == NULL) {
  ------------------
  |  Branch (7209:9): [True: 0, False: 27.8k]
  ------------------
 7210|      0|        return NULL;
 7211|      0|    }
 7212|       |    /* pointer into the output */
 7213|  27.8k|    char *str = PyBytesWriter_GetData(writer);
 7214|       |
 7215|  36.7k|    while (pos < size) {
  ------------------
  |  Branch (7215:12): [True: 36.7k, False: 0]
  ------------------
 7216|  36.7k|        Py_UCS4 ch = PyUnicode_READ(kind, data, pos);
  ------------------
  |  |  354|  36.7k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  36.7k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  36.7k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  36.7k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  36.7k|                   (index))
  ------------------
 7217|       |
 7218|       |        /* can we encode this? */
 7219|  36.7k|        if (ch < limit) {
  ------------------
  |  Branch (7219:13): [True: 8.84k, False: 27.8k]
  ------------------
 7220|       |            /* no overflow check, because we know that the space is enough */
 7221|  8.84k|            *str++ = (char)ch;
 7222|  8.84k|            ++pos;
 7223|  8.84k|        }
 7224|  27.8k|        else {
 7225|  27.8k|            Py_ssize_t newpos, i;
 7226|       |            /* startpos for collecting unencodable chars */
 7227|  27.8k|            Py_ssize_t collstart = pos;
 7228|  27.8k|            Py_ssize_t collend = collstart + 1;
 7229|       |            /* find all unecodable characters */
 7230|       |
 7231|   305k|            while ((collend < size) && (PyUnicode_READ(kind, data, collend) >= limit))
  ------------------
  |  |  354|   279k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|   279k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|   279k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|   279k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|   279k|                   (index))
  ------------------
  |  Branch (7231:20): [True: 279k, False: 26.2k]
  |  Branch (7231:40): [True: 277k, False: 1.62k]
  ------------------
 7232|   277k|                ++collend;
 7233|       |
 7234|       |            /* Only overallocate the buffer if it's not the last write */
 7235|  27.8k|            writer->overallocate = (collend < size);
 7236|       |
 7237|       |            /* cache callback name lookup (if not done yet, i.e. it's the first error) */
 7238|  27.8k|            if (error_handler == _Py_ERROR_UNKNOWN)
  ------------------
  |  Branch (7238:17): [True: 27.8k, False: 0]
  ------------------
 7239|  27.8k|                error_handler = _Py_GetErrorHandler(errors);
 7240|       |
 7241|  27.8k|            switch (error_handler) {
 7242|  27.8k|            case _Py_ERROR_STRICT:
  ------------------
  |  Branch (7242:13): [True: 27.8k, False: 0]
  ------------------
 7243|  27.8k|                raise_encode_exception(&exc, encoding, unicode, collstart, collend, reason);
 7244|  27.8k|                goto onError;
 7245|       |
 7246|      0|            case _Py_ERROR_REPLACE:
  ------------------
  |  Branch (7246:13): [True: 0, False: 27.8k]
  ------------------
 7247|      0|                memset(str, '?', collend - collstart);
 7248|      0|                str += (collend - collstart);
 7249|      0|                _Py_FALLTHROUGH;
  ------------------
  |  |  644|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 7250|      0|            case _Py_ERROR_IGNORE:
  ------------------
  |  Branch (7250:13): [True: 0, False: 27.8k]
  ------------------
 7251|      0|                pos = collend;
 7252|      0|                break;
 7253|       |
 7254|      0|            case _Py_ERROR_BACKSLASHREPLACE:
  ------------------
  |  Branch (7254:13): [True: 0, False: 27.8k]
  ------------------
 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: 27.8k]
  ------------------
 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: 27.8k]
  ------------------
 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: 27.8k]
  ------------------
 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|  27.8k|            }
 7347|       |
 7348|       |            /* If overallocation was disabled, ensure that it was the last
 7349|       |               write. Otherwise, we missed an optimization */
 7350|  27.8k|            assert(writer->overallocate || pos == size);
 7351|      0|        }
 7352|  36.7k|    }
 7353|       |
 7354|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7355|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7356|      0|    return PyBytesWriter_FinishWithPointer(writer, str);
 7357|       |
 7358|  27.8k|  onError:
 7359|  27.8k|    Py_XDECREF(rep);
  ------------------
  |  |  524|  27.8k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  27.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7360|  27.8k|    PyBytesWriter_Discard(writer);
 7361|  27.8k|    Py_XDECREF(error_handler_obj);
  ------------------
  |  |  524|  27.8k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  27.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7362|  27.8k|    Py_XDECREF(exc);
  ------------------
  |  |  524|  27.8k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  27.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 7363|       |    return NULL;
 7364|  27.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|  17.6k|{
 9527|  17.6k|    int kind1, kind2;
 9528|  17.6k|    const void *buf1, *buf2;
 9529|  17.6k|    Py_ssize_t len1, len2, result;
 9530|       |
 9531|  17.6k|    kind1 = PyUnicode_KIND(s1);
  ------------------
  |  |  258|  17.6k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  17.6k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 9532|  17.6k|    kind2 = PyUnicode_KIND(s2);
  ------------------
  |  |  258|  17.6k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  17.6k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 9533|  17.6k|    if (kind1 < kind2)
  ------------------
  |  Branch (9533:9): [True: 0, False: 17.6k]
  ------------------
 9534|      0|        return -1;
 9535|       |
 9536|  17.6k|    len1 = PyUnicode_GET_LENGTH(s1);
  ------------------
  |  |  299|  17.6k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  17.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9537|  17.6k|    len2 = PyUnicode_GET_LENGTH(s2);
  ------------------
  |  |  299|  17.6k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  17.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9538|  17.6k|    ADJUST_INDICES(start, end, len1);
  ------------------
  |  | 9503|  17.6k|    do {                                \
  |  | 9504|  17.6k|        if (end > len) {                \
  |  |  ------------------
  |  |  |  Branch (9504:13): [True: 17.6k, False: 2]
  |  |  ------------------
  |  | 9505|  17.6k|            end = len;                  \
  |  | 9506|  17.6k|        }                               \
  |  | 9507|  17.6k|        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|  17.6k|        if (start < 0) {                \
  |  |  ------------------
  |  |  |  Branch (9513:13): [True: 0, False: 17.6k]
  |  |  ------------------
  |  | 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.6k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (9519:14): [Folded, False: 17.6k]
  |  |  ------------------
  ------------------
 9539|  17.6k|    if (end - start < len2)
  ------------------
  |  Branch (9539:9): [True: 0, False: 17.6k]
  ------------------
 9540|      0|        return -1;
 9541|       |
 9542|  17.6k|    buf1 = PyUnicode_DATA(s1);
  ------------------
  |  |  284|  17.6k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  17.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9543|  17.6k|    buf2 = PyUnicode_DATA(s2);
  ------------------
  |  |  284|  17.6k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  17.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9544|  17.6k|    if (len2 == 1) {
  ------------------
  |  Branch (9544:9): [True: 17.6k, False: 0]
  ------------------
 9545|  17.6k|        Py_UCS4 ch = PyUnicode_READ(kind2, buf2, 0);
  ------------------
  |  |  354|  17.6k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  17.6k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  17.6k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  17.6k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  17.6k|                   (index))
  ------------------
 9546|  17.6k|        result = findchar((const char *)buf1 + kind1*start,
 9547|  17.6k|                          kind1, end - start, ch, direction);
 9548|  17.6k|        if (result == -1)
  ------------------
  |  Branch (9548:13): [True: 13.5k, False: 4.03k]
  ------------------
 9549|  13.5k|            return -1;
 9550|  4.03k|        else
 9551|  4.03k|            return start + result;
 9552|  17.6k|    }
 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|  20.4k|{
 9657|  20.4k|    int kind_self;
 9658|  20.4k|    int kind_sub;
 9659|  20.4k|    const void *data_self;
 9660|  20.4k|    const void *data_sub;
 9661|  20.4k|    Py_ssize_t offset;
 9662|  20.4k|    Py_ssize_t i;
 9663|  20.4k|    Py_ssize_t end_sub;
 9664|       |
 9665|  20.4k|    ADJUST_INDICES(start, end, PyUnicode_GET_LENGTH(self));
  ------------------
  |  | 9503|  20.4k|    do {                                \
  |  | 9504|  20.4k|        if (end > len) {                \
  |  |  ------------------
  |  |  |  Branch (9504:13): [True: 20.4k, False: 0]
  |  |  ------------------
  |  | 9505|  20.4k|            end = len;                  \
  |  | 9506|  20.4k|        }                               \
  |  | 9507|  20.4k|        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|  20.4k|        if (start < 0) {                \
  |  |  ------------------
  |  |  |  Branch (9513:13): [True: 0, False: 20.4k]
  |  |  ------------------
  |  | 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|  20.4k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (9519:14): [Folded, False: 20.4k]
  |  |  ------------------
  ------------------
 9666|  20.4k|    end -= PyUnicode_GET_LENGTH(substring);
  ------------------
  |  |  299|  20.4k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  20.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9667|  20.4k|    if (end < start)
  ------------------
  |  Branch (9667:9): [True: 868, False: 19.5k]
  ------------------
 9668|    868|        return 0;
 9669|       |
 9670|  19.5k|    if (PyUnicode_GET_LENGTH(substring) == 0)
  ------------------
  |  |  299|  19.5k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  19.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  19.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (9670:9): [True: 0, False: 19.5k]
  ------------------
 9671|      0|        return 1;
 9672|       |
 9673|  19.5k|    kind_self = PyUnicode_KIND(self);
  ------------------
  |  |  258|  19.5k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  19.5k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 9674|  19.5k|    data_self = PyUnicode_DATA(self);
  ------------------
  |  |  284|  19.5k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  19.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  19.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9675|  19.5k|    kind_sub = PyUnicode_KIND(substring);
  ------------------
  |  |  258|  19.5k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  19.5k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 9676|  19.5k|    data_sub = PyUnicode_DATA(substring);
  ------------------
  |  |  284|  19.5k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  19.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  19.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9677|  19.5k|    end_sub = PyUnicode_GET_LENGTH(substring) - 1;
  ------------------
  |  |  299|  19.5k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  19.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  19.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9678|       |
 9679|  19.5k|    if (direction > 0)
  ------------------
  |  Branch (9679:9): [True: 2.44k, False: 17.1k]
  ------------------
 9680|  2.44k|        offset = end;
 9681|  17.1k|    else
 9682|  17.1k|        offset = start;
 9683|       |
 9684|  19.5k|    if (PyUnicode_READ(kind_self, data_self, offset) ==
  ------------------
  |  |  354|  19.5k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  19.5k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  19.5k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  19.5k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  19.5k|                   (index))
  ------------------
  |  Branch (9684:9): [True: 12.2k, False: 7.27k]
  ------------------
 9685|  19.5k|        PyUnicode_READ(kind_sub, data_sub, 0) &&
  ------------------
  |  |  354|  39.1k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  19.5k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  39.1k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  19.5k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  39.1k|                   (index))
  ------------------
 9686|  12.2k|        PyUnicode_READ(kind_self, data_self, offset + end_sub) ==
  ------------------
  |  |  354|  12.2k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  12.2k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  12.2k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  12.2k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  12.2k|                   (index))
  ------------------
  |  Branch (9686:9): [True: 10.8k, False: 1.41k]
  ------------------
 9687|  12.2k|        PyUnicode_READ(kind_sub, data_sub, end_sub)) {
  ------------------
  |  |  354|  12.2k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  12.2k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  12.2k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  12.2k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  12.2k|                   (index))
  ------------------
 9688|       |        /* If both are of the same kind, memcmp is sufficient */
 9689|  10.8k|        if (kind_self == kind_sub) {
  ------------------
  |  Branch (9689:13): [True: 10.8k, False: 0]
  ------------------
 9690|  10.8k|            return ! memcmp((char *)data_self +
 9691|  10.8k|                                (offset * PyUnicode_KIND(substring)),
  ------------------
  |  |  258|  10.8k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  10.8k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 9692|  10.8k|                            data_sub,
 9693|  10.8k|                            PyUnicode_GET_LENGTH(substring) *
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9694|  10.8k|                                PyUnicode_KIND(substring));
  ------------------
  |  |  258|  10.8k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  10.8k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 9695|  10.8k|        }
 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|  10.8k|    }
 9709|       |
 9710|  8.68k|    return 0;
 9711|  19.5k|}
unicodeobject.c:unicode_compare:
10901|  10.2k|{
10902|  10.2k|#define COMPARE(TYPE1, TYPE2) \
10903|  10.2k|    do { \
10904|  10.2k|        TYPE1* p1 = (TYPE1 *)data1; \
10905|  10.2k|        TYPE2* p2 = (TYPE2 *)data2; \
10906|  10.2k|        TYPE1* end = p1 + len; \
10907|  10.2k|        Py_UCS4 c1, c2; \
10908|  10.2k|        for (; p1 != end; p1++, p2++) { \
10909|  10.2k|            c1 = *p1; \
10910|  10.2k|            c2 = *p2; \
10911|  10.2k|            if (c1 != c2) \
10912|  10.2k|                return (c1 < c2) ? -1 : 1; \
10913|  10.2k|        } \
10914|  10.2k|    } \
10915|  10.2k|    while (0)
10916|       |
10917|  10.2k|    int kind1, kind2;
10918|  10.2k|    const void *data1, *data2;
10919|  10.2k|    Py_ssize_t len1, len2, len;
10920|       |
10921|  10.2k|    kind1 = PyUnicode_KIND(str1);
  ------------------
  |  |  258|  10.2k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  10.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
10922|  10.2k|    kind2 = PyUnicode_KIND(str2);
  ------------------
  |  |  258|  10.2k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  10.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
10923|  10.2k|    data1 = PyUnicode_DATA(str1);
  ------------------
  |  |  284|  10.2k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10924|  10.2k|    data2 = PyUnicode_DATA(str2);
  ------------------
  |  |  284|  10.2k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10925|  10.2k|    len1 = PyUnicode_GET_LENGTH(str1);
  ------------------
  |  |  299|  10.2k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10926|  10.2k|    len2 = PyUnicode_GET_LENGTH(str2);
  ------------------
  |  |  299|  10.2k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10927|  10.2k|    len = Py_MIN(len1, len2);
  ------------------
  |  |  112|  10.2k|#define Py_MIN(x, y) (((x) > (y)) ? (y) : (x))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 5.02k, False: 5.18k]
  |  |  ------------------
  ------------------
10928|       |
10929|  10.2k|    switch(kind1) {
10930|  9.99k|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (10930:5): [True: 9.99k, False: 221]
  ------------------
10931|  9.99k|    {
10932|  9.99k|        switch(kind2) {
10933|  9.95k|        case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (10933:9): [True: 9.95k, False: 40]
  ------------------
10934|  9.95k|        {
10935|  9.95k|            int cmp = memcmp(data1, data2, len);
10936|       |            /* normalize result of memcmp() into the range [-1; 1] */
10937|  9.95k|            if (cmp < 0)
  ------------------
  |  Branch (10937:17): [True: 5.30k, False: 4.64k]
  ------------------
10938|  5.30k|                return -1;
10939|  4.64k|            if (cmp > 0)
  ------------------
  |  Branch (10939:17): [True: 738, False: 3.91k]
  ------------------
10940|    738|                return 1;
10941|  3.91k|            break;
10942|  4.64k|        }
10943|  3.91k|        case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (10943:9): [True: 40, False: 9.95k]
  ------------------
10944|     40|            COMPARE(Py_UCS1, Py_UCS2);
  ------------------
  |  |10903|     40|    do { \
  |  |10904|     40|        TYPE1* p1 = (TYPE1 *)data1; \
  |  |10905|     40|        TYPE2* p2 = (TYPE2 *)data2; \
  |  |10906|     40|        TYPE1* end = p1 + len; \
  |  |10907|     40|        Py_UCS4 c1, c2; \
  |  |10908|     40|        for (; p1 != end; p1++, p2++) { \
  |  |  ------------------
  |  |  |  Branch (10908:16): [True: 40, False: 0]
  |  |  ------------------
  |  |10909|     40|            c1 = *p1; \
  |  |10910|     40|            c2 = *p2; \
  |  |10911|     40|            if (c1 != c2) \
  |  |  ------------------
  |  |  |  Branch (10911:17): [True: 40, False: 0]
  |  |  ------------------
  |  |10912|     40|                return (c1 < c2) ? -1 : 1; \
  |  |  ------------------
  |  |  |  Branch (10912:24): [True: 32, False: 8]
  |  |  ------------------
  |  |10913|     40|        } \
  |  |10914|     40|    } \
  |  |10915|     40|    while (0)
  |  |  ------------------
  |  |  |  Branch (10915:12): [Folded, False: 0]
  |  |  ------------------
  ------------------
10945|      0|            break;
10946|      0|        case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (10946:9): [True: 0, False: 9.99k]
  ------------------
10947|      0|            COMPARE(Py_UCS1, Py_UCS4);
  ------------------
  |  |10903|      0|    do { \
  |  |10904|      0|        TYPE1* p1 = (TYPE1 *)data1; \
  |  |10905|      0|        TYPE2* p2 = (TYPE2 *)data2; \
  |  |10906|      0|        TYPE1* end = p1 + len; \
  |  |10907|      0|        Py_UCS4 c1, c2; \
  |  |10908|      0|        for (; p1 != end; p1++, p2++) { \
  |  |  ------------------
  |  |  |  Branch (10908:16): [True: 0, False: 0]
  |  |  ------------------
  |  |10909|      0|            c1 = *p1; \
  |  |10910|      0|            c2 = *p2; \
  |  |10911|      0|            if (c1 != c2) \
  |  |  ------------------
  |  |  |  Branch (10911:17): [True: 0, False: 0]
  |  |  ------------------
  |  |10912|      0|                return (c1 < c2) ? -1 : 1; \
  |  |  ------------------
  |  |  |  Branch (10912:24): [True: 0, False: 0]
  |  |  ------------------
  |  |10913|      0|        } \
  |  |10914|      0|    } \
  |  |10915|      0|    while (0)
  |  |  ------------------
  |  |  |  Branch (10915:12): [Folded, False: 0]
  |  |  ------------------
  ------------------
10948|      0|            break;
10949|      0|        default:
  ------------------
  |  Branch (10949:9): [True: 0, False: 9.99k]
  ------------------
10950|      0|            Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
10951|  9.99k|        }
10952|  3.91k|        break;
10953|  9.99k|    }
10954|  3.91k|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (10954:5): [True: 141, False: 10.0k]
  ------------------
10955|    141|    {
10956|    141|        switch(kind2) {
10957|     57|        case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (10957:9): [True: 57, False: 84]
  ------------------
10958|     57|            COMPARE(Py_UCS2, Py_UCS1);
  ------------------
  |  |10903|     57|    do { \
  |  |10904|     57|        TYPE1* p1 = (TYPE1 *)data1; \
  |  |10905|     57|        TYPE2* p2 = (TYPE2 *)data2; \
  |  |10906|     57|        TYPE1* end = p1 + len; \
  |  |10907|     57|        Py_UCS4 c1, c2; \
  |  |10908|     57|        for (; p1 != end; p1++, p2++) { \
  |  |  ------------------
  |  |  |  Branch (10908:16): [True: 57, False: 0]
  |  |  ------------------
  |  |10909|     57|            c1 = *p1; \
  |  |10910|     57|            c2 = *p2; \
  |  |10911|     57|            if (c1 != c2) \
  |  |  ------------------
  |  |  |  Branch (10911:17): [True: 57, False: 0]
  |  |  ------------------
  |  |10912|     57|                return (c1 < c2) ? -1 : 1; \
  |  |  ------------------
  |  |  |  Branch (10912:24): [True: 17, False: 40]
  |  |  ------------------
  |  |10913|     57|        } \
  |  |10914|     57|    } \
  |  |10915|     57|    while (0)
  |  |  ------------------
  |  |  |  Branch (10915:12): [Folded, False: 0]
  |  |  ------------------
  ------------------
10959|      0|            break;
10960|     65|        case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (10960:9): [True: 65, False: 76]
  ------------------
10961|     65|        {
10962|     65|            COMPARE(Py_UCS2, Py_UCS2);
  ------------------
  |  |10903|     65|    do { \
  |  |10904|     65|        TYPE1* p1 = (TYPE1 *)data1; \
  |  |10905|     65|        TYPE2* p2 = (TYPE2 *)data2; \
  |  |10906|     65|        TYPE1* end = p1 + len; \
  |  |10907|     65|        Py_UCS4 c1, c2; \
  |  |10908|     67|        for (; p1 != end; p1++, p2++) { \
  |  |  ------------------
  |  |  |  Branch (10908:16): [True: 67, False: 0]
  |  |  ------------------
  |  |10909|     67|            c1 = *p1; \
  |  |10910|     67|            c2 = *p2; \
  |  |10911|     67|            if (c1 != c2) \
  |  |  ------------------
  |  |  |  Branch (10911:17): [True: 65, False: 2]
  |  |  ------------------
  |  |10912|     67|                return (c1 < c2) ? -1 : 1; \
  |  |  ------------------
  |  |  |  Branch (10912:24): [True: 35, False: 30]
  |  |  ------------------
  |  |10913|     67|        } \
  |  |10914|     65|    } \
  |  |10915|     65|    while (0)
  |  |  ------------------
  |  |  |  Branch (10915:12): [Folded, False: 0]
  |  |  ------------------
  ------------------
10963|      0|            break;
10964|     65|        }
10965|     19|        case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (10965:9): [True: 19, False: 122]
  ------------------
10966|     19|            COMPARE(Py_UCS2, Py_UCS4);
  ------------------
  |  |10903|     19|    do { \
  |  |10904|     19|        TYPE1* p1 = (TYPE1 *)data1; \
  |  |10905|     19|        TYPE2* p2 = (TYPE2 *)data2; \
  |  |10906|     19|        TYPE1* end = p1 + len; \
  |  |10907|     19|        Py_UCS4 c1, c2; \
  |  |10908|     19|        for (; p1 != end; p1++, p2++) { \
  |  |  ------------------
  |  |  |  Branch (10908:16): [True: 19, False: 0]
  |  |  ------------------
  |  |10909|     19|            c1 = *p1; \
  |  |10910|     19|            c2 = *p2; \
  |  |10911|     19|            if (c1 != c2) \
  |  |  ------------------
  |  |  |  Branch (10911:17): [True: 19, False: 0]
  |  |  ------------------
  |  |10912|     19|                return (c1 < c2) ? -1 : 1; \
  |  |  ------------------
  |  |  |  Branch (10912:24): [True: 19, False: 0]
  |  |  ------------------
  |  |10913|     19|        } \
  |  |10914|     19|    } \
  |  |10915|     19|    while (0)
  |  |  ------------------
  |  |  |  Branch (10915:12): [Folded, False: 0]
  |  |  ------------------
  ------------------
10967|      0|            break;
10968|      0|        default:
  ------------------
  |  Branch (10968:9): [True: 0, False: 141]
  ------------------
10969|      0|            Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
10970|    141|        }
10971|      0|        break;
10972|    141|    }
10973|     80|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (10973:5): [True: 80, False: 10.1k]
  ------------------
10974|     80|    {
10975|     80|        switch(kind2) {
10976|     16|        case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (10976:9): [True: 16, False: 64]
  ------------------
10977|     16|            COMPARE(Py_UCS4, Py_UCS1);
  ------------------
  |  |10903|     16|    do { \
  |  |10904|     16|        TYPE1* p1 = (TYPE1 *)data1; \
  |  |10905|     16|        TYPE2* p2 = (TYPE2 *)data2; \
  |  |10906|     16|        TYPE1* end = p1 + len; \
  |  |10907|     16|        Py_UCS4 c1, c2; \
  |  |10908|     16|        for (; p1 != end; p1++, p2++) { \
  |  |  ------------------
  |  |  |  Branch (10908:16): [True: 16, False: 0]
  |  |  ------------------
  |  |10909|     16|            c1 = *p1; \
  |  |10910|     16|            c2 = *p2; \
  |  |10911|     16|            if (c1 != c2) \
  |  |  ------------------
  |  |  |  Branch (10911:17): [True: 16, False: 0]
  |  |  ------------------
  |  |10912|     16|                return (c1 < c2) ? -1 : 1; \
  |  |  ------------------
  |  |  |  Branch (10912:24): [True: 0, False: 16]
  |  |  ------------------
  |  |10913|     16|        } \
  |  |10914|     16|    } \
  |  |10915|     16|    while (0)
  |  |  ------------------
  |  |  |  Branch (10915:12): [Folded, False: 0]
  |  |  ------------------
  ------------------
10978|      0|            break;
10979|     29|        case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (10979:9): [True: 29, False: 51]
  ------------------
10980|     29|            COMPARE(Py_UCS4, Py_UCS2);
  ------------------
  |  |10903|     29|    do { \
  |  |10904|     29|        TYPE1* p1 = (TYPE1 *)data1; \
  |  |10905|     29|        TYPE2* p2 = (TYPE2 *)data2; \
  |  |10906|     29|        TYPE1* end = p1 + len; \
  |  |10907|     29|        Py_UCS4 c1, c2; \
  |  |10908|     29|        for (; p1 != end; p1++, p2++) { \
  |  |  ------------------
  |  |  |  Branch (10908:16): [True: 29, False: 0]
  |  |  ------------------
  |  |10909|     29|            c1 = *p1; \
  |  |10910|     29|            c2 = *p2; \
  |  |10911|     29|            if (c1 != c2) \
  |  |  ------------------
  |  |  |  Branch (10911:17): [True: 29, False: 0]
  |  |  ------------------
  |  |10912|     29|                return (c1 < c2) ? -1 : 1; \
  |  |  ------------------
  |  |  |  Branch (10912:24): [True: 0, False: 29]
  |  |  ------------------
  |  |10913|     29|        } \
  |  |10914|     29|    } \
  |  |10915|     29|    while (0)
  |  |  ------------------
  |  |  |  Branch (10915:12): [Folded, False: 0]
  |  |  ------------------
  ------------------
10981|      0|            break;
10982|     35|        case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (10982:9): [True: 35, False: 45]
  ------------------
10983|     35|        {
10984|     35|#if defined(HAVE_WMEMCMP) && SIZEOF_WCHAR_T == 4
10985|     35|            int cmp = wmemcmp((wchar_t *)data1, (wchar_t *)data2, len);
10986|       |            /* normalize result of wmemcmp() into the range [-1; 1] */
10987|     35|            if (cmp < 0)
  ------------------
  |  Branch (10987:17): [True: 14, False: 21]
  ------------------
10988|     14|                return -1;
10989|     21|            if (cmp > 0)
  ------------------
  |  Branch (10989:17): [True: 21, False: 0]
  ------------------
10990|     21|                return 1;
10991|       |#else
10992|       |            COMPARE(Py_UCS4, Py_UCS4);
10993|       |#endif
10994|      0|            break;
10995|     21|        }
10996|      0|        default:
  ------------------
  |  Branch (10996:9): [True: 0, False: 80]
  ------------------
10997|      0|            Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
10998|     80|        }
10999|      0|        break;
11000|     80|    }
11001|      0|    default:
  ------------------
  |  Branch (11001:5): [True: 0, False: 10.2k]
  ------------------
11002|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
11003|  10.2k|    }
11004|       |
11005|  3.91k|    if (len1 == len2)
  ------------------
  |  Branch (11005:9): [True: 3.89k, False: 21]
  ------------------
11006|  3.89k|        return 0;
11007|     21|    if (len1 < len2)
  ------------------
  |  Branch (11007:9): [True: 6, False: 15]
  ------------------
11008|      6|        return -1;
11009|     15|    else
11010|     15|        return 1;
11011|       |
11012|     21|#undef COMPARE
11013|     21|}
unicodeobject.c:make_bloom_mask:
  917|   225k|{
  918|   225k|#define BLOOM_UPDATE(TYPE, MASK, PTR, LEN)             \
  919|   225k|    do {                                               \
  920|   225k|        TYPE *data = (TYPE *)PTR;                      \
  921|   225k|        TYPE *end = data + LEN;                        \
  922|   225k|        Py_UCS4 ch;                                    \
  923|   225k|        for (; data != end; data++) {                  \
  924|   225k|            ch = *data;                                \
  925|   225k|            MASK |= (1UL << (ch & (BLOOM_WIDTH - 1))); \
  926|   225k|        }                                              \
  927|   225k|        break;                                         \
  928|   225k|    } while (0)
  929|       |
  930|       |    /* calculate simple bloom-style bitmask for a given unicode string */
  931|       |
  932|   225k|    BLOOM_MASK mask;
  ------------------
  |  |  905|   225k|#define BLOOM_MASK unsigned long
  ------------------
  933|       |
  934|   225k|    mask = 0;
  935|   225k|    switch (kind) {
  936|   225k|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (936:5): [True: 225k, False: 2]
  ------------------
  937|   225k|        BLOOM_UPDATE(Py_UCS1, mask, ptr, len);
  ------------------
  |  |  919|   225k|    do {                                               \
  |  |  920|   225k|        TYPE *data = (TYPE *)PTR;                      \
  |  |  921|   225k|        TYPE *end = data + LEN;                        \
  |  |  922|   225k|        Py_UCS4 ch;                                    \
  |  |  923|   451k|        for (; data != end; data++) {                  \
  |  |  ------------------
  |  |  |  Branch (923:16): [True: 225k, False: 225k]
  |  |  ------------------
  |  |  924|   225k|            ch = *data;                                \
  |  |  925|   225k|            MASK |= (1UL << (ch & (BLOOM_WIDTH - 1))); \
  |  |  ------------------
  |  |  |  |  898|   225k|#define BLOOM_WIDTH 64
  |  |  ------------------
  |  |  926|   225k|        }                                              \
  |  |  927|   225k|        break;                                         \
  |  |  928|   225k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (928:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  938|   225k|        break;
  939|      2|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (939:5): [True: 2, False: 225k]
  ------------------
  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: 225k]
  ------------------
  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: 225k]
  ------------------
  946|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  947|   225k|    }
  948|   225k|    return mask;
  949|       |
  950|   225k|#undef BLOOM_UPDATE
  951|   225k|}
unicodeobject.c:unicode_result_unchanged:
  751|   230k|{
  752|   230k|    if (PyUnicode_CheckExact(unicode)) {
  ------------------
  |  |  104|   230k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|   230k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   230k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   230k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 230k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  753|   230k|        return Py_NewRef(unicode);
  ------------------
  |  |  550|   230k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   230k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   230k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  754|   230k|    }
  755|      0|    else
  756|       |        /* Subtype -- return genuine unicode string with the same value. */
  757|      0|        return _PyUnicode_Copy(unicode);
  758|   230k|}
unicodeobject.c:replace:
10518|  3.82k|{
10519|  3.82k|    PyObject *u;
10520|  3.82k|    const char *sbuf = PyUnicode_DATA(self);
  ------------------
  |  |  284|  3.82k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.82k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.82k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10521|  3.82k|    const void *buf1 = PyUnicode_DATA(str1);
  ------------------
  |  |  284|  3.82k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.82k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.82k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10522|  3.82k|    const void *buf2 = PyUnicode_DATA(str2);
  ------------------
  |  |  284|  3.82k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.82k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.82k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10523|  3.82k|    int srelease = 0, release1 = 0, release2 = 0;
10524|  3.82k|    int skind = PyUnicode_KIND(self);
  ------------------
  |  |  258|  3.82k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  3.82k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
10525|  3.82k|    int kind1 = PyUnicode_KIND(str1);
  ------------------
  |  |  258|  3.82k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  3.82k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
10526|  3.82k|    int kind2 = PyUnicode_KIND(str2);
  ------------------
  |  |  258|  3.82k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  3.82k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
10527|  3.82k|    Py_ssize_t slen = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  299|  3.82k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.82k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.82k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10528|  3.82k|    Py_ssize_t len1 = PyUnicode_GET_LENGTH(str1);
  ------------------
  |  |  299|  3.82k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.82k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.82k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10529|  3.82k|    Py_ssize_t len2 = PyUnicode_GET_LENGTH(str2);
  ------------------
  |  |  299|  3.82k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.82k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.82k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10530|  3.82k|    int mayshrink;
10531|  3.82k|    Py_UCS4 maxchar, maxchar_str1, maxchar_str2;
10532|       |
10533|  3.82k|    if (slen < len1)
  ------------------
  |  Branch (10533:9): [True: 52, False: 3.76k]
  ------------------
10534|     52|        goto nothing;
10535|       |
10536|  3.76k|    if (maxcount < 0)
  ------------------
  |  Branch (10536:9): [True: 3.76k, False: 0]
  ------------------
10537|  3.76k|        maxcount = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|  3.76k|#   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|  3.76k|    if (str1 == str2)
  ------------------
  |  Branch (10541:9): [True: 0, False: 3.76k]
  ------------------
10542|      0|        goto nothing;
10543|       |
10544|  3.76k|    maxchar = PyUnicode_MAX_CHAR_VALUE(self);
  ------------------
  |  |  405|  3.76k|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.76k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.76k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10545|  3.76k|    maxchar_str1 = PyUnicode_MAX_CHAR_VALUE(str1);
  ------------------
  |  |  405|  3.76k|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.76k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.76k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10546|  3.76k|    if (maxchar < maxchar_str1)
  ------------------
  |  Branch (10546:9): [True: 0, False: 3.76k]
  ------------------
10547|       |        /* substring too wide to be present */
10548|      0|        goto nothing;
10549|  3.76k|    maxchar_str2 = PyUnicode_MAX_CHAR_VALUE(str2);
  ------------------
  |  |  405|  3.76k|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.76k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.76k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10550|       |    /* Replacing str1 with str2 may cause a maxchar reduction in the
10551|       |       result string. */
10552|  3.76k|    mayshrink = (maxchar_str2 < maxchar_str1) && (maxchar == maxchar_str1);
  ------------------
  |  Branch (10552:17): [True: 0, False: 3.76k]
  |  Branch (10552:50): [True: 0, False: 0]
  ------------------
10553|  3.76k|    maxchar = Py_MAX(maxchar, maxchar_str2);
  ------------------
  |  |  115|  3.76k|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 0, False: 3.76k]
  |  |  ------------------
  ------------------
10554|       |
10555|  3.76k|    if (len1 == len2) {
  ------------------
  |  Branch (10555:9): [True: 3.63k, False: 136]
  ------------------
10556|       |        /* same length */
10557|  3.63k|        if (len1 == 0)
  ------------------
  |  Branch (10557:13): [True: 0, False: 3.63k]
  ------------------
10558|      0|            goto nothing;
10559|  3.63k|        if (len1 == 1) {
  ------------------
  |  Branch (10559:13): [True: 108, False: 3.52k]
  ------------------
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.52k|        else {
10577|  3.52k|            int rkind = skind;
10578|  3.52k|            char *res;
10579|  3.52k|            Py_ssize_t i;
10580|       |
10581|  3.52k|            if (kind1 < rkind) {
  ------------------
  |  Branch (10581:17): [True: 0, False: 3.52k]
  ------------------
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.52k|            i = anylib_find(rkind, self, sbuf, slen, str1, buf1, len1, 0);
10588|  3.52k|            if (i < 0)
  ------------------
  |  Branch (10588:17): [True: 3.52k, False: 0]
  ------------------
10589|  3.52k|                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|  3.63k|    }
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|  3.74k|  nothing:
10769|       |    /* nothing to replace; return original string (when possible) */
10770|  3.74k|    assert(srelease == (sbuf != PyUnicode_DATA(self)));
10771|  3.74k|    assert(release1 == (buf1 != PyUnicode_DATA(str1)));
10772|  3.74k|    assert(release2 == (buf2 != PyUnicode_DATA(str2)));
10773|  3.74k|    if (srelease)
  ------------------
  |  Branch (10773:9): [True: 0, False: 3.74k]
  ------------------
10774|      0|        PyMem_Free((void *)sbuf);
10775|  3.74k|    if (release1)
  ------------------
  |  Branch (10775:9): [True: 0, False: 3.74k]
  ------------------
10776|      0|        PyMem_Free((void *)buf1);
10777|  3.74k|    if (release2)
  ------------------
  |  Branch (10777:9): [True: 0, False: 3.74k]
  ------------------
10778|      0|        PyMem_Free((void *)buf2);
10779|  3.74k|    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|  3.62k|{
10461|  3.62k|    switch (kind) {
  ------------------
  |  Branch (10461:13): [True: 3.62k, False: 0]
  ------------------
10462|  3.62k|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (10462:5): [True: 3.62k, False: 0]
  ------------------
10463|  3.62k|        if (PyUnicode_IS_ASCII(str1) && PyUnicode_IS_ASCII(str2))
  ------------------
  |  |  227|  7.25k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.62k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.62k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 3.62k, False: 0]
  |  |  ------------------
  ------------------
                      if (PyUnicode_IS_ASCII(str1) && PyUnicode_IS_ASCII(str2))
  ------------------
  |  |  227|  3.62k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.62k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.62k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 3.62k, False: 0]
  |  |  ------------------
  ------------------
10464|  3.62k|            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: 3.62k]
  ------------------
10468|      0|        return ucs2lib_find(buf1, len1, buf2, len2, offset);
10469|      0|    case PyUnicode_4BYTE_KIND:
  ------------------
  |  Branch (10469:5): [True: 0, False: 3.62k]
  ------------------
10470|      0|        return ucs4lib_find(buf1, len1, buf2, len2, offset);
10471|  3.62k|    }
10472|      0|    Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
10473|  3.62k|}
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|  4.19k|{
10278|  4.19k|    int kind1, kind2;
10279|  4.19k|    const void *buf1, *buf2;
10280|  4.19k|    Py_ssize_t len1, len2;
10281|  4.19k|    PyObject* out;
10282|  4.19k|    len1 = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  299|  4.19k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.19k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.19k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10283|  4.19k|    kind1 = PyUnicode_KIND(self);
  ------------------
  |  |  258|  4.19k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  4.19k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
10284|       |
10285|  4.19k|    if (substring == NULL) {
  ------------------
  |  Branch (10285:9): [True: 54, False: 4.13k]
  ------------------
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|  4.13k|    kind2 = PyUnicode_KIND(substring);
  ------------------
  |  |  258|  4.13k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  4.13k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
10317|  4.13k|    len2 = PyUnicode_GET_LENGTH(substring);
  ------------------
  |  |  299|  4.13k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.13k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10318|  4.13k|    if (maxcount < 0) {
  ------------------
  |  Branch (10318:9): [True: 4.04k, False: 90]
  ------------------
10319|       |        // if len2 == 0, it will raise ValueError.
10320|  4.04k|        maxcount = len2 == 0 ? 0 : (len1 / len2) + 1;
  ------------------
  |  Branch (10320:20): [True: 0, False: 4.04k]
  ------------------
10321|       |        // handle expected overflow case: (Py_SSIZE_T_MAX / 1) + 1
10322|  4.04k|        maxcount = maxcount < 0 ? len1 : maxcount;
  ------------------
  |  Branch (10322:20): [True: 0, False: 4.04k]
  ------------------
10323|  4.04k|    }
10324|  4.13k|    if (kind1 < kind2 || len1 < len2) {
  ------------------
  |  Branch (10324:9): [True: 0, False: 4.13k]
  |  Branch (10324:26): [True: 0, False: 4.13k]
  ------------------
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|  4.13k|    buf1 = PyUnicode_DATA(self);
  ------------------
  |  |  284|  4.13k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.13k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10332|  4.13k|    buf2 = PyUnicode_DATA(substring);
  ------------------
  |  |  284|  4.13k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.13k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10333|  4.13k|    if (kind2 != kind1) {
  ------------------
  |  Branch (10333:9): [True: 0, False: 4.13k]
  ------------------
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|  4.13k|    switch (kind1) {
10340|  4.13k|    case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (10340:5): [True: 4.13k, False: 0]
  ------------------
10341|  4.13k|        if (PyUnicode_IS_ASCII(self) && PyUnicode_IS_ASCII(substring))
  ------------------
  |  |  227|  8.27k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_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 (227:32): [True: 4.13k, False: 0]
  |  |  ------------------
  ------------------
                      if (PyUnicode_IS_ASCII(self) && PyUnicode_IS_ASCII(substring))
  ------------------
  |  |  227|  4.13k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_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 (227:32): [True: 4.13k, False: 0]
  |  |  ------------------
  ------------------
10342|  4.13k|            out = asciilib_split(
10343|  4.13k|                self,  buf1, len1, buf2, len2, maxcount);
10344|      0|        else
10345|      0|            out = ucs1lib_split(
10346|      0|                self,  buf1, len1, buf2, len2, maxcount);
10347|  4.13k|        break;
10348|      0|    case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (10348:5): [True: 0, False: 4.13k]
  ------------------
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: 4.13k]
  ------------------
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: 4.13k]
  ------------------
10357|      0|        out = NULL;
10358|  4.13k|    }
10359|  4.13k|    assert((kind2 != kind1) == (buf2 != PyUnicode_DATA(substring)));
10360|  4.13k|    if (kind2 != kind1)
  ------------------
  |  Branch (10360:9): [True: 0, False: 4.13k]
  ------------------
10361|      0|        PyMem_Free((void *)buf2);
10362|  4.13k|    return out;
10363|  4.13k|}
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|  10.3M|{
 1628|       |#ifdef Py_DEBUG
 1629|       |    if (!unicode_is_finalizing() && unicode_is_singleton(unicode)) {
 1630|       |        _Py_FatalRefcountError("deallocating an Unicode singleton");
 1631|       |    }
 1632|       |#endif
 1633|  10.3M|    if (_PyUnicode_STATE(unicode).statically_allocated) {
  ------------------
  |  |  153|  10.3M|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|  10.3M|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  10.3M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1633:9): [True: 0, False: 10.3M]
  ------------------
 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|  10.3M|    switch (_PyUnicode_STATE(unicode).interned) {
  ------------------
  |  |  153|  10.3M|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|  10.3M|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  10.3M|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1645|  10.3M|        case SSTATE_NOT_INTERNED:
  ------------------
  |  |  201|  10.3M|#define SSTATE_NOT_INTERNED 0
  ------------------
  |  Branch (1645:9): [True: 10.3M, False: 8.13k]
  ------------------
 1646|  10.3M|            break;
 1647|  8.13k|        case SSTATE_INTERNED_MORTAL:
  ------------------
  |  |  202|  8.13k|#define SSTATE_INTERNED_MORTAL 1
  ------------------
  |  Branch (1647:9): [True: 8.13k, False: 10.3M]
  ------------------
 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|  8.13k|            assert(Py_REFCNT(unicode) == 0);
 1653|  8.13k|            Py_SET_REFCNT(unicode, 2);
  ------------------
  |  |  201|  8.13k|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|  8.13k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.13k|#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|  8.13k|            PyInterpreterState *interp = _PyInterpreterState_GET();
 1660|  8.13k|            PyObject *interned = get_interned_dict(interp);
 1661|  8.13k|            assert(interned != NULL);
 1662|  8.13k|            PyObject *popped;
 1663|  8.13k|            int r = PyDict_Pop(interned, unicode, &popped);
 1664|  8.13k|            if (r == -1) {
  ------------------
  |  Branch (1664:17): [True: 0, False: 8.13k]
  ------------------
 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|  8.13k|            if (r == 0) {
  ------------------
  |  Branch (1677:17): [True: 0, False: 8.13k]
  ------------------
 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|  8.13k|            assert(popped == unicode);
 1687|       |            // Only our `popped` reference should be left; remove it too.
 1688|  8.13k|            assert(Py_REFCNT(unicode) == 1);
 1689|  8.13k|            Py_SET_REFCNT(unicode, 0);
  ------------------
  |  |  201|  8.13k|#  define Py_SET_REFCNT(ob, refcnt) Py_SET_REFCNT(_PyObject_CAST(ob), (refcnt))
  |  |  ------------------
  |  |  |  |  171|  8.13k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.13k|#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|  8.13k|            break;
 1695|      0|        default:
  ------------------
  |  Branch (1695:9): [True: 0, False: 10.3M]
  ------------------
 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|  10.3M|    }
 1703|  10.3M|    if (_PyUnicode_HAS_UTF8_MEMORY(unicode)) {
  ------------------
  |  Branch (1703:9): [True: 0, False: 10.3M]
  ------------------
 1704|      0|        PyMem_Free(_PyUnicode_UTF8(unicode));
 1705|      0|    }
 1706|  10.3M|    if (!PyUnicode_IS_COMPACT(unicode) && _PyUnicode_DATA_ANY(unicode)) {
  ------------------
  |  |  234|  20.6M|#define PyUnicode_IS_COMPACT(op) PyUnicode_IS_COMPACT(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.3M|#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: 10.3M]
  ------------------
 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|  10.3M|    Py_TYPE(unicode)->tp_free(unicode);
  ------------------
  |  |  213|  10.3M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  10.3M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.3M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1711|  10.3M|}
unicodeobject.c:unicode_repr:
12653|  21.9k|{
12654|  21.9k|    Py_ssize_t isize = PyUnicode_GET_LENGTH(unicode);
  ------------------
  |  |  299|  21.9k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  21.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  21.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12655|  21.9k|    const void *idata = PyUnicode_DATA(unicode);
  ------------------
  |  |  284|  21.9k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  21.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  21.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12656|       |
12657|       |    /* Compute length of output, quote characters, and
12658|       |       maximum character */
12659|  21.9k|    Py_ssize_t osize = 0;
12660|  21.9k|    Py_UCS4 maxch = 127;
12661|  21.9k|    Py_ssize_t squote = 0;
12662|  21.9k|    Py_ssize_t dquote = 0;
12663|  21.9k|    int ikind = PyUnicode_KIND(unicode);
  ------------------
  |  |  258|  21.9k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  21.9k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
12664|   131k|    for (Py_ssize_t i = 0; i < isize; i++) {
  ------------------
  |  Branch (12664:28): [True: 109k, False: 21.9k]
  ------------------
12665|   109k|        Py_UCS4 ch = PyUnicode_READ(ikind, idata, i);
  ------------------
  |  |  354|   109k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|   109k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|   109k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|   109k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|   109k|                   (index))
  ------------------
12666|   109k|        Py_ssize_t incr = 1;
12667|   109k|        switch (ch) {
12668|     24|        case '\'': squote++; break;
  ------------------
  |  Branch (12668:9): [True: 24, False: 109k]
  ------------------
12669|     26|        case '"':  dquote++; break;
  ------------------
  |  Branch (12669:9): [True: 26, False: 109k]
  ------------------
12670|     97|        case '\\': case '\t': case '\r': case '\n':
  ------------------
  |  Branch (12670:9): [True: 2, False: 109k]
  |  Branch (12670:20): [True: 34, False: 109k]
  |  Branch (12670:31): [True: 39, False: 109k]
  |  Branch (12670:42): [True: 22, False: 109k]
  ------------------
12671|     97|            incr = 2;
12672|     97|            break;
12673|   109k|        default:
  ------------------
  |  Branch (12673:9): [True: 109k, False: 147]
  ------------------
12674|       |            /* Fast-path ASCII */
12675|   109k|            if (ch < ' ' || ch == 0x7f)
  ------------------
  |  Branch (12675:17): [True: 1.33k, False: 108k]
  |  Branch (12675:29): [True: 1, False: 108k]
  ------------------
12676|  1.33k|                incr = 4; /* \xHH */
12677|   108k|            else if (ch < 0x7f)
  ------------------
  |  Branch (12677:22): [True: 91.2k, False: 17.0k]
  ------------------
12678|  91.2k|                ;
12679|  17.0k|            else if (Py_UNICODE_ISPRINTABLE(ch))
  ------------------
  |  |  761|  17.0k|#define Py_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch)
  |  |  ------------------
  |  |  |  Branch (761:36): [True: 6.02k, False: 11.0k]
  |  |  ------------------
  ------------------
12680|  6.02k|                maxch = (ch > maxch) ? ch : maxch;
  ------------------
  |  Branch (12680:25): [True: 2.68k, False: 3.34k]
  ------------------
12681|  11.0k|            else if (ch < 0x100)
  ------------------
  |  Branch (12681:22): [True: 514, False: 10.5k]
  ------------------
12682|    514|                incr = 4; /* \xHH */
12683|  10.5k|            else if (ch < 0x10000)
  ------------------
  |  Branch (12683:22): [True: 279, False: 10.2k]
  ------------------
12684|    279|                incr = 6; /* \uHHHH */
12685|  10.2k|            else
12686|  10.2k|                incr = 10; /* \uHHHHHHHH */
12687|   109k|        }
12688|   109k|        if (osize > PY_SSIZE_T_MAX - incr) {
  ------------------
  |  |  137|   109k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (12688:13): [True: 0, False: 109k]
  ------------------
12689|      0|            PyErr_SetString(PyExc_OverflowError,
12690|      0|                            "string is too long to generate repr");
12691|      0|            return NULL;
12692|      0|        }
12693|   109k|        osize += incr;
12694|   109k|    }
12695|       |
12696|  21.9k|    Py_UCS4 quote = '\'';
12697|  21.9k|    int changed = (osize != isize);
12698|  21.9k|    if (squote) {
  ------------------
  |  Branch (12698:9): [True: 24, False: 21.9k]
  ------------------
12699|     24|        changed = 1;
12700|     24|        if (dquote)
  ------------------
  |  Branch (12700:13): [True: 10, False: 14]
  ------------------
12701|       |            /* Both squote and dquote present. Use squote,
12702|       |               and escape them */
12703|     10|            osize += squote;
12704|     14|        else
12705|     14|            quote = '"';
12706|     24|    }
12707|  21.9k|    osize += 2;   /* quotes */
12708|       |
12709|  21.9k|    PyObject *repr = PyUnicode_New(osize, maxch);
12710|  21.9k|    if (repr == NULL)
  ------------------
  |  Branch (12710:9): [True: 0, False: 21.9k]
  ------------------
12711|      0|        return NULL;
12712|  21.9k|    int okind = PyUnicode_KIND(repr);
  ------------------
  |  |  258|  21.9k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  21.9k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
12713|  21.9k|    void *odata = PyUnicode_DATA(repr);
  ------------------
  |  |  284|  21.9k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  21.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  21.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12714|       |
12715|  21.9k|    if (!changed) {
  ------------------
  |  Branch (12715:9): [True: 19.6k, False: 2.32k]
  ------------------
12716|  19.6k|        PyUnicode_WRITE(okind, odata, 0, quote);
  ------------------
  |  |  335|  19.6k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|  19.6k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|  19.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  336|  19.6k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|  19.6k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
12717|       |
12718|  19.6k|        _PyUnicode_FastCopyCharacters(repr, 1,
12719|  19.6k|                                      unicode, 0,
12720|  19.6k|                                      isize);
12721|       |
12722|  19.6k|        PyUnicode_WRITE(okind, odata, osize-1, quote);
  ------------------
  |  |  335|  19.6k|    PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   34|  19.6k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |                   PyUnicode_WRITE(_Py_STATIC_CAST(int, kind), _Py_CAST(void*, data), \
  |  |  ------------------
  |  |  |  |   37|  19.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  336|  19.6k|                    (index), _Py_STATIC_CAST(Py_UCS4, value))
  |  |  ------------------
  |  |  |  |   34|  19.6k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
12723|  19.6k|    }
12724|  2.32k|    else {
12725|  2.32k|        switch (okind) {
12726|  1.83k|        case PyUnicode_1BYTE_KIND:
  ------------------
  |  Branch (12726:9): [True: 1.83k, False: 492]
  ------------------
12727|  1.83k|            ucs1lib_repr(unicode, quote, odata);
12728|  1.83k|            break;
12729|    246|        case PyUnicode_2BYTE_KIND:
  ------------------
  |  Branch (12729:9): [True: 246, False: 2.08k]
  ------------------
12730|    246|            ucs2lib_repr(unicode, quote, odata);
12731|    246|            break;
12732|    246|        default:
  ------------------
  |  Branch (12732:9): [True: 246, False: 2.08k]
  ------------------
12733|    246|            assert(okind == PyUnicode_4BYTE_KIND);
12734|    246|            ucs4lib_repr(unicode, quote, odata);
12735|  2.32k|        }
12736|  2.32k|    }
12737|       |
12738|  21.9k|    assert(_PyUnicode_CheckConsistency(repr, 1));
12739|  21.9k|    return repr;
12740|  21.9k|}
unicodeobject.c:unicode_mod:
13721|  9.49k|{
13722|  9.49k|    if (!PyUnicode_Check(v))
  ------------------
  |  |  103|  9.49k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  9.49k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (13722:9): [True: 0, False: 9.49k]
  ------------------
13723|      0|        Py_RETURN_NOTIMPLEMENTED;
  ------------------
  |  |  648|      0|#  define Py_RETURN_NOTIMPLEMENTED return Py_NotImplemented
  |  |  ------------------
  |  |  |  |  640|      0|#  define Py_NotImplemented (&_Py_NotImplementedStruct)
  |  |  ------------------
  ------------------
13724|  9.49k|    return PyUnicode_Format(v, w);
13725|  9.49k|}
unicodeobject.c:unicode_length:
12222|  34.2k|{
12223|  34.2k|    return PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  299|  34.2k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  34.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  34.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12224|  34.2k|}
unicodeobject.c:unicode_repeat:
12507|     55|{
12508|     55|    PyObject *u;
12509|     55|    Py_ssize_t nchars, n;
12510|       |
12511|     55|    if (len < 1)
  ------------------
  |  Branch (12511:9): [True: 2, False: 53]
  ------------------
12512|      2|        _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  375|      2|    do {                             \
  |  |  376|      2|        return _PyUnicode_GetEmpty();\
  |  |  377|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (377:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
12513|       |
12514|       |    /* no repeat, return original string */
12515|     53|    if (len == 1)
  ------------------
  |  Branch (12515:9): [True: 8, False: 45]
  ------------------
12516|      8|        return unicode_result_unchanged(str);
12517|       |
12518|     45|    if (PyUnicode_GET_LENGTH(str) > PY_SSIZE_T_MAX / len) {
  ------------------
  |  |  299|     45|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     45|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     45|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyUnicode_GET_LENGTH(str) > PY_SSIZE_T_MAX / len) {
  ------------------
  |  |  137|     45|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (12518:9): [True: 0, False: 45]
  ------------------
12519|      0|        PyErr_SetString(PyExc_OverflowError,
12520|      0|                        "repeated string is too long");
12521|      0|        return NULL;
12522|      0|    }
12523|     45|    nchars = len * PyUnicode_GET_LENGTH(str);
  ------------------
  |  |  299|     45|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     45|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     45|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12524|       |
12525|     45|    u = PyUnicode_New(nchars, PyUnicode_MAX_CHAR_VALUE(str));
  ------------------
  |  |  405|     45|    PyUnicode_MAX_CHAR_VALUE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     45|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     45|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12526|     45|    if (!u)
  ------------------
  |  Branch (12526:9): [True: 0, False: 45]
  ------------------
12527|      0|        return NULL;
12528|     45|    assert(PyUnicode_KIND(u) == PyUnicode_KIND(str));
12529|       |
12530|     45|    if (PyUnicode_GET_LENGTH(str) == 1) {
  ------------------
  |  |  299|     45|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     45|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     45|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (12530:9): [True: 45, False: 0]
  ------------------
12531|     45|        int kind = PyUnicode_KIND(str);
  ------------------
  |  |  258|     45|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|     45|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
12532|     45|        Py_UCS4 fill_char = PyUnicode_READ(kind, PyUnicode_DATA(str), 0);
  ------------------
  |  |  354|     45|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|     45|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|     45|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|     45|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|     45|                   (index))
  ------------------
12533|     45|        if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (12533:13): [True: 45, False: 0]
  ------------------
12534|     45|            void *to = PyUnicode_DATA(u);
  ------------------
  |  |  284|     45|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     45|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     45|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12535|     45|            memset(to, (unsigned char)fill_char, len);
12536|     45|        }
12537|      0|        else if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (12537:18): [True: 0, False: 0]
  ------------------
12538|      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))
  |  |  ------------------
  ------------------
12539|      0|            for (n = 0; n < len; ++n)
  ------------------
  |  Branch (12539:25): [True: 0, False: 0]
  ------------------
12540|      0|                ucs2[n] = fill_char;
12541|      0|        } else {
12542|      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))
  |  |  ------------------
  ------------------
12543|      0|            assert(kind == PyUnicode_4BYTE_KIND);
12544|      0|            for (n = 0; n < len; ++n)
  ------------------
  |  Branch (12544:25): [True: 0, False: 0]
  ------------------
12545|      0|                ucs4[n] = fill_char;
12546|      0|        }
12547|     45|    }
12548|      0|    else {
12549|      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))
  |  |  ------------------
  ------------------
12550|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12551|      0|        _PyBytes_Repeat(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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12552|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12553|      0|    }
12554|       |
12555|       |    assert(_PyUnicode_CheckConsistency(u, 1));
12556|     45|    return u;
12557|     45|}
unicodeobject.c:unicode_getitem:
11647|  1.99k|{
11648|  1.99k|    const void *data;
11649|  1.99k|    int kind;
11650|  1.99k|    Py_UCS4 ch;
11651|       |
11652|  1.99k|    if (!PyUnicode_Check(self)) {
  ------------------
  |  |  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 (11652:9): [True: 0, False: 1.99k]
  ------------------
11653|      0|        PyErr_BadArgument();
11654|      0|        return NULL;
11655|      0|    }
11656|  1.99k|    if (index < 0 || index >= PyUnicode_GET_LENGTH(self)) {
  ------------------
  |  |  299|  1.99k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_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 (11656:9): [True: 0, False: 1.99k]
  |  Branch (11656:22): [True: 102, False: 1.89k]
  ------------------
11657|    102|        PyErr_SetString(PyExc_IndexError, "string index out of range");
11658|    102|        return NULL;
11659|    102|    }
11660|  1.89k|    kind = PyUnicode_KIND(self);
  ------------------
  |  |  258|  1.89k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  1.89k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
11661|  1.89k|    data = PyUnicode_DATA(self);
  ------------------
  |  |  284|  1.89k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.89k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.89k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11662|  1.89k|    ch = PyUnicode_READ(kind, data, index);
  ------------------
  |  |  354|  1.89k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  1.89k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  1.89k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  1.89k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  1.89k|                   (index))
  ------------------
11663|  1.89k|    return unicode_char(ch);
11664|  1.99k|}
unicodeobject.c:unicode_subscript:
13747|  3.52k|{
13748|  3.52k|    if (_PyIndex_Check(item)) {
  ------------------
  |  Branch (13748:9): [True: 1.99k, False: 1.53k]
  ------------------
13749|  1.99k|        Py_ssize_t i = PyNumber_AsSsize_t(item, PyExc_IndexError);
13750|  1.99k|        if (i == -1 && PyErr_Occurred())
  ------------------
  |  Branch (13750:13): [True: 1.31k, False: 682]
  |  Branch (13750:24): [True: 0, False: 1.31k]
  ------------------
13751|      0|            return NULL;
13752|  1.99k|        if (i < 0)
  ------------------
  |  Branch (13752:13): [True: 1.84k, False: 146]
  ------------------
13753|  1.84k|            i += PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  299|  1.84k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.84k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.84k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13754|  1.99k|        return unicode_getitem(self, i);
13755|  1.99k|    } else if (PySlice_Check(item)) {
  ------------------
  |  |   22|  1.53k|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  ------------------
  |  |  |  |  215|  1.53k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.53k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.53k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.53k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13756|  1.53k|        Py_ssize_t start, stop, step, slicelength, i;
13757|  1.53k|        size_t cur;
13758|  1.53k|        PyObject *result;
13759|  1.53k|        const void *src_data;
13760|  1.53k|        void *dest_data;
13761|  1.53k|        int src_kind, dest_kind;
13762|  1.53k|        Py_UCS4 ch, max_char, kind_limit;
13763|       |
13764|  1.53k|        if (PySlice_Unpack(item, &start, &stop, &step) < 0) {
  ------------------
  |  Branch (13764:13): [True: 0, False: 1.53k]
  ------------------
13765|      0|            return NULL;
13766|      0|        }
13767|  1.53k|        slicelength = PySlice_AdjustIndices(PyUnicode_GET_LENGTH(self),
  ------------------
  |  |  299|  1.53k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.53k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.53k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13768|  1.53k|                                            &start, &stop, step);
13769|       |
13770|  1.53k|        if (slicelength <= 0) {
  ------------------
  |  Branch (13770:13): [True: 2, False: 1.53k]
  ------------------
13771|      2|            _Py_RETURN_UNICODE_EMPTY();
  ------------------
  |  |  375|      2|    do {                             \
  |  |  376|      2|        return _PyUnicode_GetEmpty();\
  |  |  377|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (377:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
13772|  1.53k|        } else if (start == 0 && step == 1 &&
  ------------------
  |  Branch (13772:20): [True: 1.33k, False: 194]
  |  Branch (13772:34): [True: 1.33k, False: 0]
  ------------------
13773|  1.33k|                   slicelength == PyUnicode_GET_LENGTH(self)) {
  ------------------
  |  |  299|  1.33k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.33k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.33k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (13773:20): [True: 0, False: 1.33k]
  ------------------
13774|      0|            return unicode_result_unchanged(self);
13775|  1.53k|        } else if (step == 1) {
  ------------------
  |  Branch (13775:20): [True: 1.53k, False: 0]
  ------------------
13776|  1.53k|            return PyUnicode_Substring(self,
13777|  1.53k|                                       start, start + slicelength);
13778|  1.53k|        }
13779|       |        /* General case */
13780|      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))
  |  |  ------------------
  ------------------
13781|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13782|      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 (13782:13): [True: 0, False: 0]
  ------------------
13783|      0|            kind_limit = kind_maxchar_limit(src_kind);
13784|      0|            max_char = 0;
13785|      0|            for (cur = start, i = 0; i < slicelength; cur += step, i++) {
  ------------------
  |  Branch (13785:38): [True: 0, False: 0]
  ------------------
13786|      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))
  ------------------
13787|      0|                if (ch > max_char) {
  ------------------
  |  Branch (13787:21): [True: 0, False: 0]
  ------------------
13788|      0|                    max_char = ch;
13789|      0|                    if (max_char >= kind_limit)
  ------------------
  |  Branch (13789:25): [True: 0, False: 0]
  ------------------
13790|      0|                        break;
13791|      0|                }
13792|      0|            }
13793|      0|        }
13794|      0|        else
13795|      0|            max_char = 127;
13796|      0|        result = PyUnicode_New(slicelength, max_char);
13797|      0|        if (result == NULL)
  ------------------
  |  Branch (13797:13): [True: 0, False: 0]
  ------------------
13798|      0|            return NULL;
13799|      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))
  |  |  ------------------
  ------------------
13800|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13801|       |
13802|      0|        for (cur = start, i = 0; i < slicelength; cur += step, i++) {
  ------------------
  |  Branch (13802:34): [True: 0, False: 0]
  ------------------
13803|      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))
  ------------------
13804|      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))
  |  |  ------------------
  ------------------
13805|      0|        }
13806|      0|        assert(_PyUnicode_CheckConsistency(result, 1));
13807|      0|        return result;
13808|      0|    } else {
13809|      0|        PyErr_Format(PyExc_TypeError, "string indices must be integers, not '%.200s'",
13810|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13811|       |        return NULL;
13812|      0|    }
13813|  3.52k|}
unicodeobject.c:unicode_hash:
11670|  6.47M|{
11671|  6.47M|    Py_uhash_t x;  /* Unsigned for defined overflow behavior. */
11672|       |
11673|       |#ifdef Py_DEBUG
11674|       |    assert(_Py_HashSecret_Initialized);
11675|       |#endif
11676|  6.47M|    Py_hash_t hash = PyUnicode_HASH(self);
  ------------------
  |  |  157|  6.47M|#define PyUnicode_HASH PyUnstable_Unicode_GET_CACHED_HASH
  ------------------
11677|  6.47M|    if (hash != -1) {
  ------------------
  |  Branch (11677:9): [True: 2.43M, False: 4.04M]
  ------------------
11678|  2.43M|        return hash;
11679|  2.43M|    }
11680|  4.04M|    x = Py_HashBuffer(PyUnicode_DATA(self),
  ------------------
  |  |  284|  4.04M|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.04M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11681|  4.04M|                      PyUnicode_GET_LENGTH(self) * PyUnicode_KIND(self));
  ------------------
  |  |  299|  4.04M|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.04M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                                    PyUnicode_GET_LENGTH(self) * PyUnicode_KIND(self));
  ------------------
  |  |  258|  4.04M|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  4.04M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
11682|       |
11683|  4.04M|    PyUnicode_SET_HASH(self, x);
11684|  4.04M|    return x;
11685|  6.47M|}
unicodeobject.c:PyUnicode_SET_HASH:
  160|  4.04M|{
  161|  4.04M|    FT_ATOMIC_STORE_SSIZE_RELAXED(_PyASCIIObject_CAST(op)->hash, hash);
  ------------------
  |  |  193|  4.04M|#define FT_ATOMIC_STORE_SSIZE_RELAXED(value, new_value) value = new_value
  ------------------
  162|  4.04M|}
unicodeobject.c:unicode_encode_impl:
11533|  1.20M|{
11534|  1.20M|    return PyUnicode_AsEncodedString(self, encoding, errors);
11535|  1.20M|}
unicodeobject.c:unicode_replace_impl:
12591|  3.82k|{
12592|  3.82k|    return replace(self, old, new, count);
12593|  3.82k|}
unicodeobject.c:unicode_split_impl:
12847|  4.19k|{
12848|  4.19k|    if (sep == Py_None)
  ------------------
  |  |  616|  4.19k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (12848:9): [True: 54, False: 4.13k]
  ------------------
12849|     54|        return split(self, NULL, maxsplit);
12850|  4.13k|    if (PyUnicode_Check(sep))
  ------------------
  |  |  103|  4.13k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.13k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 4.13k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12851|  4.13k|        return split(self, sep, maxsplit);
12852|       |
12853|      0|    PyErr_Format(PyExc_TypeError,
12854|      0|                 "must be str or None, not %.100s",
12855|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12856|       |    return NULL;
12857|  4.13k|}
unicodeobject.c:unicode_rsplit_impl:
13028|     14|{
13029|     14|    if (sep == Py_None)
  ------------------
  |  |  616|     14|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (13029:9): [True: 0, False: 14]
  ------------------
13030|      0|        return rsplit(self, NULL, maxsplit);
13031|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13032|     14|        return rsplit(self, sep, maxsplit);
13033|       |
13034|      0|    PyErr_Format(PyExc_TypeError,
13035|      0|                 "must be str or None, not %.100s",
13036|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13037|       |    return NULL;
13038|     14|}
unicodeobject.c:unicode_join:
12216|   143k|{
12217|   143k|    return PyUnicode_Join(self, iterable);
12218|   143k|}
unicodeobject.c:ascii_upper_or_lower:
 9728|    883|{
 9729|    883|    Py_ssize_t len = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  299|    883|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    883|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    883|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9730|    883|    const char *data = PyUnicode_DATA(self);
  ------------------
  |  |  284|    883|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    883|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    883|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9731|    883|    char *resdata;
 9732|    883|    PyObject *res;
 9733|       |
 9734|    883|    res = PyUnicode_New(len, 127);
 9735|    883|    if (res == NULL)
  ------------------
  |  Branch (9735:9): [True: 0, False: 883]
  ------------------
 9736|      0|        return NULL;
 9737|    883|    resdata = PyUnicode_DATA(res);
  ------------------
  |  |  284|    883|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    883|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    883|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9738|    883|    if (lower)
  ------------------
  |  Branch (9738:9): [True: 781, False: 102]
  ------------------
 9739|    781|        _Py_bytes_lower(resdata, data, len);
 9740|    102|    else
 9741|    102|        _Py_bytes_upper(resdata, data, len);
 9742|    883|    return res;
 9743|    883|}
unicodeobject.c:unicode_expandtabs_impl:
11550|    622|{
11551|    622|    Py_ssize_t i, j, line_pos, src_len, incr;
11552|    622|    Py_UCS4 ch;
11553|    622|    PyObject *u;
11554|    622|    const void *src_data;
11555|    622|    void *dest_data;
11556|    622|    int kind;
11557|    622|    int found;
11558|       |
11559|       |    /* First pass: determine size of output string */
11560|    622|    src_len = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  299|    622|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    622|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    622|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11561|    622|    i = j = line_pos = 0;
11562|    622|    kind = PyUnicode_KIND(self);
  ------------------
  |  |  258|    622|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|    622|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
11563|    622|    src_data = PyUnicode_DATA(self);
  ------------------
  |  |  284|    622|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    622|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    622|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11564|    622|    found = 0;
11565|   172k|    for (; i < src_len; i++) {
  ------------------
  |  Branch (11565:12): [True: 171k, False: 622]
  ------------------
11566|   171k|        ch = PyUnicode_READ(kind, src_data, i);
  ------------------
  |  |  354|   171k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|   171k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|   171k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|   171k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|   171k|                   (index))
  ------------------
11567|   171k|        if (ch == '\t') {
  ------------------
  |  Branch (11567:13): [True: 0, False: 171k]
  ------------------
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|   171k|        else {
11578|   171k|            if (j > PY_SSIZE_T_MAX - 1)
  ------------------
  |  |  137|   171k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (11578:17): [True: 0, False: 171k]
  ------------------
11579|      0|                goto overflow;
11580|   171k|            line_pos++;
11581|   171k|            j++;
11582|   171k|            if (ch == '\n' || ch == '\r')
  ------------------
  |  Branch (11582:17): [True: 3.62k, False: 168k]
  |  Branch (11582:31): [True: 0, False: 168k]
  ------------------
11583|  3.62k|                line_pos = 0;
11584|   171k|        }
11585|   171k|    }
11586|    622|    if (!found)
  ------------------
  |  Branch (11586:9): [True: 622, False: 0]
  ------------------
11587|    622|        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|  13.5k|{
11638|  13.5k|    Py_ssize_t result = any_find_slice(str, substr, start, end, 1);
11639|  13.5k|    if (result < 0) {
  ------------------
  |  Branch (11639:9): [True: 13.5k, False: 6]
  ------------------
11640|  13.5k|        return -1;
11641|  13.5k|    }
11642|      6|    return result;
11643|  13.5k|}
unicodeobject.c:unicode_partition:
12982|     84|{
12983|     84|    return PyUnicode_Partition(self, sep);
12984|     84|}
unicodeobject.c:unicode_lower_impl:
12257|    781|{
12258|    781|    if (PyUnicode_IS_ASCII(self))
  ------------------
  |  |  227|    781|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    781|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    781|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 781, False: 0]
  |  |  ------------------
  ------------------
12259|    781|        return ascii_upper_or_lower(self, 1);
12260|      0|    return case_operation(self, do_lower);
12261|    781|}
unicodeobject.c:unicode_lstrip_impl:
12481|     22|{
12482|     22|    return do_argstrip(self, LEFTSTRIP, chars);
  ------------------
  |  |12263|     22|#define LEFTSTRIP 0
  ------------------
12483|     22|}
unicodeobject.c:do_argstrip:
12431|   229k|{
12432|   229k|    if (sep != Py_None) {
  ------------------
  |  |  616|   229k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (12432:9): [True: 225k, False: 4.44k]
  ------------------
12433|   225k|        if (PyUnicode_Check(sep))
  ------------------
  |  |  103|   225k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   225k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 225k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12434|   225k|            return _PyUnicode_XStrip(self, striptype, sep);
12435|      0|        else {
12436|      0|            PyErr_Format(PyExc_TypeError,
12437|      0|                         "%s arg must be None or str",
12438|      0|                         STRIPNAME(striptype));
  ------------------
  |  |12270|      0|#define STRIPNAME(i) (stripfuncnames[i])
  ------------------
12439|      0|            return NULL;
12440|      0|        }
12441|   225k|    }
12442|       |
12443|  4.44k|    return do_strip(self, striptype);
12444|   229k|}
unicodeobject.c:do_strip:
12368|  4.44k|{
12369|  4.44k|    Py_ssize_t len, i, j;
12370|       |
12371|  4.44k|    len = PyUnicode_GET_LENGTH(self);
  ------------------
  |  |  299|  4.44k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.44k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.44k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12372|       |
12373|  4.44k|    if (PyUnicode_IS_ASCII(self)) {
  ------------------
  |  |  227|  4.44k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.44k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.44k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 4.44k, False: 0]
  |  |  ------------------
  ------------------
12374|  4.44k|        const Py_UCS1 *data = PyUnicode_1BYTE_DATA(self);
  ------------------
  |  |  291|  4.44k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  4.44k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
12375|       |
12376|  4.44k|        i = 0;
12377|  4.44k|        if (striptype != RIGHTSTRIP) {
  ------------------
  |  |12264|  4.44k|#define RIGHTSTRIP 1
  ------------------
  |  Branch (12377:13): [True: 4.38k, False: 58]
  ------------------
12378|  56.0k|            while (i < len) {
  ------------------
  |  Branch (12378:20): [True: 56.0k, False: 4]
  ------------------
12379|  56.0k|                Py_UCS1 ch = data[i];
12380|  56.0k|                if (!_Py_ascii_whitespace[ch])
  ------------------
  |  Branch (12380:21): [True: 4.37k, False: 51.6k]
  ------------------
12381|  4.37k|                    break;
12382|  51.6k|                i++;
12383|  51.6k|            }
12384|  4.38k|        }
12385|       |
12386|  4.44k|        j = len;
12387|  4.44k|        if (striptype != LEFTSTRIP) {
  ------------------
  |  |12263|  4.44k|#define LEFTSTRIP 0
  ------------------
  |  Branch (12387:13): [True: 4.42k, False: 20]
  ------------------
12388|  4.42k|            j--;
12389|  9.44k|            while (j >= i) {
  ------------------
  |  Branch (12389:20): [True: 9.43k, False: 10]
  ------------------
12390|  9.43k|                Py_UCS1 ch = data[j];
12391|  9.43k|                if (!_Py_ascii_whitespace[ch])
  ------------------
  |  Branch (12391:21): [True: 4.41k, False: 5.02k]
  ------------------
12392|  4.41k|                    break;
12393|  5.02k|                j--;
12394|  5.02k|            }
12395|  4.42k|            j++;
12396|  4.42k|        }
12397|  4.44k|    }
12398|      0|    else {
12399|      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))
  |  |  ------------------
  ------------------
12400|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12401|       |
12402|      0|        i = 0;
12403|      0|        if (striptype != RIGHTSTRIP) {
  ------------------
  |  |12264|      0|#define RIGHTSTRIP 1
  ------------------
  |  Branch (12403:13): [True: 0, False: 0]
  ------------------
12404|      0|            while (i < len) {
  ------------------
  |  Branch (12404:20): [True: 0, False: 0]
  ------------------
12405|      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))
  ------------------
12406|      0|                if (!Py_UNICODE_ISSPACE(ch))
  ------------------
  |  Branch (12406:21): [True: 0, False: 0]
  ------------------
12407|      0|                    break;
12408|      0|                i++;
12409|      0|            }
12410|      0|        }
12411|       |
12412|      0|        j = len;
12413|      0|        if (striptype != LEFTSTRIP) {
  ------------------
  |  |12263|      0|#define LEFTSTRIP 0
  ------------------
  |  Branch (12413:13): [True: 0, False: 0]
  ------------------
12414|      0|            j--;
12415|      0|            while (j >= i) {
  ------------------
  |  Branch (12415:20): [True: 0, False: 0]
  ------------------
12416|      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))
  ------------------
12417|      0|                if (!Py_UNICODE_ISSPACE(ch))
  ------------------
  |  Branch (12417:21): [True: 0, False: 0]
  ------------------
12418|      0|                    break;
12419|      0|                j--;
12420|      0|            }
12421|      0|            j++;
12422|      0|        }
12423|      0|    }
12424|       |
12425|  4.44k|    return PyUnicode_Substring(self, i, j);
12426|  4.44k|}
unicodeobject.c:unicode_rfind_impl:
12756|  4.03k|{
12757|  4.03k|    Py_ssize_t result = any_find_slice(str, substr, start, end, -1);
12758|  4.03k|    if (result < 0) {
  ------------------
  |  Branch (12758:9): [True: 10, False: 4.02k]
  ------------------
12759|     10|        return -1;
12760|     10|    }
12761|  4.02k|    return result;
12762|  4.03k|}
unicodeobject.c:unicode_rstrip_impl:
12500|   225k|{
12501|   225k|    return do_argstrip(self, RIGHTSTRIP, chars);
  ------------------
  |  |12264|   225k|#define RIGHTSTRIP 1
  ------------------
12502|   225k|}
unicodeobject.c:unicode_rpartition:
13003|  34.0k|{
13004|  34.0k|    return PyUnicode_RPartition(self, sep);
13005|  34.0k|}
unicodeobject.c:unicode_splitlines_impl:
13055|      8|{
13056|      8|    return PyUnicode_Splitlines(self, keepends);
13057|      8|}
unicodeobject.c:unicode_strip_impl:
12462|  4.38k|{
12463|  4.38k|    return do_argstrip(self, BOTHSTRIP, chars);
  ------------------
  |  |12265|  4.38k|#define BOTHSTRIP 2
  ------------------
12464|  4.38k|}
unicodeobject.c:unicode_translate:
13242|     98|{
13243|     98|    return _PyUnicode_TranslateCharmap(self, table, "ignore");
13244|     98|}
unicodeobject.c:unicode_upper_impl:
13255|    102|{
13256|    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]
  |  |  ------------------
  ------------------
13257|    102|        return ascii_upper_or_lower(self, 0);
13258|      0|    return case_operation(self, do_upper);
13259|    102|}
unicodeobject.c:unicode_startswith_impl:
13327|  17.1k|{
13328|  17.1k|    if (PyTuple_Check(subobj)) {
  ------------------
  |  |   27|  17.1k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  17.1k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 87, False: 17.0k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13329|     87|        Py_ssize_t i;
13330|    579|        for (i = 0; i < PyTuple_GET_SIZE(subobj); i++) {
  ------------------
  |  |   27|    579|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    579|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    579|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (13330:21): [True: 497, False: 82]
  ------------------
13331|    497|            PyObject *substring = PyTuple_GET_ITEM(subobj, i);
  ------------------
  |  |   29|    497|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    497|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    497|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13332|    497|            if (!PyUnicode_Check(substring)) {
  ------------------
  |  |  103|    497|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    497|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (13332:17): [True: 0, False: 497]
  ------------------
13333|      0|                PyErr_Format(PyExc_TypeError,
13334|      0|                             "tuple for startswith must only contain str, "
13335|      0|                             "not %.100s",
13336|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13337|      0|                return NULL;
13338|      0|            }
13339|    497|            int result = tailmatch(self, substring, start, end, -1);
13340|    497|            if (result < 0) {
  ------------------
  |  Branch (13340:17): [True: 0, False: 497]
  ------------------
13341|      0|                return NULL;
13342|      0|            }
13343|    497|            if (result) {
  ------------------
  |  Branch (13343:17): [True: 5, False: 492]
  ------------------
13344|      5|                Py_RETURN_TRUE;
  ------------------
  |  |   44|      5|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|      5|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13345|      5|            }
13346|    497|        }
13347|       |        /* nothing matched */
13348|     87|        Py_RETURN_FALSE;
  ------------------
  |  |   45|     82|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|     82|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     82|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     82|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13349|     87|    }
13350|  17.0k|    if (!PyUnicode_Check(subobj)) {
  ------------------
  |  |  103|  17.0k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  17.0k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (13350:9): [True: 0, False: 17.0k]
  ------------------
13351|      0|        PyErr_Format(PyExc_TypeError,
13352|      0|                     "startswith first arg must be str or "
13353|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13354|      0|        return NULL;
13355|      0|    }
13356|  17.0k|    int result = tailmatch(self, subobj, start, end, -1);
13357|  17.0k|    if (result < 0) {
  ------------------
  |  Branch (13357:9): [True: 0, False: 17.0k]
  ------------------
13358|      0|        return NULL;
13359|      0|    }
13360|  17.0k|    return PyBool_FromLong(result);
13361|  17.0k|}
unicodeobject.c:unicode_endswith_impl:
13384|  2.12k|{
13385|  2.12k|    if (PyTuple_Check(subobj)) {
  ------------------
  |  |   27|  2.12k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  2.12k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 719, False: 1.40k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13386|    719|        Py_ssize_t i;
13387|  2.14k|        for (i = 0; i < PyTuple_GET_SIZE(subobj); i++) {
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (13387:21): [True: 1.43k, False: 713]
  ------------------
13388|  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13389|  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 (13389:17): [True: 0, False: 1.43k]
  ------------------
13390|      0|                PyErr_Format(PyExc_TypeError,
13391|      0|                             "tuple for endswith must only contain str, "
13392|      0|                             "not %.100s",
13393|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13394|      0|                return NULL;
13395|      0|            }
13396|  1.43k|            int result = tailmatch(self, substring, start, end, +1);
13397|  1.43k|            if (result < 0) {
  ------------------
  |  Branch (13397:17): [True: 0, False: 1.43k]
  ------------------
13398|      0|                return NULL;
13399|      0|            }
13400|  1.43k|            if (result) {
  ------------------
  |  Branch (13400:17): [True: 6, False: 1.42k]
  ------------------
13401|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13402|      6|            }
13403|  1.43k|        }
13404|    719|        Py_RETURN_FALSE;
  ------------------
  |  |   45|    713|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|    713|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    713|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    713|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13405|    719|    }
13406|  1.40k|    if (!PyUnicode_Check(subobj)) {
  ------------------
  |  |  103|  1.40k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.40k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (13406:9): [True: 0, False: 1.40k]
  ------------------
13407|      0|        PyErr_Format(PyExc_TypeError,
13408|      0|                     "endswith first arg must be str or "
13409|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13410|      0|        return NULL;
13411|      0|    }
13412|  1.40k|    int result = tailmatch(self, subobj, start, end, +1);
13413|  1.40k|    if (result < 0) {
  ------------------
  |  Branch (13413:9): [True: 0, False: 1.40k]
  ------------------
13414|      0|        return NULL;
13415|      0|    }
13416|  1.40k|    return PyBool_FromLong(result);
13417|  1.40k|}
unicodeobject.c:unicode_removeprefix_impl:
12611|     14|{
12612|     14|    int match = tailmatch(self, prefix, 0, PY_SSIZE_T_MAX, -1);
  ------------------
  |  |  137|     14|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
12613|     14|    if (match == -1) {
  ------------------
  |  Branch (12613:9): [True: 0, False: 14]
  ------------------
12614|      0|        return NULL;
12615|      0|    }
12616|     14|    if (match) {
  ------------------
  |  Branch (12616:9): [True: 14, False: 0]
  ------------------
12617|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12618|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12619|     14|    }
12620|      0|    return unicode_result_unchanged(self);
12621|     14|}
unicodeobject.c:unicode_isascii_impl:
11724|    230|{
11725|    230|    return PyBool_FromLong(PyUnicode_IS_ASCII(self));
  ------------------
  |  |  227|    230|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    230|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    230|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11726|    230|}
unicodeobject.c:unicode_isupper_impl:
11785|  3.64k|{
11786|  3.64k|    Py_ssize_t i, length;
11787|  3.64k|    int kind;
11788|  3.64k|    const void *data;
11789|  3.64k|    int cased;
11790|       |
11791|  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11792|  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))
  |  |  ------------------
  ------------------
11793|  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11794|       |
11795|       |    /* Shortcut for single character strings */
11796|  3.64k|    if (length == 1)
  ------------------
  |  Branch (11796:9): [True: 0, False: 3.64k]
  ------------------
11797|      0|        return PyBool_FromLong(
11798|      0|            Py_UNICODE_ISUPPER(PyUnicode_READ(kind, data, 0)) != 0);
  ------------------
  |  |  750|      0|#define Py_UNICODE_ISUPPER(ch) _PyUnicode_IsUppercase(ch)
  ------------------
11799|       |
11800|       |    /* Special case for empty strings */
11801|  3.64k|    if (length == 0)
  ------------------
  |  Branch (11801:9): [True: 0, False: 3.64k]
  ------------------
11802|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11803|       |
11804|  3.64k|    cased = 0;
11805|  45.5k|    for (i = 0; i < length; i++) {
  ------------------
  |  Branch (11805:17): [True: 42.3k, False: 3.17k]
  ------------------
11806|  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))
  ------------------
11807|       |
11808|  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]
  |  |  ------------------
  ------------------
11809|    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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11810|  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 (11810:18): [True: 3.38k, False: 38.4k]
  ------------------
11811|  3.21k|            cased = 1;
11812|  42.3k|    }
11813|  3.17k|    return PyBool_FromLong(cased);
11814|  3.64k|}
unicodeobject.c:unicode_isspace_impl:
11885|    666|{
11886|    666|    Py_ssize_t i, length;
11887|    666|    int kind;
11888|    666|    const void *data;
11889|       |
11890|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11891|    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))
  |  |  ------------------
  ------------------
11892|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11893|       |
11894|       |    /* Shortcut for single character strings */
11895|    666|    if (length == 1)
  ------------------
  |  Branch (11895:9): [True: 0, False: 666]
  ------------------
11896|      0|        return PyBool_FromLong(
11897|      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))
  ------------------
11898|       |
11899|       |    /* Special case for empty strings */
11900|    666|    if (length == 0)
  ------------------
  |  Branch (11900:9): [True: 142, False: 524]
  ------------------
11901|    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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11902|       |
11903|  3.80k|    for (i = 0; i < length; i++) {
  ------------------
  |  Branch (11903:17): [True: 3.75k, False: 52]
  ------------------
11904|  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))
  ------------------
11905|  3.75k|        if (!Py_UNICODE_ISSPACE(ch))
  ------------------
  |  Branch (11905:13): [True: 472, False: 3.28k]
  ------------------
11906|    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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11907|  3.75k|    }
11908|     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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
11909|    524|}
unicodeobject.c:unicode_isdigit_impl:
12040|    228|{
12041|    228|    Py_ssize_t i, length;
12042|    228|    int kind;
12043|    228|    const void *data;
12044|       |
12045|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12046|    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))
  |  |  ------------------
  ------------------
12047|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12048|       |
12049|       |    /* Shortcut for single character strings */
12050|    228|    if (length == 1) {
  ------------------
  |  Branch (12050:9): [True: 126, False: 102]
  ------------------
12051|    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))
  ------------------
12052|    126|        return PyBool_FromLong(Py_UNICODE_ISDIGIT(ch));
  ------------------
  |  |  759|    126|#define Py_UNICODE_ISDIGIT(ch) _PyUnicode_IsDigit(ch)
  ------------------
12053|    126|    }
12054|       |
12055|       |    /* Special case for empty strings */
12056|    102|    if (length == 0)
  ------------------
  |  Branch (12056:9): [True: 0, False: 102]
  ------------------
12057|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12058|       |
12059|    364|    for (i = 0; i < length; i++) {
  ------------------
  |  Branch (12059:17): [True: 262, False: 102]
  ------------------
12060|    262|        if (!Py_UNICODE_ISDIGIT(PyUnicode_READ(kind, data, i)))
  ------------------
  |  |  759|    262|#define Py_UNICODE_ISDIGIT(ch) _PyUnicode_IsDigit(ch)
  ------------------
  |  Branch (12060:13): [True: 0, False: 262]
  ------------------
12061|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12062|    262|    }
12063|    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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
12064|    102|}
unicodeobject.c:unicode_isidentifier_impl:
12160|  22.9k|{
12161|  22.9k|    return PyBool_FromLong(PyUnicode_IsIdentifier(self));
12162|  22.9k|}
unicodeobject.c:unicode_maketrans_impl:
13145|      2|{
13146|      2|    PyObject *new = NULL, *key, *value;
13147|      2|    Py_ssize_t i = 0;
13148|      2|    int res;
13149|       |
13150|      2|    new = PyDict_New();
13151|      2|    if (!new)
  ------------------
  |  Branch (13151:9): [True: 0, False: 2]
  ------------------
13152|      0|        return NULL;
13153|      2|    if (y != NULL) {
  ------------------
  |  Branch (13153:9): [True: 2, False: 0]
  ------------------
13154|      2|        int x_kind, y_kind, z_kind;
13155|      2|        const void *x_data, *y_data, *z_data;
13156|       |
13157|       |        /* x must be a string too, of equal length */
13158|      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 (13158:13): [True: 0, False: 2]
  ------------------
13159|      0|            PyErr_SetString(PyExc_TypeError, "first maketrans argument must "
13160|      0|                            "be a string if there is a second argument");
13161|      0|            goto err;
13162|      0|        }
13163|      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 (13163:13): [True: 0, False: 2]
  ------------------
13164|      0|            PyErr_SetString(PyExc_ValueError, "the first two maketrans "
13165|      0|                            "arguments must have equal length");
13166|      0|            goto err;
13167|      0|        }
13168|       |        /* create entries for translating chars in x to those in y */
13169|      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))
  |  |  ------------------
  ------------------
13170|      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))
  |  |  ------------------
  ------------------
13171|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13172|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13173|     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 (13173:21): [True: 16, False: 2]
  ------------------
13174|     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))
  ------------------
13175|     16|            if (!key)
  ------------------
  |  Branch (13175:17): [True: 0, False: 16]
  ------------------
13176|      0|                goto err;
13177|     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))
  ------------------
13178|     16|            if (!value) {
  ------------------
  |  Branch (13178:17): [True: 0, False: 16]
  ------------------
13179|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13180|      0|                goto err;
13181|      0|            }
13182|     16|            res = PyDict_SetItem(new, key, value);
13183|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13184|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13185|     16|            if (res < 0)
  ------------------
  |  Branch (13185:17): [True: 0, False: 16]
  ------------------
13186|      0|                goto err;
13187|     16|        }
13188|       |        /* create entries for deleting chars in z */
13189|      2|        if (z != NULL) {
  ------------------
  |  Branch (13189:13): [True: 0, False: 2]
  ------------------
13190|      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))
  |  |  ------------------
  ------------------
13191|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13192|      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 (13192:25): [True: 0, False: 0]
  ------------------
13193|      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))
  ------------------
13194|      0|                if (!key)
  ------------------
  |  Branch (13194:21): [True: 0, False: 0]
  ------------------
13195|      0|                    goto err;
13196|      0|                res = PyDict_SetItem(new, key, Py_None);
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
13197|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13198|      0|                if (res < 0)
  ------------------
  |  Branch (13198:21): [True: 0, False: 0]
  ------------------
13199|      0|                    goto err;
13200|      0|            }
13201|      0|        }
13202|      2|    } else {
13203|       |        /* x must be a dict */
13204|      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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13205|      0|            PyErr_SetString(PyExc_TypeError, "if you give only one argument "
13206|      0|                            "to maketrans it must be a dict");
13207|      0|            goto err;
13208|      0|        }
13209|       |        /* copy entries into the new dict, converting string keys to int keys */
13210|      0|        int errcode;
13211|      0|        Py_BEGIN_CRITICAL_SECTION(x);
  ------------------
  |  |   51|      0|    {
  ------------------
13212|      0|        errcode = unicode_maketrans_from_dict(x, new);
13213|      0|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|      0|    }
  ------------------
13214|      0|        if (errcode < 0)
  ------------------
  |  Branch (13214:13): [True: 0, False: 0]
  ------------------
13215|      0|            goto err;
13216|      0|    }
13217|      2|    return new;
13218|      0|  err:
13219|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13220|       |    return NULL;
13221|      2|}
unicodeobject.c:unicode_new_impl:
13839|     32|{
13840|     32|    PyObject *unicode;
13841|     32|    if (x == NULL) {
  ------------------
  |  Branch (13841:9): [True: 0, False: 32]
  ------------------
13842|      0|        unicode = _PyUnicode_GetEmpty();
13843|      0|    }
13844|     32|    else if (encoding == NULL && errors == NULL) {
  ------------------
  |  Branch (13844:14): [True: 32, False: 0]
  |  Branch (13844:34): [True: 32, False: 0]
  ------------------
13845|     32|        unicode = PyObject_Str(x);
13846|     32|    }
13847|      0|    else {
13848|      0|        unicode = PyUnicode_FromEncodedObject(x, encoding, errors);
13849|      0|    }
13850|       |
13851|     32|    if (unicode != NULL && type != &PyUnicode_Type) {
  ------------------
  |  Branch (13851:9): [True: 32, False: 0]
  |  Branch (13851:28): [True: 32, False: 0]
  ------------------
13852|     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]
  |  |  ------------------
  ------------------
13853|     32|    }
13854|     32|    return unicode;
13855|     32|}
unicodeobject.c:unicode_subtype_new:
13918|     32|{
13919|     32|    PyObject *self;
13920|     32|    Py_ssize_t length, char_size;
13921|     32|    int share_utf8;
13922|     32|    int kind;
13923|     32|    void *data;
13924|       |
13925|     32|    assert(PyType_IsSubtype(type, &PyUnicode_Type));
13926|     32|    assert(_PyUnicode_CHECK(unicode));
13927|       |
13928|     32|    self = type->tp_alloc(type, 0);
13929|     32|    if (self == NULL) {
  ------------------
  |  Branch (13929:9): [True: 0, False: 32]
  ------------------
13930|      0|        return NULL;
13931|      0|    }
13932|     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))
  |  |  ------------------
  ------------------
13933|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13934|       |
13935|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13936|       |#ifdef Py_DEBUG
13937|       |    _PyUnicode_HASH(self) = -1;
13938|       |#else
13939|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13940|     32|#endif
13941|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13942|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13943|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13944|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13945|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13946|     32|    PyUnicode_SET_UTF8_LENGTH(self, 0);
13947|     32|    PyUnicode_SET_UTF8(self, NULL);
13948|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13949|       |
13950|     32|    share_utf8 = 0;
13951|     32|    if (kind == PyUnicode_1BYTE_KIND) {
  ------------------
  |  Branch (13951:9): [True: 32, False: 0]
  ------------------
13952|     32|        char_size = 1;
13953|     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 (13953:13): [True: 32, False: 0]
  ------------------
13954|     32|            share_utf8 = 1;
13955|     32|    }
13956|      0|    else if (kind == PyUnicode_2BYTE_KIND) {
  ------------------
  |  Branch (13956:14): [True: 0, False: 0]
  ------------------
13957|      0|        char_size = 2;
13958|      0|    }
13959|      0|    else {
13960|      0|        assert(kind == PyUnicode_4BYTE_KIND);
13961|      0|        char_size = 4;
13962|      0|    }
13963|       |
13964|       |    /* Ensure we won't overflow the length. */
13965|     32|    if (length > (PY_SSIZE_T_MAX / char_size - 1)) {
  ------------------
  |  |  137|     32|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (13965:9): [True: 0, False: 32]
  ------------------
13966|      0|        PyErr_NoMemory();
13967|      0|        goto onError;
13968|      0|    }
13969|     32|    data = PyMem_Malloc((length + 1) * char_size);
13970|     32|    if (data == NULL) {
  ------------------
  |  Branch (13970:9): [True: 0, False: 32]
  ------------------
13971|      0|        PyErr_NoMemory();
13972|      0|        goto onError;
13973|      0|    }
13974|       |
13975|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13976|     32|    if (share_utf8) {
  ------------------
  |  Branch (13976:9): [True: 32, False: 0]
  ------------------
13977|     32|        PyUnicode_SET_UTF8_LENGTH(self, length);
13978|     32|        PyUnicode_SET_UTF8(self, data);
13979|     32|    }
13980|       |
13981|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13982|     32|    assert(_PyUnicode_CheckConsistency(self, 1));
13983|       |#ifdef Py_DEBUG
13984|       |    _PyUnicode_HASH(self) = _PyUnicode_HASH(unicode);
13985|       |#endif
13986|     32|    return self;
13987|       |
13988|      0|onError:
13989|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13990|       |    return NULL;
13991|     32|}
unicodeobject.c:unicode_vectorcall:
13872|    328|{
13873|    328|    assert(Py_Is(_PyType_CAST(type), &PyUnicode_Type));
13874|       |
13875|    328|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|    328|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
13876|    328|    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 (13876:9): [True: 0, False: 328]
  |  Branch (13876:28): [True: 0, False: 0]
  ------------------
13877|       |        // Fallback to unicode_new()
13878|      0|        PyObject *tuple = PyTuple_FromArray(args, nargs);
13879|      0|        if (tuple == NULL) {
  ------------------
  |  Branch (13879:13): [True: 0, False: 0]
  ------------------
13880|      0|            return NULL;
13881|      0|        }
13882|      0|        PyObject *dict = _PyStack_AsDict(args + nargs, kwnames);
13883|      0|        if (dict == NULL) {
  ------------------
  |  Branch (13883:13): [True: 0, False: 0]
  ------------------
13884|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13885|      0|            return NULL;
13886|      0|        }
13887|      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))
  |  |  ------------------
  ------------------
13888|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13889|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
13890|      0|        return ret;
13891|      0|    }
13892|    328|    if (!_PyArg_CheckPositional("str", nargs, 0, 3)) {
  ------------------
  |  |   31|    328|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 328, False: 0]
  |  |  |  Branch (31:27): [True: 328, False: 0]
  |  |  ------------------
  |  |   32|    328|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
13893|      0|        return NULL;
13894|      0|    }
13895|    328|    if (nargs == 0) {
  ------------------
  |  Branch (13895:9): [True: 3, False: 325]
  ------------------
13896|      3|        return _PyUnicode_GetEmpty();
13897|      3|    }
13898|    325|    PyObject *object = args[0];
13899|    325|    if (nargs == 1) {
  ------------------
  |  Branch (13899:9): [True: 313, False: 12]
  ------------------
13900|    313|        return PyObject_Str(object);
13901|    313|    }
13902|     12|    const char *encoding = arg_as_utf8(args[1], "encoding");
13903|     12|    if (encoding == NULL) {
  ------------------
  |  Branch (13903:9): [True: 0, False: 12]
  ------------------
13904|      0|        return NULL;
13905|      0|    }
13906|     12|    const char *errors = NULL;
13907|     12|    if (nargs == 3) {
  ------------------
  |  Branch (13907:9): [True: 0, False: 12]
  ------------------
13908|      0|        errors = arg_as_utf8(args[2], "errors");
13909|      0|        if (errors == NULL) {
  ------------------
  |  Branch (13909:13): [True: 0, False: 0]
  ------------------
13910|      0|            return NULL;
13911|      0|        }
13912|      0|    }
13913|     12|    return PyUnicode_FromEncodedObject(object, encoding, errors);
13914|     12|}
unicodeobject.c:arg_as_utf8:
13859|     12|{
13860|     12|    if (!PyUnicode_Check(obj)) {
  ------------------
  |  |  103|     12|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     12|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (13860:9): [True: 0, False: 12]
  ------------------
13861|      0|        PyErr_Format(PyExc_TypeError,
13862|      0|                     "str() argument '%s' must be str, not %T",
13863|      0|                     name, obj);
13864|      0|        return NULL;
13865|      0|    }
13866|     12|    return _PyUnicode_AsUTF8NoNUL(obj);
13867|     12|}
unicodeobject.c:unicode_iteritem:
13995|  8.18k|{
13996|  8.18k|    if (index >= PyUnicode_GET_LENGTH(obj)) {
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (13996:9): [True: 4.01k, False: 4.16k]
  ------------------
13997|  4.01k|        return (_PyObjectIndexPair) { .object = NULL, .index = index };
13998|  4.01k|    }
13999|  4.16k|    const void *data = PyUnicode_DATA(obj);
  ------------------
  |  |  284|  4.16k|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.16k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.16k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14000|  4.16k|    int kind = PyUnicode_KIND(obj);
  ------------------
  |  |  258|  4.16k|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|  4.16k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
14001|  4.16k|    Py_UCS4 ch = PyUnicode_READ(kind, data, index);
  ------------------
  |  |  354|  4.16k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  4.16k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  4.16k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  4.16k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  4.16k|                   (index))
  ------------------
14002|  4.16k|    PyObject *result = unicode_char(ch);
14003|  4.16k|    index = (result == NULL) ? -1 : index + 1;
  ------------------
  |  Branch (14003:13): [True: 0, False: 4.16k]
  ------------------
14004|  4.16k|    return (_PyObjectIndexPair) { .object = result, .index = index };
14005|  8.18k|}
unicodeobject.c:_init_global_state:
14079|      2|{
14080|      2|    static int initialized = 0;
14081|      2|    if (initialized) {
  ------------------
  |  Branch (14081:9): [True: 0, False: 2]
  ------------------
14082|      0|        return;
14083|      0|    }
14084|      2|    initialized = 1;
14085|       |
14086|       |    /* initialize the linebreak bloom filter */
14087|      2|    const Py_UCS2 linebreak[] = {
14088|      2|        0x000A, /* LINE FEED */
14089|      2|        0x000D, /* CARRIAGE RETURN */
14090|      2|        0x001C, /* FILE SEPARATOR */
14091|      2|        0x001D, /* GROUP SEPARATOR */
14092|      2|        0x001E, /* RECORD SEPARATOR */
14093|      2|        0x0085, /* NEXT LINE */
14094|      2|        0x2028, /* LINE SEPARATOR */
14095|      2|        0x2029, /* PARAGRAPH SEPARATOR */
14096|      2|    };
14097|      2|    bloom_linebreak = make_bloom_mask(
14098|      2|        PyUnicode_2BYTE_KIND, linebreak,
14099|      2|        Py_ARRAY_LENGTH(linebreak));
  ------------------
  |  |  196|      2|    (sizeof(array) / sizeof((array)[0]))
  ------------------
14100|      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
  |  |  ------------------
  |  |  |  |  919|    512|    ((CH) < 128 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (919:6): [True: 256, False: 256]
  |  |  |  |  ------------------
  |  |  |  |  920|    512|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|    256|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|    256|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  921|    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|   957k|{
  256|   957k|    return unicode_hash((PyObject *)key);
  257|   957k|}
unicodeobject.c:hashtable_unicode_compare:
  261|   208k|{
  262|   208k|    PyObject *obj1 = (PyObject *)key1;
  263|   208k|    PyObject *obj2 = (PyObject *)key2;
  264|   208k|    if (obj1 != NULL && obj2 != NULL) {
  ------------------
  |  Branch (264:9): [True: 208k, False: 0]
  |  Branch (264:25): [True: 208k, False: 0]
  ------------------
  265|   208k|        return unicode_eq(obj1, obj2);
  266|   208k|    }
  267|      0|    else {
  268|      0|        return obj1 == obj2;
  269|      0|    }
  270|   208k|}
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:
14152|  2.23k|{
14153|       |    // Note that this steals a reference to `s`, but in many cases that
14154|       |    // stolen ref is returned, requiring no decref/incref.
14155|       |
14156|  2.23k|    assert(s != NULL);
14157|  2.23k|    assert(_PyUnicode_CHECK(s));
14158|  2.23k|    assert(_PyUnicode_STATE(s).statically_allocated);
14159|  2.23k|    assert(!PyUnicode_CHECK_INTERNED(s));
14160|       |
14161|       |#ifdef Py_DEBUG
14162|       |    /* We must not add process-global interned string if there's already a
14163|       |     * per-interpreter interned_dict, which might contain duplicates.
14164|       |     */
14165|       |    PyObject *interned = get_interned_dict(interp);
14166|       |    assert(interned == NULL);
14167|       |#endif
14168|       |
14169|       |    /* Look in the global cache first. */
14170|  2.23k|    PyObject *r = (PyObject *)_Py_hashtable_get(INTERNED_STRINGS, s);
  ------------------
  |  |  219|  2.23k|#define INTERNED_STRINGS _PyRuntime.cached_objects.interned_strings
  ------------------
14171|       |    /* We should only init each string once */
14172|  2.23k|    assert(r == NULL);
14173|       |    /* but just in case (for the non-debug build), handle this */
14174|  2.23k|    if (r != NULL && r != s) {
  ------------------
  |  Branch (14174:9): [True: 0, False: 2.23k]
  |  Branch (14174:22): [True: 0, False: 0]
  ------------------
14175|      0|        assert(_PyUnicode_STATE(r).interned == SSTATE_INTERNED_IMMORTAL_STATIC);
14176|      0|        assert(_PyUnicode_CHECK(r));
14177|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14178|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14179|      0|    }
14180|       |
14181|  2.23k|    if (_Py_hashtable_set(INTERNED_STRINGS, s, s) < -1) {
  ------------------
  |  |  219|  2.23k|#define INTERNED_STRINGS _PyRuntime.cached_objects.interned_strings
  ------------------
  |  Branch (14181:9): [True: 0, False: 2.23k]
  ------------------
14182|      0|        Py_FatalError("failed to intern static string");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
14183|      0|    }
14184|       |
14185|  2.23k|    _PyUnicode_STATE(s).interned = SSTATE_INTERNED_IMMORTAL_STATIC;
  ------------------
  |  |  153|  2.23k|    (_PyASCIIObject_CAST(op)->state)
  |  |  ------------------
  |  |  |  |  186|  2.23k|    (assert(PyUnicode_Check(op)), \
  |  |  |  |  187|  2.23k|     _Py_CAST(PyASCIIObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.23k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  _PyUnicode_STATE(s).interned = SSTATE_INTERNED_IMMORTAL_STATIC;
  ------------------
  |  |  204|  2.23k|#define SSTATE_INTERNED_IMMORTAL_STATIC 3
  ------------------
14186|  2.23k|    return s;
14187|  2.23k|}
unicodeobject.c:intern_common:
14234|  9.12M|{
14235|       |    // Note that this steals a reference to `s`, but in many cases that
14236|       |    // stolen ref is returned, requiring no decref/incref.
14237|       |
14238|       |#ifdef Py_DEBUG
14239|       |    assert(s != NULL);
14240|       |    assert(_PyUnicode_CHECK(s));
14241|       |#else
14242|  9.12M|    if (s == NULL || !PyUnicode_Check(s)) {
  ------------------
  |  |  103|  9.12M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  9.12M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (14242:9): [True: 0, False: 9.12M]
  |  Branch (14242:22): [True: 0, False: 9.12M]
  ------------------
14243|      0|        return s;
14244|      0|    }
14245|  9.12M|#endif
14246|       |
14247|       |    /* If it's a subclass, we don't really know what putting
14248|       |       it in the interned dict might do. */
14249|  9.12M|    if (!PyUnicode_CheckExact(s)) {
  ------------------
  |  |  104|  9.12M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  9.12M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  9.12M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  9.12M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14249:9): [True: 0, False: 9.12M]
  ------------------
14250|      0|        return s;
14251|      0|    }
14252|       |
14253|       |    /* Is it already interned? */
14254|  9.12M|    switch (PyUnicode_CHECK_INTERNED(s)) {
  ------------------
  |  |  214|  9.12M|#define PyUnicode_CHECK_INTERNED(op) PyUnicode_CHECK_INTERNED(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.12M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.12M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14255|   952k|        case SSTATE_NOT_INTERNED:
  ------------------
  |  |  201|   952k|#define SSTATE_NOT_INTERNED 0
  ------------------
  |  Branch (14255:9): [True: 952k, False: 8.17M]
  ------------------
14256|       |            // no, go on
14257|   952k|            break;
14258|  6.40k|        case SSTATE_INTERNED_MORTAL:
  ------------------
  |  |  202|  6.40k|#define SSTATE_INTERNED_MORTAL 1
  ------------------
  |  Branch (14258:9): [True: 6.40k, False: 9.11M]
  ------------------
14259|  6.40k|#ifndef Py_GIL_DISABLED
14260|       |            // yes but we might need to make it immortal
14261|  6.40k|            if (immortalize) {
  ------------------
  |  Branch (14261:17): [True: 0, False: 6.40k]
  ------------------
14262|      0|                immortalize_interned(s);
14263|      0|            }
14264|  6.40k|            return s;
14265|       |#else
14266|       |            // not fully interned yet; fall through to the locking path
14267|       |            break;
14268|       |#endif
14269|  8.16M|        default:
  ------------------
  |  Branch (14269:9): [True: 8.16M, False: 959k]
  ------------------
14270|       |            // all done
14271|  8.16M|            return s;
14272|  9.12M|    }
14273|       |
14274|       |    /* Statically allocated strings must be already interned. */
14275|  9.12M|    assert(!_PyUnicode_STATE(s).statically_allocated);
14276|       |
14277|       |#if Py_GIL_DISABLED
14278|       |    /* In the free-threaded build, all interned strings are immortal */
14279|       |    immortalize = 1;
14280|       |#endif
14281|       |
14282|       |    /* If it's already immortal, intern it as such */
14283|   952k|    if (_Py_IsImmortal(s)) {
  ------------------
  |  |  137|   952k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   952k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   952k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 952k]
  |  |  ------------------
  ------------------
14284|      0|        immortalize = 1;
14285|      0|    }
14286|       |
14287|       |    /* if it's a short string, get the singleton */
14288|   952k|    if (PyUnicode_GET_LENGTH(s) == 1 &&
  ------------------
  |  |  299|   952k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   952k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   952k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14288:9): [True: 0, False: 952k]
  ------------------
14289|      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 (14289:17): [True: 0, False: 0]
  ------------------
14290|      0|        PyObject *r = LATIN1(*(unsigned char*)PyUnicode_DATA(s));
  ------------------
  |  |  184|      0|#define LATIN1 _Py_LATIN1_CHR
  |  |  ------------------
  |  |  |  |  919|      0|    ((CH) < 128 \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (919:6): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  920|      0|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  921|      0|     : (PyObject*)&_Py_SINGLETON(strings).latin1[(CH) - 128])
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14291|      0|        assert(PyUnicode_CHECK_INTERNED(r));
14292|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14293|      0|        return r;
14294|      0|    }
14295|       |#ifdef Py_DEBUG
14296|       |    assert(!unicode_is_singleton(s));
14297|       |#endif
14298|       |
14299|       |    /* Look in the global cache now. */
14300|   952k|    {
14301|   952k|        PyObject *r = (PyObject *)_Py_hashtable_get(INTERNED_STRINGS, s);
  ------------------
  |  |  219|   952k|#define INTERNED_STRINGS _PyRuntime.cached_objects.interned_strings
  ------------------
14302|   952k|        if (r != NULL) {
  ------------------
  |  Branch (14302:13): [True: 208k, False: 744k]
  ------------------
14303|   208k|            assert(_PyUnicode_STATE(r).statically_allocated);
14304|   208k|            assert(r != s);  // r must be statically_allocated; s is not
14305|   208k|            Py_DECREF(s);
  ------------------
  |  |  430|   208k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   208k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   208k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14306|   208k|            return Py_NewRef(r);
  ------------------
  |  |  550|   208k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   208k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   208k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14307|   208k|        }
14308|   952k|    }
14309|       |
14310|       |    /* Do a setdefault on the per-interpreter cache. */
14311|   744k|    PyObject *interned = get_interned_dict(interp);
14312|   744k|    assert(interned != NULL);
14313|       |#ifdef Py_GIL_DISABLED
14314|       |#  define INTERN_MUTEX &_Py_INTERP_CACHED_OBJECT(interp, interned_mutex)
14315|       |    // Lock-free fast path: check if there's already an interned copy that
14316|       |    // is in its final immortal state.
14317|       |    PyObject *r;
14318|       |    int res = PyDict_GetItemRef(interned, s, &r);
14319|       |    if (res < 0) {
14320|       |        PyErr_Clear();
14321|       |        return s;
14322|       |    }
14323|       |    if (res > 0) {
14324|       |        unsigned int state = _Py_atomic_load_uint8(&_PyUnicode_STATE(r).interned);
14325|       |        if (state == SSTATE_INTERNED_IMMORTAL) {
14326|       |            Py_DECREF(s);
14327|       |            return r;
14328|       |        }
14329|       |        // Not yet fully interned; fall through to the locking path.
14330|       |        Py_DECREF(r);
14331|       |    }
14332|       |#endif
14333|       |
14334|       |#ifdef Py_GIL_DISABLED
14335|       |    // Immortalization writes to the refcount fields non-atomically. That
14336|       |    // races with Py_INCREF / Py_DECREF on the thread that owns `s`. If we
14337|       |    // don't own it (and its refcount hasn't been merged), intern a copy
14338|       |    // we own instead.
14339|       |    if (!can_immortalize_safely(s)) {
14340|       |        PyObject *copy = _PyUnicode_Copy(s);
14341|       |        if (copy == NULL) {
14342|       |            PyErr_Clear();
14343|       |            return s;
14344|       |        }
14345|       |        Py_DECREF(s);
14346|       |        s = copy;
14347|       |    }
14348|       |#endif
14349|       |
14350|   744k|    FT_MUTEX_LOCK(INTERN_MUTEX);
  ------------------
  |  |  203|   744k|#define FT_MUTEX_LOCK(lock) do {} while (0)
  |  |  ------------------
  |  |  |  Branch (203:42): [Folded, False: 744k]
  |  |  ------------------
  ------------------
14351|   744k|    PyObject *t;
14352|   744k|    {
14353|   744k|        int res = PyDict_SetDefaultRef(interned, s, s, &t);
14354|   744k|        if (res < 0) {
  ------------------
  |  Branch (14354:13): [True: 0, False: 744k]
  ------------------
14355|      0|            PyErr_Clear();
14356|      0|            FT_MUTEX_UNLOCK(INTERN_MUTEX);
  ------------------
  |  |  204|      0|#define FT_MUTEX_UNLOCK(lock) do {} while (0)
  |  |  ------------------
  |  |  |  Branch (204:44): [Folded, False: 0]
  |  |  ------------------
  ------------------
14357|      0|            return s;
14358|      0|        }
14359|   744k|        else if (res == 1) {
  ------------------
  |  Branch (14359:18): [True: 682k, False: 62.0k]
  ------------------
14360|       |            // value was already present (not inserted)
14361|   682k|            Py_DECREF(s);
  ------------------
  |  |  430|   682k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   682k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   682k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14362|   682k|            if (immortalize &&
  ------------------
  |  Branch (14362:17): [True: 497k, False: 184k]
  ------------------
14363|   497k|                    PyUnicode_CHECK_INTERNED(t) == SSTATE_INTERNED_MORTAL) {
  ------------------
  |  |  214|   497k|#define PyUnicode_CHECK_INTERNED(op) PyUnicode_CHECK_INTERNED(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   497k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   497k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                                  PyUnicode_CHECK_INTERNED(t) == SSTATE_INTERNED_MORTAL) {
  ------------------
  |  |  202|   497k|#define SSTATE_INTERNED_MORTAL 1
  ------------------
  |  Branch (14363:21): [True: 1.10k, False: 496k]
  ------------------
14364|  1.10k|                immortalize_interned(t);
14365|  1.10k|            }
14366|   682k|            FT_MUTEX_UNLOCK(INTERN_MUTEX);
  ------------------
  |  |  204|   682k|#define FT_MUTEX_UNLOCK(lock) do {} while (0)
  |  |  ------------------
  |  |  |  Branch (204:44): [Folded, False: 682k]
  |  |  ------------------
  ------------------
14367|   682k|            return t;
14368|   682k|        }
14369|  62.0k|        else {
14370|       |            // value was newly inserted
14371|  62.0k|            assert (s == t);
14372|  62.0k|            Py_DECREF(t);
  ------------------
  |  |  430|  62.0k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  62.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  62.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14373|  62.0k|        }
14374|   744k|    }
14375|       |
14376|       |    /* NOT_INTERNED -> INTERNED_MORTAL */
14377|       |
14378|   744k|    assert(_PyUnicode_STATE(s).interned == SSTATE_NOT_INTERNED);
14379|       |
14380|  62.0k|    if (!_Py_IsImmortal(s)) {
  ------------------
  |  |  137|  62.0k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  62.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  62.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (14380:9): [True: 62.0k, False: 0]
  ------------------
14381|       |        /* The two references in interned dict (key and value) are not counted.
14382|       |        unicode_dealloc() and _PyUnicode_ClearInterned() take care of this. */
14383|  62.0k|        Py_DECREF(s);
  ------------------
  |  |  430|  62.0k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  62.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  62.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14384|  62.0k|        Py_DECREF(s);
  ------------------
  |  |  430|  62.0k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  62.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  62.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14385|  62.0k|    }
14386|  62.0k|    FT_ATOMIC_STORE_UINT8(_PyUnicode_STATE(s).interned, SSTATE_INTERNED_MORTAL);
  ------------------
  |  |  154|  62.0k|#define FT_ATOMIC_STORE_UINT8(value, new_value) value = new_value
  ------------------
14387|       |
14388|       |    /* INTERNED_MORTAL -> INTERNED_IMMORTAL (if needed) */
14389|       |
14390|       |#ifdef Py_DEBUG
14391|       |    if (_Py_IsImmortal(s)) {
14392|       |        assert(immortalize);
14393|       |    }
14394|       |#endif
14395|  62.0k|    if (immortalize) {
  ------------------
  |  Branch (14395:9): [True: 50.3k, False: 11.7k]
  ------------------
14396|  50.3k|        immortalize_interned(s);
14397|  50.3k|    }
14398|       |
14399|  62.0k|    FT_MUTEX_UNLOCK(INTERN_MUTEX);
  ------------------
  |  |  204|  62.0k|#define FT_MUTEX_UNLOCK(lock) do {} while (0)
  |  |  ------------------
  |  |  |  Branch (204:44): [Folded, False: 62.0k]
  |  |  ------------------
  ------------------
14400|  62.0k|    return s;
14401|   744k|}
unicodeobject.c:immortalize_interned:
14201|  51.4k|{
14202|  51.4k|    assert(PyUnicode_CHECK_INTERNED(s) == SSTATE_INTERNED_MORTAL);
14203|  51.4k|    assert(!_Py_IsImmortal(s));
14204|       |#ifdef Py_REF_DEBUG
14205|       |    /* The reference count value should be excluded from the RefTotal.
14206|       |       The decrements to these objects will not be registered so they
14207|       |       need to be accounted for in here. */
14208|       |    for (Py_ssize_t i = 0; i < Py_REFCNT(s); i++) {
14209|       |        _Py_DecRefTotal(_PyThreadState_GET());
14210|       |    }
14211|       |#endif
14212|  51.4k|    _Py_SetImmortal(s);
14213|       |    // The switch to SSTATE_INTERNED_IMMORTAL must be the last thing done here
14214|       |    // to synchronize with the check in intern_common() that avoids locking if
14215|       |    // the string is already immortal.
14216|  51.4k|    FT_ATOMIC_STORE_UINT8(_PyUnicode_STATE(s).interned, SSTATE_INTERNED_IMMORTAL);
  ------------------
  |  |  154|  51.4k|#define FT_ATOMIC_STORE_UINT8(value, new_value) value = new_value
  ------------------
14217|  51.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:
14553|    200|{
14554|    200|    unicodeiterobject *it = (unicodeiterobject *)op;
14555|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14556|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14557|    200|    PyObject_GC_Del(it);
14558|    200|}
unicodeobject.c:unicodeiter_len:
14618|      4|{
14619|      4|    unicodeiterobject *it = (unicodeiterobject *)op;
14620|      4|    Py_ssize_t len = 0;
14621|      4|    if (it->it_seq)
  ------------------
  |  Branch (14621:9): [True: 4, False: 0]
  ------------------
14622|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14623|      4|    return PyLong_FromSsize_t(len);
14624|      4|}
unicodeobject.c:unicode_ascii_iter_next:
14595|    822|{
14596|    822|    unicodeiterobject *it = (unicodeiterobject *)op;
14597|    822|    assert(it != NULL);
14598|    822|    PyObject *seq = it->it_seq;
14599|    822|    if (seq == NULL) {
  ------------------
  |  Branch (14599:9): [True: 0, False: 822]
  ------------------
14600|      0|        return NULL;
14601|      0|    }
14602|    822|    assert(_PyUnicode_CHECK(seq));
14603|    822|    assert(PyUnicode_IS_COMPACT_ASCII(seq));
14604|    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 (14604:9): [True: 654, False: 168]
  ------------------
14605|    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))
  |  |  ------------------
  ------------------
14606|    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))
  ------------------
14607|    654|                                              data, it->it_index);
14608|    654|        it->it_index++;
14609|    654|        return (PyObject*)&_Py_SINGLETON(strings).ascii[chr];
  ------------------
  |  |   18|    654|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|    654|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
14610|    654|    }
14611|    168|    it->it_seq = NULL;
14612|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14613|       |    return NULL;
14614|    822|}
unicodeobject.c:unicode_iter:
14726|    200|{
14727|    200|    unicodeiterobject *it;
14728|       |
14729|    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 (14729:9): [True: 0, False: 200]
  ------------------
14730|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
14731|      0|        return NULL;
14732|      0|    }
14733|    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]
  |  |  ------------------
  ------------------
14734|    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))
  |  |  ------------------
  ------------------
14735|    200|    }
14736|      0|    else {
14737|      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))
  |  |  ------------------
  ------------------
14738|      0|    }
14739|    200|    if (it == NULL)
  ------------------
  |  Branch (14739:9): [True: 0, False: 200]
  ------------------
14740|      0|        return NULL;
14741|    200|    it->it_index = 0;
14742|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14743|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14744|    200|    return (PyObject *)it;
14745|    200|}
unicodeobject.c:init_fs_encoding:
14883|      2|{
14884|      2|    PyInterpreterState *interp = tstate->interp;
14885|       |
14886|       |    /* Update the filesystem encoding to the normalized Python codec name.
14887|       |       For example, replace "ANSI_X3.4-1968" (locale encoding) with "ascii"
14888|       |       (Python codec name). */
14889|      2|    PyConfig *config = (PyConfig*)_PyInterpreterState_GetConfig(interp);
14890|      2|    if (config_get_codec_name(&config->filesystem_encoding) < 0) {
  ------------------
  |  Branch (14890:9): [True: 0, False: 2]
  ------------------
14891|      0|        _Py_DumpPathConfig(tstate);
14892|      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)}
  ------------------
14893|      0|                             "of the filesystem encoding");
14894|      0|    }
14895|       |
14896|      2|    if (init_fs_codec(interp) < 0) {
  ------------------
  |  Branch (14896:9): [True: 0, False: 2]
  ------------------
14897|      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)}
  ------------------
14898|      0|    }
14899|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
14900|      2|}
unicodeobject.c:config_get_codec_name:
14766|      4|{
14767|      4|    char *encoding;
14768|      4|    if (encode_wstr_utf8(*config_encoding, &encoding, "stdio_encoding") < 0) {
  ------------------
  |  Branch (14768:9): [True: 0, False: 4]
  ------------------
14769|      0|        return -1;
14770|      0|    }
14771|       |
14772|      4|    PyObject *name_obj = NULL;
14773|      4|    PyObject *codec = _PyCodec_Lookup(encoding);
14774|      4|    PyMem_RawFree(encoding);
14775|       |
14776|      4|    if (!codec)
  ------------------
  |  Branch (14776:9): [True: 0, False: 4]
  ------------------
14777|      0|        goto error;
14778|       |
14779|      4|    name_obj = PyObject_GetAttrString(codec, "name");
14780|      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]
  |  |  ------------------
  ------------------
14781|      4|    if (!name_obj) {
  ------------------
  |  Branch (14781:9): [True: 0, False: 4]
  ------------------
14782|      0|        goto error;
14783|      0|    }
14784|       |
14785|      4|    wchar_t *wname = PyUnicode_AsWideCharString(name_obj, NULL);
14786|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14787|      4|    if (wname == NULL) {
  ------------------
  |  Branch (14787:9): [True: 0, False: 4]
  ------------------
14788|      0|        goto error;
14789|      0|    }
14790|       |
14791|      4|    wchar_t *raw_wname = _PyMem_RawWcsdup(wname);
14792|      4|    if (raw_wname == NULL) {
  ------------------
  |  Branch (14792:9): [True: 0, False: 4]
  ------------------
14793|      0|        PyMem_Free(wname);
14794|      0|        PyErr_NoMemory();
14795|      0|        goto error;
14796|      0|    }
14797|       |
14798|      4|    PyMem_RawFree(*config_encoding);
14799|      4|    *config_encoding = raw_wname;
14800|       |
14801|      4|    PyMem_Free(wname);
14802|      4|    return 0;
14803|       |
14804|      0|error:
14805|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14806|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
14807|      0|    return -1;
14808|      4|}
unicodeobject.c:encode_wstr_utf8:
14749|      8|{
14750|      8|    int res;
14751|      8|    res = _Py_EncodeUTF8Ex(wstr, str, NULL, NULL, 1, _Py_ERROR_STRICT);
14752|      8|    if (res == -2) {
  ------------------
  |  Branch (14752:9): [True: 0, False: 8]
  ------------------
14753|      0|        PyErr_Format(PyExc_RuntimeError, "cannot encode %s", name);
14754|      0|        return -1;
14755|      0|    }
14756|      8|    if (res < 0) {
  ------------------
  |  Branch (14756:9): [True: 0, False: 8]
  ------------------
14757|      0|        PyErr_NoMemory();
14758|      0|        return -1;
14759|      0|    }
14760|      8|    return 0;
14761|      8|}
unicodeobject.c:init_fs_codec:
14826|      2|{
14827|      2|    const PyConfig *config = _PyInterpreterState_GetConfig(interp);
14828|       |
14829|      2|    _Py_error_handler error_handler;
14830|      2|    error_handler = get_error_handler_wide(config->filesystem_errors);
14831|      2|    if (error_handler == _Py_ERROR_UNKNOWN) {
  ------------------
  |  Branch (14831:9): [True: 0, False: 2]
  ------------------
14832|      0|        PyErr_SetString(PyExc_RuntimeError, "unknown filesystem error handler");
14833|      0|        return -1;
14834|      0|    }
14835|       |
14836|      2|    char *encoding, *errors;
14837|      2|    if (encode_wstr_utf8(config->filesystem_encoding,
  ------------------
  |  Branch (14837:9): [True: 0, False: 2]
  ------------------
14838|      2|                         &encoding,
14839|      2|                         "filesystem_encoding") < 0) {
14840|      0|        return -1;
14841|      0|    }
14842|       |
14843|      2|    if (encode_wstr_utf8(config->filesystem_errors,
  ------------------
  |  Branch (14843:9): [True: 0, False: 2]
  ------------------
14844|      2|                         &errors,
14845|      2|                         "filesystem_errors") < 0) {
14846|      0|        PyMem_RawFree(encoding);
14847|      0|        return -1;
14848|      0|    }
14849|       |
14850|      2|    struct _Py_unicode_fs_codec *fs_codec = &interp->unicode.fs_codec;
14851|      2|    PyMem_RawFree(fs_codec->encoding);
14852|      2|    fs_codec->encoding = encoding;
14853|       |    /* encoding has been normalized by init_fs_encoding() */
14854|      2|    fs_codec->utf8 = (strcmp(encoding, "utf-8") == 0);
14855|      2|    PyMem_RawFree(fs_codec->errors);
14856|      2|    fs_codec->errors = errors;
14857|      2|    fs_codec->error_handler = error_handler;
14858|       |
14859|       |#ifdef _Py_FORCE_UTF8_FS_ENCODING
14860|       |    assert(fs_codec->utf8 == 1);
14861|       |#endif
14862|       |
14863|       |    /* At this point, PyUnicode_EncodeFSDefault() and
14864|       |       PyUnicode_DecodeFSDefault() can now use the Python codec rather than
14865|       |       the C implementation of the filesystem encoding. */
14866|       |
14867|       |    /* Set Py_FileSystemDefaultEncoding and Py_FileSystemDefaultEncodeErrors
14868|       |       global configuration variables. */
14869|      2|    if (_Py_IsMainInterpreter(interp)) {
  ------------------
  |  Branch (14869:9): [True: 2, False: 0]
  ------------------
14870|       |
14871|      2|        if (_Py_SetFileSystemEncoding(fs_codec->encoding,
  ------------------
  |  Branch (14871:13): [True: 0, False: 2]
  ------------------
14872|      2|                                      fs_codec->errors) < 0) {
14873|      0|            PyErr_NoMemory();
14874|      0|            return -1;
14875|      0|        }
14876|      2|    }
14877|      2|    return 0;
14878|      2|}
unicodeobject.c:init_stdio_encoding:
14813|      2|{
14814|       |    /* Update the stdio encoding to the normalized Python codec name. */
14815|      2|    PyConfig *config = (PyConfig*)_PyInterpreterState_GetConfig(interp);
14816|      2|    if (config_get_codec_name(&config->stdio_encoding) < 0) {
  ------------------
  |  Branch (14816:9): [True: 0, False: 2]
  ------------------
14817|      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)}
  ------------------
14818|      0|                             "of the stdio encoding");
14819|      0|    }
14820|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
14821|      2|}

_PyUnicode_IsWhitespace:
 6547|      1|{
 6548|      1|    switch (ch) {
  ------------------
  |  Branch (6548:13): [True: 0, False: 1]
  ------------------
 6549|      0|    case 0x0009:
  ------------------
  |  Branch (6549:5): [True: 0, False: 1]
  ------------------
 6550|      0|    case 0x000A:
  ------------------
  |  Branch (6550:5): [True: 0, False: 1]
  ------------------
 6551|      0|    case 0x000B:
  ------------------
  |  Branch (6551:5): [True: 0, False: 1]
  ------------------
 6552|      0|    case 0x000C:
  ------------------
  |  Branch (6552:5): [True: 0, False: 1]
  ------------------
 6553|      0|    case 0x000D:
  ------------------
  |  Branch (6553:5): [True: 0, False: 1]
  ------------------
 6554|      0|    case 0x001C:
  ------------------
  |  Branch (6554:5): [True: 0, False: 1]
  ------------------
 6555|      0|    case 0x001D:
  ------------------
  |  Branch (6555:5): [True: 0, False: 1]
  ------------------
 6556|      0|    case 0x001E:
  ------------------
  |  Branch (6556:5): [True: 0, False: 1]
  ------------------
 6557|      0|    case 0x001F:
  ------------------
  |  Branch (6557:5): [True: 0, False: 1]
  ------------------
 6558|      0|    case 0x0020:
  ------------------
  |  Branch (6558:5): [True: 0, False: 1]
  ------------------
 6559|      0|    case 0x0085:
  ------------------
  |  Branch (6559:5): [True: 0, False: 1]
  ------------------
 6560|      0|    case 0x00A0:
  ------------------
  |  Branch (6560:5): [True: 0, False: 1]
  ------------------
 6561|      0|    case 0x1680:
  ------------------
  |  Branch (6561:5): [True: 0, False: 1]
  ------------------
 6562|      0|    case 0x2000:
  ------------------
  |  Branch (6562:5): [True: 0, False: 1]
  ------------------
 6563|      0|    case 0x2001:
  ------------------
  |  Branch (6563:5): [True: 0, False: 1]
  ------------------
 6564|      0|    case 0x2002:
  ------------------
  |  Branch (6564:5): [True: 0, False: 1]
  ------------------
 6565|      0|    case 0x2003:
  ------------------
  |  Branch (6565:5): [True: 0, False: 1]
  ------------------
 6566|      0|    case 0x2004:
  ------------------
  |  Branch (6566:5): [True: 0, False: 1]
  ------------------
 6567|      0|    case 0x2005:
  ------------------
  |  Branch (6567:5): [True: 0, False: 1]
  ------------------
 6568|      0|    case 0x2006:
  ------------------
  |  Branch (6568:5): [True: 0, False: 1]
  ------------------
 6569|      0|    case 0x2007:
  ------------------
  |  Branch (6569:5): [True: 0, False: 1]
  ------------------
 6570|      0|    case 0x2008:
  ------------------
  |  Branch (6570:5): [True: 0, False: 1]
  ------------------
 6571|      0|    case 0x2009:
  ------------------
  |  Branch (6571:5): [True: 0, False: 1]
  ------------------
 6572|      0|    case 0x200A:
  ------------------
  |  Branch (6572:5): [True: 0, False: 1]
  ------------------
 6573|      0|    case 0x2028:
  ------------------
  |  Branch (6573:5): [True: 0, False: 1]
  ------------------
 6574|      0|    case 0x2029:
  ------------------
  |  Branch (6574:5): [True: 0, False: 1]
  ------------------
 6575|      0|    case 0x202F:
  ------------------
  |  Branch (6575:5): [True: 0, False: 1]
  ------------------
 6576|      0|    case 0x205F:
  ------------------
  |  Branch (6576:5): [True: 0, False: 1]
  ------------------
 6577|      0|    case 0x3000:
  ------------------
  |  Branch (6577:5): [True: 0, False: 1]
  ------------------
 6578|      0|        return 1;
 6579|      1|    }
 6580|      1|    return 0;
 6581|      1|}

_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) ||
  ------------------
  |  |   12|    158|#define PySentinel_Check(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.85k|{
   37|  2.85k|    unionobject *alias = (unionobject *)self;
   38|  2.85k|    Py_VISIT(alias->args);
  ------------------
  |  |  194|  2.85k|    do {                                                                \
  |  |  195|  2.85k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 2.85k, False: 0]
  |  |  ------------------
  |  |  196|  2.85k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  2.85k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.85k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  2.85k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 2.85k]
  |  |  ------------------
  |  |  198|  2.85k|                return vret;                                            \
  |  |  199|  2.85k|        }                                                               \
  |  |  200|  2.85k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.85k]
  |  |  ------------------
  ------------------
   39|  2.85k|    Py_VISIT(alias->hashable_args);
  ------------------
  |  |  194|  2.85k|    do {                                                                \
  |  |  195|  2.85k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 2.85k, False: 0]
  |  |  ------------------
  |  |  196|  2.85k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  2.85k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.85k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  2.85k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 2.85k]
  |  |  ------------------
  |  |  198|  2.85k|                return vret;                                            \
  |  |  199|  2.85k|        }                                                               \
  |  |  200|  2.85k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.85k]
  |  |  ------------------
  ------------------
   40|  2.85k|    Py_VISIT(alias->unhashable_args);
  ------------------
  |  |  194|  2.85k|    do {                                                                \
  |  |  195|  2.85k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 0, False: 2.85k]
  |  |  ------------------
  |  |  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.85k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.85k]
  |  |  ------------------
  ------------------
   41|  2.85k|    Py_VISIT(alias->parameters);
  ------------------
  |  |  194|  2.85k|    do {                                                                \
  |  |  195|  2.85k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 76, False: 2.77k]
  |  |  ------------------
  |  |  196|     76|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|     76|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     76|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|     76|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 76]
  |  |  ------------------
  |  |  198|     76|                return vret;                                            \
  |  |  199|     76|        }                                                               \
  |  |  200|  2.85k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 2.85k]
  |  |  ------------------
  ------------------
   42|  2.85k|    return 0;
   43|  2.85k|}
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:
  551|    434|{
  552|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  553|    434|    if (n == 0) {
  ------------------
  |  Branch (553:9): [True: 0, False: 434]
  ------------------
  554|      0|        PyErr_SetString(PyExc_TypeError, "Cannot take a Union of no types.");
  555|      0|        unionbuilder_finalize(ub);
  556|      0|        return NULL;
  557|      0|    }
  558|    434|    if (n == 1) {
  ------------------
  |  Branch (558:9): [True: 0, False: 434]
  ------------------
  559|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  560|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  561|      0|        unionbuilder_finalize(ub);
  562|      0|        return result;
  563|      0|    }
  564|       |
  565|    434|    PyObject *args = NULL, *hashable_args = NULL, *unhashable_args = NULL;
  566|    434|    args = PyList_AsTuple(ub->args);
  567|    434|    if (args == NULL) {
  ------------------
  |  Branch (567:9): [True: 0, False: 434]
  ------------------
  568|      0|        goto error;
  569|      0|    }
  570|    434|    hashable_args = PyFrozenSet_New(ub->hashable_args);
  571|    434|    if (hashable_args == NULL) {
  ------------------
  |  Branch (571:9): [True: 0, False: 434]
  ------------------
  572|      0|        goto error;
  573|      0|    }
  574|    434|    if (ub->unhashable_args != NULL) {
  ------------------
  |  Branch (574:9): [True: 0, False: 434]
  ------------------
  575|      0|        unhashable_args = PyList_AsTuple(ub->unhashable_args);
  576|      0|        if (unhashable_args == NULL) {
  ------------------
  |  Branch (576:13): [True: 0, False: 0]
  ------------------
  577|      0|            goto error;
  578|      0|        }
  579|      0|    }
  580|       |
  581|    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))
  |  |  ------------------
  ------------------
  582|    434|    if (result == NULL) {
  ------------------
  |  Branch (582:9): [True: 0, False: 434]
  ------------------
  583|      0|        goto error;
  584|      0|    }
  585|    434|    unionbuilder_finalize(ub);
  586|       |
  587|    434|    result->parameters = NULL;
  588|    434|    result->args = args;
  589|    434|    result->hashable_args = hashable_args;
  590|    434|    result->unhashable_args = unhashable_args;
  591|    434|    result->weakreflist = NULL;
  592|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  593|    434|    return (PyObject*)result;
  594|      0|error:
  595|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  596|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  597|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  598|      0|    unionbuilder_finalize(ub);
  599|       |    return NULL;
  600|    434|}

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

_PyPegen_dummy_name:
   12|  4.74k|{
   13|  4.74k|    return &_PyRuntime.parser.dummy_name;
   14|  4.74k|}
_PyPegen_singleton_seq:
   19|  14.2k|{
   20|  14.2k|    assert(a != NULL);
   21|  14.2k|    asdl_seq *seq = (asdl_seq*)_Py_asdl_generic_seq_new(1, p->arena);
   22|  14.2k|    if (!seq) {
  ------------------
  |  Branch (22:9): [True: 0, False: 14.2k]
  ------------------
   23|      0|        return NULL;
   24|      0|    }
   25|  14.2k|    asdl_seq_SET_UNTYPED(seq, 0, a);
  ------------------
  |  |  106|  14.2k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  14.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   26|  14.2k|    return seq;
   27|  14.2k|}
_PyPegen_seq_insert_in_front:
   32|  9.40k|{
   33|  9.40k|    assert(a != NULL);
   34|  9.40k|    if (!seq) {
  ------------------
  |  Branch (34:9): [True: 88, False: 9.31k]
  ------------------
   35|     88|        return _PyPegen_singleton_seq(p, a);
   36|     88|    }
   37|       |
   38|  9.31k|    asdl_seq *new_seq = (asdl_seq*)_Py_asdl_generic_seq_new(asdl_seq_LEN(seq) + 1, p->arena);
  ------------------
  |  |   83|  9.31k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  18.6k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 9.31k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   39|  9.31k|    if (!new_seq) {
  ------------------
  |  Branch (39:9): [True: 0, False: 9.31k]
  ------------------
   40|      0|        return NULL;
   41|      0|    }
   42|       |
   43|  9.31k|    asdl_seq_SET_UNTYPED(new_seq, 0, a);
  ------------------
  |  |  106|  9.31k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  9.31k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   44|  18.1k|    for (Py_ssize_t i = 1, l = asdl_seq_LEN(new_seq); i < l; i++) {
  ------------------
  |  |   83|  9.31k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  18.6k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 9.31k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (44:55): [True: 8.81k, False: 9.31k]
  ------------------
   45|  8.81k|        asdl_seq_SET_UNTYPED(new_seq, i, asdl_seq_GET_UNTYPED(seq, i - 1));
  ------------------
  |  |  106|  8.81k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  8.81k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   46|  8.81k|    }
   47|  9.31k|    return new_seq;
   48|  9.31k|}
_PyPegen_seq_flatten:
   85|  5.84k|{
   86|  5.84k|    Py_ssize_t flattened_seq_size = _get_flattened_seq_size(seqs);
   87|  5.84k|    assert(flattened_seq_size > 0);
   88|       |
   89|  5.84k|    asdl_seq *flattened_seq = (asdl_seq*)_Py_asdl_generic_seq_new(flattened_seq_size, p->arena);
   90|  5.84k|    if (!flattened_seq) {
  ------------------
  |  Branch (90:9): [True: 0, False: 5.84k]
  ------------------
   91|      0|        return NULL;
   92|      0|    }
   93|       |
   94|  5.84k|    int flattened_seq_idx = 0;
   95|  19.7k|    for (Py_ssize_t i = 0, l = asdl_seq_LEN(seqs); i < l; i++) {
  ------------------
  |  |   83|  5.84k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  11.6k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 5.84k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (95:52): [True: 13.8k, False: 5.84k]
  ------------------
   96|  13.8k|        asdl_seq *inner_seq = asdl_seq_GET_UNTYPED(seqs, i);
  ------------------
  |  |   81|  13.8k|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  13.8k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   97|  27.7k|        for (Py_ssize_t j = 0, li = asdl_seq_LEN(inner_seq); j < li; j++) {
  ------------------
  |  |   83|  13.8k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  27.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 13.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (97:62): [True: 13.8k, False: 13.8k]
  ------------------
   98|  13.8k|            asdl_seq_SET_UNTYPED(flattened_seq, flattened_seq_idx++, asdl_seq_GET_UNTYPED(inner_seq, j));
  ------------------
  |  |  106|  13.8k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  13.8k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   99|  13.8k|        }
  100|  13.8k|    }
  101|  5.84k|    assert(flattened_seq_idx == flattened_seq_size);
  102|       |
  103|  5.84k|    return flattened_seq;
  104|  5.84k|}
_PyPegen_join_names_with_dot:
  122|    188|{
  123|    188|    assert(first_name != NULL && second_name != NULL);
  124|    188|    PyObject *uni = PyUnicode_FromFormat("%U.%U",
  125|    188|            first_name->v.Name.id, second_name->v.Name.id);
  126|    188|    if (!uni) {
  ------------------
  |  Branch (126:9): [True: 0, False: 188]
  ------------------
  127|      0|        return NULL;
  128|      0|    }
  129|    188|    PyInterpreterState *interp = _PyInterpreterState_GET();
  130|    188|    _PyUnicode_InternImmortal(interp, &uni);
  131|    188|    if (_PyArena_AddPyObject(p->arena, uni) < 0) {
  ------------------
  |  Branch (131:9): [True: 0, False: 188]
  ------------------
  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|    188|    return _PyAST_Name(uni, Load, EXTRA_EXPR(first_name, second_name));
  ------------------
  |  |  268|    188|#define EXTRA_EXPR(head, tail) head->lineno, (head)->col_offset, (tail)->end_lineno, (tail)->end_col_offset, p->arena
  ------------------
  137|    188|}
_PyPegen_seq_count_dots:
  142|    262|{
  143|    262|    int number_of_dots = 0;
  144|    403|    for (Py_ssize_t i = 0, l = asdl_seq_LEN(seq); i < l; i++) {
  ------------------
  |  |   83|    262|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    524|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 262]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (144:51): [True: 141, False: 262]
  ------------------
  145|    141|        Token *current_expr = asdl_seq_GET_UNTYPED(seq, i);
  ------------------
  |  |   81|    141|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    141|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  146|    141|        switch (current_expr->type) {
  147|      0|            case ELLIPSIS:
  ------------------
  |  |   68|      0|#define ELLIPSIS        52
  ------------------
  |  Branch (147:13): [True: 0, False: 141]
  ------------------
  148|      0|                number_of_dots += 3;
  149|      0|                break;
  150|    141|            case DOT:
  ------------------
  |  |   39|    141|#define DOT             23
  ------------------
  |  Branch (150:13): [True: 141, False: 0]
  ------------------
  151|    141|                number_of_dots += 1;
  152|    141|                break;
  153|      0|            default:
  ------------------
  |  Branch (153:13): [True: 0, False: 141]
  ------------------
  154|      0|                Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  155|    141|        }
  156|    141|    }
  157|       |
  158|    262|    return number_of_dots;
  159|    262|}
_PyPegen_alias_for_star:
  164|     19|                        int end_col_offset, PyArena *arena) {
  165|     19|    PyObject *str = PyUnicode_InternFromString("*");
  166|     19|    if (!str) {
  ------------------
  |  Branch (166:9): [True: 0, False: 19]
  ------------------
  167|      0|        return NULL;
  168|      0|    }
  169|     19|    if (_PyArena_AddPyObject(p->arena, str) < 0) {
  ------------------
  |  Branch (169:9): [True: 0, False: 19]
  ------------------
  170|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  171|      0|        return NULL;
  172|      0|    }
  173|     19|    return _PyAST_alias(str, NULL, lineno, col_offset, end_lineno, end_col_offset, arena);
  174|     19|}
_PyPegen_map_names_to_ids:
  179|     11|{
  180|     11|    Py_ssize_t len = asdl_seq_LEN(seq);
  ------------------
  |  |   83|     11|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|     22|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 11]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  181|     11|    assert(len > 0);
  182|       |
  183|     11|    asdl_identifier_seq *new_seq = _Py_asdl_identifier_seq_new(len, p->arena);
  184|     11|    if (!new_seq) {
  ------------------
  |  Branch (184:9): [True: 0, False: 11]
  ------------------
  185|      0|        return NULL;
  186|      0|    }
  187|     25|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (187:28): [True: 14, False: 11]
  ------------------
  188|     14|        expr_ty e = asdl_seq_GET(seq, i);
  ------------------
  |  |   82|     14|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|     14|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  189|     14|        asdl_seq_SET(new_seq, i, e->v.Name.id);
  ------------------
  |  |   94|     14|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|     14|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  190|     14|    }
  191|     11|    return new_seq;
  192|     11|}
_PyPegen_cmpop_expr_pair:
  197|  1.73k|{
  198|  1.73k|    assert(expr != NULL);
  199|  1.73k|    CmpopExprPair *a = _PyArena_Malloc(p->arena, sizeof(CmpopExprPair));
  200|  1.73k|    if (!a) {
  ------------------
  |  Branch (200:9): [True: 0, False: 1.73k]
  ------------------
  201|      0|        return NULL;
  202|      0|    }
  203|  1.73k|    a->cmpop = cmpop;
  204|  1.73k|    a->expr = expr;
  205|  1.73k|    return a;
  206|  1.73k|}
_PyPegen_get_cmpops:
  210|  1.73k|{
  211|  1.73k|    Py_ssize_t len = asdl_seq_LEN(seq);
  ------------------
  |  |   83|  1.73k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  3.46k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 1.73k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  212|  1.73k|    assert(len > 0);
  213|       |
  214|  1.73k|    asdl_int_seq *new_seq = _Py_asdl_int_seq_new(len, p->arena);
  215|  1.73k|    if (!new_seq) {
  ------------------
  |  Branch (215:9): [True: 0, False: 1.73k]
  ------------------
  216|      0|        return NULL;
  217|      0|    }
  218|  3.47k|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (218:28): [True: 1.73k, False: 1.73k]
  ------------------
  219|  1.73k|        CmpopExprPair *pair = asdl_seq_GET_UNTYPED(seq, i);
  ------------------
  |  |   81|  1.73k|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  1.73k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  220|  1.73k|        asdl_seq_SET(new_seq, i, pair->cmpop);
  ------------------
  |  |   94|  1.73k|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  1.73k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  221|  1.73k|    }
  222|  1.73k|    return new_seq;
  223|  1.73k|}
_PyPegen_get_exprs:
  227|  1.73k|{
  228|  1.73k|    Py_ssize_t len = asdl_seq_LEN(seq);
  ------------------
  |  |   83|  1.73k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  3.46k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 1.73k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  229|  1.73k|    assert(len > 0);
  230|       |
  231|  1.73k|    asdl_expr_seq *new_seq = _Py_asdl_expr_seq_new(len, p->arena);
  232|  1.73k|    if (!new_seq) {
  ------------------
  |  Branch (232:9): [True: 0, False: 1.73k]
  ------------------
  233|      0|        return NULL;
  234|      0|    }
  235|  3.47k|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (235:28): [True: 1.73k, False: 1.73k]
  ------------------
  236|  1.73k|        CmpopExprPair *pair = asdl_seq_GET_UNTYPED(seq, i);
  ------------------
  |  |   81|  1.73k|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  1.73k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  237|  1.73k|        asdl_seq_SET(new_seq, i, pair->expr);
  ------------------
  |  |   94|  1.73k|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  1.73k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  238|  1.73k|    }
  239|  1.73k|    return new_seq;
  240|  1.73k|}
_PyPegen_set_expr_context:
  310|  9.09k|{
  311|  9.09k|    assert(expr != NULL);
  312|       |
  313|  9.09k|    expr_ty new = NULL;
  314|  9.09k|    switch (expr->kind) {
  315|  9.08k|        case Name_kind:
  ------------------
  |  Branch (315:9): [True: 9.08k, False: 1]
  ------------------
  316|  9.08k|            new = _set_name_context(p, expr, ctx);
  317|  9.08k|            break;
  318|      0|        case Tuple_kind:
  ------------------
  |  Branch (318:9): [True: 0, False: 9.09k]
  ------------------
  319|      0|            new = _set_tuple_context(p, expr, ctx);
  320|      0|            break;
  321|      0|        case List_kind:
  ------------------
  |  Branch (321:9): [True: 0, False: 9.09k]
  ------------------
  322|      0|            new = _set_list_context(p, expr, ctx);
  323|      0|            break;
  324|      1|        case Subscript_kind:
  ------------------
  |  Branch (324:9): [True: 1, False: 9.08k]
  ------------------
  325|      1|            new = _set_subscript_context(p, expr, ctx);
  326|      1|            break;
  327|      0|        case Attribute_kind:
  ------------------
  |  Branch (327:9): [True: 0, False: 9.09k]
  ------------------
  328|      0|            new = _set_attribute_context(p, expr, ctx);
  329|      0|            break;
  330|      0|        case Starred_kind:
  ------------------
  |  Branch (330:9): [True: 0, False: 9.09k]
  ------------------
  331|      0|            new = _set_starred_context(p, expr, ctx);
  332|      0|            break;
  333|      0|        default:
  ------------------
  |  Branch (333:9): [True: 0, False: 9.09k]
  ------------------
  334|      0|            new = expr;
  335|  9.09k|    }
  336|  9.09k|    return new;
  337|  9.09k|}
_PyPegen_key_value_pair:
  342|    360|{
  343|    360|    KeyValuePair *a = _PyArena_Malloc(p->arena, sizeof(KeyValuePair));
  344|    360|    if (!a) {
  ------------------
  |  Branch (344:9): [True: 0, False: 360]
  ------------------
  345|      0|        return NULL;
  346|      0|    }
  347|    360|    a->key = key;
  348|    360|    a->value = value;
  349|    360|    return a;
  350|    360|}
_PyPegen_get_keys:
  355|    207|{
  356|    207|    Py_ssize_t len = asdl_seq_LEN(seq);
  ------------------
  |  |   83|    207|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    414|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 115, False: 92]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  357|    207|    asdl_expr_seq *new_seq = _Py_asdl_expr_seq_new(len, p->arena);
  358|    207|    if (!new_seq) {
  ------------------
  |  Branch (358:9): [True: 0, False: 207]
  ------------------
  359|      0|        return NULL;
  360|      0|    }
  361|    471|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (361:28): [True: 264, False: 207]
  ------------------
  362|    264|        KeyValuePair *pair = asdl_seq_GET_UNTYPED(seq, i);
  ------------------
  |  |   81|    264|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    264|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  363|    264|        asdl_seq_SET(new_seq, i, pair->key);
  ------------------
  |  |   94|    264|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|    264|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  364|    264|    }
  365|    207|    return new_seq;
  366|    207|}
_PyPegen_get_values:
  371|    207|{
  372|    207|    Py_ssize_t len = asdl_seq_LEN(seq);
  ------------------
  |  |   83|    207|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    414|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 115, False: 92]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  373|    207|    asdl_expr_seq *new_seq = _Py_asdl_expr_seq_new(len, p->arena);
  374|    207|    if (!new_seq) {
  ------------------
  |  Branch (374:9): [True: 0, False: 207]
  ------------------
  375|      0|        return NULL;
  376|      0|    }
  377|    471|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (377:28): [True: 264, False: 207]
  ------------------
  378|    264|        KeyValuePair *pair = asdl_seq_GET_UNTYPED(seq, i);
  ------------------
  |  |   81|    264|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    264|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  379|    264|        asdl_seq_SET(new_seq, i, pair->value);
  ------------------
  |  |   94|    264|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|    264|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  380|    264|    }
  381|    207|    return new_seq;
  382|    207|}
_PyPegen_name_default_pair:
  432|   164k|{
  433|   164k|    NameDefaultPair *a = _PyArena_Malloc(p->arena, sizeof(NameDefaultPair));
  434|   164k|    if (!a) {
  ------------------
  |  Branch (434:9): [True: 0, False: 164k]
  ------------------
  435|      0|        return NULL;
  436|      0|    }
  437|   164k|    a->arg = _PyPegen_add_type_comment_to_arg(p, arg, tc);
  438|   164k|    if (!a->arg) {
  ------------------
  |  Branch (438:9): [True: 0, False: 164k]
  ------------------
  439|      0|        return NULL;
  440|      0|    }
  441|   164k|    a->value = value;
  442|   164k|    return a;
  443|   164k|}
_PyPegen_slash_with_default:
  448|      3|{
  449|      3|    SlashWithDefault *a = _PyArena_Malloc(p->arena, sizeof(SlashWithDefault));
  450|      3|    if (!a) {
  ------------------
  |  Branch (450:9): [True: 0, False: 3]
  ------------------
  451|      0|        return NULL;
  452|      0|    }
  453|      3|    a->plain_names = plain_names;
  454|      3|    a->names_with_defaults = names_with_defaults;
  455|      3|    return a;
  456|      3|}
_PyPegen_star_etc:
  461|    247|{
  462|    247|    StarEtc *a = _PyArena_Malloc(p->arena, sizeof(StarEtc));
  463|    247|    if (!a) {
  ------------------
  |  Branch (463:9): [True: 0, False: 247]
  ------------------
  464|      0|        return NULL;
  465|      0|    }
  466|    247|    a->vararg = vararg;
  467|    247|    a->kwonlyargs = kwonlyargs;
  468|    247|    a->kwarg = kwarg;
  469|    247|    return a;
  470|    247|}
_PyPegen_join_sequences:
  474|   110k|{
  475|   110k|    Py_ssize_t first_len = asdl_seq_LEN(a);
  ------------------
  |  |   83|   110k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|   220k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 110k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  476|   110k|    Py_ssize_t second_len = asdl_seq_LEN(b);
  ------------------
  |  |   83|   110k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|   220k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 110k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  477|   110k|    asdl_seq *new_seq = (asdl_seq*)_Py_asdl_generic_seq_new(first_len + second_len, p->arena);
  478|   110k|    if (!new_seq) {
  ------------------
  |  Branch (478:9): [True: 0, False: 110k]
  ------------------
  479|      0|        return NULL;
  480|      0|    }
  481|       |
  482|   110k|    int k = 0;
  483|   222k|    for (Py_ssize_t i = 0; i < first_len; i++) {
  ------------------
  |  Branch (483:28): [True: 112k, False: 110k]
  ------------------
  484|   112k|        asdl_seq_SET_UNTYPED(new_seq, k++, asdl_seq_GET_UNTYPED(a, i));
  ------------------
  |  |  106|   112k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|   112k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  485|   112k|    }
  486|   110k|    for (Py_ssize_t i = 0; i < second_len; i++) {
  ------------------
  |  Branch (486:28): [True: 477, False: 110k]
  ------------------
  487|    477|        asdl_seq_SET_UNTYPED(new_seq, k++, asdl_seq_GET_UNTYPED(b, i));
  ------------------
  |  |  106|    477|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|    477|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  488|    477|    }
  489|       |
  490|   110k|    return new_seq;
  491|   110k|}
_PyPegen_make_arguments:
  647|   110k|{
  648|   110k|    asdl_arg_seq *posonlyargs;
  649|   110k|    if (_make_posonlyargs(p, slash_without_default, slash_with_default, &posonlyargs) == -1) {
  ------------------
  |  Branch (649:9): [True: 0, False: 110k]
  ------------------
  650|      0|        return NULL;
  651|      0|    }
  652|       |
  653|   110k|    asdl_arg_seq *posargs;
  654|   110k|    if (_make_posargs(p, plain_names, names_with_default, &posargs) == -1) {
  ------------------
  |  Branch (654:9): [True: 0, False: 110k]
  ------------------
  655|      0|        return NULL;
  656|      0|    }
  657|       |
  658|   110k|    asdl_expr_seq *posdefaults;
  659|   110k|    if (_make_posdefaults(p,slash_with_default, names_with_default, &posdefaults) == -1) {
  ------------------
  |  Branch (659:9): [True: 0, False: 110k]
  ------------------
  660|      0|        return NULL;
  661|      0|    }
  662|       |
  663|   110k|    arg_ty vararg = NULL;
  664|   110k|    if (star_etc != NULL && star_etc->vararg != NULL) {
  ------------------
  |  Branch (664:9): [True: 247, False: 110k]
  |  Branch (664:29): [True: 107, False: 140]
  ------------------
  665|    107|        vararg = star_etc->vararg;
  666|    107|    }
  667|       |
  668|   110k|    asdl_arg_seq *kwonlyargs;
  669|   110k|    asdl_expr_seq *kwdefaults;
  670|   110k|    if (_make_kwargs(p, star_etc, &kwonlyargs, &kwdefaults) == -1) {
  ------------------
  |  Branch (670:9): [True: 0, False: 110k]
  ------------------
  671|      0|        return NULL;
  672|      0|    }
  673|       |
  674|   110k|    arg_ty kwarg = NULL;
  675|   110k|    if (star_etc != NULL && star_etc->kwarg != NULL) {
  ------------------
  |  Branch (675:9): [True: 247, False: 110k]
  |  Branch (675:29): [True: 101, False: 146]
  ------------------
  676|    101|        kwarg = star_etc->kwarg;
  677|    101|    }
  678|       |
  679|   110k|    return _PyAST_arguments(posonlyargs, posargs, vararg, kwonlyargs,
  680|   110k|                            kwdefaults, kwarg, posdefaults, p->arena);
  681|   110k|}
_PyPegen_empty_arguments:
  688|     62|{
  689|     62|    asdl_arg_seq *posonlyargs = _Py_asdl_arg_seq_new(0, p->arena);
  690|     62|    if (!posonlyargs) {
  ------------------
  |  Branch (690:9): [True: 0, False: 62]
  ------------------
  691|      0|        return NULL;
  692|      0|    }
  693|     62|    asdl_arg_seq *posargs = _Py_asdl_arg_seq_new(0, p->arena);
  694|     62|    if (!posargs) {
  ------------------
  |  Branch (694:9): [True: 0, False: 62]
  ------------------
  695|      0|        return NULL;
  696|      0|    }
  697|     62|    asdl_expr_seq *posdefaults = _Py_asdl_expr_seq_new(0, p->arena);
  698|     62|    if (!posdefaults) {
  ------------------
  |  Branch (698:9): [True: 0, False: 62]
  ------------------
  699|      0|        return NULL;
  700|      0|    }
  701|     62|    asdl_arg_seq *kwonlyargs = _Py_asdl_arg_seq_new(0, p->arena);
  702|     62|    if (!kwonlyargs) {
  ------------------
  |  Branch (702:9): [True: 0, False: 62]
  ------------------
  703|      0|        return NULL;
  704|      0|    }
  705|     62|    asdl_expr_seq *kwdefaults = _Py_asdl_expr_seq_new(0, p->arena);
  706|     62|    if (!kwdefaults) {
  ------------------
  |  Branch (706:9): [True: 0, False: 62]
  ------------------
  707|      0|        return NULL;
  708|      0|    }
  709|       |
  710|     62|    return _PyAST_arguments(posonlyargs, posargs, NULL, kwonlyargs,
  711|       |                            kwdefaults, NULL, posdefaults, p->arena);
  712|     62|}
_PyPegen_augoperator:
  717|    178|{
  718|    178|    AugOperator *a = _PyArena_Malloc(p->arena, sizeof(AugOperator));
  719|    178|    if (!a) {
  ------------------
  |  Branch (719:9): [True: 0, False: 178]
  ------------------
  720|      0|        return NULL;
  721|      0|    }
  722|    178|    a->kind = kind;
  723|    178|    return a;
  724|    178|}
_PyPegen_function_def_decorators:
  729|     95|{
  730|     95|    assert(function_def != NULL);
  731|     95|    if (function_def->kind == AsyncFunctionDef_kind) {
  ------------------
  |  Branch (731:9): [True: 2, False: 93]
  ------------------
  732|      2|        return _PyAST_AsyncFunctionDef(
  733|      2|            function_def->v.AsyncFunctionDef.name,
  734|      2|            function_def->v.AsyncFunctionDef.args,
  735|      2|            function_def->v.AsyncFunctionDef.body, decorators,
  736|      2|            function_def->v.AsyncFunctionDef.returns,
  737|      2|            function_def->v.AsyncFunctionDef.type_comment,
  738|      2|            function_def->v.AsyncFunctionDef.type_params,
  739|      2|            function_def->lineno, function_def->col_offset,
  740|      2|            function_def->end_lineno, function_def->end_col_offset, p->arena);
  741|      2|    }
  742|       |
  743|     93|    return _PyAST_FunctionDef(
  744|     93|        function_def->v.FunctionDef.name,
  745|     93|        function_def->v.FunctionDef.args,
  746|     93|        function_def->v.FunctionDef.body, decorators,
  747|     93|        function_def->v.FunctionDef.returns,
  748|     93|        function_def->v.FunctionDef.type_comment,
  749|     93|        function_def->v.FunctionDef.type_params,
  750|     93|        function_def->lineno, function_def->col_offset,
  751|     93|        function_def->end_lineno, function_def->end_col_offset, p->arena);
  752|     95|}
_PyPegen_class_def_decorators:
  757|      2|{
  758|       |    assert(class_def != NULL);
  759|      2|    return _PyAST_ClassDef(
  760|      2|        class_def->v.ClassDef.name,
  761|      2|        class_def->v.ClassDef.bases, class_def->v.ClassDef.keywords,
  762|      2|        class_def->v.ClassDef.body, decorators,
  763|      2|        class_def->v.ClassDef.type_params,
  764|      2|        class_def->lineno, class_def->col_offset, class_def->end_lineno,
  765|      2|        class_def->end_col_offset, p->arena);
  766|      2|}
_PyPegen_keyword_or_starred:
  771|  1.26k|{
  772|  1.26k|    KeywordOrStarred *a = _PyArena_Malloc(p->arena, sizeof(KeywordOrStarred));
  773|  1.26k|    if (!a) {
  ------------------
  |  Branch (773:9): [True: 0, False: 1.26k]
  ------------------
  774|      0|        return NULL;
  775|      0|    }
  776|  1.26k|    a->element = element;
  777|  1.26k|    a->is_keyword = is_keyword;
  778|  1.26k|    return a;
  779|  1.26k|}
_PyPegen_seq_extract_starred_exprs:
  798|    395|{
  799|    395|    int new_len = _seq_number_of_starred_exprs(kwargs);
  800|    395|    if (new_len == 0) {
  ------------------
  |  Branch (800:9): [True: 395, False: 0]
  ------------------
  801|    395|        return NULL;
  802|    395|    }
  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|    395|{
  822|    395|    Py_ssize_t len = asdl_seq_LEN(kwargs);
  ------------------
  |  |   83|    395|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    790|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 395]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  823|    395|    Py_ssize_t new_len = len - _seq_number_of_starred_exprs(kwargs);
  824|    395|    if (new_len == 0) {
  ------------------
  |  Branch (824:9): [True: 0, False: 395]
  ------------------
  825|      0|        return NULL;
  826|      0|    }
  827|    395|    asdl_keyword_seq *new_seq = _Py_asdl_keyword_seq_new(new_len, p->arena);
  828|    395|    if (!new_seq) {
  ------------------
  |  Branch (828:9): [True: 0, False: 395]
  ------------------
  829|      0|        return NULL;
  830|      0|    }
  831|       |
  832|    395|    int idx = 0;
  833|  1.08k|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (833:28): [True: 692, False: 395]
  ------------------
  834|    692|        KeywordOrStarred *k = asdl_seq_GET_UNTYPED(kwargs, i);
  ------------------
  |  |   81|    692|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    692|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  835|    692|        if (k->is_keyword) {
  ------------------
  |  Branch (835:13): [True: 692, False: 0]
  ------------------
  836|    692|            asdl_seq_SET(new_seq, idx++, k->element);
  ------------------
  |  |   94|    692|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|    692|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  837|    692|        }
  838|    692|    }
  839|    395|    return new_seq;
  840|    395|}
_PyPegen_make_module:
  863|    192|_PyPegen_make_module(Parser *p, asdl_stmt_seq *a) {
  864|    192|    asdl_type_ignore_seq *type_ignores = NULL;
  865|    192|    Py_ssize_t num = p->type_ignore_comments.num_items;
  866|    192|    if (num > 0) {
  ------------------
  |  Branch (866:9): [True: 0, False: 192]
  ------------------
  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|    192|    return _PyAST_Module(a, type_ignores, p->arena);
  886|    192|}
_PyPegen_add_type_comment_to_arg:
  904|   181k|{
  905|   181k|    if (tc == NULL) {
  ------------------
  |  Branch (905:9): [True: 181k, False: 0]
  ------------------
  906|   181k|        return a;
  907|   181k|    }
  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_barry_as_flufl:
  924|     67|_PyPegen_check_barry_as_flufl(Parser *p, Token* t) {
  925|     67|    assert(t->bytes != NULL);
  926|     67|    assert(t->type == NOTEQUAL);
  927|       |
  928|     67|    const char* tok_str = PyBytes_AS_STRING(t->bytes);
  ------------------
  |  |   27|     67|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     67|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     67|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  929|     67|    if (p->flags & PyPARSE_BARRY_AS_BDFL && strcmp(tok_str, "<>") != 0) {
  ------------------
  |  |   23|    134|#define PyPARSE_BARRY_AS_BDFL 0x0020
  ------------------
  |  Branch (929:9): [True: 0, False: 67]
  |  Branch (929:45): [True: 0, False: 0]
  ------------------
  930|      0|        RAISE_SYNTAX_ERROR("with Barry as BDFL, use '<>' instead of '!='");
  ------------------
  |  |  201|      0|#define RAISE_SYNTAX_ERROR(msg, ...) _PyPegen_raise_error(p, PyExc_SyntaxError, 0, msg, ##__VA_ARGS__)
  ------------------
  931|      0|        return -1;
  932|      0|    }
  933|     67|    if (!(p->flags & PyPARSE_BARRY_AS_BDFL)) {
  ------------------
  |  |   23|     67|#define PyPARSE_BARRY_AS_BDFL 0x0020
  ------------------
  |  Branch (933:9): [True: 67, False: 0]
  ------------------
  934|     67|        return strcmp(tok_str, "!=");
  935|     67|    }
  936|      0|    return 0;
  937|     67|}
_PyPegen_check_fstring_conversion:
  996|    396|{
  997|    396|    if (conv_token->lineno != conv->lineno || conv_token->end_col_offset != conv->col_offset) {
  ------------------
  |  Branch (997:9): [True: 0, False: 396]
  |  Branch (997:47): [True: 0, False: 396]
  ------------------
  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|    396|    Py_UCS4 first = PyUnicode_READ_CHAR(conv->v.Name.id, 0);
  ------------------
  |  |  381|    396|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|    396|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    396|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1006|    396|    if (PyUnicode_GET_LENGTH(conv->v.Name.id) > 1 ||
  ------------------
  |  |  299|    396|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    396|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    396|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1006:9): [True: 0, False: 396]
  ------------------
 1007|    396|            !(first == 's' || first == 'r' || first == 'a')) {
  ------------------
  |  Branch (1007:15): [True: 2, False: 394]
  |  Branch (1007:31): [True: 394, 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|    396|    return result_token_with_metadata(p, conv, conv_token->metadata);
 1016|    396|}
_PyPegen_setup_full_format_spec:
 1021|      5|{
 1022|      5|    if (!spec) {
  ------------------
  |  Branch (1022:9): [True: 0, False: 5]
  ------------------
 1023|      0|        return NULL;
 1024|      0|    }
 1025|       |
 1026|       |    // This is needed to keep compatibility with 3.11, where an empty format
 1027|       |    // spec is parsed as an *empty* JoinedStr node, instead of having an empty
 1028|       |    // constant in it.
 1029|      5|    Py_ssize_t n_items = asdl_seq_LEN(spec);
  ------------------
  |  |   83|      5|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|     10|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1030|      5|    Py_ssize_t non_empty_count = 0;
 1031|     10|    for (Py_ssize_t i = 0; i < n_items; i++) {
  ------------------
  |  Branch (1031:28): [True: 5, False: 5]
  ------------------
 1032|      5|        expr_ty item = asdl_seq_GET(spec, i);
  ------------------
  |  |   82|      5|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|      5|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1033|      5|        non_empty_count += !(item->kind == Constant_kind &&
  ------------------
  |  Branch (1033:30): [True: 5, False: 0]
  ------------------
 1034|      5|                             PyUnicode_CheckExact(item->v.Constant.value) &&
  ------------------
  |  |  104|      5|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|     10|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 5, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1035|      5|                             PyUnicode_GET_LENGTH(item->v.Constant.value) == 0);
  ------------------
  |  |  299|      5|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1035:30): [True: 0, False: 5]
  ------------------
 1036|      5|    }
 1037|      5|    if (non_empty_count != n_items) {
  ------------------
  |  Branch (1037:9): [True: 0, False: 5]
  ------------------
 1038|      0|        asdl_expr_seq *resized_spec =
 1039|      0|            _Py_asdl_expr_seq_new(non_empty_count, p->arena);
 1040|      0|        if (resized_spec == NULL) {
  ------------------
  |  Branch (1040:13): [True: 0, False: 0]
  ------------------
 1041|      0|            return NULL;
 1042|      0|        }
 1043|      0|        Py_ssize_t j = 0;
 1044|      0|        for (Py_ssize_t i = 0; i < n_items; i++) {
  ------------------
  |  Branch (1044:32): [True: 0, False: 0]
  ------------------
 1045|      0|            expr_ty item = asdl_seq_GET(spec, i);
  ------------------
  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1046|      0|            if (item->kind == Constant_kind &&
  ------------------
  |  Branch (1046:17): [True: 0, False: 0]
  ------------------
 1047|      0|                PyUnicode_CheckExact(item->v.Constant.value) &&
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1048|      0|                PyUnicode_GET_LENGTH(item->v.Constant.value) == 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 (1048:17): [True: 0, False: 0]
  ------------------
 1049|      0|                continue;
 1050|      0|            }
 1051|      0|            asdl_seq_SET(resized_spec, j++, item);
  ------------------
  |  |   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))
  |  |  ------------------
  ------------------
 1052|      0|        }
 1053|      0|        assert(j == non_empty_count);
 1054|      0|        spec = resized_spec;
 1055|      0|    }
 1056|      5|    expr_ty res;
 1057|      5|    Py_ssize_t n = asdl_seq_LEN(spec);
  ------------------
  |  |   83|      5|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|     10|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1058|      5|    if (n == 0 || (n == 1 && asdl_seq_GET(spec, 0)->kind == Constant_kind)) {
  ------------------
  |  |   82|      5|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|      5|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (1058:9): [True: 0, False: 5]
  |  Branch (1058:20): [True: 5, False: 0]
  |  Branch (1058:30): [True: 5, False: 0]
  ------------------
 1059|      5|        res = _PyAST_JoinedStr(spec, lineno, col_offset, end_lineno,
 1060|      5|                                    end_col_offset, p->arena);
 1061|      5|    } else {
 1062|      0|        res = _PyPegen_concatenate_strings(p, spec,
 1063|      0|                             lineno, col_offset, end_lineno,
 1064|      0|                             end_col_offset, arena);
 1065|      0|    }
 1066|      5|    if (!res) {
  ------------------
  |  Branch (1066:9): [True: 0, False: 5]
  ------------------
 1067|      0|        return NULL;
 1068|      0|    }
 1069|      5|    return result_token_with_metadata(p, res, colon->metadata);
 1070|      5|}
_PyPegen_collect_call_seqs:
 1160|  4.61k|                     int end_col_offset, PyArena *arena) {
 1161|  4.61k|    Py_ssize_t args_len = asdl_seq_LEN(a);
  ------------------
  |  |   83|  4.61k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  9.23k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 4.61k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1162|  4.61k|    Py_ssize_t total_len = args_len;
 1163|       |
 1164|  4.61k|    if (b == NULL) {
  ------------------
  |  Branch (1164:9): [True: 4.34k, False: 274]
  ------------------
 1165|  4.34k|        return _PyAST_Call(_PyPegen_dummy_name(p), a, NULL, lineno, col_offset,
 1166|  4.34k|                        end_lineno, end_col_offset, arena);
 1167|       |
 1168|  4.34k|    }
 1169|       |
 1170|    274|    asdl_expr_seq *starreds = _PyPegen_seq_extract_starred_exprs(p, b);
 1171|    274|    asdl_keyword_seq *keywords = _PyPegen_seq_delete_starred_exprs(p, b);
 1172|       |
 1173|    274|    if (starreds) {
  ------------------
  |  Branch (1173:9): [True: 0, False: 274]
  ------------------
 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|    274|    asdl_expr_seq *args = _Py_asdl_expr_seq_new(total_len, arena);
 1178|    274|    if (args == NULL) {
  ------------------
  |  Branch (1178:9): [True: 0, False: 274]
  ------------------
 1179|      0|        return NULL;
 1180|      0|    }
 1181|       |
 1182|    274|    Py_ssize_t i = 0;
 1183|    779|    for (i = 0; i < args_len; i++) {
  ------------------
  |  Branch (1183:17): [True: 505, False: 274]
  ------------------
 1184|    505|        asdl_seq_SET(args, i, asdl_seq_GET(a, i));
  ------------------
  |  |   94|    505|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|    505|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1185|    505|    }
 1186|    274|    for (; i < total_len; i++) {
  ------------------
  |  Branch (1186:12): [True: 0, False: 274]
  ------------------
 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|    274|    return _PyAST_Call(_PyPegen_dummy_name(p), args, keywords, lineno,
 1191|    274|                       col_offset, end_lineno, end_col_offset, arena);
 1192|    274|}
_PyPegen_template_str:
 1416|      1|_PyPegen_template_str(Parser *p, Token *a, asdl_expr_seq *raw_expressions, Token *b) {
 1417|       |
 1418|      1|    asdl_expr_seq *resized_exprs = _get_resized_exprs(p, a, raw_expressions, b, TSTRING);
 1419|      1|    return _PyAST_TemplateStr(resized_exprs, a->lineno, a->col_offset,
 1420|      1|                              b->end_lineno, b->end_col_offset,
 1421|      1|                              p->arena);
 1422|      1|}
_PyPegen_joined_str:
 1425|    431|_PyPegen_joined_str(Parser *p, Token* a, asdl_expr_seq* raw_expressions, Token*b) {
 1426|       |
 1427|    431|    asdl_expr_seq *resized_exprs = _get_resized_exprs(p, a, raw_expressions, b, FSTRING);
 1428|    431|    return _PyAST_JoinedStr(resized_exprs, a->lineno, a->col_offset,
 1429|    431|                            b->end_lineno, b->end_col_offset,
 1430|    431|                            p->arena);
 1431|    431|}
_PyPegen_decoded_constant_from_token:
 1433|      5|expr_ty _PyPegen_decoded_constant_from_token(Parser* p, Token* tok) {
 1434|      5|    Py_ssize_t bsize;
 1435|      5|    char* bstr;
 1436|      5|    if (PyBytes_AsStringAndSize(tok->bytes, &bstr, &bsize) == -1) {
  ------------------
  |  Branch (1436:9): [True: 0, False: 5]
  ------------------
 1437|      0|        return NULL;
 1438|      0|    }
 1439|       |
 1440|       |    // Check if we're inside a raw f-string for format spec decoding
 1441|      5|    int is_raw = 0;
 1442|      5|    if (INSIDE_FSTRING(p->tok)) {
  ------------------
  |  |   10|      5|#define INSIDE_FSTRING(tok) (tok->tok_mode_stack_index > 0)
  |  |  ------------------
  |  |  |  Branch (10:29): [True: 5, False: 0]
  |  |  ------------------
  ------------------
 1443|      5|        tokenizer_mode *mode = TOK_GET_MODE(p->tok);
  ------------------
  |  |   29|      5|#define TOK_GET_MODE(tok) (&(tok->tok_mode_stack[tok->tok_mode_stack_index]))
  ------------------
 1444|      5|        is_raw = mode->raw;
 1445|      5|    }
 1446|       |
 1447|      5|    PyObject* str = _PyPegen_decode_string(p, is_raw, bstr, bsize, tok);
 1448|      5|    if (str == NULL) {
  ------------------
  |  Branch (1448:9): [True: 0, False: 5]
  ------------------
 1449|      0|        return NULL;
 1450|      0|    }
 1451|      5|    if (_PyArena_AddPyObject(p->arena, str) < 0) {
  ------------------
  |  Branch (1451:9): [True: 0, False: 5]
  ------------------
 1452|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1453|      0|        return NULL;
 1454|      0|    }
 1455|      5|    return _PyAST_Constant(str, NULL, tok->lineno, tok->col_offset,
 1456|      5|                           tok->end_lineno, tok->end_col_offset,
 1457|      5|                           p->arena);
 1458|      5|}
_PyPegen_constant_from_token:
 1460|    779|expr_ty _PyPegen_constant_from_token(Parser* p, Token* tok) {
 1461|    779|    char* bstr = PyBytes_AsString(tok->bytes);
 1462|    779|    if (bstr == NULL) {
  ------------------
  |  Branch (1462:9): [True: 0, False: 779]
  ------------------
 1463|      0|        return NULL;
 1464|      0|    }
 1465|    779|    PyObject* str = PyUnicode_FromString(bstr);
 1466|    779|    if (str == NULL) {
  ------------------
  |  Branch (1466:9): [True: 0, False: 779]
  ------------------
 1467|      0|        return NULL;
 1468|      0|    }
 1469|    779|    if (_PyArena_AddPyObject(p->arena, str) < 0) {
  ------------------
  |  Branch (1469:9): [True: 0, False: 779]
  ------------------
 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|    779|    return _PyAST_Constant(str, NULL, tok->lineno, tok->col_offset,
 1474|    779|                           tok->end_lineno, tok->end_col_offset,
 1475|    779|                           p->arena);
 1476|    779|}
_PyPegen_constant_from_string:
 1478|  2.87k|expr_ty _PyPegen_constant_from_string(Parser* p, Token* tok) {
 1479|  2.87k|    char* the_str = PyBytes_AsString(tok->bytes);
 1480|  2.87k|    if (the_str == NULL) {
  ------------------
  |  Branch (1480:9): [True: 0, False: 2.87k]
  ------------------
 1481|      0|        return NULL;
 1482|      0|    }
 1483|  2.87k|    PyObject *s = _PyPegen_parse_string(p, tok);
 1484|  2.87k|    if (s == NULL) {
  ------------------
  |  Branch (1484:9): [True: 0, False: 2.87k]
  ------------------
 1485|      0|        _Pypegen_raise_decode_error(p);
 1486|      0|        return NULL;
 1487|      0|    }
 1488|  2.87k|    if (_PyArena_AddPyObject(p->arena, s) < 0) {
  ------------------
  |  Branch (1488:9): [True: 0, False: 2.87k]
  ------------------
 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|  2.87k|    PyObject *kind = NULL;
 1493|  2.87k|    if (the_str && the_str[0] == 'u') {
  ------------------
  |  Branch (1493:9): [True: 2.87k, False: 0]
  |  Branch (1493:20): [True: 0, False: 2.87k]
  ------------------
 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|  2.87k|    return _PyAST_Constant(s, kind, tok->lineno, tok->col_offset, tok->end_lineno, tok->end_col_offset, p->arena);
 1500|  2.87k|}
_PyPegen_interpolation:
 1539|      1|                                 int end_lineno, int end_col_offset, PyArena *arena) {
 1540|       |
 1541|      1|    int conversion_val = _get_interpolation_conversion(p, debug, conversion, format);
 1542|       |
 1543|       |    /* Find the non whitespace token after the "=" */
 1544|      1|    int debug_end_line, debug_end_offset;
 1545|      1|    PyObject *debug_metadata;
 1546|      1|    constant exprstr;
 1547|       |
 1548|      1|    if (conversion) {
  ------------------
  |  Branch (1548:9): [True: 0, False: 1]
  ------------------
 1549|      0|        debug_end_line = ((expr_ty) conversion->result)->lineno;
 1550|      0|        debug_end_offset = ((expr_ty) conversion->result)->col_offset;
 1551|      0|        debug_metadata = exprstr = conversion->metadata;
 1552|      0|    }
 1553|      1|    else if (format) {
  ------------------
  |  Branch (1553:14): [True: 0, False: 1]
  ------------------
 1554|      0|        debug_end_line = ((expr_ty) format->result)->lineno;
 1555|      0|        debug_end_offset = ((expr_ty) format->result)->col_offset + 1;
 1556|      0|        debug_metadata = exprstr = format->metadata;
 1557|      0|    }
 1558|      1|    else {
 1559|      1|        debug_end_line = end_lineno;
 1560|      1|        debug_end_offset = end_col_offset;
 1561|      1|        debug_metadata = exprstr = closing_brace->metadata;
 1562|      1|    }
 1563|       |
 1564|      1|    assert(exprstr != NULL);
 1565|      1|    PyObject *final_exprstr = _strip_interpolation_expr(exprstr);
 1566|      1|    if (!final_exprstr || _PyArena_AddPyObject(arena, final_exprstr) < 0) {
  ------------------
  |  Branch (1566:9): [True: 0, False: 1]
  |  Branch (1566:27): [True: 0, False: 1]
  ------------------
 1567|      0|        Py_XDECREF(final_exprstr);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1568|      0|        return NULL;
 1569|      0|    }
 1570|       |
 1571|      1|    expr_ty interpolation = _PyAST_Interpolation(
 1572|      1|        expression, final_exprstr, conversion_val, format ? (expr_ty) format->result : NULL,
  ------------------
  |  Branch (1572:52): [True: 0, False: 1]
  ------------------
 1573|      1|        lineno, col_offset, end_lineno,
 1574|      1|        end_col_offset, arena
 1575|      1|    );
 1576|       |
 1577|      1|    if (!debug) {
  ------------------
  |  Branch (1577:9): [True: 1, False: 0]
  ------------------
 1578|      1|        return interpolation;
 1579|      1|    }
 1580|       |
 1581|      0|    expr_ty debug_text = _PyAST_Constant(debug_metadata, NULL, lineno, col_offset + 1, debug_end_line,
 1582|      0|                                            debug_end_offset - 1, p->arena);
 1583|      0|    if (!debug_text) {
  ------------------
  |  Branch (1583:9): [True: 0, False: 0]
  ------------------
 1584|      0|        return NULL;
 1585|      0|    }
 1586|       |
 1587|      0|    asdl_expr_seq *values = _Py_asdl_expr_seq_new(2, arena);
 1588|      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))
  |  |  ------------------
  ------------------
 1589|      0|    asdl_seq_SET(values, 1, interpolation);
  ------------------
  |  |   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))
  |  |  ------------------
  ------------------
 1590|      0|    return _PyAST_JoinedStr(values, lineno, col_offset, debug_end_line, debug_end_offset, p->arena);
 1591|      0|}
_PyPegen_formatted_value:
 1595|    743|                                 int end_lineno, int end_col_offset, PyArena *arena) {
 1596|    743|    int conversion_val = _get_interpolation_conversion(p, debug, conversion, format);
 1597|       |
 1598|    743|    expr_ty formatted_value = _PyAST_FormattedValue(
 1599|    743|        expression, conversion_val, format ? (expr_ty) format->result : NULL,
  ------------------
  |  Branch (1599:37): [True: 5, False: 738]
  ------------------
 1600|    743|        lineno, col_offset, end_lineno,
 1601|    743|        end_col_offset, arena
 1602|    743|    );
 1603|       |
 1604|    743|    if (!debug) {
  ------------------
  |  Branch (1604:9): [True: 742, False: 1]
  ------------------
 1605|    742|        return formatted_value;
 1606|    742|    }
 1607|       |
 1608|       |    /* Find the non whitespace token after the "=" */
 1609|      1|    int debug_end_line, debug_end_offset;
 1610|      1|    PyObject *debug_metadata;
 1611|       |
 1612|      1|    if (conversion) {
  ------------------
  |  Branch (1612:9): [True: 0, False: 1]
  ------------------
 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|      1|    else if (format) {
  ------------------
  |  Branch (1617:14): [True: 0, False: 1]
  ------------------
 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|      1|    else {
 1623|      1|        debug_end_line = end_lineno;
 1624|      1|        debug_end_offset = end_col_offset;
 1625|      1|        debug_metadata = closing_brace->metadata;
 1626|      1|    }
 1627|      1|    expr_ty debug_text = _PyAST_Constant(debug_metadata, NULL, lineno, col_offset + 1, debug_end_line,
 1628|      1|                                            debug_end_offset - 1, p->arena);
 1629|      1|    if (!debug_text) {
  ------------------
  |  Branch (1629:9): [True: 0, False: 1]
  ------------------
 1630|      0|        return NULL;
 1631|      0|    }
 1632|       |
 1633|      1|    asdl_expr_seq *values = _Py_asdl_expr_seq_new(2, arena);
 1634|      1|    asdl_seq_SET(values, 0, debug_text);
  ------------------
  |  |   94|      1|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|      1|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1635|      1|    asdl_seq_SET(values, 1, formatted_value);
  ------------------
  |  |   94|      1|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|      1|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1636|      1|    return _PyAST_JoinedStr(values, lineno, col_offset, debug_end_line, debug_end_offset, p->arena);
 1637|      1|}
_PyPegen_concatenate_tstrings:
 1908|      1|{
 1909|      1|    asdl_expr_seq *values = _build_concatenated_str(p, strings, lineno,
 1910|      1|        col_offset, end_lineno, end_col_offset, arena);
 1911|      1|    return _PyAST_TemplateStr(values, lineno, col_offset, end_lineno,
 1912|      1|        end_col_offset, arena);
 1913|      1|}
_PyPegen_concatenate_strings:
 1919|  3.18k|{
 1920|  3.18k|    Py_ssize_t len = asdl_seq_LEN(strings);
  ------------------
  |  |   83|  3.18k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  6.37k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 3.18k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1921|  3.18k|    assert(len > 0);
 1922|       |
 1923|  3.18k|    int f_string_found = 0;
 1924|  3.18k|    int unicode_string_found = 0;
 1925|  3.18k|    int bytes_found = 0;
 1926|       |
 1927|  3.18k|    Py_ssize_t i = 0;
 1928|  6.49k|    for (i = 0; i < len; i++) {
  ------------------
  |  Branch (1928:17): [True: 3.31k, False: 3.18k]
  ------------------
 1929|  3.31k|        expr_ty elem = asdl_seq_GET(strings, i);
  ------------------
  |  |   82|  3.31k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  3.31k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1930|  3.31k|        switch(elem->kind) {
 1931|  2.87k|            case Constant_kind:
  ------------------
  |  Branch (1931:13): [True: 2.87k, False: 431]
  ------------------
 1932|  2.87k|                if (PyBytes_CheckExact(elem->v.Constant.value)) {
  ------------------
  |  |   29|  2.87k|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_Type)
  |  |  ------------------
  |  |  |  |  215|  2.87k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.87k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.87k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 18, False: 2.86k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1933|     18|                    bytes_found = 1;
 1934|  2.86k|                } else {
 1935|  2.86k|                    unicode_string_found = 1;
 1936|  2.86k|                }
 1937|  2.87k|                break;
 1938|    431|            case JoinedStr_kind:
  ------------------
  |  Branch (1938:13): [True: 431, False: 2.87k]
  ------------------
 1939|    431|                f_string_found = 1;
 1940|    431|                break;
 1941|      0|            case TemplateStr_kind:
  ------------------
  |  Branch (1941:13): [True: 0, False: 3.31k]
  ------------------
 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: 3.31k]
  ------------------
 1946|      0|                f_string_found = 1;
 1947|      0|                break;
 1948|  3.31k|        }
 1949|  3.31k|    }
 1950|       |
 1951|       |    // Cannot mix unicode and bytes
 1952|  3.18k|    if ((unicode_string_found || f_string_found) && bytes_found) {
  ------------------
  |  Branch (1952:10): [True: 2.79k, False: 389]
  |  Branch (1952:34): [True: 371, False: 18]
  |  Branch (1952:53): [True: 0, False: 3.17k]
  ------------------
 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|  3.18k|    if (!f_string_found) {
  ------------------
  |  Branch (1958:9): [True: 2.81k, False: 375]
  ------------------
 1959|  2.81k|        if (len == 1) {
  ------------------
  |  Branch (1959:13): [True: 2.76k, False: 47]
  ------------------
 1960|  2.76k|            return asdl_seq_GET(strings, 0);
  ------------------
  |  |   82|  2.76k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  2.76k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1961|  2.76k|        }
 1962|     47|        else if (bytes_found) {
  ------------------
  |  Branch (1962:18): [True: 0, False: 47]
  ------------------
 1963|      0|            return _build_concatenated_bytes(p, strings, lineno, col_offset,
 1964|      0|                end_lineno, end_col_offset, arena);
 1965|      0|        }
 1966|     47|        else {
 1967|     47|            return _build_concatenated_unicode(p, strings, lineno, col_offset,
 1968|     47|                end_lineno, end_col_offset, arena);
 1969|     47|        }
 1970|  2.81k|    }
 1971|       |
 1972|    375|    return _build_concatenated_joined_str(p, strings, lineno,
 1973|    375|        col_offset, end_lineno, end_col_offset, arena);
 1974|  3.18k|}
_PyPegen_checked_future_import:
 1980|    168|                               PyArena *arena) {
 1981|    168|    if (level == 0 && PyUnicode_CompareWithASCIIString(module, "__future__") == 0) {
  ------------------
  |  Branch (1981:9): [True: 121, False: 47]
  |  Branch (1981:23): [True: 0, False: 121]
  ------------------
 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|    168|    return _PyAST_ImportFrom(module, names, level, lazy_token ? 1 : 0, lineno,
  ------------------
  |  Branch (1994:52): [True: 2, False: 166]
  ------------------
 1995|    168|                             col_offset, end_lineno, end_col_offset, arena);
 1996|    168|}
_PyPegen_register_stmts:
 1999|  4.70k|_PyPegen_register_stmts(Parser *p, asdl_stmt_seq* stmts) {
 2000|  4.70k|    if (!p->call_invalid_rules) {
  ------------------
  |  Branch (2000:9): [True: 4.70k, False: 0]
  ------------------
 2001|  4.70k|        return stmts;
 2002|  4.70k|    }
 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|  5.84k|{
   74|  5.84k|    Py_ssize_t size = 0;
   75|  19.7k|    for (Py_ssize_t i = 0, l = asdl_seq_LEN(seqs); i < l; i++) {
  ------------------
  |  |   83|  5.84k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  11.6k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 5.84k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (75:52): [True: 13.8k, False: 5.84k]
  ------------------
   76|  13.8k|        asdl_seq *inner_seq = asdl_seq_GET_UNTYPED(seqs, i);
  ------------------
  |  |   81|  13.8k|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  13.8k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
   77|  13.8k|        size += asdl_seq_LEN(inner_seq);
  ------------------
  |  |   83|  13.8k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  27.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 13.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   78|  13.8k|    }
   79|  5.84k|    return size;
   80|  5.84k|}
action_helpers.c:_set_name_context:
  264|  9.08k|{
  265|  9.08k|    return _PyAST_Name(e->v.Name.id, ctx, EXTRA_EXPR(e, e));
  ------------------
  |  |  268|  9.08k|#define EXTRA_EXPR(head, tail) head->lineno, (head)->col_offset, (tail)->end_lineno, (tail)->end_col_offset, p->arena
  ------------------
  266|  9.08k|}
action_helpers.c:_set_subscript_context:
  288|      1|{
  289|      1|    return _PyAST_Subscript(e->v.Subscript.value, e->v.Subscript.slice,
  290|      1|                            ctx, EXTRA_EXPR(e, e));
  ------------------
  |  |  268|      1|#define EXTRA_EXPR(head, tail) head->lineno, (head)->col_offset, (tail)->end_lineno, (tail)->end_col_offset, p->arena
  ------------------
  291|      1|}
action_helpers.c:_make_posonlyargs:
  527|   110k|                  asdl_arg_seq **posonlyargs) {
  528|   110k|    if (slash_without_default != NULL) {
  ------------------
  |  Branch (528:9): [True: 38, False: 110k]
  ------------------
  529|     38|        *posonlyargs = slash_without_default;
  530|     38|    }
  531|   110k|    else if (slash_with_default != NULL) {
  ------------------
  |  Branch (531:14): [True: 3, False: 110k]
  ------------------
  532|      3|        asdl_arg_seq *slash_with_default_names =
  533|      3|                _get_names(p, slash_with_default->names_with_defaults);
  534|      3|        if (!slash_with_default_names) {
  ------------------
  |  Branch (534:13): [True: 0, False: 3]
  ------------------
  535|      0|            return -1;
  536|      0|        }
  537|      3|        *posonlyargs = (asdl_arg_seq*)_PyPegen_join_sequences(
  538|      3|                p,
  539|      3|                (asdl_seq*)slash_with_default->plain_names,
  540|      3|                (asdl_seq*)slash_with_default_names);
  541|      3|    }
  542|   110k|    else {
  543|   110k|        *posonlyargs = _Py_asdl_arg_seq_new(0, p->arena);
  544|   110k|    }
  545|   110k|    return *posonlyargs == NULL ? -1 : 0;
  ------------------
  |  Branch (545:12): [True: 0, False: 110k]
  ------------------
  546|   110k|}
action_helpers.c:_get_names:
  495|   110k|{
  496|   110k|    Py_ssize_t len = asdl_seq_LEN(names_with_defaults);
  ------------------
  |  |   83|   110k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|   221k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 110k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  497|   110k|    asdl_arg_seq *seq = _Py_asdl_arg_seq_new(len, p->arena);
  498|   110k|    if (!seq) {
  ------------------
  |  Branch (498:9): [True: 0, False: 110k]
  ------------------
  499|      0|        return NULL;
  500|      0|    }
  501|   111k|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (501:28): [True: 886, False: 110k]
  ------------------
  502|    886|        NameDefaultPair *pair = asdl_seq_GET_UNTYPED(names_with_defaults, i);
  ------------------
  |  |   81|    886|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    886|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  503|    886|        asdl_seq_SET(seq, i, pair->arg);
  ------------------
  |  |   94|    886|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|    886|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  504|    886|    }
  505|   110k|    return seq;
  506|   110k|}
action_helpers.c:_make_posargs:
  552|   110k|              asdl_arg_seq **posargs) {
  553|       |
  554|   110k|    if (names_with_default != NULL) {
  ------------------
  |  Branch (554:9): [True: 110k, False: 48]
  ------------------
  555|   110k|        if (plain_names != NULL) {
  ------------------
  |  Branch (555:13): [True: 110k, False: 29]
  ------------------
  556|   110k|            asdl_arg_seq *names_with_default_names = _get_names(p, names_with_default);
  557|   110k|            if (!names_with_default_names) {
  ------------------
  |  Branch (557:17): [True: 0, False: 110k]
  ------------------
  558|      0|                return -1;
  559|      0|            }
  560|   110k|            *posargs = (asdl_arg_seq*)_PyPegen_join_sequences(
  561|   110k|                    p,(asdl_seq*)plain_names, (asdl_seq*)names_with_default_names);
  562|   110k|        }
  563|     29|        else {
  564|     29|            *posargs = _get_names(p, names_with_default);
  565|     29|        }
  566|   110k|    }
  567|     48|    else {
  568|     48|        if (plain_names != NULL) {
  ------------------
  |  Branch (568:13): [True: 0, False: 48]
  ------------------
  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|     48|        else {
  575|     48|            *posargs = _Py_asdl_arg_seq_new(0, p->arena);
  576|     48|        }
  577|     48|    }
  578|   110k|    return *posargs == NULL ? -1 : 0;
  ------------------
  |  Branch (578:12): [True: 0, False: 110k]
  ------------------
  579|   110k|}
action_helpers.c:_make_posdefaults:
  585|   110k|                  asdl_expr_seq **posdefaults) {
  586|   110k|    if (slash_with_default != NULL && names_with_default != NULL) {
  ------------------
  |  Branch (586:9): [True: 3, False: 110k]
  |  Branch (586:39): [True: 3, False: 0]
  ------------------
  587|      3|        asdl_expr_seq *slash_with_default_values =
  588|      3|                _get_defaults(p, slash_with_default->names_with_defaults);
  589|      3|        if (!slash_with_default_values) {
  ------------------
  |  Branch (589:13): [True: 0, False: 3]
  ------------------
  590|      0|            return -1;
  591|      0|        }
  592|      3|        asdl_expr_seq *names_with_default_values = _get_defaults(p, names_with_default);
  593|      3|        if (!names_with_default_values) {
  ------------------
  |  Branch (593:13): [True: 0, False: 3]
  ------------------
  594|      0|            return -1;
  595|      0|        }
  596|      3|        *posdefaults = (asdl_expr_seq*)_PyPegen_join_sequences(
  597|      3|                p,
  598|      3|                (asdl_seq*)slash_with_default_values,
  599|      3|                (asdl_seq*)names_with_default_values);
  600|      3|    }
  601|   110k|    else if (slash_with_default == NULL && names_with_default != NULL) {
  ------------------
  |  Branch (601:14): [True: 110k, False: 0]
  |  Branch (601:44): [True: 110k, False: 48]
  ------------------
  602|   110k|        *posdefaults = _get_defaults(p, names_with_default);
  603|   110k|    }
  604|     48|    else if (slash_with_default != NULL && names_with_default == NULL) {
  ------------------
  |  Branch (604:14): [True: 0, False: 48]
  |  Branch (604:44): [True: 0, False: 0]
  ------------------
  605|      0|        *posdefaults = _get_defaults(p, slash_with_default->names_with_defaults);
  606|      0|    }
  607|     48|    else {
  608|     48|        *posdefaults = _Py_asdl_expr_seq_new(0, p->arena);
  609|     48|    }
  610|   110k|    return *posdefaults == NULL ? -1 : 0;
  ------------------
  |  Branch (610:12): [True: 0, False: 110k]
  ------------------
  611|   110k|}
action_helpers.c:_get_defaults:
  510|   110k|{
  511|   110k|    Py_ssize_t len = asdl_seq_LEN(names_with_defaults);
  ------------------
  |  |   83|   110k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|   221k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 110k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  512|   110k|    asdl_expr_seq *seq = _Py_asdl_expr_seq_new(len, p->arena);
  513|   110k|    if (!seq) {
  ------------------
  |  Branch (513:9): [True: 0, False: 110k]
  ------------------
  514|      0|        return NULL;
  515|      0|    }
  516|   111k|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (516:28): [True: 886, False: 110k]
  ------------------
  517|    886|        NameDefaultPair *pair = asdl_seq_GET_UNTYPED(names_with_defaults, i);
  ------------------
  |  |   81|    886|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    886|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  518|    886|        asdl_seq_SET(seq, i, pair->value);
  ------------------
  |  |   94|    886|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|    886|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  519|    886|    }
  520|   110k|    return seq;
  521|   110k|}
action_helpers.c:_make_kwargs:
  616|   110k|             asdl_expr_seq **kwdefaults) {
  617|   110k|    if (star_etc != NULL && star_etc->kwonlyargs != NULL) {
  ------------------
  |  Branch (617:9): [True: 247, False: 110k]
  |  Branch (617:29): [True: 227, False: 20]
  ------------------
  618|    227|        *kwonlyargs = _get_names(p, star_etc->kwonlyargs);
  619|    227|    }
  620|   110k|    else {
  621|   110k|        *kwonlyargs = _Py_asdl_arg_seq_new(0, p->arena);
  622|   110k|    }
  623|       |
  624|   110k|    if (*kwonlyargs == NULL) {
  ------------------
  |  Branch (624:9): [True: 0, False: 110k]
  ------------------
  625|      0|        return -1;
  626|      0|    }
  627|       |
  628|   110k|    if (star_etc != NULL && star_etc->kwonlyargs != NULL) {
  ------------------
  |  Branch (628:9): [True: 247, False: 110k]
  |  Branch (628:29): [True: 227, False: 20]
  ------------------
  629|    227|        *kwdefaults = _get_defaults(p, star_etc->kwonlyargs);
  630|    227|    }
  631|   110k|    else {
  632|   110k|        *kwdefaults = _Py_asdl_expr_seq_new(0, p->arena);
  633|   110k|    }
  634|       |
  635|   110k|    if (*kwdefaults == NULL) {
  ------------------
  |  Branch (635:9): [True: 0, False: 110k]
  ------------------
  636|      0|        return -1;
  637|      0|    }
  638|       |
  639|   110k|    return 0;
  640|   110k|}
action_helpers.c:_seq_number_of_starred_exprs:
  784|    790|{
  785|    790|    int n = 0;
  786|  2.17k|    for (Py_ssize_t i = 0, l = asdl_seq_LEN(seq); i < l; i++) {
  ------------------
  |  |   83|    790|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  1.58k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 790]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (786:51): [True: 1.38k, False: 790]
  ------------------
  787|  1.38k|        KeywordOrStarred *k = asdl_seq_GET_UNTYPED(seq, i);
  ------------------
  |  |   81|  1.38k|#define asdl_seq_GET_UNTYPED(S, I) _Py_RVALUE((S)->elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  1.38k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  788|  1.38k|        if (!k->is_keyword) {
  ------------------
  |  Branch (788:13): [True: 0, False: 1.38k]
  ------------------
  789|      0|            n++;
  790|      0|        }
  791|  1.38k|    }
  792|    790|    return n;
  793|    790|}
action_helpers.c:result_token_with_metadata:
  984|    401|{
  985|    401|    ResultTokenWithMetadata *res = _PyArena_Malloc(p->arena, sizeof(ResultTokenWithMetadata));
  986|    401|    if (res == NULL) {
  ------------------
  |  Branch (986:9): [True: 0, False: 401]
  ------------------
  987|      0|        return NULL;
  988|      0|    }
  989|    401|    res->metadata = metadata;
  990|    401|    res->result = result;
  991|    401|    return res;
  992|    401|}
action_helpers.c:_get_resized_exprs:
 1331|    432|{
 1332|    432|    Py_ssize_t n_items = asdl_seq_LEN(raw_expressions);
  ------------------
  |  |   83|    432|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    864|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 432]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1333|    432|    Py_ssize_t total_items = n_items;
 1334|  1.95k|    for (Py_ssize_t i = 0; i < n_items; i++) {
  ------------------
  |  Branch (1334:28): [True: 1.52k, False: 432]
  ------------------
 1335|  1.52k|        expr_ty item = asdl_seq_GET(raw_expressions, i);
  ------------------
  |  |   82|  1.52k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  1.52k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1336|  1.52k|        if (item->kind == JoinedStr_kind) {
  ------------------
  |  Branch (1336:13): [True: 1, False: 1.52k]
  ------------------
 1337|      1|            total_items += asdl_seq_LEN(item->v.JoinedStr.values) - 1;
  ------------------
  |  |   83|      1|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|      2|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1338|      1|        }
 1339|  1.52k|    }
 1340|       |
 1341|    432|    const char* quote_str = PyBytes_AsString(a->bytes);
 1342|    432|    if (quote_str == NULL) {
  ------------------
  |  Branch (1342:9): [True: 0, False: 432]
  ------------------
 1343|      0|        return NULL;
 1344|      0|    }
 1345|    432|    int is_raw = strpbrk(quote_str, "rR") != NULL;
 1346|       |
 1347|    432|    asdl_expr_seq *seq = _Py_asdl_expr_seq_new(total_items, p->arena);
 1348|    432|    if (seq == NULL) {
  ------------------
  |  Branch (1348:9): [True: 0, False: 432]
  ------------------
 1349|      0|        return NULL;
 1350|      0|    }
 1351|       |
 1352|    432|    Py_ssize_t index = 0;
 1353|  1.95k|    for (Py_ssize_t i = 0; i < n_items; i++) {
  ------------------
  |  Branch (1353:28): [True: 1.52k, False: 432]
  ------------------
 1354|  1.52k|        expr_ty item = asdl_seq_GET(raw_expressions, i);
  ------------------
  |  |   82|  1.52k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  1.52k|#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|  1.52k|        if (item->kind == JoinedStr_kind) {
  ------------------
  |  Branch (1360:13): [True: 1, False: 1.52k]
  ------------------
 1361|      1|            asdl_expr_seq *values = item->v.JoinedStr.values;
 1362|      1|            if (asdl_seq_LEN(values) != 2) {
  ------------------
  |  |   83|      1|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|      2|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1362:17): [True: 0, False: 1]
  ------------------
 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|      1|            expr_ty first = asdl_seq_GET(values, 0);
  ------------------
  |  |   82|      1|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|      1|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1372|      1|            assert(first->kind == Constant_kind);
 1373|      1|            asdl_seq_SET(seq, index++, first);
  ------------------
  |  |   94|      1|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|      1|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1374|       |
 1375|      1|            expr_ty second = asdl_seq_GET(values, 1);
  ------------------
  |  |   82|      1|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|      1|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1376|      1|            assert((string_kind == TSTRING && second->kind == Interpolation_kind) || second->kind == FormattedValue_kind);
 1377|      1|            asdl_seq_SET(seq, index++, second);
  ------------------
  |  |   94|      1|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|      1|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1378|       |
 1379|      1|            continue;
 1380|      1|        }
 1381|       |
 1382|  1.52k|        if (item->kind == Constant_kind) {
  ------------------
  |  Branch (1382:13): [True: 779, False: 743]
  ------------------
 1383|    779|            item = _PyPegen_decode_fstring_part(p, is_raw, item, b);
 1384|    779|            if (item == NULL) {
  ------------------
  |  Branch (1384:17): [True: 0, False: 779]
  ------------------
 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|    779|            if (PyUnicode_CheckExact(item->v.Constant.value)
  ------------------
  |  |  104|    779|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  1.55k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    779|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    779|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 779, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1392|    779|                && PyUnicode_GET_LENGTH(item->v.Constant.value) == 0) {
  ------------------
  |  |  299|    779|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    779|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    779|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1392:20): [True: 0, False: 779]
  ------------------
 1393|      0|                continue;
 1394|      0|            }
 1395|    779|        }
 1396|  1.52k|        asdl_seq_SET(seq, index++, item);
  ------------------
  |  |   94|  1.52k|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  1.52k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1397|  1.52k|    }
 1398|       |
 1399|    432|    asdl_expr_seq *resized_exprs;
 1400|    432|    if (index != total_items) {
  ------------------
  |  Branch (1400:9): [True: 0, False: 432]
  ------------------
 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|    432|    else {
 1410|    432|        resized_exprs = seq;
 1411|    432|    }
 1412|    432|    return resized_exprs;
 1413|    432|}
action_helpers.c:_PyPegen_decode_fstring_part:
 1299|    779|_PyPegen_decode_fstring_part(Parser* p, int is_raw, expr_ty constant, Token* token) {
 1300|    779|    assert(PyUnicode_CheckExact(constant->v.Constant.value));
 1301|       |
 1302|    779|    const char* bstr = PyUnicode_AsUTF8(constant->v.Constant.value);
 1303|    779|    if (bstr == NULL) {
  ------------------
  |  Branch (1303:9): [True: 0, False: 779]
  ------------------
 1304|      0|        return NULL;
 1305|      0|    }
 1306|       |
 1307|    779|    size_t len;
 1308|    779|    if (strcmp(bstr, "{{") == 0 || strcmp(bstr, "}}") == 0) {
  ------------------
  |  Branch (1308:9): [True: 0, False: 779]
  |  Branch (1308:36): [True: 0, False: 779]
  ------------------
 1309|      0|        len = 1;
 1310|    779|    } else {
 1311|    779|        len = strlen(bstr);
 1312|    779|    }
 1313|       |
 1314|    779|    is_raw = is_raw || strchr(bstr, '\\') == NULL;
  ------------------
  |  Branch (1314:14): [True: 0, False: 779]
  |  Branch (1314:24): [True: 769, False: 10]
  ------------------
 1315|    779|    PyObject *str = _PyPegen_decode_string(p, is_raw, bstr, len, token);
 1316|    779|    if (str == NULL) {
  ------------------
  |  Branch (1316:9): [True: 0, False: 779]
  ------------------
 1317|      0|        _Pypegen_raise_decode_error(p);
 1318|      0|        return NULL;
 1319|      0|    }
 1320|    779|    if (_PyArena_AddPyObject(p->arena, str) < 0) {
  ------------------
  |  Branch (1320:9): [True: 0, False: 779]
  ------------------
 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|    779|    return _PyAST_Constant(str, NULL, constant->lineno, constant->col_offset,
 1325|    779|                           constant->end_lineno, constant->end_col_offset,
 1326|    779|                           p->arena);
 1327|    779|}
action_helpers.c:_get_interpolation_conversion:
 1505|    744|{
 1506|    744|    if (conversion != NULL) {
  ------------------
  |  Branch (1506:9): [True: 396, False: 348]
  ------------------
 1507|    396|        expr_ty conversion_expr = (expr_ty) conversion->result;
 1508|    396|        assert(conversion_expr->kind == Name_kind);
 1509|    396|        Py_UCS4 first = PyUnicode_READ_CHAR(conversion_expr->v.Name.id, 0);
  ------------------
  |  |  381|    396|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|    396|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    396|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1510|    396|        return Py_SAFE_DOWNCAST(first, Py_UCS4, int);
  ------------------
  |  |  247|    396|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  ------------------
  |  |  |  |   34|    396|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1511|    396|    }
 1512|    348|    else if (debug && !format) {
  ------------------
  |  Branch (1512:14): [True: 1, False: 347]
  |  Branch (1512:23): [True: 1, False: 0]
  ------------------
 1513|       |        /* If no conversion is specified, use !r for debug expressions */
 1514|      1|        return (int)'r';
 1515|      1|    }
 1516|    347|    return -1;
 1517|    744|}
action_helpers.c:_strip_interpolation_expr:
 1521|      1|{
 1522|      1|    Py_ssize_t len = PyUnicode_GET_LENGTH(exprstr);
  ------------------
  |  |  299|      1|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1523|       |
 1524|      1|    for (Py_ssize_t i = len - 1; i >= 0; i--) {
  ------------------
  |  Branch (1524:34): [True: 1, False: 0]
  ------------------
 1525|      1|        Py_UCS4 c = PyUnicode_READ_CHAR(exprstr, i);
  ------------------
  |  |  381|      1|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|      1|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      1|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1526|      1|        if (_PyUnicode_IsWhitespace(c) || c == '=') {
  ------------------
  |  Branch (1526:13): [True: 0, False: 1]
  |  Branch (1526:43): [True: 0, False: 1]
  ------------------
 1527|      0|            len--;
 1528|      0|        }
 1529|      1|        else {
 1530|      1|            break;
 1531|      1|        }
 1532|      1|    }
 1533|       |
 1534|      1|    return PyUnicode_Substring(exprstr, 0, len);
 1535|      1|}
action_helpers.c:_build_concatenated_str:
 1742|    376|{
 1743|    376|    Py_ssize_t len = asdl_seq_LEN(strings);
  ------------------
  |  |   83|    376|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    752|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 376]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1744|    376|    assert(len > 0);
 1745|       |
 1746|    376|    Py_ssize_t n_flattened_elements = 0;
 1747|    812|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (1747:28): [True: 436, False: 376]
  ------------------
 1748|    436|        expr_ty elem = asdl_seq_GET(strings, i);
  ------------------
  |  |   82|    436|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    436|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1749|    436|        switch(elem->kind) {
 1750|    431|            case JoinedStr_kind:
  ------------------
  |  Branch (1750:13): [True: 431, False: 5]
  ------------------
 1751|    431|                n_flattened_elements += asdl_seq_LEN(elem->v.JoinedStr.values);
  ------------------
  |  |   83|    431|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    862|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 431]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1752|    431|                break;
 1753|      1|            case TemplateStr_kind:
  ------------------
  |  Branch (1753:13): [True: 1, False: 435]
  ------------------
 1754|      1|                n_flattened_elements += asdl_seq_LEN(elem->v.TemplateStr.values);
  ------------------
  |  |   83|      1|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|      2|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1755|      1|                break;
 1756|      4|            default:
  ------------------
  |  Branch (1756:13): [True: 4, False: 432]
  ------------------
 1757|      4|                n_flattened_elements++;
 1758|      4|                break;
 1759|    436|        }
 1760|    436|    }
 1761|       |
 1762|       |
 1763|    376|    asdl_expr_seq* flattened = _Py_asdl_expr_seq_new(n_flattened_elements, p->arena);
 1764|    376|    if (flattened == NULL) {
  ------------------
  |  Branch (1764:9): [True: 0, False: 376]
  ------------------
 1765|      0|        return NULL;
 1766|      0|    }
 1767|       |
 1768|       |    /* build flattened list */
 1769|    376|    Py_ssize_t current_pos = 0;
 1770|    812|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (1770:28): [True: 436, False: 376]
  ------------------
 1771|    436|        expr_ty elem = asdl_seq_GET(strings, i);
  ------------------
  |  |   82|    436|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    436|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1772|    436|        switch(elem->kind) {
 1773|    431|            case JoinedStr_kind:
  ------------------
  |  Branch (1773:13): [True: 431, False: 5]
  ------------------
 1774|  1.95k|                for (Py_ssize_t j = 0; j < asdl_seq_LEN(elem->v.JoinedStr.values); j++) {
  ------------------
  |  |   83|  1.95k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  3.90k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 1.95k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1774:40): [True: 1.52k, False: 431]
  ------------------
 1775|  1.52k|                    expr_ty subvalue = asdl_seq_GET(elem->v.JoinedStr.values, j);
  ------------------
  |  |   82|  1.52k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  1.52k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1776|  1.52k|                    if (subvalue == NULL) {
  ------------------
  |  Branch (1776:25): [True: 0, False: 1.52k]
  ------------------
 1777|      0|                        return NULL;
 1778|      0|                    }
 1779|  1.52k|                    asdl_seq_SET(flattened, current_pos++, subvalue);
  ------------------
  |  |   94|  1.52k|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  1.52k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1780|  1.52k|                }
 1781|    431|                break;
 1782|    431|            case TemplateStr_kind:
  ------------------
  |  Branch (1782:13): [True: 1, False: 435]
  ------------------
 1783|      2|                for (Py_ssize_t j = 0; j < asdl_seq_LEN(elem->v.TemplateStr.values); j++) {
  ------------------
  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1783:40): [True: 1, False: 1]
  ------------------
 1784|      1|                    expr_ty subvalue = asdl_seq_GET(elem->v.TemplateStr.values, j);
  ------------------
  |  |   82|      1|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|      1|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1785|      1|                    if (subvalue == NULL) {
  ------------------
  |  Branch (1785:25): [True: 0, False: 1]
  ------------------
 1786|      0|                        return NULL;
 1787|      0|                    }
 1788|      1|                    asdl_seq_SET(flattened, current_pos++, subvalue);
  ------------------
  |  |   94|      1|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|      1|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1789|      1|                }
 1790|      1|                break;
 1791|      4|            default:
  ------------------
  |  Branch (1791:13): [True: 4, False: 432]
  ------------------
 1792|      4|                asdl_seq_SET(flattened, current_pos++, elem);
  ------------------
  |  |   94|      4|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1793|      4|                break;
 1794|    436|        }
 1795|    436|    }
 1796|       |
 1797|       |    /* calculate folded element count */
 1798|    376|    Py_ssize_t n_elements = 0;
 1799|    376|    int prev_is_constant = 0;
 1800|  1.90k|    for (Py_ssize_t i = 0; i < n_flattened_elements; i++) {
  ------------------
  |  Branch (1800:28): [True: 1.52k, False: 376]
  ------------------
 1801|  1.52k|        expr_ty elem = asdl_seq_GET(flattened, i);
  ------------------
  |  |   82|  1.52k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  1.52k|#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|  1.52k|        if (elem->kind == Constant_kind &&
  ------------------
  |  Branch (1806:13): [True: 784, False: 744]
  ------------------
 1807|  1.52k|            PyUnicode_CheckExact(elem->v.Constant.value) &&
  ------------------
  |  |  104|    784|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  2.31k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    784|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    784|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 784, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1808|    784|            PyUnicode_GET_LENGTH(elem->v.Constant.value) == 0)
  ------------------
  |  |  299|    784|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    784|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    784|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1808:13): [True: 0, False: 784]
  ------------------
 1809|      0|            continue;
 1810|       |
 1811|  1.52k|        if (!prev_is_constant || elem->kind != Constant_kind) {
  ------------------
  |  Branch (1811:13): [True: 893, False: 635]
  |  Branch (1811:34): [True: 581, False: 54]
  ------------------
 1812|  1.47k|            n_elements++;
 1813|  1.47k|        }
 1814|  1.52k|        prev_is_constant = elem->kind == Constant_kind;
 1815|  1.52k|    }
 1816|       |
 1817|    376|    asdl_expr_seq* values = _Py_asdl_expr_seq_new(n_elements, p->arena);
 1818|    376|    if (values == NULL) {
  ------------------
  |  Branch (1818:9): [True: 0, False: 376]
  ------------------
 1819|      0|        return NULL;
 1820|      0|    }
 1821|       |
 1822|       |    /* build folded list */
 1823|    376|    current_pos = 0;
 1824|  1.85k|    for (Py_ssize_t i = 0; i < n_flattened_elements; i++) {
  ------------------
  |  Branch (1824:28): [True: 1.47k, False: 376]
  ------------------
 1825|  1.47k|        expr_ty elem = asdl_seq_GET(flattened, i);
  ------------------
  |  |   82|  1.47k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  1.47k|#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|  1.47k|        if (elem->kind == Constant_kind) {
  ------------------
  |  Branch (1829:13): [True: 730, False: 744]
  ------------------
 1830|    730|            if (i + 1 < n_flattened_elements &&
  ------------------
  |  Branch (1830:17): [True: 590, False: 140]
  ------------------
 1831|    590|                asdl_seq_GET(flattened, i + 1)->kind == Constant_kind) {
  ------------------
  |  |   82|    590|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    590|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (1831:17): [True: 52, False: 538]
  ------------------
 1832|     52|                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|     52|                PyObject *kind = elem->v.Constant.kind;
 1841|       |
 1842|     52|                PyUnicodeWriter *writer = PyUnicodeWriter_Create(0);
 1843|     52|                if (writer == NULL) {
  ------------------
  |  Branch (1843:21): [True: 0, False: 52]
  ------------------
 1844|      0|                    return NULL;
 1845|      0|                }
 1846|     52|                expr_ty last_elem = elem;
 1847|     52|                Py_ssize_t j;
 1848|    158|                for (j = i; j < n_flattened_elements; j++) {
  ------------------
  |  Branch (1848:29): [True: 149, False: 9]
  ------------------
 1849|    149|                    expr_ty current_elem = asdl_seq_GET(flattened, j);
  ------------------
  |  |   82|    149|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    149|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1850|    149|                    if (current_elem->kind == Constant_kind) {
  ------------------
  |  Branch (1850:25): [True: 106, False: 43]
  ------------------
 1851|    106|                        if (PyUnicodeWriter_WriteStr(writer,
  ------------------
  |  Branch (1851:29): [True: 0, False: 106]
  ------------------
 1852|    106|                                                     current_elem->v.Constant.value)) {
 1853|      0|                            PyUnicodeWriter_Discard(writer);
 1854|      0|                            return NULL;
 1855|      0|                        }
 1856|    106|                        last_elem = current_elem;
 1857|    106|                    } else {
 1858|     43|                        break;
 1859|     43|                    }
 1860|    149|                }
 1861|     52|                i = j - 1;
 1862|       |
 1863|     52|                PyObject *concat_str = PyUnicodeWriter_Finish(writer);
 1864|     52|                if (concat_str == NULL) {
  ------------------
  |  Branch (1864:21): [True: 0, False: 52]
  ------------------
 1865|      0|                    return NULL;
 1866|      0|                }
 1867|     52|                if (_PyArena_AddPyObject(p->arena, concat_str) < 0) {
  ------------------
  |  Branch (1867:21): [True: 0, False: 52]
  ------------------
 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|     52|                elem = _PyAST_Constant(concat_str, kind, first_elem->lineno,
 1872|     52|                                       first_elem->col_offset,
 1873|     52|                                       last_elem->end_lineno,
 1874|     52|                                       last_elem->end_col_offset, p->arena);
 1875|     52|                if (elem == NULL) {
  ------------------
  |  Branch (1875:21): [True: 0, False: 52]
  ------------------
 1876|      0|                    return NULL;
 1877|      0|                }
 1878|     52|            }
 1879|       |
 1880|       |            /* Drop all empty contanst strings */
 1881|    730|            if (PyUnicode_CheckExact(elem->v.Constant.value) &&
  ------------------
  |  |  104|    730|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  1.46k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    730|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    730|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 730, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1882|    730|                PyUnicode_GET_LENGTH(elem->v.Constant.value) == 0) {
  ------------------
  |  |  299|    730|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    730|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    730|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1882:17): [True: 0, False: 730]
  ------------------
 1883|      0|                continue;
 1884|      0|            }
 1885|    730|        }
 1886|       |
 1887|  1.47k|        asdl_seq_SET(values, current_pos++, elem);
  ------------------
  |  |   94|  1.47k|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  1.47k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1888|  1.47k|    }
 1889|       |
 1890|    376|    assert(current_pos == n_elements);
 1891|    376|    return values;
 1892|    376|}
action_helpers.c:_build_concatenated_unicode:
 1696|     47|{
 1697|     47|    Py_ssize_t len = asdl_seq_LEN(strings);
  ------------------
  |  |   83|     47|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|     94|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 47]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1698|     47|    assert(len > 1);
 1699|       |
 1700|     47|    expr_ty first = asdl_seq_GET(strings, 0);
  ------------------
  |  |   82|     47|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|     47|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1701|       |
 1702|       |    /* When a string is getting concatenated, the kind of the string
 1703|       |        is determined by the first string in the concatenation
 1704|       |        sequence.
 1705|       |
 1706|       |        u"abc" "def" -> u"abcdef"
 1707|       |        "abc" u"abc" ->  "abcabc" */
 1708|     47|    PyObject *kind = first->v.Constant.kind;
 1709|       |
 1710|     47|    PyUnicodeWriter *writer = PyUnicodeWriter_Create(0);
 1711|     47|    if (writer == NULL) {
  ------------------
  |  Branch (1711:9): [True: 0, False: 47]
  ------------------
 1712|      0|        return NULL;
 1713|      0|    }
 1714|       |
 1715|    156|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (1715:28): [True: 109, False: 47]
  ------------------
 1716|    109|        expr_ty current_elem = asdl_seq_GET(strings, i);
  ------------------
  |  |   82|    109|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    109|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1717|    109|        assert(current_elem->kind == Constant_kind);
 1718|       |
 1719|    109|        if (PyUnicodeWriter_WriteStr(writer,
  ------------------
  |  Branch (1719:13): [True: 0, False: 109]
  ------------------
 1720|    109|                                     current_elem->v.Constant.value)) {
 1721|      0|            PyUnicodeWriter_Discard(writer);
 1722|      0|            return NULL;
 1723|      0|        }
 1724|    109|    }
 1725|       |
 1726|     47|    PyObject *final = PyUnicodeWriter_Finish(writer);
 1727|     47|    if (final == NULL) {
  ------------------
  |  Branch (1727:9): [True: 0, False: 47]
  ------------------
 1728|      0|        return NULL;
 1729|      0|    }
 1730|     47|    if (_PyArena_AddPyObject(p->arena, final) < 0) {
  ------------------
  |  Branch (1730:9): [True: 0, False: 47]
  ------------------
 1731|      0|        Py_DECREF(final);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1732|      0|        return NULL;
 1733|      0|    }
 1734|     47|    return _PyAST_Constant(final, kind, lineno, col_offset,
 1735|     47|                           end_lineno, end_col_offset, arena);
 1736|     47|}
action_helpers.c:_build_concatenated_joined_str:
 1898|    375|{
 1899|    375|    asdl_expr_seq *values = _build_concatenated_str(p, strings, lineno,
 1900|    375|        col_offset, end_lineno, end_col_offset, arena);
 1901|    375|    return _PyAST_JoinedStr(values, lineno, col_offset, end_lineno, end_col_offset, p->arena);
 1902|    375|}

_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|  2.46k|{
  229|  2.46k|    assert(tok->cur != NULL);
  230|       |
  231|  2.46k|    Py_ssize_t size = strlen(tok->cur);
  232|  2.46k|    tokenizer_mode *tok_mode = TOK_GET_MODE(tok);
  ------------------
  |  |   37|  2.46k|#define TOK_GET_MODE(tok) (&(tok->tok_mode_stack[tok->tok_mode_stack_index]))
  ------------------
  233|       |
  234|  2.46k|    switch (cur) {
  235|      0|       case 0:
  ------------------
  |  Branch (235:8): [True: 0, False: 2.46k]
  ------------------
  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|  1.31k|        case '{':
  ------------------
  |  Branch (251:9): [True: 1.31k, False: 1.14k]
  ------------------
  252|  1.31k|            if (tok_mode->last_expr_buffer != NULL) {
  ------------------
  |  Branch (252:17): [True: 913, False: 405]
  ------------------
  253|    913|                PyMem_Free(tok_mode->last_expr_buffer);
  254|    913|            }
  255|  1.31k|            tok_mode->last_expr_buffer = PyMem_Malloc(size);
  256|  1.31k|            if (tok_mode->last_expr_buffer == NULL) {
  ------------------
  |  Branch (256:17): [True: 0, False: 1.31k]
  ------------------
  257|      0|                goto error;
  258|      0|            }
  259|  1.31k|            tok_mode->last_expr_size = size;
  260|  1.31k|            tok_mode->last_expr_end = -1;
  261|  1.31k|            strncpy(tok_mode->last_expr_buffer, tok->cur, size);
  262|  1.31k|            break;
  263|    744|        case '}':
  ------------------
  |  Branch (263:9): [True: 744, False: 1.71k]
  ------------------
  264|  1.14k|        case '!':
  ------------------
  |  Branch (264:9): [True: 396, False: 2.06k]
  ------------------
  265|  1.14k|            tok_mode->last_expr_end = strlen(tok->start);
  266|  1.14k|            break;
  267|      5|        case ':':
  ------------------
  |  Branch (267:9): [True: 5, False: 2.45k]
  ------------------
  268|      5|            if (tok_mode->last_expr_end == -1) {
  ------------------
  |  Branch (268:17): [True: 5, False: 0]
  ------------------
  269|      5|               tok_mode->last_expr_end = strlen(tok->start);
  270|      5|            }
  271|      5|            break;
  272|      0|        default:
  ------------------
  |  Branch (272:9): [True: 0, False: 2.46k]
  ------------------
  273|      0|            Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  274|  2.46k|    }
  275|  2.46k|    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|  2.46k|}
_PyTokenizer_Get:
 1628|   358k|{
 1629|   358k|    int result = tok_get(tok, token);
 1630|   358k|    if (tok->decoding_erred) {
  ------------------
  |  Branch (1630:9): [True: 0, False: 358k]
  ------------------
 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|   358k|    return result;
 1635|   358k|}
lexer.c:tok_get:
 1617|   358k|{
 1618|   358k|    tokenizer_mode *current_tok = TOK_GET_MODE(tok);
  ------------------
  |  |   37|   358k|#define TOK_GET_MODE(tok) (&(tok->tok_mode_stack[tok->tok_mode_stack_index]))
  ------------------
 1619|   358k|    if (current_tok->kind == TOK_REGULAR_MODE) {
  ------------------
  |  Branch (1619:9): [True: 357k, False: 1.38k]
  ------------------
 1620|   357k|        return tok_get_normal_mode(tok, current_tok, token);
 1621|   357k|    } else {
 1622|  1.38k|        return tok_get_fstring_mode(tok, current_tok, token);
 1623|  1.38k|    }
 1624|   358k|}
lexer.c:tok_get_normal_mode:
  502|   357k|{
  503|   357k|    int c;
  504|   357k|    int blankline, nonascii;
  505|       |
  506|   357k|    const char *p_start = NULL;
  507|   357k|    const char *p_end = NULL;
  508|   363k|  nextline:
  509|   363k|    tok->start = NULL;
  510|   363k|    tok->starting_col_offset = -1;
  511|   363k|    blankline = 0;
  512|       |
  513|       |
  514|       |    /* Get indentation level */
  515|   363k|    if (tok->atbol) {
  ------------------
  |  Branch (515:9): [True: 76.0k, False: 287k]
  ------------------
  516|  76.0k|        int col = 0;
  517|  76.0k|        int altcol = 0;
  518|  76.0k|        tok->atbol = 0;
  519|  76.0k|        int cont_line_col = 0;
  520|   246k|        for (;;) {
  521|   246k|            c = tok_nextc(tok);
  522|   246k|            if (c == ' ') {
  ------------------
  |  Branch (522:17): [True: 170k, False: 76.0k]
  ------------------
  523|   170k|                col++, altcol++;
  524|   170k|            }
  525|  76.0k|            else if (c == '\t') {
  ------------------
  |  Branch (525:22): [True: 0, False: 76.0k]
  ------------------
  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|  76.0k|            else if (c == '\014')  {/* Control-L (formfeed) */
  ------------------
  |  Branch (529:22): [True: 0, False: 76.0k]
  ------------------
  530|      0|                col = altcol = 0; /* For Emacs users */
  531|      0|            }
  532|  76.0k|            else if (c == '\\') {
  ------------------
  |  Branch (532:22): [True: 0, False: 76.0k]
  ------------------
  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|  76.0k|            else if (c == EOF && PyErr_Occurred()) {
  ------------------
  |  Branch (542:22): [True: 27.3k, False: 48.7k]
  |  Branch (542:34): [True: 0, False: 27.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|  76.0k|            else {
  546|  76.0k|                break;
  547|  76.0k|            }
  548|   246k|        }
  549|  76.0k|        tok_backup(tok, c);
  550|  76.0k|        if (c == '#' || c == '\n' || c == '\r') {
  ------------------
  |  Branch (550:13): [True: 1.53k, False: 74.5k]
  |  Branch (550:25): [True: 3.22k, False: 71.2k]
  |  Branch (550:38): [True: 0, False: 71.2k]
  ------------------
  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|  4.75k|            if (col == 0 && c == '\n' && tok->prompt != NULL) {
  ------------------
  |  Branch (556:17): [True: 3.36k, False: 1.39k]
  |  Branch (556:29): [True: 3.22k, False: 134]
  |  Branch (556:42): [True: 0, False: 3.22k]
  ------------------
  557|      0|                blankline = 0; /* Let it through */
  558|      0|            }
  559|  4.75k|            else if (tok->prompt != NULL && tok->lineno == 1) {
  ------------------
  |  Branch (559:22): [True: 0, False: 4.75k]
  |  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|  4.75k|            else {
  566|  4.75k|                blankline = 1; /* Ignore completely */
  567|  4.75k|            }
  568|       |            /* We can't jump back right here since we still
  569|       |               may need to skip to the end of a comment */
  570|  4.75k|        }
  571|  76.0k|        if (!blankline && tok->level == 0) {
  ------------------
  |  Branch (571:13): [True: 71.2k, False: 4.75k]
  |  Branch (571:27): [True: 69.6k, False: 1.67k]
  ------------------
  572|  69.6k|            col = cont_line_col ? cont_line_col : col;
  ------------------
  |  Branch (572:19): [True: 0, False: 69.6k]
  ------------------
  573|  69.6k|            altcol = cont_line_col ? cont_line_col : altcol;
  ------------------
  |  Branch (573:22): [True: 0, False: 69.6k]
  ------------------
  574|  69.6k|            if (col == tok->indstack[tok->indent]) {
  ------------------
  |  Branch (574:17): [True: 59.3k, False: 10.3k]
  ------------------
  575|       |                /* No change */
  576|  59.3k|                if (altcol != tok->altindstack[tok->indent]) {
  ------------------
  |  Branch (576:21): [True: 0, False: 59.3k]
  ------------------
  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|  59.3k|            }
  580|  10.3k|            else if (col > tok->indstack[tok->indent]) {
  ------------------
  |  Branch (580:22): [True: 5.68k, False: 4.62k]
  ------------------
  581|       |                /* Indent -- always one */
  582|  5.68k|                if (tok->indent+1 >= MAXINDENT) {
  ------------------
  |  |    6|  5.68k|#define MAXINDENT 100       /* Max indentation level */
  ------------------
  |  Branch (582:21): [True: 0, False: 5.68k]
  ------------------
  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|  5.68k|                if (altcol <= tok->altindstack[tok->indent]) {
  ------------------
  |  Branch (587:21): [True: 0, False: 5.68k]
  ------------------
  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|  5.68k|                tok->pendin++;
  591|  5.68k|                tok->indstack[++tok->indent] = col;
  592|  5.68k|                tok->altindstack[tok->indent] = altcol;
  593|  5.68k|            }
  594|  4.62k|            else /* col < tok->indstack[tok->indent] */ {
  595|       |                /* Dedent -- any number, must be consistent */
  596|  10.3k|                while (tok->indent > 0 &&
  ------------------
  |  Branch (596:24): [True: 9.77k, False: 535]
  ------------------
  597|  9.77k|                    col < tok->indstack[tok->indent]) {
  ------------------
  |  Branch (597:21): [True: 5.68k, False: 4.08k]
  ------------------
  598|  5.68k|                    tok->pendin--;
  599|  5.68k|                    tok->indent--;
  600|  5.68k|                }
  601|  4.62k|                if (col != tok->indstack[tok->indent]) {
  ------------------
  |  Branch (601:21): [True: 0, False: 4.62k]
  ------------------
  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|  4.62k|                if (altcol != tok->altindstack[tok->indent]) {
  ------------------
  |  Branch (606:21): [True: 0, False: 4.62k]
  ------------------
  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|  4.62k|            }
  610|  69.6k|        }
  611|  76.0k|    }
  612|       |
  613|   363k|    tok->start = tok->cur;
  614|   363k|    tok->starting_col_offset = tok->col_offset;
  615|       |
  616|       |    /* Return pending indents/dedents */
  617|   363k|    if (tok->pendin != 0) {
  ------------------
  |  Branch (617:9): [True: 11.3k, False: 352k]
  ------------------
  618|  11.3k|        if (tok->pendin < 0) {
  ------------------
  |  Branch (618:13): [True: 5.68k, False: 5.68k]
  ------------------
  619|  5.68k|            if (tok->tok_extra_tokens) {
  ------------------
  |  Branch (619:17): [True: 30, False: 5.65k]
  ------------------
  620|     30|                p_start = tok->cur;
  621|     30|                p_end = tok->cur;
  622|     30|            }
  623|  5.68k|            tok->pendin++;
  624|  5.68k|            return MAKE_TOKEN(DEDENT);
  ------------------
  |  |   44|  5.68k|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  625|  5.68k|        }
  626|  5.68k|        else {
  627|  5.68k|            if (tok->tok_extra_tokens) {
  ------------------
  |  Branch (627:17): [True: 32, False: 5.65k]
  ------------------
  628|     32|                p_start = tok->buf;
  629|     32|                p_end = tok->cur;
  630|     32|            }
  631|  5.68k|            tok->pendin--;
  632|  5.68k|            return MAKE_TOKEN(INDENT);
  ------------------
  |  |   44|  5.68k|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  633|  5.68k|        }
  634|  11.3k|    }
  635|       |
  636|       |    /* Peek ahead at the next character */
  637|   352k|    c = tok_nextc(tok);
  638|   352k|    tok_backup(tok, c);
  639|       |
  640|   352k| again:
  641|   352k|    tok->start = NULL;
  642|       |    /* Skip spaces */
  643|   437k|    do {
  644|   437k|        c = tok_nextc(tok);
  645|   437k|    } while (c == ' ' || c == '\t' || c == '\014');
  ------------------
  |  Branch (645:14): [True: 84.6k, False: 352k]
  |  Branch (645:26): [True: 0, False: 352k]
  |  Branch (645:39): [True: 0, False: 352k]
  ------------------
  646|       |
  647|       |    /* Set start of current token */
  648|   352k|    tok->start = tok->cur == NULL ? NULL : tok->cur - 1;
  ------------------
  |  Branch (648:18): [True: 0, False: 352k]
  ------------------
  649|   352k|    tok->starting_col_offset = tok->col_offset - 1;
  650|       |
  651|       |    /* Skip comment, unless it's a type comment */
  652|   352k|    if (c == '#') {
  ------------------
  |  Branch (652:9): [True: 1.62k, False: 350k]
  ------------------
  653|       |
  654|  1.62k|        const char* p = NULL;
  655|  1.62k|        const char *prefix, *type_start;
  656|  1.62k|        int current_starting_col_offset;
  657|       |
  658|  78.4k|        while (c != EOF && c != '\n' && c != '\r') {
  ------------------
  |  Branch (658:16): [True: 78.4k, False: 0]
  |  Branch (658:28): [True: 76.8k, False: 1.62k]
  |  Branch (658:41): [True: 76.8k, False: 0]
  ------------------
  659|  76.8k|            c = tok_nextc(tok);
  660|  76.8k|        }
  661|       |
  662|  1.62k|        if (tok->tok_extra_tokens) {
  ------------------
  |  Branch (662:13): [True: 22, False: 1.60k]
  ------------------
  663|     22|            p = tok->start;
  664|     22|        }
  665|       |
  666|  1.62k|        if (tok->type_comments) {
  ------------------
  |  Branch (666:13): [True: 0, False: 1.62k]
  ------------------
  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|  1.62k|        if (tok->tok_extra_tokens) {
  ------------------
  |  Branch (720:13): [True: 22, False: 1.60k]
  ------------------
  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|  1.62k|    }
  728|       |
  729|   352k|    if (tok->done == E_INTERACT_STOP) {
  ------------------
  |  |   39|   352k|#define E_INTERACT_STOP  28      /* Interactive mode stopped tokenization */
  ------------------
  |  Branch (729:9): [True: 0, False: 352k]
  ------------------
  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|   352k|    if (c == EOF) {
  ------------------
  |  Branch (734:9): [True: 27.4k, False: 325k]
  ------------------
  735|  27.4k|        if (tok->level) {
  ------------------
  |  Branch (735:13): [True: 0, False: 27.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|  27.4k|        return MAKE_TOKEN(tok->done == E_EOF ? ENDMARKER : ERRORTOKEN);
  ------------------
  |  |   44|  54.8k|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  |  |  ------------------
  |  |  |  Branch (44:65): [True: 27.4k, False: 0]
  |  |  ------------------
  ------------------
  739|  27.4k|    }
  740|       |
  741|       |    /* Identifier (most frequent token!) */
  742|   325k|    nonascii = 0;
  743|   325k|    if (is_potential_identifier_start(c)) {
  ------------------
  |  |   12|   325k|#define is_potential_identifier_start(c) (\
  |  |   13|   325k|              (c >= 'a' && c <= 'z')\
  |  |  ------------------
  |  |  |  Branch (13:16): [True: 128k, False: 196k]
  |  |  |  Branch (13:28): [True: 127k, False: 1.84k]
  |  |  ------------------
  |  |   14|   325k|               || (c >= 'A' && c <= 'Z')\
  |  |  ------------------
  |  |  |  Branch (14:20): [True: 14.8k, False: 183k]
  |  |  |  Branch (14:32): [True: 4.42k, False: 10.4k]
  |  |  ------------------
  |  |   15|   325k|               || c == '_'\
  |  |  ------------------
  |  |  |  Branch (15:19): [True: 7.23k, False: 186k]
  |  |  ------------------
  |  |   16|   325k|               || (c >= 128))
  |  |  ------------------
  |  |  |  Branch (16:19): [True: 0, False: 186k]
  |  |  ------------------
  ------------------
  744|       |        /* Process the various legal combinations of b"", r"", u"", and f"". */
  745|   138k|        int saw_b = 0, saw_r = 0, saw_u = 0, saw_f = 0, saw_t = 0;
  746|   180k|        while (1) {
  ------------------
  |  Branch (746:16): [True: 180k, Folded]
  ------------------
  747|   180k|            if (!saw_b && (c == 'b' || c == 'B')) {
  ------------------
  |  Branch (747:17): [True: 179k, False: 1.21k]
  |  Branch (747:28): [True: 743, False: 178k]
  |  Branch (747:40): [True: 135, False: 178k]
  ------------------
  748|    878|                saw_b = 1;
  749|    878|            }
  750|       |            /* Since this is a backwards compatibility support literal we don't
  751|       |               want to support it in arbitrary order like byte literals. */
  752|   179k|            else if (!saw_u && (c == 'u'|| c == 'U')) {
  ------------------
  |  Branch (752:22): [True: 150k, False: 29.5k]
  |  Branch (752:33): [True: 28.8k, False: 121k]
  |  Branch (752:44): [True: 26, False: 121k]
  ------------------
  753|  28.8k|                saw_u = 1;
  754|  28.8k|            }
  755|       |            /* ur"" and ru"" are not supported */
  756|   150k|            else if (!saw_r && (c == 'r' || c == 'R')) {
  ------------------
  |  Branch (756:22): [True: 145k, False: 5.32k]
  |  Branch (756:33): [True: 5.21k, False: 140k]
  |  Branch (756:45): [True: 118, False: 140k]
  ------------------
  757|  5.33k|                saw_r = 1;
  758|  5.33k|            }
  759|   145k|            else if (!saw_f && (c == 'f' || c == 'F')) {
  ------------------
  |  Branch (759:22): [True: 141k, False: 3.84k]
  |  Branch (759:33): [True: 3.29k, False: 138k]
  |  Branch (759:45): [True: 542, False: 137k]
  ------------------
  760|  3.84k|                saw_f = 1;
  761|  3.84k|            }
  762|   141k|            else if (!saw_t && (c == 't' || c == 'T')) {
  ------------------
  |  Branch (762:22): [True: 138k, False: 3.19k]
  |  Branch (762:33): [True: 2.65k, False: 135k]
  |  Branch (762:45): [True: 546, False: 135k]
  ------------------
  763|  3.19k|                saw_t = 1;
  764|  3.19k|            }
  765|   138k|            else {
  766|   138k|                break;
  767|   138k|            }
  768|  42.1k|            c = tok_nextc(tok);
  769|  42.1k|            if (c == '"' || c == '\'') {
  ------------------
  |  Branch (769:17): [True: 241, False: 41.8k]
  |  Branch (769:29): [True: 224, False: 41.6k]
  ------------------
  770|       |                // Raise error on incompatible string prefixes:
  771|    465|                int status = maybe_raise_syntax_error_for_string_prefixes(
  772|    465|                    tok, saw_b, saw_r, saw_u, saw_f, saw_t);
  773|    465|                if (status < 0) {
  ------------------
  |  Branch (773:21): [True: 0, False: 465]
  ------------------
  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|    465|                if (saw_f || saw_t) {
  ------------------
  |  Branch (778:21): [True: 431, False: 34]
  |  Branch (778:30): [True: 1, False: 33]
  ------------------
  779|    432|                    goto f_string_quote;
  780|    432|                }
  781|     33|                goto letter_quote;
  782|    465|            }
  783|  42.1k|        }
  784|   847k|        while (is_potential_identifier_char(c)) {
  ------------------
  |  |   18|   847k|#define is_potential_identifier_char(c) (\
  |  |   19|   847k|              (c >= 'a' && c <= 'z')\
  |  |  ------------------
  |  |  |  Branch (19:16): [True: 671k, False: 176k]
  |  |  |  Branch (19:28): [True: 670k, False: 702]
  |  |  ------------------
  |  |   20|   847k|               || (c >= 'A' && c <= 'Z')\
  |  |  ------------------
  |  |  |  Branch (20:20): [True: 39.5k, False: 137k]
  |  |  |  Branch (20:32): [True: 13.5k, False: 25.9k]
  |  |  ------------------
  |  |   21|   847k|               || (c >= '0' && c <= '9')\
  |  |  ------------------
  |  |  |  Branch (21:20): [True: 85.2k, False: 77.9k]
  |  |  |  Branch (21:32): [True: 306, False: 84.9k]
  |  |  ------------------
  |  |   22|   847k|               || c == '_'\
  |  |  ------------------
  |  |  |  Branch (22:19): [True: 24.5k, False: 138k]
  |  |  ------------------
  |  |   23|   847k|               || (c >= 128))
  |  |  ------------------
  |  |  |  Branch (23:19): [True: 0, False: 138k]
  |  |  ------------------
  ------------------
  785|   708k|            if (c >= 128) {
  ------------------
  |  Branch (785:17): [True: 0, False: 708k]
  ------------------
  786|      0|                nonascii = 1;
  787|      0|            }
  788|   708k|            c = tok_nextc(tok);
  789|   708k|        }
  790|   138k|        tok_backup(tok, c);
  791|   138k|        if (nonascii && !verify_identifier(tok)) {
  ------------------
  |  Branch (791:13): [True: 0, False: 138k]
  |  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|   138k|        p_start = tok->start;
  796|   138k|        p_end = tok->cur;
  797|       |
  798|   138k|        return MAKE_TOKEN(NAME);
  ------------------
  |  |   44|   138k|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  799|   138k|    }
  800|       |
  801|   186k|    if (c == '\r') {
  ------------------
  |  Branch (801:9): [True: 0, False: 186k]
  ------------------
  802|      0|        c = tok_nextc(tok);
  803|      0|    }
  804|       |
  805|       |    /* Newline */
  806|   186k|    if (c == '\n') {
  ------------------
  |  Branch (806:9): [True: 48.6k, False: 137k]
  ------------------
  807|  48.6k|        tok->atbol = 1;
  808|  48.6k|        if (blankline || tok->level > 0) {
  ------------------
  |  Branch (808:13): [True: 4.74k, False: 43.8k]
  |  Branch (808:26): [True: 1.69k, False: 42.1k]
  ------------------
  809|  6.43k|            if (tok->tok_extra_tokens) {
  ------------------
  |  Branch (809:17): [True: 64, False: 6.36k]
  ------------------
  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|  6.36k|            goto nextline;
  818|  6.43k|        }
  819|  42.1k|        if (tok->comment_newline && tok->tok_extra_tokens) {
  ------------------
  |  Branch (819:13): [True: 6, False: 42.1k]
  |  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|  42.1k|        p_start = tok->start;
  826|  42.1k|        p_end = tok->cur - 1; /* Leave '\n' out of the string */
  827|  42.1k|        tok->cont_line = 0;
  828|  42.1k|        return MAKE_TOKEN(NEWLINE);
  ------------------
  |  |   44|  42.1k|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  829|  42.1k|    }
  830|       |
  831|       |    /* Period or number starting with period? */
  832|   137k|    if (c == '.') {
  ------------------
  |  Branch (832:9): [True: 9.35k, False: 128k]
  ------------------
  833|  9.35k|        c = tok_nextc(tok);
  834|  9.35k|        if (Py_ISDIGIT(c)) {
  ------------------
  |  |   24|  9.35k|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  138|  9.35k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|  9.35k|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 0, False: 9.35k]
  |  |  ------------------
  ------------------
  835|      0|            goto fraction;
  836|  9.35k|        } else if (c == '.') {
  ------------------
  |  Branch (836:20): [True: 2, False: 9.34k]
  ------------------
  837|      2|            c = tok_nextc(tok);
  838|      2|            if (c == '.') {
  ------------------
  |  Branch (838:17): [True: 2, False: 0]
  ------------------
  839|      2|                p_start = tok->start;
  840|      2|                p_end = tok->cur;
  841|      2|                return MAKE_TOKEN(ELLIPSIS);
  ------------------
  |  |   44|      2|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  842|      2|            }
  843|      0|            else {
  844|      0|                tok_backup(tok, c);
  845|      0|            }
  846|      0|            tok_backup(tok, '.');
  847|      0|        }
  848|  9.34k|        else {
  849|  9.34k|            tok_backup(tok, c);
  850|  9.34k|        }
  851|  9.34k|        p_start = tok->start;
  852|  9.34k|        p_end = tok->cur;
  853|  9.34k|        return MAKE_TOKEN(DOT);
  ------------------
  |  |   44|  9.34k|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  854|  9.35k|    }
  855|       |
  856|       |    /* Number */
  857|   128k|    if (Py_ISDIGIT(c)) {
  ------------------
  |  |   24|   128k|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  138|   128k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|   128k|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 952, False: 127k]
  |  |  ------------------
  ------------------
  858|    952|        if (c == '0') {
  ------------------
  |  Branch (858:13): [True: 409, False: 543]
  ------------------
  859|       |            /* Hex, octal or binary -- maybe. */
  860|    409|            c = tok_nextc(tok);
  861|    409|            if (c == 'x' || c == 'X') {
  ------------------
  |  Branch (861:17): [True: 4, False: 405]
  |  Branch (861:29): [True: 0, False: 405]
  ------------------
  862|       |                /* Hex */
  863|      4|                c = tok_nextc(tok);
  864|      4|                do {
  865|      4|                    if (c == '_') {
  ------------------
  |  Branch (865:25): [True: 0, False: 4]
  ------------------
  866|      0|                        c = tok_nextc(tok);
  867|      0|                    }
  868|      4|                    if (!Py_ISXDIGIT(c)) {
  ------------------
  |  |   25|      4|#define Py_ISXDIGIT(c) (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_XDIGIT)
  |  |  ------------------
  |  |  |  |  138|      4|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISXDIGIT(c) (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_XDIGIT)
  |  |  ------------------
  |  |  |  |   14|      4|#define PY_CTF_XDIGIT 0x10
  |  |  ------------------
  ------------------
  |  Branch (868:25): [True: 0, False: 4]
  ------------------
  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|     16|                    do {
  873|     16|                        c = tok_nextc(tok);
  874|     16|                    } while (Py_ISXDIGIT(c));
  ------------------
  |  |   25|     16|#define Py_ISXDIGIT(c) (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_XDIGIT)
  |  |  ------------------
  |  |  |  |  138|     16|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISXDIGIT(c) (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_XDIGIT)
  |  |  ------------------
  |  |  |  |   14|     16|#define PY_CTF_XDIGIT 0x10
  |  |  ------------------
  |  |  |  Branch (25:24): [True: 12, False: 4]
  |  |  ------------------
  ------------------
  875|      4|                } while (c == '_');
  ------------------
  |  Branch (875:26): [True: 0, False: 4]
  ------------------
  876|      4|                if (!verify_end_of_number(tok, c, "hexadecimal")) {
  ------------------
  |  Branch (876:21): [True: 0, False: 4]
  ------------------
  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|      4|            }
  880|    405|            else if (c == 'o' || c == 'O') {
  ------------------
  |  Branch (880:22): [True: 0, False: 405]
  |  Branch (880:34): [True: 0, False: 405]
  ------------------
  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|    405|            else if (c == 'b' || c == 'B') {
  ------------------
  |  Branch (909:22): [True: 0, False: 405]
  |  Branch (909:34): [True: 0, False: 405]
  ------------------
  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|    405|            else {
  937|    405|                int nonzero = 0;
  938|       |                /* maybe old-style octal; c is first char of it */
  939|       |                /* in any case, allow '0' as a literal */
  940|    405|                while (1) {
  ------------------
  |  Branch (940:24): [True: 405, Folded]
  ------------------
  941|    405|                    if (c == '_') {
  ------------------
  |  Branch (941:25): [True: 0, False: 405]
  ------------------
  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|    405|                    if (c != '0') {
  ------------------
  |  Branch (948:25): [True: 405, False: 0]
  ------------------
  949|    405|                        break;
  950|    405|                    }
  951|      0|                    c = tok_nextc(tok);
  952|      0|                }
  953|    405|                char* zeros_end = tok->cur;
  954|    405|                if (Py_ISDIGIT(c)) {
  ------------------
  |  |   24|    405|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  138|    405|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|    405|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 0, False: 405]
  |  |  ------------------
  ------------------
  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|    405|                if (c == '.') {
  ------------------
  |  Branch (961:21): [True: 6, False: 399]
  ------------------
  962|      6|                    c = tok_nextc(tok);
  963|      6|                    goto fraction;
  964|      6|                }
  965|    399|                else if (c == 'e' || c == 'E') {
  ------------------
  |  Branch (965:26): [True: 0, False: 399]
  |  Branch (965:38): [True: 0, False: 399]
  ------------------
  966|      0|                    goto exponent;
  967|      0|                }
  968|    399|                else if (c == 'j' || c == 'J') {
  ------------------
  |  Branch (968:26): [True: 0, False: 399]
  |  Branch (968:38): [True: 0, False: 399]
  ------------------
  969|      0|                    goto imaginary;
  970|      0|                }
  971|    399|                else if (nonzero && !tok->tok_extra_tokens) {
  ------------------
  |  Branch (971:26): [True: 0, False: 399]
  |  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|    399|                if (!verify_end_of_number(tok, c, "decimal")) {
  ------------------
  |  Branch (981:21): [True: 0, False: 399]
  ------------------
  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|    399|            }
  985|    409|        }
  986|    543|        else {
  987|       |            /* Decimal */
  988|    543|            c = tok_decimal_tail(tok);
  989|    543|            if (c == 0) {
  ------------------
  |  Branch (989:17): [True: 0, False: 543]
  ------------------
  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|    543|            {
  993|       |                /* Accept floating-point numbers. */
  994|    543|                if (c == '.') {
  ------------------
  |  Branch (994:21): [True: 6, False: 537]
  ------------------
  995|      6|                    c = tok_nextc(tok);
  996|     12|        fraction:
  997|       |                    /* Fraction */
  998|     12|                    if (Py_ISDIGIT(c)) {
  ------------------
  |  |   24|     12|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  138|     12|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|     12|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 12, False: 0]
  |  |  ------------------
  ------------------
  999|     12|                        c = tok_decimal_tail(tok);
 1000|     12|                        if (c == 0) {
  ------------------
  |  Branch (1000:29): [True: 0, False: 12]
  ------------------
 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|     12|                    }
 1004|     12|                }
 1005|    549|                if (c == 'e' || c == 'E') {
  ------------------
  |  Branch (1005:21): [True: 2, False: 547]
  |  Branch (1005:33): [True: 0, False: 547]
  ------------------
 1006|      2|                    int e;
 1007|      2|                  exponent:
 1008|      2|                    e = c;
 1009|       |                    /* Exponent part */
 1010|      2|                    c = tok_nextc(tok);
 1011|      2|                    if (c == '+' || c == '-') {
  ------------------
  |  Branch (1011:25): [True: 0, False: 2]
  |  Branch (1011:37): [True: 0, False: 2]
  ------------------
 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|      2|                    } else if (!Py_ISDIGIT(c)) {
  ------------------
  |  |   24|      2|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  138|      2|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|      2|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  ------------------
  |  Branch (1017:32): [True: 0, False: 2]
  ------------------
 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|      2|                    c = tok_decimal_tail(tok);
 1028|      2|                    if (c == 0) {
  ------------------
  |  Branch (1028:25): [True: 0, False: 2]
  ------------------
 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|      2|                }
 1032|    549|                if (c == 'j' || c == 'J') {
  ------------------
  |  Branch (1032:21): [True: 1, False: 548]
  |  Branch (1032:33): [True: 0, False: 548]
  ------------------
 1033|       |                    /* Imaginary part */
 1034|      1|        imaginary:
 1035|      1|                    c = tok_nextc(tok);
 1036|      1|                    if (!verify_end_of_number(tok, c, "imaginary")) {
  ------------------
  |  Branch (1036:25): [True: 0, False: 1]
  ------------------
 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|      1|                }
 1040|    548|                else if (!verify_end_of_number(tok, c, "decimal")) {
  ------------------
  |  Branch (1040:26): [True: 0, False: 548]
  ------------------
 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|    549|            }
 1044|    549|        }
 1045|    952|        tok_backup(tok, c);
 1046|    952|        p_start = tok->start;
 1047|    952|        p_end = tok->cur;
 1048|    952|        return MAKE_TOKEN(NUMBER);
  ------------------
  |  |   44|    952|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
 1049|    952|    }
 1050|       |
 1051|   127k|  f_string_quote:
 1052|   127k|    if (((Py_TOLOWER(*tok->start) == 'f' || Py_TOLOWER(*tok->start) == 'r' || Py_TOLOWER(*tok->start) == 't')
  ------------------
  |  |   32|   127k|#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  138|   127k|#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|   127k|#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  138|   127k|#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|   127k|#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  138|   127k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
  |  Branch (1052:11): [True: 431, False: 127k]
  |  Branch (1052:45): [True: 0, False: 127k]
  |  Branch (1052:79): [True: 1, False: 127k]
  ------------------
 1053|    432|        && (c == '\'' || c == '"'))) {
  ------------------
  |  Branch (1053:13): [True: 205, False: 227]
  |  Branch (1053:26): [True: 227, False: 0]
  ------------------
 1054|       |
 1055|    432|        int quote = c;
 1056|    432|        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|    432|        tok->first_lineno = tok->lineno;
 1063|    432|        tok->multi_line_start = tok->line_start;
 1064|       |
 1065|       |        /* Find the quote size and start of string */
 1066|    432|        int after_quote = tok_nextc(tok);
 1067|    432|        if (after_quote == quote) {
  ------------------
  |  Branch (1067:13): [True: 0, False: 432]
  ------------------
 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|    432|        if (after_quote != quote) {
  ------------------
  |  Branch (1078:13): [True: 432, False: 0]
  ------------------
 1079|    432|            tok_backup(tok, after_quote);
 1080|    432|        }
 1081|       |
 1082|       |
 1083|    432|        p_start = tok->start;
 1084|    432|        p_end = tok->cur;
 1085|    432|        if (tok->tok_mode_stack_index + 1 >= MAXFSTRINGLEVEL) {
  ------------------
  |  |    8|    432|#define MAXFSTRINGLEVEL 150 /* Max f-string nesting level */
  ------------------
  |  Branch (1085:13): [True: 0, False: 432]
  ------------------
 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|    432|        tokenizer_mode *the_current_tok = TOK_NEXT_MODE(tok);
  ------------------
  |  |   38|    432|#define TOK_NEXT_MODE(tok) (&(tok->tok_mode_stack[++tok->tok_mode_stack_index]))
  ------------------
 1089|    432|        the_current_tok->kind = TOK_FSTRING_MODE;
 1090|    432|        the_current_tok->quote = quote;
 1091|    432|        the_current_tok->quote_size = quote_size;
 1092|    432|        the_current_tok->start = tok->start;
 1093|    432|        the_current_tok->multi_line_start = tok->line_start;
 1094|    432|        the_current_tok->first_line = tok->lineno;
 1095|    432|        the_current_tok->start_offset = -1;
 1096|    432|        the_current_tok->multi_line_start_offset = -1;
 1097|    432|        the_current_tok->last_expr_buffer = NULL;
 1098|    432|        the_current_tok->last_expr_size = 0;
 1099|    432|        the_current_tok->last_expr_end = -1;
 1100|    432|        the_current_tok->in_format_spec = 0;
 1101|    432|        the_current_tok->in_debug = 0;
 1102|       |
 1103|    432|        enum string_kind_t string_kind = FSTRING;
 1104|    432|        switch (*tok->start) {
 1105|      0|            case 'T':
  ------------------
  |  Branch (1105:13): [True: 0, False: 432]
  ------------------
 1106|      1|            case 't':
  ------------------
  |  Branch (1106:13): [True: 1, False: 431]
  ------------------
 1107|      1|                the_current_tok->raw = Py_TOLOWER(*(tok->start + 1)) == 'r';
  ------------------
  |  |   32|      1|#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  138|      1|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
 1108|      1|                string_kind = TSTRING;
 1109|      1|                break;
 1110|      0|            case 'F':
  ------------------
  |  Branch (1110:13): [True: 0, False: 432]
  ------------------
 1111|    431|            case 'f':
  ------------------
  |  Branch (1111:13): [True: 431, False: 1]
  ------------------
 1112|    431|                the_current_tok->raw = Py_TOLOWER(*(tok->start + 1)) == 'r';
  ------------------
  |  |   32|    431|#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  138|    431|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
 1113|    431|                break;
 1114|      0|            case 'R':
  ------------------
  |  Branch (1114:13): [True: 0, False: 432]
  ------------------
 1115|      0|            case 'r':
  ------------------
  |  Branch (1115:13): [True: 0, False: 432]
  ------------------
 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: 432]
  ------------------
 1122|      0|                Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1123|    432|        }
 1124|       |
 1125|    432|        the_current_tok->string_kind = string_kind;
 1126|    432|        the_current_tok->curly_bracket_depth = 0;
 1127|    432|        the_current_tok->curly_bracket_expr_start_depth = -1;
 1128|    432|        return string_kind == TSTRING ? MAKE_TOKEN(TSTRING_START) : MAKE_TOKEN(FSTRING_START);
  ------------------
  |  |   44|      1|#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|    431|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
  |  Branch (1128:16): [True: 1, False: 431]
  ------------------
 1129|    432|    }
 1130|       |
 1131|   127k|  letter_quote:
 1132|       |    /* String */
 1133|   127k|    if (c == '\'' || c == '"') {
  ------------------
  |  Branch (1133:9): [True: 1.84k, False: 125k]
  |  Branch (1133:22): [True: 1.04k, False: 124k]
  ------------------
 1134|  2.88k|        int quote = c;
 1135|  2.88k|        int quote_size = 1;             /* 1 or 3 */
 1136|  2.88k|        int end_quote_size = 0;
 1137|  2.88k|        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|  2.88k|        tok->first_lineno = tok->lineno;
 1144|  2.88k|        tok->multi_line_start = tok->line_start;
 1145|       |
 1146|       |        /* Find the quote size and start of string */
 1147|  2.88k|        c = tok_nextc(tok);
 1148|  2.88k|        if (c == quote) {
  ------------------
  |  Branch (1148:13): [True: 712, False: 2.17k]
  ------------------
 1149|    712|            c = tok_nextc(tok);
 1150|    712|            if (c == quote) {
  ------------------
  |  Branch (1150:17): [True: 616, False: 96]
  ------------------
 1151|    616|                quote_size = 3;
 1152|    616|            }
 1153|     96|            else {
 1154|     96|                end_quote_size = 1;     /* empty string found */
 1155|     96|            }
 1156|    712|        }
 1157|  2.88k|        if (c != quote) {
  ------------------
  |  Branch (1157:13): [True: 2.26k, False: 616]
  ------------------
 1158|  2.26k|            tok_backup(tok, c);
 1159|  2.26k|        }
 1160|       |
 1161|       |        /* Get rest of string */
 1162|   213k|        while (end_quote_size != quote_size) {
  ------------------
  |  Branch (1162:16): [True: 210k, False: 2.88k]
  ------------------
 1163|   210k|            c = tok_nextc(tok);
 1164|   210k|            if (tok->done == E_ERROR) {
  ------------------
  |  |   29|   210k|#define E_ERROR          17      /* Execution error */
  ------------------
  |  Branch (1164:17): [True: 0, False: 210k]
  ------------------
 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|   210k|            if (tok->done == E_DECODE) {
  ------------------
  |  |   34|   210k|#define E_DECODE         22      /* Error in decoding into Unicode */
  ------------------
  |  Branch (1167:17): [True: 0, False: 210k]
  ------------------
 1168|      0|                break;
 1169|      0|            }
 1170|   210k|            if (c == EOF || (quote_size == 1 && c == '\n')) {
  ------------------
  |  Branch (1170:17): [True: 0, False: 210k]
  |  Branch (1170:30): [True: 33.4k, False: 177k]
  |  Branch (1170:49): [True: 0, False: 33.4k]
  ------------------
 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|   210k|            if (c == quote) {
  ------------------
  |  Branch (1222:17): [True: 4.29k, False: 206k]
  ------------------
 1223|  4.29k|                end_quote_size += 1;
 1224|  4.29k|            }
 1225|   206k|            else {
 1226|   206k|                end_quote_size = 0;
 1227|   206k|                if (c == '\\') {
  ------------------
  |  Branch (1227:21): [True: 187, False: 206k]
  ------------------
 1228|    187|                    c = tok_nextc(tok);  /* skip escaped char */
 1229|    187|                    if (c == quote) {  /* but record whether the escaped char was a quote */
  ------------------
  |  Branch (1229:25): [True: 0, False: 187]
  ------------------
 1230|      0|                        has_escaped_quote = 1;
 1231|      0|                    }
 1232|    187|                    if (c == '\r') {
  ------------------
  |  Branch (1232:25): [True: 0, False: 187]
  ------------------
 1233|      0|                        c = tok_nextc(tok);
 1234|      0|                    }
 1235|    187|                }
 1236|   206k|            }
 1237|   210k|        }
 1238|       |
 1239|  2.88k|        p_start = tok->start;
 1240|  2.88k|        p_end = tok->cur;
 1241|  2.88k|        return MAKE_TOKEN(STRING);
  ------------------
  |  |   44|  2.88k|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
 1242|  2.88k|    }
 1243|       |
 1244|       |    /* Line continuation */
 1245|   124k|    if (c == '\\') {
  ------------------
  |  Branch (1245:9): [True: 32, False: 124k]
  ------------------
 1246|     32|        if ((c = tok_continuation_line(tok)) == -1) {
  ------------------
  |  Branch (1246:13): [True: 0, False: 32]
  ------------------
 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|     32|        tok->cont_line = 1;
 1250|     32|        goto again; /* Read next line */
 1251|     32|    }
 1252|       |
 1253|       |    /* Punctuation character */
 1254|   124k|    int is_punctuation = (c == ':' || c == '}' || c == '!' || c == '{');
  ------------------
  |  Branch (1254:27): [True: 33.1k, False: 91.3k]
  |  Branch (1254:39): [True: 899, False: 90.4k]
  |  Branch (1254:51): [True: 463, False: 89.9k]
  |  Branch (1254:63): [True: 899, False: 89.0k]
  ------------------
 1255|   124k|    if (is_punctuation && INSIDE_FSTRING(tok) && INSIDE_FSTRING_EXPR(current_tok)) {
  ------------------
  |  |   10|   159k|#define INSIDE_FSTRING(tok) (tok->tok_mode_stack_index > 0)
  |  |  ------------------
  |  |  |  Branch (10:29): [True: 1.89k, False: 33.5k]
  |  |  ------------------
  ------------------
                  if (is_punctuation && INSIDE_FSTRING(tok) && INSIDE_FSTRING_EXPR(current_tok)) {
  ------------------
  |  |   11|  1.89k|#define INSIDE_FSTRING_EXPR(tok) (tok->curly_bracket_expr_start_depth >= 0)
  |  |  ------------------
  |  |  |  Branch (11:34): [True: 1.89k, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (1255:9): [True: 35.4k, False: 89.0k]
  ------------------
 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|  1.89k|        int cursor = current_tok->curly_bracket_depth - (c != '{');
 1260|  1.89k|        int in_format_spec = current_tok->in_format_spec;
 1261|  1.89k|         int cursor_in_format_with_debug =
 1262|  1.89k|             cursor == 1 && (current_tok->in_debug || in_format_spec);
  ------------------
  |  Branch (1262:14): [True: 5, False: 1.88k]
  |  Branch (1262:30): [True: 0, False: 5]
  |  Branch (1262:55): [True: 0, False: 5]
  ------------------
 1263|  1.89k|         int cursor_valid = cursor == 0 || cursor_in_format_with_debug;
  ------------------
  |  Branch (1263:29): [True: 1.88k, False: 5]
  |  Branch (1263:44): [True: 0, False: 5]
  ------------------
 1264|  1.89k|        if ((cursor_valid) && !_PyLexer_update_ftstring_expr(tok, c)) {
  ------------------
  |  Branch (1264:13): [True: 1.88k, False: 5]
  |  Branch (1264:31): [True: 0, False: 1.88k]
  ------------------
 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|  1.89k|        if ((cursor_valid) && c != '{' && set_ftstring_expr(tok, token, c)) {
  ------------------
  |  Branch (1267:13): [True: 1.88k, False: 5]
  |  Branch (1267:31): [True: 1.14k, False: 744]
  |  Branch (1267:43): [True: 0, False: 1.14k]
  ------------------
 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|  1.89k|        if (c == ':' && cursor == current_tok->curly_bracket_expr_start_depth) {
  ------------------
  |  Branch (1271:13): [True: 10, False: 1.88k]
  |  Branch (1271:25): [True: 5, False: 5]
  ------------------
 1272|      5|            current_tok->kind = TOK_FSTRING_MODE;
 1273|      5|            current_tok->in_format_spec = 1;
 1274|      5|            p_start = tok->start;
 1275|      5|            p_end = tok->cur;
 1276|      5|            return MAKE_TOKEN(_PyToken_OneChar(c));
  ------------------
  |  |   44|      5|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
 1277|      5|        }
 1278|  1.89k|    }
 1279|       |
 1280|       |    /* Check for two-character token */
 1281|   124k|    {
 1282|   124k|        int c2 = tok_nextc(tok);
 1283|   124k|        int current_token = _PyToken_TwoChars(c, c2);
 1284|   124k|        if (current_token != OP) {
  ------------------
  |  |   71|   124k|#define OP              55
  ------------------
  |  Branch (1284:13): [True: 1.02k, False: 123k]
  ------------------
 1285|  1.02k|            int c3 = tok_nextc(tok);
 1286|  1.02k|            int current_token3 = _PyToken_ThreeChars(c, c2, c3);
 1287|  1.02k|            if (current_token3 != OP) {
  ------------------
  |  |   71|  1.02k|#define OP              55
  ------------------
  |  Branch (1287:17): [True: 0, False: 1.02k]
  ------------------
 1288|      0|                current_token = current_token3;
 1289|      0|            }
 1290|  1.02k|            else {
 1291|  1.02k|                tok_backup(tok, c3);
 1292|  1.02k|            }
 1293|  1.02k|            p_start = tok->start;
 1294|  1.02k|            p_end = tok->cur;
 1295|  1.02k|            return MAKE_TOKEN(current_token);
  ------------------
  |  |   44|  1.02k|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
 1296|  1.02k|        }
 1297|   123k|        tok_backup(tok, c2);
 1298|   123k|    }
 1299|       |
 1300|       |    /* Keep track of parentheses nesting level */
 1301|      0|    switch (c) {
 1302|  8.81k|    case '(':
  ------------------
  |  Branch (1302:5): [True: 8.81k, False: 114k]
  ------------------
 1303|  9.49k|    case '[':
  ------------------
  |  Branch (1303:5): [True: 672, False: 122k]
  ------------------
 1304|  10.3k|    case '{':
  ------------------
  |  Branch (1304:5): [True: 899, False: 122k]
  ------------------
 1305|  10.3k|        if (tok->level >= MAXLEVEL) {
  ------------------
  |  |    7|  10.3k|#define MAXLEVEL 200        /* Max parentheses level */
  ------------------
  |  Branch (1305:13): [True: 0, False: 10.3k]
  ------------------
 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|  10.3k|        tok->parenstack[tok->level] = c;
 1309|  10.3k|        tok->parenlinenostack[tok->level] = tok->lineno;
 1310|  10.3k|        tok->parencolstack[tok->level] = (int)(tok->start - tok->line_start);
 1311|  10.3k|        tok->level++;
 1312|  10.3k|        if (INSIDE_FSTRING(tok)) {
  ------------------
  |  |   10|  10.3k|#define INSIDE_FSTRING(tok) (tok->tok_mode_stack_index > 0)
  |  |  ------------------
  |  |  |  Branch (10:29): [True: 814, False: 9.57k]
  |  |  ------------------
  ------------------
 1313|    814|            current_tok->curly_bracket_depth++;
 1314|    814|        }
 1315|  10.3k|        break;
 1316|  8.81k|    case ')':
  ------------------
  |  Branch (1316:5): [True: 8.81k, False: 114k]
  ------------------
 1317|  9.49k|    case ']':
  ------------------
  |  Branch (1317:5): [True: 672, False: 122k]
  ------------------
 1318|  10.3k|    case '}':
  ------------------
  |  Branch (1318:5): [True: 899, False: 122k]
  ------------------
 1319|  10.3k|        if (INSIDE_FSTRING(tok) && !current_tok->curly_bracket_depth && c == '}') {
  ------------------
  |  |   10|  20.7k|#define INSIDE_FSTRING(tok) (tok->tok_mode_stack_index > 0)
  |  |  ------------------
  |  |  |  Branch (10:29): [True: 814, False: 9.57k]
  |  |  ------------------
  ------------------
  |  Branch (1319:36): [True: 0, False: 814]
  |  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|  10.3k|        if (!tok->tok_extra_tokens && !tok->level) {
  ------------------
  |  Branch (1323:13): [True: 10.2k, False: 94]
  |  Branch (1323:39): [True: 0, False: 10.2k]
  ------------------
 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|  10.3k|        if (tok->level > 0) {
  ------------------
  |  Branch (1326:13): [True: 10.3k, False: 0]
  ------------------
 1327|  10.3k|            tok->level--;
 1328|  10.3k|            int opening = tok->parenstack[tok->level];
 1329|  10.3k|            if (!tok->tok_extra_tokens && !((opening == '(' && c == ')') ||
  ------------------
  |  Branch (1329:17): [True: 10.2k, False: 94]
  |  Branch (1329:46): [True: 8.72k, False: 1.57k]
  |  Branch (1329:64): [True: 8.72k, False: 0]
  ------------------
 1330|  1.57k|                                            (opening == '[' && c == ']') ||
  ------------------
  |  Branch (1330:46): [True: 672, False: 899]
  |  Branch (1330:64): [True: 672, False: 0]
  ------------------
 1331|    899|                                            (opening == '{' && c == '}'))) {
  ------------------
  |  Branch (1331:46): [True: 899, False: 0]
  |  Branch (1331:64): [True: 899, 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|  10.3k|        }
 1359|       |
 1360|  10.3k|        if (INSIDE_FSTRING(tok)) {
  ------------------
  |  |   10|  10.3k|#define INSIDE_FSTRING(tok) (tok->tok_mode_stack_index > 0)
  |  |  ------------------
  |  |  |  Branch (10:29): [True: 814, False: 9.57k]
  |  |  ------------------
  ------------------
 1361|    814|            current_tok->curly_bracket_depth--;
 1362|    814|            if (current_tok->curly_bracket_depth < 0) {
  ------------------
  |  Branch (1362:17): [True: 0, False: 814]
  ------------------
 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|    814|            if (c == '}' && current_tok->curly_bracket_depth == current_tok->curly_bracket_expr_start_depth) {
  ------------------
  |  Branch (1366:17): [True: 744, False: 70]
  |  Branch (1366:29): [True: 744, False: 0]
  ------------------
 1367|    744|                current_tok->curly_bracket_expr_start_depth--;
 1368|    744|                current_tok->kind = TOK_FSTRING_MODE;
 1369|    744|                current_tok->in_format_spec = 0;
 1370|    744|                current_tok->in_debug = 0;
 1371|    744|            }
 1372|    814|        }
 1373|  10.3k|        break;
 1374|   102k|    default:
  ------------------
  |  Branch (1374:5): [True: 102k, False: 20.7k]
  ------------------
 1375|   102k|        break;
 1376|   123k|    }
 1377|       |
 1378|   123k|    if (!Py_UNICODE_ISPRINTABLE(c)) {
  ------------------
  |  |  761|   123k|#define Py_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch)
  ------------------
  |  Branch (1378:9): [True: 0, False: 123k]
  ------------------
 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|   123k|    if( c == '=' && INSIDE_FSTRING_EXPR_AT_TOP(current_tok)) {
  ------------------
  |  |   13|  5.04k|    (tok->curly_bracket_depth - tok->curly_bracket_expr_start_depth == 1)
  |  |  ------------------
  |  |  |  Branch (13:5): [True: 1, False: 5.04k]
  |  |  ------------------
  ------------------
  |  Branch (1382:9): [True: 5.04k, False: 118k]
  ------------------
 1383|      1|        current_tok->in_debug = 1;
 1384|      1|    }
 1385|       |
 1386|       |    /* Punctuation character */
 1387|   123k|    p_start = tok->start;
 1388|   123k|    p_end = tok->cur;
 1389|   123k|    return MAKE_TOKEN(_PyToken_OneChar(c));
  ------------------
  |  |   44|   123k|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  ------------------
 1390|   123k|}
lexer.c:tok_nextc:
   61|  2.22M|{
   62|  2.22M|    int rc;
   63|  2.28M|    for (;;) {
   64|  2.28M|        if (tok->cur != tok->inp) {
  ------------------
  |  Branch (64:13): [True: 2.14M, False: 134k]
  ------------------
   65|  2.14M|            if ((unsigned int) tok->col_offset >= (unsigned int) INT_MAX) {
  ------------------
  |  Branch (65:17): [True: 0, False: 2.14M]
  ------------------
   66|      0|                tok->done = E_COLUMNOVERFLOW;
  ------------------
  |  |   40|      0|#define E_COLUMNOVERFLOW 29      /* Column offset overflow */
  ------------------
   67|      0|                return EOF;
   68|      0|            }
   69|  2.14M|            tok->col_offset++;
   70|  2.14M|            return Py_CHARMASK(*tok->cur++); /* Fast path */
  ------------------
  |  |  138|  2.14M|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
   71|  2.14M|        }
   72|   134k|        if (tok->done != E_OK) {
  ------------------
  |  |   22|   134k|#define E_OK             10      /* No error */
  ------------------
  |  Branch (72:13): [True: 54.8k, False: 79.9k]
  ------------------
   73|  54.8k|            return EOF;
   74|  54.8k|        }
   75|  79.9k|        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|  79.9k|        if (!rc) {
  ------------------
  |  Branch (83:13): [True: 27.4k, False: 52.4k]
  ------------------
   84|  27.4k|            tok->cur = tok->inp;
   85|  27.4k|            return EOF;
   86|  27.4k|        }
   87|  52.4k|        tok->line_start = tok->cur;
   88|       |
   89|  52.4k|        if (contains_null_bytes(tok->line_start, tok->inp - tok->line_start)) {
  ------------------
  |  Branch (89:13): [True: 0, False: 52.4k]
  ------------------
   90|      0|            _PyTokenizer_syntaxerror(tok, "source code cannot contain null bytes");
   91|      0|            tok->cur = tok->inp;
   92|      0|            return EOF;
   93|      0|        }
   94|  52.4k|    }
   95|      0|    Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
   96|  2.22M|}
lexer.c:contains_null_bytes:
   54|  52.4k|{
   55|       |    return memchr(str, 0, size) != NULL;
   56|  52.4k|}
lexer.c:tok_continuation_line:
  435|     32|tok_continuation_line(struct tok_state *tok) {
  436|     32|    int c = tok_nextc(tok);
  437|     32|    if (c == '\r') {
  ------------------
  |  Branch (437:9): [True: 0, False: 32]
  ------------------
  438|      0|        c = tok_nextc(tok);
  439|      0|    }
  440|     32|    if (c != '\n') {
  ------------------
  |  Branch (440:9): [True: 0, False: 32]
  ------------------
  441|      0|        tok->done = E_LINECONT;
  ------------------
  |  |   37|      0|#define E_LINECONT       25      /* Unexpected characters after a line continuation */
  ------------------
  442|      0|        return -1;
  443|      0|    }
  444|     32|    c = tok_nextc(tok);
  445|     32|    if (c == EOF) {
  ------------------
  |  Branch (445:9): [True: 0, False: 32]
  ------------------
  446|      0|        tok->done = E_EOF;
  ------------------
  |  |   23|      0|#define E_EOF            11      /* End Of File */
  ------------------
  447|      0|        tok->cur = tok->inp;
  448|      0|        return -1;
  449|     32|    } else {
  450|     32|        tok_backup(tok, c);
  451|     32|    }
  452|     32|    return c;
  453|     32|}
lexer.c:tok_backup:
  101|   708k|{
  102|   708k|    if (c != EOF) {
  ------------------
  |  Branch (102:9): [True: 653k, False: 54.8k]
  ------------------
  103|   653k|        if (--tok->cur < tok->buf) {
  ------------------
  |  Branch (103:13): [True: 0, False: 653k]
  ------------------
  104|      0|            Py_FatalError("tokenizer beginning of buffer");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
  105|      0|        }
  106|   653k|        if ((int)(unsigned char)*tok->cur != Py_CHARMASK(c)) {
  ------------------
  |  |  138|   653k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
  |  Branch (106:13): [True: 0, False: 653k]
  ------------------
  107|      0|            Py_FatalError("tok_backup: wrong character");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
  108|      0|        }
  109|   653k|        tok->col_offset--;
  110|   653k|    }
  111|   708k|}
lexer.c:maybe_raise_syntax_error_for_string_prefixes:
  458|    465|                                             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|    465|#define RETURN_SYNTAX_ERROR(PREFIX1, PREFIX2)                             \
  463|    465|    do {                                                                  \
  464|    465|        (void)_PyTokenizer_syntaxerror_known_range(                       \
  465|    465|            tok, (int)(tok->start + 1 - tok->line_start),                 \
  466|    465|            (int)(tok->cur - tok->line_start),                            \
  467|    465|            "'" PREFIX1 "' and '" PREFIX2 "' prefixes are incompatible"); \
  468|    465|        return -1;                                                        \
  469|    465|    } while (0)
  470|       |
  471|    465|    if (saw_u && saw_b) {
  ------------------
  |  Branch (471:9): [True: 0, False: 465]
  |  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|    465|    if (saw_u && saw_r) {
  ------------------
  |  Branch (474:9): [True: 0, False: 465]
  |  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|    465|    if (saw_u && saw_f) {
  ------------------
  |  Branch (477:9): [True: 0, False: 465]
  |  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|    465|    if (saw_u && saw_t) {
  ------------------
  |  Branch (480:9): [True: 0, False: 465]
  |  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|    465|    if (saw_b && saw_f) {
  ------------------
  |  Branch (484:9): [True: 18, False: 447]
  |  Branch (484:18): [True: 0, False: 18]
  ------------------
  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|    465|    if (saw_b && saw_t) {
  ------------------
  |  Branch (487:9): [True: 18, False: 447]
  |  Branch (487:18): [True: 0, False: 18]
  ------------------
  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|    465|    if (saw_f && saw_t) {
  ------------------
  |  Branch (491:9): [True: 431, False: 34]
  |  Branch (491:18): [True: 0, False: 431]
  ------------------
  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|    465|#undef RETURN_SYNTAX_ERROR
  496|       |
  497|    465|    return 0;
  498|    465|}
lexer.c:verify_end_of_number:
  305|    952|verify_end_of_number(struct tok_state *tok, int c, const char *kind) {
  306|    952|    if (tok->tok_extra_tokens) {
  ------------------
  |  Branch (306:9): [True: 28, False: 924]
  ------------------
  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|    924|    int r = 0;
  322|    924|    if (c == 'a') {
  ------------------
  |  Branch (322:9): [True: 0, False: 924]
  ------------------
  323|      0|        r = lookahead(tok, "nd");
  324|      0|    }
  325|    924|    else if (c == 'e') {
  ------------------
  |  Branch (325:14): [True: 0, False: 924]
  ------------------
  326|      0|        r = lookahead(tok, "lse");
  327|      0|    }
  328|    924|    else if (c == 'f') {
  ------------------
  |  Branch (328:14): [True: 0, False: 924]
  ------------------
  329|      0|        r = lookahead(tok, "or");
  330|      0|    }
  331|    924|    else if (c == 'i') {
  ------------------
  |  Branch (331:14): [True: 0, False: 924]
  ------------------
  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|    924|    else if (c == 'o') {
  ------------------
  |  Branch (338:14): [True: 0, False: 924]
  ------------------
  339|      0|        r = lookahead(tok, "r");
  340|      0|    }
  341|    924|    else if (c == 'n') {
  ------------------
  |  Branch (341:14): [True: 0, False: 924]
  ------------------
  342|      0|        r = lookahead(tok, "ot");
  343|      0|    }
  344|    924|    if (r) {
  ------------------
  |  Branch (344:9): [True: 0, False: 924]
  ------------------
  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|    924|    else /* In future releases, only error will remain. */
  354|    924|    if (c < 128 && is_potential_identifier_char(c)) {
  ------------------
  |  |   18|    924|#define is_potential_identifier_char(c) (\
  |  |   19|    924|              (c >= 'a' && c <= 'z')\
  |  |  ------------------
  |  |  |  Branch (19:16): [True: 1, False: 923]
  |  |  |  Branch (19:28): [True: 0, False: 1]
  |  |  ------------------
  |  |   20|    924|               || (c >= 'A' && c <= 'Z')\
  |  |  ------------------
  |  |  |  Branch (20:20): [True: 171, False: 753]
  |  |  |  Branch (20:32): [True: 0, False: 171]
  |  |  ------------------
  |  |   21|    924|               || (c >= '0' && c <= '9')\
  |  |  ------------------
  |  |  |  Branch (21:20): [True: 324, False: 600]
  |  |  |  Branch (21:32): [True: 0, False: 324]
  |  |  ------------------
  |  |   22|    924|               || c == '_'\
  |  |  ------------------
  |  |  |  Branch (22:19): [True: 0, False: 924]
  |  |  ------------------
  |  |   23|    924|               || (c >= 128))
  |  |  ------------------
  |  |  |  Branch (23:19): [True: 0, False: 924]
  |  |  ------------------
  ------------------
  |  Branch (354:9): [True: 924, False: 0]
  ------------------
  355|      0|        tok_backup(tok, c);
  356|      0|        _PyTokenizer_syntaxerror(tok, "invalid %s literal", kind);
  357|      0|        return 0;
  358|      0|    }
  359|    924|    return 1;
  360|    924|}
lexer.c:tok_decimal_tail:
  414|    557|{
  415|    557|    int c;
  416|       |
  417|    557|    while (1) {
  ------------------
  |  Branch (417:12): [True: 557, Folded]
  ------------------
  418|    690|        do {
  419|    690|            c = tok_nextc(tok);
  420|    690|        } while (Py_ISDIGIT(c));
  ------------------
  |  |   24|    690|#define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |  138|    690|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISDIGIT(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
  |  |  ------------------
  |  |  |  |   11|    690|#define PY_CTF_DIGIT  0x04
  |  |  ------------------
  |  |  |  Branch (24:24): [True: 133, False: 557]
  |  |  ------------------
  ------------------
  421|    557|        if (c != '_') {
  ------------------
  |  Branch (421:13): [True: 557, False: 0]
  ------------------
  422|    557|            break;
  423|    557|        }
  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|    557|    return c;
  432|    557|}
lexer.c:set_ftstring_expr:
  114|  1.14k|set_ftstring_expr(struct tok_state* tok, struct token *token, char c) {
  115|  1.14k|    assert(token != NULL);
  116|  1.14k|    assert(c == '}' || c == ':' || c == '!');
  117|  1.14k|    tokenizer_mode *tok_mode = TOK_GET_MODE(tok);
  ------------------
  |  |   37|  1.14k|#define TOK_GET_MODE(tok) (&(tok->tok_mode_stack[tok->tok_mode_stack_index]))
  ------------------
  118|       |
  119|  1.14k|    if (!(tok_mode->in_debug || tok_mode->string_kind == TSTRING) || token->metadata) {
  ------------------
  |  Branch (119:11): [True: 1, False: 1.14k]
  |  Branch (119:33): [True: 1, False: 1.14k]
  |  Branch (119:70): [True: 0, False: 2]
  ------------------
  120|  1.14k|        return 0;
  121|  1.14k|    }
  122|      2|    PyObject *res = NULL;
  123|       |
  124|       |    // Look for a # character outside of string literals
  125|      2|    int hash_detected = 0;
  126|      2|    int in_string = 0;
  127|      2|    char quote_char = 0;
  128|       |
  129|     10|    for (Py_ssize_t i = 0; i < tok_mode->last_expr_size - tok_mode->last_expr_end; i++) {
  ------------------
  |  Branch (129:28): [True: 8, False: 2]
  ------------------
  130|      8|        char ch = tok_mode->last_expr_buffer[i];
  131|       |
  132|       |        // Skip escaped characters
  133|      8|        if (ch == '\\') {
  ------------------
  |  Branch (133:13): [True: 0, False: 8]
  ------------------
  134|      0|            i++;
  135|      0|            continue;
  136|      0|        }
  137|       |
  138|       |        // Handle quotes
  139|      8|        if (ch == '"' || ch == '\'') {
  ------------------
  |  Branch (139:13): [True: 0, False: 8]
  |  Branch (139:26): [True: 0, False: 8]
  ------------------
  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|      8|        if (ch == '#' && !in_string) {
  ------------------
  |  Branch (158:13): [True: 0, False: 8]
  |  Branch (158:26): [True: 0, False: 0]
  ------------------
  159|      0|            hash_detected = 1;
  160|      0|            break;
  161|      0|        }
  162|      8|    }
  163|       |    // If we found a # character in the expression, we need to handle comments
  164|      2|    if (hash_detected) {
  ------------------
  |  Branch (164:9): [True: 0, False: 2]
  ------------------
  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|      2|    } else {
  212|      2|        res = PyUnicode_DecodeUTF8(
  213|      2|            tok_mode->last_expr_buffer,
  214|      2|            tok_mode->last_expr_size - tok_mode->last_expr_end,
  215|      2|            NULL
  216|      2|        );
  217|      2|    }
  218|       |
  219|      2|    if (!res) {
  ------------------
  |  Branch (219:9): [True: 0, False: 2]
  ------------------
  220|      0|        return -1;
  221|      0|    }
  222|      2|    token->metadata = res;
  223|      2|    return 0;
  224|      2|}
lexer.c:tok_get_fstring_mode:
 1394|  1.38k|{
 1395|  1.38k|    const char *p_start = NULL;
 1396|  1.38k|    const char *p_end = NULL;
 1397|  1.38k|    int end_quote_size = 0;
 1398|  1.38k|    int unicode_escape = 0;
 1399|       |
 1400|  1.38k|    tok->start = tok->cur;
 1401|  1.38k|    tok->first_lineno = tok->lineno;
 1402|  1.38k|    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|  1.38k|    int start_char = tok_nextc(tok);
 1407|  1.38k|    if (start_char == '{') {
  ------------------
  |  Branch (1407:9): [True: 170, False: 1.21k]
  ------------------
 1408|    170|        int peek1 = tok_nextc(tok);
 1409|    170|        tok_backup(tok, peek1);
 1410|    170|        tok_backup(tok, start_char);
 1411|    170|        if (peek1 != '{') {
  ------------------
  |  Branch (1411:13): [True: 170, False: 0]
  ------------------
 1412|    170|            current_tok->curly_bracket_expr_start_depth++;
 1413|    170|            if (current_tok->curly_bracket_expr_start_depth >= MAX_EXPR_NESTING) {
  ------------------
  |  |   46|    170|#define MAX_EXPR_NESTING 3
  ------------------
  |  Branch (1413:17): [True: 0, False: 170]
  ------------------
 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|    170|            TOK_GET_MODE(tok)->kind = TOK_REGULAR_MODE;
  ------------------
  |  |   37|    170|#define TOK_GET_MODE(tok) (&(tok->tok_mode_stack[tok->tok_mode_stack_index]))
  ------------------
 1418|    170|            return tok_get_normal_mode(tok, current_tok, token);
 1419|    170|        }
 1420|    170|    }
 1421|  1.21k|    else {
 1422|  1.21k|        tok_backup(tok, start_char);
 1423|  1.21k|    }
 1424|       |
 1425|       |    // Check if we are at the end of the string
 1426|  1.64k|    for (int i = 0; i < current_tok->quote_size; i++) {
  ------------------
  |  Branch (1426:21): [True: 1.21k, False: 432]
  ------------------
 1427|  1.21k|        int quote = tok_nextc(tok);
 1428|  1.21k|        if (quote != current_tok->quote) {
  ------------------
  |  Branch (1428:13): [True: 784, False: 432]
  ------------------
 1429|    784|            tok_backup(tok, quote);
 1430|    784|            goto f_string_middle;
 1431|    784|        }
 1432|  1.21k|    }
 1433|       |
 1434|    432|    if (current_tok->last_expr_buffer != NULL) {
  ------------------
  |  Branch (1434:9): [True: 405, False: 27]
  ------------------
 1435|    405|        PyMem_Free(current_tok->last_expr_buffer);
 1436|    405|        current_tok->last_expr_buffer = NULL;
 1437|    405|        current_tok->last_expr_size = 0;
 1438|    405|        current_tok->last_expr_end = -1;
 1439|    405|    }
 1440|       |
 1441|    432|    p_start = tok->start;
 1442|    432|    p_end = tok->cur;
 1443|    432|    tok->tok_mode_stack_index--;
 1444|    432|    return MAKE_TOKEN(FTSTRING_END(current_tok));
  ------------------
  |  |   44|    864|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  |  |  ------------------
  |  |  |  Branch (44:65): [True: 1, False: 431]
  |  |  ------------------
  ------------------
 1445|       |
 1446|    784|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|    784|    tok->multi_line_start = tok->line_start;
 1451|  10.5k|    while (end_quote_size != current_tok->quote_size) {
  ------------------
  |  Branch (1451:12): [True: 10.3k, False: 205]
  ------------------
 1452|  10.3k|        int c = tok_nextc(tok);
 1453|  10.3k|        if (tok->done == E_ERROR || tok->done == E_DECODE) {
  ------------------
  |  |   29|  20.7k|#define E_ERROR          17      /* Execution error */
  ------------------
                      if (tok->done == E_ERROR || tok->done == E_DECODE) {
  ------------------
  |  |   34|  10.3k|#define E_DECODE         22      /* Error in decoding into Unicode */
  ------------------
  |  Branch (1453:13): [True: 0, False: 10.3k]
  |  Branch (1453:37): [True: 0, False: 10.3k]
  ------------------
 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|  10.3k|        int in_format_spec = (
 1457|  10.3k|                current_tok->in_format_spec
  ------------------
  |  Branch (1457:17): [True: 16, False: 10.3k]
  ------------------
 1458|     16|                &&
 1459|     16|                INSIDE_FSTRING_EXPR(current_tok)
  ------------------
  |  |   11|     16|#define INSIDE_FSTRING_EXPR(tok) (tok->curly_bracket_expr_start_depth >= 0)
  |  |  ------------------
  |  |  |  Branch (11:34): [True: 16, False: 0]
  |  |  ------------------
  ------------------
 1460|  10.3k|        );
 1461|       |
 1462|  10.3k|       if (c == EOF || (current_tok->quote_size == 1 && c == '\n')) {
  ------------------
  |  Branch (1462:12): [True: 0, False: 10.3k]
  |  Branch (1462:25): [True: 10.3k, False: 0]
  |  Branch (1462:57): [True: 0, False: 10.3k]
  ------------------
 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|  10.3k|        if (c == current_tok->quote) {
  ------------------
  |  Branch (1517:13): [True: 205, False: 10.1k]
  ------------------
 1518|    205|            end_quote_size += 1;
 1519|    205|            continue;
 1520|  10.1k|        } else {
 1521|  10.1k|            end_quote_size = 0;
 1522|  10.1k|        }
 1523|       |
 1524|  10.1k|        if (c == '{') {
  ------------------
  |  Branch (1524:13): [True: 574, False: 9.61k]
  ------------------
 1525|    574|            if (!_PyLexer_update_ftstring_expr(tok, c)) {
  ------------------
  |  Branch (1525:17): [True: 0, False: 574]
  ------------------
 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|    574|            int peek = tok_nextc(tok);
 1529|    574|            if (peek != '{' || in_format_spec) {
  ------------------
  |  Branch (1529:17): [True: 574, False: 0]
  |  Branch (1529:32): [True: 0, False: 0]
  ------------------
 1530|    574|                tok_backup(tok, peek);
 1531|    574|                tok_backup(tok, c);
 1532|    574|                current_tok->curly_bracket_expr_start_depth++;
 1533|    574|                if (current_tok->curly_bracket_expr_start_depth >= MAX_EXPR_NESTING) {
  ------------------
  |  |   46|    574|#define MAX_EXPR_NESTING 3
  ------------------
  |  Branch (1533:21): [True: 0, False: 574]
  ------------------
 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|    574|                TOK_GET_MODE(tok)->kind = TOK_REGULAR_MODE;
  ------------------
  |  |   37|    574|#define TOK_GET_MODE(tok) (&(tok->tok_mode_stack[tok->tok_mode_stack_index]))
  ------------------
 1538|    574|                current_tok->in_format_spec = 0;
 1539|    574|                p_start = tok->start;
 1540|    574|                p_end = tok->cur;
 1541|    574|            } else {
 1542|      0|                p_start = tok->start;
 1543|      0|                p_end = tok->cur - 1;
 1544|      0|            }
 1545|    574|            return MAKE_TOKEN(FTSTRING_MIDDLE(current_tok));
  ------------------
  |  |   44|  1.14k|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  |  |  ------------------
  |  |  |  Branch (44:65): [True: 0, False: 574]
  |  |  ------------------
  ------------------
 1546|  9.61k|        } else if (c == '}') {
  ------------------
  |  Branch (1546:20): [True: 5, False: 9.60k]
  ------------------
 1547|      5|            if (unicode_escape) {
  ------------------
  |  Branch (1547:17): [True: 0, False: 5]
  ------------------
 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|      5|            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|      5|            int cursor = current_tok->curly_bracket_depth;
 1559|      5|            if (peek == '}' && !in_format_spec && cursor == 0) {
  ------------------
  |  Branch (1559:17): [True: 0, False: 5]
  |  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|      5|            } else {
 1563|      5|                tok_backup(tok, peek);
 1564|      5|                tok_backup(tok, c);
 1565|      5|                TOK_GET_MODE(tok)->kind = TOK_REGULAR_MODE;
  ------------------
  |  |   37|      5|#define TOK_GET_MODE(tok) (&(tok->tok_mode_stack[tok->tok_mode_stack_index]))
  ------------------
 1566|      5|                current_tok->in_format_spec = 0;
 1567|      5|                p_start = tok->start;
 1568|      5|                p_end = tok->cur;
 1569|      5|            }
 1570|      5|            return MAKE_TOKEN(FTSTRING_MIDDLE(current_tok));
  ------------------
  |  |   44|     10|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  |  |  ------------------
  |  |  |  Branch (44:65): [True: 0, False: 5]
  |  |  ------------------
  ------------------
 1571|  9.60k|        } else if (c == '\\') {
  ------------------
  |  Branch (1571:20): [True: 10, False: 9.59k]
  ------------------
 1572|     10|            int peek = tok_nextc(tok);
 1573|     10|            if (peek == '\r') {
  ------------------
  |  Branch (1573:17): [True: 0, False: 10]
  ------------------
 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|     10|            if (peek == '{' || peek == '}') {
  ------------------
  |  Branch (1579:17): [True: 0, False: 10]
  |  Branch (1579:32): [True: 0, False: 10]
  ------------------
 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|     10|            if (!current_tok->raw) {
  ------------------
  |  Branch (1589:17): [True: 10, False: 0]
  ------------------
 1590|     10|                if (peek == 'N') {
  ------------------
  |  Branch (1590:21): [True: 0, False: 10]
  ------------------
 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|     10|            } /* else {
 1600|       |                skip the escaped character
 1601|       |            }*/
 1602|     10|        }
 1603|  10.1k|    }
 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|    410|    for (int i = 0; i < current_tok->quote_size; i++) {
  ------------------
  |  Branch (1607:21): [True: 205, False: 205]
  ------------------
 1608|    205|        tok_backup(tok, current_tok->quote);
 1609|    205|    }
 1610|    205|    p_start = tok->start;
 1611|    205|    p_end = tok->cur;
 1612|    205|    return MAKE_TOKEN(FTSTRING_MIDDLE(current_tok));
  ------------------
  |  |   44|    410|#define MAKE_TOKEN(token_type) _PyLexer_token_setup(tok, token, token_type, p_start, p_end)
  |  |  ------------------
  |  |  |  Branch (44:65): [True: 0, False: 205]
  |  |  ------------------
  ------------------
 1613|    784|}

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

_PyPegen_parse:
39413|  54.5k|{
39414|       |    // Initialize keywords
39415|  54.5k|    p->keywords = reserved_keywords;
39416|  54.5k|    p->n_keyword_lists = n_keyword_lists;
39417|  54.5k|    p->soft_keywords = soft_keywords;
39418|       |
39419|       |    // Run parser
39420|  54.5k|    void *result = NULL;
39421|  54.5k|    if (p->start_rule == Py_file_input) {
  ------------------
  |  |    9|  54.5k|#define Py_file_input 257
  ------------------
  |  Branch (39421:9): [True: 54.5k, False: 78]
  ------------------
39422|  54.5k|        result = file_rule(p);
39423|  54.5k|    } 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|  54.5k|    return result;
39432|  54.5k|}
parser.c:file_rule:
 1007|  54.5k|{
 1008|  54.5k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   109k|#  define MAXSTACK 6000
  ------------------
  |  Branch (1008:9): [True: 0, False: 54.5k]
  |  Branch (1008:35): [True: 0, False: 54.5k]
  ------------------
 1009|      0|        _Pypegen_stack_overflow(p);
 1010|      0|    }
 1011|  54.5k|    if (p->error_indicator) {
  ------------------
  |  Branch (1011:9): [True: 0, False: 54.5k]
  ------------------
 1012|      0|        p->level--;
 1013|      0|        return NULL;
 1014|      0|    }
 1015|  54.5k|    mod_ty _res = NULL;
 1016|  54.5k|    int _mark = p->mark;
 1017|  54.5k|    { // statements? $
 1018|  54.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (1018:13): [True: 0, False: 54.5k]
  ------------------
 1019|      0|            p->level--;
 1020|      0|            return NULL;
 1021|      0|        }
 1022|  54.5k|        D(fprintf(stderr, "%*c> file[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "statements? $"));
 1023|  54.5k|        void *a;
 1024|  54.5k|        Token * endmarker_var;
 1025|  54.5k|        if (
 1026|  54.5k|            (a = statements_rule(p), !p->error_indicator)  // statements?
  ------------------
  |  Branch (1026:13): [True: 54.5k, False: 0]
  ------------------
 1027|  54.5k|            &&
 1028|  54.5k|            (endmarker_var = _PyPegen_expect_token(p, ENDMARKER))  // token='ENDMARKER'
  ------------------
  |  |   16|  54.5k|#define ENDMARKER       0
  ------------------
  |  Branch (1028:13): [True: 192, False: 54.3k]
  ------------------
 1029|  54.5k|        )
 1030|    192|        {
 1031|    192|            D(fprintf(stderr, "%*c+ file[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "statements? $"));
 1032|    192|            _res = _PyPegen_make_module ( p , a );
 1033|    192|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1033:18): [True: 0, False: 192]
  |  Branch (1033:34): [True: 0, False: 192]
  |  Branch (1033:57): [True: 0, False: 0]
  ------------------
 1034|      0|                p->error_indicator = 1;
 1035|      0|                p->level--;
 1036|      0|                return NULL;
 1037|      0|            }
 1038|    192|            goto done;
 1039|    192|        }
 1040|  54.3k|        p->mark = _mark;
 1041|  54.3k|        D(fprintf(stderr, "%*c%s file[%d-%d]: %s failed!\n", p->level, ' ',
 1042|  54.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "statements? $"));
 1043|  54.3k|    }
 1044|  54.3k|    _res = NULL;
 1045|  54.5k|  done:
 1046|  54.5k|    p->level--;
 1047|  54.5k|    return _res;
 1048|  54.3k|}
parser.c:statements_rule:
 1206|  60.1k|{
 1207|  60.1k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   120k|#  define MAXSTACK 6000
  ------------------
  |  Branch (1207:9): [True: 0, False: 60.1k]
  |  Branch (1207:35): [True: 0, False: 60.1k]
  ------------------
 1208|      0|        _Pypegen_stack_overflow(p);
 1209|      0|    }
 1210|  60.1k|    if (p->error_indicator) {
  ------------------
  |  Branch (1210:9): [True: 0, False: 60.1k]
  ------------------
 1211|      0|        p->level--;
 1212|      0|        return NULL;
 1213|      0|    }
 1214|  60.1k|    asdl_stmt_seq* _res = NULL;
 1215|  60.1k|    int _mark = p->mark;
 1216|  60.1k|    { // statement+
 1217|  60.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (1217:13): [True: 0, False: 60.1k]
  ------------------
 1218|      0|            p->level--;
 1219|      0|            return NULL;
 1220|      0|        }
 1221|  60.1k|        D(fprintf(stderr, "%*c> statements[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "statement+"));
 1222|  60.1k|        asdl_seq * a;
 1223|  60.1k|        if (
 1224|  60.1k|            (a = _loop1_2_rule(p))  // statement+
  ------------------
  |  Branch (1224:13): [True: 5.84k, False: 54.3k]
  ------------------
 1225|  60.1k|        )
 1226|  5.84k|        {
 1227|  5.84k|            D(fprintf(stderr, "%*c+ statements[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "statement+"));
 1228|  5.84k|            _res = ( asdl_stmt_seq* ) _PyPegen_seq_flatten ( p , a );
 1229|  5.84k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1229:18): [True: 0, False: 5.84k]
  |  Branch (1229:34): [True: 0, False: 5.84k]
  |  Branch (1229:57): [True: 0, False: 0]
  ------------------
 1230|      0|                p->error_indicator = 1;
 1231|      0|                p->level--;
 1232|      0|                return NULL;
 1233|      0|            }
 1234|  5.84k|            goto done;
 1235|  5.84k|        }
 1236|  54.3k|        p->mark = _mark;
 1237|  54.3k|        D(fprintf(stderr, "%*c%s statements[%d-%d]: %s failed!\n", p->level, ' ',
 1238|  54.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "statement+"));
 1239|  54.3k|    }
 1240|  54.3k|    _res = NULL;
 1241|  60.1k|  done:
 1242|  60.1k|    p->level--;
 1243|  60.1k|    return _res;
 1244|  54.3k|}
parser.c:_loop1_2_rule:
28507|  60.1k|{
28508|  60.1k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   120k|#  define MAXSTACK 6000
  ------------------
  |  Branch (28508:9): [True: 0, False: 60.1k]
  |  Branch (28508:35): [True: 0, False: 60.1k]
  ------------------
28509|      0|        _Pypegen_stack_overflow(p);
28510|      0|    }
28511|  60.1k|    if (p->error_indicator) {
  ------------------
  |  Branch (28511:9): [True: 0, False: 60.1k]
  ------------------
28512|      0|        p->level--;
28513|      0|        return NULL;
28514|      0|    }
28515|  60.1k|    void *_res = NULL;
28516|  60.1k|    int _mark = p->mark;
28517|  60.1k|    void **_children = PyMem_Malloc(sizeof(void *));
28518|  60.1k|    if (!_children) {
  ------------------
  |  Branch (28518:9): [True: 0, False: 60.1k]
  ------------------
28519|      0|        p->error_indicator = 1;
28520|      0|        PyErr_NoMemory();
28521|      0|        p->level--;
28522|      0|        return NULL;
28523|      0|    }
28524|  60.1k|    Py_ssize_t _children_capacity = 1;
28525|  60.1k|    Py_ssize_t _n = 0;
28526|  60.1k|    { // statement
28527|  60.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (28527:13): [True: 0, False: 60.1k]
  ------------------
28528|      0|            p->level--;
28529|      0|            return NULL;
28530|      0|        }
28531|  60.1k|        D(fprintf(stderr, "%*c> _loop1_2[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "statement"));
28532|  60.1k|        asdl_stmt_seq* statement_var;
28533|  60.1k|        while (
28534|  74.0k|            (statement_var = statement_rule(p))  // statement
  ------------------
  |  Branch (28534:13): [True: 13.8k, False: 60.1k]
  ------------------
28535|  60.1k|        )
28536|  13.8k|        {
28537|  13.8k|            _res = statement_var;
28538|  13.8k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (28538:17): [True: 4.68k, False: 9.20k]
  ------------------
28539|  4.68k|                _children_capacity *= 2;
28540|  4.68k|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
28541|  4.68k|                if (!_new_children) {
  ------------------
  |  Branch (28541:21): [True: 0, False: 4.68k]
  ------------------
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|  4.68k|                _children = _new_children;
28549|  4.68k|            }
28550|  13.8k|            _children[_n++] = _res;
28551|  13.8k|            _mark = p->mark;
28552|  13.8k|        }
28553|  60.1k|        p->mark = _mark;
28554|  60.1k|        D(fprintf(stderr, "%*c%s _loop1_2[%d-%d]: %s failed!\n", p->level, ' ',
28555|  60.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "statement"));
28556|  60.1k|    }
28557|  60.1k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (28557:9): [True: 54.3k, False: 5.84k]
  |  Branch (28557:20): [True: 0, False: 5.84k]
  ------------------
28558|  54.3k|        PyMem_Free(_children);
28559|  54.3k|        p->level--;
28560|  54.3k|        return NULL;
28561|  54.3k|    }
28562|  5.84k|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
28563|  5.84k|    if (!_seq) {
  ------------------
  |  Branch (28563:9): [True: 0, False: 5.84k]
  ------------------
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|  19.7k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  13.8k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  19.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (28570:28): [True: 13.8k, False: 5.84k]
  ------------------
28571|  5.84k|    PyMem_Free(_children);
28572|  5.84k|    p->level--;
28573|  5.84k|    return _seq;
28574|  5.84k|}
parser.c:statement_rule:
 1249|  74.0k|{
 1250|  74.0k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   148k|#  define MAXSTACK 6000
  ------------------
  |  Branch (1250:9): [True: 0, False: 74.0k]
  |  Branch (1250:35): [True: 0, False: 74.0k]
  ------------------
 1251|      0|        _Pypegen_stack_overflow(p);
 1252|      0|    }
 1253|  74.0k|    if (p->error_indicator) {
  ------------------
  |  Branch (1253:9): [True: 0, False: 74.0k]
  ------------------
 1254|      0|        p->level--;
 1255|      0|        return NULL;
 1256|      0|    }
 1257|  74.0k|    asdl_stmt_seq* _res = NULL;
 1258|  74.0k|    int _mark = p->mark;
 1259|  74.0k|    { // compound_stmt
 1260|  74.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (1260:13): [True: 0, False: 74.0k]
  ------------------
 1261|      0|            p->level--;
 1262|      0|            return NULL;
 1263|      0|        }
 1264|  74.0k|        D(fprintf(stderr, "%*c> statement[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "compound_stmt"));
 1265|  74.0k|        stmt_ty a;
 1266|  74.0k|        if (
 1267|  74.0k|            (a = compound_stmt_rule(p))  // compound_stmt
  ------------------
  |  Branch (1267:13): [True: 4.70k, False: 69.3k]
  ------------------
 1268|  74.0k|        )
 1269|  4.70k|        {
 1270|  4.70k|            D(fprintf(stderr, "%*c+ statement[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "compound_stmt"));
 1271|  4.70k|            _res = _PyPegen_register_stmts ( p , ( asdl_stmt_seq* ) _PyPegen_singleton_seq ( p , a ) );
 1272|  4.70k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1272:18): [True: 0, False: 4.70k]
  |  Branch (1272:34): [True: 0, False: 4.70k]
  |  Branch (1272:57): [True: 0, False: 0]
  ------------------
 1273|      0|                p->error_indicator = 1;
 1274|      0|                p->level--;
 1275|      0|                return NULL;
 1276|      0|            }
 1277|  4.70k|            goto done;
 1278|  4.70k|        }
 1279|  69.3k|        p->mark = _mark;
 1280|  69.3k|        D(fprintf(stderr, "%*c%s statement[%d-%d]: %s failed!\n", p->level, ' ',
 1281|  69.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "compound_stmt"));
 1282|  69.3k|    }
 1283|      0|    { // simple_stmts
 1284|  69.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (1284:13): [True: 0, False: 69.3k]
  ------------------
 1285|      0|            p->level--;
 1286|      0|            return NULL;
 1287|      0|        }
 1288|  69.3k|        D(fprintf(stderr, "%*c> statement[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "simple_stmts"));
 1289|  69.3k|        asdl_stmt_seq* a;
 1290|  69.3k|        if (
 1291|  69.3k|            (a = (asdl_stmt_seq*)simple_stmts_rule(p))  // simple_stmts
  ------------------
  |  Branch (1291:13): [True: 9.19k, False: 60.1k]
  ------------------
 1292|  69.3k|        )
 1293|  9.19k|        {
 1294|  9.19k|            D(fprintf(stderr, "%*c+ statement[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "simple_stmts"));
 1295|  9.19k|            _res = a;
 1296|  9.19k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1296:18): [True: 0, False: 9.19k]
  |  Branch (1296:34): [True: 0, False: 9.19k]
  |  Branch (1296:57): [True: 0, False: 0]
  ------------------
 1297|      0|                p->error_indicator = 1;
 1298|      0|                p->level--;
 1299|      0|                return NULL;
 1300|      0|            }
 1301|  9.19k|            goto done;
 1302|  9.19k|        }
 1303|  60.1k|        p->mark = _mark;
 1304|  60.1k|        D(fprintf(stderr, "%*c%s statement[%d-%d]: %s failed!\n", p->level, ' ',
 1305|  60.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "simple_stmts"));
 1306|  60.1k|    }
 1307|  60.1k|    _res = NULL;
 1308|  74.0k|  done:
 1309|  74.0k|    p->level--;
 1310|  74.0k|    return _res;
 1311|  60.1k|}
parser.c:compound_stmt_rule:
 1928|  74.0k|{
 1929|  74.0k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   148k|#  define MAXSTACK 6000
  ------------------
  |  Branch (1929:9): [True: 0, False: 74.0k]
  |  Branch (1929:35): [True: 0, False: 74.0k]
  ------------------
 1930|      0|        _Pypegen_stack_overflow(p);
 1931|      0|    }
 1932|  74.0k|    if (p->error_indicator) {
  ------------------
  |  Branch (1932:9): [True: 0, False: 74.0k]
  ------------------
 1933|      0|        p->level--;
 1934|      0|        return NULL;
 1935|      0|    }
 1936|  74.0k|    stmt_ty _res = NULL;
 1937|  74.0k|    int _mark = p->mark;
 1938|  74.0k|    { // &('def' | '@' | 'async') function_def
 1939|  74.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (1939:13): [True: 0, False: 74.0k]
  ------------------
 1940|      0|            p->level--;
 1941|      0|            return NULL;
 1942|      0|        }
 1943|  74.0k|        D(fprintf(stderr, "%*c> compound_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&('def' | '@' | 'async') function_def"));
 1944|  74.0k|        stmt_ty function_def_var;
 1945|  74.0k|        if (
 1946|  74.0k|            _PyPegen_lookahead(1, _tmp_6_rule, p)
  ------------------
  |  Branch (1946:13): [True: 1.87k, False: 72.1k]
  ------------------
 1947|  1.87k|            &&
 1948|  1.87k|            (function_def_var = function_def_rule(p))  // function_def
  ------------------
  |  Branch (1948:13): [True: 1.86k, False: 7]
  ------------------
 1949|  74.0k|        )
 1950|  1.86k|        {
 1951|  1.86k|            D(fprintf(stderr, "%*c+ compound_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&('def' | '@' | 'async') function_def"));
 1952|  1.86k|            _res = function_def_var;
 1953|  1.86k|            goto done;
 1954|  1.86k|        }
 1955|  72.1k|        p->mark = _mark;
 1956|  72.1k|        D(fprintf(stderr, "%*c%s compound_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1957|  72.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&('def' | '@' | 'async') function_def"));
 1958|  72.1k|    }
 1959|      0|    { // &'if' if_stmt
 1960|  72.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (1960:13): [True: 0, False: 72.1k]
  ------------------
 1961|      0|            p->level--;
 1962|      0|            return NULL;
 1963|      0|        }
 1964|  72.1k|        D(fprintf(stderr, "%*c> compound_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'if' if_stmt"));
 1965|  72.1k|        stmt_ty if_stmt_var;
 1966|  72.1k|        if (
 1967|  72.1k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 698)  // token='if'
  ------------------
  |  Branch (1967:13): [True: 2.06k, False: 70.1k]
  ------------------
 1968|  2.06k|            &&
 1969|  2.06k|            (if_stmt_var = if_stmt_rule(p))  // if_stmt
  ------------------
  |  Branch (1969:13): [True: 2.06k, False: 0]
  ------------------
 1970|  72.1k|        )
 1971|  2.06k|        {
 1972|  2.06k|            D(fprintf(stderr, "%*c+ compound_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'if' if_stmt"));
 1973|  2.06k|            _res = if_stmt_var;
 1974|  2.06k|            goto done;
 1975|  2.06k|        }
 1976|  70.1k|        p->mark = _mark;
 1977|  70.1k|        D(fprintf(stderr, "%*c%s compound_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1978|  70.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'if' if_stmt"));
 1979|  70.1k|    }
 1980|      0|    { // &('class' | '@') class_def
 1981|  70.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (1981:13): [True: 0, False: 70.1k]
  ------------------
 1982|      0|            p->level--;
 1983|      0|            return NULL;
 1984|      0|        }
 1985|  70.1k|        D(fprintf(stderr, "%*c> compound_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&('class' | '@') class_def"));
 1986|  70.1k|        stmt_ty class_def_var;
 1987|  70.1k|        if (
 1988|  70.1k|            _PyPegen_lookahead(1, _tmp_7_rule, p)
  ------------------
  |  Branch (1988:13): [True: 149, False: 69.9k]
  ------------------
 1989|    149|            &&
 1990|    149|            (class_def_var = class_def_rule(p))  // class_def
  ------------------
  |  Branch (1990:13): [True: 149, False: 0]
  ------------------
 1991|  70.1k|        )
 1992|    149|        {
 1993|    149|            D(fprintf(stderr, "%*c+ compound_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&('class' | '@') class_def"));
 1994|    149|            _res = class_def_var;
 1995|    149|            goto done;
 1996|    149|        }
 1997|  69.9k|        p->mark = _mark;
 1998|  69.9k|        D(fprintf(stderr, "%*c%s compound_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1999|  69.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&('class' | '@') class_def"));
 2000|  69.9k|    }
 2001|      0|    { // &('with' | 'async') with_stmt
 2002|  69.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (2002:13): [True: 0, False: 69.9k]
  ------------------
 2003|      0|            p->level--;
 2004|      0|            return NULL;
 2005|      0|        }
 2006|  69.9k|        D(fprintf(stderr, "%*c> compound_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&('with' | 'async') with_stmt"));
 2007|  69.9k|        stmt_ty with_stmt_var;
 2008|  69.9k|        if (
 2009|  69.9k|            _PyPegen_lookahead(1, _tmp_8_rule, p)
  ------------------
  |  Branch (2009:13): [True: 51, False: 69.9k]
  ------------------
 2010|     51|            &&
 2011|     51|            (with_stmt_var = with_stmt_rule(p))  // with_stmt
  ------------------
  |  Branch (2011:13): [True: 51, False: 0]
  ------------------
 2012|  69.9k|        )
 2013|     51|        {
 2014|     51|            D(fprintf(stderr, "%*c+ compound_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&('with' | 'async') with_stmt"));
 2015|     51|            _res = with_stmt_var;
 2016|     51|            goto done;
 2017|     51|        }
 2018|  69.9k|        p->mark = _mark;
 2019|  69.9k|        D(fprintf(stderr, "%*c%s compound_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 2020|  69.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&('with' | 'async') with_stmt"));
 2021|  69.9k|    }
 2022|      0|    { // &('for' | 'async') for_stmt
 2023|  69.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (2023:13): [True: 0, False: 69.9k]
  ------------------
 2024|      0|            p->level--;
 2025|      0|            return NULL;
 2026|      0|        }
 2027|  69.9k|        D(fprintf(stderr, "%*c> compound_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&('for' | 'async') for_stmt"));
 2028|  69.9k|        stmt_ty for_stmt_var;
 2029|  69.9k|        if (
 2030|  69.9k|            _PyPegen_lookahead(1, _tmp_9_rule, p)
  ------------------
  |  Branch (2030:13): [True: 192, False: 69.7k]
  ------------------
 2031|    192|            &&
 2032|    192|            (for_stmt_var = for_stmt_rule(p))  // for_stmt
  ------------------
  |  Branch (2032:13): [True: 192, False: 0]
  ------------------
 2033|  69.9k|        )
 2034|    192|        {
 2035|    192|            D(fprintf(stderr, "%*c+ compound_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&('for' | 'async') for_stmt"));
 2036|    192|            _res = for_stmt_var;
 2037|    192|            goto done;
 2038|    192|        }
 2039|  69.7k|        p->mark = _mark;
 2040|  69.7k|        D(fprintf(stderr, "%*c%s compound_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 2041|  69.7k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&('for' | 'async') for_stmt"));
 2042|  69.7k|    }
 2043|      0|    { // &'try' try_stmt
 2044|  69.7k|        if (p->error_indicator) {
  ------------------
  |  Branch (2044:13): [True: 0, False: 69.7k]
  ------------------
 2045|      0|            p->level--;
 2046|      0|            return NULL;
 2047|      0|        }
 2048|  69.7k|        D(fprintf(stderr, "%*c> compound_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'try' try_stmt"));
 2049|  69.7k|        stmt_ty try_stmt_var;
 2050|  69.7k|        if (
 2051|  69.7k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 672)  // token='try'
  ------------------
  |  Branch (2051:13): [True: 303, False: 69.4k]
  ------------------
 2052|    303|            &&
 2053|    303|            (try_stmt_var = try_stmt_rule(p))  // try_stmt
  ------------------
  |  Branch (2053:13): [True: 303, False: 0]
  ------------------
 2054|  69.7k|        )
 2055|    303|        {
 2056|    303|            D(fprintf(stderr, "%*c+ compound_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'try' try_stmt"));
 2057|    303|            _res = try_stmt_var;
 2058|    303|            goto done;
 2059|    303|        }
 2060|  69.4k|        p->mark = _mark;
 2061|  69.4k|        D(fprintf(stderr, "%*c%s compound_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 2062|  69.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'try' try_stmt"));
 2063|  69.4k|    }
 2064|      0|    { // &'while' while_stmt
 2065|  69.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (2065:13): [True: 0, False: 69.4k]
  ------------------
 2066|      0|            p->level--;
 2067|      0|            return NULL;
 2068|      0|        }
 2069|  69.4k|        D(fprintf(stderr, "%*c> compound_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'while' while_stmt"));
 2070|  69.4k|        stmt_ty while_stmt_var;
 2071|  69.4k|        if (
 2072|  69.4k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 705)  // token='while'
  ------------------
  |  Branch (2072:13): [True: 72, False: 69.3k]
  ------------------
 2073|     72|            &&
 2074|     72|            (while_stmt_var = while_stmt_rule(p))  // while_stmt
  ------------------
  |  Branch (2074:13): [True: 72, False: 0]
  ------------------
 2075|  69.4k|        )
 2076|     72|        {
 2077|     72|            D(fprintf(stderr, "%*c+ compound_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'while' while_stmt"));
 2078|     72|            _res = while_stmt_var;
 2079|     72|            goto done;
 2080|     72|        }
 2081|  69.3k|        p->mark = _mark;
 2082|  69.3k|        D(fprintf(stderr, "%*c%s compound_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 2083|  69.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'while' while_stmt"));
 2084|  69.3k|    }
 2085|      0|    { // match_stmt
 2086|  69.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (2086:13): [True: 0, False: 69.3k]
  ------------------
 2087|      0|            p->level--;
 2088|      0|            return NULL;
 2089|      0|        }
 2090|  69.3k|        D(fprintf(stderr, "%*c> compound_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "match_stmt"));
 2091|  69.3k|        stmt_ty match_stmt_var;
 2092|  69.3k|        if (
 2093|  69.3k|            (match_stmt_var = match_stmt_rule(p))  // match_stmt
  ------------------
  |  Branch (2093:13): [True: 1, False: 69.3k]
  ------------------
 2094|  69.3k|        )
 2095|      1|        {
 2096|      1|            D(fprintf(stderr, "%*c+ compound_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "match_stmt"));
 2097|      1|            _res = match_stmt_var;
 2098|      1|            goto done;
 2099|      1|        }
 2100|  69.3k|        p->mark = _mark;
 2101|  69.3k|        D(fprintf(stderr, "%*c%s compound_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 2102|  69.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "match_stmt"));
 2103|  69.3k|    }
 2104|  69.3k|    _res = NULL;
 2105|  74.0k|  done:
 2106|  74.0k|    p->level--;
 2107|  74.0k|    return _res;
 2108|  69.3k|}
parser.c:_tmp_6_rule:
28772|  74.0k|{
28773|  74.0k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   148k|#  define MAXSTACK 6000
  ------------------
  |  Branch (28773:9): [True: 0, False: 74.0k]
  |  Branch (28773:35): [True: 0, False: 74.0k]
  ------------------
28774|      0|        _Pypegen_stack_overflow(p);
28775|      0|    }
28776|  74.0k|    if (p->error_indicator) {
  ------------------
  |  Branch (28776:9): [True: 0, False: 74.0k]
  ------------------
28777|      0|        p->level--;
28778|      0|        return NULL;
28779|      0|    }
28780|  74.0k|    void * _res = NULL;
28781|  74.0k|    int _mark = p->mark;
28782|  74.0k|    { // 'def'
28783|  74.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (28783:13): [True: 0, False: 74.0k]
  ------------------
28784|      0|            p->level--;
28785|      0|            return NULL;
28786|      0|        }
28787|  74.0k|        D(fprintf(stderr, "%*c> _tmp_6[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'def'"));
28788|  74.0k|        Token * _keyword;
28789|  74.0k|        if (
28790|  74.0k|            (_keyword = _PyPegen_expect_token(p, 715))  // token='def'
  ------------------
  |  Branch (28790:13): [True: 1.63k, False: 72.4k]
  ------------------
28791|  74.0k|        )
28792|  1.63k|        {
28793|  1.63k|            D(fprintf(stderr, "%*c+ _tmp_6[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'def'"));
28794|  1.63k|            _res = _keyword;
28795|  1.63k|            goto done;
28796|  1.63k|        }
28797|  72.4k|        p->mark = _mark;
28798|  72.4k|        D(fprintf(stderr, "%*c%s _tmp_6[%d-%d]: %s failed!\n", p->level, ' ',
28799|  72.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'def'"));
28800|  72.4k|    }
28801|      0|    { // '@'
28802|  72.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (28802:13): [True: 0, False: 72.4k]
  ------------------
28803|      0|            p->level--;
28804|      0|            return NULL;
28805|      0|        }
28806|  72.4k|        D(fprintf(stderr, "%*c> _tmp_6[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'@'"));
28807|  72.4k|        Token * _literal;
28808|  72.4k|        if (
28809|  72.4k|            (_literal = _PyPegen_expect_token(p, 49))  // token='@'
  ------------------
  |  Branch (28809:13): [True: 97, False: 72.3k]
  ------------------
28810|  72.4k|        )
28811|     97|        {
28812|     97|            D(fprintf(stderr, "%*c+ _tmp_6[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'@'"));
28813|     97|            _res = _literal;
28814|     97|            goto done;
28815|     97|        }
28816|  72.3k|        p->mark = _mark;
28817|  72.3k|        D(fprintf(stderr, "%*c%s _tmp_6[%d-%d]: %s failed!\n", p->level, ' ',
28818|  72.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'@'"));
28819|  72.3k|    }
28820|      0|    { // 'async'
28821|  72.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (28821:13): [True: 0, False: 72.3k]
  ------------------
28822|      0|            p->level--;
28823|      0|            return NULL;
28824|      0|        }
28825|  72.3k|        D(fprintf(stderr, "%*c> _tmp_6[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'async'"));
28826|  72.3k|        Token * _keyword;
28827|  72.3k|        if (
28828|  72.3k|            (_keyword = _PyPegen_expect_token(p, 714))  // token='async'
  ------------------
  |  Branch (28828:13): [True: 138, False: 72.1k]
  ------------------
28829|  72.3k|        )
28830|    138|        {
28831|    138|            D(fprintf(stderr, "%*c+ _tmp_6[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'async'"));
28832|    138|            _res = _keyword;
28833|    138|            goto done;
28834|    138|        }
28835|  72.1k|        p->mark = _mark;
28836|  72.1k|        D(fprintf(stderr, "%*c%s _tmp_6[%d-%d]: %s failed!\n", p->level, ' ',
28837|  72.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'async'"));
28838|  72.1k|    }
28839|  72.1k|    _res = NULL;
28840|  74.0k|  done:
28841|  74.0k|    p->level--;
28842|  74.0k|    return _res;
28843|  72.1k|}
parser.c:function_def_rule:
 4572|  1.87k|{
 4573|  1.87k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  3.74k|#  define MAXSTACK 6000
  ------------------
  |  Branch (4573:9): [True: 0, False: 1.87k]
  |  Branch (4573:35): [True: 0, False: 1.87k]
  ------------------
 4574|      0|        _Pypegen_stack_overflow(p);
 4575|      0|    }
 4576|  1.87k|    if (p->error_indicator) {
  ------------------
  |  Branch (4576:9): [True: 0, False: 1.87k]
  ------------------
 4577|      0|        p->level--;
 4578|      0|        return NULL;
 4579|      0|    }
 4580|  1.87k|    stmt_ty _res = NULL;
 4581|  1.87k|    int _mark = p->mark;
 4582|  1.87k|    { // decorators function_def_raw
 4583|  1.87k|        if (p->error_indicator) {
  ------------------
  |  Branch (4583:13): [True: 0, False: 1.87k]
  ------------------
 4584|      0|            p->level--;
 4585|      0|            return NULL;
 4586|      0|        }
 4587|  1.87k|        D(fprintf(stderr, "%*c> function_def[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "decorators function_def_raw"));
 4588|  1.87k|        asdl_expr_seq* d;
 4589|  1.87k|        stmt_ty f;
 4590|  1.87k|        if (
 4591|  1.87k|            (d = decorators_rule(p))  // decorators
  ------------------
  |  Branch (4591:13): [True: 97, False: 1.77k]
  ------------------
 4592|     97|            &&
 4593|     97|            (f = function_def_raw_rule(p))  // function_def_raw
  ------------------
  |  Branch (4593:13): [True: 95, False: 2]
  ------------------
 4594|  1.87k|        )
 4595|     95|        {
 4596|     95|            D(fprintf(stderr, "%*c+ function_def[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "decorators function_def_raw"));
 4597|     95|            _res = _PyPegen_function_def_decorators ( p , d , f );
 4598|     95|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4598:18): [True: 0, False: 95]
  |  Branch (4598:34): [True: 0, False: 95]
  |  Branch (4598:57): [True: 0, False: 0]
  ------------------
 4599|      0|                p->error_indicator = 1;
 4600|      0|                p->level--;
 4601|      0|                return NULL;
 4602|      0|            }
 4603|     95|            goto done;
 4604|     95|        }
 4605|  1.77k|        p->mark = _mark;
 4606|  1.77k|        D(fprintf(stderr, "%*c%s function_def[%d-%d]: %s failed!\n", p->level, ' ',
 4607|  1.77k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "decorators function_def_raw"));
 4608|  1.77k|    }
 4609|      0|    { // function_def_raw
 4610|  1.77k|        if (p->error_indicator) {
  ------------------
  |  Branch (4610:13): [True: 0, False: 1.77k]
  ------------------
 4611|      0|            p->level--;
 4612|      0|            return NULL;
 4613|      0|        }
 4614|  1.77k|        D(fprintf(stderr, "%*c> function_def[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "function_def_raw"));
 4615|  1.77k|        stmt_ty function_def_raw_var;
 4616|  1.77k|        if (
 4617|  1.77k|            (function_def_raw_var = function_def_raw_rule(p))  // function_def_raw
  ------------------
  |  Branch (4617:13): [True: 1.77k, False: 7]
  ------------------
 4618|  1.77k|        )
 4619|  1.77k|        {
 4620|  1.77k|            D(fprintf(stderr, "%*c+ function_def[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "function_def_raw"));
 4621|  1.77k|            _res = function_def_raw_var;
 4622|  1.77k|            goto done;
 4623|  1.77k|        }
 4624|      7|        p->mark = _mark;
 4625|      7|        D(fprintf(stderr, "%*c%s function_def[%d-%d]: %s failed!\n", p->level, ' ',
 4626|      7|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "function_def_raw"));
 4627|      7|    }
 4628|      7|    _res = NULL;
 4629|  1.87k|  done:
 4630|  1.87k|    p->level--;
 4631|  1.87k|    return _res;
 4632|      7|}
parser.c:decorators_rule:
 4367|  2.02k|{
 4368|  2.02k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  4.04k|#  define MAXSTACK 6000
  ------------------
  |  Branch (4368:9): [True: 0, False: 2.02k]
  |  Branch (4368:35): [True: 0, False: 2.02k]
  ------------------
 4369|      0|        _Pypegen_stack_overflow(p);
 4370|      0|    }
 4371|  2.02k|    if (p->error_indicator) {
  ------------------
  |  Branch (4371:9): [True: 0, False: 2.02k]
  ------------------
 4372|      0|        p->level--;
 4373|      0|        return NULL;
 4374|      0|    }
 4375|  2.02k|    asdl_expr_seq* _res = NULL;
 4376|  2.02k|    int _mark = p->mark;
 4377|  2.02k|    { // (('@' named_expression NEWLINE))+
 4378|  2.02k|        if (p->error_indicator) {
  ------------------
  |  Branch (4378:13): [True: 0, False: 2.02k]
  ------------------
 4379|      0|            p->level--;
 4380|      0|            return NULL;
 4381|      0|        }
 4382|  2.02k|        D(fprintf(stderr, "%*c> decorators[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(('@' named_expression NEWLINE))+"));
 4383|  2.02k|        asdl_expr_seq* a;
 4384|  2.02k|        if (
 4385|  2.02k|            (a = (asdl_expr_seq*)_loop1_24_rule(p))  // (('@' named_expression NEWLINE))+
  ------------------
  |  Branch (4385:13): [True: 99, False: 1.92k]
  ------------------
 4386|  2.02k|        )
 4387|     99|        {
 4388|     99|            D(fprintf(stderr, "%*c+ decorators[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "(('@' named_expression NEWLINE))+"));
 4389|     99|            _res = a;
 4390|     99|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4390:18): [True: 0, False: 99]
  |  Branch (4390:34): [True: 0, False: 99]
  |  Branch (4390:57): [True: 0, False: 0]
  ------------------
 4391|      0|                p->error_indicator = 1;
 4392|      0|                p->level--;
 4393|      0|                return NULL;
 4394|      0|            }
 4395|     99|            goto done;
 4396|     99|        }
 4397|  1.92k|        p->mark = _mark;
 4398|  1.92k|        D(fprintf(stderr, "%*c%s decorators[%d-%d]: %s failed!\n", p->level, ' ',
 4399|  1.92k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(('@' named_expression NEWLINE))+"));
 4400|  1.92k|    }
 4401|  1.92k|    _res = NULL;
 4402|  2.02k|  done:
 4403|  2.02k|    p->level--;
 4404|  2.02k|    return _res;
 4405|  1.92k|}
parser.c:_loop1_24_rule:
29844|  2.02k|{
29845|  2.02k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  4.04k|#  define MAXSTACK 6000
  ------------------
  |  Branch (29845:9): [True: 0, False: 2.02k]
  |  Branch (29845:35): [True: 0, False: 2.02k]
  ------------------
29846|      0|        _Pypegen_stack_overflow(p);
29847|      0|    }
29848|  2.02k|    if (p->error_indicator) {
  ------------------
  |  Branch (29848:9): [True: 0, False: 2.02k]
  ------------------
29849|      0|        p->level--;
29850|      0|        return NULL;
29851|      0|    }
29852|  2.02k|    void *_res = NULL;
29853|  2.02k|    int _mark = p->mark;
29854|  2.02k|    void **_children = PyMem_Malloc(sizeof(void *));
29855|  2.02k|    if (!_children) {
  ------------------
  |  Branch (29855:9): [True: 0, False: 2.02k]
  ------------------
29856|      0|        p->error_indicator = 1;
29857|      0|        PyErr_NoMemory();
29858|      0|        p->level--;
29859|      0|        return NULL;
29860|      0|    }
29861|  2.02k|    Py_ssize_t _children_capacity = 1;
29862|  2.02k|    Py_ssize_t _n = 0;
29863|  2.02k|    { // ('@' named_expression NEWLINE)
29864|  2.02k|        if (p->error_indicator) {
  ------------------
  |  Branch (29864:13): [True: 0, False: 2.02k]
  ------------------
29865|      0|            p->level--;
29866|      0|            return NULL;
29867|      0|        }
29868|  2.02k|        D(fprintf(stderr, "%*c> _loop1_24[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "('@' named_expression NEWLINE)"));
29869|  2.02k|        void *_tmp_161_var;
29870|  2.02k|        while (
29871|  2.12k|            (_tmp_161_var = _tmp_161_rule(p))  // '@' named_expression NEWLINE
  ------------------
  |  Branch (29871:13): [True: 99, False: 2.02k]
  ------------------
29872|  2.02k|        )
29873|     99|        {
29874|     99|            _res = _tmp_161_var;
29875|     99|            if (_n == _children_capacity) {
  ------------------
  |  Branch (29875:17): [True: 0, False: 99]
  ------------------
29876|      0|                _children_capacity *= 2;
29877|      0|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
29878|      0|                if (!_new_children) {
  ------------------
  |  Branch (29878:21): [True: 0, False: 0]
  ------------------
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|      0|                _children = _new_children;
29886|      0|            }
29887|     99|            _children[_n++] = _res;
29888|     99|            _mark = p->mark;
29889|     99|        }
29890|  2.02k|        p->mark = _mark;
29891|  2.02k|        D(fprintf(stderr, "%*c%s _loop1_24[%d-%d]: %s failed!\n", p->level, ' ',
29892|  2.02k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "('@' named_expression NEWLINE)"));
29893|  2.02k|    }
29894|  2.02k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (29894:9): [True: 1.92k, False: 99]
  |  Branch (29894:20): [True: 0, False: 99]
  ------------------
29895|  1.92k|        PyMem_Free(_children);
29896|  1.92k|        p->level--;
29897|  1.92k|        return NULL;
29898|  1.92k|    }
29899|     99|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
29900|     99|    if (!_seq) {
  ------------------
  |  Branch (29900:9): [True: 0, False: 99]
  ------------------
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|    198|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|     99|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|    198|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (29907:28): [True: 99, False: 99]
  ------------------
29908|     99|    PyMem_Free(_children);
29909|     99|    p->level--;
29910|     99|    return _seq;
29911|     99|}
parser.c:_tmp_161_rule:
38393|  2.12k|{
38394|  2.12k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  4.24k|#  define MAXSTACK 6000
  ------------------
  |  Branch (38394:9): [True: 0, False: 2.12k]
  |  Branch (38394:35): [True: 0, False: 2.12k]
  ------------------
38395|      0|        _Pypegen_stack_overflow(p);
38396|      0|    }
38397|  2.12k|    if (p->error_indicator) {
  ------------------
  |  Branch (38397:9): [True: 0, False: 2.12k]
  ------------------
38398|      0|        p->level--;
38399|      0|        return NULL;
38400|      0|    }
38401|  2.12k|    void * _res = NULL;
38402|  2.12k|    int _mark = p->mark;
38403|  2.12k|    { // '@' named_expression NEWLINE
38404|  2.12k|        if (p->error_indicator) {
  ------------------
  |  Branch (38404:13): [True: 0, False: 2.12k]
  ------------------
38405|      0|            p->level--;
38406|      0|            return NULL;
38407|      0|        }
38408|  2.12k|        D(fprintf(stderr, "%*c> _tmp_161[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'@' named_expression NEWLINE"));
38409|  2.12k|        Token * _literal;
38410|  2.12k|        expr_ty f;
38411|  2.12k|        Token * newline_var;
38412|  2.12k|        if (
38413|  2.12k|            (_literal = _PyPegen_expect_token(p, 49))  // token='@'
  ------------------
  |  Branch (38413:13): [True: 99, False: 2.02k]
  ------------------
38414|     99|            &&
38415|     99|            (f = named_expression_rule(p))  // named_expression
  ------------------
  |  Branch (38415:13): [True: 99, False: 0]
  ------------------
38416|     99|            &&
38417|     99|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|     99|#define NEWLINE         4
  ------------------
  |  Branch (38417:13): [True: 99, False: 0]
  ------------------
38418|  2.12k|        )
38419|     99|        {
38420|     99|            D(fprintf(stderr, "%*c+ _tmp_161[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'@' named_expression NEWLINE"));
38421|     99|            _res = f;
38422|     99|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (38422:18): [True: 0, False: 99]
  |  Branch (38422:34): [True: 0, False: 99]
  |  Branch (38422:57): [True: 0, False: 0]
  ------------------
38423|      0|                p->error_indicator = 1;
38424|      0|                p->level--;
38425|      0|                return NULL;
38426|      0|            }
38427|     99|            goto done;
38428|     99|        }
38429|  2.02k|        p->mark = _mark;
38430|  2.02k|        D(fprintf(stderr, "%*c%s _tmp_161[%d-%d]: %s failed!\n", p->level, ' ',
38431|  2.02k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'@' named_expression NEWLINE"));
38432|  2.02k|    }
38433|  2.02k|    _res = NULL;
38434|  2.12k|  done:
38435|  2.12k|    p->level--;
38436|  2.12k|    return _res;
38437|  2.02k|}
parser.c:named_expression_rule:
12398|  39.3k|{
12399|  39.3k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  78.6k|#  define MAXSTACK 6000
  ------------------
  |  Branch (12399:9): [True: 0, False: 39.3k]
  |  Branch (12399:35): [True: 0, False: 39.3k]
  ------------------
12400|      0|        _Pypegen_stack_overflow(p);
12401|      0|    }
12402|  39.3k|    if (p->error_indicator) {
  ------------------
  |  Branch (12402:9): [True: 0, False: 39.3k]
  ------------------
12403|      0|        p->level--;
12404|      0|        return NULL;
12405|      0|    }
12406|  39.3k|    expr_ty _res = NULL;
12407|  39.3k|    int _mark = p->mark;
12408|  39.3k|    { // assignment_expression
12409|  39.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (12409:13): [True: 0, False: 39.3k]
  ------------------
12410|      0|            p->level--;
12411|      0|            return NULL;
12412|      0|        }
12413|  39.3k|        D(fprintf(stderr, "%*c> named_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "assignment_expression"));
12414|  39.3k|        expr_ty assignment_expression_var;
12415|  39.3k|        if (
12416|  39.3k|            (assignment_expression_var = assignment_expression_rule(p))  // assignment_expression
  ------------------
  |  Branch (12416:13): [True: 15, False: 39.2k]
  ------------------
12417|  39.3k|        )
12418|     15|        {
12419|     15|            D(fprintf(stderr, "%*c+ named_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "assignment_expression"));
12420|     15|            _res = assignment_expression_var;
12421|     15|            goto done;
12422|     15|        }
12423|  39.2k|        p->mark = _mark;
12424|  39.2k|        D(fprintf(stderr, "%*c%s named_expression[%d-%d]: %s failed!\n", p->level, ' ',
12425|  39.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "assignment_expression"));
12426|  39.2k|    }
12427|  39.2k|    if (p->call_invalid_rules) { // invalid_named_expression
  ------------------
  |  Branch (12427:9): [True: 27.1k, False: 12.1k]
  ------------------
12428|  27.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (12428:13): [True: 0, False: 27.1k]
  ------------------
12429|      0|            p->level--;
12430|      0|            return NULL;
12431|      0|        }
12432|  27.1k|        D(fprintf(stderr, "%*c> named_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_named_expression"));
12433|  27.1k|        void *invalid_named_expression_var;
12434|  27.1k|        if (
12435|  27.1k|            (invalid_named_expression_var = invalid_named_expression_rule(p))  // invalid_named_expression
  ------------------
  |  Branch (12435:13): [True: 0, False: 27.1k]
  ------------------
12436|  27.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|  27.1k|        p->mark = _mark;
12443|  27.1k|        D(fprintf(stderr, "%*c%s named_expression[%d-%d]: %s failed!\n", p->level, ' ',
12444|  27.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_named_expression"));
12445|  27.1k|    }
12446|  39.2k|    { // expression !':='
12447|  39.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (12447:13): [True: 0, False: 39.2k]
  ------------------
12448|      0|            p->level--;
12449|      0|            return NULL;
12450|      0|        }
12451|  39.2k|        D(fprintf(stderr, "%*c> named_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression !':='"));
12452|  39.2k|        expr_ty expression_var;
12453|  39.2k|        if (
12454|  39.2k|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (12454:13): [True: 11.1k, False: 28.1k]
  ------------------
12455|  11.1k|            &&
12456|  11.1k|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 53)  // token=':='
  ------------------
  |  Branch (12456:13): [True: 11.1k, False: 0]
  ------------------
12457|  39.2k|        )
12458|  11.1k|        {
12459|  11.1k|            D(fprintf(stderr, "%*c+ named_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression !':='"));
12460|  11.1k|            _res = expression_var;
12461|  11.1k|            goto done;
12462|  11.1k|        }
12463|  28.1k|        p->mark = _mark;
12464|  28.1k|        D(fprintf(stderr, "%*c%s named_expression[%d-%d]: %s failed!\n", p->level, ' ',
12465|  28.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression !':='"));
12466|  28.1k|    }
12467|  28.1k|    _res = NULL;
12468|  39.3k|  done:
12469|  39.3k|    p->level--;
12470|  39.3k|    return _res;
12471|  28.1k|}
parser.c:assignment_expression_rule:
12324|  59.0k|{
12325|  59.0k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   118k|#  define MAXSTACK 6000
  ------------------
  |  Branch (12325:9): [True: 0, False: 59.0k]
  |  Branch (12325:35): [True: 0, False: 59.0k]
  ------------------
12326|      0|        _Pypegen_stack_overflow(p);
12327|      0|    }
12328|  59.0k|    if (p->error_indicator) {
  ------------------
  |  Branch (12328:9): [True: 0, False: 59.0k]
  ------------------
12329|      0|        p->level--;
12330|      0|        return NULL;
12331|      0|    }
12332|  59.0k|    expr_ty _res = NULL;
12333|  59.0k|    int _mark = p->mark;
12334|  59.0k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (12334:9): [True: 9.13k, False: 49.9k]
  |  Branch (12334:31): [True: 0, False: 9.13k]
  ------------------
12335|      0|        p->error_indicator = 1;
12336|      0|        p->level--;
12337|      0|        return NULL;
12338|      0|    }
12339|  59.0k|    int _start_lineno = p->tokens[_mark]->lineno;
12340|  59.0k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|  59.0k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 59.0k]
  |  |  ------------------
  ------------------
12341|  59.0k|    int _start_col_offset = p->tokens[_mark]->col_offset;
12342|  59.0k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|  59.0k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 59.0k]
  |  |  ------------------
  ------------------
12343|  59.0k|    { // NAME ':=' ~ expression
12344|  59.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (12344:13): [True: 0, False: 59.0k]
  ------------------
12345|      0|            p->level--;
12346|      0|            return NULL;
12347|      0|        }
12348|  59.0k|        D(fprintf(stderr, "%*c> assignment_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME ':=' ~ expression"));
12349|  59.0k|        int _cut_var = 0;
12350|  59.0k|        Token * _literal;
12351|  59.0k|        expr_ty a;
12352|  59.0k|        expr_ty b;
12353|  59.0k|        if (
12354|  59.0k|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (12354:13): [True: 20.3k, False: 38.7k]
  ------------------
12355|  20.3k|            &&
12356|  20.3k|            (_literal = _PyPegen_expect_token(p, 53))  // token=':='
  ------------------
  |  Branch (12356:13): [True: 21, False: 20.3k]
  ------------------
12357|     21|            &&
12358|     21|            (_cut_var = 1)
  ------------------
  |  Branch (12358:13): [True: 21, False: 0]
  ------------------
12359|     21|            &&
12360|     21|            (b = expression_rule(p))  // expression
  ------------------
  |  Branch (12360:13): [True: 21, False: 0]
  ------------------
12361|  59.0k|        )
12362|     21|        {
12363|     21|            D(fprintf(stderr, "%*c+ assignment_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME ':=' ~ expression"));
12364|     21|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
12365|     21|            if (_token == NULL) {
  ------------------
  |  Branch (12365:17): [True: 0, False: 21]
  ------------------
12366|      0|                p->level--;
12367|      0|                return NULL;
12368|      0|            }
12369|     21|            int _end_lineno = _token->end_lineno;
12370|     21|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|     21|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 21]
  |  |  ------------------
  ------------------
12371|     21|            int _end_col_offset = _token->end_col_offset;
12372|     21|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|     21|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 21]
  |  |  ------------------
  ------------------
12373|     21|            _res = CHECK_VERSION ( expr_ty , 8 , "Assignment expressions are" , _PyAST_NamedExpr ( CHECK ( expr_ty , _PyPegen_set_expr_context ( p , a , Store ) ) , b , EXTRA ) );
  ------------------
  |  |  307|     21|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
12374|     21|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12374:18): [True: 0, False: 21]
  |  Branch (12374:34): [True: 0, False: 21]
  |  Branch (12374:57): [True: 0, False: 0]
  ------------------
12375|      0|                p->error_indicator = 1;
12376|      0|                p->level--;
12377|      0|                return NULL;
12378|      0|            }
12379|     21|            goto done;
12380|     21|        }
12381|  59.0k|        p->mark = _mark;
12382|  59.0k|        D(fprintf(stderr, "%*c%s assignment_expression[%d-%d]: %s failed!\n", p->level, ' ',
12383|  59.0k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME ':=' ~ expression"));
12384|  59.0k|        if (_cut_var) {
  ------------------
  |  Branch (12384:13): [True: 0, False: 59.0k]
  ------------------
12385|      0|            p->level--;
12386|      0|            return NULL;
12387|      0|        }
12388|  59.0k|    }
12389|  59.0k|    _res = NULL;
12390|  59.0k|  done:
12391|  59.0k|    p->level--;
12392|  59.0k|    return _res;
12393|  59.0k|}
parser.c:invalid_named_expression_rule:
22036|  27.1k|{
22037|  27.1k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  54.3k|#  define MAXSTACK 6000
  ------------------
  |  Branch (22037:9): [True: 0, False: 27.1k]
  |  Branch (22037:35): [True: 0, False: 27.1k]
  ------------------
22038|      0|        _Pypegen_stack_overflow(p);
22039|      0|    }
22040|  27.1k|    if (p->error_indicator) {
  ------------------
  |  Branch (22040:9): [True: 0, False: 27.1k]
  ------------------
22041|      0|        p->level--;
22042|      0|        return NULL;
22043|      0|    }
22044|  27.1k|    void * _res = NULL;
22045|  27.1k|    if (_PyPegen_is_memoized(p, invalid_named_expression_type, &_res)) {
  ------------------
  |  |  304|  27.1k|#define invalid_named_expression_type 1215
  ------------------
  |  Branch (22045:9): [True: 0, False: 27.1k]
  ------------------
22046|      0|        p->level--;
22047|      0|        return _res;
22048|      0|    }
22049|  27.1k|    int _mark = p->mark;
22050|  27.1k|    { // expression ':=' expression
22051|  27.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (22051:13): [True: 0, False: 27.1k]
  ------------------
22052|      0|            p->level--;
22053|      0|            return NULL;
22054|      0|        }
22055|  27.1k|        D(fprintf(stderr, "%*c> invalid_named_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression ':=' expression"));
22056|  27.1k|        Token * _literal;
22057|  27.1k|        expr_ty a;
22058|  27.1k|        expr_ty expression_var;
22059|  27.1k|        if (
22060|  27.1k|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (22060:13): [True: 0, False: 27.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|  27.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|  27.1k|        p->mark = _mark;
22077|  27.1k|        D(fprintf(stderr, "%*c%s invalid_named_expression[%d-%d]: %s failed!\n", p->level, ' ',
22078|  27.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression ':=' expression"));
22079|  27.1k|    }
22080|      0|    { // NAME '=' bitwise_or !('=' | ':=')
22081|  27.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (22081:13): [True: 0, False: 27.1k]
  ------------------
22082|      0|            p->level--;
22083|      0|            return NULL;
22084|      0|        }
22085|  27.1k|        D(fprintf(stderr, "%*c> invalid_named_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME '=' bitwise_or !('=' | ':=')"));
22086|  27.1k|        Token * _literal;
22087|  27.1k|        expr_ty a;
22088|  27.1k|        expr_ty b;
22089|  27.1k|        if (
22090|  27.1k|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (22090:13): [True: 0, False: 27.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|  27.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|  27.1k|        p->mark = _mark;
22109|  27.1k|        D(fprintf(stderr, "%*c%s invalid_named_expression[%d-%d]: %s failed!\n", p->level, ' ',
22110|  27.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME '=' bitwise_or !('=' | ':=')"));
22111|  27.1k|    }
22112|      0|    { // !(list | tuple | genexp | 'True' | 'None' | 'False') bitwise_or '=' bitwise_or !('=' | ':=')
22113|  27.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (22113:13): [True: 0, False: 27.1k]
  ------------------
22114|      0|            p->level--;
22115|      0|            return NULL;
22116|      0|        }
22117|  27.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|  27.1k|        expr_ty a;
22119|  27.1k|        Token * b;
22120|  27.1k|        expr_ty bitwise_or_var;
22121|  27.1k|        if (
22122|  27.1k|            _PyPegen_lookahead(0, _tmp_120_rule, p)
  ------------------
  |  Branch (22122:13): [True: 27.1k, False: 0]
  ------------------
22123|  27.1k|            &&
22124|  27.1k|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (22124:13): [True: 0, False: 27.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|  27.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|  27.1k|        p->mark = _mark;
22143|  27.1k|        D(fprintf(stderr, "%*c%s invalid_named_expression[%d-%d]: %s failed!\n", p->level, ' ',
22144|  27.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "!(list | tuple | genexp | 'True' | 'None' | 'False') bitwise_or '=' bitwise_or !('=' | ':=')"));
22145|  27.1k|    }
22146|  27.1k|    _res = NULL;
22147|  27.1k|  done:
22148|  27.1k|    _PyPegen_insert_memo(p, _mark, invalid_named_expression_type, _res);
  ------------------
  |  |  304|  27.1k|#define invalid_named_expression_type 1215
  ------------------
22149|  27.1k|    p->level--;
22150|  27.1k|    return _res;
22151|  27.1k|}
parser.c:bitwise_or_rule:
13510|   489k|{
13511|   489k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   979k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13511:9): [True: 0, False: 489k]
  |  Branch (13511:35): [True: 0, False: 489k]
  ------------------
13512|      0|        _Pypegen_stack_overflow(p);
13513|      0|    }
13514|   489k|    expr_ty _res = NULL;
13515|   489k|    if (_PyPegen_is_memoized(p, bitwise_or_type, &_res)) {
  ------------------
  |  |  224|   489k|#define bitwise_or_type 1135  // Left-recursive
  ------------------
  |  Branch (13515:9): [True: 343k, False: 146k]
  ------------------
13516|   343k|        p->level--;
13517|   343k|        return _res;
13518|   343k|    }
13519|   146k|    int _mark = p->mark;
13520|   146k|    int _resmark = p->mark;
13521|   173k|    while (1) {
  ------------------
  |  Branch (13521:12): [True: 173k, Folded]
  ------------------
13522|   173k|        int tmpvar_2 = _PyPegen_update_memo(p, _mark, bitwise_or_type, _res);
  ------------------
  |  |  224|   173k|#define bitwise_or_type 1135  // Left-recursive
  ------------------
13523|   173k|        if (tmpvar_2) {
  ------------------
  |  Branch (13523:13): [True: 0, False: 173k]
  ------------------
13524|      0|            p->level--;
13525|      0|            return _res;
13526|      0|        }
13527|   173k|        p->mark = _mark;
13528|   173k|        void *_raw = bitwise_or_raw(p);
13529|   173k|        if (p->error_indicator) {
  ------------------
  |  Branch (13529:13): [True: 0, False: 173k]
  ------------------
13530|      0|            p->level--;
13531|      0|            return NULL;
13532|      0|        }
13533|   173k|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (13533:13): [True: 119k, False: 54.2k]
  |  Branch (13533:29): [True: 27.1k, False: 27.1k]
  ------------------
13534|   146k|            break;
13535|  27.1k|        _resmark = p->mark;
13536|  27.1k|        _res = _raw;
13537|  27.1k|    }
13538|   146k|    p->mark = _resmark;
13539|   146k|    p->level--;
13540|   146k|    return _res;
13541|   146k|}
parser.c:bitwise_or_raw:
13544|   173k|{
13545|   173k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   346k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13545:9): [True: 0, False: 173k]
  |  Branch (13545:35): [True: 0, False: 173k]
  ------------------
13546|      0|        _Pypegen_stack_overflow(p);
13547|      0|    }
13548|   173k|    if (p->error_indicator) {
  ------------------
  |  Branch (13548:9): [True: 0, False: 173k]
  ------------------
13549|      0|        p->level--;
13550|      0|        return NULL;
13551|      0|    }
13552|   173k|    expr_ty _res = NULL;
13553|   173k|    int _mark = p->mark;
13554|   173k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (13554:9): [True: 0, False: 173k]
  |  Branch (13554:31): [True: 0, False: 0]
  ------------------
13555|      0|        p->error_indicator = 1;
13556|      0|        p->level--;
13557|      0|        return NULL;
13558|      0|    }
13559|   173k|    int _start_lineno = p->tokens[_mark]->lineno;
13560|   173k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|   173k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 173k]
  |  |  ------------------
  ------------------
13561|   173k|    int _start_col_offset = p->tokens[_mark]->col_offset;
13562|   173k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|   173k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 173k]
  |  |  ------------------
  ------------------
13563|   173k|    { // bitwise_or '|' bitwise_xor
13564|   173k|        if (p->error_indicator) {
  ------------------
  |  Branch (13564:13): [True: 0, False: 173k]
  ------------------
13565|      0|            p->level--;
13566|      0|            return NULL;
13567|      0|        }
13568|   173k|        D(fprintf(stderr, "%*c> bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_or '|' bitwise_xor"));
13569|   173k|        Token * _literal;
13570|   173k|        expr_ty a;
13571|   173k|        expr_ty b;
13572|   173k|        if (
13573|   173k|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (13573:13): [True: 27.1k, False: 146k]
  ------------------
13574|  27.1k|            &&
13575|  27.1k|            (_literal = _PyPegen_expect_token(p, 18))  // token='|'
  ------------------
  |  Branch (13575:13): [True: 33, False: 27.1k]
  ------------------
13576|     33|            &&
13577|     33|            (b = bitwise_xor_rule(p))  // bitwise_xor
  ------------------
  |  Branch (13577:13): [True: 33, False: 0]
  ------------------
13578|   173k|        )
13579|     33|        {
13580|     33|            D(fprintf(stderr, "%*c+ bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_or '|' bitwise_xor"));
13581|     33|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
13582|     33|            if (_token == NULL) {
  ------------------
  |  Branch (13582:17): [True: 0, False: 33]
  ------------------
13583|      0|                p->level--;
13584|      0|                return NULL;
13585|      0|            }
13586|     33|            int _end_lineno = _token->end_lineno;
13587|     33|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|     33|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 33]
  |  |  ------------------
  ------------------
13588|     33|            int _end_col_offset = _token->end_col_offset;
13589|     33|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|     33|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 33]
  |  |  ------------------
  ------------------
13590|     33|            _res = _PyAST_BinOp ( a , BitOr , b , EXTRA );
  ------------------
  |  |  269|     33|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
13591|     33|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13591:18): [True: 0, False: 33]
  |  Branch (13591:34): [True: 0, False: 33]
  |  Branch (13591:57): [True: 0, False: 0]
  ------------------
13592|      0|                p->error_indicator = 1;
13593|      0|                p->level--;
13594|      0|                return NULL;
13595|      0|            }
13596|     33|            goto done;
13597|     33|        }
13598|   173k|        p->mark = _mark;
13599|   173k|        D(fprintf(stderr, "%*c%s bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
13600|   173k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_or '|' bitwise_xor"));
13601|   173k|    }
13602|      0|    { // bitwise_xor
13603|   173k|        if (p->error_indicator) {
  ------------------
  |  Branch (13603:13): [True: 0, False: 173k]
  ------------------
13604|      0|            p->level--;
13605|      0|            return NULL;
13606|      0|        }
13607|   173k|        D(fprintf(stderr, "%*c> bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_xor"));
13608|   173k|        expr_ty bitwise_xor_var;
13609|   173k|        if (
13610|   173k|            (bitwise_xor_var = bitwise_xor_rule(p))  // bitwise_xor
  ------------------
  |  Branch (13610:13): [True: 54.2k, False: 119k]
  ------------------
13611|   173k|        )
13612|  54.2k|        {
13613|  54.2k|            D(fprintf(stderr, "%*c+ bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_xor"));
13614|  54.2k|            _res = bitwise_xor_var;
13615|  54.2k|            goto done;
13616|  54.2k|        }
13617|   119k|        p->mark = _mark;
13618|   119k|        D(fprintf(stderr, "%*c%s bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
13619|   119k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_xor"));
13620|   119k|    }
13621|   119k|    _res = NULL;
13622|   173k|  done:
13623|   173k|    p->level--;
13624|   173k|    return _res;
13625|   119k|}
parser.c:bitwise_xor_rule:
13632|   346k|{
13633|   346k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   693k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13633:9): [True: 0, False: 346k]
  |  Branch (13633:35): [True: 0, False: 346k]
  ------------------
13634|      0|        _Pypegen_stack_overflow(p);
13635|      0|    }
13636|   346k|    expr_ty _res = NULL;
13637|   346k|    if (_PyPegen_is_memoized(p, bitwise_xor_type, &_res)) {
  ------------------
  |  |  225|   346k|#define bitwise_xor_type 1136  // Left-recursive
  ------------------
  |  Branch (13637:9): [True: 200k, False: 146k]
  ------------------
13638|   200k|        p->level--;
13639|   200k|        return _res;
13640|   200k|    }
13641|   146k|    int _mark = p->mark;
13642|   146k|    int _resmark = p->mark;
13643|   173k|    while (1) {
  ------------------
  |  Branch (13643:12): [True: 173k, Folded]
  ------------------
13644|   173k|        int tmpvar_3 = _PyPegen_update_memo(p, _mark, bitwise_xor_type, _res);
  ------------------
  |  |  225|   173k|#define bitwise_xor_type 1136  // Left-recursive
  ------------------
13645|   173k|        if (tmpvar_3) {
  ------------------
  |  Branch (13645:13): [True: 0, False: 173k]
  ------------------
13646|      0|            p->level--;
13647|      0|            return _res;
13648|      0|        }
13649|   173k|        p->mark = _mark;
13650|   173k|        void *_raw = bitwise_xor_raw(p);
13651|   173k|        if (p->error_indicator) {
  ------------------
  |  Branch (13651:13): [True: 0, False: 173k]
  ------------------
13652|      0|            p->level--;
13653|      0|            return NULL;
13654|      0|        }
13655|   173k|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (13655:13): [True: 119k, False: 54.3k]
  |  Branch (13655:29): [True: 27.1k, False: 27.1k]
  ------------------
13656|   146k|            break;
13657|  27.1k|        _resmark = p->mark;
13658|  27.1k|        _res = _raw;
13659|  27.1k|    }
13660|   146k|    p->mark = _resmark;
13661|   146k|    p->level--;
13662|   146k|    return _res;
13663|   146k|}
parser.c:bitwise_xor_raw:
13666|   173k|{
13667|   173k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   346k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13667:9): [True: 0, False: 173k]
  |  Branch (13667:35): [True: 0, False: 173k]
  ------------------
13668|      0|        _Pypegen_stack_overflow(p);
13669|      0|    }
13670|   173k|    if (p->error_indicator) {
  ------------------
  |  Branch (13670:9): [True: 0, False: 173k]
  ------------------
13671|      0|        p->level--;
13672|      0|        return NULL;
13673|      0|    }
13674|   173k|    expr_ty _res = NULL;
13675|   173k|    int _mark = p->mark;
13676|   173k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (13676:9): [True: 0, False: 173k]
  |  Branch (13676:31): [True: 0, False: 0]
  ------------------
13677|      0|        p->error_indicator = 1;
13678|      0|        p->level--;
13679|      0|        return NULL;
13680|      0|    }
13681|   173k|    int _start_lineno = p->tokens[_mark]->lineno;
13682|   173k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|   173k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 173k]
  |  |  ------------------
  ------------------
13683|   173k|    int _start_col_offset = p->tokens[_mark]->col_offset;
13684|   173k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|   173k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 173k]
  |  |  ------------------
  ------------------
13685|   173k|    { // bitwise_xor '^' bitwise_and
13686|   173k|        if (p->error_indicator) {
  ------------------
  |  Branch (13686:13): [True: 0, False: 173k]
  ------------------
13687|      0|            p->level--;
13688|      0|            return NULL;
13689|      0|        }
13690|   173k|        D(fprintf(stderr, "%*c> bitwise_xor[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_xor '^' bitwise_and"));
13691|   173k|        Token * _literal;
13692|   173k|        expr_ty a;
13693|   173k|        expr_ty b;
13694|   173k|        if (
13695|   173k|            (a = bitwise_xor_rule(p))  // bitwise_xor
  ------------------
  |  Branch (13695:13): [True: 27.1k, False: 146k]
  ------------------
13696|  27.1k|            &&
13697|  27.1k|            (_literal = _PyPegen_expect_token(p, 32))  // token='^'
  ------------------
  |  Branch (13697:13): [True: 0, False: 27.1k]
  ------------------
13698|      0|            &&
13699|      0|            (b = bitwise_and_rule(p))  // bitwise_and
  ------------------
  |  Branch (13699:13): [True: 0, False: 0]
  ------------------
13700|   173k|        )
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|   173k|        p->mark = _mark;
13721|   173k|        D(fprintf(stderr, "%*c%s bitwise_xor[%d-%d]: %s failed!\n", p->level, ' ',
13722|   173k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_xor '^' bitwise_and"));
13723|   173k|    }
13724|      0|    { // bitwise_and
13725|   173k|        if (p->error_indicator) {
  ------------------
  |  Branch (13725:13): [True: 0, False: 173k]
  ------------------
13726|      0|            p->level--;
13727|      0|            return NULL;
13728|      0|        }
13729|   173k|        D(fprintf(stderr, "%*c> bitwise_xor[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_and"));
13730|   173k|        expr_ty bitwise_and_var;
13731|   173k|        if (
13732|   173k|            (bitwise_and_var = bitwise_and_rule(p))  // bitwise_and
  ------------------
  |  Branch (13732:13): [True: 54.3k, False: 119k]
  ------------------
13733|   173k|        )
13734|  54.3k|        {
13735|  54.3k|            D(fprintf(stderr, "%*c+ bitwise_xor[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_and"));
13736|  54.3k|            _res = bitwise_and_var;
13737|  54.3k|            goto done;
13738|  54.3k|        }
13739|   119k|        p->mark = _mark;
13740|   119k|        D(fprintf(stderr, "%*c%s bitwise_xor[%d-%d]: %s failed!\n", p->level, ' ',
13741|   119k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_and"));
13742|   119k|    }
13743|   119k|    _res = NULL;
13744|   173k|  done:
13745|   173k|    p->level--;
13746|   173k|    return _res;
13747|   119k|}
parser.c:bitwise_and_rule:
13754|   346k|{
13755|   346k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   693k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13755:9): [True: 0, False: 346k]
  |  Branch (13755:35): [True: 0, False: 346k]
  ------------------
13756|      0|        _Pypegen_stack_overflow(p);
13757|      0|    }
13758|   346k|    expr_ty _res = NULL;
13759|   346k|    if (_PyPegen_is_memoized(p, bitwise_and_type, &_res)) {
  ------------------
  |  |  226|   346k|#define bitwise_and_type 1137  // Left-recursive
  ------------------
  |  Branch (13759:9): [True: 200k, False: 146k]
  ------------------
13760|   200k|        p->level--;
13761|   200k|        return _res;
13762|   200k|    }
13763|   146k|    int _mark = p->mark;
13764|   146k|    int _resmark = p->mark;
13765|   173k|    while (1) {
  ------------------
  |  Branch (13765:12): [True: 173k, Folded]
  ------------------
13766|   173k|        int tmpvar_4 = _PyPegen_update_memo(p, _mark, bitwise_and_type, _res);
  ------------------
  |  |  226|   173k|#define bitwise_and_type 1137  // Left-recursive
  ------------------
13767|   173k|        if (tmpvar_4) {
  ------------------
  |  Branch (13767:13): [True: 0, False: 173k]
  ------------------
13768|      0|            p->level--;
13769|      0|            return _res;
13770|      0|        }
13771|   173k|        p->mark = _mark;
13772|   173k|        void *_raw = bitwise_and_raw(p);
13773|   173k|        if (p->error_indicator) {
  ------------------
  |  Branch (13773:13): [True: 0, False: 173k]
  ------------------
13774|      0|            p->level--;
13775|      0|            return NULL;
13776|      0|        }
13777|   173k|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (13777:13): [True: 119k, False: 54.3k]
  |  Branch (13777:29): [True: 27.1k, False: 27.1k]
  ------------------
13778|   146k|            break;
13779|  27.1k|        _resmark = p->mark;
13780|  27.1k|        _res = _raw;
13781|  27.1k|    }
13782|   146k|    p->mark = _resmark;
13783|   146k|    p->level--;
13784|   146k|    return _res;
13785|   146k|}
parser.c:bitwise_and_raw:
13788|   173k|{
13789|   173k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   346k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13789:9): [True: 0, False: 173k]
  |  Branch (13789:35): [True: 0, False: 173k]
  ------------------
13790|      0|        _Pypegen_stack_overflow(p);
13791|      0|    }
13792|   173k|    if (p->error_indicator) {
  ------------------
  |  Branch (13792:9): [True: 0, False: 173k]
  ------------------
13793|      0|        p->level--;
13794|      0|        return NULL;
13795|      0|    }
13796|   173k|    expr_ty _res = NULL;
13797|   173k|    int _mark = p->mark;
13798|   173k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (13798:9): [True: 0, False: 173k]
  |  Branch (13798:31): [True: 0, False: 0]
  ------------------
13799|      0|        p->error_indicator = 1;
13800|      0|        p->level--;
13801|      0|        return NULL;
13802|      0|    }
13803|   173k|    int _start_lineno = p->tokens[_mark]->lineno;
13804|   173k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|   173k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 173k]
  |  |  ------------------
  ------------------
13805|   173k|    int _start_col_offset = p->tokens[_mark]->col_offset;
13806|   173k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|   173k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 173k]
  |  |  ------------------
  ------------------
13807|   173k|    { // bitwise_and '&' shift_expr
13808|   173k|        if (p->error_indicator) {
  ------------------
  |  Branch (13808:13): [True: 0, False: 173k]
  ------------------
13809|      0|            p->level--;
13810|      0|            return NULL;
13811|      0|        }
13812|   173k|        D(fprintf(stderr, "%*c> bitwise_and[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_and '&' shift_expr"));
13813|   173k|        Token * _literal;
13814|   173k|        expr_ty a;
13815|   173k|        expr_ty b;
13816|   173k|        if (
13817|   173k|            (a = bitwise_and_rule(p))  // bitwise_and
  ------------------
  |  Branch (13817:13): [True: 27.1k, False: 146k]
  ------------------
13818|  27.1k|            &&
13819|  27.1k|            (_literal = _PyPegen_expect_token(p, 19))  // token='&'
  ------------------
  |  Branch (13819:13): [True: 3, False: 27.1k]
  ------------------
13820|      3|            &&
13821|      3|            (b = shift_expr_rule(p))  // shift_expr
  ------------------
  |  Branch (13821:13): [True: 3, False: 0]
  ------------------
13822|   173k|        )
13823|      3|        {
13824|      3|            D(fprintf(stderr, "%*c+ bitwise_and[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_and '&' shift_expr"));
13825|      3|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
13826|      3|            if (_token == NULL) {
  ------------------
  |  Branch (13826:17): [True: 0, False: 3]
  ------------------
13827|      0|                p->level--;
13828|      0|                return NULL;
13829|      0|            }
13830|      3|            int _end_lineno = _token->end_lineno;
13831|      3|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      3|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 3]
  |  |  ------------------
  ------------------
13832|      3|            int _end_col_offset = _token->end_col_offset;
13833|      3|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      3|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 3]
  |  |  ------------------
  ------------------
13834|      3|            _res = _PyAST_BinOp ( a , BitAnd , b , EXTRA );
  ------------------
  |  |  269|      3|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
13835|      3|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13835:18): [True: 0, False: 3]
  |  Branch (13835:34): [True: 0, False: 3]
  |  Branch (13835:57): [True: 0, False: 0]
  ------------------
13836|      0|                p->error_indicator = 1;
13837|      0|                p->level--;
13838|      0|                return NULL;
13839|      0|            }
13840|      3|            goto done;
13841|      3|        }
13842|   173k|        p->mark = _mark;
13843|   173k|        D(fprintf(stderr, "%*c%s bitwise_and[%d-%d]: %s failed!\n", p->level, ' ',
13844|   173k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_and '&' shift_expr"));
13845|   173k|    }
13846|      0|    { // shift_expr
13847|   173k|        if (p->error_indicator) {
  ------------------
  |  Branch (13847:13): [True: 0, False: 173k]
  ------------------
13848|      0|            p->level--;
13849|      0|            return NULL;
13850|      0|        }
13851|   173k|        D(fprintf(stderr, "%*c> bitwise_and[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "shift_expr"));
13852|   173k|        expr_ty shift_expr_var;
13853|   173k|        if (
13854|   173k|            (shift_expr_var = shift_expr_rule(p))  // shift_expr
  ------------------
  |  Branch (13854:13): [True: 54.3k, False: 119k]
  ------------------
13855|   173k|        )
13856|  54.3k|        {
13857|  54.3k|            D(fprintf(stderr, "%*c+ bitwise_and[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "shift_expr"));
13858|  54.3k|            _res = shift_expr_var;
13859|  54.3k|            goto done;
13860|  54.3k|        }
13861|   119k|        p->mark = _mark;
13862|   119k|        D(fprintf(stderr, "%*c%s bitwise_and[%d-%d]: %s failed!\n", p->level, ' ',
13863|   119k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "shift_expr"));
13864|   119k|    }
13865|   119k|    _res = NULL;
13866|   173k|  done:
13867|   173k|    p->level--;
13868|   173k|    return _res;
13869|   119k|}
parser.c:shift_expr_rule:
13876|   520k|{
13877|   520k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.04M|#  define MAXSTACK 6000
  ------------------
  |  Branch (13877:9): [True: 0, False: 520k]
  |  Branch (13877:35): [True: 0, False: 520k]
  ------------------
13878|      0|        _Pypegen_stack_overflow(p);
13879|      0|    }
13880|   520k|    expr_ty _res = NULL;
13881|   520k|    if (_PyPegen_is_memoized(p, shift_expr_type, &_res)) {
  ------------------
  |  |  227|   520k|#define shift_expr_type 1138  // Left-recursive
  ------------------
  |  Branch (13881:9): [True: 374k, False: 146k]
  ------------------
13882|   374k|        p->level--;
13883|   374k|        return _res;
13884|   374k|    }
13885|   146k|    int _mark = p->mark;
13886|   146k|    int _resmark = p->mark;
13887|   173k|    while (1) {
  ------------------
  |  Branch (13887:12): [True: 173k, Folded]
  ------------------
13888|   173k|        int tmpvar_5 = _PyPegen_update_memo(p, _mark, shift_expr_type, _res);
  ------------------
  |  |  227|   173k|#define shift_expr_type 1138  // Left-recursive
  ------------------
13889|   173k|        if (tmpvar_5) {
  ------------------
  |  Branch (13889:13): [True: 0, False: 173k]
  ------------------
13890|      0|            p->level--;
13891|      0|            return _res;
13892|      0|        }
13893|   173k|        p->mark = _mark;
13894|   173k|        void *_raw = shift_expr_raw(p);
13895|   173k|        if (p->error_indicator) {
  ------------------
  |  Branch (13895:13): [True: 0, False: 173k]
  ------------------
13896|      0|            p->level--;
13897|      0|            return NULL;
13898|      0|        }
13899|   173k|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (13899:13): [True: 119k, False: 54.3k]
  |  Branch (13899:29): [True: 27.1k, False: 27.1k]
  ------------------
13900|   146k|            break;
13901|  27.1k|        _resmark = p->mark;
13902|  27.1k|        _res = _raw;
13903|  27.1k|    }
13904|   146k|    p->mark = _resmark;
13905|   146k|    p->level--;
13906|   146k|    return _res;
13907|   146k|}
parser.c:shift_expr_raw:
13910|   173k|{
13911|   173k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   346k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13911:9): [True: 0, False: 173k]
  |  Branch (13911:35): [True: 0, False: 173k]
  ------------------
13912|      0|        _Pypegen_stack_overflow(p);
13913|      0|    }
13914|   173k|    if (p->error_indicator) {
  ------------------
  |  Branch (13914:9): [True: 0, False: 173k]
  ------------------
13915|      0|        p->level--;
13916|      0|        return NULL;
13917|      0|    }
13918|   173k|    expr_ty _res = NULL;
13919|   173k|    int _mark = p->mark;
13920|   173k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (13920:9): [True: 0, False: 173k]
  |  Branch (13920:31): [True: 0, False: 0]
  ------------------
13921|      0|        p->error_indicator = 1;
13922|      0|        p->level--;
13923|      0|        return NULL;
13924|      0|    }
13925|   173k|    int _start_lineno = p->tokens[_mark]->lineno;
13926|   173k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|   173k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 173k]
  |  |  ------------------
  ------------------
13927|   173k|    int _start_col_offset = p->tokens[_mark]->col_offset;
13928|   173k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|   173k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 173k]
  |  |  ------------------
  ------------------
13929|   173k|    { // shift_expr '<<' sum
13930|   173k|        if (p->error_indicator) {
  ------------------
  |  Branch (13930:13): [True: 0, False: 173k]
  ------------------
13931|      0|            p->level--;
13932|      0|            return NULL;
13933|      0|        }
13934|   173k|        D(fprintf(stderr, "%*c> shift_expr[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "shift_expr '<<' sum"));
13935|   173k|        Token * _literal;
13936|   173k|        expr_ty a;
13937|   173k|        expr_ty b;
13938|   173k|        if (
13939|   173k|            (a = shift_expr_rule(p))  // shift_expr
  ------------------
  |  Branch (13939:13): [True: 27.1k, False: 146k]
  ------------------
13940|  27.1k|            &&
13941|  27.1k|            (_literal = _PyPegen_expect_token(p, 33))  // token='<<'
  ------------------
  |  Branch (13941:13): [True: 0, False: 27.1k]
  ------------------
13942|      0|            &&
13943|      0|            (b = sum_rule(p))  // sum
  ------------------
  |  Branch (13943:13): [True: 0, False: 0]
  ------------------
13944|   173k|        )
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|   173k|        p->mark = _mark;
13965|   173k|        D(fprintf(stderr, "%*c%s shift_expr[%d-%d]: %s failed!\n", p->level, ' ',
13966|   173k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "shift_expr '<<' sum"));
13967|   173k|    }
13968|      0|    { // shift_expr '>>' sum
13969|   173k|        if (p->error_indicator) {
  ------------------
  |  Branch (13969:13): [True: 0, False: 173k]
  ------------------
13970|      0|            p->level--;
13971|      0|            return NULL;
13972|      0|        }
13973|   173k|        D(fprintf(stderr, "%*c> shift_expr[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "shift_expr '>>' sum"));
13974|   173k|        Token * _literal;
13975|   173k|        expr_ty a;
13976|   173k|        expr_ty b;
13977|   173k|        if (
13978|   173k|            (a = shift_expr_rule(p))  // shift_expr
  ------------------
  |  Branch (13978:13): [True: 27.1k, False: 146k]
  ------------------
13979|  27.1k|            &&
13980|  27.1k|            (_literal = _PyPegen_expect_token(p, 34))  // token='>>'
  ------------------
  |  Branch (13980:13): [True: 0, False: 27.1k]
  ------------------
13981|      0|            &&
13982|      0|            (b = sum_rule(p))  // sum
  ------------------
  |  Branch (13982:13): [True: 0, False: 0]
  ------------------
13983|   173k|        )
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|   173k|        p->mark = _mark;
14004|   173k|        D(fprintf(stderr, "%*c%s shift_expr[%d-%d]: %s failed!\n", p->level, ' ',
14005|   173k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "shift_expr '>>' sum"));
14006|   173k|    }
14007|   173k|    if (p->call_invalid_rules) { // invalid_arithmetic
  ------------------
  |  Branch (14007:9): [True: 54.3k, False: 119k]
  ------------------
14008|  54.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (14008:13): [True: 0, False: 54.3k]
  ------------------
14009|      0|            p->level--;
14010|      0|            return NULL;
14011|      0|        }
14012|  54.3k|        D(fprintf(stderr, "%*c> shift_expr[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_arithmetic"));
14013|  54.3k|        void *invalid_arithmetic_var;
14014|  54.3k|        if (
14015|  54.3k|            (invalid_arithmetic_var = invalid_arithmetic_rule(p))  // invalid_arithmetic
  ------------------
  |  Branch (14015:13): [True: 0, False: 54.3k]
  ------------------
14016|  54.3k|        )
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|  54.3k|        p->mark = _mark;
14023|  54.3k|        D(fprintf(stderr, "%*c%s shift_expr[%d-%d]: %s failed!\n", p->level, ' ',
14024|  54.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_arithmetic"));
14025|  54.3k|    }
14026|   173k|    { // sum
14027|   173k|        if (p->error_indicator) {
  ------------------
  |  Branch (14027:13): [True: 0, False: 173k]
  ------------------
14028|      0|            p->level--;
14029|      0|            return NULL;
14030|      0|        }
14031|   173k|        D(fprintf(stderr, "%*c> shift_expr[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "sum"));
14032|   173k|        expr_ty sum_var;
14033|   173k|        if (
14034|   173k|            (sum_var = sum_rule(p))  // sum
  ------------------
  |  Branch (14034:13): [True: 54.3k, False: 119k]
  ------------------
14035|   173k|        )
14036|  54.3k|        {
14037|  54.3k|            D(fprintf(stderr, "%*c+ shift_expr[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "sum"));
14038|  54.3k|            _res = sum_var;
14039|  54.3k|            goto done;
14040|  54.3k|        }
14041|   119k|        p->mark = _mark;
14042|   119k|        D(fprintf(stderr, "%*c%s shift_expr[%d-%d]: %s failed!\n", p->level, ' ',
14043|   119k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "sum"));
14044|   119k|    }
14045|   119k|    _res = NULL;
14046|   173k|  done:
14047|   173k|    p->level--;
14048|   173k|    return _res;
14049|   119k|}
parser.c:sum_rule:
14056|   574k|{
14057|   574k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.14M|#  define MAXSTACK 6000
  ------------------
  |  Branch (14057:9): [True: 0, False: 574k]
  |  Branch (14057:35): [True: 0, False: 574k]
  ------------------
14058|      0|        _Pypegen_stack_overflow(p);
14059|      0|    }
14060|   574k|    expr_ty _res = NULL;
14061|   574k|    if (_PyPegen_is_memoized(p, sum_type, &_res)) {
  ------------------
  |  |  228|   574k|#define sum_type 1139  // Left-recursive
  ------------------
  |  Branch (14061:9): [True: 428k, False: 146k]
  ------------------
14062|   428k|        p->level--;
14063|   428k|        return _res;
14064|   428k|    }
14065|   146k|    int _mark = p->mark;
14066|   146k|    int _resmark = p->mark;
14067|   173k|    while (1) {
  ------------------
  |  Branch (14067:12): [True: 173k, Folded]
  ------------------
14068|   173k|        int tmpvar_6 = _PyPegen_update_memo(p, _mark, sum_type, _res);
  ------------------
  |  |  228|   173k|#define sum_type 1139  // Left-recursive
  ------------------
14069|   173k|        if (tmpvar_6) {
  ------------------
  |  Branch (14069:13): [True: 0, False: 173k]
  ------------------
14070|      0|            p->level--;
14071|      0|            return _res;
14072|      0|        }
14073|   173k|        p->mark = _mark;
14074|   173k|        void *_raw = sum_raw(p);
14075|   173k|        if (p->error_indicator) {
  ------------------
  |  Branch (14075:13): [True: 0, False: 173k]
  ------------------
14076|      0|            p->level--;
14077|      0|            return NULL;
14078|      0|        }
14079|   173k|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (14079:13): [True: 119k, False: 54.6k]
  |  Branch (14079:29): [True: 27.1k, False: 27.4k]
  ------------------
14080|   146k|            break;
14081|  27.4k|        _resmark = p->mark;
14082|  27.4k|        _res = _raw;
14083|  27.4k|    }
14084|   146k|    p->mark = _resmark;
14085|   146k|    p->level--;
14086|   146k|    return _res;
14087|   146k|}
parser.c:sum_raw:
14090|   173k|{
14091|   173k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   347k|#  define MAXSTACK 6000
  ------------------
  |  Branch (14091:9): [True: 0, False: 173k]
  |  Branch (14091:35): [True: 0, False: 173k]
  ------------------
14092|      0|        _Pypegen_stack_overflow(p);
14093|      0|    }
14094|   173k|    if (p->error_indicator) {
  ------------------
  |  Branch (14094:9): [True: 0, False: 173k]
  ------------------
14095|      0|        p->level--;
14096|      0|        return NULL;
14097|      0|    }
14098|   173k|    expr_ty _res = NULL;
14099|   173k|    int _mark = p->mark;
14100|   173k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (14100:9): [True: 0, False: 173k]
  |  Branch (14100:31): [True: 0, False: 0]
  ------------------
14101|      0|        p->error_indicator = 1;
14102|      0|        p->level--;
14103|      0|        return NULL;
14104|      0|    }
14105|   173k|    int _start_lineno = p->tokens[_mark]->lineno;
14106|   173k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|   173k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 173k]
  |  |  ------------------
  ------------------
14107|   173k|    int _start_col_offset = p->tokens[_mark]->col_offset;
14108|   173k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|   173k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 173k]
  |  |  ------------------
  ------------------
14109|   173k|    { // sum '+' term
14110|   173k|        if (p->error_indicator) {
  ------------------
  |  Branch (14110:13): [True: 0, False: 173k]
  ------------------
14111|      0|            p->level--;
14112|      0|            return NULL;
14113|      0|        }
14114|   173k|        D(fprintf(stderr, "%*c> sum[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "sum '+' term"));
14115|   173k|        Token * _literal;
14116|   173k|        expr_ty a;
14117|   173k|        expr_ty b;
14118|   173k|        if (
14119|   173k|            (a = sum_rule(p))  // sum
  ------------------
  |  Branch (14119:13): [True: 27.4k, False: 146k]
  ------------------
14120|  27.4k|            &&
14121|  27.4k|            (_literal = _PyPegen_expect_token(p, 14))  // token='+'
  ------------------
  |  Branch (14121:13): [True: 198, False: 27.2k]
  ------------------
14122|    198|            &&
14123|    198|            (b = term_rule(p))  // term
  ------------------
  |  Branch (14123:13): [True: 198, False: 0]
  ------------------
14124|   173k|        )
14125|    198|        {
14126|    198|            D(fprintf(stderr, "%*c+ sum[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "sum '+' term"));
14127|    198|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14128|    198|            if (_token == NULL) {
  ------------------
  |  Branch (14128:17): [True: 0, False: 198]
  ------------------
14129|      0|                p->level--;
14130|      0|                return NULL;
14131|      0|            }
14132|    198|            int _end_lineno = _token->end_lineno;
14133|    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]
  |  |  ------------------
  ------------------
14134|    198|            int _end_col_offset = _token->end_col_offset;
14135|    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]
  |  |  ------------------
  ------------------
14136|    198|            _res = _PyAST_BinOp ( a , Add , b , EXTRA );
  ------------------
  |  |  269|    198|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14137|    198|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14137:18): [True: 0, False: 198]
  |  Branch (14137:34): [True: 0, False: 198]
  |  Branch (14137:57): [True: 0, False: 0]
  ------------------
14138|      0|                p->error_indicator = 1;
14139|      0|                p->level--;
14140|      0|                return NULL;
14141|      0|            }
14142|    198|            goto done;
14143|    198|        }
14144|   173k|        p->mark = _mark;
14145|   173k|        D(fprintf(stderr, "%*c%s sum[%d-%d]: %s failed!\n", p->level, ' ',
14146|   173k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "sum '+' term"));
14147|   173k|    }
14148|      0|    { // sum '-' term
14149|   173k|        if (p->error_indicator) {
  ------------------
  |  Branch (14149:13): [True: 0, False: 173k]
  ------------------
14150|      0|            p->level--;
14151|      0|            return NULL;
14152|      0|        }
14153|   173k|        D(fprintf(stderr, "%*c> sum[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "sum '-' term"));
14154|   173k|        Token * _literal;
14155|   173k|        expr_ty a;
14156|   173k|        expr_ty b;
14157|   173k|        if (
14158|   173k|            (a = sum_rule(p))  // sum
  ------------------
  |  Branch (14158:13): [True: 27.2k, False: 146k]
  ------------------
14159|  27.2k|            &&
14160|  27.2k|            (_literal = _PyPegen_expect_token(p, 15))  // token='-'
  ------------------
  |  Branch (14160:13): [True: 98, False: 27.1k]
  ------------------
14161|     98|            &&
14162|     98|            (b = term_rule(p))  // term
  ------------------
  |  Branch (14162:13): [True: 98, False: 0]
  ------------------
14163|   173k|        )
14164|     98|        {
14165|     98|            D(fprintf(stderr, "%*c+ sum[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "sum '-' term"));
14166|     98|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14167|     98|            if (_token == NULL) {
  ------------------
  |  Branch (14167:17): [True: 0, False: 98]
  ------------------
14168|      0|                p->level--;
14169|      0|                return NULL;
14170|      0|            }
14171|     98|            int _end_lineno = _token->end_lineno;
14172|     98|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|     98|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 98]
  |  |  ------------------
  ------------------
14173|     98|            int _end_col_offset = _token->end_col_offset;
14174|     98|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|     98|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 98]
  |  |  ------------------
  ------------------
14175|     98|            _res = _PyAST_BinOp ( a , Sub , b , EXTRA );
  ------------------
  |  |  269|     98|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14176|     98|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14176:18): [True: 0, False: 98]
  |  Branch (14176:34): [True: 0, False: 98]
  |  Branch (14176:57): [True: 0, False: 0]
  ------------------
14177|      0|                p->error_indicator = 1;
14178|      0|                p->level--;
14179|      0|                return NULL;
14180|      0|            }
14181|     98|            goto done;
14182|     98|        }
14183|   173k|        p->mark = _mark;
14184|   173k|        D(fprintf(stderr, "%*c%s sum[%d-%d]: %s failed!\n", p->level, ' ',
14185|   173k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "sum '-' term"));
14186|   173k|    }
14187|      0|    { // term
14188|   173k|        if (p->error_indicator) {
  ------------------
  |  Branch (14188:13): [True: 0, False: 173k]
  ------------------
14189|      0|            p->level--;
14190|      0|            return NULL;
14191|      0|        }
14192|   173k|        D(fprintf(stderr, "%*c> sum[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "term"));
14193|   173k|        expr_ty term_var;
14194|   173k|        if (
14195|   173k|            (term_var = term_rule(p))  // term
  ------------------
  |  Branch (14195:13): [True: 54.3k, False: 119k]
  ------------------
14196|   173k|        )
14197|  54.3k|        {
14198|  54.3k|            D(fprintf(stderr, "%*c+ sum[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "term"));
14199|  54.3k|            _res = term_var;
14200|  54.3k|            goto done;
14201|  54.3k|        }
14202|   119k|        p->mark = _mark;
14203|   119k|        D(fprintf(stderr, "%*c%s sum[%d-%d]: %s failed!\n", p->level, ' ',
14204|   119k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "term"));
14205|   119k|    }
14206|   119k|    _res = NULL;
14207|   173k|  done:
14208|   173k|    p->level--;
14209|   173k|    return _res;
14210|   119k|}
parser.c:term_rule:
14224|  1.04M|{
14225|  1.04M|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  2.08M|#  define MAXSTACK 6000
  ------------------
  |  Branch (14225:9): [True: 0, False: 1.04M]
  |  Branch (14225:35): [True: 0, False: 1.04M]
  ------------------
14226|      0|        _Pypegen_stack_overflow(p);
14227|      0|    }
14228|  1.04M|    expr_ty _res = NULL;
14229|  1.04M|    if (_PyPegen_is_memoized(p, term_type, &_res)) {
  ------------------
  |  |  229|  1.04M|#define term_type 1140  // Left-recursive
  ------------------
  |  Branch (14229:9): [True: 897k, False: 146k]
  ------------------
14230|   897k|        p->level--;
14231|   897k|        return _res;
14232|   897k|    }
14233|   146k|    int _mark = p->mark;
14234|   146k|    int _resmark = p->mark;
14235|   174k|    while (1) {
  ------------------
  |  Branch (14235:12): [True: 174k, Folded]
  ------------------
14236|   174k|        int tmpvar_7 = _PyPegen_update_memo(p, _mark, term_type, _res);
  ------------------
  |  |  229|   174k|#define term_type 1140  // Left-recursive
  ------------------
14237|   174k|        if (tmpvar_7) {
  ------------------
  |  Branch (14237:13): [True: 0, False: 174k]
  ------------------
14238|      0|            p->level--;
14239|      0|            return _res;
14240|      0|        }
14241|   174k|        p->mark = _mark;
14242|   174k|        void *_raw = term_raw(p);
14243|   174k|        if (p->error_indicator) {
  ------------------
  |  Branch (14243:13): [True: 0, False: 174k]
  ------------------
14244|      0|            p->level--;
14245|      0|            return NULL;
14246|      0|        }
14247|   174k|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (14247:13): [True: 119k, False: 55.1k]
  |  Branch (14247:29): [True: 27.4k, False: 27.6k]
  ------------------
14248|   146k|            break;
14249|  27.6k|        _resmark = p->mark;
14250|  27.6k|        _res = _raw;
14251|  27.6k|    }
14252|   146k|    p->mark = _resmark;
14253|   146k|    p->level--;
14254|   146k|    return _res;
14255|   146k|}
parser.c:term_raw:
14258|   174k|{
14259|   174k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   348k|#  define MAXSTACK 6000
  ------------------
  |  Branch (14259:9): [True: 0, False: 174k]
  |  Branch (14259:35): [True: 0, False: 174k]
  ------------------
14260|      0|        _Pypegen_stack_overflow(p);
14261|      0|    }
14262|   174k|    if (p->error_indicator) {
  ------------------
  |  Branch (14262:9): [True: 0, False: 174k]
  ------------------
14263|      0|        p->level--;
14264|      0|        return NULL;
14265|      0|    }
14266|   174k|    expr_ty _res = NULL;
14267|   174k|    int _mark = p->mark;
14268|   174k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (14268:9): [True: 0, False: 174k]
  |  Branch (14268:31): [True: 0, False: 0]
  ------------------
14269|      0|        p->error_indicator = 1;
14270|      0|        p->level--;
14271|      0|        return NULL;
14272|      0|    }
14273|   174k|    int _start_lineno = p->tokens[_mark]->lineno;
14274|   174k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|   174k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 174k]
  |  |  ------------------
  ------------------
14275|   174k|    int _start_col_offset = p->tokens[_mark]->col_offset;
14276|   174k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|   174k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 174k]
  |  |  ------------------
  ------------------
14277|   174k|    { // term '*' factor
14278|   174k|        if (p->error_indicator) {
  ------------------
  |  Branch (14278:13): [True: 0, False: 174k]
  ------------------
14279|      0|            p->level--;
14280|      0|            return NULL;
14281|      0|        }
14282|   174k|        D(fprintf(stderr, "%*c> term[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "term '*' factor"));
14283|   174k|        Token * _literal;
14284|   174k|        expr_ty a;
14285|   174k|        expr_ty b;
14286|   174k|        if (
14287|   174k|            (a = term_rule(p))  // term
  ------------------
  |  Branch (14287:13): [True: 27.6k, False: 146k]
  ------------------
14288|  27.6k|            &&
14289|  27.6k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (14289:13): [True: 42, False: 27.6k]
  ------------------
14290|     42|            &&
14291|     42|            (b = factor_rule(p))  // factor
  ------------------
  |  Branch (14291:13): [True: 42, False: 0]
  ------------------
14292|   174k|        )
14293|     42|        {
14294|     42|            D(fprintf(stderr, "%*c+ term[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "term '*' factor"));
14295|     42|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14296|     42|            if (_token == NULL) {
  ------------------
  |  Branch (14296:17): [True: 0, False: 42]
  ------------------
14297|      0|                p->level--;
14298|      0|                return NULL;
14299|      0|            }
14300|     42|            int _end_lineno = _token->end_lineno;
14301|     42|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|     42|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 42]
  |  |  ------------------
  ------------------
14302|     42|            int _end_col_offset = _token->end_col_offset;
14303|     42|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|     42|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 42]
  |  |  ------------------
  ------------------
14304|     42|            _res = _PyAST_BinOp ( a , Mult , b , EXTRA );
  ------------------
  |  |  269|     42|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14305|     42|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14305:18): [True: 0, False: 42]
  |  Branch (14305:34): [True: 0, False: 42]
  |  Branch (14305:57): [True: 0, False: 0]
  ------------------
14306|      0|                p->error_indicator = 1;
14307|      0|                p->level--;
14308|      0|                return NULL;
14309|      0|            }
14310|     42|            goto done;
14311|     42|        }
14312|   174k|        p->mark = _mark;
14313|   174k|        D(fprintf(stderr, "%*c%s term[%d-%d]: %s failed!\n", p->level, ' ',
14314|   174k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "term '*' factor"));
14315|   174k|    }
14316|      0|    { // term '/' factor
14317|   174k|        if (p->error_indicator) {
  ------------------
  |  Branch (14317:13): [True: 0, False: 174k]
  ------------------
14318|      0|            p->level--;
14319|      0|            return NULL;
14320|      0|        }
14321|   174k|        D(fprintf(stderr, "%*c> term[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "term '/' factor"));
14322|   174k|        Token * _literal;
14323|   174k|        expr_ty a;
14324|   174k|        expr_ty b;
14325|   174k|        if (
14326|   174k|            (a = term_rule(p))  // term
  ------------------
  |  Branch (14326:13): [True: 27.6k, False: 146k]
  ------------------
14327|  27.6k|            &&
14328|  27.6k|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (14328:13): [True: 4, False: 27.6k]
  ------------------
14329|      4|            &&
14330|      4|            (b = factor_rule(p))  // factor
  ------------------
  |  Branch (14330:13): [True: 4, False: 0]
  ------------------
14331|   174k|        )
14332|      4|        {
14333|      4|            D(fprintf(stderr, "%*c+ term[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "term '/' factor"));
14334|      4|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14335|      4|            if (_token == NULL) {
  ------------------
  |  Branch (14335:17): [True: 0, False: 4]
  ------------------
14336|      0|                p->level--;
14337|      0|                return NULL;
14338|      0|            }
14339|      4|            int _end_lineno = _token->end_lineno;
14340|      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]
  |  |  ------------------
  ------------------
14341|      4|            int _end_col_offset = _token->end_col_offset;
14342|      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]
  |  |  ------------------
  ------------------
14343|      4|            _res = _PyAST_BinOp ( a , Div , b , EXTRA );
  ------------------
  |  |  269|      4|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14344|      4|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14344:18): [True: 0, False: 4]
  |  Branch (14344:34): [True: 0, False: 4]
  |  Branch (14344:57): [True: 0, False: 0]
  ------------------
14345|      0|                p->error_indicator = 1;
14346|      0|                p->level--;
14347|      0|                return NULL;
14348|      0|            }
14349|      4|            goto done;
14350|      4|        }
14351|   174k|        p->mark = _mark;
14352|   174k|        D(fprintf(stderr, "%*c%s term[%d-%d]: %s failed!\n", p->level, ' ',
14353|   174k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "term '/' factor"));
14354|   174k|    }
14355|      0|    { // term '//' factor
14356|   174k|        if (p->error_indicator) {
  ------------------
  |  Branch (14356:13): [True: 0, False: 174k]
  ------------------
14357|      0|            p->level--;
14358|      0|            return NULL;
14359|      0|        }
14360|   174k|        D(fprintf(stderr, "%*c> term[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "term '//' factor"));
14361|   174k|        Token * _literal;
14362|   174k|        expr_ty a;
14363|   174k|        expr_ty b;
14364|   174k|        if (
14365|   174k|            (a = term_rule(p))  // term
  ------------------
  |  Branch (14365:13): [True: 27.6k, False: 146k]
  ------------------
14366|  27.6k|            &&
14367|  27.6k|            (_literal = _PyPegen_expect_token(p, 47))  // token='//'
  ------------------
  |  Branch (14367:13): [True: 5, False: 27.6k]
  ------------------
14368|      5|            &&
14369|      5|            (b = factor_rule(p))  // factor
  ------------------
  |  Branch (14369:13): [True: 5, False: 0]
  ------------------
14370|   174k|        )
14371|      5|        {
14372|      5|            D(fprintf(stderr, "%*c+ term[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "term '//' factor"));
14373|      5|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14374|      5|            if (_token == NULL) {
  ------------------
  |  Branch (14374:17): [True: 0, False: 5]
  ------------------
14375|      0|                p->level--;
14376|      0|                return NULL;
14377|      0|            }
14378|      5|            int _end_lineno = _token->end_lineno;
14379|      5|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      5|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 5]
  |  |  ------------------
  ------------------
14380|      5|            int _end_col_offset = _token->end_col_offset;
14381|      5|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      5|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 5]
  |  |  ------------------
  ------------------
14382|      5|            _res = _PyAST_BinOp ( a , FloorDiv , b , EXTRA );
  ------------------
  |  |  269|      5|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14383|      5|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14383:18): [True: 0, False: 5]
  |  Branch (14383:34): [True: 0, False: 5]
  |  Branch (14383:57): [True: 0, False: 0]
  ------------------
14384|      0|                p->error_indicator = 1;
14385|      0|                p->level--;
14386|      0|                return NULL;
14387|      0|            }
14388|      5|            goto done;
14389|      5|        }
14390|   174k|        p->mark = _mark;
14391|   174k|        D(fprintf(stderr, "%*c%s term[%d-%d]: %s failed!\n", p->level, ' ',
14392|   174k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "term '//' factor"));
14393|   174k|    }
14394|      0|    { // term '%' factor
14395|   174k|        if (p->error_indicator) {
  ------------------
  |  Branch (14395:13): [True: 0, False: 174k]
  ------------------
14396|      0|            p->level--;
14397|      0|            return NULL;
14398|      0|        }
14399|   174k|        D(fprintf(stderr, "%*c> term[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "term '%' factor"));
14400|   174k|        Token * _literal;
14401|   174k|        expr_ty a;
14402|   174k|        expr_ty b;
14403|   174k|        if (
14404|   174k|            (a = term_rule(p))  // term
  ------------------
  |  Branch (14404:13): [True: 27.6k, False: 146k]
  ------------------
14405|  27.6k|            &&
14406|  27.6k|            (_literal = _PyPegen_expect_token(p, 24))  // token='%'
  ------------------
  |  Branch (14406:13): [True: 160, False: 27.4k]
  ------------------
14407|    160|            &&
14408|    160|            (b = factor_rule(p))  // factor
  ------------------
  |  Branch (14408:13): [True: 160, False: 0]
  ------------------
14409|   174k|        )
14410|    160|        {
14411|    160|            D(fprintf(stderr, "%*c+ term[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "term '%' factor"));
14412|    160|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14413|    160|            if (_token == NULL) {
  ------------------
  |  Branch (14413:17): [True: 0, False: 160]
  ------------------
14414|      0|                p->level--;
14415|      0|                return NULL;
14416|      0|            }
14417|    160|            int _end_lineno = _token->end_lineno;
14418|    160|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    160|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 160]
  |  |  ------------------
  ------------------
14419|    160|            int _end_col_offset = _token->end_col_offset;
14420|    160|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    160|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 160]
  |  |  ------------------
  ------------------
14421|    160|            _res = _PyAST_BinOp ( a , Mod , b , EXTRA );
  ------------------
  |  |  269|    160|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14422|    160|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14422:18): [True: 0, False: 160]
  |  Branch (14422:34): [True: 0, False: 160]
  |  Branch (14422:57): [True: 0, False: 0]
  ------------------
14423|      0|                p->error_indicator = 1;
14424|      0|                p->level--;
14425|      0|                return NULL;
14426|      0|            }
14427|    160|            goto done;
14428|    160|        }
14429|   174k|        p->mark = _mark;
14430|   174k|        D(fprintf(stderr, "%*c%s term[%d-%d]: %s failed!\n", p->level, ' ',
14431|   174k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "term '%' factor"));
14432|   174k|    }
14433|      0|    { // term '@' factor
14434|   174k|        if (p->error_indicator) {
  ------------------
  |  Branch (14434:13): [True: 0, False: 174k]
  ------------------
14435|      0|            p->level--;
14436|      0|            return NULL;
14437|      0|        }
14438|   174k|        D(fprintf(stderr, "%*c> term[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "term '@' factor"));
14439|   174k|        Token * _literal;
14440|   174k|        expr_ty a;
14441|   174k|        expr_ty b;
14442|   174k|        if (
14443|   174k|            (a = term_rule(p))  // term
  ------------------
  |  Branch (14443:13): [True: 27.4k, False: 146k]
  ------------------
14444|  27.4k|            &&
14445|  27.4k|            (_literal = _PyPegen_expect_token(p, 49))  // token='@'
  ------------------
  |  Branch (14445:13): [True: 0, False: 27.4k]
  ------------------
14446|      0|            &&
14447|      0|            (b = factor_rule(p))  // factor
  ------------------
  |  Branch (14447:13): [True: 0, False: 0]
  ------------------
14448|   174k|        )
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|   174k|        p->mark = _mark;
14469|   174k|        D(fprintf(stderr, "%*c%s term[%d-%d]: %s failed!\n", p->level, ' ',
14470|   174k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "term '@' factor"));
14471|   174k|    }
14472|   174k|    if (p->call_invalid_rules) { // invalid_factor
  ------------------
  |  Branch (14472:9): [True: 54.3k, False: 119k]
  ------------------
14473|  54.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (14473:13): [True: 0, False: 54.3k]
  ------------------
14474|      0|            p->level--;
14475|      0|            return NULL;
14476|      0|        }
14477|  54.3k|        D(fprintf(stderr, "%*c> term[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_factor"));
14478|  54.3k|        void *invalid_factor_var;
14479|  54.3k|        if (
14480|  54.3k|            (invalid_factor_var = invalid_factor_rule(p))  // invalid_factor
  ------------------
  |  Branch (14480:13): [True: 0, False: 54.3k]
  ------------------
14481|  54.3k|        )
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|  54.3k|        p->mark = _mark;
14488|  54.3k|        D(fprintf(stderr, "%*c%s term[%d-%d]: %s failed!\n", p->level, ' ',
14489|  54.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_factor"));
14490|  54.3k|    }
14491|   174k|    { // factor
14492|   174k|        if (p->error_indicator) {
  ------------------
  |  Branch (14492:13): [True: 0, False: 174k]
  ------------------
14493|      0|            p->level--;
14494|      0|            return NULL;
14495|      0|        }
14496|   174k|        D(fprintf(stderr, "%*c> term[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "factor"));
14497|   174k|        expr_ty factor_var;
14498|   174k|        if (
14499|   174k|            (factor_var = factor_rule(p))  // factor
  ------------------
  |  Branch (14499:13): [True: 54.9k, False: 119k]
  ------------------
14500|   174k|        )
14501|  54.9k|        {
14502|  54.9k|            D(fprintf(stderr, "%*c+ term[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "factor"));
14503|  54.9k|            _res = factor_var;
14504|  54.9k|            goto done;
14505|  54.9k|        }
14506|   119k|        p->mark = _mark;
14507|   119k|        D(fprintf(stderr, "%*c%s term[%d-%d]: %s failed!\n", p->level, ' ',
14508|   119k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "factor"));
14509|   119k|    }
14510|   119k|    _res = NULL;
14511|   174k|  done:
14512|   174k|    p->level--;
14513|   174k|    return _res;
14514|   119k|}
parser.c:factor_rule:
14519|   174k|{
14520|   174k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   348k|#  define MAXSTACK 6000
  ------------------
  |  Branch (14520:9): [True: 0, False: 174k]
  |  Branch (14520:35): [True: 0, False: 174k]
  ------------------
14521|      0|        _Pypegen_stack_overflow(p);
14522|      0|    }
14523|   174k|    if (p->error_indicator) {
  ------------------
  |  Branch (14523:9): [True: 0, False: 174k]
  ------------------
14524|      0|        p->level--;
14525|      0|        return NULL;
14526|      0|    }
14527|   174k|    expr_ty _res = NULL;
14528|   174k|    if (_PyPegen_is_memoized(p, factor_type, &_res)) {
  ------------------
  |  |  230|   174k|#define factor_type 1141
  ------------------
  |  Branch (14528:9): [True: 27.4k, False: 146k]
  ------------------
14529|  27.4k|        p->level--;
14530|  27.4k|        return _res;
14531|  27.4k|    }
14532|   146k|    int _mark = p->mark;
14533|   146k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (14533:9): [True: 0, False: 146k]
  |  Branch (14533:31): [True: 0, False: 0]
  ------------------
14534|      0|        p->error_indicator = 1;
14535|      0|        p->level--;
14536|      0|        return NULL;
14537|      0|    }
14538|   146k|    int _start_lineno = p->tokens[_mark]->lineno;
14539|   146k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|   146k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 146k]
  |  |  ------------------
  ------------------
14540|   146k|    int _start_col_offset = p->tokens[_mark]->col_offset;
14541|   146k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|   146k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 146k]
  |  |  ------------------
  ------------------
14542|   146k|    { // '+' factor
14543|   146k|        if (p->error_indicator) {
  ------------------
  |  Branch (14543:13): [True: 0, False: 146k]
  ------------------
14544|      0|            p->level--;
14545|      0|            return NULL;
14546|      0|        }
14547|   146k|        D(fprintf(stderr, "%*c> factor[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'+' factor"));
14548|   146k|        Token * _literal;
14549|   146k|        expr_ty a;
14550|   146k|        if (
14551|   146k|            (_literal = _PyPegen_expect_token(p, 14))  // token='+'
  ------------------
  |  Branch (14551:13): [True: 0, False: 146k]
  ------------------
14552|      0|            &&
14553|      0|            (a = factor_rule(p))  // factor
  ------------------
  |  Branch (14553:13): [True: 0, False: 0]
  ------------------
14554|   146k|        )
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|   146k|        p->mark = _mark;
14575|   146k|        D(fprintf(stderr, "%*c%s factor[%d-%d]: %s failed!\n", p->level, ' ',
14576|   146k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'+' factor"));
14577|   146k|    }
14578|      0|    { // '-' factor
14579|   146k|        if (p->error_indicator) {
  ------------------
  |  Branch (14579:13): [True: 0, False: 146k]
  ------------------
14580|      0|            p->level--;
14581|      0|            return NULL;
14582|      0|        }
14583|   146k|        D(fprintf(stderr, "%*c> factor[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'-' factor"));
14584|   146k|        Token * _literal;
14585|   146k|        expr_ty a;
14586|   146k|        if (
14587|   146k|            (_literal = _PyPegen_expect_token(p, 15))  // token='-'
  ------------------
  |  Branch (14587:13): [True: 45, False: 146k]
  ------------------
14588|     45|            &&
14589|     45|            (a = factor_rule(p))  // factor
  ------------------
  |  Branch (14589:13): [True: 45, False: 0]
  ------------------
14590|   146k|        )
14591|     45|        {
14592|     45|            D(fprintf(stderr, "%*c+ factor[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'-' factor"));
14593|     45|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14594|     45|            if (_token == NULL) {
  ------------------
  |  Branch (14594:17): [True: 0, False: 45]
  ------------------
14595|      0|                p->level--;
14596|      0|                return NULL;
14597|      0|            }
14598|     45|            int _end_lineno = _token->end_lineno;
14599|     45|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|     45|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 45]
  |  |  ------------------
  ------------------
14600|     45|            int _end_col_offset = _token->end_col_offset;
14601|     45|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|     45|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 45]
  |  |  ------------------
  ------------------
14602|     45|            _res = _PyAST_UnaryOp ( USub , a , EXTRA );
  ------------------
  |  |  269|     45|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14603|     45|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14603:18): [True: 0, False: 45]
  |  Branch (14603:34): [True: 0, False: 45]
  |  Branch (14603:57): [True: 0, False: 0]
  ------------------
14604|      0|                p->error_indicator = 1;
14605|      0|                p->level--;
14606|      0|                return NULL;
14607|      0|            }
14608|     45|            goto done;
14609|     45|        }
14610|   146k|        p->mark = _mark;
14611|   146k|        D(fprintf(stderr, "%*c%s factor[%d-%d]: %s failed!\n", p->level, ' ',
14612|   146k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'-' factor"));
14613|   146k|    }
14614|      0|    { // '~' factor
14615|   146k|        if (p->error_indicator) {
  ------------------
  |  Branch (14615:13): [True: 0, False: 146k]
  ------------------
14616|      0|            p->level--;
14617|      0|            return NULL;
14618|      0|        }
14619|   146k|        D(fprintf(stderr, "%*c> factor[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'~' factor"));
14620|   146k|        Token * _literal;
14621|   146k|        expr_ty a;
14622|   146k|        if (
14623|   146k|            (_literal = _PyPegen_expect_token(p, 31))  // token='~'
  ------------------
  |  Branch (14623:13): [True: 2, False: 146k]
  ------------------
14624|      2|            &&
14625|      2|            (a = factor_rule(p))  // factor
  ------------------
  |  Branch (14625:13): [True: 2, False: 0]
  ------------------
14626|   146k|        )
14627|      2|        {
14628|      2|            D(fprintf(stderr, "%*c+ factor[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'~' factor"));
14629|      2|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14630|      2|            if (_token == NULL) {
  ------------------
  |  Branch (14630:17): [True: 0, False: 2]
  ------------------
14631|      0|                p->level--;
14632|      0|                return NULL;
14633|      0|            }
14634|      2|            int _end_lineno = _token->end_lineno;
14635|      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]
  |  |  ------------------
  ------------------
14636|      2|            int _end_col_offset = _token->end_col_offset;
14637|      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]
  |  |  ------------------
  ------------------
14638|      2|            _res = _PyAST_UnaryOp ( Invert , a , EXTRA );
  ------------------
  |  |  269|      2|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14639|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14639:18): [True: 0, False: 2]
  |  Branch (14639:34): [True: 0, False: 2]
  |  Branch (14639:57): [True: 0, False: 0]
  ------------------
14640|      0|                p->error_indicator = 1;
14641|      0|                p->level--;
14642|      0|                return NULL;
14643|      0|            }
14644|      2|            goto done;
14645|      2|        }
14646|   146k|        p->mark = _mark;
14647|   146k|        D(fprintf(stderr, "%*c%s factor[%d-%d]: %s failed!\n", p->level, ' ',
14648|   146k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'~' factor"));
14649|   146k|    }
14650|      0|    { // power
14651|   146k|        if (p->error_indicator) {
  ------------------
  |  Branch (14651:13): [True: 0, False: 146k]
  ------------------
14652|      0|            p->level--;
14653|      0|            return NULL;
14654|      0|        }
14655|   146k|        D(fprintf(stderr, "%*c> factor[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "power"));
14656|   146k|        expr_ty power_var;
14657|   146k|        if (
14658|   146k|            (power_var = power_rule(p))  // power
  ------------------
  |  Branch (14658:13): [True: 27.6k, False: 119k]
  ------------------
14659|   146k|        )
14660|  27.6k|        {
14661|  27.6k|            D(fprintf(stderr, "%*c+ factor[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "power"));
14662|  27.6k|            _res = power_var;
14663|  27.6k|            goto done;
14664|  27.6k|        }
14665|   119k|        p->mark = _mark;
14666|   119k|        D(fprintf(stderr, "%*c%s factor[%d-%d]: %s failed!\n", p->level, ' ',
14667|   119k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "power"));
14668|   119k|    }
14669|   119k|    _res = NULL;
14670|   146k|  done:
14671|   146k|    _PyPegen_insert_memo(p, _mark, factor_type, _res);
  ------------------
  |  |  230|   146k|#define factor_type 1141
  ------------------
14672|   146k|    p->level--;
14673|   146k|    return _res;
14674|   119k|}
parser.c:power_rule:
14679|   146k|{
14680|   146k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   293k|#  define MAXSTACK 6000
  ------------------
  |  Branch (14680:9): [True: 0, False: 146k]
  |  Branch (14680:35): [True: 0, False: 146k]
  ------------------
14681|      0|        _Pypegen_stack_overflow(p);
14682|      0|    }
14683|   146k|    if (p->error_indicator) {
  ------------------
  |  Branch (14683:9): [True: 0, False: 146k]
  ------------------
14684|      0|        p->level--;
14685|      0|        return NULL;
14686|      0|    }
14687|   146k|    expr_ty _res = NULL;
14688|   146k|    int _mark = p->mark;
14689|   146k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (14689:9): [True: 0, False: 146k]
  |  Branch (14689:31): [True: 0, False: 0]
  ------------------
14690|      0|        p->error_indicator = 1;
14691|      0|        p->level--;
14692|      0|        return NULL;
14693|      0|    }
14694|   146k|    int _start_lineno = p->tokens[_mark]->lineno;
14695|   146k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|   146k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 146k]
  |  |  ------------------
  ------------------
14696|   146k|    int _start_col_offset = p->tokens[_mark]->col_offset;
14697|   146k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|   146k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 146k]
  |  |  ------------------
  ------------------
14698|   146k|    { // await_primary '**' factor
14699|   146k|        if (p->error_indicator) {
  ------------------
  |  Branch (14699:13): [True: 0, False: 146k]
  ------------------
14700|      0|            p->level--;
14701|      0|            return NULL;
14702|      0|        }
14703|   146k|        D(fprintf(stderr, "%*c> power[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "await_primary '**' factor"));
14704|   146k|        Token * _literal;
14705|   146k|        expr_ty a;
14706|   146k|        expr_ty b;
14707|   146k|        if (
14708|   146k|            (a = await_primary_rule(p))  // await_primary
  ------------------
  |  Branch (14708:13): [True: 27.6k, False: 119k]
  ------------------
14709|  27.6k|            &&
14710|  27.6k|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (14710:13): [True: 2, False: 27.6k]
  ------------------
14711|      2|            &&
14712|      2|            (b = factor_rule(p))  // factor
  ------------------
  |  Branch (14712:13): [True: 2, False: 0]
  ------------------
14713|   146k|        )
14714|      2|        {
14715|      2|            D(fprintf(stderr, "%*c+ power[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "await_primary '**' factor"));
14716|      2|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14717|      2|            if (_token == NULL) {
  ------------------
  |  Branch (14717:17): [True: 0, False: 2]
  ------------------
14718|      0|                p->level--;
14719|      0|                return NULL;
14720|      0|            }
14721|      2|            int _end_lineno = _token->end_lineno;
14722|      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]
  |  |  ------------------
  ------------------
14723|      2|            int _end_col_offset = _token->end_col_offset;
14724|      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]
  |  |  ------------------
  ------------------
14725|      2|            _res = _PyAST_BinOp ( a , Pow , b , EXTRA );
  ------------------
  |  |  269|      2|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14726|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14726:18): [True: 0, False: 2]
  |  Branch (14726:34): [True: 0, False: 2]
  |  Branch (14726:57): [True: 0, False: 0]
  ------------------
14727|      0|                p->error_indicator = 1;
14728|      0|                p->level--;
14729|      0|                return NULL;
14730|      0|            }
14731|      2|            goto done;
14732|      2|        }
14733|   146k|        p->mark = _mark;
14734|   146k|        D(fprintf(stderr, "%*c%s power[%d-%d]: %s failed!\n", p->level, ' ',
14735|   146k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "await_primary '**' factor"));
14736|   146k|    }
14737|      0|    { // await_primary
14738|   146k|        if (p->error_indicator) {
  ------------------
  |  Branch (14738:13): [True: 0, False: 146k]
  ------------------
14739|      0|            p->level--;
14740|      0|            return NULL;
14741|      0|        }
14742|   146k|        D(fprintf(stderr, "%*c> power[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "await_primary"));
14743|   146k|        expr_ty await_primary_var;
14744|   146k|        if (
14745|   146k|            (await_primary_var = await_primary_rule(p))  // await_primary
  ------------------
  |  Branch (14745:13): [True: 27.6k, False: 119k]
  ------------------
14746|   146k|        )
14747|  27.6k|        {
14748|  27.6k|            D(fprintf(stderr, "%*c+ power[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "await_primary"));
14749|  27.6k|            _res = await_primary_var;
14750|  27.6k|            goto done;
14751|  27.6k|        }
14752|   119k|        p->mark = _mark;
14753|   119k|        D(fprintf(stderr, "%*c%s power[%d-%d]: %s failed!\n", p->level, ' ',
14754|   119k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "await_primary"));
14755|   119k|    }
14756|   119k|    _res = NULL;
14757|   146k|  done:
14758|   146k|    p->level--;
14759|   146k|    return _res;
14760|   119k|}
parser.c:await_primary_rule:
14765|   293k|{
14766|   293k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   587k|#  define MAXSTACK 6000
  ------------------
  |  Branch (14766:9): [True: 0, False: 293k]
  |  Branch (14766:35): [True: 0, False: 293k]
  ------------------
14767|      0|        _Pypegen_stack_overflow(p);
14768|      0|    }
14769|   293k|    if (p->error_indicator) {
  ------------------
  |  Branch (14769:9): [True: 0, False: 293k]
  ------------------
14770|      0|        p->level--;
14771|      0|        return NULL;
14772|      0|    }
14773|   293k|    expr_ty _res = NULL;
14774|   293k|    if (_PyPegen_is_memoized(p, await_primary_type, &_res)) {
  ------------------
  |  |  232|   293k|#define await_primary_type 1143
  ------------------
  |  Branch (14774:9): [True: 146k, False: 146k]
  ------------------
14775|   146k|        p->level--;
14776|   146k|        return _res;
14777|   146k|    }
14778|   146k|    int _mark = p->mark;
14779|   146k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (14779:9): [True: 0, False: 146k]
  |  Branch (14779:31): [True: 0, False: 0]
  ------------------
14780|      0|        p->error_indicator = 1;
14781|      0|        p->level--;
14782|      0|        return NULL;
14783|      0|    }
14784|   146k|    int _start_lineno = p->tokens[_mark]->lineno;
14785|   146k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|   146k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 146k]
  |  |  ------------------
  ------------------
14786|   146k|    int _start_col_offset = p->tokens[_mark]->col_offset;
14787|   146k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|   146k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 146k]
  |  |  ------------------
  ------------------
14788|   146k|    { // 'await' primary
14789|   146k|        if (p->error_indicator) {
  ------------------
  |  Branch (14789:13): [True: 0, False: 146k]
  ------------------
14790|      0|            p->level--;
14791|      0|            return NULL;
14792|      0|        }
14793|   146k|        D(fprintf(stderr, "%*c> await_primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'await' primary"));
14794|   146k|        Token * _keyword;
14795|   146k|        expr_ty a;
14796|   146k|        if (
14797|   146k|            (_keyword = _PyPegen_expect_token(p, 598))  // token='await'
  ------------------
  |  Branch (14797:13): [True: 123, False: 146k]
  ------------------
14798|    123|            &&
14799|    123|            (a = primary_rule(p))  // primary
  ------------------
  |  Branch (14799:13): [True: 123, False: 0]
  ------------------
14800|   146k|        )
14801|    123|        {
14802|    123|            D(fprintf(stderr, "%*c+ await_primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'await' primary"));
14803|    123|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14804|    123|            if (_token == NULL) {
  ------------------
  |  Branch (14804:17): [True: 0, False: 123]
  ------------------
14805|      0|                p->level--;
14806|      0|                return NULL;
14807|      0|            }
14808|    123|            int _end_lineno = _token->end_lineno;
14809|    123|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    123|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 123]
  |  |  ------------------
  ------------------
14810|    123|            int _end_col_offset = _token->end_col_offset;
14811|    123|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    123|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 123]
  |  |  ------------------
  ------------------
14812|    123|            _res = CHECK_VERSION ( expr_ty , 5 , "Await expressions are" , _PyAST_Await ( a , EXTRA ) );
  ------------------
  |  |  307|    123|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
14813|    123|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14813:18): [True: 0, False: 123]
  |  Branch (14813:34): [True: 0, False: 123]
  |  Branch (14813:57): [True: 0, False: 0]
  ------------------
14814|      0|                p->error_indicator = 1;
14815|      0|                p->level--;
14816|      0|                return NULL;
14817|      0|            }
14818|    123|            goto done;
14819|    123|        }
14820|   146k|        p->mark = _mark;
14821|   146k|        D(fprintf(stderr, "%*c%s await_primary[%d-%d]: %s failed!\n", p->level, ' ',
14822|   146k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'await' primary"));
14823|   146k|    }
14824|      0|    { // primary
14825|   146k|        if (p->error_indicator) {
  ------------------
  |  Branch (14825:13): [True: 0, False: 146k]
  ------------------
14826|      0|            p->level--;
14827|      0|            return NULL;
14828|      0|        }
14829|   146k|        D(fprintf(stderr, "%*c> await_primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "primary"));
14830|   146k|        expr_ty primary_var;
14831|   146k|        if (
14832|   146k|            (primary_var = primary_rule(p))  // primary
  ------------------
  |  Branch (14832:13): [True: 27.5k, False: 119k]
  ------------------
14833|   146k|        )
14834|  27.5k|        {
14835|  27.5k|            D(fprintf(stderr, "%*c+ await_primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "primary"));
14836|  27.5k|            _res = primary_var;
14837|  27.5k|            goto done;
14838|  27.5k|        }
14839|   119k|        p->mark = _mark;
14840|   119k|        D(fprintf(stderr, "%*c%s await_primary[%d-%d]: %s failed!\n", p->level, ' ',
14841|   119k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "primary"));
14842|   119k|    }
14843|   119k|    _res = NULL;
14844|   146k|  done:
14845|   146k|    _PyPegen_insert_memo(p, _mark, await_primary_type, _res);
  ------------------
  |  |  232|   146k|#define await_primary_type 1143
  ------------------
14846|   146k|    p->level--;
14847|   146k|    return _res;
14848|   119k|}
parser.c:primary_rule:
14860|   871k|{
14861|   871k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.74M|#  define MAXSTACK 6000
  ------------------
  |  Branch (14861:9): [True: 0, False: 871k]
  |  Branch (14861:35): [True: 0, False: 871k]
  ------------------
14862|      0|        _Pypegen_stack_overflow(p);
14863|      0|    }
14864|   871k|    expr_ty _res = NULL;
14865|   871k|    if (_PyPegen_is_memoized(p, primary_type, &_res)) {
  ------------------
  |  |  233|   871k|#define primary_type 1144  // Left-recursive
  ------------------
  |  Branch (14865:9): [True: 724k, False: 146k]
  ------------------
14866|   724k|        p->level--;
14867|   724k|        return _res;
14868|   724k|    }
14869|   146k|    int _mark = p->mark;
14870|   146k|    int _resmark = p->mark;
14871|   188k|    while (1) {
  ------------------
  |  Branch (14871:12): [True: 188k, Folded]
  ------------------
14872|   188k|        int tmpvar_8 = _PyPegen_update_memo(p, _mark, primary_type, _res);
  ------------------
  |  |  233|   188k|#define primary_type 1144  // Left-recursive
  ------------------
14873|   188k|        if (tmpvar_8) {
  ------------------
  |  Branch (14873:13): [True: 0, False: 188k]
  ------------------
14874|      0|            p->level--;
14875|      0|            return _res;
14876|      0|        }
14877|   188k|        p->mark = _mark;
14878|   188k|        void *_raw = primary_raw(p);
14879|   188k|        if (p->error_indicator) {
  ------------------
  |  Branch (14879:13): [True: 0, False: 188k]
  ------------------
14880|      0|            p->level--;
14881|      0|            return NULL;
14882|      0|        }
14883|   188k|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (14883:13): [True: 119k, False: 69.4k]
  |  Branch (14883:29): [True: 27.6k, False: 41.7k]
  ------------------
14884|   146k|            break;
14885|  41.7k|        _resmark = p->mark;
14886|  41.7k|        _res = _raw;
14887|  41.7k|    }
14888|   146k|    p->mark = _resmark;
14889|   146k|    p->level--;
14890|   146k|    return _res;
14891|   146k|}
parser.c:primary_raw:
14894|   188k|{
14895|   188k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   377k|#  define MAXSTACK 6000
  ------------------
  |  Branch (14895:9): [True: 0, False: 188k]
  |  Branch (14895:35): [True: 0, False: 188k]
  ------------------
14896|      0|        _Pypegen_stack_overflow(p);
14897|      0|    }
14898|   188k|    if (p->error_indicator) {
  ------------------
  |  Branch (14898:9): [True: 0, False: 188k]
  ------------------
14899|      0|        p->level--;
14900|      0|        return NULL;
14901|      0|    }
14902|   188k|    expr_ty _res = NULL;
14903|   188k|    int _mark = p->mark;
14904|   188k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (14904:9): [True: 0, False: 188k]
  |  Branch (14904:31): [True: 0, False: 0]
  ------------------
14905|      0|        p->error_indicator = 1;
14906|      0|        p->level--;
14907|      0|        return NULL;
14908|      0|    }
14909|   188k|    int _start_lineno = p->tokens[_mark]->lineno;
14910|   188k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|   188k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 188k]
  |  |  ------------------
  ------------------
14911|   188k|    int _start_col_offset = p->tokens[_mark]->col_offset;
14912|   188k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|   188k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 188k]
  |  |  ------------------
  ------------------
14913|   188k|    { // primary '.' NAME
14914|   188k|        if (p->error_indicator) {
  ------------------
  |  Branch (14914:13): [True: 0, False: 188k]
  ------------------
14915|      0|            p->level--;
14916|      0|            return NULL;
14917|      0|        }
14918|   188k|        D(fprintf(stderr, "%*c> primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "primary '.' NAME"));
14919|   188k|        Token * _literal;
14920|   188k|        expr_ty a;
14921|   188k|        expr_ty b;
14922|   188k|        if (
14923|   188k|            (a = primary_rule(p))  // primary
  ------------------
  |  Branch (14923:13): [True: 41.7k, False: 146k]
  ------------------
14924|  41.7k|            &&
14925|  41.7k|            (_literal = _PyPegen_expect_token(p, 23))  // token='.'
  ------------------
  |  Branch (14925:13): [True: 7.86k, False: 33.9k]
  ------------------
14926|  7.86k|            &&
14927|  7.86k|            (b = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (14927:13): [True: 7.86k, False: 0]
  ------------------
14928|   188k|        )
14929|  7.86k|        {
14930|  7.86k|            D(fprintf(stderr, "%*c+ primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "primary '.' NAME"));
14931|  7.86k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14932|  7.86k|            if (_token == NULL) {
  ------------------
  |  Branch (14932:17): [True: 0, False: 7.86k]
  ------------------
14933|      0|                p->level--;
14934|      0|                return NULL;
14935|      0|            }
14936|  7.86k|            int _end_lineno = _token->end_lineno;
14937|  7.86k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|  7.86k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 7.86k]
  |  |  ------------------
  ------------------
14938|  7.86k|            int _end_col_offset = _token->end_col_offset;
14939|  7.86k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|  7.86k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 7.86k]
  |  |  ------------------
  ------------------
14940|  7.86k|            _res = _PyAST_Attribute ( a , b -> v . Name . id , Load , EXTRA );
  ------------------
  |  |  269|  7.86k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14941|  7.86k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14941:18): [True: 0, False: 7.86k]
  |  Branch (14941:34): [True: 0, False: 7.86k]
  |  Branch (14941:57): [True: 0, False: 0]
  ------------------
14942|      0|                p->error_indicator = 1;
14943|      0|                p->level--;
14944|      0|                return NULL;
14945|      0|            }
14946|  7.86k|            goto done;
14947|  7.86k|        }
14948|   180k|        p->mark = _mark;
14949|   180k|        D(fprintf(stderr, "%*c%s primary[%d-%d]: %s failed!\n", p->level, ' ',
14950|   180k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "primary '.' NAME"));
14951|   180k|    }
14952|      0|    { // primary genexp
14953|   180k|        if (p->error_indicator) {
  ------------------
  |  Branch (14953:13): [True: 0, False: 180k]
  ------------------
14954|      0|            p->level--;
14955|      0|            return NULL;
14956|      0|        }
14957|   180k|        D(fprintf(stderr, "%*c> primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "primary genexp"));
14958|   180k|        expr_ty a;
14959|   180k|        expr_ty b;
14960|   180k|        if (
14961|   180k|            (a = primary_rule(p))  // primary
  ------------------
  |  Branch (14961:13): [True: 33.9k, False: 146k]
  ------------------
14962|  33.9k|            &&
14963|  33.9k|            (b = genexp_rule(p))  // genexp
  ------------------
  |  Branch (14963:13): [True: 29, False: 33.8k]
  ------------------
14964|   180k|        )
14965|     29|        {
14966|     29|            D(fprintf(stderr, "%*c+ primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "primary genexp"));
14967|     29|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
14968|     29|            if (_token == NULL) {
  ------------------
  |  Branch (14968:17): [True: 0, False: 29]
  ------------------
14969|      0|                p->level--;
14970|      0|                return NULL;
14971|      0|            }
14972|     29|            int _end_lineno = _token->end_lineno;
14973|     29|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|     29|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 29]
  |  |  ------------------
  ------------------
14974|     29|            int _end_col_offset = _token->end_col_offset;
14975|     29|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|     29|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 29]
  |  |  ------------------
  ------------------
14976|     29|            _res = _PyAST_Call ( a , CHECK ( asdl_expr_seq* , ( asdl_expr_seq* ) _PyPegen_singleton_seq ( p , b ) ) , NULL , EXTRA );
  ------------------
  |  |  233|     29|#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|     29|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
14977|     29|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (14977:18): [True: 0, False: 29]
  |  Branch (14977:34): [True: 0, False: 29]
  |  Branch (14977:57): [True: 0, False: 0]
  ------------------
14978|      0|                p->error_indicator = 1;
14979|      0|                p->level--;
14980|      0|                return NULL;
14981|      0|            }
14982|     29|            goto done;
14983|     29|        }
14984|   180k|        p->mark = _mark;
14985|   180k|        D(fprintf(stderr, "%*c%s primary[%d-%d]: %s failed!\n", p->level, ' ',
14986|   180k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "primary genexp"));
14987|   180k|    }
14988|      0|    { // primary '(' arguments? ')'
14989|   180k|        if (p->error_indicator) {
  ------------------
  |  Branch (14989:13): [True: 0, False: 180k]
  ------------------
14990|      0|            p->level--;
14991|      0|            return NULL;
14992|      0|        }
14993|   180k|        D(fprintf(stderr, "%*c> primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "primary '(' arguments? ')'"));
14994|   180k|        Token * _literal;
14995|   180k|        Token * _literal_1;
14996|   180k|        expr_ty a;
14997|   180k|        void *b;
14998|   180k|        if (
14999|   180k|            (a = primary_rule(p))  // primary
  ------------------
  |  Branch (14999:13): [True: 33.8k, False: 146k]
  ------------------
15000|  33.8k|            &&
15001|  33.8k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (15001:13): [True: 5.94k, False: 27.9k]
  ------------------
15002|  5.94k|            &&
15003|  5.94k|            (b = arguments_rule(p), !p->error_indicator)  // arguments?
  ------------------
  |  Branch (15003:13): [True: 5.94k, False: 0]
  ------------------
15004|  5.94k|            &&
15005|  5.94k|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (15005:13): [True: 5.94k, False: 0]
  ------------------
15006|   180k|        )
15007|  5.94k|        {
15008|  5.94k|            D(fprintf(stderr, "%*c+ primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "primary '(' arguments? ')'"));
15009|  5.94k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
15010|  5.94k|            if (_token == NULL) {
  ------------------
  |  Branch (15010:17): [True: 0, False: 5.94k]
  ------------------
15011|      0|                p->level--;
15012|      0|                return NULL;
15013|      0|            }
15014|  5.94k|            int _end_lineno = _token->end_lineno;
15015|  5.94k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|  5.94k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 5.94k]
  |  |  ------------------
  ------------------
15016|  5.94k|            int _end_col_offset = _token->end_col_offset;
15017|  5.94k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|  5.94k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 5.94k]
  |  |  ------------------
  ------------------
15018|  5.94k|            _res = _PyAST_Call ( a , ( b ) ? ( ( expr_ty ) b ) -> v . Call . args : NULL , ( b ) ? ( ( expr_ty ) b ) -> v . Call . keywords : NULL , EXTRA );
  ------------------
  |  |  269|  5.94k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
  |  Branch (15018:38): [True: 4.60k, False: 1.33k]
  |  Branch (15018:92): [True: 4.60k, False: 1.33k]
  ------------------
15019|  5.94k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15019:18): [True: 0, False: 5.94k]
  |  Branch (15019:34): [True: 0, False: 5.94k]
  |  Branch (15019:57): [True: 0, False: 0]
  ------------------
15020|      0|                p->error_indicator = 1;
15021|      0|                p->level--;
15022|      0|                return NULL;
15023|      0|            }
15024|  5.94k|            goto done;
15025|  5.94k|        }
15026|   174k|        p->mark = _mark;
15027|   174k|        D(fprintf(stderr, "%*c%s primary[%d-%d]: %s failed!\n", p->level, ' ',
15028|   174k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "primary '(' arguments? ')'"));
15029|   174k|    }
15030|      0|    { // primary '[' slices ']'
15031|   174k|        if (p->error_indicator) {
  ------------------
  |  Branch (15031:13): [True: 0, False: 174k]
  ------------------
15032|      0|            p->level--;
15033|      0|            return NULL;
15034|      0|        }
15035|   174k|        D(fprintf(stderr, "%*c> primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "primary '[' slices ']'"));
15036|   174k|        Token * _literal;
15037|   174k|        Token * _literal_1;
15038|   174k|        expr_ty a;
15039|   174k|        expr_ty b;
15040|   174k|        if (
15041|   174k|            (a = primary_rule(p))  // primary
  ------------------
  |  Branch (15041:13): [True: 27.9k, False: 146k]
  ------------------
15042|  27.9k|            &&
15043|  27.9k|            (_literal = _PyPegen_expect_token(p, 9))  // token='['
  ------------------
  |  Branch (15043:13): [True: 281, False: 27.6k]
  ------------------
15044|    281|            &&
15045|    281|            (b = slices_rule(p))  // slices
  ------------------
  |  Branch (15045:13): [True: 281, False: 0]
  ------------------
15046|    281|            &&
15047|    281|            (_literal_1 = _PyPegen_expect_token(p, 10))  // token=']'
  ------------------
  |  Branch (15047:13): [True: 281, False: 0]
  ------------------
15048|   174k|        )
15049|    281|        {
15050|    281|            D(fprintf(stderr, "%*c+ primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "primary '[' slices ']'"));
15051|    281|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
15052|    281|            if (_token == NULL) {
  ------------------
  |  Branch (15052:17): [True: 0, False: 281]
  ------------------
15053|      0|                p->level--;
15054|      0|                return NULL;
15055|      0|            }
15056|    281|            int _end_lineno = _token->end_lineno;
15057|    281|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    281|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 281]
  |  |  ------------------
  ------------------
15058|    281|            int _end_col_offset = _token->end_col_offset;
15059|    281|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    281|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 281]
  |  |  ------------------
  ------------------
15060|    281|            _res = _PyAST_Subscript ( a , b , Load , EXTRA );
  ------------------
  |  |  269|    281|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
15061|    281|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15061:18): [True: 0, False: 281]
  |  Branch (15061:34): [True: 0, False: 281]
  |  Branch (15061:57): [True: 0, False: 0]
  ------------------
15062|      0|                p->error_indicator = 1;
15063|      0|                p->level--;
15064|      0|                return NULL;
15065|      0|            }
15066|    281|            goto done;
15067|    281|        }
15068|   174k|        p->mark = _mark;
15069|   174k|        D(fprintf(stderr, "%*c%s primary[%d-%d]: %s failed!\n", p->level, ' ',
15070|   174k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "primary '[' slices ']'"));
15071|   174k|    }
15072|      0|    { // atom
15073|   174k|        if (p->error_indicator) {
  ------------------
  |  Branch (15073:13): [True: 0, False: 174k]
  ------------------
15074|      0|            p->level--;
15075|      0|            return NULL;
15076|      0|        }
15077|   174k|        D(fprintf(stderr, "%*c> primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "atom"));
15078|   174k|        expr_ty atom_var;
15079|   174k|        if (
15080|   174k|            (atom_var = atom_rule(p))  // atom
  ------------------
  |  Branch (15080:13): [True: 55.3k, False: 119k]
  ------------------
15081|   174k|        )
15082|  55.3k|        {
15083|  55.3k|            D(fprintf(stderr, "%*c+ primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "atom"));
15084|  55.3k|            _res = atom_var;
15085|  55.3k|            goto done;
15086|  55.3k|        }
15087|   119k|        p->mark = _mark;
15088|   119k|        D(fprintf(stderr, "%*c%s primary[%d-%d]: %s failed!\n", p->level, ' ',
15089|   119k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "atom"));
15090|   119k|    }
15091|   119k|    _res = NULL;
15092|   188k|  done:
15093|   188k|    p->level--;
15094|   188k|    return _res;
15095|   119k|}
parser.c:genexp_rule:
18396|  67.6k|{
18397|  67.6k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   135k|#  define MAXSTACK 6000
  ------------------
  |  Branch (18397:9): [True: 0, False: 67.6k]
  |  Branch (18397:35): [True: 0, False: 67.6k]
  ------------------
18398|      0|        _Pypegen_stack_overflow(p);
18399|      0|    }
18400|  67.6k|    if (p->error_indicator) {
  ------------------
  |  Branch (18400:9): [True: 0, False: 67.6k]
  ------------------
18401|      0|        p->level--;
18402|      0|        return NULL;
18403|      0|    }
18404|  67.6k|    expr_ty _res = NULL;
18405|  67.6k|    int _mark = p->mark;
18406|  67.6k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (18406:9): [True: 0, False: 67.6k]
  |  Branch (18406:31): [True: 0, False: 0]
  ------------------
18407|      0|        p->error_indicator = 1;
18408|      0|        p->level--;
18409|      0|        return NULL;
18410|      0|    }
18411|  67.6k|    int _start_lineno = p->tokens[_mark]->lineno;
18412|  67.6k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|  67.6k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 67.6k]
  |  |  ------------------
  ------------------
18413|  67.6k|    int _start_col_offset = p->tokens[_mark]->col_offset;
18414|  67.6k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|  67.6k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 67.6k]
  |  |  ------------------
  ------------------
18415|  67.6k|    { // '(' (assignment_expression | expression !':=' | starred_expression) for_if_clauses ')'
18416|  67.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (18416:13): [True: 0, False: 67.6k]
  ------------------
18417|      0|            p->level--;
18418|      0|            return NULL;
18419|      0|        }
18420|  67.6k|        D(fprintf(stderr, "%*c> genexp[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' (assignment_expression | expression !':=' | starred_expression) for_if_clauses ')'"));
18421|  67.6k|        Token * _literal;
18422|  67.6k|        Token * _literal_1;
18423|  67.6k|        void *a;
18424|  67.6k|        asdl_comprehension_seq* b;
18425|  67.6k|        if (
18426|  67.6k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (18426:13): [True: 10.8k, False: 56.7k]
  ------------------
18427|  10.8k|            &&
18428|  10.8k|            (a = _tmp_89_rule(p))  // assignment_expression | expression !':=' | starred_expression
  ------------------
  |  Branch (18428:13): [True: 8.65k, False: 2.22k]
  ------------------
18429|  8.65k|            &&
18430|  8.65k|            (b = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  Branch (18430:13): [True: 49, False: 8.60k]
  ------------------
18431|     49|            &&
18432|     49|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (18432:13): [True: 49, False: 0]
  ------------------
18433|  67.6k|        )
18434|     49|        {
18435|     49|            D(fprintf(stderr, "%*c+ genexp[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' (assignment_expression | expression !':=' | starred_expression) for_if_clauses ')'"));
18436|     49|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
18437|     49|            if (_token == NULL) {
  ------------------
  |  Branch (18437:17): [True: 0, False: 49]
  ------------------
18438|      0|                p->level--;
18439|      0|                return NULL;
18440|      0|            }
18441|     49|            int _end_lineno = _token->end_lineno;
18442|     49|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|     49|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 49]
  |  |  ------------------
  ------------------
18443|     49|            int _end_col_offset = _token->end_col_offset;
18444|     49|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|     49|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 49]
  |  |  ------------------
  ------------------
18445|     49|            _res = _PyAST_GeneratorExp ( a , b , EXTRA );
  ------------------
  |  |  269|     49|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
18446|     49|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18446:18): [True: 0, False: 49]
  |  Branch (18446:34): [True: 0, False: 49]
  |  Branch (18446:57): [True: 0, False: 0]
  ------------------
18447|      0|                p->error_indicator = 1;
18448|      0|                p->level--;
18449|      0|                return NULL;
18450|      0|            }
18451|     49|            goto done;
18452|     49|        }
18453|  67.6k|        p->mark = _mark;
18454|  67.6k|        D(fprintf(stderr, "%*c%s genexp[%d-%d]: %s failed!\n", p->level, ' ',
18455|  67.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' (assignment_expression | expression !':=' | starred_expression) for_if_clauses ')'"));
18456|  67.6k|    }
18457|  67.6k|    if (p->call_invalid_rules) { // invalid_comprehension
  ------------------
  |  Branch (18457:9): [True: 27.1k, False: 40.4k]
  ------------------
18458|  27.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (18458:13): [True: 0, False: 27.1k]
  ------------------
18459|      0|            p->level--;
18460|      0|            return NULL;
18461|      0|        }
18462|  27.1k|        D(fprintf(stderr, "%*c> genexp[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_comprehension"));
18463|  27.1k|        void *invalid_comprehension_var;
18464|  27.1k|        if (
18465|  27.1k|            (invalid_comprehension_var = invalid_comprehension_rule(p))  // invalid_comprehension
  ------------------
  |  Branch (18465:13): [True: 0, False: 27.1k]
  ------------------
18466|  27.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|  27.1k|        p->mark = _mark;
18473|  27.1k|        D(fprintf(stderr, "%*c%s genexp[%d-%d]: %s failed!\n", p->level, ' ',
18474|  27.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_comprehension"));
18475|  27.1k|    }
18476|  67.6k|    _res = NULL;
18477|  67.6k|  done:
18478|  67.6k|    p->level--;
18479|  67.6k|    return _res;
18480|  67.6k|}
parser.c:_tmp_89_rule:
34024|  10.8k|{
34025|  10.8k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  21.7k|#  define MAXSTACK 6000
  ------------------
  |  Branch (34025:9): [True: 0, False: 10.8k]
  |  Branch (34025:35): [True: 0, False: 10.8k]
  ------------------
34026|      0|        _Pypegen_stack_overflow(p);
34027|      0|    }
34028|  10.8k|    if (p->error_indicator) {
  ------------------
  |  Branch (34028:9): [True: 0, False: 10.8k]
  ------------------
34029|      0|        p->level--;
34030|      0|        return NULL;
34031|      0|    }
34032|  10.8k|    void * _res = NULL;
34033|  10.8k|    int _mark = p->mark;
34034|  10.8k|    { // assignment_expression
34035|  10.8k|        if (p->error_indicator) {
  ------------------
  |  Branch (34035:13): [True: 0, False: 10.8k]
  ------------------
34036|      0|            p->level--;
34037|      0|            return NULL;
34038|      0|        }
34039|  10.8k|        D(fprintf(stderr, "%*c> _tmp_89[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "assignment_expression"));
34040|  10.8k|        expr_ty assignment_expression_var;
34041|  10.8k|        if (
34042|  10.8k|            (assignment_expression_var = assignment_expression_rule(p))  // assignment_expression
  ------------------
  |  Branch (34042:13): [True: 6, False: 10.8k]
  ------------------
34043|  10.8k|        )
34044|      6|        {
34045|      6|            D(fprintf(stderr, "%*c+ _tmp_89[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "assignment_expression"));
34046|      6|            _res = assignment_expression_var;
34047|      6|            goto done;
34048|      6|        }
34049|  10.8k|        p->mark = _mark;
34050|  10.8k|        D(fprintf(stderr, "%*c%s _tmp_89[%d-%d]: %s failed!\n", p->level, ' ',
34051|  10.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "assignment_expression"));
34052|  10.8k|    }
34053|      0|    { // expression !':='
34054|  10.8k|        if (p->error_indicator) {
  ------------------
  |  Branch (34054:13): [True: 0, False: 10.8k]
  ------------------
34055|      0|            p->level--;
34056|      0|            return NULL;
34057|      0|        }
34058|  10.8k|        D(fprintf(stderr, "%*c> _tmp_89[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression !':='"));
34059|  10.8k|        expr_ty expression_var;
34060|  10.8k|        if (
34061|  10.8k|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (34061:13): [True: 8.56k, False: 2.31k]
  ------------------
34062|  8.56k|            &&
34063|  8.56k|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 53)  // token=':='
  ------------------
  |  Branch (34063:13): [True: 8.56k, False: 0]
  ------------------
34064|  10.8k|        )
34065|  8.56k|        {
34066|  8.56k|            D(fprintf(stderr, "%*c+ _tmp_89[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression !':='"));
34067|  8.56k|            _res = expression_var;
34068|  8.56k|            goto done;
34069|  8.56k|        }
34070|  2.31k|        p->mark = _mark;
34071|  2.31k|        D(fprintf(stderr, "%*c%s _tmp_89[%d-%d]: %s failed!\n", p->level, ' ',
34072|  2.31k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression !':='"));
34073|  2.31k|    }
34074|      0|    { // starred_expression
34075|  2.31k|        if (p->error_indicator) {
  ------------------
  |  Branch (34075:13): [True: 0, False: 2.31k]
  ------------------
34076|      0|            p->level--;
34077|      0|            return NULL;
34078|      0|        }
34079|  2.31k|        D(fprintf(stderr, "%*c> _tmp_89[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "starred_expression"));
34080|  2.31k|        expr_ty starred_expression_var;
34081|  2.31k|        if (
34082|  2.31k|            (starred_expression_var = starred_expression_rule(p))  // starred_expression
  ------------------
  |  Branch (34082:13): [True: 87, False: 2.22k]
  ------------------
34083|  2.31k|        )
34084|     87|        {
34085|     87|            D(fprintf(stderr, "%*c+ _tmp_89[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "starred_expression"));
34086|     87|            _res = starred_expression_var;
34087|     87|            goto done;
34088|     87|        }
34089|  2.22k|        p->mark = _mark;
34090|  2.22k|        D(fprintf(stderr, "%*c%s _tmp_89[%d-%d]: %s failed!\n", p->level, ' ',
34091|  2.22k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "starred_expression"));
34092|  2.22k|    }
34093|  2.22k|    _res = NULL;
34094|  10.8k|  done:
34095|  10.8k|    p->level--;
34096|  10.8k|    return _res;
34097|  2.22k|}
parser.c:starred_expression_rule:
18865|  14.1k|{
18866|  14.1k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  28.3k|#  define MAXSTACK 6000
  ------------------
  |  Branch (18866:9): [True: 0, False: 14.1k]
  |  Branch (18866:35): [True: 0, False: 14.1k]
  ------------------
18867|      0|        _Pypegen_stack_overflow(p);
18868|      0|    }
18869|  14.1k|    if (p->error_indicator) {
  ------------------
  |  Branch (18869:9): [True: 0, False: 14.1k]
  ------------------
18870|      0|        p->level--;
18871|      0|        return NULL;
18872|      0|    }
18873|  14.1k|    expr_ty _res = NULL;
18874|  14.1k|    int _mark = p->mark;
18875|  14.1k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (18875:9): [True: 2.91k, False: 11.2k]
  |  Branch (18875:31): [True: 0, False: 2.91k]
  ------------------
18876|      0|        p->error_indicator = 1;
18877|      0|        p->level--;
18878|      0|        return NULL;
18879|      0|    }
18880|  14.1k|    int _start_lineno = p->tokens[_mark]->lineno;
18881|  14.1k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|  14.1k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 14.1k]
  |  |  ------------------
  ------------------
18882|  14.1k|    int _start_col_offset = p->tokens[_mark]->col_offset;
18883|  14.1k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|  14.1k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 14.1k]
  |  |  ------------------
  ------------------
18884|  14.1k|    if (p->call_invalid_rules) { // invalid_starred_expression_unpacking
  ------------------
  |  Branch (18884:9): [True: 0, False: 14.1k]
  ------------------
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|  14.1k|    { // '*' expression
18904|  14.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (18904:13): [True: 0, False: 14.1k]
  ------------------
18905|      0|            p->level--;
18906|      0|            return NULL;
18907|      0|        }
18908|  14.1k|        D(fprintf(stderr, "%*c> starred_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' expression"));
18909|  14.1k|        Token * _literal;
18910|  14.1k|        expr_ty a;
18911|  14.1k|        if (
18912|  14.1k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (18912:13): [True: 178, False: 13.9k]
  ------------------
18913|    178|            &&
18914|    178|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (18914:13): [True: 178, False: 0]
  ------------------
18915|  14.1k|        )
18916|    178|        {
18917|    178|            D(fprintf(stderr, "%*c+ starred_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' expression"));
18918|    178|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
18919|    178|            if (_token == NULL) {
  ------------------
  |  Branch (18919:17): [True: 0, False: 178]
  ------------------
18920|      0|                p->level--;
18921|      0|                return NULL;
18922|      0|            }
18923|    178|            int _end_lineno = _token->end_lineno;
18924|    178|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    178|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 178]
  |  |  ------------------
  ------------------
18925|    178|            int _end_col_offset = _token->end_col_offset;
18926|    178|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    178|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 178]
  |  |  ------------------
  ------------------
18927|    178|            _res = _PyAST_Starred ( a , Load , EXTRA );
  ------------------
  |  |  269|    178|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
18928|    178|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18928:18): [True: 0, False: 178]
  |  Branch (18928:34): [True: 0, False: 178]
  |  Branch (18928:57): [True: 0, False: 0]
  ------------------
18929|      0|                p->error_indicator = 1;
18930|      0|                p->level--;
18931|      0|                return NULL;
18932|      0|            }
18933|    178|            goto done;
18934|    178|        }
18935|  13.9k|        p->mark = _mark;
18936|  13.9k|        D(fprintf(stderr, "%*c%s starred_expression[%d-%d]: %s failed!\n", p->level, ' ',
18937|  13.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' expression"));
18938|  13.9k|    }
18939|  13.9k|    if (p->call_invalid_rules) { // invalid_starred_expression
  ------------------
  |  Branch (18939:9): [True: 0, False: 13.9k]
  ------------------
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|  13.9k|    _res = NULL;
18959|  14.1k|  done:
18960|  14.1k|    p->level--;
18961|  14.1k|    return _res;
18962|  13.9k|}
parser.c:if_expression_rule:
11698|   143k|{
11699|   143k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   287k|#  define MAXSTACK 6000
  ------------------
  |  Branch (11699:9): [True: 0, False: 143k]
  |  Branch (11699:35): [True: 0, False: 143k]
  ------------------
11700|      0|        _Pypegen_stack_overflow(p);
11701|      0|    }
11702|   143k|    if (p->error_indicator) {
  ------------------
  |  Branch (11702:9): [True: 0, False: 143k]
  ------------------
11703|      0|        p->level--;
11704|      0|        return NULL;
11705|      0|    }
11706|   143k|    expr_ty _res = NULL;
11707|   143k|    int _mark = p->mark;
11708|   143k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (11708:9): [True: 0, False: 143k]
  |  Branch (11708:31): [True: 0, False: 0]
  ------------------
11709|      0|        p->error_indicator = 1;
11710|      0|        p->level--;
11711|      0|        return NULL;
11712|      0|    }
11713|   143k|    int _start_lineno = p->tokens[_mark]->lineno;
11714|   143k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|   143k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 143k]
  |  |  ------------------
  ------------------
11715|   143k|    int _start_col_offset = p->tokens[_mark]->col_offset;
11716|   143k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|   143k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 143k]
  |  |  ------------------
  ------------------
11717|   143k|    { // disjunction 'if' disjunction 'else' expression
11718|   143k|        if (p->error_indicator) {
  ------------------
  |  Branch (11718:13): [True: 0, False: 143k]
  ------------------
11719|      0|            p->level--;
11720|      0|            return NULL;
11721|      0|        }
11722|   143k|        D(fprintf(stderr, "%*c> if_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction 'else' expression"));
11723|   143k|        Token * _keyword;
11724|   143k|        Token * _keyword_1;
11725|   143k|        expr_ty a;
11726|   143k|        expr_ty b;
11727|   143k|        expr_ty c;
11728|   143k|        if (
11729|   143k|            (a = disjunction_rule(p))  // disjunction
  ------------------
  |  Branch (11729:13): [True: 24.5k, False: 119k]
  ------------------
11730|  24.5k|            &&
11731|  24.5k|            (_keyword = _PyPegen_expect_token(p, 698))  // token='if'
  ------------------
  |  Branch (11731:13): [True: 48, False: 24.5k]
  ------------------
11732|     48|            &&
11733|     48|            (b = disjunction_rule(p))  // disjunction
  ------------------
  |  Branch (11733:13): [True: 48, False: 0]
  ------------------
11734|     48|            &&
11735|     48|            (_keyword_1 = _PyPegen_expect_token(p, 702))  // token='else'
  ------------------
  |  Branch (11735:13): [True: 48, False: 0]
  ------------------
11736|     48|            &&
11737|     48|            (c = expression_rule(p))  // expression
  ------------------
  |  Branch (11737:13): [True: 48, False: 0]
  ------------------
11738|   143k|        )
11739|     48|        {
11740|     48|            D(fprintf(stderr, "%*c+ if_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction 'else' expression"));
11741|     48|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
11742|     48|            if (_token == NULL) {
  ------------------
  |  Branch (11742:17): [True: 0, False: 48]
  ------------------
11743|      0|                p->level--;
11744|      0|                return NULL;
11745|      0|            }
11746|     48|            int _end_lineno = _token->end_lineno;
11747|     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]
  |  |  ------------------
  ------------------
11748|     48|            int _end_col_offset = _token->end_col_offset;
11749|     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]
  |  |  ------------------
  ------------------
11750|     48|            _res = _PyAST_IfExp ( b , a , c , EXTRA );
  ------------------
  |  |  269|     48|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
11751|     48|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11751:18): [True: 0, False: 48]
  |  Branch (11751:34): [True: 0, False: 48]
  |  Branch (11751:57): [True: 0, False: 0]
  ------------------
11752|      0|                p->error_indicator = 1;
11753|      0|                p->level--;
11754|      0|                return NULL;
11755|      0|            }
11756|     48|            goto done;
11757|     48|        }
11758|   143k|        p->mark = _mark;
11759|   143k|        D(fprintf(stderr, "%*c%s if_expression[%d-%d]: %s failed!\n", p->level, ' ',
11760|   143k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "disjunction 'if' disjunction 'else' expression"));
11761|   143k|    }
11762|   143k|    _res = NULL;
11763|   143k|  done:
11764|   143k|    p->level--;
11765|   143k|    return _res;
11766|   143k|}
parser.c:disjunction_rule:
12476|   559k|{
12477|   559k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.11M|#  define MAXSTACK 6000
  ------------------
  |  Branch (12477:9): [True: 0, False: 559k]
  |  Branch (12477:35): [True: 0, False: 559k]
  ------------------
12478|      0|        _Pypegen_stack_overflow(p);
12479|      0|    }
12480|   559k|    if (p->error_indicator) {
  ------------------
  |  Branch (12480:9): [True: 0, False: 559k]
  ------------------
12481|      0|        p->level--;
12482|      0|        return NULL;
12483|      0|    }
12484|   559k|    expr_ty _res = NULL;
12485|   559k|    if (_PyPegen_is_memoized(p, disjunction_type, &_res)) {
  ------------------
  |  |  209|   559k|#define disjunction_type 1120
  ------------------
  |  Branch (12485:9): [True: 415k, False: 143k]
  ------------------
12486|   415k|        p->level--;
12487|   415k|        return _res;
12488|   415k|    }
12489|   143k|    int _mark = p->mark;
12490|   143k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (12490:9): [True: 0, False: 143k]
  |  Branch (12490:31): [True: 0, False: 0]
  ------------------
12491|      0|        p->error_indicator = 1;
12492|      0|        p->level--;
12493|      0|        return NULL;
12494|      0|    }
12495|   143k|    int _start_lineno = p->tokens[_mark]->lineno;
12496|   143k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|   143k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 143k]
  |  |  ------------------
  ------------------
12497|   143k|    int _start_col_offset = p->tokens[_mark]->col_offset;
12498|   143k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|   143k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 143k]
  |  |  ------------------
  ------------------
12499|   143k|    { // conjunction (('or' conjunction))+
12500|   143k|        if (p->error_indicator) {
  ------------------
  |  Branch (12500:13): [True: 0, False: 143k]
  ------------------
12501|      0|            p->level--;
12502|      0|            return NULL;
12503|      0|        }
12504|   143k|        D(fprintf(stderr, "%*c> disjunction[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "conjunction (('or' conjunction))+"));
12505|   143k|        expr_ty a;
12506|   143k|        asdl_seq * b;
12507|   143k|        if (
12508|   143k|            (a = conjunction_rule(p))  // conjunction
  ------------------
  |  Branch (12508:13): [True: 24.7k, False: 119k]
  ------------------
12509|  24.7k|            &&
12510|  24.7k|            (b = _loop1_61_rule(p))  // (('or' conjunction))+
  ------------------
  |  Branch (12510:13): [True: 168, False: 24.5k]
  ------------------
12511|   143k|        )
12512|    168|        {
12513|    168|            D(fprintf(stderr, "%*c+ disjunction[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "conjunction (('or' conjunction))+"));
12514|    168|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
12515|    168|            if (_token == NULL) {
  ------------------
  |  Branch (12515:17): [True: 0, False: 168]
  ------------------
12516|      0|                p->level--;
12517|      0|                return NULL;
12518|      0|            }
12519|    168|            int _end_lineno = _token->end_lineno;
12520|    168|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    168|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 168]
  |  |  ------------------
  ------------------
12521|    168|            int _end_col_offset = _token->end_col_offset;
12522|    168|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    168|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 168]
  |  |  ------------------
  ------------------
12523|    168|            _res = _PyAST_BoolOp ( Or , CHECK ( asdl_expr_seq* , _PyPegen_seq_insert_in_front ( p , a , b ) ) , EXTRA );
  ------------------
  |  |  233|    168|#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|    168|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
12524|    168|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12524:18): [True: 0, False: 168]
  |  Branch (12524:34): [True: 0, False: 168]
  |  Branch (12524:57): [True: 0, False: 0]
  ------------------
12525|      0|                p->error_indicator = 1;
12526|      0|                p->level--;
12527|      0|                return NULL;
12528|      0|            }
12529|    168|            goto done;
12530|    168|        }
12531|   143k|        p->mark = _mark;
12532|   143k|        D(fprintf(stderr, "%*c%s disjunction[%d-%d]: %s failed!\n", p->level, ' ',
12533|   143k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "conjunction (('or' conjunction))+"));
12534|   143k|    }
12535|      0|    { // conjunction
12536|   143k|        if (p->error_indicator) {
  ------------------
  |  Branch (12536:13): [True: 0, False: 143k]
  ------------------
12537|      0|            p->level--;
12538|      0|            return NULL;
12539|      0|        }
12540|   143k|        D(fprintf(stderr, "%*c> disjunction[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "conjunction"));
12541|   143k|        expr_ty conjunction_var;
12542|   143k|        if (
12543|   143k|            (conjunction_var = conjunction_rule(p))  // conjunction
  ------------------
  |  Branch (12543:13): [True: 24.5k, False: 119k]
  ------------------
12544|   143k|        )
12545|  24.5k|        {
12546|  24.5k|            D(fprintf(stderr, "%*c+ disjunction[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "conjunction"));
12547|  24.5k|            _res = conjunction_var;
12548|  24.5k|            goto done;
12549|  24.5k|        }
12550|   119k|        p->mark = _mark;
12551|   119k|        D(fprintf(stderr, "%*c%s disjunction[%d-%d]: %s failed!\n", p->level, ' ',
12552|   119k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "conjunction"));
12553|   119k|    }
12554|   119k|    _res = NULL;
12555|   143k|  done:
12556|   143k|    _PyPegen_insert_memo(p, _mark, disjunction_type, _res);
  ------------------
  |  |  209|   143k|#define disjunction_type 1120
  ------------------
12557|   143k|    p->level--;
12558|   143k|    return _res;
12559|   119k|}
parser.c:conjunction_rule:
12564|   287k|{
12565|   287k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   575k|#  define MAXSTACK 6000
  ------------------
  |  Branch (12565:9): [True: 0, False: 287k]
  |  Branch (12565:35): [True: 0, False: 287k]
  ------------------
12566|      0|        _Pypegen_stack_overflow(p);
12567|      0|    }
12568|   287k|    if (p->error_indicator) {
  ------------------
  |  Branch (12568:9): [True: 0, False: 287k]
  ------------------
12569|      0|        p->level--;
12570|      0|        return NULL;
12571|      0|    }
12572|   287k|    expr_ty _res = NULL;
12573|   287k|    if (_PyPegen_is_memoized(p, conjunction_type, &_res)) {
  ------------------
  |  |  210|   287k|#define conjunction_type 1121
  ------------------
  |  Branch (12573:9): [True: 143k, False: 144k]
  ------------------
12574|   143k|        p->level--;
12575|   143k|        return _res;
12576|   143k|    }
12577|   144k|    int _mark = p->mark;
12578|   144k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (12578:9): [True: 0, False: 144k]
  |  Branch (12578:31): [True: 0, False: 0]
  ------------------
12579|      0|        p->error_indicator = 1;
12580|      0|        p->level--;
12581|      0|        return NULL;
12582|      0|    }
12583|   144k|    int _start_lineno = p->tokens[_mark]->lineno;
12584|   144k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|   144k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 144k]
  |  |  ------------------
  ------------------
12585|   144k|    int _start_col_offset = p->tokens[_mark]->col_offset;
12586|   144k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|   144k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 144k]
  |  |  ------------------
  ------------------
12587|   144k|    { // inversion (('and' inversion))+
12588|   144k|        if (p->error_indicator) {
  ------------------
  |  Branch (12588:13): [True: 0, False: 144k]
  ------------------
12589|      0|            p->level--;
12590|      0|            return NULL;
12591|      0|        }
12592|   144k|        D(fprintf(stderr, "%*c> conjunction[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "inversion (('and' inversion))+"));
12593|   144k|        expr_ty a;
12594|   144k|        asdl_seq * b;
12595|   144k|        if (
12596|   144k|            (a = inversion_rule(p))  // inversion
  ------------------
  |  Branch (12596:13): [True: 24.8k, False: 119k]
  ------------------
12597|  24.8k|            &&
12598|  24.8k|            (b = _loop1_62_rule(p))  // (('and' inversion))+
  ------------------
  |  Branch (12598:13): [True: 320, False: 24.5k]
  ------------------
12599|   144k|        )
12600|    320|        {
12601|    320|            D(fprintf(stderr, "%*c+ conjunction[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "inversion (('and' inversion))+"));
12602|    320|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
12603|    320|            if (_token == NULL) {
  ------------------
  |  Branch (12603:17): [True: 0, False: 320]
  ------------------
12604|      0|                p->level--;
12605|      0|                return NULL;
12606|      0|            }
12607|    320|            int _end_lineno = _token->end_lineno;
12608|    320|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    320|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 320]
  |  |  ------------------
  ------------------
12609|    320|            int _end_col_offset = _token->end_col_offset;
12610|    320|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    320|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 320]
  |  |  ------------------
  ------------------
12611|    320|            _res = _PyAST_BoolOp ( And , CHECK ( asdl_expr_seq* , _PyPegen_seq_insert_in_front ( p , a , b ) ) , EXTRA );
  ------------------
  |  |  233|    320|#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|    320|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
12612|    320|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12612:18): [True: 0, False: 320]
  |  Branch (12612:34): [True: 0, False: 320]
  |  Branch (12612:57): [True: 0, False: 0]
  ------------------
12613|      0|                p->error_indicator = 1;
12614|      0|                p->level--;
12615|      0|                return NULL;
12616|      0|            }
12617|    320|            goto done;
12618|    320|        }
12619|   143k|        p->mark = _mark;
12620|   143k|        D(fprintf(stderr, "%*c%s conjunction[%d-%d]: %s failed!\n", p->level, ' ',
12621|   143k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "inversion (('and' inversion))+"));
12622|   143k|    }
12623|      0|    { // inversion
12624|   143k|        if (p->error_indicator) {
  ------------------
  |  Branch (12624:13): [True: 0, False: 143k]
  ------------------
12625|      0|            p->level--;
12626|      0|            return NULL;
12627|      0|        }
12628|   143k|        D(fprintf(stderr, "%*c> conjunction[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "inversion"));
12629|   143k|        expr_ty inversion_var;
12630|   143k|        if (
12631|   143k|            (inversion_var = inversion_rule(p))  // inversion
  ------------------
  |  Branch (12631:13): [True: 24.5k, False: 119k]
  ------------------
12632|   143k|        )
12633|  24.5k|        {
12634|  24.5k|            D(fprintf(stderr, "%*c+ conjunction[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "inversion"));
12635|  24.5k|            _res = inversion_var;
12636|  24.5k|            goto done;
12637|  24.5k|        }
12638|   119k|        p->mark = _mark;
12639|   119k|        D(fprintf(stderr, "%*c%s conjunction[%d-%d]: %s failed!\n", p->level, ' ',
12640|   119k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "inversion"));
12641|   119k|    }
12642|   119k|    _res = NULL;
12643|   144k|  done:
12644|   144k|    _PyPegen_insert_memo(p, _mark, conjunction_type, _res);
  ------------------
  |  |  210|   144k|#define conjunction_type 1121
  ------------------
12645|   144k|    p->level--;
12646|   144k|    return _res;
12647|   119k|}
parser.c:inversion_rule:
12652|   288k|{
12653|   288k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   577k|#  define MAXSTACK 6000
  ------------------
  |  Branch (12653:9): [True: 0, False: 288k]
  |  Branch (12653:35): [True: 0, False: 288k]
  ------------------
12654|      0|        _Pypegen_stack_overflow(p);
12655|      0|    }
12656|   288k|    if (p->error_indicator) {
  ------------------
  |  Branch (12656:9): [True: 0, False: 288k]
  ------------------
12657|      0|        p->level--;
12658|      0|        return NULL;
12659|      0|    }
12660|   288k|    expr_ty _res = NULL;
12661|   288k|    if (_PyPegen_is_memoized(p, inversion_type, &_res)) {
  ------------------
  |  |  211|   288k|#define inversion_type 1122
  ------------------
  |  Branch (12661:9): [True: 143k, False: 144k]
  ------------------
12662|   143k|        p->level--;
12663|   143k|        return _res;
12664|   143k|    }
12665|   144k|    int _mark = p->mark;
12666|   144k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (12666:9): [True: 0, False: 144k]
  |  Branch (12666:31): [True: 0, False: 0]
  ------------------
12667|      0|        p->error_indicator = 1;
12668|      0|        p->level--;
12669|      0|        return NULL;
12670|      0|    }
12671|   144k|    int _start_lineno = p->tokens[_mark]->lineno;
12672|   144k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|   144k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 144k]
  |  |  ------------------
  ------------------
12673|   144k|    int _start_col_offset = p->tokens[_mark]->col_offset;
12674|   144k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|   144k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 144k]
  |  |  ------------------
  ------------------
12675|   144k|    { // 'not' inversion
12676|   144k|        if (p->error_indicator) {
  ------------------
  |  Branch (12676:13): [True: 0, False: 144k]
  ------------------
12677|      0|            p->level--;
12678|      0|            return NULL;
12679|      0|        }
12680|   144k|        D(fprintf(stderr, "%*c> inversion[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'not' inversion"));
12681|   144k|        Token * _keyword;
12682|   144k|        expr_ty a;
12683|   144k|        if (
12684|   144k|            (_keyword = _PyPegen_expect_token(p, 719))  // token='not'
  ------------------
  |  Branch (12684:13): [True: 426, False: 144k]
  ------------------
12685|    426|            &&
12686|    426|            (a = inversion_rule(p))  // inversion
  ------------------
  |  Branch (12686:13): [True: 426, False: 0]
  ------------------
12687|   144k|        )
12688|    426|        {
12689|    426|            D(fprintf(stderr, "%*c+ inversion[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'not' inversion"));
12690|    426|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
12691|    426|            if (_token == NULL) {
  ------------------
  |  Branch (12691:17): [True: 0, False: 426]
  ------------------
12692|      0|                p->level--;
12693|      0|                return NULL;
12694|      0|            }
12695|    426|            int _end_lineno = _token->end_lineno;
12696|    426|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    426|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 426]
  |  |  ------------------
  ------------------
12697|    426|            int _end_col_offset = _token->end_col_offset;
12698|    426|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    426|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 426]
  |  |  ------------------
  ------------------
12699|    426|            _res = _PyAST_UnaryOp ( Not , a , EXTRA );
  ------------------
  |  |  269|    426|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
12700|    426|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12700:18): [True: 0, False: 426]
  |  Branch (12700:34): [True: 0, False: 426]
  |  Branch (12700:57): [True: 0, False: 0]
  ------------------
12701|      0|                p->error_indicator = 1;
12702|      0|                p->level--;
12703|      0|                return NULL;
12704|      0|            }
12705|    426|            goto done;
12706|    426|        }
12707|   144k|        p->mark = _mark;
12708|   144k|        D(fprintf(stderr, "%*c%s inversion[%d-%d]: %s failed!\n", p->level, ' ',
12709|   144k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'not' inversion"));
12710|   144k|    }
12711|      0|    { // comparison
12712|   144k|        if (p->error_indicator) {
  ------------------
  |  Branch (12712:13): [True: 0, False: 144k]
  ------------------
12713|      0|            p->level--;
12714|      0|            return NULL;
12715|      0|        }
12716|   144k|        D(fprintf(stderr, "%*c> inversion[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "comparison"));
12717|   144k|        expr_ty comparison_var;
12718|   144k|        if (
12719|   144k|            (comparison_var = comparison_rule(p))  // comparison
  ------------------
  |  Branch (12719:13): [True: 25.3k, False: 119k]
  ------------------
12720|   144k|        )
12721|  25.3k|        {
12722|  25.3k|            D(fprintf(stderr, "%*c+ inversion[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "comparison"));
12723|  25.3k|            _res = comparison_var;
12724|  25.3k|            goto done;
12725|  25.3k|        }
12726|   119k|        p->mark = _mark;
12727|   119k|        D(fprintf(stderr, "%*c%s inversion[%d-%d]: %s failed!\n", p->level, ' ',
12728|   119k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "comparison"));
12729|   119k|    }
12730|   119k|    _res = NULL;
12731|   144k|  done:
12732|   144k|    _PyPegen_insert_memo(p, _mark, inversion_type, _res);
  ------------------
  |  |  211|   144k|#define inversion_type 1122
  ------------------
12733|   144k|    p->level--;
12734|   144k|    return _res;
12735|   119k|}
parser.c:comparison_rule:
12740|   144k|{
12741|   144k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   289k|#  define MAXSTACK 6000
  ------------------
  |  Branch (12741:9): [True: 0, False: 144k]
  |  Branch (12741:35): [True: 0, False: 144k]
  ------------------
12742|      0|        _Pypegen_stack_overflow(p);
12743|      0|    }
12744|   144k|    if (p->error_indicator) {
  ------------------
  |  Branch (12744:9): [True: 0, False: 144k]
  ------------------
12745|      0|        p->level--;
12746|      0|        return NULL;
12747|      0|    }
12748|   144k|    expr_ty _res = NULL;
12749|   144k|    int _mark = p->mark;
12750|   144k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (12750:9): [True: 0, False: 144k]
  |  Branch (12750:31): [True: 0, False: 0]
  ------------------
12751|      0|        p->error_indicator = 1;
12752|      0|        p->level--;
12753|      0|        return NULL;
12754|      0|    }
12755|   144k|    int _start_lineno = p->tokens[_mark]->lineno;
12756|   144k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|   144k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 144k]
  |  |  ------------------
  ------------------
12757|   144k|    int _start_col_offset = p->tokens[_mark]->col_offset;
12758|   144k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|   144k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 144k]
  |  |  ------------------
  ------------------
12759|   144k|    { // bitwise_or compare_op_bitwise_or_pair+
12760|   144k|        if (p->error_indicator) {
  ------------------
  |  Branch (12760:13): [True: 0, False: 144k]
  ------------------
12761|      0|            p->level--;
12762|      0|            return NULL;
12763|      0|        }
12764|   144k|        D(fprintf(stderr, "%*c> comparison[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_or compare_op_bitwise_or_pair+"));
12765|   144k|        expr_ty a;
12766|   144k|        asdl_seq * b;
12767|   144k|        if (
12768|   144k|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (12768:13): [True: 25.3k, False: 119k]
  ------------------
12769|  25.3k|            &&
12770|  25.3k|            (b = _loop1_63_rule(p))  // compare_op_bitwise_or_pair+
  ------------------
  |  Branch (12770:13): [True: 1.73k, False: 23.6k]
  ------------------
12771|   144k|        )
12772|  1.73k|        {
12773|  1.73k|            D(fprintf(stderr, "%*c+ comparison[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_or compare_op_bitwise_or_pair+"));
12774|  1.73k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
12775|  1.73k|            if (_token == NULL) {
  ------------------
  |  Branch (12775:17): [True: 0, False: 1.73k]
  ------------------
12776|      0|                p->level--;
12777|      0|                return NULL;
12778|      0|            }
12779|  1.73k|            int _end_lineno = _token->end_lineno;
12780|  1.73k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|  1.73k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 1.73k]
  |  |  ------------------
  ------------------
12781|  1.73k|            int _end_col_offset = _token->end_col_offset;
12782|  1.73k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|  1.73k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 1.73k]
  |  |  ------------------
  ------------------
12783|  1.73k|            _res = _PyAST_Compare ( a , CHECK ( asdl_int_seq* , _PyPegen_get_cmpops ( p , b ) ) , CHECK ( asdl_expr_seq* , _PyPegen_get_exprs ( p , b ) ) , EXTRA );
  ------------------
  |  |  233|  1.73k|#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|  1.73k|#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|  1.73k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
12784|  1.73k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12784:18): [True: 0, False: 1.73k]
  |  Branch (12784:34): [True: 0, False: 1.73k]
  |  Branch (12784:57): [True: 0, False: 0]
  ------------------
12785|      0|                p->error_indicator = 1;
12786|      0|                p->level--;
12787|      0|                return NULL;
12788|      0|            }
12789|  1.73k|            goto done;
12790|  1.73k|        }
12791|   142k|        p->mark = _mark;
12792|   142k|        D(fprintf(stderr, "%*c%s comparison[%d-%d]: %s failed!\n", p->level, ' ',
12793|   142k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_or compare_op_bitwise_or_pair+"));
12794|   142k|    }
12795|      0|    { // bitwise_or
12796|   142k|        if (p->error_indicator) {
  ------------------
  |  Branch (12796:13): [True: 0, False: 142k]
  ------------------
12797|      0|            p->level--;
12798|      0|            return NULL;
12799|      0|        }
12800|   142k|        D(fprintf(stderr, "%*c> comparison[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "bitwise_or"));
12801|   142k|        expr_ty bitwise_or_var;
12802|   142k|        if (
12803|   142k|            (bitwise_or_var = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (12803:13): [True: 23.6k, False: 119k]
  ------------------
12804|   142k|        )
12805|  23.6k|        {
12806|  23.6k|            D(fprintf(stderr, "%*c+ comparison[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "bitwise_or"));
12807|  23.6k|            _res = bitwise_or_var;
12808|  23.6k|            goto done;
12809|  23.6k|        }
12810|   119k|        p->mark = _mark;
12811|   119k|        D(fprintf(stderr, "%*c%s comparison[%d-%d]: %s failed!\n", p->level, ' ',
12812|   119k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "bitwise_or"));
12813|   119k|    }
12814|   119k|    _res = NULL;
12815|   144k|  done:
12816|   144k|    p->level--;
12817|   144k|    return _res;
12818|   119k|}
parser.c:_loop1_63_rule:
32327|  25.3k|{
32328|  25.3k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  50.7k|#  define MAXSTACK 6000
  ------------------
  |  Branch (32328:9): [True: 0, False: 25.3k]
  |  Branch (32328:35): [True: 0, False: 25.3k]
  ------------------
32329|      0|        _Pypegen_stack_overflow(p);
32330|      0|    }
32331|  25.3k|    if (p->error_indicator) {
  ------------------
  |  Branch (32331:9): [True: 0, False: 25.3k]
  ------------------
32332|      0|        p->level--;
32333|      0|        return NULL;
32334|      0|    }
32335|  25.3k|    void *_res = NULL;
32336|  25.3k|    int _mark = p->mark;
32337|  25.3k|    void **_children = PyMem_Malloc(sizeof(void *));
32338|  25.3k|    if (!_children) {
  ------------------
  |  Branch (32338:9): [True: 0, False: 25.3k]
  ------------------
32339|      0|        p->error_indicator = 1;
32340|      0|        PyErr_NoMemory();
32341|      0|        p->level--;
32342|      0|        return NULL;
32343|      0|    }
32344|  25.3k|    Py_ssize_t _children_capacity = 1;
32345|  25.3k|    Py_ssize_t _n = 0;
32346|  25.3k|    { // compare_op_bitwise_or_pair
32347|  25.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (32347:13): [True: 0, False: 25.3k]
  ------------------
32348|      0|            p->level--;
32349|      0|            return NULL;
32350|      0|        }
32351|  25.3k|        D(fprintf(stderr, "%*c> _loop1_63[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "compare_op_bitwise_or_pair"));
32352|  25.3k|        CmpopExprPair* compare_op_bitwise_or_pair_var;
32353|  25.3k|        while (
32354|  27.1k|            (compare_op_bitwise_or_pair_var = compare_op_bitwise_or_pair_rule(p))  // compare_op_bitwise_or_pair
  ------------------
  |  Branch (32354:13): [True: 1.73k, False: 25.3k]
  ------------------
32355|  25.3k|        )
32356|  1.73k|        {
32357|  1.73k|            _res = compare_op_bitwise_or_pair_var;
32358|  1.73k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (32358:17): [True: 6, False: 1.73k]
  ------------------
32359|      6|                _children_capacity *= 2;
32360|      6|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
32361|      6|                if (!_new_children) {
  ------------------
  |  Branch (32361:21): [True: 0, False: 6]
  ------------------
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|      6|                _children = _new_children;
32369|      6|            }
32370|  1.73k|            _children[_n++] = _res;
32371|  1.73k|            _mark = p->mark;
32372|  1.73k|        }
32373|  25.3k|        p->mark = _mark;
32374|  25.3k|        D(fprintf(stderr, "%*c%s _loop1_63[%d-%d]: %s failed!\n", p->level, ' ',
32375|  25.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "compare_op_bitwise_or_pair"));
32376|  25.3k|    }
32377|  25.3k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (32377:9): [True: 23.6k, False: 1.73k]
  |  Branch (32377:20): [True: 0, False: 1.73k]
  ------------------
32378|  23.6k|        PyMem_Free(_children);
32379|  23.6k|        p->level--;
32380|  23.6k|        return NULL;
32381|  23.6k|    }
32382|  1.73k|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
32383|  1.73k|    if (!_seq) {
  ------------------
  |  Branch (32383:9): [True: 0, False: 1.73k]
  ------------------
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|  3.47k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  1.73k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  3.47k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (32390:28): [True: 1.73k, False: 1.73k]
  ------------------
32391|  1.73k|    PyMem_Free(_children);
32392|  1.73k|    p->level--;
32393|  1.73k|    return _seq;
32394|  1.73k|}
parser.c:compare_op_bitwise_or_pair_rule:
12833|  27.1k|{
12834|  27.1k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  54.2k|#  define MAXSTACK 6000
  ------------------
  |  Branch (12834:9): [True: 0, False: 27.1k]
  |  Branch (12834:35): [True: 0, False: 27.1k]
  ------------------
12835|      0|        _Pypegen_stack_overflow(p);
12836|      0|    }
12837|  27.1k|    if (p->error_indicator) {
  ------------------
  |  Branch (12837:9): [True: 0, False: 27.1k]
  ------------------
12838|      0|        p->level--;
12839|      0|        return NULL;
12840|      0|    }
12841|  27.1k|    CmpopExprPair* _res = NULL;
12842|  27.1k|    int _mark = p->mark;
12843|  27.1k|    { // eq_bitwise_or
12844|  27.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (12844:13): [True: 0, False: 27.1k]
  ------------------
12845|      0|            p->level--;
12846|      0|            return NULL;
12847|      0|        }
12848|  27.1k|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "eq_bitwise_or"));
12849|  27.1k|        CmpopExprPair* eq_bitwise_or_var;
12850|  27.1k|        if (
12851|  27.1k|            (eq_bitwise_or_var = eq_bitwise_or_rule(p))  // eq_bitwise_or
  ------------------
  |  Branch (12851:13): [True: 464, False: 26.6k]
  ------------------
12852|  27.1k|        )
12853|    464|        {
12854|    464|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "eq_bitwise_or"));
12855|    464|            _res = eq_bitwise_or_var;
12856|    464|            goto done;
12857|    464|        }
12858|  26.6k|        p->mark = _mark;
12859|  26.6k|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
12860|  26.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "eq_bitwise_or"));
12861|  26.6k|    }
12862|      0|    { // noteq_bitwise_or
12863|  26.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (12863:13): [True: 0, False: 26.6k]
  ------------------
12864|      0|            p->level--;
12865|      0|            return NULL;
12866|      0|        }
12867|  26.6k|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "noteq_bitwise_or"));
12868|  26.6k|        CmpopExprPair* noteq_bitwise_or_var;
12869|  26.6k|        if (
12870|  26.6k|            (noteq_bitwise_or_var = noteq_bitwise_or_rule(p))  // noteq_bitwise_or
  ------------------
  |  Branch (12870:13): [True: 67, False: 26.5k]
  ------------------
12871|  26.6k|        )
12872|     67|        {
12873|     67|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "noteq_bitwise_or"));
12874|     67|            _res = noteq_bitwise_or_var;
12875|     67|            goto done;
12876|     67|        }
12877|  26.5k|        p->mark = _mark;
12878|  26.5k|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
12879|  26.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "noteq_bitwise_or"));
12880|  26.5k|    }
12881|      0|    { // lte_bitwise_or
12882|  26.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (12882:13): [True: 0, False: 26.5k]
  ------------------
12883|      0|            p->level--;
12884|      0|            return NULL;
12885|      0|        }
12886|  26.5k|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lte_bitwise_or"));
12887|  26.5k|        CmpopExprPair* lte_bitwise_or_var;
12888|  26.5k|        if (
12889|  26.5k|            (lte_bitwise_or_var = lte_bitwise_or_rule(p))  // lte_bitwise_or
  ------------------
  |  Branch (12889:13): [True: 41, False: 26.5k]
  ------------------
12890|  26.5k|        )
12891|     41|        {
12892|     41|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lte_bitwise_or"));
12893|     41|            _res = lte_bitwise_or_var;
12894|     41|            goto done;
12895|     41|        }
12896|  26.5k|        p->mark = _mark;
12897|  26.5k|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
12898|  26.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lte_bitwise_or"));
12899|  26.5k|    }
12900|      0|    { // lt_bitwise_or
12901|  26.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (12901:13): [True: 0, False: 26.5k]
  ------------------
12902|      0|            p->level--;
12903|      0|            return NULL;
12904|      0|        }
12905|  26.5k|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lt_bitwise_or"));
12906|  26.5k|        CmpopExprPair* lt_bitwise_or_var;
12907|  26.5k|        if (
12908|  26.5k|            (lt_bitwise_or_var = lt_bitwise_or_rule(p))  // lt_bitwise_or
  ------------------
  |  Branch (12908:13): [True: 57, False: 26.4k]
  ------------------
12909|  26.5k|        )
12910|     57|        {
12911|     57|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lt_bitwise_or"));
12912|     57|            _res = lt_bitwise_or_var;
12913|     57|            goto done;
12914|     57|        }
12915|  26.4k|        p->mark = _mark;
12916|  26.4k|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
12917|  26.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lt_bitwise_or"));
12918|  26.4k|    }
12919|      0|    { // gte_bitwise_or
12920|  26.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (12920:13): [True: 0, False: 26.4k]
  ------------------
12921|      0|            p->level--;
12922|      0|            return NULL;
12923|      0|        }
12924|  26.4k|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "gte_bitwise_or"));
12925|  26.4k|        CmpopExprPair* gte_bitwise_or_var;
12926|  26.4k|        if (
12927|  26.4k|            (gte_bitwise_or_var = gte_bitwise_or_rule(p))  // gte_bitwise_or
  ------------------
  |  Branch (12927:13): [True: 28, False: 26.4k]
  ------------------
12928|  26.4k|        )
12929|     28|        {
12930|     28|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "gte_bitwise_or"));
12931|     28|            _res = gte_bitwise_or_var;
12932|     28|            goto done;
12933|     28|        }
12934|  26.4k|        p->mark = _mark;
12935|  26.4k|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
12936|  26.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "gte_bitwise_or"));
12937|  26.4k|    }
12938|      0|    { // gt_bitwise_or
12939|  26.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (12939:13): [True: 0, False: 26.4k]
  ------------------
12940|      0|            p->level--;
12941|      0|            return NULL;
12942|      0|        }
12943|  26.4k|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "gt_bitwise_or"));
12944|  26.4k|        CmpopExprPair* gt_bitwise_or_var;
12945|  26.4k|        if (
12946|  26.4k|            (gt_bitwise_or_var = gt_bitwise_or_rule(p))  // gt_bitwise_or
  ------------------
  |  Branch (12946:13): [True: 64, False: 26.3k]
  ------------------
12947|  26.4k|        )
12948|     64|        {
12949|     64|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "gt_bitwise_or"));
12950|     64|            _res = gt_bitwise_or_var;
12951|     64|            goto done;
12952|     64|        }
12953|  26.3k|        p->mark = _mark;
12954|  26.3k|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
12955|  26.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "gt_bitwise_or"));
12956|  26.3k|    }
12957|      0|    { // notin_bitwise_or
12958|  26.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (12958:13): [True: 0, False: 26.3k]
  ------------------
12959|      0|            p->level--;
12960|      0|            return NULL;
12961|      0|        }
12962|  26.3k|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "notin_bitwise_or"));
12963|  26.3k|        CmpopExprPair* notin_bitwise_or_var;
12964|  26.3k|        if (
12965|  26.3k|            (notin_bitwise_or_var = notin_bitwise_or_rule(p))  // notin_bitwise_or
  ------------------
  |  Branch (12965:13): [True: 41, False: 26.3k]
  ------------------
12966|  26.3k|        )
12967|     41|        {
12968|     41|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "notin_bitwise_or"));
12969|     41|            _res = notin_bitwise_or_var;
12970|     41|            goto done;
12971|     41|        }
12972|  26.3k|        p->mark = _mark;
12973|  26.3k|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
12974|  26.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "notin_bitwise_or"));
12975|  26.3k|    }
12976|      0|    { // in_bitwise_or
12977|  26.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (12977:13): [True: 0, False: 26.3k]
  ------------------
12978|      0|            p->level--;
12979|      0|            return NULL;
12980|      0|        }
12981|  26.3k|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "in_bitwise_or"));
12982|  26.3k|        CmpopExprPair* in_bitwise_or_var;
12983|  26.3k|        if (
12984|  26.3k|            (in_bitwise_or_var = in_bitwise_or_rule(p))  // in_bitwise_or
  ------------------
  |  Branch (12984:13): [True: 126, False: 26.2k]
  ------------------
12985|  26.3k|        )
12986|    126|        {
12987|    126|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "in_bitwise_or"));
12988|    126|            _res = in_bitwise_or_var;
12989|    126|            goto done;
12990|    126|        }
12991|  26.2k|        p->mark = _mark;
12992|  26.2k|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
12993|  26.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "in_bitwise_or"));
12994|  26.2k|    }
12995|      0|    { // isnot_bitwise_or
12996|  26.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (12996:13): [True: 0, False: 26.2k]
  ------------------
12997|      0|            p->level--;
12998|      0|            return NULL;
12999|      0|        }
13000|  26.2k|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "isnot_bitwise_or"));
13001|  26.2k|        CmpopExprPair* isnot_bitwise_or_var;
13002|  26.2k|        if (
13003|  26.2k|            (isnot_bitwise_or_var = isnot_bitwise_or_rule(p))  // isnot_bitwise_or
  ------------------
  |  Branch (13003:13): [True: 407, False: 25.8k]
  ------------------
13004|  26.2k|        )
13005|    407|        {
13006|    407|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "isnot_bitwise_or"));
13007|    407|            _res = isnot_bitwise_or_var;
13008|    407|            goto done;
13009|    407|        }
13010|  25.8k|        p->mark = _mark;
13011|  25.8k|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
13012|  25.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "isnot_bitwise_or"));
13013|  25.8k|    }
13014|      0|    { // is_bitwise_or
13015|  25.8k|        if (p->error_indicator) {
  ------------------
  |  Branch (13015:13): [True: 0, False: 25.8k]
  ------------------
13016|      0|            p->level--;
13017|      0|            return NULL;
13018|      0|        }
13019|  25.8k|        D(fprintf(stderr, "%*c> compare_op_bitwise_or_pair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "is_bitwise_or"));
13020|  25.8k|        CmpopExprPair* is_bitwise_or_var;
13021|  25.8k|        if (
13022|  25.8k|            (is_bitwise_or_var = is_bitwise_or_rule(p))  // is_bitwise_or
  ------------------
  |  Branch (13022:13): [True: 443, False: 25.3k]
  ------------------
13023|  25.8k|        )
13024|    443|        {
13025|    443|            D(fprintf(stderr, "%*c+ compare_op_bitwise_or_pair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "is_bitwise_or"));
13026|    443|            _res = is_bitwise_or_var;
13027|    443|            goto done;
13028|    443|        }
13029|  25.3k|        p->mark = _mark;
13030|  25.3k|        D(fprintf(stderr, "%*c%s compare_op_bitwise_or_pair[%d-%d]: %s failed!\n", p->level, ' ',
13031|  25.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "is_bitwise_or"));
13032|  25.3k|    }
13033|  25.3k|    _res = NULL;
13034|  27.1k|  done:
13035|  27.1k|    p->level--;
13036|  27.1k|    return _res;
13037|  25.3k|}
parser.c:eq_bitwise_or_rule:
13042|  27.1k|{
13043|  27.1k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  54.2k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13043:9): [True: 0, False: 27.1k]
  |  Branch (13043:35): [True: 0, False: 27.1k]
  ------------------
13044|      0|        _Pypegen_stack_overflow(p);
13045|      0|    }
13046|  27.1k|    if (p->error_indicator) {
  ------------------
  |  Branch (13046:9): [True: 0, False: 27.1k]
  ------------------
13047|      0|        p->level--;
13048|      0|        return NULL;
13049|      0|    }
13050|  27.1k|    CmpopExprPair* _res = NULL;
13051|  27.1k|    int _mark = p->mark;
13052|  27.1k|    { // '==' bitwise_or
13053|  27.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (13053:13): [True: 0, False: 27.1k]
  ------------------
13054|      0|            p->level--;
13055|      0|            return NULL;
13056|      0|        }
13057|  27.1k|        D(fprintf(stderr, "%*c> eq_bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'==' bitwise_or"));
13058|  27.1k|        Token * _literal;
13059|  27.1k|        expr_ty a;
13060|  27.1k|        if (
13061|  27.1k|            (_literal = _PyPegen_expect_token(p, 27))  // token='=='
  ------------------
  |  Branch (13061:13): [True: 464, False: 26.6k]
  ------------------
13062|    464|            &&
13063|    464|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (13063:13): [True: 464, False: 0]
  ------------------
13064|  27.1k|        )
13065|    464|        {
13066|    464|            D(fprintf(stderr, "%*c+ eq_bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'==' bitwise_or"));
13067|    464|            _res = _PyPegen_cmpop_expr_pair ( p , Eq , a );
13068|    464|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13068:18): [True: 0, False: 464]
  |  Branch (13068:34): [True: 0, False: 464]
  |  Branch (13068:57): [True: 0, False: 0]
  ------------------
13069|      0|                p->error_indicator = 1;
13070|      0|                p->level--;
13071|      0|                return NULL;
13072|      0|            }
13073|    464|            goto done;
13074|    464|        }
13075|  26.6k|        p->mark = _mark;
13076|  26.6k|        D(fprintf(stderr, "%*c%s eq_bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
13077|  26.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'==' bitwise_or"));
13078|  26.6k|    }
13079|  26.6k|    _res = NULL;
13080|  27.1k|  done:
13081|  27.1k|    p->level--;
13082|  27.1k|    return _res;
13083|  26.6k|}
parser.c:noteq_bitwise_or_rule:
13088|  26.6k|{
13089|  26.6k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  53.3k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13089:9): [True: 0, False: 26.6k]
  |  Branch (13089:35): [True: 0, False: 26.6k]
  ------------------
13090|      0|        _Pypegen_stack_overflow(p);
13091|      0|    }
13092|  26.6k|    if (p->error_indicator) {
  ------------------
  |  Branch (13092:9): [True: 0, False: 26.6k]
  ------------------
13093|      0|        p->level--;
13094|      0|        return NULL;
13095|      0|    }
13096|  26.6k|    CmpopExprPair* _res = NULL;
13097|  26.6k|    int _mark = p->mark;
13098|  26.6k|    { // ('!=') bitwise_or
13099|  26.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (13099:13): [True: 0, False: 26.6k]
  ------------------
13100|      0|            p->level--;
13101|      0|            return NULL;
13102|      0|        }
13103|  26.6k|        D(fprintf(stderr, "%*c> noteq_bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "('!=') bitwise_or"));
13104|  26.6k|        void *_tmp_64_var;
13105|  26.6k|        expr_ty a;
13106|  26.6k|        if (
13107|  26.6k|            (_tmp_64_var = _tmp_64_rule(p))  // '!='
  ------------------
  |  Branch (13107:13): [True: 67, False: 26.5k]
  ------------------
13108|     67|            &&
13109|     67|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (13109:13): [True: 67, False: 0]
  ------------------
13110|  26.6k|        )
13111|     67|        {
13112|     67|            D(fprintf(stderr, "%*c+ noteq_bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "('!=') bitwise_or"));
13113|     67|            _res = _PyPegen_cmpop_expr_pair ( p , NotEq , a );
13114|     67|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13114:18): [True: 0, False: 67]
  |  Branch (13114:34): [True: 0, False: 67]
  |  Branch (13114:57): [True: 0, False: 0]
  ------------------
13115|      0|                p->error_indicator = 1;
13116|      0|                p->level--;
13117|      0|                return NULL;
13118|      0|            }
13119|     67|            goto done;
13120|     67|        }
13121|  26.5k|        p->mark = _mark;
13122|  26.5k|        D(fprintf(stderr, "%*c%s noteq_bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
13123|  26.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "('!=') bitwise_or"));
13124|  26.5k|    }
13125|  26.5k|    _res = NULL;
13126|  26.6k|  done:
13127|  26.6k|    p->level--;
13128|  26.6k|    return _res;
13129|  26.5k|}
parser.c:_tmp_64_rule:
32399|  26.6k|{
32400|  26.6k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  53.3k|#  define MAXSTACK 6000
  ------------------
  |  Branch (32400:9): [True: 0, False: 26.6k]
  |  Branch (32400:35): [True: 0, False: 26.6k]
  ------------------
32401|      0|        _Pypegen_stack_overflow(p);
32402|      0|    }
32403|  26.6k|    if (p->error_indicator) {
  ------------------
  |  Branch (32403:9): [True: 0, False: 26.6k]
  ------------------
32404|      0|        p->level--;
32405|      0|        return NULL;
32406|      0|    }
32407|  26.6k|    void * _res = NULL;
32408|  26.6k|    int _mark = p->mark;
32409|  26.6k|    { // '!='
32410|  26.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (32410:13): [True: 0, False: 26.6k]
  ------------------
32411|      0|            p->level--;
32412|      0|            return NULL;
32413|      0|        }
32414|  26.6k|        D(fprintf(stderr, "%*c> _tmp_64[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'!='"));
32415|  26.6k|        Token * tok;
32416|  26.6k|        if (
32417|  26.6k|            (tok = _PyPegen_expect_token(p, 28))  // token='!='
  ------------------
  |  Branch (32417:13): [True: 67, False: 26.5k]
  ------------------
32418|  26.6k|        )
32419|     67|        {
32420|     67|            D(fprintf(stderr, "%*c+ _tmp_64[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'!='"));
32421|     67|            _res = _PyPegen_check_barry_as_flufl ( p , tok ) ? NULL : tok;
  ------------------
  |  Branch (32421:20): [True: 0, False: 67]
  ------------------
32422|     67|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (32422:18): [True: 0, False: 67]
  |  Branch (32422:34): [True: 0, False: 67]
  |  Branch (32422:57): [True: 0, False: 0]
  ------------------
32423|      0|                p->error_indicator = 1;
32424|      0|                p->level--;
32425|      0|                return NULL;
32426|      0|            }
32427|     67|            goto done;
32428|     67|        }
32429|  26.5k|        p->mark = _mark;
32430|  26.5k|        D(fprintf(stderr, "%*c%s _tmp_64[%d-%d]: %s failed!\n", p->level, ' ',
32431|  26.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'!='"));
32432|  26.5k|    }
32433|  26.5k|    _res = NULL;
32434|  26.6k|  done:
32435|  26.6k|    p->level--;
32436|  26.6k|    return _res;
32437|  26.5k|}
parser.c:lte_bitwise_or_rule:
13134|  26.5k|{
13135|  26.5k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  53.1k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13135:9): [True: 0, False: 26.5k]
  |  Branch (13135:35): [True: 0, False: 26.5k]
  ------------------
13136|      0|        _Pypegen_stack_overflow(p);
13137|      0|    }
13138|  26.5k|    if (p->error_indicator) {
  ------------------
  |  Branch (13138:9): [True: 0, False: 26.5k]
  ------------------
13139|      0|        p->level--;
13140|      0|        return NULL;
13141|      0|    }
13142|  26.5k|    CmpopExprPair* _res = NULL;
13143|  26.5k|    int _mark = p->mark;
13144|  26.5k|    { // '<=' bitwise_or
13145|  26.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (13145:13): [True: 0, False: 26.5k]
  ------------------
13146|      0|            p->level--;
13147|      0|            return NULL;
13148|      0|        }
13149|  26.5k|        D(fprintf(stderr, "%*c> lte_bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'<=' bitwise_or"));
13150|  26.5k|        Token * _literal;
13151|  26.5k|        expr_ty a;
13152|  26.5k|        if (
13153|  26.5k|            (_literal = _PyPegen_expect_token(p, 29))  // token='<='
  ------------------
  |  Branch (13153:13): [True: 41, False: 26.5k]
  ------------------
13154|     41|            &&
13155|     41|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (13155:13): [True: 41, False: 0]
  ------------------
13156|  26.5k|        )
13157|     41|        {
13158|     41|            D(fprintf(stderr, "%*c+ lte_bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'<=' bitwise_or"));
13159|     41|            _res = _PyPegen_cmpop_expr_pair ( p , LtE , a );
13160|     41|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13160:18): [True: 0, False: 41]
  |  Branch (13160:34): [True: 0, False: 41]
  |  Branch (13160:57): [True: 0, False: 0]
  ------------------
13161|      0|                p->error_indicator = 1;
13162|      0|                p->level--;
13163|      0|                return NULL;
13164|      0|            }
13165|     41|            goto done;
13166|     41|        }
13167|  26.5k|        p->mark = _mark;
13168|  26.5k|        D(fprintf(stderr, "%*c%s lte_bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
13169|  26.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'<=' bitwise_or"));
13170|  26.5k|    }
13171|  26.5k|    _res = NULL;
13172|  26.5k|  done:
13173|  26.5k|    p->level--;
13174|  26.5k|    return _res;
13175|  26.5k|}
parser.c:lt_bitwise_or_rule:
13180|  26.5k|{
13181|  26.5k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  53.0k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13181:9): [True: 0, False: 26.5k]
  |  Branch (13181:35): [True: 0, False: 26.5k]
  ------------------
13182|      0|        _Pypegen_stack_overflow(p);
13183|      0|    }
13184|  26.5k|    if (p->error_indicator) {
  ------------------
  |  Branch (13184:9): [True: 0, False: 26.5k]
  ------------------
13185|      0|        p->level--;
13186|      0|        return NULL;
13187|      0|    }
13188|  26.5k|    CmpopExprPair* _res = NULL;
13189|  26.5k|    int _mark = p->mark;
13190|  26.5k|    { // '<' bitwise_or
13191|  26.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (13191:13): [True: 0, False: 26.5k]
  ------------------
13192|      0|            p->level--;
13193|      0|            return NULL;
13194|      0|        }
13195|  26.5k|        D(fprintf(stderr, "%*c> lt_bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'<' bitwise_or"));
13196|  26.5k|        Token * _literal;
13197|  26.5k|        expr_ty a;
13198|  26.5k|        if (
13199|  26.5k|            (_literal = _PyPegen_expect_token(p, 20))  // token='<'
  ------------------
  |  Branch (13199:13): [True: 57, False: 26.4k]
  ------------------
13200|     57|            &&
13201|     57|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (13201:13): [True: 57, False: 0]
  ------------------
13202|  26.5k|        )
13203|     57|        {
13204|     57|            D(fprintf(stderr, "%*c+ lt_bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'<' bitwise_or"));
13205|     57|            _res = _PyPegen_cmpop_expr_pair ( p , Lt , a );
13206|     57|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13206:18): [True: 0, False: 57]
  |  Branch (13206:34): [True: 0, False: 57]
  |  Branch (13206:57): [True: 0, False: 0]
  ------------------
13207|      0|                p->error_indicator = 1;
13208|      0|                p->level--;
13209|      0|                return NULL;
13210|      0|            }
13211|     57|            goto done;
13212|     57|        }
13213|  26.4k|        p->mark = _mark;
13214|  26.4k|        D(fprintf(stderr, "%*c%s lt_bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
13215|  26.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'<' bitwise_or"));
13216|  26.4k|    }
13217|  26.4k|    _res = NULL;
13218|  26.5k|  done:
13219|  26.5k|    p->level--;
13220|  26.5k|    return _res;
13221|  26.4k|}
parser.c:gte_bitwise_or_rule:
13226|  26.4k|{
13227|  26.4k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  52.9k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13227:9): [True: 0, False: 26.4k]
  |  Branch (13227:35): [True: 0, False: 26.4k]
  ------------------
13228|      0|        _Pypegen_stack_overflow(p);
13229|      0|    }
13230|  26.4k|    if (p->error_indicator) {
  ------------------
  |  Branch (13230:9): [True: 0, False: 26.4k]
  ------------------
13231|      0|        p->level--;
13232|      0|        return NULL;
13233|      0|    }
13234|  26.4k|    CmpopExprPair* _res = NULL;
13235|  26.4k|    int _mark = p->mark;
13236|  26.4k|    { // '>=' bitwise_or
13237|  26.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (13237:13): [True: 0, False: 26.4k]
  ------------------
13238|      0|            p->level--;
13239|      0|            return NULL;
13240|      0|        }
13241|  26.4k|        D(fprintf(stderr, "%*c> gte_bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'>=' bitwise_or"));
13242|  26.4k|        Token * _literal;
13243|  26.4k|        expr_ty a;
13244|  26.4k|        if (
13245|  26.4k|            (_literal = _PyPegen_expect_token(p, 30))  // token='>='
  ------------------
  |  Branch (13245:13): [True: 28, False: 26.4k]
  ------------------
13246|     28|            &&
13247|     28|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (13247:13): [True: 28, False: 0]
  ------------------
13248|  26.4k|        )
13249|     28|        {
13250|     28|            D(fprintf(stderr, "%*c+ gte_bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'>=' bitwise_or"));
13251|     28|            _res = _PyPegen_cmpop_expr_pair ( p , GtE , a );
13252|     28|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13252:18): [True: 0, False: 28]
  |  Branch (13252:34): [True: 0, False: 28]
  |  Branch (13252:57): [True: 0, False: 0]
  ------------------
13253|      0|                p->error_indicator = 1;
13254|      0|                p->level--;
13255|      0|                return NULL;
13256|      0|            }
13257|     28|            goto done;
13258|     28|        }
13259|  26.4k|        p->mark = _mark;
13260|  26.4k|        D(fprintf(stderr, "%*c%s gte_bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
13261|  26.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'>=' bitwise_or"));
13262|  26.4k|    }
13263|  26.4k|    _res = NULL;
13264|  26.4k|  done:
13265|  26.4k|    p->level--;
13266|  26.4k|    return _res;
13267|  26.4k|}
parser.c:gt_bitwise_or_rule:
13272|  26.4k|{
13273|  26.4k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  52.9k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13273:9): [True: 0, False: 26.4k]
  |  Branch (13273:35): [True: 0, False: 26.4k]
  ------------------
13274|      0|        _Pypegen_stack_overflow(p);
13275|      0|    }
13276|  26.4k|    if (p->error_indicator) {
  ------------------
  |  Branch (13276:9): [True: 0, False: 26.4k]
  ------------------
13277|      0|        p->level--;
13278|      0|        return NULL;
13279|      0|    }
13280|  26.4k|    CmpopExprPair* _res = NULL;
13281|  26.4k|    int _mark = p->mark;
13282|  26.4k|    { // '>' bitwise_or
13283|  26.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (13283:13): [True: 0, False: 26.4k]
  ------------------
13284|      0|            p->level--;
13285|      0|            return NULL;
13286|      0|        }
13287|  26.4k|        D(fprintf(stderr, "%*c> gt_bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'>' bitwise_or"));
13288|  26.4k|        Token * _literal;
13289|  26.4k|        expr_ty a;
13290|  26.4k|        if (
13291|  26.4k|            (_literal = _PyPegen_expect_token(p, 21))  // token='>'
  ------------------
  |  Branch (13291:13): [True: 64, False: 26.3k]
  ------------------
13292|     64|            &&
13293|     64|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (13293:13): [True: 64, False: 0]
  ------------------
13294|  26.4k|        )
13295|     64|        {
13296|     64|            D(fprintf(stderr, "%*c+ gt_bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'>' bitwise_or"));
13297|     64|            _res = _PyPegen_cmpop_expr_pair ( p , Gt , a );
13298|     64|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13298:18): [True: 0, False: 64]
  |  Branch (13298:34): [True: 0, False: 64]
  |  Branch (13298:57): [True: 0, False: 0]
  ------------------
13299|      0|                p->error_indicator = 1;
13300|      0|                p->level--;
13301|      0|                return NULL;
13302|      0|            }
13303|     64|            goto done;
13304|     64|        }
13305|  26.3k|        p->mark = _mark;
13306|  26.3k|        D(fprintf(stderr, "%*c%s gt_bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
13307|  26.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'>' bitwise_or"));
13308|  26.3k|    }
13309|  26.3k|    _res = NULL;
13310|  26.4k|  done:
13311|  26.4k|    p->level--;
13312|  26.4k|    return _res;
13313|  26.3k|}
parser.c:notin_bitwise_or_rule:
13318|  26.3k|{
13319|  26.3k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  52.7k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13319:9): [True: 0, False: 26.3k]
  |  Branch (13319:35): [True: 0, False: 26.3k]
  ------------------
13320|      0|        _Pypegen_stack_overflow(p);
13321|      0|    }
13322|  26.3k|    if (p->error_indicator) {
  ------------------
  |  Branch (13322:9): [True: 0, False: 26.3k]
  ------------------
13323|      0|        p->level--;
13324|      0|        return NULL;
13325|      0|    }
13326|  26.3k|    CmpopExprPair* _res = NULL;
13327|  26.3k|    int _mark = p->mark;
13328|  26.3k|    { // 'not' 'in' bitwise_or
13329|  26.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (13329:13): [True: 0, False: 26.3k]
  ------------------
13330|      0|            p->level--;
13331|      0|            return NULL;
13332|      0|        }
13333|  26.3k|        D(fprintf(stderr, "%*c> notin_bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'not' 'in' bitwise_or"));
13334|  26.3k|        Token * _keyword;
13335|  26.3k|        Token * _keyword_1;
13336|  26.3k|        expr_ty a;
13337|  26.3k|        if (
13338|  26.3k|            (_keyword = _PyPegen_expect_token(p, 719))  // token='not'
  ------------------
  |  Branch (13338:13): [True: 41, False: 26.3k]
  ------------------
13339|     41|            &&
13340|     41|            (_keyword_1 = _PyPegen_expect_token(p, 711))  // token='in'
  ------------------
  |  Branch (13340:13): [True: 41, False: 0]
  ------------------
13341|     41|            &&
13342|     41|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (13342:13): [True: 41, False: 0]
  ------------------
13343|  26.3k|        )
13344|     41|        {
13345|     41|            D(fprintf(stderr, "%*c+ notin_bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'not' 'in' bitwise_or"));
13346|     41|            _res = _PyPegen_cmpop_expr_pair ( p , NotIn , a );
13347|     41|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13347:18): [True: 0, False: 41]
  |  Branch (13347:34): [True: 0, False: 41]
  |  Branch (13347:57): [True: 0, False: 0]
  ------------------
13348|      0|                p->error_indicator = 1;
13349|      0|                p->level--;
13350|      0|                return NULL;
13351|      0|            }
13352|     41|            goto done;
13353|     41|        }
13354|  26.3k|        p->mark = _mark;
13355|  26.3k|        D(fprintf(stderr, "%*c%s notin_bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
13356|  26.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'not' 'in' bitwise_or"));
13357|  26.3k|    }
13358|  26.3k|    _res = NULL;
13359|  26.3k|  done:
13360|  26.3k|    p->level--;
13361|  26.3k|    return _res;
13362|  26.3k|}
parser.c:in_bitwise_or_rule:
13367|  26.3k|{
13368|  26.3k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  52.7k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13368:9): [True: 0, False: 26.3k]
  |  Branch (13368:35): [True: 0, False: 26.3k]
  ------------------
13369|      0|        _Pypegen_stack_overflow(p);
13370|      0|    }
13371|  26.3k|    if (p->error_indicator) {
  ------------------
  |  Branch (13371:9): [True: 0, False: 26.3k]
  ------------------
13372|      0|        p->level--;
13373|      0|        return NULL;
13374|      0|    }
13375|  26.3k|    CmpopExprPair* _res = NULL;
13376|  26.3k|    int _mark = p->mark;
13377|  26.3k|    { // 'in' bitwise_or
13378|  26.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (13378:13): [True: 0, False: 26.3k]
  ------------------
13379|      0|            p->level--;
13380|      0|            return NULL;
13381|      0|        }
13382|  26.3k|        D(fprintf(stderr, "%*c> in_bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'in' bitwise_or"));
13383|  26.3k|        Token * _keyword;
13384|  26.3k|        expr_ty a;
13385|  26.3k|        if (
13386|  26.3k|            (_keyword = _PyPegen_expect_token(p, 711))  // token='in'
  ------------------
  |  Branch (13386:13): [True: 126, False: 26.2k]
  ------------------
13387|    126|            &&
13388|    126|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (13388:13): [True: 126, False: 0]
  ------------------
13389|  26.3k|        )
13390|    126|        {
13391|    126|            D(fprintf(stderr, "%*c+ in_bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'in' bitwise_or"));
13392|    126|            _res = _PyPegen_cmpop_expr_pair ( p , In , a );
13393|    126|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13393:18): [True: 0, False: 126]
  |  Branch (13393:34): [True: 0, False: 126]
  |  Branch (13393:57): [True: 0, False: 0]
  ------------------
13394|      0|                p->error_indicator = 1;
13395|      0|                p->level--;
13396|      0|                return NULL;
13397|      0|            }
13398|    126|            goto done;
13399|    126|        }
13400|  26.2k|        p->mark = _mark;
13401|  26.2k|        D(fprintf(stderr, "%*c%s in_bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
13402|  26.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'in' bitwise_or"));
13403|  26.2k|    }
13404|  26.2k|    _res = NULL;
13405|  26.3k|  done:
13406|  26.3k|    p->level--;
13407|  26.3k|    return _res;
13408|  26.2k|}
parser.c:isnot_bitwise_or_rule:
13413|  26.2k|{
13414|  26.2k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  52.4k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13414:9): [True: 0, False: 26.2k]
  |  Branch (13414:35): [True: 0, False: 26.2k]
  ------------------
13415|      0|        _Pypegen_stack_overflow(p);
13416|      0|    }
13417|  26.2k|    if (p->error_indicator) {
  ------------------
  |  Branch (13417:9): [True: 0, False: 26.2k]
  ------------------
13418|      0|        p->level--;
13419|      0|        return NULL;
13420|      0|    }
13421|  26.2k|    CmpopExprPair* _res = NULL;
13422|  26.2k|    int _mark = p->mark;
13423|  26.2k|    { // 'is' 'not' bitwise_or
13424|  26.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (13424:13): [True: 0, False: 26.2k]
  ------------------
13425|      0|            p->level--;
13426|      0|            return NULL;
13427|      0|        }
13428|  26.2k|        D(fprintf(stderr, "%*c> isnot_bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'is' 'not' bitwise_or"));
13429|  26.2k|        Token * _keyword;
13430|  26.2k|        Token * _keyword_1;
13431|  26.2k|        expr_ty a;
13432|  26.2k|        if (
13433|  26.2k|            (_keyword = _PyPegen_expect_token(p, 597))  // token='is'
  ------------------
  |  Branch (13433:13): [True: 850, False: 25.3k]
  ------------------
13434|    850|            &&
13435|    850|            (_keyword_1 = _PyPegen_expect_token(p, 719))  // token='not'
  ------------------
  |  Branch (13435:13): [True: 407, False: 443]
  ------------------
13436|    407|            &&
13437|    407|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (13437:13): [True: 407, False: 0]
  ------------------
13438|  26.2k|        )
13439|    407|        {
13440|    407|            D(fprintf(stderr, "%*c+ isnot_bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'is' 'not' bitwise_or"));
13441|    407|            _res = _PyPegen_cmpop_expr_pair ( p , IsNot , a );
13442|    407|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13442:18): [True: 0, False: 407]
  |  Branch (13442:34): [True: 0, False: 407]
  |  Branch (13442:57): [True: 0, False: 0]
  ------------------
13443|      0|                p->error_indicator = 1;
13444|      0|                p->level--;
13445|      0|                return NULL;
13446|      0|            }
13447|    407|            goto done;
13448|    407|        }
13449|  25.8k|        p->mark = _mark;
13450|  25.8k|        D(fprintf(stderr, "%*c%s isnot_bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
13451|  25.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'is' 'not' bitwise_or"));
13452|  25.8k|    }
13453|  25.8k|    _res = NULL;
13454|  26.2k|  done:
13455|  26.2k|    p->level--;
13456|  26.2k|    return _res;
13457|  25.8k|}
parser.c:is_bitwise_or_rule:
13462|  25.8k|{
13463|  25.8k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  51.6k|#  define MAXSTACK 6000
  ------------------
  |  Branch (13463:9): [True: 0, False: 25.8k]
  |  Branch (13463:35): [True: 0, False: 25.8k]
  ------------------
13464|      0|        _Pypegen_stack_overflow(p);
13465|      0|    }
13466|  25.8k|    if (p->error_indicator) {
  ------------------
  |  Branch (13466:9): [True: 0, False: 25.8k]
  ------------------
13467|      0|        p->level--;
13468|      0|        return NULL;
13469|      0|    }
13470|  25.8k|    CmpopExprPair* _res = NULL;
13471|  25.8k|    int _mark = p->mark;
13472|  25.8k|    { // 'is' bitwise_or
13473|  25.8k|        if (p->error_indicator) {
  ------------------
  |  Branch (13473:13): [True: 0, False: 25.8k]
  ------------------
13474|      0|            p->level--;
13475|      0|            return NULL;
13476|      0|        }
13477|  25.8k|        D(fprintf(stderr, "%*c> is_bitwise_or[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'is' bitwise_or"));
13478|  25.8k|        Token * _keyword;
13479|  25.8k|        expr_ty a;
13480|  25.8k|        if (
13481|  25.8k|            (_keyword = _PyPegen_expect_token(p, 597))  // token='is'
  ------------------
  |  Branch (13481:13): [True: 443, False: 25.3k]
  ------------------
13482|    443|            &&
13483|    443|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (13483:13): [True: 443, False: 0]
  ------------------
13484|  25.8k|        )
13485|    443|        {
13486|    443|            D(fprintf(stderr, "%*c+ is_bitwise_or[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'is' bitwise_or"));
13487|    443|            _res = _PyPegen_cmpop_expr_pair ( p , Is , a );
13488|    443|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (13488:18): [True: 0, False: 443]
  |  Branch (13488:34): [True: 0, False: 443]
  |  Branch (13488:57): [True: 0, False: 0]
  ------------------
13489|      0|                p->error_indicator = 1;
13490|      0|                p->level--;
13491|      0|                return NULL;
13492|      0|            }
13493|    443|            goto done;
13494|    443|        }
13495|  25.3k|        p->mark = _mark;
13496|  25.3k|        D(fprintf(stderr, "%*c%s is_bitwise_or[%d-%d]: %s failed!\n", p->level, ' ',
13497|  25.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'is' bitwise_or"));
13498|  25.3k|    }
13499|  25.3k|    _res = NULL;
13500|  25.8k|  done:
13501|  25.8k|    p->level--;
13502|  25.8k|    return _res;
13503|  25.3k|}
parser.c:_loop1_62_rule:
32255|  24.8k|{
32256|  24.8k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  49.7k|#  define MAXSTACK 6000
  ------------------
  |  Branch (32256:9): [True: 0, False: 24.8k]
  |  Branch (32256:35): [True: 0, False: 24.8k]
  ------------------
32257|      0|        _Pypegen_stack_overflow(p);
32258|      0|    }
32259|  24.8k|    if (p->error_indicator) {
  ------------------
  |  Branch (32259:9): [True: 0, False: 24.8k]
  ------------------
32260|      0|        p->level--;
32261|      0|        return NULL;
32262|      0|    }
32263|  24.8k|    void *_res = NULL;
32264|  24.8k|    int _mark = p->mark;
32265|  24.8k|    void **_children = PyMem_Malloc(sizeof(void *));
32266|  24.8k|    if (!_children) {
  ------------------
  |  Branch (32266:9): [True: 0, False: 24.8k]
  ------------------
32267|      0|        p->error_indicator = 1;
32268|      0|        PyErr_NoMemory();
32269|      0|        p->level--;
32270|      0|        return NULL;
32271|      0|    }
32272|  24.8k|    Py_ssize_t _children_capacity = 1;
32273|  24.8k|    Py_ssize_t _n = 0;
32274|  24.8k|    { // ('and' inversion)
32275|  24.8k|        if (p->error_indicator) {
  ------------------
  |  Branch (32275:13): [True: 0, False: 24.8k]
  ------------------
32276|      0|            p->level--;
32277|      0|            return NULL;
32278|      0|        }
32279|  24.8k|        D(fprintf(stderr, "%*c> _loop1_62[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "('and' inversion)"));
32280|  24.8k|        void *_tmp_164_var;
32281|  24.8k|        while (
32282|  25.3k|            (_tmp_164_var = _tmp_164_rule(p))  // 'and' inversion
  ------------------
  |  Branch (32282:13): [True: 483, False: 24.8k]
  ------------------
32283|  24.8k|        )
32284|    483|        {
32285|    483|            _res = _tmp_164_var;
32286|    483|            if (_n == _children_capacity) {
  ------------------
  |  Branch (32286:17): [True: 112, False: 371]
  ------------------
32287|    112|                _children_capacity *= 2;
32288|    112|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
32289|    112|                if (!_new_children) {
  ------------------
  |  Branch (32289:21): [True: 0, False: 112]
  ------------------
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|    112|                _children = _new_children;
32297|    112|            }
32298|    483|            _children[_n++] = _res;
32299|    483|            _mark = p->mark;
32300|    483|        }
32301|  24.8k|        p->mark = _mark;
32302|  24.8k|        D(fprintf(stderr, "%*c%s _loop1_62[%d-%d]: %s failed!\n", p->level, ' ',
32303|  24.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "('and' inversion)"));
32304|  24.8k|    }
32305|  24.8k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (32305:9): [True: 24.5k, False: 320]
  |  Branch (32305:20): [True: 0, False: 320]
  ------------------
32306|  24.5k|        PyMem_Free(_children);
32307|  24.5k|        p->level--;
32308|  24.5k|        return NULL;
32309|  24.5k|    }
32310|    320|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
32311|    320|    if (!_seq) {
  ------------------
  |  Branch (32311:9): [True: 0, False: 320]
  ------------------
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|    803|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|    483|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|    803|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (32318:28): [True: 483, False: 320]
  ------------------
32319|    320|    PyMem_Free(_children);
32320|    320|    p->level--;
32321|    320|    return _seq;
32322|    320|}
parser.c:_tmp_164_rule:
38534|  25.3k|{
38535|  25.3k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  50.7k|#  define MAXSTACK 6000
  ------------------
  |  Branch (38535:9): [True: 0, False: 25.3k]
  |  Branch (38535:35): [True: 0, False: 25.3k]
  ------------------
38536|      0|        _Pypegen_stack_overflow(p);
38537|      0|    }
38538|  25.3k|    if (p->error_indicator) {
  ------------------
  |  Branch (38538:9): [True: 0, False: 25.3k]
  ------------------
38539|      0|        p->level--;
38540|      0|        return NULL;
38541|      0|    }
38542|  25.3k|    void * _res = NULL;
38543|  25.3k|    int _mark = p->mark;
38544|  25.3k|    { // 'and' inversion
38545|  25.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (38545:13): [True: 0, False: 25.3k]
  ------------------
38546|      0|            p->level--;
38547|      0|            return NULL;
38548|      0|        }
38549|  25.3k|        D(fprintf(stderr, "%*c> _tmp_164[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'and' inversion"));
38550|  25.3k|        Token * _keyword;
38551|  25.3k|        expr_ty c;
38552|  25.3k|        if (
38553|  25.3k|            (_keyword = _PyPegen_expect_token(p, 590))  // token='and'
  ------------------
  |  Branch (38553:13): [True: 483, False: 24.8k]
  ------------------
38554|    483|            &&
38555|    483|            (c = inversion_rule(p))  // inversion
  ------------------
  |  Branch (38555:13): [True: 483, False: 0]
  ------------------
38556|  25.3k|        )
38557|    483|        {
38558|    483|            D(fprintf(stderr, "%*c+ _tmp_164[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'and' inversion"));
38559|    483|            _res = c;
38560|    483|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (38560:18): [True: 0, False: 483]
  |  Branch (38560:34): [True: 0, False: 483]
  |  Branch (38560:57): [True: 0, False: 0]
  ------------------
38561|      0|                p->error_indicator = 1;
38562|      0|                p->level--;
38563|      0|                return NULL;
38564|      0|            }
38565|    483|            goto done;
38566|    483|        }
38567|  24.8k|        p->mark = _mark;
38568|  24.8k|        D(fprintf(stderr, "%*c%s _tmp_164[%d-%d]: %s failed!\n", p->level, ' ',
38569|  24.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'and' inversion"));
38570|  24.8k|    }
38571|  24.8k|    _res = NULL;
38572|  25.3k|  done:
38573|  25.3k|    p->level--;
38574|  25.3k|    return _res;
38575|  24.8k|}
parser.c:_loop1_61_rule:
32183|  24.7k|{
32184|  24.7k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  49.4k|#  define MAXSTACK 6000
  ------------------
  |  Branch (32184:9): [True: 0, False: 24.7k]
  |  Branch (32184:35): [True: 0, False: 24.7k]
  ------------------
32185|      0|        _Pypegen_stack_overflow(p);
32186|      0|    }
32187|  24.7k|    if (p->error_indicator) {
  ------------------
  |  Branch (32187:9): [True: 0, False: 24.7k]
  ------------------
32188|      0|        p->level--;
32189|      0|        return NULL;
32190|      0|    }
32191|  24.7k|    void *_res = NULL;
32192|  24.7k|    int _mark = p->mark;
32193|  24.7k|    void **_children = PyMem_Malloc(sizeof(void *));
32194|  24.7k|    if (!_children) {
  ------------------
  |  Branch (32194:9): [True: 0, False: 24.7k]
  ------------------
32195|      0|        p->error_indicator = 1;
32196|      0|        PyErr_NoMemory();
32197|      0|        p->level--;
32198|      0|        return NULL;
32199|      0|    }
32200|  24.7k|    Py_ssize_t _children_capacity = 1;
32201|  24.7k|    Py_ssize_t _n = 0;
32202|  24.7k|    { // ('or' conjunction)
32203|  24.7k|        if (p->error_indicator) {
  ------------------
  |  Branch (32203:13): [True: 0, False: 24.7k]
  ------------------
32204|      0|            p->level--;
32205|      0|            return NULL;
32206|      0|        }
32207|  24.7k|        D(fprintf(stderr, "%*c> _loop1_61[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "('or' conjunction)"));
32208|  24.7k|        void *_tmp_163_var;
32209|  24.7k|        while (
32210|  24.8k|            (_tmp_163_var = _tmp_163_rule(p))  // 'or' conjunction
  ------------------
  |  Branch (32210:13): [True: 177, False: 24.7k]
  ------------------
32211|  24.7k|        )
32212|    177|        {
32213|    177|            _res = _tmp_163_var;
32214|    177|            if (_n == _children_capacity) {
  ------------------
  |  Branch (32214:17): [True: 7, False: 170]
  ------------------
32215|      7|                _children_capacity *= 2;
32216|      7|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
32217|      7|                if (!_new_children) {
  ------------------
  |  Branch (32217:21): [True: 0, False: 7]
  ------------------
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|      7|                _children = _new_children;
32225|      7|            }
32226|    177|            _children[_n++] = _res;
32227|    177|            _mark = p->mark;
32228|    177|        }
32229|  24.7k|        p->mark = _mark;
32230|  24.7k|        D(fprintf(stderr, "%*c%s _loop1_61[%d-%d]: %s failed!\n", p->level, ' ',
32231|  24.7k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "('or' conjunction)"));
32232|  24.7k|    }
32233|  24.7k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (32233:9): [True: 24.5k, False: 168]
  |  Branch (32233:20): [True: 0, False: 168]
  ------------------
32234|  24.5k|        PyMem_Free(_children);
32235|  24.5k|        p->level--;
32236|  24.5k|        return NULL;
32237|  24.5k|    }
32238|    168|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
32239|    168|    if (!_seq) {
  ------------------
  |  Branch (32239:9): [True: 0, False: 168]
  ------------------
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|    345|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|    177|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|    345|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (32246:28): [True: 177, False: 168]
  ------------------
32247|    168|    PyMem_Free(_children);
32248|    168|    p->level--;
32249|    168|    return _seq;
32250|    168|}
parser.c:_tmp_163_rule:
38488|  24.8k|{
38489|  24.8k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  49.7k|#  define MAXSTACK 6000
  ------------------
  |  Branch (38489:9): [True: 0, False: 24.8k]
  |  Branch (38489:35): [True: 0, False: 24.8k]
  ------------------
38490|      0|        _Pypegen_stack_overflow(p);
38491|      0|    }
38492|  24.8k|    if (p->error_indicator) {
  ------------------
  |  Branch (38492:9): [True: 0, False: 24.8k]
  ------------------
38493|      0|        p->level--;
38494|      0|        return NULL;
38495|      0|    }
38496|  24.8k|    void * _res = NULL;
38497|  24.8k|    int _mark = p->mark;
38498|  24.8k|    { // 'or' conjunction
38499|  24.8k|        if (p->error_indicator) {
  ------------------
  |  Branch (38499:13): [True: 0, False: 24.8k]
  ------------------
38500|      0|            p->level--;
38501|      0|            return NULL;
38502|      0|        }
38503|  24.8k|        D(fprintf(stderr, "%*c> _tmp_163[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'or' conjunction"));
38504|  24.8k|        Token * _keyword;
38505|  24.8k|        expr_ty c;
38506|  24.8k|        if (
38507|  24.8k|            (_keyword = _PyPegen_expect_token(p, 589))  // token='or'
  ------------------
  |  Branch (38507:13): [True: 177, False: 24.7k]
  ------------------
38508|    177|            &&
38509|    177|            (c = conjunction_rule(p))  // conjunction
  ------------------
  |  Branch (38509:13): [True: 177, False: 0]
  ------------------
38510|  24.8k|        )
38511|    177|        {
38512|    177|            D(fprintf(stderr, "%*c+ _tmp_163[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'or' conjunction"));
38513|    177|            _res = c;
38514|    177|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (38514:18): [True: 0, False: 177]
  |  Branch (38514:34): [True: 0, False: 177]
  |  Branch (38514:57): [True: 0, False: 0]
  ------------------
38515|      0|                p->error_indicator = 1;
38516|      0|                p->level--;
38517|      0|                return NULL;
38518|      0|            }
38519|    177|            goto done;
38520|    177|        }
38521|  24.7k|        p->mark = _mark;
38522|  24.7k|        D(fprintf(stderr, "%*c%s _tmp_163[%d-%d]: %s failed!\n", p->level, ' ',
38523|  24.7k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'or' conjunction"));
38524|  24.7k|    }
38525|  24.7k|    _res = NULL;
38526|  24.8k|  done:
38527|  24.8k|    p->level--;
38528|  24.8k|    return _res;
38529|  24.7k|}
parser.c:for_if_clauses_rule:
18023|  9.28k|{
18024|  9.28k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  18.5k|#  define MAXSTACK 6000
  ------------------
  |  Branch (18024:9): [True: 0, False: 9.28k]
  |  Branch (18024:35): [True: 0, False: 9.28k]
  ------------------
18025|      0|        _Pypegen_stack_overflow(p);
18026|      0|    }
18027|  9.28k|    if (p->error_indicator) {
  ------------------
  |  Branch (18027:9): [True: 0, False: 9.28k]
  ------------------
18028|      0|        p->level--;
18029|      0|        return NULL;
18030|      0|    }
18031|  9.28k|    asdl_comprehension_seq* _res = NULL;
18032|  9.28k|    int _mark = p->mark;
18033|  9.28k|    { // for_if_clause+
18034|  9.28k|        if (p->error_indicator) {
  ------------------
  |  Branch (18034:13): [True: 0, False: 9.28k]
  ------------------
18035|      0|            p->level--;
18036|      0|            return NULL;
18037|      0|        }
18038|  9.28k|        D(fprintf(stderr, "%*c> for_if_clauses[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "for_if_clause+"));
18039|  9.28k|        asdl_comprehension_seq* a;
18040|  9.28k|        if (
18041|  9.28k|            (a = (asdl_comprehension_seq*)_loop1_87_rule(p))  // for_if_clause+
  ------------------
  |  Branch (18041:13): [True: 167, False: 9.12k]
  ------------------
18042|  9.28k|        )
18043|    167|        {
18044|    167|            D(fprintf(stderr, "%*c+ for_if_clauses[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "for_if_clause+"));
18045|    167|            _res = a;
18046|    167|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18046:18): [True: 0, False: 167]
  |  Branch (18046:34): [True: 0, False: 167]
  |  Branch (18046:57): [True: 0, False: 0]
  ------------------
18047|      0|                p->error_indicator = 1;
18048|      0|                p->level--;
18049|      0|                return NULL;
18050|      0|            }
18051|    167|            goto done;
18052|    167|        }
18053|  9.12k|        p->mark = _mark;
18054|  9.12k|        D(fprintf(stderr, "%*c%s for_if_clauses[%d-%d]: %s failed!\n", p->level, ' ',
18055|  9.12k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "for_if_clause+"));
18056|  9.12k|    }
18057|  9.12k|    _res = NULL;
18058|  9.28k|  done:
18059|  9.28k|    p->level--;
18060|  9.28k|    return _res;
18061|  9.12k|}
parser.c:_loop1_87_rule:
33885|  9.28k|{
33886|  9.28k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  18.5k|#  define MAXSTACK 6000
  ------------------
  |  Branch (33886:9): [True: 0, False: 9.28k]
  |  Branch (33886:35): [True: 0, False: 9.28k]
  ------------------
33887|      0|        _Pypegen_stack_overflow(p);
33888|      0|    }
33889|  9.28k|    if (p->error_indicator) {
  ------------------
  |  Branch (33889:9): [True: 0, False: 9.28k]
  ------------------
33890|      0|        p->level--;
33891|      0|        return NULL;
33892|      0|    }
33893|  9.28k|    void *_res = NULL;
33894|  9.28k|    int _mark = p->mark;
33895|  9.28k|    void **_children = PyMem_Malloc(sizeof(void *));
33896|  9.28k|    if (!_children) {
  ------------------
  |  Branch (33896:9): [True: 0, False: 9.28k]
  ------------------
33897|      0|        p->error_indicator = 1;
33898|      0|        PyErr_NoMemory();
33899|      0|        p->level--;
33900|      0|        return NULL;
33901|      0|    }
33902|  9.28k|    Py_ssize_t _children_capacity = 1;
33903|  9.28k|    Py_ssize_t _n = 0;
33904|  9.28k|    { // for_if_clause
33905|  9.28k|        if (p->error_indicator) {
  ------------------
  |  Branch (33905:13): [True: 0, False: 9.28k]
  ------------------
33906|      0|            p->level--;
33907|      0|            return NULL;
33908|      0|        }
33909|  9.28k|        D(fprintf(stderr, "%*c> _loop1_87[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "for_if_clause"));
33910|  9.28k|        comprehension_ty for_if_clause_var;
33911|  9.28k|        while (
33912|  9.45k|            (for_if_clause_var = for_if_clause_rule(p))  // for_if_clause
  ------------------
  |  Branch (33912:13): [True: 170, False: 9.28k]
  ------------------
33913|  9.28k|        )
33914|    170|        {
33915|    170|            _res = for_if_clause_var;
33916|    170|            if (_n == _children_capacity) {
  ------------------
  |  Branch (33916:17): [True: 3, False: 167]
  ------------------
33917|      3|                _children_capacity *= 2;
33918|      3|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
33919|      3|                if (!_new_children) {
  ------------------
  |  Branch (33919:21): [True: 0, False: 3]
  ------------------
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|      3|                _children = _new_children;
33927|      3|            }
33928|    170|            _children[_n++] = _res;
33929|    170|            _mark = p->mark;
33930|    170|        }
33931|  9.28k|        p->mark = _mark;
33932|  9.28k|        D(fprintf(stderr, "%*c%s _loop1_87[%d-%d]: %s failed!\n", p->level, ' ',
33933|  9.28k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "for_if_clause"));
33934|  9.28k|    }
33935|  9.28k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (33935:9): [True: 9.12k, False: 167]
  |  Branch (33935:20): [True: 0, False: 167]
  ------------------
33936|  9.12k|        PyMem_Free(_children);
33937|  9.12k|        p->level--;
33938|  9.12k|        return NULL;
33939|  9.12k|    }
33940|    167|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
33941|    167|    if (!_seq) {
  ------------------
  |  Branch (33941:9): [True: 0, False: 167]
  ------------------
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|    337|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|    170|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|    337|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (33948:28): [True: 170, False: 167]
  ------------------
33949|    167|    PyMem_Free(_children);
33950|    167|    p->level--;
33951|    167|    return _seq;
33952|    167|}
parser.c:for_if_clause_rule:
18070|  9.45k|{
18071|  9.45k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  18.9k|#  define MAXSTACK 6000
  ------------------
  |  Branch (18071:9): [True: 0, False: 9.45k]
  |  Branch (18071:35): [True: 0, False: 9.45k]
  ------------------
18072|      0|        _Pypegen_stack_overflow(p);
18073|      0|    }
18074|  9.45k|    if (p->error_indicator) {
  ------------------
  |  Branch (18074:9): [True: 0, False: 9.45k]
  ------------------
18075|      0|        p->level--;
18076|      0|        return NULL;
18077|      0|    }
18078|  9.45k|    comprehension_ty _res = NULL;
18079|  9.45k|    int _mark = p->mark;
18080|  9.45k|    { // 'async' 'for' star_targets 'in' ~ disjunction (('if' disjunction))*
18081|  9.45k|        if (p->error_indicator) {
  ------------------
  |  Branch (18081:13): [True: 0, False: 9.45k]
  ------------------
18082|      0|            p->level--;
18083|      0|            return NULL;
18084|      0|        }
18085|  9.45k|        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|  9.45k|        int _cut_var = 0;
18087|  9.45k|        Token * _keyword;
18088|  9.45k|        Token * _keyword_1;
18089|  9.45k|        Token * _keyword_2;
18090|  9.45k|        expr_ty a;
18091|  9.45k|        expr_ty b;
18092|  9.45k|        asdl_expr_seq* c;
18093|  9.45k|        if (
18094|  9.45k|            (_keyword = _PyPegen_expect_token(p, 714))  // token='async'
  ------------------
  |  Branch (18094:13): [True: 0, False: 9.45k]
  ------------------
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|  9.45k|        )
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|  9.45k|        p->mark = _mark;
18119|  9.45k|        D(fprintf(stderr, "%*c%s for_if_clause[%d-%d]: %s failed!\n", p->level, ' ',
18120|  9.45k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'async' 'for' star_targets 'in' ~ disjunction (('if' disjunction))*"));
18121|  9.45k|        if (_cut_var) {
  ------------------
  |  Branch (18121:13): [True: 0, False: 9.45k]
  ------------------
18122|      0|            p->level--;
18123|      0|            return NULL;
18124|      0|        }
18125|  9.45k|    }
18126|  9.45k|    { // 'for' star_targets 'in' ~ disjunction (('if' disjunction))*
18127|  9.45k|        if (p->error_indicator) {
  ------------------
  |  Branch (18127:13): [True: 0, False: 9.45k]
  ------------------
18128|      0|            p->level--;
18129|      0|            return NULL;
18130|      0|        }
18131|  9.45k|        D(fprintf(stderr, "%*c> for_if_clause[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'for' star_targets 'in' ~ disjunction (('if' disjunction))*"));
18132|  9.45k|        int _cut_var = 0;
18133|  9.45k|        Token * _keyword;
18134|  9.45k|        Token * _keyword_1;
18135|  9.45k|        expr_ty a;
18136|  9.45k|        expr_ty b;
18137|  9.45k|        asdl_expr_seq* c;
18138|  9.45k|        if (
18139|  9.45k|            (_keyword = _PyPegen_expect_token(p, 710))  // token='for'
  ------------------
  |  Branch (18139:13): [True: 170, False: 9.28k]
  ------------------
18140|    170|            &&
18141|    170|            (a = star_targets_rule(p))  // star_targets
  ------------------
  |  Branch (18141:13): [True: 170, False: 0]
  ------------------
18142|    170|            &&
18143|    170|            (_keyword_1 = _PyPegen_expect_token(p, 711))  // token='in'
  ------------------
  |  Branch (18143:13): [True: 170, False: 0]
  ------------------
18144|    170|            &&
18145|    170|            (_cut_var = 1)
  ------------------
  |  Branch (18145:13): [True: 170, False: 0]
  ------------------
18146|    170|            &&
18147|    170|            (b = disjunction_rule(p))  // disjunction
  ------------------
  |  Branch (18147:13): [True: 170, False: 0]
  ------------------
18148|    170|            &&
18149|    170|            (c = (asdl_expr_seq*)_loop0_88_rule(p))  // (('if' disjunction))*
  ------------------
  |  Branch (18149:13): [True: 170, False: 0]
  ------------------
18150|  9.45k|        )
18151|    170|        {
18152|    170|            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|    170|            _res = _PyAST_comprehension ( a , b , c , 0 , p -> arena );
18154|    170|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18154:18): [True: 0, False: 170]
  |  Branch (18154:34): [True: 0, False: 170]
  |  Branch (18154:57): [True: 0, False: 0]
  ------------------
18155|      0|                p->error_indicator = 1;
18156|      0|                p->level--;
18157|      0|                return NULL;
18158|      0|            }
18159|    170|            goto done;
18160|    170|        }
18161|  9.28k|        p->mark = _mark;
18162|  9.28k|        D(fprintf(stderr, "%*c%s for_if_clause[%d-%d]: %s failed!\n", p->level, ' ',
18163|  9.28k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'for' star_targets 'in' ~ disjunction (('if' disjunction))*"));
18164|  9.28k|        if (_cut_var) {
  ------------------
  |  Branch (18164:13): [True: 0, False: 9.28k]
  ------------------
18165|      0|            p->level--;
18166|      0|            return NULL;
18167|      0|        }
18168|  9.28k|    }
18169|  9.28k|    if (p->call_invalid_rules) { // invalid_for_if_clause
  ------------------
  |  Branch (18169:9): [True: 0, False: 9.28k]
  ------------------
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|  9.28k|    if (p->call_invalid_rules) { // invalid_for_target
  ------------------
  |  Branch (18188:9): [True: 0, False: 9.28k]
  ------------------
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|  9.28k|    _res = NULL;
18208|  9.45k|  done:
18209|  9.45k|    p->level--;
18210|  9.45k|    return _res;
18211|  9.28k|}
parser.c:star_targets_rule:
19199|   127k|{
19200|   127k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   255k|#  define MAXSTACK 6000
  ------------------
  |  Branch (19200:9): [True: 0, False: 127k]
  |  Branch (19200:35): [True: 0, False: 127k]
  ------------------
19201|      0|        _Pypegen_stack_overflow(p);
19202|      0|    }
19203|   127k|    if (p->error_indicator) {
  ------------------
  |  Branch (19203:9): [True: 0, False: 127k]
  ------------------
19204|      0|        p->level--;
19205|      0|        return NULL;
19206|      0|    }
19207|   127k|    expr_ty _res = NULL;
19208|   127k|    int _mark = p->mark;
19209|   127k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (19209:9): [True: 3.77k, False: 123k]
  |  Branch (19209:31): [True: 0, False: 3.77k]
  ------------------
19210|      0|        p->error_indicator = 1;
19211|      0|        p->level--;
19212|      0|        return NULL;
19213|      0|    }
19214|   127k|    int _start_lineno = p->tokens[_mark]->lineno;
19215|   127k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|   127k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 127k]
  |  |  ------------------
  ------------------
19216|   127k|    int _start_col_offset = p->tokens[_mark]->col_offset;
19217|   127k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|   127k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 127k]
  |  |  ------------------
  ------------------
19218|   127k|    { // star_target !','
19219|   127k|        if (p->error_indicator) {
  ------------------
  |  Branch (19219:13): [True: 0, False: 127k]
  ------------------
19220|      0|            p->level--;
19221|      0|            return NULL;
19222|      0|        }
19223|   127k|        D(fprintf(stderr, "%*c> star_targets[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_target !','"));
19224|   127k|        expr_ty a;
19225|   127k|        if (
19226|   127k|            (a = star_target_rule(p))  // star_target
  ------------------
  |  Branch (19226:13): [True: 8.38k, False: 119k]
  ------------------
19227|  8.38k|            &&
19228|  8.38k|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 12)  // token=','
  ------------------
  |  Branch (19228:13): [True: 8.16k, False: 223]
  ------------------
19229|   127k|        )
19230|  8.16k|        {
19231|  8.16k|            D(fprintf(stderr, "%*c+ star_targets[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_target !','"));
19232|  8.16k|            _res = a;
19233|  8.16k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19233:18): [True: 0, False: 8.16k]
  |  Branch (19233:34): [True: 0, False: 8.16k]
  |  Branch (19233:57): [True: 0, False: 0]
  ------------------
19234|      0|                p->error_indicator = 1;
19235|      0|                p->level--;
19236|      0|                return NULL;
19237|      0|            }
19238|  8.16k|            goto done;
19239|  8.16k|        }
19240|   119k|        p->mark = _mark;
19241|   119k|        D(fprintf(stderr, "%*c%s star_targets[%d-%d]: %s failed!\n", p->level, ' ',
19242|   119k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_target !','"));
19243|   119k|    }
19244|      0|    { // star_target ((',' star_target))* ','?
19245|   119k|        if (p->error_indicator) {
  ------------------
  |  Branch (19245:13): [True: 0, False: 119k]
  ------------------
19246|      0|            p->level--;
19247|      0|            return NULL;
19248|      0|        }
19249|   119k|        D(fprintf(stderr, "%*c> star_targets[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_target ((',' star_target))* ','?"));
19250|   119k|        void *_opt_var;
19251|   119k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  267|   119k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 119k]
  |  |  ------------------
  ------------------
19252|   119k|        expr_ty a;
19253|   119k|        asdl_seq * b;
19254|   119k|        if (
19255|   119k|            (a = star_target_rule(p))  // star_target
  ------------------
  |  Branch (19255:13): [True: 223, False: 119k]
  ------------------
19256|    223|            &&
19257|    223|            (b = _loop0_97_rule(p))  // ((',' star_target))*
  ------------------
  |  Branch (19257:13): [True: 223, False: 0]
  ------------------
19258|    223|            &&
19259|    223|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (19259:13): [True: 223, False: 0]
  ------------------
19260|   119k|        )
19261|    223|        {
19262|    223|            D(fprintf(stderr, "%*c+ star_targets[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_target ((',' star_target))* ','?"));
19263|    223|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
19264|    223|            if (_token == NULL) {
  ------------------
  |  Branch (19264:17): [True: 0, False: 223]
  ------------------
19265|      0|                p->level--;
19266|      0|                return NULL;
19267|      0|            }
19268|    223|            int _end_lineno = _token->end_lineno;
19269|    223|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    223|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 223]
  |  |  ------------------
  ------------------
19270|    223|            int _end_col_offset = _token->end_col_offset;
19271|    223|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    223|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 223]
  |  |  ------------------
  ------------------
19272|    223|            _res = _PyAST_Tuple ( CHECK ( asdl_expr_seq* , _PyPegen_seq_insert_in_front ( p , a , b ) ) , Store , EXTRA );
  ------------------
  |  |  233|    223|#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|    223|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
19273|    223|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19273:18): [True: 0, False: 223]
  |  Branch (19273:34): [True: 0, False: 223]
  |  Branch (19273:57): [True: 0, False: 0]
  ------------------
19274|      0|                p->error_indicator = 1;
19275|      0|                p->level--;
19276|      0|                return NULL;
19277|      0|            }
19278|    223|            goto done;
19279|    223|        }
19280|   119k|        p->mark = _mark;
19281|   119k|        D(fprintf(stderr, "%*c%s star_targets[%d-%d]: %s failed!\n", p->level, ' ',
19282|   119k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_target ((',' star_target))* ','?"));
19283|   119k|    }
19284|   119k|    _res = NULL;
19285|   127k|  done:
19286|   127k|    p->level--;
19287|   127k|    return _res;
19288|   119k|}
parser.c:star_target_rule:
19417|   247k|{
19418|   247k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   495k|#  define MAXSTACK 6000
  ------------------
  |  Branch (19418:9): [True: 0, False: 247k]
  |  Branch (19418:35): [True: 0, False: 247k]
  ------------------
19419|      0|        _Pypegen_stack_overflow(p);
19420|      0|    }
19421|   247k|    if (p->error_indicator) {
  ------------------
  |  Branch (19421:9): [True: 0, False: 247k]
  ------------------
19422|      0|        p->level--;
19423|      0|        return NULL;
19424|      0|    }
19425|   247k|    expr_ty _res = NULL;
19426|   247k|    if (_PyPegen_is_memoized(p, star_target_type, &_res)) {
  ------------------
  |  |  285|   247k|#define star_target_type 1196
  ------------------
  |  Branch (19426:9): [True: 173k, False: 73.7k]
  ------------------
19427|   173k|        p->level--;
19428|   173k|        return _res;
19429|   173k|    }
19430|  73.7k|    int _mark = p->mark;
19431|  73.7k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (19431:9): [True: 0, False: 73.7k]
  |  Branch (19431:31): [True: 0, False: 0]
  ------------------
19432|      0|        p->error_indicator = 1;
19433|      0|        p->level--;
19434|      0|        return NULL;
19435|      0|    }
19436|  73.7k|    int _start_lineno = p->tokens[_mark]->lineno;
19437|  73.7k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|  73.7k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 73.7k]
  |  |  ------------------
  ------------------
19438|  73.7k|    int _start_col_offset = p->tokens[_mark]->col_offset;
19439|  73.7k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|  73.7k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 73.7k]
  |  |  ------------------
  ------------------
19440|  73.7k|    { // '*' (!'*' star_target)
19441|  73.7k|        if (p->error_indicator) {
  ------------------
  |  Branch (19441:13): [True: 0, False: 73.7k]
  ------------------
19442|      0|            p->level--;
19443|      0|            return NULL;
19444|      0|        }
19445|  73.7k|        D(fprintf(stderr, "%*c> star_target[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' (!'*' star_target)"));
19446|  73.7k|        Token * _literal;
19447|  73.7k|        void *a;
19448|  73.7k|        if (
19449|  73.7k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (19449:13): [True: 1, False: 73.7k]
  ------------------
19450|      1|            &&
19451|      1|            (a = _tmp_101_rule(p))  // !'*' star_target
  ------------------
  |  Branch (19451:13): [True: 1, False: 0]
  ------------------
19452|  73.7k|        )
19453|      1|        {
19454|      1|            D(fprintf(stderr, "%*c+ star_target[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' (!'*' star_target)"));
19455|      1|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
19456|      1|            if (_token == NULL) {
  ------------------
  |  Branch (19456:17): [True: 0, False: 1]
  ------------------
19457|      0|                p->level--;
19458|      0|                return NULL;
19459|      0|            }
19460|      1|            int _end_lineno = _token->end_lineno;
19461|      1|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      1|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 1]
  |  |  ------------------
  ------------------
19462|      1|            int _end_col_offset = _token->end_col_offset;
19463|      1|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      1|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 1]
  |  |  ------------------
  ------------------
19464|      1|            _res = _PyAST_Starred ( CHECK ( expr_ty , _PyPegen_set_expr_context ( p , a , Store ) ) , Store , EXTRA );
  ------------------
  |  |  233|      1|#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|      1|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
19465|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19465:18): [True: 0, False: 1]
  |  Branch (19465:34): [True: 0, False: 1]
  |  Branch (19465:57): [True: 0, False: 0]
  ------------------
19466|      0|                p->error_indicator = 1;
19467|      0|                p->level--;
19468|      0|                return NULL;
19469|      0|            }
19470|      1|            goto done;
19471|      1|        }
19472|  73.7k|        p->mark = _mark;
19473|  73.7k|        D(fprintf(stderr, "%*c%s star_target[%d-%d]: %s failed!\n", p->level, ' ',
19474|  73.7k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' (!'*' star_target)"));
19475|  73.7k|    }
19476|      0|    { // target_with_star_atom
19477|  73.7k|        if (p->error_indicator) {
  ------------------
  |  Branch (19477:13): [True: 0, False: 73.7k]
  ------------------
19478|      0|            p->level--;
19479|      0|            return NULL;
19480|      0|        }
19481|  73.7k|        D(fprintf(stderr, "%*c> star_target[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "target_with_star_atom"));
19482|  73.7k|        expr_ty target_with_star_atom_var;
19483|  73.7k|        if (
19484|  73.7k|            (target_with_star_atom_var = target_with_star_atom_rule(p))  // target_with_star_atom
  ------------------
  |  Branch (19484:13): [True: 8.75k, False: 65.0k]
  ------------------
19485|  73.7k|        )
19486|  8.75k|        {
19487|  8.75k|            D(fprintf(stderr, "%*c+ star_target[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "target_with_star_atom"));
19488|  8.75k|            _res = target_with_star_atom_var;
19489|  8.75k|            goto done;
19490|  8.75k|        }
19491|  65.0k|        p->mark = _mark;
19492|  65.0k|        D(fprintf(stderr, "%*c%s star_target[%d-%d]: %s failed!\n", p->level, ' ',
19493|  65.0k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "target_with_star_atom"));
19494|  65.0k|    }
19495|  65.0k|    _res = NULL;
19496|  73.7k|  done:
19497|  73.7k|    _PyPegen_insert_memo(p, _mark, star_target_type, _res);
  ------------------
  |  |  285|  73.7k|#define star_target_type 1196
  ------------------
19498|  73.7k|    p->level--;
19499|  73.7k|    return _res;
19500|  65.0k|}
parser.c:_tmp_101_rule:
34756|      1|{
34757|      1|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|      2|#  define MAXSTACK 6000
  ------------------
  |  Branch (34757:9): [True: 0, False: 1]
  |  Branch (34757:35): [True: 0, False: 1]
  ------------------
34758|      0|        _Pypegen_stack_overflow(p);
34759|      0|    }
34760|      1|    if (p->error_indicator) {
  ------------------
  |  Branch (34760:9): [True: 0, False: 1]
  ------------------
34761|      0|        p->level--;
34762|      0|        return NULL;
34763|      0|    }
34764|      1|    void * _res = NULL;
34765|      1|    int _mark = p->mark;
34766|      1|    { // !'*' star_target
34767|      1|        if (p->error_indicator) {
  ------------------
  |  Branch (34767:13): [True: 0, False: 1]
  ------------------
34768|      0|            p->level--;
34769|      0|            return NULL;
34770|      0|        }
34771|      1|        D(fprintf(stderr, "%*c> _tmp_101[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "!'*' star_target"));
34772|      1|        expr_ty star_target_var;
34773|      1|        if (
34774|      1|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 16)  // token='*'
  ------------------
  |  Branch (34774:13): [True: 1, False: 0]
  ------------------
34775|      1|            &&
34776|      1|            (star_target_var = star_target_rule(p))  // star_target
  ------------------
  |  Branch (34776:13): [True: 1, False: 0]
  ------------------
34777|      1|        )
34778|      1|        {
34779|      1|            D(fprintf(stderr, "%*c+ _tmp_101[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "!'*' star_target"));
34780|      1|            _res = star_target_var;
34781|      1|            goto done;
34782|      1|        }
34783|      0|        p->mark = _mark;
34784|      0|        D(fprintf(stderr, "%*c%s _tmp_101[%d-%d]: %s failed!\n", p->level, ' ',
34785|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "!'*' star_target"));
34786|      0|    }
34787|      0|    _res = NULL;
34788|      1|  done:
34789|      1|    p->level--;
34790|      1|    return _res;
34791|      0|}
parser.c:target_with_star_atom_rule:
19508|  73.9k|{
19509|  73.9k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   147k|#  define MAXSTACK 6000
  ------------------
  |  Branch (19509:9): [True: 0, False: 73.9k]
  |  Branch (19509:35): [True: 0, False: 73.9k]
  ------------------
19510|      0|        _Pypegen_stack_overflow(p);
19511|      0|    }
19512|  73.9k|    if (p->error_indicator) {
  ------------------
  |  Branch (19512:9): [True: 0, False: 73.9k]
  ------------------
19513|      0|        p->level--;
19514|      0|        return NULL;
19515|      0|    }
19516|  73.9k|    expr_ty _res = NULL;
19517|  73.9k|    if (_PyPegen_is_memoized(p, target_with_star_atom_type, &_res)) {
  ------------------
  |  |  286|  73.9k|#define target_with_star_atom_type 1197
  ------------------
  |  Branch (19517:9): [True: 124, False: 73.7k]
  ------------------
19518|    124|        p->level--;
19519|    124|        return _res;
19520|    124|    }
19521|  73.7k|    int _mark = p->mark;
19522|  73.7k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (19522:9): [True: 0, False: 73.7k]
  |  Branch (19522:31): [True: 0, False: 0]
  ------------------
19523|      0|        p->error_indicator = 1;
19524|      0|        p->level--;
19525|      0|        return NULL;
19526|      0|    }
19527|  73.7k|    int _start_lineno = p->tokens[_mark]->lineno;
19528|  73.7k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|  73.7k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 73.7k]
  |  |  ------------------
  ------------------
19529|  73.7k|    int _start_col_offset = p->tokens[_mark]->col_offset;
19530|  73.7k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|  73.7k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 73.7k]
  |  |  ------------------
  ------------------
19531|  73.7k|    { // t_primary '.' NAME !t_lookahead
19532|  73.7k|        if (p->error_indicator) {
  ------------------
  |  Branch (19532:13): [True: 0, False: 73.7k]
  ------------------
19533|      0|            p->level--;
19534|      0|            return NULL;
19535|      0|        }
19536|  73.7k|        D(fprintf(stderr, "%*c> target_with_star_atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "t_primary '.' NAME !t_lookahead"));
19537|  73.7k|        Token * _literal;
19538|  73.7k|        expr_ty a;
19539|  73.7k|        expr_ty b;
19540|  73.7k|        if (
19541|  73.7k|            (a = t_primary_rule(p))  // t_primary
  ------------------
  |  Branch (19541:13): [True: 4.78k, False: 68.9k]
  ------------------
19542|  4.78k|            &&
19543|  4.78k|            (_literal = _PyPegen_expect_token(p, 23))  // token='.'
  ------------------
  |  Branch (19543:13): [True: 1.42k, False: 3.36k]
  ------------------
19544|  1.42k|            &&
19545|  1.42k|            (b = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (19545:13): [True: 1.42k, False: 0]
  ------------------
19546|  1.42k|            &&
19547|  1.42k|            _PyPegen_lookahead(0, t_lookahead_rule, p)
  ------------------
  |  Branch (19547:13): [True: 1.42k, False: 0]
  ------------------
19548|  73.7k|        )
19549|  1.42k|        {
19550|  1.42k|            D(fprintf(stderr, "%*c+ target_with_star_atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "t_primary '.' NAME !t_lookahead"));
19551|  1.42k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
19552|  1.42k|            if (_token == NULL) {
  ------------------
  |  Branch (19552:17): [True: 0, False: 1.42k]
  ------------------
19553|      0|                p->level--;
19554|      0|                return NULL;
19555|      0|            }
19556|  1.42k|            int _end_lineno = _token->end_lineno;
19557|  1.42k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|  1.42k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 1.42k]
  |  |  ------------------
  ------------------
19558|  1.42k|            int _end_col_offset = _token->end_col_offset;
19559|  1.42k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|  1.42k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 1.42k]
  |  |  ------------------
  ------------------
19560|  1.42k|            _res = _PyAST_Attribute ( a , b -> v . Name . id , Store , EXTRA );
  ------------------
  |  |  269|  1.42k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
19561|  1.42k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19561:18): [True: 0, False: 1.42k]
  |  Branch (19561:34): [True: 0, False: 1.42k]
  |  Branch (19561:57): [True: 0, False: 0]
  ------------------
19562|      0|                p->error_indicator = 1;
19563|      0|                p->level--;
19564|      0|                return NULL;
19565|      0|            }
19566|  1.42k|            goto done;
19567|  1.42k|        }
19568|  72.3k|        p->mark = _mark;
19569|  72.3k|        D(fprintf(stderr, "%*c%s target_with_star_atom[%d-%d]: %s failed!\n", p->level, ' ',
19570|  72.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "t_primary '.' NAME !t_lookahead"));
19571|  72.3k|    }
19572|      0|    { // t_primary '[' slices ']' !t_lookahead
19573|  72.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (19573:13): [True: 0, False: 72.3k]
  ------------------
19574|      0|            p->level--;
19575|      0|            return NULL;
19576|      0|        }
19577|  72.3k|        D(fprintf(stderr, "%*c> target_with_star_atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "t_primary '[' slices ']' !t_lookahead"));
19578|  72.3k|        Token * _literal;
19579|  72.3k|        Token * _literal_1;
19580|  72.3k|        expr_ty a;
19581|  72.3k|        expr_ty b;
19582|  72.3k|        if (
19583|  72.3k|            (a = t_primary_rule(p))  // t_primary
  ------------------
  |  Branch (19583:13): [True: 3.36k, False: 68.9k]
  ------------------
19584|  3.36k|            &&
19585|  3.36k|            (_literal = _PyPegen_expect_token(p, 9))  // token='['
  ------------------
  |  Branch (19585:13): [True: 226, False: 3.13k]
  ------------------
19586|    226|            &&
19587|    226|            (b = slices_rule(p))  // slices
  ------------------
  |  Branch (19587:13): [True: 226, False: 0]
  ------------------
19588|    226|            &&
19589|    226|            (_literal_1 = _PyPegen_expect_token(p, 10))  // token=']'
  ------------------
  |  Branch (19589:13): [True: 226, False: 0]
  ------------------
19590|    226|            &&
19591|    226|            _PyPegen_lookahead(0, t_lookahead_rule, p)
  ------------------
  |  Branch (19591:13): [True: 226, False: 0]
  ------------------
19592|  72.3k|        )
19593|    226|        {
19594|    226|            D(fprintf(stderr, "%*c+ target_with_star_atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "t_primary '[' slices ']' !t_lookahead"));
19595|    226|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
19596|    226|            if (_token == NULL) {
  ------------------
  |  Branch (19596:17): [True: 0, False: 226]
  ------------------
19597|      0|                p->level--;
19598|      0|                return NULL;
19599|      0|            }
19600|    226|            int _end_lineno = _token->end_lineno;
19601|    226|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    226|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 226]
  |  |  ------------------
  ------------------
19602|    226|            int _end_col_offset = _token->end_col_offset;
19603|    226|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    226|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 226]
  |  |  ------------------
  ------------------
19604|    226|            _res = _PyAST_Subscript ( a , b , Store , EXTRA );
  ------------------
  |  |  269|    226|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
19605|    226|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19605:18): [True: 0, False: 226]
  |  Branch (19605:34): [True: 0, False: 226]
  |  Branch (19605:57): [True: 0, False: 0]
  ------------------
19606|      0|                p->error_indicator = 1;
19607|      0|                p->level--;
19608|      0|                return NULL;
19609|      0|            }
19610|    226|            goto done;
19611|    226|        }
19612|  72.1k|        p->mark = _mark;
19613|  72.1k|        D(fprintf(stderr, "%*c%s target_with_star_atom[%d-%d]: %s failed!\n", p->level, ' ',
19614|  72.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "t_primary '[' slices ']' !t_lookahead"));
19615|  72.1k|    }
19616|      0|    { // star_atom
19617|  72.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (19617:13): [True: 0, False: 72.1k]
  ------------------
19618|      0|            p->level--;
19619|      0|            return NULL;
19620|      0|        }
19621|  72.1k|        D(fprintf(stderr, "%*c> target_with_star_atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_atom"));
19622|  72.1k|        expr_ty star_atom_var;
19623|  72.1k|        if (
19624|  72.1k|            (star_atom_var = star_atom_rule(p))  // star_atom
  ------------------
  |  Branch (19624:13): [True: 7.09k, False: 65.0k]
  ------------------
19625|  72.1k|        )
19626|  7.09k|        {
19627|  7.09k|            D(fprintf(stderr, "%*c+ target_with_star_atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_atom"));
19628|  7.09k|            _res = star_atom_var;
19629|  7.09k|            goto done;
19630|  7.09k|        }
19631|  65.0k|        p->mark = _mark;
19632|  65.0k|        D(fprintf(stderr, "%*c%s target_with_star_atom[%d-%d]: %s failed!\n", p->level, ' ',
19633|  65.0k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_atom"));
19634|  65.0k|    }
19635|  65.0k|    _res = NULL;
19636|  73.7k|  done:
19637|  73.7k|    _PyPegen_insert_memo(p, _mark, target_with_star_atom_type, _res);
  ------------------
  |  |  286|  73.7k|#define target_with_star_atom_type 1197
  ------------------
19638|  73.7k|    p->level--;
19639|  73.7k|    return _res;
19640|  65.0k|}
parser.c:t_primary_rule:
20023|   733k|{
20024|   733k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.46M|#  define MAXSTACK 6000
  ------------------
  |  Branch (20024:9): [True: 0, False: 733k]
  |  Branch (20024:35): [True: 0, False: 733k]
  ------------------
20025|      0|        _Pypegen_stack_overflow(p);
20026|      0|    }
20027|   733k|    expr_ty _res = NULL;
20028|   733k|    if (_PyPegen_is_memoized(p, t_primary_type, &_res)) {
  ------------------
  |  |  290|   733k|#define t_primary_type 1201  // Left-recursive
  ------------------
  |  Branch (20028:9): [True: 660k, False: 73.8k]
  ------------------
20029|   660k|        p->level--;
20030|   660k|        return _res;
20031|   660k|    }
20032|  73.8k|    int _mark = p->mark;
20033|  73.8k|    int _resmark = p->mark;
20034|  81.9k|    while (1) {
  ------------------
  |  Branch (20034:12): [True: 81.9k, Folded]
  ------------------
20035|  81.9k|        int tmpvar_9 = _PyPegen_update_memo(p, _mark, t_primary_type, _res);
  ------------------
  |  |  290|  81.9k|#define t_primary_type 1201  // Left-recursive
  ------------------
20036|  81.9k|        if (tmpvar_9) {
  ------------------
  |  Branch (20036:13): [True: 0, False: 81.9k]
  ------------------
20037|      0|            p->level--;
20038|      0|            return _res;
20039|      0|        }
20040|  81.9k|        p->mark = _mark;
20041|  81.9k|        void *_raw = t_primary_raw(p);
20042|  81.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (20042:13): [True: 0, False: 81.9k]
  ------------------
20043|      0|            p->level--;
20044|      0|            return NULL;
20045|      0|        }
20046|  81.9k|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (20046:13): [True: 69.0k, False: 12.9k]
  |  Branch (20046:29): [True: 4.82k, False: 8.12k]
  ------------------
20047|  73.8k|            break;
20048|  8.12k|        _resmark = p->mark;
20049|  8.12k|        _res = _raw;
20050|  8.12k|    }
20051|  73.8k|    p->mark = _resmark;
20052|  73.8k|    p->level--;
20053|  73.8k|    return _res;
20054|  73.8k|}
parser.c:t_primary_raw:
20057|  81.9k|{
20058|  81.9k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   163k|#  define MAXSTACK 6000
  ------------------
  |  Branch (20058:9): [True: 0, False: 81.9k]
  |  Branch (20058:35): [True: 0, False: 81.9k]
  ------------------
20059|      0|        _Pypegen_stack_overflow(p);
20060|      0|    }
20061|  81.9k|    if (p->error_indicator) {
  ------------------
  |  Branch (20061:9): [True: 0, False: 81.9k]
  ------------------
20062|      0|        p->level--;
20063|      0|        return NULL;
20064|      0|    }
20065|  81.9k|    expr_ty _res = NULL;
20066|  81.9k|    int _mark = p->mark;
20067|  81.9k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (20067:9): [True: 0, False: 81.9k]
  |  Branch (20067:31): [True: 0, False: 0]
  ------------------
20068|      0|        p->error_indicator = 1;
20069|      0|        p->level--;
20070|      0|        return NULL;
20071|      0|    }
20072|  81.9k|    int _start_lineno = p->tokens[_mark]->lineno;
20073|  81.9k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|  81.9k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 81.9k]
  |  |  ------------------
  ------------------
20074|  81.9k|    int _start_col_offset = p->tokens[_mark]->col_offset;
20075|  81.9k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|  81.9k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 81.9k]
  |  |  ------------------
  ------------------
20076|  81.9k|    { // t_primary '.' NAME &t_lookahead
20077|  81.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (20077:13): [True: 0, False: 81.9k]
  ------------------
20078|      0|            p->level--;
20079|      0|            return NULL;
20080|      0|        }
20081|  81.9k|        D(fprintf(stderr, "%*c> t_primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "t_primary '.' NAME &t_lookahead"));
20082|  81.9k|        Token * _literal;
20083|  81.9k|        expr_ty a;
20084|  81.9k|        expr_ty b;
20085|  81.9k|        if (
20086|  81.9k|            (a = t_primary_rule(p))  // t_primary
  ------------------
  |  Branch (20086:13): [True: 8.12k, False: 73.8k]
  ------------------
20087|  8.12k|            &&
20088|  8.12k|            (_literal = _PyPegen_expect_token(p, 23))  // token='.'
  ------------------
  |  Branch (20088:13): [True: 4.56k, False: 3.55k]
  ------------------
20089|  4.56k|            &&
20090|  4.56k|            (b = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (20090:13): [True: 4.56k, False: 0]
  ------------------
20091|  4.56k|            &&
20092|  4.56k|            _PyPegen_lookahead(1, t_lookahead_rule, p)
  ------------------
  |  Branch (20092:13): [True: 3.13k, False: 1.43k]
  ------------------
20093|  81.9k|        )
20094|  3.13k|        {
20095|  3.13k|            D(fprintf(stderr, "%*c+ t_primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "t_primary '.' NAME &t_lookahead"));
20096|  3.13k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
20097|  3.13k|            if (_token == NULL) {
  ------------------
  |  Branch (20097:17): [True: 0, False: 3.13k]
  ------------------
20098|      0|                p->level--;
20099|      0|                return NULL;
20100|      0|            }
20101|  3.13k|            int _end_lineno = _token->end_lineno;
20102|  3.13k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|  3.13k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 3.13k]
  |  |  ------------------
  ------------------
20103|  3.13k|            int _end_col_offset = _token->end_col_offset;
20104|  3.13k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|  3.13k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 3.13k]
  |  |  ------------------
  ------------------
20105|  3.13k|            _res = _PyAST_Attribute ( a , b -> v . Name . id , Load , EXTRA );
  ------------------
  |  |  269|  3.13k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
20106|  3.13k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (20106:18): [True: 0, False: 3.13k]
  |  Branch (20106:34): [True: 0, False: 3.13k]
  |  Branch (20106:57): [True: 0, False: 0]
  ------------------
20107|      0|                p->error_indicator = 1;
20108|      0|                p->level--;
20109|      0|                return NULL;
20110|      0|            }
20111|  3.13k|            goto done;
20112|  3.13k|        }
20113|  78.8k|        p->mark = _mark;
20114|  78.8k|        D(fprintf(stderr, "%*c%s t_primary[%d-%d]: %s failed!\n", p->level, ' ',
20115|  78.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "t_primary '.' NAME &t_lookahead"));
20116|  78.8k|    }
20117|      0|    { // t_primary '[' slices ']' &t_lookahead
20118|  78.8k|        if (p->error_indicator) {
  ------------------
  |  Branch (20118:13): [True: 0, False: 78.8k]
  ------------------
20119|      0|            p->level--;
20120|      0|            return NULL;
20121|      0|        }
20122|  78.8k|        D(fprintf(stderr, "%*c> t_primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "t_primary '[' slices ']' &t_lookahead"));
20123|  78.8k|        Token * _literal;
20124|  78.8k|        Token * _literal_1;
20125|  78.8k|        expr_ty a;
20126|  78.8k|        expr_ty b;
20127|  78.8k|        if (
20128|  78.8k|            (a = t_primary_rule(p))  // t_primary
  ------------------
  |  Branch (20128:13): [True: 4.99k, False: 73.8k]
  ------------------
20129|  4.99k|            &&
20130|  4.99k|            (_literal = _PyPegen_expect_token(p, 9))  // token='['
  ------------------
  |  Branch (20130:13): [True: 260, False: 4.73k]
  ------------------
20131|    260|            &&
20132|    260|            (b = slices_rule(p))  // slices
  ------------------
  |  Branch (20132:13): [True: 260, False: 0]
  ------------------
20133|    260|            &&
20134|    260|            (_literal_1 = _PyPegen_expect_token(p, 10))  // token=']'
  ------------------
  |  Branch (20134:13): [True: 260, False: 0]
  ------------------
20135|    260|            &&
20136|    260|            _PyPegen_lookahead(1, t_lookahead_rule, p)
  ------------------
  |  Branch (20136:13): [True: 6, False: 254]
  ------------------
20137|  78.8k|        )
20138|      6|        {
20139|      6|            D(fprintf(stderr, "%*c+ t_primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "t_primary '[' slices ']' &t_lookahead"));
20140|      6|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
20141|      6|            if (_token == NULL) {
  ------------------
  |  Branch (20141:17): [True: 0, False: 6]
  ------------------
20142|      0|                p->level--;
20143|      0|                return NULL;
20144|      0|            }
20145|      6|            int _end_lineno = _token->end_lineno;
20146|      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]
  |  |  ------------------
  ------------------
20147|      6|            int _end_col_offset = _token->end_col_offset;
20148|      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]
  |  |  ------------------
  ------------------
20149|      6|            _res = _PyAST_Subscript ( a , b , Load , EXTRA );
  ------------------
  |  |  269|      6|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
20150|      6|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (20150:18): [True: 0, False: 6]
  |  Branch (20150:34): [True: 0, False: 6]
  |  Branch (20150:57): [True: 0, False: 0]
  ------------------
20151|      0|                p->error_indicator = 1;
20152|      0|                p->level--;
20153|      0|                return NULL;
20154|      0|            }
20155|      6|            goto done;
20156|      6|        }
20157|  78.8k|        p->mark = _mark;
20158|  78.8k|        D(fprintf(stderr, "%*c%s t_primary[%d-%d]: %s failed!\n", p->level, ' ',
20159|  78.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "t_primary '[' slices ']' &t_lookahead"));
20160|  78.8k|    }
20161|      0|    { // t_primary genexp &t_lookahead
20162|  78.8k|        if (p->error_indicator) {
  ------------------
  |  Branch (20162:13): [True: 0, False: 78.8k]
  ------------------
20163|      0|            p->level--;
20164|      0|            return NULL;
20165|      0|        }
20166|  78.8k|        D(fprintf(stderr, "%*c> t_primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "t_primary genexp &t_lookahead"));
20167|  78.8k|        expr_ty a;
20168|  78.8k|        expr_ty b;
20169|  78.8k|        if (
20170|  78.8k|            (a = t_primary_rule(p))  // t_primary
  ------------------
  |  Branch (20170:13): [True: 4.98k, False: 73.8k]
  ------------------
20171|  4.98k|            &&
20172|  4.98k|            (b = genexp_rule(p))  // genexp
  ------------------
  |  Branch (20172:13): [True: 14, False: 4.97k]
  ------------------
20173|     14|            &&
20174|     14|            _PyPegen_lookahead(1, t_lookahead_rule, p)
  ------------------
  |  Branch (20174:13): [True: 0, False: 14]
  ------------------
20175|  78.8k|        )
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|  78.8k|        p->mark = _mark;
20196|  78.8k|        D(fprintf(stderr, "%*c%s t_primary[%d-%d]: %s failed!\n", p->level, ' ',
20197|  78.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "t_primary genexp &t_lookahead"));
20198|  78.8k|    }
20199|      0|    { // t_primary '(' arguments? ')' &t_lookahead
20200|  78.8k|        if (p->error_indicator) {
  ------------------
  |  Branch (20200:13): [True: 0, False: 78.8k]
  ------------------
20201|      0|            p->level--;
20202|      0|            return NULL;
20203|      0|        }
20204|  78.8k|        D(fprintf(stderr, "%*c> t_primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "t_primary '(' arguments? ')' &t_lookahead"));
20205|  78.8k|        Token * _literal;
20206|  78.8k|        Token * _literal_1;
20207|  78.8k|        expr_ty a;
20208|  78.8k|        void *b;
20209|  78.8k|        if (
20210|  78.8k|            (a = t_primary_rule(p))  // t_primary
  ------------------
  |  Branch (20210:13): [True: 4.98k, False: 73.8k]
  ------------------
20211|  4.98k|            &&
20212|  4.98k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (20212:13): [True: 3.29k, False: 1.68k]
  ------------------
20213|  3.29k|            &&
20214|  3.29k|            (b = arguments_rule(p), !p->error_indicator)  // arguments?
  ------------------
  |  Branch (20214:13): [True: 3.29k, False: 0]
  ------------------
20215|  3.29k|            &&
20216|  3.29k|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (20216:13): [True: 3.28k, False: 14]
  ------------------
20217|  3.28k|            &&
20218|  3.28k|            _PyPegen_lookahead(1, t_lookahead_rule, p)
  ------------------
  |  Branch (20218:13): [True: 163, False: 3.12k]
  ------------------
20219|  78.8k|        )
20220|    163|        {
20221|    163|            D(fprintf(stderr, "%*c+ t_primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "t_primary '(' arguments? ')' &t_lookahead"));
20222|    163|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
20223|    163|            if (_token == NULL) {
  ------------------
  |  Branch (20223:17): [True: 0, False: 163]
  ------------------
20224|      0|                p->level--;
20225|      0|                return NULL;
20226|      0|            }
20227|    163|            int _end_lineno = _token->end_lineno;
20228|    163|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    163|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 163]
  |  |  ------------------
  ------------------
20229|    163|            int _end_col_offset = _token->end_col_offset;
20230|    163|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    163|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 163]
  |  |  ------------------
  ------------------
20231|    163|            _res = _PyAST_Call ( a , ( b ) ? ( ( expr_ty ) b ) -> v . Call . args : NULL , ( b ) ? ( ( expr_ty ) b ) -> v . Call . keywords : NULL , EXTRA );
  ------------------
  |  |  269|    163|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
  |  Branch (20231:38): [True: 95, False: 68]
  |  Branch (20231:92): [True: 95, False: 68]
  ------------------
20232|    163|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (20232:18): [True: 0, False: 163]
  |  Branch (20232:34): [True: 0, False: 163]
  |  Branch (20232:57): [True: 0, False: 0]
  ------------------
20233|      0|                p->error_indicator = 1;
20234|      0|                p->level--;
20235|      0|                return NULL;
20236|      0|            }
20237|    163|            goto done;
20238|    163|        }
20239|  78.6k|        p->mark = _mark;
20240|  78.6k|        D(fprintf(stderr, "%*c%s t_primary[%d-%d]: %s failed!\n", p->level, ' ',
20241|  78.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "t_primary '(' arguments? ')' &t_lookahead"));
20242|  78.6k|    }
20243|      0|    { // atom &t_lookahead
20244|  78.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (20244:13): [True: 0, False: 78.6k]
  ------------------
20245|      0|            p->level--;
20246|      0|            return NULL;
20247|      0|        }
20248|  78.6k|        D(fprintf(stderr, "%*c> t_primary[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "atom &t_lookahead"));
20249|  78.6k|        expr_ty a;
20250|  78.6k|        if (
20251|  78.6k|            (a = atom_rule(p))  // atom
  ------------------
  |  Branch (20251:13): [True: 15.4k, False: 63.2k]
  ------------------
20252|  15.4k|            &&
20253|  15.4k|            _PyPegen_lookahead(1, t_lookahead_rule, p)
  ------------------
  |  Branch (20253:13): [True: 9.64k, False: 5.77k]
  ------------------
20254|  78.6k|        )
20255|  9.64k|        {
20256|  9.64k|            D(fprintf(stderr, "%*c+ t_primary[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "atom &t_lookahead"));
20257|  9.64k|            _res = a;
20258|  9.64k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (20258:18): [True: 0, False: 9.64k]
  |  Branch (20258:34): [True: 0, False: 9.64k]
  |  Branch (20258:57): [True: 0, False: 0]
  ------------------
20259|      0|                p->error_indicator = 1;
20260|      0|                p->level--;
20261|      0|                return NULL;
20262|      0|            }
20263|  9.64k|            goto done;
20264|  9.64k|        }
20265|  69.0k|        p->mark = _mark;
20266|  69.0k|        D(fprintf(stderr, "%*c%s t_primary[%d-%d]: %s failed!\n", p->level, ' ',
20267|  69.0k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "atom &t_lookahead"));
20268|  69.0k|    }
20269|  69.0k|    _res = NULL;
20270|  81.9k|  done:
20271|  81.9k|    p->level--;
20272|  81.9k|    return _res;
20273|  69.0k|}
parser.c:t_lookahead_rule:
20278|  26.4k|{
20279|  26.4k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  52.9k|#  define MAXSTACK 6000
  ------------------
  |  Branch (20279:9): [True: 0, False: 26.4k]
  |  Branch (20279:35): [True: 0, False: 26.4k]
  ------------------
20280|      0|        _Pypegen_stack_overflow(p);
20281|      0|    }
20282|  26.4k|    if (p->error_indicator) {
  ------------------
  |  Branch (20282:9): [True: 0, False: 26.4k]
  ------------------
20283|      0|        p->level--;
20284|      0|        return NULL;
20285|      0|    }
20286|  26.4k|    void * _res = NULL;
20287|  26.4k|    int _mark = p->mark;
20288|  26.4k|    { // '('
20289|  26.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (20289:13): [True: 0, False: 26.4k]
  ------------------
20290|      0|            p->level--;
20291|      0|            return NULL;
20292|      0|        }
20293|  26.4k|        D(fprintf(stderr, "%*c> t_lookahead[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'('"));
20294|  26.4k|        Token * _literal;
20295|  26.4k|        if (
20296|  26.4k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (20296:13): [True: 4.12k, False: 22.3k]
  ------------------
20297|  26.4k|        )
20298|  4.12k|        {
20299|  4.12k|            D(fprintf(stderr, "%*c+ t_lookahead[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'('"));
20300|  4.12k|            _res = _literal;
20301|  4.12k|            goto done;
20302|  4.12k|        }
20303|  22.3k|        p->mark = _mark;
20304|  22.3k|        D(fprintf(stderr, "%*c%s t_lookahead[%d-%d]: %s failed!\n", p->level, ' ',
20305|  22.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'('"));
20306|  22.3k|    }
20307|      0|    { // '['
20308|  22.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (20308:13): [True: 0, False: 22.3k]
  ------------------
20309|      0|            p->level--;
20310|      0|            return NULL;
20311|      0|        }
20312|  22.3k|        D(fprintf(stderr, "%*c> t_lookahead[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'['"));
20313|  22.3k|        Token * _literal;
20314|  22.3k|        if (
20315|  22.3k|            (_literal = _PyPegen_expect_token(p, 9))  // token='['
  ------------------
  |  Branch (20315:13): [True: 422, False: 21.9k]
  ------------------
20316|  22.3k|        )
20317|    422|        {
20318|    422|            D(fprintf(stderr, "%*c+ t_lookahead[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'['"));
20319|    422|            _res = _literal;
20320|    422|            goto done;
20321|    422|        }
20322|  21.9k|        p->mark = _mark;
20323|  21.9k|        D(fprintf(stderr, "%*c%s t_lookahead[%d-%d]: %s failed!\n", p->level, ' ',
20324|  21.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'['"));
20325|  21.9k|    }
20326|      0|    { // '.'
20327|  21.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (20327:13): [True: 0, False: 21.9k]
  ------------------
20328|      0|            p->level--;
20329|      0|            return NULL;
20330|      0|        }
20331|  21.9k|        D(fprintf(stderr, "%*c> t_lookahead[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'.'"));
20332|  21.9k|        Token * _literal;
20333|  21.9k|        if (
20334|  21.9k|            (_literal = _PyPegen_expect_token(p, 23))  // token='.'
  ------------------
  |  Branch (20334:13): [True: 8.40k, False: 13.5k]
  ------------------
20335|  21.9k|        )
20336|  8.40k|        {
20337|  8.40k|            D(fprintf(stderr, "%*c+ t_lookahead[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'.'"));
20338|  8.40k|            _res = _literal;
20339|  8.40k|            goto done;
20340|  8.40k|        }
20341|  13.5k|        p->mark = _mark;
20342|  13.5k|        D(fprintf(stderr, "%*c%s t_lookahead[%d-%d]: %s failed!\n", p->level, ' ',
20343|  13.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'.'"));
20344|  13.5k|    }
20345|  13.5k|    _res = NULL;
20346|  26.4k|  done:
20347|  26.4k|    p->level--;
20348|  26.4k|    return _res;
20349|  13.5k|}
parser.c:star_atom_rule:
19649|  72.1k|{
19650|  72.1k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   144k|#  define MAXSTACK 6000
  ------------------
  |  Branch (19650:9): [True: 0, False: 72.1k]
  |  Branch (19650:35): [True: 0, False: 72.1k]
  ------------------
19651|      0|        _Pypegen_stack_overflow(p);
19652|      0|    }
19653|  72.1k|    if (p->error_indicator) {
  ------------------
  |  Branch (19653:9): [True: 0, False: 72.1k]
  ------------------
19654|      0|        p->level--;
19655|      0|        return NULL;
19656|      0|    }
19657|  72.1k|    expr_ty _res = NULL;
19658|  72.1k|    int _mark = p->mark;
19659|  72.1k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (19659:9): [True: 0, False: 72.1k]
  |  Branch (19659:31): [True: 0, False: 0]
  ------------------
19660|      0|        p->error_indicator = 1;
19661|      0|        p->level--;
19662|      0|        return NULL;
19663|      0|    }
19664|  72.1k|    int _start_lineno = p->tokens[_mark]->lineno;
19665|  72.1k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|  72.1k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 72.1k]
  |  |  ------------------
  ------------------
19666|  72.1k|    int _start_col_offset = p->tokens[_mark]->col_offset;
19667|  72.1k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|  72.1k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 72.1k]
  |  |  ------------------
  ------------------
19668|  72.1k|    { // NAME
19669|  72.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (19669:13): [True: 0, False: 72.1k]
  ------------------
19670|      0|            p->level--;
19671|      0|            return NULL;
19672|      0|        }
19673|  72.1k|        D(fprintf(stderr, "%*c> star_atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME"));
19674|  72.1k|        expr_ty a;
19675|  72.1k|        if (
19676|  72.1k|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (19676:13): [True: 6.93k, False: 65.1k]
  ------------------
19677|  72.1k|        )
19678|  6.93k|        {
19679|  6.93k|            D(fprintf(stderr, "%*c+ star_atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME"));
19680|  6.93k|            _res = _PyPegen_set_expr_context ( p , a , Store );
19681|  6.93k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19681:18): [True: 0, False: 6.93k]
  |  Branch (19681:34): [True: 0, False: 6.93k]
  |  Branch (19681:57): [True: 0, False: 0]
  ------------------
19682|      0|                p->error_indicator = 1;
19683|      0|                p->level--;
19684|      0|                return NULL;
19685|      0|            }
19686|  6.93k|            goto done;
19687|  6.93k|        }
19688|  65.1k|        p->mark = _mark;
19689|  65.1k|        D(fprintf(stderr, "%*c%s star_atom[%d-%d]: %s failed!\n", p->level, ' ',
19690|  65.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME"));
19691|  65.1k|    }
19692|      0|    { // '(' target_with_star_atom ')'
19693|  65.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (19693:13): [True: 0, False: 65.1k]
  ------------------
19694|      0|            p->level--;
19695|      0|            return NULL;
19696|      0|        }
19697|  65.1k|        D(fprintf(stderr, "%*c> star_atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' target_with_star_atom ')'"));
19698|  65.1k|        Token * _literal;
19699|  65.1k|        Token * _literal_1;
19700|  65.1k|        expr_ty a;
19701|  65.1k|        if (
19702|  65.1k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (19702:13): [True: 125, False: 65.0k]
  ------------------
19703|    125|            &&
19704|    125|            (a = target_with_star_atom_rule(p))  // target_with_star_atom
  ------------------
  |  Branch (19704:13): [True: 51, False: 74]
  ------------------
19705|     51|            &&
19706|     51|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (19706:13): [True: 1, False: 50]
  ------------------
19707|  65.1k|        )
19708|      1|        {
19709|      1|            D(fprintf(stderr, "%*c+ star_atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' target_with_star_atom ')'"));
19710|      1|            _res = _PyPegen_set_expr_context ( p , a , Store );
19711|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19711:18): [True: 0, False: 1]
  |  Branch (19711:34): [True: 0, False: 1]
  |  Branch (19711:57): [True: 0, False: 0]
  ------------------
19712|      0|                p->error_indicator = 1;
19713|      0|                p->level--;
19714|      0|                return NULL;
19715|      0|            }
19716|      1|            goto done;
19717|      1|        }
19718|  65.1k|        p->mark = _mark;
19719|  65.1k|        D(fprintf(stderr, "%*c%s star_atom[%d-%d]: %s failed!\n", p->level, ' ',
19720|  65.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' target_with_star_atom ')'"));
19721|  65.1k|    }
19722|      0|    { // '(' star_targets_tuple_seq? ')'
19723|  65.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (19723:13): [True: 0, False: 65.1k]
  ------------------
19724|      0|            p->level--;
19725|      0|            return NULL;
19726|      0|        }
19727|  65.1k|        D(fprintf(stderr, "%*c> star_atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' star_targets_tuple_seq? ')'"));
19728|  65.1k|        Token * _literal;
19729|  65.1k|        Token * _literal_1;
19730|  65.1k|        void *a;
19731|  65.1k|        if (
19732|  65.1k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (19732:13): [True: 124, False: 65.0k]
  ------------------
19733|    124|            &&
19734|    124|            (a = star_targets_tuple_seq_rule(p), !p->error_indicator)  // star_targets_tuple_seq?
  ------------------
  |  Branch (19734:13): [True: 124, False: 0]
  ------------------
19735|    124|            &&
19736|    124|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (19736:13): [True: 53, False: 71]
  ------------------
19737|  65.1k|        )
19738|     53|        {
19739|     53|            D(fprintf(stderr, "%*c+ star_atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' star_targets_tuple_seq? ')'"));
19740|     53|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
19741|     53|            if (_token == NULL) {
  ------------------
  |  Branch (19741:17): [True: 0, False: 53]
  ------------------
19742|      0|                p->level--;
19743|      0|                return NULL;
19744|      0|            }
19745|     53|            int _end_lineno = _token->end_lineno;
19746|     53|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|     53|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 53]
  |  |  ------------------
  ------------------
19747|     53|            int _end_col_offset = _token->end_col_offset;
19748|     53|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|     53|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 53]
  |  |  ------------------
  ------------------
19749|     53|            _res = _PyAST_Tuple ( a , Store , EXTRA );
  ------------------
  |  |  269|     53|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
19750|     53|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19750:18): [True: 0, False: 53]
  |  Branch (19750:34): [True: 0, False: 53]
  |  Branch (19750:57): [True: 0, False: 0]
  ------------------
19751|      0|                p->error_indicator = 1;
19752|      0|                p->level--;
19753|      0|                return NULL;
19754|      0|            }
19755|     53|            goto done;
19756|     53|        }
19757|  65.1k|        p->mark = _mark;
19758|  65.1k|        D(fprintf(stderr, "%*c%s star_atom[%d-%d]: %s failed!\n", p->level, ' ',
19759|  65.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' star_targets_tuple_seq? ')'"));
19760|  65.1k|    }
19761|      0|    { // '[' star_targets_list_seq? ']'
19762|  65.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (19762:13): [True: 0, False: 65.1k]
  ------------------
19763|      0|            p->level--;
19764|      0|            return NULL;
19765|      0|        }
19766|  65.1k|        D(fprintf(stderr, "%*c> star_atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'[' star_targets_list_seq? ']'"));
19767|  65.1k|        Token * _literal;
19768|  65.1k|        Token * _literal_1;
19769|  65.1k|        void *a;
19770|  65.1k|        if (
19771|  65.1k|            (_literal = _PyPegen_expect_token(p, 9))  // token='['
  ------------------
  |  Branch (19771:13): [True: 159, False: 64.9k]
  ------------------
19772|    159|            &&
19773|    159|            (a = star_targets_list_seq_rule(p), !p->error_indicator)  // star_targets_list_seq?
  ------------------
  |  Branch (19773:13): [True: 159, False: 0]
  ------------------
19774|    159|            &&
19775|    159|            (_literal_1 = _PyPegen_expect_token(p, 10))  // token=']'
  ------------------
  |  Branch (19775:13): [True: 109, False: 50]
  ------------------
19776|  65.1k|        )
19777|    109|        {
19778|    109|            D(fprintf(stderr, "%*c+ star_atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'[' star_targets_list_seq? ']'"));
19779|    109|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
19780|    109|            if (_token == NULL) {
  ------------------
  |  Branch (19780:17): [True: 0, False: 109]
  ------------------
19781|      0|                p->level--;
19782|      0|                return NULL;
19783|      0|            }
19784|    109|            int _end_lineno = _token->end_lineno;
19785|    109|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    109|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 109]
  |  |  ------------------
  ------------------
19786|    109|            int _end_col_offset = _token->end_col_offset;
19787|    109|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    109|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 109]
  |  |  ------------------
  ------------------
19788|    109|            _res = _PyAST_List ( a , Store , EXTRA );
  ------------------
  |  |  269|    109|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
19789|    109|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19789:18): [True: 0, False: 109]
  |  Branch (19789:34): [True: 0, False: 109]
  |  Branch (19789:57): [True: 0, False: 0]
  ------------------
19790|      0|                p->error_indicator = 1;
19791|      0|                p->level--;
19792|      0|                return NULL;
19793|      0|            }
19794|    109|            goto done;
19795|    109|        }
19796|  65.0k|        p->mark = _mark;
19797|  65.0k|        D(fprintf(stderr, "%*c%s star_atom[%d-%d]: %s failed!\n", p->level, ' ',
19798|  65.0k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'[' star_targets_list_seq? ']'"));
19799|  65.0k|    }
19800|  65.0k|    _res = NULL;
19801|  72.1k|  done:
19802|  72.1k|    p->level--;
19803|  72.1k|    return _res;
19804|  65.0k|}
parser.c:star_targets_tuple_seq_rule:
19340|    124|{
19341|    124|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    248|#  define MAXSTACK 6000
  ------------------
  |  Branch (19341:9): [True: 0, False: 124]
  |  Branch (19341:35): [True: 0, False: 124]
  ------------------
19342|      0|        _Pypegen_stack_overflow(p);
19343|      0|    }
19344|    124|    if (p->error_indicator) {
  ------------------
  |  Branch (19344:9): [True: 0, False: 124]
  ------------------
19345|      0|        p->level--;
19346|      0|        return NULL;
19347|      0|    }
19348|    124|    asdl_expr_seq* _res = NULL;
19349|    124|    int _mark = p->mark;
19350|    124|    { // star_target ((',' star_target))+ ','?
19351|    124|        if (p->error_indicator) {
  ------------------
  |  Branch (19351:13): [True: 0, False: 124]
  ------------------
19352|      0|            p->level--;
19353|      0|            return NULL;
19354|      0|        }
19355|    124|        D(fprintf(stderr, "%*c> star_targets_tuple_seq[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_target ((',' star_target))+ ','?"));
19356|    124|        void *_opt_var;
19357|    124|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  267|    124|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 124]
  |  |  ------------------
  ------------------
19358|    124|        expr_ty a;
19359|    124|        asdl_seq * b;
19360|    124|        if (
19361|    124|            (a = star_target_rule(p))  // star_target
  ------------------
  |  Branch (19361:13): [True: 50, False: 74]
  ------------------
19362|     50|            &&
19363|     50|            (b = _loop1_100_rule(p))  // ((',' star_target))+
  ------------------
  |  Branch (19363:13): [True: 34, False: 16]
  ------------------
19364|     34|            &&
19365|     34|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (19365:13): [True: 34, False: 0]
  ------------------
19366|    124|        )
19367|     34|        {
19368|     34|            D(fprintf(stderr, "%*c+ star_targets_tuple_seq[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_target ((',' star_target))+ ','?"));
19369|     34|            _res = ( asdl_expr_seq* ) _PyPegen_seq_insert_in_front ( p , a , b );
19370|     34|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19370:18): [True: 0, False: 34]
  |  Branch (19370:34): [True: 0, False: 34]
  |  Branch (19370:57): [True: 0, False: 0]
  ------------------
19371|      0|                p->error_indicator = 1;
19372|      0|                p->level--;
19373|      0|                return NULL;
19374|      0|            }
19375|     34|            goto done;
19376|     34|        }
19377|     90|        p->mark = _mark;
19378|     90|        D(fprintf(stderr, "%*c%s star_targets_tuple_seq[%d-%d]: %s failed!\n", p->level, ' ',
19379|     90|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_target ((',' star_target))+ ','?"));
19380|     90|    }
19381|      0|    { // star_target ','
19382|     90|        if (p->error_indicator) {
  ------------------
  |  Branch (19382:13): [True: 0, False: 90]
  ------------------
19383|      0|            p->level--;
19384|      0|            return NULL;
19385|      0|        }
19386|     90|        D(fprintf(stderr, "%*c> star_targets_tuple_seq[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_target ','"));
19387|     90|        Token * _literal;
19388|     90|        expr_ty a;
19389|     90|        if (
19390|     90|            (a = star_target_rule(p))  // star_target
  ------------------
  |  Branch (19390:13): [True: 16, False: 74]
  ------------------
19391|     16|            &&
19392|     16|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (19392:13): [True: 6, False: 10]
  ------------------
19393|     90|        )
19394|      6|        {
19395|      6|            D(fprintf(stderr, "%*c+ star_targets_tuple_seq[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_target ','"));
19396|      6|            _res = ( asdl_expr_seq* ) _PyPegen_singleton_seq ( p , a );
19397|      6|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19397:18): [True: 0, False: 6]
  |  Branch (19397:34): [True: 0, False: 6]
  |  Branch (19397:57): [True: 0, False: 0]
  ------------------
19398|      0|                p->error_indicator = 1;
19399|      0|                p->level--;
19400|      0|                return NULL;
19401|      0|            }
19402|      6|            goto done;
19403|      6|        }
19404|     84|        p->mark = _mark;
19405|     84|        D(fprintf(stderr, "%*c%s star_targets_tuple_seq[%d-%d]: %s failed!\n", p->level, ' ',
19406|     84|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_target ','"));
19407|     84|    }
19408|     84|    _res = NULL;
19409|    124|  done:
19410|    124|    p->level--;
19411|    124|    return _res;
19412|     84|}
parser.c:_loop1_100_rule:
34684|     50|{
34685|     50|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    100|#  define MAXSTACK 6000
  ------------------
  |  Branch (34685:9): [True: 0, False: 50]
  |  Branch (34685:35): [True: 0, False: 50]
  ------------------
34686|      0|        _Pypegen_stack_overflow(p);
34687|      0|    }
34688|     50|    if (p->error_indicator) {
  ------------------
  |  Branch (34688:9): [True: 0, False: 50]
  ------------------
34689|      0|        p->level--;
34690|      0|        return NULL;
34691|      0|    }
34692|     50|    void *_res = NULL;
34693|     50|    int _mark = p->mark;
34694|     50|    void **_children = PyMem_Malloc(sizeof(void *));
34695|     50|    if (!_children) {
  ------------------
  |  Branch (34695:9): [True: 0, False: 50]
  ------------------
34696|      0|        p->error_indicator = 1;
34697|      0|        PyErr_NoMemory();
34698|      0|        p->level--;
34699|      0|        return NULL;
34700|      0|    }
34701|     50|    Py_ssize_t _children_capacity = 1;
34702|     50|    Py_ssize_t _n = 0;
34703|     50|    { // (',' star_target)
34704|     50|        if (p->error_indicator) {
  ------------------
  |  Branch (34704:13): [True: 0, False: 50]
  ------------------
34705|      0|            p->level--;
34706|      0|            return NULL;
34707|      0|        }
34708|     50|        D(fprintf(stderr, "%*c> _loop1_100[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(',' star_target)"));
34709|     50|        void *_tmp_168_var;
34710|     50|        while (
34711|     89|            (_tmp_168_var = _tmp_168_rule(p))  // ',' star_target
  ------------------
  |  Branch (34711:13): [True: 39, False: 50]
  ------------------
34712|     50|        )
34713|     39|        {
34714|     39|            _res = _tmp_168_var;
34715|     39|            if (_n == _children_capacity) {
  ------------------
  |  Branch (34715:17): [True: 5, False: 34]
  ------------------
34716|      5|                _children_capacity *= 2;
34717|      5|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
34718|      5|                if (!_new_children) {
  ------------------
  |  Branch (34718:21): [True: 0, False: 5]
  ------------------
34719|      0|                    PyMem_Free(_children);
34720|      0|                    p->error_indicator = 1;
34721|      0|                    PyErr_NoMemory();
34722|      0|                    p->level--;
34723|      0|                    return NULL;
34724|      0|                }
34725|      5|                _children = _new_children;
34726|      5|            }
34727|     39|            _children[_n++] = _res;
34728|     39|            _mark = p->mark;
34729|     39|        }
34730|     50|        p->mark = _mark;
34731|     50|        D(fprintf(stderr, "%*c%s _loop1_100[%d-%d]: %s failed!\n", p->level, ' ',
34732|     50|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(',' star_target)"));
34733|     50|    }
34734|     50|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (34734:9): [True: 16, False: 34]
  |  Branch (34734:20): [True: 0, False: 34]
  ------------------
34735|     16|        PyMem_Free(_children);
34736|     16|        p->level--;
34737|     16|        return NULL;
34738|     16|    }
34739|     34|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
34740|     34|    if (!_seq) {
  ------------------
  |  Branch (34740:9): [True: 0, False: 34]
  ------------------
34741|      0|        PyMem_Free(_children);
34742|      0|        p->error_indicator = 1;
34743|      0|        PyErr_NoMemory();
34744|      0|        p->level--;
34745|      0|        return NULL;
34746|      0|    }
34747|     73|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|     39|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|     73|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (34747:28): [True: 39, False: 34]
  ------------------
34748|     34|    PyMem_Free(_children);
34749|     34|    p->level--;
34750|     34|    return _seq;
34751|     34|}
parser.c:_tmp_168_rule:
38742|    629|{
38743|    629|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.25k|#  define MAXSTACK 6000
  ------------------
  |  Branch (38743:9): [True: 0, False: 629]
  |  Branch (38743:35): [True: 0, False: 629]
  ------------------
38744|      0|        _Pypegen_stack_overflow(p);
38745|      0|    }
38746|    629|    if (p->error_indicator) {
  ------------------
  |  Branch (38746:9): [True: 0, False: 629]
  ------------------
38747|      0|        p->level--;
38748|      0|        return NULL;
38749|      0|    }
38750|    629|    void * _res = NULL;
38751|    629|    int _mark = p->mark;
38752|    629|    { // ',' star_target
38753|    629|        if (p->error_indicator) {
  ------------------
  |  Branch (38753:13): [True: 0, False: 629]
  ------------------
38754|      0|            p->level--;
38755|      0|            return NULL;
38756|      0|        }
38757|    629|        D(fprintf(stderr, "%*c> _tmp_168[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' star_target"));
38758|    629|        Token * _literal;
38759|    629|        expr_ty c;
38760|    629|        if (
38761|    629|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (38761:13): [True: 369, False: 260]
  ------------------
38762|    369|            &&
38763|    369|            (c = star_target_rule(p))  // star_target
  ------------------
  |  Branch (38763:13): [True: 356, False: 13]
  ------------------
38764|    629|        )
38765|    356|        {
38766|    356|            D(fprintf(stderr, "%*c+ _tmp_168[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "',' star_target"));
38767|    356|            _res = c;
38768|    356|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (38768:18): [True: 0, False: 356]
  |  Branch (38768:34): [True: 0, False: 356]
  |  Branch (38768:57): [True: 0, False: 0]
  ------------------
38769|      0|                p->error_indicator = 1;
38770|      0|                p->level--;
38771|      0|                return NULL;
38772|      0|            }
38773|    356|            goto done;
38774|    356|        }
38775|    273|        p->mark = _mark;
38776|    273|        D(fprintf(stderr, "%*c%s _tmp_168[%d-%d]: %s failed!\n", p->level, ' ',
38777|    273|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' star_target"));
38778|    273|    }
38779|    273|    _res = NULL;
38780|    629|  done:
38781|    629|    p->level--;
38782|    629|    return _res;
38783|    273|}
parser.c:star_targets_list_seq_rule:
19293|    159|{
19294|    159|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    318|#  define MAXSTACK 6000
  ------------------
  |  Branch (19294:9): [True: 0, False: 159]
  |  Branch (19294:35): [True: 0, False: 159]
  ------------------
19295|      0|        _Pypegen_stack_overflow(p);
19296|      0|    }
19297|    159|    if (p->error_indicator) {
  ------------------
  |  Branch (19297:9): [True: 0, False: 159]
  ------------------
19298|      0|        p->level--;
19299|      0|        return NULL;
19300|      0|    }
19301|    159|    asdl_expr_seq* _res = NULL;
19302|    159|    int _mark = p->mark;
19303|    159|    { // ','.star_target+ ','?
19304|    159|        if (p->error_indicator) {
  ------------------
  |  Branch (19304:13): [True: 0, False: 159]
  ------------------
19305|      0|            p->level--;
19306|      0|            return NULL;
19307|      0|        }
19308|    159|        D(fprintf(stderr, "%*c> star_targets_list_seq[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.star_target+ ','?"));
19309|    159|        void *_opt_var;
19310|    159|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  267|    159|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 159]
  |  |  ------------------
  ------------------
19311|    159|        asdl_expr_seq* a;
19312|    159|        if (
19313|    159|            (a = (asdl_expr_seq*)_gather_99_rule(p))  // ','.star_target+
  ------------------
  |  Branch (19313:13): [True: 47, False: 112]
  ------------------
19314|     47|            &&
19315|     47|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (19315:13): [True: 47, False: 0]
  ------------------
19316|    159|        )
19317|     47|        {
19318|     47|            D(fprintf(stderr, "%*c+ star_targets_list_seq[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.star_target+ ','?"));
19319|     47|            _res = a;
19320|     47|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19320:18): [True: 0, False: 47]
  |  Branch (19320:34): [True: 0, False: 47]
  |  Branch (19320:57): [True: 0, False: 0]
  ------------------
19321|      0|                p->error_indicator = 1;
19322|      0|                p->level--;
19323|      0|                return NULL;
19324|      0|            }
19325|     47|            goto done;
19326|     47|        }
19327|    112|        p->mark = _mark;
19328|    112|        D(fprintf(stderr, "%*c%s star_targets_list_seq[%d-%d]: %s failed!\n", p->level, ' ',
19329|    112|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.star_target+ ','?"));
19330|    112|    }
19331|    112|    _res = NULL;
19332|    159|  done:
19333|    159|    p->level--;
19334|    159|    return _res;
19335|    112|}
parser.c:_gather_99_rule:
34643|    159|{
34644|    159|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    318|#  define MAXSTACK 6000
  ------------------
  |  Branch (34644:9): [True: 0, False: 159]
  |  Branch (34644:35): [True: 0, False: 159]
  ------------------
34645|      0|        _Pypegen_stack_overflow(p);
34646|      0|    }
34647|    159|    if (p->error_indicator) {
  ------------------
  |  Branch (34647:9): [True: 0, False: 159]
  ------------------
34648|      0|        p->level--;
34649|      0|        return NULL;
34650|      0|    }
34651|    159|    asdl_seq * _res = NULL;
34652|    159|    int _mark = p->mark;
34653|    159|    { // star_target _loop0_98
34654|    159|        if (p->error_indicator) {
  ------------------
  |  Branch (34654:13): [True: 0, False: 159]
  ------------------
34655|      0|            p->level--;
34656|      0|            return NULL;
34657|      0|        }
34658|    159|        D(fprintf(stderr, "%*c> _gather_99[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_target _loop0_98"));
34659|    159|        expr_ty elem;
34660|    159|        asdl_seq * seq;
34661|    159|        if (
34662|    159|            (elem = star_target_rule(p))  // star_target
  ------------------
  |  Branch (34662:13): [True: 47, False: 112]
  ------------------
34663|     47|            &&
34664|     47|            (seq = _loop0_98_rule(p))  // _loop0_98
  ------------------
  |  Branch (34664:13): [True: 47, False: 0]
  ------------------
34665|    159|        )
34666|     47|        {
34667|     47|            D(fprintf(stderr, "%*c+ _gather_99[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_target _loop0_98"));
34668|     47|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
34669|     47|            goto done;
34670|     47|        }
34671|    112|        p->mark = _mark;
34672|    112|        D(fprintf(stderr, "%*c%s _gather_99[%d-%d]: %s failed!\n", p->level, ' ',
34673|    112|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_target _loop0_98"));
34674|    112|    }
34675|    112|    _res = NULL;
34676|    159|  done:
34677|    159|    p->level--;
34678|    159|    return _res;
34679|    112|}
parser.c:_loop0_98_rule:
34567|     47|{
34568|     47|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     94|#  define MAXSTACK 6000
  ------------------
  |  Branch (34568:9): [True: 0, False: 47]
  |  Branch (34568:35): [True: 0, False: 47]
  ------------------
34569|      0|        _Pypegen_stack_overflow(p);
34570|      0|    }
34571|     47|    if (p->error_indicator) {
  ------------------
  |  Branch (34571:9): [True: 0, False: 47]
  ------------------
34572|      0|        p->level--;
34573|      0|        return NULL;
34574|      0|    }
34575|     47|    void *_res = NULL;
34576|     47|    int _mark = p->mark;
34577|     47|    void **_children = PyMem_Malloc(sizeof(void *));
34578|     47|    if (!_children) {
  ------------------
  |  Branch (34578:9): [True: 0, False: 47]
  ------------------
34579|      0|        p->error_indicator = 1;
34580|      0|        PyErr_NoMemory();
34581|      0|        p->level--;
34582|      0|        return NULL;
34583|      0|    }
34584|     47|    Py_ssize_t _children_capacity = 1;
34585|     47|    Py_ssize_t _n = 0;
34586|     47|    { // ',' star_target
34587|     47|        if (p->error_indicator) {
  ------------------
  |  Branch (34587:13): [True: 0, False: 47]
  ------------------
34588|      0|            p->level--;
34589|      0|            return NULL;
34590|      0|        }
34591|     47|        D(fprintf(stderr, "%*c> _loop0_98[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' star_target"));
34592|     47|        Token * _literal;
34593|     47|        expr_ty elem;
34594|     47|        while (
34595|     55|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (34595:13): [True: 12, False: 43]
  ------------------
34596|     12|            &&
34597|     12|            (elem = star_target_rule(p))  // star_target
  ------------------
  |  Branch (34597:13): [True: 8, False: 4]
  ------------------
34598|     47|        )
34599|      8|        {
34600|      8|            _res = elem;
34601|      8|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (34601:18): [True: 0, False: 8]
  |  Branch (34601:34): [True: 0, False: 8]
  |  Branch (34601:57): [True: 0, False: 0]
  ------------------
34602|      0|                p->error_indicator = 1;
34603|      0|                PyMem_Free(_children);
34604|      0|                p->level--;
34605|      0|                return NULL;
34606|      0|            }
34607|      8|            if (_n == _children_capacity) {
  ------------------
  |  Branch (34607:17): [True: 4, False: 4]
  ------------------
34608|      4|                _children_capacity *= 2;
34609|      4|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
34610|      4|                if (!_new_children) {
  ------------------
  |  Branch (34610:21): [True: 0, False: 4]
  ------------------
34611|      0|                    PyMem_Free(_children);
34612|      0|                    p->error_indicator = 1;
34613|      0|                    PyErr_NoMemory();
34614|      0|                    p->level--;
34615|      0|                    return NULL;
34616|      0|                }
34617|      4|                _children = _new_children;
34618|      4|            }
34619|      8|            _children[_n++] = _res;
34620|      8|            _mark = p->mark;
34621|      8|        }
34622|     47|        p->mark = _mark;
34623|     47|        D(fprintf(stderr, "%*c%s _loop0_98[%d-%d]: %s failed!\n", p->level, ' ',
34624|     47|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' star_target"));
34625|     47|    }
34626|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
34627|     47|    if (!_seq) {
  ------------------
  |  Branch (34627:9): [True: 0, False: 47]
  ------------------
34628|      0|        PyMem_Free(_children);
34629|      0|        p->error_indicator = 1;
34630|      0|        PyErr_NoMemory();
34631|      0|        p->level--;
34632|      0|        return NULL;
34633|      0|    }
34634|     55|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|      8|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|     55|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (34634:28): [True: 8, False: 47]
  ------------------
34635|     47|    PyMem_Free(_children);
34636|     47|    p->level--;
34637|     47|    return _seq;
34638|     47|}
parser.c:_loop0_97_rule:
34500|    223|{
34501|    223|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    446|#  define MAXSTACK 6000
  ------------------
  |  Branch (34501:9): [True: 0, False: 223]
  |  Branch (34501:35): [True: 0, False: 223]
  ------------------
34502|      0|        _Pypegen_stack_overflow(p);
34503|      0|    }
34504|    223|    if (p->error_indicator) {
  ------------------
  |  Branch (34504:9): [True: 0, False: 223]
  ------------------
34505|      0|        p->level--;
34506|      0|        return NULL;
34507|      0|    }
34508|    223|    void *_res = NULL;
34509|    223|    int _mark = p->mark;
34510|    223|    void **_children = PyMem_Malloc(sizeof(void *));
34511|    223|    if (!_children) {
  ------------------
  |  Branch (34511:9): [True: 0, False: 223]
  ------------------
34512|      0|        p->error_indicator = 1;
34513|      0|        PyErr_NoMemory();
34514|      0|        p->level--;
34515|      0|        return NULL;
34516|      0|    }
34517|    223|    Py_ssize_t _children_capacity = 1;
34518|    223|    Py_ssize_t _n = 0;
34519|    223|    { // (',' star_target)
34520|    223|        if (p->error_indicator) {
  ------------------
  |  Branch (34520:13): [True: 0, False: 223]
  ------------------
34521|      0|            p->level--;
34522|      0|            return NULL;
34523|      0|        }
34524|    223|        D(fprintf(stderr, "%*c> _loop0_97[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(',' star_target)"));
34525|    223|        void *_tmp_168_var;
34526|    223|        while (
34527|    540|            (_tmp_168_var = _tmp_168_rule(p))  // ',' star_target
  ------------------
  |  Branch (34527:13): [True: 317, False: 223]
  ------------------
34528|    223|        )
34529|    317|        {
34530|    317|            _res = _tmp_168_var;
34531|    317|            if (_n == _children_capacity) {
  ------------------
  |  Branch (34531:17): [True: 83, False: 234]
  ------------------
34532|     83|                _children_capacity *= 2;
34533|     83|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
34534|     83|                if (!_new_children) {
  ------------------
  |  Branch (34534:21): [True: 0, False: 83]
  ------------------
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|     83|                _children = _new_children;
34542|     83|            }
34543|    317|            _children[_n++] = _res;
34544|    317|            _mark = p->mark;
34545|    317|        }
34546|    223|        p->mark = _mark;
34547|    223|        D(fprintf(stderr, "%*c%s _loop0_97[%d-%d]: %s failed!\n", p->level, ' ',
34548|    223|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(',' star_target)"));
34549|    223|    }
34550|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
34551|    223|    if (!_seq) {
  ------------------
  |  Branch (34551:9): [True: 0, False: 223]
  ------------------
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|    540|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|    317|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|    540|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (34558:28): [True: 317, False: 223]
  ------------------
34559|    223|    PyMem_Free(_children);
34560|    223|    p->level--;
34561|    223|    return _seq;
34562|    223|}
parser.c:_loop0_88_rule:
33957|    170|{
33958|    170|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    340|#  define MAXSTACK 6000
  ------------------
  |  Branch (33958:9): [True: 0, False: 170]
  |  Branch (33958:35): [True: 0, False: 170]
  ------------------
33959|      0|        _Pypegen_stack_overflow(p);
33960|      0|    }
33961|    170|    if (p->error_indicator) {
  ------------------
  |  Branch (33961:9): [True: 0, False: 170]
  ------------------
33962|      0|        p->level--;
33963|      0|        return NULL;
33964|      0|    }
33965|    170|    void *_res = NULL;
33966|    170|    int _mark = p->mark;
33967|    170|    void **_children = PyMem_Malloc(sizeof(void *));
33968|    170|    if (!_children) {
  ------------------
  |  Branch (33968:9): [True: 0, False: 170]
  ------------------
33969|      0|        p->error_indicator = 1;
33970|      0|        PyErr_NoMemory();
33971|      0|        p->level--;
33972|      0|        return NULL;
33973|      0|    }
33974|    170|    Py_ssize_t _children_capacity = 1;
33975|    170|    Py_ssize_t _n = 0;
33976|    170|    { // ('if' disjunction)
33977|    170|        if (p->error_indicator) {
  ------------------
  |  Branch (33977:13): [True: 0, False: 170]
  ------------------
33978|      0|            p->level--;
33979|      0|            return NULL;
33980|      0|        }
33981|    170|        D(fprintf(stderr, "%*c> _loop0_88[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "('if' disjunction)"));
33982|    170|        void *_tmp_166_var;
33983|    170|        while (
33984|    212|            (_tmp_166_var = _tmp_166_rule(p))  // 'if' disjunction
  ------------------
  |  Branch (33984:13): [True: 42, False: 170]
  ------------------
33985|    170|        )
33986|     42|        {
33987|     42|            _res = _tmp_166_var;
33988|     42|            if (_n == _children_capacity) {
  ------------------
  |  Branch (33988:17): [True: 0, False: 42]
  ------------------
33989|      0|                _children_capacity *= 2;
33990|      0|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
33991|      0|                if (!_new_children) {
  ------------------
  |  Branch (33991:21): [True: 0, False: 0]
  ------------------
33992|      0|                    PyMem_Free(_children);
33993|      0|                    p->error_indicator = 1;
33994|      0|                    PyErr_NoMemory();
33995|      0|                    p->level--;
33996|      0|                    return NULL;
33997|      0|                }
33998|      0|                _children = _new_children;
33999|      0|            }
34000|     42|            _children[_n++] = _res;
34001|     42|            _mark = p->mark;
34002|     42|        }
34003|    170|        p->mark = _mark;
34004|    170|        D(fprintf(stderr, "%*c%s _loop0_88[%d-%d]: %s failed!\n", p->level, ' ',
34005|    170|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "('if' disjunction)"));
34006|    170|    }
34007|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
34008|    170|    if (!_seq) {
  ------------------
  |  Branch (34008:9): [True: 0, False: 170]
  ------------------
34009|      0|        PyMem_Free(_children);
34010|      0|        p->error_indicator = 1;
34011|      0|        PyErr_NoMemory();
34012|      0|        p->level--;
34013|      0|        return NULL;
34014|      0|    }
34015|    212|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|     42|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|    212|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (34015:28): [True: 42, False: 170]
  ------------------
34016|    170|    PyMem_Free(_children);
34017|    170|    p->level--;
34018|    170|    return _seq;
34019|    170|}
parser.c:_tmp_166_rule:
38637|    212|{
38638|    212|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    424|#  define MAXSTACK 6000
  ------------------
  |  Branch (38638:9): [True: 0, False: 212]
  |  Branch (38638:35): [True: 0, False: 212]
  ------------------
38639|      0|        _Pypegen_stack_overflow(p);
38640|      0|    }
38641|    212|    if (p->error_indicator) {
  ------------------
  |  Branch (38641:9): [True: 0, False: 212]
  ------------------
38642|      0|        p->level--;
38643|      0|        return NULL;
38644|      0|    }
38645|    212|    void * _res = NULL;
38646|    212|    int _mark = p->mark;
38647|    212|    { // 'if' disjunction
38648|    212|        if (p->error_indicator) {
  ------------------
  |  Branch (38648:13): [True: 0, False: 212]
  ------------------
38649|      0|            p->level--;
38650|      0|            return NULL;
38651|      0|        }
38652|    212|        D(fprintf(stderr, "%*c> _tmp_166[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'if' disjunction"));
38653|    212|        Token * _keyword;
38654|    212|        expr_ty z;
38655|    212|        if (
38656|    212|            (_keyword = _PyPegen_expect_token(p, 698))  // token='if'
  ------------------
  |  Branch (38656:13): [True: 42, False: 170]
  ------------------
38657|     42|            &&
38658|     42|            (z = disjunction_rule(p))  // disjunction
  ------------------
  |  Branch (38658:13): [True: 42, False: 0]
  ------------------
38659|    212|        )
38660|     42|        {
38661|     42|            D(fprintf(stderr, "%*c+ _tmp_166[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'if' disjunction"));
38662|     42|            _res = z;
38663|     42|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (38663:18): [True: 0, False: 42]
  |  Branch (38663:34): [True: 0, False: 42]
  |  Branch (38663:57): [True: 0, False: 0]
  ------------------
38664|      0|                p->error_indicator = 1;
38665|      0|                p->level--;
38666|      0|                return NULL;
38667|      0|            }
38668|     42|            goto done;
38669|     42|        }
38670|    170|        p->mark = _mark;
38671|    170|        D(fprintf(stderr, "%*c%s _tmp_166[%d-%d]: %s failed!\n", p->level, ' ',
38672|    170|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'if' disjunction"));
38673|    170|    }
38674|    170|    _res = NULL;
38675|    212|  done:
38676|    212|    p->level--;
38677|    212|    return _res;
38678|    170|}
parser.c:star_expressions_rule:
11877|   125k|{
11878|   125k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   251k|#  define MAXSTACK 6000
  ------------------
  |  Branch (11878:9): [True: 0, False: 125k]
  |  Branch (11878:35): [True: 0, False: 125k]
  ------------------
11879|      0|        _Pypegen_stack_overflow(p);
11880|      0|    }
11881|   125k|    if (p->error_indicator) {
  ------------------
  |  Branch (11881:9): [True: 0, False: 125k]
  ------------------
11882|      0|        p->level--;
11883|      0|        return NULL;
11884|      0|    }
11885|   125k|    expr_ty _res = NULL;
11886|   125k|    int _mark = p->mark;
11887|   125k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (11887:9): [True: 1.69k, False: 124k]
  |  Branch (11887:31): [True: 0, False: 1.69k]
  ------------------
11888|      0|        p->error_indicator = 1;
11889|      0|        p->level--;
11890|      0|        return NULL;
11891|      0|    }
11892|   125k|    int _start_lineno = p->tokens[_mark]->lineno;
11893|   125k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|   125k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 125k]
  |  |  ------------------
  ------------------
11894|   125k|    int _start_col_offset = p->tokens[_mark]->col_offset;
11895|   125k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|   125k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 125k]
  |  |  ------------------
  ------------------
11896|   125k|    { // star_expression ((',' star_expression))+ ','?
11897|   125k|        if (p->error_indicator) {
  ------------------
  |  Branch (11897:13): [True: 0, False: 125k]
  ------------------
11898|      0|            p->level--;
11899|      0|            return NULL;
11900|      0|        }
11901|   125k|        D(fprintf(stderr, "%*c> star_expressions[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_expression ((',' star_expression))+ ','?"));
11902|   125k|        void *_opt_var;
11903|   125k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  267|   125k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 125k]
  |  |  ------------------
  ------------------
11904|   125k|        expr_ty a;
11905|   125k|        asdl_seq * b;
11906|   125k|        if (
11907|   125k|            (a = star_expression_rule(p))  // star_expression
  ------------------
  |  Branch (11907:13): [True: 8.62k, False: 117k]
  ------------------
11908|  8.62k|            &&
11909|  8.62k|            (b = _loop1_56_rule(p))  // ((',' star_expression))+
  ------------------
  |  Branch (11909:13): [True: 135, False: 8.48k]
  ------------------
11910|    135|            &&
11911|    135|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (11911:13): [True: 135, False: 0]
  ------------------
11912|   125k|        )
11913|    135|        {
11914|    135|            D(fprintf(stderr, "%*c+ star_expressions[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_expression ((',' star_expression))+ ','?"));
11915|    135|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
11916|    135|            if (_token == NULL) {
  ------------------
  |  Branch (11916:17): [True: 0, False: 135]
  ------------------
11917|      0|                p->level--;
11918|      0|                return NULL;
11919|      0|            }
11920|    135|            int _end_lineno = _token->end_lineno;
11921|    135|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    135|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 135]
  |  |  ------------------
  ------------------
11922|    135|            int _end_col_offset = _token->end_col_offset;
11923|    135|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    135|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 135]
  |  |  ------------------
  ------------------
11924|    135|            _res = _PyAST_Tuple ( CHECK ( asdl_expr_seq* , _PyPegen_seq_insert_in_front ( p , a , b ) ) , Load , EXTRA );
  ------------------
  |  |  233|    135|#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|    135|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
11925|    135|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11925:18): [True: 0, False: 135]
  |  Branch (11925:34): [True: 0, False: 135]
  |  Branch (11925:57): [True: 0, False: 0]
  ------------------
11926|      0|                p->error_indicator = 1;
11927|      0|                p->level--;
11928|      0|                return NULL;
11929|      0|            }
11930|    135|            goto done;
11931|    135|        }
11932|   125k|        p->mark = _mark;
11933|   125k|        D(fprintf(stderr, "%*c%s star_expressions[%d-%d]: %s failed!\n", p->level, ' ',
11934|   125k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_expression ((',' star_expression))+ ','?"));
11935|   125k|    }
11936|      0|    { // star_expression ','
11937|   125k|        if (p->error_indicator) {
  ------------------
  |  Branch (11937:13): [True: 0, False: 125k]
  ------------------
11938|      0|            p->level--;
11939|      0|            return NULL;
11940|      0|        }
11941|   125k|        D(fprintf(stderr, "%*c> star_expressions[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_expression ','"));
11942|   125k|        Token * _literal;
11943|   125k|        expr_ty a;
11944|   125k|        if (
11945|   125k|            (a = star_expression_rule(p))  // star_expression
  ------------------
  |  Branch (11945:13): [True: 8.48k, False: 117k]
  ------------------
11946|  8.48k|            &&
11947|  8.48k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (11947:13): [True: 3, False: 8.48k]
  ------------------
11948|   125k|        )
11949|      3|        {
11950|      3|            D(fprintf(stderr, "%*c+ star_expressions[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_expression ','"));
11951|      3|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
11952|      3|            if (_token == NULL) {
  ------------------
  |  Branch (11952:17): [True: 0, False: 3]
  ------------------
11953|      0|                p->level--;
11954|      0|                return NULL;
11955|      0|            }
11956|      3|            int _end_lineno = _token->end_lineno;
11957|      3|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      3|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 3]
  |  |  ------------------
  ------------------
11958|      3|            int _end_col_offset = _token->end_col_offset;
11959|      3|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      3|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 3]
  |  |  ------------------
  ------------------
11960|      3|            _res = _PyAST_Tuple ( CHECK ( asdl_expr_seq* , _PyPegen_singleton_seq ( p , a ) ) , Load , EXTRA );
  ------------------
  |  |  233|      3|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_Tuple ( CHECK ( asdl_expr_seq* , _PyPegen_singleton_seq ( p , a ) ) , Load , EXTRA );
  ------------------
  |  |  269|      3|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
11961|      3|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11961:18): [True: 0, False: 3]
  |  Branch (11961:34): [True: 0, False: 3]
  |  Branch (11961:57): [True: 0, False: 0]
  ------------------
11962|      0|                p->error_indicator = 1;
11963|      0|                p->level--;
11964|      0|                return NULL;
11965|      0|            }
11966|      3|            goto done;
11967|      3|        }
11968|   125k|        p->mark = _mark;
11969|   125k|        D(fprintf(stderr, "%*c%s star_expressions[%d-%d]: %s failed!\n", p->level, ' ',
11970|   125k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_expression ','"));
11971|   125k|    }
11972|      0|    { // star_expression
11973|   125k|        if (p->error_indicator) {
  ------------------
  |  Branch (11973:13): [True: 0, False: 125k]
  ------------------
11974|      0|            p->level--;
11975|      0|            return NULL;
11976|      0|        }
11977|   125k|        D(fprintf(stderr, "%*c> star_expressions[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_expression"));
11978|   125k|        expr_ty star_expression_var;
11979|   125k|        if (
11980|   125k|            (star_expression_var = star_expression_rule(p))  // star_expression
  ------------------
  |  Branch (11980:13): [True: 8.48k, False: 117k]
  ------------------
11981|   125k|        )
11982|  8.48k|        {
11983|  8.48k|            D(fprintf(stderr, "%*c+ star_expressions[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_expression"));
11984|  8.48k|            _res = star_expression_var;
11985|  8.48k|            goto done;
11986|  8.48k|        }
11987|   117k|        p->mark = _mark;
11988|   117k|        D(fprintf(stderr, "%*c%s star_expressions[%d-%d]: %s failed!\n", p->level, ' ',
11989|   117k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_expression"));
11990|   117k|    }
11991|   117k|    _res = NULL;
11992|   125k|  done:
11993|   125k|    p->level--;
11994|   125k|    return _res;
11995|   117k|}
parser.c:star_expression_rule:
12000|   377k|{
12001|   377k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   754k|#  define MAXSTACK 6000
  ------------------
  |  Branch (12001:9): [True: 0, False: 377k]
  |  Branch (12001:35): [True: 0, False: 377k]
  ------------------
12002|      0|        _Pypegen_stack_overflow(p);
12003|      0|    }
12004|   377k|    if (p->error_indicator) {
  ------------------
  |  Branch (12004:9): [True: 0, False: 377k]
  ------------------
12005|      0|        p->level--;
12006|      0|        return NULL;
12007|      0|    }
12008|   377k|    expr_ty _res = NULL;
12009|   377k|    if (_PyPegen_is_memoized(p, star_expression_type, &_res)) {
  ------------------
  |  |  202|   377k|#define star_expression_type 1113
  ------------------
  |  Branch (12009:9): [True: 305k, False: 71.6k]
  ------------------
12010|   305k|        p->level--;
12011|   305k|        return _res;
12012|   305k|    }
12013|  71.6k|    int _mark = p->mark;
12014|  71.6k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (12014:9): [True: 0, False: 71.6k]
  |  Branch (12014:31): [True: 0, False: 0]
  ------------------
12015|      0|        p->error_indicator = 1;
12016|      0|        p->level--;
12017|      0|        return NULL;
12018|      0|    }
12019|  71.6k|    int _start_lineno = p->tokens[_mark]->lineno;
12020|  71.6k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|  71.6k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 71.6k]
  |  |  ------------------
  ------------------
12021|  71.6k|    int _start_col_offset = p->tokens[_mark]->col_offset;
12022|  71.6k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|  71.6k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 71.6k]
  |  |  ------------------
  ------------------
12023|  71.6k|    { // '*' bitwise_or
12024|  71.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (12024:13): [True: 0, False: 71.6k]
  ------------------
12025|      0|            p->level--;
12026|      0|            return NULL;
12027|      0|        }
12028|  71.6k|        D(fprintf(stderr, "%*c> star_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' bitwise_or"));
12029|  71.6k|        Token * _literal;
12030|  71.6k|        expr_ty a;
12031|  71.6k|        if (
12032|  71.6k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (12032:13): [True: 0, False: 71.6k]
  ------------------
12033|      0|            &&
12034|      0|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (12034:13): [True: 0, False: 0]
  ------------------
12035|  71.6k|        )
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|  71.6k|        p->mark = _mark;
12056|  71.6k|        D(fprintf(stderr, "%*c%s star_expression[%d-%d]: %s failed!\n", p->level, ' ',
12057|  71.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' bitwise_or"));
12058|  71.6k|    }
12059|      0|    { // expression
12060|  71.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (12060:13): [True: 0, False: 71.6k]
  ------------------
12061|      0|            p->level--;
12062|      0|            return NULL;
12063|      0|        }
12064|  71.6k|        D(fprintf(stderr, "%*c> star_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression"));
12065|  71.6k|        expr_ty expression_var;
12066|  71.6k|        if (
12067|  71.6k|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (12067:13): [True: 8.82k, False: 62.7k]
  ------------------
12068|  71.6k|        )
12069|  8.82k|        {
12070|  8.82k|            D(fprintf(stderr, "%*c+ star_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression"));
12071|  8.82k|            _res = expression_var;
12072|  8.82k|            goto done;
12073|  8.82k|        }
12074|  62.7k|        p->mark = _mark;
12075|  62.7k|        D(fprintf(stderr, "%*c%s star_expression[%d-%d]: %s failed!\n", p->level, ' ',
12076|  62.7k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression"));
12077|  62.7k|    }
12078|  62.7k|    _res = NULL;
12079|  71.6k|  done:
12080|  71.6k|    _PyPegen_insert_memo(p, _mark, star_expression_type, _res);
  ------------------
  |  |  202|  71.6k|#define star_expression_type 1113
  ------------------
12081|  71.6k|    p->level--;
12082|  71.6k|    return _res;
12083|  62.7k|}
parser.c:_loop1_56_rule:
31877|  8.62k|{
31878|  8.62k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  17.2k|#  define MAXSTACK 6000
  ------------------
  |  Branch (31878:9): [True: 0, False: 8.62k]
  |  Branch (31878:35): [True: 0, False: 8.62k]
  ------------------
31879|      0|        _Pypegen_stack_overflow(p);
31880|      0|    }
31881|  8.62k|    if (p->error_indicator) {
  ------------------
  |  Branch (31881:9): [True: 0, False: 8.62k]
  ------------------
31882|      0|        p->level--;
31883|      0|        return NULL;
31884|      0|    }
31885|  8.62k|    void *_res = NULL;
31886|  8.62k|    int _mark = p->mark;
31887|  8.62k|    void **_children = PyMem_Malloc(sizeof(void *));
31888|  8.62k|    if (!_children) {
  ------------------
  |  Branch (31888:9): [True: 0, False: 8.62k]
  ------------------
31889|      0|        p->error_indicator = 1;
31890|      0|        PyErr_NoMemory();
31891|      0|        p->level--;
31892|      0|        return NULL;
31893|      0|    }
31894|  8.62k|    Py_ssize_t _children_capacity = 1;
31895|  8.62k|    Py_ssize_t _n = 0;
31896|  8.62k|    { // (',' star_expression)
31897|  8.62k|        if (p->error_indicator) {
  ------------------
  |  Branch (31897:13): [True: 0, False: 8.62k]
  ------------------
31898|      0|            p->level--;
31899|      0|            return NULL;
31900|      0|        }
31901|  8.62k|        D(fprintf(stderr, "%*c> _loop1_56[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(',' star_expression)"));
31902|  8.62k|        void *_tmp_162_var;
31903|  8.62k|        while (
31904|  8.82k|            (_tmp_162_var = _tmp_162_rule(p))  // ',' star_expression
  ------------------
  |  Branch (31904:13): [True: 203, False: 8.62k]
  ------------------
31905|  8.62k|        )
31906|    203|        {
31907|    203|            _res = _tmp_162_var;
31908|    203|            if (_n == _children_capacity) {
  ------------------
  |  Branch (31908:17): [True: 63, False: 140]
  ------------------
31909|     63|                _children_capacity *= 2;
31910|     63|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
31911|     63|                if (!_new_children) {
  ------------------
  |  Branch (31911:21): [True: 0, False: 63]
  ------------------
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|     63|                _children = _new_children;
31919|     63|            }
31920|    203|            _children[_n++] = _res;
31921|    203|            _mark = p->mark;
31922|    203|        }
31923|  8.62k|        p->mark = _mark;
31924|  8.62k|        D(fprintf(stderr, "%*c%s _loop1_56[%d-%d]: %s failed!\n", p->level, ' ',
31925|  8.62k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(',' star_expression)"));
31926|  8.62k|    }
31927|  8.62k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (31927:9): [True: 8.48k, False: 135]
  |  Branch (31927:20): [True: 0, False: 135]
  ------------------
31928|  8.48k|        PyMem_Free(_children);
31929|  8.48k|        p->level--;
31930|  8.48k|        return NULL;
31931|  8.48k|    }
31932|    135|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
31933|    135|    if (!_seq) {
  ------------------
  |  Branch (31933:9): [True: 0, False: 135]
  ------------------
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|    338|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|    203|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|    338|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (31940:28): [True: 203, False: 135]
  ------------------
31941|    135|    PyMem_Free(_children);
31942|    135|    p->level--;
31943|    135|    return _seq;
31944|    135|}
parser.c:_tmp_162_rule:
38442|  8.82k|{
38443|  8.82k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  17.6k|#  define MAXSTACK 6000
  ------------------
  |  Branch (38443:9): [True: 0, False: 8.82k]
  |  Branch (38443:35): [True: 0, False: 8.82k]
  ------------------
38444|      0|        _Pypegen_stack_overflow(p);
38445|      0|    }
38446|  8.82k|    if (p->error_indicator) {
  ------------------
  |  Branch (38446:9): [True: 0, False: 8.82k]
  ------------------
38447|      0|        p->level--;
38448|      0|        return NULL;
38449|      0|    }
38450|  8.82k|    void * _res = NULL;
38451|  8.82k|    int _mark = p->mark;
38452|  8.82k|    { // ',' star_expression
38453|  8.82k|        if (p->error_indicator) {
  ------------------
  |  Branch (38453:13): [True: 0, False: 8.82k]
  ------------------
38454|      0|            p->level--;
38455|      0|            return NULL;
38456|      0|        }
38457|  8.82k|        D(fprintf(stderr, "%*c> _tmp_162[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' star_expression"));
38458|  8.82k|        Token * _literal;
38459|  8.82k|        expr_ty c;
38460|  8.82k|        if (
38461|  8.82k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (38461:13): [True: 207, False: 8.61k]
  ------------------
38462|    207|            &&
38463|    207|            (c = star_expression_rule(p))  // star_expression
  ------------------
  |  Branch (38463:13): [True: 203, False: 4]
  ------------------
38464|  8.82k|        )
38465|    203|        {
38466|    203|            D(fprintf(stderr, "%*c+ _tmp_162[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "',' star_expression"));
38467|    203|            _res = c;
38468|    203|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (38468:18): [True: 0, False: 203]
  |  Branch (38468:34): [True: 0, False: 203]
  |  Branch (38468:57): [True: 0, False: 0]
  ------------------
38469|      0|                p->error_indicator = 1;
38470|      0|                p->level--;
38471|      0|                return NULL;
38472|      0|            }
38473|    203|            goto done;
38474|    203|        }
38475|  8.62k|        p->mark = _mark;
38476|  8.62k|        D(fprintf(stderr, "%*c%s _tmp_162[%d-%d]: %s failed!\n", p->level, ' ',
38477|  8.62k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' star_expression"));
38478|  8.62k|    }
38479|  8.62k|    _res = NULL;
38480|  8.82k|  done:
38481|  8.82k|    p->level--;
38482|  8.82k|    return _res;
38483|  8.62k|}
parser.c:invalid_comprehension_rule:
22792|  27.1k|{
22793|  27.1k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  54.3k|#  define MAXSTACK 6000
  ------------------
  |  Branch (22793:9): [True: 0, False: 27.1k]
  |  Branch (22793:35): [True: 0, False: 27.1k]
  ------------------
22794|      0|        _Pypegen_stack_overflow(p);
22795|      0|    }
22796|  27.1k|    if (p->error_indicator) {
  ------------------
  |  Branch (22796:9): [True: 0, False: 27.1k]
  ------------------
22797|      0|        p->level--;
22798|      0|        return NULL;
22799|      0|    }
22800|  27.1k|    void * _res = NULL;
22801|  27.1k|    int _mark = p->mark;
22802|  27.1k|    { // '[' '**' expression for_if_clauses
22803|  27.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (22803:13): [True: 0, False: 27.1k]
  ------------------
22804|      0|            p->level--;
22805|      0|            return NULL;
22806|      0|        }
22807|  27.1k|        D(fprintf(stderr, "%*c> invalid_comprehension[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'[' '**' expression for_if_clauses"));
22808|  27.1k|        Token * _literal;
22809|  27.1k|        Token * a;
22810|  27.1k|        expr_ty b;
22811|  27.1k|        asdl_comprehension_seq* for_if_clauses_var;
22812|  27.1k|        if (
22813|  27.1k|            (_literal = _PyPegen_expect_token(p, 9))  // token='['
  ------------------
  |  Branch (22813:13): [True: 0, False: 27.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|  27.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|  27.1k|        p->mark = _mark;
22832|  27.1k|        D(fprintf(stderr, "%*c%s invalid_comprehension[%d-%d]: %s failed!\n", p->level, ' ',
22833|  27.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'[' '**' expression for_if_clauses"));
22834|  27.1k|    }
22835|      0|    { // '(' '**' expression for_if_clauses
22836|  27.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (22836:13): [True: 0, False: 27.1k]
  ------------------
22837|      0|            p->level--;
22838|      0|            return NULL;
22839|      0|        }
22840|  27.1k|        D(fprintf(stderr, "%*c> invalid_comprehension[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' '**' expression for_if_clauses"));
22841|  27.1k|        Token * _literal;
22842|  27.1k|        Token * a;
22843|  27.1k|        expr_ty b;
22844|  27.1k|        asdl_comprehension_seq* for_if_clauses_var;
22845|  27.1k|        if (
22846|  27.1k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (22846:13): [True: 0, False: 27.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|  27.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|  27.1k|        p->mark = _mark;
22865|  27.1k|        D(fprintf(stderr, "%*c%s invalid_comprehension[%d-%d]: %s failed!\n", p->level, ' ',
22866|  27.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' '**' expression for_if_clauses"));
22867|  27.1k|    }
22868|      0|    { // ('[' | '{') star_named_expression ',' star_named_expressions for_if_clauses
22869|  27.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (22869:13): [True: 0, False: 27.1k]
  ------------------
22870|      0|            p->level--;
22871|      0|            return NULL;
22872|      0|        }
22873|  27.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|  27.1k|        Token * _literal;
22875|  27.1k|        void *_tmp_123_var;
22876|  27.1k|        expr_ty a;
22877|  27.1k|        asdl_expr_seq* b;
22878|  27.1k|        asdl_comprehension_seq* for_if_clauses_var;
22879|  27.1k|        if (
22880|  27.1k|            (_tmp_123_var = _tmp_123_rule(p))  // '[' | '{'
  ------------------
  |  Branch (22880:13): [True: 0, False: 27.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|  27.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|  27.1k|        p->mark = _mark;
22901|  27.1k|        D(fprintf(stderr, "%*c%s invalid_comprehension[%d-%d]: %s failed!\n", p->level, ' ',
22902|  27.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "('[' | '{') star_named_expression ',' star_named_expressions for_if_clauses"));
22903|  27.1k|    }
22904|      0|    { // ('[' | '{') star_named_expression ',' for_if_clauses
22905|  27.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (22905:13): [True: 0, False: 27.1k]
  ------------------
22906|      0|            p->level--;
22907|      0|            return NULL;
22908|      0|        }
22909|  27.1k|        D(fprintf(stderr, "%*c> invalid_comprehension[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "('[' | '{') star_named_expression ',' for_if_clauses"));
22910|  27.1k|        void *_tmp_123_var;
22911|  27.1k|        expr_ty a;
22912|  27.1k|        Token * b;
22913|  27.1k|        asdl_comprehension_seq* for_if_clauses_var;
22914|  27.1k|        if (
22915|  27.1k|            (_tmp_123_var = _tmp_123_rule(p))  // '[' | '{'
  ------------------
  |  Branch (22915:13): [True: 0, False: 27.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|  27.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|  27.1k|        p->mark = _mark;
22934|  27.1k|        D(fprintf(stderr, "%*c%s invalid_comprehension[%d-%d]: %s failed!\n", p->level, ' ',
22935|  27.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "('[' | '{') star_named_expression ',' for_if_clauses"));
22936|  27.1k|    }
22937|  27.1k|    _res = NULL;
22938|  27.1k|  done:
22939|  27.1k|    p->level--;
22940|  27.1k|    return _res;
22941|  27.1k|}
parser.c:_tmp_123_rule:
36111|  54.3k|{
36112|  54.3k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   108k|#  define MAXSTACK 6000
  ------------------
  |  Branch (36112:9): [True: 0, False: 54.3k]
  |  Branch (36112:35): [True: 0, False: 54.3k]
  ------------------
36113|      0|        _Pypegen_stack_overflow(p);
36114|      0|    }
36115|  54.3k|    if (p->error_indicator) {
  ------------------
  |  Branch (36115:9): [True: 0, False: 54.3k]
  ------------------
36116|      0|        p->level--;
36117|      0|        return NULL;
36118|      0|    }
36119|  54.3k|    void * _res = NULL;
36120|  54.3k|    int _mark = p->mark;
36121|  54.3k|    { // '['
36122|  54.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (36122:13): [True: 0, False: 54.3k]
  ------------------
36123|      0|            p->level--;
36124|      0|            return NULL;
36125|      0|        }
36126|  54.3k|        D(fprintf(stderr, "%*c> _tmp_123[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'['"));
36127|  54.3k|        Token * _literal;
36128|  54.3k|        if (
36129|  54.3k|            (_literal = _PyPegen_expect_token(p, 9))  // token='['
  ------------------
  |  Branch (36129:13): [True: 0, False: 54.3k]
  ------------------
36130|  54.3k|        )
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|  54.3k|        p->mark = _mark;
36137|  54.3k|        D(fprintf(stderr, "%*c%s _tmp_123[%d-%d]: %s failed!\n", p->level, ' ',
36138|  54.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'['"));
36139|  54.3k|    }
36140|      0|    { // '{'
36141|  54.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (36141:13): [True: 0, False: 54.3k]
  ------------------
36142|      0|            p->level--;
36143|      0|            return NULL;
36144|      0|        }
36145|  54.3k|        D(fprintf(stderr, "%*c> _tmp_123[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{'"));
36146|  54.3k|        Token * _literal;
36147|  54.3k|        if (
36148|  54.3k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (36148:13): [True: 0, False: 54.3k]
  ------------------
36149|  54.3k|        )
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|  54.3k|        p->mark = _mark;
36156|  54.3k|        D(fprintf(stderr, "%*c%s _tmp_123[%d-%d]: %s failed!\n", p->level, ' ',
36157|  54.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{'"));
36158|  54.3k|    }
36159|  54.3k|    _res = NULL;
36160|  54.3k|  done:
36161|  54.3k|    p->level--;
36162|  54.3k|    return _res;
36163|  54.3k|}
parser.c:star_named_expression_rule:
12182|  33.5k|{
12183|  33.5k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  67.1k|#  define MAXSTACK 6000
  ------------------
  |  Branch (12183:9): [True: 0, False: 33.5k]
  |  Branch (12183:35): [True: 0, False: 33.5k]
  ------------------
12184|      0|        _Pypegen_stack_overflow(p);
12185|      0|    }
12186|  33.5k|    if (p->error_indicator) {
  ------------------
  |  Branch (12186:9): [True: 0, False: 33.5k]
  ------------------
12187|      0|        p->level--;
12188|      0|        return NULL;
12189|      0|    }
12190|  33.5k|    expr_ty _res = NULL;
12191|  33.5k|    int _mark = p->mark;
12192|  33.5k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (12192:9): [True: 1.71k, False: 31.8k]
  |  Branch (12192:31): [True: 0, False: 1.71k]
  ------------------
12193|      0|        p->error_indicator = 1;
12194|      0|        p->level--;
12195|      0|        return NULL;
12196|      0|    }
12197|  33.5k|    int _start_lineno = p->tokens[_mark]->lineno;
12198|  33.5k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|  33.5k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 33.5k]
  |  |  ------------------
  ------------------
12199|  33.5k|    int _start_col_offset = p->tokens[_mark]->col_offset;
12200|  33.5k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|  33.5k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 33.5k]
  |  |  ------------------
  ------------------
12201|  33.5k|    { // '*' bitwise_or
12202|  33.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (12202:13): [True: 0, False: 33.5k]
  ------------------
12203|      0|            p->level--;
12204|      0|            return NULL;
12205|      0|        }
12206|  33.5k|        D(fprintf(stderr, "%*c> star_named_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' bitwise_or"));
12207|  33.5k|        Token * _literal;
12208|  33.5k|        expr_ty a;
12209|  33.5k|        if (
12210|  33.5k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (12210:13): [True: 0, False: 33.5k]
  ------------------
12211|      0|            &&
12212|      0|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (12212:13): [True: 0, False: 0]
  ------------------
12213|  33.5k|        )
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|  33.5k|        p->mark = _mark;
12234|  33.5k|        D(fprintf(stderr, "%*c%s star_named_expression[%d-%d]: %s failed!\n", p->level, ' ',
12235|  33.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' bitwise_or"));
12236|  33.5k|    }
12237|      0|    { // named_expression
12238|  33.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (12238:13): [True: 0, False: 33.5k]
  ------------------
12239|      0|            p->level--;
12240|      0|            return NULL;
12241|      0|        }
12242|  33.5k|        D(fprintf(stderr, "%*c> star_named_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "named_expression"));
12243|  33.5k|        expr_ty named_expression_var;
12244|  33.5k|        if (
12245|  33.5k|            (named_expression_var = named_expression_rule(p))  // named_expression
  ------------------
  |  Branch (12245:13): [True: 5.39k, False: 28.1k]
  ------------------
12246|  33.5k|        )
12247|  5.39k|        {
12248|  5.39k|            D(fprintf(stderr, "%*c+ star_named_expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "named_expression"));
12249|  5.39k|            _res = named_expression_var;
12250|  5.39k|            goto done;
12251|  5.39k|        }
12252|  28.1k|        p->mark = _mark;
12253|  28.1k|        D(fprintf(stderr, "%*c%s star_named_expression[%d-%d]: %s failed!\n", p->level, ' ',
12254|  28.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "named_expression"));
12255|  28.1k|    }
12256|  28.1k|    _res = NULL;
12257|  33.5k|  done:
12258|  33.5k|    p->level--;
12259|  33.5k|    return _res;
12260|  28.1k|}
parser.c:arguments_rule:
18600|  9.36k|{
18601|  9.36k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  18.7k|#  define MAXSTACK 6000
  ------------------
  |  Branch (18601:9): [True: 0, False: 9.36k]
  |  Branch (18601:35): [True: 0, False: 9.36k]
  ------------------
18602|      0|        _Pypegen_stack_overflow(p);
18603|      0|    }
18604|  9.36k|    if (p->error_indicator) {
  ------------------
  |  Branch (18604:9): [True: 0, False: 9.36k]
  ------------------
18605|      0|        p->level--;
18606|      0|        return NULL;
18607|      0|    }
18608|  9.36k|    expr_ty _res = NULL;
18609|  9.36k|    if (_PyPegen_is_memoized(p, arguments_type, &_res)) {
  ------------------
  |  |  276|  9.36k|#define arguments_type 1187
  ------------------
  |  Branch (18609:9): [True: 3.28k, False: 6.07k]
  ------------------
18610|  3.28k|        p->level--;
18611|  3.28k|        return _res;
18612|  3.28k|    }
18613|  6.07k|    int _mark = p->mark;
18614|  6.07k|    { // args ','? &')'
18615|  6.07k|        if (p->error_indicator) {
  ------------------
  |  Branch (18615:13): [True: 0, False: 6.07k]
  ------------------
18616|      0|            p->level--;
18617|      0|            return NULL;
18618|      0|        }
18619|  6.07k|        D(fprintf(stderr, "%*c> arguments[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "args ','? &')'"));
18620|  6.07k|        void *_opt_var;
18621|  6.07k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  267|  6.07k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 6.07k]
  |  |  ------------------
  ------------------
18622|  6.07k|        expr_ty a;
18623|  6.07k|        if (
18624|  6.07k|            (a = args_rule(p))  // args
  ------------------
  |  Branch (18624:13): [True: 4.74k, False: 1.33k]
  ------------------
18625|  4.74k|            &&
18626|  4.74k|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (18626:13): [True: 4.74k, False: 0]
  ------------------
18627|  4.74k|            &&
18628|  4.74k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 8)  // token=')'
  ------------------
  |  Branch (18628:13): [True: 4.72k, False: 14]
  ------------------
18629|  6.07k|        )
18630|  4.72k|        {
18631|  4.72k|            D(fprintf(stderr, "%*c+ arguments[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "args ','? &')'"));
18632|  4.72k|            _res = a;
18633|  4.72k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18633:18): [True: 0, False: 4.72k]
  |  Branch (18633:34): [True: 0, False: 4.72k]
  |  Branch (18633:57): [True: 0, False: 0]
  ------------------
18634|      0|                p->error_indicator = 1;
18635|      0|                p->level--;
18636|      0|                return NULL;
18637|      0|            }
18638|  4.72k|            goto done;
18639|  4.72k|        }
18640|  1.35k|        p->mark = _mark;
18641|  1.35k|        D(fprintf(stderr, "%*c%s arguments[%d-%d]: %s failed!\n", p->level, ' ',
18642|  1.35k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "args ','? &')'"));
18643|  1.35k|    }
18644|  1.35k|    if (p->call_invalid_rules) { // invalid_arguments
  ------------------
  |  Branch (18644:9): [True: 0, False: 1.35k]
  ------------------
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|  1.35k|    _res = NULL;
18664|  6.07k|  done:
18665|  6.07k|    _PyPegen_insert_memo(p, _mark, arguments_type, _res);
  ------------------
  |  |  276|  6.07k|#define arguments_type 1187
  ------------------
18666|  6.07k|    p->level--;
18667|  6.07k|    return _res;
18668|  1.35k|}
parser.c:args_rule:
18675|  6.07k|{
18676|  6.07k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  12.1k|#  define MAXSTACK 6000
  ------------------
  |  Branch (18676:9): [True: 0, False: 6.07k]
  |  Branch (18676:35): [True: 0, False: 6.07k]
  ------------------
18677|      0|        _Pypegen_stack_overflow(p);
18678|      0|    }
18679|  6.07k|    if (p->error_indicator) {
  ------------------
  |  Branch (18679:9): [True: 0, False: 6.07k]
  ------------------
18680|      0|        p->level--;
18681|      0|        return NULL;
18682|      0|    }
18683|  6.07k|    expr_ty _res = NULL;
18684|  6.07k|    int _mark = p->mark;
18685|  6.07k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (18685:9): [True: 0, False: 6.07k]
  |  Branch (18685:31): [True: 0, False: 0]
  ------------------
18686|      0|        p->error_indicator = 1;
18687|      0|        p->level--;
18688|      0|        return NULL;
18689|      0|    }
18690|  6.07k|    int _start_lineno = p->tokens[_mark]->lineno;
18691|  6.07k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|  6.07k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 6.07k]
  |  |  ------------------
  ------------------
18692|  6.07k|    int _start_col_offset = p->tokens[_mark]->col_offset;
18693|  6.07k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|  6.07k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 6.07k]
  |  |  ------------------
  ------------------
18694|  6.07k|    { // ','.(starred_expression | (assignment_expression | expression !':=') !'=')+ [',' kwargs]
18695|  6.07k|        if (p->error_indicator) {
  ------------------
  |  Branch (18695:13): [True: 0, False: 6.07k]
  ------------------
18696|      0|            p->level--;
18697|      0|            return NULL;
18698|      0|        }
18699|  6.07k|        D(fprintf(stderr, "%*c> args[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.(starred_expression | (assignment_expression | expression !':=') !'=')+ [',' kwargs]"));
18700|  6.07k|        asdl_expr_seq* a;
18701|  6.07k|        void *b;
18702|  6.07k|        if (
18703|  6.07k|            (a = (asdl_expr_seq*)_gather_91_rule(p))  // ','.(starred_expression | (assignment_expression | expression !':=') !'=')+
  ------------------
  |  Branch (18703:13): [True: 4.61k, False: 1.46k]
  ------------------
18704|  4.61k|            &&
18705|  4.61k|            (b = _tmp_92_rule(p), !p->error_indicator)  // [',' kwargs]
  ------------------
  |  Branch (18705:13): [True: 4.61k, False: 0]
  ------------------
18706|  6.07k|        )
18707|  4.61k|        {
18708|  4.61k|            D(fprintf(stderr, "%*c+ args[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.(starred_expression | (assignment_expression | expression !':=') !'=')+ [',' kwargs]"));
18709|  4.61k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
18710|  4.61k|            if (_token == NULL) {
  ------------------
  |  Branch (18710:17): [True: 0, False: 4.61k]
  ------------------
18711|      0|                p->level--;
18712|      0|                return NULL;
18713|      0|            }
18714|  4.61k|            int _end_lineno = _token->end_lineno;
18715|  4.61k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|  4.61k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 4.61k]
  |  |  ------------------
  ------------------
18716|  4.61k|            int _end_col_offset = _token->end_col_offset;
18717|  4.61k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|  4.61k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 4.61k]
  |  |  ------------------
  ------------------
18718|  4.61k|            _res = _PyPegen_collect_call_seqs ( p , a , b , EXTRA );
  ------------------
  |  |  269|  4.61k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
18719|  4.61k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18719:18): [True: 0, False: 4.61k]
  |  Branch (18719:34): [True: 0, False: 4.61k]
  |  Branch (18719:57): [True: 0, False: 0]
  ------------------
18720|      0|                p->error_indicator = 1;
18721|      0|                p->level--;
18722|      0|                return NULL;
18723|      0|            }
18724|  4.61k|            goto done;
18725|  4.61k|        }
18726|  1.46k|        p->mark = _mark;
18727|  1.46k|        D(fprintf(stderr, "%*c%s args[%d-%d]: %s failed!\n", p->level, ' ',
18728|  1.46k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.(starred_expression | (assignment_expression | expression !':=') !'=')+ [',' kwargs]"));
18729|  1.46k|    }
18730|      0|    { // kwargs
18731|  1.46k|        if (p->error_indicator) {
  ------------------
  |  Branch (18731:13): [True: 0, False: 1.46k]
  ------------------
18732|      0|            p->level--;
18733|      0|            return NULL;
18734|      0|        }
18735|  1.46k|        D(fprintf(stderr, "%*c> args[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "kwargs"));
18736|  1.46k|        asdl_seq* a;
18737|  1.46k|        if (
18738|  1.46k|            (a = kwargs_rule(p))  // kwargs
  ------------------
  |  Branch (18738:13): [True: 121, False: 1.33k]
  ------------------
18739|  1.46k|        )
18740|    121|        {
18741|    121|            D(fprintf(stderr, "%*c+ args[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "kwargs"));
18742|    121|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
18743|    121|            if (_token == NULL) {
  ------------------
  |  Branch (18743:17): [True: 0, False: 121]
  ------------------
18744|      0|                p->level--;
18745|      0|                return NULL;
18746|      0|            }
18747|    121|            int _end_lineno = _token->end_lineno;
18748|    121|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    121|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 121]
  |  |  ------------------
  ------------------
18749|    121|            int _end_col_offset = _token->end_col_offset;
18750|    121|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    121|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 121]
  |  |  ------------------
  ------------------
18751|    121|            _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|    121|#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|    121|#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|    121|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
18752|    121|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18752:18): [True: 0, False: 121]
  |  Branch (18752:34): [True: 0, False: 121]
  |  Branch (18752:57): [True: 0, False: 0]
  ------------------
18753|      0|                p->error_indicator = 1;
18754|      0|                p->level--;
18755|      0|                return NULL;
18756|      0|            }
18757|    121|            goto done;
18758|    121|        }
18759|  1.33k|        p->mark = _mark;
18760|  1.33k|        D(fprintf(stderr, "%*c%s args[%d-%d]: %s failed!\n", p->level, ' ',
18761|  1.33k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "kwargs"));
18762|  1.33k|    }
18763|  1.33k|    _res = NULL;
18764|  6.07k|  done:
18765|  6.07k|    p->level--;
18766|  6.07k|    return _res;
18767|  1.33k|}
parser.c:_gather_91_rule:
34179|  6.07k|{
34180|  6.07k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  12.1k|#  define MAXSTACK 6000
  ------------------
  |  Branch (34180:9): [True: 0, False: 6.07k]
  |  Branch (34180:35): [True: 0, False: 6.07k]
  ------------------
34181|      0|        _Pypegen_stack_overflow(p);
34182|      0|    }
34183|  6.07k|    if (p->error_indicator) {
  ------------------
  |  Branch (34183:9): [True: 0, False: 6.07k]
  ------------------
34184|      0|        p->level--;
34185|      0|        return NULL;
34186|      0|    }
34187|  6.07k|    asdl_seq * _res = NULL;
34188|  6.07k|    int _mark = p->mark;
34189|  6.07k|    { // (starred_expression | (assignment_expression | expression !':=') !'=') _loop0_90
34190|  6.07k|        if (p->error_indicator) {
  ------------------
  |  Branch (34190:13): [True: 0, False: 6.07k]
  ------------------
34191|      0|            p->level--;
34192|      0|            return NULL;
34193|      0|        }
34194|  6.07k|        D(fprintf(stderr, "%*c> _gather_91[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(starred_expression | (assignment_expression | expression !':=') !'=') _loop0_90"));
34195|  6.07k|        void *elem;
34196|  6.07k|        asdl_seq * seq;
34197|  6.07k|        if (
34198|  6.07k|            (elem = _tmp_167_rule(p))  // starred_expression | (assignment_expression | expression !':=') !'='
  ------------------
  |  Branch (34198:13): [True: 4.61k, False: 1.46k]
  ------------------
34199|  4.61k|            &&
34200|  4.61k|            (seq = _loop0_90_rule(p))  // _loop0_90
  ------------------
  |  Branch (34200:13): [True: 4.61k, False: 0]
  ------------------
34201|  6.07k|        )
34202|  4.61k|        {
34203|  4.61k|            D(fprintf(stderr, "%*c+ _gather_91[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "(starred_expression | (assignment_expression | expression !':=') !'=') _loop0_90"));
34204|  4.61k|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
34205|  4.61k|            goto done;
34206|  4.61k|        }
34207|  1.46k|        p->mark = _mark;
34208|  1.46k|        D(fprintf(stderr, "%*c%s _gather_91[%d-%d]: %s failed!\n", p->level, ' ',
34209|  1.46k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(starred_expression | (assignment_expression | expression !':=') !'=') _loop0_90"));
34210|  1.46k|    }
34211|  1.46k|    _res = NULL;
34212|  6.07k|  done:
34213|  6.07k|    p->level--;
34214|  6.07k|    return _res;
34215|  1.46k|}
parser.c:_tmp_167_rule:
38683|  8.99k|{
38684|  8.99k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  17.9k|#  define MAXSTACK 6000
  ------------------
  |  Branch (38684:9): [True: 0, False: 8.99k]
  |  Branch (38684:35): [True: 0, False: 8.99k]
  ------------------
38685|      0|        _Pypegen_stack_overflow(p);
38686|      0|    }
38687|  8.99k|    if (p->error_indicator) {
  ------------------
  |  Branch (38687:9): [True: 0, False: 8.99k]
  ------------------
38688|      0|        p->level--;
38689|      0|        return NULL;
38690|      0|    }
38691|  8.99k|    void * _res = NULL;
38692|  8.99k|    int _mark = p->mark;
38693|  8.99k|    { // starred_expression
38694|  8.99k|        if (p->error_indicator) {
  ------------------
  |  Branch (38694:13): [True: 0, False: 8.99k]
  ------------------
38695|      0|            p->level--;
38696|      0|            return NULL;
38697|      0|        }
38698|  8.99k|        D(fprintf(stderr, "%*c> _tmp_167[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "starred_expression"));
38699|  8.99k|        expr_ty starred_expression_var;
38700|  8.99k|        if (
38701|  8.99k|            (starred_expression_var = starred_expression_rule(p))  // starred_expression
  ------------------
  |  Branch (38701:13): [True: 91, False: 8.89k]
  ------------------
38702|  8.99k|        )
38703|     91|        {
38704|     91|            D(fprintf(stderr, "%*c+ _tmp_167[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "starred_expression"));
38705|     91|            _res = starred_expression_var;
38706|     91|            goto done;
38707|     91|        }
38708|  8.89k|        p->mark = _mark;
38709|  8.89k|        D(fprintf(stderr, "%*c%s _tmp_167[%d-%d]: %s failed!\n", p->level, ' ',
38710|  8.89k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "starred_expression"));
38711|  8.89k|    }
38712|      0|    { // (assignment_expression | expression !':=') !'='
38713|  8.89k|        if (p->error_indicator) {
  ------------------
  |  Branch (38713:13): [True: 0, False: 8.89k]
  ------------------
38714|      0|            p->level--;
38715|      0|            return NULL;
38716|      0|        }
38717|  8.89k|        D(fprintf(stderr, "%*c> _tmp_167[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(assignment_expression | expression !':=') !'='"));
38718|  8.89k|        void *_tmp_178_var;
38719|  8.89k|        if (
38720|  8.89k|            (_tmp_178_var = _tmp_178_rule(p))  // assignment_expression | expression !':='
  ------------------
  |  Branch (38720:13): [True: 7.48k, False: 1.41k]
  ------------------
38721|  7.48k|            &&
38722|  7.48k|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 22)  // token='='
  ------------------
  |  Branch (38722:13): [True: 7.15k, False: 323]
  ------------------
38723|  8.89k|        )
38724|  7.15k|        {
38725|  7.15k|            D(fprintf(stderr, "%*c+ _tmp_167[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "(assignment_expression | expression !':=') !'='"));
38726|  7.15k|            _res = _tmp_178_var;
38727|  7.15k|            goto done;
38728|  7.15k|        }
38729|  1.74k|        p->mark = _mark;
38730|  1.74k|        D(fprintf(stderr, "%*c%s _tmp_167[%d-%d]: %s failed!\n", p->level, ' ',
38731|  1.74k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(assignment_expression | expression !':=') !'='"));
38732|  1.74k|    }
38733|  1.74k|    _res = NULL;
38734|  8.99k|  done:
38735|  8.99k|    p->level--;
38736|  8.99k|    return _res;
38737|  1.74k|}
parser.c:_tmp_178_rule:
39273|  8.89k|{
39274|  8.89k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  17.7k|#  define MAXSTACK 6000
  ------------------
  |  Branch (39274:9): [True: 0, False: 8.89k]
  |  Branch (39274:35): [True: 0, False: 8.89k]
  ------------------
39275|      0|        _Pypegen_stack_overflow(p);
39276|      0|    }
39277|  8.89k|    if (p->error_indicator) {
  ------------------
  |  Branch (39277:9): [True: 0, False: 8.89k]
  ------------------
39278|      0|        p->level--;
39279|      0|        return NULL;
39280|      0|    }
39281|  8.89k|    void * _res = NULL;
39282|  8.89k|    int _mark = p->mark;
39283|  8.89k|    { // assignment_expression
39284|  8.89k|        if (p->error_indicator) {
  ------------------
  |  Branch (39284:13): [True: 0, False: 8.89k]
  ------------------
39285|      0|            p->level--;
39286|      0|            return NULL;
39287|      0|        }
39288|  8.89k|        D(fprintf(stderr, "%*c> _tmp_178[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "assignment_expression"));
39289|  8.89k|        expr_ty assignment_expression_var;
39290|  8.89k|        if (
39291|  8.89k|            (assignment_expression_var = assignment_expression_rule(p))  // assignment_expression
  ------------------
  |  Branch (39291:13): [True: 0, False: 8.89k]
  ------------------
39292|  8.89k|        )
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|  8.89k|        p->mark = _mark;
39299|  8.89k|        D(fprintf(stderr, "%*c%s _tmp_178[%d-%d]: %s failed!\n", p->level, ' ',
39300|  8.89k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "assignment_expression"));
39301|  8.89k|    }
39302|      0|    { // expression !':='
39303|  8.89k|        if (p->error_indicator) {
  ------------------
  |  Branch (39303:13): [True: 0, False: 8.89k]
  ------------------
39304|      0|            p->level--;
39305|      0|            return NULL;
39306|      0|        }
39307|  8.89k|        D(fprintf(stderr, "%*c> _tmp_178[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression !':='"));
39308|  8.89k|        expr_ty expression_var;
39309|  8.89k|        if (
39310|  8.89k|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (39310:13): [True: 7.48k, False: 1.41k]
  ------------------
39311|  7.48k|            &&
39312|  7.48k|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 53)  // token=':='
  ------------------
  |  Branch (39312:13): [True: 7.48k, False: 0]
  ------------------
39313|  8.89k|        )
39314|  7.48k|        {
39315|  7.48k|            D(fprintf(stderr, "%*c+ _tmp_178[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression !':='"));
39316|  7.48k|            _res = expression_var;
39317|  7.48k|            goto done;
39318|  7.48k|        }
39319|  1.41k|        p->mark = _mark;
39320|  1.41k|        D(fprintf(stderr, "%*c%s _tmp_178[%d-%d]: %s failed!\n", p->level, ' ',
39321|  1.41k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression !':='"));
39322|  1.41k|    }
39323|  1.41k|    _res = NULL;
39324|  8.89k|  done:
39325|  8.89k|    p->level--;
39326|  8.89k|    return _res;
39327|  1.41k|}
parser.c:_loop0_90_rule:
34102|  4.61k|{
34103|  4.61k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  9.23k|#  define MAXSTACK 6000
  ------------------
  |  Branch (34103:9): [True: 0, False: 4.61k]
  |  Branch (34103:35): [True: 0, False: 4.61k]
  ------------------
34104|      0|        _Pypegen_stack_overflow(p);
34105|      0|    }
34106|  4.61k|    if (p->error_indicator) {
  ------------------
  |  Branch (34106:9): [True: 0, False: 4.61k]
  ------------------
34107|      0|        p->level--;
34108|      0|        return NULL;
34109|      0|    }
34110|  4.61k|    void *_res = NULL;
34111|  4.61k|    int _mark = p->mark;
34112|  4.61k|    void **_children = PyMem_Malloc(sizeof(void *));
34113|  4.61k|    if (!_children) {
  ------------------
  |  Branch (34113:9): [True: 0, False: 4.61k]
  ------------------
34114|      0|        p->error_indicator = 1;
34115|      0|        PyErr_NoMemory();
34116|      0|        p->level--;
34117|      0|        return NULL;
34118|      0|    }
34119|  4.61k|    Py_ssize_t _children_capacity = 1;
34120|  4.61k|    Py_ssize_t _n = 0;
34121|  4.61k|    { // ',' (starred_expression | (assignment_expression | expression !':=') !'=')
34122|  4.61k|        if (p->error_indicator) {
  ------------------
  |  Branch (34122:13): [True: 0, False: 4.61k]
  ------------------
34123|      0|            p->level--;
34124|      0|            return NULL;
34125|      0|        }
34126|  4.61k|        D(fprintf(stderr, "%*c> _loop0_90[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' (starred_expression | (assignment_expression | expression !':=') !'=')"));
34127|  4.61k|        Token * _literal;
34128|  4.61k|        void *elem;
34129|  4.61k|        while (
34130|  7.24k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (34130:13): [True: 2.91k, False: 4.33k]
  ------------------
34131|  2.91k|            &&
34132|  2.91k|            (elem = _tmp_167_rule(p))  // starred_expression | (assignment_expression | expression !':=') !'='
  ------------------
  |  Branch (34132:13): [True: 2.62k, False: 282]
  ------------------
34133|  4.61k|        )
34134|  2.62k|        {
34135|  2.62k|            _res = elem;
34136|  2.62k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (34136:18): [True: 0, False: 2.62k]
  |  Branch (34136:34): [True: 0, False: 2.62k]
  |  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|  2.62k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (34142:17): [True: 821, False: 1.80k]
  ------------------
34143|    821|                _children_capacity *= 2;
34144|    821|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
34145|    821|                if (!_new_children) {
  ------------------
  |  Branch (34145:21): [True: 0, False: 821]
  ------------------
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|    821|                _children = _new_children;
34153|    821|            }
34154|  2.62k|            _children[_n++] = _res;
34155|  2.62k|            _mark = p->mark;
34156|  2.62k|        }
34157|  4.61k|        p->mark = _mark;
34158|  4.61k|        D(fprintf(stderr, "%*c%s _loop0_90[%d-%d]: %s failed!\n", p->level, ' ',
34159|  4.61k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' (starred_expression | (assignment_expression | expression !':=') !'=')"));
34160|  4.61k|    }
34161|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
34162|  4.61k|    if (!_seq) {
  ------------------
  |  Branch (34162:9): [True: 0, False: 4.61k]
  ------------------
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|  7.24k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  2.62k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  7.24k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (34169:28): [True: 2.62k, False: 4.61k]
  ------------------
34170|  4.61k|    PyMem_Free(_children);
34171|  4.61k|    p->level--;
34172|  4.61k|    return _seq;
34173|  4.61k|}
parser.c:_tmp_92_rule:
34220|  4.61k|{
34221|  4.61k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  9.23k|#  define MAXSTACK 6000
  ------------------
  |  Branch (34221:9): [True: 0, False: 4.61k]
  |  Branch (34221:35): [True: 0, False: 4.61k]
  ------------------
34222|      0|        _Pypegen_stack_overflow(p);
34223|      0|    }
34224|  4.61k|    if (p->error_indicator) {
  ------------------
  |  Branch (34224:9): [True: 0, False: 4.61k]
  ------------------
34225|      0|        p->level--;
34226|      0|        return NULL;
34227|      0|    }
34228|  4.61k|    void * _res = NULL;
34229|  4.61k|    int _mark = p->mark;
34230|  4.61k|    { // ',' kwargs
34231|  4.61k|        if (p->error_indicator) {
  ------------------
  |  Branch (34231:13): [True: 0, False: 4.61k]
  ------------------
34232|      0|            p->level--;
34233|      0|            return NULL;
34234|      0|        }
34235|  4.61k|        D(fprintf(stderr, "%*c> _tmp_92[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' kwargs"));
34236|  4.61k|        Token * _literal;
34237|  4.61k|        asdl_seq* k;
34238|  4.61k|        if (
34239|  4.61k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (34239:13): [True: 282, False: 4.33k]
  ------------------
34240|    282|            &&
34241|    282|            (k = kwargs_rule(p))  // kwargs
  ------------------
  |  Branch (34241:13): [True: 274, False: 8]
  ------------------
34242|  4.61k|        )
34243|    274|        {
34244|    274|            D(fprintf(stderr, "%*c+ _tmp_92[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "',' kwargs"));
34245|    274|            _res = k;
34246|    274|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (34246:18): [True: 0, False: 274]
  |  Branch (34246:34): [True: 0, False: 274]
  |  Branch (34246:57): [True: 0, False: 0]
  ------------------
34247|      0|                p->error_indicator = 1;
34248|      0|                p->level--;
34249|      0|                return NULL;
34250|      0|            }
34251|    274|            goto done;
34252|    274|        }
34253|  4.34k|        p->mark = _mark;
34254|  4.34k|        D(fprintf(stderr, "%*c%s _tmp_92[%d-%d]: %s failed!\n", p->level, ' ',
34255|  4.34k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' kwargs"));
34256|  4.34k|    }
34257|  4.34k|    _res = NULL;
34258|  4.61k|  done:
34259|  4.61k|    p->level--;
34260|  4.61k|    return _res;
34261|  4.34k|}
parser.c:kwargs_rule:
18775|  1.74k|{
18776|  1.74k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  3.48k|#  define MAXSTACK 6000
  ------------------
  |  Branch (18776:9): [True: 0, False: 1.74k]
  |  Branch (18776:35): [True: 0, False: 1.74k]
  ------------------
18777|      0|        _Pypegen_stack_overflow(p);
18778|      0|    }
18779|  1.74k|    if (p->error_indicator) {
  ------------------
  |  Branch (18779:9): [True: 0, False: 1.74k]
  ------------------
18780|      0|        p->level--;
18781|      0|        return NULL;
18782|      0|    }
18783|  1.74k|    asdl_seq* _res = NULL;
18784|  1.74k|    int _mark = p->mark;
18785|  1.74k|    { // ','.kwarg_or_starred+ ',' ','.kwarg_or_double_starred+
18786|  1.74k|        if (p->error_indicator) {
  ------------------
  |  Branch (18786:13): [True: 0, False: 1.74k]
  ------------------
18787|      0|            p->level--;
18788|      0|            return NULL;
18789|      0|        }
18790|  1.74k|        D(fprintf(stderr, "%*c> kwargs[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.kwarg_or_starred+ ',' ','.kwarg_or_double_starred+"));
18791|  1.74k|        Token * _literal;
18792|  1.74k|        asdl_seq * a;
18793|  1.74k|        asdl_seq * b;
18794|  1.74k|        if (
18795|  1.74k|            (a = _gather_94_rule(p))  // ','.kwarg_or_starred+
  ------------------
  |  Branch (18795:13): [True: 323, False: 1.41k]
  ------------------
18796|    323|            &&
18797|    323|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (18797:13): [True: 16, False: 307]
  ------------------
18798|     16|            &&
18799|     16|            (b = _gather_96_rule(p))  // ','.kwarg_or_double_starred+
  ------------------
  |  Branch (18799:13): [True: 13, False: 3]
  ------------------
18800|  1.74k|        )
18801|     13|        {
18802|     13|            D(fprintf(stderr, "%*c+ kwargs[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.kwarg_or_starred+ ',' ','.kwarg_or_double_starred+"));
18803|     13|            _res = _PyPegen_join_sequences ( p , a , b );
18804|     13|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18804:18): [True: 0, False: 13]
  |  Branch (18804:34): [True: 0, False: 13]
  |  Branch (18804:57): [True: 0, False: 0]
  ------------------
18805|      0|                p->error_indicator = 1;
18806|      0|                p->level--;
18807|      0|                return NULL;
18808|      0|            }
18809|     13|            goto done;
18810|     13|        }
18811|  1.72k|        p->mark = _mark;
18812|  1.72k|        D(fprintf(stderr, "%*c%s kwargs[%d-%d]: %s failed!\n", p->level, ' ',
18813|  1.72k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.kwarg_or_starred+ ',' ','.kwarg_or_double_starred+"));
18814|  1.72k|    }
18815|      0|    { // ','.kwarg_or_starred+
18816|  1.72k|        if (p->error_indicator) {
  ------------------
  |  Branch (18816:13): [True: 0, False: 1.72k]
  ------------------
18817|      0|            p->level--;
18818|      0|            return NULL;
18819|      0|        }
18820|  1.72k|        D(fprintf(stderr, "%*c> kwargs[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.kwarg_or_starred+"));
18821|  1.72k|        asdl_seq * _gather_94_var;
18822|  1.72k|        if (
18823|  1.72k|            (_gather_94_var = _gather_94_rule(p))  // ','.kwarg_or_starred+
  ------------------
  |  Branch (18823:13): [True: 310, False: 1.41k]
  ------------------
18824|  1.72k|        )
18825|    310|        {
18826|    310|            D(fprintf(stderr, "%*c+ kwargs[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.kwarg_or_starred+"));
18827|    310|            _res = _gather_94_var;
18828|    310|            goto done;
18829|    310|        }
18830|  1.41k|        p->mark = _mark;
18831|  1.41k|        D(fprintf(stderr, "%*c%s kwargs[%d-%d]: %s failed!\n", p->level, ' ',
18832|  1.41k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.kwarg_or_starred+"));
18833|  1.41k|    }
18834|      0|    { // ','.kwarg_or_double_starred+
18835|  1.41k|        if (p->error_indicator) {
  ------------------
  |  Branch (18835:13): [True: 0, False: 1.41k]
  ------------------
18836|      0|            p->level--;
18837|      0|            return NULL;
18838|      0|        }
18839|  1.41k|        D(fprintf(stderr, "%*c> kwargs[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.kwarg_or_double_starred+"));
18840|  1.41k|        asdl_seq * _gather_96_var;
18841|  1.41k|        if (
18842|  1.41k|            (_gather_96_var = _gather_96_rule(p))  // ','.kwarg_or_double_starred+
  ------------------
  |  Branch (18842:13): [True: 72, False: 1.34k]
  ------------------
18843|  1.41k|        )
18844|     72|        {
18845|     72|            D(fprintf(stderr, "%*c+ kwargs[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.kwarg_or_double_starred+"));
18846|     72|            _res = _gather_96_var;
18847|     72|            goto done;
18848|     72|        }
18849|  1.34k|        p->mark = _mark;
18850|  1.34k|        D(fprintf(stderr, "%*c%s kwargs[%d-%d]: %s failed!\n", p->level, ' ',
18851|  1.34k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.kwarg_or_double_starred+"));
18852|  1.34k|    }
18853|  1.34k|    _res = NULL;
18854|  1.74k|  done:
18855|  1.74k|    p->level--;
18856|  1.74k|    return _res;
18857|  1.34k|}
parser.c:_gather_94_rule:
34342|  3.47k|{
34343|  3.47k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  6.94k|#  define MAXSTACK 6000
  ------------------
  |  Branch (34343:9): [True: 0, False: 3.47k]
  |  Branch (34343:35): [True: 0, False: 3.47k]
  ------------------
34344|      0|        _Pypegen_stack_overflow(p);
34345|      0|    }
34346|  3.47k|    if (p->error_indicator) {
  ------------------
  |  Branch (34346:9): [True: 0, False: 3.47k]
  ------------------
34347|      0|        p->level--;
34348|      0|        return NULL;
34349|      0|    }
34350|  3.47k|    asdl_seq * _res = NULL;
34351|  3.47k|    int _mark = p->mark;
34352|  3.47k|    { // kwarg_or_starred _loop0_93
34353|  3.47k|        if (p->error_indicator) {
  ------------------
  |  Branch (34353:13): [True: 0, False: 3.47k]
  ------------------
34354|      0|            p->level--;
34355|      0|            return NULL;
34356|      0|        }
34357|  3.47k|        D(fprintf(stderr, "%*c> _gather_94[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "kwarg_or_starred _loop0_93"));
34358|  3.47k|        KeywordOrStarred* elem;
34359|  3.47k|        asdl_seq * seq;
34360|  3.47k|        if (
34361|  3.47k|            (elem = kwarg_or_starred_rule(p))  // kwarg_or_starred
  ------------------
  |  Branch (34361:13): [True: 633, False: 2.83k]
  ------------------
34362|    633|            &&
34363|    633|            (seq = _loop0_93_rule(p))  // _loop0_93
  ------------------
  |  Branch (34363:13): [True: 633, False: 0]
  ------------------
34364|  3.47k|        )
34365|    633|        {
34366|    633|            D(fprintf(stderr, "%*c+ _gather_94[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "kwarg_or_starred _loop0_93"));
34367|    633|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
34368|    633|            goto done;
34369|    633|        }
34370|  2.83k|        p->mark = _mark;
34371|  2.83k|        D(fprintf(stderr, "%*c%s _gather_94[%d-%d]: %s failed!\n", p->level, ' ',
34372|  2.83k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "kwarg_or_starred _loop0_93"));
34373|  2.83k|    }
34374|  2.83k|    _res = NULL;
34375|  3.47k|  done:
34376|  3.47k|    p->level--;
34377|  3.47k|    return _res;
34378|  2.83k|}
parser.c:kwarg_or_starred_rule:
18967|  4.03k|{
18968|  4.03k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  8.06k|#  define MAXSTACK 6000
  ------------------
  |  Branch (18968:9): [True: 0, False: 4.03k]
  |  Branch (18968:35): [True: 0, False: 4.03k]
  ------------------
18969|      0|        _Pypegen_stack_overflow(p);
18970|      0|    }
18971|  4.03k|    if (p->error_indicator) {
  ------------------
  |  Branch (18971:9): [True: 0, False: 4.03k]
  ------------------
18972|      0|        p->level--;
18973|      0|        return NULL;
18974|      0|    }
18975|  4.03k|    KeywordOrStarred* _res = NULL;
18976|  4.03k|    int _mark = p->mark;
18977|  4.03k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (18977:9): [True: 300, False: 3.73k]
  |  Branch (18977:31): [True: 0, False: 300]
  ------------------
18978|      0|        p->error_indicator = 1;
18979|      0|        p->level--;
18980|      0|        return NULL;
18981|      0|    }
18982|  4.03k|    int _start_lineno = p->tokens[_mark]->lineno;
18983|  4.03k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|  4.03k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 4.03k]
  |  |  ------------------
  ------------------
18984|  4.03k|    int _start_col_offset = p->tokens[_mark]->col_offset;
18985|  4.03k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|  4.03k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 4.03k]
  |  |  ------------------
  ------------------
18986|  4.03k|    if (p->call_invalid_rules) { // invalid_kwarg
  ------------------
  |  Branch (18986:9): [True: 0, False: 4.03k]
  ------------------
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|  4.03k|    { // NAME '=' expression
19006|  4.03k|        if (p->error_indicator) {
  ------------------
  |  Branch (19006:13): [True: 0, False: 4.03k]
  ------------------
19007|      0|            p->level--;
19008|      0|            return NULL;
19009|      0|        }
19010|  4.03k|        D(fprintf(stderr, "%*c> kwarg_or_starred[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME '=' expression"));
19011|  4.03k|        Token * _literal;
19012|  4.03k|        expr_ty a;
19013|  4.03k|        expr_ty b;
19014|  4.03k|        if (
19015|  4.03k|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (19015:13): [True: 1.17k, False: 2.85k]
  ------------------
19016|  1.17k|            &&
19017|  1.17k|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (19017:13): [True: 1.17k, False: 0]
  ------------------
19018|  1.17k|            &&
19019|  1.17k|            (b = expression_rule(p))  // expression
  ------------------
  |  Branch (19019:13): [True: 1.17k, False: 0]
  ------------------
19020|  4.03k|        )
19021|  1.17k|        {
19022|  1.17k|            D(fprintf(stderr, "%*c+ kwarg_or_starred[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME '=' expression"));
19023|  1.17k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
19024|  1.17k|            if (_token == NULL) {
  ------------------
  |  Branch (19024:17): [True: 0, False: 1.17k]
  ------------------
19025|      0|                p->level--;
19026|      0|                return NULL;
19027|      0|            }
19028|  1.17k|            int _end_lineno = _token->end_lineno;
19029|  1.17k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|  1.17k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 1.17k]
  |  |  ------------------
  ------------------
19030|  1.17k|            int _end_col_offset = _token->end_col_offset;
19031|  1.17k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|  1.17k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 1.17k]
  |  |  ------------------
  ------------------
19032|  1.17k|            _res = _PyPegen_keyword_or_starred ( p , CHECK ( keyword_ty , _PyAST_keyword ( a -> v . Name . id , b , EXTRA ) ) , 1 );
  ------------------
  |  |  233|  1.17k|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
19033|  1.17k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19033:18): [True: 0, False: 1.17k]
  |  Branch (19033:34): [True: 0, False: 1.17k]
  |  Branch (19033:57): [True: 0, False: 0]
  ------------------
19034|      0|                p->error_indicator = 1;
19035|      0|                p->level--;
19036|      0|                return NULL;
19037|      0|            }
19038|  1.17k|            goto done;
19039|  1.17k|        }
19040|  2.85k|        p->mark = _mark;
19041|  2.85k|        D(fprintf(stderr, "%*c%s kwarg_or_starred[%d-%d]: %s failed!\n", p->level, ' ',
19042|  2.85k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME '=' expression"));
19043|  2.85k|    }
19044|      0|    { // starred_expression
19045|  2.85k|        if (p->error_indicator) {
  ------------------
  |  Branch (19045:13): [True: 0, False: 2.85k]
  ------------------
19046|      0|            p->level--;
19047|      0|            return NULL;
19048|      0|        }
19049|  2.85k|        D(fprintf(stderr, "%*c> kwarg_or_starred[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "starred_expression"));
19050|  2.85k|        expr_ty a;
19051|  2.85k|        if (
19052|  2.85k|            (a = starred_expression_rule(p))  // starred_expression
  ------------------
  |  Branch (19052:13): [True: 0, False: 2.85k]
  ------------------
19053|  2.85k|        )
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|  2.85k|        p->mark = _mark;
19065|  2.85k|        D(fprintf(stderr, "%*c%s kwarg_or_starred[%d-%d]: %s failed!\n", p->level, ' ',
19066|  2.85k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "starred_expression"));
19067|  2.85k|    }
19068|  2.85k|    _res = NULL;
19069|  4.03k|  done:
19070|  4.03k|    p->level--;
19071|  4.03k|    return _res;
19072|  2.85k|}
parser.c:_loop0_93_rule:
34266|    633|{
34267|    633|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.26k|#  define MAXSTACK 6000
  ------------------
  |  Branch (34267:9): [True: 0, False: 633]
  |  Branch (34267:35): [True: 0, False: 633]
  ------------------
34268|      0|        _Pypegen_stack_overflow(p);
34269|      0|    }
34270|    633|    if (p->error_indicator) {
  ------------------
  |  Branch (34270:9): [True: 0, False: 633]
  ------------------
34271|      0|        p->level--;
34272|      0|        return NULL;
34273|      0|    }
34274|    633|    void *_res = NULL;
34275|    633|    int _mark = p->mark;
34276|    633|    void **_children = PyMem_Malloc(sizeof(void *));
34277|    633|    if (!_children) {
  ------------------
  |  Branch (34277:9): [True: 0, False: 633]
  ------------------
34278|      0|        p->error_indicator = 1;
34279|      0|        PyErr_NoMemory();
34280|      0|        p->level--;
34281|      0|        return NULL;
34282|      0|    }
34283|    633|    Py_ssize_t _children_capacity = 1;
34284|    633|    Py_ssize_t _n = 0;
34285|    633|    { // ',' kwarg_or_starred
34286|    633|        if (p->error_indicator) {
  ------------------
  |  Branch (34286:13): [True: 0, False: 633]
  ------------------
34287|      0|            p->level--;
34288|      0|            return NULL;
34289|      0|        }
34290|    633|        D(fprintf(stderr, "%*c> _loop0_93[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' kwarg_or_starred"));
34291|    633|        Token * _literal;
34292|    633|        KeywordOrStarred* elem;
34293|    633|        while (
34294|  1.17k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (34294:13): [True: 563, False: 614]
  ------------------
34295|    563|            &&
34296|    563|            (elem = kwarg_or_starred_rule(p))  // kwarg_or_starred
  ------------------
  |  Branch (34296:13): [True: 544, False: 19]
  ------------------
34297|    633|        )
34298|    544|        {
34299|    544|            _res = elem;
34300|    544|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (34300:18): [True: 0, False: 544]
  |  Branch (34300:34): [True: 0, False: 544]
  |  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|    544|            if (_n == _children_capacity) {
  ------------------
  |  Branch (34306:17): [True: 222, False: 322]
  ------------------
34307|    222|                _children_capacity *= 2;
34308|    222|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
34309|    222|                if (!_new_children) {
  ------------------
  |  Branch (34309:21): [True: 0, False: 222]
  ------------------
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|    222|                _children = _new_children;
34317|    222|            }
34318|    544|            _children[_n++] = _res;
34319|    544|            _mark = p->mark;
34320|    544|        }
34321|    633|        p->mark = _mark;
34322|    633|        D(fprintf(stderr, "%*c%s _loop0_93[%d-%d]: %s failed!\n", p->level, ' ',
34323|    633|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' kwarg_or_starred"));
34324|    633|    }
34325|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
34326|    633|    if (!_seq) {
  ------------------
  |  Branch (34326:9): [True: 0, False: 633]
  ------------------
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|  1.17k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|    544|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  1.17k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (34333:28): [True: 544, False: 633]
  ------------------
34334|    633|    PyMem_Free(_children);
34335|    633|    p->level--;
34336|    633|    return _seq;
34337|    633|}
parser.c:_gather_96_rule:
34459|  1.43k|{
34460|  1.43k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  2.87k|#  define MAXSTACK 6000
  ------------------
  |  Branch (34460:9): [True: 0, False: 1.43k]
  |  Branch (34460:35): [True: 0, False: 1.43k]
  ------------------
34461|      0|        _Pypegen_stack_overflow(p);
34462|      0|    }
34463|  1.43k|    if (p->error_indicator) {
  ------------------
  |  Branch (34463:9): [True: 0, False: 1.43k]
  ------------------
34464|      0|        p->level--;
34465|      0|        return NULL;
34466|      0|    }
34467|  1.43k|    asdl_seq * _res = NULL;
34468|  1.43k|    int _mark = p->mark;
34469|  1.43k|    { // kwarg_or_double_starred _loop0_95
34470|  1.43k|        if (p->error_indicator) {
  ------------------
  |  Branch (34470:13): [True: 0, False: 1.43k]
  ------------------
34471|      0|            p->level--;
34472|      0|            return NULL;
34473|      0|        }
34474|  1.43k|        D(fprintf(stderr, "%*c> _gather_96[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "kwarg_or_double_starred _loop0_95"));
34475|  1.43k|        KeywordOrStarred* elem;
34476|  1.43k|        asdl_seq * seq;
34477|  1.43k|        if (
34478|  1.43k|            (elem = kwarg_or_double_starred_rule(p))  // kwarg_or_double_starred
  ------------------
  |  Branch (34478:13): [True: 85, False: 1.35k]
  ------------------
34479|     85|            &&
34480|     85|            (seq = _loop0_95_rule(p))  // _loop0_95
  ------------------
  |  Branch (34480:13): [True: 85, False: 0]
  ------------------
34481|  1.43k|        )
34482|     85|        {
34483|     85|            D(fprintf(stderr, "%*c+ _gather_96[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "kwarg_or_double_starred _loop0_95"));
34484|     85|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
34485|     85|            goto done;
34486|     85|        }
34487|  1.35k|        p->mark = _mark;
34488|  1.35k|        D(fprintf(stderr, "%*c%s _gather_96[%d-%d]: %s failed!\n", p->level, ' ',
34489|  1.35k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "kwarg_or_double_starred _loop0_95"));
34490|  1.35k|    }
34491|  1.35k|    _res = NULL;
34492|  1.43k|  done:
34493|  1.43k|    p->level--;
34494|  1.43k|    return _res;
34495|  1.35k|}
parser.c:kwarg_or_double_starred_rule:
19077|  1.43k|{
19078|  1.43k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  2.87k|#  define MAXSTACK 6000
  ------------------
  |  Branch (19078:9): [True: 0, False: 1.43k]
  |  Branch (19078:35): [True: 0, False: 1.43k]
  ------------------
19079|      0|        _Pypegen_stack_overflow(p);
19080|      0|    }
19081|  1.43k|    if (p->error_indicator) {
  ------------------
  |  Branch (19081:9): [True: 0, False: 1.43k]
  ------------------
19082|      0|        p->level--;
19083|      0|        return NULL;
19084|      0|    }
19085|  1.43k|    KeywordOrStarred* _res = NULL;
19086|  1.43k|    int _mark = p->mark;
19087|  1.43k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (19087:9): [True: 0, False: 1.43k]
  |  Branch (19087:31): [True: 0, False: 0]
  ------------------
19088|      0|        p->error_indicator = 1;
19089|      0|        p->level--;
19090|      0|        return NULL;
19091|      0|    }
19092|  1.43k|    int _start_lineno = p->tokens[_mark]->lineno;
19093|  1.43k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|  1.43k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 1.43k]
  |  |  ------------------
  ------------------
19094|  1.43k|    int _start_col_offset = p->tokens[_mark]->col_offset;
19095|  1.43k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|  1.43k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 1.43k]
  |  |  ------------------
  ------------------
19096|  1.43k|    if (p->call_invalid_rules) { // invalid_kwarg
  ------------------
  |  Branch (19096:9): [True: 0, False: 1.43k]
  ------------------
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|  1.43k|    { // NAME '=' expression
19116|  1.43k|        if (p->error_indicator) {
  ------------------
  |  Branch (19116:13): [True: 0, False: 1.43k]
  ------------------
19117|      0|            p->level--;
19118|      0|            return NULL;
19119|      0|        }
19120|  1.43k|        D(fprintf(stderr, "%*c> kwarg_or_double_starred[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME '=' expression"));
19121|  1.43k|        Token * _literal;
19122|  1.43k|        expr_ty a;
19123|  1.43k|        expr_ty b;
19124|  1.43k|        if (
19125|  1.43k|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (19125:13): [True: 0, False: 1.43k]
  ------------------
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|  1.43k|        )
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|  1.43k|        p->mark = _mark;
19151|  1.43k|        D(fprintf(stderr, "%*c%s kwarg_or_double_starred[%d-%d]: %s failed!\n", p->level, ' ',
19152|  1.43k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME '=' expression"));
19153|  1.43k|    }
19154|      0|    { // '**' expression
19155|  1.43k|        if (p->error_indicator) {
  ------------------
  |  Branch (19155:13): [True: 0, False: 1.43k]
  ------------------
19156|      0|            p->level--;
19157|      0|            return NULL;
19158|      0|        }
19159|  1.43k|        D(fprintf(stderr, "%*c> kwarg_or_double_starred[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' expression"));
19160|  1.43k|        Token * _literal;
19161|  1.43k|        expr_ty a;
19162|  1.43k|        if (
19163|  1.43k|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (19163:13): [True: 85, False: 1.35k]
  ------------------
19164|     85|            &&
19165|     85|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (19165:13): [True: 85, False: 0]
  ------------------
19166|  1.43k|        )
19167|     85|        {
19168|     85|            D(fprintf(stderr, "%*c+ kwarg_or_double_starred[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' expression"));
19169|     85|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
19170|     85|            if (_token == NULL) {
  ------------------
  |  Branch (19170:17): [True: 0, False: 85]
  ------------------
19171|      0|                p->level--;
19172|      0|                return NULL;
19173|      0|            }
19174|     85|            int _end_lineno = _token->end_lineno;
19175|     85|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|     85|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 85]
  |  |  ------------------
  ------------------
19176|     85|            int _end_col_offset = _token->end_col_offset;
19177|     85|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|     85|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 85]
  |  |  ------------------
  ------------------
19178|     85|            _res = _PyPegen_keyword_or_starred ( p , CHECK ( keyword_ty , _PyAST_keyword ( NULL , a , EXTRA ) ) , 1 );
  ------------------
  |  |  233|     85|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
19179|     85|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19179:18): [True: 0, False: 85]
  |  Branch (19179:34): [True: 0, False: 85]
  |  Branch (19179:57): [True: 0, False: 0]
  ------------------
19180|      0|                p->error_indicator = 1;
19181|      0|                p->level--;
19182|      0|                return NULL;
19183|      0|            }
19184|     85|            goto done;
19185|     85|        }
19186|  1.35k|        p->mark = _mark;
19187|  1.35k|        D(fprintf(stderr, "%*c%s kwarg_or_double_starred[%d-%d]: %s failed!\n", p->level, ' ',
19188|  1.35k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' expression"));
19189|  1.35k|    }
19190|  1.35k|    _res = NULL;
19191|  1.43k|  done:
19192|  1.43k|    p->level--;
19193|  1.43k|    return _res;
19194|  1.35k|}
parser.c:_loop0_95_rule:
34383|     85|{
34384|     85|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    170|#  define MAXSTACK 6000
  ------------------
  |  Branch (34384:9): [True: 0, False: 85]
  |  Branch (34384:35): [True: 0, False: 85]
  ------------------
34385|      0|        _Pypegen_stack_overflow(p);
34386|      0|    }
34387|     85|    if (p->error_indicator) {
  ------------------
  |  Branch (34387:9): [True: 0, False: 85]
  ------------------
34388|      0|        p->level--;
34389|      0|        return NULL;
34390|      0|    }
34391|     85|    void *_res = NULL;
34392|     85|    int _mark = p->mark;
34393|     85|    void **_children = PyMem_Malloc(sizeof(void *));
34394|     85|    if (!_children) {
  ------------------
  |  Branch (34394:9): [True: 0, False: 85]
  ------------------
34395|      0|        p->error_indicator = 1;
34396|      0|        PyErr_NoMemory();
34397|      0|        p->level--;
34398|      0|        return NULL;
34399|      0|    }
34400|     85|    Py_ssize_t _children_capacity = 1;
34401|     85|    Py_ssize_t _n = 0;
34402|     85|    { // ',' kwarg_or_double_starred
34403|     85|        if (p->error_indicator) {
  ------------------
  |  Branch (34403:13): [True: 0, False: 85]
  ------------------
34404|      0|            p->level--;
34405|      0|            return NULL;
34406|      0|        }
34407|     85|        D(fprintf(stderr, "%*c> _loop0_95[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' kwarg_or_double_starred"));
34408|     85|        Token * _literal;
34409|     85|        KeywordOrStarred* elem;
34410|     85|        while (
34411|     85|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (34411:13): [True: 0, False: 85]
  ------------------
34412|      0|            &&
34413|      0|            (elem = kwarg_or_double_starred_rule(p))  // kwarg_or_double_starred
  ------------------
  |  Branch (34413:13): [True: 0, False: 0]
  ------------------
34414|     85|        )
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|     85|        p->mark = _mark;
34439|     85|        D(fprintf(stderr, "%*c%s _loop0_95[%d-%d]: %s failed!\n", p->level, ' ',
34440|     85|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' kwarg_or_double_starred"));
34441|     85|    }
34442|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
34443|     85|    if (!_seq) {
  ------------------
  |  Branch (34443:9): [True: 0, False: 85]
  ------------------
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|     85|    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|     85|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (34450:28): [True: 0, False: 85]
  ------------------
34451|     85|    PyMem_Free(_children);
34452|     85|    p->level--;
34453|     85|    return _seq;
34454|     85|}
parser.c:slices_rule:
15100|    950|{
15101|    950|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.90k|#  define MAXSTACK 6000
  ------------------
  |  Branch (15101:9): [True: 0, False: 950]
  |  Branch (15101:35): [True: 0, False: 950]
  ------------------
15102|      0|        _Pypegen_stack_overflow(p);
15103|      0|    }
15104|    950|    if (p->error_indicator) {
  ------------------
  |  Branch (15104:9): [True: 0, False: 950]
  ------------------
15105|      0|        p->level--;
15106|      0|        return NULL;
15107|      0|    }
15108|    950|    expr_ty _res = NULL;
15109|    950|    int _mark = p->mark;
15110|    950|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (15110:9): [True: 466, False: 484]
  |  Branch (15110:31): [True: 0, False: 466]
  ------------------
15111|      0|        p->error_indicator = 1;
15112|      0|        p->level--;
15113|      0|        return NULL;
15114|      0|    }
15115|    950|    int _start_lineno = p->tokens[_mark]->lineno;
15116|    950|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    950|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 950]
  |  |  ------------------
  ------------------
15117|    950|    int _start_col_offset = p->tokens[_mark]->col_offset;
15118|    950|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    950|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 950]
  |  |  ------------------
  ------------------
15119|    950|    { // slice !','
15120|    950|        if (p->error_indicator) {
  ------------------
  |  Branch (15120:13): [True: 0, False: 950]
  ------------------
15121|      0|            p->level--;
15122|      0|            return NULL;
15123|      0|        }
15124|    950|        D(fprintf(stderr, "%*c> slices[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "slice !','"));
15125|    950|        expr_ty a;
15126|    950|        if (
15127|    950|            (a = slice_rule(p))  // slice
  ------------------
  |  Branch (15127:13): [True: 950, False: 0]
  ------------------
15128|    950|            &&
15129|    950|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 12)  // token=','
  ------------------
  |  Branch (15129:13): [True: 944, False: 6]
  ------------------
15130|    950|        )
15131|    944|        {
15132|    944|            D(fprintf(stderr, "%*c+ slices[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "slice !','"));
15133|    944|            _res = a;
15134|    944|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15134:18): [True: 0, False: 944]
  |  Branch (15134:34): [True: 0, False: 944]
  |  Branch (15134:57): [True: 0, False: 0]
  ------------------
15135|      0|                p->error_indicator = 1;
15136|      0|                p->level--;
15137|      0|                return NULL;
15138|      0|            }
15139|    944|            goto done;
15140|    944|        }
15141|      6|        p->mark = _mark;
15142|      6|        D(fprintf(stderr, "%*c%s slices[%d-%d]: %s failed!\n", p->level, ' ',
15143|      6|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "slice !','"));
15144|      6|    }
15145|      0|    { // ','.(slice | starred_expression)+ ','?
15146|      6|        if (p->error_indicator) {
  ------------------
  |  Branch (15146:13): [True: 0, False: 6]
  ------------------
15147|      0|            p->level--;
15148|      0|            return NULL;
15149|      0|        }
15150|      6|        D(fprintf(stderr, "%*c> slices[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.(slice | starred_expression)+ ','?"));
15151|      6|        void *_opt_var;
15152|      6|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  267|      6|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 6]
  |  |  ------------------
  ------------------
15153|      6|        asdl_expr_seq* a;
15154|      6|        if (
15155|      6|            (a = (asdl_expr_seq*)_gather_66_rule(p))  // ','.(slice | starred_expression)+
  ------------------
  |  Branch (15155:13): [True: 6, False: 0]
  ------------------
15156|      6|            &&
15157|      6|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (15157:13): [True: 6, False: 0]
  ------------------
15158|      6|        )
15159|      6|        {
15160|      6|            D(fprintf(stderr, "%*c+ slices[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.(slice | starred_expression)+ ','?"));
15161|      6|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
15162|      6|            if (_token == NULL) {
  ------------------
  |  Branch (15162:17): [True: 0, False: 6]
  ------------------
15163|      0|                p->level--;
15164|      0|                return NULL;
15165|      0|            }
15166|      6|            int _end_lineno = _token->end_lineno;
15167|      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]
  |  |  ------------------
  ------------------
15168|      6|            int _end_col_offset = _token->end_col_offset;
15169|      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]
  |  |  ------------------
  ------------------
15170|      6|            _res = _PyAST_Tuple ( a , Load , EXTRA );
  ------------------
  |  |  269|      6|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
15171|      6|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15171:18): [True: 0, False: 6]
  |  Branch (15171:34): [True: 0, False: 6]
  |  Branch (15171:57): [True: 0, False: 0]
  ------------------
15172|      0|                p->error_indicator = 1;
15173|      0|                p->level--;
15174|      0|                return NULL;
15175|      0|            }
15176|      6|            goto done;
15177|      6|        }
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|    950|  done:
15184|    950|    p->level--;
15185|    950|    return _res;
15186|      0|}
parser.c:slice_rule:
15191|    972|{
15192|    972|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.94k|#  define MAXSTACK 6000
  ------------------
  |  Branch (15192:9): [True: 0, False: 972]
  |  Branch (15192:35): [True: 0, False: 972]
  ------------------
15193|      0|        _Pypegen_stack_overflow(p);
15194|      0|    }
15195|    972|    if (p->error_indicator) {
  ------------------
  |  Branch (15195:9): [True: 0, False: 972]
  ------------------
15196|      0|        p->level--;
15197|      0|        return NULL;
15198|      0|    }
15199|    972|    expr_ty _res = NULL;
15200|    972|    int _mark = p->mark;
15201|    972|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (15201:9): [True: 16, False: 956]
  |  Branch (15201:31): [True: 0, False: 16]
  ------------------
15202|      0|        p->error_indicator = 1;
15203|      0|        p->level--;
15204|      0|        return NULL;
15205|      0|    }
15206|    972|    int _start_lineno = p->tokens[_mark]->lineno;
15207|    972|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    972|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 972]
  |  |  ------------------
  ------------------
15208|    972|    int _start_col_offset = p->tokens[_mark]->col_offset;
15209|    972|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    972|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 972]
  |  |  ------------------
  ------------------
15210|    972|    { // expression? ':' expression? [':' expression?]
15211|    972|        if (p->error_indicator) {
  ------------------
  |  Branch (15211:13): [True: 0, False: 972]
  ------------------
15212|      0|            p->level--;
15213|      0|            return NULL;
15214|      0|        }
15215|    972|        D(fprintf(stderr, "%*c> slice[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression? ':' expression? [':' expression?]"));
15216|    972|        Token * _literal;
15217|    972|        void *a;
15218|    972|        void *b;
15219|    972|        void *c;
15220|    972|        if (
15221|    972|            (a = expression_rule(p), !p->error_indicator)  // expression?
  ------------------
  |  Branch (15221:13): [True: 972, False: 0]
  ------------------
15222|    972|            &&
15223|    972|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (15223:13): [True: 130, False: 842]
  ------------------
15224|    130|            &&
15225|    130|            (b = expression_rule(p), !p->error_indicator)  // expression?
  ------------------
  |  Branch (15225:13): [True: 130, False: 0]
  ------------------
15226|    130|            &&
15227|    130|            (c = _tmp_67_rule(p), !p->error_indicator)  // [':' expression?]
  ------------------
  |  Branch (15227:13): [True: 130, False: 0]
  ------------------
15228|    972|        )
15229|    130|        {
15230|    130|            D(fprintf(stderr, "%*c+ slice[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression? ':' expression? [':' expression?]"));
15231|    130|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
15232|    130|            if (_token == NULL) {
  ------------------
  |  Branch (15232:17): [True: 0, False: 130]
  ------------------
15233|      0|                p->level--;
15234|      0|                return NULL;
15235|      0|            }
15236|    130|            int _end_lineno = _token->end_lineno;
15237|    130|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    130|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 130]
  |  |  ------------------
  ------------------
15238|    130|            int _end_col_offset = _token->end_col_offset;
15239|    130|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    130|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 130]
  |  |  ------------------
  ------------------
15240|    130|            _res = _PyAST_Slice ( a , b , c , EXTRA );
  ------------------
  |  |  269|    130|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
15241|    130|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15241:18): [True: 0, False: 130]
  |  Branch (15241:34): [True: 0, False: 130]
  |  Branch (15241:57): [True: 0, False: 0]
  ------------------
15242|      0|                p->error_indicator = 1;
15243|      0|                p->level--;
15244|      0|                return NULL;
15245|      0|            }
15246|    130|            goto done;
15247|    130|        }
15248|    842|        p->mark = _mark;
15249|    842|        D(fprintf(stderr, "%*c%s slice[%d-%d]: %s failed!\n", p->level, ' ',
15250|    842|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression? ':' expression? [':' expression?]"));
15251|    842|    }
15252|      0|    { // named_expression
15253|    842|        if (p->error_indicator) {
  ------------------
  |  Branch (15253:13): [True: 0, False: 842]
  ------------------
15254|      0|            p->level--;
15255|      0|            return NULL;
15256|      0|        }
15257|    842|        D(fprintf(stderr, "%*c> slice[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "named_expression"));
15258|    842|        expr_ty a;
15259|    842|        if (
15260|    842|            (a = named_expression_rule(p))  // named_expression
  ------------------
  |  Branch (15260:13): [True: 842, False: 0]
  ------------------
15261|    842|        )
15262|    842|        {
15263|    842|            D(fprintf(stderr, "%*c+ slice[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "named_expression"));
15264|    842|            _res = a;
15265|    842|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15265:18): [True: 0, False: 842]
  |  Branch (15265:34): [True: 0, False: 842]
  |  Branch (15265:57): [True: 0, False: 0]
  ------------------
15266|      0|                p->error_indicator = 1;
15267|      0|                p->level--;
15268|      0|                return NULL;
15269|      0|            }
15270|    842|            goto done;
15271|    842|        }
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|    972|  done:
15278|    972|    p->level--;
15279|    972|    return _res;
15280|      0|}
parser.c:_tmp_67_rule:
32559|    130|{
32560|    130|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    260|#  define MAXSTACK 6000
  ------------------
  |  Branch (32560:9): [True: 0, False: 130]
  |  Branch (32560:35): [True: 0, False: 130]
  ------------------
32561|      0|        _Pypegen_stack_overflow(p);
32562|      0|    }
32563|    130|    if (p->error_indicator) {
  ------------------
  |  Branch (32563:9): [True: 0, False: 130]
  ------------------
32564|      0|        p->level--;
32565|      0|        return NULL;
32566|      0|    }
32567|    130|    void * _res = NULL;
32568|    130|    int _mark = p->mark;
32569|    130|    { // ':' expression?
32570|    130|        if (p->error_indicator) {
  ------------------
  |  Branch (32570:13): [True: 0, False: 130]
  ------------------
32571|      0|            p->level--;
32572|      0|            return NULL;
32573|      0|        }
32574|    130|        D(fprintf(stderr, "%*c> _tmp_67[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "':' expression?"));
32575|    130|        Token * _literal;
32576|    130|        void *d;
32577|    130|        if (
32578|    130|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (32578:13): [True: 0, False: 130]
  ------------------
32579|      0|            &&
32580|      0|            (d = expression_rule(p), !p->error_indicator)  // expression?
  ------------------
  |  Branch (32580:13): [True: 0, False: 0]
  ------------------
32581|    130|        )
32582|      0|        {
32583|      0|            D(fprintf(stderr, "%*c+ _tmp_67[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "':' expression?"));
32584|      0|            _res = d;
32585|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (32585:18): [True: 0, False: 0]
  |  Branch (32585:34): [True: 0, False: 0]
  |  Branch (32585:57): [True: 0, False: 0]
  ------------------
32586|      0|                p->error_indicator = 1;
32587|      0|                p->level--;
32588|      0|                return NULL;
32589|      0|            }
32590|      0|            goto done;
32591|      0|        }
32592|    130|        p->mark = _mark;
32593|    130|        D(fprintf(stderr, "%*c%s _tmp_67[%d-%d]: %s failed!\n", p->level, ' ',
32594|    130|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "':' expression?"));
32595|    130|    }
32596|    130|    _res = NULL;
32597|    130|  done:
32598|    130|    p->level--;
32599|    130|    return _res;
32600|    130|}
parser.c:_gather_66_rule:
32518|      6|{
32519|      6|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     12|#  define MAXSTACK 6000
  ------------------
  |  Branch (32519:9): [True: 0, False: 6]
  |  Branch (32519:35): [True: 0, False: 6]
  ------------------
32520|      0|        _Pypegen_stack_overflow(p);
32521|      0|    }
32522|      6|    if (p->error_indicator) {
  ------------------
  |  Branch (32522:9): [True: 0, False: 6]
  ------------------
32523|      0|        p->level--;
32524|      0|        return NULL;
32525|      0|    }
32526|      6|    asdl_seq * _res = NULL;
32527|      6|    int _mark = p->mark;
32528|      6|    { // (slice | starred_expression) _loop0_65
32529|      6|        if (p->error_indicator) {
  ------------------
  |  Branch (32529:13): [True: 0, False: 6]
  ------------------
32530|      0|            p->level--;
32531|      0|            return NULL;
32532|      0|        }
32533|      6|        D(fprintf(stderr, "%*c> _gather_66[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(slice | starred_expression) _loop0_65"));
32534|      6|        void *elem;
32535|      6|        asdl_seq * seq;
32536|      6|        if (
32537|      6|            (elem = _tmp_165_rule(p))  // slice | starred_expression
  ------------------
  |  Branch (32537:13): [True: 6, False: 0]
  ------------------
32538|      6|            &&
32539|      6|            (seq = _loop0_65_rule(p))  // _loop0_65
  ------------------
  |  Branch (32539:13): [True: 6, False: 0]
  ------------------
32540|      6|        )
32541|      6|        {
32542|      6|            D(fprintf(stderr, "%*c+ _gather_66[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "(slice | starred_expression) _loop0_65"));
32543|      6|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
32544|      6|            goto done;
32545|      6|        }
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|      6|  done:
32552|      6|    p->level--;
32553|      6|    return _res;
32554|      0|}
parser.c:_tmp_165_rule:
38580|     22|{
38581|     22|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     44|#  define MAXSTACK 6000
  ------------------
  |  Branch (38581:9): [True: 0, False: 22]
  |  Branch (38581:35): [True: 0, False: 22]
  ------------------
38582|      0|        _Pypegen_stack_overflow(p);
38583|      0|    }
38584|     22|    if (p->error_indicator) {
  ------------------
  |  Branch (38584:9): [True: 0, False: 22]
  ------------------
38585|      0|        p->level--;
38586|      0|        return NULL;
38587|      0|    }
38588|     22|    void * _res = NULL;
38589|     22|    int _mark = p->mark;
38590|     22|    { // slice
38591|     22|        if (p->error_indicator) {
  ------------------
  |  Branch (38591:13): [True: 0, False: 22]
  ------------------
38592|      0|            p->level--;
38593|      0|            return NULL;
38594|      0|        }
38595|     22|        D(fprintf(stderr, "%*c> _tmp_165[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "slice"));
38596|     22|        expr_ty slice_var;
38597|     22|        if (
38598|     22|            (slice_var = slice_rule(p))  // slice
  ------------------
  |  Branch (38598:13): [True: 22, False: 0]
  ------------------
38599|     22|        )
38600|     22|        {
38601|     22|            D(fprintf(stderr, "%*c+ _tmp_165[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "slice"));
38602|     22|            _res = slice_var;
38603|     22|            goto done;
38604|     22|        }
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|     22|  done:
38630|     22|    p->level--;
38631|     22|    return _res;
38632|      0|}
parser.c:_loop0_65_rule:
32442|      6|{
32443|      6|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     12|#  define MAXSTACK 6000
  ------------------
  |  Branch (32443:9): [True: 0, False: 6]
  |  Branch (32443:35): [True: 0, False: 6]
  ------------------
32444|      0|        _Pypegen_stack_overflow(p);
32445|      0|    }
32446|      6|    if (p->error_indicator) {
  ------------------
  |  Branch (32446:9): [True: 0, False: 6]
  ------------------
32447|      0|        p->level--;
32448|      0|        return NULL;
32449|      0|    }
32450|      6|    void *_res = NULL;
32451|      6|    int _mark = p->mark;
32452|      6|    void **_children = PyMem_Malloc(sizeof(void *));
32453|      6|    if (!_children) {
  ------------------
  |  Branch (32453:9): [True: 0, False: 6]
  ------------------
32454|      0|        p->error_indicator = 1;
32455|      0|        PyErr_NoMemory();
32456|      0|        p->level--;
32457|      0|        return NULL;
32458|      0|    }
32459|      6|    Py_ssize_t _children_capacity = 1;
32460|      6|    Py_ssize_t _n = 0;
32461|      6|    { // ',' (slice | starred_expression)
32462|      6|        if (p->error_indicator) {
  ------------------
  |  Branch (32462:13): [True: 0, False: 6]
  ------------------
32463|      0|            p->level--;
32464|      0|            return NULL;
32465|      0|        }
32466|      6|        D(fprintf(stderr, "%*c> _loop0_65[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' (slice | starred_expression)"));
32467|      6|        Token * _literal;
32468|      6|        void *elem;
32469|      6|        while (
32470|     22|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (32470:13): [True: 16, False: 6]
  ------------------
32471|     16|            &&
32472|     16|            (elem = _tmp_165_rule(p))  // slice | starred_expression
  ------------------
  |  Branch (32472:13): [True: 16, False: 0]
  ------------------
32473|      6|        )
32474|     16|        {
32475|     16|            _res = elem;
32476|     16|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (32476:18): [True: 0, False: 16]
  |  Branch (32476:34): [True: 0, False: 16]
  |  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|     16|            if (_n == _children_capacity) {
  ------------------
  |  Branch (32482:17): [True: 6, False: 10]
  ------------------
32483|      6|                _children_capacity *= 2;
32484|      6|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
32485|      6|                if (!_new_children) {
  ------------------
  |  Branch (32485:21): [True: 0, False: 6]
  ------------------
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|      6|                _children = _new_children;
32493|      6|            }
32494|     16|            _children[_n++] = _res;
32495|     16|            _mark = p->mark;
32496|     16|        }
32497|      6|        p->mark = _mark;
32498|      6|        D(fprintf(stderr, "%*c%s _loop0_65[%d-%d]: %s failed!\n", p->level, ' ',
32499|      6|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' (slice | starred_expression)"));
32500|      6|    }
32501|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
32502|      6|    if (!_seq) {
  ------------------
  |  Branch (32502:9): [True: 0, False: 6]
  ------------------
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|     22|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|     16|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|     22|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (32509:28): [True: 16, False: 6]
  ------------------
32510|      6|    PyMem_Free(_children);
32511|      6|    p->level--;
32512|      6|    return _seq;
32513|      6|}
parser.c:atom_rule:
15295|   253k|{
15296|   253k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   506k|#  define MAXSTACK 6000
  ------------------
  |  Branch (15296:9): [True: 0, False: 253k]
  |  Branch (15296:35): [True: 0, False: 253k]
  ------------------
15297|      0|        _Pypegen_stack_overflow(p);
15298|      0|    }
15299|   253k|    if (p->error_indicator) {
  ------------------
  |  Branch (15299:9): [True: 0, False: 253k]
  ------------------
15300|      0|        p->level--;
15301|      0|        return NULL;
15302|      0|    }
15303|   253k|    expr_ty _res = NULL;
15304|   253k|    int _mark = p->mark;
15305|   253k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (15305:9): [True: 0, False: 253k]
  |  Branch (15305:31): [True: 0, False: 0]
  ------------------
15306|      0|        p->error_indicator = 1;
15307|      0|        p->level--;
15308|      0|        return NULL;
15309|      0|    }
15310|   253k|    int _start_lineno = p->tokens[_mark]->lineno;
15311|   253k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|   253k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 253k]
  |  |  ------------------
  ------------------
15312|   253k|    int _start_col_offset = p->tokens[_mark]->col_offset;
15313|   253k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|   253k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 253k]
  |  |  ------------------
  ------------------
15314|   253k|    { // NAME
15315|   253k|        if (p->error_indicator) {
  ------------------
  |  Branch (15315:13): [True: 0, False: 253k]
  ------------------
15316|      0|            p->level--;
15317|      0|            return NULL;
15318|      0|        }
15319|   253k|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME"));
15320|   253k|        expr_ty name_var;
15321|   253k|        if (
15322|   253k|            (name_var = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (15322:13): [True: 53.9k, False: 199k]
  ------------------
15323|   253k|        )
15324|  53.9k|        {
15325|  53.9k|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME"));
15326|  53.9k|            _res = name_var;
15327|  53.9k|            goto done;
15328|  53.9k|        }
15329|   199k|        p->mark = _mark;
15330|   199k|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15331|   199k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME"));
15332|   199k|    }
15333|      0|    { // 'True'
15334|   199k|        if (p->error_indicator) {
  ------------------
  |  Branch (15334:13): [True: 0, False: 199k]
  ------------------
15335|      0|            p->level--;
15336|      0|            return NULL;
15337|      0|        }
15338|   199k|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'True'"));
15339|   199k|        Token * _keyword;
15340|   199k|        if (
15341|   199k|            (_keyword = _PyPegen_expect_token(p, 627))  // token='True'
  ------------------
  |  Branch (15341:13): [True: 774, False: 198k]
  ------------------
15342|   199k|        )
15343|    774|        {
15344|    774|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'True'"));
15345|    774|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
15346|    774|            if (_token == NULL) {
  ------------------
  |  Branch (15346:17): [True: 0, False: 774]
  ------------------
15347|      0|                p->level--;
15348|      0|                return NULL;
15349|      0|            }
15350|    774|            int _end_lineno = _token->end_lineno;
15351|    774|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    774|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 774]
  |  |  ------------------
  ------------------
15352|    774|            int _end_col_offset = _token->end_col_offset;
15353|    774|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    774|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 774]
  |  |  ------------------
  ------------------
15354|    774|            _res = _PyAST_Constant ( Py_True , NULL , EXTRA );
  ------------------
  |  |   26|    774|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|    774|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    774|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          _res = _PyAST_Constant ( Py_True , NULL , EXTRA );
  ------------------
  |  |  269|    774|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
15355|    774|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15355:18): [True: 0, False: 774]
  |  Branch (15355:34): [True: 0, False: 774]
  |  Branch (15355:57): [True: 0, False: 0]
  ------------------
15356|      0|                p->error_indicator = 1;
15357|      0|                p->level--;
15358|      0|                return NULL;
15359|      0|            }
15360|    774|            goto done;
15361|    774|        }
15362|   198k|        p->mark = _mark;
15363|   198k|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15364|   198k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'True'"));
15365|   198k|    }
15366|      0|    { // 'False'
15367|   198k|        if (p->error_indicator) {
  ------------------
  |  Branch (15367:13): [True: 0, False: 198k]
  ------------------
15368|      0|            p->level--;
15369|      0|            return NULL;
15370|      0|        }
15371|   198k|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'False'"));
15372|   198k|        Token * _keyword;
15373|   198k|        if (
15374|   198k|            (_keyword = _PyPegen_expect_token(p, 629))  // token='False'
  ------------------
  |  Branch (15374:13): [True: 838, False: 197k]
  ------------------
15375|   198k|        )
15376|    838|        {
15377|    838|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'False'"));
15378|    838|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
15379|    838|            if (_token == NULL) {
  ------------------
  |  Branch (15379:17): [True: 0, False: 838]
  ------------------
15380|      0|                p->level--;
15381|      0|                return NULL;
15382|      0|            }
15383|    838|            int _end_lineno = _token->end_lineno;
15384|    838|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    838|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 838]
  |  |  ------------------
  ------------------
15385|    838|            int _end_col_offset = _token->end_col_offset;
15386|    838|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    838|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 838]
  |  |  ------------------
  ------------------
15387|    838|            _res = _PyAST_Constant ( Py_False , NULL , EXTRA );
  ------------------
  |  |   25|    838|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|    838|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    838|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          _res = _PyAST_Constant ( Py_False , NULL , EXTRA );
  ------------------
  |  |  269|    838|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
15388|    838|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15388:18): [True: 0, False: 838]
  |  Branch (15388:34): [True: 0, False: 838]
  |  Branch (15388:57): [True: 0, False: 0]
  ------------------
15389|      0|                p->error_indicator = 1;
15390|      0|                p->level--;
15391|      0|                return NULL;
15392|      0|            }
15393|    838|            goto done;
15394|    838|        }
15395|   197k|        p->mark = _mark;
15396|   197k|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15397|   197k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'False'"));
15398|   197k|    }
15399|      0|    { // 'None'
15400|   197k|        if (p->error_indicator) {
  ------------------
  |  Branch (15400:13): [True: 0, False: 197k]
  ------------------
15401|      0|            p->level--;
15402|      0|            return NULL;
15403|      0|        }
15404|   197k|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'None'"));
15405|   197k|        Token * _keyword;
15406|   197k|        if (
15407|   197k|            (_keyword = _PyPegen_expect_token(p, 628))  // token='None'
  ------------------
  |  Branch (15407:13): [True: 3.35k, False: 194k]
  ------------------
15408|   197k|        )
15409|  3.35k|        {
15410|  3.35k|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'None'"));
15411|  3.35k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
15412|  3.35k|            if (_token == NULL) {
  ------------------
  |  Branch (15412:17): [True: 0, False: 3.35k]
  ------------------
15413|      0|                p->level--;
15414|      0|                return NULL;
15415|      0|            }
15416|  3.35k|            int _end_lineno = _token->end_lineno;
15417|  3.35k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|  3.35k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 3.35k]
  |  |  ------------------
  ------------------
15418|  3.35k|            int _end_col_offset = _token->end_col_offset;
15419|  3.35k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|  3.35k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 3.35k]
  |  |  ------------------
  ------------------
15420|  3.35k|            _res = _PyAST_Constant ( Py_None , NULL , EXTRA );
  ------------------
  |  |  616|  3.35k|#  define Py_None (&_Py_NoneStruct)
  ------------------
                          _res = _PyAST_Constant ( Py_None , NULL , EXTRA );
  ------------------
  |  |  269|  3.35k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
15421|  3.35k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15421:18): [True: 0, False: 3.35k]
  |  Branch (15421:34): [True: 0, False: 3.35k]
  |  Branch (15421:57): [True: 0, False: 0]
  ------------------
15422|      0|                p->error_indicator = 1;
15423|      0|                p->level--;
15424|      0|                return NULL;
15425|      0|            }
15426|  3.35k|            goto done;
15427|  3.35k|        }
15428|   194k|        p->mark = _mark;
15429|   194k|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15430|   194k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'None'"));
15431|   194k|    }
15432|      0|    { // &(STRING | FSTRING_START | TSTRING_START) strings
15433|   194k|        if (p->error_indicator) {
  ------------------
  |  Branch (15433:13): [True: 0, False: 194k]
  ------------------
15434|      0|            p->level--;
15435|      0|            return NULL;
15436|      0|        }
15437|   194k|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&(STRING | FSTRING_START | TSTRING_START) strings"));
15438|   194k|        expr_ty strings_var;
15439|   194k|        if (
15440|   194k|            _PyPegen_lookahead(1, _tmp_42_rule, p)
  ------------------
  |  Branch (15440:13): [True: 7.34k, False: 186k]
  ------------------
15441|  7.34k|            &&
15442|  7.34k|            (strings_var = strings_rule(p))  // strings
  ------------------
  |  Branch (15442:13): [True: 7.34k, False: 0]
  ------------------
15443|   194k|        )
15444|  7.34k|        {
15445|  7.34k|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&(STRING | FSTRING_START | TSTRING_START) strings"));
15446|  7.34k|            _res = strings_var;
15447|  7.34k|            goto done;
15448|  7.34k|        }
15449|   186k|        p->mark = _mark;
15450|   186k|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15451|   186k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&(STRING | FSTRING_START | TSTRING_START) strings"));
15452|   186k|    }
15453|      0|    { // NUMBER
15454|   186k|        if (p->error_indicator) {
  ------------------
  |  Branch (15454:13): [True: 0, False: 186k]
  ------------------
15455|      0|            p->level--;
15456|      0|            return NULL;
15457|      0|        }
15458|   186k|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NUMBER"));
15459|   186k|        expr_ty number_var;
15460|   186k|        if (
15461|   186k|            (number_var = _PyPegen_number_token(p))  // NUMBER
  ------------------
  |  Branch (15461:13): [True: 1.95k, False: 184k]
  ------------------
15462|   186k|        )
15463|  1.95k|        {
15464|  1.95k|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NUMBER"));
15465|  1.95k|            _res = number_var;
15466|  1.95k|            goto done;
15467|  1.95k|        }
15468|   184k|        p->mark = _mark;
15469|   184k|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15470|   184k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NUMBER"));
15471|   184k|    }
15472|      0|    { // &'(' (genexp | tuple | group)
15473|   184k|        if (p->error_indicator) {
  ------------------
  |  Branch (15473:13): [True: 0, False: 184k]
  ------------------
15474|      0|            p->level--;
15475|      0|            return NULL;
15476|      0|        }
15477|   184k|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'(' (genexp | tuple | group)"));
15478|   184k|        void *_tmp_68_var;
15479|   184k|        if (
15480|   184k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 7)  // token='('
  ------------------
  |  Branch (15480:13): [True: 1.61k, False: 183k]
  ------------------
15481|  1.61k|            &&
15482|  1.61k|            (_tmp_68_var = _tmp_68_rule(p))  // genexp | tuple | group
  ------------------
  |  Branch (15482:13): [True: 1.61k, False: 0]
  ------------------
15483|   184k|        )
15484|  1.61k|        {
15485|  1.61k|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'(' (genexp | tuple | group)"));
15486|  1.61k|            _res = _tmp_68_var;
15487|  1.61k|            goto done;
15488|  1.61k|        }
15489|   183k|        p->mark = _mark;
15490|   183k|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15491|   183k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'(' (genexp | tuple | group)"));
15492|   183k|    }
15493|      0|    { // &'[' (listcomp | list)
15494|   183k|        if (p->error_indicator) {
  ------------------
  |  Branch (15494:13): [True: 0, False: 183k]
  ------------------
15495|      0|            p->level--;
15496|      0|            return NULL;
15497|      0|        }
15498|   183k|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'[' (listcomp | list)"));
15499|   183k|        void *_tmp_69_var;
15500|   183k|        if (
15501|   183k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 9)  // token='['
  ------------------
  |  Branch (15501:13): [True: 571, False: 182k]
  ------------------
15502|    571|            &&
15503|    571|            (_tmp_69_var = _tmp_69_rule(p))  // listcomp | list
  ------------------
  |  Branch (15503:13): [True: 571, False: 0]
  ------------------
15504|   183k|        )
15505|    571|        {
15506|    571|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'[' (listcomp | list)"));
15507|    571|            _res = _tmp_69_var;
15508|    571|            goto done;
15509|    571|        }
15510|   182k|        p->mark = _mark;
15511|   182k|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15512|   182k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'[' (listcomp | list)"));
15513|   182k|    }
15514|      0|    { // &'{' (dictcomp | setcomp | dict | set)
15515|   182k|        if (p->error_indicator) {
  ------------------
  |  Branch (15515:13): [True: 0, False: 182k]
  ------------------
15516|      0|            p->level--;
15517|      0|            return NULL;
15518|      0|        }
15519|   182k|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'{' (dictcomp | setcomp | dict | set)"));
15520|   182k|        void *_tmp_70_var;
15521|   182k|        if (
15522|   182k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 25)  // token='{'
  ------------------
  |  Branch (15522:13): [True: 370, False: 182k]
  ------------------
15523|    370|            &&
15524|    370|            (_tmp_70_var = _tmp_70_rule(p))  // dictcomp | setcomp | dict | set
  ------------------
  |  Branch (15524:13): [True: 370, False: 0]
  ------------------
15525|   182k|        )
15526|    370|        {
15527|    370|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'{' (dictcomp | setcomp | dict | set)"));
15528|    370|            _res = _tmp_70_var;
15529|    370|            goto done;
15530|    370|        }
15531|   182k|        p->mark = _mark;
15532|   182k|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15533|   182k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'{' (dictcomp | setcomp | dict | set)"));
15534|   182k|    }
15535|      0|    { // '...'
15536|   182k|        if (p->error_indicator) {
  ------------------
  |  Branch (15536:13): [True: 0, False: 182k]
  ------------------
15537|      0|            p->level--;
15538|      0|            return NULL;
15539|      0|        }
15540|   182k|        D(fprintf(stderr, "%*c> atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'...'"));
15541|   182k|        Token * _literal;
15542|   182k|        if (
15543|   182k|            (_literal = _PyPegen_expect_token(p, 52))  // token='...'
  ------------------
  |  Branch (15543:13): [True: 4, False: 182k]
  ------------------
15544|   182k|        )
15545|      4|        {
15546|      4|            D(fprintf(stderr, "%*c+ atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'...'"));
15547|      4|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
15548|      4|            if (_token == NULL) {
  ------------------
  |  Branch (15548:17): [True: 0, False: 4]
  ------------------
15549|      0|                p->level--;
15550|      0|                return NULL;
15551|      0|            }
15552|      4|            int _end_lineno = _token->end_lineno;
15553|      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]
  |  |  ------------------
  ------------------
15554|      4|            int _end_col_offset = _token->end_col_offset;
15555|      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]
  |  |  ------------------
  ------------------
15556|      4|            _res = _PyAST_Constant ( Py_Ellipsis , NULL , EXTRA );
  ------------------
  |  |   14|      4|#  define Py_Ellipsis (&_Py_EllipsisObject)
  ------------------
                          _res = _PyAST_Constant ( Py_Ellipsis , NULL , EXTRA );
  ------------------
  |  |  269|      4|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
15557|      4|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15557:18): [True: 0, False: 4]
  |  Branch (15557:34): [True: 0, False: 4]
  |  Branch (15557:57): [True: 0, False: 0]
  ------------------
15558|      0|                p->error_indicator = 1;
15559|      0|                p->level--;
15560|      0|                return NULL;
15561|      0|            }
15562|      4|            goto done;
15563|      4|        }
15564|   182k|        p->mark = _mark;
15565|   182k|        D(fprintf(stderr, "%*c%s atom[%d-%d]: %s failed!\n", p->level, ' ',
15566|   182k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'...'"));
15567|   182k|    }
15568|   182k|    _res = NULL;
15569|   253k|  done:
15570|   253k|    p->level--;
15571|   253k|    return _res;
15572|   182k|}
parser.c:_tmp_42_rule:
31011|   194k|{
31012|   194k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   388k|#  define MAXSTACK 6000
  ------------------
  |  Branch (31012:9): [True: 0, False: 194k]
  |  Branch (31012:35): [True: 0, False: 194k]
  ------------------
31013|      0|        _Pypegen_stack_overflow(p);
31014|      0|    }
31015|   194k|    if (p->error_indicator) {
  ------------------
  |  Branch (31015:9): [True: 0, False: 194k]
  ------------------
31016|      0|        p->level--;
31017|      0|        return NULL;
31018|      0|    }
31019|   194k|    void * _res = NULL;
31020|   194k|    int _mark = p->mark;
31021|   194k|    { // STRING
31022|   194k|        if (p->error_indicator) {
  ------------------
  |  Branch (31022:13): [True: 0, False: 194k]
  ------------------
31023|      0|            p->level--;
31024|      0|            return NULL;
31025|      0|        }
31026|   194k|        D(fprintf(stderr, "%*c> _tmp_42[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "STRING"));
31027|   194k|        expr_ty string_var;
31028|   194k|        if (
31029|   194k|            (string_var = _PyPegen_string_token(p))  // STRING
  ------------------
  |  Branch (31029:13): [True: 6.54k, False: 187k]
  ------------------
31030|   194k|        )
31031|  6.54k|        {
31032|  6.54k|            D(fprintf(stderr, "%*c+ _tmp_42[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "STRING"));
31033|  6.54k|            _res = string_var;
31034|  6.54k|            goto done;
31035|  6.54k|        }
31036|   187k|        p->mark = _mark;
31037|   187k|        D(fprintf(stderr, "%*c%s _tmp_42[%d-%d]: %s failed!\n", p->level, ' ',
31038|   187k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "STRING"));
31039|   187k|    }
31040|      0|    { // FSTRING_START
31041|   187k|        if (p->error_indicator) {
  ------------------
  |  Branch (31041:13): [True: 0, False: 187k]
  ------------------
31042|      0|            p->level--;
31043|      0|            return NULL;
31044|      0|        }
31045|   187k|        D(fprintf(stderr, "%*c> _tmp_42[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "FSTRING_START"));
31046|   187k|        Token * fstring_start_var;
31047|   187k|        if (
31048|   187k|            (fstring_start_var = _PyPegen_expect_token(p, FSTRING_START))  // token='FSTRING_START'
  ------------------
  |  |   75|   187k|#define FSTRING_START   59
  ------------------
  |  Branch (31048:13): [True: 799, False: 186k]
  ------------------
31049|   187k|        )
31050|    799|        {
31051|    799|            D(fprintf(stderr, "%*c+ _tmp_42[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "FSTRING_START"));
31052|    799|            _res = fstring_start_var;
31053|    799|            goto done;
31054|    799|        }
31055|   186k|        p->mark = _mark;
31056|   186k|        D(fprintf(stderr, "%*c%s _tmp_42[%d-%d]: %s failed!\n", p->level, ' ',
31057|   186k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "FSTRING_START"));
31058|   186k|    }
31059|      0|    { // TSTRING_START
31060|   186k|        if (p->error_indicator) {
  ------------------
  |  Branch (31060:13): [True: 0, False: 186k]
  ------------------
31061|      0|            p->level--;
31062|      0|            return NULL;
31063|      0|        }
31064|   186k|        D(fprintf(stderr, "%*c> _tmp_42[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "TSTRING_START"));
31065|   186k|        Token * tstring_start_var;
31066|   186k|        if (
31067|   186k|            (tstring_start_var = _PyPegen_expect_token(p, TSTRING_START))  // token='TSTRING_START'
  ------------------
  |  |   78|   186k|#define TSTRING_START   62
  ------------------
  |  Branch (31067:13): [True: 3, False: 186k]
  ------------------
31068|   186k|        )
31069|      3|        {
31070|      3|            D(fprintf(stderr, "%*c+ _tmp_42[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "TSTRING_START"));
31071|      3|            _res = tstring_start_var;
31072|      3|            goto done;
31073|      3|        }
31074|   186k|        p->mark = _mark;
31075|   186k|        D(fprintf(stderr, "%*c%s _tmp_42[%d-%d]: %s failed!\n", p->level, ' ',
31076|   186k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "TSTRING_START"));
31077|   186k|    }
31078|   186k|    _res = NULL;
31079|   194k|  done:
31080|   194k|    p->level--;
31081|   194k|    return _res;
31082|   186k|}
parser.c:strings_rule:
17451|  7.35k|{
17452|  7.35k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  14.7k|#  define MAXSTACK 6000
  ------------------
  |  Branch (17452:9): [True: 0, False: 7.35k]
  |  Branch (17452:35): [True: 0, False: 7.35k]
  ------------------
17453|      0|        _Pypegen_stack_overflow(p);
17454|      0|    }
17455|  7.35k|    if (p->error_indicator) {
  ------------------
  |  Branch (17455:9): [True: 0, False: 7.35k]
  ------------------
17456|      0|        p->level--;
17457|      0|        return NULL;
17458|      0|    }
17459|  7.35k|    expr_ty _res = NULL;
17460|  7.35k|    if (_PyPegen_is_memoized(p, strings_type, &_res)) {
  ------------------
  |  |  262|  7.35k|#define strings_type 1173
  ------------------
  |  Branch (17460:9): [True: 4.16k, False: 3.18k]
  ------------------
17461|  4.16k|        p->level--;
17462|  4.16k|        return _res;
17463|  4.16k|    }
17464|  3.18k|    int _mark = p->mark;
17465|  3.18k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (17465:9): [True: 0, False: 3.18k]
  |  Branch (17465:31): [True: 0, False: 0]
  ------------------
17466|      0|        p->error_indicator = 1;
17467|      0|        p->level--;
17468|      0|        return NULL;
17469|      0|    }
17470|  3.18k|    int _start_lineno = p->tokens[_mark]->lineno;
17471|  3.18k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|  3.18k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 3.18k]
  |  |  ------------------
  ------------------
17472|  3.18k|    int _start_col_offset = p->tokens[_mark]->col_offset;
17473|  3.18k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|  3.18k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 3.18k]
  |  |  ------------------
  ------------------
17474|  3.18k|    if (p->call_invalid_rules) { // invalid_string_tstring_concat
  ------------------
  |  Branch (17474:9): [True: 0, False: 3.18k]
  ------------------
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|  3.18k|    { // ((fstring | string))+
17494|  3.18k|        if (p->error_indicator) {
  ------------------
  |  Branch (17494:13): [True: 0, False: 3.18k]
  ------------------
17495|      0|            p->level--;
17496|      0|            return NULL;
17497|      0|        }
17498|  3.18k|        D(fprintf(stderr, "%*c> strings[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "((fstring | string))+"));
17499|  3.18k|        asdl_expr_seq* a;
17500|  3.18k|        if (
17501|  3.18k|            (a = (asdl_expr_seq*)_loop1_82_rule(p))  // ((fstring | string))+
  ------------------
  |  Branch (17501:13): [True: 3.18k, False: 1]
  ------------------
17502|  3.18k|        )
17503|  3.18k|        {
17504|  3.18k|            D(fprintf(stderr, "%*c+ strings[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "((fstring | string))+"));
17505|  3.18k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
17506|  3.18k|            if (_token == NULL) {
  ------------------
  |  Branch (17506:17): [True: 0, False: 3.18k]
  ------------------
17507|      0|                p->level--;
17508|      0|                return NULL;
17509|      0|            }
17510|  3.18k|            int _end_lineno = _token->end_lineno;
17511|  3.18k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|  3.18k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 3.18k]
  |  |  ------------------
  ------------------
17512|  3.18k|            int _end_col_offset = _token->end_col_offset;
17513|  3.18k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|  3.18k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 3.18k]
  |  |  ------------------
  ------------------
17514|  3.18k|            _res = _PyPegen_concatenate_strings ( p , a , EXTRA );
  ------------------
  |  |  269|  3.18k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
17515|  3.18k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17515:18): [True: 0, False: 3.18k]
  |  Branch (17515:34): [True: 0, False: 3.18k]
  |  Branch (17515:57): [True: 0, False: 0]
  ------------------
17516|      0|                p->error_indicator = 1;
17517|      0|                p->level--;
17518|      0|                return NULL;
17519|      0|            }
17520|  3.18k|            goto done;
17521|  3.18k|        }
17522|      1|        p->mark = _mark;
17523|      1|        D(fprintf(stderr, "%*c%s strings[%d-%d]: %s failed!\n", p->level, ' ',
17524|      1|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "((fstring | string))+"));
17525|      1|    }
17526|      0|    { // tstring+
17527|      1|        if (p->error_indicator) {
  ------------------
  |  Branch (17527:13): [True: 0, False: 1]
  ------------------
17528|      0|            p->level--;
17529|      0|            return NULL;
17530|      0|        }
17531|      1|        D(fprintf(stderr, "%*c> strings[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "tstring+"));
17532|      1|        asdl_expr_seq* a;
17533|      1|        if (
17534|      1|            (a = (asdl_expr_seq*)_loop1_83_rule(p))  // tstring+
  ------------------
  |  Branch (17534:13): [True: 1, False: 0]
  ------------------
17535|      1|        )
17536|      1|        {
17537|      1|            D(fprintf(stderr, "%*c+ strings[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "tstring+"));
17538|      1|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
17539|      1|            if (_token == NULL) {
  ------------------
  |  Branch (17539:17): [True: 0, False: 1]
  ------------------
17540|      0|                p->level--;
17541|      0|                return NULL;
17542|      0|            }
17543|      1|            int _end_lineno = _token->end_lineno;
17544|      1|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      1|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 1]
  |  |  ------------------
  ------------------
17545|      1|            int _end_col_offset = _token->end_col_offset;
17546|      1|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      1|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 1]
  |  |  ------------------
  ------------------
17547|      1|            _res = _PyPegen_concatenate_tstrings ( p , a , EXTRA );
  ------------------
  |  |  269|      1|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
17548|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17548:18): [True: 0, False: 1]
  |  Branch (17548:34): [True: 0, False: 1]
  |  Branch (17548:57): [True: 0, False: 0]
  ------------------
17549|      0|                p->error_indicator = 1;
17550|      0|                p->level--;
17551|      0|                return NULL;
17552|      0|            }
17553|      1|            goto done;
17554|      1|        }
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|  3.18k|  done:
17561|  3.18k|    _PyPegen_insert_memo(p, _mark, strings_type, _res);
  ------------------
  |  |  262|  3.18k|#define strings_type 1173
  ------------------
17562|  3.18k|    p->level--;
17563|  3.18k|    return _res;
17564|      0|}
parser.c:tstring_rule:
17354|      2|{
17355|      2|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|      4|#  define MAXSTACK 6000
  ------------------
  |  Branch (17355:9): [True: 0, False: 2]
  |  Branch (17355:35): [True: 0, False: 2]
  ------------------
17356|      0|        _Pypegen_stack_overflow(p);
17357|      0|    }
17358|      2|    if (p->error_indicator) {
  ------------------
  |  Branch (17358:9): [True: 0, False: 2]
  ------------------
17359|      0|        p->level--;
17360|      0|        return NULL;
17361|      0|    }
17362|      2|    expr_ty _res = NULL;
17363|      2|    if (_PyPegen_is_memoized(p, tstring_type, &_res)) {
  ------------------
  |  |  260|      2|#define tstring_type 1171
  ------------------
  |  Branch (17363:9): [True: 0, False: 2]
  ------------------
17364|      0|        p->level--;
17365|      0|        return _res;
17366|      0|    }
17367|      2|    int _mark = p->mark;
17368|      2|    { // TSTRING_START tstring_middle* TSTRING_END
17369|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (17369:13): [True: 0, False: 2]
  ------------------
17370|      0|            p->level--;
17371|      0|            return NULL;
17372|      0|        }
17373|      2|        D(fprintf(stderr, "%*c> tstring[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "TSTRING_START tstring_middle* TSTRING_END"));
17374|      2|        Token * a;
17375|      2|        asdl_seq * b;
17376|      2|        Token * c;
17377|      2|        if (
17378|      2|            (a = _PyPegen_expect_token(p, TSTRING_START))  // token='TSTRING_START'
  ------------------
  |  |   78|      2|#define TSTRING_START   62
  ------------------
  |  Branch (17378:13): [True: 1, False: 1]
  ------------------
17379|      1|            &&
17380|      1|            (b = _loop0_81_rule(p))  // tstring_middle*
  ------------------
  |  Branch (17380:13): [True: 1, False: 0]
  ------------------
17381|      1|            &&
17382|      1|            (c = _PyPegen_expect_token(p, TSTRING_END))  // token='TSTRING_END'
  ------------------
  |  |   80|      1|#define TSTRING_END     64
  ------------------
  |  Branch (17382:13): [True: 1, False: 0]
  ------------------
17383|      2|        )
17384|      1|        {
17385|      1|            D(fprintf(stderr, "%*c+ tstring[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "TSTRING_START tstring_middle* TSTRING_END"));
17386|      1|            _res = CHECK_VERSION ( expr_ty , 14 , "t-strings are" , _PyPegen_template_str ( p , a , ( asdl_expr_seq* ) b , c ) );
  ------------------
  |  |  307|      1|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
17387|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17387:18): [True: 0, False: 1]
  |  Branch (17387:34): [True: 0, False: 1]
  |  Branch (17387:57): [True: 0, False: 0]
  ------------------
17388|      0|                p->error_indicator = 1;
17389|      0|                p->level--;
17390|      0|                return NULL;
17391|      0|            }
17392|      1|            goto done;
17393|      1|        }
17394|      1|        p->mark = _mark;
17395|      1|        D(fprintf(stderr, "%*c%s tstring[%d-%d]: %s failed!\n", p->level, ' ',
17396|      1|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "TSTRING_START tstring_middle* TSTRING_END"));
17397|      1|    }
17398|      1|    _res = NULL;
17399|      2|  done:
17400|      2|    _PyPegen_insert_memo(p, _mark, tstring_type, _res);
  ------------------
  |  |  260|      2|#define tstring_type 1171
  ------------------
17401|      2|    p->level--;
17402|      2|    return _res;
17403|      1|}
parser.c:_loop0_81_rule:
33508|      1|{
33509|      1|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|      2|#  define MAXSTACK 6000
  ------------------
  |  Branch (33509:9): [True: 0, False: 1]
  |  Branch (33509:35): [True: 0, False: 1]
  ------------------
33510|      0|        _Pypegen_stack_overflow(p);
33511|      0|    }
33512|      1|    if (p->error_indicator) {
  ------------------
  |  Branch (33512:9): [True: 0, False: 1]
  ------------------
33513|      0|        p->level--;
33514|      0|        return NULL;
33515|      0|    }
33516|      1|    void *_res = NULL;
33517|      1|    int _mark = p->mark;
33518|      1|    void **_children = PyMem_Malloc(sizeof(void *));
33519|      1|    if (!_children) {
  ------------------
  |  Branch (33519:9): [True: 0, False: 1]
  ------------------
33520|      0|        p->error_indicator = 1;
33521|      0|        PyErr_NoMemory();
33522|      0|        p->level--;
33523|      0|        return NULL;
33524|      0|    }
33525|      1|    Py_ssize_t _children_capacity = 1;
33526|      1|    Py_ssize_t _n = 0;
33527|      1|    { // tstring_middle
33528|      1|        if (p->error_indicator) {
  ------------------
  |  Branch (33528:13): [True: 0, False: 1]
  ------------------
33529|      0|            p->level--;
33530|      0|            return NULL;
33531|      0|        }
33532|      1|        D(fprintf(stderr, "%*c> _loop0_81[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "tstring_middle"));
33533|      1|        expr_ty tstring_middle_var;
33534|      1|        while (
33535|      2|            (tstring_middle_var = tstring_middle_rule(p))  // tstring_middle
  ------------------
  |  Branch (33535:13): [True: 1, False: 1]
  ------------------
33536|      1|        )
33537|      1|        {
33538|      1|            _res = tstring_middle_var;
33539|      1|            if (_n == _children_capacity) {
  ------------------
  |  Branch (33539:17): [True: 0, False: 1]
  ------------------
33540|      0|                _children_capacity *= 2;
33541|      0|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
33542|      0|                if (!_new_children) {
  ------------------
  |  Branch (33542:21): [True: 0, False: 0]
  ------------------
33543|      0|                    PyMem_Free(_children);
33544|      0|                    p->error_indicator = 1;
33545|      0|                    PyErr_NoMemory();
33546|      0|                    p->level--;
33547|      0|                    return NULL;
33548|      0|                }
33549|      0|                _children = _new_children;
33550|      0|            }
33551|      1|            _children[_n++] = _res;
33552|      1|            _mark = p->mark;
33553|      1|        }
33554|      1|        p->mark = _mark;
33555|      1|        D(fprintf(stderr, "%*c%s _loop0_81[%d-%d]: %s failed!\n", p->level, ' ',
33556|      1|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "tstring_middle"));
33557|      1|    }
33558|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
33559|      1|    if (!_seq) {
  ------------------
  |  Branch (33559:9): [True: 0, False: 1]
  ------------------
33560|      0|        PyMem_Free(_children);
33561|      0|        p->error_indicator = 1;
33562|      0|        PyErr_NoMemory();
33563|      0|        p->level--;
33564|      0|        return NULL;
33565|      0|    }
33566|      2|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|      1|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|      2|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (33566:28): [True: 1, False: 1]
  ------------------
33567|      1|    PyMem_Free(_children);
33568|      1|    p->level--;
33569|      1|    return _seq;
33570|      1|}
parser.c:tstring_middle_rule:
17292|      2|{
17293|      2|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|      4|#  define MAXSTACK 6000
  ------------------
  |  Branch (17293:9): [True: 0, False: 2]
  |  Branch (17293:35): [True: 0, False: 2]
  ------------------
17294|      0|        _Pypegen_stack_overflow(p);
17295|      0|    }
17296|      2|    if (p->error_indicator) {
  ------------------
  |  Branch (17296:9): [True: 0, False: 2]
  ------------------
17297|      0|        p->level--;
17298|      0|        return NULL;
17299|      0|    }
17300|      2|    expr_ty _res = NULL;
17301|      2|    int _mark = p->mark;
17302|      2|    { // tstring_replacement_field
17303|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (17303:13): [True: 0, False: 2]
  ------------------
17304|      0|            p->level--;
17305|      0|            return NULL;
17306|      0|        }
17307|      2|        D(fprintf(stderr, "%*c> tstring_middle[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "tstring_replacement_field"));
17308|      2|        expr_ty tstring_replacement_field_var;
17309|      2|        if (
17310|      2|            (tstring_replacement_field_var = tstring_replacement_field_rule(p))  // tstring_replacement_field
  ------------------
  |  Branch (17310:13): [True: 1, False: 1]
  ------------------
17311|      2|        )
17312|      1|        {
17313|      1|            D(fprintf(stderr, "%*c+ tstring_middle[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "tstring_replacement_field"));
17314|      1|            _res = tstring_replacement_field_var;
17315|      1|            goto done;
17316|      1|        }
17317|      1|        p->mark = _mark;
17318|      1|        D(fprintf(stderr, "%*c%s tstring_middle[%d-%d]: %s failed!\n", p->level, ' ',
17319|      1|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "tstring_replacement_field"));
17320|      1|    }
17321|      0|    { // TSTRING_MIDDLE
17322|      1|        if (p->error_indicator) {
  ------------------
  |  Branch (17322:13): [True: 0, False: 1]
  ------------------
17323|      0|            p->level--;
17324|      0|            return NULL;
17325|      0|        }
17326|      1|        D(fprintf(stderr, "%*c> tstring_middle[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "TSTRING_MIDDLE"));
17327|      1|        Token * t;
17328|      1|        if (
17329|      1|            (t = _PyPegen_expect_token(p, TSTRING_MIDDLE))  // token='TSTRING_MIDDLE'
  ------------------
  |  |   79|      1|#define TSTRING_MIDDLE  63
  ------------------
  |  Branch (17329:13): [True: 0, False: 1]
  ------------------
17330|      1|        )
17331|      0|        {
17332|      0|            D(fprintf(stderr, "%*c+ tstring_middle[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "TSTRING_MIDDLE"));
17333|      0|            _res = _PyPegen_constant_from_token ( p , t );
17334|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17334:18): [True: 0, False: 0]
  |  Branch (17334:34): [True: 0, False: 0]
  |  Branch (17334:57): [True: 0, False: 0]
  ------------------
17335|      0|                p->error_indicator = 1;
17336|      0|                p->level--;
17337|      0|                return NULL;
17338|      0|            }
17339|      0|            goto done;
17340|      0|        }
17341|      1|        p->mark = _mark;
17342|      1|        D(fprintf(stderr, "%*c%s tstring_middle[%d-%d]: %s failed!\n", p->level, ' ',
17343|      1|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "TSTRING_MIDDLE"));
17344|      1|    }
17345|      1|    _res = NULL;
17346|      2|  done:
17347|      2|    p->level--;
17348|      2|    return _res;
17349|      1|}
parser.c:tstring_replacement_field_rule:
17197|      2|{
17198|      2|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|      4|#  define MAXSTACK 6000
  ------------------
  |  Branch (17198:9): [True: 0, False: 2]
  |  Branch (17198:35): [True: 0, False: 2]
  ------------------
17199|      0|        _Pypegen_stack_overflow(p);
17200|      0|    }
17201|      2|    if (p->error_indicator) {
  ------------------
  |  Branch (17201:9): [True: 0, False: 2]
  ------------------
17202|      0|        p->level--;
17203|      0|        return NULL;
17204|      0|    }
17205|      2|    expr_ty _res = NULL;
17206|      2|    int _mark = p->mark;
17207|      2|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (17207:9): [True: 2, False: 0]
  |  Branch (17207:31): [True: 0, False: 2]
  ------------------
17208|      0|        p->error_indicator = 1;
17209|      0|        p->level--;
17210|      0|        return NULL;
17211|      0|    }
17212|      2|    int _start_lineno = p->tokens[_mark]->lineno;
17213|      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]
  |  |  ------------------
  ------------------
17214|      2|    int _start_col_offset = p->tokens[_mark]->col_offset;
17215|      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]
  |  |  ------------------
  ------------------
17216|      2|    { // '{' annotated_rhs '='? fstring_conversion? tstring_full_format_spec? '}'
17217|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (17217:13): [True: 0, False: 2]
  ------------------
17218|      0|            p->level--;
17219|      0|            return NULL;
17220|      0|        }
17221|      2|        D(fprintf(stderr, "%*c> tstring_replacement_field[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs '='? fstring_conversion? tstring_full_format_spec? '}'"));
17222|      2|        Token * _literal;
17223|      2|        expr_ty a;
17224|      2|        void *conversion;
17225|      2|        void *debug_expr;
17226|      2|        void *format;
17227|      2|        Token * rbrace;
17228|      2|        if (
17229|      2|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (17229:13): [True: 1, False: 1]
  ------------------
17230|      1|            &&
17231|      1|            (a = annotated_rhs_rule(p))  // annotated_rhs
  ------------------
  |  Branch (17231:13): [True: 1, False: 0]
  ------------------
17232|      1|            &&
17233|      1|            (debug_expr = _PyPegen_expect_token(p, 22), !p->error_indicator)  // '='?
  ------------------
  |  Branch (17233:13): [True: 1, False: 0]
  ------------------
17234|      1|            &&
17235|      1|            (conversion = fstring_conversion_rule(p), !p->error_indicator)  // fstring_conversion?
  ------------------
  |  Branch (17235:13): [True: 1, False: 0]
  ------------------
17236|      1|            &&
17237|      1|            (format = tstring_full_format_spec_rule(p), !p->error_indicator)  // tstring_full_format_spec?
  ------------------
  |  Branch (17237:13): [True: 1, False: 0]
  ------------------
17238|      1|            &&
17239|      1|            (rbrace = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (17239:13): [True: 1, False: 0]
  ------------------
17240|      2|        )
17241|      1|        {
17242|      1|            D(fprintf(stderr, "%*c+ tstring_replacement_field[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' annotated_rhs '='? fstring_conversion? tstring_full_format_spec? '}'"));
17243|      1|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
17244|      1|            if (_token == NULL) {
  ------------------
  |  Branch (17244:17): [True: 0, False: 1]
  ------------------
17245|      0|                p->level--;
17246|      0|                return NULL;
17247|      0|            }
17248|      1|            int _end_lineno = _token->end_lineno;
17249|      1|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      1|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 1]
  |  |  ------------------
  ------------------
17250|      1|            int _end_col_offset = _token->end_col_offset;
17251|      1|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      1|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 1]
  |  |  ------------------
  ------------------
17252|      1|            _res = _PyPegen_interpolation ( p , a , debug_expr , conversion , format , rbrace , EXTRA );
  ------------------
  |  |  269|      1|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
17253|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17253:18): [True: 0, False: 1]
  |  Branch (17253:34): [True: 0, False: 1]
  |  Branch (17253:57): [True: 0, False: 0]
  ------------------
17254|      0|                p->error_indicator = 1;
17255|      0|                p->level--;
17256|      0|                return NULL;
17257|      0|            }
17258|      1|            goto done;
17259|      1|        }
17260|      1|        p->mark = _mark;
17261|      1|        D(fprintf(stderr, "%*c%s tstring_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
17262|      1|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' annotated_rhs '='? fstring_conversion? tstring_full_format_spec? '}'"));
17263|      1|    }
17264|      1|    if (p->call_invalid_rules) { // invalid_tstring_replacement_field
  ------------------
  |  Branch (17264:9): [True: 0, False: 1]
  ------------------
17265|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (17265:13): [True: 0, False: 0]
  ------------------
17266|      0|            p->level--;
17267|      0|            return NULL;
17268|      0|        }
17269|      0|        D(fprintf(stderr, "%*c> tstring_replacement_field[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_tstring_replacement_field"));
17270|      0|        void *invalid_tstring_replacement_field_var;
17271|      0|        if (
17272|      0|            (invalid_tstring_replacement_field_var = invalid_tstring_replacement_field_rule(p))  // invalid_tstring_replacement_field
  ------------------
  |  Branch (17272:13): [True: 0, False: 0]
  ------------------
17273|      0|        )
17274|      0|        {
17275|      0|            D(fprintf(stderr, "%*c+ tstring_replacement_field[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_tstring_replacement_field"));
17276|      0|            _res = invalid_tstring_replacement_field_var;
17277|      0|            goto done;
17278|      0|        }
17279|      0|        p->mark = _mark;
17280|      0|        D(fprintf(stderr, "%*c%s tstring_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
17281|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_tstring_replacement_field"));
17282|      0|    }
17283|      1|    _res = NULL;
17284|      2|  done:
17285|      2|    p->level--;
17286|      2|    return _res;
17287|      1|}
parser.c:annotated_rhs_rule:
 2336|  4.40k|{
 2337|  4.40k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  8.80k|#  define MAXSTACK 6000
  ------------------
  |  Branch (2337:9): [True: 0, False: 4.40k]
  |  Branch (2337:35): [True: 0, False: 4.40k]
  ------------------
 2338|      0|        _Pypegen_stack_overflow(p);
 2339|      0|    }
 2340|  4.40k|    if (p->error_indicator) {
  ------------------
  |  Branch (2340:9): [True: 0, False: 4.40k]
  ------------------
 2341|      0|        p->level--;
 2342|      0|        return NULL;
 2343|      0|    }
 2344|  4.40k|    expr_ty _res = NULL;
 2345|  4.40k|    int _mark = p->mark;
 2346|  4.40k|    { // yield_expr
 2347|  4.40k|        if (p->error_indicator) {
  ------------------
  |  Branch (2347:13): [True: 0, False: 4.40k]
  ------------------
 2348|      0|            p->level--;
 2349|      0|            return NULL;
 2350|      0|        }
 2351|  4.40k|        D(fprintf(stderr, "%*c> annotated_rhs[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "yield_expr"));
 2352|  4.40k|        expr_ty yield_expr_var;
 2353|  4.40k|        if (
 2354|  4.40k|            (yield_expr_var = yield_expr_rule(p))  // yield_expr
  ------------------
  |  Branch (2354:13): [True: 0, False: 4.40k]
  ------------------
 2355|  4.40k|        )
 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|  4.40k|        p->mark = _mark;
 2362|  4.40k|        D(fprintf(stderr, "%*c%s annotated_rhs[%d-%d]: %s failed!\n", p->level, ' ',
 2363|  4.40k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "yield_expr"));
 2364|  4.40k|    }
 2365|      0|    { // star_expressions
 2366|  4.40k|        if (p->error_indicator) {
  ------------------
  |  Branch (2366:13): [True: 0, False: 4.40k]
  ------------------
 2367|      0|            p->level--;
 2368|      0|            return NULL;
 2369|      0|        }
 2370|  4.40k|        D(fprintf(stderr, "%*c> annotated_rhs[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_expressions"));
 2371|  4.40k|        expr_ty star_expressions_var;
 2372|  4.40k|        if (
 2373|  4.40k|            (star_expressions_var = star_expressions_rule(p))  // star_expressions
  ------------------
  |  Branch (2373:13): [True: 4.40k, False: 0]
  ------------------
 2374|  4.40k|        )
 2375|  4.40k|        {
 2376|  4.40k|            D(fprintf(stderr, "%*c+ annotated_rhs[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_expressions"));
 2377|  4.40k|            _res = star_expressions_var;
 2378|  4.40k|            goto done;
 2379|  4.40k|        }
 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|  4.40k|  done:
 2386|  4.40k|    p->level--;
 2387|  4.40k|    return _res;
 2388|      0|}
parser.c:yield_expr_rule:
11771|  32.0k|{
11772|  32.0k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  64.0k|#  define MAXSTACK 6000
  ------------------
  |  Branch (11772:9): [True: 0, False: 32.0k]
  |  Branch (11772:35): [True: 0, False: 32.0k]
  ------------------
11773|      0|        _Pypegen_stack_overflow(p);
11774|      0|    }
11775|  32.0k|    if (p->error_indicator) {
  ------------------
  |  Branch (11775:9): [True: 0, False: 32.0k]
  ------------------
11776|      0|        p->level--;
11777|      0|        return NULL;
11778|      0|    }
11779|  32.0k|    expr_ty _res = NULL;
11780|  32.0k|    int _mark = p->mark;
11781|  32.0k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (11781:9): [True: 928, False: 31.1k]
  |  Branch (11781:31): [True: 0, False: 928]
  ------------------
11782|      0|        p->error_indicator = 1;
11783|      0|        p->level--;
11784|      0|        return NULL;
11785|      0|    }
11786|  32.0k|    int _start_lineno = p->tokens[_mark]->lineno;
11787|  32.0k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|  32.0k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 32.0k]
  |  |  ------------------
  ------------------
11788|  32.0k|    int _start_col_offset = p->tokens[_mark]->col_offset;
11789|  32.0k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|  32.0k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 32.0k]
  |  |  ------------------
  ------------------
11790|  32.0k|    { // 'yield' 'from' expression
11791|  32.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (11791:13): [True: 0, False: 32.0k]
  ------------------
11792|      0|            p->level--;
11793|      0|            return NULL;
11794|      0|        }
11795|  32.0k|        D(fprintf(stderr, "%*c> yield_expr[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'yield' 'from' expression"));
11796|  32.0k|        Token * _keyword;
11797|  32.0k|        Token * _keyword_1;
11798|  32.0k|        expr_ty a;
11799|  32.0k|        if (
11800|  32.0k|            (_keyword = _PyPegen_expect_token(p, 588))  // token='yield'
  ------------------
  |  Branch (11800:13): [True: 68, False: 31.9k]
  ------------------
11801|     68|            &&
11802|     68|            (_keyword_1 = _PyPegen_expect_token(p, 646))  // token='from'
  ------------------
  |  Branch (11802:13): [True: 11, False: 57]
  ------------------
11803|     11|            &&
11804|     11|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (11804:13): [True: 11, False: 0]
  ------------------
11805|  32.0k|        )
11806|     11|        {
11807|     11|            D(fprintf(stderr, "%*c+ yield_expr[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'yield' 'from' expression"));
11808|     11|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
11809|     11|            if (_token == NULL) {
  ------------------
  |  Branch (11809:17): [True: 0, False: 11]
  ------------------
11810|      0|                p->level--;
11811|      0|                return NULL;
11812|      0|            }
11813|     11|            int _end_lineno = _token->end_lineno;
11814|     11|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|     11|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 11]
  |  |  ------------------
  ------------------
11815|     11|            int _end_col_offset = _token->end_col_offset;
11816|     11|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|     11|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 11]
  |  |  ------------------
  ------------------
11817|     11|            _res = _PyAST_YieldFrom ( a , EXTRA );
  ------------------
  |  |  269|     11|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
11818|     11|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11818:18): [True: 0, False: 11]
  |  Branch (11818:34): [True: 0, False: 11]
  |  Branch (11818:57): [True: 0, False: 0]
  ------------------
11819|      0|                p->error_indicator = 1;
11820|      0|                p->level--;
11821|      0|                return NULL;
11822|      0|            }
11823|     11|            goto done;
11824|     11|        }
11825|  32.0k|        p->mark = _mark;
11826|  32.0k|        D(fprintf(stderr, "%*c%s yield_expr[%d-%d]: %s failed!\n", p->level, ' ',
11827|  32.0k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'yield' 'from' expression"));
11828|  32.0k|    }
11829|      0|    { // 'yield' star_expressions?
11830|  32.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (11830:13): [True: 0, False: 32.0k]
  ------------------
11831|      0|            p->level--;
11832|      0|            return NULL;
11833|      0|        }
11834|  32.0k|        D(fprintf(stderr, "%*c> yield_expr[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'yield' star_expressions?"));
11835|  32.0k|        Token * _keyword;
11836|  32.0k|        void *a;
11837|  32.0k|        if (
11838|  32.0k|            (_keyword = _PyPegen_expect_token(p, 588))  // token='yield'
  ------------------
  |  Branch (11838:13): [True: 57, False: 31.9k]
  ------------------
11839|     57|            &&
11840|     57|            (a = star_expressions_rule(p), !p->error_indicator)  // star_expressions?
  ------------------
  |  Branch (11840:13): [True: 57, False: 0]
  ------------------
11841|  32.0k|        )
11842|     57|        {
11843|     57|            D(fprintf(stderr, "%*c+ yield_expr[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'yield' star_expressions?"));
11844|     57|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
11845|     57|            if (_token == NULL) {
  ------------------
  |  Branch (11845:17): [True: 0, False: 57]
  ------------------
11846|      0|                p->level--;
11847|      0|                return NULL;
11848|      0|            }
11849|     57|            int _end_lineno = _token->end_lineno;
11850|     57|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|     57|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 57]
  |  |  ------------------
  ------------------
11851|     57|            int _end_col_offset = _token->end_col_offset;
11852|     57|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|     57|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 57]
  |  |  ------------------
  ------------------
11853|     57|            _res = _PyAST_Yield ( a , EXTRA );
  ------------------
  |  |  269|     57|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
11854|     57|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (11854:18): [True: 0, False: 57]
  |  Branch (11854:34): [True: 0, False: 57]
  |  Branch (11854:57): [True: 0, False: 0]
  ------------------
11855|      0|                p->error_indicator = 1;
11856|      0|                p->level--;
11857|      0|                return NULL;
11858|      0|            }
11859|     57|            goto done;
11860|     57|        }
11861|  31.9k|        p->mark = _mark;
11862|  31.9k|        D(fprintf(stderr, "%*c%s yield_expr[%d-%d]: %s failed!\n", p->level, ' ',
11863|  31.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'yield' star_expressions?"));
11864|  31.9k|    }
11865|  31.9k|    _res = NULL;
11866|  32.0k|  done:
11867|  32.0k|    p->level--;
11868|  32.0k|    return _res;
11869|  31.9k|}
parser.c:fstring_conversion_rule:
16751|    744|{
16752|    744|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.48k|#  define MAXSTACK 6000
  ------------------
  |  Branch (16752:9): [True: 0, False: 744]
  |  Branch (16752:35): [True: 0, False: 744]
  ------------------
16753|      0|        _Pypegen_stack_overflow(p);
16754|      0|    }
16755|    744|    if (p->error_indicator) {
  ------------------
  |  Branch (16755:9): [True: 0, False: 744]
  ------------------
16756|      0|        p->level--;
16757|      0|        return NULL;
16758|      0|    }
16759|    744|    ResultTokenWithMetadata* _res = NULL;
16760|    744|    int _mark = p->mark;
16761|    744|    { // "!" NAME
16762|    744|        if (p->error_indicator) {
  ------------------
  |  Branch (16762:13): [True: 0, False: 744]
  ------------------
16763|      0|            p->level--;
16764|      0|            return NULL;
16765|      0|        }
16766|    744|        D(fprintf(stderr, "%*c> fstring_conversion[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "\"!\" NAME"));
16767|    744|        expr_ty conv;
16768|    744|        Token * conv_token;
16769|    744|        if (
16770|    744|            (conv_token = _PyPegen_expect_token(p, 54))  // token='!'
  ------------------
  |  Branch (16770:13): [True: 396, False: 348]
  ------------------
16771|    396|            &&
16772|    396|            (conv = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (16772:13): [True: 396, False: 0]
  ------------------
16773|    744|        )
16774|    396|        {
16775|    396|            D(fprintf(stderr, "%*c+ fstring_conversion[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "\"!\" NAME"));
16776|    396|            _res = _PyPegen_check_fstring_conversion ( p , conv_token , conv );
16777|    396|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16777:18): [True: 0, False: 396]
  |  Branch (16777:34): [True: 0, False: 396]
  |  Branch (16777:57): [True: 0, False: 0]
  ------------------
16778|      0|                p->error_indicator = 1;
16779|      0|                p->level--;
16780|      0|                return NULL;
16781|      0|            }
16782|    396|            goto done;
16783|    396|        }
16784|    348|        p->mark = _mark;
16785|    348|        D(fprintf(stderr, "%*c%s fstring_conversion[%d-%d]: %s failed!\n", p->level, ' ',
16786|    348|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "\"!\" NAME"));
16787|    348|    }
16788|    348|    _res = NULL;
16789|    744|  done:
16790|    744|    p->level--;
16791|    744|    return _res;
16792|    348|}
parser.c:tstring_full_format_spec_rule:
17131|      1|{
17132|      1|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|      2|#  define MAXSTACK 6000
  ------------------
  |  Branch (17132:9): [True: 0, False: 1]
  |  Branch (17132:35): [True: 0, False: 1]
  ------------------
17133|      0|        _Pypegen_stack_overflow(p);
17134|      0|    }
17135|      1|    if (p->error_indicator) {
  ------------------
  |  Branch (17135:9): [True: 0, False: 1]
  ------------------
17136|      0|        p->level--;
17137|      0|        return NULL;
17138|      0|    }
17139|      1|    ResultTokenWithMetadata* _res = NULL;
17140|      1|    int _mark = p->mark;
17141|      1|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (17141:9): [True: 0, False: 1]
  |  Branch (17141:31): [True: 0, False: 0]
  ------------------
17142|      0|        p->error_indicator = 1;
17143|      0|        p->level--;
17144|      0|        return NULL;
17145|      0|    }
17146|      1|    int _start_lineno = p->tokens[_mark]->lineno;
17147|      1|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      1|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 1]
  |  |  ------------------
  ------------------
17148|      1|    int _start_col_offset = p->tokens[_mark]->col_offset;
17149|      1|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      1|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 1]
  |  |  ------------------
  ------------------
17150|      1|    { // ':' tstring_format_spec*
17151|      1|        if (p->error_indicator) {
  ------------------
  |  Branch (17151:13): [True: 0, False: 1]
  ------------------
17152|      0|            p->level--;
17153|      0|            return NULL;
17154|      0|        }
17155|      1|        D(fprintf(stderr, "%*c> tstring_full_format_spec[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "':' tstring_format_spec*"));
17156|      1|        Token * colon;
17157|      1|        asdl_seq * spec;
17158|      1|        if (
17159|      1|            (colon = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (17159:13): [True: 0, False: 1]
  ------------------
17160|      0|            &&
17161|      0|            (spec = _loop0_80_rule(p))  // tstring_format_spec*
  ------------------
  |  Branch (17161:13): [True: 0, False: 0]
  ------------------
17162|      1|        )
17163|      0|        {
17164|      0|            D(fprintf(stderr, "%*c+ tstring_full_format_spec[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "':' tstring_format_spec*"));
17165|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
17166|      0|            if (_token == NULL) {
  ------------------
  |  Branch (17166:17): [True: 0, False: 0]
  ------------------
17167|      0|                p->level--;
17168|      0|                return NULL;
17169|      0|            }
17170|      0|            int _end_lineno = _token->end_lineno;
17171|      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]
  |  |  ------------------
  ------------------
17172|      0|            int _end_col_offset = _token->end_col_offset;
17173|      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]
  |  |  ------------------
  ------------------
17174|      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
  ------------------
17175|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17175:18): [True: 0, False: 0]
  |  Branch (17175:34): [True: 0, False: 0]
  |  Branch (17175:57): [True: 0, False: 0]
  ------------------
17176|      0|                p->error_indicator = 1;
17177|      0|                p->level--;
17178|      0|                return NULL;
17179|      0|            }
17180|      0|            goto done;
17181|      0|        }
17182|      1|        p->mark = _mark;
17183|      1|        D(fprintf(stderr, "%*c%s tstring_full_format_spec[%d-%d]: %s failed!\n", p->level, ' ',
17184|      1|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "':' tstring_format_spec*"));
17185|      1|    }
17186|      1|    _res = NULL;
17187|      1|  done:
17188|      1|    p->level--;
17189|      1|    return _res;
17190|      1|}
parser.c:_loop0_78_rule:
33307|      5|{
33308|      5|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     10|#  define MAXSTACK 6000
  ------------------
  |  Branch (33308:9): [True: 0, False: 5]
  |  Branch (33308:35): [True: 0, False: 5]
  ------------------
33309|      0|        _Pypegen_stack_overflow(p);
33310|      0|    }
33311|      5|    if (p->error_indicator) {
  ------------------
  |  Branch (33311:9): [True: 0, False: 5]
  ------------------
33312|      0|        p->level--;
33313|      0|        return NULL;
33314|      0|    }
33315|      5|    void *_res = NULL;
33316|      5|    int _mark = p->mark;
33317|      5|    void **_children = PyMem_Malloc(sizeof(void *));
33318|      5|    if (!_children) {
  ------------------
  |  Branch (33318:9): [True: 0, False: 5]
  ------------------
33319|      0|        p->error_indicator = 1;
33320|      0|        PyErr_NoMemory();
33321|      0|        p->level--;
33322|      0|        return NULL;
33323|      0|    }
33324|      5|    Py_ssize_t _children_capacity = 1;
33325|      5|    Py_ssize_t _n = 0;
33326|      5|    { // fstring_format_spec
33327|      5|        if (p->error_indicator) {
  ------------------
  |  Branch (33327:13): [True: 0, False: 5]
  ------------------
33328|      0|            p->level--;
33329|      0|            return NULL;
33330|      0|        }
33331|      5|        D(fprintf(stderr, "%*c> _loop0_78[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "fstring_format_spec"));
33332|      5|        expr_ty fstring_format_spec_var;
33333|      5|        while (
33334|     10|            (fstring_format_spec_var = fstring_format_spec_rule(p))  // fstring_format_spec
  ------------------
  |  Branch (33334:13): [True: 5, False: 5]
  ------------------
33335|      5|        )
33336|      5|        {
33337|      5|            _res = fstring_format_spec_var;
33338|      5|            if (_n == _children_capacity) {
  ------------------
  |  Branch (33338:17): [True: 0, False: 5]
  ------------------
33339|      0|                _children_capacity *= 2;
33340|      0|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
33341|      0|                if (!_new_children) {
  ------------------
  |  Branch (33341:21): [True: 0, False: 0]
  ------------------
33342|      0|                    PyMem_Free(_children);
33343|      0|                    p->error_indicator = 1;
33344|      0|                    PyErr_NoMemory();
33345|      0|                    p->level--;
33346|      0|                    return NULL;
33347|      0|                }
33348|      0|                _children = _new_children;
33349|      0|            }
33350|      5|            _children[_n++] = _res;
33351|      5|            _mark = p->mark;
33352|      5|        }
33353|      5|        p->mark = _mark;
33354|      5|        D(fprintf(stderr, "%*c%s _loop0_78[%d-%d]: %s failed!\n", p->level, ' ',
33355|      5|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "fstring_format_spec"));
33356|      5|    }
33357|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
33358|      5|    if (!_seq) {
  ------------------
  |  Branch (33358:9): [True: 0, False: 5]
  ------------------
33359|      0|        PyMem_Free(_children);
33360|      0|        p->error_indicator = 1;
33361|      0|        PyErr_NoMemory();
33362|      0|        p->level--;
33363|      0|        return NULL;
33364|      0|    }
33365|     10|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|      5|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|     10|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (33365:28): [True: 5, False: 5]
  ------------------
33366|      5|    PyMem_Free(_children);
33367|      5|    p->level--;
33368|      5|    return _seq;
33369|      5|}
parser.c:fstring_format_spec_rule:
16861|     10|{
16862|     10|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     20|#  define MAXSTACK 6000
  ------------------
  |  Branch (16862:9): [True: 0, False: 10]
  |  Branch (16862:35): [True: 0, False: 10]
  ------------------
16863|      0|        _Pypegen_stack_overflow(p);
16864|      0|    }
16865|     10|    if (p->error_indicator) {
  ------------------
  |  Branch (16865:9): [True: 0, False: 10]
  ------------------
16866|      0|        p->level--;
16867|      0|        return NULL;
16868|      0|    }
16869|     10|    expr_ty _res = NULL;
16870|     10|    int _mark = p->mark;
16871|     10|    { // FSTRING_MIDDLE
16872|     10|        if (p->error_indicator) {
  ------------------
  |  Branch (16872:13): [True: 0, False: 10]
  ------------------
16873|      0|            p->level--;
16874|      0|            return NULL;
16875|      0|        }
16876|     10|        D(fprintf(stderr, "%*c> fstring_format_spec[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "FSTRING_MIDDLE"));
16877|     10|        Token * t;
16878|     10|        if (
16879|     10|            (t = _PyPegen_expect_token(p, FSTRING_MIDDLE))  // token='FSTRING_MIDDLE'
  ------------------
  |  |   76|     10|#define FSTRING_MIDDLE  60
  ------------------
  |  Branch (16879:13): [True: 5, False: 5]
  ------------------
16880|     10|        )
16881|      5|        {
16882|      5|            D(fprintf(stderr, "%*c+ fstring_format_spec[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "FSTRING_MIDDLE"));
16883|      5|            _res = _PyPegen_decoded_constant_from_token ( p , t );
16884|      5|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16884:18): [True: 0, False: 5]
  |  Branch (16884:34): [True: 0, False: 5]
  |  Branch (16884:57): [True: 0, False: 0]
  ------------------
16885|      0|                p->error_indicator = 1;
16886|      0|                p->level--;
16887|      0|                return NULL;
16888|      0|            }
16889|      5|            goto done;
16890|      5|        }
16891|      5|        p->mark = _mark;
16892|      5|        D(fprintf(stderr, "%*c%s fstring_format_spec[%d-%d]: %s failed!\n", p->level, ' ',
16893|      5|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "FSTRING_MIDDLE"));
16894|      5|    }
16895|      0|    { // fstring_replacement_field
16896|      5|        if (p->error_indicator) {
  ------------------
  |  Branch (16896:13): [True: 0, False: 5]
  ------------------
16897|      0|            p->level--;
16898|      0|            return NULL;
16899|      0|        }
16900|      5|        D(fprintf(stderr, "%*c> fstring_format_spec[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "fstring_replacement_field"));
16901|      5|        expr_ty fstring_replacement_field_var;
16902|      5|        if (
16903|      5|            (fstring_replacement_field_var = fstring_replacement_field_rule(p))  // fstring_replacement_field
  ------------------
  |  Branch (16903:13): [True: 0, False: 5]
  ------------------
16904|      5|        )
16905|      0|        {
16906|      0|            D(fprintf(stderr, "%*c+ fstring_format_spec[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "fstring_replacement_field"));
16907|      0|            _res = fstring_replacement_field_var;
16908|      0|            goto done;
16909|      0|        }
16910|      5|        p->mark = _mark;
16911|      5|        D(fprintf(stderr, "%*c%s fstring_format_spec[%d-%d]: %s failed!\n", p->level, ' ',
16912|      5|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "fstring_replacement_field"));
16913|      5|    }
16914|      5|    _res = NULL;
16915|     10|  done:
16916|     10|    p->level--;
16917|     10|    return _res;
16918|      5|}
parser.c:fstring_replacement_field_rule:
16656|  1.95k|{
16657|  1.95k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  3.91k|#  define MAXSTACK 6000
  ------------------
  |  Branch (16657:9): [True: 0, False: 1.95k]
  |  Branch (16657:35): [True: 0, False: 1.95k]
  ------------------
16658|      0|        _Pypegen_stack_overflow(p);
16659|      0|    }
16660|  1.95k|    if (p->error_indicator) {
  ------------------
  |  Branch (16660:9): [True: 0, False: 1.95k]
  ------------------
16661|      0|        p->level--;
16662|      0|        return NULL;
16663|      0|    }
16664|  1.95k|    expr_ty _res = NULL;
16665|  1.95k|    int _mark = p->mark;
16666|  1.95k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (16666:9): [True: 1.95k, False: 5]
  |  Branch (16666:31): [True: 0, False: 1.95k]
  ------------------
16667|      0|        p->error_indicator = 1;
16668|      0|        p->level--;
16669|      0|        return NULL;
16670|      0|    }
16671|  1.95k|    int _start_lineno = p->tokens[_mark]->lineno;
16672|  1.95k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|  1.95k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 1.95k]
  |  |  ------------------
  ------------------
16673|  1.95k|    int _start_col_offset = p->tokens[_mark]->col_offset;
16674|  1.95k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|  1.95k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 1.95k]
  |  |  ------------------
  ------------------
16675|  1.95k|    { // '{' annotated_rhs '='? fstring_conversion? fstring_full_format_spec? '}'
16676|  1.95k|        if (p->error_indicator) {
  ------------------
  |  Branch (16676:13): [True: 0, False: 1.95k]
  ------------------
16677|      0|            p->level--;
16678|      0|            return NULL;
16679|      0|        }
16680|  1.95k|        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|  1.95k|        Token * _literal;
16682|  1.95k|        expr_ty a;
16683|  1.95k|        void *conversion;
16684|  1.95k|        void *debug_expr;
16685|  1.95k|        void *format;
16686|  1.95k|        Token * rbrace;
16687|  1.95k|        if (
16688|  1.95k|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (16688:13): [True: 743, False: 1.21k]
  ------------------
16689|    743|            &&
16690|    743|            (a = annotated_rhs_rule(p))  // annotated_rhs
  ------------------
  |  Branch (16690:13): [True: 743, False: 0]
  ------------------
16691|    743|            &&
16692|    743|            (debug_expr = _PyPegen_expect_token(p, 22), !p->error_indicator)  // '='?
  ------------------
  |  Branch (16692:13): [True: 743, False: 0]
  ------------------
16693|    743|            &&
16694|    743|            (conversion = fstring_conversion_rule(p), !p->error_indicator)  // fstring_conversion?
  ------------------
  |  Branch (16694:13): [True: 743, False: 0]
  ------------------
16695|    743|            &&
16696|    743|            (format = fstring_full_format_spec_rule(p), !p->error_indicator)  // fstring_full_format_spec?
  ------------------
  |  Branch (16696:13): [True: 743, False: 0]
  ------------------
16697|    743|            &&
16698|    743|            (rbrace = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (16698:13): [True: 743, False: 0]
  ------------------
16699|  1.95k|        )
16700|    743|        {
16701|    743|            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|    743|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
16703|    743|            if (_token == NULL) {
  ------------------
  |  Branch (16703:17): [True: 0, False: 743]
  ------------------
16704|      0|                p->level--;
16705|      0|                return NULL;
16706|      0|            }
16707|    743|            int _end_lineno = _token->end_lineno;
16708|    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]
  |  |  ------------------
  ------------------
16709|    743|            int _end_col_offset = _token->end_col_offset;
16710|    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]
  |  |  ------------------
  ------------------
16711|    743|            _res = _PyPegen_formatted_value ( p , a , debug_expr , conversion , format , rbrace , EXTRA );
  ------------------
  |  |  269|    743|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
16712|    743|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16712:18): [True: 0, False: 743]
  |  Branch (16712:34): [True: 0, False: 743]
  |  Branch (16712:57): [True: 0, False: 0]
  ------------------
16713|      0|                p->error_indicator = 1;
16714|      0|                p->level--;
16715|      0|                return NULL;
16716|      0|            }
16717|    743|            goto done;
16718|    743|        }
16719|  1.21k|        p->mark = _mark;
16720|  1.21k|        D(fprintf(stderr, "%*c%s fstring_replacement_field[%d-%d]: %s failed!\n", p->level, ' ',
16721|  1.21k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' annotated_rhs '='? fstring_conversion? fstring_full_format_spec? '}'"));
16722|  1.21k|    }
16723|  1.21k|    if (p->call_invalid_rules) { // invalid_fstring_replacement_field
  ------------------
  |  Branch (16723:9): [True: 0, False: 1.21k]
  ------------------
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|  1.21k|    _res = NULL;
16743|  1.95k|  done:
16744|  1.95k|    p->level--;
16745|  1.95k|    return _res;
16746|  1.21k|}
parser.c:fstring_full_format_spec_rule:
16797|    743|{
16798|    743|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.48k|#  define MAXSTACK 6000
  ------------------
  |  Branch (16798:9): [True: 0, False: 743]
  |  Branch (16798:35): [True: 0, False: 743]
  ------------------
16799|      0|        _Pypegen_stack_overflow(p);
16800|      0|    }
16801|    743|    if (p->error_indicator) {
  ------------------
  |  Branch (16801:9): [True: 0, False: 743]
  ------------------
16802|      0|        p->level--;
16803|      0|        return NULL;
16804|      0|    }
16805|    743|    ResultTokenWithMetadata* _res = NULL;
16806|    743|    int _mark = p->mark;
16807|    743|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (16807:9): [True: 396, False: 347]
  |  Branch (16807:31): [True: 0, False: 396]
  ------------------
16808|      0|        p->error_indicator = 1;
16809|      0|        p->level--;
16810|      0|        return NULL;
16811|      0|    }
16812|    743|    int _start_lineno = p->tokens[_mark]->lineno;
16813|    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]
  |  |  ------------------
  ------------------
16814|    743|    int _start_col_offset = p->tokens[_mark]->col_offset;
16815|    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]
  |  |  ------------------
  ------------------
16816|    743|    { // ':' fstring_format_spec*
16817|    743|        if (p->error_indicator) {
  ------------------
  |  Branch (16817:13): [True: 0, False: 743]
  ------------------
16818|      0|            p->level--;
16819|      0|            return NULL;
16820|      0|        }
16821|    743|        D(fprintf(stderr, "%*c> fstring_full_format_spec[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "':' fstring_format_spec*"));
16822|    743|        Token * colon;
16823|    743|        asdl_seq * spec;
16824|    743|        if (
16825|    743|            (colon = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (16825:13): [True: 5, False: 738]
  ------------------
16826|      5|            &&
16827|      5|            (spec = _loop0_78_rule(p))  // fstring_format_spec*
  ------------------
  |  Branch (16827:13): [True: 5, False: 0]
  ------------------
16828|    743|        )
16829|      5|        {
16830|      5|            D(fprintf(stderr, "%*c+ fstring_full_format_spec[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "':' fstring_format_spec*"));
16831|      5|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
16832|      5|            if (_token == NULL) {
  ------------------
  |  Branch (16832:17): [True: 0, False: 5]
  ------------------
16833|      0|                p->level--;
16834|      0|                return NULL;
16835|      0|            }
16836|      5|            int _end_lineno = _token->end_lineno;
16837|      5|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      5|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 5]
  |  |  ------------------
  ------------------
16838|      5|            int _end_col_offset = _token->end_col_offset;
16839|      5|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      5|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 5]
  |  |  ------------------
  ------------------
16840|      5|            _res = _PyPegen_setup_full_format_spec ( p , colon , ( asdl_expr_seq* ) spec , EXTRA );
  ------------------
  |  |  269|      5|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
16841|      5|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16841:18): [True: 0, False: 5]
  |  Branch (16841:34): [True: 0, False: 5]
  |  Branch (16841:57): [True: 0, False: 0]
  ------------------
16842|      0|                p->error_indicator = 1;
16843|      0|                p->level--;
16844|      0|                return NULL;
16845|      0|            }
16846|      5|            goto done;
16847|      5|        }
16848|    738|        p->mark = _mark;
16849|    738|        D(fprintf(stderr, "%*c%s fstring_full_format_spec[%d-%d]: %s failed!\n", p->level, ' ',
16850|    738|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "':' fstring_format_spec*"));
16851|    738|    }
16852|    738|    _res = NULL;
16853|    743|  done:
16854|    743|    p->level--;
16855|    743|    return _res;
16856|    738|}
parser.c:_tmp_156_rule:
38005|  6.49k|{
38006|  6.49k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  12.9k|#  define MAXSTACK 6000
  ------------------
  |  Branch (38006:9): [True: 0, False: 6.49k]
  |  Branch (38006:35): [True: 0, False: 6.49k]
  ------------------
38007|      0|        _Pypegen_stack_overflow(p);
38008|      0|    }
38009|  6.49k|    if (p->error_indicator) {
  ------------------
  |  Branch (38009:9): [True: 0, False: 6.49k]
  ------------------
38010|      0|        p->level--;
38011|      0|        return NULL;
38012|      0|    }
38013|  6.49k|    void * _res = NULL;
38014|  6.49k|    int _mark = p->mark;
38015|  6.49k|    { // fstring
38016|  6.49k|        if (p->error_indicator) {
  ------------------
  |  Branch (38016:13): [True: 0, False: 6.49k]
  ------------------
38017|      0|            p->level--;
38018|      0|            return NULL;
38019|      0|        }
38020|  6.49k|        D(fprintf(stderr, "%*c> _tmp_156[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "fstring"));
38021|  6.49k|        expr_ty fstring_var;
38022|  6.49k|        if (
38023|  6.49k|            (fstring_var = fstring_rule(p))  // fstring
  ------------------
  |  Branch (38023:13): [True: 431, False: 6.06k]
  ------------------
38024|  6.49k|        )
38025|    431|        {
38026|    431|            D(fprintf(stderr, "%*c+ _tmp_156[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "fstring"));
38027|    431|            _res = fstring_var;
38028|    431|            goto done;
38029|    431|        }
38030|  6.06k|        p->mark = _mark;
38031|  6.06k|        D(fprintf(stderr, "%*c%s _tmp_156[%d-%d]: %s failed!\n", p->level, ' ',
38032|  6.06k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "fstring"));
38033|  6.06k|    }
38034|      0|    { // string
38035|  6.06k|        if (p->error_indicator) {
  ------------------
  |  Branch (38035:13): [True: 0, False: 6.06k]
  ------------------
38036|      0|            p->level--;
38037|      0|            return NULL;
38038|      0|        }
38039|  6.06k|        D(fprintf(stderr, "%*c> _tmp_156[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "string"));
38040|  6.06k|        expr_ty string_var;
38041|  6.06k|        if (
38042|  6.06k|            (string_var = string_rule(p))  // string
  ------------------
  |  Branch (38042:13): [True: 2.87k, False: 3.18k]
  ------------------
38043|  6.06k|        )
38044|  2.87k|        {
38045|  2.87k|            D(fprintf(stderr, "%*c+ _tmp_156[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "string"));
38046|  2.87k|            _res = string_var;
38047|  2.87k|            goto done;
38048|  2.87k|        }
38049|  3.18k|        p->mark = _mark;
38050|  3.18k|        D(fprintf(stderr, "%*c%s _tmp_156[%d-%d]: %s failed!\n", p->level, ' ',
38051|  3.18k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "string"));
38052|  3.18k|    }
38053|  3.18k|    _res = NULL;
38054|  6.49k|  done:
38055|  6.49k|    p->level--;
38056|  6.49k|    return _res;
38057|  3.18k|}
parser.c:fstring_rule:
16923|  6.49k|{
16924|  6.49k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  12.9k|#  define MAXSTACK 6000
  ------------------
  |  Branch (16924:9): [True: 0, False: 6.49k]
  |  Branch (16924:35): [True: 0, False: 6.49k]
  ------------------
16925|      0|        _Pypegen_stack_overflow(p);
16926|      0|    }
16927|  6.49k|    if (p->error_indicator) {
  ------------------
  |  Branch (16927:9): [True: 0, False: 6.49k]
  ------------------
16928|      0|        p->level--;
16929|      0|        return NULL;
16930|      0|    }
16931|  6.49k|    expr_ty _res = NULL;
16932|  6.49k|    int _mark = p->mark;
16933|  6.49k|    { // FSTRING_START fstring_middle* FSTRING_END
16934|  6.49k|        if (p->error_indicator) {
  ------------------
  |  Branch (16934:13): [True: 0, False: 6.49k]
  ------------------
16935|      0|            p->level--;
16936|      0|            return NULL;
16937|      0|        }
16938|  6.49k|        D(fprintf(stderr, "%*c> fstring[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "FSTRING_START fstring_middle* FSTRING_END"));
16939|  6.49k|        Token * a;
16940|  6.49k|        asdl_seq * b;
16941|  6.49k|        Token * c;
16942|  6.49k|        if (
16943|  6.49k|            (a = _PyPegen_expect_token(p, FSTRING_START))  // token='FSTRING_START'
  ------------------
  |  |   75|  6.49k|#define FSTRING_START   59
  ------------------
  |  Branch (16943:13): [True: 431, False: 6.06k]
  ------------------
16944|    431|            &&
16945|    431|            (b = _loop0_79_rule(p))  // fstring_middle*
  ------------------
  |  Branch (16945:13): [True: 431, False: 0]
  ------------------
16946|    431|            &&
16947|    431|            (c = _PyPegen_expect_token(p, FSTRING_END))  // token='FSTRING_END'
  ------------------
  |  |   77|    431|#define FSTRING_END     61
  ------------------
  |  Branch (16947:13): [True: 431, False: 0]
  ------------------
16948|  6.49k|        )
16949|    431|        {
16950|    431|            D(fprintf(stderr, "%*c+ fstring[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "FSTRING_START fstring_middle* FSTRING_END"));
16951|    431|            _res = _PyPegen_joined_str ( p , a , ( asdl_expr_seq* ) b , c );
16952|    431|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16952:18): [True: 0, False: 431]
  |  Branch (16952:34): [True: 0, False: 431]
  |  Branch (16952:57): [True: 0, False: 0]
  ------------------
16953|      0|                p->error_indicator = 1;
16954|      0|                p->level--;
16955|      0|                return NULL;
16956|      0|            }
16957|    431|            goto done;
16958|    431|        }
16959|  6.06k|        p->mark = _mark;
16960|  6.06k|        D(fprintf(stderr, "%*c%s fstring[%d-%d]: %s failed!\n", p->level, ' ',
16961|  6.06k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "FSTRING_START fstring_middle* FSTRING_END"));
16962|  6.06k|    }
16963|  6.06k|    _res = NULL;
16964|  6.49k|  done:
16965|  6.49k|    p->level--;
16966|  6.49k|    return _res;
16967|  6.06k|}
parser.c:_loop0_79_rule:
33374|    431|{
33375|    431|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    862|#  define MAXSTACK 6000
  ------------------
  |  Branch (33375:9): [True: 0, False: 431]
  |  Branch (33375:35): [True: 0, False: 431]
  ------------------
33376|      0|        _Pypegen_stack_overflow(p);
33377|      0|    }
33378|    431|    if (p->error_indicator) {
  ------------------
  |  Branch (33378:9): [True: 0, False: 431]
  ------------------
33379|      0|        p->level--;
33380|      0|        return NULL;
33381|      0|    }
33382|    431|    void *_res = NULL;
33383|    431|    int _mark = p->mark;
33384|    431|    void **_children = PyMem_Malloc(sizeof(void *));
33385|    431|    if (!_children) {
  ------------------
  |  Branch (33385:9): [True: 0, False: 431]
  ------------------
33386|      0|        p->error_indicator = 1;
33387|      0|        PyErr_NoMemory();
33388|      0|        p->level--;
33389|      0|        return NULL;
33390|      0|    }
33391|    431|    Py_ssize_t _children_capacity = 1;
33392|    431|    Py_ssize_t _n = 0;
33393|    431|    { // fstring_middle
33394|    431|        if (p->error_indicator) {
  ------------------
  |  Branch (33394:13): [True: 0, False: 431]
  ------------------
33395|      0|            p->level--;
33396|      0|            return NULL;
33397|      0|        }
33398|    431|        D(fprintf(stderr, "%*c> _loop0_79[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "fstring_middle"));
33399|    431|        expr_ty fstring_middle_var;
33400|    431|        while (
33401|  1.95k|            (fstring_middle_var = fstring_middle_rule(p))  // fstring_middle
  ------------------
  |  Branch (33401:13): [True: 1.52k, False: 431]
  ------------------
33402|    431|        )
33403|  1.52k|        {
33404|  1.52k|            _res = fstring_middle_var;
33405|  1.52k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (33405:17): [True: 738, False: 784]
  ------------------
33406|    738|                _children_capacity *= 2;
33407|    738|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
33408|    738|                if (!_new_children) {
  ------------------
  |  Branch (33408:21): [True: 0, False: 738]
  ------------------
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|    738|                _children = _new_children;
33416|    738|            }
33417|  1.52k|            _children[_n++] = _res;
33418|  1.52k|            _mark = p->mark;
33419|  1.52k|        }
33420|    431|        p->mark = _mark;
33421|    431|        D(fprintf(stderr, "%*c%s _loop0_79[%d-%d]: %s failed!\n", p->level, ' ',
33422|    431|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "fstring_middle"));
33423|    431|    }
33424|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
33425|    431|    if (!_seq) {
  ------------------
  |  Branch (33425:9): [True: 0, False: 431]
  ------------------
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|  1.95k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  1.52k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  1.95k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (33432:28): [True: 1.52k, False: 431]
  ------------------
33433|    431|    PyMem_Free(_children);
33434|    431|    p->level--;
33435|    431|    return _seq;
33436|    431|}
parser.c:fstring_middle_rule:
16592|  1.95k|{
16593|  1.95k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  3.90k|#  define MAXSTACK 6000
  ------------------
  |  Branch (16593:9): [True: 0, False: 1.95k]
  |  Branch (16593:35): [True: 0, False: 1.95k]
  ------------------
16594|      0|        _Pypegen_stack_overflow(p);
16595|      0|    }
16596|  1.95k|    if (p->error_indicator) {
  ------------------
  |  Branch (16596:9): [True: 0, False: 1.95k]
  ------------------
16597|      0|        p->level--;
16598|      0|        return NULL;
16599|      0|    }
16600|  1.95k|    expr_ty _res = NULL;
16601|  1.95k|    int _mark = p->mark;
16602|  1.95k|    { // fstring_replacement_field
16603|  1.95k|        if (p->error_indicator) {
  ------------------
  |  Branch (16603:13): [True: 0, False: 1.95k]
  ------------------
16604|      0|            p->level--;
16605|      0|            return NULL;
16606|      0|        }
16607|  1.95k|        D(fprintf(stderr, "%*c> fstring_middle[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "fstring_replacement_field"));
16608|  1.95k|        expr_ty fstring_replacement_field_var;
16609|  1.95k|        if (
16610|  1.95k|            (fstring_replacement_field_var = fstring_replacement_field_rule(p))  // fstring_replacement_field
  ------------------
  |  Branch (16610:13): [True: 743, False: 1.21k]
  ------------------
16611|  1.95k|        )
16612|    743|        {
16613|    743|            D(fprintf(stderr, "%*c+ fstring_middle[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "fstring_replacement_field"));
16614|    743|            _res = fstring_replacement_field_var;
16615|    743|            goto done;
16616|    743|        }
16617|  1.21k|        p->mark = _mark;
16618|  1.21k|        D(fprintf(stderr, "%*c%s fstring_middle[%d-%d]: %s failed!\n", p->level, ' ',
16619|  1.21k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "fstring_replacement_field"));
16620|  1.21k|    }
16621|      0|    { // FSTRING_MIDDLE
16622|  1.21k|        if (p->error_indicator) {
  ------------------
  |  Branch (16622:13): [True: 0, False: 1.21k]
  ------------------
16623|      0|            p->level--;
16624|      0|            return NULL;
16625|      0|        }
16626|  1.21k|        D(fprintf(stderr, "%*c> fstring_middle[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "FSTRING_MIDDLE"));
16627|  1.21k|        Token * t;
16628|  1.21k|        if (
16629|  1.21k|            (t = _PyPegen_expect_token(p, FSTRING_MIDDLE))  // token='FSTRING_MIDDLE'
  ------------------
  |  |   76|  1.21k|#define FSTRING_MIDDLE  60
  ------------------
  |  Branch (16629:13): [True: 779, False: 431]
  ------------------
16630|  1.21k|        )
16631|    779|        {
16632|    779|            D(fprintf(stderr, "%*c+ fstring_middle[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "FSTRING_MIDDLE"));
16633|    779|            _res = _PyPegen_constant_from_token ( p , t );
16634|    779|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16634:18): [True: 0, False: 779]
  |  Branch (16634:34): [True: 0, False: 779]
  |  Branch (16634:57): [True: 0, False: 0]
  ------------------
16635|      0|                p->error_indicator = 1;
16636|      0|                p->level--;
16637|      0|                return NULL;
16638|      0|            }
16639|    779|            goto done;
16640|    779|        }
16641|    431|        p->mark = _mark;
16642|    431|        D(fprintf(stderr, "%*c%s fstring_middle[%d-%d]: %s failed!\n", p->level, ' ',
16643|    431|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "FSTRING_MIDDLE"));
16644|    431|    }
16645|    431|    _res = NULL;
16646|  1.95k|  done:
16647|  1.95k|    p->level--;
16648|  1.95k|    return _res;
16649|    431|}
parser.c:string_rule:
17408|  6.06k|{
17409|  6.06k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  12.1k|#  define MAXSTACK 6000
  ------------------
  |  Branch (17409:9): [True: 0, False: 6.06k]
  |  Branch (17409:35): [True: 0, False: 6.06k]
  ------------------
17410|      0|        _Pypegen_stack_overflow(p);
17411|      0|    }
17412|  6.06k|    if (p->error_indicator) {
  ------------------
  |  Branch (17412:9): [True: 0, False: 6.06k]
  ------------------
17413|      0|        p->level--;
17414|      0|        return NULL;
17415|      0|    }
17416|  6.06k|    expr_ty _res = NULL;
17417|  6.06k|    int _mark = p->mark;
17418|  6.06k|    { // STRING
17419|  6.06k|        if (p->error_indicator) {
  ------------------
  |  Branch (17419:13): [True: 0, False: 6.06k]
  ------------------
17420|      0|            p->level--;
17421|      0|            return NULL;
17422|      0|        }
17423|  6.06k|        D(fprintf(stderr, "%*c> string[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "STRING"));
17424|  6.06k|        Token* s;
17425|  6.06k|        if (
17426|  6.06k|            (s = (Token*)_PyPegen_string_token(p))  // STRING
  ------------------
  |  Branch (17426:13): [True: 2.87k, False: 3.18k]
  ------------------
17427|  6.06k|        )
17428|  2.87k|        {
17429|  2.87k|            D(fprintf(stderr, "%*c+ string[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "STRING"));
17430|  2.87k|            _res = _PyPegen_constant_from_string ( p , s );
17431|  2.87k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17431:18): [True: 0, False: 2.87k]
  |  Branch (17431:34): [True: 0, False: 2.87k]
  |  Branch (17431:57): [True: 0, False: 0]
  ------------------
17432|      0|                p->error_indicator = 1;
17433|      0|                p->level--;
17434|      0|                return NULL;
17435|      0|            }
17436|  2.87k|            goto done;
17437|  2.87k|        }
17438|  3.18k|        p->mark = _mark;
17439|  3.18k|        D(fprintf(stderr, "%*c%s string[%d-%d]: %s failed!\n", p->level, ' ',
17440|  3.18k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "STRING"));
17441|  3.18k|    }
17442|  3.18k|    _res = NULL;
17443|  6.06k|  done:
17444|  6.06k|    p->level--;
17445|  6.06k|    return _res;
17446|  3.18k|}
parser.c:_loop1_82_rule:
33575|  3.18k|{
33576|  3.18k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  6.37k|#  define MAXSTACK 6000
  ------------------
  |  Branch (33576:9): [True: 0, False: 3.18k]
  |  Branch (33576:35): [True: 0, False: 3.18k]
  ------------------
33577|      0|        _Pypegen_stack_overflow(p);
33578|      0|    }
33579|  3.18k|    if (p->error_indicator) {
  ------------------
  |  Branch (33579:9): [True: 0, False: 3.18k]
  ------------------
33580|      0|        p->level--;
33581|      0|        return NULL;
33582|      0|    }
33583|  3.18k|    void *_res = NULL;
33584|  3.18k|    int _mark = p->mark;
33585|  3.18k|    void **_children = PyMem_Malloc(sizeof(void *));
33586|  3.18k|    if (!_children) {
  ------------------
  |  Branch (33586:9): [True: 0, False: 3.18k]
  ------------------
33587|      0|        p->error_indicator = 1;
33588|      0|        PyErr_NoMemory();
33589|      0|        p->level--;
33590|      0|        return NULL;
33591|      0|    }
33592|  3.18k|    Py_ssize_t _children_capacity = 1;
33593|  3.18k|    Py_ssize_t _n = 0;
33594|  3.18k|    { // (fstring | string)
33595|  3.18k|        if (p->error_indicator) {
  ------------------
  |  Branch (33595:13): [True: 0, False: 3.18k]
  ------------------
33596|      0|            p->level--;
33597|      0|            return NULL;
33598|      0|        }
33599|  3.18k|        D(fprintf(stderr, "%*c> _loop1_82[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(fstring | string)"));
33600|  3.18k|        void *_tmp_156_var;
33601|  3.18k|        while (
33602|  6.49k|            (_tmp_156_var = _tmp_156_rule(p))  // fstring | string
  ------------------
  |  Branch (33602:13): [True: 3.31k, False: 3.18k]
  ------------------
33603|  3.18k|        )
33604|  3.31k|        {
33605|  3.31k|            _res = _tmp_156_var;
33606|  3.31k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (33606:17): [True: 116, False: 3.19k]
  ------------------
33607|    116|                _children_capacity *= 2;
33608|    116|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
33609|    116|                if (!_new_children) {
  ------------------
  |  Branch (33609:21): [True: 0, False: 116]
  ------------------
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|    116|                _children = _new_children;
33617|    116|            }
33618|  3.31k|            _children[_n++] = _res;
33619|  3.31k|            _mark = p->mark;
33620|  3.31k|        }
33621|  3.18k|        p->mark = _mark;
33622|  3.18k|        D(fprintf(stderr, "%*c%s _loop1_82[%d-%d]: %s failed!\n", p->level, ' ',
33623|  3.18k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(fstring | string)"));
33624|  3.18k|    }
33625|  3.18k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (33625:9): [True: 1, False: 3.18k]
  |  Branch (33625:20): [True: 0, False: 3.18k]
  ------------------
33626|      1|        PyMem_Free(_children);
33627|      1|        p->level--;
33628|      1|        return NULL;
33629|      1|    }
33630|  3.18k|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
33631|  3.18k|    if (!_seq) {
  ------------------
  |  Branch (33631:9): [True: 0, False: 3.18k]
  ------------------
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|  6.49k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  3.31k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  6.49k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (33638:28): [True: 3.31k, False: 3.18k]
  ------------------
33639|  3.18k|    PyMem_Free(_children);
33640|  3.18k|    p->level--;
33641|  3.18k|    return _seq;
33642|  3.18k|}
parser.c:_loop1_83_rule:
33647|      1|{
33648|      1|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|      2|#  define MAXSTACK 6000
  ------------------
  |  Branch (33648:9): [True: 0, False: 1]
  |  Branch (33648:35): [True: 0, False: 1]
  ------------------
33649|      0|        _Pypegen_stack_overflow(p);
33650|      0|    }
33651|      1|    if (p->error_indicator) {
  ------------------
  |  Branch (33651:9): [True: 0, False: 1]
  ------------------
33652|      0|        p->level--;
33653|      0|        return NULL;
33654|      0|    }
33655|      1|    void *_res = NULL;
33656|      1|    int _mark = p->mark;
33657|      1|    void **_children = PyMem_Malloc(sizeof(void *));
33658|      1|    if (!_children) {
  ------------------
  |  Branch (33658:9): [True: 0, False: 1]
  ------------------
33659|      0|        p->error_indicator = 1;
33660|      0|        PyErr_NoMemory();
33661|      0|        p->level--;
33662|      0|        return NULL;
33663|      0|    }
33664|      1|    Py_ssize_t _children_capacity = 1;
33665|      1|    Py_ssize_t _n = 0;
33666|      1|    { // tstring
33667|      1|        if (p->error_indicator) {
  ------------------
  |  Branch (33667:13): [True: 0, False: 1]
  ------------------
33668|      0|            p->level--;
33669|      0|            return NULL;
33670|      0|        }
33671|      1|        D(fprintf(stderr, "%*c> _loop1_83[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "tstring"));
33672|      1|        expr_ty tstring_var;
33673|      1|        while (
33674|      2|            (tstring_var = tstring_rule(p))  // tstring
  ------------------
  |  Branch (33674:13): [True: 1, False: 1]
  ------------------
33675|      1|        )
33676|      1|        {
33677|      1|            _res = tstring_var;
33678|      1|            if (_n == _children_capacity) {
  ------------------
  |  Branch (33678:17): [True: 0, False: 1]
  ------------------
33679|      0|                _children_capacity *= 2;
33680|      0|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
33681|      0|                if (!_new_children) {
  ------------------
  |  Branch (33681:21): [True: 0, False: 0]
  ------------------
33682|      0|                    PyMem_Free(_children);
33683|      0|                    p->error_indicator = 1;
33684|      0|                    PyErr_NoMemory();
33685|      0|                    p->level--;
33686|      0|                    return NULL;
33687|      0|                }
33688|      0|                _children = _new_children;
33689|      0|            }
33690|      1|            _children[_n++] = _res;
33691|      1|            _mark = p->mark;
33692|      1|        }
33693|      1|        p->mark = _mark;
33694|      1|        D(fprintf(stderr, "%*c%s _loop1_83[%d-%d]: %s failed!\n", p->level, ' ',
33695|      1|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "tstring"));
33696|      1|    }
33697|      1|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (33697:9): [True: 0, False: 1]
  |  Branch (33697:20): [True: 0, False: 1]
  ------------------
33698|      0|        PyMem_Free(_children);
33699|      0|        p->level--;
33700|      0|        return NULL;
33701|      0|    }
33702|      1|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
33703|      1|    if (!_seq) {
  ------------------
  |  Branch (33703:9): [True: 0, False: 1]
  ------------------
33704|      0|        PyMem_Free(_children);
33705|      0|        p->error_indicator = 1;
33706|      0|        PyErr_NoMemory();
33707|      0|        p->level--;
33708|      0|        return NULL;
33709|      0|    }
33710|      2|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|      1|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|      2|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (33710:28): [True: 1, False: 1]
  ------------------
33711|      1|    PyMem_Free(_children);
33712|      1|    p->level--;
33713|      1|    return _seq;
33714|      1|}
parser.c:_tmp_68_rule:
32605|  1.61k|{
32606|  1.61k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  3.23k|#  define MAXSTACK 6000
  ------------------
  |  Branch (32606:9): [True: 0, False: 1.61k]
  |  Branch (32606:35): [True: 0, False: 1.61k]
  ------------------
32607|      0|        _Pypegen_stack_overflow(p);
32608|      0|    }
32609|  1.61k|    if (p->error_indicator) {
  ------------------
  |  Branch (32609:9): [True: 0, False: 1.61k]
  ------------------
32610|      0|        p->level--;
32611|      0|        return NULL;
32612|      0|    }
32613|  1.61k|    void * _res = NULL;
32614|  1.61k|    int _mark = p->mark;
32615|  1.61k|    { // genexp
32616|  1.61k|        if (p->error_indicator) {
  ------------------
  |  Branch (32616:13): [True: 0, False: 1.61k]
  ------------------
32617|      0|            p->level--;
32618|      0|            return NULL;
32619|      0|        }
32620|  1.61k|        D(fprintf(stderr, "%*c> _tmp_68[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "genexp"));
32621|  1.61k|        expr_ty genexp_var;
32622|  1.61k|        if (
32623|  1.61k|            (genexp_var = genexp_rule(p))  // genexp
  ------------------
  |  Branch (32623:13): [True: 6, False: 1.60k]
  ------------------
32624|  1.61k|        )
32625|      6|        {
32626|      6|            D(fprintf(stderr, "%*c+ _tmp_68[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "genexp"));
32627|      6|            _res = genexp_var;
32628|      6|            goto done;
32629|      6|        }
32630|  1.60k|        p->mark = _mark;
32631|  1.60k|        D(fprintf(stderr, "%*c%s _tmp_68[%d-%d]: %s failed!\n", p->level, ' ',
32632|  1.60k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "genexp"));
32633|  1.60k|    }
32634|      0|    { // tuple
32635|  1.60k|        if (p->error_indicator) {
  ------------------
  |  Branch (32635:13): [True: 0, False: 1.60k]
  ------------------
32636|      0|            p->level--;
32637|      0|            return NULL;
32638|      0|        }
32639|  1.60k|        D(fprintf(stderr, "%*c> _tmp_68[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "tuple"));
32640|  1.60k|        expr_ty tuple_var;
32641|  1.60k|        if (
32642|  1.60k|            (tuple_var = tuple_rule(p))  // tuple
  ------------------
  |  Branch (32642:13): [True: 1.19k, False: 419]
  ------------------
32643|  1.60k|        )
32644|  1.19k|        {
32645|  1.19k|            D(fprintf(stderr, "%*c+ _tmp_68[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "tuple"));
32646|  1.19k|            _res = tuple_var;
32647|  1.19k|            goto done;
32648|  1.19k|        }
32649|    419|        p->mark = _mark;
32650|    419|        D(fprintf(stderr, "%*c%s _tmp_68[%d-%d]: %s failed!\n", p->level, ' ',
32651|    419|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "tuple"));
32652|    419|    }
32653|      0|    { // group
32654|    419|        if (p->error_indicator) {
  ------------------
  |  Branch (32654:13): [True: 0, False: 419]
  ------------------
32655|      0|            p->level--;
32656|      0|            return NULL;
32657|      0|        }
32658|    419|        D(fprintf(stderr, "%*c> _tmp_68[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "group"));
32659|    419|        expr_ty group_var;
32660|    419|        if (
32661|    419|            (group_var = group_rule(p))  // group
  ------------------
  |  Branch (32661:13): [True: 419, False: 0]
  ------------------
32662|    419|        )
32663|    419|        {
32664|    419|            D(fprintf(stderr, "%*c+ _tmp_68[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "group"));
32665|    419|            _res = group_var;
32666|    419|            goto done;
32667|    419|        }
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|  1.61k|  done:
32674|  1.61k|    p->level--;
32675|  1.61k|    return _res;
32676|      0|}
parser.c:tuple_rule:
17636|  55.9k|{
17637|  55.9k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   111k|#  define MAXSTACK 6000
  ------------------
  |  Branch (17637:9): [True: 0, False: 55.9k]
  |  Branch (17637:35): [True: 0, False: 55.9k]
  ------------------
17638|      0|        _Pypegen_stack_overflow(p);
17639|      0|    }
17640|  55.9k|    if (p->error_indicator) {
  ------------------
  |  Branch (17640:9): [True: 0, False: 55.9k]
  ------------------
17641|      0|        p->level--;
17642|      0|        return NULL;
17643|      0|    }
17644|  55.9k|    expr_ty _res = NULL;
17645|  55.9k|    int _mark = p->mark;
17646|  55.9k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (17646:9): [True: 0, False: 55.9k]
  |  Branch (17646:31): [True: 0, False: 0]
  ------------------
17647|      0|        p->error_indicator = 1;
17648|      0|        p->level--;
17649|      0|        return NULL;
17650|      0|    }
17651|  55.9k|    int _start_lineno = p->tokens[_mark]->lineno;
17652|  55.9k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|  55.9k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 55.9k]
  |  |  ------------------
  ------------------
17653|  55.9k|    int _start_col_offset = p->tokens[_mark]->col_offset;
17654|  55.9k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|  55.9k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 55.9k]
  |  |  ------------------
  ------------------
17655|  55.9k|    { // '(' [star_named_expression_sequence ',' star_named_expressions_sequence?] ')'
17656|  55.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (17656:13): [True: 0, False: 55.9k]
  ------------------
17657|      0|            p->level--;
17658|      0|            return NULL;
17659|      0|        }
17660|  55.9k|        D(fprintf(stderr, "%*c> tuple[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' [star_named_expression_sequence ',' star_named_expressions_sequence?] ')'"));
17661|  55.9k|        Token * _literal;
17662|  55.9k|        Token * _literal_1;
17663|  55.9k|        void *a;
17664|  55.9k|        if (
17665|  55.9k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (17665:13): [True: 1.60k, False: 54.3k]
  ------------------
17666|  1.60k|            &&
17667|  1.60k|            (a = _tmp_84_rule(p), !p->error_indicator)  // [star_named_expression_sequence ',' star_named_expressions_sequence?]
  ------------------
  |  Branch (17667:13): [True: 1.60k, False: 0]
  ------------------
17668|  1.60k|            &&
17669|  1.60k|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (17669:13): [True: 1.19k, False: 419]
  ------------------
17670|  55.9k|        )
17671|  1.19k|        {
17672|  1.19k|            D(fprintf(stderr, "%*c+ tuple[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' [star_named_expression_sequence ',' star_named_expressions_sequence?] ')'"));
17673|  1.19k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
17674|  1.19k|            if (_token == NULL) {
  ------------------
  |  Branch (17674:17): [True: 0, False: 1.19k]
  ------------------
17675|      0|                p->level--;
17676|      0|                return NULL;
17677|      0|            }
17678|  1.19k|            int _end_lineno = _token->end_lineno;
17679|  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]
  |  |  ------------------
  ------------------
17680|  1.19k|            int _end_col_offset = _token->end_col_offset;
17681|  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]
  |  |  ------------------
  ------------------
17682|  1.19k|            _res = _PyAST_Tuple ( a , Load , EXTRA );
  ------------------
  |  |  269|  1.19k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
17683|  1.19k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17683:18): [True: 0, False: 1.19k]
  |  Branch (17683:34): [True: 0, False: 1.19k]
  |  Branch (17683:57): [True: 0, False: 0]
  ------------------
17684|      0|                p->error_indicator = 1;
17685|      0|                p->level--;
17686|      0|                return NULL;
17687|      0|            }
17688|  1.19k|            goto done;
17689|  1.19k|        }
17690|  54.7k|        p->mark = _mark;
17691|  54.7k|        D(fprintf(stderr, "%*c%s tuple[%d-%d]: %s failed!\n", p->level, ' ',
17692|  54.7k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' [star_named_expression_sequence ',' star_named_expressions_sequence?] ')'"));
17693|  54.7k|    }
17694|  54.7k|    _res = NULL;
17695|  55.9k|  done:
17696|  55.9k|    p->level--;
17697|  55.9k|    return _res;
17698|  54.7k|}
parser.c:_tmp_84_rule:
33719|  1.60k|{
33720|  1.60k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  3.21k|#  define MAXSTACK 6000
  ------------------
  |  Branch (33720:9): [True: 0, False: 1.60k]
  |  Branch (33720:35): [True: 0, False: 1.60k]
  ------------------
33721|      0|        _Pypegen_stack_overflow(p);
33722|      0|    }
33723|  1.60k|    if (p->error_indicator) {
  ------------------
  |  Branch (33723:9): [True: 0, False: 1.60k]
  ------------------
33724|      0|        p->level--;
33725|      0|        return NULL;
33726|      0|    }
33727|  1.60k|    void * _res = NULL;
33728|  1.60k|    int _mark = p->mark;
33729|  1.60k|    { // star_named_expression_sequence ',' star_named_expressions_sequence?
33730|  1.60k|        if (p->error_indicator) {
  ------------------
  |  Branch (33730:13): [True: 0, False: 1.60k]
  ------------------
33731|      0|            p->level--;
33732|      0|            return NULL;
33733|      0|        }
33734|  1.60k|        D(fprintf(stderr, "%*c> _tmp_84[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_named_expression_sequence ',' star_named_expressions_sequence?"));
33735|  1.60k|        Token * _literal;
33736|  1.60k|        expr_ty y;
33737|  1.60k|        void *z;
33738|  1.60k|        if (
33739|  1.60k|            (y = star_named_expression_sequence_rule(p))  // star_named_expression_sequence
  ------------------
  |  Branch (33739:13): [True: 1.54k, False: 64]
  ------------------
33740|  1.54k|            &&
33741|  1.54k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (33741:13): [True: 1.12k, False: 419]
  ------------------
33742|  1.12k|            &&
33743|  1.12k|            (z = star_named_expressions_sequence_rule(p), !p->error_indicator)  // star_named_expressions_sequence?
  ------------------
  |  Branch (33743:13): [True: 1.12k, False: 0]
  ------------------
33744|  1.60k|        )
33745|  1.12k|        {
33746|  1.12k|            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|  1.12k|            _res = _PyPegen_seq_insert_in_front ( p , y , z );
33748|  1.12k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (33748:18): [True: 0, False: 1.12k]
  |  Branch (33748:34): [True: 0, False: 1.12k]
  |  Branch (33748:57): [True: 0, False: 0]
  ------------------
33749|      0|                p->error_indicator = 1;
33750|      0|                p->level--;
33751|      0|                return NULL;
33752|      0|            }
33753|  1.12k|            goto done;
33754|  1.12k|        }
33755|    483|        p->mark = _mark;
33756|    483|        D(fprintf(stderr, "%*c%s _tmp_84[%d-%d]: %s failed!\n", p->level, ' ',
33757|    483|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_named_expression_sequence ',' star_named_expressions_sequence?"));
33758|    483|    }
33759|    483|    _res = NULL;
33760|  1.60k|  done:
33761|  1.60k|    p->level--;
33762|  1.60k|    return _res;
33763|    483|}
parser.c:star_named_expression_sequence_rule:
12267|  5.48k|{
12268|  5.48k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  10.9k|#  define MAXSTACK 6000
  ------------------
  |  Branch (12268:9): [True: 0, False: 5.48k]
  |  Branch (12268:35): [True: 0, False: 5.48k]
  ------------------
12269|      0|        _Pypegen_stack_overflow(p);
12270|      0|    }
12271|  5.48k|    if (p->error_indicator) {
  ------------------
  |  Branch (12271:9): [True: 0, False: 5.48k]
  ------------------
12272|      0|        p->level--;
12273|      0|        return NULL;
12274|      0|    }
12275|  5.48k|    expr_ty _res = NULL;
12276|  5.48k|    int _mark = p->mark;
12277|  5.48k|    if (p->call_invalid_rules) { // invalid_starred_expression_unpacking_sequence
  ------------------
  |  Branch (12277:9): [True: 0, False: 5.48k]
  ------------------
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|  5.48k|    { // star_named_expression
12297|  5.48k|        if (p->error_indicator) {
  ------------------
  |  Branch (12297:13): [True: 0, False: 5.48k]
  ------------------
12298|      0|            p->level--;
12299|      0|            return NULL;
12300|      0|        }
12301|  5.48k|        D(fprintf(stderr, "%*c> star_named_expression_sequence[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_named_expression"));
12302|  5.48k|        expr_ty star_named_expression_var;
12303|  5.48k|        if (
12304|  5.48k|            (star_named_expression_var = star_named_expression_rule(p))  // star_named_expression
  ------------------
  |  Branch (12304:13): [True: 4.86k, False: 624]
  ------------------
12305|  5.48k|        )
12306|  4.86k|        {
12307|  4.86k|            D(fprintf(stderr, "%*c+ star_named_expression_sequence[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_named_expression"));
12308|  4.86k|            _res = star_named_expression_var;
12309|  4.86k|            goto done;
12310|  4.86k|        }
12311|    624|        p->mark = _mark;
12312|    624|        D(fprintf(stderr, "%*c%s star_named_expression_sequence[%d-%d]: %s failed!\n", p->level, ' ',
12313|    624|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_named_expression"));
12314|    624|    }
12315|    624|    _res = NULL;
12316|  5.48k|  done:
12317|  5.48k|    p->level--;
12318|  5.48k|    return _res;
12319|    624|}
parser.c:star_named_expressions_sequence_rule:
12135|  1.74k|{
12136|  1.74k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  3.48k|#  define MAXSTACK 6000
  ------------------
  |  Branch (12136:9): [True: 0, False: 1.74k]
  |  Branch (12136:35): [True: 0, False: 1.74k]
  ------------------
12137|      0|        _Pypegen_stack_overflow(p);
12138|      0|    }
12139|  1.74k|    if (p->error_indicator) {
  ------------------
  |  Branch (12139:9): [True: 0, False: 1.74k]
  ------------------
12140|      0|        p->level--;
12141|      0|        return NULL;
12142|      0|    }
12143|  1.74k|    asdl_expr_seq* _res = NULL;
12144|  1.74k|    int _mark = p->mark;
12145|  1.74k|    { // ','.star_named_expression_sequence+ ','?
12146|  1.74k|        if (p->error_indicator) {
  ------------------
  |  Branch (12146:13): [True: 0, False: 1.74k]
  ------------------
12147|      0|            p->level--;
12148|      0|            return NULL;
12149|      0|        }
12150|  1.74k|        D(fprintf(stderr, "%*c> star_named_expressions_sequence[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.star_named_expression_sequence+ ','?"));
12151|  1.74k|        void *_opt_var;
12152|  1.74k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  267|  1.74k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 1.74k]
  |  |  ------------------
  ------------------
12153|  1.74k|        asdl_expr_seq* a;
12154|  1.74k|        if (
12155|  1.74k|            (a = (asdl_expr_seq*)_gather_60_rule(p))  // ','.star_named_expression_sequence+
  ------------------
  |  Branch (12155:13): [True: 1.36k, False: 374]
  ------------------
12156|  1.36k|            &&
12157|  1.36k|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (12157:13): [True: 1.36k, False: 0]
  ------------------
12158|  1.74k|        )
12159|  1.36k|        {
12160|  1.36k|            D(fprintf(stderr, "%*c+ star_named_expressions_sequence[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.star_named_expression_sequence+ ','?"));
12161|  1.36k|            _res = a;
12162|  1.36k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (12162:18): [True: 0, False: 1.36k]
  |  Branch (12162:34): [True: 0, False: 1.36k]
  |  Branch (12162:57): [True: 0, False: 0]
  ------------------
12163|      0|                p->error_indicator = 1;
12164|      0|                p->level--;
12165|      0|                return NULL;
12166|      0|            }
12167|  1.36k|            goto done;
12168|  1.36k|        }
12169|    374|        p->mark = _mark;
12170|    374|        D(fprintf(stderr, "%*c%s star_named_expressions_sequence[%d-%d]: %s failed!\n", p->level, ' ',
12171|    374|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.star_named_expression_sequence+ ','?"));
12172|    374|    }
12173|    374|    _res = NULL;
12174|  1.74k|  done:
12175|  1.74k|    p->level--;
12176|  1.74k|    return _res;
12177|    374|}
parser.c:_gather_60_rule:
32142|  1.74k|{
32143|  1.74k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  3.48k|#  define MAXSTACK 6000
  ------------------
  |  Branch (32143:9): [True: 0, False: 1.74k]
  |  Branch (32143:35): [True: 0, False: 1.74k]
  ------------------
32144|      0|        _Pypegen_stack_overflow(p);
32145|      0|    }
32146|  1.74k|    if (p->error_indicator) {
  ------------------
  |  Branch (32146:9): [True: 0, False: 1.74k]
  ------------------
32147|      0|        p->level--;
32148|      0|        return NULL;
32149|      0|    }
32150|  1.74k|    asdl_seq * _res = NULL;
32151|  1.74k|    int _mark = p->mark;
32152|  1.74k|    { // star_named_expression_sequence _loop0_59
32153|  1.74k|        if (p->error_indicator) {
  ------------------
  |  Branch (32153:13): [True: 0, False: 1.74k]
  ------------------
32154|      0|            p->level--;
32155|      0|            return NULL;
32156|      0|        }
32157|  1.74k|        D(fprintf(stderr, "%*c> _gather_60[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_named_expression_sequence _loop0_59"));
32158|  1.74k|        expr_ty elem;
32159|  1.74k|        asdl_seq * seq;
32160|  1.74k|        if (
32161|  1.74k|            (elem = star_named_expression_sequence_rule(p))  // star_named_expression_sequence
  ------------------
  |  Branch (32161:13): [True: 1.36k, False: 374]
  ------------------
32162|  1.36k|            &&
32163|  1.36k|            (seq = _loop0_59_rule(p))  // _loop0_59
  ------------------
  |  Branch (32163:13): [True: 1.36k, False: 0]
  ------------------
32164|  1.74k|        )
32165|  1.36k|        {
32166|  1.36k|            D(fprintf(stderr, "%*c+ _gather_60[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_named_expression_sequence _loop0_59"));
32167|  1.36k|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
32168|  1.36k|            goto done;
32169|  1.36k|        }
32170|    374|        p->mark = _mark;
32171|    374|        D(fprintf(stderr, "%*c%s _gather_60[%d-%d]: %s failed!\n", p->level, ' ',
32172|    374|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_named_expression_sequence _loop0_59"));
32173|    374|    }
32174|    374|    _res = NULL;
32175|  1.74k|  done:
32176|  1.74k|    p->level--;
32177|  1.74k|    return _res;
32178|    374|}
parser.c:_loop0_59_rule:
32066|  1.36k|{
32067|  1.36k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  2.73k|#  define MAXSTACK 6000
  ------------------
  |  Branch (32067:9): [True: 0, False: 1.36k]
  |  Branch (32067:35): [True: 0, False: 1.36k]
  ------------------
32068|      0|        _Pypegen_stack_overflow(p);
32069|      0|    }
32070|  1.36k|    if (p->error_indicator) {
  ------------------
  |  Branch (32070:9): [True: 0, False: 1.36k]
  ------------------
32071|      0|        p->level--;
32072|      0|        return NULL;
32073|      0|    }
32074|  1.36k|    void *_res = NULL;
32075|  1.36k|    int _mark = p->mark;
32076|  1.36k|    void **_children = PyMem_Malloc(sizeof(void *));
32077|  1.36k|    if (!_children) {
  ------------------
  |  Branch (32077:9): [True: 0, False: 1.36k]
  ------------------
32078|      0|        p->error_indicator = 1;
32079|      0|        PyErr_NoMemory();
32080|      0|        p->level--;
32081|      0|        return NULL;
32082|      0|    }
32083|  1.36k|    Py_ssize_t _children_capacity = 1;
32084|  1.36k|    Py_ssize_t _n = 0;
32085|  1.36k|    { // ',' star_named_expression_sequence
32086|  1.36k|        if (p->error_indicator) {
  ------------------
  |  Branch (32086:13): [True: 0, False: 1.36k]
  ------------------
32087|      0|            p->level--;
32088|      0|            return NULL;
32089|      0|        }
32090|  1.36k|        D(fprintf(stderr, "%*c> _loop0_59[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' star_named_expression_sequence"));
32091|  1.36k|        Token * _literal;
32092|  1.36k|        expr_ty elem;
32093|  1.36k|        while (
32094|  3.31k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (32094:13): [True: 2.13k, False: 1.18k]
  ------------------
32095|  2.13k|            &&
32096|  2.13k|            (elem = star_named_expression_sequence_rule(p))  // star_named_expression_sequence
  ------------------
  |  Branch (32096:13): [True: 1.94k, False: 186]
  ------------------
32097|  1.36k|        )
32098|  1.94k|        {
32099|  1.94k|            _res = elem;
32100|  1.94k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (32100:18): [True: 0, False: 1.94k]
  |  Branch (32100:34): [True: 0, False: 1.94k]
  |  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.94k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (32106:17): [True: 746, False: 1.20k]
  ------------------
32107|    746|                _children_capacity *= 2;
32108|    746|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
32109|    746|                if (!_new_children) {
  ------------------
  |  Branch (32109:21): [True: 0, False: 746]
  ------------------
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|    746|                _children = _new_children;
32117|    746|            }
32118|  1.94k|            _children[_n++] = _res;
32119|  1.94k|            _mark = p->mark;
32120|  1.94k|        }
32121|  1.36k|        p->mark = _mark;
32122|  1.36k|        D(fprintf(stderr, "%*c%s _loop0_59[%d-%d]: %s failed!\n", p->level, ' ',
32123|  1.36k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' star_named_expression_sequence"));
32124|  1.36k|    }
32125|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
32126|  1.36k|    if (!_seq) {
  ------------------
  |  Branch (32126:9): [True: 0, False: 1.36k]
  ------------------
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|  3.31k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  1.94k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  3.31k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (32133:28): [True: 1.94k, False: 1.36k]
  ------------------
32134|  1.36k|    PyMem_Free(_children);
32135|  1.36k|    p->level--;
32136|  1.36k|    return _seq;
32137|  1.36k|}
parser.c:group_rule:
15577|    419|{
15578|    419|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    838|#  define MAXSTACK 6000
  ------------------
  |  Branch (15578:9): [True: 0, False: 419]
  |  Branch (15578:35): [True: 0, False: 419]
  ------------------
15579|      0|        _Pypegen_stack_overflow(p);
15580|      0|    }
15581|    419|    if (p->error_indicator) {
  ------------------
  |  Branch (15581:9): [True: 0, False: 419]
  ------------------
15582|      0|        p->level--;
15583|      0|        return NULL;
15584|      0|    }
15585|    419|    expr_ty _res = NULL;
15586|    419|    int _mark = p->mark;
15587|    419|    { // '(' (yield_expr | named_expression) ')'
15588|    419|        if (p->error_indicator) {
  ------------------
  |  Branch (15588:13): [True: 0, False: 419]
  ------------------
15589|      0|            p->level--;
15590|      0|            return NULL;
15591|      0|        }
15592|    419|        D(fprintf(stderr, "%*c> group[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' (yield_expr | named_expression) ')'"));
15593|    419|        Token * _literal;
15594|    419|        Token * _literal_1;
15595|    419|        void *a;
15596|    419|        if (
15597|    419|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (15597:13): [True: 419, False: 0]
  ------------------
15598|    419|            &&
15599|    419|            (a = _tmp_71_rule(p))  // yield_expr | named_expression
  ------------------
  |  Branch (15599:13): [True: 419, False: 0]
  ------------------
15600|    419|            &&
15601|    419|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (15601:13): [True: 419, False: 0]
  ------------------
15602|    419|        )
15603|    419|        {
15604|    419|            D(fprintf(stderr, "%*c+ group[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' (yield_expr | named_expression) ')'"));
15605|    419|            _res = a;
15606|    419|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15606:18): [True: 0, False: 419]
  |  Branch (15606:34): [True: 0, False: 419]
  |  Branch (15606:57): [True: 0, False: 0]
  ------------------
15607|      0|                p->error_indicator = 1;
15608|      0|                p->level--;
15609|      0|                return NULL;
15610|      0|            }
15611|    419|            goto done;
15612|    419|        }
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|    419|  done:
15638|    419|    p->level--;
15639|    419|    return _res;
15640|      0|}
parser.c:_tmp_71_rule:
32833|    419|{
32834|    419|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    838|#  define MAXSTACK 6000
  ------------------
  |  Branch (32834:9): [True: 0, False: 419]
  |  Branch (32834:35): [True: 0, False: 419]
  ------------------
32835|      0|        _Pypegen_stack_overflow(p);
32836|      0|    }
32837|    419|    if (p->error_indicator) {
  ------------------
  |  Branch (32837:9): [True: 0, False: 419]
  ------------------
32838|      0|        p->level--;
32839|      0|        return NULL;
32840|      0|    }
32841|    419|    void * _res = NULL;
32842|    419|    int _mark = p->mark;
32843|    419|    { // yield_expr
32844|    419|        if (p->error_indicator) {
  ------------------
  |  Branch (32844:13): [True: 0, False: 419]
  ------------------
32845|      0|            p->level--;
32846|      0|            return NULL;
32847|      0|        }
32848|    419|        D(fprintf(stderr, "%*c> _tmp_71[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "yield_expr"));
32849|    419|        expr_ty yield_expr_var;
32850|    419|        if (
32851|    419|            (yield_expr_var = yield_expr_rule(p))  // yield_expr
  ------------------
  |  Branch (32851:13): [True: 0, False: 419]
  ------------------
32852|    419|        )
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|    419|        p->mark = _mark;
32859|    419|        D(fprintf(stderr, "%*c%s _tmp_71[%d-%d]: %s failed!\n", p->level, ' ',
32860|    419|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "yield_expr"));
32861|    419|    }
32862|      0|    { // named_expression
32863|    419|        if (p->error_indicator) {
  ------------------
  |  Branch (32863:13): [True: 0, False: 419]
  ------------------
32864|      0|            p->level--;
32865|      0|            return NULL;
32866|      0|        }
32867|    419|        D(fprintf(stderr, "%*c> _tmp_71[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "named_expression"));
32868|    419|        expr_ty named_expression_var;
32869|    419|        if (
32870|    419|            (named_expression_var = named_expression_rule(p))  // named_expression
  ------------------
  |  Branch (32870:13): [True: 419, False: 0]
  ------------------
32871|    419|        )
32872|    419|        {
32873|    419|            D(fprintf(stderr, "%*c+ _tmp_71[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "named_expression"));
32874|    419|            _res = named_expression_var;
32875|    419|            goto done;
32876|    419|        }
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|    419|  done:
32883|    419|    p->level--;
32884|    419|    return _res;
32885|      0|}
parser.c:_tmp_69_rule:
32681|    571|{
32682|    571|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.14k|#  define MAXSTACK 6000
  ------------------
  |  Branch (32682:9): [True: 0, False: 571]
  |  Branch (32682:35): [True: 0, False: 571]
  ------------------
32683|      0|        _Pypegen_stack_overflow(p);
32684|      0|    }
32685|    571|    if (p->error_indicator) {
  ------------------
  |  Branch (32685:9): [True: 0, False: 571]
  ------------------
32686|      0|        p->level--;
32687|      0|        return NULL;
32688|      0|    }
32689|    571|    void * _res = NULL;
32690|    571|    int _mark = p->mark;
32691|    571|    { // listcomp
32692|    571|        if (p->error_indicator) {
  ------------------
  |  Branch (32692:13): [True: 0, False: 571]
  ------------------
32693|      0|            p->level--;
32694|      0|            return NULL;
32695|      0|        }
32696|    571|        D(fprintf(stderr, "%*c> _tmp_69[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "listcomp"));
32697|    571|        expr_ty listcomp_var;
32698|    571|        if (
32699|    571|            (listcomp_var = listcomp_rule(p))  // listcomp
  ------------------
  |  Branch (32699:13): [True: 95, False: 476]
  ------------------
32700|    571|        )
32701|     95|        {
32702|     95|            D(fprintf(stderr, "%*c+ _tmp_69[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "listcomp"));
32703|     95|            _res = listcomp_var;
32704|     95|            goto done;
32705|     95|        }
32706|    476|        p->mark = _mark;
32707|    476|        D(fprintf(stderr, "%*c%s _tmp_69[%d-%d]: %s failed!\n", p->level, ' ',
32708|    476|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "listcomp"));
32709|    476|    }
32710|      0|    { // list
32711|    476|        if (p->error_indicator) {
  ------------------
  |  Branch (32711:13): [True: 0, False: 476]
  ------------------
32712|      0|            p->level--;
32713|      0|            return NULL;
32714|      0|        }
32715|    476|        D(fprintf(stderr, "%*c> _tmp_69[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "list"));
32716|    476|        expr_ty list_var;
32717|    476|        if (
32718|    476|            (list_var = list_rule(p))  // list
  ------------------
  |  Branch (32718:13): [True: 476, False: 0]
  ------------------
32719|    476|        )
32720|    476|        {
32721|    476|            D(fprintf(stderr, "%*c+ _tmp_69[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "list"));
32722|    476|            _res = list_var;
32723|    476|            goto done;
32724|    476|        }
32725|      0|        p->mark = _mark;
32726|      0|        D(fprintf(stderr, "%*c%s _tmp_69[%d-%d]: %s failed!\n", p->level, ' ',
32727|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "list"));
32728|      0|    }
32729|      0|    _res = NULL;
32730|    571|  done:
32731|    571|    p->level--;
32732|    571|    return _res;
32733|      0|}
parser.c:listcomp_rule:
18216|    571|{
18217|    571|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.14k|#  define MAXSTACK 6000
  ------------------
  |  Branch (18217:9): [True: 0, False: 571]
  |  Branch (18217:35): [True: 0, False: 571]
  ------------------
18218|      0|        _Pypegen_stack_overflow(p);
18219|      0|    }
18220|    571|    if (p->error_indicator) {
  ------------------
  |  Branch (18220:9): [True: 0, False: 571]
  ------------------
18221|      0|        p->level--;
18222|      0|        return NULL;
18223|      0|    }
18224|    571|    expr_ty _res = NULL;
18225|    571|    int _mark = p->mark;
18226|    571|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (18226:9): [True: 0, False: 571]
  |  Branch (18226:31): [True: 0, False: 0]
  ------------------
18227|      0|        p->error_indicator = 1;
18228|      0|        p->level--;
18229|      0|        return NULL;
18230|      0|    }
18231|    571|    int _start_lineno = p->tokens[_mark]->lineno;
18232|    571|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    571|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 571]
  |  |  ------------------
  ------------------
18233|    571|    int _start_col_offset = p->tokens[_mark]->col_offset;
18234|    571|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    571|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 571]
  |  |  ------------------
  ------------------
18235|    571|    { // '[' star_named_expression for_if_clauses ']'
18236|    571|        if (p->error_indicator) {
  ------------------
  |  Branch (18236:13): [True: 0, False: 571]
  ------------------
18237|      0|            p->level--;
18238|      0|            return NULL;
18239|      0|        }
18240|    571|        D(fprintf(stderr, "%*c> listcomp[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'[' star_named_expression for_if_clauses ']'"));
18241|    571|        Token * _literal;
18242|    571|        Token * _literal_1;
18243|    571|        expr_ty a;
18244|    571|        asdl_comprehension_seq* b;
18245|    571|        if (
18246|    571|            (_literal = _PyPegen_expect_token(p, 9))  // token='['
  ------------------
  |  Branch (18246:13): [True: 571, False: 0]
  ------------------
18247|    571|            &&
18248|    571|            (a = star_named_expression_rule(p))  // star_named_expression
  ------------------
  |  Branch (18248:13): [True: 285, False: 286]
  ------------------
18249|    285|            &&
18250|    285|            (b = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  Branch (18250:13): [True: 95, False: 190]
  ------------------
18251|     95|            &&
18252|     95|            (_literal_1 = _PyPegen_expect_token(p, 10))  // token=']'
  ------------------
  |  Branch (18252:13): [True: 95, False: 0]
  ------------------
18253|    571|        )
18254|     95|        {
18255|     95|            D(fprintf(stderr, "%*c+ listcomp[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'[' star_named_expression for_if_clauses ']'"));
18256|     95|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
18257|     95|            if (_token == NULL) {
  ------------------
  |  Branch (18257:17): [True: 0, False: 95]
  ------------------
18258|      0|                p->level--;
18259|      0|                return NULL;
18260|      0|            }
18261|     95|            int _end_lineno = _token->end_lineno;
18262|     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]
  |  |  ------------------
  ------------------
18263|     95|            int _end_col_offset = _token->end_col_offset;
18264|     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]
  |  |  ------------------
  ------------------
18265|     95|            _res = _PyAST_ListComp ( a , b , EXTRA );
  ------------------
  |  |  269|     95|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
18266|     95|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18266:18): [True: 0, False: 95]
  |  Branch (18266:34): [True: 0, False: 95]
  |  Branch (18266:57): [True: 0, False: 0]
  ------------------
18267|      0|                p->error_indicator = 1;
18268|      0|                p->level--;
18269|      0|                return NULL;
18270|      0|            }
18271|     95|            goto done;
18272|     95|        }
18273|    476|        p->mark = _mark;
18274|    476|        D(fprintf(stderr, "%*c%s listcomp[%d-%d]: %s failed!\n", p->level, ' ',
18275|    476|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'[' star_named_expression for_if_clauses ']'"));
18276|    476|    }
18277|    476|    if (p->call_invalid_rules) { // invalid_comprehension
  ------------------
  |  Branch (18277:9): [True: 0, False: 476]
  ------------------
18278|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (18278:13): [True: 0, False: 0]
  ------------------
18279|      0|            p->level--;
18280|      0|            return NULL;
18281|      0|        }
18282|      0|        D(fprintf(stderr, "%*c> listcomp[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_comprehension"));
18283|      0|        void *invalid_comprehension_var;
18284|      0|        if (
18285|      0|            (invalid_comprehension_var = invalid_comprehension_rule(p))  // invalid_comprehension
  ------------------
  |  Branch (18285:13): [True: 0, False: 0]
  ------------------
18286|      0|        )
18287|      0|        {
18288|      0|            D(fprintf(stderr, "%*c+ listcomp[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_comprehension"));
18289|      0|            _res = invalid_comprehension_var;
18290|      0|            goto done;
18291|      0|        }
18292|      0|        p->mark = _mark;
18293|      0|        D(fprintf(stderr, "%*c%s listcomp[%d-%d]: %s failed!\n", p->level, ' ',
18294|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_comprehension"));
18295|      0|    }
18296|    476|    _res = NULL;
18297|    571|  done:
18298|    571|    p->level--;
18299|    571|    return _res;
18300|    476|}
parser.c:list_rule:
17569|  54.7k|{
17570|  54.7k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   109k|#  define MAXSTACK 6000
  ------------------
  |  Branch (17570:9): [True: 0, False: 54.7k]
  |  Branch (17570:35): [True: 0, False: 54.7k]
  ------------------
17571|      0|        _Pypegen_stack_overflow(p);
17572|      0|    }
17573|  54.7k|    if (p->error_indicator) {
  ------------------
  |  Branch (17573:9): [True: 0, False: 54.7k]
  ------------------
17574|      0|        p->level--;
17575|      0|        return NULL;
17576|      0|    }
17577|  54.7k|    expr_ty _res = NULL;
17578|  54.7k|    int _mark = p->mark;
17579|  54.7k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (17579:9): [True: 0, False: 54.7k]
  |  Branch (17579:31): [True: 0, False: 0]
  ------------------
17580|      0|        p->error_indicator = 1;
17581|      0|        p->level--;
17582|      0|        return NULL;
17583|      0|    }
17584|  54.7k|    int _start_lineno = p->tokens[_mark]->lineno;
17585|  54.7k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|  54.7k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 54.7k]
  |  |  ------------------
  ------------------
17586|  54.7k|    int _start_col_offset = p->tokens[_mark]->col_offset;
17587|  54.7k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|  54.7k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 54.7k]
  |  |  ------------------
  ------------------
17588|  54.7k|    { // '[' star_named_expressions_sequence? ']'
17589|  54.7k|        if (p->error_indicator) {
  ------------------
  |  Branch (17589:13): [True: 0, False: 54.7k]
  ------------------
17590|      0|            p->level--;
17591|      0|            return NULL;
17592|      0|        }
17593|  54.7k|        D(fprintf(stderr, "%*c> list[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'[' star_named_expressions_sequence? ']'"));
17594|  54.7k|        Token * _literal;
17595|  54.7k|        Token * _literal_1;
17596|  54.7k|        void *a;
17597|  54.7k|        if (
17598|  54.7k|            (_literal = _PyPegen_expect_token(p, 9))  // token='['
  ------------------
  |  Branch (17598:13): [True: 476, False: 54.3k]
  ------------------
17599|    476|            &&
17600|    476|            (a = star_named_expressions_sequence_rule(p), !p->error_indicator)  // star_named_expressions_sequence?
  ------------------
  |  Branch (17600:13): [True: 476, False: 0]
  ------------------
17601|    476|            &&
17602|    476|            (_literal_1 = _PyPegen_expect_token(p, 10))  // token=']'
  ------------------
  |  Branch (17602:13): [True: 476, False: 0]
  ------------------
17603|  54.7k|        )
17604|    476|        {
17605|    476|            D(fprintf(stderr, "%*c+ list[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'[' star_named_expressions_sequence? ']'"));
17606|    476|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
17607|    476|            if (_token == NULL) {
  ------------------
  |  Branch (17607:17): [True: 0, False: 476]
  ------------------
17608|      0|                p->level--;
17609|      0|                return NULL;
17610|      0|            }
17611|    476|            int _end_lineno = _token->end_lineno;
17612|    476|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    476|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 476]
  |  |  ------------------
  ------------------
17613|    476|            int _end_col_offset = _token->end_col_offset;
17614|    476|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    476|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 476]
  |  |  ------------------
  ------------------
17615|    476|            _res = _PyAST_List ( a , Load , EXTRA );
  ------------------
  |  |  269|    476|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
17616|    476|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17616:18): [True: 0, False: 476]
  |  Branch (17616:34): [True: 0, False: 476]
  |  Branch (17616:57): [True: 0, False: 0]
  ------------------
17617|      0|                p->error_indicator = 1;
17618|      0|                p->level--;
17619|      0|                return NULL;
17620|      0|            }
17621|    476|            goto done;
17622|    476|        }
17623|  54.3k|        p->mark = _mark;
17624|  54.3k|        D(fprintf(stderr, "%*c%s list[%d-%d]: %s failed!\n", p->level, ' ',
17625|  54.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'[' star_named_expressions_sequence? ']'"));
17626|  54.3k|    }
17627|  54.3k|    _res = NULL;
17628|  54.7k|  done:
17629|  54.7k|    p->level--;
17630|  54.7k|    return _res;
17631|  54.3k|}
parser.c:_tmp_70_rule:
32738|    370|{
32739|    370|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    740|#  define MAXSTACK 6000
  ------------------
  |  Branch (32739:9): [True: 0, False: 370]
  |  Branch (32739:35): [True: 0, False: 370]
  ------------------
32740|      0|        _Pypegen_stack_overflow(p);
32741|      0|    }
32742|    370|    if (p->error_indicator) {
  ------------------
  |  Branch (32742:9): [True: 0, False: 370]
  ------------------
32743|      0|        p->level--;
32744|      0|        return NULL;
32745|      0|    }
32746|    370|    void * _res = NULL;
32747|    370|    int _mark = p->mark;
32748|    370|    { // dictcomp
32749|    370|        if (p->error_indicator) {
  ------------------
  |  Branch (32749:13): [True: 0, False: 370]
  ------------------
32750|      0|            p->level--;
32751|      0|            return NULL;
32752|      0|        }
32753|    370|        D(fprintf(stderr, "%*c> _tmp_70[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "dictcomp"));
32754|    370|        expr_ty dictcomp_var;
32755|    370|        if (
32756|    370|            (dictcomp_var = dictcomp_rule(p))  // dictcomp
  ------------------
  |  Branch (32756:13): [True: 4, False: 366]
  ------------------
32757|    370|        )
32758|      4|        {
32759|      4|            D(fprintf(stderr, "%*c+ _tmp_70[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "dictcomp"));
32760|      4|            _res = dictcomp_var;
32761|      4|            goto done;
32762|      4|        }
32763|    366|        p->mark = _mark;
32764|    366|        D(fprintf(stderr, "%*c%s _tmp_70[%d-%d]: %s failed!\n", p->level, ' ',
32765|    366|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "dictcomp"));
32766|    366|    }
32767|      0|    { // setcomp
32768|    366|        if (p->error_indicator) {
  ------------------
  |  Branch (32768:13): [True: 0, False: 366]
  ------------------
32769|      0|            p->level--;
32770|      0|            return NULL;
32771|      0|        }
32772|    366|        D(fprintf(stderr, "%*c> _tmp_70[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "setcomp"));
32773|    366|        expr_ty setcomp_var;
32774|    366|        if (
32775|    366|            (setcomp_var = setcomp_rule(p))  // setcomp
  ------------------
  |  Branch (32775:13): [True: 19, False: 347]
  ------------------
32776|    366|        )
32777|     19|        {
32778|     19|            D(fprintf(stderr, "%*c+ _tmp_70[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "setcomp"));
32779|     19|            _res = setcomp_var;
32780|     19|            goto done;
32781|     19|        }
32782|    347|        p->mark = _mark;
32783|    347|        D(fprintf(stderr, "%*c%s _tmp_70[%d-%d]: %s failed!\n", p->level, ' ',
32784|    347|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "setcomp"));
32785|    347|    }
32786|      0|    { // dict
32787|    347|        if (p->error_indicator) {
  ------------------
  |  Branch (32787:13): [True: 0, False: 347]
  ------------------
32788|      0|            p->level--;
32789|      0|            return NULL;
32790|      0|        }
32791|    347|        D(fprintf(stderr, "%*c> _tmp_70[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "dict"));
32792|    347|        expr_ty dict_var;
32793|    347|        if (
32794|    347|            (dict_var = dict_rule(p))  // dict
  ------------------
  |  Branch (32794:13): [True: 207, False: 140]
  ------------------
32795|    347|        )
32796|    207|        {
32797|    207|            D(fprintf(stderr, "%*c+ _tmp_70[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "dict"));
32798|    207|            _res = dict_var;
32799|    207|            goto done;
32800|    207|        }
32801|    140|        p->mark = _mark;
32802|    140|        D(fprintf(stderr, "%*c%s _tmp_70[%d-%d]: %s failed!\n", p->level, ' ',
32803|    140|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "dict"));
32804|    140|    }
32805|      0|    { // set
32806|    140|        if (p->error_indicator) {
  ------------------
  |  Branch (32806:13): [True: 0, False: 140]
  ------------------
32807|      0|            p->level--;
32808|      0|            return NULL;
32809|      0|        }
32810|    140|        D(fprintf(stderr, "%*c> _tmp_70[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "set"));
32811|    140|        expr_ty set_var;
32812|    140|        if (
32813|    140|            (set_var = set_rule(p))  // set
  ------------------
  |  Branch (32813:13): [True: 140, False: 0]
  ------------------
32814|    140|        )
32815|    140|        {
32816|    140|            D(fprintf(stderr, "%*c+ _tmp_70[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "set"));
32817|    140|            _res = set_var;
32818|    140|            goto done;
32819|    140|        }
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|    370|  done:
32826|    370|    p->level--;
32827|    370|    return _res;
32828|      0|}
parser.c:dictcomp_rule:
18485|    370|{
18486|    370|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    740|#  define MAXSTACK 6000
  ------------------
  |  Branch (18486:9): [True: 0, False: 370]
  |  Branch (18486:35): [True: 0, False: 370]
  ------------------
18487|      0|        _Pypegen_stack_overflow(p);
18488|      0|    }
18489|    370|    if (p->error_indicator) {
  ------------------
  |  Branch (18489:9): [True: 0, False: 370]
  ------------------
18490|      0|        p->level--;
18491|      0|        return NULL;
18492|      0|    }
18493|    370|    expr_ty _res = NULL;
18494|    370|    int _mark = p->mark;
18495|    370|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (18495:9): [True: 0, False: 370]
  |  Branch (18495:31): [True: 0, False: 0]
  ------------------
18496|      0|        p->error_indicator = 1;
18497|      0|        p->level--;
18498|      0|        return NULL;
18499|      0|    }
18500|    370|    int _start_lineno = p->tokens[_mark]->lineno;
18501|    370|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    370|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 370]
  |  |  ------------------
  ------------------
18502|    370|    int _start_col_offset = p->tokens[_mark]->col_offset;
18503|    370|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    370|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 370]
  |  |  ------------------
  ------------------
18504|    370|    { // '{' kvpair for_if_clauses '}'
18505|    370|        if (p->error_indicator) {
  ------------------
  |  Branch (18505:13): [True: 0, False: 370]
  ------------------
18506|      0|            p->level--;
18507|      0|            return NULL;
18508|      0|        }
18509|    370|        D(fprintf(stderr, "%*c> dictcomp[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' kvpair for_if_clauses '}'"));
18510|    370|        Token * _literal;
18511|    370|        Token * _literal_1;
18512|    370|        KeyValuePair* a;
18513|    370|        asdl_comprehension_seq* b;
18514|    370|        if (
18515|    370|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (18515:13): [True: 370, False: 0]
  ------------------
18516|    370|            &&
18517|    370|            (a = kvpair_rule(p))  // kvpair
  ------------------
  |  Branch (18517:13): [True: 96, False: 274]
  ------------------
18518|     96|            &&
18519|     96|            (b = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  Branch (18519:13): [True: 4, False: 92]
  ------------------
18520|      4|            &&
18521|      4|            (_literal_1 = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (18521:13): [True: 4, False: 0]
  ------------------
18522|    370|        )
18523|      4|        {
18524|      4|            D(fprintf(stderr, "%*c+ dictcomp[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' kvpair for_if_clauses '}'"));
18525|      4|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
18526|      4|            if (_token == NULL) {
  ------------------
  |  Branch (18526:17): [True: 0, False: 4]
  ------------------
18527|      0|                p->level--;
18528|      0|                return NULL;
18529|      0|            }
18530|      4|            int _end_lineno = _token->end_lineno;
18531|      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]
  |  |  ------------------
  ------------------
18532|      4|            int _end_col_offset = _token->end_col_offset;
18533|      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]
  |  |  ------------------
  ------------------
18534|      4|            _res = _PyAST_DictComp ( a -> key , a -> value , b , EXTRA );
  ------------------
  |  |  269|      4|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
18535|      4|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18535:18): [True: 0, False: 4]
  |  Branch (18535:34): [True: 0, False: 4]
  |  Branch (18535:57): [True: 0, False: 0]
  ------------------
18536|      0|                p->error_indicator = 1;
18537|      0|                p->level--;
18538|      0|                return NULL;
18539|      0|            }
18540|      4|            goto done;
18541|      4|        }
18542|    366|        p->mark = _mark;
18543|    366|        D(fprintf(stderr, "%*c%s dictcomp[%d-%d]: %s failed!\n", p->level, ' ',
18544|    366|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' kvpair for_if_clauses '}'"));
18545|    366|    }
18546|      0|    { // '{' '**' expression for_if_clauses '}'
18547|    366|        if (p->error_indicator) {
  ------------------
  |  Branch (18547:13): [True: 0, False: 366]
  ------------------
18548|      0|            p->level--;
18549|      0|            return NULL;
18550|      0|        }
18551|    366|        D(fprintf(stderr, "%*c> dictcomp[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' '**' expression for_if_clauses '}'"));
18552|    366|        Token * _literal;
18553|    366|        Token * _literal_1;
18554|    366|        Token * _literal_2;
18555|    366|        expr_ty a;
18556|    366|        asdl_comprehension_seq* b;
18557|    366|        if (
18558|    366|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (18558:13): [True: 366, False: 0]
  ------------------
18559|    366|            &&
18560|    366|            (_literal_1 = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (18560:13): [True: 0, False: 366]
  ------------------
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|    366|        )
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|    366|        p->mark = _mark;
18588|    366|        D(fprintf(stderr, "%*c%s dictcomp[%d-%d]: %s failed!\n", p->level, ' ',
18589|    366|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' '**' expression for_if_clauses '}'"));
18590|    366|    }
18591|    366|    _res = NULL;
18592|    370|  done:
18593|    370|    p->level--;
18594|    370|    return _res;
18595|    366|}
parser.c:kvpair_rule:
17974|  1.07k|{
17975|  1.07k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  2.15k|#  define MAXSTACK 6000
  ------------------
  |  Branch (17975:9): [True: 0, False: 1.07k]
  |  Branch (17975:35): [True: 0, False: 1.07k]
  ------------------
17976|      0|        _Pypegen_stack_overflow(p);
17977|      0|    }
17978|  1.07k|    if (p->error_indicator) {
  ------------------
  |  Branch (17978:9): [True: 0, False: 1.07k]
  ------------------
17979|      0|        p->level--;
17980|      0|        return NULL;
17981|      0|    }
17982|  1.07k|    KeyValuePair* _res = NULL;
17983|  1.07k|    int _mark = p->mark;
17984|  1.07k|    { // expression ':' expression
17985|  1.07k|        if (p->error_indicator) {
  ------------------
  |  Branch (17985:13): [True: 0, False: 1.07k]
  ------------------
17986|      0|            p->level--;
17987|      0|            return NULL;
17988|      0|        }
17989|  1.07k|        D(fprintf(stderr, "%*c> kvpair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression ':' expression"));
17990|  1.07k|        Token * _literal;
17991|  1.07k|        expr_ty a;
17992|  1.07k|        expr_ty b;
17993|  1.07k|        if (
17994|  1.07k|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (17994:13): [True: 799, False: 277]
  ------------------
17995|    799|            &&
17996|    799|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (17996:13): [True: 360, False: 439]
  ------------------
17997|    360|            &&
17998|    360|            (b = expression_rule(p))  // expression
  ------------------
  |  Branch (17998:13): [True: 360, False: 0]
  ------------------
17999|  1.07k|        )
18000|    360|        {
18001|    360|            D(fprintf(stderr, "%*c+ kvpair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression ':' expression"));
18002|    360|            _res = _PyPegen_key_value_pair ( p , a , b );
18003|    360|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18003:18): [True: 0, False: 360]
  |  Branch (18003:34): [True: 0, False: 360]
  |  Branch (18003:57): [True: 0, False: 0]
  ------------------
18004|      0|                p->error_indicator = 1;
18005|      0|                p->level--;
18006|      0|                return NULL;
18007|      0|            }
18008|    360|            goto done;
18009|    360|        }
18010|    716|        p->mark = _mark;
18011|    716|        D(fprintf(stderr, "%*c%s kvpair[%d-%d]: %s failed!\n", p->level, ' ',
18012|    716|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression ':' expression"));
18013|    716|    }
18014|    716|    _res = NULL;
18015|  1.07k|  done:
18016|  1.07k|    p->level--;
18017|  1.07k|    return _res;
18018|    716|}
parser.c:setcomp_rule:
18305|    366|{
18306|    366|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    732|#  define MAXSTACK 6000
  ------------------
  |  Branch (18306:9): [True: 0, False: 366]
  |  Branch (18306:35): [True: 0, False: 366]
  ------------------
18307|      0|        _Pypegen_stack_overflow(p);
18308|      0|    }
18309|    366|    if (p->error_indicator) {
  ------------------
  |  Branch (18309:9): [True: 0, False: 366]
  ------------------
18310|      0|        p->level--;
18311|      0|        return NULL;
18312|      0|    }
18313|    366|    expr_ty _res = NULL;
18314|    366|    int _mark = p->mark;
18315|    366|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (18315:9): [True: 0, False: 366]
  |  Branch (18315:31): [True: 0, False: 0]
  ------------------
18316|      0|        p->error_indicator = 1;
18317|      0|        p->level--;
18318|      0|        return NULL;
18319|      0|    }
18320|    366|    int _start_lineno = p->tokens[_mark]->lineno;
18321|    366|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    366|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 366]
  |  |  ------------------
  ------------------
18322|    366|    int _start_col_offset = p->tokens[_mark]->col_offset;
18323|    366|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    366|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 366]
  |  |  ------------------
  ------------------
18324|    366|    { // '{' star_named_expression for_if_clauses '}'
18325|    366|        if (p->error_indicator) {
  ------------------
  |  Branch (18325:13): [True: 0, False: 366]
  ------------------
18326|      0|            p->level--;
18327|      0|            return NULL;
18328|      0|        }
18329|    366|        D(fprintf(stderr, "%*c> setcomp[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' star_named_expression for_if_clauses '}'"));
18330|    366|        Token * _literal;
18331|    366|        Token * _literal_1;
18332|    366|        expr_ty a;
18333|    366|        asdl_comprehension_seq* b;
18334|    366|        if (
18335|    366|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (18335:13): [True: 366, False: 0]
  ------------------
18336|    366|            &&
18337|    366|            (a = star_named_expression_rule(p))  // star_named_expression
  ------------------
  |  Branch (18337:13): [True: 251, False: 115]
  ------------------
18338|    251|            &&
18339|    251|            (b = for_if_clauses_rule(p))  // for_if_clauses
  ------------------
  |  Branch (18339:13): [True: 19, False: 232]
  ------------------
18340|     19|            &&
18341|     19|            (_literal_1 = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (18341:13): [True: 19, False: 0]
  ------------------
18342|    366|        )
18343|     19|        {
18344|     19|            D(fprintf(stderr, "%*c+ setcomp[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' star_named_expression for_if_clauses '}'"));
18345|     19|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
18346|     19|            if (_token == NULL) {
  ------------------
  |  Branch (18346:17): [True: 0, False: 19]
  ------------------
18347|      0|                p->level--;
18348|      0|                return NULL;
18349|      0|            }
18350|     19|            int _end_lineno = _token->end_lineno;
18351|     19|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|     19|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 19]
  |  |  ------------------
  ------------------
18352|     19|            int _end_col_offset = _token->end_col_offset;
18353|     19|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|     19|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 19]
  |  |  ------------------
  ------------------
18354|     19|            _res = _PyAST_SetComp ( a , b , EXTRA );
  ------------------
  |  |  269|     19|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
18355|     19|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (18355:18): [True: 0, False: 19]
  |  Branch (18355:34): [True: 0, False: 19]
  |  Branch (18355:57): [True: 0, False: 0]
  ------------------
18356|      0|                p->error_indicator = 1;
18357|      0|                p->level--;
18358|      0|                return NULL;
18359|      0|            }
18360|     19|            goto done;
18361|     19|        }
18362|    347|        p->mark = _mark;
18363|    347|        D(fprintf(stderr, "%*c%s setcomp[%d-%d]: %s failed!\n", p->level, ' ',
18364|    347|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' star_named_expression for_if_clauses '}'"));
18365|    347|    }
18366|    347|    if (p->call_invalid_rules) { // invalid_comprehension
  ------------------
  |  Branch (18366:9): [True: 0, False: 347]
  ------------------
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|    347|    _res = NULL;
18386|    366|  done:
18387|    366|    p->level--;
18388|    366|    return _res;
18389|    347|}
parser.c:dict_rule:
17770|    347|{
17771|    347|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    694|#  define MAXSTACK 6000
  ------------------
  |  Branch (17771:9): [True: 0, False: 347]
  |  Branch (17771:35): [True: 0, False: 347]
  ------------------
17772|      0|        _Pypegen_stack_overflow(p);
17773|      0|    }
17774|    347|    if (p->error_indicator) {
  ------------------
  |  Branch (17774:9): [True: 0, False: 347]
  ------------------
17775|      0|        p->level--;
17776|      0|        return NULL;
17777|      0|    }
17778|    347|    expr_ty _res = NULL;
17779|    347|    int _mark = p->mark;
17780|    347|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (17780:9): [True: 0, False: 347]
  |  Branch (17780:31): [True: 0, False: 0]
  ------------------
17781|      0|        p->error_indicator = 1;
17782|      0|        p->level--;
17783|      0|        return NULL;
17784|      0|    }
17785|    347|    int _start_lineno = p->tokens[_mark]->lineno;
17786|    347|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    347|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 347]
  |  |  ------------------
  ------------------
17787|    347|    int _start_col_offset = p->tokens[_mark]->col_offset;
17788|    347|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    347|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 347]
  |  |  ------------------
  ------------------
17789|    347|    { // '{' double_starred_kvpairs? '}'
17790|    347|        if (p->error_indicator) {
  ------------------
  |  Branch (17790:13): [True: 0, False: 347]
  ------------------
17791|      0|            p->level--;
17792|      0|            return NULL;
17793|      0|        }
17794|    347|        D(fprintf(stderr, "%*c> dict[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' double_starred_kvpairs? '}'"));
17795|    347|        Token * _literal;
17796|    347|        Token * _literal_1;
17797|    347|        void *a;
17798|    347|        if (
17799|    347|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (17799:13): [True: 347, False: 0]
  ------------------
17800|    347|            &&
17801|    347|            (a = double_starred_kvpairs_rule(p), !p->error_indicator)  // double_starred_kvpairs?
  ------------------
  |  Branch (17801:13): [True: 347, False: 0]
  ------------------
17802|    347|            &&
17803|    347|            (_literal_1 = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (17803:13): [True: 207, False: 140]
  ------------------
17804|    347|        )
17805|    207|        {
17806|    207|            D(fprintf(stderr, "%*c+ dict[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' double_starred_kvpairs? '}'"));
17807|    207|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
17808|    207|            if (_token == NULL) {
  ------------------
  |  Branch (17808:17): [True: 0, False: 207]
  ------------------
17809|      0|                p->level--;
17810|      0|                return NULL;
17811|      0|            }
17812|    207|            int _end_lineno = _token->end_lineno;
17813|    207|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    207|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 207]
  |  |  ------------------
  ------------------
17814|    207|            int _end_col_offset = _token->end_col_offset;
17815|    207|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    207|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 207]
  |  |  ------------------
  ------------------
17816|    207|            _res = _PyAST_Dict ( CHECK ( asdl_expr_seq* , _PyPegen_get_keys ( p , a ) ) , CHECK ( asdl_expr_seq* , _PyPegen_get_values ( p , a ) ) , EXTRA );
  ------------------
  |  |  233|    207|#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|    207|#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|    207|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
17817|    207|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17817:18): [True: 0, False: 207]
  |  Branch (17817:34): [True: 0, False: 207]
  |  Branch (17817:57): [True: 0, False: 0]
  ------------------
17818|      0|                p->error_indicator = 1;
17819|      0|                p->level--;
17820|      0|                return NULL;
17821|      0|            }
17822|    207|            goto done;
17823|    207|        }
17824|    140|        p->mark = _mark;
17825|    140|        D(fprintf(stderr, "%*c%s dict[%d-%d]: %s failed!\n", p->level, ' ',
17826|    140|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' double_starred_kvpairs? '}'"));
17827|    140|    }
17828|      0|    { // '{' invalid_double_starred_kvpairs '}'
17829|    140|        if (p->error_indicator) {
  ------------------
  |  Branch (17829:13): [True: 0, False: 140]
  ------------------
17830|      0|            p->level--;
17831|      0|            return NULL;
17832|      0|        }
17833|    140|        D(fprintf(stderr, "%*c> dict[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' invalid_double_starred_kvpairs '}'"));
17834|    140|        Token * _literal;
17835|    140|        Token * _literal_1;
17836|    140|        void *invalid_double_starred_kvpairs_var;
17837|    140|        if (
17838|    140|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (17838:13): [True: 140, False: 0]
  ------------------
17839|    140|            &&
17840|    140|            (invalid_double_starred_kvpairs_var = invalid_double_starred_kvpairs_rule(p))  // invalid_double_starred_kvpairs
  ------------------
  |  Branch (17840:13): [True: 0, False: 140]
  ------------------
17841|      0|            &&
17842|      0|            (_literal_1 = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (17842:13): [True: 0, False: 0]
  ------------------
17843|    140|        )
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|    140|        p->mark = _mark;
17850|    140|        D(fprintf(stderr, "%*c%s dict[%d-%d]: %s failed!\n", p->level, ' ',
17851|    140|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'{' invalid_double_starred_kvpairs '}'"));
17852|    140|    }
17853|    140|    _res = NULL;
17854|    347|  done:
17855|    347|    p->level--;
17856|    347|    return _res;
17857|    140|}
parser.c:double_starred_kvpairs_rule:
17862|    347|{
17863|    347|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    694|#  define MAXSTACK 6000
  ------------------
  |  Branch (17863:9): [True: 0, False: 347]
  |  Branch (17863:35): [True: 0, False: 347]
  ------------------
17864|      0|        _Pypegen_stack_overflow(p);
17865|      0|    }
17866|    347|    if (p->error_indicator) {
  ------------------
  |  Branch (17866:9): [True: 0, False: 347]
  ------------------
17867|      0|        p->level--;
17868|      0|        return NULL;
17869|      0|    }
17870|    347|    asdl_seq* _res = NULL;
17871|    347|    int _mark = p->mark;
17872|    347|    { // ','.double_starred_kvpair+ ','?
17873|    347|        if (p->error_indicator) {
  ------------------
  |  Branch (17873:13): [True: 0, False: 347]
  ------------------
17874|      0|            p->level--;
17875|      0|            return NULL;
17876|      0|        }
17877|    347|        D(fprintf(stderr, "%*c> double_starred_kvpairs[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.double_starred_kvpair+ ','?"));
17878|    347|        void *_opt_var;
17879|    347|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  267|    347|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 347]
  |  |  ------------------
  ------------------
17880|    347|        asdl_seq * a;
17881|    347|        if (
17882|    347|            (a = _gather_86_rule(p))  // ','.double_starred_kvpair+
  ------------------
  |  Branch (17882:13): [True: 92, False: 255]
  ------------------
17883|     92|            &&
17884|     92|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (17884:13): [True: 92, False: 0]
  ------------------
17885|    347|        )
17886|     92|        {
17887|     92|            D(fprintf(stderr, "%*c+ double_starred_kvpairs[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.double_starred_kvpair+ ','?"));
17888|     92|            _res = a;
17889|     92|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17889:18): [True: 0, False: 92]
  |  Branch (17889:34): [True: 0, False: 92]
  |  Branch (17889:57): [True: 0, False: 0]
  ------------------
17890|      0|                p->error_indicator = 1;
17891|      0|                p->level--;
17892|      0|                return NULL;
17893|      0|            }
17894|     92|            goto done;
17895|     92|        }
17896|    255|        p->mark = _mark;
17897|    255|        D(fprintf(stderr, "%*c%s double_starred_kvpairs[%d-%d]: %s failed!\n", p->level, ' ',
17898|    255|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.double_starred_kvpair+ ','?"));
17899|    255|    }
17900|    255|    _res = NULL;
17901|    347|  done:
17902|    347|    p->level--;
17903|    347|    return _res;
17904|    255|}
parser.c:_gather_86_rule:
33844|    487|{
33845|    487|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    974|#  define MAXSTACK 6000
  ------------------
  |  Branch (33845:9): [True: 0, False: 487]
  |  Branch (33845:35): [True: 0, False: 487]
  ------------------
33846|      0|        _Pypegen_stack_overflow(p);
33847|      0|    }
33848|    487|    if (p->error_indicator) {
  ------------------
  |  Branch (33848:9): [True: 0, False: 487]
  ------------------
33849|      0|        p->level--;
33850|      0|        return NULL;
33851|      0|    }
33852|    487|    asdl_seq * _res = NULL;
33853|    487|    int _mark = p->mark;
33854|    487|    { // double_starred_kvpair _loop0_85
33855|    487|        if (p->error_indicator) {
  ------------------
  |  Branch (33855:13): [True: 0, False: 487]
  ------------------
33856|      0|            p->level--;
33857|      0|            return NULL;
33858|      0|        }
33859|    487|        D(fprintf(stderr, "%*c> _gather_86[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "double_starred_kvpair _loop0_85"));
33860|    487|        KeyValuePair* elem;
33861|    487|        asdl_seq * seq;
33862|    487|        if (
33863|    487|            (elem = double_starred_kvpair_rule(p))  // double_starred_kvpair
  ------------------
  |  Branch (33863:13): [True: 92, False: 395]
  ------------------
33864|     92|            &&
33865|     92|            (seq = _loop0_85_rule(p))  // _loop0_85
  ------------------
  |  Branch (33865:13): [True: 92, False: 0]
  ------------------
33866|    487|        )
33867|     92|        {
33868|     92|            D(fprintf(stderr, "%*c+ _gather_86[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "double_starred_kvpair _loop0_85"));
33869|     92|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
33870|     92|            goto done;
33871|     92|        }
33872|    395|        p->mark = _mark;
33873|    395|        D(fprintf(stderr, "%*c%s _gather_86[%d-%d]: %s failed!\n", p->level, ' ',
33874|    395|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "double_starred_kvpair _loop0_85"));
33875|    395|    }
33876|    395|    _res = NULL;
33877|    487|  done:
33878|    487|    p->level--;
33879|    487|    return _res;
33880|    395|}
parser.c:double_starred_kvpair_rule:
17909|    706|{
17910|    706|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.41k|#  define MAXSTACK 6000
  ------------------
  |  Branch (17910:9): [True: 0, False: 706]
  |  Branch (17910:35): [True: 0, False: 706]
  ------------------
17911|      0|        _Pypegen_stack_overflow(p);
17912|      0|    }
17913|    706|    if (p->error_indicator) {
  ------------------
  |  Branch (17913:9): [True: 0, False: 706]
  ------------------
17914|      0|        p->level--;
17915|      0|        return NULL;
17916|      0|    }
17917|    706|    KeyValuePair* _res = NULL;
17918|    706|    int _mark = p->mark;
17919|    706|    { // '**' bitwise_or
17920|    706|        if (p->error_indicator) {
  ------------------
  |  Branch (17920:13): [True: 0, False: 706]
  ------------------
17921|      0|            p->level--;
17922|      0|            return NULL;
17923|      0|        }
17924|    706|        D(fprintf(stderr, "%*c> double_starred_kvpair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' bitwise_or"));
17925|    706|        Token * _literal;
17926|    706|        expr_ty a;
17927|    706|        if (
17928|    706|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (17928:13): [True: 0, False: 706]
  ------------------
17929|      0|            &&
17930|      0|            (a = bitwise_or_rule(p))  // bitwise_or
  ------------------
  |  Branch (17930:13): [True: 0, False: 0]
  ------------------
17931|    706|        )
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|    706|        p->mark = _mark;
17943|    706|        D(fprintf(stderr, "%*c%s double_starred_kvpair[%d-%d]: %s failed!\n", p->level, ' ',
17944|    706|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' bitwise_or"));
17945|    706|    }
17946|      0|    { // kvpair
17947|    706|        if (p->error_indicator) {
  ------------------
  |  Branch (17947:13): [True: 0, False: 706]
  ------------------
17948|      0|            p->level--;
17949|      0|            return NULL;
17950|      0|        }
17951|    706|        D(fprintf(stderr, "%*c> double_starred_kvpair[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "kvpair"));
17952|    706|        KeyValuePair* kvpair_var;
17953|    706|        if (
17954|    706|            (kvpair_var = kvpair_rule(p))  // kvpair
  ------------------
  |  Branch (17954:13): [True: 264, False: 442]
  ------------------
17955|    706|        )
17956|    264|        {
17957|    264|            D(fprintf(stderr, "%*c+ double_starred_kvpair[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "kvpair"));
17958|    264|            _res = kvpair_var;
17959|    264|            goto done;
17960|    264|        }
17961|    442|        p->mark = _mark;
17962|    442|        D(fprintf(stderr, "%*c%s double_starred_kvpair[%d-%d]: %s failed!\n", p->level, ' ',
17963|    442|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "kvpair"));
17964|    442|    }
17965|    442|    _res = NULL;
17966|    706|  done:
17967|    706|    p->level--;
17968|    706|    return _res;
17969|    442|}
parser.c:_loop0_85_rule:
33768|     92|{
33769|     92|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    184|#  define MAXSTACK 6000
  ------------------
  |  Branch (33769:9): [True: 0, False: 92]
  |  Branch (33769:35): [True: 0, False: 92]
  ------------------
33770|      0|        _Pypegen_stack_overflow(p);
33771|      0|    }
33772|     92|    if (p->error_indicator) {
  ------------------
  |  Branch (33772:9): [True: 0, False: 92]
  ------------------
33773|      0|        p->level--;
33774|      0|        return NULL;
33775|      0|    }
33776|     92|    void *_res = NULL;
33777|     92|    int _mark = p->mark;
33778|     92|    void **_children = PyMem_Malloc(sizeof(void *));
33779|     92|    if (!_children) {
  ------------------
  |  Branch (33779:9): [True: 0, False: 92]
  ------------------
33780|      0|        p->error_indicator = 1;
33781|      0|        PyErr_NoMemory();
33782|      0|        p->level--;
33783|      0|        return NULL;
33784|      0|    }
33785|     92|    Py_ssize_t _children_capacity = 1;
33786|     92|    Py_ssize_t _n = 0;
33787|     92|    { // ',' double_starred_kvpair
33788|     92|        if (p->error_indicator) {
  ------------------
  |  Branch (33788:13): [True: 0, False: 92]
  ------------------
33789|      0|            p->level--;
33790|      0|            return NULL;
33791|      0|        }
33792|     92|        D(fprintf(stderr, "%*c> _loop0_85[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' double_starred_kvpair"));
33793|     92|        Token * _literal;
33794|     92|        KeyValuePair* elem;
33795|     92|        while (
33796|    264|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (33796:13): [True: 219, False: 45]
  ------------------
33797|    219|            &&
33798|    219|            (elem = double_starred_kvpair_rule(p))  // double_starred_kvpair
  ------------------
  |  Branch (33798:13): [True: 172, False: 47]
  ------------------
33799|     92|        )
33800|    172|        {
33801|    172|            _res = elem;
33802|    172|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (33802:18): [True: 0, False: 172]
  |  Branch (33802:34): [True: 0, False: 172]
  |  Branch (33802:57): [True: 0, False: 0]
  ------------------
33803|      0|                p->error_indicator = 1;
33804|      0|                PyMem_Free(_children);
33805|      0|                p->level--;
33806|      0|                return NULL;
33807|      0|            }
33808|    172|            if (_n == _children_capacity) {
  ------------------
  |  Branch (33808:17): [True: 83, False: 89]
  ------------------
33809|     83|                _children_capacity *= 2;
33810|     83|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
33811|     83|                if (!_new_children) {
  ------------------
  |  Branch (33811:21): [True: 0, False: 83]
  ------------------
33812|      0|                    PyMem_Free(_children);
33813|      0|                    p->error_indicator = 1;
33814|      0|                    PyErr_NoMemory();
33815|      0|                    p->level--;
33816|      0|                    return NULL;
33817|      0|                }
33818|     83|                _children = _new_children;
33819|     83|            }
33820|    172|            _children[_n++] = _res;
33821|    172|            _mark = p->mark;
33822|    172|        }
33823|     92|        p->mark = _mark;
33824|     92|        D(fprintf(stderr, "%*c%s _loop0_85[%d-%d]: %s failed!\n", p->level, ' ',
33825|     92|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' double_starred_kvpair"));
33826|     92|    }
33827|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
33828|     92|    if (!_seq) {
  ------------------
  |  Branch (33828:9): [True: 0, False: 92]
  ------------------
33829|      0|        PyMem_Free(_children);
33830|      0|        p->error_indicator = 1;
33831|      0|        PyErr_NoMemory();
33832|      0|        p->level--;
33833|      0|        return NULL;
33834|      0|    }
33835|    264|    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|    264|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (33835:28): [True: 172, False: 92]
  ------------------
33836|     92|    PyMem_Free(_children);
33837|     92|    p->level--;
33838|     92|    return _seq;
33839|     92|}
parser.c:invalid_double_starred_kvpairs_rule:
26722|    140|{
26723|    140|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    280|#  define MAXSTACK 6000
  ------------------
  |  Branch (26723:9): [True: 0, False: 140]
  |  Branch (26723:35): [True: 0, False: 140]
  ------------------
26724|      0|        _Pypegen_stack_overflow(p);
26725|      0|    }
26726|    140|    if (p->error_indicator) {
  ------------------
  |  Branch (26726:9): [True: 0, False: 140]
  ------------------
26727|      0|        p->level--;
26728|      0|        return NULL;
26729|      0|    }
26730|    140|    void * _res = NULL;
26731|    140|    int _mark = p->mark;
26732|    140|    { // invalid_kvpair_unpacking ','?
26733|    140|        if (p->error_indicator) {
  ------------------
  |  Branch (26733:13): [True: 0, False: 140]
  ------------------
26734|      0|            p->level--;
26735|      0|            return NULL;
26736|      0|        }
26737|    140|        D(fprintf(stderr, "%*c> invalid_double_starred_kvpairs[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_kvpair_unpacking ','?"));
26738|    140|        void *_opt_var;
26739|    140|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  267|    140|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 140]
  |  |  ------------------
  ------------------
26740|    140|        void *invalid_kvpair_unpacking_var;
26741|    140|        if (
26742|    140|            (invalid_kvpair_unpacking_var = invalid_kvpair_unpacking_rule(p))  // invalid_kvpair_unpacking
  ------------------
  |  Branch (26742:13): [True: 0, False: 140]
  ------------------
26743|      0|            &&
26744|      0|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (26744:13): [True: 0, False: 0]
  ------------------
26745|    140|        )
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|    140|        p->mark = _mark;
26752|    140|        D(fprintf(stderr, "%*c%s invalid_double_starred_kvpairs[%d-%d]: %s failed!\n", p->level, ' ',
26753|    140|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_kvpair_unpacking ','?"));
26754|    140|    }
26755|      0|    { // ','.double_starred_kvpair+ ',' (invalid_kvpair | invalid_kvpair_unpacking)
26756|    140|        if (p->error_indicator) {
  ------------------
  |  Branch (26756:13): [True: 0, False: 140]
  ------------------
26757|      0|            p->level--;
26758|      0|            return NULL;
26759|      0|        }
26760|    140|        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|    140|        asdl_seq * _gather_86_var;
26762|    140|        Token * _literal;
26763|    140|        void *_tmp_150_var;
26764|    140|        if (
26765|    140|            (_gather_86_var = _gather_86_rule(p))  // ','.double_starred_kvpair+
  ------------------
  |  Branch (26765:13): [True: 0, False: 140]
  ------------------
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|    140|        )
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|    140|        p->mark = _mark;
26777|    140|        D(fprintf(stderr, "%*c%s invalid_double_starred_kvpairs[%d-%d]: %s failed!\n", p->level, ' ',
26778|    140|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.double_starred_kvpair+ ',' (invalid_kvpair | invalid_kvpair_unpacking)"));
26779|    140|    }
26780|      0|    { // expression ':' &('}' | ',')
26781|    140|        if (p->error_indicator) {
  ------------------
  |  Branch (26781:13): [True: 0, False: 140]
  ------------------
26782|      0|            p->level--;
26783|      0|            return NULL;
26784|      0|        }
26785|    140|        D(fprintf(stderr, "%*c> invalid_double_starred_kvpairs[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression ':' &('}' | ',')"));
26786|    140|        Token * a;
26787|    140|        expr_ty expression_var;
26788|    140|        if (
26789|    140|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (26789:13): [True: 140, False: 0]
  ------------------
26790|    140|            &&
26791|    140|            (a = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (26791:13): [True: 0, False: 140]
  ------------------
26792|      0|            &&
26793|      0|            _PyPegen_lookahead(1, _tmp_151_rule, p)
  ------------------
  |  Branch (26793:13): [True: 0, False: 0]
  ------------------
26794|    140|        )
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|    140|        p->mark = _mark;
26806|    140|        D(fprintf(stderr, "%*c%s invalid_double_starred_kvpairs[%d-%d]: %s failed!\n", p->level, ' ',
26807|    140|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression ':' &('}' | ',')"));
26808|    140|    }
26809|    140|    _res = NULL;
26810|    140|  done:
26811|    140|    p->level--;
26812|    140|    return _res;
26813|    140|}
parser.c:invalid_kvpair_unpacking_rule:
26823|    140|{
26824|    140|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    280|#  define MAXSTACK 6000
  ------------------
  |  Branch (26824:9): [True: 0, False: 140]
  |  Branch (26824:35): [True: 0, False: 140]
  ------------------
26825|      0|        _Pypegen_stack_overflow(p);
26826|      0|    }
26827|    140|    if (p->error_indicator) {
  ------------------
  |  Branch (26827:9): [True: 0, False: 140]
  ------------------
26828|      0|        p->level--;
26829|      0|        return NULL;
26830|      0|    }
26831|    140|    void * _res = NULL;
26832|    140|    int _mark = p->mark;
26833|    140|    { // '**' if_expression
26834|    140|        if (p->error_indicator) {
  ------------------
  |  Branch (26834:13): [True: 0, False: 140]
  ------------------
26835|      0|            p->level--;
26836|      0|            return NULL;
26837|      0|        }
26838|    140|        D(fprintf(stderr, "%*c> invalid_kvpair_unpacking[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' if_expression"));
26839|    140|        Token * a;
26840|    140|        expr_ty b;
26841|    140|        if (
26842|    140|            (a = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (26842:13): [True: 0, False: 140]
  ------------------
26843|      0|            &&
26844|      0|            (b = if_expression_rule(p))  // if_expression
  ------------------
  |  Branch (26844:13): [True: 0, False: 0]
  ------------------
26845|    140|        )
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|    140|        p->mark = _mark;
26857|    140|        D(fprintf(stderr, "%*c%s invalid_kvpair_unpacking[%d-%d]: %s failed!\n", p->level, ' ',
26858|    140|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' if_expression"));
26859|    140|    }
26860|      0|    { // '*' bitwise_or ':' expression
26861|    140|        if (p->error_indicator) {
  ------------------
  |  Branch (26861:13): [True: 0, False: 140]
  ------------------
26862|      0|            p->level--;
26863|      0|            return NULL;
26864|      0|        }
26865|    140|        D(fprintf(stderr, "%*c> invalid_kvpair_unpacking[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' bitwise_or ':' expression"));
26866|    140|        Token * _literal;
26867|    140|        Token * a;
26868|    140|        expr_ty b;
26869|    140|        expr_ty expression_var;
26870|    140|        if (
26871|    140|            (a = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (26871:13): [True: 0, False: 140]
  ------------------
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|    140|        )
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|    140|        p->mark = _mark;
26890|    140|        D(fprintf(stderr, "%*c%s invalid_kvpair_unpacking[%d-%d]: %s failed!\n", p->level, ' ',
26891|    140|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' bitwise_or ':' expression"));
26892|    140|    }
26893|      0|    { // '**' bitwise_or ':' expression
26894|    140|        if (p->error_indicator) {
  ------------------
  |  Branch (26894:13): [True: 0, False: 140]
  ------------------
26895|      0|            p->level--;
26896|      0|            return NULL;
26897|      0|        }
26898|    140|        D(fprintf(stderr, "%*c> invalid_kvpair_unpacking[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' bitwise_or ':' expression"));
26899|    140|        Token * _literal;
26900|    140|        Token * a;
26901|    140|        expr_ty b;
26902|    140|        expr_ty expression_var;
26903|    140|        if (
26904|    140|            (a = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (26904:13): [True: 0, False: 140]
  ------------------
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|    140|        )
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|    140|        p->mark = _mark;
26923|    140|        D(fprintf(stderr, "%*c%s invalid_kvpair_unpacking[%d-%d]: %s failed!\n", p->level, ' ',
26924|    140|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' bitwise_or ':' expression"));
26925|    140|    }
26926|      0|    { // expression ':' '*' bitwise_or
26927|    140|        if (p->error_indicator) {
  ------------------
  |  Branch (26927:13): [True: 0, False: 140]
  ------------------
26928|      0|            p->level--;
26929|      0|            return NULL;
26930|      0|        }
26931|    140|        D(fprintf(stderr, "%*c> invalid_kvpair_unpacking[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression ':' '*' bitwise_or"));
26932|    140|        Token * _literal;
26933|    140|        Token * a;
26934|    140|        expr_ty b;
26935|    140|        expr_ty expression_var;
26936|    140|        if (
26937|    140|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (26937:13): [True: 140, False: 0]
  ------------------
26938|    140|            &&
26939|    140|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (26939:13): [True: 0, False: 140]
  ------------------
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|    140|        )
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|    140|        p->mark = _mark;
26956|    140|        D(fprintf(stderr, "%*c%s invalid_kvpair_unpacking[%d-%d]: %s failed!\n", p->level, ' ',
26957|    140|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression ':' '*' bitwise_or"));
26958|    140|    }
26959|      0|    { // expression ':' '**' bitwise_or
26960|    140|        if (p->error_indicator) {
  ------------------
  |  Branch (26960:13): [True: 0, False: 140]
  ------------------
26961|      0|            p->level--;
26962|      0|            return NULL;
26963|      0|        }
26964|    140|        D(fprintf(stderr, "%*c> invalid_kvpair_unpacking[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression ':' '**' bitwise_or"));
26965|    140|        Token * _literal;
26966|    140|        Token * a;
26967|    140|        expr_ty b;
26968|    140|        expr_ty expression_var;
26969|    140|        if (
26970|    140|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (26970:13): [True: 140, False: 0]
  ------------------
26971|    140|            &&
26972|    140|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (26972:13): [True: 0, False: 140]
  ------------------
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|    140|        )
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|    140|        p->mark = _mark;
26989|    140|        D(fprintf(stderr, "%*c%s invalid_kvpair_unpacking[%d-%d]: %s failed!\n", p->level, ' ',
26990|    140|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression ':' '**' bitwise_or"));
26991|    140|    }
26992|    140|    _res = NULL;
26993|    140|  done:
26994|    140|    p->level--;
26995|    140|    return _res;
26996|    140|}
parser.c:set_rule:
17703|    140|{
17704|    140|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    280|#  define MAXSTACK 6000
  ------------------
  |  Branch (17704:9): [True: 0, False: 140]
  |  Branch (17704:35): [True: 0, False: 140]
  ------------------
17705|      0|        _Pypegen_stack_overflow(p);
17706|      0|    }
17707|    140|    if (p->error_indicator) {
  ------------------
  |  Branch (17707:9): [True: 0, False: 140]
  ------------------
17708|      0|        p->level--;
17709|      0|        return NULL;
17710|      0|    }
17711|    140|    expr_ty _res = NULL;
17712|    140|    int _mark = p->mark;
17713|    140|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (17713:9): [True: 0, False: 140]
  |  Branch (17713:31): [True: 0, False: 0]
  ------------------
17714|      0|        p->error_indicator = 1;
17715|      0|        p->level--;
17716|      0|        return NULL;
17717|      0|    }
17718|    140|    int _start_lineno = p->tokens[_mark]->lineno;
17719|    140|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    140|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 140]
  |  |  ------------------
  ------------------
17720|    140|    int _start_col_offset = p->tokens[_mark]->col_offset;
17721|    140|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    140|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 140]
  |  |  ------------------
  ------------------
17722|    140|    { // '{' star_named_expressions_sequence '}'
17723|    140|        if (p->error_indicator) {
  ------------------
  |  Branch (17723:13): [True: 0, False: 140]
  ------------------
17724|      0|            p->level--;
17725|      0|            return NULL;
17726|      0|        }
17727|    140|        D(fprintf(stderr, "%*c> set[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'{' star_named_expressions_sequence '}'"));
17728|    140|        Token * _literal;
17729|    140|        Token * _literal_1;
17730|    140|        asdl_expr_seq* a;
17731|    140|        if (
17732|    140|            (_literal = _PyPegen_expect_token(p, 25))  // token='{'
  ------------------
  |  Branch (17732:13): [True: 140, False: 0]
  ------------------
17733|    140|            &&
17734|    140|            (a = star_named_expressions_sequence_rule(p))  // star_named_expressions_sequence
  ------------------
  |  Branch (17734:13): [True: 140, False: 0]
  ------------------
17735|    140|            &&
17736|    140|            (_literal_1 = _PyPegen_expect_token(p, 26))  // token='}'
  ------------------
  |  Branch (17736:13): [True: 140, False: 0]
  ------------------
17737|    140|        )
17738|    140|        {
17739|    140|            D(fprintf(stderr, "%*c+ set[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'{' star_named_expressions_sequence '}'"));
17740|    140|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
17741|    140|            if (_token == NULL) {
  ------------------
  |  Branch (17741:17): [True: 0, False: 140]
  ------------------
17742|      0|                p->level--;
17743|      0|                return NULL;
17744|      0|            }
17745|    140|            int _end_lineno = _token->end_lineno;
17746|    140|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    140|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 140]
  |  |  ------------------
  ------------------
17747|    140|            int _end_col_offset = _token->end_col_offset;
17748|    140|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    140|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 140]
  |  |  ------------------
  ------------------
17749|    140|            _res = _PyAST_Set ( a , EXTRA );
  ------------------
  |  |  269|    140|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
17750|    140|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (17750:18): [True: 0, False: 140]
  |  Branch (17750:34): [True: 0, False: 140]
  |  Branch (17750:57): [True: 0, False: 0]
  ------------------
17751|      0|                p->error_indicator = 1;
17752|      0|                p->level--;
17753|      0|                return NULL;
17754|      0|            }
17755|    140|            goto done;
17756|    140|        }
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|    140|  done:
17763|    140|    p->level--;
17764|    140|    return _res;
17765|      0|}
parser.c:invalid_factor_rule:
28345|  54.3k|{
28346|  54.3k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   108k|#  define MAXSTACK 6000
  ------------------
  |  Branch (28346:9): [True: 0, False: 54.3k]
  |  Branch (28346:35): [True: 0, False: 54.3k]
  ------------------
28347|      0|        _Pypegen_stack_overflow(p);
28348|      0|    }
28349|  54.3k|    if (p->error_indicator) {
  ------------------
  |  Branch (28349:9): [True: 0, False: 54.3k]
  ------------------
28350|      0|        p->level--;
28351|      0|        return NULL;
28352|      0|    }
28353|  54.3k|    void * _res = NULL;
28354|  54.3k|    int _mark = p->mark;
28355|  54.3k|    { // ('+' | '-' | '~') 'not' factor
28356|  54.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (28356:13): [True: 0, False: 54.3k]
  ------------------
28357|      0|            p->level--;
28358|      0|            return NULL;
28359|      0|        }
28360|  54.3k|        D(fprintf(stderr, "%*c> invalid_factor[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "('+' | '-' | '~') 'not' factor"));
28361|  54.3k|        void *_tmp_158_var;
28362|  54.3k|        Token * a;
28363|  54.3k|        expr_ty b;
28364|  54.3k|        if (
28365|  54.3k|            (_tmp_158_var = _tmp_158_rule(p))  // '+' | '-' | '~'
  ------------------
  |  Branch (28365:13): [True: 0, False: 54.3k]
  ------------------
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|  54.3k|        )
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|  54.3k|        p->mark = _mark;
28382|  54.3k|        D(fprintf(stderr, "%*c%s invalid_factor[%d-%d]: %s failed!\n", p->level, ' ',
28383|  54.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "('+' | '-' | '~') 'not' factor"));
28384|  54.3k|    }
28385|  54.3k|    _res = NULL;
28386|  54.3k|  done:
28387|  54.3k|    p->level--;
28388|  54.3k|    return _res;
28389|  54.3k|}
parser.c:_tmp_158_rule:
38214|  54.3k|{
38215|  54.3k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   108k|#  define MAXSTACK 6000
  ------------------
  |  Branch (38215:9): [True: 0, False: 54.3k]
  |  Branch (38215:35): [True: 0, False: 54.3k]
  ------------------
38216|      0|        _Pypegen_stack_overflow(p);
38217|      0|    }
38218|  54.3k|    if (p->error_indicator) {
  ------------------
  |  Branch (38218:9): [True: 0, False: 54.3k]
  ------------------
38219|      0|        p->level--;
38220|      0|        return NULL;
38221|      0|    }
38222|  54.3k|    void * _res = NULL;
38223|  54.3k|    int _mark = p->mark;
38224|  54.3k|    { // '+'
38225|  54.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (38225:13): [True: 0, False: 54.3k]
  ------------------
38226|      0|            p->level--;
38227|      0|            return NULL;
38228|      0|        }
38229|  54.3k|        D(fprintf(stderr, "%*c> _tmp_158[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'+'"));
38230|  54.3k|        Token * _literal;
38231|  54.3k|        if (
38232|  54.3k|            (_literal = _PyPegen_expect_token(p, 14))  // token='+'
  ------------------
  |  Branch (38232:13): [True: 0, False: 54.3k]
  ------------------
38233|  54.3k|        )
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|  54.3k|        p->mark = _mark;
38240|  54.3k|        D(fprintf(stderr, "%*c%s _tmp_158[%d-%d]: %s failed!\n", p->level, ' ',
38241|  54.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'+'"));
38242|  54.3k|    }
38243|      0|    { // '-'
38244|  54.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (38244:13): [True: 0, False: 54.3k]
  ------------------
38245|      0|            p->level--;
38246|      0|            return NULL;
38247|      0|        }
38248|  54.3k|        D(fprintf(stderr, "%*c> _tmp_158[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'-'"));
38249|  54.3k|        Token * _literal;
38250|  54.3k|        if (
38251|  54.3k|            (_literal = _PyPegen_expect_token(p, 15))  // token='-'
  ------------------
  |  Branch (38251:13): [True: 0, False: 54.3k]
  ------------------
38252|  54.3k|        )
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|  54.3k|        p->mark = _mark;
38259|  54.3k|        D(fprintf(stderr, "%*c%s _tmp_158[%d-%d]: %s failed!\n", p->level, ' ',
38260|  54.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'-'"));
38261|  54.3k|    }
38262|      0|    { // '~'
38263|  54.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (38263:13): [True: 0, False: 54.3k]
  ------------------
38264|      0|            p->level--;
38265|      0|            return NULL;
38266|      0|        }
38267|  54.3k|        D(fprintf(stderr, "%*c> _tmp_158[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'~'"));
38268|  54.3k|        Token * _literal;
38269|  54.3k|        if (
38270|  54.3k|            (_literal = _PyPegen_expect_token(p, 31))  // token='~'
  ------------------
  |  Branch (38270:13): [True: 0, False: 54.3k]
  ------------------
38271|  54.3k|        )
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|  54.3k|        p->mark = _mark;
38278|  54.3k|        D(fprintf(stderr, "%*c%s _tmp_158[%d-%d]: %s failed!\n", p->level, ' ',
38279|  54.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'~'"));
38280|  54.3k|    }
38281|  54.3k|    _res = NULL;
38282|  54.3k|  done:
38283|  54.3k|    p->level--;
38284|  54.3k|    return _res;
38285|  54.3k|}
parser.c:invalid_arithmetic_rule:
28293|  54.3k|{
28294|  54.3k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   108k|#  define MAXSTACK 6000
  ------------------
  |  Branch (28294:9): [True: 0, False: 54.3k]
  |  Branch (28294:35): [True: 0, False: 54.3k]
  ------------------
28295|      0|        _Pypegen_stack_overflow(p);
28296|      0|    }
28297|  54.3k|    if (p->error_indicator) {
  ------------------
  |  Branch (28297:9): [True: 0, False: 54.3k]
  ------------------
28298|      0|        p->level--;
28299|      0|        return NULL;
28300|      0|    }
28301|  54.3k|    void * _res = NULL;
28302|  54.3k|    int _mark = p->mark;
28303|  54.3k|    { // sum ('+' | '-' | '*' | '/' | '%' | '//' | '@') 'not' inversion
28304|  54.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (28304:13): [True: 0, False: 54.3k]
  ------------------
28305|      0|            p->level--;
28306|      0|            return NULL;
28307|      0|        }
28308|  54.3k|        D(fprintf(stderr, "%*c> invalid_arithmetic[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "sum ('+' | '-' | '*' | '/' | '%' | '//' | '@') 'not' inversion"));
28309|  54.3k|        void *_tmp_157_var;
28310|  54.3k|        Token * a;
28311|  54.3k|        expr_ty b;
28312|  54.3k|        expr_ty sum_var;
28313|  54.3k|        if (
28314|  54.3k|            (sum_var = sum_rule(p))  // sum
  ------------------
  |  Branch (28314:13): [True: 0, False: 54.3k]
  ------------------
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|  54.3k|        )
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|  54.3k|        p->mark = _mark;
28333|  54.3k|        D(fprintf(stderr, "%*c%s invalid_arithmetic[%d-%d]: %s failed!\n", p->level, ' ',
28334|  54.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "sum ('+' | '-' | '*' | '/' | '%' | '//' | '@') 'not' inversion"));
28335|  54.3k|    }
28336|  54.3k|    _res = NULL;
28337|  54.3k|  done:
28338|  54.3k|    p->level--;
28339|  54.3k|    return _res;
28340|  54.3k|}
parser.c:_tmp_120_rule:
35844|  27.1k|{
35845|  27.1k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  54.3k|#  define MAXSTACK 6000
  ------------------
  |  Branch (35845:9): [True: 0, False: 27.1k]
  |  Branch (35845:35): [True: 0, False: 27.1k]
  ------------------
35846|      0|        _Pypegen_stack_overflow(p);
35847|      0|    }
35848|  27.1k|    if (p->error_indicator) {
  ------------------
  |  Branch (35848:9): [True: 0, False: 27.1k]
  ------------------
35849|      0|        p->level--;
35850|      0|        return NULL;
35851|      0|    }
35852|  27.1k|    void * _res = NULL;
35853|  27.1k|    int _mark = p->mark;
35854|  27.1k|    { // list
35855|  27.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (35855:13): [True: 0, False: 27.1k]
  ------------------
35856|      0|            p->level--;
35857|      0|            return NULL;
35858|      0|        }
35859|  27.1k|        D(fprintf(stderr, "%*c> _tmp_120[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "list"));
35860|  27.1k|        expr_ty list_var;
35861|  27.1k|        if (
35862|  27.1k|            (list_var = list_rule(p))  // list
  ------------------
  |  Branch (35862:13): [True: 0, False: 27.1k]
  ------------------
35863|  27.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|  27.1k|        p->mark = _mark;
35870|  27.1k|        D(fprintf(stderr, "%*c%s _tmp_120[%d-%d]: %s failed!\n", p->level, ' ',
35871|  27.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "list"));
35872|  27.1k|    }
35873|      0|    { // tuple
35874|  27.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (35874:13): [True: 0, False: 27.1k]
  ------------------
35875|      0|            p->level--;
35876|      0|            return NULL;
35877|      0|        }
35878|  27.1k|        D(fprintf(stderr, "%*c> _tmp_120[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "tuple"));
35879|  27.1k|        expr_ty tuple_var;
35880|  27.1k|        if (
35881|  27.1k|            (tuple_var = tuple_rule(p))  // tuple
  ------------------
  |  Branch (35881:13): [True: 0, False: 27.1k]
  ------------------
35882|  27.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|  27.1k|        p->mark = _mark;
35889|  27.1k|        D(fprintf(stderr, "%*c%s _tmp_120[%d-%d]: %s failed!\n", p->level, ' ',
35890|  27.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "tuple"));
35891|  27.1k|    }
35892|      0|    { // genexp
35893|  27.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (35893:13): [True: 0, False: 27.1k]
  ------------------
35894|      0|            p->level--;
35895|      0|            return NULL;
35896|      0|        }
35897|  27.1k|        D(fprintf(stderr, "%*c> _tmp_120[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "genexp"));
35898|  27.1k|        expr_ty genexp_var;
35899|  27.1k|        if (
35900|  27.1k|            (genexp_var = genexp_rule(p))  // genexp
  ------------------
  |  Branch (35900:13): [True: 0, False: 27.1k]
  ------------------
35901|  27.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|  27.1k|        p->mark = _mark;
35908|  27.1k|        D(fprintf(stderr, "%*c%s _tmp_120[%d-%d]: %s failed!\n", p->level, ' ',
35909|  27.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "genexp"));
35910|  27.1k|    }
35911|      0|    { // 'True'
35912|  27.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (35912:13): [True: 0, False: 27.1k]
  ------------------
35913|      0|            p->level--;
35914|      0|            return NULL;
35915|      0|        }
35916|  27.1k|        D(fprintf(stderr, "%*c> _tmp_120[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'True'"));
35917|  27.1k|        Token * _keyword;
35918|  27.1k|        if (
35919|  27.1k|            (_keyword = _PyPegen_expect_token(p, 627))  // token='True'
  ------------------
  |  Branch (35919:13): [True: 0, False: 27.1k]
  ------------------
35920|  27.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|  27.1k|        p->mark = _mark;
35927|  27.1k|        D(fprintf(stderr, "%*c%s _tmp_120[%d-%d]: %s failed!\n", p->level, ' ',
35928|  27.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'True'"));
35929|  27.1k|    }
35930|      0|    { // 'None'
35931|  27.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (35931:13): [True: 0, False: 27.1k]
  ------------------
35932|      0|            p->level--;
35933|      0|            return NULL;
35934|      0|        }
35935|  27.1k|        D(fprintf(stderr, "%*c> _tmp_120[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'None'"));
35936|  27.1k|        Token * _keyword;
35937|  27.1k|        if (
35938|  27.1k|            (_keyword = _PyPegen_expect_token(p, 628))  // token='None'
  ------------------
  |  Branch (35938:13): [True: 0, False: 27.1k]
  ------------------
35939|  27.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|  27.1k|        p->mark = _mark;
35946|  27.1k|        D(fprintf(stderr, "%*c%s _tmp_120[%d-%d]: %s failed!\n", p->level, ' ',
35947|  27.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'None'"));
35948|  27.1k|    }
35949|      0|    { // 'False'
35950|  27.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (35950:13): [True: 0, False: 27.1k]
  ------------------
35951|      0|            p->level--;
35952|      0|            return NULL;
35953|      0|        }
35954|  27.1k|        D(fprintf(stderr, "%*c> _tmp_120[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'False'"));
35955|  27.1k|        Token * _keyword;
35956|  27.1k|        if (
35957|  27.1k|            (_keyword = _PyPegen_expect_token(p, 629))  // token='False'
  ------------------
  |  Branch (35957:13): [True: 0, False: 27.1k]
  ------------------
35958|  27.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|  27.1k|        p->mark = _mark;
35965|  27.1k|        D(fprintf(stderr, "%*c%s _tmp_120[%d-%d]: %s failed!\n", p->level, ' ',
35966|  27.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'False'"));
35967|  27.1k|    }
35968|  27.1k|    _res = NULL;
35969|  27.1k|  done:
35970|  27.1k|    p->level--;
35971|  27.1k|    return _res;
35972|  27.1k|}
parser.c:expression_rule:
11560|   248k|{
11561|   248k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   497k|#  define MAXSTACK 6000
  ------------------
  |  Branch (11561:9): [True: 0, False: 248k]
  |  Branch (11561:35): [True: 0, False: 248k]
  ------------------
11562|      0|        _Pypegen_stack_overflow(p);
11563|      0|    }
11564|   248k|    if (p->error_indicator) {
  ------------------
  |  Branch (11564:9): [True: 0, False: 248k]
  ------------------
11565|      0|        p->level--;
11566|      0|        return NULL;
11567|      0|    }
11568|   248k|    expr_ty _res = NULL;
11569|   248k|    if (_PyPegen_is_memoized(p, expression_type, &_res)) {
  ------------------
  |  |  198|   248k|#define expression_type 1109
  ------------------
  |  Branch (11569:9): [True: 105k, False: 143k]
  ------------------
11570|   105k|        p->level--;
11571|   105k|        return _res;
11572|   105k|    }
11573|   143k|    int _mark = p->mark;
11574|   143k|    if (p->call_invalid_rules) { // invalid_if_expression
  ------------------
  |  Branch (11574:9): [True: 54.3k, False: 89.3k]
  ------------------
11575|  54.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (11575:13): [True: 0, False: 54.3k]
  ------------------
11576|      0|            p->level--;
11577|      0|            return NULL;
11578|      0|        }
11579|  54.3k|        D(fprintf(stderr, "%*c> expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_if_expression"));
11580|  54.3k|        void *invalid_if_expression_var;
11581|  54.3k|        if (
11582|  54.3k|            (invalid_if_expression_var = invalid_if_expression_rule(p))  // invalid_if_expression
  ------------------
  |  Branch (11582:13): [True: 0, False: 54.3k]
  ------------------
11583|  54.3k|        )
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|  54.3k|        p->mark = _mark;
11590|  54.3k|        D(fprintf(stderr, "%*c%s expression[%d-%d]: %s failed!\n", p->level, ' ',
11591|  54.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_if_expression"));
11592|  54.3k|    }
11593|   143k|    if (p->call_invalid_rules) { // invalid_expression
  ------------------
  |  Branch (11593:9): [True: 54.3k, False: 89.3k]
  ------------------
11594|  54.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (11594:13): [True: 0, False: 54.3k]
  ------------------
11595|      0|            p->level--;
11596|      0|            return NULL;
11597|      0|        }
11598|  54.3k|        D(fprintf(stderr, "%*c> expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_expression"));
11599|  54.3k|        void *invalid_expression_var;
11600|  54.3k|        if (
11601|  54.3k|            (invalid_expression_var = invalid_expression_rule(p))  // invalid_expression
  ------------------
  |  Branch (11601:13): [True: 0, False: 54.3k]
  ------------------
11602|  54.3k|        )
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|  54.3k|        p->mark = _mark;
11609|  54.3k|        D(fprintf(stderr, "%*c%s expression[%d-%d]: %s failed!\n", p->level, ' ',
11610|  54.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_expression"));
11611|  54.3k|    }
11612|   143k|    if (p->call_invalid_rules) { // invalid_legacy_expression
  ------------------
  |  Branch (11612:9): [True: 54.3k, False: 89.3k]
  ------------------
11613|  54.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (11613:13): [True: 0, False: 54.3k]
  ------------------
11614|      0|            p->level--;
11615|      0|            return NULL;
11616|      0|        }
11617|  54.3k|        D(fprintf(stderr, "%*c> expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_legacy_expression"));
11618|  54.3k|        void *invalid_legacy_expression_var;
11619|  54.3k|        if (
11620|  54.3k|            (invalid_legacy_expression_var = invalid_legacy_expression_rule(p))  // invalid_legacy_expression
  ------------------
  |  Branch (11620:13): [True: 0, False: 54.3k]
  ------------------
11621|  54.3k|        )
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|  54.3k|        p->mark = _mark;
11628|  54.3k|        D(fprintf(stderr, "%*c%s expression[%d-%d]: %s failed!\n", p->level, ' ',
11629|  54.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_legacy_expression"));
11630|  54.3k|    }
11631|   143k|    { // if_expression
11632|   143k|        if (p->error_indicator) {
  ------------------
  |  Branch (11632:13): [True: 0, False: 143k]
  ------------------
11633|      0|            p->level--;
11634|      0|            return NULL;
11635|      0|        }
11636|   143k|        D(fprintf(stderr, "%*c> expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "if_expression"));
11637|   143k|        expr_ty if_expression_var;
11638|   143k|        if (
11639|   143k|            (if_expression_var = if_expression_rule(p))  // if_expression
  ------------------
  |  Branch (11639:13): [True: 48, False: 143k]
  ------------------
11640|   143k|        )
11641|     48|        {
11642|     48|            D(fprintf(stderr, "%*c+ expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "if_expression"));
11643|     48|            _res = if_expression_var;
11644|     48|            goto done;
11645|     48|        }
11646|   143k|        p->mark = _mark;
11647|   143k|        D(fprintf(stderr, "%*c%s expression[%d-%d]: %s failed!\n", p->level, ' ',
11648|   143k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "if_expression"));
11649|   143k|    }
11650|      0|    { // disjunction
11651|   143k|        if (p->error_indicator) {
  ------------------
  |  Branch (11651:13): [True: 0, False: 143k]
  ------------------
11652|      0|            p->level--;
11653|      0|            return NULL;
11654|      0|        }
11655|   143k|        D(fprintf(stderr, "%*c> expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "disjunction"));
11656|   143k|        expr_ty disjunction_var;
11657|   143k|        if (
11658|   143k|            (disjunction_var = disjunction_rule(p))  // disjunction
  ------------------
  |  Branch (11658:13): [True: 24.5k, False: 119k]
  ------------------
11659|   143k|        )
11660|  24.5k|        {
11661|  24.5k|            D(fprintf(stderr, "%*c+ expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "disjunction"));
11662|  24.5k|            _res = disjunction_var;
11663|  24.5k|            goto done;
11664|  24.5k|        }
11665|   119k|        p->mark = _mark;
11666|   119k|        D(fprintf(stderr, "%*c%s expression[%d-%d]: %s failed!\n", p->level, ' ',
11667|   119k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "disjunction"));
11668|   119k|    }
11669|      0|    { // lambdef
11670|   119k|        if (p->error_indicator) {
  ------------------
  |  Branch (11670:13): [True: 0, False: 119k]
  ------------------
11671|      0|            p->level--;
11672|      0|            return NULL;
11673|      0|        }
11674|   119k|        D(fprintf(stderr, "%*c> expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambdef"));
11675|   119k|        expr_ty lambdef_var;
11676|   119k|        if (
11677|   119k|            (lambdef_var = lambdef_rule(p))  // lambdef
  ------------------
  |  Branch (11677:13): [True: 87, False: 119k]
  ------------------
11678|   119k|        )
11679|     87|        {
11680|     87|            D(fprintf(stderr, "%*c+ expression[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambdef"));
11681|     87|            _res = lambdef_var;
11682|     87|            goto done;
11683|     87|        }
11684|   119k|        p->mark = _mark;
11685|   119k|        D(fprintf(stderr, "%*c%s expression[%d-%d]: %s failed!\n", p->level, ' ',
11686|   119k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambdef"));
11687|   119k|    }
11688|   119k|    _res = NULL;
11689|   143k|  done:
11690|   143k|    _PyPegen_insert_memo(p, _mark, expression_type, _res);
  ------------------
  |  |  198|   143k|#define expression_type 1109
  ------------------
11691|   143k|    p->level--;
11692|   143k|    return _res;
11693|   119k|}
parser.c:invalid_if_expression_rule:
21942|  54.3k|{
21943|  54.3k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   108k|#  define MAXSTACK 6000
  ------------------
  |  Branch (21943:9): [True: 0, False: 54.3k]
  |  Branch (21943:35): [True: 0, False: 54.3k]
  ------------------
21944|      0|        _Pypegen_stack_overflow(p);
21945|      0|    }
21946|  54.3k|    if (p->error_indicator) {
  ------------------
  |  Branch (21946:9): [True: 0, False: 54.3k]
  ------------------
21947|      0|        p->level--;
21948|      0|        return NULL;
21949|      0|    }
21950|  54.3k|    void * _res = NULL;
21951|  54.3k|    int _mark = p->mark;
21952|  54.3k|    { // disjunction 'if' disjunction 'else' '*'
21953|  54.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (21953:13): [True: 0, False: 54.3k]
  ------------------
21954|      0|            p->level--;
21955|      0|            return NULL;
21956|      0|        }
21957|  54.3k|        D(fprintf(stderr, "%*c> invalid_if_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction 'else' '*'"));
21958|  54.3k|        Token * _keyword;
21959|  54.3k|        Token * _keyword_1;
21960|  54.3k|        Token * a;
21961|  54.3k|        expr_ty b;
21962|  54.3k|        expr_ty disjunction_var;
21963|  54.3k|        if (
21964|  54.3k|            (disjunction_var = disjunction_rule(p))  // disjunction
  ------------------
  |  Branch (21964:13): [True: 0, False: 54.3k]
  ------------------
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|  54.3k|        )
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|  54.3k|        p->mark = _mark;
21985|  54.3k|        D(fprintf(stderr, "%*c%s invalid_if_expression[%d-%d]: %s failed!\n", p->level, ' ',
21986|  54.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "disjunction 'if' disjunction 'else' '*'"));
21987|  54.3k|    }
21988|      0|    { // disjunction 'if' disjunction 'else' '**'
21989|  54.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (21989:13): [True: 0, False: 54.3k]
  ------------------
21990|      0|            p->level--;
21991|      0|            return NULL;
21992|      0|        }
21993|  54.3k|        D(fprintf(stderr, "%*c> invalid_if_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction 'else' '**'"));
21994|  54.3k|        Token * _keyword;
21995|  54.3k|        Token * _keyword_1;
21996|  54.3k|        Token * a;
21997|  54.3k|        expr_ty b;
21998|  54.3k|        expr_ty disjunction_var;
21999|  54.3k|        if (
22000|  54.3k|            (disjunction_var = disjunction_rule(p))  // disjunction
  ------------------
  |  Branch (22000:13): [True: 0, False: 54.3k]
  ------------------
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|  54.3k|        )
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|  54.3k|        p->mark = _mark;
22021|  54.3k|        D(fprintf(stderr, "%*c%s invalid_if_expression[%d-%d]: %s failed!\n", p->level, ' ',
22022|  54.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "disjunction 'if' disjunction 'else' '**'"));
22023|  54.3k|    }
22024|  54.3k|    _res = NULL;
22025|  54.3k|  done:
22026|  54.3k|    p->level--;
22027|  54.3k|    return _res;
22028|  54.3k|}
parser.c:invalid_expression_rule:
21693|  54.3k|{
21694|  54.3k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   108k|#  define MAXSTACK 6000
  ------------------
  |  Branch (21694:9): [True: 0, False: 54.3k]
  |  Branch (21694:35): [True: 0, False: 54.3k]
  ------------------
21695|      0|        _Pypegen_stack_overflow(p);
21696|      0|    }
21697|  54.3k|    if (p->error_indicator) {
  ------------------
  |  Branch (21697:9): [True: 0, False: 54.3k]
  ------------------
21698|      0|        p->level--;
21699|      0|        return NULL;
21700|      0|    }
21701|  54.3k|    void * _res = NULL;
21702|  54.3k|    int _mark = p->mark;
21703|  54.3k|    { // STRING ((!STRING expression_without_invalid))+ STRING
21704|  54.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (21704:13): [True: 0, False: 54.3k]
  ------------------
21705|      0|            p->level--;
21706|      0|            return NULL;
21707|      0|        }
21708|  54.3k|        D(fprintf(stderr, "%*c> invalid_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "STRING ((!STRING expression_without_invalid))+ STRING"));
21709|  54.3k|        asdl_seq * a;
21710|  54.3k|        expr_ty string_var;
21711|  54.3k|        expr_ty string_var_1;
21712|  54.3k|        if (
21713|  54.3k|            (string_var = _PyPegen_string_token(p))  // STRING
  ------------------
  |  Branch (21713:13): [True: 0, False: 54.3k]
  ------------------
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|  54.3k|        )
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|  54.3k|        p->mark = _mark;
21730|  54.3k|        D(fprintf(stderr, "%*c%s invalid_expression[%d-%d]: %s failed!\n", p->level, ' ',
21731|  54.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "STRING ((!STRING expression_without_invalid))+ STRING"));
21732|  54.3k|    }
21733|      0|    { // !(NAME STRING | SOFT_KEYWORD) disjunction expression_without_invalid
21734|  54.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (21734:13): [True: 0, False: 54.3k]
  ------------------
21735|      0|            p->level--;
21736|      0|            return NULL;
21737|      0|        }
21738|  54.3k|        D(fprintf(stderr, "%*c> invalid_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "!(NAME STRING | SOFT_KEYWORD) disjunction expression_without_invalid"));
21739|  54.3k|        expr_ty a;
21740|  54.3k|        expr_ty b;
21741|  54.3k|        if (
21742|  54.3k|            _PyPegen_lookahead(0, _tmp_116_rule, p)
  ------------------
  |  Branch (21742:13): [True: 54.3k, False: 0]
  ------------------
21743|  54.3k|            &&
21744|  54.3k|            (a = disjunction_rule(p))  // disjunction
  ------------------
  |  Branch (21744:13): [True: 0, False: 54.3k]
  ------------------
21745|      0|            &&
21746|      0|            (b = expression_without_invalid_rule(p))  // expression_without_invalid
  ------------------
  |  Branch (21746:13): [True: 0, False: 0]
  ------------------
21747|  54.3k|        )
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|  54.3k|        p->mark = _mark;
21759|  54.3k|        D(fprintf(stderr, "%*c%s invalid_expression[%d-%d]: %s failed!\n", p->level, ' ',
21760|  54.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "!(NAME STRING | SOFT_KEYWORD) disjunction expression_without_invalid"));
21761|  54.3k|    }
21762|      0|    { // disjunction 'if' disjunction !('else' | ':')
21763|  54.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (21763:13): [True: 0, False: 54.3k]
  ------------------
21764|      0|            p->level--;
21765|      0|            return NULL;
21766|      0|        }
21767|  54.3k|        D(fprintf(stderr, "%*c> invalid_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction !('else' | ':')"));
21768|  54.3k|        Token * _keyword;
21769|  54.3k|        expr_ty a;
21770|  54.3k|        expr_ty b;
21771|  54.3k|        if (
21772|  54.3k|            (a = disjunction_rule(p))  // disjunction
  ------------------
  |  Branch (21772:13): [True: 0, False: 54.3k]
  ------------------
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|  54.3k|        )
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|  54.3k|        p->mark = _mark;
21791|  54.3k|        D(fprintf(stderr, "%*c%s invalid_expression[%d-%d]: %s failed!\n", p->level, ' ',
21792|  54.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "disjunction 'if' disjunction !('else' | ':')"));
21793|  54.3k|    }
21794|      0|    { // disjunction 'if' disjunction 'else' !expression
21795|  54.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (21795:13): [True: 0, False: 54.3k]
  ------------------
21796|      0|            p->level--;
21797|      0|            return NULL;
21798|      0|        }
21799|  54.3k|        D(fprintf(stderr, "%*c> invalid_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "disjunction 'if' disjunction 'else' !expression"));
21800|  54.3k|        Token * _keyword;
21801|  54.3k|        Token * _keyword_1;
21802|  54.3k|        expr_ty a;
21803|  54.3k|        expr_ty b;
21804|  54.3k|        if (
21805|  54.3k|            (a = disjunction_rule(p))  // disjunction
  ------------------
  |  Branch (21805:13): [True: 0, False: 54.3k]
  ------------------
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|  54.3k|        )
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|  54.3k|        p->mark = _mark;
21826|  54.3k|        D(fprintf(stderr, "%*c%s invalid_expression[%d-%d]: %s failed!\n", p->level, ' ',
21827|  54.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "disjunction 'if' disjunction 'else' !expression"));
21828|  54.3k|    }
21829|      0|    { // (pass_stmt | break_stmt | continue_stmt) 'if' disjunction 'else' simple_stmt
21830|  54.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (21830:13): [True: 0, False: 54.3k]
  ------------------
21831|      0|            p->level--;
21832|      0|            return NULL;
21833|      0|        }
21834|  54.3k|        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|  54.3k|        Token * _keyword;
21836|  54.3k|        Token * _keyword_1;
21837|  54.3k|        stmt_ty a;
21838|  54.3k|        expr_ty b;
21839|  54.3k|        stmt_ty c;
21840|  54.3k|        if (
21841|  54.3k|            (a = (stmt_ty)_tmp_118_rule(p))  // pass_stmt | break_stmt | continue_stmt
  ------------------
  |  Branch (21841:13): [True: 0, False: 54.3k]
  ------------------
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|  54.3k|        )
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|  54.3k|        p->mark = _mark;
21862|  54.3k|        D(fprintf(stderr, "%*c%s invalid_expression[%d-%d]: %s failed!\n", p->level, ' ',
21863|  54.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(pass_stmt | break_stmt | continue_stmt) 'if' disjunction 'else' simple_stmt"));
21864|  54.3k|    }
21865|      0|    { // 'lambda' lambda_params? ':' &FSTRING_MIDDLE
21866|  54.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (21866:13): [True: 0, False: 54.3k]
  ------------------
21867|      0|            p->level--;
21868|      0|            return NULL;
21869|      0|        }
21870|  54.3k|        D(fprintf(stderr, "%*c> invalid_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'lambda' lambda_params? ':' &FSTRING_MIDDLE"));
21871|  54.3k|        void *_opt_var;
21872|  54.3k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  267|  54.3k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 54.3k]
  |  |  ------------------
  ------------------
21873|  54.3k|        Token * a;
21874|  54.3k|        Token * b;
21875|  54.3k|        if (
21876|  54.3k|            (a = _PyPegen_expect_token(p, 622))  // token='lambda'
  ------------------
  |  Branch (21876:13): [True: 27.1k, False: 27.1k]
  ------------------
21877|  27.1k|            &&
21878|  27.1k|            (_opt_var = lambda_params_rule(p), !p->error_indicator)  // lambda_params?
  ------------------
  |  Branch (21878:13): [True: 27.1k, False: 0]
  ------------------
21879|  27.1k|            &&
21880|  27.1k|            (b = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (21880:13): [True: 27.1k, False: 0]
  ------------------
21881|  27.1k|            &&
21882|  27.1k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, FSTRING_MIDDLE)  // token=FSTRING_MIDDLE
  ------------------
  |  |   76|  27.1k|#define FSTRING_MIDDLE  60
  ------------------
  |  Branch (21882:13): [True: 0, False: 27.1k]
  ------------------
21883|  54.3k|        )
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|  54.3k|        p->mark = _mark;
21895|  54.3k|        D(fprintf(stderr, "%*c%s invalid_expression[%d-%d]: %s failed!\n", p->level, ' ',
21896|  54.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'lambda' lambda_params? ':' &FSTRING_MIDDLE"));
21897|  54.3k|    }
21898|      0|    { // 'lambda' lambda_params? ':' &TSTRING_MIDDLE
21899|  54.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (21899:13): [True: 0, False: 54.3k]
  ------------------
21900|      0|            p->level--;
21901|      0|            return NULL;
21902|      0|        }
21903|  54.3k|        D(fprintf(stderr, "%*c> invalid_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'lambda' lambda_params? ':' &TSTRING_MIDDLE"));
21904|  54.3k|        void *_opt_var;
21905|  54.3k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  267|  54.3k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 54.3k]
  |  |  ------------------
  ------------------
21906|  54.3k|        Token * a;
21907|  54.3k|        Token * b;
21908|  54.3k|        if (
21909|  54.3k|            (a = _PyPegen_expect_token(p, 622))  // token='lambda'
  ------------------
  |  Branch (21909:13): [True: 27.1k, False: 27.1k]
  ------------------
21910|  27.1k|            &&
21911|  27.1k|            (_opt_var = lambda_params_rule(p), !p->error_indicator)  // lambda_params?
  ------------------
  |  Branch (21911:13): [True: 27.1k, False: 0]
  ------------------
21912|  27.1k|            &&
21913|  27.1k|            (b = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (21913:13): [True: 27.1k, False: 0]
  ------------------
21914|  27.1k|            &&
21915|  27.1k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, TSTRING_MIDDLE)  // token=TSTRING_MIDDLE
  ------------------
  |  |   79|  27.1k|#define TSTRING_MIDDLE  63
  ------------------
  |  Branch (21915:13): [True: 0, False: 27.1k]
  ------------------
21916|  54.3k|        )
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|  54.3k|        p->mark = _mark;
21928|  54.3k|        D(fprintf(stderr, "%*c%s invalid_expression[%d-%d]: %s failed!\n", p->level, ' ',
21929|  54.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'lambda' lambda_params? ':' &TSTRING_MIDDLE"));
21930|  54.3k|    }
21931|  54.3k|    _res = NULL;
21932|  54.3k|  done:
21933|  54.3k|    p->level--;
21934|  54.3k|    return _res;
21935|  54.3k|}
parser.c:_tmp_116_rule:
35594|  54.3k|{
35595|  54.3k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   108k|#  define MAXSTACK 6000
  ------------------
  |  Branch (35595:9): [True: 0, False: 54.3k]
  |  Branch (35595:35): [True: 0, False: 54.3k]
  ------------------
35596|      0|        _Pypegen_stack_overflow(p);
35597|      0|    }
35598|  54.3k|    if (p->error_indicator) {
  ------------------
  |  Branch (35598:9): [True: 0, False: 54.3k]
  ------------------
35599|      0|        p->level--;
35600|      0|        return NULL;
35601|      0|    }
35602|  54.3k|    void * _res = NULL;
35603|  54.3k|    int _mark = p->mark;
35604|  54.3k|    { // NAME STRING
35605|  54.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (35605:13): [True: 0, False: 54.3k]
  ------------------
35606|      0|            p->level--;
35607|      0|            return NULL;
35608|      0|        }
35609|  54.3k|        D(fprintf(stderr, "%*c> _tmp_116[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME STRING"));
35610|  54.3k|        expr_ty name_var;
35611|  54.3k|        expr_ty string_var;
35612|  54.3k|        if (
35613|  54.3k|            (name_var = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (35613:13): [True: 0, False: 54.3k]
  ------------------
35614|      0|            &&
35615|      0|            (string_var = _PyPegen_string_token(p))  // STRING
  ------------------
  |  Branch (35615:13): [True: 0, False: 0]
  ------------------
35616|  54.3k|        )
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|  54.3k|        p->mark = _mark;
35623|  54.3k|        D(fprintf(stderr, "%*c%s _tmp_116[%d-%d]: %s failed!\n", p->level, ' ',
35624|  54.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME STRING"));
35625|  54.3k|    }
35626|      0|    { // SOFT_KEYWORD
35627|  54.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (35627:13): [True: 0, False: 54.3k]
  ------------------
35628|      0|            p->level--;
35629|      0|            return NULL;
35630|      0|        }
35631|  54.3k|        D(fprintf(stderr, "%*c> _tmp_116[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "SOFT_KEYWORD"));
35632|  54.3k|        expr_ty soft_keyword_var;
35633|  54.3k|        if (
35634|  54.3k|            (soft_keyword_var = _PyPegen_soft_keyword_token(p))  // SOFT_KEYWORD
  ------------------
  |  Branch (35634:13): [True: 0, False: 54.3k]
  ------------------
35635|  54.3k|        )
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|  54.3k|        p->mark = _mark;
35642|  54.3k|        D(fprintf(stderr, "%*c%s _tmp_116[%d-%d]: %s failed!\n", p->level, ' ',
35643|  54.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "SOFT_KEYWORD"));
35644|  54.3k|    }
35645|  54.3k|    _res = NULL;
35646|  54.3k|  done:
35647|  54.3k|    p->level--;
35648|  54.3k|    return _res;
35649|  54.3k|}
parser.c:_tmp_118_rule:
35711|  54.3k|{
35712|  54.3k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   108k|#  define MAXSTACK 6000
  ------------------
  |  Branch (35712:9): [True: 0, False: 54.3k]
  |  Branch (35712:35): [True: 0, False: 54.3k]
  ------------------
35713|      0|        _Pypegen_stack_overflow(p);
35714|      0|    }
35715|  54.3k|    if (p->error_indicator) {
  ------------------
  |  Branch (35715:9): [True: 0, False: 54.3k]
  ------------------
35716|      0|        p->level--;
35717|      0|        return NULL;
35718|      0|    }
35719|  54.3k|    void * _res = NULL;
35720|  54.3k|    int _mark = p->mark;
35721|  54.3k|    { // pass_stmt
35722|  54.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (35722:13): [True: 0, False: 54.3k]
  ------------------
35723|      0|            p->level--;
35724|      0|            return NULL;
35725|      0|        }
35726|  54.3k|        D(fprintf(stderr, "%*c> _tmp_118[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "pass_stmt"));
35727|  54.3k|        stmt_ty pass_stmt_var;
35728|  54.3k|        if (
35729|  54.3k|            (pass_stmt_var = pass_stmt_rule(p))  // pass_stmt
  ------------------
  |  Branch (35729:13): [True: 0, False: 54.3k]
  ------------------
35730|  54.3k|        )
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|  54.3k|        p->mark = _mark;
35737|  54.3k|        D(fprintf(stderr, "%*c%s _tmp_118[%d-%d]: %s failed!\n", p->level, ' ',
35738|  54.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "pass_stmt"));
35739|  54.3k|    }
35740|      0|    { // break_stmt
35741|  54.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (35741:13): [True: 0, False: 54.3k]
  ------------------
35742|      0|            p->level--;
35743|      0|            return NULL;
35744|      0|        }
35745|  54.3k|        D(fprintf(stderr, "%*c> _tmp_118[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "break_stmt"));
35746|  54.3k|        stmt_ty break_stmt_var;
35747|  54.3k|        if (
35748|  54.3k|            (break_stmt_var = break_stmt_rule(p))  // break_stmt
  ------------------
  |  Branch (35748:13): [True: 0, False: 54.3k]
  ------------------
35749|  54.3k|        )
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|  54.3k|        p->mark = _mark;
35756|  54.3k|        D(fprintf(stderr, "%*c%s _tmp_118[%d-%d]: %s failed!\n", p->level, ' ',
35757|  54.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "break_stmt"));
35758|  54.3k|    }
35759|      0|    { // continue_stmt
35760|  54.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (35760:13): [True: 0, False: 54.3k]
  ------------------
35761|      0|            p->level--;
35762|      0|            return NULL;
35763|      0|        }
35764|  54.3k|        D(fprintf(stderr, "%*c> _tmp_118[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "continue_stmt"));
35765|  54.3k|        stmt_ty continue_stmt_var;
35766|  54.3k|        if (
35767|  54.3k|            (continue_stmt_var = continue_stmt_rule(p))  // continue_stmt
  ------------------
  |  Branch (35767:13): [True: 0, False: 54.3k]
  ------------------
35768|  54.3k|        )
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|  54.3k|        p->mark = _mark;
35775|  54.3k|        D(fprintf(stderr, "%*c%s _tmp_118[%d-%d]: %s failed!\n", p->level, ' ',
35776|  54.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "continue_stmt"));
35777|  54.3k|    }
35778|  54.3k|    _res = NULL;
35779|  54.3k|  done:
35780|  54.3k|    p->level--;
35781|  54.3k|    return _res;
35782|  54.3k|}
parser.c:pass_stmt_rule:
 2963|  54.3k|{
 2964|  54.3k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   108k|#  define MAXSTACK 6000
  ------------------
  |  Branch (2964:9): [True: 0, False: 54.3k]
  |  Branch (2964:35): [True: 0, False: 54.3k]
  ------------------
 2965|      0|        _Pypegen_stack_overflow(p);
 2966|      0|    }
 2967|  54.3k|    if (p->error_indicator) {
  ------------------
  |  Branch (2967:9): [True: 0, False: 54.3k]
  ------------------
 2968|      0|        p->level--;
 2969|      0|        return NULL;
 2970|      0|    }
 2971|  54.3k|    stmt_ty _res = NULL;
 2972|  54.3k|    int _mark = p->mark;
 2973|  54.3k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (2973:9): [True: 0, False: 54.3k]
  |  Branch (2973:31): [True: 0, False: 0]
  ------------------
 2974|      0|        p->error_indicator = 1;
 2975|      0|        p->level--;
 2976|      0|        return NULL;
 2977|      0|    }
 2978|  54.3k|    int _start_lineno = p->tokens[_mark]->lineno;
 2979|  54.3k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|  54.3k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 54.3k]
  |  |  ------------------
  ------------------
 2980|  54.3k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 2981|  54.3k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|  54.3k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 54.3k]
  |  |  ------------------
  ------------------
 2982|  54.3k|    { // 'pass'
 2983|  54.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (2983:13): [True: 0, False: 54.3k]
  ------------------
 2984|      0|            p->level--;
 2985|      0|            return NULL;
 2986|      0|        }
 2987|  54.3k|        D(fprintf(stderr, "%*c> pass_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'pass'"));
 2988|  54.3k|        Token * _keyword;
 2989|  54.3k|        if (
 2990|  54.3k|            (_keyword = _PyPegen_expect_token(p, 527))  // token='pass'
  ------------------
  |  Branch (2990:13): [True: 67, False: 54.3k]
  ------------------
 2991|  54.3k|        )
 2992|     67|        {
 2993|     67|            D(fprintf(stderr, "%*c+ pass_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'pass'"));
 2994|     67|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 2995|     67|            if (_token == NULL) {
  ------------------
  |  Branch (2995:17): [True: 0, False: 67]
  ------------------
 2996|      0|                p->level--;
 2997|      0|                return NULL;
 2998|      0|            }
 2999|     67|            int _end_lineno = _token->end_lineno;
 3000|     67|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|     67|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 67]
  |  |  ------------------
  ------------------
 3001|     67|            int _end_col_offset = _token->end_col_offset;
 3002|     67|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|     67|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 67]
  |  |  ------------------
  ------------------
 3003|     67|            _res = _PyAST_Pass ( EXTRA );
  ------------------
  |  |  269|     67|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 3004|     67|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3004:18): [True: 0, False: 67]
  |  Branch (3004:34): [True: 0, False: 67]
  |  Branch (3004:57): [True: 0, False: 0]
  ------------------
 3005|      0|                p->error_indicator = 1;
 3006|      0|                p->level--;
 3007|      0|                return NULL;
 3008|      0|            }
 3009|     67|            goto done;
 3010|     67|        }
 3011|  54.3k|        p->mark = _mark;
 3012|  54.3k|        D(fprintf(stderr, "%*c%s pass_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 3013|  54.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'pass'"));
 3014|  54.3k|    }
 3015|  54.3k|    _res = NULL;
 3016|  54.3k|  done:
 3017|  54.3k|    p->level--;
 3018|  54.3k|    return _res;
 3019|  54.3k|}
parser.c:break_stmt_rule:
 3024|  54.3k|{
 3025|  54.3k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   108k|#  define MAXSTACK 6000
  ------------------
  |  Branch (3025:9): [True: 0, False: 54.3k]
  |  Branch (3025:35): [True: 0, False: 54.3k]
  ------------------
 3026|      0|        _Pypegen_stack_overflow(p);
 3027|      0|    }
 3028|  54.3k|    if (p->error_indicator) {
  ------------------
  |  Branch (3028:9): [True: 0, False: 54.3k]
  ------------------
 3029|      0|        p->level--;
 3030|      0|        return NULL;
 3031|      0|    }
 3032|  54.3k|    stmt_ty _res = NULL;
 3033|  54.3k|    int _mark = p->mark;
 3034|  54.3k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (3034:9): [True: 0, False: 54.3k]
  |  Branch (3034:31): [True: 0, False: 0]
  ------------------
 3035|      0|        p->error_indicator = 1;
 3036|      0|        p->level--;
 3037|      0|        return NULL;
 3038|      0|    }
 3039|  54.3k|    int _start_lineno = p->tokens[_mark]->lineno;
 3040|  54.3k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|  54.3k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 54.3k]
  |  |  ------------------
  ------------------
 3041|  54.3k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 3042|  54.3k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|  54.3k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 54.3k]
  |  |  ------------------
  ------------------
 3043|  54.3k|    { // 'break'
 3044|  54.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (3044:13): [True: 0, False: 54.3k]
  ------------------
 3045|      0|            p->level--;
 3046|      0|            return NULL;
 3047|      0|        }
 3048|  54.3k|        D(fprintf(stderr, "%*c> break_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'break'"));
 3049|  54.3k|        Token * _keyword;
 3050|  54.3k|        if (
 3051|  54.3k|            (_keyword = _PyPegen_expect_token(p, 528))  // token='break'
  ------------------
  |  Branch (3051:13): [True: 37, False: 54.3k]
  ------------------
 3052|  54.3k|        )
 3053|     37|        {
 3054|     37|            D(fprintf(stderr, "%*c+ break_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'break'"));
 3055|     37|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 3056|     37|            if (_token == NULL) {
  ------------------
  |  Branch (3056:17): [True: 0, False: 37]
  ------------------
 3057|      0|                p->level--;
 3058|      0|                return NULL;
 3059|      0|            }
 3060|     37|            int _end_lineno = _token->end_lineno;
 3061|     37|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|     37|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 37]
  |  |  ------------------
  ------------------
 3062|     37|            int _end_col_offset = _token->end_col_offset;
 3063|     37|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|     37|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 37]
  |  |  ------------------
  ------------------
 3064|     37|            _res = _PyAST_Break ( EXTRA );
  ------------------
  |  |  269|     37|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 3065|     37|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3065:18): [True: 0, False: 37]
  |  Branch (3065:34): [True: 0, False: 37]
  |  Branch (3065:57): [True: 0, False: 0]
  ------------------
 3066|      0|                p->error_indicator = 1;
 3067|      0|                p->level--;
 3068|      0|                return NULL;
 3069|      0|            }
 3070|     37|            goto done;
 3071|     37|        }
 3072|  54.3k|        p->mark = _mark;
 3073|  54.3k|        D(fprintf(stderr, "%*c%s break_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 3074|  54.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'break'"));
 3075|  54.3k|    }
 3076|  54.3k|    _res = NULL;
 3077|  54.3k|  done:
 3078|  54.3k|    p->level--;
 3079|  54.3k|    return _res;
 3080|  54.3k|}
parser.c:continue_stmt_rule:
 3085|  54.3k|{
 3086|  54.3k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   108k|#  define MAXSTACK 6000
  ------------------
  |  Branch (3086:9): [True: 0, False: 54.3k]
  |  Branch (3086:35): [True: 0, False: 54.3k]
  ------------------
 3087|      0|        _Pypegen_stack_overflow(p);
 3088|      0|    }
 3089|  54.3k|    if (p->error_indicator) {
  ------------------
  |  Branch (3089:9): [True: 0, False: 54.3k]
  ------------------
 3090|      0|        p->level--;
 3091|      0|        return NULL;
 3092|      0|    }
 3093|  54.3k|    stmt_ty _res = NULL;
 3094|  54.3k|    int _mark = p->mark;
 3095|  54.3k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (3095:9): [True: 0, False: 54.3k]
  |  Branch (3095:31): [True: 0, False: 0]
  ------------------
 3096|      0|        p->error_indicator = 1;
 3097|      0|        p->level--;
 3098|      0|        return NULL;
 3099|      0|    }
 3100|  54.3k|    int _start_lineno = p->tokens[_mark]->lineno;
 3101|  54.3k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|  54.3k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 54.3k]
  |  |  ------------------
  ------------------
 3102|  54.3k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 3103|  54.3k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|  54.3k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 54.3k]
  |  |  ------------------
  ------------------
 3104|  54.3k|    { // 'continue'
 3105|  54.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (3105:13): [True: 0, False: 54.3k]
  ------------------
 3106|      0|            p->level--;
 3107|      0|            return NULL;
 3108|      0|        }
 3109|  54.3k|        D(fprintf(stderr, "%*c> continue_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'continue'"));
 3110|  54.3k|        Token * _keyword;
 3111|  54.3k|        if (
 3112|  54.3k|            (_keyword = _PyPegen_expect_token(p, 529))  // token='continue'
  ------------------
  |  Branch (3112:13): [True: 43, False: 54.3k]
  ------------------
 3113|  54.3k|        )
 3114|     43|        {
 3115|     43|            D(fprintf(stderr, "%*c+ continue_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'continue'"));
 3116|     43|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 3117|     43|            if (_token == NULL) {
  ------------------
  |  Branch (3117:17): [True: 0, False: 43]
  ------------------
 3118|      0|                p->level--;
 3119|      0|                return NULL;
 3120|      0|            }
 3121|     43|            int _end_lineno = _token->end_lineno;
 3122|     43|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|     43|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 43]
  |  |  ------------------
  ------------------
 3123|     43|            int _end_col_offset = _token->end_col_offset;
 3124|     43|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|     43|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 43]
  |  |  ------------------
  ------------------
 3125|     43|            _res = _PyAST_Continue ( EXTRA );
  ------------------
  |  |  269|     43|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 3126|     43|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3126:18): [True: 0, False: 43]
  |  Branch (3126:34): [True: 0, False: 43]
  |  Branch (3126:57): [True: 0, False: 0]
  ------------------
 3127|      0|                p->error_indicator = 1;
 3128|      0|                p->level--;
 3129|      0|                return NULL;
 3130|      0|            }
 3131|     43|            goto done;
 3132|     43|        }
 3133|  54.3k|        p->mark = _mark;
 3134|  54.3k|        D(fprintf(stderr, "%*c%s continue_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 3135|  54.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'continue'"));
 3136|  54.3k|    }
 3137|  54.3k|    _res = NULL;
 3138|  54.3k|  done:
 3139|  54.3k|    p->level--;
 3140|  54.3k|    return _res;
 3141|  54.3k|}
parser.c:simple_stmt_rule:
 1583|   129k|{
 1584|   129k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   259k|#  define MAXSTACK 6000
  ------------------
  |  Branch (1584:9): [True: 0, False: 129k]
  |  Branch (1584:35): [True: 0, False: 129k]
  ------------------
 1585|      0|        _Pypegen_stack_overflow(p);
 1586|      0|    }
 1587|   129k|    if (p->error_indicator) {
  ------------------
  |  Branch (1587:9): [True: 0, False: 129k]
  ------------------
 1588|      0|        p->level--;
 1589|      0|        return NULL;
 1590|      0|    }
 1591|   129k|    stmt_ty _res = NULL;
 1592|   129k|    if (_PyPegen_is_memoized(p, simple_stmt_type, &_res)) {
  ------------------
  |  |   98|   129k|#define simple_stmt_type 1009
  ------------------
  |  Branch (1592:9): [True: 60.1k, False: 69.3k]
  ------------------
 1593|  60.1k|        p->level--;
 1594|  60.1k|        return _res;
 1595|  60.1k|    }
 1596|  69.3k|    int _mark = p->mark;
 1597|  69.3k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (1597:9): [True: 0, False: 69.3k]
  |  Branch (1597:31): [True: 0, False: 0]
  ------------------
 1598|      0|        p->error_indicator = 1;
 1599|      0|        p->level--;
 1600|      0|        return NULL;
 1601|      0|    }
 1602|  69.3k|    int _start_lineno = p->tokens[_mark]->lineno;
 1603|  69.3k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|  69.3k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 69.3k]
  |  |  ------------------
  ------------------
 1604|  69.3k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 1605|  69.3k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|  69.3k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 69.3k]
  |  |  ------------------
  ------------------
 1606|  69.3k|    { // assignment
 1607|  69.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (1607:13): [True: 0, False: 69.3k]
  ------------------
 1608|      0|            p->level--;
 1609|      0|            return NULL;
 1610|      0|        }
 1611|  69.3k|        D(fprintf(stderr, "%*c> simple_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "assignment"));
 1612|  69.3k|        stmt_ty assignment_var;
 1613|  69.3k|        if (
 1614|  69.3k|            (assignment_var = assignment_rule(p))  // assignment
  ------------------
  |  Branch (1614:13): [True: 3.66k, False: 65.6k]
  ------------------
 1615|  69.3k|        )
 1616|  3.66k|        {
 1617|  3.66k|            D(fprintf(stderr, "%*c+ simple_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "assignment"));
 1618|  3.66k|            _res = assignment_var;
 1619|  3.66k|            goto done;
 1620|  3.66k|        }
 1621|  65.6k|        p->mark = _mark;
 1622|  65.6k|        D(fprintf(stderr, "%*c%s simple_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1623|  65.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "assignment"));
 1624|  65.6k|    }
 1625|      0|    { // &"type" type_alias
 1626|  65.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (1626:13): [True: 0, False: 65.6k]
  ------------------
 1627|      0|            p->level--;
 1628|      0|            return NULL;
 1629|      0|        }
 1630|  65.6k|        D(fprintf(stderr, "%*c> simple_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&\"type\" type_alias"));
 1631|  65.6k|        stmt_ty type_alias_var;
 1632|  65.6k|        if (
 1633|  65.6k|            _PyPegen_lookahead_with_string(1, _PyPegen_expect_soft_keyword, p, "type")
  ------------------
  |  Branch (1633:13): [True: 0, False: 65.6k]
  ------------------
 1634|      0|            &&
 1635|      0|            (type_alias_var = type_alias_rule(p))  // type_alias
  ------------------
  |  Branch (1635:13): [True: 0, False: 0]
  ------------------
 1636|  65.6k|        )
 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|  65.6k|        p->mark = _mark;
 1643|  65.6k|        D(fprintf(stderr, "%*c%s simple_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1644|  65.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&\"type\" type_alias"));
 1645|  65.6k|    }
 1646|      0|    { // &('import' | 'from' | "lazy") import_stmt
 1647|  65.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (1647:13): [True: 0, False: 65.6k]
  ------------------
 1648|      0|            p->level--;
 1649|      0|            return NULL;
 1650|      0|        }
 1651|  65.6k|        D(fprintf(stderr, "%*c> simple_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&('import' | 'from' | \"lazy\") import_stmt"));
 1652|  65.6k|        stmt_ty import_stmt_var;
 1653|  65.6k|        if (
 1654|  65.6k|            _PyPegen_lookahead(1, _tmp_5_rule, p)
  ------------------
  |  Branch (1654:13): [True: 447, False: 65.2k]
  ------------------
 1655|    447|            &&
 1656|    447|            (import_stmt_var = import_stmt_rule(p))  // import_stmt
  ------------------
  |  Branch (1656:13): [True: 447, False: 0]
  ------------------
 1657|  65.6k|        )
 1658|    447|        {
 1659|    447|            D(fprintf(stderr, "%*c+ simple_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&('import' | 'from' | \"lazy\") import_stmt"));
 1660|    447|            _res = import_stmt_var;
 1661|    447|            goto done;
 1662|    447|        }
 1663|  65.2k|        p->mark = _mark;
 1664|  65.2k|        D(fprintf(stderr, "%*c%s simple_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1665|  65.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&('import' | 'from' | \"lazy\") import_stmt"));
 1666|  65.2k|    }
 1667|      0|    { // star_expressions
 1668|  65.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (1668:13): [True: 0, False: 65.2k]
  ------------------
 1669|      0|            p->level--;
 1670|      0|            return NULL;
 1671|      0|        }
 1672|  65.2k|        D(fprintf(stderr, "%*c> simple_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_expressions"));
 1673|  65.2k|        expr_ty e;
 1674|  65.2k|        if (
 1675|  65.2k|            (e = star_expressions_rule(p))  // star_expressions
  ------------------
  |  Branch (1675:13): [True: 2.66k, False: 62.5k]
  ------------------
 1676|  65.2k|        )
 1677|  2.66k|        {
 1678|  2.66k|            D(fprintf(stderr, "%*c+ simple_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_expressions"));
 1679|  2.66k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 1680|  2.66k|            if (_token == NULL) {
  ------------------
  |  Branch (1680:17): [True: 0, False: 2.66k]
  ------------------
 1681|      0|                p->level--;
 1682|      0|                return NULL;
 1683|      0|            }
 1684|  2.66k|            int _end_lineno = _token->end_lineno;
 1685|  2.66k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|  2.66k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 2.66k]
  |  |  ------------------
  ------------------
 1686|  2.66k|            int _end_col_offset = _token->end_col_offset;
 1687|  2.66k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|  2.66k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 2.66k]
  |  |  ------------------
  ------------------
 1688|  2.66k|            _res = _PyAST_Expr ( e , EXTRA );
  ------------------
  |  |  269|  2.66k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 1689|  2.66k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1689:18): [True: 0, False: 2.66k]
  |  Branch (1689:34): [True: 0, False: 2.66k]
  |  Branch (1689:57): [True: 0, False: 0]
  ------------------
 1690|      0|                p->error_indicator = 1;
 1691|      0|                p->level--;
 1692|      0|                return NULL;
 1693|      0|            }
 1694|  2.66k|            goto done;
 1695|  2.66k|        }
 1696|  62.5k|        p->mark = _mark;
 1697|  62.5k|        D(fprintf(stderr, "%*c%s simple_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1698|  62.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_expressions"));
 1699|  62.5k|    }
 1700|      0|    { // &'return' return_stmt
 1701|  62.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (1701:13): [True: 0, False: 62.5k]
  ------------------
 1702|      0|            p->level--;
 1703|      0|            return NULL;
 1704|      0|        }
 1705|  62.5k|        D(fprintf(stderr, "%*c> simple_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'return' return_stmt"));
 1706|  62.5k|        stmt_ty return_stmt_var;
 1707|  62.5k|        if (
 1708|  62.5k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 522)  // token='return'
  ------------------
  |  Branch (1708:13): [True: 1.50k, False: 61.0k]
  ------------------
 1709|  1.50k|            &&
 1710|  1.50k|            (return_stmt_var = return_stmt_rule(p))  // return_stmt
  ------------------
  |  Branch (1710:13): [True: 1.50k, False: 0]
  ------------------
 1711|  62.5k|        )
 1712|  1.50k|        {
 1713|  1.50k|            D(fprintf(stderr, "%*c+ simple_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'return' return_stmt"));
 1714|  1.50k|            _res = return_stmt_var;
 1715|  1.50k|            goto done;
 1716|  1.50k|        }
 1717|  61.0k|        p->mark = _mark;
 1718|  61.0k|        D(fprintf(stderr, "%*c%s simple_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1719|  61.0k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'return' return_stmt"));
 1720|  61.0k|    }
 1721|      0|    { // &'raise' raise_stmt
 1722|  61.0k|        if (p->error_indicator) {
  ------------------
  |  Branch (1722:13): [True: 0, False: 61.0k]
  ------------------
 1723|      0|            p->level--;
 1724|      0|            return NULL;
 1725|      0|        }
 1726|  61.0k|        D(fprintf(stderr, "%*c> simple_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'raise' raise_stmt"));
 1727|  61.0k|        stmt_ty raise_stmt_var;
 1728|  61.0k|        if (
 1729|  61.0k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 632)  // token='raise'
  ------------------
  |  Branch (1729:13): [True: 606, False: 60.4k]
  ------------------
 1730|    606|            &&
 1731|    606|            (raise_stmt_var = raise_stmt_rule(p))  // raise_stmt
  ------------------
  |  Branch (1731:13): [True: 606, False: 0]
  ------------------
 1732|  61.0k|        )
 1733|    606|        {
 1734|    606|            D(fprintf(stderr, "%*c+ simple_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'raise' raise_stmt"));
 1735|    606|            _res = raise_stmt_var;
 1736|    606|            goto done;
 1737|    606|        }
 1738|  60.4k|        p->mark = _mark;
 1739|  60.4k|        D(fprintf(stderr, "%*c%s simple_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1740|  60.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'raise' raise_stmt"));
 1741|  60.4k|    }
 1742|      0|    { // &'pass' pass_stmt
 1743|  60.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (1743:13): [True: 0, False: 60.4k]
  ------------------
 1744|      0|            p->level--;
 1745|      0|            return NULL;
 1746|      0|        }
 1747|  60.4k|        D(fprintf(stderr, "%*c> simple_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'pass' pass_stmt"));
 1748|  60.4k|        stmt_ty pass_stmt_var;
 1749|  60.4k|        if (
 1750|  60.4k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 527)  // token='pass'
  ------------------
  |  Branch (1750:13): [True: 67, False: 60.4k]
  ------------------
 1751|     67|            &&
 1752|     67|            (pass_stmt_var = pass_stmt_rule(p))  // pass_stmt
  ------------------
  |  Branch (1752:13): [True: 67, False: 0]
  ------------------
 1753|  60.4k|        )
 1754|     67|        {
 1755|     67|            D(fprintf(stderr, "%*c+ simple_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'pass' pass_stmt"));
 1756|     67|            _res = pass_stmt_var;
 1757|     67|            goto done;
 1758|     67|        }
 1759|  60.4k|        p->mark = _mark;
 1760|  60.4k|        D(fprintf(stderr, "%*c%s simple_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1761|  60.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'pass' pass_stmt"));
 1762|  60.4k|    }
 1763|      0|    { // &'del' del_stmt
 1764|  60.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (1764:13): [True: 0, False: 60.4k]
  ------------------
 1765|      0|            p->level--;
 1766|      0|            return NULL;
 1767|      0|        }
 1768|  60.4k|        D(fprintf(stderr, "%*c> simple_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'del' del_stmt"));
 1769|  60.4k|        stmt_ty del_stmt_var;
 1770|  60.4k|        if (
 1771|  60.4k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 634)  // token='del'
  ------------------
  |  Branch (1771:13): [True: 40, False: 60.3k]
  ------------------
 1772|     40|            &&
 1773|     40|            (del_stmt_var = del_stmt_rule(p))  // del_stmt
  ------------------
  |  Branch (1773:13): [True: 40, False: 0]
  ------------------
 1774|  60.4k|        )
 1775|     40|        {
 1776|     40|            D(fprintf(stderr, "%*c+ simple_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'del' del_stmt"));
 1777|     40|            _res = del_stmt_var;
 1778|     40|            goto done;
 1779|     40|        }
 1780|  60.3k|        p->mark = _mark;
 1781|  60.3k|        D(fprintf(stderr, "%*c%s simple_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1782|  60.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'del' del_stmt"));
 1783|  60.3k|    }
 1784|      0|    { // &'yield' yield_stmt
 1785|  60.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (1785:13): [True: 0, False: 60.3k]
  ------------------
 1786|      0|            p->level--;
 1787|      0|            return NULL;
 1788|      0|        }
 1789|  60.3k|        D(fprintf(stderr, "%*c> simple_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'yield' yield_stmt"));
 1790|  60.3k|        stmt_ty yield_stmt_var;
 1791|  60.3k|        if (
 1792|  60.3k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 588)  // token='yield'
  ------------------
  |  Branch (1792:13): [True: 68, False: 60.2k]
  ------------------
 1793|     68|            &&
 1794|     68|            (yield_stmt_var = yield_stmt_rule(p))  // yield_stmt
  ------------------
  |  Branch (1794:13): [True: 68, False: 0]
  ------------------
 1795|  60.3k|        )
 1796|     68|        {
 1797|     68|            D(fprintf(stderr, "%*c+ simple_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'yield' yield_stmt"));
 1798|     68|            _res = yield_stmt_var;
 1799|     68|            goto done;
 1800|     68|        }
 1801|  60.2k|        p->mark = _mark;
 1802|  60.2k|        D(fprintf(stderr, "%*c%s simple_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1803|  60.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'yield' yield_stmt"));
 1804|  60.2k|    }
 1805|      0|    { // &'assert' assert_stmt
 1806|  60.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (1806:13): [True: 0, False: 60.2k]
  ------------------
 1807|      0|            p->level--;
 1808|      0|            return NULL;
 1809|      0|        }
 1810|  60.2k|        D(fprintf(stderr, "%*c> simple_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'assert' assert_stmt"));
 1811|  60.2k|        stmt_ty assert_stmt_var;
 1812|  60.2k|        if (
 1813|  60.2k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 638)  // token='assert'
  ------------------
  |  Branch (1813:13): [True: 49, False: 60.2k]
  ------------------
 1814|     49|            &&
 1815|     49|            (assert_stmt_var = assert_stmt_rule(p))  // assert_stmt
  ------------------
  |  Branch (1815:13): [True: 49, False: 0]
  ------------------
 1816|  60.2k|        )
 1817|     49|        {
 1818|     49|            D(fprintf(stderr, "%*c+ simple_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'assert' assert_stmt"));
 1819|     49|            _res = assert_stmt_var;
 1820|     49|            goto done;
 1821|     49|        }
 1822|  60.2k|        p->mark = _mark;
 1823|  60.2k|        D(fprintf(stderr, "%*c%s simple_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1824|  60.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'assert' assert_stmt"));
 1825|  60.2k|    }
 1826|      0|    { // &'break' break_stmt
 1827|  60.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (1827:13): [True: 0, False: 60.2k]
  ------------------
 1828|      0|            p->level--;
 1829|      0|            return NULL;
 1830|      0|        }
 1831|  60.2k|        D(fprintf(stderr, "%*c> simple_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'break' break_stmt"));
 1832|  60.2k|        stmt_ty break_stmt_var;
 1833|  60.2k|        if (
 1834|  60.2k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 528)  // token='break'
  ------------------
  |  Branch (1834:13): [True: 37, False: 60.2k]
  ------------------
 1835|     37|            &&
 1836|     37|            (break_stmt_var = break_stmt_rule(p))  // break_stmt
  ------------------
  |  Branch (1836:13): [True: 37, False: 0]
  ------------------
 1837|  60.2k|        )
 1838|     37|        {
 1839|     37|            D(fprintf(stderr, "%*c+ simple_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'break' break_stmt"));
 1840|     37|            _res = break_stmt_var;
 1841|     37|            goto done;
 1842|     37|        }
 1843|  60.2k|        p->mark = _mark;
 1844|  60.2k|        D(fprintf(stderr, "%*c%s simple_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1845|  60.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'break' break_stmt"));
 1846|  60.2k|    }
 1847|      0|    { // &'continue' continue_stmt
 1848|  60.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (1848:13): [True: 0, False: 60.2k]
  ------------------
 1849|      0|            p->level--;
 1850|      0|            return NULL;
 1851|      0|        }
 1852|  60.2k|        D(fprintf(stderr, "%*c> simple_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'continue' continue_stmt"));
 1853|  60.2k|        stmt_ty continue_stmt_var;
 1854|  60.2k|        if (
 1855|  60.2k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 529)  // token='continue'
  ------------------
  |  Branch (1855:13): [True: 43, False: 60.1k]
  ------------------
 1856|     43|            &&
 1857|     43|            (continue_stmt_var = continue_stmt_rule(p))  // continue_stmt
  ------------------
  |  Branch (1857:13): [True: 43, False: 0]
  ------------------
 1858|  60.2k|        )
 1859|     43|        {
 1860|     43|            D(fprintf(stderr, "%*c+ simple_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'continue' continue_stmt"));
 1861|     43|            _res = continue_stmt_var;
 1862|     43|            goto done;
 1863|     43|        }
 1864|  60.1k|        p->mark = _mark;
 1865|  60.1k|        D(fprintf(stderr, "%*c%s simple_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1866|  60.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'continue' continue_stmt"));
 1867|  60.1k|    }
 1868|      0|    { // &'global' global_stmt
 1869|  60.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (1869:13): [True: 0, False: 60.1k]
  ------------------
 1870|      0|            p->level--;
 1871|      0|            return NULL;
 1872|      0|        }
 1873|  60.1k|        D(fprintf(stderr, "%*c> simple_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'global' global_stmt"));
 1874|  60.1k|        stmt_ty global_stmt_var;
 1875|  60.1k|        if (
 1876|  60.1k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 530)  // token='global'
  ------------------
  |  Branch (1876:13): [True: 8, False: 60.1k]
  ------------------
 1877|      8|            &&
 1878|      8|            (global_stmt_var = global_stmt_rule(p))  // global_stmt
  ------------------
  |  Branch (1878:13): [True: 8, False: 0]
  ------------------
 1879|  60.1k|        )
 1880|      8|        {
 1881|      8|            D(fprintf(stderr, "%*c+ simple_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'global' global_stmt"));
 1882|      8|            _res = global_stmt_var;
 1883|      8|            goto done;
 1884|      8|        }
 1885|  60.1k|        p->mark = _mark;
 1886|  60.1k|        D(fprintf(stderr, "%*c%s simple_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1887|  60.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'global' global_stmt"));
 1888|  60.1k|    }
 1889|      0|    { // &'nonlocal' nonlocal_stmt
 1890|  60.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (1890:13): [True: 0, False: 60.1k]
  ------------------
 1891|      0|            p->level--;
 1892|      0|            return NULL;
 1893|      0|        }
 1894|  60.1k|        D(fprintf(stderr, "%*c> simple_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "&'nonlocal' nonlocal_stmt"));
 1895|  60.1k|        stmt_ty nonlocal_stmt_var;
 1896|  60.1k|        if (
 1897|  60.1k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 531)  // token='nonlocal'
  ------------------
  |  Branch (1897:13): [True: 3, False: 60.1k]
  ------------------
 1898|      3|            &&
 1899|      3|            (nonlocal_stmt_var = nonlocal_stmt_rule(p))  // nonlocal_stmt
  ------------------
  |  Branch (1899:13): [True: 3, False: 0]
  ------------------
 1900|  60.1k|        )
 1901|      3|        {
 1902|      3|            D(fprintf(stderr, "%*c+ simple_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "&'nonlocal' nonlocal_stmt"));
 1903|      3|            _res = nonlocal_stmt_var;
 1904|      3|            goto done;
 1905|      3|        }
 1906|  60.1k|        p->mark = _mark;
 1907|  60.1k|        D(fprintf(stderr, "%*c%s simple_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 1908|  60.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "&'nonlocal' nonlocal_stmt"));
 1909|  60.1k|    }
 1910|  60.1k|    _res = NULL;
 1911|  69.3k|  done:
 1912|  69.3k|    _PyPegen_insert_memo(p, _mark, simple_stmt_type, _res);
  ------------------
  |  |   98|  69.3k|#define simple_stmt_type 1009
  ------------------
 1913|  69.3k|    p->level--;
 1914|  69.3k|    return _res;
 1915|  60.1k|}
parser.c:assignment_rule:
 2118|  69.3k|{
 2119|  69.3k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   138k|#  define MAXSTACK 6000
  ------------------
  |  Branch (2119:9): [True: 0, False: 69.3k]
  |  Branch (2119:35): [True: 0, False: 69.3k]
  ------------------
 2120|      0|        _Pypegen_stack_overflow(p);
 2121|      0|    }
 2122|  69.3k|    if (p->error_indicator) {
  ------------------
  |  Branch (2122:9): [True: 0, False: 69.3k]
  ------------------
 2123|      0|        p->level--;
 2124|      0|        return NULL;
 2125|      0|    }
 2126|  69.3k|    stmt_ty _res = NULL;
 2127|  69.3k|    int _mark = p->mark;
 2128|  69.3k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (2128:9): [True: 0, False: 69.3k]
  |  Branch (2128:31): [True: 0, False: 0]
  ------------------
 2129|      0|        p->error_indicator = 1;
 2130|      0|        p->level--;
 2131|      0|        return NULL;
 2132|      0|    }
 2133|  69.3k|    int _start_lineno = p->tokens[_mark]->lineno;
 2134|  69.3k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|  69.3k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 69.3k]
  |  |  ------------------
  ------------------
 2135|  69.3k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 2136|  69.3k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|  69.3k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 69.3k]
  |  |  ------------------
  ------------------
 2137|  69.3k|    { // NAME ':' expression ['=' annotated_rhs]
 2138|  69.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (2138:13): [True: 0, False: 69.3k]
  ------------------
 2139|      0|            p->level--;
 2140|      0|            return NULL;
 2141|      0|        }
 2142|  69.3k|        D(fprintf(stderr, "%*c> assignment[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME ':' expression ['=' annotated_rhs]"));
 2143|  69.3k|        Token * _literal;
 2144|  69.3k|        expr_ty a;
 2145|  69.3k|        expr_ty b;
 2146|  69.3k|        void *c;
 2147|  69.3k|        if (
 2148|  69.3k|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (2148:13): [True: 5.64k, False: 63.7k]
  ------------------
 2149|  5.64k|            &&
 2150|  5.64k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (2150:13): [True: 8, False: 5.63k]
  ------------------
 2151|      8|            &&
 2152|      8|            (b = expression_rule(p))  // expression
  ------------------
  |  Branch (2152:13): [True: 8, False: 0]
  ------------------
 2153|      8|            &&
 2154|      8|            (c = _tmp_10_rule(p), !p->error_indicator)  // ['=' annotated_rhs]
  ------------------
  |  Branch (2154:13): [True: 8, False: 0]
  ------------------
 2155|  69.3k|        )
 2156|      8|        {
 2157|      8|            D(fprintf(stderr, "%*c+ assignment[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME ':' expression ['=' annotated_rhs]"));
 2158|      8|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 2159|      8|            if (_token == NULL) {
  ------------------
  |  Branch (2159:17): [True: 0, False: 8]
  ------------------
 2160|      0|                p->level--;
 2161|      0|                return NULL;
 2162|      0|            }
 2163|      8|            int _end_lineno = _token->end_lineno;
 2164|      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]
  |  |  ------------------
  ------------------
 2165|      8|            int _end_col_offset = _token->end_col_offset;
 2166|      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]
  |  |  ------------------
  ------------------
 2167|      8|            _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|      8|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
 2168|      8|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2168:18): [True: 0, False: 8]
  |  Branch (2168:34): [True: 0, False: 8]
  |  Branch (2168:57): [True: 0, False: 0]
  ------------------
 2169|      0|                p->error_indicator = 1;
 2170|      0|                p->level--;
 2171|      0|                return NULL;
 2172|      0|            }
 2173|      8|            goto done;
 2174|      8|        }
 2175|  69.3k|        p->mark = _mark;
 2176|  69.3k|        D(fprintf(stderr, "%*c%s assignment[%d-%d]: %s failed!\n", p->level, ' ',
 2177|  69.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME ':' expression ['=' annotated_rhs]"));
 2178|  69.3k|    }
 2179|      0|    { // ('(' single_target ')' | single_subscript_attribute_target) ':' expression ['=' annotated_rhs]
 2180|  69.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (2180:13): [True: 0, False: 69.3k]
  ------------------
 2181|      0|            p->level--;
 2182|      0|            return NULL;
 2183|      0|        }
 2184|  69.3k|        D(fprintf(stderr, "%*c> assignment[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "('(' single_target ')' | single_subscript_attribute_target) ':' expression ['=' annotated_rhs]"));
 2185|  69.3k|        Token * _literal;
 2186|  69.3k|        void *a;
 2187|  69.3k|        expr_ty b;
 2188|  69.3k|        void *c;
 2189|  69.3k|        if (
 2190|  69.3k|            (a = _tmp_11_rule(p))  // '(' single_target ')' | single_subscript_attribute_target
  ------------------
  |  Branch (2190:13): [True: 1.18k, False: 68.1k]
  ------------------
 2191|  1.18k|            &&
 2192|  1.18k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (2192:13): [True: 2, False: 1.18k]
  ------------------
 2193|      2|            &&
 2194|      2|            (b = expression_rule(p))  // expression
  ------------------
  |  Branch (2194:13): [True: 2, False: 0]
  ------------------
 2195|      2|            &&
 2196|      2|            (c = _tmp_10_rule(p), !p->error_indicator)  // ['=' annotated_rhs]
  ------------------
  |  Branch (2196:13): [True: 2, False: 0]
  ------------------
 2197|  69.3k|        )
 2198|      2|        {
 2199|      2|            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|      2|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 2201|      2|            if (_token == NULL) {
  ------------------
  |  Branch (2201:17): [True: 0, False: 2]
  ------------------
 2202|      0|                p->level--;
 2203|      0|                return NULL;
 2204|      0|            }
 2205|      2|            int _end_lineno = _token->end_lineno;
 2206|      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]
  |  |  ------------------
  ------------------
 2207|      2|            int _end_col_offset = _token->end_col_offset;
 2208|      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]
  |  |  ------------------
  ------------------
 2209|      2|            _res = CHECK_VERSION ( stmt_ty , 6 , "Variable annotations syntax is" , _PyAST_AnnAssign ( a , b , c , 0 , EXTRA ) );
  ------------------
  |  |  307|      2|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
 2210|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2210:18): [True: 0, False: 2]
  |  Branch (2210:34): [True: 0, False: 2]
  |  Branch (2210:57): [True: 0, False: 0]
  ------------------
 2211|      0|                p->error_indicator = 1;
 2212|      0|                p->level--;
 2213|      0|                return NULL;
 2214|      0|            }
 2215|      2|            goto done;
 2216|      2|        }
 2217|  69.3k|        p->mark = _mark;
 2218|  69.3k|        D(fprintf(stderr, "%*c%s assignment[%d-%d]: %s failed!\n", p->level, ' ',
 2219|  69.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "('(' single_target ')' | single_subscript_attribute_target) ':' expression ['=' annotated_rhs]"));
 2220|  69.3k|    }
 2221|      0|    { // ((star_targets '='))+ annotated_rhs !'=' TYPE_COMMENT?
 2222|  69.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (2222:13): [True: 0, False: 69.3k]
  ------------------
 2223|      0|            p->level--;
 2224|      0|            return NULL;
 2225|      0|        }
 2226|  69.3k|        D(fprintf(stderr, "%*c> assignment[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "((star_targets '='))+ annotated_rhs !'=' TYPE_COMMENT?"));
 2227|  69.3k|        asdl_expr_seq* a;
 2228|  69.3k|        expr_ty b;
 2229|  69.3k|        void *tc;
 2230|  69.3k|        if (
 2231|  69.3k|            (a = (asdl_expr_seq*)_loop1_12_rule(p))  // ((star_targets '='))+
  ------------------
  |  Branch (2231:13): [True: 3.47k, False: 65.8k]
  ------------------
 2232|  3.47k|            &&
 2233|  3.47k|            (b = annotated_rhs_rule(p))  // annotated_rhs
  ------------------
  |  Branch (2233:13): [True: 3.47k, False: 0]
  ------------------
 2234|  3.47k|            &&
 2235|  3.47k|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 22)  // token='='
  ------------------
  |  Branch (2235:13): [True: 3.47k, False: 0]
  ------------------
 2236|  3.47k|            &&
 2237|  3.47k|            (tc = _PyPegen_expect_token(p, TYPE_COMMENT), !p->error_indicator)  // TYPE_COMMENT?
  ------------------
  |  |   73|  3.47k|#define TYPE_COMMENT    57
  ------------------
  |  Branch (2237:13): [True: 3.47k, False: 0]
  ------------------
 2238|  69.3k|        )
 2239|  3.47k|        {
 2240|  3.47k|            D(fprintf(stderr, "%*c+ assignment[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "((star_targets '='))+ annotated_rhs !'=' TYPE_COMMENT?"));
 2241|  3.47k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 2242|  3.47k|            if (_token == NULL) {
  ------------------
  |  Branch (2242:17): [True: 0, False: 3.47k]
  ------------------
 2243|      0|                p->level--;
 2244|      0|                return NULL;
 2245|      0|            }
 2246|  3.47k|            int _end_lineno = _token->end_lineno;
 2247|  3.47k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|  3.47k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 3.47k]
  |  |  ------------------
  ------------------
 2248|  3.47k|            int _end_col_offset = _token->end_col_offset;
 2249|  3.47k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|  3.47k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 3.47k]
  |  |  ------------------
  ------------------
 2250|  3.47k|            _res = _PyAST_Assign ( a , b , NEW_TYPE_COMMENT ( p , tc ) , EXTRA );
  ------------------
  |  |  269|  3.47k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 2251|  3.47k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2251:18): [True: 0, False: 3.47k]
  |  Branch (2251:34): [True: 0, False: 3.47k]
  |  Branch (2251:57): [True: 0, False: 0]
  ------------------
 2252|      0|                p->error_indicator = 1;
 2253|      0|                p->level--;
 2254|      0|                return NULL;
 2255|      0|            }
 2256|  3.47k|            goto done;
 2257|  3.47k|        }
 2258|  65.8k|        p->mark = _mark;
 2259|  65.8k|        D(fprintf(stderr, "%*c%s assignment[%d-%d]: %s failed!\n", p->level, ' ',
 2260|  65.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "((star_targets '='))+ annotated_rhs !'=' TYPE_COMMENT?"));
 2261|  65.8k|    }
 2262|      0|    { // single_target augassign ~ annotated_rhs
 2263|  65.8k|        if (p->error_indicator) {
  ------------------
  |  Branch (2263:13): [True: 0, False: 65.8k]
  ------------------
 2264|      0|            p->level--;
 2265|      0|            return NULL;
 2266|      0|        }
 2267|  65.8k|        D(fprintf(stderr, "%*c> assignment[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "single_target augassign ~ annotated_rhs"));
 2268|  65.8k|        int _cut_var = 0;
 2269|  65.8k|        expr_ty a;
 2270|  65.8k|        AugOperator* b;
 2271|  65.8k|        expr_ty c;
 2272|  65.8k|        if (
 2273|  65.8k|            (a = single_target_rule(p))  // single_target
  ------------------
  |  Branch (2273:13): [True: 2.16k, False: 63.7k]
  ------------------
 2274|  2.16k|            &&
 2275|  2.16k|            (b = augassign_rule(p))  // augassign
  ------------------
  |  Branch (2275:13): [True: 178, False: 1.98k]
  ------------------
 2276|    178|            &&
 2277|    178|            (_cut_var = 1)
  ------------------
  |  Branch (2277:13): [True: 178, False: 0]
  ------------------
 2278|    178|            &&
 2279|    178|            (c = annotated_rhs_rule(p))  // annotated_rhs
  ------------------
  |  Branch (2279:13): [True: 178, False: 0]
  ------------------
 2280|  65.8k|        )
 2281|    178|        {
 2282|    178|            D(fprintf(stderr, "%*c+ assignment[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "single_target augassign ~ annotated_rhs"));
 2283|    178|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 2284|    178|            if (_token == NULL) {
  ------------------
  |  Branch (2284:17): [True: 0, False: 178]
  ------------------
 2285|      0|                p->level--;
 2286|      0|                return NULL;
 2287|      0|            }
 2288|    178|            int _end_lineno = _token->end_lineno;
 2289|    178|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    178|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 178]
  |  |  ------------------
  ------------------
 2290|    178|            int _end_col_offset = _token->end_col_offset;
 2291|    178|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    178|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 178]
  |  |  ------------------
  ------------------
 2292|    178|            _res = _PyAST_AugAssign ( a , b -> kind , c , EXTRA );
  ------------------
  |  |  269|    178|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 2293|    178|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2293:18): [True: 0, False: 178]
  |  Branch (2293:34): [True: 0, False: 178]
  |  Branch (2293:57): [True: 0, False: 0]
  ------------------
 2294|      0|                p->error_indicator = 1;
 2295|      0|                p->level--;
 2296|      0|                return NULL;
 2297|      0|            }
 2298|    178|            goto done;
 2299|    178|        }
 2300|  65.6k|        p->mark = _mark;
 2301|  65.6k|        D(fprintf(stderr, "%*c%s assignment[%d-%d]: %s failed!\n", p->level, ' ',
 2302|  65.6k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "single_target augassign ~ annotated_rhs"));
 2303|  65.6k|        if (_cut_var) {
  ------------------
  |  Branch (2303:13): [True: 0, False: 65.6k]
  ------------------
 2304|      0|            p->level--;
 2305|      0|            return NULL;
 2306|      0|        }
 2307|  65.6k|    }
 2308|  65.6k|    if (p->call_invalid_rules) { // invalid_assignment
  ------------------
  |  Branch (2308:9): [True: 27.1k, False: 38.5k]
  ------------------
 2309|  27.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (2309:13): [True: 0, False: 27.1k]
  ------------------
 2310|      0|            p->level--;
 2311|      0|            return NULL;
 2312|      0|        }
 2313|  27.1k|        D(fprintf(stderr, "%*c> assignment[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_assignment"));
 2314|  27.1k|        void *invalid_assignment_var;
 2315|  27.1k|        if (
 2316|  27.1k|            (invalid_assignment_var = invalid_assignment_rule(p))  // invalid_assignment
  ------------------
  |  Branch (2316:13): [True: 0, False: 27.1k]
  ------------------
 2317|  27.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|  27.1k|        p->mark = _mark;
 2324|  27.1k|        D(fprintf(stderr, "%*c%s assignment[%d-%d]: %s failed!\n", p->level, ' ',
 2325|  27.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_assignment"));
 2326|  27.1k|    }
 2327|  65.6k|    _res = NULL;
 2328|  69.3k|  done:
 2329|  69.3k|    p->level--;
 2330|  69.3k|    return _res;
 2331|  65.6k|}
parser.c:_tmp_10_rule:
29019|     10|{
29020|     10|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     20|#  define MAXSTACK 6000
  ------------------
  |  Branch (29020:9): [True: 0, False: 10]
  |  Branch (29020:35): [True: 0, False: 10]
  ------------------
29021|      0|        _Pypegen_stack_overflow(p);
29022|      0|    }
29023|     10|    if (p->error_indicator) {
  ------------------
  |  Branch (29023:9): [True: 0, False: 10]
  ------------------
29024|      0|        p->level--;
29025|      0|        return NULL;
29026|      0|    }
29027|     10|    void * _res = NULL;
29028|     10|    int _mark = p->mark;
29029|     10|    { // '=' annotated_rhs
29030|     10|        if (p->error_indicator) {
  ------------------
  |  Branch (29030:13): [True: 0, False: 10]
  ------------------
29031|      0|            p->level--;
29032|      0|            return NULL;
29033|      0|        }
29034|     10|        D(fprintf(stderr, "%*c> _tmp_10[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'=' annotated_rhs"));
29035|     10|        Token * _literal;
29036|     10|        expr_ty d;
29037|     10|        if (
29038|     10|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (29038:13): [True: 6, False: 4]
  ------------------
29039|      6|            &&
29040|      6|            (d = annotated_rhs_rule(p))  // annotated_rhs
  ------------------
  |  Branch (29040:13): [True: 6, False: 0]
  ------------------
29041|     10|        )
29042|      6|        {
29043|      6|            D(fprintf(stderr, "%*c+ _tmp_10[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'=' annotated_rhs"));
29044|      6|            _res = d;
29045|      6|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (29045:18): [True: 0, False: 6]
  |  Branch (29045:34): [True: 0, False: 6]
  |  Branch (29045:57): [True: 0, False: 0]
  ------------------
29046|      0|                p->error_indicator = 1;
29047|      0|                p->level--;
29048|      0|                return NULL;
29049|      0|            }
29050|      6|            goto done;
29051|      6|        }
29052|      4|        p->mark = _mark;
29053|      4|        D(fprintf(stderr, "%*c%s _tmp_10[%d-%d]: %s failed!\n", p->level, ' ',
29054|      4|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'=' annotated_rhs"));
29055|      4|    }
29056|      4|    _res = NULL;
29057|     10|  done:
29058|     10|    p->level--;
29059|     10|    return _res;
29060|      4|}
parser.c:_tmp_11_rule:
29065|  69.3k|{
29066|  69.3k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   138k|#  define MAXSTACK 6000
  ------------------
  |  Branch (29066:9): [True: 0, False: 69.3k]
  |  Branch (29066:35): [True: 0, False: 69.3k]
  ------------------
29067|      0|        _Pypegen_stack_overflow(p);
29068|      0|    }
29069|  69.3k|    if (p->error_indicator) {
  ------------------
  |  Branch (29069:9): [True: 0, False: 69.3k]
  ------------------
29070|      0|        p->level--;
29071|      0|        return NULL;
29072|      0|    }
29073|  69.3k|    void * _res = NULL;
29074|  69.3k|    int _mark = p->mark;
29075|  69.3k|    { // '(' single_target ')'
29076|  69.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (29076:13): [True: 0, False: 69.3k]
  ------------------
29077|      0|            p->level--;
29078|      0|            return NULL;
29079|      0|        }
29080|  69.3k|        D(fprintf(stderr, "%*c> _tmp_11[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' single_target ')'"));
29081|  69.3k|        Token * _literal;
29082|  69.3k|        Token * _literal_1;
29083|  69.3k|        expr_ty b;
29084|  69.3k|        if (
29085|  69.3k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (29085:13): [True: 2, False: 69.3k]
  ------------------
29086|      2|            &&
29087|      2|            (b = single_target_rule(p))  // single_target
  ------------------
  |  Branch (29087:13): [True: 2, False: 0]
  ------------------
29088|      2|            &&
29089|      2|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (29089:13): [True: 0, False: 2]
  ------------------
29090|  69.3k|        )
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|  69.3k|        p->mark = _mark;
29102|  69.3k|        D(fprintf(stderr, "%*c%s _tmp_11[%d-%d]: %s failed!\n", p->level, ' ',
29103|  69.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' single_target ')'"));
29104|  69.3k|    }
29105|      0|    { // single_subscript_attribute_target
29106|  69.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (29106:13): [True: 0, False: 69.3k]
  ------------------
29107|      0|            p->level--;
29108|      0|            return NULL;
29109|      0|        }
29110|  69.3k|        D(fprintf(stderr, "%*c> _tmp_11[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "single_subscript_attribute_target"));
29111|  69.3k|        expr_ty single_subscript_attribute_target_var;
29112|  69.3k|        if (
29113|  69.3k|            (single_subscript_attribute_target_var = single_subscript_attribute_target_rule(p))  // single_subscript_attribute_target
  ------------------
  |  Branch (29113:13): [True: 1.18k, False: 68.1k]
  ------------------
29114|  69.3k|        )
29115|  1.18k|        {
29116|  1.18k|            D(fprintf(stderr, "%*c+ _tmp_11[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "single_subscript_attribute_target"));
29117|  1.18k|            _res = single_subscript_attribute_target_var;
29118|  1.18k|            goto done;
29119|  1.18k|        }
29120|  68.1k|        p->mark = _mark;
29121|  68.1k|        D(fprintf(stderr, "%*c%s _tmp_11[%d-%d]: %s failed!\n", p->level, ' ',
29122|  68.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "single_subscript_attribute_target"));
29123|  68.1k|    }
29124|  68.1k|    _res = NULL;
29125|  69.3k|  done:
29126|  69.3k|    p->level--;
29127|  69.3k|    return _res;
29128|  68.1k|}
parser.c:single_subscript_attribute_target_rule:
19903|   135k|{
19904|   135k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   270k|#  define MAXSTACK 6000
  ------------------
  |  Branch (19904:9): [True: 0, False: 135k]
  |  Branch (19904:35): [True: 0, False: 135k]
  ------------------
19905|      0|        _Pypegen_stack_overflow(p);
19906|      0|    }
19907|   135k|    if (p->error_indicator) {
  ------------------
  |  Branch (19907:9): [True: 0, False: 135k]
  ------------------
19908|      0|        p->level--;
19909|      0|        return NULL;
19910|      0|    }
19911|   135k|    expr_ty _res = NULL;
19912|   135k|    int _mark = p->mark;
19913|   135k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (19913:9): [True: 2, False: 135k]
  |  Branch (19913:31): [True: 0, False: 2]
  ------------------
19914|      0|        p->error_indicator = 1;
19915|      0|        p->level--;
19916|      0|        return NULL;
19917|      0|    }
19918|   135k|    int _start_lineno = p->tokens[_mark]->lineno;
19919|   135k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|   135k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 135k]
  |  |  ------------------
  ------------------
19920|   135k|    int _start_col_offset = p->tokens[_mark]->col_offset;
19921|   135k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|   135k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 135k]
  |  |  ------------------
  ------------------
19922|   135k|    { // t_primary '.' NAME !t_lookahead
19923|   135k|        if (p->error_indicator) {
  ------------------
  |  Branch (19923:13): [True: 0, False: 135k]
  ------------------
19924|      0|            p->level--;
19925|      0|            return NULL;
19926|      0|        }
19927|   135k|        D(fprintf(stderr, "%*c> single_subscript_attribute_target[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "t_primary '.' NAME !t_lookahead"));
19928|   135k|        Token * _literal;
19929|   135k|        expr_ty a;
19930|   135k|        expr_ty b;
19931|   135k|        if (
19932|   135k|            (a = t_primary_rule(p))  // t_primary
  ------------------
  |  Branch (19932:13): [True: 5.19k, False: 130k]
  ------------------
19933|  5.19k|            &&
19934|  5.19k|            (_literal = _PyPegen_expect_token(p, 23))  // token='.'
  ------------------
  |  Branch (19934:13): [True: 1.08k, False: 4.11k]
  ------------------
19935|  1.08k|            &&
19936|  1.08k|            (b = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (19936:13): [True: 1.08k, False: 0]
  ------------------
19937|  1.08k|            &&
19938|  1.08k|            _PyPegen_lookahead(0, t_lookahead_rule, p)
  ------------------
  |  Branch (19938:13): [True: 1.08k, False: 0]
  ------------------
19939|   135k|        )
19940|  1.08k|        {
19941|  1.08k|            D(fprintf(stderr, "%*c+ single_subscript_attribute_target[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "t_primary '.' NAME !t_lookahead"));
19942|  1.08k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
19943|  1.08k|            if (_token == NULL) {
  ------------------
  |  Branch (19943:17): [True: 0, False: 1.08k]
  ------------------
19944|      0|                p->level--;
19945|      0|                return NULL;
19946|      0|            }
19947|  1.08k|            int _end_lineno = _token->end_lineno;
19948|  1.08k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|  1.08k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 1.08k]
  |  |  ------------------
  ------------------
19949|  1.08k|            int _end_col_offset = _token->end_col_offset;
19950|  1.08k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|  1.08k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 1.08k]
  |  |  ------------------
  ------------------
19951|  1.08k|            _res = _PyAST_Attribute ( a , b -> v . Name . id , Store , EXTRA );
  ------------------
  |  |  269|  1.08k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
19952|  1.08k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19952:18): [True: 0, False: 1.08k]
  |  Branch (19952:34): [True: 0, False: 1.08k]
  |  Branch (19952:57): [True: 0, False: 0]
  ------------------
19953|      0|                p->error_indicator = 1;
19954|      0|                p->level--;
19955|      0|                return NULL;
19956|      0|            }
19957|  1.08k|            goto done;
19958|  1.08k|        }
19959|   134k|        p->mark = _mark;
19960|   134k|        D(fprintf(stderr, "%*c%s single_subscript_attribute_target[%d-%d]: %s failed!\n", p->level, ' ',
19961|   134k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "t_primary '.' NAME !t_lookahead"));
19962|   134k|    }
19963|      0|    { // t_primary '[' slices ']' !t_lookahead
19964|   134k|        if (p->error_indicator) {
  ------------------
  |  Branch (19964:13): [True: 0, False: 134k]
  ------------------
19965|      0|            p->level--;
19966|      0|            return NULL;
19967|      0|        }
19968|   134k|        D(fprintf(stderr, "%*c> single_subscript_attribute_target[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "t_primary '[' slices ']' !t_lookahead"));
19969|   134k|        Token * _literal;
19970|   134k|        Token * _literal_1;
19971|   134k|        expr_ty a;
19972|   134k|        expr_ty b;
19973|   134k|        if (
19974|   134k|            (a = t_primary_rule(p))  // t_primary
  ------------------
  |  Branch (19974:13): [True: 4.11k, False: 130k]
  ------------------
19975|  4.11k|            &&
19976|  4.11k|            (_literal = _PyPegen_expect_token(p, 9))  // token='['
  ------------------
  |  Branch (19976:13): [True: 155, False: 3.95k]
  ------------------
19977|    155|            &&
19978|    155|            (b = slices_rule(p))  // slices
  ------------------
  |  Branch (19978:13): [True: 155, False: 0]
  ------------------
19979|    155|            &&
19980|    155|            (_literal_1 = _PyPegen_expect_token(p, 10))  // token=']'
  ------------------
  |  Branch (19980:13): [True: 155, False: 0]
  ------------------
19981|    155|            &&
19982|    155|            _PyPegen_lookahead(0, t_lookahead_rule, p)
  ------------------
  |  Branch (19982:13): [True: 155, False: 0]
  ------------------
19983|   134k|        )
19984|    155|        {
19985|    155|            D(fprintf(stderr, "%*c+ single_subscript_attribute_target[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "t_primary '[' slices ']' !t_lookahead"));
19986|    155|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
19987|    155|            if (_token == NULL) {
  ------------------
  |  Branch (19987:17): [True: 0, False: 155]
  ------------------
19988|      0|                p->level--;
19989|      0|                return NULL;
19990|      0|            }
19991|    155|            int _end_lineno = _token->end_lineno;
19992|    155|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    155|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 155]
  |  |  ------------------
  ------------------
19993|    155|            int _end_col_offset = _token->end_col_offset;
19994|    155|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    155|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 155]
  |  |  ------------------
  ------------------
19995|    155|            _res = _PyAST_Subscript ( a , b , Store , EXTRA );
  ------------------
  |  |  269|    155|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
19996|    155|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19996:18): [True: 0, False: 155]
  |  Branch (19996:34): [True: 0, False: 155]
  |  Branch (19996:57): [True: 0, False: 0]
  ------------------
19997|      0|                p->error_indicator = 1;
19998|      0|                p->level--;
19999|      0|                return NULL;
20000|      0|            }
20001|    155|            goto done;
20002|    155|        }
20003|   133k|        p->mark = _mark;
20004|   133k|        D(fprintf(stderr, "%*c%s single_subscript_attribute_target[%d-%d]: %s failed!\n", p->level, ' ',
20005|   133k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "t_primary '[' slices ']' !t_lookahead"));
20006|   133k|    }
20007|   133k|    _res = NULL;
20008|   135k|  done:
20009|   135k|    p->level--;
20010|   135k|    return _res;
20011|   133k|}
parser.c:_loop1_12_rule:
29133|  69.3k|{
29134|  69.3k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   138k|#  define MAXSTACK 6000
  ------------------
  |  Branch (29134:9): [True: 0, False: 69.3k]
  |  Branch (29134:35): [True: 0, False: 69.3k]
  ------------------
29135|      0|        _Pypegen_stack_overflow(p);
29136|      0|    }
29137|  69.3k|    if (p->error_indicator) {
  ------------------
  |  Branch (29137:9): [True: 0, False: 69.3k]
  ------------------
29138|      0|        p->level--;
29139|      0|        return NULL;
29140|      0|    }
29141|  69.3k|    void *_res = NULL;
29142|  69.3k|    int _mark = p->mark;
29143|  69.3k|    void **_children = PyMem_Malloc(sizeof(void *));
29144|  69.3k|    if (!_children) {
  ------------------
  |  Branch (29144:9): [True: 0, False: 69.3k]
  ------------------
29145|      0|        p->error_indicator = 1;
29146|      0|        PyErr_NoMemory();
29147|      0|        p->level--;
29148|      0|        return NULL;
29149|      0|    }
29150|  69.3k|    Py_ssize_t _children_capacity = 1;
29151|  69.3k|    Py_ssize_t _n = 0;
29152|  69.3k|    { // (star_targets '=')
29153|  69.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (29153:13): [True: 0, False: 69.3k]
  ------------------
29154|      0|            p->level--;
29155|      0|            return NULL;
29156|      0|        }
29157|  69.3k|        D(fprintf(stderr, "%*c> _loop1_12[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(star_targets '=')"));
29158|  69.3k|        void *_tmp_159_var;
29159|  69.3k|        while (
29160|  72.8k|            (_tmp_159_var = _tmp_159_rule(p))  // star_targets '='
  ------------------
  |  Branch (29160:13): [True: 3.50k, False: 69.3k]
  ------------------
29161|  69.3k|        )
29162|  3.50k|        {
29163|  3.50k|            _res = _tmp_159_var;
29164|  3.50k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (29164:17): [True: 33, False: 3.47k]
  ------------------
29165|     33|                _children_capacity *= 2;
29166|     33|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
29167|     33|                if (!_new_children) {
  ------------------
  |  Branch (29167:21): [True: 0, False: 33]
  ------------------
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|     33|                _children = _new_children;
29175|     33|            }
29176|  3.50k|            _children[_n++] = _res;
29177|  3.50k|            _mark = p->mark;
29178|  3.50k|        }
29179|  69.3k|        p->mark = _mark;
29180|  69.3k|        D(fprintf(stderr, "%*c%s _loop1_12[%d-%d]: %s failed!\n", p->level, ' ',
29181|  69.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(star_targets '=')"));
29182|  69.3k|    }
29183|  69.3k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (29183:9): [True: 65.8k, False: 3.47k]
  |  Branch (29183:20): [True: 0, False: 3.47k]
  ------------------
29184|  65.8k|        PyMem_Free(_children);
29185|  65.8k|        p->level--;
29186|  65.8k|        return NULL;
29187|  65.8k|    }
29188|  3.47k|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
29189|  3.47k|    if (!_seq) {
  ------------------
  |  Branch (29189:9): [True: 0, False: 3.47k]
  ------------------
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|  6.98k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  3.50k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  6.98k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (29196:28): [True: 3.50k, False: 3.47k]
  ------------------
29197|  3.47k|    PyMem_Free(_children);
29198|  3.47k|    p->level--;
29199|  3.47k|    return _seq;
29200|  3.47k|}
parser.c:_tmp_159_rule:
38290|   127k|{
38291|   127k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   254k|#  define MAXSTACK 6000
  ------------------
  |  Branch (38291:9): [True: 0, False: 127k]
  |  Branch (38291:35): [True: 0, False: 127k]
  ------------------
38292|      0|        _Pypegen_stack_overflow(p);
38293|      0|    }
38294|   127k|    if (p->error_indicator) {
  ------------------
  |  Branch (38294:9): [True: 0, False: 127k]
  ------------------
38295|      0|        p->level--;
38296|      0|        return NULL;
38297|      0|    }
38298|   127k|    void * _res = NULL;
38299|   127k|    int _mark = p->mark;
38300|   127k|    { // star_targets '='
38301|   127k|        if (p->error_indicator) {
  ------------------
  |  Branch (38301:13): [True: 0, False: 127k]
  ------------------
38302|      0|            p->level--;
38303|      0|            return NULL;
38304|      0|        }
38305|   127k|        D(fprintf(stderr, "%*c> _tmp_159[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_targets '='"));
38306|   127k|        Token * _literal;
38307|   127k|        expr_ty z;
38308|   127k|        if (
38309|   127k|            (z = star_targets_rule(p))  // star_targets
  ------------------
  |  Branch (38309:13): [True: 8.02k, False: 119k]
  ------------------
38310|  8.02k|            &&
38311|  8.02k|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (38311:13): [True: 3.50k, False: 4.51k]
  ------------------
38312|   127k|        )
38313|  3.50k|        {
38314|  3.50k|            D(fprintf(stderr, "%*c+ _tmp_159[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_targets '='"));
38315|  3.50k|            _res = z;
38316|  3.50k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (38316:18): [True: 0, False: 3.50k]
  |  Branch (38316:34): [True: 0, False: 3.50k]
  |  Branch (38316:57): [True: 0, False: 0]
  ------------------
38317|      0|                p->error_indicator = 1;
38318|      0|                p->level--;
38319|      0|                return NULL;
38320|      0|            }
38321|  3.50k|            goto done;
38322|  3.50k|        }
38323|   123k|        p->mark = _mark;
38324|   123k|        D(fprintf(stderr, "%*c%s _tmp_159[%d-%d]: %s failed!\n", p->level, ' ',
38325|   123k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_targets '='"));
38326|   123k|    }
38327|   123k|    _res = NULL;
38328|   127k|  done:
38329|   127k|    p->level--;
38330|   127k|    return _res;
38331|   123k|}
parser.c:single_target_rule:
19809|  65.8k|{
19810|  65.8k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   131k|#  define MAXSTACK 6000
  ------------------
  |  Branch (19810:9): [True: 0, False: 65.8k]
  |  Branch (19810:35): [True: 0, False: 65.8k]
  ------------------
19811|      0|        _Pypegen_stack_overflow(p);
19812|      0|    }
19813|  65.8k|    if (p->error_indicator) {
  ------------------
  |  Branch (19813:9): [True: 0, False: 65.8k]
  ------------------
19814|      0|        p->level--;
19815|      0|        return NULL;
19816|      0|    }
19817|  65.8k|    expr_ty _res = NULL;
19818|  65.8k|    int _mark = p->mark;
19819|  65.8k|    { // single_subscript_attribute_target
19820|  65.8k|        if (p->error_indicator) {
  ------------------
  |  Branch (19820:13): [True: 0, False: 65.8k]
  ------------------
19821|      0|            p->level--;
19822|      0|            return NULL;
19823|      0|        }
19824|  65.8k|        D(fprintf(stderr, "%*c> single_target[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "single_subscript_attribute_target"));
19825|  65.8k|        expr_ty single_subscript_attribute_target_var;
19826|  65.8k|        if (
19827|  65.8k|            (single_subscript_attribute_target_var = single_subscript_attribute_target_rule(p))  // single_subscript_attribute_target
  ------------------
  |  Branch (19827:13): [True: 51, False: 65.8k]
  ------------------
19828|  65.8k|        )
19829|     51|        {
19830|     51|            D(fprintf(stderr, "%*c+ single_target[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "single_subscript_attribute_target"));
19831|     51|            _res = single_subscript_attribute_target_var;
19832|     51|            goto done;
19833|     51|        }
19834|  65.8k|        p->mark = _mark;
19835|  65.8k|        D(fprintf(stderr, "%*c%s single_target[%d-%d]: %s failed!\n", p->level, ' ',
19836|  65.8k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "single_subscript_attribute_target"));
19837|  65.8k|    }
19838|      0|    { // NAME
19839|  65.8k|        if (p->error_indicator) {
  ------------------
  |  Branch (19839:13): [True: 0, False: 65.8k]
  ------------------
19840|      0|            p->level--;
19841|      0|            return NULL;
19842|      0|        }
19843|  65.8k|        D(fprintf(stderr, "%*c> single_target[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME"));
19844|  65.8k|        expr_ty a;
19845|  65.8k|        if (
19846|  65.8k|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (19846:13): [True: 2.11k, False: 63.7k]
  ------------------
19847|  65.8k|        )
19848|  2.11k|        {
19849|  2.11k|            D(fprintf(stderr, "%*c+ single_target[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME"));
19850|  2.11k|            _res = _PyPegen_set_expr_context ( p , a , Store );
19851|  2.11k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (19851:18): [True: 0, False: 2.11k]
  |  Branch (19851:34): [True: 0, False: 2.11k]
  |  Branch (19851:57): [True: 0, False: 0]
  ------------------
19852|      0|                p->error_indicator = 1;
19853|      0|                p->level--;
19854|      0|                return NULL;
19855|      0|            }
19856|  2.11k|            goto done;
19857|  2.11k|        }
19858|  63.7k|        p->mark = _mark;
19859|  63.7k|        D(fprintf(stderr, "%*c%s single_target[%d-%d]: %s failed!\n", p->level, ' ',
19860|  63.7k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME"));
19861|  63.7k|    }
19862|      0|    { // '(' single_target ')'
19863|  63.7k|        if (p->error_indicator) {
  ------------------
  |  Branch (19863:13): [True: 0, False: 63.7k]
  ------------------
19864|      0|            p->level--;
19865|      0|            return NULL;
19866|      0|        }
19867|  63.7k|        D(fprintf(stderr, "%*c> single_target[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' single_target ')'"));
19868|  63.7k|        Token * _literal;
19869|  63.7k|        Token * _literal_1;
19870|  63.7k|        expr_ty a;
19871|  63.7k|        if (
19872|  63.7k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (19872:13): [True: 0, False: 63.7k]
  ------------------
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|  63.7k|        )
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|  63.7k|        p->mark = _mark;
19889|  63.7k|        D(fprintf(stderr, "%*c%s single_target[%d-%d]: %s failed!\n", p->level, ' ',
19890|  63.7k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' single_target ')'"));
19891|  63.7k|    }
19892|  63.7k|    _res = NULL;
19893|  65.8k|  done:
19894|  65.8k|    p->level--;
19895|  65.8k|    return _res;
19896|  63.7k|}
parser.c:augassign_rule:
 2406|  2.16k|{
 2407|  2.16k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  4.32k|#  define MAXSTACK 6000
  ------------------
  |  Branch (2407:9): [True: 0, False: 2.16k]
  |  Branch (2407:35): [True: 0, False: 2.16k]
  ------------------
 2408|      0|        _Pypegen_stack_overflow(p);
 2409|      0|    }
 2410|  2.16k|    if (p->error_indicator) {
  ------------------
  |  Branch (2410:9): [True: 0, False: 2.16k]
  ------------------
 2411|      0|        p->level--;
 2412|      0|        return NULL;
 2413|      0|    }
 2414|  2.16k|    AugOperator* _res = NULL;
 2415|  2.16k|    int _mark = p->mark;
 2416|  2.16k|    { // '+='
 2417|  2.16k|        if (p->error_indicator) {
  ------------------
  |  Branch (2417:13): [True: 0, False: 2.16k]
  ------------------
 2418|      0|            p->level--;
 2419|      0|            return NULL;
 2420|      0|        }
 2421|  2.16k|        D(fprintf(stderr, "%*c> augassign[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'+='"));
 2422|  2.16k|        Token * _literal;
 2423|  2.16k|        if (
 2424|  2.16k|            (_literal = _PyPegen_expect_token(p, 36))  // token='+='
  ------------------
  |  Branch (2424:13): [True: 134, False: 2.02k]
  ------------------
 2425|  2.16k|        )
 2426|    134|        {
 2427|    134|            D(fprintf(stderr, "%*c+ augassign[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'+='"));
 2428|    134|            _res = _PyPegen_augoperator ( p , Add );
 2429|    134|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2429:18): [True: 0, False: 134]
  |  Branch (2429:34): [True: 0, False: 134]
  |  Branch (2429:57): [True: 0, False: 0]
  ------------------
 2430|      0|                p->error_indicator = 1;
 2431|      0|                p->level--;
 2432|      0|                return NULL;
 2433|      0|            }
 2434|    134|            goto done;
 2435|    134|        }
 2436|  2.02k|        p->mark = _mark;
 2437|  2.02k|        D(fprintf(stderr, "%*c%s augassign[%d-%d]: %s failed!\n", p->level, ' ',
 2438|  2.02k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'+='"));
 2439|  2.02k|    }
 2440|      0|    { // '-='
 2441|  2.02k|        if (p->error_indicator) {
  ------------------
  |  Branch (2441:13): [True: 0, False: 2.02k]
  ------------------
 2442|      0|            p->level--;
 2443|      0|            return NULL;
 2444|      0|        }
 2445|  2.02k|        D(fprintf(stderr, "%*c> augassign[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'-='"));
 2446|  2.02k|        Token * _literal;
 2447|  2.02k|        if (
 2448|  2.02k|            (_literal = _PyPegen_expect_token(p, 37))  // token='-='
  ------------------
  |  Branch (2448:13): [True: 37, False: 1.99k]
  ------------------
 2449|  2.02k|        )
 2450|     37|        {
 2451|     37|            D(fprintf(stderr, "%*c+ augassign[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'-='"));
 2452|     37|            _res = _PyPegen_augoperator ( p , Sub );
 2453|     37|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2453:18): [True: 0, False: 37]
  |  Branch (2453:34): [True: 0, False: 37]
  |  Branch (2453:57): [True: 0, False: 0]
  ------------------
 2454|      0|                p->error_indicator = 1;
 2455|      0|                p->level--;
 2456|      0|                return NULL;
 2457|      0|            }
 2458|     37|            goto done;
 2459|     37|        }
 2460|  1.99k|        p->mark = _mark;
 2461|  1.99k|        D(fprintf(stderr, "%*c%s augassign[%d-%d]: %s failed!\n", p->level, ' ',
 2462|  1.99k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'-='"));
 2463|  1.99k|    }
 2464|      0|    { // '*='
 2465|  1.99k|        if (p->error_indicator) {
  ------------------
  |  Branch (2465:13): [True: 0, False: 1.99k]
  ------------------
 2466|      0|            p->level--;
 2467|      0|            return NULL;
 2468|      0|        }
 2469|  1.99k|        D(fprintf(stderr, "%*c> augassign[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*='"));
 2470|  1.99k|        Token * _literal;
 2471|  1.99k|        if (
 2472|  1.99k|            (_literal = _PyPegen_expect_token(p, 38))  // token='*='
  ------------------
  |  Branch (2472:13): [True: 3, False: 1.98k]
  ------------------
 2473|  1.99k|        )
 2474|      3|        {
 2475|      3|            D(fprintf(stderr, "%*c+ augassign[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*='"));
 2476|      3|            _res = _PyPegen_augoperator ( p , Mult );
 2477|      3|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2477:18): [True: 0, False: 3]
  |  Branch (2477:34): [True: 0, False: 3]
  |  Branch (2477:57): [True: 0, False: 0]
  ------------------
 2478|      0|                p->error_indicator = 1;
 2479|      0|                p->level--;
 2480|      0|                return NULL;
 2481|      0|            }
 2482|      3|            goto done;
 2483|      3|        }
 2484|  1.98k|        p->mark = _mark;
 2485|  1.98k|        D(fprintf(stderr, "%*c%s augassign[%d-%d]: %s failed!\n", p->level, ' ',
 2486|  1.98k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*='"));
 2487|  1.98k|    }
 2488|      0|    { // '@='
 2489|  1.98k|        if (p->error_indicator) {
  ------------------
  |  Branch (2489:13): [True: 0, False: 1.98k]
  ------------------
 2490|      0|            p->level--;
 2491|      0|            return NULL;
 2492|      0|        }
 2493|  1.98k|        D(fprintf(stderr, "%*c> augassign[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'@='"));
 2494|  1.98k|        Token * _literal;
 2495|  1.98k|        if (
 2496|  1.98k|            (_literal = _PyPegen_expect_token(p, 50))  // token='@='
  ------------------
  |  Branch (2496:13): [True: 0, False: 1.98k]
  ------------------
 2497|  1.98k|        )
 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|  1.98k|        p->mark = _mark;
 2509|  1.98k|        D(fprintf(stderr, "%*c%s augassign[%d-%d]: %s failed!\n", p->level, ' ',
 2510|  1.98k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'@='"));
 2511|  1.98k|    }
 2512|      0|    { // '/='
 2513|  1.98k|        if (p->error_indicator) {
  ------------------
  |  Branch (2513:13): [True: 0, False: 1.98k]
  ------------------
 2514|      0|            p->level--;
 2515|      0|            return NULL;
 2516|      0|        }
 2517|  1.98k|        D(fprintf(stderr, "%*c> augassign[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'/='"));
 2518|  1.98k|        Token * _literal;
 2519|  1.98k|        if (
 2520|  1.98k|            (_literal = _PyPegen_expect_token(p, 39))  // token='/='
  ------------------
  |  Branch (2520:13): [True: 0, False: 1.98k]
  ------------------
 2521|  1.98k|        )
 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|  1.98k|        p->mark = _mark;
 2533|  1.98k|        D(fprintf(stderr, "%*c%s augassign[%d-%d]: %s failed!\n", p->level, ' ',
 2534|  1.98k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'/='"));
 2535|  1.98k|    }
 2536|      0|    { // '%='
 2537|  1.98k|        if (p->error_indicator) {
  ------------------
  |  Branch (2537:13): [True: 0, False: 1.98k]
  ------------------
 2538|      0|            p->level--;
 2539|      0|            return NULL;
 2540|      0|        }
 2541|  1.98k|        D(fprintf(stderr, "%*c> augassign[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'%='"));
 2542|  1.98k|        Token * _literal;
 2543|  1.98k|        if (
 2544|  1.98k|            (_literal = _PyPegen_expect_token(p, 40))  // token='%='
  ------------------
  |  Branch (2544:13): [True: 0, False: 1.98k]
  ------------------
 2545|  1.98k|        )
 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|  1.98k|        p->mark = _mark;
 2557|  1.98k|        D(fprintf(stderr, "%*c%s augassign[%d-%d]: %s failed!\n", p->level, ' ',
 2558|  1.98k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'%='"));
 2559|  1.98k|    }
 2560|      0|    { // '&='
 2561|  1.98k|        if (p->error_indicator) {
  ------------------
  |  Branch (2561:13): [True: 0, False: 1.98k]
  ------------------
 2562|      0|            p->level--;
 2563|      0|            return NULL;
 2564|      0|        }
 2565|  1.98k|        D(fprintf(stderr, "%*c> augassign[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'&='"));
 2566|  1.98k|        Token * _literal;
 2567|  1.98k|        if (
 2568|  1.98k|            (_literal = _PyPegen_expect_token(p, 41))  // token='&='
  ------------------
  |  Branch (2568:13): [True: 2, False: 1.98k]
  ------------------
 2569|  1.98k|        )
 2570|      2|        {
 2571|      2|            D(fprintf(stderr, "%*c+ augassign[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'&='"));
 2572|      2|            _res = _PyPegen_augoperator ( p , BitAnd );
 2573|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2573:18): [True: 0, False: 2]
  |  Branch (2573:34): [True: 0, False: 2]
  |  Branch (2573:57): [True: 0, False: 0]
  ------------------
 2574|      0|                p->error_indicator = 1;
 2575|      0|                p->level--;
 2576|      0|                return NULL;
 2577|      0|            }
 2578|      2|            goto done;
 2579|      2|        }
 2580|  1.98k|        p->mark = _mark;
 2581|  1.98k|        D(fprintf(stderr, "%*c%s augassign[%d-%d]: %s failed!\n", p->level, ' ',
 2582|  1.98k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'&='"));
 2583|  1.98k|    }
 2584|      0|    { // '|='
 2585|  1.98k|        if (p->error_indicator) {
  ------------------
  |  Branch (2585:13): [True: 0, False: 1.98k]
  ------------------
 2586|      0|            p->level--;
 2587|      0|            return NULL;
 2588|      0|        }
 2589|  1.98k|        D(fprintf(stderr, "%*c> augassign[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'|='"));
 2590|  1.98k|        Token * _literal;
 2591|  1.98k|        if (
 2592|  1.98k|            (_literal = _PyPegen_expect_token(p, 42))  // token='|='
  ------------------
  |  Branch (2592:13): [True: 2, False: 1.98k]
  ------------------
 2593|  1.98k|        )
 2594|      2|        {
 2595|      2|            D(fprintf(stderr, "%*c+ augassign[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'|='"));
 2596|      2|            _res = _PyPegen_augoperator ( p , BitOr );
 2597|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2597:18): [True: 0, False: 2]
  |  Branch (2597:34): [True: 0, False: 2]
  |  Branch (2597:57): [True: 0, False: 0]
  ------------------
 2598|      0|                p->error_indicator = 1;
 2599|      0|                p->level--;
 2600|      0|                return NULL;
 2601|      0|            }
 2602|      2|            goto done;
 2603|      2|        }
 2604|  1.98k|        p->mark = _mark;
 2605|  1.98k|        D(fprintf(stderr, "%*c%s augassign[%d-%d]: %s failed!\n", p->level, ' ',
 2606|  1.98k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'|='"));
 2607|  1.98k|    }
 2608|      0|    { // '^='
 2609|  1.98k|        if (p->error_indicator) {
  ------------------
  |  Branch (2609:13): [True: 0, False: 1.98k]
  ------------------
 2610|      0|            p->level--;
 2611|      0|            return NULL;
 2612|      0|        }
 2613|  1.98k|        D(fprintf(stderr, "%*c> augassign[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'^='"));
 2614|  1.98k|        Token * _literal;
 2615|  1.98k|        if (
 2616|  1.98k|            (_literal = _PyPegen_expect_token(p, 43))  // token='^='
  ------------------
  |  Branch (2616:13): [True: 0, False: 1.98k]
  ------------------
 2617|  1.98k|        )
 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|  1.98k|        p->mark = _mark;
 2629|  1.98k|        D(fprintf(stderr, "%*c%s augassign[%d-%d]: %s failed!\n", p->level, ' ',
 2630|  1.98k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'^='"));
 2631|  1.98k|    }
 2632|      0|    { // '<<='
 2633|  1.98k|        if (p->error_indicator) {
  ------------------
  |  Branch (2633:13): [True: 0, False: 1.98k]
  ------------------
 2634|      0|            p->level--;
 2635|      0|            return NULL;
 2636|      0|        }
 2637|  1.98k|        D(fprintf(stderr, "%*c> augassign[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'<<='"));
 2638|  1.98k|        Token * _literal;
 2639|  1.98k|        if (
 2640|  1.98k|            (_literal = _PyPegen_expect_token(p, 44))  // token='<<='
  ------------------
  |  Branch (2640:13): [True: 0, False: 1.98k]
  ------------------
 2641|  1.98k|        )
 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|  1.98k|        p->mark = _mark;
 2653|  1.98k|        D(fprintf(stderr, "%*c%s augassign[%d-%d]: %s failed!\n", p->level, ' ',
 2654|  1.98k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'<<='"));
 2655|  1.98k|    }
 2656|      0|    { // '>>='
 2657|  1.98k|        if (p->error_indicator) {
  ------------------
  |  Branch (2657:13): [True: 0, False: 1.98k]
  ------------------
 2658|      0|            p->level--;
 2659|      0|            return NULL;
 2660|      0|        }
 2661|  1.98k|        D(fprintf(stderr, "%*c> augassign[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'>>='"));
 2662|  1.98k|        Token * _literal;
 2663|  1.98k|        if (
 2664|  1.98k|            (_literal = _PyPegen_expect_token(p, 45))  // token='>>='
  ------------------
  |  Branch (2664:13): [True: 0, False: 1.98k]
  ------------------
 2665|  1.98k|        )
 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|  1.98k|        p->mark = _mark;
 2677|  1.98k|        D(fprintf(stderr, "%*c%s augassign[%d-%d]: %s failed!\n", p->level, ' ',
 2678|  1.98k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'>>='"));
 2679|  1.98k|    }
 2680|      0|    { // '**='
 2681|  1.98k|        if (p->error_indicator) {
  ------------------
  |  Branch (2681:13): [True: 0, False: 1.98k]
  ------------------
 2682|      0|            p->level--;
 2683|      0|            return NULL;
 2684|      0|        }
 2685|  1.98k|        D(fprintf(stderr, "%*c> augassign[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**='"));
 2686|  1.98k|        Token * _literal;
 2687|  1.98k|        if (
 2688|  1.98k|            (_literal = _PyPegen_expect_token(p, 46))  // token='**='
  ------------------
  |  Branch (2688:13): [True: 0, False: 1.98k]
  ------------------
 2689|  1.98k|        )
 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|  1.98k|        p->mark = _mark;
 2701|  1.98k|        D(fprintf(stderr, "%*c%s augassign[%d-%d]: %s failed!\n", p->level, ' ',
 2702|  1.98k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**='"));
 2703|  1.98k|    }
 2704|      0|    { // '//='
 2705|  1.98k|        if (p->error_indicator) {
  ------------------
  |  Branch (2705:13): [True: 0, False: 1.98k]
  ------------------
 2706|      0|            p->level--;
 2707|      0|            return NULL;
 2708|      0|        }
 2709|  1.98k|        D(fprintf(stderr, "%*c> augassign[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'//='"));
 2710|  1.98k|        Token * _literal;
 2711|  1.98k|        if (
 2712|  1.98k|            (_literal = _PyPegen_expect_token(p, 48))  // token='//='
  ------------------
  |  Branch (2712:13): [True: 0, False: 1.98k]
  ------------------
 2713|  1.98k|        )
 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|  1.98k|        p->mark = _mark;
 2725|  1.98k|        D(fprintf(stderr, "%*c%s augassign[%d-%d]: %s failed!\n", p->level, ' ',
 2726|  1.98k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'//='"));
 2727|  1.98k|    }
 2728|  1.98k|    _res = NULL;
 2729|  2.16k|  done:
 2730|  2.16k|    p->level--;
 2731|  2.16k|    return _res;
 2732|  1.98k|}
parser.c:invalid_assignment_rule:
22162|  27.1k|{
22163|  27.1k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  54.3k|#  define MAXSTACK 6000
  ------------------
  |  Branch (22163:9): [True: 0, False: 27.1k]
  |  Branch (22163:35): [True: 0, False: 27.1k]
  ------------------
22164|      0|        _Pypegen_stack_overflow(p);
22165|      0|    }
22166|  27.1k|    if (p->error_indicator) {
  ------------------
  |  Branch (22166:9): [True: 0, False: 27.1k]
  ------------------
22167|      0|        p->level--;
22168|      0|        return NULL;
22169|      0|    }
22170|  27.1k|    void * _res = NULL;
22171|  27.1k|    int _mark = p->mark;
22172|  27.1k|    { // invalid_ann_assign_target ':' expression
22173|  27.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (22173:13): [True: 0, False: 27.1k]
  ------------------
22174|      0|            p->level--;
22175|      0|            return NULL;
22176|      0|        }
22177|  27.1k|        D(fprintf(stderr, "%*c> invalid_assignment[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_ann_assign_target ':' expression"));
22178|  27.1k|        Token * _literal;
22179|  27.1k|        expr_ty a;
22180|  27.1k|        expr_ty expression_var;
22181|  27.1k|        if (
22182|  27.1k|            (a = invalid_ann_assign_target_rule(p))  // invalid_ann_assign_target
  ------------------
  |  Branch (22182:13): [True: 0, False: 27.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|  27.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|  27.1k|        p->mark = _mark;
22199|  27.1k|        D(fprintf(stderr, "%*c%s invalid_assignment[%d-%d]: %s failed!\n", p->level, ' ',
22200|  27.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_ann_assign_target ':' expression"));
22201|  27.1k|    }
22202|      0|    { // star_named_expression ',' star_named_expressions* ':' expression
22203|  27.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (22203:13): [True: 0, False: 27.1k]
  ------------------
22204|      0|            p->level--;
22205|      0|            return NULL;
22206|      0|        }
22207|  27.1k|        D(fprintf(stderr, "%*c> invalid_assignment[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_named_expression ',' star_named_expressions* ':' expression"));
22208|  27.1k|        Token * _literal;
22209|  27.1k|        Token * _literal_1;
22210|  27.1k|        asdl_seq * _loop0_121_var;
22211|  27.1k|        expr_ty a;
22212|  27.1k|        expr_ty expression_var;
22213|  27.1k|        if (
22214|  27.1k|            (a = star_named_expression_rule(p))  // star_named_expression
  ------------------
  |  Branch (22214:13): [True: 0, False: 27.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|  27.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|  27.1k|        p->mark = _mark;
22235|  27.1k|        D(fprintf(stderr, "%*c%s invalid_assignment[%d-%d]: %s failed!\n", p->level, ' ',
22236|  27.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_named_expression ',' star_named_expressions* ':' expression"));
22237|  27.1k|    }
22238|      0|    { // expression ':' expression
22239|  27.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (22239:13): [True: 0, False: 27.1k]
  ------------------
22240|      0|            p->level--;
22241|      0|            return NULL;
22242|      0|        }
22243|  27.1k|        D(fprintf(stderr, "%*c> invalid_assignment[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression ':' expression"));
22244|  27.1k|        Token * _literal;
22245|  27.1k|        expr_ty a;
22246|  27.1k|        expr_ty expression_var;
22247|  27.1k|        if (
22248|  27.1k|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (22248:13): [True: 0, False: 27.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|  27.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|  27.1k|        p->mark = _mark;
22265|  27.1k|        D(fprintf(stderr, "%*c%s invalid_assignment[%d-%d]: %s failed!\n", p->level, ' ',
22266|  27.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression ':' expression"));
22267|  27.1k|    }
22268|      0|    { // ((star_targets '='))* star_expressions '='
22269|  27.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (22269:13): [True: 0, False: 27.1k]
  ------------------
22270|      0|            p->level--;
22271|      0|            return NULL;
22272|      0|        }
22273|  27.1k|        D(fprintf(stderr, "%*c> invalid_assignment[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "((star_targets '='))* star_expressions '='"));
22274|  27.1k|        Token * _literal;
22275|  27.1k|        asdl_seq * _loop0_122_var;
22276|  27.1k|        expr_ty a;
22277|  27.1k|        if (
22278|  27.1k|            (_loop0_122_var = _loop0_122_rule(p))  // ((star_targets '='))*
  ------------------
  |  Branch (22278:13): [True: 27.1k, False: 0]
  ------------------
22279|  27.1k|            &&
22280|  27.1k|            (a = star_expressions_rule(p))  // star_expressions
  ------------------
  |  Branch (22280:13): [True: 0, False: 27.1k]
  ------------------
22281|      0|            &&
22282|      0|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (22282:13): [True: 0, False: 0]
  ------------------
22283|  27.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|  27.1k|        p->mark = _mark;
22295|  27.1k|        D(fprintf(stderr, "%*c%s invalid_assignment[%d-%d]: %s failed!\n", p->level, ' ',
22296|  27.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "((star_targets '='))* star_expressions '='"));
22297|  27.1k|    }
22298|      0|    { // ((star_targets '='))* yield_expr '='
22299|  27.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (22299:13): [True: 0, False: 27.1k]
  ------------------
22300|      0|            p->level--;
22301|      0|            return NULL;
22302|      0|        }
22303|  27.1k|        D(fprintf(stderr, "%*c> invalid_assignment[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "((star_targets '='))* yield_expr '='"));
22304|  27.1k|        Token * _literal;
22305|  27.1k|        asdl_seq * _loop0_122_var;
22306|  27.1k|        expr_ty a;
22307|  27.1k|        if (
22308|  27.1k|            (_loop0_122_var = _loop0_122_rule(p))  // ((star_targets '='))*
  ------------------
  |  Branch (22308:13): [True: 27.1k, False: 0]
  ------------------
22309|  27.1k|            &&
22310|  27.1k|            (a = yield_expr_rule(p))  // yield_expr
  ------------------
  |  Branch (22310:13): [True: 0, False: 27.1k]
  ------------------
22311|      0|            &&
22312|      0|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (22312:13): [True: 0, False: 0]
  ------------------
22313|  27.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|  27.1k|        p->mark = _mark;
22325|  27.1k|        D(fprintf(stderr, "%*c%s invalid_assignment[%d-%d]: %s failed!\n", p->level, ' ',
22326|  27.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "((star_targets '='))* yield_expr '='"));
22327|  27.1k|    }
22328|      0|    { // star_expressions augassign annotated_rhs
22329|  27.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (22329:13): [True: 0, False: 27.1k]
  ------------------
22330|      0|            p->level--;
22331|      0|            return NULL;
22332|      0|        }
22333|  27.1k|        D(fprintf(stderr, "%*c> invalid_assignment[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_expressions augassign annotated_rhs"));
22334|  27.1k|        expr_ty a;
22335|  27.1k|        expr_ty annotated_rhs_var;
22336|  27.1k|        AugOperator* augassign_var;
22337|  27.1k|        if (
22338|  27.1k|            (a = star_expressions_rule(p))  // star_expressions
  ------------------
  |  Branch (22338:13): [True: 0, False: 27.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|  27.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|  27.1k|        p->mark = _mark;
22355|  27.1k|        D(fprintf(stderr, "%*c%s invalid_assignment[%d-%d]: %s failed!\n", p->level, ' ',
22356|  27.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_expressions augassign annotated_rhs"));
22357|  27.1k|    }
22358|  27.1k|    _res = NULL;
22359|  27.1k|  done:
22360|  27.1k|    p->level--;
22361|  27.1k|    return _res;
22362|  27.1k|}
parser.c:invalid_ann_assign_target_rule:
22367|  27.1k|{
22368|  27.1k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  54.3k|#  define MAXSTACK 6000
  ------------------
  |  Branch (22368:9): [True: 0, False: 27.1k]
  |  Branch (22368:35): [True: 0, False: 27.1k]
  ------------------
22369|      0|        _Pypegen_stack_overflow(p);
22370|      0|    }
22371|  27.1k|    if (p->error_indicator) {
  ------------------
  |  Branch (22371:9): [True: 0, False: 27.1k]
  ------------------
22372|      0|        p->level--;
22373|      0|        return NULL;
22374|      0|    }
22375|  27.1k|    expr_ty _res = NULL;
22376|  27.1k|    int _mark = p->mark;
22377|  27.1k|    { // list
22378|  27.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (22378:13): [True: 0, False: 27.1k]
  ------------------
22379|      0|            p->level--;
22380|      0|            return NULL;
22381|      0|        }
22382|  27.1k|        D(fprintf(stderr, "%*c> invalid_ann_assign_target[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "list"));
22383|  27.1k|        expr_ty list_var;
22384|  27.1k|        if (
22385|  27.1k|            (list_var = list_rule(p))  // list
  ------------------
  |  Branch (22385:13): [True: 0, False: 27.1k]
  ------------------
22386|  27.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|  27.1k|        p->mark = _mark;
22393|  27.1k|        D(fprintf(stderr, "%*c%s invalid_ann_assign_target[%d-%d]: %s failed!\n", p->level, ' ',
22394|  27.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "list"));
22395|  27.1k|    }
22396|      0|    { // tuple
22397|  27.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (22397:13): [True: 0, False: 27.1k]
  ------------------
22398|      0|            p->level--;
22399|      0|            return NULL;
22400|      0|        }
22401|  27.1k|        D(fprintf(stderr, "%*c> invalid_ann_assign_target[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "tuple"));
22402|  27.1k|        expr_ty tuple_var;
22403|  27.1k|        if (
22404|  27.1k|            (tuple_var = tuple_rule(p))  // tuple
  ------------------
  |  Branch (22404:13): [True: 0, False: 27.1k]
  ------------------
22405|  27.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|  27.1k|        p->mark = _mark;
22412|  27.1k|        D(fprintf(stderr, "%*c%s invalid_ann_assign_target[%d-%d]: %s failed!\n", p->level, ' ',
22413|  27.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "tuple"));
22414|  27.1k|    }
22415|      0|    { // '(' invalid_ann_assign_target ')'
22416|  27.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (22416:13): [True: 0, False: 27.1k]
  ------------------
22417|      0|            p->level--;
22418|      0|            return NULL;
22419|      0|        }
22420|  27.1k|        D(fprintf(stderr, "%*c> invalid_ann_assign_target[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' invalid_ann_assign_target ')'"));
22421|  27.1k|        Token * _literal;
22422|  27.1k|        Token * _literal_1;
22423|  27.1k|        expr_ty a;
22424|  27.1k|        if (
22425|  27.1k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (22425:13): [True: 0, False: 27.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|  27.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|  27.1k|        p->mark = _mark;
22442|  27.1k|        D(fprintf(stderr, "%*c%s invalid_ann_assign_target[%d-%d]: %s failed!\n", p->level, ' ',
22443|  27.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' invalid_ann_assign_target ')'"));
22444|  27.1k|    }
22445|  27.1k|    _res = NULL;
22446|  27.1k|  done:
22447|  27.1k|    p->level--;
22448|  27.1k|    return _res;
22449|  27.1k|}
parser.c:_loop0_122_rule:
36044|  54.3k|{
36045|  54.3k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   108k|#  define MAXSTACK 6000
  ------------------
  |  Branch (36045:9): [True: 0, False: 54.3k]
  |  Branch (36045:35): [True: 0, False: 54.3k]
  ------------------
36046|      0|        _Pypegen_stack_overflow(p);
36047|      0|    }
36048|  54.3k|    if (p->error_indicator) {
  ------------------
  |  Branch (36048:9): [True: 0, False: 54.3k]
  ------------------
36049|      0|        p->level--;
36050|      0|        return NULL;
36051|      0|    }
36052|  54.3k|    void *_res = NULL;
36053|  54.3k|    int _mark = p->mark;
36054|  54.3k|    void **_children = PyMem_Malloc(sizeof(void *));
36055|  54.3k|    if (!_children) {
  ------------------
  |  Branch (36055:9): [True: 0, False: 54.3k]
  ------------------
36056|      0|        p->error_indicator = 1;
36057|      0|        PyErr_NoMemory();
36058|      0|        p->level--;
36059|      0|        return NULL;
36060|      0|    }
36061|  54.3k|    Py_ssize_t _children_capacity = 1;
36062|  54.3k|    Py_ssize_t _n = 0;
36063|  54.3k|    { // (star_targets '=')
36064|  54.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (36064:13): [True: 0, False: 54.3k]
  ------------------
36065|      0|            p->level--;
36066|      0|            return NULL;
36067|      0|        }
36068|  54.3k|        D(fprintf(stderr, "%*c> _loop0_122[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "(star_targets '=')"));
36069|  54.3k|        void *_tmp_159_var;
36070|  54.3k|        while (
36071|  54.3k|            (_tmp_159_var = _tmp_159_rule(p))  // star_targets '='
  ------------------
  |  Branch (36071:13): [True: 0, False: 54.3k]
  ------------------
36072|  54.3k|        )
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|  54.3k|        p->mark = _mark;
36091|  54.3k|        D(fprintf(stderr, "%*c%s _loop0_122[%d-%d]: %s failed!\n", p->level, ' ',
36092|  54.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(star_targets '=')"));
36093|  54.3k|    }
36094|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
36095|  54.3k|    if (!_seq) {
  ------------------
  |  Branch (36095:9): [True: 0, False: 54.3k]
  ------------------
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|  54.3k|    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|  54.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (36102:28): [True: 0, False: 54.3k]
  ------------------
36103|  54.3k|    PyMem_Free(_children);
36104|  54.3k|    p->level--;
36105|  54.3k|    return _seq;
36106|  54.3k|}
parser.c:type_params_rule:
11005|  2.01k|{
11006|  2.01k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  4.03k|#  define MAXSTACK 6000
  ------------------
  |  Branch (11006:9): [True: 0, False: 2.01k]
  |  Branch (11006:35): [True: 0, False: 2.01k]
  ------------------
11007|      0|        _Pypegen_stack_overflow(p);
11008|      0|    }
11009|  2.01k|    if (p->error_indicator) {
  ------------------
  |  Branch (11009:9): [True: 0, False: 2.01k]
  ------------------
11010|      0|        p->level--;
11011|      0|        return NULL;
11012|      0|    }
11013|  2.01k|    asdl_type_param_seq* _res = NULL;
11014|  2.01k|    int _mark = p->mark;
11015|  2.01k|    if (p->call_invalid_rules) { // invalid_type_params
  ------------------
  |  Branch (11015:9): [True: 0, False: 2.01k]
  ------------------
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|  2.01k|    { // '[' type_param_seq ']'
11035|  2.01k|        if (p->error_indicator) {
  ------------------
  |  Branch (11035:13): [True: 0, False: 2.01k]
  ------------------
11036|      0|            p->level--;
11037|      0|            return NULL;
11038|      0|        }
11039|  2.01k|        D(fprintf(stderr, "%*c> type_params[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'[' type_param_seq ']'"));
11040|  2.01k|        Token * _literal;
11041|  2.01k|        Token * _literal_1;
11042|  2.01k|        asdl_type_param_seq* t;
11043|  2.01k|        if (
11044|  2.01k|            (_literal = _PyPegen_expect_token(p, 9))  // token='['
  ------------------
  |  Branch (11044:13): [True: 0, False: 2.01k]
  ------------------
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|  2.01k|        )
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|  2.01k|        p->mark = _mark;
11061|  2.01k|        D(fprintf(stderr, "%*c%s type_params[%d-%d]: %s failed!\n", p->level, ' ',
11062|  2.01k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'[' type_param_seq ']'"));
11063|  2.01k|    }
11064|  2.01k|    _res = NULL;
11065|  2.01k|  done:
11066|  2.01k|    p->level--;
11067|  2.01k|    return _res;
11068|  2.01k|}
parser.c:_tmp_5_rule:
28696|  65.6k|{
28697|  65.6k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   131k|#  define MAXSTACK 6000
  ------------------
  |  Branch (28697:9): [True: 0, False: 65.6k]
  |  Branch (28697:35): [True: 0, False: 65.6k]
  ------------------
28698|      0|        _Pypegen_stack_overflow(p);
28699|      0|    }
28700|  65.6k|    if (p->error_indicator) {
  ------------------
  |  Branch (28700:9): [True: 0, False: 65.6k]
  ------------------
28701|      0|        p->level--;
28702|      0|        return NULL;
28703|      0|    }
28704|  65.6k|    void * _res = NULL;
28705|  65.6k|    int _mark = p->mark;
28706|  65.6k|    { // 'import'
28707|  65.6k|        if (p->error_indicator) {
  ------------------
  |  Branch (28707:13): [True: 0, False: 65.6k]
  ------------------
28708|      0|            p->level--;
28709|      0|            return NULL;
28710|      0|        }
28711|  65.6k|        D(fprintf(stderr, "%*c> _tmp_5[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'import'"));
28712|  65.6k|        Token * _keyword;
28713|  65.6k|        if (
28714|  65.6k|            (_keyword = _PyPegen_expect_token(p, 647))  // token='import'
  ------------------
  |  Branch (28714:13): [True: 185, False: 65.5k]
  ------------------
28715|  65.6k|        )
28716|    185|        {
28717|    185|            D(fprintf(stderr, "%*c+ _tmp_5[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'import'"));
28718|    185|            _res = _keyword;
28719|    185|            goto done;
28720|    185|        }
28721|  65.5k|        p->mark = _mark;
28722|  65.5k|        D(fprintf(stderr, "%*c%s _tmp_5[%d-%d]: %s failed!\n", p->level, ' ',
28723|  65.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'import'"));
28724|  65.5k|    }
28725|      0|    { // 'from'
28726|  65.5k|        if (p->error_indicator) {
  ------------------
  |  Branch (28726:13): [True: 0, False: 65.5k]
  ------------------
28727|      0|            p->level--;
28728|      0|            return NULL;
28729|      0|        }
28730|  65.5k|        D(fprintf(stderr, "%*c> _tmp_5[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'from'"));
28731|  65.5k|        Token * _keyword;
28732|  65.5k|        if (
28733|  65.5k|            (_keyword = _PyPegen_expect_token(p, 646))  // token='from'
  ------------------
  |  Branch (28733:13): [True: 260, False: 65.2k]
  ------------------
28734|  65.5k|        )
28735|    260|        {
28736|    260|            D(fprintf(stderr, "%*c+ _tmp_5[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'from'"));
28737|    260|            _res = _keyword;
28738|    260|            goto done;
28739|    260|        }
28740|  65.2k|        p->mark = _mark;
28741|  65.2k|        D(fprintf(stderr, "%*c%s _tmp_5[%d-%d]: %s failed!\n", p->level, ' ',
28742|  65.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'from'"));
28743|  65.2k|    }
28744|      0|    { // "lazy"
28745|  65.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (28745:13): [True: 0, False: 65.2k]
  ------------------
28746|      0|            p->level--;
28747|      0|            return NULL;
28748|      0|        }
28749|  65.2k|        D(fprintf(stderr, "%*c> _tmp_5[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "\"lazy\""));
28750|  65.2k|        expr_ty _keyword;
28751|  65.2k|        if (
28752|  65.2k|            (_keyword = _PyPegen_expect_soft_keyword(p, "lazy"))  // soft_keyword='"lazy"'
  ------------------
  |  Branch (28752:13): [True: 2, False: 65.2k]
  ------------------
28753|  65.2k|        )
28754|      2|        {
28755|      2|            D(fprintf(stderr, "%*c+ _tmp_5[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "\"lazy\""));
28756|      2|            _res = _keyword;
28757|      2|            goto done;
28758|      2|        }
28759|  65.2k|        p->mark = _mark;
28760|  65.2k|        D(fprintf(stderr, "%*c%s _tmp_5[%d-%d]: %s failed!\n", p->level, ' ',
28761|  65.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "\"lazy\""));
28762|  65.2k|    }
28763|  65.2k|    _res = NULL;
28764|  65.6k|  done:
28765|  65.6k|    p->level--;
28766|  65.6k|    return _res;
28767|  65.2k|}
parser.c:import_stmt_rule:
 3506|    447|{
 3507|    447|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    894|#  define MAXSTACK 6000
  ------------------
  |  Branch (3507:9): [True: 0, False: 447]
  |  Branch (3507:35): [True: 0, False: 447]
  ------------------
 3508|      0|        _Pypegen_stack_overflow(p);
 3509|      0|    }
 3510|    447|    if (p->error_indicator) {
  ------------------
  |  Branch (3510:9): [True: 0, False: 447]
  ------------------
 3511|      0|        p->level--;
 3512|      0|        return NULL;
 3513|      0|    }
 3514|    447|    stmt_ty _res = NULL;
 3515|    447|    if (_PyPegen_is_memoized(p, import_stmt_type, &_res)) {
  ------------------
  |  |  113|    447|#define import_stmt_type 1024
  ------------------
  |  Branch (3515:9): [True: 0, False: 447]
  ------------------
 3516|      0|        p->level--;
 3517|      0|        return _res;
 3518|      0|    }
 3519|    447|    int _mark = p->mark;
 3520|    447|    if (p->call_invalid_rules) { // invalid_import
  ------------------
  |  Branch (3520:9): [True: 0, False: 447]
  ------------------
 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|    447|    { // import_name
 3540|    447|        if (p->error_indicator) {
  ------------------
  |  Branch (3540:13): [True: 0, False: 447]
  ------------------
 3541|      0|            p->level--;
 3542|      0|            return NULL;
 3543|      0|        }
 3544|    447|        D(fprintf(stderr, "%*c> import_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "import_name"));
 3545|    447|        stmt_ty import_name_var;
 3546|    447|        if (
 3547|    447|            (import_name_var = import_name_rule(p))  // import_name
  ------------------
  |  Branch (3547:13): [True: 185, False: 262]
  ------------------
 3548|    447|        )
 3549|    185|        {
 3550|    185|            D(fprintf(stderr, "%*c+ import_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "import_name"));
 3551|    185|            _res = import_name_var;
 3552|    185|            goto done;
 3553|    185|        }
 3554|    262|        p->mark = _mark;
 3555|    262|        D(fprintf(stderr, "%*c%s import_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 3556|    262|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "import_name"));
 3557|    262|    }
 3558|      0|    { // import_from
 3559|    262|        if (p->error_indicator) {
  ------------------
  |  Branch (3559:13): [True: 0, False: 262]
  ------------------
 3560|      0|            p->level--;
 3561|      0|            return NULL;
 3562|      0|        }
 3563|    262|        D(fprintf(stderr, "%*c> import_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "import_from"));
 3564|    262|        stmt_ty import_from_var;
 3565|    262|        if (
 3566|    262|            (import_from_var = import_from_rule(p))  // import_from
  ------------------
  |  Branch (3566:13): [True: 262, False: 0]
  ------------------
 3567|    262|        )
 3568|    262|        {
 3569|    262|            D(fprintf(stderr, "%*c+ import_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "import_from"));
 3570|    262|            _res = import_from_var;
 3571|    262|            goto done;
 3572|    262|        }
 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|    447|  done:
 3579|    447|    _PyPegen_insert_memo(p, _mark, import_stmt_type, _res);
  ------------------
  |  |  113|    447|#define import_stmt_type 1024
  ------------------
 3580|    447|    p->level--;
 3581|    447|    return _res;
 3582|      0|}
parser.c:dotted_name_rule:
 4170|  1.43k|{
 4171|  1.43k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  2.87k|#  define MAXSTACK 6000
  ------------------
  |  Branch (4171:9): [True: 0, False: 1.43k]
  |  Branch (4171:35): [True: 0, False: 1.43k]
  ------------------
 4172|      0|        _Pypegen_stack_overflow(p);
 4173|      0|    }
 4174|  1.43k|    expr_ty _res = NULL;
 4175|  1.43k|    if (_PyPegen_is_memoized(p, dotted_name_type, &_res)) {
  ------------------
  |  |  121|  1.43k|#define dotted_name_type 1032  // Left-recursive
  ------------------
  |  Branch (4175:9): [True: 988, False: 447]
  ------------------
 4176|    988|        p->level--;
 4177|    988|        return _res;
 4178|    988|    }
 4179|    447|    int _mark = p->mark;
 4180|    447|    int _resmark = p->mark;
 4181|    988|    while (1) {
  ------------------
  |  Branch (4181:12): [True: 988, Folded]
  ------------------
 4182|    988|        int tmpvar_0 = _PyPegen_update_memo(p, _mark, dotted_name_type, _res);
  ------------------
  |  |  121|    988|#define dotted_name_type 1032  // Left-recursive
  ------------------
 4183|    988|        if (tmpvar_0) {
  ------------------
  |  Branch (4183:13): [True: 0, False: 988]
  ------------------
 4184|      0|            p->level--;
 4185|      0|            return _res;
 4186|      0|        }
 4187|    988|        p->mark = _mark;
 4188|    988|        void *_raw = dotted_name_raw(p);
 4189|    988|        if (p->error_indicator) {
  ------------------
  |  Branch (4189:13): [True: 0, False: 988]
  ------------------
 4190|      0|            p->level--;
 4191|      0|            return NULL;
 4192|      0|        }
 4193|    988|        if (_raw == NULL || p->mark <= _resmark)
  ------------------
  |  Branch (4193:13): [True: 94, False: 894]
  |  Branch (4193:29): [True: 353, False: 541]
  ------------------
 4194|    447|            break;
 4195|    541|        _resmark = p->mark;
 4196|    541|        _res = _raw;
 4197|    541|    }
 4198|    447|    p->mark = _resmark;
 4199|    447|    p->level--;
 4200|    447|    return _res;
 4201|    447|}
parser.c:dotted_name_raw:
 4204|    988|{
 4205|    988|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.97k|#  define MAXSTACK 6000
  ------------------
  |  Branch (4205:9): [True: 0, False: 988]
  |  Branch (4205:35): [True: 0, False: 988]
  ------------------
 4206|      0|        _Pypegen_stack_overflow(p);
 4207|      0|    }
 4208|    988|    if (p->error_indicator) {
  ------------------
  |  Branch (4208:9): [True: 0, False: 988]
  ------------------
 4209|      0|        p->level--;
 4210|      0|        return NULL;
 4211|      0|    }
 4212|    988|    expr_ty _res = NULL;
 4213|    988|    int _mark = p->mark;
 4214|    988|    { // dotted_name '.' NAME
 4215|    988|        if (p->error_indicator) {
  ------------------
  |  Branch (4215:13): [True: 0, False: 988]
  ------------------
 4216|      0|            p->level--;
 4217|      0|            return NULL;
 4218|      0|        }
 4219|    988|        D(fprintf(stderr, "%*c> dotted_name[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "dotted_name '.' NAME"));
 4220|    988|        Token * _literal;
 4221|    988|        expr_ty a;
 4222|    988|        expr_ty b;
 4223|    988|        if (
 4224|    988|            (a = dotted_name_rule(p))  // dotted_name
  ------------------
  |  Branch (4224:13): [True: 541, False: 447]
  ------------------
 4225|    541|            &&
 4226|    541|            (_literal = _PyPegen_expect_token(p, 23))  // token='.'
  ------------------
  |  Branch (4226:13): [True: 188, False: 353]
  ------------------
 4227|    188|            &&
 4228|    188|            (b = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (4228:13): [True: 188, False: 0]
  ------------------
 4229|    988|        )
 4230|    188|        {
 4231|    188|            D(fprintf(stderr, "%*c+ dotted_name[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "dotted_name '.' NAME"));
 4232|    188|            _res = _PyPegen_join_names_with_dot ( p , a , b );
 4233|    188|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4233:18): [True: 0, False: 188]
  |  Branch (4233:34): [True: 0, False: 188]
  |  Branch (4233:57): [True: 0, False: 0]
  ------------------
 4234|      0|                p->error_indicator = 1;
 4235|      0|                p->level--;
 4236|      0|                return NULL;
 4237|      0|            }
 4238|    188|            goto done;
 4239|    188|        }
 4240|    800|        p->mark = _mark;
 4241|    800|        D(fprintf(stderr, "%*c%s dotted_name[%d-%d]: %s failed!\n", p->level, ' ',
 4242|    800|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "dotted_name '.' NAME"));
 4243|    800|    }
 4244|      0|    { // NAME
 4245|    800|        if (p->error_indicator) {
  ------------------
  |  Branch (4245:13): [True: 0, False: 800]
  ------------------
 4246|      0|            p->level--;
 4247|      0|            return NULL;
 4248|      0|        }
 4249|    800|        D(fprintf(stderr, "%*c> dotted_name[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME"));
 4250|    800|        expr_ty name_var;
 4251|    800|        if (
 4252|    800|            (name_var = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (4252:13): [True: 706, False: 94]
  ------------------
 4253|    800|        )
 4254|    706|        {
 4255|    706|            D(fprintf(stderr, "%*c+ dotted_name[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME"));
 4256|    706|            _res = name_var;
 4257|    706|            goto done;
 4258|    706|        }
 4259|     94|        p->mark = _mark;
 4260|     94|        D(fprintf(stderr, "%*c%s dotted_name[%d-%d]: %s failed!\n", p->level, ' ',
 4261|     94|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME"));
 4262|     94|    }
 4263|     94|    _res = NULL;
 4264|    988|  done:
 4265|    988|    p->level--;
 4266|    988|    return _res;
 4267|     94|}
parser.c:import_name_rule:
 3587|    447|{
 3588|    447|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    894|#  define MAXSTACK 6000
  ------------------
  |  Branch (3588:9): [True: 0, False: 447]
  |  Branch (3588:35): [True: 0, False: 447]
  ------------------
 3589|      0|        _Pypegen_stack_overflow(p);
 3590|      0|    }
 3591|    447|    if (p->error_indicator) {
  ------------------
  |  Branch (3591:9): [True: 0, False: 447]
  ------------------
 3592|      0|        p->level--;
 3593|      0|        return NULL;
 3594|      0|    }
 3595|    447|    stmt_ty _res = NULL;
 3596|    447|    int _mark = p->mark;
 3597|    447|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (3597:9): [True: 0, False: 447]
  |  Branch (3597:31): [True: 0, False: 0]
  ------------------
 3598|      0|        p->error_indicator = 1;
 3599|      0|        p->level--;
 3600|      0|        return NULL;
 3601|      0|    }
 3602|    447|    int _start_lineno = p->tokens[_mark]->lineno;
 3603|    447|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    447|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 447]
  |  |  ------------------
  ------------------
 3604|    447|    int _start_col_offset = p->tokens[_mark]->col_offset;
 3605|    447|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    447|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 447]
  |  |  ------------------
  ------------------
 3606|    447|    { // "lazy"? 'import' dotted_as_names
 3607|    447|        if (p->error_indicator) {
  ------------------
  |  Branch (3607:13): [True: 0, False: 447]
  ------------------
 3608|      0|            p->level--;
 3609|      0|            return NULL;
 3610|      0|        }
 3611|    447|        D(fprintf(stderr, "%*c> import_name[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "\"lazy\"? 'import' dotted_as_names"));
 3612|    447|        Token * _keyword;
 3613|    447|        asdl_alias_seq* a;
 3614|    447|        void *lazy;
 3615|    447|        if (
 3616|    447|            (lazy = _PyPegen_expect_soft_keyword(p, "lazy"), !p->error_indicator)  // "lazy"?
  ------------------
  |  Branch (3616:13): [True: 447, False: 0]
  ------------------
 3617|    447|            &&
 3618|    447|            (_keyword = _PyPegen_expect_token(p, 647))  // token='import'
  ------------------
  |  Branch (3618:13): [True: 185, False: 262]
  ------------------
 3619|    185|            &&
 3620|    185|            (a = dotted_as_names_rule(p))  // dotted_as_names
  ------------------
  |  Branch (3620:13): [True: 185, False: 0]
  ------------------
 3621|    447|        )
 3622|    185|        {
 3623|    185|            D(fprintf(stderr, "%*c+ import_name[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "\"lazy\"? 'import' dotted_as_names"));
 3624|    185|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 3625|    185|            if (_token == NULL) {
  ------------------
  |  Branch (3625:17): [True: 0, False: 185]
  ------------------
 3626|      0|                p->level--;
 3627|      0|                return NULL;
 3628|      0|            }
 3629|    185|            int _end_lineno = _token->end_lineno;
 3630|    185|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    185|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 185]
  |  |  ------------------
  ------------------
 3631|    185|            int _end_col_offset = _token->end_col_offset;
 3632|    185|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    185|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 185]
  |  |  ------------------
  ------------------
 3633|    185|            _res = _PyAST_Import ( a , lazy ? 1 : 0 , EXTRA );
  ------------------
  |  |  269|    185|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
  |  Branch (3633:40): [True: 0, False: 185]
  ------------------
 3634|    185|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3634:18): [True: 0, False: 185]
  |  Branch (3634:34): [True: 0, False: 185]
  |  Branch (3634:57): [True: 0, False: 0]
  ------------------
 3635|      0|                p->error_indicator = 1;
 3636|      0|                p->level--;
 3637|      0|                return NULL;
 3638|      0|            }
 3639|    185|            goto done;
 3640|    185|        }
 3641|    262|        p->mark = _mark;
 3642|    262|        D(fprintf(stderr, "%*c%s import_name[%d-%d]: %s failed!\n", p->level, ' ',
 3643|    262|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "\"lazy\"? 'import' dotted_as_names"));
 3644|    262|    }
 3645|    262|    _res = NULL;
 3646|    447|  done:
 3647|    447|    p->level--;
 3648|    447|    return _res;
 3649|    262|}
parser.c:dotted_as_names_rule:
 4042|    185|{
 4043|    185|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    370|#  define MAXSTACK 6000
  ------------------
  |  Branch (4043:9): [True: 0, False: 185]
  |  Branch (4043:35): [True: 0, False: 185]
  ------------------
 4044|      0|        _Pypegen_stack_overflow(p);
 4045|      0|    }
 4046|    185|    if (p->error_indicator) {
  ------------------
  |  Branch (4046:9): [True: 0, False: 185]
  ------------------
 4047|      0|        p->level--;
 4048|      0|        return NULL;
 4049|      0|    }
 4050|    185|    asdl_alias_seq* _res = NULL;
 4051|    185|    int _mark = p->mark;
 4052|    185|    { // ','.dotted_as_name+
 4053|    185|        if (p->error_indicator) {
  ------------------
  |  Branch (4053:13): [True: 0, False: 185]
  ------------------
 4054|      0|            p->level--;
 4055|      0|            return NULL;
 4056|      0|        }
 4057|    185|        D(fprintf(stderr, "%*c> dotted_as_names[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.dotted_as_name+"));
 4058|    185|        asdl_alias_seq* a;
 4059|    185|        if (
 4060|    185|            (a = (asdl_alias_seq*)_gather_23_rule(p))  // ','.dotted_as_name+
  ------------------
  |  Branch (4060:13): [True: 185, False: 0]
  ------------------
 4061|    185|        )
 4062|    185|        {
 4063|    185|            D(fprintf(stderr, "%*c+ dotted_as_names[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.dotted_as_name+"));
 4064|    185|            _res = a;
 4065|    185|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4065:18): [True: 0, False: 185]
  |  Branch (4065:34): [True: 0, False: 185]
  |  Branch (4065:57): [True: 0, False: 0]
  ------------------
 4066|      0|                p->error_indicator = 1;
 4067|      0|                p->level--;
 4068|      0|                return NULL;
 4069|      0|            }
 4070|    185|            goto done;
 4071|    185|        }
 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|    185|  done:
 4078|    185|    p->level--;
 4079|    185|    return _res;
 4080|      0|}
parser.c:_gather_23_rule:
29803|    185|{
29804|    185|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    370|#  define MAXSTACK 6000
  ------------------
  |  Branch (29804:9): [True: 0, False: 185]
  |  Branch (29804:35): [True: 0, False: 185]
  ------------------
29805|      0|        _Pypegen_stack_overflow(p);
29806|      0|    }
29807|    185|    if (p->error_indicator) {
  ------------------
  |  Branch (29807:9): [True: 0, False: 185]
  ------------------
29808|      0|        p->level--;
29809|      0|        return NULL;
29810|      0|    }
29811|    185|    asdl_seq * _res = NULL;
29812|    185|    int _mark = p->mark;
29813|    185|    { // dotted_as_name _loop0_22
29814|    185|        if (p->error_indicator) {
  ------------------
  |  Branch (29814:13): [True: 0, False: 185]
  ------------------
29815|      0|            p->level--;
29816|      0|            return NULL;
29817|      0|        }
29818|    185|        D(fprintf(stderr, "%*c> _gather_23[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "dotted_as_name _loop0_22"));
29819|    185|        alias_ty elem;
29820|    185|        asdl_seq * seq;
29821|    185|        if (
29822|    185|            (elem = dotted_as_name_rule(p))  // dotted_as_name
  ------------------
  |  Branch (29822:13): [True: 185, False: 0]
  ------------------
29823|    185|            &&
29824|    185|            (seq = _loop0_22_rule(p))  // _loop0_22
  ------------------
  |  Branch (29824:13): [True: 185, False: 0]
  ------------------
29825|    185|        )
29826|    185|        {
29827|    185|            D(fprintf(stderr, "%*c+ _gather_23[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "dotted_as_name _loop0_22"));
29828|    185|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
29829|    185|            goto done;
29830|    185|        }
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|    185|  done:
29837|    185|    p->level--;
29838|    185|    return _res;
29839|      0|}
parser.c:dotted_as_name_rule:
 4085|    185|{
 4086|    185|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    370|#  define MAXSTACK 6000
  ------------------
  |  Branch (4086:9): [True: 0, False: 185]
  |  Branch (4086:35): [True: 0, False: 185]
  ------------------
 4087|      0|        _Pypegen_stack_overflow(p);
 4088|      0|    }
 4089|    185|    if (p->error_indicator) {
  ------------------
  |  Branch (4089:9): [True: 0, False: 185]
  ------------------
 4090|      0|        p->level--;
 4091|      0|        return NULL;
 4092|      0|    }
 4093|    185|    alias_ty _res = NULL;
 4094|    185|    int _mark = p->mark;
 4095|    185|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (4095:9): [True: 185, False: 0]
  |  Branch (4095:31): [True: 0, False: 185]
  ------------------
 4096|      0|        p->error_indicator = 1;
 4097|      0|        p->level--;
 4098|      0|        return NULL;
 4099|      0|    }
 4100|    185|    int _start_lineno = p->tokens[_mark]->lineno;
 4101|    185|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    185|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 185]
  |  |  ------------------
  ------------------
 4102|    185|    int _start_col_offset = p->tokens[_mark]->col_offset;
 4103|    185|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    185|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 185]
  |  |  ------------------
  ------------------
 4104|    185|    if (p->call_invalid_rules) { // invalid_dotted_as_name
  ------------------
  |  Branch (4104:9): [True: 0, False: 185]
  ------------------
 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|    185|    { // dotted_name ['as' NAME]
 4124|    185|        if (p->error_indicator) {
  ------------------
  |  Branch (4124:13): [True: 0, False: 185]
  ------------------
 4125|      0|            p->level--;
 4126|      0|            return NULL;
 4127|      0|        }
 4128|    185|        D(fprintf(stderr, "%*c> dotted_as_name[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "dotted_name ['as' NAME]"));
 4129|    185|        expr_ty a;
 4130|    185|        void *b;
 4131|    185|        if (
 4132|    185|            (a = dotted_name_rule(p))  // dotted_name
  ------------------
  |  Branch (4132:13): [True: 185, False: 0]
  ------------------
 4133|    185|            &&
 4134|    185|            (b = _tmp_21_rule(p), !p->error_indicator)  // ['as' NAME]
  ------------------
  |  Branch (4134:13): [True: 185, False: 0]
  ------------------
 4135|    185|        )
 4136|    185|        {
 4137|    185|            D(fprintf(stderr, "%*c+ dotted_as_name[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "dotted_name ['as' NAME]"));
 4138|    185|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 4139|    185|            if (_token == NULL) {
  ------------------
  |  Branch (4139:17): [True: 0, False: 185]
  ------------------
 4140|      0|                p->level--;
 4141|      0|                return NULL;
 4142|      0|            }
 4143|    185|            int _end_lineno = _token->end_lineno;
 4144|    185|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    185|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 185]
  |  |  ------------------
  ------------------
 4145|    185|            int _end_col_offset = _token->end_col_offset;
 4146|    185|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    185|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 185]
  |  |  ------------------
  ------------------
 4147|    185|            _res = _PyAST_alias ( a -> v . Name . id , ( b ) ? ( ( expr_ty ) b ) -> v . Name . id : NULL , EXTRA );
  ------------------
  |  |  269|    185|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
  |  Branch (4147:56): [True: 3, False: 182]
  ------------------
 4148|    185|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4148:18): [True: 0, False: 185]
  |  Branch (4148:34): [True: 0, False: 185]
  |  Branch (4148:57): [True: 0, False: 0]
  ------------------
 4149|      0|                p->error_indicator = 1;
 4150|      0|                p->level--;
 4151|      0|                return NULL;
 4152|      0|            }
 4153|    185|            goto done;
 4154|    185|        }
 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|    185|  done:
 4161|    185|    p->level--;
 4162|    185|    return _res;
 4163|      0|}
parser.c:_tmp_21_rule:
29681|    479|{
29682|    479|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    958|#  define MAXSTACK 6000
  ------------------
  |  Branch (29682:9): [True: 0, False: 479]
  |  Branch (29682:35): [True: 0, False: 479]
  ------------------
29683|      0|        _Pypegen_stack_overflow(p);
29684|      0|    }
29685|    479|    if (p->error_indicator) {
  ------------------
  |  Branch (29685:9): [True: 0, False: 479]
  ------------------
29686|      0|        p->level--;
29687|      0|        return NULL;
29688|      0|    }
29689|    479|    void * _res = NULL;
29690|    479|    int _mark = p->mark;
29691|    479|    { // 'as' NAME
29692|    479|        if (p->error_indicator) {
  ------------------
  |  Branch (29692:13): [True: 0, False: 479]
  ------------------
29693|      0|            p->level--;
29694|      0|            return NULL;
29695|      0|        }
29696|    479|        D(fprintf(stderr, "%*c> _tmp_21[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'as' NAME"));
29697|    479|        Token * _keyword;
29698|    479|        expr_ty z;
29699|    479|        if (
29700|    479|            (_keyword = _PyPegen_expect_token(p, 696))  // token='as'
  ------------------
  |  Branch (29700:13): [True: 10, False: 469]
  ------------------
29701|     10|            &&
29702|     10|            (z = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (29702:13): [True: 10, False: 0]
  ------------------
29703|    479|        )
29704|     10|        {
29705|     10|            D(fprintf(stderr, "%*c+ _tmp_21[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'as' NAME"));
29706|     10|            _res = z;
29707|     10|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (29707:18): [True: 0, False: 10]
  |  Branch (29707:34): [True: 0, False: 10]
  |  Branch (29707:57): [True: 0, False: 0]
  ------------------
29708|      0|                p->error_indicator = 1;
29709|      0|                p->level--;
29710|      0|                return NULL;
29711|      0|            }
29712|     10|            goto done;
29713|     10|        }
29714|    469|        p->mark = _mark;
29715|    469|        D(fprintf(stderr, "%*c%s _tmp_21[%d-%d]: %s failed!\n", p->level, ' ',
29716|    469|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'as' NAME"));
29717|    469|    }
29718|    469|    _res = NULL;
29719|    479|  done:
29720|    479|    p->level--;
29721|    479|    return _res;
29722|    469|}
parser.c:_loop0_22_rule:
29727|    185|{
29728|    185|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    370|#  define MAXSTACK 6000
  ------------------
  |  Branch (29728:9): [True: 0, False: 185]
  |  Branch (29728:35): [True: 0, False: 185]
  ------------------
29729|      0|        _Pypegen_stack_overflow(p);
29730|      0|    }
29731|    185|    if (p->error_indicator) {
  ------------------
  |  Branch (29731:9): [True: 0, False: 185]
  ------------------
29732|      0|        p->level--;
29733|      0|        return NULL;
29734|      0|    }
29735|    185|    void *_res = NULL;
29736|    185|    int _mark = p->mark;
29737|    185|    void **_children = PyMem_Malloc(sizeof(void *));
29738|    185|    if (!_children) {
  ------------------
  |  Branch (29738:9): [True: 0, False: 185]
  ------------------
29739|      0|        p->error_indicator = 1;
29740|      0|        PyErr_NoMemory();
29741|      0|        p->level--;
29742|      0|        return NULL;
29743|      0|    }
29744|    185|    Py_ssize_t _children_capacity = 1;
29745|    185|    Py_ssize_t _n = 0;
29746|    185|    { // ',' dotted_as_name
29747|    185|        if (p->error_indicator) {
  ------------------
  |  Branch (29747:13): [True: 0, False: 185]
  ------------------
29748|      0|            p->level--;
29749|      0|            return NULL;
29750|      0|        }
29751|    185|        D(fprintf(stderr, "%*c> _loop0_22[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' dotted_as_name"));
29752|    185|        Token * _literal;
29753|    185|        alias_ty elem;
29754|    185|        while (
29755|    185|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (29755:13): [True: 0, False: 185]
  ------------------
29756|      0|            &&
29757|      0|            (elem = dotted_as_name_rule(p))  // dotted_as_name
  ------------------
  |  Branch (29757:13): [True: 0, False: 0]
  ------------------
29758|    185|        )
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|    185|        p->mark = _mark;
29783|    185|        D(fprintf(stderr, "%*c%s _loop0_22[%d-%d]: %s failed!\n", p->level, ' ',
29784|    185|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' dotted_as_name"));
29785|    185|    }
29786|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
29787|    185|    if (!_seq) {
  ------------------
  |  Branch (29787:9): [True: 0, False: 185]
  ------------------
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|    185|    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|    185|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (29794:28): [True: 0, False: 185]
  ------------------
29795|    185|    PyMem_Free(_children);
29796|    185|    p->level--;
29797|    185|    return _seq;
29798|    185|}
parser.c:import_from_rule:
 3656|    262|{
 3657|    262|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    524|#  define MAXSTACK 6000
  ------------------
  |  Branch (3657:9): [True: 0, False: 262]
  |  Branch (3657:35): [True: 0, False: 262]
  ------------------
 3658|      0|        _Pypegen_stack_overflow(p);
 3659|      0|    }
 3660|    262|    if (p->error_indicator) {
  ------------------
  |  Branch (3660:9): [True: 0, False: 262]
  ------------------
 3661|      0|        p->level--;
 3662|      0|        return NULL;
 3663|      0|    }
 3664|    262|    stmt_ty _res = NULL;
 3665|    262|    int _mark = p->mark;
 3666|    262|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (3666:9): [True: 0, False: 262]
  |  Branch (3666:31): [True: 0, False: 0]
  ------------------
 3667|      0|        p->error_indicator = 1;
 3668|      0|        p->level--;
 3669|      0|        return NULL;
 3670|      0|    }
 3671|    262|    int _start_lineno = p->tokens[_mark]->lineno;
 3672|    262|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    262|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 262]
  |  |  ------------------
  ------------------
 3673|    262|    int _start_col_offset = p->tokens[_mark]->col_offset;
 3674|    262|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    262|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 262]
  |  |  ------------------
  ------------------
 3675|    262|    { // "lazy"? 'from' (('.' | '...'))* dotted_name 'import' import_from_targets
 3676|    262|        if (p->error_indicator) {
  ------------------
  |  Branch (3676:13): [True: 0, False: 262]
  ------------------
 3677|      0|            p->level--;
 3678|      0|            return NULL;
 3679|      0|        }
 3680|    262|        D(fprintf(stderr, "%*c> import_from[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "\"lazy\"? 'from' (('.' | '...'))* dotted_name 'import' import_from_targets"));
 3681|    262|        Token * _keyword;
 3682|    262|        Token * _keyword_1;
 3683|    262|        asdl_seq * a;
 3684|    262|        expr_ty b;
 3685|    262|        asdl_alias_seq* c;
 3686|    262|        void *lazy;
 3687|    262|        if (
 3688|    262|            (lazy = _PyPegen_expect_soft_keyword(p, "lazy"), !p->error_indicator)  // "lazy"?
  ------------------
  |  Branch (3688:13): [True: 262, False: 0]
  ------------------
 3689|    262|            &&
 3690|    262|            (_keyword = _PyPegen_expect_token(p, 646))  // token='from'
  ------------------
  |  Branch (3690:13): [True: 262, False: 0]
  ------------------
 3691|    262|            &&
 3692|    262|            (a = _loop0_17_rule(p))  // (('.' | '...'))*
  ------------------
  |  Branch (3692:13): [True: 262, False: 0]
  ------------------
 3693|    262|            &&
 3694|    262|            (b = dotted_name_rule(p))  // dotted_name
  ------------------
  |  Branch (3694:13): [True: 168, False: 94]
  ------------------
 3695|    168|            &&
 3696|    168|            (_keyword_1 = _PyPegen_expect_token(p, 647))  // token='import'
  ------------------
  |  Branch (3696:13): [True: 168, False: 0]
  ------------------
 3697|    168|            &&
 3698|    168|            (c = import_from_targets_rule(p))  // import_from_targets
  ------------------
  |  Branch (3698:13): [True: 168, False: 0]
  ------------------
 3699|    262|        )
 3700|    168|        {
 3701|    168|            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|    168|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 3703|    168|            if (_token == NULL) {
  ------------------
  |  Branch (3703:17): [True: 0, False: 168]
  ------------------
 3704|      0|                p->level--;
 3705|      0|                return NULL;
 3706|      0|            }
 3707|    168|            int _end_lineno = _token->end_lineno;
 3708|    168|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    168|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 168]
  |  |  ------------------
  ------------------
 3709|    168|            int _end_col_offset = _token->end_col_offset;
 3710|    168|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    168|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 168]
  |  |  ------------------
  ------------------
 3711|    168|            _res = _PyPegen_checked_future_import ( p , b -> v . Name . id , c , _PyPegen_seq_count_dots ( a ) , lazy , EXTRA );
  ------------------
  |  |  269|    168|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 3712|    168|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3712:18): [True: 0, False: 168]
  |  Branch (3712:34): [True: 0, False: 168]
  |  Branch (3712:57): [True: 0, False: 0]
  ------------------
 3713|      0|                p->error_indicator = 1;
 3714|      0|                p->level--;
 3715|      0|                return NULL;
 3716|      0|            }
 3717|    168|            goto done;
 3718|    168|        }
 3719|     94|        p->mark = _mark;
 3720|     94|        D(fprintf(stderr, "%*c%s import_from[%d-%d]: %s failed!\n", p->level, ' ',
 3721|     94|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "\"lazy\"? 'from' (('.' | '...'))* dotted_name 'import' import_from_targets"));
 3722|     94|    }
 3723|      0|    { // "lazy"? 'from' (('.' | '...'))+ 'import' import_from_targets
 3724|     94|        if (p->error_indicator) {
  ------------------
  |  Branch (3724:13): [True: 0, False: 94]
  ------------------
 3725|      0|            p->level--;
 3726|      0|            return NULL;
 3727|      0|        }
 3728|     94|        D(fprintf(stderr, "%*c> import_from[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "\"lazy\"? 'from' (('.' | '...'))+ 'import' import_from_targets"));
 3729|     94|        Token * _keyword;
 3730|     94|        Token * _keyword_1;
 3731|     94|        asdl_seq * a;
 3732|     94|        asdl_alias_seq* b;
 3733|     94|        void *lazy;
 3734|     94|        if (
 3735|     94|            (lazy = _PyPegen_expect_soft_keyword(p, "lazy"), !p->error_indicator)  // "lazy"?
  ------------------
  |  Branch (3735:13): [True: 94, False: 0]
  ------------------
 3736|     94|            &&
 3737|     94|            (_keyword = _PyPegen_expect_token(p, 646))  // token='from'
  ------------------
  |  Branch (3737:13): [True: 94, False: 0]
  ------------------
 3738|     94|            &&
 3739|     94|            (a = _loop1_18_rule(p))  // (('.' | '...'))+
  ------------------
  |  Branch (3739:13): [True: 94, False: 0]
  ------------------
 3740|     94|            &&
 3741|     94|            (_keyword_1 = _PyPegen_expect_token(p, 647))  // token='import'
  ------------------
  |  Branch (3741:13): [True: 94, False: 0]
  ------------------
 3742|     94|            &&
 3743|     94|            (b = import_from_targets_rule(p))  // import_from_targets
  ------------------
  |  Branch (3743:13): [True: 94, False: 0]
  ------------------
 3744|     94|        )
 3745|     94|        {
 3746|     94|            D(fprintf(stderr, "%*c+ import_from[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "\"lazy\"? 'from' (('.' | '...'))+ 'import' import_from_targets"));
 3747|     94|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 3748|     94|            if (_token == NULL) {
  ------------------
  |  Branch (3748:17): [True: 0, False: 94]
  ------------------
 3749|      0|                p->level--;
 3750|      0|                return NULL;
 3751|      0|            }
 3752|     94|            int _end_lineno = _token->end_lineno;
 3753|     94|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|     94|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 94]
  |  |  ------------------
  ------------------
 3754|     94|            int _end_col_offset = _token->end_col_offset;
 3755|     94|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|     94|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 94]
  |  |  ------------------
  ------------------
 3756|     94|            _res = _PyAST_ImportFrom ( NULL , b , _PyPegen_seq_count_dots ( a ) , lazy ? 1 : 0 , EXTRA );
  ------------------
  |  |  269|     94|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
  |  Branch (3756:83): [True: 0, False: 94]
  ------------------
 3757|     94|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3757:18): [True: 0, False: 94]
  |  Branch (3757:34): [True: 0, False: 94]
  |  Branch (3757:57): [True: 0, False: 0]
  ------------------
 3758|      0|                p->error_indicator = 1;
 3759|      0|                p->level--;
 3760|      0|                return NULL;
 3761|      0|            }
 3762|     94|            goto done;
 3763|     94|        }
 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|    262|  done:
 3770|    262|    p->level--;
 3771|    262|    return _res;
 3772|      0|}
parser.c:_loop0_17_rule:
29425|    262|{
29426|    262|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    524|#  define MAXSTACK 6000
  ------------------
  |  Branch (29426:9): [True: 0, False: 262]
  |  Branch (29426:35): [True: 0, False: 262]
  ------------------
29427|      0|        _Pypegen_stack_overflow(p);
29428|      0|    }
29429|    262|    if (p->error_indicator) {
  ------------------
  |  Branch (29429:9): [True: 0, False: 262]
  ------------------
29430|      0|        p->level--;
29431|      0|        return NULL;
29432|      0|    }
29433|    262|    void *_res = NULL;
29434|    262|    int _mark = p->mark;
29435|    262|    void **_children = PyMem_Malloc(sizeof(void *));
29436|    262|    if (!_children) {
  ------------------
  |  Branch (29436:9): [True: 0, False: 262]
  ------------------
29437|      0|        p->error_indicator = 1;
29438|      0|        PyErr_NoMemory();
29439|      0|        p->level--;
29440|      0|        return NULL;
29441|      0|    }
29442|    262|    Py_ssize_t _children_capacity = 1;
29443|    262|    Py_ssize_t _n = 0;
29444|    262|    { // ('.' | '...')
29445|    262|        if (p->error_indicator) {
  ------------------
  |  Branch (29445:13): [True: 0, False: 262]
  ------------------
29446|      0|            p->level--;
29447|      0|            return NULL;
29448|      0|        }
29449|    262|        D(fprintf(stderr, "%*c> _loop0_17[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "('.' | '...')"));
29450|    262|        void *_tmp_160_var;
29451|    262|        while (
29452|    403|            (_tmp_160_var = _tmp_160_rule(p))  // '.' | '...'
  ------------------
  |  Branch (29452:13): [True: 141, False: 262]
  ------------------
29453|    262|        )
29454|    141|        {
29455|    141|            _res = _tmp_160_var;
29456|    141|            if (_n == _children_capacity) {
  ------------------
  |  Branch (29456:17): [True: 0, False: 141]
  ------------------
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|    141|            _children[_n++] = _res;
29469|    141|            _mark = p->mark;
29470|    141|        }
29471|    262|        p->mark = _mark;
29472|    262|        D(fprintf(stderr, "%*c%s _loop0_17[%d-%d]: %s failed!\n", p->level, ' ',
29473|    262|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "('.' | '...')"));
29474|    262|    }
29475|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
29476|    262|    if (!_seq) {
  ------------------
  |  Branch (29476:9): [True: 0, False: 262]
  ------------------
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|    403|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|    141|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|    403|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (29483:28): [True: 141, False: 262]
  ------------------
29484|    262|    PyMem_Free(_children);
29485|    262|    p->level--;
29486|    262|    return _seq;
29487|    262|}
parser.c:_tmp_160_rule:
38336|    591|{
38337|    591|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.18k|#  define MAXSTACK 6000
  ------------------
  |  Branch (38337:9): [True: 0, False: 591]
  |  Branch (38337:35): [True: 0, False: 591]
  ------------------
38338|      0|        _Pypegen_stack_overflow(p);
38339|      0|    }
38340|    591|    if (p->error_indicator) {
  ------------------
  |  Branch (38340:9): [True: 0, False: 591]
  ------------------
38341|      0|        p->level--;
38342|      0|        return NULL;
38343|      0|    }
38344|    591|    void * _res = NULL;
38345|    591|    int _mark = p->mark;
38346|    591|    { // '.'
38347|    591|        if (p->error_indicator) {
  ------------------
  |  Branch (38347:13): [True: 0, False: 591]
  ------------------
38348|      0|            p->level--;
38349|      0|            return NULL;
38350|      0|        }
38351|    591|        D(fprintf(stderr, "%*c> _tmp_160[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'.'"));
38352|    591|        Token * _literal;
38353|    591|        if (
38354|    591|            (_literal = _PyPegen_expect_token(p, 23))  // token='.'
  ------------------
  |  Branch (38354:13): [True: 235, False: 356]
  ------------------
38355|    591|        )
38356|    235|        {
38357|    235|            D(fprintf(stderr, "%*c+ _tmp_160[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'.'"));
38358|    235|            _res = _literal;
38359|    235|            goto done;
38360|    235|        }
38361|    356|        p->mark = _mark;
38362|    356|        D(fprintf(stderr, "%*c%s _tmp_160[%d-%d]: %s failed!\n", p->level, ' ',
38363|    356|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'.'"));
38364|    356|    }
38365|      0|    { // '...'
38366|    356|        if (p->error_indicator) {
  ------------------
  |  Branch (38366:13): [True: 0, False: 356]
  ------------------
38367|      0|            p->level--;
38368|      0|            return NULL;
38369|      0|        }
38370|    356|        D(fprintf(stderr, "%*c> _tmp_160[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'...'"));
38371|    356|        Token * _literal;
38372|    356|        if (
38373|    356|            (_literal = _PyPegen_expect_token(p, 52))  // token='...'
  ------------------
  |  Branch (38373:13): [True: 0, False: 356]
  ------------------
38374|    356|        )
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|    356|        p->mark = _mark;
38381|    356|        D(fprintf(stderr, "%*c%s _tmp_160[%d-%d]: %s failed!\n", p->level, ' ',
38382|    356|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'...'"));
38383|    356|    }
38384|    356|    _res = NULL;
38385|    591|  done:
38386|    591|    p->level--;
38387|    591|    return _res;
38388|    356|}
parser.c:import_from_targets_rule:
 3781|    262|{
 3782|    262|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    524|#  define MAXSTACK 6000
  ------------------
  |  Branch (3782:9): [True: 0, False: 262]
  |  Branch (3782:35): [True: 0, False: 262]
  ------------------
 3783|      0|        _Pypegen_stack_overflow(p);
 3784|      0|    }
 3785|    262|    if (p->error_indicator) {
  ------------------
  |  Branch (3785:9): [True: 0, False: 262]
  ------------------
 3786|      0|        p->level--;
 3787|      0|        return NULL;
 3788|      0|    }
 3789|    262|    asdl_alias_seq* _res = NULL;
 3790|    262|    int _mark = p->mark;
 3791|    262|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (3791:9): [True: 262, False: 0]
  |  Branch (3791:31): [True: 0, False: 262]
  ------------------
 3792|      0|        p->error_indicator = 1;
 3793|      0|        p->level--;
 3794|      0|        return NULL;
 3795|      0|    }
 3796|    262|    int _start_lineno = p->tokens[_mark]->lineno;
 3797|    262|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    262|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 262]
  |  |  ------------------
  ------------------
 3798|    262|    int _start_col_offset = p->tokens[_mark]->col_offset;
 3799|    262|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    262|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 262]
  |  |  ------------------
  ------------------
 3800|    262|    { // '(' import_from_as_names ','? ')'
 3801|    262|        if (p->error_indicator) {
  ------------------
  |  Branch (3801:13): [True: 0, False: 262]
  ------------------
 3802|      0|            p->level--;
 3803|      0|            return NULL;
 3804|      0|        }
 3805|    262|        D(fprintf(stderr, "%*c> import_from_targets[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' import_from_as_names ','? ')'"));
 3806|    262|        Token * _literal;
 3807|    262|        Token * _literal_1;
 3808|    262|        void *_opt_var;
 3809|    262|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  267|    262|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 262]
  |  |  ------------------
  ------------------
 3810|    262|        asdl_alias_seq* a;
 3811|    262|        if (
 3812|    262|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (3812:13): [True: 5, False: 257]
  ------------------
 3813|      5|            &&
 3814|      5|            (a = import_from_as_names_rule(p))  // import_from_as_names
  ------------------
  |  Branch (3814:13): [True: 5, False: 0]
  ------------------
 3815|      5|            &&
 3816|      5|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (3816:13): [True: 5, False: 0]
  ------------------
 3817|      5|            &&
 3818|      5|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (3818:13): [True: 5, False: 0]
  ------------------
 3819|    262|        )
 3820|      5|        {
 3821|      5|            D(fprintf(stderr, "%*c+ import_from_targets[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' import_from_as_names ','? ')'"));
 3822|      5|            _res = a;
 3823|      5|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3823:18): [True: 0, False: 5]
  |  Branch (3823:34): [True: 0, False: 5]
  |  Branch (3823:57): [True: 0, False: 0]
  ------------------
 3824|      0|                p->error_indicator = 1;
 3825|      0|                p->level--;
 3826|      0|                return NULL;
 3827|      0|            }
 3828|      5|            goto done;
 3829|      5|        }
 3830|    257|        p->mark = _mark;
 3831|    257|        D(fprintf(stderr, "%*c%s import_from_targets[%d-%d]: %s failed!\n", p->level, ' ',
 3832|    257|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' import_from_as_names ','? ')'"));
 3833|    257|    }
 3834|      0|    { // import_from_as_names !','
 3835|    257|        if (p->error_indicator) {
  ------------------
  |  Branch (3835:13): [True: 0, False: 257]
  ------------------
 3836|      0|            p->level--;
 3837|      0|            return NULL;
 3838|      0|        }
 3839|    257|        D(fprintf(stderr, "%*c> import_from_targets[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "import_from_as_names !','"));
 3840|    257|        asdl_alias_seq* import_from_as_names_var;
 3841|    257|        if (
 3842|    257|            (import_from_as_names_var = import_from_as_names_rule(p))  // import_from_as_names
  ------------------
  |  Branch (3842:13): [True: 238, False: 19]
  ------------------
 3843|    238|            &&
 3844|    238|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 12)  // token=','
  ------------------
  |  Branch (3844:13): [True: 238, False: 0]
  ------------------
 3845|    257|        )
 3846|    238|        {
 3847|    238|            D(fprintf(stderr, "%*c+ import_from_targets[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "import_from_as_names !','"));
 3848|    238|            _res = import_from_as_names_var;
 3849|    238|            goto done;
 3850|    238|        }
 3851|     19|        p->mark = _mark;
 3852|     19|        D(fprintf(stderr, "%*c%s import_from_targets[%d-%d]: %s failed!\n", p->level, ' ',
 3853|     19|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "import_from_as_names !','"));
 3854|     19|    }
 3855|      0|    { // '*'
 3856|     19|        if (p->error_indicator) {
  ------------------
  |  Branch (3856:13): [True: 0, False: 19]
  ------------------
 3857|      0|            p->level--;
 3858|      0|            return NULL;
 3859|      0|        }
 3860|     19|        D(fprintf(stderr, "%*c> import_from_targets[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*'"));
 3861|     19|        Token * _literal;
 3862|     19|        if (
 3863|     19|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (3863:13): [True: 19, False: 0]
  ------------------
 3864|     19|        )
 3865|     19|        {
 3866|     19|            D(fprintf(stderr, "%*c+ import_from_targets[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*'"));
 3867|     19|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 3868|     19|            if (_token == NULL) {
  ------------------
  |  Branch (3868:17): [True: 0, False: 19]
  ------------------
 3869|      0|                p->level--;
 3870|      0|                return NULL;
 3871|      0|            }
 3872|     19|            int _end_lineno = _token->end_lineno;
 3873|     19|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|     19|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 19]
  |  |  ------------------
  ------------------
 3874|     19|            int _end_col_offset = _token->end_col_offset;
 3875|     19|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|     19|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 19]
  |  |  ------------------
  ------------------
 3876|     19|            _res = ( asdl_alias_seq* ) _PyPegen_singleton_seq ( p , CHECK ( alias_ty , _PyPegen_alias_for_star ( p , EXTRA ) ) );
  ------------------
  |  |  233|     19|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
 3877|     19|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3877:18): [True: 0, False: 19]
  |  Branch (3877:34): [True: 0, False: 19]
  |  Branch (3877:57): [True: 0, False: 0]
  ------------------
 3878|      0|                p->error_indicator = 1;
 3879|      0|                p->level--;
 3880|      0|                return NULL;
 3881|      0|            }
 3882|     19|            goto done;
 3883|     19|        }
 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|    262|  done:
 3909|    262|    p->level--;
 3910|    262|    return _res;
 3911|      0|}
parser.c:import_from_as_names_rule:
 3916|    262|{
 3917|    262|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    524|#  define MAXSTACK 6000
  ------------------
  |  Branch (3917:9): [True: 0, False: 262]
  |  Branch (3917:35): [True: 0, False: 262]
  ------------------
 3918|      0|        _Pypegen_stack_overflow(p);
 3919|      0|    }
 3920|    262|    if (p->error_indicator) {
  ------------------
  |  Branch (3920:9): [True: 0, False: 262]
  ------------------
 3921|      0|        p->level--;
 3922|      0|        return NULL;
 3923|      0|    }
 3924|    262|    asdl_alias_seq* _res = NULL;
 3925|    262|    int _mark = p->mark;
 3926|    262|    { // ','.import_from_as_name+
 3927|    262|        if (p->error_indicator) {
  ------------------
  |  Branch (3927:13): [True: 0, False: 262]
  ------------------
 3928|      0|            p->level--;
 3929|      0|            return NULL;
 3930|      0|        }
 3931|    262|        D(fprintf(stderr, "%*c> import_from_as_names[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.import_from_as_name+"));
 3932|    262|        asdl_alias_seq* a;
 3933|    262|        if (
 3934|    262|            (a = (asdl_alias_seq*)_gather_20_rule(p))  // ','.import_from_as_name+
  ------------------
  |  Branch (3934:13): [True: 243, False: 19]
  ------------------
 3935|    262|        )
 3936|    243|        {
 3937|    243|            D(fprintf(stderr, "%*c+ import_from_as_names[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.import_from_as_name+"));
 3938|    243|            _res = a;
 3939|    243|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3939:18): [True: 0, False: 243]
  |  Branch (3939:34): [True: 0, False: 243]
  |  Branch (3939:57): [True: 0, False: 0]
  ------------------
 3940|      0|                p->error_indicator = 1;
 3941|      0|                p->level--;
 3942|      0|                return NULL;
 3943|      0|            }
 3944|    243|            goto done;
 3945|    243|        }
 3946|     19|        p->mark = _mark;
 3947|     19|        D(fprintf(stderr, "%*c%s import_from_as_names[%d-%d]: %s failed!\n", p->level, ' ',
 3948|     19|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.import_from_as_name+"));
 3949|     19|    }
 3950|     19|    _res = NULL;
 3951|    262|  done:
 3952|    262|    p->level--;
 3953|    262|    return _res;
 3954|     19|}
parser.c:_gather_20_rule:
29640|    262|{
29641|    262|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    524|#  define MAXSTACK 6000
  ------------------
  |  Branch (29641:9): [True: 0, False: 262]
  |  Branch (29641:35): [True: 0, False: 262]
  ------------------
29642|      0|        _Pypegen_stack_overflow(p);
29643|      0|    }
29644|    262|    if (p->error_indicator) {
  ------------------
  |  Branch (29644:9): [True: 0, False: 262]
  ------------------
29645|      0|        p->level--;
29646|      0|        return NULL;
29647|      0|    }
29648|    262|    asdl_seq * _res = NULL;
29649|    262|    int _mark = p->mark;
29650|    262|    { // import_from_as_name _loop0_19
29651|    262|        if (p->error_indicator) {
  ------------------
  |  Branch (29651:13): [True: 0, False: 262]
  ------------------
29652|      0|            p->level--;
29653|      0|            return NULL;
29654|      0|        }
29655|    262|        D(fprintf(stderr, "%*c> _gather_20[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "import_from_as_name _loop0_19"));
29656|    262|        alias_ty elem;
29657|    262|        asdl_seq * seq;
29658|    262|        if (
29659|    262|            (elem = import_from_as_name_rule(p))  // import_from_as_name
  ------------------
  |  Branch (29659:13): [True: 243, False: 19]
  ------------------
29660|    243|            &&
29661|    243|            (seq = _loop0_19_rule(p))  // _loop0_19
  ------------------
  |  Branch (29661:13): [True: 243, False: 0]
  ------------------
29662|    262|        )
29663|    243|        {
29664|    243|            D(fprintf(stderr, "%*c+ _gather_20[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "import_from_as_name _loop0_19"));
29665|    243|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
29666|    243|            goto done;
29667|    243|        }
29668|     19|        p->mark = _mark;
29669|     19|        D(fprintf(stderr, "%*c%s _gather_20[%d-%d]: %s failed!\n", p->level, ' ',
29670|     19|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "import_from_as_name _loop0_19"));
29671|     19|    }
29672|     19|    _res = NULL;
29673|    262|  done:
29674|    262|    p->level--;
29675|    262|    return _res;
29676|     19|}
parser.c:import_from_as_name_rule:
 3959|    313|{
 3960|    313|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    626|#  define MAXSTACK 6000
  ------------------
  |  Branch (3960:9): [True: 0, False: 313]
  |  Branch (3960:35): [True: 0, False: 313]
  ------------------
 3961|      0|        _Pypegen_stack_overflow(p);
 3962|      0|    }
 3963|    313|    if (p->error_indicator) {
  ------------------
  |  Branch (3963:9): [True: 0, False: 313]
  ------------------
 3964|      0|        p->level--;
 3965|      0|        return NULL;
 3966|      0|    }
 3967|    313|    alias_ty _res = NULL;
 3968|    313|    int _mark = p->mark;
 3969|    313|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (3969:9): [True: 56, False: 257]
  |  Branch (3969:31): [True: 0, False: 56]
  ------------------
 3970|      0|        p->error_indicator = 1;
 3971|      0|        p->level--;
 3972|      0|        return NULL;
 3973|      0|    }
 3974|    313|    int _start_lineno = p->tokens[_mark]->lineno;
 3975|    313|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    313|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 313]
  |  |  ------------------
  ------------------
 3976|    313|    int _start_col_offset = p->tokens[_mark]->col_offset;
 3977|    313|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    313|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 313]
  |  |  ------------------
  ------------------
 3978|    313|    if (p->call_invalid_rules) { // invalid_import_from_as_name
  ------------------
  |  Branch (3978:9): [True: 0, False: 313]
  ------------------
 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|    313|    { // NAME ['as' NAME]
 3998|    313|        if (p->error_indicator) {
  ------------------
  |  Branch (3998:13): [True: 0, False: 313]
  ------------------
 3999|      0|            p->level--;
 4000|      0|            return NULL;
 4001|      0|        }
 4002|    313|        D(fprintf(stderr, "%*c> import_from_as_name[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME ['as' NAME]"));
 4003|    313|        expr_ty a;
 4004|    313|        void *b;
 4005|    313|        if (
 4006|    313|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (4006:13): [True: 294, False: 19]
  ------------------
 4007|    294|            &&
 4008|    294|            (b = _tmp_21_rule(p), !p->error_indicator)  // ['as' NAME]
  ------------------
  |  Branch (4008:13): [True: 294, False: 0]
  ------------------
 4009|    313|        )
 4010|    294|        {
 4011|    294|            D(fprintf(stderr, "%*c+ import_from_as_name[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME ['as' NAME]"));
 4012|    294|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 4013|    294|            if (_token == NULL) {
  ------------------
  |  Branch (4013:17): [True: 0, False: 294]
  ------------------
 4014|      0|                p->level--;
 4015|      0|                return NULL;
 4016|      0|            }
 4017|    294|            int _end_lineno = _token->end_lineno;
 4018|    294|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    294|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 294]
  |  |  ------------------
  ------------------
 4019|    294|            int _end_col_offset = _token->end_col_offset;
 4020|    294|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    294|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 294]
  |  |  ------------------
  ------------------
 4021|    294|            _res = _PyAST_alias ( a -> v . Name . id , ( b ) ? ( ( expr_ty ) b ) -> v . Name . id : NULL , EXTRA );
  ------------------
  |  |  269|    294|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
  |  Branch (4021:56): [True: 7, False: 287]
  ------------------
 4022|    294|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4022:18): [True: 0, False: 294]
  |  Branch (4022:34): [True: 0, False: 294]
  |  Branch (4022:57): [True: 0, False: 0]
  ------------------
 4023|      0|                p->error_indicator = 1;
 4024|      0|                p->level--;
 4025|      0|                return NULL;
 4026|      0|            }
 4027|    294|            goto done;
 4028|    294|        }
 4029|     19|        p->mark = _mark;
 4030|     19|        D(fprintf(stderr, "%*c%s import_from_as_name[%d-%d]: %s failed!\n", p->level, ' ',
 4031|     19|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME ['as' NAME]"));
 4032|     19|    }
 4033|     19|    _res = NULL;
 4034|    313|  done:
 4035|    313|    p->level--;
 4036|    313|    return _res;
 4037|     19|}
parser.c:_loop0_19_rule:
29564|    243|{
29565|    243|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    486|#  define MAXSTACK 6000
  ------------------
  |  Branch (29565:9): [True: 0, False: 243]
  |  Branch (29565:35): [True: 0, False: 243]
  ------------------
29566|      0|        _Pypegen_stack_overflow(p);
29567|      0|    }
29568|    243|    if (p->error_indicator) {
  ------------------
  |  Branch (29568:9): [True: 0, False: 243]
  ------------------
29569|      0|        p->level--;
29570|      0|        return NULL;
29571|      0|    }
29572|    243|    void *_res = NULL;
29573|    243|    int _mark = p->mark;
29574|    243|    void **_children = PyMem_Malloc(sizeof(void *));
29575|    243|    if (!_children) {
  ------------------
  |  Branch (29575:9): [True: 0, False: 243]
  ------------------
29576|      0|        p->error_indicator = 1;
29577|      0|        PyErr_NoMemory();
29578|      0|        p->level--;
29579|      0|        return NULL;
29580|      0|    }
29581|    243|    Py_ssize_t _children_capacity = 1;
29582|    243|    Py_ssize_t _n = 0;
29583|    243|    { // ',' import_from_as_name
29584|    243|        if (p->error_indicator) {
  ------------------
  |  Branch (29584:13): [True: 0, False: 243]
  ------------------
29585|      0|            p->level--;
29586|      0|            return NULL;
29587|      0|        }
29588|    243|        D(fprintf(stderr, "%*c> _loop0_19[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' import_from_as_name"));
29589|    243|        Token * _literal;
29590|    243|        alias_ty elem;
29591|    243|        while (
29592|    294|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (29592:13): [True: 51, False: 243]
  ------------------
29593|     51|            &&
29594|     51|            (elem = import_from_as_name_rule(p))  // import_from_as_name
  ------------------
  |  Branch (29594:13): [True: 51, False: 0]
  ------------------
29595|    243|        )
29596|     51|        {
29597|     51|            _res = elem;
29598|     51|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (29598:18): [True: 0, False: 51]
  |  Branch (29598:34): [True: 0, False: 51]
  |  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|     51|            if (_n == _children_capacity) {
  ------------------
  |  Branch (29604:17): [True: 19, False: 32]
  ------------------
29605|     19|                _children_capacity *= 2;
29606|     19|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
29607|     19|                if (!_new_children) {
  ------------------
  |  Branch (29607:21): [True: 0, False: 19]
  ------------------
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|     19|                _children = _new_children;
29615|     19|            }
29616|     51|            _children[_n++] = _res;
29617|     51|            _mark = p->mark;
29618|     51|        }
29619|    243|        p->mark = _mark;
29620|    243|        D(fprintf(stderr, "%*c%s _loop0_19[%d-%d]: %s failed!\n", p->level, ' ',
29621|    243|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' import_from_as_name"));
29622|    243|    }
29623|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
29624|    243|    if (!_seq) {
  ------------------
  |  Branch (29624:9): [True: 0, False: 243]
  ------------------
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|    294|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|     51|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|    294|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (29631:28): [True: 51, False: 243]
  ------------------
29632|    243|    PyMem_Free(_children);
29633|    243|    p->level--;
29634|    243|    return _seq;
29635|    243|}
parser.c:_loop1_18_rule:
29492|     94|{
29493|     94|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    188|#  define MAXSTACK 6000
  ------------------
  |  Branch (29493:9): [True: 0, False: 94]
  |  Branch (29493:35): [True: 0, False: 94]
  ------------------
29494|      0|        _Pypegen_stack_overflow(p);
29495|      0|    }
29496|     94|    if (p->error_indicator) {
  ------------------
  |  Branch (29496:9): [True: 0, False: 94]
  ------------------
29497|      0|        p->level--;
29498|      0|        return NULL;
29499|      0|    }
29500|     94|    void *_res = NULL;
29501|     94|    int _mark = p->mark;
29502|     94|    void **_children = PyMem_Malloc(sizeof(void *));
29503|     94|    if (!_children) {
  ------------------
  |  Branch (29503:9): [True: 0, False: 94]
  ------------------
29504|      0|        p->error_indicator = 1;
29505|      0|        PyErr_NoMemory();
29506|      0|        p->level--;
29507|      0|        return NULL;
29508|      0|    }
29509|     94|    Py_ssize_t _children_capacity = 1;
29510|     94|    Py_ssize_t _n = 0;
29511|     94|    { // ('.' | '...')
29512|     94|        if (p->error_indicator) {
  ------------------
  |  Branch (29512:13): [True: 0, False: 94]
  ------------------
29513|      0|            p->level--;
29514|      0|            return NULL;
29515|      0|        }
29516|     94|        D(fprintf(stderr, "%*c> _loop1_18[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "('.' | '...')"));
29517|     94|        void *_tmp_160_var;
29518|     94|        while (
29519|    188|            (_tmp_160_var = _tmp_160_rule(p))  // '.' | '...'
  ------------------
  |  Branch (29519:13): [True: 94, False: 94]
  ------------------
29520|     94|        )
29521|     94|        {
29522|     94|            _res = _tmp_160_var;
29523|     94|            if (_n == _children_capacity) {
  ------------------
  |  Branch (29523:17): [True: 0, False: 94]
  ------------------
29524|      0|                _children_capacity *= 2;
29525|      0|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
29526|      0|                if (!_new_children) {
  ------------------
  |  Branch (29526:21): [True: 0, False: 0]
  ------------------
29527|      0|                    PyMem_Free(_children);
29528|      0|                    p->error_indicator = 1;
29529|      0|                    PyErr_NoMemory();
29530|      0|                    p->level--;
29531|      0|                    return NULL;
29532|      0|                }
29533|      0|                _children = _new_children;
29534|      0|            }
29535|     94|            _children[_n++] = _res;
29536|     94|            _mark = p->mark;
29537|     94|        }
29538|     94|        p->mark = _mark;
29539|     94|        D(fprintf(stderr, "%*c%s _loop1_18[%d-%d]: %s failed!\n", p->level, ' ',
29540|     94|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "('.' | '...')"));
29541|     94|    }
29542|     94|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (29542:9): [True: 0, False: 94]
  |  Branch (29542:20): [True: 0, False: 94]
  ------------------
29543|      0|        PyMem_Free(_children);
29544|      0|        p->level--;
29545|      0|        return NULL;
29546|      0|    }
29547|     94|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
29548|     94|    if (!_seq) {
  ------------------
  |  Branch (29548:9): [True: 0, False: 94]
  ------------------
29549|      0|        PyMem_Free(_children);
29550|      0|        p->error_indicator = 1;
29551|      0|        PyErr_NoMemory();
29552|      0|        p->level--;
29553|      0|        return NULL;
29554|      0|    }
29555|    188|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|     94|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|    188|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (29555:28): [True: 94, False: 94]
  ------------------
29556|     94|    PyMem_Free(_children);
29557|     94|    p->level--;
29558|     94|    return _seq;
29559|     94|}
parser.c:return_stmt_rule:
 2737|  1.50k|{
 2738|  1.50k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  3.00k|#  define MAXSTACK 6000
  ------------------
  |  Branch (2738:9): [True: 0, False: 1.50k]
  |  Branch (2738:35): [True: 0, False: 1.50k]
  ------------------
 2739|      0|        _Pypegen_stack_overflow(p);
 2740|      0|    }
 2741|  1.50k|    if (p->error_indicator) {
  ------------------
  |  Branch (2741:9): [True: 0, False: 1.50k]
  ------------------
 2742|      0|        p->level--;
 2743|      0|        return NULL;
 2744|      0|    }
 2745|  1.50k|    stmt_ty _res = NULL;
 2746|  1.50k|    int _mark = p->mark;
 2747|  1.50k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (2747:9): [True: 0, False: 1.50k]
  |  Branch (2747:31): [True: 0, False: 0]
  ------------------
 2748|      0|        p->error_indicator = 1;
 2749|      0|        p->level--;
 2750|      0|        return NULL;
 2751|      0|    }
 2752|  1.50k|    int _start_lineno = p->tokens[_mark]->lineno;
 2753|  1.50k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|  1.50k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 1.50k]
  |  |  ------------------
  ------------------
 2754|  1.50k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 2755|  1.50k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|  1.50k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 1.50k]
  |  |  ------------------
  ------------------
 2756|  1.50k|    { // 'return' star_expressions?
 2757|  1.50k|        if (p->error_indicator) {
  ------------------
  |  Branch (2757:13): [True: 0, False: 1.50k]
  ------------------
 2758|      0|            p->level--;
 2759|      0|            return NULL;
 2760|      0|        }
 2761|  1.50k|        D(fprintf(stderr, "%*c> return_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'return' star_expressions?"));
 2762|  1.50k|        Token * _keyword;
 2763|  1.50k|        void *a;
 2764|  1.50k|        if (
 2765|  1.50k|            (_keyword = _PyPegen_expect_token(p, 522))  // token='return'
  ------------------
  |  Branch (2765:13): [True: 1.50k, False: 0]
  ------------------
 2766|  1.50k|            &&
 2767|  1.50k|            (a = star_expressions_rule(p), !p->error_indicator)  // star_expressions?
  ------------------
  |  Branch (2767:13): [True: 1.50k, False: 0]
  ------------------
 2768|  1.50k|        )
 2769|  1.50k|        {
 2770|  1.50k|            D(fprintf(stderr, "%*c+ return_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'return' star_expressions?"));
 2771|  1.50k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 2772|  1.50k|            if (_token == NULL) {
  ------------------
  |  Branch (2772:17): [True: 0, False: 1.50k]
  ------------------
 2773|      0|                p->level--;
 2774|      0|                return NULL;
 2775|      0|            }
 2776|  1.50k|            int _end_lineno = _token->end_lineno;
 2777|  1.50k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|  1.50k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 1.50k]
  |  |  ------------------
  ------------------
 2778|  1.50k|            int _end_col_offset = _token->end_col_offset;
 2779|  1.50k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|  1.50k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 1.50k]
  |  |  ------------------
  ------------------
 2780|  1.50k|            _res = _PyAST_Return ( a , EXTRA );
  ------------------
  |  |  269|  1.50k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 2781|  1.50k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2781:18): [True: 0, False: 1.50k]
  |  Branch (2781:34): [True: 0, False: 1.50k]
  |  Branch (2781:57): [True: 0, False: 0]
  ------------------
 2782|      0|                p->error_indicator = 1;
 2783|      0|                p->level--;
 2784|      0|                return NULL;
 2785|      0|            }
 2786|  1.50k|            goto done;
 2787|  1.50k|        }
 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|  1.50k|  done:
 2794|  1.50k|    p->level--;
 2795|  1.50k|    return _res;
 2796|      0|}
parser.c:raise_stmt_rule:
 2805|    606|{
 2806|    606|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.21k|#  define MAXSTACK 6000
  ------------------
  |  Branch (2806:9): [True: 0, False: 606]
  |  Branch (2806:35): [True: 0, False: 606]
  ------------------
 2807|      0|        _Pypegen_stack_overflow(p);
 2808|      0|    }
 2809|    606|    if (p->error_indicator) {
  ------------------
  |  Branch (2809:9): [True: 0, False: 606]
  ------------------
 2810|      0|        p->level--;
 2811|      0|        return NULL;
 2812|      0|    }
 2813|    606|    stmt_ty _res = NULL;
 2814|    606|    int _mark = p->mark;
 2815|    606|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (2815:9): [True: 0, False: 606]
  |  Branch (2815:31): [True: 0, False: 0]
  ------------------
 2816|      0|        p->error_indicator = 1;
 2817|      0|        p->level--;
 2818|      0|        return NULL;
 2819|      0|    }
 2820|    606|    int _start_lineno = p->tokens[_mark]->lineno;
 2821|    606|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    606|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 606]
  |  |  ------------------
  ------------------
 2822|    606|    int _start_col_offset = p->tokens[_mark]->col_offset;
 2823|    606|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    606|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 606]
  |  |  ------------------
  ------------------
 2824|    606|    { // 'raise' expression 'from' expression
 2825|    606|        if (p->error_indicator) {
  ------------------
  |  Branch (2825:13): [True: 0, False: 606]
  ------------------
 2826|      0|            p->level--;
 2827|      0|            return NULL;
 2828|      0|        }
 2829|    606|        D(fprintf(stderr, "%*c> raise_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'raise' expression 'from' expression"));
 2830|    606|        Token * _keyword;
 2831|    606|        Token * _keyword_1;
 2832|    606|        expr_ty a;
 2833|    606|        expr_ty b;
 2834|    606|        if (
 2835|    606|            (_keyword = _PyPegen_expect_token(p, 632))  // token='raise'
  ------------------
  |  Branch (2835:13): [True: 606, False: 0]
  ------------------
 2836|    606|            &&
 2837|    606|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (2837:13): [True: 523, False: 83]
  ------------------
 2838|    523|            &&
 2839|    523|            (_keyword_1 = _PyPegen_expect_token(p, 646))  // token='from'
  ------------------
  |  Branch (2839:13): [True: 20, False: 503]
  ------------------
 2840|     20|            &&
 2841|     20|            (b = expression_rule(p))  // expression
  ------------------
  |  Branch (2841:13): [True: 20, False: 0]
  ------------------
 2842|    606|        )
 2843|     20|        {
 2844|     20|            D(fprintf(stderr, "%*c+ raise_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'raise' expression 'from' expression"));
 2845|     20|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 2846|     20|            if (_token == NULL) {
  ------------------
  |  Branch (2846:17): [True: 0, False: 20]
  ------------------
 2847|      0|                p->level--;
 2848|      0|                return NULL;
 2849|      0|            }
 2850|     20|            int _end_lineno = _token->end_lineno;
 2851|     20|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|     20|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 20]
  |  |  ------------------
  ------------------
 2852|     20|            int _end_col_offset = _token->end_col_offset;
 2853|     20|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|     20|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 20]
  |  |  ------------------
  ------------------
 2854|     20|            _res = _PyAST_Raise ( a , b , EXTRA );
  ------------------
  |  |  269|     20|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 2855|     20|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2855:18): [True: 0, False: 20]
  |  Branch (2855:34): [True: 0, False: 20]
  |  Branch (2855:57): [True: 0, False: 0]
  ------------------
 2856|      0|                p->error_indicator = 1;
 2857|      0|                p->level--;
 2858|      0|                return NULL;
 2859|      0|            }
 2860|     20|            goto done;
 2861|     20|        }
 2862|    586|        p->mark = _mark;
 2863|    586|        D(fprintf(stderr, "%*c%s raise_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 2864|    586|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'raise' expression 'from' expression"));
 2865|    586|    }
 2866|    586|    if (p->call_invalid_rules) { // invalid_raise_stmt
  ------------------
  |  Branch (2866:9): [True: 0, False: 586]
  ------------------
 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|    586|    { // 'raise' expression
 2886|    586|        if (p->error_indicator) {
  ------------------
  |  Branch (2886:13): [True: 0, False: 586]
  ------------------
 2887|      0|            p->level--;
 2888|      0|            return NULL;
 2889|      0|        }
 2890|    586|        D(fprintf(stderr, "%*c> raise_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'raise' expression"));
 2891|    586|        Token * _keyword;
 2892|    586|        expr_ty a;
 2893|    586|        if (
 2894|    586|            (_keyword = _PyPegen_expect_token(p, 632))  // token='raise'
  ------------------
  |  Branch (2894:13): [True: 586, False: 0]
  ------------------
 2895|    586|            &&
 2896|    586|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (2896:13): [True: 503, False: 83]
  ------------------
 2897|    586|        )
 2898|    503|        {
 2899|    503|            D(fprintf(stderr, "%*c+ raise_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'raise' expression"));
 2900|    503|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 2901|    503|            if (_token == NULL) {
  ------------------
  |  Branch (2901:17): [True: 0, False: 503]
  ------------------
 2902|      0|                p->level--;
 2903|      0|                return NULL;
 2904|      0|            }
 2905|    503|            int _end_lineno = _token->end_lineno;
 2906|    503|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    503|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 503]
  |  |  ------------------
  ------------------
 2907|    503|            int _end_col_offset = _token->end_col_offset;
 2908|    503|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    503|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 503]
  |  |  ------------------
  ------------------
 2909|    503|            _res = _PyAST_Raise ( a , NULL , EXTRA );
  ------------------
  |  |  269|    503|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 2910|    503|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2910:18): [True: 0, False: 503]
  |  Branch (2910:34): [True: 0, False: 503]
  |  Branch (2910:57): [True: 0, False: 0]
  ------------------
 2911|      0|                p->error_indicator = 1;
 2912|      0|                p->level--;
 2913|      0|                return NULL;
 2914|      0|            }
 2915|    503|            goto done;
 2916|    503|        }
 2917|     83|        p->mark = _mark;
 2918|     83|        D(fprintf(stderr, "%*c%s raise_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 2919|     83|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'raise' expression"));
 2920|     83|    }
 2921|      0|    { // 'raise'
 2922|     83|        if (p->error_indicator) {
  ------------------
  |  Branch (2922:13): [True: 0, False: 83]
  ------------------
 2923|      0|            p->level--;
 2924|      0|            return NULL;
 2925|      0|        }
 2926|     83|        D(fprintf(stderr, "%*c> raise_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'raise'"));
 2927|     83|        Token * _keyword;
 2928|     83|        if (
 2929|     83|            (_keyword = _PyPegen_expect_token(p, 632))  // token='raise'
  ------------------
  |  Branch (2929:13): [True: 83, False: 0]
  ------------------
 2930|     83|        )
 2931|     83|        {
 2932|     83|            D(fprintf(stderr, "%*c+ raise_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'raise'"));
 2933|     83|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 2934|     83|            if (_token == NULL) {
  ------------------
  |  Branch (2934:17): [True: 0, False: 83]
  ------------------
 2935|      0|                p->level--;
 2936|      0|                return NULL;
 2937|      0|            }
 2938|     83|            int _end_lineno = _token->end_lineno;
 2939|     83|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|     83|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 83]
  |  |  ------------------
  ------------------
 2940|     83|            int _end_col_offset = _token->end_col_offset;
 2941|     83|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|     83|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 83]
  |  |  ------------------
  ------------------
 2942|     83|            _res = _PyAST_Raise ( NULL , NULL , EXTRA );
  ------------------
  |  |  269|     83|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 2943|     83|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (2943:18): [True: 0, False: 83]
  |  Branch (2943:34): [True: 0, False: 83]
  |  Branch (2943:57): [True: 0, False: 0]
  ------------------
 2944|      0|                p->error_indicator = 1;
 2945|      0|                p->level--;
 2946|      0|                return NULL;
 2947|      0|            }
 2948|     83|            goto done;
 2949|     83|        }
 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|    606|  done:
 2956|    606|    p->level--;
 2957|    606|    return _res;
 2958|      0|}
parser.c:del_stmt_rule:
 3274|     40|{
 3275|     40|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     80|#  define MAXSTACK 6000
  ------------------
  |  Branch (3275:9): [True: 0, False: 40]
  |  Branch (3275:35): [True: 0, False: 40]
  ------------------
 3276|      0|        _Pypegen_stack_overflow(p);
 3277|      0|    }
 3278|     40|    if (p->error_indicator) {
  ------------------
  |  Branch (3278:9): [True: 0, False: 40]
  ------------------
 3279|      0|        p->level--;
 3280|      0|        return NULL;
 3281|      0|    }
 3282|     40|    stmt_ty _res = NULL;
 3283|     40|    int _mark = p->mark;
 3284|     40|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (3284:9): [True: 0, False: 40]
  |  Branch (3284:31): [True: 0, False: 0]
  ------------------
 3285|      0|        p->error_indicator = 1;
 3286|      0|        p->level--;
 3287|      0|        return NULL;
 3288|      0|    }
 3289|     40|    int _start_lineno = p->tokens[_mark]->lineno;
 3290|     40|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|     40|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 40]
  |  |  ------------------
  ------------------
 3291|     40|    int _start_col_offset = p->tokens[_mark]->col_offset;
 3292|     40|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|     40|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 40]
  |  |  ------------------
  ------------------
 3293|     40|    { // 'del' del_targets &(';' | NEWLINE)
 3294|     40|        if (p->error_indicator) {
  ------------------
  |  Branch (3294:13): [True: 0, False: 40]
  ------------------
 3295|      0|            p->level--;
 3296|      0|            return NULL;
 3297|      0|        }
 3298|     40|        D(fprintf(stderr, "%*c> del_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'del' del_targets &(';' | NEWLINE)"));
 3299|     40|        Token * _keyword;
 3300|     40|        asdl_expr_seq* a;
 3301|     40|        if (
 3302|     40|            (_keyword = _PyPegen_expect_token(p, 634))  // token='del'
  ------------------
  |  Branch (3302:13): [True: 40, False: 0]
  ------------------
 3303|     40|            &&
 3304|     40|            (a = del_targets_rule(p))  // del_targets
  ------------------
  |  Branch (3304:13): [True: 40, False: 0]
  ------------------
 3305|     40|            &&
 3306|     40|            _PyPegen_lookahead(1, _tmp_15_rule, p)
  ------------------
  |  Branch (3306:13): [True: 40, False: 0]
  ------------------
 3307|     40|        )
 3308|     40|        {
 3309|     40|            D(fprintf(stderr, "%*c+ del_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'del' del_targets &(';' | NEWLINE)"));
 3310|     40|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 3311|     40|            if (_token == NULL) {
  ------------------
  |  Branch (3311:17): [True: 0, False: 40]
  ------------------
 3312|      0|                p->level--;
 3313|      0|                return NULL;
 3314|      0|            }
 3315|     40|            int _end_lineno = _token->end_lineno;
 3316|     40|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|     40|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 40]
  |  |  ------------------
  ------------------
 3317|     40|            int _end_col_offset = _token->end_col_offset;
 3318|     40|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|     40|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 40]
  |  |  ------------------
  ------------------
 3319|     40|            _res = _PyAST_Delete ( a , EXTRA );
  ------------------
  |  |  269|     40|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 3320|     40|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3320:18): [True: 0, False: 40]
  |  Branch (3320:34): [True: 0, False: 40]
  |  Branch (3320:57): [True: 0, False: 0]
  ------------------
 3321|      0|                p->error_indicator = 1;
 3322|      0|                p->level--;
 3323|      0|                return NULL;
 3324|      0|            }
 3325|     40|            goto done;
 3326|     40|        }
 3327|      0|        p->mark = _mark;
 3328|      0|        D(fprintf(stderr, "%*c%s del_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 3329|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'del' del_targets &(';' | NEWLINE)"));
 3330|      0|    }
 3331|      0|    if (p->call_invalid_rules) { // invalid_del_stmt
  ------------------
  |  Branch (3331:9): [True: 0, False: 0]
  ------------------
 3332|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (3332:13): [True: 0, False: 0]
  ------------------
 3333|      0|            p->level--;
 3334|      0|            return NULL;
 3335|      0|        }
 3336|      0|        D(fprintf(stderr, "%*c> del_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_del_stmt"));
 3337|      0|        void *invalid_del_stmt_var;
 3338|      0|        if (
 3339|      0|            (invalid_del_stmt_var = invalid_del_stmt_rule(p))  // invalid_del_stmt
  ------------------
  |  Branch (3339:13): [True: 0, False: 0]
  ------------------
 3340|      0|        )
 3341|      0|        {
 3342|      0|            D(fprintf(stderr, "%*c+ del_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_del_stmt"));
 3343|      0|            _res = invalid_del_stmt_var;
 3344|      0|            goto done;
 3345|      0|        }
 3346|      0|        p->mark = _mark;
 3347|      0|        D(fprintf(stderr, "%*c%s del_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 3348|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_del_stmt"));
 3349|      0|    }
 3350|      0|    _res = NULL;
 3351|     40|  done:
 3352|     40|    p->level--;
 3353|     40|    return _res;
 3354|      0|}
parser.c:del_targets_rule:
20354|     40|{
20355|     40|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     80|#  define MAXSTACK 6000
  ------------------
  |  Branch (20355:9): [True: 0, False: 40]
  |  Branch (20355:35): [True: 0, False: 40]
  ------------------
20356|      0|        _Pypegen_stack_overflow(p);
20357|      0|    }
20358|     40|    if (p->error_indicator) {
  ------------------
  |  Branch (20358:9): [True: 0, False: 40]
  ------------------
20359|      0|        p->level--;
20360|      0|        return NULL;
20361|      0|    }
20362|     40|    asdl_expr_seq* _res = NULL;
20363|     40|    int _mark = p->mark;
20364|     40|    { // ','.del_target+ ','?
20365|     40|        if (p->error_indicator) {
  ------------------
  |  Branch (20365:13): [True: 0, False: 40]
  ------------------
20366|      0|            p->level--;
20367|      0|            return NULL;
20368|      0|        }
20369|     40|        D(fprintf(stderr, "%*c> del_targets[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','.del_target+ ','?"));
20370|     40|        void *_opt_var;
20371|     40|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  267|     40|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 40]
  |  |  ------------------
  ------------------
20372|     40|        asdl_expr_seq* a;
20373|     40|        if (
20374|     40|            (a = (asdl_expr_seq*)_gather_103_rule(p))  // ','.del_target+
  ------------------
  |  Branch (20374:13): [True: 40, False: 0]
  ------------------
20375|     40|            &&
20376|     40|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (20376:13): [True: 40, False: 0]
  ------------------
20377|     40|        )
20378|     40|        {
20379|     40|            D(fprintf(stderr, "%*c+ del_targets[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','.del_target+ ','?"));
20380|     40|            _res = a;
20381|     40|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (20381:18): [True: 0, False: 40]
  |  Branch (20381:34): [True: 0, False: 40]
  |  Branch (20381:57): [True: 0, False: 0]
  ------------------
20382|      0|                p->error_indicator = 1;
20383|      0|                p->level--;
20384|      0|                return NULL;
20385|      0|            }
20386|     40|            goto done;
20387|     40|        }
20388|      0|        p->mark = _mark;
20389|      0|        D(fprintf(stderr, "%*c%s del_targets[%d-%d]: %s failed!\n", p->level, ' ',
20390|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','.del_target+ ','?"));
20391|      0|    }
20392|      0|    _res = NULL;
20393|     40|  done:
20394|     40|    p->level--;
20395|     40|    return _res;
20396|      0|}
parser.c:_gather_103_rule:
34872|     40|{
34873|     40|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     80|#  define MAXSTACK 6000
  ------------------
  |  Branch (34873:9): [True: 0, False: 40]
  |  Branch (34873:35): [True: 0, False: 40]
  ------------------
34874|      0|        _Pypegen_stack_overflow(p);
34875|      0|    }
34876|     40|    if (p->error_indicator) {
  ------------------
  |  Branch (34876:9): [True: 0, False: 40]
  ------------------
34877|      0|        p->level--;
34878|      0|        return NULL;
34879|      0|    }
34880|     40|    asdl_seq * _res = NULL;
34881|     40|    int _mark = p->mark;
34882|     40|    { // del_target _loop0_102
34883|     40|        if (p->error_indicator) {
  ------------------
  |  Branch (34883:13): [True: 0, False: 40]
  ------------------
34884|      0|            p->level--;
34885|      0|            return NULL;
34886|      0|        }
34887|     40|        D(fprintf(stderr, "%*c> _gather_103[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "del_target _loop0_102"));
34888|     40|        expr_ty elem;
34889|     40|        asdl_seq * seq;
34890|     40|        if (
34891|     40|            (elem = del_target_rule(p))  // del_target
  ------------------
  |  Branch (34891:13): [True: 40, False: 0]
  ------------------
34892|     40|            &&
34893|     40|            (seq = _loop0_102_rule(p))  // _loop0_102
  ------------------
  |  Branch (34893:13): [True: 40, False: 0]
  ------------------
34894|     40|        )
34895|     40|        {
34896|     40|            D(fprintf(stderr, "%*c+ _gather_103[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "del_target _loop0_102"));
34897|     40|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
34898|     40|            goto done;
34899|     40|        }
34900|      0|        p->mark = _mark;
34901|      0|        D(fprintf(stderr, "%*c%s _gather_103[%d-%d]: %s failed!\n", p->level, ' ',
34902|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "del_target _loop0_102"));
34903|      0|    }
34904|      0|    _res = NULL;
34905|     40|  done:
34906|     40|    p->level--;
34907|     40|    return _res;
34908|      0|}
parser.c:del_target_rule:
20404|     43|{
20405|     43|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     86|#  define MAXSTACK 6000
  ------------------
  |  Branch (20405:9): [True: 0, False: 43]
  |  Branch (20405:35): [True: 0, False: 43]
  ------------------
20406|      0|        _Pypegen_stack_overflow(p);
20407|      0|    }
20408|     43|    if (p->error_indicator) {
  ------------------
  |  Branch (20408:9): [True: 0, False: 43]
  ------------------
20409|      0|        p->level--;
20410|      0|        return NULL;
20411|      0|    }
20412|     43|    expr_ty _res = NULL;
20413|     43|    if (_PyPegen_is_memoized(p, del_target_type, &_res)) {
  ------------------
  |  |  293|     43|#define del_target_type 1204
  ------------------
  |  Branch (20413:9): [True: 0, False: 43]
  ------------------
20414|      0|        p->level--;
20415|      0|        return _res;
20416|      0|    }
20417|     43|    int _mark = p->mark;
20418|     43|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (20418:9): [True: 0, False: 43]
  |  Branch (20418:31): [True: 0, False: 0]
  ------------------
20419|      0|        p->error_indicator = 1;
20420|      0|        p->level--;
20421|      0|        return NULL;
20422|      0|    }
20423|     43|    int _start_lineno = p->tokens[_mark]->lineno;
20424|     43|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|     43|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 43]
  |  |  ------------------
  ------------------
20425|     43|    int _start_col_offset = p->tokens[_mark]->col_offset;
20426|     43|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|     43|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 43]
  |  |  ------------------
  ------------------
20427|     43|    { // t_primary '.' NAME !t_lookahead
20428|     43|        if (p->error_indicator) {
  ------------------
  |  Branch (20428:13): [True: 0, False: 43]
  ------------------
20429|      0|            p->level--;
20430|      0|            return NULL;
20431|      0|        }
20432|     43|        D(fprintf(stderr, "%*c> del_target[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "t_primary '.' NAME !t_lookahead"));
20433|     43|        Token * _literal;
20434|     43|        expr_ty a;
20435|     43|        expr_ty b;
20436|     43|        if (
20437|     43|            (a = t_primary_rule(p))  // t_primary
  ------------------
  |  Branch (20437:13): [True: 32, False: 11]
  ------------------
20438|     32|            &&
20439|     32|            (_literal = _PyPegen_expect_token(p, 23))  // token='.'
  ------------------
  |  Branch (20439:13): [True: 4, False: 28]
  ------------------
20440|      4|            &&
20441|      4|            (b = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (20441:13): [True: 4, False: 0]
  ------------------
20442|      4|            &&
20443|      4|            _PyPegen_lookahead(0, t_lookahead_rule, p)
  ------------------
  |  Branch (20443:13): [True: 4, False: 0]
  ------------------
20444|     43|        )
20445|      4|        {
20446|      4|            D(fprintf(stderr, "%*c+ del_target[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "t_primary '.' NAME !t_lookahead"));
20447|      4|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
20448|      4|            if (_token == NULL) {
  ------------------
  |  Branch (20448:17): [True: 0, False: 4]
  ------------------
20449|      0|                p->level--;
20450|      0|                return NULL;
20451|      0|            }
20452|      4|            int _end_lineno = _token->end_lineno;
20453|      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]
  |  |  ------------------
  ------------------
20454|      4|            int _end_col_offset = _token->end_col_offset;
20455|      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]
  |  |  ------------------
  ------------------
20456|      4|            _res = _PyAST_Attribute ( a , b -> v . Name . id , Del , EXTRA );
  ------------------
  |  |  269|      4|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
20457|      4|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (20457:18): [True: 0, False: 4]
  |  Branch (20457:34): [True: 0, False: 4]
  |  Branch (20457:57): [True: 0, False: 0]
  ------------------
20458|      0|                p->error_indicator = 1;
20459|      0|                p->level--;
20460|      0|                return NULL;
20461|      0|            }
20462|      4|            goto done;
20463|      4|        }
20464|     39|        p->mark = _mark;
20465|     39|        D(fprintf(stderr, "%*c%s del_target[%d-%d]: %s failed!\n", p->level, ' ',
20466|     39|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "t_primary '.' NAME !t_lookahead"));
20467|     39|    }
20468|      0|    { // t_primary '[' slices ']' !t_lookahead
20469|     39|        if (p->error_indicator) {
  ------------------
  |  Branch (20469:13): [True: 0, False: 39]
  ------------------
20470|      0|            p->level--;
20471|      0|            return NULL;
20472|      0|        }
20473|     39|        D(fprintf(stderr, "%*c> del_target[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "t_primary '[' slices ']' !t_lookahead"));
20474|     39|        Token * _literal;
20475|     39|        Token * _literal_1;
20476|     39|        expr_ty a;
20477|     39|        expr_ty b;
20478|     39|        if (
20479|     39|            (a = t_primary_rule(p))  // t_primary
  ------------------
  |  Branch (20479:13): [True: 28, False: 11]
  ------------------
20480|     28|            &&
20481|     28|            (_literal = _PyPegen_expect_token(p, 9))  // token='['
  ------------------
  |  Branch (20481:13): [True: 28, False: 0]
  ------------------
20482|     28|            &&
20483|     28|            (b = slices_rule(p))  // slices
  ------------------
  |  Branch (20483:13): [True: 28, False: 0]
  ------------------
20484|     28|            &&
20485|     28|            (_literal_1 = _PyPegen_expect_token(p, 10))  // token=']'
  ------------------
  |  Branch (20485:13): [True: 28, False: 0]
  ------------------
20486|     28|            &&
20487|     28|            _PyPegen_lookahead(0, t_lookahead_rule, p)
  ------------------
  |  Branch (20487:13): [True: 28, False: 0]
  ------------------
20488|     39|        )
20489|     28|        {
20490|     28|            D(fprintf(stderr, "%*c+ del_target[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "t_primary '[' slices ']' !t_lookahead"));
20491|     28|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
20492|     28|            if (_token == NULL) {
  ------------------
  |  Branch (20492:17): [True: 0, False: 28]
  ------------------
20493|      0|                p->level--;
20494|      0|                return NULL;
20495|      0|            }
20496|     28|            int _end_lineno = _token->end_lineno;
20497|     28|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|     28|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 28]
  |  |  ------------------
  ------------------
20498|     28|            int _end_col_offset = _token->end_col_offset;
20499|     28|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|     28|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 28]
  |  |  ------------------
  ------------------
20500|     28|            _res = _PyAST_Subscript ( a , b , Del , EXTRA );
  ------------------
  |  |  269|     28|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
20501|     28|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (20501:18): [True: 0, False: 28]
  |  Branch (20501:34): [True: 0, False: 28]
  |  Branch (20501:57): [True: 0, False: 0]
  ------------------
20502|      0|                p->error_indicator = 1;
20503|      0|                p->level--;
20504|      0|                return NULL;
20505|      0|            }
20506|     28|            goto done;
20507|     28|        }
20508|     11|        p->mark = _mark;
20509|     11|        D(fprintf(stderr, "%*c%s del_target[%d-%d]: %s failed!\n", p->level, ' ',
20510|     11|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "t_primary '[' slices ']' !t_lookahead"));
20511|     11|    }
20512|      0|    { // del_t_atom
20513|     11|        if (p->error_indicator) {
  ------------------
  |  Branch (20513:13): [True: 0, False: 11]
  ------------------
20514|      0|            p->level--;
20515|      0|            return NULL;
20516|      0|        }
20517|     11|        D(fprintf(stderr, "%*c> del_target[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "del_t_atom"));
20518|     11|        expr_ty del_t_atom_var;
20519|     11|        if (
20520|     11|            (del_t_atom_var = del_t_atom_rule(p))  // del_t_atom
  ------------------
  |  Branch (20520:13): [True: 11, False: 0]
  ------------------
20521|     11|        )
20522|     11|        {
20523|     11|            D(fprintf(stderr, "%*c+ del_target[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "del_t_atom"));
20524|     11|            _res = del_t_atom_var;
20525|     11|            goto done;
20526|     11|        }
20527|      0|        p->mark = _mark;
20528|      0|        D(fprintf(stderr, "%*c%s del_target[%d-%d]: %s failed!\n", p->level, ' ',
20529|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "del_t_atom"));
20530|      0|    }
20531|      0|    _res = NULL;
20532|     43|  done:
20533|     43|    _PyPegen_insert_memo(p, _mark, del_target_type, _res);
  ------------------
  |  |  293|     43|#define del_target_type 1204
  ------------------
20534|     43|    p->level--;
20535|     43|    return _res;
20536|      0|}
parser.c:del_t_atom_rule:
20541|     11|{
20542|     11|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     22|#  define MAXSTACK 6000
  ------------------
  |  Branch (20542:9): [True: 0, False: 11]
  |  Branch (20542:35): [True: 0, False: 11]
  ------------------
20543|      0|        _Pypegen_stack_overflow(p);
20544|      0|    }
20545|     11|    if (p->error_indicator) {
  ------------------
  |  Branch (20545:9): [True: 0, False: 11]
  ------------------
20546|      0|        p->level--;
20547|      0|        return NULL;
20548|      0|    }
20549|     11|    expr_ty _res = NULL;
20550|     11|    int _mark = p->mark;
20551|     11|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (20551:9): [True: 0, False: 11]
  |  Branch (20551:31): [True: 0, False: 0]
  ------------------
20552|      0|        p->error_indicator = 1;
20553|      0|        p->level--;
20554|      0|        return NULL;
20555|      0|    }
20556|     11|    int _start_lineno = p->tokens[_mark]->lineno;
20557|     11|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|     11|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 11]
  |  |  ------------------
  ------------------
20558|     11|    int _start_col_offset = p->tokens[_mark]->col_offset;
20559|     11|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|     11|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 11]
  |  |  ------------------
  ------------------
20560|     11|    { // NAME
20561|     11|        if (p->error_indicator) {
  ------------------
  |  Branch (20561:13): [True: 0, False: 11]
  ------------------
20562|      0|            p->level--;
20563|      0|            return NULL;
20564|      0|        }
20565|     11|        D(fprintf(stderr, "%*c> del_t_atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME"));
20566|     11|        expr_ty a;
20567|     11|        if (
20568|     11|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (20568:13): [True: 11, False: 0]
  ------------------
20569|     11|        )
20570|     11|        {
20571|     11|            D(fprintf(stderr, "%*c+ del_t_atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME"));
20572|     11|            _res = _PyPegen_set_expr_context ( p , a , Del );
20573|     11|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (20573:18): [True: 0, False: 11]
  |  Branch (20573:34): [True: 0, False: 11]
  |  Branch (20573:57): [True: 0, False: 0]
  ------------------
20574|      0|                p->error_indicator = 1;
20575|      0|                p->level--;
20576|      0|                return NULL;
20577|      0|            }
20578|     11|            goto done;
20579|     11|        }
20580|      0|        p->mark = _mark;
20581|      0|        D(fprintf(stderr, "%*c%s del_t_atom[%d-%d]: %s failed!\n", p->level, ' ',
20582|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME"));
20583|      0|    }
20584|      0|    { // '(' del_target ')'
20585|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (20585:13): [True: 0, False: 0]
  ------------------
20586|      0|            p->level--;
20587|      0|            return NULL;
20588|      0|        }
20589|      0|        D(fprintf(stderr, "%*c> del_t_atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' del_target ')'"));
20590|      0|        Token * _literal;
20591|      0|        Token * _literal_1;
20592|      0|        expr_ty a;
20593|      0|        if (
20594|      0|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (20594:13): [True: 0, False: 0]
  ------------------
20595|      0|            &&
20596|      0|            (a = del_target_rule(p))  // del_target
  ------------------
  |  Branch (20596:13): [True: 0, False: 0]
  ------------------
20597|      0|            &&
20598|      0|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (20598:13): [True: 0, False: 0]
  ------------------
20599|      0|        )
20600|      0|        {
20601|      0|            D(fprintf(stderr, "%*c+ del_t_atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' del_target ')'"));
20602|      0|            _res = _PyPegen_set_expr_context ( p , a , Del );
20603|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (20603:18): [True: 0, False: 0]
  |  Branch (20603:34): [True: 0, False: 0]
  |  Branch (20603:57): [True: 0, False: 0]
  ------------------
20604|      0|                p->error_indicator = 1;
20605|      0|                p->level--;
20606|      0|                return NULL;
20607|      0|            }
20608|      0|            goto done;
20609|      0|        }
20610|      0|        p->mark = _mark;
20611|      0|        D(fprintf(stderr, "%*c%s del_t_atom[%d-%d]: %s failed!\n", p->level, ' ',
20612|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' del_target ')'"));
20613|      0|    }
20614|      0|    { // '(' del_targets? ')'
20615|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (20615:13): [True: 0, False: 0]
  ------------------
20616|      0|            p->level--;
20617|      0|            return NULL;
20618|      0|        }
20619|      0|        D(fprintf(stderr, "%*c> del_t_atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' del_targets? ')'"));
20620|      0|        Token * _literal;
20621|      0|        Token * _literal_1;
20622|      0|        void *a;
20623|      0|        if (
20624|      0|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (20624:13): [True: 0, False: 0]
  ------------------
20625|      0|            &&
20626|      0|            (a = del_targets_rule(p), !p->error_indicator)  // del_targets?
  ------------------
  |  Branch (20626:13): [True: 0, False: 0]
  ------------------
20627|      0|            &&
20628|      0|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (20628:13): [True: 0, False: 0]
  ------------------
20629|      0|        )
20630|      0|        {
20631|      0|            D(fprintf(stderr, "%*c+ del_t_atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' del_targets? ')'"));
20632|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
20633|      0|            if (_token == NULL) {
  ------------------
  |  Branch (20633:17): [True: 0, False: 0]
  ------------------
20634|      0|                p->level--;
20635|      0|                return NULL;
20636|      0|            }
20637|      0|            int _end_lineno = _token->end_lineno;
20638|      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]
  |  |  ------------------
  ------------------
20639|      0|            int _end_col_offset = _token->end_col_offset;
20640|      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]
  |  |  ------------------
  ------------------
20641|      0|            _res = _PyAST_Tuple ( a , Del , EXTRA );
  ------------------
  |  |  269|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
20642|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (20642:18): [True: 0, False: 0]
  |  Branch (20642:34): [True: 0, False: 0]
  |  Branch (20642:57): [True: 0, False: 0]
  ------------------
20643|      0|                p->error_indicator = 1;
20644|      0|                p->level--;
20645|      0|                return NULL;
20646|      0|            }
20647|      0|            goto done;
20648|      0|        }
20649|      0|        p->mark = _mark;
20650|      0|        D(fprintf(stderr, "%*c%s del_t_atom[%d-%d]: %s failed!\n", p->level, ' ',
20651|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' del_targets? ')'"));
20652|      0|    }
20653|      0|    { // '[' del_targets? ']'
20654|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (20654:13): [True: 0, False: 0]
  ------------------
20655|      0|            p->level--;
20656|      0|            return NULL;
20657|      0|        }
20658|      0|        D(fprintf(stderr, "%*c> del_t_atom[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'[' del_targets? ']'"));
20659|      0|        Token * _literal;
20660|      0|        Token * _literal_1;
20661|      0|        void *a;
20662|      0|        if (
20663|      0|            (_literal = _PyPegen_expect_token(p, 9))  // token='['
  ------------------
  |  Branch (20663:13): [True: 0, False: 0]
  ------------------
20664|      0|            &&
20665|      0|            (a = del_targets_rule(p), !p->error_indicator)  // del_targets?
  ------------------
  |  Branch (20665:13): [True: 0, False: 0]
  ------------------
20666|      0|            &&
20667|      0|            (_literal_1 = _PyPegen_expect_token(p, 10))  // token=']'
  ------------------
  |  Branch (20667:13): [True: 0, False: 0]
  ------------------
20668|      0|        )
20669|      0|        {
20670|      0|            D(fprintf(stderr, "%*c+ del_t_atom[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'[' del_targets? ']'"));
20671|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
20672|      0|            if (_token == NULL) {
  ------------------
  |  Branch (20672:17): [True: 0, False: 0]
  ------------------
20673|      0|                p->level--;
20674|      0|                return NULL;
20675|      0|            }
20676|      0|            int _end_lineno = _token->end_lineno;
20677|      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]
  |  |  ------------------
  ------------------
20678|      0|            int _end_col_offset = _token->end_col_offset;
20679|      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]
  |  |  ------------------
  ------------------
20680|      0|            _res = _PyAST_List ( a , Del , EXTRA );
  ------------------
  |  |  269|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
20681|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (20681:18): [True: 0, False: 0]
  |  Branch (20681:34): [True: 0, False: 0]
  |  Branch (20681:57): [True: 0, False: 0]
  ------------------
20682|      0|                p->error_indicator = 1;
20683|      0|                p->level--;
20684|      0|                return NULL;
20685|      0|            }
20686|      0|            goto done;
20687|      0|        }
20688|      0|        p->mark = _mark;
20689|      0|        D(fprintf(stderr, "%*c%s del_t_atom[%d-%d]: %s failed!\n", p->level, ' ',
20690|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'[' del_targets? ']'"));
20691|      0|    }
20692|      0|    _res = NULL;
20693|     11|  done:
20694|     11|    p->level--;
20695|     11|    return _res;
20696|      0|}
parser.c:_loop0_102_rule:
34796|     40|{
34797|     40|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     80|#  define MAXSTACK 6000
  ------------------
  |  Branch (34797:9): [True: 0, False: 40]
  |  Branch (34797:35): [True: 0, False: 40]
  ------------------
34798|      0|        _Pypegen_stack_overflow(p);
34799|      0|    }
34800|     40|    if (p->error_indicator) {
  ------------------
  |  Branch (34800:9): [True: 0, False: 40]
  ------------------
34801|      0|        p->level--;
34802|      0|        return NULL;
34803|      0|    }
34804|     40|    void *_res = NULL;
34805|     40|    int _mark = p->mark;
34806|     40|    void **_children = PyMem_Malloc(sizeof(void *));
34807|     40|    if (!_children) {
  ------------------
  |  Branch (34807:9): [True: 0, False: 40]
  ------------------
34808|      0|        p->error_indicator = 1;
34809|      0|        PyErr_NoMemory();
34810|      0|        p->level--;
34811|      0|        return NULL;
34812|      0|    }
34813|     40|    Py_ssize_t _children_capacity = 1;
34814|     40|    Py_ssize_t _n = 0;
34815|     40|    { // ',' del_target
34816|     40|        if (p->error_indicator) {
  ------------------
  |  Branch (34816:13): [True: 0, False: 40]
  ------------------
34817|      0|            p->level--;
34818|      0|            return NULL;
34819|      0|        }
34820|     40|        D(fprintf(stderr, "%*c> _loop0_102[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' del_target"));
34821|     40|        Token * _literal;
34822|     40|        expr_ty elem;
34823|     40|        while (
34824|     43|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (34824:13): [True: 3, False: 40]
  ------------------
34825|      3|            &&
34826|      3|            (elem = del_target_rule(p))  // del_target
  ------------------
  |  Branch (34826:13): [True: 3, False: 0]
  ------------------
34827|     40|        )
34828|      3|        {
34829|      3|            _res = elem;
34830|      3|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (34830:18): [True: 0, False: 3]
  |  Branch (34830:34): [True: 0, False: 3]
  |  Branch (34830:57): [True: 0, False: 0]
  ------------------
34831|      0|                p->error_indicator = 1;
34832|      0|                PyMem_Free(_children);
34833|      0|                p->level--;
34834|      0|                return NULL;
34835|      0|            }
34836|      3|            if (_n == _children_capacity) {
  ------------------
  |  Branch (34836:17): [True: 2, False: 1]
  ------------------
34837|      2|                _children_capacity *= 2;
34838|      2|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
34839|      2|                if (!_new_children) {
  ------------------
  |  Branch (34839:21): [True: 0, False: 2]
  ------------------
34840|      0|                    PyMem_Free(_children);
34841|      0|                    p->error_indicator = 1;
34842|      0|                    PyErr_NoMemory();
34843|      0|                    p->level--;
34844|      0|                    return NULL;
34845|      0|                }
34846|      2|                _children = _new_children;
34847|      2|            }
34848|      3|            _children[_n++] = _res;
34849|      3|            _mark = p->mark;
34850|      3|        }
34851|     40|        p->mark = _mark;
34852|     40|        D(fprintf(stderr, "%*c%s _loop0_102[%d-%d]: %s failed!\n", p->level, ' ',
34853|     40|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' del_target"));
34854|     40|    }
34855|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
34856|     40|    if (!_seq) {
  ------------------
  |  Branch (34856:9): [True: 0, False: 40]
  ------------------
34857|      0|        PyMem_Free(_children);
34858|      0|        p->error_indicator = 1;
34859|      0|        PyErr_NoMemory();
34860|      0|        p->level--;
34861|      0|        return NULL;
34862|      0|    }
34863|     43|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|      3|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|     43|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (34863:28): [True: 3, False: 40]
  ------------------
34864|     40|    PyMem_Free(_children);
34865|     40|    p->level--;
34866|     40|    return _seq;
34867|     40|}
parser.c:_tmp_15_rule:
29322|     40|{
29323|     40|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     80|#  define MAXSTACK 6000
  ------------------
  |  Branch (29323:9): [True: 0, False: 40]
  |  Branch (29323:35): [True: 0, False: 40]
  ------------------
29324|      0|        _Pypegen_stack_overflow(p);
29325|      0|    }
29326|     40|    if (p->error_indicator) {
  ------------------
  |  Branch (29326:9): [True: 0, False: 40]
  ------------------
29327|      0|        p->level--;
29328|      0|        return NULL;
29329|      0|    }
29330|     40|    void * _res = NULL;
29331|     40|    int _mark = p->mark;
29332|     40|    { // ';'
29333|     40|        if (p->error_indicator) {
  ------------------
  |  Branch (29333:13): [True: 0, False: 40]
  ------------------
29334|      0|            p->level--;
29335|      0|            return NULL;
29336|      0|        }
29337|     40|        D(fprintf(stderr, "%*c> _tmp_15[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "';'"));
29338|     40|        Token * _literal;
29339|     40|        if (
29340|     40|            (_literal = _PyPegen_expect_token(p, 13))  // token=';'
  ------------------
  |  Branch (29340:13): [True: 0, False: 40]
  ------------------
29341|     40|        )
29342|      0|        {
29343|      0|            D(fprintf(stderr, "%*c+ _tmp_15[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "';'"));
29344|      0|            _res = _literal;
29345|      0|            goto done;
29346|      0|        }
29347|     40|        p->mark = _mark;
29348|     40|        D(fprintf(stderr, "%*c%s _tmp_15[%d-%d]: %s failed!\n", p->level, ' ',
29349|     40|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "';'"));
29350|     40|    }
29351|      0|    { // NEWLINE
29352|     40|        if (p->error_indicator) {
  ------------------
  |  Branch (29352:13): [True: 0, False: 40]
  ------------------
29353|      0|            p->level--;
29354|      0|            return NULL;
29355|      0|        }
29356|     40|        D(fprintf(stderr, "%*c> _tmp_15[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NEWLINE"));
29357|     40|        Token * newline_var;
29358|     40|        if (
29359|     40|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|     40|#define NEWLINE         4
  ------------------
  |  Branch (29359:13): [True: 40, False: 0]
  ------------------
29360|     40|        )
29361|     40|        {
29362|     40|            D(fprintf(stderr, "%*c+ _tmp_15[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NEWLINE"));
29363|     40|            _res = newline_var;
29364|     40|            goto done;
29365|     40|        }
29366|      0|        p->mark = _mark;
29367|      0|        D(fprintf(stderr, "%*c%s _tmp_15[%d-%d]: %s failed!\n", p->level, ' ',
29368|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NEWLINE"));
29369|      0|    }
29370|      0|    _res = NULL;
29371|     40|  done:
29372|     40|    p->level--;
29373|     40|    return _res;
29374|      0|}
parser.c:yield_stmt_rule:
 3359|     68|{
 3360|     68|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    136|#  define MAXSTACK 6000
  ------------------
  |  Branch (3360:9): [True: 0, False: 68]
  |  Branch (3360:35): [True: 0, False: 68]
  ------------------
 3361|      0|        _Pypegen_stack_overflow(p);
 3362|      0|    }
 3363|     68|    if (p->error_indicator) {
  ------------------
  |  Branch (3363:9): [True: 0, False: 68]
  ------------------
 3364|      0|        p->level--;
 3365|      0|        return NULL;
 3366|      0|    }
 3367|     68|    stmt_ty _res = NULL;
 3368|     68|    int _mark = p->mark;
 3369|     68|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (3369:9): [True: 0, False: 68]
  |  Branch (3369:31): [True: 0, False: 0]
  ------------------
 3370|      0|        p->error_indicator = 1;
 3371|      0|        p->level--;
 3372|      0|        return NULL;
 3373|      0|    }
 3374|     68|    int _start_lineno = p->tokens[_mark]->lineno;
 3375|     68|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|     68|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 68]
  |  |  ------------------
  ------------------
 3376|     68|    int _start_col_offset = p->tokens[_mark]->col_offset;
 3377|     68|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|     68|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 68]
  |  |  ------------------
  ------------------
 3378|     68|    { // yield_expr
 3379|     68|        if (p->error_indicator) {
  ------------------
  |  Branch (3379:13): [True: 0, False: 68]
  ------------------
 3380|      0|            p->level--;
 3381|      0|            return NULL;
 3382|      0|        }
 3383|     68|        D(fprintf(stderr, "%*c> yield_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "yield_expr"));
 3384|     68|        expr_ty y;
 3385|     68|        if (
 3386|     68|            (y = yield_expr_rule(p))  // yield_expr
  ------------------
  |  Branch (3386:13): [True: 68, False: 0]
  ------------------
 3387|     68|        )
 3388|     68|        {
 3389|     68|            D(fprintf(stderr, "%*c+ yield_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "yield_expr"));
 3390|     68|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 3391|     68|            if (_token == NULL) {
  ------------------
  |  Branch (3391:17): [True: 0, False: 68]
  ------------------
 3392|      0|                p->level--;
 3393|      0|                return NULL;
 3394|      0|            }
 3395|     68|            int _end_lineno = _token->end_lineno;
 3396|     68|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|     68|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 68]
  |  |  ------------------
  ------------------
 3397|     68|            int _end_col_offset = _token->end_col_offset;
 3398|     68|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|     68|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 68]
  |  |  ------------------
  ------------------
 3399|     68|            _res = _PyAST_Expr ( y , EXTRA );
  ------------------
  |  |  269|     68|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 3400|     68|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3400:18): [True: 0, False: 68]
  |  Branch (3400:34): [True: 0, False: 68]
  |  Branch (3400:57): [True: 0, False: 0]
  ------------------
 3401|      0|                p->error_indicator = 1;
 3402|      0|                p->level--;
 3403|      0|                return NULL;
 3404|      0|            }
 3405|     68|            goto done;
 3406|     68|        }
 3407|      0|        p->mark = _mark;
 3408|      0|        D(fprintf(stderr, "%*c%s yield_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 3409|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "yield_expr"));
 3410|      0|    }
 3411|      0|    _res = NULL;
 3412|     68|  done:
 3413|     68|    p->level--;
 3414|     68|    return _res;
 3415|      0|}
parser.c:assert_stmt_rule:
 3420|     49|{
 3421|     49|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     98|#  define MAXSTACK 6000
  ------------------
  |  Branch (3421:9): [True: 0, False: 49]
  |  Branch (3421:35): [True: 0, False: 49]
  ------------------
 3422|      0|        _Pypegen_stack_overflow(p);
 3423|      0|    }
 3424|     49|    if (p->error_indicator) {
  ------------------
  |  Branch (3424:9): [True: 0, False: 49]
  ------------------
 3425|      0|        p->level--;
 3426|      0|        return NULL;
 3427|      0|    }
 3428|     49|    stmt_ty _res = NULL;
 3429|     49|    int _mark = p->mark;
 3430|     49|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (3430:9): [True: 0, False: 49]
  |  Branch (3430:31): [True: 0, False: 0]
  ------------------
 3431|      0|        p->error_indicator = 1;
 3432|      0|        p->level--;
 3433|      0|        return NULL;
 3434|      0|    }
 3435|     49|    int _start_lineno = p->tokens[_mark]->lineno;
 3436|     49|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|     49|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 49]
  |  |  ------------------
  ------------------
 3437|     49|    int _start_col_offset = p->tokens[_mark]->col_offset;
 3438|     49|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|     49|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 49]
  |  |  ------------------
  ------------------
 3439|     49|    if (p->call_invalid_rules) { // invalid_assert_stmt
  ------------------
  |  Branch (3439:9): [True: 0, False: 49]
  ------------------
 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|     49|    { // 'assert' expression [',' expression]
 3459|     49|        if (p->error_indicator) {
  ------------------
  |  Branch (3459:13): [True: 0, False: 49]
  ------------------
 3460|      0|            p->level--;
 3461|      0|            return NULL;
 3462|      0|        }
 3463|     49|        D(fprintf(stderr, "%*c> assert_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'assert' expression [',' expression]"));
 3464|     49|        Token * _keyword;
 3465|     49|        expr_ty a;
 3466|     49|        void *b;
 3467|     49|        if (
 3468|     49|            (_keyword = _PyPegen_expect_token(p, 638))  // token='assert'
  ------------------
  |  Branch (3468:13): [True: 49, False: 0]
  ------------------
 3469|     49|            &&
 3470|     49|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (3470:13): [True: 49, False: 0]
  ------------------
 3471|     49|            &&
 3472|     49|            (b = _tmp_16_rule(p), !p->error_indicator)  // [',' expression]
  ------------------
  |  Branch (3472:13): [True: 49, False: 0]
  ------------------
 3473|     49|        )
 3474|     49|        {
 3475|     49|            D(fprintf(stderr, "%*c+ assert_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'assert' expression [',' expression]"));
 3476|     49|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 3477|     49|            if (_token == NULL) {
  ------------------
  |  Branch (3477:17): [True: 0, False: 49]
  ------------------
 3478|      0|                p->level--;
 3479|      0|                return NULL;
 3480|      0|            }
 3481|     49|            int _end_lineno = _token->end_lineno;
 3482|     49|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|     49|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 49]
  |  |  ------------------
  ------------------
 3483|     49|            int _end_col_offset = _token->end_col_offset;
 3484|     49|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|     49|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 49]
  |  |  ------------------
  ------------------
 3485|     49|            _res = _PyAST_Assert ( a , b , EXTRA );
  ------------------
  |  |  269|     49|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 3486|     49|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3486:18): [True: 0, False: 49]
  |  Branch (3486:34): [True: 0, False: 49]
  |  Branch (3486:57): [True: 0, False: 0]
  ------------------
 3487|      0|                p->error_indicator = 1;
 3488|      0|                p->level--;
 3489|      0|                return NULL;
 3490|      0|            }
 3491|     49|            goto done;
 3492|     49|        }
 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|     49|  done:
 3499|     49|    p->level--;
 3500|     49|    return _res;
 3501|      0|}
parser.c:_tmp_16_rule:
29379|    127|{
29380|    127|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    254|#  define MAXSTACK 6000
  ------------------
  |  Branch (29380:9): [True: 0, False: 127]
  |  Branch (29380:35): [True: 0, False: 127]
  ------------------
29381|      0|        _Pypegen_stack_overflow(p);
29382|      0|    }
29383|    127|    if (p->error_indicator) {
  ------------------
  |  Branch (29383:9): [True: 0, False: 127]
  ------------------
29384|      0|        p->level--;
29385|      0|        return NULL;
29386|      0|    }
29387|    127|    void * _res = NULL;
29388|    127|    int _mark = p->mark;
29389|    127|    { // ',' expression
29390|    127|        if (p->error_indicator) {
  ------------------
  |  Branch (29390:13): [True: 0, False: 127]
  ------------------
29391|      0|            p->level--;
29392|      0|            return NULL;
29393|      0|        }
29394|    127|        D(fprintf(stderr, "%*c> _tmp_16[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' expression"));
29395|    127|        Token * _literal;
29396|    127|        expr_ty z;
29397|    127|        if (
29398|    127|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (29398:13): [True: 16, False: 111]
  ------------------
29399|     16|            &&
29400|     16|            (z = expression_rule(p))  // expression
  ------------------
  |  Branch (29400:13): [True: 16, False: 0]
  ------------------
29401|    127|        )
29402|     16|        {
29403|     16|            D(fprintf(stderr, "%*c+ _tmp_16[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "',' expression"));
29404|     16|            _res = z;
29405|     16|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (29405:18): [True: 0, False: 16]
  |  Branch (29405:34): [True: 0, False: 16]
  |  Branch (29405:57): [True: 0, False: 0]
  ------------------
29406|      0|                p->error_indicator = 1;
29407|      0|                p->level--;
29408|      0|                return NULL;
29409|      0|            }
29410|     16|            goto done;
29411|     16|        }
29412|    111|        p->mark = _mark;
29413|    111|        D(fprintf(stderr, "%*c%s _tmp_16[%d-%d]: %s failed!\n", p->level, ' ',
29414|    111|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' expression"));
29415|    111|    }
29416|    111|    _res = NULL;
29417|    127|  done:
29418|    127|    p->level--;
29419|    127|    return _res;
29420|    111|}
parser.c:global_stmt_rule:
 3146|      8|{
 3147|      8|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     16|#  define MAXSTACK 6000
  ------------------
  |  Branch (3147:9): [True: 0, False: 8]
  |  Branch (3147:35): [True: 0, False: 8]
  ------------------
 3148|      0|        _Pypegen_stack_overflow(p);
 3149|      0|    }
 3150|      8|    if (p->error_indicator) {
  ------------------
  |  Branch (3150:9): [True: 0, False: 8]
  ------------------
 3151|      0|        p->level--;
 3152|      0|        return NULL;
 3153|      0|    }
 3154|      8|    stmt_ty _res = NULL;
 3155|      8|    int _mark = p->mark;
 3156|      8|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (3156:9): [True: 0, False: 8]
  |  Branch (3156:31): [True: 0, False: 0]
  ------------------
 3157|      0|        p->error_indicator = 1;
 3158|      0|        p->level--;
 3159|      0|        return NULL;
 3160|      0|    }
 3161|      8|    int _start_lineno = p->tokens[_mark]->lineno;
 3162|      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]
  |  |  ------------------
  ------------------
 3163|      8|    int _start_col_offset = p->tokens[_mark]->col_offset;
 3164|      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]
  |  |  ------------------
  ------------------
 3165|      8|    { // 'global' ','.NAME+
 3166|      8|        if (p->error_indicator) {
  ------------------
  |  Branch (3166:13): [True: 0, False: 8]
  ------------------
 3167|      0|            p->level--;
 3168|      0|            return NULL;
 3169|      0|        }
 3170|      8|        D(fprintf(stderr, "%*c> global_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'global' ','.NAME+"));
 3171|      8|        Token * _keyword;
 3172|      8|        asdl_expr_seq* a;
 3173|      8|        if (
 3174|      8|            (_keyword = _PyPegen_expect_token(p, 530))  // token='global'
  ------------------
  |  Branch (3174:13): [True: 8, False: 0]
  ------------------
 3175|      8|            &&
 3176|      8|            (a = (asdl_expr_seq*)_gather_14_rule(p))  // ','.NAME+
  ------------------
  |  Branch (3176:13): [True: 8, False: 0]
  ------------------
 3177|      8|        )
 3178|      8|        {
 3179|      8|            D(fprintf(stderr, "%*c+ global_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'global' ','.NAME+"));
 3180|      8|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 3181|      8|            if (_token == NULL) {
  ------------------
  |  Branch (3181:17): [True: 0, False: 8]
  ------------------
 3182|      0|                p->level--;
 3183|      0|                return NULL;
 3184|      0|            }
 3185|      8|            int _end_lineno = _token->end_lineno;
 3186|      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]
  |  |  ------------------
  ------------------
 3187|      8|            int _end_col_offset = _token->end_col_offset;
 3188|      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]
  |  |  ------------------
  ------------------
 3189|      8|            _res = _PyAST_Global ( CHECK ( asdl_identifier_seq* , _PyPegen_map_names_to_ids ( p , a ) ) , EXTRA );
  ------------------
  |  |  233|      8|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_Global ( CHECK ( asdl_identifier_seq* , _PyPegen_map_names_to_ids ( p , a ) ) , EXTRA );
  ------------------
  |  |  269|      8|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 3190|      8|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3190:18): [True: 0, False: 8]
  |  Branch (3190:34): [True: 0, False: 8]
  |  Branch (3190:57): [True: 0, False: 0]
  ------------------
 3191|      0|                p->error_indicator = 1;
 3192|      0|                p->level--;
 3193|      0|                return NULL;
 3194|      0|            }
 3195|      8|            goto done;
 3196|      8|        }
 3197|      0|        p->mark = _mark;
 3198|      0|        D(fprintf(stderr, "%*c%s global_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 3199|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'global' ','.NAME+"));
 3200|      0|    }
 3201|      0|    _res = NULL;
 3202|      8|  done:
 3203|      8|    p->level--;
 3204|      8|    return _res;
 3205|      0|}
parser.c:_gather_14_rule:
29281|     11|{
29282|     11|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     22|#  define MAXSTACK 6000
  ------------------
  |  Branch (29282:9): [True: 0, False: 11]
  |  Branch (29282:35): [True: 0, False: 11]
  ------------------
29283|      0|        _Pypegen_stack_overflow(p);
29284|      0|    }
29285|     11|    if (p->error_indicator) {
  ------------------
  |  Branch (29285:9): [True: 0, False: 11]
  ------------------
29286|      0|        p->level--;
29287|      0|        return NULL;
29288|      0|    }
29289|     11|    asdl_seq * _res = NULL;
29290|     11|    int _mark = p->mark;
29291|     11|    { // NAME _loop0_13
29292|     11|        if (p->error_indicator) {
  ------------------
  |  Branch (29292:13): [True: 0, False: 11]
  ------------------
29293|      0|            p->level--;
29294|      0|            return NULL;
29295|      0|        }
29296|     11|        D(fprintf(stderr, "%*c> _gather_14[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME _loop0_13"));
29297|     11|        expr_ty elem;
29298|     11|        asdl_seq * seq;
29299|     11|        if (
29300|     11|            (elem = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (29300:13): [True: 11, False: 0]
  ------------------
29301|     11|            &&
29302|     11|            (seq = _loop0_13_rule(p))  // _loop0_13
  ------------------
  |  Branch (29302:13): [True: 11, False: 0]
  ------------------
29303|     11|        )
29304|     11|        {
29305|     11|            D(fprintf(stderr, "%*c+ _gather_14[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME _loop0_13"));
29306|     11|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
29307|     11|            goto done;
29308|     11|        }
29309|      0|        p->mark = _mark;
29310|      0|        D(fprintf(stderr, "%*c%s _gather_14[%d-%d]: %s failed!\n", p->level, ' ',
29311|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME _loop0_13"));
29312|      0|    }
29313|      0|    _res = NULL;
29314|     11|  done:
29315|     11|    p->level--;
29316|     11|    return _res;
29317|      0|}
parser.c:_loop0_13_rule:
29205|     11|{
29206|     11|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     22|#  define MAXSTACK 6000
  ------------------
  |  Branch (29206:9): [True: 0, False: 11]
  |  Branch (29206:35): [True: 0, False: 11]
  ------------------
29207|      0|        _Pypegen_stack_overflow(p);
29208|      0|    }
29209|     11|    if (p->error_indicator) {
  ------------------
  |  Branch (29209:9): [True: 0, False: 11]
  ------------------
29210|      0|        p->level--;
29211|      0|        return NULL;
29212|      0|    }
29213|     11|    void *_res = NULL;
29214|     11|    int _mark = p->mark;
29215|     11|    void **_children = PyMem_Malloc(sizeof(void *));
29216|     11|    if (!_children) {
  ------------------
  |  Branch (29216:9): [True: 0, False: 11]
  ------------------
29217|      0|        p->error_indicator = 1;
29218|      0|        PyErr_NoMemory();
29219|      0|        p->level--;
29220|      0|        return NULL;
29221|      0|    }
29222|     11|    Py_ssize_t _children_capacity = 1;
29223|     11|    Py_ssize_t _n = 0;
29224|     11|    { // ',' NAME
29225|     11|        if (p->error_indicator) {
  ------------------
  |  Branch (29225:13): [True: 0, False: 11]
  ------------------
29226|      0|            p->level--;
29227|      0|            return NULL;
29228|      0|        }
29229|     11|        D(fprintf(stderr, "%*c> _loop0_13[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' NAME"));
29230|     11|        Token * _literal;
29231|     11|        expr_ty elem;
29232|     11|        while (
29233|     14|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (29233:13): [True: 3, False: 11]
  ------------------
29234|      3|            &&
29235|      3|            (elem = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (29235:13): [True: 3, False: 0]
  ------------------
29236|     11|        )
29237|      3|        {
29238|      3|            _res = elem;
29239|      3|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (29239:18): [True: 0, False: 3]
  |  Branch (29239:34): [True: 0, False: 3]
  |  Branch (29239:57): [True: 0, False: 0]
  ------------------
29240|      0|                p->error_indicator = 1;
29241|      0|                PyMem_Free(_children);
29242|      0|                p->level--;
29243|      0|                return NULL;
29244|      0|            }
29245|      3|            if (_n == _children_capacity) {
  ------------------
  |  Branch (29245:17): [True: 1, False: 2]
  ------------------
29246|      1|                _children_capacity *= 2;
29247|      1|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
29248|      1|                if (!_new_children) {
  ------------------
  |  Branch (29248:21): [True: 0, False: 1]
  ------------------
29249|      0|                    PyMem_Free(_children);
29250|      0|                    p->error_indicator = 1;
29251|      0|                    PyErr_NoMemory();
29252|      0|                    p->level--;
29253|      0|                    return NULL;
29254|      0|                }
29255|      1|                _children = _new_children;
29256|      1|            }
29257|      3|            _children[_n++] = _res;
29258|      3|            _mark = p->mark;
29259|      3|        }
29260|     11|        p->mark = _mark;
29261|     11|        D(fprintf(stderr, "%*c%s _loop0_13[%d-%d]: %s failed!\n", p->level, ' ',
29262|     11|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' NAME"));
29263|     11|    }
29264|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
29265|     11|    if (!_seq) {
  ------------------
  |  Branch (29265:9): [True: 0, False: 11]
  ------------------
29266|      0|        PyMem_Free(_children);
29267|      0|        p->error_indicator = 1;
29268|      0|        PyErr_NoMemory();
29269|      0|        p->level--;
29270|      0|        return NULL;
29271|      0|    }
29272|     14|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|      3|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|     14|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (29272:28): [True: 3, False: 11]
  ------------------
29273|     11|    PyMem_Free(_children);
29274|     11|    p->level--;
29275|     11|    return _seq;
29276|     11|}
parser.c:nonlocal_stmt_rule:
 3210|      3|{
 3211|      3|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|      6|#  define MAXSTACK 6000
  ------------------
  |  Branch (3211:9): [True: 0, False: 3]
  |  Branch (3211:35): [True: 0, False: 3]
  ------------------
 3212|      0|        _Pypegen_stack_overflow(p);
 3213|      0|    }
 3214|      3|    if (p->error_indicator) {
  ------------------
  |  Branch (3214:9): [True: 0, False: 3]
  ------------------
 3215|      0|        p->level--;
 3216|      0|        return NULL;
 3217|      0|    }
 3218|      3|    stmt_ty _res = NULL;
 3219|      3|    int _mark = p->mark;
 3220|      3|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (3220:9): [True: 0, False: 3]
  |  Branch (3220:31): [True: 0, False: 0]
  ------------------
 3221|      0|        p->error_indicator = 1;
 3222|      0|        p->level--;
 3223|      0|        return NULL;
 3224|      0|    }
 3225|      3|    int _start_lineno = p->tokens[_mark]->lineno;
 3226|      3|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      3|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 3]
  |  |  ------------------
  ------------------
 3227|      3|    int _start_col_offset = p->tokens[_mark]->col_offset;
 3228|      3|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      3|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 3]
  |  |  ------------------
  ------------------
 3229|      3|    { // 'nonlocal' ','.NAME+
 3230|      3|        if (p->error_indicator) {
  ------------------
  |  Branch (3230:13): [True: 0, False: 3]
  ------------------
 3231|      0|            p->level--;
 3232|      0|            return NULL;
 3233|      0|        }
 3234|      3|        D(fprintf(stderr, "%*c> nonlocal_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'nonlocal' ','.NAME+"));
 3235|      3|        Token * _keyword;
 3236|      3|        asdl_expr_seq* a;
 3237|      3|        if (
 3238|      3|            (_keyword = _PyPegen_expect_token(p, 531))  // token='nonlocal'
  ------------------
  |  Branch (3238:13): [True: 3, False: 0]
  ------------------
 3239|      3|            &&
 3240|      3|            (a = (asdl_expr_seq*)_gather_14_rule(p))  // ','.NAME+
  ------------------
  |  Branch (3240:13): [True: 3, False: 0]
  ------------------
 3241|      3|        )
 3242|      3|        {
 3243|      3|            D(fprintf(stderr, "%*c+ nonlocal_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'nonlocal' ','.NAME+"));
 3244|      3|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 3245|      3|            if (_token == NULL) {
  ------------------
  |  Branch (3245:17): [True: 0, False: 3]
  ------------------
 3246|      0|                p->level--;
 3247|      0|                return NULL;
 3248|      0|            }
 3249|      3|            int _end_lineno = _token->end_lineno;
 3250|      3|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      3|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 3]
  |  |  ------------------
  ------------------
 3251|      3|            int _end_col_offset = _token->end_col_offset;
 3252|      3|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      3|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 3]
  |  |  ------------------
  ------------------
 3253|      3|            _res = _PyAST_Nonlocal ( CHECK ( asdl_identifier_seq* , _PyPegen_map_names_to_ids ( p , a ) ) , EXTRA );
  ------------------
  |  |  233|      3|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_Nonlocal ( CHECK ( asdl_identifier_seq* , _PyPegen_map_names_to_ids ( p , a ) ) , EXTRA );
  ------------------
  |  |  269|      3|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 3254|      3|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (3254:18): [True: 0, False: 3]
  |  Branch (3254:34): [True: 0, False: 3]
  |  Branch (3254:57): [True: 0, False: 0]
  ------------------
 3255|      0|                p->error_indicator = 1;
 3256|      0|                p->level--;
 3257|      0|                return NULL;
 3258|      0|            }
 3259|      3|            goto done;
 3260|      3|        }
 3261|      0|        p->mark = _mark;
 3262|      0|        D(fprintf(stderr, "%*c%s nonlocal_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 3263|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'nonlocal' ','.NAME+"));
 3264|      0|    }
 3265|      0|    _res = NULL;
 3266|      3|  done:
 3267|      3|    p->level--;
 3268|      3|    return _res;
 3269|      0|}
parser.c:lambda_params_rule:
15715|   108k|{
15716|   108k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   217k|#  define MAXSTACK 6000
  ------------------
  |  Branch (15716:9): [True: 0, False: 108k]
  |  Branch (15716:35): [True: 0, False: 108k]
  ------------------
15717|      0|        _Pypegen_stack_overflow(p);
15718|      0|    }
15719|   108k|    if (p->error_indicator) {
  ------------------
  |  Branch (15719:9): [True: 0, False: 108k]
  ------------------
15720|      0|        p->level--;
15721|      0|        return NULL;
15722|      0|    }
15723|   108k|    arguments_ty _res = NULL;
15724|   108k|    int _mark = p->mark;
15725|   108k|    if (p->call_invalid_rules) { // invalid_lambda_parameters
  ------------------
  |  Branch (15725:9): [True: 81.4k, False: 27.2k]
  ------------------
15726|  81.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (15726:13): [True: 0, False: 81.4k]
  ------------------
15727|      0|            p->level--;
15728|      0|            return NULL;
15729|      0|        }
15730|  81.4k|        D(fprintf(stderr, "%*c> lambda_params[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_lambda_parameters"));
15731|  81.4k|        void *invalid_lambda_parameters_var;
15732|  81.4k|        if (
15733|  81.4k|            (invalid_lambda_parameters_var = invalid_lambda_parameters_rule(p))  // invalid_lambda_parameters
  ------------------
  |  Branch (15733:13): [True: 0, False: 81.4k]
  ------------------
15734|  81.4k|        )
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|  81.4k|        p->mark = _mark;
15741|  81.4k|        D(fprintf(stderr, "%*c%s lambda_params[%d-%d]: %s failed!\n", p->level, ' ',
15742|  81.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_lambda_parameters"));
15743|  81.4k|    }
15744|   108k|    { // lambda_parameters
15745|   108k|        if (p->error_indicator) {
  ------------------
  |  Branch (15745:13): [True: 0, False: 108k]
  ------------------
15746|      0|            p->level--;
15747|      0|            return NULL;
15748|      0|        }
15749|   108k|        D(fprintf(stderr, "%*c> lambda_params[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_parameters"));
15750|   108k|        arguments_ty lambda_parameters_var;
15751|   108k|        if (
15752|   108k|            (lambda_parameters_var = lambda_parameters_rule(p))  // lambda_parameters
  ------------------
  |  Branch (15752:13): [True: 108k, False: 13]
  ------------------
15753|   108k|        )
15754|   108k|        {
15755|   108k|            D(fprintf(stderr, "%*c+ lambda_params[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_parameters"));
15756|   108k|            _res = lambda_parameters_var;
15757|   108k|            goto done;
15758|   108k|        }
15759|     13|        p->mark = _mark;
15760|     13|        D(fprintf(stderr, "%*c%s lambda_params[%d-%d]: %s failed!\n", p->level, ' ',
15761|     13|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_parameters"));
15762|     13|    }
15763|     13|    _res = NULL;
15764|   108k|  done:
15765|   108k|    p->level--;
15766|   108k|    return _res;
15767|     13|}
parser.c:invalid_lambda_parameters_rule:
23543|  81.4k|{
23544|  81.4k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   162k|#  define MAXSTACK 6000
  ------------------
  |  Branch (23544:9): [True: 0, False: 81.4k]
  |  Branch (23544:35): [True: 0, False: 81.4k]
  ------------------
23545|      0|        _Pypegen_stack_overflow(p);
23546|      0|    }
23547|  81.4k|    if (p->error_indicator) {
  ------------------
  |  Branch (23547:9): [True: 0, False: 81.4k]
  ------------------
23548|      0|        p->level--;
23549|      0|        return NULL;
23550|      0|    }
23551|  81.4k|    void * _res = NULL;
23552|  81.4k|    int _mark = p->mark;
23553|  81.4k|    { // "/" ','
23554|  81.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (23554:13): [True: 0, False: 81.4k]
  ------------------
23555|      0|            p->level--;
23556|      0|            return NULL;
23557|      0|        }
23558|  81.4k|        D(fprintf(stderr, "%*c> invalid_lambda_parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "\"/\" ','"));
23559|  81.4k|        Token * _literal;
23560|  81.4k|        Token * a;
23561|  81.4k|        if (
23562|  81.4k|            (a = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (23562:13): [True: 0, False: 81.4k]
  ------------------
23563|      0|            &&
23564|      0|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (23564:13): [True: 0, False: 0]
  ------------------
23565|  81.4k|        )
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|  81.4k|        p->mark = _mark;
23577|  81.4k|        D(fprintf(stderr, "%*c%s invalid_lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
23578|  81.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "\"/\" ','"));
23579|  81.4k|    }
23580|      0|    { // (lambda_slash_no_default | lambda_slash_with_default) lambda_param_maybe_default* '/'
23581|  81.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (23581:13): [True: 0, False: 81.4k]
  ------------------
23582|      0|            p->level--;
23583|      0|            return NULL;
23584|      0|        }
23585|  81.4k|        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|  81.4k|        asdl_seq * _loop0_76_var;
23587|  81.4k|        void *_tmp_130_var;
23588|  81.4k|        Token * a;
23589|  81.4k|        if (
23590|  81.4k|            (_tmp_130_var = _tmp_130_rule(p))  // lambda_slash_no_default | lambda_slash_with_default
  ------------------
  |  Branch (23590:13): [True: 0, False: 81.4k]
  ------------------
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|  81.4k|        )
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|  81.4k|        p->mark = _mark;
23607|  81.4k|        D(fprintf(stderr, "%*c%s invalid_lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
23608|  81.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "(lambda_slash_no_default | lambda_slash_with_default) lambda_param_maybe_default* '/'"));
23609|  81.4k|    }
23610|      0|    { // lambda_slash_no_default? lambda_param_no_default* invalid_lambda_parameters_helper lambda_param_no_default
23611|  81.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (23611:13): [True: 0, False: 81.4k]
  ------------------
23612|      0|            p->level--;
23613|      0|            return NULL;
23614|      0|        }
23615|  81.4k|        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|  81.4k|        asdl_seq * _loop0_72_var;
23617|  81.4k|        void *_opt_var;
23618|  81.4k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  267|  81.4k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 81.4k]
  |  |  ------------------
  ------------------
23619|  81.4k|        arg_ty a;
23620|  81.4k|        void *invalid_lambda_parameters_helper_var;
23621|  81.4k|        if (
23622|  81.4k|            (_opt_var = lambda_slash_no_default_rule(p), !p->error_indicator)  // lambda_slash_no_default?
  ------------------
  |  Branch (23622:13): [True: 81.4k, False: 0]
  ------------------
23623|  81.4k|            &&
23624|  81.4k|            (_loop0_72_var = _loop0_72_rule(p))  // lambda_param_no_default*
  ------------------
  |  Branch (23624:13): [True: 81.4k, False: 0]
  ------------------
23625|  81.4k|            &&
23626|  81.4k|            (invalid_lambda_parameters_helper_var = invalid_lambda_parameters_helper_rule(p))  // invalid_lambda_parameters_helper
  ------------------
  |  Branch (23626:13): [True: 0, False: 81.4k]
  ------------------
23627|      0|            &&
23628|      0|            (a = lambda_param_no_default_rule(p))  // lambda_param_no_default
  ------------------
  |  Branch (23628:13): [True: 0, False: 0]
  ------------------
23629|  81.4k|        )
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|  81.4k|        p->mark = _mark;
23641|  81.4k|        D(fprintf(stderr, "%*c%s invalid_lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
23642|  81.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_slash_no_default? lambda_param_no_default* invalid_lambda_parameters_helper lambda_param_no_default"));
23643|  81.4k|    }
23644|      0|    { // lambda_param_no_default* '(' ','.lambda_param+ ','? ')'
23645|  81.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (23645:13): [True: 0, False: 81.4k]
  ------------------
23646|      0|            p->level--;
23647|      0|            return NULL;
23648|      0|        }
23649|  81.4k|        D(fprintf(stderr, "%*c> invalid_lambda_parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default* '(' ','.lambda_param+ ','? ')'"));
23650|  81.4k|        asdl_seq * _gather_132_var;
23651|  81.4k|        asdl_seq * _loop0_72_var;
23652|  81.4k|        void *_opt_var;
23653|  81.4k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  267|  81.4k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 81.4k]
  |  |  ------------------
  ------------------
23654|  81.4k|        Token * a;
23655|  81.4k|        Token * b;
23656|  81.4k|        if (
23657|  81.4k|            (_loop0_72_var = _loop0_72_rule(p))  // lambda_param_no_default*
  ------------------
  |  Branch (23657:13): [True: 81.4k, False: 0]
  ------------------
23658|  81.4k|            &&
23659|  81.4k|            (a = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (23659:13): [True: 0, False: 81.4k]
  ------------------
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|  81.4k|        )
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|  81.4k|        p->mark = _mark;
23678|  81.4k|        D(fprintf(stderr, "%*c%s invalid_lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
23679|  81.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default* '(' ','.lambda_param+ ','? ')'"));
23680|  81.4k|    }
23681|      0|    { // [(lambda_slash_no_default | lambda_slash_with_default)] lambda_param_maybe_default* '*' (',' | lambda_param_no_default) lambda_param_maybe_default* '/'
23682|  81.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (23682:13): [True: 0, False: 81.4k]
  ------------------
23683|      0|            p->level--;
23684|      0|            return NULL;
23685|      0|        }
23686|  81.4k|        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|  81.4k|        Token * _literal;
23688|  81.4k|        asdl_seq * _loop0_76_var;
23689|  81.4k|        asdl_seq * _loop0_76_var_1;
23690|  81.4k|        void *_opt_var;
23691|  81.4k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  267|  81.4k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 81.4k]
  |  |  ------------------
  ------------------
23692|  81.4k|        void *_tmp_133_var;
23693|  81.4k|        Token * a;
23694|  81.4k|        if (
23695|  81.4k|            (_opt_var = _tmp_130_rule(p), !p->error_indicator)  // [(lambda_slash_no_default | lambda_slash_with_default)]
  ------------------
  |  Branch (23695:13): [True: 81.4k, False: 0]
  ------------------
23696|  81.4k|            &&
23697|  81.4k|            (_loop0_76_var = _loop0_76_rule(p))  // lambda_param_maybe_default*
  ------------------
  |  Branch (23697:13): [True: 81.4k, False: 0]
  ------------------
23698|  81.4k|            &&
23699|  81.4k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (23699:13): [True: 0, False: 81.4k]
  ------------------
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|  81.4k|        )
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|  81.4k|        p->mark = _mark;
23718|  81.4k|        D(fprintf(stderr, "%*c%s invalid_lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
23719|  81.4k|                  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|  81.4k|    }
23721|      0|    { // lambda_param_maybe_default+ '/' '*'
23722|  81.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (23722:13): [True: 0, False: 81.4k]
  ------------------
23723|      0|            p->level--;
23724|      0|            return NULL;
23725|      0|        }
23726|  81.4k|        D(fprintf(stderr, "%*c> invalid_lambda_parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_maybe_default+ '/' '*'"));
23727|  81.4k|        Token * _literal;
23728|  81.4k|        asdl_seq * _loop1_77_var;
23729|  81.4k|        Token * a;
23730|  81.4k|        if (
23731|  81.4k|            (_loop1_77_var = _loop1_77_rule(p))  // lambda_param_maybe_default+
  ------------------
  |  Branch (23731:13): [True: 81.4k, False: 0]
  ------------------
23732|  81.4k|            &&
23733|  81.4k|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (23733:13): [True: 0, False: 81.4k]
  ------------------
23734|      0|            &&
23735|      0|            (a = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (23735:13): [True: 0, False: 0]
  ------------------
23736|  81.4k|        )
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|  81.4k|        p->mark = _mark;
23748|  81.4k|        D(fprintf(stderr, "%*c%s invalid_lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
23749|  81.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_maybe_default+ '/' '*'"));
23750|  81.4k|    }
23751|  81.4k|    _res = NULL;
23752|  81.4k|  done:
23753|  81.4k|    p->level--;
23754|  81.4k|    return _res;
23755|  81.4k|}
parser.c:_tmp_130_rule:
36532|   162k|{
36533|   162k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   325k|#  define MAXSTACK 6000
  ------------------
  |  Branch (36533:9): [True: 0, False: 162k]
  |  Branch (36533:35): [True: 0, False: 162k]
  ------------------
36534|      0|        _Pypegen_stack_overflow(p);
36535|      0|    }
36536|   162k|    if (p->error_indicator) {
  ------------------
  |  Branch (36536:9): [True: 0, False: 162k]
  ------------------
36537|      0|        p->level--;
36538|      0|        return NULL;
36539|      0|    }
36540|   162k|    void * _res = NULL;
36541|   162k|    int _mark = p->mark;
36542|   162k|    { // lambda_slash_no_default
36543|   162k|        if (p->error_indicator) {
  ------------------
  |  Branch (36543:13): [True: 0, False: 162k]
  ------------------
36544|      0|            p->level--;
36545|      0|            return NULL;
36546|      0|        }
36547|   162k|        D(fprintf(stderr, "%*c> _tmp_130[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_slash_no_default"));
36548|   162k|        asdl_arg_seq* lambda_slash_no_default_var;
36549|   162k|        if (
36550|   162k|            (lambda_slash_no_default_var = lambda_slash_no_default_rule(p))  // lambda_slash_no_default
  ------------------
  |  Branch (36550:13): [True: 0, False: 162k]
  ------------------
36551|   162k|        )
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|   162k|        p->mark = _mark;
36558|   162k|        D(fprintf(stderr, "%*c%s _tmp_130[%d-%d]: %s failed!\n", p->level, ' ',
36559|   162k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_slash_no_default"));
36560|   162k|    }
36561|      0|    { // lambda_slash_with_default
36562|   162k|        if (p->error_indicator) {
  ------------------
  |  Branch (36562:13): [True: 0, False: 162k]
  ------------------
36563|      0|            p->level--;
36564|      0|            return NULL;
36565|      0|        }
36566|   162k|        D(fprintf(stderr, "%*c> _tmp_130[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_slash_with_default"));
36567|   162k|        SlashWithDefault* lambda_slash_with_default_var;
36568|   162k|        if (
36569|   162k|            (lambda_slash_with_default_var = lambda_slash_with_default_rule(p))  // lambda_slash_with_default
  ------------------
  |  Branch (36569:13): [True: 0, False: 162k]
  ------------------
36570|   162k|        )
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|   162k|        p->mark = _mark;
36577|   162k|        D(fprintf(stderr, "%*c%s _tmp_130[%d-%d]: %s failed!\n", p->level, ' ',
36578|   162k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_slash_with_default"));
36579|   162k|    }
36580|   162k|    _res = NULL;
36581|   162k|  done:
36582|   162k|    p->level--;
36583|   162k|    return _res;
36584|   162k|}
parser.c:lambda_slash_with_default_rule:
16022|   353k|{
16023|   353k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   706k|#  define MAXSTACK 6000
  ------------------
  |  Branch (16023:9): [True: 0, False: 353k]
  |  Branch (16023:35): [True: 0, False: 353k]
  ------------------
16024|      0|        _Pypegen_stack_overflow(p);
16025|      0|    }
16026|   353k|    if (p->error_indicator) {
  ------------------
  |  Branch (16026:9): [True: 0, False: 353k]
  ------------------
16027|      0|        p->level--;
16028|      0|        return NULL;
16029|      0|    }
16030|   353k|    SlashWithDefault* _res = NULL;
16031|   353k|    int _mark = p->mark;
16032|   353k|    { // lambda_param_no_default* lambda_param_with_default+ '/' ','
16033|   353k|        if (p->error_indicator) {
  ------------------
  |  Branch (16033:13): [True: 0, False: 353k]
  ------------------
16034|      0|            p->level--;
16035|      0|            return NULL;
16036|      0|        }
16037|   353k|        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|   353k|        Token * _literal;
16039|   353k|        Token * _literal_1;
16040|   353k|        asdl_seq * a;
16041|   353k|        asdl_seq * b;
16042|   353k|        if (
16043|   353k|            (a = _loop0_72_rule(p))  // lambda_param_no_default*
  ------------------
  |  Branch (16043:13): [True: 353k, False: 0]
  ------------------
16044|   353k|            &&
16045|   353k|            (b = _loop1_75_rule(p))  // lambda_param_with_default+
  ------------------
  |  Branch (16045:13): [True: 1, False: 353k]
  ------------------
16046|      1|            &&
16047|      1|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (16047:13): [True: 0, False: 1]
  ------------------
16048|      0|            &&
16049|      0|            (_literal_1 = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (16049:13): [True: 0, False: 0]
  ------------------
16050|   353k|        )
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|   353k|        p->mark = _mark;
16062|   353k|        D(fprintf(stderr, "%*c%s lambda_slash_with_default[%d-%d]: %s failed!\n", p->level, ' ',
16063|   353k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default* lambda_param_with_default+ '/' ','"));
16064|   353k|    }
16065|      0|    { // lambda_param_no_default* lambda_param_with_default+ '/' &':'
16066|   353k|        if (p->error_indicator) {
  ------------------
  |  Branch (16066:13): [True: 0, False: 353k]
  ------------------
16067|      0|            p->level--;
16068|      0|            return NULL;
16069|      0|        }
16070|   353k|        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|   353k|        Token * _literal;
16072|   353k|        asdl_seq * a;
16073|   353k|        asdl_seq * b;
16074|   353k|        if (
16075|   353k|            (a = _loop0_72_rule(p))  // lambda_param_no_default*
  ------------------
  |  Branch (16075:13): [True: 353k, False: 0]
  ------------------
16076|   353k|            &&
16077|   353k|            (b = _loop1_75_rule(p))  // lambda_param_with_default+
  ------------------
  |  Branch (16077:13): [True: 1, False: 353k]
  ------------------
16078|      1|            &&
16079|      1|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (16079:13): [True: 0, False: 1]
  ------------------
16080|      0|            &&
16081|      0|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 11)  // token=':'
  ------------------
  |  Branch (16081:13): [True: 0, False: 0]
  ------------------
16082|   353k|        )
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|   353k|        p->mark = _mark;
16094|   353k|        D(fprintf(stderr, "%*c%s lambda_slash_with_default[%d-%d]: %s failed!\n", p->level, ' ',
16095|   353k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default* lambda_param_with_default+ '/' &':'"));
16096|   353k|    }
16097|   353k|    _res = NULL;
16098|   353k|  done:
16099|   353k|    p->level--;
16100|   353k|    return _res;
16101|   353k|}
parser.c:_loop1_75_rule:
33096|   787k|{
33097|   787k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.57M|#  define MAXSTACK 6000
  ------------------
  |  Branch (33097:9): [True: 0, False: 787k]
  |  Branch (33097:35): [True: 0, False: 787k]
  ------------------
33098|      0|        _Pypegen_stack_overflow(p);
33099|      0|    }
33100|   787k|    if (p->error_indicator) {
  ------------------
  |  Branch (33100:9): [True: 0, False: 787k]
  ------------------
33101|      0|        p->level--;
33102|      0|        return NULL;
33103|      0|    }
33104|   787k|    void *_res = NULL;
33105|   787k|    int _mark = p->mark;
33106|   787k|    void **_children = PyMem_Malloc(sizeof(void *));
33107|   787k|    if (!_children) {
  ------------------
  |  Branch (33107:9): [True: 0, False: 787k]
  ------------------
33108|      0|        p->error_indicator = 1;
33109|      0|        PyErr_NoMemory();
33110|      0|        p->level--;
33111|      0|        return NULL;
33112|      0|    }
33113|   787k|    Py_ssize_t _children_capacity = 1;
33114|   787k|    Py_ssize_t _n = 0;
33115|   787k|    { // lambda_param_with_default
33116|   787k|        if (p->error_indicator) {
  ------------------
  |  Branch (33116:13): [True: 0, False: 787k]
  ------------------
33117|      0|            p->level--;
33118|      0|            return NULL;
33119|      0|        }
33120|   787k|        D(fprintf(stderr, "%*c> _loop1_75[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_with_default"));
33121|   787k|        NameDefaultPair* lambda_param_with_default_var;
33122|   787k|        while (
33123|   787k|            (lambda_param_with_default_var = lambda_param_with_default_rule(p))  // lambda_param_with_default
  ------------------
  |  Branch (33123:13): [True: 3, False: 787k]
  ------------------
33124|   787k|        )
33125|      3|        {
33126|      3|            _res = lambda_param_with_default_var;
33127|      3|            if (_n == _children_capacity) {
  ------------------
  |  Branch (33127:17): [True: 0, False: 3]
  ------------------
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|      3|            _children[_n++] = _res;
33140|      3|            _mark = p->mark;
33141|      3|        }
33142|   787k|        p->mark = _mark;
33143|   787k|        D(fprintf(stderr, "%*c%s _loop1_75[%d-%d]: %s failed!\n", p->level, ' ',
33144|   787k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_with_default"));
33145|   787k|    }
33146|   787k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (33146:9): [True: 787k, False: 3]
  |  Branch (33146:20): [True: 0, False: 3]
  ------------------
33147|   787k|        PyMem_Free(_children);
33148|   787k|        p->level--;
33149|   787k|        return NULL;
33150|   787k|    }
33151|      3|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
33152|      3|    if (!_seq) {
  ------------------
  |  Branch (33152:9): [True: 0, False: 3]
  ------------------
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|      6|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|      3|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|      6|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (33159:28): [True: 3, False: 3]
  ------------------
33160|      3|    PyMem_Free(_children);
33161|      3|    p->level--;
33162|      3|    return _seq;
33163|      3|}
parser.c:lambda_param_with_default_rule:
16375|   896k|{
16376|   896k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.79M|#  define MAXSTACK 6000
  ------------------
  |  Branch (16376:9): [True: 0, False: 896k]
  |  Branch (16376:35): [True: 0, False: 896k]
  ------------------
16377|      0|        _Pypegen_stack_overflow(p);
16378|      0|    }
16379|   896k|    if (p->error_indicator) {
  ------------------
  |  Branch (16379:9): [True: 0, False: 896k]
  ------------------
16380|      0|        p->level--;
16381|      0|        return NULL;
16382|      0|    }
16383|   896k|    NameDefaultPair* _res = NULL;
16384|   896k|    int _mark = p->mark;
16385|   896k|    { // lambda_param default ','
16386|   896k|        if (p->error_indicator) {
  ------------------
  |  Branch (16386:13): [True: 0, False: 896k]
  ------------------
16387|      0|            p->level--;
16388|      0|            return NULL;
16389|      0|        }
16390|   896k|        D(fprintf(stderr, "%*c> lambda_param_with_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param default ','"));
16391|   896k|        Token * _literal;
16392|   896k|        arg_ty a;
16393|   896k|        expr_ty c;
16394|   896k|        if (
16395|   896k|            (a = lambda_param_rule(p))  // lambda_param
  ------------------
  |  Branch (16395:13): [True: 3, False: 896k]
  ------------------
16396|      3|            &&
16397|      3|            (c = default_rule(p))  // default
  ------------------
  |  Branch (16397:13): [True: 3, False: 0]
  ------------------
16398|      3|            &&
16399|      3|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (16399:13): [True: 0, False: 3]
  ------------------
16400|   896k|        )
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|   896k|        p->mark = _mark;
16412|   896k|        D(fprintf(stderr, "%*c%s lambda_param_with_default[%d-%d]: %s failed!\n", p->level, ' ',
16413|   896k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param default ','"));
16414|   896k|    }
16415|      0|    { // lambda_param default &':'
16416|   896k|        if (p->error_indicator) {
  ------------------
  |  Branch (16416:13): [True: 0, False: 896k]
  ------------------
16417|      0|            p->level--;
16418|      0|            return NULL;
16419|      0|        }
16420|   896k|        D(fprintf(stderr, "%*c> lambda_param_with_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param default &':'"));
16421|   896k|        arg_ty a;
16422|   896k|        expr_ty c;
16423|   896k|        if (
16424|   896k|            (a = lambda_param_rule(p))  // lambda_param
  ------------------
  |  Branch (16424:13): [True: 3, False: 896k]
  ------------------
16425|      3|            &&
16426|      3|            (c = default_rule(p))  // default
  ------------------
  |  Branch (16426:13): [True: 3, False: 0]
  ------------------
16427|      3|            &&
16428|      3|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 11)  // token=':'
  ------------------
  |  Branch (16428:13): [True: 3, False: 0]
  ------------------
16429|   896k|        )
16430|      3|        {
16431|      3|            D(fprintf(stderr, "%*c+ lambda_param_with_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param default &':'"));
16432|      3|            _res = _PyPegen_name_default_pair ( p , a , c , NULL );
16433|      3|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16433:18): [True: 0, False: 3]
  |  Branch (16433:34): [True: 0, False: 3]
  |  Branch (16433:57): [True: 0, False: 0]
  ------------------
16434|      0|                p->error_indicator = 1;
16435|      0|                p->level--;
16436|      0|                return NULL;
16437|      0|            }
16438|      3|            goto done;
16439|      3|        }
16440|   896k|        p->mark = _mark;
16441|   896k|        D(fprintf(stderr, "%*c%s lambda_param_with_default[%d-%d]: %s failed!\n", p->level, ' ',
16442|   896k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param default &':'"));
16443|   896k|    }
16444|   896k|    _res = NULL;
16445|   896k|  done:
16446|   896k|    p->level--;
16447|   896k|    return _res;
16448|   896k|}
parser.c:lambda_param_rule:
16531|  8.85M|{
16532|  8.85M|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  17.7M|#  define MAXSTACK 6000
  ------------------
  |  Branch (16532:9): [True: 0, False: 8.85M]
  |  Branch (16532:35): [True: 0, False: 8.85M]
  ------------------
16533|      0|        _Pypegen_stack_overflow(p);
16534|      0|    }
16535|  8.85M|    if (p->error_indicator) {
  ------------------
  |  Branch (16535:9): [True: 0, False: 8.85M]
  ------------------
16536|      0|        p->level--;
16537|      0|        return NULL;
16538|      0|    }
16539|  8.85M|    arg_ty _res = NULL;
16540|  8.85M|    int _mark = p->mark;
16541|  8.85M|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (16541:9): [True: 27.5k, False: 8.82M]
  |  Branch (16541:31): [True: 0, False: 27.5k]
  ------------------
16542|      0|        p->error_indicator = 1;
16543|      0|        p->level--;
16544|      0|        return NULL;
16545|      0|    }
16546|  8.85M|    int _start_lineno = p->tokens[_mark]->lineno;
16547|  8.85M|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|  8.85M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 8.85M]
  |  |  ------------------
  ------------------
16548|  8.85M|    int _start_col_offset = p->tokens[_mark]->col_offset;
16549|  8.85M|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|  8.85M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 8.85M]
  |  |  ------------------
  ------------------
16550|  8.85M|    { // NAME
16551|  8.85M|        if (p->error_indicator) {
  ------------------
  |  Branch (16551:13): [True: 0, False: 8.85M]
  ------------------
16552|      0|            p->level--;
16553|      0|            return NULL;
16554|      0|        }
16555|  8.85M|        D(fprintf(stderr, "%*c> lambda_param[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME"));
16556|  8.85M|        expr_ty a;
16557|  8.85M|        if (
16558|  8.85M|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (16558:13): [True: 3.36M, False: 5.48M]
  ------------------
16559|  8.85M|        )
16560|  3.36M|        {
16561|  3.36M|            D(fprintf(stderr, "%*c+ lambda_param[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME"));
16562|  3.36M|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
16563|  3.36M|            if (_token == NULL) {
  ------------------
  |  Branch (16563:17): [True: 0, False: 3.36M]
  ------------------
16564|      0|                p->level--;
16565|      0|                return NULL;
16566|      0|            }
16567|  3.36M|            int _end_lineno = _token->end_lineno;
16568|  3.36M|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|  3.36M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 3.36M]
  |  |  ------------------
  ------------------
16569|  3.36M|            int _end_col_offset = _token->end_col_offset;
16570|  3.36M|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|  3.36M|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 3.36M]
  |  |  ------------------
  ------------------
16571|  3.36M|            _res = _PyAST_arg ( a -> v . Name . id , NULL , NULL , EXTRA );
  ------------------
  |  |  269|  3.36M|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
16572|  3.36M|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16572:18): [True: 0, False: 3.36M]
  |  Branch (16572:34): [True: 0, False: 3.36M]
  |  Branch (16572:57): [True: 0, False: 0]
  ------------------
16573|      0|                p->error_indicator = 1;
16574|      0|                p->level--;
16575|      0|                return NULL;
16576|      0|            }
16577|  3.36M|            goto done;
16578|  3.36M|        }
16579|  5.48M|        p->mark = _mark;
16580|  5.48M|        D(fprintf(stderr, "%*c%s lambda_param[%d-%d]: %s failed!\n", p->level, ' ',
16581|  5.48M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME"));
16582|  5.48M|    }
16583|  5.48M|    _res = NULL;
16584|  8.85M|  done:
16585|  8.85M|    p->level--;
16586|  8.85M|    return _res;
16587|  5.48M|}
parser.c:default_rule:
 5978|   328k|{
 5979|   328k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   656k|#  define MAXSTACK 6000
  ------------------
  |  Branch (5979:9): [True: 0, False: 328k]
  |  Branch (5979:35): [True: 0, False: 328k]
  ------------------
 5980|      0|        _Pypegen_stack_overflow(p);
 5981|      0|    }
 5982|   328k|    if (p->error_indicator) {
  ------------------
  |  Branch (5982:9): [True: 0, False: 328k]
  ------------------
 5983|      0|        p->level--;
 5984|      0|        return NULL;
 5985|      0|    }
 5986|   328k|    expr_ty _res = NULL;
 5987|   328k|    int _mark = p->mark;
 5988|   328k|    { // '=' expression
 5989|   328k|        if (p->error_indicator) {
  ------------------
  |  Branch (5989:13): [True: 0, False: 328k]
  ------------------
 5990|      0|            p->level--;
 5991|      0|            return NULL;
 5992|      0|        }
 5993|   328k|        D(fprintf(stderr, "%*c> default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'=' expression"));
 5994|   328k|        Token * _literal;
 5995|   328k|        expr_ty a;
 5996|   328k|        if (
 5997|   328k|            (_literal = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (5997:13): [True: 2.61k, False: 325k]
  ------------------
 5998|  2.61k|            &&
 5999|  2.61k|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (5999:13): [True: 2.61k, False: 0]
  ------------------
 6000|   328k|        )
 6001|  2.61k|        {
 6002|  2.61k|            D(fprintf(stderr, "%*c+ default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'=' expression"));
 6003|  2.61k|            _res = a;
 6004|  2.61k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6004:18): [True: 0, False: 2.61k]
  |  Branch (6004:34): [True: 0, False: 2.61k]
  |  Branch (6004:57): [True: 0, False: 0]
  ------------------
 6005|      0|                p->error_indicator = 1;
 6006|      0|                p->level--;
 6007|      0|                return NULL;
 6008|      0|            }
 6009|  2.61k|            goto done;
 6010|  2.61k|        }
 6011|   325k|        p->mark = _mark;
 6012|   325k|        D(fprintf(stderr, "%*c%s default[%d-%d]: %s failed!\n", p->level, ' ',
 6013|   325k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'=' expression"));
 6014|   325k|    }
 6015|   325k|    if (p->call_invalid_rules) { // invalid_default
  ------------------
  |  Branch (6015:9): [True: 325k, False: 6]
  ------------------
 6016|   325k|        if (p->error_indicator) {
  ------------------
  |  Branch (6016:13): [True: 0, False: 325k]
  ------------------
 6017|      0|            p->level--;
 6018|      0|            return NULL;
 6019|      0|        }
 6020|   325k|        D(fprintf(stderr, "%*c> default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_default"));
 6021|   325k|        void *invalid_default_var;
 6022|   325k|        if (
 6023|   325k|            (invalid_default_var = invalid_default_rule(p))  // invalid_default
  ------------------
  |  Branch (6023:13): [True: 0, False: 325k]
  ------------------
 6024|   325k|        )
 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|   325k|        p->mark = _mark;
 6031|   325k|        D(fprintf(stderr, "%*c%s default[%d-%d]: %s failed!\n", p->level, ' ',
 6032|   325k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_default"));
 6033|   325k|    }
 6034|   325k|    _res = NULL;
 6035|   328k|  done:
 6036|   328k|    p->level--;
 6037|   328k|    return _res;
 6038|   325k|}
parser.c:invalid_default_rule:
23169|   325k|{
23170|   325k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   651k|#  define MAXSTACK 6000
  ------------------
  |  Branch (23170:9): [True: 0, False: 325k]
  |  Branch (23170:35): [True: 0, False: 325k]
  ------------------
23171|      0|        _Pypegen_stack_overflow(p);
23172|      0|    }
23173|   325k|    if (p->error_indicator) {
  ------------------
  |  Branch (23173:9): [True: 0, False: 325k]
  ------------------
23174|      0|        p->level--;
23175|      0|        return NULL;
23176|      0|    }
23177|   325k|    void * _res = NULL;
23178|   325k|    int _mark = p->mark;
23179|   325k|    { // '=' &(')' | ',')
23180|   325k|        if (p->error_indicator) {
  ------------------
  |  Branch (23180:13): [True: 0, False: 325k]
  ------------------
23181|      0|            p->level--;
23182|      0|            return NULL;
23183|      0|        }
23184|   325k|        D(fprintf(stderr, "%*c> invalid_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'=' &(')' | ',')"));
23185|   325k|        Token * a;
23186|   325k|        if (
23187|   325k|            (a = _PyPegen_expect_token(p, 22))  // token='='
  ------------------
  |  Branch (23187:13): [True: 0, False: 325k]
  ------------------
23188|      0|            &&
23189|      0|            _PyPegen_lookahead(1, _tmp_126_rule, p)
  ------------------
  |  Branch (23189:13): [True: 0, False: 0]
  ------------------
23190|   325k|        )
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|   325k|        p->mark = _mark;
23202|   325k|        D(fprintf(stderr, "%*c%s invalid_default[%d-%d]: %s failed!\n", p->level, ' ',
23203|   325k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'=' &(')' | ',')"));
23204|   325k|    }
23205|   325k|    _res = NULL;
23206|   325k|  done:
23207|   325k|    p->level--;
23208|   325k|    return _res;
23209|   325k|}
parser.c:_loop0_76_rule:
33168|  81.4k|{
33169|  81.4k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   162k|#  define MAXSTACK 6000
  ------------------
  |  Branch (33169:9): [True: 0, False: 81.4k]
  |  Branch (33169:35): [True: 0, False: 81.4k]
  ------------------
33170|      0|        _Pypegen_stack_overflow(p);
33171|      0|    }
33172|  81.4k|    if (p->error_indicator) {
  ------------------
  |  Branch (33172:9): [True: 0, False: 81.4k]
  ------------------
33173|      0|        p->level--;
33174|      0|        return NULL;
33175|      0|    }
33176|  81.4k|    void *_res = NULL;
33177|  81.4k|    int _mark = p->mark;
33178|  81.4k|    void **_children = PyMem_Malloc(sizeof(void *));
33179|  81.4k|    if (!_children) {
  ------------------
  |  Branch (33179:9): [True: 0, False: 81.4k]
  ------------------
33180|      0|        p->error_indicator = 1;
33181|      0|        PyErr_NoMemory();
33182|      0|        p->level--;
33183|      0|        return NULL;
33184|      0|    }
33185|  81.4k|    Py_ssize_t _children_capacity = 1;
33186|  81.4k|    Py_ssize_t _n = 0;
33187|  81.4k|    { // lambda_param_maybe_default
33188|  81.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (33188:13): [True: 0, False: 81.4k]
  ------------------
33189|      0|            p->level--;
33190|      0|            return NULL;
33191|      0|        }
33192|  81.4k|        D(fprintf(stderr, "%*c> _loop0_76[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_maybe_default"));
33193|  81.4k|        NameDefaultPair* lambda_param_maybe_default_var;
33194|  81.4k|        while (
33195|   162k|            (lambda_param_maybe_default_var = lambda_param_maybe_default_rule(p))  // lambda_param_maybe_default
  ------------------
  |  Branch (33195:13): [True: 81.4k, False: 81.4k]
  ------------------
33196|  81.4k|        )
33197|  81.4k|        {
33198|  81.4k|            _res = lambda_param_maybe_default_var;
33199|  81.4k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (33199:17): [True: 0, False: 81.4k]
  ------------------
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|  81.4k|            _children[_n++] = _res;
33212|  81.4k|            _mark = p->mark;
33213|  81.4k|        }
33214|  81.4k|        p->mark = _mark;
33215|  81.4k|        D(fprintf(stderr, "%*c%s _loop0_76[%d-%d]: %s failed!\n", p->level, ' ',
33216|  81.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_maybe_default"));
33217|  81.4k|    }
33218|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
33219|  81.4k|    if (!_seq) {
  ------------------
  |  Branch (33219:9): [True: 0, False: 81.4k]
  ------------------
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|   162k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  81.4k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|   162k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (33226:28): [True: 81.4k, False: 81.4k]
  ------------------
33227|  81.4k|    PyMem_Free(_children);
33228|  81.4k|    p->level--;
33229|  81.4k|    return _seq;
33230|  81.4k|}
parser.c:lambda_param_maybe_default_rule:
16453|   325k|{
16454|   325k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   651k|#  define MAXSTACK 6000
  ------------------
  |  Branch (16454:9): [True: 0, False: 325k]
  |  Branch (16454:35): [True: 0, False: 325k]
  ------------------
16455|      0|        _Pypegen_stack_overflow(p);
16456|      0|    }
16457|   325k|    if (p->error_indicator) {
  ------------------
  |  Branch (16457:9): [True: 0, False: 325k]
  ------------------
16458|      0|        p->level--;
16459|      0|        return NULL;
16460|      0|    }
16461|   325k|    NameDefaultPair* _res = NULL;
16462|   325k|    int _mark = p->mark;
16463|   325k|    { // lambda_param default? ','
16464|   325k|        if (p->error_indicator) {
  ------------------
  |  Branch (16464:13): [True: 0, False: 325k]
  ------------------
16465|      0|            p->level--;
16466|      0|            return NULL;
16467|      0|        }
16468|   325k|        D(fprintf(stderr, "%*c> lambda_param_maybe_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param default? ','"));
16469|   325k|        Token * _literal;
16470|   325k|        arg_ty a;
16471|   325k|        void *c;
16472|   325k|        if (
16473|   325k|            (a = lambda_param_rule(p))  // lambda_param
  ------------------
  |  Branch (16473:13): [True: 162k, False: 162k]
  ------------------
16474|   162k|            &&
16475|   162k|            (c = default_rule(p), !p->error_indicator)  // default?
  ------------------
  |  Branch (16475:13): [True: 162k, False: 0]
  ------------------
16476|   162k|            &&
16477|   162k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (16477:13): [True: 0, False: 162k]
  ------------------
16478|   325k|        )
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|   325k|        p->mark = _mark;
16490|   325k|        D(fprintf(stderr, "%*c%s lambda_param_maybe_default[%d-%d]: %s failed!\n", p->level, ' ',
16491|   325k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param default? ','"));
16492|   325k|    }
16493|      0|    { // lambda_param default? &':'
16494|   325k|        if (p->error_indicator) {
  ------------------
  |  Branch (16494:13): [True: 0, False: 325k]
  ------------------
16495|      0|            p->level--;
16496|      0|            return NULL;
16497|      0|        }
16498|   325k|        D(fprintf(stderr, "%*c> lambda_param_maybe_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param default? &':'"));
16499|   325k|        arg_ty a;
16500|   325k|        void *c;
16501|   325k|        if (
16502|   325k|            (a = lambda_param_rule(p))  // lambda_param
  ------------------
  |  Branch (16502:13): [True: 162k, False: 162k]
  ------------------
16503|   162k|            &&
16504|   162k|            (c = default_rule(p), !p->error_indicator)  // default?
  ------------------
  |  Branch (16504:13): [True: 162k, False: 0]
  ------------------
16505|   162k|            &&
16506|   162k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 11)  // token=':'
  ------------------
  |  Branch (16506:13): [True: 162k, False: 0]
  ------------------
16507|   325k|        )
16508|   162k|        {
16509|   162k|            D(fprintf(stderr, "%*c+ lambda_param_maybe_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param default? &':'"));
16510|   162k|            _res = _PyPegen_name_default_pair ( p , a , c , NULL );
16511|   162k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16511:18): [True: 0, False: 162k]
  |  Branch (16511:34): [True: 0, False: 162k]
  |  Branch (16511:57): [True: 0, False: 0]
  ------------------
16512|      0|                p->error_indicator = 1;
16513|      0|                p->level--;
16514|      0|                return NULL;
16515|      0|            }
16516|   162k|            goto done;
16517|   162k|        }
16518|   162k|        p->mark = _mark;
16519|   162k|        D(fprintf(stderr, "%*c%s lambda_param_maybe_default[%d-%d]: %s failed!\n", p->level, ' ',
16520|   162k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param default? &':'"));
16521|   162k|    }
16522|   162k|    _res = NULL;
16523|   325k|  done:
16524|   325k|    p->level--;
16525|   325k|    return _res;
16526|   162k|}
parser.c:lambda_slash_no_default_rule:
15942|   353k|{
15943|   353k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   706k|#  define MAXSTACK 6000
  ------------------
  |  Branch (15943:9): [True: 0, False: 353k]
  |  Branch (15943:35): [True: 0, False: 353k]
  ------------------
15944|      0|        _Pypegen_stack_overflow(p);
15945|      0|    }
15946|   353k|    if (p->error_indicator) {
  ------------------
  |  Branch (15946:9): [True: 0, False: 353k]
  ------------------
15947|      0|        p->level--;
15948|      0|        return NULL;
15949|      0|    }
15950|   353k|    asdl_arg_seq* _res = NULL;
15951|   353k|    int _mark = p->mark;
15952|   353k|    { // lambda_param_no_default+ '/' ','
15953|   353k|        if (p->error_indicator) {
  ------------------
  |  Branch (15953:13): [True: 0, False: 353k]
  ------------------
15954|      0|            p->level--;
15955|      0|            return NULL;
15956|      0|        }
15957|   353k|        D(fprintf(stderr, "%*c> lambda_slash_no_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default+ '/' ','"));
15958|   353k|        Token * _literal;
15959|   353k|        Token * _literal_1;
15960|   353k|        asdl_arg_seq* a;
15961|   353k|        if (
15962|   353k|            (a = (asdl_arg_seq*)_loop1_74_rule(p))  // lambda_param_no_default+
  ------------------
  |  Branch (15962:13): [True: 353k, False: 15]
  ------------------
15963|   353k|            &&
15964|   353k|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (15964:13): [True: 0, False: 353k]
  ------------------
15965|      0|            &&
15966|      0|            (_literal_1 = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (15966:13): [True: 0, False: 0]
  ------------------
15967|   353k|        )
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|   353k|        p->mark = _mark;
15979|   353k|        D(fprintf(stderr, "%*c%s lambda_slash_no_default[%d-%d]: %s failed!\n", p->level, ' ',
15980|   353k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default+ '/' ','"));
15981|   353k|    }
15982|      0|    { // lambda_param_no_default+ '/' &':'
15983|   353k|        if (p->error_indicator) {
  ------------------
  |  Branch (15983:13): [True: 0, False: 353k]
  ------------------
15984|      0|            p->level--;
15985|      0|            return NULL;
15986|      0|        }
15987|   353k|        D(fprintf(stderr, "%*c> lambda_slash_no_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default+ '/' &':'"));
15988|   353k|        Token * _literal;
15989|   353k|        asdl_arg_seq* a;
15990|   353k|        if (
15991|   353k|            (a = (asdl_arg_seq*)_loop1_74_rule(p))  // lambda_param_no_default+
  ------------------
  |  Branch (15991:13): [True: 353k, False: 15]
  ------------------
15992|   353k|            &&
15993|   353k|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (15993:13): [True: 0, False: 353k]
  ------------------
15994|      0|            &&
15995|      0|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 11)  // token=':'
  ------------------
  |  Branch (15995:13): [True: 0, False: 0]
  ------------------
15996|   353k|        )
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|   353k|        p->mark = _mark;
16008|   353k|        D(fprintf(stderr, "%*c%s lambda_slash_no_default[%d-%d]: %s failed!\n", p->level, ' ',
16009|   353k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default+ '/' &':'"));
16010|   353k|    }
16011|   353k|    _res = NULL;
16012|   353k|  done:
16013|   353k|    p->level--;
16014|   353k|    return _res;
16015|   353k|}
parser.c:_loop1_74_rule:
33024|   814k|{
33025|   814k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.62M|#  define MAXSTACK 6000
  ------------------
  |  Branch (33025:9): [True: 0, False: 814k]
  |  Branch (33025:35): [True: 0, False: 814k]
  ------------------
33026|      0|        _Pypegen_stack_overflow(p);
33027|      0|    }
33028|   814k|    if (p->error_indicator) {
  ------------------
  |  Branch (33028:9): [True: 0, False: 814k]
  ------------------
33029|      0|        p->level--;
33030|      0|        return NULL;
33031|      0|    }
33032|   814k|    void *_res = NULL;
33033|   814k|    int _mark = p->mark;
33034|   814k|    void **_children = PyMem_Malloc(sizeof(void *));
33035|   814k|    if (!_children) {
  ------------------
  |  Branch (33035:9): [True: 0, False: 814k]
  ------------------
33036|      0|        p->error_indicator = 1;
33037|      0|        PyErr_NoMemory();
33038|      0|        p->level--;
33039|      0|        return NULL;
33040|      0|    }
33041|   814k|    Py_ssize_t _children_capacity = 1;
33042|   814k|    Py_ssize_t _n = 0;
33043|   814k|    { // lambda_param_no_default
33044|   814k|        if (p->error_indicator) {
  ------------------
  |  Branch (33044:13): [True: 0, False: 814k]
  ------------------
33045|      0|            p->level--;
33046|      0|            return NULL;
33047|      0|        }
33048|   814k|        D(fprintf(stderr, "%*c> _loop1_74[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default"));
33049|   814k|        arg_ty lambda_param_no_default_var;
33050|   814k|        while (
33051|  1.63M|            (lambda_param_no_default_var = lambda_param_no_default_rule(p))  // lambda_param_no_default
  ------------------
  |  Branch (33051:13): [True: 815k, False: 814k]
  ------------------
33052|   814k|        )
33053|   815k|        {
33054|   815k|            _res = lambda_param_no_default_var;
33055|   815k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (33055:17): [True: 498, False: 815k]
  ------------------
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|   815k|            _children[_n++] = _res;
33068|   815k|            _mark = p->mark;
33069|   815k|        }
33070|   814k|        p->mark = _mark;
33071|   814k|        D(fprintf(stderr, "%*c%s _loop1_74[%d-%d]: %s failed!\n", p->level, ' ',
33072|   814k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default"));
33073|   814k|    }
33074|   814k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (33074:9): [True: 45, False: 814k]
  |  Branch (33074:20): [True: 0, False: 814k]
  ------------------
33075|     45|        PyMem_Free(_children);
33076|     45|        p->level--;
33077|     45|        return NULL;
33078|     45|    }
33079|   814k|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
33080|   814k|    if (!_seq) {
  ------------------
  |  Branch (33080:9): [True: 0, False: 814k]
  ------------------
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|  1.63M|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|   815k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  1.63M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (33087:28): [True: 815k, False: 814k]
  ------------------
33088|   814k|    PyMem_Free(_children);
33089|   814k|    p->level--;
33090|   814k|    return _seq;
33091|   814k|}
parser.c:_loop0_72_rule:
32890|   869k|{
32891|   869k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.73M|#  define MAXSTACK 6000
  ------------------
  |  Branch (32891:9): [True: 0, False: 869k]
  |  Branch (32891:35): [True: 0, False: 869k]
  ------------------
32892|      0|        _Pypegen_stack_overflow(p);
32893|      0|    }
32894|   869k|    if (p->error_indicator) {
  ------------------
  |  Branch (32894:9): [True: 0, False: 869k]
  ------------------
32895|      0|        p->level--;
32896|      0|        return NULL;
32897|      0|    }
32898|   869k|    void *_res = NULL;
32899|   869k|    int _mark = p->mark;
32900|   869k|    void **_children = PyMem_Malloc(sizeof(void *));
32901|   869k|    if (!_children) {
  ------------------
  |  Branch (32901:9): [True: 0, False: 869k]
  ------------------
32902|      0|        p->error_indicator = 1;
32903|      0|        PyErr_NoMemory();
32904|      0|        p->level--;
32905|      0|        return NULL;
32906|      0|    }
32907|   869k|    Py_ssize_t _children_capacity = 1;
32908|   869k|    Py_ssize_t _n = 0;
32909|   869k|    { // lambda_param_no_default
32910|   869k|        if (p->error_indicator) {
  ------------------
  |  Branch (32910:13): [True: 0, False: 869k]
  ------------------
32911|      0|            p->level--;
32912|      0|            return NULL;
32913|      0|        }
32914|   869k|        D(fprintf(stderr, "%*c> _loop0_72[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_no_default"));
32915|   869k|        arg_ty lambda_param_no_default_var;
32916|   869k|        while (
32917|  1.57M|            (lambda_param_no_default_var = lambda_param_no_default_rule(p))  // lambda_param_no_default
  ------------------
  |  Branch (32917:13): [True: 706k, False: 869k]
  ------------------
32918|   869k|        )
32919|   706k|        {
32920|   706k|            _res = lambda_param_no_default_var;
32921|   706k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (32921:17): [True: 332, False: 706k]
  ------------------
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|   706k|            _children[_n++] = _res;
32934|   706k|            _mark = p->mark;
32935|   706k|        }
32936|   869k|        p->mark = _mark;
32937|   869k|        D(fprintf(stderr, "%*c%s _loop0_72[%d-%d]: %s failed!\n", p->level, ' ',
32938|   869k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default"));
32939|   869k|    }
32940|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
32941|   869k|    if (!_seq) {
  ------------------
  |  Branch (32941:9): [True: 0, False: 869k]
  ------------------
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|  1.57M|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|   706k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  1.57M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (32948:28): [True: 706k, False: 869k]
  ------------------
32949|   869k|    PyMem_Free(_children);
32950|   869k|    p->level--;
32951|   869k|    return _seq;
32952|   869k|}
parser.c:invalid_lambda_parameters_helper_rule:
23762|  81.4k|{
23763|  81.4k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   162k|#  define MAXSTACK 6000
  ------------------
  |  Branch (23763:9): [True: 0, False: 81.4k]
  |  Branch (23763:35): [True: 0, False: 81.4k]
  ------------------
23764|      0|        _Pypegen_stack_overflow(p);
23765|      0|    }
23766|  81.4k|    if (p->error_indicator) {
  ------------------
  |  Branch (23766:9): [True: 0, False: 81.4k]
  ------------------
23767|      0|        p->level--;
23768|      0|        return NULL;
23769|      0|    }
23770|  81.4k|    void * _res = NULL;
23771|  81.4k|    int _mark = p->mark;
23772|  81.4k|    { // lambda_slash_with_default
23773|  81.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (23773:13): [True: 0, False: 81.4k]
  ------------------
23774|      0|            p->level--;
23775|      0|            return NULL;
23776|      0|        }
23777|  81.4k|        D(fprintf(stderr, "%*c> invalid_lambda_parameters_helper[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_slash_with_default"));
23778|  81.4k|        SlashWithDefault* a;
23779|  81.4k|        if (
23780|  81.4k|            (a = lambda_slash_with_default_rule(p))  // lambda_slash_with_default
  ------------------
  |  Branch (23780:13): [True: 0, False: 81.4k]
  ------------------
23781|  81.4k|        )
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|  81.4k|        p->mark = _mark;
23793|  81.4k|        D(fprintf(stderr, "%*c%s invalid_lambda_parameters_helper[%d-%d]: %s failed!\n", p->level, ' ',
23794|  81.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_slash_with_default"));
23795|  81.4k|    }
23796|      0|    { // lambda_param_with_default+
23797|  81.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (23797:13): [True: 0, False: 81.4k]
  ------------------
23798|      0|            p->level--;
23799|      0|            return NULL;
23800|      0|        }
23801|  81.4k|        D(fprintf(stderr, "%*c> invalid_lambda_parameters_helper[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_with_default+"));
23802|  81.4k|        asdl_seq * _loop1_75_var;
23803|  81.4k|        if (
23804|  81.4k|            (_loop1_75_var = _loop1_75_rule(p))  // lambda_param_with_default+
  ------------------
  |  Branch (23804:13): [True: 0, False: 81.4k]
  ------------------
23805|  81.4k|        )
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|  81.4k|        p->mark = _mark;
23812|  81.4k|        D(fprintf(stderr, "%*c%s invalid_lambda_parameters_helper[%d-%d]: %s failed!\n", p->level, ' ',
23813|  81.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_with_default+"));
23814|  81.4k|    }
23815|  81.4k|    _res = NULL;
23816|  81.4k|  done:
23817|  81.4k|    p->level--;
23818|  81.4k|    return _res;
23819|  81.4k|}
parser.c:lambda_param_no_default_rule:
16303|  3.20M|{
16304|  3.20M|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  6.41M|#  define MAXSTACK 6000
  ------------------
  |  Branch (16304:9): [True: 0, False: 3.20M]
  |  Branch (16304:35): [True: 0, False: 3.20M]
  ------------------
16305|      0|        _Pypegen_stack_overflow(p);
16306|      0|    }
16307|  3.20M|    if (p->error_indicator) {
  ------------------
  |  Branch (16307:9): [True: 0, False: 3.20M]
  ------------------
16308|      0|        p->level--;
16309|      0|        return NULL;
16310|      0|    }
16311|  3.20M|    arg_ty _res = NULL;
16312|  3.20M|    int _mark = p->mark;
16313|  3.20M|    { // lambda_param ','
16314|  3.20M|        if (p->error_indicator) {
  ------------------
  |  Branch (16314:13): [True: 0, False: 3.20M]
  ------------------
16315|      0|            p->level--;
16316|      0|            return NULL;
16317|      0|        }
16318|  3.20M|        D(fprintf(stderr, "%*c> lambda_param_no_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param ','"));
16319|  3.20M|        Token * _literal;
16320|  3.20M|        arg_ty a;
16321|  3.20M|        if (
16322|  3.20M|            (a = lambda_param_rule(p))  // lambda_param
  ------------------
  |  Branch (16322:13): [True: 1.52M, False: 1.68M]
  ------------------
16323|  1.52M|            &&
16324|  1.52M|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (16324:13): [True: 1.34k, False: 1.52M]
  ------------------
16325|  3.20M|        )
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|  3.20M|        p->mark = _mark;
16337|  3.20M|        D(fprintf(stderr, "%*c%s lambda_param_no_default[%d-%d]: %s failed!\n", p->level, ' ',
16338|  3.20M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param ','"));
16339|  3.20M|    }
16340|      0|    { // lambda_param &':'
16341|  3.20M|        if (p->error_indicator) {
  ------------------
  |  Branch (16341:13): [True: 0, False: 3.20M]
  ------------------
16342|      0|            p->level--;
16343|      0|            return NULL;
16344|      0|        }
16345|  3.20M|        D(fprintf(stderr, "%*c> lambda_param_no_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param &':'"));
16346|  3.20M|        arg_ty a;
16347|  3.20M|        if (
16348|  3.20M|            (a = lambda_param_rule(p))  // lambda_param
  ------------------
  |  Branch (16348:13): [True: 1.52M, False: 1.68M]
  ------------------
16349|  1.52M|            &&
16350|  1.52M|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 11)  // token=':'
  ------------------
  |  Branch (16350:13): [True: 1.52M, False: 5]
  ------------------
16351|  3.20M|        )
16352|  1.52M|        {
16353|  1.52M|            D(fprintf(stderr, "%*c+ lambda_param_no_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param &':'"));
16354|  1.52M|            _res = a;
16355|  1.52M|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16355:18): [True: 0, False: 1.52M]
  |  Branch (16355:34): [True: 0, False: 1.52M]
  |  Branch (16355:57): [True: 0, False: 0]
  ------------------
16356|      0|                p->error_indicator = 1;
16357|      0|                p->level--;
16358|      0|                return NULL;
16359|      0|            }
16360|  1.52M|            goto done;
16361|  1.52M|        }
16362|  1.68M|        p->mark = _mark;
16363|  1.68M|        D(fprintf(stderr, "%*c%s lambda_param_no_default[%d-%d]: %s failed!\n", p->level, ' ',
16364|  1.68M|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param &':'"));
16365|  1.68M|    }
16366|  1.68M|    _res = NULL;
16367|  3.20M|  done:
16368|  3.20M|    p->level--;
16369|  3.20M|    return _res;
16370|  1.68M|}
parser.c:_loop1_77_rule:
33235|  81.4k|{
33236|  81.4k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   162k|#  define MAXSTACK 6000
  ------------------
  |  Branch (33236:9): [True: 0, False: 81.4k]
  |  Branch (33236:35): [True: 0, False: 81.4k]
  ------------------
33237|      0|        _Pypegen_stack_overflow(p);
33238|      0|    }
33239|  81.4k|    if (p->error_indicator) {
  ------------------
  |  Branch (33239:9): [True: 0, False: 81.4k]
  ------------------
33240|      0|        p->level--;
33241|      0|        return NULL;
33242|      0|    }
33243|  81.4k|    void *_res = NULL;
33244|  81.4k|    int _mark = p->mark;
33245|  81.4k|    void **_children = PyMem_Malloc(sizeof(void *));
33246|  81.4k|    if (!_children) {
  ------------------
  |  Branch (33246:9): [True: 0, False: 81.4k]
  ------------------
33247|      0|        p->error_indicator = 1;
33248|      0|        PyErr_NoMemory();
33249|      0|        p->level--;
33250|      0|        return NULL;
33251|      0|    }
33252|  81.4k|    Py_ssize_t _children_capacity = 1;
33253|  81.4k|    Py_ssize_t _n = 0;
33254|  81.4k|    { // lambda_param_maybe_default
33255|  81.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (33255:13): [True: 0, False: 81.4k]
  ------------------
33256|      0|            p->level--;
33257|      0|            return NULL;
33258|      0|        }
33259|  81.4k|        D(fprintf(stderr, "%*c> _loop1_77[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_maybe_default"));
33260|  81.4k|        NameDefaultPair* lambda_param_maybe_default_var;
33261|  81.4k|        while (
33262|   162k|            (lambda_param_maybe_default_var = lambda_param_maybe_default_rule(p))  // lambda_param_maybe_default
  ------------------
  |  Branch (33262:13): [True: 81.4k, False: 81.4k]
  ------------------
33263|  81.4k|        )
33264|  81.4k|        {
33265|  81.4k|            _res = lambda_param_maybe_default_var;
33266|  81.4k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (33266:17): [True: 0, False: 81.4k]
  ------------------
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|  81.4k|            _children[_n++] = _res;
33279|  81.4k|            _mark = p->mark;
33280|  81.4k|        }
33281|  81.4k|        p->mark = _mark;
33282|  81.4k|        D(fprintf(stderr, "%*c%s _loop1_77[%d-%d]: %s failed!\n", p->level, ' ',
33283|  81.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_maybe_default"));
33284|  81.4k|    }
33285|  81.4k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (33285:9): [True: 0, False: 81.4k]
  |  Branch (33285:20): [True: 0, False: 81.4k]
  ------------------
33286|      0|        PyMem_Free(_children);
33287|      0|        p->level--;
33288|      0|        return NULL;
33289|      0|    }
33290|  81.4k|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
33291|  81.4k|    if (!_seq) {
  ------------------
  |  Branch (33291:9): [True: 0, False: 81.4k]
  ------------------
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|   162k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  81.4k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|   162k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (33298:28): [True: 81.4k, False: 81.4k]
  ------------------
33299|  81.4k|    PyMem_Free(_children);
33300|  81.4k|    p->level--;
33301|  81.4k|    return _seq;
33302|  81.4k|}
parser.c:lambda_parameters_rule:
15777|   108k|{
15778|   108k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   217k|#  define MAXSTACK 6000
  ------------------
  |  Branch (15778:9): [True: 0, False: 108k]
  |  Branch (15778:35): [True: 0, False: 108k]
  ------------------
15779|      0|        _Pypegen_stack_overflow(p);
15780|      0|    }
15781|   108k|    if (p->error_indicator) {
  ------------------
  |  Branch (15781:9): [True: 0, False: 108k]
  ------------------
15782|      0|        p->level--;
15783|      0|        return NULL;
15784|      0|    }
15785|   108k|    arguments_ty _res = NULL;
15786|   108k|    int _mark = p->mark;
15787|   108k|    { // lambda_slash_no_default lambda_param_no_default* lambda_param_with_default* lambda_star_etc?
15788|   108k|        if (p->error_indicator) {
  ------------------
  |  Branch (15788:13): [True: 0, False: 108k]
  ------------------
15789|      0|            p->level--;
15790|      0|            return NULL;
15791|      0|        }
15792|   108k|        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|   108k|        asdl_arg_seq* a;
15794|   108k|        asdl_arg_seq* b;
15795|   108k|        asdl_seq * c;
15796|   108k|        void *d;
15797|   108k|        if (
15798|   108k|            (a = lambda_slash_no_default_rule(p))  // lambda_slash_no_default
  ------------------
  |  Branch (15798:13): [True: 0, False: 108k]
  ------------------
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|   108k|        )
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|   108k|        p->mark = _mark;
15817|   108k|        D(fprintf(stderr, "%*c%s lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
15818|   108k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_slash_no_default lambda_param_no_default* lambda_param_with_default* lambda_star_etc?"));
15819|   108k|    }
15820|      0|    { // lambda_slash_with_default lambda_param_with_default* lambda_star_etc?
15821|   108k|        if (p->error_indicator) {
  ------------------
  |  Branch (15821:13): [True: 0, False: 108k]
  ------------------
15822|      0|            p->level--;
15823|      0|            return NULL;
15824|      0|        }
15825|   108k|        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|   108k|        SlashWithDefault* a;
15827|   108k|        asdl_seq * b;
15828|   108k|        void *c;
15829|   108k|        if (
15830|   108k|            (a = lambda_slash_with_default_rule(p))  // lambda_slash_with_default
  ------------------
  |  Branch (15830:13): [True: 0, False: 108k]
  ------------------
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|   108k|        )
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|   108k|        p->mark = _mark;
15847|   108k|        D(fprintf(stderr, "%*c%s lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
15848|   108k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_slash_with_default lambda_param_with_default* lambda_star_etc?"));
15849|   108k|    }
15850|      0|    { // lambda_param_no_default+ lambda_param_with_default* lambda_star_etc?
15851|   108k|        if (p->error_indicator) {
  ------------------
  |  Branch (15851:13): [True: 0, False: 108k]
  ------------------
15852|      0|            p->level--;
15853|      0|            return NULL;
15854|      0|        }
15855|   108k|        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|   108k|        asdl_arg_seq* a;
15857|   108k|        asdl_seq * b;
15858|   108k|        void *c;
15859|   108k|        if (
15860|   108k|            (a = (asdl_arg_seq*)_loop1_74_rule(p))  // lambda_param_no_default+
  ------------------
  |  Branch (15860:13): [True: 108k, False: 15]
  ------------------
15861|   108k|            &&
15862|   108k|            (b = _loop0_73_rule(p))  // lambda_param_with_default*
  ------------------
  |  Branch (15862:13): [True: 108k, False: 0]
  ------------------
15863|   108k|            &&
15864|   108k|            (c = lambda_star_etc_rule(p), !p->error_indicator)  // lambda_star_etc?
  ------------------
  |  Branch (15864:13): [True: 108k, False: 0]
  ------------------
15865|   108k|        )
15866|   108k|        {
15867|   108k|            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|   108k|            _res = _PyPegen_make_arguments ( p , NULL , NULL , a , b , c );
15869|   108k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15869:18): [True: 0, False: 108k]
  |  Branch (15869:34): [True: 0, False: 108k]
  |  Branch (15869:57): [True: 0, False: 0]
  ------------------
15870|      0|                p->error_indicator = 1;
15871|      0|                p->level--;
15872|      0|                return NULL;
15873|      0|            }
15874|   108k|            goto done;
15875|   108k|        }
15876|     15|        p->mark = _mark;
15877|     15|        D(fprintf(stderr, "%*c%s lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
15878|     15|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_no_default+ lambda_param_with_default* lambda_star_etc?"));
15879|     15|    }
15880|      0|    { // lambda_param_with_default+ lambda_star_etc?
15881|     15|        if (p->error_indicator) {
  ------------------
  |  Branch (15881:13): [True: 0, False: 15]
  ------------------
15882|      0|            p->level--;
15883|      0|            return NULL;
15884|      0|        }
15885|     15|        D(fprintf(stderr, "%*c> lambda_parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_with_default+ lambda_star_etc?"));
15886|     15|        asdl_seq * a;
15887|     15|        void *b;
15888|     15|        if (
15889|     15|            (a = _loop1_75_rule(p))  // lambda_param_with_default+
  ------------------
  |  Branch (15889:13): [True: 1, False: 14]
  ------------------
15890|      1|            &&
15891|      1|            (b = lambda_star_etc_rule(p), !p->error_indicator)  // lambda_star_etc?
  ------------------
  |  Branch (15891:13): [True: 1, False: 0]
  ------------------
15892|     15|        )
15893|      1|        {
15894|      1|            D(fprintf(stderr, "%*c+ lambda_parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_param_with_default+ lambda_star_etc?"));
15895|      1|            _res = _PyPegen_make_arguments ( p , NULL , NULL , NULL , a , b );
15896|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15896:18): [True: 0, False: 1]
  |  Branch (15896:34): [True: 0, False: 1]
  |  Branch (15896:57): [True: 0, False: 0]
  ------------------
15897|      0|                p->error_indicator = 1;
15898|      0|                p->level--;
15899|      0|                return NULL;
15900|      0|            }
15901|      1|            goto done;
15902|      1|        }
15903|     14|        p->mark = _mark;
15904|     14|        D(fprintf(stderr, "%*c%s lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
15905|     14|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_with_default+ lambda_star_etc?"));
15906|     14|    }
15907|      0|    { // lambda_star_etc
15908|     14|        if (p->error_indicator) {
  ------------------
  |  Branch (15908:13): [True: 0, False: 14]
  ------------------
15909|      0|            p->level--;
15910|      0|            return NULL;
15911|      0|        }
15912|     14|        D(fprintf(stderr, "%*c> lambda_parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_star_etc"));
15913|     14|        StarEtc* a;
15914|     14|        if (
15915|     14|            (a = lambda_star_etc_rule(p))  // lambda_star_etc
  ------------------
  |  Branch (15915:13): [True: 1, False: 13]
  ------------------
15916|     14|        )
15917|      1|        {
15918|      1|            D(fprintf(stderr, "%*c+ lambda_parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "lambda_star_etc"));
15919|      1|            _res = _PyPegen_make_arguments ( p , NULL , NULL , NULL , NULL , a );
15920|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15920:18): [True: 0, False: 1]
  |  Branch (15920:34): [True: 0, False: 1]
  |  Branch (15920:57): [True: 0, False: 0]
  ------------------
15921|      0|                p->error_indicator = 1;
15922|      0|                p->level--;
15923|      0|                return NULL;
15924|      0|            }
15925|      1|            goto done;
15926|      1|        }
15927|     13|        p->mark = _mark;
15928|     13|        D(fprintf(stderr, "%*c%s lambda_parameters[%d-%d]: %s failed!\n", p->level, ' ',
15929|     13|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_star_etc"));
15930|     13|    }
15931|     13|    _res = NULL;
15932|   108k|  done:
15933|   108k|    p->level--;
15934|   108k|    return _res;
15935|     13|}
parser.c:_loop0_73_rule:
32957|   108k|{
32958|   108k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   217k|#  define MAXSTACK 6000
  ------------------
  |  Branch (32958:9): [True: 0, False: 108k]
  |  Branch (32958:35): [True: 0, False: 108k]
  ------------------
32959|      0|        _Pypegen_stack_overflow(p);
32960|      0|    }
32961|   108k|    if (p->error_indicator) {
  ------------------
  |  Branch (32961:9): [True: 0, False: 108k]
  ------------------
32962|      0|        p->level--;
32963|      0|        return NULL;
32964|      0|    }
32965|   108k|    void *_res = NULL;
32966|   108k|    int _mark = p->mark;
32967|   108k|    void **_children = PyMem_Malloc(sizeof(void *));
32968|   108k|    if (!_children) {
  ------------------
  |  Branch (32968:9): [True: 0, False: 108k]
  ------------------
32969|      0|        p->error_indicator = 1;
32970|      0|        PyErr_NoMemory();
32971|      0|        p->level--;
32972|      0|        return NULL;
32973|      0|    }
32974|   108k|    Py_ssize_t _children_capacity = 1;
32975|   108k|    Py_ssize_t _n = 0;
32976|   108k|    { // lambda_param_with_default
32977|   108k|        if (p->error_indicator) {
  ------------------
  |  Branch (32977:13): [True: 0, False: 108k]
  ------------------
32978|      0|            p->level--;
32979|      0|            return NULL;
32980|      0|        }
32981|   108k|        D(fprintf(stderr, "%*c> _loop0_73[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_param_with_default"));
32982|   108k|        NameDefaultPair* lambda_param_with_default_var;
32983|   108k|        while (
32984|   108k|            (lambda_param_with_default_var = lambda_param_with_default_rule(p))  // lambda_param_with_default
  ------------------
  |  Branch (32984:13): [True: 0, False: 108k]
  ------------------
32985|   108k|        )
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|   108k|        p->mark = _mark;
33004|   108k|        D(fprintf(stderr, "%*c%s _loop0_73[%d-%d]: %s failed!\n", p->level, ' ',
33005|   108k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_param_with_default"));
33006|   108k|    }
33007|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
33008|   108k|    if (!_seq) {
  ------------------
  |  Branch (33008:9): [True: 0, False: 108k]
  ------------------
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|   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 (33015:28): [True: 0, False: 108k]
  ------------------
33016|   108k|    PyMem_Free(_children);
33017|   108k|    p->level--;
33018|   108k|    return _seq;
33019|   108k|}
parser.c:lambda_star_etc_rule:
16110|   108k|{
16111|   108k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   217k|#  define MAXSTACK 6000
  ------------------
  |  Branch (16111:9): [True: 0, False: 108k]
  |  Branch (16111:35): [True: 0, False: 108k]
  ------------------
16112|      0|        _Pypegen_stack_overflow(p);
16113|      0|    }
16114|   108k|    if (p->error_indicator) {
  ------------------
  |  Branch (16114:9): [True: 0, False: 108k]
  ------------------
16115|      0|        p->level--;
16116|      0|        return NULL;
16117|      0|    }
16118|   108k|    StarEtc* _res = NULL;
16119|   108k|    int _mark = p->mark;
16120|   108k|    if (p->call_invalid_rules) { // invalid_lambda_star_etc
  ------------------
  |  Branch (16120:9): [True: 81.4k, False: 27.2k]
  ------------------
16121|  81.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (16121:13): [True: 0, False: 81.4k]
  ------------------
16122|      0|            p->level--;
16123|      0|            return NULL;
16124|      0|        }
16125|  81.4k|        D(fprintf(stderr, "%*c> lambda_star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_lambda_star_etc"));
16126|  81.4k|        void *invalid_lambda_star_etc_var;
16127|  81.4k|        if (
16128|  81.4k|            (invalid_lambda_star_etc_var = invalid_lambda_star_etc_rule(p))  // invalid_lambda_star_etc
  ------------------
  |  Branch (16128:13): [True: 0, False: 81.4k]
  ------------------
16129|  81.4k|        )
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|  81.4k|        p->mark = _mark;
16136|  81.4k|        D(fprintf(stderr, "%*c%s lambda_star_etc[%d-%d]: %s failed!\n", p->level, ' ',
16137|  81.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_lambda_star_etc"));
16138|  81.4k|    }
16139|   108k|    { // '*' lambda_param_no_default lambda_param_maybe_default* lambda_kwds?
16140|   108k|        if (p->error_indicator) {
  ------------------
  |  Branch (16140:13): [True: 0, False: 108k]
  ------------------
16141|      0|            p->level--;
16142|      0|            return NULL;
16143|      0|        }
16144|   108k|        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|   108k|        Token * _literal;
16146|   108k|        arg_ty a;
16147|   108k|        asdl_seq * b;
16148|   108k|        void *c;
16149|   108k|        if (
16150|   108k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (16150:13): [True: 1, False: 108k]
  ------------------
16151|      1|            &&
16152|      1|            (a = lambda_param_no_default_rule(p))  // lambda_param_no_default
  ------------------
  |  Branch (16152:13): [True: 1, False: 0]
  ------------------
16153|      1|            &&
16154|      1|            (b = _loop0_76_rule(p))  // lambda_param_maybe_default*
  ------------------
  |  Branch (16154:13): [True: 1, False: 0]
  ------------------
16155|      1|            &&
16156|      1|            (c = lambda_kwds_rule(p), !p->error_indicator)  // lambda_kwds?
  ------------------
  |  Branch (16156:13): [True: 1, False: 0]
  ------------------
16157|   108k|        )
16158|      1|        {
16159|      1|            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|      1|            _res = _PyPegen_star_etc ( p , a , b , c );
16161|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16161:18): [True: 0, False: 1]
  |  Branch (16161:34): [True: 0, False: 1]
  |  Branch (16161:57): [True: 0, False: 0]
  ------------------
16162|      0|                p->error_indicator = 1;
16163|      0|                p->level--;
16164|      0|                return NULL;
16165|      0|            }
16166|      1|            goto done;
16167|      1|        }
16168|   108k|        p->mark = _mark;
16169|   108k|        D(fprintf(stderr, "%*c%s lambda_star_etc[%d-%d]: %s failed!\n", p->level, ' ',
16170|   108k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' lambda_param_no_default lambda_param_maybe_default* lambda_kwds?"));
16171|   108k|    }
16172|      0|    { // '*' ',' lambda_param_maybe_default+ lambda_kwds?
16173|   108k|        if (p->error_indicator) {
  ------------------
  |  Branch (16173:13): [True: 0, False: 108k]
  ------------------
16174|      0|            p->level--;
16175|      0|            return NULL;
16176|      0|        }
16177|   108k|        D(fprintf(stderr, "%*c> lambda_star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' ',' lambda_param_maybe_default+ lambda_kwds?"));
16178|   108k|        Token * _literal;
16179|   108k|        Token * _literal_1;
16180|   108k|        asdl_seq * b;
16181|   108k|        void *c;
16182|   108k|        if (
16183|   108k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (16183:13): [True: 0, False: 108k]
  ------------------
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|   108k|        )
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|   108k|        p->mark = _mark;
16202|   108k|        D(fprintf(stderr, "%*c%s lambda_star_etc[%d-%d]: %s failed!\n", p->level, ' ',
16203|   108k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' ',' lambda_param_maybe_default+ lambda_kwds?"));
16204|   108k|    }
16205|      0|    { // lambda_kwds
16206|   108k|        if (p->error_indicator) {
  ------------------
  |  Branch (16206:13): [True: 0, False: 108k]
  ------------------
16207|      0|            p->level--;
16208|      0|            return NULL;
16209|      0|        }
16210|   108k|        D(fprintf(stderr, "%*c> lambda_star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "lambda_kwds"));
16211|   108k|        arg_ty a;
16212|   108k|        if (
16213|   108k|            (a = lambda_kwds_rule(p))  // lambda_kwds
  ------------------
  |  Branch (16213:13): [True: 0, False: 108k]
  ------------------
16214|   108k|        )
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|   108k|        p->mark = _mark;
16226|   108k|        D(fprintf(stderr, "%*c%s lambda_star_etc[%d-%d]: %s failed!\n", p->level, ' ',
16227|   108k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "lambda_kwds"));
16228|   108k|    }
16229|   108k|    _res = NULL;
16230|   108k|  done:
16231|   108k|    p->level--;
16232|   108k|    return _res;
16233|   108k|}
parser.c:invalid_lambda_star_etc_rule:
23827|  81.4k|{
23828|  81.4k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   162k|#  define MAXSTACK 6000
  ------------------
  |  Branch (23828:9): [True: 0, False: 81.4k]
  |  Branch (23828:35): [True: 0, False: 81.4k]
  ------------------
23829|      0|        _Pypegen_stack_overflow(p);
23830|      0|    }
23831|  81.4k|    if (p->error_indicator) {
  ------------------
  |  Branch (23831:9): [True: 0, False: 81.4k]
  ------------------
23832|      0|        p->level--;
23833|      0|        return NULL;
23834|      0|    }
23835|  81.4k|    void * _res = NULL;
23836|  81.4k|    int _mark = p->mark;
23837|  81.4k|    { // '*' (':' | ',' (':' | '**'))
23838|  81.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (23838:13): [True: 0, False: 81.4k]
  ------------------
23839|      0|            p->level--;
23840|      0|            return NULL;
23841|      0|        }
23842|  81.4k|        D(fprintf(stderr, "%*c> invalid_lambda_star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' (':' | ',' (':' | '**'))"));
23843|  81.4k|        Token * _literal;
23844|  81.4k|        void *_tmp_134_var;
23845|  81.4k|        if (
23846|  81.4k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (23846:13): [True: 0, False: 81.4k]
  ------------------
23847|      0|            &&
23848|      0|            (_tmp_134_var = _tmp_134_rule(p))  // ':' | ',' (':' | '**')
  ------------------
  |  Branch (23848:13): [True: 0, False: 0]
  ------------------
23849|  81.4k|        )
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|  81.4k|        p->mark = _mark;
23861|  81.4k|        D(fprintf(stderr, "%*c%s invalid_lambda_star_etc[%d-%d]: %s failed!\n", p->level, ' ',
23862|  81.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' (':' | ',' (':' | '**'))"));
23863|  81.4k|    }
23864|      0|    { // '*' lambda_param '='
23865|  81.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (23865:13): [True: 0, False: 81.4k]
  ------------------
23866|      0|            p->level--;
23867|      0|            return NULL;
23868|      0|        }
23869|  81.4k|        D(fprintf(stderr, "%*c> invalid_lambda_star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' lambda_param '='"));
23870|  81.4k|        Token * _literal;
23871|  81.4k|        Token * a;
23872|  81.4k|        arg_ty lambda_param_var;
23873|  81.4k|        if (
23874|  81.4k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (23874:13): [True: 0, False: 81.4k]
  ------------------
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|  81.4k|        )
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|  81.4k|        p->mark = _mark;
23891|  81.4k|        D(fprintf(stderr, "%*c%s invalid_lambda_star_etc[%d-%d]: %s failed!\n", p->level, ' ',
23892|  81.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' lambda_param '='"));
23893|  81.4k|    }
23894|      0|    { // '*' (lambda_param_no_default | ',') lambda_param_maybe_default* '*' (lambda_param_no_default | ',')
23895|  81.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (23895:13): [True: 0, False: 81.4k]
  ------------------
23896|      0|            p->level--;
23897|      0|            return NULL;
23898|      0|        }
23899|  81.4k|        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|  81.4k|        Token * _literal;
23901|  81.4k|        asdl_seq * _loop0_76_var;
23902|  81.4k|        void *_tmp_135_var;
23903|  81.4k|        void *_tmp_135_var_1;
23904|  81.4k|        Token * a;
23905|  81.4k|        if (
23906|  81.4k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (23906:13): [True: 0, False: 81.4k]
  ------------------
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|  81.4k|        )
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|  81.4k|        p->mark = _mark;
23927|  81.4k|        D(fprintf(stderr, "%*c%s invalid_lambda_star_etc[%d-%d]: %s failed!\n", p->level, ' ',
23928|  81.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' (lambda_param_no_default | ',') lambda_param_maybe_default* '*' (lambda_param_no_default | ',')"));
23929|  81.4k|    }
23930|  81.4k|    _res = NULL;
23931|  81.4k|  done:
23932|  81.4k|    p->level--;
23933|  81.4k|    return _res;
23934|  81.4k|}
parser.c:lambda_kwds_rule:
16238|   108k|{
16239|   108k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   217k|#  define MAXSTACK 6000
  ------------------
  |  Branch (16239:9): [True: 0, False: 108k]
  |  Branch (16239:35): [True: 0, False: 108k]
  ------------------
16240|      0|        _Pypegen_stack_overflow(p);
16241|      0|    }
16242|   108k|    if (p->error_indicator) {
  ------------------
  |  Branch (16242:9): [True: 0, False: 108k]
  ------------------
16243|      0|        p->level--;
16244|      0|        return NULL;
16245|      0|    }
16246|   108k|    arg_ty _res = NULL;
16247|   108k|    int _mark = p->mark;
16248|   108k|    if (p->call_invalid_rules) { // invalid_lambda_kwds
  ------------------
  |  Branch (16248:9): [True: 81.4k, False: 27.2k]
  ------------------
16249|  81.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (16249:13): [True: 0, False: 81.4k]
  ------------------
16250|      0|            p->level--;
16251|      0|            return NULL;
16252|      0|        }
16253|  81.4k|        D(fprintf(stderr, "%*c> lambda_kwds[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_lambda_kwds"));
16254|  81.4k|        void *invalid_lambda_kwds_var;
16255|  81.4k|        if (
16256|  81.4k|            (invalid_lambda_kwds_var = invalid_lambda_kwds_rule(p))  // invalid_lambda_kwds
  ------------------
  |  Branch (16256:13): [True: 0, False: 81.4k]
  ------------------
16257|  81.4k|        )
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|  81.4k|        p->mark = _mark;
16264|  81.4k|        D(fprintf(stderr, "%*c%s lambda_kwds[%d-%d]: %s failed!\n", p->level, ' ',
16265|  81.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_lambda_kwds"));
16266|  81.4k|    }
16267|   108k|    { // '**' lambda_param_no_default
16268|   108k|        if (p->error_indicator) {
  ------------------
  |  Branch (16268:13): [True: 0, False: 108k]
  ------------------
16269|      0|            p->level--;
16270|      0|            return NULL;
16271|      0|        }
16272|   108k|        D(fprintf(stderr, "%*c> lambda_kwds[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' lambda_param_no_default"));
16273|   108k|        Token * _literal;
16274|   108k|        arg_ty a;
16275|   108k|        if (
16276|   108k|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (16276:13): [True: 1, False: 108k]
  ------------------
16277|      1|            &&
16278|      1|            (a = lambda_param_no_default_rule(p))  // lambda_param_no_default
  ------------------
  |  Branch (16278:13): [True: 1, False: 0]
  ------------------
16279|   108k|        )
16280|      1|        {
16281|      1|            D(fprintf(stderr, "%*c+ lambda_kwds[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' lambda_param_no_default"));
16282|      1|            _res = a;
16283|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (16283:18): [True: 0, False: 1]
  |  Branch (16283:34): [True: 0, False: 1]
  |  Branch (16283:57): [True: 0, False: 0]
  ------------------
16284|      0|                p->error_indicator = 1;
16285|      0|                p->level--;
16286|      0|                return NULL;
16287|      0|            }
16288|      1|            goto done;
16289|      1|        }
16290|   108k|        p->mark = _mark;
16291|   108k|        D(fprintf(stderr, "%*c%s lambda_kwds[%d-%d]: %s failed!\n", p->level, ' ',
16292|   108k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' lambda_param_no_default"));
16293|   108k|    }
16294|   108k|    _res = NULL;
16295|   108k|  done:
16296|   108k|    p->level--;
16297|   108k|    return _res;
16298|   108k|}
parser.c:invalid_lambda_kwds_rule:
23942|  81.4k|{
23943|  81.4k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   162k|#  define MAXSTACK 6000
  ------------------
  |  Branch (23943:9): [True: 0, False: 81.4k]
  |  Branch (23943:35): [True: 0, False: 81.4k]
  ------------------
23944|      0|        _Pypegen_stack_overflow(p);
23945|      0|    }
23946|  81.4k|    if (p->error_indicator) {
  ------------------
  |  Branch (23946:9): [True: 0, False: 81.4k]
  ------------------
23947|      0|        p->level--;
23948|      0|        return NULL;
23949|      0|    }
23950|  81.4k|    void * _res = NULL;
23951|  81.4k|    int _mark = p->mark;
23952|  81.4k|    { // '**' lambda_param '='
23953|  81.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (23953:13): [True: 0, False: 81.4k]
  ------------------
23954|      0|            p->level--;
23955|      0|            return NULL;
23956|      0|        }
23957|  81.4k|        D(fprintf(stderr, "%*c> invalid_lambda_kwds[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' lambda_param '='"));
23958|  81.4k|        Token * _literal;
23959|  81.4k|        Token * a;
23960|  81.4k|        arg_ty lambda_param_var;
23961|  81.4k|        if (
23962|  81.4k|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (23962:13): [True: 0, False: 81.4k]
  ------------------
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|  81.4k|        )
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|  81.4k|        p->mark = _mark;
23979|  81.4k|        D(fprintf(stderr, "%*c%s invalid_lambda_kwds[%d-%d]: %s failed!\n", p->level, ' ',
23980|  81.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' lambda_param '='"));
23981|  81.4k|    }
23982|      0|    { // '**' lambda_param ',' lambda_param
23983|  81.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (23983:13): [True: 0, False: 81.4k]
  ------------------
23984|      0|            p->level--;
23985|      0|            return NULL;
23986|      0|        }
23987|  81.4k|        D(fprintf(stderr, "%*c> invalid_lambda_kwds[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' lambda_param ',' lambda_param"));
23988|  81.4k|        Token * _literal;
23989|  81.4k|        Token * _literal_1;
23990|  81.4k|        arg_ty a;
23991|  81.4k|        arg_ty lambda_param_var;
23992|  81.4k|        if (
23993|  81.4k|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (23993:13): [True: 0, False: 81.4k]
  ------------------
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|  81.4k|        )
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|  81.4k|        p->mark = _mark;
24012|  81.4k|        D(fprintf(stderr, "%*c%s invalid_lambda_kwds[%d-%d]: %s failed!\n", p->level, ' ',
24013|  81.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' lambda_param ',' lambda_param"));
24014|  81.4k|    }
24015|      0|    { // '**' lambda_param ',' ('*' | '**' | '/')
24016|  81.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (24016:13): [True: 0, False: 81.4k]
  ------------------
24017|      0|            p->level--;
24018|      0|            return NULL;
24019|      0|        }
24020|  81.4k|        D(fprintf(stderr, "%*c> invalid_lambda_kwds[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' lambda_param ',' ('*' | '**' | '/')"));
24021|  81.4k|        Token * _literal;
24022|  81.4k|        Token * _literal_1;
24023|  81.4k|        Token* a;
24024|  81.4k|        arg_ty lambda_param_var;
24025|  81.4k|        if (
24026|  81.4k|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (24026:13): [True: 0, False: 81.4k]
  ------------------
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|  81.4k|        )
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|  81.4k|        p->mark = _mark;
24045|  81.4k|        D(fprintf(stderr, "%*c%s invalid_lambda_kwds[%d-%d]: %s failed!\n", p->level, ' ',
24046|  81.4k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' lambda_param ',' ('*' | '**' | '/')"));
24047|  81.4k|    }
24048|  81.4k|    _res = NULL;
24049|  81.4k|  done:
24050|  81.4k|    p->level--;
24051|  81.4k|    return _res;
24052|  81.4k|}
parser.c:invalid_legacy_expression_rule:
21553|  54.3k|{
21554|  54.3k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   108k|#  define MAXSTACK 6000
  ------------------
  |  Branch (21554:9): [True: 0, False: 54.3k]
  |  Branch (21554:35): [True: 0, False: 54.3k]
  ------------------
21555|      0|        _Pypegen_stack_overflow(p);
21556|      0|    }
21557|  54.3k|    if (p->error_indicator) {
  ------------------
  |  Branch (21557:9): [True: 0, False: 54.3k]
  ------------------
21558|      0|        p->level--;
21559|      0|        return NULL;
21560|      0|    }
21561|  54.3k|    void * _res = NULL;
21562|  54.3k|    int _mark = p->mark;
21563|  54.3k|    { // NAME !'(' star_expressions
21564|  54.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (21564:13): [True: 0, False: 54.3k]
  ------------------
21565|      0|            p->level--;
21566|      0|            return NULL;
21567|      0|        }
21568|  54.3k|        D(fprintf(stderr, "%*c> invalid_legacy_expression[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME !'(' star_expressions"));
21569|  54.3k|        expr_ty a;
21570|  54.3k|        expr_ty b;
21571|  54.3k|        if (
21572|  54.3k|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (21572:13): [True: 0, False: 54.3k]
  ------------------
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|  54.3k|        )
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|  54.3k|        p->mark = _mark;
21589|  54.3k|        D(fprintf(stderr, "%*c%s invalid_legacy_expression[%d-%d]: %s failed!\n", p->level, ' ',
21590|  54.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME !'(' star_expressions"));
21591|  54.3k|    }
21592|  54.3k|    _res = NULL;
21593|  54.3k|  done:
21594|  54.3k|    p->level--;
21595|  54.3k|    return _res;
21596|  54.3k|}
parser.c:lambdef_rule:
15645|   119k|{
15646|   119k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   238k|#  define MAXSTACK 6000
  ------------------
  |  Branch (15646:9): [True: 0, False: 119k]
  |  Branch (15646:35): [True: 0, False: 119k]
  ------------------
15647|      0|        _Pypegen_stack_overflow(p);
15648|      0|    }
15649|   119k|    if (p->error_indicator) {
  ------------------
  |  Branch (15649:9): [True: 0, False: 119k]
  ------------------
15650|      0|        p->level--;
15651|      0|        return NULL;
15652|      0|    }
15653|   119k|    expr_ty _res = NULL;
15654|   119k|    int _mark = p->mark;
15655|   119k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (15655:9): [True: 0, False: 119k]
  |  Branch (15655:31): [True: 0, False: 0]
  ------------------
15656|      0|        p->error_indicator = 1;
15657|      0|        p->level--;
15658|      0|        return NULL;
15659|      0|    }
15660|   119k|    int _start_lineno = p->tokens[_mark]->lineno;
15661|   119k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|   119k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 119k]
  |  |  ------------------
  ------------------
15662|   119k|    int _start_col_offset = p->tokens[_mark]->col_offset;
15663|   119k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|   119k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 119k]
  |  |  ------------------
  ------------------
15664|   119k|    { // 'lambda' lambda_params? ':' expression
15665|   119k|        if (p->error_indicator) {
  ------------------
  |  Branch (15665:13): [True: 0, False: 119k]
  ------------------
15666|      0|            p->level--;
15667|      0|            return NULL;
15668|      0|        }
15669|   119k|        D(fprintf(stderr, "%*c> lambdef[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'lambda' lambda_params? ':' expression"));
15670|   119k|        Token * _keyword;
15671|   119k|        Token * _literal;
15672|   119k|        void *a;
15673|   119k|        expr_ty b;
15674|   119k|        if (
15675|   119k|            (_keyword = _PyPegen_expect_token(p, 622))  // token='lambda'
  ------------------
  |  Branch (15675:13): [True: 54.3k, False: 64.7k]
  ------------------
15676|  54.3k|            &&
15677|  54.3k|            (a = lambda_params_rule(p), !p->error_indicator)  // lambda_params?
  ------------------
  |  Branch (15677:13): [True: 54.3k, False: 0]
  ------------------
15678|  54.3k|            &&
15679|  54.3k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (15679:13): [True: 54.3k, False: 0]
  ------------------
15680|  54.3k|            &&
15681|  54.3k|            (b = expression_rule(p))  // expression
  ------------------
  |  Branch (15681:13): [True: 87, False: 54.3k]
  ------------------
15682|   119k|        )
15683|     87|        {
15684|     87|            D(fprintf(stderr, "%*c+ lambdef[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'lambda' lambda_params? ':' expression"));
15685|     87|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
15686|     87|            if (_token == NULL) {
  ------------------
  |  Branch (15686:17): [True: 0, False: 87]
  ------------------
15687|      0|                p->level--;
15688|      0|                return NULL;
15689|      0|            }
15690|     87|            int _end_lineno = _token->end_lineno;
15691|     87|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|     87|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 87]
  |  |  ------------------
  ------------------
15692|     87|            int _end_col_offset = _token->end_col_offset;
15693|     87|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|     87|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 87]
  |  |  ------------------
  ------------------
15694|     87|            _res = _PyAST_Lambda ( ( a ) ? a : CHECK ( arguments_ty , _PyPegen_empty_arguments ( p ) ) , b , EXTRA );
  ------------------
  |  |  233|    100|#define CHECK(type, result) ((type) CHECK_CALL(p, result))
  ------------------
                          _res = _PyAST_Lambda ( ( a ) ? a : CHECK ( arguments_ty , _PyPegen_empty_arguments ( p ) ) , b , EXTRA );
  ------------------
  |  |  269|     87|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
  |  Branch (15694:36): [True: 74, False: 13]
  ------------------
15695|     87|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (15695:18): [True: 0, False: 87]
  |  Branch (15695:34): [True: 0, False: 87]
  |  Branch (15695:57): [True: 0, False: 0]
  ------------------
15696|      0|                p->error_indicator = 1;
15697|      0|                p->level--;
15698|      0|                return NULL;
15699|      0|            }
15700|     87|            goto done;
15701|     87|        }
15702|   119k|        p->mark = _mark;
15703|   119k|        D(fprintf(stderr, "%*c%s lambdef[%d-%d]: %s failed!\n", p->level, ' ',
15704|   119k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'lambda' lambda_params? ':' expression"));
15705|   119k|    }
15706|   119k|    _res = NULL;
15707|   119k|  done:
15708|   119k|    p->level--;
15709|   119k|    return _res;
15710|   119k|}
parser.c:function_def_raw_rule:
 4640|  1.87k|{
 4641|  1.87k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  3.75k|#  define MAXSTACK 6000
  ------------------
  |  Branch (4641:9): [True: 0, False: 1.87k]
  |  Branch (4641:35): [True: 0, False: 1.87k]
  ------------------
 4642|      0|        _Pypegen_stack_overflow(p);
 4643|      0|    }
 4644|  1.87k|    if (p->error_indicator) {
  ------------------
  |  Branch (4644:9): [True: 0, False: 1.87k]
  ------------------
 4645|      0|        p->level--;
 4646|      0|        return NULL;
 4647|      0|    }
 4648|  1.87k|    stmt_ty _res = NULL;
 4649|  1.87k|    int _mark = p->mark;
 4650|  1.87k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (4650:9): [True: 0, False: 1.87k]
  |  Branch (4650:31): [True: 0, False: 0]
  ------------------
 4651|      0|        p->error_indicator = 1;
 4652|      0|        p->level--;
 4653|      0|        return NULL;
 4654|      0|    }
 4655|  1.87k|    int _start_lineno = p->tokens[_mark]->lineno;
 4656|  1.87k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|  1.87k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 1.87k]
  |  |  ------------------
  ------------------
 4657|  1.87k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 4658|  1.87k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|  1.87k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 1.87k]
  |  |  ------------------
  ------------------
 4659|  1.87k|    if (p->call_invalid_rules) { // invalid_def_raw
  ------------------
  |  Branch (4659:9): [True: 0, False: 1.87k]
  ------------------
 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|  1.87k|    { // 'def' NAME type_params? '(' params? ')' ['->' expression] ':' func_type_comment? block
 4679|  1.87k|        if (p->error_indicator) {
  ------------------
  |  Branch (4679:13): [True: 0, False: 1.87k]
  ------------------
 4680|      0|            p->level--;
 4681|      0|            return NULL;
 4682|      0|        }
 4683|  1.87k|        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|  1.87k|        Token * _keyword;
 4685|  1.87k|        Token * _literal;
 4686|  1.87k|        Token * _literal_1;
 4687|  1.87k|        Token * _literal_2;
 4688|  1.87k|        void *a;
 4689|  1.87k|        asdl_stmt_seq* b;
 4690|  1.87k|        expr_ty n;
 4691|  1.87k|        void *params;
 4692|  1.87k|        void *t;
 4693|  1.87k|        void *tc;
 4694|  1.87k|        if (
 4695|  1.87k|            (_keyword = _PyPegen_expect_token(p, 715))  // token='def'
  ------------------
  |  Branch (4695:13): [True: 1.73k, False: 144]
  ------------------
 4696|  1.73k|            &&
 4697|  1.73k|            (n = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (4697:13): [True: 1.73k, False: 0]
  ------------------
 4698|  1.73k|            &&
 4699|  1.73k|            (t = type_params_rule(p), !p->error_indicator)  // type_params?
  ------------------
  |  Branch (4699:13): [True: 1.73k, False: 0]
  ------------------
 4700|  1.73k|            &&
 4701|  1.73k|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (4701:13): [True: 1.73k, False: 0]
  ------------------
 4702|  1.73k|            &&
 4703|  1.73k|            (params = params_rule(p), !p->error_indicator)  // params?
  ------------------
  |  Branch (4703:13): [True: 1.73k, False: 0]
  ------------------
 4704|  1.73k|            &&
 4705|  1.73k|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (4705:13): [True: 1.73k, False: 0]
  ------------------
 4706|  1.73k|            &&
 4707|  1.73k|            (a = _tmp_26_rule(p), !p->error_indicator)  // ['->' expression]
  ------------------
  |  Branch (4707:13): [True: 1.73k, False: 0]
  ------------------
 4708|  1.73k|            &&
 4709|  1.73k|            (_literal_2 = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (4709:13): [True: 1.73k, False: 0]
  ------------------
 4710|  1.73k|            &&
 4711|  1.73k|            (tc = func_type_comment_rule(p), !p->error_indicator)  // func_type_comment?
  ------------------
  |  Branch (4711:13): [True: 1.73k, False: 0]
  ------------------
 4712|  1.73k|            &&
 4713|  1.73k|            (b = block_rule(p))  // block
  ------------------
  |  Branch (4713:13): [True: 1.73k, False: 0]
  ------------------
 4714|  1.87k|        )
 4715|  1.73k|        {
 4716|  1.73k|            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|  1.73k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 4718|  1.73k|            if (_token == NULL) {
  ------------------
  |  Branch (4718:17): [True: 0, False: 1.73k]
  ------------------
 4719|      0|                p->level--;
 4720|      0|                return NULL;
 4721|      0|            }
 4722|  1.73k|            int _end_lineno = _token->end_lineno;
 4723|  1.73k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|  1.73k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 1.73k]
  |  |  ------------------
  ------------------
 4724|  1.73k|            int _end_col_offset = _token->end_col_offset;
 4725|  1.73k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|  1.73k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 1.73k]
  |  |  ------------------
  ------------------
 4726|  1.73k|            _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|  1.78k|#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|  1.73k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
  |  Branch (4726:62): [True: 1.68k, False: 49]
  ------------------
 4727|  1.73k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4727:18): [True: 0, False: 1.73k]
  |  Branch (4727:34): [True: 0, False: 1.73k]
  |  Branch (4727:57): [True: 0, False: 0]
  ------------------
 4728|      0|                p->error_indicator = 1;
 4729|      0|                p->level--;
 4730|      0|                return NULL;
 4731|      0|            }
 4732|  1.73k|            goto done;
 4733|  1.73k|        }
 4734|    144|        p->mark = _mark;
 4735|    144|        D(fprintf(stderr, "%*c%s function_def_raw[%d-%d]: %s failed!\n", p->level, ' ',
 4736|    144|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'def' NAME type_params? '(' params? ')' ['->' expression] ':' func_type_comment? block"));
 4737|    144|    }
 4738|      0|    { // 'async' 'def' NAME type_params? '(' params? ')' ['->' expression] ':' func_type_comment? block
 4739|    144|        if (p->error_indicator) {
  ------------------
  |  Branch (4739:13): [True: 0, False: 144]
  ------------------
 4740|      0|            p->level--;
 4741|      0|            return NULL;
 4742|      0|        }
 4743|    144|        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|    144|        Token * _keyword;
 4745|    144|        Token * _keyword_1;
 4746|    144|        Token * _literal;
 4747|    144|        Token * _literal_1;
 4748|    144|        Token * _literal_2;
 4749|    144|        void *a;
 4750|    144|        asdl_stmt_seq* b;
 4751|    144|        expr_ty n;
 4752|    144|        void *params;
 4753|    144|        void *t;
 4754|    144|        void *tc;
 4755|    144|        if (
 4756|    144|            (_keyword = _PyPegen_expect_token(p, 714))  // token='async'
  ------------------
  |  Branch (4756:13): [True: 140, False: 4]
  ------------------
 4757|    140|            &&
 4758|    140|            (_keyword_1 = _PyPegen_expect_token(p, 715))  // token='def'
  ------------------
  |  Branch (4758:13): [True: 135, False: 5]
  ------------------
 4759|    135|            &&
 4760|    135|            (n = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (4760:13): [True: 135, False: 0]
  ------------------
 4761|    135|            &&
 4762|    135|            (t = type_params_rule(p), !p->error_indicator)  // type_params?
  ------------------
  |  Branch (4762:13): [True: 135, False: 0]
  ------------------
 4763|    135|            &&
 4764|    135|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (4764:13): [True: 135, False: 0]
  ------------------
 4765|    135|            &&
 4766|    135|            (params = params_rule(p), !p->error_indicator)  // params?
  ------------------
  |  Branch (4766:13): [True: 135, False: 0]
  ------------------
 4767|    135|            &&
 4768|    135|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (4768:13): [True: 135, False: 0]
  ------------------
 4769|    135|            &&
 4770|    135|            (a = _tmp_26_rule(p), !p->error_indicator)  // ['->' expression]
  ------------------
  |  Branch (4770:13): [True: 135, False: 0]
  ------------------
 4771|    135|            &&
 4772|    135|            (_literal_2 = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (4772:13): [True: 135, False: 0]
  ------------------
 4773|    135|            &&
 4774|    135|            (tc = func_type_comment_rule(p), !p->error_indicator)  // func_type_comment?
  ------------------
  |  Branch (4774:13): [True: 135, False: 0]
  ------------------
 4775|    135|            &&
 4776|    135|            (b = block_rule(p))  // block
  ------------------
  |  Branch (4776:13): [True: 135, False: 0]
  ------------------
 4777|    144|        )
 4778|    135|        {
 4779|    135|            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|    135|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 4781|    135|            if (_token == NULL) {
  ------------------
  |  Branch (4781:17): [True: 0, False: 135]
  ------------------
 4782|      0|                p->level--;
 4783|      0|                return NULL;
 4784|      0|            }
 4785|    135|            int _end_lineno = _token->end_lineno;
 4786|    135|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    135|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 135]
  |  |  ------------------
  ------------------
 4787|    135|            int _end_col_offset = _token->end_col_offset;
 4788|    135|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    135|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 135]
  |  |  ------------------
  ------------------
 4789|    135|            _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|    270|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  |  |  ------------------
  |  |  |  Branch (307:96): [True: 135, False: 0]
  |  |  ------------------
  ------------------
 4790|    135|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4790:18): [True: 0, False: 135]
  |  Branch (4790:34): [True: 0, False: 135]
  |  Branch (4790:57): [True: 0, False: 0]
  ------------------
 4791|      0|                p->error_indicator = 1;
 4792|      0|                p->level--;
 4793|      0|                return NULL;
 4794|      0|            }
 4795|    135|            goto done;
 4796|    135|        }
 4797|      9|        p->mark = _mark;
 4798|      9|        D(fprintf(stderr, "%*c%s function_def_raw[%d-%d]: %s failed!\n", p->level, ' ',
 4799|      9|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'async' 'def' NAME type_params? '(' params? ')' ['->' expression] ':' func_type_comment? block"));
 4800|      9|    }
 4801|      9|    _res = NULL;
 4802|  1.87k|  done:
 4803|  1.87k|    p->level--;
 4804|  1.87k|    return _res;
 4805|      9|}
parser.c:params_rule:
 4810|  1.86k|{
 4811|  1.86k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  3.73k|#  define MAXSTACK 6000
  ------------------
  |  Branch (4811:9): [True: 0, False: 1.86k]
  |  Branch (4811:35): [True: 0, False: 1.86k]
  ------------------
 4812|      0|        _Pypegen_stack_overflow(p);
 4813|      0|    }
 4814|  1.86k|    if (p->error_indicator) {
  ------------------
  |  Branch (4814:9): [True: 0, False: 1.86k]
  ------------------
 4815|      0|        p->level--;
 4816|      0|        return NULL;
 4817|      0|    }
 4818|  1.86k|    arguments_ty _res = NULL;
 4819|  1.86k|    int _mark = p->mark;
 4820|  1.86k|    if (p->call_invalid_rules) { // invalid_parameters
  ------------------
  |  Branch (4820:9): [True: 0, False: 1.86k]
  ------------------
 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|  1.86k|    { // parameters
 4840|  1.86k|        if (p->error_indicator) {
  ------------------
  |  Branch (4840:13): [True: 0, False: 1.86k]
  ------------------
 4841|      0|            p->level--;
 4842|      0|            return NULL;
 4843|      0|        }
 4844|  1.86k|        D(fprintf(stderr, "%*c> params[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "parameters"));
 4845|  1.86k|        arguments_ty parameters_var;
 4846|  1.86k|        if (
 4847|  1.86k|            (parameters_var = parameters_rule(p))  // parameters
  ------------------
  |  Branch (4847:13): [True: 1.81k, False: 49]
  ------------------
 4848|  1.86k|        )
 4849|  1.81k|        {
 4850|  1.81k|            D(fprintf(stderr, "%*c+ params[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "parameters"));
 4851|  1.81k|            _res = parameters_var;
 4852|  1.81k|            goto done;
 4853|  1.81k|        }
 4854|     49|        p->mark = _mark;
 4855|     49|        D(fprintf(stderr, "%*c%s params[%d-%d]: %s failed!\n", p->level, ' ',
 4856|     49|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "parameters"));
 4857|     49|    }
 4858|     49|    _res = NULL;
 4859|  1.86k|  done:
 4860|  1.86k|    p->level--;
 4861|  1.86k|    return _res;
 4862|     49|}
parser.c:slash_with_default_rule:
 5115|  1.82k|{
 5116|  1.82k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  3.65k|#  define MAXSTACK 6000
  ------------------
  |  Branch (5116:9): [True: 0, False: 1.82k]
  |  Branch (5116:35): [True: 0, False: 1.82k]
  ------------------
 5117|      0|        _Pypegen_stack_overflow(p);
 5118|      0|    }
 5119|  1.82k|    if (p->error_indicator) {
  ------------------
  |  Branch (5119:9): [True: 0, False: 1.82k]
  ------------------
 5120|      0|        p->level--;
 5121|      0|        return NULL;
 5122|      0|    }
 5123|  1.82k|    SlashWithDefault* _res = NULL;
 5124|  1.82k|    int _mark = p->mark;
 5125|  1.82k|    { // param_no_default* param_with_default+ '/' ','
 5126|  1.82k|        if (p->error_indicator) {
  ------------------
  |  Branch (5126:13): [True: 0, False: 1.82k]
  ------------------
 5127|      0|            p->level--;
 5128|      0|            return NULL;
 5129|      0|        }
 5130|  1.82k|        D(fprintf(stderr, "%*c> slash_with_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_no_default* param_with_default+ '/' ','"));
 5131|  1.82k|        Token * _literal;
 5132|  1.82k|        Token * _literal_1;
 5133|  1.82k|        asdl_seq * a;
 5134|  1.82k|        asdl_seq * b;
 5135|  1.82k|        if (
 5136|  1.82k|            (a = _loop0_27_rule(p))  // param_no_default*
  ------------------
  |  Branch (5136:13): [True: 1.82k, False: 0]
  ------------------
 5137|  1.82k|            &&
 5138|  1.82k|            (b = _loop1_30_rule(p))  // param_with_default+
  ------------------
  |  Branch (5138:13): [True: 262, False: 1.56k]
  ------------------
 5139|    262|            &&
 5140|    262|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (5140:13): [True: 3, False: 259]
  ------------------
 5141|      3|            &&
 5142|      3|            (_literal_1 = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (5142:13): [True: 3, False: 0]
  ------------------
 5143|  1.82k|        )
 5144|      3|        {
 5145|      3|            D(fprintf(stderr, "%*c+ slash_with_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param_no_default* param_with_default+ '/' ','"));
 5146|      3|            _res = _PyPegen_slash_with_default ( p , ( asdl_arg_seq* ) a , b );
 5147|      3|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5147:18): [True: 0, False: 3]
  |  Branch (5147:34): [True: 0, False: 3]
  |  Branch (5147:57): [True: 0, False: 0]
  ------------------
 5148|      0|                p->error_indicator = 1;
 5149|      0|                p->level--;
 5150|      0|                return NULL;
 5151|      0|            }
 5152|      3|            goto done;
 5153|      3|        }
 5154|  1.82k|        p->mark = _mark;
 5155|  1.82k|        D(fprintf(stderr, "%*c%s slash_with_default[%d-%d]: %s failed!\n", p->level, ' ',
 5156|  1.82k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_no_default* param_with_default+ '/' ','"));
 5157|  1.82k|    }
 5158|      0|    { // param_no_default* param_with_default+ '/' &')'
 5159|  1.82k|        if (p->error_indicator) {
  ------------------
  |  Branch (5159:13): [True: 0, False: 1.82k]
  ------------------
 5160|      0|            p->level--;
 5161|      0|            return NULL;
 5162|      0|        }
 5163|  1.82k|        D(fprintf(stderr, "%*c> slash_with_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_no_default* param_with_default+ '/' &')'"));
 5164|  1.82k|        Token * _literal;
 5165|  1.82k|        asdl_seq * a;
 5166|  1.82k|        asdl_seq * b;
 5167|  1.82k|        if (
 5168|  1.82k|            (a = _loop0_27_rule(p))  // param_no_default*
  ------------------
  |  Branch (5168:13): [True: 1.82k, False: 0]
  ------------------
 5169|  1.82k|            &&
 5170|  1.82k|            (b = _loop1_30_rule(p))  // param_with_default+
  ------------------
  |  Branch (5170:13): [True: 259, False: 1.56k]
  ------------------
 5171|    259|            &&
 5172|    259|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (5172:13): [True: 0, False: 259]
  ------------------
 5173|      0|            &&
 5174|      0|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 8)  // token=')'
  ------------------
  |  Branch (5174:13): [True: 0, False: 0]
  ------------------
 5175|  1.82k|        )
 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|  1.82k|        p->mark = _mark;
 5187|  1.82k|        D(fprintf(stderr, "%*c%s slash_with_default[%d-%d]: %s failed!\n", p->level, ' ',
 5188|  1.82k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_no_default* param_with_default+ '/' &')'"));
 5189|  1.82k|    }
 5190|  1.82k|    _res = NULL;
 5191|  1.82k|  done:
 5192|  1.82k|    p->level--;
 5193|  1.82k|    return _res;
 5194|  1.82k|}
parser.c:_loop1_30_rule:
30217|  3.77k|{
30218|  3.77k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  7.55k|#  define MAXSTACK 6000
  ------------------
  |  Branch (30218:9): [True: 0, False: 3.77k]
  |  Branch (30218:35): [True: 0, False: 3.77k]
  ------------------
30219|      0|        _Pypegen_stack_overflow(p);
30220|      0|    }
30221|  3.77k|    if (p->error_indicator) {
  ------------------
  |  Branch (30221:9): [True: 0, False: 3.77k]
  ------------------
30222|      0|        p->level--;
30223|      0|        return NULL;
30224|      0|    }
30225|  3.77k|    void *_res = NULL;
30226|  3.77k|    int _mark = p->mark;
30227|  3.77k|    void **_children = PyMem_Malloc(sizeof(void *));
30228|  3.77k|    if (!_children) {
  ------------------
  |  Branch (30228:9): [True: 0, False: 3.77k]
  ------------------
30229|      0|        p->error_indicator = 1;
30230|      0|        PyErr_NoMemory();
30231|      0|        p->level--;
30232|      0|        return NULL;
30233|      0|    }
30234|  3.77k|    Py_ssize_t _children_capacity = 1;
30235|  3.77k|    Py_ssize_t _n = 0;
30236|  3.77k|    { // param_with_default
30237|  3.77k|        if (p->error_indicator) {
  ------------------
  |  Branch (30237:13): [True: 0, False: 3.77k]
  ------------------
30238|      0|            p->level--;
30239|      0|            return NULL;
30240|      0|        }
30241|  3.77k|        D(fprintf(stderr, "%*c> _loop1_30[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_with_default"));
30242|  3.77k|        NameDefaultPair* param_with_default_var;
30243|  3.77k|        while (
30244|  4.83k|            (param_with_default_var = param_with_default_rule(p))  // param_with_default
  ------------------
  |  Branch (30244:13): [True: 1.05k, False: 3.77k]
  ------------------
30245|  3.77k|        )
30246|  1.05k|        {
30247|  1.05k|            _res = param_with_default_var;
30248|  1.05k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (30248:17): [True: 381, False: 676]
  ------------------
30249|    381|                _children_capacity *= 2;
30250|    381|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
30251|    381|                if (!_new_children) {
  ------------------
  |  Branch (30251:21): [True: 0, False: 381]
  ------------------
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|    381|                _children = _new_children;
30259|    381|            }
30260|  1.05k|            _children[_n++] = _res;
30261|  1.05k|            _mark = p->mark;
30262|  1.05k|        }
30263|  3.77k|        p->mark = _mark;
30264|  3.77k|        D(fprintf(stderr, "%*c%s _loop1_30[%d-%d]: %s failed!\n", p->level, ' ',
30265|  3.77k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_with_default"));
30266|  3.77k|    }
30267|  3.77k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (30267:9): [True: 3.23k, False: 546]
  |  Branch (30267:20): [True: 0, False: 546]
  ------------------
30268|  3.23k|        PyMem_Free(_children);
30269|  3.23k|        p->level--;
30270|  3.23k|        return NULL;
30271|  3.23k|    }
30272|    546|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
30273|    546|    if (!_seq) {
  ------------------
  |  Branch (30273:9): [True: 0, False: 546]
  ------------------
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|  1.60k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  1.05k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  1.60k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (30280:28): [True: 1.05k, False: 546]
  ------------------
30281|    546|    PyMem_Free(_children);
30282|    546|    p->level--;
30283|    546|    return _seq;
30284|    546|}
parser.c:param_with_default_rule:
 5588|  7.04k|{
 5589|  7.04k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  14.0k|#  define MAXSTACK 6000
  ------------------
  |  Branch (5589:9): [True: 0, False: 7.04k]
  |  Branch (5589:35): [True: 0, False: 7.04k]
  ------------------
 5590|      0|        _Pypegen_stack_overflow(p);
 5591|      0|    }
 5592|  7.04k|    if (p->error_indicator) {
  ------------------
  |  Branch (5592:9): [True: 0, False: 7.04k]
  ------------------
 5593|      0|        p->level--;
 5594|      0|        return NULL;
 5595|      0|    }
 5596|  7.04k|    NameDefaultPair* _res = NULL;
 5597|  7.04k|    int _mark = p->mark;
 5598|  7.04k|    { // param default ',' TYPE_COMMENT?
 5599|  7.04k|        if (p->error_indicator) {
  ------------------
  |  Branch (5599:13): [True: 0, False: 7.04k]
  ------------------
 5600|      0|            p->level--;
 5601|      0|            return NULL;
 5602|      0|        }
 5603|  7.04k|        D(fprintf(stderr, "%*c> param_with_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param default ',' TYPE_COMMENT?"));
 5604|  7.04k|        Token * _literal;
 5605|  7.04k|        arg_ty a;
 5606|  7.04k|        expr_ty c;
 5607|  7.04k|        void *tc;
 5608|  7.04k|        if (
 5609|  7.04k|            (a = param_rule(p))  // param
  ------------------
  |  Branch (5609:13): [True: 1.51k, False: 5.52k]
  ------------------
 5610|  1.51k|            &&
 5611|  1.51k|            (c = default_rule(p))  // default
  ------------------
  |  Branch (5611:13): [True: 1.51k, False: 0]
  ------------------
 5612|  1.51k|            &&
 5613|  1.51k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (5613:13): [True: 909, False: 609]
  ------------------
 5614|    909|            &&
 5615|    909|            (tc = _PyPegen_expect_token(p, TYPE_COMMENT), !p->error_indicator)  // TYPE_COMMENT?
  ------------------
  |  |   73|    909|#define TYPE_COMMENT    57
  ------------------
  |  Branch (5615:13): [True: 909, False: 0]
  ------------------
 5616|  7.04k|        )
 5617|    909|        {
 5618|    909|            D(fprintf(stderr, "%*c+ param_with_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param default ',' TYPE_COMMENT?"));
 5619|    909|            _res = _PyPegen_name_default_pair ( p , a , c , tc );
 5620|    909|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5620:18): [True: 0, False: 909]
  |  Branch (5620:34): [True: 0, False: 909]
  |  Branch (5620:57): [True: 0, False: 0]
  ------------------
 5621|      0|                p->error_indicator = 1;
 5622|      0|                p->level--;
 5623|      0|                return NULL;
 5624|      0|            }
 5625|    909|            goto done;
 5626|    909|        }
 5627|  6.13k|        p->mark = _mark;
 5628|  6.13k|        D(fprintf(stderr, "%*c%s param_with_default[%d-%d]: %s failed!\n", p->level, ' ',
 5629|  6.13k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param default ',' TYPE_COMMENT?"));
 5630|  6.13k|    }
 5631|      0|    { // param default TYPE_COMMENT? &')'
 5632|  6.13k|        if (p->error_indicator) {
  ------------------
  |  Branch (5632:13): [True: 0, False: 6.13k]
  ------------------
 5633|      0|            p->level--;
 5634|      0|            return NULL;
 5635|      0|        }
 5636|  6.13k|        D(fprintf(stderr, "%*c> param_with_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param default TYPE_COMMENT? &')'"));
 5637|  6.13k|        arg_ty a;
 5638|  6.13k|        expr_ty c;
 5639|  6.13k|        void *tc;
 5640|  6.13k|        if (
 5641|  6.13k|            (a = param_rule(p))  // param
  ------------------
  |  Branch (5641:13): [True: 609, False: 5.52k]
  ------------------
 5642|    609|            &&
 5643|    609|            (c = default_rule(p))  // default
  ------------------
  |  Branch (5643:13): [True: 609, False: 0]
  ------------------
 5644|    609|            &&
 5645|    609|            (tc = _PyPegen_expect_token(p, TYPE_COMMENT), !p->error_indicator)  // TYPE_COMMENT?
  ------------------
  |  |   73|    609|#define TYPE_COMMENT    57
  ------------------
  |  Branch (5645:13): [True: 609, False: 0]
  ------------------
 5646|    609|            &&
 5647|    609|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 8)  // token=')'
  ------------------
  |  Branch (5647:13): [True: 609, False: 0]
  ------------------
 5648|  6.13k|        )
 5649|    609|        {
 5650|    609|            D(fprintf(stderr, "%*c+ param_with_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param default TYPE_COMMENT? &')'"));
 5651|    609|            _res = _PyPegen_name_default_pair ( p , a , c , tc );
 5652|    609|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5652:18): [True: 0, False: 609]
  |  Branch (5652:34): [True: 0, False: 609]
  |  Branch (5652:57): [True: 0, False: 0]
  ------------------
 5653|      0|                p->error_indicator = 1;
 5654|      0|                p->level--;
 5655|      0|                return NULL;
 5656|      0|            }
 5657|    609|            goto done;
 5658|    609|        }
 5659|  5.52k|        p->mark = _mark;
 5660|  5.52k|        D(fprintf(stderr, "%*c%s param_with_default[%d-%d]: %s failed!\n", p->level, ' ',
 5661|  5.52k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param default TYPE_COMMENT? &')'"));
 5662|  5.52k|    }
 5663|  5.52k|    _res = NULL;
 5664|  7.04k|  done:
 5665|  7.04k|    p->level--;
 5666|  7.04k|    return _res;
 5667|  5.52k|}
parser.c:param_rule:
 5758|  56.9k|{
 5759|  56.9k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   113k|#  define MAXSTACK 6000
  ------------------
  |  Branch (5759:9): [True: 0, False: 56.9k]
  |  Branch (5759:35): [True: 0, False: 56.9k]
  ------------------
 5760|      0|        _Pypegen_stack_overflow(p);
 5761|      0|    }
 5762|  56.9k|    if (p->error_indicator) {
  ------------------
  |  Branch (5762:9): [True: 0, False: 56.9k]
  ------------------
 5763|      0|        p->level--;
 5764|      0|        return NULL;
 5765|      0|    }
 5766|  56.9k|    arg_ty _res = NULL;
 5767|  56.9k|    int _mark = p->mark;
 5768|  56.9k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (5768:9): [True: 2.35k, False: 54.5k]
  |  Branch (5768:31): [True: 0, False: 2.35k]
  ------------------
 5769|      0|        p->error_indicator = 1;
 5770|      0|        p->level--;
 5771|      0|        return NULL;
 5772|      0|    }
 5773|  56.9k|    int _start_lineno = p->tokens[_mark]->lineno;
 5774|  56.9k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|  56.9k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 56.9k]
  |  |  ------------------
  ------------------
 5775|  56.9k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 5776|  56.9k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|  56.9k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 56.9k]
  |  |  ------------------
  ------------------
 5777|  56.9k|    { // NAME annotation?
 5778|  56.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (5778:13): [True: 0, False: 56.9k]
  ------------------
 5779|      0|            p->level--;
 5780|      0|            return NULL;
 5781|      0|        }
 5782|  56.9k|        D(fprintf(stderr, "%*c> param[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME annotation?"));
 5783|  56.9k|        expr_ty a;
 5784|  56.9k|        void *b;
 5785|  56.9k|        if (
 5786|  56.9k|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (5786:13): [True: 29.3k, False: 27.5k]
  ------------------
 5787|  29.3k|            &&
 5788|  29.3k|            (b = annotation_rule(p), !p->error_indicator)  // annotation?
  ------------------
  |  Branch (5788:13): [True: 29.3k, False: 0]
  ------------------
 5789|  56.9k|        )
 5790|  29.3k|        {
 5791|  29.3k|            D(fprintf(stderr, "%*c+ param[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NAME annotation?"));
 5792|  29.3k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 5793|  29.3k|            if (_token == NULL) {
  ------------------
  |  Branch (5793:17): [True: 0, False: 29.3k]
  ------------------
 5794|      0|                p->level--;
 5795|      0|                return NULL;
 5796|      0|            }
 5797|  29.3k|            int _end_lineno = _token->end_lineno;
 5798|  29.3k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|  29.3k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 29.3k]
  |  |  ------------------
  ------------------
 5799|  29.3k|            int _end_col_offset = _token->end_col_offset;
 5800|  29.3k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|  29.3k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 29.3k]
  |  |  ------------------
  ------------------
 5801|  29.3k|            _res = _PyAST_arg ( a -> v . Name . id , b , NULL , EXTRA );
  ------------------
  |  |  269|  29.3k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 5802|  29.3k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5802:18): [True: 0, False: 29.3k]
  |  Branch (5802:34): [True: 0, False: 29.3k]
  |  Branch (5802:57): [True: 0, False: 0]
  ------------------
 5803|      0|                p->error_indicator = 1;
 5804|      0|                p->level--;
 5805|      0|                return NULL;
 5806|      0|            }
 5807|  29.3k|            goto done;
 5808|  29.3k|        }
 5809|  27.5k|        p->mark = _mark;
 5810|  27.5k|        D(fprintf(stderr, "%*c%s param[%d-%d]: %s failed!\n", p->level, ' ',
 5811|  27.5k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME annotation?"));
 5812|  27.5k|    }
 5813|  27.5k|    _res = NULL;
 5814|  56.9k|  done:
 5815|  56.9k|    p->level--;
 5816|  56.9k|    return _res;
 5817|  27.5k|}
parser.c:annotation_rule:
 5886|  29.3k|{
 5887|  29.3k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  58.6k|#  define MAXSTACK 6000
  ------------------
  |  Branch (5887:9): [True: 0, False: 29.3k]
  |  Branch (5887:35): [True: 0, False: 29.3k]
  ------------------
 5888|      0|        _Pypegen_stack_overflow(p);
 5889|      0|    }
 5890|  29.3k|    if (p->error_indicator) {
  ------------------
  |  Branch (5890:9): [True: 0, False: 29.3k]
  ------------------
 5891|      0|        p->level--;
 5892|      0|        return NULL;
 5893|      0|    }
 5894|  29.3k|    expr_ty _res = NULL;
 5895|  29.3k|    int _mark = p->mark;
 5896|  29.3k|    { // ':' expression
 5897|  29.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (5897:13): [True: 0, False: 29.3k]
  ------------------
 5898|      0|            p->level--;
 5899|      0|            return NULL;
 5900|      0|        }
 5901|  29.3k|        D(fprintf(stderr, "%*c> annotation[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "':' expression"));
 5902|  29.3k|        Token * _literal;
 5903|  29.3k|        expr_ty a;
 5904|  29.3k|        if (
 5905|  29.3k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (5905:13): [True: 229, False: 29.1k]
  ------------------
 5906|    229|            &&
 5907|    229|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (5907:13): [True: 229, False: 0]
  ------------------
 5908|  29.3k|        )
 5909|    229|        {
 5910|    229|            D(fprintf(stderr, "%*c+ annotation[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "':' expression"));
 5911|    229|            _res = a;
 5912|    229|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5912:18): [True: 0, False: 229]
  |  Branch (5912:34): [True: 0, False: 229]
  |  Branch (5912:57): [True: 0, False: 0]
  ------------------
 5913|      0|                p->error_indicator = 1;
 5914|      0|                p->level--;
 5915|      0|                return NULL;
 5916|      0|            }
 5917|    229|            goto done;
 5918|    229|        }
 5919|  29.1k|        p->mark = _mark;
 5920|  29.1k|        D(fprintf(stderr, "%*c%s annotation[%d-%d]: %s failed!\n", p->level, ' ',
 5921|  29.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "':' expression"));
 5922|  29.1k|    }
 5923|  29.1k|    _res = NULL;
 5924|  29.3k|  done:
 5925|  29.3k|    p->level--;
 5926|  29.3k|    return _res;
 5927|  29.1k|}
parser.c:_loop0_31_rule:
30289|    106|{
30290|    106|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    212|#  define MAXSTACK 6000
  ------------------
  |  Branch (30290:9): [True: 0, False: 106]
  |  Branch (30290:35): [True: 0, False: 106]
  ------------------
30291|      0|        _Pypegen_stack_overflow(p);
30292|      0|    }
30293|    106|    if (p->error_indicator) {
  ------------------
  |  Branch (30293:9): [True: 0, False: 106]
  ------------------
30294|      0|        p->level--;
30295|      0|        return NULL;
30296|      0|    }
30297|    106|    void *_res = NULL;
30298|    106|    int _mark = p->mark;
30299|    106|    void **_children = PyMem_Malloc(sizeof(void *));
30300|    106|    if (!_children) {
  ------------------
  |  Branch (30300:9): [True: 0, False: 106]
  ------------------
30301|      0|        p->error_indicator = 1;
30302|      0|        PyErr_NoMemory();
30303|      0|        p->level--;
30304|      0|        return NULL;
30305|      0|    }
30306|    106|    Py_ssize_t _children_capacity = 1;
30307|    106|    Py_ssize_t _n = 0;
30308|    106|    { // param_maybe_default
30309|    106|        if (p->error_indicator) {
  ------------------
  |  Branch (30309:13): [True: 0, False: 106]
  ------------------
30310|      0|            p->level--;
30311|      0|            return NULL;
30312|      0|        }
30313|    106|        D(fprintf(stderr, "%*c> _loop0_31[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_maybe_default"));
30314|    106|        NameDefaultPair* param_maybe_default_var;
30315|    106|        while (
30316|    139|            (param_maybe_default_var = param_maybe_default_rule(p))  // param_maybe_default
  ------------------
  |  Branch (30316:13): [True: 33, False: 106]
  ------------------
30317|    106|        )
30318|     33|        {
30319|     33|            _res = param_maybe_default_var;
30320|     33|            if (_n == _children_capacity) {
  ------------------
  |  Branch (30320:17): [True: 10, False: 23]
  ------------------
30321|     10|                _children_capacity *= 2;
30322|     10|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
30323|     10|                if (!_new_children) {
  ------------------
  |  Branch (30323:21): [True: 0, False: 10]
  ------------------
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|     10|                _children = _new_children;
30331|     10|            }
30332|     33|            _children[_n++] = _res;
30333|     33|            _mark = p->mark;
30334|     33|        }
30335|    106|        p->mark = _mark;
30336|    106|        D(fprintf(stderr, "%*c%s _loop0_31[%d-%d]: %s failed!\n", p->level, ' ',
30337|    106|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_maybe_default"));
30338|    106|    }
30339|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
30340|    106|    if (!_seq) {
  ------------------
  |  Branch (30340:9): [True: 0, False: 106]
  ------------------
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|    139|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|     33|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|    139|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (30347:28): [True: 33, False: 106]
  ------------------
30348|    106|    PyMem_Free(_children);
30349|    106|    p->level--;
30350|    106|    return _seq;
30351|    106|}
parser.c:param_maybe_default_rule:
 5674|    603|{
 5675|    603|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.20k|#  define MAXSTACK 6000
  ------------------
  |  Branch (5675:9): [True: 0, False: 603]
  |  Branch (5675:35): [True: 0, False: 603]
  ------------------
 5676|      0|        _Pypegen_stack_overflow(p);
 5677|      0|    }
 5678|    603|    if (p->error_indicator) {
  ------------------
  |  Branch (5678:9): [True: 0, False: 603]
  ------------------
 5679|      0|        p->level--;
 5680|      0|        return NULL;
 5681|      0|    }
 5682|    603|    NameDefaultPair* _res = NULL;
 5683|    603|    int _mark = p->mark;
 5684|    603|    { // param default? ',' TYPE_COMMENT?
 5685|    603|        if (p->error_indicator) {
  ------------------
  |  Branch (5685:13): [True: 0, False: 603]
  ------------------
 5686|      0|            p->level--;
 5687|      0|            return NULL;
 5688|      0|        }
 5689|    603|        D(fprintf(stderr, "%*c> param_maybe_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param default? ',' TYPE_COMMENT?"));
 5690|    603|        Token * _literal;
 5691|    603|        arg_ty a;
 5692|    603|        void *c;
 5693|    603|        void *tc;
 5694|    603|        if (
 5695|    603|            (a = param_rule(p))  // param
  ------------------
  |  Branch (5695:13): [True: 377, False: 226]
  ------------------
 5696|    377|            &&
 5697|    377|            (c = default_rule(p), !p->error_indicator)  // default?
  ------------------
  |  Branch (5697:13): [True: 377, False: 0]
  ------------------
 5698|    377|            &&
 5699|    377|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (5699:13): [True: 263, False: 114]
  ------------------
 5700|    263|            &&
 5701|    263|            (tc = _PyPegen_expect_token(p, TYPE_COMMENT), !p->error_indicator)  // TYPE_COMMENT?
  ------------------
  |  |   73|    263|#define TYPE_COMMENT    57
  ------------------
  |  Branch (5701:13): [True: 263, False: 0]
  ------------------
 5702|    603|        )
 5703|    263|        {
 5704|    263|            D(fprintf(stderr, "%*c+ param_maybe_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param default? ',' TYPE_COMMENT?"));
 5705|    263|            _res = _PyPegen_name_default_pair ( p , a , c , tc );
 5706|    263|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5706:18): [True: 0, False: 263]
  |  Branch (5706:34): [True: 0, False: 263]
  |  Branch (5706:57): [True: 0, False: 0]
  ------------------
 5707|      0|                p->error_indicator = 1;
 5708|      0|                p->level--;
 5709|      0|                return NULL;
 5710|      0|            }
 5711|    263|            goto done;
 5712|    263|        }
 5713|    340|        p->mark = _mark;
 5714|    340|        D(fprintf(stderr, "%*c%s param_maybe_default[%d-%d]: %s failed!\n", p->level, ' ',
 5715|    340|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param default? ',' TYPE_COMMENT?"));
 5716|    340|    }
 5717|      0|    { // param default? TYPE_COMMENT? &')'
 5718|    340|        if (p->error_indicator) {
  ------------------
  |  Branch (5718:13): [True: 0, False: 340]
  ------------------
 5719|      0|            p->level--;
 5720|      0|            return NULL;
 5721|      0|        }
 5722|    340|        D(fprintf(stderr, "%*c> param_maybe_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param default? TYPE_COMMENT? &')'"));
 5723|    340|        arg_ty a;
 5724|    340|        void *c;
 5725|    340|        void *tc;
 5726|    340|        if (
 5727|    340|            (a = param_rule(p))  // param
  ------------------
  |  Branch (5727:13): [True: 114, False: 226]
  ------------------
 5728|    114|            &&
 5729|    114|            (c = default_rule(p), !p->error_indicator)  // default?
  ------------------
  |  Branch (5729:13): [True: 114, False: 0]
  ------------------
 5730|    114|            &&
 5731|    114|            (tc = _PyPegen_expect_token(p, TYPE_COMMENT), !p->error_indicator)  // TYPE_COMMENT?
  ------------------
  |  |   73|    114|#define TYPE_COMMENT    57
  ------------------
  |  Branch (5731:13): [True: 114, False: 0]
  ------------------
 5732|    114|            &&
 5733|    114|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 8)  // token=')'
  ------------------
  |  Branch (5733:13): [True: 114, False: 0]
  ------------------
 5734|    340|        )
 5735|    114|        {
 5736|    114|            D(fprintf(stderr, "%*c+ param_maybe_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param default? TYPE_COMMENT? &')'"));
 5737|    114|            _res = _PyPegen_name_default_pair ( p , a , c , tc );
 5738|    114|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5738:18): [True: 0, False: 114]
  |  Branch (5738:34): [True: 0, False: 114]
  |  Branch (5738:57): [True: 0, False: 0]
  ------------------
 5739|      0|                p->error_indicator = 1;
 5740|      0|                p->level--;
 5741|      0|                return NULL;
 5742|      0|            }
 5743|    114|            goto done;
 5744|    114|        }
 5745|    226|        p->mark = _mark;
 5746|    226|        D(fprintf(stderr, "%*c%s param_maybe_default[%d-%d]: %s failed!\n", p->level, ' ',
 5747|    226|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param default? TYPE_COMMENT? &')'"));
 5748|    226|    }
 5749|    226|    _res = NULL;
 5750|    603|  done:
 5751|    603|    p->level--;
 5752|    603|    return _res;
 5753|    226|}
parser.c:slash_no_default_rule:
 5035|  1.86k|{
 5036|  1.86k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  3.73k|#  define MAXSTACK 6000
  ------------------
  |  Branch (5036:9): [True: 0, False: 1.86k]
  |  Branch (5036:35): [True: 0, False: 1.86k]
  ------------------
 5037|      0|        _Pypegen_stack_overflow(p);
 5038|      0|    }
 5039|  1.86k|    if (p->error_indicator) {
  ------------------
  |  Branch (5039:9): [True: 0, False: 1.86k]
  ------------------
 5040|      0|        p->level--;
 5041|      0|        return NULL;
 5042|      0|    }
 5043|  1.86k|    asdl_arg_seq* _res = NULL;
 5044|  1.86k|    int _mark = p->mark;
 5045|  1.86k|    { // param_no_default+ '/' ','
 5046|  1.86k|        if (p->error_indicator) {
  ------------------
  |  Branch (5046:13): [True: 0, False: 1.86k]
  ------------------
 5047|      0|            p->level--;
 5048|      0|            return NULL;
 5049|      0|        }
 5050|  1.86k|        D(fprintf(stderr, "%*c> slash_no_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_no_default+ '/' ','"));
 5051|  1.86k|        Token * _literal;
 5052|  1.86k|        Token * _literal_1;
 5053|  1.86k|        asdl_arg_seq* a;
 5054|  1.86k|        if (
 5055|  1.86k|            (a = (asdl_arg_seq*)_loop1_29_rule(p))  // param_no_default+
  ------------------
  |  Branch (5055:13): [True: 1.74k, False: 124]
  ------------------
 5056|  1.74k|            &&
 5057|  1.74k|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (5057:13): [True: 38, False: 1.70k]
  ------------------
 5058|     38|            &&
 5059|     38|            (_literal_1 = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (5059:13): [True: 36, False: 2]
  ------------------
 5060|  1.86k|        )
 5061|     36|        {
 5062|     36|            D(fprintf(stderr, "%*c+ slash_no_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param_no_default+ '/' ','"));
 5063|     36|            _res = a;
 5064|     36|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5064:18): [True: 0, False: 36]
  |  Branch (5064:34): [True: 0, False: 36]
  |  Branch (5064:57): [True: 0, False: 0]
  ------------------
 5065|      0|                p->error_indicator = 1;
 5066|      0|                p->level--;
 5067|      0|                return NULL;
 5068|      0|            }
 5069|     36|            goto done;
 5070|     36|        }
 5071|  1.83k|        p->mark = _mark;
 5072|  1.83k|        D(fprintf(stderr, "%*c%s slash_no_default[%d-%d]: %s failed!\n", p->level, ' ',
 5073|  1.83k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_no_default+ '/' ','"));
 5074|  1.83k|    }
 5075|      0|    { // param_no_default+ '/' &')'
 5076|  1.83k|        if (p->error_indicator) {
  ------------------
  |  Branch (5076:13): [True: 0, False: 1.83k]
  ------------------
 5077|      0|            p->level--;
 5078|      0|            return NULL;
 5079|      0|        }
 5080|  1.83k|        D(fprintf(stderr, "%*c> slash_no_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_no_default+ '/' &')'"));
 5081|  1.83k|        Token * _literal;
 5082|  1.83k|        asdl_arg_seq* a;
 5083|  1.83k|        if (
 5084|  1.83k|            (a = (asdl_arg_seq*)_loop1_29_rule(p))  // param_no_default+
  ------------------
  |  Branch (5084:13): [True: 1.70k, False: 124]
  ------------------
 5085|  1.70k|            &&
 5086|  1.70k|            (_literal = _PyPegen_expect_token(p, 17))  // token='/'
  ------------------
  |  Branch (5086:13): [True: 2, False: 1.70k]
  ------------------
 5087|      2|            &&
 5088|      2|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 8)  // token=')'
  ------------------
  |  Branch (5088:13): [True: 2, False: 0]
  ------------------
 5089|  1.83k|        )
 5090|      2|        {
 5091|      2|            D(fprintf(stderr, "%*c+ slash_no_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param_no_default+ '/' &')'"));
 5092|      2|            _res = a;
 5093|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5093:18): [True: 0, False: 2]
  |  Branch (5093:34): [True: 0, False: 2]
  |  Branch (5093:57): [True: 0, False: 0]
  ------------------
 5094|      0|                p->error_indicator = 1;
 5095|      0|                p->level--;
 5096|      0|                return NULL;
 5097|      0|            }
 5098|      2|            goto done;
 5099|      2|        }
 5100|  1.82k|        p->mark = _mark;
 5101|  1.82k|        D(fprintf(stderr, "%*c%s slash_no_default[%d-%d]: %s failed!\n", p->level, ' ',
 5102|  1.82k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_no_default+ '/' &')'"));
 5103|  1.82k|    }
 5104|  1.82k|    _res = NULL;
 5105|  1.86k|  done:
 5106|  1.86k|    p->level--;
 5107|  1.86k|    return _res;
 5108|  1.82k|}
parser.c:_loop0_27_rule:
30011|  3.69k|{
30012|  3.69k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  7.38k|#  define MAXSTACK 6000
  ------------------
  |  Branch (30012:9): [True: 0, False: 3.69k]
  |  Branch (30012:35): [True: 0, False: 3.69k]
  ------------------
30013|      0|        _Pypegen_stack_overflow(p);
30014|      0|    }
30015|  3.69k|    if (p->error_indicator) {
  ------------------
  |  Branch (30015:9): [True: 0, False: 3.69k]
  ------------------
30016|      0|        p->level--;
30017|      0|        return NULL;
30018|      0|    }
30019|  3.69k|    void *_res = NULL;
30020|  3.69k|    int _mark = p->mark;
30021|  3.69k|    void **_children = PyMem_Malloc(sizeof(void *));
30022|  3.69k|    if (!_children) {
  ------------------
  |  Branch (30022:9): [True: 0, False: 3.69k]
  ------------------
30023|      0|        p->error_indicator = 1;
30024|      0|        PyErr_NoMemory();
30025|      0|        p->level--;
30026|      0|        return NULL;
30027|      0|    }
30028|  3.69k|    Py_ssize_t _children_capacity = 1;
30029|  3.69k|    Py_ssize_t _n = 0;
30030|  3.69k|    { // param_no_default
30031|  3.69k|        if (p->error_indicator) {
  ------------------
  |  Branch (30031:13): [True: 0, False: 3.69k]
  ------------------
30032|      0|            p->level--;
30033|      0|            return NULL;
30034|      0|        }
30035|  3.69k|        D(fprintf(stderr, "%*c> _loop0_27[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_no_default"));
30036|  3.69k|        arg_ty param_no_default_var;
30037|  3.69k|        while (
30038|  10.4k|            (param_no_default_var = param_no_default_rule(p))  // param_no_default
  ------------------
  |  Branch (30038:13): [True: 6.76k, False: 3.69k]
  ------------------
30039|  3.69k|        )
30040|  6.76k|        {
30041|  6.76k|            _res = param_no_default_var;
30042|  6.76k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (30042:17): [True: 2.69k, False: 4.06k]
  ------------------
30043|  2.69k|                _children_capacity *= 2;
30044|  2.69k|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
30045|  2.69k|                if (!_new_children) {
  ------------------
  |  Branch (30045:21): [True: 0, False: 2.69k]
  ------------------
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|  2.69k|                _children = _new_children;
30053|  2.69k|            }
30054|  6.76k|            _children[_n++] = _res;
30055|  6.76k|            _mark = p->mark;
30056|  6.76k|        }
30057|  3.69k|        p->mark = _mark;
30058|  3.69k|        D(fprintf(stderr, "%*c%s _loop0_27[%d-%d]: %s failed!\n", p->level, ' ',
30059|  3.69k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_no_default"));
30060|  3.69k|    }
30061|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
30062|  3.69k|    if (!_seq) {
  ------------------
  |  Branch (30062:9): [True: 0, False: 3.69k]
  ------------------
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|  10.4k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  6.76k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  10.4k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (30069:28): [True: 6.76k, False: 3.69k]
  ------------------
30070|  3.69k|    PyMem_Free(_children);
30071|  3.69k|    p->level--;
30072|  3.69k|    return _seq;
30073|  3.69k|}
parser.c:param_no_default_rule:
 5430|  26.4k|{
 5431|  26.4k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  52.9k|#  define MAXSTACK 6000
  ------------------
  |  Branch (5431:9): [True: 0, False: 26.4k]
  |  Branch (5431:35): [True: 0, False: 26.4k]
  ------------------
 5432|      0|        _Pypegen_stack_overflow(p);
 5433|      0|    }
 5434|  26.4k|    if (p->error_indicator) {
  ------------------
  |  Branch (5434:9): [True: 0, False: 26.4k]
  ------------------
 5435|      0|        p->level--;
 5436|      0|        return NULL;
 5437|      0|    }
 5438|  26.4k|    arg_ty _res = NULL;
 5439|  26.4k|    int _mark = p->mark;
 5440|  26.4k|    { // param ',' TYPE_COMMENT?
 5441|  26.4k|        if (p->error_indicator) {
  ------------------
  |  Branch (5441:13): [True: 0, False: 26.4k]
  ------------------
 5442|      0|            p->level--;
 5443|      0|            return NULL;
 5444|      0|        }
 5445|  26.4k|        D(fprintf(stderr, "%*c> param_no_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param ',' TYPE_COMMENT?"));
 5446|  26.4k|        Token * _literal;
 5447|  26.4k|        arg_ty a;
 5448|  26.4k|        void *tc;
 5449|  26.4k|        if (
 5450|  26.4k|            (a = param_rule(p))  // param
  ------------------
  |  Branch (5450:13): [True: 18.4k, False: 8.03k]
  ------------------
 5451|  18.4k|            &&
 5452|  18.4k|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (5452:13): [True: 10.2k, False: 8.25k]
  ------------------
 5453|  10.2k|            &&
 5454|  10.2k|            (tc = _PyPegen_expect_token(p, TYPE_COMMENT), !p->error_indicator)  // TYPE_COMMENT?
  ------------------
  |  |   73|  10.2k|#define TYPE_COMMENT    57
  ------------------
  |  Branch (5454:13): [True: 10.2k, False: 0]
  ------------------
 5455|  26.4k|        )
 5456|  10.2k|        {
 5457|  10.2k|            D(fprintf(stderr, "%*c+ param_no_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param ',' TYPE_COMMENT?"));
 5458|  10.2k|            _res = _PyPegen_add_type_comment_to_arg ( p , a , tc );
 5459|  10.2k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5459:18): [True: 0, False: 10.2k]
  |  Branch (5459:34): [True: 0, False: 10.2k]
  |  Branch (5459:57): [True: 0, False: 0]
  ------------------
 5460|      0|                p->error_indicator = 1;
 5461|      0|                p->level--;
 5462|      0|                return NULL;
 5463|      0|            }
 5464|  10.2k|            goto done;
 5465|  10.2k|        }
 5466|  16.2k|        p->mark = _mark;
 5467|  16.2k|        D(fprintf(stderr, "%*c%s param_no_default[%d-%d]: %s failed!\n", p->level, ' ',
 5468|  16.2k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param ',' TYPE_COMMENT?"));
 5469|  16.2k|    }
 5470|      0|    { // param TYPE_COMMENT? &')'
 5471|  16.2k|        if (p->error_indicator) {
  ------------------
  |  Branch (5471:13): [True: 0, False: 16.2k]
  ------------------
 5472|      0|            p->level--;
 5473|      0|            return NULL;
 5474|      0|        }
 5475|  16.2k|        D(fprintf(stderr, "%*c> param_no_default[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param TYPE_COMMENT? &')'"));
 5476|  16.2k|        arg_ty a;
 5477|  16.2k|        void *tc;
 5478|  16.2k|        if (
 5479|  16.2k|            (a = param_rule(p))  // param
  ------------------
  |  Branch (5479:13): [True: 8.25k, False: 8.03k]
  ------------------
 5480|  8.25k|            &&
 5481|  8.25k|            (tc = _PyPegen_expect_token(p, TYPE_COMMENT), !p->error_indicator)  // TYPE_COMMENT?
  ------------------
  |  |   73|  8.25k|#define TYPE_COMMENT    57
  ------------------
  |  Branch (5481:13): [True: 8.25k, False: 0]
  ------------------
 5482|  8.25k|            &&
 5483|  8.25k|            _PyPegen_lookahead_with_int(1, _PyPegen_expect_token, p, 8)  // token=')'
  ------------------
  |  Branch (5483:13): [True: 6.95k, False: 1.30k]
  ------------------
 5484|  16.2k|        )
 5485|  6.95k|        {
 5486|  6.95k|            D(fprintf(stderr, "%*c+ param_no_default[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param TYPE_COMMENT? &')'"));
 5487|  6.95k|            _res = _PyPegen_add_type_comment_to_arg ( p , a , tc );
 5488|  6.95k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5488:18): [True: 0, False: 6.95k]
  |  Branch (5488:34): [True: 0, False: 6.95k]
  |  Branch (5488:57): [True: 0, False: 0]
  ------------------
 5489|      0|                p->error_indicator = 1;
 5490|      0|                p->level--;
 5491|      0|                return NULL;
 5492|      0|            }
 5493|  6.95k|            goto done;
 5494|  6.95k|        }
 5495|  9.33k|        p->mark = _mark;
 5496|  9.33k|        D(fprintf(stderr, "%*c%s param_no_default[%d-%d]: %s failed!\n", p->level, ' ',
 5497|  9.33k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param TYPE_COMMENT? &')'"));
 5498|  9.33k|    }
 5499|  9.33k|    _res = NULL;
 5500|  26.4k|  done:
 5501|  26.4k|    p->level--;
 5502|  26.4k|    return _res;
 5503|  9.33k|}
parser.c:_loop1_29_rule:
30145|  5.52k|{
30146|  5.52k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  11.0k|#  define MAXSTACK 6000
  ------------------
  |  Branch (30146:9): [True: 0, False: 5.52k]
  |  Branch (30146:35): [True: 0, False: 5.52k]
  ------------------
30147|      0|        _Pypegen_stack_overflow(p);
30148|      0|    }
30149|  5.52k|    if (p->error_indicator) {
  ------------------
  |  Branch (30149:9): [True: 0, False: 5.52k]
  ------------------
30150|      0|        p->level--;
30151|      0|        return NULL;
30152|      0|    }
30153|  5.52k|    void *_res = NULL;
30154|  5.52k|    int _mark = p->mark;
30155|  5.52k|    void **_children = PyMem_Malloc(sizeof(void *));
30156|  5.52k|    if (!_children) {
  ------------------
  |  Branch (30156:9): [True: 0, False: 5.52k]
  ------------------
30157|      0|        p->error_indicator = 1;
30158|      0|        PyErr_NoMemory();
30159|      0|        p->level--;
30160|      0|        return NULL;
30161|      0|    }
30162|  5.52k|    Py_ssize_t _children_capacity = 1;
30163|  5.52k|    Py_ssize_t _n = 0;
30164|  5.52k|    { // param_no_default
30165|  5.52k|        if (p->error_indicator) {
  ------------------
  |  Branch (30165:13): [True: 0, False: 5.52k]
  ------------------
30166|      0|            p->level--;
30167|      0|            return NULL;
30168|      0|        }
30169|  5.52k|        D(fprintf(stderr, "%*c> _loop1_29[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_no_default"));
30170|  5.52k|        arg_ty param_no_default_var;
30171|  5.52k|        while (
30172|  15.7k|            (param_no_default_var = param_no_default_rule(p))  // param_no_default
  ------------------
  |  Branch (30172:13): [True: 10.1k, False: 5.52k]
  ------------------
30173|  5.52k|        )
30174|  10.1k|        {
30175|  10.1k|            _res = param_no_default_var;
30176|  10.1k|            if (_n == _children_capacity) {
  ------------------
  |  Branch (30176:17): [True: 4.05k, False: 6.13k]
  ------------------
30177|  4.05k|                _children_capacity *= 2;
30178|  4.05k|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
30179|  4.05k|                if (!_new_children) {
  ------------------
  |  Branch (30179:21): [True: 0, False: 4.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|  4.05k|                _children = _new_children;
30187|  4.05k|            }
30188|  10.1k|            _children[_n++] = _res;
30189|  10.1k|            _mark = p->mark;
30190|  10.1k|        }
30191|  5.52k|        p->mark = _mark;
30192|  5.52k|        D(fprintf(stderr, "%*c%s _loop1_29[%d-%d]: %s failed!\n", p->level, ' ',
30193|  5.52k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_no_default"));
30194|  5.52k|    }
30195|  5.52k|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (30195:9): [True: 369, False: 5.15k]
  |  Branch (30195:20): [True: 0, False: 5.15k]
  ------------------
30196|    369|        PyMem_Free(_children);
30197|    369|        p->level--;
30198|    369|        return NULL;
30199|    369|    }
30200|  5.15k|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
30201|  5.15k|    if (!_seq) {
  ------------------
  |  Branch (30201:9): [True: 0, False: 5.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|  15.3k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|  10.1k|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  15.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (30208:28): [True: 10.1k, False: 5.15k]
  ------------------
30209|  5.15k|    PyMem_Free(_children);
30210|  5.15k|    p->level--;
30211|  5.15k|    return _seq;
30212|  5.15k|}
parser.c:_loop1_32_rule:
30356|    120|{
30357|    120|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    240|#  define MAXSTACK 6000
  ------------------
  |  Branch (30357:9): [True: 0, False: 120]
  |  Branch (30357:35): [True: 0, False: 120]
  ------------------
30358|      0|        _Pypegen_stack_overflow(p);
30359|      0|    }
30360|    120|    if (p->error_indicator) {
  ------------------
  |  Branch (30360:9): [True: 0, False: 120]
  ------------------
30361|      0|        p->level--;
30362|      0|        return NULL;
30363|      0|    }
30364|    120|    void *_res = NULL;
30365|    120|    int _mark = p->mark;
30366|    120|    void **_children = PyMem_Malloc(sizeof(void *));
30367|    120|    if (!_children) {
  ------------------
  |  Branch (30367:9): [True: 0, False: 120]
  ------------------
30368|      0|        p->error_indicator = 1;
30369|      0|        PyErr_NoMemory();
30370|      0|        p->level--;
30371|      0|        return NULL;
30372|      0|    }
30373|    120|    Py_ssize_t _children_capacity = 1;
30374|    120|    Py_ssize_t _n = 0;
30375|    120|    { // param_maybe_default
30376|    120|        if (p->error_indicator) {
  ------------------
  |  Branch (30376:13): [True: 0, False: 120]
  ------------------
30377|      0|            p->level--;
30378|      0|            return NULL;
30379|      0|        }
30380|    120|        D(fprintf(stderr, "%*c> _loop1_32[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_maybe_default"));
30381|    120|        NameDefaultPair* param_maybe_default_var;
30382|    120|        while (
30383|    464|            (param_maybe_default_var = param_maybe_default_rule(p))  // param_maybe_default
  ------------------
  |  Branch (30383:13): [True: 344, False: 120]
  ------------------
30384|    120|        )
30385|    344|        {
30386|    344|            _res = param_maybe_default_var;
30387|    344|            if (_n == _children_capacity) {
  ------------------
  |  Branch (30387:17): [True: 146, False: 198]
  ------------------
30388|    146|                _children_capacity *= 2;
30389|    146|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
30390|    146|                if (!_new_children) {
  ------------------
  |  Branch (30390:21): [True: 0, False: 146]
  ------------------
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|    146|                _children = _new_children;
30398|    146|            }
30399|    344|            _children[_n++] = _res;
30400|    344|            _mark = p->mark;
30401|    344|        }
30402|    120|        p->mark = _mark;
30403|    120|        D(fprintf(stderr, "%*c%s _loop1_32[%d-%d]: %s failed!\n", p->level, ' ',
30404|    120|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_maybe_default"));
30405|    120|    }
30406|    120|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (30406:9): [True: 0, False: 120]
  |  Branch (30406:20): [True: 0, False: 120]
  ------------------
30407|      0|        PyMem_Free(_children);
30408|      0|        p->level--;
30409|      0|        return NULL;
30410|      0|    }
30411|    120|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
30412|    120|    if (!_seq) {
  ------------------
  |  Branch (30412:9): [True: 0, False: 120]
  ------------------
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|    464|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|    344|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|    464|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (30419:28): [True: 344, False: 120]
  ------------------
30420|    120|    PyMem_Free(_children);
30421|    120|    p->level--;
30422|    120|    return _seq;
30423|    120|}
parser.c:parameters_rule:
 4872|  1.86k|{
 4873|  1.86k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  3.73k|#  define MAXSTACK 6000
  ------------------
  |  Branch (4873:9): [True: 0, False: 1.86k]
  |  Branch (4873:35): [True: 0, False: 1.86k]
  ------------------
 4874|      0|        _Pypegen_stack_overflow(p);
 4875|      0|    }
 4876|  1.86k|    if (p->error_indicator) {
  ------------------
  |  Branch (4876:9): [True: 0, False: 1.86k]
  ------------------
 4877|      0|        p->level--;
 4878|      0|        return NULL;
 4879|      0|    }
 4880|  1.86k|    arguments_ty _res = NULL;
 4881|  1.86k|    int _mark = p->mark;
 4882|  1.86k|    { // slash_no_default param_no_default* param_with_default* star_etc?
 4883|  1.86k|        if (p->error_indicator) {
  ------------------
  |  Branch (4883:13): [True: 0, False: 1.86k]
  ------------------
 4884|      0|            p->level--;
 4885|      0|            return NULL;
 4886|      0|        }
 4887|  1.86k|        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|  1.86k|        asdl_arg_seq* a;
 4889|  1.86k|        asdl_arg_seq* b;
 4890|  1.86k|        asdl_seq * c;
 4891|  1.86k|        void *d;
 4892|  1.86k|        if (
 4893|  1.86k|            (a = slash_no_default_rule(p))  // slash_no_default
  ------------------
  |  Branch (4893:13): [True: 38, False: 1.82k]
  ------------------
 4894|     38|            &&
 4895|     38|            (b = (asdl_arg_seq*)_loop0_27_rule(p))  // param_no_default*
  ------------------
  |  Branch (4895:13): [True: 38, False: 0]
  ------------------
 4896|     38|            &&
 4897|     38|            (c = _loop0_28_rule(p))  // param_with_default*
  ------------------
  |  Branch (4897:13): [True: 38, False: 0]
  ------------------
 4898|     38|            &&
 4899|     38|            (d = star_etc_rule(p), !p->error_indicator)  // star_etc?
  ------------------
  |  Branch (4899:13): [True: 38, False: 0]
  ------------------
 4900|  1.86k|        )
 4901|     38|        {
 4902|     38|            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|     38|            _res = CHECK_VERSION ( arguments_ty , 8 , "Positional-only parameters are" , _PyPegen_make_arguments ( p , a , NULL , b , c , d ) );
  ------------------
  |  |  307|     38|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
 4904|     38|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4904:18): [True: 0, False: 38]
  |  Branch (4904:34): [True: 0, False: 38]
  |  Branch (4904:57): [True: 0, False: 0]
  ------------------
 4905|      0|                p->error_indicator = 1;
 4906|      0|                p->level--;
 4907|      0|                return NULL;
 4908|      0|            }
 4909|     38|            goto done;
 4910|     38|        }
 4911|  1.82k|        p->mark = _mark;
 4912|  1.82k|        D(fprintf(stderr, "%*c%s parameters[%d-%d]: %s failed!\n", p->level, ' ',
 4913|  1.82k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "slash_no_default param_no_default* param_with_default* star_etc?"));
 4914|  1.82k|    }
 4915|      0|    { // slash_with_default param_with_default* star_etc?
 4916|  1.82k|        if (p->error_indicator) {
  ------------------
  |  Branch (4916:13): [True: 0, False: 1.82k]
  ------------------
 4917|      0|            p->level--;
 4918|      0|            return NULL;
 4919|      0|        }
 4920|  1.82k|        D(fprintf(stderr, "%*c> parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "slash_with_default param_with_default* star_etc?"));
 4921|  1.82k|        SlashWithDefault* a;
 4922|  1.82k|        asdl_seq * b;
 4923|  1.82k|        void *c;
 4924|  1.82k|        if (
 4925|  1.82k|            (a = slash_with_default_rule(p))  // slash_with_default
  ------------------
  |  Branch (4925:13): [True: 3, False: 1.82k]
  ------------------
 4926|      3|            &&
 4927|      3|            (b = _loop0_28_rule(p))  // param_with_default*
  ------------------
  |  Branch (4927:13): [True: 3, False: 0]
  ------------------
 4928|      3|            &&
 4929|      3|            (c = star_etc_rule(p), !p->error_indicator)  // star_etc?
  ------------------
  |  Branch (4929:13): [True: 3, False: 0]
  ------------------
 4930|  1.82k|        )
 4931|      3|        {
 4932|      3|            D(fprintf(stderr, "%*c+ parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "slash_with_default param_with_default* star_etc?"));
 4933|      3|            _res = CHECK_VERSION ( arguments_ty , 8 , "Positional-only parameters are" , _PyPegen_make_arguments ( p , NULL , a , NULL , b , c ) );
  ------------------
  |  |  307|      3|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
 4934|      3|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4934:18): [True: 0, False: 3]
  |  Branch (4934:34): [True: 0, False: 3]
  |  Branch (4934:57): [True: 0, False: 0]
  ------------------
 4935|      0|                p->error_indicator = 1;
 4936|      0|                p->level--;
 4937|      0|                return NULL;
 4938|      0|            }
 4939|      3|            goto done;
 4940|      3|        }
 4941|  1.82k|        p->mark = _mark;
 4942|  1.82k|        D(fprintf(stderr, "%*c%s parameters[%d-%d]: %s failed!\n", p->level, ' ',
 4943|  1.82k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "slash_with_default param_with_default* star_etc?"));
 4944|  1.82k|    }
 4945|      0|    { // param_no_default+ param_with_default* star_etc?
 4946|  1.82k|        if (p->error_indicator) {
  ------------------
  |  Branch (4946:13): [True: 0, False: 1.82k]
  ------------------
 4947|      0|            p->level--;
 4948|      0|            return NULL;
 4949|      0|        }
 4950|  1.82k|        D(fprintf(stderr, "%*c> parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_no_default+ param_with_default* star_etc?"));
 4951|  1.82k|        asdl_arg_seq* a;
 4952|  1.82k|        asdl_seq * b;
 4953|  1.82k|        void *c;
 4954|  1.82k|        if (
 4955|  1.82k|            (a = (asdl_arg_seq*)_loop1_29_rule(p))  // param_no_default+
  ------------------
  |  Branch (4955:13): [True: 1.70k, False: 121]
  ------------------
 4956|  1.70k|            &&
 4957|  1.70k|            (b = _loop0_28_rule(p))  // param_with_default*
  ------------------
  |  Branch (4957:13): [True: 1.70k, False: 0]
  ------------------
 4958|  1.70k|            &&
 4959|  1.70k|            (c = star_etc_rule(p), !p->error_indicator)  // star_etc?
  ------------------
  |  Branch (4959:13): [True: 1.70k, False: 0]
  ------------------
 4960|  1.82k|        )
 4961|  1.70k|        {
 4962|  1.70k|            D(fprintf(stderr, "%*c+ parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param_no_default+ param_with_default* star_etc?"));
 4963|  1.70k|            _res = _PyPegen_make_arguments ( p , NULL , NULL , a , b , c );
 4964|  1.70k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4964:18): [True: 0, False: 1.70k]
  |  Branch (4964:34): [True: 0, False: 1.70k]
  |  Branch (4964:57): [True: 0, False: 0]
  ------------------
 4965|      0|                p->error_indicator = 1;
 4966|      0|                p->level--;
 4967|      0|                return NULL;
 4968|      0|            }
 4969|  1.70k|            goto done;
 4970|  1.70k|        }
 4971|    121|        p->mark = _mark;
 4972|    121|        D(fprintf(stderr, "%*c%s parameters[%d-%d]: %s failed!\n", p->level, ' ',
 4973|    121|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_no_default+ param_with_default* star_etc?"));
 4974|    121|    }
 4975|      0|    { // param_with_default+ star_etc?
 4976|    121|        if (p->error_indicator) {
  ------------------
  |  Branch (4976:13): [True: 0, False: 121]
  ------------------
 4977|      0|            p->level--;
 4978|      0|            return NULL;
 4979|      0|        }
 4980|    121|        D(fprintf(stderr, "%*c> parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_with_default+ star_etc?"));
 4981|    121|        asdl_seq * a;
 4982|    121|        void *b;
 4983|    121|        if (
 4984|    121|            (a = _loop1_30_rule(p))  // param_with_default+
  ------------------
  |  Branch (4984:13): [True: 25, False: 96]
  ------------------
 4985|     25|            &&
 4986|     25|            (b = star_etc_rule(p), !p->error_indicator)  // star_etc?
  ------------------
  |  Branch (4986:13): [True: 25, False: 0]
  ------------------
 4987|    121|        )
 4988|     25|        {
 4989|     25|            D(fprintf(stderr, "%*c+ parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "param_with_default+ star_etc?"));
 4990|     25|            _res = _PyPegen_make_arguments ( p , NULL , NULL , NULL , a , b );
 4991|     25|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4991:18): [True: 0, False: 25]
  |  Branch (4991:34): [True: 0, False: 25]
  |  Branch (4991:57): [True: 0, False: 0]
  ------------------
 4992|      0|                p->error_indicator = 1;
 4993|      0|                p->level--;
 4994|      0|                return NULL;
 4995|      0|            }
 4996|     25|            goto done;
 4997|     25|        }
 4998|     96|        p->mark = _mark;
 4999|     96|        D(fprintf(stderr, "%*c%s parameters[%d-%d]: %s failed!\n", p->level, ' ',
 5000|     96|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_with_default+ star_etc?"));
 5001|     96|    }
 5002|      0|    { // star_etc
 5003|     96|        if (p->error_indicator) {
  ------------------
  |  Branch (5003:13): [True: 0, False: 96]
  ------------------
 5004|      0|            p->level--;
 5005|      0|            return NULL;
 5006|      0|        }
 5007|     96|        D(fprintf(stderr, "%*c> parameters[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_etc"));
 5008|     96|        StarEtc* a;
 5009|     96|        if (
 5010|     96|            (a = star_etc_rule(p))  // star_etc
  ------------------
  |  Branch (5010:13): [True: 47, False: 49]
  ------------------
 5011|     96|        )
 5012|     47|        {
 5013|     47|            D(fprintf(stderr, "%*c+ parameters[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_etc"));
 5014|     47|            _res = _PyPegen_make_arguments ( p , NULL , NULL , NULL , NULL , a );
 5015|     47|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5015:18): [True: 0, False: 47]
  |  Branch (5015:34): [True: 0, False: 47]
  |  Branch (5015:57): [True: 0, False: 0]
  ------------------
 5016|      0|                p->error_indicator = 1;
 5017|      0|                p->level--;
 5018|      0|                return NULL;
 5019|      0|            }
 5020|     47|            goto done;
 5021|     47|        }
 5022|     49|        p->mark = _mark;
 5023|     49|        D(fprintf(stderr, "%*c%s parameters[%d-%d]: %s failed!\n", p->level, ' ',
 5024|     49|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_etc"));
 5025|     49|    }
 5026|     49|    _res = NULL;
 5027|  1.86k|  done:
 5028|  1.86k|    p->level--;
 5029|  1.86k|    return _res;
 5030|     49|}
parser.c:_loop0_28_rule:
30078|  1.74k|{
30079|  1.74k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  3.49k|#  define MAXSTACK 6000
  ------------------
  |  Branch (30079:9): [True: 0, False: 1.74k]
  |  Branch (30079:35): [True: 0, False: 1.74k]
  ------------------
30080|      0|        _Pypegen_stack_overflow(p);
30081|      0|    }
30082|  1.74k|    if (p->error_indicator) {
  ------------------
  |  Branch (30082:9): [True: 0, False: 1.74k]
  ------------------
30083|      0|        p->level--;
30084|      0|        return NULL;
30085|      0|    }
30086|  1.74k|    void *_res = NULL;
30087|  1.74k|    int _mark = p->mark;
30088|  1.74k|    void **_children = PyMem_Malloc(sizeof(void *));
30089|  1.74k|    if (!_children) {
  ------------------
  |  Branch (30089:9): [True: 0, False: 1.74k]
  ------------------
30090|      0|        p->error_indicator = 1;
30091|      0|        PyErr_NoMemory();
30092|      0|        p->level--;
30093|      0|        return NULL;
30094|      0|    }
30095|  1.74k|    Py_ssize_t _children_capacity = 1;
30096|  1.74k|    Py_ssize_t _n = 0;
30097|  1.74k|    { // param_with_default
30098|  1.74k|        if (p->error_indicator) {
  ------------------
  |  Branch (30098:13): [True: 0, False: 1.74k]
  ------------------
30099|      0|            p->level--;
30100|      0|            return NULL;
30101|      0|        }
30102|  1.74k|        D(fprintf(stderr, "%*c> _loop0_28[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_with_default"));
30103|  1.74k|        NameDefaultPair* param_with_default_var;
30104|  1.74k|        while (
30105|  2.20k|            (param_with_default_var = param_with_default_rule(p))  // param_with_default
  ------------------
  |  Branch (30105:13): [True: 461, False: 1.74k]
  ------------------
30106|  1.74k|        )
30107|    461|        {
30108|    461|            _res = param_with_default_var;
30109|    461|            if (_n == _children_capacity) {
  ------------------
  |  Branch (30109:17): [True: 162, False: 299]
  ------------------
30110|    162|                _children_capacity *= 2;
30111|    162|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
30112|    162|                if (!_new_children) {
  ------------------
  |  Branch (30112:21): [True: 0, False: 162]
  ------------------
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|    162|                _children = _new_children;
30120|    162|            }
30121|    461|            _children[_n++] = _res;
30122|    461|            _mark = p->mark;
30123|    461|        }
30124|  1.74k|        p->mark = _mark;
30125|  1.74k|        D(fprintf(stderr, "%*c%s _loop0_28[%d-%d]: %s failed!\n", p->level, ' ',
30126|  1.74k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_with_default"));
30127|  1.74k|    }
30128|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
30129|  1.74k|    if (!_seq) {
  ------------------
  |  Branch (30129:9): [True: 0, False: 1.74k]
  ------------------
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|  2.20k|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|    461|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|  2.20k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (30136:28): [True: 461, False: 1.74k]
  ------------------
30137|  1.74k|    PyMem_Free(_children);
30138|  1.74k|    p->level--;
30139|  1.74k|    return _seq;
30140|  1.74k|}
parser.c:star_etc_rule:
 5204|  1.86k|{
 5205|  1.86k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  3.73k|#  define MAXSTACK 6000
  ------------------
  |  Branch (5205:9): [True: 0, False: 1.86k]
  |  Branch (5205:35): [True: 0, False: 1.86k]
  ------------------
 5206|      0|        _Pypegen_stack_overflow(p);
 5207|      0|    }
 5208|  1.86k|    if (p->error_indicator) {
  ------------------
  |  Branch (5208:9): [True: 0, False: 1.86k]
  ------------------
 5209|      0|        p->level--;
 5210|      0|        return NULL;
 5211|      0|    }
 5212|  1.86k|    StarEtc* _res = NULL;
 5213|  1.86k|    int _mark = p->mark;
 5214|  1.86k|    if (p->call_invalid_rules) { // invalid_star_etc
  ------------------
  |  Branch (5214:9): [True: 0, False: 1.86k]
  ------------------
 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|  1.86k|    { // '*' param_no_default param_maybe_default* kwds?
 5234|  1.86k|        if (p->error_indicator) {
  ------------------
  |  Branch (5234:13): [True: 0, False: 1.86k]
  ------------------
 5235|      0|            p->level--;
 5236|      0|            return NULL;
 5237|      0|        }
 5238|  1.86k|        D(fprintf(stderr, "%*c> star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' param_no_default param_maybe_default* kwds?"));
 5239|  1.86k|        Token * _literal;
 5240|  1.86k|        arg_ty a;
 5241|  1.86k|        asdl_seq * b;
 5242|  1.86k|        void *c;
 5243|  1.86k|        if (
 5244|  1.86k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (5244:13): [True: 226, False: 1.64k]
  ------------------
 5245|    226|            &&
 5246|    226|            (a = param_no_default_rule(p))  // param_no_default
  ------------------
  |  Branch (5246:13): [True: 106, False: 120]
  ------------------
 5247|    106|            &&
 5248|    106|            (b = _loop0_31_rule(p))  // param_maybe_default*
  ------------------
  |  Branch (5248:13): [True: 106, False: 0]
  ------------------
 5249|    106|            &&
 5250|    106|            (c = kwds_rule(p), !p->error_indicator)  // kwds?
  ------------------
  |  Branch (5250:13): [True: 106, False: 0]
  ------------------
 5251|  1.86k|        )
 5252|    106|        {
 5253|    106|            D(fprintf(stderr, "%*c+ star_etc[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' param_no_default param_maybe_default* kwds?"));
 5254|    106|            _res = _PyPegen_star_etc ( p , a , b , c );
 5255|    106|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5255:18): [True: 0, False: 106]
  |  Branch (5255:34): [True: 0, False: 106]
  |  Branch (5255:57): [True: 0, False: 0]
  ------------------
 5256|      0|                p->error_indicator = 1;
 5257|      0|                p->level--;
 5258|      0|                return NULL;
 5259|      0|            }
 5260|    106|            goto done;
 5261|    106|        }
 5262|  1.76k|        p->mark = _mark;
 5263|  1.76k|        D(fprintf(stderr, "%*c%s star_etc[%d-%d]: %s failed!\n", p->level, ' ',
 5264|  1.76k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' param_no_default param_maybe_default* kwds?"));
 5265|  1.76k|    }
 5266|      0|    { // '*' param_no_default_star_annotation param_maybe_default* kwds?
 5267|  1.76k|        if (p->error_indicator) {
  ------------------
  |  Branch (5267:13): [True: 0, False: 1.76k]
  ------------------
 5268|      0|            p->level--;
 5269|      0|            return NULL;
 5270|      0|        }
 5271|  1.76k|        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|  1.76k|        Token * _literal;
 5273|  1.76k|        arg_ty a;
 5274|  1.76k|        asdl_seq * b;
 5275|  1.76k|        void *c;
 5276|  1.76k|        if (
 5277|  1.76k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (5277:13): [True: 120, False: 1.64k]
  ------------------
 5278|    120|            &&
 5279|    120|            (a = param_no_default_star_annotation_rule(p))  // param_no_default_star_annotation
  ------------------
  |  Branch (5279:13): [True: 0, False: 120]
  ------------------
 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|  1.76k|        )
 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|  1.76k|        p->mark = _mark;
 5296|  1.76k|        D(fprintf(stderr, "%*c%s star_etc[%d-%d]: %s failed!\n", p->level, ' ',
 5297|  1.76k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' param_no_default_star_annotation param_maybe_default* kwds?"));
 5298|  1.76k|    }
 5299|      0|    { // '*' ',' param_maybe_default+ kwds?
 5300|  1.76k|        if (p->error_indicator) {
  ------------------
  |  Branch (5300:13): [True: 0, False: 1.76k]
  ------------------
 5301|      0|            p->level--;
 5302|      0|            return NULL;
 5303|      0|        }
 5304|  1.76k|        D(fprintf(stderr, "%*c> star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' ',' param_maybe_default+ kwds?"));
 5305|  1.76k|        Token * _literal;
 5306|  1.76k|        Token * _literal_1;
 5307|  1.76k|        asdl_seq * b;
 5308|  1.76k|        void *c;
 5309|  1.76k|        if (
 5310|  1.76k|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (5310:13): [True: 120, False: 1.64k]
  ------------------
 5311|    120|            &&
 5312|    120|            (_literal_1 = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (5312:13): [True: 120, False: 0]
  ------------------
 5313|    120|            &&
 5314|    120|            (b = _loop1_32_rule(p))  // param_maybe_default+
  ------------------
  |  Branch (5314:13): [True: 120, False: 0]
  ------------------
 5315|    120|            &&
 5316|    120|            (c = kwds_rule(p), !p->error_indicator)  // kwds?
  ------------------
  |  Branch (5316:13): [True: 120, False: 0]
  ------------------
 5317|  1.76k|        )
 5318|    120|        {
 5319|    120|            D(fprintf(stderr, "%*c+ star_etc[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' ',' param_maybe_default+ kwds?"));
 5320|    120|            _res = _PyPegen_star_etc ( p , NULL , b , c );
 5321|    120|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5321:18): [True: 0, False: 120]
  |  Branch (5321:34): [True: 0, False: 120]
  |  Branch (5321:57): [True: 0, False: 0]
  ------------------
 5322|      0|                p->error_indicator = 1;
 5323|      0|                p->level--;
 5324|      0|                return NULL;
 5325|      0|            }
 5326|    120|            goto done;
 5327|    120|        }
 5328|  1.64k|        p->mark = _mark;
 5329|  1.64k|        D(fprintf(stderr, "%*c%s star_etc[%d-%d]: %s failed!\n", p->level, ' ',
 5330|  1.64k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' ',' param_maybe_default+ kwds?"));
 5331|  1.64k|    }
 5332|      0|    { // kwds
 5333|  1.64k|        if (p->error_indicator) {
  ------------------
  |  Branch (5333:13): [True: 0, False: 1.64k]
  ------------------
 5334|      0|            p->level--;
 5335|      0|            return NULL;
 5336|      0|        }
 5337|  1.64k|        D(fprintf(stderr, "%*c> star_etc[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "kwds"));
 5338|  1.64k|        arg_ty a;
 5339|  1.64k|        if (
 5340|  1.64k|            (a = kwds_rule(p))  // kwds
  ------------------
  |  Branch (5340:13): [True: 20, False: 1.62k]
  ------------------
 5341|  1.64k|        )
 5342|     20|        {
 5343|     20|            D(fprintf(stderr, "%*c+ star_etc[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "kwds"));
 5344|     20|            _res = _PyPegen_star_etc ( p , NULL , NULL , a );
 5345|     20|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5345:18): [True: 0, False: 20]
  |  Branch (5345:34): [True: 0, False: 20]
  |  Branch (5345:57): [True: 0, False: 0]
  ------------------
 5346|      0|                p->error_indicator = 1;
 5347|      0|                p->level--;
 5348|      0|                return NULL;
 5349|      0|            }
 5350|     20|            goto done;
 5351|     20|        }
 5352|  1.62k|        p->mark = _mark;
 5353|  1.62k|        D(fprintf(stderr, "%*c%s star_etc[%d-%d]: %s failed!\n", p->level, ' ',
 5354|  1.62k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "kwds"));
 5355|  1.62k|    }
 5356|  1.62k|    _res = NULL;
 5357|  1.86k|  done:
 5358|  1.86k|    p->level--;
 5359|  1.86k|    return _res;
 5360|  1.62k|}
parser.c:kwds_rule:
 5365|  1.86k|{
 5366|  1.86k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  3.73k|#  define MAXSTACK 6000
  ------------------
  |  Branch (5366:9): [True: 0, False: 1.86k]
  |  Branch (5366:35): [True: 0, False: 1.86k]
  ------------------
 5367|      0|        _Pypegen_stack_overflow(p);
 5368|      0|    }
 5369|  1.86k|    if (p->error_indicator) {
  ------------------
  |  Branch (5369:9): [True: 0, False: 1.86k]
  ------------------
 5370|      0|        p->level--;
 5371|      0|        return NULL;
 5372|      0|    }
 5373|  1.86k|    arg_ty _res = NULL;
 5374|  1.86k|    int _mark = p->mark;
 5375|  1.86k|    if (p->call_invalid_rules) { // invalid_kwds
  ------------------
  |  Branch (5375:9): [True: 0, False: 1.86k]
  ------------------
 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|  1.86k|    { // '**' param_no_default
 5395|  1.86k|        if (p->error_indicator) {
  ------------------
  |  Branch (5395:13): [True: 0, False: 1.86k]
  ------------------
 5396|      0|            p->level--;
 5397|      0|            return NULL;
 5398|      0|        }
 5399|  1.86k|        D(fprintf(stderr, "%*c> kwds[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'**' param_no_default"));
 5400|  1.86k|        Token * _literal;
 5401|  1.86k|        arg_ty a;
 5402|  1.86k|        if (
 5403|  1.86k|            (_literal = _PyPegen_expect_token(p, 35))  // token='**'
  ------------------
  |  Branch (5403:13): [True: 100, False: 1.76k]
  ------------------
 5404|    100|            &&
 5405|    100|            (a = param_no_default_rule(p))  // param_no_default
  ------------------
  |  Branch (5405:13): [True: 100, False: 0]
  ------------------
 5406|  1.86k|        )
 5407|    100|        {
 5408|    100|            D(fprintf(stderr, "%*c+ kwds[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'**' param_no_default"));
 5409|    100|            _res = a;
 5410|    100|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (5410:18): [True: 0, False: 100]
  |  Branch (5410:34): [True: 0, False: 100]
  |  Branch (5410:57): [True: 0, False: 0]
  ------------------
 5411|      0|                p->error_indicator = 1;
 5412|      0|                p->level--;
 5413|      0|                return NULL;
 5414|      0|            }
 5415|    100|            goto done;
 5416|    100|        }
 5417|  1.76k|        p->mark = _mark;
 5418|  1.76k|        D(fprintf(stderr, "%*c%s kwds[%d-%d]: %s failed!\n", p->level, ' ',
 5419|  1.76k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'**' param_no_default"));
 5420|  1.76k|    }
 5421|  1.76k|    _res = NULL;
 5422|  1.86k|  done:
 5423|  1.86k|    p->level--;
 5424|  1.86k|    return _res;
 5425|  1.76k|}
parser.c:param_no_default_star_annotation_rule:
 5510|    120|{
 5511|    120|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    240|#  define MAXSTACK 6000
  ------------------
  |  Branch (5511:9): [True: 0, False: 120]
  |  Branch (5511:35): [True: 0, False: 120]
  ------------------
 5512|      0|        _Pypegen_stack_overflow(p);
 5513|      0|    }
 5514|    120|    if (p->error_indicator) {
  ------------------
  |  Branch (5514:9): [True: 0, False: 120]
  ------------------
 5515|      0|        p->level--;
 5516|      0|        return NULL;
 5517|      0|    }
 5518|    120|    arg_ty _res = NULL;
 5519|    120|    int _mark = p->mark;
 5520|    120|    { // param_star_annotation ',' TYPE_COMMENT?
 5521|    120|        if (p->error_indicator) {
  ------------------
  |  Branch (5521:13): [True: 0, False: 120]
  ------------------
 5522|      0|            p->level--;
 5523|      0|            return NULL;
 5524|      0|        }
 5525|    120|        D(fprintf(stderr, "%*c> param_no_default_star_annotation[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_star_annotation ',' TYPE_COMMENT?"));
 5526|    120|        Token * _literal;
 5527|    120|        arg_ty a;
 5528|    120|        void *tc;
 5529|    120|        if (
 5530|    120|            (a = param_star_annotation_rule(p))  // param_star_annotation
  ------------------
  |  Branch (5530:13): [True: 0, False: 120]
  ------------------
 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|    120|        )
 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|    120|        p->mark = _mark;
 5547|    120|        D(fprintf(stderr, "%*c%s param_no_default_star_annotation[%d-%d]: %s failed!\n", p->level, ' ',
 5548|    120|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_star_annotation ',' TYPE_COMMENT?"));
 5549|    120|    }
 5550|      0|    { // param_star_annotation TYPE_COMMENT? &')'
 5551|    120|        if (p->error_indicator) {
  ------------------
  |  Branch (5551:13): [True: 0, False: 120]
  ------------------
 5552|      0|            p->level--;
 5553|      0|            return NULL;
 5554|      0|        }
 5555|    120|        D(fprintf(stderr, "%*c> param_no_default_star_annotation[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "param_star_annotation TYPE_COMMENT? &')'"));
 5556|    120|        arg_ty a;
 5557|    120|        void *tc;
 5558|    120|        if (
 5559|    120|            (a = param_star_annotation_rule(p))  // param_star_annotation
  ------------------
  |  Branch (5559:13): [True: 0, False: 120]
  ------------------
 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|    120|        )
 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|    120|        p->mark = _mark;
 5576|    120|        D(fprintf(stderr, "%*c%s param_no_default_star_annotation[%d-%d]: %s failed!\n", p->level, ' ',
 5577|    120|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "param_star_annotation TYPE_COMMENT? &')'"));
 5578|    120|    }
 5579|    120|    _res = NULL;
 5580|    120|  done:
 5581|    120|    p->level--;
 5582|    120|    return _res;
 5583|    120|}
parser.c:param_star_annotation_rule:
 5822|    240|{
 5823|    240|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    480|#  define MAXSTACK 6000
  ------------------
  |  Branch (5823:9): [True: 0, False: 240]
  |  Branch (5823:35): [True: 0, False: 240]
  ------------------
 5824|      0|        _Pypegen_stack_overflow(p);
 5825|      0|    }
 5826|    240|    if (p->error_indicator) {
  ------------------
  |  Branch (5826:9): [True: 0, False: 240]
  ------------------
 5827|      0|        p->level--;
 5828|      0|        return NULL;
 5829|      0|    }
 5830|    240|    arg_ty _res = NULL;
 5831|    240|    int _mark = p->mark;
 5832|    240|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (5832:9): [True: 0, False: 240]
  |  Branch (5832:31): [True: 0, False: 0]
  ------------------
 5833|      0|        p->error_indicator = 1;
 5834|      0|        p->level--;
 5835|      0|        return NULL;
 5836|      0|    }
 5837|    240|    int _start_lineno = p->tokens[_mark]->lineno;
 5838|    240|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    240|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 240]
  |  |  ------------------
  ------------------
 5839|    240|    int _start_col_offset = p->tokens[_mark]->col_offset;
 5840|    240|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    240|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 240]
  |  |  ------------------
  ------------------
 5841|    240|    { // NAME star_annotation
 5842|    240|        if (p->error_indicator) {
  ------------------
  |  Branch (5842:13): [True: 0, False: 240]
  ------------------
 5843|      0|            p->level--;
 5844|      0|            return NULL;
 5845|      0|        }
 5846|    240|        D(fprintf(stderr, "%*c> param_star_annotation[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NAME star_annotation"));
 5847|    240|        expr_ty a;
 5848|    240|        expr_ty b;
 5849|    240|        if (
 5850|    240|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (5850:13): [True: 0, False: 240]
  ------------------
 5851|      0|            &&
 5852|      0|            (b = star_annotation_rule(p))  // star_annotation
  ------------------
  |  Branch (5852:13): [True: 0, False: 0]
  ------------------
 5853|    240|        )
 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|    240|        p->mark = _mark;
 5874|    240|        D(fprintf(stderr, "%*c%s param_star_annotation[%d-%d]: %s failed!\n", p->level, ' ',
 5875|    240|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NAME star_annotation"));
 5876|    240|    }
 5877|    240|    _res = NULL;
 5878|    240|  done:
 5879|    240|    p->level--;
 5880|    240|    return _res;
 5881|    240|}
parser.c:_tmp_26_rule:
29965|  1.86k|{
29966|  1.86k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  3.73k|#  define MAXSTACK 6000
  ------------------
  |  Branch (29966:9): [True: 0, False: 1.86k]
  |  Branch (29966:35): [True: 0, False: 1.86k]
  ------------------
29967|      0|        _Pypegen_stack_overflow(p);
29968|      0|    }
29969|  1.86k|    if (p->error_indicator) {
  ------------------
  |  Branch (29969:9): [True: 0, False: 1.86k]
  ------------------
29970|      0|        p->level--;
29971|      0|        return NULL;
29972|      0|    }
29973|  1.86k|    void * _res = NULL;
29974|  1.86k|    int _mark = p->mark;
29975|  1.86k|    { // '->' expression
29976|  1.86k|        if (p->error_indicator) {
  ------------------
  |  Branch (29976:13): [True: 0, False: 1.86k]
  ------------------
29977|      0|            p->level--;
29978|      0|            return NULL;
29979|      0|        }
29980|  1.86k|        D(fprintf(stderr, "%*c> _tmp_26[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'->' expression"));
29981|  1.86k|        Token * _literal;
29982|  1.86k|        expr_ty z;
29983|  1.86k|        if (
29984|  1.86k|            (_literal = _PyPegen_expect_token(p, 51))  // token='->'
  ------------------
  |  Branch (29984:13): [True: 28, False: 1.83k]
  ------------------
29985|     28|            &&
29986|     28|            (z = expression_rule(p))  // expression
  ------------------
  |  Branch (29986:13): [True: 28, False: 0]
  ------------------
29987|  1.86k|        )
29988|     28|        {
29989|     28|            D(fprintf(stderr, "%*c+ _tmp_26[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'->' expression"));
29990|     28|            _res = z;
29991|     28|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (29991:18): [True: 0, False: 28]
  |  Branch (29991:34): [True: 0, False: 28]
  |  Branch (29991:57): [True: 0, False: 0]
  ------------------
29992|      0|                p->error_indicator = 1;
29993|      0|                p->level--;
29994|      0|                return NULL;
29995|      0|            }
29996|     28|            goto done;
29997|     28|        }
29998|  1.83k|        p->mark = _mark;
29999|  1.83k|        D(fprintf(stderr, "%*c%s _tmp_26[%d-%d]: %s failed!\n", p->level, ' ',
30000|  1.83k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'->' expression"));
30001|  1.83k|    }
30002|  1.83k|    _res = NULL;
30003|  1.86k|  done:
30004|  1.86k|    p->level--;
30005|  1.86k|    return _res;
30006|  1.83k|}
parser.c:func_type_comment_rule:
20952|  1.86k|{
20953|  1.86k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  3.73k|#  define MAXSTACK 6000
  ------------------
  |  Branch (20953:9): [True: 0, False: 1.86k]
  |  Branch (20953:35): [True: 0, False: 1.86k]
  ------------------
20954|      0|        _Pypegen_stack_overflow(p);
20955|      0|    }
20956|  1.86k|    if (p->error_indicator) {
  ------------------
  |  Branch (20956:9): [True: 0, False: 1.86k]
  ------------------
20957|      0|        p->level--;
20958|      0|        return NULL;
20959|      0|    }
20960|  1.86k|    Token* _res = NULL;
20961|  1.86k|    int _mark = p->mark;
20962|  1.86k|    { // NEWLINE TYPE_COMMENT &(NEWLINE INDENT)
20963|  1.86k|        if (p->error_indicator) {
  ------------------
  |  Branch (20963:13): [True: 0, False: 1.86k]
  ------------------
20964|      0|            p->level--;
20965|      0|            return NULL;
20966|      0|        }
20967|  1.86k|        D(fprintf(stderr, "%*c> func_type_comment[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NEWLINE TYPE_COMMENT &(NEWLINE INDENT)"));
20968|  1.86k|        Token * newline_var;
20969|  1.86k|        Token * t;
20970|  1.86k|        if (
20971|  1.86k|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|  1.86k|#define NEWLINE         4
  ------------------
  |  Branch (20971:13): [True: 1.86k, False: 2]
  ------------------
20972|  1.86k|            &&
20973|  1.86k|            (t = _PyPegen_expect_token(p, TYPE_COMMENT))  // token='TYPE_COMMENT'
  ------------------
  |  |   73|  1.86k|#define TYPE_COMMENT    57
  ------------------
  |  Branch (20973:13): [True: 0, False: 1.86k]
  ------------------
20974|      0|            &&
20975|      0|            _PyPegen_lookahead(1, _tmp_106_rule, p)
  ------------------
  |  Branch (20975:13): [True: 0, False: 0]
  ------------------
20976|  1.86k|        )
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|  1.86k|        p->mark = _mark;
20988|  1.86k|        D(fprintf(stderr, "%*c%s func_type_comment[%d-%d]: %s failed!\n", p->level, ' ',
20989|  1.86k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NEWLINE TYPE_COMMENT &(NEWLINE INDENT)"));
20990|  1.86k|    }
20991|  1.86k|    if (p->call_invalid_rules) { // invalid_double_type_comments
  ------------------
  |  Branch (20991:9): [True: 0, False: 1.86k]
  ------------------
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|  1.86k|    { // TYPE_COMMENT
21011|  1.86k|        if (p->error_indicator) {
  ------------------
  |  Branch (21011:13): [True: 0, False: 1.86k]
  ------------------
21012|      0|            p->level--;
21013|      0|            return NULL;
21014|      0|        }
21015|  1.86k|        D(fprintf(stderr, "%*c> func_type_comment[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "TYPE_COMMENT"));
21016|  1.86k|        Token * type_comment_var;
21017|  1.86k|        if (
21018|  1.86k|            (type_comment_var = _PyPegen_expect_token(p, TYPE_COMMENT))  // token='TYPE_COMMENT'
  ------------------
  |  |   73|  1.86k|#define TYPE_COMMENT    57
  ------------------
  |  Branch (21018:13): [True: 0, False: 1.86k]
  ------------------
21019|  1.86k|        )
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|  1.86k|        p->mark = _mark;
21026|  1.86k|        D(fprintf(stderr, "%*c%s func_type_comment[%d-%d]: %s failed!\n", p->level, ' ',
21027|  1.86k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "TYPE_COMMENT"));
21028|  1.86k|    }
21029|  1.86k|    _res = NULL;
21030|  1.86k|  done:
21031|  1.86k|    p->level--;
21032|  1.86k|    return _res;
21033|  1.86k|}
parser.c:block_rule:
 4272|  7.96k|{
 4273|  7.96k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  15.9k|#  define MAXSTACK 6000
  ------------------
  |  Branch (4273:9): [True: 0, False: 7.96k]
  |  Branch (4273:35): [True: 0, False: 7.96k]
  ------------------
 4274|      0|        _Pypegen_stack_overflow(p);
 4275|      0|    }
 4276|  7.96k|    if (p->error_indicator) {
  ------------------
  |  Branch (4276:9): [True: 0, False: 7.96k]
  ------------------
 4277|      0|        p->level--;
 4278|      0|        return NULL;
 4279|      0|    }
 4280|  7.96k|    asdl_stmt_seq* _res = NULL;
 4281|  7.96k|    if (_PyPegen_is_memoized(p, block_type, &_res)) {
  ------------------
  |  |  122|  7.96k|#define block_type 1033
  ------------------
  |  Branch (4281:9): [True: 2.30k, False: 5.65k]
  ------------------
 4282|  2.30k|        p->level--;
 4283|  2.30k|        return _res;
 4284|  2.30k|    }
 4285|  5.65k|    int _mark = p->mark;
 4286|  5.65k|    { // NEWLINE INDENT statements DEDENT
 4287|  5.65k|        if (p->error_indicator) {
  ------------------
  |  Branch (4287:13): [True: 0, False: 5.65k]
  ------------------
 4288|      0|            p->level--;
 4289|      0|            return NULL;
 4290|      0|        }
 4291|  5.65k|        D(fprintf(stderr, "%*c> block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NEWLINE INDENT statements DEDENT"));
 4292|  5.65k|        asdl_stmt_seq* a;
 4293|  5.65k|        Token * dedent_var;
 4294|  5.65k|        Token * indent_var;
 4295|  5.65k|        Token * newline_var;
 4296|  5.65k|        if (
 4297|  5.65k|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|  5.65k|#define NEWLINE         4
  ------------------
  |  Branch (4297:13): [True: 5.65k, False: 2]
  ------------------
 4298|  5.65k|            &&
 4299|  5.65k|            (indent_var = _PyPegen_expect_token(p, INDENT))  // token='INDENT'
  ------------------
  |  |   21|  5.65k|#define INDENT          5
  ------------------
  |  Branch (4299:13): [True: 5.65k, False: 0]
  ------------------
 4300|  5.65k|            &&
 4301|  5.65k|            (a = statements_rule(p))  // statements
  ------------------
  |  Branch (4301:13): [True: 5.65k, False: 0]
  ------------------
 4302|  5.65k|            &&
 4303|  5.65k|            (dedent_var = _PyPegen_expect_token(p, DEDENT))  // token='DEDENT'
  ------------------
  |  |   22|  5.65k|#define DEDENT          6
  ------------------
  |  Branch (4303:13): [True: 5.65k, False: 0]
  ------------------
 4304|  5.65k|        )
 4305|  5.65k|        {
 4306|  5.65k|            D(fprintf(stderr, "%*c+ block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NEWLINE INDENT statements DEDENT"));
 4307|  5.65k|            _res = a;
 4308|  5.65k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4308:18): [True: 0, False: 5.65k]
  |  Branch (4308:34): [True: 0, False: 5.65k]
  |  Branch (4308:57): [True: 0, False: 0]
  ------------------
 4309|      0|                p->error_indicator = 1;
 4310|      0|                p->level--;
 4311|      0|                return NULL;
 4312|      0|            }
 4313|  5.65k|            goto done;
 4314|  5.65k|        }
 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|  5.65k|  done:
 4359|  5.65k|    _PyPegen_insert_memo(p, _mark, block_type, _res);
  ------------------
  |  |  122|  5.65k|#define block_type 1033
  ------------------
 4360|  5.65k|    p->level--;
 4361|  5.65k|    return _res;
 4362|      0|}
parser.c:if_stmt_rule:
 6046|  2.06k|{
 6047|  2.06k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  4.13k|#  define MAXSTACK 6000
  ------------------
  |  Branch (6047:9): [True: 0, False: 2.06k]
  |  Branch (6047:35): [True: 0, False: 2.06k]
  ------------------
 6048|      0|        _Pypegen_stack_overflow(p);
 6049|      0|    }
 6050|  2.06k|    if (p->error_indicator) {
  ------------------
  |  Branch (6050:9): [True: 0, False: 2.06k]
  ------------------
 6051|      0|        p->level--;
 6052|      0|        return NULL;
 6053|      0|    }
 6054|  2.06k|    stmt_ty _res = NULL;
 6055|  2.06k|    int _mark = p->mark;
 6056|  2.06k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (6056:9): [True: 0, False: 2.06k]
  |  Branch (6056:31): [True: 0, False: 0]
  ------------------
 6057|      0|        p->error_indicator = 1;
 6058|      0|        p->level--;
 6059|      0|        return NULL;
 6060|      0|    }
 6061|  2.06k|    int _start_lineno = p->tokens[_mark]->lineno;
 6062|  2.06k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|  2.06k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 2.06k]
  |  |  ------------------
  ------------------
 6063|  2.06k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 6064|  2.06k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|  2.06k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 2.06k]
  |  |  ------------------
  ------------------
 6065|  2.06k|    if (p->call_invalid_rules) { // invalid_if_stmt
  ------------------
  |  Branch (6065:9): [True: 0, False: 2.06k]
  ------------------
 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|  2.06k|    { // 'if' named_expression ':' block elif_stmt
 6085|  2.06k|        if (p->error_indicator) {
  ------------------
  |  Branch (6085:13): [True: 0, False: 2.06k]
  ------------------
 6086|      0|            p->level--;
 6087|      0|            return NULL;
 6088|      0|        }
 6089|  2.06k|        D(fprintf(stderr, "%*c> if_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'if' named_expression ':' block elif_stmt"));
 6090|  2.06k|        Token * _keyword;
 6091|  2.06k|        Token * _literal;
 6092|  2.06k|        expr_ty a;
 6093|  2.06k|        asdl_stmt_seq* b;
 6094|  2.06k|        stmt_ty c;
 6095|  2.06k|        if (
 6096|  2.06k|            (_keyword = _PyPegen_expect_token(p, 698))  // token='if'
  ------------------
  |  Branch (6096:13): [True: 2.06k, False: 0]
  ------------------
 6097|  2.06k|            &&
 6098|  2.06k|            (a = named_expression_rule(p))  // named_expression
  ------------------
  |  Branch (6098:13): [True: 2.06k, False: 0]
  ------------------
 6099|  2.06k|            &&
 6100|  2.06k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (6100:13): [True: 2.06k, False: 0]
  ------------------
 6101|  2.06k|            &&
 6102|  2.06k|            (b = block_rule(p))  // block
  ------------------
  |  Branch (6102:13): [True: 2.06k, False: 0]
  ------------------
 6103|  2.06k|            &&
 6104|  2.06k|            (c = elif_stmt_rule(p))  // elif_stmt
  ------------------
  |  Branch (6104:13): [True: 120, False: 1.94k]
  ------------------
 6105|  2.06k|        )
 6106|    120|        {
 6107|    120|            D(fprintf(stderr, "%*c+ if_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'if' named_expression ':' block elif_stmt"));
 6108|    120|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 6109|    120|            if (_token == NULL) {
  ------------------
  |  Branch (6109:17): [True: 0, False: 120]
  ------------------
 6110|      0|                p->level--;
 6111|      0|                return NULL;
 6112|      0|            }
 6113|    120|            int _end_lineno = _token->end_lineno;
 6114|    120|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    120|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 120]
  |  |  ------------------
  ------------------
 6115|    120|            int _end_col_offset = _token->end_col_offset;
 6116|    120|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    120|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 120]
  |  |  ------------------
  ------------------
 6117|    120|            _res = _PyAST_If ( a , b , CHECK ( asdl_stmt_seq* , _PyPegen_singleton_seq ( p , c ) ) , EXTRA );
  ------------------
  |  |  233|    120|#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|    120|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 6118|    120|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6118:18): [True: 0, False: 120]
  |  Branch (6118:34): [True: 0, False: 120]
  |  Branch (6118:57): [True: 0, False: 0]
  ------------------
 6119|      0|                p->error_indicator = 1;
 6120|      0|                p->level--;
 6121|      0|                return NULL;
 6122|      0|            }
 6123|    120|            goto done;
 6124|    120|        }
 6125|  1.94k|        p->mark = _mark;
 6126|  1.94k|        D(fprintf(stderr, "%*c%s if_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 6127|  1.94k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'if' named_expression ':' block elif_stmt"));
 6128|  1.94k|    }
 6129|      0|    { // 'if' named_expression ':' block else_block?
 6130|  1.94k|        if (p->error_indicator) {
  ------------------
  |  Branch (6130:13): [True: 0, False: 1.94k]
  ------------------
 6131|      0|            p->level--;
 6132|      0|            return NULL;
 6133|      0|        }
 6134|  1.94k|        D(fprintf(stderr, "%*c> if_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'if' named_expression ':' block else_block?"));
 6135|  1.94k|        Token * _keyword;
 6136|  1.94k|        Token * _literal;
 6137|  1.94k|        expr_ty a;
 6138|  1.94k|        asdl_stmt_seq* b;
 6139|  1.94k|        void *c;
 6140|  1.94k|        if (
 6141|  1.94k|            (_keyword = _PyPegen_expect_token(p, 698))  // token='if'
  ------------------
  |  Branch (6141:13): [True: 1.94k, False: 0]
  ------------------
 6142|  1.94k|            &&
 6143|  1.94k|            (a = named_expression_rule(p))  // named_expression
  ------------------
  |  Branch (6143:13): [True: 1.94k, False: 0]
  ------------------
 6144|  1.94k|            &&
 6145|  1.94k|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (6145:13): [True: 1.94k, False: 0]
  ------------------
 6146|  1.94k|            &&
 6147|  1.94k|            (b = block_rule(p))  // block
  ------------------
  |  Branch (6147:13): [True: 1.94k, False: 0]
  ------------------
 6148|  1.94k|            &&
 6149|  1.94k|            (c = else_block_rule(p), !p->error_indicator)  // else_block?
  ------------------
  |  Branch (6149:13): [True: 1.94k, False: 0]
  ------------------
 6150|  1.94k|        )
 6151|  1.94k|        {
 6152|  1.94k|            D(fprintf(stderr, "%*c+ if_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'if' named_expression ':' block else_block?"));
 6153|  1.94k|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 6154|  1.94k|            if (_token == NULL) {
  ------------------
  |  Branch (6154:17): [True: 0, False: 1.94k]
  ------------------
 6155|      0|                p->level--;
 6156|      0|                return NULL;
 6157|      0|            }
 6158|  1.94k|            int _end_lineno = _token->end_lineno;
 6159|  1.94k|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|  1.94k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 1.94k]
  |  |  ------------------
  ------------------
 6160|  1.94k|            int _end_col_offset = _token->end_col_offset;
 6161|  1.94k|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|  1.94k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 1.94k]
  |  |  ------------------
  ------------------
 6162|  1.94k|            _res = _PyAST_If ( a , b , c , EXTRA );
  ------------------
  |  |  269|  1.94k|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 6163|  1.94k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6163:18): [True: 0, False: 1.94k]
  |  Branch (6163:34): [True: 0, False: 1.94k]
  |  Branch (6163:57): [True: 0, False: 0]
  ------------------
 6164|      0|                p->error_indicator = 1;
 6165|      0|                p->level--;
 6166|      0|                return NULL;
 6167|      0|            }
 6168|  1.94k|            goto done;
 6169|  1.94k|        }
 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|  2.06k|  done:
 6176|  2.06k|    p->level--;
 6177|  2.06k|    return _res;
 6178|      0|}
parser.c:elif_stmt_rule:
 6186|  2.23k|{
 6187|  2.23k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  4.46k|#  define MAXSTACK 6000
  ------------------
  |  Branch (6187:9): [True: 0, False: 2.23k]
  |  Branch (6187:35): [True: 0, False: 2.23k]
  ------------------
 6188|      0|        _Pypegen_stack_overflow(p);
 6189|      0|    }
 6190|  2.23k|    if (p->error_indicator) {
  ------------------
  |  Branch (6190:9): [True: 0, False: 2.23k]
  ------------------
 6191|      0|        p->level--;
 6192|      0|        return NULL;
 6193|      0|    }
 6194|  2.23k|    stmt_ty _res = NULL;
 6195|  2.23k|    int _mark = p->mark;
 6196|  2.23k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (6196:9): [True: 2.23k, False: 0]
  |  Branch (6196:31): [True: 0, False: 2.23k]
  ------------------
 6197|      0|        p->error_indicator = 1;
 6198|      0|        p->level--;
 6199|      0|        return NULL;
 6200|      0|    }
 6201|  2.23k|    int _start_lineno = p->tokens[_mark]->lineno;
 6202|  2.23k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|  2.23k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 2.23k]
  |  |  ------------------
  ------------------
 6203|  2.23k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 6204|  2.23k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|  2.23k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 2.23k]
  |  |  ------------------
  ------------------
 6205|  2.23k|    if (p->call_invalid_rules) { // invalid_elif_stmt
  ------------------
  |  Branch (6205:9): [True: 0, False: 2.23k]
  ------------------
 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|  2.23k|    { // 'elif' named_expression ':' block elif_stmt
 6225|  2.23k|        if (p->error_indicator) {
  ------------------
  |  Branch (6225:13): [True: 0, False: 2.23k]
  ------------------
 6226|      0|            p->level--;
 6227|      0|            return NULL;
 6228|      0|        }
 6229|  2.23k|        D(fprintf(stderr, "%*c> elif_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'elif' named_expression ':' block elif_stmt"));
 6230|  2.23k|        Token * _keyword;
 6231|  2.23k|        Token * _literal;
 6232|  2.23k|        expr_ty a;
 6233|  2.23k|        asdl_stmt_seq* b;
 6234|  2.23k|        stmt_ty c;
 6235|  2.23k|        if (
 6236|  2.23k|            (_keyword = _PyPegen_expect_token(p, 703))  // token='elif'
  ------------------
  |  Branch (6236:13): [True: 168, False: 2.06k]
  ------------------
 6237|    168|            &&
 6238|    168|            (a = named_expression_rule(p))  // named_expression
  ------------------
  |  Branch (6238:13): [True: 168, False: 0]
  ------------------
 6239|    168|            &&
 6240|    168|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (6240:13): [True: 168, False: 0]
  ------------------
 6241|    168|            &&
 6242|    168|            (b = block_rule(p))  // block
  ------------------
  |  Branch (6242:13): [True: 168, False: 0]
  ------------------
 6243|    168|            &&
 6244|    168|            (c = elif_stmt_rule(p))  // elif_stmt
  ------------------
  |  Branch (6244:13): [True: 48, False: 120]
  ------------------
 6245|  2.23k|        )
 6246|     48|        {
 6247|     48|            D(fprintf(stderr, "%*c+ elif_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'elif' named_expression ':' block elif_stmt"));
 6248|     48|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 6249|     48|            if (_token == NULL) {
  ------------------
  |  Branch (6249:17): [True: 0, False: 48]
  ------------------
 6250|      0|                p->level--;
 6251|      0|                return NULL;
 6252|      0|            }
 6253|     48|            int _end_lineno = _token->end_lineno;
 6254|     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]
  |  |  ------------------
  ------------------
 6255|     48|            int _end_col_offset = _token->end_col_offset;
 6256|     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]
  |  |  ------------------
  ------------------
 6257|     48|            _res = _PyAST_If ( a , b , CHECK ( asdl_stmt_seq* , _PyPegen_singleton_seq ( p , c ) ) , EXTRA );
  ------------------
  |  |  233|     48|#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|     48|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 6258|     48|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6258:18): [True: 0, False: 48]
  |  Branch (6258:34): [True: 0, False: 48]
  |  Branch (6258:57): [True: 0, False: 0]
  ------------------
 6259|      0|                p->error_indicator = 1;
 6260|      0|                p->level--;
 6261|      0|                return NULL;
 6262|      0|            }
 6263|     48|            goto done;
 6264|     48|        }
 6265|  2.18k|        p->mark = _mark;
 6266|  2.18k|        D(fprintf(stderr, "%*c%s elif_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 6267|  2.18k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'elif' named_expression ':' block elif_stmt"));
 6268|  2.18k|    }
 6269|      0|    { // 'elif' named_expression ':' block else_block?
 6270|  2.18k|        if (p->error_indicator) {
  ------------------
  |  Branch (6270:13): [True: 0, False: 2.18k]
  ------------------
 6271|      0|            p->level--;
 6272|      0|            return NULL;
 6273|      0|        }
 6274|  2.18k|        D(fprintf(stderr, "%*c> elif_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'elif' named_expression ':' block else_block?"));
 6275|  2.18k|        Token * _keyword;
 6276|  2.18k|        Token * _literal;
 6277|  2.18k|        expr_ty a;
 6278|  2.18k|        asdl_stmt_seq* b;
 6279|  2.18k|        void *c;
 6280|  2.18k|        if (
 6281|  2.18k|            (_keyword = _PyPegen_expect_token(p, 703))  // token='elif'
  ------------------
  |  Branch (6281:13): [True: 120, False: 2.06k]
  ------------------
 6282|    120|            &&
 6283|    120|            (a = named_expression_rule(p))  // named_expression
  ------------------
  |  Branch (6283:13): [True: 120, False: 0]
  ------------------
 6284|    120|            &&
 6285|    120|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (6285:13): [True: 120, False: 0]
  ------------------
 6286|    120|            &&
 6287|    120|            (b = block_rule(p))  // block
  ------------------
  |  Branch (6287:13): [True: 120, False: 0]
  ------------------
 6288|    120|            &&
 6289|    120|            (c = else_block_rule(p), !p->error_indicator)  // else_block?
  ------------------
  |  Branch (6289:13): [True: 120, False: 0]
  ------------------
 6290|  2.18k|        )
 6291|    120|        {
 6292|    120|            D(fprintf(stderr, "%*c+ elif_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'elif' named_expression ':' block else_block?"));
 6293|    120|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 6294|    120|            if (_token == NULL) {
  ------------------
  |  Branch (6294:17): [True: 0, False: 120]
  ------------------
 6295|      0|                p->level--;
 6296|      0|                return NULL;
 6297|      0|            }
 6298|    120|            int _end_lineno = _token->end_lineno;
 6299|    120|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    120|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 120]
  |  |  ------------------
  ------------------
 6300|    120|            int _end_col_offset = _token->end_col_offset;
 6301|    120|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    120|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 120]
  |  |  ------------------
  ------------------
 6302|    120|            _res = _PyAST_If ( a , b , c , EXTRA );
  ------------------
  |  |  269|    120|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 6303|    120|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6303:18): [True: 0, False: 120]
  |  Branch (6303:34): [True: 0, False: 120]
  |  Branch (6303:57): [True: 0, False: 0]
  ------------------
 6304|      0|                p->error_indicator = 1;
 6305|      0|                p->level--;
 6306|      0|                return NULL;
 6307|      0|            }
 6308|    120|            goto done;
 6309|    120|        }
 6310|  2.06k|        p->mark = _mark;
 6311|  2.06k|        D(fprintf(stderr, "%*c%s elif_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 6312|  2.06k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'elif' named_expression ':' block else_block?"));
 6313|  2.06k|    }
 6314|  2.06k|    _res = NULL;
 6315|  2.23k|  done:
 6316|  2.23k|    p->level--;
 6317|  2.23k|    return _res;
 6318|  2.06k|}
parser.c:else_block_rule:
 6323|  2.56k|{
 6324|  2.56k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  5.13k|#  define MAXSTACK 6000
  ------------------
  |  Branch (6324:9): [True: 0, False: 2.56k]
  |  Branch (6324:35): [True: 0, False: 2.56k]
  ------------------
 6325|      0|        _Pypegen_stack_overflow(p);
 6326|      0|    }
 6327|  2.56k|    if (p->error_indicator) {
  ------------------
  |  Branch (6327:9): [True: 0, False: 2.56k]
  ------------------
 6328|      0|        p->level--;
 6329|      0|        return NULL;
 6330|      0|    }
 6331|  2.56k|    asdl_stmt_seq* _res = NULL;
 6332|  2.56k|    int _mark = p->mark;
 6333|  2.56k|    if (p->call_invalid_rules) { // invalid_else_stmt
  ------------------
  |  Branch (6333:9): [True: 0, False: 2.56k]
  ------------------
 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|  2.56k|    { // 'else' &&':' block
 6353|  2.56k|        if (p->error_indicator) {
  ------------------
  |  Branch (6353:13): [True: 0, False: 2.56k]
  ------------------
 6354|      0|            p->level--;
 6355|      0|            return NULL;
 6356|      0|        }
 6357|  2.56k|        D(fprintf(stderr, "%*c> else_block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'else' &&':' block"));
 6358|  2.56k|        Token * _keyword;
 6359|  2.56k|        Token * _literal;
 6360|  2.56k|        asdl_stmt_seq* b;
 6361|  2.56k|        if (
 6362|  2.56k|            (_keyword = _PyPegen_expect_token(p, 702))  // token='else'
  ------------------
  |  Branch (6362:13): [True: 385, False: 2.18k]
  ------------------
 6363|    385|            &&
 6364|    385|            (_literal = _PyPegen_expect_forced_token(p, 11, ":"))  // forced_token=':'
  ------------------
  |  Branch (6364:13): [True: 385, False: 0]
  ------------------
 6365|    385|            &&
 6366|    385|            (b = block_rule(p))  // block
  ------------------
  |  Branch (6366:13): [True: 385, False: 0]
  ------------------
 6367|  2.56k|        )
 6368|    385|        {
 6369|    385|            D(fprintf(stderr, "%*c+ else_block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'else' &&':' block"));
 6370|    385|            _res = b;
 6371|    385|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6371:18): [True: 0, False: 385]
  |  Branch (6371:34): [True: 0, False: 385]
  |  Branch (6371:57): [True: 0, False: 0]
  ------------------
 6372|      0|                p->error_indicator = 1;
 6373|      0|                p->level--;
 6374|      0|                return NULL;
 6375|      0|            }
 6376|    385|            goto done;
 6377|    385|        }
 6378|  2.18k|        p->mark = _mark;
 6379|  2.18k|        D(fprintf(stderr, "%*c%s else_block[%d-%d]: %s failed!\n", p->level, ' ',
 6380|  2.18k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'else' &&':' block"));
 6381|  2.18k|    }
 6382|  2.18k|    _res = NULL;
 6383|  2.56k|  done:
 6384|  2.56k|    p->level--;
 6385|  2.56k|    return _res;
 6386|  2.18k|}
parser.c:_tmp_7_rule:
28848|  70.1k|{
28849|  70.1k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   140k|#  define MAXSTACK 6000
  ------------------
  |  Branch (28849:9): [True: 0, False: 70.1k]
  |  Branch (28849:35): [True: 0, False: 70.1k]
  ------------------
28850|      0|        _Pypegen_stack_overflow(p);
28851|      0|    }
28852|  70.1k|    if (p->error_indicator) {
  ------------------
  |  Branch (28852:9): [True: 0, False: 70.1k]
  ------------------
28853|      0|        p->level--;
28854|      0|        return NULL;
28855|      0|    }
28856|  70.1k|    void * _res = NULL;
28857|  70.1k|    int _mark = p->mark;
28858|  70.1k|    { // 'class'
28859|  70.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (28859:13): [True: 0, False: 70.1k]
  ------------------
28860|      0|            p->level--;
28861|      0|            return NULL;
28862|      0|        }
28863|  70.1k|        D(fprintf(stderr, "%*c> _tmp_7[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'class'"));
28864|  70.1k|        Token * _keyword;
28865|  70.1k|        if (
28866|  70.1k|            (_keyword = _PyPegen_expect_token(p, 717))  // token='class'
  ------------------
  |  Branch (28866:13): [True: 147, False: 69.9k]
  ------------------
28867|  70.1k|        )
28868|    147|        {
28869|    147|            D(fprintf(stderr, "%*c+ _tmp_7[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'class'"));
28870|    147|            _res = _keyword;
28871|    147|            goto done;
28872|    147|        }
28873|  69.9k|        p->mark = _mark;
28874|  69.9k|        D(fprintf(stderr, "%*c%s _tmp_7[%d-%d]: %s failed!\n", p->level, ' ',
28875|  69.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'class'"));
28876|  69.9k|    }
28877|      0|    { // '@'
28878|  69.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (28878:13): [True: 0, False: 69.9k]
  ------------------
28879|      0|            p->level--;
28880|      0|            return NULL;
28881|      0|        }
28882|  69.9k|        D(fprintf(stderr, "%*c> _tmp_7[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'@'"));
28883|  69.9k|        Token * _literal;
28884|  69.9k|        if (
28885|  69.9k|            (_literal = _PyPegen_expect_token(p, 49))  // token='@'
  ------------------
  |  Branch (28885:13): [True: 2, False: 69.9k]
  ------------------
28886|  69.9k|        )
28887|      2|        {
28888|      2|            D(fprintf(stderr, "%*c+ _tmp_7[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'@'"));
28889|      2|            _res = _literal;
28890|      2|            goto done;
28891|      2|        }
28892|  69.9k|        p->mark = _mark;
28893|  69.9k|        D(fprintf(stderr, "%*c%s _tmp_7[%d-%d]: %s failed!\n", p->level, ' ',
28894|  69.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'@'"));
28895|  69.9k|    }
28896|  69.9k|    _res = NULL;
28897|  70.1k|  done:
28898|  70.1k|    p->level--;
28899|  70.1k|    return _res;
28900|  69.9k|}
parser.c:class_def_rule:
 4410|    149|{
 4411|    149|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    298|#  define MAXSTACK 6000
  ------------------
  |  Branch (4411:9): [True: 0, False: 149]
  |  Branch (4411:35): [True: 0, False: 149]
  ------------------
 4412|      0|        _Pypegen_stack_overflow(p);
 4413|      0|    }
 4414|    149|    if (p->error_indicator) {
  ------------------
  |  Branch (4414:9): [True: 0, False: 149]
  ------------------
 4415|      0|        p->level--;
 4416|      0|        return NULL;
 4417|      0|    }
 4418|    149|    stmt_ty _res = NULL;
 4419|    149|    int _mark = p->mark;
 4420|    149|    { // decorators class_def_raw
 4421|    149|        if (p->error_indicator) {
  ------------------
  |  Branch (4421:13): [True: 0, False: 149]
  ------------------
 4422|      0|            p->level--;
 4423|      0|            return NULL;
 4424|      0|        }
 4425|    149|        D(fprintf(stderr, "%*c> class_def[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "decorators class_def_raw"));
 4426|    149|        asdl_expr_seq* a;
 4427|    149|        stmt_ty b;
 4428|    149|        if (
 4429|    149|            (a = decorators_rule(p))  // decorators
  ------------------
  |  Branch (4429:13): [True: 2, False: 147]
  ------------------
 4430|      2|            &&
 4431|      2|            (b = class_def_raw_rule(p))  // class_def_raw
  ------------------
  |  Branch (4431:13): [True: 2, False: 0]
  ------------------
 4432|    149|        )
 4433|      2|        {
 4434|      2|            D(fprintf(stderr, "%*c+ class_def[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "decorators class_def_raw"));
 4435|      2|            _res = _PyPegen_class_def_decorators ( p , a , b );
 4436|      2|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4436:18): [True: 0, False: 2]
  |  Branch (4436:34): [True: 0, False: 2]
  |  Branch (4436:57): [True: 0, False: 0]
  ------------------
 4437|      0|                p->error_indicator = 1;
 4438|      0|                p->level--;
 4439|      0|                return NULL;
 4440|      0|            }
 4441|      2|            goto done;
 4442|      2|        }
 4443|    147|        p->mark = _mark;
 4444|    147|        D(fprintf(stderr, "%*c%s class_def[%d-%d]: %s failed!\n", p->level, ' ',
 4445|    147|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "decorators class_def_raw"));
 4446|    147|    }
 4447|      0|    { // class_def_raw
 4448|    147|        if (p->error_indicator) {
  ------------------
  |  Branch (4448:13): [True: 0, False: 147]
  ------------------
 4449|      0|            p->level--;
 4450|      0|            return NULL;
 4451|      0|        }
 4452|    147|        D(fprintf(stderr, "%*c> class_def[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "class_def_raw"));
 4453|    147|        stmt_ty class_def_raw_var;
 4454|    147|        if (
 4455|    147|            (class_def_raw_var = class_def_raw_rule(p))  // class_def_raw
  ------------------
  |  Branch (4455:13): [True: 147, False: 0]
  ------------------
 4456|    147|        )
 4457|    147|        {
 4458|    147|            D(fprintf(stderr, "%*c+ class_def[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "class_def_raw"));
 4459|    147|            _res = class_def_raw_var;
 4460|    147|            goto done;
 4461|    147|        }
 4462|      0|        p->mark = _mark;
 4463|      0|        D(fprintf(stderr, "%*c%s class_def[%d-%d]: %s failed!\n", p->level, ' ',
 4464|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "class_def_raw"));
 4465|      0|    }
 4466|      0|    _res = NULL;
 4467|    149|  done:
 4468|    149|    p->level--;
 4469|    149|    return _res;
 4470|      0|}
parser.c:class_def_raw_rule:
 4477|    149|{
 4478|    149|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    298|#  define MAXSTACK 6000
  ------------------
  |  Branch (4478:9): [True: 0, False: 149]
  |  Branch (4478:35): [True: 0, False: 149]
  ------------------
 4479|      0|        _Pypegen_stack_overflow(p);
 4480|      0|    }
 4481|    149|    if (p->error_indicator) {
  ------------------
  |  Branch (4481:9): [True: 0, False: 149]
  ------------------
 4482|      0|        p->level--;
 4483|      0|        return NULL;
 4484|      0|    }
 4485|    149|    stmt_ty _res = NULL;
 4486|    149|    int _mark = p->mark;
 4487|    149|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (4487:9): [True: 0, False: 149]
  |  Branch (4487:31): [True: 0, False: 0]
  ------------------
 4488|      0|        p->error_indicator = 1;
 4489|      0|        p->level--;
 4490|      0|        return NULL;
 4491|      0|    }
 4492|    149|    int _start_lineno = p->tokens[_mark]->lineno;
 4493|    149|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    149|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 149]
  |  |  ------------------
  ------------------
 4494|    149|    int _start_col_offset = p->tokens[_mark]->col_offset;
 4495|    149|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    149|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 149]
  |  |  ------------------
  ------------------
 4496|    149|    if (p->call_invalid_rules) { // invalid_class_def_raw
  ------------------
  |  Branch (4496:9): [True: 0, False: 149]
  ------------------
 4497|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (4497:13): [True: 0, False: 0]
  ------------------
 4498|      0|            p->level--;
 4499|      0|            return NULL;
 4500|      0|        }
 4501|      0|        D(fprintf(stderr, "%*c> class_def_raw[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_class_def_raw"));
 4502|      0|        void *invalid_class_def_raw_var;
 4503|      0|        if (
 4504|      0|            (invalid_class_def_raw_var = invalid_class_def_raw_rule(p))  // invalid_class_def_raw
  ------------------
  |  Branch (4504:13): [True: 0, False: 0]
  ------------------
 4505|      0|        )
 4506|      0|        {
 4507|      0|            D(fprintf(stderr, "%*c+ class_def_raw[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_class_def_raw"));
 4508|      0|            _res = invalid_class_def_raw_var;
 4509|      0|            goto done;
 4510|      0|        }
 4511|      0|        p->mark = _mark;
 4512|      0|        D(fprintf(stderr, "%*c%s class_def_raw[%d-%d]: %s failed!\n", p->level, ' ',
 4513|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_class_def_raw"));
 4514|      0|    }
 4515|    149|    { // 'class' NAME type_params? ['(' arguments? ')'] ':' block
 4516|    149|        if (p->error_indicator) {
  ------------------
  |  Branch (4516:13): [True: 0, False: 149]
  ------------------
 4517|      0|            p->level--;
 4518|      0|            return NULL;
 4519|      0|        }
 4520|    149|        D(fprintf(stderr, "%*c> class_def_raw[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'class' NAME type_params? ['(' arguments? ')'] ':' block"));
 4521|    149|        Token * _keyword;
 4522|    149|        Token * _literal;
 4523|    149|        expr_ty a;
 4524|    149|        void *b;
 4525|    149|        asdl_stmt_seq* c;
 4526|    149|        void *t;
 4527|    149|        if (
 4528|    149|            (_keyword = _PyPegen_expect_token(p, 717))  // token='class'
  ------------------
  |  Branch (4528:13): [True: 149, False: 0]
  ------------------
 4529|    149|            &&
 4530|    149|            (a = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (4530:13): [True: 149, False: 0]
  ------------------
 4531|    149|            &&
 4532|    149|            (t = type_params_rule(p), !p->error_indicator)  // type_params?
  ------------------
  |  Branch (4532:13): [True: 149, False: 0]
  ------------------
 4533|    149|            &&
 4534|    149|            (b = _tmp_25_rule(p), !p->error_indicator)  // ['(' arguments? ')']
  ------------------
  |  Branch (4534:13): [True: 149, False: 0]
  ------------------
 4535|    149|            &&
 4536|    149|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (4536:13): [True: 149, False: 0]
  ------------------
 4537|    149|            &&
 4538|    149|            (c = block_rule(p))  // block
  ------------------
  |  Branch (4538:13): [True: 149, False: 0]
  ------------------
 4539|    149|        )
 4540|    149|        {
 4541|    149|            D(fprintf(stderr, "%*c+ class_def_raw[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'class' NAME type_params? ['(' arguments? ')'] ':' block"));
 4542|    149|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 4543|    149|            if (_token == NULL) {
  ------------------
  |  Branch (4543:17): [True: 0, False: 149]
  ------------------
 4544|      0|                p->level--;
 4545|      0|                return NULL;
 4546|      0|            }
 4547|    149|            int _end_lineno = _token->end_lineno;
 4548|    149|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    149|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 149]
  |  |  ------------------
  ------------------
 4549|    149|            int _end_col_offset = _token->end_col_offset;
 4550|    149|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    149|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 149]
  |  |  ------------------
  ------------------
 4551|    149|            _res = _PyAST_ClassDef ( a -> v . Name . id , ( b ) ? ( ( expr_ty ) b ) -> v . Call . args : NULL , ( b ) ? ( ( expr_ty ) b ) -> v . Call . keywords : NULL , c , NULL , t , EXTRA );
  ------------------
  |  |  269|    149|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
  |  Branch (4551:59): [True: 122, False: 27]
  |  Branch (4551:113): [True: 122, False: 27]
  ------------------
 4552|    149|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (4552:18): [True: 0, False: 149]
  |  Branch (4552:34): [True: 0, False: 149]
  |  Branch (4552:57): [True: 0, False: 0]
  ------------------
 4553|      0|                p->error_indicator = 1;
 4554|      0|                p->level--;
 4555|      0|                return NULL;
 4556|      0|            }
 4557|    149|            goto done;
 4558|    149|        }
 4559|      0|        p->mark = _mark;
 4560|      0|        D(fprintf(stderr, "%*c%s class_def_raw[%d-%d]: %s failed!\n", p->level, ' ',
 4561|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'class' NAME type_params? ['(' arguments? ')'] ':' block"));
 4562|      0|    }
 4563|      0|    _res = NULL;
 4564|    149|  done:
 4565|    149|    p->level--;
 4566|    149|    return _res;
 4567|      0|}
parser.c:_tmp_25_rule:
29916|    149|{
29917|    149|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    298|#  define MAXSTACK 6000
  ------------------
  |  Branch (29917:9): [True: 0, False: 149]
  |  Branch (29917:35): [True: 0, False: 149]
  ------------------
29918|      0|        _Pypegen_stack_overflow(p);
29919|      0|    }
29920|    149|    if (p->error_indicator) {
  ------------------
  |  Branch (29920:9): [True: 0, False: 149]
  ------------------
29921|      0|        p->level--;
29922|      0|        return NULL;
29923|      0|    }
29924|    149|    void * _res = NULL;
29925|    149|    int _mark = p->mark;
29926|    149|    { // '(' arguments? ')'
29927|    149|        if (p->error_indicator) {
  ------------------
  |  Branch (29927:13): [True: 0, False: 149]
  ------------------
29928|      0|            p->level--;
29929|      0|            return NULL;
29930|      0|        }
29931|    149|        D(fprintf(stderr, "%*c> _tmp_25[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'(' arguments? ')'"));
29932|    149|        Token * _literal;
29933|    149|        Token * _literal_1;
29934|    149|        void *z;
29935|    149|        if (
29936|    149|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (29936:13): [True: 122, False: 27]
  ------------------
29937|    122|            &&
29938|    122|            (z = arguments_rule(p), !p->error_indicator)  // arguments?
  ------------------
  |  Branch (29938:13): [True: 122, False: 0]
  ------------------
29939|    122|            &&
29940|    122|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (29940:13): [True: 122, False: 0]
  ------------------
29941|    149|        )
29942|    122|        {
29943|    122|            D(fprintf(stderr, "%*c+ _tmp_25[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'(' arguments? ')'"));
29944|    122|            _res = z;
29945|    122|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (29945:18): [True: 0, False: 122]
  |  Branch (29945:34): [True: 0, False: 122]
  |  Branch (29945:57): [True: 0, False: 0]
  ------------------
29946|      0|                p->error_indicator = 1;
29947|      0|                p->level--;
29948|      0|                return NULL;
29949|      0|            }
29950|    122|            goto done;
29951|    122|        }
29952|     27|        p->mark = _mark;
29953|     27|        D(fprintf(stderr, "%*c%s _tmp_25[%d-%d]: %s failed!\n", p->level, ' ',
29954|     27|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'(' arguments? ')'"));
29955|     27|    }
29956|     27|    _res = NULL;
29957|    149|  done:
29958|    149|    p->level--;
29959|    149|    return _res;
29960|     27|}
parser.c:_tmp_8_rule:
28905|  69.9k|{
28906|  69.9k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   139k|#  define MAXSTACK 6000
  ------------------
  |  Branch (28906:9): [True: 0, False: 69.9k]
  |  Branch (28906:35): [True: 0, False: 69.9k]
  ------------------
28907|      0|        _Pypegen_stack_overflow(p);
28908|      0|    }
28909|  69.9k|    if (p->error_indicator) {
  ------------------
  |  Branch (28909:9): [True: 0, False: 69.9k]
  ------------------
28910|      0|        p->level--;
28911|      0|        return NULL;
28912|      0|    }
28913|  69.9k|    void * _res = NULL;
28914|  69.9k|    int _mark = p->mark;
28915|  69.9k|    { // 'with'
28916|  69.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (28916:13): [True: 0, False: 69.9k]
  ------------------
28917|      0|            p->level--;
28918|      0|            return NULL;
28919|      0|        }
28920|  69.9k|        D(fprintf(stderr, "%*c> _tmp_8[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'with'"));
28921|  69.9k|        Token * _keyword;
28922|  69.9k|        if (
28923|  69.9k|            (_keyword = _PyPegen_expect_token(p, 663))  // token='with'
  ------------------
  |  Branch (28923:13): [True: 46, False: 69.9k]
  ------------------
28924|  69.9k|        )
28925|     46|        {
28926|     46|            D(fprintf(stderr, "%*c+ _tmp_8[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'with'"));
28927|     46|            _res = _keyword;
28928|     46|            goto done;
28929|     46|        }
28930|  69.9k|        p->mark = _mark;
28931|  69.9k|        D(fprintf(stderr, "%*c%s _tmp_8[%d-%d]: %s failed!\n", p->level, ' ',
28932|  69.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'with'"));
28933|  69.9k|    }
28934|      0|    { // 'async'
28935|  69.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (28935:13): [True: 0, False: 69.9k]
  ------------------
28936|      0|            p->level--;
28937|      0|            return NULL;
28938|      0|        }
28939|  69.9k|        D(fprintf(stderr, "%*c> _tmp_8[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'async'"));
28940|  69.9k|        Token * _keyword;
28941|  69.9k|        if (
28942|  69.9k|            (_keyword = _PyPegen_expect_token(p, 714))  // token='async'
  ------------------
  |  Branch (28942:13): [True: 5, False: 69.9k]
  ------------------
28943|  69.9k|        )
28944|      5|        {
28945|      5|            D(fprintf(stderr, "%*c+ _tmp_8[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'async'"));
28946|      5|            _res = _keyword;
28947|      5|            goto done;
28948|      5|        }
28949|  69.9k|        p->mark = _mark;
28950|  69.9k|        D(fprintf(stderr, "%*c%s _tmp_8[%d-%d]: %s failed!\n", p->level, ' ',
28951|  69.9k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'async'"));
28952|  69.9k|    }
28953|  69.9k|    _res = NULL;
28954|  69.9k|  done:
28955|  69.9k|    p->level--;
28956|  69.9k|    return _res;
28957|  69.9k|}
parser.c:with_stmt_rule:
 6684|     51|{
 6685|     51|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    102|#  define MAXSTACK 6000
  ------------------
  |  Branch (6685:9): [True: 0, False: 51]
  |  Branch (6685:35): [True: 0, False: 51]
  ------------------
 6686|      0|        _Pypegen_stack_overflow(p);
 6687|      0|    }
 6688|     51|    if (p->error_indicator) {
  ------------------
  |  Branch (6688:9): [True: 0, False: 51]
  ------------------
 6689|      0|        p->level--;
 6690|      0|        return NULL;
 6691|      0|    }
 6692|     51|    stmt_ty _res = NULL;
 6693|     51|    int _mark = p->mark;
 6694|     51|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (6694:9): [True: 0, False: 51]
  |  Branch (6694:31): [True: 0, False: 0]
  ------------------
 6695|      0|        p->error_indicator = 1;
 6696|      0|        p->level--;
 6697|      0|        return NULL;
 6698|      0|    }
 6699|     51|    int _start_lineno = p->tokens[_mark]->lineno;
 6700|     51|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|     51|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 51]
  |  |  ------------------
  ------------------
 6701|     51|    int _start_col_offset = p->tokens[_mark]->col_offset;
 6702|     51|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|     51|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 51]
  |  |  ------------------
  ------------------
 6703|     51|    if (p->call_invalid_rules) { // invalid_with_stmt_indent
  ------------------
  |  Branch (6703:9): [True: 0, False: 51]
  ------------------
 6704|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (6704:13): [True: 0, False: 0]
  ------------------
 6705|      0|            p->level--;
 6706|      0|            return NULL;
 6707|      0|        }
 6708|      0|        D(fprintf(stderr, "%*c> with_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_with_stmt_indent"));
 6709|      0|        void *invalid_with_stmt_indent_var;
 6710|      0|        if (
 6711|      0|            (invalid_with_stmt_indent_var = invalid_with_stmt_indent_rule(p))  // invalid_with_stmt_indent
  ------------------
  |  Branch (6711:13): [True: 0, False: 0]
  ------------------
 6712|      0|        )
 6713|      0|        {
 6714|      0|            D(fprintf(stderr, "%*c+ with_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_with_stmt_indent"));
 6715|      0|            _res = invalid_with_stmt_indent_var;
 6716|      0|            goto done;
 6717|      0|        }
 6718|      0|        p->mark = _mark;
 6719|      0|        D(fprintf(stderr, "%*c%s with_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 6720|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_with_stmt_indent"));
 6721|      0|    }
 6722|     51|    { // 'with' '(' ','.with_item+ ','? ')' ':' TYPE_COMMENT? block
 6723|     51|        if (p->error_indicator) {
  ------------------
  |  Branch (6723:13): [True: 0, False: 51]
  ------------------
 6724|      0|            p->level--;
 6725|      0|            return NULL;
 6726|      0|        }
 6727|     51|        D(fprintf(stderr, "%*c> with_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'with' '(' ','.with_item+ ','? ')' ':' TYPE_COMMENT? block"));
 6728|     51|        Token * _keyword;
 6729|     51|        Token * _literal;
 6730|     51|        Token * _literal_1;
 6731|     51|        Token * _literal_2;
 6732|     51|        void *_opt_var;
 6733|     51|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  267|     51|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 51]
  |  |  ------------------
  ------------------
 6734|     51|        asdl_withitem_seq* a;
 6735|     51|        asdl_stmt_seq* b;
 6736|     51|        void *tc;
 6737|     51|        if (
 6738|     51|            (_keyword = _PyPegen_expect_token(p, 663))  // token='with'
  ------------------
  |  Branch (6738:13): [True: 46, False: 5]
  ------------------
 6739|     46|            &&
 6740|     46|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (6740:13): [True: 0, False: 46]
  ------------------
 6741|      0|            &&
 6742|      0|            (a = (asdl_withitem_seq*)_gather_34_rule(p))  // ','.with_item+
  ------------------
  |  Branch (6742:13): [True: 0, False: 0]
  ------------------
 6743|      0|            &&
 6744|      0|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (6744:13): [True: 0, False: 0]
  ------------------
 6745|      0|            &&
 6746|      0|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (6746:13): [True: 0, False: 0]
  ------------------
 6747|      0|            &&
 6748|      0|            (_literal_2 = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (6748:13): [True: 0, False: 0]
  ------------------
 6749|      0|            &&
 6750|      0|            (tc = _PyPegen_expect_token(p, TYPE_COMMENT), !p->error_indicator)  // TYPE_COMMENT?
  ------------------
  |  |   73|      0|#define TYPE_COMMENT    57
  ------------------
  |  Branch (6750:13): [True: 0, False: 0]
  ------------------
 6751|      0|            &&
 6752|      0|            (b = block_rule(p))  // block
  ------------------
  |  Branch (6752:13): [True: 0, False: 0]
  ------------------
 6753|     51|        )
 6754|      0|        {
 6755|      0|            D(fprintf(stderr, "%*c+ with_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'with' '(' ','.with_item+ ','? ')' ':' TYPE_COMMENT? block"));
 6756|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 6757|      0|            if (_token == NULL) {
  ------------------
  |  Branch (6757:17): [True: 0, False: 0]
  ------------------
 6758|      0|                p->level--;
 6759|      0|                return NULL;
 6760|      0|            }
 6761|      0|            int _end_lineno = _token->end_lineno;
 6762|      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]
  |  |  ------------------
  ------------------
 6763|      0|            int _end_col_offset = _token->end_col_offset;
 6764|      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]
  |  |  ------------------
  ------------------
 6765|      0|            _res = _PyAST_With ( a , b , NEW_TYPE_COMMENT ( p , tc ) , EXTRA );
  ------------------
  |  |  269|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 6766|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6766:18): [True: 0, False: 0]
  |  Branch (6766:34): [True: 0, False: 0]
  |  Branch (6766:57): [True: 0, False: 0]
  ------------------
 6767|      0|                p->error_indicator = 1;
 6768|      0|                p->level--;
 6769|      0|                return NULL;
 6770|      0|            }
 6771|      0|            goto done;
 6772|      0|        }
 6773|     51|        p->mark = _mark;
 6774|     51|        D(fprintf(stderr, "%*c%s with_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 6775|     51|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'with' '(' ','.with_item+ ','? ')' ':' TYPE_COMMENT? block"));
 6776|     51|    }
 6777|      0|    { // 'with' ','.with_item+ ':' TYPE_COMMENT? block
 6778|     51|        if (p->error_indicator) {
  ------------------
  |  Branch (6778:13): [True: 0, False: 51]
  ------------------
 6779|      0|            p->level--;
 6780|      0|            return NULL;
 6781|      0|        }
 6782|     51|        D(fprintf(stderr, "%*c> with_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'with' ','.with_item+ ':' TYPE_COMMENT? block"));
 6783|     51|        Token * _keyword;
 6784|     51|        Token * _literal;
 6785|     51|        asdl_withitem_seq* a;
 6786|     51|        asdl_stmt_seq* b;
 6787|     51|        void *tc;
 6788|     51|        if (
 6789|     51|            (_keyword = _PyPegen_expect_token(p, 663))  // token='with'
  ------------------
  |  Branch (6789:13): [True: 46, False: 5]
  ------------------
 6790|     46|            &&
 6791|     46|            (a = (asdl_withitem_seq*)_gather_34_rule(p))  // ','.with_item+
  ------------------
  |  Branch (6791:13): [True: 46, False: 0]
  ------------------
 6792|     46|            &&
 6793|     46|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (6793:13): [True: 46, False: 0]
  ------------------
 6794|     46|            &&
 6795|     46|            (tc = _PyPegen_expect_token(p, TYPE_COMMENT), !p->error_indicator)  // TYPE_COMMENT?
  ------------------
  |  |   73|     46|#define TYPE_COMMENT    57
  ------------------
  |  Branch (6795:13): [True: 46, False: 0]
  ------------------
 6796|     46|            &&
 6797|     46|            (b = block_rule(p))  // block
  ------------------
  |  Branch (6797:13): [True: 46, False: 0]
  ------------------
 6798|     51|        )
 6799|     46|        {
 6800|     46|            D(fprintf(stderr, "%*c+ with_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'with' ','.with_item+ ':' TYPE_COMMENT? block"));
 6801|     46|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 6802|     46|            if (_token == NULL) {
  ------------------
  |  Branch (6802:17): [True: 0, False: 46]
  ------------------
 6803|      0|                p->level--;
 6804|      0|                return NULL;
 6805|      0|            }
 6806|     46|            int _end_lineno = _token->end_lineno;
 6807|     46|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|     46|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 46]
  |  |  ------------------
  ------------------
 6808|     46|            int _end_col_offset = _token->end_col_offset;
 6809|     46|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|     46|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 46]
  |  |  ------------------
  ------------------
 6810|     46|            _res = _PyAST_With ( a , b , NEW_TYPE_COMMENT ( p , tc ) , EXTRA );
  ------------------
  |  |  269|     46|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 6811|     46|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6811:18): [True: 0, False: 46]
  |  Branch (6811:34): [True: 0, False: 46]
  |  Branch (6811:57): [True: 0, False: 0]
  ------------------
 6812|      0|                p->error_indicator = 1;
 6813|      0|                p->level--;
 6814|      0|                return NULL;
 6815|      0|            }
 6816|     46|            goto done;
 6817|     46|        }
 6818|      5|        p->mark = _mark;
 6819|      5|        D(fprintf(stderr, "%*c%s with_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 6820|      5|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'with' ','.with_item+ ':' TYPE_COMMENT? block"));
 6821|      5|    }
 6822|      0|    { // 'async' 'with' '(' ','.with_item+ ','? ')' ':' block
 6823|      5|        if (p->error_indicator) {
  ------------------
  |  Branch (6823:13): [True: 0, False: 5]
  ------------------
 6824|      0|            p->level--;
 6825|      0|            return NULL;
 6826|      0|        }
 6827|      5|        D(fprintf(stderr, "%*c> with_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'async' 'with' '(' ','.with_item+ ','? ')' ':' block"));
 6828|      5|        Token * _keyword;
 6829|      5|        Token * _keyword_1;
 6830|      5|        Token * _literal;
 6831|      5|        Token * _literal_1;
 6832|      5|        Token * _literal_2;
 6833|      5|        void *_opt_var;
 6834|      5|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  267|      5|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 5]
  |  |  ------------------
  ------------------
 6835|      5|        asdl_withitem_seq* a;
 6836|      5|        asdl_stmt_seq* b;
 6837|      5|        if (
 6838|      5|            (_keyword = _PyPegen_expect_token(p, 714))  // token='async'
  ------------------
  |  Branch (6838:13): [True: 5, False: 0]
  ------------------
 6839|      5|            &&
 6840|      5|            (_keyword_1 = _PyPegen_expect_token(p, 663))  // token='with'
  ------------------
  |  Branch (6840:13): [True: 5, False: 0]
  ------------------
 6841|      5|            &&
 6842|      5|            (_literal = _PyPegen_expect_token(p, 7))  // token='('
  ------------------
  |  Branch (6842:13): [True: 0, False: 5]
  ------------------
 6843|      0|            &&
 6844|      0|            (a = (asdl_withitem_seq*)_gather_34_rule(p))  // ','.with_item+
  ------------------
  |  Branch (6844:13): [True: 0, False: 0]
  ------------------
 6845|      0|            &&
 6846|      0|            (_opt_var = _PyPegen_expect_token(p, 12), !p->error_indicator)  // ','?
  ------------------
  |  Branch (6846:13): [True: 0, False: 0]
  ------------------
 6847|      0|            &&
 6848|      0|            (_literal_1 = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (6848:13): [True: 0, False: 0]
  ------------------
 6849|      0|            &&
 6850|      0|            (_literal_2 = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (6850:13): [True: 0, False: 0]
  ------------------
 6851|      0|            &&
 6852|      0|            (b = block_rule(p))  // block
  ------------------
  |  Branch (6852:13): [True: 0, False: 0]
  ------------------
 6853|      5|        )
 6854|      0|        {
 6855|      0|            D(fprintf(stderr, "%*c+ with_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'async' 'with' '(' ','.with_item+ ','? ')' ':' block"));
 6856|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 6857|      0|            if (_token == NULL) {
  ------------------
  |  Branch (6857:17): [True: 0, False: 0]
  ------------------
 6858|      0|                p->level--;
 6859|      0|                return NULL;
 6860|      0|            }
 6861|      0|            int _end_lineno = _token->end_lineno;
 6862|      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]
  |  |  ------------------
  ------------------
 6863|      0|            int _end_col_offset = _token->end_col_offset;
 6864|      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]
  |  |  ------------------
  ------------------
 6865|      0|            _res = CHECK_VERSION ( stmt_ty , 5 , "Async with statements are" , _PyAST_AsyncWith ( a , b , NULL , EXTRA ) );
  ------------------
  |  |  307|      0|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
 6866|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6866:18): [True: 0, False: 0]
  |  Branch (6866:34): [True: 0, False: 0]
  |  Branch (6866:57): [True: 0, False: 0]
  ------------------
 6867|      0|                p->error_indicator = 1;
 6868|      0|                p->level--;
 6869|      0|                return NULL;
 6870|      0|            }
 6871|      0|            goto done;
 6872|      0|        }
 6873|      5|        p->mark = _mark;
 6874|      5|        D(fprintf(stderr, "%*c%s with_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 6875|      5|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'async' 'with' '(' ','.with_item+ ','? ')' ':' block"));
 6876|      5|    }
 6877|      0|    { // 'async' 'with' ','.with_item+ ':' TYPE_COMMENT? block
 6878|      5|        if (p->error_indicator) {
  ------------------
  |  Branch (6878:13): [True: 0, False: 5]
  ------------------
 6879|      0|            p->level--;
 6880|      0|            return NULL;
 6881|      0|        }
 6882|      5|        D(fprintf(stderr, "%*c> with_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'async' 'with' ','.with_item+ ':' TYPE_COMMENT? block"));
 6883|      5|        Token * _keyword;
 6884|      5|        Token * _keyword_1;
 6885|      5|        Token * _literal;
 6886|      5|        asdl_withitem_seq* a;
 6887|      5|        asdl_stmt_seq* b;
 6888|      5|        void *tc;
 6889|      5|        if (
 6890|      5|            (_keyword = _PyPegen_expect_token(p, 714))  // token='async'
  ------------------
  |  Branch (6890:13): [True: 5, False: 0]
  ------------------
 6891|      5|            &&
 6892|      5|            (_keyword_1 = _PyPegen_expect_token(p, 663))  // token='with'
  ------------------
  |  Branch (6892:13): [True: 5, False: 0]
  ------------------
 6893|      5|            &&
 6894|      5|            (a = (asdl_withitem_seq*)_gather_34_rule(p))  // ','.with_item+
  ------------------
  |  Branch (6894:13): [True: 5, False: 0]
  ------------------
 6895|      5|            &&
 6896|      5|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (6896:13): [True: 5, False: 0]
  ------------------
 6897|      5|            &&
 6898|      5|            (tc = _PyPegen_expect_token(p, TYPE_COMMENT), !p->error_indicator)  // TYPE_COMMENT?
  ------------------
  |  |   73|      5|#define TYPE_COMMENT    57
  ------------------
  |  Branch (6898:13): [True: 5, False: 0]
  ------------------
 6899|      5|            &&
 6900|      5|            (b = block_rule(p))  // block
  ------------------
  |  Branch (6900:13): [True: 5, False: 0]
  ------------------
 6901|      5|        )
 6902|      5|        {
 6903|      5|            D(fprintf(stderr, "%*c+ with_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'async' 'with' ','.with_item+ ':' TYPE_COMMENT? block"));
 6904|      5|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 6905|      5|            if (_token == NULL) {
  ------------------
  |  Branch (6905:17): [True: 0, False: 5]
  ------------------
 6906|      0|                p->level--;
 6907|      0|                return NULL;
 6908|      0|            }
 6909|      5|            int _end_lineno = _token->end_lineno;
 6910|      5|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      5|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 5]
  |  |  ------------------
  ------------------
 6911|      5|            int _end_col_offset = _token->end_col_offset;
 6912|      5|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      5|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 5]
  |  |  ------------------
  ------------------
 6913|      5|            _res = CHECK_VERSION ( stmt_ty , 5 , "Async with statements are" , _PyAST_AsyncWith ( a , b , NEW_TYPE_COMMENT ( p , tc ) , EXTRA ) );
  ------------------
  |  |  307|      5|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
 6914|      5|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6914:18): [True: 0, False: 5]
  |  Branch (6914:34): [True: 0, False: 5]
  |  Branch (6914:57): [True: 0, False: 0]
  ------------------
 6915|      0|                p->error_indicator = 1;
 6916|      0|                p->level--;
 6917|      0|                return NULL;
 6918|      0|            }
 6919|      5|            goto done;
 6920|      5|        }
 6921|      0|        p->mark = _mark;
 6922|      0|        D(fprintf(stderr, "%*c%s with_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 6923|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'async' 'with' ','.with_item+ ':' TYPE_COMMENT? block"));
 6924|      0|    }
 6925|      0|    if (p->call_invalid_rules) { // invalid_with_stmt
  ------------------
  |  Branch (6925:9): [True: 0, False: 0]
  ------------------
 6926|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (6926:13): [True: 0, False: 0]
  ------------------
 6927|      0|            p->level--;
 6928|      0|            return NULL;
 6929|      0|        }
 6930|      0|        D(fprintf(stderr, "%*c> with_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_with_stmt"));
 6931|      0|        void *invalid_with_stmt_var;
 6932|      0|        if (
 6933|      0|            (invalid_with_stmt_var = invalid_with_stmt_rule(p))  // invalid_with_stmt
  ------------------
  |  Branch (6933:13): [True: 0, False: 0]
  ------------------
 6934|      0|        )
 6935|      0|        {
 6936|      0|            D(fprintf(stderr, "%*c+ with_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_with_stmt"));
 6937|      0|            _res = invalid_with_stmt_var;
 6938|      0|            goto done;
 6939|      0|        }
 6940|      0|        p->mark = _mark;
 6941|      0|        D(fprintf(stderr, "%*c%s with_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 6942|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_with_stmt"));
 6943|      0|    }
 6944|      0|    _res = NULL;
 6945|     51|  done:
 6946|     51|    p->level--;
 6947|     51|    return _res;
 6948|      0|}
parser.c:expressions_rule:
11431|     94|{
11432|     94|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    188|#  define MAXSTACK 6000
  ------------------
  |  Branch (11432:9): [True: 0, False: 94]
  |  Branch (11432:35): [True: 0, False: 94]
  ------------------
11433|      0|        _Pypegen_stack_overflow(p);
11434|      0|    }
11435|     94|    if (p->error_indicator) {
  ------------------
  |  Branch (11435:9): [True: 0, False: 94]
  ------------------
11436|      0|        p->level--;
11437|      0|        return NULL;
11438|      0|    }
11439|     94|    expr_ty _res = NULL;
11440|     94|    int _mark = p->mark;
11441|     94|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (11441:9): [True: 78, False: 16]
  |  Branch (11441:31): [True: 0, False: 78]
  ------------------
11442|      0|        p->error_indicator = 1;
11443|      0|        p->level--;
11444|      0|        return NULL;
11445|      0|    }
11446|     94|    int _start_lineno = p->tokens[_mark]->lineno;
11447|     94|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|     94|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 94]
  |  |  ------------------
  ------------------
11448|     94|    int _start_col_offset = p->tokens[_mark]->col_offset;
11449|     94|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|     94|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 94]
  |  |  ------------------
  ------------------
11450|     94|    { // expression ((',' expression))+ ','?
11451|     94|        if (p->error_indicator) {
  ------------------
  |  Branch (11451:13): [True: 0, False: 94]
  ------------------
11452|      0|            p->level--;
11453|      0|            return NULL;
11454|      0|        }
11455|     94|        D(fprintf(stderr, "%*c> expressions[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression ((',' expression))+ ','?"));
11456|     94|        void *_opt_var;
11457|     94|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  267|     94|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 94]
  |  |  ------------------
  ------------------
11458|     94|        expr_ty a;
11459|     94|        asdl_seq * b;
11460|     94|        if (
11461|     94|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (11461:13): [True: 78, False: 16]
  ------------------
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|     94|        )
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|     94|        p->mark = _mark;
11487|     94|        D(fprintf(stderr, "%*c%s expressions[%d-%d]: %s failed!\n", p->level, ' ',
11488|     94|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression ((',' expression))+ ','?"));
11489|     94|    }
11490|      0|    { // expression ','
11491|     94|        if (p->error_indicator) {
  ------------------
  |  Branch (11491:13): [True: 0, False: 94]
  ------------------
11492|      0|            p->level--;
11493|      0|            return NULL;
11494|      0|        }
11495|     94|        D(fprintf(stderr, "%*c> expressions[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression ','"));
11496|     94|        Token * _literal;
11497|     94|        expr_ty a;
11498|     94|        if (
11499|     94|            (a = expression_rule(p))  // expression
  ------------------
  |  Branch (11499:13): [True: 78, False: 16]
  ------------------
11500|     78|            &&
11501|     78|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (11501:13): [True: 0, False: 78]
  ------------------
11502|     94|        )
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|     94|        p->mark = _mark;
11523|     94|        D(fprintf(stderr, "%*c%s expressions[%d-%d]: %s failed!\n", p->level, ' ',
11524|     94|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression ','"));
11525|     94|    }
11526|      0|    { // expression
11527|     94|        if (p->error_indicator) {
  ------------------
  |  Branch (11527:13): [True: 0, False: 94]
  ------------------
11528|      0|            p->level--;
11529|      0|            return NULL;
11530|      0|        }
11531|     94|        D(fprintf(stderr, "%*c> expressions[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression"));
11532|     94|        expr_ty expression_var;
11533|     94|        if (
11534|     94|            (expression_var = expression_rule(p))  // expression
  ------------------
  |  Branch (11534:13): [True: 78, False: 16]
  ------------------
11535|     94|        )
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|     16|        p->mark = _mark;
11542|     16|        D(fprintf(stderr, "%*c%s expressions[%d-%d]: %s failed!\n", p->level, ' ',
11543|     16|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression"));
11544|     16|    }
11545|     16|    _res = NULL;
11546|     94|  done:
11547|     94|    p->level--;
11548|     94|    return _res;
11549|     16|}
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:_gather_34_rule:
30504|     51|{
30505|     51|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    102|#  define MAXSTACK 6000
  ------------------
  |  Branch (30505:9): [True: 0, False: 51]
  |  Branch (30505:35): [True: 0, False: 51]
  ------------------
30506|      0|        _Pypegen_stack_overflow(p);
30507|      0|    }
30508|     51|    if (p->error_indicator) {
  ------------------
  |  Branch (30508:9): [True: 0, False: 51]
  ------------------
30509|      0|        p->level--;
30510|      0|        return NULL;
30511|      0|    }
30512|     51|    asdl_seq * _res = NULL;
30513|     51|    int _mark = p->mark;
30514|     51|    { // with_item _loop0_33
30515|     51|        if (p->error_indicator) {
  ------------------
  |  Branch (30515:13): [True: 0, False: 51]
  ------------------
30516|      0|            p->level--;
30517|      0|            return NULL;
30518|      0|        }
30519|     51|        D(fprintf(stderr, "%*c> _gather_34[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "with_item _loop0_33"));
30520|     51|        withitem_ty elem;
30521|     51|        asdl_seq * seq;
30522|     51|        if (
30523|     51|            (elem = with_item_rule(p))  // with_item
  ------------------
  |  Branch (30523:13): [True: 51, False: 0]
  ------------------
30524|     51|            &&
30525|     51|            (seq = _loop0_33_rule(p))  // _loop0_33
  ------------------
  |  Branch (30525:13): [True: 51, False: 0]
  ------------------
30526|     51|        )
30527|     51|        {
30528|     51|            D(fprintf(stderr, "%*c+ _gather_34[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "with_item _loop0_33"));
30529|     51|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
30530|     51|            goto done;
30531|     51|        }
30532|      0|        p->mark = _mark;
30533|      0|        D(fprintf(stderr, "%*c%s _gather_34[%d-%d]: %s failed!\n", p->level, ' ',
30534|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "with_item _loop0_33"));
30535|      0|    }
30536|      0|    _res = NULL;
30537|     51|  done:
30538|     51|    p->level--;
30539|     51|    return _res;
30540|      0|}
parser.c:with_item_rule:
 6956|     51|{
 6957|     51|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    102|#  define MAXSTACK 6000
  ------------------
  |  Branch (6957:9): [True: 0, False: 51]
  |  Branch (6957:35): [True: 0, False: 51]
  ------------------
 6958|      0|        _Pypegen_stack_overflow(p);
 6959|      0|    }
 6960|     51|    if (p->error_indicator) {
  ------------------
  |  Branch (6960:9): [True: 0, False: 51]
  ------------------
 6961|      0|        p->level--;
 6962|      0|        return NULL;
 6963|      0|    }
 6964|     51|    withitem_ty _res = NULL;
 6965|     51|    int _mark = p->mark;
 6966|     51|    { // expression 'as' star_target &(',' | ')' | ':')
 6967|     51|        if (p->error_indicator) {
  ------------------
  |  Branch (6967:13): [True: 0, False: 51]
  ------------------
 6968|      0|            p->level--;
 6969|      0|            return NULL;
 6970|      0|        }
 6971|     51|        D(fprintf(stderr, "%*c> with_item[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression 'as' star_target &(',' | ')' | ':')"));
 6972|     51|        Token * _keyword;
 6973|     51|        expr_ty e;
 6974|     51|        expr_ty t;
 6975|     51|        if (
 6976|     51|            (e = expression_rule(p))  // expression
  ------------------
  |  Branch (6976:13): [True: 51, False: 0]
  ------------------
 6977|     51|            &&
 6978|     51|            (_keyword = _PyPegen_expect_token(p, 696))  // token='as'
  ------------------
  |  Branch (6978:13): [True: 8, False: 43]
  ------------------
 6979|      8|            &&
 6980|      8|            (t = star_target_rule(p))  // star_target
  ------------------
  |  Branch (6980:13): [True: 8, False: 0]
  ------------------
 6981|      8|            &&
 6982|      8|            _PyPegen_lookahead(1, _tmp_35_rule, p)
  ------------------
  |  Branch (6982:13): [True: 8, False: 0]
  ------------------
 6983|     51|        )
 6984|      8|        {
 6985|      8|            D(fprintf(stderr, "%*c+ with_item[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression 'as' star_target &(',' | ')' | ':')"));
 6986|      8|            _res = _PyAST_withitem ( e , t , p -> arena );
 6987|      8|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6987:18): [True: 0, False: 8]
  |  Branch (6987:34): [True: 0, False: 8]
  |  Branch (6987:57): [True: 0, False: 0]
  ------------------
 6988|      0|                p->error_indicator = 1;
 6989|      0|                p->level--;
 6990|      0|                return NULL;
 6991|      0|            }
 6992|      8|            goto done;
 6993|      8|        }
 6994|     43|        p->mark = _mark;
 6995|     43|        D(fprintf(stderr, "%*c%s with_item[%d-%d]: %s failed!\n", p->level, ' ',
 6996|     43|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression 'as' star_target &(',' | ')' | ':')"));
 6997|     43|    }
 6998|     43|    if (p->call_invalid_rules) { // invalid_with_item
  ------------------
  |  Branch (6998:9): [True: 0, False: 43]
  ------------------
 6999|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (6999:13): [True: 0, False: 0]
  ------------------
 7000|      0|            p->level--;
 7001|      0|            return NULL;
 7002|      0|        }
 7003|      0|        D(fprintf(stderr, "%*c> with_item[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_with_item"));
 7004|      0|        void *invalid_with_item_var;
 7005|      0|        if (
 7006|      0|            (invalid_with_item_var = invalid_with_item_rule(p))  // invalid_with_item
  ------------------
  |  Branch (7006:13): [True: 0, False: 0]
  ------------------
 7007|      0|        )
 7008|      0|        {
 7009|      0|            D(fprintf(stderr, "%*c+ with_item[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_with_item"));
 7010|      0|            _res = invalid_with_item_var;
 7011|      0|            goto done;
 7012|      0|        }
 7013|      0|        p->mark = _mark;
 7014|      0|        D(fprintf(stderr, "%*c%s with_item[%d-%d]: %s failed!\n", p->level, ' ',
 7015|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_with_item"));
 7016|      0|    }
 7017|     43|    { // expression
 7018|     43|        if (p->error_indicator) {
  ------------------
  |  Branch (7018:13): [True: 0, False: 43]
  ------------------
 7019|      0|            p->level--;
 7020|      0|            return NULL;
 7021|      0|        }
 7022|     43|        D(fprintf(stderr, "%*c> with_item[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "expression"));
 7023|     43|        expr_ty e;
 7024|     43|        if (
 7025|     43|            (e = expression_rule(p))  // expression
  ------------------
  |  Branch (7025:13): [True: 43, False: 0]
  ------------------
 7026|     43|        )
 7027|     43|        {
 7028|     43|            D(fprintf(stderr, "%*c+ with_item[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "expression"));
 7029|     43|            _res = _PyAST_withitem ( e , NULL , p -> arena );
 7030|     43|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7030:18): [True: 0, False: 43]
  |  Branch (7030:34): [True: 0, False: 43]
  |  Branch (7030:57): [True: 0, False: 0]
  ------------------
 7031|      0|                p->error_indicator = 1;
 7032|      0|                p->level--;
 7033|      0|                return NULL;
 7034|      0|            }
 7035|     43|            goto done;
 7036|     43|        }
 7037|      0|        p->mark = _mark;
 7038|      0|        D(fprintf(stderr, "%*c%s with_item[%d-%d]: %s failed!\n", p->level, ' ',
 7039|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "expression"));
 7040|      0|    }
 7041|      0|    _res = NULL;
 7042|     51|  done:
 7043|     51|    p->level--;
 7044|     51|    return _res;
 7045|      0|}
parser.c:_tmp_35_rule:
30545|      8|{
30546|      8|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     16|#  define MAXSTACK 6000
  ------------------
  |  Branch (30546:9): [True: 0, False: 8]
  |  Branch (30546:35): [True: 0, False: 8]
  ------------------
30547|      0|        _Pypegen_stack_overflow(p);
30548|      0|    }
30549|      8|    if (p->error_indicator) {
  ------------------
  |  Branch (30549:9): [True: 0, False: 8]
  ------------------
30550|      0|        p->level--;
30551|      0|        return NULL;
30552|      0|    }
30553|      8|    void * _res = NULL;
30554|      8|    int _mark = p->mark;
30555|      8|    { // ','
30556|      8|        if (p->error_indicator) {
  ------------------
  |  Branch (30556:13): [True: 0, False: 8]
  ------------------
30557|      0|            p->level--;
30558|      0|            return NULL;
30559|      0|        }
30560|      8|        D(fprintf(stderr, "%*c> _tmp_35[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "','"));
30561|      8|        Token * _literal;
30562|      8|        if (
30563|      8|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (30563:13): [True: 0, False: 8]
  ------------------
30564|      8|        )
30565|      0|        {
30566|      0|            D(fprintf(stderr, "%*c+ _tmp_35[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "','"));
30567|      0|            _res = _literal;
30568|      0|            goto done;
30569|      0|        }
30570|      8|        p->mark = _mark;
30571|      8|        D(fprintf(stderr, "%*c%s _tmp_35[%d-%d]: %s failed!\n", p->level, ' ',
30572|      8|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "','"));
30573|      8|    }
30574|      0|    { // ')'
30575|      8|        if (p->error_indicator) {
  ------------------
  |  Branch (30575:13): [True: 0, False: 8]
  ------------------
30576|      0|            p->level--;
30577|      0|            return NULL;
30578|      0|        }
30579|      8|        D(fprintf(stderr, "%*c> _tmp_35[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "')'"));
30580|      8|        Token * _literal;
30581|      8|        if (
30582|      8|            (_literal = _PyPegen_expect_token(p, 8))  // token=')'
  ------------------
  |  Branch (30582:13): [True: 0, False: 8]
  ------------------
30583|      8|        )
30584|      0|        {
30585|      0|            D(fprintf(stderr, "%*c+ _tmp_35[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "')'"));
30586|      0|            _res = _literal;
30587|      0|            goto done;
30588|      0|        }
30589|      8|        p->mark = _mark;
30590|      8|        D(fprintf(stderr, "%*c%s _tmp_35[%d-%d]: %s failed!\n", p->level, ' ',
30591|      8|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "')'"));
30592|      8|    }
30593|      0|    { // ':'
30594|      8|        if (p->error_indicator) {
  ------------------
  |  Branch (30594:13): [True: 0, False: 8]
  ------------------
30595|      0|            p->level--;
30596|      0|            return NULL;
30597|      0|        }
30598|      8|        D(fprintf(stderr, "%*c> _tmp_35[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "':'"));
30599|      8|        Token * _literal;
30600|      8|        if (
30601|      8|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (30601:13): [True: 8, False: 0]
  ------------------
30602|      8|        )
30603|      8|        {
30604|      8|            D(fprintf(stderr, "%*c+ _tmp_35[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "':'"));
30605|      8|            _res = _literal;
30606|      8|            goto done;
30607|      8|        }
30608|      0|        p->mark = _mark;
30609|      0|        D(fprintf(stderr, "%*c%s _tmp_35[%d-%d]: %s failed!\n", p->level, ' ',
30610|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "':'"));
30611|      0|    }
30612|      0|    _res = NULL;
30613|      8|  done:
30614|      8|    p->level--;
30615|      8|    return _res;
30616|      0|}
parser.c:_loop0_33_rule:
30428|     51|{
30429|     51|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    102|#  define MAXSTACK 6000
  ------------------
  |  Branch (30429:9): [True: 0, False: 51]
  |  Branch (30429:35): [True: 0, False: 51]
  ------------------
30430|      0|        _Pypegen_stack_overflow(p);
30431|      0|    }
30432|     51|    if (p->error_indicator) {
  ------------------
  |  Branch (30432:9): [True: 0, False: 51]
  ------------------
30433|      0|        p->level--;
30434|      0|        return NULL;
30435|      0|    }
30436|     51|    void *_res = NULL;
30437|     51|    int _mark = p->mark;
30438|     51|    void **_children = PyMem_Malloc(sizeof(void *));
30439|     51|    if (!_children) {
  ------------------
  |  Branch (30439:9): [True: 0, False: 51]
  ------------------
30440|      0|        p->error_indicator = 1;
30441|      0|        PyErr_NoMemory();
30442|      0|        p->level--;
30443|      0|        return NULL;
30444|      0|    }
30445|     51|    Py_ssize_t _children_capacity = 1;
30446|     51|    Py_ssize_t _n = 0;
30447|     51|    { // ',' with_item
30448|     51|        if (p->error_indicator) {
  ------------------
  |  Branch (30448:13): [True: 0, False: 51]
  ------------------
30449|      0|            p->level--;
30450|      0|            return NULL;
30451|      0|        }
30452|     51|        D(fprintf(stderr, "%*c> _loop0_33[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "',' with_item"));
30453|     51|        Token * _literal;
30454|     51|        withitem_ty elem;
30455|     51|        while (
30456|     51|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (30456:13): [True: 0, False: 51]
  ------------------
30457|      0|            &&
30458|      0|            (elem = with_item_rule(p))  // with_item
  ------------------
  |  Branch (30458:13): [True: 0, False: 0]
  ------------------
30459|     51|        )
30460|      0|        {
30461|      0|            _res = elem;
30462|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (30462:18): [True: 0, False: 0]
  |  Branch (30462:34): [True: 0, False: 0]
  |  Branch (30462:57): [True: 0, False: 0]
  ------------------
30463|      0|                p->error_indicator = 1;
30464|      0|                PyMem_Free(_children);
30465|      0|                p->level--;
30466|      0|                return NULL;
30467|      0|            }
30468|      0|            if (_n == _children_capacity) {
  ------------------
  |  Branch (30468:17): [True: 0, False: 0]
  ------------------
30469|      0|                _children_capacity *= 2;
30470|      0|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
30471|      0|                if (!_new_children) {
  ------------------
  |  Branch (30471:21): [True: 0, False: 0]
  ------------------
30472|      0|                    PyMem_Free(_children);
30473|      0|                    p->error_indicator = 1;
30474|      0|                    PyErr_NoMemory();
30475|      0|                    p->level--;
30476|      0|                    return NULL;
30477|      0|                }
30478|      0|                _children = _new_children;
30479|      0|            }
30480|      0|            _children[_n++] = _res;
30481|      0|            _mark = p->mark;
30482|      0|        }
30483|     51|        p->mark = _mark;
30484|     51|        D(fprintf(stderr, "%*c%s _loop0_33[%d-%d]: %s failed!\n", p->level, ' ',
30485|     51|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "',' with_item"));
30486|     51|    }
30487|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
30488|     51|    if (!_seq) {
  ------------------
  |  Branch (30488:9): [True: 0, False: 51]
  ------------------
30489|      0|        PyMem_Free(_children);
30490|      0|        p->error_indicator = 1;
30491|      0|        PyErr_NoMemory();
30492|      0|        p->level--;
30493|      0|        return NULL;
30494|      0|    }
30495|     51|    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|     51|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (30495:28): [True: 0, False: 51]
  ------------------
30496|     51|    PyMem_Free(_children);
30497|     51|    p->level--;
30498|     51|    return _seq;
30499|     51|}
parser.c:_tmp_9_rule:
28962|  69.9k|{
28963|  69.9k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   139k|#  define MAXSTACK 6000
  ------------------
  |  Branch (28963:9): [True: 0, False: 69.9k]
  |  Branch (28963:35): [True: 0, False: 69.9k]
  ------------------
28964|      0|        _Pypegen_stack_overflow(p);
28965|      0|    }
28966|  69.9k|    if (p->error_indicator) {
  ------------------
  |  Branch (28966:9): [True: 0, False: 69.9k]
  ------------------
28967|      0|        p->level--;
28968|      0|        return NULL;
28969|      0|    }
28970|  69.9k|    void * _res = NULL;
28971|  69.9k|    int _mark = p->mark;
28972|  69.9k|    { // 'for'
28973|  69.9k|        if (p->error_indicator) {
  ------------------
  |  Branch (28973:13): [True: 0, False: 69.9k]
  ------------------
28974|      0|            p->level--;
28975|      0|            return NULL;
28976|      0|        }
28977|  69.9k|        D(fprintf(stderr, "%*c> _tmp_9[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'for'"));
28978|  69.9k|        Token * _keyword;
28979|  69.9k|        if (
28980|  69.9k|            (_keyword = _PyPegen_expect_token(p, 710))  // token='for'
  ------------------
  |  Branch (28980:13): [True: 192, False: 69.7k]
  ------------------
28981|  69.9k|        )
28982|    192|        {
28983|    192|            D(fprintf(stderr, "%*c+ _tmp_9[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'for'"));
28984|    192|            _res = _keyword;
28985|    192|            goto done;
28986|    192|        }
28987|  69.7k|        p->mark = _mark;
28988|  69.7k|        D(fprintf(stderr, "%*c%s _tmp_9[%d-%d]: %s failed!\n", p->level, ' ',
28989|  69.7k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'for'"));
28990|  69.7k|    }
28991|      0|    { // 'async'
28992|  69.7k|        if (p->error_indicator) {
  ------------------
  |  Branch (28992:13): [True: 0, False: 69.7k]
  ------------------
28993|      0|            p->level--;
28994|      0|            return NULL;
28995|      0|        }
28996|  69.7k|        D(fprintf(stderr, "%*c> _tmp_9[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'async'"));
28997|  69.7k|        Token * _keyword;
28998|  69.7k|        if (
28999|  69.7k|            (_keyword = _PyPegen_expect_token(p, 714))  // token='async'
  ------------------
  |  Branch (28999:13): [True: 0, False: 69.7k]
  ------------------
29000|  69.7k|        )
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|  69.7k|        p->mark = _mark;
29007|  69.7k|        D(fprintf(stderr, "%*c%s _tmp_9[%d-%d]: %s failed!\n", p->level, ' ',
29008|  69.7k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'async'"));
29009|  69.7k|    }
29010|  69.7k|    _res = NULL;
29011|  69.9k|  done:
29012|  69.9k|    p->level--;
29013|  69.9k|    return _res;
29014|  69.7k|}
parser.c:for_stmt_rule:
 6487|    192|{
 6488|    192|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    384|#  define MAXSTACK 6000
  ------------------
  |  Branch (6488:9): [True: 0, False: 192]
  |  Branch (6488:35): [True: 0, False: 192]
  ------------------
 6489|      0|        _Pypegen_stack_overflow(p);
 6490|      0|    }
 6491|    192|    if (p->error_indicator) {
  ------------------
  |  Branch (6491:9): [True: 0, False: 192]
  ------------------
 6492|      0|        p->level--;
 6493|      0|        return NULL;
 6494|      0|    }
 6495|    192|    stmt_ty _res = NULL;
 6496|    192|    int _mark = p->mark;
 6497|    192|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (6497:9): [True: 0, False: 192]
  |  Branch (6497:31): [True: 0, False: 0]
  ------------------
 6498|      0|        p->error_indicator = 1;
 6499|      0|        p->level--;
 6500|      0|        return NULL;
 6501|      0|    }
 6502|    192|    int _start_lineno = p->tokens[_mark]->lineno;
 6503|    192|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    192|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 192]
  |  |  ------------------
  ------------------
 6504|    192|    int _start_col_offset = p->tokens[_mark]->col_offset;
 6505|    192|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    192|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 192]
  |  |  ------------------
  ------------------
 6506|    192|    if (p->call_invalid_rules) { // invalid_for_stmt
  ------------------
  |  Branch (6506:9): [True: 0, False: 192]
  ------------------
 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|    192|    { // 'for' star_targets 'in' ~ star_expressions ':' TYPE_COMMENT? block else_block?
 6526|    192|        if (p->error_indicator) {
  ------------------
  |  Branch (6526:13): [True: 0, False: 192]
  ------------------
 6527|      0|            p->level--;
 6528|      0|            return NULL;
 6529|      0|        }
 6530|    192|        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|    192|        int _cut_var = 0;
 6532|    192|        Token * _keyword;
 6533|    192|        Token * _keyword_1;
 6534|    192|        Token * _literal;
 6535|    192|        asdl_stmt_seq* b;
 6536|    192|        void *el;
 6537|    192|        expr_ty ex;
 6538|    192|        expr_ty t;
 6539|    192|        void *tc;
 6540|    192|        if (
 6541|    192|            (_keyword = _PyPegen_expect_token(p, 710))  // token='for'
  ------------------
  |  Branch (6541:13): [True: 192, False: 0]
  ------------------
 6542|    192|            &&
 6543|    192|            (t = star_targets_rule(p))  // star_targets
  ------------------
  |  Branch (6543:13): [True: 192, False: 0]
  ------------------
 6544|    192|            &&
 6545|    192|            (_keyword_1 = _PyPegen_expect_token(p, 711))  // token='in'
  ------------------
  |  Branch (6545:13): [True: 192, False: 0]
  ------------------
 6546|    192|            &&
 6547|    192|            (_cut_var = 1)
  ------------------
  |  Branch (6547:13): [True: 192, False: 0]
  ------------------
 6548|    192|            &&
 6549|    192|            (ex = star_expressions_rule(p))  // star_expressions
  ------------------
  |  Branch (6549:13): [True: 192, False: 0]
  ------------------
 6550|    192|            &&
 6551|    192|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (6551:13): [True: 192, False: 0]
  ------------------
 6552|    192|            &&
 6553|    192|            (tc = _PyPegen_expect_token(p, TYPE_COMMENT), !p->error_indicator)  // TYPE_COMMENT?
  ------------------
  |  |   73|    192|#define TYPE_COMMENT    57
  ------------------
  |  Branch (6553:13): [True: 192, False: 0]
  ------------------
 6554|    192|            &&
 6555|    192|            (b = block_rule(p))  // block
  ------------------
  |  Branch (6555:13): [True: 192, False: 0]
  ------------------
 6556|    192|            &&
 6557|    192|            (el = else_block_rule(p), !p->error_indicator)  // else_block?
  ------------------
  |  Branch (6557:13): [True: 192, False: 0]
  ------------------
 6558|    192|        )
 6559|    192|        {
 6560|    192|            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|    192|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 6562|    192|            if (_token == NULL) {
  ------------------
  |  Branch (6562:17): [True: 0, False: 192]
  ------------------
 6563|      0|                p->level--;
 6564|      0|                return NULL;
 6565|      0|            }
 6566|    192|            int _end_lineno = _token->end_lineno;
 6567|    192|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    192|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 192]
  |  |  ------------------
  ------------------
 6568|    192|            int _end_col_offset = _token->end_col_offset;
 6569|    192|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    192|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 192]
  |  |  ------------------
  ------------------
 6570|    192|            _res = _PyAST_For ( t , ex , b , el , NEW_TYPE_COMMENT ( p , tc ) , EXTRA );
  ------------------
  |  |  269|    192|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 6571|    192|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6571:18): [True: 0, False: 192]
  |  Branch (6571:34): [True: 0, False: 192]
  |  Branch (6571:57): [True: 0, False: 0]
  ------------------
 6572|      0|                p->error_indicator = 1;
 6573|      0|                p->level--;
 6574|      0|                return NULL;
 6575|      0|            }
 6576|    192|            goto done;
 6577|    192|        }
 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|    192|  done:
 6671|    192|    p->level--;
 6672|    192|    return _res;
 6673|      0|}
parser.c:try_stmt_rule:
 7054|    303|{
 7055|    303|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    606|#  define MAXSTACK 6000
  ------------------
  |  Branch (7055:9): [True: 0, False: 303]
  |  Branch (7055:35): [True: 0, False: 303]
  ------------------
 7056|      0|        _Pypegen_stack_overflow(p);
 7057|      0|    }
 7058|    303|    if (p->error_indicator) {
  ------------------
  |  Branch (7058:9): [True: 0, False: 303]
  ------------------
 7059|      0|        p->level--;
 7060|      0|        return NULL;
 7061|      0|    }
 7062|    303|    stmt_ty _res = NULL;
 7063|    303|    int _mark = p->mark;
 7064|    303|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (7064:9): [True: 0, False: 303]
  |  Branch (7064:31): [True: 0, False: 0]
  ------------------
 7065|      0|        p->error_indicator = 1;
 7066|      0|        p->level--;
 7067|      0|        return NULL;
 7068|      0|    }
 7069|    303|    int _start_lineno = p->tokens[_mark]->lineno;
 7070|    303|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    303|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 303]
  |  |  ------------------
  ------------------
 7071|    303|    int _start_col_offset = p->tokens[_mark]->col_offset;
 7072|    303|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    303|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 303]
  |  |  ------------------
  ------------------
 7073|    303|    if (p->call_invalid_rules) { // invalid_try_stmt
  ------------------
  |  Branch (7073:9): [True: 0, False: 303]
  ------------------
 7074|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (7074:13): [True: 0, False: 0]
  ------------------
 7075|      0|            p->level--;
 7076|      0|            return NULL;
 7077|      0|        }
 7078|      0|        D(fprintf(stderr, "%*c> try_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_try_stmt"));
 7079|      0|        void *invalid_try_stmt_var;
 7080|      0|        if (
 7081|      0|            (invalid_try_stmt_var = invalid_try_stmt_rule(p))  // invalid_try_stmt
  ------------------
  |  Branch (7081:13): [True: 0, False: 0]
  ------------------
 7082|      0|        )
 7083|      0|        {
 7084|      0|            D(fprintf(stderr, "%*c+ try_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_try_stmt"));
 7085|      0|            _res = invalid_try_stmt_var;
 7086|      0|            goto done;
 7087|      0|        }
 7088|      0|        p->mark = _mark;
 7089|      0|        D(fprintf(stderr, "%*c%s try_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 7090|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_try_stmt"));
 7091|      0|    }
 7092|    303|    { // 'try' &&':' block finally_block
 7093|    303|        if (p->error_indicator) {
  ------------------
  |  Branch (7093:13): [True: 0, False: 303]
  ------------------
 7094|      0|            p->level--;
 7095|      0|            return NULL;
 7096|      0|        }
 7097|    303|        D(fprintf(stderr, "%*c> try_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'try' &&':' block finally_block"));
 7098|    303|        Token * _keyword;
 7099|    303|        Token * _literal;
 7100|    303|        asdl_stmt_seq* b;
 7101|    303|        asdl_stmt_seq* f;
 7102|    303|        if (
 7103|    303|            (_keyword = _PyPegen_expect_token(p, 672))  // token='try'
  ------------------
  |  Branch (7103:13): [True: 303, False: 0]
  ------------------
 7104|    303|            &&
 7105|    303|            (_literal = _PyPegen_expect_forced_token(p, 11, ":"))  // forced_token=':'
  ------------------
  |  Branch (7105:13): [True: 303, False: 0]
  ------------------
 7106|    303|            &&
 7107|    303|            (b = block_rule(p))  // block
  ------------------
  |  Branch (7107:13): [True: 303, False: 0]
  ------------------
 7108|    303|            &&
 7109|    303|            (f = finally_block_rule(p))  // finally_block
  ------------------
  |  Branch (7109:13): [True: 64, False: 239]
  ------------------
 7110|    303|        )
 7111|     64|        {
 7112|     64|            D(fprintf(stderr, "%*c+ try_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'try' &&':' block finally_block"));
 7113|     64|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 7114|     64|            if (_token == NULL) {
  ------------------
  |  Branch (7114:17): [True: 0, False: 64]
  ------------------
 7115|      0|                p->level--;
 7116|      0|                return NULL;
 7117|      0|            }
 7118|     64|            int _end_lineno = _token->end_lineno;
 7119|     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]
  |  |  ------------------
  ------------------
 7120|     64|            int _end_col_offset = _token->end_col_offset;
 7121|     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]
  |  |  ------------------
  ------------------
 7122|     64|            _res = _PyAST_Try ( b , NULL , NULL , f , EXTRA );
  ------------------
  |  |  269|     64|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 7123|     64|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7123:18): [True: 0, False: 64]
  |  Branch (7123:34): [True: 0, False: 64]
  |  Branch (7123:57): [True: 0, False: 0]
  ------------------
 7124|      0|                p->error_indicator = 1;
 7125|      0|                p->level--;
 7126|      0|                return NULL;
 7127|      0|            }
 7128|     64|            goto done;
 7129|     64|        }
 7130|    239|        p->mark = _mark;
 7131|    239|        D(fprintf(stderr, "%*c%s try_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 7132|    239|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'try' &&':' block finally_block"));
 7133|    239|    }
 7134|      0|    { // 'try' &&':' block except_block+ else_block? finally_block?
 7135|    239|        if (p->error_indicator) {
  ------------------
  |  Branch (7135:13): [True: 0, False: 239]
  ------------------
 7136|      0|            p->level--;
 7137|      0|            return NULL;
 7138|      0|        }
 7139|    239|        D(fprintf(stderr, "%*c> try_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'try' &&':' block except_block+ else_block? finally_block?"));
 7140|    239|        Token * _keyword;
 7141|    239|        Token * _literal;
 7142|    239|        asdl_stmt_seq* b;
 7143|    239|        void *el;
 7144|    239|        asdl_excepthandler_seq* ex;
 7145|    239|        void *f;
 7146|    239|        if (
 7147|    239|            (_keyword = _PyPegen_expect_token(p, 672))  // token='try'
  ------------------
  |  Branch (7147:13): [True: 239, False: 0]
  ------------------
 7148|    239|            &&
 7149|    239|            (_literal = _PyPegen_expect_forced_token(p, 11, ":"))  // forced_token=':'
  ------------------
  |  Branch (7149:13): [True: 239, False: 0]
  ------------------
 7150|    239|            &&
 7151|    239|            (b = block_rule(p))  // block
  ------------------
  |  Branch (7151:13): [True: 239, False: 0]
  ------------------
 7152|    239|            &&
 7153|    239|            (ex = (asdl_excepthandler_seq*)_loop1_36_rule(p))  // except_block+
  ------------------
  |  Branch (7153:13): [True: 239, False: 0]
  ------------------
 7154|    239|            &&
 7155|    239|            (el = else_block_rule(p), !p->error_indicator)  // else_block?
  ------------------
  |  Branch (7155:13): [True: 239, False: 0]
  ------------------
 7156|    239|            &&
 7157|    239|            (f = finally_block_rule(p), !p->error_indicator)  // finally_block?
  ------------------
  |  Branch (7157:13): [True: 239, False: 0]
  ------------------
 7158|    239|        )
 7159|    239|        {
 7160|    239|            D(fprintf(stderr, "%*c+ try_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'try' &&':' block except_block+ else_block? finally_block?"));
 7161|    239|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 7162|    239|            if (_token == NULL) {
  ------------------
  |  Branch (7162:17): [True: 0, False: 239]
  ------------------
 7163|      0|                p->level--;
 7164|      0|                return NULL;
 7165|      0|            }
 7166|    239|            int _end_lineno = _token->end_lineno;
 7167|    239|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    239|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 239]
  |  |  ------------------
  ------------------
 7168|    239|            int _end_col_offset = _token->end_col_offset;
 7169|    239|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    239|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 239]
  |  |  ------------------
  ------------------
 7170|    239|            _res = _PyAST_Try ( b , ex , el , f , EXTRA );
  ------------------
  |  |  269|    239|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 7171|    239|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7171:18): [True: 0, False: 239]
  |  Branch (7171:34): [True: 0, False: 239]
  |  Branch (7171:57): [True: 0, False: 0]
  ------------------
 7172|      0|                p->error_indicator = 1;
 7173|      0|                p->level--;
 7174|      0|                return NULL;
 7175|      0|            }
 7176|    239|            goto done;
 7177|    239|        }
 7178|      0|        p->mark = _mark;
 7179|      0|        D(fprintf(stderr, "%*c%s try_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 7180|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'try' &&':' block except_block+ else_block? finally_block?"));
 7181|      0|    }
 7182|      0|    { // 'try' &&':' block except_star_block+ else_block? finally_block?
 7183|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (7183:13): [True: 0, False: 0]
  ------------------
 7184|      0|            p->level--;
 7185|      0|            return NULL;
 7186|      0|        }
 7187|      0|        D(fprintf(stderr, "%*c> try_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'try' &&':' block except_star_block+ else_block? finally_block?"));
 7188|      0|        Token * _keyword;
 7189|      0|        Token * _literal;
 7190|      0|        asdl_stmt_seq* b;
 7191|      0|        void *el;
 7192|      0|        asdl_excepthandler_seq* ex;
 7193|      0|        void *f;
 7194|      0|        if (
 7195|      0|            (_keyword = _PyPegen_expect_token(p, 672))  // token='try'
  ------------------
  |  Branch (7195:13): [True: 0, False: 0]
  ------------------
 7196|      0|            &&
 7197|      0|            (_literal = _PyPegen_expect_forced_token(p, 11, ":"))  // forced_token=':'
  ------------------
  |  Branch (7197:13): [True: 0, False: 0]
  ------------------
 7198|      0|            &&
 7199|      0|            (b = block_rule(p))  // block
  ------------------
  |  Branch (7199:13): [True: 0, False: 0]
  ------------------
 7200|      0|            &&
 7201|      0|            (ex = (asdl_excepthandler_seq*)_loop1_37_rule(p))  // except_star_block+
  ------------------
  |  Branch (7201:13): [True: 0, False: 0]
  ------------------
 7202|      0|            &&
 7203|      0|            (el = else_block_rule(p), !p->error_indicator)  // else_block?
  ------------------
  |  Branch (7203:13): [True: 0, False: 0]
  ------------------
 7204|      0|            &&
 7205|      0|            (f = finally_block_rule(p), !p->error_indicator)  // finally_block?
  ------------------
  |  Branch (7205:13): [True: 0, False: 0]
  ------------------
 7206|      0|        )
 7207|      0|        {
 7208|      0|            D(fprintf(stderr, "%*c+ try_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'try' &&':' block except_star_block+ else_block? finally_block?"));
 7209|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 7210|      0|            if (_token == NULL) {
  ------------------
  |  Branch (7210:17): [True: 0, False: 0]
  ------------------
 7211|      0|                p->level--;
 7212|      0|                return NULL;
 7213|      0|            }
 7214|      0|            int _end_lineno = _token->end_lineno;
 7215|      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]
  |  |  ------------------
  ------------------
 7216|      0|            int _end_col_offset = _token->end_col_offset;
 7217|      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]
  |  |  ------------------
  ------------------
 7218|      0|            _res = CHECK_VERSION ( stmt_ty , 11 , "Exception groups are" , _PyAST_TryStar ( b , ex , el , f , EXTRA ) );
  ------------------
  |  |  307|      0|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
 7219|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7219:18): [True: 0, False: 0]
  |  Branch (7219:34): [True: 0, False: 0]
  |  Branch (7219:57): [True: 0, False: 0]
  ------------------
 7220|      0|                p->error_indicator = 1;
 7221|      0|                p->level--;
 7222|      0|                return NULL;
 7223|      0|            }
 7224|      0|            goto done;
 7225|      0|        }
 7226|      0|        p->mark = _mark;
 7227|      0|        D(fprintf(stderr, "%*c%s try_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 7228|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'try' &&':' block except_star_block+ else_block? finally_block?"));
 7229|      0|    }
 7230|      0|    _res = NULL;
 7231|    303|  done:
 7232|    303|    p->level--;
 7233|    303|    return _res;
 7234|      0|}
parser.c:finally_block_rule:
 7694|    542|{
 7695|    542|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.08k|#  define MAXSTACK 6000
  ------------------
  |  Branch (7695:9): [True: 0, False: 542]
  |  Branch (7695:35): [True: 0, False: 542]
  ------------------
 7696|      0|        _Pypegen_stack_overflow(p);
 7697|      0|    }
 7698|    542|    if (p->error_indicator) {
  ------------------
  |  Branch (7698:9): [True: 0, False: 542]
  ------------------
 7699|      0|        p->level--;
 7700|      0|        return NULL;
 7701|      0|    }
 7702|    542|    asdl_stmt_seq* _res = NULL;
 7703|    542|    int _mark = p->mark;
 7704|    542|    if (p->call_invalid_rules) { // invalid_finally_stmt
  ------------------
  |  Branch (7704:9): [True: 0, False: 542]
  ------------------
 7705|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (7705:13): [True: 0, False: 0]
  ------------------
 7706|      0|            p->level--;
 7707|      0|            return NULL;
 7708|      0|        }
 7709|      0|        D(fprintf(stderr, "%*c> finally_block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_finally_stmt"));
 7710|      0|        void *invalid_finally_stmt_var;
 7711|      0|        if (
 7712|      0|            (invalid_finally_stmt_var = invalid_finally_stmt_rule(p))  // invalid_finally_stmt
  ------------------
  |  Branch (7712:13): [True: 0, False: 0]
  ------------------
 7713|      0|        )
 7714|      0|        {
 7715|      0|            D(fprintf(stderr, "%*c+ finally_block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_finally_stmt"));
 7716|      0|            _res = invalid_finally_stmt_var;
 7717|      0|            goto done;
 7718|      0|        }
 7719|      0|        p->mark = _mark;
 7720|      0|        D(fprintf(stderr, "%*c%s finally_block[%d-%d]: %s failed!\n", p->level, ' ',
 7721|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_finally_stmt"));
 7722|      0|    }
 7723|    542|    { // 'finally' &&':' block
 7724|    542|        if (p->error_indicator) {
  ------------------
  |  Branch (7724:13): [True: 0, False: 542]
  ------------------
 7725|      0|            p->level--;
 7726|      0|            return NULL;
 7727|      0|        }
 7728|    542|        D(fprintf(stderr, "%*c> finally_block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'finally' &&':' block"));
 7729|    542|        Token * _keyword;
 7730|    542|        Token * _literal;
 7731|    542|        asdl_stmt_seq* a;
 7732|    542|        if (
 7733|    542|            (_keyword = _PyPegen_expect_token(p, 689))  // token='finally'
  ------------------
  |  Branch (7733:13): [True: 73, False: 469]
  ------------------
 7734|     73|            &&
 7735|     73|            (_literal = _PyPegen_expect_forced_token(p, 11, ":"))  // forced_token=':'
  ------------------
  |  Branch (7735:13): [True: 73, False: 0]
  ------------------
 7736|     73|            &&
 7737|     73|            (a = block_rule(p))  // block
  ------------------
  |  Branch (7737:13): [True: 73, False: 0]
  ------------------
 7738|    542|        )
 7739|     73|        {
 7740|     73|            D(fprintf(stderr, "%*c+ finally_block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'finally' &&':' block"));
 7741|     73|            _res = a;
 7742|     73|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7742:18): [True: 0, False: 73]
  |  Branch (7742:34): [True: 0, False: 73]
  |  Branch (7742:57): [True: 0, False: 0]
  ------------------
 7743|      0|                p->error_indicator = 1;
 7744|      0|                p->level--;
 7745|      0|                return NULL;
 7746|      0|            }
 7747|     73|            goto done;
 7748|     73|        }
 7749|    469|        p->mark = _mark;
 7750|    469|        D(fprintf(stderr, "%*c%s finally_block[%d-%d]: %s failed!\n", p->level, ' ',
 7751|    469|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'finally' &&':' block"));
 7752|    469|    }
 7753|    469|    _res = NULL;
 7754|    542|  done:
 7755|    542|    p->level--;
 7756|    542|    return _res;
 7757|    469|}
parser.c:_loop1_36_rule:
30621|    239|{
30622|    239|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    478|#  define MAXSTACK 6000
  ------------------
  |  Branch (30622:9): [True: 0, False: 239]
  |  Branch (30622:35): [True: 0, False: 239]
  ------------------
30623|      0|        _Pypegen_stack_overflow(p);
30624|      0|    }
30625|    239|    if (p->error_indicator) {
  ------------------
  |  Branch (30625:9): [True: 0, False: 239]
  ------------------
30626|      0|        p->level--;
30627|      0|        return NULL;
30628|      0|    }
30629|    239|    void *_res = NULL;
30630|    239|    int _mark = p->mark;
30631|    239|    void **_children = PyMem_Malloc(sizeof(void *));
30632|    239|    if (!_children) {
  ------------------
  |  Branch (30632:9): [True: 0, False: 239]
  ------------------
30633|      0|        p->error_indicator = 1;
30634|      0|        PyErr_NoMemory();
30635|      0|        p->level--;
30636|      0|        return NULL;
30637|      0|    }
30638|    239|    Py_ssize_t _children_capacity = 1;
30639|    239|    Py_ssize_t _n = 0;
30640|    239|    { // except_block
30641|    239|        if (p->error_indicator) {
  ------------------
  |  Branch (30641:13): [True: 0, False: 239]
  ------------------
30642|      0|            p->level--;
30643|      0|            return NULL;
30644|      0|        }
30645|    239|        D(fprintf(stderr, "%*c> _loop1_36[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "except_block"));
30646|    239|        excepthandler_ty except_block_var;
30647|    239|        while (
30648|    564|            (except_block_var = except_block_rule(p))  // except_block
  ------------------
  |  Branch (30648:13): [True: 325, False: 239]
  ------------------
30649|    239|        )
30650|    325|        {
30651|    325|            _res = except_block_var;
30652|    325|            if (_n == _children_capacity) {
  ------------------
  |  Branch (30652:17): [True: 80, False: 245]
  ------------------
30653|     80|                _children_capacity *= 2;
30654|     80|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
30655|     80|                if (!_new_children) {
  ------------------
  |  Branch (30655:21): [True: 0, False: 80]
  ------------------
30656|      0|                    PyMem_Free(_children);
30657|      0|                    p->error_indicator = 1;
30658|      0|                    PyErr_NoMemory();
30659|      0|                    p->level--;
30660|      0|                    return NULL;
30661|      0|                }
30662|     80|                _children = _new_children;
30663|     80|            }
30664|    325|            _children[_n++] = _res;
30665|    325|            _mark = p->mark;
30666|    325|        }
30667|    239|        p->mark = _mark;
30668|    239|        D(fprintf(stderr, "%*c%s _loop1_36[%d-%d]: %s failed!\n", p->level, ' ',
30669|    239|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "except_block"));
30670|    239|    }
30671|    239|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (30671:9): [True: 0, False: 239]
  |  Branch (30671:20): [True: 0, False: 239]
  ------------------
30672|      0|        PyMem_Free(_children);
30673|      0|        p->level--;
30674|      0|        return NULL;
30675|      0|    }
30676|    239|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
30677|    239|    if (!_seq) {
  ------------------
  |  Branch (30677:9): [True: 0, False: 239]
  ------------------
30678|      0|        PyMem_Free(_children);
30679|      0|        p->error_indicator = 1;
30680|      0|        PyErr_NoMemory();
30681|      0|        p->level--;
30682|      0|        return NULL;
30683|      0|    }
30684|    564|    for (Py_ssize_t i = 0; i < _n; i++) asdl_seq_SET_UNTYPED(_seq, i, _children[i]);
  ------------------
  |  |  106|    325|#  define asdl_seq_SET_UNTYPED(S, I, V) _Py_RVALUE((S)->elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|    564|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (30684:28): [True: 325, False: 239]
  ------------------
30685|    239|    PyMem_Free(_children);
30686|    239|    p->level--;
30687|    239|    return _seq;
30688|    239|}
parser.c:except_block_rule:
 7245|    564|{
 7246|    564|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  1.12k|#  define MAXSTACK 6000
  ------------------
  |  Branch (7246:9): [True: 0, False: 564]
  |  Branch (7246:35): [True: 0, False: 564]
  ------------------
 7247|      0|        _Pypegen_stack_overflow(p);
 7248|      0|    }
 7249|    564|    if (p->error_indicator) {
  ------------------
  |  Branch (7249:9): [True: 0, False: 564]
  ------------------
 7250|      0|        p->level--;
 7251|      0|        return NULL;
 7252|      0|    }
 7253|    564|    excepthandler_ty _res = NULL;
 7254|    564|    int _mark = p->mark;
 7255|    564|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (7255:9): [True: 325, False: 239]
  |  Branch (7255:31): [True: 0, False: 325]
  ------------------
 7256|      0|        p->error_indicator = 1;
 7257|      0|        p->level--;
 7258|      0|        return NULL;
 7259|      0|    }
 7260|    564|    int _start_lineno = p->tokens[_mark]->lineno;
 7261|    564|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    564|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 564]
  |  |  ------------------
  ------------------
 7262|    564|    int _start_col_offset = p->tokens[_mark]->col_offset;
 7263|    564|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    564|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 564]
  |  |  ------------------
  ------------------
 7264|    564|    if (p->call_invalid_rules) { // invalid_except_stmt_indent
  ------------------
  |  Branch (7264:9): [True: 0, False: 564]
  ------------------
 7265|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (7265:13): [True: 0, False: 0]
  ------------------
 7266|      0|            p->level--;
 7267|      0|            return NULL;
 7268|      0|        }
 7269|      0|        D(fprintf(stderr, "%*c> except_block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_except_stmt_indent"));
 7270|      0|        void *invalid_except_stmt_indent_var;
 7271|      0|        if (
 7272|      0|            (invalid_except_stmt_indent_var = invalid_except_stmt_indent_rule(p))  // invalid_except_stmt_indent
  ------------------
  |  Branch (7272:13): [True: 0, False: 0]
  ------------------
 7273|      0|        )
 7274|      0|        {
 7275|      0|            D(fprintf(stderr, "%*c+ except_block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_except_stmt_indent"));
 7276|      0|            _res = invalid_except_stmt_indent_var;
 7277|      0|            goto done;
 7278|      0|        }
 7279|      0|        p->mark = _mark;
 7280|      0|        D(fprintf(stderr, "%*c%s except_block[%d-%d]: %s failed!\n", p->level, ' ',
 7281|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_except_stmt_indent"));
 7282|      0|    }
 7283|    564|    { // 'except' expression ':' block
 7284|    564|        if (p->error_indicator) {
  ------------------
  |  Branch (7284:13): [True: 0, False: 564]
  ------------------
 7285|      0|            p->level--;
 7286|      0|            return NULL;
 7287|      0|        }
 7288|    564|        D(fprintf(stderr, "%*c> except_block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'except' expression ':' block"));
 7289|    564|        Token * _keyword;
 7290|    564|        Token * _literal;
 7291|    564|        asdl_stmt_seq* b;
 7292|    564|        expr_ty e;
 7293|    564|        if (
 7294|    564|            (_keyword = _PyPegen_expect_token(p, 693))  // token='except'
  ------------------
  |  Branch (7294:13): [True: 325, False: 239]
  ------------------
 7295|    325|            &&
 7296|    325|            (e = expression_rule(p))  // expression
  ------------------
  |  Branch (7296:13): [True: 309, False: 16]
  ------------------
 7297|    309|            &&
 7298|    309|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (7298:13): [True: 217, False: 92]
  ------------------
 7299|    217|            &&
 7300|    217|            (b = block_rule(p))  // block
  ------------------
  |  Branch (7300:13): [True: 217, False: 0]
  ------------------
 7301|    564|        )
 7302|    217|        {
 7303|    217|            D(fprintf(stderr, "%*c+ except_block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'except' expression ':' block"));
 7304|    217|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 7305|    217|            if (_token == NULL) {
  ------------------
  |  Branch (7305:17): [True: 0, False: 217]
  ------------------
 7306|      0|                p->level--;
 7307|      0|                return NULL;
 7308|      0|            }
 7309|    217|            int _end_lineno = _token->end_lineno;
 7310|    217|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|    217|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 217]
  |  |  ------------------
  ------------------
 7311|    217|            int _end_col_offset = _token->end_col_offset;
 7312|    217|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|    217|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 217]
  |  |  ------------------
  ------------------
 7313|    217|            _res = _PyAST_ExceptHandler ( e , NULL , b , EXTRA );
  ------------------
  |  |  269|    217|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 7314|    217|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7314:18): [True: 0, False: 217]
  |  Branch (7314:34): [True: 0, False: 217]
  |  Branch (7314:57): [True: 0, False: 0]
  ------------------
 7315|      0|                p->error_indicator = 1;
 7316|      0|                p->level--;
 7317|      0|                return NULL;
 7318|      0|            }
 7319|    217|            goto done;
 7320|    217|        }
 7321|    347|        p->mark = _mark;
 7322|    347|        D(fprintf(stderr, "%*c%s except_block[%d-%d]: %s failed!\n", p->level, ' ',
 7323|    347|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'except' expression ':' block"));
 7324|    347|    }
 7325|      0|    { // 'except' expression 'as' NAME ':' block
 7326|    347|        if (p->error_indicator) {
  ------------------
  |  Branch (7326:13): [True: 0, False: 347]
  ------------------
 7327|      0|            p->level--;
 7328|      0|            return NULL;
 7329|      0|        }
 7330|    347|        D(fprintf(stderr, "%*c> except_block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'except' expression 'as' NAME ':' block"));
 7331|    347|        Token * _keyword;
 7332|    347|        Token * _keyword_1;
 7333|    347|        Token * _literal;
 7334|    347|        asdl_stmt_seq* b;
 7335|    347|        expr_ty e;
 7336|    347|        expr_ty t;
 7337|    347|        if (
 7338|    347|            (_keyword = _PyPegen_expect_token(p, 693))  // token='except'
  ------------------
  |  Branch (7338:13): [True: 108, False: 239]
  ------------------
 7339|    108|            &&
 7340|    108|            (e = expression_rule(p))  // expression
  ------------------
  |  Branch (7340:13): [True: 92, False: 16]
  ------------------
 7341|     92|            &&
 7342|     92|            (_keyword_1 = _PyPegen_expect_token(p, 696))  // token='as'
  ------------------
  |  Branch (7342:13): [True: 92, False: 0]
  ------------------
 7343|     92|            &&
 7344|     92|            (t = _PyPegen_name_token(p))  // NAME
  ------------------
  |  Branch (7344:13): [True: 92, False: 0]
  ------------------
 7345|     92|            &&
 7346|     92|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (7346:13): [True: 92, False: 0]
  ------------------
 7347|     92|            &&
 7348|     92|            (b = block_rule(p))  // block
  ------------------
  |  Branch (7348:13): [True: 92, False: 0]
  ------------------
 7349|    347|        )
 7350|     92|        {
 7351|     92|            D(fprintf(stderr, "%*c+ except_block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'except' expression 'as' NAME ':' block"));
 7352|     92|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 7353|     92|            if (_token == NULL) {
  ------------------
  |  Branch (7353:17): [True: 0, False: 92]
  ------------------
 7354|      0|                p->level--;
 7355|      0|                return NULL;
 7356|      0|            }
 7357|     92|            int _end_lineno = _token->end_lineno;
 7358|     92|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|     92|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 92]
  |  |  ------------------
  ------------------
 7359|     92|            int _end_col_offset = _token->end_col_offset;
 7360|     92|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|     92|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 92]
  |  |  ------------------
  ------------------
 7361|     92|            _res = _PyAST_ExceptHandler ( e , ( ( expr_ty ) t ) -> v . Name . id , b , EXTRA );
  ------------------
  |  |  269|     92|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 7362|     92|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7362:18): [True: 0, False: 92]
  |  Branch (7362:34): [True: 0, False: 92]
  |  Branch (7362:57): [True: 0, False: 0]
  ------------------
 7363|      0|                p->error_indicator = 1;
 7364|      0|                p->level--;
 7365|      0|                return NULL;
 7366|      0|            }
 7367|     92|            goto done;
 7368|     92|        }
 7369|    255|        p->mark = _mark;
 7370|    255|        D(fprintf(stderr, "%*c%s except_block[%d-%d]: %s failed!\n", p->level, ' ',
 7371|    255|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'except' expression 'as' NAME ':' block"));
 7372|    255|    }
 7373|      0|    { // 'except' expressions ':' block
 7374|    255|        if (p->error_indicator) {
  ------------------
  |  Branch (7374:13): [True: 0, False: 255]
  ------------------
 7375|      0|            p->level--;
 7376|      0|            return NULL;
 7377|      0|        }
 7378|    255|        D(fprintf(stderr, "%*c> except_block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'except' expressions ':' block"));
 7379|    255|        Token * _keyword;
 7380|    255|        Token * _literal;
 7381|    255|        asdl_stmt_seq* b;
 7382|    255|        expr_ty e;
 7383|    255|        if (
 7384|    255|            (_keyword = _PyPegen_expect_token(p, 693))  // token='except'
  ------------------
  |  Branch (7384:13): [True: 16, False: 239]
  ------------------
 7385|     16|            &&
 7386|     16|            (e = expressions_rule(p))  // expressions
  ------------------
  |  Branch (7386:13): [True: 0, False: 16]
  ------------------
 7387|      0|            &&
 7388|      0|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (7388:13): [True: 0, False: 0]
  ------------------
 7389|      0|            &&
 7390|      0|            (b = block_rule(p))  // block
  ------------------
  |  Branch (7390:13): [True: 0, False: 0]
  ------------------
 7391|    255|        )
 7392|      0|        {
 7393|      0|            D(fprintf(stderr, "%*c+ except_block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'except' expressions ':' block"));
 7394|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 7395|      0|            if (_token == NULL) {
  ------------------
  |  Branch (7395:17): [True: 0, False: 0]
  ------------------
 7396|      0|                p->level--;
 7397|      0|                return NULL;
 7398|      0|            }
 7399|      0|            int _end_lineno = _token->end_lineno;
 7400|      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]
  |  |  ------------------
  ------------------
 7401|      0|            int _end_col_offset = _token->end_col_offset;
 7402|      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]
  |  |  ------------------
  ------------------
 7403|      0|            _res = CHECK_VERSION ( excepthandler_ty , 14 , "except expressions without parentheses are" , _PyAST_ExceptHandler ( e , NULL , b , EXTRA ) );
  ------------------
  |  |  307|      0|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
 7404|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7404:18): [True: 0, False: 0]
  |  Branch (7404:34): [True: 0, False: 0]
  |  Branch (7404:57): [True: 0, False: 0]
  ------------------
 7405|      0|                p->error_indicator = 1;
 7406|      0|                p->level--;
 7407|      0|                return NULL;
 7408|      0|            }
 7409|      0|            goto done;
 7410|      0|        }
 7411|    255|        p->mark = _mark;
 7412|    255|        D(fprintf(stderr, "%*c%s except_block[%d-%d]: %s failed!\n", p->level, ' ',
 7413|    255|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'except' expressions ':' block"));
 7414|    255|    }
 7415|      0|    { // 'except' ':' block
 7416|    255|        if (p->error_indicator) {
  ------------------
  |  Branch (7416:13): [True: 0, False: 255]
  ------------------
 7417|      0|            p->level--;
 7418|      0|            return NULL;
 7419|      0|        }
 7420|    255|        D(fprintf(stderr, "%*c> except_block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'except' ':' block"));
 7421|    255|        Token * _keyword;
 7422|    255|        Token * _literal;
 7423|    255|        asdl_stmt_seq* b;
 7424|    255|        if (
 7425|    255|            (_keyword = _PyPegen_expect_token(p, 693))  // token='except'
  ------------------
  |  Branch (7425:13): [True: 16, False: 239]
  ------------------
 7426|     16|            &&
 7427|     16|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (7427:13): [True: 16, False: 0]
  ------------------
 7428|     16|            &&
 7429|     16|            (b = block_rule(p))  // block
  ------------------
  |  Branch (7429:13): [True: 16, False: 0]
  ------------------
 7430|    255|        )
 7431|     16|        {
 7432|     16|            D(fprintf(stderr, "%*c+ except_block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'except' ':' block"));
 7433|     16|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 7434|     16|            if (_token == NULL) {
  ------------------
  |  Branch (7434:17): [True: 0, False: 16]
  ------------------
 7435|      0|                p->level--;
 7436|      0|                return NULL;
 7437|      0|            }
 7438|     16|            int _end_lineno = _token->end_lineno;
 7439|     16|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|     16|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 16]
  |  |  ------------------
  ------------------
 7440|     16|            int _end_col_offset = _token->end_col_offset;
 7441|     16|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|     16|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 16]
  |  |  ------------------
  ------------------
 7442|     16|            _res = _PyAST_ExceptHandler ( NULL , NULL , b , EXTRA );
  ------------------
  |  |  269|     16|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 7443|     16|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7443:18): [True: 0, False: 16]
  |  Branch (7443:34): [True: 0, False: 16]
  |  Branch (7443:57): [True: 0, False: 0]
  ------------------
 7444|      0|                p->error_indicator = 1;
 7445|      0|                p->level--;
 7446|      0|                return NULL;
 7447|      0|            }
 7448|     16|            goto done;
 7449|     16|        }
 7450|    239|        p->mark = _mark;
 7451|    239|        D(fprintf(stderr, "%*c%s except_block[%d-%d]: %s failed!\n", p->level, ' ',
 7452|    239|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'except' ':' block"));
 7453|    239|    }
 7454|    239|    if (p->call_invalid_rules) { // invalid_except_stmt
  ------------------
  |  Branch (7454:9): [True: 0, False: 239]
  ------------------
 7455|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (7455:13): [True: 0, False: 0]
  ------------------
 7456|      0|            p->level--;
 7457|      0|            return NULL;
 7458|      0|        }
 7459|      0|        D(fprintf(stderr, "%*c> except_block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_except_stmt"));
 7460|      0|        void *invalid_except_stmt_var;
 7461|      0|        if (
 7462|      0|            (invalid_except_stmt_var = invalid_except_stmt_rule(p))  // invalid_except_stmt
  ------------------
  |  Branch (7462:13): [True: 0, False: 0]
  ------------------
 7463|      0|        )
 7464|      0|        {
 7465|      0|            D(fprintf(stderr, "%*c+ except_block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_except_stmt"));
 7466|      0|            _res = invalid_except_stmt_var;
 7467|      0|            goto done;
 7468|      0|        }
 7469|      0|        p->mark = _mark;
 7470|      0|        D(fprintf(stderr, "%*c%s except_block[%d-%d]: %s failed!\n", p->level, ' ',
 7471|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_except_stmt"));
 7472|      0|    }
 7473|    239|    _res = NULL;
 7474|    564|  done:
 7475|    564|    p->level--;
 7476|    564|    return _res;
 7477|    239|}
parser.c:while_stmt_rule:
 6391|     72|{
 6392|     72|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|    144|#  define MAXSTACK 6000
  ------------------
  |  Branch (6392:9): [True: 0, False: 72]
  |  Branch (6392:35): [True: 0, False: 72]
  ------------------
 6393|      0|        _Pypegen_stack_overflow(p);
 6394|      0|    }
 6395|     72|    if (p->error_indicator) {
  ------------------
  |  Branch (6395:9): [True: 0, False: 72]
  ------------------
 6396|      0|        p->level--;
 6397|      0|        return NULL;
 6398|      0|    }
 6399|     72|    stmt_ty _res = NULL;
 6400|     72|    int _mark = p->mark;
 6401|     72|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (6401:9): [True: 0, False: 72]
  |  Branch (6401:31): [True: 0, False: 0]
  ------------------
 6402|      0|        p->error_indicator = 1;
 6403|      0|        p->level--;
 6404|      0|        return NULL;
 6405|      0|    }
 6406|     72|    int _start_lineno = p->tokens[_mark]->lineno;
 6407|     72|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|     72|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 72]
  |  |  ------------------
  ------------------
 6408|     72|    int _start_col_offset = p->tokens[_mark]->col_offset;
 6409|     72|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|     72|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 72]
  |  |  ------------------
  ------------------
 6410|     72|    if (p->call_invalid_rules) { // invalid_while_stmt
  ------------------
  |  Branch (6410:9): [True: 0, False: 72]
  ------------------
 6411|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (6411:13): [True: 0, False: 0]
  ------------------
 6412|      0|            p->level--;
 6413|      0|            return NULL;
 6414|      0|        }
 6415|      0|        D(fprintf(stderr, "%*c> while_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_while_stmt"));
 6416|      0|        void *invalid_while_stmt_var;
 6417|      0|        if (
 6418|      0|            (invalid_while_stmt_var = invalid_while_stmt_rule(p))  // invalid_while_stmt
  ------------------
  |  Branch (6418:13): [True: 0, False: 0]
  ------------------
 6419|      0|        )
 6420|      0|        {
 6421|      0|            D(fprintf(stderr, "%*c+ while_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_while_stmt"));
 6422|      0|            _res = invalid_while_stmt_var;
 6423|      0|            goto done;
 6424|      0|        }
 6425|      0|        p->mark = _mark;
 6426|      0|        D(fprintf(stderr, "%*c%s while_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 6427|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_while_stmt"));
 6428|      0|    }
 6429|     72|    { // 'while' named_expression ':' block else_block?
 6430|     72|        if (p->error_indicator) {
  ------------------
  |  Branch (6430:13): [True: 0, False: 72]
  ------------------
 6431|      0|            p->level--;
 6432|      0|            return NULL;
 6433|      0|        }
 6434|     72|        D(fprintf(stderr, "%*c> while_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'while' named_expression ':' block else_block?"));
 6435|     72|        Token * _keyword;
 6436|     72|        Token * _literal;
 6437|     72|        expr_ty a;
 6438|     72|        asdl_stmt_seq* b;
 6439|     72|        void *c;
 6440|     72|        if (
 6441|     72|            (_keyword = _PyPegen_expect_token(p, 705))  // token='while'
  ------------------
  |  Branch (6441:13): [True: 72, False: 0]
  ------------------
 6442|     72|            &&
 6443|     72|            (a = named_expression_rule(p))  // named_expression
  ------------------
  |  Branch (6443:13): [True: 72, False: 0]
  ------------------
 6444|     72|            &&
 6445|     72|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (6445:13): [True: 72, False: 0]
  ------------------
 6446|     72|            &&
 6447|     72|            (b = block_rule(p))  // block
  ------------------
  |  Branch (6447:13): [True: 72, False: 0]
  ------------------
 6448|     72|            &&
 6449|     72|            (c = else_block_rule(p), !p->error_indicator)  // else_block?
  ------------------
  |  Branch (6449:13): [True: 72, False: 0]
  ------------------
 6450|     72|        )
 6451|     72|        {
 6452|     72|            D(fprintf(stderr, "%*c+ while_stmt[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'while' named_expression ':' block else_block?"));
 6453|     72|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 6454|     72|            if (_token == NULL) {
  ------------------
  |  Branch (6454:17): [True: 0, False: 72]
  ------------------
 6455|      0|                p->level--;
 6456|      0|                return NULL;
 6457|      0|            }
 6458|     72|            int _end_lineno = _token->end_lineno;
 6459|     72|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|     72|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 72]
  |  |  ------------------
  ------------------
 6460|     72|            int _end_col_offset = _token->end_col_offset;
 6461|     72|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|     72|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 72]
  |  |  ------------------
  ------------------
 6462|     72|            _res = _PyAST_While ( a , b , c , EXTRA );
  ------------------
  |  |  269|     72|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 6463|     72|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (6463:18): [True: 0, False: 72]
  |  Branch (6463:34): [True: 0, False: 72]
  |  Branch (6463:57): [True: 0, False: 0]
  ------------------
 6464|      0|                p->error_indicator = 1;
 6465|      0|                p->level--;
 6466|      0|                return NULL;
 6467|      0|            }
 6468|     72|            goto done;
 6469|     72|        }
 6470|      0|        p->mark = _mark;
 6471|      0|        D(fprintf(stderr, "%*c%s while_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 6472|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'while' named_expression ':' block else_block?"));
 6473|      0|    }
 6474|      0|    _res = NULL;
 6475|     72|  done:
 6476|     72|    p->level--;
 6477|     72|    return _res;
 6478|      0|}
parser.c:match_stmt_rule:
 7764|  69.3k|{
 7765|  69.3k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   138k|#  define MAXSTACK 6000
  ------------------
  |  Branch (7765:9): [True: 0, False: 69.3k]
  |  Branch (7765:35): [True: 0, False: 69.3k]
  ------------------
 7766|      0|        _Pypegen_stack_overflow(p);
 7767|      0|    }
 7768|  69.3k|    if (p->error_indicator) {
  ------------------
  |  Branch (7768:9): [True: 0, False: 69.3k]
  ------------------
 7769|      0|        p->level--;
 7770|      0|        return NULL;
 7771|      0|    }
 7772|  69.3k|    stmt_ty _res = NULL;
 7773|  69.3k|    int _mark = p->mark;
 7774|  69.3k|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (7774:9): [True: 0, False: 69.3k]
  |  Branch (7774:31): [True: 0, False: 0]
  ------------------
 7775|      0|        p->error_indicator = 1;
 7776|      0|        p->level--;
 7777|      0|        return NULL;
 7778|      0|    }
 7779|  69.3k|    int _start_lineno = p->tokens[_mark]->lineno;
 7780|  69.3k|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|  69.3k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 69.3k]
  |  |  ------------------
  ------------------
 7781|  69.3k|    int _start_col_offset = p->tokens[_mark]->col_offset;
 7782|  69.3k|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|  69.3k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 69.3k]
  |  |  ------------------
  ------------------
 7783|  69.3k|    { // "match" subject_expr ':' NEWLINE INDENT case_block+ DEDENT
 7784|  69.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (7784:13): [True: 0, False: 69.3k]
  ------------------
 7785|      0|            p->level--;
 7786|      0|            return NULL;
 7787|      0|        }
 7788|  69.3k|        D(fprintf(stderr, "%*c> match_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "\"match\" subject_expr ':' NEWLINE INDENT case_block+ DEDENT"));
 7789|  69.3k|        expr_ty _keyword;
 7790|  69.3k|        Token * _literal;
 7791|  69.3k|        asdl_match_case_seq* cases;
 7792|  69.3k|        Token * dedent_var;
 7793|  69.3k|        Token * indent_var;
 7794|  69.3k|        Token * newline_var;
 7795|  69.3k|        expr_ty subject;
 7796|  69.3k|        if (
 7797|  69.3k|            (_keyword = _PyPegen_expect_soft_keyword(p, "match"))  // soft_keyword='"match"'
  ------------------
  |  Branch (7797:13): [True: 2, False: 69.3k]
  ------------------
 7798|      2|            &&
 7799|      2|            (subject = subject_expr_rule(p))  // subject_expr
  ------------------
  |  Branch (7799:13): [True: 1, False: 1]
  ------------------
 7800|      1|            &&
 7801|      1|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (7801:13): [True: 1, False: 0]
  ------------------
 7802|      1|            &&
 7803|      1|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|      1|#define NEWLINE         4
  ------------------
  |  Branch (7803:13): [True: 1, False: 0]
  ------------------
 7804|      1|            &&
 7805|      1|            (indent_var = _PyPegen_expect_token(p, INDENT))  // token='INDENT'
  ------------------
  |  |   21|      1|#define INDENT          5
  ------------------
  |  Branch (7805:13): [True: 1, False: 0]
  ------------------
 7806|      1|            &&
 7807|      1|            (cases = (asdl_match_case_seq*)_loop1_38_rule(p))  // case_block+
  ------------------
  |  Branch (7807:13): [True: 1, False: 0]
  ------------------
 7808|      1|            &&
 7809|      1|            (dedent_var = _PyPegen_expect_token(p, DEDENT))  // token='DEDENT'
  ------------------
  |  |   22|      1|#define DEDENT          6
  ------------------
  |  Branch (7809:13): [True: 1, False: 0]
  ------------------
 7810|  69.3k|        )
 7811|      1|        {
 7812|      1|            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|      1|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 7814|      1|            if (_token == NULL) {
  ------------------
  |  Branch (7814:17): [True: 0, False: 1]
  ------------------
 7815|      0|                p->level--;
 7816|      0|                return NULL;
 7817|      0|            }
 7818|      1|            int _end_lineno = _token->end_lineno;
 7819|      1|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      1|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 1]
  |  |  ------------------
  ------------------
 7820|      1|            int _end_col_offset = _token->end_col_offset;
 7821|      1|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      1|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 1]
  |  |  ------------------
  ------------------
 7822|      1|            _res = CHECK_VERSION ( stmt_ty , 10 , "Pattern matching is" , _PyAST_Match ( subject , cases , EXTRA ) );
  ------------------
  |  |  307|      1|#define CHECK_VERSION(type, version, msg, node) ((type) INVALID_VERSION_CHECK(p, version, msg, node))
  ------------------
 7823|      1|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7823:18): [True: 0, False: 1]
  |  Branch (7823:34): [True: 0, False: 1]
  |  Branch (7823:57): [True: 0, False: 0]
  ------------------
 7824|      0|                p->error_indicator = 1;
 7825|      0|                p->level--;
 7826|      0|                return NULL;
 7827|      0|            }
 7828|      1|            goto done;
 7829|      1|        }
 7830|  69.3k|        p->mark = _mark;
 7831|  69.3k|        D(fprintf(stderr, "%*c%s match_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 7832|  69.3k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "\"match\" subject_expr ':' NEWLINE INDENT case_block+ DEDENT"));
 7833|  69.3k|    }
 7834|  69.3k|    if (p->call_invalid_rules) { // invalid_match_stmt
  ------------------
  |  Branch (7834:9): [True: 27.1k, False: 42.1k]
  ------------------
 7835|  27.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (7835:13): [True: 0, False: 27.1k]
  ------------------
 7836|      0|            p->level--;
 7837|      0|            return NULL;
 7838|      0|        }
 7839|  27.1k|        D(fprintf(stderr, "%*c> match_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_match_stmt"));
 7840|  27.1k|        void *invalid_match_stmt_var;
 7841|  27.1k|        if (
 7842|  27.1k|            (invalid_match_stmt_var = invalid_match_stmt_rule(p))  // invalid_match_stmt
  ------------------
  |  Branch (7842:13): [True: 0, False: 27.1k]
  ------------------
 7843|  27.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|  27.1k|        p->mark = _mark;
 7850|  27.1k|        D(fprintf(stderr, "%*c%s match_stmt[%d-%d]: %s failed!\n", p->level, ' ',
 7851|  27.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_match_stmt"));
 7852|  27.1k|    }
 7853|  69.3k|    _res = NULL;
 7854|  69.3k|  done:
 7855|  69.3k|    p->level--;
 7856|  69.3k|    return _res;
 7857|  69.3k|}
parser.c:subject_expr_rule:
 7862|      2|{
 7863|      2|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|      4|#  define MAXSTACK 6000
  ------------------
  |  Branch (7863:9): [True: 0, False: 2]
  |  Branch (7863:35): [True: 0, False: 2]
  ------------------
 7864|      0|        _Pypegen_stack_overflow(p);
 7865|      0|    }
 7866|      2|    if (p->error_indicator) {
  ------------------
  |  Branch (7866:9): [True: 0, False: 2]
  ------------------
 7867|      0|        p->level--;
 7868|      0|        return NULL;
 7869|      0|    }
 7870|      2|    expr_ty _res = NULL;
 7871|      2|    int _mark = p->mark;
 7872|      2|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (7872:9): [True: 2, False: 0]
  |  Branch (7872:31): [True: 0, False: 2]
  ------------------
 7873|      0|        p->error_indicator = 1;
 7874|      0|        p->level--;
 7875|      0|        return NULL;
 7876|      0|    }
 7877|      2|    int _start_lineno = p->tokens[_mark]->lineno;
 7878|      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]
  |  |  ------------------
  ------------------
 7879|      2|    int _start_col_offset = p->tokens[_mark]->col_offset;
 7880|      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]
  |  |  ------------------
  ------------------
 7881|      2|    { // star_named_expression ',' star_named_expressions?
 7882|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (7882:13): [True: 0, False: 2]
  ------------------
 7883|      0|            p->level--;
 7884|      0|            return NULL;
 7885|      0|        }
 7886|      2|        D(fprintf(stderr, "%*c> subject_expr[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_named_expression ',' star_named_expressions?"));
 7887|      2|        Token * _literal;
 7888|      2|        expr_ty value;
 7889|      2|        void *values;
 7890|      2|        if (
 7891|      2|            (value = star_named_expression_rule(p))  // star_named_expression
  ------------------
  |  Branch (7891:13): [True: 1, False: 1]
  ------------------
 7892|      1|            &&
 7893|      1|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (7893:13): [True: 0, False: 1]
  ------------------
 7894|      0|            &&
 7895|      0|            (values = star_named_expressions_rule(p), !p->error_indicator)  // star_named_expressions?
  ------------------
  |  Branch (7895:13): [True: 0, False: 0]
  ------------------
 7896|      2|        )
 7897|      0|        {
 7898|      0|            D(fprintf(stderr, "%*c+ subject_expr[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_named_expression ',' star_named_expressions?"));
 7899|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 7900|      0|            if (_token == NULL) {
  ------------------
  |  Branch (7900:17): [True: 0, False: 0]
  ------------------
 7901|      0|                p->level--;
 7902|      0|                return NULL;
 7903|      0|            }
 7904|      0|            int _end_lineno = _token->end_lineno;
 7905|      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]
  |  |  ------------------
  ------------------
 7906|      0|            int _end_col_offset = _token->end_col_offset;
 7907|      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]
  |  |  ------------------
  ------------------
 7908|      0|            _res = _PyAST_Tuple ( CHECK ( asdl_expr_seq* , _PyPegen_seq_insert_in_front ( p , value , values ) ) , 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 , value , values ) ) , Load , EXTRA );
  ------------------
  |  |  269|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 7909|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (7909:18): [True: 0, False: 0]
  |  Branch (7909:34): [True: 0, False: 0]
  |  Branch (7909:57): [True: 0, False: 0]
  ------------------
 7910|      0|                p->error_indicator = 1;
 7911|      0|                p->level--;
 7912|      0|                return NULL;
 7913|      0|            }
 7914|      0|            goto done;
 7915|      0|        }
 7916|      2|        p->mark = _mark;
 7917|      2|        D(fprintf(stderr, "%*c%s subject_expr[%d-%d]: %s failed!\n", p->level, ' ',
 7918|      2|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_named_expression ',' star_named_expressions?"));
 7919|      2|    }
 7920|      0|    { // named_expression
 7921|      2|        if (p->error_indicator) {
  ------------------
  |  Branch (7921:13): [True: 0, False: 2]
  ------------------
 7922|      0|            p->level--;
 7923|      0|            return NULL;
 7924|      0|        }
 7925|      2|        D(fprintf(stderr, "%*c> subject_expr[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "named_expression"));
 7926|      2|        expr_ty named_expression_var;
 7927|      2|        if (
 7928|      2|            (named_expression_var = named_expression_rule(p))  // named_expression
  ------------------
  |  Branch (7928:13): [True: 1, False: 1]
  ------------------
 7929|      2|        )
 7930|      1|        {
 7931|      1|            D(fprintf(stderr, "%*c+ subject_expr[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "named_expression"));
 7932|      1|            _res = named_expression_var;
 7933|      1|            goto done;
 7934|      1|        }
 7935|      1|        p->mark = _mark;
 7936|      1|        D(fprintf(stderr, "%*c%s subject_expr[%d-%d]: %s failed!\n", p->level, ' ',
 7937|      1|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "named_expression"));
 7938|      1|    }
 7939|      1|    _res = NULL;
 7940|      2|  done:
 7941|      2|    p->level--;
 7942|      2|    return _res;
 7943|      1|}
parser.c:_loop1_38_rule:
30765|      1|{
30766|      1|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|      2|#  define MAXSTACK 6000
  ------------------
  |  Branch (30766:9): [True: 0, False: 1]
  |  Branch (30766:35): [True: 0, False: 1]
  ------------------
30767|      0|        _Pypegen_stack_overflow(p);
30768|      0|    }
30769|      1|    if (p->error_indicator) {
  ------------------
  |  Branch (30769:9): [True: 0, False: 1]
  ------------------
30770|      0|        p->level--;
30771|      0|        return NULL;
30772|      0|    }
30773|      1|    void *_res = NULL;
30774|      1|    int _mark = p->mark;
30775|      1|    void **_children = PyMem_Malloc(sizeof(void *));
30776|      1|    if (!_children) {
  ------------------
  |  Branch (30776:9): [True: 0, False: 1]
  ------------------
30777|      0|        p->error_indicator = 1;
30778|      0|        PyErr_NoMemory();
30779|      0|        p->level--;
30780|      0|        return NULL;
30781|      0|    }
30782|      1|    Py_ssize_t _children_capacity = 1;
30783|      1|    Py_ssize_t _n = 0;
30784|      1|    { // case_block
30785|      1|        if (p->error_indicator) {
  ------------------
  |  Branch (30785:13): [True: 0, False: 1]
  ------------------
30786|      0|            p->level--;
30787|      0|            return NULL;
30788|      0|        }
30789|      1|        D(fprintf(stderr, "%*c> _loop1_38[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "case_block"));
30790|      1|        match_case_ty case_block_var;
30791|      1|        while (
30792|      5|            (case_block_var = case_block_rule(p))  // case_block
  ------------------
  |  Branch (30792:13): [True: 4, False: 1]
  ------------------
30793|      1|        )
30794|      4|        {
30795|      4|            _res = case_block_var;
30796|      4|            if (_n == _children_capacity) {
  ------------------
  |  Branch (30796:17): [True: 2, False: 2]
  ------------------
30797|      2|                _children_capacity *= 2;
30798|      2|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
30799|      2|                if (!_new_children) {
  ------------------
  |  Branch (30799:21): [True: 0, False: 2]
  ------------------
30800|      0|                    PyMem_Free(_children);
30801|      0|                    p->error_indicator = 1;
30802|      0|                    PyErr_NoMemory();
30803|      0|                    p->level--;
30804|      0|                    return NULL;
30805|      0|                }
30806|      2|                _children = _new_children;
30807|      2|            }
30808|      4|            _children[_n++] = _res;
30809|      4|            _mark = p->mark;
30810|      4|        }
30811|      1|        p->mark = _mark;
30812|      1|        D(fprintf(stderr, "%*c%s _loop1_38[%d-%d]: %s failed!\n", p->level, ' ',
30813|      1|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "case_block"));
30814|      1|    }
30815|      1|    if (_n == 0 || p->error_indicator) {
  ------------------
  |  Branch (30815:9): [True: 0, False: 1]
  |  Branch (30815:20): [True: 0, False: 1]
  ------------------
30816|      0|        PyMem_Free(_children);
30817|      0|        p->level--;
30818|      0|        return NULL;
30819|      0|    }
30820|      1|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
30821|      1|    if (!_seq) {
  ------------------
  |  Branch (30821:9): [True: 0, False: 1]
  ------------------
30822|      0|        PyMem_Free(_children);
30823|      0|        p->error_indicator = 1;
30824|      0|        PyErr_NoMemory();
30825|      0|        p->level--;
30826|      0|        return NULL;
30827|      0|    }
30828|      5|    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|      5|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (30828:28): [True: 4, False: 1]
  ------------------
30829|      1|    PyMem_Free(_children);
30830|      1|    p->level--;
30831|      1|    return _seq;
30832|      1|}
parser.c:case_block_rule:
 7948|      5|{
 7949|      5|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     10|#  define MAXSTACK 6000
  ------------------
  |  Branch (7949:9): [True: 0, False: 5]
  |  Branch (7949:35): [True: 0, False: 5]
  ------------------
 7950|      0|        _Pypegen_stack_overflow(p);
 7951|      0|    }
 7952|      5|    if (p->error_indicator) {
  ------------------
  |  Branch (7952:9): [True: 0, False: 5]
  ------------------
 7953|      0|        p->level--;
 7954|      0|        return NULL;
 7955|      0|    }
 7956|      5|    match_case_ty _res = NULL;
 7957|      5|    int _mark = p->mark;
 7958|      5|    if (p->call_invalid_rules) { // invalid_case_block
  ------------------
  |  Branch (7958:9): [True: 0, False: 5]
  ------------------
 7959|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (7959:13): [True: 0, False: 0]
  ------------------
 7960|      0|            p->level--;
 7961|      0|            return NULL;
 7962|      0|        }
 7963|      0|        D(fprintf(stderr, "%*c> case_block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_case_block"));
 7964|      0|        void *invalid_case_block_var;
 7965|      0|        if (
 7966|      0|            (invalid_case_block_var = invalid_case_block_rule(p))  // invalid_case_block
  ------------------
  |  Branch (7966:13): [True: 0, False: 0]
  ------------------
 7967|      0|        )
 7968|      0|        {
 7969|      0|            D(fprintf(stderr, "%*c+ case_block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_case_block"));
 7970|      0|            _res = invalid_case_block_var;
 7971|      0|            goto done;
 7972|      0|        }
 7973|      0|        p->mark = _mark;
 7974|      0|        D(fprintf(stderr, "%*c%s case_block[%d-%d]: %s failed!\n", p->level, ' ',
 7975|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_case_block"));
 7976|      0|    }
 7977|      5|    { // "case" patterns guard? ':' block
 7978|      5|        if (p->error_indicator) {
  ------------------
  |  Branch (7978:13): [True: 0, False: 5]
  ------------------
 7979|      0|            p->level--;
 7980|      0|            return NULL;
 7981|      0|        }
 7982|      5|        D(fprintf(stderr, "%*c> case_block[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "\"case\" patterns guard? ':' block"));
 7983|      5|        expr_ty _keyword;
 7984|      5|        Token * _literal;
 7985|      5|        asdl_stmt_seq* body;
 7986|      5|        void *guard;
 7987|      5|        pattern_ty pattern;
 7988|      5|        if (
 7989|      5|            (_keyword = _PyPegen_expect_soft_keyword(p, "case"))  // soft_keyword='"case"'
  ------------------
  |  Branch (7989:13): [True: 4, False: 1]
  ------------------
 7990|      4|            &&
 7991|      4|            (pattern = patterns_rule(p))  // patterns
  ------------------
  |  Branch (7991:13): [True: 4, False: 0]
  ------------------
 7992|      4|            &&
 7993|      4|            (guard = guard_rule(p), !p->error_indicator)  // guard?
  ------------------
  |  Branch (7993:13): [True: 4, False: 0]
  ------------------
 7994|      4|            &&
 7995|      4|            (_literal = _PyPegen_expect_token(p, 11))  // token=':'
  ------------------
  |  Branch (7995:13): [True: 4, False: 0]
  ------------------
 7996|      4|            &&
 7997|      4|            (body = block_rule(p))  // block
  ------------------
  |  Branch (7997:13): [True: 4, False: 0]
  ------------------
 7998|      5|        )
 7999|      4|        {
 8000|      4|            D(fprintf(stderr, "%*c+ case_block[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "\"case\" patterns guard? ':' block"));
 8001|      4|            _res = _PyAST_match_case ( pattern , guard , body , p -> arena );
 8002|      4|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (8002:18): [True: 0, False: 4]
  |  Branch (8002:34): [True: 0, False: 4]
  |  Branch (8002:57): [True: 0, False: 0]
  ------------------
 8003|      0|                p->error_indicator = 1;
 8004|      0|                p->level--;
 8005|      0|                return NULL;
 8006|      0|            }
 8007|      4|            goto done;
 8008|      4|        }
 8009|      1|        p->mark = _mark;
 8010|      1|        D(fprintf(stderr, "%*c%s case_block[%d-%d]: %s failed!\n", p->level, ' ',
 8011|      1|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "\"case\" patterns guard? ':' block"));
 8012|      1|    }
 8013|      1|    _res = NULL;
 8014|      5|  done:
 8015|      5|    p->level--;
 8016|      5|    return _res;
 8017|      1|}
parser.c:patterns_rule:
 8068|      4|{
 8069|      4|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|      8|#  define MAXSTACK 6000
  ------------------
  |  Branch (8069:9): [True: 0, False: 4]
  |  Branch (8069:35): [True: 0, False: 4]
  ------------------
 8070|      0|        _Pypegen_stack_overflow(p);
 8071|      0|    }
 8072|      4|    if (p->error_indicator) {
  ------------------
  |  Branch (8072:9): [True: 0, False: 4]
  ------------------
 8073|      0|        p->level--;
 8074|      0|        return NULL;
 8075|      0|    }
 8076|      4|    pattern_ty _res = NULL;
 8077|      4|    int _mark = p->mark;
 8078|      4|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (8078:9): [True: 4, False: 0]
  |  Branch (8078:31): [True: 0, False: 4]
  ------------------
 8079|      0|        p->error_indicator = 1;
 8080|      0|        p->level--;
 8081|      0|        return NULL;
 8082|      0|    }
 8083|      4|    int _start_lineno = p->tokens[_mark]->lineno;
 8084|      4|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      4|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 4]
  |  |  ------------------
  ------------------
 8085|      4|    int _start_col_offset = p->tokens[_mark]->col_offset;
 8086|      4|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      4|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 4]
  |  |  ------------------
  ------------------
 8087|      4|    { // open_sequence_pattern
 8088|      4|        if (p->error_indicator) {
  ------------------
  |  Branch (8088:13): [True: 0, False: 4]
  ------------------
 8089|      0|            p->level--;
 8090|      0|            return NULL;
 8091|      0|        }
 8092|      4|        D(fprintf(stderr, "%*c> patterns[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "open_sequence_pattern"));
 8093|      4|        asdl_pattern_seq* patterns;
 8094|      4|        if (
 8095|      4|            (patterns = (asdl_pattern_seq*)open_sequence_pattern_rule(p))  // open_sequence_pattern
  ------------------
  |  Branch (8095:13): [True: 0, False: 4]
  ------------------
 8096|      4|        )
 8097|      0|        {
 8098|      0|            D(fprintf(stderr, "%*c+ patterns[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "open_sequence_pattern"));
 8099|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 8100|      0|            if (_token == NULL) {
  ------------------
  |  Branch (8100:17): [True: 0, False: 0]
  ------------------
 8101|      0|                p->level--;
 8102|      0|                return NULL;
 8103|      0|            }
 8104|      0|            int _end_lineno = _token->end_lineno;
 8105|      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]
  |  |  ------------------
  ------------------
 8106|      0|            int _end_col_offset = _token->end_col_offset;
 8107|      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]
  |  |  ------------------
  ------------------
 8108|      0|            _res = _PyAST_MatchSequence ( patterns , EXTRA );
  ------------------
  |  |  269|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 8109|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (8109:18): [True: 0, False: 0]
  |  Branch (8109:34): [True: 0, False: 0]
  |  Branch (8109:57): [True: 0, False: 0]
  ------------------
 8110|      0|                p->error_indicator = 1;
 8111|      0|                p->level--;
 8112|      0|                return NULL;
 8113|      0|            }
 8114|      0|            goto done;
 8115|      0|        }
 8116|      4|        p->mark = _mark;
 8117|      4|        D(fprintf(stderr, "%*c%s patterns[%d-%d]: %s failed!\n", p->level, ' ',
 8118|      4|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "open_sequence_pattern"));
 8119|      4|    }
 8120|      0|    { // pattern
 8121|      4|        if (p->error_indicator) {
  ------------------
  |  Branch (8121:13): [True: 0, False: 4]
  ------------------
 8122|      0|            p->level--;
 8123|      0|            return NULL;
 8124|      0|        }
 8125|      4|        D(fprintf(stderr, "%*c> patterns[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "pattern"));
 8126|      4|        pattern_ty pattern_var;
 8127|      4|        if (
 8128|      4|            (pattern_var = pattern_rule(p))  // pattern
  ------------------
  |  Branch (8128:13): [True: 4, False: 0]
  ------------------
 8129|      4|        )
 8130|      4|        {
 8131|      4|            D(fprintf(stderr, "%*c+ patterns[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "pattern"));
 8132|      4|            _res = pattern_var;
 8133|      4|            goto done;
 8134|      4|        }
 8135|      0|        p->mark = _mark;
 8136|      0|        D(fprintf(stderr, "%*c%s patterns[%d-%d]: %s failed!\n", p->level, ' ',
 8137|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "pattern"));
 8138|      0|    }
 8139|      0|    _res = NULL;
 8140|      4|  done:
 8141|      4|    p->level--;
 8142|      4|    return _res;
 8143|      0|}
parser.c:open_sequence_pattern_rule:
 9953|      4|{
 9954|      4|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|      8|#  define MAXSTACK 6000
  ------------------
  |  Branch (9954:9): [True: 0, False: 4]
  |  Branch (9954:35): [True: 0, False: 4]
  ------------------
 9955|      0|        _Pypegen_stack_overflow(p);
 9956|      0|    }
 9957|      4|    if (p->error_indicator) {
  ------------------
  |  Branch (9957:9): [True: 0, False: 4]
  ------------------
 9958|      0|        p->level--;
 9959|      0|        return NULL;
 9960|      0|    }
 9961|      4|    asdl_seq* _res = NULL;
 9962|      4|    int _mark = p->mark;
 9963|      4|    { // maybe_star_pattern ',' maybe_sequence_pattern?
 9964|      4|        if (p->error_indicator) {
  ------------------
  |  Branch (9964:13): [True: 0, False: 4]
  ------------------
 9965|      0|            p->level--;
 9966|      0|            return NULL;
 9967|      0|        }
 9968|      4|        D(fprintf(stderr, "%*c> open_sequence_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "maybe_star_pattern ',' maybe_sequence_pattern?"));
 9969|      4|        Token * _literal;
 9970|      4|        pattern_ty pattern;
 9971|      4|        void *patterns;
 9972|      4|        if (
 9973|      4|            (pattern = maybe_star_pattern_rule(p))  // maybe_star_pattern
  ------------------
  |  Branch (9973:13): [True: 4, False: 0]
  ------------------
 9974|      4|            &&
 9975|      4|            (_literal = _PyPegen_expect_token(p, 12))  // token=','
  ------------------
  |  Branch (9975:13): [True: 0, False: 4]
  ------------------
 9976|      0|            &&
 9977|      0|            (patterns = maybe_sequence_pattern_rule(p), !p->error_indicator)  // maybe_sequence_pattern?
  ------------------
  |  Branch (9977:13): [True: 0, False: 0]
  ------------------
 9978|      4|        )
 9979|      0|        {
 9980|      0|            D(fprintf(stderr, "%*c+ open_sequence_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "maybe_star_pattern ',' maybe_sequence_pattern?"));
 9981|      0|            _res = _PyPegen_seq_insert_in_front ( p , pattern , patterns );
 9982|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (9982:18): [True: 0, False: 0]
  |  Branch (9982:34): [True: 0, False: 0]
  |  Branch (9982:57): [True: 0, False: 0]
  ------------------
 9983|      0|                p->error_indicator = 1;
 9984|      0|                p->level--;
 9985|      0|                return NULL;
 9986|      0|            }
 9987|      0|            goto done;
 9988|      0|        }
 9989|      4|        p->mark = _mark;
 9990|      4|        D(fprintf(stderr, "%*c%s open_sequence_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 9991|      4|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "maybe_star_pattern ',' maybe_sequence_pattern?"));
 9992|      4|    }
 9993|      4|    _res = NULL;
 9994|      4|  done:
 9995|      4|    p->level--;
 9996|      4|    return _res;
 9997|      4|}
parser.c:maybe_star_pattern_rule:
10049|      4|{
10050|      4|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|      8|#  define MAXSTACK 6000
  ------------------
  |  Branch (10050:9): [True: 0, False: 4]
  |  Branch (10050:35): [True: 0, False: 4]
  ------------------
10051|      0|        _Pypegen_stack_overflow(p);
10052|      0|    }
10053|      4|    if (p->error_indicator) {
  ------------------
  |  Branch (10053:9): [True: 0, False: 4]
  ------------------
10054|      0|        p->level--;
10055|      0|        return NULL;
10056|      0|    }
10057|      4|    pattern_ty _res = NULL;
10058|      4|    int _mark = p->mark;
10059|      4|    { // star_pattern
10060|      4|        if (p->error_indicator) {
  ------------------
  |  Branch (10060:13): [True: 0, False: 4]
  ------------------
10061|      0|            p->level--;
10062|      0|            return NULL;
10063|      0|        }
10064|      4|        D(fprintf(stderr, "%*c> maybe_star_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "star_pattern"));
10065|      4|        pattern_ty star_pattern_var;
10066|      4|        if (
10067|      4|            (star_pattern_var = star_pattern_rule(p))  // star_pattern
  ------------------
  |  Branch (10067:13): [True: 0, False: 4]
  ------------------
10068|      4|        )
10069|      0|        {
10070|      0|            D(fprintf(stderr, "%*c+ maybe_star_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "star_pattern"));
10071|      0|            _res = star_pattern_var;
10072|      0|            goto done;
10073|      0|        }
10074|      4|        p->mark = _mark;
10075|      4|        D(fprintf(stderr, "%*c%s maybe_star_pattern[%d-%d]: %s failed!\n", p->level, ' ',
10076|      4|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "star_pattern"));
10077|      4|    }
10078|      0|    { // pattern
10079|      4|        if (p->error_indicator) {
  ------------------
  |  Branch (10079:13): [True: 0, False: 4]
  ------------------
10080|      0|            p->level--;
10081|      0|            return NULL;
10082|      0|        }
10083|      4|        D(fprintf(stderr, "%*c> maybe_star_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "pattern"));
10084|      4|        pattern_ty pattern_var;
10085|      4|        if (
10086|      4|            (pattern_var = pattern_rule(p))  // pattern
  ------------------
  |  Branch (10086:13): [True: 4, False: 0]
  ------------------
10087|      4|        )
10088|      4|        {
10089|      4|            D(fprintf(stderr, "%*c+ maybe_star_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "pattern"));
10090|      4|            _res = pattern_var;
10091|      4|            goto done;
10092|      4|        }
10093|      0|        p->mark = _mark;
10094|      0|        D(fprintf(stderr, "%*c%s maybe_star_pattern[%d-%d]: %s failed!\n", p->level, ' ',
10095|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "pattern"));
10096|      0|    }
10097|      0|    _res = NULL;
10098|      4|  done:
10099|      4|    p->level--;
10100|      4|    return _res;
10101|      0|}
parser.c:star_pattern_rule:
10106|      4|{
10107|      4|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|      8|#  define MAXSTACK 6000
  ------------------
  |  Branch (10107:9): [True: 0, False: 4]
  |  Branch (10107:35): [True: 0, False: 4]
  ------------------
10108|      0|        _Pypegen_stack_overflow(p);
10109|      0|    }
10110|      4|    if (p->error_indicator) {
  ------------------
  |  Branch (10110:9): [True: 0, False: 4]
  ------------------
10111|      0|        p->level--;
10112|      0|        return NULL;
10113|      0|    }
10114|      4|    pattern_ty _res = NULL;
10115|      4|    if (_PyPegen_is_memoized(p, star_pattern_type, &_res)) {
  ------------------
  |  |  181|      4|#define star_pattern_type 1092
  ------------------
  |  Branch (10115:9): [True: 0, False: 4]
  ------------------
10116|      0|        p->level--;
10117|      0|        return _res;
10118|      0|    }
10119|      4|    int _mark = p->mark;
10120|      4|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (10120:9): [True: 0, False: 4]
  |  Branch (10120:31): [True: 0, False: 0]
  ------------------
10121|      0|        p->error_indicator = 1;
10122|      0|        p->level--;
10123|      0|        return NULL;
10124|      0|    }
10125|      4|    int _start_lineno = p->tokens[_mark]->lineno;
10126|      4|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      4|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 4]
  |  |  ------------------
  ------------------
10127|      4|    int _start_col_offset = p->tokens[_mark]->col_offset;
10128|      4|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      4|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 4]
  |  |  ------------------
  ------------------
10129|      4|    { // '*' pattern_capture_target
10130|      4|        if (p->error_indicator) {
  ------------------
  |  Branch (10130:13): [True: 0, False: 4]
  ------------------
10131|      0|            p->level--;
10132|      0|            return NULL;
10133|      0|        }
10134|      4|        D(fprintf(stderr, "%*c> star_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' pattern_capture_target"));
10135|      4|        Token * _literal;
10136|      4|        expr_ty target;
10137|      4|        if (
10138|      4|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (10138:13): [True: 0, False: 4]
  ------------------
10139|      0|            &&
10140|      0|            (target = pattern_capture_target_rule(p))  // pattern_capture_target
  ------------------
  |  Branch (10140:13): [True: 0, False: 0]
  ------------------
10141|      4|        )
10142|      0|        {
10143|      0|            D(fprintf(stderr, "%*c+ star_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' pattern_capture_target"));
10144|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
10145|      0|            if (_token == NULL) {
  ------------------
  |  Branch (10145:17): [True: 0, False: 0]
  ------------------
10146|      0|                p->level--;
10147|      0|                return NULL;
10148|      0|            }
10149|      0|            int _end_lineno = _token->end_lineno;
10150|      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]
  |  |  ------------------
  ------------------
10151|      0|            int _end_col_offset = _token->end_col_offset;
10152|      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]
  |  |  ------------------
  ------------------
10153|      0|            _res = _PyAST_MatchStar ( target -> v . Name . id , EXTRA );
  ------------------
  |  |  269|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
10154|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (10154:18): [True: 0, False: 0]
  |  Branch (10154:34): [True: 0, False: 0]
  |  Branch (10154:57): [True: 0, False: 0]
  ------------------
10155|      0|                p->error_indicator = 1;
10156|      0|                p->level--;
10157|      0|                return NULL;
10158|      0|            }
10159|      0|            goto done;
10160|      0|        }
10161|      4|        p->mark = _mark;
10162|      4|        D(fprintf(stderr, "%*c%s star_pattern[%d-%d]: %s failed!\n", p->level, ' ',
10163|      4|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' pattern_capture_target"));
10164|      4|    }
10165|      0|    { // '*' wildcard_pattern
10166|      4|        if (p->error_indicator) {
  ------------------
  |  Branch (10166:13): [True: 0, False: 4]
  ------------------
10167|      0|            p->level--;
10168|      0|            return NULL;
10169|      0|        }
10170|      4|        D(fprintf(stderr, "%*c> star_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'*' wildcard_pattern"));
10171|      4|        Token * _literal;
10172|      4|        pattern_ty wildcard_pattern_var;
10173|      4|        if (
10174|      4|            (_literal = _PyPegen_expect_token(p, 16))  // token='*'
  ------------------
  |  Branch (10174:13): [True: 0, False: 4]
  ------------------
10175|      0|            &&
10176|      0|            (wildcard_pattern_var = wildcard_pattern_rule(p))  // wildcard_pattern
  ------------------
  |  Branch (10176:13): [True: 0, False: 0]
  ------------------
10177|      4|        )
10178|      0|        {
10179|      0|            D(fprintf(stderr, "%*c+ star_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'*' wildcard_pattern"));
10180|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
10181|      0|            if (_token == NULL) {
  ------------------
  |  Branch (10181:17): [True: 0, False: 0]
  ------------------
10182|      0|                p->level--;
10183|      0|                return NULL;
10184|      0|            }
10185|      0|            int _end_lineno = _token->end_lineno;
10186|      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]
  |  |  ------------------
  ------------------
10187|      0|            int _end_col_offset = _token->end_col_offset;
10188|      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]
  |  |  ------------------
  ------------------
10189|      0|            _res = _PyAST_MatchStar ( NULL , EXTRA );
  ------------------
  |  |  269|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
10190|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (10190:18): [True: 0, False: 0]
  |  Branch (10190:34): [True: 0, False: 0]
  |  Branch (10190:57): [True: 0, False: 0]
  ------------------
10191|      0|                p->error_indicator = 1;
10192|      0|                p->level--;
10193|      0|                return NULL;
10194|      0|            }
10195|      0|            goto done;
10196|      0|        }
10197|      4|        p->mark = _mark;
10198|      4|        D(fprintf(stderr, "%*c%s star_pattern[%d-%d]: %s failed!\n", p->level, ' ',
10199|      4|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'*' wildcard_pattern"));
10200|      4|    }
10201|      4|    _res = NULL;
10202|      4|  done:
10203|      4|    _PyPegen_insert_memo(p, _mark, star_pattern_type, _res);
  ------------------
  |  |  181|      4|#define star_pattern_type 1092
  ------------------
10204|      4|    p->level--;
10205|      4|    return _res;
10206|      4|}
parser.c:pattern_rule:
 8148|      8|{
 8149|      8|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     16|#  define MAXSTACK 6000
  ------------------
  |  Branch (8149:9): [True: 0, False: 8]
  |  Branch (8149:35): [True: 0, False: 8]
  ------------------
 8150|      0|        _Pypegen_stack_overflow(p);
 8151|      0|    }
 8152|      8|    if (p->error_indicator) {
  ------------------
  |  Branch (8152:9): [True: 0, False: 8]
  ------------------
 8153|      0|        p->level--;
 8154|      0|        return NULL;
 8155|      0|    }
 8156|      8|    pattern_ty _res = NULL;
 8157|      8|    int _mark = p->mark;
 8158|      8|    { // as_pattern
 8159|      8|        if (p->error_indicator) {
  ------------------
  |  Branch (8159:13): [True: 0, False: 8]
  ------------------
 8160|      0|            p->level--;
 8161|      0|            return NULL;
 8162|      0|        }
 8163|      8|        D(fprintf(stderr, "%*c> pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "as_pattern"));
 8164|      8|        pattern_ty as_pattern_var;
 8165|      8|        if (
 8166|      8|            (as_pattern_var = as_pattern_rule(p))  // as_pattern
  ------------------
  |  Branch (8166:13): [True: 0, False: 8]
  ------------------
 8167|      8|        )
 8168|      0|        {
 8169|      0|            D(fprintf(stderr, "%*c+ pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "as_pattern"));
 8170|      0|            _res = as_pattern_var;
 8171|      0|            goto done;
 8172|      0|        }
 8173|      8|        p->mark = _mark;
 8174|      8|        D(fprintf(stderr, "%*c%s pattern[%d-%d]: %s failed!\n", p->level, ' ',
 8175|      8|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "as_pattern"));
 8176|      8|    }
 8177|      0|    { // or_pattern
 8178|      8|        if (p->error_indicator) {
  ------------------
  |  Branch (8178:13): [True: 0, False: 8]
  ------------------
 8179|      0|            p->level--;
 8180|      0|            return NULL;
 8181|      0|        }
 8182|      8|        D(fprintf(stderr, "%*c> pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "or_pattern"));
 8183|      8|        pattern_ty or_pattern_var;
 8184|      8|        if (
 8185|      8|            (or_pattern_var = or_pattern_rule(p))  // or_pattern
  ------------------
  |  Branch (8185:13): [True: 8, False: 0]
  ------------------
 8186|      8|        )
 8187|      8|        {
 8188|      8|            D(fprintf(stderr, "%*c+ pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "or_pattern"));
 8189|      8|            _res = or_pattern_var;
 8190|      8|            goto done;
 8191|      8|        }
 8192|      0|        p->mark = _mark;
 8193|      0|        D(fprintf(stderr, "%*c%s pattern[%d-%d]: %s failed!\n", p->level, ' ',
 8194|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "or_pattern"));
 8195|      0|    }
 8196|      0|    _res = NULL;
 8197|      8|  done:
 8198|      8|    p->level--;
 8199|      8|    return _res;
 8200|      0|}
parser.c:as_pattern_rule:
 8205|      8|{
 8206|      8|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     16|#  define MAXSTACK 6000
  ------------------
  |  Branch (8206:9): [True: 0, False: 8]
  |  Branch (8206:35): [True: 0, False: 8]
  ------------------
 8207|      0|        _Pypegen_stack_overflow(p);
 8208|      0|    }
 8209|      8|    if (p->error_indicator) {
  ------------------
  |  Branch (8209:9): [True: 0, False: 8]
  ------------------
 8210|      0|        p->level--;
 8211|      0|        return NULL;
 8212|      0|    }
 8213|      8|    pattern_ty _res = NULL;
 8214|      8|    int _mark = p->mark;
 8215|      8|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (8215:9): [True: 0, False: 8]
  |  Branch (8215:31): [True: 0, False: 0]
  ------------------
 8216|      0|        p->error_indicator = 1;
 8217|      0|        p->level--;
 8218|      0|        return NULL;
 8219|      0|    }
 8220|      8|    int _start_lineno = p->tokens[_mark]->lineno;
 8221|      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]
  |  |  ------------------
  ------------------
 8222|      8|    int _start_col_offset = p->tokens[_mark]->col_offset;
 8223|      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]
  |  |  ------------------
  ------------------
 8224|      8|    { // or_pattern 'as' pattern_capture_target
 8225|      8|        if (p->error_indicator) {
  ------------------
  |  Branch (8225:13): [True: 0, False: 8]
  ------------------
 8226|      0|            p->level--;
 8227|      0|            return NULL;
 8228|      0|        }
 8229|      8|        D(fprintf(stderr, "%*c> as_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "or_pattern 'as' pattern_capture_target"));
 8230|      8|        Token * _keyword;
 8231|      8|        pattern_ty pattern;
 8232|      8|        expr_ty target;
 8233|      8|        if (
 8234|      8|            (pattern = or_pattern_rule(p))  // or_pattern
  ------------------
  |  Branch (8234:13): [True: 8, False: 0]
  ------------------
 8235|      8|            &&
 8236|      8|            (_keyword = _PyPegen_expect_token(p, 696))  // token='as'
  ------------------
  |  Branch (8236:13): [True: 0, False: 8]
  ------------------
 8237|      0|            &&
 8238|      0|            (target = pattern_capture_target_rule(p))  // pattern_capture_target
  ------------------
  |  Branch (8238:13): [True: 0, False: 0]
  ------------------
 8239|      8|        )
 8240|      0|        {
 8241|      0|            D(fprintf(stderr, "%*c+ as_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "or_pattern 'as' pattern_capture_target"));
 8242|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 8243|      0|            if (_token == NULL) {
  ------------------
  |  Branch (8243:17): [True: 0, False: 0]
  ------------------
 8244|      0|                p->level--;
 8245|      0|                return NULL;
 8246|      0|            }
 8247|      0|            int _end_lineno = _token->end_lineno;
 8248|      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]
  |  |  ------------------
  ------------------
 8249|      0|            int _end_col_offset = _token->end_col_offset;
 8250|      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]
  |  |  ------------------
  ------------------
 8251|      0|            _res = _PyAST_MatchAs ( pattern , target -> v . Name . id , EXTRA );
  ------------------
  |  |  269|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 8252|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (8252:18): [True: 0, False: 0]
  |  Branch (8252:34): [True: 0, False: 0]
  |  Branch (8252:57): [True: 0, False: 0]
  ------------------
 8253|      0|                p->error_indicator = 1;
 8254|      0|                p->level--;
 8255|      0|                return NULL;
 8256|      0|            }
 8257|      0|            goto done;
 8258|      0|        }
 8259|      8|        p->mark = _mark;
 8260|      8|        D(fprintf(stderr, "%*c%s as_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 8261|      8|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "or_pattern 'as' pattern_capture_target"));
 8262|      8|    }
 8263|      8|    if (p->call_invalid_rules) { // invalid_as_pattern
  ------------------
  |  Branch (8263:9): [True: 0, False: 8]
  ------------------
 8264|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (8264:13): [True: 0, False: 0]
  ------------------
 8265|      0|            p->level--;
 8266|      0|            return NULL;
 8267|      0|        }
 8268|      0|        D(fprintf(stderr, "%*c> as_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "invalid_as_pattern"));
 8269|      0|        void *invalid_as_pattern_var;
 8270|      0|        if (
 8271|      0|            (invalid_as_pattern_var = invalid_as_pattern_rule(p))  // invalid_as_pattern
  ------------------
  |  Branch (8271:13): [True: 0, False: 0]
  ------------------
 8272|      0|        )
 8273|      0|        {
 8274|      0|            D(fprintf(stderr, "%*c+ as_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "invalid_as_pattern"));
 8275|      0|            _res = invalid_as_pattern_var;
 8276|      0|            goto done;
 8277|      0|        }
 8278|      0|        p->mark = _mark;
 8279|      0|        D(fprintf(stderr, "%*c%s as_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 8280|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "invalid_as_pattern"));
 8281|      0|    }
 8282|      8|    _res = NULL;
 8283|      8|  done:
 8284|      8|    p->level--;
 8285|      8|    return _res;
 8286|      8|}
parser.c:or_pattern_rule:
 8291|     16|{
 8292|     16|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     32|#  define MAXSTACK 6000
  ------------------
  |  Branch (8292:9): [True: 0, False: 16]
  |  Branch (8292:35): [True: 0, False: 16]
  ------------------
 8293|      0|        _Pypegen_stack_overflow(p);
 8294|      0|    }
 8295|     16|    if (p->error_indicator) {
  ------------------
  |  Branch (8295:9): [True: 0, False: 16]
  ------------------
 8296|      0|        p->level--;
 8297|      0|        return NULL;
 8298|      0|    }
 8299|     16|    pattern_ty _res = NULL;
 8300|     16|    int _mark = p->mark;
 8301|     16|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (8301:9): [True: 0, False: 16]
  |  Branch (8301:31): [True: 0, False: 0]
  ------------------
 8302|      0|        p->error_indicator = 1;
 8303|      0|        p->level--;
 8304|      0|        return NULL;
 8305|      0|    }
 8306|     16|    int _start_lineno = p->tokens[_mark]->lineno;
 8307|     16|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|     16|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 16]
  |  |  ------------------
  ------------------
 8308|     16|    int _start_col_offset = p->tokens[_mark]->col_offset;
 8309|     16|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|     16|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 16]
  |  |  ------------------
  ------------------
 8310|     16|    { // '|'.closed_pattern+
 8311|     16|        if (p->error_indicator) {
  ------------------
  |  Branch (8311:13): [True: 0, False: 16]
  ------------------
 8312|      0|            p->level--;
 8313|      0|            return NULL;
 8314|      0|        }
 8315|     16|        D(fprintf(stderr, "%*c> or_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'|'.closed_pattern+"));
 8316|     16|        asdl_pattern_seq* patterns;
 8317|     16|        if (
 8318|     16|            (patterns = (asdl_pattern_seq*)_gather_40_rule(p))  // '|'.closed_pattern+
  ------------------
  |  Branch (8318:13): [True: 16, False: 0]
  ------------------
 8319|     16|        )
 8320|     16|        {
 8321|     16|            D(fprintf(stderr, "%*c+ or_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'|'.closed_pattern+"));
 8322|     16|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 8323|     16|            if (_token == NULL) {
  ------------------
  |  Branch (8323:17): [True: 0, False: 16]
  ------------------
 8324|      0|                p->level--;
 8325|      0|                return NULL;
 8326|      0|            }
 8327|     16|            int _end_lineno = _token->end_lineno;
 8328|     16|            UNUSED(_end_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|     16|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 16]
  |  |  ------------------
  ------------------
 8329|     16|            int _end_col_offset = _token->end_col_offset;
 8330|     16|            UNUSED(_end_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|     16|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 16]
  |  |  ------------------
  ------------------
 8331|     16|            _res = asdl_seq_LEN ( patterns ) == 1 ? asdl_seq_GET ( patterns , 0 ) : _PyAST_MatchOr ( patterns , EXTRA );
  ------------------
  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          _res = asdl_seq_LEN ( patterns ) == 1 ? asdl_seq_GET ( patterns , 0 ) : _PyAST_MatchOr ( patterns , EXTRA );
  ------------------
  |  |   82|     16|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|     16|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
                          _res = asdl_seq_LEN ( patterns ) == 1 ? asdl_seq_GET ( patterns , 0 ) : _PyAST_MatchOr ( patterns , EXTRA );
  ------------------
  |  |  269|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
  |  Branch (8331:20): [True: 16, False: 0]
  ------------------
 8332|     16|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (8332:18): [True: 0, False: 16]
  |  Branch (8332:34): [True: 0, False: 16]
  |  Branch (8332:57): [True: 0, False: 0]
  ------------------
 8333|      0|                p->error_indicator = 1;
 8334|      0|                p->level--;
 8335|      0|                return NULL;
 8336|      0|            }
 8337|     16|            goto done;
 8338|     16|        }
 8339|      0|        p->mark = _mark;
 8340|      0|        D(fprintf(stderr, "%*c%s or_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 8341|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'|'.closed_pattern+"));
 8342|      0|    }
 8343|      0|    _res = NULL;
 8344|     16|  done:
 8345|     16|    p->level--;
 8346|     16|    return _res;
 8347|      0|}
parser.c:_gather_40_rule:
30913|     16|{
30914|     16|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     32|#  define MAXSTACK 6000
  ------------------
  |  Branch (30914:9): [True: 0, False: 16]
  |  Branch (30914:35): [True: 0, False: 16]
  ------------------
30915|      0|        _Pypegen_stack_overflow(p);
30916|      0|    }
30917|     16|    if (p->error_indicator) {
  ------------------
  |  Branch (30917:9): [True: 0, False: 16]
  ------------------
30918|      0|        p->level--;
30919|      0|        return NULL;
30920|      0|    }
30921|     16|    asdl_seq * _res = NULL;
30922|     16|    int _mark = p->mark;
30923|     16|    { // closed_pattern _loop0_39
30924|     16|        if (p->error_indicator) {
  ------------------
  |  Branch (30924:13): [True: 0, False: 16]
  ------------------
30925|      0|            p->level--;
30926|      0|            return NULL;
30927|      0|        }
30928|     16|        D(fprintf(stderr, "%*c> _gather_40[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "closed_pattern _loop0_39"));
30929|     16|        pattern_ty elem;
30930|     16|        asdl_seq * seq;
30931|     16|        if (
30932|     16|            (elem = closed_pattern_rule(p))  // closed_pattern
  ------------------
  |  Branch (30932:13): [True: 16, False: 0]
  ------------------
30933|     16|            &&
30934|     16|            (seq = _loop0_39_rule(p))  // _loop0_39
  ------------------
  |  Branch (30934:13): [True: 16, False: 0]
  ------------------
30935|     16|        )
30936|     16|        {
30937|     16|            D(fprintf(stderr, "%*c+ _gather_40[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "closed_pattern _loop0_39"));
30938|     16|            _res = _PyPegen_seq_insert_in_front(p, elem, seq);
30939|     16|            goto done;
30940|     16|        }
30941|      0|        p->mark = _mark;
30942|      0|        D(fprintf(stderr, "%*c%s _gather_40[%d-%d]: %s failed!\n", p->level, ' ',
30943|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "closed_pattern _loop0_39"));
30944|      0|    }
30945|      0|    _res = NULL;
30946|     16|  done:
30947|     16|    p->level--;
30948|     16|    return _res;
30949|      0|}
parser.c:closed_pattern_rule:
 8360|     16|{
 8361|     16|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     32|#  define MAXSTACK 6000
  ------------------
  |  Branch (8361:9): [True: 0, False: 16]
  |  Branch (8361:35): [True: 0, False: 16]
  ------------------
 8362|      0|        _Pypegen_stack_overflow(p);
 8363|      0|    }
 8364|     16|    if (p->error_indicator) {
  ------------------
  |  Branch (8364:9): [True: 0, False: 16]
  ------------------
 8365|      0|        p->level--;
 8366|      0|        return NULL;
 8367|      0|    }
 8368|     16|    pattern_ty _res = NULL;
 8369|     16|    if (_PyPegen_is_memoized(p, closed_pattern_type, &_res)) {
  ------------------
  |  |  162|     16|#define closed_pattern_type 1073
  ------------------
  |  Branch (8369:9): [True: 12, False: 4]
  ------------------
 8370|     12|        p->level--;
 8371|     12|        return _res;
 8372|     12|    }
 8373|      4|    int _mark = p->mark;
 8374|      4|    { // literal_pattern
 8375|      4|        if (p->error_indicator) {
  ------------------
  |  Branch (8375:13): [True: 0, False: 4]
  ------------------
 8376|      0|            p->level--;
 8377|      0|            return NULL;
 8378|      0|        }
 8379|      4|        D(fprintf(stderr, "%*c> closed_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "literal_pattern"));
 8380|      4|        pattern_ty literal_pattern_var;
 8381|      4|        if (
 8382|      4|            (literal_pattern_var = literal_pattern_rule(p))  // literal_pattern
  ------------------
  |  Branch (8382:13): [True: 4, False: 0]
  ------------------
 8383|      4|        )
 8384|      4|        {
 8385|      4|            D(fprintf(stderr, "%*c+ closed_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "literal_pattern"));
 8386|      4|            _res = literal_pattern_var;
 8387|      4|            goto done;
 8388|      4|        }
 8389|      0|        p->mark = _mark;
 8390|      0|        D(fprintf(stderr, "%*c%s closed_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 8391|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "literal_pattern"));
 8392|      0|    }
 8393|      0|    { // capture_pattern
 8394|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (8394:13): [True: 0, False: 0]
  ------------------
 8395|      0|            p->level--;
 8396|      0|            return NULL;
 8397|      0|        }
 8398|      0|        D(fprintf(stderr, "%*c> closed_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "capture_pattern"));
 8399|      0|        pattern_ty capture_pattern_var;
 8400|      0|        if (
 8401|      0|            (capture_pattern_var = capture_pattern_rule(p))  // capture_pattern
  ------------------
  |  Branch (8401:13): [True: 0, False: 0]
  ------------------
 8402|      0|        )
 8403|      0|        {
 8404|      0|            D(fprintf(stderr, "%*c+ closed_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "capture_pattern"));
 8405|      0|            _res = capture_pattern_var;
 8406|      0|            goto done;
 8407|      0|        }
 8408|      0|        p->mark = _mark;
 8409|      0|        D(fprintf(stderr, "%*c%s closed_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 8410|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "capture_pattern"));
 8411|      0|    }
 8412|      0|    { // wildcard_pattern
 8413|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (8413:13): [True: 0, False: 0]
  ------------------
 8414|      0|            p->level--;
 8415|      0|            return NULL;
 8416|      0|        }
 8417|      0|        D(fprintf(stderr, "%*c> closed_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "wildcard_pattern"));
 8418|      0|        pattern_ty wildcard_pattern_var;
 8419|      0|        if (
 8420|      0|            (wildcard_pattern_var = wildcard_pattern_rule(p))  // wildcard_pattern
  ------------------
  |  Branch (8420:13): [True: 0, False: 0]
  ------------------
 8421|      0|        )
 8422|      0|        {
 8423|      0|            D(fprintf(stderr, "%*c+ closed_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "wildcard_pattern"));
 8424|      0|            _res = wildcard_pattern_var;
 8425|      0|            goto done;
 8426|      0|        }
 8427|      0|        p->mark = _mark;
 8428|      0|        D(fprintf(stderr, "%*c%s closed_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 8429|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "wildcard_pattern"));
 8430|      0|    }
 8431|      0|    { // value_pattern
 8432|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (8432:13): [True: 0, False: 0]
  ------------------
 8433|      0|            p->level--;
 8434|      0|            return NULL;
 8435|      0|        }
 8436|      0|        D(fprintf(stderr, "%*c> closed_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "value_pattern"));
 8437|      0|        pattern_ty value_pattern_var;
 8438|      0|        if (
 8439|      0|            (value_pattern_var = value_pattern_rule(p))  // value_pattern
  ------------------
  |  Branch (8439:13): [True: 0, False: 0]
  ------------------
 8440|      0|        )
 8441|      0|        {
 8442|      0|            D(fprintf(stderr, "%*c+ closed_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "value_pattern"));
 8443|      0|            _res = value_pattern_var;
 8444|      0|            goto done;
 8445|      0|        }
 8446|      0|        p->mark = _mark;
 8447|      0|        D(fprintf(stderr, "%*c%s closed_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 8448|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "value_pattern"));
 8449|      0|    }
 8450|      0|    { // group_pattern
 8451|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (8451:13): [True: 0, False: 0]
  ------------------
 8452|      0|            p->level--;
 8453|      0|            return NULL;
 8454|      0|        }
 8455|      0|        D(fprintf(stderr, "%*c> closed_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "group_pattern"));
 8456|      0|        pattern_ty group_pattern_var;
 8457|      0|        if (
 8458|      0|            (group_pattern_var = group_pattern_rule(p))  // group_pattern
  ------------------
  |  Branch (8458:13): [True: 0, False: 0]
  ------------------
 8459|      0|        )
 8460|      0|        {
 8461|      0|            D(fprintf(stderr, "%*c+ closed_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "group_pattern"));
 8462|      0|            _res = group_pattern_var;
 8463|      0|            goto done;
 8464|      0|        }
 8465|      0|        p->mark = _mark;
 8466|      0|        D(fprintf(stderr, "%*c%s closed_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 8467|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "group_pattern"));
 8468|      0|    }
 8469|      0|    { // sequence_pattern
 8470|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (8470:13): [True: 0, False: 0]
  ------------------
 8471|      0|            p->level--;
 8472|      0|            return NULL;
 8473|      0|        }
 8474|      0|        D(fprintf(stderr, "%*c> closed_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "sequence_pattern"));
 8475|      0|        pattern_ty sequence_pattern_var;
 8476|      0|        if (
 8477|      0|            (sequence_pattern_var = sequence_pattern_rule(p))  // sequence_pattern
  ------------------
  |  Branch (8477:13): [True: 0, False: 0]
  ------------------
 8478|      0|        )
 8479|      0|        {
 8480|      0|            D(fprintf(stderr, "%*c+ closed_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "sequence_pattern"));
 8481|      0|            _res = sequence_pattern_var;
 8482|      0|            goto done;
 8483|      0|        }
 8484|      0|        p->mark = _mark;
 8485|      0|        D(fprintf(stderr, "%*c%s closed_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 8486|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "sequence_pattern"));
 8487|      0|    }
 8488|      0|    { // mapping_pattern
 8489|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (8489:13): [True: 0, False: 0]
  ------------------
 8490|      0|            p->level--;
 8491|      0|            return NULL;
 8492|      0|        }
 8493|      0|        D(fprintf(stderr, "%*c> closed_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "mapping_pattern"));
 8494|      0|        pattern_ty mapping_pattern_var;
 8495|      0|        if (
 8496|      0|            (mapping_pattern_var = mapping_pattern_rule(p))  // mapping_pattern
  ------------------
  |  Branch (8496:13): [True: 0, False: 0]
  ------------------
 8497|      0|        )
 8498|      0|        {
 8499|      0|            D(fprintf(stderr, "%*c+ closed_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "mapping_pattern"));
 8500|      0|            _res = mapping_pattern_var;
 8501|      0|            goto done;
 8502|      0|        }
 8503|      0|        p->mark = _mark;
 8504|      0|        D(fprintf(stderr, "%*c%s closed_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 8505|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "mapping_pattern"));
 8506|      0|    }
 8507|      0|    { // class_pattern
 8508|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (8508:13): [True: 0, False: 0]
  ------------------
 8509|      0|            p->level--;
 8510|      0|            return NULL;
 8511|      0|        }
 8512|      0|        D(fprintf(stderr, "%*c> closed_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "class_pattern"));
 8513|      0|        pattern_ty class_pattern_var;
 8514|      0|        if (
 8515|      0|            (class_pattern_var = class_pattern_rule(p))  // class_pattern
  ------------------
  |  Branch (8515:13): [True: 0, False: 0]
  ------------------
 8516|      0|        )
 8517|      0|        {
 8518|      0|            D(fprintf(stderr, "%*c+ closed_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "class_pattern"));
 8519|      0|            _res = class_pattern_var;
 8520|      0|            goto done;
 8521|      0|        }
 8522|      0|        p->mark = _mark;
 8523|      0|        D(fprintf(stderr, "%*c%s closed_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 8524|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "class_pattern"));
 8525|      0|    }
 8526|      0|    _res = NULL;
 8527|      4|  done:
 8528|      4|    _PyPegen_insert_memo(p, _mark, closed_pattern_type, _res);
  ------------------
  |  |  162|      4|#define closed_pattern_type 1073
  ------------------
 8529|      4|    p->level--;
 8530|      4|    return _res;
 8531|      0|}
parser.c:literal_pattern_rule:
 8542|      4|{
 8543|      4|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|      8|#  define MAXSTACK 6000
  ------------------
  |  Branch (8543:9): [True: 0, False: 4]
  |  Branch (8543:35): [True: 0, False: 4]
  ------------------
 8544|      0|        _Pypegen_stack_overflow(p);
 8545|      0|    }
 8546|      4|    if (p->error_indicator) {
  ------------------
  |  Branch (8546:9): [True: 0, False: 4]
  ------------------
 8547|      0|        p->level--;
 8548|      0|        return NULL;
 8549|      0|    }
 8550|      4|    pattern_ty _res = NULL;
 8551|      4|    int _mark = p->mark;
 8552|      4|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (8552:9): [True: 0, False: 4]
  |  Branch (8552:31): [True: 0, False: 0]
  ------------------
 8553|      0|        p->error_indicator = 1;
 8554|      0|        p->level--;
 8555|      0|        return NULL;
 8556|      0|    }
 8557|      4|    int _start_lineno = p->tokens[_mark]->lineno;
 8558|      4|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      4|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 4]
  |  |  ------------------
  ------------------
 8559|      4|    int _start_col_offset = p->tokens[_mark]->col_offset;
 8560|      4|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      4|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 4]
  |  |  ------------------
  ------------------
 8561|      4|    { // signed_number !('+' | '-')
 8562|      4|        if (p->error_indicator) {
  ------------------
  |  Branch (8562:13): [True: 0, False: 4]
  ------------------
 8563|      0|            p->level--;
 8564|      0|            return NULL;
 8565|      0|        }
 8566|      4|        D(fprintf(stderr, "%*c> literal_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "signed_number !('+' | '-')"));
 8567|      4|        expr_ty value;
 8568|      4|        if (
 8569|      4|            (value = signed_number_rule(p))  // signed_number
  ------------------
  |  Branch (8569:13): [True: 0, False: 4]
  ------------------
 8570|      0|            &&
 8571|      0|            _PyPegen_lookahead(0, _tmp_41_rule, p)
  ------------------
  |  Branch (8571:13): [True: 0, False: 0]
  ------------------
 8572|      4|        )
 8573|      0|        {
 8574|      0|            D(fprintf(stderr, "%*c+ literal_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "signed_number !('+' | '-')"));
 8575|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 8576|      0|            if (_token == NULL) {
  ------------------
  |  Branch (8576:17): [True: 0, False: 0]
  ------------------
 8577|      0|                p->level--;
 8578|      0|                return NULL;
 8579|      0|            }
 8580|      0|            int _end_lineno = _token->end_lineno;
 8581|      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]
  |  |  ------------------
  ------------------
 8582|      0|            int _end_col_offset = _token->end_col_offset;
 8583|      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]
  |  |  ------------------
  ------------------
 8584|      0|            _res = _PyAST_MatchValue ( value , EXTRA );
  ------------------
  |  |  269|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 8585|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (8585:18): [True: 0, False: 0]
  |  Branch (8585:34): [True: 0, False: 0]
  |  Branch (8585:57): [True: 0, False: 0]
  ------------------
 8586|      0|                p->error_indicator = 1;
 8587|      0|                p->level--;
 8588|      0|                return NULL;
 8589|      0|            }
 8590|      0|            goto done;
 8591|      0|        }
 8592|      4|        p->mark = _mark;
 8593|      4|        D(fprintf(stderr, "%*c%s literal_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 8594|      4|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "signed_number !('+' | '-')"));
 8595|      4|    }
 8596|      0|    { // complex_number
 8597|      4|        if (p->error_indicator) {
  ------------------
  |  Branch (8597:13): [True: 0, False: 4]
  ------------------
 8598|      0|            p->level--;
 8599|      0|            return NULL;
 8600|      0|        }
 8601|      4|        D(fprintf(stderr, "%*c> literal_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "complex_number"));
 8602|      4|        expr_ty value;
 8603|      4|        if (
 8604|      4|            (value = complex_number_rule(p))  // complex_number
  ------------------
  |  Branch (8604:13): [True: 0, False: 4]
  ------------------
 8605|      4|        )
 8606|      0|        {
 8607|      0|            D(fprintf(stderr, "%*c+ literal_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "complex_number"));
 8608|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 8609|      0|            if (_token == NULL) {
  ------------------
  |  Branch (8609:17): [True: 0, False: 0]
  ------------------
 8610|      0|                p->level--;
 8611|      0|                return NULL;
 8612|      0|            }
 8613|      0|            int _end_lineno = _token->end_lineno;
 8614|      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]
  |  |  ------------------
  ------------------
 8615|      0|            int _end_col_offset = _token->end_col_offset;
 8616|      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]
  |  |  ------------------
  ------------------
 8617|      0|            _res = _PyAST_MatchValue ( value , EXTRA );
  ------------------
  |  |  269|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 8618|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (8618:18): [True: 0, False: 0]
  |  Branch (8618:34): [True: 0, False: 0]
  |  Branch (8618:57): [True: 0, False: 0]
  ------------------
 8619|      0|                p->error_indicator = 1;
 8620|      0|                p->level--;
 8621|      0|                return NULL;
 8622|      0|            }
 8623|      0|            goto done;
 8624|      0|        }
 8625|      4|        p->mark = _mark;
 8626|      4|        D(fprintf(stderr, "%*c%s literal_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 8627|      4|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "complex_number"));
 8628|      4|    }
 8629|      0|    { // strings
 8630|      4|        if (p->error_indicator) {
  ------------------
  |  Branch (8630:13): [True: 0, False: 4]
  ------------------
 8631|      0|            p->level--;
 8632|      0|            return NULL;
 8633|      0|        }
 8634|      4|        D(fprintf(stderr, "%*c> literal_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "strings"));
 8635|      4|        expr_ty value;
 8636|      4|        if (
 8637|      4|            (value = strings_rule(p))  // strings
  ------------------
  |  Branch (8637:13): [True: 4, False: 0]
  ------------------
 8638|      4|        )
 8639|      4|        {
 8640|      4|            D(fprintf(stderr, "%*c+ literal_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "strings"));
 8641|      4|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 8642|      4|            if (_token == NULL) {
  ------------------
  |  Branch (8642:17): [True: 0, False: 4]
  ------------------
 8643|      0|                p->level--;
 8644|      0|                return NULL;
 8645|      0|            }
 8646|      4|            int _end_lineno = _token->end_lineno;
 8647|      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]
  |  |  ------------------
  ------------------
 8648|      4|            int _end_col_offset = _token->end_col_offset;
 8649|      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]
  |  |  ------------------
  ------------------
 8650|      4|            _res = _PyAST_MatchValue ( value , EXTRA );
  ------------------
  |  |  269|      4|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 8651|      4|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (8651:18): [True: 0, False: 4]
  |  Branch (8651:34): [True: 0, False: 4]
  |  Branch (8651:57): [True: 0, False: 0]
  ------------------
 8652|      0|                p->error_indicator = 1;
 8653|      0|                p->level--;
 8654|      0|                return NULL;
 8655|      0|            }
 8656|      4|            goto done;
 8657|      4|        }
 8658|      0|        p->mark = _mark;
 8659|      0|        D(fprintf(stderr, "%*c%s literal_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 8660|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "strings"));
 8661|      0|    }
 8662|      0|    { // 'None'
 8663|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (8663:13): [True: 0, False: 0]
  ------------------
 8664|      0|            p->level--;
 8665|      0|            return NULL;
 8666|      0|        }
 8667|      0|        D(fprintf(stderr, "%*c> literal_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'None'"));
 8668|      0|        Token * _keyword;
 8669|      0|        if (
 8670|      0|            (_keyword = _PyPegen_expect_token(p, 628))  // token='None'
  ------------------
  |  Branch (8670:13): [True: 0, False: 0]
  ------------------
 8671|      0|        )
 8672|      0|        {
 8673|      0|            D(fprintf(stderr, "%*c+ literal_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'None'"));
 8674|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 8675|      0|            if (_token == NULL) {
  ------------------
  |  Branch (8675:17): [True: 0, False: 0]
  ------------------
 8676|      0|                p->level--;
 8677|      0|                return NULL;
 8678|      0|            }
 8679|      0|            int _end_lineno = _token->end_lineno;
 8680|      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]
  |  |  ------------------
  ------------------
 8681|      0|            int _end_col_offset = _token->end_col_offset;
 8682|      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]
  |  |  ------------------
  ------------------
 8683|      0|            _res = _PyAST_MatchSingleton ( Py_None , EXTRA );
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
                          _res = _PyAST_MatchSingleton ( Py_None , EXTRA );
  ------------------
  |  |  269|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 8684|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (8684:18): [True: 0, False: 0]
  |  Branch (8684:34): [True: 0, False: 0]
  |  Branch (8684:57): [True: 0, False: 0]
  ------------------
 8685|      0|                p->error_indicator = 1;
 8686|      0|                p->level--;
 8687|      0|                return NULL;
 8688|      0|            }
 8689|      0|            goto done;
 8690|      0|        }
 8691|      0|        p->mark = _mark;
 8692|      0|        D(fprintf(stderr, "%*c%s literal_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 8693|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'None'"));
 8694|      0|    }
 8695|      0|    { // 'True'
 8696|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (8696:13): [True: 0, False: 0]
  ------------------
 8697|      0|            p->level--;
 8698|      0|            return NULL;
 8699|      0|        }
 8700|      0|        D(fprintf(stderr, "%*c> literal_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'True'"));
 8701|      0|        Token * _keyword;
 8702|      0|        if (
 8703|      0|            (_keyword = _PyPegen_expect_token(p, 627))  // token='True'
  ------------------
  |  Branch (8703:13): [True: 0, False: 0]
  ------------------
 8704|      0|        )
 8705|      0|        {
 8706|      0|            D(fprintf(stderr, "%*c+ literal_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'True'"));
 8707|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 8708|      0|            if (_token == NULL) {
  ------------------
  |  Branch (8708:17): [True: 0, False: 0]
  ------------------
 8709|      0|                p->level--;
 8710|      0|                return NULL;
 8711|      0|            }
 8712|      0|            int _end_lineno = _token->end_lineno;
 8713|      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]
  |  |  ------------------
  ------------------
 8714|      0|            int _end_col_offset = _token->end_col_offset;
 8715|      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]
  |  |  ------------------
  ------------------
 8716|      0|            _res = _PyAST_MatchSingleton ( Py_True , EXTRA );
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          _res = _PyAST_MatchSingleton ( Py_True , EXTRA );
  ------------------
  |  |  269|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 8717|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (8717:18): [True: 0, False: 0]
  |  Branch (8717:34): [True: 0, False: 0]
  |  Branch (8717:57): [True: 0, False: 0]
  ------------------
 8718|      0|                p->error_indicator = 1;
 8719|      0|                p->level--;
 8720|      0|                return NULL;
 8721|      0|            }
 8722|      0|            goto done;
 8723|      0|        }
 8724|      0|        p->mark = _mark;
 8725|      0|        D(fprintf(stderr, "%*c%s literal_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 8726|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'True'"));
 8727|      0|    }
 8728|      0|    { // 'False'
 8729|      0|        if (p->error_indicator) {
  ------------------
  |  Branch (8729:13): [True: 0, False: 0]
  ------------------
 8730|      0|            p->level--;
 8731|      0|            return NULL;
 8732|      0|        }
 8733|      0|        D(fprintf(stderr, "%*c> literal_pattern[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'False'"));
 8734|      0|        Token * _keyword;
 8735|      0|        if (
 8736|      0|            (_keyword = _PyPegen_expect_token(p, 629))  // token='False'
  ------------------
  |  Branch (8736:13): [True: 0, False: 0]
  ------------------
 8737|      0|        )
 8738|      0|        {
 8739|      0|            D(fprintf(stderr, "%*c+ literal_pattern[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'False'"));
 8740|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 8741|      0|            if (_token == NULL) {
  ------------------
  |  Branch (8741:17): [True: 0, False: 0]
  ------------------
 8742|      0|                p->level--;
 8743|      0|                return NULL;
 8744|      0|            }
 8745|      0|            int _end_lineno = _token->end_lineno;
 8746|      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]
  |  |  ------------------
  ------------------
 8747|      0|            int _end_col_offset = _token->end_col_offset;
 8748|      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]
  |  |  ------------------
  ------------------
 8749|      0|            _res = _PyAST_MatchSingleton ( Py_False , EXTRA );
  ------------------
  |  |   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 = _PyAST_MatchSingleton ( Py_False , EXTRA );
  ------------------
  |  |  269|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 8750|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (8750:18): [True: 0, False: 0]
  |  Branch (8750:34): [True: 0, False: 0]
  |  Branch (8750:57): [True: 0, False: 0]
  ------------------
 8751|      0|                p->error_indicator = 1;
 8752|      0|                p->level--;
 8753|      0|                return NULL;
 8754|      0|            }
 8755|      0|            goto done;
 8756|      0|        }
 8757|      0|        p->mark = _mark;
 8758|      0|        D(fprintf(stderr, "%*c%s literal_pattern[%d-%d]: %s failed!\n", p->level, ' ',
 8759|      0|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'False'"));
 8760|      0|    }
 8761|      0|    _res = NULL;
 8762|      4|  done:
 8763|      4|    p->level--;
 8764|      4|    return _res;
 8765|      0|}
parser.c:signed_number_rule:
 9072|      4|{
 9073|      4|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|      8|#  define MAXSTACK 6000
  ------------------
  |  Branch (9073:9): [True: 0, False: 4]
  |  Branch (9073:35): [True: 0, False: 4]
  ------------------
 9074|      0|        _Pypegen_stack_overflow(p);
 9075|      0|    }
 9076|      4|    if (p->error_indicator) {
  ------------------
  |  Branch (9076:9): [True: 0, False: 4]
  ------------------
 9077|      0|        p->level--;
 9078|      0|        return NULL;
 9079|      0|    }
 9080|      4|    expr_ty _res = NULL;
 9081|      4|    int _mark = p->mark;
 9082|      4|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (9082:9): [True: 0, False: 4]
  |  Branch (9082:31): [True: 0, False: 0]
  ------------------
 9083|      0|        p->error_indicator = 1;
 9084|      0|        p->level--;
 9085|      0|        return NULL;
 9086|      0|    }
 9087|      4|    int _start_lineno = p->tokens[_mark]->lineno;
 9088|      4|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      4|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 4]
  |  |  ------------------
  ------------------
 9089|      4|    int _start_col_offset = p->tokens[_mark]->col_offset;
 9090|      4|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      4|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 4]
  |  |  ------------------
  ------------------
 9091|      4|    { // NUMBER
 9092|      4|        if (p->error_indicator) {
  ------------------
  |  Branch (9092:13): [True: 0, False: 4]
  ------------------
 9093|      0|            p->level--;
 9094|      0|            return NULL;
 9095|      0|        }
 9096|      4|        D(fprintf(stderr, "%*c> signed_number[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NUMBER"));
 9097|      4|        expr_ty number_var;
 9098|      4|        if (
 9099|      4|            (number_var = _PyPegen_number_token(p))  // NUMBER
  ------------------
  |  Branch (9099:13): [True: 0, False: 4]
  ------------------
 9100|      4|        )
 9101|      0|        {
 9102|      0|            D(fprintf(stderr, "%*c+ signed_number[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NUMBER"));
 9103|      0|            _res = number_var;
 9104|      0|            goto done;
 9105|      0|        }
 9106|      4|        p->mark = _mark;
 9107|      4|        D(fprintf(stderr, "%*c%s signed_number[%d-%d]: %s failed!\n", p->level, ' ',
 9108|      4|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NUMBER"));
 9109|      4|    }
 9110|      0|    { // '+' NUMBER
 9111|      4|        if (p->error_indicator) {
  ------------------
  |  Branch (9111:13): [True: 0, False: 4]
  ------------------
 9112|      0|            p->level--;
 9113|      0|            return NULL;
 9114|      0|        }
 9115|      4|        D(fprintf(stderr, "%*c> signed_number[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'+' NUMBER"));
 9116|      4|        Token * _literal;
 9117|      4|        expr_ty number;
 9118|      4|        if (
 9119|      4|            (_literal = _PyPegen_expect_token(p, 14))  // token='+'
  ------------------
  |  Branch (9119:13): [True: 0, False: 4]
  ------------------
 9120|      0|            &&
 9121|      0|            (number = _PyPegen_number_token(p))  // NUMBER
  ------------------
  |  Branch (9121:13): [True: 0, False: 0]
  ------------------
 9122|      4|        )
 9123|      0|        {
 9124|      0|            D(fprintf(stderr, "%*c+ signed_number[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'+' NUMBER"));
 9125|      0|            _res = number;
 9126|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (9126:18): [True: 0, False: 0]
  |  Branch (9126:34): [True: 0, False: 0]
  |  Branch (9126:57): [True: 0, False: 0]
  ------------------
 9127|      0|                p->error_indicator = 1;
 9128|      0|                p->level--;
 9129|      0|                return NULL;
 9130|      0|            }
 9131|      0|            goto done;
 9132|      0|        }
 9133|      4|        p->mark = _mark;
 9134|      4|        D(fprintf(stderr, "%*c%s signed_number[%d-%d]: %s failed!\n", p->level, ' ',
 9135|      4|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'+' NUMBER"));
 9136|      4|    }
 9137|      0|    { // '-' NUMBER
 9138|      4|        if (p->error_indicator) {
  ------------------
  |  Branch (9138:13): [True: 0, False: 4]
  ------------------
 9139|      0|            p->level--;
 9140|      0|            return NULL;
 9141|      0|        }
 9142|      4|        D(fprintf(stderr, "%*c> signed_number[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'-' NUMBER"));
 9143|      4|        Token * _literal;
 9144|      4|        expr_ty number;
 9145|      4|        if (
 9146|      4|            (_literal = _PyPegen_expect_token(p, 15))  // token='-'
  ------------------
  |  Branch (9146:13): [True: 0, False: 4]
  ------------------
 9147|      0|            &&
 9148|      0|            (number = _PyPegen_number_token(p))  // NUMBER
  ------------------
  |  Branch (9148:13): [True: 0, False: 0]
  ------------------
 9149|      4|        )
 9150|      0|        {
 9151|      0|            D(fprintf(stderr, "%*c+ signed_number[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'-' NUMBER"));
 9152|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 9153|      0|            if (_token == NULL) {
  ------------------
  |  Branch (9153:17): [True: 0, False: 0]
  ------------------
 9154|      0|                p->level--;
 9155|      0|                return NULL;
 9156|      0|            }
 9157|      0|            int _end_lineno = _token->end_lineno;
 9158|      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]
  |  |  ------------------
  ------------------
 9159|      0|            int _end_col_offset = _token->end_col_offset;
 9160|      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]
  |  |  ------------------
  ------------------
 9161|      0|            _res = _PyAST_UnaryOp ( USub , number , EXTRA );
  ------------------
  |  |  269|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 9162|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (9162:18): [True: 0, False: 0]
  |  Branch (9162:34): [True: 0, False: 0]
  |  Branch (9162:57): [True: 0, False: 0]
  ------------------
 9163|      0|                p->error_indicator = 1;
 9164|      0|                p->level--;
 9165|      0|                return NULL;
 9166|      0|            }
 9167|      0|            goto done;
 9168|      0|        }
 9169|      4|        p->mark = _mark;
 9170|      4|        D(fprintf(stderr, "%*c%s signed_number[%d-%d]: %s failed!\n", p->level, ' ',
 9171|      4|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'-' NUMBER"));
 9172|      4|    }
 9173|      4|    _res = NULL;
 9174|      4|  done:
 9175|      4|    p->level--;
 9176|      4|    return _res;
 9177|      4|}
parser.c:complex_number_rule:
 8966|      4|{
 8967|      4|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|      8|#  define MAXSTACK 6000
  ------------------
  |  Branch (8967:9): [True: 0, False: 4]
  |  Branch (8967:35): [True: 0, False: 4]
  ------------------
 8968|      0|        _Pypegen_stack_overflow(p);
 8969|      0|    }
 8970|      4|    if (p->error_indicator) {
  ------------------
  |  Branch (8970:9): [True: 0, False: 4]
  ------------------
 8971|      0|        p->level--;
 8972|      0|        return NULL;
 8973|      0|    }
 8974|      4|    expr_ty _res = NULL;
 8975|      4|    int _mark = p->mark;
 8976|      4|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (8976:9): [True: 0, False: 4]
  |  Branch (8976:31): [True: 0, False: 0]
  ------------------
 8977|      0|        p->error_indicator = 1;
 8978|      0|        p->level--;
 8979|      0|        return NULL;
 8980|      0|    }
 8981|      4|    int _start_lineno = p->tokens[_mark]->lineno;
 8982|      4|    UNUSED(_start_lineno); // Only used by EXTRA macro
  ------------------
  |  |  267|      4|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 4]
  |  |  ------------------
  ------------------
 8983|      4|    int _start_col_offset = p->tokens[_mark]->col_offset;
 8984|      4|    UNUSED(_start_col_offset); // Only used by EXTRA macro
  ------------------
  |  |  267|      4|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 4]
  |  |  ------------------
  ------------------
 8985|      4|    { // signed_real_number '+' imaginary_number
 8986|      4|        if (p->error_indicator) {
  ------------------
  |  Branch (8986:13): [True: 0, False: 4]
  ------------------
 8987|      0|            p->level--;
 8988|      0|            return NULL;
 8989|      0|        }
 8990|      4|        D(fprintf(stderr, "%*c> complex_number[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "signed_real_number '+' imaginary_number"));
 8991|      4|        Token * _literal;
 8992|      4|        expr_ty imag;
 8993|      4|        expr_ty real;
 8994|      4|        if (
 8995|      4|            (real = signed_real_number_rule(p))  // signed_real_number
  ------------------
  |  Branch (8995:13): [True: 0, False: 4]
  ------------------
 8996|      0|            &&
 8997|      0|            (_literal = _PyPegen_expect_token(p, 14))  // token='+'
  ------------------
  |  Branch (8997:13): [True: 0, False: 0]
  ------------------
 8998|      0|            &&
 8999|      0|            (imag = imaginary_number_rule(p))  // imaginary_number
  ------------------
  |  Branch (8999:13): [True: 0, False: 0]
  ------------------
 9000|      4|        )
 9001|      0|        {
 9002|      0|            D(fprintf(stderr, "%*c+ complex_number[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "signed_real_number '+' imaginary_number"));
 9003|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 9004|      0|            if (_token == NULL) {
  ------------------
  |  Branch (9004:17): [True: 0, False: 0]
  ------------------
 9005|      0|                p->level--;
 9006|      0|                return NULL;
 9007|      0|            }
 9008|      0|            int _end_lineno = _token->end_lineno;
 9009|      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]
  |  |  ------------------
  ------------------
 9010|      0|            int _end_col_offset = _token->end_col_offset;
 9011|      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]
  |  |  ------------------
  ------------------
 9012|      0|            _res = _PyAST_BinOp ( real , Add , imag , EXTRA );
  ------------------
  |  |  269|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 9013|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (9013:18): [True: 0, False: 0]
  |  Branch (9013:34): [True: 0, False: 0]
  |  Branch (9013:57): [True: 0, False: 0]
  ------------------
 9014|      0|                p->error_indicator = 1;
 9015|      0|                p->level--;
 9016|      0|                return NULL;
 9017|      0|            }
 9018|      0|            goto done;
 9019|      0|        }
 9020|      4|        p->mark = _mark;
 9021|      4|        D(fprintf(stderr, "%*c%s complex_number[%d-%d]: %s failed!\n", p->level, ' ',
 9022|      4|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "signed_real_number '+' imaginary_number"));
 9023|      4|    }
 9024|      0|    { // signed_real_number '-' imaginary_number
 9025|      4|        if (p->error_indicator) {
  ------------------
  |  Branch (9025:13): [True: 0, False: 4]
  ------------------
 9026|      0|            p->level--;
 9027|      0|            return NULL;
 9028|      0|        }
 9029|      4|        D(fprintf(stderr, "%*c> complex_number[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "signed_real_number '-' imaginary_number"));
 9030|      4|        Token * _literal;
 9031|      4|        expr_ty imag;
 9032|      4|        expr_ty real;
 9033|      4|        if (
 9034|      4|            (real = signed_real_number_rule(p))  // signed_real_number
  ------------------
  |  Branch (9034:13): [True: 0, False: 4]
  ------------------
 9035|      0|            &&
 9036|      0|            (_literal = _PyPegen_expect_token(p, 15))  // token='-'
  ------------------
  |  Branch (9036:13): [True: 0, False: 0]
  ------------------
 9037|      0|            &&
 9038|      0|            (imag = imaginary_number_rule(p))  // imaginary_number
  ------------------
  |  Branch (9038:13): [True: 0, False: 0]
  ------------------
 9039|      4|        )
 9040|      0|        {
 9041|      0|            D(fprintf(stderr, "%*c+ complex_number[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "signed_real_number '-' imaginary_number"));
 9042|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 9043|      0|            if (_token == NULL) {
  ------------------
  |  Branch (9043:17): [True: 0, False: 0]
  ------------------
 9044|      0|                p->level--;
 9045|      0|                return NULL;
 9046|      0|            }
 9047|      0|            int _end_lineno = _token->end_lineno;
 9048|      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]
  |  |  ------------------
  ------------------
 9049|      0|            int _end_col_offset = _token->end_col_offset;
 9050|      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]
  |  |  ------------------
  ------------------
 9051|      0|            _res = _PyAST_BinOp ( real , Sub , imag , EXTRA );
  ------------------
  |  |  269|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 9052|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (9052:18): [True: 0, False: 0]
  |  Branch (9052:34): [True: 0, False: 0]
  |  Branch (9052:57): [True: 0, False: 0]
  ------------------
 9053|      0|                p->error_indicator = 1;
 9054|      0|                p->level--;
 9055|      0|                return NULL;
 9056|      0|            }
 9057|      0|            goto done;
 9058|      0|        }
 9059|      4|        p->mark = _mark;
 9060|      4|        D(fprintf(stderr, "%*c%s complex_number[%d-%d]: %s failed!\n", p->level, ' ',
 9061|      4|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "signed_real_number '-' imaginary_number"));
 9062|      4|    }
 9063|      4|    _res = NULL;
 9064|      4|  done:
 9065|      4|    p->level--;
 9066|      4|    return _res;
 9067|      4|}
parser.c:signed_real_number_rule:
 9182|      8|{
 9183|      8|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     16|#  define MAXSTACK 6000
  ------------------
  |  Branch (9183:9): [True: 0, False: 8]
  |  Branch (9183:35): [True: 0, False: 8]
  ------------------
 9184|      0|        _Pypegen_stack_overflow(p);
 9185|      0|    }
 9186|      8|    if (p->error_indicator) {
  ------------------
  |  Branch (9186:9): [True: 0, False: 8]
  ------------------
 9187|      0|        p->level--;
 9188|      0|        return NULL;
 9189|      0|    }
 9190|      8|    expr_ty _res = NULL;
 9191|      8|    int _mark = p->mark;
 9192|      8|    if (p->mark == p->fill && _PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (9192:9): [True: 0, False: 8]
  |  Branch (9192:31): [True: 0, False: 0]
  ------------------
 9193|      0|        p->error_indicator = 1;
 9194|      0|        p->level--;
 9195|      0|        return NULL;
 9196|      0|    }
 9197|      8|    int _start_lineno = p->tokens[_mark]->lineno;
 9198|      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]
  |  |  ------------------
  ------------------
 9199|      8|    int _start_col_offset = p->tokens[_mark]->col_offset;
 9200|      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]
  |  |  ------------------
  ------------------
 9201|      8|    { // real_number
 9202|      8|        if (p->error_indicator) {
  ------------------
  |  Branch (9202:13): [True: 0, False: 8]
  ------------------
 9203|      0|            p->level--;
 9204|      0|            return NULL;
 9205|      0|        }
 9206|      8|        D(fprintf(stderr, "%*c> signed_real_number[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "real_number"));
 9207|      8|        expr_ty real_number_var;
 9208|      8|        if (
 9209|      8|            (real_number_var = real_number_rule(p))  // real_number
  ------------------
  |  Branch (9209:13): [True: 0, False: 8]
  ------------------
 9210|      8|        )
 9211|      0|        {
 9212|      0|            D(fprintf(stderr, "%*c+ signed_real_number[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "real_number"));
 9213|      0|            _res = real_number_var;
 9214|      0|            goto done;
 9215|      0|        }
 9216|      8|        p->mark = _mark;
 9217|      8|        D(fprintf(stderr, "%*c%s signed_real_number[%d-%d]: %s failed!\n", p->level, ' ',
 9218|      8|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "real_number"));
 9219|      8|    }
 9220|      0|    { // '+' real_number
 9221|      8|        if (p->error_indicator) {
  ------------------
  |  Branch (9221:13): [True: 0, False: 8]
  ------------------
 9222|      0|            p->level--;
 9223|      0|            return NULL;
 9224|      0|        }
 9225|      8|        D(fprintf(stderr, "%*c> signed_real_number[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'+' real_number"));
 9226|      8|        Token * _literal;
 9227|      8|        expr_ty real;
 9228|      8|        if (
 9229|      8|            (_literal = _PyPegen_expect_token(p, 14))  // token='+'
  ------------------
  |  Branch (9229:13): [True: 0, False: 8]
  ------------------
 9230|      0|            &&
 9231|      0|            (real = real_number_rule(p))  // real_number
  ------------------
  |  Branch (9231:13): [True: 0, False: 0]
  ------------------
 9232|      8|        )
 9233|      0|        {
 9234|      0|            D(fprintf(stderr, "%*c+ signed_real_number[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'+' real_number"));
 9235|      0|            _res = real;
 9236|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (9236:18): [True: 0, False: 0]
  |  Branch (9236:34): [True: 0, False: 0]
  |  Branch (9236:57): [True: 0, False: 0]
  ------------------
 9237|      0|                p->error_indicator = 1;
 9238|      0|                p->level--;
 9239|      0|                return NULL;
 9240|      0|            }
 9241|      0|            goto done;
 9242|      0|        }
 9243|      8|        p->mark = _mark;
 9244|      8|        D(fprintf(stderr, "%*c%s signed_real_number[%d-%d]: %s failed!\n", p->level, ' ',
 9245|      8|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'+' real_number"));
 9246|      8|    }
 9247|      0|    { // '-' real_number
 9248|      8|        if (p->error_indicator) {
  ------------------
  |  Branch (9248:13): [True: 0, False: 8]
  ------------------
 9249|      0|            p->level--;
 9250|      0|            return NULL;
 9251|      0|        }
 9252|      8|        D(fprintf(stderr, "%*c> signed_real_number[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'-' real_number"));
 9253|      8|        Token * _literal;
 9254|      8|        expr_ty real;
 9255|      8|        if (
 9256|      8|            (_literal = _PyPegen_expect_token(p, 15))  // token='-'
  ------------------
  |  Branch (9256:13): [True: 0, False: 8]
  ------------------
 9257|      0|            &&
 9258|      0|            (real = real_number_rule(p))  // real_number
  ------------------
  |  Branch (9258:13): [True: 0, False: 0]
  ------------------
 9259|      8|        )
 9260|      0|        {
 9261|      0|            D(fprintf(stderr, "%*c+ signed_real_number[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'-' real_number"));
 9262|      0|            Token *_token = _PyPegen_get_last_nonnwhitespace_token(p);
 9263|      0|            if (_token == NULL) {
  ------------------
  |  Branch (9263:17): [True: 0, False: 0]
  ------------------
 9264|      0|                p->level--;
 9265|      0|                return NULL;
 9266|      0|            }
 9267|      0|            int _end_lineno = _token->end_lineno;
 9268|      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]
  |  |  ------------------
  ------------------
 9269|      0|            int _end_col_offset = _token->end_col_offset;
 9270|      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]
  |  |  ------------------
  ------------------
 9271|      0|            _res = _PyAST_UnaryOp ( USub , real , EXTRA );
  ------------------
  |  |  269|      0|#define EXTRA _start_lineno, _start_col_offset, _end_lineno, _end_col_offset, p->arena
  ------------------
 9272|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (9272:18): [True: 0, False: 0]
  |  Branch (9272:34): [True: 0, False: 0]
  |  Branch (9272:57): [True: 0, False: 0]
  ------------------
 9273|      0|                p->error_indicator = 1;
 9274|      0|                p->level--;
 9275|      0|                return NULL;
 9276|      0|            }
 9277|      0|            goto done;
 9278|      0|        }
 9279|      8|        p->mark = _mark;
 9280|      8|        D(fprintf(stderr, "%*c%s signed_real_number[%d-%d]: %s failed!\n", p->level, ' ',
 9281|      8|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'-' real_number"));
 9282|      8|    }
 9283|      8|    _res = NULL;
 9284|      8|  done:
 9285|      8|    p->level--;
 9286|      8|    return _res;
 9287|      8|}
parser.c:real_number_rule:
 9292|      8|{
 9293|      8|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     16|#  define MAXSTACK 6000
  ------------------
  |  Branch (9293:9): [True: 0, False: 8]
  |  Branch (9293:35): [True: 0, False: 8]
  ------------------
 9294|      0|        _Pypegen_stack_overflow(p);
 9295|      0|    }
 9296|      8|    if (p->error_indicator) {
  ------------------
  |  Branch (9296:9): [True: 0, False: 8]
  ------------------
 9297|      0|        p->level--;
 9298|      0|        return NULL;
 9299|      0|    }
 9300|      8|    expr_ty _res = NULL;
 9301|      8|    int _mark = p->mark;
 9302|      8|    { // NUMBER
 9303|      8|        if (p->error_indicator) {
  ------------------
  |  Branch (9303:13): [True: 0, False: 8]
  ------------------
 9304|      0|            p->level--;
 9305|      0|            return NULL;
 9306|      0|        }
 9307|      8|        D(fprintf(stderr, "%*c> real_number[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "NUMBER"));
 9308|      8|        expr_ty real;
 9309|      8|        if (
 9310|      8|            (real = _PyPegen_number_token(p))  // NUMBER
  ------------------
  |  Branch (9310:13): [True: 0, False: 8]
  ------------------
 9311|      8|        )
 9312|      0|        {
 9313|      0|            D(fprintf(stderr, "%*c+ real_number[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "NUMBER"));
 9314|      0|            _res = _PyPegen_ensure_real ( p , real );
 9315|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (9315:18): [True: 0, False: 0]
  |  Branch (9315:34): [True: 0, False: 0]
  |  Branch (9315:57): [True: 0, False: 0]
  ------------------
 9316|      0|                p->error_indicator = 1;
 9317|      0|                p->level--;
 9318|      0|                return NULL;
 9319|      0|            }
 9320|      0|            goto done;
 9321|      0|        }
 9322|      8|        p->mark = _mark;
 9323|      8|        D(fprintf(stderr, "%*c%s real_number[%d-%d]: %s failed!\n", p->level, ' ',
 9324|      8|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "NUMBER"));
 9325|      8|    }
 9326|      8|    _res = NULL;
 9327|      8|  done:
 9328|      8|    p->level--;
 9329|      8|    return _res;
 9330|      8|}
parser.c:_loop0_39_rule:
30837|     16|{
30838|     16|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|     32|#  define MAXSTACK 6000
  ------------------
  |  Branch (30838:9): [True: 0, False: 16]
  |  Branch (30838:35): [True: 0, False: 16]
  ------------------
30839|      0|        _Pypegen_stack_overflow(p);
30840|      0|    }
30841|     16|    if (p->error_indicator) {
  ------------------
  |  Branch (30841:9): [True: 0, False: 16]
  ------------------
30842|      0|        p->level--;
30843|      0|        return NULL;
30844|      0|    }
30845|     16|    void *_res = NULL;
30846|     16|    int _mark = p->mark;
30847|     16|    void **_children = PyMem_Malloc(sizeof(void *));
30848|     16|    if (!_children) {
  ------------------
  |  Branch (30848:9): [True: 0, False: 16]
  ------------------
30849|      0|        p->error_indicator = 1;
30850|      0|        PyErr_NoMemory();
30851|      0|        p->level--;
30852|      0|        return NULL;
30853|      0|    }
30854|     16|    Py_ssize_t _children_capacity = 1;
30855|     16|    Py_ssize_t _n = 0;
30856|     16|    { // '|' closed_pattern
30857|     16|        if (p->error_indicator) {
  ------------------
  |  Branch (30857:13): [True: 0, False: 16]
  ------------------
30858|      0|            p->level--;
30859|      0|            return NULL;
30860|      0|        }
30861|     16|        D(fprintf(stderr, "%*c> _loop0_39[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'|' closed_pattern"));
30862|     16|        Token * _literal;
30863|     16|        pattern_ty elem;
30864|     16|        while (
30865|     16|            (_literal = _PyPegen_expect_token(p, 18))  // token='|'
  ------------------
  |  Branch (30865:13): [True: 0, False: 16]
  ------------------
30866|      0|            &&
30867|      0|            (elem = closed_pattern_rule(p))  // closed_pattern
  ------------------
  |  Branch (30867:13): [True: 0, False: 0]
  ------------------
30868|     16|        )
30869|      0|        {
30870|      0|            _res = elem;
30871|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (30871:18): [True: 0, False: 0]
  |  Branch (30871:34): [True: 0, False: 0]
  |  Branch (30871:57): [True: 0, False: 0]
  ------------------
30872|      0|                p->error_indicator = 1;
30873|      0|                PyMem_Free(_children);
30874|      0|                p->level--;
30875|      0|                return NULL;
30876|      0|            }
30877|      0|            if (_n == _children_capacity) {
  ------------------
  |  Branch (30877:17): [True: 0, False: 0]
  ------------------
30878|      0|                _children_capacity *= 2;
30879|      0|                void **_new_children = PyMem_Realloc(_children, _children_capacity*sizeof(void *));
30880|      0|                if (!_new_children) {
  ------------------
  |  Branch (30880:21): [True: 0, False: 0]
  ------------------
30881|      0|                    PyMem_Free(_children);
30882|      0|                    p->error_indicator = 1;
30883|      0|                    PyErr_NoMemory();
30884|      0|                    p->level--;
30885|      0|                    return NULL;
30886|      0|                }
30887|      0|                _children = _new_children;
30888|      0|            }
30889|      0|            _children[_n++] = _res;
30890|      0|            _mark = p->mark;
30891|      0|        }
30892|     16|        p->mark = _mark;
30893|     16|        D(fprintf(stderr, "%*c%s _loop0_39[%d-%d]: %s failed!\n", p->level, ' ',
30894|     16|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'|' closed_pattern"));
30895|     16|    }
30896|      0|    asdl_seq *_seq = (asdl_seq*)_Py_asdl_generic_seq_new(_n, p->arena);
30897|     16|    if (!_seq) {
  ------------------
  |  Branch (30897:9): [True: 0, False: 16]
  ------------------
30898|      0|        PyMem_Free(_children);
30899|      0|        p->error_indicator = 1;
30900|      0|        PyErr_NoMemory();
30901|      0|        p->level--;
30902|      0|        return NULL;
30903|      0|    }
30904|     16|    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|     16|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (30904:28): [True: 0, False: 16]
  ------------------
30905|     16|    PyMem_Free(_children);
30906|     16|    p->level--;
30907|     16|    return _seq;
30908|     16|}
parser.c:guard_rule:
 8022|      4|{
 8023|      4|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|      8|#  define MAXSTACK 6000
  ------------------
  |  Branch (8023:9): [True: 0, False: 4]
  |  Branch (8023:35): [True: 0, False: 4]
  ------------------
 8024|      0|        _Pypegen_stack_overflow(p);
 8025|      0|    }
 8026|      4|    if (p->error_indicator) {
  ------------------
  |  Branch (8026:9): [True: 0, False: 4]
  ------------------
 8027|      0|        p->level--;
 8028|      0|        return NULL;
 8029|      0|    }
 8030|      4|    expr_ty _res = NULL;
 8031|      4|    int _mark = p->mark;
 8032|      4|    { // 'if' named_expression
 8033|      4|        if (p->error_indicator) {
  ------------------
  |  Branch (8033:13): [True: 0, False: 4]
  ------------------
 8034|      0|            p->level--;
 8035|      0|            return NULL;
 8036|      0|        }
 8037|      4|        D(fprintf(stderr, "%*c> guard[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "'if' named_expression"));
 8038|      4|        Token * _keyword;
 8039|      4|        expr_ty guard;
 8040|      4|        if (
 8041|      4|            (_keyword = _PyPegen_expect_token(p, 698))  // token='if'
  ------------------
  |  Branch (8041:13): [True: 0, False: 4]
  ------------------
 8042|      0|            &&
 8043|      0|            (guard = named_expression_rule(p))  // named_expression
  ------------------
  |  Branch (8043:13): [True: 0, False: 0]
  ------------------
 8044|      4|        )
 8045|      0|        {
 8046|      0|            D(fprintf(stderr, "%*c+ guard[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "'if' named_expression"));
 8047|      0|            _res = guard;
 8048|      0|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (8048:18): [True: 0, False: 0]
  |  Branch (8048:34): [True: 0, False: 0]
  |  Branch (8048:57): [True: 0, False: 0]
  ------------------
 8049|      0|                p->error_indicator = 1;
 8050|      0|                p->level--;
 8051|      0|                return NULL;
 8052|      0|            }
 8053|      0|            goto done;
 8054|      0|        }
 8055|      4|        p->mark = _mark;
 8056|      4|        D(fprintf(stderr, "%*c%s guard[%d-%d]: %s failed!\n", p->level, ' ',
 8057|      4|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "'if' named_expression"));
 8058|      4|    }
 8059|      4|    _res = NULL;
 8060|      4|  done:
 8061|      4|    p->level--;
 8062|      4|    return _res;
 8063|      4|}
parser.c:invalid_match_stmt_rule:
25576|  27.1k|{
25577|  27.1k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|  54.3k|#  define MAXSTACK 6000
  ------------------
  |  Branch (25577:9): [True: 0, False: 27.1k]
  |  Branch (25577:35): [True: 0, False: 27.1k]
  ------------------
25578|      0|        _Pypegen_stack_overflow(p);
25579|      0|    }
25580|  27.1k|    if (p->error_indicator) {
  ------------------
  |  Branch (25580:9): [True: 0, False: 27.1k]
  ------------------
25581|      0|        p->level--;
25582|      0|        return NULL;
25583|      0|    }
25584|  27.1k|    void * _res = NULL;
25585|  27.1k|    int _mark = p->mark;
25586|  27.1k|    { // "match" subject_expr NEWLINE
25587|  27.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (25587:13): [True: 0, False: 27.1k]
  ------------------
25588|      0|            p->level--;
25589|      0|            return NULL;
25590|      0|        }
25591|  27.1k|        D(fprintf(stderr, "%*c> invalid_match_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "\"match\" subject_expr NEWLINE"));
25592|  27.1k|        expr_ty _keyword;
25593|  27.1k|        Token * newline_var;
25594|  27.1k|        expr_ty subject_expr_var;
25595|  27.1k|        if (
25596|  27.1k|            (_keyword = _PyPegen_expect_soft_keyword(p, "match"))  // soft_keyword='"match"'
  ------------------
  |  Branch (25596:13): [True: 0, False: 27.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|  27.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|  27.1k|        p->mark = _mark;
25613|  27.1k|        D(fprintf(stderr, "%*c%s invalid_match_stmt[%d-%d]: %s failed!\n", p->level, ' ',
25614|  27.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "\"match\" subject_expr NEWLINE"));
25615|  27.1k|    }
25616|      0|    { // "match" subject_expr ':' NEWLINE !INDENT
25617|  27.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (25617:13): [True: 0, False: 27.1k]
  ------------------
25618|      0|            p->level--;
25619|      0|            return NULL;
25620|      0|        }
25621|  27.1k|        D(fprintf(stderr, "%*c> invalid_match_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "\"match\" subject_expr ':' NEWLINE !INDENT"));
25622|  27.1k|        Token * _literal;
25623|  27.1k|        expr_ty a;
25624|  27.1k|        Token * newline_var;
25625|  27.1k|        expr_ty subject;
25626|  27.1k|        if (
25627|  27.1k|            (a = _PyPegen_expect_soft_keyword(p, "match"))  // soft_keyword='"match"'
  ------------------
  |  Branch (25627:13): [True: 0, False: 27.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|  27.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|  27.1k|        p->mark = _mark;
25648|  27.1k|        D(fprintf(stderr, "%*c%s invalid_match_stmt[%d-%d]: %s failed!\n", p->level, ' ',
25649|  27.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "\"match\" subject_expr ':' NEWLINE !INDENT"));
25650|  27.1k|    }
25651|      0|    { // "case" patterns guard? ':' block
25652|  27.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (25652:13): [True: 0, False: 27.1k]
  ------------------
25653|      0|            p->level--;
25654|      0|            return NULL;
25655|      0|        }
25656|  27.1k|        D(fprintf(stderr, "%*c> invalid_match_stmt[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "\"case\" patterns guard? ':' block"));
25657|  27.1k|        void *_opt_var;
25658|  27.1k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  267|  27.1k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 27.1k]
  |  |  ------------------
  ------------------
25659|  27.1k|        expr_ty a;
25660|  27.1k|        Token * b;
25661|  27.1k|        asdl_stmt_seq* block_var;
25662|  27.1k|        pattern_ty patterns_var;
25663|  27.1k|        if (
25664|  27.1k|            (a = _PyPegen_expect_soft_keyword(p, "case"))  // soft_keyword='"case"'
  ------------------
  |  Branch (25664:13): [True: 0, False: 27.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|  27.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|  27.1k|        p->mark = _mark;
25685|  27.1k|        D(fprintf(stderr, "%*c%s invalid_match_stmt[%d-%d]: %s failed!\n", p->level, ' ',
25686|  27.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "\"case\" patterns guard? ':' block"));
25687|  27.1k|    }
25688|  27.1k|    _res = NULL;
25689|  27.1k|  done:
25690|  27.1k|    p->level--;
25691|  27.1k|    return _res;
25692|  27.1k|}
parser.c:simple_stmts_rule:
 1490|  69.3k|{
 1491|  69.3k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   138k|#  define MAXSTACK 6000
  ------------------
  |  Branch (1491:9): [True: 0, False: 69.3k]
  |  Branch (1491:35): [True: 0, False: 69.3k]
  ------------------
 1492|      0|        _Pypegen_stack_overflow(p);
 1493|      0|    }
 1494|  69.3k|    if (p->error_indicator) {
  ------------------
  |  Branch (1494:9): [True: 0, False: 69.3k]
  ------------------
 1495|      0|        p->level--;
 1496|      0|        return NULL;
 1497|      0|    }
 1498|  69.3k|    asdl_stmt_seq* _res = NULL;
 1499|  69.3k|    int _mark = p->mark;
 1500|  69.3k|    { // simple_stmt !';' NEWLINE
 1501|  69.3k|        if (p->error_indicator) {
  ------------------
  |  Branch (1501:13): [True: 0, False: 69.3k]
  ------------------
 1502|      0|            p->level--;
 1503|      0|            return NULL;
 1504|      0|        }
 1505|  69.3k|        D(fprintf(stderr, "%*c> simple_stmts[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "simple_stmt !';' NEWLINE"));
 1506|  69.3k|        stmt_ty a;
 1507|  69.3k|        Token * newline_var;
 1508|  69.3k|        if (
 1509|  69.3k|            (a = simple_stmt_rule(p))  // simple_stmt
  ------------------
  |  Branch (1509:13): [True: 9.19k, False: 60.1k]
  ------------------
 1510|  9.19k|            &&
 1511|  9.19k|            _PyPegen_lookahead_with_int(0, _PyPegen_expect_token, p, 13)  // token=';'
  ------------------
  |  Branch (1511:13): [True: 9.19k, False: 0]
  ------------------
 1512|  9.19k|            &&
 1513|  9.19k|            (newline_var = _PyPegen_expect_token(p, NEWLINE))  // token='NEWLINE'
  ------------------
  |  |   20|  9.19k|#define NEWLINE         4
  ------------------
  |  Branch (1513:13): [True: 9.19k, False: 0]
  ------------------
 1514|  69.3k|        )
 1515|  9.19k|        {
 1516|  9.19k|            D(fprintf(stderr, "%*c+ simple_stmts[%d-%d]: %s succeeded!\n", p->level, ' ', _mark, p->mark, "simple_stmt !';' NEWLINE"));
 1517|  9.19k|            _res = ( asdl_stmt_seq* ) _PyPegen_singleton_seq ( p , a );
 1518|  9.19k|            if ((_res == NULL || p->error_indicator) && PyErr_Occurred()) {
  ------------------
  |  Branch (1518:18): [True: 0, False: 9.19k]
  |  Branch (1518:34): [True: 0, False: 9.19k]
  |  Branch (1518:57): [True: 0, False: 0]
  ------------------
 1519|      0|                p->error_indicator = 1;
 1520|      0|                p->level--;
 1521|      0|                return NULL;
 1522|      0|            }
 1523|  9.19k|            goto done;
 1524|  9.19k|        }
 1525|  60.1k|        p->mark = _mark;
 1526|  60.1k|        D(fprintf(stderr, "%*c%s simple_stmts[%d-%d]: %s failed!\n", p->level, ' ',
 1527|  60.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "simple_stmt !';' NEWLINE"));
 1528|  60.1k|    }
 1529|      0|    { // ';'.simple_stmt+ ';'? NEWLINE
 1530|  60.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (1530:13): [True: 0, False: 60.1k]
  ------------------
 1531|      0|            p->level--;
 1532|      0|            return NULL;
 1533|      0|        }
 1534|  60.1k|        D(fprintf(stderr, "%*c> simple_stmts[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "';'.simple_stmt+ ';'? NEWLINE"));
 1535|  60.1k|        void *_opt_var;
 1536|  60.1k|        UNUSED(_opt_var); // Silence compiler warnings
  ------------------
  |  |  267|  60.1k|#define UNUSED(expr) do { (void)(expr); } while (0)
  |  |  ------------------
  |  |  |  Branch (267:50): [Folded, False: 60.1k]
  |  |  ------------------
  ------------------
 1537|  60.1k|        asdl_stmt_seq* a;
 1538|  60.1k|        Token * newline_var;
 1539|  60.1k|        if (
 1540|  60.1k|            (a = (asdl_stmt_seq*)_gather_4_rule(p))  // ';'.simple_stmt+
  ------------------
  |  Branch (1540:13): [True: 0, False: 60.1k]
  ------------------
 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|  60.1k|        )
 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|  60.1k|        p->mark = _mark;
 1557|  60.1k|        D(fprintf(stderr, "%*c%s simple_stmts[%d-%d]: %s failed!\n", p->level, ' ',
 1558|  60.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "';'.simple_stmt+ ';'? NEWLINE"));
 1559|  60.1k|    }
 1560|  60.1k|    _res = NULL;
 1561|  69.3k|  done:
 1562|  69.3k|    p->level--;
 1563|  69.3k|    return _res;
 1564|  60.1k|}
parser.c:_gather_4_rule:
28655|  60.1k|{
28656|  60.1k|    if (p->level++ == MAXSTACK || _Py_ReachedRecursionLimitWithMargin(PyThreadState_Get(), 1)) {
  ------------------
  |  |   18|   120k|#  define MAXSTACK 6000
  ------------------
  |  Branch (28656:9): [True: 0, False: 60.1k]
  |  Branch (28656:35): [True: 0, False: 60.1k]
  ------------------
28657|      0|        _Pypegen_stack_overflow(p);
28658|      0|    }
28659|  60.1k|    if (p->error_indicator) {
  ------------------
  |  Branch (28659:9): [True: 0, False: 60.1k]
  ------------------
28660|      0|        p->level--;
28661|      0|        return NULL;
28662|      0|    }
28663|  60.1k|    asdl_seq * _res = NULL;
28664|  60.1k|    int _mark = p->mark;
28665|  60.1k|    { // simple_stmt _loop0_3
28666|  60.1k|        if (p->error_indicator) {
  ------------------
  |  Branch (28666:13): [True: 0, False: 60.1k]
  ------------------
28667|      0|            p->level--;
28668|      0|            return NULL;
28669|      0|        }
28670|  60.1k|        D(fprintf(stderr, "%*c> _gather_4[%d-%d]: %s\n", p->level, ' ', _mark, p->mark, "simple_stmt _loop0_3"));
28671|  60.1k|        stmt_ty elem;
28672|  60.1k|        asdl_seq * seq;
28673|  60.1k|        if (
28674|  60.1k|            (elem = simple_stmt_rule(p))  // simple_stmt
  ------------------
  |  Branch (28674:13): [True: 0, False: 60.1k]
  ------------------
28675|      0|            &&
28676|      0|            (seq = _loop0_3_rule(p))  // _loop0_3
  ------------------
  |  Branch (28676:13): [True: 0, False: 0]
  ------------------
28677|  60.1k|        )
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|  60.1k|        p->mark = _mark;
28684|  60.1k|        D(fprintf(stderr, "%*c%s _gather_4[%d-%d]: %s failed!\n", p->level, ' ',
28685|  60.1k|                  p->error_indicator ? "ERROR!" : "-", _mark, p->mark, "simple_stmt _loop0_3"));
28686|  60.1k|    }
28687|  60.1k|    _res = NULL;
28688|  60.1k|  done:
28689|  60.1k|    p->level--;
28690|  60.1k|    return _res;
28691|  60.1k|}
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|  27.4k|{
   10|  27.4k|    if (PySys_Audit("compile", "yO", str, filename) < 0) {
  ------------------
  |  Branch (10:9): [True: 0, False: 27.4k]
  ------------------
   11|      0|        return NULL;
   12|      0|    }
   13|       |
   14|  27.4k|    mod_ty result = _PyPegen_run_parser_from_string(str, mode, filename, flags,
   15|  27.4k|                                                    arena, module);
   16|  27.4k|    return result;
   17|  27.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|  54.3k|{
   53|  54.3k|    Py_ssize_t len = (Py_ssize_t)strlen(str);
   54|  54.3k|    if (col_offset > len + 1) {
  ------------------
  |  Branch (54:9): [True: 0, False: 54.3k]
  ------------------
   55|      0|        col_offset = len + 1;
   56|      0|    }
   57|  54.3k|    assert(col_offset >= 0);
   58|  54.3k|    PyObject *text = PyUnicode_DecodeUTF8(str, col_offset, "replace");
   59|  54.3k|    if (!text) {
  ------------------
  |  Branch (59:9): [True: 0, False: 54.3k]
  ------------------
   60|      0|        return -1;
   61|      0|    }
   62|  54.3k|    Py_ssize_t size = PyUnicode_GET_LENGTH(text);
  ------------------
  |  |  299|  54.3k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  54.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   63|  54.3k|    Py_DECREF(text);
  ------------------
  |  |  430|  54.3k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  54.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   64|  54.3k|    return size;
   65|  54.3k|}
_PyPegen_byte_offset_to_character_offset:
   69|  54.3k|{
   70|  54.3k|    const char *str = PyUnicode_AsUTF8(line);
   71|  54.3k|    if (!str) {
  ------------------
  |  Branch (71:9): [True: 0, False: 54.3k]
  ------------------
   72|      0|        return -1;
   73|      0|    }
   74|  54.3k|    return _PyPegen_byte_offset_to_character_offset_raw(str, col_offset);
   75|  54.3k|}
_PyPegen_insert_memo:
   81|  2.30M|{
   82|       |    // Insert in front
   83|  2.30M|    Memo *m = _PyArena_Malloc(p->arena, sizeof(Memo));
   84|  2.30M|    if (m == NULL) {
  ------------------
  |  Branch (84:9): [True: 0, False: 2.30M]
  ------------------
   85|      0|        return -1;
   86|      0|    }
   87|  2.30M|    m->type = type;
   88|  2.30M|    m->node = node;
   89|  2.30M|    m->mark = p->mark;
   90|  2.30M|    m->next = p->tokens[mark]->memo;
   91|  2.30M|    p->tokens[mark]->memo = m;
   92|  2.30M|    return 0;
   93|  2.30M|}
_PyPegen_update_memo:
   98|  1.31M|{
   99|  6.75M|    for (Memo *m = p->tokens[mark]->memo; m != NULL; m = m->next) {
  ------------------
  |  Branch (99:43): [True: 5.65M, False: 1.09M]
  ------------------
  100|  5.65M|        if (m->type == type) {
  ------------------
  |  Branch (100:13): [True: 214k, False: 5.43M]
  ------------------
  101|       |            // Update existing node.
  102|   214k|            m->node = node;
  103|   214k|            m->mark = p->mark;
  104|   214k|            return 0;
  105|   214k|        }
  106|  5.65M|    }
  107|       |    // Insert new node.
  108|  1.09M|    return _PyPegen_insert_memo(p, mark, type, node);
  109|  1.31M|}
_PyPegen_fill_token:
  245|   249k|{
  246|   249k|    struct token new_token;
  247|   249k|    _PyToken_Init(&new_token);
  248|   249k|    int type = _PyTokenizer_Get(p->tok, &new_token);
  249|       |
  250|       |    // Record and skip '# type: ignore' comments
  251|   249k|    while (type == TYPE_IGNORE) {
  ------------------
  |  |   72|   249k|#define TYPE_IGNORE     56
  ------------------
  |  Branch (251:12): [True: 0, False: 249k]
  ------------------
  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|   249k|    if (p->start_rule == Py_single_input && type == ENDMARKER && p->parsing_started) {
  ------------------
  |  |    8|   498k|#define Py_single_input 256
  ------------------
                  if (p->start_rule == Py_single_input && type == ENDMARKER && p->parsing_started) {
  ------------------
  |  |   16|   249k|#define ENDMARKER       0
  ------------------
  |  Branch (269:9): [True: 0, False: 249k]
  |  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|   249k|    else {
  279|   249k|        p->parsing_started = 1;
  280|   249k|    }
  281|       |
  282|       |    // Check if we are at the limit of the token array capacity and resize if needed
  283|   249k|    if ((p->fill == p->size) && (_resize_tokens_array(p) != 0)) {
  ------------------
  |  Branch (283:9): [True: 56.1k, False: 192k]
  |  Branch (283:33): [True: 0, False: 56.1k]
  ------------------
  284|      0|        goto error;
  285|      0|    }
  286|       |
  287|   249k|    Token *t = p->tokens[p->fill];
  288|   249k|    return initialize_token(p, t, &new_token, type);
  289|      0|error:
  290|      0|    _PyToken_Free(&new_token);
  291|      0|    return -1;
  292|   249k|}
_PyPegen_is_memoized:
  342|  7.66M|{
  343|  7.66M|    if (p->mark == p->fill) {
  ------------------
  |  Branch (343:9): [True: 37.8k, False: 7.62M]
  ------------------
  344|  37.8k|        if (_PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (344:13): [True: 0, False: 37.8k]
  ------------------
  345|      0|            p->error_indicator = 1;
  346|      0|            return -1;
  347|      0|        }
  348|  37.8k|    }
  349|       |
  350|  7.66M|    Token *t = p->tokens[p->mark];
  351|       |
  352|  21.9M|    for (Memo *m = t->memo; m != NULL; m = m->next) {
  ------------------
  |  Branch (352:29): [True: 19.6M, False: 2.30M]
  ------------------
  353|  19.6M|        if (m->type == type) {
  ------------------
  |  Branch (353:13): [True: 5.36M, False: 14.2M]
  ------------------
  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|  5.36M|            p->mark = m->mark;
  367|  5.36M|            *(void **)(pres) = m->node;
  368|  5.36M|            return 1;
  369|  5.36M|        }
  370|  19.6M|    }
  371|  2.30M|    return 0;
  372|  7.66M|}
_PyPegen_expect_token:
  405|  23.0M|{
  406|  23.0M|    if (p->mark == p->fill) {
  ------------------
  |  Branch (406:9): [True: 154k, False: 22.9M]
  ------------------
  407|   154k|        if (_PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (407:13): [True: 0, False: 154k]
  ------------------
  408|      0|            p->error_indicator = 1;
  409|      0|            return NULL;
  410|      0|        }
  411|   154k|    }
  412|  23.0M|    Token *t = p->tokens[p->mark];
  413|  23.0M|    if (t->type != type) {
  ------------------
  |  Branch (413:9): [True: 17.4M, False: 5.60M]
  ------------------
  414|  17.4M|       return NULL;
  415|  17.4M|    }
  416|  5.60M|    p->mark += 1;
  417|  5.60M|    return t;
  418|  23.0M|}
_PyPegen_expect_forced_token:
  434|  1.00k|_PyPegen_expect_forced_token(Parser *p, int type, const char* expected) {
  435|       |
  436|  1.00k|    if (p->error_indicator == 1) {
  ------------------
  |  Branch (436:9): [True: 0, False: 1.00k]
  ------------------
  437|      0|        return NULL;
  438|      0|    }
  439|       |
  440|  1.00k|    if (p->mark == p->fill) {
  ------------------
  |  Branch (440:9): [True: 761, False: 239]
  ------------------
  441|    761|        if (_PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (441:13): [True: 0, False: 761]
  ------------------
  442|      0|            p->error_indicator = 1;
  443|      0|            return NULL;
  444|      0|        }
  445|    761|    }
  446|  1.00k|    Token *t = p->tokens[p->mark];
  447|  1.00k|    if (t->type != type) {
  ------------------
  |  Branch (447:9): [True: 0, False: 1.00k]
  ------------------
  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|  1.00k|    p->mark += 1;
  452|  1.00k|    return t;
  453|  1.00k|}
_PyPegen_expect_soft_keyword:
  457|   282k|{
  458|   282k|    if (p->mark == p->fill) {
  ------------------
  |  Branch (458:9): [True: 5, False: 282k]
  ------------------
  459|      5|        if (_PyPegen_fill_token(p) < 0) {
  ------------------
  |  Branch (459:13): [True: 0, False: 5]
  ------------------
  460|      0|            p->error_indicator = 1;
  461|      0|            return NULL;
  462|      0|        }
  463|      5|    }
  464|   282k|    Token *t = p->tokens[p->mark];
  465|   282k|    if (t->type != NAME) {
  ------------------
  |  |   17|   282k|#define NAME            1
  ------------------
  |  Branch (465:9): [True: 272k, False: 9.61k]
  ------------------
  466|   272k|        return NULL;
  467|   272k|    }
  468|  9.61k|    const char *s = PyBytes_AsString(t->bytes);
  469|  9.61k|    if (!s) {
  ------------------
  |  Branch (469:9): [True: 0, False: 9.61k]
  ------------------
  470|      0|        p->error_indicator = 1;
  471|      0|        return NULL;
  472|      0|    }
  473|  9.61k|    if (strcmp(s, keyword) != 0) {
  ------------------
  |  Branch (473:9): [True: 9.60k, False: 12]
  ------------------
  474|  9.60k|        return NULL;
  475|  9.60k|    }
  476|     12|    return _PyPegen_name_token(p);
  477|  9.61k|}
_PyPegen_get_last_nonnwhitespace_token:
  481|  3.45M|{
  482|  3.45M|    assert(p->mark >= 0);
  483|  3.45M|    Token *token = NULL;
  484|  3.46M|    for (int m = p->mark - 1; m >= 0; m--) {
  ------------------
  |  Branch (484:31): [True: 3.46M, False: 0]
  ------------------
  485|  3.46M|        token = p->tokens[m];
  486|  3.46M|        if (token->type != ENDMARKER && (token->type < NEWLINE || token->type > DEDENT)) {
  ------------------
  |  |   16|  6.93M|#define ENDMARKER       0
  ------------------
                      if (token->type != ENDMARKER && (token->type < NEWLINE || token->type > DEDENT)) {
  ------------------
  |  |   20|  6.93M|#define NEWLINE         4
  ------------------
                      if (token->type != ENDMARKER && (token->type < NEWLINE || token->type > DEDENT)) {
  ------------------
  |  |   22|  39.7k|#define DEDENT          6
  ------------------
  |  Branch (486:13): [True: 3.46M, False: 0]
  |  Branch (486:42): [True: 3.42M, False: 39.7k]
  |  Branch (486:67): [True: 28.1k, False: 11.5k]
  ------------------
  487|  3.45M|            break;
  488|  3.45M|        }
  489|  3.46M|    }
  490|  3.45M|    return token;
  491|  3.45M|}
_PyPegen_new_identifier:
  495|  3.50M|{
  496|  3.50M|    PyObject *id = PyUnicode_DecodeUTF8(n, (Py_ssize_t)strlen(n), NULL);
  497|  3.50M|    if (!id) {
  ------------------
  |  Branch (497:9): [True: 0, False: 3.50M]
  ------------------
  498|      0|        goto error;
  499|      0|    }
  500|       |    /* Check whether there are non-ASCII characters in the
  501|       |       identifier; if so, normalize to NFKC. */
  502|  3.50M|    if (!PyUnicode_IS_ASCII(id))
  ------------------
  |  |  227|  3.50M|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.50M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.50M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (502:9): [True: 0, False: 3.50M]
  ------------------
  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|  3.50M|    static const char * const forbidden[] = {
  535|  3.50M|        "None",
  536|  3.50M|        "True",
  537|  3.50M|        "False",
  538|  3.50M|        NULL
  539|  3.50M|    };
  540|  14.0M|    for (int i = 0; forbidden[i] != NULL; i++) {
  ------------------
  |  Branch (540:21): [True: 10.5M, False: 3.50M]
  ------------------
  541|  10.5M|        if (_PyUnicode_EqualToASCIIString(id, forbidden[i])) {
  ------------------
  |  Branch (541:13): [True: 0, False: 10.5M]
  ------------------
  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|  10.5M|    }
  549|  3.50M|    PyInterpreterState *interp = _PyInterpreterState_GET();
  550|  3.50M|    _PyUnicode_InternImmortal(interp, &id);
  551|  3.50M|    if (_PyArena_AddPyObject(p->arena, id) < 0)
  ------------------
  |  Branch (551:9): [True: 0, False: 3.50M]
  ------------------
  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|  3.50M|    return id;
  557|       |
  558|      0|error:
  559|      0|    p->error_indicator = 1;
  560|       |    return NULL;
  561|  3.50M|}
_PyPegen_name_token:
  585|  9.59M|{
  586|  9.59M|    Token *t = _PyPegen_expect_token(p, NAME);
  ------------------
  |  |   17|  9.59M|#define NAME            1
  ------------------
  587|  9.59M|    return _PyPegen_name_from_token(p, t);
  588|  9.59M|}
_PyPegen_string_token:
  592|   254k|{
  593|   254k|    return _PyPegen_expect_token(p, STRING);
  ------------------
  |  |   19|   254k|#define STRING          3
  ------------------
  594|   254k|}
_PyPegen_soft_keyword_token:
  596|  54.3k|expr_ty _PyPegen_soft_keyword_token(Parser *p) {
  597|  54.3k|    Token *t = _PyPegen_expect_token(p, NAME);
  ------------------
  |  |   17|  54.3k|#define NAME            1
  ------------------
  598|  54.3k|    if (t == NULL) {
  ------------------
  |  Branch (598:9): [True: 54.3k, False: 0]
  ------------------
  599|  54.3k|        return NULL;
  600|  54.3k|    }
  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|   186k|{
  689|   186k|    Token *t = _PyPegen_expect_token(p, NUMBER);
  ------------------
  |  |   18|   186k|#define NUMBER          2
  ------------------
  690|   186k|    if (t == NULL) {
  ------------------
  |  Branch (690:9): [True: 184k, False: 1.95k]
  ------------------
  691|   184k|        return NULL;
  692|   184k|    }
  693|       |
  694|  1.95k|    const char *num_raw = PyBytes_AsString(t->bytes);
  695|  1.95k|    if (num_raw == NULL) {
  ------------------
  |  Branch (695:9): [True: 0, False: 1.95k]
  ------------------
  696|      0|        p->error_indicator = 1;
  697|      0|        return NULL;
  698|      0|    }
  699|       |
  700|  1.95k|    if (p->feature_version < 6 && strchr(num_raw, '_') != NULL) {
  ------------------
  |  Branch (700:9): [True: 0, False: 1.95k]
  |  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|  1.95k|    PyObject *c = parsenumber(num_raw);
  707|       |
  708|  1.95k|    if (c == NULL) {
  ------------------
  |  Branch (708:9): [True: 0, False: 1.95k]
  ------------------
  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|  1.95k|    if (_PyArena_AddPyObject(p->arena, c) < 0) {
  ------------------
  |  Branch (732:9): [True: 0, False: 1.95k]
  ------------------
  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|  1.95k|    return _PyAST_Constant(c, NULL, t->lineno, t->col_offset, t->end_lineno,
  739|  1.95k|                           t->end_col_offset, p->arena);
  740|  1.95k|}
_PyPegen_Parser_New:
  801|  27.4k|{
  802|  27.4k|    Parser *p = PyMem_Malloc(sizeof(Parser));
  803|  27.4k|    if (p == NULL) {
  ------------------
  |  Branch (803:9): [True: 0, False: 27.4k]
  ------------------
  804|      0|        return (Parser *) PyErr_NoMemory();
  805|      0|    }
  806|  27.4k|    assert(tok != NULL);
  807|  27.4k|    tok->type_comments = (flags & PyPARSE_TYPE_COMMENTS) > 0;
  ------------------
  |  |   24|  27.4k|#define PyPARSE_TYPE_COMMENTS 0x0040
  ------------------
  808|  27.4k|    p->tok = tok;
  809|  27.4k|    p->keywords = NULL;
  810|  27.4k|    p->n_keyword_lists = -1;
  811|  27.4k|    p->soft_keywords = NULL;
  812|  27.4k|    p->tokens = PyMem_Malloc(sizeof(Token *));
  813|  27.4k|    if (!p->tokens) {
  ------------------
  |  Branch (813:9): [True: 0, False: 27.4k]
  ------------------
  814|      0|        PyMem_Free(p);
  815|      0|        return (Parser *) PyErr_NoMemory();
  816|      0|    }
  817|  27.4k|    p->tokens[0] = PyMem_Calloc(1, sizeof(Token));
  818|  27.4k|    if (!p->tokens[0]) {
  ------------------
  |  Branch (818:9): [True: 0, False: 27.4k]
  ------------------
  819|      0|        PyMem_Free(p->tokens);
  820|      0|        PyMem_Free(p);
  821|      0|        return (Parser *) PyErr_NoMemory();
  822|      0|    }
  823|  27.4k|    if (!growable_comment_array_init(&p->type_ignore_comments, 10)) {
  ------------------
  |  Branch (823:9): [True: 0, False: 27.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|  27.4k|    p->mark = 0;
  831|  27.4k|    p->fill = 0;
  832|  27.4k|    p->size = 1;
  833|       |
  834|  27.4k|    p->errcode = errcode;
  835|  27.4k|    p->arena = arena;
  836|  27.4k|    p->start_rule = start_rule;
  837|  27.4k|    p->parsing_started = 0;
  838|  27.4k|    p->normalize = NULL;
  839|  27.4k|    p->error_indicator = 0;
  840|       |
  841|  27.4k|    p->starting_lineno = 0;
  842|  27.4k|    p->starting_col_offset = 0;
  843|  27.4k|    p->flags = flags;
  844|  27.4k|    p->feature_version = feature_version;
  845|  27.4k|    p->known_err_token = NULL;
  846|  27.4k|    p->level = 0;
  847|  27.4k|    p->call_invalid_rules = 0;
  848|  27.4k|    p->last_stmt_location.lineno = 0;
  849|  27.4k|    p->last_stmt_location.col_offset = 0;
  850|  27.4k|    p->last_stmt_location.end_lineno = 0;
  851|  27.4k|    p->last_stmt_location.end_col_offset = 0;
  852|       |#ifdef Py_DEBUG
  853|       |    p->debug = _Py_GetConfig()->parser_debug;
  854|       |#endif
  855|  27.4k|    return p;
  856|  27.4k|}
_PyPegen_Parser_Free:
  860|  27.4k|{
  861|  27.4k|    Py_XDECREF(p->normalize);
  ------------------
  |  |  524|  27.4k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  27.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  862|   355k|    for (int i = 0; i < p->size; i++) {
  ------------------
  |  Branch (862:21): [True: 328k, False: 27.4k]
  ------------------
  863|   328k|        PyMem_Free(p->tokens[i]);
  864|   328k|    }
  865|  27.4k|    PyMem_Free(p->tokens);
  866|  27.4k|    growable_comment_array_deallocate(&p->type_ignore_comments);
  867|  27.4k|    PyMem_Free(p);
  868|  27.4k|}
_PyPegen_run_parser:
  939|  27.4k|{
  940|  27.4k|    void *res = _PyPegen_parse(p);
  941|  27.4k|    assert(p->level == 0);
  942|  27.4k|    if (res == NULL) {
  ------------------
  |  Branch (942:9): [True: 27.1k, False: 270]
  ------------------
  943|  27.1k|        if ((p->flags & PyPARSE_ALLOW_INCOMPLETE_INPUT) &&  _is_end_of_source(p)) {
  ------------------
  |  |   25|  27.1k|#define PyPARSE_ALLOW_INCOMPLETE_INPUT 0x0100
  ------------------
  |  Branch (943:13): [True: 0, False: 27.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|  27.1k|        if (PyErr_Occurred() && !PyErr_ExceptionMatches(PyExc_SyntaxError)) {
  ------------------
  |  Branch (947:13): [True: 0, False: 27.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|  27.1k|        Token *last_token = p->tokens[p->fill - 1];
  954|  27.1k|        reset_parser_state_for_error_pass(p);
  955|  27.1k|        _PyPegen_parse(p);
  956|       |
  957|       |        // Set SyntaxErrors accordingly depending on the parser/tokenizer status at the failure
  958|       |        // point.
  959|  27.1k|        _Pypegen_set_syntax_error(p, last_token);
  960|       |
  961|       |        // Set the metadata in the exception from p->last_stmt_location
  962|  27.1k|        if (PyErr_ExceptionMatches(PyExc_SyntaxError)) {
  ------------------
  |  Branch (962:13): [True: 27.1k, False: 0]
  ------------------
  963|  27.1k|            _PyPegen_set_syntax_error_metadata(p);
  964|  27.1k|        }
  965|  27.1k|       return NULL;
  966|  27.1k|    }
  967|       |
  968|    270|    if (p->start_rule == Py_single_input && bad_single_statement(p)) {
  ------------------
  |  |    8|    540|#define Py_single_input 256
  ------------------
  |  Branch (968:9): [True: 0, False: 270]
  |  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|    270|    return res;
  985|    270|}
_PyPegen_run_parser_from_string:
 1043|  27.4k|{
 1044|  27.4k|    int exec_input = start_rule == Py_file_input;
  ------------------
  |  |    9|  27.4k|#define Py_file_input 257
  ------------------
 1045|       |
 1046|  27.4k|    struct tok_state *tok;
 1047|  27.4k|    if (flags != NULL && flags->cf_flags & PyCF_IGNORE_COOKIE) {
  ------------------
  |  |   18|  27.4k|#define PyCF_IGNORE_COOKIE 0x0800
  ------------------
  |  Branch (1047:9): [True: 27.4k, False: 6]
  |  Branch (1047:26): [True: 27.3k, False: 45]
  ------------------
 1048|  27.3k|        tok = _PyTokenizer_FromUTF8(str, exec_input, 0);
 1049|  27.3k|    } else {
 1050|     51|        tok = _PyTokenizer_FromString(str, exec_input, 0);
 1051|     51|    }
 1052|  27.4k|    if (tok == NULL) {
  ------------------
  |  Branch (1052:9): [True: 0, False: 27.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|  27.4k|    tok->filename = Py_NewRef(filename_ob);
  ------------------
  |  |  550|  27.4k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  27.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1060|  27.4k|    tok->module = Py_XNewRef(module);
  ------------------
  |  |  551|  27.4k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  27.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1061|       |
 1062|       |    // We need to clear up from here on
 1063|  27.4k|    mod_ty result = NULL;
 1064|       |
 1065|  27.4k|    int parser_flags = compute_parser_flags(flags);
 1066|  27.4k|    int feature_version = flags && (flags->cf_flags & PyCF_ONLY_AST) ?
  ------------------
  |  |   17|  27.4k|#define PyCF_ONLY_AST 0x0400
  ------------------
  |  Branch (1066:27): [True: 27.4k, False: 6]
  |  Branch (1066:36): [True: 27.1k, False: 258]
  ------------------
 1067|  27.1k|        flags->cf_feature_version : PY_MINOR_VERSION;
  ------------------
  |  |   24|    264|#define PY_MINOR_VERSION        16
  ------------------
 1068|  27.4k|    Parser *p = _PyPegen_Parser_New(tok, start_rule, parser_flags, feature_version,
 1069|  27.4k|                                    NULL, str, arena);
 1070|  27.4k|    if (p == NULL) {
  ------------------
  |  Branch (1070:9): [True: 0, False: 27.4k]
  ------------------
 1071|      0|        goto error;
 1072|      0|    }
 1073|       |
 1074|  27.4k|    result = _PyPegen_run_parser(p);
 1075|  27.4k|    _PyPegen_Parser_Free(p);
 1076|       |
 1077|  27.4k|error:
 1078|  27.4k|    _PyTokenizer_Free(tok);
 1079|  27.4k|    return result;
 1080|  27.4k|}
pegen.c:_resize_tokens_array:
  222|  56.1k|_resize_tokens_array(Parser *p) {
  223|  56.1k|    int newsize = p->size * 2;
  224|  56.1k|    Token **new_tokens = PyMem_Realloc(p->tokens, (size_t)newsize * sizeof(Token *));
  225|  56.1k|    if (new_tokens == NULL) {
  ------------------
  |  Branch (225:9): [True: 0, False: 56.1k]
  ------------------
  226|      0|        PyErr_NoMemory();
  227|      0|        return -1;
  228|      0|    }
  229|  56.1k|    p->tokens = new_tokens;
  230|       |
  231|   357k|    for (int i = p->size; i < newsize; i++) {
  ------------------
  |  Branch (231:27): [True: 301k, False: 56.1k]
  ------------------
  232|   301k|        p->tokens[i] = PyMem_Calloc(1, sizeof(Token));
  233|   301k|        if (p->tokens[i] == NULL) {
  ------------------
  |  Branch (233:13): [True: 0, False: 301k]
  ------------------
  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|   301k|    }
  239|  56.1k|    p->size = newsize;
  240|  56.1k|    return 0;
  241|  56.1k|}
pegen.c:initialize_token:
  181|   249k|initialize_token(Parser *p, Token *parser_token, struct token *new_token, int token_type) {
  182|   249k|    assert(parser_token != NULL);
  183|       |
  184|   249k|    parser_token->type = (token_type == NAME) ? _get_keyword_or_name_type(p, new_token) : token_type;
  ------------------
  |  |   17|   249k|#define NAME            1
  ------------------
  |  Branch (184:26): [True: 110k, False: 138k]
  ------------------
  185|   249k|    parser_token->bytes = PyBytes_FromStringAndSize(new_token->start, new_token->end - new_token->start);
  186|   249k|    if (parser_token->bytes == NULL) {
  ------------------
  |  Branch (186:9): [True: 0, False: 249k]
  ------------------
  187|      0|        return -1;
  188|      0|    }
  189|   249k|    if (_PyArena_AddPyObject(p->arena, parser_token->bytes) < 0) {
  ------------------
  |  Branch (189:9): [True: 0, False: 249k]
  ------------------
  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|   249k|    parser_token->metadata = NULL;
  195|   249k|    if (new_token->metadata != NULL) {
  ------------------
  |  Branch (195:9): [True: 2, False: 249k]
  ------------------
  196|      2|        if (_PyArena_AddPyObject(p->arena, new_token->metadata) < 0) {
  ------------------
  |  Branch (196:13): [True: 0, False: 2]
  ------------------
  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|      2|        parser_token->metadata = new_token->metadata;
  201|      2|        new_token->metadata = NULL;
  202|      2|    }
  203|       |
  204|   249k|    parser_token->level = new_token->level;
  205|   249k|    parser_token->lineno = new_token->lineno;
  206|   249k|    parser_token->col_offset = p->tok->lineno == p->starting_lineno ? p->starting_col_offset + new_token->col_offset
  ------------------
  |  Branch (206:32): [True: 0, False: 249k]
  ------------------
  207|   249k|                                                                    : new_token->col_offset;
  208|   249k|    parser_token->end_lineno = new_token->end_lineno;
  209|   249k|    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: 249k]
  ------------------
  210|   249k|                                                                 : new_token->end_col_offset;
  211|       |
  212|   249k|    p->fill += 1;
  213|       |
  214|   249k|    if (token_type == ERRORTOKEN && p->tok->done == E_DECODE) {
  ------------------
  |  |   83|   498k|#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: 249k]
  |  Branch (214:37): [True: 0, False: 0]
  ------------------
  215|      0|        return _Pypegen_raise_decode_error(p);
  216|      0|    }
  217|       |
  218|   249k|    return (token_type == ERRORTOKEN ? _Pypegen_tokenizer_error(p) : 0);
  ------------------
  |  |   83|   249k|#define ERRORTOKEN      67
  ------------------
  |  Branch (218:13): [True: 0, False: 249k]
  ------------------
  219|   249k|}
pegen.c:_get_keyword_or_name_type:
  163|   110k|{
  164|   110k|    Py_ssize_t name_len = new_token->end_col_offset - new_token->col_offset;
  165|   110k|    assert(name_len > 0);
  166|       |
  167|   110k|    if (name_len >= p->n_keyword_lists ||
  ------------------
  |  Branch (167:9): [True: 13.0k, False: 97.8k]
  ------------------
  168|  97.8k|        p->keywords[name_len] == NULL ||
  ------------------
  |  Branch (168:9): [True: 0, False: 97.8k]
  ------------------
  169|  97.8k|        p->keywords[name_len]->type == -1) {
  ------------------
  |  Branch (169:9): [True: 28.7k, False: 69.0k]
  ------------------
  170|  41.7k|        return NAME;
  ------------------
  |  |   17|  41.7k|#define NAME            1
  ------------------
  171|  41.7k|    }
  172|   396k|    for (KeywordToken *k = p->keywords[name_len]; k != NULL && k->type != -1; k++) {
  ------------------
  |  Branch (172:51): [True: 396k, False: 0]
  |  Branch (172:64): [True: 369k, False: 27.4k]
  ------------------
  173|   369k|        if (strncmp(k->str, new_token->start, (size_t)name_len) == 0) {
  ------------------
  |  Branch (173:13): [True: 41.6k, False: 327k]
  ------------------
  174|  41.6k|            return k->type;
  175|  41.6k|        }
  176|   369k|    }
  177|  27.4k|    return NAME;
  ------------------
  |  |   17|  27.4k|#define NAME            1
  ------------------
  178|  69.0k|}
pegen.c:_PyPegen_name_from_token:
  565|  9.59M|{
  566|  9.59M|    if (t == NULL) {
  ------------------
  |  Branch (566:9): [True: 6.08M, False: 3.50M]
  ------------------
  567|  6.08M|        return NULL;
  568|  6.08M|    }
  569|  3.50M|    const char *s = PyBytes_AsString(t->bytes);
  570|  3.50M|    if (!s) {
  ------------------
  |  Branch (570:9): [True: 0, False: 3.50M]
  ------------------
  571|      0|        p->error_indicator = 1;
  572|      0|        return NULL;
  573|      0|    }
  574|  3.50M|    PyObject *id = _PyPegen_new_identifier(p, s);
  575|  3.50M|    if (id == NULL) {
  ------------------
  |  Branch (575:9): [True: 0, False: 3.50M]
  ------------------
  576|      0|        p->error_indicator = 1;
  577|      0|        return NULL;
  578|      0|    }
  579|  3.50M|    return _PyAST_Name(id, Load, t->lineno, t->col_offset, t->end_lineno,
  580|  3.50M|                       t->end_col_offset, p->arena);
  581|  3.50M|}
pegen.c:parsenumber:
  659|  1.95k|{
  660|  1.95k|    char *dup;
  661|  1.95k|    char *end;
  662|  1.95k|    PyObject *res = NULL;
  663|       |
  664|  1.95k|    assert(s != NULL);
  665|       |
  666|  1.95k|    if (strchr(s, '_') == NULL) {
  ------------------
  |  Branch (666:9): [True: 1.95k, False: 0]
  ------------------
  667|  1.95k|        return parsenumber_raw(s);
  668|  1.95k|    }
  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|  1.95k|{
  616|  1.95k|    const char *end;
  617|  1.95k|    long x;
  618|  1.95k|    double dx;
  619|  1.95k|    Py_complex compl;
  620|  1.95k|    int imflag;
  621|       |
  622|  1.95k|    assert(s != NULL);
  623|  1.95k|    errno = 0;
  624|  1.95k|    end = s + strlen(s) - 1;
  625|  1.95k|    imflag = *end == 'j' || *end == 'J';
  ------------------
  |  Branch (625:14): [True: 2, False: 1.95k]
  |  Branch (625:29): [True: 0, False: 1.95k]
  ------------------
  626|  1.95k|    if (s[0] == '0') {
  ------------------
  |  Branch (626:9): [True: 867, False: 1.09k]
  ------------------
  627|    867|        x = (long)PyOS_strtoul(s, (char **)&end, 0);
  628|    867|        if (x < 0 && errno == 0) {
  ------------------
  |  Branch (628:13): [True: 0, False: 867]
  |  Branch (628:22): [True: 0, False: 0]
  ------------------
  629|      0|            return PyLong_FromString(s, (char **)0, 0);
  630|      0|        }
  631|    867|    }
  632|  1.09k|    else {
  633|  1.09k|        x = PyOS_strtol(s, (char **)&end, 0);
  634|  1.09k|    }
  635|  1.95k|    if (*end == '\0') {
  ------------------
  |  Branch (635:9): [True: 1.92k, False: 35]
  ------------------
  636|  1.92k|        if (errno != 0) {
  ------------------
  |  Branch (636:13): [True: 0, False: 1.92k]
  ------------------
  637|      0|            return PyLong_FromString(s, (char **)0, 0);
  638|      0|        }
  639|  1.92k|        return PyLong_FromLong(x);
  640|  1.92k|    }
  641|       |    /* XXX Huge floats may silently fail */
  642|     35|    if (imflag) {
  ------------------
  |  Branch (642:9): [True: 2, False: 33]
  ------------------
  643|      2|        compl.real = 0.;
  644|      2|        compl.imag = PyOS_string_to_double(s, (char **)&end, NULL);
  645|      2|        if (compl.imag == -1.0 && PyErr_Occurred()) {
  ------------------
  |  Branch (645:13): [True: 0, False: 2]
  |  Branch (645:35): [True: 0, False: 0]
  ------------------
  646|      0|            return NULL;
  647|      0|        }
  648|      2|        return PyComplex_FromCComplex(compl);
  649|      2|    }
  650|     33|    dx = PyOS_string_to_double(s, NULL, NULL);
  651|     33|    if (dx == -1.0 && PyErr_Occurred()) {
  ------------------
  |  Branch (651:9): [True: 0, False: 33]
  |  Branch (651:23): [True: 0, False: 0]
  ------------------
  652|      0|        return NULL;
  653|      0|    }
  654|     33|    return PyFloat_FromDouble(dx);
  655|     33|}
pegen.c:growable_comment_array_init:
  126|  27.4k|growable_comment_array_init(growable_comment_array *arr, size_t initial_size) {
  127|  27.4k|    assert(initial_size > 0);
  128|  27.4k|    arr->items = PyMem_Malloc(initial_size * sizeof(*arr->items));
  129|  27.4k|    arr->size = initial_size;
  130|  27.4k|    arr->num_items = 0;
  131|       |
  132|       |    return arr->items != NULL;
  133|  27.4k|}
pegen.c:growable_comment_array_deallocate:
  154|  27.4k|growable_comment_array_deallocate(growable_comment_array *arr) {
  155|  27.4k|    for (unsigned i = 0; i < arr->num_items; i++) {
  ------------------
  |  Branch (155:26): [True: 0, False: 27.4k]
  ------------------
  156|      0|        PyMem_Free(arr->items[i].comment);
  157|      0|    }
  158|  27.4k|    PyMem_Free(arr->items);
  159|  27.4k|}
pegen.c:reset_parser_state_for_error_pass:
  872|  27.1k|{
  873|  27.1k|    p->last_stmt_location.lineno = 0;
  874|  27.1k|    p->last_stmt_location.col_offset = 0;
  875|  27.1k|    p->last_stmt_location.end_lineno = 0;
  876|  27.1k|    p->last_stmt_location.end_col_offset = 0;
  877|   135k|    for (int i = 0; i < p->fill; i++) {
  ------------------
  |  Branch (877:21): [True: 108k, False: 27.1k]
  ------------------
  878|   108k|        p->tokens[i]->memo = NULL;
  879|   108k|    }
  880|  27.1k|    p->mark = 0;
  881|  27.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|  27.1k|    p->tok->interactive_underflow = IUNDERFLOW_STOP;
  885|  27.1k|}
pegen.c:_PyPegen_set_syntax_error_metadata:
  894|  27.1k|_PyPegen_set_syntax_error_metadata(Parser *p) {
  895|  27.1k|    PyObject *exc = PyErr_GetRaisedException();
  896|  27.1k|    if (!exc || !PyObject_TypeCheck(exc, (PyTypeObject *)PyExc_SyntaxError)) {
  ------------------
  |  |  378|  27.1k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  27.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (896:9): [True: 0, False: 27.1k]
  |  Branch (896:17): [True: 0, False: 27.1k]
  ------------------
  897|      0|        PyErr_SetRaisedException(exc);
  898|      0|        return;
  899|      0|    }
  900|  27.1k|    const char *source = NULL;
  901|  27.1k|    if (p->tok->str != NULL) {
  ------------------
  |  Branch (901:9): [True: 27.1k, False: 0]
  ------------------
  902|  27.1k|        source = p->tok->str;
  903|  27.1k|    }
  904|  27.1k|    if (!source && p->tok->fp_interactive && p->tok->interactive_src_start) {
  ------------------
  |  Branch (904:9): [True: 0, False: 27.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|  27.1k|    PyObject* the_source = NULL;
  908|  27.1k|    if (source) {
  ------------------
  |  Branch (908:9): [True: 27.1k, False: 0]
  ------------------
  909|  27.1k|        if (p->tok->encoding == NULL) {
  ------------------
  |  Branch (909:13): [True: 0, False: 27.1k]
  ------------------
  910|      0|            the_source = PyUnicode_FromString(source);
  911|  27.1k|        } else {
  912|  27.1k|            the_source = PyUnicode_Decode(source, strlen(source), p->tok->encoding, NULL);
  913|  27.1k|        }
  914|  27.1k|    }
  915|  27.1k|    if (!the_source) {
  ------------------
  |  Branch (915:9): [True: 0, False: 27.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|  27.1k|    PyObject* metadata = Py_BuildValue(
  921|  27.1k|        "(iiN)",
  922|  27.1k|        p->last_stmt_location.lineno,
  923|  27.1k|        p->last_stmt_location.col_offset,
  924|  27.1k|        the_source // N gives ownership to metadata
  925|  27.1k|    );
  926|  27.1k|    if (!metadata) {
  ------------------
  |  Branch (926:9): [True: 0, False: 27.1k]
  ------------------
  927|      0|        PyErr_Clear();
  928|      0|        return;
  929|      0|    }
  930|  27.1k|    PySyntaxErrorObject *syntax_error = (PySyntaxErrorObject *)exc;
  931|       |
  932|  27.1k|    Py_XDECREF(syntax_error->metadata);
  ------------------
  |  |  524|  27.1k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  27.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  933|  27.1k|    syntax_error->metadata = metadata;
  934|  27.1k|    PyErr_SetRaisedException(exc);
  935|  27.1k|}
pegen.c:compute_parser_flags:
  773|  27.4k|{
  774|  27.4k|    int parser_flags = 0;
  775|  27.4k|    if (!flags) {
  ------------------
  |  Branch (775:9): [True: 6, False: 27.4k]
  ------------------
  776|      6|        return 0;
  777|      6|    }
  778|  27.4k|    if (flags->cf_flags & PyCF_DONT_IMPLY_DEDENT) {
  ------------------
  |  |   16|  27.4k|#define PyCF_DONT_IMPLY_DEDENT 0x0200
  ------------------
  |  Branch (778:9): [True: 0, False: 27.4k]
  ------------------
  779|      0|        parser_flags |= PyPARSE_DONT_IMPLY_DEDENT;
  ------------------
  |  |   14|      0|#define PyPARSE_DONT_IMPLY_DEDENT       0x0002
  ------------------
  780|      0|    }
  781|  27.4k|    if (flags->cf_flags & PyCF_IGNORE_COOKIE) {
  ------------------
  |  |   18|  27.4k|#define PyCF_IGNORE_COOKIE 0x0800
  ------------------
  |  Branch (781:9): [True: 27.3k, False: 45]
  ------------------
  782|  27.3k|        parser_flags |= PyPARSE_IGNORE_COOKIE;
  ------------------
  |  |   22|  27.3k|#define PyPARSE_IGNORE_COOKIE 0x0010
  ------------------
  783|  27.3k|    }
  784|  27.4k|    if (flags->cf_flags & CO_FUTURE_BARRY_AS_BDFL) {
  ------------------
  |  |  141|  27.4k|#define CO_FUTURE_BARRY_AS_BDFL  0x400000
  ------------------
  |  Branch (784:9): [True: 0, False: 27.4k]
  ------------------
  785|      0|        parser_flags |= PyPARSE_BARRY_AS_BDFL;
  ------------------
  |  |   23|      0|#define PyPARSE_BARRY_AS_BDFL 0x0020
  ------------------
  786|      0|    }
  787|  27.4k|    if (flags->cf_flags & PyCF_TYPE_COMMENTS) {
  ------------------
  |  |   19|  27.4k|#define PyCF_TYPE_COMMENTS 0x1000
  ------------------
  |  Branch (787:9): [True: 0, False: 27.4k]
  ------------------
  788|      0|        parser_flags |= PyPARSE_TYPE_COMMENTS;
  ------------------
  |  |   24|      0|#define PyPARSE_TYPE_COMMENTS 0x0040
  ------------------
  789|      0|    }
  790|  27.4k|    if (flags->cf_flags & PyCF_ALLOW_INCOMPLETE_INPUT) {
  ------------------
  |  |   21|  27.4k|#define PyCF_ALLOW_INCOMPLETE_INPUT 0x4000
  ------------------
  |  Branch (790:9): [True: 0, False: 27.4k]
  ------------------
  791|      0|        parser_flags |= PyPARSE_ALLOW_INCOMPLETE_INPUT;
  ------------------
  |  |   25|      0|#define PyPARSE_ALLOW_INCOMPLETE_INPUT 0x0100
  ------------------
  792|      0|    }
  793|  27.4k|    return parser_flags;
  794|  27.4k|}

pegen_errors.c:RAISE_ERROR_KNOWN_LOCATION:
  192|  27.1k|{
  193|  27.1k|    va_list va;
  194|  27.1k|    va_start(va, errmsg);
  195|  27.1k|    Py_ssize_t _col_offset = (col_offset == CURRENT_POS ? CURRENT_POS : col_offset + 1);
  ------------------
  |  |   27|  27.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: 27.1k]
  ------------------
  196|  27.1k|    Py_ssize_t _end_col_offset = (end_col_offset == CURRENT_POS ? CURRENT_POS : end_col_offset + 1);
  ------------------
  |  |   27|  27.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: 27.1k]
  ------------------
  197|  27.1k|    _PyPegen_raise_error_known_location(p, errtype, lineno, _col_offset, end_lineno, _end_col_offset, errmsg, va);
  198|  27.1k|    va_end(va);
  199|       |    return NULL;
  200|  27.1k|}
parser.c:INVALID_VERSION_CHECK:
  294|    337|{
  295|    337|    if (node == NULL) {
  ------------------
  |  Branch (295:9): [True: 0, False: 337]
  ------------------
  296|      0|        p->error_indicator = 1;  // Inline CHECK_CALL
  297|      0|        return NULL;
  298|      0|    }
  299|    337|    if (p->feature_version < version) {
  ------------------
  |  Branch (299:9): [True: 0, False: 337]
  ------------------
  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|    337|    return node;
  305|    337|}
parser.c:CHECK_CALL:
  214|  6.30k|{
  215|  6.30k|    if (result == NULL) {
  ------------------
  |  Branch (215:9): [True: 0, False: 6.30k]
  ------------------
  216|       |        assert(PyErr_Occurred());
  217|      0|        p->error_indicator = 1;
  218|      0|    }
  219|  6.30k|    return result;
  220|  6.30k|}
parser.c:CHECK_CALL_NULL_ALLOWED:
  226|    242|{
  227|    242|    if (result == NULL && PyErr_Occurred()) {
  ------------------
  |  Branch (227:9): [True: 121, False: 121]
  |  Branch (227:27): [True: 0, False: 121]
  ------------------
  228|      0|        p->error_indicator = 1;
  229|      0|    }
  230|    242|    return result;
  231|    242|}
parser.c:NEW_TYPE_COMMENT:
  274|  5.58k|{
  275|  5.58k|    if (tc == NULL) {
  ------------------
  |  Branch (275:9): [True: 5.58k, False: 0]
  ------------------
  276|  5.58k|        return NULL;
  277|  5.58k|    }
  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|  27.1k|{
  323|       |    // Bail out if we already have an error set.
  324|  27.1k|    if (p->error_indicator && PyErr_Occurred()) {
  ------------------
  |  Branch (324:9): [True: 0, False: 27.1k]
  |  Branch (324:31): [True: 0, False: 0]
  ------------------
  325|      0|        return NULL;
  326|      0|    }
  327|  27.1k|    PyObject *value = NULL;
  328|  27.1k|    PyObject *errstr = NULL;
  329|  27.1k|    PyObject *error_line = NULL;
  330|  27.1k|    PyObject *tmp = NULL;
  331|  27.1k|    p->error_indicator = 1;
  332|       |
  333|  27.1k|    if (end_lineno == CURRENT_POS) {
  ------------------
  |  |   27|  27.1k|#define CURRENT_POS (-5)
  ------------------
  |  Branch (333:9): [True: 0, False: 27.1k]
  ------------------
  334|      0|        end_lineno = p->tok->lineno;
  335|      0|    }
  336|  27.1k|    if (end_col_offset == CURRENT_POS) {
  ------------------
  |  |   27|  27.1k|#define CURRENT_POS (-5)
  ------------------
  |  Branch (336:9): [True: 0, False: 27.1k]
  ------------------
  337|      0|        end_col_offset = p->tok->cur - p->tok->line_start;
  338|      0|    }
  339|       |
  340|  27.1k|    errstr = PyUnicode_FromFormatV(errmsg, va);
  341|  27.1k|    if (!errstr) {
  ------------------
  |  Branch (341:9): [True: 0, False: 27.1k]
  ------------------
  342|      0|        goto error;
  343|      0|    }
  344|       |
  345|  27.1k|    if (p->tok->fp_interactive && p->tok->interactive_src_start != NULL) {
  ------------------
  |  Branch (345:9): [True: 0, False: 27.1k]
  |  Branch (345:35): [True: 0, False: 0]
  ------------------
  346|      0|        error_line = get_error_line_from_tokenizer_buffers(p, lineno);
  347|      0|    }
  348|  27.1k|    else if (p->start_rule == Py_file_input) {
  ------------------
  |  |    9|  27.1k|#define Py_file_input 257
  ------------------
  |  Branch (348:14): [True: 27.1k, False: 0]
  ------------------
  349|  27.1k|        error_line = _PyErr_ProgramDecodedTextObject(p->tok->filename,
  350|  27.1k|                                                     (int) lineno, p->tok->encoding);
  351|  27.1k|    }
  352|       |
  353|  27.1k|    if (!error_line) {
  ------------------
  |  Branch (353:9): [True: 27.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|  27.1k|        assert(p->tok->fp == NULL || p->tok->fp == stdin || p->tok->done == E_EOF);
  362|       |
  363|  27.1k|        if (p->tok->lineno <= lineno && p->tok->inp > p->tok->buf) {
  ------------------
  |  Branch (363:13): [True: 27.1k, False: 0]
  |  Branch (363:41): [True: 27.1k, False: 0]
  ------------------
  364|  27.1k|            Py_ssize_t size = p->tok->inp - p->tok->line_start;
  365|  27.1k|            error_line = PyUnicode_DecodeUTF8(p->tok->line_start, size, "replace");
  366|  27.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|  27.1k|        if (!error_line) {
  ------------------
  |  Branch (373:13): [True: 0, False: 27.1k]
  ------------------
  374|      0|            goto error;
  375|      0|        }
  376|  27.1k|    }
  377|       |
  378|  27.1k|    Py_ssize_t col_number = col_offset;
  379|  27.1k|    Py_ssize_t end_col_number = end_col_offset;
  380|       |
  381|  27.1k|    col_number = _PyPegen_byte_offset_to_character_offset(error_line, col_offset);
  382|  27.1k|    if (col_number < 0) {
  ------------------
  |  Branch (382:9): [True: 0, False: 27.1k]
  ------------------
  383|      0|        goto error;
  384|      0|    }
  385|       |
  386|  27.1k|    if (end_col_offset > 0) {
  ------------------
  |  Branch (386:9): [True: 27.1k, False: 2]
  ------------------
  387|  27.1k|        end_col_number = _PyPegen_byte_offset_to_character_offset(error_line, end_col_offset);
  388|  27.1k|        if (end_col_number < 0) {
  ------------------
  |  Branch (388:13): [True: 0, False: 27.1k]
  ------------------
  389|      0|            goto error;
  390|      0|        }
  391|  27.1k|    }
  392|       |
  393|  27.1k|    tmp = Py_BuildValue("(OnnNnn)", p->tok->filename, lineno, col_number, error_line, end_lineno, end_col_number);
  394|  27.1k|    if (!tmp) {
  ------------------
  |  Branch (394:9): [True: 0, False: 27.1k]
  ------------------
  395|      0|        goto error;
  396|      0|    }
  397|  27.1k|    value = _PyTuple_FromPair(errstr, tmp);
  398|  27.1k|    Py_DECREF(tmp);
  ------------------
  |  |  430|  27.1k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  27.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  399|  27.1k|    if (!value) {
  ------------------
  |  Branch (399:9): [True: 0, False: 27.1k]
  ------------------
  400|      0|        goto error;
  401|      0|    }
  402|  27.1k|    PyErr_SetObject(errtype, value);
  403|       |
  404|  27.1k|    Py_DECREF(errstr);
  ------------------
  |  |  430|  27.1k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  27.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  405|  27.1k|    Py_DECREF(value);
  ------------------
  |  |  430|  27.1k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  27.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  406|  27.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|  27.1k|}
_Pypegen_set_syntax_error:
  415|  27.1k|_Pypegen_set_syntax_error(Parser* p, Token* last_token) {
  416|       |    // Existing syntax error
  417|  27.1k|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (417:9): [True: 0, False: 27.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|  27.1k|    if (p->fill == 0) {
  ------------------
  |  Branch (428:9): [True: 0, False: 27.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|  27.1k|    if (last_token->type == ERRORTOKEN && p->tok->done == E_EOF) {
  ------------------
  |  |   83|  54.3k|#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: 27.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|  27.1k|    if (last_token->type == INDENT || last_token->type == DEDENT) {
  ------------------
  |  |   21|  54.3k|#define INDENT          5
  ------------------
                  if (last_token->type == INDENT || last_token->type == DEDENT) {
  ------------------
  |  |   22|  27.1k|#define DEDENT          6
  ------------------
  |  Branch (441:9): [True: 2, False: 27.1k]
  |  Branch (441:39): [True: 0, False: 27.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|  27.1k|    RAISE_SYNTAX_ERROR_KNOWN_LOCATION(last_token, "invalid syntax");
  ------------------
  |  |  207|  27.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|  27.1k|    _PyPegen_tokenize_full_source_to_check_for_errors(p);
  455|  27.1k|}
pegen_errors.c:_PyPegen_tokenize_full_source_to_check_for_errors:
  165|  27.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|  27.1k|    if (p->tok->prompt != NULL) {
  ------------------
  |  Branch (172:9): [True: 0, False: 27.1k]
  ------------------
  173|      0|        return 0;
  174|      0|    }
  175|       |
  176|  27.1k|    PyObject *type, *value, *traceback;
  177|  27.1k|    PyErr_Fetch(&type, &value, &traceback);
  178|       |
  179|  27.1k|    Token *current_token = p->known_err_token != NULL ? p->known_err_token : p->tokens[p->fill - 1];
  ------------------
  |  Branch (179:28): [True: 0, False: 27.1k]
  ------------------
  180|  27.1k|    Py_ssize_t current_err_line = current_token->lineno;
  181|       |
  182|  27.1k|    int ret = 0;
  183|  27.1k|    struct token new_token;
  184|  27.1k|    _PyToken_Init(&new_token);
  185|       |
  186|   108k|    for (;;) {
  187|   108k|        switch (_PyTokenizer_Get(p->tok, &new_token)) {
  188|      0|            case ERRORTOKEN:
  ------------------
  |  |   83|      0|#define ERRORTOKEN      67
  ------------------
  |  Branch (188:13): [True: 0, False: 108k]
  ------------------
  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|  27.1k|            case ENDMARKER:
  ------------------
  |  |   16|  27.1k|#define ENDMARKER       0
  ------------------
  |  Branch (202:13): [True: 27.1k, False: 81.4k]
  ------------------
  203|  27.1k|                break;
  204|  81.4k|            default:
  ------------------
  |  Branch (204:13): [True: 81.4k, False: 27.1k]
  ------------------
  205|  81.4k|                continue;
  206|   108k|        }
  207|  27.1k|        break;
  208|   108k|    }
  209|       |
  210|       |
  211|  27.1k|exit:
  212|  27.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|  27.1k|    if (PyErr_Occurred() && p->tok->tok_mode_stack_index <= 0) {
  ------------------
  |  Branch (216:9): [True: 0, False: 27.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|  27.1k|    } else {
  221|  27.1k|        PyErr_Restore(type, value, traceback);
  222|  27.1k|    }
  223|  27.1k|    return ret;
  224|  27.1k|}

_PyPegen_decode_string:
  243|  3.64k|{
  244|  3.64k|    if (raw) {
  ------------------
  |  Branch (244:9): [True: 3.52k, False: 119]
  ------------------
  245|  3.52k|        return PyUnicode_DecodeUTF8Stateful(s, (Py_ssize_t)len, NULL, NULL);
  246|  3.52k|    }
  247|    119|    return decode_unicode_with_escapes(p, s, len, t);
  248|  3.64k|}
_PyPegen_parse_string:
  255|  2.87k|{
  256|  2.87k|    const char *s = PyBytes_AsString(t->bytes);
  257|  2.87k|    if (s == NULL) {
  ------------------
  |  Branch (257:9): [True: 0, False: 2.87k]
  ------------------
  258|      0|        return NULL;
  259|      0|    }
  260|       |
  261|  2.87k|    size_t len;
  262|  2.87k|    int quote = Py_CHARMASK(*s);
  ------------------
  |  |  138|  2.87k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
  263|  2.87k|    int bytesmode = 0;
  264|  2.87k|    int rawmode = 0;
  265|       |
  266|  2.87k|    if (Py_ISALPHA(quote)) {
  ------------------
  |  |   23|  2.87k|#define Py_ISALPHA(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALPHA)
  |  |  ------------------
  |  |  |  |  138|  2.87k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISALPHA(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALPHA)
  |  |  ------------------
  |  |  |  |   10|  2.87k|#define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  ------------------
  |  |  |  |  |  |    8|  2.87k|#define PY_CTF_LOWER  0x01
  |  |  |  |  ------------------
  |  |  |  |               #define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  ------------------
  |  |  |  |  |  |    9|  2.87k|#define PY_CTF_UPPER  0x02
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (23:24): [True: 33, False: 2.84k]
  |  |  ------------------
  ------------------
  267|     66|        while (!bytesmode || !rawmode) {
  ------------------
  |  Branch (267:16): [True: 48, False: 18]
  |  Branch (267:30): [True: 18, False: 0]
  ------------------
  268|     66|            if (quote == 'b' || quote == 'B') {
  ------------------
  |  Branch (268:17): [True: 18, False: 48]
  |  Branch (268:33): [True: 0, False: 48]
  ------------------
  269|     18|                quote =(unsigned char)*++s;
  270|     18|                bytesmode = 1;
  271|     18|            }
  272|     48|            else if (quote == 'u' || quote == 'U') {
  ------------------
  |  Branch (272:22): [True: 0, False: 48]
  |  Branch (272:38): [True: 0, False: 48]
  ------------------
  273|      0|                quote = (unsigned char)*++s;
  274|      0|            }
  275|     48|            else if (quote == 'r' || quote == 'R') {
  ------------------
  |  Branch (275:22): [True: 15, False: 33]
  |  Branch (275:38): [True: 0, False: 33]
  ------------------
  276|     15|                quote = (unsigned char)*++s;
  277|     15|                rawmode = 1;
  278|     15|            }
  279|     33|            else {
  280|     33|                break;
  281|     33|            }
  282|     66|        }
  283|     33|    }
  284|       |
  285|  2.87k|    if (quote != '\'' && quote != '\"') {
  ------------------
  |  Branch (285:9): [True: 1.03k, False: 1.84k]
  |  Branch (285:26): [True: 0, False: 1.03k]
  ------------------
  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|  2.87k|    s++;
  292|  2.87k|    len = strlen(s);
  293|       |    // gh-120155: 's' contains at least the trailing quote,
  294|       |    // so the code '--len' below is safe.
  295|  2.87k|    assert(len >= 1);
  296|       |
  297|  2.87k|    if (len > INT_MAX) {
  ------------------
  |  Branch (297:9): [True: 0, False: 2.87k]
  ------------------
  298|      0|        PyErr_SetString(PyExc_OverflowError, "string to parse is too long");
  299|      0|        return NULL;
  300|      0|    }
  301|  2.87k|    if (s[--len] != quote) {
  ------------------
  |  Branch (301:9): [True: 0, False: 2.87k]
  ------------------
  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|  2.87k|    if (len >= 4 && s[0] == quote && s[1] == quote) {
  ------------------
  |  Branch (306:9): [True: 2.46k, False: 412]
  |  Branch (306:21): [True: 614, False: 1.85k]
  |  Branch (306:38): [True: 614, 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|    614|        s += 2;
  311|    614|        len -= 2;
  312|       |        /* And check that the last two match. */
  313|    614|        if (s[--len] != quote || s[--len] != quote) {
  ------------------
  |  Branch (313:13): [True: 0, False: 614]
  |  Branch (313:34): [True: 0, False: 614]
  ------------------
  314|      0|            PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
  315|      0|            return NULL;
  316|      0|        }
  317|    614|    }
  318|       |
  319|       |    /* Avoid invoking escape decoding routines if possible. */
  320|  2.87k|    rawmode = rawmode || strchr(s, '\\') == NULL;
  ------------------
  |  Branch (320:15): [True: 15, False: 2.86k]
  |  Branch (320:26): [True: 2.75k, False: 108]
  ------------------
  321|  2.87k|    if (bytesmode) {
  ------------------
  |  Branch (321:9): [True: 18, False: 2.86k]
  ------------------
  322|       |        /* Disallow non-ASCII characters. */
  323|     18|        const char *ch;
  324|     45|        for (ch = s; *ch; ch++) {
  ------------------
  |  Branch (324:22): [True: 27, False: 18]
  ------------------
  325|     27|            if (Py_CHARMASK(*ch) >= 0x80) {
  ------------------
  |  |  138|     27|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
  |  Branch (325:17): [True: 0, False: 27]
  ------------------
  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|     27|        }
  333|     18|        if (rawmode) {
  ------------------
  |  Branch (333:13): [True: 14, False: 4]
  ------------------
  334|     14|            return PyBytes_FromStringAndSize(s, (Py_ssize_t)len);
  335|     14|        }
  336|      4|        return decode_bytes_with_escapes(p, s, (Py_ssize_t)len, t);
  337|     18|    }
  338|  2.86k|    return _PyPegen_decode_string(p, rawmode, s, len, t);
  339|  2.87k|}
string_parser.c:decode_unicode_with_escapes:
  136|    119|{
  137|    119|    PyObject *v;
  138|    119|    PyObject *u;
  139|    119|    char *buf;
  140|    119|    char *p;
  141|    119|    const char *end;
  142|       |
  143|       |    /* check for integer overflow */
  144|    119|    if (len > (size_t)PY_SSIZE_T_MAX / 6) {
  ------------------
  |  |  137|    119|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (144:9): [True: 0, False: 119]
  ------------------
  145|      0|        return NULL;
  146|      0|    }
  147|       |    /* "ä" (2 bytes) may become "\U000000E4" (10 bytes), or 1:5
  148|       |       "\ä" (3 bytes) may become "\u005c\U000000E4" (16 bytes), or ~1:6 */
  149|    119|    u = PyBytes_FromStringAndSize((char *)NULL, (Py_ssize_t)len * 6);
  150|    119|    if (u == NULL) {
  ------------------
  |  Branch (150:9): [True: 0, False: 119]
  ------------------
  151|      0|        return NULL;
  152|      0|    }
  153|    119|    p = buf = PyBytes_AsString(u);
  154|    119|    if (p == NULL) {
  ------------------
  |  Branch (154:9): [True: 0, False: 119]
  ------------------
  155|      0|        return NULL;
  156|      0|    }
  157|    119|    end = s + len;
  158|  3.69k|    while (s < end) {
  ------------------
  |  Branch (158:12): [True: 3.57k, False: 119]
  ------------------
  159|  3.57k|        if (*s == '\\') {
  ------------------
  |  Branch (159:13): [True: 126, False: 3.45k]
  ------------------
  160|    126|            *p++ = *s++;
  161|    126|            if (s >= end || *s & 0x80) {
  ------------------
  |  Branch (161:17): [True: 0, False: 126]
  |  Branch (161:29): [True: 0, False: 126]
  ------------------
  162|      0|                strcpy(p, "u005c");
  163|      0|                p += 5;
  164|      0|                if (s >= end) {
  ------------------
  |  Branch (164:21): [True: 0, False: 0]
  ------------------
  165|      0|                    break;
  166|      0|                }
  167|      0|            }
  168|    126|        }
  169|  3.57k|        if (*s & 0x80) {
  ------------------
  |  Branch (169:13): [True: 0, False: 3.57k]
  ------------------
  170|      0|            PyObject *w;
  171|      0|            int kind;
  172|      0|            const void *data;
  173|      0|            Py_ssize_t w_len;
  174|      0|            Py_ssize_t i;
  175|      0|            w = decode_utf8(&s, end);
  176|      0|            if (w == NULL) {
  ------------------
  |  Branch (176:17): [True: 0, False: 0]
  ------------------
  177|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  178|      0|                return NULL;
  179|      0|            }
  180|      0|            kind = PyUnicode_KIND(w);
  ------------------
  |  |  258|      0|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  181|      0|            data = PyUnicode_DATA(w);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  182|      0|            w_len = PyUnicode_GET_LENGTH(w);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  183|      0|            for (i = 0; i < w_len; i++) {
  ------------------
  |  Branch (183:25): [True: 0, False: 0]
  ------------------
  184|      0|                Py_UCS4 chr = 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))
  ------------------
  185|      0|                sprintf(p, "\\U%08x", chr);
  186|      0|                p += 10;
  187|      0|            }
  188|       |            /* Should be impossible to overflow */
  189|      0|            assert(p - buf <= PyBytes_GET_SIZE(u));
  190|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  191|      0|        }
  192|  3.57k|        else {
  193|  3.57k|            *p++ = *s++;
  194|  3.57k|        }
  195|  3.57k|    }
  196|    119|    len = (size_t)(p - buf);
  197|    119|    s = buf;
  198|       |
  199|    119|    int first_invalid_escape_char;
  200|    119|    const char *first_invalid_escape_ptr;
  201|    119|    v = _PyUnicode_DecodeUnicodeEscapeInternal2(s, (Py_ssize_t)len, NULL, NULL,
  202|    119|                                                &first_invalid_escape_char,
  203|    119|                                                &first_invalid_escape_ptr);
  204|       |
  205|       |    // HACK: later we can simply pass the line no, since we don't preserve the tokens
  206|       |    // when we are decoding the string but we preserve the line numbers.
  207|    119|    if (v != NULL && first_invalid_escape_ptr != NULL && t != NULL) {
  ------------------
  |  Branch (207:9): [True: 119, False: 0]
  |  Branch (207:22): [True: 0, False: 119]
  |  Branch (207:58): [True: 0, False: 0]
  ------------------
  208|      0|        if (warn_invalid_escape_sequence(parser, s, first_invalid_escape_ptr, t) < 0) {
  ------------------
  |  Branch (208:13): [True: 0, False: 0]
  ------------------
  209|       |            /* We have not decref u before because first_invalid_escape_ptr
  210|       |               points inside u. */
  211|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  212|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  213|      0|            return NULL;
  214|      0|        }
  215|      0|    }
  216|    119|    Py_XDECREF(u);
  ------------------
  |  |  524|    119|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    119|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    119|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  217|    119|    return v;
  218|    119|}
string_parser.c:decode_bytes_with_escapes:
  222|      4|{
  223|      4|    int first_invalid_escape_char;
  224|      4|    const char *first_invalid_escape_ptr;
  225|      4|    PyObject *result = _PyBytes_DecodeEscape2(s, len, NULL,
  226|      4|                                              &first_invalid_escape_char,
  227|      4|                                              &first_invalid_escape_ptr);
  228|      4|    if (result == NULL) {
  ------------------
  |  Branch (228:9): [True: 0, False: 4]
  ------------------
  229|      0|        return NULL;
  230|      0|    }
  231|       |
  232|      4|    if (first_invalid_escape_ptr != NULL) {
  ------------------
  |  Branch (232:9): [True: 0, False: 4]
  ------------------
  233|      0|        if (warn_invalid_escape_sequence(p, s, first_invalid_escape_ptr, t) < 0) {
  ------------------
  |  Branch (233:13): [True: 0, False: 0]
  ------------------
  234|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  235|      0|            return NULL;
  236|      0|        }
  237|      0|    }
  238|      4|    return result;
  239|      4|}

_PyToken_OneChar:
   85|   123k|{
   86|   123k|    switch (c1) {
  ------------------
  |  Branch (86:13): [True: 123k, False: 2]
  ------------------
   87|    396|    case '!': return EXCLAMATION;
  ------------------
  |  |   70|    396|#define EXCLAMATION     54
  ------------------
  |  Branch (87:5): [True: 396, False: 123k]
  ------------------
   88|    160|    case '%': return PERCENT;
  ------------------
  |  |   40|    160|#define PERCENT         24
  ------------------
  |  Branch (88:5): [True: 160, False: 123k]
  ------------------
   89|      3|    case '&': return AMPER;
  ------------------
  |  |   35|      3|#define AMPER           19
  ------------------
  |  Branch (89:5): [True: 3, False: 123k]
  ------------------
   90|  8.81k|    case '(': return LPAR;
  ------------------
  |  |   23|  8.81k|#define LPAR            7
  ------------------
  |  Branch (90:5): [True: 8.81k, False: 114k]
  ------------------
   91|  8.81k|    case ')': return RPAR;
  ------------------
  |  |   24|  8.81k|#define RPAR            8
  ------------------
  |  Branch (91:5): [True: 8.81k, False: 114k]
  ------------------
   92|    382|    case '*': return STAR;
  ------------------
  |  |   32|    382|#define STAR            16
  ------------------
  |  Branch (92:5): [True: 382, False: 123k]
  ------------------
   93|    198|    case '+': return PLUS;
  ------------------
  |  |   30|    198|#define PLUS            14
  ------------------
  |  Branch (93:5): [True: 198, False: 123k]
  ------------------
   94|  8.57k|    case ',': return COMMA;
  ------------------
  |  |   28|  8.57k|#define COMMA           12
  ------------------
  |  Branch (94:5): [True: 8.57k, False: 114k]
  ------------------
   95|    149|    case '-': return MINUS;
  ------------------
  |  |   31|    149|#define MINUS           15
  ------------------
  |  Branch (95:5): [True: 149, False: 123k]
  ------------------
   96|      0|    case '.': return DOT;
  ------------------
  |  |   39|      0|#define DOT             23
  ------------------
  |  Branch (96:5): [True: 0, False: 123k]
  ------------------
   97|     49|    case '/': return SLASH;
  ------------------
  |  |   33|     49|#define SLASH           17
  ------------------
  |  Branch (97:5): [True: 49, False: 123k]
  ------------------
   98|  33.1k|    case ':': return COLON;
  ------------------
  |  |   27|  33.1k|#define COLON           11
  ------------------
  |  Branch (98:5): [True: 33.1k, False: 90.3k]
  ------------------
   99|      0|    case ';': return SEMI;
  ------------------
  |  |   29|      0|#define SEMI            13
  ------------------
  |  Branch (99:5): [True: 0, False: 123k]
  ------------------
  100|  27.2k|    case '<': return LESS;
  ------------------
  |  |   36|  27.2k|#define LESS            20
  ------------------
  |  Branch (100:5): [True: 27.2k, False: 96.2k]
  ------------------
  101|  5.04k|    case '=': return EQUAL;
  ------------------
  |  |   38|  5.04k|#define EQUAL           22
  ------------------
  |  Branch (101:5): [True: 5.04k, False: 118k]
  ------------------
  102|  27.2k|    case '>': return GREATER;
  ------------------
  |  |   37|  27.2k|#define GREATER         21
  ------------------
  |  Branch (102:5): [True: 27.2k, False: 96.2k]
  ------------------
  103|    109|    case '@': return AT;
  ------------------
  |  |   65|    109|#define AT              49
  ------------------
  |  Branch (103:5): [True: 109, False: 123k]
  ------------------
  104|    672|    case '[': return LSQB;
  ------------------
  |  |   25|    672|#define LSQB            9
  ------------------
  |  Branch (104:5): [True: 672, False: 122k]
  ------------------
  105|    672|    case ']': return RSQB;
  ------------------
  |  |   26|    672|#define RSQB            10
  ------------------
  |  Branch (105:5): [True: 672, False: 122k]
  ------------------
  106|      0|    case '^': return CIRCUMFLEX;
  ------------------
  |  |   48|      0|#define CIRCUMFLEX      32
  ------------------
  |  Branch (106:5): [True: 0, False: 123k]
  ------------------
  107|    899|    case '{': return LBRACE;
  ------------------
  |  |   41|    899|#define LBRACE          25
  ------------------
  |  Branch (107:5): [True: 899, False: 122k]
  ------------------
  108|     39|    case '|': return VBAR;
  ------------------
  |  |   34|     39|#define VBAR            18
  ------------------
  |  Branch (108:5): [True: 39, False: 123k]
  ------------------
  109|    899|    case '}': return RBRACE;
  ------------------
  |  |   42|    899|#define RBRACE          26
  ------------------
  |  Branch (109:5): [True: 899, False: 122k]
  ------------------
  110|      2|    case '~': return TILDE;
  ------------------
  |  |   47|      2|#define TILDE           31
  ------------------
  |  Branch (110:5): [True: 2, False: 123k]
  ------------------
  111|   123k|    }
  112|      2|    return OP;
  ------------------
  |  |   71|      2|#define OP              55
  ------------------
  113|   123k|}
_PyToken_TwoChars:
  117|   124k|{
  118|   124k|    switch (c1) {
  ------------------
  |  Branch (118:13): [True: 95.1k, False: 29.3k]
  ------------------
  119|    463|    case '!':
  ------------------
  |  Branch (119:5): [True: 463, False: 124k]
  ------------------
  120|    463|        switch (c2) {
  ------------------
  |  Branch (120:17): [True: 67, False: 396]
  ------------------
  121|     67|        case '=': return NOTEQUAL;
  ------------------
  |  |   44|     67|#define NOTEQUAL        28
  ------------------
  |  Branch (121:9): [True: 67, False: 396]
  ------------------
  122|    463|        }
  123|    396|        break;
  124|    396|    case '%':
  ------------------
  |  Branch (124:5): [True: 160, False: 124k]
  ------------------
  125|    160|        switch (c2) {
  ------------------
  |  Branch (125:17): [True: 0, False: 160]
  ------------------
  126|      0|        case '=': return PERCENTEQUAL;
  ------------------
  |  |   56|      0|#define PERCENTEQUAL    40
  ------------------
  |  Branch (126:9): [True: 0, False: 160]
  ------------------
  127|    160|        }
  128|    160|        break;
  129|    160|    case '&':
  ------------------
  |  Branch (129:5): [True: 5, False: 124k]
  ------------------
  130|      5|        switch (c2) {
  ------------------
  |  Branch (130:17): [True: 2, False: 3]
  ------------------
  131|      2|        case '=': return AMPEREQUAL;
  ------------------
  |  |   57|      2|#define AMPEREQUAL      41
  ------------------
  |  Branch (131:9): [True: 2, False: 3]
  ------------------
  132|      5|        }
  133|      3|        break;
  134|    577|    case '*':
  ------------------
  |  Branch (134:5): [True: 577, False: 123k]
  ------------------
  135|    577|        switch (c2) {
  ------------------
  |  Branch (135:17): [True: 195, False: 382]
  ------------------
  136|    190|        case '*': return DOUBLESTAR;
  ------------------
  |  |   51|    190|#define DOUBLESTAR      35
  ------------------
  |  Branch (136:9): [True: 190, False: 387]
  ------------------
  137|      5|        case '=': return STAREQUAL;
  ------------------
  |  |   54|      5|#define STAREQUAL       38
  ------------------
  |  Branch (137:9): [True: 5, False: 572]
  ------------------
  138|    577|        }
  139|    382|        break;
  140|    382|    case '+':
  ------------------
  |  Branch (140:5): [True: 332, False: 124k]
  ------------------
  141|    332|        switch (c2) {
  ------------------
  |  Branch (141:17): [True: 134, False: 198]
  ------------------
  142|    134|        case '=': return PLUSEQUAL;
  ------------------
  |  |   52|    134|#define PLUSEQUAL       36
  ------------------
  |  Branch (142:9): [True: 134, False: 198]
  ------------------
  143|    332|        }
  144|    198|        break;
  145|    224|    case '-':
  ------------------
  |  Branch (145:5): [True: 224, False: 124k]
  ------------------
  146|    224|        switch (c2) {
  ------------------
  |  Branch (146:17): [True: 75, False: 149]
  ------------------
  147|     41|        case '=': return MINEQUAL;
  ------------------
  |  |   53|     41|#define MINEQUAL        37
  ------------------
  |  Branch (147:9): [True: 41, False: 183]
  ------------------
  148|     34|        case '>': return RARROW;
  ------------------
  |  |   67|     34|#define RARROW          51
  ------------------
  |  Branch (148:9): [True: 34, False: 190]
  ------------------
  149|    224|        }
  150|    149|        break;
  151|    149|    case '/':
  ------------------
  |  Branch (151:5): [True: 54, False: 124k]
  ------------------
  152|     54|        switch (c2) {
  ------------------
  |  Branch (152:17): [True: 5, False: 49]
  ------------------
  153|      5|        case '/': return DOUBLESLASH;
  ------------------
  |  |   63|      5|#define DOUBLESLASH     47
  ------------------
  |  Branch (153:9): [True: 5, False: 49]
  ------------------
  154|      0|        case '=': return SLASHEQUAL;
  ------------------
  |  |   55|      0|#define SLASHEQUAL      39
  ------------------
  |  Branch (154:9): [True: 0, False: 54]
  ------------------
  155|     54|        }
  156|     49|        break;
  157|  33.1k|    case ':':
  ------------------
  |  Branch (157:5): [True: 33.1k, False: 91.3k]
  ------------------
  158|  33.1k|        switch (c2) {
  ------------------
  |  Branch (158:17): [True: 5, False: 33.1k]
  ------------------
  159|      5|        case '=': return COLONEQUAL;
  ------------------
  |  |   69|      5|#define COLONEQUAL      53
  ------------------
  |  Branch (159:9): [True: 5, False: 33.1k]
  ------------------
  160|  33.1k|        }
  161|  33.1k|        break;
  162|  33.1k|    case '<':
  ------------------
  |  Branch (162:5): [True: 27.2k, False: 97.2k]
  ------------------
  163|  27.2k|        switch (c2) {
  ------------------
  |  Branch (163:17): [True: 41, False: 27.2k]
  ------------------
  164|      0|        case '<': return LEFTSHIFT;
  ------------------
  |  |   49|      0|#define LEFTSHIFT       33
  ------------------
  |  Branch (164:9): [True: 0, False: 27.2k]
  ------------------
  165|     41|        case '=': return LESSEQUAL;
  ------------------
  |  |   45|     41|#define LESSEQUAL       29
  ------------------
  |  Branch (165:9): [True: 41, False: 27.2k]
  ------------------
  166|      0|        case '>': return NOTEQUAL;
  ------------------
  |  |   44|      0|#define NOTEQUAL        28
  ------------------
  |  Branch (166:9): [True: 0, False: 27.2k]
  ------------------
  167|  27.2k|        }
  168|  27.2k|        break;
  169|  27.2k|    case '=':
  ------------------
  |  Branch (169:5): [True: 5.51k, False: 118k]
  ------------------
  170|  5.51k|        switch (c2) {
  ------------------
  |  Branch (170:17): [True: 470, False: 5.04k]
  ------------------
  171|    470|        case '=': return EQEQUAL;
  ------------------
  |  |   43|    470|#define EQEQUAL         27
  ------------------
  |  Branch (171:9): [True: 470, False: 5.04k]
  ------------------
  172|  5.51k|        }
  173|  5.04k|        break;
  174|  27.2k|    case '>':
  ------------------
  |  Branch (174:5): [True: 27.2k, False: 97.2k]
  ------------------
  175|  27.2k|        switch (c2) {
  ------------------
  |  Branch (175:17): [True: 28, False: 27.2k]
  ------------------
  176|     28|        case '=': return GREATEREQUAL;
  ------------------
  |  |   46|     28|#define GREATEREQUAL    30
  ------------------
  |  Branch (176:9): [True: 28, False: 27.2k]
  ------------------
  177|      0|        case '>': return RIGHTSHIFT;
  ------------------
  |  |   50|      0|#define RIGHTSHIFT      34
  ------------------
  |  Branch (177:9): [True: 0, False: 27.2k]
  ------------------
  178|  27.2k|        }
  179|  27.2k|        break;
  180|  27.2k|    case '@':
  ------------------
  |  Branch (180:5): [True: 109, False: 124k]
  ------------------
  181|    109|        switch (c2) {
  ------------------
  |  Branch (181:17): [True: 0, False: 109]
  ------------------
  182|      0|        case '=': return ATEQUAL;
  ------------------
  |  |   66|      0|#define ATEQUAL         50
  ------------------
  |  Branch (182:9): [True: 0, False: 109]
  ------------------
  183|    109|        }
  184|    109|        break;
  185|    109|    case '^':
  ------------------
  |  Branch (185:5): [True: 0, False: 124k]
  ------------------
  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|     41|    case '|':
  ------------------
  |  Branch (190:5): [True: 41, False: 124k]
  ------------------
  191|     41|        switch (c2) {
  ------------------
  |  Branch (191:17): [True: 2, False: 39]
  ------------------
  192|      2|        case '=': return VBAREQUAL;
  ------------------
  |  |   58|      2|#define VBAREQUAL       42
  ------------------
  |  Branch (192:9): [True: 2, False: 39]
  ------------------
  193|     41|        }
  194|     39|        break;
  195|   124k|    }
  196|   123k|    return OP;
  ------------------
  |  |   71|   123k|#define OP              55
  ------------------
  197|   124k|}
_PyToken_ThreeChars:
  201|  1.02k|{
  202|  1.02k|    switch (c1) {
  ------------------
  |  Branch (202:13): [True: 269, False: 755]
  ------------------
  203|    195|    case '*':
  ------------------
  |  Branch (203:5): [True: 195, False: 829]
  ------------------
  204|    195|        switch (c2) {
  ------------------
  |  Branch (204:17): [True: 190, False: 5]
  ------------------
  205|    190|        case '*':
  ------------------
  |  Branch (205:9): [True: 190, False: 5]
  ------------------
  206|    190|            switch (c3) {
  ------------------
  |  Branch (206:21): [True: 0, False: 190]
  ------------------
  207|      0|            case '=': return DOUBLESTAREQUAL;
  ------------------
  |  |   62|      0|#define DOUBLESTAREQUAL 46
  ------------------
  |  Branch (207:13): [True: 0, False: 190]
  ------------------
  208|    190|            }
  209|    190|            break;
  210|    195|        }
  211|    195|        break;
  212|    195|    case '.':
  ------------------
  |  Branch (212:5): [True: 0, False: 1.02k]
  ------------------
  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|      5|    case '/':
  ------------------
  |  Branch (221:5): [True: 5, False: 1.01k]
  ------------------
  222|      5|        switch (c2) {
  ------------------
  |  Branch (222:17): [True: 5, False: 0]
  ------------------
  223|      5|        case '/':
  ------------------
  |  Branch (223:9): [True: 5, False: 0]
  ------------------
  224|      5|            switch (c3) {
  ------------------
  |  Branch (224:21): [True: 0, False: 5]
  ------------------
  225|      0|            case '=': return DOUBLESLASHEQUAL;
  ------------------
  |  |   64|      0|#define DOUBLESLASHEQUAL 48
  ------------------
  |  Branch (225:13): [True: 0, False: 5]
  ------------------
  226|      5|            }
  227|      5|            break;
  228|      5|        }
  229|      5|        break;
  230|     41|    case '<':
  ------------------
  |  Branch (230:5): [True: 41, False: 983]
  ------------------
  231|     41|        switch (c2) {
  ------------------
  |  Branch (231:17): [True: 0, False: 41]
  ------------------
  232|      0|        case '<':
  ------------------
  |  Branch (232:9): [True: 0, False: 41]
  ------------------
  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|     41|        }
  238|     41|        break;
  239|     41|    case '>':
  ------------------
  |  Branch (239:5): [True: 28, False: 996]
  ------------------
  240|     28|        switch (c2) {
  ------------------
  |  Branch (240:17): [True: 0, False: 28]
  ------------------
  241|      0|        case '>':
  ------------------
  |  Branch (241:9): [True: 0, False: 28]
  ------------------
  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|     28|        }
  247|     28|        break;
  248|  1.02k|    }
  249|  1.02k|    return OP;
  ------------------
  |  |   71|  1.02k|#define OP              55
  ------------------
  250|  1.02k|}

_PyTokenizer_new_string:
  192|  27.3k|{
  193|  27.3k|    char* result = (char *)PyMem_Malloc(len + 1);
  194|  27.3k|    if (!result) {
  ------------------
  |  Branch (194:9): [True: 0, False: 27.3k]
  ------------------
  195|      0|        tok->done = E_NOMEM;
  ------------------
  |  |   27|      0|#define E_NOMEM          15      /* Ran out of memory */
  ------------------
  196|      0|        return NULL;
  197|      0|    }
  198|  27.3k|    memcpy(result, s, len);
  199|  27.3k|    result[len] = '\0';
  200|  27.3k|    return result;
  201|  27.3k|}
_PyTokenizer_translate_newlines:
  216|  27.4k|                   struct tok_state *tok) {
  217|  27.4k|    int skip_next_lf = 0;
  218|  27.4k|    size_t needed_length = strlen(s) + 2, final_length;
  219|  27.4k|    char *buf, *current;
  220|  27.4k|    char c = '\0';
  221|  27.4k|    buf = PyMem_Malloc(needed_length);
  222|  27.4k|    if (buf == NULL) {
  ------------------
  |  Branch (222:9): [True: 0, False: 27.4k]
  ------------------
  223|      0|        tok->done = E_NOMEM;
  ------------------
  |  |   27|      0|#define E_NOMEM          15      /* Ran out of memory */
  ------------------
  224|      0|        return NULL;
  225|      0|    }
  226|  1.48M|    for (current = buf; *s; s++, current++) {
  ------------------
  |  Branch (226:25): [True: 1.46M, False: 27.4k]
  ------------------
  227|  1.46M|        c = *s;
  228|  1.46M|        if (skip_next_lf) {
  ------------------
  |  Branch (228:13): [True: 0, False: 1.46M]
  ------------------
  229|      0|            skip_next_lf = 0;
  230|      0|            if (c == '\n') {
  ------------------
  |  Branch (230:17): [True: 0, False: 0]
  ------------------
  231|      0|                c = *++s;
  232|      0|                if (!c)
  ------------------
  |  Branch (232:21): [True: 0, False: 0]
  ------------------
  233|      0|                    break;
  234|      0|            }
  235|      0|        }
  236|  1.46M|        if (!preserve_crlf && c == '\r') {
  ------------------
  |  Branch (236:13): [True: 1.46M, False: 0]
  |  Branch (236:31): [True: 0, False: 1.46M]
  ------------------
  237|      0|            skip_next_lf = 1;
  238|      0|            c = '\n';
  239|      0|        }
  240|  1.46M|        *current = c;
  241|  1.46M|    }
  242|       |    /* If this is exec input, add a newline to the end of the string if
  243|       |       there isn't one already. */
  244|  27.4k|    if (exec_input && c != '\n' && c != '\0') {
  ------------------
  |  Branch (244:9): [True: 27.3k, False: 78]
  |  Branch (244:23): [True: 27.2k, False: 146]
  |  Branch (244:36): [True: 27.2k, False: 0]
  ------------------
  245|  27.2k|        *current = '\n';
  246|  27.2k|        current++;
  247|  27.2k|    }
  248|  27.4k|    *current = '\0';
  249|  27.4k|    final_length = current - buf + 1;
  250|  27.4k|    if (final_length < needed_length && final_length) {
  ------------------
  |  Branch (250:9): [True: 224, False: 27.2k]
  |  Branch (250:41): [True: 224, False: 0]
  ------------------
  251|       |        /* should never fail */
  252|    224|        char* result = PyMem_Realloc(buf, final_length);
  253|    224|        if (result == NULL) {
  ------------------
  |  Branch (253:13): [True: 0, False: 224]
  ------------------
  254|      0|            PyMem_Free(buf);
  255|      0|        }
  256|    224|        buf = result;
  257|    224|    }
  258|  27.4k|    return buf;
  259|  27.4k|}
_PyTokenizer_check_bom:
  272|     51|{
  273|     51|    int ch1, ch2, ch3;
  274|     51|    ch1 = get_char(tok);
  275|     51|    tok->decoding_state = STATE_SEEK_CODING;
  276|     51|    if (ch1 == EOF) {
  ------------------
  |  Branch (276:9): [True: 0, False: 51]
  ------------------
  277|      0|        return 1;
  278|     51|    } else if (ch1 == 0xEF) {
  ------------------
  |  Branch (278:16): [True: 0, False: 51]
  ------------------
  279|      0|        ch2 = get_char(tok);
  280|      0|        if (ch2 != 0xBB) {
  ------------------
  |  Branch (280:13): [True: 0, False: 0]
  ------------------
  281|      0|            unget_char(ch2, tok);
  282|      0|            unget_char(ch1, tok);
  283|      0|            return 1;
  284|      0|        }
  285|      0|        ch3 = get_char(tok);
  286|      0|        if (ch3 != 0xBF) {
  ------------------
  |  Branch (286:13): [True: 0, False: 0]
  ------------------
  287|      0|            unget_char(ch3, tok);
  288|      0|            unget_char(ch2, tok);
  289|      0|            unget_char(ch1, tok);
  290|      0|            return 1;
  291|      0|        }
  292|     51|    } else {
  293|     51|        unget_char(ch1, tok);
  294|     51|        return 1;
  295|     51|    }
  296|      0|    if (tok->encoding != NULL)
  ------------------
  |  Branch (296:9): [True: 0, False: 0]
  ------------------
  297|      0|        PyMem_Free(tok->encoding);
  298|      0|    tok->encoding = _PyTokenizer_new_string("utf-8", 5, tok);
  299|      0|    if (!tok->encoding)
  ------------------
  |  Branch (299:9): [True: 0, False: 0]
  ------------------
  300|      0|        return 0;
  301|       |    /* No need to set_readline: input is already utf-8 */
  302|      0|    return 1;
  303|      0|}
_PyTokenizer_check_coding_spec:
  391|     58|{
  392|     58|    char *cs;
  393|     58|    if (tok->cont_line) {
  ------------------
  |  Branch (393:9): [True: 0, False: 58]
  ------------------
  394|       |        /* It's a continuation line, so it can't be a coding spec. */
  395|      0|        tok->decoding_state = STATE_NORMAL;
  396|      0|        return 1;
  397|      0|    }
  398|     58|    if (!get_coding_spec(line, &cs, size, tok)) {
  ------------------
  |  Branch (398:9): [True: 0, False: 58]
  ------------------
  399|      0|        return 0;
  400|      0|    }
  401|     58|    if (!cs) {
  ------------------
  |  Branch (401:9): [True: 58, False: 0]
  ------------------
  402|     58|        Py_ssize_t i;
  403|     58|        for (i = 0; i < size; i++) {
  ------------------
  |  Branch (403:21): [True: 58, False: 0]
  ------------------
  404|     58|            if (line[i] == '#' || line[i] == '\n' || line[i] == '\r')
  ------------------
  |  Branch (404:17): [True: 15, False: 43]
  |  Branch (404:35): [True: 0, False: 43]
  |  Branch (404:54): [True: 0, False: 43]
  ------------------
  405|     15|                break;
  406|     43|            if (line[i] != ' ' && line[i] != '\t' && line[i] != '\014') {
  ------------------
  |  Branch (406:17): [True: 43, False: 0]
  |  Branch (406:35): [True: 43, False: 0]
  |  Branch (406:54): [True: 43, False: 0]
  ------------------
  407|       |                /* Stop checking coding spec after a line containing
  408|       |                 * anything except a comment. */
  409|     43|                tok->decoding_state = STATE_NORMAL;
  410|     43|                break;
  411|     43|            }
  412|     43|        }
  413|     58|        return 1;
  414|     58|    }
  415|      0|    tok->decoding_state = STATE_NORMAL;
  416|      0|    if (tok->encoding == NULL) {
  ------------------
  |  Branch (416:9): [True: 0, False: 0]
  ------------------
  417|      0|        assert(tok->decoding_readline == NULL);
  418|      0|        if (strcmp(cs, "utf-8") != 0 && !set_readline(tok, cs)) {
  ------------------
  |  Branch (418:13): [True: 0, False: 0]
  |  Branch (418:41): [True: 0, False: 0]
  ------------------
  419|      0|            _PyTokenizer_error_ret(tok);
  420|      0|            PyErr_Format(PyExc_SyntaxError, "encoding problem: %s", cs);
  421|      0|            PyMem_Free(cs);
  422|      0|            return 0;
  423|      0|        }
  424|      0|        tok->encoding = cs;
  425|      0|    } else {                /* then, compare cs with BOM */
  426|      0|        if (strcmp(tok->encoding, cs) != 0) {
  ------------------
  |  Branch (426:13): [True: 0, False: 0]
  ------------------
  427|      0|            tok->line_start = line;
  428|      0|            tok->cur = (char *)line;
  429|      0|            assert(size <= INT_MAX);
  430|      0|            _PyTokenizer_syntaxerror_known_range(tok, 0, (int)size,
  431|      0|                        "encoding problem: %s with BOM", cs);
  432|      0|            PyMem_Free(cs);
  433|      0|            _PyTokenizer_error_ret(tok);
  434|      0|            return 0;
  435|      0|        }
  436|      0|        PyMem_Free(cs);
  437|      0|    }
  438|      0|    return 1;
  439|      0|}
_PyTokenizer_ensure_utf8:
  507|    219|{
  508|    219|    const char *badchar = NULL;
  509|    219|    const char *c;
  510|    219|    int length;
  511|    219|    int col_offset = 0;
  512|    219|    const char *line_start = line;
  513|   856k|    for (c = line; *c; c += length) {
  ------------------
  |  Branch (513:20): [True: 856k, False: 219]
  ------------------
  514|   856k|        if (!(length = valid_utf8((const unsigned char *)c))) {
  ------------------
  |  Branch (514:13): [True: 0, False: 856k]
  ------------------
  515|      0|            badchar = c;
  516|      0|            break;
  517|      0|        }
  518|   856k|        col_offset++;
  519|   856k|        if (*c == '\n') {
  ------------------
  |  Branch (519:13): [True: 23.6k, False: 832k]
  ------------------
  520|  23.6k|            lineno++;
  521|  23.6k|            col_offset = 0;
  522|  23.6k|            line_start = c + 1;
  523|  23.6k|        }
  524|   856k|    }
  525|    219|    if (badchar) {
  ------------------
  |  Branch (525:9): [True: 0, False: 219]
  ------------------
  526|      0|        tok->lineno = lineno;
  527|      0|        tok->line_start = line_start;
  528|      0|        tok->cur = (char *)badchar;
  529|      0|        _PyTokenizer_syntaxerror_known_range(tok,
  530|      0|                col_offset + 1, col_offset + 1,
  531|      0|                "Non-UTF-8 code starting with '\\x%.2x'"
  532|      0|                "%s%V on line %i, "
  533|      0|                "but no encoding declared; "
  534|      0|                "see https://peps.python.org/pep-0263/ for details",
  535|      0|                (unsigned char)*badchar,
  536|      0|                tok->filename ? " in file " : "", tok->filename, "",
  ------------------
  |  Branch (536:17): [True: 0, False: 0]
  ------------------
  537|      0|                lineno);
  538|      0|        return 0;
  539|      0|    }
  540|    219|    return 1;
  541|    219|}
helpers.c:get_coding_spec:
  337|     58|{
  338|     58|    Py_ssize_t i;
  339|     58|    *spec = NULL;
  340|       |    /* Coding spec must be in a comment, and that comment must be
  341|       |     * the only statement on the source code line. */
  342|     58|    for (i = 0; i < size - 6; i++) {
  ------------------
  |  Branch (342:17): [True: 56, False: 2]
  ------------------
  343|     56|        if (s[i] == '#')
  ------------------
  |  Branch (343:13): [True: 15, False: 41]
  ------------------
  344|     15|            break;
  345|     41|        if (s[i] != ' ' && s[i] != '\t' && s[i] != '\014')
  ------------------
  |  Branch (345:13): [True: 41, False: 0]
  |  Branch (345:28): [True: 41, False: 0]
  |  Branch (345:44): [True: 41, False: 0]
  ------------------
  346|     41|            return 1;
  347|     41|    }
  348|    604|    for (; i < size - 6; i++) { /* XXX inefficient search */
  ------------------
  |  Branch (348:12): [True: 587, False: 17]
  ------------------
  349|    587|        const char* t = s + i;
  350|    587|        if (memcmp(t, "coding", 6) == 0) {
  ------------------
  |  Branch (350:13): [True: 0, False: 587]
  ------------------
  351|      0|            const char* begin = NULL;
  352|      0|            t += 6;
  353|      0|            if (t[0] != ':' && t[0] != '=')
  ------------------
  |  Branch (353:17): [True: 0, False: 0]
  |  Branch (353:32): [True: 0, False: 0]
  ------------------
  354|      0|                continue;
  355|      0|            do {
  356|      0|                t++;
  357|      0|            } while (t[0] == ' ' || t[0] == '\t');
  ------------------
  |  Branch (357:22): [True: 0, False: 0]
  |  Branch (357:37): [True: 0, False: 0]
  ------------------
  358|       |
  359|      0|            begin = t;
  360|      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]
  |  |  ------------------
  ------------------
  361|      0|                   t[0] == '-' || t[0] == '_' || t[0] == '.')
  ------------------
  |  Branch (361:20): [True: 0, False: 0]
  |  Branch (361:35): [True: 0, False: 0]
  |  Branch (361:50): [True: 0, False: 0]
  ------------------
  362|      0|                t++;
  363|       |
  364|      0|            if (begin < t) {
  ------------------
  |  Branch (364:17): [True: 0, False: 0]
  ------------------
  365|      0|                char* r = _PyTokenizer_new_string(begin, t - begin, tok);
  366|      0|                const char* q;
  367|      0|                if (!r)
  ------------------
  |  Branch (367:21): [True: 0, False: 0]
  ------------------
  368|      0|                    return 0;
  369|      0|                q = get_normal_name(r);
  370|      0|                if (r != q) {
  ------------------
  |  Branch (370:21): [True: 0, False: 0]
  ------------------
  371|      0|                    PyMem_Free(r);
  372|      0|                    r = _PyTokenizer_new_string(q, strlen(q), tok);
  373|      0|                    if (!r)
  ------------------
  |  Branch (373:25): [True: 0, False: 0]
  ------------------
  374|      0|                        return 0;
  375|      0|                }
  376|      0|                *spec = r;
  377|      0|                break;
  378|      0|            }
  379|      0|        }
  380|    587|    }
  381|     17|    return 1;
  382|     17|}
helpers.c:valid_utf8:
  448|   856k|{
  449|   856k|    int expected = 0;
  450|   856k|    int length;
  451|   856k|    if (*s < 0x80) {
  ------------------
  |  Branch (451:9): [True: 856k, False: 0]
  ------------------
  452|       |        /* single-byte code */
  453|   856k|        return 1;
  454|   856k|    }
  455|      0|    else if (*s < 0xE0) {
  ------------------
  |  Branch (455:14): [True: 0, False: 0]
  ------------------
  456|       |        /* \xC2\x80-\xDF\xBF -- 0080-07FF */
  457|      0|        if (*s < 0xC2) {
  ------------------
  |  Branch (457:13): [True: 0, False: 0]
  ------------------
  458|       |            /* invalid sequence
  459|       |               \x80-\xBF -- continuation byte
  460|       |               \xC0-\xC1 -- fake 0000-007F */
  461|      0|            return 0;
  462|      0|        }
  463|      0|        expected = 1;
  464|      0|    }
  465|      0|    else if (*s < 0xF0) {
  ------------------
  |  Branch (465:14): [True: 0, False: 0]
  ------------------
  466|       |        /* \xE0\xA0\x80-\xEF\xBF\xBF -- 0800-FFFF */
  467|      0|        if (*s == 0xE0 && *(s + 1) < 0xA0) {
  ------------------
  |  Branch (467:13): [True: 0, False: 0]
  |  Branch (467:27): [True: 0, False: 0]
  ------------------
  468|       |            /* invalid sequence
  469|       |               \xE0\x80\x80-\xE0\x9F\xBF -- fake 0000-0800 */
  470|      0|            return 0;
  471|      0|        }
  472|      0|        else if (*s == 0xED && *(s + 1) >= 0xA0) {
  ------------------
  |  Branch (472:18): [True: 0, False: 0]
  |  Branch (472:32): [True: 0, False: 0]
  ------------------
  473|       |            /* Decoding UTF-8 sequences in range \xED\xA0\x80-\xED\xBF\xBF
  474|       |               will result in surrogates in range D800-DFFF. Surrogates are
  475|       |               not valid UTF-8 so they are rejected.
  476|       |               See https://www.unicode.org/versions/Unicode5.2.0/ch03.pdf
  477|       |               (table 3-7) and http://www.rfc-editor.org/rfc/rfc3629.txt */
  478|      0|            return 0;
  479|      0|        }
  480|      0|        expected = 2;
  481|      0|    }
  482|      0|    else if (*s < 0xF5) {
  ------------------
  |  Branch (482:14): [True: 0, False: 0]
  ------------------
  483|       |        /* \xF0\x90\x80\x80-\xF4\x8F\xBF\xBF -- 10000-10FFFF */
  484|      0|        if (*(s + 1) < 0x90 ? *s == 0xF0 : *s == 0xF4) {
  ------------------
  |  Branch (484:13): [True: 0, False: 0]
  |  Branch (484:13): [True: 0, False: 0]
  ------------------
  485|       |            /* invalid sequence -- one of:
  486|       |               \xF0\x80\x80\x80-\xF0\x8F\xBF\xBF -- fake 0000-FFFF
  487|       |               \xF4\x90\x80\x80- -- 110000- overflow */
  488|      0|            return 0;
  489|      0|        }
  490|      0|        expected = 3;
  491|      0|    }
  492|      0|    else {
  493|       |        /* invalid start byte */
  494|      0|        return 0;
  495|      0|    }
  496|      0|    length = expected + 1;
  497|      0|    for (int i = 1; i <= expected; i++) {
  ------------------
  |  Branch (497:21): [True: 0, False: 0]
  ------------------
  498|      0|        if (s[i] < 0x80 || s[i] >= 0xC0) {
  ------------------
  |  Branch (498:13): [True: 0, False: 0]
  |  Branch (498:28): [True: 0, False: 0]
  ------------------
  499|      0|            return 0;
  500|      0|        }
  501|      0|    }
  502|      0|    return length;
  503|      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|        return NULL;
  118|      0|    }
  119|     10|    tok->cur = tok->inp = tok->buf;
  120|     10|    tok->end = tok->buf + BUFSIZ;
  121|     10|    tok->fp = NULL;
  122|     10|    if (enc != NULL) {
  ------------------
  |  Branch (122:9): [True: 2, False: 8]
  ------------------
  123|      2|        tok->encoding = _PyTokenizer_new_string(enc, strlen(enc), tok);
  124|      2|        if (!tok->encoding) {
  ------------------
  |  Branch (124:13): [True: 0, False: 2]
  ------------------
  125|      0|            _PyTokenizer_Free(tok);
  126|      0|            return NULL;
  127|      0|        }
  128|      2|    }
  129|     10|    tok->decoding_state = STATE_NORMAL;
  130|     10|    tok->underflow = &tok_underflow_readline;
  131|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  132|     10|    tok->readline = readline;
  133|     10|    return tok;
  134|     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|     51|{
  133|     51|    struct tok_state *tok = _PyTokenizer_tok_new();
  134|     51|    char *decoded;
  135|       |
  136|     51|    if (tok == NULL)
  ------------------
  |  Branch (136:9): [True: 0, False: 51]
  ------------------
  137|      0|        return NULL;
  138|     51|    decoded = decode_str(str, exec_input, tok, preserve_crlf);
  139|     51|    if (decoded == NULL) {
  ------------------
  |  Branch (139:9): [True: 0, False: 51]
  ------------------
  140|      0|        _PyTokenizer_Free(tok);
  141|      0|        return NULL;
  142|      0|    }
  143|       |
  144|     51|    tok->buf = tok->cur = tok->inp = decoded;
  145|     51|    tok->end = decoded;
  146|     51|    tok->underflow = &tok_underflow_string;
  147|     51|    return tok;
  148|     51|}
string_tokenizer.c:decode_str:
   55|     51|{
   56|     51|    PyObject* utf8 = NULL;
   57|     51|    char *str;
   58|     51|    const char *s;
   59|     51|    const char *newl[2] = {NULL, NULL};
   60|     51|    int lineno = 0;
   61|     51|    tok->input = str = _PyTokenizer_translate_newlines(input, single, preserve_crlf, tok);
   62|     51|    if (str == NULL)
  ------------------
  |  Branch (62:9): [True: 0, False: 51]
  ------------------
   63|      0|        return NULL;
   64|     51|    tok->enc = NULL;
   65|     51|    tok->str = str;
   66|     51|    if (!_PyTokenizer_check_bom(buf_getc, buf_ungetc, buf_setreadl, tok))
  ------------------
  |  Branch (66:9): [True: 0, False: 51]
  ------------------
   67|      0|        return _PyTokenizer_error_ret(tok);
   68|     51|    str = tok->str;             /* string after BOM if any */
   69|     51|    assert(str);
   70|     51|    if (tok->enc != NULL) {
  ------------------
  |  Branch (70:9): [True: 0, False: 51]
  ------------------
   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|  2.53k|    for (s = str;; s++) {
   77|  2.53k|        if (*s == '\0') break;
  ------------------
  |  Branch (77:13): [True: 1, False: 2.52k]
  ------------------
   78|  2.52k|        else if (*s == '\n') {
  ------------------
  |  Branch (78:18): [True: 101, False: 2.42k]
  ------------------
   79|    101|            assert(lineno < 2);
   80|    101|            newl[lineno] = s;
   81|    101|            lineno++;
   82|    101|            if (lineno == 2) break;
  ------------------
  |  Branch (82:17): [True: 50, False: 51]
  ------------------
   83|    101|        }
   84|  2.53k|    }
   85|     51|    tok->enc = NULL;
   86|       |    /* need to check line 1 and 2 separately since check_coding_spec
   87|       |       assumes a single line as input */
   88|     51|    if (newl[0]) {
  ------------------
  |  Branch (88:9): [True: 51, False: 0]
  ------------------
   89|     51|        tok->lineno = 1;
   90|     51|        if (!_PyTokenizer_check_coding_spec(str, newl[0] - str, tok, buf_setreadl)) {
  ------------------
  |  Branch (90:13): [True: 0, False: 51]
  ------------------
   91|      0|            return NULL;
   92|      0|        }
   93|     51|        if (tok->enc == NULL && tok->decoding_state != STATE_NORMAL && newl[1]) {
  ------------------
  |  Branch (93:13): [True: 51, False: 0]
  |  Branch (93:33): [True: 8, False: 43]
  |  Branch (93:72): [True: 7, False: 1]
  ------------------
   94|      7|            tok->lineno = 2;
   95|      7|            if (!_PyTokenizer_check_coding_spec(newl[0]+1, newl[1] - newl[0],
  ------------------
  |  Branch (95:17): [True: 0, False: 7]
  ------------------
   96|      7|                                   tok, buf_setreadl))
   97|      0|                return NULL;
   98|      7|        }
   99|     51|    }
  100|     51|    tok->lineno = 0;
  101|     51|    if (tok->enc != NULL) {
  ------------------
  |  Branch (101:9): [True: 0, False: 51]
  ------------------
  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|     51|    else if (!_PyTokenizer_ensure_utf8(str, tok, 1)) {
  ------------------
  |  Branch (108:14): [True: 0, False: 51]
  ------------------
  109|      0|        return _PyTokenizer_error_ret(tok);
  110|      0|    }
  111|     51|    if (utf8 != NULL) {
  ------------------
  |  Branch (111:9): [True: 0, False: 51]
  ------------------
  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|     51|    tok->str = str;
  124|       |    assert(tok->decoding_buffer == NULL);
  125|     51|    tok->decoding_buffer = utf8; /* CAUTION */
  126|     51|    return str;
  127|     51|}
string_tokenizer.c:buf_getc:
   31|     51|buf_getc(struct tok_state *tok) {
   32|     51|    return Py_CHARMASK(*tok->str++);
  ------------------
  |  |  138|     51|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
   33|     51|}
string_tokenizer.c:buf_ungetc:
   37|     51|buf_ungetc(int c, struct tok_state *tok) {
   38|     51|    tok->str--;
   39|       |    assert(Py_CHARMASK(*tok->str) == c);        /* tok->cur may point to read-only segment */
   40|     51|}
string_tokenizer.c:tok_underflow_string:
    8|  23.4k|tok_underflow_string(struct tok_state *tok) {
    9|  23.4k|    char *end = strchr(tok->inp, '\n');
   10|  23.4k|    if (end != NULL) {
  ------------------
  |  Branch (10:9): [True: 23.4k, False: 51]
  ------------------
   11|  23.4k|        end++;
   12|  23.4k|    }
   13|     51|    else {
   14|     51|        end = strchr(tok->inp, '\0');
   15|     51|        if (end == tok->inp) {
  ------------------
  |  Branch (15:13): [True: 51, False: 0]
  ------------------
   16|     51|            tok->done = E_EOF;
  ------------------
  |  |   23|     51|#define E_EOF            11      /* End Of File */
  ------------------
   17|     51|            return 0;
   18|     51|        }
   19|     51|    }
   20|  23.4k|    if (tok->start == NULL) {
  ------------------
  |  Branch (20:9): [True: 19.6k, False: 3.74k]
  ------------------
   21|  19.6k|        tok->buf = tok->cur;
   22|  19.6k|    }
   23|  23.4k|    tok->line_start = tok->cur;
   24|  23.4k|    ADVANCE_LINENO();
  ------------------
  |  |    9|  23.4k|            tok->lineno++; \
  |  |   10|  23.4k|            tok->col_offset = 0;
  ------------------
   25|  23.4k|    tok->inp = end;
   26|  23.4k|    return 1;
   27|  23.4k|}

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

_PyAST_Module:
 6998|    192|{
 6999|    192|    mod_ty p;
 7000|    192|    p = (mod_ty)_PyArena_Malloc(arena, sizeof(*p));
 7001|    192|    if (!p)
  ------------------
  |  Branch (7001:9): [True: 0, False: 192]
  ------------------
 7002|      0|        return NULL;
 7003|    192|    p->kind = Module_kind;
 7004|    192|    p->v.Module.body = body;
 7005|    192|    p->v.Module.type_ignores = type_ignores;
 7006|    192|    return p;
 7007|    192|}
_PyAST_Expression:
 7023|     78|{
 7024|     78|    mod_ty p;
 7025|     78|    if (!body) {
  ------------------
  |  Branch (7025:9): [True: 0, False: 78]
  ------------------
 7026|      0|        PyErr_SetString(PyExc_ValueError,
 7027|      0|                        "field 'body' is required for Expression");
 7028|      0|        return NULL;
 7029|      0|    }
 7030|     78|    p = (mod_ty)_PyArena_Malloc(arena, sizeof(*p));
 7031|     78|    if (!p)
  ------------------
  |  Branch (7031:9): [True: 0, False: 78]
  ------------------
 7032|      0|        return NULL;
 7033|     78|    p->kind = Expression_kind;
 7034|     78|    p->v.Expression.body = body;
 7035|     78|    return p;
 7036|     78|}
_PyAST_FunctionDef:
 7062|  1.82k|{
 7063|  1.82k|    stmt_ty p;
 7064|  1.82k|    if (!name) {
  ------------------
  |  Branch (7064:9): [True: 0, False: 1.82k]
  ------------------
 7065|      0|        PyErr_SetString(PyExc_ValueError,
 7066|      0|                        "field 'name' is required for FunctionDef");
 7067|      0|        return NULL;
 7068|      0|    }
 7069|  1.82k|    if (!args) {
  ------------------
  |  Branch (7069:9): [True: 0, False: 1.82k]
  ------------------
 7070|      0|        PyErr_SetString(PyExc_ValueError,
 7071|      0|                        "field 'args' is required for FunctionDef");
 7072|      0|        return NULL;
 7073|      0|    }
 7074|  1.82k|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7075|  1.82k|    if (!p)
  ------------------
  |  Branch (7075:9): [True: 0, False: 1.82k]
  ------------------
 7076|      0|        return NULL;
 7077|  1.82k|    p->kind = FunctionDef_kind;
 7078|  1.82k|    p->v.FunctionDef.name = name;
 7079|  1.82k|    p->v.FunctionDef.args = args;
 7080|  1.82k|    p->v.FunctionDef.body = body;
 7081|  1.82k|    p->v.FunctionDef.decorator_list = decorator_list;
 7082|  1.82k|    p->v.FunctionDef.returns = returns;
 7083|  1.82k|    p->v.FunctionDef.type_comment = type_comment;
 7084|  1.82k|    p->v.FunctionDef.type_params = type_params;
 7085|  1.82k|    p->lineno = lineno;
 7086|  1.82k|    p->col_offset = col_offset;
 7087|  1.82k|    p->end_lineno = end_lineno;
 7088|  1.82k|    p->end_col_offset = end_col_offset;
 7089|  1.82k|    return p;
 7090|  1.82k|}
_PyAST_AsyncFunctionDef:
 7098|    137|{
 7099|    137|    stmt_ty p;
 7100|    137|    if (!name) {
  ------------------
  |  Branch (7100:9): [True: 0, False: 137]
  ------------------
 7101|      0|        PyErr_SetString(PyExc_ValueError,
 7102|      0|                        "field 'name' is required for AsyncFunctionDef");
 7103|      0|        return NULL;
 7104|      0|    }
 7105|    137|    if (!args) {
  ------------------
  |  Branch (7105:9): [True: 0, False: 137]
  ------------------
 7106|      0|        PyErr_SetString(PyExc_ValueError,
 7107|      0|                        "field 'args' is required for AsyncFunctionDef");
 7108|      0|        return NULL;
 7109|      0|    }
 7110|    137|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7111|    137|    if (!p)
  ------------------
  |  Branch (7111:9): [True: 0, False: 137]
  ------------------
 7112|      0|        return NULL;
 7113|    137|    p->kind = AsyncFunctionDef_kind;
 7114|    137|    p->v.AsyncFunctionDef.name = name;
 7115|    137|    p->v.AsyncFunctionDef.args = args;
 7116|    137|    p->v.AsyncFunctionDef.body = body;
 7117|    137|    p->v.AsyncFunctionDef.decorator_list = decorator_list;
 7118|    137|    p->v.AsyncFunctionDef.returns = returns;
 7119|    137|    p->v.AsyncFunctionDef.type_comment = type_comment;
 7120|    137|    p->v.AsyncFunctionDef.type_params = type_params;
 7121|    137|    p->lineno = lineno;
 7122|    137|    p->col_offset = col_offset;
 7123|    137|    p->end_lineno = end_lineno;
 7124|    137|    p->end_col_offset = end_col_offset;
 7125|    137|    return p;
 7126|    137|}
_PyAST_ClassDef:
 7133|    151|{
 7134|    151|    stmt_ty p;
 7135|    151|    if (!name) {
  ------------------
  |  Branch (7135:9): [True: 0, False: 151]
  ------------------
 7136|      0|        PyErr_SetString(PyExc_ValueError,
 7137|      0|                        "field 'name' is required for ClassDef");
 7138|      0|        return NULL;
 7139|      0|    }
 7140|    151|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7141|    151|    if (!p)
  ------------------
  |  Branch (7141:9): [True: 0, False: 151]
  ------------------
 7142|      0|        return NULL;
 7143|    151|    p->kind = ClassDef_kind;
 7144|    151|    p->v.ClassDef.name = name;
 7145|    151|    p->v.ClassDef.bases = bases;
 7146|    151|    p->v.ClassDef.keywords = keywords;
 7147|    151|    p->v.ClassDef.body = body;
 7148|    151|    p->v.ClassDef.decorator_list = decorator_list;
 7149|    151|    p->v.ClassDef.type_params = type_params;
 7150|    151|    p->lineno = lineno;
 7151|    151|    p->col_offset = col_offset;
 7152|    151|    p->end_lineno = end_lineno;
 7153|    151|    p->end_col_offset = end_col_offset;
 7154|    151|    return p;
 7155|    151|}
_PyAST_Return:
 7160|  1.50k|{
 7161|  1.50k|    stmt_ty p;
 7162|  1.50k|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7163|  1.50k|    if (!p)
  ------------------
  |  Branch (7163:9): [True: 0, False: 1.50k]
  ------------------
 7164|      0|        return NULL;
 7165|  1.50k|    p->kind = Return_kind;
 7166|  1.50k|    p->v.Return.value = value;
 7167|  1.50k|    p->lineno = lineno;
 7168|  1.50k|    p->col_offset = col_offset;
 7169|  1.50k|    p->end_lineno = end_lineno;
 7170|  1.50k|    p->end_col_offset = end_col_offset;
 7171|  1.50k|    return p;
 7172|  1.50k|}
_PyAST_Delete:
 7177|     40|{
 7178|     40|    stmt_ty p;
 7179|     40|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7180|     40|    if (!p)
  ------------------
  |  Branch (7180:9): [True: 0, False: 40]
  ------------------
 7181|      0|        return NULL;
 7182|     40|    p->kind = Delete_kind;
 7183|     40|    p->v.Delete.targets = targets;
 7184|     40|    p->lineno = lineno;
 7185|     40|    p->col_offset = col_offset;
 7186|     40|    p->end_lineno = end_lineno;
 7187|     40|    p->end_col_offset = end_col_offset;
 7188|     40|    return p;
 7189|     40|}
_PyAST_Assign:
 7195|  3.47k|{
 7196|  3.47k|    stmt_ty p;
 7197|  3.47k|    if (!value) {
  ------------------
  |  Branch (7197:9): [True: 0, False: 3.47k]
  ------------------
 7198|      0|        PyErr_SetString(PyExc_ValueError,
 7199|      0|                        "field 'value' is required for Assign");
 7200|      0|        return NULL;
 7201|      0|    }
 7202|  3.47k|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7203|  3.47k|    if (!p)
  ------------------
  |  Branch (7203:9): [True: 0, False: 3.47k]
  ------------------
 7204|      0|        return NULL;
 7205|  3.47k|    p->kind = Assign_kind;
 7206|  3.47k|    p->v.Assign.targets = targets;
 7207|  3.47k|    p->v.Assign.value = value;
 7208|  3.47k|    p->v.Assign.type_comment = type_comment;
 7209|  3.47k|    p->lineno = lineno;
 7210|  3.47k|    p->col_offset = col_offset;
 7211|  3.47k|    p->end_lineno = end_lineno;
 7212|  3.47k|    p->end_col_offset = end_col_offset;
 7213|  3.47k|    return p;
 7214|  3.47k|}
_PyAST_AugAssign:
 7249|    178|{
 7250|    178|    stmt_ty p;
 7251|    178|    if (!target) {
  ------------------
  |  Branch (7251:9): [True: 0, False: 178]
  ------------------
 7252|      0|        PyErr_SetString(PyExc_ValueError,
 7253|      0|                        "field 'target' is required for AugAssign");
 7254|      0|        return NULL;
 7255|      0|    }
 7256|    178|    if (!op) {
  ------------------
  |  Branch (7256:9): [True: 0, False: 178]
  ------------------
 7257|      0|        PyErr_SetString(PyExc_ValueError,
 7258|      0|                        "field 'op' is required for AugAssign");
 7259|      0|        return NULL;
 7260|      0|    }
 7261|    178|    if (!value) {
  ------------------
  |  Branch (7261:9): [True: 0, False: 178]
  ------------------
 7262|      0|        PyErr_SetString(PyExc_ValueError,
 7263|      0|                        "field 'value' is required for AugAssign");
 7264|      0|        return NULL;
 7265|      0|    }
 7266|    178|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7267|    178|    if (!p)
  ------------------
  |  Branch (7267:9): [True: 0, False: 178]
  ------------------
 7268|      0|        return NULL;
 7269|    178|    p->kind = AugAssign_kind;
 7270|    178|    p->v.AugAssign.target = target;
 7271|    178|    p->v.AugAssign.op = op;
 7272|    178|    p->v.AugAssign.value = value;
 7273|    178|    p->lineno = lineno;
 7274|    178|    p->col_offset = col_offset;
 7275|    178|    p->end_lineno = end_lineno;
 7276|    178|    p->end_col_offset = end_col_offset;
 7277|    178|    return p;
 7278|    178|}
_PyAST_AnnAssign:
 7284|     10|{
 7285|     10|    stmt_ty p;
 7286|     10|    if (!target) {
  ------------------
  |  Branch (7286:9): [True: 0, False: 10]
  ------------------
 7287|      0|        PyErr_SetString(PyExc_ValueError,
 7288|      0|                        "field 'target' is required for AnnAssign");
 7289|      0|        return NULL;
 7290|      0|    }
 7291|     10|    if (!annotation) {
  ------------------
  |  Branch (7291:9): [True: 0, False: 10]
  ------------------
 7292|      0|        PyErr_SetString(PyExc_ValueError,
 7293|      0|                        "field 'annotation' is required for AnnAssign");
 7294|      0|        return NULL;
 7295|      0|    }
 7296|     10|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7297|     10|    if (!p)
  ------------------
  |  Branch (7297:9): [True: 0, False: 10]
  ------------------
 7298|      0|        return NULL;
 7299|     10|    p->kind = AnnAssign_kind;
 7300|     10|    p->v.AnnAssign.target = target;
 7301|     10|    p->v.AnnAssign.annotation = annotation;
 7302|     10|    p->v.AnnAssign.value = value;
 7303|     10|    p->v.AnnAssign.simple = simple;
 7304|     10|    p->lineno = lineno;
 7305|     10|    p->col_offset = col_offset;
 7306|     10|    p->end_lineno = end_lineno;
 7307|     10|    p->end_col_offset = end_col_offset;
 7308|     10|    return p;
 7309|     10|}
_PyAST_For:
 7315|    192|{
 7316|    192|    stmt_ty p;
 7317|    192|    if (!target) {
  ------------------
  |  Branch (7317:9): [True: 0, False: 192]
  ------------------
 7318|      0|        PyErr_SetString(PyExc_ValueError,
 7319|      0|                        "field 'target' is required for For");
 7320|      0|        return NULL;
 7321|      0|    }
 7322|    192|    if (!iter) {
  ------------------
  |  Branch (7322:9): [True: 0, False: 192]
  ------------------
 7323|      0|        PyErr_SetString(PyExc_ValueError,
 7324|      0|                        "field 'iter' is required for For");
 7325|      0|        return NULL;
 7326|      0|    }
 7327|    192|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7328|    192|    if (!p)
  ------------------
  |  Branch (7328:9): [True: 0, False: 192]
  ------------------
 7329|      0|        return NULL;
 7330|    192|    p->kind = For_kind;
 7331|    192|    p->v.For.target = target;
 7332|    192|    p->v.For.iter = iter;
 7333|    192|    p->v.For.body = body;
 7334|    192|    p->v.For.orelse = orelse;
 7335|    192|    p->v.For.type_comment = type_comment;
 7336|    192|    p->lineno = lineno;
 7337|    192|    p->col_offset = col_offset;
 7338|    192|    p->end_lineno = end_lineno;
 7339|    192|    p->end_col_offset = end_col_offset;
 7340|    192|    return p;
 7341|    192|}
_PyAST_While:
 7379|     72|{
 7380|     72|    stmt_ty p;
 7381|     72|    if (!test) {
  ------------------
  |  Branch (7381:9): [True: 0, False: 72]
  ------------------
 7382|      0|        PyErr_SetString(PyExc_ValueError,
 7383|      0|                        "field 'test' is required for While");
 7384|      0|        return NULL;
 7385|      0|    }
 7386|     72|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7387|     72|    if (!p)
  ------------------
  |  Branch (7387:9): [True: 0, False: 72]
  ------------------
 7388|      0|        return NULL;
 7389|     72|    p->kind = While_kind;
 7390|     72|    p->v.While.test = test;
 7391|     72|    p->v.While.body = body;
 7392|     72|    p->v.While.orelse = orelse;
 7393|     72|    p->lineno = lineno;
 7394|     72|    p->col_offset = col_offset;
 7395|     72|    p->end_lineno = end_lineno;
 7396|     72|    p->end_col_offset = end_col_offset;
 7397|     72|    return p;
 7398|     72|}
_PyAST_If:
 7404|  2.23k|{
 7405|  2.23k|    stmt_ty p;
 7406|  2.23k|    if (!test) {
  ------------------
  |  Branch (7406:9): [True: 0, False: 2.23k]
  ------------------
 7407|      0|        PyErr_SetString(PyExc_ValueError,
 7408|      0|                        "field 'test' is required for If");
 7409|      0|        return NULL;
 7410|      0|    }
 7411|  2.23k|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7412|  2.23k|    if (!p)
  ------------------
  |  Branch (7412:9): [True: 0, False: 2.23k]
  ------------------
 7413|      0|        return NULL;
 7414|  2.23k|    p->kind = If_kind;
 7415|  2.23k|    p->v.If.test = test;
 7416|  2.23k|    p->v.If.body = body;
 7417|  2.23k|    p->v.If.orelse = orelse;
 7418|  2.23k|    p->lineno = lineno;
 7419|  2.23k|    p->col_offset = col_offset;
 7420|  2.23k|    p->end_lineno = end_lineno;
 7421|  2.23k|    p->end_col_offset = end_col_offset;
 7422|  2.23k|    return p;
 7423|  2.23k|}
_PyAST_With:
 7429|     46|{
 7430|     46|    stmt_ty p;
 7431|     46|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7432|     46|    if (!p)
  ------------------
  |  Branch (7432:9): [True: 0, False: 46]
  ------------------
 7433|      0|        return NULL;
 7434|     46|    p->kind = With_kind;
 7435|     46|    p->v.With.items = items;
 7436|     46|    p->v.With.body = body;
 7437|     46|    p->v.With.type_comment = type_comment;
 7438|     46|    p->lineno = lineno;
 7439|     46|    p->col_offset = col_offset;
 7440|     46|    p->end_lineno = end_lineno;
 7441|     46|    p->end_col_offset = end_col_offset;
 7442|     46|    return p;
 7443|     46|}
_PyAST_AsyncWith:
 7449|      5|{
 7450|      5|    stmt_ty p;
 7451|      5|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7452|      5|    if (!p)
  ------------------
  |  Branch (7452:9): [True: 0, False: 5]
  ------------------
 7453|      0|        return NULL;
 7454|      5|    p->kind = AsyncWith_kind;
 7455|      5|    p->v.AsyncWith.items = items;
 7456|      5|    p->v.AsyncWith.body = body;
 7457|      5|    p->v.AsyncWith.type_comment = type_comment;
 7458|      5|    p->lineno = lineno;
 7459|      5|    p->col_offset = col_offset;
 7460|      5|    p->end_lineno = end_lineno;
 7461|      5|    p->end_col_offset = end_col_offset;
 7462|      5|    return p;
 7463|      5|}
_PyAST_Match:
 7468|      1|{
 7469|      1|    stmt_ty p;
 7470|      1|    if (!subject) {
  ------------------
  |  Branch (7470:9): [True: 0, False: 1]
  ------------------
 7471|      0|        PyErr_SetString(PyExc_ValueError,
 7472|      0|                        "field 'subject' is required for Match");
 7473|      0|        return NULL;
 7474|      0|    }
 7475|      1|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7476|      1|    if (!p)
  ------------------
  |  Branch (7476:9): [True: 0, False: 1]
  ------------------
 7477|      0|        return NULL;
 7478|      1|    p->kind = Match_kind;
 7479|      1|    p->v.Match.subject = subject;
 7480|      1|    p->v.Match.cases = cases;
 7481|      1|    p->lineno = lineno;
 7482|      1|    p->col_offset = col_offset;
 7483|      1|    p->end_lineno = end_lineno;
 7484|      1|    p->end_col_offset = end_col_offset;
 7485|      1|    return p;
 7486|      1|}
_PyAST_Raise:
 7491|    606|{
 7492|    606|    stmt_ty p;
 7493|    606|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7494|    606|    if (!p)
  ------------------
  |  Branch (7494:9): [True: 0, False: 606]
  ------------------
 7495|      0|        return NULL;
 7496|    606|    p->kind = Raise_kind;
 7497|    606|    p->v.Raise.exc = exc;
 7498|    606|    p->v.Raise.cause = cause;
 7499|    606|    p->lineno = lineno;
 7500|    606|    p->col_offset = col_offset;
 7501|    606|    p->end_lineno = end_lineno;
 7502|    606|    p->end_col_offset = end_col_offset;
 7503|    606|    return p;
 7504|    606|}
_PyAST_Try:
 7510|    303|{
 7511|    303|    stmt_ty p;
 7512|    303|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7513|    303|    if (!p)
  ------------------
  |  Branch (7513:9): [True: 0, False: 303]
  ------------------
 7514|      0|        return NULL;
 7515|    303|    p->kind = Try_kind;
 7516|    303|    p->v.Try.body = body;
 7517|    303|    p->v.Try.handlers = handlers;
 7518|    303|    p->v.Try.orelse = orelse;
 7519|    303|    p->v.Try.finalbody = finalbody;
 7520|    303|    p->lineno = lineno;
 7521|    303|    p->col_offset = col_offset;
 7522|    303|    p->end_lineno = end_lineno;
 7523|    303|    p->end_col_offset = end_col_offset;
 7524|    303|    return p;
 7525|    303|}
_PyAST_Assert:
 7552|     49|{
 7553|     49|    stmt_ty p;
 7554|     49|    if (!test) {
  ------------------
  |  Branch (7554:9): [True: 0, False: 49]
  ------------------
 7555|      0|        PyErr_SetString(PyExc_ValueError,
 7556|      0|                        "field 'test' is required for Assert");
 7557|      0|        return NULL;
 7558|      0|    }
 7559|     49|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7560|     49|    if (!p)
  ------------------
  |  Branch (7560:9): [True: 0, False: 49]
  ------------------
 7561|      0|        return NULL;
 7562|     49|    p->kind = Assert_kind;
 7563|     49|    p->v.Assert.test = test;
 7564|     49|    p->v.Assert.msg = msg;
 7565|     49|    p->lineno = lineno;
 7566|     49|    p->col_offset = col_offset;
 7567|     49|    p->end_lineno = end_lineno;
 7568|     49|    p->end_col_offset = end_col_offset;
 7569|     49|    return p;
 7570|     49|}
_PyAST_Import:
 7575|    185|{
 7576|    185|    stmt_ty p;
 7577|    185|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7578|    185|    if (!p)
  ------------------
  |  Branch (7578:9): [True: 0, False: 185]
  ------------------
 7579|      0|        return NULL;
 7580|    185|    p->kind = Import_kind;
 7581|    185|    p->v.Import.names = names;
 7582|    185|    p->v.Import.is_lazy = is_lazy;
 7583|    185|    p->lineno = lineno;
 7584|    185|    p->col_offset = col_offset;
 7585|    185|    p->end_lineno = end_lineno;
 7586|    185|    p->end_col_offset = end_col_offset;
 7587|    185|    return p;
 7588|    185|}
_PyAST_ImportFrom:
 7594|    262|{
 7595|    262|    stmt_ty p;
 7596|    262|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7597|    262|    if (!p)
  ------------------
  |  Branch (7597:9): [True: 0, False: 262]
  ------------------
 7598|      0|        return NULL;
 7599|    262|    p->kind = ImportFrom_kind;
 7600|    262|    p->v.ImportFrom.module = module;
 7601|    262|    p->v.ImportFrom.names = names;
 7602|    262|    p->v.ImportFrom.level = level;
 7603|    262|    p->v.ImportFrom.is_lazy = is_lazy;
 7604|    262|    p->lineno = lineno;
 7605|    262|    p->col_offset = col_offset;
 7606|    262|    p->end_lineno = end_lineno;
 7607|    262|    p->end_col_offset = end_col_offset;
 7608|    262|    return p;
 7609|    262|}
_PyAST_Global:
 7614|      8|{
 7615|      8|    stmt_ty p;
 7616|      8|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7617|      8|    if (!p)
  ------------------
  |  Branch (7617:9): [True: 0, False: 8]
  ------------------
 7618|      0|        return NULL;
 7619|      8|    p->kind = Global_kind;
 7620|      8|    p->v.Global.names = names;
 7621|      8|    p->lineno = lineno;
 7622|      8|    p->col_offset = col_offset;
 7623|      8|    p->end_lineno = end_lineno;
 7624|      8|    p->end_col_offset = end_col_offset;
 7625|      8|    return p;
 7626|      8|}
_PyAST_Nonlocal:
 7631|      3|{
 7632|      3|    stmt_ty p;
 7633|      3|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7634|      3|    if (!p)
  ------------------
  |  Branch (7634:9): [True: 0, False: 3]
  ------------------
 7635|      0|        return NULL;
 7636|      3|    p->kind = Nonlocal_kind;
 7637|      3|    p->v.Nonlocal.names = names;
 7638|      3|    p->lineno = lineno;
 7639|      3|    p->col_offset = col_offset;
 7640|      3|    p->end_lineno = end_lineno;
 7641|      3|    p->end_col_offset = end_col_offset;
 7642|      3|    return p;
 7643|      3|}
_PyAST_Expr:
 7648|  2.73k|{
 7649|  2.73k|    stmt_ty p;
 7650|  2.73k|    if (!value) {
  ------------------
  |  Branch (7650:9): [True: 0, False: 2.73k]
  ------------------
 7651|      0|        PyErr_SetString(PyExc_ValueError,
 7652|      0|                        "field 'value' is required for Expr");
 7653|      0|        return NULL;
 7654|      0|    }
 7655|  2.73k|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7656|  2.73k|    if (!p)
  ------------------
  |  Branch (7656:9): [True: 0, False: 2.73k]
  ------------------
 7657|      0|        return NULL;
 7658|  2.73k|    p->kind = Expr_kind;
 7659|  2.73k|    p->v.Expr.value = value;
 7660|  2.73k|    p->lineno = lineno;
 7661|  2.73k|    p->col_offset = col_offset;
 7662|  2.73k|    p->end_lineno = end_lineno;
 7663|  2.73k|    p->end_col_offset = end_col_offset;
 7664|  2.73k|    return p;
 7665|  2.73k|}
_PyAST_Pass:
 7670|     67|{
 7671|     67|    stmt_ty p;
 7672|     67|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7673|     67|    if (!p)
  ------------------
  |  Branch (7673:9): [True: 0, False: 67]
  ------------------
 7674|      0|        return NULL;
 7675|     67|    p->kind = Pass_kind;
 7676|     67|    p->lineno = lineno;
 7677|     67|    p->col_offset = col_offset;
 7678|     67|    p->end_lineno = end_lineno;
 7679|     67|    p->end_col_offset = end_col_offset;
 7680|     67|    return p;
 7681|     67|}
_PyAST_Break:
 7686|     37|{
 7687|     37|    stmt_ty p;
 7688|     37|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7689|     37|    if (!p)
  ------------------
  |  Branch (7689:9): [True: 0, False: 37]
  ------------------
 7690|      0|        return NULL;
 7691|     37|    p->kind = Break_kind;
 7692|     37|    p->lineno = lineno;
 7693|     37|    p->col_offset = col_offset;
 7694|     37|    p->end_lineno = end_lineno;
 7695|     37|    p->end_col_offset = end_col_offset;
 7696|     37|    return p;
 7697|     37|}
_PyAST_Continue:
 7702|     43|{
 7703|     43|    stmt_ty p;
 7704|     43|    p = (stmt_ty)_PyArena_Malloc(arena, sizeof(*p));
 7705|     43|    if (!p)
  ------------------
  |  Branch (7705:9): [True: 0, False: 43]
  ------------------
 7706|      0|        return NULL;
 7707|     43|    p->kind = Continue_kind;
 7708|     43|    p->lineno = lineno;
 7709|     43|    p->col_offset = col_offset;
 7710|     43|    p->end_lineno = end_lineno;
 7711|     43|    p->end_col_offset = end_col_offset;
 7712|     43|    return p;
 7713|     43|}
_PyAST_BoolOp:
 7718|    488|{
 7719|    488|    expr_ty p;
 7720|    488|    if (!op) {
  ------------------
  |  Branch (7720:9): [True: 0, False: 488]
  ------------------
 7721|      0|        PyErr_SetString(PyExc_ValueError,
 7722|      0|                        "field 'op' is required for BoolOp");
 7723|      0|        return NULL;
 7724|      0|    }
 7725|    488|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 7726|    488|    if (!p)
  ------------------
  |  Branch (7726:9): [True: 0, False: 488]
  ------------------
 7727|      0|        return NULL;
 7728|    488|    p->kind = BoolOp_kind;
 7729|    488|    p->v.BoolOp.op = op;
 7730|    488|    p->v.BoolOp.values = values;
 7731|    488|    p->lineno = lineno;
 7732|    488|    p->col_offset = col_offset;
 7733|    488|    p->end_lineno = end_lineno;
 7734|    488|    p->end_col_offset = end_col_offset;
 7735|    488|    return p;
 7736|    488|}
_PyAST_NamedExpr:
 7741|     21|{
 7742|     21|    expr_ty p;
 7743|     21|    if (!target) {
  ------------------
  |  Branch (7743:9): [True: 0, False: 21]
  ------------------
 7744|      0|        PyErr_SetString(PyExc_ValueError,
 7745|      0|                        "field 'target' is required for NamedExpr");
 7746|      0|        return NULL;
 7747|      0|    }
 7748|     21|    if (!value) {
  ------------------
  |  Branch (7748:9): [True: 0, False: 21]
  ------------------
 7749|      0|        PyErr_SetString(PyExc_ValueError,
 7750|      0|                        "field 'value' is required for NamedExpr");
 7751|      0|        return NULL;
 7752|      0|    }
 7753|     21|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 7754|     21|    if (!p)
  ------------------
  |  Branch (7754:9): [True: 0, False: 21]
  ------------------
 7755|      0|        return NULL;
 7756|     21|    p->kind = NamedExpr_kind;
 7757|     21|    p->v.NamedExpr.target = target;
 7758|     21|    p->v.NamedExpr.value = value;
 7759|     21|    p->lineno = lineno;
 7760|     21|    p->col_offset = col_offset;
 7761|     21|    p->end_lineno = end_lineno;
 7762|     21|    p->end_col_offset = end_col_offset;
 7763|     21|    return p;
 7764|     21|}
_PyAST_BinOp:
 7769|    545|{
 7770|    545|    expr_ty p;
 7771|    545|    if (!left) {
  ------------------
  |  Branch (7771:9): [True: 0, False: 545]
  ------------------
 7772|      0|        PyErr_SetString(PyExc_ValueError,
 7773|      0|                        "field 'left' is required for BinOp");
 7774|      0|        return NULL;
 7775|      0|    }
 7776|    545|    if (!op) {
  ------------------
  |  Branch (7776:9): [True: 0, False: 545]
  ------------------
 7777|      0|        PyErr_SetString(PyExc_ValueError,
 7778|      0|                        "field 'op' is required for BinOp");
 7779|      0|        return NULL;
 7780|      0|    }
 7781|    545|    if (!right) {
  ------------------
  |  Branch (7781:9): [True: 0, False: 545]
  ------------------
 7782|      0|        PyErr_SetString(PyExc_ValueError,
 7783|      0|                        "field 'right' is required for BinOp");
 7784|      0|        return NULL;
 7785|      0|    }
 7786|    545|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 7787|    545|    if (!p)
  ------------------
  |  Branch (7787:9): [True: 0, False: 545]
  ------------------
 7788|      0|        return NULL;
 7789|    545|    p->kind = BinOp_kind;
 7790|    545|    p->v.BinOp.left = left;
 7791|    545|    p->v.BinOp.op = op;
 7792|    545|    p->v.BinOp.right = right;
 7793|    545|    p->lineno = lineno;
 7794|    545|    p->col_offset = col_offset;
 7795|    545|    p->end_lineno = end_lineno;
 7796|    545|    p->end_col_offset = end_col_offset;
 7797|    545|    return p;
 7798|    545|}
_PyAST_UnaryOp:
 7803|    473|{
 7804|    473|    expr_ty p;
 7805|    473|    if (!op) {
  ------------------
  |  Branch (7805:9): [True: 0, False: 473]
  ------------------
 7806|      0|        PyErr_SetString(PyExc_ValueError,
 7807|      0|                        "field 'op' is required for UnaryOp");
 7808|      0|        return NULL;
 7809|      0|    }
 7810|    473|    if (!operand) {
  ------------------
  |  Branch (7810:9): [True: 0, False: 473]
  ------------------
 7811|      0|        PyErr_SetString(PyExc_ValueError,
 7812|      0|                        "field 'operand' is required for UnaryOp");
 7813|      0|        return NULL;
 7814|      0|    }
 7815|    473|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 7816|    473|    if (!p)
  ------------------
  |  Branch (7816:9): [True: 0, False: 473]
  ------------------
 7817|      0|        return NULL;
 7818|    473|    p->kind = UnaryOp_kind;
 7819|    473|    p->v.UnaryOp.op = op;
 7820|    473|    p->v.UnaryOp.operand = operand;
 7821|    473|    p->lineno = lineno;
 7822|    473|    p->col_offset = col_offset;
 7823|    473|    p->end_lineno = end_lineno;
 7824|    473|    p->end_col_offset = end_col_offset;
 7825|    473|    return p;
 7826|    473|}
_PyAST_Lambda:
 7831|     87|{
 7832|     87|    expr_ty p;
 7833|     87|    if (!args) {
  ------------------
  |  Branch (7833:9): [True: 0, False: 87]
  ------------------
 7834|      0|        PyErr_SetString(PyExc_ValueError,
 7835|      0|                        "field 'args' is required for Lambda");
 7836|      0|        return NULL;
 7837|      0|    }
 7838|     87|    if (!body) {
  ------------------
  |  Branch (7838:9): [True: 0, False: 87]
  ------------------
 7839|      0|        PyErr_SetString(PyExc_ValueError,
 7840|      0|                        "field 'body' is required for Lambda");
 7841|      0|        return NULL;
 7842|      0|    }
 7843|     87|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 7844|     87|    if (!p)
  ------------------
  |  Branch (7844:9): [True: 0, False: 87]
  ------------------
 7845|      0|        return NULL;
 7846|     87|    p->kind = Lambda_kind;
 7847|     87|    p->v.Lambda.args = args;
 7848|     87|    p->v.Lambda.body = body;
 7849|     87|    p->lineno = lineno;
 7850|     87|    p->col_offset = col_offset;
 7851|     87|    p->end_lineno = end_lineno;
 7852|     87|    p->end_col_offset = end_col_offset;
 7853|     87|    return p;
 7854|     87|}
_PyAST_IfExp:
 7859|     48|{
 7860|     48|    expr_ty p;
 7861|     48|    if (!test) {
  ------------------
  |  Branch (7861:9): [True: 0, False: 48]
  ------------------
 7862|      0|        PyErr_SetString(PyExc_ValueError,
 7863|      0|                        "field 'test' is required for IfExp");
 7864|      0|        return NULL;
 7865|      0|    }
 7866|     48|    if (!body) {
  ------------------
  |  Branch (7866:9): [True: 0, False: 48]
  ------------------
 7867|      0|        PyErr_SetString(PyExc_ValueError,
 7868|      0|                        "field 'body' is required for IfExp");
 7869|      0|        return NULL;
 7870|      0|    }
 7871|     48|    if (!orelse) {
  ------------------
  |  Branch (7871:9): [True: 0, False: 48]
  ------------------
 7872|      0|        PyErr_SetString(PyExc_ValueError,
 7873|      0|                        "field 'orelse' is required for IfExp");
 7874|      0|        return NULL;
 7875|      0|    }
 7876|     48|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 7877|     48|    if (!p)
  ------------------
  |  Branch (7877:9): [True: 0, False: 48]
  ------------------
 7878|      0|        return NULL;
 7879|     48|    p->kind = IfExp_kind;
 7880|     48|    p->v.IfExp.test = test;
 7881|     48|    p->v.IfExp.body = body;
 7882|     48|    p->v.IfExp.orelse = orelse;
 7883|     48|    p->lineno = lineno;
 7884|     48|    p->col_offset = col_offset;
 7885|     48|    p->end_lineno = end_lineno;
 7886|     48|    p->end_col_offset = end_col_offset;
 7887|     48|    return p;
 7888|     48|}
_PyAST_Dict:
 7893|    207|{
 7894|    207|    expr_ty p;
 7895|    207|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 7896|    207|    if (!p)
  ------------------
  |  Branch (7896:9): [True: 0, False: 207]
  ------------------
 7897|      0|        return NULL;
 7898|    207|    p->kind = Dict_kind;
 7899|    207|    p->v.Dict.keys = keys;
 7900|    207|    p->v.Dict.values = values;
 7901|    207|    p->lineno = lineno;
 7902|    207|    p->col_offset = col_offset;
 7903|    207|    p->end_lineno = end_lineno;
 7904|    207|    p->end_col_offset = end_col_offset;
 7905|    207|    return p;
 7906|    207|}
_PyAST_Set:
 7911|    140|{
 7912|    140|    expr_ty p;
 7913|    140|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 7914|    140|    if (!p)
  ------------------
  |  Branch (7914:9): [True: 0, False: 140]
  ------------------
 7915|      0|        return NULL;
 7916|    140|    p->kind = Set_kind;
 7917|    140|    p->v.Set.elts = elts;
 7918|    140|    p->lineno = lineno;
 7919|    140|    p->col_offset = col_offset;
 7920|    140|    p->end_lineno = end_lineno;
 7921|    140|    p->end_col_offset = end_col_offset;
 7922|    140|    return p;
 7923|    140|}
_PyAST_ListComp:
 7929|     95|{
 7930|     95|    expr_ty p;
 7931|     95|    if (!elt) {
  ------------------
  |  Branch (7931:9): [True: 0, False: 95]
  ------------------
 7932|      0|        PyErr_SetString(PyExc_ValueError,
 7933|      0|                        "field 'elt' is required for ListComp");
 7934|      0|        return NULL;
 7935|      0|    }
 7936|     95|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 7937|     95|    if (!p)
  ------------------
  |  Branch (7937:9): [True: 0, False: 95]
  ------------------
 7938|      0|        return NULL;
 7939|     95|    p->kind = ListComp_kind;
 7940|     95|    p->v.ListComp.elt = elt;
 7941|     95|    p->v.ListComp.generators = generators;
 7942|     95|    p->lineno = lineno;
 7943|     95|    p->col_offset = col_offset;
 7944|     95|    p->end_lineno = end_lineno;
 7945|     95|    p->end_col_offset = end_col_offset;
 7946|     95|    return p;
 7947|     95|}
_PyAST_SetComp:
 7953|     19|{
 7954|     19|    expr_ty p;
 7955|     19|    if (!elt) {
  ------------------
  |  Branch (7955:9): [True: 0, False: 19]
  ------------------
 7956|      0|        PyErr_SetString(PyExc_ValueError,
 7957|      0|                        "field 'elt' is required for SetComp");
 7958|      0|        return NULL;
 7959|      0|    }
 7960|     19|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 7961|     19|    if (!p)
  ------------------
  |  Branch (7961:9): [True: 0, False: 19]
  ------------------
 7962|      0|        return NULL;
 7963|     19|    p->kind = SetComp_kind;
 7964|     19|    p->v.SetComp.elt = elt;
 7965|     19|    p->v.SetComp.generators = generators;
 7966|     19|    p->lineno = lineno;
 7967|     19|    p->col_offset = col_offset;
 7968|     19|    p->end_lineno = end_lineno;
 7969|     19|    p->end_col_offset = end_col_offset;
 7970|     19|    return p;
 7971|     19|}
_PyAST_DictComp:
 7977|      4|{
 7978|      4|    expr_ty p;
 7979|      4|    if (!key) {
  ------------------
  |  Branch (7979:9): [True: 0, False: 4]
  ------------------
 7980|      0|        PyErr_SetString(PyExc_ValueError,
 7981|      0|                        "field 'key' is required for DictComp");
 7982|      0|        return NULL;
 7983|      0|    }
 7984|      4|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 7985|      4|    if (!p)
  ------------------
  |  Branch (7985:9): [True: 0, False: 4]
  ------------------
 7986|      0|        return NULL;
 7987|      4|    p->kind = DictComp_kind;
 7988|      4|    p->v.DictComp.key = key;
 7989|      4|    p->v.DictComp.value = value;
 7990|      4|    p->v.DictComp.generators = generators;
 7991|      4|    p->lineno = lineno;
 7992|      4|    p->col_offset = col_offset;
 7993|      4|    p->end_lineno = end_lineno;
 7994|      4|    p->end_col_offset = end_col_offset;
 7995|      4|    return p;
 7996|      4|}
_PyAST_GeneratorExp:
 8002|     49|{
 8003|     49|    expr_ty p;
 8004|     49|    if (!elt) {
  ------------------
  |  Branch (8004:9): [True: 0, False: 49]
  ------------------
 8005|      0|        PyErr_SetString(PyExc_ValueError,
 8006|      0|                        "field 'elt' is required for GeneratorExp");
 8007|      0|        return NULL;
 8008|      0|    }
 8009|     49|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 8010|     49|    if (!p)
  ------------------
  |  Branch (8010:9): [True: 0, False: 49]
  ------------------
 8011|      0|        return NULL;
 8012|     49|    p->kind = GeneratorExp_kind;
 8013|     49|    p->v.GeneratorExp.elt = elt;
 8014|     49|    p->v.GeneratorExp.generators = generators;
 8015|     49|    p->lineno = lineno;
 8016|     49|    p->col_offset = col_offset;
 8017|     49|    p->end_lineno = end_lineno;
 8018|     49|    p->end_col_offset = end_col_offset;
 8019|     49|    return p;
 8020|     49|}
_PyAST_Await:
 8025|    123|{
 8026|    123|    expr_ty p;
 8027|    123|    if (!value) {
  ------------------
  |  Branch (8027:9): [True: 0, False: 123]
  ------------------
 8028|      0|        PyErr_SetString(PyExc_ValueError,
 8029|      0|                        "field 'value' is required for Await");
 8030|      0|        return NULL;
 8031|      0|    }
 8032|    123|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 8033|    123|    if (!p)
  ------------------
  |  Branch (8033:9): [True: 0, False: 123]
  ------------------
 8034|      0|        return NULL;
 8035|    123|    p->kind = Await_kind;
 8036|    123|    p->v.Await.value = value;
 8037|    123|    p->lineno = lineno;
 8038|    123|    p->col_offset = col_offset;
 8039|    123|    p->end_lineno = end_lineno;
 8040|    123|    p->end_col_offset = end_col_offset;
 8041|    123|    return p;
 8042|    123|}
_PyAST_Yield:
 8047|     57|{
 8048|     57|    expr_ty p;
 8049|     57|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 8050|     57|    if (!p)
  ------------------
  |  Branch (8050:9): [True: 0, False: 57]
  ------------------
 8051|      0|        return NULL;
 8052|     57|    p->kind = Yield_kind;
 8053|     57|    p->v.Yield.value = value;
 8054|     57|    p->lineno = lineno;
 8055|     57|    p->col_offset = col_offset;
 8056|     57|    p->end_lineno = end_lineno;
 8057|     57|    p->end_col_offset = end_col_offset;
 8058|     57|    return p;
 8059|     57|}
_PyAST_YieldFrom:
 8064|     11|{
 8065|     11|    expr_ty p;
 8066|     11|    if (!value) {
  ------------------
  |  Branch (8066:9): [True: 0, False: 11]
  ------------------
 8067|      0|        PyErr_SetString(PyExc_ValueError,
 8068|      0|                        "field 'value' is required for YieldFrom");
 8069|      0|        return NULL;
 8070|      0|    }
 8071|     11|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 8072|     11|    if (!p)
  ------------------
  |  Branch (8072:9): [True: 0, False: 11]
  ------------------
 8073|      0|        return NULL;
 8074|     11|    p->kind = YieldFrom_kind;
 8075|     11|    p->v.YieldFrom.value = value;
 8076|     11|    p->lineno = lineno;
 8077|     11|    p->col_offset = col_offset;
 8078|     11|    p->end_lineno = end_lineno;
 8079|     11|    p->end_col_offset = end_col_offset;
 8080|     11|    return p;
 8081|     11|}
_PyAST_Compare:
 8087|  1.73k|{
 8088|  1.73k|    expr_ty p;
 8089|  1.73k|    if (!left) {
  ------------------
  |  Branch (8089:9): [True: 0, False: 1.73k]
  ------------------
 8090|      0|        PyErr_SetString(PyExc_ValueError,
 8091|      0|                        "field 'left' is required for Compare");
 8092|      0|        return NULL;
 8093|      0|    }
 8094|  1.73k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 8095|  1.73k|    if (!p)
  ------------------
  |  Branch (8095:9): [True: 0, False: 1.73k]
  ------------------
 8096|      0|        return NULL;
 8097|  1.73k|    p->kind = Compare_kind;
 8098|  1.73k|    p->v.Compare.left = left;
 8099|  1.73k|    p->v.Compare.ops = ops;
 8100|  1.73k|    p->v.Compare.comparators = comparators;
 8101|  1.73k|    p->lineno = lineno;
 8102|  1.73k|    p->col_offset = col_offset;
 8103|  1.73k|    p->end_lineno = end_lineno;
 8104|  1.73k|    p->end_col_offset = end_col_offset;
 8105|  1.73k|    return p;
 8106|  1.73k|}
_PyAST_Call:
 8112|  10.8k|{
 8113|  10.8k|    expr_ty p;
 8114|  10.8k|    if (!func) {
  ------------------
  |  Branch (8114:9): [True: 0, False: 10.8k]
  ------------------
 8115|      0|        PyErr_SetString(PyExc_ValueError,
 8116|      0|                        "field 'func' is required for Call");
 8117|      0|        return NULL;
 8118|      0|    }
 8119|  10.8k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 8120|  10.8k|    if (!p)
  ------------------
  |  Branch (8120:9): [True: 0, False: 10.8k]
  ------------------
 8121|      0|        return NULL;
 8122|  10.8k|    p->kind = Call_kind;
 8123|  10.8k|    p->v.Call.func = func;
 8124|  10.8k|    p->v.Call.args = args;
 8125|  10.8k|    p->v.Call.keywords = keywords;
 8126|  10.8k|    p->lineno = lineno;
 8127|  10.8k|    p->col_offset = col_offset;
 8128|  10.8k|    p->end_lineno = end_lineno;
 8129|  10.8k|    p->end_col_offset = end_col_offset;
 8130|  10.8k|    return p;
 8131|  10.8k|}
_PyAST_FormattedValue:
 8137|    890|{
 8138|    890|    expr_ty p;
 8139|    890|    if (!value) {
  ------------------
  |  Branch (8139:9): [True: 0, False: 890]
  ------------------
 8140|      0|        PyErr_SetString(PyExc_ValueError,
 8141|      0|                        "field 'value' is required for FormattedValue");
 8142|      0|        return NULL;
 8143|      0|    }
 8144|    890|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 8145|    890|    if (!p)
  ------------------
  |  Branch (8145:9): [True: 0, False: 890]
  ------------------
 8146|      0|        return NULL;
 8147|    890|    p->kind = FormattedValue_kind;
 8148|    890|    p->v.FormattedValue.value = value;
 8149|    890|    p->v.FormattedValue.conversion = conversion;
 8150|    890|    p->v.FormattedValue.format_spec = format_spec;
 8151|    890|    p->lineno = lineno;
 8152|    890|    p->col_offset = col_offset;
 8153|    890|    p->end_lineno = end_lineno;
 8154|    890|    p->end_col_offset = end_col_offset;
 8155|    890|    return p;
 8156|    890|}
_PyAST_Interpolation:
 8162|      1|{
 8163|      1|    expr_ty p;
 8164|      1|    if (!value) {
  ------------------
  |  Branch (8164:9): [True: 0, False: 1]
  ------------------
 8165|      0|        PyErr_SetString(PyExc_ValueError,
 8166|      0|                        "field 'value' is required for Interpolation");
 8167|      0|        return NULL;
 8168|      0|    }
 8169|      1|    if (!str) {
  ------------------
  |  Branch (8169:9): [True: 0, False: 1]
  ------------------
 8170|      0|        PyErr_SetString(PyExc_ValueError,
 8171|      0|                        "field 'str' is required for Interpolation");
 8172|      0|        return NULL;
 8173|      0|    }
 8174|      1|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 8175|      1|    if (!p)
  ------------------
  |  Branch (8175:9): [True: 0, False: 1]
  ------------------
 8176|      0|        return NULL;
 8177|      1|    p->kind = Interpolation_kind;
 8178|      1|    p->v.Interpolation.value = value;
 8179|      1|    p->v.Interpolation.str = str;
 8180|      1|    p->v.Interpolation.conversion = conversion;
 8181|      1|    p->v.Interpolation.format_spec = format_spec;
 8182|      1|    p->lineno = lineno;
 8183|      1|    p->col_offset = col_offset;
 8184|      1|    p->end_lineno = end_lineno;
 8185|      1|    p->end_col_offset = end_col_offset;
 8186|      1|    return p;
 8187|      1|}
_PyAST_JoinedStr:
 8192|    879|{
 8193|    879|    expr_ty p;
 8194|    879|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 8195|    879|    if (!p)
  ------------------
  |  Branch (8195:9): [True: 0, False: 879]
  ------------------
 8196|      0|        return NULL;
 8197|    879|    p->kind = JoinedStr_kind;
 8198|    879|    p->v.JoinedStr.values = values;
 8199|    879|    p->lineno = lineno;
 8200|    879|    p->col_offset = col_offset;
 8201|    879|    p->end_lineno = end_lineno;
 8202|    879|    p->end_col_offset = end_col_offset;
 8203|    879|    return p;
 8204|    879|}
_PyAST_TemplateStr:
 8209|      2|{
 8210|      2|    expr_ty p;
 8211|      2|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 8212|      2|    if (!p)
  ------------------
  |  Branch (8212:9): [True: 0, False: 2]
  ------------------
 8213|      0|        return NULL;
 8214|      2|    p->kind = TemplateStr_kind;
 8215|      2|    p->v.TemplateStr.values = values;
 8216|      2|    p->lineno = lineno;
 8217|      2|    p->col_offset = col_offset;
 8218|      2|    p->end_lineno = end_lineno;
 8219|      2|    p->end_col_offset = end_col_offset;
 8220|      2|    return p;
 8221|      2|}
_PyAST_Constant:
 8226|  11.6k|{
 8227|  11.6k|    expr_ty p;
 8228|  11.6k|    if (!value) {
  ------------------
  |  Branch (8228:9): [True: 0, False: 11.6k]
  ------------------
 8229|      0|        PyErr_SetString(PyExc_ValueError,
 8230|      0|                        "field 'value' is required for Constant");
 8231|      0|        return NULL;
 8232|      0|    }
 8233|  11.6k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 8234|  11.6k|    if (!p)
  ------------------
  |  Branch (8234:9): [True: 0, False: 11.6k]
  ------------------
 8235|      0|        return NULL;
 8236|  11.6k|    p->kind = Constant_kind;
 8237|  11.6k|    p->v.Constant.value = value;
 8238|  11.6k|    p->v.Constant.kind = kind;
 8239|  11.6k|    p->lineno = lineno;
 8240|  11.6k|    p->col_offset = col_offset;
 8241|  11.6k|    p->end_lineno = end_lineno;
 8242|  11.6k|    p->end_col_offset = end_col_offset;
 8243|  11.6k|    return p;
 8244|  11.6k|}
_PyAST_Attribute:
 8250|  13.5k|{
 8251|  13.5k|    expr_ty p;
 8252|  13.5k|    if (!value) {
  ------------------
  |  Branch (8252:9): [True: 0, False: 13.5k]
  ------------------
 8253|      0|        PyErr_SetString(PyExc_ValueError,
 8254|      0|                        "field 'value' is required for Attribute");
 8255|      0|        return NULL;
 8256|      0|    }
 8257|  13.5k|    if (!attr) {
  ------------------
  |  Branch (8257:9): [True: 0, False: 13.5k]
  ------------------
 8258|      0|        PyErr_SetString(PyExc_ValueError,
 8259|      0|                        "field 'attr' is required for Attribute");
 8260|      0|        return NULL;
 8261|      0|    }
 8262|  13.5k|    if (!ctx) {
  ------------------
  |  Branch (8262:9): [True: 0, False: 13.5k]
  ------------------
 8263|      0|        PyErr_SetString(PyExc_ValueError,
 8264|      0|                        "field 'ctx' is required for Attribute");
 8265|      0|        return NULL;
 8266|      0|    }
 8267|  13.5k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 8268|  13.5k|    if (!p)
  ------------------
  |  Branch (8268:9): [True: 0, False: 13.5k]
  ------------------
 8269|      0|        return NULL;
 8270|  13.5k|    p->kind = Attribute_kind;
 8271|  13.5k|    p->v.Attribute.value = value;
 8272|  13.5k|    p->v.Attribute.attr = attr;
 8273|  13.5k|    p->v.Attribute.ctx = ctx;
 8274|  13.5k|    p->lineno = lineno;
 8275|  13.5k|    p->col_offset = col_offset;
 8276|  13.5k|    p->end_lineno = end_lineno;
 8277|  13.5k|    p->end_col_offset = end_col_offset;
 8278|  13.5k|    return p;
 8279|  13.5k|}
_PyAST_Subscript:
 8285|    697|{
 8286|    697|    expr_ty p;
 8287|    697|    if (!value) {
  ------------------
  |  Branch (8287:9): [True: 0, False: 697]
  ------------------
 8288|      0|        PyErr_SetString(PyExc_ValueError,
 8289|      0|                        "field 'value' is required for Subscript");
 8290|      0|        return NULL;
 8291|      0|    }
 8292|    697|    if (!slice) {
  ------------------
  |  Branch (8292:9): [True: 0, False: 697]
  ------------------
 8293|      0|        PyErr_SetString(PyExc_ValueError,
 8294|      0|                        "field 'slice' is required for Subscript");
 8295|      0|        return NULL;
 8296|      0|    }
 8297|    697|    if (!ctx) {
  ------------------
  |  Branch (8297:9): [True: 0, False: 697]
  ------------------
 8298|      0|        PyErr_SetString(PyExc_ValueError,
 8299|      0|                        "field 'ctx' is required for Subscript");
 8300|      0|        return NULL;
 8301|      0|    }
 8302|    697|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 8303|    697|    if (!p)
  ------------------
  |  Branch (8303:9): [True: 0, False: 697]
  ------------------
 8304|      0|        return NULL;
 8305|    697|    p->kind = Subscript_kind;
 8306|    697|    p->v.Subscript.value = value;
 8307|    697|    p->v.Subscript.slice = slice;
 8308|    697|    p->v.Subscript.ctx = ctx;
 8309|    697|    p->lineno = lineno;
 8310|    697|    p->col_offset = col_offset;
 8311|    697|    p->end_lineno = end_lineno;
 8312|    697|    p->end_col_offset = end_col_offset;
 8313|    697|    return p;
 8314|    697|}
_PyAST_Starred:
 8319|    179|{
 8320|    179|    expr_ty p;
 8321|    179|    if (!value) {
  ------------------
  |  Branch (8321:9): [True: 0, False: 179]
  ------------------
 8322|      0|        PyErr_SetString(PyExc_ValueError,
 8323|      0|                        "field 'value' is required for Starred");
 8324|      0|        return NULL;
 8325|      0|    }
 8326|    179|    if (!ctx) {
  ------------------
  |  Branch (8326:9): [True: 0, False: 179]
  ------------------
 8327|      0|        PyErr_SetString(PyExc_ValueError,
 8328|      0|                        "field 'ctx' is required for Starred");
 8329|      0|        return NULL;
 8330|      0|    }
 8331|    179|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 8332|    179|    if (!p)
  ------------------
  |  Branch (8332:9): [True: 0, False: 179]
  ------------------
 8333|      0|        return NULL;
 8334|    179|    p->kind = Starred_kind;
 8335|    179|    p->v.Starred.value = value;
 8336|    179|    p->v.Starred.ctx = ctx;
 8337|    179|    p->lineno = lineno;
 8338|    179|    p->col_offset = col_offset;
 8339|    179|    p->end_lineno = end_lineno;
 8340|    179|    p->end_col_offset = end_col_offset;
 8341|    179|    return p;
 8342|    179|}
_PyAST_Name:
 8347|  3.51M|{
 8348|  3.51M|    expr_ty p;
 8349|  3.51M|    if (!id) {
  ------------------
  |  Branch (8349:9): [True: 0, False: 3.51M]
  ------------------
 8350|      0|        PyErr_SetString(PyExc_ValueError,
 8351|      0|                        "field 'id' is required for Name");
 8352|      0|        return NULL;
 8353|      0|    }
 8354|  3.51M|    if (!ctx) {
  ------------------
  |  Branch (8354:9): [True: 0, False: 3.51M]
  ------------------
 8355|      0|        PyErr_SetString(PyExc_ValueError,
 8356|      0|                        "field 'ctx' is required for Name");
 8357|      0|        return NULL;
 8358|      0|    }
 8359|  3.51M|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 8360|  3.51M|    if (!p)
  ------------------
  |  Branch (8360:9): [True: 0, False: 3.51M]
  ------------------
 8361|      0|        return NULL;
 8362|  3.51M|    p->kind = Name_kind;
 8363|  3.51M|    p->v.Name.id = id;
 8364|  3.51M|    p->v.Name.ctx = ctx;
 8365|  3.51M|    p->lineno = lineno;
 8366|  3.51M|    p->col_offset = col_offset;
 8367|  3.51M|    p->end_lineno = end_lineno;
 8368|  3.51M|    p->end_col_offset = end_col_offset;
 8369|  3.51M|    return p;
 8370|  3.51M|}
_PyAST_List:
 8375|    585|{
 8376|    585|    expr_ty p;
 8377|    585|    if (!ctx) {
  ------------------
  |  Branch (8377:9): [True: 0, False: 585]
  ------------------
 8378|      0|        PyErr_SetString(PyExc_ValueError,
 8379|      0|                        "field 'ctx' is required for List");
 8380|      0|        return NULL;
 8381|      0|    }
 8382|    585|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 8383|    585|    if (!p)
  ------------------
  |  Branch (8383:9): [True: 0, False: 585]
  ------------------
 8384|      0|        return NULL;
 8385|    585|    p->kind = List_kind;
 8386|    585|    p->v.List.elts = elts;
 8387|    585|    p->v.List.ctx = ctx;
 8388|    585|    p->lineno = lineno;
 8389|    585|    p->col_offset = col_offset;
 8390|    585|    p->end_lineno = end_lineno;
 8391|    585|    p->end_col_offset = end_col_offset;
 8392|    585|    return p;
 8393|    585|}
_PyAST_Tuple:
 8398|  1.61k|{
 8399|  1.61k|    expr_ty p;
 8400|  1.61k|    if (!ctx) {
  ------------------
  |  Branch (8400:9): [True: 0, False: 1.61k]
  ------------------
 8401|      0|        PyErr_SetString(PyExc_ValueError,
 8402|      0|                        "field 'ctx' is required for Tuple");
 8403|      0|        return NULL;
 8404|      0|    }
 8405|  1.61k|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 8406|  1.61k|    if (!p)
  ------------------
  |  Branch (8406:9): [True: 0, False: 1.61k]
  ------------------
 8407|      0|        return NULL;
 8408|  1.61k|    p->kind = Tuple_kind;
 8409|  1.61k|    p->v.Tuple.elts = elts;
 8410|  1.61k|    p->v.Tuple.ctx = ctx;
 8411|  1.61k|    p->lineno = lineno;
 8412|  1.61k|    p->col_offset = col_offset;
 8413|  1.61k|    p->end_lineno = end_lineno;
 8414|  1.61k|    p->end_col_offset = end_col_offset;
 8415|  1.61k|    return p;
 8416|  1.61k|}
_PyAST_Slice:
 8421|    130|{
 8422|    130|    expr_ty p;
 8423|    130|    p = (expr_ty)_PyArena_Malloc(arena, sizeof(*p));
 8424|    130|    if (!p)
  ------------------
  |  Branch (8424:9): [True: 0, False: 130]
  ------------------
 8425|      0|        return NULL;
 8426|    130|    p->kind = Slice_kind;
 8427|    130|    p->v.Slice.lower = lower;
 8428|    130|    p->v.Slice.upper = upper;
 8429|    130|    p->v.Slice.step = step;
 8430|    130|    p->lineno = lineno;
 8431|    130|    p->col_offset = col_offset;
 8432|    130|    p->end_lineno = end_lineno;
 8433|    130|    p->end_col_offset = end_col_offset;
 8434|    130|    return p;
 8435|    130|}
_PyAST_comprehension:
 8440|    170|{
 8441|    170|    comprehension_ty p;
 8442|    170|    if (!target) {
  ------------------
  |  Branch (8442:9): [True: 0, False: 170]
  ------------------
 8443|      0|        PyErr_SetString(PyExc_ValueError,
 8444|      0|                        "field 'target' is required for comprehension");
 8445|      0|        return NULL;
 8446|      0|    }
 8447|    170|    if (!iter) {
  ------------------
  |  Branch (8447:9): [True: 0, False: 170]
  ------------------
 8448|      0|        PyErr_SetString(PyExc_ValueError,
 8449|      0|                        "field 'iter' is required for comprehension");
 8450|      0|        return NULL;
 8451|      0|    }
 8452|    170|    p = (comprehension_ty)_PyArena_Malloc(arena, sizeof(*p));
 8453|    170|    if (!p)
  ------------------
  |  Branch (8453:9): [True: 0, False: 170]
  ------------------
 8454|      0|        return NULL;
 8455|    170|    p->target = target;
 8456|    170|    p->iter = iter;
 8457|    170|    p->ifs = ifs;
 8458|    170|    p->is_async = is_async;
 8459|    170|    return p;
 8460|    170|}
_PyAST_ExceptHandler:
 8466|    325|{
 8467|    325|    excepthandler_ty p;
 8468|    325|    p = (excepthandler_ty)_PyArena_Malloc(arena, sizeof(*p));
 8469|    325|    if (!p)
  ------------------
  |  Branch (8469:9): [True: 0, False: 325]
  ------------------
 8470|      0|        return NULL;
 8471|    325|    p->kind = ExceptHandler_kind;
 8472|    325|    p->v.ExceptHandler.type = type;
 8473|    325|    p->v.ExceptHandler.name = name;
 8474|    325|    p->v.ExceptHandler.body = body;
 8475|    325|    p->lineno = lineno;
 8476|    325|    p->col_offset = col_offset;
 8477|    325|    p->end_lineno = end_lineno;
 8478|    325|    p->end_col_offset = end_col_offset;
 8479|    325|    return p;
 8480|    325|}
_PyAST_arguments:
 8487|   110k|{
 8488|   110k|    arguments_ty p;
 8489|   110k|    p = (arguments_ty)_PyArena_Malloc(arena, sizeof(*p));
 8490|   110k|    if (!p)
  ------------------
  |  Branch (8490:9): [True: 0, False: 110k]
  ------------------
 8491|      0|        return NULL;
 8492|   110k|    p->posonlyargs = posonlyargs;
 8493|   110k|    p->args = args;
 8494|   110k|    p->vararg = vararg;
 8495|   110k|    p->kwonlyargs = kwonlyargs;
 8496|   110k|    p->kw_defaults = kw_defaults;
 8497|   110k|    p->kwarg = kwarg;
 8498|   110k|    p->defaults = defaults;
 8499|   110k|    return p;
 8500|   110k|}
_PyAST_arg:
 8505|  3.39M|{
 8506|  3.39M|    arg_ty p;
 8507|  3.39M|    if (!arg) {
  ------------------
  |  Branch (8507:9): [True: 0, False: 3.39M]
  ------------------
 8508|      0|        PyErr_SetString(PyExc_ValueError,
 8509|      0|                        "field 'arg' is required for arg");
 8510|      0|        return NULL;
 8511|      0|    }
 8512|  3.39M|    p = (arg_ty)_PyArena_Malloc(arena, sizeof(*p));
 8513|  3.39M|    if (!p)
  ------------------
  |  Branch (8513:9): [True: 0, False: 3.39M]
  ------------------
 8514|      0|        return NULL;
 8515|  3.39M|    p->arg = arg;
 8516|  3.39M|    p->annotation = annotation;
 8517|  3.39M|    p->type_comment = type_comment;
 8518|  3.39M|    p->lineno = lineno;
 8519|  3.39M|    p->col_offset = col_offset;
 8520|  3.39M|    p->end_lineno = end_lineno;
 8521|  3.39M|    p->end_col_offset = end_col_offset;
 8522|  3.39M|    return p;
 8523|  3.39M|}
_PyAST_keyword:
 8528|  1.26k|{
 8529|  1.26k|    keyword_ty p;
 8530|  1.26k|    if (!value) {
  ------------------
  |  Branch (8530:9): [True: 0, False: 1.26k]
  ------------------
 8531|      0|        PyErr_SetString(PyExc_ValueError,
 8532|      0|                        "field 'value' is required for keyword");
 8533|      0|        return NULL;
 8534|      0|    }
 8535|  1.26k|    p = (keyword_ty)_PyArena_Malloc(arena, sizeof(*p));
 8536|  1.26k|    if (!p)
  ------------------
  |  Branch (8536:9): [True: 0, False: 1.26k]
  ------------------
 8537|      0|        return NULL;
 8538|  1.26k|    p->arg = arg;
 8539|  1.26k|    p->value = value;
 8540|  1.26k|    p->lineno = lineno;
 8541|  1.26k|    p->col_offset = col_offset;
 8542|  1.26k|    p->end_lineno = end_lineno;
 8543|  1.26k|    p->end_col_offset = end_col_offset;
 8544|  1.26k|    return p;
 8545|  1.26k|}
_PyAST_alias:
 8550|    498|{
 8551|    498|    alias_ty p;
 8552|    498|    if (!name) {
  ------------------
  |  Branch (8552:9): [True: 0, False: 498]
  ------------------
 8553|      0|        PyErr_SetString(PyExc_ValueError,
 8554|      0|                        "field 'name' is required for alias");
 8555|      0|        return NULL;
 8556|      0|    }
 8557|    498|    p = (alias_ty)_PyArena_Malloc(arena, sizeof(*p));
 8558|    498|    if (!p)
  ------------------
  |  Branch (8558:9): [True: 0, False: 498]
  ------------------
 8559|      0|        return NULL;
 8560|    498|    p->name = name;
 8561|    498|    p->asname = asname;
 8562|    498|    p->lineno = lineno;
 8563|    498|    p->col_offset = col_offset;
 8564|    498|    p->end_lineno = end_lineno;
 8565|    498|    p->end_col_offset = end_col_offset;
 8566|    498|    return p;
 8567|    498|}
_PyAST_withitem:
 8571|     51|{
 8572|     51|    withitem_ty p;
 8573|     51|    if (!context_expr) {
  ------------------
  |  Branch (8573:9): [True: 0, False: 51]
  ------------------
 8574|      0|        PyErr_SetString(PyExc_ValueError,
 8575|      0|                        "field 'context_expr' is required for withitem");
 8576|      0|        return NULL;
 8577|      0|    }
 8578|     51|    p = (withitem_ty)_PyArena_Malloc(arena, sizeof(*p));
 8579|     51|    if (!p)
  ------------------
  |  Branch (8579:9): [True: 0, False: 51]
  ------------------
 8580|      0|        return NULL;
 8581|     51|    p->context_expr = context_expr;
 8582|     51|    p->optional_vars = optional_vars;
 8583|     51|    return p;
 8584|     51|}
_PyAST_match_case:
 8589|      4|{
 8590|      4|    match_case_ty p;
 8591|      4|    if (!pattern) {
  ------------------
  |  Branch (8591:9): [True: 0, False: 4]
  ------------------
 8592|      0|        PyErr_SetString(PyExc_ValueError,
 8593|      0|                        "field 'pattern' is required for match_case");
 8594|      0|        return NULL;
 8595|      0|    }
 8596|      4|    p = (match_case_ty)_PyArena_Malloc(arena, sizeof(*p));
 8597|      4|    if (!p)
  ------------------
  |  Branch (8597:9): [True: 0, False: 4]
  ------------------
 8598|      0|        return NULL;
 8599|      4|    p->pattern = pattern;
 8600|      4|    p->guard = guard;
 8601|      4|    p->body = body;
 8602|      4|    return p;
 8603|      4|}
_PyAST_MatchValue:
 8608|      4|{
 8609|      4|    pattern_ty p;
 8610|      4|    if (!value) {
  ------------------
  |  Branch (8610:9): [True: 0, False: 4]
  ------------------
 8611|      0|        PyErr_SetString(PyExc_ValueError,
 8612|      0|                        "field 'value' is required for MatchValue");
 8613|      0|        return NULL;
 8614|      0|    }
 8615|      4|    p = (pattern_ty)_PyArena_Malloc(arena, sizeof(*p));
 8616|      4|    if (!p)
  ------------------
  |  Branch (8616:9): [True: 0, False: 4]
  ------------------
 8617|      0|        return NULL;
 8618|      4|    p->kind = MatchValue_kind;
 8619|      4|    p->v.MatchValue.value = value;
 8620|      4|    p->lineno = lineno;
 8621|      4|    p->col_offset = col_offset;
 8622|      4|    p->end_lineno = end_lineno;
 8623|      4|    p->end_col_offset = end_col_offset;
 8624|      4|    return p;
 8625|      4|}
PyInit__ast:
18449|      2|{
18450|      2|    return PyModuleDef_Init(&_astmodule);
18451|      2|}
PyAST_mod2obj:
18455|      6|{
18456|      6|    struct ast_state *state = get_ast_state();
18457|      6|    if (state == NULL) {
  ------------------
  |  Branch (18457:9): [True: 0, False: 6]
  ------------------
18458|      0|        return NULL;
18459|      0|    }
18460|      6|    PyObject *result = ast2obj_mod(state, t);
18461|       |
18462|      6|    return result;
18463|      6|}
PyAST_Check:
18516|  27.2k|{
18517|  27.2k|    struct ast_state *state = get_ast_state();
18518|  27.2k|    if (state == NULL) {
  ------------------
  |  Branch (18518:9): [True: 0, False: 27.2k]
  ------------------
18519|      0|        return -1;
18520|      0|    }
18521|  27.2k|    return PyObject_IsInstance(obj, state->AST_type);
18522|  27.2k|}
Python-ast.c:astmodule_exec:
18019|      2|{
18020|      2|    struct ast_state *state = get_ast_state();
18021|      2|    if (state == NULL) {
  ------------------
  |  Branch (18021:9): [True: 0, False: 2]
  ------------------
18022|      0|        return -1;
18023|      0|    }
18024|      2|    if (PyModule_AddObjectRef(m, "AST", state->AST_type) < 0) {
  ------------------
  |  Branch (18024:9): [True: 0, False: 2]
  ------------------
18025|      0|        return -1;
18026|      0|    }
18027|      2|    if (PyModule_AddIntMacro(m, PyCF_ALLOW_TOP_LEVEL_AWAIT) < 0) {
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  ------------------
  |  Branch (18027:9): [True: 0, False: 2]
  ------------------
18028|      0|        return -1;
18029|      0|    }
18030|      2|    if (PyModule_AddIntMacro(m, PyCF_ONLY_AST) < 0) {
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  ------------------
  |  Branch (18030:9): [True: 0, False: 2]
  ------------------
18031|      0|        return -1;
18032|      0|    }
18033|      2|    if (PyModule_AddIntMacro(m, PyCF_TYPE_COMMENTS) < 0) {
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  ------------------
  |  Branch (18033:9): [True: 0, False: 2]
  ------------------
18034|      0|        return -1;
18035|      0|    }
18036|      2|    if (PyModule_AddIntMacro(m, PyCF_OPTIMIZED_AST) < 0) {
  ------------------
  |  |   47|      2|#define PyModule_AddIntMacro(m, c) PyModule_AddIntConstant((m), #c, (c))
  ------------------
  |  Branch (18036:9): [True: 0, False: 2]
  ------------------
18037|      0|        return -1;
18038|      0|    }
18039|      2|    if (PyModule_AddObjectRef(m, "mod", state->mod_type) < 0) {
  ------------------
  |  Branch (18039:9): [True: 0, False: 2]
  ------------------
18040|      0|        return -1;
18041|      0|    }
18042|      2|    if (PyModule_AddObjectRef(m, "Module", state->Module_type) < 0) {
  ------------------
  |  Branch (18042:9): [True: 0, False: 2]
  ------------------
18043|      0|        return -1;
18044|      0|    }
18045|      2|    if (PyModule_AddObjectRef(m, "Interactive", state->Interactive_type) < 0) {
  ------------------
  |  Branch (18045:9): [True: 0, False: 2]
  ------------------
18046|      0|        return -1;
18047|      0|    }
18048|      2|    if (PyModule_AddObjectRef(m, "Expression", state->Expression_type) < 0) {
  ------------------
  |  Branch (18048:9): [True: 0, False: 2]
  ------------------
18049|      0|        return -1;
18050|      0|    }
18051|      2|    if (PyModule_AddObjectRef(m, "FunctionType", state->FunctionType_type) < 0)
  ------------------
  |  Branch (18051:9): [True: 0, False: 2]
  ------------------
18052|      0|        {
18053|      0|        return -1;
18054|      0|    }
18055|      2|    if (PyModule_AddObjectRef(m, "stmt", state->stmt_type) < 0) {
  ------------------
  |  Branch (18055:9): [True: 0, False: 2]
  ------------------
18056|      0|        return -1;
18057|      0|    }
18058|      2|    if (PyModule_AddObjectRef(m, "FunctionDef", state->FunctionDef_type) < 0) {
  ------------------
  |  Branch (18058:9): [True: 0, False: 2]
  ------------------
18059|      0|        return -1;
18060|      0|    }
18061|      2|    if (PyModule_AddObjectRef(m, "AsyncFunctionDef",
  ------------------
  |  Branch (18061:9): [True: 0, False: 2]
  ------------------
18062|      2|        state->AsyncFunctionDef_type) < 0) {
18063|      0|        return -1;
18064|      0|    }
18065|      2|    if (PyModule_AddObjectRef(m, "ClassDef", state->ClassDef_type) < 0) {
  ------------------
  |  Branch (18065:9): [True: 0, False: 2]
  ------------------
18066|      0|        return -1;
18067|      0|    }
18068|      2|    if (PyModule_AddObjectRef(m, "Return", state->Return_type) < 0) {
  ------------------
  |  Branch (18068:9): [True: 0, False: 2]
  ------------------
18069|      0|        return -1;
18070|      0|    }
18071|      2|    if (PyModule_AddObjectRef(m, "Delete", state->Delete_type) < 0) {
  ------------------
  |  Branch (18071:9): [True: 0, False: 2]
  ------------------
18072|      0|        return -1;
18073|      0|    }
18074|      2|    if (PyModule_AddObjectRef(m, "Assign", state->Assign_type) < 0) {
  ------------------
  |  Branch (18074:9): [True: 0, False: 2]
  ------------------
18075|      0|        return -1;
18076|      0|    }
18077|      2|    if (PyModule_AddObjectRef(m, "TypeAlias", state->TypeAlias_type) < 0) {
  ------------------
  |  Branch (18077:9): [True: 0, False: 2]
  ------------------
18078|      0|        return -1;
18079|      0|    }
18080|      2|    if (PyModule_AddObjectRef(m, "AugAssign", state->AugAssign_type) < 0) {
  ------------------
  |  Branch (18080:9): [True: 0, False: 2]
  ------------------
18081|      0|        return -1;
18082|      0|    }
18083|      2|    if (PyModule_AddObjectRef(m, "AnnAssign", state->AnnAssign_type) < 0) {
  ------------------
  |  Branch (18083:9): [True: 0, False: 2]
  ------------------
18084|      0|        return -1;
18085|      0|    }
18086|      2|    if (PyModule_AddObjectRef(m, "For", state->For_type) < 0) {
  ------------------
  |  Branch (18086:9): [True: 0, False: 2]
  ------------------
18087|      0|        return -1;
18088|      0|    }
18089|      2|    if (PyModule_AddObjectRef(m, "AsyncFor", state->AsyncFor_type) < 0) {
  ------------------
  |  Branch (18089:9): [True: 0, False: 2]
  ------------------
18090|      0|        return -1;
18091|      0|    }
18092|      2|    if (PyModule_AddObjectRef(m, "While", state->While_type) < 0) {
  ------------------
  |  Branch (18092:9): [True: 0, False: 2]
  ------------------
18093|      0|        return -1;
18094|      0|    }
18095|      2|    if (PyModule_AddObjectRef(m, "If", state->If_type) < 0) {
  ------------------
  |  Branch (18095:9): [True: 0, False: 2]
  ------------------
18096|      0|        return -1;
18097|      0|    }
18098|      2|    if (PyModule_AddObjectRef(m, "With", state->With_type) < 0) {
  ------------------
  |  Branch (18098:9): [True: 0, False: 2]
  ------------------
18099|      0|        return -1;
18100|      0|    }
18101|      2|    if (PyModule_AddObjectRef(m, "AsyncWith", state->AsyncWith_type) < 0) {
  ------------------
  |  Branch (18101:9): [True: 0, False: 2]
  ------------------
18102|      0|        return -1;
18103|      0|    }
18104|      2|    if (PyModule_AddObjectRef(m, "Match", state->Match_type) < 0) {
  ------------------
  |  Branch (18104:9): [True: 0, False: 2]
  ------------------
18105|      0|        return -1;
18106|      0|    }
18107|      2|    if (PyModule_AddObjectRef(m, "Raise", state->Raise_type) < 0) {
  ------------------
  |  Branch (18107:9): [True: 0, False: 2]
  ------------------
18108|      0|        return -1;
18109|      0|    }
18110|      2|    if (PyModule_AddObjectRef(m, "Try", state->Try_type) < 0) {
  ------------------
  |  Branch (18110:9): [True: 0, False: 2]
  ------------------
18111|      0|        return -1;
18112|      0|    }
18113|      2|    if (PyModule_AddObjectRef(m, "TryStar", state->TryStar_type) < 0) {
  ------------------
  |  Branch (18113:9): [True: 0, False: 2]
  ------------------
18114|      0|        return -1;
18115|      0|    }
18116|      2|    if (PyModule_AddObjectRef(m, "Assert", state->Assert_type) < 0) {
  ------------------
  |  Branch (18116:9): [True: 0, False: 2]
  ------------------
18117|      0|        return -1;
18118|      0|    }
18119|      2|    if (PyModule_AddObjectRef(m, "Import", state->Import_type) < 0) {
  ------------------
  |  Branch (18119:9): [True: 0, False: 2]
  ------------------
18120|      0|        return -1;
18121|      0|    }
18122|      2|    if (PyModule_AddObjectRef(m, "ImportFrom", state->ImportFrom_type) < 0) {
  ------------------
  |  Branch (18122:9): [True: 0, False: 2]
  ------------------
18123|      0|        return -1;
18124|      0|    }
18125|      2|    if (PyModule_AddObjectRef(m, "Global", state->Global_type) < 0) {
  ------------------
  |  Branch (18125:9): [True: 0, False: 2]
  ------------------
18126|      0|        return -1;
18127|      0|    }
18128|      2|    if (PyModule_AddObjectRef(m, "Nonlocal", state->Nonlocal_type) < 0) {
  ------------------
  |  Branch (18128:9): [True: 0, False: 2]
  ------------------
18129|      0|        return -1;
18130|      0|    }
18131|      2|    if (PyModule_AddObjectRef(m, "Expr", state->Expr_type) < 0) {
  ------------------
  |  Branch (18131:9): [True: 0, False: 2]
  ------------------
18132|      0|        return -1;
18133|      0|    }
18134|      2|    if (PyModule_AddObjectRef(m, "Pass", state->Pass_type) < 0) {
  ------------------
  |  Branch (18134:9): [True: 0, False: 2]
  ------------------
18135|      0|        return -1;
18136|      0|    }
18137|      2|    if (PyModule_AddObjectRef(m, "Break", state->Break_type) < 0) {
  ------------------
  |  Branch (18137:9): [True: 0, False: 2]
  ------------------
18138|      0|        return -1;
18139|      0|    }
18140|      2|    if (PyModule_AddObjectRef(m, "Continue", state->Continue_type) < 0) {
  ------------------
  |  Branch (18140:9): [True: 0, False: 2]
  ------------------
18141|      0|        return -1;
18142|      0|    }
18143|      2|    if (PyModule_AddObjectRef(m, "expr", state->expr_type) < 0) {
  ------------------
  |  Branch (18143:9): [True: 0, False: 2]
  ------------------
18144|      0|        return -1;
18145|      0|    }
18146|      2|    if (PyModule_AddObjectRef(m, "BoolOp", state->BoolOp_type) < 0) {
  ------------------
  |  Branch (18146:9): [True: 0, False: 2]
  ------------------
18147|      0|        return -1;
18148|      0|    }
18149|      2|    if (PyModule_AddObjectRef(m, "NamedExpr", state->NamedExpr_type) < 0) {
  ------------------
  |  Branch (18149:9): [True: 0, False: 2]
  ------------------
18150|      0|        return -1;
18151|      0|    }
18152|      2|    if (PyModule_AddObjectRef(m, "BinOp", state->BinOp_type) < 0) {
  ------------------
  |  Branch (18152:9): [True: 0, False: 2]
  ------------------
18153|      0|        return -1;
18154|      0|    }
18155|      2|    if (PyModule_AddObjectRef(m, "UnaryOp", state->UnaryOp_type) < 0) {
  ------------------
  |  Branch (18155:9): [True: 0, False: 2]
  ------------------
18156|      0|        return -1;
18157|      0|    }
18158|      2|    if (PyModule_AddObjectRef(m, "Lambda", state->Lambda_type) < 0) {
  ------------------
  |  Branch (18158:9): [True: 0, False: 2]
  ------------------
18159|      0|        return -1;
18160|      0|    }
18161|      2|    if (PyModule_AddObjectRef(m, "IfExp", state->IfExp_type) < 0) {
  ------------------
  |  Branch (18161:9): [True: 0, False: 2]
  ------------------
18162|      0|        return -1;
18163|      0|    }
18164|      2|    if (PyModule_AddObjectRef(m, "Dict", state->Dict_type) < 0) {
  ------------------
  |  Branch (18164:9): [True: 0, False: 2]
  ------------------
18165|      0|        return -1;
18166|      0|    }
18167|      2|    if (PyModule_AddObjectRef(m, "Set", state->Set_type) < 0) {
  ------------------
  |  Branch (18167:9): [True: 0, False: 2]
  ------------------
18168|      0|        return -1;
18169|      0|    }
18170|      2|    if (PyModule_AddObjectRef(m, "ListComp", state->ListComp_type) < 0) {
  ------------------
  |  Branch (18170:9): [True: 0, False: 2]
  ------------------
18171|      0|        return -1;
18172|      0|    }
18173|      2|    if (PyModule_AddObjectRef(m, "SetComp", state->SetComp_type) < 0) {
  ------------------
  |  Branch (18173:9): [True: 0, False: 2]
  ------------------
18174|      0|        return -1;
18175|      0|    }
18176|      2|    if (PyModule_AddObjectRef(m, "DictComp", state->DictComp_type) < 0) {
  ------------------
  |  Branch (18176:9): [True: 0, False: 2]
  ------------------
18177|      0|        return -1;
18178|      0|    }
18179|      2|    if (PyModule_AddObjectRef(m, "GeneratorExp", state->GeneratorExp_type) < 0)
  ------------------
  |  Branch (18179:9): [True: 0, False: 2]
  ------------------
18180|      0|        {
18181|      0|        return -1;
18182|      0|    }
18183|      2|    if (PyModule_AddObjectRef(m, "Await", state->Await_type) < 0) {
  ------------------
  |  Branch (18183:9): [True: 0, False: 2]
  ------------------
18184|      0|        return -1;
18185|      0|    }
18186|      2|    if (PyModule_AddObjectRef(m, "Yield", state->Yield_type) < 0) {
  ------------------
  |  Branch (18186:9): [True: 0, False: 2]
  ------------------
18187|      0|        return -1;
18188|      0|    }
18189|      2|    if (PyModule_AddObjectRef(m, "YieldFrom", state->YieldFrom_type) < 0) {
  ------------------
  |  Branch (18189:9): [True: 0, False: 2]
  ------------------
18190|      0|        return -1;
18191|      0|    }
18192|      2|    if (PyModule_AddObjectRef(m, "Compare", state->Compare_type) < 0) {
  ------------------
  |  Branch (18192:9): [True: 0, False: 2]
  ------------------
18193|      0|        return -1;
18194|      0|    }
18195|      2|    if (PyModule_AddObjectRef(m, "Call", state->Call_type) < 0) {
  ------------------
  |  Branch (18195:9): [True: 0, False: 2]
  ------------------
18196|      0|        return -1;
18197|      0|    }
18198|      2|    if (PyModule_AddObjectRef(m, "FormattedValue", state->FormattedValue_type)
  ------------------
  |  Branch (18198:9): [True: 0, False: 2]
  ------------------
18199|      2|        < 0) {
18200|      0|        return -1;
18201|      0|    }
18202|      2|    if (PyModule_AddObjectRef(m, "Interpolation", state->Interpolation_type) <
  ------------------
  |  Branch (18202:9): [True: 0, False: 2]
  ------------------
18203|      2|        0) {
18204|      0|        return -1;
18205|      0|    }
18206|      2|    if (PyModule_AddObjectRef(m, "JoinedStr", state->JoinedStr_type) < 0) {
  ------------------
  |  Branch (18206:9): [True: 0, False: 2]
  ------------------
18207|      0|        return -1;
18208|      0|    }
18209|      2|    if (PyModule_AddObjectRef(m, "TemplateStr", state->TemplateStr_type) < 0) {
  ------------------
  |  Branch (18209:9): [True: 0, False: 2]
  ------------------
18210|      0|        return -1;
18211|      0|    }
18212|      2|    if (PyModule_AddObjectRef(m, "Constant", state->Constant_type) < 0) {
  ------------------
  |  Branch (18212:9): [True: 0, False: 2]
  ------------------
18213|      0|        return -1;
18214|      0|    }
18215|      2|    if (PyModule_AddObjectRef(m, "Attribute", state->Attribute_type) < 0) {
  ------------------
  |  Branch (18215:9): [True: 0, False: 2]
  ------------------
18216|      0|        return -1;
18217|      0|    }
18218|      2|    if (PyModule_AddObjectRef(m, "Subscript", state->Subscript_type) < 0) {
  ------------------
  |  Branch (18218:9): [True: 0, False: 2]
  ------------------
18219|      0|        return -1;
18220|      0|    }
18221|      2|    if (PyModule_AddObjectRef(m, "Starred", state->Starred_type) < 0) {
  ------------------
  |  Branch (18221:9): [True: 0, False: 2]
  ------------------
18222|      0|        return -1;
18223|      0|    }
18224|      2|    if (PyModule_AddObjectRef(m, "Name", state->Name_type) < 0) {
  ------------------
  |  Branch (18224:9): [True: 0, False: 2]
  ------------------
18225|      0|        return -1;
18226|      0|    }
18227|      2|    if (PyModule_AddObjectRef(m, "List", state->List_type) < 0) {
  ------------------
  |  Branch (18227:9): [True: 0, False: 2]
  ------------------
18228|      0|        return -1;
18229|      0|    }
18230|      2|    if (PyModule_AddObjectRef(m, "Tuple", state->Tuple_type) < 0) {
  ------------------
  |  Branch (18230:9): [True: 0, False: 2]
  ------------------
18231|      0|        return -1;
18232|      0|    }
18233|      2|    if (PyModule_AddObjectRef(m, "Slice", state->Slice_type) < 0) {
  ------------------
  |  Branch (18233:9): [True: 0, False: 2]
  ------------------
18234|      0|        return -1;
18235|      0|    }
18236|      2|    if (PyModule_AddObjectRef(m, "expr_context", state->expr_context_type) < 0)
  ------------------
  |  Branch (18236:9): [True: 0, False: 2]
  ------------------
18237|      0|        {
18238|      0|        return -1;
18239|      0|    }
18240|      2|    if (PyModule_AddObjectRef(m, "Load", state->Load_type) < 0) {
  ------------------
  |  Branch (18240:9): [True: 0, False: 2]
  ------------------
18241|      0|        return -1;
18242|      0|    }
18243|      2|    if (PyModule_AddObjectRef(m, "Store", state->Store_type) < 0) {
  ------------------
  |  Branch (18243:9): [True: 0, False: 2]
  ------------------
18244|      0|        return -1;
18245|      0|    }
18246|      2|    if (PyModule_AddObjectRef(m, "Del", state->Del_type) < 0) {
  ------------------
  |  Branch (18246:9): [True: 0, False: 2]
  ------------------
18247|      0|        return -1;
18248|      0|    }
18249|      2|    if (PyModule_AddObjectRef(m, "boolop", state->boolop_type) < 0) {
  ------------------
  |  Branch (18249:9): [True: 0, False: 2]
  ------------------
18250|      0|        return -1;
18251|      0|    }
18252|      2|    if (PyModule_AddObjectRef(m, "And", state->And_type) < 0) {
  ------------------
  |  Branch (18252:9): [True: 0, False: 2]
  ------------------
18253|      0|        return -1;
18254|      0|    }
18255|      2|    if (PyModule_AddObjectRef(m, "Or", state->Or_type) < 0) {
  ------------------
  |  Branch (18255:9): [True: 0, False: 2]
  ------------------
18256|      0|        return -1;
18257|      0|    }
18258|      2|    if (PyModule_AddObjectRef(m, "operator", state->operator_type) < 0) {
  ------------------
  |  Branch (18258:9): [True: 0, False: 2]
  ------------------
18259|      0|        return -1;
18260|      0|    }
18261|      2|    if (PyModule_AddObjectRef(m, "Add", state->Add_type) < 0) {
  ------------------
  |  Branch (18261:9): [True: 0, False: 2]
  ------------------
18262|      0|        return -1;
18263|      0|    }
18264|      2|    if (PyModule_AddObjectRef(m, "Sub", state->Sub_type) < 0) {
  ------------------
  |  Branch (18264:9): [True: 0, False: 2]
  ------------------
18265|      0|        return -1;
18266|      0|    }
18267|      2|    if (PyModule_AddObjectRef(m, "Mult", state->Mult_type) < 0) {
  ------------------
  |  Branch (18267:9): [True: 0, False: 2]
  ------------------
18268|      0|        return -1;
18269|      0|    }
18270|      2|    if (PyModule_AddObjectRef(m, "MatMult", state->MatMult_type) < 0) {
  ------------------
  |  Branch (18270:9): [True: 0, False: 2]
  ------------------
18271|      0|        return -1;
18272|      0|    }
18273|      2|    if (PyModule_AddObjectRef(m, "Div", state->Div_type) < 0) {
  ------------------
  |  Branch (18273:9): [True: 0, False: 2]
  ------------------
18274|      0|        return -1;
18275|      0|    }
18276|      2|    if (PyModule_AddObjectRef(m, "Mod", state->Mod_type) < 0) {
  ------------------
  |  Branch (18276:9): [True: 0, False: 2]
  ------------------
18277|      0|        return -1;
18278|      0|    }
18279|      2|    if (PyModule_AddObjectRef(m, "Pow", state->Pow_type) < 0) {
  ------------------
  |  Branch (18279:9): [True: 0, False: 2]
  ------------------
18280|      0|        return -1;
18281|      0|    }
18282|      2|    if (PyModule_AddObjectRef(m, "LShift", state->LShift_type) < 0) {
  ------------------
  |  Branch (18282:9): [True: 0, False: 2]
  ------------------
18283|      0|        return -1;
18284|      0|    }
18285|      2|    if (PyModule_AddObjectRef(m, "RShift", state->RShift_type) < 0) {
  ------------------
  |  Branch (18285:9): [True: 0, False: 2]
  ------------------
18286|      0|        return -1;
18287|      0|    }
18288|      2|    if (PyModule_AddObjectRef(m, "BitOr", state->BitOr_type) < 0) {
  ------------------
  |  Branch (18288:9): [True: 0, False: 2]
  ------------------
18289|      0|        return -1;
18290|      0|    }
18291|      2|    if (PyModule_AddObjectRef(m, "BitXor", state->BitXor_type) < 0) {
  ------------------
  |  Branch (18291:9): [True: 0, False: 2]
  ------------------
18292|      0|        return -1;
18293|      0|    }
18294|      2|    if (PyModule_AddObjectRef(m, "BitAnd", state->BitAnd_type) < 0) {
  ------------------
  |  Branch (18294:9): [True: 0, False: 2]
  ------------------
18295|      0|        return -1;
18296|      0|    }
18297|      2|    if (PyModule_AddObjectRef(m, "FloorDiv", state->FloorDiv_type) < 0) {
  ------------------
  |  Branch (18297:9): [True: 0, False: 2]
  ------------------
18298|      0|        return -1;
18299|      0|    }
18300|      2|    if (PyModule_AddObjectRef(m, "unaryop", state->unaryop_type) < 0) {
  ------------------
  |  Branch (18300:9): [True: 0, False: 2]
  ------------------
18301|      0|        return -1;
18302|      0|    }
18303|      2|    if (PyModule_AddObjectRef(m, "Invert", state->Invert_type) < 0) {
  ------------------
  |  Branch (18303:9): [True: 0, False: 2]
  ------------------
18304|      0|        return -1;
18305|      0|    }
18306|      2|    if (PyModule_AddObjectRef(m, "Not", state->Not_type) < 0) {
  ------------------
  |  Branch (18306:9): [True: 0, False: 2]
  ------------------
18307|      0|        return -1;
18308|      0|    }
18309|      2|    if (PyModule_AddObjectRef(m, "UAdd", state->UAdd_type) < 0) {
  ------------------
  |  Branch (18309:9): [True: 0, False: 2]
  ------------------
18310|      0|        return -1;
18311|      0|    }
18312|      2|    if (PyModule_AddObjectRef(m, "USub", state->USub_type) < 0) {
  ------------------
  |  Branch (18312:9): [True: 0, False: 2]
  ------------------
18313|      0|        return -1;
18314|      0|    }
18315|      2|    if (PyModule_AddObjectRef(m, "cmpop", state->cmpop_type) < 0) {
  ------------------
  |  Branch (18315:9): [True: 0, False: 2]
  ------------------
18316|      0|        return -1;
18317|      0|    }
18318|      2|    if (PyModule_AddObjectRef(m, "Eq", state->Eq_type) < 0) {
  ------------------
  |  Branch (18318:9): [True: 0, False: 2]
  ------------------
18319|      0|        return -1;
18320|      0|    }
18321|      2|    if (PyModule_AddObjectRef(m, "NotEq", state->NotEq_type) < 0) {
  ------------------
  |  Branch (18321:9): [True: 0, False: 2]
  ------------------
18322|      0|        return -1;
18323|      0|    }
18324|      2|    if (PyModule_AddObjectRef(m, "Lt", state->Lt_type) < 0) {
  ------------------
  |  Branch (18324:9): [True: 0, False: 2]
  ------------------
18325|      0|        return -1;
18326|      0|    }
18327|      2|    if (PyModule_AddObjectRef(m, "LtE", state->LtE_type) < 0) {
  ------------------
  |  Branch (18327:9): [True: 0, False: 2]
  ------------------
18328|      0|        return -1;
18329|      0|    }
18330|      2|    if (PyModule_AddObjectRef(m, "Gt", state->Gt_type) < 0) {
  ------------------
  |  Branch (18330:9): [True: 0, False: 2]
  ------------------
18331|      0|        return -1;
18332|      0|    }
18333|      2|    if (PyModule_AddObjectRef(m, "GtE", state->GtE_type) < 0) {
  ------------------
  |  Branch (18333:9): [True: 0, False: 2]
  ------------------
18334|      0|        return -1;
18335|      0|    }
18336|      2|    if (PyModule_AddObjectRef(m, "Is", state->Is_type) < 0) {
  ------------------
  |  Branch (18336:9): [True: 0, False: 2]
  ------------------
18337|      0|        return -1;
18338|      0|    }
18339|      2|    if (PyModule_AddObjectRef(m, "IsNot", state->IsNot_type) < 0) {
  ------------------
  |  Branch (18339:9): [True: 0, False: 2]
  ------------------
18340|      0|        return -1;
18341|      0|    }
18342|      2|    if (PyModule_AddObjectRef(m, "In", state->In_type) < 0) {
  ------------------
  |  Branch (18342:9): [True: 0, False: 2]
  ------------------
18343|      0|        return -1;
18344|      0|    }
18345|      2|    if (PyModule_AddObjectRef(m, "NotIn", state->NotIn_type) < 0) {
  ------------------
  |  Branch (18345:9): [True: 0, False: 2]
  ------------------
18346|      0|        return -1;
18347|      0|    }
18348|      2|    if (PyModule_AddObjectRef(m, "comprehension", state->comprehension_type) <
  ------------------
  |  Branch (18348:9): [True: 0, False: 2]
  ------------------
18349|      2|        0) {
18350|      0|        return -1;
18351|      0|    }
18352|      2|    if (PyModule_AddObjectRef(m, "excepthandler", state->excepthandler_type) <
  ------------------
  |  Branch (18352:9): [True: 0, False: 2]
  ------------------
18353|      2|        0) {
18354|      0|        return -1;
18355|      0|    }
18356|      2|    if (PyModule_AddObjectRef(m, "ExceptHandler", state->ExceptHandler_type) <
  ------------------
  |  Branch (18356:9): [True: 0, False: 2]
  ------------------
18357|      2|        0) {
18358|      0|        return -1;
18359|      0|    }
18360|      2|    if (PyModule_AddObjectRef(m, "arguments", state->arguments_type) < 0) {
  ------------------
  |  Branch (18360:9): [True: 0, False: 2]
  ------------------
18361|      0|        return -1;
18362|      0|    }
18363|      2|    if (PyModule_AddObjectRef(m, "arg", state->arg_type) < 0) {
  ------------------
  |  Branch (18363:9): [True: 0, False: 2]
  ------------------
18364|      0|        return -1;
18365|      0|    }
18366|      2|    if (PyModule_AddObjectRef(m, "keyword", state->keyword_type) < 0) {
  ------------------
  |  Branch (18366:9): [True: 0, False: 2]
  ------------------
18367|      0|        return -1;
18368|      0|    }
18369|      2|    if (PyModule_AddObjectRef(m, "alias", state->alias_type) < 0) {
  ------------------
  |  Branch (18369:9): [True: 0, False: 2]
  ------------------
18370|      0|        return -1;
18371|      0|    }
18372|      2|    if (PyModule_AddObjectRef(m, "withitem", state->withitem_type) < 0) {
  ------------------
  |  Branch (18372:9): [True: 0, False: 2]
  ------------------
18373|      0|        return -1;
18374|      0|    }
18375|      2|    if (PyModule_AddObjectRef(m, "match_case", state->match_case_type) < 0) {
  ------------------
  |  Branch (18375:9): [True: 0, False: 2]
  ------------------
18376|      0|        return -1;
18377|      0|    }
18378|      2|    if (PyModule_AddObjectRef(m, "pattern", state->pattern_type) < 0) {
  ------------------
  |  Branch (18378:9): [True: 0, False: 2]
  ------------------
18379|      0|        return -1;
18380|      0|    }
18381|      2|    if (PyModule_AddObjectRef(m, "MatchValue", state->MatchValue_type) < 0) {
  ------------------
  |  Branch (18381:9): [True: 0, False: 2]
  ------------------
18382|      0|        return -1;
18383|      0|    }
18384|      2|    if (PyModule_AddObjectRef(m, "MatchSingleton", state->MatchSingleton_type)
  ------------------
  |  Branch (18384:9): [True: 0, False: 2]
  ------------------
18385|      2|        < 0) {
18386|      0|        return -1;
18387|      0|    }
18388|      2|    if (PyModule_AddObjectRef(m, "MatchSequence", state->MatchSequence_type) <
  ------------------
  |  Branch (18388:9): [True: 0, False: 2]
  ------------------
18389|      2|        0) {
18390|      0|        return -1;
18391|      0|    }
18392|      2|    if (PyModule_AddObjectRef(m, "MatchMapping", state->MatchMapping_type) < 0)
  ------------------
  |  Branch (18392:9): [True: 0, False: 2]
  ------------------
18393|      0|        {
18394|      0|        return -1;
18395|      0|    }
18396|      2|    if (PyModule_AddObjectRef(m, "MatchClass", state->MatchClass_type) < 0) {
  ------------------
  |  Branch (18396:9): [True: 0, False: 2]
  ------------------
18397|      0|        return -1;
18398|      0|    }
18399|      2|    if (PyModule_AddObjectRef(m, "MatchStar", state->MatchStar_type) < 0) {
  ------------------
  |  Branch (18399:9): [True: 0, False: 2]
  ------------------
18400|      0|        return -1;
18401|      0|    }
18402|      2|    if (PyModule_AddObjectRef(m, "MatchAs", state->MatchAs_type) < 0) {
  ------------------
  |  Branch (18402:9): [True: 0, False: 2]
  ------------------
18403|      0|        return -1;
18404|      0|    }
18405|      2|    if (PyModule_AddObjectRef(m, "MatchOr", state->MatchOr_type) < 0) {
  ------------------
  |  Branch (18405:9): [True: 0, False: 2]
  ------------------
18406|      0|        return -1;
18407|      0|    }
18408|      2|    if (PyModule_AddObjectRef(m, "type_ignore", state->type_ignore_type) < 0) {
  ------------------
  |  Branch (18408:9): [True: 0, False: 2]
  ------------------
18409|      0|        return -1;
18410|      0|    }
18411|      2|    if (PyModule_AddObjectRef(m, "TypeIgnore", state->TypeIgnore_type) < 0) {
  ------------------
  |  Branch (18411:9): [True: 0, False: 2]
  ------------------
18412|      0|        return -1;
18413|      0|    }
18414|      2|    if (PyModule_AddObjectRef(m, "type_param", state->type_param_type) < 0) {
  ------------------
  |  Branch (18414:9): [True: 0, False: 2]
  ------------------
18415|      0|        return -1;
18416|      0|    }
18417|      2|    if (PyModule_AddObjectRef(m, "TypeVar", state->TypeVar_type) < 0) {
  ------------------
  |  Branch (18417:9): [True: 0, False: 2]
  ------------------
18418|      0|        return -1;
18419|      0|    }
18420|      2|    if (PyModule_AddObjectRef(m, "ParamSpec", state->ParamSpec_type) < 0) {
  ------------------
  |  Branch (18420:9): [True: 0, False: 2]
  ------------------
18421|      0|        return -1;
18422|      0|    }
18423|      2|    if (PyModule_AddObjectRef(m, "TypeVarTuple", state->TypeVarTuple_type) < 0)
  ------------------
  |  Branch (18423:9): [True: 0, False: 2]
  ------------------
18424|      0|        {
18425|      0|        return -1;
18426|      0|    }
18427|      2|    return 0;
18428|      2|}
Python-ast.c:get_ast_state:
   22|  27.2k|{
   23|  27.2k|    PyInterpreterState *interp = _PyInterpreterState_GET();
   24|  27.2k|    struct ast_state *state = &interp->ast;
   25|  27.2k|    assert(!state->finalized);
   26|  27.2k|    if (_PyOnceFlag_CallOnce(&state->once, (_Py_once_fn_t *)&init_types, state) < 0) {
  ------------------
  |  Branch (26:9): [True: 0, False: 27.2k]
  ------------------
   27|      0|        return NULL;
   28|      0|    }
   29|  27.2k|    return state;
   30|  27.2k|}
Python-ast.c:init_types:
 6108|      2|{
 6109|      2|    struct ast_state *state = arg;
 6110|      2|    if (init_identifiers(state) < 0) {
  ------------------
  |  Branch (6110:9): [True: 0, False: 2]
  ------------------
 6111|      0|        return -1;
 6112|      0|    }
 6113|      2|    state->AST_type = PyType_FromSpec(&AST_type_spec);
 6114|      2|    if (!state->AST_type) {
  ------------------
  |  Branch (6114:9): [True: 0, False: 2]
  ------------------
 6115|      0|        return -1;
 6116|      0|    }
 6117|      2|    state->abstract_types = PySet_New(NULL);
 6118|      2|    if (!state->abstract_types) {
  ------------------
  |  Branch (6118:9): [True: 0, False: 2]
  ------------------
 6119|      0|        return -1;
 6120|      0|    }
 6121|      2|    if (PySet_Add(state->abstract_types, state->AST_type) < 0) {
  ------------------
  |  Branch (6121:9): [True: 0, False: 2]
  ------------------
 6122|      0|        return -1;
 6123|      0|    }
 6124|      2|    if (add_ast_fields(state) < 0) {
  ------------------
  |  Branch (6124:9): [True: 0, False: 2]
  ------------------
 6125|      0|        return -1;
 6126|      0|    }
 6127|      2|    state->mod_type = make_type(state, "mod", state->AST_type, NULL, 0,
 6128|      2|        "mod = Module(stmt* body, type_ignore* type_ignores)\n"
 6129|      2|        "    | Interactive(stmt* body)\n"
 6130|      2|        "    | Expression(expr body)\n"
 6131|      2|        "    | FunctionType(expr* argtypes, expr returns)");
 6132|      2|    if (!state->mod_type) return -1;
  ------------------
  |  Branch (6132:9): [True: 0, False: 2]
  ------------------
 6133|      2|    if (add_attributes(state, state->mod_type, NULL, 0) < 0) return -1;
  ------------------
  |  Branch (6133:9): [True: 0, False: 2]
  ------------------
 6134|      2|    if (PySet_Add(state->abstract_types, state->mod_type) < 0) return -1;
  ------------------
  |  Branch (6134:9): [True: 0, False: 2]
  ------------------
 6135|      2|    state->Module_type = make_type(state, "Module", state->mod_type,
 6136|      2|                                   Module_fields, 2,
 6137|      2|        "Module(stmt* body, type_ignore* type_ignores)");
 6138|      2|    if (!state->Module_type) return -1;
  ------------------
  |  Branch (6138:9): [True: 0, False: 2]
  ------------------
 6139|      2|    state->Interactive_type = make_type(state, "Interactive", state->mod_type,
 6140|      2|                                        Interactive_fields, 1,
 6141|      2|        "Interactive(stmt* body)");
 6142|      2|    if (!state->Interactive_type) return -1;
  ------------------
  |  Branch (6142:9): [True: 0, False: 2]
  ------------------
 6143|      2|    state->Expression_type = make_type(state, "Expression", state->mod_type,
 6144|      2|                                       Expression_fields, 1,
 6145|      2|        "Expression(expr body)");
 6146|      2|    if (!state->Expression_type) return -1;
  ------------------
  |  Branch (6146:9): [True: 0, False: 2]
  ------------------
 6147|      2|    state->FunctionType_type = make_type(state, "FunctionType",
 6148|      2|                                         state->mod_type, FunctionType_fields,
 6149|      2|                                         2,
 6150|      2|        "FunctionType(expr* argtypes, expr returns)");
 6151|      2|    if (!state->FunctionType_type) return -1;
  ------------------
  |  Branch (6151:9): [True: 0, False: 2]
  ------------------
 6152|      2|    state->stmt_type = make_type(state, "stmt", state->AST_type, NULL, 0,
 6153|      2|        "stmt = FunctionDef(identifier name, arguments args, stmt* body, expr* decorator_list, expr? returns, string? type_comment, type_param* type_params)\n"
 6154|      2|        "     | AsyncFunctionDef(identifier name, arguments args, stmt* body, expr* decorator_list, expr? returns, string? type_comment, type_param* type_params)\n"
 6155|      2|        "     | ClassDef(identifier name, expr* bases, keyword* keywords, stmt* body, expr* decorator_list, type_param* type_params)\n"
 6156|      2|        "     | Return(expr? value)\n"
 6157|      2|        "     | Delete(expr* targets)\n"
 6158|      2|        "     | Assign(expr* targets, expr value, string? type_comment)\n"
 6159|      2|        "     | TypeAlias(expr name, type_param* type_params, expr value)\n"
 6160|      2|        "     | AugAssign(expr target, operator op, expr value)\n"
 6161|      2|        "     | AnnAssign(expr target, expr annotation, expr? value, int simple)\n"
 6162|      2|        "     | For(expr target, expr iter, stmt* body, stmt* orelse, string? type_comment)\n"
 6163|      2|        "     | AsyncFor(expr target, expr iter, stmt* body, stmt* orelse, string? type_comment)\n"
 6164|      2|        "     | While(expr test, stmt* body, stmt* orelse)\n"
 6165|      2|        "     | If(expr test, stmt* body, stmt* orelse)\n"
 6166|      2|        "     | With(withitem* items, stmt* body, string? type_comment)\n"
 6167|      2|        "     | AsyncWith(withitem* items, stmt* body, string? type_comment)\n"
 6168|      2|        "     | Match(expr subject, match_case* cases)\n"
 6169|      2|        "     | Raise(expr? exc, expr? cause)\n"
 6170|      2|        "     | Try(stmt* body, excepthandler* handlers, stmt* orelse, stmt* finalbody)\n"
 6171|      2|        "     | TryStar(stmt* body, excepthandler* handlers, stmt* orelse, stmt* finalbody)\n"
 6172|      2|        "     | Assert(expr test, expr? msg)\n"
 6173|      2|        "     | Import(alias* names, int? is_lazy)\n"
 6174|      2|        "     | ImportFrom(identifier? module, alias* names, int? level, int? is_lazy)\n"
 6175|      2|        "     | Global(identifier* names)\n"
 6176|      2|        "     | Nonlocal(identifier* names)\n"
 6177|      2|        "     | Expr(expr value)\n"
 6178|      2|        "     | Pass\n"
 6179|      2|        "     | Break\n"
 6180|      2|        "     | Continue");
 6181|      2|    if (!state->stmt_type) return -1;
  ------------------
  |  Branch (6181:9): [True: 0, False: 2]
  ------------------
 6182|      2|    if (add_attributes(state, state->stmt_type, stmt_attributes, 4) < 0) return
  ------------------
  |  Branch (6182:9): [True: 0, False: 2]
  ------------------
 6183|      0|        -1;
 6184|      2|    if (PySet_Add(state->abstract_types, state->stmt_type) < 0) return -1;
  ------------------
  |  Branch (6184:9): [True: 0, False: 2]
  ------------------
 6185|      2|    if (PyObject_SetAttr(state->stmt_type, state->end_lineno, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6185:9): [True: 0, False: 2]
  ------------------
 6186|      0|        return -1;
 6187|      2|    if (PyObject_SetAttr(state->stmt_type, state->end_col_offset, Py_None) ==
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6187:9): [True: 0, False: 2]
  ------------------
 6188|      2|        -1)
 6189|      0|        return -1;
 6190|      2|    state->FunctionDef_type = make_type(state, "FunctionDef", state->stmt_type,
 6191|      2|                                        FunctionDef_fields, 7,
 6192|      2|        "FunctionDef(identifier name, arguments args, stmt* body, expr* decorator_list, expr? returns, string? type_comment, type_param* type_params)");
 6193|      2|    if (!state->FunctionDef_type) return -1;
  ------------------
  |  Branch (6193:9): [True: 0, False: 2]
  ------------------
 6194|      2|    if (PyObject_SetAttr(state->FunctionDef_type, state->returns, Py_None) ==
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6194:9): [True: 0, False: 2]
  ------------------
 6195|      2|        -1)
 6196|      0|        return -1;
 6197|      2|    if (PyObject_SetAttr(state->FunctionDef_type, state->type_comment, Py_None)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6197:9): [True: 0, False: 2]
  ------------------
 6198|      2|        == -1)
 6199|      0|        return -1;
 6200|      2|    state->AsyncFunctionDef_type = make_type(state, "AsyncFunctionDef",
 6201|      2|                                             state->stmt_type,
 6202|      2|                                             AsyncFunctionDef_fields, 7,
 6203|      2|        "AsyncFunctionDef(identifier name, arguments args, stmt* body, expr* decorator_list, expr? returns, string? type_comment, type_param* type_params)");
 6204|      2|    if (!state->AsyncFunctionDef_type) return -1;
  ------------------
  |  Branch (6204:9): [True: 0, False: 2]
  ------------------
 6205|      2|    if (PyObject_SetAttr(state->AsyncFunctionDef_type, state->returns, Py_None)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6205:9): [True: 0, False: 2]
  ------------------
 6206|      2|        == -1)
 6207|      0|        return -1;
 6208|      2|    if (PyObject_SetAttr(state->AsyncFunctionDef_type, state->type_comment,
  ------------------
  |  Branch (6208:9): [True: 0, False: 2]
  ------------------
 6209|      2|        Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 6210|      0|        return -1;
 6211|      2|    state->ClassDef_type = make_type(state, "ClassDef", state->stmt_type,
 6212|      2|                                     ClassDef_fields, 6,
 6213|      2|        "ClassDef(identifier name, expr* bases, keyword* keywords, stmt* body, expr* decorator_list, type_param* type_params)");
 6214|      2|    if (!state->ClassDef_type) return -1;
  ------------------
  |  Branch (6214:9): [True: 0, False: 2]
  ------------------
 6215|      2|    state->Return_type = make_type(state, "Return", state->stmt_type,
 6216|      2|                                   Return_fields, 1,
 6217|      2|        "Return(expr? value)");
 6218|      2|    if (!state->Return_type) return -1;
  ------------------
  |  Branch (6218:9): [True: 0, False: 2]
  ------------------
 6219|      2|    if (PyObject_SetAttr(state->Return_type, state->value, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6219:9): [True: 0, False: 2]
  ------------------
 6220|      0|        return -1;
 6221|      2|    state->Delete_type = make_type(state, "Delete", state->stmt_type,
 6222|      2|                                   Delete_fields, 1,
 6223|      2|        "Delete(expr* targets)");
 6224|      2|    if (!state->Delete_type) return -1;
  ------------------
  |  Branch (6224:9): [True: 0, False: 2]
  ------------------
 6225|      2|    state->Assign_type = make_type(state, "Assign", state->stmt_type,
 6226|      2|                                   Assign_fields, 3,
 6227|      2|        "Assign(expr* targets, expr value, string? type_comment)");
 6228|      2|    if (!state->Assign_type) return -1;
  ------------------
  |  Branch (6228:9): [True: 0, False: 2]
  ------------------
 6229|      2|    if (PyObject_SetAttr(state->Assign_type, state->type_comment, Py_None) ==
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6229:9): [True: 0, False: 2]
  ------------------
 6230|      2|        -1)
 6231|      0|        return -1;
 6232|      2|    state->TypeAlias_type = make_type(state, "TypeAlias", state->stmt_type,
 6233|      2|                                      TypeAlias_fields, 3,
 6234|      2|        "TypeAlias(expr name, type_param* type_params, expr value)");
 6235|      2|    if (!state->TypeAlias_type) return -1;
  ------------------
  |  Branch (6235:9): [True: 0, False: 2]
  ------------------
 6236|      2|    state->AugAssign_type = make_type(state, "AugAssign", state->stmt_type,
 6237|      2|                                      AugAssign_fields, 3,
 6238|      2|        "AugAssign(expr target, operator op, expr value)");
 6239|      2|    if (!state->AugAssign_type) return -1;
  ------------------
  |  Branch (6239:9): [True: 0, False: 2]
  ------------------
 6240|      2|    state->AnnAssign_type = make_type(state, "AnnAssign", state->stmt_type,
 6241|      2|                                      AnnAssign_fields, 4,
 6242|      2|        "AnnAssign(expr target, expr annotation, expr? value, int simple)");
 6243|      2|    if (!state->AnnAssign_type) return -1;
  ------------------
  |  Branch (6243:9): [True: 0, False: 2]
  ------------------
 6244|      2|    if (PyObject_SetAttr(state->AnnAssign_type, state->value, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6244:9): [True: 0, False: 2]
  ------------------
 6245|      0|        return -1;
 6246|      2|    state->For_type = make_type(state, "For", state->stmt_type, For_fields, 5,
 6247|      2|        "For(expr target, expr iter, stmt* body, stmt* orelse, string? type_comment)");
 6248|      2|    if (!state->For_type) return -1;
  ------------------
  |  Branch (6248:9): [True: 0, False: 2]
  ------------------
 6249|      2|    if (PyObject_SetAttr(state->For_type, state->type_comment, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6249:9): [True: 0, False: 2]
  ------------------
 6250|      0|        return -1;
 6251|      2|    state->AsyncFor_type = make_type(state, "AsyncFor", state->stmt_type,
 6252|      2|                                     AsyncFor_fields, 5,
 6253|      2|        "AsyncFor(expr target, expr iter, stmt* body, stmt* orelse, string? type_comment)");
 6254|      2|    if (!state->AsyncFor_type) return -1;
  ------------------
  |  Branch (6254:9): [True: 0, False: 2]
  ------------------
 6255|      2|    if (PyObject_SetAttr(state->AsyncFor_type, state->type_comment, Py_None) ==
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6255:9): [True: 0, False: 2]
  ------------------
 6256|      2|        -1)
 6257|      0|        return -1;
 6258|      2|    state->While_type = make_type(state, "While", state->stmt_type,
 6259|      2|                                  While_fields, 3,
 6260|      2|        "While(expr test, stmt* body, stmt* orelse)");
 6261|      2|    if (!state->While_type) return -1;
  ------------------
  |  Branch (6261:9): [True: 0, False: 2]
  ------------------
 6262|      2|    state->If_type = make_type(state, "If", state->stmt_type, If_fields, 3,
 6263|      2|        "If(expr test, stmt* body, stmt* orelse)");
 6264|      2|    if (!state->If_type) return -1;
  ------------------
  |  Branch (6264:9): [True: 0, False: 2]
  ------------------
 6265|      2|    state->With_type = make_type(state, "With", state->stmt_type, With_fields,
 6266|      2|                                 3,
 6267|      2|        "With(withitem* items, stmt* body, string? type_comment)");
 6268|      2|    if (!state->With_type) return -1;
  ------------------
  |  Branch (6268:9): [True: 0, False: 2]
  ------------------
 6269|      2|    if (PyObject_SetAttr(state->With_type, state->type_comment, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6269:9): [True: 0, False: 2]
  ------------------
 6270|      0|        return -1;
 6271|      2|    state->AsyncWith_type = make_type(state, "AsyncWith", state->stmt_type,
 6272|      2|                                      AsyncWith_fields, 3,
 6273|      2|        "AsyncWith(withitem* items, stmt* body, string? type_comment)");
 6274|      2|    if (!state->AsyncWith_type) return -1;
  ------------------
  |  Branch (6274:9): [True: 0, False: 2]
  ------------------
 6275|      2|    if (PyObject_SetAttr(state->AsyncWith_type, state->type_comment, Py_None)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6275:9): [True: 0, False: 2]
  ------------------
 6276|      2|        == -1)
 6277|      0|        return -1;
 6278|      2|    state->Match_type = make_type(state, "Match", state->stmt_type,
 6279|      2|                                  Match_fields, 2,
 6280|      2|        "Match(expr subject, match_case* cases)");
 6281|      2|    if (!state->Match_type) return -1;
  ------------------
  |  Branch (6281:9): [True: 0, False: 2]
  ------------------
 6282|      2|    state->Raise_type = make_type(state, "Raise", state->stmt_type,
 6283|      2|                                  Raise_fields, 2,
 6284|      2|        "Raise(expr? exc, expr? cause)");
 6285|      2|    if (!state->Raise_type) return -1;
  ------------------
  |  Branch (6285:9): [True: 0, False: 2]
  ------------------
 6286|      2|    if (PyObject_SetAttr(state->Raise_type, state->exc, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6286:9): [True: 0, False: 2]
  ------------------
 6287|      0|        return -1;
 6288|      2|    if (PyObject_SetAttr(state->Raise_type, state->cause, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6288:9): [True: 0, False: 2]
  ------------------
 6289|      0|        return -1;
 6290|      2|    state->Try_type = make_type(state, "Try", state->stmt_type, Try_fields, 4,
 6291|      2|        "Try(stmt* body, excepthandler* handlers, stmt* orelse, stmt* finalbody)");
 6292|      2|    if (!state->Try_type) return -1;
  ------------------
  |  Branch (6292:9): [True: 0, False: 2]
  ------------------
 6293|      2|    state->TryStar_type = make_type(state, "TryStar", state->stmt_type,
 6294|      2|                                    TryStar_fields, 4,
 6295|      2|        "TryStar(stmt* body, excepthandler* handlers, stmt* orelse, stmt* finalbody)");
 6296|      2|    if (!state->TryStar_type) return -1;
  ------------------
  |  Branch (6296:9): [True: 0, False: 2]
  ------------------
 6297|      2|    state->Assert_type = make_type(state, "Assert", state->stmt_type,
 6298|      2|                                   Assert_fields, 2,
 6299|      2|        "Assert(expr test, expr? msg)");
 6300|      2|    if (!state->Assert_type) return -1;
  ------------------
  |  Branch (6300:9): [True: 0, False: 2]
  ------------------
 6301|      2|    if (PyObject_SetAttr(state->Assert_type, state->msg, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6301:9): [True: 0, False: 2]
  ------------------
 6302|      0|        return -1;
 6303|      2|    state->Import_type = make_type(state, "Import", state->stmt_type,
 6304|      2|                                   Import_fields, 2,
 6305|      2|        "Import(alias* names, int? is_lazy)");
 6306|      2|    if (!state->Import_type) return -1;
  ------------------
  |  Branch (6306:9): [True: 0, False: 2]
  ------------------
 6307|      2|    if (PyObject_SetAttr(state->Import_type, state->is_lazy, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6307:9): [True: 0, False: 2]
  ------------------
 6308|      0|        return -1;
 6309|      2|    state->ImportFrom_type = make_type(state, "ImportFrom", state->stmt_type,
 6310|      2|                                       ImportFrom_fields, 4,
 6311|      2|        "ImportFrom(identifier? module, alias* names, int? level, int? is_lazy)");
 6312|      2|    if (!state->ImportFrom_type) return -1;
  ------------------
  |  Branch (6312:9): [True: 0, False: 2]
  ------------------
 6313|      2|    if (PyObject_SetAttr(state->ImportFrom_type, state->module, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6313:9): [True: 0, False: 2]
  ------------------
 6314|      0|        return -1;
 6315|      2|    if (PyObject_SetAttr(state->ImportFrom_type, state->level, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6315:9): [True: 0, False: 2]
  ------------------
 6316|      0|        return -1;
 6317|      2|    if (PyObject_SetAttr(state->ImportFrom_type, state->is_lazy, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6317:9): [True: 0, False: 2]
  ------------------
 6318|      0|        return -1;
 6319|      2|    state->Global_type = make_type(state, "Global", state->stmt_type,
 6320|      2|                                   Global_fields, 1,
 6321|      2|        "Global(identifier* names)");
 6322|      2|    if (!state->Global_type) return -1;
  ------------------
  |  Branch (6322:9): [True: 0, False: 2]
  ------------------
 6323|      2|    state->Nonlocal_type = make_type(state, "Nonlocal", state->stmt_type,
 6324|      2|                                     Nonlocal_fields, 1,
 6325|      2|        "Nonlocal(identifier* names)");
 6326|      2|    if (!state->Nonlocal_type) return -1;
  ------------------
  |  Branch (6326:9): [True: 0, False: 2]
  ------------------
 6327|      2|    state->Expr_type = make_type(state, "Expr", state->stmt_type, Expr_fields,
 6328|      2|                                 1,
 6329|      2|        "Expr(expr value)");
 6330|      2|    if (!state->Expr_type) return -1;
  ------------------
  |  Branch (6330:9): [True: 0, False: 2]
  ------------------
 6331|      2|    state->Pass_type = make_type(state, "Pass", state->stmt_type, NULL, 0,
 6332|      2|        "Pass");
 6333|      2|    if (!state->Pass_type) return -1;
  ------------------
  |  Branch (6333:9): [True: 0, False: 2]
  ------------------
 6334|      2|    state->Break_type = make_type(state, "Break", state->stmt_type, NULL, 0,
 6335|      2|        "Break");
 6336|      2|    if (!state->Break_type) return -1;
  ------------------
  |  Branch (6336:9): [True: 0, False: 2]
  ------------------
 6337|      2|    state->Continue_type = make_type(state, "Continue", state->stmt_type, NULL,
 6338|      2|                                     0,
 6339|      2|        "Continue");
 6340|      2|    if (!state->Continue_type) return -1;
  ------------------
  |  Branch (6340:9): [True: 0, False: 2]
  ------------------
 6341|      2|    state->expr_type = make_type(state, "expr", state->AST_type, NULL, 0,
 6342|      2|        "expr = BoolOp(boolop op, expr* values)\n"
 6343|      2|        "     | NamedExpr(expr target, expr value)\n"
 6344|      2|        "     | BinOp(expr left, operator op, expr right)\n"
 6345|      2|        "     | UnaryOp(unaryop op, expr operand)\n"
 6346|      2|        "     | Lambda(arguments args, expr body)\n"
 6347|      2|        "     | IfExp(expr test, expr body, expr orelse)\n"
 6348|      2|        "     | Dict(expr?* keys, expr* values)\n"
 6349|      2|        "     | Set(expr* elts)\n"
 6350|      2|        "     | ListComp(expr elt, comprehension* generators)\n"
 6351|      2|        "     | SetComp(expr elt, comprehension* generators)\n"
 6352|      2|        "     | DictComp(expr key, expr? value, comprehension* generators)\n"
 6353|      2|        "     | GeneratorExp(expr elt, comprehension* generators)\n"
 6354|      2|        "     | Await(expr value)\n"
 6355|      2|        "     | Yield(expr? value)\n"
 6356|      2|        "     | YieldFrom(expr value)\n"
 6357|      2|        "     | Compare(expr left, cmpop* ops, expr* comparators)\n"
 6358|      2|        "     | Call(expr func, expr* args, keyword* keywords)\n"
 6359|      2|        "     | FormattedValue(expr value, int conversion, expr? format_spec)\n"
 6360|      2|        "     | Interpolation(expr value, constant str, int conversion, expr? format_spec)\n"
 6361|      2|        "     | JoinedStr(expr* values)\n"
 6362|      2|        "     | TemplateStr(expr* values)\n"
 6363|      2|        "     | Constant(constant value, string? kind)\n"
 6364|      2|        "     | Attribute(expr value, identifier attr, expr_context ctx)\n"
 6365|      2|        "     | Subscript(expr value, expr slice, expr_context ctx)\n"
 6366|      2|        "     | Starred(expr value, expr_context ctx)\n"
 6367|      2|        "     | Name(identifier id, expr_context ctx)\n"
 6368|      2|        "     | List(expr* elts, expr_context ctx)\n"
 6369|      2|        "     | Tuple(expr* elts, expr_context ctx)\n"
 6370|      2|        "     | Slice(expr? lower, expr? upper, expr? step)");
 6371|      2|    if (!state->expr_type) return -1;
  ------------------
  |  Branch (6371:9): [True: 0, False: 2]
  ------------------
 6372|      2|    if (add_attributes(state, state->expr_type, expr_attributes, 4) < 0) return
  ------------------
  |  Branch (6372:9): [True: 0, False: 2]
  ------------------
 6373|      0|        -1;
 6374|      2|    if (PySet_Add(state->abstract_types, state->expr_type) < 0) return -1;
  ------------------
  |  Branch (6374:9): [True: 0, False: 2]
  ------------------
 6375|      2|    if (PyObject_SetAttr(state->expr_type, state->end_lineno, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6375:9): [True: 0, False: 2]
  ------------------
 6376|      0|        return -1;
 6377|      2|    if (PyObject_SetAttr(state->expr_type, state->end_col_offset, Py_None) ==
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6377:9): [True: 0, False: 2]
  ------------------
 6378|      2|        -1)
 6379|      0|        return -1;
 6380|      2|    state->BoolOp_type = make_type(state, "BoolOp", state->expr_type,
 6381|      2|                                   BoolOp_fields, 2,
 6382|      2|        "BoolOp(boolop op, expr* values)");
 6383|      2|    if (!state->BoolOp_type) return -1;
  ------------------
  |  Branch (6383:9): [True: 0, False: 2]
  ------------------
 6384|      2|    state->NamedExpr_type = make_type(state, "NamedExpr", state->expr_type,
 6385|      2|                                      NamedExpr_fields, 2,
 6386|      2|        "NamedExpr(expr target, expr value)");
 6387|      2|    if (!state->NamedExpr_type) return -1;
  ------------------
  |  Branch (6387:9): [True: 0, False: 2]
  ------------------
 6388|      2|    state->BinOp_type = make_type(state, "BinOp", state->expr_type,
 6389|      2|                                  BinOp_fields, 3,
 6390|      2|        "BinOp(expr left, operator op, expr right)");
 6391|      2|    if (!state->BinOp_type) return -1;
  ------------------
  |  Branch (6391:9): [True: 0, False: 2]
  ------------------
 6392|      2|    state->UnaryOp_type = make_type(state, "UnaryOp", state->expr_type,
 6393|      2|                                    UnaryOp_fields, 2,
 6394|      2|        "UnaryOp(unaryop op, expr operand)");
 6395|      2|    if (!state->UnaryOp_type) return -1;
  ------------------
  |  Branch (6395:9): [True: 0, False: 2]
  ------------------
 6396|      2|    state->Lambda_type = make_type(state, "Lambda", state->expr_type,
 6397|      2|                                   Lambda_fields, 2,
 6398|      2|        "Lambda(arguments args, expr body)");
 6399|      2|    if (!state->Lambda_type) return -1;
  ------------------
  |  Branch (6399:9): [True: 0, False: 2]
  ------------------
 6400|      2|    state->IfExp_type = make_type(state, "IfExp", state->expr_type,
 6401|      2|                                  IfExp_fields, 3,
 6402|      2|        "IfExp(expr test, expr body, expr orelse)");
 6403|      2|    if (!state->IfExp_type) return -1;
  ------------------
  |  Branch (6403:9): [True: 0, False: 2]
  ------------------
 6404|      2|    state->Dict_type = make_type(state, "Dict", state->expr_type, Dict_fields,
 6405|      2|                                 2,
 6406|      2|        "Dict(expr?* keys, expr* values)");
 6407|      2|    if (!state->Dict_type) return -1;
  ------------------
  |  Branch (6407:9): [True: 0, False: 2]
  ------------------
 6408|      2|    state->Set_type = make_type(state, "Set", state->expr_type, Set_fields, 1,
 6409|      2|        "Set(expr* elts)");
 6410|      2|    if (!state->Set_type) return -1;
  ------------------
  |  Branch (6410:9): [True: 0, False: 2]
  ------------------
 6411|      2|    state->ListComp_type = make_type(state, "ListComp", state->expr_type,
 6412|      2|                                     ListComp_fields, 2,
 6413|      2|        "ListComp(expr elt, comprehension* generators)");
 6414|      2|    if (!state->ListComp_type) return -1;
  ------------------
  |  Branch (6414:9): [True: 0, False: 2]
  ------------------
 6415|      2|    state->SetComp_type = make_type(state, "SetComp", state->expr_type,
 6416|      2|                                    SetComp_fields, 2,
 6417|      2|        "SetComp(expr elt, comprehension* generators)");
 6418|      2|    if (!state->SetComp_type) return -1;
  ------------------
  |  Branch (6418:9): [True: 0, False: 2]
  ------------------
 6419|      2|    state->DictComp_type = make_type(state, "DictComp", state->expr_type,
 6420|      2|                                     DictComp_fields, 3,
 6421|      2|        "DictComp(expr key, expr? value, comprehension* generators)");
 6422|      2|    if (!state->DictComp_type) return -1;
  ------------------
  |  Branch (6422:9): [True: 0, False: 2]
  ------------------
 6423|      2|    if (PyObject_SetAttr(state->DictComp_type, state->value, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6423:9): [True: 0, False: 2]
  ------------------
 6424|      0|        return -1;
 6425|      2|    state->GeneratorExp_type = make_type(state, "GeneratorExp",
 6426|      2|                                         state->expr_type, GeneratorExp_fields,
 6427|      2|                                         2,
 6428|      2|        "GeneratorExp(expr elt, comprehension* generators)");
 6429|      2|    if (!state->GeneratorExp_type) return -1;
  ------------------
  |  Branch (6429:9): [True: 0, False: 2]
  ------------------
 6430|      2|    state->Await_type = make_type(state, "Await", state->expr_type,
 6431|      2|                                  Await_fields, 1,
 6432|      2|        "Await(expr value)");
 6433|      2|    if (!state->Await_type) return -1;
  ------------------
  |  Branch (6433:9): [True: 0, False: 2]
  ------------------
 6434|      2|    state->Yield_type = make_type(state, "Yield", state->expr_type,
 6435|      2|                                  Yield_fields, 1,
 6436|      2|        "Yield(expr? value)");
 6437|      2|    if (!state->Yield_type) return -1;
  ------------------
  |  Branch (6437:9): [True: 0, False: 2]
  ------------------
 6438|      2|    if (PyObject_SetAttr(state->Yield_type, state->value, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6438:9): [True: 0, False: 2]
  ------------------
 6439|      0|        return -1;
 6440|      2|    state->YieldFrom_type = make_type(state, "YieldFrom", state->expr_type,
 6441|      2|                                      YieldFrom_fields, 1,
 6442|      2|        "YieldFrom(expr value)");
 6443|      2|    if (!state->YieldFrom_type) return -1;
  ------------------
  |  Branch (6443:9): [True: 0, False: 2]
  ------------------
 6444|      2|    state->Compare_type = make_type(state, "Compare", state->expr_type,
 6445|      2|                                    Compare_fields, 3,
 6446|      2|        "Compare(expr left, cmpop* ops, expr* comparators)");
 6447|      2|    if (!state->Compare_type) return -1;
  ------------------
  |  Branch (6447:9): [True: 0, False: 2]
  ------------------
 6448|      2|    state->Call_type = make_type(state, "Call", state->expr_type, Call_fields,
 6449|      2|                                 3,
 6450|      2|        "Call(expr func, expr* args, keyword* keywords)");
 6451|      2|    if (!state->Call_type) return -1;
  ------------------
  |  Branch (6451:9): [True: 0, False: 2]
  ------------------
 6452|      2|    state->FormattedValue_type = make_type(state, "FormattedValue",
 6453|      2|                                           state->expr_type,
 6454|      2|                                           FormattedValue_fields, 3,
 6455|      2|        "FormattedValue(expr value, int conversion, expr? format_spec)");
 6456|      2|    if (!state->FormattedValue_type) return -1;
  ------------------
  |  Branch (6456:9): [True: 0, False: 2]
  ------------------
 6457|      2|    if (PyObject_SetAttr(state->FormattedValue_type, state->format_spec,
  ------------------
  |  Branch (6457:9): [True: 0, False: 2]
  ------------------
 6458|      2|        Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 6459|      0|        return -1;
 6460|      2|    state->Interpolation_type = make_type(state, "Interpolation",
 6461|      2|                                          state->expr_type,
 6462|      2|                                          Interpolation_fields, 4,
 6463|      2|        "Interpolation(expr value, constant str, int conversion, expr? format_spec)");
 6464|      2|    if (!state->Interpolation_type) return -1;
  ------------------
  |  Branch (6464:9): [True: 0, False: 2]
  ------------------
 6465|      2|    if (PyObject_SetAttr(state->Interpolation_type, state->format_spec,
  ------------------
  |  Branch (6465:9): [True: 0, False: 2]
  ------------------
 6466|      2|        Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 6467|      0|        return -1;
 6468|      2|    state->JoinedStr_type = make_type(state, "JoinedStr", state->expr_type,
 6469|      2|                                      JoinedStr_fields, 1,
 6470|      2|        "JoinedStr(expr* values)");
 6471|      2|    if (!state->JoinedStr_type) return -1;
  ------------------
  |  Branch (6471:9): [True: 0, False: 2]
  ------------------
 6472|      2|    state->TemplateStr_type = make_type(state, "TemplateStr", state->expr_type,
 6473|      2|                                        TemplateStr_fields, 1,
 6474|      2|        "TemplateStr(expr* values)");
 6475|      2|    if (!state->TemplateStr_type) return -1;
  ------------------
  |  Branch (6475:9): [True: 0, False: 2]
  ------------------
 6476|      2|    state->Constant_type = make_type(state, "Constant", state->expr_type,
 6477|      2|                                     Constant_fields, 2,
 6478|      2|        "Constant(constant value, string? kind)");
 6479|      2|    if (!state->Constant_type) return -1;
  ------------------
  |  Branch (6479:9): [True: 0, False: 2]
  ------------------
 6480|      2|    if (PyObject_SetAttr(state->Constant_type, state->kind, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6480:9): [True: 0, False: 2]
  ------------------
 6481|      0|        return -1;
 6482|      2|    state->Attribute_type = make_type(state, "Attribute", state->expr_type,
 6483|      2|                                      Attribute_fields, 3,
 6484|      2|        "Attribute(expr value, identifier attr, expr_context ctx)");
 6485|      2|    if (!state->Attribute_type) return -1;
  ------------------
  |  Branch (6485:9): [True: 0, False: 2]
  ------------------
 6486|      2|    state->Subscript_type = make_type(state, "Subscript", state->expr_type,
 6487|      2|                                      Subscript_fields, 3,
 6488|      2|        "Subscript(expr value, expr slice, expr_context ctx)");
 6489|      2|    if (!state->Subscript_type) return -1;
  ------------------
  |  Branch (6489:9): [True: 0, False: 2]
  ------------------
 6490|      2|    state->Starred_type = make_type(state, "Starred", state->expr_type,
 6491|      2|                                    Starred_fields, 2,
 6492|      2|        "Starred(expr value, expr_context ctx)");
 6493|      2|    if (!state->Starred_type) return -1;
  ------------------
  |  Branch (6493:9): [True: 0, False: 2]
  ------------------
 6494|      2|    state->Name_type = make_type(state, "Name", state->expr_type, Name_fields,
 6495|      2|                                 2,
 6496|      2|        "Name(identifier id, expr_context ctx)");
 6497|      2|    if (!state->Name_type) return -1;
  ------------------
  |  Branch (6497:9): [True: 0, False: 2]
  ------------------
 6498|      2|    state->List_type = make_type(state, "List", state->expr_type, List_fields,
 6499|      2|                                 2,
 6500|      2|        "List(expr* elts, expr_context ctx)");
 6501|      2|    if (!state->List_type) return -1;
  ------------------
  |  Branch (6501:9): [True: 0, False: 2]
  ------------------
 6502|      2|    state->Tuple_type = make_type(state, "Tuple", state->expr_type,
 6503|      2|                                  Tuple_fields, 2,
 6504|      2|        "Tuple(expr* elts, expr_context ctx)");
 6505|      2|    if (!state->Tuple_type) return -1;
  ------------------
  |  Branch (6505:9): [True: 0, False: 2]
  ------------------
 6506|      2|    state->Slice_type = make_type(state, "Slice", state->expr_type,
 6507|      2|                                  Slice_fields, 3,
 6508|      2|        "Slice(expr? lower, expr? upper, expr? step)");
 6509|      2|    if (!state->Slice_type) return -1;
  ------------------
  |  Branch (6509:9): [True: 0, False: 2]
  ------------------
 6510|      2|    if (PyObject_SetAttr(state->Slice_type, state->lower, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6510:9): [True: 0, False: 2]
  ------------------
 6511|      0|        return -1;
 6512|      2|    if (PyObject_SetAttr(state->Slice_type, state->upper, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6512:9): [True: 0, False: 2]
  ------------------
 6513|      0|        return -1;
 6514|      2|    if (PyObject_SetAttr(state->Slice_type, state->step, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6514:9): [True: 0, False: 2]
  ------------------
 6515|      0|        return -1;
 6516|      2|    state->expr_context_type = make_type(state, "expr_context",
 6517|      2|                                         state->AST_type, NULL, 0,
 6518|      2|        "expr_context = Load | Store | Del");
 6519|      2|    if (!state->expr_context_type) return -1;
  ------------------
  |  Branch (6519:9): [True: 0, False: 2]
  ------------------
 6520|      2|    if (add_attributes(state, state->expr_context_type, NULL, 0) < 0) return -1;
  ------------------
  |  Branch (6520:9): [True: 0, False: 2]
  ------------------
 6521|      2|    if (PySet_Add(state->abstract_types, state->expr_context_type) < 0) return
  ------------------
  |  Branch (6521:9): [True: 0, False: 2]
  ------------------
 6522|      0|        -1;
 6523|      2|    state->Load_type = make_type(state, "Load", state->expr_context_type, NULL,
 6524|      2|                                 0,
 6525|      2|        "Load");
 6526|      2|    if (!state->Load_type) return -1;
  ------------------
  |  Branch (6526:9): [True: 0, False: 2]
  ------------------
 6527|      2|    state->Load_singleton = PyType_GenericNew((PyTypeObject *)state->Load_type,
 6528|      2|                                              NULL, NULL);
 6529|      2|    if (!state->Load_singleton) return -1;
  ------------------
  |  Branch (6529:9): [True: 0, False: 2]
  ------------------
 6530|      2|    state->Store_type = make_type(state, "Store", state->expr_context_type,
 6531|      2|                                  NULL, 0,
 6532|      2|        "Store");
 6533|      2|    if (!state->Store_type) return -1;
  ------------------
  |  Branch (6533:9): [True: 0, False: 2]
  ------------------
 6534|      2|    state->Store_singleton = PyType_GenericNew((PyTypeObject
 6535|      2|                                               *)state->Store_type, NULL, NULL);
 6536|      2|    if (!state->Store_singleton) return -1;
  ------------------
  |  Branch (6536:9): [True: 0, False: 2]
  ------------------
 6537|      2|    state->Del_type = make_type(state, "Del", state->expr_context_type, NULL, 0,
 6538|      2|        "Del");
 6539|      2|    if (!state->Del_type) return -1;
  ------------------
  |  Branch (6539:9): [True: 0, False: 2]
  ------------------
 6540|      2|    state->Del_singleton = PyType_GenericNew((PyTypeObject *)state->Del_type,
 6541|      2|                                             NULL, NULL);
 6542|      2|    if (!state->Del_singleton) return -1;
  ------------------
  |  Branch (6542:9): [True: 0, False: 2]
  ------------------
 6543|      2|    state->boolop_type = make_type(state, "boolop", state->AST_type, NULL, 0,
 6544|      2|        "boolop = And | Or");
 6545|      2|    if (!state->boolop_type) return -1;
  ------------------
  |  Branch (6545:9): [True: 0, False: 2]
  ------------------
 6546|      2|    if (add_attributes(state, state->boolop_type, NULL, 0) < 0) return -1;
  ------------------
  |  Branch (6546:9): [True: 0, False: 2]
  ------------------
 6547|      2|    if (PySet_Add(state->abstract_types, state->boolop_type) < 0) return -1;
  ------------------
  |  Branch (6547:9): [True: 0, False: 2]
  ------------------
 6548|      2|    state->And_type = make_type(state, "And", state->boolop_type, NULL, 0,
 6549|      2|        "And");
 6550|      2|    if (!state->And_type) return -1;
  ------------------
  |  Branch (6550:9): [True: 0, False: 2]
  ------------------
 6551|      2|    state->And_singleton = PyType_GenericNew((PyTypeObject *)state->And_type,
 6552|      2|                                             NULL, NULL);
 6553|      2|    if (!state->And_singleton) return -1;
  ------------------
  |  Branch (6553:9): [True: 0, False: 2]
  ------------------
 6554|      2|    state->Or_type = make_type(state, "Or", state->boolop_type, NULL, 0,
 6555|      2|        "Or");
 6556|      2|    if (!state->Or_type) return -1;
  ------------------
  |  Branch (6556:9): [True: 0, False: 2]
  ------------------
 6557|      2|    state->Or_singleton = PyType_GenericNew((PyTypeObject *)state->Or_type,
 6558|      2|                                            NULL, NULL);
 6559|      2|    if (!state->Or_singleton) return -1;
  ------------------
  |  Branch (6559:9): [True: 0, False: 2]
  ------------------
 6560|      2|    state->operator_type = make_type(state, "operator", state->AST_type, NULL,
 6561|      2|                                     0,
 6562|      2|        "operator = Add | Sub | Mult | MatMult | Div | Mod | Pow | LShift | RShift | BitOr | BitXor | BitAnd | FloorDiv");
 6563|      2|    if (!state->operator_type) return -1;
  ------------------
  |  Branch (6563:9): [True: 0, False: 2]
  ------------------
 6564|      2|    if (add_attributes(state, state->operator_type, NULL, 0) < 0) return -1;
  ------------------
  |  Branch (6564:9): [True: 0, False: 2]
  ------------------
 6565|      2|    if (PySet_Add(state->abstract_types, state->operator_type) < 0) return -1;
  ------------------
  |  Branch (6565:9): [True: 0, False: 2]
  ------------------
 6566|      2|    state->Add_type = make_type(state, "Add", state->operator_type, NULL, 0,
 6567|      2|        "Add");
 6568|      2|    if (!state->Add_type) return -1;
  ------------------
  |  Branch (6568:9): [True: 0, False: 2]
  ------------------
 6569|      2|    state->Add_singleton = PyType_GenericNew((PyTypeObject *)state->Add_type,
 6570|      2|                                             NULL, NULL);
 6571|      2|    if (!state->Add_singleton) return -1;
  ------------------
  |  Branch (6571:9): [True: 0, False: 2]
  ------------------
 6572|      2|    state->Sub_type = make_type(state, "Sub", state->operator_type, NULL, 0,
 6573|      2|        "Sub");
 6574|      2|    if (!state->Sub_type) return -1;
  ------------------
  |  Branch (6574:9): [True: 0, False: 2]
  ------------------
 6575|      2|    state->Sub_singleton = PyType_GenericNew((PyTypeObject *)state->Sub_type,
 6576|      2|                                             NULL, NULL);
 6577|      2|    if (!state->Sub_singleton) return -1;
  ------------------
  |  Branch (6577:9): [True: 0, False: 2]
  ------------------
 6578|      2|    state->Mult_type = make_type(state, "Mult", state->operator_type, NULL, 0,
 6579|      2|        "Mult");
 6580|      2|    if (!state->Mult_type) return -1;
  ------------------
  |  Branch (6580:9): [True: 0, False: 2]
  ------------------
 6581|      2|    state->Mult_singleton = PyType_GenericNew((PyTypeObject *)state->Mult_type,
 6582|      2|                                              NULL, NULL);
 6583|      2|    if (!state->Mult_singleton) return -1;
  ------------------
  |  Branch (6583:9): [True: 0, False: 2]
  ------------------
 6584|      2|    state->MatMult_type = make_type(state, "MatMult", state->operator_type,
 6585|      2|                                    NULL, 0,
 6586|      2|        "MatMult");
 6587|      2|    if (!state->MatMult_type) return -1;
  ------------------
  |  Branch (6587:9): [True: 0, False: 2]
  ------------------
 6588|      2|    state->MatMult_singleton = PyType_GenericNew((PyTypeObject
 6589|      2|                                                 *)state->MatMult_type, NULL,
 6590|      2|                                                 NULL);
 6591|      2|    if (!state->MatMult_singleton) return -1;
  ------------------
  |  Branch (6591:9): [True: 0, False: 2]
  ------------------
 6592|      2|    state->Div_type = make_type(state, "Div", state->operator_type, NULL, 0,
 6593|      2|        "Div");
 6594|      2|    if (!state->Div_type) return -1;
  ------------------
  |  Branch (6594:9): [True: 0, False: 2]
  ------------------
 6595|      2|    state->Div_singleton = PyType_GenericNew((PyTypeObject *)state->Div_type,
 6596|      2|                                             NULL, NULL);
 6597|      2|    if (!state->Div_singleton) return -1;
  ------------------
  |  Branch (6597:9): [True: 0, False: 2]
  ------------------
 6598|      2|    state->Mod_type = make_type(state, "Mod", state->operator_type, NULL, 0,
 6599|      2|        "Mod");
 6600|      2|    if (!state->Mod_type) return -1;
  ------------------
  |  Branch (6600:9): [True: 0, False: 2]
  ------------------
 6601|      2|    state->Mod_singleton = PyType_GenericNew((PyTypeObject *)state->Mod_type,
 6602|      2|                                             NULL, NULL);
 6603|      2|    if (!state->Mod_singleton) return -1;
  ------------------
  |  Branch (6603:9): [True: 0, False: 2]
  ------------------
 6604|      2|    state->Pow_type = make_type(state, "Pow", state->operator_type, NULL, 0,
 6605|      2|        "Pow");
 6606|      2|    if (!state->Pow_type) return -1;
  ------------------
  |  Branch (6606:9): [True: 0, False: 2]
  ------------------
 6607|      2|    state->Pow_singleton = PyType_GenericNew((PyTypeObject *)state->Pow_type,
 6608|      2|                                             NULL, NULL);
 6609|      2|    if (!state->Pow_singleton) return -1;
  ------------------
  |  Branch (6609:9): [True: 0, False: 2]
  ------------------
 6610|      2|    state->LShift_type = make_type(state, "LShift", state->operator_type, NULL,
 6611|      2|                                   0,
 6612|      2|        "LShift");
 6613|      2|    if (!state->LShift_type) return -1;
  ------------------
  |  Branch (6613:9): [True: 0, False: 2]
  ------------------
 6614|      2|    state->LShift_singleton = PyType_GenericNew((PyTypeObject
 6615|      2|                                                *)state->LShift_type, NULL,
 6616|      2|                                                NULL);
 6617|      2|    if (!state->LShift_singleton) return -1;
  ------------------
  |  Branch (6617:9): [True: 0, False: 2]
  ------------------
 6618|      2|    state->RShift_type = make_type(state, "RShift", state->operator_type, NULL,
 6619|      2|                                   0,
 6620|      2|        "RShift");
 6621|      2|    if (!state->RShift_type) return -1;
  ------------------
  |  Branch (6621:9): [True: 0, False: 2]
  ------------------
 6622|      2|    state->RShift_singleton = PyType_GenericNew((PyTypeObject
 6623|      2|                                                *)state->RShift_type, NULL,
 6624|      2|                                                NULL);
 6625|      2|    if (!state->RShift_singleton) return -1;
  ------------------
  |  Branch (6625:9): [True: 0, False: 2]
  ------------------
 6626|      2|    state->BitOr_type = make_type(state, "BitOr", state->operator_type, NULL, 0,
 6627|      2|        "BitOr");
 6628|      2|    if (!state->BitOr_type) return -1;
  ------------------
  |  Branch (6628:9): [True: 0, False: 2]
  ------------------
 6629|      2|    state->BitOr_singleton = PyType_GenericNew((PyTypeObject
 6630|      2|                                               *)state->BitOr_type, NULL, NULL);
 6631|      2|    if (!state->BitOr_singleton) return -1;
  ------------------
  |  Branch (6631:9): [True: 0, False: 2]
  ------------------
 6632|      2|    state->BitXor_type = make_type(state, "BitXor", state->operator_type, NULL,
 6633|      2|                                   0,
 6634|      2|        "BitXor");
 6635|      2|    if (!state->BitXor_type) return -1;
  ------------------
  |  Branch (6635:9): [True: 0, False: 2]
  ------------------
 6636|      2|    state->BitXor_singleton = PyType_GenericNew((PyTypeObject
 6637|      2|                                                *)state->BitXor_type, NULL,
 6638|      2|                                                NULL);
 6639|      2|    if (!state->BitXor_singleton) return -1;
  ------------------
  |  Branch (6639:9): [True: 0, False: 2]
  ------------------
 6640|      2|    state->BitAnd_type = make_type(state, "BitAnd", state->operator_type, NULL,
 6641|      2|                                   0,
 6642|      2|        "BitAnd");
 6643|      2|    if (!state->BitAnd_type) return -1;
  ------------------
  |  Branch (6643:9): [True: 0, False: 2]
  ------------------
 6644|      2|    state->BitAnd_singleton = PyType_GenericNew((PyTypeObject
 6645|      2|                                                *)state->BitAnd_type, NULL,
 6646|      2|                                                NULL);
 6647|      2|    if (!state->BitAnd_singleton) return -1;
  ------------------
  |  Branch (6647:9): [True: 0, False: 2]
  ------------------
 6648|      2|    state->FloorDiv_type = make_type(state, "FloorDiv", state->operator_type,
 6649|      2|                                     NULL, 0,
 6650|      2|        "FloorDiv");
 6651|      2|    if (!state->FloorDiv_type) return -1;
  ------------------
  |  Branch (6651:9): [True: 0, False: 2]
  ------------------
 6652|      2|    state->FloorDiv_singleton = PyType_GenericNew((PyTypeObject
 6653|      2|                                                  *)state->FloorDiv_type, NULL,
 6654|      2|                                                  NULL);
 6655|      2|    if (!state->FloorDiv_singleton) return -1;
  ------------------
  |  Branch (6655:9): [True: 0, False: 2]
  ------------------
 6656|      2|    state->unaryop_type = make_type(state, "unaryop", state->AST_type, NULL, 0,
 6657|      2|        "unaryop = Invert | Not | UAdd | USub");
 6658|      2|    if (!state->unaryop_type) return -1;
  ------------------
  |  Branch (6658:9): [True: 0, False: 2]
  ------------------
 6659|      2|    if (add_attributes(state, state->unaryop_type, NULL, 0) < 0) return -1;
  ------------------
  |  Branch (6659:9): [True: 0, False: 2]
  ------------------
 6660|      2|    if (PySet_Add(state->abstract_types, state->unaryop_type) < 0) return -1;
  ------------------
  |  Branch (6660:9): [True: 0, False: 2]
  ------------------
 6661|      2|    state->Invert_type = make_type(state, "Invert", state->unaryop_type, NULL,
 6662|      2|                                   0,
 6663|      2|        "Invert");
 6664|      2|    if (!state->Invert_type) return -1;
  ------------------
  |  Branch (6664:9): [True: 0, False: 2]
  ------------------
 6665|      2|    state->Invert_singleton = PyType_GenericNew((PyTypeObject
 6666|      2|                                                *)state->Invert_type, NULL,
 6667|      2|                                                NULL);
 6668|      2|    if (!state->Invert_singleton) return -1;
  ------------------
  |  Branch (6668:9): [True: 0, False: 2]
  ------------------
 6669|      2|    state->Not_type = make_type(state, "Not", state->unaryop_type, NULL, 0,
 6670|      2|        "Not");
 6671|      2|    if (!state->Not_type) return -1;
  ------------------
  |  Branch (6671:9): [True: 0, False: 2]
  ------------------
 6672|      2|    state->Not_singleton = PyType_GenericNew((PyTypeObject *)state->Not_type,
 6673|      2|                                             NULL, NULL);
 6674|      2|    if (!state->Not_singleton) return -1;
  ------------------
  |  Branch (6674:9): [True: 0, False: 2]
  ------------------
 6675|      2|    state->UAdd_type = make_type(state, "UAdd", state->unaryop_type, NULL, 0,
 6676|      2|        "UAdd");
 6677|      2|    if (!state->UAdd_type) return -1;
  ------------------
  |  Branch (6677:9): [True: 0, False: 2]
  ------------------
 6678|      2|    state->UAdd_singleton = PyType_GenericNew((PyTypeObject *)state->UAdd_type,
 6679|      2|                                              NULL, NULL);
 6680|      2|    if (!state->UAdd_singleton) return -1;
  ------------------
  |  Branch (6680:9): [True: 0, False: 2]
  ------------------
 6681|      2|    state->USub_type = make_type(state, "USub", state->unaryop_type, NULL, 0,
 6682|      2|        "USub");
 6683|      2|    if (!state->USub_type) return -1;
  ------------------
  |  Branch (6683:9): [True: 0, False: 2]
  ------------------
 6684|      2|    state->USub_singleton = PyType_GenericNew((PyTypeObject *)state->USub_type,
 6685|      2|                                              NULL, NULL);
 6686|      2|    if (!state->USub_singleton) return -1;
  ------------------
  |  Branch (6686:9): [True: 0, False: 2]
  ------------------
 6687|      2|    state->cmpop_type = make_type(state, "cmpop", state->AST_type, NULL, 0,
 6688|      2|        "cmpop = Eq | NotEq | Lt | LtE | Gt | GtE | Is | IsNot | In | NotIn");
 6689|      2|    if (!state->cmpop_type) return -1;
  ------------------
  |  Branch (6689:9): [True: 0, False: 2]
  ------------------
 6690|      2|    if (add_attributes(state, state->cmpop_type, NULL, 0) < 0) return -1;
  ------------------
  |  Branch (6690:9): [True: 0, False: 2]
  ------------------
 6691|      2|    if (PySet_Add(state->abstract_types, state->cmpop_type) < 0) return -1;
  ------------------
  |  Branch (6691:9): [True: 0, False: 2]
  ------------------
 6692|      2|    state->Eq_type = make_type(state, "Eq", state->cmpop_type, NULL, 0,
 6693|      2|        "Eq");
 6694|      2|    if (!state->Eq_type) return -1;
  ------------------
  |  Branch (6694:9): [True: 0, False: 2]
  ------------------
 6695|      2|    state->Eq_singleton = PyType_GenericNew((PyTypeObject *)state->Eq_type,
 6696|      2|                                            NULL, NULL);
 6697|      2|    if (!state->Eq_singleton) return -1;
  ------------------
  |  Branch (6697:9): [True: 0, False: 2]
  ------------------
 6698|      2|    state->NotEq_type = make_type(state, "NotEq", state->cmpop_type, NULL, 0,
 6699|      2|        "NotEq");
 6700|      2|    if (!state->NotEq_type) return -1;
  ------------------
  |  Branch (6700:9): [True: 0, False: 2]
  ------------------
 6701|      2|    state->NotEq_singleton = PyType_GenericNew((PyTypeObject
 6702|      2|                                               *)state->NotEq_type, NULL, NULL);
 6703|      2|    if (!state->NotEq_singleton) return -1;
  ------------------
  |  Branch (6703:9): [True: 0, False: 2]
  ------------------
 6704|      2|    state->Lt_type = make_type(state, "Lt", state->cmpop_type, NULL, 0,
 6705|      2|        "Lt");
 6706|      2|    if (!state->Lt_type) return -1;
  ------------------
  |  Branch (6706:9): [True: 0, False: 2]
  ------------------
 6707|      2|    state->Lt_singleton = PyType_GenericNew((PyTypeObject *)state->Lt_type,
 6708|      2|                                            NULL, NULL);
 6709|      2|    if (!state->Lt_singleton) return -1;
  ------------------
  |  Branch (6709:9): [True: 0, False: 2]
  ------------------
 6710|      2|    state->LtE_type = make_type(state, "LtE", state->cmpop_type, NULL, 0,
 6711|      2|        "LtE");
 6712|      2|    if (!state->LtE_type) return -1;
  ------------------
  |  Branch (6712:9): [True: 0, False: 2]
  ------------------
 6713|      2|    state->LtE_singleton = PyType_GenericNew((PyTypeObject *)state->LtE_type,
 6714|      2|                                             NULL, NULL);
 6715|      2|    if (!state->LtE_singleton) return -1;
  ------------------
  |  Branch (6715:9): [True: 0, False: 2]
  ------------------
 6716|      2|    state->Gt_type = make_type(state, "Gt", state->cmpop_type, NULL, 0,
 6717|      2|        "Gt");
 6718|      2|    if (!state->Gt_type) return -1;
  ------------------
  |  Branch (6718:9): [True: 0, False: 2]
  ------------------
 6719|      2|    state->Gt_singleton = PyType_GenericNew((PyTypeObject *)state->Gt_type,
 6720|      2|                                            NULL, NULL);
 6721|      2|    if (!state->Gt_singleton) return -1;
  ------------------
  |  Branch (6721:9): [True: 0, False: 2]
  ------------------
 6722|      2|    state->GtE_type = make_type(state, "GtE", state->cmpop_type, NULL, 0,
 6723|      2|        "GtE");
 6724|      2|    if (!state->GtE_type) return -1;
  ------------------
  |  Branch (6724:9): [True: 0, False: 2]
  ------------------
 6725|      2|    state->GtE_singleton = PyType_GenericNew((PyTypeObject *)state->GtE_type,
 6726|      2|                                             NULL, NULL);
 6727|      2|    if (!state->GtE_singleton) return -1;
  ------------------
  |  Branch (6727:9): [True: 0, False: 2]
  ------------------
 6728|      2|    state->Is_type = make_type(state, "Is", state->cmpop_type, NULL, 0,
 6729|      2|        "Is");
 6730|      2|    if (!state->Is_type) return -1;
  ------------------
  |  Branch (6730:9): [True: 0, False: 2]
  ------------------
 6731|      2|    state->Is_singleton = PyType_GenericNew((PyTypeObject *)state->Is_type,
 6732|      2|                                            NULL, NULL);
 6733|      2|    if (!state->Is_singleton) return -1;
  ------------------
  |  Branch (6733:9): [True: 0, False: 2]
  ------------------
 6734|      2|    state->IsNot_type = make_type(state, "IsNot", state->cmpop_type, NULL, 0,
 6735|      2|        "IsNot");
 6736|      2|    if (!state->IsNot_type) return -1;
  ------------------
  |  Branch (6736:9): [True: 0, False: 2]
  ------------------
 6737|      2|    state->IsNot_singleton = PyType_GenericNew((PyTypeObject
 6738|      2|                                               *)state->IsNot_type, NULL, NULL);
 6739|      2|    if (!state->IsNot_singleton) return -1;
  ------------------
  |  Branch (6739:9): [True: 0, False: 2]
  ------------------
 6740|      2|    state->In_type = make_type(state, "In", state->cmpop_type, NULL, 0,
 6741|      2|        "In");
 6742|      2|    if (!state->In_type) return -1;
  ------------------
  |  Branch (6742:9): [True: 0, False: 2]
  ------------------
 6743|      2|    state->In_singleton = PyType_GenericNew((PyTypeObject *)state->In_type,
 6744|      2|                                            NULL, NULL);
 6745|      2|    if (!state->In_singleton) return -1;
  ------------------
  |  Branch (6745:9): [True: 0, False: 2]
  ------------------
 6746|      2|    state->NotIn_type = make_type(state, "NotIn", state->cmpop_type, NULL, 0,
 6747|      2|        "NotIn");
 6748|      2|    if (!state->NotIn_type) return -1;
  ------------------
  |  Branch (6748:9): [True: 0, False: 2]
  ------------------
 6749|      2|    state->NotIn_singleton = PyType_GenericNew((PyTypeObject
 6750|      2|                                               *)state->NotIn_type, NULL, NULL);
 6751|      2|    if (!state->NotIn_singleton) return -1;
  ------------------
  |  Branch (6751:9): [True: 0, False: 2]
  ------------------
 6752|      2|    state->comprehension_type = make_type(state, "comprehension",
 6753|      2|                                          state->AST_type,
 6754|      2|                                          comprehension_fields, 4,
 6755|      2|        "comprehension(expr target, expr iter, expr* ifs, int is_async)");
 6756|      2|    if (!state->comprehension_type) return -1;
  ------------------
  |  Branch (6756:9): [True: 0, False: 2]
  ------------------
 6757|      2|    if (add_attributes(state, state->comprehension_type, NULL, 0) < 0) return
  ------------------
  |  Branch (6757:9): [True: 0, False: 2]
  ------------------
 6758|      0|        -1;
 6759|      2|    state->excepthandler_type = make_type(state, "excepthandler",
 6760|      2|                                          state->AST_type, NULL, 0,
 6761|      2|        "excepthandler = ExceptHandler(expr? type, identifier? name, stmt* body)");
 6762|      2|    if (!state->excepthandler_type) return -1;
  ------------------
  |  Branch (6762:9): [True: 0, False: 2]
  ------------------
 6763|      2|    if (add_attributes(state, state->excepthandler_type,
  ------------------
  |  Branch (6763:9): [True: 0, False: 2]
  ------------------
 6764|      2|        excepthandler_attributes, 4) < 0) return -1;
 6765|      2|    if (PySet_Add(state->abstract_types, state->excepthandler_type) < 0) return
  ------------------
  |  Branch (6765:9): [True: 0, False: 2]
  ------------------
 6766|      0|        -1;
 6767|      2|    if (PyObject_SetAttr(state->excepthandler_type, state->end_lineno, Py_None)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6767:9): [True: 0, False: 2]
  ------------------
 6768|      2|        == -1)
 6769|      0|        return -1;
 6770|      2|    if (PyObject_SetAttr(state->excepthandler_type, state->end_col_offset,
  ------------------
  |  Branch (6770:9): [True: 0, False: 2]
  ------------------
 6771|      2|        Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 6772|      0|        return -1;
 6773|      2|    state->ExceptHandler_type = make_type(state, "ExceptHandler",
 6774|      2|                                          state->excepthandler_type,
 6775|      2|                                          ExceptHandler_fields, 3,
 6776|      2|        "ExceptHandler(expr? type, identifier? name, stmt* body)");
 6777|      2|    if (!state->ExceptHandler_type) return -1;
  ------------------
  |  Branch (6777:9): [True: 0, False: 2]
  ------------------
 6778|      2|    if (PyObject_SetAttr(state->ExceptHandler_type, state->type, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6778:9): [True: 0, False: 2]
  ------------------
 6779|      0|        return -1;
 6780|      2|    if (PyObject_SetAttr(state->ExceptHandler_type, state->name, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6780:9): [True: 0, False: 2]
  ------------------
 6781|      0|        return -1;
 6782|      2|    state->arguments_type = make_type(state, "arguments", state->AST_type,
 6783|      2|                                      arguments_fields, 7,
 6784|      2|        "arguments(arg* posonlyargs, arg* args, arg? vararg, arg* kwonlyargs, expr?* kw_defaults, arg? kwarg, expr* defaults)");
 6785|      2|    if (!state->arguments_type) return -1;
  ------------------
  |  Branch (6785:9): [True: 0, False: 2]
  ------------------
 6786|      2|    if (add_attributes(state, state->arguments_type, NULL, 0) < 0) return -1;
  ------------------
  |  Branch (6786:9): [True: 0, False: 2]
  ------------------
 6787|      2|    if (PyObject_SetAttr(state->arguments_type, state->vararg, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6787:9): [True: 0, False: 2]
  ------------------
 6788|      0|        return -1;
 6789|      2|    if (PyObject_SetAttr(state->arguments_type, state->kwarg, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6789:9): [True: 0, False: 2]
  ------------------
 6790|      0|        return -1;
 6791|      2|    state->arg_type = make_type(state, "arg", state->AST_type, arg_fields, 3,
 6792|      2|        "arg(identifier arg, expr? annotation, string? type_comment)");
 6793|      2|    if (!state->arg_type) return -1;
  ------------------
  |  Branch (6793:9): [True: 0, False: 2]
  ------------------
 6794|      2|    if (add_attributes(state, state->arg_type, arg_attributes, 4) < 0) return
  ------------------
  |  Branch (6794:9): [True: 0, False: 2]
  ------------------
 6795|      0|        -1;
 6796|      2|    if (PyObject_SetAttr(state->arg_type, state->annotation, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6796:9): [True: 0, False: 2]
  ------------------
 6797|      0|        return -1;
 6798|      2|    if (PyObject_SetAttr(state->arg_type, state->type_comment, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6798:9): [True: 0, False: 2]
  ------------------
 6799|      0|        return -1;
 6800|      2|    if (PyObject_SetAttr(state->arg_type, state->end_lineno, 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->end_col_offset, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6802:9): [True: 0, False: 2]
  ------------------
 6803|      0|        return -1;
 6804|      2|    state->keyword_type = make_type(state, "keyword", state->AST_type,
 6805|      2|                                    keyword_fields, 2,
 6806|      2|        "keyword(identifier? arg, expr value)");
 6807|      2|    if (!state->keyword_type) return -1;
  ------------------
  |  Branch (6807:9): [True: 0, False: 2]
  ------------------
 6808|      2|    if (add_attributes(state, state->keyword_type, keyword_attributes, 4) < 0)
  ------------------
  |  Branch (6808:9): [True: 0, False: 2]
  ------------------
 6809|      0|        return -1;
 6810|      2|    if (PyObject_SetAttr(state->keyword_type, state->arg, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6810:9): [True: 0, False: 2]
  ------------------
 6811|      0|        return -1;
 6812|      2|    if (PyObject_SetAttr(state->keyword_type, state->end_lineno, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6812:9): [True: 0, False: 2]
  ------------------
 6813|      0|        return -1;
 6814|      2|    if (PyObject_SetAttr(state->keyword_type, state->end_col_offset, Py_None)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6814:9): [True: 0, False: 2]
  ------------------
 6815|      2|        == -1)
 6816|      0|        return -1;
 6817|      2|    state->alias_type = make_type(state, "alias", state->AST_type,
 6818|      2|                                  alias_fields, 2,
 6819|      2|        "alias(identifier name, identifier? asname)");
 6820|      2|    if (!state->alias_type) return -1;
  ------------------
  |  Branch (6820:9): [True: 0, False: 2]
  ------------------
 6821|      2|    if (add_attributes(state, state->alias_type, alias_attributes, 4) < 0)
  ------------------
  |  Branch (6821:9): [True: 0, False: 2]
  ------------------
 6822|      0|        return -1;
 6823|      2|    if (PyObject_SetAttr(state->alias_type, state->asname, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6823:9): [True: 0, False: 2]
  ------------------
 6824|      0|        return -1;
 6825|      2|    if (PyObject_SetAttr(state->alias_type, state->end_lineno, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6825:9): [True: 0, False: 2]
  ------------------
 6826|      0|        return -1;
 6827|      2|    if (PyObject_SetAttr(state->alias_type, state->end_col_offset, Py_None) ==
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6827:9): [True: 0, False: 2]
  ------------------
 6828|      2|        -1)
 6829|      0|        return -1;
 6830|      2|    state->withitem_type = make_type(state, "withitem", state->AST_type,
 6831|      2|                                     withitem_fields, 2,
 6832|      2|        "withitem(expr context_expr, expr? optional_vars)");
 6833|      2|    if (!state->withitem_type) return -1;
  ------------------
  |  Branch (6833:9): [True: 0, False: 2]
  ------------------
 6834|      2|    if (add_attributes(state, state->withitem_type, NULL, 0) < 0) return -1;
  ------------------
  |  Branch (6834:9): [True: 0, False: 2]
  ------------------
 6835|      2|    if (PyObject_SetAttr(state->withitem_type, state->optional_vars, Py_None)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6835:9): [True: 0, False: 2]
  ------------------
 6836|      2|        == -1)
 6837|      0|        return -1;
 6838|      2|    state->match_case_type = make_type(state, "match_case", state->AST_type,
 6839|      2|                                       match_case_fields, 3,
 6840|      2|        "match_case(pattern pattern, expr? guard, stmt* body)");
 6841|      2|    if (!state->match_case_type) return -1;
  ------------------
  |  Branch (6841:9): [True: 0, False: 2]
  ------------------
 6842|      2|    if (add_attributes(state, state->match_case_type, NULL, 0) < 0) return -1;
  ------------------
  |  Branch (6842:9): [True: 0, False: 2]
  ------------------
 6843|      2|    if (PyObject_SetAttr(state->match_case_type, state->guard, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6843:9): [True: 0, False: 2]
  ------------------
 6844|      0|        return -1;
 6845|      2|    state->pattern_type = make_type(state, "pattern", state->AST_type, NULL, 0,
 6846|      2|        "pattern = MatchValue(expr value)\n"
 6847|      2|        "        | MatchSingleton(constant value)\n"
 6848|      2|        "        | MatchSequence(pattern* patterns)\n"
 6849|      2|        "        | MatchMapping(expr* keys, pattern* patterns, identifier? rest)\n"
 6850|      2|        "        | MatchClass(expr cls, pattern* patterns, identifier* kwd_attrs, pattern* kwd_patterns)\n"
 6851|      2|        "        | MatchStar(identifier? name)\n"
 6852|      2|        "        | MatchAs(pattern? pattern, identifier? name)\n"
 6853|      2|        "        | MatchOr(pattern* patterns)");
 6854|      2|    if (!state->pattern_type) return -1;
  ------------------
  |  Branch (6854:9): [True: 0, False: 2]
  ------------------
 6855|      2|    if (add_attributes(state, state->pattern_type, pattern_attributes, 4) < 0)
  ------------------
  |  Branch (6855:9): [True: 0, False: 2]
  ------------------
 6856|      0|        return -1;
 6857|      2|    if (PySet_Add(state->abstract_types, state->pattern_type) < 0) return -1;
  ------------------
  |  Branch (6857:9): [True: 0, False: 2]
  ------------------
 6858|      2|    state->MatchValue_type = make_type(state, "MatchValue",
 6859|      2|                                       state->pattern_type, MatchValue_fields,
 6860|      2|                                       1,
 6861|      2|        "MatchValue(expr value)");
 6862|      2|    if (!state->MatchValue_type) return -1;
  ------------------
  |  Branch (6862:9): [True: 0, False: 2]
  ------------------
 6863|      2|    state->MatchSingleton_type = make_type(state, "MatchSingleton",
 6864|      2|                                           state->pattern_type,
 6865|      2|                                           MatchSingleton_fields, 1,
 6866|      2|        "MatchSingleton(constant value)");
 6867|      2|    if (!state->MatchSingleton_type) return -1;
  ------------------
  |  Branch (6867:9): [True: 0, False: 2]
  ------------------
 6868|      2|    state->MatchSequence_type = make_type(state, "MatchSequence",
 6869|      2|                                          state->pattern_type,
 6870|      2|                                          MatchSequence_fields, 1,
 6871|      2|        "MatchSequence(pattern* patterns)");
 6872|      2|    if (!state->MatchSequence_type) return -1;
  ------------------
  |  Branch (6872:9): [True: 0, False: 2]
  ------------------
 6873|      2|    state->MatchMapping_type = make_type(state, "MatchMapping",
 6874|      2|                                         state->pattern_type,
 6875|      2|                                         MatchMapping_fields, 3,
 6876|      2|        "MatchMapping(expr* keys, pattern* patterns, identifier? rest)");
 6877|      2|    if (!state->MatchMapping_type) return -1;
  ------------------
  |  Branch (6877:9): [True: 0, False: 2]
  ------------------
 6878|      2|    if (PyObject_SetAttr(state->MatchMapping_type, state->rest, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6878:9): [True: 0, False: 2]
  ------------------
 6879|      0|        return -1;
 6880|      2|    state->MatchClass_type = make_type(state, "MatchClass",
 6881|      2|                                       state->pattern_type, MatchClass_fields,
 6882|      2|                                       4,
 6883|      2|        "MatchClass(expr cls, pattern* patterns, identifier* kwd_attrs, pattern* kwd_patterns)");
 6884|      2|    if (!state->MatchClass_type) return -1;
  ------------------
  |  Branch (6884:9): [True: 0, False: 2]
  ------------------
 6885|      2|    state->MatchStar_type = make_type(state, "MatchStar", state->pattern_type,
 6886|      2|                                      MatchStar_fields, 1,
 6887|      2|        "MatchStar(identifier? name)");
 6888|      2|    if (!state->MatchStar_type) return -1;
  ------------------
  |  Branch (6888:9): [True: 0, False: 2]
  ------------------
 6889|      2|    if (PyObject_SetAttr(state->MatchStar_type, state->name, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6889:9): [True: 0, False: 2]
  ------------------
 6890|      0|        return -1;
 6891|      2|    state->MatchAs_type = make_type(state, "MatchAs", state->pattern_type,
 6892|      2|                                    MatchAs_fields, 2,
 6893|      2|        "MatchAs(pattern? pattern, identifier? name)");
 6894|      2|    if (!state->MatchAs_type) return -1;
  ------------------
  |  Branch (6894:9): [True: 0, False: 2]
  ------------------
 6895|      2|    if (PyObject_SetAttr(state->MatchAs_type, state->pattern, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6895:9): [True: 0, False: 2]
  ------------------
 6896|      0|        return -1;
 6897|      2|    if (PyObject_SetAttr(state->MatchAs_type, state->name, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6897:9): [True: 0, False: 2]
  ------------------
 6898|      0|        return -1;
 6899|      2|    state->MatchOr_type = make_type(state, "MatchOr", state->pattern_type,
 6900|      2|                                    MatchOr_fields, 1,
 6901|      2|        "MatchOr(pattern* patterns)");
 6902|      2|    if (!state->MatchOr_type) return -1;
  ------------------
  |  Branch (6902:9): [True: 0, False: 2]
  ------------------
 6903|      2|    state->type_ignore_type = make_type(state, "type_ignore", state->AST_type,
 6904|      2|                                        NULL, 0,
 6905|      2|        "type_ignore = TypeIgnore(int lineno, string tag)");
 6906|      2|    if (!state->type_ignore_type) return -1;
  ------------------
  |  Branch (6906:9): [True: 0, False: 2]
  ------------------
 6907|      2|    if (add_attributes(state, state->type_ignore_type, NULL, 0) < 0) return -1;
  ------------------
  |  Branch (6907:9): [True: 0, False: 2]
  ------------------
 6908|      2|    if (PySet_Add(state->abstract_types, state->type_ignore_type) < 0) return
  ------------------
  |  Branch (6908:9): [True: 0, False: 2]
  ------------------
 6909|      0|        -1;
 6910|      2|    state->TypeIgnore_type = make_type(state, "TypeIgnore",
 6911|      2|                                       state->type_ignore_type,
 6912|      2|                                       TypeIgnore_fields, 2,
 6913|      2|        "TypeIgnore(int lineno, string tag)");
 6914|      2|    if (!state->TypeIgnore_type) return -1;
  ------------------
  |  Branch (6914:9): [True: 0, False: 2]
  ------------------
 6915|      2|    state->type_param_type = make_type(state, "type_param", state->AST_type,
 6916|      2|                                       NULL, 0,
 6917|      2|        "type_param = TypeVar(identifier name, expr? bound, expr? default_value)\n"
 6918|      2|        "           | ParamSpec(identifier name, expr? default_value)\n"
 6919|      2|        "           | TypeVarTuple(identifier name, expr? default_value)");
 6920|      2|    if (!state->type_param_type) return -1;
  ------------------
  |  Branch (6920:9): [True: 0, False: 2]
  ------------------
 6921|      2|    if (add_attributes(state, state->type_param_type, type_param_attributes, 4)
  ------------------
  |  Branch (6921:9): [True: 0, False: 2]
  ------------------
 6922|      2|        < 0) return -1;
 6923|      2|    if (PySet_Add(state->abstract_types, state->type_param_type) < 0) return -1;
  ------------------
  |  Branch (6923:9): [True: 0, False: 2]
  ------------------
 6924|      2|    state->TypeVar_type = make_type(state, "TypeVar", state->type_param_type,
 6925|      2|                                    TypeVar_fields, 3,
 6926|      2|        "TypeVar(identifier name, expr? bound, expr? default_value)");
 6927|      2|    if (!state->TypeVar_type) return -1;
  ------------------
  |  Branch (6927:9): [True: 0, False: 2]
  ------------------
 6928|      2|    if (PyObject_SetAttr(state->TypeVar_type, state->bound, Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6928:9): [True: 0, False: 2]
  ------------------
 6929|      0|        return -1;
 6930|      2|    if (PyObject_SetAttr(state->TypeVar_type, state->default_value, Py_None) ==
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6930:9): [True: 0, False: 2]
  ------------------
 6931|      2|        -1)
 6932|      0|        return -1;
 6933|      2|    state->ParamSpec_type = make_type(state, "ParamSpec",
 6934|      2|                                      state->type_param_type, ParamSpec_fields,
 6935|      2|                                      2,
 6936|      2|        "ParamSpec(identifier name, expr? default_value)");
 6937|      2|    if (!state->ParamSpec_type) return -1;
  ------------------
  |  Branch (6937:9): [True: 0, False: 2]
  ------------------
 6938|      2|    if (PyObject_SetAttr(state->ParamSpec_type, state->default_value, Py_None)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (6938:9): [True: 0, False: 2]
  ------------------
 6939|      2|        == -1)
 6940|      0|        return -1;
 6941|      2|    state->TypeVarTuple_type = make_type(state, "TypeVarTuple",
 6942|      2|                                         state->type_param_type,
 6943|      2|                                         TypeVarTuple_fields, 2,
 6944|      2|        "TypeVarTuple(identifier name, expr? default_value)");
 6945|      2|    if (!state->TypeVarTuple_type) return -1;
  ------------------
  |  Branch (6945:9): [True: 0, False: 2]
  ------------------
 6946|      2|    if (PyObject_SetAttr(state->TypeVarTuple_type, state->default_value,
  ------------------
  |  Branch (6946:9): [True: 0, False: 2]
  ------------------
 6947|      2|        Py_None) == -1)
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 6948|      0|        return -1;
 6949|       |
 6950|      2|    if (!add_ast_annotations(state)) {
  ------------------
  |  Branch (6950:9): [True: 0, False: 2]
  ------------------
 6951|      0|        return -1;
 6952|      0|    }
 6953|      2|    return 0;
 6954|      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),
  ------------------
  |  |  915|      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:
 6090|      2|{
 6091|      2|    PyObject *empty_tuple;
 6092|      2|    empty_tuple = PyTuple_New(0);
 6093|      2|    if (!empty_tuple ||
  ------------------
  |  Branch (6093:9): [True: 0, False: 2]
  ------------------
 6094|      2|        PyObject_SetAttrString(state->AST_type, "_fields", empty_tuple) < 0 ||
  ------------------
  |  Branch (6094:9): [True: 0, False: 2]
  ------------------
 6095|      2|        PyObject_SetAttrString(state->AST_type, "__match_args__", empty_tuple) < 0 ||
  ------------------
  |  Branch (6095:9): [True: 0, False: 2]
  ------------------
 6096|      2|        PyObject_SetAttrString(state->AST_type, "_attributes", empty_tuple) < 0) {
  ------------------
  |  Branch (6096:9): [True: 0, False: 2]
  ------------------
 6097|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6098|      0|        return -1;
 6099|      0|    }
 6100|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6101|      2|    return 0;
 6102|      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:
 8858|      6|{
 8859|      6|    mod_ty o = (mod_ty)_o;
 8860|      6|    PyObject *result = NULL, *value = NULL;
 8861|      6|    PyTypeObject *tp;
 8862|      6|    if (!o) {
  ------------------
  |  Branch (8862:9): [True: 0, False: 6]
  ------------------
 8863|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 8864|      0|    }
 8865|      6|    if (Py_EnterRecursiveCall("during  ast construction")) {
  ------------------
  |  Branch (8865:9): [True: 0, False: 6]
  ------------------
 8866|      0|        return NULL;
 8867|      0|    }
 8868|      6|    switch (o->kind) {
  ------------------
  |  Branch (8868:13): [True: 6, False: 0]
  ------------------
 8869|      6|    case Module_kind:
  ------------------
  |  Branch (8869:5): [True: 6, False: 0]
  ------------------
 8870|      6|        tp = (PyTypeObject *)state->Module_type;
 8871|      6|        result = PyType_GenericNew(tp, NULL, NULL);
 8872|      6|        if (!result) goto failed;
  ------------------
  |  Branch (8872:13): [True: 0, False: 6]
  ------------------
 8873|      6|        value = ast2obj_list(state, (asdl_seq*)o->v.Module.body, ast2obj_stmt);
 8874|      6|        if (!value) goto failed;
  ------------------
  |  Branch (8874:13): [True: 0, False: 6]
  ------------------
 8875|      6|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (8875:13): [True: 0, False: 6]
  ------------------
 8876|      0|            goto failed;
 8877|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8878|      6|        value = ast2obj_list(state, (asdl_seq*)o->v.Module.type_ignores,
 8879|      6|                             ast2obj_type_ignore);
 8880|      6|        if (!value) goto failed;
  ------------------
  |  Branch (8880:13): [True: 0, False: 6]
  ------------------
 8881|      6|        if (PyObject_SetAttr(result, state->type_ignores, value) == -1)
  ------------------
  |  Branch (8881:13): [True: 0, False: 6]
  ------------------
 8882|      0|            goto failed;
 8883|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8884|      6|        break;
 8885|      0|    case Interactive_kind:
  ------------------
  |  Branch (8885:5): [True: 0, False: 6]
  ------------------
 8886|      0|        tp = (PyTypeObject *)state->Interactive_type;
 8887|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 8888|      0|        if (!result) goto failed;
  ------------------
  |  Branch (8888:13): [True: 0, False: 0]
  ------------------
 8889|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.Interactive.body,
 8890|      0|                             ast2obj_stmt);
 8891|      0|        if (!value) goto failed;
  ------------------
  |  Branch (8891:13): [True: 0, False: 0]
  ------------------
 8892|      0|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (8892:13): [True: 0, False: 0]
  ------------------
 8893|      0|            goto failed;
 8894|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8895|      0|        break;
 8896|      0|    case Expression_kind:
  ------------------
  |  Branch (8896:5): [True: 0, False: 6]
  ------------------
 8897|      0|        tp = (PyTypeObject *)state->Expression_type;
 8898|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 8899|      0|        if (!result) goto failed;
  ------------------
  |  Branch (8899:13): [True: 0, False: 0]
  ------------------
 8900|      0|        value = ast2obj_expr(state, o->v.Expression.body);
 8901|      0|        if (!value) goto failed;
  ------------------
  |  Branch (8901:13): [True: 0, False: 0]
  ------------------
 8902|      0|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (8902:13): [True: 0, False: 0]
  ------------------
 8903|      0|            goto failed;
 8904|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8905|      0|        break;
 8906|      0|    case FunctionType_kind:
  ------------------
  |  Branch (8906:5): [True: 0, False: 6]
  ------------------
 8907|      0|        tp = (PyTypeObject *)state->FunctionType_type;
 8908|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 8909|      0|        if (!result) goto failed;
  ------------------
  |  Branch (8909:13): [True: 0, False: 0]
  ------------------
 8910|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.FunctionType.argtypes,
 8911|      0|                             ast2obj_expr);
 8912|      0|        if (!value) goto failed;
  ------------------
  |  Branch (8912:13): [True: 0, False: 0]
  ------------------
 8913|      0|        if (PyObject_SetAttr(result, state->argtypes, value) == -1)
  ------------------
  |  Branch (8913:13): [True: 0, False: 0]
  ------------------
 8914|      0|            goto failed;
 8915|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8916|      0|        value = ast2obj_expr(state, o->v.FunctionType.returns);
 8917|      0|        if (!value) goto failed;
  ------------------
  |  Branch (8917:13): [True: 0, False: 0]
  ------------------
 8918|      0|        if (PyObject_SetAttr(result, state->returns, value) == -1)
  ------------------
  |  Branch (8918:13): [True: 0, False: 0]
  ------------------
 8919|      0|            goto failed;
 8920|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8921|      0|        break;
 8922|      6|    }
 8923|      6|    Py_LeaveRecursiveCall();
 8924|      6|    return result;
 8925|      0|failed:
 8926|      0|    Py_LeaveRecursiveCall();
 8927|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8928|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8929|       |    return NULL;
 8930|      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:
 8934|     62|{
 8935|     62|    stmt_ty o = (stmt_ty)_o;
 8936|     62|    PyObject *result = NULL, *value = NULL;
 8937|     62|    PyTypeObject *tp;
 8938|     62|    if (!o) {
  ------------------
  |  Branch (8938:9): [True: 0, False: 62]
  ------------------
 8939|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 8940|      0|    }
 8941|     62|    if (Py_EnterRecursiveCall("during  ast construction")) {
  ------------------
  |  Branch (8941:9): [True: 0, False: 62]
  ------------------
 8942|      0|        return NULL;
 8943|      0|    }
 8944|     62|    switch (o->kind) {
  ------------------
  |  Branch (8944:13): [True: 62, False: 0]
  ------------------
 8945|      6|    case FunctionDef_kind:
  ------------------
  |  Branch (8945:5): [True: 6, False: 56]
  ------------------
 8946|      6|        tp = (PyTypeObject *)state->FunctionDef_type;
 8947|      6|        result = PyType_GenericNew(tp, NULL, NULL);
 8948|      6|        if (!result) goto failed;
  ------------------
  |  Branch (8948:13): [True: 0, False: 6]
  ------------------
 8949|      6|        value = ast2obj_identifier(state, o->v.FunctionDef.name);
  ------------------
  |  | 6019|      6|#define ast2obj_identifier ast2obj_object
  ------------------
 8950|      6|        if (!value) goto failed;
  ------------------
  |  Branch (8950:13): [True: 0, False: 6]
  ------------------
 8951|      6|        if (PyObject_SetAttr(result, state->name, value) == -1)
  ------------------
  |  Branch (8951:13): [True: 0, False: 6]
  ------------------
 8952|      0|            goto failed;
 8953|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8954|      6|        value = ast2obj_arguments(state, o->v.FunctionDef.args);
 8955|      6|        if (!value) goto failed;
  ------------------
  |  Branch (8955:13): [True: 0, False: 6]
  ------------------
 8956|      6|        if (PyObject_SetAttr(result, state->args, value) == -1)
  ------------------
  |  Branch (8956:13): [True: 0, False: 6]
  ------------------
 8957|      0|            goto failed;
 8958|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8959|      6|        value = ast2obj_list(state, (asdl_seq*)o->v.FunctionDef.body,
 8960|      6|                             ast2obj_stmt);
 8961|      6|        if (!value) goto failed;
  ------------------
  |  Branch (8961:13): [True: 0, False: 6]
  ------------------
 8962|      6|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (8962:13): [True: 0, False: 6]
  ------------------
 8963|      0|            goto failed;
 8964|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8965|      6|        value = ast2obj_list(state, (asdl_seq*)o->v.FunctionDef.decorator_list,
 8966|      6|                             ast2obj_expr);
 8967|      6|        if (!value) goto failed;
  ------------------
  |  Branch (8967:13): [True: 0, False: 6]
  ------------------
 8968|      6|        if (PyObject_SetAttr(result, state->decorator_list, value) == -1)
  ------------------
  |  Branch (8968:13): [True: 0, False: 6]
  ------------------
 8969|      0|            goto failed;
 8970|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8971|      6|        value = ast2obj_expr(state, o->v.FunctionDef.returns);
 8972|      6|        if (!value) goto failed;
  ------------------
  |  Branch (8972:13): [True: 0, False: 6]
  ------------------
 8973|      6|        if (PyObject_SetAttr(result, state->returns, value) == -1)
  ------------------
  |  Branch (8973:13): [True: 0, False: 6]
  ------------------
 8974|      0|            goto failed;
 8975|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8976|      6|        value = ast2obj_string(state, o->v.FunctionDef.type_comment);
  ------------------
  |  | 6020|      6|#define ast2obj_string ast2obj_object
  ------------------
 8977|      6|        if (!value) goto failed;
  ------------------
  |  Branch (8977:13): [True: 0, False: 6]
  ------------------
 8978|      6|        if (PyObject_SetAttr(result, state->type_comment, value) == -1)
  ------------------
  |  Branch (8978:13): [True: 0, False: 6]
  ------------------
 8979|      0|            goto failed;
 8980|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8981|      6|        value = ast2obj_list(state, (asdl_seq*)o->v.FunctionDef.type_params,
 8982|      6|                             ast2obj_type_param);
 8983|      6|        if (!value) goto failed;
  ------------------
  |  Branch (8983:13): [True: 0, False: 6]
  ------------------
 8984|      6|        if (PyObject_SetAttr(result, state->type_params, value) == -1)
  ------------------
  |  Branch (8984:13): [True: 0, False: 6]
  ------------------
 8985|      0|            goto failed;
 8986|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8987|      6|        break;
 8988|      0|    case AsyncFunctionDef_kind:
  ------------------
  |  Branch (8988:5): [True: 0, False: 62]
  ------------------
 8989|      0|        tp = (PyTypeObject *)state->AsyncFunctionDef_type;
 8990|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 8991|      0|        if (!result) goto failed;
  ------------------
  |  Branch (8991:13): [True: 0, False: 0]
  ------------------
 8992|      0|        value = ast2obj_identifier(state, o->v.AsyncFunctionDef.name);
  ------------------
  |  | 6019|      0|#define ast2obj_identifier ast2obj_object
  ------------------
 8993|      0|        if (!value) goto failed;
  ------------------
  |  Branch (8993:13): [True: 0, False: 0]
  ------------------
 8994|      0|        if (PyObject_SetAttr(result, state->name, value) == -1)
  ------------------
  |  Branch (8994:13): [True: 0, False: 0]
  ------------------
 8995|      0|            goto failed;
 8996|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 8997|      0|        value = ast2obj_arguments(state, o->v.AsyncFunctionDef.args);
 8998|      0|        if (!value) goto failed;
  ------------------
  |  Branch (8998:13): [True: 0, False: 0]
  ------------------
 8999|      0|        if (PyObject_SetAttr(result, state->args, value) == -1)
  ------------------
  |  Branch (8999:13): [True: 0, False: 0]
  ------------------
 9000|      0|            goto failed;
 9001|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9002|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.AsyncFunctionDef.body,
 9003|      0|                             ast2obj_stmt);
 9004|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9004:13): [True: 0, False: 0]
  ------------------
 9005|      0|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (9005:13): [True: 0, False: 0]
  ------------------
 9006|      0|            goto failed;
 9007|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9008|      0|        value = ast2obj_list(state,
 9009|      0|                             (asdl_seq*)o->v.AsyncFunctionDef.decorator_list,
 9010|      0|                             ast2obj_expr);
 9011|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9011:13): [True: 0, False: 0]
  ------------------
 9012|      0|        if (PyObject_SetAttr(result, state->decorator_list, 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_expr(state, o->v.AsyncFunctionDef.returns);
 9016|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9016:13): [True: 0, False: 0]
  ------------------
 9017|      0|        if (PyObject_SetAttr(result, state->returns, value) == -1)
  ------------------
  |  Branch (9017:13): [True: 0, False: 0]
  ------------------
 9018|      0|            goto failed;
 9019|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9020|      0|        value = ast2obj_string(state, o->v.AsyncFunctionDef.type_comment);
  ------------------
  |  | 6020|      0|#define ast2obj_string ast2obj_object
  ------------------
 9021|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9021:13): [True: 0, False: 0]
  ------------------
 9022|      0|        if (PyObject_SetAttr(result, state->type_comment, value) == -1)
  ------------------
  |  Branch (9022:13): [True: 0, False: 0]
  ------------------
 9023|      0|            goto failed;
 9024|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9025|      0|        value = ast2obj_list(state,
 9026|      0|                             (asdl_seq*)o->v.AsyncFunctionDef.type_params,
 9027|      0|                             ast2obj_type_param);
 9028|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9028:13): [True: 0, False: 0]
  ------------------
 9029|      0|        if (PyObject_SetAttr(result, state->type_params, value) == -1)
  ------------------
  |  Branch (9029:13): [True: 0, False: 0]
  ------------------
 9030|      0|            goto failed;
 9031|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9032|      0|        break;
 9033|      0|    case ClassDef_kind:
  ------------------
  |  Branch (9033:5): [True: 0, False: 62]
  ------------------
 9034|      0|        tp = (PyTypeObject *)state->ClassDef_type;
 9035|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9036|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9036:13): [True: 0, False: 0]
  ------------------
 9037|      0|        value = ast2obj_identifier(state, o->v.ClassDef.name);
  ------------------
  |  | 6019|      0|#define ast2obj_identifier ast2obj_object
  ------------------
 9038|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9038:13): [True: 0, False: 0]
  ------------------
 9039|      0|        if (PyObject_SetAttr(result, state->name, value) == -1)
  ------------------
  |  Branch (9039:13): [True: 0, False: 0]
  ------------------
 9040|      0|            goto failed;
 9041|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9042|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.ClassDef.bases,
 9043|      0|                             ast2obj_expr);
 9044|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9044:13): [True: 0, False: 0]
  ------------------
 9045|      0|        if (PyObject_SetAttr(result, state->bases, value) == -1)
  ------------------
  |  Branch (9045:13): [True: 0, False: 0]
  ------------------
 9046|      0|            goto failed;
 9047|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9048|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.ClassDef.keywords,
 9049|      0|                             ast2obj_keyword);
 9050|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9050:13): [True: 0, False: 0]
  ------------------
 9051|      0|        if (PyObject_SetAttr(result, state->keywords, value) == -1)
  ------------------
  |  Branch (9051:13): [True: 0, False: 0]
  ------------------
 9052|      0|            goto failed;
 9053|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9054|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.ClassDef.body,
 9055|      0|                             ast2obj_stmt);
 9056|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9056:13): [True: 0, False: 0]
  ------------------
 9057|      0|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (9057:13): [True: 0, False: 0]
  ------------------
 9058|      0|            goto failed;
 9059|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9060|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.ClassDef.decorator_list,
 9061|      0|                             ast2obj_expr);
 9062|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9062:13): [True: 0, False: 0]
  ------------------
 9063|      0|        if (PyObject_SetAttr(result, state->decorator_list, value) == -1)
  ------------------
  |  Branch (9063:13): [True: 0, False: 0]
  ------------------
 9064|      0|            goto failed;
 9065|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9066|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.ClassDef.type_params,
 9067|      0|                             ast2obj_type_param);
 9068|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9068:13): [True: 0, False: 0]
  ------------------
 9069|      0|        if (PyObject_SetAttr(result, state->type_params, value) == -1)
  ------------------
  |  Branch (9069:13): [True: 0, False: 0]
  ------------------
 9070|      0|            goto failed;
 9071|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9072|      0|        break;
 9073|      8|    case Return_kind:
  ------------------
  |  Branch (9073:5): [True: 8, False: 54]
  ------------------
 9074|      8|        tp = (PyTypeObject *)state->Return_type;
 9075|      8|        result = PyType_GenericNew(tp, NULL, NULL);
 9076|      8|        if (!result) goto failed;
  ------------------
  |  Branch (9076:13): [True: 0, False: 8]
  ------------------
 9077|      8|        value = ast2obj_expr(state, o->v.Return.value);
 9078|      8|        if (!value) goto failed;
  ------------------
  |  Branch (9078:13): [True: 0, False: 8]
  ------------------
 9079|      8|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (9079:13): [True: 0, False: 8]
  ------------------
 9080|      0|            goto failed;
 9081|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9082|      8|        break;
 9083|      0|    case Delete_kind:
  ------------------
  |  Branch (9083:5): [True: 0, False: 62]
  ------------------
 9084|      0|        tp = (PyTypeObject *)state->Delete_type;
 9085|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9086|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9086:13): [True: 0, False: 0]
  ------------------
 9087|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.Delete.targets,
 9088|      0|                             ast2obj_expr);
 9089|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9089:13): [True: 0, False: 0]
  ------------------
 9090|      0|        if (PyObject_SetAttr(result, state->targets, value) == -1)
  ------------------
  |  Branch (9090:13): [True: 0, False: 0]
  ------------------
 9091|      0|            goto failed;
 9092|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9093|      0|        break;
 9094|     18|    case Assign_kind:
  ------------------
  |  Branch (9094:5): [True: 18, False: 44]
  ------------------
 9095|     18|        tp = (PyTypeObject *)state->Assign_type;
 9096|     18|        result = PyType_GenericNew(tp, NULL, NULL);
 9097|     18|        if (!result) goto failed;
  ------------------
  |  Branch (9097:13): [True: 0, False: 18]
  ------------------
 9098|     18|        value = ast2obj_list(state, (asdl_seq*)o->v.Assign.targets,
 9099|     18|                             ast2obj_expr);
 9100|     18|        if (!value) goto failed;
  ------------------
  |  Branch (9100:13): [True: 0, False: 18]
  ------------------
 9101|     18|        if (PyObject_SetAttr(result, state->targets, value) == -1)
  ------------------
  |  Branch (9101:13): [True: 0, False: 18]
  ------------------
 9102|      0|            goto failed;
 9103|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9104|     18|        value = ast2obj_expr(state, o->v.Assign.value);
 9105|     18|        if (!value) goto failed;
  ------------------
  |  Branch (9105:13): [True: 0, False: 18]
  ------------------
 9106|     18|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (9106:13): [True: 0, False: 18]
  ------------------
 9107|      0|            goto failed;
 9108|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9109|     18|        value = ast2obj_string(state, o->v.Assign.type_comment);
  ------------------
  |  | 6020|     18|#define ast2obj_string ast2obj_object
  ------------------
 9110|     18|        if (!value) goto failed;
  ------------------
  |  Branch (9110:13): [True: 0, False: 18]
  ------------------
 9111|     18|        if (PyObject_SetAttr(result, state->type_comment, value) == -1)
  ------------------
  |  Branch (9111:13): [True: 0, False: 18]
  ------------------
 9112|      0|            goto failed;
 9113|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9114|     18|        break;
 9115|      0|    case TypeAlias_kind:
  ------------------
  |  Branch (9115:5): [True: 0, False: 62]
  ------------------
 9116|      0|        tp = (PyTypeObject *)state->TypeAlias_type;
 9117|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9118|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9118:13): [True: 0, False: 0]
  ------------------
 9119|      0|        value = ast2obj_expr(state, o->v.TypeAlias.name);
 9120|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9120:13): [True: 0, False: 0]
  ------------------
 9121|      0|        if (PyObject_SetAttr(result, state->name, value) == -1)
  ------------------
  |  Branch (9121:13): [True: 0, False: 0]
  ------------------
 9122|      0|            goto failed;
 9123|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9124|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.TypeAlias.type_params,
 9125|      0|                             ast2obj_type_param);
 9126|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9126:13): [True: 0, False: 0]
  ------------------
 9127|      0|        if (PyObject_SetAttr(result, state->type_params, value) == -1)
  ------------------
  |  Branch (9127:13): [True: 0, False: 0]
  ------------------
 9128|      0|            goto failed;
 9129|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9130|      0|        value = ast2obj_expr(state, o->v.TypeAlias.value);
 9131|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9131:13): [True: 0, False: 0]
  ------------------
 9132|      0|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (9132:13): [True: 0, False: 0]
  ------------------
 9133|      0|            goto failed;
 9134|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9135|      0|        break;
 9136|      6|    case AugAssign_kind:
  ------------------
  |  Branch (9136:5): [True: 6, False: 56]
  ------------------
 9137|      6|        tp = (PyTypeObject *)state->AugAssign_type;
 9138|      6|        result = PyType_GenericNew(tp, NULL, NULL);
 9139|      6|        if (!result) goto failed;
  ------------------
  |  Branch (9139:13): [True: 0, False: 6]
  ------------------
 9140|      6|        value = ast2obj_expr(state, o->v.AugAssign.target);
 9141|      6|        if (!value) goto failed;
  ------------------
  |  Branch (9141:13): [True: 0, False: 6]
  ------------------
 9142|      6|        if (PyObject_SetAttr(result, state->target, value) == -1)
  ------------------
  |  Branch (9142:13): [True: 0, False: 6]
  ------------------
 9143|      0|            goto failed;
 9144|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9145|      6|        value = ast2obj_operator(state, o->v.AugAssign.op);
 9146|      6|        if (!value) goto failed;
  ------------------
  |  Branch (9146:13): [True: 0, False: 6]
  ------------------
 9147|      6|        if (PyObject_SetAttr(result, state->op, value) == -1)
  ------------------
  |  Branch (9147:13): [True: 0, False: 6]
  ------------------
 9148|      0|            goto failed;
 9149|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9150|      6|        value = ast2obj_expr(state, o->v.AugAssign.value);
 9151|      6|        if (!value) goto failed;
  ------------------
  |  Branch (9151:13): [True: 0, False: 6]
  ------------------
 9152|      6|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (9152:13): [True: 0, False: 6]
  ------------------
 9153|      0|            goto failed;
 9154|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9155|      6|        break;
 9156|      0|    case AnnAssign_kind:
  ------------------
  |  Branch (9156:5): [True: 0, False: 62]
  ------------------
 9157|      0|        tp = (PyTypeObject *)state->AnnAssign_type;
 9158|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9159|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9159:13): [True: 0, False: 0]
  ------------------
 9160|      0|        value = ast2obj_expr(state, o->v.AnnAssign.target);
 9161|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9161:13): [True: 0, False: 0]
  ------------------
 9162|      0|        if (PyObject_SetAttr(result, state->target, value) == -1)
  ------------------
  |  Branch (9162:13): [True: 0, False: 0]
  ------------------
 9163|      0|            goto failed;
 9164|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9165|      0|        value = ast2obj_expr(state, o->v.AnnAssign.annotation);
 9166|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9166:13): [True: 0, False: 0]
  ------------------
 9167|      0|        if (PyObject_SetAttr(result, state->annotation, value) == -1)
  ------------------
  |  Branch (9167:13): [True: 0, False: 0]
  ------------------
 9168|      0|            goto failed;
 9169|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9170|      0|        value = ast2obj_expr(state, o->v.AnnAssign.value);
 9171|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9171:13): [True: 0, False: 0]
  ------------------
 9172|      0|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (9172:13): [True: 0, False: 0]
  ------------------
 9173|      0|            goto failed;
 9174|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9175|      0|        value = ast2obj_int(state, o->v.AnnAssign.simple);
 9176|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9176:13): [True: 0, False: 0]
  ------------------
 9177|      0|        if (PyObject_SetAttr(result, state->simple, value) == -1)
  ------------------
  |  Branch (9177:13): [True: 0, False: 0]
  ------------------
 9178|      0|            goto failed;
 9179|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9180|      0|        break;
 9181|      0|    case For_kind:
  ------------------
  |  Branch (9181:5): [True: 0, False: 62]
  ------------------
 9182|      0|        tp = (PyTypeObject *)state->For_type;
 9183|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9184|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9184:13): [True: 0, False: 0]
  ------------------
 9185|      0|        value = ast2obj_expr(state, o->v.For.target);
 9186|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9186:13): [True: 0, False: 0]
  ------------------
 9187|      0|        if (PyObject_SetAttr(result, state->target, value) == -1)
  ------------------
  |  Branch (9187:13): [True: 0, False: 0]
  ------------------
 9188|      0|            goto failed;
 9189|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9190|      0|        value = ast2obj_expr(state, o->v.For.iter);
 9191|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9191:13): [True: 0, False: 0]
  ------------------
 9192|      0|        if (PyObject_SetAttr(result, state->iter, value) == -1)
  ------------------
  |  Branch (9192:13): [True: 0, False: 0]
  ------------------
 9193|      0|            goto failed;
 9194|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9195|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.For.body, ast2obj_stmt);
 9196|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9196:13): [True: 0, False: 0]
  ------------------
 9197|      0|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (9197:13): [True: 0, False: 0]
  ------------------
 9198|      0|            goto failed;
 9199|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9200|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.For.orelse, ast2obj_stmt);
 9201|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9201:13): [True: 0, False: 0]
  ------------------
 9202|      0|        if (PyObject_SetAttr(result, state->orelse, value) == -1)
  ------------------
  |  Branch (9202:13): [True: 0, False: 0]
  ------------------
 9203|      0|            goto failed;
 9204|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9205|      0|        value = ast2obj_string(state, o->v.For.type_comment);
  ------------------
  |  | 6020|      0|#define ast2obj_string ast2obj_object
  ------------------
 9206|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9206:13): [True: 0, False: 0]
  ------------------
 9207|      0|        if (PyObject_SetAttr(result, state->type_comment, value) == -1)
  ------------------
  |  Branch (9207:13): [True: 0, False: 0]
  ------------------
 9208|      0|            goto failed;
 9209|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9210|      0|        break;
 9211|      0|    case AsyncFor_kind:
  ------------------
  |  Branch (9211:5): [True: 0, False: 62]
  ------------------
 9212|      0|        tp = (PyTypeObject *)state->AsyncFor_type;
 9213|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9214|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9214:13): [True: 0, False: 0]
  ------------------
 9215|      0|        value = ast2obj_expr(state, o->v.AsyncFor.target);
 9216|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9216:13): [True: 0, False: 0]
  ------------------
 9217|      0|        if (PyObject_SetAttr(result, state->target, value) == -1)
  ------------------
  |  Branch (9217:13): [True: 0, False: 0]
  ------------------
 9218|      0|            goto failed;
 9219|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9220|      0|        value = ast2obj_expr(state, o->v.AsyncFor.iter);
 9221|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9221:13): [True: 0, False: 0]
  ------------------
 9222|      0|        if (PyObject_SetAttr(result, state->iter, value) == -1)
  ------------------
  |  Branch (9222:13): [True: 0, False: 0]
  ------------------
 9223|      0|            goto failed;
 9224|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9225|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.AsyncFor.body,
 9226|      0|                             ast2obj_stmt);
 9227|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9227:13): [True: 0, False: 0]
  ------------------
 9228|      0|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (9228:13): [True: 0, False: 0]
  ------------------
 9229|      0|            goto failed;
 9230|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9231|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.AsyncFor.orelse,
 9232|      0|                             ast2obj_stmt);
 9233|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9233:13): [True: 0, False: 0]
  ------------------
 9234|      0|        if (PyObject_SetAttr(result, state->orelse, value) == -1)
  ------------------
  |  Branch (9234:13): [True: 0, False: 0]
  ------------------
 9235|      0|            goto failed;
 9236|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9237|      0|        value = ast2obj_string(state, o->v.AsyncFor.type_comment);
  ------------------
  |  | 6020|      0|#define ast2obj_string ast2obj_object
  ------------------
 9238|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9238:13): [True: 0, False: 0]
  ------------------
 9239|      0|        if (PyObject_SetAttr(result, state->type_comment, value) == -1)
  ------------------
  |  Branch (9239:13): [True: 0, False: 0]
  ------------------
 9240|      0|            goto failed;
 9241|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9242|      0|        break;
 9243|      0|    case While_kind:
  ------------------
  |  Branch (9243:5): [True: 0, False: 62]
  ------------------
 9244|      0|        tp = (PyTypeObject *)state->While_type;
 9245|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9246|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9246:13): [True: 0, False: 0]
  ------------------
 9247|      0|        value = ast2obj_expr(state, o->v.While.test);
 9248|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9248:13): [True: 0, False: 0]
  ------------------
 9249|      0|        if (PyObject_SetAttr(result, state->test, value) == -1)
  ------------------
  |  Branch (9249:13): [True: 0, False: 0]
  ------------------
 9250|      0|            goto failed;
 9251|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9252|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.While.body, ast2obj_stmt);
 9253|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9253:13): [True: 0, False: 0]
  ------------------
 9254|      0|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (9254:13): [True: 0, False: 0]
  ------------------
 9255|      0|            goto failed;
 9256|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9257|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.While.orelse, ast2obj_stmt);
 9258|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9258:13): [True: 0, False: 0]
  ------------------
 9259|      0|        if (PyObject_SetAttr(result, state->orelse, value) == -1)
  ------------------
  |  Branch (9259:13): [True: 0, False: 0]
  ------------------
 9260|      0|            goto failed;
 9261|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9262|      0|        break;
 9263|     18|    case If_kind:
  ------------------
  |  Branch (9263:5): [True: 18, False: 44]
  ------------------
 9264|     18|        tp = (PyTypeObject *)state->If_type;
 9265|     18|        result = PyType_GenericNew(tp, NULL, NULL);
 9266|     18|        if (!result) goto failed;
  ------------------
  |  Branch (9266:13): [True: 0, False: 18]
  ------------------
 9267|     18|        value = ast2obj_expr(state, o->v.If.test);
 9268|     18|        if (!value) goto failed;
  ------------------
  |  Branch (9268:13): [True: 0, False: 18]
  ------------------
 9269|     18|        if (PyObject_SetAttr(result, state->test, value) == -1)
  ------------------
  |  Branch (9269:13): [True: 0, False: 18]
  ------------------
 9270|      0|            goto failed;
 9271|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9272|     18|        value = ast2obj_list(state, (asdl_seq*)o->v.If.body, ast2obj_stmt);
 9273|     18|        if (!value) goto failed;
  ------------------
  |  Branch (9273:13): [True: 0, False: 18]
  ------------------
 9274|     18|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (9274:13): [True: 0, False: 18]
  ------------------
 9275|      0|            goto failed;
 9276|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9277|     18|        value = ast2obj_list(state, (asdl_seq*)o->v.If.orelse, ast2obj_stmt);
 9278|     18|        if (!value) goto failed;
  ------------------
  |  Branch (9278:13): [True: 0, False: 18]
  ------------------
 9279|     18|        if (PyObject_SetAttr(result, state->orelse, value) == -1)
  ------------------
  |  Branch (9279:13): [True: 0, False: 18]
  ------------------
 9280|      0|            goto failed;
 9281|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9282|     18|        break;
 9283|      0|    case With_kind:
  ------------------
  |  Branch (9283:5): [True: 0, False: 62]
  ------------------
 9284|      0|        tp = (PyTypeObject *)state->With_type;
 9285|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9286|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9286:13): [True: 0, False: 0]
  ------------------
 9287|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.With.items,
 9288|      0|                             ast2obj_withitem);
 9289|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9289:13): [True: 0, False: 0]
  ------------------
 9290|      0|        if (PyObject_SetAttr(result, state->items, value) == -1)
  ------------------
  |  Branch (9290:13): [True: 0, False: 0]
  ------------------
 9291|      0|            goto failed;
 9292|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9293|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.With.body, ast2obj_stmt);
 9294|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9294:13): [True: 0, False: 0]
  ------------------
 9295|      0|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (9295:13): [True: 0, False: 0]
  ------------------
 9296|      0|            goto failed;
 9297|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9298|      0|        value = ast2obj_string(state, o->v.With.type_comment);
  ------------------
  |  | 6020|      0|#define ast2obj_string ast2obj_object
  ------------------
 9299|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9299:13): [True: 0, False: 0]
  ------------------
 9300|      0|        if (PyObject_SetAttr(result, state->type_comment, value) == -1)
  ------------------
  |  Branch (9300:13): [True: 0, False: 0]
  ------------------
 9301|      0|            goto failed;
 9302|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9303|      0|        break;
 9304|      0|    case AsyncWith_kind:
  ------------------
  |  Branch (9304:5): [True: 0, False: 62]
  ------------------
 9305|      0|        tp = (PyTypeObject *)state->AsyncWith_type;
 9306|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9307|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9307:13): [True: 0, False: 0]
  ------------------
 9308|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.AsyncWith.items,
 9309|      0|                             ast2obj_withitem);
 9310|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9310:13): [True: 0, False: 0]
  ------------------
 9311|      0|        if (PyObject_SetAttr(result, state->items, value) == -1)
  ------------------
  |  Branch (9311:13): [True: 0, False: 0]
  ------------------
 9312|      0|            goto failed;
 9313|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9314|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.AsyncWith.body,
 9315|      0|                             ast2obj_stmt);
 9316|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9316:13): [True: 0, False: 0]
  ------------------
 9317|      0|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (9317:13): [True: 0, False: 0]
  ------------------
 9318|      0|            goto failed;
 9319|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9320|      0|        value = ast2obj_string(state, o->v.AsyncWith.type_comment);
  ------------------
  |  | 6020|      0|#define ast2obj_string ast2obj_object
  ------------------
 9321|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9321:13): [True: 0, False: 0]
  ------------------
 9322|      0|        if (PyObject_SetAttr(result, state->type_comment, value) == -1)
  ------------------
  |  Branch (9322:13): [True: 0, False: 0]
  ------------------
 9323|      0|            goto failed;
 9324|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9325|      0|        break;
 9326|      0|    case Match_kind:
  ------------------
  |  Branch (9326:5): [True: 0, False: 62]
  ------------------
 9327|      0|        tp = (PyTypeObject *)state->Match_type;
 9328|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9329|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9329:13): [True: 0, False: 0]
  ------------------
 9330|      0|        value = ast2obj_expr(state, o->v.Match.subject);
 9331|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9331:13): [True: 0, False: 0]
  ------------------
 9332|      0|        if (PyObject_SetAttr(result, state->subject, value) == -1)
  ------------------
  |  Branch (9332:13): [True: 0, False: 0]
  ------------------
 9333|      0|            goto failed;
 9334|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9335|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.Match.cases,
 9336|      0|                             ast2obj_match_case);
 9337|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9337:13): [True: 0, False: 0]
  ------------------
 9338|      0|        if (PyObject_SetAttr(result, state->cases, value) == -1)
  ------------------
  |  Branch (9338:13): [True: 0, False: 0]
  ------------------
 9339|      0|            goto failed;
 9340|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9341|      0|        break;
 9342|      0|    case Raise_kind:
  ------------------
  |  Branch (9342:5): [True: 0, False: 62]
  ------------------
 9343|      0|        tp = (PyTypeObject *)state->Raise_type;
 9344|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9345|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9345:13): [True: 0, False: 0]
  ------------------
 9346|      0|        value = ast2obj_expr(state, o->v.Raise.exc);
 9347|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9347:13): [True: 0, False: 0]
  ------------------
 9348|      0|        if (PyObject_SetAttr(result, state->exc, value) == -1)
  ------------------
  |  Branch (9348:13): [True: 0, False: 0]
  ------------------
 9349|      0|            goto failed;
 9350|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9351|      0|        value = ast2obj_expr(state, o->v.Raise.cause);
 9352|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9352:13): [True: 0, False: 0]
  ------------------
 9353|      0|        if (PyObject_SetAttr(result, state->cause, value) == -1)
  ------------------
  |  Branch (9353:13): [True: 0, False: 0]
  ------------------
 9354|      0|            goto failed;
 9355|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9356|      0|        break;
 9357|      0|    case Try_kind:
  ------------------
  |  Branch (9357:5): [True: 0, False: 62]
  ------------------
 9358|      0|        tp = (PyTypeObject *)state->Try_type;
 9359|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9360|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9360:13): [True: 0, False: 0]
  ------------------
 9361|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.Try.body, ast2obj_stmt);
 9362|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9362:13): [True: 0, False: 0]
  ------------------
 9363|      0|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (9363:13): [True: 0, False: 0]
  ------------------
 9364|      0|            goto failed;
 9365|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9366|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.Try.handlers,
 9367|      0|                             ast2obj_excepthandler);
 9368|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9368:13): [True: 0, False: 0]
  ------------------
 9369|      0|        if (PyObject_SetAttr(result, state->handlers, value) == -1)
  ------------------
  |  Branch (9369:13): [True: 0, False: 0]
  ------------------
 9370|      0|            goto failed;
 9371|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9372|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.Try.orelse, ast2obj_stmt);
 9373|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9373:13): [True: 0, False: 0]
  ------------------
 9374|      0|        if (PyObject_SetAttr(result, state->orelse, value) == -1)
  ------------------
  |  Branch (9374:13): [True: 0, False: 0]
  ------------------
 9375|      0|            goto failed;
 9376|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9377|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.Try.finalbody,
 9378|      0|                             ast2obj_stmt);
 9379|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9379:13): [True: 0, False: 0]
  ------------------
 9380|      0|        if (PyObject_SetAttr(result, state->finalbody, value) == -1)
  ------------------
  |  Branch (9380:13): [True: 0, False: 0]
  ------------------
 9381|      0|            goto failed;
 9382|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9383|      0|        break;
 9384|      0|    case TryStar_kind:
  ------------------
  |  Branch (9384:5): [True: 0, False: 62]
  ------------------
 9385|      0|        tp = (PyTypeObject *)state->TryStar_type;
 9386|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9387|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9387:13): [True: 0, False: 0]
  ------------------
 9388|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.TryStar.body, ast2obj_stmt);
 9389|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9389:13): [True: 0, False: 0]
  ------------------
 9390|      0|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (9390:13): [True: 0, False: 0]
  ------------------
 9391|      0|            goto failed;
 9392|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9393|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.TryStar.handlers,
 9394|      0|                             ast2obj_excepthandler);
 9395|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9395:13): [True: 0, False: 0]
  ------------------
 9396|      0|        if (PyObject_SetAttr(result, state->handlers, value) == -1)
  ------------------
  |  Branch (9396:13): [True: 0, False: 0]
  ------------------
 9397|      0|            goto failed;
 9398|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9399|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.TryStar.orelse,
 9400|      0|                             ast2obj_stmt);
 9401|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9401:13): [True: 0, False: 0]
  ------------------
 9402|      0|        if (PyObject_SetAttr(result, state->orelse, value) == -1)
  ------------------
  |  Branch (9402:13): [True: 0, False: 0]
  ------------------
 9403|      0|            goto failed;
 9404|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9405|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.TryStar.finalbody,
 9406|      0|                             ast2obj_stmt);
 9407|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9407:13): [True: 0, False: 0]
  ------------------
 9408|      0|        if (PyObject_SetAttr(result, state->finalbody, value) == -1)
  ------------------
  |  Branch (9408:13): [True: 0, False: 0]
  ------------------
 9409|      0|            goto failed;
 9410|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9411|      0|        break;
 9412|      0|    case Assert_kind:
  ------------------
  |  Branch (9412:5): [True: 0, False: 62]
  ------------------
 9413|      0|        tp = (PyTypeObject *)state->Assert_type;
 9414|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9415|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9415:13): [True: 0, False: 0]
  ------------------
 9416|      0|        value = ast2obj_expr(state, o->v.Assert.test);
 9417|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9417:13): [True: 0, False: 0]
  ------------------
 9418|      0|        if (PyObject_SetAttr(result, state->test, value) == -1)
  ------------------
  |  Branch (9418:13): [True: 0, False: 0]
  ------------------
 9419|      0|            goto failed;
 9420|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9421|      0|        value = ast2obj_expr(state, o->v.Assert.msg);
 9422|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9422:13): [True: 0, False: 0]
  ------------------
 9423|      0|        if (PyObject_SetAttr(result, state->msg, value) == -1)
  ------------------
  |  Branch (9423:13): [True: 0, False: 0]
  ------------------
 9424|      0|            goto failed;
 9425|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9426|      0|        break;
 9427|      0|    case Import_kind:
  ------------------
  |  Branch (9427:5): [True: 0, False: 62]
  ------------------
 9428|      0|        tp = (PyTypeObject *)state->Import_type;
 9429|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9430|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9430:13): [True: 0, False: 0]
  ------------------
 9431|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.Import.names,
 9432|      0|                             ast2obj_alias);
 9433|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9433:13): [True: 0, False: 0]
  ------------------
 9434|      0|        if (PyObject_SetAttr(result, state->names, value) == -1)
  ------------------
  |  Branch (9434:13): [True: 0, False: 0]
  ------------------
 9435|      0|            goto failed;
 9436|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9437|      0|        value = ast2obj_int(state, o->v.Import.is_lazy);
 9438|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9438:13): [True: 0, False: 0]
  ------------------
 9439|      0|        if (PyObject_SetAttr(result, state->is_lazy, value) == -1)
  ------------------
  |  Branch (9439:13): [True: 0, False: 0]
  ------------------
 9440|      0|            goto failed;
 9441|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9442|      0|        break;
 9443|      0|    case ImportFrom_kind:
  ------------------
  |  Branch (9443:5): [True: 0, False: 62]
  ------------------
 9444|      0|        tp = (PyTypeObject *)state->ImportFrom_type;
 9445|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9446|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9446:13): [True: 0, False: 0]
  ------------------
 9447|      0|        value = ast2obj_identifier(state, o->v.ImportFrom.module);
  ------------------
  |  | 6019|      0|#define ast2obj_identifier ast2obj_object
  ------------------
 9448|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9448:13): [True: 0, False: 0]
  ------------------
 9449|      0|        if (PyObject_SetAttr(result, state->module, value) == -1)
  ------------------
  |  Branch (9449:13): [True: 0, False: 0]
  ------------------
 9450|      0|            goto failed;
 9451|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9452|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.ImportFrom.names,
 9453|      0|                             ast2obj_alias);
 9454|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9454:13): [True: 0, False: 0]
  ------------------
 9455|      0|        if (PyObject_SetAttr(result, state->names, value) == -1)
  ------------------
  |  Branch (9455:13): [True: 0, False: 0]
  ------------------
 9456|      0|            goto failed;
 9457|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9458|      0|        value = ast2obj_int(state, o->v.ImportFrom.level);
 9459|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9459:13): [True: 0, False: 0]
  ------------------
 9460|      0|        if (PyObject_SetAttr(result, state->level, value) == -1)
  ------------------
  |  Branch (9460:13): [True: 0, False: 0]
  ------------------
 9461|      0|            goto failed;
 9462|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9463|      0|        value = ast2obj_int(state, o->v.ImportFrom.is_lazy);
 9464|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9464:13): [True: 0, False: 0]
  ------------------
 9465|      0|        if (PyObject_SetAttr(result, state->is_lazy, value) == -1)
  ------------------
  |  Branch (9465:13): [True: 0, False: 0]
  ------------------
 9466|      0|            goto failed;
 9467|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9468|      0|        break;
 9469|      0|    case Global_kind:
  ------------------
  |  Branch (9469:5): [True: 0, False: 62]
  ------------------
 9470|      0|        tp = (PyTypeObject *)state->Global_type;
 9471|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9472|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9472:13): [True: 0, False: 0]
  ------------------
 9473|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.Global.names,
 9474|      0|                             ast2obj_identifier);
  ------------------
  |  | 6019|      0|#define ast2obj_identifier ast2obj_object
  ------------------
 9475|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9475:13): [True: 0, False: 0]
  ------------------
 9476|      0|        if (PyObject_SetAttr(result, state->names, value) == -1)
  ------------------
  |  Branch (9476:13): [True: 0, False: 0]
  ------------------
 9477|      0|            goto failed;
 9478|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9479|      0|        break;
 9480|      0|    case Nonlocal_kind:
  ------------------
  |  Branch (9480:5): [True: 0, False: 62]
  ------------------
 9481|      0|        tp = (PyTypeObject *)state->Nonlocal_type;
 9482|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9483|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9483:13): [True: 0, False: 0]
  ------------------
 9484|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.Nonlocal.names,
 9485|      0|                             ast2obj_identifier);
  ------------------
  |  | 6019|      0|#define ast2obj_identifier ast2obj_object
  ------------------
 9486|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9486:13): [True: 0, False: 0]
  ------------------
 9487|      0|        if (PyObject_SetAttr(result, state->names, value) == -1)
  ------------------
  |  Branch (9487:13): [True: 0, False: 0]
  ------------------
 9488|      0|            goto failed;
 9489|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9490|      0|        break;
 9491|      4|    case Expr_kind:
  ------------------
  |  Branch (9491:5): [True: 4, False: 58]
  ------------------
 9492|      4|        tp = (PyTypeObject *)state->Expr_type;
 9493|      4|        result = PyType_GenericNew(tp, NULL, NULL);
 9494|      4|        if (!result) goto failed;
  ------------------
  |  Branch (9494:13): [True: 0, False: 4]
  ------------------
 9495|      4|        value = ast2obj_expr(state, o->v.Expr.value);
 9496|      4|        if (!value) goto failed;
  ------------------
  |  Branch (9496:13): [True: 0, False: 4]
  ------------------
 9497|      4|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (9497:13): [True: 0, False: 4]
  ------------------
 9498|      0|            goto failed;
 9499|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9500|      4|        break;
 9501|      2|    case Pass_kind:
  ------------------
  |  Branch (9501:5): [True: 2, False: 60]
  ------------------
 9502|      2|        tp = (PyTypeObject *)state->Pass_type;
 9503|      2|        result = PyType_GenericNew(tp, NULL, NULL);
 9504|      2|        if (!result) goto failed;
  ------------------
  |  Branch (9504:13): [True: 0, False: 2]
  ------------------
 9505|      2|        break;
 9506|      2|    case Break_kind:
  ------------------
  |  Branch (9506:5): [True: 0, False: 62]
  ------------------
 9507|      0|        tp = (PyTypeObject *)state->Break_type;
 9508|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9509|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9509:13): [True: 0, False: 0]
  ------------------
 9510|      0|        break;
 9511|      0|    case Continue_kind:
  ------------------
  |  Branch (9511:5): [True: 0, False: 62]
  ------------------
 9512|      0|        tp = (PyTypeObject *)state->Continue_type;
 9513|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9514|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9514:13): [True: 0, False: 0]
  ------------------
 9515|      0|        break;
 9516|     62|    }
 9517|     62|    value = ast2obj_int(state, o->lineno);
 9518|     62|    if (!value) goto failed;
  ------------------
  |  Branch (9518:9): [True: 0, False: 62]
  ------------------
 9519|     62|    if (PyObject_SetAttr(result, state->lineno, value) < 0)
  ------------------
  |  Branch (9519:9): [True: 0, False: 62]
  ------------------
 9520|      0|        goto failed;
 9521|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9522|     62|    value = ast2obj_int(state, o->col_offset);
 9523|     62|    if (!value) goto failed;
  ------------------
  |  Branch (9523:9): [True: 0, False: 62]
  ------------------
 9524|     62|    if (PyObject_SetAttr(result, state->col_offset, value) < 0)
  ------------------
  |  Branch (9524:9): [True: 0, False: 62]
  ------------------
 9525|      0|        goto failed;
 9526|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9527|     62|    value = ast2obj_int(state, o->end_lineno);
 9528|     62|    if (!value) goto failed;
  ------------------
  |  Branch (9528:9): [True: 0, False: 62]
  ------------------
 9529|     62|    if (PyObject_SetAttr(result, state->end_lineno, value) < 0)
  ------------------
  |  Branch (9529:9): [True: 0, False: 62]
  ------------------
 9530|      0|        goto failed;
 9531|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9532|     62|    value = ast2obj_int(state, o->end_col_offset);
 9533|     62|    if (!value) goto failed;
  ------------------
  |  Branch (9533:9): [True: 0, False: 62]
  ------------------
 9534|     62|    if (PyObject_SetAttr(result, state->end_col_offset, value) < 0)
  ------------------
  |  Branch (9534:9): [True: 0, False: 62]
  ------------------
 9535|      0|        goto failed;
 9536|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9537|     62|    Py_LeaveRecursiveCall();
 9538|     62|    return result;
 9539|      0|failed:
 9540|      0|    Py_LeaveRecursiveCall();
 9541|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9542|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9543|       |    return NULL;
 9544|     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:
10268|      6|{
10269|      6|    arguments_ty o = (arguments_ty)_o;
10270|      6|    PyObject *result = NULL, *value = NULL;
10271|      6|    PyTypeObject *tp;
10272|      6|    if (!o) {
  ------------------
  |  Branch (10272:9): [True: 0, False: 6]
  ------------------
10273|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
10274|      0|    }
10275|      6|    if (Py_EnterRecursiveCall("during  ast construction")) {
  ------------------
  |  Branch (10275:9): [True: 0, False: 6]
  ------------------
10276|      0|        return NULL;
10277|      0|    }
10278|      6|    tp = (PyTypeObject *)state->arguments_type;
10279|      6|    result = PyType_GenericNew(tp, NULL, NULL);
10280|      6|    if (!result) return NULL;
  ------------------
  |  Branch (10280:9): [True: 0, False: 6]
  ------------------
10281|      6|    value = ast2obj_list(state, (asdl_seq*)o->posonlyargs, ast2obj_arg);
10282|      6|    if (!value) goto failed;
  ------------------
  |  Branch (10282:9): [True: 0, False: 6]
  ------------------
10283|      6|    if (PyObject_SetAttr(result, state->posonlyargs, value) == -1)
  ------------------
  |  Branch (10283:9): [True: 0, False: 6]
  ------------------
10284|      0|        goto failed;
10285|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10286|      6|    value = ast2obj_list(state, (asdl_seq*)o->args, ast2obj_arg);
10287|      6|    if (!value) goto failed;
  ------------------
  |  Branch (10287:9): [True: 0, False: 6]
  ------------------
10288|      6|    if (PyObject_SetAttr(result, state->args, value) == -1)
  ------------------
  |  Branch (10288:9): [True: 0, False: 6]
  ------------------
10289|      0|        goto failed;
10290|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10291|      6|    value = ast2obj_arg(state, o->vararg);
10292|      6|    if (!value) goto failed;
  ------------------
  |  Branch (10292:9): [True: 0, False: 6]
  ------------------
10293|      6|    if (PyObject_SetAttr(result, state->vararg, value) == -1)
  ------------------
  |  Branch (10293:9): [True: 0, False: 6]
  ------------------
10294|      0|        goto failed;
10295|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10296|      6|    value = ast2obj_list(state, (asdl_seq*)o->kwonlyargs, ast2obj_arg);
10297|      6|    if (!value) goto failed;
  ------------------
  |  Branch (10297:9): [True: 0, False: 6]
  ------------------
10298|      6|    if (PyObject_SetAttr(result, state->kwonlyargs, value) == -1)
  ------------------
  |  Branch (10298:9): [True: 0, False: 6]
  ------------------
10299|      0|        goto failed;
10300|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10301|      6|    value = ast2obj_list(state, (asdl_seq*)o->kw_defaults, ast2obj_expr);
10302|      6|    if (!value) goto failed;
  ------------------
  |  Branch (10302:9): [True: 0, False: 6]
  ------------------
10303|      6|    if (PyObject_SetAttr(result, state->kw_defaults, value) == -1)
  ------------------
  |  Branch (10303:9): [True: 0, False: 6]
  ------------------
10304|      0|        goto failed;
10305|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10306|      6|    value = ast2obj_arg(state, o->kwarg);
10307|      6|    if (!value) goto failed;
  ------------------
  |  Branch (10307:9): [True: 0, False: 6]
  ------------------
10308|      6|    if (PyObject_SetAttr(result, state->kwarg, value) == -1)
  ------------------
  |  Branch (10308:9): [True: 0, False: 6]
  ------------------
10309|      0|        goto failed;
10310|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10311|      6|    value = ast2obj_list(state, (asdl_seq*)o->defaults, ast2obj_expr);
10312|      6|    if (!value) goto failed;
  ------------------
  |  Branch (10312:9): [True: 0, False: 6]
  ------------------
10313|      6|    if (PyObject_SetAttr(result, state->defaults, value) == -1)
  ------------------
  |  Branch (10313:9): [True: 0, False: 6]
  ------------------
10314|      0|        goto failed;
10315|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10316|      6|    Py_LeaveRecursiveCall();
10317|      6|    return result;
10318|      0|failed:
10319|      0|    Py_LeaveRecursiveCall();
10320|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10321|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10322|       |    return NULL;
10323|      6|}
Python-ast.c:ast2obj_arg:
10327|     22|{
10328|     22|    arg_ty o = (arg_ty)_o;
10329|     22|    PyObject *result = NULL, *value = NULL;
10330|     22|    PyTypeObject *tp;
10331|     22|    if (!o) {
  ------------------
  |  Branch (10331:9): [True: 8, False: 14]
  ------------------
10332|      8|        Py_RETURN_NONE;
  ------------------
  |  |  628|      8|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      8|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
10333|      8|    }
10334|     14|    if (Py_EnterRecursiveCall("during  ast construction")) {
  ------------------
  |  Branch (10334:9): [True: 0, False: 14]
  ------------------
10335|      0|        return NULL;
10336|      0|    }
10337|     14|    tp = (PyTypeObject *)state->arg_type;
10338|     14|    result = PyType_GenericNew(tp, NULL, NULL);
10339|     14|    if (!result) return NULL;
  ------------------
  |  Branch (10339:9): [True: 0, False: 14]
  ------------------
10340|     14|    value = ast2obj_identifier(state, o->arg);
  ------------------
  |  | 6019|     14|#define ast2obj_identifier ast2obj_object
  ------------------
10341|     14|    if (!value) goto failed;
  ------------------
  |  Branch (10341:9): [True: 0, False: 14]
  ------------------
10342|     14|    if (PyObject_SetAttr(result, state->arg, value) == -1)
  ------------------
  |  Branch (10342:9): [True: 0, False: 14]
  ------------------
10343|      0|        goto failed;
10344|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10345|     14|    value = ast2obj_expr(state, o->annotation);
10346|     14|    if (!value) goto failed;
  ------------------
  |  Branch (10346:9): [True: 0, False: 14]
  ------------------
10347|     14|    if (PyObject_SetAttr(result, state->annotation, value) == -1)
  ------------------
  |  Branch (10347:9): [True: 0, False: 14]
  ------------------
10348|      0|        goto failed;
10349|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10350|     14|    value = ast2obj_string(state, o->type_comment);
  ------------------
  |  | 6020|     14|#define ast2obj_string ast2obj_object
  ------------------
10351|     14|    if (!value) goto failed;
  ------------------
  |  Branch (10351:9): [True: 0, False: 14]
  ------------------
10352|     14|    if (PyObject_SetAttr(result, state->type_comment, value) == -1)
  ------------------
  |  Branch (10352:9): [True: 0, False: 14]
  ------------------
10353|      0|        goto failed;
10354|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10355|     14|    value = ast2obj_int(state, o->lineno);
10356|     14|    if (!value) goto failed;
  ------------------
  |  Branch (10356:9): [True: 0, False: 14]
  ------------------
10357|     14|    if (PyObject_SetAttr(result, state->lineno, value) < 0)
  ------------------
  |  Branch (10357:9): [True: 0, False: 14]
  ------------------
10358|      0|        goto failed;
10359|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10360|     14|    value = ast2obj_int(state, o->col_offset);
10361|     14|    if (!value) goto failed;
  ------------------
  |  Branch (10361:9): [True: 0, False: 14]
  ------------------
10362|     14|    if (PyObject_SetAttr(result, state->col_offset, value) < 0)
  ------------------
  |  Branch (10362:9): [True: 0, False: 14]
  ------------------
10363|      0|        goto failed;
10364|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10365|     14|    value = ast2obj_int(state, o->end_lineno);
10366|     14|    if (!value) goto failed;
  ------------------
  |  Branch (10366:9): [True: 0, False: 14]
  ------------------
10367|     14|    if (PyObject_SetAttr(result, state->end_lineno, value) < 0)
  ------------------
  |  Branch (10367:9): [True: 0, False: 14]
  ------------------
10368|      0|        goto failed;
10369|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10370|     14|    value = ast2obj_int(state, o->end_col_offset);
10371|     14|    if (!value) goto failed;
  ------------------
  |  Branch (10371:9): [True: 0, False: 14]
  ------------------
10372|     14|    if (PyObject_SetAttr(result, state->end_col_offset, value) < 0)
  ------------------
  |  Branch (10372:9): [True: 0, False: 14]
  ------------------
10373|      0|        goto failed;
10374|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10375|     14|    Py_LeaveRecursiveCall();
10376|     14|    return result;
10377|      0|failed:
10378|      0|    Py_LeaveRecursiveCall();
10379|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10380|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10381|       |    return NULL;
10382|     14|}
Python-ast.c:ast2obj_operator:
10087|     18|{
10088|     18|    switch(o) {
  ------------------
  |  Branch (10088:12): [True: 18, False: 0]
  ------------------
10089|      0|        case Add:
  ------------------
  |  Branch (10089:9): [True: 0, False: 18]
  ------------------
10090|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10091|      8|        case Sub:
  ------------------
  |  Branch (10091:9): [True: 8, False: 10]
  ------------------
10092|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10093|      2|        case Mult:
  ------------------
  |  Branch (10093:9): [True: 2, False: 16]
  ------------------
10094|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10095|      0|        case MatMult:
  ------------------
  |  Branch (10095:9): [True: 0, False: 18]
  ------------------
10096|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10097|      2|        case Div:
  ------------------
  |  Branch (10097:9): [True: 2, False: 16]
  ------------------
10098|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10099|      0|        case Mod:
  ------------------
  |  Branch (10099:9): [True: 0, False: 18]
  ------------------
10100|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10101|      0|        case Pow:
  ------------------
  |  Branch (10101:9): [True: 0, False: 18]
  ------------------
10102|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10103|      0|        case LShift:
  ------------------
  |  Branch (10103:9): [True: 0, False: 18]
  ------------------
10104|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10105|      0|        case RShift:
  ------------------
  |  Branch (10105:9): [True: 0, False: 18]
  ------------------
10106|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10107|      6|        case BitOr:
  ------------------
  |  Branch (10107:9): [True: 6, False: 12]
  ------------------
10108|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10109|      0|        case BitXor:
  ------------------
  |  Branch (10109:9): [True: 0, False: 18]
  ------------------
10110|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10111|      0|        case BitAnd:
  ------------------
  |  Branch (10111:9): [True: 0, False: 18]
  ------------------
10112|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10113|      0|        case FloorDiv:
  ------------------
  |  Branch (10113:9): [True: 0, False: 18]
  ------------------
10114|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10115|     18|    }
10116|      0|    Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
10117|     18|}
Python-ast.c:ast2obj_int:
 6023|  1.53k|{
 6024|  1.53k|    return PyLong_FromLong(b);
 6025|  1.53k|}
Python-ast.c:ast2obj_expr:
 9548|    322|{
 9549|    322|    expr_ty o = (expr_ty)_o;
 9550|    322|    PyObject *result = NULL, *value = NULL;
 9551|    322|    PyTypeObject *tp;
 9552|    322|    if (!o) {
  ------------------
  |  Branch (9552:9): [True: 14, False: 308]
  ------------------
 9553|     14|        Py_RETURN_NONE;
  ------------------
  |  |  628|     14|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     14|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 9554|     14|    }
 9555|    308|    if (Py_EnterRecursiveCall("during  ast construction")) {
  ------------------
  |  Branch (9555:9): [True: 0, False: 308]
  ------------------
 9556|      0|        return NULL;
 9557|      0|    }
 9558|    308|    switch (o->kind) {
  ------------------
  |  Branch (9558:13): [True: 308, False: 0]
  ------------------
 9559|     18|    case BoolOp_kind:
  ------------------
  |  Branch (9559:5): [True: 18, False: 290]
  ------------------
 9560|     18|        tp = (PyTypeObject *)state->BoolOp_type;
 9561|     18|        result = PyType_GenericNew(tp, NULL, NULL);
 9562|     18|        if (!result) goto failed;
  ------------------
  |  Branch (9562:13): [True: 0, False: 18]
  ------------------
 9563|     18|        value = ast2obj_boolop(state, o->v.BoolOp.op);
 9564|     18|        if (!value) goto failed;
  ------------------
  |  Branch (9564:13): [True: 0, False: 18]
  ------------------
 9565|     18|        if (PyObject_SetAttr(result, state->op, value) == -1)
  ------------------
  |  Branch (9565:13): [True: 0, False: 18]
  ------------------
 9566|      0|            goto failed;
 9567|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9568|     18|        value = ast2obj_list(state, (asdl_seq*)o->v.BoolOp.values,
 9569|     18|                             ast2obj_expr);
 9570|     18|        if (!value) goto failed;
  ------------------
  |  Branch (9570:13): [True: 0, False: 18]
  ------------------
 9571|     18|        if (PyObject_SetAttr(result, state->values, value) == -1)
  ------------------
  |  Branch (9571:13): [True: 0, False: 18]
  ------------------
 9572|      0|            goto failed;
 9573|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9574|     18|        break;
 9575|      0|    case NamedExpr_kind:
  ------------------
  |  Branch (9575:5): [True: 0, False: 308]
  ------------------
 9576|      0|        tp = (PyTypeObject *)state->NamedExpr_type;
 9577|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9578|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9578:13): [True: 0, False: 0]
  ------------------
 9579|      0|        value = ast2obj_expr(state, o->v.NamedExpr.target);
 9580|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9580:13): [True: 0, False: 0]
  ------------------
 9581|      0|        if (PyObject_SetAttr(result, state->target, value) == -1)
  ------------------
  |  Branch (9581:13): [True: 0, False: 0]
  ------------------
 9582|      0|            goto failed;
 9583|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9584|      0|        value = ast2obj_expr(state, o->v.NamedExpr.value);
 9585|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9585:13): [True: 0, False: 0]
  ------------------
 9586|      0|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (9586:13): [True: 0, False: 0]
  ------------------
 9587|      0|            goto failed;
 9588|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9589|      0|        break;
 9590|     12|    case BinOp_kind:
  ------------------
  |  Branch (9590:5): [True: 12, False: 296]
  ------------------
 9591|     12|        tp = (PyTypeObject *)state->BinOp_type;
 9592|     12|        result = PyType_GenericNew(tp, NULL, NULL);
 9593|     12|        if (!result) goto failed;
  ------------------
  |  Branch (9593:13): [True: 0, False: 12]
  ------------------
 9594|     12|        value = ast2obj_expr(state, o->v.BinOp.left);
 9595|     12|        if (!value) goto failed;
  ------------------
  |  Branch (9595:13): [True: 0, False: 12]
  ------------------
 9596|     12|        if (PyObject_SetAttr(result, state->left, value) == -1)
  ------------------
  |  Branch (9596:13): [True: 0, False: 12]
  ------------------
 9597|      0|            goto failed;
 9598|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9599|     12|        value = ast2obj_operator(state, o->v.BinOp.op);
 9600|     12|        if (!value) goto failed;
  ------------------
  |  Branch (9600:13): [True: 0, False: 12]
  ------------------
 9601|     12|        if (PyObject_SetAttr(result, state->op, value) == -1)
  ------------------
  |  Branch (9601:13): [True: 0, False: 12]
  ------------------
 9602|      0|            goto failed;
 9603|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9604|     12|        value = ast2obj_expr(state, o->v.BinOp.right);
 9605|     12|        if (!value) goto failed;
  ------------------
  |  Branch (9605:13): [True: 0, False: 12]
  ------------------
 9606|     12|        if (PyObject_SetAttr(result, state->right, value) == -1)
  ------------------
  |  Branch (9606:13): [True: 0, False: 12]
  ------------------
 9607|      0|            goto failed;
 9608|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9609|     12|        break;
 9610|      4|    case UnaryOp_kind:
  ------------------
  |  Branch (9610:5): [True: 4, False: 304]
  ------------------
 9611|      4|        tp = (PyTypeObject *)state->UnaryOp_type;
 9612|      4|        result = PyType_GenericNew(tp, NULL, NULL);
 9613|      4|        if (!result) goto failed;
  ------------------
  |  Branch (9613:13): [True: 0, False: 4]
  ------------------
 9614|      4|        value = ast2obj_unaryop(state, o->v.UnaryOp.op);
 9615|      4|        if (!value) goto failed;
  ------------------
  |  Branch (9615:13): [True: 0, False: 4]
  ------------------
 9616|      4|        if (PyObject_SetAttr(result, state->op, value) == -1)
  ------------------
  |  Branch (9616:13): [True: 0, False: 4]
  ------------------
 9617|      0|            goto failed;
 9618|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9619|      4|        value = ast2obj_expr(state, o->v.UnaryOp.operand);
 9620|      4|        if (!value) goto failed;
  ------------------
  |  Branch (9620:13): [True: 0, False: 4]
  ------------------
 9621|      4|        if (PyObject_SetAttr(result, state->operand, value) == -1)
  ------------------
  |  Branch (9621:13): [True: 0, False: 4]
  ------------------
 9622|      0|            goto failed;
 9623|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9624|      4|        break;
 9625|      0|    case Lambda_kind:
  ------------------
  |  Branch (9625:5): [True: 0, False: 308]
  ------------------
 9626|      0|        tp = (PyTypeObject *)state->Lambda_type;
 9627|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9628|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9628:13): [True: 0, False: 0]
  ------------------
 9629|      0|        value = ast2obj_arguments(state, o->v.Lambda.args);
 9630|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9630:13): [True: 0, False: 0]
  ------------------
 9631|      0|        if (PyObject_SetAttr(result, state->args, value) == -1)
  ------------------
  |  Branch (9631:13): [True: 0, False: 0]
  ------------------
 9632|      0|            goto failed;
 9633|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9634|      0|        value = ast2obj_expr(state, o->v.Lambda.body);
 9635|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9635:13): [True: 0, False: 0]
  ------------------
 9636|      0|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (9636:13): [True: 0, False: 0]
  ------------------
 9637|      0|            goto failed;
 9638|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9639|      0|        break;
 9640|      0|    case IfExp_kind:
  ------------------
  |  Branch (9640:5): [True: 0, False: 308]
  ------------------
 9641|      0|        tp = (PyTypeObject *)state->IfExp_type;
 9642|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9643|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9643:13): [True: 0, False: 0]
  ------------------
 9644|      0|        value = ast2obj_expr(state, o->v.IfExp.test);
 9645|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9645:13): [True: 0, False: 0]
  ------------------
 9646|      0|        if (PyObject_SetAttr(result, state->test, value) == -1)
  ------------------
  |  Branch (9646:13): [True: 0, False: 0]
  ------------------
 9647|      0|            goto failed;
 9648|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9649|      0|        value = ast2obj_expr(state, o->v.IfExp.body);
 9650|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9650:13): [True: 0, False: 0]
  ------------------
 9651|      0|        if (PyObject_SetAttr(result, state->body, value) == -1)
  ------------------
  |  Branch (9651:13): [True: 0, False: 0]
  ------------------
 9652|      0|            goto failed;
 9653|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9654|      0|        value = ast2obj_expr(state, o->v.IfExp.orelse);
 9655|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9655:13): [True: 0, False: 0]
  ------------------
 9656|      0|        if (PyObject_SetAttr(result, state->orelse, value) == -1)
  ------------------
  |  Branch (9656:13): [True: 0, False: 0]
  ------------------
 9657|      0|            goto failed;
 9658|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9659|      0|        break;
 9660|      0|    case Dict_kind:
  ------------------
  |  Branch (9660:5): [True: 0, False: 308]
  ------------------
 9661|      0|        tp = (PyTypeObject *)state->Dict_type;
 9662|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9663|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9663:13): [True: 0, False: 0]
  ------------------
 9664|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.Dict.keys, ast2obj_expr);
 9665|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9665:13): [True: 0, False: 0]
  ------------------
 9666|      0|        if (PyObject_SetAttr(result, state->keys, value) == -1)
  ------------------
  |  Branch (9666:13): [True: 0, False: 0]
  ------------------
 9667|      0|            goto failed;
 9668|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9669|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.Dict.values, ast2obj_expr);
 9670|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9670:13): [True: 0, False: 0]
  ------------------
 9671|      0|        if (PyObject_SetAttr(result, state->values, value) == -1)
  ------------------
  |  Branch (9671:13): [True: 0, False: 0]
  ------------------
 9672|      0|            goto failed;
 9673|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9674|      0|        break;
 9675|      0|    case Set_kind:
  ------------------
  |  Branch (9675:5): [True: 0, False: 308]
  ------------------
 9676|      0|        tp = (PyTypeObject *)state->Set_type;
 9677|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9678|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9678:13): [True: 0, False: 0]
  ------------------
 9679|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.Set.elts, ast2obj_expr);
 9680|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9680:13): [True: 0, False: 0]
  ------------------
 9681|      0|        if (PyObject_SetAttr(result, state->elts, value) == -1)
  ------------------
  |  Branch (9681:13): [True: 0, False: 0]
  ------------------
 9682|      0|            goto failed;
 9683|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9684|      0|        break;
 9685|      0|    case ListComp_kind:
  ------------------
  |  Branch (9685:5): [True: 0, False: 308]
  ------------------
 9686|      0|        tp = (PyTypeObject *)state->ListComp_type;
 9687|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9688|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9688:13): [True: 0, False: 0]
  ------------------
 9689|      0|        value = ast2obj_expr(state, o->v.ListComp.elt);
 9690|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9690:13): [True: 0, False: 0]
  ------------------
 9691|      0|        if (PyObject_SetAttr(result, state->elt, value) == -1)
  ------------------
  |  Branch (9691:13): [True: 0, False: 0]
  ------------------
 9692|      0|            goto failed;
 9693|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9694|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.ListComp.generators,
 9695|      0|                             ast2obj_comprehension);
 9696|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9696:13): [True: 0, False: 0]
  ------------------
 9697|      0|        if (PyObject_SetAttr(result, state->generators, value) == -1)
  ------------------
  |  Branch (9697:13): [True: 0, False: 0]
  ------------------
 9698|      0|            goto failed;
 9699|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9700|      0|        break;
 9701|      0|    case SetComp_kind:
  ------------------
  |  Branch (9701:5): [True: 0, False: 308]
  ------------------
 9702|      0|        tp = (PyTypeObject *)state->SetComp_type;
 9703|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9704|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9704:13): [True: 0, False: 0]
  ------------------
 9705|      0|        value = ast2obj_expr(state, o->v.SetComp.elt);
 9706|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9706:13): [True: 0, False: 0]
  ------------------
 9707|      0|        if (PyObject_SetAttr(result, state->elt, value) == -1)
  ------------------
  |  Branch (9707:13): [True: 0, False: 0]
  ------------------
 9708|      0|            goto failed;
 9709|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9710|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.SetComp.generators,
 9711|      0|                             ast2obj_comprehension);
 9712|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9712:13): [True: 0, False: 0]
  ------------------
 9713|      0|        if (PyObject_SetAttr(result, state->generators, value) == -1)
  ------------------
  |  Branch (9713:13): [True: 0, False: 0]
  ------------------
 9714|      0|            goto failed;
 9715|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9716|      0|        break;
 9717|      0|    case DictComp_kind:
  ------------------
  |  Branch (9717:5): [True: 0, False: 308]
  ------------------
 9718|      0|        tp = (PyTypeObject *)state->DictComp_type;
 9719|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9720|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9720:13): [True: 0, False: 0]
  ------------------
 9721|      0|        value = ast2obj_expr(state, o->v.DictComp.key);
 9722|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9722:13): [True: 0, False: 0]
  ------------------
 9723|      0|        if (PyObject_SetAttr(result, state->key, value) == -1)
  ------------------
  |  Branch (9723:13): [True: 0, False: 0]
  ------------------
 9724|      0|            goto failed;
 9725|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9726|      0|        value = ast2obj_expr(state, o->v.DictComp.value);
 9727|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9727:13): [True: 0, False: 0]
  ------------------
 9728|      0|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (9728:13): [True: 0, False: 0]
  ------------------
 9729|      0|            goto failed;
 9730|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9731|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.DictComp.generators,
 9732|      0|                             ast2obj_comprehension);
 9733|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9733:13): [True: 0, False: 0]
  ------------------
 9734|      0|        if (PyObject_SetAttr(result, state->generators, value) == -1)
  ------------------
  |  Branch (9734:13): [True: 0, False: 0]
  ------------------
 9735|      0|            goto failed;
 9736|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9737|      0|        break;
 9738|      0|    case GeneratorExp_kind:
  ------------------
  |  Branch (9738:5): [True: 0, False: 308]
  ------------------
 9739|      0|        tp = (PyTypeObject *)state->GeneratorExp_type;
 9740|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9741|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9741:13): [True: 0, False: 0]
  ------------------
 9742|      0|        value = ast2obj_expr(state, o->v.GeneratorExp.elt);
 9743|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9743:13): [True: 0, False: 0]
  ------------------
 9744|      0|        if (PyObject_SetAttr(result, state->elt, value) == -1)
  ------------------
  |  Branch (9744:13): [True: 0, False: 0]
  ------------------
 9745|      0|            goto failed;
 9746|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9747|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.GeneratorExp.generators,
 9748|      0|                             ast2obj_comprehension);
 9749|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9749:13): [True: 0, False: 0]
  ------------------
 9750|      0|        if (PyObject_SetAttr(result, state->generators, value) == -1)
  ------------------
  |  Branch (9750:13): [True: 0, False: 0]
  ------------------
 9751|      0|            goto failed;
 9752|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9753|      0|        break;
 9754|      0|    case Await_kind:
  ------------------
  |  Branch (9754:5): [True: 0, False: 308]
  ------------------
 9755|      0|        tp = (PyTypeObject *)state->Await_type;
 9756|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9757|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9757:13): [True: 0, False: 0]
  ------------------
 9758|      0|        value = ast2obj_expr(state, o->v.Await.value);
 9759|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9759:13): [True: 0, False: 0]
  ------------------
 9760|      0|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (9760:13): [True: 0, False: 0]
  ------------------
 9761|      0|            goto failed;
 9762|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9763|      0|        break;
 9764|      0|    case Yield_kind:
  ------------------
  |  Branch (9764:5): [True: 0, False: 308]
  ------------------
 9765|      0|        tp = (PyTypeObject *)state->Yield_type;
 9766|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9767|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9767:13): [True: 0, False: 0]
  ------------------
 9768|      0|        value = ast2obj_expr(state, o->v.Yield.value);
 9769|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9769:13): [True: 0, False: 0]
  ------------------
 9770|      0|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (9770:13): [True: 0, False: 0]
  ------------------
 9771|      0|            goto failed;
 9772|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9773|      0|        break;
 9774|      0|    case YieldFrom_kind:
  ------------------
  |  Branch (9774:5): [True: 0, False: 308]
  ------------------
 9775|      0|        tp = (PyTypeObject *)state->YieldFrom_type;
 9776|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9777|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9777:13): [True: 0, False: 0]
  ------------------
 9778|      0|        value = ast2obj_expr(state, o->v.YieldFrom.value);
 9779|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9779:13): [True: 0, False: 0]
  ------------------
 9780|      0|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (9780:13): [True: 0, False: 0]
  ------------------
 9781|      0|            goto failed;
 9782|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9783|      0|        break;
 9784|     20|    case Compare_kind:
  ------------------
  |  Branch (9784:5): [True: 20, False: 288]
  ------------------
 9785|     20|        tp = (PyTypeObject *)state->Compare_type;
 9786|     20|        result = PyType_GenericNew(tp, NULL, NULL);
 9787|     20|        if (!result) goto failed;
  ------------------
  |  Branch (9787:13): [True: 0, False: 20]
  ------------------
 9788|     20|        value = ast2obj_expr(state, o->v.Compare.left);
 9789|     20|        if (!value) goto failed;
  ------------------
  |  Branch (9789:13): [True: 0, False: 20]
  ------------------
 9790|     20|        if (PyObject_SetAttr(result, state->left, value) == -1)
  ------------------
  |  Branch (9790:13): [True: 0, False: 20]
  ------------------
 9791|      0|            goto failed;
 9792|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9793|     20|        {
 9794|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9795|     20|            value = PyList_New(n);
 9796|     20|            if (!value) goto failed;
  ------------------
  |  Branch (9796:17): [True: 0, False: 20]
  ------------------
 9797|     40|            for(i = 0; i < n; i++)
  ------------------
  |  Branch (9797:24): [True: 20, False: 20]
  ------------------
 9798|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9799|     20|        }
 9800|     20|        if (!value) goto failed;
  ------------------
  |  Branch (9800:13): [True: 0, False: 20]
  ------------------
 9801|     20|        if (PyObject_SetAttr(result, state->ops, value) == -1)
  ------------------
  |  Branch (9801:13): [True: 0, False: 20]
  ------------------
 9802|      0|            goto failed;
 9803|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9804|     20|        value = ast2obj_list(state, (asdl_seq*)o->v.Compare.comparators,
 9805|     20|                             ast2obj_expr);
 9806|     20|        if (!value) goto failed;
  ------------------
  |  Branch (9806:13): [True: 0, False: 20]
  ------------------
 9807|     20|        if (PyObject_SetAttr(result, state->comparators, value) == -1)
  ------------------
  |  Branch (9807:13): [True: 0, False: 20]
  ------------------
 9808|      0|            goto failed;
 9809|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9810|     20|        break;
 9811|     56|    case Call_kind:
  ------------------
  |  Branch (9811:5): [True: 56, False: 252]
  ------------------
 9812|     56|        tp = (PyTypeObject *)state->Call_type;
 9813|     56|        result = PyType_GenericNew(tp, NULL, NULL);
 9814|     56|        if (!result) goto failed;
  ------------------
  |  Branch (9814:13): [True: 0, False: 56]
  ------------------
 9815|     56|        value = ast2obj_expr(state, o->v.Call.func);
 9816|     56|        if (!value) goto failed;
  ------------------
  |  Branch (9816:13): [True: 0, False: 56]
  ------------------
 9817|     56|        if (PyObject_SetAttr(result, state->func, value) == -1)
  ------------------
  |  Branch (9817:13): [True: 0, False: 56]
  ------------------
 9818|      0|            goto failed;
 9819|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9820|     56|        value = ast2obj_list(state, (asdl_seq*)o->v.Call.args, ast2obj_expr);
 9821|     56|        if (!value) goto failed;
  ------------------
  |  Branch (9821:13): [True: 0, False: 56]
  ------------------
 9822|     56|        if (PyObject_SetAttr(result, state->args, value) == -1)
  ------------------
  |  Branch (9822:13): [True: 0, False: 56]
  ------------------
 9823|      0|            goto failed;
 9824|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9825|     56|        value = ast2obj_list(state, (asdl_seq*)o->v.Call.keywords,
 9826|     56|                             ast2obj_keyword);
 9827|     56|        if (!value) goto failed;
  ------------------
  |  Branch (9827:13): [True: 0, False: 56]
  ------------------
 9828|     56|        if (PyObject_SetAttr(result, state->keywords, value) == -1)
  ------------------
  |  Branch (9828:13): [True: 0, False: 56]
  ------------------
 9829|      0|            goto failed;
 9830|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9831|     56|        break;
 9832|      0|    case FormattedValue_kind:
  ------------------
  |  Branch (9832:5): [True: 0, False: 308]
  ------------------
 9833|      0|        tp = (PyTypeObject *)state->FormattedValue_type;
 9834|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9835|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9835:13): [True: 0, False: 0]
  ------------------
 9836|      0|        value = ast2obj_expr(state, o->v.FormattedValue.value);
 9837|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9837:13): [True: 0, False: 0]
  ------------------
 9838|      0|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (9838:13): [True: 0, False: 0]
  ------------------
 9839|      0|            goto failed;
 9840|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9841|      0|        value = ast2obj_int(state, o->v.FormattedValue.conversion);
 9842|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9842:13): [True: 0, False: 0]
  ------------------
 9843|      0|        if (PyObject_SetAttr(result, state->conversion, value) == -1)
  ------------------
  |  Branch (9843:13): [True: 0, False: 0]
  ------------------
 9844|      0|            goto failed;
 9845|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9846|      0|        value = ast2obj_expr(state, o->v.FormattedValue.format_spec);
 9847|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9847:13): [True: 0, False: 0]
  ------------------
 9848|      0|        if (PyObject_SetAttr(result, state->format_spec, value) == -1)
  ------------------
  |  Branch (9848:13): [True: 0, False: 0]
  ------------------
 9849|      0|            goto failed;
 9850|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9851|      0|        break;
 9852|      0|    case Interpolation_kind:
  ------------------
  |  Branch (9852:5): [True: 0, False: 308]
  ------------------
 9853|      0|        tp = (PyTypeObject *)state->Interpolation_type;
 9854|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9855|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9855:13): [True: 0, False: 0]
  ------------------
 9856|      0|        value = ast2obj_expr(state, o->v.Interpolation.value);
 9857|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9857:13): [True: 0, False: 0]
  ------------------
 9858|      0|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (9858:13): [True: 0, False: 0]
  ------------------
 9859|      0|            goto failed;
 9860|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9861|      0|        value = ast2obj_constant(state, o->v.Interpolation.str);
  ------------------
  |  | 6018|      0|#define ast2obj_constant ast2obj_object
  ------------------
 9862|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9862:13): [True: 0, False: 0]
  ------------------
 9863|      0|        if (PyObject_SetAttr(result, state->str, value) == -1)
  ------------------
  |  Branch (9863:13): [True: 0, False: 0]
  ------------------
 9864|      0|            goto failed;
 9865|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9866|      0|        value = ast2obj_int(state, o->v.Interpolation.conversion);
 9867|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9867:13): [True: 0, False: 0]
  ------------------
 9868|      0|        if (PyObject_SetAttr(result, state->conversion, value) == -1)
  ------------------
  |  Branch (9868:13): [True: 0, False: 0]
  ------------------
 9869|      0|            goto failed;
 9870|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9871|      0|        value = ast2obj_expr(state, o->v.Interpolation.format_spec);
 9872|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9872:13): [True: 0, False: 0]
  ------------------
 9873|      0|        if (PyObject_SetAttr(result, state->format_spec, value) == -1)
  ------------------
  |  Branch (9873:13): [True: 0, False: 0]
  ------------------
 9874|      0|            goto failed;
 9875|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9876|      0|        break;
 9877|      0|    case JoinedStr_kind:
  ------------------
  |  Branch (9877:5): [True: 0, False: 308]
  ------------------
 9878|      0|        tp = (PyTypeObject *)state->JoinedStr_type;
 9879|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9880|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9880:13): [True: 0, False: 0]
  ------------------
 9881|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.JoinedStr.values,
 9882|      0|                             ast2obj_expr);
 9883|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9883:13): [True: 0, False: 0]
  ------------------
 9884|      0|        if (PyObject_SetAttr(result, state->values, value) == -1)
  ------------------
  |  Branch (9884:13): [True: 0, False: 0]
  ------------------
 9885|      0|            goto failed;
 9886|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9887|      0|        break;
 9888|      0|    case TemplateStr_kind:
  ------------------
  |  Branch (9888:5): [True: 0, False: 308]
  ------------------
 9889|      0|        tp = (PyTypeObject *)state->TemplateStr_type;
 9890|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9891|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9891:13): [True: 0, False: 0]
  ------------------
 9892|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.TemplateStr.values,
 9893|      0|                             ast2obj_expr);
 9894|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9894:13): [True: 0, False: 0]
  ------------------
 9895|      0|        if (PyObject_SetAttr(result, state->values, value) == -1)
  ------------------
  |  Branch (9895:13): [True: 0, False: 0]
  ------------------
 9896|      0|            goto failed;
 9897|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9898|      0|        break;
 9899|     48|    case Constant_kind:
  ------------------
  |  Branch (9899:5): [True: 48, False: 260]
  ------------------
 9900|     48|        tp = (PyTypeObject *)state->Constant_type;
 9901|     48|        result = PyType_GenericNew(tp, NULL, NULL);
 9902|     48|        if (!result) goto failed;
  ------------------
  |  Branch (9902:13): [True: 0, False: 48]
  ------------------
 9903|     48|        value = ast2obj_constant(state, o->v.Constant.value);
  ------------------
  |  | 6018|     48|#define ast2obj_constant ast2obj_object
  ------------------
 9904|     48|        if (!value) goto failed;
  ------------------
  |  Branch (9904:13): [True: 0, False: 48]
  ------------------
 9905|     48|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (9905:13): [True: 0, False: 48]
  ------------------
 9906|      0|            goto failed;
 9907|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9908|     48|        value = ast2obj_string(state, o->v.Constant.kind);
  ------------------
  |  | 6020|     48|#define ast2obj_string ast2obj_object
  ------------------
 9909|     48|        if (!value) goto failed;
  ------------------
  |  Branch (9909:13): [True: 0, False: 48]
  ------------------
 9910|     48|        if (PyObject_SetAttr(result, state->kind, value) == -1)
  ------------------
  |  Branch (9910:13): [True: 0, False: 48]
  ------------------
 9911|      0|            goto failed;
 9912|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9913|     48|        break;
 9914|      6|    case Attribute_kind:
  ------------------
  |  Branch (9914:5): [True: 6, False: 302]
  ------------------
 9915|      6|        tp = (PyTypeObject *)state->Attribute_type;
 9916|      6|        result = PyType_GenericNew(tp, NULL, NULL);
 9917|      6|        if (!result) goto failed;
  ------------------
  |  Branch (9917:13): [True: 0, False: 6]
  ------------------
 9918|      6|        value = ast2obj_expr(state, o->v.Attribute.value);
 9919|      6|        if (!value) goto failed;
  ------------------
  |  Branch (9919:13): [True: 0, False: 6]
  ------------------
 9920|      6|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (9920:13): [True: 0, False: 6]
  ------------------
 9921|      0|            goto failed;
 9922|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9923|      6|        value = ast2obj_identifier(state, o->v.Attribute.attr);
  ------------------
  |  | 6019|      6|#define ast2obj_identifier ast2obj_object
  ------------------
 9924|      6|        if (!value) goto failed;
  ------------------
  |  Branch (9924:13): [True: 0, False: 6]
  ------------------
 9925|      6|        if (PyObject_SetAttr(result, state->attr, value) == -1)
  ------------------
  |  Branch (9925:13): [True: 0, False: 6]
  ------------------
 9926|      0|            goto failed;
 9927|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9928|      6|        value = ast2obj_expr_context(state, o->v.Attribute.ctx);
 9929|      6|        if (!value) goto failed;
  ------------------
  |  Branch (9929:13): [True: 0, False: 6]
  ------------------
 9930|      6|        if (PyObject_SetAttr(result, state->ctx, value) == -1)
  ------------------
  |  Branch (9930:13): [True: 0, False: 6]
  ------------------
 9931|      0|            goto failed;
 9932|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9933|      6|        break;
 9934|      0|    case Subscript_kind:
  ------------------
  |  Branch (9934:5): [True: 0, False: 308]
  ------------------
 9935|      0|        tp = (PyTypeObject *)state->Subscript_type;
 9936|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9937|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9937:13): [True: 0, False: 0]
  ------------------
 9938|      0|        value = ast2obj_expr(state, o->v.Subscript.value);
 9939|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9939:13): [True: 0, False: 0]
  ------------------
 9940|      0|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (9940:13): [True: 0, False: 0]
  ------------------
 9941|      0|            goto failed;
 9942|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9943|      0|        value = ast2obj_expr(state, o->v.Subscript.slice);
 9944|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9944:13): [True: 0, False: 0]
  ------------------
 9945|      0|        if (PyObject_SetAttr(result, state->slice, value) == -1)
  ------------------
  |  Branch (9945:13): [True: 0, False: 0]
  ------------------
 9946|      0|            goto failed;
 9947|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9948|      0|        value = ast2obj_expr_context(state, o->v.Subscript.ctx);
 9949|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9949:13): [True: 0, False: 0]
  ------------------
 9950|      0|        if (PyObject_SetAttr(result, state->ctx, value) == -1)
  ------------------
  |  Branch (9950:13): [True: 0, False: 0]
  ------------------
 9951|      0|            goto failed;
 9952|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9953|      0|        break;
 9954|      0|    case Starred_kind:
  ------------------
  |  Branch (9954:5): [True: 0, False: 308]
  ------------------
 9955|      0|        tp = (PyTypeObject *)state->Starred_type;
 9956|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9957|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9957:13): [True: 0, False: 0]
  ------------------
 9958|      0|        value = ast2obj_expr(state, o->v.Starred.value);
 9959|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9959:13): [True: 0, False: 0]
  ------------------
 9960|      0|        if (PyObject_SetAttr(result, state->value, value) == -1)
  ------------------
  |  Branch (9960:13): [True: 0, False: 0]
  ------------------
 9961|      0|            goto failed;
 9962|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9963|      0|        value = ast2obj_expr_context(state, o->v.Starred.ctx);
 9964|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9964:13): [True: 0, False: 0]
  ------------------
 9965|      0|        if (PyObject_SetAttr(result, state->ctx, value) == -1)
  ------------------
  |  Branch (9965:13): [True: 0, False: 0]
  ------------------
 9966|      0|            goto failed;
 9967|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9968|      0|        break;
 9969|    144|    case Name_kind:
  ------------------
  |  Branch (9969:5): [True: 144, False: 164]
  ------------------
 9970|    144|        tp = (PyTypeObject *)state->Name_type;
 9971|    144|        result = PyType_GenericNew(tp, NULL, NULL);
 9972|    144|        if (!result) goto failed;
  ------------------
  |  Branch (9972:13): [True: 0, False: 144]
  ------------------
 9973|    144|        value = ast2obj_identifier(state, o->v.Name.id);
  ------------------
  |  | 6019|    144|#define ast2obj_identifier ast2obj_object
  ------------------
 9974|    144|        if (!value) goto failed;
  ------------------
  |  Branch (9974:13): [True: 0, False: 144]
  ------------------
 9975|    144|        if (PyObject_SetAttr(result, state->id, value) == -1)
  ------------------
  |  Branch (9975:13): [True: 0, False: 144]
  ------------------
 9976|      0|            goto failed;
 9977|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9978|    144|        value = ast2obj_expr_context(state, o->v.Name.ctx);
 9979|    144|        if (!value) goto failed;
  ------------------
  |  Branch (9979:13): [True: 0, False: 144]
  ------------------
 9980|    144|        if (PyObject_SetAttr(result, state->ctx, value) == -1)
  ------------------
  |  Branch (9980:13): [True: 0, False: 144]
  ------------------
 9981|      0|            goto failed;
 9982|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9983|    144|        break;
 9984|      0|    case List_kind:
  ------------------
  |  Branch (9984:5): [True: 0, False: 308]
  ------------------
 9985|      0|        tp = (PyTypeObject *)state->List_type;
 9986|      0|        result = PyType_GenericNew(tp, NULL, NULL);
 9987|      0|        if (!result) goto failed;
  ------------------
  |  Branch (9987:13): [True: 0, False: 0]
  ------------------
 9988|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.List.elts, ast2obj_expr);
 9989|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9989:13): [True: 0, False: 0]
  ------------------
 9990|      0|        if (PyObject_SetAttr(result, state->elts, value) == -1)
  ------------------
  |  Branch (9990:13): [True: 0, False: 0]
  ------------------
 9991|      0|            goto failed;
 9992|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9993|      0|        value = ast2obj_expr_context(state, o->v.List.ctx);
 9994|      0|        if (!value) goto failed;
  ------------------
  |  Branch (9994:13): [True: 0, False: 0]
  ------------------
 9995|      0|        if (PyObject_SetAttr(result, state->ctx, value) == -1)
  ------------------
  |  Branch (9995:13): [True: 0, False: 0]
  ------------------
 9996|      0|            goto failed;
 9997|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 9998|      0|        break;
 9999|      0|    case Tuple_kind:
  ------------------
  |  Branch (9999:5): [True: 0, False: 308]
  ------------------
10000|      0|        tp = (PyTypeObject *)state->Tuple_type;
10001|      0|        result = PyType_GenericNew(tp, NULL, NULL);
10002|      0|        if (!result) goto failed;
  ------------------
  |  Branch (10002:13): [True: 0, False: 0]
  ------------------
10003|      0|        value = ast2obj_list(state, (asdl_seq*)o->v.Tuple.elts, ast2obj_expr);
10004|      0|        if (!value) goto failed;
  ------------------
  |  Branch (10004:13): [True: 0, False: 0]
  ------------------
10005|      0|        if (PyObject_SetAttr(result, state->elts, value) == -1)
  ------------------
  |  Branch (10005:13): [True: 0, False: 0]
  ------------------
10006|      0|            goto failed;
10007|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10008|      0|        value = ast2obj_expr_context(state, o->v.Tuple.ctx);
10009|      0|        if (!value) goto failed;
  ------------------
  |  Branch (10009:13): [True: 0, False: 0]
  ------------------
10010|      0|        if (PyObject_SetAttr(result, state->ctx, value) == -1)
  ------------------
  |  Branch (10010:13): [True: 0, False: 0]
  ------------------
10011|      0|            goto failed;
10012|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10013|      0|        break;
10014|      0|    case Slice_kind:
  ------------------
  |  Branch (10014:5): [True: 0, False: 308]
  ------------------
10015|      0|        tp = (PyTypeObject *)state->Slice_type;
10016|      0|        result = PyType_GenericNew(tp, NULL, NULL);
10017|      0|        if (!result) goto failed;
  ------------------
  |  Branch (10017:13): [True: 0, False: 0]
  ------------------
10018|      0|        value = ast2obj_expr(state, o->v.Slice.lower);
10019|      0|        if (!value) goto failed;
  ------------------
  |  Branch (10019:13): [True: 0, False: 0]
  ------------------
10020|      0|        if (PyObject_SetAttr(result, state->lower, value) == -1)
  ------------------
  |  Branch (10020:13): [True: 0, False: 0]
  ------------------
10021|      0|            goto failed;
10022|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10023|      0|        value = ast2obj_expr(state, o->v.Slice.upper);
10024|      0|        if (!value) goto failed;
  ------------------
  |  Branch (10024:13): [True: 0, False: 0]
  ------------------
10025|      0|        if (PyObject_SetAttr(result, state->upper, value) == -1)
  ------------------
  |  Branch (10025:13): [True: 0, False: 0]
  ------------------
10026|      0|            goto failed;
10027|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10028|      0|        value = ast2obj_expr(state, o->v.Slice.step);
10029|      0|        if (!value) goto failed;
  ------------------
  |  Branch (10029:13): [True: 0, False: 0]
  ------------------
10030|      0|        if (PyObject_SetAttr(result, state->step, value) == -1)
  ------------------
  |  Branch (10030:13): [True: 0, False: 0]
  ------------------
10031|      0|            goto failed;
10032|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10033|      0|        break;
10034|    308|    }
10035|    308|    value = ast2obj_int(state, o->lineno);
10036|    308|    if (!value) goto failed;
  ------------------
  |  Branch (10036:9): [True: 0, False: 308]
  ------------------
10037|    308|    if (PyObject_SetAttr(result, state->lineno, value) < 0)
  ------------------
  |  Branch (10037:9): [True: 0, False: 308]
  ------------------
10038|      0|        goto failed;
10039|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10040|    308|    value = ast2obj_int(state, o->col_offset);
10041|    308|    if (!value) goto failed;
  ------------------
  |  Branch (10041:9): [True: 0, False: 308]
  ------------------
10042|    308|    if (PyObject_SetAttr(result, state->col_offset, value) < 0)
  ------------------
  |  Branch (10042:9): [True: 0, False: 308]
  ------------------
10043|      0|        goto failed;
10044|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10045|    308|    value = ast2obj_int(state, o->end_lineno);
10046|    308|    if (!value) goto failed;
  ------------------
  |  Branch (10046:9): [True: 0, False: 308]
  ------------------
10047|    308|    if (PyObject_SetAttr(result, state->end_lineno, value) < 0)
  ------------------
  |  Branch (10047:9): [True: 0, False: 308]
  ------------------
10048|      0|        goto failed;
10049|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10050|    308|    value = ast2obj_int(state, o->end_col_offset);
10051|    308|    if (!value) goto failed;
  ------------------
  |  Branch (10051:9): [True: 0, False: 308]
  ------------------
10052|    308|    if (PyObject_SetAttr(result, state->end_col_offset, value) < 0)
  ------------------
  |  Branch (10052:9): [True: 0, False: 308]
  ------------------
10053|      0|        goto failed;
10054|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10055|    308|    Py_LeaveRecursiveCall();
10056|    308|    return result;
10057|      0|failed:
10058|      0|    Py_LeaveRecursiveCall();
10059|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10060|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10061|       |    return NULL;
10062|    308|}
Python-ast.c:ast2obj_boolop:
10077|     18|{
10078|     18|    switch(o) {
  ------------------
  |  Branch (10078:12): [True: 18, False: 0]
  ------------------
10079|     10|        case And:
  ------------------
  |  Branch (10079:9): [True: 10, False: 8]
  ------------------
10080|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10081|      8|        case Or:
  ------------------
  |  Branch (10081:9): [True: 8, False: 10]
  ------------------
10082|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10083|     18|    }
10084|      0|    Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
10085|     18|}
Python-ast.c:ast2obj_unaryop:
10119|      4|{
10120|      4|    switch(o) {
  ------------------
  |  Branch (10120:12): [True: 4, False: 0]
  ------------------
10121|      0|        case Invert:
  ------------------
  |  Branch (10121:9): [True: 0, False: 4]
  ------------------
10122|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10123|      2|        case Not:
  ------------------
  |  Branch (10123:9): [True: 2, False: 2]
  ------------------
10124|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10125|      0|        case UAdd:
  ------------------
  |  Branch (10125:9): [True: 0, False: 4]
  ------------------
10126|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10127|      2|        case USub:
  ------------------
  |  Branch (10127:9): [True: 2, False: 2]
  ------------------
10128|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10129|      4|    }
10130|      0|    Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
10131|      4|}
Python-ast.c:ast2obj_cmpop:
10133|     20|{
10134|     20|    switch(o) {
  ------------------
  |  Branch (10134:12): [True: 20, False: 0]
  ------------------
10135|      6|        case Eq:
  ------------------
  |  Branch (10135:9): [True: 6, False: 14]
  ------------------
10136|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10137|      0|        case NotEq:
  ------------------
  |  Branch (10137:9): [True: 0, False: 20]
  ------------------
10138|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10139|      2|        case Lt:
  ------------------
  |  Branch (10139:9): [True: 2, False: 18]
  ------------------
10140|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10141|      0|        case LtE:
  ------------------
  |  Branch (10141:9): [True: 0, False: 20]
  ------------------
10142|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10143|      0|        case Gt:
  ------------------
  |  Branch (10143:9): [True: 0, False: 20]
  ------------------
10144|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10145|      0|        case GtE:
  ------------------
  |  Branch (10145:9): [True: 0, False: 20]
  ------------------
10146|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10147|      8|        case Is:
  ------------------
  |  Branch (10147:9): [True: 8, False: 12]
  ------------------
10148|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10149|      4|        case IsNot:
  ------------------
  |  Branch (10149:9): [True: 4, False: 16]
  ------------------
10150|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10151|      0|        case In:
  ------------------
  |  Branch (10151:9): [True: 0, False: 20]
  ------------------
10152|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10153|      0|        case NotIn:
  ------------------
  |  Branch (10153:9): [True: 0, False: 20]
  ------------------
10154|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10155|     20|    }
10156|      0|    Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
10157|     20|}
Python-ast.c:ast2obj_expr_context:
10065|    150|{
10066|    150|    switch(o) {
  ------------------
  |  Branch (10066:12): [True: 150, False: 0]
  ------------------
10067|    126|        case Load:
  ------------------
  |  Branch (10067:9): [True: 126, False: 24]
  ------------------
10068|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10069|     24|        case Store:
  ------------------
  |  Branch (10069:9): [True: 24, False: 126]
  ------------------
10070|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10071|      0|        case Del:
  ------------------
  |  Branch (10071:9): [True: 0, False: 150]
  ------------------
10072|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
10073|    150|    }
10074|      0|    Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
10075|    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:do_warn:
 1122|  4.30k|{
 1123|  4.30k|    PyObject *filename, *module, *registry, *res;
 1124|  4.30k|    int lineno;
 1125|       |
 1126|  4.30k|    PyThreadState *tstate = get_current_tstate();
 1127|  4.30k|    if (tstate == NULL) {
  ------------------
  |  Branch (1127:9): [True: 0, False: 4.30k]
  ------------------
 1128|      0|        return NULL;
 1129|      0|    }
 1130|       |
 1131|  4.30k|    if (!setup_context(stack_level, skip_file_prefixes,
  ------------------
  |  Branch (1131:9): [True: 0, False: 4.30k]
  ------------------
 1132|  4.30k|                       &filename, &lineno, &module, &registry))
 1133|      0|        return NULL;
 1134|       |
 1135|  4.30k|    warnings_lock(tstate->interp);
 1136|  4.30k|    res = warn_explicit(tstate, category, message, filename, lineno, module, registry,
 1137|  4.30k|                        NULL, source);
 1138|  4.30k|    warnings_unlock(tstate->interp);
 1139|  4.30k|    Py_DECREF(filename);
  ------------------
  |  |  430|  4.30k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1140|  4.30k|    Py_DECREF(registry);
  ------------------
  |  |  430|  4.30k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1141|  4.30k|    Py_DECREF(module);
  ------------------
  |  |  430|  4.30k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1142|  4.30k|    return res;
 1143|  4.30k|}
_warnings.c:setup_context:
  995|  4.30k|{
  996|  4.30k|    PyObject *globals;
  997|       |
  998|       |    /* Setup globals, filename and lineno. */
  999|  4.30k|    PyThreadState *tstate = get_current_tstate();
 1000|  4.30k|    if (tstate == NULL) {
  ------------------
  |  Branch (1000:9): [True: 0, False: 4.30k]
  ------------------
 1001|      0|        return 0;
 1002|      0|    }
 1003|  4.30k|    if (skip_file_prefixes) {
  ------------------
  |  Branch (1003:9): [True: 0, False: 4.30k]
  ------------------
 1004|       |        /* Type check our data structure up front. Later code that uses it
 1005|       |         * isn't structured to report errors. */
 1006|      0|        Py_ssize_t prefixes = PyTuple_GET_SIZE(skip_file_prefixes);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1007|      0|        for (Py_ssize_t idx = 0; idx < prefixes; ++idx)
  ------------------
  |  Branch (1007:34): [True: 0, False: 0]
  ------------------
 1008|      0|        {
 1009|      0|            PyObject *prefix = PyTuple_GET_ITEM(skip_file_prefixes, 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1010|      0|            if (!PyUnicode_Check(prefix)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1010:17): [True: 0, False: 0]
  ------------------
 1011|      0|                PyErr_Format(PyExc_TypeError,
 1012|      0|                             "Found non-str '%s' in skip_file_prefixes.",
 1013|      0|                             Py_TYPE(prefix)->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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1014|      0|                return 0;
 1015|      0|            }
 1016|      0|        }
 1017|      0|    }
 1018|  4.30k|    PyInterpreterState *interp = tstate->interp;
 1019|  4.30k|    PyFrameObject *f = PyThreadState_GetFrame(tstate);
 1020|       |    // Stack level comparisons to Python code is off by one as there is no
 1021|       |    // warnings-related stack level to avoid.
 1022|  4.30k|    if (stack_level <= 0 || is_internal_frame(f)) {
  ------------------
  |  Branch (1022:9): [True: 0, False: 4.30k]
  |  Branch (1022:29): [True: 0, False: 4.30k]
  ------------------
 1023|      0|        while (--stack_level > 0 && f != NULL) {
  ------------------
  |  Branch (1023:16): [True: 0, False: 0]
  |  Branch (1023:37): [True: 0, False: 0]
  ------------------
 1024|      0|            PyFrameObject *back = PyFrame_GetBack(f);
 1025|      0|            Py_SETREF(f, back);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 1026|      0|        }
 1027|      0|    }
 1028|  4.30k|    else {
 1029|  12.9k|        while (--stack_level > 0 && f != NULL) {
  ------------------
  |  Branch (1029:16): [True: 8.60k, False: 4.30k]
  |  Branch (1029:37): [True: 8.60k, False: 0]
  ------------------
 1030|  8.60k|            f = next_external_frame(f, skip_file_prefixes);
 1031|  8.60k|        }
 1032|  4.30k|    }
 1033|       |
 1034|  4.30k|    if (f == NULL) {
  ------------------
  |  Branch (1034:9): [True: 0, False: 4.30k]
  ------------------
 1035|      0|        globals = interp->sysdict;
 1036|      0|        *filename = PyUnicode_FromString("<sys>");
 1037|      0|        *lineno = 0;
 1038|      0|    }
 1039|  4.30k|    else {
 1040|  4.30k|        globals = f->f_frame->f_globals;
 1041|  4.30k|        *filename = Py_NewRef(_PyFrame_GetCode(f->f_frame)->co_filename);
  ------------------
  |  |  550|  4.30k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1042|  4.30k|        *lineno = PyFrame_GetLineNumber(f);
 1043|  4.30k|        Py_DECREF(f);
  ------------------
  |  |  430|  4.30k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1044|  4.30k|    }
 1045|       |
 1046|  4.30k|    *module = NULL;
 1047|       |
 1048|       |    /* Setup registry. */
 1049|  4.30k|    assert(globals != NULL);
 1050|  4.30k|    assert(PyAnyDict_Check(globals));
 1051|  4.30k|    int rc = PyDict_GetItemRef(globals, &_Py_ID(__warningregistry__),
  ------------------
  |  |  915|  4.30k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.30k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.30k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1052|  4.30k|                               registry);
 1053|  4.30k|    if (rc < 0) {
  ------------------
  |  Branch (1053:9): [True: 0, False: 4.30k]
  ------------------
 1054|      0|        goto handle_error;
 1055|      0|    }
 1056|  4.30k|    if (*registry == NULL) {
  ------------------
  |  Branch (1056:9): [True: 1, False: 4.30k]
  ------------------
 1057|      1|        *registry = PyDict_New();
 1058|      1|        if (*registry == NULL)
  ------------------
  |  Branch (1058:13): [True: 0, False: 1]
  ------------------
 1059|      0|            goto handle_error;
 1060|       |
 1061|      1|         rc = PyDict_SetItem(globals, &_Py_ID(__warningregistry__), *registry);
  ------------------
  |  |  915|      1|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      1|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      1|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1062|      1|         if (rc < 0)
  ------------------
  |  Branch (1062:14): [True: 0, False: 1]
  ------------------
 1063|      0|            goto handle_error;
 1064|      1|    }
 1065|       |
 1066|       |    /* Setup module. */
 1067|  4.30k|    rc = PyDict_GetItemRef(globals, &_Py_ID(__name__), module);
  ------------------
  |  |  915|  4.30k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.30k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.30k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1068|  4.30k|    if (rc < 0) {
  ------------------
  |  Branch (1068:9): [True: 0, False: 4.30k]
  ------------------
 1069|      0|        goto handle_error;
 1070|      0|    }
 1071|  4.30k|    if (rc > 0) {
  ------------------
  |  Branch (1071:9): [True: 4.30k, False: 0]
  ------------------
 1072|  4.30k|        if (Py_IsNone(*module) || PyUnicode_Check(*module)) {
  ------------------
  |  |  621|  4.30k|#define Py_IsNone(x) Py_Is((x), Py_None)
  |  |  ------------------
  |  |  |  |  187|  8.60k|#define Py_Is(x, y) ((x) == (y))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (187:21): [True: 0, False: 4.30k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (Py_IsNone(*module) || PyUnicode_Check(*module)) {
  ------------------
  |  |  103|  4.30k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.30k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 4.30k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1073|  4.30k|            return 1;
 1074|  4.30k|        }
 1075|      0|        Py_DECREF(*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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1076|      0|    }
 1077|      0|    *module = PyUnicode_FromString("<string>");
 1078|      0|    if (*module == NULL) {
  ------------------
  |  Branch (1078:9): [True: 0, False: 0]
  ------------------
 1079|      0|        goto handle_error;
 1080|      0|    }
 1081|       |
 1082|      0|    return 1;
 1083|       |
 1084|      0| handle_error:
 1085|      0|    Py_XDECREF(*registry);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1086|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1087|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1088|      0|    return 0;
 1089|      0|}
_warnings.c:is_internal_frame:
  960|  4.30k|{
  961|  4.30k|    if (frame == NULL) {
  ------------------
  |  Branch (961:9): [True: 0, False: 4.30k]
  ------------------
  962|      0|        return false;
  963|      0|    }
  964|       |
  965|  4.30k|    PyObject *filename = get_frame_filename(frame);
  966|  4.30k|    if (filename == NULL) {
  ------------------
  |  Branch (966:9): [True: 0, False: 4.30k]
  ------------------
  967|      0|        return false;
  968|      0|    }
  969|       |
  970|  4.30k|    return is_internal_filename(filename);
  971|  4.30k|}
_warnings.c:get_frame_filename:
  902|  12.9k|{
  903|  12.9k|    PyCodeObject *code = PyFrame_GetCode(frame);
  904|  12.9k|    PyObject *filename = code->co_filename;
  905|  12.9k|    Py_DECREF(code);
  ------------------
  |  |  430|  12.9k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  906|  12.9k|    return filename;
  907|  12.9k|}
_warnings.c:is_internal_filename:
  911|  12.9k|{
  912|  12.9k|    if (!PyUnicode_Check(filename)) {
  ------------------
  |  |  103|  12.9k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  12.9k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (912:9): [True: 0, False: 12.9k]
  ------------------
  913|      0|        return false;
  914|      0|    }
  915|       |
  916|  12.9k|    int contains = PyUnicode_Contains(filename, &_Py_ID(importlib));
  ------------------
  |  |  915|  12.9k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  12.9k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  12.9k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  917|  12.9k|    if (contains < 0) {
  ------------------
  |  Branch (917:9): [True: 0, False: 12.9k]
  ------------------
  918|      0|        return false;
  919|      0|    }
  920|  12.9k|    else if (contains > 0) {
  ------------------
  |  Branch (920:14): [True: 0, False: 12.9k]
  ------------------
  921|      0|        contains = PyUnicode_Contains(filename, &_Py_ID(_bootstrap));
  ------------------
  |  |  915|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  922|      0|        if (contains < 0) {
  ------------------
  |  Branch (922:13): [True: 0, False: 0]
  ------------------
  923|      0|            return false;
  924|      0|        }
  925|      0|        else if (contains > 0) {
  ------------------
  |  Branch (925:18): [True: 0, False: 0]
  ------------------
  926|      0|            return true;
  927|      0|        }
  928|      0|    }
  929|       |
  930|  12.9k|    return false;
  931|  12.9k|}
_warnings.c:next_external_frame:
  975|  8.60k|{
  976|  8.60k|    PyObject *frame_filename;
  977|  8.60k|    do {
  978|  8.60k|        PyFrameObject *back = PyFrame_GetBack(frame);
  979|  8.60k|        Py_SETREF(frame, back);
  ------------------
  |  |  352|  8.60k|    do { \
  |  |  353|  8.60k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  8.60k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|  8.60k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  8.60k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|  8.60k|        *_tmp_dst_ptr = (src); \
  |  |  356|  8.60k|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|  8.60k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  8.60k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  8.60k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|  8.60k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 8.60k]
  |  |  ------------------
  ------------------
  980|  8.60k|    } while (frame != NULL && (frame_filename = get_frame_filename(frame)) &&
  ------------------
  |  Branch (980:14): [True: 8.60k, False: 0]
  |  Branch (980:31): [True: 8.60k, False: 0]
  ------------------
  981|  8.60k|             (is_internal_filename(frame_filename) ||
  ------------------
  |  Branch (981:15): [True: 0, False: 8.60k]
  ------------------
  982|  8.60k|              is_filename_to_skip(frame_filename, skip_file_prefixes)));
  ------------------
  |  Branch (982:15): [True: 0, False: 8.60k]
  ------------------
  983|       |
  984|  8.60k|    return frame;
  985|  8.60k|}
_warnings.c:is_filename_to_skip:
  935|  8.60k|{
  936|  8.60k|    if (skip_file_prefixes) {
  ------------------
  |  Branch (936:9): [True: 0, False: 8.60k]
  ------------------
  937|      0|        if (!PyUnicode_Check(filename)) {
  ------------------
  |  |  103|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (937:13): [True: 0, False: 0]
  ------------------
  938|      0|            return false;
  939|      0|        }
  940|       |
  941|      0|        Py_ssize_t prefixes = PyTuple_GET_SIZE(skip_file_prefixes);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  942|      0|        for (Py_ssize_t idx = 0; idx < prefixes; ++idx)
  ------------------
  |  Branch (942:34): [True: 0, False: 0]
  ------------------
  943|      0|        {
  944|      0|            PyObject *prefix = PyTuple_GET_ITEM(skip_file_prefixes, 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  945|      0|            Py_ssize_t found = PyUnicode_Tailmatch(filename, prefix,
  946|      0|                                                   0, PY_SSIZE_T_MAX, -1);
  ------------------
  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  947|      0|            if (found == 1) {
  ------------------
  |  Branch (947:17): [True: 0, False: 0]
  ------------------
  948|      0|                return true;
  949|      0|            }
  950|      0|            if (found < 0) {
  ------------------
  |  Branch (950:17): [True: 0, False: 0]
  ------------------
  951|      0|                return false;
  952|      0|            }
  953|      0|        }
  954|      0|    }
  955|  8.60k|    return false;
  956|  8.60k|}
_warnings.c:get_current_tstate:
   49|  8.60k|{
   50|  8.60k|    PyThreadState *tstate = _PyThreadState_GET();
   51|  8.60k|    if (tstate == NULL) {
  ------------------
  |  Branch (51:9): [True: 0, False: 8.60k]
  ------------------
   52|      0|        (void)check_interp(NULL);
   53|      0|        return NULL;
   54|      0|    }
   55|  8.60k|    return check_interp(tstate->interp) ? tstate : NULL;
  ------------------
  |  Branch (55:12): [True: 8.60k, False: 0]
  ------------------
   56|  8.60k|}
_warnings.c:check_interp:
   30|  82.3k|{
   31|  82.3k|    if (interp == NULL) {
  ------------------
  |  Branch (31:9): [True: 0, False: 82.3k]
  ------------------
   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|  82.3k|    return 1;
   38|  82.3k|}
_warnings.c:warnings_lock:
  259|  28.9k|{
  260|  28.9k|    WarningsState *st = warnings_get_state(interp);
  261|       |    assert(st != NULL);
  262|  28.9k|    _PyRecursiveMutex_Lock(&st->lock);
  263|  28.9k|}
_warnings.c:warnings_get_state:
   61|  99.6k|{
   62|  99.6k|    return &interp->warnings;
   63|  99.6k|}
_warnings.c:warn_explicit:
  777|  4.30k|{
  778|  4.30k|    PyObject *key = NULL, *text = NULL, *result = NULL, *lineno_obj = NULL;
  779|  4.30k|    PyObject *item = NULL;
  780|  4.30k|    PyObject *action;
  781|  4.30k|    int rc;
  782|  4.30k|    PyInterpreterState *interp = tstate->interp;
  783|       |
  784|       |    /* module can be None if a warning is emitted late during Python shutdown.
  785|       |       In this case, the Python warnings module was probably unloaded, filters
  786|       |       are no more available to choose as action. It is safer to ignore the
  787|       |       warning and do nothing. */
  788|  4.30k|    if (module == Py_None)
  ------------------
  |  |  616|  4.30k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (788:9): [True: 0, False: 4.30k]
  ------------------
  789|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  790|       |
  791|  4.30k|    if (registry && !PyDict_Check(registry) && (registry != Py_None)) {
  ------------------
  |  |   18|  4.30k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  8.60k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                  if (registry && !PyDict_Check(registry) && (registry != Py_None)) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (791:9): [True: 4.30k, False: 0]
  |  Branch (791:21): [True: 0, False: 4.30k]
  |  Branch (791:48): [True: 0, False: 0]
  ------------------
  792|      0|        PyErr_SetString(PyExc_TypeError, "'registry' must be a dict or None");
  793|      0|        return NULL;
  794|      0|    }
  795|       |
  796|       |    /* Normalize message. */
  797|  4.30k|    Py_INCREF(message);  /* DECREF'ed in cleanup. */
  ------------------
  |  |  310|  4.30k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  798|  4.30k|    if (PyObject_TypeCheck(message, (PyTypeObject *)PyExc_Warning)) {
  ------------------
  |  |  378|  4.30k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (378:40): [True: 0, False: 4.30k]
  |  |  ------------------
  ------------------
  799|      0|        text = PyObject_Str(message);
  800|      0|        if (text == NULL)
  ------------------
  |  Branch (800:13): [True: 0, False: 0]
  ------------------
  801|      0|            goto cleanup;
  802|      0|        category = (PyObject*)Py_TYPE(message);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  803|      0|    }
  804|  4.30k|    else {
  805|  4.30k|        text = message;
  806|  4.30k|        message = PyObject_CallOneArg(category, message);
  807|  4.30k|        if (message == NULL)
  ------------------
  |  Branch (807:13): [True: 0, False: 4.30k]
  ------------------
  808|      0|            goto cleanup;
  809|  4.30k|    }
  810|       |
  811|  4.30k|    lineno_obj = PyLong_FromLong(lineno);
  812|  4.30k|    if (lineno_obj == NULL)
  ------------------
  |  Branch (812:9): [True: 0, False: 4.30k]
  ------------------
  813|      0|        goto cleanup;
  814|       |
  815|  4.30k|    if (source == Py_None) {
  ------------------
  |  |  616|  4.30k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (815:9): [True: 4.30k, False: 0]
  ------------------
  816|  4.30k|        source = NULL;
  817|  4.30k|    }
  818|       |
  819|       |    /* Create key. */
  820|  4.30k|    key = PyTuple_Pack(3, text, category, lineno_obj);
  821|  4.30k|    if (key == NULL)
  ------------------
  |  Branch (821:9): [True: 0, False: 4.30k]
  ------------------
  822|      0|        goto cleanup;
  823|       |
  824|  4.30k|    if ((registry != NULL) && (registry != Py_None)) {
  ------------------
  |  |  616|  4.30k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (824:9): [True: 4.30k, False: 0]
  |  Branch (824:31): [True: 4.30k, False: 0]
  ------------------
  825|  4.30k|        rc = already_warned(interp, registry, key, 0);
  826|  4.30k|        if (rc == -1)
  ------------------
  |  Branch (826:13): [True: 0, False: 4.30k]
  ------------------
  827|      0|            goto cleanup;
  828|  4.30k|        else if (rc == 1)
  ------------------
  |  Branch (828:18): [True: 0, False: 4.30k]
  ------------------
  829|      0|            goto return_none;
  830|       |        /* Else this warning hasn't been generated before. */
  831|  4.30k|    }
  832|       |
  833|  4.30k|    action = get_filter(interp, category, text, lineno, module, filename, &item);
  834|  4.30k|    if (action == NULL)
  ------------------
  |  Branch (834:9): [True: 0, False: 4.30k]
  ------------------
  835|      0|        goto cleanup;
  836|       |
  837|  4.30k|    if (_PyUnicode_EqualToASCIIString(action, "error")) {
  ------------------
  |  Branch (837:9): [True: 0, False: 4.30k]
  ------------------
  838|      0|        PyErr_SetObject(category, message);
  839|      0|        goto cleanup;
  840|      0|    }
  841|       |
  842|  4.30k|    if (_PyUnicode_EqualToASCIIString(action, "ignore")) {
  ------------------
  |  Branch (842:9): [True: 0, False: 4.30k]
  ------------------
  843|      0|        goto return_none;
  844|      0|    }
  845|       |
  846|       |    /* Store in the registry that we've been here, *except* when the action
  847|       |       is "always" or "all". */
  848|  4.30k|    rc = 0;
  849|  4.30k|    if (!_PyUnicode_EqualToASCIIString(action, "always") && !_PyUnicode_EqualToASCIIString(action, "all")) {
  ------------------
  |  Branch (849:9): [True: 4.30k, False: 0]
  |  Branch (849:61): [True: 4.30k, False: 0]
  ------------------
  850|  4.30k|        if (registry != NULL && registry != Py_None &&
  ------------------
  |  |  616|  8.60k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (850:13): [True: 4.30k, False: 0]
  |  Branch (850:33): [True: 4.30k, False: 0]
  ------------------
  851|  4.30k|            PyDict_SetItem(registry, key, Py_True) < 0)
  ------------------
  |  |   26|  4.30k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (851:13): [True: 0, False: 4.30k]
  ------------------
  852|      0|        {
  853|      0|            goto cleanup;
  854|      0|        }
  855|       |
  856|  4.30k|        if (_PyUnicode_EqualToASCIIString(action, "once")) {
  ------------------
  |  Branch (856:13): [True: 0, False: 4.30k]
  ------------------
  857|      0|            if (registry == NULL || registry == Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (857:17): [True: 0, False: 0]
  |  Branch (857:37): [True: 0, False: 0]
  ------------------
  858|      0|                registry = get_once_registry(interp);
  859|      0|                if (registry == NULL)
  ------------------
  |  Branch (859:21): [True: 0, False: 0]
  ------------------
  860|      0|                    goto cleanup;
  861|      0|            }
  862|       |            /* WarningsState.once_registry[(text, category)] = 1 */
  863|      0|            rc = update_registry(interp, registry, text, category, 0);
  864|      0|        }
  865|  4.30k|        else if (_PyUnicode_EqualToASCIIString(action, "module")) {
  ------------------
  |  Branch (865:18): [True: 0, False: 4.30k]
  ------------------
  866|       |            /* registry[(text, category, 0)] = 1 */
  867|      0|            if (registry != NULL && registry != Py_None)
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (867:17): [True: 0, False: 0]
  |  Branch (867:37): [True: 0, False: 0]
  ------------------
  868|      0|                rc = update_registry(interp, registry, text, category, 0);
  869|      0|        }
  870|  4.30k|        else if (!_PyUnicode_EqualToASCIIString(action, "default")) {
  ------------------
  |  Branch (870:18): [True: 0, False: 4.30k]
  ------------------
  871|      0|            PyErr_Format(PyExc_RuntimeError,
  872|      0|                        "Unrecognized action (%R) in warnings.filters:\n %R",
  873|      0|                        action, item);
  874|      0|            goto cleanup;
  875|      0|        }
  876|  4.30k|    }
  877|       |
  878|  4.30k|    if (rc == 1)  /* Already warned for this module. */
  ------------------
  |  Branch (878:9): [True: 0, False: 4.30k]
  ------------------
  879|      0|        goto return_none;
  880|  4.30k|    if (rc == 0) {
  ------------------
  |  Branch (880:9): [True: 4.30k, False: 0]
  ------------------
  881|  4.30k|        if (call_show_warning(tstate, category, text, message, filename,
  ------------------
  |  Branch (881:13): [True: 0, False: 4.30k]
  ------------------
  882|  4.30k|                              lineno, lineno_obj, sourceline, source, module) < 0)
  883|      0|            goto cleanup;
  884|  4.30k|    }
  885|      0|    else /* if (rc == -1) */
  886|      0|        goto cleanup;
  887|       |
  888|  4.30k| return_none:
  889|  4.30k|    result = Py_NewRef(Py_None);
  ------------------
  |  |  550|  4.30k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  890|       |
  891|  4.30k| cleanup:
  892|  4.30k|    Py_XDECREF(item);
  ------------------
  |  |  524|  4.30k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  893|  4.30k|    Py_XDECREF(key);
  ------------------
  |  |  524|  4.30k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  894|  4.30k|    Py_XDECREF(text);
  ------------------
  |  |  524|  4.30k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  895|  4.30k|    Py_XDECREF(lineno_obj);
  ------------------
  |  |  524|  4.30k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  896|  4.30k|    Py_XDECREF(message);
  ------------------
  |  |  524|  4.30k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  897|  4.30k|    return result;  /* Py_None or NULL. */
  898|  4.30k|}
_warnings.c:already_warned:
  579|  4.30k|{
  580|  4.30k|    PyObject *already_warned;
  581|       |
  582|  4.30k|    if (key == NULL)
  ------------------
  |  Branch (582:9): [True: 0, False: 4.30k]
  ------------------
  583|      0|        return -1;
  584|       |
  585|  4.30k|    WarningsState *st = warnings_get_state(interp);
  586|  4.30k|    assert(st != NULL);
  587|  4.30k|    assert(warnings_lock_held(st));
  588|       |
  589|  4.30k|    PyObject *version_obj;
  590|  4.30k|    if (PyDict_GetItemRef(registry, &_Py_ID(version), &version_obj) < 0) {
  ------------------
  |  |  915|  4.30k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.30k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.30k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (590:9): [True: 0, False: 4.30k]
  ------------------
  591|      0|        return -1;
  592|      0|    }
  593|  4.30k|    bool should_update_version = (
  594|  4.30k|        version_obj == NULL
  ------------------
  |  Branch (594:9): [True: 1, False: 4.30k]
  ------------------
  595|  4.30k|        || !PyLong_CheckExact(version_obj)
  ------------------
  |  |   14|  4.30k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  8.60k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (595:12): [True: 0, False: 4.30k]
  ------------------
  596|  4.30k|        || PyLong_AsLong(version_obj) != st->filters_version
  ------------------
  |  Branch (596:12): [True: 4.30k, False: 0]
  ------------------
  597|  4.30k|    );
  598|  4.30k|    Py_XDECREF(version_obj);
  ------------------
  |  |  524|  4.30k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  599|  4.30k|    if (should_update_version) {
  ------------------
  |  Branch (599:9): [True: 4.30k, False: 0]
  ------------------
  600|  4.30k|        PyDict_Clear(registry);
  601|  4.30k|        version_obj = PyLong_FromLong(st->filters_version);
  602|  4.30k|        if (version_obj == NULL)
  ------------------
  |  Branch (602:13): [True: 0, False: 4.30k]
  ------------------
  603|      0|            return -1;
  604|  4.30k|        if (PyDict_SetItem(registry, &_Py_ID(version), version_obj) < 0) {
  ------------------
  |  |  915|  4.30k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.30k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.30k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (604:13): [True: 0, False: 4.30k]
  ------------------
  605|      0|            Py_DECREF(version_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  606|      0|            return -1;
  607|      0|        }
  608|  4.30k|        Py_DECREF(version_obj);
  ------------------
  |  |  430|  4.30k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  609|  4.30k|    }
  610|      0|    else {
  611|      0|        if (PyDict_GetItemRef(registry, key, &already_warned) < 0) {
  ------------------
  |  Branch (611:13): [True: 0, False: 0]
  ------------------
  612|      0|            return -1;
  613|      0|        }
  614|      0|        if (already_warned != NULL) {
  ------------------
  |  Branch (614:13): [True: 0, False: 0]
  ------------------
  615|      0|            int rc = PyObject_IsTrue(already_warned);
  616|      0|            Py_DECREF(already_warned);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) 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|            if (rc != 0)
  ------------------
  |  Branch (617:17): [True: 0, False: 0]
  ------------------
  618|      0|                return rc;
  619|      0|        }
  620|      0|    }
  621|       |
  622|       |    /* This warning wasn't found in the registry, set it. */
  623|  4.30k|    if (should_set)
  ------------------
  |  Branch (623:9): [True: 0, False: 4.30k]
  ------------------
  624|      0|        return PyDict_SetItem(registry, key, 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  625|  4.30k|    return 0;
  626|  4.30k|}
_warnings.c:get_filter:
  521|  4.30k|{
  522|       |#ifdef Py_DEBUG
  523|       |    WarningsState *st = warnings_get_state(interp);
  524|       |    assert(st != NULL);
  525|       |    assert(warnings_lock_held(st));
  526|       |#endif
  527|       |
  528|       |    /* check _warning_context _filters list */
  529|  4.30k|    PyObject *context_filters = get_warnings_context_filters(interp);
  530|  4.30k|    if (context_filters == NULL) {
  ------------------
  |  Branch (530:9): [True: 0, False: 4.30k]
  ------------------
  531|      0|        return NULL;
  532|      0|    }
  533|  4.30k|    bool use_global_filters = false;
  534|  4.30k|    if (context_filters == Py_None) {
  ------------------
  |  |  616|  4.30k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (534:9): [True: 4.30k, False: 0]
  ------------------
  535|  4.30k|        use_global_filters = true;
  536|  4.30k|    } else {
  537|      0|        PyObject *context_action = NULL;
  538|      0|        if (!filter_search(interp, category, text, lineno, module, filename, "_warnings_context _filters",
  ------------------
  |  Branch (538:13): [True: 0, False: 0]
  ------------------
  539|      0|                           context_filters, item, &context_action)) {
  540|      0|            Py_DECREF(context_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  541|      0|            return NULL;
  542|      0|        }
  543|      0|        Py_DECREF(context_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  544|      0|        if (context_action != NULL) {
  ------------------
  |  Branch (544:13): [True: 0, False: 0]
  ------------------
  545|      0|            return context_action;
  546|      0|        }
  547|      0|    }
  548|       |
  549|  4.30k|    PyObject *action;
  550|       |
  551|  4.30k|    if (use_global_filters) {
  ------------------
  |  Branch (551:9): [True: 4.30k, False: 0]
  ------------------
  552|       |        /* check warnings.filters list */
  553|  4.30k|        PyObject *filters = get_warnings_filters(interp);
  554|  4.30k|        if (filters == NULL) {
  ------------------
  |  Branch (554:13): [True: 0, False: 4.30k]
  ------------------
  555|      0|            return NULL;
  556|      0|        }
  557|  4.30k|        if (!filter_search(interp, category, text, lineno, module, filename, "filters",
  ------------------
  |  Branch (557:13): [True: 0, False: 4.30k]
  ------------------
  558|  4.30k|                           filters, item, &action)) {
  559|      0|            return NULL;
  560|      0|        }
  561|  4.30k|        if (action != NULL) {
  ------------------
  |  Branch (561:13): [True: 0, False: 4.30k]
  ------------------
  562|      0|            return action;
  563|      0|        }
  564|  4.30k|    }
  565|       |
  566|  4.30k|    action = get_default_action(interp);
  567|  4.30k|    if (action != NULL) {
  ------------------
  |  Branch (567:9): [True: 4.30k, False: 0]
  ------------------
  568|  4.30k|        *item = Py_NewRef(Py_None);
  ------------------
  |  |  550|  4.30k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  569|  4.30k|        return action;
  570|  4.30k|    }
  571|       |
  572|      0|    return NULL;
  573|  4.30k|}
_warnings.c:get_warnings_context_filters:
  296|  4.30k|{
  297|  4.30k|    PyObject *ctx = get_warnings_context(interp);
  298|  4.30k|    if (ctx == NULL) {
  ------------------
  |  Branch (298:9): [True: 0, False: 4.30k]
  ------------------
  299|      0|        return NULL;
  300|      0|    }
  301|  4.30k|    if (ctx == Py_None) {
  ------------------
  |  |  616|  4.30k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (301:9): [True: 4.30k, False: 0]
  ------------------
  302|  4.30k|        Py_RETURN_NONE;
  ------------------
  |  |  628|  4.30k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  4.30k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  303|  4.30k|    }
  304|      0|    PyObject *context_filters = PyObject_GetAttr(ctx, &_Py_ID(_filters));
  ------------------
  |  |  915|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  305|      0|    Py_DECREF(ctx);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) 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 (context_filters == NULL) {
  ------------------
  |  Branch (306:9): [True: 0, False: 0]
  ------------------
  307|      0|        return NULL;
  308|      0|    }
  309|      0|    if (!PyList_Check(context_filters)) {
  ------------------
  |  |   25|      0|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (309:9): [True: 0, False: 0]
  ------------------
  310|      0|        PyErr_SetString(PyExc_ValueError,
  311|      0|                        "_filters of warnings._warnings_context must be a list");
  312|      0|        Py_DECREF(context_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  313|      0|        return NULL;
  314|      0|    }
  315|      0|    return context_filters;
  316|      0|}
_warnings.c:get_warnings_context:
  281|  4.30k|{
  282|  4.30k|    WarningsState *st = warnings_get_state(interp);
  283|  4.30k|    assert(PyContextVar_CheckExact(st->context));
  284|  4.30k|    PyObject *ctx;
  285|  4.30k|    if (PyContextVar_Get(st->context, NULL, &ctx) < 0) {
  ------------------
  |  Branch (285:9): [True: 0, False: 4.30k]
  ------------------
  286|      0|        return NULL;
  287|      0|    }
  288|  4.30k|    if (ctx == NULL) {
  ------------------
  |  Branch (288:9): [True: 4.30k, False: 0]
  ------------------
  289|  4.30k|        Py_RETURN_NONE;
  ------------------
  |  |  628|  4.30k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  4.30k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  290|  4.30k|    }
  291|      0|    return ctx;
  292|  4.30k|}
_warnings.c:filter_search:
  440|  4.30k|              PyObject **item, PyObject **matched_action) {
  441|  4.30k|    bool result = true;
  442|  4.30k|    *matched_action = NULL;
  443|       |    /* Avoid the filters list changing while we iterate over it. */
  444|  4.30k|    Py_BEGIN_CRITICAL_SECTION(filters);
  ------------------
  |  |   51|  4.30k|    {
  ------------------
  445|  25.8k|    for (Py_ssize_t i = 0; i < PyList_GET_SIZE(filters); i++) {
  ------------------
  |  |   38|  25.8k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  25.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  25.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (445:28): [True: 21.5k, False: 4.30k]
  ------------------
  446|  21.5k|        PyObject *tmp_item, *action, *msg, *cat, *mod, *ln_obj;
  447|  21.5k|        Py_ssize_t ln;
  448|  21.5k|        int is_subclass, good_msg, good_mod;
  449|       |
  450|  21.5k|        tmp_item = PyList_GET_ITEM(filters, i);
  ------------------
  |  |   40|  21.5k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|  21.5k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  21.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  451|  21.5k|        if (!PyTuple_Check(tmp_item) || PyTuple_GET_SIZE(tmp_item) != 5) {
  ------------------
  |  |   27|  21.5k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  43.0k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
                      if (!PyTuple_Check(tmp_item) || PyTuple_GET_SIZE(tmp_item) != 5) {
  ------------------
  |  |   27|  21.5k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  21.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  21.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (451:13): [True: 0, False: 21.5k]
  |  Branch (451:41): [True: 0, False: 21.5k]
  ------------------
  452|      0|            PyErr_Format(PyExc_ValueError,
  453|      0|                         "warnings.%s item %zd isn't a 5-tuple", list_name, i);
  454|      0|            result = false;
  455|      0|            break;
  456|      0|        }
  457|       |
  458|       |        /* Python code: action, msg, cat, mod, ln = item */
  459|  21.5k|        Py_INCREF(tmp_item);
  ------------------
  |  |  310|  21.5k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  21.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  21.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  460|  21.5k|        action = PyTuple_GET_ITEM(tmp_item, 0);
  ------------------
  |  |   29|  21.5k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  21.5k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  21.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  461|  21.5k|        msg = PyTuple_GET_ITEM(tmp_item, 1);
  ------------------
  |  |   29|  21.5k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  21.5k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  21.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  462|  21.5k|        cat = PyTuple_GET_ITEM(tmp_item, 2);
  ------------------
  |  |   29|  21.5k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  21.5k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  21.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  463|  21.5k|        mod = PyTuple_GET_ITEM(tmp_item, 3);
  ------------------
  |  |   29|  21.5k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  21.5k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  21.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  464|  21.5k|        ln_obj = PyTuple_GET_ITEM(tmp_item, 4);
  ------------------
  |  |   29|  21.5k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  21.5k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  21.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  465|       |
  466|  21.5k|        if (!PyUnicode_Check(action)) {
  ------------------
  |  |  103|  21.5k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  21.5k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (466:13): [True: 0, False: 21.5k]
  ------------------
  467|      0|            PyErr_Format(PyExc_TypeError,
  468|      0|                         "action must be a string, not '%.200s'",
  469|      0|                         Py_TYPE(action)->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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  470|      0|            Py_DECREF(tmp_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  471|      0|            result = false;
  472|      0|            break;
  473|      0|        }
  474|       |
  475|  21.5k|        good_msg = check_matched(interp, msg, text, NULL);
  476|  21.5k|        if (good_msg == -1) {
  ------------------
  |  Branch (476:13): [True: 0, False: 21.5k]
  ------------------
  477|      0|            Py_DECREF(tmp_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  478|      0|            result = false;
  479|      0|            break;
  480|      0|        }
  481|       |
  482|  21.5k|        good_mod = check_matched(interp, mod, module, filename);
  483|  21.5k|        if (good_mod == -1) {
  ------------------
  |  Branch (483:13): [True: 0, False: 21.5k]
  ------------------
  484|      0|            Py_DECREF(tmp_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  485|      0|            result = false;
  486|      0|            break;
  487|      0|        }
  488|       |
  489|  21.5k|        is_subclass = PyObject_IsSubclass(category, cat);
  490|  21.5k|        if (is_subclass == -1) {
  ------------------
  |  Branch (490:13): [True: 0, False: 21.5k]
  ------------------
  491|      0|            Py_DECREF(tmp_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  492|      0|            result = false;
  493|      0|            break;
  494|      0|        }
  495|       |
  496|  21.5k|        ln = PyLong_AsSsize_t(ln_obj);
  497|  21.5k|        if (ln == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (497:13): [True: 0, False: 21.5k]
  |  Branch (497:25): [True: 0, False: 0]
  ------------------
  498|      0|            Py_DECREF(tmp_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  499|      0|            result = false;
  500|      0|            break;
  501|      0|        }
  502|       |
  503|  21.5k|        if (good_msg && is_subclass && good_mod && (ln == 0 || lineno == ln)) {
  ------------------
  |  Branch (503:13): [True: 21.5k, False: 0]
  |  Branch (503:25): [True: 0, False: 21.5k]
  |  Branch (503:40): [True: 0, False: 0]
  |  Branch (503:53): [True: 0, False: 0]
  |  Branch (503:64): [True: 0, False: 0]
  ------------------
  504|      0|            *item = tmp_item;
  505|      0|            *matched_action = action;
  506|      0|            result = true;
  507|      0|            break;
  508|      0|        }
  509|       |
  510|  21.5k|        Py_DECREF(tmp_item);
  ------------------
  |  |  430|  21.5k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  21.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  21.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  511|  21.5k|    }
  512|  4.30k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  4.30k|    }
  ------------------
  513|  4.30k|    return result;
  514|  4.30k|}
_warnings.c:check_matched:
  176|  43.0k|{
  177|  43.0k|    PyObject *result;
  178|  43.0k|    int rc;
  179|       |
  180|       |    /* A 'None' filter always matches */
  181|  43.0k|    if (obj == Py_None)
  ------------------
  |  |  616|  43.0k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (181:9): [True: 38.7k, False: 4.30k]
  ------------------
  182|  38.7k|        return 1;
  183|       |
  184|       |    /* An internal plain text default filter must match exactly */
  185|  4.30k|    if (PyUnicode_CheckExact(obj)) {
  ------------------
  |  |  104|  4.30k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  4.30k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 4.30k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  186|  4.30k|        if (arg == NULL) {
  ------------------
  |  Branch (186:13): [True: 0, False: 4.30k]
  ------------------
  187|      0|            return 0;
  188|      0|        }
  189|  4.30k|        int cmp_result = PyUnicode_Compare(obj, arg);
  190|  4.30k|        if (cmp_result == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (190:13): [True: 4.30k, False: 0]
  |  Branch (190:33): [True: 0, False: 4.30k]
  ------------------
  191|      0|            return -1;
  192|      0|        }
  193|  4.30k|        return !cmp_result;
  194|  4.30k|    }
  195|       |
  196|       |    /* Otherwise assume a regex filter and call its match() method */
  197|      0|    if (arg != NULL) {
  ------------------
  |  Branch (197:9): [True: 0, False: 0]
  ------------------
  198|      0|        result = PyObject_CallMethodOneArg(obj, &_Py_ID(match), arg);
  ------------------
  |  |  915|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  199|      0|    }
  200|      0|    else {
  201|      0|        PyObject *match = PyImport_ImportModuleAttrString("_py_warnings", "_match_filename");
  202|      0|        if (match == NULL) {
  ------------------
  |  Branch (202:13): [True: 0, False: 0]
  ------------------
  203|      0|            return -1;
  204|      0|        }
  205|      0|        result = PyObject_CallFunctionObjArgs(match, obj, arg2, NULL);
  206|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  207|      0|    }
  208|      0|    if (result == NULL)
  ------------------
  |  Branch (208:9): [True: 0, False: 0]
  ------------------
  209|      0|        return -1;
  210|      0|    rc = PyObject_IsTrue(result);
  211|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  212|      0|    return rc;
  213|      0|}
_warnings.c:get_warnings_filters:
  321|  4.30k|{
  322|  4.30k|    WarningsState *st = warnings_get_state(interp);
  323|  4.30k|    PyObject *warnings_filters = GET_WARNINGS_ATTR(interp, filters, 0);
  ------------------
  |  |  216|  4.30k|    get_warnings_attr(interp, &_Py_ID(ATTR), try_import)
  |  |  ------------------
  |  |  |  |  915|  4.30k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|  4.30k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|  4.30k|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  324|  4.30k|    if (warnings_filters == NULL) {
  ------------------
  |  Branch (324:9): [True: 0, False: 4.30k]
  ------------------
  325|      0|        if (PyErr_Occurred())
  ------------------
  |  Branch (325:13): [True: 0, False: 0]
  ------------------
  326|      0|            return NULL;
  327|      0|    }
  328|  4.30k|    else {
  329|  4.30k|        Py_SETREF(st->filters, warnings_filters);
  ------------------
  |  |  352|  4.30k|    do { \
  |  |  353|  4.30k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  4.30k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|  4.30k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  4.30k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|  4.30k|        *_tmp_dst_ptr = (src); \
  |  |  356|  4.30k|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|  4.30k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|  4.30k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 4.30k]
  |  |  ------------------
  ------------------
  330|  4.30k|    }
  331|       |
  332|  4.30k|    PyObject *filters = st->filters;
  333|  4.30k|    if (filters == NULL || !PyList_Check(filters)) {
  ------------------
  |  |   25|  4.30k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.30k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (333:9): [True: 0, False: 4.30k]
  |  Branch (333:28): [True: 0, False: 4.30k]
  ------------------
  334|      0|        PyErr_SetString(PyExc_ValueError,
  335|      0|                        MODULE_NAME ".filters must be a list");
  ------------------
  |  |   17|      0|#define MODULE_NAME "_warnings"
  ------------------
  336|      0|        return NULL;
  337|      0|    }
  338|  4.30k|    return filters;
  339|  4.30k|}
_warnings.c:get_default_action:
  408|  4.30k|{
  409|  4.30k|    WarningsState *st = warnings_get_state(interp);
  410|  4.30k|    assert(st != NULL);
  411|       |
  412|  4.30k|    assert(warnings_lock_held(st));
  413|       |
  414|  4.30k|    PyObject *default_action = GET_WARNINGS_ATTR(interp, defaultaction, 0);
  ------------------
  |  |  216|  4.30k|    get_warnings_attr(interp, &_Py_ID(ATTR), try_import)
  |  |  ------------------
  |  |  |  |  915|  4.30k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|  4.30k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|  4.30k|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  415|  4.30k|    if (default_action == NULL) {
  ------------------
  |  Branch (415:9): [True: 0, False: 4.30k]
  ------------------
  416|      0|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (416:13): [True: 0, False: 0]
  ------------------
  417|      0|            return NULL;
  418|      0|        }
  419|      0|        assert(st->default_action);
  420|      0|        return st->default_action;
  421|      0|    }
  422|  4.30k|    if (!PyUnicode_Check(default_action)) {
  ------------------
  |  |  103|  4.30k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.30k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (422:9): [True: 0, False: 4.30k]
  ------------------
  423|      0|        PyErr_Format(PyExc_TypeError,
  424|      0|                     MODULE_NAME ".defaultaction must be a string, "
  ------------------
  |  |   17|      0|#define MODULE_NAME "_warnings"
  ------------------
  425|      0|                     "not '%.200s'",
  426|      0|                     Py_TYPE(default_action)->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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  427|      0|        Py_DECREF(default_action);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) 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|        return NULL;
  429|      0|    }
  430|  4.30k|    Py_SETREF(st->default_action, default_action);
  ------------------
  |  |  352|  4.30k|    do { \
  |  |  353|  4.30k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  4.30k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|  4.30k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  4.30k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|  4.30k|        *_tmp_dst_ptr = (src); \
  |  |  356|  4.30k|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|  4.30k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|  4.30k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 4.30k]
  |  |  ------------------
  ------------------
  431|  4.30k|    return default_action;
  432|  4.30k|}
_warnings.c:call_show_warning:
  720|  4.30k|{
  721|  4.30k|    PyObject *show_fn, *msg, *res, *warnmsg_cls = NULL;
  722|  4.30k|    PyInterpreterState *interp = tstate->interp;
  723|       |
  724|       |    /* The Python implementation is able to log the traceback where the source
  725|       |       was allocated, whereas the C implementation doesn't. */
  726|  4.30k|    show_fn = GET_WARNINGS_ATTR(interp, _showwarnmsg, 1);
  ------------------
  |  |  216|  4.30k|    get_warnings_attr(interp, &_Py_ID(ATTR), try_import)
  |  |  ------------------
  |  |  |  |  915|  4.30k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|  4.30k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|  4.30k|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|  4.30k|    if (show_fn == NULL) {
  ------------------
  |  Branch (727:9): [True: 0, False: 4.30k]
  ------------------
  728|      0|        if (PyErr_Occurred())
  ------------------
  |  Branch (728:13): [True: 0, False: 0]
  ------------------
  729|      0|            return -1;
  730|      0|        show_warning(tstate, filename, lineno, text, category, sourceline);
  731|      0|        return 0;
  732|      0|    }
  733|       |
  734|  4.30k|    if (!PyCallable_Check(show_fn)) {
  ------------------
  |  Branch (734:9): [True: 0, False: 4.30k]
  ------------------
  735|      0|        PyErr_SetString(PyExc_TypeError,
  736|      0|                "warnings._showwarnmsg() must be set to a callable");
  737|      0|        goto error;
  738|      0|    }
  739|       |
  740|  4.30k|    warnmsg_cls = GET_WARNINGS_ATTR(interp, WarningMessage, 0);
  ------------------
  |  |  216|  4.30k|    get_warnings_attr(interp, &_Py_ID(ATTR), try_import)
  |  |  ------------------
  |  |  |  |  915|  4.30k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|  4.30k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|  4.30k|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  741|  4.30k|    if (warnmsg_cls == NULL) {
  ------------------
  |  Branch (741:9): [True: 0, False: 4.30k]
  ------------------
  742|      0|        if (!PyErr_Occurred()) {
  ------------------
  |  Branch (742:13): [True: 0, False: 0]
  ------------------
  743|      0|            PyErr_SetString(PyExc_RuntimeError,
  744|      0|                    "unable to get warnings.WarningMessage");
  745|      0|        }
  746|      0|        goto error;
  747|      0|    }
  748|       |
  749|  4.30k|    msg = PyObject_CallFunctionObjArgs(warnmsg_cls, message, category,
  750|  4.30k|            filename, lineno_obj, Py_None, Py_None,
  ------------------
  |  |  616|  4.30k|#  define Py_None (&_Py_NoneStruct)
  ------------------
                          filename, lineno_obj, Py_None, Py_None,
  ------------------
  |  |  616|  4.30k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  751|  4.30k|            source ? source : Py_None, module,
  ------------------
  |  |  616|  4.30k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (751:13): [True: 0, False: 4.30k]
  ------------------
  752|  4.30k|            NULL);
  753|  4.30k|    Py_DECREF(warnmsg_cls);
  ------------------
  |  |  430|  4.30k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  754|  4.30k|    if (msg == NULL)
  ------------------
  |  Branch (754:9): [True: 0, False: 4.30k]
  ------------------
  755|      0|        goto error;
  756|       |
  757|  4.30k|    res = PyObject_CallOneArg(show_fn, msg);
  758|  4.30k|    Py_DECREF(show_fn);
  ------------------
  |  |  430|  4.30k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  759|  4.30k|    Py_DECREF(msg);
  ------------------
  |  |  430|  4.30k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  760|       |
  761|  4.30k|    if (res == NULL)
  ------------------
  |  Branch (761:9): [True: 0, False: 4.30k]
  ------------------
  762|      0|        return -1;
  763|       |
  764|  4.30k|    Py_DECREF(res);
  ------------------
  |  |  430|  4.30k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  765|  4.30k|    return 0;
  766|       |
  767|      0|error:
  768|      0|    Py_XDECREF(show_fn);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  769|      0|    return -1;
  770|  4.30k|}
_warnings.c:warnings_unlock:
  267|  28.9k|{
  268|  28.9k|    WarningsState *st = warnings_get_state(interp);
  269|       |    assert(st != NULL);
  270|  28.9k|    return _PyRecursiveMutex_TryUnlock(&st->lock);
  271|  28.9k|}
_warnings.c:get_warnings_attr:
  224|  17.2k|{
  225|  17.2k|    PyObject *warnings_module, *obj;
  226|       |
  227|       |    /* don't try to import after the start of the Python finallization */
  228|  17.2k|    if (try_import && !_Py_IsInterpreterFinalizing(interp)) {
  ------------------
  |  Branch (228:9): [True: 4.30k, False: 12.9k]
  |  Branch (228:23): [True: 4.30k, False: 0]
  ------------------
  229|  4.30k|        warnings_module = PyImport_Import(&_Py_ID(warnings));
  ------------------
  |  |  915|  4.30k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.30k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.30k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  230|  4.30k|        if (warnings_module == NULL) {
  ------------------
  |  Branch (230:13): [True: 0, False: 4.30k]
  ------------------
  231|       |            /* Fallback to the C implementation if we cannot get
  232|       |               the Python implementation */
  233|      0|            if (PyErr_ExceptionMatches(PyExc_ImportError)) {
  ------------------
  |  Branch (233:17): [True: 0, False: 0]
  ------------------
  234|      0|                PyErr_Clear();
  235|      0|            }
  236|      0|            return NULL;
  237|      0|        }
  238|  4.30k|    }
  239|  12.9k|    else {
  240|       |        /* if we're so late into Python finalization that the module dict is
  241|       |           gone, then we can't even use PyImport_GetModule without triggering
  242|       |           an interpreter abort.
  243|       |        */
  244|  12.9k|        if (!_PyImport_GetModules(interp)) {
  ------------------
  |  Branch (244:13): [True: 0, False: 12.9k]
  ------------------
  245|      0|            return NULL;
  246|      0|        }
  247|  12.9k|        warnings_module = PyImport_GetModule(&_Py_ID(warnings));
  ------------------
  |  |  915|  12.9k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  12.9k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  12.9k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  248|  12.9k|        if (warnings_module == NULL)
  ------------------
  |  Branch (248:13): [True: 0, False: 12.9k]
  ------------------
  249|      0|            return NULL;
  250|  12.9k|    }
  251|       |
  252|  17.2k|    (void)PyObject_GetOptionalAttr(warnings_module, attr, &obj);
  253|  17.2k|    Py_DECREF(warnings_module);
  ------------------
  |  |  430|  17.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  17.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  254|  17.2k|    return obj;
  255|  17.2k|}
_warnings.c:warnings_warn_impl:
 1170|  4.30k|{
 1171|  4.30k|    category = get_category(message, category);
 1172|  4.30k|    if (category == NULL)
  ------------------
  |  Branch (1172:9): [True: 0, False: 4.30k]
  ------------------
 1173|      0|        return NULL;
 1174|  4.30k|    if (skip_file_prefixes) {
  ------------------
  |  Branch (1174:9): [True: 0, False: 4.30k]
  ------------------
 1175|      0|        if (PyTuple_GET_SIZE(skip_file_prefixes) > 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 (1175:13): [True: 0, False: 0]
  ------------------
 1176|      0|            if (stacklevel < 2) {
  ------------------
  |  Branch (1176:17): [True: 0, False: 0]
  ------------------
 1177|      0|                stacklevel = 2;
 1178|      0|            }
 1179|      0|        } else {
 1180|      0|            Py_DECREF((PyObject *)skip_file_prefixes);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1181|       |            skip_file_prefixes = NULL;
 1182|      0|        }
 1183|      0|    }
 1184|  4.30k|    return do_warn(message, category, stacklevel, source, skip_file_prefixes);
 1185|  4.30k|}
_warnings.c:get_category:
 1093|  4.30k|{
 1094|  4.30k|    if (PyObject_TypeCheck(message, (PyTypeObject *)PyExc_Warning)) {
  ------------------
  |  |  378|  4.30k|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (378:40): [True: 0, False: 4.30k]
  |  |  ------------------
  ------------------
 1095|       |        /* Ignore the category argument. */
 1096|      0|        return (PyObject*)Py_TYPE(message);
  ------------------
  |  |  213|      0|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1097|      0|    }
 1098|  4.30k|    if (category == NULL || category == Py_None) {
  ------------------
  |  |  616|  4.30k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1098:9): [True: 0, False: 4.30k]
  |  Branch (1098:29): [True: 4.30k, False: 0]
  ------------------
 1099|  4.30k|        return PyExc_UserWarning;
 1100|  4.30k|    }
 1101|       |
 1102|       |    /* Validate category. */
 1103|      0|    if (!PyType_Check(category)) {
  ------------------
  |  |  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 (1103:9): [True: 0, False: 0]
  ------------------
 1104|      0|        PyErr_Format(PyExc_TypeError,
 1105|      0|                     "category must be a Warning subclass, not '%T'",
 1106|      0|                     category);
 1107|      0|        return NULL;
 1108|      0|    }
 1109|      0|    if (!PyType_IsSubtype((PyTypeObject *)category, (PyTypeObject *)PyExc_Warning)) {
  ------------------
  |  Branch (1109:9): [True: 0, False: 0]
  ------------------
 1110|      0|        PyErr_Format(PyExc_TypeError,
 1111|      0|                     "category must be a Warning subclass, not class '%N'",
 1112|      0|                     (PyTypeObject *)category);
 1113|      0|        return NULL;
 1114|      0|    }
 1115|       |
 1116|      0|    return category;
 1117|      0|}
_warnings.c:warnings_filters_mutated_lock_held_impl:
 1304|  24.5k|{
 1305|  24.5k|    PyInterpreterState *interp = get_current_interp();
 1306|  24.5k|    if (interp == NULL) {
  ------------------
  |  Branch (1306:9): [True: 0, False: 24.5k]
  ------------------
 1307|      0|        return NULL;
 1308|      0|    }
 1309|       |
 1310|  24.5k|    WarningsState *st = warnings_get_state(interp);
 1311|  24.5k|    assert(st != NULL);
 1312|       |
 1313|       |    // Note that the lock must be held by the caller.
 1314|  24.5k|    if (!warnings_lock_held(st)) {
  ------------------
  |  Branch (1314:9): [True: 0, False: 24.5k]
  ------------------
 1315|      0|        PyErr_SetString(PyExc_RuntimeError, "warnings lock is not held");
 1316|      0|        return NULL;
 1317|      0|    }
 1318|       |
 1319|  24.5k|    st->filters_version++;
 1320|       |
 1321|  24.5k|    Py_RETURN_NONE;
  ------------------
  |  |  628|  24.5k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  24.5k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1322|  24.5k|}
_warnings.c:get_current_interp:
   42|  73.7k|{
   43|  73.7k|    PyInterpreterState *interp = _PyInterpreterState_GET();
   44|  73.7k|    return check_interp(interp) ? interp : NULL;
  ------------------
  |  Branch (44:12): [True: 73.7k, False: 0]
  ------------------
   45|  73.7k|}
_warnings.c:warnings_lock_held:
  275|  24.5k|{
  276|  24.5k|    return PyMutex_IsLocked(&st->lock.mutex);
  ------------------
  |  |   78|  24.5k|#define PyMutex_IsLocked _PyMutex_IsLocked
  ------------------
  277|  24.5k|}
_warnings.c:warnings_acquire_lock_impl:
  349|  24.5k|{
  350|  24.5k|    PyInterpreterState *interp = get_current_interp();
  351|  24.5k|    if (interp == NULL) {
  ------------------
  |  Branch (351:9): [True: 0, False: 24.5k]
  ------------------
  352|      0|        return NULL;
  353|      0|    }
  354|  24.5k|    warnings_lock(interp);
  355|  24.5k|    Py_RETURN_NONE;
  ------------------
  |  |  628|  24.5k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  24.5k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  356|  24.5k|}
_warnings.c:warnings_release_lock_impl:
  366|  24.5k|{
  367|  24.5k|    PyInterpreterState *interp = get_current_interp();
  368|  24.5k|    if (interp == NULL) {
  ------------------
  |  Branch (368:9): [True: 0, False: 24.5k]
  ------------------
  369|      0|        return NULL;
  370|      0|    }
  371|  24.5k|    if (warnings_unlock(interp) < 0) {
  ------------------
  |  Branch (371:9): [True: 0, False: 24.5k]
  ------------------
  372|      0|        PyErr_SetString(PyExc_RuntimeError, "cannot release un-acquired lock");
  373|      0|        return NULL;
  374|      0|    }
  375|  24.5k|    Py_RETURN_NONE;
  ------------------
  |  |  628|  24.5k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  24.5k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  376|  24.5k|}
_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|  2.43k|{
  784|  2.43k|    if (_PyInstructionSequence_ApplyLabelMap(instrs) < 0) {
  ------------------
  |  Branch (784:9): [True: 0, False: 2.43k]
  ------------------
  785|      0|        return NULL;
  786|      0|    }
  787|  2.43k|    if (resolve_unconditional_jumps(instrs) < 0) {
  ------------------
  |  Branch (787:9): [True: 0, False: 2.43k]
  ------------------
  788|      0|        return NULL;
  789|      0|    }
  790|  2.43k|    if (resolve_jump_offsets(instrs) < 0) {
  ------------------
  |  Branch (790:9): [True: 0, False: 2.43k]
  ------------------
  791|      0|        return NULL;
  792|      0|    }
  793|  2.43k|    PyCodeObject *co = NULL;
  794|       |
  795|  2.43k|    struct assembler a;
  796|  2.43k|    int res = assemble_emit(&a, instrs, umd->u_firstlineno, const_cache);
  797|  2.43k|    if (res == SUCCESS) {
  ------------------
  |  |   17|  2.43k|#define SUCCESS 0
  ------------------
  |  Branch (797:9): [True: 2.43k, False: 0]
  ------------------
  798|  2.43k|        co = makecode(umd, &a, const_cache, consts, maxdepth, nlocalsplus,
  799|  2.43k|                      code_flags, filename);
  800|  2.43k|    }
  801|  2.43k|    assemble_free(&a);
  802|  2.43k|    return co;
  803|  2.43k|}
assemble.c:resolve_unconditional_jumps:
  751|  2.43k|{
  752|       |    /* Resolve directions of unconditional jumps */
  753|       |
  754|  96.5k|    for (int i = 0; i < instrs->s_used; i++) {
  ------------------
  |  Branch (754:21): [True: 94.1k, False: 2.43k]
  ------------------
  755|  94.1k|        instruction *instr = &instrs->s_instrs[i];
  756|  94.1k|        bool is_forward = (instr->i_oparg > i);
  757|  94.1k|        switch(instr->i_opcode) {
  758|    605|            case JUMP:
  ------------------
  |  |  248|    605|#define JUMP                                   257
  ------------------
  |  Branch (758:13): [True: 605, False: 93.5k]
  ------------------
  759|    605|                assert(is_pseudo_target(JUMP, JUMP_FORWARD));
  760|    605|                assert(is_pseudo_target(JUMP, JUMP_BACKWARD));
  761|    605|                instr->i_opcode = is_forward ? JUMP_FORWARD : JUMP_BACKWARD;
  ------------------
  |  |   89|     35|#define JUMP_FORWARD                            76
  ------------------
                              instr->i_opcode = is_forward ? JUMP_FORWARD : JUMP_BACKWARD;
  ------------------
  |  |   87|  1.17k|#define JUMP_BACKWARD                           74
  ------------------
  |  Branch (761:35): [True: 35, False: 570]
  ------------------
  762|    605|                break;
  763|    752|            case JUMP_NO_INTERRUPT:
  ------------------
  |  |  251|    752|#define JUMP_NO_INTERRUPT                      260
  ------------------
  |  Branch (763:13): [True: 752, False: 93.3k]
  ------------------
  764|    752|                assert(is_pseudo_target(JUMP_NO_INTERRUPT, JUMP_FORWARD));
  765|    752|                assert(is_pseudo_target(JUMP_NO_INTERRUPT, JUMP_BACKWARD_NO_INTERRUPT));
  766|    752|                instr->i_opcode = is_forward ?
  ------------------
  |  Branch (766:35): [True: 361, False: 391]
  ------------------
  767|    391|                    JUMP_FORWARD : JUMP_BACKWARD_NO_INTERRUPT;
  ------------------
  |  |   89|    361|#define JUMP_FORWARD                            76
  ------------------
                                  JUMP_FORWARD : JUMP_BACKWARD_NO_INTERRUPT;
  ------------------
  |  |   88|  1.14k|#define JUMP_BACKWARD_NO_INTERRUPT              75
  ------------------
  768|    752|                break;
  769|  92.7k|            default:
  ------------------
  |  Branch (769:13): [True: 92.7k, False: 1.35k]
  ------------------
  770|  92.7k|                if (OPCODE_HAS_JUMP(instr->i_opcode) &&
  ------------------
  |  | 1077|   185k|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  ------------------
  |  |  |  | 1058|  92.7k|#define HAS_JUMP_FLAG (8)
  |  |  ------------------
  |  |  |  Branch (1077:29): [True: 3.94k, False: 88.8k]
  |  |  ------------------
  ------------------
  771|  3.94k|                    IS_PSEUDO_INSTR(instr->i_opcode)) {
  ------------------
  |  |   20|  3.94k|#define IS_PSEUDO_INSTR(OP)  ( \
  |  |   21|  3.94k|    ((OP) == LOAD_CLOSURE) || \
  |  |  ------------------
  |  |  |  |  252|  3.94k|#define LOAD_CLOSURE                           261
  |  |  ------------------
  |  |  |  Branch (21:5): [True: 0, False: 3.94k]
  |  |  ------------------
  |  |   22|  3.94k|    ((OP) == STORE_FAST_MAYBE_NULL) || \
  |  |  ------------------
  |  |  |  |  257|  3.94k|#define STORE_FAST_MAYBE_NULL                  266
  |  |  ------------------
  |  |  |  Branch (22:5): [True: 0, False: 3.94k]
  |  |  ------------------
  |  |   23|  3.94k|    ((OP) == ANNOTATIONS_PLACEHOLDER) || \
  |  |  ------------------
  |  |  |  |  247|  3.94k|#define ANNOTATIONS_PLACEHOLDER                256
  |  |  ------------------
  |  |  |  Branch (23:5): [True: 0, False: 3.94k]
  |  |  ------------------
  |  |   24|  3.94k|    ((OP) == JUMP) || \
  |  |  ------------------
  |  |  |  |  248|  3.94k|#define JUMP                                   257
  |  |  ------------------
  |  |  |  Branch (24:5): [True: 0, False: 3.94k]
  |  |  ------------------
  |  |   25|  3.94k|    ((OP) == JUMP_NO_INTERRUPT) || \
  |  |  ------------------
  |  |  |  |  251|  3.94k|#define JUMP_NO_INTERRUPT                      260
  |  |  ------------------
  |  |  |  Branch (25:5): [True: 0, False: 3.94k]
  |  |  ------------------
  |  |   26|  3.94k|    ((OP) == JUMP_IF_FALSE) || \
  |  |  ------------------
  |  |  |  |  249|  3.94k|#define JUMP_IF_FALSE                          258
  |  |  ------------------
  |  |  |  Branch (26:5): [True: 0, False: 3.94k]
  |  |  ------------------
  |  |   27|  3.94k|    ((OP) == JUMP_IF_TRUE) || \
  |  |  ------------------
  |  |  |  |  250|  3.94k|#define JUMP_IF_TRUE                           259
  |  |  ------------------
  |  |  |  Branch (27:5): [True: 0, False: 3.94k]
  |  |  ------------------
  |  |   28|  3.94k|    ((OP) == SETUP_FINALLY) || \
  |  |  ------------------
  |  |  |  |  255|  3.94k|#define SETUP_FINALLY                          264
  |  |  ------------------
  |  |  |  Branch (28:5): [True: 0, False: 3.94k]
  |  |  ------------------
  |  |   29|  3.94k|    ((OP) == SETUP_CLEANUP) || \
  |  |  ------------------
  |  |  |  |  254|  3.94k|#define SETUP_CLEANUP                          263
  |  |  ------------------
  |  |  |  Branch (29:5): [True: 0, False: 3.94k]
  |  |  ------------------
  |  |   30|  3.94k|    ((OP) == SETUP_WITH) || \
  |  |  ------------------
  |  |  |  |  256|  3.94k|#define SETUP_WITH                             265
  |  |  ------------------
  |  |  |  Branch (30:5): [True: 0, False: 3.94k]
  |  |  ------------------
  |  |   31|  3.94k|    ((OP) == POP_BLOCK) || \
  |  |  ------------------
  |  |  |  |  253|  3.94k|#define POP_BLOCK                              262
  |  |  ------------------
  |  |  |  Branch (31:5): [True: 0, False: 3.94k]
  |  |  ------------------
  |  |   32|  3.94k|    0)
  |  |  ------------------
  |  |  |  Branch (32:5): [Folded, False: 0]
  |  |  ------------------
  ------------------
  772|      0|                    Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  773|      0|                }
  774|  94.1k|        }
  775|  94.1k|    }
  776|  2.43k|    return SUCCESS;
  ------------------
  |  |   17|  2.43k|#define SUCCESS 0
  ------------------
  777|  2.43k|}
assemble.c:resolve_jump_offsets:
  677|  2.43k|{
  678|       |    /* Compute the size of each instruction and fixup jump args.
  679|       |     * Replace instruction index with position in bytecode.
  680|       |     */
  681|       |
  682|  96.5k|    for (int i = 0; i < instrs->s_used; i++) {
  ------------------
  |  Branch (682:21): [True: 94.1k, False: 2.43k]
  ------------------
  683|  94.1k|        instruction *instr = &instrs->s_instrs[i];
  684|  94.1k|        if (OPCODE_HAS_JUMP(instr->i_opcode)) {
  ------------------
  |  | 1077|  94.1k|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  ------------------
  |  |  |  | 1058|  94.1k|#define HAS_JUMP_FLAG (8)
  |  |  ------------------
  |  |  |  Branch (1077:29): [True: 5.30k, False: 88.8k]
  |  |  ------------------
  ------------------
  685|  5.30k|            instr->i_target = instr->i_oparg;
  686|  5.30k|        }
  687|  94.1k|    }
  688|       |
  689|  2.43k|    int extended_arg_recompile;
  690|       |
  691|  2.48k|    do {
  692|  2.48k|        int totsize = 0;
  693|   110k|        for (int i = 0; i < instrs->s_used; i++) {
  ------------------
  |  Branch (693:25): [True: 108k, False: 2.48k]
  ------------------
  694|   108k|            instruction *instr = &instrs->s_instrs[i];
  695|   108k|            instr->i_offset = totsize;
  696|   108k|            int isize = instr_size(instr);
  697|   108k|            totsize += isize;
  698|   108k|        }
  699|  2.48k|        extended_arg_recompile = 0;
  700|       |
  701|  2.48k|        int offset = 0;
  702|   110k|        for (int i = 0; i < instrs->s_used; i++) {
  ------------------
  |  Branch (702:25): [True: 108k, False: 2.48k]
  ------------------
  703|   108k|            instruction *instr = &instrs->s_instrs[i];
  704|   108k|            int isize = instr_size(instr);
  705|       |            /* jump offsets are computed relative to
  706|       |             * the instruction pointer after fetching
  707|       |             * the jump instruction.
  708|       |             */
  709|   108k|            offset += isize;
  710|   108k|            if (OPCODE_HAS_JUMP(instr->i_opcode)) {
  ------------------
  |  | 1077|   108k|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  ------------------
  |  |  |  | 1058|   108k|#define HAS_JUMP_FLAG (8)
  |  |  ------------------
  |  |  |  Branch (1077:29): [True: 6.50k, False: 101k]
  |  |  ------------------
  ------------------
  711|  6.50k|                instruction *target = &instrs->s_instrs[instr->i_target];
  712|  6.50k|                instr->i_oparg = target->i_offset;
  713|  6.50k|                if (instr->i_opcode == END_ASYNC_FOR) {
  ------------------
  |  |   79|  6.50k|#define END_ASYNC_FOR                           66
  ------------------
  |  Branch (713:21): [True: 0, False: 6.50k]
  ------------------
  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|  6.50k|                else if (instr->i_oparg < offset) {
  ------------------
  |  Branch (718:26): [True: 1.20k, False: 5.30k]
  ------------------
  719|  1.20k|                    assert(IS_BACKWARDS_JUMP_OPCODE(instr->i_opcode));
  720|  1.20k|                    instr->i_oparg = offset - instr->i_oparg;
  721|  1.20k|                }
  722|  5.30k|                else {
  723|  5.30k|                    assert(!IS_BACKWARDS_JUMP_OPCODE(instr->i_opcode));
  724|  5.30k|                    instr->i_oparg = instr->i_oparg - offset;
  725|  5.30k|                }
  726|  6.50k|                if (instr_size(instr) != isize) {
  ------------------
  |  Branch (726:21): [True: 342, False: 6.16k]
  ------------------
  727|    342|                    extended_arg_recompile = 1;
  728|    342|                }
  729|  6.50k|            }
  730|   108k|        }
  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|  2.48k|    } while (extended_arg_recompile);
  ------------------
  |  Branch (745:14): [True: 50, False: 2.43k]
  ------------------
  746|  2.43k|    return SUCCESS;
  ------------------
  |  |   17|  2.43k|#define SUCCESS 0
  ------------------
  747|  2.43k|}
assemble.c:instr_size:
   40|   505k|{
   41|   505k|    int opcode = instr->i_opcode;
   42|   505k|    int oparg = instr->i_oparg;
   43|   505k|    assert(!IS_PSEUDO_INSTR(opcode));
   44|       |    assert(OPCODE_HAS_ARG(opcode) || oparg == 0);
   45|   505k|    int extended_args = (0xFFFFFF < oparg) + (0xFFFF < oparg) + (0xFF < oparg);
   46|   505k|    int caches = _PyOpcode_Caches[opcode];
   47|   505k|    return extended_args + 1 + caches;
   48|   505k|}
assemble.c:assemble_emit:
  435|  2.43k|{
  436|  2.43k|    RETURN_IF_ERROR(assemble_init(a, first_lineno));
  ------------------
  |  |   21|  2.43k|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 2.43k]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  437|       |
  438|  96.5k|    for (int i = 0; i < instrs->s_used; i++) {
  ------------------
  |  Branch (438:21): [True: 94.1k, False: 2.43k]
  ------------------
  439|  94.1k|        instruction *instr = &instrs->s_instrs[i];
  440|  94.1k|        RETURN_IF_ERROR(assemble_emit_instr(a, instr));
  ------------------
  |  |   21|  94.1k|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 94.1k]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  441|  94.1k|    }
  442|       |
  443|  2.43k|    RETURN_IF_ERROR(assemble_location_info(a, instrs, a->a_lineno));
  ------------------
  |  |   21|  2.43k|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 2.43k]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  444|       |
  445|  2.43k|    RETURN_IF_ERROR(assemble_exception_table(a, instrs));
  ------------------
  |  |   21|  2.43k|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 2.43k]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  446|       |
  447|  2.43k|    RETURN_IF_ERROR(_PyBytes_Resize(&a->a_except_table, a->a_except_table_off));
  ------------------
  |  |   21|  2.43k|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 2.43k]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  448|  2.43k|    RETURN_IF_ERROR(_PyCompile_ConstCacheMergeOne(const_cache, &a->a_except_table));
  ------------------
  |  |   21|  2.43k|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 2.43k]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  449|       |
  450|  2.43k|    RETURN_IF_ERROR(_PyBytes_Resize(&a->a_linetable, a->a_location_off));
  ------------------
  |  |   21|  2.43k|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 2.43k]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  451|  2.43k|    RETURN_IF_ERROR(_PyCompile_ConstCacheMergeOne(const_cache, &a->a_linetable));
  ------------------
  |  |   21|  2.43k|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 2.43k]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  452|       |
  453|  2.43k|    RETURN_IF_ERROR(_PyBytes_Resize(&a->a_bytecode, a->a_offset * sizeof(_Py_CODEUNIT)));
  ------------------
  |  |   21|  2.43k|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 2.43k]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  454|  2.43k|    RETURN_IF_ERROR(_PyCompile_ConstCacheMergeOne(const_cache, &a->a_bytecode));
  ------------------
  |  |   21|  2.43k|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 2.43k]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  455|  2.43k|    return SUCCESS;
  ------------------
  |  |   17|  2.43k|#define SUCCESS 0
  ------------------
  456|  2.43k|}
assemble.c:assemble_init:
   63|  2.43k|{
   64|  2.43k|    memset(a, 0, sizeof(struct assembler));
   65|  2.43k|    a->a_lineno = firstlineno;
   66|  2.43k|    a->a_linetable = NULL;
   67|  2.43k|    a->a_location_off = 0;
   68|  2.43k|    a->a_except_table = NULL;
   69|  2.43k|    a->a_bytecode = PyBytes_FromStringAndSize(NULL, DEFAULT_CODE_SIZE);
  ------------------
  |  |   11|  2.43k|#define DEFAULT_CODE_SIZE 128
  ------------------
   70|  2.43k|    if (a->a_bytecode == NULL) {
  ------------------
  |  Branch (70:9): [True: 0, False: 2.43k]
  ------------------
   71|      0|        goto error;
   72|      0|    }
   73|  2.43k|    a->a_linetable = PyBytes_FromStringAndSize(NULL, DEFAULT_CNOTAB_SIZE);
  ------------------
  |  |   13|  2.43k|#define DEFAULT_CNOTAB_SIZE 32
  ------------------
   74|  2.43k|    if (a->a_linetable == NULL) {
  ------------------
  |  Branch (74:9): [True: 0, False: 2.43k]
  ------------------
   75|      0|        goto error;
   76|      0|    }
   77|  2.43k|    a->a_except_table = PyBytes_FromStringAndSize(NULL, DEFAULT_LNOTAB_SIZE);
  ------------------
  |  |   12|  2.43k|#define DEFAULT_LNOTAB_SIZE 16
  ------------------
   78|  2.43k|    if (a->a_except_table == NULL) {
  ------------------
  |  Branch (78:9): [True: 0, False: 2.43k]
  ------------------
   79|      0|        goto error;
   80|      0|    }
   81|  2.43k|    return SUCCESS;
  ------------------
  |  |   17|  2.43k|#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|  2.43k|}
assemble.c:assemble_emit_instr:
  414|  94.1k|{
  415|  94.1k|    Py_ssize_t len = PyBytes_GET_SIZE(a->a_bytecode);
  ------------------
  |  |   33|  94.1k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  94.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  94.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  416|  94.1k|    _Py_CODEUNIT *code;
  417|       |
  418|  94.1k|    int size = instr_size(instr);
  419|  94.1k|    if (a->a_offset + size >= len / (int)sizeof(_Py_CODEUNIT)) {
  ------------------
  |  Branch (419:9): [True: 1.70k, False: 92.4k]
  ------------------
  420|  1.70k|        if (len > PY_SSIZE_T_MAX / 2) {
  ------------------
  |  |  137|  1.70k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (420:13): [True: 0, False: 1.70k]
  ------------------
  421|      0|            PyErr_NoMemory();
  422|      0|            return ERROR;
  ------------------
  |  |   18|      0|#define ERROR -1
  ------------------
  423|      0|        }
  424|  1.70k|        RETURN_IF_ERROR(_PyBytes_Resize(&a->a_bytecode, len * 2));
  ------------------
  |  |   21|  1.70k|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 1.70k]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  425|  1.70k|    }
  426|  94.1k|    code = (_Py_CODEUNIT *)PyBytes_AS_STRING(a->a_bytecode) + a->a_offset;
  ------------------
  |  |   27|  94.1k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  94.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  94.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  427|  94.1k|    a->a_offset += size;
  428|  94.1k|    write_instr(code, instr, size);
  429|  94.1k|    return SUCCESS;
  ------------------
  |  |   17|  94.1k|#define SUCCESS 0
  ------------------
  430|  94.1k|}
assemble.c:write_instr:
  370|  94.1k|{
  371|  94.1k|    int opcode = instr->i_opcode;
  372|  94.1k|    assert(!IS_PSEUDO_INSTR(opcode));
  373|  94.1k|    int oparg = instr->i_oparg;
  374|  94.1k|    assert(OPCODE_HAS_ARG(opcode) || oparg == 0);
  375|  94.1k|    int caches = _PyOpcode_Caches[opcode];
  376|  94.1k|    switch (ilen - caches) {
  377|      0|        case 4:
  ------------------
  |  Branch (377:9): [True: 0, False: 94.1k]
  ------------------
  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: 94.1k]
  ------------------
  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|    146|        case 2:
  ------------------
  |  Branch (387:9): [True: 146, False: 93.9k]
  ------------------
  388|    146|            codestr->op.code = EXTENDED_ARG;
  ------------------
  |  |   80|    146|#define EXTENDED_ARG                            67
  ------------------
  389|    146|            codestr->op.arg = (oparg >> 8) & 0xFF;
  390|    146|            codestr++;
  391|    146|            _Py_FALLTHROUGH;
  ------------------
  |  |  644|    146|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  392|  94.1k|        case 1:
  ------------------
  |  Branch (392:9): [True: 93.9k, False: 146]
  ------------------
  393|  94.1k|            codestr->op.code = opcode;
  394|  94.1k|            codestr->op.arg = oparg & 0xFF;
  395|  94.1k|            codestr++;
  396|  94.1k|            break;
  397|      0|        default:
  ------------------
  |  Branch (397:9): [True: 0, False: 94.1k]
  ------------------
  398|      0|            Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  399|  94.1k|    }
  400|   224k|    while (caches--) {
  ------------------
  |  Branch (400:12): [True: 130k, False: 94.1k]
  ------------------
  401|   130k|        codestr->op.code = CACHE;
  ------------------
  |  |   13|   130k|#define CACHE                                    0
  ------------------
  402|   130k|        codestr->op.arg = 0;
  403|   130k|        codestr++;
  404|   130k|    }
  405|  94.1k|}
assemble.c:assemble_location_info:
  339|  2.43k|{
  340|  2.43k|    a->a_lineno = firstlineno;
  341|  2.43k|    location loc = NO_LOCATION;
  342|  96.5k|    for (int i = instrs->s_used-1; i >= 0; i--) {
  ------------------
  |  Branch (342:36): [True: 94.1k, False: 2.43k]
  ------------------
  343|  94.1k|        instruction *instr = &instrs->s_instrs[i];
  344|  94.1k|        if (same_location(instr->i_loc, NEXT_LOCATION)) {
  ------------------
  |  Branch (344:13): [True: 3, False: 94.1k]
  ------------------
  345|      3|            if (IS_TERMINATOR_OPCODE(instr->i_opcode)) {
  ------------------
  |  |   27|      3|        (OPCODE_HAS_JUMP(opcode) || IS_SCOPE_EXIT_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1077|      6|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1058|      3|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1077:29): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_SCOPE_EXIT_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   53|      3|        ((opcode) == RETURN_VALUE || \
  |  |  |  |  ------------------
  |  |  |  |  |  |   46|      6|#define RETURN_VALUE                            33
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (53:10): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  |   54|      3|         (opcode) == RAISE_VARARGS || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  116|      6|#define RAISE_VARARGS                          103
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (54:10): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  |   55|      3|         (opcode) == RERAISE)
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|      3|#define RERAISE                                104
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:10): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  346|      0|                instr->i_loc = NO_LOCATION;
  347|      0|            }
  348|      3|            else {
  349|      3|                assert(i < instrs->s_used-1);
  350|      3|                instr->i_loc = instr[1].i_loc;
  351|      3|            }
  352|      3|        }
  353|  94.1k|    }
  354|  2.43k|    int size = 0;
  355|  96.5k|    for (int i = 0; i < instrs->s_used; i++) {
  ------------------
  |  Branch (355:21): [True: 94.1k, False: 2.43k]
  ------------------
  356|  94.1k|        instruction *instr = &instrs->s_instrs[i];
  357|  94.1k|        if (!same_location(loc, instr->i_loc)) {
  ------------------
  |  Branch (357:13): [True: 59.1k, False: 35.0k]
  ------------------
  358|  59.1k|                RETURN_IF_ERROR(assemble_emit_location(a, loc, size));
  ------------------
  |  |   21|  59.1k|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 59.1k]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  359|  59.1k|                loc = instr->i_loc;
  360|  59.1k|                size = 0;
  361|  59.1k|        }
  362|  94.1k|        size += instr_size(instr);
  363|  94.1k|    }
  364|  2.43k|    RETURN_IF_ERROR(assemble_emit_location(a, loc, size));
  ------------------
  |  |   21|  2.43k|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 2.43k]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  365|  2.43k|    return SUCCESS;
  ------------------
  |  |   17|  2.43k|#define SUCCESS 0
  ------------------
  366|  2.43k|}
assemble.c:same_location:
   31|   188k|{
   32|   188k|    return a.lineno == b.lineno &&
  ------------------
  |  Branch (32:12): [True: 73.1k, False: 115k]
  ------------------
   33|  73.1k|           a.end_lineno == b.end_lineno &&
  ------------------
  |  Branch (33:12): [True: 71.6k, False: 1.51k]
  ------------------
   34|  71.6k|           a.col_offset == b.col_offset &&
  ------------------
  |  Branch (34:12): [True: 46.3k, False: 25.3k]
  ------------------
   35|  46.3k|           a.end_col_offset == b.end_col_offset;
  ------------------
  |  Branch (35:12): [True: 35.0k, False: 11.2k]
  ------------------
   36|   188k|}
assemble.c:assemble_emit_location:
  325|  61.5k|{
  326|  61.5k|    if (isize == 0) {
  ------------------
  |  Branch (326:9): [True: 1.77k, False: 59.7k]
  ------------------
  327|  1.77k|        return SUCCESS;
  ------------------
  |  |   17|  1.77k|#define SUCCESS 0
  ------------------
  328|  1.77k|    }
  329|  69.8k|    while (isize > 8) {
  ------------------
  |  Branch (329:12): [True: 10.0k, False: 59.7k]
  ------------------
  330|  10.0k|        RETURN_IF_ERROR(write_location_info_entry(a, loc, 8));
  ------------------
  |  |   21|  10.0k|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 10.0k]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  331|  10.0k|        isize -= 8;
  332|  10.0k|    }
  333|  59.7k|    return write_location_info_entry(a, loc, isize);
  334|  59.7k|}
assemble.c:write_location_info_entry:
  287|  69.8k|{
  288|  69.8k|    Py_ssize_t len = PyBytes_GET_SIZE(a->a_linetable);
  ------------------
  |  |   33|  69.8k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  69.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  69.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  289|  69.8k|    if (a->a_location_off + THEORETICAL_MAX_ENTRY_SIZE >= len) {
  ------------------
  |  |  282|  69.8k|#define THEORETICAL_MAX_ENTRY_SIZE 25 /* 1 + 6 + 6 + 6 + 6 */
  ------------------
  |  Branch (289:9): [True: 4.15k, False: 65.6k]
  ------------------
  290|  4.15k|        assert(len > THEORETICAL_MAX_ENTRY_SIZE);
  291|  4.15k|        RETURN_IF_ERROR(_PyBytes_Resize(&a->a_linetable, len*2));
  ------------------
  |  |   21|  4.15k|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 4.15k]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  292|  4.15k|    }
  293|  69.8k|    if (loc.lineno == NO_LOCATION.lineno) {
  ------------------
  |  Branch (293:9): [True: 1.58k, False: 68.2k]
  ------------------
  294|  1.58k|        write_location_info_none(a, isize);
  295|  1.58k|        return SUCCESS;
  ------------------
  |  |   17|  1.58k|#define SUCCESS 0
  ------------------
  296|  1.58k|    }
  297|  68.2k|    int line_delta = loc.lineno - a->a_lineno;
  298|  68.2k|    int column = loc.col_offset;
  299|  68.2k|    int end_column = loc.end_col_offset;
  300|  68.2k|    if (column < 0 || end_column < 0) {
  ------------------
  |  Branch (300:9): [True: 209, False: 68.0k]
  |  Branch (300:23): [True: 0, False: 68.0k]
  ------------------
  301|    209|        if (loc.end_lineno == loc.lineno || loc.end_lineno < 0) {
  ------------------
  |  Branch (301:13): [True: 209, False: 0]
  |  Branch (301:45): [True: 0, False: 0]
  ------------------
  302|    209|            write_location_info_no_column(a, isize, line_delta);
  303|    209|            a->a_lineno = loc.lineno;
  304|    209|            return SUCCESS;
  ------------------
  |  |   17|    209|#define SUCCESS 0
  ------------------
  305|    209|        }
  306|    209|    }
  307|  68.0k|    else if (loc.end_lineno == loc.lineno) {
  ------------------
  |  Branch (307:14): [True: 62.6k, False: 5.41k]
  ------------------
  308|  62.6k|        if (line_delta == 0 && column < 80 && end_column - column < 16 && end_column >= column) {
  ------------------
  |  Branch (308:13): [True: 48.6k, False: 13.9k]
  |  Branch (308:32): [True: 46.8k, False: 1.82k]
  |  Branch (308:47): [True: 27.7k, False: 19.1k]
  |  Branch (308:75): [True: 27.7k, False: 0]
  ------------------
  309|  27.7k|            write_location_info_short_form(a, isize, column, end_column);
  310|  27.7k|            return SUCCESS;
  ------------------
  |  |   17|  27.7k|#define SUCCESS 0
  ------------------
  311|  27.7k|        }
  312|  34.9k|        if (line_delta >= 0 && line_delta < 3 && column < 128 && end_column < 128) {
  ------------------
  |  Branch (312:13): [True: 33.9k, False: 975]
  |  Branch (312:32): [True: 32.0k, False: 1.89k]
  |  Branch (312:50): [True: 30.9k, False: 1.08k]
  |  Branch (312:66): [True: 30.3k, False: 568]
  ------------------
  313|  30.3k|            write_location_info_oneline_form(a, isize, line_delta, column, end_column);
  314|  30.3k|            a->a_lineno = loc.lineno;
  315|  30.3k|            return SUCCESS;
  ------------------
  |  |   17|  30.3k|#define SUCCESS 0
  ------------------
  316|  30.3k|        }
  317|  34.9k|    }
  318|  9.93k|    write_location_info_long_form(a, loc, isize);
  319|  9.93k|    a->a_lineno = loc.lineno;
  320|  9.93k|    return SUCCESS;
  ------------------
  |  |   17|  9.93k|#define SUCCESS 0
  ------------------
  321|  68.2k|}
assemble.c:write_location_info_none:
  271|  1.58k|{
  272|  1.58k|    write_location_first_byte(a, PY_CODE_LOCATION_INFO_NONE, length);
  273|  1.58k|}
assemble.c:write_location_first_byte:
  212|  69.8k|{
  213|  69.8k|    a->a_location_off += write_location_entry_start(
  214|  69.8k|        location_pointer(a), code, length);
  215|  69.8k|}
assemble.c:location_pointer:
  205|   109k|{
  206|   109k|    return (uint8_t *)PyBytes_AS_STRING(a->a_linetable) +
  ------------------
  |  |   27|   109k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   109k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   109k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  207|   109k|        a->a_location_off;
  208|   109k|}
assemble.c:write_location_info_no_column:
  277|    209|{
  278|    209|    write_location_first_byte(a, PY_CODE_LOCATION_INFO_NO_COLUMNS, length);
  279|    209|    write_location_signed_varint(a, line_delta);
  280|    209|}
assemble.c:write_location_signed_varint:
  227|  10.1k|{
  228|  10.1k|    uint8_t *ptr = location_pointer(a);
  229|  10.1k|    a->a_location_off += write_signed_varint(ptr, val);
  230|  10.1k|}
assemble.c:write_location_info_short_form:
  234|  27.7k|{
  235|  27.7k|    assert(length > 0 &&  length <= 8);
  236|  27.7k|    int column_low_bits = column & 7;
  237|  27.7k|    int column_group = column >> 3;
  238|  27.7k|    assert(column < 80);
  239|  27.7k|    assert(end_column >= column);
  240|       |    assert(end_column - column < 16);
  241|  27.7k|    write_location_first_byte(a, PY_CODE_LOCATION_INFO_SHORT0 + column_group, length);
  242|  27.7k|    write_location_byte(a, (column_low_bits << 4) | (end_column - column));
  243|  27.7k|}
assemble.c:write_location_byte:
  197|  88.5k|{
  198|  88.5k|    PyBytes_AS_STRING(a->a_linetable)[a->a_location_off] = val&255;
  ------------------
  |  |   27|  88.5k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  88.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  88.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  199|  88.5k|    a->a_location_off++;
  200|  88.5k|}
assemble.c:write_location_info_oneline_form:
  247|  30.3k|{
  248|  30.3k|    assert(length > 0 &&  length <= 8);
  249|  30.3k|    assert(line_delta >= 0 && line_delta < 3);
  250|  30.3k|    assert(column < 128);
  251|       |    assert(end_column < 128);
  252|  30.3k|    write_location_first_byte(a, PY_CODE_LOCATION_INFO_ONE_LINE0 + line_delta, length);
  253|  30.3k|    write_location_byte(a, column);
  254|  30.3k|    write_location_byte(a, end_column);
  255|  30.3k|}
assemble.c:write_location_info_long_form:
  259|  9.93k|{
  260|  9.93k|    assert(length > 0 &&  length <= 8);
  261|  9.93k|    write_location_first_byte(a, PY_CODE_LOCATION_INFO_LONG, length);
  262|  9.93k|    write_location_signed_varint(a, loc.lineno - a->a_lineno);
  263|       |    assert(loc.end_lineno >= loc.lineno);
  264|  9.93k|    write_location_varint(a, loc.end_lineno - loc.lineno);
  265|  9.93k|    write_location_varint(a, loc.col_offset + 1);
  266|  9.93k|    write_location_varint(a, loc.end_col_offset + 1);
  267|  9.93k|}
assemble.c:write_location_varint:
  219|  29.8k|{
  220|  29.8k|    uint8_t *ptr = location_pointer(a);
  221|  29.8k|    a->a_location_off += write_varint(ptr, val);
  222|  29.8k|}
assemble.c:assemble_exception_table:
  159|  2.43k|{
  160|  2.43k|    int ioffset = 0;
  161|  2.43k|    _PyExceptHandlerInfo handler;
  162|  2.43k|    handler.h_label = -1;
  163|  2.43k|    handler.h_startdepth = -1;
  164|  2.43k|    handler.h_preserve_lasti = -1;
  165|  2.43k|    int start = -1;
  166|  96.5k|    for (int i = 0; i < instrs->s_used; i++) {
  ------------------
  |  Branch (166:21): [True: 94.1k, False: 2.43k]
  ------------------
  167|  94.1k|        instruction *instr = &instrs->s_instrs[i];
  168|  94.1k|        if (instr->i_except_handler_info.h_label != handler.h_label) {
  ------------------
  |  Branch (168:13): [True: 5.31k, False: 88.8k]
  ------------------
  169|  5.31k|            if (handler.h_label >= 0) {
  ------------------
  |  Branch (169:17): [True: 3.13k, False: 2.17k]
  ------------------
  170|  3.13k|                int handler_offset = instrs->s_instrs[handler.h_label].i_offset;
  171|  3.13k|                RETURN_IF_ERROR(
  ------------------
  |  |   21|  3.13k|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 3.13k]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  172|  3.13k|                    assemble_emit_exception_table_entry(a, start, ioffset,
  173|  3.13k|                                                        handler_offset,
  174|  3.13k|                                                        &handler));
  175|  3.13k|            }
  176|  5.31k|            start = ioffset;
  177|  5.31k|            handler = instr->i_except_handler_info;
  178|  5.31k|        }
  179|  94.1k|        ioffset += instr_size(instr);
  180|  94.1k|    }
  181|  2.43k|    if (handler.h_label >= 0) {
  ------------------
  |  Branch (181:9): [True: 0, False: 2.43k]
  ------------------
  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|  2.43k|    return SUCCESS;
  ------------------
  |  |   17|  2.43k|#define SUCCESS 0
  ------------------
  188|  2.43k|}
assemble.c:assemble_emit_exception_table_entry:
  136|  3.13k|{
  137|  3.13k|    Py_ssize_t len = PyBytes_GET_SIZE(a->a_except_table);
  ------------------
  |  |   33|  3.13k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  3.13k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  138|  3.13k|    if (a->a_except_table_off + MAX_SIZE_OF_ENTRY >= len) {
  ------------------
  |  |  130|  3.13k|#define MAX_SIZE_OF_ENTRY 20
  ------------------
  |  Branch (138:9): [True: 838, False: 2.29k]
  ------------------
  139|    838|        RETURN_IF_ERROR(_PyBytes_Resize(&a->a_except_table, len * 2));
  ------------------
  |  |   21|    838|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 838]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  140|    838|    }
  141|  3.13k|    int size = end-start;
  142|  3.13k|    assert(end > start);
  143|  3.13k|    int target = handler_offset;
  144|  3.13k|    int depth = handler->h_startdepth - 1;
  145|  3.13k|    if (handler->h_preserve_lasti > 0) {
  ------------------
  |  Branch (145:9): [True: 2.26k, False: 867]
  ------------------
  146|  2.26k|        depth -= 1;
  147|  2.26k|    }
  148|  3.13k|    assert(depth >= 0);
  149|  3.13k|    int depth_lasti = (depth<<1) | handler->h_preserve_lasti;
  150|  3.13k|    assemble_emit_exception_table_item(a, start, (1<<7));
  151|  3.13k|    assemble_emit_exception_table_item(a, size, 0);
  152|  3.13k|    assemble_emit_exception_table_item(a, target, 0);
  153|  3.13k|    assemble_emit_exception_table_item(a, depth_lasti, 0);
  154|  3.13k|    return SUCCESS;
  ------------------
  |  |   17|  3.13k|#define SUCCESS 0
  ------------------
  155|  3.13k|}
assemble.c:assemble_emit_exception_table_item:
  107|  12.5k|{
  108|  12.5k|    assert ((msb | 128) == 128);
  109|  12.5k|    assert(value >= 0 && value < (1 << 30));
  110|  12.5k|    if (value >= 1 << 24) {
  ------------------
  |  Branch (110:9): [True: 0, False: 12.5k]
  ------------------
  111|      0|        write_except_byte(a, (value >> 24) | CONTINUATION_BIT | msb);
  ------------------
  |  |  103|      0|#define CONTINUATION_BIT 64
  ------------------
  112|      0|        msb = 0;
  113|      0|    }
  114|  12.5k|    if (value >= 1 << 18) {
  ------------------
  |  Branch (114:9): [True: 0, False: 12.5k]
  ------------------
  115|      0|        write_except_byte(a, ((value >> 18)&0x3f) | CONTINUATION_BIT | msb);
  ------------------
  |  |  103|      0|#define CONTINUATION_BIT 64
  ------------------
  116|      0|        msb = 0;
  117|      0|    }
  118|  12.5k|    if (value >= 1 << 12) {
  ------------------
  |  Branch (118:9): [True: 0, False: 12.5k]
  ------------------
  119|      0|        write_except_byte(a, ((value >> 12)&0x3f) | CONTINUATION_BIT | msb);
  ------------------
  |  |  103|      0|#define CONTINUATION_BIT 64
  ------------------
  120|      0|        msb = 0;
  121|      0|    }
  122|  12.5k|    if (value >= 1 << 6) {
  ------------------
  |  Branch (122:9): [True: 5.38k, False: 7.14k]
  ------------------
  123|  5.38k|        write_except_byte(a, ((value >> 6)&0x3f) | CONTINUATION_BIT | msb);
  ------------------
  |  |  103|  5.38k|#define CONTINUATION_BIT 64
  ------------------
  124|  5.38k|        msb = 0;
  125|  5.38k|    }
  126|  12.5k|    write_except_byte(a, (value&0x3f) | msb);
  127|  12.5k|}
assemble.c:write_except_byte:
   98|  17.9k|write_except_byte(struct assembler *a, int byte) {
   99|  17.9k|    unsigned char *p = (unsigned char *) PyBytes_AS_STRING(a->a_except_table);
  ------------------
  |  |   27|  17.9k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  17.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  100|  17.9k|    p[a->a_except_table_off++] = byte;
  101|  17.9k|}
assemble.c:makecode:
  579|  2.43k|{
  580|  2.43k|    PyCodeObject *co = NULL;
  581|  2.43k|    PyObject *names = NULL;
  582|  2.43k|    PyObject *consts = NULL;
  583|  2.43k|    PyObject *localsplusnames = NULL;
  584|  2.43k|    PyObject *localspluskinds = NULL;
  585|  2.43k|    names = dict_keys_inorder(umd->u_names, 0);
  586|  2.43k|    if (!names) {
  ------------------
  |  Branch (586:9): [True: 0, False: 2.43k]
  ------------------
  587|      0|        goto error;
  588|      0|    }
  589|  2.43k|    if (_PyCompile_ConstCacheMergeOne(const_cache, &names) < 0) {
  ------------------
  |  Branch (589:9): [True: 0, False: 2.43k]
  ------------------
  590|      0|        goto error;
  591|      0|    }
  592|       |
  593|  2.43k|    consts = PyList_AsTuple(constslist); /* PyCode_New requires a tuple */
  594|  2.43k|    if (consts == NULL) {
  ------------------
  |  Branch (594:9): [True: 0, False: 2.43k]
  ------------------
  595|      0|        goto error;
  596|      0|    }
  597|  2.43k|    if (_PyCompile_ConstCacheMergeOne(const_cache, &consts) < 0) {
  ------------------
  |  Branch (597:9): [True: 0, False: 2.43k]
  ------------------
  598|      0|        goto error;
  599|      0|    }
  600|       |
  601|  2.43k|    assert(umd->u_posonlyargcount < INT_MAX);
  602|  2.43k|    assert(umd->u_argcount < INT_MAX);
  603|  2.43k|    assert(umd->u_kwonlyargcount < INT_MAX);
  604|  2.43k|    int posonlyargcount = (int)umd->u_posonlyargcount;
  605|  2.43k|    int posorkwargcount = (int)umd->u_argcount;
  606|  2.43k|    assert(INT_MAX - posonlyargcount - posorkwargcount > 0);
  607|  2.43k|    int kwonlyargcount = (int)umd->u_kwonlyargcount;
  608|       |
  609|  2.43k|    localsplusnames = PyTuple_New(nlocalsplus);
  610|  2.43k|    if (localsplusnames == NULL) {
  ------------------
  |  Branch (610:9): [True: 0, False: 2.43k]
  ------------------
  611|      0|        goto error;
  612|      0|    }
  613|  2.43k|    localspluskinds = PyBytes_FromStringAndSize(NULL, nlocalsplus);
  614|  2.43k|    if (localspluskinds == NULL) {
  ------------------
  |  Branch (614:9): [True: 0, False: 2.43k]
  ------------------
  615|      0|        goto error;
  616|      0|    }
  617|  2.43k|    if (compute_localsplus_info(
  ------------------
  |  Branch (617:9): [True: 0, False: 2.43k]
  ------------------
  618|  2.43k|            umd, nlocalsplus, code_flags,
  619|  2.43k|            localsplusnames, localspluskinds) == ERROR)
  ------------------
  |  |   18|  2.43k|#define ERROR -1
  ------------------
  620|      0|    {
  621|      0|        goto error;
  622|      0|    }
  623|       |
  624|  2.43k|    struct _PyCodeConstructor con = {
  625|  2.43k|        .filename = filename,
  626|  2.43k|        .name = umd->u_name,
  627|  2.43k|        .qualname = umd->u_qualname ? umd->u_qualname : umd->u_name,
  ------------------
  |  Branch (627:21): [True: 2.17k, False: 264]
  ------------------
  628|  2.43k|        .flags = code_flags,
  629|       |
  630|  2.43k|        .code = a->a_bytecode,
  631|  2.43k|        .firstlineno = umd->u_firstlineno,
  632|  2.43k|        .linetable = a->a_linetable,
  633|       |
  634|  2.43k|        .consts = consts,
  635|  2.43k|        .names = names,
  636|       |
  637|  2.43k|        .localsplusnames = localsplusnames,
  638|  2.43k|        .localspluskinds = localspluskinds,
  639|       |
  640|  2.43k|        .argcount = posonlyargcount + posorkwargcount,
  641|  2.43k|        .posonlyargcount = posonlyargcount,
  642|  2.43k|        .kwonlyargcount = kwonlyargcount,
  643|       |
  644|  2.43k|        .stacksize = maxdepth,
  645|       |
  646|  2.43k|        .exceptiontable = a->a_except_table,
  647|  2.43k|    };
  648|       |
  649|  2.43k|   if (_PyCode_Validate(&con) < 0) {
  ------------------
  |  Branch (649:8): [True: 0, False: 2.43k]
  ------------------
  650|      0|        goto error;
  651|      0|    }
  652|       |
  653|  2.43k|    if (_PyCompile_ConstCacheMergeOne(const_cache, &localsplusnames) < 0) {
  ------------------
  |  Branch (653:9): [True: 0, False: 2.43k]
  ------------------
  654|      0|        goto error;
  655|      0|    }
  656|  2.43k|    con.localsplusnames = localsplusnames;
  657|       |
  658|  2.43k|    co = _PyCode_New(&con);
  659|  2.43k|    if (co == NULL) {
  ------------------
  |  Branch (659:9): [True: 0, False: 2.43k]
  ------------------
  660|      0|        goto error;
  661|      0|    }
  662|       |
  663|  2.43k|error:
  664|  2.43k|    Py_XDECREF(names);
  ------------------
  |  |  524|  2.43k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  665|  2.43k|    Py_XDECREF(consts);
  ------------------
  |  |  524|  2.43k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  666|  2.43k|    Py_XDECREF(localsplusnames);
  ------------------
  |  |  524|  2.43k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  667|  2.43k|    Py_XDECREF(localspluskinds);
  ------------------
  |  |  524|  2.43k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  668|  2.43k|    return co;
  669|  2.43k|}
assemble.c:dict_keys_inorder:
  460|  2.43k|{
  461|  2.43k|    PyObject *tuple, *k, *v;
  462|  2.43k|    Py_ssize_t pos = 0, size = PyDict_GET_SIZE(dict);
  ------------------
  |  |   63|  2.43k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  463|       |
  464|  2.43k|    tuple = PyTuple_New(size);
  465|  2.43k|    if (tuple == NULL)
  ------------------
  |  Branch (465:9): [True: 0, False: 2.43k]
  ------------------
  466|      0|        return NULL;
  467|  16.0k|    while (PyDict_Next(dict, &pos, &k, &v)) {
  ------------------
  |  Branch (467:12): [True: 13.6k, False: 2.43k]
  ------------------
  468|  13.6k|        Py_ssize_t i = PyLong_AsSsize_t(v);
  469|  13.6k|        if (i == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (469:13): [True: 0, False: 13.6k]
  |  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|  13.6k|        assert((i - offset) < size);
  474|  13.6k|        assert((i - offset) >= 0);
  475|  13.6k|        PyTuple_SET_ITEM(tuple, i - offset, Py_NewRef(k));
  ------------------
  |  |   40|  13.6k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  13.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  13.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  476|  13.6k|    }
  477|  2.43k|    return tuple;
  478|  2.43k|}
assemble.c:compute_localsplus_info:
  487|  2.43k|{
  488|  2.43k|    PyObject *k, *v;
  489|  2.43k|    Py_ssize_t pos = 0;
  490|       |
  491|       |    // Set the locals kinds.  Arg vars fill the first portion of the list.
  492|  2.43k|    struct {
  493|  2.43k|        int count;
  494|  2.43k|        _PyLocals_Kind kind;
  495|  2.43k|    }  argvarkinds[6] = {
  496|  2.43k|        {(int)umd->u_posonlyargcount, CO_FAST_ARG_POS},
  ------------------
  |  |  192|  2.43k|#define CO_FAST_ARG_POS (0x02)  // pos-only, pos-or-kw, varargs
  ------------------
  497|  2.43k|        {(int)umd->u_argcount, CO_FAST_ARG_POS | CO_FAST_ARG_KW},
  ------------------
  |  |  192|  2.43k|#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|  2.43k|#define CO_FAST_ARG_KW  (0x04)  // kw-only, pos-or-kw, varkwargs
  ------------------
  498|  2.43k|        {(int)umd->u_kwonlyargcount, CO_FAST_ARG_KW},
  ------------------
  |  |  193|  2.43k|#define CO_FAST_ARG_KW  (0x04)  // kw-only, pos-or-kw, varkwargs
  ------------------
  499|  2.43k|        {!!(flags & CO_VARARGS), CO_FAST_ARG_VAR | CO_FAST_ARG_POS},
  ------------------
  |  |  120|  2.43k|#define CO_VARARGS      0x0004
  ------------------
                      {!!(flags & CO_VARARGS), CO_FAST_ARG_VAR | CO_FAST_ARG_POS},
  ------------------
  |  |  194|  2.43k|#define CO_FAST_ARG_VAR (0x08)  // varargs, varkwargs
  ------------------
                      {!!(flags & CO_VARARGS), CO_FAST_ARG_VAR | CO_FAST_ARG_POS},
  ------------------
  |  |  192|  2.43k|#define CO_FAST_ARG_POS (0x02)  // pos-only, pos-or-kw, varargs
  ------------------
  500|  2.43k|        {!!(flags & CO_VARKEYWORDS), CO_FAST_ARG_VAR | CO_FAST_ARG_KW},
  ------------------
  |  |  121|  2.43k|#define CO_VARKEYWORDS  0x0008
  ------------------
                      {!!(flags & CO_VARKEYWORDS), CO_FAST_ARG_VAR | CO_FAST_ARG_KW},
  ------------------
  |  |  194|  2.43k|#define CO_FAST_ARG_VAR (0x08)  // varargs, varkwargs
  ------------------
                      {!!(flags & CO_VARKEYWORDS), CO_FAST_ARG_VAR | CO_FAST_ARG_KW},
  ------------------
  |  |  193|  2.43k|#define CO_FAST_ARG_KW  (0x04)  // kw-only, pos-or-kw, varkwargs
  ------------------
  501|  2.43k|        {-1, 0},  // the remaining local vars
  502|  2.43k|    };
  503|  2.43k|    int max = 0;
  504|  17.0k|    for (int i = 0; i < 6; i++) {
  ------------------
  |  Branch (504:21): [True: 14.6k, False: 2.43k]
  ------------------
  505|  14.6k|        max = argvarkinds[i].count < 0
  ------------------
  |  Branch (505:15): [True: 2.43k, False: 12.1k]
  ------------------
  506|  14.6k|            ? INT_MAX
  507|  14.6k|            : max + argvarkinds[i].count;
  508|  21.7k|        while (pos < max && PyDict_Next(umd->u_varnames, &pos, &k, &v)) {
  ------------------
  |  Branch (508:16): [True: 9.53k, False: 12.1k]
  |  Branch (508:29): [True: 7.09k, False: 2.43k]
  ------------------
  509|  7.09k|            int offset = PyLong_AsInt(v);
  510|  7.09k|            if (offset == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (510:17): [True: 0, False: 7.09k]
  |  Branch (510:33): [True: 0, False: 0]
  ------------------
  511|      0|                return ERROR;
  ------------------
  |  |   18|      0|#define ERROR -1
  ------------------
  512|      0|            }
  513|  7.09k|            assert(offset >= 0);
  514|  7.09k|            assert(offset < nlocalsplus);
  515|       |
  516|  7.09k|            _PyLocals_Kind kind = CO_FAST_LOCAL | argvarkinds[i].kind;
  ------------------
  |  |  197|  7.09k|#define CO_FAST_LOCAL   (0x20)
  ------------------
  517|       |
  518|  7.09k|            int has_key = PyDict_Contains(umd->u_fasthidden, k);
  519|  7.09k|            RETURN_IF_ERROR(has_key);
  ------------------
  |  |   21|  7.09k|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 7.09k]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  520|  7.09k|            if (has_key) {
  ------------------
  |  Branch (520:17): [True: 3, False: 7.09k]
  ------------------
  521|      3|                kind |= CO_FAST_HIDDEN;
  ------------------
  |  |  196|      3|#define CO_FAST_HIDDEN  (0x10)
  ------------------
  522|      3|            }
  523|       |
  524|  7.09k|            has_key = PyDict_Contains(umd->u_cellvars, k);
  525|  7.09k|            RETURN_IF_ERROR(has_key);
  ------------------
  |  |   21|  7.09k|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 7.09k]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  526|  7.09k|            if (has_key) {
  ------------------
  |  Branch (526:17): [True: 247, False: 6.84k]
  ------------------
  527|    247|                kind |= CO_FAST_CELL;
  ------------------
  |  |  198|    247|#define CO_FAST_CELL    (0x40)
  ------------------
  528|    247|            }
  529|       |
  530|  7.09k|            _Py_set_localsplus_info(offset, k, kind, names, kinds);
  531|  7.09k|        }
  532|  14.6k|    }
  533|  2.43k|    int nlocals = (int)PyDict_GET_SIZE(umd->u_varnames);
  ------------------
  |  |   63|  2.43k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  534|       |
  535|       |    // This counter mirrors the fix done in fix_cell_offsets().
  536|  2.43k|    int numdropped = 0, cellvar_offset = -1;
  537|  2.43k|    pos = 0;
  538|  2.89k|    while (PyDict_Next(umd->u_cellvars, &pos, &k, &v)) {
  ------------------
  |  Branch (538:12): [True: 458, False: 2.43k]
  ------------------
  539|    458|        int has_name = PyDict_Contains(umd->u_varnames, k);
  540|    458|        RETURN_IF_ERROR(has_name);
  ------------------
  |  |   21|    458|    if ((X) < 0) {          \
  |  |  ------------------
  |  |  |  Branch (21:9): [True: 0, False: 458]
  |  |  ------------------
  |  |   22|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   18|      0|#define ERROR -1
  |  |  ------------------
  |  |   23|      0|    }
  ------------------
  541|    458|        if (has_name) {
  ------------------
  |  Branch (541:13): [True: 247, False: 211]
  ------------------
  542|       |            // Skip cells that are already covered by locals.
  543|    247|            numdropped += 1;
  544|    247|            continue;
  545|    247|        }
  546|       |
  547|    211|        cellvar_offset = PyLong_AsInt(v);
  548|    211|        if (cellvar_offset == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (548:13): [True: 0, False: 211]
  |  Branch (548:37): [True: 0, False: 0]
  ------------------
  549|      0|            return ERROR;
  ------------------
  |  |   18|      0|#define ERROR -1
  ------------------
  550|      0|        }
  551|    211|        assert(cellvar_offset >= 0);
  552|    211|        cellvar_offset += nlocals - numdropped;
  553|    211|        assert(cellvar_offset < nlocalsplus);
  554|    211|        _Py_set_localsplus_info(cellvar_offset, k, CO_FAST_CELL, names, kinds);
  ------------------
  |  |  198|    211|#define CO_FAST_CELL    (0x40)
  ------------------
  555|    211|    }
  556|       |
  557|  2.43k|    pos = 0;
  558|  2.91k|    while (PyDict_Next(umd->u_freevars, &pos, &k, &v)) {
  ------------------
  |  Branch (558:12): [True: 474, False: 2.43k]
  ------------------
  559|    474|        int offset = PyLong_AsInt(v);
  560|    474|        if (offset == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (560:13): [True: 0, False: 474]
  |  Branch (560:29): [True: 0, False: 0]
  ------------------
  561|      0|            return ERROR;
  ------------------
  |  |   18|      0|#define ERROR -1
  ------------------
  562|      0|        }
  563|    474|        assert(offset >= 0);
  564|    474|        offset += nlocals - numdropped;
  565|    474|        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|    474|        assert(offset > cellvar_offset);
  570|    474|        _Py_set_localsplus_info(offset, k, CO_FAST_FREE, names, kinds);
  ------------------
  |  |  199|    474|#define CO_FAST_FREE    (0x80)
  ------------------
  571|    474|    }
  572|  2.43k|    return SUCCESS;
  ------------------
  |  |   17|  2.43k|#define SUCCESS 0
  ------------------
  573|  2.43k|}
assemble.c:assemble_free:
   91|  2.43k|{
   92|  2.43k|    Py_XDECREF(a->a_bytecode);
  ------------------
  |  |  524|  2.43k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   93|  2.43k|    Py_XDECREF(a->a_linetable);
  ------------------
  |  |  524|  2.43k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   94|  2.43k|    Py_XDECREF(a->a_except_table);
  ------------------
  |  |  524|  2.43k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   95|  2.43k|}

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

_PyAST_Preprocess:
  978|    270|{
  979|    270|    _PyASTPreprocessState state;
  980|    270|    memset(&state, 0, sizeof(_PyASTPreprocessState));
  981|    270|    state.filename = filename;
  982|    270|    state.module = module;
  983|    270|    state.optimize = optimize;
  984|    270|    state.ff_features = ff_features;
  985|    270|    state.syntax_check_only = syntax_check_only;
  986|    270|    state.enable_warnings = enable_warnings;
  987|    270|    if (_Py_CArray_Init(&state.cf_finally, sizeof(ControlFlowInFinallyContext), 20) < 0) {
  ------------------
  |  Branch (987:9): [True: 0, False: 270]
  ------------------
  988|      0|        return -1;
  989|      0|    }
  990|       |
  991|    270|    int ret = astfold_mod(mod, arena, &state);
  992|    270|    assert(ret || PyErr_Occurred());
  993|       |
  994|    270|    _Py_CArray_Fini(&state.cf_finally);
  995|    270|    return ret;
  996|    270|}
ast_preprocess.c:astfold_mod:
  498|    270|{
  499|    270|    switch (node_->kind) {
  ------------------
  |  Branch (499:13): [True: 270, False: 0]
  ------------------
  500|    192|    case Module_kind:
  ------------------
  |  Branch (500:5): [True: 192, False: 78]
  ------------------
  501|    192|        CALL(astfold_body, asdl_seq, node_->v.Module.body);
  ------------------
  |  |  409|    192|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 192]
  |  |  ------------------
  |  |  410|    192|        return 0;
  ------------------
  502|    192|        break;
  503|      0|    case Interactive_kind:
  ------------------
  |  Branch (503:5): [True: 0, False: 270]
  ------------------
  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: 192]
  ------------------
  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: 270]
  ------------------
  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|    270|    }
  515|    270|    return 1;
  516|    270|}
ast_preprocess.c:astfold_body:
  468|  2.20k|{
  469|  2.20k|    int docstring = _PyAST_GetDocString(stmts) != NULL;
  470|  2.20k|    if (docstring && (state->optimize >= 2)) {
  ------------------
  |  Branch (470:9): [True: 624, False: 1.58k]
  |  Branch (470:22): [True: 0, False: 624]
  ------------------
  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|  2.20k|    CALL_SEQ(astfold_stmt, stmt, stmts);
  ------------------
  |  |  416|  2.20k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  2.20k|    Py_ssize_t i; \
  |  |  418|  2.20k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  10.7k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  10.7k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  21.5k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 1, False: 10.7k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 8.56k, False: 2.20k]
  |  |  ------------------
  |  |  420|  8.56k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  8.56k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  8.56k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  8.56k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 8.56k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 8.56k]
  |  |  ------------------
  |  |  422|  8.56k|            return 0; \
  |  |  423|  8.56k|    } \
  |  |  424|  2.20k|}
  ------------------
  478|  2.20k|    if (!docstring && _PyAST_GetDocString(stmts) != NULL) {
  ------------------
  |  Branch (478:9): [True: 1.58k, False: 624]
  |  Branch (478:23): [True: 0, False: 1.58k]
  ------------------
  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|  2.20k|    return 1;
  494|  2.20k|}
ast_preprocess.c:astfold_stmt:
  685|  14.0k|{
  686|  14.0k|    ENTER_RECURSIVE();
  ------------------
  |  |   29|  14.0k|#define ENTER_RECURSIVE() \
  |  |   30|  14.0k|if (Py_EnterRecursiveCall(" during compilation")) { \
  |  |  ------------------
  |  |  |  Branch (30:5): [True: 0, False: 14.0k]
  |  |  ------------------
  |  |   31|      0|    return 0; \
  |  |   32|      0|}
  ------------------
  687|  14.0k|    switch (node_->kind) {
  ------------------
  |  Branch (687:13): [True: 14.0k, False: 0]
  ------------------
  688|  1.73k|    case FunctionDef_kind: {
  ------------------
  |  Branch (688:5): [True: 1.73k, False: 12.3k]
  ------------------
  689|  1.73k|        CALL_SEQ(astfold_type_param, type_param, node_->v.FunctionDef.type_params);
  ------------------
  |  |  416|  1.73k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  1.73k|    Py_ssize_t i; \
  |  |  418|  1.73k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  1.73k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  1.73k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  3.46k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 1.73k, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 1.73k]
  |  |  ------------------
  |  |  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|  1.73k|}
  ------------------
  690|  1.73k|        CALL(astfold_arguments, arguments_ty, node_->v.FunctionDef.args);
  ------------------
  |  |  409|  1.73k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 1.73k]
  |  |  ------------------
  |  |  410|  1.73k|        return 0;
  ------------------
  691|  1.73k|        BEFORE_FUNC_BODY(state, node_);
  ------------------
  |  |  118|  1.73k|#define BEFORE_FUNC_BODY(S, N)  PUSH_CONTEXT((S), (N), false, true, false)
  |  |  ------------------
  |  |  |  |  110|  1.73k|    if (!push_cf_context((S), (N), (FINALLY), (FUNCDEF), (LOOP))) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (110:9): [True: 0, False: 1.73k]
  |  |  |  |  ------------------
  |  |  |  |  111|      0|        return 0; \
  |  |  |  |  112|      0|    }
  |  |  ------------------
  ------------------
  692|  1.73k|        CALL(astfold_body, asdl_seq, node_->v.FunctionDef.body);
  ------------------
  |  |  409|  1.73k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 1.73k]
  |  |  ------------------
  |  |  410|  1.73k|        return 0;
  ------------------
  693|  1.73k|        AFTER_FUNC_BODY(state);
  ------------------
  |  |  119|  1.73k|#define AFTER_FUNC_BODY(S)      POP_CONTEXT(S)
  |  |  ------------------
  |  |  |  |  114|  1.73k|#define POP_CONTEXT(S) pop_cf_context(S)
  |  |  ------------------
  ------------------
  694|  1.73k|        CALL_SEQ(astfold_expr, expr, node_->v.FunctionDef.decorator_list);
  ------------------
  |  |  416|  1.73k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  1.73k|    Py_ssize_t i; \
  |  |  418|  1.73k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  1.82k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  1.82k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  3.65k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 1.63k, False: 186]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 93, False: 1.73k]
  |  |  ------------------
  |  |  420|     93|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|     93|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     93|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|     93|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 93, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 93]
  |  |  ------------------
  |  |  422|     93|            return 0; \
  |  |  423|     93|    } \
  |  |  424|  1.73k|}
  ------------------
  695|  1.73k|        if (!(state->ff_features & CO_FUTURE_ANNOTATIONS)) {
  ------------------
  |  |  143|  1.73k|#define CO_FUTURE_ANNOTATIONS    0x1000000
  ------------------
  |  Branch (695:13): [True: 1.73k, False: 0]
  ------------------
  696|  1.73k|            CALL_OPT(astfold_expr, expr_ty, node_->v.FunctionDef.returns);
  ------------------
  |  |  413|  1.73k|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 25, False: 1.70k]
  |  |  |  Branch (413:26): [True: 0, False: 25]
  |  |  ------------------
  |  |  414|  1.73k|        return 0;
  ------------------
  697|  1.73k|        }
  698|  1.73k|        break;
  699|  1.73k|    }
  700|  1.73k|    case AsyncFunctionDef_kind: {
  ------------------
  |  Branch (700:5): [True: 135, False: 13.9k]
  ------------------
  701|    135|        CALL_SEQ(astfold_type_param, type_param, node_->v.AsyncFunctionDef.type_params);
  ------------------
  |  |  416|    135|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|    135|    Py_ssize_t i; \
  |  |  418|    135|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|    135|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    135|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    270|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 135, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 135]
  |  |  ------------------
  |  |  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|    135|}
  ------------------
  702|    135|        CALL(astfold_arguments, arguments_ty, node_->v.AsyncFunctionDef.args);
  ------------------
  |  |  409|    135|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 135]
  |  |  ------------------
  |  |  410|    135|        return 0;
  ------------------
  703|    135|        BEFORE_FUNC_BODY(state, node_);
  ------------------
  |  |  118|    135|#define BEFORE_FUNC_BODY(S, N)  PUSH_CONTEXT((S), (N), false, true, false)
  |  |  ------------------
  |  |  |  |  110|    135|    if (!push_cf_context((S), (N), (FINALLY), (FUNCDEF), (LOOP))) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (110:9): [True: 0, False: 135]
  |  |  |  |  ------------------
  |  |  |  |  111|      0|        return 0; \
  |  |  |  |  112|      0|    }
  |  |  ------------------
  ------------------
  704|    135|        CALL(astfold_body, asdl_seq, node_->v.AsyncFunctionDef.body);
  ------------------
  |  |  409|    135|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 135]
  |  |  ------------------
  |  |  410|    135|        return 0;
  ------------------
  705|    135|        AFTER_FUNC_BODY(state);
  ------------------
  |  |  119|    135|#define AFTER_FUNC_BODY(S)      POP_CONTEXT(S)
  |  |  ------------------
  |  |  |  |  114|    135|#define POP_CONTEXT(S) pop_cf_context(S)
  |  |  ------------------
  ------------------
  706|    135|        CALL_SEQ(astfold_expr, expr, node_->v.AsyncFunctionDef.decorator_list);
  ------------------
  |  |  416|    135|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|    135|    Py_ssize_t i; \
  |  |  418|    135|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|    137|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    137|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    274|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 133, False: 4]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 2, False: 135]
  |  |  ------------------
  |  |  420|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      2|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 2, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 2]
  |  |  ------------------
  |  |  422|      2|            return 0; \
  |  |  423|      2|    } \
  |  |  424|    135|}
  ------------------
  707|    135|        if (!(state->ff_features & CO_FUTURE_ANNOTATIONS)) {
  ------------------
  |  |  143|    135|#define CO_FUTURE_ANNOTATIONS    0x1000000
  ------------------
  |  Branch (707:13): [True: 135, False: 0]
  ------------------
  708|    135|            CALL_OPT(astfold_expr, expr_ty, node_->v.AsyncFunctionDef.returns);
  ------------------
  |  |  413|    135|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 3, False: 132]
  |  |  |  Branch (413:26): [True: 0, False: 3]
  |  |  ------------------
  |  |  414|    135|        return 0;
  ------------------
  709|    135|        }
  710|    135|        break;
  711|    135|    }
  712|    149|    case ClassDef_kind:
  ------------------
  |  Branch (712:5): [True: 149, False: 13.9k]
  ------------------
  713|    149|        CALL_SEQ(astfold_type_param, type_param, node_->v.ClassDef.type_params);
  ------------------
  |  |  416|    149|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|    149|    Py_ssize_t i; \
  |  |  418|    149|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|    149|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    149|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    298|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 149, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 149]
  |  |  ------------------
  |  |  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|    149|}
  ------------------
  714|    149|        CALL_SEQ(astfold_expr, expr, node_->v.ClassDef.bases);
  ------------------
  |  |  416|    149|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|    149|    Py_ssize_t i; \
  |  |  418|    149|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|    289|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    289|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    578|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 27, False: 262]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 140, False: 149]
  |  |  ------------------
  |  |  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|    149|}
  ------------------
  715|    149|        CALL_SEQ(astfold_keyword, keyword, node_->v.ClassDef.keywords);
  ------------------
  |  |  416|    149|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|    149|    Py_ssize_t i; \
  |  |  418|    149|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|    149|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    149|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    298|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 149, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 0, False: 149]
  |  |  ------------------
  |  |  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|    149|}
  ------------------
  716|    149|        CALL(astfold_body, asdl_seq, node_->v.ClassDef.body);
  ------------------
  |  |  409|    149|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 149]
  |  |  ------------------
  |  |  410|    149|        return 0;
  ------------------
  717|    149|        CALL_SEQ(astfold_expr, expr, node_->v.ClassDef.decorator_list);
  ------------------
  |  |  416|    149|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|    149|    Py_ssize_t i; \
  |  |  418|    149|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|    151|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    151|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    302|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 147, False: 4]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 2, False: 149]
  |  |  ------------------
  |  |  420|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      2|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 2, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 2]
  |  |  ------------------
  |  |  422|      2|            return 0; \
  |  |  423|      2|    } \
  |  |  424|    149|}
  ------------------
  718|    149|        break;
  719|  1.50k|    case Return_kind:
  ------------------
  |  Branch (719:5): [True: 1.50k, False: 12.5k]
  ------------------
  720|  1.50k|        BEFORE_RETURN(state, node_);
  ------------------
  |  |  124|  1.50k|    if (!before_return((S), (N))) { \
  |  |  ------------------
  |  |  |  Branch (124:9): [True: 0, False: 1.50k]
  |  |  ------------------
  |  |  125|      0|        return 0; \
  |  |  126|      0|    }
  ------------------
  721|  1.50k|        CALL_OPT(astfold_expr, expr_ty, node_->v.Return.value);
  ------------------
  |  |  413|  1.50k|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 1.31k, False: 191]
  |  |  |  Branch (413:26): [True: 0, False: 1.31k]
  |  |  ------------------
  |  |  414|  1.50k|        return 0;
  ------------------
  722|  1.50k|        break;
  723|     40|    case Delete_kind:
  ------------------
  |  Branch (723:5): [True: 40, False: 14.0k]
  ------------------
  724|     40|        CALL_SEQ(astfold_expr, expr, node_->v.Delete.targets);
  ------------------
  |  |  416|     40|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|     40|    Py_ssize_t i; \
  |  |  418|     40|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|     83|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|     83|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    166|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 83]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 43, False: 40]
  |  |  ------------------
  |  |  420|     43|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|     43|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     43|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|     43|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 43, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 43]
  |  |  ------------------
  |  |  422|     43|            return 0; \
  |  |  423|     43|    } \
  |  |  424|     40|}
  ------------------
  725|     40|        break;
  726|  3.47k|    case Assign_kind:
  ------------------
  |  Branch (726:5): [True: 3.47k, False: 10.5k]
  ------------------
  727|  3.47k|        CALL_SEQ(astfold_expr, expr, node_->v.Assign.targets);
  ------------------
  |  |  416|  3.47k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  3.47k|    Py_ssize_t i; \
  |  |  418|  3.47k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  6.98k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  6.98k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  13.9k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 6.98k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 3.50k, False: 3.47k]
  |  |  ------------------
  |  |  420|  3.50k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  3.50k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  3.50k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  3.50k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 3.50k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 3.50k]
  |  |  ------------------
  |  |  422|  3.50k|            return 0; \
  |  |  423|  3.50k|    } \
  |  |  424|  3.47k|}
  ------------------
  728|  3.47k|        CALL(astfold_expr, expr_ty, node_->v.Assign.value);
  ------------------
  |  |  409|  3.47k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 3.47k]
  |  |  ------------------
  |  |  410|  3.47k|        return 0;
  ------------------
  729|  3.47k|        break;
  730|    178|    case AugAssign_kind:
  ------------------
  |  Branch (730:5): [True: 178, False: 13.8k]
  ------------------
  731|    178|        CALL(astfold_expr, expr_ty, node_->v.AugAssign.target);
  ------------------
  |  |  409|    178|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 178]
  |  |  ------------------
  |  |  410|    178|        return 0;
  ------------------
  732|    178|        CALL(astfold_expr, expr_ty, node_->v.AugAssign.value);
  ------------------
  |  |  409|    178|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 178]
  |  |  ------------------
  |  |  410|    178|        return 0;
  ------------------
  733|    178|        break;
  734|     10|    case AnnAssign_kind:
  ------------------
  |  Branch (734:5): [True: 10, False: 14.0k]
  ------------------
  735|     10|        CALL(astfold_expr, expr_ty, node_->v.AnnAssign.target);
  ------------------
  |  |  409|     10|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 10]
  |  |  ------------------
  |  |  410|     10|        return 0;
  ------------------
  736|     10|        if (!(state->ff_features & CO_FUTURE_ANNOTATIONS)) {
  ------------------
  |  |  143|     10|#define CO_FUTURE_ANNOTATIONS    0x1000000
  ------------------
  |  Branch (736:13): [True: 10, False: 0]
  ------------------
  737|     10|            CALL(astfold_expr, expr_ty, node_->v.AnnAssign.annotation);
  ------------------
  |  |  409|     10|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 10]
  |  |  ------------------
  |  |  410|     10|        return 0;
  ------------------
  738|     10|        }
  739|     10|        CALL_OPT(astfold_expr, expr_ty, node_->v.AnnAssign.value);
  ------------------
  |  |  413|     10|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 6, False: 4]
  |  |  |  Branch (413:26): [True: 0, False: 6]
  |  |  ------------------
  |  |  414|     10|        return 0;
  ------------------
  740|     10|        break;
  741|      0|    case TypeAlias_kind:
  ------------------
  |  Branch (741:5): [True: 0, False: 14.0k]
  ------------------
  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|    192|    case For_kind: {
  ------------------
  |  Branch (746:5): [True: 192, False: 13.8k]
  ------------------
  747|    192|        CALL(astfold_expr, expr_ty, node_->v.For.target);
  ------------------
  |  |  409|    192|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 192]
  |  |  ------------------
  |  |  410|    192|        return 0;
  ------------------
  748|    192|        CALL(astfold_expr, expr_ty, node_->v.For.iter);
  ------------------
  |  |  409|    192|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 192]
  |  |  ------------------
  |  |  410|    192|        return 0;
  ------------------
  749|    192|        BEFORE_LOOP_BODY(state, node_);
  ------------------
  |  |  120|    192|#define BEFORE_LOOP_BODY(S, N)  PUSH_CONTEXT((S), (N), false, false, true)
  |  |  ------------------
  |  |  |  |  110|    192|    if (!push_cf_context((S), (N), (FINALLY), (FUNCDEF), (LOOP))) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (110:9): [True: 0, False: 192]
  |  |  |  |  ------------------
  |  |  |  |  111|      0|        return 0; \
  |  |  |  |  112|      0|    }
  |  |  ------------------
  ------------------
  750|    192|        CALL_SEQ(astfold_stmt, stmt, node_->v.For.body);
  ------------------
  |  |  416|    192|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|    192|    Py_ssize_t i; \
  |  |  418|    192|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|    596|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    596|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.19k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 596]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 404, False: 192]
  |  |  ------------------
  |  |  420|    404|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    404|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    404|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|    404|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 404, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 404]
  |  |  ------------------
  |  |  422|    404|            return 0; \
  |  |  423|    404|    } \
  |  |  424|    192|}
  ------------------
  751|    192|        AFTER_LOOP_BODY(state);
  ------------------
  |  |  121|    192|#define AFTER_LOOP_BODY(S)      POP_CONTEXT(S)
  |  |  ------------------
  |  |  |  |  114|    192|#define POP_CONTEXT(S) pop_cf_context(S)
  |  |  ------------------
  ------------------
  752|    192|        CALL_SEQ(astfold_stmt, stmt, node_->v.For.orelse);
  ------------------
  |  |  416|    192|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|    192|    Py_ssize_t i; \
  |  |  418|    192|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|    195|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    195|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    390|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 189, False: 6]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 3, False: 192]
  |  |  ------------------
  |  |  420|      3|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      3|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      3|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      3|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 3, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 3]
  |  |  ------------------
  |  |  422|      3|            return 0; \
  |  |  423|      3|    } \
  |  |  424|    192|}
  ------------------
  753|    192|        break;
  754|    192|    }
  755|      0|    case AsyncFor_kind: {
  ------------------
  |  Branch (755:5): [True: 0, False: 14.0k]
  ------------------
  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|     72|    case While_kind: {
  ------------------
  |  Branch (764:5): [True: 72, False: 13.9k]
  ------------------
  765|     72|        CALL(astfold_expr, expr_ty, node_->v.While.test);
  ------------------
  |  |  409|     72|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 72]
  |  |  ------------------
  |  |  410|     72|        return 0;
  ------------------
  766|     72|        BEFORE_LOOP_BODY(state, node_);
  ------------------
  |  |  120|     72|#define BEFORE_LOOP_BODY(S, N)  PUSH_CONTEXT((S), (N), false, false, true)
  |  |  ------------------
  |  |  |  |  110|     72|    if (!push_cf_context((S), (N), (FINALLY), (FUNCDEF), (LOOP))) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (110:9): [True: 0, False: 72]
  |  |  |  |  ------------------
  |  |  |  |  111|      0|        return 0; \
  |  |  |  |  112|      0|    }
  |  |  ------------------
  ------------------
  767|     72|        CALL_SEQ(astfold_stmt, stmt, node_->v.While.body);
  ------------------
  |  |  416|     72|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|     72|    Py_ssize_t i; \
  |  |  418|     72|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|    267|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    267|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    534|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 267]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 195, False: 72]
  |  |  ------------------
  |  |  420|    195|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    195|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    195|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|    195|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 195, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 195]
  |  |  ------------------
  |  |  422|    195|            return 0; \
  |  |  423|    195|    } \
  |  |  424|     72|}
  ------------------
  768|     72|        AFTER_LOOP_BODY(state);
  ------------------
  |  |  121|     72|#define AFTER_LOOP_BODY(S)      POP_CONTEXT(S)
  |  |  ------------------
  |  |  |  |  114|     72|#define POP_CONTEXT(S) pop_cf_context(S)
  |  |  ------------------
  ------------------
  769|     72|        CALL_SEQ(astfold_stmt, stmt, node_->v.While.orelse);
  ------------------
  |  |  416|     72|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|     72|    Py_ssize_t i; \
  |  |  418|     72|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|     73|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|     73|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    146|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 71, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 1, False: 72]
  |  |  ------------------
  |  |  420|      1|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      1|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      1|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      1|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 1, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 1]
  |  |  ------------------
  |  |  422|      1|            return 0; \
  |  |  423|      1|    } \
  |  |  424|     72|}
  ------------------
  770|     72|        break;
  771|     72|    }
  772|  2.23k|    case If_kind:
  ------------------
  |  Branch (772:5): [True: 2.23k, False: 11.8k]
  ------------------
  773|  2.23k|        CALL(astfold_expr, expr_ty, node_->v.If.test);
  ------------------
  |  |  409|  2.23k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 2.23k]
  |  |  ------------------
  |  |  410|  2.23k|        return 0;
  ------------------
  774|  2.23k|        CALL_SEQ(astfold_stmt, stmt, node_->v.If.body);
  ------------------
  |  |  416|  2.23k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  2.23k|    Py_ssize_t i; \
  |  |  418|  2.23k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  5.31k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  5.31k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  10.6k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 5.31k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 3.08k, False: 2.23k]
  |  |  ------------------
  |  |  420|  3.08k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  3.08k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  3.08k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  3.08k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 3.08k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 3.08k]
  |  |  ------------------
  |  |  422|  3.08k|            return 0; \
  |  |  423|  3.08k|    } \
  |  |  424|  2.23k|}
  ------------------
  775|  2.23k|        CALL_SEQ(astfold_stmt, stmt, node_->v.If.orelse);
  ------------------
  |  |  416|  2.23k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  2.23k|    Py_ssize_t i; \
  |  |  418|  2.23k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  2.85k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  2.85k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  5.70k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 1.73k, False: 1.12k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 620, False: 2.23k]
  |  |  ------------------
  |  |  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|  2.23k|}
  ------------------
  776|  2.23k|        break;
  777|     46|    case With_kind:
  ------------------
  |  Branch (777:5): [True: 46, False: 14.0k]
  ------------------
  778|     46|        CALL_SEQ(astfold_withitem, withitem, node_->v.With.items);
  ------------------
  |  |  416|     46|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|     46|    Py_ssize_t i; \
  |  |  418|     46|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|     92|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|     92|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    184|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 92]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 46, False: 46]
  |  |  ------------------
  |  |  420|     46|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|     46|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     46|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|     46|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 46, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 46]
  |  |  ------------------
  |  |  422|     46|            return 0; \
  |  |  423|     46|    } \
  |  |  424|     46|}
  ------------------
  779|     46|        CALL_SEQ(astfold_stmt, stmt, node_->v.With.body);
  ------------------
  |  |  416|     46|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|     46|    Py_ssize_t i; \
  |  |  418|     46|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|    136|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 90, False: 46]
  |  |  ------------------
  |  |  420|     90|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|     90|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     90|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|     90|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 90, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 90]
  |  |  ------------------
  |  |  422|     90|            return 0; \
  |  |  423|     90|    } \
  |  |  424|     46|}
  ------------------
  780|     46|        break;
  781|      5|    case AsyncWith_kind:
  ------------------
  |  Branch (781:5): [True: 5, False: 14.0k]
  ------------------
  782|      5|        CALL_SEQ(astfold_withitem, withitem, node_->v.AsyncWith.items);
  ------------------
  |  |  416|      5|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      5|    Py_ssize_t i; \
  |  |  418|      5|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|     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 (419:17): [True: 5, False: 5]
  |  |  ------------------
  |  |  420|      5|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      5|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      5|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      5|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 5, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 5]
  |  |  ------------------
  |  |  422|      5|            return 0; \
  |  |  423|      5|    } \
  |  |  424|      5|}
  ------------------
  783|      5|        CALL_SEQ(astfold_stmt, stmt, node_->v.AsyncWith.body);
  ------------------
  |  |  416|      5|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      5|    Py_ssize_t i; \
  |  |  418|      5|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|     13|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|     13|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     26|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 13]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 8, False: 5]
  |  |  ------------------
  |  |  420|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      8|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 8, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 8]
  |  |  ------------------
  |  |  422|      8|            return 0; \
  |  |  423|      8|    } \
  |  |  424|      5|}
  ------------------
  784|      5|        break;
  785|    606|    case Raise_kind:
  ------------------
  |  Branch (785:5): [True: 606, False: 13.4k]
  ------------------
  786|    606|        CALL_OPT(astfold_expr, expr_ty, node_->v.Raise.exc);
  ------------------
  |  |  413|    606|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 523, False: 83]
  |  |  |  Branch (413:26): [True: 0, False: 523]
  |  |  ------------------
  |  |  414|    606|        return 0;
  ------------------
  787|    606|        CALL_OPT(astfold_expr, expr_ty, node_->v.Raise.cause);
  ------------------
  |  |  413|    606|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 20, False: 586]
  |  |  |  Branch (413:26): [True: 0, False: 20]
  |  |  ------------------
  |  |  414|    606|        return 0;
  ------------------
  788|    606|        break;
  789|    303|    case Try_kind: {
  ------------------
  |  Branch (789:5): [True: 303, False: 13.7k]
  ------------------
  790|    303|        CALL_SEQ(astfold_stmt, stmt, node_->v.Try.body);
  ------------------
  |  |  416|    303|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|    303|    Py_ssize_t i; \
  |  |  418|    303|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|    735|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    735|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.47k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 735]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 432, False: 303]
  |  |  ------------------
  |  |  420|    432|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    432|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    432|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|    432|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 432, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 432]
  |  |  ------------------
  |  |  422|    432|            return 0; \
  |  |  423|    432|    } \
  |  |  424|    303|}
  ------------------
  791|    303|        CALL_SEQ(astfold_excepthandler, excepthandler, node_->v.Try.handlers);
  ------------------
  |  |  416|    303|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|    303|    Py_ssize_t i; \
  |  |  418|    303|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|    628|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    628|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.25k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 64, False: 564]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 325, False: 303]
  |  |  ------------------
  |  |  420|    325|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    325|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    325|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|    325|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 325, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 325]
  |  |  ------------------
  |  |  422|    325|            return 0; \
  |  |  423|    325|    } \
  |  |  424|    303|}
  ------------------
  792|    303|        CALL_SEQ(astfold_stmt, stmt, node_->v.Try.orelse);
  ------------------
  |  |  416|    303|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|    303|    Py_ssize_t i; \
  |  |  418|    303|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|    392|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    392|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    784|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 255, False: 137]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 89, False: 303]
  |  |  ------------------
  |  |  420|     89|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|     89|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     89|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|     89|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 89, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 89]
  |  |  ------------------
  |  |  422|     89|            return 0; \
  |  |  423|     89|    } \
  |  |  424|    303|}
  ------------------
  793|    303|        BEFORE_FINALLY(state, node_);
  ------------------
  |  |  116|    303|#define BEFORE_FINALLY(S, N)    PUSH_CONTEXT((S), (N), true, false, false)
  |  |  ------------------
  |  |  |  |  110|    303|    if (!push_cf_context((S), (N), (FINALLY), (FUNCDEF), (LOOP))) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (110:9): [True: 0, False: 303]
  |  |  |  |  ------------------
  |  |  |  |  111|      0|        return 0; \
  |  |  |  |  112|      0|    }
  |  |  ------------------
  ------------------
  794|    303|        CALL_SEQ(astfold_stmt, stmt, node_->v.Try.finalbody);
  ------------------
  |  |  416|    303|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|    303|    Py_ssize_t i; \
  |  |  418|    303|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|    411|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    411|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    822|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 230, False: 181]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 108, False: 303]
  |  |  ------------------
  |  |  420|    108|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    108|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    108|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|    108|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 108, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 108]
  |  |  ------------------
  |  |  422|    108|            return 0; \
  |  |  423|    108|    } \
  |  |  424|    303|}
  ------------------
  795|    303|        AFTER_FINALLY(state);
  ------------------
  |  |  117|    303|#define AFTER_FINALLY(S)        POP_CONTEXT(S)
  |  |  ------------------
  |  |  |  |  114|    303|#define POP_CONTEXT(S) pop_cf_context(S)
  |  |  ------------------
  ------------------
  796|    303|        break;
  797|    303|    }
  798|      0|    case TryStar_kind: {
  ------------------
  |  Branch (798:5): [True: 0, False: 14.0k]
  ------------------
  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|     49|    case Assert_kind:
  ------------------
  |  Branch (807:5): [True: 49, False: 14.0k]
  ------------------
  808|     49|        CALL(astfold_expr, expr_ty, node_->v.Assert.test);
  ------------------
  |  |  409|     49|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 49]
  |  |  ------------------
  |  |  410|     49|        return 0;
  ------------------
  809|     49|        CALL_OPT(astfold_expr, expr_ty, node_->v.Assert.msg);
  ------------------
  |  |  413|     49|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 16, False: 33]
  |  |  |  Branch (413:26): [True: 0, False: 16]
  |  |  ------------------
  |  |  414|     49|        return 0;
  ------------------
  810|     49|        break;
  811|  2.73k|    case Expr_kind:
  ------------------
  |  Branch (811:5): [True: 2.73k, False: 11.3k]
  ------------------
  812|  2.73k|        CALL(astfold_expr, expr_ty, node_->v.Expr.value);
  ------------------
  |  |  409|  2.73k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 2.73k]
  |  |  ------------------
  |  |  410|  2.73k|        return 0;
  ------------------
  813|  2.73k|        break;
  814|      1|    case Match_kind:
  ------------------
  |  Branch (814:5): [True: 1, False: 14.0k]
  ------------------
  815|      1|        CALL(astfold_expr, expr_ty, node_->v.Match.subject);
  ------------------
  |  |  409|      1|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 1]
  |  |  ------------------
  |  |  410|      1|        return 0;
  ------------------
  816|      1|        CALL_SEQ(astfold_match_case, match_case, node_->v.Match.cases);
  ------------------
  |  |  416|      1|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      1|    Py_ssize_t i; \
  |  |  418|      1|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|      5|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      5|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     10|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 5]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 4, False: 1]
  |  |  ------------------
  |  |  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|      1|}
  ------------------
  817|      1|        break;
  818|     37|    case Break_kind:
  ------------------
  |  Branch (818:5): [True: 37, False: 14.0k]
  ------------------
  819|     37|        BEFORE_LOOP_EXIT(state, node_, "break");
  ------------------
  |  |  129|     37|    if (!before_loop_exit((S), (N), (KW))) { \
  |  |  ------------------
  |  |  |  Branch (129:9): [True: 0, False: 37]
  |  |  ------------------
  |  |  130|      0|        return 0; \
  |  |  131|      0|    }
  ------------------
  820|     37|        break;
  821|     43|    case Continue_kind:
  ------------------
  |  Branch (821:5): [True: 43, False: 14.0k]
  ------------------
  822|     43|        BEFORE_LOOP_EXIT(state, node_, "continue");
  ------------------
  |  |  129|     43|    if (!before_loop_exit((S), (N), (KW))) { \
  |  |  ------------------
  |  |  |  Branch (129:9): [True: 0, False: 43]
  |  |  ------------------
  |  |  130|      0|        return 0; \
  |  |  131|      0|    }
  ------------------
  823|     43|        break;
  824|       |    // The following statements don't contain any subexpressions to be folded
  825|    185|    case Import_kind:
  ------------------
  |  Branch (825:5): [True: 185, False: 13.8k]
  ------------------
  826|    447|    case ImportFrom_kind:
  ------------------
  |  Branch (826:5): [True: 262, False: 13.8k]
  ------------------
  827|    455|    case Global_kind:
  ------------------
  |  Branch (827:5): [True: 8, False: 14.0k]
  ------------------
  828|    458|    case Nonlocal_kind:
  ------------------
  |  Branch (828:5): [True: 3, False: 14.0k]
  ------------------
  829|    525|    case Pass_kind:
  ------------------
  |  Branch (829:5): [True: 67, False: 13.9k]
  ------------------
  830|    525|        break;
  831|       |    // No default case, so the compiler will emit a warning if new statement
  832|       |    // kinds are added without being handled here
  833|  14.0k|    }
  834|  14.0k|    LEAVE_RECURSIVE();
  ------------------
  |  |   34|  14.0k|#define LEAVE_RECURSIVE() Py_LeaveRecursiveCall();
  ------------------
  835|  14.0k|    return 1;
  836|  14.0k|}
ast_preprocess.c:astfold_arguments:
  663|  1.95k|{
  664|  1.95k|    CALL_SEQ(astfold_arg, arg, node_->posonlyargs);
  ------------------
  |  |  416|  1.95k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  1.95k|    Py_ssize_t i; \
  |  |  418|  1.95k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  2.00k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  2.00k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  4.00k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 2.00k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 47, False: 1.95k]
  |  |  ------------------
  |  |  420|     47|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|     47|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     47|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|     47|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 47, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 47]
  |  |  ------------------
  |  |  422|     47|            return 0; \
  |  |  423|     47|    } \
  |  |  424|  1.95k|}
  ------------------
  665|  1.95k|    CALL_SEQ(astfold_arg, arg, node_->args);
  ------------------
  |  |  416|  1.95k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  1.95k|    Py_ssize_t i; \
  |  |  418|  1.95k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  6.18k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  6.18k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  12.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 6.18k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 4.22k, False: 1.95k]
  |  |  ------------------
  |  |  420|  4.22k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  4.22k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  4.22k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  4.22k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 4.22k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 4.22k]
  |  |  ------------------
  |  |  422|  4.22k|            return 0; \
  |  |  423|  4.22k|    } \
  |  |  424|  1.95k|}
  ------------------
  666|  1.95k|    CALL_OPT(astfold_arg, arg_ty, node_->vararg);
  ------------------
  |  |  413|  1.95k|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 107, False: 1.84k]
  |  |  |  Branch (413:26): [True: 0, False: 107]
  |  |  ------------------
  |  |  414|  1.95k|        return 0;
  ------------------
  667|  1.95k|    CALL_SEQ(astfold_arg, arg, node_->kwonlyargs);
  ------------------
  |  |  416|  1.95k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  1.95k|    Py_ssize_t i; \
  |  |  418|  1.95k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  2.33k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  2.33k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  4.66k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 2.33k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 377, False: 1.95k]
  |  |  ------------------
  |  |  420|    377|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    377|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    377|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|    377|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 377, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 377]
  |  |  ------------------
  |  |  422|    377|            return 0; \
  |  |  423|    377|    } \
  |  |  424|  1.95k|}
  ------------------
  668|  1.95k|    CALL_SEQ(astfold_expr, expr, node_->kw_defaults);
  ------------------
  |  |  416|  1.95k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  1.95k|    Py_ssize_t i; \
  |  |  418|  1.95k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  2.33k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  2.33k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  4.66k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 2.33k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 377, False: 1.95k]
  |  |  ------------------
  |  |  420|    377|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    377|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    377|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|    377|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 373, False: 4]
  |  |  |  Branch (421:28): [True: 0, False: 373]
  |  |  ------------------
  |  |  422|    377|            return 0; \
  |  |  423|    377|    } \
  |  |  424|  1.95k|}
  ------------------
  669|  1.95k|    CALL_OPT(astfold_arg, arg_ty, node_->kwarg);
  ------------------
  |  |  413|  1.95k|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 101, False: 1.85k]
  |  |  |  Branch (413:26): [True: 0, False: 101]
  |  |  ------------------
  |  |  414|  1.95k|        return 0;
  ------------------
  670|  1.95k|    CALL_SEQ(astfold_expr, expr, node_->defaults);
  ------------------
  |  |  416|  1.95k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  1.95k|    Py_ssize_t i; \
  |  |  418|  1.95k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  2.46k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  2.46k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  4.92k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 2.46k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 509, False: 1.95k]
  |  |  ------------------
  |  |  420|    509|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    509|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    509|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|    509|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 509, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 509]
  |  |  ------------------
  |  |  422|    509|            return 0; \
  |  |  423|    509|    } \
  |  |  424|  1.95k|}
  ------------------
  671|  1.95k|    return 1;
  672|  1.95k|}
ast_preprocess.c:astfold_arg:
  676|  4.85k|{
  677|  4.85k|    if (!(state->ff_features & CO_FUTURE_ANNOTATIONS)) {
  ------------------
  |  |  143|  4.85k|#define CO_FUTURE_ANNOTATIONS    0x1000000
  ------------------
  |  Branch (677:9): [True: 4.85k, False: 0]
  ------------------
  678|  4.85k|        CALL_OPT(astfold_expr, expr_ty, node_->annotation);
  ------------------
  |  |  413|  4.85k|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 41, False: 4.81k]
  |  |  |  Branch (413:26): [True: 0, False: 41]
  |  |  ------------------
  |  |  414|  4.85k|        return 0;
  ------------------
  679|  4.85k|    }
  680|  4.85k|    return 1;
  681|  4.85k|}
ast_preprocess.c:push_cf_context:
   45|  2.43k|{
   46|  2.43k|    if (_Py_CArray_EnsureCapacity(&state->cf_finally, state->cf_finally_used+1) < 0) {
  ------------------
  |  Branch (46:9): [True: 0, False: 2.43k]
  ------------------
   47|      0|        return 0;
   48|      0|    }
   49|       |
   50|  2.43k|    state->cf_finally_used++;
   51|  2.43k|    ControlFlowInFinallyContext *ctx = get_cf_finally_top(state);
   52|       |
   53|  2.43k|    ctx->in_finally = finally;
   54|  2.43k|    ctx->in_funcdef = funcdef;
   55|  2.43k|    ctx->in_loop = loop;
   56|  2.43k|    return 1;
   57|  2.43k|}
ast_preprocess.c:get_cf_finally_top:
   38|  4.00k|{
   39|  4.00k|    int idx = state->cf_finally_used;
   40|  4.00k|    return ((ControlFlowInFinallyContext*)state->cf_finally.array) + idx;
   41|  4.00k|}
ast_preprocess.c:pop_cf_context:
   61|  2.43k|{
   62|       |    assert(state->cf_finally_used > 0);
   63|  2.43k|    state->cf_finally_used--;
   64|  2.43k|}
ast_preprocess.c:astfold_keyword:
  647|    692|{
  648|    692|    CALL(astfold_expr, expr_ty, node_->value);
  ------------------
  |  |  409|    692|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 692]
  |  |  ------------------
  |  |  410|    692|        return 0;
  ------------------
  649|    692|    return 1;
  650|    692|}
ast_preprocess.c:before_return:
   83|  1.50k|{
   84|  1.50k|    if (state->enable_warnings && state->cf_finally_used > 0) {
  ------------------
  |  Branch (84:9): [True: 1.49k, False: 8]
  |  Branch (84:35): [True: 1.49k, False: 0]
  ------------------
   85|  1.49k|        ControlFlowInFinallyContext *ctx = get_cf_finally_top(state);
   86|  1.49k|        if (ctx->in_finally && ! ctx->in_funcdef) {
  ------------------
  |  Branch (86:13): [True: 0, False: 1.49k]
  |  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|  1.49k|    }
   92|  1.50k|    return 1;
   93|  1.50k|}
ast_preprocess.c:astfold_withitem:
  854|     51|{
  855|     51|    CALL(astfold_expr, expr_ty, node_->context_expr);
  ------------------
  |  |  409|     51|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 51]
  |  |  ------------------
  |  |  410|     51|        return 0;
  ------------------
  856|     51|    CALL_OPT(astfold_expr, expr_ty, node_->optional_vars);
  ------------------
  |  |  413|     51|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 8, False: 43]
  |  |  |  Branch (413:26): [True: 0, False: 8]
  |  |  ------------------
  |  |  414|     51|        return 0;
  ------------------
  857|     51|    return 1;
  858|     51|}
ast_preprocess.c:astfold_excepthandler:
  840|    325|{
  841|    325|    switch (node_->kind) {
  ------------------
  |  Branch (841:13): [True: 325, False: 0]
  ------------------
  842|    325|    case ExceptHandler_kind:
  ------------------
  |  Branch (842:5): [True: 325, False: 0]
  ------------------
  843|    325|        CALL_OPT(astfold_expr, expr_ty, node_->v.ExceptHandler.type);
  ------------------
  |  |  413|    325|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 309, False: 16]
  |  |  |  Branch (413:26): [True: 0, False: 309]
  |  |  ------------------
  |  |  414|    325|        return 0;
  ------------------
  844|    325|        CALL_SEQ(astfold_stmt, stmt, node_->v.ExceptHandler.body);
  ------------------
  |  |  416|    325|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|    325|    Py_ssize_t i; \
  |  |  418|    325|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|    787|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    787|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.57k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 787]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 462, False: 325]
  |  |  ------------------
  |  |  420|    462|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    462|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    462|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|    462|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 462, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 462]
  |  |  ------------------
  |  |  422|    462|            return 0; \
  |  |  423|    462|    } \
  |  |  424|    325|}
  ------------------
  845|    325|        break;
  846|       |    // No default case, so the compiler will emit a warning if new handler
  847|       |    // kinds are added without being handled here
  848|    325|    }
  849|    325|    return 1;
  850|    325|}
ast_preprocess.c:astfold_match_case:
  945|      4|{
  946|      4|    CALL(astfold_pattern, expr_ty, node_->pattern);
  ------------------
  |  |  409|      4|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 4]
  |  |  ------------------
  |  |  410|      4|        return 0;
  ------------------
  947|      4|    CALL_OPT(astfold_expr, expr_ty, node_->guard);
  ------------------
  |  |  413|      4|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 0, False: 4]
  |  |  |  Branch (413:26): [True: 0, False: 0]
  |  |  ------------------
  |  |  414|      4|        return 0;
  ------------------
  948|      4|    CALL_SEQ(astfold_stmt, stmt, node_->body);
  ------------------
  |  |  416|      4|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      4|    Py_ssize_t i; \
  |  |  418|      4|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|     11|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|     11|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     22|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 11]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 7, False: 4]
  |  |  ------------------
  |  |  420|      7|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      7|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      7|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      7|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 7, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 7]
  |  |  ------------------
  |  |  422|      7|            return 0; \
  |  |  423|      7|    } \
  |  |  424|      4|}
  ------------------
  949|      4|    return 1;
  950|      4|}
ast_preprocess.c:astfold_pattern:
  903|      4|{
  904|       |    // Currently, this is really only used to form complex/negative numeric
  905|       |    // constants in MatchValue and MatchMapping nodes
  906|       |    // We still recurse into all subexpressions and subpatterns anyway
  907|      4|    ENTER_RECURSIVE();
  ------------------
  |  |   29|      4|#define ENTER_RECURSIVE() \
  |  |   30|      4|if (Py_EnterRecursiveCall(" during compilation")) { \
  |  |  ------------------
  |  |  |  Branch (30:5): [True: 0, False: 4]
  |  |  ------------------
  |  |   31|      0|    return 0; \
  |  |   32|      0|}
  ------------------
  908|      4|    switch (node_->kind) {
  ------------------
  |  Branch (908:13): [True: 4, False: 0]
  ------------------
  909|      4|        case MatchValue_kind:
  ------------------
  |  Branch (909:9): [True: 4, False: 0]
  ------------------
  910|      4|            CALL(fold_const_match_patterns, expr_ty, node_->v.MatchValue.value);
  ------------------
  |  |  409|      4|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 4]
  |  |  ------------------
  |  |  410|      4|        return 0;
  ------------------
  911|      4|            break;
  912|      0|        case MatchSingleton_kind:
  ------------------
  |  Branch (912:9): [True: 0, False: 4]
  ------------------
  913|      0|            break;
  914|      0|        case MatchSequence_kind:
  ------------------
  |  Branch (914:9): [True: 0, False: 4]
  ------------------
  915|      0|            CALL_SEQ(astfold_pattern, pattern, node_->v.MatchSequence.patterns);
  ------------------
  |  |  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|}
  ------------------
  916|      0|            break;
  917|      0|        case MatchMapping_kind:
  ------------------
  |  Branch (917:9): [True: 0, False: 4]
  ------------------
  918|      0|            CALL_SEQ(fold_const_match_patterns, expr, node_->v.MatchMapping.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|}
  ------------------
  919|      0|            CALL_SEQ(astfold_pattern, pattern, node_->v.MatchMapping.patterns);
  ------------------
  |  |  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|}
  ------------------
  920|      0|            break;
  921|      0|        case MatchClass_kind:
  ------------------
  |  Branch (921:9): [True: 0, False: 4]
  ------------------
  922|      0|            CALL(astfold_expr, expr_ty, node_->v.MatchClass.cls);
  ------------------
  |  |  409|      0|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  410|      0|        return 0;
  ------------------
  923|      0|            CALL_SEQ(astfold_pattern, pattern, node_->v.MatchClass.patterns);
  ------------------
  |  |  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|}
  ------------------
  924|      0|            CALL_SEQ(astfold_pattern, pattern, node_->v.MatchClass.kwd_patterns);
  ------------------
  |  |  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|}
  ------------------
  925|      0|            break;
  926|      0|        case MatchStar_kind:
  ------------------
  |  Branch (926:9): [True: 0, False: 4]
  ------------------
  927|      0|            break;
  928|      0|        case MatchAs_kind:
  ------------------
  |  Branch (928:9): [True: 0, False: 4]
  ------------------
  929|      0|            if (node_->v.MatchAs.pattern) {
  ------------------
  |  Branch (929:17): [True: 0, False: 0]
  ------------------
  930|      0|                CALL(astfold_pattern, pattern_ty, node_->v.MatchAs.pattern);
  ------------------
  |  |  409|      0|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  410|      0|        return 0;
  ------------------
  931|      0|            }
  932|      0|            break;
  933|      0|        case MatchOr_kind:
  ------------------
  |  Branch (933:9): [True: 0, False: 4]
  ------------------
  934|      0|            CALL_SEQ(astfold_pattern, pattern, node_->v.MatchOr.patterns);
  ------------------
  |  |  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|}
  ------------------
  935|      0|            break;
  936|       |    // No default case, so the compiler will emit a warning if new pattern
  937|       |    // kinds are added without being handled here
  938|      4|    }
  939|      4|    LEAVE_RECURSIVE();
  ------------------
  |  |   34|      4|#define LEAVE_RECURSIVE() Py_LeaveRecursiveCall();
  ------------------
  940|      4|    return 1;
  941|      4|}
ast_preprocess.c:fold_const_match_patterns:
  862|      4|{
  863|      4|    if (state->syntax_check_only) {
  ------------------
  |  Branch (863:9): [True: 0, False: 4]
  ------------------
  864|      0|        return 1;
  865|      0|    }
  866|      4|    switch (node->kind)
  867|      4|    {
  868|      0|        case UnaryOp_kind:
  ------------------
  |  Branch (868:9): [True: 0, False: 4]
  ------------------
  869|      0|        {
  870|      0|            if (node->v.UnaryOp.op == USub &&
  ------------------
  |  Branch (870:17): [True: 0, False: 0]
  ------------------
  871|      0|                node->v.UnaryOp.operand->kind == Constant_kind)
  ------------------
  |  Branch (871:17): [True: 0, False: 0]
  ------------------
  872|      0|            {
  873|      0|                PyObject *operand = node->v.UnaryOp.operand->v.Constant.value;
  874|      0|                PyObject *folded = PyNumber_Negative(operand);
  875|      0|                return make_const(node, folded, ctx_);
  876|      0|            }
  877|      0|            break;
  878|      0|        }
  879|      0|        case BinOp_kind:
  ------------------
  |  Branch (879:9): [True: 0, False: 4]
  ------------------
  880|      0|        {
  881|      0|            operator_ty op = node->v.BinOp.op;
  882|      0|            if ((op == Add || op == Sub) &&
  ------------------
  |  Branch (882:18): [True: 0, False: 0]
  |  Branch (882:31): [True: 0, False: 0]
  ------------------
  883|      0|                node->v.BinOp.right->kind == Constant_kind)
  ------------------
  |  Branch (883:17): [True: 0, False: 0]
  ------------------
  884|      0|            {
  885|      0|                CALL(fold_const_match_patterns, expr_ty, node->v.BinOp.left);
  ------------------
  |  |  409|      0|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  410|      0|        return 0;
  ------------------
  886|      0|                if (node->v.BinOp.left->kind == Constant_kind) {
  ------------------
  |  Branch (886:21): [True: 0, False: 0]
  ------------------
  887|      0|                    PyObject *left = node->v.BinOp.left->v.Constant.value;
  888|      0|                    PyObject *right = node->v.BinOp.right->v.Constant.value;
  889|      0|                    PyObject *folded = op == Add ? PyNumber_Add(left, right) : PyNumber_Subtract(left, right);
  ------------------
  |  Branch (889:40): [True: 0, False: 0]
  ------------------
  890|      0|                    return make_const(node, folded, ctx_);
  891|      0|                }
  892|      0|            }
  893|      0|            break;
  894|      0|        }
  895|      4|        default:
  ------------------
  |  Branch (895:9): [True: 4, False: 0]
  ------------------
  896|      4|            break;
  897|      4|    }
  898|      4|    return 1;
  899|      4|}
ast_preprocess.c:make_const:
  135|      1|{
  136|       |    // Even if no new value was calculated, make_const may still
  137|       |    // need to clear an error (e.g. for division by zero)
  138|      1|    if (val == NULL) {
  ------------------
  |  Branch (138:9): [True: 0, False: 1]
  ------------------
  139|      0|        if (PyErr_ExceptionMatches(PyExc_KeyboardInterrupt)) {
  ------------------
  |  Branch (139:13): [True: 0, False: 0]
  ------------------
  140|      0|            return 0;
  141|      0|        }
  142|      0|        PyErr_Clear();
  143|      0|        return 1;
  144|      0|    }
  145|      1|    if (_PyArena_AddPyObject(arena, val) < 0) {
  ------------------
  |  Branch (145:9): [True: 0, False: 1]
  ------------------
  146|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  147|      0|        return 0;
  148|      0|    }
  149|      1|    node->kind = Constant_kind;
  150|       |    node->v.Constant.kind = NULL;
  151|      1|    node->v.Constant.value = val;
  152|      1|    return 1;
  153|      1|}
ast_preprocess.c:before_loop_exit:
   97|     80|{
   98|     80|    if (state->enable_warnings && state->cf_finally_used > 0) {
  ------------------
  |  Branch (98:9): [True: 80, False: 0]
  |  Branch (98:35): [True: 80, False: 0]
  ------------------
   99|     80|        ControlFlowInFinallyContext *ctx = get_cf_finally_top(state);
  100|     80|        if (ctx->in_finally && ! ctx->in_loop) {
  ------------------
  |  Branch (100:13): [True: 0, False: 80]
  |  Branch (100:32): [True: 0, False: 0]
  ------------------
  101|      0|            if (!control_flow_in_finally_warning(kw, node_, state)) {
  ------------------
  |  Branch (101:17): [True: 0, False: 0]
  ------------------
  102|      0|                return 0;
  103|      0|            }
  104|      0|        }
  105|     80|    }
  106|     80|    return 1;
  107|     80|}
ast_preprocess.c:astfold_expr:
  520|  52.4k|{
  521|  52.4k|    ENTER_RECURSIVE();
  ------------------
  |  |   29|  52.4k|#define ENTER_RECURSIVE() \
  |  |   30|  52.4k|if (Py_EnterRecursiveCall(" during compilation")) { \
  |  |  ------------------
  |  |  |  Branch (30:5): [True: 0, False: 52.4k]
  |  |  ------------------
  |  |   31|      0|    return 0; \
  |  |   32|      0|}
  ------------------
  522|  52.4k|    switch (node_->kind) {
  ------------------
  |  Branch (522:13): [True: 52.4k, False: 0]
  ------------------
  523|    488|    case BoolOp_kind:
  ------------------
  |  Branch (523:5): [True: 488, False: 51.9k]
  ------------------
  524|    488|        CALL_SEQ(astfold_expr, expr, node_->v.BoolOp.values);
  ------------------
  |  |  416|    488|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|    488|    Py_ssize_t i; \
  |  |  418|    488|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  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.27k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 1.63k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 1.14k, False: 488]
  |  |  ------------------
  |  |  420|  1.14k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  1.14k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.14k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  1.14k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 1.14k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 1.14k]
  |  |  ------------------
  |  |  422|  1.14k|            return 0; \
  |  |  423|  1.14k|    } \
  |  |  424|    488|}
  ------------------
  525|    488|        break;
  526|    545|    case BinOp_kind:
  ------------------
  |  Branch (526:5): [True: 545, False: 51.9k]
  ------------------
  527|    545|        CALL(astfold_expr, expr_ty, node_->v.BinOp.left);
  ------------------
  |  |  409|    545|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 545]
  |  |  ------------------
  |  |  410|    545|        return 0;
  ------------------
  528|    545|        CALL(astfold_expr, expr_ty, node_->v.BinOp.right);
  ------------------
  |  |  409|    545|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 545]
  |  |  ------------------
  |  |  410|    545|        return 0;
  ------------------
  529|    545|        CALL(fold_binop, expr_ty, node_);
  ------------------
  |  |  409|    545|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 545]
  |  |  ------------------
  |  |  410|    545|        return 0;
  ------------------
  530|    545|        break;
  531|    473|    case UnaryOp_kind:
  ------------------
  |  Branch (531:5): [True: 473, False: 51.9k]
  ------------------
  532|    473|        CALL(astfold_expr, expr_ty, node_->v.UnaryOp.operand);
  ------------------
  |  |  409|    473|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 473]
  |  |  ------------------
  |  |  410|    473|        return 0;
  ------------------
  533|    473|        break;
  534|     87|    case Lambda_kind:
  ------------------
  |  Branch (534:5): [True: 87, False: 52.3k]
  ------------------
  535|     87|        CALL(astfold_arguments, arguments_ty, node_->v.Lambda.args);
  ------------------
  |  |  409|     87|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 87]
  |  |  ------------------
  |  |  410|     87|        return 0;
  ------------------
  536|     87|        CALL(astfold_expr, expr_ty, node_->v.Lambda.body);
  ------------------
  |  |  409|     87|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 87]
  |  |  ------------------
  |  |  410|     87|        return 0;
  ------------------
  537|     87|        break;
  538|     48|    case IfExp_kind:
  ------------------
  |  Branch (538:5): [True: 48, False: 52.4k]
  ------------------
  539|     48|        CALL(astfold_expr, expr_ty, node_->v.IfExp.test);
  ------------------
  |  |  409|     48|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 48]
  |  |  ------------------
  |  |  410|     48|        return 0;
  ------------------
  540|     48|        CALL(astfold_expr, expr_ty, node_->v.IfExp.body);
  ------------------
  |  |  409|     48|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 48]
  |  |  ------------------
  |  |  410|     48|        return 0;
  ------------------
  541|     48|        CALL(astfold_expr, expr_ty, node_->v.IfExp.orelse);
  ------------------
  |  |  409|     48|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 48]
  |  |  ------------------
  |  |  410|     48|        return 0;
  ------------------
  542|     48|        break;
  543|     79|    case Dict_kind:
  ------------------
  |  Branch (543:5): [True: 79, False: 52.3k]
  ------------------
  544|     79|        CALL_SEQ(astfold_expr, expr, node_->v.Dict.keys);
  ------------------
  |  |  416|     79|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|     79|    Py_ssize_t i; \
  |  |  418|     79|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|    184|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    184|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    368|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 184]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 105, False: 79]
  |  |  ------------------
  |  |  420|    105|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    105|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    105|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|    105|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 105, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 105]
  |  |  ------------------
  |  |  422|    105|            return 0; \
  |  |  423|    105|    } \
  |  |  424|     79|}
  ------------------
  545|     79|        CALL_SEQ(astfold_expr, expr, node_->v.Dict.values);
  ------------------
  |  |  416|     79|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|     79|    Py_ssize_t i; \
  |  |  418|     79|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|    184|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    184|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    368|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 184]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 105, False: 79]
  |  |  ------------------
  |  |  420|    105|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    105|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    105|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|    105|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 105, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 105]
  |  |  ------------------
  |  |  422|    105|            return 0; \
  |  |  423|    105|    } \
  |  |  424|     79|}
  ------------------
  546|     79|        break;
  547|     67|    case Set_kind:
  ------------------
  |  Branch (547:5): [True: 67, False: 52.3k]
  ------------------
  548|     67|        CALL_SEQ(astfold_expr, expr, node_->v.Set.elts);
  ------------------
  |  |  416|     67|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|     67|    Py_ssize_t i; \
  |  |  418|     67|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|    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 (419:17): [True: 319, False: 67]
  |  |  ------------------
  |  |  420|    319|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    319|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    319|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|    319|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 319, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 319]
  |  |  ------------------
  |  |  422|    319|            return 0; \
  |  |  423|    319|    } \
  |  |  424|     67|}
  ------------------
  549|     67|        break;
  550|     35|    case ListComp_kind:
  ------------------
  |  Branch (550:5): [True: 35, False: 52.4k]
  ------------------
  551|     35|        CALL(astfold_expr, expr_ty, node_->v.ListComp.elt);
  ------------------
  |  |  409|     35|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 35]
  |  |  ------------------
  |  |  410|     35|        return 0;
  ------------------
  552|     35|        CALL_SEQ(astfold_comprehension, comprehension, node_->v.ListComp.generators);
  ------------------
  |  |  416|     35|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|     35|    Py_ssize_t i; \
  |  |  418|     35|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|     71|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|     71|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    142|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 71]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 36, False: 35]
  |  |  ------------------
  |  |  420|     36|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|     36|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     36|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|     36|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 36, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 36]
  |  |  ------------------
  |  |  422|     36|            return 0; \
  |  |  423|     36|    } \
  |  |  424|     35|}
  ------------------
  553|     35|        break;
  554|      7|    case SetComp_kind:
  ------------------
  |  Branch (554:5): [True: 7, False: 52.4k]
  ------------------
  555|      7|        CALL(astfold_expr, expr_ty, node_->v.SetComp.elt);
  ------------------
  |  |  409|      7|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 7]
  |  |  ------------------
  |  |  410|      7|        return 0;
  ------------------
  556|      7|        CALL_SEQ(astfold_comprehension, comprehension, node_->v.SetComp.generators);
  ------------------
  |  |  416|      7|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      7|    Py_ssize_t i; \
  |  |  418|      7|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|     14|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|     14|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     28|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 14]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 7, False: 7]
  |  |  ------------------
  |  |  420|      7|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      7|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      7|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      7|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 7, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 7]
  |  |  ------------------
  |  |  422|      7|            return 0; \
  |  |  423|      7|    } \
  |  |  424|      7|}
  ------------------
  557|      7|        break;
  558|      2|    case DictComp_kind:
  ------------------
  |  Branch (558:5): [True: 2, False: 52.4k]
  ------------------
  559|      2|        CALL(astfold_expr, expr_ty, node_->v.DictComp.key);
  ------------------
  |  |  409|      2|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  410|      2|        return 0;
  ------------------
  560|      2|        if (node_->v.DictComp.value != NULL){
  ------------------
  |  Branch (560:13): [True: 2, False: 0]
  ------------------
  561|      2|            CALL(astfold_expr, expr_ty, node_->v.DictComp.value);
  ------------------
  |  |  409|      2|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  410|      2|        return 0;
  ------------------
  562|      2|        }
  563|      2|        CALL_SEQ(astfold_comprehension, comprehension, node_->v.DictComp.generators);
  ------------------
  |  |  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|      4|    for (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 (419:17): [True: 2, False: 2]
  |  |  ------------------
  |  |  420|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      2|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 2, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 2]
  |  |  ------------------
  |  |  422|      2|            return 0; \
  |  |  423|      2|    } \
  |  |  424|      2|}
  ------------------
  564|      2|        break;
  565|     32|    case GeneratorExp_kind:
  ------------------
  |  Branch (565:5): [True: 32, False: 52.4k]
  ------------------
  566|     32|        CALL(astfold_expr, expr_ty, node_->v.GeneratorExp.elt);
  ------------------
  |  |  409|     32|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 32]
  |  |  ------------------
  |  |  410|     32|        return 0;
  ------------------
  567|     32|        CALL_SEQ(astfold_comprehension, comprehension, node_->v.GeneratorExp.generators);
  ------------------
  |  |  416|     32|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|     32|    Py_ssize_t i; \
  |  |  418|     32|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|     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 (419:17): [True: 32, False: 32]
  |  |  ------------------
  |  |  420|     32|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|     32|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     32|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|     32|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 32, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 32]
  |  |  ------------------
  |  |  422|     32|            return 0; \
  |  |  423|     32|    } \
  |  |  424|     32|}
  ------------------
  568|     32|        break;
  569|    123|    case Await_kind:
  ------------------
  |  Branch (569:5): [True: 123, False: 52.3k]
  ------------------
  570|    123|        CALL(astfold_expr, expr_ty, node_->v.Await.value);
  ------------------
  |  |  409|    123|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 123]
  |  |  ------------------
  |  |  410|    123|        return 0;
  ------------------
  571|    123|        break;
  572|     57|    case Yield_kind:
  ------------------
  |  Branch (572:5): [True: 57, False: 52.3k]
  ------------------
  573|     57|        CALL_OPT(astfold_expr, expr_ty, node_->v.Yield.value);
  ------------------
  |  |  413|     57|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 53, False: 4]
  |  |  |  Branch (413:26): [True: 0, False: 53]
  |  |  ------------------
  |  |  414|     57|        return 0;
  ------------------
  574|     57|        break;
  575|     11|    case YieldFrom_kind:
  ------------------
  |  Branch (575:5): [True: 11, False: 52.4k]
  ------------------
  576|     11|        CALL(astfold_expr, expr_ty, node_->v.YieldFrom.value);
  ------------------
  |  |  409|     11|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 11]
  |  |  ------------------
  |  |  410|     11|        return 0;
  ------------------
  577|     11|        break;
  578|  1.73k|    case Compare_kind:
  ------------------
  |  Branch (578:5): [True: 1.73k, False: 50.7k]
  ------------------
  579|  1.73k|        CALL(astfold_expr, expr_ty, node_->v.Compare.left);
  ------------------
  |  |  409|  1.73k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 1.73k]
  |  |  ------------------
  |  |  410|  1.73k|        return 0;
  ------------------
  580|  1.73k|        CALL_SEQ(astfold_expr, expr, node_->v.Compare.comparators);
  ------------------
  |  |  416|  1.73k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  1.73k|    Py_ssize_t i; \
  |  |  418|  1.73k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  3.47k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  3.47k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  6.94k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 3.47k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 1.73k, False: 1.73k]
  |  |  ------------------
  |  |  420|  1.73k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  1.73k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.73k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  1.73k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 1.73k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 1.73k]
  |  |  ------------------
  |  |  422|  1.73k|            return 0; \
  |  |  423|  1.73k|    } \
  |  |  424|  1.73k|}
  ------------------
  581|  1.73k|        break;
  582|  5.97k|    case Call_kind:
  ------------------
  |  Branch (582:5): [True: 5.97k, False: 46.4k]
  ------------------
  583|  5.97k|        CALL(astfold_expr, expr_ty, node_->v.Call.func);
  ------------------
  |  |  409|  5.97k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 5.97k]
  |  |  ------------------
  |  |  410|  5.97k|        return 0;
  ------------------
  584|  5.97k|        CALL_SEQ(astfold_expr, expr, node_->v.Call.args);
  ------------------
  |  |  416|  5.97k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  5.97k|    Py_ssize_t i; \
  |  |  418|  5.97k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  13.0k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  13.0k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  26.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 1.46k, False: 11.6k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 7.12k, False: 5.97k]
  |  |  ------------------
  |  |  420|  7.12k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  7.12k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  7.12k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  7.12k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 7.12k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 7.12k]
  |  |  ------------------
  |  |  422|  7.12k|            return 0; \
  |  |  423|  7.12k|    } \
  |  |  424|  5.97k|}
  ------------------
  585|  5.97k|        CALL_SEQ(astfold_keyword, keyword, node_->v.Call.keywords);
  ------------------
  |  |  416|  5.97k|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|  5.97k|    Py_ssize_t i; \
  |  |  418|  5.97k|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  6.66k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  6.66k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  13.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 5.57k, False: 1.08k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 692, False: 5.97k]
  |  |  ------------------
  |  |  420|    692|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    692|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    692|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|    692|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 692, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 692]
  |  |  ------------------
  |  |  422|    692|            return 0; \
  |  |  423|    692|    } \
  |  |  424|  5.97k|}
  ------------------
  586|  5.97k|        break;
  587|    743|    case FormattedValue_kind:
  ------------------
  |  Branch (587:5): [True: 743, False: 51.7k]
  ------------------
  588|    743|        CALL(astfold_expr, expr_ty, node_->v.FormattedValue.value);
  ------------------
  |  |  409|    743|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 743]
  |  |  ------------------
  |  |  410|    743|        return 0;
  ------------------
  589|    743|        CALL_OPT(astfold_expr, expr_ty, node_->v.FormattedValue.format_spec);
  ------------------
  |  |  413|    743|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 5, False: 738]
  |  |  |  Branch (413:26): [True: 0, False: 5]
  |  |  ------------------
  |  |  414|    743|        return 0;
  ------------------
  590|    743|        break;
  591|      1|    case Interpolation_kind:
  ------------------
  |  Branch (591:5): [True: 1, False: 52.4k]
  ------------------
  592|      1|        CALL(astfold_expr, expr_ty, node_->v.Interpolation.value);
  ------------------
  |  |  409|      1|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 1]
  |  |  ------------------
  |  |  410|      1|        return 0;
  ------------------
  593|      1|        CALL_OPT(astfold_expr, expr_ty, node_->v.Interpolation.format_spec);
  ------------------
  |  |  413|      1|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 0, False: 1]
  |  |  |  Branch (413:26): [True: 0, False: 0]
  |  |  ------------------
  |  |  414|      1|        return 0;
  ------------------
  594|      1|        break;
  595|    380|    case JoinedStr_kind:
  ------------------
  |  Branch (595:5): [True: 380, False: 52.0k]
  ------------------
  596|    380|        CALL_SEQ(astfold_expr, expr, node_->v.JoinedStr.values);
  ------------------
  |  |  416|    380|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|    380|    Py_ssize_t i; \
  |  |  418|    380|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  1.85k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  1.85k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  3.71k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 1.85k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 1.47k, False: 380]
  |  |  ------------------
  |  |  420|  1.47k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  1.47k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.47k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  1.47k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 1.47k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 1.47k]
  |  |  ------------------
  |  |  422|  1.47k|            return 0; \
  |  |  423|  1.47k|    } \
  |  |  424|    380|}
  ------------------
  597|    380|        break;
  598|      1|    case TemplateStr_kind:
  ------------------
  |  Branch (598:5): [True: 1, False: 52.4k]
  ------------------
  599|      1|        CALL_SEQ(astfold_expr, expr, node_->v.TemplateStr.values);
  ------------------
  |  |  416|      1|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|      1|    Py_ssize_t i; \
  |  |  418|      1|    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: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 1, False: 1]
  |  |  ------------------
  |  |  420|      1|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      1|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      1|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|      1|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 1, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 1]
  |  |  ------------------
  |  |  422|      1|            return 0; \
  |  |  423|      1|    } \
  |  |  424|      1|}
  ------------------
  600|      1|        break;
  601|  8.99k|    case Attribute_kind:
  ------------------
  |  Branch (601:5): [True: 8.99k, False: 43.4k]
  ------------------
  602|  8.99k|        CALL(astfold_expr, expr_ty, node_->v.Attribute.value);
  ------------------
  |  |  409|  8.99k|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 8.99k]
  |  |  ------------------
  |  |  410|  8.99k|        return 0;
  ------------------
  603|  8.99k|        break;
  604|    466|    case Subscript_kind:
  ------------------
  |  Branch (604:5): [True: 466, False: 51.9k]
  ------------------
  605|    466|        CALL(astfold_expr, expr_ty, node_->v.Subscript.value);
  ------------------
  |  |  409|    466|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 466]
  |  |  ------------------
  |  |  410|    466|        return 0;
  ------------------
  606|    466|        CALL(astfold_expr, expr_ty, node_->v.Subscript.slice);
  ------------------
  |  |  409|    466|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 466]
  |  |  ------------------
  |  |  410|    466|        return 0;
  ------------------
  607|    466|        break;
  608|     92|    case Starred_kind:
  ------------------
  |  Branch (608:5): [True: 92, False: 52.3k]
  ------------------
  609|     92|        CALL(astfold_expr, expr_ty, node_->v.Starred.value);
  ------------------
  |  |  409|     92|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 92]
  |  |  ------------------
  |  |  410|     92|        return 0;
  ------------------
  610|     92|        break;
  611|     73|    case Slice_kind:
  ------------------
  |  Branch (611:5): [True: 73, False: 52.3k]
  ------------------
  612|     73|        CALL_OPT(astfold_expr, expr_ty, node_->v.Slice.lower);
  ------------------
  |  |  413|     73|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 44, False: 29]
  |  |  |  Branch (413:26): [True: 0, False: 44]
  |  |  ------------------
  |  |  414|     73|        return 0;
  ------------------
  613|     73|        CALL_OPT(astfold_expr, expr_ty, node_->v.Slice.upper);
  ------------------
  |  |  413|     73|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 40, False: 33]
  |  |  |  Branch (413:26): [True: 0, False: 40]
  |  |  ------------------
  |  |  414|     73|        return 0;
  ------------------
  614|     73|        CALL_OPT(astfold_expr, expr_ty, node_->v.Slice.step);
  ------------------
  |  |  413|     73|    if ((ARG) != NULL && !FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (413:9): [True: 0, False: 73]
  |  |  |  Branch (413:26): [True: 0, False: 0]
  |  |  ------------------
  |  |  414|     73|        return 0;
  ------------------
  615|     73|        break;
  616|    171|    case List_kind:
  ------------------
  |  Branch (616:5): [True: 171, False: 52.2k]
  ------------------
  617|    171|        CALL_SEQ(astfold_expr, expr, node_->v.List.elts);
  ------------------
  |  |  416|    171|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|    171|    Py_ssize_t i; \
  |  |  418|    171|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|    326|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    326|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    652|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 99, False: 227]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 155, False: 171]
  |  |  ------------------
  |  |  420|    155|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    155|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    155|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|    155|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 155, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 155]
  |  |  ------------------
  |  |  422|    155|            return 0; \
  |  |  423|    155|    } \
  |  |  424|    171|}
  ------------------
  618|    171|        break;
  619|    895|    case Tuple_kind:
  ------------------
  |  Branch (619:5): [True: 895, False: 51.5k]
  ------------------
  620|    895|        CALL_SEQ(astfold_expr, expr, node_->v.Tuple.elts);
  ------------------
  |  |  416|    895|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|    895|    Py_ssize_t i; \
  |  |  418|    895|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|  3.30k|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  3.30k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  6.61k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 24, False: 3.28k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 2.41k, False: 895]
  |  |  ------------------
  |  |  420|  2.41k|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  2.41k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  2.41k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|  2.41k|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 2.41k, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 2.41k]
  |  |  ------------------
  |  |  422|  2.41k|            return 0; \
  |  |  423|  2.41k|    } \
  |  |  424|    895|}
  ------------------
  621|    895|        break;
  622|  24.1k|    case Name_kind:
  ------------------
  |  Branch (622:5): [True: 24.1k, False: 28.2k]
  ------------------
  623|  24.1k|        if (state->syntax_check_only) {
  ------------------
  |  Branch (623:13): [True: 144, False: 24.0k]
  ------------------
  624|    144|            break;
  625|    144|        }
  626|  24.0k|        if (node_->v.Name.ctx == Load &&
  ------------------
  |  Branch (626:13): [True: 20.9k, False: 3.06k]
  ------------------
  627|  20.9k|                _PyUnicode_EqualToASCIIString(node_->v.Name.id, "__debug__")) {
  ------------------
  |  Branch (627:17): [True: 1, False: 20.9k]
  ------------------
  628|      1|            LEAVE_RECURSIVE();
  ------------------
  |  |   34|      1|#define LEAVE_RECURSIVE() Py_LeaveRecursiveCall();
  ------------------
  629|      1|            return make_const(node_, PyBool_FromLong(!state->optimize), ctx_);
  630|      1|        }
  631|  24.0k|        break;
  632|  24.0k|    case NamedExpr_kind:
  ------------------
  |  Branch (632:5): [True: 5, False: 52.4k]
  ------------------
  633|      5|        CALL(astfold_expr, expr_ty, node_->v.NamedExpr.value);
  ------------------
  |  |  409|      5|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 5]
  |  |  ------------------
  |  |  410|      5|        return 0;
  ------------------
  634|      5|        break;
  635|  6.67k|    case Constant_kind:
  ------------------
  |  Branch (635:5): [True: 6.67k, False: 45.7k]
  ------------------
  636|       |        // Already a constant, nothing further to do
  637|  6.67k|        break;
  638|       |    // No default case, so the compiler will emit a warning if new expression
  639|       |    // kinds are added without being handled here
  640|  52.4k|    }
  641|  52.4k|    LEAVE_RECURSIVE();
  ------------------
  |  |   34|  52.4k|#define LEAVE_RECURSIVE() Py_LeaveRecursiveCall();
  ------------------
  642|  52.4k|    return 1;
  643|  52.4k|}
ast_preprocess.c:fold_binop:
  372|    545|{
  373|    545|    if (state->syntax_check_only) {
  ------------------
  |  Branch (373:9): [True: 12, False: 533]
  ------------------
  374|     12|        return 1;
  375|     12|    }
  376|    533|    expr_ty lhs, rhs;
  377|    533|    lhs = node->v.BinOp.left;
  378|    533|    rhs = node->v.BinOp.right;
  379|    533|    if (lhs->kind != Constant_kind) {
  ------------------
  |  Branch (379:9): [True: 341, False: 192]
  ------------------
  380|    341|        return 1;
  381|    341|    }
  382|    192|    PyObject *lv = lhs->v.Constant.value;
  383|       |
  384|    192|    if (node->v.BinOp.op == Mod &&
  ------------------
  |  Branch (384:9): [True: 141, False: 51]
  ------------------
  385|    141|        rhs->kind == Tuple_kind &&
  ------------------
  |  Branch (385:9): [True: 84, False: 57]
  ------------------
  386|    192|        PyUnicode_Check(lv) &&
  ------------------
  |  |  103|     84|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|    276|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 84, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  387|     84|        !has_starred(rhs->v.Tuple.elts))
  ------------------
  |  Branch (387:9): [True: 84, False: 0]
  ------------------
  388|     84|    {
  389|     84|        return optimize_format(node, lv, rhs->v.Tuple.elts, arena);
  390|     84|    }
  391|       |
  392|    108|    return 1;
  393|    192|}
ast_preprocess.c:has_starred:
  159|     84|{
  160|     84|    Py_ssize_t n = asdl_seq_LEN(elts);
  ------------------
  |  |   83|     84|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    168|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 84]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  161|    265|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (161:28): [True: 181, False: 84]
  ------------------
  162|    181|        expr_ty e = (expr_ty)asdl_seq_GET(elts, i);
  ------------------
  |  |   82|    181|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    181|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  163|    181|        if (e->kind == Starred_kind) {
  ------------------
  |  Branch (163:13): [True: 0, False: 181]
  ------------------
  164|      0|            return 1;
  165|      0|        }
  166|    181|    }
  167|     84|    return 0;
  168|     84|}
ast_preprocess.c:optimize_format:
  320|     84|{
  321|     84|    Py_ssize_t pos = 0;
  322|     84|    Py_ssize_t cnt = 0;
  323|     84|    asdl_expr_seq *seq = _Py_asdl_expr_seq_new(asdl_seq_LEN(elts) * 2 + 1, arena);
  ------------------
  |  |   83|     84|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    168|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 84]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  324|     84|    if (!seq) {
  ------------------
  |  Branch (324:9): [True: 0, False: 84]
  ------------------
  325|      0|        return 0;
  326|      0|    }
  327|     84|    seq->size = 0;
  328|       |
  329|    231|    while (1) {
  ------------------
  |  Branch (329:12): [True: 231, Folded]
  ------------------
  330|    231|        expr_ty lit = parse_literal(fmt, &pos, arena);
  331|    231|        if (lit) {
  ------------------
  |  Branch (331:13): [True: 151, False: 80]
  ------------------
  332|    151|            asdl_seq_SET(seq, seq->size++, lit);
  ------------------
  |  |   94|    151|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|    151|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  333|    151|        }
  334|     80|        else if (PyErr_Occurred()) {
  ------------------
  |  Branch (334:18): [True: 0, False: 80]
  ------------------
  335|      0|            return 0;
  336|      0|        }
  337|       |
  338|    231|        if (pos >= PyUnicode_GET_LENGTH(fmt)) {
  ------------------
  |  |  299|    231|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    231|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    231|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (338:13): [True: 67, False: 164]
  ------------------
  339|     67|            break;
  340|     67|        }
  341|    164|        if (cnt >= asdl_seq_LEN(elts)) {
  ------------------
  |  |   83|    164|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    328|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 164]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (341:13): [True: 0, False: 164]
  ------------------
  342|       |            // More format units than items.
  343|      0|            return 1;
  344|      0|        }
  345|    164|        assert(PyUnicode_READ_CHAR(fmt, pos) == '%');
  346|    164|        pos++;
  347|    164|        expr_ty expr = parse_format(fmt, &pos, asdl_seq_GET(elts, cnt), arena);
  ------------------
  |  |   82|    164|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    164|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  348|    164|        cnt++;
  349|    164|        if (!expr) {
  ------------------
  |  Branch (349:13): [True: 17, False: 147]
  ------------------
  350|     17|            return !PyErr_Occurred();
  351|     17|        }
  352|    147|        asdl_seq_SET(seq, seq->size++, expr);
  ------------------
  |  |   94|    147|#  define asdl_seq_SET(S, I, V) _Py_RVALUE((S)->typed_elements[(I)] = (V))
  |  |  ------------------
  |  |  |  |  277|    147|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  353|    147|    }
  354|     67|    if (cnt < asdl_seq_LEN(elts)) {
  ------------------
  |  |   83|     67|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    134|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 67]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (354:9): [True: 0, False: 67]
  ------------------
  355|       |        // More items than format units.
  356|      0|        return 1;
  357|      0|    }
  358|     67|    expr_ty res = _PyAST_JoinedStr(seq,
  359|     67|                                   node->lineno, node->col_offset,
  360|     67|                                   node->end_lineno, node->end_col_offset,
  361|     67|                                   arena);
  362|     67|    if (!res) {
  ------------------
  |  Branch (362:9): [True: 0, False: 67]
  ------------------
  363|      0|        return 0;
  364|      0|    }
  365|     67|    COPY_NODE(node, res);
  ------------------
  |  |  155|     67|#define COPY_NODE(TO, FROM) (memcpy((TO), (FROM), sizeof(struct _expr)))
  ------------------
  366|       |//     PySys_FormatStderr("format = %R\n", fmt);
  367|     67|    return 1;
  368|     67|}
ast_preprocess.c:parse_literal:
  172|    231|{
  173|    231|    const void *data = PyUnicode_DATA(fmt);
  ------------------
  |  |  284|    231|#define PyUnicode_DATA(op) _PyUnicode_DATA(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    231|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    231|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  174|    231|    int kind = PyUnicode_KIND(fmt);
  ------------------
  |  |  258|    231|#define PyUnicode_KIND(op) _Py_RVALUE(_PyASCIIObject_CAST(op)->state.kind)
  |  |  ------------------
  |  |  |  |  277|    231|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  175|    231|    Py_ssize_t size = PyUnicode_GET_LENGTH(fmt);
  ------------------
  |  |  299|    231|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    231|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    231|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  176|    231|    Py_ssize_t start, pos;
  177|    231|    int has_percents = 0;
  178|    231|    start = pos = *ppos;
  179|  1.89k|    while (pos < size) {
  ------------------
  |  Branch (179:12): [True: 1.82k, False: 67]
  ------------------
  180|  1.82k|        if (PyUnicode_READ(kind, data, pos) != '%') {
  ------------------
  |  |  354|  1.82k|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|  1.82k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|  1.82k|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|  1.82k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|  1.82k|                   (index))
  ------------------
  |  Branch (180:13): [True: 1.66k, False: 164]
  ------------------
  181|  1.66k|            pos++;
  182|  1.66k|        }
  183|    164|        else if (pos+1 < size && PyUnicode_READ(kind, data, pos+1) == '%') {
  ------------------
  |  |  354|    164|    PyUnicode_READ(_Py_STATIC_CAST(int, kind), \
  |  |  ------------------
  |  |  |  |   34|    164|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  355|    164|                   _Py_STATIC_CAST(const void*, data), \
  |  |  ------------------
  |  |  |  |   34|    164|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  356|    164|                   (index))
  ------------------
  |  Branch (183:18): [True: 164, False: 0]
  |  Branch (183:34): [True: 0, False: 164]
  ------------------
  184|      0|            has_percents = 1;
  185|      0|            pos += 2;
  186|      0|        }
  187|    164|        else {
  188|    164|            break;
  189|    164|        }
  190|  1.82k|    }
  191|    231|    *ppos = pos;
  192|    231|    if (pos == start) {
  ------------------
  |  Branch (192:9): [True: 80, False: 151]
  ------------------
  193|     80|        return NULL;
  194|     80|    }
  195|    151|    PyObject *str = PyUnicode_Substring(fmt, start, pos);
  196|       |    /* str = str.replace('%%', '%') */
  197|    151|    if (str && has_percents) {
  ------------------
  |  Branch (197:9): [True: 151, False: 0]
  |  Branch (197:16): [True: 0, False: 151]
  ------------------
  198|      0|        _Py_DECLARE_STR(dbl_percent, "%%");
  199|      0|        Py_SETREF(str, PyUnicode_Replace(str, &_Py_STR(dbl_percent),
  ------------------
  |  |  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); \
  |  |  ------------------
  |  |  |  Branch (355:26): [True: 0, Folded]
  |  |  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  200|      0|                                         _Py_LATIN1_CHR('%'), -1));
  201|      0|    }
  202|    151|    if (!str) {
  ------------------
  |  Branch (202:9): [True: 0, False: 151]
  ------------------
  203|      0|        return NULL;
  204|      0|    }
  205|       |
  206|    151|    if (_PyArena_AddPyObject(arena, str) < 0) {
  ------------------
  |  Branch (206:9): [True: 0, False: 151]
  ------------------
  207|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  208|      0|        return NULL;
  209|      0|    }
  210|    151|    return _PyAST_Constant(str, NULL, -1, -1, -1, -1, arena);
  211|    151|}
ast_preprocess.c:parse_format:
  277|    164|{
  278|    164|    int spec, flags, width = -1, prec = -1;
  279|    164|    if (!simple_format_arg_parse(fmt, ppos, &spec, &flags, &width, &prec)) {
  ------------------
  |  Branch (279:9): [True: 0, False: 164]
  ------------------
  280|       |        // Unsupported format.
  281|      0|        return NULL;
  282|      0|    }
  283|    164|    if (spec == 's' || spec == 'r' || spec == 'a') {
  ------------------
  |  Branch (283:9): [True: 120, False: 44]
  |  Branch (283:24): [True: 27, False: 17]
  |  Branch (283:39): [True: 0, False: 17]
  ------------------
  284|    147|        char buf[1 + MAXDIGITS + 1 + MAXDIGITS + 1], *p = buf;
  285|    147|        if (!(flags & F_LJUST) && width > 0) {
  ------------------
  |  |   18|    147|#define F_LJUST (1<<0)
  ------------------
  |  Branch (285:13): [True: 146, False: 1]
  |  Branch (285:35): [True: 0, False: 146]
  ------------------
  286|      0|            *p++ = '>';
  287|      0|        }
  288|    147|        if (width >= 0) {
  ------------------
  |  Branch (288:13): [True: 1, False: 146]
  ------------------
  289|      1|            p += snprintf(p, MAXDIGITS + 1, "%d", width);
  ------------------
  |  |  213|      1|#define MAXDIGITS 3
  ------------------
  290|      1|        }
  291|    147|        if (prec >= 0) {
  ------------------
  |  Branch (291:13): [True: 0, False: 147]
  ------------------
  292|      0|            p += snprintf(p, MAXDIGITS + 2, ".%d", prec);
  ------------------
  |  |  213|      0|#define MAXDIGITS 3
  ------------------
  293|      0|        }
  294|    147|        expr_ty format_spec = NULL;
  295|    147|        if (p != buf) {
  ------------------
  |  Branch (295:13): [True: 1, False: 146]
  ------------------
  296|      1|            PyObject *str = PyUnicode_FromString(buf);
  297|      1|            if (str == NULL) {
  ------------------
  |  Branch (297:17): [True: 0, False: 1]
  ------------------
  298|      0|                return NULL;
  299|      0|            }
  300|      1|            if (_PyArena_AddPyObject(arena, str) < 0) {
  ------------------
  |  Branch (300:17): [True: 0, False: 1]
  ------------------
  301|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  302|      0|                return NULL;
  303|      0|            }
  304|      1|            format_spec = _PyAST_Constant(str, NULL, -1, -1, -1, -1, arena);
  305|      1|            if (format_spec == NULL) {
  ------------------
  |  Branch (305:17): [True: 0, False: 1]
  ------------------
  306|      0|                return NULL;
  307|      0|            }
  308|      1|        }
  309|    147|        return _PyAST_FormattedValue(arg, spec, format_spec,
  310|    147|                                     arg->lineno, arg->col_offset,
  311|    147|                                     arg->end_lineno, arg->end_col_offset,
  312|    147|                                     arena);
  313|    147|    }
  314|       |    // Unsupported format.
  315|     17|    return NULL;
  316|    164|}
ast_preprocess.c:simple_format_arg_parse:
  218|    164|{
  219|    164|    Py_ssize_t pos = *ppos, len = PyUnicode_GET_LENGTH(fmt);
  ------------------
  |  |  299|    164|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    164|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    164|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  220|    164|    Py_UCS4 ch;
  221|       |
  222|    164|#define NEXTC do {                      \
  223|    164|    if (pos >= len) {                   \
  224|    164|        return 0;                       \
  225|    164|    }                                   \
  226|    164|    ch = PyUnicode_READ_CHAR(fmt, pos); \
  227|    164|    pos++;                              \
  228|    164|} while (0)
  229|       |
  230|    164|    *flags = 0;
  231|    168|    while (1) {
  ------------------
  |  Branch (231:12): [True: 168, Folded]
  ------------------
  232|    168|        NEXTC;
  ------------------
  |  |  222|    168|#define NEXTC do {                      \
  |  |  223|    168|    if (pos >= len) {                   \
  |  |  ------------------
  |  |  |  Branch (223:9): [True: 0, False: 168]
  |  |  ------------------
  |  |  224|      0|        return 0;                       \
  |  |  225|      0|    }                                   \
  |  |  226|    168|    ch = PyUnicode_READ_CHAR(fmt, pos); \
  |  |  ------------------
  |  |  |  |  381|    168|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    168|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    168|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  227|    168|    pos++;                              \
  |  |  228|    168|} while (0)
  |  |  ------------------
  |  |  |  Branch (228:10): [Folded, False: 168]
  |  |  ------------------
  ------------------
  233|    168|        switch (ch) {
  ------------------
  |  Branch (233:17): [True: 4, False: 164]
  ------------------
  234|      1|            case '-': *flags |= F_LJUST; continue;
  ------------------
  |  |   18|      1|#define F_LJUST (1<<0)
  ------------------
  |  Branch (234:13): [True: 1, False: 167]
  ------------------
  235|      0|            case '+': *flags |= F_SIGN; continue;
  ------------------
  |  |   19|      0|#define F_SIGN  (1<<1)
  ------------------
  |  Branch (235:13): [True: 0, False: 168]
  ------------------
  236|      0|            case ' ': *flags |= F_BLANK; continue;
  ------------------
  |  |   20|      0|#define F_BLANK (1<<2)
  ------------------
  |  Branch (236:13): [True: 0, False: 168]
  ------------------
  237|      3|            case '#': *flags |= F_ALT; continue;
  ------------------
  |  |   21|      3|#define F_ALT   (1<<3)
  ------------------
  |  Branch (237:13): [True: 3, False: 165]
  ------------------
  238|      0|            case '0': *flags |= F_ZERO; continue;
  ------------------
  |  |   22|      0|#define F_ZERO  (1<<4)
  ------------------
  |  Branch (238:13): [True: 0, False: 168]
  ------------------
  239|    168|        }
  240|    164|        break;
  241|    168|    }
  242|    164|    if ('0' <= ch && ch <= '9') {
  ------------------
  |  Branch (242:9): [True: 164, False: 0]
  |  Branch (242:22): [True: 1, False: 163]
  ------------------
  243|      1|        *width = 0;
  244|      1|        int digits = 0;
  245|      3|        while ('0' <= ch && ch <= '9') {
  ------------------
  |  Branch (245:16): [True: 3, False: 0]
  |  Branch (245:29): [True: 2, False: 1]
  ------------------
  246|      2|            *width = *width * 10 + (ch - '0');
  247|      2|            NEXTC;
  ------------------
  |  |  222|      2|#define NEXTC do {                      \
  |  |  223|      2|    if (pos >= len) {                   \
  |  |  ------------------
  |  |  |  Branch (223:9): [True: 0, False: 2]
  |  |  ------------------
  |  |  224|      0|        return 0;                       \
  |  |  225|      0|    }                                   \
  |  |  226|      2|    ch = PyUnicode_READ_CHAR(fmt, pos); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  227|      2|    pos++;                              \
  |  |  228|      2|} while (0)
  |  |  ------------------
  |  |  |  Branch (228:10): [Folded, False: 2]
  |  |  ------------------
  ------------------
  248|      2|            if (++digits >= MAXDIGITS) {
  ------------------
  |  |  213|      2|#define MAXDIGITS 3
  ------------------
  |  Branch (248:17): [True: 0, False: 2]
  ------------------
  249|      0|                return 0;
  250|      0|            }
  251|      2|        }
  252|      1|    }
  253|       |
  254|    164|    if (ch == '.') {
  ------------------
  |  Branch (254:9): [True: 0, False: 164]
  ------------------
  255|      0|        NEXTC;
  ------------------
  |  |  222|      0|#define NEXTC do {                      \
  |  |  223|      0|    if (pos >= len) {                   \
  |  |  ------------------
  |  |  |  Branch (223:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  224|      0|        return 0;                       \
  |  |  225|      0|    }                                   \
  |  |  226|      0|    ch = PyUnicode_READ_CHAR(fmt, pos); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  227|      0|    pos++;                              \
  |  |  228|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (228:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
  256|      0|        *prec = 0;
  257|      0|        if ('0' <= ch && ch <= '9') {
  ------------------
  |  Branch (257:13): [True: 0, False: 0]
  |  Branch (257:26): [True: 0, False: 0]
  ------------------
  258|      0|            int digits = 0;
  259|      0|            while ('0' <= ch && ch <= '9') {
  ------------------
  |  Branch (259:20): [True: 0, False: 0]
  |  Branch (259:33): [True: 0, False: 0]
  ------------------
  260|      0|                *prec = *prec * 10 + (ch - '0');
  261|      0|                NEXTC;
  ------------------
  |  |  222|      0|#define NEXTC do {                      \
  |  |  223|      0|    if (pos >= len) {                   \
  |  |  ------------------
  |  |  |  Branch (223:9): [True: 0, False: 0]
  |  |  ------------------
  |  |  224|      0|        return 0;                       \
  |  |  225|      0|    }                                   \
  |  |  226|      0|    ch = PyUnicode_READ_CHAR(fmt, pos); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  227|      0|    pos++;                              \
  |  |  228|      0|} while (0)
  |  |  ------------------
  |  |  |  Branch (228:10): [Folded, False: 0]
  |  |  ------------------
  ------------------
  262|      0|                if (++digits >= MAXDIGITS) {
  ------------------
  |  |  213|      0|#define MAXDIGITS 3
  ------------------
  |  Branch (262:21): [True: 0, False: 0]
  ------------------
  263|      0|                    return 0;
  264|      0|                }
  265|      0|            }
  266|      0|        }
  267|      0|    }
  268|    164|    *spec = ch;
  269|    164|    *ppos = pos;
  270|    164|    return 1;
  271|       |
  272|    164|#undef NEXTC
  273|    164|}
ast_preprocess.c:astfold_comprehension:
  654|     77|{
  655|     77|    CALL(astfold_expr, expr_ty, node_->target);
  ------------------
  |  |  409|     77|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 77]
  |  |  ------------------
  |  |  410|     77|        return 0;
  ------------------
  656|     77|    CALL(astfold_expr, expr_ty, node_->iter);
  ------------------
  |  |  409|     77|    if (!FUNC((ARG), ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (409:9): [True: 0, False: 77]
  |  |  ------------------
  |  |  410|     77|        return 0;
  ------------------
  657|     77|    CALL_SEQ(astfold_expr, expr, node_->ifs);
  ------------------
  |  |  416|     77|#define CALL_SEQ(FUNC, TYPE, ARG) { \
  |  |  417|     77|    Py_ssize_t i; \
  |  |  418|     77|    asdl_ ## TYPE ## _seq *seq = (ARG); /* avoid variable capture */ \
  |  |  419|     94|    for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (419:17): [True: 17, False: 77]
  |  |  ------------------
  |  |  420|     17|        TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|     17|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     17|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  421|     17|        if (elt != NULL && !FUNC(elt, ctx_, state)) \
  |  |  ------------------
  |  |  |  Branch (421:13): [True: 17, False: 0]
  |  |  |  Branch (421:28): [True: 0, False: 17]
  |  |  ------------------
  |  |  422|     17|            return 0; \
  |  |  423|     17|    } \
  |  |  424|     77|}
  ------------------
  658|     77|    return 1;
  659|     77|}

_PyBuiltin_Init:
 3504|      2|{
 3505|      2|    PyObject *mod, *dict, *debug;
 3506|       |
 3507|      2|    const PyConfig *config = _PyInterpreterState_GetConfig(interp);
 3508|       |
 3509|      2|    mod = _PyModule_CreateInitialized(&builtinsmodule, PYTHON_API_VERSION);
  ------------------
  |  |   59|      2|#define PYTHON_API_VERSION 1013
  ------------------
 3510|      2|    if (mod == NULL)
  ------------------
  |  Branch (3510:9): [True: 0, False: 2]
  ------------------
 3511|      0|        return NULL;
 3512|       |#ifdef Py_GIL_DISABLED
 3513|       |    PyUnstable_Module_SetGIL(mod, Py_MOD_GIL_NOT_USED);
 3514|       |#endif
 3515|      2|    dict = PyModule_GetDict(mod);
 3516|       |
 3517|       |#ifdef Py_TRACE_REFS
 3518|       |    /* "builtins" exposes a number of statically allocated objects
 3519|       |     * that, before this code was added in 2.3, never showed up in
 3520|       |     * the list of "all objects" maintained by Py_TRACE_REFS.  As a
 3521|       |     * result, programs leaking references to None and False (etc)
 3522|       |     * couldn't be diagnosed by examining sys.getobjects(0).
 3523|       |     */
 3524|       |#define ADD_TO_ALL(OBJECT) _Py_AddToAllObjects((PyObject *)(OBJECT))
 3525|       |#else
 3526|      2|#define ADD_TO_ALL(OBJECT) (void)0
 3527|      2|#endif
 3528|       |
 3529|      2|#define SETBUILTIN(NAME, OBJECT) \
 3530|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
 3531|      2|        return NULL;                                                    \
 3532|      2|    ADD_TO_ALL(OBJECT)
 3533|       |
 3534|      2|    SETBUILTIN("None",                  Py_None);
  ------------------
  |  | 3530|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3530:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3531|      2|        return NULL;                                                    \
  |  | 3532|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3526|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3535|      2|    SETBUILTIN("Ellipsis",              Py_Ellipsis);
  ------------------
  |  | 3530|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3530:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3531|      2|        return NULL;                                                    \
  |  | 3532|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3526|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3536|      2|    SETBUILTIN("NotImplemented",        Py_NotImplemented);
  ------------------
  |  | 3530|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3530:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3531|      2|        return NULL;                                                    \
  |  | 3532|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3526|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3537|      2|    SETBUILTIN("False",                 Py_False);
  ------------------
  |  | 3530|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3530:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3531|      2|        return NULL;                                                    \
  |  | 3532|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3526|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3538|      2|    SETBUILTIN("True",                  Py_True);
  ------------------
  |  | 3530|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3530:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3531|      2|        return NULL;                                                    \
  |  | 3532|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3526|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3539|      2|    SETBUILTIN("bool",                  &PyBool_Type);
  ------------------
  |  | 3530|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3530:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3531|      2|        return NULL;                                                    \
  |  | 3532|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3526|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3540|      2|    SETBUILTIN("memoryview",            &PyMemoryView_Type);
  ------------------
  |  | 3530|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3530:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3531|      2|        return NULL;                                                    \
  |  | 3532|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3526|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3541|      2|    SETBUILTIN("bytearray",             &PyByteArray_Type);
  ------------------
  |  | 3530|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3530:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3531|      2|        return NULL;                                                    \
  |  | 3532|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3526|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3542|      2|    SETBUILTIN("bytes",                 &PyBytes_Type);
  ------------------
  |  | 3530|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3530:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3531|      2|        return NULL;                                                    \
  |  | 3532|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3526|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3543|      2|    SETBUILTIN("classmethod",           &PyClassMethod_Type);
  ------------------
  |  | 3530|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3530:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3531|      2|        return NULL;                                                    \
  |  | 3532|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3526|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3544|      2|    SETBUILTIN("complex",               &PyComplex_Type);
  ------------------
  |  | 3530|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3530:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3531|      2|        return NULL;                                                    \
  |  | 3532|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3526|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3545|      2|    SETBUILTIN("dict",                  &PyDict_Type);
  ------------------
  |  | 3530|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3530:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3531|      2|        return NULL;                                                    \
  |  | 3532|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3526|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3546|      2|    SETBUILTIN("enumerate",             &PyEnum_Type);
  ------------------
  |  | 3530|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3530:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3531|      2|        return NULL;                                                    \
  |  | 3532|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3526|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3547|      2|    SETBUILTIN("filter",                &PyFilter_Type);
  ------------------
  |  | 3530|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3530:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3531|      2|        return NULL;                                                    \
  |  | 3532|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3526|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3548|      2|    SETBUILTIN("float",                 &PyFloat_Type);
  ------------------
  |  | 3530|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3530:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3531|      2|        return NULL;                                                    \
  |  | 3532|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3526|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3549|      2|    SETBUILTIN("frozendict",            &PyFrozenDict_Type);
  ------------------
  |  | 3530|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3530:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3531|      2|        return NULL;                                                    \
  |  | 3532|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3526|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3550|      2|    SETBUILTIN("frozenset",             &PyFrozenSet_Type);
  ------------------
  |  | 3530|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3530:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3531|      2|        return NULL;                                                    \
  |  | 3532|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3526|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3551|      2|    SETBUILTIN("property",              &PyProperty_Type);
  ------------------
  |  | 3530|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3530:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3531|      2|        return NULL;                                                    \
  |  | 3532|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3526|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3552|      2|    SETBUILTIN("int",                   &PyLong_Type);
  ------------------
  |  | 3530|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3530:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3531|      2|        return NULL;                                                    \
  |  | 3532|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3526|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3553|      2|    SETBUILTIN("list",                  &PyList_Type);
  ------------------
  |  | 3530|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3530:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3531|      2|        return NULL;                                                    \
  |  | 3532|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3526|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3554|      2|    SETBUILTIN("map",                   &PyMap_Type);
  ------------------
  |  | 3530|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3530:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3531|      2|        return NULL;                                                    \
  |  | 3532|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3526|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3555|      2|    SETBUILTIN("object",                &PyBaseObject_Type);
  ------------------
  |  | 3530|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3530:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3531|      2|        return NULL;                                                    \
  |  | 3532|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3526|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3556|      2|    SETBUILTIN("range",                 &PyRange_Type);
  ------------------
  |  | 3530|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3530:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3531|      2|        return NULL;                                                    \
  |  | 3532|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3526|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3557|      2|    SETBUILTIN("reversed",              &PyReversed_Type);
  ------------------
  |  | 3530|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3530:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3531|      2|        return NULL;                                                    \
  |  | 3532|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3526|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3558|      2|    SETBUILTIN("sentinel",              &PySentinel_Type);
  ------------------
  |  | 3530|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3530:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3531|      2|        return NULL;                                                    \
  |  | 3532|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3526|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3559|      2|    SETBUILTIN("set",                   &PySet_Type);
  ------------------
  |  | 3530|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3530:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3531|      2|        return NULL;                                                    \
  |  | 3532|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3526|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3560|      2|    SETBUILTIN("slice",                 &PySlice_Type);
  ------------------
  |  | 3530|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3530:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3531|      2|        return NULL;                                                    \
  |  | 3532|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3526|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3561|      2|    SETBUILTIN("staticmethod",          &PyStaticMethod_Type);
  ------------------
  |  | 3530|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3530:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3531|      2|        return NULL;                                                    \
  |  | 3532|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3526|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3562|      2|    SETBUILTIN("str",                   &PyUnicode_Type);
  ------------------
  |  | 3530|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3530:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3531|      2|        return NULL;                                                    \
  |  | 3532|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3526|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3563|      2|    SETBUILTIN("super",                 &PySuper_Type);
  ------------------
  |  | 3530|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3530:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3531|      2|        return NULL;                                                    \
  |  | 3532|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3526|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3564|      2|    SETBUILTIN("tuple",                 &PyTuple_Type);
  ------------------
  |  | 3530|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3530:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3531|      2|        return NULL;                                                    \
  |  | 3532|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3526|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3565|      2|    SETBUILTIN("type",                  &PyType_Type);
  ------------------
  |  | 3530|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3530:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3531|      2|        return NULL;                                                    \
  |  | 3532|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3526|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3566|      2|    SETBUILTIN("zip",                   &PyZip_Type);
  ------------------
  |  | 3530|      2|    if (PyDict_SetItemString(dict, NAME, (PyObject *)OBJECT) < 0)       \
  |  |  ------------------
  |  |  |  Branch (3530:9): [True: 0, False: 2]
  |  |  ------------------
  |  | 3531|      2|        return NULL;                                                    \
  |  | 3532|      2|    ADD_TO_ALL(OBJECT)
  |  |  ------------------
  |  |  |  | 3526|      2|#define ADD_TO_ALL(OBJECT) (void)0
  |  |  ------------------
  ------------------
 3567|      2|    debug = PyBool_FromLong(config->optimization_level == 0);
 3568|      2|    if (PyDict_SetItemString(dict, "__debug__", debug) < 0) {
  ------------------
  |  Branch (3568:9): [True: 0, False: 2]
  ------------------
 3569|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3570|      0|        return NULL;
 3571|      0|    }
 3572|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3573|       |
 3574|      2|    return mod;
 3575|      2|#undef ADD_TO_ALL
 3576|      2|#undef SETBUILTIN
 3577|      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:
 1541|    270|{
 1542|    270|    mapobject *lz = _mapobject_CAST(self);
  ------------------
  |  | 1435|    270|#define _mapobject_CAST(op)     ((mapobject *)(op))
  ------------------
 1543|    270|    PyObject_GC_UnTrack(lz);
 1544|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1545|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1546|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1547|    270|}
bltinmodule.c:map_next:
 1560|  1.87k|{
 1561|  1.87k|    mapobject *lz = _mapobject_CAST(self);
  ------------------
  |  | 1435|  1.87k|#define _mapobject_CAST(op)     ((mapobject *)(op))
  ------------------
 1562|  1.87k|    Py_ssize_t i;
 1563|  1.87k|    PyObject *small_stack[_PY_FASTCALL_SMALL_STACK];
 1564|  1.87k|    PyObject **stack;
 1565|  1.87k|    PyObject *result = NULL;
 1566|  1.87k|    PyThreadState *tstate = _PyThreadState_GET();
 1567|       |
 1568|  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1569|  1.87k|    if (niters <= (Py_ssize_t)Py_ARRAY_LENGTH(small_stack)) {
  ------------------
  |  |  196|  1.87k|    (sizeof(array) / sizeof((array)[0]))
  ------------------
  |  Branch (1569:9): [True: 1.87k, False: 0]
  ------------------
 1570|  1.87k|        stack = small_stack;
 1571|  1.87k|    }
 1572|      0|    else {
 1573|      0|        stack = PyMem_Malloc(niters * sizeof(stack[0]));
 1574|      0|        if (stack == NULL) {
  ------------------
  |  Branch (1574:13): [True: 0, False: 0]
  ------------------
 1575|      0|            _PyErr_NoMemory(tstate);
 1576|      0|            return NULL;
 1577|      0|        }
 1578|      0|    }
 1579|       |
 1580|  1.87k|    Py_ssize_t nargs = 0;
 1581|  3.51k|    for (i = 0; i < niters; i++) {
  ------------------
  |  Branch (1581:17): [True: 1.89k, False: 1.61k]
  ------------------
 1582|  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1583|  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1584|  1.89k|        if (val == NULL) {
  ------------------
  |  Branch (1584:13): [True: 256, False: 1.64k]
  ------------------
 1585|    256|            if (lz->strict) {
  ------------------
  |  Branch (1585:17): [True: 0, False: 256]
  ------------------
 1586|      0|                goto check;
 1587|      0|            }
 1588|    256|            goto exit_no_result;
 1589|    256|        }
 1590|  1.64k|        stack[i] = val;
 1591|  1.64k|        nargs++;
 1592|  1.64k|    }
 1593|       |
 1594|  1.61k|    result = _PyObject_VectorcallTstate(tstate, lz->func, stack, nargs, NULL);
 1595|  1.61k|    goto exit;
 1596|       |
 1597|      0|check:
 1598|      0|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (1598:9): [True: 0, False: 0]
  ------------------
 1599|      0|        if (!PyErr_ExceptionMatches(PyExc_StopIteration)) {
  ------------------
  |  Branch (1599:13): [True: 0, False: 0]
  ------------------
 1600|       |            // next() on argument i raised an exception (not StopIteration)
 1601|      0|            goto exit_no_result;
 1602|      0|        }
 1603|      0|        PyErr_Clear();
 1604|      0|    }
 1605|      0|    if (i) {
  ------------------
  |  Branch (1605:9): [True: 0, False: 0]
  ------------------
 1606|       |        // ValueError: map() argument 2 is shorter than argument 1
 1607|       |        // ValueError: map() argument 3 is shorter than arguments 1-2
 1608|      0|        const char* plural = i == 1 ? " " : "s 1-";
  ------------------
  |  Branch (1608:30): [True: 0, False: 0]
  ------------------
 1609|      0|        PyErr_Format(PyExc_ValueError,
 1610|      0|                     "map() argument %zd is shorter than argument%s%zd",
 1611|      0|                     i + 1, plural, i);
 1612|      0|        goto exit_no_result;
 1613|      0|    }
 1614|      0|    for (i = 1; i < niters; i++) {
  ------------------
  |  Branch (1614:17): [True: 0, False: 0]
  ------------------
 1615|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1616|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1617|      0|        if (val) {
  ------------------
  |  Branch (1617:13): [True: 0, False: 0]
  ------------------
 1618|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1619|      0|            const char* plural = i == 1 ? " " : "s 1-";
  ------------------
  |  Branch (1619:34): [True: 0, False: 0]
  ------------------
 1620|      0|            PyErr_Format(PyExc_ValueError,
 1621|      0|                         "map() argument %zd is longer than argument%s%zd",
 1622|      0|                         i + 1, plural, i);
 1623|      0|            goto exit_no_result;
 1624|      0|        }
 1625|      0|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (1625:13): [True: 0, False: 0]
  ------------------
 1626|      0|            if (!PyErr_ExceptionMatches(PyExc_StopIteration)) {
  ------------------
  |  Branch (1626:17): [True: 0, False: 0]
  ------------------
 1627|       |                // next() on argument i raised an exception (not StopIteration)
 1628|      0|                goto exit_no_result;
 1629|      0|            }
 1630|      0|            PyErr_Clear();
 1631|      0|        }
 1632|       |        // Argument i is exhausted. So far so good...
 1633|      0|    }
 1634|       |    // All arguments are exhausted. Success!
 1635|       |
 1636|    256|exit_no_result:
 1637|    256|    assert(result == NULL);
 1638|       |
 1639|  1.87k|exit:
 1640|  3.51k|    for (i = 0; i < nargs; i++) {
  ------------------
  |  Branch (1640:17): [True: 1.64k, False: 1.87k]
  ------------------
 1641|  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1642|  1.64k|    }
 1643|  1.87k|    if (stack != small_stack) {
  ------------------
  |  Branch (1643:9): [True: 0, False: 1.87k]
  ------------------
 1644|      0|        PyMem_Free(stack);
 1645|      0|    }
 1646|  1.87k|    return result;
 1647|    256|}
bltinmodule.c:map_vectorcall:
 1497|    270|{
 1498|    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))
  |  |  ------------------
  ------------------
 1499|       |
 1500|    270|    Py_ssize_t nargs = PyVectorcall_NARGS(nargsf);
  ------------------
  |  |   37|    270|#define PyVectorcall_NARGS(n) _PyVectorcall_NARGS(n)
  ------------------
 1501|    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 (1501:9): [True: 0, False: 270]
  |  Branch (1501:28): [True: 0, False: 0]
  ------------------
 1502|       |        // Fallback to map_new()
 1503|      0|        PyThreadState *tstate = _PyThreadState_GET();
 1504|      0|        return _PyObject_MakeTpCall(tstate, type, args, nargs, kwnames);
 1505|      0|    }
 1506|       |
 1507|    270|    if (nargs < 2) {
  ------------------
  |  Branch (1507:9): [True: 0, False: 270]
  ------------------
 1508|      0|        PyErr_SetString(PyExc_TypeError,
 1509|      0|           "map() must have at least two arguments.");
 1510|      0|        return NULL;
 1511|      0|    }
 1512|       |
 1513|    270|    PyObject *iters = PyTuple_New(nargs-1);
 1514|    270|    if (iters == NULL) {
  ------------------
  |  Branch (1514:9): [True: 0, False: 270]
  ------------------
 1515|      0|        return NULL;
 1516|      0|    }
 1517|       |
 1518|    556|    for (int i=1; i<nargs; i++) {
  ------------------
  |  Branch (1518:19): [True: 286, False: 270]
  ------------------
 1519|    286|        PyObject *it = PyObject_GetIter(args[i]);
 1520|    286|        if (it == NULL) {
  ------------------
  |  Branch (1520:13): [True: 0, False: 286]
  ------------------
 1521|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1522|      0|            return NULL;
 1523|      0|        }
 1524|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1525|    286|    }
 1526|       |
 1527|    270|    mapobject *lz = (mapobject *)tp->tp_alloc(tp, 0);
 1528|    270|    if (lz == NULL) {
  ------------------
  |  Branch (1528:9): [True: 0, False: 270]
  ------------------
 1529|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1530|      0|        return NULL;
 1531|      0|    }
 1532|    270|    lz->iters = iters;
 1533|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1534|    270|    lz->strict = 0;
 1535|       |
 1536|    270|    return (PyObject *)lz;
 1537|    270|}
bltinmodule.c:zip_dealloc:
 3230|    598|{
 3231|    598|    zipobject *lz = _zipobject_CAST(self);
  ------------------
  |  | 3159|    598|#define _zipobject_CAST(op)     ((zipobject *)(op))
  ------------------
 3232|    598|    PyObject_GC_UnTrack(lz);
 3233|    598|    Py_XDECREF(lz->ittuple);
  ------------------
  |  |  524|    598|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    598|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    598|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3234|    598|    Py_XDECREF(lz->result);
  ------------------
  |  |  524|    598|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    598|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    598|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3235|    598|    Py_TYPE(lz)->tp_free(lz);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3236|    598|}
bltinmodule.c:zip_next:
 3249|  1.67k|{
 3250|  1.67k|    zipobject *lz = _zipobject_CAST(self);
  ------------------
  |  | 3159|  1.67k|#define _zipobject_CAST(op)     ((zipobject *)(op))
  ------------------
 3251|       |
 3252|  1.67k|    Py_ssize_t i;
 3253|  1.67k|    Py_ssize_t tuplesize = lz->tuplesize;
 3254|  1.67k|    PyObject *result = lz->result;
 3255|  1.67k|    PyObject *it;
 3256|  1.67k|    PyObject *item;
 3257|  1.67k|    PyObject *olditem;
 3258|       |
 3259|  1.67k|    if (tuplesize == 0)
  ------------------
  |  Branch (3259:9): [True: 0, False: 1.67k]
  ------------------
 3260|      0|        return NULL;
 3261|       |
 3262|  1.67k|    if (_PyObject_IsUniquelyReferenced(result)) {
  ------------------
  |  Branch (3262:9): [True: 1.65k, False: 22]
  ------------------
 3263|  1.65k|        Py_INCREF(result);
  ------------------
  |  |  310|  1.65k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.65k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.65k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3264|  4.53k|        for (i=0 ; i < tuplesize ; i++) {
  ------------------
  |  Branch (3264:20): [True: 3.09k, False: 1.43k]
  ------------------
 3265|  3.09k|            it = PyTuple_GET_ITEM(lz->ittuple, i);
  ------------------
  |  |   29|  3.09k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  3.09k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3266|  3.09k|            item = (*Py_TYPE(it)->tp_iternext)(it);
  ------------------
  |  |  213|  3.09k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.09k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.09k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3267|  3.09k|            if (item == NULL) {
  ------------------
  |  Branch (3267:17): [True: 214, False: 2.88k]
  ------------------
 3268|    214|                Py_DECREF(result);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3269|    214|                if (lz->strict) {
  ------------------
  |  Branch (3269:21): [True: 60, False: 154]
  ------------------
 3270|     60|                    goto check;
 3271|     60|                }
 3272|    154|                return NULL;
 3273|    214|            }
 3274|  2.88k|            olditem = PyTuple_GET_ITEM(result, i);
  ------------------
  |  |   29|  2.88k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  2.88k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.88k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3275|  2.88k|            PyTuple_SET_ITEM(result, i, item);
  ------------------
  |  |   40|  2.88k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  2.88k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.88k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  2.88k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.88k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3276|  2.88k|            Py_DECREF(olditem);
  ------------------
  |  |  430|  2.88k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.88k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.88k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3277|  2.88k|        }
 3278|       |        // bpo-42536: The GC may have untracked this result tuple. Since we're
 3279|       |        // recycling it, make sure it's tracked again:
 3280|  1.43k|        _PyTuple_Recycle(result);
 3281|  1.43k|    } else {
 3282|     22|        result = PyTuple_New(tuplesize);
 3283|     22|        if (result == NULL)
  ------------------
  |  Branch (3283:13): [True: 0, False: 22]
  ------------------
 3284|      0|            return NULL;
 3285|     50|        for (i=0 ; i < tuplesize ; i++) {
  ------------------
  |  Branch (3285:20): [True: 38, False: 12]
  ------------------
 3286|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3287|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3288|     38|            if (item == NULL) {
  ------------------
  |  Branch (3288:17): [True: 10, False: 28]
  ------------------
 3289|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3290|     10|                if (lz->strict) {
  ------------------
  |  Branch (3290:21): [True: 0, False: 10]
  ------------------
 3291|      0|                    goto check;
 3292|      0|                }
 3293|     10|                return NULL;
 3294|     10|            }
 3295|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3296|     28|        }
 3297|     22|    }
 3298|  1.44k|    return result;
 3299|     60|check:
 3300|     60|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (3300:9): [True: 0, False: 60]
  ------------------
 3301|      0|        if (!PyErr_ExceptionMatches(PyExc_StopIteration)) {
  ------------------
  |  Branch (3301:13): [True: 0, False: 0]
  ------------------
 3302|       |            // next() on argument i raised an exception (not StopIteration)
 3303|      0|            return NULL;
 3304|      0|        }
 3305|      0|        PyErr_Clear();
 3306|      0|    }
 3307|     60|    if (i) {
  ------------------
  |  Branch (3307:9): [True: 0, False: 60]
  ------------------
 3308|       |        // ValueError: zip() argument 2 is shorter than argument 1
 3309|       |        // ValueError: zip() argument 3 is shorter than arguments 1-2
 3310|      0|        const char* plural = i == 1 ? " " : "s 1-";
  ------------------
  |  Branch (3310:30): [True: 0, False: 0]
  ------------------
 3311|      0|        return PyErr_Format(PyExc_ValueError,
 3312|      0|                            "zip() argument %zd is shorter than argument%s%zd",
 3313|      0|                            i + 1, plural, i);
 3314|      0|    }
 3315|    142|    for (i = 1; i < tuplesize; i++) {
  ------------------
  |  Branch (3315:17): [True: 82, False: 60]
  ------------------
 3316|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3317|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3318|     82|        if (item) {
  ------------------
  |  Branch (3318:13): [True: 0, False: 82]
  ------------------
 3319|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3320|      0|            const char* plural = i == 1 ? " " : "s 1-";
  ------------------
  |  Branch (3320:34): [True: 0, False: 0]
  ------------------
 3321|      0|            return PyErr_Format(PyExc_ValueError,
 3322|      0|                                "zip() argument %zd is longer than argument%s%zd",
 3323|      0|                                i + 1, plural, i);
 3324|      0|        }
 3325|     82|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (3325:13): [True: 0, False: 82]
  ------------------
 3326|      0|            if (!PyErr_ExceptionMatches(PyExc_StopIteration)) {
  ------------------
  |  Branch (3326:17): [True: 0, False: 0]
  ------------------
 3327|       |                // next() on argument i raised an exception (not StopIteration)
 3328|      0|                return NULL;
 3329|      0|            }
 3330|      0|            PyErr_Clear();
 3331|      0|        }
 3332|       |        // Argument i is exhausted. So far so good...
 3333|     82|    }
 3334|       |    // All arguments are exhausted. Success!
 3335|     60|    return NULL;
 3336|     60|}
bltinmodule.c:zip_new:
 3163|    598|{
 3164|    598|    zipobject *lz;
 3165|    598|    Py_ssize_t i;
 3166|    598|    PyObject *ittuple;  /* tuple of iterators */
 3167|    598|    PyObject *result;
 3168|    598|    Py_ssize_t tuplesize;
 3169|    598|    int strict = 0;
 3170|       |
 3171|    598|    if (kwds) {
  ------------------
  |  Branch (3171:9): [True: 436, False: 162]
  ------------------
 3172|    436|        PyObject *empty = PyTuple_New(0);
 3173|    436|        if (empty == NULL) {
  ------------------
  |  Branch (3173:13): [True: 0, False: 436]
  ------------------
 3174|      0|            return NULL;
 3175|      0|        }
 3176|    436|        static char *kwlist[] = {"strict", NULL};
 3177|    436|        int parsed = PyArg_ParseTupleAndKeywords(
 3178|    436|                empty, kwds, "|$p:zip", kwlist, &strict);
 3179|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3180|    436|        if (!parsed) {
  ------------------
  |  Branch (3180:13): [True: 0, False: 436]
  ------------------
 3181|      0|            return NULL;
 3182|      0|        }
 3183|    436|    }
 3184|       |
 3185|       |    /* args must be a tuple */
 3186|    598|    assert(PyTuple_Check(args));
 3187|    598|    tuplesize = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|    598|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    598|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    598|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3188|       |
 3189|       |    /* obtain iterators */
 3190|    598|    ittuple = PyTuple_New(tuplesize);
 3191|    598|    if (ittuple == NULL)
  ------------------
  |  Branch (3191:9): [True: 0, False: 598]
  ------------------
 3192|      0|        return NULL;
 3193|  1.81k|    for (i=0; i < tuplesize; ++i) {
  ------------------
  |  Branch (3193:15): [True: 1.21k, False: 598]
  ------------------
 3194|  1.21k|        PyObject *item = PyTuple_GET_ITEM(args, i);
  ------------------
  |  |   29|  1.21k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  1.21k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.21k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3195|  1.21k|        PyObject *it = PyObject_GetIter(item);
 3196|  1.21k|        if (it == NULL) {
  ------------------
  |  Branch (3196:13): [True: 0, False: 1.21k]
  ------------------
 3197|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3198|      0|            return NULL;
 3199|      0|        }
 3200|  1.21k|        PyTuple_SET_ITEM(ittuple, i, it);
  ------------------
  |  |   40|  1.21k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  1.21k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.21k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  1.21k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.21k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3201|  1.21k|    }
 3202|       |
 3203|       |    /* create a result holder */
 3204|    598|    result = PyTuple_New(tuplesize);
 3205|    598|    if (result == NULL) {
  ------------------
  |  Branch (3205:9): [True: 0, False: 598]
  ------------------
 3206|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3207|      0|        return NULL;
 3208|      0|    }
 3209|  1.81k|    for (i=0 ; i < tuplesize ; i++) {
  ------------------
  |  Branch (3209:16): [True: 1.21k, False: 598]
  ------------------
 3210|  1.21k|        PyTuple_SET_ITEM(result, i, Py_NewRef(Py_None));
  ------------------
  |  |   40|  1.21k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  1.21k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.21k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  1.21k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.21k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3211|  1.21k|    }
 3212|       |
 3213|       |    /* create zipobject structure */
 3214|    598|    lz = (zipobject *)type->tp_alloc(type, 0);
 3215|    598|    if (lz == NULL) {
  ------------------
  |  Branch (3215:9): [True: 0, False: 598]
  ------------------
 3216|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3217|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3218|      0|        return NULL;
 3219|      0|    }
 3220|    598|    lz->ittuple = ittuple;
 3221|    598|    lz->tuplesize = tuplesize;
 3222|    598|    lz->result = result;
 3223|    598|    lz->strict = strict;
 3224|       |
 3225|    598|    return (PyObject *)lz;
 3226|    598|}
bltinmodule.c:builtin___build_class__:
  104|  1.94k|{
  105|  1.94k|    PyObject *func, *name, *winner, *prep;
  106|  1.94k|    PyObject *cls = NULL, *cell = NULL, *ns = NULL, *meta = NULL, *orig_bases = NULL;
  107|  1.94k|    PyObject *mkw = NULL, *bases = NULL;
  108|  1.94k|    int isclass = 0;   /* initialize to prevent gcc warning */
  109|       |
  110|  1.94k|    if (nargs < 2) {
  ------------------
  |  Branch (110:9): [True: 0, False: 1.94k]
  ------------------
  111|      0|        PyErr_SetString(PyExc_TypeError,
  112|      0|                        "__build_class__: not enough arguments");
  113|      0|        return NULL;
  114|      0|    }
  115|  1.94k|    func = args[0];   /* Better be callable */
  116|  1.94k|    if (!PyFunction_Check(func)) {
  ------------------
  |  |   68|  1.94k|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  ------------------
  |  |  |  |  215|  1.94k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.94k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.94k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (116:9): [True: 0, False: 1.94k]
  ------------------
  117|      0|        PyErr_SetString(PyExc_TypeError,
  118|      0|                        "__build_class__: func must be a function");
  119|      0|        return NULL;
  120|      0|    }
  121|  1.94k|    name = args[1];
  122|  1.94k|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|  1.94k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.94k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (122:9): [True: 0, False: 1.94k]
  ------------------
  123|      0|        PyErr_SetString(PyExc_TypeError,
  124|      0|                        "__build_class__: name is not a string");
  125|      0|        return NULL;
  126|      0|    }
  127|  1.94k|    orig_bases = PyTuple_FromArray(args + 2, nargs - 2);
  128|  1.94k|    if (orig_bases == NULL)
  ------------------
  |  Branch (128:9): [True: 0, False: 1.94k]
  ------------------
  129|      0|        return NULL;
  130|       |
  131|  1.94k|    bases = update_bases(orig_bases, args + 2, nargs - 2);
  132|  1.94k|    if (bases == NULL) {
  ------------------
  |  Branch (132:9): [True: 0, False: 1.94k]
  ------------------
  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.94k|    if (kwnames == NULL) {
  ------------------
  |  Branch (137:9): [True: 1.86k, False: 86]
  ------------------
  138|  1.86k|        meta = NULL;
  139|  1.86k|        mkw = NULL;
  140|  1.86k|    }
  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) {
  ------------------
  |  |  915|     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.94k|    if (meta == NULL) {
  ------------------
  |  Branch (155:9): [True: 1.89k, False: 56]
  ------------------
  156|       |        /* if there are no bases, use type: */
  157|  1.89k|        if (PyTuple_GET_SIZE(bases) == 0) {
  ------------------
  |  |   27|  1.89k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.89k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.89k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (157:13): [True: 508, False: 1.38k]
  ------------------
  158|    508|            meta = (PyObject *) (&PyType_Type);
  159|    508|        }
  160|       |        /* else get the type of the first base */
  161|  1.38k|        else {
  162|  1.38k|            PyObject *base0 = PyTuple_GET_ITEM(bases, 0);
  ------------------
  |  |   29|  1.38k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  1.38k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.38k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  163|  1.38k|            meta = (PyObject *)Py_TYPE(base0);
  ------------------
  |  |  213|  1.38k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.38k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.38k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  164|  1.38k|        }
  165|  1.89k|        Py_INCREF(meta);
  ------------------
  |  |  310|  1.89k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.89k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.89k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  166|  1.89k|        isclass = 1;  /* meta is really a class */
  167|  1.89k|    }
  168|       |
  169|  1.94k|    if (isclass) {
  ------------------
  |  Branch (169:9): [True: 1.94k, False: 0]
  ------------------
  170|       |        /* meta is really a class, so check for a more derived
  171|       |           metaclass, or possible metaclass conflicts: */
  172|  1.94k|        winner = (PyObject *)_PyType_CalculateMetaclass((PyTypeObject *)meta,
  173|  1.94k|                                                        bases);
  174|  1.94k|        if (winner == NULL) {
  ------------------
  |  Branch (174:13): [True: 0, False: 1.94k]
  ------------------
  175|      0|            goto error;
  176|      0|        }
  177|  1.94k|        if (winner != meta) {
  ------------------
  |  Branch (177:13): [True: 26, False: 1.92k]
  ------------------
  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.94k|    }
  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.94k|    if (PyObject_GetOptionalAttr(meta, &_Py_ID(__prepare__), &prep) < 0) {
  ------------------
  |  |  915|  1.94k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.94k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.94k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (183:9): [True: 0, False: 1.94k]
  ------------------
  184|      0|        ns = NULL;
  185|      0|    }
  186|  1.94k|    else if (prep == NULL) {
  ------------------
  |  Branch (186:14): [True: 0, False: 1.94k]
  ------------------
  187|      0|        ns = PyDict_New();
  188|      0|    }
  189|  1.94k|    else {
  190|  1.94k|        PyObject *pargs[2] = {name, bases};
  191|  1.94k|        ns = PyObject_VectorcallDict(prep, pargs, 2, mkw);
  192|  1.94k|        Py_DECREF(prep);
  ------------------
  |  |  430|  1.94k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.94k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.94k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  193|  1.94k|    }
  194|  1.94k|    if (ns == NULL) {
  ------------------
  |  Branch (194:9): [True: 0, False: 1.94k]
  ------------------
  195|      0|        goto error;
  196|      0|    }
  197|  1.94k|    if (!PyMapping_Check(ns)) {
  ------------------
  |  Branch (197:9): [True: 0, False: 1.94k]
  ------------------
  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.94k|    PyThreadState *tstate = _PyThreadState_GET();
  205|  1.94k|    EVAL_CALL_STAT_INC(EVAL_CALL_BUILD_CLASS);
  ------------------
  |  |   79|  1.94k|#define EVAL_CALL_STAT_INC(name) ((void)0)
  ------------------
  206|  1.94k|    cell = _PyEval_Vector(tstate, (PyFunctionObject *)func, ns, NULL, 0, NULL);
  207|  1.94k|    if (cell != NULL) {
  ------------------
  |  Branch (207:9): [True: 1.94k, False: 0]
  ------------------
  208|  1.94k|        if (bases != orig_bases) {
  ------------------
  |  Branch (208:13): [True: 84, False: 1.86k]
  ------------------
  209|     84|            if (PyMapping_SetItemString(ns, "__orig_bases__", orig_bases) < 0) {
  ------------------
  |  Branch (209:17): [True: 0, False: 84]
  ------------------
  210|      0|                goto error;
  211|      0|            }
  212|     84|        }
  213|  1.94k|        PyObject *margs[3] = {name, bases, ns};
  214|  1.94k|        cls = PyObject_VectorcallDict(meta, margs, 3, mkw);
  215|  1.94k|        if (cls != NULL && PyType_Check(cls) && PyCell_Check(cell)) {
  ------------------
  |  |  766|  3.89k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.94k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.94k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 1.94k, False: 0]
  |  |  ------------------
  ------------------
                      if (cls != NULL && PyType_Check(cls) && PyCell_Check(cell)) {
  ------------------
  |  |   18|  1.94k|#define PyCell_Check(op) Py_IS_TYPE((op), &PyCell_Type)
  |  |  ------------------
  |  |  |  |  215|  1.94k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.94k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.94k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 370, False: 1.57k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (215:13): [True: 1.94k, False: 0]
  ------------------
  216|    370|            PyObject *cell_cls = PyCell_GetRef((PyCellObject *)cell);
  217|    370|            if (cell_cls != cls) {
  ------------------
  |  Branch (217:17): [True: 0, False: 370]
  ------------------
  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|    370|            else {
  233|    370|                Py_DECREF(cell_cls);
  ------------------
  |  |  430|    370|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    370|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    370|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  234|    370|            }
  235|    370|        }
  236|  1.94k|    }
  237|  1.94k|error:
  238|  1.94k|    Py_XDECREF(cell);
  ------------------
  |  |  524|  1.94k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.94k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.94k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  239|  1.94k|    Py_XDECREF(ns);
  ------------------
  |  |  524|  1.94k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.94k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.94k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  240|  1.94k|    Py_XDECREF(meta);
  ------------------
  |  |  524|  1.94k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.94k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.94k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  241|  1.94k|    Py_XDECREF(mkw);
  ------------------
  |  |  524|  1.94k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.94k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.94k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  242|  1.94k|    if (bases != orig_bases) {
  ------------------
  |  Branch (242:9): [True: 84, False: 1.86k]
  ------------------
  243|     84|        Py_DECREF(orig_bases);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  244|     84|    }
  245|  1.94k|    Py_DECREF(bases);
  ------------------
  |  |  430|  1.94k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.94k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.94k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  246|  1.94k|    return cls;
  247|  1.94k|}
bltinmodule.c:update_bases:
   30|  1.94k|{
   31|  1.94k|    Py_ssize_t i, j;
   32|  1.94k|    PyObject *base, *meth, *new_base, *result, *new_bases = NULL;
   33|  1.94k|    assert(PyTuple_Check(bases));
   34|       |
   35|  3.53k|    for (i = 0; i < nargs; i++) {
  ------------------
  |  Branch (35:17): [True: 1.58k, False: 1.94k]
  ------------------
   36|  1.58k|        base  = args[i];
   37|  1.58k|        if (PyType_Check(base)) {
  ------------------
  |  |  766|  1.58k|#  define PyType_Check(op) PyType_Check(_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 (766:28): [True: 1.50k, False: 86]
  |  |  ------------------
  ------------------
   38|  1.50k|            if (new_bases) {
  ------------------
  |  Branch (38:17): [True: 0, False: 1.50k]
  ------------------
   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.50k|            continue;
   46|  1.50k|        }
   47|     86|        if (PyObject_GetOptionalAttr(base, &_Py_ID(__mro_entries__), &meth) < 0) {
  ------------------
  |  |  915|     86|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     86|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     86|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (47:13): [True: 0, False: 86]
  ------------------
   48|      0|            goto error;
   49|      0|        }
   50|     86|        if (!meth) {
  ------------------
  |  Branch (50:13): [True: 0, False: 86]
  ------------------
   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|     86|        new_base = PyObject_CallOneArg(meth, bases);
   59|     86|        Py_DECREF(meth);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   60|     86|        if (!new_base) {
  ------------------
  |  Branch (60:13): [True: 0, False: 86]
  ------------------
   61|      0|            goto error;
   62|      0|        }
   63|     86|        if (!PyTuple_Check(new_base)) {
  ------------------
  |  |   27|     86|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     86|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (63:13): [True: 0, False: 86]
  ------------------
   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|     86|        if (!new_bases) {
  ------------------
  |  Branch (69:13): [True: 84, False: 2]
  ------------------
   70|       |            /* If this is a first successful replacement, create new_bases list and
   71|       |               copy previously encountered bases. */
   72|     84|            if (!(new_bases = PyList_New(i))) {
  ------------------
  |  Branch (72:17): [True: 0, False: 84]
  ------------------
   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|     88|            for (j = 0; j < i; j++) {
  ------------------
  |  Branch (76:25): [True: 4, False: 84]
  ------------------
   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|     84|        }
   81|     86|        j = PyList_GET_SIZE(new_bases);
  ------------------
  |  |   38|     86|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     86|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     86|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   82|     86|        if (PyList_SetSlice(new_bases, j, j, new_base) < 0) {
  ------------------
  |  Branch (82:13): [True: 0, False: 86]
  ------------------
   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|     86|        Py_DECREF(new_base);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   87|     86|    }
   88|  1.94k|    if (!new_bases) {
  ------------------
  |  Branch (88:9): [True: 1.86k, False: 84]
  ------------------
   89|  1.86k|        return bases;
   90|  1.86k|    }
   91|     84|    result = PyList_AsTuple(new_bases);
   92|     84|    Py_DECREF(new_bases);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   93|     84|    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.94k|}
bltinmodule.c:builtin___import___impl:
  285|  20.9k|{
  286|  20.9k|    return PyImport_ImportModuleLevelObject(name, globals, locals,
  287|  20.9k|                                            fromlist, level);
  288|  20.9k|}
bltinmodule.c:builtin_abs:
  364|    978|{
  365|    978|    return PyNumber_Absolute(number);
  366|    978|}
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|  7.28k|{
  524|  7.28k|    return PyBool_FromLong((long)PyCallable_Check(obj));
  525|  7.28k|}
bltinmodule.c:builtin_chr:
  784|  3.24M|{
  785|  3.24M|    int overflow;
  786|  3.24M|    long v = PyLong_AsLongAndOverflow(i, &overflow);
  787|  3.24M|    if (v == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (787:9): [True: 0, False: 3.24M]
  |  Branch (787:20): [True: 0, False: 0]
  ------------------
  788|      0|        return NULL;
  789|      0|    }
  790|  3.24M|    if (overflow) {
  ------------------
  |  Branch (790:9): [True: 0, False: 3.24M]
  ------------------
  791|      0|        v = overflow < 0 ? INT_MIN : INT_MAX;
  ------------------
  |  Branch (791:13): [True: 0, False: 0]
  ------------------
  792|       |        /* Allow PyUnicode_FromOrdinal() to raise an exception */
  793|      0|    }
  794|  3.24M|#if SIZEOF_INT < SIZEOF_LONG
  795|  3.24M|    else if (v < INT_MIN) {
  ------------------
  |  Branch (795:14): [True: 0, False: 3.24M]
  ------------------
  796|      0|        v = INT_MIN;
  797|      0|    }
  798|  3.24M|    else if (v > INT_MAX) {
  ------------------
  |  Branch (798:14): [True: 0, False: 3.24M]
  ------------------
  799|       |        v = INT_MAX;
  800|      0|    }
  801|  3.24M|#endif
  802|  3.24M|    return PyUnicode_FromOrdinal(v);
  803|  3.24M|}
bltinmodule.c:builtin_compile_impl:
  838|  27.2k|{
  839|  27.2k|    PyObject *source_copy;
  840|  27.2k|    const char *str;
  841|  27.2k|    int compile_mode = -1;
  842|  27.2k|    int is_ast;
  843|  27.2k|    int start[] = {Py_file_input, Py_eval_input, Py_single_input, Py_func_type_input};
  ------------------
  |  |    9|  27.2k|#define Py_file_input 257
  ------------------
                  int start[] = {Py_file_input, Py_eval_input, Py_single_input, Py_func_type_input};
  ------------------
  |  |   10|  27.2k|#define Py_eval_input 258
  ------------------
                  int start[] = {Py_file_input, Py_eval_input, Py_single_input, Py_func_type_input};
  ------------------
  |  |    8|  27.2k|#define Py_single_input 256
  ------------------
                  int start[] = {Py_file_input, Py_eval_input, Py_single_input, Py_func_type_input};
  ------------------
  |  |   11|  27.2k|#define Py_func_type_input 345
  ------------------
  844|  27.2k|    PyObject *result;
  845|       |
  846|  27.2k|    PyCompilerFlags cf = _PyCompilerFlags_INIT;
  ------------------
  |  |   33|  27.2k|    (PyCompilerFlags){.cf_flags = 0, .cf_feature_version = PY_MINOR_VERSION}
  |  |  ------------------
  |  |  |  |   24|  27.2k|#define PY_MINOR_VERSION        16
  |  |  ------------------
  ------------------
  847|  27.2k|    cf.cf_flags = flags | PyCF_SOURCE_IS_UTF8;
  ------------------
  |  |   15|  27.2k|#define PyCF_SOURCE_IS_UTF8  0x0100
  ------------------
  848|  27.2k|    if (feature_version >= 0 && (flags & PyCF_ONLY_AST)) {
  ------------------
  |  |   17|      0|#define PyCF_ONLY_AST 0x0400
  ------------------
  |  Branch (848:9): [True: 0, False: 27.2k]
  |  Branch (848:33): [True: 0, False: 0]
  ------------------
  849|      0|        cf.cf_feature_version = feature_version;
  850|      0|    }
  851|       |
  852|  27.2k|    if (flags &
  ------------------
  |  Branch (852:9): [True: 0, False: 27.2k]
  ------------------
  853|  27.2k|        ~(PyCF_MASK | PyCF_MASK_OBSOLETE | PyCF_COMPILE_MASK))
  ------------------
  |  |    6|  27.2k|#define PyCF_MASK (CO_FUTURE_DIVISION | CO_FUTURE_ABSOLUTE_IMPORT | \
  |  |  ------------------
  |  |  |  |  135|  27.2k|#define CO_FUTURE_DIVISION      0x20000
  |  |  ------------------
  |  |               #define PyCF_MASK (CO_FUTURE_DIVISION | CO_FUTURE_ABSOLUTE_IMPORT | \
  |  |  ------------------
  |  |  |  |  136|  27.2k|#define CO_FUTURE_ABSOLUTE_IMPORT 0x40000 /* do absolute imports by default */
  |  |  ------------------
  |  |    7|  27.2k|                   CO_FUTURE_WITH_STATEMENT | CO_FUTURE_PRINT_FUNCTION | \
  |  |  ------------------
  |  |  |  |  137|  27.2k|#define CO_FUTURE_WITH_STATEMENT  0x80000
  |  |  ------------------
  |  |                                  CO_FUTURE_WITH_STATEMENT | CO_FUTURE_PRINT_FUNCTION | \
  |  |  ------------------
  |  |  |  |  138|  27.2k|#define CO_FUTURE_PRINT_FUNCTION  0x100000
  |  |  ------------------
  |  |    8|  27.2k|                   CO_FUTURE_UNICODE_LITERALS | CO_FUTURE_BARRY_AS_BDFL | \
  |  |  ------------------
  |  |  |  |  139|  27.2k|#define CO_FUTURE_UNICODE_LITERALS 0x200000
  |  |  ------------------
  |  |                                  CO_FUTURE_UNICODE_LITERALS | CO_FUTURE_BARRY_AS_BDFL | \
  |  |  ------------------
  |  |  |  |  141|  27.2k|#define CO_FUTURE_BARRY_AS_BDFL  0x400000
  |  |  ------------------
  |  |    9|  27.2k|                   CO_FUTURE_GENERATOR_STOP | CO_FUTURE_ANNOTATIONS)
  |  |  ------------------
  |  |  |  |  142|  27.2k|#define CO_FUTURE_GENERATOR_STOP  0x800000
  |  |  ------------------
  |  |                                  CO_FUTURE_GENERATOR_STOP | CO_FUTURE_ANNOTATIONS)
  |  |  ------------------
  |  |  |  |  143|  27.2k|#define CO_FUTURE_ANNOTATIONS    0x1000000
  |  |  ------------------
  ------------------
                      ~(PyCF_MASK | PyCF_MASK_OBSOLETE | PyCF_COMPILE_MASK))
  ------------------
  |  |   10|  27.2k|#define PyCF_MASK_OBSOLETE (CO_NESTED)
  |  |  ------------------
  |  |  |  |  122|  27.2k|#define CO_NESTED       0x0010
  |  |  ------------------
  ------------------
                      ~(PyCF_MASK | PyCF_MASK_OBSOLETE | PyCF_COMPILE_MASK))
  ------------------
  |  |   23|  27.2k|#define PyCF_COMPILE_MASK (PyCF_ONLY_AST | PyCF_ALLOW_TOP_LEVEL_AWAIT | \
  |  |  ------------------
  |  |  |  |   17|  27.2k|#define PyCF_ONLY_AST 0x0400
  |  |  ------------------
  |  |               #define PyCF_COMPILE_MASK (PyCF_ONLY_AST | PyCF_ALLOW_TOP_LEVEL_AWAIT | \
  |  |  ------------------
  |  |  |  |   20|  27.2k|#define PyCF_ALLOW_TOP_LEVEL_AWAIT 0x2000
  |  |  ------------------
  |  |   24|  27.2k|                           PyCF_TYPE_COMMENTS | PyCF_DONT_IMPLY_DEDENT | \
  |  |  ------------------
  |  |  |  |   19|  27.2k|#define PyCF_TYPE_COMMENTS 0x1000
  |  |  ------------------
  |  |                                          PyCF_TYPE_COMMENTS | PyCF_DONT_IMPLY_DEDENT | \
  |  |  ------------------
  |  |  |  |   16|  27.2k|#define PyCF_DONT_IMPLY_DEDENT 0x0200
  |  |  ------------------
  |  |   25|  27.2k|                           PyCF_ALLOW_INCOMPLETE_INPUT | PyCF_OPTIMIZED_AST)
  |  |  ------------------
  |  |  |  |   21|  27.2k|#define PyCF_ALLOW_INCOMPLETE_INPUT 0x4000
  |  |  ------------------
  |  |                                          PyCF_ALLOW_INCOMPLETE_INPUT | PyCF_OPTIMIZED_AST)
  |  |  ------------------
  |  |  |  |   22|  27.2k|#define PyCF_OPTIMIZED_AST (0x8000 | PyCF_ONLY_AST)
  |  |  |  |  ------------------
  |  |  |  |  |  |   17|  27.2k|#define PyCF_ONLY_AST 0x0400
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  854|      0|    {
  855|      0|        PyErr_SetString(PyExc_ValueError,
  856|      0|                        "compile(): unrecognised flags");
  857|      0|        goto error;
  858|      0|    }
  859|       |    /* XXX Warn if (supplied_flags & PyCF_MASK_OBSOLETE) != 0? */
  860|       |
  861|  27.2k|    if (optimize < -1 || optimize > 2) {
  ------------------
  |  Branch (861:9): [True: 0, False: 27.2k]
  |  Branch (861:26): [True: 0, False: 27.2k]
  ------------------
  862|      0|        PyErr_SetString(PyExc_ValueError,
  863|      0|                        "compile(): invalid optimize value");
  864|      0|        goto error;
  865|      0|    }
  866|  27.2k|    if (modname == Py_None) {
  ------------------
  |  |  616|  27.2k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (866:9): [True: 27.1k, False: 45]
  ------------------
  867|  27.1k|        modname = NULL;
  868|  27.1k|    }
  869|     45|    else if (!PyUnicode_Check(modname)) {
  ------------------
  |  |  103|     45|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     45|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (869:14): [True: 0, False: 45]
  ------------------
  870|      0|        PyErr_Format(PyExc_TypeError,
  871|      0|                     "compile() argument 'module' must be str or None, not %T",
  872|      0|                     modname);
  873|      0|        goto error;
  874|      0|    }
  875|       |
  876|  27.2k|    if (!dont_inherit) {
  ------------------
  |  Branch (876:9): [True: 27.1k, False: 45]
  ------------------
  877|  27.1k|        PyEval_MergeCompilerFlags(&cf);
  878|  27.1k|    }
  879|       |
  880|  27.2k|    if (strcmp(mode, "exec") == 0)
  ------------------
  |  Branch (880:9): [True: 27.2k, False: 16]
  ------------------
  881|  27.2k|        compile_mode = 0;
  882|     16|    else if (strcmp(mode, "eval") == 0)
  ------------------
  |  Branch (882:14): [True: 16, False: 0]
  ------------------
  883|     16|        compile_mode = 1;
  884|      0|    else if (strcmp(mode, "single") == 0)
  ------------------
  |  Branch (884:14): [True: 0, False: 0]
  ------------------
  885|      0|        compile_mode = 2;
  886|      0|    else if (strcmp(mode, "func_type") == 0) {
  ------------------
  |  Branch (886:14): [True: 0, False: 0]
  ------------------
  887|      0|        if (!(flags & PyCF_ONLY_AST)) {
  ------------------
  |  |   17|      0|#define PyCF_ONLY_AST 0x0400
  ------------------
  |  Branch (887:13): [True: 0, False: 0]
  ------------------
  888|      0|            PyErr_SetString(PyExc_ValueError,
  889|      0|                            "compile() mode 'func_type' requires flag PyCF_ONLY_AST");
  890|      0|            goto error;
  891|      0|        }
  892|      0|        compile_mode = 3;
  893|      0|    }
  894|      0|    else {
  895|      0|        const char *msg;
  896|      0|        if (flags & PyCF_ONLY_AST)
  ------------------
  |  |   17|      0|#define PyCF_ONLY_AST 0x0400
  ------------------
  |  Branch (896:13): [True: 0, False: 0]
  ------------------
  897|      0|            msg = "compile() mode must be 'exec', 'eval', 'single' or 'func_type'";
  898|      0|        else
  899|      0|            msg = "compile() mode must be 'exec', 'eval' or 'single'";
  900|      0|        PyErr_SetString(PyExc_ValueError, msg);
  901|      0|        goto error;
  902|      0|    }
  903|       |
  904|  27.2k|    is_ast = PyAST_Check(source);
  905|  27.2k|    if (is_ast == -1)
  ------------------
  |  Branch (905:9): [True: 0, False: 27.2k]
  ------------------
  906|      0|        goto error;
  907|  27.2k|    if (is_ast) {
  ------------------
  |  Branch (907:9): [True: 0, False: 27.2k]
  ------------------
  908|      0|        PyArena *arena = _PyArena_New();
  909|      0|        if (arena == NULL) {
  ------------------
  |  Branch (909:13): [True: 0, False: 0]
  ------------------
  910|      0|            goto error;
  911|      0|        }
  912|       |
  913|      0|        if (flags & PyCF_ONLY_AST) {
  ------------------
  |  |   17|      0|#define PyCF_ONLY_AST 0x0400
  ------------------
  |  Branch (913:13): [True: 0, False: 0]
  ------------------
  914|      0|            mod_ty mod = PyAST_obj2mod(source, arena, compile_mode);
  915|      0|            if (mod == NULL || !_PyAST_Validate(mod)) {
  ------------------
  |  Branch (915:17): [True: 0, False: 0]
  |  Branch (915:32): [True: 0, False: 0]
  ------------------
  916|      0|                _PyArena_Free(arena);
  917|      0|                goto error;
  918|      0|            }
  919|      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
  ------------------
  920|      0|            if (_PyCompile_AstPreprocess(mod, filename, &cf, optimize, arena,
  ------------------
  |  Branch (920:17): [True: 0, False: 0]
  ------------------
  921|      0|                                         syntax_check_only, modname) < 0)
  922|      0|            {
  923|      0|                _PyArena_Free(arena);
  924|      0|                goto error;
  925|      0|            }
  926|      0|            result = PyAST_mod2obj(mod);
  927|      0|        }
  928|      0|        else {
  929|      0|            mod_ty mod = PyAST_obj2mod(source, arena, compile_mode);
  930|      0|            if (mod == NULL || !_PyAST_Validate(mod)) {
  ------------------
  |  Branch (930:17): [True: 0, False: 0]
  |  Branch (930:32): [True: 0, False: 0]
  ------------------
  931|      0|                _PyArena_Free(arena);
  932|      0|                goto error;
  933|      0|            }
  934|      0|            result = (PyObject*)_PyAST_Compile(mod, filename,
  935|      0|                                               &cf, optimize, arena, modname);
  936|      0|        }
  937|      0|        _PyArena_Free(arena);
  938|      0|        goto finally;
  939|      0|    }
  940|       |
  941|  27.2k|    str = _Py_SourceAsString(source, "compile", "string, bytes or AST", &cf, &source_copy);
  942|  27.2k|    if (str == NULL)
  ------------------
  |  Branch (942:9): [True: 0, False: 27.2k]
  ------------------
  943|      0|        goto error;
  944|       |
  945|       |#ifdef Py_GIL_DISABLED
  946|       |    // Disable immortalization of code constants for explicit
  947|       |    // compile() calls to get consistent frozen outputs between the default
  948|       |    // and free-threaded builds.
  949|       |    _PyThreadStateImpl *tstate = (_PyThreadStateImpl *)_PyThreadState_GET();
  950|       |    tstate->suppress_co_const_immortalization++;
  951|       |#endif
  952|       |
  953|  27.2k|    result = _Py_CompileStringObjectWithModule(str, filename,
  954|  27.2k|                                               start[compile_mode], &cf,
  955|  27.2k|                                               optimize, modname);
  956|       |
  957|       |#ifdef Py_GIL_DISABLED
  958|       |    tstate->suppress_co_const_immortalization--;
  959|       |#endif
  960|       |
  961|  27.2k|    Py_XDECREF(source_copy);
  ------------------
  |  |  524|  27.2k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  27.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  962|  27.2k|    goto finally;
  963|       |
  964|      0|error:
  965|      0|    result = NULL;
  966|  27.2k|finally:
  967|  27.2k|    return result;
  968|      0|}
bltinmodule.c:builtin_delattr_impl:
 1829|    548|{
 1830|    548|    if (PyObject_DelAttr(obj, name) < 0) {
  ------------------
  |  Branch (1830:9): [True: 0, False: 548]
  ------------------
 1831|      0|        return NULL;
 1832|      0|    }
 1833|    548|    Py_RETURN_NONE;
  ------------------
  |  |  628|    548|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    548|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1834|    548|}
bltinmodule.c:builtin_dir:
  973|     16|{
  974|     16|    PyObject *arg = NULL;
  975|       |
  976|     16|    if (!PyArg_UnpackTuple(args, "dir", 0, 1, &arg))
  ------------------
  |  Branch (976:9): [True: 0, False: 16]
  ------------------
  977|      0|        return NULL;
  978|     16|    return PyObject_Dir(arg);
  979|     16|}
bltinmodule.c:builtin_eval_impl:
 1034|     62|{
 1035|     62|    PyThreadState *tstate = _PyThreadState_GET();
 1036|     62|    PyObject *result = NULL, *source_copy;
 1037|     62|    const char *str;
 1038|       |
 1039|     62|    if (locals != Py_None && !PyMapping_Check(locals)) {
  ------------------
  |  |  616|    124|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1039:9): [True: 0, False: 62]
  |  Branch (1039:30): [True: 0, False: 0]
  ------------------
 1040|      0|        PyErr_SetString(PyExc_TypeError, "locals must be a mapping");
 1041|      0|        return NULL;
 1042|      0|    }
 1043|     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 (1043:9): [True: 62, False: 0]
  ------------------
 1044|      0|        PyErr_SetString(PyExc_TypeError, PyMapping_Check(globals) ?
  ------------------
  |  Branch (1044:42): [True: 0, False: 0]
  ------------------
 1045|      0|            "globals must be a real dict or a frozendict; "
 1046|      0|            "try eval(expr, {}, mapping)"
 1047|      0|            : "globals must be a dict or a frozendict");
 1048|      0|        return NULL;
 1049|      0|    }
 1050|       |
 1051|     62|    int fromframe = 0;
 1052|     62|    if (globals != Py_None) {
  ------------------
  |  |  616|     62|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1052:9): [True: 62, False: 0]
  ------------------
 1053|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1054|     62|    }
 1055|      0|    else if (_PyEval_GetFrame() != NULL) {
  ------------------
  |  Branch (1055:14): [True: 0, False: 0]
  ------------------
 1056|      0|        fromframe = 1;
 1057|      0|        globals = PyEval_GetGlobals();
 1058|      0|        assert(globals != NULL);
 1059|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1060|      0|    }
 1061|      0|    else {
 1062|      0|        globals = _PyEval_GetGlobalsFromRunningMain(tstate);
 1063|      0|        if (globals == NULL) {
  ------------------
  |  Branch (1063:13): [True: 0, False: 0]
  ------------------
 1064|      0|            if (!_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (1064:17): [True: 0, False: 0]
  ------------------
 1065|      0|                PyErr_SetString(PyExc_TypeError,
 1066|      0|                    "eval must be given globals and locals "
 1067|      0|                    "when called without a frame");
 1068|      0|            }
 1069|      0|            return NULL;
 1070|      0|        }
 1071|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1072|      0|    }
 1073|       |
 1074|     62|    if (locals != Py_None) {
  ------------------
  |  |  616|     62|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1074:9): [True: 0, False: 62]
  ------------------
 1075|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1076|      0|    }
 1077|     62|    else if (fromframe) {
  ------------------
  |  Branch (1077:14): [True: 0, False: 62]
  ------------------
 1078|      0|        locals = _PyEval_GetFrameLocals();
 1079|      0|        if (locals == NULL) {
  ------------------
  |  Branch (1079:13): [True: 0, False: 0]
  ------------------
 1080|      0|            assert(PyErr_Occurred());
 1081|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1082|      0|            return NULL;
 1083|      0|        }
 1084|      0|    }
 1085|     62|    else {
 1086|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1087|     62|    }
 1088|       |
 1089|     62|    if (_PyEval_EnsureBuiltins(tstate, globals, NULL) < 0) {
  ------------------
  |  Branch (1089:9): [True: 0, False: 62]
  ------------------
 1090|      0|        goto error;
 1091|      0|    }
 1092|       |
 1093|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1094|      0|        if (PySys_Audit("exec", "O", source) < 0) {
  ------------------
  |  Branch (1094:13): [True: 0, False: 0]
  ------------------
 1095|      0|            goto error;
 1096|      0|        }
 1097|       |
 1098|      0|        if (PyCode_GetNumFree((PyCodeObject *)source) > 0) {
  ------------------
  |  Branch (1098:13): [True: 0, False: 0]
  ------------------
 1099|      0|            PyErr_SetString(PyExc_TypeError,
 1100|      0|                "code object passed to eval() may not contain free variables");
 1101|      0|            goto error;
 1102|      0|        }
 1103|      0|        result = PyEval_EvalCode(source, globals, locals);
 1104|      0|    }
 1105|     62|    else {
 1106|     62|        PyCompilerFlags cf = _PyCompilerFlags_INIT;
  ------------------
  |  |   33|     62|    (PyCompilerFlags){.cf_flags = 0, .cf_feature_version = PY_MINOR_VERSION}
  |  |  ------------------
  |  |  |  |   24|     62|#define PY_MINOR_VERSION        16
  |  |  ------------------
  ------------------
 1107|     62|        cf.cf_flags = PyCF_SOURCE_IS_UTF8;
  ------------------
  |  |   15|     62|#define PyCF_SOURCE_IS_UTF8  0x0100
  ------------------
 1108|     62|        str = _Py_SourceAsString(source, "eval", "string, bytes or code", &cf, &source_copy);
 1109|     62|        if (str == NULL)
  ------------------
  |  Branch (1109:13): [True: 0, False: 62]
  ------------------
 1110|      0|            goto error;
 1111|       |
 1112|     62|        while (*str == ' ' || *str == '\t')
  ------------------
  |  Branch (1112:16): [True: 0, False: 62]
  |  Branch (1112:31): [True: 0, False: 62]
  ------------------
 1113|      0|            str++;
 1114|       |
 1115|     62|        (void)PyEval_MergeCompilerFlags(&cf);
 1116|       |#ifdef Py_GIL_DISABLED
 1117|       |        // Don't immortalize code constants for explicit eval() calls
 1118|       |        // to avoid memory leaks.
 1119|       |        _PyThreadStateImpl *tstate = (_PyThreadStateImpl *)_PyThreadState_GET();
 1120|       |        tstate->suppress_co_const_immortalization++;
 1121|       |#endif
 1122|     62|        result = PyRun_StringFlags(str, Py_eval_input, globals, locals, &cf);
  ------------------
  |  |   10|     62|#define Py_eval_input 258
  ------------------
 1123|       |#ifdef Py_GIL_DISABLED
 1124|       |        tstate->suppress_co_const_immortalization--;
 1125|       |#endif
 1126|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1127|     62|    }
 1128|       |
 1129|     62|  error:
 1130|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1131|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1132|     62|    return result;
 1133|     62|}
bltinmodule.c:builtin_exec_impl:
 1160|  4.10k|{
 1161|  4.10k|    PyThreadState *tstate = _PyThreadState_GET();
 1162|  4.10k|    PyObject *v;
 1163|       |
 1164|  4.10k|    int fromframe = 0;
 1165|  4.10k|    if (globals != Py_None) {
  ------------------
  |  |  616|  4.10k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1165:9): [True: 4.10k, False: 0]
  ------------------
 1166|  4.10k|        Py_INCREF(globals);
  ------------------
  |  |  310|  4.10k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.10k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.10k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1167|  4.10k|    }
 1168|      0|    else if (_PyEval_GetFrame() != NULL) {
  ------------------
  |  Branch (1168:14): [True: 0, False: 0]
  ------------------
 1169|      0|        fromframe = 1;
 1170|      0|        globals = PyEval_GetGlobals();
 1171|      0|        assert(globals != NULL);
 1172|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1173|      0|    }
 1174|      0|    else {
 1175|      0|        globals = _PyEval_GetGlobalsFromRunningMain(tstate);
 1176|      0|        if (globals == NULL) {
  ------------------
  |  Branch (1176:13): [True: 0, False: 0]
  ------------------
 1177|      0|            if (!_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (1177:17): [True: 0, False: 0]
  ------------------
 1178|      0|                PyErr_SetString(PyExc_SystemError,
 1179|      0|                                "globals and locals cannot be NULL");
 1180|      0|            }
 1181|      0|            goto error;
 1182|      0|        }
 1183|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1184|      0|    }
 1185|       |
 1186|  4.10k|    if (locals != Py_None) {
  ------------------
  |  |  616|  4.10k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1186:9): [True: 46, False: 4.06k]
  ------------------
 1187|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1188|     46|    }
 1189|  4.06k|    else if (fromframe) {
  ------------------
  |  Branch (1189:14): [True: 0, False: 4.06k]
  ------------------
 1190|      0|        locals = _PyEval_GetFrameLocals();
 1191|      0|        if (locals == NULL) {
  ------------------
  |  Branch (1191:13): [True: 0, False: 0]
  ------------------
 1192|      0|            assert(PyErr_Occurred());
 1193|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1194|      0|            return NULL;
 1195|      0|        }
 1196|      0|    }
 1197|  4.06k|    else {
 1198|  4.06k|        locals = Py_NewRef(globals);
  ------------------
  |  |  550|  4.06k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  4.06k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.06k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1199|  4.06k|    }
 1200|       |
 1201|  4.10k|    if (!PyAnyDict_Check(globals)) {
  ------------------
  |  |   43|  4.10k|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|  4.10k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  8.21k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 4.10k, 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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1202|      0|        PyErr_Format(PyExc_TypeError,
 1203|      0|                     "exec() globals must be a dict or a frozendict, not %T",
 1204|      0|                     globals);
 1205|      0|        goto error;
 1206|      0|    }
 1207|  4.10k|    if (!PyMapping_Check(locals)) {
  ------------------
  |  Branch (1207:9): [True: 0, False: 4.10k]
  ------------------
 1208|      0|        PyErr_Format(PyExc_TypeError,
 1209|      0|            "locals must be a mapping or None, not %.100s",
 1210|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1211|      0|        goto error;
 1212|      0|    }
 1213|       |
 1214|  4.10k|    if (_PyEval_EnsureBuiltins(tstate, globals, NULL) < 0) {
  ------------------
  |  Branch (1214:9): [True: 0, False: 4.10k]
  ------------------
 1215|      0|        goto error;
 1216|      0|    }
 1217|       |
 1218|  4.10k|    if (closure == Py_None) {
  ------------------
  |  |  616|  4.10k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1218:9): [True: 0, False: 4.10k]
  ------------------
 1219|      0|        closure = NULL;
 1220|      0|    }
 1221|       |
 1222|  4.10k|    if (PyCode_Check(source)) {
  ------------------
  |  |  164|  4.10k|#define PyCode_Check(op) Py_IS_TYPE((op), &PyCode_Type)
  |  |  ------------------
  |  |  |  |  215|  4.10k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.10k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.10k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 3.97k, False: 135]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1223|  3.97k|        Py_ssize_t num_free = PyCode_GetNumFree((PyCodeObject *)source);
 1224|  3.97k|        if (num_free == 0) {
  ------------------
  |  Branch (1224:13): [True: 3.97k, False: 0]
  ------------------
 1225|  3.97k|            if (closure) {
  ------------------
  |  Branch (1225:17): [True: 0, False: 3.97k]
  ------------------
 1226|      0|                PyErr_SetString(PyExc_TypeError,
 1227|      0|                    "cannot use a closure with this code object");
 1228|      0|                goto error;
 1229|      0|            }
 1230|  3.97k|        } else {
 1231|      0|            int closure_is_ok =
 1232|      0|                closure
  ------------------
  |  Branch (1232:17): [True: 0, False: 0]
  ------------------
 1233|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1234|      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 (1234:20): [True: 0, False: 0]
  ------------------
 1235|      0|            if (closure_is_ok) {
  ------------------
  |  Branch (1235:17): [True: 0, False: 0]
  ------------------
 1236|      0|                for (Py_ssize_t i = 0; i < num_free; i++) {
  ------------------
  |  Branch (1236:40): [True: 0, False: 0]
  ------------------
 1237|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1238|      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 (1238:25): [True: 0, False: 0]
  ------------------
 1239|      0|                        closure_is_ok = 0;
 1240|      0|                        break;
 1241|      0|                    }
 1242|      0|                }
 1243|      0|            }
 1244|      0|            if (!closure_is_ok) {
  ------------------
  |  Branch (1244:17): [True: 0, False: 0]
  ------------------
 1245|      0|                PyErr_Format(PyExc_TypeError,
 1246|      0|                    "code object requires a closure of exactly length %zd",
 1247|      0|                    num_free);
 1248|      0|                goto error;
 1249|      0|            }
 1250|      0|        }
 1251|       |
 1252|  3.97k|        if (PySys_Audit("exec", "O", source) < 0) {
  ------------------
  |  Branch (1252:13): [True: 0, False: 3.97k]
  ------------------
 1253|      0|            goto error;
 1254|      0|        }
 1255|       |
 1256|  3.97k|        if (!closure) {
  ------------------
  |  Branch (1256:13): [True: 3.97k, False: 0]
  ------------------
 1257|  3.97k|            v = PyEval_EvalCode(source, globals, locals);
 1258|  3.97k|        } else {
 1259|      0|            v = PyEval_EvalCodeEx(source, globals, locals,
 1260|      0|                NULL, 0,
 1261|      0|                NULL, 0,
 1262|      0|                NULL, 0,
 1263|      0|                NULL,
 1264|      0|                closure);
 1265|      0|        }
 1266|  3.97k|    }
 1267|    135|    else {
 1268|    135|        if (closure != NULL) {
  ------------------
  |  Branch (1268:13): [True: 0, False: 135]
  ------------------
 1269|      0|            PyErr_SetString(PyExc_TypeError,
 1270|      0|                "closure can only be used when source is a code object");
 1271|      0|            goto error;
 1272|      0|        }
 1273|    135|        PyObject *source_copy;
 1274|    135|        const char *str;
 1275|    135|        PyCompilerFlags cf = _PyCompilerFlags_INIT;
  ------------------
  |  |   33|    135|    (PyCompilerFlags){.cf_flags = 0, .cf_feature_version = PY_MINOR_VERSION}
  |  |  ------------------
  |  |  |  |   24|    135|#define PY_MINOR_VERSION        16
  |  |  ------------------
  ------------------
 1276|    135|        cf.cf_flags = PyCF_SOURCE_IS_UTF8;
  ------------------
  |  |   15|    135|#define PyCF_SOURCE_IS_UTF8  0x0100
  ------------------
 1277|    135|        str = _Py_SourceAsString(source, "exec",
 1278|    135|                                       "string, bytes or code", &cf,
 1279|    135|                                       &source_copy);
 1280|    135|        if (str == NULL)
  ------------------
  |  Branch (1280:13): [True: 0, False: 135]
  ------------------
 1281|      0|            goto error;
 1282|    135|        if (PyEval_MergeCompilerFlags(&cf))
  ------------------
  |  Branch (1282:13): [True: 135, False: 0]
  ------------------
 1283|    135|            v = PyRun_StringFlags(str, Py_file_input, globals,
  ------------------
  |  |    9|    135|#define Py_file_input 257
  ------------------
 1284|    135|                                  locals, &cf);
 1285|      0|        else
 1286|      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)
  ------------------
 1287|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1288|    135|    }
 1289|  4.10k|    if (v == NULL)
  ------------------
  |  Branch (1289:9): [True: 3.44k, False: 667]
  ------------------
 1290|  3.44k|        goto error;
 1291|    667|    Py_DECREF(globals);
  ------------------
  |  |  430|    667|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    667|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    667|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1292|    667|    Py_DECREF(locals);
  ------------------
  |  |  430|    667|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    667|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    667|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1293|    667|    Py_DECREF(v);
  ------------------
  |  |  430|    667|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    667|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    667|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1294|    667|    Py_RETURN_NONE;
  ------------------
  |  |  628|    667|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    667|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1295|       |
 1296|  3.44k|  error:
 1297|  3.44k|    Py_XDECREF(globals);
  ------------------
  |  |  524|  3.44k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.44k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.44k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1298|  3.44k|    Py_XDECREF(locals);
  ------------------
  |  |  524|  3.44k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.44k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.44k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1299|       |    return NULL;
 1300|  4.10k|}
bltinmodule.c:builtin_getattr:
 1306|  4.83M|{
 1307|  4.83M|    PyObject *v, *name, *result;
 1308|       |
 1309|  4.83M|    if (!_PyArg_CheckPositional("getattr", nargs, 2, 3))
  ------------------
  |  |   31|  4.83M|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 4.83M, False: 0]
  |  |  |  Branch (31:27): [True: 4.83M, False: 0]
  |  |  ------------------
  |  |   32|  4.83M|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1310|      0|        return NULL;
 1311|       |
 1312|  4.83M|    v = args[0];
 1313|  4.83M|    name = args[1];
 1314|  4.83M|    if (nargs > 2) {
  ------------------
  |  Branch (1314:9): [True: 227k, False: 4.60M]
  ------------------
 1315|   227k|        if (PyObject_GetOptionalAttr(v, name, &result) == 0) {
  ------------------
  |  Branch (1315:13): [True: 54.4k, False: 172k]
  ------------------
 1316|  54.4k|            PyObject *dflt = args[2];
 1317|  54.4k|            return Py_NewRef(dflt);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1318|  54.4k|        }
 1319|   227k|    }
 1320|  4.60M|    else {
 1321|  4.60M|        result = PyObject_GetAttr(v, name);
 1322|  4.60M|    }
 1323|  4.77M|    return result;
 1324|  4.83M|}
bltinmodule.c:builtin_globals_impl:
 1346|     86|{
 1347|     86|    PyObject *globals;
 1348|     86|    if (_PyEval_GetFrame() != NULL) {
  ------------------
  |  Branch (1348:9): [True: 86, False: 0]
  ------------------
 1349|     86|        globals = PyEval_GetGlobals();
 1350|     86|        assert(globals != NULL);
 1351|     86|        return Py_NewRef(globals);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1352|     86|    }
 1353|      0|    PyThreadState *tstate = _PyThreadState_GET();
 1354|      0|    globals = _PyEval_GetGlobalsFromRunningMain(tstate);
 1355|      0|    if (globals == NULL) {
  ------------------
  |  Branch (1355:9): [True: 0, False: 0]
  ------------------
 1356|      0|        if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (1356:13): [True: 0, False: 0]
  ------------------
 1357|      0|            return NULL;
 1358|      0|        }
 1359|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1360|      0|    }
 1361|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1362|      0|}
bltinmodule.c:builtin_hasattr_impl:
 1380|   859k|{
 1381|   859k|    PyObject *v;
 1382|       |
 1383|   859k|    if (PyObject_GetOptionalAttr(obj, name, &v) < 0) {
  ------------------
  |  Branch (1383:9): [True: 0, False: 859k]
  ------------------
 1384|      0|        return NULL;
 1385|      0|    }
 1386|   859k|    if (v == NULL) {
  ------------------
  |  Branch (1386:9): [True: 4.31k, False: 854k]
  ------------------
 1387|  4.31k|        Py_RETURN_FALSE;
  ------------------
  |  |   45|  4.31k|#  define Py_RETURN_FALSE return Py_False
  |  |  ------------------
  |  |  |  |   25|  4.31k|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.31k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.31k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1388|  4.31k|    }
 1389|   854k|    Py_DECREF(v);
  ------------------
  |  |  430|   854k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   854k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   854k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1390|   854k|    Py_RETURN_TRUE;
  ------------------
  |  |   44|   854k|#  define Py_RETURN_TRUE return Py_True
  |  |  ------------------
  |  |  |  |   26|   854k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   854k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   854k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1391|   859k|}
bltinmodule.c:builtin_hash:
 1854|  89.3k|{
 1855|  89.3k|    Py_hash_t x;
 1856|       |
 1857|  89.3k|    x = PyObject_Hash(obj);
 1858|  89.3k|    if (x == -1)
  ------------------
  |  Branch (1858:9): [True: 0, False: 89.3k]
  ------------------
 1859|      0|        return NULL;
 1860|  89.3k|    return PyLong_FromSsize_t(x);
 1861|  89.3k|}
bltinmodule.c:builtin_id_impl:
 1414|  23.7k|{
 1415|  23.7k|    PyObject *id = PyLong_FromVoidPtr(v);
 1416|       |
 1417|  23.7k|    if (id && PySys_Audit("builtins.id", "O", id) < 0) {
  ------------------
  |  Branch (1417:9): [True: 23.7k, False: 0]
  |  Branch (1417:15): [True: 0, False: 23.7k]
  ------------------
 1418|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1419|      0|        return NULL;
 1420|      0|    }
 1421|       |
 1422|  23.7k|    return id;
 1423|  23.7k|}
bltinmodule.c:builtin_isinstance_impl:
 3114|    508|{
 3115|    508|    int retval;
 3116|       |
 3117|    508|    retval = PyObject_IsInstance(obj, class_or_tuple);
 3118|    508|    if (retval < 0)
  ------------------
  |  Branch (3118:9): [True: 0, False: 508]
  ------------------
 3119|      0|        return NULL;
 3120|    508|    return PyBool_FromLong(retval);
 3121|    508|}
bltinmodule.c:builtin_issubclass_impl:
 3142|    770|{
 3143|    770|    int retval;
 3144|       |
 3145|    770|    retval = PyObject_IsSubclass(cls, class_or_tuple);
 3146|    770|    if (retval < 0)
  ------------------
  |  Branch (3146:9): [True: 0, False: 770]
  ------------------
 3147|      0|        return NULL;
 3148|    770|    return PyBool_FromLong(retval);
 3149|    770|}
bltinmodule.c:builtin_iter:
 1887|     60|{
 1888|     60|    PyObject *v;
 1889|       |
 1890|     60|    if (!_PyArg_CheckPositional("iter", nargs, 1, 2))
  ------------------
  |  |   31|     60|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 60, False: 0]
  |  |  |  Branch (31:27): [True: 60, False: 0]
  |  |  ------------------
  |  |   32|     60|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1891|      0|        return NULL;
 1892|     60|    v = args[0];
 1893|     60|    if (nargs == 1)
  ------------------
  |  Branch (1893:9): [True: 58, False: 2]
  ------------------
 1894|     58|        return PyObject_GetIter(v);
 1895|      2|    if (!PyCallable_Check(v)) {
  ------------------
  |  Branch (1895:9): [True: 0, False: 2]
  ------------------
 1896|      0|        PyErr_SetString(PyExc_TypeError,
 1897|      0|                        "iter(v, w): v must be callable");
 1898|      0|        return NULL;
 1899|      0|    }
 1900|      2|    PyObject *sentinel = args[1];
 1901|      2|    return PyCallIter_New(v, sentinel);
 1902|      2|}
bltinmodule.c:builtin_len:
 1987|    383|{
 1988|    383|    Py_ssize_t res;
 1989|       |
 1990|    383|    res = PyObject_Size(obj);
 1991|    383|    if (res < 0) {
  ------------------
  |  Branch (1991:9): [True: 0, False: 383]
  ------------------
 1992|      0|        assert(PyErr_Occurred());
 1993|      0|        return NULL;
 1994|      0|    }
 1995|    383|    return PyLong_FromSsize_t(res);
 1996|    383|}
bltinmodule.c:builtin_locals_impl:
 2012|      4|{
 2013|      4|    PyObject *locals;
 2014|      4|    if (_PyEval_GetFrame() != NULL) {
  ------------------
  |  Branch (2014:9): [True: 4, False: 0]
  ------------------
 2015|      4|        locals = _PyEval_GetFrameLocals();
 2016|      4|        assert(locals != NULL || PyErr_Occurred());
 2017|      4|        return locals;
 2018|      4|    }
 2019|      0|    PyThreadState *tstate = _PyThreadState_GET();
 2020|      0|    locals = _PyEval_GetGlobalsFromRunningMain(tstate);
 2021|      0|    if (locals == NULL) {
  ------------------
  |  Branch (2021:9): [True: 0, False: 0]
  ------------------
 2022|      0|        if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (2022:13): [True: 0, False: 0]
  ------------------
 2023|      0|            return NULL;
 2024|      0|        }
 2025|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 2026|      0|    }
 2027|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2028|      0|}
bltinmodule.c:builtin_max:
 2169|  4.33M|{
 2170|  4.33M|    return min_max(args, nargs, kwnames, Py_GT);
  ------------------
  |  |  656|  4.33M|#define Py_GT 4
  ------------------
 2171|  4.33M|}
bltinmodule.c:min_max:
 2033|  4.41M|{
 2034|  4.41M|    PyObject *it = NULL, *item, *val, *maxitem, *maxval, *keyfunc=NULL;
 2035|  4.41M|    PyObject *defaultval = NULL;
 2036|  4.41M|    static const char * const keywords[] = {"key", "default", NULL};
 2037|  4.41M|    static _PyArg_Parser _parser_min = {"|$OO:min", keywords, 0};
 2038|  4.41M|    static _PyArg_Parser _parser_max = {"|$OO:max", keywords, 0};
 2039|  4.41M|    const char *name = (op == Py_LT) ? "min" : "max";
  ------------------
  |  |  652|  4.41M|#define Py_LT 0
  ------------------
  |  Branch (2039:24): [True: 81.7k, False: 4.33M]
  ------------------
 2040|  4.41M|    _PyArg_Parser *_parser = (op == Py_LT) ? &_parser_min : &_parser_max;
  ------------------
  |  |  652|  4.41M|#define Py_LT 0
  ------------------
  |  Branch (2040:30): [True: 81.7k, False: 4.33M]
  ------------------
 2041|       |
 2042|  4.41M|    if (nargs == 0) {
  ------------------
  |  Branch (2042:9): [True: 0, False: 4.41M]
  ------------------
 2043|      0|        PyErr_Format(PyExc_TypeError, "%s expected at least 1 argument, got 0", name);
 2044|      0|        return NULL;
 2045|      0|    }
 2046|       |
 2047|  4.41M|    if (kwnames != NULL && !_PyArg_ParseStackAndKeywords(args + nargs, 0, kwnames, _parser,
  ------------------
  |  Branch (2047:9): [True: 28.2k, False: 4.38M]
  |  Branch (2047:28): [True: 0, False: 28.2k]
  ------------------
 2048|  28.2k|                                                         &keyfunc, &defaultval)) {
 2049|      0|        return NULL;
 2050|      0|    }
 2051|       |
 2052|  4.41M|    const int positional = nargs > 1; // False iff nargs == 1
 2053|  4.41M|    if (positional && defaultval != NULL) {
  ------------------
  |  Branch (2053:9): [True: 4.38M, False: 32.2k]
  |  Branch (2053:23): [True: 0, False: 4.38M]
  ------------------
 2054|      0|        PyErr_Format(PyExc_TypeError,
 2055|      0|                        "Cannot specify a default for %s() with multiple "
 2056|      0|                        "positional arguments", name);
 2057|      0|        return NULL;
 2058|      0|    }
 2059|       |
 2060|  4.41M|    if (!positional) {
  ------------------
  |  Branch (2060:9): [True: 32.2k, False: 4.38M]
  ------------------
 2061|  32.2k|        it = PyObject_GetIter(args[0]);
 2062|  32.2k|        if (it == NULL) {
  ------------------
  |  Branch (2062:13): [True: 0, False: 32.2k]
  ------------------
 2063|      0|            return NULL;
 2064|      0|        }
 2065|  32.2k|    }
 2066|       |
 2067|  4.41M|    if (keyfunc == Py_None) {
  ------------------
  |  |  616|  4.41M|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (2067:9): [True: 0, False: 4.41M]
  ------------------
 2068|      0|        keyfunc = NULL;
 2069|      0|    }
 2070|       |
 2071|  4.41M|    maxitem = NULL; /* the result */
 2072|  4.41M|    maxval = NULL;  /* the value associated with the result */
 2073|  13.2M|    while (1) {
  ------------------
  |  Branch (2073:12): [True: 13.2M, Folded]
  ------------------
 2074|  13.2M|        if (it == NULL) {
  ------------------
  |  Branch (2074:13): [True: 13.1M, False: 71.1k]
  ------------------
 2075|  13.1M|            if (nargs-- <= 0) {
  ------------------
  |  Branch (2075:17): [True: 4.38M, False: 8.76M]
  ------------------
 2076|  4.38M|                break;
 2077|  4.38M|            }
 2078|  8.76M|            item = *args++;
 2079|  8.76M|            Py_INCREF(item);
  ------------------
  |  |  310|  8.76M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.76M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.76M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2080|  8.76M|        }
 2081|  71.1k|        else {
 2082|  71.1k|            item = PyIter_Next(it);
 2083|  71.1k|            if (item == NULL) {
  ------------------
  |  Branch (2083:17): [True: 32.2k, False: 38.9k]
  ------------------
 2084|  32.2k|                if (PyErr_Occurred()) {
  ------------------
  |  Branch (2084:21): [True: 0, False: 32.2k]
  ------------------
 2085|      0|                    goto Fail_it;
 2086|      0|                }
 2087|  32.2k|                break;
 2088|  32.2k|            }
 2089|  71.1k|        }
 2090|       |
 2091|       |        /* get the value from the key function */
 2092|  8.80M|        if (keyfunc != NULL) {
  ------------------
  |  Branch (2092:13): [True: 34.1k, False: 8.76M]
  ------------------
 2093|  34.1k|            val = PyObject_CallOneArg(keyfunc, item);
 2094|  34.1k|            if (val == NULL)
  ------------------
  |  Branch (2094:17): [True: 0, False: 34.1k]
  ------------------
 2095|      0|                goto Fail_it_item;
 2096|  34.1k|        }
 2097|       |        /* no key function; the value is the item */
 2098|  8.76M|        else {
 2099|  8.76M|            val = Py_NewRef(item);
  ------------------
  |  |  550|  8.76M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  8.76M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.76M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2100|  8.76M|        }
 2101|       |
 2102|       |        /* maximum value and item are unset; set them */
 2103|  8.80M|        if (maxval == NULL) {
  ------------------
  |  Branch (2103:13): [True: 4.41M, False: 4.38M]
  ------------------
 2104|  4.41M|            maxitem = item;
 2105|  4.41M|            maxval = val;
 2106|  4.41M|        }
 2107|       |        /* maximum value and item are set; update them as necessary */
 2108|  4.38M|        else {
 2109|  4.38M|            int cmp = PyObject_RichCompareBool(val, maxval, op);
 2110|  4.38M|            if (cmp < 0)
  ------------------
  |  Branch (2110:17): [True: 0, False: 4.38M]
  ------------------
 2111|      0|                goto Fail_it_item_and_val;
 2112|  4.38M|            else if (cmp > 0) {
  ------------------
  |  Branch (2112:22): [True: 2.05M, False: 2.33M]
  ------------------
 2113|  2.05M|                Py_DECREF(maxval);
  ------------------
  |  |  430|  2.05M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.05M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.05M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2114|  2.05M|                Py_DECREF(maxitem);
  ------------------
  |  |  430|  2.05M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.05M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.05M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2115|  2.05M|                maxval = val;
 2116|  2.05M|                maxitem = item;
 2117|  2.05M|            }
 2118|  2.33M|            else {
 2119|  2.33M|                Py_DECREF(item);
  ------------------
  |  |  430|  2.33M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.33M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.33M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2120|  2.33M|                Py_DECREF(val);
  ------------------
  |  |  430|  2.33M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.33M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.33M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2121|  2.33M|            }
 2122|  4.38M|        }
 2123|  8.80M|    }
 2124|  4.41M|    if (maxval == NULL) {
  ------------------
  |  Branch (2124:9): [True: 0, False: 4.41M]
  ------------------
 2125|      0|        assert(maxitem == NULL);
 2126|      0|        if (defaultval != NULL) {
  ------------------
  |  Branch (2126:13): [True: 0, False: 0]
  ------------------
 2127|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2128|      0|        } else {
 2129|      0|            PyErr_Format(PyExc_ValueError,
 2130|      0|                         "%s() iterable argument is empty", name);
 2131|      0|        }
 2132|      0|    }
 2133|  4.41M|    else
 2134|  4.41M|        Py_DECREF(maxval);
  ------------------
  |  |  430|  4.41M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.41M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.41M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2135|  4.41M|    Py_XDECREF(it);
  ------------------
  |  |  524|  4.41M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.41M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.41M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2136|  4.41M|    return maxitem;
 2137|       |
 2138|      0|Fail_it_item_and_val:
 2139|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2140|      0|Fail_it_item:
 2141|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2142|      0|Fail_it:
 2143|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2144|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2145|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2146|       |    return NULL;
 2147|      0|}
bltinmodule.c:builtin_min:
 2152|  81.7k|{
 2153|  81.7k|    return min_max(args, nargs, kwnames, Py_LT);
  ------------------
  |  |  652|  81.7k|#define Py_LT 0
  ------------------
 2154|  81.7k|}
bltinmodule.c:builtin_next:
 1750|  21.8k|{
 1751|  21.8k|    PyObject *it, *res;
 1752|       |
 1753|  21.8k|    if (!_PyArg_CheckPositional("next", nargs, 1, 2))
  ------------------
  |  |   31|  21.8k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 21.8k, False: 0]
  |  |  |  Branch (31:27): [True: 21.8k, False: 0]
  |  |  ------------------
  |  |   32|  21.8k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1754|      0|        return NULL;
 1755|       |
 1756|  21.8k|    it = args[0];
 1757|  21.8k|    if (!PyIter_Check(it)) {
  ------------------
  |  Branch (1757:9): [True: 0, False: 21.8k]
  ------------------
 1758|      0|        PyErr_Format(PyExc_TypeError,
 1759|      0|            "'%.200s' object is not an iterator",
 1760|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1761|      0|        return NULL;
 1762|      0|    }
 1763|       |
 1764|  21.8k|    res = (*Py_TYPE(it)->tp_iternext)(it);
  ------------------
  |  |  213|  21.8k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  21.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  21.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1765|  21.8k|    if (res != NULL) {
  ------------------
  |  Branch (1765:9): [True: 20.9k, False: 963]
  ------------------
 1766|  20.9k|        return res;
 1767|  20.9k|    } else if (nargs > 1) {
  ------------------
  |  Branch (1767:16): [True: 2, False: 961]
  ------------------
 1768|      2|        PyObject *def = args[1];
 1769|      2|        if (PyErr_Occurred()) {
  ------------------
  |  Branch (1769:13): [True: 0, False: 2]
  ------------------
 1770|      0|            if(!PyErr_ExceptionMatches(PyExc_StopIteration))
  ------------------
  |  Branch (1770:16): [True: 0, False: 0]
  ------------------
 1771|      0|                return NULL;
 1772|      0|            PyErr_Clear();
 1773|      0|        }
 1774|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1775|    961|    } else if (PyErr_Occurred()) {
  ------------------
  |  Branch (1775:16): [True: 0, False: 961]
  ------------------
 1776|      0|        return NULL;
 1777|    961|    } else {
 1778|    961|        PyErr_SetNone(PyExc_StopIteration);
 1779|       |        return NULL;
 1780|    961|    }
 1781|  21.8k|}
bltinmodule.c:builtin_ord:
 2221|  1.37k|{
 2222|  1.37k|    long ord;
 2223|  1.37k|    Py_ssize_t size;
 2224|       |
 2225|  1.37k|    if (PyBytes_Check(c)) {
  ------------------
  |  |   28|  1.37k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.37k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 1.37k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2226|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2227|      0|        if (size == 1) {
  ------------------
  |  Branch (2227:13): [True: 0, False: 0]
  ------------------
 2228|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2229|      0|            return PyLong_FromLong(ord);
 2230|      0|        }
 2231|      0|    }
 2232|  1.37k|    else if (PyUnicode_Check(c)) {
  ------------------
  |  |  103|  1.37k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.37k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 1.37k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2233|  1.37k|        size = PyUnicode_GET_LENGTH(c);
  ------------------
  |  |  299|  1.37k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.37k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2234|  1.37k|        if (size == 1) {
  ------------------
  |  Branch (2234:13): [True: 1.37k, False: 0]
  ------------------
 2235|  1.37k|            ord = (long)PyUnicode_READ_CHAR(c, 0);
  ------------------
  |  |  381|  1.37k|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|  1.37k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2236|  1.37k|            return PyLong_FromLong(ord);
 2237|  1.37k|        }
 2238|  1.37k|    }
 2239|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2240|       |        /* XXX Hopefully this is temporary */
 2241|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2242|      0|        if (size == 1) {
  ------------------
  |  Branch (2242:13): [True: 0, False: 0]
  ------------------
 2243|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2244|      0|            return PyLong_FromLong(ord);
 2245|      0|        }
 2246|      0|    }
 2247|      0|    else {
 2248|      0|        PyErr_Format(PyExc_TypeError,
 2249|      0|                     "ord() expected string of length 1, but " \
 2250|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2251|      0|        return NULL;
 2252|      0|    }
 2253|       |
 2254|      0|    PyErr_Format(PyExc_TypeError,
 2255|      0|                 "ord() expected a character, "
 2256|      0|                 "but string of length %zd found",
 2257|      0|                 size);
 2258|       |    return NULL;
 2259|  1.37k|}
bltinmodule.c:builtin_pow_impl:
 2279|      2|{
 2280|      2|    return PyNumber_Power(base, exp, mod);
 2281|      2|}
bltinmodule.c:builtin_repr:
 2660|  30.8k|{
 2661|  30.8k|    return PyObject_Repr(obj);
 2662|  30.8k|}
bltinmodule.c:builtin_setattr_impl:
 1807|   415k|{
 1808|   415k|    if (PyObject_SetAttr(obj, name, value) != 0)
  ------------------
  |  Branch (1808:9): [True: 0, False: 415k]
  ------------------
 1809|      0|        return NULL;
 1810|   415k|    Py_RETURN_NONE;
  ------------------
  |  |  628|   415k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|   415k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1811|   415k|}
bltinmodule.c:builtin_sorted:
 2729|  2.00M|{
 2730|  2.00M|    PyObject *newlist, *v, *seq, *callable;
 2731|       |
 2732|       |    /* Keyword arguments are passed through list.sort() which will check
 2733|       |       them. */
 2734|  2.00M|    if (!_PyArg_UnpackStack(args, nargs, "sorted", 1, 1, &seq))
  ------------------
  |  Branch (2734:9): [True: 0, False: 2.00M]
  ------------------
 2735|      0|        return NULL;
 2736|       |
 2737|  2.00M|    newlist = PySequence_List(seq);
 2738|  2.00M|    if (newlist == NULL)
  ------------------
  |  Branch (2738:9): [True: 0, False: 2.00M]
  ------------------
 2739|      0|        return NULL;
 2740|       |
 2741|  2.00M|    callable = PyObject_GetAttr(newlist, &_Py_ID(sort));
  ------------------
  |  |  915|  2.00M|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  2.00M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.00M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2742|  2.00M|    if (callable == NULL) {
  ------------------
  |  Branch (2742:9): [True: 0, False: 2.00M]
  ------------------
 2743|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2744|      0|        return NULL;
 2745|      0|    }
 2746|       |
 2747|  2.00M|    assert(nargs >= 1);
 2748|  2.00M|    v = PyObject_Vectorcall(callable, args + 1, nargs - 1, kwnames);
 2749|  2.00M|    Py_DECREF(callable);
  ------------------
  |  |  430|  2.00M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.00M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.00M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2750|  2.00M|    if (v == NULL) {
  ------------------
  |  Branch (2750:9): [True: 0, False: 2.00M]
  ------------------
 2751|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2752|      0|        return NULL;
 2753|      0|    }
 2754|  2.00M|    Py_DECREF(v);
  ------------------
  |  |  430|  2.00M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.00M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.00M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2755|  2.00M|    return newlist;
 2756|  2.00M|}
bltinmodule.c:builtin_sum_impl:
 2862|  12.4k|{
 2863|  12.4k|    PyObject *result = start;
 2864|  12.4k|    PyObject *temp, *item, *iter;
 2865|       |
 2866|  12.4k|    iter = PyObject_GetIter(iterable);
 2867|  12.4k|    if (iter == NULL)
  ------------------
  |  Branch (2867:9): [True: 0, False: 12.4k]
  ------------------
 2868|      0|        return NULL;
 2869|       |
 2870|  12.4k|    if (result == NULL) {
  ------------------
  |  Branch (2870:9): [True: 12.3k, False: 76]
  ------------------
 2871|  12.3k|        result = PyLong_FromLong(0);
 2872|  12.3k|        if (result == NULL) {
  ------------------
  |  Branch (2872:13): [True: 0, False: 12.3k]
  ------------------
 2873|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2874|      0|            return NULL;
 2875|      0|        }
 2876|  12.3k|    } else {
 2877|       |        /* reject string values for 'start' parameter */
 2878|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2879|      0|            PyErr_SetString(PyExc_TypeError,
 2880|      0|                "sum() can't sum strings [use ''.join(seq) instead]");
 2881|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2882|      0|            return NULL;
 2883|      0|        }
 2884|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2885|      0|            PyErr_SetString(PyExc_TypeError,
 2886|      0|                "sum() can't sum bytes [use b''.join(seq) instead]");
 2887|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2888|      0|            return NULL;
 2889|      0|        }
 2890|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2891|      0|            PyErr_SetString(PyExc_TypeError,
 2892|      0|                "sum() can't sum bytearray [use b''.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|        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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2897|     76|    }
 2898|       |
 2899|  12.4k|#ifndef SLOW_SUM
 2900|       |    /* Fast addition by keeping temporary sums in C instead of new Python objects.
 2901|       |       Assumes all inputs are the same type.  If the assumption fails, default
 2902|       |       to the more general routine.
 2903|       |    */
 2904|  12.4k|    if (PyLong_CheckExact(result)) {
  ------------------
  |  |   14|  12.4k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  12.4k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  12.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  12.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 12.3k, False: 76]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2905|  12.3k|        int overflow;
 2906|  12.3k|        Py_ssize_t i_result = PyLong_AsLongAndOverflow(result, &overflow);
 2907|       |        /* If this already overflowed, don't even enter the loop. */
 2908|  12.3k|        if (overflow == 0) {
  ------------------
  |  Branch (2908:13): [True: 12.3k, False: 0]
  ------------------
 2909|  12.3k|            Py_SETREF(result, NULL);
  ------------------
  |  |  352|  12.3k|    do { \
  |  |  353|  12.3k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  12.3k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|  12.3k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  12.3k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|  12.3k|        *_tmp_dst_ptr = (src); \
  |  |  356|  12.3k|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|  12.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 12.3k]
  |  |  ------------------
  ------------------
 2910|  12.3k|        }
 2911|  24.7k|        while(result == NULL) {
  ------------------
  |  Branch (2911:15): [True: 12.4k, False: 12.3k]
  ------------------
 2912|  12.4k|            item = PyIter_Next(iter);
 2913|  12.4k|            if (item == NULL) {
  ------------------
  |  Branch (2913:17): [True: 44, False: 12.3k]
  ------------------
 2914|     44|                Py_DECREF(iter);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2915|     44|                if (PyErr_Occurred())
  ------------------
  |  Branch (2915:21): [True: 0, False: 44]
  ------------------
 2916|      0|                    return NULL;
 2917|     44|                return PyLong_FromSsize_t(i_result);
 2918|     44|            }
 2919|  12.3k|            if (PyLong_CheckExact(item) || PyBool_Check(item)) {
  ------------------
  |  |   14|  12.3k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  24.7k|#  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: 68, False: 12.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          if (PyLong_CheckExact(item) || PyBool_Check(item)) {
  ------------------
  |  |   12|  12.3k|#define PyBool_Check(x) Py_IS_TYPE((x), &PyBool_Type)
  |  |  ------------------
  |  |  |  |  215|  12.3k|#  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: 0, False: 12.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2920|     68|                Py_ssize_t b;
 2921|     68|                overflow = 0;
 2922|       |                /* Single digits are common, fast, and cannot overflow on unpacking. */
 2923|     68|                if (_PyLong_IsCompact((PyLongObject *)item)) {
  ------------------
  |  Branch (2923:21): [True: 68, False: 0]
  ------------------
 2924|     68|                    b = _PyLong_CompactValue((PyLongObject *)item);
 2925|     68|                }
 2926|      0|                else {
 2927|      0|                    b = PyLong_AsLongAndOverflow(item, &overflow);
 2928|      0|                }
 2929|     68|                if (overflow == 0 &&
  ------------------
  |  Branch (2929:21): [True: 68, False: 0]
  ------------------
 2930|     68|                    (i_result >= 0 ? (b <= PY_SSIZE_T_MAX - i_result)
  ------------------
  |  |  137|     68|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (2930:21): [True: 68, False: 0]
  |  Branch (2930:22): [True: 68, False: 0]
  ------------------
 2931|     68|                                   : (b >= PY_SSIZE_T_MIN - i_result)))
  ------------------
  |  |  146|      0|#define PY_SSIZE_T_MIN (-PY_SSIZE_T_MAX-1)
  |  |  ------------------
  |  |  |  |  137|      0|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  ------------------
 2932|     68|                {
 2933|     68|                    i_result += b;
 2934|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2935|     68|                    continue;
 2936|     68|                }
 2937|     68|            }
 2938|       |            /* Either overflowed or is not an int. Restore real objects and process normally */
 2939|  12.3k|            result = PyLong_FromSsize_t(i_result);
 2940|  12.3k|            if (result == NULL) {
  ------------------
  |  Branch (2940:17): [True: 0, False: 12.3k]
  ------------------
 2941|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2942|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2943|      0|                return NULL;
 2944|      0|            }
 2945|  12.3k|            temp = PyNumber_Add(result, item);
 2946|  12.3k|            Py_DECREF(result);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2947|  12.3k|            Py_DECREF(item);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2948|  12.3k|            result = temp;
 2949|  12.3k|            if (result == NULL) {
  ------------------
  |  Branch (2949:17): [True: 0, False: 12.3k]
  ------------------
 2950|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2951|      0|                return NULL;
 2952|      0|            }
 2953|  12.3k|        }
 2954|  12.3k|    }
 2955|       |
 2956|  12.3k|    if (PyFloat_CheckExact(result)) {
  ------------------
  |  |   17|  12.3k|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  215|  12.3k|#  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: 12.3k, False: 76]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2957|  12.3k|        CompensatedSum re_sum = cs_from_double(PyFloat_AS_DOUBLE(result));
  ------------------
  |  |   18|  12.3k|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2958|  12.3k|        Py_SETREF(result, NULL);
  ------------------
  |  |  352|  12.3k|    do { \
  |  |  353|  12.3k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  12.3k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|  12.3k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  12.3k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|  12.3k|        *_tmp_dst_ptr = (src); \
  |  |  356|  12.3k|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|  12.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 12.3k]
  |  |  ------------------
  ------------------
 2959|  49.2k|        while(result == NULL) {
  ------------------
  |  Branch (2959:15): [True: 49.2k, False: 0]
  ------------------
 2960|  49.2k|            item = PyIter_Next(iter);
 2961|  49.2k|            if (item == NULL) {
  ------------------
  |  Branch (2961:17): [True: 12.3k, False: 36.9k]
  ------------------
 2962|  12.3k|                Py_DECREF(iter);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2963|  12.3k|                if (PyErr_Occurred())
  ------------------
  |  Branch (2963:21): [True: 0, False: 12.3k]
  ------------------
 2964|      0|                    return NULL;
 2965|  12.3k|                return PyFloat_FromDouble(cs_to_double(re_sum));
 2966|  12.3k|            }
 2967|  36.9k|            if (PyFloat_CheckExact(item)) {
  ------------------
  |  |   17|  36.9k|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  215|  36.9k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  36.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  36.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 36.9k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2968|  36.9k|                re_sum = cs_add(re_sum, PyFloat_AS_DOUBLE(item));
  ------------------
  |  |   18|  36.9k|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  36.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  36.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2969|  36.9k|                _Py_DECREF_SPECIALIZED(item, _PyFloat_ExactDealloc);
 2970|  36.9k|                continue;
 2971|  36.9k|            }
 2972|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2973|      0|                double value = PyLong_AsDouble(item);
 2974|      0|                if (value != -1.0 || !PyErr_Occurred()) {
  ------------------
  |  Branch (2974:21): [True: 0, False: 0]
  |  Branch (2974:38): [True: 0, False: 0]
  ------------------
 2975|      0|                    re_sum = cs_add(re_sum, value);
 2976|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2977|      0|                    continue;
 2978|      0|                }
 2979|      0|                else {
 2980|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2981|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2982|      0|                    return NULL;
 2983|      0|                }
 2984|      0|            }
 2985|      0|            result = PyFloat_FromDouble(cs_to_double(re_sum));
 2986|      0|            if (result == NULL) {
  ------------------
  |  Branch (2986:17): [True: 0, False: 0]
  ------------------
 2987|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2988|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2989|      0|                return NULL;
 2990|      0|            }
 2991|      0|            temp = PyNumber_Add(result, item);
 2992|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2993|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2994|      0|            result = temp;
 2995|      0|            if (result == NULL) {
  ------------------
  |  Branch (2995:17): [True: 0, False: 0]
  ------------------
 2996|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2997|      0|                return NULL;
 2998|      0|            }
 2999|      0|        }
 3000|  12.3k|    }
 3001|       |
 3002|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3003|      0|        Py_complex z = PyComplex_AsCComplex(result);
 3004|      0|        CompensatedSum re_sum = cs_from_double(z.real);
 3005|      0|        CompensatedSum im_sum = cs_from_double(z.imag);
 3006|      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]
  |  |  ------------------
  ------------------
 3007|      0|        while (result == NULL) {
  ------------------
  |  Branch (3007:16): [True: 0, False: 0]
  ------------------
 3008|      0|            item = PyIter_Next(iter);
 3009|      0|            if (item == NULL) {
  ------------------
  |  Branch (3009:17): [True: 0, False: 0]
  ------------------
 3010|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3011|      0|                if (PyErr_Occurred()) {
  ------------------
  |  Branch (3011:21): [True: 0, False: 0]
  ------------------
 3012|      0|                    return NULL;
 3013|      0|                }
 3014|      0|                return PyComplex_FromDoubles(cs_to_double(re_sum),
 3015|      0|                                             cs_to_double(im_sum));
 3016|      0|            }
 3017|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3018|      0|                z = PyComplex_AsCComplex(item);
 3019|      0|                re_sum = cs_add(re_sum, z.real);
 3020|      0|                im_sum = cs_add(im_sum, z.imag);
 3021|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3022|      0|                continue;
 3023|      0|            }
 3024|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3025|      0|                double value = PyLong_AsDouble(item);
 3026|      0|                if (value != -1.0 || !PyErr_Occurred()) {
  ------------------
  |  Branch (3026:21): [True: 0, False: 0]
  |  Branch (3026:38): [True: 0, False: 0]
  ------------------
 3027|      0|                    re_sum = cs_add(re_sum, value);
 3028|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3029|      0|                    continue;
 3030|      0|                }
 3031|      0|                else {
 3032|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3033|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3034|      0|                    return NULL;
 3035|      0|                }
 3036|      0|            }
 3037|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3038|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3039|      0|                re_sum = cs_add(re_sum, value);
 3040|      0|                _Py_DECREF_SPECIALIZED(item, _PyFloat_ExactDealloc);
 3041|      0|                continue;
 3042|      0|            }
 3043|      0|            result = PyComplex_FromDoubles(cs_to_double(re_sum),
 3044|      0|                                           cs_to_double(im_sum));
 3045|      0|            if (result == NULL) {
  ------------------
  |  Branch (3045:17): [True: 0, False: 0]
  ------------------
 3046|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3047|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3048|      0|                return NULL;
 3049|      0|            }
 3050|      0|            temp = PyNumber_Add(result, item);
 3051|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3052|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3053|      0|            result = temp;
 3054|      0|            if (result == NULL) {
  ------------------
  |  Branch (3054:17): [True: 0, False: 0]
  ------------------
 3055|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3056|      0|                return NULL;
 3057|      0|            }
 3058|      0|        }
 3059|      0|    }
 3060|     76|#endif
 3061|       |
 3062|  8.38k|    for(;;) {
 3063|  8.38k|        item = PyIter_Next(iter);
 3064|  8.38k|        if (item == NULL) {
  ------------------
  |  Branch (3064:13): [True: 76, False: 8.30k]
  ------------------
 3065|       |            /* error, or end-of-sequence */
 3066|     76|            if (PyErr_Occurred()) {
  ------------------
  |  Branch (3066:17): [True: 0, False: 76]
  ------------------
 3067|      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]
  |  |  ------------------
  ------------------
 3068|      0|            }
 3069|     76|            break;
 3070|     76|        }
 3071|       |        /* It's tempting to use PyNumber_InPlaceAdd instead of
 3072|       |           PyNumber_Add here, to avoid quadratic running time
 3073|       |           when doing 'sum(list_of_lists, [])'.  However, this
 3074|       |           would produce a change in behaviour: a snippet like
 3075|       |
 3076|       |             empty = []
 3077|       |             sum([[x] for x in range(10)], empty)
 3078|       |
 3079|       |           would change the value of empty. In fact, using
 3080|       |           in-place addition rather that binary addition for
 3081|       |           any of the steps introduces subtle behavior changes:
 3082|       |
 3083|       |           https://bugs.python.org/issue18305 */
 3084|  8.30k|        temp = PyNumber_Add(result, item);
 3085|  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3086|  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3087|  8.30k|        result = temp;
 3088|  8.30k|        if (result == NULL)
  ------------------
  |  Branch (3088:13): [True: 0, False: 8.30k]
  ------------------
 3089|      0|            break;
 3090|  8.30k|    }
 3091|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3092|     76|    return result;
 3093|     76|}
bltinmodule.c:cs_from_double:
 2816|  12.3k|{
 2817|  12.3k|    return (CompensatedSum) {x};
 2818|  12.3k|}
bltinmodule.c:cs_to_double:
 2835|  12.3k|{
 2836|       |    /* Avoid losing the sign on a negative result,
 2837|       |       and don't let adding the compensation convert
 2838|       |       an infinite or overflowed sum to a NaN. */
 2839|  12.3k|    if (total.lo && isfinite(total.lo)) {
  ------------------
  |  Branch (2839:9): [True: 0, False: 12.3k]
  |  Branch (2839:21): [True: 0, False: 0]
  ------------------
 2840|      0|        return total.hi + total.lo;
 2841|      0|    }
 2842|  12.3k|    return total.hi;
 2843|  12.3k|}
bltinmodule.c:cs_add:
 2822|  36.9k|{
 2823|  36.9k|    double t = total.hi + x;
 2824|  36.9k|    if (fabs(total.hi) >= fabs(x)) {
  ------------------
  |  Branch (2824:9): [True: 36.9k, False: 2]
  ------------------
 2825|  36.9k|        total.lo += (total.hi - t) + x;
 2826|  36.9k|    }
 2827|      2|    else {
 2828|      2|        total.lo += (x - t) + total.hi;
 2829|      2|    }
 2830|  36.9k|    return (CompensatedSum) {t, total.lo};
 2831|  36.9k|}
bltinmodule.c:builtin_vars:
 2762|     26|{
 2763|     26|    PyObject *v = NULL;
 2764|     26|    PyObject *d;
 2765|       |
 2766|     26|    if (!PyArg_UnpackTuple(args, "vars", 0, 1, &v))
  ------------------
  |  Branch (2766:9): [True: 0, False: 26]
  ------------------
 2767|      0|        return NULL;
 2768|     26|    if (v == NULL) {
  ------------------
  |  Branch (2768:9): [True: 0, False: 26]
  ------------------
 2769|      0|        if (_PyEval_GetFrame() != NULL) {
  ------------------
  |  Branch (2769:13): [True: 0, False: 0]
  ------------------
 2770|      0|            d = _PyEval_GetFrameLocals();
 2771|      0|        }
 2772|      0|        else {
 2773|      0|            PyThreadState *tstate = _PyThreadState_GET();
 2774|      0|            d = _PyEval_GetGlobalsFromRunningMain(tstate);
 2775|      0|            if (d == NULL) {
  ------------------
  |  Branch (2775:17): [True: 0, False: 0]
  ------------------
 2776|      0|                if (!_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (2776:21): [True: 0, False: 0]
  ------------------
 2777|      0|                    d = _PyEval_GetFrameLocals();
 2778|      0|                    assert(_PyErr_Occurred(tstate));
 2779|      0|                }
 2780|      0|            }
 2781|      0|            else {
 2782|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2783|      0|            }
 2784|      0|        }
 2785|      0|    }
 2786|     26|    else {
 2787|     26|        if (PyObject_GetOptionalAttr(v, &_Py_ID(__dict__), &d) == 0) {
  ------------------
  |  |  915|     26|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     26|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     26|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2787:13): [True: 0, False: 26]
  ------------------
 2788|      0|            PyErr_SetString(PyExc_TypeError,
 2789|      0|                "vars() argument must have __dict__ attribute");
 2790|      0|        }
 2791|     26|    }
 2792|     26|    return d;
 2793|     26|}

_PyOS_URandomNonblock:
  547|  3.46k|{
  548|  3.46k|    return pyurandom(buffer, size, 0, 1);
  549|  3.46k|}
_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.46k|{
  480|  3.46k|#if defined(PY_GETRANDOM) || defined(PY_GETENTROPY)
  481|  3.46k|    int res;
  482|  3.46k|#endif
  483|       |
  484|  3.46k|    if (size < 0) {
  ------------------
  |  Branch (484:9): [True: 0, False: 3.46k]
  ------------------
  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.46k|    if (size == 0) {
  ------------------
  |  Branch (492:9): [True: 0, False: 3.46k]
  ------------------
  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.46k|#if defined(PY_GETRANDOM) || defined(PY_GETENTROPY)
  501|  3.46k|    if (HAVE_GETENTRYPY_GETRANDOM_RUNTIME) {
  ------------------
  |  |   40|  3.46k|#  define HAVE_GETENTRYPY_GETRANDOM_RUNTIME 1
  |  |  ------------------
  |  |  |  Branch (40:45): [True: 3.46k, Folded]
  |  |  ------------------
  ------------------
  502|  3.46k|#ifdef PY_GETRANDOM
  503|  3.46k|        res = py_getrandom(buffer, size, blocking, raise);
  504|       |#else
  505|       |        res = py_getentropy(buffer, size, raise);
  506|       |#endif
  507|  3.46k|        if (res < 0) {
  ------------------
  |  Branch (507:13): [True: 0, False: 3.46k]
  ------------------
  508|      0|            return -1;
  509|      0|        }
  510|  3.46k|        if (res == 1) {
  ------------------
  |  Branch (510:13): [True: 3.46k, False: 0]
  ------------------
  511|  3.46k|            return 0;
  512|  3.46k|        }
  513|       |        /* getrandom() or getentropy() function is not available: failed with
  514|       |           ENOSYS or EPERM. Fall back on reading from /dev/urandom. */
  515|  3.46k|        } /* end of availability block */
  516|      0|#endif
  517|       |
  518|      0|    return dev_urandom(buffer, size, raise);
  519|  3.46k|#endif
  520|  3.46k|}
bootstrap_hash.c:py_getrandom:
   93|  3.46k|{
   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.46k|    static int getrandom_works = 1;
   98|  3.46k|    int flags;
   99|  3.46k|    char *dest;
  100|  3.46k|    long n;
  101|       |
  102|  3.46k|    if (!getrandom_works) {
  ------------------
  |  Branch (102:9): [True: 0, False: 3.46k]
  ------------------
  103|      0|        return 0;
  104|      0|    }
  105|       |
  106|  3.46k|    flags = blocking ? 0 : GRND_NONBLOCK;
  ------------------
  |  Branch (106:13): [True: 0, False: 3.46k]
  ------------------
  107|  3.46k|    dest = buffer;
  108|  6.93k|    while (0 < size) {
  ------------------
  |  Branch (108:12): [True: 3.46k, False: 3.46k]
  ------------------
  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.46k|        n = Py_MIN(size, LONG_MAX);
  ------------------
  |  |  112|  3.46k|#define Py_MIN(x, y) (((x) > (y)) ? (y) : (x))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 0, False: 3.46k]
  |  |  ------------------
  ------------------
  116|  3.46k|#endif
  117|       |
  118|  3.46k|        errno = 0;
  119|  3.46k|#ifdef HAVE_GETRANDOM
  120|  3.46k|        if (raise) {
  ------------------
  |  Branch (120:13): [True: 3.46k, False: 2]
  ------------------
  121|  3.46k|            Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|  3.46k|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|  3.46k|                        PyThreadState *_save; \
  |  |  121|  3.46k|                        _save = PyEval_SaveThread();
  ------------------
  122|  3.46k|            n = getrandom(dest, n, flags);
  123|  3.46k|            Py_END_ALLOW_THREADS
  ------------------
  |  |  124|  3.46k|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|  3.46k|                 }
  ------------------
  124|  3.46k|        }
  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.46k|        if (n < 0) {
  ------------------
  |  Branch (147:13): [True: 0, False: 3.46k]
  ------------------
  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.46k|        dest += n;
  183|  3.46k|        size -= n;
  184|  3.46k|    }
  185|  3.46k|    return 1;
  186|  3.46k|}

Py_GetRecursionLimit:
    8|    558|{
    9|    558|    PyInterpreterState *interp = _PyInterpreterState_GET();
   10|    558|    return interp->ceval.recursion_limit;
   11|    558|}
Py_SetRecursionLimit:
   15|    318|{
   16|    318|    PyInterpreterState *interp = _PyInterpreterState_GET();
   17|    318|    _PyEval_StopTheWorld(interp);
   18|    318|    interp->ceval.recursion_limit = new_limit;
   19|    318|    _Py_FOR_EACH_TSTATE_BEGIN(interp, p) {
  ------------------
  |  |  275|    318|    HEAD_LOCK(interp->runtime); \
  |  |  ------------------
  |  |  |  |  266|    318|    PyMutex_LockFlags(&(runtime)->interpreters.mutex, _Py_LOCK_DONT_DETACH)
  |  |  ------------------
  |  |  276|    318|    _Py_FOR_EACH_TSTATE_UNLOCKED(interp, t)
  |  |  ------------------
  |  |  |  |  273|    636|    for (PyThreadState *t = interp->threads.head; t; t = t->next)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (273:51): [True: 318, False: 318]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   20|    318|        int depth = p->py_recursion_limit - p->py_recursion_remaining;
   21|    318|        p->py_recursion_limit = new_limit;
   22|    318|        p->py_recursion_remaining = new_limit - depth;
   23|    318|    }
   24|    318|    _Py_FOR_EACH_TSTATE_END(interp);
  ------------------
  |  |  278|    318|    HEAD_UNLOCK(interp->runtime)
  |  |  ------------------
  |  |  |  |  268|    318|    PyMutex_Unlock(&(runtime)->interpreters.mutex)
  |  |  |  |  ------------------
  |  |  |  |  |  |   70|    318|#define PyMutex_Unlock _PyMutex_Unlock
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   25|    318|    _PyEval_StartTheWorld(interp);
   26|    318|}
_Py_ReachedRecursionLimitWithMargin:
   30|  32.0M|{
   31|  32.0M|    uintptr_t here_addr = _Py_get_machine_stack_pointer();
   32|  32.0M|    _PyThreadStateImpl *_tstate = (_PyThreadStateImpl *)tstate;
   33|  32.0M|#if _Py_STACK_GROWS_DOWN
   34|  32.0M|    if (here_addr > _tstate->c_stack_soft_limit + margin_count * _PyOS_STACK_MARGIN_BYTES) {
  ------------------
  |  |   55|  32.0M|#define _PyOS_STACK_MARGIN_BYTES (_PyOS_STACK_MARGIN * sizeof(void *))
  |  |  ------------------
  |  |  |  |   54|  32.0M|#define _PyOS_STACK_MARGIN (1 << _PyOS_LOG2_STACK_MARGIN)
  |  |  |  |  ------------------
  |  |  |  |  |  |   52|  32.0M|#  define _PyOS_LOG2_STACK_MARGIN 11
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (34:9): [True: 32.0M, False: 0]
  ------------------
   35|       |#else
   36|       |    if (here_addr <= _tstate->c_stack_soft_limit - margin_count * _PyOS_STACK_MARGIN_BYTES) {
   37|       |#endif
   38|  32.0M|        return 0;
   39|  32.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 &&
  ------------------
  |  |   55|      0|#define _PyOS_STACK_MARGIN_BYTES (_PyOS_STACK_MARGIN * sizeof(void *))
  |  |  ------------------
  |  |  |  |   54|      0|#define _PyOS_STACK_MARGIN (1 << _PyOS_LOG2_STACK_MARGIN)
  |  |  |  |  ------------------
  |  |  |  |  |  |   52|      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;
  ------------------
  |  |   55|      0|#define _PyOS_STACK_MARGIN_BYTES (_PyOS_STACK_MARGIN * sizeof(void *))
  |  |  ------------------
  |  |  |  |   54|      0|#define _PyOS_STACK_MARGIN (1 << _PyOS_LOG2_STACK_MARGIN)
  |  |  |  |  ------------------
  |  |  |  |  |  |   52|      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|  32.0M|}
_Py_InitializeRecursionLimits:
  234|      2|{
  235|      2|    uintptr_t base, top;
  236|      2|    uintptr_t here_addr = _Py_get_machine_stack_pointer();
  237|      2|    hardware_stack_limits(&base, &top, here_addr);
  238|      2|    assert(top != 0);
  239|       |
  240|      2|    tstate_set_stack(tstate, base, top);
  241|      2|    _PyThreadStateImpl *ts = (_PyThreadStateImpl *)tstate;
  242|      2|    ts->c_stack_init_base = base;
  243|      2|    ts->c_stack_init_top = top;
  244|      2|}
_PyEval_MatchClass:
  541|      4|{
  542|      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 (542:9): [True: 0, False: 4]
  ------------------
  543|      0|        const char *e = "class pattern must refer to a class";
  544|      0|        _PyErr_Format(tstate, PyExc_TypeError, e);
  545|      0|        return NULL;
  546|      0|    }
  547|      4|    assert(PyTuple_CheckExact(kwargs));
  548|       |    // First, an isinstance check:
  549|      4|    if (PyObject_IsInstance(subject, type) <= 0) {
  ------------------
  |  Branch (549:9): [True: 4, False: 0]
  ------------------
  550|      4|        return NULL;
  551|      4|    }
  552|       |    // Short circuit if there aren't any arguments:
  553|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  554|      0|    Py_ssize_t nattrs = nargs + nkwargs;
  555|      0|    if (!nattrs) {
  ------------------
  |  Branch (555:9): [True: 0, False: 0]
  ------------------
  556|      0|        return PyTuple_New(0);
  557|      0|    }
  558|       |    // So far so good:
  559|      0|    PyObject *seen = NULL;
  560|       |    // Only check for duplicates if there is at least one positional attribute
  561|       |    // and two or more attributes in total. Duplicate keyword attributes are
  562|       |    // detected during the compile stage and raise a SyntaxError.
  563|      0|    if (nargs > 0 && nattrs > 1) {
  ------------------
  |  Branch (563:9): [True: 0, False: 0]
  |  Branch (563:22): [True: 0, False: 0]
  ------------------
  564|      0|        seen = PySet_New(NULL);
  565|      0|        if (seen == NULL) {
  ------------------
  |  Branch (565:13): [True: 0, False: 0]
  ------------------
  566|      0|            return NULL;
  567|      0|        }
  568|      0|    }
  569|      0|    PyObject *attrs = PyTuple_New(nattrs);
  570|      0|    if (attrs == NULL) {
  ------------------
  |  Branch (570:9): [True: 0, False: 0]
  ------------------
  571|      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]
  |  |  ------------------
  ------------------
  572|      0|        return NULL;
  573|      0|    }
  574|       |    // NOTE: From this point on, goto fail on failure:
  575|      0|    PyObject *match_args = NULL;
  576|       |    // First, the positional subpatterns:
  577|      0|    if (nargs) {
  ------------------
  |  Branch (577:9): [True: 0, False: 0]
  ------------------
  578|      0|        int match_self = 0;
  579|      0|        if (PyObject_GetOptionalAttr(type, &_Py_ID(__match_args__), &match_args) < 0) {
  ------------------
  |  |  915|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (579:13): [True: 0, False: 0]
  ------------------
  580|      0|            goto fail;
  581|      0|        }
  582|      0|        if (match_args) {
  ------------------
  |  Branch (582:13): [True: 0, False: 0]
  ------------------
  583|      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 (583:17): [True: 0, False: 0]
  ------------------
  584|      0|                const char *e = "%s.__match_args__ must be a tuple (got %s)";
  585|      0|                _PyErr_Format(tstate, PyExc_TypeError, e,
  586|      0|                              ((PyTypeObject *)type)->tp_name,
  587|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  588|      0|                goto fail;
  589|      0|            }
  590|      0|        }
  591|      0|        else {
  592|       |            // _Py_TPFLAGS_MATCH_SELF is only acknowledged if the type does not
  593|       |            // define __match_args__. This is natural behavior for subclasses:
  594|       |            // it's as if __match_args__ is some "magic" value that is lost as
  595|       |            // soon as they redefine it.
  596|      0|            match_args = PyTuple_New(0);
  597|      0|            match_self = PyType_HasFeature((PyTypeObject*)type,
  598|      0|                                            _Py_TPFLAGS_MATCH_SELF);
  ------------------
  |  |  545|      0|#define _Py_TPFLAGS_MATCH_SELF (1UL << 22)
  ------------------
  599|      0|        }
  600|      0|        assert(PyTuple_CheckExact(match_args));
  601|      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 (601:30): [True: 0, False: 0]
  ------------------
  602|      0|        if (allowed < nargs) {
  ------------------
  |  Branch (602:13): [True: 0, False: 0]
  ------------------
  603|      0|            const char *plural = (allowed == 1) ? "" : "s";
  ------------------
  |  Branch (603:34): [True: 0, False: 0]
  ------------------
  604|      0|            _PyErr_Format(tstate, PyExc_TypeError,
  605|      0|                          "%s() accepts %zd positional sub-pattern%s (%zd given)",
  606|      0|                          ((PyTypeObject*)type)->tp_name,
  607|      0|                          allowed, plural, nargs);
  608|      0|            goto fail;
  609|      0|        }
  610|      0|        if (match_self) {
  ------------------
  |  Branch (610:13): [True: 0, False: 0]
  ------------------
  611|       |            // Easy. Copy the subject itself, and move on to kwargs.
  612|      0|            assert(PyTuple_GET_ITEM(attrs, 0) == NULL);
  613|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  614|      0|        }
  615|      0|        else {
  616|      0|            for (Py_ssize_t i = 0; i < nargs; i++) {
  ------------------
  |  Branch (616:36): [True: 0, False: 0]
  ------------------
  617|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  618|      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 (618:21): [True: 0, False: 0]
  ------------------
  619|      0|                    _PyErr_Format(tstate, PyExc_TypeError,
  620|      0|                                  "__match_args__ elements must be strings "
  621|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  622|      0|                    goto fail;
  623|      0|                }
  624|      0|                PyObject *attr = match_class_attr(tstate, subject, type, name,
  625|      0|                                                  seen);
  626|      0|                if (attr == NULL) {
  ------------------
  |  Branch (626:21): [True: 0, False: 0]
  ------------------
  627|      0|                    goto fail;
  628|      0|                }
  629|      0|                assert(PyTuple_GET_ITEM(attrs, i) == NULL);
  630|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  631|      0|            }
  632|      0|        }
  633|      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]
  |  |  ------------------
  ------------------
  634|      0|    }
  635|       |    // Finally, the keyword subpatterns:
  636|      0|    for (Py_ssize_t i = 0; i < nkwargs; i++) {
  ------------------
  |  Branch (636:28): [True: 0, False: 0]
  ------------------
  637|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  638|      0|        PyObject *attr = match_class_attr(tstate, subject, type, name, seen);
  639|      0|        if (attr == NULL) {
  ------------------
  |  Branch (639:13): [True: 0, False: 0]
  ------------------
  640|      0|            goto fail;
  641|      0|        }
  642|      0|        assert(PyTuple_GET_ITEM(attrs, nargs + i) == NULL);
  643|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  644|      0|    }
  645|      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]
  |  |  ------------------
  ------------------
  646|      0|    return attrs;
  647|      0|fail:
  648|       |    // We really don't care whether an error was raised or not... that's our
  649|       |    // caller's problem. All we know is that the match failed.
  650|      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]
  |  |  ------------------
  ------------------
  651|      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]
  |  |  ------------------
  ------------------
  652|      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]
  |  |  ------------------
  ------------------
  653|       |    return NULL;
  654|      0|}
PyEval_EvalCode:
  661|  4.18k|{
  662|  4.18k|    PyThreadState *tstate = _PyThreadState_GET();
  663|  4.18k|    if (locals == NULL) {
  ------------------
  |  Branch (663:9): [True: 0, False: 4.18k]
  ------------------
  664|      0|        locals = globals;
  665|      0|    }
  666|  4.18k|    PyObject *builtins = _PyDict_LoadBuiltinsFromGlobals(globals);
  667|  4.18k|    if (builtins == NULL) {
  ------------------
  |  Branch (667:9): [True: 0, False: 4.18k]
  ------------------
  668|      0|        return NULL;
  669|      0|    }
  670|  4.18k|    PyFrameConstructor desc = {
  671|  4.18k|        .fc_globals = globals,
  672|  4.18k|        .fc_builtins = builtins,
  673|  4.18k|        .fc_name = ((PyCodeObject *)co)->co_name,
  674|  4.18k|        .fc_qualname = ((PyCodeObject *)co)->co_name,
  675|  4.18k|        .fc_code = co,
  676|  4.18k|        .fc_defaults = NULL,
  677|  4.18k|        .fc_kwdefaults = NULL,
  678|  4.18k|        .fc_closure = NULL
  679|  4.18k|    };
  680|  4.18k|    PyFunctionObject *func = _PyFunction_FromConstructor(&desc);
  681|  4.18k|    _Py_DECREF_BUILTINS(builtins);
  ------------------
  |  |  387|  4.18k|#  define _Py_DECREF_BUILTINS Py_DECREF
  |  |  ------------------
  |  |  |  |   80|  4.18k|    do { \
  |  |  |  |   81|  4.18k|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.18k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.18k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|  4.18k|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|  4.18k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  4.18k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  4.18k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 4.18k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|  4.18k|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|  4.18k|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|  4.18k|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 4.18k]
  |  |  |  |  ------------------
  |  |  |  |   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.18k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 4.18k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  682|  4.18k|    if (func == NULL) {
  ------------------
  |  Branch (682:9): [True: 0, False: 4.18k]
  ------------------
  683|      0|        return NULL;
  684|      0|    }
  685|  4.18k|    EVAL_CALL_STAT_INC(EVAL_CALL_LEGACY);
  ------------------
  |  |   79|  4.18k|#define EVAL_CALL_STAT_INC(name) ((void)0)
  ------------------
  686|  4.18k|    PyObject *res = _PyEval_Vector(tstate, func, locals, NULL, 0, NULL);
  687|       |    Py_DECREF(func);
  ------------------
  |  |   80|  4.18k|    do { \
  |  |   81|  4.18k|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|  4.18k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.18k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|  4.18k|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|  4.18k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.18k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.18k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 4.18k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|  4.18k|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|  4.18k|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|  4.18k|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 739, False: 3.44k]
  |  |  ------------------
  |  |   88|    739|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|    739|    do { \
  |  |  |  |  113|    739|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|    739|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 739]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|    739|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 739]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|    739|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|    739|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    739|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    739|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|    739|            (*dealloc)(op); \
  |  |   91|    739|        } \
  |  |   92|  4.18k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 4.18k]
  |  |  ------------------
  ------------------
  688|  4.18k|    return res;
  689|  4.18k|}
_Py_VectorCall_StackRefSteal:
  720|  16.8M|{
  721|  16.8M|    PyObject *res;
  722|  16.8M|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  500|  16.8M|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  501|  16.8M|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  723|  16.8M|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  507|  16.8M|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (507:33): [True: 0, False: 16.8M]
  |  |  ------------------
  ------------------
  724|      0|        res = NULL;
  725|      0|        goto cleanup;
  726|      0|    }
  727|  16.8M|    PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  728|  16.8M|    PyObject *kwnames_o = PyStackRef_AsPyObjectBorrow(kwnames);
  729|  16.8M|    int positional_args = total_args;
  730|  16.8M|    if (kwnames_o != NULL) {
  ------------------
  |  Branch (730:9): [True: 393k, False: 16.4M]
  ------------------
  731|   393k|        positional_args -= (int)PyTuple_GET_SIZE(kwnames_o);
  ------------------
  |  |   27|   393k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   393k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   393k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  732|   393k|    }
  733|  16.8M|    res = PyObject_Vectorcall(
  734|  16.8M|        callable_o, args_o,
  735|  16.8M|        positional_args | PY_VECTORCALL_ARGUMENTS_OFFSET,
  ------------------
  |  |  287|  16.8M|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  16.8M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  736|  16.8M|        kwnames_o);
  737|  16.8M|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  505|  16.8M|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  738|  16.8M|    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  739|  16.8M|cleanup:
  740|  16.8M|    PyStackRef_XCLOSE(kwnames);
  741|       |    // arguments is a pointer into the GC visible stack,
  742|       |    // so we must NULL out values as we clear them.
  743|  34.4M|    for (int i = total_args-1; i >= 0; i--) {
  ------------------
  |  Branch (743:32): [True: 17.6M, False: 16.8M]
  ------------------
  744|  17.6M|        _PyStackRef tmp = arguments[i];
  745|  17.6M|        arguments[i] = PyStackRef_NULL;
  746|  17.6M|        PyStackRef_CLOSE(tmp);
  747|  17.6M|    }
  748|  16.8M|    PyStackRef_CLOSE(callable);
  749|  16.8M|    return res;
  750|  16.8M|}
_Py_VectorCallInstrumentation_StackRefSteal:
  762|  7.64M|{
  763|  7.64M|    PyObject* res;
  764|  7.64M|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  500|  7.64M|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  501|  7.64M|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  765|  7.64M|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  507|  7.64M|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (507:33): [True: 0, False: 7.64M]
  |  |  ------------------
  ------------------
  766|      0|        res = NULL;
  767|      0|        goto cleanup;
  768|      0|    }
  769|  7.64M|    PyObject* callable_o = PyStackRef_AsPyObjectBorrow(callable);
  770|  7.64M|    PyObject* kwnames_o = PyStackRef_AsPyObjectBorrow(kwnames);
  771|  7.64M|    int positional_args = total_args;
  772|  7.64M|    if (kwnames_o != NULL) {
  ------------------
  |  Branch (772:9): [True: 418, False: 7.64M]
  ------------------
  773|    418|        positional_args -= (int)PyTuple_GET_SIZE(kwnames_o);
  ------------------
  |  |   27|    418|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    418|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    418|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  774|    418|    }
  775|  7.64M|    res = PyObject_Vectorcall(
  776|  7.64M|        callable_o, args_o,
  777|  7.64M|        positional_args | PY_VECTORCALL_ARGUMENTS_OFFSET,
  ------------------
  |  |  287|  7.64M|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|  7.64M|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  778|  7.64M|        kwnames_o);
  779|  7.64M|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  505|  7.64M|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  780|  7.64M|    if (call_instrumentation) {
  ------------------
  |  Branch (780:9): [True: 0, False: 7.64M]
  ------------------
  781|      0|        PyObject* arg = total_args == 0 ?
  ------------------
  |  Branch (781:25): [True: 0, False: 0]
  ------------------
  782|      0|            &_PyInstrumentation_MISSING : PyStackRef_AsPyObjectBorrow(arguments[0]);
  783|      0|        if (res == NULL) {
  ------------------
  |  Branch (783:13): [True: 0, False: 0]
  ------------------
  784|      0|            _Py_call_instrumentation_exc2(
  785|      0|                tstate, PY_MONITORING_EVENT_C_RAISE,
  ------------------
  |  |   45|      0|#define PY_MONITORING_EVENT_C_RAISE 17
  ------------------
  786|      0|                frame, this_instr, callable_o, arg);
  787|      0|        }
  788|      0|        else {
  789|      0|            int err = _Py_call_instrumentation_2args(
  790|      0|                tstate, PY_MONITORING_EVENT_C_RETURN,
  ------------------
  |  |   44|      0|#define PY_MONITORING_EVENT_C_RETURN 16
  ------------------
  791|      0|                frame, this_instr, callable_o, arg);
  792|      0|            if (err < 0) {
  ------------------
  |  Branch (792:17): [True: 0, False: 0]
  ------------------
  793|      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]
  |  |  ------------------
  ------------------
  794|      0|            }
  795|      0|        }
  796|      0|    }
  797|  7.64M|    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  798|  7.64M|cleanup:
  799|  7.64M|    PyStackRef_XCLOSE(kwnames);
  800|       |    // arguments is a pointer into the GC visible stack,
  801|       |    // so we must NULL out values as we clear them.
  802|  22.8M|    for (int i = total_args - 1; i >= 0; i--) {
  ------------------
  |  Branch (802:34): [True: 15.2M, False: 7.64M]
  ------------------
  803|  15.2M|        _PyStackRef tmp = arguments[i];
  804|  15.2M|        arguments[i] = PyStackRef_NULL;
  805|  15.2M|        PyStackRef_CLOSE(tmp);
  806|  15.2M|    }
  807|  7.64M|    PyStackRef_CLOSE(callable);
  808|  7.64M|    return res;
  809|  7.64M|}
_Py_BuiltinCallFast_StackRef:
  816|  6.25M|{
  817|  6.25M|    PyObject *res;
  818|  6.25M|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  500|  6.25M|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  501|  6.25M|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  819|  6.25M|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  507|  6.25M|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (507:33): [True: 0, False: 6.25M]
  |  |  ------------------
  ------------------
  820|      0|        return NULL;
  821|      0|    }
  822|  6.25M|    PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  823|  6.25M|    PyCFunction cfunc = PyCFunction_GET_FUNCTION(callable_o);
  ------------------
  |  |   43|  6.25M|#define PyCFunction_GET_FUNCTION(func) PyCFunction_GET_FUNCTION(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|  6.25M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.25M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  824|  6.25M|    res = _PyCFunctionFast_CAST(cfunc)(
  ------------------
  |  |   58|  6.25M|    _Py_FUNC_CAST(PyCFunctionFast, func)
  |  |  ------------------
  |  |  |  |   47|  6.25M|#define _Py_FUNC_CAST(T, func) _Py_CAST(T, _Py_CAST(void(*)(void), (func)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.25M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  825|  6.25M|        PyCFunction_GET_SELF(callable_o),
  ------------------
  |  |   52|  6.25M|#define PyCFunction_GET_SELF(func) PyCFunction_GET_SELF(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|  6.25M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.25M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  826|  6.25M|        args_o,
  827|  6.25M|        total_args
  828|  6.25M|    );
  829|  6.25M|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  505|  6.25M|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  830|       |    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  831|  6.25M|    return res;
  832|  6.25M|}
_Py_BuiltinCallFastWithKeywords_StackRef:
  839|  6.54M|{
  840|  6.54M|    PyObject *res;
  841|  6.54M|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  500|  6.54M|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  501|  6.54M|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  842|  6.54M|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  507|  6.54M|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (507:33): [True: 0, False: 6.54M]
  |  |  ------------------
  ------------------
  843|      0|        return NULL;
  844|      0|    }
  845|  6.54M|    PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  846|  6.54M|    PyCFunctionFastWithKeywords cfunc =
  847|  6.54M|        _PyCFunctionFastWithKeywords_CAST(PyCFunction_GET_FUNCTION(callable_o));
  ------------------
  |  |   62|  6.54M|    _Py_FUNC_CAST(PyCFunctionFastWithKeywords, func)
  |  |  ------------------
  |  |  |  |   47|  6.54M|#define _Py_FUNC_CAST(T, func) _Py_CAST(T, _Py_CAST(void(*)(void), (func)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.54M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  848|  6.54M|    res = cfunc(PyCFunction_GET_SELF(callable_o), args_o, total_args, NULL);
  ------------------
  |  |   52|  6.54M|#define PyCFunction_GET_SELF(func) PyCFunction_GET_SELF(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|  6.54M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.54M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  849|  6.54M|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  505|  6.54M|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  850|       |    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  851|  6.54M|    return res;
  852|  6.54M|}
_PyCallMethodDescriptorFast_StackRef:
  861|  3.45M|{
  862|  3.45M|    PyObject *res;
  863|  3.45M|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  500|  3.45M|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  501|  3.45M|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  864|  3.45M|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  507|  3.45M|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (507:33): [True: 0, False: 3.45M]
  |  |  ------------------
  ------------------
  865|      0|        return NULL;
  866|      0|    }
  867|  3.45M|    assert(self == PyStackRef_AsPyObjectBorrow(arguments[0]));
  868|       |
  869|  3.45M|    res = cfunc(self, (args_o + 1), total_args - 1);
  870|  3.45M|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  505|  3.45M|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  871|       |    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  872|  3.45M|    return res;
  873|  3.45M|}
_PyCallMethodDescriptorFastWithKeywords_StackRef:
  882|  3.32M|{
  883|  3.32M|    PyObject *res;
  884|  3.32M|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  500|  3.32M|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  501|  3.32M|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  885|  3.32M|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  507|  3.32M|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (507:33): [True: 0, False: 3.32M]
  |  |  ------------------
  ------------------
  886|      0|        return NULL;
  887|      0|    }
  888|  3.32M|    assert(self == PyStackRef_AsPyObjectBorrow(arguments[0]));
  889|       |
  890|  3.32M|    res = cfunc(self, (args_o + 1), total_args-1, NULL);
  891|  3.32M|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  505|  3.32M|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  892|       |    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  893|  3.32M|    return res;
  894|  3.32M|}
_Py_CallBuiltinClass_StackRef:
  901|   474k|{
  902|   474k|    PyObject *res;
  903|   474k|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  500|   474k|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  501|   474k|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  904|   474k|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  507|   474k|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (507:33): [True: 0, False: 474k]
  |  |  ------------------
  ------------------
  905|      0|        return NULL;
  906|      0|    }
  907|   474k|    PyTypeObject *tp = (PyTypeObject *)PyStackRef_AsPyObjectBorrow(callable);
  908|   474k|    res = tp->tp_vectorcall((PyObject *)tp, args_o, total_args | PY_VECTORCALL_ARGUMENTS_OFFSET, NULL);
  ------------------
  |  |  287|   474k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  ------------------
  |  |  |  |   34|   474k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  909|   474k|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  505|   474k|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  910|       |    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  911|   474k|    return res;
  912|   474k|}
_Py_BuildString_StackRefSteal:
  918|  2.14M|{
  919|  2.14M|    PyObject *res;
  920|  2.14M|    STACKREFS_TO_PYOBJECTS(arguments, total_args, args_o);
  ------------------
  |  |  500|  2.14M|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  501|  2.14M|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  921|  2.14M|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  507|  2.14M|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (507:33): [True: 0, False: 2.14M]
  |  |  ------------------
  ------------------
  922|      0|        res = NULL;
  923|      0|        goto cleanup;
  924|      0|    }
  925|  2.14M|    res = _PyUnicode_JoinArray(&_Py_STR(empty), args_o, total_args);
  ------------------
  |  |  917|  2.14M|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  2.14M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  2.14M|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  926|  2.14M|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  505|  2.14M|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  927|  2.14M|    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  928|  2.14M|cleanup:
  929|       |    // arguments is a pointer into the GC visible stack,
  930|       |    // so we must NULL out values as we clear them.
  931|  6.46M|    for (int i = total_args-1; i >= 0; i--) {
  ------------------
  |  Branch (931:32): [True: 4.31M, False: 2.14M]
  ------------------
  932|  4.31M|        _PyStackRef tmp = arguments[i];
  933|  4.31M|        arguments[i] = PyStackRef_NULL;
  934|  4.31M|        PyStackRef_CLOSE(tmp);
  935|  4.31M|    }
  936|  2.14M|    return res;
  937|  2.14M|}
_Py_BuildMap_StackRefSteal:
  943|  4.67M|{
  944|  4.67M|    PyObject *res;
  945|  4.67M|    STACKREFS_TO_PYOBJECTS(arguments, half_args*2, args_o);
  ------------------
  |  |  500|  4.67M|    PyObject *NAME##_temp[MAX_STACKREF_SCRATCH+1]; \
  |  |  501|  4.67M|    PyObject **NAME = _PyObjectArray_FromStackRefArray(ARGS, ARG_COUNT, NAME##_temp);
  ------------------
  946|  4.67M|    if (CONVERSION_FAILED(args_o)) {
  ------------------
  |  |  507|  4.67M|#define CONVERSION_FAILED(NAME) ((NAME) == NULL)
  |  |  ------------------
  |  |  |  Branch (507:33): [True: 0, False: 4.67M]
  |  |  ------------------
  ------------------
  947|      0|        res = NULL;
  948|      0|        goto cleanup;
  949|      0|    }
  950|  4.67M|    res = _PyDict_FromItems(
  951|  4.67M|        args_o, 2,
  952|  4.67M|        args_o+1, 2,
  953|  4.67M|        half_args
  954|  4.67M|    );
  955|  4.67M|    STACKREFS_TO_PYOBJECTS_CLEANUP(args_o);
  ------------------
  |  |  505|  4.67M|    _PyObjectArray_Free(NAME - 1, NAME##_temp);
  ------------------
  956|  4.67M|    assert((res != NULL) ^ (PyErr_Occurred() != NULL));
  957|  4.67M|cleanup:
  958|       |    // arguments is a pointer into the GC visible stack,
  959|       |    // so we must NULL out values as we clear them.
  960|  9.27M|    for (int i = half_args*2-1; i >= 0; i--) {
  ------------------
  |  Branch (960:33): [True: 4.60M, False: 4.67M]
  ------------------
  961|  4.60M|        _PyStackRef tmp = arguments[i];
  962|  4.60M|        arguments[i] = PyStackRef_NULL;
  963|  4.60M|        PyStackRef_CLOSE(tmp);
  964|  4.60M|    }
  965|  4.67M|    return res;
  966|  4.67M|}
_Py_LoadAttr_StackRefSteal:
  972|  14.5M|{
  973|       |    // Use _PyCStackRefs to ensure that both method and self are visible to
  974|       |    // the GC. Even though self_or_null is on the evaluation stack, it may be
  975|       |    // after the stackpointer and therefore not visible to the GC.
  976|  14.5M|    _PyCStackRef method, self;
  977|  14.5M|    _PyThreadState_PushCStackRef(tstate, &method);
  978|  14.5M|    _PyThreadState_PushCStackRef(tstate, &self);
  979|  14.5M|    self.ref = owner;  // steal reference to owner
  980|       |    // NOTE: method.ref is initialized to PyStackRef_NULL and remains null on
  981|       |    // error, so we don't need to explicitly use the return code from the call.
  982|  14.5M|    _PyObject_GetMethodStackRef(tstate, &self.ref, name, &method.ref);
  983|  14.5M|    *self_or_null = _PyThreadState_PopCStackRefSteal(tstate, &self);
  984|  14.5M|    return _PyThreadState_PopCStackRefSteal(tstate, &method);
  985|  14.5M|}
_PyObjectArray_FromStackRefArray:
 1052|  51.3M|{
 1053|  51.3M|    PyObject **result;
 1054|  51.3M|    if (nargs > MAX_STACKREF_SCRATCH) {
  ------------------
  |  |  496|  51.3M|#define MAX_STACKREF_SCRATCH 10
  ------------------
  |  Branch (1054:9): [True: 31.1k, False: 51.2M]
  ------------------
 1055|       |        // +1 in case PY_VECTORCALL_ARGUMENTS_OFFSET is set.
 1056|  31.1k|        result = PyMem_Malloc((nargs + 1) * sizeof(PyObject *));
 1057|  31.1k|        if (result == NULL) {
  ------------------
  |  Branch (1057:13): [True: 0, False: 31.1k]
  ------------------
 1058|      0|            return NULL;
 1059|      0|        }
 1060|  31.1k|    }
 1061|  51.2M|    else {
 1062|  51.2M|        result = scratch;
 1063|  51.2M|    }
 1064|  51.3M|    result++;
 1065|  51.3M|    result[0] = NULL; /* Keep GCC happy */
 1066|   129M|    for (int i = 0; i < nargs; i++) {
  ------------------
  |  Branch (1066:21): [True: 78.5M, False: 51.3M]
  ------------------
 1067|  78.5M|        result[i] = PyStackRef_AsPyObjectBorrow(input[i]);
 1068|  78.5M|    }
 1069|  51.3M|    return result;
 1070|  51.3M|}
_PyObjectArray_Free:
 1074|  51.3M|{
 1075|  51.3M|    if (array != scratch) {
  ------------------
  |  Branch (1075:9): [True: 31.1k, False: 51.2M]
  ------------------
 1076|  31.1k|        PyMem_Free(array);
 1077|  31.1k|    }
 1078|  51.3M|}
_PyEval_GetIter:
 1116|   426k|{
 1117|   426k|    PyTypeObject *tp = PyStackRef_TYPE(iterable);
 1118|   426k|    if (tp->_tp_iteritem != NULL) {
  ------------------
  |  Branch (1118:9): [True: 589, False: 426k]
  ------------------
 1119|       |        /* Leave iterable on stack and pushed tagged 0 */
 1120|    589|        *index_or_null = PyStackRef_TagInt(0);
 1121|    589|        return iterable;
 1122|    589|    }
 1123|   426k|    *index_or_null = PyStackRef_NULL;
 1124|   426k|    if (tp->tp_iter == PyObject_SelfIter) {
  ------------------
  |  Branch (1124:9): [True: 102, False: 426k]
  ------------------
 1125|    102|        return iterable;
 1126|    102|    }
 1127|   426k|    if (yield_from && tp == &PyCoro_Type) {
  ------------------
  |  Branch (1127:9): [True: 0, False: 426k]
  |  Branch (1127:23): [True: 0, False: 0]
  ------------------
 1128|      0|        assert(yield_from != GET_ITER_YIELD_FROM);
 1129|      0|        if (yield_from == GET_ITER_YIELD_FROM_CORO_CHECK) {
  ------------------
  |  |   97|      0|#define GET_ITER_YIELD_FROM_CORO_CHECK 3
  ------------------
  |  Branch (1129:13): [True: 0, False: 0]
  ------------------
 1130|       |            /* `iterable` is a coroutine and it is used in a 'yield from'
 1131|       |            * expression of a regular generator. */
 1132|      0|            PyErr_SetString(PyExc_TypeError,
 1133|      0|                            "cannot 'yield from' a coroutine object "
 1134|      0|                            "in a non-coroutine generator");
 1135|      0|            PyStackRef_CLOSE(iterable);
 1136|      0|            return PyStackRef_ERROR;
 1137|      0|        }
 1138|      0|        return iterable;
 1139|      0|    }
 1140|       |    /* Pop iterable, and push iterator then NULL */
 1141|   426k|    PyObject *iter_o = PyObject_GetIter(PyStackRef_AsPyObjectBorrow(iterable));
 1142|   426k|    PyStackRef_CLOSE(iterable);
 1143|   426k|    if (iter_o == NULL) {
  ------------------
  |  Branch (1143:9): [True: 0, False: 426k]
  ------------------
 1144|      0|        return PyStackRef_ERROR;
 1145|      0|    }
 1146|   426k|    return PyStackRef_FromPyObjectSteal(iter_o);
 1147|   426k|}
_Py_ReachedRecursionLimit:
 1150|  10.0M|_Py_ReachedRecursionLimit(PyThreadState *tstate)  {
 1151|  10.0M|    uintptr_t here_addr = _Py_get_machine_stack_pointer();
 1152|  10.0M|    _PyThreadStateImpl *_tstate = (_PyThreadStateImpl *)tstate;
 1153|  10.0M|    assert(_tstate->c_stack_hard_limit != 0);
 1154|  10.0M|#if _Py_STACK_GROWS_DOWN
 1155|  10.0M|    return here_addr <= _tstate->c_stack_soft_limit;
 1156|       |#else
 1157|       |    return here_addr >= _tstate->c_stack_soft_limit;
 1158|       |#endif
 1159|  10.0M|}
_PyEval_EvalFrameDefault:
 1211|  5.48M|{
 1212|  5.48M|    _Py_EnsureTstateNotNULL(tstate);
  ------------------
  |  |  196|  5.48M|    _Py_EnsureFuncTstateNotNULL(__func__, (tstate))
  ------------------
 1213|  5.48M|    check_invalid_reentrancy();
 1214|  5.48M|    CALL_STAT_INC(pyeval_calls);
  ------------------
  |  |   76|  5.48M|#define CALL_STAT_INC(name) ((void)0)
  ------------------
 1215|       |
 1216|  5.48M|#if USE_COMPUTED_GOTOS && !_Py_TAIL_CALL_INTERP
 1217|       |/* Import the static jump table */
 1218|  5.48M|#include "opcode_targets.h"
  ------------------
  |  |    1|  5.48M|#if !_Py_TAIL_CALL_INTERP
  |  |    2|  5.48M|static void *opcode_targets_table[256] = {
  |  |    3|  5.48M|    &&TARGET_CACHE,
  |  |    4|  5.48M|    &&TARGET_BINARY_SLICE,
  |  |    5|  5.48M|    &&TARGET_BUILD_TEMPLATE,
  |  |    6|  5.48M|    &&TARGET_BINARY_OP_INPLACE_ADD_UNICODE,
  |  |    7|  5.48M|    &&TARGET_CALL_FUNCTION_EX,
  |  |    8|  5.48M|    &&TARGET_CHECK_EG_MATCH,
  |  |    9|  5.48M|    &&TARGET_CHECK_EXC_MATCH,
  |  |   10|  5.48M|    &&TARGET_CLEANUP_THROW,
  |  |   11|  5.48M|    &&TARGET_DELETE_SUBSCR,
  |  |   12|  5.48M|    &&TARGET_END_FOR,
  |  |   13|  5.48M|    &&TARGET_END_SEND,
  |  |   14|  5.48M|    &&TARGET_EXIT_INIT_CHECK,
  |  |   15|  5.48M|    &&TARGET_FORMAT_SIMPLE,
  |  |   16|  5.48M|    &&TARGET_FORMAT_WITH_SPEC,
  |  |   17|  5.48M|    &&TARGET_GET_AITER,
  |  |   18|  5.48M|    &&TARGET_GET_ANEXT,
  |  |   19|  5.48M|    &&TARGET_GET_LEN,
  |  |   20|  5.48M|    &&TARGET_RESERVED,
  |  |   21|  5.48M|    &&TARGET_INTERPRETER_EXIT,
  |  |   22|  5.48M|    &&TARGET_LOAD_BUILD_CLASS,
  |  |   23|  5.48M|    &&TARGET_LOAD_LOCALS,
  |  |   24|  5.48M|    &&TARGET_MAKE_FUNCTION,
  |  |   25|  5.48M|    &&TARGET_MATCH_KEYS,
  |  |   26|  5.48M|    &&TARGET_MATCH_MAPPING,
  |  |   27|  5.48M|    &&TARGET_MATCH_SEQUENCE,
  |  |   28|  5.48M|    &&TARGET_NOP,
  |  |   29|  5.48M|    &&TARGET_NOT_TAKEN,
  |  |   30|  5.48M|    &&TARGET_POP_EXCEPT,
  |  |   31|  5.48M|    &&TARGET_POP_ITER,
  |  |   32|  5.48M|    &&TARGET_POP_TOP,
  |  |   33|  5.48M|    &&TARGET_PUSH_EXC_INFO,
  |  |   34|  5.48M|    &&TARGET_PUSH_NULL,
  |  |   35|  5.48M|    &&TARGET_RETURN_GENERATOR,
  |  |   36|  5.48M|    &&TARGET_RETURN_VALUE,
  |  |   37|  5.48M|    &&TARGET_SETUP_ANNOTATIONS,
  |  |   38|  5.48M|    &&TARGET_STORE_SLICE,
  |  |   39|  5.48M|    &&TARGET_STORE_SUBSCR,
  |  |   40|  5.48M|    &&TARGET_TO_BOOL,
  |  |   41|  5.48M|    &&TARGET_UNARY_INVERT,
  |  |   42|  5.48M|    &&TARGET_UNARY_NEGATIVE,
  |  |   43|  5.48M|    &&TARGET_UNARY_NOT,
  |  |   44|  5.48M|    &&TARGET_WITH_EXCEPT_START,
  |  |   45|  5.48M|    &&TARGET_BINARY_OP,
  |  |   46|  5.48M|    &&TARGET_BUILD_INTERPOLATION,
  |  |   47|  5.48M|    &&TARGET_BUILD_LIST,
  |  |   48|  5.48M|    &&TARGET_BUILD_MAP,
  |  |   49|  5.48M|    &&TARGET_BUILD_SET,
  |  |   50|  5.48M|    &&TARGET_BUILD_SLICE,
  |  |   51|  5.48M|    &&TARGET_BUILD_STRING,
  |  |   52|  5.48M|    &&TARGET_BUILD_TUPLE,
  |  |   53|  5.48M|    &&TARGET_CALL,
  |  |   54|  5.48M|    &&TARGET_CALL_INTRINSIC_1,
  |  |   55|  5.48M|    &&TARGET_CALL_INTRINSIC_2,
  |  |   56|  5.48M|    &&TARGET_CALL_KW,
  |  |   57|  5.48M|    &&TARGET_COMPARE_OP,
  |  |   58|  5.48M|    &&TARGET_CONTAINS_OP,
  |  |   59|  5.48M|    &&TARGET_CONVERT_VALUE,
  |  |   60|  5.48M|    &&TARGET_COPY,
  |  |   61|  5.48M|    &&TARGET_COPY_FREE_VARS,
  |  |   62|  5.48M|    &&TARGET_DELETE_ATTR,
  |  |   63|  5.48M|    &&TARGET_DELETE_DEREF,
  |  |   64|  5.48M|    &&TARGET_DELETE_FAST,
  |  |   65|  5.48M|    &&TARGET_DELETE_GLOBAL,
  |  |   66|  5.48M|    &&TARGET_DELETE_NAME,
  |  |   67|  5.48M|    &&TARGET_DICT_MERGE,
  |  |   68|  5.48M|    &&TARGET_DICT_UPDATE,
  |  |   69|  5.48M|    &&TARGET_END_ASYNC_FOR,
  |  |   70|  5.48M|    &&TARGET_EXTENDED_ARG,
  |  |   71|  5.48M|    &&TARGET_FOR_ITER,
  |  |   72|  5.48M|    &&TARGET_GET_AWAITABLE,
  |  |   73|  5.48M|    &&TARGET_GET_ITER,
  |  |   74|  5.48M|    &&TARGET_IMPORT_FROM,
  |  |   75|  5.48M|    &&TARGET_IMPORT_NAME,
  |  |   76|  5.48M|    &&TARGET_IS_OP,
  |  |   77|  5.48M|    &&TARGET_JUMP_BACKWARD,
  |  |   78|  5.48M|    &&TARGET_JUMP_BACKWARD_NO_INTERRUPT,
  |  |   79|  5.48M|    &&TARGET_JUMP_FORWARD,
  |  |   80|  5.48M|    &&TARGET_LIST_APPEND,
  |  |   81|  5.48M|    &&TARGET_LIST_EXTEND,
  |  |   82|  5.48M|    &&TARGET_LOAD_ATTR,
  |  |   83|  5.48M|    &&TARGET_LOAD_COMMON_CONSTANT,
  |  |   84|  5.48M|    &&TARGET_LOAD_CONST,
  |  |   85|  5.48M|    &&TARGET_LOAD_DEREF,
  |  |   86|  5.48M|    &&TARGET_LOAD_FAST,
  |  |   87|  5.48M|    &&TARGET_LOAD_FAST_AND_CLEAR,
  |  |   88|  5.48M|    &&TARGET_LOAD_FAST_BORROW,
  |  |   89|  5.48M|    &&TARGET_LOAD_FAST_BORROW_LOAD_FAST_BORROW,
  |  |   90|  5.48M|    &&TARGET_LOAD_FAST_CHECK,
  |  |   91|  5.48M|    &&TARGET_LOAD_FAST_LOAD_FAST,
  |  |   92|  5.48M|    &&TARGET_LOAD_FROM_DICT_OR_DEREF,
  |  |   93|  5.48M|    &&TARGET_LOAD_FROM_DICT_OR_GLOBALS,
  |  |   94|  5.48M|    &&TARGET_LOAD_GLOBAL,
  |  |   95|  5.48M|    &&TARGET_LOAD_NAME,
  |  |   96|  5.48M|    &&TARGET_LOAD_SMALL_INT,
  |  |   97|  5.48M|    &&TARGET_LOAD_SPECIAL,
  |  |   98|  5.48M|    &&TARGET_LOAD_SUPER_ATTR,
  |  |   99|  5.48M|    &&TARGET_MAKE_CELL,
  |  |  100|  5.48M|    &&TARGET_MAP_ADD,
  |  |  101|  5.48M|    &&TARGET_MATCH_CLASS,
  |  |  102|  5.48M|    &&TARGET_POP_JUMP_IF_FALSE,
  |  |  103|  5.48M|    &&TARGET_POP_JUMP_IF_NONE,
  |  |  104|  5.48M|    &&TARGET_POP_JUMP_IF_NOT_NONE,
  |  |  105|  5.48M|    &&TARGET_POP_JUMP_IF_TRUE,
  |  |  106|  5.48M|    &&TARGET_RAISE_VARARGS,
  |  |  107|  5.48M|    &&TARGET_RERAISE,
  |  |  108|  5.48M|    &&TARGET_SEND,
  |  |  109|  5.48M|    &&TARGET_SET_ADD,
  |  |  110|  5.48M|    &&TARGET_SET_FUNCTION_ATTRIBUTE,
  |  |  111|  5.48M|    &&TARGET_SET_UPDATE,
  |  |  112|  5.48M|    &&TARGET_STORE_ATTR,
  |  |  113|  5.48M|    &&TARGET_STORE_DEREF,
  |  |  114|  5.48M|    &&TARGET_STORE_FAST,
  |  |  115|  5.48M|    &&TARGET_STORE_FAST_LOAD_FAST,
  |  |  116|  5.48M|    &&TARGET_STORE_FAST_STORE_FAST,
  |  |  117|  5.48M|    &&TARGET_STORE_GLOBAL,
  |  |  118|  5.48M|    &&TARGET_STORE_NAME,
  |  |  119|  5.48M|    &&TARGET_SWAP,
  |  |  120|  5.48M|    &&TARGET_UNPACK_EX,
  |  |  121|  5.48M|    &&TARGET_UNPACK_SEQUENCE,
  |  |  122|  5.48M|    &&TARGET_YIELD_VALUE,
  |  |  123|  5.48M|    &&_unknown_opcode,
  |  |  124|  5.48M|    &&_unknown_opcode,
  |  |  125|  5.48M|    &&_unknown_opcode,
  |  |  126|  5.48M|    &&_unknown_opcode,
  |  |  127|  5.48M|    &&_unknown_opcode,
  |  |  128|  5.48M|    &&_unknown_opcode,
  |  |  129|  5.48M|    &&_unknown_opcode,
  |  |  130|  5.48M|    &&_unknown_opcode,
  |  |  131|  5.48M|    &&TARGET_RESUME,
  |  |  132|  5.48M|    &&TARGET_BINARY_OP_ADD_FLOAT,
  |  |  133|  5.48M|    &&TARGET_BINARY_OP_ADD_INT,
  |  |  134|  5.48M|    &&TARGET_BINARY_OP_ADD_UNICODE,
  |  |  135|  5.48M|    &&TARGET_BINARY_OP_EXTEND,
  |  |  136|  5.48M|    &&TARGET_BINARY_OP_MULTIPLY_FLOAT,
  |  |  137|  5.48M|    &&TARGET_BINARY_OP_MULTIPLY_INT,
  |  |  138|  5.48M|    &&TARGET_BINARY_OP_SUBSCR_DICT,
  |  |  139|  5.48M|    &&TARGET_BINARY_OP_SUBSCR_GETITEM,
  |  |  140|  5.48M|    &&TARGET_BINARY_OP_SUBSCR_LIST_INT,
  |  |  141|  5.48M|    &&TARGET_BINARY_OP_SUBSCR_LIST_SLICE,
  |  |  142|  5.48M|    &&TARGET_BINARY_OP_SUBSCR_STR_INT,
  |  |  143|  5.48M|    &&TARGET_BINARY_OP_SUBSCR_TUPLE_INT,
  |  |  144|  5.48M|    &&TARGET_BINARY_OP_SUBSCR_USTR_INT,
  |  |  145|  5.48M|    &&TARGET_BINARY_OP_SUBTRACT_FLOAT,
  |  |  146|  5.48M|    &&TARGET_BINARY_OP_SUBTRACT_INT,
  |  |  147|  5.48M|    &&TARGET_CALL_ALLOC_AND_ENTER_INIT,
  |  |  148|  5.48M|    &&TARGET_CALL_BOUND_METHOD_EXACT_ARGS,
  |  |  149|  5.48M|    &&TARGET_CALL_BOUND_METHOD_GENERAL,
  |  |  150|  5.48M|    &&TARGET_CALL_BUILTIN_CLASS,
  |  |  151|  5.48M|    &&TARGET_CALL_BUILTIN_FAST,
  |  |  152|  5.48M|    &&TARGET_CALL_BUILTIN_FAST_WITH_KEYWORDS,
  |  |  153|  5.48M|    &&TARGET_CALL_BUILTIN_O,
  |  |  154|  5.48M|    &&TARGET_CALL_EX_NON_PY_GENERAL,
  |  |  155|  5.48M|    &&TARGET_CALL_EX_PY,
  |  |  156|  5.48M|    &&TARGET_CALL_ISINSTANCE,
  |  |  157|  5.48M|    &&TARGET_CALL_KW_BOUND_METHOD,
  |  |  158|  5.48M|    &&TARGET_CALL_KW_NON_PY,
  |  |  159|  5.48M|    &&TARGET_CALL_KW_PY,
  |  |  160|  5.48M|    &&TARGET_CALL_LEN,
  |  |  161|  5.48M|    &&TARGET_CALL_LIST_APPEND,
  |  |  162|  5.48M|    &&TARGET_CALL_METHOD_DESCRIPTOR_FAST,
  |  |  163|  5.48M|    &&TARGET_CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS,
  |  |  164|  5.48M|    &&TARGET_CALL_METHOD_DESCRIPTOR_NOARGS,
  |  |  165|  5.48M|    &&TARGET_CALL_METHOD_DESCRIPTOR_O,
  |  |  166|  5.48M|    &&TARGET_CALL_NON_PY_GENERAL,
  |  |  167|  5.48M|    &&TARGET_CALL_PY_EXACT_ARGS,
  |  |  168|  5.48M|    &&TARGET_CALL_PY_GENERAL,
  |  |  169|  5.48M|    &&TARGET_CALL_STR_1,
  |  |  170|  5.48M|    &&TARGET_CALL_TUPLE_1,
  |  |  171|  5.48M|    &&TARGET_CALL_TYPE_1,
  |  |  172|  5.48M|    &&TARGET_COMPARE_OP_FLOAT,
  |  |  173|  5.48M|    &&TARGET_COMPARE_OP_INT,
  |  |  174|  5.48M|    &&TARGET_COMPARE_OP_STR,
  |  |  175|  5.48M|    &&TARGET_CONTAINS_OP_DICT,
  |  |  176|  5.48M|    &&TARGET_CONTAINS_OP_SET,
  |  |  177|  5.48M|    &&TARGET_FOR_ITER_GEN,
  |  |  178|  5.48M|    &&TARGET_FOR_ITER_LIST,
  |  |  179|  5.48M|    &&TARGET_FOR_ITER_RANGE,
  |  |  180|  5.48M|    &&TARGET_FOR_ITER_TUPLE,
  |  |  181|  5.48M|    &&TARGET_FOR_ITER_VIRTUAL,
  |  |  182|  5.48M|    &&TARGET_GET_ITER_SELF,
  |  |  183|  5.48M|    &&TARGET_GET_ITER_VIRTUAL,
  |  |  184|  5.48M|    &&TARGET_JUMP_BACKWARD_JIT,
  |  |  185|  5.48M|    &&TARGET_JUMP_BACKWARD_NO_JIT,
  |  |  186|  5.48M|    &&TARGET_LOAD_ATTR_CLASS,
  |  |  187|  5.48M|    &&TARGET_LOAD_ATTR_CLASS_WITH_METACLASS_CHECK,
  |  |  188|  5.48M|    &&TARGET_LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN,
  |  |  189|  5.48M|    &&TARGET_LOAD_ATTR_INSTANCE_VALUE,
  |  |  190|  5.48M|    &&TARGET_LOAD_ATTR_METHOD_LAZY_DICT,
  |  |  191|  5.48M|    &&TARGET_LOAD_ATTR_METHOD_NO_DICT,
  |  |  192|  5.48M|    &&TARGET_LOAD_ATTR_METHOD_WITH_VALUES,
  |  |  193|  5.48M|    &&TARGET_LOAD_ATTR_MODULE,
  |  |  194|  5.48M|    &&TARGET_LOAD_ATTR_NONDESCRIPTOR_NO_DICT,
  |  |  195|  5.48M|    &&TARGET_LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES,
  |  |  196|  5.48M|    &&TARGET_LOAD_ATTR_PROPERTY,
  |  |  197|  5.48M|    &&TARGET_LOAD_ATTR_SLOT,
  |  |  198|  5.48M|    &&TARGET_LOAD_ATTR_WITH_HINT,
  |  |  199|  5.48M|    &&TARGET_LOAD_GLOBAL_BUILTIN,
  |  |  200|  5.48M|    &&TARGET_LOAD_GLOBAL_MODULE,
  |  |  201|  5.48M|    &&TARGET_LOAD_SUPER_ATTR_ATTR,
  |  |  202|  5.48M|    &&TARGET_LOAD_SUPER_ATTR_METHOD,
  |  |  203|  5.48M|    &&TARGET_RESUME_CHECK,
  |  |  204|  5.48M|    &&TARGET_RESUME_CHECK_JIT,
  |  |  205|  5.48M|    &&TARGET_SEND_ASYNC_GEN,
  |  |  206|  5.48M|    &&TARGET_SEND_GEN,
  |  |  207|  5.48M|    &&TARGET_SEND_VIRTUAL,
  |  |  208|  5.48M|    &&TARGET_STORE_ATTR_INSTANCE_VALUE,
  |  |  209|  5.48M|    &&TARGET_STORE_ATTR_SLOT,
  |  |  210|  5.48M|    &&TARGET_STORE_ATTR_WITH_HINT,
  |  |  211|  5.48M|    &&TARGET_STORE_SUBSCR_DICT,
  |  |  212|  5.48M|    &&TARGET_STORE_SUBSCR_LIST_INT,
  |  |  213|  5.48M|    &&TARGET_TO_BOOL_ALWAYS_TRUE,
  |  |  214|  5.48M|    &&TARGET_TO_BOOL_BOOL,
  |  |  215|  5.48M|    &&TARGET_TO_BOOL_INT,
  |  |  216|  5.48M|    &&TARGET_TO_BOOL_LIST,
  |  |  217|  5.48M|    &&TARGET_TO_BOOL_NONE,
  |  |  218|  5.48M|    &&TARGET_TO_BOOL_STR,
  |  |  219|  5.48M|    &&TARGET_UNPACK_SEQUENCE_LIST,
  |  |  220|  5.48M|    &&TARGET_UNPACK_SEQUENCE_TUPLE,
  |  |  221|  5.48M|    &&TARGET_UNPACK_SEQUENCE_TWO_TUPLE,
  |  |  222|  5.48M|    &&_unknown_opcode,
  |  |  223|  5.48M|    &&_unknown_opcode,
  |  |  224|  5.48M|    &&_unknown_opcode,
  |  |  225|  5.48M|    &&_unknown_opcode,
  |  |  226|  5.48M|    &&_unknown_opcode,
  |  |  227|  5.48M|    &&_unknown_opcode,
  |  |  228|  5.48M|    &&_unknown_opcode,
  |  |  229|  5.48M|    &&_unknown_opcode,
  |  |  230|  5.48M|    &&_unknown_opcode,
  |  |  231|  5.48M|    &&_unknown_opcode,
  |  |  232|  5.48M|    &&_unknown_opcode,
  |  |  233|  5.48M|    &&_unknown_opcode,
  |  |  234|  5.48M|    &&_unknown_opcode,
  |  |  235|  5.48M|    &&_unknown_opcode,
  |  |  236|  5.48M|    &&TARGET_INSTRUMENTED_END_FOR,
  |  |  237|  5.48M|    &&TARGET_INSTRUMENTED_POP_ITER,
  |  |  238|  5.48M|    &&TARGET_INSTRUMENTED_END_SEND,
  |  |  239|  5.48M|    &&TARGET_INSTRUMENTED_FOR_ITER,
  |  |  240|  5.48M|    &&TARGET_INSTRUMENTED_INSTRUCTION,
  |  |  241|  5.48M|    &&TARGET_INSTRUMENTED_JUMP_FORWARD,
  |  |  242|  5.48M|    &&TARGET_INSTRUMENTED_NOT_TAKEN,
  |  |  243|  5.48M|    &&TARGET_INSTRUMENTED_POP_JUMP_IF_TRUE,
  |  |  244|  5.48M|    &&TARGET_INSTRUMENTED_POP_JUMP_IF_FALSE,
  |  |  245|  5.48M|    &&TARGET_INSTRUMENTED_POP_JUMP_IF_NONE,
  |  |  246|  5.48M|    &&TARGET_INSTRUMENTED_POP_JUMP_IF_NOT_NONE,
  |  |  247|  5.48M|    &&TARGET_INSTRUMENTED_RESUME,
  |  |  248|  5.48M|    &&TARGET_INSTRUMENTED_RETURN_VALUE,
  |  |  249|  5.48M|    &&TARGET_INSTRUMENTED_YIELD_VALUE,
  |  |  250|  5.48M|    &&TARGET_INSTRUMENTED_END_ASYNC_FOR,
  |  |  251|  5.48M|    &&TARGET_INSTRUMENTED_LOAD_SUPER_ATTR,
  |  |  252|  5.48M|    &&TARGET_INSTRUMENTED_CALL,
  |  |  253|  5.48M|    &&TARGET_INSTRUMENTED_CALL_KW,
  |  |  254|  5.48M|    &&TARGET_INSTRUMENTED_CALL_FUNCTION_EX,
  |  |  255|  5.48M|    &&TARGET_INSTRUMENTED_JUMP_BACKWARD,
  |  |  256|  5.48M|    &&TARGET_INSTRUMENTED_LINE,
  |  |  257|  5.48M|    &&TARGET_ENTER_EXECUTOR,
  |  |  258|  5.48M|    &&TARGET_TRACE_RECORD,
  |  |  259|  5.48M|};
  |  |  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 */
  ------------------
 1219|  5.48M|    void **opcode_targets = opcode_targets_table;
 1220|  5.48M|#endif
 1221|       |
 1222|       |#ifdef Py_STATS
 1223|       |    int lastopcode = 0;
 1224|       |#endif
 1225|  5.48M|#if !_Py_TAIL_CALL_INTERP
 1226|  5.48M|    uint8_t opcode;    /* Current opcode */
 1227|  5.48M|    int oparg;         /* Current opcode argument, if any */
 1228|  5.48M|    assert(tstate->current_frame == NULL || tstate->current_frame->stackpointer != NULL);
 1229|       |#if !USE_COMPUTED_GOTOS
 1230|       |    uint8_t tracing_mode = 0;
 1231|       |    uint8_t dispatch_code;
 1232|       |#endif
 1233|  5.48M|#endif
 1234|  5.48M|    _PyEntryFrame entry;
 1235|       |
 1236|  5.48M|    if (_Py_EnterRecursiveCallTstate(tstate, "")) {
  ------------------
  |  Branch (1236:9): [True: 0, False: 5.48M]
  ------------------
 1237|      0|        assert(frame->owner != FRAME_OWNED_BY_INTERPRETER);
 1238|      0|        _PyEval_FrameClearAndPop(tstate, frame);
 1239|      0|        return NULL;
 1240|      0|    }
 1241|       |
 1242|       |    /* Local "register" variables.
 1243|       |     * These are cached values from the frame and code object.  */
 1244|  5.48M|    _Py_CODEUNIT *next_instr;
 1245|  5.48M|    _PyStackRef *stack_pointer;
 1246|  5.48M|    entry.stack[0] = PyStackRef_NULL;
 1247|       |#ifdef Py_STACKREF_DEBUG
 1248|       |    entry.frame.f_funcobj = PyStackRef_None;
 1249|       |#elif defined(Py_DEBUG)
 1250|       |    /* Set these to invalid but identifiable values for debugging. */
 1251|       |    entry.frame.f_funcobj = (_PyStackRef){.bits = 0xaaa0};
 1252|       |    entry.frame.f_locals = (PyObject*)0xaaa1;
 1253|       |    entry.frame.frame_obj = (PyFrameObject*)0xaaa2;
 1254|       |    entry.frame.f_globals = (PyObject*)0xaaa3;
 1255|       |    entry.frame.f_builtins = (PyObject*)0xaaa4;
 1256|       |#endif
 1257|  5.48M|    entry.frame.f_executable = PyStackRef_None;
  ------------------
  |  |  473|  5.48M|#define PyStackRef_None ((_PyStackRef){.bits = ((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT })
  |  |  ------------------
  |  |  |  |   55|  5.48M|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
 1258|  5.48M|    entry.frame.instr_ptr = (_Py_CODEUNIT *)_Py_INTERPRETER_TRAMPOLINE_INSTRUCTIONS + 1;
 1259|  5.48M|    entry.frame.stackpointer = entry.stack;
 1260|  5.48M|    entry.frame.owner = FRAME_OWNED_BY_INTERPRETER;
 1261|  5.48M|    entry.frame.visited = 0;
 1262|  5.48M|    entry.frame.return_offset = 0;
 1263|       |#ifdef Py_DEBUG
 1264|       |    entry.frame.lltrace = 0;
 1265|       |#endif
 1266|       |    /* Push frame */
 1267|  5.48M|    entry.frame.previous = tstate->current_frame;
 1268|  5.48M|    frame->previous = &entry.frame;
 1269|  5.48M|    tstate->current_frame = frame;
 1270|  5.48M|    entry.frame.localsplus[0] = PyStackRef_NULL;
 1271|       |#ifdef _Py_TIER2
 1272|       |    if (tstate->current_executor != NULL) {
 1273|       |        entry.frame.localsplus[0] = PyStackRef_FromPyObjectNew(tstate->current_executor);
 1274|       |        tstate->current_executor = NULL;
 1275|       |    }
 1276|       |#endif
 1277|       |
 1278|       |    /* support for generator.throw() */
 1279|  5.48M|    if (throwflag) {
  ------------------
  |  Branch (1279:9): [True: 19.9k, False: 5.46M]
  ------------------
 1280|  19.9k|        if (_Py_EnterRecursivePy(tstate)) {
  ------------------
  |  Branch (1280:13): [True: 0, False: 19.9k]
  ------------------
 1281|      0|            goto early_exit;
 1282|      0|        }
 1283|       |#ifdef Py_GIL_DISABLED
 1284|       |        /* Load thread-local bytecode */
 1285|       |        if (frame->tlbc_index != ((_PyThreadStateImpl *)tstate)->tlbc_index) {
 1286|       |            _Py_CODEUNIT *bytecode =
 1287|       |                _PyEval_GetExecutableCode(tstate, _PyFrame_GetCode(frame));
 1288|       |            if (bytecode == NULL) {
 1289|       |                goto early_exit;
 1290|       |            }
 1291|       |            ptrdiff_t off = frame->instr_ptr - _PyFrame_GetBytecode(frame);
 1292|       |            frame->tlbc_index = ((_PyThreadStateImpl *)tstate)->tlbc_index;
 1293|       |            frame->instr_ptr = bytecode + off;
 1294|       |        }
 1295|       |#endif
 1296|       |        /* Because this avoids the RESUME, we need to update instrumentation */
 1297|  19.9k|        _Py_Instrument(_PyFrame_GetCode(frame), tstate->interp);
 1298|  19.9k|        next_instr = frame->instr_ptr;
 1299|  19.9k|        monitor_throw(tstate, frame, next_instr);
 1300|  19.9k|        stack_pointer = _PyFrame_GetStackPointer(frame);
 1301|       |#if _Py_TAIL_CALL_INTERP
 1302|       |#   if Py_STATS
 1303|       |        return _TAIL_CALL_error(frame, stack_pointer, tstate, next_instr, instruction_funcptr_handler_table, 0, lastopcode);
 1304|       |#   else
 1305|       |        return _TAIL_CALL_error(frame, stack_pointer, tstate, next_instr, instruction_funcptr_handler_table, 0);
 1306|       |#   endif
 1307|       |#else
 1308|  19.9k|        goto error;
 1309|  19.9k|#endif
 1310|  19.9k|    }
 1311|       |
 1312|       |#if _Py_TAIL_CALL_INTERP
 1313|       |#   if Py_STATS
 1314|       |        return _TAIL_CALL_start_frame(frame, NULL, tstate, NULL, instruction_funcptr_handler_table, 0, lastopcode);
 1315|       |#   else
 1316|       |        return _TAIL_CALL_start_frame(frame, NULL, tstate, NULL, instruction_funcptr_handler_table, 0);
 1317|       |#   endif
 1318|       |#else
 1319|  5.46M|    goto start_frame;
 1320|  5.46M|#   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|  36.4M|        TARGET(BINARY_OP) {
  |  |  ------------------
  |  |  |  |  132|  36.4M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |   22|       |            #if _Py_TAIL_CALL_INTERP
  |  |   23|       |            int opcode = BINARY_OP;
  |  |   24|       |            (void)(opcode);
  |  |   25|       |            #endif
  |  |   26|  36.4M|            frame->instr_ptr = next_instr;
  |  |   27|  36.4M|            next_instr += 6;
  |  |   28|  36.4M|            INSTRUCTION_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |   71|  36.4M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |   29|  36.4M|            PREDICTED_BINARY_OP:;
  |  |   30|  36.4M|            _Py_CODEUNIT* const this_instr = next_instr - 6;
  |  |   31|  36.4M|            (void)this_instr;
  |  |   32|  36.4M|            _PyStackRef lhs;
  |  |   33|  36.4M|            _PyStackRef rhs;
  |  |   34|  36.4M|            _PyStackRef res;
  |  |   35|  36.4M|            _PyStackRef l;
  |  |   36|  36.4M|            _PyStackRef r;
  |  |   37|  36.4M|            _PyStackRef value;
  |  |   38|       |            // _SPECIALIZE_BINARY_OP
  |  |   39|  36.4M|            {
  |  |   40|  36.4M|                rhs = stack_pointer[-1];
  |  |   41|  36.4M|                lhs = stack_pointer[-2];
  |  |   42|  36.4M|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |   43|  36.4M|                (void)counter;
  |  |   44|  36.4M|                #if ENABLE_SPECIALIZATION
  |  |   45|  36.4M|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  354|  36.4M|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (354:5): [True: 7.45k, False: 36.4M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   46|  7.45k|                    next_instr = this_instr;
  |  |   47|  7.45k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |   48|  7.45k|                    _Py_Specialize_BinaryOp(lhs, rhs, next_instr, oparg, LOCALS_ARRAY);
  |  |  ------------------
  |  |  |  |  283|  7.45k|#define LOCALS_ARRAY    (frame->localsplus)
  |  |  ------------------
  |  |   49|  7.45k|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |   50|  7.45k|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|  7.45k|    { \
  |  |  |  |  217|  7.45k|        opcode = next_instr->op.code; \
  |  |  |  |  218|  7.45k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  7.45k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|  7.45k|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|  7.45k|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|  7.45k|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|  7.45k|    }
  |  |  ------------------
  |  |   51|  7.45k|                }
  |  |   52|  36.4M|                OPCODE_DEFERRED_INC(BINARY_OP);
  |  |  ------------------
  |  |  |  |   90|  36.4M|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |   53|  36.4M|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  357|  36.4M|    do { \
  |  |  |  |  358|  36.4M|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  359|  36.4M|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (359:14): [Folded, False: 36.4M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   54|  36.4M|                #endif  /* ENABLE_SPECIALIZATION */
  |  |   55|  36.4M|                assert(NB_ADD <= oparg);
  |  |   56|  36.4M|                assert(oparg <= NB_OPARG_LAST);
  |  |   57|  36.4M|            }
  |  |   58|       |            /* Skip 4 cache entries */
  |  |   59|       |            // _BINARY_OP
  |  |   60|  36.4M|            {
  |  |   61|  36.4M|                PyObject *lhs_o = PyStackRef_AsPyObjectBorrow(lhs);
  |  |   62|  36.4M|                PyObject *rhs_o = PyStackRef_AsPyObjectBorrow(rhs);
  |  |   63|  36.4M|                assert(_PyEval_BinaryOps[oparg]);
  |  |   64|  36.4M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |   65|  36.4M|                PyObject *res_o = _PyEval_BinaryOps[oparg](lhs_o, rhs_o);
  |  |   66|  36.4M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |   67|  36.4M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (67:21): [True: 851, False: 36.4M]
  |  |  ------------------
  |  |   68|    851|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|    851|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |   69|      0|                }
  |  |   70|  36.4M|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  |   71|  36.4M|                l = lhs;
  |  |   72|  36.4M|                r = rhs;
  |  |   73|  36.4M|            }
  |  |   74|       |            // _POP_TOP
  |  |   75|      0|            {
  |  |   76|  36.4M|                value = r;
  |  |   77|  36.4M|                stack_pointer[-2] = res;
  |  |   78|  36.4M|                stack_pointer[-1] = l;
  |  |   79|  36.4M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |   80|  36.4M|                PyStackRef_XCLOSE(value);
  |  |   81|  36.4M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |   82|  36.4M|            }
  |  |   83|       |            // _POP_TOP
  |  |   84|  36.4M|            {
  |  |   85|  36.4M|                value = l;
  |  |   86|  36.4M|                stack_pointer += -1;
  |  |   87|  36.4M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  36.4M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |   88|  36.4M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |   89|  36.4M|                PyStackRef_XCLOSE(value);
  |  |   90|  36.4M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |   91|  36.4M|            }
  |  |   92|  36.4M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  36.4M|    { \
  |  |  |  |  201|  36.4M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  36.4M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  36.4M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  36.4M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  36.4M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  36.4M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  36.4M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  36.4M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 36.4M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  36.4M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  36.4M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  36.4M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  36.4M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  36.4M|    }
  |  |  ------------------
  |  |   93|  36.4M|        }
  |  |   94|       |
  |  |   95|  1.40k|        TARGET(BINARY_OP_ADD_FLOAT) {
  |  |  ------------------
  |  |  |  |  132|  1.40k|#  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.40k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  101|  1.40k|            (void)this_instr;
  |  |  102|  1.40k|            frame->instr_ptr = next_instr;
  |  |  103|  1.40k|            next_instr += 6;
  |  |  104|  1.40k|            INSTRUCTION_STATS(BINARY_OP_ADD_FLOAT);
  |  |  ------------------
  |  |  |  |   71|  1.40k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  105|  1.40k|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  106|  1.40k|            _PyStackRef value;
  |  |  107|  1.40k|            _PyStackRef left;
  |  |  108|  1.40k|            _PyStackRef right;
  |  |  109|  1.40k|            _PyStackRef res;
  |  |  110|  1.40k|            _PyStackRef l;
  |  |  111|  1.40k|            _PyStackRef r;
  |  |  112|       |            // _GUARD_TOS_FLOAT
  |  |  113|  1.40k|            {
  |  |  114|  1.40k|                value = stack_pointer[-1];
  |  |  115|  1.40k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |  116|  1.40k|                if (!PyFloat_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |   17|  1.40k|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  1.40k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.40k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (116:21): [True: 0, False: 1.40k]
  |  |  ------------------
  |  |  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.40k|            }
  |  |  122|       |            // _GUARD_NOS_FLOAT
  |  |  123|  1.40k|            {
  |  |  124|  1.40k|                left = stack_pointer[-2];
  |  |  125|  1.40k|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  126|  1.40k|                if (!PyFloat_CheckExact(left_o)) {
  |  |  ------------------
  |  |  |  |   17|  1.40k|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  1.40k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.40k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (126:21): [True: 0, False: 1.40k]
  |  |  ------------------
  |  |  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.40k|            }
  |  |  132|       |            /* Skip 5 cache entries */
  |  |  133|       |            // _BINARY_OP_ADD_FLOAT
  |  |  134|  1.40k|            {
  |  |  135|  1.40k|                right = value;
  |  |  136|  1.40k|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  137|  1.40k|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  |  138|  1.40k|                assert(PyFloat_CheckExact(left_o));
  |  |  139|  1.40k|                assert(PyFloat_CheckExact(right_o));
  |  |  140|  1.40k|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  1.40k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  141|  1.40k|                double dres =
  |  |  142|  1.40k|                ((PyFloatObject *)left_o)->ob_fval +
  |  |  143|  1.40k|                ((PyFloatObject *)right_o)->ob_fval;
  |  |  144|  1.40k|                PyObject *d = PyFloat_FromDouble(dres);
  |  |  145|  1.40k|                if (d == NULL) {
  |  |  ------------------
  |  |  |  Branch (145:21): [True: 0, False: 1.40k]
  |  |  ------------------
  |  |  146|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |  147|      0|                }
  |  |  148|  1.40k|                res = PyStackRef_FromPyObjectSteal(d);
  |  |  149|  1.40k|                l = left;
  |  |  150|  1.40k|                r = right;
  |  |  151|  1.40k|            }
  |  |  152|       |            // _POP_TOP_FLOAT
  |  |  153|      0|            {
  |  |  154|  1.40k|                value = r;
  |  |  155|  1.40k|                assert(PyFloat_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  156|  1.40k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyFloat_ExactDealloc);
  |  |  157|  1.40k|            }
  |  |  158|       |            // _POP_TOP_FLOAT
  |  |  159|  1.40k|            {
  |  |  160|  1.40k|                value = l;
  |  |  161|  1.40k|                assert(PyFloat_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  162|  1.40k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyFloat_ExactDealloc);
  |  |  163|  1.40k|            }
  |  |  164|  1.40k|            stack_pointer[-2] = res;
  |  |  165|  1.40k|            stack_pointer += -1;
  |  |  166|  1.40k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.40k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  167|  1.40k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.40k|    { \
  |  |  |  |  201|  1.40k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  1.40k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  1.40k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  1.40k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  1.40k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  1.40k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  1.40k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  1.40k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 1.40k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.40k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.40k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.40k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.40k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.40k|    }
  |  |  ------------------
  |  |  168|  1.40k|        }
  |  |  169|       |
  |  |  170|  38.8M|        TARGET(BINARY_OP_ADD_INT) {
  |  |  ------------------
  |  |  |  |  132|  38.8M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  171|       |            #if _Py_TAIL_CALL_INTERP
  |  |  172|       |            int opcode = BINARY_OP_ADD_INT;
  |  |  173|       |            (void)(opcode);
  |  |  174|       |            #endif
  |  |  175|  38.8M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  176|  38.8M|            (void)this_instr;
  |  |  177|  38.8M|            frame->instr_ptr = next_instr;
  |  |  178|  38.8M|            next_instr += 6;
  |  |  179|  38.8M|            INSTRUCTION_STATS(BINARY_OP_ADD_INT);
  |  |  ------------------
  |  |  |  |   71|  38.8M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  180|  38.8M|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  181|  38.8M|            _PyStackRef value;
  |  |  182|  38.8M|            _PyStackRef left;
  |  |  183|  38.8M|            _PyStackRef right;
  |  |  184|  38.8M|            _PyStackRef res;
  |  |  185|  38.8M|            _PyStackRef l;
  |  |  186|  38.8M|            _PyStackRef r;
  |  |  187|       |            // _GUARD_TOS_INT
  |  |  188|  38.8M|            {
  |  |  189|  38.8M|                value = stack_pointer[-1];
  |  |  190|  38.8M|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |  191|  38.8M|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (191:21): [True: 56, False: 38.8M]
  |  |  ------------------
  |  |  192|     56|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  298|     56|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  193|     56|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  194|     56|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|     56|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  195|      0|                }
  |  |  196|  38.8M|            }
  |  |  197|       |            // _GUARD_NOS_INT
  |  |  198|  38.8M|            {
  |  |  199|  38.8M|                left = stack_pointer[-2];
  |  |  200|  38.8M|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  201|  38.8M|                if (!_PyLong_CheckExactAndCompact(left_o)) {
  |  |  ------------------
  |  |  |  Branch (201:21): [True: 188, False: 38.8M]
  |  |  ------------------
  |  |  202|    188|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  298|    188|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  203|    188|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  204|    188|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|    188|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  205|      0|                }
  |  |  206|  38.8M|            }
  |  |  207|       |            /* Skip 5 cache entries */
  |  |  208|       |            // _BINARY_OP_ADD_INT
  |  |  209|  38.8M|            {
  |  |  210|  38.8M|                right = value;
  |  |  211|  38.8M|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  212|  38.8M|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  |  213|  38.8M|                assert(PyLong_CheckExact(left_o));
  |  |  214|  38.8M|                assert(PyLong_CheckExact(right_o));
  |  |  215|  38.8M|                assert(_PyLong_BothAreCompact((PyLongObject *)left_o, (PyLongObject *)right_o));
  |  |  216|  38.8M|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  38.8M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  217|  38.8M|                res = _PyCompactLong_Add((PyLongObject *)left_o, (PyLongObject *)right_o);
  |  |  218|  38.8M|                if (PyStackRef_IsNull(res)) {
  |  |  ------------------
  |  |  |  |  470|  38.8M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|  38.8M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  38.8M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (470:32): [True: 0, False: 38.8M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  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|  38.8M|                l = left;
  |  |  224|  38.8M|                r = right;
  |  |  225|  38.8M|            }
  |  |  226|       |            // _POP_TOP_INT
  |  |  227|      0|            {
  |  |  228|  38.8M|                value = r;
  |  |  229|  38.8M|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  230|  38.8M|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  |  231|  38.8M|            }
  |  |  232|       |            // _POP_TOP_INT
  |  |  233|  38.8M|            {
  |  |  234|  38.8M|                value = l;
  |  |  235|  38.8M|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  236|  38.8M|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  |  237|  38.8M|            }
  |  |  238|  38.8M|            stack_pointer[-2] = res;
  |  |  239|  38.8M|            stack_pointer += -1;
  |  |  240|  38.8M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  38.8M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  241|  38.8M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  38.8M|    { \
  |  |  |  |  201|  38.8M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  38.8M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  38.8M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  38.8M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  38.8M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  38.8M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  38.8M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  38.8M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 38.8M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  38.8M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  38.8M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  38.8M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  38.8M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  38.8M|    }
  |  |  ------------------
  |  |  242|  38.8M|        }
  |  |  243|       |
  |  |  244|  1.23M|        TARGET(BINARY_OP_ADD_UNICODE) {
  |  |  ------------------
  |  |  |  |  132|  1.23M|#  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.23M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  250|  1.23M|            (void)this_instr;
  |  |  251|  1.23M|            frame->instr_ptr = next_instr;
  |  |  252|  1.23M|            next_instr += 6;
  |  |  253|  1.23M|            INSTRUCTION_STATS(BINARY_OP_ADD_UNICODE);
  |  |  ------------------
  |  |  |  |   71|  1.23M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  254|  1.23M|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  255|  1.23M|            _PyStackRef value;
  |  |  256|  1.23M|            _PyStackRef nos;
  |  |  257|  1.23M|            _PyStackRef left;
  |  |  258|  1.23M|            _PyStackRef right;
  |  |  259|  1.23M|            _PyStackRef res;
  |  |  260|  1.23M|            _PyStackRef l;
  |  |  261|  1.23M|            _PyStackRef r;
  |  |  262|       |            // _GUARD_TOS_UNICODE
  |  |  263|  1.23M|            {
  |  |  264|  1.23M|                value = stack_pointer[-1];
  |  |  265|  1.23M|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |  266|  1.23M|                if (!PyUnicode_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |  104|  1.23M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_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 (266:21): [True: 0, False: 1.23M]
  |  |  ------------------
  |  |  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.23M|            }
  |  |  272|       |            // _GUARD_NOS_UNICODE
  |  |  273|  1.23M|            {
  |  |  274|  1.23M|                nos = stack_pointer[-2];
  |  |  275|  1.23M|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  |  276|  1.23M|                if (!PyUnicode_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |  104|  1.23M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_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 (276:21): [True: 0, False: 1.23M]
  |  |  ------------------
  |  |  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.23M|            }
  |  |  282|       |            /* Skip 5 cache entries */
  |  |  283|       |            // _BINARY_OP_ADD_UNICODE
  |  |  284|  1.23M|            {
  |  |  285|  1.23M|                right = value;
  |  |  286|  1.23M|                left = nos;
  |  |  287|  1.23M|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  288|  1.23M|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  |  289|  1.23M|                assert(PyUnicode_CheckExact(left_o));
  |  |  290|  1.23M|                assert(PyUnicode_CheckExact(right_o));
  |  |  291|  1.23M|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  1.23M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  292|  1.23M|                PyObject *res_o = PyUnicode_Concat(left_o, right_o);
  |  |  293|  1.23M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (293:21): [True: 0, False: 1.23M]
  |  |  ------------------
  |  |  294|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |  295|      0|                }
  |  |  296|  1.23M|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  |  297|  1.23M|                l = left;
  |  |  298|  1.23M|                r = right;
  |  |  299|  1.23M|            }
  |  |  300|       |            // _POP_TOP_UNICODE
  |  |  301|      0|            {
  |  |  302|  1.23M|                value = r;
  |  |  303|  1.23M|                assert(PyUnicode_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  304|  1.23M|                PyStackRef_CLOSE_SPECIALIZED(value, _PyUnicode_ExactDealloc);
  |  |  305|  1.23M|            }
  |  |  306|       |            // _POP_TOP_UNICODE
  |  |  307|  1.23M|            {
  |  |  308|  1.23M|                value = l;
  |  |  309|  1.23M|                assert(PyUnicode_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  310|  1.23M|                PyStackRef_CLOSE_SPECIALIZED(value, _PyUnicode_ExactDealloc);
  |  |  311|  1.23M|            }
  |  |  312|  1.23M|            stack_pointer[-2] = res;
  |  |  313|  1.23M|            stack_pointer += -1;
  |  |  314|  1.23M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.23M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  315|  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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  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|    }
  |  |  ------------------
  |  |  316|  1.23M|        }
  |  |  317|       |
  |  |  318|  11.8M|        TARGET(BINARY_OP_EXTEND) {
  |  |  ------------------
  |  |  |  |  132|  11.8M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  319|       |            #if _Py_TAIL_CALL_INTERP
  |  |  320|       |            int opcode = BINARY_OP_EXTEND;
  |  |  321|       |            (void)(opcode);
  |  |  322|       |            #endif
  |  |  323|  11.8M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  324|  11.8M|            (void)this_instr;
  |  |  325|  11.8M|            frame->instr_ptr = next_instr;
  |  |  326|  11.8M|            next_instr += 6;
  |  |  327|  11.8M|            INSTRUCTION_STATS(BINARY_OP_EXTEND);
  |  |  ------------------
  |  |  |  |   71|  11.8M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  328|  11.8M|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  329|  11.8M|            _PyStackRef left;
  |  |  330|  11.8M|            _PyStackRef right;
  |  |  331|  11.8M|            _PyStackRef res;
  |  |  332|  11.8M|            _PyStackRef l;
  |  |  333|  11.8M|            _PyStackRef r;
  |  |  334|  11.8M|            _PyStackRef value;
  |  |  335|       |            /* Skip 1 cache entry */
  |  |  336|       |            // _GUARD_BINARY_OP_EXTEND
  |  |  337|  11.8M|            {
  |  |  338|  11.8M|                right = stack_pointer[-1];
  |  |  339|  11.8M|                left = stack_pointer[-2];
  |  |  340|  11.8M|                PyObject *descr = read_obj(&this_instr[2].cache);
  |  |  341|  11.8M|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  342|  11.8M|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  |  343|  11.8M|                _PyBinaryOpSpecializationDescr *d = (_PyBinaryOpSpecializationDescr*)descr;
  |  |  344|  11.8M|                assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5);
  |  |  345|  11.8M|                assert(d != NULL);
  |  |  346|  11.8M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  347|  11.8M|                int match = (d->guard != NULL)
  |  |  ------------------
  |  |  |  Branch (347:29): [True: 11.8M, False: 53.7k]
  |  |  ------------------
  |  |  348|  11.8M|                ? d->guard(left_o, right_o)
  |  |  349|  11.8M|            : (Py_TYPE(left_o) == d->lhs_type && Py_TYPE(right_o) == d->rhs_type);
  |  |  ------------------
  |  |  |  |  213|  53.7k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  53.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  53.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                           : (Py_TYPE(left_o) == d->lhs_type && Py_TYPE(right_o) == d->rhs_type);
  |  |  ------------------
  |  |  |  |  213|  53.7k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  53.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  53.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (349:16): [True: 53.7k, False: 0]
  |  |  |  Branch (349:50): [True: 53.7k, False: 0]
  |  |  ------------------
  |  |  350|  11.8M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |  351|  11.8M|                if (!match) {
  |  |  ------------------
  |  |  |  Branch (351:21): [True: 183, False: 11.8M]
  |  |  ------------------
  |  |  352|    183|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  298|    183|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  353|    183|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  354|    183|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|    183|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  355|      0|                }
  |  |  356|  11.8M|            }
  |  |  357|       |            /* Skip -4 cache entry */
  |  |  358|       |            // _BINARY_OP_EXTEND
  |  |  359|  11.8M|            {
  |  |  360|  11.8M|                PyObject *descr = read_obj(&this_instr[2].cache);
  |  |  361|  11.8M|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  362|  11.8M|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  |  363|  11.8M|                assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5);
  |  |  364|  11.8M|                _PyBinaryOpSpecializationDescr *d = (_PyBinaryOpSpecializationDescr*)descr;
  |  |  365|  11.8M|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  11.8M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  366|  11.8M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  367|  11.8M|                PyObject *res_o = d->action(left_o, right_o);
  |  |  368|  11.8M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |  369|  11.8M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (369:21): [True: 0, False: 11.8M]
  |  |  ------------------
  |  |  370|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |  371|      0|                }
  |  |  372|  11.8M|                assert(d->result_type == NULL || Py_TYPE(res_o) == d->result_type);
  |  |  373|  11.8M|                assert(!d->result_unique || Py_REFCNT(res_o) == 1 || _Py_IsImmortal(res_o));
  |  |  374|  11.8M|                assert(!PyFloat_CheckExact(res_o) || Py_REFCNT(res_o) == 1);
  |  |  375|  11.8M|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  |  376|  11.8M|                l = left;
  |  |  377|  11.8M|                r = right;
  |  |  378|  11.8M|            }
  |  |  379|       |            // _POP_TOP
  |  |  380|      0|            {
  |  |  381|  11.8M|                value = r;
  |  |  382|  11.8M|                stack_pointer[-2] = res;
  |  |  383|  11.8M|                stack_pointer[-1] = l;
  |  |  384|  11.8M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  385|  11.8M|                PyStackRef_XCLOSE(value);
  |  |  386|  11.8M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |  387|  11.8M|            }
  |  |  388|       |            // _POP_TOP
  |  |  389|  11.8M|            {
  |  |  390|  11.8M|                value = l;
  |  |  391|  11.8M|                stack_pointer += -1;
  |  |  392|  11.8M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  11.8M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  393|  11.8M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  394|  11.8M|                PyStackRef_XCLOSE(value);
  |  |  395|  11.8M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |  396|  11.8M|            }
  |  |  397|  11.8M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  11.8M|    { \
  |  |  |  |  201|  11.8M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  11.8M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  11.8M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  11.8M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  11.8M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  11.8M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  11.8M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  11.8M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 11.8M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  11.8M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  11.8M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  11.8M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  11.8M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  11.8M|    }
  |  |  ------------------
  |  |  398|  11.8M|        }
  |  |  399|       |
  |  |  400|  5.57k|        TARGET(BINARY_OP_INPLACE_ADD_UNICODE) {
  |  |  ------------------
  |  |  |  |  132|  5.57k|#  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|  5.57k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  406|  5.57k|            (void)this_instr;
  |  |  407|  5.57k|            frame->instr_ptr = next_instr;
  |  |  408|  5.57k|            next_instr += 6;
  |  |  409|  5.57k|            INSTRUCTION_STATS(BINARY_OP_INPLACE_ADD_UNICODE);
  |  |  ------------------
  |  |  |  |   71|  5.57k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  410|  5.57k|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  411|  5.57k|            _PyStackRef value;
  |  |  412|  5.57k|            _PyStackRef nos;
  |  |  413|  5.57k|            _PyStackRef left;
  |  |  414|  5.57k|            _PyStackRef right;
  |  |  415|  5.57k|            _PyStackRef res;
  |  |  416|       |            // _GUARD_TOS_UNICODE
  |  |  417|  5.57k|            {
  |  |  418|  5.57k|                value = stack_pointer[-1];
  |  |  419|  5.57k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |  420|  5.57k|                if (!PyUnicode_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |  104|  5.57k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  5.57k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  5.57k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  5.57k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (420:21): [True: 0, False: 5.57k]
  |  |  ------------------
  |  |  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|  5.57k|            }
  |  |  426|       |            // _GUARD_NOS_UNICODE
  |  |  427|  5.57k|            {
  |  |  428|  5.57k|                nos = stack_pointer[-2];
  |  |  429|  5.57k|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  |  430|  5.57k|                if (!PyUnicode_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |  104|  5.57k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  5.57k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  5.57k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  5.57k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (430:21): [True: 0, False: 5.57k]
  |  |  ------------------
  |  |  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|  5.57k|            }
  |  |  436|       |            /* Skip 5 cache entries */
  |  |  437|       |            // _BINARY_OP_INPLACE_ADD_UNICODE
  |  |  438|  5.57k|            {
  |  |  439|  5.57k|                right = value;
  |  |  440|  5.57k|                left = nos;
  |  |  441|  5.57k|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  442|  5.57k|                assert(PyUnicode_CheckExact(left_o));
  |  |  443|  5.57k|                assert(PyUnicode_CheckExact(PyStackRef_AsPyObjectBorrow(right)));
  |  |  444|  5.57k|                int next_oparg;
  |  |  445|  5.57k|                #if TIER_ONE
  |  |  446|  5.57k|                assert(next_instr->op.code == STORE_FAST);
  |  |  447|  5.57k|                next_oparg = next_instr->op.arg;
  |  |  448|       |                #else
  |  |  449|       |                next_oparg = (int)CURRENT_OPERAND0_16();
  |  |  450|       |                #endif
  |  |  451|  5.57k|                _PyStackRef *target_local = &GETLOCAL(next_oparg);
  |  |  ------------------
  |  |  |  |  284|  5.57k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |  452|  5.57k|                assert(PyUnicode_CheckExact(left_o));
  |  |  453|  5.57k|                if (PyStackRef_AsPyObjectBorrow(*target_local) != left_o) {
  |  |  ------------------
  |  |  |  Branch (453:21): [True: 0, False: 5.57k]
  |  |  ------------------
  |  |  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|  5.57k|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  5.57k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  459|  5.57k|                assert(Py_REFCNT(left_o) >= 2 || !PyStackRef_IsHeapSafe(left));
  |  |  460|  5.57k|                PyObject *temp = PyStackRef_AsPyObjectSteal(*target_local);
  |  |  461|  5.57k|                PyObject *right_o = PyStackRef_AsPyObjectSteal(right);
  |  |  462|  5.57k|                PyStackRef_CLOSE_SPECIALIZED(left, _PyUnicode_ExactDealloc);
  |  |  463|  5.57k|                stack_pointer += -2;
  |  |  464|  5.57k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  5.57k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  465|  5.57k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  466|  5.57k|                PyUnicode_Append(&temp, right_o);
  |  |  467|  5.57k|                _Py_DECREF_SPECIALIZED(right_o, _PyUnicode_ExactDealloc);
  |  |  ------------------
  |  |  |  |   96|  5.57k|    do { \
  |  |  |  |   97|  5.57k|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.57k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.57k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   98|  5.57k|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|  5.57k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  5.57k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  5.57k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 1.13k, False: 4.43k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   99|  1.13k|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|  1.13k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  100|  1.13k|            break; \
  |  |  |  |  101|  1.13k|        } \
  |  |  |  |  102|  5.57k|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|  4.43k|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  103|  4.43k|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (103:13): [True: 4.43k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  104|  4.43k|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|  4.43k|    do { \
  |  |  |  |  |  |  113|  4.43k|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|  4.43k|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 4.43k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|  4.43k|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 4.43k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  105|  4.43k|            destructor d = (destructor)(dealloc); \
  |  |  |  |  106|  4.43k|            d(op); \
  |  |  |  |  107|  4.43k|        } \
  |  |  |  |  108|  4.43k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (108:14): [Folded, False: 4.43k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  468|  5.57k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |  469|  5.57k|                *target_local = PyStackRef_NULL;
  |  |  470|  5.57k|                if (temp == NULL) {
  |  |  ------------------
  |  |  |  Branch (470:21): [True: 0, False: 5.57k]
  |  |  ------------------
  |  |  471|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |  472|      0|                }
  |  |  473|  5.57k|                res = PyStackRef_FromPyObjectSteal(temp);
  |  |  474|  5.57k|            }
  |  |  475|      0|            stack_pointer[0] = res;
  |  |  476|  5.57k|            stack_pointer += 1;
  |  |  477|  5.57k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  5.57k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  478|  5.57k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  5.57k|    { \
  |  |  |  |  201|  5.57k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  5.57k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  5.57k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  5.57k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  5.57k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  5.57k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  5.57k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  5.57k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 5.57k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  5.57k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  5.57k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  5.57k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  5.57k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  5.57k|    }
  |  |  ------------------
  |  |  479|  5.57k|        }
  |  |  480|       |
  |  |  481|     91|        TARGET(BINARY_OP_MULTIPLY_FLOAT) {
  |  |  ------------------
  |  |  |  |  132|     91|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  482|       |            #if _Py_TAIL_CALL_INTERP
  |  |  483|       |            int opcode = BINARY_OP_MULTIPLY_FLOAT;
  |  |  484|       |            (void)(opcode);
  |  |  485|       |            #endif
  |  |  486|     91|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  487|     91|            (void)this_instr;
  |  |  488|     91|            frame->instr_ptr = next_instr;
  |  |  489|     91|            next_instr += 6;
  |  |  490|     91|            INSTRUCTION_STATS(BINARY_OP_MULTIPLY_FLOAT);
  |  |  ------------------
  |  |  |  |   71|     91|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  491|     91|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  492|     91|            _PyStackRef value;
  |  |  493|     91|            _PyStackRef left;
  |  |  494|     91|            _PyStackRef right;
  |  |  495|     91|            _PyStackRef res;
  |  |  496|     91|            _PyStackRef l;
  |  |  497|     91|            _PyStackRef r;
  |  |  498|       |            // _GUARD_TOS_FLOAT
  |  |  499|     91|            {
  |  |  500|     91|                value = stack_pointer[-1];
  |  |  501|     91|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |  502|     91|                if (!PyFloat_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |   17|     91|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|     91|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     91|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     91|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (502:21): [True: 53, False: 38]
  |  |  ------------------
  |  |  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|     91|            }
  |  |  508|       |            // _GUARD_NOS_FLOAT
  |  |  509|     38|            {
  |  |  510|     38|                left = stack_pointer[-2];
  |  |  511|     38|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  512|     38|                if (!PyFloat_CheckExact(left_o)) {
  |  |  ------------------
  |  |  |  |   17|     38|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|     38|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     38|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     38|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (512:21): [True: 0, False: 38]
  |  |  ------------------
  |  |  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|     38|            }
  |  |  518|       |            /* Skip 5 cache entries */
  |  |  519|       |            // _BINARY_OP_MULTIPLY_FLOAT
  |  |  520|     38|            {
  |  |  521|     38|                right = value;
  |  |  522|     38|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  523|     38|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  |  524|     38|                assert(PyFloat_CheckExact(left_o));
  |  |  525|     38|                assert(PyFloat_CheckExact(right_o));
  |  |  526|     38|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|     38|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  527|     38|                double dres =
  |  |  528|     38|                ((PyFloatObject *)left_o)->ob_fval *
  |  |  529|     38|                ((PyFloatObject *)right_o)->ob_fval;
  |  |  530|     38|                PyObject *d = PyFloat_FromDouble(dres);
  |  |  531|     38|                if (d == NULL) {
  |  |  ------------------
  |  |  |  Branch (531:21): [True: 0, False: 38]
  |  |  ------------------
  |  |  532|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |  533|      0|                }
  |  |  534|     38|                res = PyStackRef_FromPyObjectSteal(d);
  |  |  535|     38|                l = left;
  |  |  536|     38|                r = right;
  |  |  537|     38|            }
  |  |  538|       |            // _POP_TOP_FLOAT
  |  |  539|      0|            {
  |  |  540|     38|                value = r;
  |  |  541|     38|                assert(PyFloat_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  542|     38|                PyStackRef_CLOSE_SPECIALIZED(value, _PyFloat_ExactDealloc);
  |  |  543|     38|            }
  |  |  544|       |            // _POP_TOP_FLOAT
  |  |  545|     38|            {
  |  |  546|     38|                value = l;
  |  |  547|     38|                assert(PyFloat_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  548|     38|                PyStackRef_CLOSE_SPECIALIZED(value, _PyFloat_ExactDealloc);
  |  |  549|     38|            }
  |  |  550|     38|            stack_pointer[-2] = res;
  |  |  551|     38|            stack_pointer += -1;
  |  |  552|     38|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     38|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  553|     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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|     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|    }
  |  |  ------------------
  |  |  554|     38|        }
  |  |  555|       |
  |  |  556|   256k|        TARGET(BINARY_OP_MULTIPLY_INT) {
  |  |  ------------------
  |  |  |  |  132|   256k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  557|       |            #if _Py_TAIL_CALL_INTERP
  |  |  558|       |            int opcode = BINARY_OP_MULTIPLY_INT;
  |  |  559|       |            (void)(opcode);
  |  |  560|       |            #endif
  |  |  561|   256k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  562|   256k|            (void)this_instr;
  |  |  563|   256k|            frame->instr_ptr = next_instr;
  |  |  564|   256k|            next_instr += 6;
  |  |  565|   256k|            INSTRUCTION_STATS(BINARY_OP_MULTIPLY_INT);
  |  |  ------------------
  |  |  |  |   71|   256k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  566|   256k|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  567|   256k|            _PyStackRef value;
  |  |  568|   256k|            _PyStackRef left;
  |  |  569|   256k|            _PyStackRef right;
  |  |  570|   256k|            _PyStackRef res;
  |  |  571|   256k|            _PyStackRef l;
  |  |  572|   256k|            _PyStackRef r;
  |  |  573|       |            // _GUARD_TOS_INT
  |  |  574|   256k|            {
  |  |  575|   256k|                value = stack_pointer[-1];
  |  |  576|   256k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |  577|   256k|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (577:21): [True: 0, False: 256k]
  |  |  ------------------
  |  |  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|   256k|            }
  |  |  583|       |            // _GUARD_NOS_INT
  |  |  584|   256k|            {
  |  |  585|   256k|                left = stack_pointer[-2];
  |  |  586|   256k|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  587|   256k|                if (!_PyLong_CheckExactAndCompact(left_o)) {
  |  |  ------------------
  |  |  |  Branch (587:21): [True: 46, False: 256k]
  |  |  ------------------
  |  |  588|     46|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  298|     46|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  589|     46|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  590|     46|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|     46|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  591|      0|                }
  |  |  592|   256k|            }
  |  |  593|       |            /* Skip 5 cache entries */
  |  |  594|       |            // _BINARY_OP_MULTIPLY_INT
  |  |  595|   256k|            {
  |  |  596|   256k|                right = value;
  |  |  597|   256k|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  |  598|   256k|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  |  599|   256k|                assert(PyLong_CheckExact(left_o));
  |  |  600|   256k|                assert(PyLong_CheckExact(right_o));
  |  |  601|   256k|                assert(_PyLong_BothAreCompact((PyLongObject *)left_o, (PyLongObject *)right_o));
  |  |  602|   256k|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|   256k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  603|   256k|                res = _PyCompactLong_Multiply((PyLongObject *)left_o, (PyLongObject *)right_o);
  |  |  604|   256k|                if (PyStackRef_IsNull(res)) {
  |  |  ------------------
  |  |  |  |  470|   256k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|   256k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|   256k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (470:32): [True: 0, False: 256k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  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|   256k|                l = left;
  |  |  610|   256k|                r = right;
  |  |  611|   256k|            }
  |  |  612|       |            // _POP_TOP_INT
  |  |  613|      0|            {
  |  |  614|   256k|                value = r;
  |  |  615|   256k|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  616|   256k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  |  617|   256k|            }
  |  |  618|       |            // _POP_TOP_INT
  |  |  619|   256k|            {
  |  |  620|   256k|                value = l;
  |  |  621|   256k|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  622|   256k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  |  623|   256k|            }
  |  |  624|   256k|            stack_pointer[-2] = res;
  |  |  625|   256k|            stack_pointer += -1;
  |  |  626|   256k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   256k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  627|   256k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   256k|    { \
  |  |  |  |  201|   256k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|   256k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|   256k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|   256k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|   256k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|   256k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|   256k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|   256k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 256k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   256k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   256k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   256k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   256k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   256k|    }
  |  |  ------------------
  |  |  628|   256k|        }
  |  |  629|       |
  |  |  630|  4.98M|        TARGET(BINARY_OP_SUBSCR_DICT) {
  |  |  ------------------
  |  |  |  |  132|  4.98M|#  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.98M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  636|  4.98M|            (void)this_instr;
  |  |  637|  4.98M|            frame->instr_ptr = next_instr;
  |  |  638|  4.98M|            next_instr += 6;
  |  |  639|  4.98M|            INSTRUCTION_STATS(BINARY_OP_SUBSCR_DICT);
  |  |  ------------------
  |  |  |  |   71|  4.98M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  640|  4.98M|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  641|  4.98M|            _PyStackRef nos;
  |  |  642|  4.98M|            _PyStackRef dict_st;
  |  |  643|  4.98M|            _PyStackRef sub_st;
  |  |  644|  4.98M|            _PyStackRef res;
  |  |  645|  4.98M|            _PyStackRef ds;
  |  |  646|  4.98M|            _PyStackRef ss;
  |  |  647|  4.98M|            _PyStackRef value;
  |  |  648|       |            // _GUARD_NOS_DICT_SUBSCRIPT
  |  |  649|  4.98M|            {
  |  |  650|  4.98M|                nos = stack_pointer[-2];
  |  |  651|  4.98M|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  |  652|  4.98M|                if (!Py_TYPE(o)->tp_as_mapping) {
  |  |  ------------------
  |  |  |  |  213|  4.98M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.98M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.98M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (652:21): [True: 0, False: 4.98M]
  |  |  ------------------
  |  |  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.98M|                if (Py_TYPE(o)->tp_as_mapping->mp_subscript != _PyDict_Subscript) {
  |  |  ------------------
  |  |  |  |  213|  4.98M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.98M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.98M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (657:21): [True: 0, False: 4.98M]
  |  |  ------------------
  |  |  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.98M|            }
  |  |  663|       |            /* Skip 5 cache entries */
  |  |  664|       |            // _BINARY_OP_SUBSCR_DICT
  |  |  665|  4.98M|            {
  |  |  666|  4.98M|                sub_st = stack_pointer[-1];
  |  |  667|  4.98M|                dict_st = nos;
  |  |  668|  4.98M|                PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
  |  |  669|  4.98M|                PyObject *dict = PyStackRef_AsPyObjectBorrow(dict_st);
  |  |  670|  4.98M|                assert(Py_TYPE(dict)->tp_as_mapping->mp_subscript == _PyDict_Subscript);
  |  |  671|  4.98M|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  4.98M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  672|  4.98M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  673|  4.98M|                PyObject *res_o = _PyDict_Subscript(dict, sub);
  |  |  674|  4.98M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |  675|  4.98M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (675:21): [True: 169k, False: 4.81M]
  |  |  ------------------
  |  |  676|   169k|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|   169k|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |  677|      0|                }
  |  |  678|  4.81M|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  |  679|  4.81M|                ds = dict_st;
  |  |  680|  4.81M|                ss = sub_st;
  |  |  681|  4.81M|            }
  |  |  682|       |            // _POP_TOP
  |  |  683|      0|            {
  |  |  684|  4.81M|                value = ss;
  |  |  685|  4.81M|                stack_pointer[-2] = res;
  |  |  686|  4.81M|                stack_pointer[-1] = ds;
  |  |  687|  4.81M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  688|  4.81M|                PyStackRef_XCLOSE(value);
  |  |  689|  4.81M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |  690|  4.81M|            }
  |  |  691|       |            // _POP_TOP
  |  |  692|  4.81M|            {
  |  |  693|  4.81M|                value = ds;
  |  |  694|  4.81M|                stack_pointer += -1;
  |  |  695|  4.81M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  4.81M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  696|  4.81M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  697|  4.81M|                PyStackRef_XCLOSE(value);
  |  |  698|  4.81M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |  699|  4.81M|            }
  |  |  700|  4.81M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  4.81M|    { \
  |  |  |  |  201|  4.81M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  4.81M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  4.81M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  4.81M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  4.81M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  4.81M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  4.81M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  4.81M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 4.81M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  4.81M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  4.81M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  4.81M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  4.81M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  4.81M|    }
  |  |  ------------------
  |  |  701|  4.81M|        }
  |  |  702|       |
  |  |  703|  3.26M|        TARGET(BINARY_OP_SUBSCR_GETITEM) {
  |  |  ------------------
  |  |  |  |  132|  3.26M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |  704|       |            #if _Py_TAIL_CALL_INTERP
  |  |  705|       |            int opcode = BINARY_OP_SUBSCR_GETITEM;
  |  |  706|       |            (void)(opcode);
  |  |  707|       |            #endif
  |  |  708|  3.26M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  709|  3.26M|            (void)this_instr;
  |  |  710|  3.26M|            frame->instr_ptr = next_instr;
  |  |  711|  3.26M|            next_instr += 6;
  |  |  712|  3.26M|            INSTRUCTION_STATS(BINARY_OP_SUBSCR_GETITEM);
  |  |  ------------------
  |  |  |  |   71|  3.26M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  713|  3.26M|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  714|  3.26M|            _PyStackRef container;
  |  |  715|  3.26M|            _PyStackRef getitem;
  |  |  716|  3.26M|            _PyStackRef sub;
  |  |  717|  3.26M|            _PyStackRef new_frame;
  |  |  718|       |            /* Skip 5 cache entries */
  |  |  719|       |            // _CHECK_PEP_523
  |  |  720|  3.26M|            {
  |  |  721|  3.26M|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  517|  3.26M|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (517:34): [True: 0, False: 3.26M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  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|  3.26M|            }
  |  |  727|       |            // _BINARY_OP_SUBSCR_CHECK_FUNC
  |  |  728|  3.26M|            {
  |  |  729|  3.26M|                container = stack_pointer[-2];
  |  |  730|  3.26M|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(container));
  |  |  ------------------
  |  |  |  |  213|  3.26M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.26M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.26M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  731|  3.26M|                if (!PyType_HasFeature(tp, Py_TPFLAGS_HEAPTYPE)) {
  |  |  ------------------
  |  |  |  |  503|  3.26M|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  |  |  ------------------
  |  |  |  Branch (731:21): [True: 0, False: 3.26M]
  |  |  ------------------
  |  |  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|  3.26M|                PyHeapTypeObject *ht = (PyHeapTypeObject *)tp;
  |  |  737|  3.26M|                PyObject *getitem_o = FT_ATOMIC_LOAD_PTR_ACQUIRE(ht->_spec_cache.getitem);
  |  |  ------------------
  |  |  |  |  149|  3.26M|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  |  738|  3.26M|                if (getitem_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (738:21): [True: 0, False: 3.26M]
  |  |  ------------------
  |  |  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|  3.26M|                assert(PyFunction_Check(getitem_o));
  |  |  744|  3.26M|                uint32_t cached_version = FT_ATOMIC_LOAD_UINT32_RELAXED(ht->_spec_cache.getitem_version);
  |  |  ------------------
  |  |  |  |  158|  3.26M|#define FT_ATOMIC_LOAD_UINT32_RELAXED(value) value
  |  |  ------------------
  |  |  745|  3.26M|                if (((PyFunctionObject *)getitem_o)->func_version != cached_version) {
  |  |  ------------------
  |  |  |  Branch (745:21): [True: 0, False: 3.26M]
  |  |  ------------------
  |  |  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|  3.26M|                PyCodeObject *code = (PyCodeObject *)PyFunction_GET_CODE(getitem_o);
  |  |  ------------------
  |  |  |  |   93|  3.26M|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.26M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.26M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  751|  3.26M|                assert(code->co_argcount == 2);
  |  |  752|  3.26M|                if (!_PyThreadState_HasStackSpace(tstate, code->co_framesize)) {
  |  |  ------------------
  |  |  |  Branch (752:21): [True: 86, False: 3.26M]
  |  |  ------------------
  |  |  753|     86|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  298|     86|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  754|     86|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  755|     86|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|     86|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  756|      0|                }
  |  |  757|  3.26M|                getitem = PyStackRef_FromPyObjectNew(getitem_o);
  |  |  ------------------
  |  |  |  |  599|  3.26M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.26M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.26M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  758|  3.26M|            }
  |  |  759|       |            // _BINARY_OP_SUBSCR_INIT_CALL
  |  |  760|      0|            {
  |  |  761|  3.26M|                sub = stack_pointer[-1];
  |  |  762|  3.26M|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  3.26M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  763|  3.26M|                _PyInterpreterFrame* pushed_frame = _PyFrame_PushUnchecked(tstate, getitem, 2, frame);
  |  |  764|  3.26M|                pushed_frame->localsplus[0] = container;
  |  |  765|  3.26M|                pushed_frame->localsplus[1] = sub;
  |  |  766|  3.26M|                frame->return_offset = 6u ;
  |  |  767|  3.26M|                new_frame = PyStackRef_Wrap(pushed_frame);
  |  |  768|  3.26M|            }
  |  |  769|       |            // _PUSH_FRAME
  |  |  770|  3.26M|            {
  |  |  771|  3.26M|                assert(!IS_PEP523_HOOKED(tstate));
  |  |  772|  3.26M|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  |  773|  3.26M|                stack_pointer += -2;
  |  |  774|  3.26M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  3.26M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  775|  3.26M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  776|  3.26M|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |  777|  3.26M|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|  3.26M|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  |  778|  3.26M|                frame = tstate->current_frame = temp;
  |  |  779|  3.26M|                tstate->py_recursion_remaining--;
  |  |  780|  3.26M|                LOAD_SP();
  |  |  ------------------
  |  |  |  |  425|  3.26M|#define LOAD_SP() \
  |  |  |  |  426|  3.26M|stack_pointer = _PyFrame_GetStackPointer(frame)
  |  |  ------------------
  |  |  781|  3.26M|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  419|  3.26M|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  420|  3.26M|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  421|  3.26M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (421:14): [Folded, False: 3.26M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  782|  3.26M|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  345|  3.26M|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  |  783|  3.26M|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  3.26M|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  |  784|  3.26M|            }
  |  |  785|  3.26M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.26M|    { \
  |  |  |  |  201|  3.26M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  3.26M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  3.26M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  3.26M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  3.26M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  3.26M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  3.26M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  3.26M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 3.26M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.26M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.26M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.26M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.26M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.26M|    }
  |  |  ------------------
  |  |  786|  3.26M|        }
  |  |  787|       |
  |  |  788|  10.0M|        TARGET(BINARY_OP_SUBSCR_LIST_INT) {
  |  |  ------------------
  |  |  |  |  132|  10.0M|#  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|  10.0M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  794|  10.0M|            (void)this_instr;
  |  |  795|  10.0M|            frame->instr_ptr = next_instr;
  |  |  796|  10.0M|            next_instr += 6;
  |  |  797|  10.0M|            INSTRUCTION_STATS(BINARY_OP_SUBSCR_LIST_INT);
  |  |  ------------------
  |  |  |  |   71|  10.0M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  798|  10.0M|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  799|  10.0M|            _PyStackRef value;
  |  |  800|  10.0M|            _PyStackRef nos;
  |  |  801|  10.0M|            _PyStackRef list_st;
  |  |  802|  10.0M|            _PyStackRef sub_st;
  |  |  803|  10.0M|            _PyStackRef res;
  |  |  804|  10.0M|            _PyStackRef ls;
  |  |  805|  10.0M|            _PyStackRef ss;
  |  |  806|       |            // _GUARD_TOS_INT
  |  |  807|  10.0M|            {
  |  |  808|  10.0M|                value = stack_pointer[-1];
  |  |  809|  10.0M|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |  810|  10.0M|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (810:21): [True: 0, False: 10.0M]
  |  |  ------------------
  |  |  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|  10.0M|            }
  |  |  816|       |            // _GUARD_NOS_LIST
  |  |  817|  10.0M|            {
  |  |  818|  10.0M|                nos = stack_pointer[-2];
  |  |  819|  10.0M|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  |  820|  10.0M|                if (!PyList_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   26|  10.0M|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  10.0M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  10.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  10.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (820:21): [True: 0, False: 10.0M]
  |  |  ------------------
  |  |  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|  10.0M|            }
  |  |  826|       |            /* Skip 5 cache entries */
  |  |  827|       |            // _BINARY_OP_SUBSCR_LIST_INT
  |  |  828|  10.0M|            {
  |  |  829|  10.0M|                sub_st = value;
  |  |  830|  10.0M|                list_st = nos;
  |  |  831|  10.0M|                PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
  |  |  832|  10.0M|                PyObject *list = PyStackRef_AsPyObjectBorrow(list_st);
  |  |  833|  10.0M|                assert(PyLong_CheckExact(sub));
  |  |  834|  10.0M|                assert(PyList_CheckExact(list));
  |  |  835|  10.0M|                Py_ssize_t index = _PyLong_CompactValue((PyLongObject *)sub);
  |  |  836|  10.0M|                if (index < 0) {
  |  |  ------------------
  |  |  |  Branch (836:21): [True: 0, False: 10.0M]
  |  |  ------------------
  |  |  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|  10.0M|                if (index < 0 || index >= PyList_GET_SIZE(list)) {
  |  |  ------------------
  |  |  |  |   38|  10.0M|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  10.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  10.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (850:21): [True: 0, False: 10.0M]
  |  |  |  Branch (850:34): [True: 714, False: 10.0M]
  |  |  ------------------
  |  |  851|    714|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  298|    714|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |  852|    714|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  |  853|    714|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|    714|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |  854|      0|                }
  |  |  855|  10.0M|                PyObject *res_o = PyList_GET_ITEM(list, index);
  |  |  ------------------
  |  |  |  |   40|  10.0M|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|  10.0M|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  10.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  856|  10.0M|                assert(res_o != NULL);
  |  |  857|  10.0M|                res = PyStackRef_FromPyObjectNew(res_o);
  |  |  ------------------
  |  |  |  |  599|  10.0M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  10.0M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  10.0M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  858|  10.0M|                #endif
  |  |  859|  10.0M|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  10.0M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  860|  10.0M|                ls = list_st;
  |  |  861|  10.0M|                ss = sub_st;
  |  |  862|  10.0M|            }
  |  |  863|       |            // _POP_TOP_INT
  |  |  864|      0|            {
  |  |  865|  10.0M|                value = ss;
  |  |  866|  10.0M|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |  867|  10.0M|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  |  868|  10.0M|            }
  |  |  869|       |            // _POP_TOP
  |  |  870|  10.0M|            {
  |  |  871|  10.0M|                value = ls;
  |  |  872|  10.0M|                stack_pointer[-2] = res;
  |  |  873|  10.0M|                stack_pointer += -1;
  |  |  874|  10.0M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  10.0M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  875|  10.0M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  876|  10.0M|                PyStackRef_XCLOSE(value);
  |  |  877|  10.0M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |  878|  10.0M|            }
  |  |  879|  10.0M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  10.0M|    { \
  |  |  |  |  201|  10.0M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  10.0M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  10.0M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  10.0M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  10.0M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  10.0M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  10.0M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  10.0M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 10.0M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  10.0M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  10.0M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  10.0M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  10.0M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  10.0M|    }
  |  |  ------------------
  |  |  880|  10.0M|        }
  |  |  881|       |
  |  |  882|  12.6k|        TARGET(BINARY_OP_SUBSCR_LIST_SLICE) {
  |  |  ------------------
  |  |  |  |  132|  12.6k|#  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|  12.6k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  888|  12.6k|            (void)this_instr;
  |  |  889|  12.6k|            frame->instr_ptr = next_instr;
  |  |  890|  12.6k|            next_instr += 6;
  |  |  891|  12.6k|            INSTRUCTION_STATS(BINARY_OP_SUBSCR_LIST_SLICE);
  |  |  ------------------
  |  |  |  |   71|  12.6k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  892|  12.6k|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  893|  12.6k|            _PyStackRef tos;
  |  |  894|  12.6k|            _PyStackRef nos;
  |  |  895|  12.6k|            _PyStackRef list_st;
  |  |  896|  12.6k|            _PyStackRef sub_st;
  |  |  897|  12.6k|            _PyStackRef res;
  |  |  898|  12.6k|            _PyStackRef ls;
  |  |  899|  12.6k|            _PyStackRef ss;
  |  |  900|  12.6k|            _PyStackRef value;
  |  |  901|       |            // _GUARD_TOS_SLICE
  |  |  902|  12.6k|            {
  |  |  903|  12.6k|                tos = stack_pointer[-1];
  |  |  904|  12.6k|                PyObject *o = PyStackRef_AsPyObjectBorrow(tos);
  |  |  905|  12.6k|                if (!PySlice_Check(o)) {
  |  |  ------------------
  |  |  |  |   22|  12.6k|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  12.6k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  12.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  12.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (905:21): [True: 0, False: 12.6k]
  |  |  ------------------
  |  |  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|  12.6k|            }
  |  |  911|       |            // _GUARD_NOS_LIST
  |  |  912|  12.6k|            {
  |  |  913|  12.6k|                nos = stack_pointer[-2];
  |  |  914|  12.6k|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  |  915|  12.6k|                if (!PyList_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   26|  12.6k|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  12.6k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  12.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  12.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (915:21): [True: 0, False: 12.6k]
  |  |  ------------------
  |  |  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|  12.6k|            }
  |  |  921|       |            /* Skip 5 cache entries */
  |  |  922|       |            // _BINARY_OP_SUBSCR_LIST_SLICE
  |  |  923|  12.6k|            {
  |  |  924|  12.6k|                sub_st = tos;
  |  |  925|  12.6k|                list_st = nos;
  |  |  926|  12.6k|                PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
  |  |  927|  12.6k|                PyObject *list = PyStackRef_AsPyObjectBorrow(list_st);
  |  |  928|  12.6k|                assert(PySlice_Check(sub));
  |  |  929|  12.6k|                assert(PyList_CheckExact(list));
  |  |  930|  12.6k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  931|  12.6k|                PyObject *res_o = _PyList_SliceSubscript(list, sub);
  |  |  932|  12.6k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |  933|  12.6k|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  12.6k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |  934|  12.6k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (934:21): [True: 0, False: 12.6k]
  |  |  ------------------
  |  |  935|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |  936|      0|                }
  |  |  937|  12.6k|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  |  938|  12.6k|                ls = list_st;
  |  |  939|  12.6k|                ss = sub_st;
  |  |  940|  12.6k|            }
  |  |  941|       |            // _POP_TOP
  |  |  942|      0|            {
  |  |  943|  12.6k|                value = ss;
  |  |  944|  12.6k|                stack_pointer[-2] = res;
  |  |  945|  12.6k|                stack_pointer[-1] = ls;
  |  |  946|  12.6k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  947|  12.6k|                PyStackRef_XCLOSE(value);
  |  |  948|  12.6k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |  949|  12.6k|            }
  |  |  950|       |            // _POP_TOP
  |  |  951|  12.6k|            {
  |  |  952|  12.6k|                value = ls;
  |  |  953|  12.6k|                stack_pointer += -1;
  |  |  954|  12.6k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  12.6k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |  955|  12.6k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |  956|  12.6k|                PyStackRef_XCLOSE(value);
  |  |  957|  12.6k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |  958|  12.6k|            }
  |  |  959|  12.6k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  12.6k|    { \
  |  |  |  |  201|  12.6k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  12.6k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  12.6k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  12.6k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  12.6k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  12.6k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  12.6k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  12.6k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 12.6k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  12.6k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  12.6k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  12.6k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  12.6k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  12.6k|    }
  |  |  ------------------
  |  |  960|  12.6k|        }
  |  |  961|       |
  |  |  962|  30.1k|        TARGET(BINARY_OP_SUBSCR_STR_INT) {
  |  |  ------------------
  |  |  |  |  132|  30.1k|#  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|  30.1k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |  968|  30.1k|            (void)this_instr;
  |  |  969|  30.1k|            frame->instr_ptr = next_instr;
  |  |  970|  30.1k|            next_instr += 6;
  |  |  971|  30.1k|            INSTRUCTION_STATS(BINARY_OP_SUBSCR_STR_INT);
  |  |  ------------------
  |  |  |  |   71|  30.1k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |  972|  30.1k|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  |  973|  30.1k|            _PyStackRef value;
  |  |  974|  30.1k|            _PyStackRef nos;
  |  |  975|  30.1k|            _PyStackRef str_st;
  |  |  976|  30.1k|            _PyStackRef sub_st;
  |  |  977|  30.1k|            _PyStackRef res;
  |  |  978|  30.1k|            _PyStackRef s;
  |  |  979|  30.1k|            _PyStackRef i;
  |  |  980|       |            // _GUARD_TOS_INT
  |  |  981|  30.1k|            {
  |  |  982|  30.1k|                value = stack_pointer[-1];
  |  |  983|  30.1k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |  984|  30.1k|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (984:21): [True: 0, False: 30.1k]
  |  |  ------------------
  |  |  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|  30.1k|            }
  |  |  990|       |            // _GUARD_NOS_COMPACT_ASCII
  |  |  991|  30.1k|            {
  |  |  992|  30.1k|                nos = stack_pointer[-2];
  |  |  993|  30.1k|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  |  994|  30.1k|                if (!PyUnicode_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |  104|  30.1k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  30.1k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  30.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  30.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (994:21): [True: 0, False: 30.1k]
  |  |  ------------------
  |  |  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|  30.1k|                if (!PyUnicode_IS_COMPACT_ASCII(o)) {
  |  |  ------------------
  |  |  |  |  241|  30.1k|#define PyUnicode_IS_COMPACT_ASCII(op) PyUnicode_IS_COMPACT_ASCII(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  30.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  30.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (999:21): [True: 16, False: 30.1k]
  |  |  ------------------
  |  | 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|  30.1k|            }
  |  | 1005|       |            /* Skip 5 cache entries */
  |  | 1006|       |            // _BINARY_OP_SUBSCR_STR_INT
  |  | 1007|  30.1k|            {
  |  | 1008|  30.1k|                sub_st = value;
  |  | 1009|  30.1k|                str_st = nos;
  |  | 1010|  30.1k|                PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
  |  | 1011|  30.1k|                PyObject *str = PyStackRef_AsPyObjectBorrow(str_st);
  |  | 1012|  30.1k|                assert(PyLong_CheckExact(sub));
  |  | 1013|  30.1k|                assert(PyUnicode_CheckExact(str));
  |  | 1014|  30.1k|                if (!_PyLong_IsNonNegativeCompact((PyLongObject*)sub)) {
  |  |  ------------------
  |  |  |  Branch (1014:21): [True: 0, False: 30.1k]
  |  |  ------------------
  |  | 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|  30.1k|                Py_ssize_t index = ((PyLongObject*)sub)->long_value.ob_digit[0];
  |  | 1020|  30.1k|                if (PyUnicode_GET_LENGTH(str) <= index) {
  |  |  ------------------
  |  |  |  |  299|  30.1k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  30.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  30.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1020:21): [True: 100, False: 30.0k]
  |  |  ------------------
  |  | 1021|    100|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  298|    100|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1022|    100|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  | 1023|    100|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|    100|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1024|      0|                }
  |  | 1025|  30.0k|                uint8_t c = PyUnicode_1BYTE_DATA(str)[index];
  |  |  ------------------
  |  |  |  |  291|  30.0k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  30.0k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1026|  30.0k|                assert(c < 128);
  |  | 1027|  30.0k|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  30.0k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 1028|  30.0k|                PyObject *res_o = (PyObject*)&_Py_SINGLETON(strings).ascii[c];
  |  |  ------------------
  |  |  |  |   18|  30.0k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  30.0k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1029|  30.0k|                s = str_st;
  |  | 1030|  30.0k|                i = sub_st;
  |  | 1031|  30.0k|                res = PyStackRef_FromPyObjectBorrow(res_o);
  |  | 1032|  30.0k|            }
  |  | 1033|       |            // _POP_TOP_INT
  |  | 1034|      0|            {
  |  | 1035|  30.0k|                value = i;
  |  | 1036|  30.0k|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  | 1037|  30.0k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  | 1038|  30.0k|            }
  |  | 1039|       |            // _POP_TOP_UNICODE
  |  | 1040|  30.0k|            {
  |  | 1041|  30.0k|                value = s;
  |  | 1042|  30.0k|                assert(PyUnicode_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  | 1043|  30.0k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyUnicode_ExactDealloc);
  |  | 1044|  30.0k|            }
  |  | 1045|  30.0k|            stack_pointer[-2] = res;
  |  | 1046|  30.0k|            stack_pointer += -1;
  |  | 1047|  30.0k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  30.0k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1048|  30.0k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  30.0k|    { \
  |  |  |  |  201|  30.0k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  30.0k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  30.0k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  30.0k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  30.0k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  30.0k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  30.0k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  30.0k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 30.0k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  30.0k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  30.0k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  30.0k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  30.0k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  30.0k|    }
  |  |  ------------------
  |  | 1049|  30.0k|        }
  |  | 1050|       |
  |  | 1051|  1.27M|        TARGET(BINARY_OP_SUBSCR_TUPLE_INT) {
  |  |  ------------------
  |  |  |  |  132|  1.27M|#  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|  1.27M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 1057|  1.27M|            (void)this_instr;
  |  | 1058|  1.27M|            frame->instr_ptr = next_instr;
  |  | 1059|  1.27M|            next_instr += 6;
  |  | 1060|  1.27M|            INSTRUCTION_STATS(BINARY_OP_SUBSCR_TUPLE_INT);
  |  |  ------------------
  |  |  |  |   71|  1.27M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1061|  1.27M|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  | 1062|  1.27M|            _PyStackRef value;
  |  | 1063|  1.27M|            _PyStackRef nos;
  |  | 1064|  1.27M|            _PyStackRef tuple_st;
  |  | 1065|  1.27M|            _PyStackRef sub_st;
  |  | 1066|  1.27M|            _PyStackRef res;
  |  | 1067|  1.27M|            _PyStackRef ts;
  |  | 1068|  1.27M|            _PyStackRef ss;
  |  | 1069|       |            // _GUARD_TOS_INT
  |  | 1070|  1.27M|            {
  |  | 1071|  1.27M|                value = stack_pointer[-1];
  |  | 1072|  1.27M|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 1073|  1.27M|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (1073:21): [True: 0, False: 1.27M]
  |  |  ------------------
  |  | 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|  1.27M|            }
  |  | 1079|       |            // _GUARD_NOS_TUPLE
  |  | 1080|  1.27M|            {
  |  | 1081|  1.27M|                nos = stack_pointer[-2];
  |  | 1082|  1.27M|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  | 1083|  1.27M|                if (!PyTuple_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   28|  1.27M|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  1.27M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.27M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.27M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1083:21): [True: 0, False: 1.27M]
  |  |  ------------------
  |  | 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|  1.27M|            }
  |  | 1089|       |            // _GUARD_BINARY_OP_SUBSCR_TUPLE_INT_BOUNDS
  |  | 1090|  1.27M|            {
  |  | 1091|  1.27M|                sub_st = value;
  |  | 1092|  1.27M|                tuple_st = nos;
  |  | 1093|  1.27M|                PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
  |  | 1094|  1.27M|                PyObject *tuple = PyStackRef_AsPyObjectBorrow(tuple_st);
  |  | 1095|  1.27M|                assert(PyLong_CheckExact(sub));
  |  | 1096|  1.27M|                assert(PyTuple_CheckExact(tuple));
  |  | 1097|  1.27M|                if (!_PyLong_IsNonNegativeCompact((PyLongObject *)sub)) {
  |  |  ------------------
  |  |  |  Branch (1097:21): [True: 0, False: 1.27M]
  |  |  ------------------
  |  | 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|  1.27M|                Py_ssize_t index = ((PyLongObject*)sub)->long_value.ob_digit[0];
  |  | 1103|  1.27M|                if (index >= PyTuple_GET_SIZE(tuple)) {
  |  |  ------------------
  |  |  |  |   27|  1.27M|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.27M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.27M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1103:21): [True: 0, False: 1.27M]
  |  |  ------------------
  |  | 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|  1.27M|            }
  |  | 1109|       |            /* Skip 5 cache entries */
  |  | 1110|       |            // _BINARY_OP_SUBSCR_TUPLE_INT
  |  | 1111|  1.27M|            {
  |  | 1112|  1.27M|                PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
  |  | 1113|  1.27M|                PyObject *tuple = PyStackRef_AsPyObjectBorrow(tuple_st);
  |  | 1114|  1.27M|                assert(PyLong_CheckExact(sub));
  |  | 1115|  1.27M|                assert(PyTuple_CheckExact(tuple));
  |  | 1116|  1.27M|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  1.27M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 1117|  1.27M|                Py_ssize_t index = ((PyLongObject*)sub)->long_value.ob_digit[0];
  |  | 1118|  1.27M|                PyObject *res_o = PyTuple_GET_ITEM(tuple, index);
  |  |  ------------------
  |  |  |  |   29|  1.27M|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   19|  1.27M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.27M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1119|  1.27M|                assert(res_o != NULL);
  |  | 1120|  1.27M|                res = PyStackRef_FromPyObjectNew(res_o);
  |  |  ------------------
  |  |  |  |  599|  1.27M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.27M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.27M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1121|  1.27M|                ts = tuple_st;
  |  | 1122|  1.27M|                ss = sub_st;
  |  | 1123|  1.27M|            }
  |  | 1124|       |            // _POP_TOP_INT
  |  | 1125|  1.27M|            {
  |  | 1126|  1.27M|                value = ss;
  |  | 1127|  1.27M|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  | 1128|  1.27M|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  | 1129|  1.27M|            }
  |  | 1130|       |            // _POP_TOP
  |  | 1131|  1.27M|            {
  |  | 1132|  1.27M|                value = ts;
  |  | 1133|  1.27M|                stack_pointer[-2] = res;
  |  | 1134|  1.27M|                stack_pointer += -1;
  |  | 1135|  1.27M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.27M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1136|  1.27M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1137|  1.27M|                PyStackRef_XCLOSE(value);
  |  | 1138|  1.27M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 1139|  1.27M|            }
  |  | 1140|  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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  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|    }
  |  |  ------------------
  |  | 1141|  1.27M|        }
  |  | 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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      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|  11.5k|        TARGET(BINARY_OP_SUBTRACT_FLOAT) {
  |  |  ------------------
  |  |  |  |  132|  11.5k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1232|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1233|       |            int opcode = BINARY_OP_SUBTRACT_FLOAT;
  |  | 1234|       |            (void)(opcode);
  |  | 1235|       |            #endif
  |  | 1236|  11.5k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 1237|  11.5k|            (void)this_instr;
  |  | 1238|  11.5k|            frame->instr_ptr = next_instr;
  |  | 1239|  11.5k|            next_instr += 6;
  |  | 1240|  11.5k|            INSTRUCTION_STATS(BINARY_OP_SUBTRACT_FLOAT);
  |  |  ------------------
  |  |  |  |   71|  11.5k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1241|  11.5k|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  | 1242|  11.5k|            _PyStackRef value;
  |  | 1243|  11.5k|            _PyStackRef left;
  |  | 1244|  11.5k|            _PyStackRef right;
  |  | 1245|  11.5k|            _PyStackRef res;
  |  | 1246|  11.5k|            _PyStackRef l;
  |  | 1247|  11.5k|            _PyStackRef r;
  |  | 1248|       |            // _GUARD_TOS_FLOAT
  |  | 1249|  11.5k|            {
  |  | 1250|  11.5k|                value = stack_pointer[-1];
  |  | 1251|  11.5k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 1252|  11.5k|                if (!PyFloat_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |   17|  11.5k|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  11.5k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  11.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  11.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1252:21): [True: 0, False: 11.5k]
  |  |  ------------------
  |  | 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|  11.5k|            }
  |  | 1258|       |            // _GUARD_NOS_FLOAT
  |  | 1259|  11.5k|            {
  |  | 1260|  11.5k|                left = stack_pointer[-2];
  |  | 1261|  11.5k|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 1262|  11.5k|                if (!PyFloat_CheckExact(left_o)) {
  |  |  ------------------
  |  |  |  |   17|  11.5k|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  11.5k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  11.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  11.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1262:21): [True: 0, False: 11.5k]
  |  |  ------------------
  |  | 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|  11.5k|            }
  |  | 1268|       |            /* Skip 5 cache entries */
  |  | 1269|       |            // _BINARY_OP_SUBTRACT_FLOAT
  |  | 1270|  11.5k|            {
  |  | 1271|  11.5k|                right = value;
  |  | 1272|  11.5k|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 1273|  11.5k|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 1274|  11.5k|                assert(PyFloat_CheckExact(left_o));
  |  | 1275|  11.5k|                assert(PyFloat_CheckExact(right_o));
  |  | 1276|  11.5k|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  11.5k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 1277|  11.5k|                double dres =
  |  | 1278|  11.5k|                ((PyFloatObject *)left_o)->ob_fval -
  |  | 1279|  11.5k|                ((PyFloatObject *)right_o)->ob_fval;
  |  | 1280|  11.5k|                PyObject *d = PyFloat_FromDouble(dres);
  |  | 1281|  11.5k|                if (d == NULL) {
  |  |  ------------------
  |  |  |  Branch (1281:21): [True: 0, False: 11.5k]
  |  |  ------------------
  |  | 1282|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1283|      0|                }
  |  | 1284|  11.5k|                res = PyStackRef_FromPyObjectSteal(d);
  |  | 1285|  11.5k|                l = left;
  |  | 1286|  11.5k|                r = right;
  |  | 1287|  11.5k|            }
  |  | 1288|       |            // _POP_TOP_FLOAT
  |  | 1289|      0|            {
  |  | 1290|  11.5k|                value = r;
  |  | 1291|  11.5k|                assert(PyFloat_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  | 1292|  11.5k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyFloat_ExactDealloc);
  |  | 1293|  11.5k|            }
  |  | 1294|       |            // _POP_TOP_FLOAT
  |  | 1295|  11.5k|            {
  |  | 1296|  11.5k|                value = l;
  |  | 1297|  11.5k|                assert(PyFloat_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  | 1298|  11.5k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyFloat_ExactDealloc);
  |  | 1299|  11.5k|            }
  |  | 1300|  11.5k|            stack_pointer[-2] = res;
  |  | 1301|  11.5k|            stack_pointer += -1;
  |  | 1302|  11.5k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  11.5k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1303|  11.5k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  11.5k|    { \
  |  |  |  |  201|  11.5k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  11.5k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  11.5k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  11.5k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  11.5k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  11.5k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  11.5k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  11.5k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 11.5k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  11.5k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  11.5k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  11.5k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  11.5k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  11.5k|    }
  |  |  ------------------
  |  | 1304|  11.5k|        }
  |  | 1305|       |
  |  | 1306|  7.64M|        TARGET(BINARY_OP_SUBTRACT_INT) {
  |  |  ------------------
  |  |  |  |  132|  7.64M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1307|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1308|       |            int opcode = BINARY_OP_SUBTRACT_INT;
  |  | 1309|       |            (void)(opcode);
  |  | 1310|       |            #endif
  |  | 1311|  7.64M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 1312|  7.64M|            (void)this_instr;
  |  | 1313|  7.64M|            frame->instr_ptr = next_instr;
  |  | 1314|  7.64M|            next_instr += 6;
  |  | 1315|  7.64M|            INSTRUCTION_STATS(BINARY_OP_SUBTRACT_INT);
  |  |  ------------------
  |  |  |  |   71|  7.64M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1316|  7.64M|            static_assert(INLINE_CACHE_ENTRIES_BINARY_OP == 5, "incorrect cache size");
  |  | 1317|  7.64M|            _PyStackRef value;
  |  | 1318|  7.64M|            _PyStackRef left;
  |  | 1319|  7.64M|            _PyStackRef right;
  |  | 1320|  7.64M|            _PyStackRef res;
  |  | 1321|  7.64M|            _PyStackRef l;
  |  | 1322|  7.64M|            _PyStackRef r;
  |  | 1323|       |            // _GUARD_TOS_INT
  |  | 1324|  7.64M|            {
  |  | 1325|  7.64M|                value = stack_pointer[-1];
  |  | 1326|  7.64M|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 1327|  7.64M|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (1327:21): [True: 105, False: 7.64M]
  |  |  ------------------
  |  | 1328|    105|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  298|    105|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1329|    105|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  | 1330|    105|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|    105|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1331|      0|                }
  |  | 1332|  7.64M|            }
  |  | 1333|       |            // _GUARD_NOS_INT
  |  | 1334|  7.64M|            {
  |  | 1335|  7.64M|                left = stack_pointer[-2];
  |  | 1336|  7.64M|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 1337|  7.64M|                if (!_PyLong_CheckExactAndCompact(left_o)) {
  |  |  ------------------
  |  |  |  Branch (1337:21): [True: 24.7k, False: 7.62M]
  |  |  ------------------
  |  | 1338|  24.7k|                    UPDATE_MISS_STATS(BINARY_OP);
  |  |  ------------------
  |  |  |  |  298|  24.7k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 1339|  24.7k|                    assert(_PyOpcode_Deopt[opcode] == (BINARY_OP));
  |  | 1340|  24.7k|                    JUMP_TO_PREDICTED(BINARY_OP);
  |  |  ------------------
  |  |  |  |  136|  24.7k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 1341|      0|                }
  |  | 1342|  7.64M|            }
  |  | 1343|       |            /* Skip 5 cache entries */
  |  | 1344|       |            // _BINARY_OP_SUBTRACT_INT
  |  | 1345|  7.62M|            {
  |  | 1346|  7.62M|                right = value;
  |  | 1347|  7.62M|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 1348|  7.62M|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 1349|  7.62M|                assert(PyLong_CheckExact(left_o));
  |  | 1350|  7.62M|                assert(PyLong_CheckExact(right_o));
  |  | 1351|  7.62M|                assert(_PyLong_BothAreCompact((PyLongObject *)left_o, (PyLongObject *)right_o));
  |  | 1352|  7.62M|                STAT_INC(BINARY_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  7.62M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 1353|  7.62M|                res = _PyCompactLong_Subtract((PyLongObject *)left_o, (PyLongObject *)right_o);
  |  | 1354|  7.62M|                if (PyStackRef_IsNull(res)) {
  |  |  ------------------
  |  |  |  |  470|  7.62M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|  7.62M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  7.62M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (470:32): [True: 0, False: 7.62M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 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|  7.62M|                l = left;
  |  | 1360|  7.62M|                r = right;
  |  | 1361|  7.62M|            }
  |  | 1362|       |            // _POP_TOP_INT
  |  | 1363|      0|            {
  |  | 1364|  7.62M|                value = r;
  |  | 1365|  7.62M|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  | 1366|  7.62M|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  | 1367|  7.62M|            }
  |  | 1368|       |            // _POP_TOP_INT
  |  | 1369|  7.62M|            {
  |  | 1370|  7.62M|                value = l;
  |  | 1371|  7.62M|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  | 1372|  7.62M|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  | 1373|  7.62M|            }
  |  | 1374|  7.62M|            stack_pointer[-2] = res;
  |  | 1375|  7.62M|            stack_pointer += -1;
  |  | 1376|  7.62M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  7.62M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1377|  7.62M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  7.62M|    { \
  |  |  |  |  201|  7.62M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  7.62M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  7.62M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  7.62M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  7.62M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  7.62M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  7.62M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  7.62M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 7.62M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  7.62M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  7.62M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  7.62M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  7.62M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  7.62M|    }
  |  |  ------------------
  |  | 1378|  7.62M|        }
  |  | 1379|       |
  |  | 1380|  7.57M|        TARGET(BINARY_SLICE) {
  |  |  ------------------
  |  |  |  |  132|  7.57M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1381|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1382|       |            int opcode = BINARY_SLICE;
  |  | 1383|       |            (void)(opcode);
  |  | 1384|       |            #endif
  |  | 1385|  7.57M|            frame->instr_ptr = next_instr;
  |  | 1386|  7.57M|            next_instr += 1;
  |  | 1387|  7.57M|            INSTRUCTION_STATS(BINARY_SLICE);
  |  |  ------------------
  |  |  |  |   71|  7.57M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1388|  7.57M|            _PyStackRef container;
  |  | 1389|  7.57M|            _PyStackRef start;
  |  | 1390|  7.57M|            _PyStackRef stop;
  |  | 1391|  7.57M|            _PyStackRef res;
  |  | 1392|       |            // _SPECIALIZE_BINARY_SLICE
  |  | 1393|  7.57M|            {
  |  | 1394|  7.57M|                #if ENABLE_SPECIALIZATION
  |  | 1395|  7.57M|                OPCODE_DEFERRED_INC(BINARY_SLICE);
  |  |  ------------------
  |  |  |  |   90|  7.57M|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 1396|  7.57M|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 1397|  7.57M|            }
  |  | 1398|       |            // _BINARY_SLICE
  |  | 1399|  7.57M|            {
  |  | 1400|  7.57M|                stop = stack_pointer[-1];
  |  | 1401|  7.57M|                start = stack_pointer[-2];
  |  | 1402|  7.57M|                container = stack_pointer[-3];
  |  | 1403|  7.57M|                PyObject *container_o = PyStackRef_AsPyObjectBorrow(container);
  |  | 1404|  7.57M|                PyObject *start_o = PyStackRef_AsPyObjectBorrow(start);
  |  | 1405|  7.57M|                PyObject *stop_o = PyStackRef_AsPyObjectBorrow(stop);
  |  | 1406|  7.57M|                PyObject *res_o;
  |  | 1407|  7.57M|                if (PyList_CheckExact(container_o)) {
  |  |  ------------------
  |  |  |  |   26|  7.57M|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  7.57M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  7.57M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  7.57M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 7.79k, False: 7.56M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1408|  7.79k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1409|  7.79k|                    res_o = _PyList_BinarySlice(container_o, start_o, stop_o);
  |  | 1410|  7.79k|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 1411|  7.79k|                }
  |  | 1412|  7.56M|                else if (PyTuple_CheckExact(container_o)) {
  |  |  ------------------
  |  |  |  |   28|  7.56M|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  7.56M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  7.56M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  7.56M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 28.9k, False: 7.53M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1413|  28.9k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1414|  28.9k|                    res_o = _PyTuple_BinarySlice(container_o, start_o, stop_o);
  |  | 1415|  28.9k|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 1416|  28.9k|                }
  |  | 1417|  7.53M|                else if (PyUnicode_CheckExact(container_o)) {
  |  |  ------------------
  |  |  |  |  104|  7.53M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  7.53M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  7.53M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  7.53M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 9.75k, False: 7.52M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1418|  9.75k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1419|  9.75k|                    res_o = _PyUnicode_BinarySlice(container_o, start_o, stop_o);
  |  | 1420|  9.75k|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 1421|  9.75k|                }
  |  | 1422|  7.52M|                else {
  |  | 1423|  7.52M|                    PyObject *slice = PySlice_New(start_o, stop_o, NULL);
  |  | 1424|  7.52M|                    if (slice == NULL) {
  |  |  ------------------
  |  |  |  Branch (1424:25): [True: 0, False: 7.52M]
  |  |  ------------------
  |  | 1425|      0|                        res_o = NULL;
  |  | 1426|      0|                    }
  |  | 1427|  7.52M|                    else {
  |  | 1428|  7.52M|                        _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1429|  7.52M|                        res_o = PyObject_GetItem(container_o, slice);
  |  | 1430|  7.52M|                        Py_DECREF(slice);
  |  |  ------------------
  |  |  |  |   80|  7.52M|    do { \
  |  |  |  |   81|  7.52M|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  7.52M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  7.52M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|  7.52M|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|  7.52M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  7.52M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  7.52M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 7.52M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|  7.52M|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|  7.52M|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|  7.52M|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 7.52M, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|  7.52M|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|  7.52M|    do { \
  |  |  |  |  |  |  113|  7.52M|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|  7.52M|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 7.52M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|  7.52M|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 7.52M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|  7.52M|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|  7.52M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  7.52M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  7.52M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|  7.52M|            (*dealloc)(op); \
  |  |  |  |   91|  7.52M|        } \
  |  |  |  |   92|  7.52M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 7.52M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1431|  7.52M|                        stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 1432|  7.52M|                    }
  |  | 1433|  7.52M|                }
  |  | 1434|  7.57M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1435|  7.57M|                _PyStackRef tmp = stop;
  |  | 1436|  7.57M|                stop = PyStackRef_NULL;
  |  | 1437|  7.57M|                stack_pointer[-1] = stop;
  |  | 1438|  7.57M|                PyStackRef_CLOSE(tmp);
  |  | 1439|  7.57M|                tmp = start;
  |  | 1440|  7.57M|                start = PyStackRef_NULL;
  |  | 1441|  7.57M|                stack_pointer[-2] = start;
  |  | 1442|  7.57M|                PyStackRef_CLOSE(tmp);
  |  | 1443|  7.57M|                tmp = container;
  |  | 1444|  7.57M|                container = PyStackRef_NULL;
  |  | 1445|  7.57M|                stack_pointer[-3] = container;
  |  | 1446|  7.57M|                PyStackRef_CLOSE(tmp);
  |  | 1447|  7.57M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 1448|  7.57M|                stack_pointer += -3;
  |  | 1449|  7.57M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  7.57M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1450|  7.57M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1450:21): [True: 0, False: 7.57M]
  |  |  ------------------
  |  | 1451|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1452|      0|                }
  |  | 1453|  7.57M|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 1454|  7.57M|            }
  |  | 1455|      0|            stack_pointer[0] = res;
  |  | 1456|  7.57M|            stack_pointer += 1;
  |  | 1457|  7.57M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  7.57M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1458|  7.57M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  7.57M|    { \
  |  |  |  |  201|  7.57M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  7.57M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  7.57M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  7.57M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  7.57M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  7.57M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  7.57M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  7.57M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 7.57M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  7.57M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  7.57M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  7.57M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  7.57M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  7.57M|    }
  |  |  ------------------
  |  | 1459|  7.57M|        }
  |  | 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);
  |  |  ------------------
  |  |  |  |  917|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      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|  4.75M|        TARGET(BUILD_LIST) {
  |  |  ------------------
  |  |  |  |  132|  4.75M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1520|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1521|       |            int opcode = BUILD_LIST;
  |  | 1522|       |            (void)(opcode);
  |  | 1523|       |            #endif
  |  | 1524|  4.75M|            frame->instr_ptr = next_instr;
  |  | 1525|  4.75M|            next_instr += 1;
  |  | 1526|  4.75M|            INSTRUCTION_STATS(BUILD_LIST);
  |  |  ------------------
  |  |  |  |   71|  4.75M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1527|  4.75M|            _PyStackRef *values;
  |  | 1528|  4.75M|            _PyStackRef list;
  |  | 1529|  4.75M|            values = &stack_pointer[-oparg];
  |  | 1530|  4.75M|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1531|  4.75M|            PyObject *list_o = _PyList_FromStackRefStealOnSuccess(values, oparg);
  |  | 1532|  4.75M|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 1533|  4.75M|            if (list_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1533:17): [True: 0, False: 4.75M]
  |  |  ------------------
  |  | 1534|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1535|      0|            }
  |  | 1536|  4.75M|            list = PyStackRef_FromPyObjectStealMortal(list_o);
  |  | 1537|  4.75M|            stack_pointer[-oparg] = list;
  |  | 1538|  4.75M|            stack_pointer += 1 - oparg;
  |  | 1539|  4.75M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  4.75M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1540|  4.75M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  4.75M|    { \
  |  |  |  |  201|  4.75M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  4.75M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  4.75M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  4.75M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  4.75M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  4.75M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  4.75M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  4.75M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 4.75M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  4.75M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  4.75M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  4.75M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  4.75M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  4.75M|    }
  |  |  ------------------
  |  | 1541|  4.75M|        }
  |  | 1542|       |
  |  | 1543|  4.67M|        TARGET(BUILD_MAP) {
  |  |  ------------------
  |  |  |  |  132|  4.67M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1544|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1545|       |            int opcode = BUILD_MAP;
  |  | 1546|       |            (void)(opcode);
  |  | 1547|       |            #endif
  |  | 1548|  4.67M|            frame->instr_ptr = next_instr;
  |  | 1549|  4.67M|            next_instr += 1;
  |  | 1550|  4.67M|            INSTRUCTION_STATS(BUILD_MAP);
  |  |  ------------------
  |  |  |  |   71|  4.67M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1551|  4.67M|            _PyStackRef *values;
  |  | 1552|  4.67M|            _PyStackRef map;
  |  | 1553|  4.67M|            values = &stack_pointer[-oparg*2];
  |  | 1554|  4.67M|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1555|  4.67M|            PyObject *map_o = _Py_BuildMap_StackRefSteal(values, oparg);
  |  | 1556|  4.67M|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 1557|  4.67M|            if (map_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1557:17): [True: 0, False: 4.67M]
  |  |  ------------------
  |  | 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|  4.67M|            map = PyStackRef_FromPyObjectStealMortal(map_o);
  |  | 1563|  4.67M|            stack_pointer[-oparg*2] = map;
  |  | 1564|  4.67M|            stack_pointer += 1 - oparg*2;
  |  | 1565|  4.67M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  4.67M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1566|  4.67M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  4.67M|    { \
  |  |  |  |  201|  4.67M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  4.67M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  4.67M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  4.67M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  4.67M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  4.67M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  4.67M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  4.67M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 4.67M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  4.67M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  4.67M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  4.67M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  4.67M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  4.67M|    }
  |  |  ------------------
  |  | 1567|  4.67M|        }
  |  | 1568|       |
  |  | 1569|   249k|        TARGET(BUILD_SET) {
  |  |  ------------------
  |  |  |  |  132|   249k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1570|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1571|       |            int opcode = BUILD_SET;
  |  | 1572|       |            (void)(opcode);
  |  | 1573|       |            #endif
  |  | 1574|   249k|            frame->instr_ptr = next_instr;
  |  | 1575|   249k|            next_instr += 1;
  |  | 1576|   249k|            INSTRUCTION_STATS(BUILD_SET);
  |  |  ------------------
  |  |  |  |   71|   249k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1577|   249k|            _PyStackRef *values;
  |  | 1578|   249k|            _PyStackRef set;
  |  | 1579|   249k|            values = &stack_pointer[-oparg];
  |  | 1580|   249k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1581|   249k|            PyObject *set_o = PySet_New(NULL);
  |  | 1582|   249k|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 1583|   249k|            if (set_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1583:17): [True: 0, False: 249k]
  |  |  ------------------
  |  | 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|   249k|            int err = 0;
  |  | 1597|   394k|            for (Py_ssize_t i = 0; i < oparg; i++) {
  |  |  ------------------
  |  |  |  Branch (1597:36): [True: 145k, False: 249k]
  |  |  ------------------
  |  | 1598|   145k|                _PyStackRef value = values[i];
  |  | 1599|   145k|                values[i] = PyStackRef_NULL;
  |  | 1600|   145k|                if (err == 0) {
  |  |  ------------------
  |  |  |  Branch (1600:21): [True: 145k, False: 0]
  |  |  ------------------
  |  | 1601|   145k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1602|   145k|                    err = _PySet_AddTakeRef((PySetObject *)set_o, PyStackRef_AsPyObjectSteal(value));
  |  | 1603|   145k|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 1604|   145k|                }
  |  | 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|   145k|            }
  |  | 1611|   249k|            if (err) {
  |  |  ------------------
  |  |  |  Branch (1611:17): [True: 0, False: 249k]
  |  |  ------------------
  |  | 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|   249k|            set = PyStackRef_FromPyObjectStealMortal(set_o);
  |  | 1620|   249k|            stack_pointer[-oparg] = set;
  |  | 1621|   249k|            stack_pointer += 1 - oparg;
  |  | 1622|   249k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   249k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1623|   249k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   249k|    { \
  |  |  |  |  201|   249k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|   249k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|   249k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|   249k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|   249k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|   249k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|   249k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|   249k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 249k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   249k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   249k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   249k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   249k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   249k|    }
  |  |  ------------------
  |  | 1624|   249k|        }
  |  | 1625|       |
  |  | 1626|    572|        TARGET(BUILD_SLICE) {
  |  |  ------------------
  |  |  |  |  132|    572|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1627|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1628|       |            int opcode = BUILD_SLICE;
  |  | 1629|       |            (void)(opcode);
  |  | 1630|       |            #endif
  |  | 1631|    572|            frame->instr_ptr = next_instr;
  |  | 1632|    572|            next_instr += 1;
  |  | 1633|    572|            INSTRUCTION_STATS(BUILD_SLICE);
  |  |  ------------------
  |  |  |  |   71|    572|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1634|    572|            _PyStackRef *args;
  |  | 1635|    572|            _PyStackRef slice;
  |  | 1636|    572|            args = &stack_pointer[-oparg];
  |  | 1637|    572|            PyObject *start_o = PyStackRef_AsPyObjectBorrow(args[0]);
  |  | 1638|    572|            PyObject *stop_o = PyStackRef_AsPyObjectBorrow(args[1]);
  |  | 1639|    572|            PyObject *step_o = oparg == 3 ? PyStackRef_AsPyObjectBorrow(args[2]) : NULL;
  |  |  ------------------
  |  |  |  Branch (1639:32): [True: 564, False: 8]
  |  |  ------------------
  |  | 1640|    572|            PyObject *slice_o = PySlice_New(start_o, stop_o, step_o);
  |  | 1641|    572|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1642|    572|            _PyStackRef tmp;
  |  | 1643|  2.28k|            for (int _i = oparg; --_i >= 0;) {
  |  |  ------------------
  |  |  |  Branch (1643:34): [True: 1.70k, False: 572]
  |  |  ------------------
  |  | 1644|  1.70k|                tmp = args[_i];
  |  | 1645|  1.70k|                args[_i] = PyStackRef_NULL;
  |  | 1646|  1.70k|                PyStackRef_CLOSE(tmp);
  |  | 1647|  1.70k|            }
  |  | 1648|    572|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 1649|    572|            stack_pointer += -oparg;
  |  | 1650|    572|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    572|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1651|    572|            if (slice_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1651:17): [True: 0, False: 572]
  |  |  ------------------
  |  | 1652|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1653|      0|            }
  |  | 1654|    572|            slice = PyStackRef_FromPyObjectStealMortal(slice_o);
  |  | 1655|    572|            stack_pointer[0] = slice;
  |  | 1656|    572|            stack_pointer += 1;
  |  | 1657|    572|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    572|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1658|    572|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    572|    { \
  |  |  |  |  201|    572|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|    572|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|    572|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|    572|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|    572|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|    572|        opcode = word.op.code; \
  |  |  |  |  |  |  253|    572|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|    572|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 572]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    572|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    572|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    572|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    572|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    572|    }
  |  |  ------------------
  |  | 1659|    572|        }
  |  | 1660|       |
  |  | 1661|  2.14M|        TARGET(BUILD_STRING) {
  |  |  ------------------
  |  |  |  |  132|  2.14M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1662|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1663|       |            int opcode = BUILD_STRING;
  |  | 1664|       |            (void)(opcode);
  |  | 1665|       |            #endif
  |  | 1666|  2.14M|            frame->instr_ptr = next_instr;
  |  | 1667|  2.14M|            next_instr += 1;
  |  | 1668|  2.14M|            INSTRUCTION_STATS(BUILD_STRING);
  |  |  ------------------
  |  |  |  |   71|  2.14M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1669|  2.14M|            _PyStackRef *pieces;
  |  | 1670|  2.14M|            _PyStackRef str;
  |  | 1671|  2.14M|            pieces = &stack_pointer[-oparg];
  |  | 1672|  2.14M|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1673|  2.14M|            PyObject *str_o = _Py_BuildString_StackRefSteal(pieces, oparg);
  |  | 1674|  2.14M|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 1675|  2.14M|            if (str_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1675:17): [True: 0, False: 2.14M]
  |  |  ------------------
  |  | 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|  2.14M|            str = PyStackRef_FromPyObjectSteal(str_o);
  |  | 1681|  2.14M|            stack_pointer[-oparg] = str;
  |  | 1682|  2.14M|            stack_pointer += 1 - oparg;
  |  | 1683|  2.14M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.14M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1684|  2.14M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.14M|    { \
  |  |  |  |  201|  2.14M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  2.14M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  2.14M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  2.14M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  2.14M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  2.14M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  2.14M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  2.14M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 2.14M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.14M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.14M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.14M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.14M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.14M|    }
  |  |  ------------------
  |  | 1685|  2.14M|        }
  |  | 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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      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|  7.93M|        TARGET(BUILD_TUPLE) {
  |  |  ------------------
  |  |  |  |  132|  7.93M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1726|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1727|       |            int opcode = BUILD_TUPLE;
  |  | 1728|       |            (void)(opcode);
  |  | 1729|       |            #endif
  |  | 1730|  7.93M|            frame->instr_ptr = next_instr;
  |  | 1731|  7.93M|            next_instr += 1;
  |  | 1732|  7.93M|            INSTRUCTION_STATS(BUILD_TUPLE);
  |  |  ------------------
  |  |  |  |   71|  7.93M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1733|  7.93M|            _PyStackRef *values;
  |  | 1734|  7.93M|            _PyStackRef tup;
  |  | 1735|  7.93M|            values = &stack_pointer[-oparg];
  |  | 1736|  7.93M|            PyObject *tup_o = _PyTuple_FromStackRefStealOnSuccess(values, oparg);
  |  | 1737|  7.93M|            if (tup_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1737:17): [True: 0, False: 7.93M]
  |  |  ------------------
  |  | 1738|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1739|      0|            }
  |  | 1740|  7.93M|            tup = PyStackRef_FromPyObjectStealMortal(tup_o);
  |  | 1741|  7.93M|            stack_pointer[-oparg] = tup;
  |  | 1742|  7.93M|            stack_pointer += 1 - oparg;
  |  | 1743|  7.93M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  7.93M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1744|  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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  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|    }
  |  |  ------------------
  |  | 1745|  7.93M|        }
  |  | 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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      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|  53.1k|        TARGET(CALL) {
  |  |  ------------------
  |  |  |  |  132|  53.1k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 1761|       |            #if _Py_TAIL_CALL_INTERP
  |  | 1762|       |            int opcode = CALL;
  |  | 1763|       |            (void)(opcode);
  |  | 1764|       |            #endif
  |  | 1765|  53.1k|            frame->instr_ptr = next_instr;
  |  | 1766|  53.1k|            next_instr += 4;
  |  | 1767|  53.1k|            INSTRUCTION_STATS(CALL);
  |  |  ------------------
  |  |  |  |   71|  53.1k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1768|  8.24M|            PREDICTED_CALL:;
  |  | 1769|  8.24M|            _Py_CODEUNIT* const this_instr = next_instr - 4;
  |  | 1770|  8.24M|            (void)this_instr;
  |  | 1771|  8.24M|            opcode = CALL;
  |  |  ------------------
  |  |  |  |   63|  8.24M|#define CALL                                    50
  |  |  ------------------
  |  | 1772|  8.24M|            _PyStackRef callable;
  |  | 1773|  8.24M|            _PyStackRef self_or_null;
  |  | 1774|  8.24M|            _PyStackRef *args;
  |  | 1775|  8.24M|            _PyStackRef res;
  |  | 1776|       |            // _SPECIALIZE_CALL
  |  | 1777|  8.24M|            {
  |  | 1778|  8.24M|                self_or_null = stack_pointer[-1 - oparg];
  |  | 1779|  8.24M|                callable = stack_pointer[-2 - oparg];
  |  | 1780|  8.24M|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 1781|  8.24M|                (void)counter;
  |  | 1782|  8.24M|                #if ENABLE_SPECIALIZATION
  |  | 1783|  8.24M|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  354|  8.24M|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (354:5): [True: 160k, False: 8.08M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1784|   160k|                    next_instr = this_instr;
  |  | 1785|   160k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1786|   160k|                    _Py_Specialize_Call(callable, self_or_null, next_instr, oparg + !PyStackRef_IsNull(self_or_null));
  |  |  ------------------
  |  |  |  |  470|   160k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|   160k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|   160k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1787|   160k|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 1788|   160k|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|   160k|    { \
  |  |  |  |  217|   160k|        opcode = next_instr->op.code; \
  |  |  |  |  218|   160k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   160k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|   160k|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|   160k|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|   160k|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|   160k|    }
  |  |  ------------------
  |  | 1789|   160k|                }
  |  | 1790|  8.24M|                OPCODE_DEFERRED_INC(CALL);
  |  |  ------------------
  |  |  |  |   90|  8.24M|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 1791|  8.24M|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  357|  8.24M|    do { \
  |  |  |  |  358|  8.24M|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  359|  8.24M|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (359:14): [Folded, False: 8.24M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1792|  8.24M|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 1793|  8.24M|            }
  |  | 1794|       |            /* Skip 2 cache entries */
  |  | 1795|       |            // _MAYBE_EXPAND_METHOD
  |  | 1796|  8.24M|            {
  |  | 1797|  8.24M|                if (PyStackRef_TYPE(callable) == &PyMethod_Type && PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  470|  98.6k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|  98.6k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  98.6k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (470:32): [True: 98.6k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1797:21): [True: 98.6k, False: 8.14M]
  |  |  ------------------
  |  | 1798|  98.6k|                    PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 1799|  98.6k|                    PyObject *self = ((PyMethodObject *)callable_o)->im_self;
  |  | 1800|  98.6k|                    self_or_null = PyStackRef_FromPyObjectNew(self);
  |  |  ------------------
  |  |  |  |  599|  98.6k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  98.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  98.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1801|  98.6k|                    PyObject *method = ((PyMethodObject *)callable_o)->im_func;
  |  | 1802|  98.6k|                    _PyStackRef temp = callable;
  |  | 1803|  98.6k|                    callable = PyStackRef_FromPyObjectNew(method);
  |  |  ------------------
  |  |  |  |  599|  98.6k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  98.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  98.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1804|  98.6k|                    stack_pointer[-2 - oparg] = callable;
  |  | 1805|  98.6k|                    stack_pointer[-1 - oparg] = self_or_null;
  |  | 1806|  98.6k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1807|  98.6k|                    PyStackRef_CLOSE(temp);
  |  | 1808|  98.6k|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 1809|  98.6k|                }
  |  | 1810|  8.24M|            }
  |  | 1811|       |            // _DO_CALL
  |  | 1812|  8.24M|            {
  |  | 1813|  8.24M|                args = &stack_pointer[-oparg];
  |  | 1814|  8.24M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 1815|  8.24M|                int total_args = oparg;
  |  | 1816|  8.24M|                _PyStackRef *arguments = args;
  |  | 1817|  8.24M|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  470|  8.24M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|  8.24M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  8.24M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1817:21): [True: 475k, False: 7.76M]
  |  |  ------------------
  |  | 1818|   475k|                    arguments--;
  |  | 1819|   475k|                    total_args++;
  |  | 1820|   475k|                }
  |  | 1821|  8.24M|                if (Py_TYPE(callable_o) == &PyFunction_Type &&
  |  |  ------------------
  |  |  |  |  213|  8.24M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  8.24M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  8.24M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1821:21): [True: 439k, False: 7.80M]
  |  |  ------------------
  |  | 1822|   439k|                    !IS_PEP523_HOOKED(tstate) &&
  |  |  ------------------
  |  |  |  |  517|  8.68M|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  ------------------
  |  |  |  Branch (1822:21): [True: 439k, False: 0]
  |  |  ------------------
  |  | 1823|   439k|                    ((PyFunctionObject *)callable_o)->vectorcall == _PyFunction_Vectorcall)
  |  |  ------------------
  |  |  |  Branch (1823:21): [True: 439k, False: 0]
  |  |  ------------------
  |  | 1824|   439k|                {
  |  | 1825|   439k|                    int code_flags = ((PyCodeObject*)PyFunction_GET_CODE(callable_o))->co_flags;
  |  |  ------------------
  |  |  |  |   93|   439k|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   439k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   439k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1826|   439k|                    PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  118|   439k|#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: 439k, False: 0]
  |  |  ------------------
  |  | 1827|   439k|                    stack_pointer[-2 - oparg] = callable;
  |  | 1828|   439k|                    stack_pointer[-1 - oparg] = self_or_null;
  |  | 1829|   439k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1830|   439k|                    _PyInterpreterFrame *new_frame = _PyEvalFramePushAndInit(
  |  | 1831|   439k|                        tstate, callable, locals,
  |  | 1832|   439k|                        arguments, total_args, NULL, frame
  |  | 1833|   439k|                    );
  |  | 1834|   439k|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 1835|   439k|                    stack_pointer += -2 - oparg;
  |  | 1836|   439k|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   439k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1837|   439k|                    if (new_frame == NULL) {
  |  |  ------------------
  |  |  |  Branch (1837:25): [True: 0, False: 439k]
  |  |  ------------------
  |  | 1838|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1839|      0|                    }
  |  | 1840|   439k|                    frame->return_offset = 4u ;
  |  | 1841|   439k|                    DISPATCH_INLINED(new_frame);
  |  |  ------------------
  |  |  |  |  223|   439k|    do {                                                         \
  |  |  |  |  224|   439k|        assert(!IS_PEP523_HOOKED(tstate));                       \
  |  |  |  |  225|   439k|        _PyFrame_SetStackPointer(frame, stack_pointer);          \
  |  |  |  |  226|   439k|        assert((NEW_FRAME)->previous == frame);                  \
  |  |  |  |  227|   439k|        frame = tstate->current_frame = (NEW_FRAME);             \
  |  |  |  |  228|   439k|        CALL_STAT_INC(inlined_py_calls);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  |   76|   439k|#define CALL_STAT_INC(name) ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  229|   439k|        JUMP_TO_LABEL(start_frame);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|   439k|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  230|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (230:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1842|   439k|                }
  |  | 1843|  7.80M|                stack_pointer[-2 - oparg] = callable;
  |  | 1844|  7.80M|                stack_pointer[-1 - oparg] = self_or_null;
  |  | 1845|  7.80M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1846|  7.80M|                PyObject* res_o = _Py_VectorCallInstrumentation_StackRefSteal(
  |  | 1847|  7.80M|                    callable,
  |  | 1848|  7.80M|                    arguments,
  |  | 1849|  7.80M|                    total_args,
  |  | 1850|  7.80M|                    PyStackRef_NULL,
  |  | 1851|  7.80M|                    opcode == INSTRUMENTED_CALL,
  |  |  ------------------
  |  |  |  |  240|  7.80M|#define INSTRUMENTED_CALL                      249
  |  |  ------------------
  |  | 1852|  7.80M|                    frame,
  |  | 1853|  7.80M|                    this_instr,
  |  | 1854|  7.80M|                    tstate);
  |  | 1855|  7.80M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 1856|  7.80M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1856:21): [True: 105, False: 7.80M]
  |  |  ------------------
  |  | 1857|    105|                    stack_pointer += -2 - oparg;
  |  | 1858|    105|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    105|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1859|    105|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|    105|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1860|      0|                }
  |  | 1861|  7.80M|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 1862|  7.80M|            }
  |  | 1863|       |            // _CHECK_PERIODIC_AT_END
  |  | 1864|      0|            {
  |  | 1865|  7.80M|                stack_pointer[-2 - oparg] = res;
  |  | 1866|  7.80M|                stack_pointer += -1 - oparg;
  |  | 1867|  7.80M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  7.80M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1868|  7.80M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1869|  7.80M|                int err = check_periodics(tstate);
  |  | 1870|  7.80M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 1871|  7.80M|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (1871:21): [True: 0, False: 7.80M]
  |  |  ------------------
  |  | 1872|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1873|      0|                }
  |  | 1874|  7.80M|            }
  |  | 1875|  7.80M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  7.80M|    { \
  |  |  |  |  201|  7.80M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  7.80M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  7.80M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  7.80M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  7.80M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  7.80M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  7.80M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  7.80M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 7.80M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  7.80M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  7.80M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  7.80M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  7.80M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  7.80M|    }
  |  |  ------------------
  |  | 1876|  7.80M|        }
  |  | 1877|       |
  |  | 1878|  73.2k|        TARGET(CALL_ALLOC_AND_ENTER_INIT) {
  |  |  ------------------
  |  |  |  |  132|  73.2k|#  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|  73.2k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 1884|  73.2k|            (void)this_instr;
  |  | 1885|  73.2k|            frame->instr_ptr = next_instr;
  |  | 1886|  73.2k|            next_instr += 4;
  |  | 1887|  73.2k|            INSTRUCTION_STATS(CALL_ALLOC_AND_ENTER_INIT);
  |  |  ------------------
  |  |  |  |   71|  73.2k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 1888|  73.2k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 1889|  73.2k|            _PyStackRef callable;
  |  | 1890|  73.2k|            _PyStackRef self_or_null;
  |  | 1891|  73.2k|            _PyStackRef init;
  |  | 1892|  73.2k|            _PyStackRef self;
  |  | 1893|  73.2k|            _PyStackRef *args;
  |  | 1894|  73.2k|            _PyStackRef init_frame;
  |  | 1895|  73.2k|            _PyStackRef new_frame;
  |  | 1896|       |            /* Skip 1 cache entry */
  |  | 1897|       |            // _CHECK_PEP_523
  |  | 1898|  73.2k|            {
  |  | 1899|  73.2k|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  517|  73.2k|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (517:34): [True: 0, False: 73.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 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|  73.2k|            }
  |  | 1905|       |            // _CHECK_OBJECT
  |  | 1906|  73.2k|            {
  |  | 1907|  73.2k|                self_or_null = stack_pointer[-1 - oparg];
  |  | 1908|  73.2k|                callable = stack_pointer[-2 - oparg];
  |  | 1909|  73.2k|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 1910|  73.2k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 1911|  73.2k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  470|  73.2k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|  73.2k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  73.2k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1911:21): [True: 0, False: 73.2k]
  |  |  ------------------
  |  | 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|  73.2k|                if (!PyType_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |  766|  73.2k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  73.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  73.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1916:21): [True: 0, False: 73.2k]
  |  |  ------------------
  |  | 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|  73.2k|                PyTypeObject *tp = (PyTypeObject *)callable_o;
  |  | 1922|  73.2k|                if (FT_ATOMIC_LOAD_UINT32_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  158|  73.2k|#define FT_ATOMIC_LOAD_UINT32_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (1922:21): [True: 50, False: 73.2k]
  |  |  ------------------
  |  | 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|  73.2k|            }
  |  | 1928|       |            // _CHECK_RECURSION_REMAINING
  |  | 1929|  73.2k|            {
  |  | 1930|  73.2k|                if (tstate->py_recursion_remaining <= 1) {
  |  |  ------------------
  |  |  |  Branch (1930:21): [True: 0, False: 73.2k]
  |  |  ------------------
  |  | 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|  73.2k|            }
  |  | 1936|       |            // _ALLOCATE_OBJECT
  |  | 1937|  73.2k|            {
  |  | 1938|  73.2k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 1939|  73.2k|                assert(PyStackRef_IsNull(self_or_null));
  |  | 1940|  73.2k|                assert(PyType_Check(callable_o));
  |  | 1941|  73.2k|                PyTypeObject *tp = (PyTypeObject *)callable_o;
  |  | 1942|  73.2k|                assert(tp->tp_new == PyBaseObject_Type.tp_new);
  |  | 1943|  73.2k|                assert(tp->tp_flags & Py_TPFLAGS_HEAPTYPE);
  |  | 1944|  73.2k|                assert(tp->tp_alloc == PyType_GenericAlloc);
  |  | 1945|  73.2k|                PyHeapTypeObject *cls = (PyHeapTypeObject *)callable_o;
  |  | 1946|  73.2k|                PyFunctionObject *init_func = (PyFunctionObject *)FT_ATOMIC_LOAD_PTR_ACQUIRE(cls->_spec_cache.init);
  |  |  ------------------
  |  |  |  |  149|  73.2k|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  | 1947|  73.2k|                PyCodeObject *code = (PyCodeObject *)init_func->func_code;
  |  | 1948|  73.2k|                if (!_PyThreadState_HasStackSpace(tstate, code->co_framesize + _Py_InitCleanup.co_framesize)) {
  |  |  ------------------
  |  |  |  Branch (1948:21): [True: 22, False: 73.1k]
  |  |  ------------------
  |  | 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|  73.1k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  73.1k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 1954|  73.1k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1955|  73.1k|                PyObject *self_o = PyType_GenericAlloc(tp, 0);
  |  | 1956|  73.1k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 1957|  73.1k|                if (self_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (1957:21): [True: 0, False: 73.1k]
  |  |  ------------------
  |  | 1958|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 1959|      0|                }
  |  | 1960|  73.1k|                self_or_null = PyStackRef_FromPyObjectSteal(self_o);
  |  | 1961|  73.1k|                _PyStackRef temp = callable;
  |  | 1962|  73.1k|                callable = PyStackRef_FromPyObjectNew(init_func);
  |  |  ------------------
  |  |  |  |  599|  73.1k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  73.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  73.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1963|  73.1k|                stack_pointer[-2 - oparg] = callable;
  |  | 1964|  73.1k|                stack_pointer[-1 - oparg] = self_or_null;
  |  | 1965|  73.1k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1966|  73.1k|                PyStackRef_CLOSE(temp);
  |  | 1967|  73.1k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 1968|  73.1k|            }
  |  | 1969|       |            // _CREATE_INIT_FRAME
  |  | 1970|      0|            {
  |  | 1971|  73.1k|                args = &stack_pointer[-oparg];
  |  | 1972|  73.1k|                self = self_or_null;
  |  | 1973|  73.1k|                init = callable;
  |  | 1974|  73.1k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1975|  73.1k|                _PyInterpreterFrame *shim = _PyFrame_PushTrampolineUnchecked(
  |  | 1976|  73.1k|                    tstate, (PyCodeObject *)&_Py_InitCleanup, 1, frame);
  |  | 1977|  73.1k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 1978|  73.1k|                assert(_PyFrame_GetBytecode(shim)[0].op.code == EXIT_INIT_CHECK);
  |  | 1979|  73.1k|                assert(_PyFrame_GetBytecode(shim)[1].op.code == RETURN_VALUE);
  |  | 1980|  73.1k|                shim->localsplus[0] = PyStackRef_DUP(self);
  |  | 1981|  73.1k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 1982|  73.1k|                _PyInterpreterFrame *temp = _PyEvalFramePushAndInit(
  |  | 1983|  73.1k|                    tstate, init, NULL, args-1, oparg+1, NULL, shim);
  |  | 1984|  73.1k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 1985|  73.1k|                stack_pointer += -2 - oparg;
  |  | 1986|  73.1k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  73.1k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 1987|  73.1k|                if (temp == NULL) {
  |  |  ------------------
  |  |  |  Branch (1987:21): [True: 0, False: 73.1k]
  |  |  ------------------
  |  | 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|  73.1k|                frame->return_offset = 1 + INLINE_CACHE_ENTRIES_CALL;
  |  |  ------------------
  |  |  |  |  129|  73.1k|#define INLINE_CACHE_ENTRIES_CALL CACHE_ENTRIES(_PyCallCache)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  73.1k|#define CACHE_ENTRIES(cache) (sizeof(cache)/sizeof(_Py_CODEUNIT))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1994|  73.1k|                tstate->py_recursion_remaining--;
  |  | 1995|  73.1k|                init_frame = PyStackRef_Wrap(temp);
  |  | 1996|  73.1k|            }
  |  | 1997|       |            // _PUSH_FRAME
  |  | 1998|      0|            {
  |  | 1999|  73.1k|                new_frame = init_frame;
  |  | 2000|  73.1k|                assert(!IS_PEP523_HOOKED(tstate));
  |  | 2001|  73.1k|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 2002|  73.1k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2003|  73.1k|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  | 2004|  73.1k|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|  73.1k|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 2005|  73.1k|                frame = tstate->current_frame = temp;
  |  | 2006|  73.1k|                tstate->py_recursion_remaining--;
  |  | 2007|  73.1k|                LOAD_SP();
  |  |  ------------------
  |  |  |  |  425|  73.1k|#define LOAD_SP() \
  |  |  |  |  426|  73.1k|stack_pointer = _PyFrame_GetStackPointer(frame)
  |  |  ------------------
  |  | 2008|  73.1k|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  419|  73.1k|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  420|  73.1k|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  421|  73.1k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (421:14): [Folded, False: 73.1k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2009|  73.1k|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  345|  73.1k|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 2010|  73.1k|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  73.1k|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 2011|  73.1k|            }
  |  | 2012|  73.1k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  73.1k|    { \
  |  |  |  |  201|  73.1k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  73.1k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  73.1k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  73.1k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  73.1k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  73.1k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  73.1k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  73.1k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 73.1k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  73.1k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  73.1k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  73.1k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  73.1k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  73.1k|    }
  |  |  ------------------
  |  | 2013|  73.1k|        }
  |  | 2014|       |
  |  | 2015|   207k|        TARGET(CALL_BOUND_METHOD_EXACT_ARGS) {
  |  |  ------------------
  |  |  |  |  132|   207k|#  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|   207k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 2021|   207k|            (void)this_instr;
  |  | 2022|   207k|            frame->instr_ptr = next_instr;
  |  | 2023|   207k|            next_instr += 4;
  |  | 2024|   207k|            INSTRUCTION_STATS(CALL_BOUND_METHOD_EXACT_ARGS);
  |  |  ------------------
  |  |  |  |   71|   207k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 2025|   207k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 2026|   207k|            _PyStackRef callable;
  |  | 2027|   207k|            _PyStackRef null;
  |  | 2028|   207k|            _PyStackRef self_or_null;
  |  | 2029|   207k|            _PyStackRef *args;
  |  | 2030|   207k|            _PyStackRef new_frame;
  |  | 2031|       |            /* Skip 1 cache entry */
  |  | 2032|       |            // _CHECK_PEP_523
  |  | 2033|   207k|            {
  |  | 2034|   207k|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  517|   207k|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (517:34): [True: 0, False: 207k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 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|   207k|            }
  |  | 2040|       |            // _CHECK_CALL_BOUND_METHOD_EXACT_ARGS
  |  | 2041|   207k|            {
  |  | 2042|   207k|                null = stack_pointer[-1 - oparg];
  |  | 2043|   207k|                callable = stack_pointer[-2 - oparg];
  |  | 2044|   207k|                if (!PyStackRef_IsNull(null)) {
  |  |  ------------------
  |  |  |  |  470|   207k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|   207k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|   207k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2044:21): [True: 0, False: 207k]
  |  |  ------------------
  |  | 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|   207k|                if (Py_TYPE(PyStackRef_AsPyObjectBorrow(callable)) != &PyMethod_Type) {
  |  |  ------------------
  |  |  |  |  213|   207k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   207k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   207k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2049:21): [True: 0, False: 207k]
  |  |  ------------------
  |  | 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|   207k|            }
  |  | 2055|       |            // _INIT_CALL_BOUND_METHOD_EXACT_ARGS
  |  | 2056|   207k|            {
  |  | 2057|   207k|                self_or_null = null;
  |  | 2058|   207k|                assert(PyStackRef_IsNull(self_or_null));
  |  | 2059|   207k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2060|   207k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|   207k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 2061|   207k|                self_or_null = PyStackRef_FromPyObjectNew(((PyMethodObject *)callable_o)->im_self);
  |  |  ------------------
  |  |  |  |  599|   207k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   207k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   207k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2062|   207k|                _PyStackRef temp = callable;
  |  | 2063|   207k|                callable = PyStackRef_FromPyObjectNew(((PyMethodObject *)callable_o)->im_func);
  |  |  ------------------
  |  |  |  |  599|   207k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   207k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   207k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2064|   207k|                stack_pointer[-2 - oparg] = callable;
  |  | 2065|   207k|                stack_pointer[-1 - oparg] = self_or_null;
  |  | 2066|   207k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2067|   207k|                PyStackRef_CLOSE(temp);
  |  | 2068|   207k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2069|   207k|            }
  |  | 2070|       |            // flush
  |  | 2071|       |            // _CHECK_FUNCTION_VERSION
  |  | 2072|   207k|            {
  |  | 2073|   207k|                uint32_t func_version = read_u32(&this_instr[2].cache);
  |  | 2074|   207k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2075|   207k|                if (!PyFunction_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |   68|   207k|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|   207k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   207k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   207k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2075:21): [True: 0, False: 207k]
  |  |  ------------------
  |  | 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|   207k|                PyFunctionObject *func = (PyFunctionObject *)callable_o;
  |  | 2081|   207k|                if (func->func_version != func_version) {
  |  |  ------------------
  |  |  |  Branch (2081:21): [True: 100k, False: 106k]
  |  |  ------------------
  |  | 2082|   100k|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|   100k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2083|   100k|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 2084|   100k|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|   100k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2085|      0|                }
  |  | 2086|   207k|            }
  |  | 2087|       |            // _CHECK_FUNCTION_EXACT_ARGS
  |  | 2088|   106k|            {
  |  | 2089|   106k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2090|   106k|                assert(PyFunction_Check(callable_o));
  |  | 2091|   106k|                PyFunctionObject *func = (PyFunctionObject *)callable_o;
  |  | 2092|   106k|                PyCodeObject *code = (PyCodeObject *)func->func_code;
  |  | 2093|   106k|                if (code->co_argcount != oparg + (!PyStackRef_IsNull(self_or_null))) {
  |  |  ------------------
  |  |  |  |  470|   106k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|   106k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|   106k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2093:21): [True: 0, False: 106k]
  |  |  ------------------
  |  | 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|   106k|            }
  |  | 2099|       |            // _CHECK_STACK_SPACE
  |  | 2100|   106k|            {
  |  | 2101|   106k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2102|   106k|                PyFunctionObject *func = (PyFunctionObject *)callable_o;
  |  | 2103|   106k|                PyCodeObject *code = (PyCodeObject *)func->func_code;
  |  | 2104|   106k|                if (!_PyThreadState_HasStackSpace(tstate, code->co_framesize)) {
  |  |  ------------------
  |  |  |  Branch (2104:21): [True: 158, False: 106k]
  |  |  ------------------
  |  | 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|   106k|            }
  |  | 2110|       |            // _CHECK_RECURSION_REMAINING
  |  | 2111|   106k|            {
  |  | 2112|   106k|                if (tstate->py_recursion_remaining <= 1) {
  |  |  ------------------
  |  |  |  Branch (2112:21): [True: 0, False: 106k]
  |  |  ------------------
  |  | 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|   106k|            }
  |  | 2118|       |            // _INIT_CALL_PY_EXACT_ARGS
  |  | 2119|   106k|            {
  |  | 2120|   106k|                args = &stack_pointer[-oparg];
  |  | 2121|   106k|                int has_self = !PyStackRef_IsNull(self_or_null);
  |  |  ------------------
  |  |  |  |  470|   106k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|   106k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|   106k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2122|   106k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|   106k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 2123|   106k|                _PyInterpreterFrame *pushed_frame = _PyFrame_PushUnchecked(tstate, callable, oparg + has_self, frame);
  |  | 2124|   106k|                _PyStackRef *first_non_self_local = pushed_frame->localsplus + has_self;
  |  | 2125|   106k|                pushed_frame->localsplus[0] = self_or_null;
  |  | 2126|   224k|                for (int i = 0; i < oparg; i++) {
  |  |  ------------------
  |  |  |  Branch (2126:33): [True: 117k, False: 106k]
  |  |  ------------------
  |  | 2127|   117k|                    first_non_self_local[i] = args[i];
  |  | 2128|   117k|                }
  |  | 2129|   106k|                new_frame = PyStackRef_Wrap(pushed_frame);
  |  | 2130|   106k|            }
  |  | 2131|       |            // _SAVE_RETURN_OFFSET
  |  | 2132|   106k|            {
  |  | 2133|   106k|                #if TIER_ONE
  |  | 2134|   106k|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 2135|   106k|                #endif
  |  | 2136|       |                #if TIER_TWO
  |  | 2137|       |                frame->return_offset = oparg;
  |  | 2138|       |                #endif
  |  | 2139|   106k|            }
  |  | 2140|       |            // _PUSH_FRAME
  |  | 2141|   106k|            {
  |  | 2142|   106k|                assert(!IS_PEP523_HOOKED(tstate));
  |  | 2143|   106k|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 2144|   106k|                stack_pointer += -2 - oparg;
  |  | 2145|   106k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   106k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2146|   106k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2147|   106k|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  | 2148|   106k|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|   106k|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 2149|   106k|                frame = tstate->current_frame = temp;
  |  | 2150|   106k|                tstate->py_recursion_remaining--;
  |  | 2151|   106k|                LOAD_SP();
  |  |  ------------------
  |  |  |  |  425|   106k|#define LOAD_SP() \
  |  |  |  |  426|   106k|stack_pointer = _PyFrame_GetStackPointer(frame)
  |  |  ------------------
  |  | 2152|   106k|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  419|   106k|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  420|   106k|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  421|   106k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (421:14): [Folded, False: 106k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2153|   106k|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  345|   106k|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 2154|   106k|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|   106k|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 2155|   106k|            }
  |  | 2156|   106k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   106k|    { \
  |  |  |  |  201|   106k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|   106k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|   106k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|   106k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|   106k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|   106k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|   106k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|   106k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 106k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   106k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   106k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   106k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   106k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   106k|    }
  |  |  ------------------
  |  | 2157|   106k|        }
  |  | 2158|       |
  |  | 2159|  88.8k|        TARGET(CALL_BOUND_METHOD_GENERAL) {
  |  |  ------------------
  |  |  |  |  132|  88.8k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 2160|       |            #if _Py_TAIL_CALL_INTERP
  |  | 2161|       |            int opcode = CALL_BOUND_METHOD_GENERAL;
  |  | 2162|       |            (void)(opcode);
  |  | 2163|       |            #endif
  |  | 2164|  88.8k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 2165|  88.8k|            (void)this_instr;
  |  | 2166|  88.8k|            frame->instr_ptr = next_instr;
  |  | 2167|  88.8k|            next_instr += 4;
  |  | 2168|  88.8k|            INSTRUCTION_STATS(CALL_BOUND_METHOD_GENERAL);
  |  |  ------------------
  |  |  |  |   71|  88.8k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 2169|  88.8k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 2170|  88.8k|            _PyStackRef callable;
  |  | 2171|  88.8k|            _PyStackRef null;
  |  | 2172|  88.8k|            _PyStackRef self_or_null;
  |  | 2173|  88.8k|            _PyStackRef *args;
  |  | 2174|  88.8k|            _PyStackRef new_frame;
  |  | 2175|       |            /* Skip 1 cache entry */
  |  | 2176|       |            // _CHECK_PEP_523
  |  | 2177|  88.8k|            {
  |  | 2178|  88.8k|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  517|  88.8k|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (517:34): [True: 0, False: 88.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 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|  88.8k|            }
  |  | 2184|       |            // _CHECK_METHOD_VERSION
  |  | 2185|  88.8k|            {
  |  | 2186|  88.8k|                null = stack_pointer[-1 - oparg];
  |  | 2187|  88.8k|                callable = stack_pointer[-2 - oparg];
  |  | 2188|  88.8k|                uint32_t func_version = read_u32(&this_instr[2].cache);
  |  | 2189|  88.8k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2190|  88.8k|                if (Py_TYPE(callable_o) != &PyMethod_Type) {
  |  |  ------------------
  |  |  |  |  213|  88.8k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  88.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  88.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2190:21): [True: 0, False: 88.8k]
  |  |  ------------------
  |  | 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|  88.8k|                PyObject *func = ((PyMethodObject *)callable_o)->im_func;
  |  | 2196|  88.8k|                if (!PyFunction_Check(func)) {
  |  |  ------------------
  |  |  |  |   68|  88.8k|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  88.8k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  88.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  88.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2196:21): [True: 0, False: 88.8k]
  |  |  ------------------
  |  | 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|  88.8k|                if (((PyFunctionObject *)func)->func_version != func_version) {
  |  |  ------------------
  |  |  |  Branch (2201:21): [True: 0, False: 88.8k]
  |  |  ------------------
  |  | 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|  88.8k|                if (!PyStackRef_IsNull(null)) {
  |  |  ------------------
  |  |  |  |  470|  88.8k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|  88.8k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  88.8k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2206:21): [True: 0, False: 88.8k]
  |  |  ------------------
  |  | 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|  88.8k|            }
  |  | 2212|       |            // _EXPAND_METHOD
  |  | 2213|  88.8k|            {
  |  | 2214|  88.8k|                self_or_null = null;
  |  | 2215|  88.8k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2216|  88.8k|                assert(PyStackRef_IsNull(self_or_null));
  |  | 2217|  88.8k|                assert(Py_TYPE(callable_o) == &PyMethod_Type);
  |  | 2218|  88.8k|                self_or_null = PyStackRef_FromPyObjectNew(((PyMethodObject *)callable_o)->im_self);
  |  |  ------------------
  |  |  |  |  599|  88.8k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  88.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  88.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2219|  88.8k|                _PyStackRef temp = callable;
  |  | 2220|  88.8k|                callable = PyStackRef_FromPyObjectNew(((PyMethodObject *)callable_o)->im_func);
  |  |  ------------------
  |  |  |  |  599|  88.8k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  88.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  88.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2221|  88.8k|                assert(PyStackRef_FunctionCheck(callable));
  |  | 2222|  88.8k|                stack_pointer[-2 - oparg] = callable;
  |  | 2223|  88.8k|                stack_pointer[-1 - oparg] = self_or_null;
  |  | 2224|  88.8k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2225|  88.8k|                PyStackRef_CLOSE(temp);
  |  | 2226|  88.8k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2227|  88.8k|            }
  |  | 2228|       |            // flush
  |  | 2229|       |            // _CHECK_RECURSION_REMAINING
  |  | 2230|  88.8k|            {
  |  | 2231|  88.8k|                if (tstate->py_recursion_remaining <= 1) {
  |  |  ------------------
  |  |  |  Branch (2231:21): [True: 0, False: 88.8k]
  |  |  ------------------
  |  | 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|  88.8k|            }
  |  | 2237|       |            // _PY_FRAME_GENERAL
  |  | 2238|  88.8k|            {
  |  | 2239|  88.8k|                args = &stack_pointer[-oparg];
  |  | 2240|  88.8k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2241|  88.8k|                int total_args = oparg;
  |  | 2242|  88.8k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  470|  88.8k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|  88.8k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  88.8k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2242:21): [True: 88.8k, False: 0]
  |  |  ------------------
  |  | 2243|  88.8k|                    args--;
  |  | 2244|  88.8k|                    total_args++;
  |  | 2245|  88.8k|                }
  |  | 2246|  88.8k|                assert(Py_TYPE(callable_o) == &PyFunction_Type);
  |  | 2247|  88.8k|                int code_flags = ((PyCodeObject*)PyFunction_GET_CODE(callable_o))->co_flags;
  |  |  ------------------
  |  |  |  |   93|  88.8k|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  88.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  88.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2248|  88.8k|                PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  118|  88.8k|#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: 88.8k, False: 0]
  |  |  ------------------
  |  | 2249|  88.8k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2250|  88.8k|                _PyInterpreterFrame *temp = _PyEvalFramePushAndInit(
  |  | 2251|  88.8k|                    tstate, callable, locals,
  |  | 2252|  88.8k|                    args, total_args, NULL, frame
  |  | 2253|  88.8k|                );
  |  | 2254|  88.8k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2255|  88.8k|                stack_pointer += -2 - oparg;
  |  | 2256|  88.8k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  88.8k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2257|  88.8k|                if (temp == NULL) {
  |  |  ------------------
  |  |  |  Branch (2257:21): [True: 0, False: 88.8k]
  |  |  ------------------
  |  | 2258|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2259|      0|                }
  |  | 2260|  88.8k|                new_frame = PyStackRef_Wrap(temp);
  |  | 2261|  88.8k|            }
  |  | 2262|       |            // _SAVE_RETURN_OFFSET
  |  | 2263|      0|            {
  |  | 2264|  88.8k|                #if TIER_ONE
  |  | 2265|  88.8k|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 2266|  88.8k|                #endif
  |  | 2267|       |                #if TIER_TWO
  |  | 2268|       |                frame->return_offset = oparg;
  |  | 2269|       |                #endif
  |  | 2270|  88.8k|            }
  |  | 2271|       |            // _PUSH_FRAME
  |  | 2272|  88.8k|            {
  |  | 2273|  88.8k|                assert(!IS_PEP523_HOOKED(tstate));
  |  | 2274|  88.8k|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 2275|  88.8k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2276|  88.8k|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  | 2277|  88.8k|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|  88.8k|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 2278|  88.8k|                frame = tstate->current_frame = temp;
  |  | 2279|  88.8k|                tstate->py_recursion_remaining--;
  |  | 2280|  88.8k|                LOAD_SP();
  |  |  ------------------
  |  |  |  |  425|  88.8k|#define LOAD_SP() \
  |  |  |  |  426|  88.8k|stack_pointer = _PyFrame_GetStackPointer(frame)
  |  |  ------------------
  |  | 2281|  88.8k|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  419|  88.8k|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  420|  88.8k|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  421|  88.8k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (421:14): [Folded, False: 88.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2282|  88.8k|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  345|  88.8k|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 2283|  88.8k|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  88.8k|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 2284|  88.8k|            }
  |  | 2285|  88.8k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  88.8k|    { \
  |  |  |  |  201|  88.8k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  88.8k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  88.8k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  88.8k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  88.8k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  88.8k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  88.8k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  88.8k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 88.8k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  88.8k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  88.8k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  88.8k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  88.8k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  88.8k|    }
  |  |  ------------------
  |  | 2286|  88.8k|        }
  |  | 2287|       |
  |  | 2288|   474k|        TARGET(CALL_BUILTIN_CLASS) {
  |  |  ------------------
  |  |  |  |  132|   474k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 2289|       |            #if _Py_TAIL_CALL_INTERP
  |  | 2290|       |            int opcode = CALL_BUILTIN_CLASS;
  |  | 2291|       |            (void)(opcode);
  |  | 2292|       |            #endif
  |  | 2293|   474k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 2294|   474k|            (void)this_instr;
  |  | 2295|   474k|            frame->instr_ptr = next_instr;
  |  | 2296|   474k|            next_instr += 4;
  |  | 2297|   474k|            INSTRUCTION_STATS(CALL_BUILTIN_CLASS);
  |  |  ------------------
  |  |  |  |   71|   474k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 2298|   474k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 2299|   474k|            _PyStackRef callable;
  |  | 2300|   474k|            _PyStackRef self_or_null;
  |  | 2301|   474k|            _PyStackRef *args;
  |  | 2302|   474k|            _PyStackRef value;
  |  | 2303|       |            /* Skip 1 cache entry */
  |  | 2304|       |            /* Skip 2 cache entries */
  |  | 2305|       |            // _GUARD_CALLABLE_BUILTIN_CLASS
  |  | 2306|   474k|            {
  |  | 2307|   474k|                callable = stack_pointer[-2 - oparg];
  |  | 2308|   474k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2309|   474k|                if (!PyType_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |  766|   474k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   474k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   474k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2309:21): [True: 0, False: 474k]
  |  |  ------------------
  |  | 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|   474k|                PyTypeObject *tp = (PyTypeObject *)callable_o;
  |  | 2315|   474k|                if (tp->tp_vectorcall == NULL) {
  |  |  ------------------
  |  |  |  Branch (2315:21): [True: 0, False: 474k]
  |  |  ------------------
  |  | 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|   474k|            }
  |  | 2321|       |            // _CALL_BUILTIN_CLASS
  |  | 2322|   474k|            {
  |  | 2323|   474k|                args = &stack_pointer[-oparg];
  |  | 2324|   474k|                self_or_null = stack_pointer[-1 - oparg];
  |  | 2325|   474k|                int total_args = oparg;
  |  | 2326|   474k|                _PyStackRef *arguments = args;
  |  | 2327|   474k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  470|   474k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|   474k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|   474k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2327:21): [True: 0, False: 474k]
  |  |  ------------------
  |  | 2328|      0|                    arguments--;
  |  | 2329|      0|                    total_args++;
  |  | 2330|      0|                }
  |  | 2331|   474k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|   474k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 2332|   474k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2333|   474k|                PyObject *res_o = _Py_CallBuiltinClass_StackRef(
  |  | 2334|   474k|                    callable,
  |  | 2335|   474k|                    arguments,
  |  | 2336|   474k|                    total_args);
  |  | 2337|   474k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2338|   474k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (2338:21): [True: 0, False: 474k]
  |  |  ------------------
  |  | 2339|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2340|      0|                }
  |  | 2341|   474k|                _PyStackRef temp = callable;
  |  | 2342|   474k|                callable = PyStackRef_FromPyObjectSteal(res_o);
  |  | 2343|   474k|                stack_pointer[-2 - oparg] = callable;
  |  | 2344|   474k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2345|   474k|                PyStackRef_CLOSE(temp);
  |  | 2346|   474k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2347|   474k|            }
  |  | 2348|       |            // _POP_TOP_OPARG
  |  | 2349|      0|            {
  |  | 2350|   474k|                args = &stack_pointer[-oparg];
  |  | 2351|   474k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2352|   474k|                _PyStackRef_CloseStack(args, oparg);
  |  | 2353|   474k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2354|   474k|            }
  |  | 2355|       |            // _POP_TOP
  |  | 2356|   474k|            {
  |  | 2357|   474k|                value = self_or_null;
  |  | 2358|   474k|                stack_pointer += -1 - oparg;
  |  | 2359|   474k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   474k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2360|   474k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2361|   474k|                PyStackRef_XCLOSE(value);
  |  | 2362|   474k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2363|   474k|            }
  |  | 2364|       |            // _CHECK_PERIODIC_AT_END
  |  | 2365|   474k|            {
  |  | 2366|   474k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2367|   474k|                int err = check_periodics(tstate);
  |  | 2368|   474k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2369|   474k|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (2369:21): [True: 0, False: 474k]
  |  |  ------------------
  |  | 2370|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2371|      0|                }
  |  | 2372|   474k|            }
  |  | 2373|   474k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   474k|    { \
  |  |  |  |  201|   474k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|   474k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|   474k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|   474k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|   474k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|   474k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|   474k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|   474k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 474k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   474k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   474k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   474k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   474k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   474k|    }
  |  |  ------------------
  |  | 2374|   474k|        }
  |  | 2375|       |
  |  | 2376|  6.25M|        TARGET(CALL_BUILTIN_FAST) {
  |  |  ------------------
  |  |  |  |  132|  6.25M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 2377|       |            #if _Py_TAIL_CALL_INTERP
  |  | 2378|       |            int opcode = CALL_BUILTIN_FAST;
  |  | 2379|       |            (void)(opcode);
  |  | 2380|       |            #endif
  |  | 2381|  6.25M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 2382|  6.25M|            (void)this_instr;
  |  | 2383|  6.25M|            frame->instr_ptr = next_instr;
  |  | 2384|  6.25M|            next_instr += 4;
  |  | 2385|  6.25M|            INSTRUCTION_STATS(CALL_BUILTIN_FAST);
  |  |  ------------------
  |  |  |  |   71|  6.25M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 2386|  6.25M|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 2387|  6.25M|            _PyStackRef callable;
  |  | 2388|  6.25M|            _PyStackRef self_or_null;
  |  | 2389|  6.25M|            _PyStackRef *args;
  |  | 2390|  6.25M|            _PyStackRef value;
  |  | 2391|       |            /* Skip 1 cache entry */
  |  | 2392|       |            /* Skip 2 cache entries */
  |  | 2393|       |            // _GUARD_CALLABLE_BUILTIN_FAST
  |  | 2394|  6.25M|            {
  |  | 2395|  6.25M|                callable = stack_pointer[-2 - oparg];
  |  | 2396|  6.25M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2397|  6.25M|                if (!PyCFunction_CheckExact(callable_o)) {
  |  |  ------------------
  |  |  |  |   16|  6.25M|#define PyCFunction_CheckExact(op) Py_IS_TYPE((op), &PyCFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  6.25M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  6.25M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  6.25M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2397:21): [True: 0, False: 6.25M]
  |  |  ------------------
  |  | 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|  6.25M|                if (PyCFunction_GET_FLAGS(callable_o) != METH_FASTCALL) {
  |  |  ------------------
  |  |  |  |   57|  6.25M|#define PyCFunction_GET_FLAGS(func) PyCFunction_GET_FLAGS(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.25M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.25M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               if (PyCFunction_GET_FLAGS(callable_o) != METH_FASTCALL) {
  |  |  ------------------
  |  |  |  |  115|  6.25M|#  define METH_FASTCALL  0x0080
  |  |  ------------------
  |  |  |  Branch (2402:21): [True: 238, False: 6.25M]
  |  |  ------------------
  |  | 2403|    238|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|    238|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2404|    238|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 2405|    238|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|    238|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2406|      0|                }
  |  | 2407|  6.25M|            }
  |  | 2408|       |            // _CALL_BUILTIN_FAST
  |  | 2409|  6.25M|            {
  |  | 2410|  6.25M|                args = &stack_pointer[-oparg];
  |  | 2411|  6.25M|                self_or_null = stack_pointer[-1 - oparg];
  |  | 2412|  6.25M|                int total_args = oparg;
  |  | 2413|  6.25M|                _PyStackRef *arguments = args;
  |  | 2414|  6.25M|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  470|  6.25M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|  6.25M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  6.25M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2414:21): [True: 0, False: 6.25M]
  |  |  ------------------
  |  | 2415|      0|                    arguments--;
  |  | 2416|      0|                    total_args++;
  |  | 2417|      0|                }
  |  | 2418|  6.25M|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  6.25M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 2419|  6.25M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2420|  6.25M|                PyObject *res_o = _Py_BuiltinCallFast_StackRef(
  |  | 2421|  6.25M|                    callable,
  |  | 2422|  6.25M|                    arguments,
  |  | 2423|  6.25M|                    total_args
  |  | 2424|  6.25M|                );
  |  | 2425|  6.25M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2426|  6.25M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (2426:21): [True: 974k, False: 5.27M]
  |  |  ------------------
  |  | 2427|   974k|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|   974k|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2428|      0|                }
  |  | 2429|  5.27M|                _PyStackRef temp = callable;
  |  | 2430|  5.27M|                callable = PyStackRef_FromPyObjectSteal(res_o);
  |  | 2431|  5.27M|                stack_pointer[-2 - oparg] = callable;
  |  | 2432|  5.27M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2433|  5.27M|                PyStackRef_CLOSE(temp);
  |  | 2434|  5.27M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2435|  5.27M|            }
  |  | 2436|       |            // _POP_TOP_OPARG
  |  | 2437|      0|            {
  |  | 2438|  5.27M|                args = &stack_pointer[-oparg];
  |  | 2439|  5.27M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2440|  5.27M|                _PyStackRef_CloseStack(args, oparg);
  |  | 2441|  5.27M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2442|  5.27M|            }
  |  | 2443|       |            // _POP_TOP
  |  | 2444|  5.27M|            {
  |  | 2445|  5.27M|                value = self_or_null;
  |  | 2446|  5.27M|                stack_pointer += -1 - oparg;
  |  | 2447|  5.27M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  5.27M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2448|  5.27M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2449|  5.27M|                PyStackRef_XCLOSE(value);
  |  | 2450|  5.27M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2451|  5.27M|            }
  |  | 2452|       |            // _CHECK_PERIODIC_AT_END
  |  | 2453|  5.27M|            {
  |  | 2454|  5.27M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2455|  5.27M|                int err = check_periodics(tstate);
  |  | 2456|  5.27M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2457|  5.27M|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (2457:21): [True: 0, False: 5.27M]
  |  |  ------------------
  |  | 2458|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2459|      0|                }
  |  | 2460|  5.27M|            }
  |  | 2461|  5.27M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  5.27M|    { \
  |  |  |  |  201|  5.27M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  5.27M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  5.27M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  5.27M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  5.27M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  5.27M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  5.27M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  5.27M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 5.27M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  5.27M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  5.27M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  5.27M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  5.27M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  5.27M|    }
  |  |  ------------------
  |  | 2462|  5.27M|        }
  |  | 2463|       |
  |  | 2464|  14.2M|        TARGET(CALL_BUILTIN_FAST_WITH_KEYWORDS) {
  |  |  ------------------
  |  |  |  |  132|  14.2M|#  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|  14.2M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 2470|  14.2M|            (void)this_instr;
  |  | 2471|  14.2M|            frame->instr_ptr = next_instr;
  |  | 2472|  14.2M|            next_instr += 4;
  |  | 2473|  14.2M|            INSTRUCTION_STATS(CALL_BUILTIN_FAST_WITH_KEYWORDS);
  |  |  ------------------
  |  |  |  |   71|  14.2M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 2474|  14.2M|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 2475|  14.2M|            _PyStackRef callable;
  |  | 2476|  14.2M|            _PyStackRef self_or_null;
  |  | 2477|  14.2M|            _PyStackRef *args;
  |  | 2478|  14.2M|            _PyStackRef value;
  |  | 2479|       |            /* Skip 1 cache entry */
  |  | 2480|       |            /* Skip 2 cache entries */
  |  | 2481|       |            // _GUARD_CALLABLE_BUILTIN_FAST_WITH_KEYWORDS
  |  | 2482|  14.2M|            {
  |  | 2483|  14.2M|                callable = stack_pointer[-2 - oparg];
  |  | 2484|  14.2M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2485|  14.2M|                if (!PyCFunction_CheckExact(callable_o)) {
  |  |  ------------------
  |  |  |  |   16|  14.2M|#define PyCFunction_CheckExact(op) Py_IS_TYPE((op), &PyCFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  14.2M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  14.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  14.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2485:21): [True: 6, False: 14.2M]
  |  |  ------------------
  |  | 2486|      6|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|      6|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2487|      6|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 2488|      6|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|      6|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2489|      0|                }
  |  | 2490|  14.2M|                if (PyCFunction_GET_FLAGS(callable_o) != (METH_FASTCALL | METH_KEYWORDS)) {
  |  |  ------------------
  |  |  |  |   57|  14.2M|#define PyCFunction_GET_FLAGS(func) PyCFunction_GET_FLAGS(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  14.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  14.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               if (PyCFunction_GET_FLAGS(callable_o) != (METH_FASTCALL | METH_KEYWORDS)) {
  |  |  ------------------
  |  |  |  |  115|  14.2M|#  define METH_FASTCALL  0x0080
  |  |  ------------------
  |  |                               if (PyCFunction_GET_FLAGS(callable_o) != (METH_FASTCALL | METH_KEYWORDS)) {
  |  |  ------------------
  |  |  |  |   96|  14.2M|#define METH_KEYWORDS 0x0002
  |  |  ------------------
  |  |  |  Branch (2490:21): [True: 7.69M, False: 6.54M]
  |  |  ------------------
  |  | 2491|  7.69M|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|  7.69M|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2492|  7.69M|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 2493|  7.69M|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|  7.69M|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2494|      0|                }
  |  | 2495|  14.2M|            }
  |  | 2496|       |            // _CALL_BUILTIN_FAST_WITH_KEYWORDS
  |  | 2497|  6.54M|            {
  |  | 2498|  6.54M|                args = &stack_pointer[-oparg];
  |  | 2499|  6.54M|                self_or_null = stack_pointer[-1 - oparg];
  |  | 2500|  6.54M|                int total_args = oparg;
  |  | 2501|  6.54M|                _PyStackRef *arguments = args;
  |  | 2502|  6.54M|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  470|  6.54M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|  6.54M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  6.54M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2502:21): [True: 0, False: 6.54M]
  |  |  ------------------
  |  | 2503|      0|                    arguments--;
  |  | 2504|      0|                    total_args++;
  |  | 2505|      0|                }
  |  | 2506|  6.54M|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  6.54M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 2507|  6.54M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2508|  6.54M|                PyObject *res_o = _Py_BuiltinCallFastWithKeywords_StackRef(callable, arguments, total_args);
  |  | 2509|  6.54M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2510|  6.54M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (2510:21): [True: 14.0k, False: 6.52M]
  |  |  ------------------
  |  | 2511|  14.0k|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|  14.0k|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2512|      0|                }
  |  | 2513|  6.52M|                _PyStackRef temp = callable;
  |  | 2514|  6.52M|                callable = PyStackRef_FromPyObjectSteal(res_o);
  |  | 2515|  6.52M|                stack_pointer[-2 - oparg] = callable;
  |  | 2516|  6.52M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2517|  6.52M|                PyStackRef_CLOSE(temp);
  |  | 2518|  6.52M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2519|  6.52M|            }
  |  | 2520|       |            // _POP_TOP_OPARG
  |  | 2521|      0|            {
  |  | 2522|  6.52M|                args = &stack_pointer[-oparg];
  |  | 2523|  6.52M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2524|  6.52M|                _PyStackRef_CloseStack(args, oparg);
  |  | 2525|  6.52M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2526|  6.52M|            }
  |  | 2527|       |            // _POP_TOP
  |  | 2528|  6.52M|            {
  |  | 2529|  6.52M|                value = self_or_null;
  |  | 2530|  6.52M|                stack_pointer += -1 - oparg;
  |  | 2531|  6.52M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  6.52M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2532|  6.52M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2533|  6.52M|                PyStackRef_XCLOSE(value);
  |  | 2534|  6.52M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2535|  6.52M|            }
  |  | 2536|       |            // _CHECK_PERIODIC_AT_END
  |  | 2537|  6.52M|            {
  |  | 2538|  6.52M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2539|  6.52M|                int err = check_periodics(tstate);
  |  | 2540|  6.52M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2541|  6.52M|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (2541:21): [True: 0, False: 6.52M]
  |  |  ------------------
  |  | 2542|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2543|      0|                }
  |  | 2544|  6.52M|            }
  |  | 2545|  6.52M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  6.52M|    { \
  |  |  |  |  201|  6.52M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  6.52M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  6.52M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  6.52M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  6.52M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  6.52M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  6.52M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  6.52M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 6.52M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  6.52M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  6.52M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  6.52M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  6.52M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  6.52M|    }
  |  |  ------------------
  |  | 2546|  6.52M|        }
  |  | 2547|       |
  |  | 2548|  6.52M|        TARGET(CALL_BUILTIN_O) {
  |  |  ------------------
  |  |  |  |  132|  6.52M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 2549|       |            #if _Py_TAIL_CALL_INTERP
  |  | 2550|       |            int opcode = CALL_BUILTIN_O;
  |  | 2551|       |            (void)(opcode);
  |  | 2552|       |            #endif
  |  | 2553|  6.52M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 2554|  6.52M|            (void)this_instr;
  |  | 2555|  6.52M|            frame->instr_ptr = next_instr;
  |  | 2556|  6.52M|            next_instr += 4;
  |  | 2557|  6.52M|            INSTRUCTION_STATS(CALL_BUILTIN_O);
  |  |  ------------------
  |  |  |  |   71|  6.52M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 2558|  6.52M|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 2559|  6.52M|            _PyStackRef callable;
  |  | 2560|  6.52M|            _PyStackRef self_or_null;
  |  | 2561|  6.52M|            _PyStackRef *args;
  |  | 2562|  6.52M|            _PyStackRef res;
  |  | 2563|  6.52M|            _PyStackRef c;
  |  | 2564|  6.52M|            _PyStackRef s;
  |  | 2565|  6.52M|            _PyStackRef value;
  |  | 2566|       |            /* Skip 1 cache entry */
  |  | 2567|       |            /* Skip 2 cache entries */
  |  | 2568|       |            // _GUARD_CALLABLE_BUILTIN_O
  |  | 2569|  6.52M|            {
  |  | 2570|  6.52M|                self_or_null = stack_pointer[-1 - oparg];
  |  | 2571|  6.52M|                callable = stack_pointer[-2 - oparg];
  |  | 2572|  6.52M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2573|  6.52M|                if (!PyCFunction_CheckExact(callable_o)) {
  |  |  ------------------
  |  |  |  |   16|  6.52M|#define PyCFunction_CheckExact(op) Py_IS_TYPE((op), &PyCFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  6.52M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  6.52M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  6.52M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2573:21): [True: 0, False: 6.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|  6.52M|                if (PyCFunction_GET_FLAGS(callable_o) != METH_O) {
  |  |  ------------------
  |  |  |  |   57|  6.52M|#define PyCFunction_GET_FLAGS(func) PyCFunction_GET_FLAGS(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.52M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.52M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               if (PyCFunction_GET_FLAGS(callable_o) != METH_O) {
  |  |  ------------------
  |  |  |  |   99|  6.52M|#define METH_O        0x0008
  |  |  ------------------
  |  |  |  Branch (2578:21): [True: 19.7k, False: 6.50M]
  |  |  ------------------
  |  | 2579|  19.7k|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|  19.7k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2580|  19.7k|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 2581|  19.7k|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|  19.7k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2582|      0|                }
  |  | 2583|  6.50M|                int total_args = oparg;
  |  | 2584|  6.50M|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  470|  6.50M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|  6.50M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  6.50M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2584:21): [True: 0, False: 6.50M]
  |  |  ------------------
  |  | 2585|      0|                    total_args++;
  |  | 2586|      0|                }
  |  | 2587|  6.50M|                if (total_args != 1) {
  |  |  ------------------
  |  |  |  Branch (2587:21): [True: 0, False: 6.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|  6.50M|            }
  |  | 2593|       |            // _CHECK_RECURSION_LIMIT
  |  | 2594|  6.50M|            {
  |  | 2595|  6.50M|                if (_Py_ReachedRecursionLimit(tstate)) {
  |  |  ------------------
  |  |  |  Branch (2595:21): [True: 0, False: 6.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|  6.50M|            }
  |  | 2601|       |            // _CALL_BUILTIN_O
  |  | 2602|  6.50M|            {
  |  | 2603|  6.50M|                args = &stack_pointer[-oparg];
  |  | 2604|  6.50M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 2605|  6.50M|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  470|  6.50M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|  6.50M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  6.50M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2605:21): [True: 0, False: 6.50M]
  |  |  ------------------
  |  | 2606|      0|                    args--;
  |  | 2607|      0|                }
  |  | 2608|  6.50M|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  6.50M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 2609|  6.50M|                PyCFunction cfunc = PyCFunction_GET_FUNCTION(callable_o);
  |  |  ------------------
  |  |  |  |   43|  6.50M|#define PyCFunction_GET_FUNCTION(func) PyCFunction_GET_FUNCTION(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.50M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.50M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2610|  6.50M|                _PyStackRef arg = args[0];
  |  | 2611|  6.50M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2612|  6.50M|                PyObject *res_o = _PyCFunction_TrampolineCall(cfunc, PyCFunction_GET_SELF(callable_o), PyStackRef_AsPyObjectBorrow(arg));
  |  |  ------------------
  |  |  |  |  997|  6.50M|    (meth)((self), (args))
  |  |  ------------------
  |  | 2613|  6.50M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2614|  6.50M|                _Py_LeaveRecursiveCallTstate(tstate);
  |  | 2615|  6.50M|                assert((res_o != NULL) ^ (_PyErr_Occurred(tstate) != NULL));
  |  | 2616|  6.50M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (2616:21): [True: 0, False: 6.50M]
  |  |  ------------------
  |  | 2617|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2618|      0|                }
  |  | 2619|  6.50M|                c = callable;
  |  | 2620|  6.50M|                s = args[0];
  |  | 2621|  6.50M|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 2622|  6.50M|            }
  |  | 2623|       |            // _POP_TOP
  |  | 2624|      0|            {
  |  | 2625|  6.50M|                value = s;
  |  | 2626|  6.50M|                stack_pointer[-2 - oparg] = res;
  |  | 2627|  6.50M|                stack_pointer[-1 - oparg] = c;
  |  | 2628|  6.50M|                stack_pointer += -oparg;
  |  | 2629|  6.50M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  6.50M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2630|  6.50M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2631|  6.50M|                PyStackRef_XCLOSE(value);
  |  | 2632|  6.50M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2633|  6.50M|            }
  |  | 2634|       |            // _POP_TOP
  |  | 2635|  6.50M|            {
  |  | 2636|  6.50M|                value = c;
  |  | 2637|  6.50M|                stack_pointer += -1;
  |  | 2638|  6.50M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  6.50M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2639|  6.50M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2640|  6.50M|                PyStackRef_XCLOSE(value);
  |  | 2641|  6.50M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2642|  6.50M|            }
  |  | 2643|       |            // _CHECK_PERIODIC_AT_END
  |  | 2644|  6.50M|            {
  |  | 2645|  6.50M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2646|  6.50M|                int err = check_periodics(tstate);
  |  | 2647|  6.50M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2648|  6.50M|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (2648:21): [True: 0, False: 6.50M]
  |  |  ------------------
  |  | 2649|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2650|      0|                }
  |  | 2651|  6.50M|            }
  |  | 2652|  6.50M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  6.50M|    { \
  |  |  |  |  201|  6.50M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  6.50M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  6.50M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  6.50M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  6.50M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  6.50M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  6.50M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  6.50M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 6.50M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  6.50M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  6.50M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  6.50M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  6.50M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  6.50M|    }
  |  |  ------------------
  |  | 2653|  6.50M|        }
  |  | 2654|       |
  |  | 2655|  2.05M|        TARGET(CALL_EX_NON_PY_GENERAL) {
  |  |  ------------------
  |  |  |  |  132|  2.05M|#  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|  2.05M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 2661|  2.05M|            (void)this_instr;
  |  | 2662|  2.05M|            frame->instr_ptr = next_instr;
  |  | 2663|  2.05M|            next_instr += 2;
  |  | 2664|  2.05M|            INSTRUCTION_STATS(CALL_EX_NON_PY_GENERAL);
  |  |  ------------------
  |  |  |  |   71|  2.05M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 2665|  2.05M|            static_assert(INLINE_CACHE_ENTRIES_CALL_FUNCTION_EX == 1, "incorrect cache size");
  |  | 2666|  2.05M|            _PyStackRef func_st;
  |  | 2667|  2.05M|            _PyStackRef func;
  |  | 2668|  2.05M|            _PyStackRef callargs;
  |  | 2669|  2.05M|            _PyStackRef null;
  |  | 2670|  2.05M|            _PyStackRef callargs_st;
  |  | 2671|  2.05M|            _PyStackRef kwargs_st;
  |  | 2672|  2.05M|            _PyStackRef result;
  |  | 2673|       |            /* Skip 1 cache entry */
  |  | 2674|       |            // _CHECK_IS_NOT_PY_CALLABLE_EX
  |  | 2675|  2.05M|            {
  |  | 2676|  2.05M|                func_st = stack_pointer[-4];
  |  | 2677|  2.05M|                PyObject *func = PyStackRef_AsPyObjectBorrow(func_st);
  |  | 2678|  2.05M|                if (Py_TYPE(func) == &PyFunction_Type && ((PyFunctionObject *)func)->vectorcall == _PyFunction_Vectorcall) {
  |  |  ------------------
  |  |  |  |  213|  2.05M|#  define Py_TYPE(ob) _Py_TYPE_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 (2678:21): [True: 106, False: 2.05M]
  |  |  |  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|  2.05M|            }
  |  | 2684|       |            // _MAKE_CALLARGS_A_TUPLE
  |  | 2685|  2.05M|            {
  |  | 2686|  2.05M|                callargs = stack_pointer[-2];
  |  | 2687|  2.05M|                func = func_st;
  |  | 2688|  2.05M|                PyObject *callargs_o = PyStackRef_AsPyObjectBorrow(callargs);
  |  | 2689|  2.05M|                if (!PyTuple_CheckExact(callargs_o)) {
  |  |  ------------------
  |  |  |  |   28|  2.05M|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  2.05M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  2.05M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  2.05M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2689:21): [True: 898, False: 2.04M]
  |  |  ------------------
  |  | 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|  2.05M|            }
  |  | 2710|       |            // _CALL_FUNCTION_EX_NON_PY_GENERAL
  |  | 2711|  2.05M|            {
  |  | 2712|  2.05M|                kwargs_st = stack_pointer[-1];
  |  | 2713|  2.05M|                callargs_st = callargs;
  |  | 2714|  2.05M|                null = stack_pointer[-3];
  |  | 2715|  2.05M|                func_st = func;
  |  | 2716|  2.05M|                PyObject *func = PyStackRef_AsPyObjectBorrow(func_st);
  |  | 2717|  2.05M|                PyObject *callargs = PyStackRef_AsPyObjectBorrow(callargs_st);
  |  | 2718|  2.05M|                (void)null;
  |  | 2719|  2.05M|                assert(PyTuple_CheckExact(callargs));
  |  | 2720|  2.05M|                PyObject *kwargs = PyStackRef_AsPyObjectBorrow(kwargs_st);
  |  | 2721|  2.05M|                assert(kwargs == NULL || PyDict_CheckExact(kwargs));
  |  | 2722|  2.05M|                stack_pointer[-2] = callargs_st;
  |  | 2723|  2.05M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2724|  2.05M|                PyObject *result_o = PyObject_Call(func, callargs, kwargs);
  |  | 2725|  2.05M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2726|  2.05M|                stack_pointer += -1;
  |  | 2727|  2.05M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.05M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2728|  2.05M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2729|  2.05M|                PyStackRef_XCLOSE(kwargs_st);
  |  | 2730|  2.05M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2731|  2.05M|                stack_pointer += -1;
  |  | 2732|  2.05M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.05M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2733|  2.05M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2734|  2.05M|                PyStackRef_CLOSE(callargs_st);
  |  | 2735|  2.05M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2736|  2.05M|                stack_pointer += -2;
  |  | 2737|  2.05M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.05M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2738|  2.05M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2739|  2.05M|                PyStackRef_CLOSE(func_st);
  |  | 2740|  2.05M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2741|  2.05M|                if (result_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (2741:21): [True: 7.19k, False: 2.04M]
  |  |  ------------------
  |  | 2742|  7.19k|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|  7.19k|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2743|      0|                }
  |  | 2744|  2.04M|                result = PyStackRef_FromPyObjectSteal(result_o);
  |  | 2745|  2.04M|            }
  |  | 2746|       |            // _CHECK_PERIODIC_AT_END
  |  | 2747|      0|            {
  |  | 2748|  2.04M|                stack_pointer[0] = result;
  |  | 2749|  2.04M|                stack_pointer += 1;
  |  | 2750|  2.04M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.04M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2751|  2.04M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2752|  2.04M|                int err = check_periodics(tstate);
  |  | 2753|  2.04M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2754|  2.04M|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (2754:21): [True: 0, False: 2.04M]
  |  |  ------------------
  |  | 2755|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2756|      0|                }
  |  | 2757|  2.04M|            }
  |  | 2758|  2.04M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.04M|    { \
  |  |  |  |  201|  2.04M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  2.04M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  2.04M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  2.04M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  2.04M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  2.04M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  2.04M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  2.04M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 2.04M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.04M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.04M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.04M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.04M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.04M|    }
  |  |  ------------------
  |  | 2759|  2.04M|        }
  |  | 2760|       |
  |  | 2761|  79.8k|        TARGET(CALL_EX_PY) {
  |  |  ------------------
  |  |  |  |  132|  79.8k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 2762|       |            #if _Py_TAIL_CALL_INTERP
  |  | 2763|       |            int opcode = CALL_EX_PY;
  |  | 2764|       |            (void)(opcode);
  |  | 2765|       |            #endif
  |  | 2766|  79.8k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 2767|  79.8k|            (void)this_instr;
  |  | 2768|  79.8k|            frame->instr_ptr = next_instr;
  |  | 2769|  79.8k|            next_instr += 2;
  |  | 2770|  79.8k|            INSTRUCTION_STATS(CALL_EX_PY);
  |  |  ------------------
  |  |  |  |   71|  79.8k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 2771|  79.8k|            static_assert(INLINE_CACHE_ENTRIES_CALL_FUNCTION_EX == 1, "incorrect cache size");
  |  | 2772|  79.8k|            _PyStackRef func;
  |  | 2773|  79.8k|            _PyStackRef callargs;
  |  | 2774|  79.8k|            _PyStackRef func_st;
  |  | 2775|  79.8k|            _PyStackRef callargs_st;
  |  | 2776|  79.8k|            _PyStackRef kwargs_st;
  |  | 2777|  79.8k|            _PyStackRef ex_frame;
  |  | 2778|  79.8k|            _PyStackRef new_frame;
  |  | 2779|       |            /* Skip 1 cache entry */
  |  | 2780|       |            // _CHECK_PEP_523
  |  | 2781|  79.8k|            {
  |  | 2782|  79.8k|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  517|  79.8k|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (517:34): [True: 0, False: 79.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 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|  79.8k|            }
  |  | 2788|       |            // _MAKE_CALLARGS_A_TUPLE
  |  | 2789|  79.8k|            {
  |  | 2790|  79.8k|                callargs = stack_pointer[-2];
  |  | 2791|  79.8k|                func = stack_pointer[-4];
  |  | 2792|  79.8k|                PyObject *callargs_o = PyStackRef_AsPyObjectBorrow(callargs);
  |  | 2793|  79.8k|                if (!PyTuple_CheckExact(callargs_o)) {
  |  |  ------------------
  |  |  |  |   28|  79.8k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  79.8k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  79.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  79.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2793:21): [True: 20, False: 79.7k]
  |  |  ------------------
  |  | 2794|     20|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2795|     20|                    int err = _Py_Check_ArgsIterable(tstate, PyStackRef_AsPyObjectBorrow(func), callargs_o);
  |  | 2796|     20|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2797|     20|                    if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (2797:25): [True: 0, False: 20]
  |  |  ------------------
  |  | 2798|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2799|      0|                    }
  |  | 2800|     20|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2801|     20|                    PyObject *tuple_o = PySequence_Tuple(callargs_o);
  |  | 2802|     20|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2803|     20|                    if (tuple_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (2803:25): [True: 0, False: 20]
  |  |  ------------------
  |  | 2804|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2805|      0|                    }
  |  | 2806|     20|                    _PyStackRef temp = callargs;
  |  | 2807|     20|                    callargs = PyStackRef_FromPyObjectSteal(tuple_o);
  |  | 2808|     20|                    stack_pointer[-2] = callargs;
  |  | 2809|     20|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2810|     20|                    PyStackRef_CLOSE(temp);
  |  | 2811|     20|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2812|     20|                }
  |  | 2813|  79.8k|            }
  |  | 2814|       |            // _CHECK_IS_PY_CALLABLE_EX
  |  | 2815|  79.8k|            {
  |  | 2816|  79.8k|                func_st = func;
  |  | 2817|  79.8k|                PyObject *func = PyStackRef_AsPyObjectBorrow(func_st);
  |  | 2818|  79.8k|                if (Py_TYPE(func) != &PyFunction_Type) {
  |  |  ------------------
  |  |  |  |  213|  79.8k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  79.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  79.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2818:21): [True: 104, False: 79.7k]
  |  |  ------------------
  |  | 2819|    104|                    UPDATE_MISS_STATS(CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  |  298|    104|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 2820|    104|                    assert(_PyOpcode_Deopt[opcode] == (CALL_FUNCTION_EX));
  |  | 2821|    104|                    JUMP_TO_PREDICTED(CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  |  136|    104|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 2822|      0|                }
  |  | 2823|  79.7k|                if (((PyFunctionObject *)func)->vectorcall != _PyFunction_Vectorcall) {
  |  |  ------------------
  |  |  |  Branch (2823:21): [True: 0, False: 79.7k]
  |  |  ------------------
  |  | 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|  79.7k|            }
  |  | 2829|       |            // _PY_FRAME_EX
  |  | 2830|  79.7k|            {
  |  | 2831|  79.7k|                kwargs_st = stack_pointer[-1];
  |  | 2832|  79.7k|                callargs_st = callargs;
  |  | 2833|  79.7k|                PyObject *func = PyStackRef_AsPyObjectBorrow(func_st);
  |  | 2834|  79.7k|                PyObject *callargs = PyStackRef_AsPyObjectSteal(callargs_st);
  |  | 2835|  79.7k|                assert(PyTuple_CheckExact(callargs));
  |  | 2836|  79.7k|                assert(Py_TYPE(func) == &PyFunction_Type);
  |  | 2837|  79.7k|                assert(((PyFunctionObject *)func)->vectorcall == _PyFunction_Vectorcall);
  |  | 2838|  79.7k|                PyObject *kwargs = PyStackRef_IsNull(kwargs_st) ? NULL : PyStackRef_AsPyObjectSteal(kwargs_st);
  |  |  ------------------
  |  |  |  |  470|  79.7k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|  79.7k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  79.7k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (470:32): [True: 148, False: 79.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2839|  79.7k|                assert(kwargs == NULL || PyDict_CheckExact(kwargs));
  |  | 2840|  79.7k|                Py_ssize_t nargs = PyTuple_GET_SIZE(callargs);
  |  |  ------------------
  |  |  |  |   27|  79.7k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  79.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  79.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2841|  79.7k|                int code_flags = ((PyCodeObject *)PyFunction_GET_CODE(func))->co_flags;
  |  |  ------------------
  |  |  |  |   93|  79.7k|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  79.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  79.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2842|  79.7k|                PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(func));
  |  |  ------------------
  |  |  |  |  118|  79.7k|#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: 79.7k, False: 0]
  |  |  ------------------
  |  | 2843|  79.7k|                stack_pointer += -3;
  |  | 2844|  79.7k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  79.7k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2845|  79.7k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2846|  79.7k|                _PyInterpreterFrame *new_frame = _PyEvalFramePushAndInit_Ex(
  |  | 2847|  79.7k|                    tstate, func_st, locals,
  |  | 2848|  79.7k|                    nargs, callargs, kwargs, frame);
  |  | 2849|  79.7k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2850|  79.7k|                stack_pointer += -1;
  |  | 2851|  79.7k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  79.7k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 2852|  79.7k|                if (new_frame == NULL) {
  |  |  ------------------
  |  |  |  Branch (2852:21): [True: 0, False: 79.7k]
  |  |  ------------------
  |  | 2853|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 2854|      0|                }
  |  | 2855|  79.7k|                ex_frame = PyStackRef_Wrap(new_frame);
  |  | 2856|  79.7k|            }
  |  | 2857|       |            // _SAVE_RETURN_OFFSET
  |  | 2858|      0|            {
  |  | 2859|  79.7k|                #if TIER_ONE
  |  | 2860|  79.7k|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 2861|  79.7k|                #endif
  |  | 2862|       |                #if TIER_TWO
  |  | 2863|       |                frame->return_offset = oparg;
  |  | 2864|       |                #endif
  |  | 2865|  79.7k|            }
  |  | 2866|       |            // _PUSH_FRAME
  |  | 2867|  79.7k|            {
  |  | 2868|  79.7k|                new_frame = ex_frame;
  |  | 2869|  79.7k|                assert(!IS_PEP523_HOOKED(tstate));
  |  | 2870|  79.7k|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 2871|  79.7k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2872|  79.7k|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  | 2873|  79.7k|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|  79.7k|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 2874|  79.7k|                frame = tstate->current_frame = temp;
  |  | 2875|  79.7k|                tstate->py_recursion_remaining--;
  |  | 2876|  79.7k|                LOAD_SP();
  |  |  ------------------
  |  |  |  |  425|  79.7k|#define LOAD_SP() \
  |  |  |  |  426|  79.7k|stack_pointer = _PyFrame_GetStackPointer(frame)
  |  |  ------------------
  |  | 2877|  79.7k|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  419|  79.7k|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  420|  79.7k|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  421|  79.7k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (421:14): [Folded, False: 79.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2878|  79.7k|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  345|  79.7k|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 2879|  79.7k|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  79.7k|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 2880|  79.7k|            }
  |  | 2881|  79.7k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  79.7k|    { \
  |  |  |  |  201|  79.7k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  79.7k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  79.7k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  79.7k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  79.7k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  79.7k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  79.7k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  79.7k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 79.7k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  79.7k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  79.7k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  79.7k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  79.7k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  79.7k|    }
  |  |  ------------------
  |  | 2882|  79.7k|        }
  |  | 2883|       |
  |  | 2884|    259|        TARGET(CALL_FUNCTION_EX) {
  |  |  ------------------
  |  |  |  |  132|    259|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 2885|       |            #if _Py_TAIL_CALL_INTERP
  |  | 2886|       |            int opcode = CALL_FUNCTION_EX;
  |  | 2887|       |            (void)(opcode);
  |  | 2888|       |            #endif
  |  | 2889|    259|            frame->instr_ptr = next_instr;
  |  | 2890|    259|            next_instr += 2;
  |  | 2891|    259|            INSTRUCTION_STATS(CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  |   71|    259|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 2892|    469|            PREDICTED_CALL_FUNCTION_EX:;
  |  | 2893|    469|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  | 2894|    469|            (void)this_instr;
  |  | 2895|    469|            opcode = CALL_FUNCTION_EX;
  |  |  ------------------
  |  |  |  |   17|    469|#define CALL_FUNCTION_EX                         4
  |  |  ------------------
  |  | 2896|    469|            _PyStackRef func;
  |  | 2897|    469|            _PyStackRef callargs;
  |  | 2898|    469|            _PyStackRef func_st;
  |  | 2899|    469|            _PyStackRef null;
  |  | 2900|    469|            _PyStackRef callargs_st;
  |  | 2901|    469|            _PyStackRef kwargs_st;
  |  | 2902|    469|            _PyStackRef result;
  |  | 2903|       |            // _SPECIALIZE_CALL_FUNCTION_EX
  |  | 2904|    469|            {
  |  | 2905|    469|                func = stack_pointer[-4];
  |  | 2906|    469|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 2907|    469|                (void)counter;
  |  | 2908|    469|                #if ENABLE_SPECIALIZATION
  |  | 2909|    469|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  354|    469|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (354:5): [True: 109, False: 360]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2910|    109|                    next_instr = this_instr;
  |  | 2911|    109|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 2912|    109|                    _Py_Specialize_CallFunctionEx(func, next_instr);
  |  | 2913|    109|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 2914|    109|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|    109|    { \
  |  |  |  |  217|    109|        opcode = next_instr->op.code; \
  |  |  |  |  218|    109|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    109|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|    109|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|    109|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|    109|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|    109|    }
  |  |  ------------------
  |  | 2915|    109|                }
  |  | 2916|    469|                OPCODE_DEFERRED_INC(CALL_FUNCTION_EX);
  |  |  ------------------
  |  |  |  |   90|    469|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 2917|    469|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  357|    469|    do { \
  |  |  |  |  358|    469|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  359|    469|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (359:14): [Folded, False: 469]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 2918|    469|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 2919|    469|            }
  |  | 2920|       |            // _MAKE_CALLARGS_A_TUPLE
  |  | 2921|    469|            {
  |  | 2922|    469|                callargs = stack_pointer[-2];
  |  | 2923|    469|                PyObject *callargs_o = PyStackRef_AsPyObjectBorrow(callargs);
  |  | 2924|    469|                if (!PyTuple_CheckExact(callargs_o)) {
  |  |  ------------------
  |  |  |  |   28|    469|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    469|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    469|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    469|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2924:21): [True: 16, False: 453]
  |  |  ------------------
  |  | 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|    469|            }
  |  | 2945|       |            // _DO_CALL_FUNCTION_EX
  |  | 2946|    469|            {
  |  | 2947|    469|                kwargs_st = stack_pointer[-1];
  |  | 2948|    469|                callargs_st = callargs;
  |  | 2949|    469|                null = stack_pointer[-3];
  |  | 2950|    469|                func_st = func;
  |  | 2951|    469|                (void)null;
  |  | 2952|    469|                PyObject *func = PyStackRef_AsPyObjectBorrow(func_st);
  |  | 2953|    469|                EVAL_CALL_STAT_INC_IF_FUNCTION(EVAL_CALL_FUNCTION_EX, func);
  |  |  ------------------
  |  |  |  |   80|    469|#define EVAL_CALL_STAT_INC_IF_FUNCTION(name, callable) ((void)0)
  |  |  ------------------
  |  | 2954|    469|                PyObject *result_o;
  |  | 2955|    469|                assert(!_PyErr_Occurred(tstate));
  |  | 2956|    469|                if (opcode == INSTRUMENTED_CALL_FUNCTION_EX) {
  |  |  ------------------
  |  |  |  |  242|    469|#define INSTRUMENTED_CALL_FUNCTION_EX          251
  |  |  ------------------
  |  |  |  Branch (2956:21): [True: 0, False: 469]
  |  |  ------------------
  |  | 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|    469|                else {
  |  | 2998|    469|                    if (Py_TYPE(func) == &PyFunction_Type &&
  |  |  ------------------
  |  |  |  |  213|    469|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    469|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    469|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (2998:25): [True: 157, False: 312]
  |  |  ------------------
  |  | 2999|    157|                        !IS_PEP523_HOOKED(tstate) &&
  |  |  ------------------
  |  |  |  |  517|    626|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  ------------------
  |  |  |  Branch (2999:25): [True: 157, False: 0]
  |  |  ------------------
  |  | 3000|    157|                        ((PyFunctionObject *)func)->vectorcall == _PyFunction_Vectorcall) {
  |  |  ------------------
  |  |  |  Branch (3000:25): [True: 157, False: 0]
  |  |  ------------------
  |  | 3001|    157|                        PyObject *callargs = PyStackRef_AsPyObjectSteal(callargs_st);
  |  | 3002|    157|                        assert(PyTuple_CheckExact(callargs));
  |  | 3003|    157|                        PyObject *kwargs = PyStackRef_IsNull(kwargs_st) ? NULL : PyStackRef_AsPyObjectSteal(kwargs_st);
  |  |  ------------------
  |  |  |  |  470|    157|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|    157|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|    157|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (470:32): [True: 128, False: 29]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3004|    157|                        assert(kwargs == NULL || PyDict_CheckExact(kwargs));
  |  | 3005|    157|                        Py_ssize_t nargs = PyTuple_GET_SIZE(callargs);
  |  |  ------------------
  |  |  |  |   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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3006|    157|                        int code_flags = ((PyCodeObject *)PyFunction_GET_CODE(func))->co_flags;
  |  |  ------------------
  |  |  |  |   93|    157|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    157|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    157|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3007|    157|                        PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(func));
  |  |  ------------------
  |  |  |  |  118|    157|#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: 157, False: 0]
  |  |  ------------------
  |  | 3008|    157|                        stack_pointer += -2;
  |  | 3009|    157|                        ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    157|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3010|    157|                        _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3011|    157|                        _PyInterpreterFrame *new_frame = _PyEvalFramePushAndInit_Ex(
  |  | 3012|    157|                            tstate, func_st, locals,
  |  | 3013|    157|                            nargs, callargs, kwargs, frame);
  |  | 3014|    157|                        stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3015|    157|                        stack_pointer += -2;
  |  | 3016|    157|                        ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    157|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3017|    157|                        if (new_frame == NULL) {
  |  |  ------------------
  |  |  |  Branch (3017:29): [True: 0, False: 157]
  |  |  ------------------
  |  | 3018|      0|                            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3019|      0|                        }
  |  | 3020|    157|                        assert( 2u == 1 + INLINE_CACHE_ENTRIES_CALL_FUNCTION_EX);
  |  | 3021|    157|                        frame->return_offset = 2u ;
  |  | 3022|    157|                        DISPATCH_INLINED(new_frame);
  |  |  ------------------
  |  |  |  |  223|    157|    do {                                                         \
  |  |  |  |  224|    157|        assert(!IS_PEP523_HOOKED(tstate));                       \
  |  |  |  |  225|    157|        _PyFrame_SetStackPointer(frame, stack_pointer);          \
  |  |  |  |  226|    157|        assert((NEW_FRAME)->previous == frame);                  \
  |  |  |  |  227|    157|        frame = tstate->current_frame = (NEW_FRAME);             \
  |  |  |  |  228|    157|        CALL_STAT_INC(inlined_py_calls);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  |   76|    157|#define CALL_STAT_INC(name) ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  229|    157|        JUMP_TO_LABEL(start_frame);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|    157|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  230|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (230:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3023|    157|                    }
  |  | 3024|    312|                    PyObject *callargs = PyStackRef_AsPyObjectBorrow(callargs_st);
  |  | 3025|    312|                    assert(PyTuple_CheckExact(callargs));
  |  | 3026|    312|                    PyObject *kwargs = PyStackRef_AsPyObjectBorrow(kwargs_st);
  |  | 3027|    312|                    assert(kwargs == NULL || PyDict_CheckExact(kwargs));
  |  | 3028|    312|                    stack_pointer[-2] = callargs_st;
  |  | 3029|    312|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3030|    312|                    result_o = PyObject_Call(func, callargs, kwargs);
  |  | 3031|    312|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3032|    312|                }
  |  | 3033|    312|                stack_pointer += -1;
  |  | 3034|    312|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    312|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3035|    312|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3036|    312|                PyStackRef_XCLOSE(kwargs_st);
  |  | 3037|    312|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3038|    312|                stack_pointer += -1;
  |  | 3039|    312|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    312|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3040|    312|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3041|    312|                PyStackRef_CLOSE(callargs_st);
  |  | 3042|    312|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3043|    312|                stack_pointer += -2;
  |  | 3044|    312|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    312|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3045|    312|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3046|    312|                PyStackRef_CLOSE(func_st);
  |  | 3047|    312|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3048|    312|                if (result_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (3048:21): [True: 2, False: 310]
  |  |  ------------------
  |  | 3049|      2|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      2|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3050|      0|                }
  |  | 3051|    310|                result = PyStackRef_FromPyObjectSteal(result_o);
  |  | 3052|    310|            }
  |  | 3053|       |            // _CHECK_PERIODIC_AT_END
  |  | 3054|      0|            {
  |  | 3055|    310|                stack_pointer[0] = result;
  |  | 3056|    310|                stack_pointer += 1;
  |  | 3057|    310|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    310|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3058|    310|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3059|    310|                int err = check_periodics(tstate);
  |  | 3060|    310|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3061|    310|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (3061:21): [True: 0, False: 310]
  |  |  ------------------
  |  | 3062|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3063|      0|                }
  |  | 3064|    310|            }
  |  | 3065|    310|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    310|    { \
  |  |  |  |  201|    310|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|    310|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|    310|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|    310|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|    310|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|    310|        opcode = word.op.code; \
  |  |  |  |  |  |  253|    310|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|    310|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 310]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    310|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    310|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    310|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    310|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    310|    }
  |  |  ------------------
  |  | 3066|    310|        }
  |  | 3067|       |
  |  | 3068|  4.21M|        TARGET(CALL_INTRINSIC_1) {
  |  |  ------------------
  |  |  |  |  132|  4.21M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3069|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3070|       |            int opcode = CALL_INTRINSIC_1;
  |  | 3071|       |            (void)(opcode);
  |  | 3072|       |            #endif
  |  | 3073|  4.21M|            frame->instr_ptr = next_instr;
  |  | 3074|  4.21M|            next_instr += 1;
  |  | 3075|  4.21M|            INSTRUCTION_STATS(CALL_INTRINSIC_1);
  |  |  ------------------
  |  |  |  |   71|  4.21M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3076|  4.21M|            _PyStackRef value;
  |  | 3077|  4.21M|            _PyStackRef res;
  |  | 3078|  4.21M|            _PyStackRef v;
  |  | 3079|       |            // _CALL_INTRINSIC_1
  |  | 3080|  4.21M|            {
  |  | 3081|  4.21M|                value = stack_pointer[-1];
  |  | 3082|  4.21M|                assert(oparg <= MAX_INTRINSIC_1);
  |  | 3083|  4.21M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3084|  4.21M|                PyObject *res_o = _PyIntrinsics_UnaryFunctions[oparg].func(tstate, PyStackRef_AsPyObjectBorrow(value));
  |  | 3085|  4.21M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3086|  4.21M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (3086:21): [True: 0, False: 4.21M]
  |  |  ------------------
  |  | 3087|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3088|      0|                }
  |  | 3089|  4.21M|                v = value;
  |  | 3090|  4.21M|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 3091|  4.21M|            }
  |  | 3092|       |            // _POP_TOP
  |  | 3093|      0|            {
  |  | 3094|  4.21M|                value = v;
  |  | 3095|  4.21M|                stack_pointer[-1] = res;
  |  | 3096|  4.21M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3097|  4.21M|                PyStackRef_XCLOSE(value);
  |  | 3098|  4.21M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3099|  4.21M|            }
  |  | 3100|  4.21M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  4.21M|    { \
  |  |  |  |  201|  4.21M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  4.21M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  4.21M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  4.21M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  4.21M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  4.21M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  4.21M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  4.21M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 4.21M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  4.21M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  4.21M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  4.21M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  4.21M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  4.21M|    }
  |  |  ------------------
  |  | 3101|  4.21M|        }
  |  | 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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      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|  1.84M|        TARGET(CALL_ISINSTANCE) {
  |  |  ------------------
  |  |  |  |  132|  1.84M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3156|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3157|       |            int opcode = CALL_ISINSTANCE;
  |  | 3158|       |            (void)(opcode);
  |  | 3159|       |            #endif
  |  | 3160|  1.84M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 3161|  1.84M|            (void)this_instr;
  |  | 3162|  1.84M|            frame->instr_ptr = next_instr;
  |  | 3163|  1.84M|            next_instr += 4;
  |  | 3164|  1.84M|            INSTRUCTION_STATS(CALL_ISINSTANCE);
  |  |  ------------------
  |  |  |  |   71|  1.84M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3165|  1.84M|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 3166|  1.84M|            _PyStackRef null;
  |  | 3167|  1.84M|            _PyStackRef callable;
  |  | 3168|  1.84M|            _PyStackRef instance;
  |  | 3169|  1.84M|            _PyStackRef cls;
  |  | 3170|  1.84M|            _PyStackRef res;
  |  | 3171|       |            /* Skip 1 cache entry */
  |  | 3172|       |            /* Skip 2 cache entries */
  |  | 3173|       |            // _GUARD_THIRD_NULL
  |  | 3174|  1.84M|            {
  |  | 3175|  1.84M|                null = stack_pointer[-3];
  |  | 3176|  1.84M|                if (!PyStackRef_IsNull(null)) {
  |  |  ------------------
  |  |  |  |  470|  1.84M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|  1.84M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  1.84M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3176:21): [True: 0, False: 1.84M]
  |  |  ------------------
  |  | 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|  1.84M|            }
  |  | 3182|       |            // _GUARD_CALLABLE_ISINSTANCE
  |  | 3183|  1.84M|            {
  |  | 3184|  1.84M|                callable = stack_pointer[-4];
  |  | 3185|  1.84M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3186|  1.84M|                PyInterpreterState *interp = tstate->interp;
  |  | 3187|  1.84M|                if (callable_o != interp->callable_cache.isinstance) {
  |  |  ------------------
  |  |  |  Branch (3187:21): [True: 0, False: 1.84M]
  |  |  ------------------
  |  | 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|  1.84M|            }
  |  | 3193|       |            // _CALL_ISINSTANCE
  |  | 3194|  1.84M|            {
  |  | 3195|  1.84M|                cls = stack_pointer[-1];
  |  | 3196|  1.84M|                instance = stack_pointer[-2];
  |  | 3197|  1.84M|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  1.84M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 3198|  1.84M|                PyObject *inst_o = PyStackRef_AsPyObjectBorrow(instance);
  |  | 3199|  1.84M|                PyObject *cls_o = PyStackRef_AsPyObjectBorrow(cls);
  |  | 3200|  1.84M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3201|  1.84M|                int retval = PyObject_IsInstance(inst_o, cls_o);
  |  | 3202|  1.84M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3203|  1.84M|                if (retval < 0) {
  |  |  ------------------
  |  |  |  Branch (3203:21): [True: 0, False: 1.84M]
  |  |  ------------------
  |  | 3204|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3205|      0|                }
  |  | 3206|  1.84M|                (void)null;
  |  | 3207|  1.84M|                stack_pointer += -1;
  |  | 3208|  1.84M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.84M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3209|  1.84M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3210|  1.84M|                PyStackRef_CLOSE(cls);
  |  | 3211|  1.84M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3212|  1.84M|                stack_pointer += -1;
  |  | 3213|  1.84M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.84M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3214|  1.84M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3215|  1.84M|                PyStackRef_CLOSE(instance);
  |  | 3216|  1.84M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3217|  1.84M|                stack_pointer += -2;
  |  | 3218|  1.84M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.84M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3219|  1.84M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3220|  1.84M|                PyStackRef_CLOSE(callable);
  |  | 3221|  1.84M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3222|  1.84M|                res = retval ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  471|   823k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|   823k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = retval ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  472|  2.86M|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.02M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3222:23): [True: 823k, False: 1.02M]
  |  |  ------------------
  |  | 3223|  1.84M|                assert((!PyStackRef_IsNull(res)) ^ (_PyErr_Occurred(tstate) != NULL));
  |  | 3224|  1.84M|            }
  |  | 3225|      0|            stack_pointer[0] = res;
  |  | 3226|  1.84M|            stack_pointer += 1;
  |  | 3227|  1.84M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.84M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3228|  1.84M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.84M|    { \
  |  |  |  |  201|  1.84M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  1.84M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  1.84M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  1.84M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  1.84M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  1.84M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  1.84M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  1.84M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 1.84M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.84M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.84M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.84M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.84M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.84M|    }
  |  |  ------------------
  |  | 3229|  1.84M|        }
  |  | 3230|       |
  |  | 3231|  52.8k|        TARGET(CALL_KW) {
  |  |  ------------------
  |  |  |  |  132|  52.8k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3232|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3233|       |            int opcode = CALL_KW;
  |  | 3234|       |            (void)(opcode);
  |  | 3235|       |            #endif
  |  | 3236|  52.8k|            frame->instr_ptr = next_instr;
  |  | 3237|  52.8k|            next_instr += 4;
  |  | 3238|  52.8k|            INSTRUCTION_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |   71|  52.8k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3239|   108k|            PREDICTED_CALL_KW:;
  |  | 3240|   108k|            _Py_CODEUNIT* const this_instr = next_instr - 4;
  |  | 3241|   108k|            (void)this_instr;
  |  | 3242|   108k|            opcode = CALL_KW;
  |  |  ------------------
  |  |  |  |   66|   108k|#define CALL_KW                                 53
  |  |  ------------------
  |  | 3243|   108k|            _PyStackRef callable;
  |  | 3244|   108k|            _PyStackRef self_or_null;
  |  | 3245|   108k|            _PyStackRef *args;
  |  | 3246|   108k|            _PyStackRef kwnames;
  |  | 3247|   108k|            _PyStackRef res;
  |  | 3248|       |            // _SPECIALIZE_CALL_KW
  |  | 3249|   108k|            {
  |  | 3250|   108k|                self_or_null = stack_pointer[-2 - oparg];
  |  | 3251|   108k|                callable = stack_pointer[-3 - oparg];
  |  | 3252|   108k|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 3253|   108k|                (void)counter;
  |  | 3254|   108k|                #if ENABLE_SPECIALIZATION
  |  | 3255|   108k|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  354|   108k|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (354:5): [True: 1.40k, False: 107k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3256|  1.40k|                    next_instr = this_instr;
  |  | 3257|  1.40k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3258|  1.40k|                    _Py_Specialize_CallKw(callable, next_instr, oparg + !PyStackRef_IsNull(self_or_null));
  |  |  ------------------
  |  |  |  |  470|  1.40k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|  1.40k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  1.40k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3259|  1.40k|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3260|  1.40k|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|  1.40k|    { \
  |  |  |  |  217|  1.40k|        opcode = next_instr->op.code; \
  |  |  |  |  218|  1.40k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.40k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|  1.40k|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|  1.40k|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|  1.40k|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|  1.40k|    }
  |  |  ------------------
  |  | 3261|  1.40k|                }
  |  | 3262|   108k|                OPCODE_DEFERRED_INC(CALL_KW);
  |  |  ------------------
  |  |  |  |   90|   108k|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 3263|   108k|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  357|   108k|    do { \
  |  |  |  |  358|   108k|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  359|   108k|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (359:14): [Folded, False: 108k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3264|   108k|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 3265|   108k|            }
  |  | 3266|       |            /* Skip 2 cache entries */
  |  | 3267|       |            // _MAYBE_EXPAND_METHOD_KW
  |  | 3268|   108k|            {
  |  | 3269|   108k|                if (PyStackRef_TYPE(callable) == &PyMethod_Type && PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  470|  54.9k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|  54.9k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  54.9k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (470:32): [True: 54.9k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3269:21): [True: 54.9k, False: 53.8k]
  |  |  ------------------
  |  | 3270|  54.9k|                    PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3271|  54.9k|                    PyObject *self = ((PyMethodObject *)callable_o)->im_self;
  |  | 3272|  54.9k|                    self_or_null = PyStackRef_FromPyObjectNew(self);
  |  |  ------------------
  |  |  |  |  599|  54.9k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  54.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  54.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3273|  54.9k|                    PyObject *method = ((PyMethodObject *)callable_o)->im_func;
  |  | 3274|  54.9k|                    _PyStackRef temp = callable;
  |  | 3275|  54.9k|                    callable = PyStackRef_FromPyObjectNew(method);
  |  |  ------------------
  |  |  |  |  599|  54.9k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  54.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  54.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3276|  54.9k|                    stack_pointer[-3 - oparg] = callable;
  |  | 3277|  54.9k|                    stack_pointer[-2 - oparg] = self_or_null;
  |  | 3278|  54.9k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3279|  54.9k|                    PyStackRef_CLOSE(temp);
  |  | 3280|  54.9k|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3281|  54.9k|                }
  |  | 3282|   108k|            }
  |  | 3283|       |            // _DO_CALL_KW
  |  | 3284|   108k|            {
  |  | 3285|   108k|                kwnames = stack_pointer[-1];
  |  | 3286|   108k|                args = &stack_pointer[-1 - oparg];
  |  | 3287|   108k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3288|   108k|                PyObject *kwnames_o = PyStackRef_AsPyObjectBorrow(kwnames);
  |  | 3289|   108k|                int total_args = oparg;
  |  | 3290|   108k|                _PyStackRef *arguments = args;
  |  | 3291|   108k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  470|   108k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|   108k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|   108k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3291:21): [True: 55.0k, False: 53.7k]
  |  |  ------------------
  |  | 3292|  55.0k|                    arguments--;
  |  | 3293|  55.0k|                    total_args++;
  |  | 3294|  55.0k|                }
  |  | 3295|   108k|                int positional_args = total_args - (int)PyTuple_GET_SIZE(kwnames_o);
  |  |  ------------------
  |  |  |  |   27|   108k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   108k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   108k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3296|   108k|                if (Py_TYPE(callable_o) == &PyFunction_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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3296:21): [True: 106k, False: 1.82k]
  |  |  ------------------
  |  | 3297|   106k|                    !IS_PEP523_HOOKED(tstate) &&
  |  |  ------------------
  |  |  |  |  517|   215k|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  ------------------
  |  |  |  Branch (3297:21): [True: 106k, False: 0]
  |  |  ------------------
  |  | 3298|   106k|                    ((PyFunctionObject *)callable_o)->vectorcall == _PyFunction_Vectorcall)
  |  |  ------------------
  |  |  |  Branch (3298:21): [True: 106k, False: 0]
  |  |  ------------------
  |  | 3299|   106k|                {
  |  | 3300|   106k|                    int code_flags = ((PyCodeObject*)PyFunction_GET_CODE(callable_o))->co_flags;
  |  |  ------------------
  |  |  |  |   93|   106k|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   106k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   106k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3301|   106k|                    PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  118|   106k|#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: 106k, False: 0]
  |  |  ------------------
  |  | 3302|   106k|                    stack_pointer[-3 - oparg] = callable;
  |  | 3303|   106k|                    stack_pointer[-2 - oparg] = self_or_null;
  |  | 3304|   106k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3305|   106k|                    _PyInterpreterFrame *new_frame = _PyEvalFramePushAndInit(
  |  | 3306|   106k|                        tstate, callable, locals,
  |  | 3307|   106k|                        arguments, positional_args, kwnames_o, frame
  |  | 3308|   106k|                    );
  |  | 3309|   106k|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3310|   106k|                    stack_pointer += -3 - oparg;
  |  | 3311|   106k|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   106k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3312|   106k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3313|   106k|                    PyStackRef_CLOSE(kwnames);
  |  | 3314|   106k|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3315|   106k|                    if (new_frame == NULL) {
  |  |  ------------------
  |  |  |  Branch (3315:25): [True: 0, False: 106k]
  |  |  ------------------
  |  | 3316|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3317|      0|                    }
  |  | 3318|   106k|                    assert( 4u == 1 + INLINE_CACHE_ENTRIES_CALL_KW);
  |  | 3319|   106k|                    frame->return_offset = 4u ;
  |  | 3320|   106k|                    DISPATCH_INLINED(new_frame);
  |  |  ------------------
  |  |  |  |  223|   106k|    do {                                                         \
  |  |  |  |  224|   106k|        assert(!IS_PEP523_HOOKED(tstate));                       \
  |  |  |  |  225|   106k|        _PyFrame_SetStackPointer(frame, stack_pointer);          \
  |  |  |  |  226|   106k|        assert((NEW_FRAME)->previous == frame);                  \
  |  |  |  |  227|   106k|        frame = tstate->current_frame = (NEW_FRAME);             \
  |  |  |  |  228|   106k|        CALL_STAT_INC(inlined_py_calls);                         \
  |  |  |  |  ------------------
  |  |  |  |  |  |   76|   106k|#define CALL_STAT_INC(name) ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  229|   106k|        JUMP_TO_LABEL(start_frame);                              \
  |  |  |  |  ------------------
  |  |  |  |  |  |  135|   106k|#  define JUMP_TO_LABEL(name) goto name;
  |  |  |  |  ------------------
  |  |  |  |  230|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (230:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3321|   106k|                }
  |  | 3322|  1.82k|                stack_pointer[-3 - oparg] = callable;
  |  | 3323|  1.82k|                stack_pointer[-2 - oparg] = self_or_null;
  |  | 3324|  1.82k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3325|  1.82k|                PyObject* res_o = _Py_VectorCallInstrumentation_StackRefSteal(
  |  | 3326|  1.82k|                    callable,
  |  | 3327|  1.82k|                    arguments,
  |  | 3328|  1.82k|                    total_args,
  |  | 3329|  1.82k|                    kwnames,
  |  | 3330|  1.82k|                    opcode == INSTRUMENTED_CALL_KW,
  |  |  ------------------
  |  |  |  |  241|  1.82k|#define INSTRUMENTED_CALL_KW                   250
  |  |  ------------------
  |  | 3331|  1.82k|                    frame,
  |  | 3332|  1.82k|                    this_instr,
  |  | 3333|  1.82k|                    tstate);
  |  | 3334|  1.82k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3335|  1.82k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (3335:21): [True: 0, False: 1.82k]
  |  |  ------------------
  |  | 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|  1.82k|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 3341|  1.82k|            }
  |  | 3342|      0|            stack_pointer[-3 - oparg] = res;
  |  | 3343|  1.82k|            stack_pointer += -2 - oparg;
  |  | 3344|  1.82k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.82k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3345|  1.82k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.82k|    { \
  |  |  |  |  201|  1.82k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  1.82k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  1.82k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  1.82k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  1.82k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  1.82k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  1.82k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  1.82k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 1.82k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.82k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.82k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.82k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.82k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.82k|    }
  |  |  ------------------
  |  | 3346|  1.82k|        }
  |  | 3347|       |
  |  | 3348|  90.6k|        TARGET(CALL_KW_BOUND_METHOD) {
  |  |  ------------------
  |  |  |  |  132|  90.6k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3349|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3350|       |            int opcode = CALL_KW_BOUND_METHOD;
  |  | 3351|       |            (void)(opcode);
  |  | 3352|       |            #endif
  |  | 3353|  90.6k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 3354|  90.6k|            (void)this_instr;
  |  | 3355|  90.6k|            frame->instr_ptr = next_instr;
  |  | 3356|  90.6k|            next_instr += 4;
  |  | 3357|  90.6k|            INSTRUCTION_STATS(CALL_KW_BOUND_METHOD);
  |  |  ------------------
  |  |  |  |   71|  90.6k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3358|  90.6k|            static_assert(INLINE_CACHE_ENTRIES_CALL_KW == 3, "incorrect cache size");
  |  | 3359|  90.6k|            _PyStackRef callable;
  |  | 3360|  90.6k|            _PyStackRef null;
  |  | 3361|  90.6k|            _PyStackRef self_or_null;
  |  | 3362|  90.6k|            _PyStackRef *args;
  |  | 3363|  90.6k|            _PyStackRef kwnames;
  |  | 3364|  90.6k|            _PyStackRef new_frame;
  |  | 3365|       |            /* Skip 1 cache entry */
  |  | 3366|       |            // _CHECK_PEP_523
  |  | 3367|  90.6k|            {
  |  | 3368|  90.6k|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  517|  90.6k|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (517:34): [True: 0, False: 90.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 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|  90.6k|            }
  |  | 3374|       |            // _CHECK_METHOD_VERSION_KW
  |  | 3375|  90.6k|            {
  |  | 3376|  90.6k|                null = stack_pointer[-2 - oparg];
  |  | 3377|  90.6k|                callable = stack_pointer[-3 - oparg];
  |  | 3378|  90.6k|                uint32_t func_version = read_u32(&this_instr[2].cache);
  |  | 3379|  90.6k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3380|  90.6k|                if (Py_TYPE(callable_o) != &PyMethod_Type) {
  |  |  ------------------
  |  |  |  |  213|  90.6k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  90.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  90.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3380:21): [True: 0, False: 90.6k]
  |  |  ------------------
  |  | 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|  90.6k|                PyObject *func = ((PyMethodObject *)callable_o)->im_func;
  |  | 3386|  90.6k|                if (!PyFunction_Check(func)) {
  |  |  ------------------
  |  |  |  |   68|  90.6k|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  90.6k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  90.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  90.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3386:21): [True: 0, False: 90.6k]
  |  |  ------------------
  |  | 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|  90.6k|                if (((PyFunctionObject *)func)->func_version != func_version) {
  |  |  ------------------
  |  |  |  Branch (3391:21): [True: 55.9k, False: 34.6k]
  |  |  ------------------
  |  | 3392|  55.9k|                    UPDATE_MISS_STATS(CALL_KW);
  |  |  ------------------
  |  |  |  |  298|  55.9k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3393|  55.9k|                    assert(_PyOpcode_Deopt[opcode] == (CALL_KW));
  |  | 3394|  55.9k|                    JUMP_TO_PREDICTED(CALL_KW);
  |  |  ------------------
  |  |  |  |  136|  55.9k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3395|      0|                }
  |  | 3396|  34.6k|                if (!PyStackRef_IsNull(null)) {
  |  |  ------------------
  |  |  |  |  470|  34.6k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|  34.6k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  34.6k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3396:21): [True: 0, False: 34.6k]
  |  |  ------------------
  |  | 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|  34.6k|            }
  |  | 3402|       |            // _EXPAND_METHOD_KW
  |  | 3403|  34.6k|            {
  |  | 3404|  34.6k|                self_or_null = null;
  |  | 3405|  34.6k|                assert(PyStackRef_IsNull(self_or_null));
  |  | 3406|  34.6k|                _PyStackRef callable_s = callable;
  |  | 3407|  34.6k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3408|  34.6k|                assert(Py_TYPE(callable_o) == &PyMethod_Type);
  |  | 3409|  34.6k|                self_or_null = PyStackRef_FromPyObjectNew(((PyMethodObject *)callable_o)->im_self);
  |  |  ------------------
  |  |  |  |  599|  34.6k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  34.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  34.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3410|  34.6k|                callable = PyStackRef_FromPyObjectNew(((PyMethodObject *)callable_o)->im_func);
  |  |  ------------------
  |  |  |  |  599|  34.6k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  34.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  34.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3411|  34.6k|                assert(PyStackRef_FunctionCheck(callable));
  |  | 3412|  34.6k|                stack_pointer[-3 - oparg] = callable;
  |  | 3413|  34.6k|                stack_pointer[-2 - oparg] = self_or_null;
  |  | 3414|  34.6k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3415|  34.6k|                PyStackRef_CLOSE(callable_s);
  |  | 3416|  34.6k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3417|  34.6k|            }
  |  | 3418|       |            // flush
  |  | 3419|       |            // _PY_FRAME_KW
  |  | 3420|  34.6k|            {
  |  | 3421|  34.6k|                kwnames = stack_pointer[-1];
  |  | 3422|  34.6k|                args = &stack_pointer[-1 - oparg];
  |  | 3423|  34.6k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3424|  34.6k|                int total_args = oparg;
  |  | 3425|  34.6k|                _PyStackRef *arguments = args;
  |  | 3426|  34.6k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  470|  34.6k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|  34.6k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  34.6k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3426:21): [True: 34.6k, False: 0]
  |  |  ------------------
  |  | 3427|  34.6k|                    arguments--;
  |  | 3428|  34.6k|                    total_args++;
  |  | 3429|  34.6k|                }
  |  | 3430|  34.6k|                PyObject *kwnames_o = PyStackRef_AsPyObjectBorrow(kwnames);
  |  | 3431|  34.6k|                int positional_args = total_args - (int)PyTuple_GET_SIZE(kwnames_o);
  |  |  ------------------
  |  |  |  |   27|  34.6k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  34.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  34.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3432|  34.6k|                assert(Py_TYPE(callable_o) == &PyFunction_Type);
  |  | 3433|  34.6k|                int code_flags = ((PyCodeObject*)PyFunction_GET_CODE(callable_o))->co_flags;
  |  |  ------------------
  |  |  |  |   93|  34.6k|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  34.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  34.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3434|  34.6k|                PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  118|  34.6k|#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: 34.6k, False: 0]
  |  |  ------------------
  |  | 3435|  34.6k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3436|  34.6k|                _PyInterpreterFrame *temp = _PyEvalFramePushAndInit(
  |  | 3437|  34.6k|                    tstate, callable, locals,
  |  | 3438|  34.6k|                    arguments, positional_args, kwnames_o, frame
  |  | 3439|  34.6k|                );
  |  | 3440|  34.6k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3441|  34.6k|                stack_pointer += -1;
  |  | 3442|  34.6k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  34.6k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3443|  34.6k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3444|  34.6k|                PyStackRef_CLOSE(kwnames);
  |  | 3445|  34.6k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3446|  34.6k|                stack_pointer += -2 - oparg;
  |  | 3447|  34.6k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  34.6k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3448|  34.6k|                if (temp == NULL) {
  |  |  ------------------
  |  |  |  Branch (3448:21): [True: 0, False: 34.6k]
  |  |  ------------------
  |  | 3449|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3450|      0|                }
  |  | 3451|  34.6k|                new_frame = PyStackRef_Wrap(temp);
  |  | 3452|  34.6k|            }
  |  | 3453|       |            // _SAVE_RETURN_OFFSET
  |  | 3454|      0|            {
  |  | 3455|  34.6k|                #if TIER_ONE
  |  | 3456|  34.6k|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 3457|  34.6k|                #endif
  |  | 3458|       |                #if TIER_TWO
  |  | 3459|       |                frame->return_offset = oparg;
  |  | 3460|       |                #endif
  |  | 3461|  34.6k|            }
  |  | 3462|       |            // _PUSH_FRAME
  |  | 3463|  34.6k|            {
  |  | 3464|  34.6k|                assert(!IS_PEP523_HOOKED(tstate));
  |  | 3465|  34.6k|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 3466|  34.6k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3467|  34.6k|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  | 3468|  34.6k|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|  34.6k|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 3469|  34.6k|                frame = tstate->current_frame = temp;
  |  | 3470|  34.6k|                tstate->py_recursion_remaining--;
  |  | 3471|  34.6k|                LOAD_SP();
  |  |  ------------------
  |  |  |  |  425|  34.6k|#define LOAD_SP() \
  |  |  |  |  426|  34.6k|stack_pointer = _PyFrame_GetStackPointer(frame)
  |  |  ------------------
  |  | 3472|  34.6k|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  419|  34.6k|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  420|  34.6k|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  421|  34.6k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (421:14): [Folded, False: 34.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3473|  34.6k|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  345|  34.6k|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 3474|  34.6k|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  34.6k|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 3475|  34.6k|            }
  |  | 3476|  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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  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|    }
  |  |  ------------------
  |  | 3477|  34.6k|        }
  |  | 3478|       |
  |  | 3479|   393k|        TARGET(CALL_KW_NON_PY) {
  |  |  ------------------
  |  |  |  |  132|   393k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3480|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3481|       |            int opcode = CALL_KW_NON_PY;
  |  | 3482|       |            (void)(opcode);
  |  | 3483|       |            #endif
  |  | 3484|   393k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 3485|   393k|            (void)this_instr;
  |  | 3486|   393k|            frame->instr_ptr = next_instr;
  |  | 3487|   393k|            next_instr += 4;
  |  | 3488|   393k|            INSTRUCTION_STATS(CALL_KW_NON_PY);
  |  |  ------------------
  |  |  |  |   71|   393k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3489|   393k|            opcode = CALL_KW_NON_PY;
  |  |  ------------------
  |  |  |  |  160|   393k|#define CALL_KW_NON_PY                         155
  |  |  ------------------
  |  | 3490|   393k|            static_assert(INLINE_CACHE_ENTRIES_CALL_KW == 3, "incorrect cache size");
  |  | 3491|   393k|            _PyStackRef callable;
  |  | 3492|   393k|            _PyStackRef self_or_null;
  |  | 3493|   393k|            _PyStackRef *args;
  |  | 3494|   393k|            _PyStackRef kwnames;
  |  | 3495|   393k|            _PyStackRef res;
  |  | 3496|       |            /* Skip 1 cache entry */
  |  | 3497|       |            /* Skip 2 cache entries */
  |  | 3498|       |            // _CHECK_IS_NOT_PY_CALLABLE_KW
  |  | 3499|   393k|            {
  |  | 3500|   393k|                callable = stack_pointer[-3 - oparg];
  |  | 3501|   393k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3502|   393k|                if (PyFunction_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |   68|   393k|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|   393k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   393k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   393k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 0, False: 393k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 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|   393k|                if (Py_TYPE(callable_o) == &PyMethod_Type) {
  |  |  ------------------
  |  |  |  |  213|   393k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   393k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   393k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3507:21): [True: 0, False: 393k]
  |  |  ------------------
  |  | 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|   393k|            }
  |  | 3513|       |            // _CALL_KW_NON_PY
  |  | 3514|   393k|            {
  |  | 3515|   393k|                kwnames = stack_pointer[-1];
  |  | 3516|   393k|                args = &stack_pointer[-1 - oparg];
  |  | 3517|   393k|                self_or_null = stack_pointer[-2 - oparg];
  |  | 3518|   393k|                #if TIER_ONE
  |  | 3519|   393k|                assert(opcode != INSTRUMENTED_CALL);
  |  | 3520|   393k|                #endif
  |  | 3521|   393k|                int total_args = oparg;
  |  | 3522|   393k|                _PyStackRef *arguments = args;
  |  | 3523|   393k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  470|   393k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|   393k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|   393k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3523:21): [True: 57.0k, False: 336k]
  |  |  ------------------
  |  | 3524|  57.0k|                    arguments--;
  |  | 3525|  57.0k|                    total_args++;
  |  | 3526|  57.0k|                }
  |  | 3527|   393k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3528|   393k|                PyObject *res_o = _Py_VectorCall_StackRefSteal(
  |  | 3529|   393k|                    callable,
  |  | 3530|   393k|                    arguments,
  |  | 3531|   393k|                    total_args,
  |  | 3532|   393k|                    kwnames);
  |  | 3533|   393k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3534|   393k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (3534:21): [True: 27.1k, False: 366k]
  |  |  ------------------
  |  | 3535|  27.1k|                    stack_pointer += -3 - oparg;
  |  | 3536|  27.1k|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  27.1k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3537|  27.1k|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|  27.1k|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3538|      0|                }
  |  | 3539|   366k|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 3540|   366k|            }
  |  | 3541|       |            // _CHECK_PERIODIC_AT_END
  |  | 3542|      0|            {
  |  | 3543|   366k|                stack_pointer[-3 - oparg] = res;
  |  | 3544|   366k|                stack_pointer += -2 - oparg;
  |  | 3545|   366k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   366k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3546|   366k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3547|   366k|                int err = check_periodics(tstate);
  |  | 3548|   366k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3549|   366k|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (3549:21): [True: 0, False: 366k]
  |  |  ------------------
  |  | 3550|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3551|      0|                }
  |  | 3552|   366k|            }
  |  | 3553|   366k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   366k|    { \
  |  |  |  |  201|   366k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|   366k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|   366k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|   366k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|   366k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|   366k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|   366k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|   366k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 366k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   366k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   366k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   366k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   366k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   366k|    }
  |  |  ------------------
  |  | 3554|   366k|        }
  |  | 3555|       |
  |  | 3556|  4.56M|        TARGET(CALL_KW_PY) {
  |  |  ------------------
  |  |  |  |  132|  4.56M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3557|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3558|       |            int opcode = CALL_KW_PY;
  |  | 3559|       |            (void)(opcode);
  |  | 3560|       |            #endif
  |  | 3561|  4.56M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 3562|  4.56M|            (void)this_instr;
  |  | 3563|  4.56M|            frame->instr_ptr = next_instr;
  |  | 3564|  4.56M|            next_instr += 4;
  |  | 3565|  4.56M|            INSTRUCTION_STATS(CALL_KW_PY);
  |  |  ------------------
  |  |  |  |   71|  4.56M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3566|  4.56M|            static_assert(INLINE_CACHE_ENTRIES_CALL_KW == 3, "incorrect cache size");
  |  | 3567|  4.56M|            _PyStackRef callable;
  |  | 3568|  4.56M|            _PyStackRef self_or_null;
  |  | 3569|  4.56M|            _PyStackRef *args;
  |  | 3570|  4.56M|            _PyStackRef kwnames;
  |  | 3571|  4.56M|            _PyStackRef new_frame;
  |  | 3572|       |            /* Skip 1 cache entry */
  |  | 3573|       |            // _CHECK_PEP_523
  |  | 3574|  4.56M|            {
  |  | 3575|  4.56M|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  517|  4.56M|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (517:34): [True: 0, False: 4.56M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 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|  4.56M|            }
  |  | 3581|       |            // _CHECK_FUNCTION_VERSION_KW
  |  | 3582|  4.56M|            {
  |  | 3583|  4.56M|                callable = stack_pointer[-3 - oparg];
  |  | 3584|  4.56M|                uint32_t func_version = read_u32(&this_instr[2].cache);
  |  | 3585|  4.56M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3586|  4.56M|                if (!PyFunction_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |   68|  4.56M|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  4.56M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  4.56M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  4.56M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3586:21): [True: 0, False: 4.56M]
  |  |  ------------------
  |  | 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|  4.56M|                PyFunctionObject *func = (PyFunctionObject *)callable_o;
  |  | 3592|  4.56M|                if (func->func_version != func_version) {
  |  |  ------------------
  |  |  |  Branch (3592:21): [True: 0, False: 4.56M]
  |  |  ------------------
  |  | 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|  4.56M|            }
  |  | 3598|       |            // _CHECK_RECURSION_REMAINING
  |  | 3599|  4.56M|            {
  |  | 3600|  4.56M|                if (tstate->py_recursion_remaining <= 1) {
  |  |  ------------------
  |  |  |  Branch (3600:21): [True: 0, False: 4.56M]
  |  |  ------------------
  |  | 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|  4.56M|            }
  |  | 3606|       |            // _PY_FRAME_KW
  |  | 3607|  4.56M|            {
  |  | 3608|  4.56M|                kwnames = stack_pointer[-1];
  |  | 3609|  4.56M|                args = &stack_pointer[-1 - oparg];
  |  | 3610|  4.56M|                self_or_null = stack_pointer[-2 - oparg];
  |  | 3611|  4.56M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3612|  4.56M|                int total_args = oparg;
  |  | 3613|  4.56M|                _PyStackRef *arguments = args;
  |  | 3614|  4.56M|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  470|  4.56M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|  4.56M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  4.56M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3614:21): [True: 4.37M, False: 182k]
  |  |  ------------------
  |  | 3615|  4.37M|                    arguments--;
  |  | 3616|  4.37M|                    total_args++;
  |  | 3617|  4.37M|                }
  |  | 3618|  4.56M|                PyObject *kwnames_o = PyStackRef_AsPyObjectBorrow(kwnames);
  |  | 3619|  4.56M|                int positional_args = total_args - (int)PyTuple_GET_SIZE(kwnames_o);
  |  |  ------------------
  |  |  |  |   27|  4.56M|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.56M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.56M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3620|  4.56M|                assert(Py_TYPE(callable_o) == &PyFunction_Type);
  |  | 3621|  4.56M|                int code_flags = ((PyCodeObject*)PyFunction_GET_CODE(callable_o))->co_flags;
  |  |  ------------------
  |  |  |  |   93|  4.56M|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.56M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.56M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3622|  4.56M|                PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  118|  4.56M|#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: 4.56M, False: 0]
  |  |  ------------------
  |  | 3623|  4.56M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3624|  4.56M|                _PyInterpreterFrame *temp = _PyEvalFramePushAndInit(
  |  | 3625|  4.56M|                    tstate, callable, locals,
  |  | 3626|  4.56M|                    arguments, positional_args, kwnames_o, frame
  |  | 3627|  4.56M|                );
  |  | 3628|  4.56M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3629|  4.56M|                stack_pointer += -1;
  |  | 3630|  4.56M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  4.56M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3631|  4.56M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3632|  4.56M|                PyStackRef_CLOSE(kwnames);
  |  | 3633|  4.56M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3634|  4.56M|                stack_pointer += -2 - oparg;
  |  | 3635|  4.56M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  4.56M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3636|  4.56M|                if (temp == NULL) {
  |  |  ------------------
  |  |  |  Branch (3636:21): [True: 0, False: 4.56M]
  |  |  ------------------
  |  | 3637|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3638|      0|                }
  |  | 3639|  4.56M|                new_frame = PyStackRef_Wrap(temp);
  |  | 3640|  4.56M|            }
  |  | 3641|       |            // _SAVE_RETURN_OFFSET
  |  | 3642|      0|            {
  |  | 3643|  4.56M|                #if TIER_ONE
  |  | 3644|  4.56M|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 3645|  4.56M|                #endif
  |  | 3646|       |                #if TIER_TWO
  |  | 3647|       |                frame->return_offset = oparg;
  |  | 3648|       |                #endif
  |  | 3649|  4.56M|            }
  |  | 3650|       |            // _PUSH_FRAME
  |  | 3651|  4.56M|            {
  |  | 3652|  4.56M|                assert(!IS_PEP523_HOOKED(tstate));
  |  | 3653|  4.56M|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 3654|  4.56M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3655|  4.56M|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  | 3656|  4.56M|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|  4.56M|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 3657|  4.56M|                frame = tstate->current_frame = temp;
  |  | 3658|  4.56M|                tstate->py_recursion_remaining--;
  |  | 3659|  4.56M|                LOAD_SP();
  |  |  ------------------
  |  |  |  |  425|  4.56M|#define LOAD_SP() \
  |  |  |  |  426|  4.56M|stack_pointer = _PyFrame_GetStackPointer(frame)
  |  |  ------------------
  |  | 3660|  4.56M|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  419|  4.56M|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  420|  4.56M|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  421|  4.56M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (421:14): [Folded, False: 4.56M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3661|  4.56M|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  345|  4.56M|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 3662|  4.56M|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  4.56M|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 3663|  4.56M|            }
  |  | 3664|  4.56M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  4.56M|    { \
  |  |  |  |  201|  4.56M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  4.56M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  4.56M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  4.56M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  4.56M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  4.56M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  4.56M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  4.56M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 4.56M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  4.56M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  4.56M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  4.56M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  4.56M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  4.56M|    }
  |  |  ------------------
  |  | 3665|  4.56M|        }
  |  | 3666|       |
  |  | 3667|  12.4M|        TARGET(CALL_LEN) {
  |  |  ------------------
  |  |  |  |  132|  12.4M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3668|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3669|       |            int opcode = CALL_LEN;
  |  | 3670|       |            (void)(opcode);
  |  | 3671|       |            #endif
  |  | 3672|  12.4M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 3673|  12.4M|            (void)this_instr;
  |  | 3674|  12.4M|            frame->instr_ptr = next_instr;
  |  | 3675|  12.4M|            next_instr += 4;
  |  | 3676|  12.4M|            INSTRUCTION_STATS(CALL_LEN);
  |  |  ------------------
  |  |  |  |   71|  12.4M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3677|  12.4M|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 3678|  12.4M|            _PyStackRef null;
  |  | 3679|  12.4M|            _PyStackRef callable;
  |  | 3680|  12.4M|            _PyStackRef arg;
  |  | 3681|  12.4M|            _PyStackRef res;
  |  | 3682|  12.4M|            _PyStackRef a;
  |  | 3683|  12.4M|            _PyStackRef c;
  |  | 3684|  12.4M|            _PyStackRef value;
  |  | 3685|       |            /* Skip 1 cache entry */
  |  | 3686|       |            /* Skip 2 cache entries */
  |  | 3687|       |            // _GUARD_NOS_NULL
  |  | 3688|  12.4M|            {
  |  | 3689|  12.4M|                null = stack_pointer[-2];
  |  | 3690|  12.4M|                if (!PyStackRef_IsNull(null)) {
  |  |  ------------------
  |  |  |  |  470|  12.4M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|  12.4M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  12.4M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3690:21): [True: 0, False: 12.4M]
  |  |  ------------------
  |  | 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|  12.4M|            }
  |  | 3696|       |            // _GUARD_CALLABLE_LEN
  |  | 3697|  12.4M|            {
  |  | 3698|  12.4M|                callable = stack_pointer[-3];
  |  | 3699|  12.4M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3700|  12.4M|                PyInterpreterState *interp = tstate->interp;
  |  | 3701|  12.4M|                if (callable_o != interp->callable_cache.len) {
  |  |  ------------------
  |  |  |  Branch (3701:21): [True: 0, False: 12.4M]
  |  |  ------------------
  |  | 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|  12.4M|            }
  |  | 3707|       |            // _CALL_LEN
  |  | 3708|  12.4M|            {
  |  | 3709|  12.4M|                arg = stack_pointer[-1];
  |  | 3710|  12.4M|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  12.4M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 3711|  12.4M|                PyObject *arg_o = PyStackRef_AsPyObjectBorrow(arg);
  |  | 3712|  12.4M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3713|  12.4M|                Py_ssize_t len_i = PyObject_Length(arg_o);
  |  |  ------------------
  |  |  |  |  353|  12.4M|#define PyObject_Length PyObject_Size
  |  |  ------------------
  |  | 3714|  12.4M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3715|  12.4M|                if (len_i < 0) {
  |  |  ------------------
  |  |  |  Branch (3715:21): [True: 0, False: 12.4M]
  |  |  ------------------
  |  | 3716|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3717|      0|                }
  |  | 3718|  12.4M|                PyObject *res_o = PyLong_FromSsize_t(len_i);
  |  | 3719|  12.4M|                assert((res_o != NULL) ^ (_PyErr_Occurred(tstate) != NULL));
  |  | 3720|  12.4M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (3720:21): [True: 0, False: 12.4M]
  |  |  ------------------
  |  | 3721|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3722|      0|                }
  |  | 3723|  12.4M|                a = arg;
  |  | 3724|  12.4M|                c = callable;
  |  | 3725|  12.4M|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 3726|  12.4M|            }
  |  | 3727|       |            // _POP_TOP
  |  | 3728|      0|            {
  |  | 3729|  12.4M|                value = c;
  |  | 3730|  12.4M|                stack_pointer[-3] = res;
  |  | 3731|  12.4M|                stack_pointer[-2] = a;
  |  | 3732|  12.4M|                stack_pointer += -1;
  |  | 3733|  12.4M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  12.4M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3734|  12.4M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3735|  12.4M|                PyStackRef_XCLOSE(value);
  |  | 3736|  12.4M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3737|  12.4M|            }
  |  | 3738|       |            // _POP_TOP
  |  | 3739|  12.4M|            {
  |  | 3740|  12.4M|                value = a;
  |  | 3741|  12.4M|                stack_pointer += -1;
  |  | 3742|  12.4M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  12.4M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3743|  12.4M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3744|  12.4M|                PyStackRef_XCLOSE(value);
  |  | 3745|  12.4M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3746|  12.4M|            }
  |  | 3747|  12.4M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  12.4M|    { \
  |  |  |  |  201|  12.4M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  12.4M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  12.4M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  12.4M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  12.4M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  12.4M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  12.4M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  12.4M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 12.4M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  12.4M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  12.4M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  12.4M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  12.4M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  12.4M|    }
  |  |  ------------------
  |  | 3748|  12.4M|        }
  |  | 3749|       |
  |  | 3750|  4.60M|        TARGET(CALL_LIST_APPEND) {
  |  |  ------------------
  |  |  |  |  132|  4.60M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3751|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3752|       |            int opcode = CALL_LIST_APPEND;
  |  | 3753|       |            (void)(opcode);
  |  | 3754|       |            #endif
  |  | 3755|  4.60M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 3756|  4.60M|            (void)this_instr;
  |  | 3757|  4.60M|            frame->instr_ptr = next_instr;
  |  | 3758|  4.60M|            next_instr += 4;
  |  | 3759|  4.60M|            INSTRUCTION_STATS(CALL_LIST_APPEND);
  |  |  ------------------
  |  |  |  |   71|  4.60M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3760|  4.60M|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 3761|  4.60M|            _PyStackRef callable;
  |  | 3762|  4.60M|            _PyStackRef nos;
  |  | 3763|  4.60M|            _PyStackRef self;
  |  | 3764|  4.60M|            _PyStackRef arg;
  |  | 3765|  4.60M|            _PyStackRef none;
  |  | 3766|  4.60M|            _PyStackRef c;
  |  | 3767|  4.60M|            _PyStackRef s;
  |  | 3768|  4.60M|            _PyStackRef value;
  |  | 3769|       |            /* Skip 1 cache entry */
  |  | 3770|       |            /* Skip 2 cache entries */
  |  | 3771|       |            // _GUARD_CALLABLE_LIST_APPEND
  |  | 3772|  4.60M|            {
  |  | 3773|  4.60M|                callable = stack_pointer[-3];
  |  | 3774|  4.60M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3775|  4.60M|                PyInterpreterState *interp = tstate->interp;
  |  | 3776|  4.60M|                if (callable_o != interp->callable_cache.list_append) {
  |  |  ------------------
  |  |  |  Branch (3776:21): [True: 0, False: 4.60M]
  |  |  ------------------
  |  | 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|  4.60M|            }
  |  | 3782|       |            // _GUARD_NOS_NOT_NULL
  |  | 3783|  4.60M|            {
  |  | 3784|  4.60M|                nos = stack_pointer[-2];
  |  | 3785|  4.60M|                if (PyStackRef_IsNull(nos)) {
  |  |  ------------------
  |  |  |  |  470|  4.60M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|  4.60M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  4.60M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (470:32): [True: 0, False: 4.60M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 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|  4.60M|            }
  |  | 3791|       |            // _GUARD_NOS_LIST
  |  | 3792|  4.60M|            {
  |  | 3793|  4.60M|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  | 3794|  4.60M|                if (!PyList_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   26|  4.60M|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  4.60M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  4.60M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  4.60M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3794:21): [True: 0, False: 4.60M]
  |  |  ------------------
  |  | 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|  4.60M|            }
  |  | 3800|       |            // _CALL_LIST_APPEND
  |  | 3801|  4.60M|            {
  |  | 3802|  4.60M|                arg = stack_pointer[-1];
  |  | 3803|  4.60M|                self = nos;
  |  | 3804|  4.60M|                assert(oparg == 1);
  |  | 3805|  4.60M|                PyObject *self_o = PyStackRef_AsPyObjectBorrow(self);
  |  | 3806|  4.60M|                if (!LOCK_OBJECT(self_o)) {
  |  |  ------------------
  |  |  |  |  321|  4.60M|#  define LOCK_OBJECT(op) (1)
  |  |  ------------------
  |  |  |  Branch (3806:21): [Folded, False: 4.60M]
  |  |  ------------------
  |  | 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|  4.60M|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  4.60M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 3812|  4.60M|                int err = _PyList_AppendTakeRef((PyListObject *)self_o, PyStackRef_AsPyObjectSteal(arg));
  |  | 3813|  4.60M|                UNLOCK_OBJECT(self_o);
  |  |  ------------------
  |  |  |  |  322|  4.60M|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  | 3814|  4.60M|                if (err) {
  |  |  ------------------
  |  |  |  Branch (3814:21): [True: 0, False: 4.60M]
  |  |  ------------------
  |  | 3815|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3816|      0|                }
  |  | 3817|  4.60M|                c = callable;
  |  | 3818|  4.60M|                s = self;
  |  | 3819|  4.60M|                none = PyStackRef_None;
  |  |  ------------------
  |  |  |  |  473|  4.60M|#define PyStackRef_None ((_PyStackRef){.bits = ((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  4.60M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3820|  4.60M|            }
  |  | 3821|       |            // _POP_TOP
  |  | 3822|      0|            {
  |  | 3823|  4.60M|                value = s;
  |  | 3824|  4.60M|                stack_pointer[-3] = none;
  |  | 3825|  4.60M|                stack_pointer[-2] = c;
  |  | 3826|  4.60M|                stack_pointer += -1;
  |  | 3827|  4.60M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  4.60M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3828|  4.60M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3829|  4.60M|                PyStackRef_XCLOSE(value);
  |  | 3830|  4.60M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3831|  4.60M|            }
  |  | 3832|       |            // _POP_TOP
  |  | 3833|  4.60M|            {
  |  | 3834|  4.60M|                value = c;
  |  | 3835|  4.60M|                stack_pointer += -1;
  |  | 3836|  4.60M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  4.60M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3837|  4.60M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3838|  4.60M|                PyStackRef_XCLOSE(value);
  |  | 3839|  4.60M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3840|  4.60M|            }
  |  | 3841|  4.60M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  4.60M|    { \
  |  |  |  |  201|  4.60M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  4.60M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  4.60M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  4.60M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  4.60M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  4.60M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  4.60M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  4.60M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 4.60M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  4.60M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  4.60M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  4.60M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  4.60M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  4.60M|    }
  |  |  ------------------
  |  | 3842|  4.60M|        }
  |  | 3843|       |
  |  | 3844|  3.46M|        TARGET(CALL_METHOD_DESCRIPTOR_FAST) {
  |  |  ------------------
  |  |  |  |  132|  3.46M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 3845|       |            #if _Py_TAIL_CALL_INTERP
  |  | 3846|       |            int opcode = CALL_METHOD_DESCRIPTOR_FAST;
  |  | 3847|       |            (void)(opcode);
  |  | 3848|       |            #endif
  |  | 3849|  3.46M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 3850|  3.46M|            (void)this_instr;
  |  | 3851|  3.46M|            frame->instr_ptr = next_instr;
  |  | 3852|  3.46M|            next_instr += 4;
  |  | 3853|  3.46M|            INSTRUCTION_STATS(CALL_METHOD_DESCRIPTOR_FAST);
  |  |  ------------------
  |  |  |  |   71|  3.46M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3854|  3.46M|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 3855|  3.46M|            _PyStackRef callable;
  |  | 3856|  3.46M|            _PyStackRef self_or_null;
  |  | 3857|  3.46M|            _PyStackRef *args;
  |  | 3858|  3.46M|            _PyStackRef value;
  |  | 3859|       |            /* Skip 1 cache entry */
  |  | 3860|       |            /* Skip 2 cache entries */
  |  | 3861|       |            // _GUARD_CALLABLE_METHOD_DESCRIPTOR_FAST
  |  | 3862|  3.46M|            {
  |  | 3863|  3.46M|                args = &stack_pointer[-oparg];
  |  | 3864|  3.46M|                self_or_null = stack_pointer[-1 - oparg];
  |  | 3865|  3.46M|                callable = stack_pointer[-2 - oparg];
  |  | 3866|  3.46M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3867|  3.46M|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 3868|  3.46M|                if (!Py_IS_TYPE(method, &PyMethodDescr_Type)) {
  |  |  ------------------
  |  |  |  |   65|  3.46M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.46M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.46M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3868:21): [True: 0, False: 3.46M]
  |  |  ------------------
  |  | 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|  3.46M|                if (method->d_method->ml_flags != METH_FASTCALL) {
  |  |  ------------------
  |  |  |  |  115|  3.46M|#  define METH_FASTCALL  0x0080
  |  |  ------------------
  |  |  |  Branch (3873:21): [True: 0, False: 3.46M]
  |  |  ------------------
  |  | 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|  3.46M|                int total_args = oparg;
  |  | 3879|  3.46M|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  470|  3.46M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|  3.46M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  3.46M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3879:21): [True: 3.46M, False: 0]
  |  |  ------------------
  |  | 3880|  3.46M|                    total_args++;
  |  | 3881|  3.46M|                }
  |  | 3882|  3.46M|                if (total_args == 0) {
  |  |  ------------------
  |  |  |  Branch (3882:21): [True: 0, False: 3.46M]
  |  |  ------------------
  |  | 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|  3.46M|                PyObject *self = PyStackRef_AsPyObjectBorrow(
  |  | 3888|  3.46M|                    PyStackRef_IsNull(self_or_null) ? args[0] : self_or_null);
  |  |  ------------------
  |  |  |  |  470|  3.46M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|  3.46M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  3.46M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (470:32): [True: 0, False: 3.46M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3889|  3.46M|                if (!Py_IS_TYPE(self, method->d_common.d_type)) {
  |  |  ------------------
  |  |  |  |   65|  3.46M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.46M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.46M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3889:21): [True: 10.7k, False: 3.45M]
  |  |  ------------------
  |  | 3890|  10.7k|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|  10.7k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 3891|  10.7k|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 3892|  10.7k|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|  10.7k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 3893|      0|                }
  |  | 3894|  3.46M|            }
  |  | 3895|       |            // _CALL_METHOD_DESCRIPTOR_FAST
  |  | 3896|  3.45M|            {
  |  | 3897|  3.45M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3898|  3.45M|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 3899|  3.45M|                int total_args = oparg;
  |  | 3900|  3.45M|                _PyStackRef *arguments = args;
  |  | 3901|  3.45M|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  470|  3.45M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|  3.45M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  3.45M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3901:21): [True: 3.45M, False: 0]
  |  |  ------------------
  |  | 3902|  3.45M|                    arguments--;
  |  | 3903|  3.45M|                    total_args++;
  |  | 3904|  3.45M|                }
  |  | 3905|  3.45M|                PyObject *self = PyStackRef_AsPyObjectBorrow(arguments[0]);
  |  | 3906|  3.45M|                assert(self != NULL);
  |  | 3907|  3.45M|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  3.45M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 3908|  3.45M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3909|  3.45M|                PyCFunctionFast cfunc = _PyCFunctionFast_CAST(method->d_method->ml_meth);
  |  |  ------------------
  |  |  |  |   58|  3.45M|    _Py_FUNC_CAST(PyCFunctionFast, func)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  3.45M|#define _Py_FUNC_CAST(T, func) _Py_CAST(T, _Py_CAST(void(*)(void), (func)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.45M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3910|  3.45M|                PyObject *res_o = _PyCallMethodDescriptorFast_StackRef(
  |  | 3911|  3.45M|                    callable,
  |  | 3912|  3.45M|                    cfunc,
  |  | 3913|  3.45M|                    self,
  |  | 3914|  3.45M|                    arguments,
  |  | 3915|  3.45M|                    total_args
  |  | 3916|  3.45M|                );
  |  | 3917|  3.45M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3918|  3.45M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (3918:21): [True: 20.2k, False: 3.43M]
  |  |  ------------------
  |  | 3919|  20.2k|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|  20.2k|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3920|      0|                }
  |  | 3921|  3.43M|                _PyStackRef temp = callable;
  |  | 3922|  3.43M|                callable = PyStackRef_FromPyObjectSteal(res_o);
  |  | 3923|  3.43M|                stack_pointer[-2 - oparg] = callable;
  |  | 3924|  3.43M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3925|  3.43M|                PyStackRef_CLOSE(temp);
  |  | 3926|  3.43M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3927|  3.43M|            }
  |  | 3928|       |            // _POP_TOP_OPARG
  |  | 3929|      0|            {
  |  | 3930|  3.43M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3931|  3.43M|                _PyStackRef_CloseStack(args, oparg);
  |  | 3932|  3.43M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3933|  3.43M|            }
  |  | 3934|       |            // _POP_TOP
  |  | 3935|  3.43M|            {
  |  | 3936|  3.43M|                value = self_or_null;
  |  | 3937|  3.43M|                stack_pointer += -1 - oparg;
  |  | 3938|  3.43M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  3.43M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 3939|  3.43M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3940|  3.43M|                PyStackRef_XCLOSE(value);
  |  | 3941|  3.43M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3942|  3.43M|            }
  |  | 3943|       |            // _CHECK_PERIODIC_AT_END
  |  | 3944|  3.43M|            {
  |  | 3945|  3.43M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 3946|  3.43M|                int err = check_periodics(tstate);
  |  | 3947|  3.43M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 3948|  3.43M|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (3948:21): [True: 0, False: 3.43M]
  |  |  ------------------
  |  | 3949|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 3950|      0|                }
  |  | 3951|  3.43M|            }
  |  | 3952|  3.43M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.43M|    { \
  |  |  |  |  201|  3.43M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  3.43M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  3.43M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  3.43M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  3.43M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  3.43M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  3.43M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  3.43M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 3.43M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.43M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.43M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.43M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.43M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.43M|    }
  |  |  ------------------
  |  | 3953|  3.43M|        }
  |  | 3954|       |
  |  | 3955|  3.32M|        TARGET(CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS) {
  |  |  ------------------
  |  |  |  |  132|  3.32M|#  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|  3.32M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 3961|  3.32M|            (void)this_instr;
  |  | 3962|  3.32M|            frame->instr_ptr = next_instr;
  |  | 3963|  3.32M|            next_instr += 4;
  |  | 3964|  3.32M|            INSTRUCTION_STATS(CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS);
  |  |  ------------------
  |  |  |  |   71|  3.32M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 3965|  3.32M|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 3966|  3.32M|            _PyStackRef callable;
  |  | 3967|  3.32M|            _PyStackRef self_or_null;
  |  | 3968|  3.32M|            _PyStackRef *args;
  |  | 3969|  3.32M|            _PyStackRef value;
  |  | 3970|       |            /* Skip 1 cache entry */
  |  | 3971|       |            /* Skip 2 cache entries */
  |  | 3972|       |            // _GUARD_CALLABLE_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS
  |  | 3973|  3.32M|            {
  |  | 3974|  3.32M|                args = &stack_pointer[-oparg];
  |  | 3975|  3.32M|                self_or_null = stack_pointer[-1 - oparg];
  |  | 3976|  3.32M|                callable = stack_pointer[-2 - oparg];
  |  | 3977|  3.32M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 3978|  3.32M|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 3979|  3.32M|                if (!Py_IS_TYPE(method, &PyMethodDescr_Type)) {
  |  |  ------------------
  |  |  |  |   65|  3.32M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.32M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.32M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3979:21): [True: 0, False: 3.32M]
  |  |  ------------------
  |  | 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|  3.32M|                if (method->d_method->ml_flags != (METH_FASTCALL|METH_KEYWORDS)) {
  |  |  ------------------
  |  |  |  |  115|  3.32M|#  define METH_FASTCALL  0x0080
  |  |  ------------------
  |  |                               if (method->d_method->ml_flags != (METH_FASTCALL|METH_KEYWORDS)) {
  |  |  ------------------
  |  |  |  |   96|  3.32M|#define METH_KEYWORDS 0x0002
  |  |  ------------------
  |  |  |  Branch (3984:21): [True: 0, False: 3.32M]
  |  |  ------------------
  |  | 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|  3.32M|                int total_args = oparg;
  |  | 3990|  3.32M|                _PyStackRef *arguments = args;
  |  | 3991|  3.32M|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  470|  3.32M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|  3.32M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  3.32M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (3991:21): [True: 3.32M, False: 0]
  |  |  ------------------
  |  | 3992|  3.32M|                    arguments--;
  |  | 3993|  3.32M|                    total_args++;
  |  | 3994|  3.32M|                }
  |  | 3995|  3.32M|                if (total_args == 0) {
  |  |  ------------------
  |  |  |  Branch (3995:21): [True: 0, False: 3.32M]
  |  |  ------------------
  |  | 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|  3.32M|                PyObject *self = PyStackRef_AsPyObjectBorrow(arguments[0]);
  |  | 4001|  3.32M|                if (!Py_IS_TYPE(self, method->d_common.d_type)) {
  |  |  ------------------
  |  |  |  |   65|  3.32M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.32M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.32M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4001:21): [True: 0, False: 3.32M]
  |  |  ------------------
  |  | 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|  3.32M|            }
  |  | 4007|       |            // _CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS
  |  | 4008|  3.32M|            {
  |  | 4009|  3.32M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4010|  3.32M|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 4011|  3.32M|                int total_args = oparg;
  |  | 4012|  3.32M|                _PyStackRef *arguments = args;
  |  | 4013|  3.32M|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  470|  3.32M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|  3.32M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  3.32M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4013:21): [True: 3.32M, False: 0]
  |  |  ------------------
  |  | 4014|  3.32M|                    arguments--;
  |  | 4015|  3.32M|                    total_args++;
  |  | 4016|  3.32M|                }
  |  | 4017|  3.32M|                PyObject *self = PyStackRef_AsPyObjectBorrow(arguments[0]);
  |  | 4018|  3.32M|                assert(self != NULL);
  |  | 4019|  3.32M|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  3.32M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 4020|  3.32M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4021|  3.32M|                PyCFunctionFastWithKeywords cfunc = _PyCFunctionFastWithKeywords_CAST(method->d_method->ml_meth);
  |  |  ------------------
  |  |  |  |   62|  3.32M|    _Py_FUNC_CAST(PyCFunctionFastWithKeywords, func)
  |  |  |  |  ------------------
  |  |  |  |  |  |   47|  3.32M|#define _Py_FUNC_CAST(T, func) _Py_CAST(T, _Py_CAST(void(*)(void), (func)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.32M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4022|  3.32M|                PyObject *res_o = _PyCallMethodDescriptorFastWithKeywords_StackRef(
  |  | 4023|  3.32M|                    callable,
  |  | 4024|  3.32M|                    cfunc,
  |  | 4025|  3.32M|                    self,
  |  | 4026|  3.32M|                    arguments,
  |  | 4027|  3.32M|                    total_args
  |  | 4028|  3.32M|                );
  |  | 4029|  3.32M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4030|  3.32M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (4030:21): [True: 29.9k, False: 3.29M]
  |  |  ------------------
  |  | 4031|  29.9k|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|  29.9k|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4032|      0|                }
  |  | 4033|  3.29M|                _PyStackRef temp = callable;
  |  | 4034|  3.29M|                callable = PyStackRef_FromPyObjectSteal(res_o);
  |  | 4035|  3.29M|                stack_pointer[-2 - oparg] = callable;
  |  | 4036|  3.29M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4037|  3.29M|                PyStackRef_CLOSE(temp);
  |  | 4038|  3.29M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4039|  3.29M|            }
  |  | 4040|       |            // _POP_TOP_OPARG
  |  | 4041|      0|            {
  |  | 4042|  3.29M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4043|  3.29M|                _PyStackRef_CloseStack(args, oparg);
  |  | 4044|  3.29M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4045|  3.29M|            }
  |  | 4046|       |            // _POP_TOP
  |  | 4047|  3.29M|            {
  |  | 4048|  3.29M|                value = self_or_null;
  |  | 4049|  3.29M|                stack_pointer += -1 - oparg;
  |  | 4050|  3.29M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  3.29M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4051|  3.29M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4052|  3.29M|                PyStackRef_XCLOSE(value);
  |  | 4053|  3.29M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4054|  3.29M|            }
  |  | 4055|       |            // _CHECK_PERIODIC_AT_END
  |  | 4056|  3.29M|            {
  |  | 4057|  3.29M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4058|  3.29M|                int err = check_periodics(tstate);
  |  | 4059|  3.29M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4060|  3.29M|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (4060:21): [True: 0, False: 3.29M]
  |  |  ------------------
  |  | 4061|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4062|      0|                }
  |  | 4063|  3.29M|            }
  |  | 4064|  3.29M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.29M|    { \
  |  |  |  |  201|  3.29M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  3.29M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  3.29M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  3.29M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  3.29M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  3.29M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  3.29M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  3.29M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 3.29M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.29M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.29M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.29M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.29M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.29M|    }
  |  |  ------------------
  |  | 4065|  3.29M|        }
  |  | 4066|       |
  |  | 4067|  2.82M|        TARGET(CALL_METHOD_DESCRIPTOR_NOARGS) {
  |  |  ------------------
  |  |  |  |  132|  2.82M|#  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.82M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4073|  2.82M|            (void)this_instr;
  |  | 4074|  2.82M|            frame->instr_ptr = next_instr;
  |  | 4075|  2.82M|            next_instr += 4;
  |  | 4076|  2.82M|            INSTRUCTION_STATS(CALL_METHOD_DESCRIPTOR_NOARGS);
  |  |  ------------------
  |  |  |  |   71|  2.82M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4077|  2.82M|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4078|  2.82M|            _PyStackRef callable;
  |  | 4079|  2.82M|            _PyStackRef self_or_null;
  |  | 4080|  2.82M|            _PyStackRef *args;
  |  | 4081|  2.82M|            _PyStackRef res;
  |  | 4082|  2.82M|            _PyStackRef c;
  |  | 4083|  2.82M|            _PyStackRef s;
  |  | 4084|  2.82M|            _PyStackRef value;
  |  | 4085|       |            /* Skip 1 cache entry */
  |  | 4086|       |            /* Skip 2 cache entries */
  |  | 4087|       |            // _GUARD_CALLABLE_METHOD_DESCRIPTOR_NOARGS
  |  | 4088|  2.82M|            {
  |  | 4089|  2.82M|                args = &stack_pointer[-oparg];
  |  | 4090|  2.82M|                self_or_null = stack_pointer[-1 - oparg];
  |  | 4091|  2.82M|                callable = stack_pointer[-2 - oparg];
  |  | 4092|  2.82M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4093|  2.82M|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 4094|  2.82M|                if (!Py_IS_TYPE(method, &PyMethodDescr_Type)) {
  |  |  ------------------
  |  |  |  |   65|  2.82M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.82M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.82M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4094:21): [True: 337, False: 2.82M]
  |  |  ------------------
  |  | 4095|    337|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|    337|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4096|    337|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 4097|    337|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|    337|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4098|      0|                }
  |  | 4099|  2.82M|                if (method->d_method->ml_flags != METH_NOARGS) {
  |  |  ------------------
  |  |  |  |   98|  2.82M|#define METH_NOARGS   0x0004
  |  |  ------------------
  |  |  |  Branch (4099:21): [True: 405, False: 2.81M]
  |  |  ------------------
  |  | 4100|    405|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|    405|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4101|    405|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 4102|    405|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|    405|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4103|      0|                }
  |  | 4104|  2.81M|                int total_args = oparg;
  |  | 4105|  2.81M|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  470|  2.81M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|  2.81M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  2.81M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4105:21): [True: 2.81M, False: 0]
  |  |  ------------------
  |  | 4106|  2.81M|                    total_args++;
  |  | 4107|  2.81M|                }
  |  | 4108|  2.81M|                if (total_args != 1) {
  |  |  ------------------
  |  |  |  Branch (4108:21): [True: 0, False: 2.81M]
  |  |  ------------------
  |  | 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.81M|                PyObject *self = PyStackRef_AsPyObjectBorrow(
  |  | 4114|  2.81M|                    PyStackRef_IsNull(self_or_null) ? args[0] : self_or_null);
  |  |  ------------------
  |  |  |  |  470|  2.81M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|  2.81M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  2.81M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (470:32): [True: 0, False: 2.81M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4115|  2.81M|                if (!Py_IS_TYPE(self, method->d_common.d_type)) {
  |  |  ------------------
  |  |  |  |   65|  2.81M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.81M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.81M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4115:21): [True: 36.1k, False: 2.78M]
  |  |  ------------------
  |  | 4116|  36.1k|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|  36.1k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4117|  36.1k|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 4118|  36.1k|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|  36.1k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4119|      0|                }
  |  | 4120|  2.81M|            }
  |  | 4121|       |            // _CHECK_RECURSION_LIMIT
  |  | 4122|  2.78M|            {
  |  | 4123|  2.78M|                if (_Py_ReachedRecursionLimit(tstate)) {
  |  |  ------------------
  |  |  |  Branch (4123:21): [True: 0, False: 2.78M]
  |  |  ------------------
  |  | 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.78M|            }
  |  | 4129|       |            // _CALL_METHOD_DESCRIPTOR_NOARGS
  |  | 4130|  2.78M|            {
  |  | 4131|  2.78M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4132|  2.78M|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 4133|  2.78M|                assert(oparg == 1 || !PyStackRef_IsNull(self_or_null));
  |  | 4134|  2.78M|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  470|  2.78M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|  2.78M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  2.78M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4134:21): [True: 2.78M, False: 0]
  |  |  ------------------
  |  | 4135|  2.78M|                    args--;
  |  | 4136|  2.78M|                }
  |  | 4137|  2.78M|                _PyStackRef self_stackref = args[0];
  |  | 4138|  2.78M|                PyObject *self = PyStackRef_AsPyObjectBorrow(self_stackref);
  |  | 4139|  2.78M|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  2.78M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 4140|  2.78M|                PyCFunction cfunc = method->d_method->ml_meth;
  |  | 4141|  2.78M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4142|  2.78M|                PyObject *res_o = _PyCFunction_TrampolineCall(cfunc, self, NULL);
  |  |  ------------------
  |  |  |  |  997|  2.78M|    (meth)((self), (args))
  |  |  ------------------
  |  | 4143|  2.78M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4144|  2.78M|                _Py_LeaveRecursiveCallTstate(tstate);
  |  | 4145|  2.78M|                assert((res_o != NULL) ^ (_PyErr_Occurred(tstate) != NULL));
  |  | 4146|  2.78M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (4146:21): [True: 104k, False: 2.67M]
  |  |  ------------------
  |  | 4147|   104k|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|   104k|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4148|      0|                }
  |  | 4149|  2.67M|                c = callable;
  |  | 4150|  2.67M|                s = args[0];
  |  | 4151|  2.67M|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 4152|  2.67M|            }
  |  | 4153|       |            // _POP_TOP
  |  | 4154|      0|            {
  |  | 4155|  2.67M|                value = s;
  |  | 4156|  2.67M|                stack_pointer[-2 - oparg] = res;
  |  | 4157|  2.67M|                stack_pointer[-1 - oparg] = c;
  |  | 4158|  2.67M|                stack_pointer += -oparg;
  |  | 4159|  2.67M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.67M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4160|  2.67M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4161|  2.67M|                PyStackRef_XCLOSE(value);
  |  | 4162|  2.67M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4163|  2.67M|            }
  |  | 4164|       |            // _POP_TOP
  |  | 4165|  2.67M|            {
  |  | 4166|  2.67M|                value = c;
  |  | 4167|  2.67M|                stack_pointer += -1;
  |  | 4168|  2.67M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.67M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4169|  2.67M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4170|  2.67M|                PyStackRef_XCLOSE(value);
  |  | 4171|  2.67M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4172|  2.67M|            }
  |  | 4173|       |            // _CHECK_PERIODIC_AT_END
  |  | 4174|  2.67M|            {
  |  | 4175|  2.67M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4176|  2.67M|                int err = check_periodics(tstate);
  |  | 4177|  2.67M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4178|  2.67M|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (4178:21): [True: 0, False: 2.67M]
  |  |  ------------------
  |  | 4179|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4180|      0|                }
  |  | 4181|  2.67M|            }
  |  | 4182|  2.67M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.67M|    { \
  |  |  |  |  201|  2.67M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  2.67M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  2.67M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  2.67M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  2.67M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  2.67M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  2.67M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  2.67M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 2.67M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.67M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.67M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.67M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.67M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.67M|    }
  |  |  ------------------
  |  | 4183|  2.67M|        }
  |  | 4184|       |
  |  | 4185|   760k|        TARGET(CALL_METHOD_DESCRIPTOR_O) {
  |  |  ------------------
  |  |  |  |  132|   760k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4186|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4187|       |            int opcode = CALL_METHOD_DESCRIPTOR_O;
  |  | 4188|       |            (void)(opcode);
  |  | 4189|       |            #endif
  |  | 4190|   760k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4191|   760k|            (void)this_instr;
  |  | 4192|   760k|            frame->instr_ptr = next_instr;
  |  | 4193|   760k|            next_instr += 4;
  |  | 4194|   760k|            INSTRUCTION_STATS(CALL_METHOD_DESCRIPTOR_O);
  |  |  ------------------
  |  |  |  |   71|   760k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4195|   760k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4196|   760k|            _PyStackRef callable;
  |  | 4197|   760k|            _PyStackRef self_or_null;
  |  | 4198|   760k|            _PyStackRef *args;
  |  | 4199|   760k|            _PyStackRef res;
  |  | 4200|   760k|            _PyStackRef c;
  |  | 4201|   760k|            _PyStackRef s;
  |  | 4202|   760k|            _PyStackRef a;
  |  | 4203|   760k|            _PyStackRef value;
  |  | 4204|       |            /* Skip 1 cache entry */
  |  | 4205|       |            /* Skip 2 cache entries */
  |  | 4206|       |            // _GUARD_CALLABLE_METHOD_DESCRIPTOR_O
  |  | 4207|   760k|            {
  |  | 4208|   760k|                args = &stack_pointer[-oparg];
  |  | 4209|   760k|                self_or_null = stack_pointer[-1 - oparg];
  |  | 4210|   760k|                callable = stack_pointer[-2 - oparg];
  |  | 4211|   760k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4212|   760k|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 4213|   760k|                if (!Py_IS_TYPE(method, &PyMethodDescr_Type)) {
  |  |  ------------------
  |  |  |  |   65|   760k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   760k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   760k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4213:21): [True: 337, False: 759k]
  |  |  ------------------
  |  | 4214|    337|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|    337|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4215|    337|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 4216|    337|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|    337|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4217|      0|                }
  |  | 4218|   759k|                if (method->d_method->ml_flags != METH_O) {
  |  |  ------------------
  |  |  |  |   99|   759k|#define METH_O        0x0008
  |  |  ------------------
  |  |  |  Branch (4218:21): [True: 405, False: 759k]
  |  |  ------------------
  |  | 4219|    405|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|    405|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4220|    405|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 4221|    405|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|    405|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4222|      0|                }
  |  | 4223|   759k|                int total_args = oparg;
  |  | 4224|   759k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  470|   759k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|   759k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|   759k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4224:21): [True: 759k, False: 0]
  |  |  ------------------
  |  | 4225|   759k|                    total_args++;
  |  | 4226|   759k|                }
  |  | 4227|   759k|                if (total_args != 2) {
  |  |  ------------------
  |  |  |  Branch (4227:21): [True: 0, False: 759k]
  |  |  ------------------
  |  | 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|   759k|                PyObject *self = PyStackRef_AsPyObjectBorrow(
  |  | 4233|   759k|                    PyStackRef_IsNull(self_or_null) ? args[0] : self_or_null);
  |  |  ------------------
  |  |  |  |  470|   759k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|   759k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|   759k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (470:32): [True: 0, False: 759k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4234|   759k|                if (!Py_IS_TYPE(self, method->d_common.d_type)) {
  |  |  ------------------
  |  |  |  |   65|   759k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   759k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   759k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4234:21): [True: 20.9k, False: 738k]
  |  |  ------------------
  |  | 4235|  20.9k|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|  20.9k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4236|  20.9k|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 4237|  20.9k|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|  20.9k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4238|      0|                }
  |  | 4239|   759k|            }
  |  | 4240|       |            // _CHECK_RECURSION_LIMIT
  |  | 4241|   738k|            {
  |  | 4242|   738k|                if (_Py_ReachedRecursionLimit(tstate)) {
  |  |  ------------------
  |  |  |  Branch (4242:21): [True: 0, False: 738k]
  |  |  ------------------
  |  | 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|   738k|            }
  |  | 4248|       |            // _CALL_METHOD_DESCRIPTOR_O
  |  | 4249|   738k|            {
  |  | 4250|   738k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4251|   738k|                PyMethodDescrObject *method = (PyMethodDescrObject *)callable_o;
  |  | 4252|   738k|                _PyStackRef *arguments = args;
  |  | 4253|   738k|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  470|   738k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|   738k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|   738k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4253:21): [True: 738k, False: 0]
  |  |  ------------------
  |  | 4254|   738k|                    arguments--;
  |  | 4255|   738k|                }
  |  | 4256|   738k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|   738k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 4257|   738k|                PyCFunction cfunc = method->d_method->ml_meth;
  |  | 4258|   738k|                PyObject *self = PyStackRef_AsPyObjectBorrow(arguments[0]);
  |  | 4259|   738k|                PyObject *arg = PyStackRef_AsPyObjectBorrow(arguments[1]);
  |  | 4260|   738k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4261|   738k|                PyObject *res_o = _PyCFunction_TrampolineCall(cfunc, self, arg);
  |  |  ------------------
  |  |  |  |  997|   738k|    (meth)((self), (args))
  |  |  ------------------
  |  | 4262|   738k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4263|   738k|                _Py_LeaveRecursiveCallTstate(tstate);
  |  | 4264|   738k|                assert((res_o != NULL) ^ (_PyErr_Occurred(tstate) != NULL));
  |  | 4265|   738k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (4265:21): [True: 0, False: 738k]
  |  |  ------------------
  |  | 4266|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4267|      0|                }
  |  | 4268|   738k|                c = callable;
  |  | 4269|   738k|                s = arguments[0];
  |  | 4270|   738k|                a = arguments[1];
  |  | 4271|   738k|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 4272|   738k|            }
  |  | 4273|       |            // _POP_TOP
  |  | 4274|      0|            {
  |  | 4275|   738k|                value = a;
  |  | 4276|   738k|                stack_pointer[-2 - oparg] = res;
  |  | 4277|   738k|                stack_pointer[-1 - oparg] = c;
  |  | 4278|   738k|                stack_pointer[-oparg] = s;
  |  | 4279|   738k|                stack_pointer += 1 - oparg;
  |  | 4280|   738k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   738k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4281|   738k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4282|   738k|                PyStackRef_XCLOSE(value);
  |  | 4283|   738k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4284|   738k|            }
  |  | 4285|       |            // _POP_TOP
  |  | 4286|   738k|            {
  |  | 4287|   738k|                value = s;
  |  | 4288|   738k|                stack_pointer += -1;
  |  | 4289|   738k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   738k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4290|   738k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4291|   738k|                PyStackRef_XCLOSE(value);
  |  | 4292|   738k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4293|   738k|            }
  |  | 4294|       |            // _POP_TOP
  |  | 4295|   738k|            {
  |  | 4296|   738k|                value = c;
  |  | 4297|   738k|                stack_pointer += -1;
  |  | 4298|   738k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   738k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4299|   738k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4300|   738k|                PyStackRef_XCLOSE(value);
  |  | 4301|   738k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4302|   738k|            }
  |  | 4303|       |            // _CHECK_PERIODIC_AT_END
  |  | 4304|   738k|            {
  |  | 4305|   738k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4306|   738k|                int err = check_periodics(tstate);
  |  | 4307|   738k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4308|   738k|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (4308:21): [True: 0, False: 738k]
  |  |  ------------------
  |  | 4309|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4310|      0|                }
  |  | 4311|   738k|            }
  |  | 4312|   738k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   738k|    { \
  |  |  |  |  201|   738k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|   738k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|   738k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|   738k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|   738k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|   738k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|   738k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|   738k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 738k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   738k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   738k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   738k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   738k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   738k|    }
  |  |  ------------------
  |  | 4313|   738k|        }
  |  | 4314|       |
  |  | 4315|  16.4M|        TARGET(CALL_NON_PY_GENERAL) {
  |  |  ------------------
  |  |  |  |  132|  16.4M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4316|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4317|       |            int opcode = CALL_NON_PY_GENERAL;
  |  | 4318|       |            (void)(opcode);
  |  | 4319|       |            #endif
  |  | 4320|  16.4M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4321|  16.4M|            (void)this_instr;
  |  | 4322|  16.4M|            frame->instr_ptr = next_instr;
  |  | 4323|  16.4M|            next_instr += 4;
  |  | 4324|  16.4M|            INSTRUCTION_STATS(CALL_NON_PY_GENERAL);
  |  |  ------------------
  |  |  |  |   71|  16.4M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4325|  16.4M|            opcode = CALL_NON_PY_GENERAL;
  |  |  ------------------
  |  |  |  |  168|  16.4M|#define CALL_NON_PY_GENERAL                    163
  |  |  ------------------
  |  | 4326|  16.4M|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4327|  16.4M|            _PyStackRef callable;
  |  | 4328|  16.4M|            _PyStackRef self_or_null;
  |  | 4329|  16.4M|            _PyStackRef *args;
  |  | 4330|  16.4M|            _PyStackRef res;
  |  | 4331|       |            /* Skip 1 cache entry */
  |  | 4332|       |            /* Skip 2 cache entries */
  |  | 4333|       |            // _CHECK_IS_NOT_PY_CALLABLE
  |  | 4334|  16.4M|            {
  |  | 4335|  16.4M|                callable = stack_pointer[-2 - oparg];
  |  | 4336|  16.4M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4337|  16.4M|                if (PyFunction_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |   68|  16.4M|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  16.4M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  16.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  16.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 2.75k, False: 16.4M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4338|  2.75k|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|  2.75k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4339|  2.75k|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 4340|  2.75k|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|  2.75k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4341|      0|                }
  |  | 4342|  16.4M|                if (Py_TYPE(callable_o) == &PyMethod_Type) {
  |  |  ------------------
  |  |  |  |  213|  16.4M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  16.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  16.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4342:21): [True: 0, False: 16.4M]
  |  |  ------------------
  |  | 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|  16.4M|            }
  |  | 4348|       |            // _CALL_NON_PY_GENERAL
  |  | 4349|  16.4M|            {
  |  | 4350|  16.4M|                args = &stack_pointer[-oparg];
  |  | 4351|  16.4M|                self_or_null = stack_pointer[-1 - oparg];
  |  | 4352|  16.4M|                #if TIER_ONE
  |  | 4353|  16.4M|                assert(opcode != INSTRUMENTED_CALL);
  |  | 4354|  16.4M|                #endif
  |  | 4355|  16.4M|                int total_args = oparg;
  |  | 4356|  16.4M|                _PyStackRef *arguments = args;
  |  | 4357|  16.4M|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  470|  16.4M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|  16.4M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  16.4M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4357:21): [True: 41.4k, False: 16.3M]
  |  |  ------------------
  |  | 4358|  41.4k|                    arguments--;
  |  | 4359|  41.4k|                    total_args++;
  |  | 4360|  41.4k|                }
  |  | 4361|  16.4M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4362|  16.4M|                PyObject *res_o = _Py_VectorCall_StackRefSteal(
  |  | 4363|  16.4M|                    callable,
  |  | 4364|  16.4M|                    arguments,
  |  | 4365|  16.4M|                    total_args,
  |  | 4366|  16.4M|                    PyStackRef_NULL);
  |  | 4367|  16.4M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4368|  16.4M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (4368:21): [True: 2, False: 16.4M]
  |  |  ------------------
  |  | 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|  16.4M|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 4374|  16.4M|            }
  |  | 4375|       |            // _CHECK_PERIODIC_AT_END
  |  | 4376|      0|            {
  |  | 4377|  16.4M|                stack_pointer[-2 - oparg] = res;
  |  | 4378|  16.4M|                stack_pointer += -1 - oparg;
  |  | 4379|  16.4M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  16.4M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4380|  16.4M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4381|  16.4M|                int err = check_periodics(tstate);
  |  | 4382|  16.4M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4383|  16.4M|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (4383:21): [True: 0, False: 16.4M]
  |  |  ------------------
  |  | 4384|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4385|      0|                }
  |  | 4386|  16.4M|            }
  |  | 4387|  16.4M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  16.4M|    { \
  |  |  |  |  201|  16.4M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  16.4M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  16.4M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  16.4M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  16.4M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  16.4M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  16.4M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  16.4M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 16.4M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  16.4M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  16.4M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  16.4M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  16.4M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  16.4M|    }
  |  |  ------------------
  |  | 4388|  16.4M|        }
  |  | 4389|       |
  |  | 4390|  40.5M|        TARGET(CALL_PY_EXACT_ARGS) {
  |  |  ------------------
  |  |  |  |  132|  40.5M|#  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.5M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4396|  40.5M|            (void)this_instr;
  |  | 4397|  40.5M|            frame->instr_ptr = next_instr;
  |  | 4398|  40.5M|            next_instr += 4;
  |  | 4399|  40.5M|            INSTRUCTION_STATS(CALL_PY_EXACT_ARGS);
  |  |  ------------------
  |  |  |  |   71|  40.5M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4400|  40.5M|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4401|  40.5M|            _PyStackRef callable;
  |  | 4402|  40.5M|            _PyStackRef self_or_null;
  |  | 4403|  40.5M|            _PyStackRef *args;
  |  | 4404|  40.5M|            _PyStackRef new_frame;
  |  | 4405|       |            /* Skip 1 cache entry */
  |  | 4406|       |            // _CHECK_PEP_523
  |  | 4407|  40.5M|            {
  |  | 4408|  40.5M|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  517|  40.5M|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (517:34): [True: 0, False: 40.5M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 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.5M|            }
  |  | 4414|       |            // _CHECK_FUNCTION_VERSION
  |  | 4415|  40.5M|            {
  |  | 4416|  40.5M|                callable = stack_pointer[-2 - oparg];
  |  | 4417|  40.5M|                uint32_t func_version = read_u32(&this_instr[2].cache);
  |  | 4418|  40.5M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4419|  40.5M|                if (!PyFunction_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |   68|  40.5M|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  40.5M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  40.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  40.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4419:21): [True: 103k, False: 40.4M]
  |  |  ------------------
  |  | 4420|   103k|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|   103k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4421|   103k|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 4422|   103k|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|   103k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4423|      0|                }
  |  | 4424|  40.4M|                PyFunctionObject *func = (PyFunctionObject *)callable_o;
  |  | 4425|  40.4M|                if (func->func_version != func_version) {
  |  |  ------------------
  |  |  |  Branch (4425:21): [True: 205k, False: 40.2M]
  |  |  ------------------
  |  | 4426|   205k|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|   205k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4427|   205k|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 4428|   205k|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|   205k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4429|      0|                }
  |  | 4430|  40.4M|            }
  |  | 4431|       |            // _CHECK_FUNCTION_EXACT_ARGS
  |  | 4432|  40.2M|            {
  |  | 4433|  40.2M|                self_or_null = stack_pointer[-1 - oparg];
  |  | 4434|  40.2M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4435|  40.2M|                assert(PyFunction_Check(callable_o));
  |  | 4436|  40.2M|                PyFunctionObject *func = (PyFunctionObject *)callable_o;
  |  | 4437|  40.2M|                PyCodeObject *code = (PyCodeObject *)func->func_code;
  |  | 4438|  40.2M|                if (code->co_argcount != oparg + (!PyStackRef_IsNull(self_or_null))) {
  |  |  ------------------
  |  |  |  |  470|  40.2M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|  40.2M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  40.2M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4438:21): [True: 0, False: 40.2M]
  |  |  ------------------
  |  | 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|  40.2M|            }
  |  | 4444|       |            // _CHECK_STACK_SPACE
  |  | 4445|  40.2M|            {
  |  | 4446|  40.2M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4447|  40.2M|                PyFunctionObject *func = (PyFunctionObject *)callable_o;
  |  | 4448|  40.2M|                PyCodeObject *code = (PyCodeObject *)func->func_code;
  |  | 4449|  40.2M|                if (!_PyThreadState_HasStackSpace(tstate, code->co_framesize)) {
  |  |  ------------------
  |  |  |  Branch (4449:21): [True: 106, False: 40.2M]
  |  |  ------------------
  |  | 4450|    106|                    UPDATE_MISS_STATS(CALL);
  |  |  ------------------
  |  |  |  |  298|    106|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 4451|    106|                    assert(_PyOpcode_Deopt[opcode] == (CALL));
  |  | 4452|    106|                    JUMP_TO_PREDICTED(CALL);
  |  |  ------------------
  |  |  |  |  136|    106|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 4453|      0|                }
  |  | 4454|  40.2M|            }
  |  | 4455|       |            // _CHECK_RECURSION_REMAINING
  |  | 4456|  40.2M|            {
  |  | 4457|  40.2M|                if (tstate->py_recursion_remaining <= 1) {
  |  |  ------------------
  |  |  |  Branch (4457:21): [True: 0, False: 40.2M]
  |  |  ------------------
  |  | 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|  40.2M|            }
  |  | 4463|       |            // _INIT_CALL_PY_EXACT_ARGS
  |  | 4464|  40.2M|            {
  |  | 4465|  40.2M|                args = &stack_pointer[-oparg];
  |  | 4466|  40.2M|                int has_self = !PyStackRef_IsNull(self_or_null);
  |  |  ------------------
  |  |  |  |  470|  40.2M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|  40.2M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  40.2M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4467|  40.2M|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  40.2M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 4468|  40.2M|                _PyInterpreterFrame *pushed_frame = _PyFrame_PushUnchecked(tstate, callable, oparg + has_self, frame);
  |  | 4469|  40.2M|                _PyStackRef *first_non_self_local = pushed_frame->localsplus + has_self;
  |  | 4470|  40.2M|                pushed_frame->localsplus[0] = self_or_null;
  |  | 4471|  79.1M|                for (int i = 0; i < oparg; i++) {
  |  |  ------------------
  |  |  |  Branch (4471:33): [True: 38.8M, False: 40.2M]
  |  |  ------------------
  |  | 4472|  38.8M|                    first_non_self_local[i] = args[i];
  |  | 4473|  38.8M|                }
  |  | 4474|  40.2M|                new_frame = PyStackRef_Wrap(pushed_frame);
  |  | 4475|  40.2M|            }
  |  | 4476|       |            // _SAVE_RETURN_OFFSET
  |  | 4477|  40.2M|            {
  |  | 4478|  40.2M|                #if TIER_ONE
  |  | 4479|  40.2M|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 4480|  40.2M|                #endif
  |  | 4481|       |                #if TIER_TWO
  |  | 4482|       |                frame->return_offset = oparg;
  |  | 4483|       |                #endif
  |  | 4484|  40.2M|            }
  |  | 4485|       |            // _PUSH_FRAME
  |  | 4486|  40.2M|            {
  |  | 4487|  40.2M|                assert(!IS_PEP523_HOOKED(tstate));
  |  | 4488|  40.2M|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 4489|  40.2M|                stack_pointer += -2 - oparg;
  |  | 4490|  40.2M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  40.2M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4491|  40.2M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4492|  40.2M|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  | 4493|  40.2M|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|  40.2M|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 4494|  40.2M|                frame = tstate->current_frame = temp;
  |  | 4495|  40.2M|                tstate->py_recursion_remaining--;
  |  | 4496|  40.2M|                LOAD_SP();
  |  |  ------------------
  |  |  |  |  425|  40.2M|#define LOAD_SP() \
  |  |  |  |  426|  40.2M|stack_pointer = _PyFrame_GetStackPointer(frame)
  |  |  ------------------
  |  | 4497|  40.2M|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  419|  40.2M|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  420|  40.2M|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  421|  40.2M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (421:14): [Folded, False: 40.2M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4498|  40.2M|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  345|  40.2M|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 4499|  40.2M|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  40.2M|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 4500|  40.2M|            }
  |  | 4501|  40.2M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  40.2M|    { \
  |  |  |  |  201|  40.2M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  40.2M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  40.2M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  40.2M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  40.2M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  40.2M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  40.2M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  40.2M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 40.2M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  40.2M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  40.2M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  40.2M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  40.2M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  40.2M|    }
  |  |  ------------------
  |  | 4502|  40.2M|        }
  |  | 4503|       |
  |  | 4504|  2.55M|        TARGET(CALL_PY_GENERAL) {
  |  |  ------------------
  |  |  |  |  132|  2.55M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4505|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4506|       |            int opcode = CALL_PY_GENERAL;
  |  | 4507|       |            (void)(opcode);
  |  | 4508|       |            #endif
  |  | 4509|  2.55M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4510|  2.55M|            (void)this_instr;
  |  | 4511|  2.55M|            frame->instr_ptr = next_instr;
  |  | 4512|  2.55M|            next_instr += 4;
  |  | 4513|  2.55M|            INSTRUCTION_STATS(CALL_PY_GENERAL);
  |  |  ------------------
  |  |  |  |   71|  2.55M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4514|  2.55M|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4515|  2.55M|            _PyStackRef callable;
  |  | 4516|  2.55M|            _PyStackRef self_or_null;
  |  | 4517|  2.55M|            _PyStackRef *args;
  |  | 4518|  2.55M|            _PyStackRef new_frame;
  |  | 4519|       |            /* Skip 1 cache entry */
  |  | 4520|       |            // _CHECK_PEP_523
  |  | 4521|  2.55M|            {
  |  | 4522|  2.55M|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  517|  2.55M|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (517:34): [True: 0, False: 2.55M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 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|  2.55M|            }
  |  | 4528|       |            // _CHECK_FUNCTION_VERSION
  |  | 4529|  2.55M|            {
  |  | 4530|  2.55M|                callable = stack_pointer[-2 - oparg];
  |  | 4531|  2.55M|                uint32_t func_version = read_u32(&this_instr[2].cache);
  |  | 4532|  2.55M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4533|  2.55M|                if (!PyFunction_Check(callable_o)) {
  |  |  ------------------
  |  |  |  |   68|  2.55M|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  2.55M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  2.55M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  2.55M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4533:21): [True: 0, False: 2.55M]
  |  |  ------------------
  |  | 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|  2.55M|                PyFunctionObject *func = (PyFunctionObject *)callable_o;
  |  | 4539|  2.55M|                if (func->func_version != func_version) {
  |  |  ------------------
  |  |  |  Branch (4539:21): [True: 156, False: 2.55M]
  |  |  ------------------
  |  | 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|  2.55M|            }
  |  | 4545|       |            // _CHECK_RECURSION_REMAINING
  |  | 4546|  2.55M|            {
  |  | 4547|  2.55M|                if (tstate->py_recursion_remaining <= 1) {
  |  |  ------------------
  |  |  |  Branch (4547:21): [True: 0, False: 2.55M]
  |  |  ------------------
  |  | 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|  2.55M|            }
  |  | 4553|       |            // _PY_FRAME_GENERAL
  |  | 4554|  2.55M|            {
  |  | 4555|  2.55M|                args = &stack_pointer[-oparg];
  |  | 4556|  2.55M|                self_or_null = stack_pointer[-1 - oparg];
  |  | 4557|  2.55M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4558|  2.55M|                int total_args = oparg;
  |  | 4559|  2.55M|                if (!PyStackRef_IsNull(self_or_null)) {
  |  |  ------------------
  |  |  |  |  470|  2.55M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|  2.55M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  2.55M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4559:21): [True: 2.24M, False: 312k]
  |  |  ------------------
  |  | 4560|  2.24M|                    args--;
  |  | 4561|  2.24M|                    total_args++;
  |  | 4562|  2.24M|                }
  |  | 4563|  2.55M|                assert(Py_TYPE(callable_o) == &PyFunction_Type);
  |  | 4564|  2.55M|                int code_flags = ((PyCodeObject*)PyFunction_GET_CODE(callable_o))->co_flags;
  |  |  ------------------
  |  |  |  |   93|  2.55M|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.55M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.55M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4565|  2.55M|                PyObject *locals = code_flags & CO_OPTIMIZED ? NULL : Py_NewRef(PyFunction_GET_GLOBALS(callable_o));
  |  |  ------------------
  |  |  |  |  118|  2.55M|#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: 2.55M, False: 0]
  |  |  ------------------
  |  | 4566|  2.55M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4567|  2.55M|                _PyInterpreterFrame *temp = _PyEvalFramePushAndInit(
  |  | 4568|  2.55M|                    tstate, callable, locals,
  |  | 4569|  2.55M|                    args, total_args, NULL, frame
  |  | 4570|  2.55M|                );
  |  | 4571|  2.55M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4572|  2.55M|                stack_pointer += -2 - oparg;
  |  | 4573|  2.55M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.55M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4574|  2.55M|                if (temp == NULL) {
  |  |  ------------------
  |  |  |  Branch (4574:21): [True: 0, False: 2.55M]
  |  |  ------------------
  |  | 4575|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4576|      0|                }
  |  | 4577|  2.55M|                new_frame = PyStackRef_Wrap(temp);
  |  | 4578|  2.55M|            }
  |  | 4579|       |            // _SAVE_RETURN_OFFSET
  |  | 4580|      0|            {
  |  | 4581|  2.55M|                #if TIER_ONE
  |  | 4582|  2.55M|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 4583|  2.55M|                #endif
  |  | 4584|       |                #if TIER_TWO
  |  | 4585|       |                frame->return_offset = oparg;
  |  | 4586|       |                #endif
  |  | 4587|  2.55M|            }
  |  | 4588|       |            // _PUSH_FRAME
  |  | 4589|  2.55M|            {
  |  | 4590|  2.55M|                assert(!IS_PEP523_HOOKED(tstate));
  |  | 4591|  2.55M|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 4592|  2.55M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4593|  2.55M|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  | 4594|  2.55M|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|  2.55M|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 4595|  2.55M|                frame = tstate->current_frame = temp;
  |  | 4596|  2.55M|                tstate->py_recursion_remaining--;
  |  | 4597|  2.55M|                LOAD_SP();
  |  |  ------------------
  |  |  |  |  425|  2.55M|#define LOAD_SP() \
  |  |  |  |  426|  2.55M|stack_pointer = _PyFrame_GetStackPointer(frame)
  |  |  ------------------
  |  | 4598|  2.55M|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  419|  2.55M|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  420|  2.55M|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  421|  2.55M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (421:14): [Folded, False: 2.55M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4599|  2.55M|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  345|  2.55M|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 4600|  2.55M|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  2.55M|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 4601|  2.55M|            }
  |  | 4602|  2.55M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.55M|    { \
  |  |  |  |  201|  2.55M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  2.55M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  2.55M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  2.55M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  2.55M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  2.55M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  2.55M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  2.55M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 2.55M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.55M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.55M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.55M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.55M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.55M|    }
  |  |  ------------------
  |  | 4603|  2.55M|        }
  |  | 4604|       |
  |  | 4605|  23.2k|        TARGET(CALL_STR_1) {
  |  |  ------------------
  |  |  |  |  132|  23.2k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4606|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4607|       |            int opcode = CALL_STR_1;
  |  | 4608|       |            (void)(opcode);
  |  | 4609|       |            #endif
  |  | 4610|  23.2k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4611|  23.2k|            (void)this_instr;
  |  | 4612|  23.2k|            frame->instr_ptr = next_instr;
  |  | 4613|  23.2k|            next_instr += 4;
  |  | 4614|  23.2k|            INSTRUCTION_STATS(CALL_STR_1);
  |  |  ------------------
  |  |  |  |   71|  23.2k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4615|  23.2k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4616|  23.2k|            _PyStackRef null;
  |  | 4617|  23.2k|            _PyStackRef callable;
  |  | 4618|  23.2k|            _PyStackRef arg;
  |  | 4619|  23.2k|            _PyStackRef res;
  |  | 4620|  23.2k|            _PyStackRef a;
  |  | 4621|  23.2k|            _PyStackRef value;
  |  | 4622|       |            /* Skip 1 cache entry */
  |  | 4623|       |            /* Skip 2 cache entries */
  |  | 4624|       |            // _GUARD_NOS_NULL
  |  | 4625|  23.2k|            {
  |  | 4626|  23.2k|                null = stack_pointer[-2];
  |  | 4627|  23.2k|                if (!PyStackRef_IsNull(null)) {
  |  |  ------------------
  |  |  |  |  470|  23.2k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|  23.2k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  23.2k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4627:21): [True: 0, False: 23.2k]
  |  |  ------------------
  |  | 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|  23.2k|            }
  |  | 4633|       |            // _GUARD_CALLABLE_STR_1
  |  | 4634|  23.2k|            {
  |  | 4635|  23.2k|                callable = stack_pointer[-3];
  |  | 4636|  23.2k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4637|  23.2k|                if (callable_o != (PyObject *)&PyUnicode_Type) {
  |  |  ------------------
  |  |  |  Branch (4637:21): [True: 0, False: 23.2k]
  |  |  ------------------
  |  | 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|  23.2k|            }
  |  | 4643|       |            // _CALL_STR_1
  |  | 4644|  23.2k|            {
  |  | 4645|  23.2k|                arg = stack_pointer[-1];
  |  | 4646|  23.2k|                PyObject *arg_o = PyStackRef_AsPyObjectBorrow(arg);
  |  | 4647|  23.2k|                assert(oparg == 1);
  |  | 4648|  23.2k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  23.2k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 4649|  23.2k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4650|  23.2k|                PyObject *res_o = PyObject_Str(arg_o);
  |  | 4651|  23.2k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4652|  23.2k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (4652:21): [True: 0, False: 23.2k]
  |  |  ------------------
  |  | 4653|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4654|      0|                }
  |  | 4655|  23.2k|                a = arg;
  |  | 4656|  23.2k|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 4657|  23.2k|            }
  |  | 4658|       |            // _POP_TOP
  |  | 4659|      0|            {
  |  | 4660|  23.2k|                value = a;
  |  | 4661|  23.2k|                stack_pointer[-3] = res;
  |  | 4662|  23.2k|                stack_pointer += -2;
  |  | 4663|  23.2k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  23.2k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4664|  23.2k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4665|  23.2k|                PyStackRef_XCLOSE(value);
  |  | 4666|  23.2k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4667|  23.2k|            }
  |  | 4668|       |            // _CHECK_PERIODIC_AT_END
  |  | 4669|  23.2k|            {
  |  | 4670|  23.2k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4671|  23.2k|                int err = check_periodics(tstate);
  |  | 4672|  23.2k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4673|  23.2k|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (4673:21): [True: 0, False: 23.2k]
  |  |  ------------------
  |  | 4674|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4675|      0|                }
  |  | 4676|  23.2k|            }
  |  | 4677|  23.2k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  23.2k|    { \
  |  |  |  |  201|  23.2k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  23.2k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  23.2k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  23.2k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  23.2k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  23.2k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  23.2k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  23.2k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 23.2k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  23.2k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  23.2k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  23.2k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  23.2k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  23.2k|    }
  |  |  ------------------
  |  | 4678|  23.2k|        }
  |  | 4679|       |
  |  | 4680|  1.19M|        TARGET(CALL_TUPLE_1) {
  |  |  ------------------
  |  |  |  |  132|  1.19M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4681|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4682|       |            int opcode = CALL_TUPLE_1;
  |  | 4683|       |            (void)(opcode);
  |  | 4684|       |            #endif
  |  | 4685|  1.19M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4686|  1.19M|            (void)this_instr;
  |  | 4687|  1.19M|            frame->instr_ptr = next_instr;
  |  | 4688|  1.19M|            next_instr += 4;
  |  | 4689|  1.19M|            INSTRUCTION_STATS(CALL_TUPLE_1);
  |  |  ------------------
  |  |  |  |   71|  1.19M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4690|  1.19M|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4691|  1.19M|            _PyStackRef null;
  |  | 4692|  1.19M|            _PyStackRef callable;
  |  | 4693|  1.19M|            _PyStackRef arg;
  |  | 4694|  1.19M|            _PyStackRef res;
  |  | 4695|  1.19M|            _PyStackRef a;
  |  | 4696|  1.19M|            _PyStackRef value;
  |  | 4697|       |            /* Skip 1 cache entry */
  |  | 4698|       |            /* Skip 2 cache entries */
  |  | 4699|       |            // _GUARD_NOS_NULL
  |  | 4700|  1.19M|            {
  |  | 4701|  1.19M|                null = stack_pointer[-2];
  |  | 4702|  1.19M|                if (!PyStackRef_IsNull(null)) {
  |  |  ------------------
  |  |  |  |  470|  1.19M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|  1.19M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  1.19M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4702:21): [True: 0, False: 1.19M]
  |  |  ------------------
  |  | 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|  1.19M|            }
  |  | 4708|       |            // _GUARD_CALLABLE_TUPLE_1
  |  | 4709|  1.19M|            {
  |  | 4710|  1.19M|                callable = stack_pointer[-3];
  |  | 4711|  1.19M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4712|  1.19M|                if (callable_o != (PyObject *)&PyTuple_Type) {
  |  |  ------------------
  |  |  |  Branch (4712:21): [True: 0, False: 1.19M]
  |  |  ------------------
  |  | 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|  1.19M|            }
  |  | 4718|       |            // _CALL_TUPLE_1
  |  | 4719|  1.19M|            {
  |  | 4720|  1.19M|                arg = stack_pointer[-1];
  |  | 4721|  1.19M|                PyObject *arg_o = PyStackRef_AsPyObjectBorrow(arg);
  |  | 4722|  1.19M|                assert(oparg == 1);
  |  | 4723|  1.19M|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|  1.19M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 4724|  1.19M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4725|  1.19M|                PyObject *res_o = PySequence_Tuple(arg_o);
  |  | 4726|  1.19M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4727|  1.19M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (4727:21): [True: 0, False: 1.19M]
  |  |  ------------------
  |  | 4728|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4729|      0|                }
  |  | 4730|  1.19M|                a = arg;
  |  | 4731|  1.19M|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 4732|  1.19M|            }
  |  | 4733|       |            // _POP_TOP
  |  | 4734|      0|            {
  |  | 4735|  1.19M|                value = a;
  |  | 4736|  1.19M|                stack_pointer[-3] = res;
  |  | 4737|  1.19M|                stack_pointer += -2;
  |  | 4738|  1.19M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.19M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4739|  1.19M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4740|  1.19M|                PyStackRef_XCLOSE(value);
  |  | 4741|  1.19M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4742|  1.19M|            }
  |  | 4743|       |            // _CHECK_PERIODIC_AT_END
  |  | 4744|  1.19M|            {
  |  | 4745|  1.19M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4746|  1.19M|                int err = check_periodics(tstate);
  |  | 4747|  1.19M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4748|  1.19M|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (4748:21): [True: 0, False: 1.19M]
  |  |  ------------------
  |  | 4749|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4750|      0|                }
  |  | 4751|  1.19M|            }
  |  | 4752|  1.19M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.19M|    { \
  |  |  |  |  201|  1.19M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  1.19M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  1.19M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  1.19M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  1.19M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  1.19M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  1.19M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  1.19M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 1.19M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.19M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.19M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.19M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.19M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.19M|    }
  |  |  ------------------
  |  | 4753|  1.19M|        }
  |  | 4754|       |
  |  | 4755|   197k|        TARGET(CALL_TYPE_1) {
  |  |  ------------------
  |  |  |  |  132|   197k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4756|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4757|       |            int opcode = CALL_TYPE_1;
  |  | 4758|       |            (void)(opcode);
  |  | 4759|       |            #endif
  |  | 4760|   197k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 4761|   197k|            (void)this_instr;
  |  | 4762|   197k|            frame->instr_ptr = next_instr;
  |  | 4763|   197k|            next_instr += 4;
  |  | 4764|   197k|            INSTRUCTION_STATS(CALL_TYPE_1);
  |  |  ------------------
  |  |  |  |   71|   197k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4765|   197k|            static_assert(INLINE_CACHE_ENTRIES_CALL == 3, "incorrect cache size");
  |  | 4766|   197k|            _PyStackRef null;
  |  | 4767|   197k|            _PyStackRef callable;
  |  | 4768|   197k|            _PyStackRef arg;
  |  | 4769|   197k|            _PyStackRef res;
  |  | 4770|   197k|            _PyStackRef a;
  |  | 4771|   197k|            _PyStackRef value;
  |  | 4772|       |            /* Skip 1 cache entry */
  |  | 4773|       |            /* Skip 2 cache entries */
  |  | 4774|       |            // _GUARD_NOS_NULL
  |  | 4775|   197k|            {
  |  | 4776|   197k|                null = stack_pointer[-2];
  |  | 4777|   197k|                if (!PyStackRef_IsNull(null)) {
  |  |  ------------------
  |  |  |  |  470|   197k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|   197k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|   197k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4777:21): [True: 0, False: 197k]
  |  |  ------------------
  |  | 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|   197k|            }
  |  | 4783|       |            // _GUARD_CALLABLE_TYPE_1
  |  | 4784|   197k|            {
  |  | 4785|   197k|                callable = stack_pointer[-3];
  |  | 4786|   197k|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 4787|   197k|                if (callable_o != (PyObject *)&PyType_Type) {
  |  |  ------------------
  |  |  |  Branch (4787:21): [True: 0, False: 197k]
  |  |  ------------------
  |  | 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|   197k|            }
  |  | 4793|       |            // _CALL_TYPE_1
  |  | 4794|   197k|            {
  |  | 4795|   197k|                arg = stack_pointer[-1];
  |  | 4796|   197k|                PyObject *arg_o = PyStackRef_AsPyObjectBorrow(arg);
  |  | 4797|   197k|                assert(oparg == 1);
  |  | 4798|   197k|                STAT_INC(CALL, hit);
  |  |  ------------------
  |  |  |  |   73|   197k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 4799|   197k|                a = arg;
  |  | 4800|   197k|                res = PyStackRef_FromPyObjectNew(Py_TYPE(arg_o));
  |  |  ------------------
  |  |  |  |  599|   197k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   197k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   197k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4801|   197k|            }
  |  | 4802|       |            // _POP_TOP
  |  | 4803|   197k|            {
  |  | 4804|   197k|                value = a;
  |  | 4805|   197k|                stack_pointer[-3] = res;
  |  | 4806|   197k|                stack_pointer += -2;
  |  | 4807|   197k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   197k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4808|   197k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4809|   197k|                PyStackRef_XCLOSE(value);
  |  | 4810|   197k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4811|   197k|            }
  |  | 4812|   197k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   197k|    { \
  |  |  |  |  201|   197k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|   197k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|   197k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|   197k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|   197k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|   197k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|   197k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|   197k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 197k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   197k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   197k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   197k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   197k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   197k|    }
  |  |  ------------------
  |  | 4813|   197k|        }
  |  | 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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      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.46M|        TARGET(CHECK_EXC_MATCH) {
  |  |  ------------------
  |  |  |  |  132|  1.46M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4887|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4888|       |            int opcode = CHECK_EXC_MATCH;
  |  | 4889|       |            (void)(opcode);
  |  | 4890|       |            #endif
  |  | 4891|  1.46M|            frame->instr_ptr = next_instr;
  |  | 4892|  1.46M|            next_instr += 1;
  |  | 4893|  1.46M|            INSTRUCTION_STATS(CHECK_EXC_MATCH);
  |  |  ------------------
  |  |  |  |   71|  1.46M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4894|  1.46M|            _PyStackRef left;
  |  | 4895|  1.46M|            _PyStackRef right;
  |  | 4896|  1.46M|            _PyStackRef b;
  |  | 4897|  1.46M|            right = stack_pointer[-1];
  |  | 4898|  1.46M|            left = stack_pointer[-2];
  |  | 4899|  1.46M|            PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 4900|  1.46M|            PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 4901|  1.46M|            assert(PyExceptionInstance_Check(left_o));
  |  | 4902|  1.46M|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4903|  1.46M|            int err = _PyEval_CheckExceptTypeValid(tstate, right_o);
  |  | 4904|  1.46M|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4905|  1.46M|            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (4905:17): [True: 0, False: 1.46M]
  |  |  ------------------
  |  | 4906|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 4907|      0|            }
  |  | 4908|  1.46M|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4909|  1.46M|            int res = PyErr_GivenExceptionMatches(left_o, right_o);
  |  | 4910|  1.46M|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4911|  1.46M|            stack_pointer += -1;
  |  | 4912|  1.46M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.46M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4913|  1.46M|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 4914|  1.46M|            PyStackRef_CLOSE(right);
  |  | 4915|  1.46M|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 4916|  1.46M|            b = res ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  471|  1.41M|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.41M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                           b = res ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  472|  1.50M|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  44.0k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (4916:17): [True: 1.41M, False: 44.0k]
  |  |  ------------------
  |  | 4917|  1.46M|            stack_pointer[0] = b;
  |  | 4918|  1.46M|            stack_pointer += 1;
  |  | 4919|  1.46M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.46M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 4920|  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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  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|    }
  |  |  ------------------
  |  | 4921|  1.46M|        }
  |  | 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);
  |  |  ------------------
  |  |  |  |  599|      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;
  |  |  ------------------
  |  |  |  |  473|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      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|  6.61M|        TARGET(COMPARE_OP) {
  |  |  ------------------
  |  |  |  |  132|  6.61M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 4992|       |            #if _Py_TAIL_CALL_INTERP
  |  | 4993|       |            int opcode = COMPARE_OP;
  |  | 4994|       |            (void)(opcode);
  |  | 4995|       |            #endif
  |  | 4996|  6.61M|            frame->instr_ptr = next_instr;
  |  | 4997|  6.61M|            next_instr += 2;
  |  | 4998|  6.61M|            INSTRUCTION_STATS(COMPARE_OP);
  |  |  ------------------
  |  |  |  |   71|  6.61M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 4999|  6.66M|            PREDICTED_COMPARE_OP:;
  |  | 5000|  6.66M|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  | 5001|  6.66M|            (void)this_instr;
  |  | 5002|  6.66M|            _PyStackRef left;
  |  | 5003|  6.66M|            _PyStackRef right;
  |  | 5004|  6.66M|            _PyStackRef res;
  |  | 5005|       |            // _SPECIALIZE_COMPARE_OP
  |  | 5006|  6.66M|            {
  |  | 5007|  6.66M|                right = stack_pointer[-1];
  |  | 5008|  6.66M|                left = stack_pointer[-2];
  |  | 5009|  6.66M|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 5010|  6.66M|                (void)counter;
  |  | 5011|  6.66M|                #if ENABLE_SPECIALIZATION
  |  | 5012|  6.66M|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  354|  6.66M|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (354:5): [True: 4.52k, False: 6.66M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5013|  4.52k|                    next_instr = this_instr;
  |  | 5014|  4.52k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5015|  4.52k|                    _Py_Specialize_CompareOp(left, right, next_instr, oparg);
  |  | 5016|  4.52k|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5017|  4.52k|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|  4.52k|    { \
  |  |  |  |  217|  4.52k|        opcode = next_instr->op.code; \
  |  |  |  |  218|  4.52k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  4.52k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|  4.52k|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|  4.52k|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|  4.52k|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|  4.52k|    }
  |  |  ------------------
  |  | 5018|  4.52k|                }
  |  | 5019|  6.66M|                OPCODE_DEFERRED_INC(COMPARE_OP);
  |  |  ------------------
  |  |  |  |   90|  6.66M|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 5020|  6.66M|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  357|  6.66M|    do { \
  |  |  |  |  358|  6.66M|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  359|  6.66M|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (359:14): [Folded, False: 6.66M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5021|  6.66M|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 5022|  6.66M|            }
  |  | 5023|       |            // _COMPARE_OP
  |  | 5024|  6.66M|            {
  |  | 5025|  6.66M|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5026|  6.66M|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 5027|  6.66M|                assert((oparg >> 5) <= Py_GE);
  |  | 5028|  6.66M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5029|  6.66M|                PyObject *res_o = PyObject_RichCompare(left_o, right_o, oparg >> 5);
  |  | 5030|  6.66M|                _PyStackRef tmp = right;
  |  | 5031|  6.66M|                right = PyStackRef_NULL;
  |  | 5032|  6.66M|                stack_pointer[-1] = right;
  |  | 5033|  6.66M|                PyStackRef_CLOSE(tmp);
  |  | 5034|  6.66M|                tmp = left;
  |  | 5035|  6.66M|                left = PyStackRef_NULL;
  |  | 5036|  6.66M|                stack_pointer[-2] = left;
  |  | 5037|  6.66M|                PyStackRef_CLOSE(tmp);
  |  | 5038|  6.66M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5039|  6.66M|                stack_pointer += -2;
  |  | 5040|  6.66M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  6.66M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5041|  6.66M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (5041:21): [True: 0, False: 6.66M]
  |  |  ------------------
  |  | 5042|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5043|      0|                }
  |  | 5044|  6.66M|                if (oparg & 16) {
  |  |  ------------------
  |  |  |  Branch (5044:21): [True: 6.46M, False: 206k]
  |  |  ------------------
  |  | 5045|  6.46M|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5046|  6.46M|                    int res_bool = PyObject_IsTrue(res_o);
  |  | 5047|  6.46M|                    Py_DECREF(res_o);
  |  |  ------------------
  |  |  |  |   80|  6.46M|    do { \
  |  |  |  |   81|  6.46M|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.46M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.46M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|  6.46M|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|  6.46M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  6.46M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  6.46M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 6.46M, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|  6.46M|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|  6.46M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|  6.46M|            break; \
  |  |  |  |   85|  6.46M|        } \
  |  |  |  |   86|  6.46M|        _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|  6.46M|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5049|  6.46M|                    if (res_bool < 0) {
  |  |  ------------------
  |  |  |  Branch (5049:25): [True: 0, False: 6.46M]
  |  |  ------------------
  |  | 5050|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5051|      0|                    }
  |  | 5052|  6.46M|                    res = res_bool ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  471|   303k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|   303k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                                   res = res_bool ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  472|  12.6M|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  6.15M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5052:27): [True: 303k, False: 6.15M]
  |  |  ------------------
  |  | 5053|  6.46M|                }
  |  | 5054|   206k|                else {
  |  | 5055|   206k|                    res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 5056|   206k|                }
  |  | 5057|  6.66M|            }
  |  | 5058|  6.66M|            stack_pointer[0] = res;
  |  | 5059|  6.66M|            stack_pointer += 1;
  |  | 5060|  6.66M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  6.66M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5061|  6.66M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  6.66M|    { \
  |  |  |  |  201|  6.66M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  6.66M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  6.66M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  6.66M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  6.66M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  6.66M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  6.66M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  6.66M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 6.66M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  6.66M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  6.66M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  6.66M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  6.66M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  6.66M|    }
  |  |  ------------------
  |  | 5062|  6.66M|        }
  |  | 5063|       |
  |  | 5064|  18.3k|        TARGET(COMPARE_OP_FLOAT) {
  |  |  ------------------
  |  |  |  |  132|  18.3k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5065|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5066|       |            int opcode = COMPARE_OP_FLOAT;
  |  | 5067|       |            (void)(opcode);
  |  | 5068|       |            #endif
  |  | 5069|  18.3k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 5070|  18.3k|            (void)this_instr;
  |  | 5071|  18.3k|            frame->instr_ptr = next_instr;
  |  | 5072|  18.3k|            next_instr += 2;
  |  | 5073|  18.3k|            INSTRUCTION_STATS(COMPARE_OP_FLOAT);
  |  |  ------------------
  |  |  |  |   71|  18.3k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5074|  18.3k|            static_assert(INLINE_CACHE_ENTRIES_COMPARE_OP == 1, "incorrect cache size");
  |  | 5075|  18.3k|            _PyStackRef value;
  |  | 5076|  18.3k|            _PyStackRef left;
  |  | 5077|  18.3k|            _PyStackRef right;
  |  | 5078|  18.3k|            _PyStackRef res;
  |  | 5079|  18.3k|            _PyStackRef l;
  |  | 5080|  18.3k|            _PyStackRef r;
  |  | 5081|       |            // _GUARD_TOS_FLOAT
  |  | 5082|  18.3k|            {
  |  | 5083|  18.3k|                value = stack_pointer[-1];
  |  | 5084|  18.3k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 5085|  18.3k|                if (!PyFloat_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |   17|  18.3k|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  18.3k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  18.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  18.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5085:21): [True: 56, False: 18.2k]
  |  |  ------------------
  |  | 5086|     56|                    UPDATE_MISS_STATS(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  298|     56|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 5087|     56|                    assert(_PyOpcode_Deopt[opcode] == (COMPARE_OP));
  |  | 5088|     56|                    JUMP_TO_PREDICTED(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  136|     56|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 5089|      0|                }
  |  | 5090|  18.3k|            }
  |  | 5091|       |            // _GUARD_NOS_FLOAT
  |  | 5092|  18.2k|            {
  |  | 5093|  18.2k|                left = stack_pointer[-2];
  |  | 5094|  18.2k|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5095|  18.2k|                if (!PyFloat_CheckExact(left_o)) {
  |  |  ------------------
  |  |  |  |   17|  18.2k|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  18.2k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  18.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  18.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5095:21): [True: 53, False: 18.2k]
  |  |  ------------------
  |  | 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|  18.2k|            }
  |  | 5101|       |            /* Skip 1 cache entry */
  |  | 5102|       |            // _COMPARE_OP_FLOAT
  |  | 5103|  18.2k|            {
  |  | 5104|  18.2k|                right = value;
  |  | 5105|  18.2k|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5106|  18.2k|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 5107|  18.2k|                STAT_INC(COMPARE_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  18.2k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 5108|  18.2k|                double dleft = PyFloat_AS_DOUBLE(left_o);
  |  |  ------------------
  |  |  |  |   18|  18.2k|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  18.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  18.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5109|  18.2k|                double dright = PyFloat_AS_DOUBLE(right_o);
  |  |  ------------------
  |  |  |  |   18|  18.2k|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  18.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  18.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5110|  18.2k|                int sign_ish = COMPARISON_BIT(dleft, dright);
  |  |  ------------------
  |  |  |  |  523|  18.2k|#define COMPARISON_BIT(x, y) (1 << (2 * ((x) >= (y)) + ((x) <= (y))))
  |  |  ------------------
  |  | 5111|  18.2k|                l = left;
  |  | 5112|  18.2k|                r = right;
  |  | 5113|  18.2k|                res = (sign_ish & oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  471|    232|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    232|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = (sign_ish & oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  472|  36.1k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  17.9k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5113:23): [True: 232, False: 17.9k]
  |  |  ------------------
  |  | 5114|  18.2k|            }
  |  | 5115|       |            // _POP_TOP_FLOAT
  |  | 5116|  18.2k|            {
  |  | 5117|  18.2k|                value = r;
  |  | 5118|  18.2k|                assert(PyFloat_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  | 5119|  18.2k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyFloat_ExactDealloc);
  |  | 5120|  18.2k|            }
  |  | 5121|       |            // _POP_TOP_FLOAT
  |  | 5122|  18.2k|            {
  |  | 5123|  18.2k|                value = l;
  |  | 5124|  18.2k|                assert(PyFloat_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  | 5125|  18.2k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyFloat_ExactDealloc);
  |  | 5126|  18.2k|            }
  |  | 5127|  18.2k|            stack_pointer[-2] = res;
  |  | 5128|  18.2k|            stack_pointer += -1;
  |  | 5129|  18.2k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  18.2k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5130|  18.2k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  18.2k|    { \
  |  |  |  |  201|  18.2k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  18.2k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  18.2k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  18.2k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  18.2k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  18.2k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  18.2k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  18.2k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 18.2k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  18.2k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  18.2k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  18.2k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  18.2k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  18.2k|    }
  |  |  ------------------
  |  | 5131|  18.2k|        }
  |  | 5132|       |
  |  | 5133|  46.3M|        TARGET(COMPARE_OP_INT) {
  |  |  ------------------
  |  |  |  |  132|  46.3M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5134|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5135|       |            int opcode = COMPARE_OP_INT;
  |  | 5136|       |            (void)(opcode);
  |  | 5137|       |            #endif
  |  | 5138|  46.3M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 5139|  46.3M|            (void)this_instr;
  |  | 5140|  46.3M|            frame->instr_ptr = next_instr;
  |  | 5141|  46.3M|            next_instr += 2;
  |  | 5142|  46.3M|            INSTRUCTION_STATS(COMPARE_OP_INT);
  |  |  ------------------
  |  |  |  |   71|  46.3M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5143|  46.3M|            static_assert(INLINE_CACHE_ENTRIES_COMPARE_OP == 1, "incorrect cache size");
  |  | 5144|  46.3M|            _PyStackRef value;
  |  | 5145|  46.3M|            _PyStackRef left;
  |  | 5146|  46.3M|            _PyStackRef right;
  |  | 5147|  46.3M|            _PyStackRef res;
  |  | 5148|  46.3M|            _PyStackRef l;
  |  | 5149|  46.3M|            _PyStackRef r;
  |  | 5150|       |            // _GUARD_TOS_INT
  |  | 5151|  46.3M|            {
  |  | 5152|  46.3M|                value = stack_pointer[-1];
  |  | 5153|  46.3M|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 5154|  46.3M|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (5154:21): [True: 30.1k, False: 46.3M]
  |  |  ------------------
  |  | 5155|  30.1k|                    UPDATE_MISS_STATS(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  298|  30.1k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 5156|  30.1k|                    assert(_PyOpcode_Deopt[opcode] == (COMPARE_OP));
  |  | 5157|  30.1k|                    JUMP_TO_PREDICTED(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  136|  30.1k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 5158|      0|                }
  |  | 5159|  46.3M|            }
  |  | 5160|       |            // _GUARD_NOS_INT
  |  | 5161|  46.3M|            {
  |  | 5162|  46.3M|                left = stack_pointer[-2];
  |  | 5163|  46.3M|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5164|  46.3M|                if (!_PyLong_CheckExactAndCompact(left_o)) {
  |  |  ------------------
  |  |  |  Branch (5164:21): [True: 24.6k, False: 46.3M]
  |  |  ------------------
  |  | 5165|  24.6k|                    UPDATE_MISS_STATS(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  298|  24.6k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 5166|  24.6k|                    assert(_PyOpcode_Deopt[opcode] == (COMPARE_OP));
  |  | 5167|  24.6k|                    JUMP_TO_PREDICTED(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  136|  24.6k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 5168|      0|                }
  |  | 5169|  46.3M|            }
  |  | 5170|       |            /* Skip 1 cache entry */
  |  | 5171|       |            // _COMPARE_OP_INT
  |  | 5172|  46.3M|            {
  |  | 5173|  46.3M|                right = value;
  |  | 5174|  46.3M|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5175|  46.3M|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 5176|  46.3M|                assert(_PyLong_IsCompact((PyLongObject *)left_o));
  |  | 5177|  46.3M|                assert(_PyLong_IsCompact((PyLongObject *)right_o));
  |  | 5178|  46.3M|                STAT_INC(COMPARE_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  46.3M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 5179|  46.3M|                assert(_PyLong_DigitCount((PyLongObject *)left_o) <= 1 &&
  |  | 5180|  46.3M|                   _PyLong_DigitCount((PyLongObject *)right_o) <= 1);
  |  | 5181|  46.3M|                Py_ssize_t ileft = _PyLong_CompactValue((PyLongObject *)left_o);
  |  | 5182|  46.3M|                Py_ssize_t iright = _PyLong_CompactValue((PyLongObject *)right_o);
  |  | 5183|  46.3M|                int sign_ish = COMPARISON_BIT(ileft, iright);
  |  |  ------------------
  |  |  |  |  523|  46.3M|#define COMPARISON_BIT(x, y) (1 << (2 * ((x) >= (y)) + ((x) <= (y))))
  |  |  ------------------
  |  | 5184|  46.3M|                l = left;
  |  | 5185|  46.3M|                r = right;
  |  | 5186|  46.3M|                res =  (sign_ish & oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  471|  12.5M|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  12.5M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res =  (sign_ish & oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  472|  80.0M|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  33.7M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5186:24): [True: 12.5M, False: 33.7M]
  |  |  ------------------
  |  | 5187|  46.3M|            }
  |  | 5188|       |            // _POP_TOP_INT
  |  | 5189|  46.3M|            {
  |  | 5190|  46.3M|                value = r;
  |  | 5191|  46.3M|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  | 5192|  46.3M|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  | 5193|  46.3M|            }
  |  | 5194|       |            // _POP_TOP_INT
  |  | 5195|  46.3M|            {
  |  | 5196|  46.3M|                value = l;
  |  | 5197|  46.3M|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  | 5198|  46.3M|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  | 5199|  46.3M|            }
  |  | 5200|  46.3M|            stack_pointer[-2] = res;
  |  | 5201|  46.3M|            stack_pointer += -1;
  |  | 5202|  46.3M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  46.3M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5203|  46.3M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  46.3M|    { \
  |  |  |  |  201|  46.3M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  46.3M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  46.3M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  46.3M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  46.3M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  46.3M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  46.3M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  46.3M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 46.3M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  46.3M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  46.3M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  46.3M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  46.3M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  46.3M|    }
  |  |  ------------------
  |  | 5204|  46.3M|        }
  |  | 5205|       |
  |  | 5206|  7.42M|        TARGET(COMPARE_OP_STR) {
  |  |  ------------------
  |  |  |  |  132|  7.42M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5207|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5208|       |            int opcode = COMPARE_OP_STR;
  |  | 5209|       |            (void)(opcode);
  |  | 5210|       |            #endif
  |  | 5211|  7.42M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 5212|  7.42M|            (void)this_instr;
  |  | 5213|  7.42M|            frame->instr_ptr = next_instr;
  |  | 5214|  7.42M|            next_instr += 2;
  |  | 5215|  7.42M|            INSTRUCTION_STATS(COMPARE_OP_STR);
  |  |  ------------------
  |  |  |  |   71|  7.42M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5216|  7.42M|            static_assert(INLINE_CACHE_ENTRIES_COMPARE_OP == 1, "incorrect cache size");
  |  | 5217|  7.42M|            _PyStackRef value;
  |  | 5218|  7.42M|            _PyStackRef nos;
  |  | 5219|  7.42M|            _PyStackRef left;
  |  | 5220|  7.42M|            _PyStackRef right;
  |  | 5221|  7.42M|            _PyStackRef res;
  |  | 5222|  7.42M|            _PyStackRef l;
  |  | 5223|  7.42M|            _PyStackRef r;
  |  | 5224|       |            // _GUARD_TOS_UNICODE
  |  | 5225|  7.42M|            {
  |  | 5226|  7.42M|                value = stack_pointer[-1];
  |  | 5227|  7.42M|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 5228|  7.42M|                if (!PyUnicode_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |  104|  7.42M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  7.42M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  7.42M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  7.42M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5228:21): [True: 118, False: 7.42M]
  |  |  ------------------
  |  | 5229|    118|                    UPDATE_MISS_STATS(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  298|    118|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 5230|    118|                    assert(_PyOpcode_Deopt[opcode] == (COMPARE_OP));
  |  | 5231|    118|                    JUMP_TO_PREDICTED(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  136|    118|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 5232|      0|                }
  |  | 5233|  7.42M|            }
  |  | 5234|       |            // _GUARD_NOS_UNICODE
  |  | 5235|  7.42M|            {
  |  | 5236|  7.42M|                nos = stack_pointer[-2];
  |  | 5237|  7.42M|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  | 5238|  7.42M|                if (!PyUnicode_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |  104|  7.42M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  7.42M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  7.42M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  7.42M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5238:21): [True: 39, False: 7.42M]
  |  |  ------------------
  |  | 5239|     39|                    UPDATE_MISS_STATS(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  298|     39|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 5240|     39|                    assert(_PyOpcode_Deopt[opcode] == (COMPARE_OP));
  |  | 5241|     39|                    JUMP_TO_PREDICTED(COMPARE_OP);
  |  |  ------------------
  |  |  |  |  136|     39|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 5242|      0|                }
  |  | 5243|  7.42M|            }
  |  | 5244|       |            /* Skip 1 cache entry */
  |  | 5245|       |            // _COMPARE_OP_STR
  |  | 5246|  7.42M|            {
  |  | 5247|  7.42M|                right = value;
  |  | 5248|  7.42M|                left = nos;
  |  | 5249|  7.42M|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5250|  7.42M|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 5251|  7.42M|                STAT_INC(COMPARE_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  7.42M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 5252|  7.42M|                int eq = _PyUnicode_Equal(left_o, right_o);
  |  | 5253|  7.42M|                assert((oparg >> 5) == Py_EQ || (oparg >> 5) == Py_NE);
  |  | 5254|  7.42M|                l = left;
  |  | 5255|  7.42M|                r = right;
  |  | 5256|  7.42M|                assert(eq == 0 || eq == 1);
  |  | 5257|  7.42M|                assert((oparg & 0xf) == COMPARISON_NOT_EQUALS || (oparg & 0xf) == COMPARISON_EQUALS);
  |  | 5258|  7.42M|                assert(COMPARISON_NOT_EQUALS + 1 == COMPARISON_EQUALS);
  |  | 5259|  7.42M|                res = ((COMPARISON_NOT_EQUALS + eq) & oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  538|  7.42M|#define COMPARISON_NOT_EQUALS (COMPARISON_UNORDERED | COMPARISON_LESS_THAN | COMPARISON_GREATER_THAN)
  |  |  |  |  ------------------
  |  |  |  |  |  |  532|  7.42M|#define COMPARISON_UNORDERED 1
  |  |  |  |  ------------------
  |  |  |  |               #define COMPARISON_NOT_EQUALS (COMPARISON_UNORDERED | COMPARISON_LESS_THAN | COMPARISON_GREATER_THAN)
  |  |  |  |  ------------------
  |  |  |  |  |  |  534|  7.42M|#define COMPARISON_LESS_THAN 2
  |  |  |  |  ------------------
  |  |  |  |               #define COMPARISON_NOT_EQUALS (COMPARISON_UNORDERED | COMPARISON_LESS_THAN | COMPARISON_GREATER_THAN)
  |  |  |  |  ------------------
  |  |  |  |  |  |  535|  7.42M|#define COMPARISON_GREATER_THAN 4
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = ((COMPARISON_NOT_EQUALS + eq) & oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  471|   102k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|   102k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = ((COMPARISON_NOT_EQUALS + eq) & oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  472|  14.7M|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  7.31M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5259:23): [True: 102k, False: 7.31M]
  |  |  ------------------
  |  | 5260|  7.42M|            }
  |  | 5261|       |            // _POP_TOP_UNICODE
  |  | 5262|  7.42M|            {
  |  | 5263|  7.42M|                value = r;
  |  | 5264|  7.42M|                assert(PyUnicode_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  | 5265|  7.42M|                PyStackRef_CLOSE_SPECIALIZED(value, _PyUnicode_ExactDealloc);
  |  | 5266|  7.42M|            }
  |  | 5267|       |            // _POP_TOP_UNICODE
  |  | 5268|  7.42M|            {
  |  | 5269|  7.42M|                value = l;
  |  | 5270|  7.42M|                assert(PyUnicode_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  | 5271|  7.42M|                PyStackRef_CLOSE_SPECIALIZED(value, _PyUnicode_ExactDealloc);
  |  | 5272|  7.42M|            }
  |  | 5273|  7.42M|            stack_pointer[-2] = res;
  |  | 5274|  7.42M|            stack_pointer += -1;
  |  | 5275|  7.42M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  7.42M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5276|  7.42M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  7.42M|    { \
  |  |  |  |  201|  7.42M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  7.42M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  7.42M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  7.42M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  7.42M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  7.42M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  7.42M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  7.42M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 7.42M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  7.42M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  7.42M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  7.42M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  7.42M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  7.42M|    }
  |  |  ------------------
  |  | 5277|  7.42M|        }
  |  | 5278|       |
  |  | 5279|   165k|        TARGET(CONTAINS_OP) {
  |  |  ------------------
  |  |  |  |  132|   165k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5280|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5281|       |            int opcode = CONTAINS_OP;
  |  | 5282|       |            (void)(opcode);
  |  | 5283|       |            #endif
  |  | 5284|   165k|            frame->instr_ptr = next_instr;
  |  | 5285|   165k|            next_instr += 2;
  |  | 5286|   165k|            INSTRUCTION_STATS(CONTAINS_OP);
  |  |  ------------------
  |  |  |  |   71|   165k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5287|   165k|            PREDICTED_CONTAINS_OP:;
  |  | 5288|   165k|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  | 5289|   165k|            (void)this_instr;
  |  | 5290|   165k|            _PyStackRef right;
  |  | 5291|   165k|            _PyStackRef left;
  |  | 5292|   165k|            _PyStackRef b;
  |  | 5293|   165k|            _PyStackRef l;
  |  | 5294|   165k|            _PyStackRef r;
  |  | 5295|   165k|            _PyStackRef value;
  |  | 5296|       |            // _SPECIALIZE_CONTAINS_OP
  |  | 5297|   165k|            {
  |  | 5298|   165k|                right = stack_pointer[-1];
  |  | 5299|   165k|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 5300|   165k|                (void)counter;
  |  | 5301|   165k|                #if ENABLE_SPECIALIZATION
  |  | 5302|   165k|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  354|   165k|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (354:5): [True: 723, False: 164k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5303|    723|                    next_instr = this_instr;
  |  | 5304|    723|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5305|    723|                    _Py_Specialize_ContainsOp(right, next_instr);
  |  | 5306|    723|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5307|    723|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|    723|    { \
  |  |  |  |  217|    723|        opcode = next_instr->op.code; \
  |  |  |  |  218|    723|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    723|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|    723|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|    723|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|    723|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|    723|    }
  |  |  ------------------
  |  | 5308|    723|                }
  |  | 5309|   165k|                OPCODE_DEFERRED_INC(CONTAINS_OP);
  |  |  ------------------
  |  |  |  |   90|   165k|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 5310|   165k|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  357|   165k|    do { \
  |  |  |  |  358|   165k|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  359|   165k|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (359:14): [Folded, False: 165k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5311|   165k|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 5312|   165k|            }
  |  | 5313|       |            // _CONTAINS_OP
  |  | 5314|   165k|            {
  |  | 5315|   165k|                left = stack_pointer[-2];
  |  | 5316|   165k|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5317|   165k|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 5318|   165k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5319|   165k|                int res = PySequence_Contains(right_o, left_o);
  |  | 5320|   165k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5321|   165k|                if (res < 0) {
  |  |  ------------------
  |  |  |  Branch (5321:21): [True: 0, False: 165k]
  |  |  ------------------
  |  | 5322|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5323|      0|                }
  |  | 5324|   165k|                b = (res ^ oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  471|  22.0k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  22.0k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               b = (res ^ oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  472|   308k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|   143k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5324:21): [True: 22.0k, False: 143k]
  |  |  ------------------
  |  | 5325|   165k|                l = left;
  |  | 5326|   165k|                r = right;
  |  | 5327|   165k|            }
  |  | 5328|       |            // _POP_TOP
  |  | 5329|      0|            {
  |  | 5330|   165k|                value = r;
  |  | 5331|   165k|                stack_pointer[-2] = b;
  |  | 5332|   165k|                stack_pointer[-1] = l;
  |  | 5333|   165k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5334|   165k|                PyStackRef_XCLOSE(value);
  |  | 5335|   165k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5336|   165k|            }
  |  | 5337|       |            // _POP_TOP
  |  | 5338|   165k|            {
  |  | 5339|   165k|                value = l;
  |  | 5340|   165k|                stack_pointer += -1;
  |  | 5341|   165k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   165k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5342|   165k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5343|   165k|                PyStackRef_XCLOSE(value);
  |  | 5344|   165k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5345|   165k|            }
  |  | 5346|   165k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   165k|    { \
  |  |  |  |  201|   165k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|   165k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|   165k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|   165k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|   165k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|   165k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|   165k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|   165k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 165k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   165k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   165k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   165k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   165k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   165k|    }
  |  |  ------------------
  |  | 5347|   165k|        }
  |  | 5348|       |
  |  | 5349|  1.38M|        TARGET(CONTAINS_OP_DICT) {
  |  |  ------------------
  |  |  |  |  132|  1.38M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5350|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5351|       |            int opcode = CONTAINS_OP_DICT;
  |  | 5352|       |            (void)(opcode);
  |  | 5353|       |            #endif
  |  | 5354|  1.38M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 5355|  1.38M|            (void)this_instr;
  |  | 5356|  1.38M|            frame->instr_ptr = next_instr;
  |  | 5357|  1.38M|            next_instr += 2;
  |  | 5358|  1.38M|            INSTRUCTION_STATS(CONTAINS_OP_DICT);
  |  |  ------------------
  |  |  |  |   71|  1.38M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5359|  1.38M|            static_assert(INLINE_CACHE_ENTRIES_CONTAINS_OP == 1, "incorrect cache size");
  |  | 5360|  1.38M|            _PyStackRef tos;
  |  | 5361|  1.38M|            _PyStackRef left;
  |  | 5362|  1.38M|            _PyStackRef right;
  |  | 5363|  1.38M|            _PyStackRef b;
  |  | 5364|  1.38M|            _PyStackRef l;
  |  | 5365|  1.38M|            _PyStackRef r;
  |  | 5366|  1.38M|            _PyStackRef value;
  |  | 5367|       |            // _GUARD_TOS_ANY_DICT
  |  | 5368|  1.38M|            {
  |  | 5369|  1.38M|                tos = stack_pointer[-1];
  |  | 5370|  1.38M|                PyObject *o = PyStackRef_AsPyObjectBorrow(tos);
  |  | 5371|  1.38M|                if (!PyAnyDict_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   41|  1.38M|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |   19|  1.38M|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   65|  2.76M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|  1.38M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|  1.38M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (65:5): [True: 1.38M, 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|  1.38M|            }
  |  | 5377|       |            /* Skip 1 cache entry */
  |  | 5378|       |            // _CONTAINS_OP_DICT
  |  | 5379|  1.38M|            {
  |  | 5380|  1.38M|                right = tos;
  |  | 5381|  1.38M|                left = stack_pointer[-2];
  |  | 5382|  1.38M|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5383|  1.38M|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 5384|  1.38M|                assert(PyAnyDict_CheckExact(right_o));
  |  | 5385|  1.38M|                STAT_INC(CONTAINS_OP, hit);
  |  |  ------------------
  |  |  |  |   73|  1.38M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 5386|  1.38M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5387|  1.38M|                int res = PyDict_Contains(right_o, left_o);
  |  | 5388|  1.38M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5389|  1.38M|                if (res < 0) {
  |  |  ------------------
  |  |  |  Branch (5389:21): [True: 0, False: 1.38M]
  |  |  ------------------
  |  | 5390|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5391|      0|                }
  |  | 5392|  1.38M|                b = (res ^ oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  471|  7.12k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  7.12k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               b = (res ^ oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  472|  2.76M|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.37M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5392:21): [True: 7.12k, False: 1.37M]
  |  |  ------------------
  |  | 5393|  1.38M|                l = left;
  |  | 5394|  1.38M|                r = right;
  |  | 5395|  1.38M|            }
  |  | 5396|       |            // _POP_TOP
  |  | 5397|      0|            {
  |  | 5398|  1.38M|                value = r;
  |  | 5399|  1.38M|                stack_pointer[-2] = b;
  |  | 5400|  1.38M|                stack_pointer[-1] = l;
  |  | 5401|  1.38M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5402|  1.38M|                PyStackRef_XCLOSE(value);
  |  | 5403|  1.38M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5404|  1.38M|            }
  |  | 5405|       |            // _POP_TOP
  |  | 5406|  1.38M|            {
  |  | 5407|  1.38M|                value = l;
  |  | 5408|  1.38M|                stack_pointer += -1;
  |  | 5409|  1.38M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.38M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5410|  1.38M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5411|  1.38M|                PyStackRef_XCLOSE(value);
  |  | 5412|  1.38M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5413|  1.38M|            }
  |  | 5414|  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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  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|    }
  |  |  ------------------
  |  | 5415|  1.38M|        }
  |  | 5416|       |
  |  | 5417|   499k|        TARGET(CONTAINS_OP_SET) {
  |  |  ------------------
  |  |  |  |  132|   499k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5418|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5419|       |            int opcode = CONTAINS_OP_SET;
  |  | 5420|       |            (void)(opcode);
  |  | 5421|       |            #endif
  |  | 5422|   499k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 5423|   499k|            (void)this_instr;
  |  | 5424|   499k|            frame->instr_ptr = next_instr;
  |  | 5425|   499k|            next_instr += 2;
  |  | 5426|   499k|            INSTRUCTION_STATS(CONTAINS_OP_SET);
  |  |  ------------------
  |  |  |  |   71|   499k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5427|   499k|            static_assert(INLINE_CACHE_ENTRIES_CONTAINS_OP == 1, "incorrect cache size");
  |  | 5428|   499k|            _PyStackRef tos;
  |  | 5429|   499k|            _PyStackRef left;
  |  | 5430|   499k|            _PyStackRef right;
  |  | 5431|   499k|            _PyStackRef b;
  |  | 5432|   499k|            _PyStackRef l;
  |  | 5433|   499k|            _PyStackRef r;
  |  | 5434|   499k|            _PyStackRef value;
  |  | 5435|       |            // _GUARD_TOS_ANY_SET
  |  | 5436|   499k|            {
  |  | 5437|   499k|                tos = stack_pointer[-1];
  |  | 5438|   499k|                PyObject *o = PyStackRef_AsPyObjectBorrow(tos);
  |  | 5439|   499k|                if (!PyAnySet_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   29|   499k|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type))
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|   998k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   499k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   499k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 135k, False: 364k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type))
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|   364k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   364k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   364k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 364k, 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|   499k|            }
  |  | 5445|       |            /* Skip 1 cache entry */
  |  | 5446|       |            // _CONTAINS_OP_SET
  |  | 5447|   499k|            {
  |  | 5448|   499k|                right = tos;
  |  | 5449|   499k|                left = stack_pointer[-2];
  |  | 5450|   499k|                PyObject *left_o = PyStackRef_AsPyObjectBorrow(left);
  |  | 5451|   499k|                PyObject *right_o = PyStackRef_AsPyObjectBorrow(right);
  |  | 5452|   499k|                assert(PyAnySet_CheckExact(right_o));
  |  | 5453|   499k|                STAT_INC(CONTAINS_OP, hit);
  |  |  ------------------
  |  |  |  |   73|   499k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 5454|   499k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5455|   499k|                int res = _PySet_Contains((PySetObject *)right_o, left_o);
  |  | 5456|   499k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5457|   499k|                if (res < 0) {
  |  |  ------------------
  |  |  |  Branch (5457:21): [True: 0, False: 499k]
  |  |  ------------------
  |  | 5458|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5459|      0|                }
  |  | 5460|   499k|                b = (res ^ oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  471|   384k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|   384k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               b = (res ^ oparg) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  472|   614k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|   115k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5460:21): [True: 384k, False: 115k]
  |  |  ------------------
  |  | 5461|   499k|                l = left;
  |  | 5462|   499k|                r = right;
  |  | 5463|   499k|            }
  |  | 5464|       |            // _POP_TOP
  |  | 5465|      0|            {
  |  | 5466|   499k|                value = r;
  |  | 5467|   499k|                stack_pointer[-2] = b;
  |  | 5468|   499k|                stack_pointer[-1] = l;
  |  | 5469|   499k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5470|   499k|                PyStackRef_XCLOSE(value);
  |  | 5471|   499k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5472|   499k|            }
  |  | 5473|       |            // _POP_TOP
  |  | 5474|   499k|            {
  |  | 5475|   499k|                value = l;
  |  | 5476|   499k|                stack_pointer += -1;
  |  | 5477|   499k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   499k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5478|   499k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5479|   499k|                PyStackRef_XCLOSE(value);
  |  | 5480|   499k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5481|   499k|            }
  |  | 5482|   499k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   499k|    { \
  |  |  |  |  201|   499k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|   499k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|   499k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|   499k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|   499k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|   499k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|   499k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|   499k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 499k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   499k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   499k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   499k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   499k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   499k|    }
  |  |  ------------------
  |  | 5483|   499k|        }
  |  | 5484|       |
  |  | 5485|  6.05k|        TARGET(CONVERT_VALUE) {
  |  |  ------------------
  |  |  |  |  132|  6.05k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5486|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5487|       |            int opcode = CONVERT_VALUE;
  |  | 5488|       |            (void)(opcode);
  |  | 5489|       |            #endif
  |  | 5490|  6.05k|            frame->instr_ptr = next_instr;
  |  | 5491|  6.05k|            next_instr += 1;
  |  | 5492|  6.05k|            INSTRUCTION_STATS(CONVERT_VALUE);
  |  |  ------------------
  |  |  |  |   71|  6.05k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5493|  6.05k|            _PyStackRef value;
  |  | 5494|  6.05k|            _PyStackRef result;
  |  | 5495|  6.05k|            value = stack_pointer[-1];
  |  | 5496|  6.05k|            conversion_func conv_fn;
  |  | 5497|  6.05k|            assert(oparg >= FVC_STR && oparg <= FVC_ASCII);
  |  | 5498|  6.05k|            conv_fn = _PyEval_ConversionFuncs[oparg];
  |  | 5499|  6.05k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5500|  6.05k|            PyObject *result_o = conv_fn(PyStackRef_AsPyObjectBorrow(value));
  |  | 5501|  6.05k|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5502|  6.05k|            stack_pointer += -1;
  |  | 5503|  6.05k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  6.05k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5504|  6.05k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5505|  6.05k|            PyStackRef_CLOSE(value);
  |  | 5506|  6.05k|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5507|  6.05k|            if (result_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (5507:17): [True: 0, False: 6.05k]
  |  |  ------------------
  |  | 5508|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5509|      0|            }
  |  | 5510|  6.05k|            result = PyStackRef_FromPyObjectSteal(result_o);
  |  | 5511|  6.05k|            stack_pointer[0] = result;
  |  | 5512|  6.05k|            stack_pointer += 1;
  |  | 5513|  6.05k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  6.05k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5514|  6.05k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  6.05k|    { \
  |  |  |  |  201|  6.05k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  6.05k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  6.05k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  6.05k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  6.05k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  6.05k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  6.05k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  6.05k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 6.05k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  6.05k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  6.05k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  6.05k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  6.05k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  6.05k|    }
  |  |  ------------------
  |  | 5515|  6.05k|        }
  |  | 5516|       |
  |  | 5517|  41.7M|        TARGET(COPY) {
  |  |  ------------------
  |  |  |  |  132|  41.7M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5518|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5519|       |            int opcode = COPY;
  |  | 5520|       |            (void)(opcode);
  |  | 5521|       |            #endif
  |  | 5522|  41.7M|            frame->instr_ptr = next_instr;
  |  | 5523|  41.7M|            next_instr += 1;
  |  | 5524|  41.7M|            INSTRUCTION_STATS(COPY);
  |  |  ------------------
  |  |  |  |   71|  41.7M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5525|  41.7M|            _PyStackRef bottom;
  |  | 5526|  41.7M|            _PyStackRef top;
  |  | 5527|  41.7M|            bottom = stack_pointer[-1 - (oparg-1)];
  |  | 5528|  41.7M|            top = PyStackRef_DUP(bottom);
  |  | 5529|  41.7M|            stack_pointer[0] = top;
  |  | 5530|  41.7M|            stack_pointer += 1;
  |  | 5531|  41.7M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  41.7M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5532|  41.7M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  41.7M|    { \
  |  |  |  |  201|  41.7M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  41.7M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  41.7M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  41.7M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  41.7M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  41.7M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  41.7M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  41.7M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 41.7M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  41.7M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  41.7M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  41.7M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  41.7M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  41.7M|    }
  |  |  ------------------
  |  | 5533|  41.7M|        }
  |  | 5534|       |
  |  | 5535|  41.7M|        TARGET(COPY_FREE_VARS) {
  |  |  ------------------
  |  |  |  |  132|  3.64M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5536|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5537|       |            int opcode = COPY_FREE_VARS;
  |  | 5538|       |            (void)(opcode);
  |  | 5539|       |            #endif
  |  | 5540|  3.64M|            frame->instr_ptr = next_instr;
  |  | 5541|  3.64M|            next_instr += 1;
  |  | 5542|  3.64M|            INSTRUCTION_STATS(COPY_FREE_VARS);
  |  |  ------------------
  |  |  |  |   71|  3.64M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5543|  3.64M|            PyCodeObject *co = _PyFrame_GetCode(frame);
  |  | 5544|  3.64M|            assert(PyStackRef_FunctionCheck(frame->f_funcobj));
  |  | 5545|  3.64M|            PyFunctionObject *func = (PyFunctionObject *)PyStackRef_AsPyObjectBorrow(frame->f_funcobj);
  |  | 5546|  3.64M|            PyObject *closure = func->func_closure;
  |  | 5547|  3.64M|            assert(oparg == co->co_nfreevars);
  |  | 5548|  3.64M|            int offset = co->co_nlocalsplus - oparg;
  |  | 5549|  9.76M|            for (int i = 0; i < oparg; ++i) {
  |  |  ------------------
  |  |  |  Branch (5549:29): [True: 6.11M, False: 3.64M]
  |  |  ------------------
  |  | 5550|  6.11M|                PyObject *o = PyTuple_GET_ITEM(closure, i);
  |  |  ------------------
  |  |  |  |   29|  6.11M|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   19|  6.11M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.11M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5551|  6.11M|                frame->localsplus[offset + i] = PyStackRef_FromPyObjectNew(o);
  |  |  ------------------
  |  |  |  |  599|  6.11M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.11M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.11M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5552|  6.11M|            }
  |  | 5553|  3.64M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.64M|    { \
  |  |  |  |  201|  3.64M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  3.64M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  3.64M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  3.64M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  3.64M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  3.64M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  3.64M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  3.64M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 3.64M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.64M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.64M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.64M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.64M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.64M|    }
  |  |  ------------------
  |  | 5554|  3.64M|        }
  |  | 5555|       |
  |  | 5556|  3.64M|        TARGET(DELETE_ATTR) {
  |  |  ------------------
  |  |  |  |  132|  62.6k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5557|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5558|       |            int opcode = DELETE_ATTR;
  |  | 5559|       |            (void)(opcode);
  |  | 5560|       |            #endif
  |  | 5561|  62.6k|            frame->instr_ptr = next_instr;
  |  | 5562|  62.6k|            next_instr += 1;
  |  | 5563|  62.6k|            INSTRUCTION_STATS(DELETE_ATTR);
  |  |  ------------------
  |  |  |  |   71|  62.6k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5564|  62.6k|            _PyStackRef owner;
  |  | 5565|  62.6k|            owner = stack_pointer[-1];
  |  | 5566|  62.6k|            PyObject *name = GETITEM(FRAME_CO_NAMES, oparg);
  |  |  ------------------
  |  |  |  |  235|  62.6k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  62.6k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  62.6k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  62.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5567|  62.6k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5568|  62.6k|            int err = PyObject_DelAttr(PyStackRef_AsPyObjectBorrow(owner), name);
  |  | 5569|  62.6k|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5570|  62.6k|            stack_pointer += -1;
  |  | 5571|  62.6k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  62.6k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5572|  62.6k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5573|  62.6k|            PyStackRef_CLOSE(owner);
  |  | 5574|  62.6k|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5575|  62.6k|            if (err) {
  |  |  ------------------
  |  |  |  Branch (5575:17): [True: 0, False: 62.6k]
  |  |  ------------------
  |  | 5576|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5577|      0|            }
  |  | 5578|  62.6k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  62.6k|    { \
  |  |  |  |  201|  62.6k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  62.6k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  62.6k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  62.6k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  62.6k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  62.6k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  62.6k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  62.6k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 62.6k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  62.6k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  62.6k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  62.6k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  62.6k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  62.6k|    }
  |  |  ------------------
  |  | 5579|  62.6k|        }
  |  | 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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      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|  19.9k|        TARGET(DELETE_FAST) {
  |  |  ------------------
  |  |  |  |  132|  19.9k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5604|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5605|       |            int opcode = DELETE_FAST;
  |  | 5606|       |            (void)(opcode);
  |  | 5607|       |            #endif
  |  | 5608|  19.9k|            frame->instr_ptr = next_instr;
  |  | 5609|  19.9k|            next_instr += 1;
  |  | 5610|  19.9k|            INSTRUCTION_STATS(DELETE_FAST);
  |  |  ------------------
  |  |  |  |   71|  19.9k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5611|  19.9k|            _PyStackRef v = GETLOCAL(oparg);
  |  |  ------------------
  |  |  |  |  284|  19.9k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 5612|  19.9k|            if (PyStackRef_IsNull(v)) {
  |  |  ------------------
  |  |  |  |  470|  19.9k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|  19.9k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  19.9k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (470:32): [True: 0, False: 19.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 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|  19.9k|            _PyStackRef tmp = GETLOCAL(oparg);
  |  |  ------------------
  |  |  |  |  284|  19.9k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 5622|  19.9k|            GETLOCAL(oparg) = PyStackRef_NULL;
  |  |  ------------------
  |  |  |  |  284|  19.9k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 5623|  19.9k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5624|  19.9k|            PyStackRef_XCLOSE(tmp);
  |  | 5625|  19.9k|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5626|  19.9k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  19.9k|    { \
  |  |  |  |  201|  19.9k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  19.9k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  19.9k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  19.9k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  19.9k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  19.9k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  19.9k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  19.9k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 19.9k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  19.9k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  19.9k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  19.9k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  19.9k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  19.9k|    }
  |  |  ------------------
  |  | 5627|  19.9k|        }
  |  | 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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      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|    134|        TARGET(DELETE_NAME) {
  |  |  ------------------
  |  |  |  |  132|    134|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5655|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5656|       |            int opcode = DELETE_NAME;
  |  | 5657|       |            (void)(opcode);
  |  | 5658|       |            #endif
  |  | 5659|    134|            frame->instr_ptr = next_instr;
  |  | 5660|    134|            next_instr += 1;
  |  | 5661|    134|            INSTRUCTION_STATS(DELETE_NAME);
  |  |  ------------------
  |  |  |  |   71|    134|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5662|    134|            PyObject *name = GETITEM(FRAME_CO_NAMES, oparg);
  |  |  ------------------
  |  |  |  |  235|    134|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|    134|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|    134|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    134|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 5663|    134|            PyObject *ns = LOCALS();
  |  |  ------------------
  |  |  |  |  327|    134|#define LOCALS() frame->f_locals
  |  |  ------------------
  |  | 5664|    134|            int err;
  |  | 5665|    134|            if (ns == NULL) {
  |  |  ------------------
  |  |  |  Branch (5665:17): [True: 0, False: 134]
  |  |  ------------------
  |  | 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|    134|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5673|    134|            err = PyObject_DelItem(ns, name);
  |  | 5674|    134|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5675|    134|            if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (5675:17): [True: 0, False: 134]
  |  |  ------------------
  |  | 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|    134|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    134|    { \
  |  |  |  |  201|    134|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|    134|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|    134|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|    134|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|    134|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|    134|        opcode = word.op.code; \
  |  |  |  |  |  |  253|    134|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|    134|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 134]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    134|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    134|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    134|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    134|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    134|    }
  |  |  ------------------
  |  | 5684|    134|        }
  |  | 5685|       |
  |  | 5686|  24.6k|        TARGET(DELETE_SUBSCR) {
  |  |  ------------------
  |  |  |  |  132|  24.6k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5687|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5688|       |            int opcode = DELETE_SUBSCR;
  |  | 5689|       |            (void)(opcode);
  |  | 5690|       |            #endif
  |  | 5691|  24.6k|            frame->instr_ptr = next_instr;
  |  | 5692|  24.6k|            next_instr += 1;
  |  | 5693|  24.6k|            INSTRUCTION_STATS(DELETE_SUBSCR);
  |  |  ------------------
  |  |  |  |   71|  24.6k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5694|  24.6k|            _PyStackRef container;
  |  | 5695|  24.6k|            _PyStackRef sub;
  |  | 5696|  24.6k|            sub = stack_pointer[-1];
  |  | 5697|  24.6k|            container = stack_pointer[-2];
  |  | 5698|  24.6k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5699|  24.6k|            int err = PyObject_DelItem(PyStackRef_AsPyObjectBorrow(container),
  |  | 5700|  24.6k|                                       PyStackRef_AsPyObjectBorrow(sub));
  |  | 5701|  24.6k|            _PyStackRef tmp = sub;
  |  | 5702|  24.6k|            sub = PyStackRef_NULL;
  |  | 5703|  24.6k|            stack_pointer[-1] = sub;
  |  | 5704|  24.6k|            PyStackRef_CLOSE(tmp);
  |  | 5705|  24.6k|            tmp = container;
  |  | 5706|  24.6k|            container = PyStackRef_NULL;
  |  | 5707|  24.6k|            stack_pointer[-2] = container;
  |  | 5708|  24.6k|            PyStackRef_CLOSE(tmp);
  |  | 5709|  24.6k|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5710|  24.6k|            stack_pointer += -2;
  |  | 5711|  24.6k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  24.6k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5712|  24.6k|            if (err) {
  |  |  ------------------
  |  |  |  Branch (5712:17): [True: 0, False: 24.6k]
  |  |  ------------------
  |  | 5713|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 5714|      0|            }
  |  | 5715|  24.6k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  24.6k|    { \
  |  |  |  |  201|  24.6k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  24.6k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  24.6k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  24.6k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  24.6k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  24.6k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  24.6k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  24.6k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 24.6k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  24.6k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  24.6k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  24.6k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  24.6k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  24.6k|    }
  |  |  ------------------
  |  | 5716|  24.6k|        }
  |  | 5717|       |
  |  | 5718|  2.12M|        TARGET(DICT_MERGE) {
  |  |  ------------------
  |  |  |  |  132|  2.12M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5719|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5720|       |            int opcode = DICT_MERGE;
  |  | 5721|       |            (void)(opcode);
  |  | 5722|       |            #endif
  |  | 5723|  2.12M|            frame->instr_ptr = next_instr;
  |  | 5724|  2.12M|            next_instr += 1;
  |  | 5725|  2.12M|            INSTRUCTION_STATS(DICT_MERGE);
  |  |  ------------------
  |  |  |  |   71|  2.12M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5726|  2.12M|            _PyStackRef callable;
  |  | 5727|  2.12M|            _PyStackRef dict;
  |  | 5728|  2.12M|            _PyStackRef update;
  |  | 5729|  2.12M|            _PyStackRef u;
  |  | 5730|  2.12M|            _PyStackRef value;
  |  | 5731|       |            // _DICT_MERGE
  |  | 5732|  2.12M|            {
  |  | 5733|  2.12M|                update = stack_pointer[-1];
  |  | 5734|  2.12M|                dict = stack_pointer[-2 - (oparg - 1)];
  |  | 5735|  2.12M|                callable = stack_pointer[-5 - (oparg - 1)];
  |  | 5736|  2.12M|                PyObject *callable_o = PyStackRef_AsPyObjectBorrow(callable);
  |  | 5737|  2.12M|                PyObject *dict_o = PyStackRef_AsPyObjectBorrow(dict);
  |  | 5738|  2.12M|                PyObject *update_o = PyStackRef_AsPyObjectBorrow(update);
  |  | 5739|  2.12M|                PyObject *dupkey = NULL;
  |  | 5740|  2.12M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5741|  2.12M|                int err = _PyDict_MergeUniq(dict_o, update_o, &dupkey);
  |  | 5742|  2.12M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5743|  2.12M|                if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (5743:21): [True: 0, False: 2.12M]
  |  |  ------------------
  |  | 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|  2.12M|                u = update;
  |  | 5751|  2.12M|            }
  |  | 5752|       |            // _POP_TOP
  |  | 5753|      0|            {
  |  | 5754|  2.12M|                value = u;
  |  | 5755|  2.12M|                stack_pointer += -1;
  |  | 5756|  2.12M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.12M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5757|  2.12M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5758|  2.12M|                PyStackRef_XCLOSE(value);
  |  | 5759|  2.12M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5760|  2.12M|            }
  |  | 5761|  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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  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|    }
  |  |  ------------------
  |  | 5762|  2.12M|        }
  |  | 5763|       |
  |  | 5764|    346|        TARGET(DICT_UPDATE) {
  |  |  ------------------
  |  |  |  |  132|    346|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5765|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5766|       |            int opcode = DICT_UPDATE;
  |  | 5767|       |            (void)(opcode);
  |  | 5768|       |            #endif
  |  | 5769|    346|            frame->instr_ptr = next_instr;
  |  | 5770|    346|            next_instr += 1;
  |  | 5771|    346|            INSTRUCTION_STATS(DICT_UPDATE);
  |  |  ------------------
  |  |  |  |   71|    346|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5772|    346|            _PyStackRef dict;
  |  | 5773|    346|            _PyStackRef update;
  |  | 5774|    346|            _PyStackRef upd;
  |  | 5775|    346|            _PyStackRef value;
  |  | 5776|       |            // _DICT_UPDATE
  |  | 5777|    346|            {
  |  | 5778|    346|                update = stack_pointer[-1];
  |  | 5779|    346|                dict = stack_pointer[-2 - (oparg - 1)];
  |  | 5780|    346|                PyObject *dict_o = PyStackRef_AsPyObjectBorrow(dict);
  |  | 5781|    346|                PyObject *update_o = PyStackRef_AsPyObjectBorrow(update);
  |  | 5782|    346|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5783|    346|                int err = PyDict_Update(dict_o, update_o);
  |  | 5784|    346|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5785|    346|                if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (5785:21): [True: 0, False: 346]
  |  |  ------------------
  |  | 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));
  |  |  ------------------
  |  |  |  |  915|      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|    346|                upd = update;
  |  | 5809|    346|            }
  |  | 5810|       |            // _POP_TOP
  |  | 5811|      0|            {
  |  | 5812|    346|                value = upd;
  |  | 5813|    346|                stack_pointer += -1;
  |  | 5814|    346|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    346|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5815|    346|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5816|    346|                PyStackRef_XCLOSE(value);
  |  | 5817|    346|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5818|    346|            }
  |  | 5819|    346|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    346|    { \
  |  |  |  |  201|    346|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|    346|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|    346|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|    346|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|    346|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|    346|        opcode = word.op.code; \
  |  |  |  |  |  |  253|    346|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|    346|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 346]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    346|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    346|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    346|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    346|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    346|    }
  |  |  ------------------
  |  | 5820|    346|        }
  |  | 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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      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|  2.14M|        TARGET(END_FOR) {
  |  |  ------------------
  |  |  |  |  132|  2.14M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5868|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5869|       |            int opcode = END_FOR;
  |  | 5870|       |            (void)(opcode);
  |  | 5871|       |            #endif
  |  | 5872|  2.14M|            next_instr += 1;
  |  | 5873|  2.14M|            INSTRUCTION_STATS(END_FOR);
  |  |  ------------------
  |  |  |  |   71|  2.14M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5874|  2.14M|            _PyStackRef value;
  |  | 5875|  2.14M|            value = stack_pointer[-1];
  |  | 5876|  2.14M|            stack_pointer += -1;
  |  | 5877|  2.14M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.14M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5878|  2.14M|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 5879|  2.14M|            PyStackRef_CLOSE(value);
  |  | 5880|  2.14M|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 5881|  2.14M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.14M|    { \
  |  |  |  |  201|  2.14M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  2.14M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  2.14M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  2.14M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  2.14M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  2.14M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  2.14M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  2.14M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 2.14M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.14M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.14M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.14M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.14M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.14M|    }
  |  |  ------------------
  |  | 5882|  2.14M|        }
  |  | 5883|       |
  |  | 5884|  2.14M|        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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|     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|  73.1k|        TARGET(EXIT_INIT_CHECK) {
  |  |  ------------------
  |  |  |  |  132|  73.1k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5961|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5962|       |            int opcode = EXIT_INIT_CHECK;
  |  | 5963|       |            (void)(opcode);
  |  | 5964|       |            #endif
  |  | 5965|  73.1k|            frame->instr_ptr = next_instr;
  |  | 5966|  73.1k|            next_instr += 1;
  |  | 5967|  73.1k|            INSTRUCTION_STATS(EXIT_INIT_CHECK);
  |  |  ------------------
  |  |  |  |   71|  73.1k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5968|  73.1k|            _PyStackRef should_be_none;
  |  | 5969|  73.1k|            should_be_none = stack_pointer[-1];
  |  | 5970|  73.1k|            if (!PyStackRef_IsNone(should_be_none)) {
  |  |  ------------------
  |  |  |  |  483|  73.1k|#define PyStackRef_IsNone(REF) ((REF).bits == (((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  73.1k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (5970:17): [True: 0, False: 73.1k]
  |  |  ------------------
  |  | 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|  73.1k|            stack_pointer += -1;
  |  | 5979|  73.1k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  73.1k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 5980|  73.1k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  73.1k|    { \
  |  |  |  |  201|  73.1k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  73.1k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  73.1k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  73.1k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  73.1k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  73.1k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  73.1k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  73.1k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 73.1k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  73.1k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  73.1k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  73.1k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  73.1k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  73.1k|    }
  |  |  ------------------
  |  | 5981|  73.1k|        }
  |  | 5982|       |
  |  | 5983|  2.67M|        TARGET(EXTENDED_ARG) {
  |  |  ------------------
  |  |  |  |  132|  2.67M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 5984|       |            #if _Py_TAIL_CALL_INTERP
  |  | 5985|       |            int opcode = EXTENDED_ARG;
  |  | 5986|       |            (void)(opcode);
  |  | 5987|       |            #endif
  |  | 5988|  2.67M|            frame->instr_ptr = next_instr;
  |  | 5989|  2.67M|            next_instr += 1;
  |  | 5990|  2.67M|            INSTRUCTION_STATS(EXTENDED_ARG);
  |  |  ------------------
  |  |  |  |   71|  2.67M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 5991|  2.67M|            opcode = EXTENDED_ARG;
  |  |  ------------------
  |  |  |  |   80|  2.67M|#define EXTENDED_ARG                            67
  |  |  ------------------
  |  | 5992|  2.67M|            assert(oparg);
  |  | 5993|  2.67M|            opcode = next_instr->op.code;
  |  | 5994|  2.67M|            oparg = oparg << 8 | next_instr->op.arg;
  |  | 5995|  2.67M|            PRE_DISPATCH_GOTO();
  |  |  ------------------
  |  |  |  |  176|  2.67M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  ------------------
  |  | 5996|  2.67M|            DISPATCH_GOTO();
  |  |  ------------------
  |  |  |  |  133|  2.67M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  ------------------
  |  | 5997|  2.67M|        }
  |  | 5998|       |
  |  | 5999|  2.67M|        TARGET(FORMAT_SIMPLE) {
  |  |  ------------------
  |  |  |  |  132|  2.16M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6000|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6001|       |            int opcode = FORMAT_SIMPLE;
  |  | 6002|       |            (void)(opcode);
  |  | 6003|       |            #endif
  |  | 6004|  2.16M|            frame->instr_ptr = next_instr;
  |  | 6005|  2.16M|            next_instr += 1;
  |  | 6006|  2.16M|            INSTRUCTION_STATS(FORMAT_SIMPLE);
  |  |  ------------------
  |  |  |  |   71|  2.16M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6007|  2.16M|            _PyStackRef value;
  |  | 6008|  2.16M|            _PyStackRef res;
  |  | 6009|  2.16M|            value = stack_pointer[-1];
  |  | 6010|  2.16M|            PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  | 6011|  2.16M|            if (!PyUnicode_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |  104|  2.16M|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  2.16M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  2.16M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  2.16M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6011:17): [True: 19.9k, False: 2.14M]
  |  |  ------------------
  |  | 6012|  19.9k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6013|  19.9k|                PyObject *res_o = PyObject_Format(value_o, NULL);
  |  | 6014|  19.9k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 6015|  19.9k|                stack_pointer += -1;
  |  | 6016|  19.9k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  19.9k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6017|  19.9k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6018|  19.9k|                PyStackRef_CLOSE(value);
  |  | 6019|  19.9k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 6020|  19.9k|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (6020:21): [True: 0, False: 19.9k]
  |  |  ------------------
  |  | 6021|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6022|      0|                }
  |  | 6023|  19.9k|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 6024|  19.9k|            }
  |  | 6025|  2.14M|            else {
  |  | 6026|  2.14M|                res = value;
  |  | 6027|  2.14M|                stack_pointer += -1;
  |  | 6028|  2.14M|            }
  |  | 6029|  2.16M|            stack_pointer[0] = res;
  |  | 6030|  2.16M|            stack_pointer += 1;
  |  | 6031|  2.16M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.16M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6032|  2.16M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.16M|    { \
  |  |  |  |  201|  2.16M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  2.16M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  2.16M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  2.16M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  2.16M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  2.16M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  2.16M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  2.16M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 2.16M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.16M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.16M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.16M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.16M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.16M|    }
  |  |  ------------------
  |  | 6033|  2.16M|        }
  |  | 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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      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|   814k|        TARGET(FOR_ITER) {
  |  |  ------------------
  |  |  |  |  132|   814k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6072|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6073|       |            int opcode = FOR_ITER;
  |  | 6074|       |            (void)(opcode);
  |  | 6075|       |            #endif
  |  | 6076|   814k|            frame->instr_ptr = next_instr;
  |  | 6077|   814k|            next_instr += 2;
  |  | 6078|   814k|            INSTRUCTION_STATS(FOR_ITER);
  |  |  ------------------
  |  |  |  |   71|   814k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6079|   819k|            PREDICTED_FOR_ITER:;
  |  | 6080|   819k|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  | 6081|   819k|            (void)this_instr;
  |  | 6082|   819k|            _PyStackRef iter;
  |  | 6083|   819k|            _PyStackRef null_or_index;
  |  | 6084|   819k|            _PyStackRef next;
  |  | 6085|       |            // _SPECIALIZE_FOR_ITER
  |  | 6086|   819k|            {
  |  | 6087|   819k|                null_or_index = stack_pointer[-1];
  |  | 6088|   819k|                iter = stack_pointer[-2];
  |  | 6089|   819k|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 6090|   819k|                (void)counter;
  |  | 6091|   819k|                #if ENABLE_SPECIALIZATION
  |  | 6092|   819k|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  354|   819k|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (354:5): [True: 1.50k, False: 817k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6093|  1.50k|                    next_instr = this_instr;
  |  | 6094|  1.50k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6095|  1.50k|                    _Py_Specialize_ForIter(iter, null_or_index, next_instr, oparg);
  |  | 6096|  1.50k|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 6097|  1.50k|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|  1.50k|    { \
  |  |  |  |  217|  1.50k|        opcode = next_instr->op.code; \
  |  |  |  |  218|  1.50k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.50k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|  1.50k|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|  1.50k|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|  1.50k|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|  1.50k|    }
  |  |  ------------------
  |  | 6098|  1.50k|                }
  |  | 6099|   819k|                OPCODE_DEFERRED_INC(FOR_ITER);
  |  |  ------------------
  |  |  |  |   90|   819k|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 6100|   819k|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  357|   819k|    do { \
  |  |  |  |  358|   819k|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  359|   819k|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (359:14): [Folded, False: 819k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6101|   819k|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 6102|   819k|            }
  |  | 6103|       |            // _FOR_ITER
  |  | 6104|   819k|            {
  |  | 6105|   819k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6106|   819k|                _PyStackRef item = _PyForIter_VirtualIteratorNext(tstate, frame, iter, &null_or_index);
  |  | 6107|   819k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 6108|   819k|                if (!PyStackRef_IsValid(item)) {
  |  |  ------------------
  |  |  |  Branch (6108:21): [True: 380k, False: 438k]
  |  |  ------------------
  |  | 6109|   380k|                    if (PyStackRef_IsError(item)) {
  |  |  ------------------
  |  |  |  Branch (6109:25): [True: 0, False: 380k]
  |  |  ------------------
  |  | 6110|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6111|      0|                    }
  |  | 6112|   380k|                    JUMPBY(oparg + 1);
  |  |  ------------------
  |  |  |  |  260|   380k|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 6113|   380k|                    stack_pointer[-1] = null_or_index;
  |  | 6114|   380k|                    DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   380k|    { \
  |  |  |  |  201|   380k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|   380k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|   380k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|   380k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|   380k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|   380k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|   380k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|   380k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 380k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   380k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   380k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   380k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   380k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   380k|    }
  |  |  ------------------
  |  | 6115|   380k|                }
  |  | 6116|   819k|                next = item;
  |  | 6117|   819k|            }
  |  | 6118|      0|            stack_pointer[-1] = null_or_index;
  |  | 6119|   819k|            stack_pointer[0] = next;
  |  | 6120|   819k|            stack_pointer += 1;
  |  | 6121|   819k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   819k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6122|   819k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   819k|    { \
  |  |  |  |  201|   819k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|   819k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|   819k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|   819k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|   819k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|   819k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|   819k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|   819k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 819k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   819k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   819k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   819k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   819k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   819k|    }
  |  |  ------------------
  |  | 6123|   819k|        }
  |  | 6124|       |
  |  | 6125|  6.73M|        TARGET(FOR_ITER_GEN) {
  |  |  ------------------
  |  |  |  |  132|  6.73M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6126|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6127|       |            int opcode = FOR_ITER_GEN;
  |  | 6128|       |            (void)(opcode);
  |  | 6129|       |            #endif
  |  | 6130|  6.73M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6131|  6.73M|            (void)this_instr;
  |  | 6132|  6.73M|            frame->instr_ptr = next_instr;
  |  | 6133|  6.73M|            next_instr += 2;
  |  | 6134|  6.73M|            INSTRUCTION_STATS(FOR_ITER_GEN);
  |  |  ------------------
  |  |  |  |   71|  6.73M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6135|  6.73M|            static_assert(INLINE_CACHE_ENTRIES_FOR_ITER == 1, "incorrect cache size");
  |  | 6136|  6.73M|            _PyStackRef iter;
  |  | 6137|  6.73M|            _PyStackRef gen_frame;
  |  | 6138|  6.73M|            _PyStackRef new_frame;
  |  | 6139|       |            /* Skip 1 cache entry */
  |  | 6140|       |            // _CHECK_PEP_523
  |  | 6141|  6.73M|            {
  |  | 6142|  6.73M|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  517|  6.73M|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (517:34): [True: 0, False: 6.73M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 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|  6.73M|            }
  |  | 6148|       |            // _FOR_ITER_GEN_FRAME
  |  | 6149|  6.73M|            {
  |  | 6150|  6.73M|                iter = stack_pointer[-2];
  |  | 6151|  6.73M|                PyGenObject *gen = (PyGenObject *)PyStackRef_AsPyObjectBorrow(iter);
  |  | 6152|  6.73M|                if (Py_TYPE(gen) != &PyGen_Type) {
  |  |  ------------------
  |  |  |  |  213|  6.73M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.73M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.73M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6152:21): [True: 0, False: 6.73M]
  |  |  ------------------
  |  | 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|  6.73M|                if (!gen_try_set_executing((PyGenObject *)gen)) {
  |  |  ------------------
  |  |  |  Branch (6157:21): [True: 0, False: 6.73M]
  |  |  ------------------
  |  | 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|  6.73M|                STAT_INC(FOR_ITER, hit);
  |  |  ------------------
  |  |  |  |   73|  6.73M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 6163|  6.73M|                _PyInterpreterFrame *pushed_frame = &gen->gi_iframe;
  |  | 6164|  6.73M|                _PyFrame_StackPush(pushed_frame, PyStackRef_None);
  |  |  ------------------
  |  |  |  |  473|  6.73M|#define PyStackRef_None ((_PyStackRef){.bits = ((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  6.73M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6165|  6.73M|                gen->gi_exc_state.previous_item = tstate->exc_info;
  |  | 6166|  6.73M|                tstate->exc_info = &gen->gi_exc_state;
  |  | 6167|  6.73M|                pushed_frame->previous = frame;
  |  | 6168|  6.73M|                frame->return_offset = (uint16_t)( 2u + oparg);
  |  | 6169|  6.73M|                gen_frame = PyStackRef_Wrap(pushed_frame);
  |  | 6170|  6.73M|            }
  |  | 6171|       |            // _PUSH_FRAME
  |  | 6172|      0|            {
  |  | 6173|  6.73M|                new_frame = gen_frame;
  |  | 6174|  6.73M|                assert(!IS_PEP523_HOOKED(tstate));
  |  | 6175|  6.73M|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 6176|  6.73M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6177|  6.73M|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  | 6178|  6.73M|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|  6.73M|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 6179|  6.73M|                frame = tstate->current_frame = temp;
  |  | 6180|  6.73M|                tstate->py_recursion_remaining--;
  |  | 6181|  6.73M|                LOAD_SP();
  |  |  ------------------
  |  |  |  |  425|  6.73M|#define LOAD_SP() \
  |  |  |  |  426|  6.73M|stack_pointer = _PyFrame_GetStackPointer(frame)
  |  |  ------------------
  |  | 6182|  6.73M|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  419|  6.73M|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  420|  6.73M|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  421|  6.73M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (421:14): [Folded, False: 6.73M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6183|  6.73M|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  345|  6.73M|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 6184|  6.73M|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  6.73M|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 6185|  6.73M|            }
  |  | 6186|  6.73M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  6.73M|    { \
  |  |  |  |  201|  6.73M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  6.73M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  6.73M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  6.73M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  6.73M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  6.73M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  6.73M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  6.73M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 6.73M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  6.73M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  6.73M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  6.73M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  6.73M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  6.73M|    }
  |  |  ------------------
  |  | 6187|  6.73M|        }
  |  | 6188|       |
  |  | 6189|  6.64M|        TARGET(FOR_ITER_LIST) {
  |  |  ------------------
  |  |  |  |  132|  6.64M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6190|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6191|       |            int opcode = FOR_ITER_LIST;
  |  | 6192|       |            (void)(opcode);
  |  | 6193|       |            #endif
  |  | 6194|  6.64M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6195|  6.64M|            (void)this_instr;
  |  | 6196|  6.64M|            frame->instr_ptr = next_instr;
  |  | 6197|  6.64M|            next_instr += 2;
  |  | 6198|  6.64M|            INSTRUCTION_STATS(FOR_ITER_LIST);
  |  |  ------------------
  |  |  |  |   71|  6.64M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6199|  6.64M|            static_assert(INLINE_CACHE_ENTRIES_FOR_ITER == 1, "incorrect cache size");
  |  | 6200|  6.64M|            _PyStackRef iter;
  |  | 6201|  6.64M|            _PyStackRef null_or_index;
  |  | 6202|  6.64M|            _PyStackRef next;
  |  | 6203|       |            /* Skip 1 cache entry */
  |  | 6204|       |            // _ITER_CHECK_LIST
  |  | 6205|  6.64M|            {
  |  | 6206|  6.64M|                null_or_index = stack_pointer[-1];
  |  | 6207|  6.64M|                iter = stack_pointer[-2];
  |  | 6208|  6.64M|                PyObject *iter_o = PyStackRef_AsPyObjectBorrow(iter);
  |  | 6209|  6.64M|                if (Py_TYPE(iter_o) != &PyList_Type) {
  |  |  ------------------
  |  |  |  |  213|  6.64M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.64M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.64M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6209:21): [True: 2.56k, False: 6.64M]
  |  |  ------------------
  |  | 6210|  2.56k|                    UPDATE_MISS_STATS(FOR_ITER);
  |  |  ------------------
  |  |  |  |  298|  2.56k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 6211|  2.56k|                    assert(_PyOpcode_Deopt[opcode] == (FOR_ITER));
  |  | 6212|  2.56k|                    JUMP_TO_PREDICTED(FOR_ITER);
  |  |  ------------------
  |  |  |  |  136|  2.56k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 6213|      0|                }
  |  | 6214|  6.64M|                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|  6.64M|            }
  |  | 6223|       |            // _ITER_JUMP_LIST
  |  | 6224|      0|            {
  |  | 6225|       |                #ifdef Py_GIL_DISABLED
  |  | 6226|       |
  |  | 6227|       |                #else
  |  | 6228|  6.64M|                PyObject *list_o = PyStackRef_AsPyObjectBorrow(iter);
  |  | 6229|  6.64M|                assert(Py_TYPE(list_o) == &PyList_Type);
  |  | 6230|  6.64M|                STAT_INC(FOR_ITER, hit);
  |  |  ------------------
  |  |  |  |   73|  6.64M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 6231|  6.64M|                if ((size_t)PyStackRef_UntagInt(null_or_index) >= (size_t)PyList_GET_SIZE(list_o)) {
  |  |  ------------------
  |  |  |  |   38|  6.64M|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.64M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.64M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6231:21): [True: 2.15M, False: 4.48M]
  |  |  ------------------
  |  | 6232|  2.15M|                    null_or_index = PyStackRef_TagInt(-1);
  |  | 6233|  2.15M|                    JUMPBY(oparg + 1);
  |  |  ------------------
  |  |  |  |  260|  2.15M|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 6234|  2.15M|                    stack_pointer[-1] = null_or_index;
  |  | 6235|  2.15M|                    DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.15M|    { \
  |  |  |  |  201|  2.15M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  2.15M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  2.15M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  2.15M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  2.15M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  2.15M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  2.15M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  2.15M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 2.15M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.15M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.15M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.15M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.15M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.15M|    }
  |  |  ------------------
  |  | 6236|  2.15M|                }
  |  | 6237|  6.64M|                #endif
  |  | 6238|  6.64M|            }
  |  | 6239|       |            // _ITER_NEXT_LIST
  |  | 6240|  6.64M|            {
  |  | 6241|  6.64M|                PyObject *list_o = PyStackRef_AsPyObjectBorrow(iter);
  |  | 6242|  6.64M|                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|  6.64M|                next = PyStackRef_FromPyObjectNew(PyList_GET_ITEM(list_o, PyStackRef_UntagInt(null_or_index)));
  |  |  ------------------
  |  |  |  |  599|  6.64M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.64M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.64M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6263|  6.64M|                #endif
  |  | 6264|  6.64M|                null_or_index = PyStackRef_IncrementTaggedIntNoOverflow(null_or_index);
  |  | 6265|  6.64M|            }
  |  | 6266|  6.64M|            stack_pointer[-1] = null_or_index;
  |  | 6267|  6.64M|            stack_pointer[0] = next;
  |  | 6268|  6.64M|            stack_pointer += 1;
  |  | 6269|  6.64M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  6.64M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6270|  6.64M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  6.64M|    { \
  |  |  |  |  201|  6.64M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  6.64M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  6.64M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  6.64M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  6.64M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  6.64M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  6.64M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  6.64M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 6.64M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  6.64M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  6.64M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  6.64M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  6.64M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  6.64M|    }
  |  |  ------------------
  |  | 6271|  6.64M|        }
  |  | 6272|       |
  |  | 6273|  2.31M|        TARGET(FOR_ITER_RANGE) {
  |  |  ------------------
  |  |  |  |  132|  2.31M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6274|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6275|       |            int opcode = FOR_ITER_RANGE;
  |  | 6276|       |            (void)(opcode);
  |  | 6277|       |            #endif
  |  | 6278|  2.31M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6279|  2.31M|            (void)this_instr;
  |  | 6280|  2.31M|            frame->instr_ptr = next_instr;
  |  | 6281|  2.31M|            next_instr += 2;
  |  | 6282|  2.31M|            INSTRUCTION_STATS(FOR_ITER_RANGE);
  |  |  ------------------
  |  |  |  |   71|  2.31M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6283|  2.31M|            static_assert(INLINE_CACHE_ENTRIES_FOR_ITER == 1, "incorrect cache size");
  |  | 6284|  2.31M|            _PyStackRef iter;
  |  | 6285|  2.31M|            _PyStackRef next;
  |  | 6286|       |            /* Skip 1 cache entry */
  |  | 6287|       |            // _ITER_CHECK_RANGE
  |  | 6288|  2.31M|            {
  |  | 6289|  2.31M|                iter = stack_pointer[-2];
  |  | 6290|  2.31M|                _PyRangeIterObject *r = (_PyRangeIterObject *)PyStackRef_AsPyObjectBorrow(iter);
  |  | 6291|  2.31M|                if (Py_TYPE(r) != &PyRangeIter_Type) {
  |  |  ------------------
  |  |  |  |  213|  2.31M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.31M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.31M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6291:21): [True: 0, False: 2.31M]
  |  |  ------------------
  |  | 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|  2.31M|            }
  |  | 6304|       |            // _ITER_JUMP_RANGE
  |  | 6305|  2.31M|            {
  |  | 6306|  2.31M|                _PyRangeIterObject *r = (_PyRangeIterObject *)PyStackRef_AsPyObjectBorrow(iter);
  |  | 6307|  2.31M|                assert(Py_TYPE(r) == &PyRangeIter_Type);
  |  | 6308|       |                #ifdef Py_GIL_DISABLED
  |  | 6309|       |                assert(_PyObject_IsUniquelyReferenced((PyObject *)r));
  |  | 6310|       |                #endif
  |  | 6311|  2.31M|                STAT_INC(FOR_ITER, hit);
  |  |  ------------------
  |  |  |  |   73|  2.31M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 6312|  2.31M|                if (r->len <= 0) {
  |  |  ------------------
  |  |  |  Branch (6312:21): [True: 8.84k, False: 2.30M]
  |  |  ------------------
  |  | 6313|  8.84k|                    JUMPBY(oparg + 1);
  |  |  ------------------
  |  |  |  |  260|  8.84k|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 6314|  8.84k|                    DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  8.84k|    { \
  |  |  |  |  201|  8.84k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  8.84k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  8.84k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  8.84k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  8.84k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  8.84k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  8.84k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  8.84k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 8.84k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  8.84k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  8.84k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  8.84k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  8.84k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  8.84k|    }
  |  |  ------------------
  |  | 6315|  8.84k|                }
  |  | 6316|  2.31M|            }
  |  | 6317|       |            // _ITER_NEXT_RANGE
  |  | 6318|  2.31M|            {
  |  | 6319|  2.31M|                _PyRangeIterObject *r = (_PyRangeIterObject *)PyStackRef_AsPyObjectBorrow(iter);
  |  | 6320|  2.31M|                assert(Py_TYPE(r) == &PyRangeIter_Type);
  |  | 6321|       |                #ifdef Py_GIL_DISABLED
  |  | 6322|       |                assert(_PyObject_IsUniquelyReferenced((PyObject *)r));
  |  | 6323|       |                #endif
  |  | 6324|  2.31M|                assert(r->len > 0);
  |  | 6325|  2.31M|                long value = r->start;
  |  | 6326|  2.31M|                r->start = value + r->step;
  |  | 6327|  2.31M|                r->len--;
  |  | 6328|  2.31M|                PyObject *res = PyLong_FromLong(value);
  |  | 6329|  2.31M|                if (res == NULL) {
  |  |  ------------------
  |  |  |  Branch (6329:21): [True: 0, False: 2.31M]
  |  |  ------------------
  |  | 6330|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6331|      0|                }
  |  | 6332|  2.31M|                next = PyStackRef_FromPyObjectSteal(res);
  |  | 6333|  2.31M|            }
  |  | 6334|      0|            stack_pointer[0] = next;
  |  | 6335|  2.31M|            stack_pointer += 1;
  |  | 6336|  2.31M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.31M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6337|  2.31M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.31M|    { \
  |  |  |  |  201|  2.31M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  2.31M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  2.31M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  2.31M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  2.31M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  2.31M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  2.31M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  2.31M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 2.31M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.31M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.31M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.31M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.31M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.31M|    }
  |  |  ------------------
  |  | 6338|  2.31M|        }
  |  | 6339|       |
  |  | 6340|  3.47M|        TARGET(FOR_ITER_TUPLE) {
  |  |  ------------------
  |  |  |  |  132|  3.47M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6341|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6342|       |            int opcode = FOR_ITER_TUPLE;
  |  | 6343|       |            (void)(opcode);
  |  | 6344|       |            #endif
  |  | 6345|  3.47M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6346|  3.47M|            (void)this_instr;
  |  | 6347|  3.47M|            frame->instr_ptr = next_instr;
  |  | 6348|  3.47M|            next_instr += 2;
  |  | 6349|  3.47M|            INSTRUCTION_STATS(FOR_ITER_TUPLE);
  |  |  ------------------
  |  |  |  |   71|  3.47M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6350|  3.47M|            static_assert(INLINE_CACHE_ENTRIES_FOR_ITER == 1, "incorrect cache size");
  |  | 6351|  3.47M|            _PyStackRef iter;
  |  | 6352|  3.47M|            _PyStackRef null_or_index;
  |  | 6353|  3.47M|            _PyStackRef next;
  |  | 6354|       |            /* Skip 1 cache entry */
  |  | 6355|       |            // _ITER_CHECK_TUPLE
  |  | 6356|  3.47M|            {
  |  | 6357|  3.47M|                null_or_index = stack_pointer[-1];
  |  | 6358|  3.47M|                iter = stack_pointer[-2];
  |  | 6359|  3.47M|                PyObject *iter_o = PyStackRef_AsPyObjectBorrow(iter);
  |  | 6360|  3.47M|                if (Py_TYPE(iter_o) != &PyTuple_Type) {
  |  |  ------------------
  |  |  |  |  213|  3.47M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.47M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.47M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6360:21): [True: 2.20k, False: 3.47M]
  |  |  ------------------
  |  | 6361|  2.20k|                    UPDATE_MISS_STATS(FOR_ITER);
  |  |  ------------------
  |  |  |  |  298|  2.20k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 6362|  2.20k|                    assert(_PyOpcode_Deopt[opcode] == (FOR_ITER));
  |  | 6363|  2.20k|                    JUMP_TO_PREDICTED(FOR_ITER);
  |  |  ------------------
  |  |  |  |  136|  2.20k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 6364|      0|                }
  |  | 6365|  3.47M|                assert(PyStackRef_IsTaggedInt(null_or_index));
  |  | 6366|  3.47M|            }
  |  | 6367|       |            // _ITER_JUMP_TUPLE
  |  | 6368|      0|            {
  |  | 6369|  3.47M|                PyObject *tuple_o = PyStackRef_AsPyObjectBorrow(iter);
  |  | 6370|  3.47M|                (void)tuple_o;
  |  | 6371|  3.47M|                assert(Py_TYPE(tuple_o) == &PyTuple_Type);
  |  | 6372|  3.47M|                STAT_INC(FOR_ITER, hit);
  |  |  ------------------
  |  |  |  |   73|  3.47M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 6373|  3.47M|                if ((size_t)PyStackRef_UntagInt(null_or_index) >= (size_t)PyTuple_GET_SIZE(tuple_o)) {
  |  |  ------------------
  |  |  |  |   27|  3.47M|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.47M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.47M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (6373:21): [True: 429k, False: 3.04M]
  |  |  ------------------
  |  | 6374|   429k|                    null_or_index = PyStackRef_TagInt(-1);
  |  | 6375|   429k|                    JUMPBY(oparg + 1);
  |  |  ------------------
  |  |  |  |  260|   429k|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 6376|   429k|                    stack_pointer[-1] = null_or_index;
  |  | 6377|   429k|                    DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   429k|    { \
  |  |  |  |  201|   429k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|   429k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|   429k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|   429k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|   429k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|   429k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|   429k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|   429k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 429k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   429k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   429k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   429k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   429k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   429k|    }
  |  |  ------------------
  |  | 6378|   429k|                }
  |  | 6379|  3.47M|            }
  |  | 6380|       |            // _ITER_NEXT_TUPLE
  |  | 6381|  3.47M|            {
  |  | 6382|  3.47M|                PyObject *tuple_o = PyStackRef_AsPyObjectBorrow(iter);
  |  | 6383|  3.47M|                assert(Py_TYPE(tuple_o) == &PyTuple_Type);
  |  | 6384|  3.47M|                uintptr_t i = PyStackRef_UntagInt(null_or_index);
  |  | 6385|  3.47M|                assert((size_t)i < (size_t)PyTuple_GET_SIZE(tuple_o));
  |  | 6386|  3.47M|                next = PyStackRef_FromPyObjectNew(PyTuple_GET_ITEM(tuple_o, i));
  |  |  ------------------
  |  |  |  |  599|  3.47M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.47M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.47M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6387|  3.47M|                null_or_index = PyStackRef_IncrementTaggedIntNoOverflow(null_or_index);
  |  | 6388|  3.47M|            }
  |  | 6389|  3.47M|            stack_pointer[-1] = null_or_index;
  |  | 6390|  3.47M|            stack_pointer[0] = next;
  |  | 6391|  3.47M|            stack_pointer += 1;
  |  | 6392|  3.47M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  3.47M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6393|  3.47M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.47M|    { \
  |  |  |  |  201|  3.47M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  3.47M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  3.47M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  3.47M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  3.47M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  3.47M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  3.47M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  3.47M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 3.47M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.47M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.47M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.47M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.47M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.47M|    }
  |  |  ------------------
  |  | 6394|  3.47M|        }
  |  | 6395|       |
  |  | 6396|  8.54k|        TARGET(FOR_ITER_VIRTUAL) {
  |  |  ------------------
  |  |  |  |  132|  8.54k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6397|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6398|       |            int opcode = FOR_ITER_VIRTUAL;
  |  | 6399|       |            (void)(opcode);
  |  | 6400|       |            #endif
  |  | 6401|  8.54k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6402|  8.54k|            (void)this_instr;
  |  | 6403|  8.54k|            frame->instr_ptr = next_instr;
  |  | 6404|  8.54k|            next_instr += 2;
  |  | 6405|  8.54k|            INSTRUCTION_STATS(FOR_ITER_VIRTUAL);
  |  |  ------------------
  |  |  |  |   71|  8.54k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6406|  8.54k|            static_assert(INLINE_CACHE_ENTRIES_FOR_ITER == 1, "incorrect cache size");
  |  | 6407|  8.54k|            _PyStackRef null_or_index;
  |  | 6408|  8.54k|            _PyStackRef iter;
  |  | 6409|  8.54k|            _PyStackRef next;
  |  | 6410|       |            /* Skip 1 cache entry */
  |  | 6411|       |            // _GUARD_TOS_NOT_NULL
  |  | 6412|  8.54k|            {
  |  | 6413|  8.54k|                null_or_index = stack_pointer[-1];
  |  | 6414|  8.54k|                if (PyStackRef_IsNull(null_or_index)) {
  |  |  ------------------
  |  |  |  |  470|  8.54k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|  8.54k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  8.54k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (470:32): [True: 0, False: 8.54k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 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|  8.54k|            }
  |  | 6420|       |            // _FOR_ITER_VIRTUAL
  |  | 6421|  8.54k|            {
  |  | 6422|  8.54k|                iter = stack_pointer[-2];
  |  | 6423|  8.54k|                PyObject *iter_o = PyStackRef_AsPyObjectBorrow(iter);
  |  | 6424|  8.54k|                Py_ssize_t index = PyStackRef_UntagInt(null_or_index);
  |  | 6425|  8.54k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6426|  8.54k|                _PyObjectIndexPair next_index = Py_TYPE(iter_o)->_tp_iteritem(iter_o, index);
  |  |  ------------------
  |  |  |  |  213|  8.54k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  8.54k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  8.54k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6427|  8.54k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 6428|  8.54k|                PyObject *next_o = next_index.object;
  |  | 6429|  8.54k|                index = next_index.index;
  |  | 6430|  8.54k|                if (next_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (6430:21): [True: 4.01k, False: 4.52k]
  |  |  ------------------
  |  | 6431|  4.01k|                    if (index < 0) {
  |  |  ------------------
  |  |  |  Branch (6431:25): [True: 0, False: 4.01k]
  |  |  ------------------
  |  | 6432|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6433|      0|                    }
  |  | 6434|  4.01k|                    JUMPBY(oparg + 1);
  |  |  ------------------
  |  |  |  |  260|  4.01k|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 6435|  4.01k|                    DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  4.01k|    { \
  |  |  |  |  201|  4.01k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  4.01k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  4.01k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  4.01k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  4.01k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  4.01k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  4.01k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  4.01k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 4.01k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  4.01k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  4.01k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  4.01k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  4.01k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  4.01k|    }
  |  |  ------------------
  |  | 6436|  4.01k|                }
  |  | 6437|  8.54k|                null_or_index = PyStackRef_TagInt(index);
  |  | 6438|  8.54k|                next = PyStackRef_FromPyObjectSteal(next_o);
  |  | 6439|  8.54k|            }
  |  | 6440|      0|            stack_pointer[-1] = null_or_index;
  |  | 6441|  8.54k|            stack_pointer[0] = next;
  |  | 6442|  8.54k|            stack_pointer += 1;
  |  | 6443|  8.54k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  8.54k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6444|  8.54k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  8.54k|    { \
  |  |  |  |  201|  8.54k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  8.54k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  8.54k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  8.54k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  8.54k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  8.54k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  8.54k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  8.54k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 8.54k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  8.54k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  8.54k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  8.54k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  8.54k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  8.54k|    }
  |  |  ------------------
  |  | 6445|  8.54k|        }
  |  | 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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      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|   427k|        TARGET(GET_ITER) {
  |  |  ------------------
  |  |  |  |  132|   427k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6562|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6563|       |            int opcode = GET_ITER;
  |  | 6564|       |            (void)(opcode);
  |  | 6565|       |            #endif
  |  | 6566|   427k|            frame->instr_ptr = next_instr;
  |  | 6567|   427k|            next_instr += 2;
  |  | 6568|   427k|            INSTRUCTION_STATS(GET_ITER);
  |  |  ------------------
  |  |  |  |   71|   427k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6569|   427k|            PREDICTED_GET_ITER:;
  |  | 6570|   427k|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  | 6571|   427k|            (void)this_instr;
  |  | 6572|   427k|            _PyStackRef iterable;
  |  | 6573|   427k|            _PyStackRef iter;
  |  | 6574|   427k|            _PyStackRef index_or_null;
  |  | 6575|       |            // _SPECIALIZE_GET_ITER
  |  | 6576|   427k|            {
  |  | 6577|   427k|                iterable = stack_pointer[-1];
  |  | 6578|   427k|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 6579|   427k|                (void)counter;
  |  | 6580|   427k|                #if ENABLE_SPECIALIZATION
  |  | 6581|   427k|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  354|   427k|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (354:5): [True: 864, False: 426k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6582|    864|                    next_instr = this_instr;
  |  | 6583|    864|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6584|    864|                    _Py_Specialize_GetIter(iterable, next_instr);
  |  | 6585|    864|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 6586|    864|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|    864|    { \
  |  |  |  |  217|    864|        opcode = next_instr->op.code; \
  |  |  |  |  218|    864|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    864|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|    864|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|    864|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|    864|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|    864|    }
  |  |  ------------------
  |  | 6587|    864|                }
  |  | 6588|   427k|                OPCODE_DEFERRED_INC(GET_ITER);
  |  |  ------------------
  |  |  |  |   90|   427k|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 6589|   427k|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  357|   427k|    do { \
  |  |  |  |  358|   427k|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  359|   427k|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (359:14): [Folded, False: 427k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6590|   427k|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 6591|   427k|            }
  |  | 6592|       |            // _GET_ITER
  |  | 6593|   427k|            {
  |  | 6594|   427k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6595|   427k|                _PyStackRef result = _PyEval_GetIter(iterable, &index_or_null, oparg);
  |  | 6596|   427k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 6597|   427k|                if (PyStackRef_IsError(result)) {
  |  |  ------------------
  |  |  |  Branch (6597:21): [True: 0, False: 427k]
  |  |  ------------------
  |  | 6598|      0|                    JUMP_TO_LABEL(pop_1_error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6599|      0|                }
  |  | 6600|   427k|                iter = result;
  |  | 6601|   427k|            }
  |  | 6602|      0|            stack_pointer[-1] = iter;
  |  | 6603|   427k|            stack_pointer[0] = index_or_null;
  |  | 6604|   427k|            stack_pointer += 1;
  |  | 6605|   427k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   427k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6606|   427k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   427k|    { \
  |  |  |  |  201|   427k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|   427k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|   427k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|   427k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|   427k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|   427k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|   427k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|   427k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 427k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   427k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   427k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   427k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   427k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   427k|    }
  |  |  ------------------
  |  | 6607|   427k|        }
  |  | 6608|       |
  |  | 6609|  15.7k|        TARGET(GET_ITER_SELF) {
  |  |  ------------------
  |  |  |  |  132|  15.7k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6610|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6611|       |            int opcode = GET_ITER_SELF;
  |  | 6612|       |            (void)(opcode);
  |  | 6613|       |            #endif
  |  | 6614|  15.7k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6615|  15.7k|            (void)this_instr;
  |  | 6616|  15.7k|            frame->instr_ptr = next_instr;
  |  | 6617|  15.7k|            next_instr += 2;
  |  | 6618|  15.7k|            INSTRUCTION_STATS(GET_ITER_SELF);
  |  |  ------------------
  |  |  |  |   71|  15.7k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6619|  15.7k|            static_assert(INLINE_CACHE_ENTRIES_GET_ITER == 1, "incorrect cache size");
  |  | 6620|  15.7k|            _PyStackRef iterable;
  |  | 6621|  15.7k|            _PyStackRef res;
  |  | 6622|       |            /* Skip 1 cache entry */
  |  | 6623|       |            // _GUARD_ITERATOR
  |  | 6624|  15.7k|            {
  |  | 6625|  15.7k|                iterable = stack_pointer[-1];
  |  | 6626|  15.7k|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(iterable));
  |  |  ------------------
  |  |  |  |  213|  15.7k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  15.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  15.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6627|  15.7k|                if (tp->tp_iter != PyObject_SelfIter) {
  |  |  ------------------
  |  |  |  Branch (6627:21): [True: 0, False: 15.7k]
  |  |  ------------------
  |  | 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|  15.7k|                STAT_INC(GET_ITER, hit);
  |  |  ------------------
  |  |  |  |   73|  15.7k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 6633|  15.7k|            }
  |  | 6634|       |            // _PUSH_NULL
  |  | 6635|      0|            {
  |  | 6636|  15.7k|                res = PyStackRef_NULL;
  |  | 6637|  15.7k|            }
  |  | 6638|  15.7k|            stack_pointer[0] = res;
  |  | 6639|  15.7k|            stack_pointer += 1;
  |  | 6640|  15.7k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  15.7k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6641|  15.7k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  15.7k|    { \
  |  |  |  |  201|  15.7k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  15.7k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  15.7k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  15.7k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  15.7k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  15.7k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  15.7k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  15.7k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 15.7k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  15.7k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  15.7k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  15.7k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  15.7k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  15.7k|    }
  |  |  ------------------
  |  | 6642|  15.7k|        }
  |  | 6643|       |
  |  | 6644|  2.60M|        TARGET(GET_ITER_VIRTUAL) {
  |  |  ------------------
  |  |  |  |  132|  2.60M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6645|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6646|       |            int opcode = GET_ITER_VIRTUAL;
  |  | 6647|       |            (void)(opcode);
  |  | 6648|       |            #endif
  |  | 6649|  2.60M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 6650|  2.60M|            (void)this_instr;
  |  | 6651|  2.60M|            frame->instr_ptr = next_instr;
  |  | 6652|  2.60M|            next_instr += 2;
  |  | 6653|  2.60M|            INSTRUCTION_STATS(GET_ITER_VIRTUAL);
  |  |  ------------------
  |  |  |  |   71|  2.60M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6654|  2.60M|            static_assert(INLINE_CACHE_ENTRIES_GET_ITER == 1, "incorrect cache size");
  |  | 6655|  2.60M|            _PyStackRef iterable;
  |  | 6656|  2.60M|            _PyStackRef zero;
  |  | 6657|       |            /* Skip 1 cache entry */
  |  | 6658|       |            // _GUARD_ITER_VIRTUAL
  |  | 6659|  2.60M|            {
  |  | 6660|  2.60M|                iterable = stack_pointer[-1];
  |  | 6661|  2.60M|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(iterable));
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6662|  2.60M|                if (tp->_tp_iteritem == NULL) {
  |  |  ------------------
  |  |  |  Branch (6662:21): [True: 106, False: 2.60M]
  |  |  ------------------
  |  | 6663|    106|                    UPDATE_MISS_STATS(GET_ITER);
  |  |  ------------------
  |  |  |  |  298|    106|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 6664|    106|                    assert(_PyOpcode_Deopt[opcode] == (GET_ITER));
  |  | 6665|    106|                    JUMP_TO_PREDICTED(GET_ITER);
  |  |  ------------------
  |  |  |  |  136|    106|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 6666|      0|                }
  |  | 6667|  2.60M|                STAT_INC(GET_ITER, hit);
  |  |  ------------------
  |  |  |  |   73|  2.60M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 6668|  2.60M|            }
  |  | 6669|       |            // _PUSH_TAGGED_ZERO
  |  | 6670|      0|            {
  |  | 6671|  2.60M|                zero = PyStackRef_TagInt(0);
  |  | 6672|  2.60M|            }
  |  | 6673|  2.60M|            stack_pointer[0] = zero;
  |  | 6674|  2.60M|            stack_pointer += 1;
  |  | 6675|  2.60M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.60M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6676|  2.60M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.60M|    { \
  |  |  |  |  201|  2.60M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  2.60M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  2.60M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  2.60M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  2.60M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  2.60M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  2.60M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  2.60M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 2.60M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.60M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.60M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.60M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.60M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.60M|    }
  |  |  ------------------
  |  | 6677|  2.60M|        }
  |  | 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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      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|   448k|        TARGET(IMPORT_FROM) {
  |  |  ------------------
  |  |  |  |  132|   448k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6708|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6709|       |            int opcode = IMPORT_FROM;
  |  | 6710|       |            (void)(opcode);
  |  | 6711|       |            #endif
  |  | 6712|   448k|            frame->instr_ptr = next_instr;
  |  | 6713|   448k|            next_instr += 1;
  |  | 6714|   448k|            INSTRUCTION_STATS(IMPORT_FROM);
  |  |  ------------------
  |  |  |  |   71|   448k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6715|   448k|            _PyStackRef from;
  |  | 6716|   448k|            _PyStackRef res;
  |  | 6717|   448k|            from = stack_pointer[-1];
  |  | 6718|   448k|            PyObject *name = GETITEM(FRAME_CO_NAMES, oparg);
  |  |  ------------------
  |  |  |  |  235|   448k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|   448k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|   448k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   448k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6719|   448k|            PyObject *res_o;
  |  | 6720|   448k|            if (PyLazyImport_CheckExact(PyStackRef_AsPyObjectBorrow(from))) {
  |  |  ------------------
  |  |  |  |   15|   448k|#define PyLazyImport_CheckExact(op) Py_IS_TYPE((op), &PyLazyImport_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|   448k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   448k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   448k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 20, False: 448k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 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|   448k|            else {
  |  | 6727|   448k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6728|   448k|                res_o = _PyEval_ImportFrom(
  |  | 6729|   448k|                    tstate, PyStackRef_AsPyObjectBorrow(from), name);
  |  | 6730|   448k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 6731|   448k|            }
  |  | 6732|   448k|            if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (6732:17): [True: 2, False: 448k]
  |  |  ------------------
  |  | 6733|      2|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      2|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6734|      0|            }
  |  | 6735|   448k|            res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 6736|   448k|            stack_pointer[0] = res;
  |  | 6737|   448k|            stack_pointer += 1;
  |  | 6738|   448k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   448k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6739|   448k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   448k|    { \
  |  |  |  |  201|   448k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|   448k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|   448k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|   448k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|   448k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|   448k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|   448k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|   448k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 448k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   448k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   448k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   448k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   448k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   448k|    }
  |  |  ------------------
  |  | 6740|   448k|        }
  |  | 6741|       |
  |  | 6742|   464k|        TARGET(IMPORT_NAME) {
  |  |  ------------------
  |  |  |  |  132|   464k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 6743|       |            #if _Py_TAIL_CALL_INTERP
  |  | 6744|       |            int opcode = IMPORT_NAME;
  |  | 6745|       |            (void)(opcode);
  |  | 6746|       |            #endif
  |  | 6747|   464k|            frame->instr_ptr = next_instr;
  |  | 6748|   464k|            next_instr += 1;
  |  | 6749|   464k|            INSTRUCTION_STATS(IMPORT_NAME);
  |  |  ------------------
  |  |  |  |   71|   464k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 6750|   464k|            _PyStackRef level;
  |  | 6751|   464k|            _PyStackRef fromlist;
  |  | 6752|   464k|            _PyStackRef res;
  |  | 6753|   464k|            fromlist = stack_pointer[-1];
  |  | 6754|   464k|            level = stack_pointer[-2];
  |  | 6755|   464k|            PyObject *name = GETITEM(FRAME_CO_NAMES, oparg >> 2);
  |  |  ------------------
  |  |  |  |  235|   464k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|   464k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|   464k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   464k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 6756|   464k|            PyObject *res_o;
  |  | 6757|   464k|            if (!(oparg & 0x02)) {
  |  |  ------------------
  |  |  |  Branch (6757:17): [True: 6.95k, False: 457k]
  |  |  ------------------
  |  | 6758|  6.95k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6759|  6.95k|                res_o = _PyEval_LazyImportName(tstate, BUILTINS(), GLOBALS(),
  |  |  ------------------
  |  |  |  |  326|  6.95k|#define BUILTINS() frame->f_builtins
  |  |  ------------------
  |  |                               res_o = _PyEval_LazyImportName(tstate, BUILTINS(), GLOBALS(),
  |  |  ------------------
  |  |  |  |  325|  6.95k|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  | 6760|  6.95k|                    LOCALS(), name,
  |  |  ------------------
  |  |  |  |  327|  6.95k|#define LOCALS() frame->f_locals
  |  |  ------------------
  |  | 6761|  6.95k|                    PyStackRef_AsPyObjectBorrow(fromlist),
  |  | 6762|  6.95k|                    PyStackRef_AsPyObjectBorrow(level),
  |  | 6763|  6.95k|                    oparg & 0x01);
  |  | 6764|  6.95k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 6765|  6.95k|            }
  |  | 6766|   457k|            else {
  |  | 6767|   457k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6768|   457k|                res_o = _PyEval_ImportName(tstate, BUILTINS(), GLOBALS(),
  |  |  ------------------
  |  |  |  |  326|   457k|#define BUILTINS() frame->f_builtins
  |  |  ------------------
  |  |                               res_o = _PyEval_ImportName(tstate, BUILTINS(), GLOBALS(),
  |  |  ------------------
  |  |  |  |  325|   457k|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  | 6769|   457k|                    LOCALS(), name,
  |  |  ------------------
  |  |  |  |  327|   457k|#define LOCALS() frame->f_locals
  |  |  ------------------
  |  | 6770|   457k|                    PyStackRef_AsPyObjectBorrow(fromlist),
  |  | 6771|   457k|                    PyStackRef_AsPyObjectBorrow(level));
  |  | 6772|   457k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 6773|   457k|            }
  |  | 6774|   464k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 6775|   464k|            _PyStackRef tmp = fromlist;
  |  | 6776|   464k|            fromlist = PyStackRef_NULL;
  |  | 6777|   464k|            stack_pointer[-1] = fromlist;
  |  | 6778|   464k|            PyStackRef_CLOSE(tmp);
  |  | 6779|   464k|            tmp = level;
  |  | 6780|   464k|            level = PyStackRef_NULL;
  |  | 6781|   464k|            stack_pointer[-2] = level;
  |  | 6782|   464k|            PyStackRef_CLOSE(tmp);
  |  | 6783|   464k|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 6784|   464k|            stack_pointer += -2;
  |  | 6785|   464k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   464k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6786|   464k|            if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (6786:17): [True: 6.91k, False: 457k]
  |  |  ------------------
  |  | 6787|  6.91k|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|  6.91k|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 6788|      0|            }
  |  | 6789|   457k|            res = PyStackRef_FromPyObjectSteal(res_o);
  |  | 6790|   457k|            stack_pointer[0] = res;
  |  | 6791|   457k|            stack_pointer += 1;
  |  | 6792|   457k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   457k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 6793|   457k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   457k|    { \
  |  |  |  |  201|   457k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|   457k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|   457k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|   457k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|   457k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|   457k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|   457k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|   457k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 457k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   457k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   457k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   457k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   457k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   457k|    }
  |  |  ------------------
  |  | 6794|   457k|        }
  |  | 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)) {
  |  |  ------------------
  |  |  |  |  470|      0|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|      0|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (470: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);
  |  |  ------------------
  |  |  |  |  599|      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);
  |  |  ------------------
  |  |  |  |  599|      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);
  |  |  ------------------
  |  |  |  |  470|      0|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|      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)) {
  |  |  ------------------
  |  |  |  |  470|      0|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      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);
  |  |  ------------------
  |  |  |  |  470|      0|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|      0|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (470: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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      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)) {
  |  |  ------------------
  |  |  |  |  470|      0|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|      0|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (470: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);
  |  |  ------------------
  |  |  |  |  599|      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);
  |  |  ------------------
  |  |  |  |  599|      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);
  |  |  ------------------
  |  |  |  |  470|      0|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|      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)) {
  |  |  ------------------
  |  |  |  |  470|      0|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      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);
  |  |  ------------------
  |  |  |  |  482|      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(       \
  |  |  |  |  ------------------
  |  |  |  |  |  |  170|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      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);
  |  |  ------------------
  |  |  |  |  483|      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(       \
  |  |  |  |  ------------------
  |  |  |  |  |  |  170|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      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);
  |  |  ------------------
  |  |  |  |  483|      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(       \
  |  |  |  |  ------------------
  |  |  |  |  |  |  170|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      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);
  |  |  ------------------
  |  |  |  |  481|      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(       \
  |  |  |  |  ------------------
  |  |  |  |  |  |  170|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      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;
  |  |  ------------------
  |  |  |  |  357|      0|#define _PY_EVAL_EVENTS_MASK ((1 << _PY_EVAL_EVENTS_BITS)-1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  356|      0|#define _PY_EVAL_EVENTS_BITS 8
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7793|      0|                    uintptr_t code_version = FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(_PyFrame_GetCode(frame)->_co_instrumentation_version);
  |  |  ------------------
  |  |  |  |  151|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      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) {
  |  |  ------------------
  |  |  |  |   92|      0|#define RESUME_OPARG_LOCATION_MASK 0x7
  |  |  ------------------
  |  |                               if ((oparg & RESUME_OPARG_LOCATION_MASK) < RESUME_AFTER_YIELD_FROM) {
  |  |  ------------------
  |  |  |  |   88|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      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);
  |  |  ------------------
  |  |  |  |  166|      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|       |                    int i = frame->instr_ptr - _PyFrame_GetBytecode(frame);
  |  | 7949|       |                    int opcode = _Py_GetBaseCodeUnit(_PyFrame_GetCode(frame), i).op.code;
  |  | 7950|       |                    assert(opcode == SEND || opcode == FOR_ITER);
  |  | 7951|       |                }
  |  | 7952|       |                #endif
  |  | 7953|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 7954|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 7955|      0|                value = temp;
  |  | 7956|      0|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|      0|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 7957|      0|            }
  |  | 7958|      0|            stack_pointer[0] = value;
  |  | 7959|      0|            stack_pointer += 1;
  |  | 7960|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 7961|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      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|    }
  |  |  ------------------
  |  | 7962|      0|        }
  |  | 7963|       |
  |  | 7964|  5.44M|        TARGET(INTERPRETER_EXIT) {
  |  |  ------------------
  |  |  |  |  132|  5.44M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 7965|       |            #if _Py_TAIL_CALL_INTERP
  |  | 7966|       |            int opcode = INTERPRETER_EXIT;
  |  | 7967|       |            (void)(opcode);
  |  | 7968|       |            #endif
  |  | 7969|  5.44M|            frame->instr_ptr = next_instr;
  |  | 7970|  5.44M|            next_instr += 1;
  |  | 7971|  5.44M|            INSTRUCTION_STATS(INTERPRETER_EXIT);
  |  |  ------------------
  |  |  |  |   71|  5.44M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 7972|  5.44M|            _PyStackRef retval;
  |  | 7973|  5.44M|            retval = stack_pointer[-1];
  |  | 7974|  5.44M|            assert(frame->owner == FRAME_OWNED_BY_INTERPRETER);
  |  | 7975|  5.44M|            assert(_PyFrame_IsIncomplete(frame));
  |  | 7976|  5.44M|            tstate->current_frame = frame->previous;
  |  | 7977|  5.44M|            assert(!_PyErr_Occurred(tstate));
  |  | 7978|  5.44M|            PyObject *result = PyStackRef_AsPyObjectSteal(retval);
  |  | 7979|  5.44M|            #if !_Py_TAIL_CALL_INTERP
  |  | 7980|  5.44M|            assert(frame == &entry.frame);
  |  | 7981|  5.44M|            #endif
  |  | 7982|       |            #ifdef _Py_TIER2
  |  | 7983|       |            _PyStackRef executor = frame->localsplus[0];
  |  | 7984|       |            assert(tstate->current_executor == NULL);
  |  | 7985|       |            if (!PyStackRef_IsNull(executor)) {
  |  | 7986|       |                tstate->current_executor = PyStackRef_AsPyObjectBorrow(executor);
  |  | 7987|       |                stack_pointer += -1;
  |  | 7988|       |                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  | 7989|       |                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 7990|       |                PyStackRef_CLOSE(executor);
  |  | 7991|       |                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 7992|       |                stack_pointer += 1;
  |  | 7993|       |            }
  |  | 7994|       |            #endif
  |  | 7995|  5.44M|            LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  5.44M|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 7996|  5.44M|            return result;
  |  | 7997|  5.44M|        }
  |  | 7998|       |
  |  | 7999|  6.91M|        TARGET(IS_OP) {
  |  |  ------------------
  |  |  |  |  132|  6.91M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8000|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8001|       |            int opcode = IS_OP;
  |  | 8002|       |            (void)(opcode);
  |  | 8003|       |            #endif
  |  | 8004|  6.91M|            frame->instr_ptr = next_instr;
  |  | 8005|  6.91M|            next_instr += 1;
  |  | 8006|  6.91M|            INSTRUCTION_STATS(IS_OP);
  |  |  ------------------
  |  |  |  |   71|  6.91M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8007|  6.91M|            _PyStackRef left;
  |  | 8008|  6.91M|            _PyStackRef right;
  |  | 8009|  6.91M|            _PyStackRef b;
  |  | 8010|  6.91M|            _PyStackRef l;
  |  | 8011|  6.91M|            _PyStackRef r;
  |  | 8012|  6.91M|            _PyStackRef value;
  |  | 8013|       |            // _IS_OP
  |  | 8014|  6.91M|            {
  |  | 8015|  6.91M|                right = stack_pointer[-1];
  |  | 8016|  6.91M|                left = stack_pointer[-2];
  |  | 8017|  6.91M|                int res = Py_Is(PyStackRef_AsPyObjectBorrow(left), PyStackRef_AsPyObjectBorrow(right)) ^ oparg;
  |  |  ------------------
  |  |  |  |  187|  6.91M|#define Py_Is(x, y) ((x) == (y))
  |  |  ------------------
  |  | 8018|  6.91M|                b = res ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  471|  6.36M|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  6.36M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               b = res ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  472|  7.46M|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|   547k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8018:21): [True: 6.36M, False: 547k]
  |  |  ------------------
  |  | 8019|  6.91M|                l = left;
  |  | 8020|  6.91M|                r = right;
  |  | 8021|  6.91M|            }
  |  | 8022|       |            // _POP_TOP
  |  | 8023|  6.91M|            {
  |  | 8024|  6.91M|                value = r;
  |  | 8025|  6.91M|                stack_pointer[-2] = b;
  |  | 8026|  6.91M|                stack_pointer[-1] = l;
  |  | 8027|  6.91M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8028|  6.91M|                PyStackRef_XCLOSE(value);
  |  | 8029|  6.91M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 8030|  6.91M|            }
  |  | 8031|       |            // _POP_TOP
  |  | 8032|  6.91M|            {
  |  | 8033|  6.91M|                value = l;
  |  | 8034|  6.91M|                stack_pointer += -1;
  |  | 8035|  6.91M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  6.91M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8036|  6.91M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8037|  6.91M|                PyStackRef_XCLOSE(value);
  |  | 8038|  6.91M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 8039|  6.91M|            }
  |  | 8040|  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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  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|    }
  |  |  ------------------
  |  | 8041|  6.91M|        }
  |  | 8042|       |
  |  | 8043|  6.91M|        TARGET(JUMP_BACKWARD) {
  |  |  ------------------
  |  |  |  |  132|  1.20k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8044|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8045|       |            int opcode = JUMP_BACKWARD;
  |  | 8046|       |            (void)(opcode);
  |  | 8047|       |            #endif
  |  | 8048|  1.20k|            frame->instr_ptr = next_instr;
  |  | 8049|  1.20k|            next_instr += 2;
  |  | 8050|  1.20k|            INSTRUCTION_STATS(JUMP_BACKWARD);
  |  |  ------------------
  |  |  |  |   71|  1.20k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8051|  1.20k|            PREDICTED_JUMP_BACKWARD:;
  |  | 8052|  1.20k|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  | 8053|  1.20k|            (void)this_instr;
  |  | 8054|       |            /* Skip 1 cache entry */
  |  | 8055|       |            // _SPECIALIZE_JUMP_BACKWARD
  |  | 8056|  1.20k|            {
  |  | 8057|  1.20k|                #if ENABLE_SPECIALIZATION
  |  | 8058|  1.20k|                if (this_instr->op.code == JUMP_BACKWARD) {
  |  |  ------------------
  |  |  |  |   87|  1.20k|#define JUMP_BACKWARD                           74
  |  |  ------------------
  |  |  |  Branch (8058:21): [True: 1.20k, False: 0]
  |  |  ------------------
  |  | 8059|  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 (8059:39): [True: 0, False: 1.20k]
  |  |  ------------------
  |  | 8060|  1.20k|                    FT_ATOMIC_STORE_UINT8_RELAXED(this_instr->op.code, desired);
  |  |  ------------------
  |  |  |  |  169|  1.20k|#define FT_ATOMIC_STORE_UINT8_RELAXED(value, new_value) value = new_value
  |  |  ------------------
  |  | 8061|  1.20k|                    next_instr = this_instr;
  |  | 8062|  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|    }
  |  |  ------------------
  |  | 8063|  1.20k|                }
  |  | 8064|  1.20k|                #endif
  |  | 8065|  1.20k|            }
  |  | 8066|       |            // _CHECK_PERIODIC
  |  | 8067|  1.20k|            {
  |  | 8068|  1.20k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8069|  1.20k|                int err = check_periodics(tstate);
  |  | 8070|  1.20k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 8071|  1.20k|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (8071:21): [True: 0, False: 1.20k]
  |  |  ------------------
  |  | 8072|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8073|      0|                }
  |  | 8074|  1.20k|            }
  |  | 8075|       |            // _JUMP_BACKWARD_NO_INTERRUPT
  |  | 8076|  1.20k|            {
  |  | 8077|  1.20k|                assert(oparg <= INSTR_OFFSET());
  |  | 8078|  1.20k|                JUMPBY(-oparg);
  |  |  ------------------
  |  |  |  |  260|  1.20k|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 8079|  1.20k|            }
  |  | 8080|  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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  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|    }
  |  |  ------------------
  |  | 8081|  1.20k|        }
  |  | 8082|       |
  |  | 8083|      0|        TARGET(JUMP_BACKWARD_JIT) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8084|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8085|       |            int opcode = JUMP_BACKWARD_JIT;
  |  | 8086|       |            (void)(opcode);
  |  | 8087|       |            #endif
  |  | 8088|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8089|      0|            (void)this_instr;
  |  | 8090|      0|            frame->instr_ptr = next_instr;
  |  | 8091|      0|            next_instr += 2;
  |  | 8092|      0|            INSTRUCTION_STATS(JUMP_BACKWARD_JIT);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8093|      0|            static_assert(1 == 1, "incorrect cache size");
  |  | 8094|       |            /* Skip 1 cache entry */
  |  | 8095|       |            // _CHECK_PERIODIC
  |  | 8096|      0|            {
  |  | 8097|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8098|      0|                int err = check_periodics(tstate);
  |  | 8099|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 8100|      0|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (8100:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8101|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8102|      0|                }
  |  | 8103|      0|            }
  |  | 8104|       |            // _JUMP_BACKWARD_NO_INTERRUPT
  |  | 8105|      0|            {
  |  | 8106|      0|                assert(oparg <= INSTR_OFFSET());
  |  | 8107|      0|                JUMPBY(-oparg);
  |  |  ------------------
  |  |  |  |  260|      0|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 8108|      0|            }
  |  | 8109|       |            // _JIT
  |  | 8110|      0|            {
  |  | 8111|       |                #ifdef _Py_TIER2
  |  | 8112|       |                bool is_resume = this_instr->op.code == RESUME_CHECK_JIT;
  |  | 8113|       |                _Py_BackoffCounter counter = this_instr[1].counter;
  |  | 8114|       |                if ((backoff_counter_triggers(counter) &&
  |  | 8115|       |                        !IS_JIT_TRACING() &&
  |  | 8116|       |                        (this_instr->op.code == JUMP_BACKWARD_JIT || is_resume)) &&
  |  | 8117|       |                    next_instr->op.code != ENTER_EXECUTOR) {
  |  | 8118|       |                    _Py_CODEUNIT *insert_exec_at = this_instr;
  |  | 8119|       |                    while (oparg > 255) {
  |  | 8120|       |                        oparg >>= 8;
  |  | 8121|       |                        insert_exec_at--;
  |  | 8122|       |                    }
  |  | 8123|       |                    int succ = _PyJit_TryInitializeTracing(tstate, frame, this_instr, insert_exec_at,
  |  | 8124|       |                        is_resume ? insert_exec_at : next_instr, stack_pointer, 0, NULL, oparg, NULL);
  |  | 8125|       |                    if (succ) {
  |  | 8126|       |                        ENTER_TRACING();
  |  | 8127|       |                    }
  |  | 8128|       |                    else {
  |  | 8129|       |                        this_instr[1].counter = restart_backoff_counter(counter);
  |  | 8130|       |                    }
  |  | 8131|       |                }
  |  | 8132|       |                else {
  |  | 8133|       |                    ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  | 8134|       |                }
  |  | 8135|       |                #endif
  |  | 8136|      0|            }
  |  | 8137|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      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|    }
  |  |  ------------------
  |  | 8138|      0|        }
  |  | 8139|       |
  |  | 8140|  68.5k|        TARGET(JUMP_BACKWARD_NO_INTERRUPT) {
  |  |  ------------------
  |  |  |  |  132|  68.5k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8141|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8142|       |            int opcode = JUMP_BACKWARD_NO_INTERRUPT;
  |  | 8143|       |            (void)(opcode);
  |  | 8144|       |            #endif
  |  | 8145|  68.5k|            frame->instr_ptr = next_instr;
  |  | 8146|  68.5k|            next_instr += 1;
  |  | 8147|  68.5k|            INSTRUCTION_STATS(JUMP_BACKWARD_NO_INTERRUPT);
  |  |  ------------------
  |  |  |  |   71|  68.5k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8148|  68.5k|            assert(oparg <= INSTR_OFFSET());
  |  | 8149|  68.5k|            JUMPBY(-oparg);
  |  |  ------------------
  |  |  |  |  260|  68.5k|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 8150|  68.5k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  68.5k|    { \
  |  |  |  |  201|  68.5k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  68.5k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  68.5k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  68.5k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  68.5k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  68.5k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  68.5k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  68.5k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 68.5k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  68.5k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  68.5k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  68.5k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  68.5k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  68.5k|    }
  |  |  ------------------
  |  | 8151|  68.5k|        }
  |  | 8152|       |
  |  | 8153|  22.7M|        TARGET(JUMP_BACKWARD_NO_JIT) {
  |  |  ------------------
  |  |  |  |  132|  22.7M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8154|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8155|       |            int opcode = JUMP_BACKWARD_NO_JIT;
  |  | 8156|       |            (void)(opcode);
  |  | 8157|       |            #endif
  |  | 8158|  22.7M|            frame->instr_ptr = next_instr;
  |  | 8159|  22.7M|            next_instr += 2;
  |  | 8160|  22.7M|            INSTRUCTION_STATS(JUMP_BACKWARD_NO_JIT);
  |  |  ------------------
  |  |  |  |   71|  22.7M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8161|  22.7M|            static_assert(1 == 1, "incorrect cache size");
  |  | 8162|       |            /* Skip 1 cache entry */
  |  | 8163|       |            // _CHECK_PERIODIC
  |  | 8164|  22.7M|            {
  |  | 8165|  22.7M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8166|  22.7M|                int err = check_periodics(tstate);
  |  | 8167|  22.7M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 8168|  22.7M|                if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (8168:21): [True: 0, False: 22.7M]
  |  |  ------------------
  |  | 8169|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8170|      0|                }
  |  | 8171|  22.7M|            }
  |  | 8172|       |            // _JUMP_BACKWARD_NO_INTERRUPT
  |  | 8173|  22.7M|            {
  |  | 8174|  22.7M|                assert(oparg <= INSTR_OFFSET());
  |  | 8175|  22.7M|                JUMPBY(-oparg);
  |  |  ------------------
  |  |  |  |  260|  22.7M|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 8176|  22.7M|            }
  |  | 8177|  22.7M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  22.7M|    { \
  |  |  |  |  201|  22.7M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  22.7M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  22.7M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  22.7M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  22.7M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  22.7M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  22.7M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  22.7M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 22.7M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  22.7M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  22.7M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  22.7M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  22.7M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  22.7M|    }
  |  |  ------------------
  |  | 8178|  22.7M|        }
  |  | 8179|       |
  |  | 8180|  2.14M|        TARGET(JUMP_FORWARD) {
  |  |  ------------------
  |  |  |  |  132|  2.14M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8181|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8182|       |            int opcode = JUMP_FORWARD;
  |  | 8183|       |            (void)(opcode);
  |  | 8184|       |            #endif
  |  | 8185|  2.14M|            frame->instr_ptr = next_instr;
  |  | 8186|  2.14M|            next_instr += 1;
  |  | 8187|  2.14M|            INSTRUCTION_STATS(JUMP_FORWARD);
  |  |  ------------------
  |  |  |  |   71|  2.14M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8188|  2.14M|            JUMPBY(oparg);
  |  |  ------------------
  |  |  |  |  260|  2.14M|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  | 8189|  2.14M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.14M|    { \
  |  |  |  |  201|  2.14M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  2.14M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  2.14M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  2.14M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  2.14M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  2.14M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  2.14M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  2.14M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 2.14M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.14M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.14M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.14M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.14M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.14M|    }
  |  |  ------------------
  |  | 8190|  2.14M|        }
  |  | 8191|       |
  |  | 8192|  3.66M|        TARGET(LIST_APPEND) {
  |  |  ------------------
  |  |  |  |  132|  3.66M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8193|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8194|       |            int opcode = LIST_APPEND;
  |  | 8195|       |            (void)(opcode);
  |  | 8196|       |            #endif
  |  | 8197|  3.66M|            frame->instr_ptr = next_instr;
  |  | 8198|  3.66M|            next_instr += 1;
  |  | 8199|  3.66M|            INSTRUCTION_STATS(LIST_APPEND);
  |  |  ------------------
  |  |  |  |   71|  3.66M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8200|  3.66M|            _PyStackRef list;
  |  | 8201|  3.66M|            _PyStackRef v;
  |  | 8202|  3.66M|            v = stack_pointer[-1];
  |  | 8203|  3.66M|            list = stack_pointer[-2 - (oparg-1)];
  |  | 8204|  3.66M|            int err = _PyList_AppendTakeRef((PyListObject *)PyStackRef_AsPyObjectBorrow(list),
  |  | 8205|  3.66M|                PyStackRef_AsPyObjectSteal(v));
  |  | 8206|  3.66M|            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (8206:17): [True: 0, False: 3.66M]
  |  |  ------------------
  |  | 8207|      0|                JUMP_TO_LABEL(pop_1_error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8208|      0|            }
  |  | 8209|  3.66M|            stack_pointer += -1;
  |  | 8210|  3.66M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  3.66M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8211|  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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  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|    }
  |  |  ------------------
  |  | 8212|  3.66M|        }
  |  | 8213|       |
  |  | 8214|  2.08M|        TARGET(LIST_EXTEND) {
  |  |  ------------------
  |  |  |  |  132|  2.08M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8215|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8216|       |            int opcode = LIST_EXTEND;
  |  | 8217|       |            (void)(opcode);
  |  | 8218|       |            #endif
  |  | 8219|  2.08M|            frame->instr_ptr = next_instr;
  |  | 8220|  2.08M|            next_instr += 1;
  |  | 8221|  2.08M|            INSTRUCTION_STATS(LIST_EXTEND);
  |  |  ------------------
  |  |  |  |   71|  2.08M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8222|  2.08M|            _PyStackRef list_st;
  |  | 8223|  2.08M|            _PyStackRef iterable_st;
  |  | 8224|  2.08M|            _PyStackRef i;
  |  | 8225|  2.08M|            _PyStackRef value;
  |  | 8226|       |            // _LIST_EXTEND
  |  | 8227|  2.08M|            {
  |  | 8228|  2.08M|                iterable_st = stack_pointer[-1];
  |  | 8229|  2.08M|                list_st = stack_pointer[-2 - (oparg-1)];
  |  | 8230|  2.08M|                PyObject *list = PyStackRef_AsPyObjectBorrow(list_st);
  |  | 8231|  2.08M|                PyObject *iterable = PyStackRef_AsPyObjectBorrow(iterable_st);
  |  | 8232|  2.08M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8233|  2.08M|                PyObject *none_val = _PyList_Extend((PyListObject *)list, iterable);
  |  | 8234|  2.08M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 8235|  2.08M|                if (none_val == NULL) {
  |  |  ------------------
  |  |  |  Branch (8235:21): [True: 0, False: 2.08M]
  |  |  ------------------
  |  | 8236|      0|                    int matches = _PyErr_ExceptionMatches(tstate, PyExc_TypeError);
  |  | 8237|      0|                    if (matches &&
  |  |  ------------------
  |  |  |  Branch (8237:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 8238|      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 (8238:26): [True: 0, False: 0]
  |  |  |  Branch (8238:64): [True: 0, False: 0]
  |  |  ------------------
  |  | 8239|      0|                    {
  |  | 8240|      0|                        _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8241|      0|                        _PyErr_Clear(tstate);
  |  | 8242|      0|                        _PyErr_Format(tstate, PyExc_TypeError,
  |  | 8243|      0|                                  "Value after * must be an iterable, not %.200s",
  |  | 8244|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8245|      0|                        stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 8246|      0|                    }
  |  | 8247|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8248|      0|                }
  |  | 8249|  2.08M|                assert(Py_IsNone(none_val));
  |  | 8250|  2.08M|                i = iterable_st;
  |  | 8251|  2.08M|            }
  |  | 8252|       |            // _POP_TOP
  |  | 8253|      0|            {
  |  | 8254|  2.08M|                value = i;
  |  | 8255|  2.08M|                stack_pointer += -1;
  |  | 8256|  2.08M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.08M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8257|  2.08M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8258|  2.08M|                PyStackRef_XCLOSE(value);
  |  | 8259|  2.08M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 8260|  2.08M|            }
  |  | 8261|  2.08M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.08M|    { \
  |  |  |  |  201|  2.08M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  2.08M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  2.08M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  2.08M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  2.08M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  2.08M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  2.08M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  2.08M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 2.08M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.08M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.08M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.08M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.08M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.08M|    }
  |  |  ------------------
  |  | 8262|  2.08M|        }
  |  | 8263|       |
  |  | 8264|  27.5M|        TARGET(LOAD_ATTR) {
  |  |  ------------------
  |  |  |  |  132|  27.5M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8265|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8266|       |            int opcode = LOAD_ATTR;
  |  | 8267|       |            (void)(opcode);
  |  | 8268|       |            #endif
  |  | 8269|  27.5M|            frame->instr_ptr = next_instr;
  |  | 8270|  27.5M|            next_instr += 10;
  |  | 8271|  27.5M|            INSTRUCTION_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |   71|  27.5M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8272|  35.6M|            PREDICTED_LOAD_ATTR:;
  |  | 8273|  35.6M|            _Py_CODEUNIT* const this_instr = next_instr - 10;
  |  | 8274|  35.6M|            (void)this_instr;
  |  | 8275|  35.6M|            _PyStackRef owner;
  |  | 8276|  35.6M|            _PyStackRef attr;
  |  | 8277|  35.6M|            _PyStackRef *self_or_null;
  |  | 8278|       |            // _SPECIALIZE_LOAD_ATTR
  |  | 8279|  35.6M|            {
  |  | 8280|  35.6M|                owner = stack_pointer[-1];
  |  | 8281|  35.6M|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 8282|  35.6M|                (void)counter;
  |  | 8283|  35.6M|                #if ENABLE_SPECIALIZATION
  |  | 8284|  35.6M|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  354|  35.6M|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (354:5): [True: 365k, False: 35.2M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8285|   365k|                    PyObject *name = GETITEM(FRAME_CO_NAMES, oparg>>1);
  |  |  ------------------
  |  |  |  |  235|   365k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|   365k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|   365k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   365k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8286|   365k|                    next_instr = this_instr;
  |  | 8287|   365k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8288|   365k|                    _Py_Specialize_LoadAttr(owner, next_instr, name);
  |  | 8289|   365k|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 8290|   365k|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|   365k|    { \
  |  |  |  |  217|   365k|        opcode = next_instr->op.code; \
  |  |  |  |  218|   365k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   365k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|   365k|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|   365k|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|   365k|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|   365k|    }
  |  |  ------------------
  |  | 8291|   365k|                }
  |  | 8292|  35.6M|                OPCODE_DEFERRED_INC(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |   90|  35.6M|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 8293|  35.6M|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  357|  35.6M|    do { \
  |  |  |  |  358|  35.6M|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  359|  35.6M|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (359:14): [Folded, False: 35.6M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8294|  35.6M|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 8295|  35.6M|            }
  |  | 8296|       |            /* Skip 8 cache entries */
  |  | 8297|       |            // _LOAD_ATTR
  |  | 8298|  35.6M|            {
  |  | 8299|  35.6M|                self_or_null = &stack_pointer[0];
  |  | 8300|  35.6M|                PyObject *name = GETITEM(FRAME_CO_NAMES, oparg >> 1);
  |  |  ------------------
  |  |  |  |  235|  35.6M|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  35.6M|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  35.6M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  35.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8301|  35.6M|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (8301:21): [True: 14.5M, False: 21.0M]
  |  |  ------------------
  |  | 8302|  14.5M|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8303|  14.5M|                    attr = _Py_LoadAttr_StackRefSteal(tstate, owner, name, self_or_null);
  |  | 8304|  14.5M|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 8305|  14.5M|                    if (PyStackRef_IsNull(attr)) {
  |  |  ------------------
  |  |  |  |  470|  14.5M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|  14.5M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  14.5M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (470:32): [True: 2, False: 14.5M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8306|      2|                        JUMP_TO_LABEL(pop_1_error);
  |  |  ------------------
  |  |  |  |  135|      2|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8307|      0|                    }
  |  | 8308|  14.5M|                }
  |  | 8309|  21.0M|                else {
  |  | 8310|  21.0M|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8311|  21.0M|                    attr = _PyObject_GetAttrStackRef(PyStackRef_AsPyObjectBorrow(owner), name);
  |  | 8312|  21.0M|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 8313|  21.0M|                    stack_pointer[-1] = attr;
  |  | 8314|  21.0M|                    stack_pointer += (oparg&1);
  |  | 8315|  21.0M|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  21.0M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8316|  21.0M|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8317|  21.0M|                    PyStackRef_CLOSE(owner);
  |  | 8318|  21.0M|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 8319|  21.0M|                    if (PyStackRef_IsNull(attr)) {
  |  |  ------------------
  |  |  |  |  470|  21.0M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|  21.0M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  21.0M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (470:32): [True: 73.1k, False: 21.0M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8320|  73.1k|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|  73.1k|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 8321|      0|                    }
  |  | 8322|  21.0M|                    stack_pointer += -(oparg&1);
  |  | 8323|  21.0M|                }
  |  | 8324|  35.6M|            }
  |  | 8325|  35.5M|            stack_pointer[-1] = attr;
  |  | 8326|  35.5M|            stack_pointer += (oparg&1);
  |  | 8327|  35.5M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  35.5M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8328|  35.5M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  35.5M|    { \
  |  |  |  |  201|  35.5M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  35.5M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  35.5M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  35.5M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  35.5M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  35.5M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  35.5M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  35.5M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 35.5M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  35.5M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  35.5M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  35.5M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  35.5M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  35.5M|    }
  |  |  ------------------
  |  | 8329|  35.5M|        }
  |  | 8330|       |
  |  | 8331|   223k|        TARGET(LOAD_ATTR_CLASS) {
  |  |  ------------------
  |  |  |  |  132|   223k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8332|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8333|       |            int opcode = LOAD_ATTR_CLASS;
  |  | 8334|       |            (void)(opcode);
  |  | 8335|       |            #endif
  |  | 8336|   223k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8337|   223k|            (void)this_instr;
  |  | 8338|   223k|            frame->instr_ptr = next_instr;
  |  | 8339|   223k|            next_instr += 10;
  |  | 8340|   223k|            INSTRUCTION_STATS(LOAD_ATTR_CLASS);
  |  |  ------------------
  |  |  |  |   71|   223k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8341|   223k|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 8342|   223k|            _PyStackRef owner;
  |  | 8343|   223k|            _PyStackRef attr;
  |  | 8344|   223k|            _PyStackRef *null;
  |  | 8345|       |            /* Skip 1 cache entry */
  |  | 8346|       |            // _CHECK_ATTR_CLASS
  |  | 8347|   223k|            {
  |  | 8348|   223k|                owner = stack_pointer[-1];
  |  | 8349|   223k|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 8350|   223k|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 8351|   223k|                if (!PyType_Check(owner_o)) {
  |  |  ------------------
  |  |  |  |  766|   223k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   223k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   223k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8351:21): [True: 0, False: 223k]
  |  |  ------------------
  |  | 8352|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8353|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 8354|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8355|      0|                }
  |  | 8356|   223k|                assert(type_version != 0);
  |  | 8357|   223k|                if (FT_ATOMIC_LOAD_UINT_RELAXED(((PyTypeObject *)owner_o)->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  188|   223k|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (8357:21): [True: 51.2k, False: 172k]
  |  |  ------------------
  |  | 8358|  51.2k|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|  51.2k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8359|  51.2k|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 8360|  51.2k|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|  51.2k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8361|      0|                }
  |  | 8362|   223k|            }
  |  | 8363|       |            /* Skip 2 cache entries */
  |  | 8364|       |            // _LOAD_ATTR_CLASS
  |  | 8365|   172k|            {
  |  | 8366|   172k|                PyObject *descr = read_obj(&this_instr[6].cache);
  |  | 8367|   172k|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|   172k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 8368|   172k|                assert(descr != NULL);
  |  | 8369|   172k|                attr = PyStackRef_FromPyObjectNew(descr);
  |  |  ------------------
  |  |  |  |  599|   172k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   172k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   172k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8370|   172k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8371|   172k|                _PyStackRef tmp = owner;
  |  | 8372|   172k|                owner = attr;
  |  | 8373|   172k|                stack_pointer[-1] = owner;
  |  | 8374|   172k|                PyStackRef_CLOSE(tmp);
  |  | 8375|   172k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 8376|   172k|            }
  |  | 8377|       |            // _PUSH_NULL_CONDITIONAL
  |  | 8378|   172k|            {
  |  | 8379|   172k|                null = &stack_pointer[0];
  |  | 8380|   172k|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (8380:21): [True: 14.2k, False: 157k]
  |  |  ------------------
  |  | 8381|  14.2k|                    null[0] = PyStackRef_NULL;
  |  | 8382|  14.2k|                }
  |  | 8383|   172k|            }
  |  | 8384|   172k|            stack_pointer += (oparg & 1);
  |  | 8385|   172k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   172k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8386|   172k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   172k|    { \
  |  |  |  |  201|   172k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|   172k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|   172k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|   172k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|   172k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|   172k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|   172k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|   172k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 172k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   172k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   172k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   172k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   172k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   172k|    }
  |  |  ------------------
  |  | 8387|   172k|        }
  |  | 8388|       |
  |  | 8389|   443k|        TARGET(LOAD_ATTR_CLASS_WITH_METACLASS_CHECK) {
  |  |  ------------------
  |  |  |  |  132|   443k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8390|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8391|       |            int opcode = LOAD_ATTR_CLASS_WITH_METACLASS_CHECK;
  |  | 8392|       |            (void)(opcode);
  |  | 8393|       |            #endif
  |  | 8394|   443k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8395|   443k|            (void)this_instr;
  |  | 8396|   443k|            frame->instr_ptr = next_instr;
  |  | 8397|   443k|            next_instr += 10;
  |  | 8398|   443k|            INSTRUCTION_STATS(LOAD_ATTR_CLASS_WITH_METACLASS_CHECK);
  |  |  ------------------
  |  |  |  |   71|   443k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8399|   443k|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 8400|   443k|            _PyStackRef owner;
  |  | 8401|   443k|            _PyStackRef attr;
  |  | 8402|   443k|            _PyStackRef *null;
  |  | 8403|       |            /* Skip 1 cache entry */
  |  | 8404|       |            // _GUARD_TYPE_VERSION
  |  | 8405|   443k|            {
  |  | 8406|   443k|                owner = stack_pointer[-1];
  |  | 8407|   443k|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 8408|   443k|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|   443k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   443k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   443k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8409|   443k|                assert(type_version != 0);
  |  | 8410|   443k|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  188|   443k|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (8410:21): [True: 588, False: 442k]
  |  |  ------------------
  |  | 8411|    588|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|    588|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8412|    588|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 8413|    588|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|    588|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8414|      0|                }
  |  | 8415|   443k|            }
  |  | 8416|       |            // _CHECK_ATTR_CLASS
  |  | 8417|   442k|            {
  |  | 8418|   442k|                uint32_t type_version = read_u32(&this_instr[4].cache);
  |  | 8419|   442k|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 8420|   442k|                if (!PyType_Check(owner_o)) {
  |  |  ------------------
  |  |  |  |  766|   442k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   442k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   442k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8420:21): [True: 0, False: 442k]
  |  |  ------------------
  |  | 8421|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8422|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 8423|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8424|      0|                }
  |  | 8425|   442k|                assert(type_version != 0);
  |  | 8426|   442k|                if (FT_ATOMIC_LOAD_UINT_RELAXED(((PyTypeObject *)owner_o)->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  188|   442k|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (8426:21): [True: 4.79k, False: 437k]
  |  |  ------------------
  |  | 8427|  4.79k|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|  4.79k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8428|  4.79k|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 8429|  4.79k|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|  4.79k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8430|      0|                }
  |  | 8431|   442k|            }
  |  | 8432|       |            // _LOAD_ATTR_CLASS
  |  | 8433|   437k|            {
  |  | 8434|   437k|                PyObject *descr = read_obj(&this_instr[6].cache);
  |  | 8435|   437k|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|   437k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 8436|   437k|                assert(descr != NULL);
  |  | 8437|   437k|                attr = PyStackRef_FromPyObjectNew(descr);
  |  |  ------------------
  |  |  |  |  599|   437k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   437k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   437k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8438|   437k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8439|   437k|                _PyStackRef tmp = owner;
  |  | 8440|   437k|                owner = attr;
  |  | 8441|   437k|                stack_pointer[-1] = owner;
  |  | 8442|   437k|                PyStackRef_CLOSE(tmp);
  |  | 8443|   437k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 8444|   437k|            }
  |  | 8445|       |            // _PUSH_NULL_CONDITIONAL
  |  | 8446|   437k|            {
  |  | 8447|   437k|                null = &stack_pointer[0];
  |  | 8448|   437k|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (8448:21): [True: 15.3k, False: 422k]
  |  |  ------------------
  |  | 8449|  15.3k|                    null[0] = PyStackRef_NULL;
  |  | 8450|  15.3k|                }
  |  | 8451|   437k|            }
  |  | 8452|   437k|            stack_pointer += (oparg & 1);
  |  | 8453|   437k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   437k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8454|   437k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   437k|    { \
  |  |  |  |  201|   437k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|   437k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|   437k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|   437k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|   437k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|   437k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|   437k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|   437k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 437k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   437k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   437k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   437k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   437k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   437k|    }
  |  |  ------------------
  |  | 8455|   437k|        }
  |  | 8456|       |
  |  | 8457|      0|        TARGET(LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8458|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8459|       |            int opcode = LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN;
  |  | 8460|       |            (void)(opcode);
  |  | 8461|       |            #endif
  |  | 8462|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8463|      0|            (void)this_instr;
  |  | 8464|      0|            frame->instr_ptr = next_instr;
  |  | 8465|      0|            next_instr += 10;
  |  | 8466|      0|            INSTRUCTION_STATS(LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8467|      0|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 8468|      0|            _PyStackRef owner;
  |  | 8469|      0|            _PyStackRef new_frame;
  |  | 8470|       |            /* Skip 1 cache entry */
  |  | 8471|       |            // _GUARD_TYPE_VERSION
  |  | 8472|      0|            {
  |  | 8473|      0|                owner = stack_pointer[-1];
  |  | 8474|      0|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 8475|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8476|      0|                assert(type_version != 0);
  |  | 8477|      0|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  188|      0|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (8477:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8478|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8479|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 8480|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8481|      0|                }
  |  | 8482|      0|            }
  |  | 8483|       |            // _CHECK_PEP_523
  |  | 8484|      0|            {
  |  | 8485|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8486|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8487|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 8488|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8489|      0|                }
  |  | 8490|      0|            }
  |  | 8491|       |            // _LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN_FRAME
  |  | 8492|      0|            {
  |  | 8493|      0|                uint32_t func_version = read_u32(&this_instr[4].cache);
  |  | 8494|      0|                PyObject *getattribute = read_obj(&this_instr[6].cache);
  |  | 8495|      0|                assert((oparg & 1) == 0);
  |  | 8496|      0|                assert(Py_IS_TYPE(getattribute, &PyFunction_Type));
  |  | 8497|      0|                PyFunctionObject *f = (PyFunctionObject *)getattribute;
  |  | 8498|      0|                assert(func_version != 0);
  |  | 8499|      0|                if (f->func_version != func_version) {
  |  |  ------------------
  |  |  |  Branch (8499:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8500|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8501|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 8502|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8503|      0|                }
  |  | 8504|      0|                PyCodeObject *code = (PyCodeObject *)f->func_code;
  |  | 8505|      0|                assert(code->co_argcount == 2);
  |  | 8506|      0|                if (!_PyThreadState_HasStackSpace(tstate, code->co_framesize)) {
  |  |  ------------------
  |  |  |  Branch (8506:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 8507|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8508|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 8509|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8510|      0|                }
  |  | 8511|      0|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|      0|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 8512|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8513|      0|                _PyInterpreterFrame *pushed_frame = _PyFrame_PushUnchecked(
  |  | 8514|      0|                    tstate, PyStackRef_FromPyObjectNew(f), 2, frame);
  |  |  ------------------
  |  |  |  |  599|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8515|      0|                pushed_frame->localsplus[0] = owner;
  |  | 8516|      0|                pushed_frame->localsplus[1] = PyStackRef_FromPyObjectNew(name);
  |  |  ------------------
  |  |  |  |  599|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8517|      0|                new_frame = PyStackRef_Wrap(pushed_frame);
  |  | 8518|      0|            }
  |  | 8519|       |            // _SAVE_RETURN_OFFSET
  |  | 8520|      0|            {
  |  | 8521|      0|                #if TIER_ONE
  |  | 8522|      0|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 8523|      0|                #endif
  |  | 8524|       |                #if TIER_TWO
  |  | 8525|       |                frame->return_offset = oparg;
  |  | 8526|       |                #endif
  |  | 8527|      0|            }
  |  | 8528|       |            // _PUSH_FRAME
  |  | 8529|      0|            {
  |  | 8530|      0|                assert(!IS_PEP523_HOOKED(tstate));
  |  | 8531|      0|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 8532|      0|                stack_pointer += -1;
  |  | 8533|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8534|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8535|      0|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  | 8536|      0|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|      0|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 8537|      0|                frame = tstate->current_frame = temp;
  |  | 8538|      0|                tstate->py_recursion_remaining--;
  |  | 8539|      0|                LOAD_SP();
  |  |  ------------------
  |  |  |  |  425|      0|#define LOAD_SP() \
  |  |  |  |  426|      0|stack_pointer = _PyFrame_GetStackPointer(frame)
  |  |  ------------------
  |  | 8540|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8541|      0|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  345|      0|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 8542|      0|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|      0|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 8543|      0|            }
  |  | 8544|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      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|    }
  |  |  ------------------
  |  | 8545|      0|        }
  |  | 8546|       |
  |  | 8547|   101M|        TARGET(LOAD_ATTR_INSTANCE_VALUE) {
  |  |  ------------------
  |  |  |  |  132|   101M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8548|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8549|       |            int opcode = LOAD_ATTR_INSTANCE_VALUE;
  |  | 8550|       |            (void)(opcode);
  |  | 8551|       |            #endif
  |  | 8552|   101M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8553|   101M|            (void)this_instr;
  |  | 8554|   101M|            frame->instr_ptr = next_instr;
  |  | 8555|   101M|            next_instr += 10;
  |  | 8556|   101M|            INSTRUCTION_STATS(LOAD_ATTR_INSTANCE_VALUE);
  |  |  ------------------
  |  |  |  |   71|   101M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8557|   101M|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 8558|   101M|            _PyStackRef owner;
  |  | 8559|   101M|            _PyStackRef attr;
  |  | 8560|   101M|            _PyStackRef o;
  |  | 8561|   101M|            _PyStackRef value;
  |  | 8562|   101M|            _PyStackRef *null;
  |  | 8563|       |            /* Skip 1 cache entry */
  |  | 8564|       |            // _GUARD_TYPE_VERSION
  |  | 8565|   101M|            {
  |  | 8566|   101M|                owner = stack_pointer[-1];
  |  | 8567|   101M|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 8568|   101M|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|   101M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   101M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   101M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8569|   101M|                assert(type_version != 0);
  |  | 8570|   101M|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  188|   101M|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (8570:21): [True: 513k, False: 100M]
  |  |  ------------------
  |  | 8571|   513k|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|   513k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8572|   513k|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 8573|   513k|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|   513k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8574|      0|                }
  |  | 8575|   101M|            }
  |  | 8576|       |            // _CHECK_MANAGED_OBJECT_HAS_VALUES
  |  | 8577|   100M|            {
  |  | 8578|   100M|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 8579|   100M|                assert(Py_TYPE(owner_o)->tp_dictoffset < 0);
  |  | 8580|   100M|                assert(Py_TYPE(owner_o)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  |  | 8581|   100M|                if (!FT_ATOMIC_LOAD_UINT8(_PyObject_InlineValues(owner_o)->valid)) {
  |  |  ------------------
  |  |  |  |  153|   100M|#define FT_ATOMIC_LOAD_UINT8(value) value
  |  |  ------------------
  |  |  |  Branch (8581:21): [True: 0, False: 100M]
  |  |  ------------------
  |  | 8582|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8583|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 8584|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8585|      0|                }
  |  | 8586|   100M|            }
  |  | 8587|       |            // _LOAD_ATTR_INSTANCE_VALUE
  |  | 8588|   100M|            {
  |  | 8589|   100M|                uint16_t offset = read_u16(&this_instr[4].cache);
  |  | 8590|   100M|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 8591|   100M|                PyObject **value_ptr = (PyObject**)(((char *)owner_o) + offset);
  |  | 8592|   100M|                PyObject *attr_o = FT_ATOMIC_LOAD_PTR_ACQUIRE(*value_ptr);
  |  |  ------------------
  |  |  |  |  149|   100M|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  | 8593|   100M|                if (attr_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (8593:21): [True: 51.5k, False: 100M]
  |  |  ------------------
  |  | 8594|  51.5k|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|  51.5k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8595|  51.5k|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 8596|  51.5k|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|  51.5k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8597|      0|                }
  |  | 8598|       |                #ifdef Py_GIL_DISABLED
  |  | 8599|       |                int increfed = _Py_TryIncrefCompareStackRef(value_ptr, attr_o, &attr);
  |  | 8600|       |                if (!increfed) {
  |  | 8601|       |                    if (true) {
  |  | 8602|       |                        UPDATE_MISS_STATS(LOAD_ATTR);
  |  | 8603|       |                        assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 8604|       |                        JUMP_TO_PREDICTED(LOAD_ATTR);
  |  | 8605|       |                    }
  |  | 8606|       |                }
  |  | 8607|       |                #else
  |  | 8608|   100M|                attr = PyStackRef_FromPyObjectNew(attr_o);
  |  |  ------------------
  |  |  |  |  599|   100M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   100M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   100M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8609|   100M|                #endif
  |  | 8610|   100M|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|   100M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 8611|   100M|                o = owner;
  |  | 8612|   100M|            }
  |  | 8613|       |            // _POP_TOP
  |  | 8614|      0|            {
  |  | 8615|   100M|                value = o;
  |  | 8616|   100M|                stack_pointer[-1] = attr;
  |  | 8617|   100M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8618|   100M|                PyStackRef_XCLOSE(value);
  |  | 8619|   100M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 8620|   100M|            }
  |  | 8621|       |            /* Skip 5 cache entries */
  |  | 8622|       |            // _PUSH_NULL_CONDITIONAL
  |  | 8623|   100M|            {
  |  | 8624|   100M|                null = &stack_pointer[0];
  |  | 8625|   100M|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (8625:21): [True: 32.1k, False: 100M]
  |  |  ------------------
  |  | 8626|  32.1k|                    null[0] = PyStackRef_NULL;
  |  | 8627|  32.1k|                }
  |  | 8628|   100M|            }
  |  | 8629|   100M|            stack_pointer += (oparg & 1);
  |  | 8630|   100M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   100M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8631|   100M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   100M|    { \
  |  |  |  |  201|   100M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|   100M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|   100M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|   100M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|   100M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|   100M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|   100M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|   100M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 100M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   100M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   100M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   100M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   100M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   100M|    }
  |  |  ------------------
  |  | 8632|   100M|        }
  |  | 8633|       |
  |  | 8634|  2.21M|        TARGET(LOAD_ATTR_METHOD_LAZY_DICT) {
  |  |  ------------------
  |  |  |  |  132|  2.21M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8635|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8636|       |            int opcode = LOAD_ATTR_METHOD_LAZY_DICT;
  |  | 8637|       |            (void)(opcode);
  |  | 8638|       |            #endif
  |  | 8639|  2.21M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8640|  2.21M|            (void)this_instr;
  |  | 8641|  2.21M|            frame->instr_ptr = next_instr;
  |  | 8642|  2.21M|            next_instr += 10;
  |  | 8643|  2.21M|            INSTRUCTION_STATS(LOAD_ATTR_METHOD_LAZY_DICT);
  |  |  ------------------
  |  |  |  |   71|  2.21M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8644|  2.21M|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 8645|  2.21M|            _PyStackRef owner;
  |  | 8646|  2.21M|            _PyStackRef attr;
  |  | 8647|  2.21M|            _PyStackRef self;
  |  | 8648|       |            /* Skip 1 cache entry */
  |  | 8649|       |            // _GUARD_TYPE_VERSION
  |  | 8650|  2.21M|            {
  |  | 8651|  2.21M|                owner = stack_pointer[-1];
  |  | 8652|  2.21M|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 8653|  2.21M|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|  2.21M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.21M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.21M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8654|  2.21M|                assert(type_version != 0);
  |  | 8655|  2.21M|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  188|  2.21M|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (8655:21): [True: 1, False: 2.21M]
  |  |  ------------------
  |  | 8656|      1|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|      1|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8657|      1|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 8658|      1|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      1|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8659|      0|                }
  |  | 8660|  2.21M|            }
  |  | 8661|       |            // _CHECK_ATTR_METHOD_LAZY_DICT
  |  | 8662|  2.21M|            {
  |  | 8663|  2.21M|                uint16_t dictoffset = read_u16(&this_instr[4].cache);
  |  | 8664|  2.21M|                char *ptr = ((char *)PyStackRef_AsPyObjectBorrow(owner)) + MANAGED_DICT_OFFSET + dictoffset;
  |  |  ------------------
  |  |  |  |  925|  2.21M|#  define MANAGED_DICT_OFFSET    (((Py_ssize_t)sizeof(PyObject *))*-3)
  |  |  ------------------
  |  | 8665|  2.21M|                PyObject *dict = FT_ATOMIC_LOAD_PTR_ACQUIRE(*(PyObject **)ptr);
  |  |  ------------------
  |  |  |  |  149|  2.21M|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  | 8666|  2.21M|                if (dict != NULL) {
  |  |  ------------------
  |  |  |  Branch (8666:21): [True: 0, False: 2.21M]
  |  |  ------------------
  |  | 8667|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8668|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 8669|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8670|      0|                }
  |  | 8671|  2.21M|            }
  |  | 8672|       |            /* Skip 1 cache entry */
  |  | 8673|       |            // _LOAD_ATTR_METHOD_LAZY_DICT
  |  | 8674|  2.21M|            {
  |  | 8675|  2.21M|                PyObject *descr = read_obj(&this_instr[6].cache);
  |  | 8676|  2.21M|                assert(oparg & 1);
  |  | 8677|  2.21M|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|  2.21M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 8678|  2.21M|                assert(descr != NULL);
  |  | 8679|  2.21M|                assert(_PyType_HasFeature(Py_TYPE(descr), Py_TPFLAGS_METHOD_DESCRIPTOR));
  |  | 8680|  2.21M|                attr = PyStackRef_FromPyObjectNew(descr);
  |  |  ------------------
  |  |  |  |  599|  2.21M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.21M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.21M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8681|  2.21M|                self = owner;
  |  | 8682|  2.21M|            }
  |  | 8683|  2.21M|            stack_pointer[-1] = attr;
  |  | 8684|  2.21M|            stack_pointer[0] = self;
  |  | 8685|  2.21M|            stack_pointer += 1;
  |  | 8686|  2.21M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.21M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8687|  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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  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|    }
  |  |  ------------------
  |  | 8688|  2.21M|        }
  |  | 8689|       |
  |  | 8690|  13.4M|        TARGET(LOAD_ATTR_METHOD_NO_DICT) {
  |  |  ------------------
  |  |  |  |  132|  13.4M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8691|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8692|       |            int opcode = LOAD_ATTR_METHOD_NO_DICT;
  |  | 8693|       |            (void)(opcode);
  |  | 8694|       |            #endif
  |  | 8695|  13.4M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8696|  13.4M|            (void)this_instr;
  |  | 8697|  13.4M|            frame->instr_ptr = next_instr;
  |  | 8698|  13.4M|            next_instr += 10;
  |  | 8699|  13.4M|            INSTRUCTION_STATS(LOAD_ATTR_METHOD_NO_DICT);
  |  |  ------------------
  |  |  |  |   71|  13.4M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8700|  13.4M|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 8701|  13.4M|            _PyStackRef owner;
  |  | 8702|  13.4M|            _PyStackRef attr;
  |  | 8703|  13.4M|            _PyStackRef self;
  |  | 8704|       |            /* Skip 1 cache entry */
  |  | 8705|       |            // _GUARD_TYPE_VERSION
  |  | 8706|  13.4M|            {
  |  | 8707|  13.4M|                owner = stack_pointer[-1];
  |  | 8708|  13.4M|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 8709|  13.4M|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|  13.4M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  13.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  13.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8710|  13.4M|                assert(type_version != 0);
  |  | 8711|  13.4M|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  188|  13.4M|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (8711:21): [True: 5.92k, False: 13.4M]
  |  |  ------------------
  |  | 8712|  5.92k|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|  5.92k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8713|  5.92k|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 8714|  5.92k|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|  5.92k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8715|      0|                }
  |  | 8716|  13.4M|            }
  |  | 8717|       |            /* Skip 2 cache entries */
  |  | 8718|       |            // _LOAD_ATTR_METHOD_NO_DICT
  |  | 8719|  13.4M|            {
  |  | 8720|  13.4M|                PyObject *descr = read_obj(&this_instr[6].cache);
  |  | 8721|  13.4M|                assert(oparg & 1);
  |  | 8722|  13.4M|                assert(Py_TYPE(PyStackRef_AsPyObjectBorrow(owner))->tp_dictoffset == 0);
  |  | 8723|  13.4M|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|  13.4M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 8724|  13.4M|                assert(descr != NULL);
  |  | 8725|  13.4M|                assert(_PyType_HasFeature(Py_TYPE(descr), Py_TPFLAGS_METHOD_DESCRIPTOR));
  |  | 8726|  13.4M|                attr = PyStackRef_FromPyObjectNew(descr);
  |  |  ------------------
  |  |  |  |  599|  13.4M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  13.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  13.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8727|  13.4M|                self = owner;
  |  | 8728|  13.4M|            }
  |  | 8729|  13.4M|            stack_pointer[-1] = attr;
  |  | 8730|  13.4M|            stack_pointer[0] = self;
  |  | 8731|  13.4M|            stack_pointer += 1;
  |  | 8732|  13.4M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  13.4M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8733|  13.4M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  13.4M|    { \
  |  |  |  |  201|  13.4M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  13.4M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  13.4M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  13.4M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  13.4M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  13.4M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  13.4M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  13.4M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 13.4M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  13.4M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  13.4M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  13.4M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  13.4M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  13.4M|    }
  |  |  ------------------
  |  | 8734|  13.4M|        }
  |  | 8735|       |
  |  | 8736|  23.8M|        TARGET(LOAD_ATTR_METHOD_WITH_VALUES) {
  |  |  ------------------
  |  |  |  |  132|  23.8M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8737|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8738|       |            int opcode = LOAD_ATTR_METHOD_WITH_VALUES;
  |  | 8739|       |            (void)(opcode);
  |  | 8740|       |            #endif
  |  | 8741|  23.8M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8742|  23.8M|            (void)this_instr;
  |  | 8743|  23.8M|            frame->instr_ptr = next_instr;
  |  | 8744|  23.8M|            next_instr += 10;
  |  | 8745|  23.8M|            INSTRUCTION_STATS(LOAD_ATTR_METHOD_WITH_VALUES);
  |  |  ------------------
  |  |  |  |   71|  23.8M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8746|  23.8M|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 8747|  23.8M|            _PyStackRef owner;
  |  | 8748|  23.8M|            _PyStackRef attr;
  |  | 8749|  23.8M|            _PyStackRef self;
  |  | 8750|       |            /* Skip 1 cache entry */
  |  | 8751|       |            // _GUARD_TYPE_VERSION
  |  | 8752|  23.8M|            {
  |  | 8753|  23.8M|                owner = stack_pointer[-1];
  |  | 8754|  23.8M|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 8755|  23.8M|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|  23.8M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  23.8M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  23.8M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8756|  23.8M|                assert(type_version != 0);
  |  | 8757|  23.8M|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  188|  23.8M|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (8757:21): [True: 294k, False: 23.5M]
  |  |  ------------------
  |  | 8758|   294k|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|   294k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8759|   294k|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 8760|   294k|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|   294k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8761|      0|                }
  |  | 8762|  23.8M|            }
  |  | 8763|       |            // _GUARD_DORV_VALUES_INST_ATTR_FROM_DICT
  |  | 8764|  23.5M|            {
  |  | 8765|  23.5M|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 8766|  23.5M|                assert(Py_TYPE(owner_o)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  |  | 8767|  23.5M|                PyDictValues *ivs = _PyObject_InlineValues(owner_o);
  |  | 8768|  23.5M|                if (!FT_ATOMIC_LOAD_UINT8(ivs->valid)) {
  |  |  ------------------
  |  |  |  |  153|  23.5M|#define FT_ATOMIC_LOAD_UINT8(value) value
  |  |  ------------------
  |  |  |  Branch (8768:21): [True: 6.74M, False: 16.8M]
  |  |  ------------------
  |  | 8769|  6.74M|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|  6.74M|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8770|  6.74M|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 8771|  6.74M|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|  6.74M|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8772|      0|                }
  |  | 8773|  23.5M|            }
  |  | 8774|       |            // _GUARD_KEYS_VERSION
  |  | 8775|  16.8M|            {
  |  | 8776|  16.8M|                uint32_t keys_version = read_u32(&this_instr[4].cache);
  |  | 8777|  16.8M|                PyTypeObject *owner_cls = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8778|  16.8M|                PyHeapTypeObject *owner_heap_type = (PyHeapTypeObject *)owner_cls;
  |  | 8779|  16.8M|                PyDictKeysObject *keys = owner_heap_type->ht_cached_keys;
  |  | 8780|  16.8M|                if (FT_ATOMIC_LOAD_UINT32_RELAXED(keys->dk_version) != keys_version) {
  |  |  ------------------
  |  |  |  |  158|  16.8M|#define FT_ATOMIC_LOAD_UINT32_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (8780:21): [True: 0, False: 16.8M]
  |  |  ------------------
  |  | 8781|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8782|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 8783|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8784|      0|                }
  |  | 8785|  16.8M|            }
  |  | 8786|       |            // _LOAD_ATTR_METHOD_WITH_VALUES
  |  | 8787|  16.8M|            {
  |  | 8788|  16.8M|                PyObject *descr = read_obj(&this_instr[6].cache);
  |  | 8789|  16.8M|                assert(oparg & 1);
  |  | 8790|  16.8M|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|  16.8M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 8791|  16.8M|                assert(descr != NULL);
  |  | 8792|  16.8M|                assert(_PyType_HasFeature(Py_TYPE(descr), Py_TPFLAGS_METHOD_DESCRIPTOR));
  |  | 8793|  16.8M|                attr = PyStackRef_FromPyObjectNew(descr);
  |  |  ------------------
  |  |  |  |  599|  16.8M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  16.8M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  16.8M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8794|  16.8M|                self = owner;
  |  | 8795|  16.8M|            }
  |  | 8796|  16.8M|            stack_pointer[-1] = attr;
  |  | 8797|  16.8M|            stack_pointer[0] = self;
  |  | 8798|  16.8M|            stack_pointer += 1;
  |  | 8799|  16.8M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  16.8M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8800|  16.8M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  16.8M|    { \
  |  |  |  |  201|  16.8M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  16.8M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  16.8M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  16.8M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  16.8M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  16.8M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  16.8M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  16.8M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 16.8M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  16.8M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  16.8M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  16.8M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  16.8M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  16.8M|    }
  |  |  ------------------
  |  | 8801|  16.8M|        }
  |  | 8802|       |
  |  | 8803|  3.41M|        TARGET(LOAD_ATTR_MODULE) {
  |  |  ------------------
  |  |  |  |  132|  3.41M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8804|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8805|       |            int opcode = LOAD_ATTR_MODULE;
  |  | 8806|       |            (void)(opcode);
  |  | 8807|       |            #endif
  |  | 8808|  3.41M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8809|  3.41M|            (void)this_instr;
  |  | 8810|  3.41M|            frame->instr_ptr = next_instr;
  |  | 8811|  3.41M|            next_instr += 10;
  |  | 8812|  3.41M|            INSTRUCTION_STATS(LOAD_ATTR_MODULE);
  |  |  ------------------
  |  |  |  |   71|  3.41M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8813|  3.41M|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 8814|  3.41M|            _PyStackRef owner;
  |  | 8815|  3.41M|            _PyStackRef attr;
  |  | 8816|  3.41M|            _PyStackRef o;
  |  | 8817|  3.41M|            _PyStackRef value;
  |  | 8818|  3.41M|            _PyStackRef *null;
  |  | 8819|       |            /* Skip 1 cache entry */
  |  | 8820|       |            // _LOAD_ATTR_MODULE
  |  | 8821|  3.41M|            {
  |  | 8822|  3.41M|                owner = stack_pointer[-1];
  |  | 8823|  3.41M|                uint32_t dict_version = read_u32(&this_instr[2].cache);
  |  | 8824|  3.41M|                uint16_t index = read_u16(&this_instr[4].cache);
  |  | 8825|  3.41M|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 8826|  3.41M|                if (Py_TYPE(owner_o)->tp_getattro != PyModule_Type.tp_getattro) {
  |  |  ------------------
  |  |  |  |  213|  3.41M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.41M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.41M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (8826:21): [True: 0, False: 3.41M]
  |  |  ------------------
  |  | 8827|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8828|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 8829|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8830|      0|                }
  |  | 8831|  3.41M|                PyDictObject *dict = (PyDictObject *)((PyModuleObject *)owner_o)->md_dict;
  |  | 8832|  3.41M|                assert(dict != NULL);
  |  | 8833|  3.41M|                PyDictKeysObject *keys = FT_ATOMIC_LOAD_PTR_ACQUIRE(dict->ma_keys);
  |  |  ------------------
  |  |  |  |  149|  3.41M|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  | 8834|  3.41M|                if (FT_ATOMIC_LOAD_UINT32_RELAXED(keys->dk_version) != dict_version) {
  |  |  ------------------
  |  |  |  |  158|  3.41M|#define FT_ATOMIC_LOAD_UINT32_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (8834:21): [True: 7.86k, False: 3.40M]
  |  |  ------------------
  |  | 8835|  7.86k|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|  7.86k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8836|  7.86k|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 8837|  7.86k|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|  7.86k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8838|      0|                }
  |  | 8839|  3.41M|                assert(keys->dk_kind == DICT_KEYS_UNICODE);
  |  | 8840|  3.40M|                assert(index < FT_ATOMIC_LOAD_SSIZE_RELAXED(keys->dk_nentries));
  |  | 8841|  3.40M|                PyDictUnicodeEntry *ep = DK_UNICODE_ENTRIES(keys) + index;
  |  | 8842|  3.40M|                PyObject *attr_o = FT_ATOMIC_LOAD_PTR_RELAXED(ep->me_value);
  |  |  ------------------
  |  |  |  |  152|  3.40M|#define FT_ATOMIC_LOAD_PTR_RELAXED(value) value
  |  |  ------------------
  |  | 8843|  3.40M|                if (attr_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (8843:21): [True: 0, False: 3.40M]
  |  |  ------------------
  |  | 8844|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8845|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 8846|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8847|      0|                }
  |  | 8848|       |                #ifdef Py_GIL_DISABLED
  |  | 8849|       |                int increfed = _Py_TryIncrefCompareStackRef(&ep->me_value, attr_o, &attr);
  |  | 8850|       |                if (!increfed) {
  |  | 8851|       |                    if (true) {
  |  | 8852|       |                        UPDATE_MISS_STATS(LOAD_ATTR);
  |  | 8853|       |                        assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 8854|       |                        JUMP_TO_PREDICTED(LOAD_ATTR);
  |  | 8855|       |                    }
  |  | 8856|       |                }
  |  | 8857|       |                #else
  |  | 8858|  3.40M|                attr = PyStackRef_FromPyObjectNew(attr_o);
  |  |  ------------------
  |  |  |  |  599|  3.40M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.40M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.40M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8859|  3.40M|                #endif
  |  | 8860|  3.40M|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|  3.40M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 8861|  3.40M|                o = owner;
  |  | 8862|  3.40M|            }
  |  | 8863|       |            // _POP_TOP
  |  | 8864|      0|            {
  |  | 8865|  3.40M|                value = o;
  |  | 8866|  3.40M|                stack_pointer[-1] = attr;
  |  | 8867|  3.40M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8868|  3.40M|                PyStackRef_XCLOSE(value);
  |  | 8869|  3.40M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 8870|  3.40M|            }
  |  | 8871|       |            /* Skip 5 cache entries */
  |  | 8872|       |            // _PUSH_NULL_CONDITIONAL
  |  | 8873|  3.40M|            {
  |  | 8874|  3.40M|                null = &stack_pointer[0];
  |  | 8875|  3.40M|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (8875:21): [True: 312k, False: 3.09M]
  |  |  ------------------
  |  | 8876|   312k|                    null[0] = PyStackRef_NULL;
  |  | 8877|   312k|                }
  |  | 8878|  3.40M|            }
  |  | 8879|  3.40M|            stack_pointer += (oparg & 1);
  |  | 8880|  3.40M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  3.40M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8881|  3.40M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.40M|    { \
  |  |  |  |  201|  3.40M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  3.40M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  3.40M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  3.40M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  3.40M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  3.40M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  3.40M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  3.40M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 3.40M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.40M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.40M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.40M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.40M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.40M|    }
  |  |  ------------------
  |  | 8882|  3.40M|        }
  |  | 8883|       |
  |  | 8884|  29.9k|        TARGET(LOAD_ATTR_NONDESCRIPTOR_NO_DICT) {
  |  |  ------------------
  |  |  |  |  132|  29.9k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8885|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8886|       |            int opcode = LOAD_ATTR_NONDESCRIPTOR_NO_DICT;
  |  | 8887|       |            (void)(opcode);
  |  | 8888|       |            #endif
  |  | 8889|  29.9k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8890|  29.9k|            (void)this_instr;
  |  | 8891|  29.9k|            frame->instr_ptr = next_instr;
  |  | 8892|  29.9k|            next_instr += 10;
  |  | 8893|  29.9k|            INSTRUCTION_STATS(LOAD_ATTR_NONDESCRIPTOR_NO_DICT);
  |  |  ------------------
  |  |  |  |   71|  29.9k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8894|  29.9k|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 8895|  29.9k|            _PyStackRef owner;
  |  | 8896|  29.9k|            _PyStackRef attr;
  |  | 8897|       |            /* Skip 1 cache entry */
  |  | 8898|       |            // _GUARD_TYPE_VERSION
  |  | 8899|  29.9k|            {
  |  | 8900|  29.9k|                owner = stack_pointer[-1];
  |  | 8901|  29.9k|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 8902|  29.9k|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|  29.9k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  29.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  29.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8903|  29.9k|                assert(type_version != 0);
  |  | 8904|  29.9k|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  188|  29.9k|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (8904:21): [True: 78, False: 29.8k]
  |  |  ------------------
  |  | 8905|     78|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|     78|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8906|     78|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 8907|     78|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|     78|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8908|      0|                }
  |  | 8909|  29.9k|            }
  |  | 8910|       |            /* Skip 2 cache entries */
  |  | 8911|       |            // _LOAD_ATTR_NONDESCRIPTOR_NO_DICT
  |  | 8912|  29.8k|            {
  |  | 8913|  29.8k|                PyObject *descr = read_obj(&this_instr[6].cache);
  |  | 8914|  29.8k|                assert((oparg & 1) == 0);
  |  | 8915|  29.8k|                assert(Py_TYPE(PyStackRef_AsPyObjectBorrow(owner))->tp_dictoffset == 0);
  |  | 8916|  29.8k|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|  29.8k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 8917|  29.8k|                assert(descr != NULL);
  |  | 8918|  29.8k|                stack_pointer += -1;
  |  | 8919|  29.8k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  29.8k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8920|  29.8k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8921|  29.8k|                PyStackRef_CLOSE(owner);
  |  | 8922|  29.8k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 8923|  29.8k|                attr = PyStackRef_FromPyObjectNew(descr);
  |  |  ------------------
  |  |  |  |  599|  29.8k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  29.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  29.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8924|  29.8k|            }
  |  | 8925|  29.8k|            stack_pointer[0] = attr;
  |  | 8926|  29.8k|            stack_pointer += 1;
  |  | 8927|  29.8k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  29.8k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8928|  29.8k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  29.8k|    { \
  |  |  |  |  201|  29.8k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  29.8k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  29.8k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  29.8k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  29.8k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  29.8k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  29.8k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  29.8k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 29.8k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  29.8k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  29.8k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  29.8k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  29.8k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  29.8k|    }
  |  |  ------------------
  |  | 8929|  29.8k|        }
  |  | 8930|       |
  |  | 8931|  2.26M|        TARGET(LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES) {
  |  |  ------------------
  |  |  |  |  132|  2.26M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 8932|       |            #if _Py_TAIL_CALL_INTERP
  |  | 8933|       |            int opcode = LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES;
  |  | 8934|       |            (void)(opcode);
  |  | 8935|       |            #endif
  |  | 8936|  2.26M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 8937|  2.26M|            (void)this_instr;
  |  | 8938|  2.26M|            frame->instr_ptr = next_instr;
  |  | 8939|  2.26M|            next_instr += 10;
  |  | 8940|  2.26M|            INSTRUCTION_STATS(LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES);
  |  |  ------------------
  |  |  |  |   71|  2.26M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 8941|  2.26M|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 8942|  2.26M|            _PyStackRef owner;
  |  | 8943|  2.26M|            _PyStackRef attr;
  |  | 8944|       |            /* Skip 1 cache entry */
  |  | 8945|       |            // _GUARD_TYPE_VERSION
  |  | 8946|  2.26M|            {
  |  | 8947|  2.26M|                owner = stack_pointer[-1];
  |  | 8948|  2.26M|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 8949|  2.26M|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|  2.26M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.26M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.26M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8950|  2.26M|                assert(type_version != 0);
  |  | 8951|  2.26M|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  188|  2.26M|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (8951:21): [True: 214, False: 2.26M]
  |  |  ------------------
  |  | 8952|    214|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|    214|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8953|    214|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 8954|    214|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|    214|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8955|      0|                }
  |  | 8956|  2.26M|            }
  |  | 8957|       |            // _GUARD_DORV_VALUES_INST_ATTR_FROM_DICT
  |  | 8958|  2.26M|            {
  |  | 8959|  2.26M|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 8960|  2.26M|                assert(Py_TYPE(owner_o)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  |  | 8961|  2.26M|                PyDictValues *ivs = _PyObject_InlineValues(owner_o);
  |  | 8962|  2.26M|                if (!FT_ATOMIC_LOAD_UINT8(ivs->valid)) {
  |  |  ------------------
  |  |  |  |  153|  2.26M|#define FT_ATOMIC_LOAD_UINT8(value) value
  |  |  ------------------
  |  |  |  Branch (8962:21): [True: 0, False: 2.26M]
  |  |  ------------------
  |  | 8963|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8964|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 8965|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8966|      0|                }
  |  | 8967|  2.26M|            }
  |  | 8968|       |            // _GUARD_KEYS_VERSION
  |  | 8969|  2.26M|            {
  |  | 8970|  2.26M|                uint32_t keys_version = read_u32(&this_instr[4].cache);
  |  | 8971|  2.26M|                PyTypeObject *owner_cls = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|  2.26M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.26M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.26M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8972|  2.26M|                PyHeapTypeObject *owner_heap_type = (PyHeapTypeObject *)owner_cls;
  |  | 8973|  2.26M|                PyDictKeysObject *keys = owner_heap_type->ht_cached_keys;
  |  | 8974|  2.26M|                if (FT_ATOMIC_LOAD_UINT32_RELAXED(keys->dk_version) != keys_version) {
  |  |  ------------------
  |  |  |  |  158|  2.26M|#define FT_ATOMIC_LOAD_UINT32_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (8974:21): [True: 7, False: 2.26M]
  |  |  ------------------
  |  | 8975|      7|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|      7|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 8976|      7|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 8977|      7|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      7|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 8978|      0|                }
  |  | 8979|  2.26M|            }
  |  | 8980|       |            // _LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES
  |  | 8981|  2.26M|            {
  |  | 8982|  2.26M|                PyObject *descr = read_obj(&this_instr[6].cache);
  |  | 8983|  2.26M|                assert((oparg & 1) == 0);
  |  | 8984|  2.26M|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|  2.26M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 8985|  2.26M|                assert(descr != NULL);
  |  | 8986|  2.26M|                stack_pointer += -1;
  |  | 8987|  2.26M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.26M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8988|  2.26M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 8989|  2.26M|                PyStackRef_CLOSE(owner);
  |  | 8990|  2.26M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 8991|  2.26M|                attr = PyStackRef_FromPyObjectNew(descr);
  |  |  ------------------
  |  |  |  |  599|  2.26M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.26M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.26M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 8992|  2.26M|            }
  |  | 8993|  2.26M|            stack_pointer[0] = attr;
  |  | 8994|  2.26M|            stack_pointer += 1;
  |  | 8995|  2.26M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.26M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 8996|  2.26M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.26M|    { \
  |  |  |  |  201|  2.26M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  2.26M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  2.26M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  2.26M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  2.26M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  2.26M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  2.26M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  2.26M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 2.26M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.26M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.26M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.26M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.26M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.26M|    }
  |  |  ------------------
  |  | 8997|  2.26M|        }
  |  | 8998|       |
  |  | 8999|  6.39M|        TARGET(LOAD_ATTR_PROPERTY) {
  |  |  ------------------
  |  |  |  |  132|  6.39M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9000|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9001|       |            int opcode = LOAD_ATTR_PROPERTY;
  |  | 9002|       |            (void)(opcode);
  |  | 9003|       |            #endif
  |  | 9004|  6.39M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 9005|  6.39M|            (void)this_instr;
  |  | 9006|  6.39M|            frame->instr_ptr = next_instr;
  |  | 9007|  6.39M|            next_instr += 10;
  |  | 9008|  6.39M|            INSTRUCTION_STATS(LOAD_ATTR_PROPERTY);
  |  |  ------------------
  |  |  |  |   71|  6.39M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9009|  6.39M|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 9010|  6.39M|            _PyStackRef owner;
  |  | 9011|  6.39M|            _PyStackRef new_frame;
  |  | 9012|       |            /* Skip 1 cache entry */
  |  | 9013|       |            // _GUARD_TYPE_VERSION
  |  | 9014|  6.39M|            {
  |  | 9015|  6.39M|                owner = stack_pointer[-1];
  |  | 9016|  6.39M|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 9017|  6.39M|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|  6.39M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.39M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.39M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9018|  6.39M|                assert(type_version != 0);
  |  | 9019|  6.39M|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  188|  6.39M|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9019:21): [True: 330k, False: 6.06M]
  |  |  ------------------
  |  | 9020|   330k|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|   330k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9021|   330k|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 9022|   330k|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|   330k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9023|      0|                }
  |  | 9024|  6.39M|            }
  |  | 9025|       |            // _CHECK_PEP_523
  |  | 9026|  6.06M|            {
  |  | 9027|  6.06M|                if (IS_PEP523_HOOKED(tstate)) {
  |  |  ------------------
  |  |  |  |  517|  6.06M|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (517:34): [True: 0, False: 6.06M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9028|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9029|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 9030|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9031|      0|                }
  |  | 9032|  6.06M|            }
  |  | 9033|       |            // _LOAD_ATTR_PROPERTY_FRAME
  |  | 9034|  6.06M|            {
  |  | 9035|  6.06M|                uint32_t func_version = read_u32(&this_instr[4].cache);
  |  | 9036|  6.06M|                PyObject *fget = read_obj(&this_instr[6].cache);
  |  | 9037|  6.06M|                assert((oparg & 1) == 0);
  |  | 9038|  6.06M|                assert(Py_IS_TYPE(fget, &PyFunction_Type));
  |  | 9039|  6.06M|                PyFunctionObject *f = (PyFunctionObject *)fget;
  |  | 9040|  6.06M|                if (f->func_version != func_version) {
  |  |  ------------------
  |  |  |  Branch (9040:21): [True: 0, False: 6.06M]
  |  |  ------------------
  |  | 9041|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9042|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 9043|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9044|      0|                }
  |  | 9045|  6.06M|                PyCodeObject *code = (PyCodeObject *)f->func_code;
  |  | 9046|  6.06M|                if (!_PyThreadState_HasStackSpace(tstate, code->co_framesize)) {
  |  |  ------------------
  |  |  |  Branch (9046:21): [True: 0, False: 6.06M]
  |  |  ------------------
  |  | 9047|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9048|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 9049|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9050|      0|                }
  |  | 9051|  6.06M|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|  6.06M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9052|  6.06M|                _PyInterpreterFrame *pushed_frame = _PyFrame_PushUnchecked(tstate, PyStackRef_FromPyObjectNew(fget), 1, frame);
  |  |  ------------------
  |  |  |  |  599|  6.06M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.06M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.06M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9053|  6.06M|                pushed_frame->localsplus[0] = owner;
  |  | 9054|  6.06M|                new_frame = PyStackRef_Wrap(pushed_frame);
  |  | 9055|  6.06M|            }
  |  | 9056|       |            // _SAVE_RETURN_OFFSET
  |  | 9057|      0|            {
  |  | 9058|  6.06M|                #if TIER_ONE
  |  | 9059|  6.06M|                frame->return_offset = (uint16_t)(next_instr - this_instr);
  |  | 9060|  6.06M|                #endif
  |  | 9061|       |                #if TIER_TWO
  |  | 9062|       |                frame->return_offset = oparg;
  |  | 9063|       |                #endif
  |  | 9064|  6.06M|            }
  |  | 9065|       |            // _PUSH_FRAME
  |  | 9066|  6.06M|            {
  |  | 9067|  6.06M|                assert(!IS_PEP523_HOOKED(tstate));
  |  | 9068|  6.06M|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  | 9069|  6.06M|                stack_pointer += -1;
  |  | 9070|  6.06M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  6.06M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9071|  6.06M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9072|  6.06M|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  | 9073|  6.06M|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|  6.06M|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  | 9074|  6.06M|                frame = tstate->current_frame = temp;
  |  | 9075|  6.06M|                tstate->py_recursion_remaining--;
  |  | 9076|  6.06M|                LOAD_SP();
  |  |  ------------------
  |  |  |  |  425|  6.06M|#define LOAD_SP() \
  |  |  |  |  426|  6.06M|stack_pointer = _PyFrame_GetStackPointer(frame)
  |  |  ------------------
  |  | 9077|  6.06M|                LOAD_IP(0);
  |  |  ------------------
  |  |  |  |  419|  6.06M|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  420|  6.06M|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  421|  6.06M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (421:14): [Folded, False: 6.06M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9078|  6.06M|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  345|  6.06M|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  | 9079|  6.06M|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  6.06M|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  | 9080|  6.06M|            }
  |  | 9081|  6.06M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  6.06M|    { \
  |  |  |  |  201|  6.06M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  6.06M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  6.06M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  6.06M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  6.06M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  6.06M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  6.06M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  6.06M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 6.06M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  6.06M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  6.06M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  6.06M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  6.06M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  6.06M|    }
  |  |  ------------------
  |  | 9082|  6.06M|        }
  |  | 9083|       |
  |  | 9084|  3.74M|        TARGET(LOAD_ATTR_SLOT) {
  |  |  ------------------
  |  |  |  |  132|  3.74M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9085|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9086|       |            int opcode = LOAD_ATTR_SLOT;
  |  | 9087|       |            (void)(opcode);
  |  | 9088|       |            #endif
  |  | 9089|  3.74M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 9090|  3.74M|            (void)this_instr;
  |  | 9091|  3.74M|            frame->instr_ptr = next_instr;
  |  | 9092|  3.74M|            next_instr += 10;
  |  | 9093|  3.74M|            INSTRUCTION_STATS(LOAD_ATTR_SLOT);
  |  |  ------------------
  |  |  |  |   71|  3.74M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9094|  3.74M|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 9095|  3.74M|            _PyStackRef owner;
  |  | 9096|  3.74M|            _PyStackRef attr;
  |  | 9097|  3.74M|            _PyStackRef o;
  |  | 9098|  3.74M|            _PyStackRef value;
  |  | 9099|  3.74M|            _PyStackRef *null;
  |  | 9100|       |            /* Skip 1 cache entry */
  |  | 9101|       |            // _GUARD_TYPE_VERSION
  |  | 9102|  3.74M|            {
  |  | 9103|  3.74M|                owner = stack_pointer[-1];
  |  | 9104|  3.74M|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 9105|  3.74M|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|  3.74M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.74M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.74M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9106|  3.74M|                assert(type_version != 0);
  |  | 9107|  3.74M|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  188|  3.74M|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9107:21): [True: 51.0k, False: 3.69M]
  |  |  ------------------
  |  | 9108|  51.0k|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|  51.0k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9109|  51.0k|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 9110|  51.0k|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|  51.0k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9111|      0|                }
  |  | 9112|  3.74M|            }
  |  | 9113|       |            // _LOAD_ATTR_SLOT
  |  | 9114|  3.69M|            {
  |  | 9115|  3.69M|                uint16_t index = read_u16(&this_instr[4].cache);
  |  | 9116|  3.69M|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 9117|  3.69M|                PyObject **addr = (PyObject **)((char *)owner_o + index);
  |  | 9118|  3.69M|                PyObject *attr_o = FT_ATOMIC_LOAD_PTR(*addr);
  |  |  ------------------
  |  |  |  |  144|  3.69M|#define FT_ATOMIC_LOAD_PTR(value) value
  |  |  ------------------
  |  | 9119|  3.69M|                if (attr_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9119:21): [True: 112, False: 3.69M]
  |  |  ------------------
  |  | 9120|    112|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|    112|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9121|    112|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 9122|    112|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|    112|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9123|      0|                }
  |  | 9124|       |                #ifdef Py_GIL_DISABLED
  |  | 9125|       |                int increfed = _Py_TryIncrefCompareStackRef(addr, attr_o, &attr);
  |  | 9126|       |                if (!increfed) {
  |  | 9127|       |                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  | 9128|       |                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 9129|       |                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  | 9130|       |                }
  |  | 9131|       |                #else
  |  | 9132|  3.69M|                attr = PyStackRef_FromPyObjectNew(attr_o);
  |  |  ------------------
  |  |  |  |  599|  3.69M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.69M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.69M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9133|  3.69M|                #endif
  |  | 9134|  3.69M|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|  3.69M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9135|  3.69M|                o = owner;
  |  | 9136|  3.69M|            }
  |  | 9137|       |            // _POP_TOP
  |  | 9138|      0|            {
  |  | 9139|  3.69M|                value = o;
  |  | 9140|  3.69M|                stack_pointer[-1] = attr;
  |  | 9141|  3.69M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9142|  3.69M|                PyStackRef_XCLOSE(value);
  |  | 9143|  3.69M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9144|  3.69M|            }
  |  | 9145|       |            /* Skip 5 cache entries */
  |  | 9146|       |            // _PUSH_NULL_CONDITIONAL
  |  | 9147|  3.69M|            {
  |  | 9148|  3.69M|                null = &stack_pointer[0];
  |  | 9149|  3.69M|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (9149:21): [True: 126, False: 3.69M]
  |  |  ------------------
  |  | 9150|    126|                    null[0] = PyStackRef_NULL;
  |  | 9151|    126|                }
  |  | 9152|  3.69M|            }
  |  | 9153|  3.69M|            stack_pointer += (oparg & 1);
  |  | 9154|  3.69M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  3.69M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9155|  3.69M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.69M|    { \
  |  |  |  |  201|  3.69M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  3.69M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  3.69M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  3.69M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  3.69M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  3.69M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  3.69M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  3.69M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 3.69M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.69M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.69M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.69M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.69M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.69M|    }
  |  |  ------------------
  |  | 9156|  3.69M|        }
  |  | 9157|       |
  |  | 9158|  6.12M|        TARGET(LOAD_ATTR_WITH_HINT) {
  |  |  ------------------
  |  |  |  |  132|  6.12M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9159|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9160|       |            int opcode = LOAD_ATTR_WITH_HINT;
  |  | 9161|       |            (void)(opcode);
  |  | 9162|       |            #endif
  |  | 9163|  6.12M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 9164|  6.12M|            (void)this_instr;
  |  | 9165|  6.12M|            frame->instr_ptr = next_instr;
  |  | 9166|  6.12M|            next_instr += 10;
  |  | 9167|  6.12M|            INSTRUCTION_STATS(LOAD_ATTR_WITH_HINT);
  |  |  ------------------
  |  |  |  |   71|  6.12M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9168|  6.12M|            static_assert(INLINE_CACHE_ENTRIES_LOAD_ATTR == 9, "incorrect cache size");
  |  | 9169|  6.12M|            _PyStackRef owner;
  |  | 9170|  6.12M|            _PyStackRef attr;
  |  | 9171|  6.12M|            _PyStackRef o;
  |  | 9172|  6.12M|            _PyStackRef value;
  |  | 9173|  6.12M|            _PyStackRef *null;
  |  | 9174|       |            /* Skip 1 cache entry */
  |  | 9175|       |            // _GUARD_TYPE_VERSION
  |  | 9176|  6.12M|            {
  |  | 9177|  6.12M|                owner = stack_pointer[-1];
  |  | 9178|  6.12M|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  | 9179|  6.12M|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9180|  6.12M|                assert(type_version != 0);
  |  | 9181|  6.12M|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  188|  6.12M|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9181:21): [True: 0, False: 6.12M]
  |  |  ------------------
  |  | 9182|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9183|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 9184|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9185|      0|                }
  |  | 9186|  6.12M|            }
  |  | 9187|       |            // _LOAD_ATTR_WITH_HINT
  |  | 9188|  6.12M|            {
  |  | 9189|  6.12M|                uint16_t hint = read_u16(&this_instr[4].cache);
  |  | 9190|  6.12M|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  | 9191|  6.12M|                assert(Py_TYPE(owner_o)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  |  | 9192|  6.12M|                PyDictObject *dict = _PyObject_GetManagedDict(owner_o);
  |  | 9193|  6.12M|                if (dict == NULL) {
  |  |  ------------------
  |  |  |  Branch (9193:21): [True: 0, False: 6.12M]
  |  |  ------------------
  |  | 9194|      0|                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9195|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 9196|      0|                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9197|      0|                }
  |  | 9198|  6.12M|                PyDictKeysObject *dk = FT_ATOMIC_LOAD_PTR(dict->ma_keys);
  |  |  ------------------
  |  |  |  |  144|  6.12M|#define FT_ATOMIC_LOAD_PTR(value) value
  |  |  ------------------
  |  | 9199|  6.12M|                assert(PyDict_CheckExact((PyObject *)dict));
  |  | 9200|       |                #ifdef Py_GIL_DISABLED
  |  | 9201|       |                if (!_Py_IsOwnedByCurrentThread((PyObject *)dict) && !_PyObject_GC_IS_SHARED(dict)) {
  |  | 9202|       |                    UPDATE_MISS_STATS(LOAD_ATTR);
  |  | 9203|       |                    assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 9204|       |                    JUMP_TO_PREDICTED(LOAD_ATTR);
  |  | 9205|       |                }
  |  | 9206|       |                #endif
  |  | 9207|  6.12M|                PyObject *attr_o;
  |  | 9208|  6.12M|                if (hint >= (size_t)FT_ATOMIC_LOAD_SSIZE_RELAXED(dk->dk_nentries)) {
  |  |  ------------------
  |  |  |  |  148|  6.12M|#define FT_ATOMIC_LOAD_SSIZE_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9208:21): [True: 0, False: 6.12M]
  |  |  ------------------
  |  | 9209|      0|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (9209:25): [True: 0, Folded]
  |  |  ------------------
  |  | 9210|      0|                        UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9211|      0|                        assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 9212|      0|                        JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9213|      0|                    }
  |  | 9214|      0|                }
  |  | 9215|  6.12M|                PyObject *name = GETITEM(FRAME_CO_NAMES, oparg>>1);
  |  |  ------------------
  |  |  |  |  235|  6.12M|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  6.12M|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  6.12M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  6.12M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9216|  6.12M|                if (dk->dk_kind != DICT_KEYS_UNICODE) {
  |  |  ------------------
  |  |  |  Branch (9216:21): [True: 0, False: 6.12M]
  |  |  ------------------
  |  | 9217|      0|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (9217:25): [True: 0, Folded]
  |  |  ------------------
  |  | 9218|      0|                        UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9219|      0|                        assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 9220|      0|                        JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9221|      0|                    }
  |  | 9222|      0|                }
  |  | 9223|  6.12M|                PyDictUnicodeEntry *ep = DK_UNICODE_ENTRIES(dk) + hint;
  |  | 9224|  6.12M|                if (FT_ATOMIC_LOAD_PTR_RELAXED(ep->me_key) != name) {
  |  |  ------------------
  |  |  |  |  152|  6.12M|#define FT_ATOMIC_LOAD_PTR_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9224:21): [True: 0, False: 6.12M]
  |  |  ------------------
  |  | 9225|      0|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (9225:25): [True: 0, Folded]
  |  |  ------------------
  |  | 9226|      0|                        UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9227|      0|                        assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 9228|      0|                        JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9229|      0|                    }
  |  | 9230|      0|                }
  |  | 9231|  6.12M|                attr_o = FT_ATOMIC_LOAD_PTR(ep->me_value);
  |  |  ------------------
  |  |  |  |  144|  6.12M|#define FT_ATOMIC_LOAD_PTR(value) value
  |  |  ------------------
  |  | 9232|  6.12M|                if (attr_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9232:21): [True: 0, False: 6.12M]
  |  |  ------------------
  |  | 9233|      0|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (9233:25): [True: 0, Folded]
  |  |  ------------------
  |  | 9234|      0|                        UPDATE_MISS_STATS(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9235|      0|                        assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 9236|      0|                        JUMP_TO_PREDICTED(LOAD_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9237|      0|                    }
  |  | 9238|      0|                }
  |  | 9239|  6.12M|                STAT_INC(LOAD_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|  6.12M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9240|       |                #ifdef Py_GIL_DISABLED
  |  | 9241|       |                int increfed = _Py_TryIncrefCompareStackRef(&ep->me_value, attr_o, &attr);
  |  | 9242|       |                if (!increfed) {
  |  | 9243|       |                    if (true) {
  |  | 9244|       |                        UPDATE_MISS_STATS(LOAD_ATTR);
  |  | 9245|       |                        assert(_PyOpcode_Deopt[opcode] == (LOAD_ATTR));
  |  | 9246|       |                        JUMP_TO_PREDICTED(LOAD_ATTR);
  |  | 9247|       |                    }
  |  | 9248|       |                }
  |  | 9249|       |                #else
  |  | 9250|  6.12M|                attr = PyStackRef_FromPyObjectNew(attr_o);
  |  |  ------------------
  |  |  |  |  599|  6.12M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.12M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.12M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9251|  6.12M|                #endif
  |  | 9252|  6.12M|                o = owner;
  |  | 9253|  6.12M|            }
  |  | 9254|       |            // _POP_TOP
  |  | 9255|      0|            {
  |  | 9256|  6.12M|                value = o;
  |  | 9257|  6.12M|                stack_pointer[-1] = attr;
  |  | 9258|  6.12M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9259|  6.12M|                PyStackRef_XCLOSE(value);
  |  | 9260|  6.12M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9261|  6.12M|            }
  |  | 9262|       |            /* Skip 5 cache entries */
  |  | 9263|       |            // _PUSH_NULL_CONDITIONAL
  |  | 9264|  6.12M|            {
  |  | 9265|  6.12M|                null = &stack_pointer[0];
  |  | 9266|  6.12M|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (9266:21): [True: 18, False: 6.12M]
  |  |  ------------------
  |  | 9267|     18|                    null[0] = PyStackRef_NULL;
  |  | 9268|     18|                }
  |  | 9269|  6.12M|            }
  |  | 9270|  6.12M|            stack_pointer += (oparg & 1);
  |  | 9271|  6.12M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  6.12M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9272|  6.12M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  6.12M|    { \
  |  |  |  |  201|  6.12M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  6.12M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  6.12M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  6.12M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  6.12M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  6.12M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  6.12M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  6.12M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 6.12M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  6.12M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  6.12M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  6.12M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  6.12M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  6.12M|    }
  |  |  ------------------
  |  | 9273|  6.12M|        }
  |  | 9274|       |
  |  | 9275|  1.94k|        TARGET(LOAD_BUILD_CLASS) {
  |  |  ------------------
  |  |  |  |  132|  1.94k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9276|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9277|       |            int opcode = LOAD_BUILD_CLASS;
  |  | 9278|       |            (void)(opcode);
  |  | 9279|       |            #endif
  |  | 9280|  1.94k|            frame->instr_ptr = next_instr;
  |  | 9281|  1.94k|            next_instr += 1;
  |  | 9282|  1.94k|            INSTRUCTION_STATS(LOAD_BUILD_CLASS);
  |  |  ------------------
  |  |  |  |   71|  1.94k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9283|  1.94k|            _PyStackRef bc;
  |  | 9284|  1.94k|            int err;
  |  | 9285|  1.94k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9286|  1.94k|            PyObject *bc_o = _PyMapping_GetOptionalItem2(BUILTINS(), &_Py_ID(__build_class__), &err);
  |  |  ------------------
  |  |  |  |  326|  1.94k|#define BUILTINS() frame->f_builtins
  |  |  ------------------
  |  |                           PyObject *bc_o = _PyMapping_GetOptionalItem2(BUILTINS(), &_Py_ID(__build_class__), &err);
  |  |  ------------------
  |  |  |  |  915|  1.94k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|  1.94k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|  1.94k|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9287|  1.94k|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9288|  1.94k|            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (9288:17): [True: 0, False: 1.94k]
  |  |  ------------------
  |  | 9289|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9290|      0|            }
  |  | 9291|  1.94k|            if (bc_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9291:17): [True: 0, False: 1.94k]
  |  |  ------------------
  |  | 9292|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9293|      0|                _PyErr_SetString(tstate, PyExc_NameError,
  |  | 9294|      0|                                 "__build_class__ not found");
  |  | 9295|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9296|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9297|      0|            }
  |  | 9298|  1.94k|            bc = PyStackRef_FromPyObjectSteal(bc_o);
  |  | 9299|  1.94k|            stack_pointer[0] = bc;
  |  | 9300|  1.94k|            stack_pointer += 1;
  |  | 9301|  1.94k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.94k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9302|  1.94k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.94k|    { \
  |  |  |  |  201|  1.94k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  1.94k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  1.94k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  1.94k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  1.94k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  1.94k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  1.94k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  1.94k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 1.94k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.94k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.94k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.94k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.94k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.94k|    }
  |  |  ------------------
  |  | 9303|  1.94k|        }
  |  | 9304|       |
  |  | 9305|  32.6M|        TARGET(LOAD_COMMON_CONSTANT) {
  |  |  ------------------
  |  |  |  |  132|  32.6M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9306|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9307|       |            int opcode = LOAD_COMMON_CONSTANT;
  |  | 9308|       |            (void)(opcode);
  |  | 9309|       |            #endif
  |  | 9310|  32.6M|            frame->instr_ptr = next_instr;
  |  | 9311|  32.6M|            next_instr += 1;
  |  | 9312|  32.6M|            INSTRUCTION_STATS(LOAD_COMMON_CONSTANT);
  |  |  ------------------
  |  |  |  |   71|  32.6M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9313|  32.6M|            _PyStackRef value;
  |  | 9314|  32.6M|            assert(oparg < NUM_COMMON_CONSTANTS);
  |  | 9315|  32.6M|            value = PyStackRef_FromPyObjectNew(tstate->interp->common_consts[oparg]);
  |  |  ------------------
  |  |  |  |  599|  32.6M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  32.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  32.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9316|  32.6M|            stack_pointer[0] = value;
  |  | 9317|  32.6M|            stack_pointer += 1;
  |  | 9318|  32.6M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  32.6M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9319|  32.6M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  32.6M|    { \
  |  |  |  |  201|  32.6M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  32.6M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  32.6M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  32.6M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  32.6M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  32.6M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  32.6M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  32.6M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 32.6M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  32.6M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  32.6M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  32.6M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  32.6M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  32.6M|    }
  |  |  ------------------
  |  | 9320|  32.6M|        }
  |  | 9321|       |
  |  | 9322|  37.5M|        TARGET(LOAD_CONST) {
  |  |  ------------------
  |  |  |  |  132|  37.5M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9323|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9324|       |            int opcode = LOAD_CONST;
  |  | 9325|       |            (void)(opcode);
  |  | 9326|       |            #endif
  |  | 9327|  37.5M|            frame->instr_ptr = next_instr;
  |  | 9328|  37.5M|            next_instr += 1;
  |  | 9329|  37.5M|            INSTRUCTION_STATS(LOAD_CONST);
  |  |  ------------------
  |  |  |  |   71|  37.5M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9330|  37.5M|            _PyStackRef value;
  |  | 9331|  37.5M|            PyObject *obj = GETITEM(FRAME_CO_CONSTS, oparg);
  |  |  ------------------
  |  |  |  |  235|  37.5M|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  37.5M|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  37.5M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  37.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9332|  37.5M|            value = PyStackRef_FromPyObjectBorrow(obj);
  |  | 9333|  37.5M|            stack_pointer[0] = value;
  |  | 9334|  37.5M|            stack_pointer += 1;
  |  | 9335|  37.5M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  37.5M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9336|  37.5M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  37.5M|    { \
  |  |  |  |  201|  37.5M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  37.5M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  37.5M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  37.5M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  37.5M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  37.5M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  37.5M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  37.5M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 37.5M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  37.5M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  37.5M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  37.5M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  37.5M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  37.5M|    }
  |  |  ------------------
  |  | 9337|  37.5M|        }
  |  | 9338|       |
  |  | 9339|  37.5M|        TARGET(LOAD_DEREF) {
  |  |  ------------------
  |  |  |  |  132|  10.9M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9340|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9341|       |            int opcode = LOAD_DEREF;
  |  | 9342|       |            (void)(opcode);
  |  | 9343|       |            #endif
  |  | 9344|  10.9M|            frame->instr_ptr = next_instr;
  |  | 9345|  10.9M|            next_instr += 1;
  |  | 9346|  10.9M|            INSTRUCTION_STATS(LOAD_DEREF);
  |  |  ------------------
  |  |  |  |   71|  10.9M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9347|  10.9M|            _PyStackRef value;
  |  | 9348|  10.9M|            PyCellObject *cell = (PyCellObject *)PyStackRef_AsPyObjectBorrow(GETLOCAL(oparg));
  |  |  ------------------
  |  |  |  |  284|  10.9M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9349|  10.9M|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9350|  10.9M|            value = _PyCell_GetStackRef(cell);
  |  | 9351|  10.9M|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9352|  10.9M|            if (PyStackRef_IsNull(value)) {
  |  |  ------------------
  |  |  |  |  470|  10.9M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|  10.9M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  10.9M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (470:32): [True: 0, False: 10.9M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9353|      0|                stack_pointer[0] = value;
  |  | 9354|      0|                stack_pointer += 1;
  |  | 9355|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9356|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9357|      0|                _PyEval_FormatExcUnbound(tstate, _PyFrame_GetCode(frame), oparg);
  |  | 9358|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9359|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9360|      0|            }
  |  | 9361|  10.9M|            stack_pointer[0] = value;
  |  | 9362|  10.9M|            stack_pointer += 1;
  |  | 9363|  10.9M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  10.9M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9364|  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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  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|    }
  |  |  ------------------
  |  | 9365|  10.9M|        }
  |  | 9366|       |
  |  | 9367|  14.8M|        TARGET(LOAD_FAST) {
  |  |  ------------------
  |  |  |  |  132|  14.8M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9368|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9369|       |            int opcode = LOAD_FAST;
  |  | 9370|       |            (void)(opcode);
  |  | 9371|       |            #endif
  |  | 9372|  14.8M|            frame->instr_ptr = next_instr;
  |  | 9373|  14.8M|            next_instr += 1;
  |  | 9374|  14.8M|            INSTRUCTION_STATS(LOAD_FAST);
  |  |  ------------------
  |  |  |  |   71|  14.8M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9375|  14.8M|            _PyStackRef value;
  |  | 9376|  14.8M|            assert(!PyStackRef_IsNull(GETLOCAL(oparg)));
  |  | 9377|  14.8M|            value = PyStackRef_DUP(GETLOCAL(oparg));
  |  |  ------------------
  |  |  |  |  284|  14.8M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9378|  14.8M|            stack_pointer[0] = value;
  |  | 9379|  14.8M|            stack_pointer += 1;
  |  | 9380|  14.8M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  14.8M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9381|  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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  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|    }
  |  |  ------------------
  |  | 9382|  14.8M|        }
  |  | 9383|       |
  |  | 9384|  14.8M|        TARGET(LOAD_FAST_AND_CLEAR) {
  |  |  ------------------
  |  |  |  |  132|   493k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9385|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9386|       |            int opcode = LOAD_FAST_AND_CLEAR;
  |  | 9387|       |            (void)(opcode);
  |  | 9388|       |            #endif
  |  | 9389|   493k|            frame->instr_ptr = next_instr;
  |  | 9390|   493k|            next_instr += 1;
  |  | 9391|   493k|            INSTRUCTION_STATS(LOAD_FAST_AND_CLEAR);
  |  |  ------------------
  |  |  |  |   71|   493k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9392|   493k|            _PyStackRef value;
  |  | 9393|   493k|            value = GETLOCAL(oparg);
  |  |  ------------------
  |  |  |  |  284|   493k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9394|   493k|            GETLOCAL(oparg) = PyStackRef_NULL;
  |  |  ------------------
  |  |  |  |  284|   493k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9395|   493k|            stack_pointer[0] = value;
  |  | 9396|   493k|            stack_pointer += 1;
  |  | 9397|   493k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   493k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9398|   493k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   493k|    { \
  |  |  |  |  201|   493k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|   493k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|   493k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|   493k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|   493k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|   493k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|   493k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|   493k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 493k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   493k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   493k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   493k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   493k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   493k|    }
  |  |  ------------------
  |  | 9399|   493k|        }
  |  | 9400|       |
  |  | 9401|   365M|        TARGET(LOAD_FAST_BORROW) {
  |  |  ------------------
  |  |  |  |  132|   365M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9402|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9403|       |            int opcode = LOAD_FAST_BORROW;
  |  | 9404|       |            (void)(opcode);
  |  | 9405|       |            #endif
  |  | 9406|   365M|            frame->instr_ptr = next_instr;
  |  | 9407|   365M|            next_instr += 1;
  |  | 9408|   365M|            INSTRUCTION_STATS(LOAD_FAST_BORROW);
  |  |  ------------------
  |  |  |  |   71|   365M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9409|   365M|            _PyStackRef value;
  |  | 9410|   365M|            assert(!PyStackRef_IsNull(GETLOCAL(oparg)));
  |  | 9411|   365M|            value = PyStackRef_Borrow(GETLOCAL(oparg));
  |  |  ------------------
  |  |  |  |  284|   365M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9412|   365M|            stack_pointer[0] = value;
  |  | 9413|   365M|            stack_pointer += 1;
  |  | 9414|   365M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   365M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9415|   365M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   365M|    { \
  |  |  |  |  201|   365M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|   365M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|   365M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|   365M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|   365M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|   365M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|   365M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|   365M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 365M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   365M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   365M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   365M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   365M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   365M|    }
  |  |  ------------------
  |  | 9416|   365M|        }
  |  | 9417|       |
  |  | 9418|   365M|        TARGET(LOAD_FAST_BORROW_LOAD_FAST_BORROW) {
  |  |  ------------------
  |  |  |  |  132|  24.1M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9419|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9420|       |            int opcode = LOAD_FAST_BORROW_LOAD_FAST_BORROW;
  |  | 9421|       |            (void)(opcode);
  |  | 9422|       |            #endif
  |  | 9423|  24.1M|            frame->instr_ptr = next_instr;
  |  | 9424|  24.1M|            next_instr += 1;
  |  | 9425|  24.1M|            INSTRUCTION_STATS(LOAD_FAST_BORROW_LOAD_FAST_BORROW);
  |  |  ------------------
  |  |  |  |   71|  24.1M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9426|  24.1M|            _PyStackRef value1;
  |  | 9427|  24.1M|            _PyStackRef value2;
  |  | 9428|  24.1M|            uint32_t oparg1 = oparg >> 4;
  |  | 9429|  24.1M|            uint32_t oparg2 = oparg & 15;
  |  | 9430|  24.1M|            value1 = PyStackRef_Borrow(GETLOCAL(oparg1));
  |  |  ------------------
  |  |  |  |  284|  24.1M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9431|  24.1M|            value2 = PyStackRef_Borrow(GETLOCAL(oparg2));
  |  |  ------------------
  |  |  |  |  284|  24.1M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9432|  24.1M|            stack_pointer[0] = value1;
  |  | 9433|  24.1M|            stack_pointer[1] = value2;
  |  | 9434|  24.1M|            stack_pointer += 2;
  |  | 9435|  24.1M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  24.1M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9436|  24.1M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  24.1M|    { \
  |  |  |  |  201|  24.1M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  24.1M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  24.1M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  24.1M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  24.1M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  24.1M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  24.1M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  24.1M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 24.1M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  24.1M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  24.1M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  24.1M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  24.1M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  24.1M|    }
  |  |  ------------------
  |  | 9437|  24.1M|        }
  |  | 9438|       |
  |  | 9439|  24.1M|        TARGET(LOAD_FAST_CHECK) {
  |  |  ------------------
  |  |  |  |  132|  2.17M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9440|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9441|       |            int opcode = LOAD_FAST_CHECK;
  |  | 9442|       |            (void)(opcode);
  |  | 9443|       |            #endif
  |  | 9444|  2.17M|            frame->instr_ptr = next_instr;
  |  | 9445|  2.17M|            next_instr += 1;
  |  | 9446|  2.17M|            INSTRUCTION_STATS(LOAD_FAST_CHECK);
  |  |  ------------------
  |  |  |  |   71|  2.17M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9447|  2.17M|            _PyStackRef value;
  |  | 9448|  2.17M|            _PyStackRef value_s = GETLOCAL(oparg);
  |  |  ------------------
  |  |  |  |  284|  2.17M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9449|  2.17M|            if (PyStackRef_IsNull(value_s)) {
  |  |  ------------------
  |  |  |  |  470|  2.17M|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|  2.17M|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  2.17M|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (470:32): [True: 0, False: 2.17M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9450|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9451|      0|                _PyEval_FormatExcCheckArg(tstate, PyExc_UnboundLocalError,
  |  | 9452|      0|                    UNBOUNDLOCAL_ERROR_MSG,
  |  |  ------------------
  |  |  |  |  380|      0|    "cannot access local variable '%s' where it is not associated with a value"
  |  |  ------------------
  |  | 9453|      0|                    PyTuple_GetItem(_PyFrame_GetCode(frame)->co_localsplusnames, oparg)
  |  | 9454|      0|                );
  |  | 9455|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9456|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9457|      0|            }
  |  | 9458|  2.17M|            value = PyStackRef_DUP(value_s);
  |  | 9459|  2.17M|            stack_pointer[0] = value;
  |  | 9460|  2.17M|            stack_pointer += 1;
  |  | 9461|  2.17M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.17M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9462|  2.17M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.17M|    { \
  |  |  |  |  201|  2.17M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  2.17M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  2.17M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  2.17M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  2.17M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  2.17M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  2.17M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  2.17M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 2.17M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.17M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.17M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.17M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.17M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.17M|    }
  |  |  ------------------
  |  | 9463|  2.17M|        }
  |  | 9464|       |
  |  | 9465|  7.86M|        TARGET(LOAD_FAST_LOAD_FAST) {
  |  |  ------------------
  |  |  |  |  132|  7.86M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9466|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9467|       |            int opcode = LOAD_FAST_LOAD_FAST;
  |  | 9468|       |            (void)(opcode);
  |  | 9469|       |            #endif
  |  | 9470|  7.86M|            frame->instr_ptr = next_instr;
  |  | 9471|  7.86M|            next_instr += 1;
  |  | 9472|  7.86M|            INSTRUCTION_STATS(LOAD_FAST_LOAD_FAST);
  |  |  ------------------
  |  |  |  |   71|  7.86M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9473|  7.86M|            _PyStackRef value1;
  |  | 9474|  7.86M|            _PyStackRef value2;
  |  | 9475|  7.86M|            uint32_t oparg1 = oparg >> 4;
  |  | 9476|  7.86M|            uint32_t oparg2 = oparg & 15;
  |  | 9477|  7.86M|            value1 = PyStackRef_DUP(GETLOCAL(oparg1));
  |  |  ------------------
  |  |  |  |  284|  7.86M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9478|  7.86M|            value2 = PyStackRef_DUP(GETLOCAL(oparg2));
  |  |  ------------------
  |  |  |  |  284|  7.86M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9479|  7.86M|            stack_pointer[0] = value1;
  |  | 9480|  7.86M|            stack_pointer[1] = value2;
  |  | 9481|  7.86M|            stack_pointer += 2;
  |  | 9482|  7.86M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  7.86M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9483|  7.86M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  7.86M|    { \
  |  |  |  |  201|  7.86M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  7.86M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  7.86M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  7.86M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  7.86M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  7.86M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  7.86M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  7.86M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 7.86M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  7.86M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  7.86M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  7.86M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  7.86M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  7.86M|    }
  |  |  ------------------
  |  | 9484|  7.86M|        }
  |  | 9485|       |
  |  | 9486|  7.86M|        TARGET(LOAD_FROM_DICT_OR_DEREF) {
  |  |  ------------------
  |  |  |  |  132|      4|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9487|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9488|       |            int opcode = LOAD_FROM_DICT_OR_DEREF;
  |  | 9489|       |            (void)(opcode);
  |  | 9490|       |            #endif
  |  | 9491|      4|            frame->instr_ptr = next_instr;
  |  | 9492|      4|            next_instr += 1;
  |  | 9493|      4|            INSTRUCTION_STATS(LOAD_FROM_DICT_OR_DEREF);
  |  |  ------------------
  |  |  |  |   71|      4|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9494|      4|            _PyStackRef class_dict_st;
  |  | 9495|      4|            _PyStackRef value;
  |  | 9496|      4|            class_dict_st = stack_pointer[-1];
  |  | 9497|      4|            PyObject *name;
  |  | 9498|      4|            PyObject *class_dict = PyStackRef_AsPyObjectBorrow(class_dict_st);
  |  | 9499|      4|            assert(class_dict);
  |  | 9500|      4|            assert(oparg >= 0 && oparg < _PyFrame_GetCode(frame)->co_nlocalsplus);
  |  | 9501|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9502|      4|            int err;
  |  | 9503|      4|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9504|      4|            PyObject* value_o = _PyMapping_GetOptionalItem2(class_dict, name, &err);
  |  | 9505|      4|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9506|      4|            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (9506:17): [True: 0, False: 4]
  |  |  ------------------
  |  | 9507|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9508|      0|            }
  |  | 9509|      4|            if (!value_o) {
  |  |  ------------------
  |  |  |  Branch (9509:17): [True: 4, False: 0]
  |  |  ------------------
  |  | 9510|      4|                PyCellObject *cell = (PyCellObject *)PyStackRef_AsPyObjectBorrow(GETLOCAL(oparg));
  |  |  ------------------
  |  |  |  |  284|      4|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  | 9511|      4|                value_o = PyCell_GetRef(cell);
  |  | 9512|      4|                if (value_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9512:21): [True: 0, False: 4]
  |  |  ------------------
  |  | 9513|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9514|      0|                    _PyEval_FormatExcUnbound(tstate, _PyFrame_GetCode(frame), oparg);
  |  | 9515|      0|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9516|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9517|      0|                }
  |  | 9518|      4|            }
  |  | 9519|      4|            stack_pointer += -1;
  |  | 9520|      4|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      4|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9521|      4|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9522|      4|            PyStackRef_CLOSE(class_dict_st);
  |  | 9523|      4|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9524|      4|            value = PyStackRef_FromPyObjectSteal(value_o);
  |  | 9525|      4|            stack_pointer[0] = value;
  |  | 9526|      4|            stack_pointer += 1;
  |  | 9527|      4|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      4|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9528|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      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|    }
  |  |  ------------------
  |  | 9529|      4|        }
  |  | 9530|       |
  |  | 9531|    358|        TARGET(LOAD_FROM_DICT_OR_GLOBALS) {
  |  |  ------------------
  |  |  |  |  132|    358|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9532|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9533|       |            int opcode = LOAD_FROM_DICT_OR_GLOBALS;
  |  | 9534|       |            (void)(opcode);
  |  | 9535|       |            #endif
  |  | 9536|    358|            frame->instr_ptr = next_instr;
  |  | 9537|    358|            next_instr += 1;
  |  | 9538|    358|            INSTRUCTION_STATS(LOAD_FROM_DICT_OR_GLOBALS);
  |  |  ------------------
  |  |  |  |   71|    358|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9539|    358|            _PyStackRef mod_or_class_dict;
  |  | 9540|    358|            _PyStackRef v;
  |  | 9541|    358|            mod_or_class_dict = stack_pointer[-1];
  |  | 9542|    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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9543|    358|            int err;
  |  | 9544|    358|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9545|    358|            PyObject *v_o = _PyMapping_GetOptionalItem2(PyStackRef_AsPyObjectBorrow(mod_or_class_dict), name, &err);
  |  | 9546|    358|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9547|    358|            stack_pointer += -1;
  |  | 9548|    358|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    358|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9549|    358|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9550|    358|            PyStackRef_CLOSE(mod_or_class_dict);
  |  | 9551|    358|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9552|    358|            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (9552:17): [True: 0, False: 358]
  |  |  ------------------
  |  | 9553|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9554|      0|            }
  |  | 9555|    358|            if (v_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9555:17): [True: 358, False: 0]
  |  |  ------------------
  |  | 9556|    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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9557|    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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9558|    290|                {
  |  | 9559|    290|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9560|    290|                    v_o = _PyDict_LoadGlobal((PyDictObject *)GLOBALS(),
  |  |  ------------------
  |  |  |  |  325|    290|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  | 9561|    290|                        (PyDictObject *)BUILTINS(),
  |  |  ------------------
  |  |  |  |  326|    290|#define BUILTINS() frame->f_builtins
  |  |  ------------------
  |  | 9562|    290|                        name);
  |  | 9563|    290|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9564|    290|                    if (v_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9564:25): [True: 0, False: 290]
  |  |  ------------------
  |  | 9565|      0|                        if (!_PyErr_Occurred(tstate)) {
  |  |  ------------------
  |  |  |  Branch (9565:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 9566|      0|                            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9567|      0|                            _PyEval_FormatExcCheckArg(tstate, PyExc_NameError,
  |  | 9568|      0|                                NAME_ERROR_MSG, name);
  |  |  ------------------
  |  |  |  |  384|      0|#define NAME_ERROR_MSG "name '%.200s' is not defined"
  |  |  ------------------
  |  | 9569|      0|                            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9570|      0|                        }
  |  | 9571|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9572|      0|                    }
  |  | 9573|    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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9574|      0|                        _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9575|      0|                        PyObject *l_v = _PyImport_LoadLazyImportTstate(tstate, v_o);
  |  | 9576|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9577|      0|                        stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9578|      0|                        if (v_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9578:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 9579|      0|                            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9580|      0|                        }
  |  | 9581|      0|                    }
  |  | 9582|    290|                }
  |  | 9583|     68|                else {
  |  | 9584|     68|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9585|     68|                    v_o = _PyMapping_GetOptionalItem2(GLOBALS(), name, &err);
  |  |  ------------------
  |  |  |  |  325|     68|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  | 9586|     68|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9587|     68|                    if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (9587:25): [True: 0, False: 68]
  |  |  ------------------
  |  | 9588|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9589|      0|                    }
  |  | 9590|     68|                    if (v_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9590:25): [True: 0, False: 68]
  |  |  ------------------
  |  | 9591|      0|                        _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9592|      0|                        v_o = _PyMapping_GetOptionalItem2(BUILTINS(), name, &err);
  |  |  ------------------
  |  |  |  |  326|      0|#define BUILTINS() frame->f_builtins
  |  |  ------------------
  |  | 9593|      0|                        stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9594|      0|                        if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (9594:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 9595|      0|                            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9596|      0|                        }
  |  | 9597|      0|                        if (v_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9597:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 9598|      0|                            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9599|      0|                            _PyEval_FormatExcCheckArg(
  |  | 9600|      0|                                tstate, PyExc_NameError,
  |  | 9601|      0|                                NAME_ERROR_MSG, name);
  |  |  ------------------
  |  |  |  |  384|      0|#define NAME_ERROR_MSG "name '%.200s' is not defined"
  |  |  ------------------
  |  | 9602|      0|                            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9603|      0|                            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9604|      0|                        }
  |  | 9605|      0|                    }
  |  | 9606|     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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9607|      0|                        _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9608|      0|                        PyObject *l_v = _PyImport_LoadLazyImportTstate(tstate, v_o);
  |  | 9609|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9610|      0|                        stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9611|      0|                        if (v_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9611:29): [True: 0, False: 0]
  |  |  ------------------
  |  | 9612|      0|                            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9613|      0|                        }
  |  | 9614|      0|                    }
  |  | 9615|     68|                }
  |  | 9616|    358|            }
  |  | 9617|    358|            v = PyStackRef_FromPyObjectSteal(v_o);
  |  | 9618|    358|            stack_pointer[0] = v;
  |  | 9619|    358|            stack_pointer += 1;
  |  | 9620|    358|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    358|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9621|    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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|    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|    }
  |  |  ------------------
  |  | 9622|    358|        }
  |  | 9623|       |
  |  | 9624|  14.7k|        TARGET(LOAD_GLOBAL) {
  |  |  ------------------
  |  |  |  |  132|  14.7k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9625|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9626|       |            int opcode = LOAD_GLOBAL;
  |  | 9627|       |            (void)(opcode);
  |  | 9628|       |            #endif
  |  | 9629|  14.7k|            frame->instr_ptr = next_instr;
  |  | 9630|  14.7k|            next_instr += 5;
  |  | 9631|  14.7k|            INSTRUCTION_STATS(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |   71|  14.7k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9632|  51.9k|            PREDICTED_LOAD_GLOBAL:;
  |  | 9633|  51.9k|            _Py_CODEUNIT* const this_instr = next_instr - 5;
  |  | 9634|  51.9k|            (void)this_instr;
  |  | 9635|  51.9k|            _PyStackRef *res;
  |  | 9636|  51.9k|            _PyStackRef *null;
  |  | 9637|       |            // _SPECIALIZE_LOAD_GLOBAL
  |  | 9638|  51.9k|            {
  |  | 9639|  51.9k|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 9640|  51.9k|                (void)counter;
  |  | 9641|  51.9k|                #if ENABLE_SPECIALIZATION
  |  | 9642|  51.9k|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  354|  51.9k|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (354:5): [True: 6.81k, False: 45.1k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9643|  6.81k|                    PyObject *name = GETITEM(FRAME_CO_NAMES, oparg>>1);
  |  |  ------------------
  |  |  |  |  235|  6.81k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  6.81k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  6.81k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  6.81k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9644|  6.81k|                    next_instr = this_instr;
  |  | 9645|  6.81k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9646|  6.81k|                    _Py_Specialize_LoadGlobal(GLOBALS(), BUILTINS(), next_instr, name);
  |  |  ------------------
  |  |  |  |  325|  6.81k|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  |                                   _Py_Specialize_LoadGlobal(GLOBALS(), BUILTINS(), next_instr, name);
  |  |  ------------------
  |  |  |  |  326|  6.81k|#define BUILTINS() frame->f_builtins
  |  |  ------------------
  |  | 9647|  6.81k|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9648|  6.81k|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|  6.81k|    { \
  |  |  |  |  217|  6.81k|        opcode = next_instr->op.code; \
  |  |  |  |  218|  6.81k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  6.81k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|  6.81k|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|  6.81k|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|  6.81k|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|  6.81k|    }
  |  |  ------------------
  |  | 9649|  6.81k|                }
  |  | 9650|  51.9k|                OPCODE_DEFERRED_INC(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |   90|  51.9k|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 9651|  51.9k|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  357|  51.9k|    do { \
  |  |  |  |  358|  51.9k|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  359|  51.9k|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (359:14): [Folded, False: 51.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9652|  51.9k|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 9653|  51.9k|            }
  |  | 9654|       |            /* Skip 1 cache entry */
  |  | 9655|       |            /* Skip 1 cache entry */
  |  | 9656|       |            /* Skip 1 cache entry */
  |  | 9657|       |            // _LOAD_GLOBAL
  |  | 9658|  51.9k|            {
  |  | 9659|  51.9k|                res = &stack_pointer[0];
  |  | 9660|  51.9k|                PyObject *name = GETITEM(FRAME_CO_NAMES, oparg>>1);
  |  |  ------------------
  |  |  |  |  235|  51.9k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  51.9k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  51.9k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  51.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9661|  51.9k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9662|  51.9k|                _PyEval_LoadGlobalStackRef(GLOBALS(), BUILTINS(), name, res);
  |  |  ------------------
  |  |  |  |  325|  51.9k|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  |                               _PyEval_LoadGlobalStackRef(GLOBALS(), BUILTINS(), name, res);
  |  |  ------------------
  |  |  |  |  326|  51.9k|#define BUILTINS() frame->f_builtins
  |  |  ------------------
  |  | 9663|  51.9k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9664|  51.9k|                if (PyStackRef_IsNull(*res)) {
  |  |  ------------------
  |  |  |  |  470|  51.9k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|  51.9k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  51.9k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (470:32): [True: 2, False: 51.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9665|      2|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      2|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9666|      0|                }
  |  | 9667|  51.9k|            }
  |  | 9668|       |            // _PUSH_NULL_CONDITIONAL
  |  | 9669|  51.9k|            {
  |  | 9670|  51.9k|                null = &stack_pointer[1];
  |  | 9671|  51.9k|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (9671:21): [True: 21.1k, False: 30.7k]
  |  |  ------------------
  |  | 9672|  21.1k|                    null[0] = PyStackRef_NULL;
  |  | 9673|  21.1k|                }
  |  | 9674|  51.9k|            }
  |  | 9675|  51.9k|            stack_pointer += 1 + (oparg & 1);
  |  | 9676|  51.9k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  51.9k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9677|  51.9k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  51.9k|    { \
  |  |  |  |  201|  51.9k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  51.9k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  51.9k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  51.9k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  51.9k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  51.9k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  51.9k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  51.9k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 51.9k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  51.9k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  51.9k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  51.9k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  51.9k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  51.9k|    }
  |  |  ------------------
  |  | 9678|  51.9k|        }
  |  | 9679|       |
  |  | 9680|  59.9M|        TARGET(LOAD_GLOBAL_BUILTIN) {
  |  |  ------------------
  |  |  |  |  132|  59.9M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9681|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9682|       |            int opcode = LOAD_GLOBAL_BUILTIN;
  |  | 9683|       |            (void)(opcode);
  |  | 9684|       |            #endif
  |  | 9685|  59.9M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 9686|  59.9M|            (void)this_instr;
  |  | 9687|  59.9M|            frame->instr_ptr = next_instr;
  |  | 9688|  59.9M|            next_instr += 5;
  |  | 9689|  59.9M|            INSTRUCTION_STATS(LOAD_GLOBAL_BUILTIN);
  |  |  ------------------
  |  |  |  |   71|  59.9M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9690|  59.9M|            static_assert(INLINE_CACHE_ENTRIES_LOAD_GLOBAL == 4, "incorrect cache size");
  |  | 9691|  59.9M|            _PyStackRef res;
  |  | 9692|  59.9M|            _PyStackRef *null;
  |  | 9693|       |            /* Skip 1 cache entry */
  |  | 9694|       |            // _GUARD_GLOBALS_VERSION
  |  | 9695|  59.9M|            {
  |  | 9696|  59.9M|                uint16_t version = read_u16(&this_instr[2].cache);
  |  | 9697|  59.9M|                PyDictObject *dict = (PyDictObject *)GLOBALS();
  |  |  ------------------
  |  |  |  |  325|  59.9M|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  | 9698|  59.9M|                if (!PyDict_CheckExact(dict)) {
  |  |  ------------------
  |  |  |  |   19|  59.9M|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  59.9M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  59.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  59.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (9698:21): [True: 0, False: 59.9M]
  |  |  ------------------
  |  | 9699|      0|                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9700|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  | 9701|      0|                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9702|      0|                }
  |  | 9703|  59.9M|                PyDictKeysObject *keys = FT_ATOMIC_LOAD_PTR_ACQUIRE(dict->ma_keys);
  |  |  ------------------
  |  |  |  |  149|  59.9M|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  | 9704|  59.9M|                if (FT_ATOMIC_LOAD_UINT32_RELAXED(keys->dk_version) != version) {
  |  |  ------------------
  |  |  |  |  158|  59.9M|#define FT_ATOMIC_LOAD_UINT32_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9704:21): [True: 17.1k, False: 59.9M]
  |  |  ------------------
  |  | 9705|  17.1k|                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  298|  17.1k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9706|  17.1k|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  | 9707|  17.1k|                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  136|  17.1k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9708|      0|                }
  |  | 9709|  59.9M|                assert(keys->dk_kind == DICT_KEYS_UNICODE);
  |  | 9710|  59.9M|            }
  |  | 9711|       |            // _LOAD_GLOBAL_BUILTINS
  |  | 9712|      0|            {
  |  | 9713|  59.9M|                uint16_t version = read_u16(&this_instr[3].cache);
  |  | 9714|  59.9M|                uint16_t index = read_u16(&this_instr[4].cache);
  |  | 9715|  59.9M|                PyDictObject *dict = (PyDictObject *)BUILTINS();
  |  |  ------------------
  |  |  |  |  326|  59.9M|#define BUILTINS() frame->f_builtins
  |  |  ------------------
  |  | 9716|  59.9M|                if (!PyDict_CheckExact(dict)) {
  |  |  ------------------
  |  |  |  |   19|  59.9M|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  59.9M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  59.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  59.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (9716:21): [True: 0, False: 59.9M]
  |  |  ------------------
  |  | 9717|      0|                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9718|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  | 9719|      0|                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9720|      0|                }
  |  | 9721|  59.9M|                PyDictKeysObject *keys = FT_ATOMIC_LOAD_PTR_ACQUIRE(dict->ma_keys);
  |  |  ------------------
  |  |  |  |  149|  59.9M|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  | 9722|  59.9M|                if (FT_ATOMIC_LOAD_UINT32_RELAXED(keys->dk_version) != version) {
  |  |  ------------------
  |  |  |  |  158|  59.9M|#define FT_ATOMIC_LOAD_UINT32_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9722:21): [True: 1.13k, False: 59.9M]
  |  |  ------------------
  |  | 9723|  1.13k|                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  298|  1.13k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9724|  1.13k|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  | 9725|  1.13k|                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  136|  1.13k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9726|      0|                }
  |  | 9727|  59.9M|                assert(keys->dk_kind == DICT_KEYS_UNICODE);
  |  | 9728|  59.9M|                PyDictUnicodeEntry *entries = DK_UNICODE_ENTRIES(keys);
  |  | 9729|  59.9M|                PyObject *res_o = FT_ATOMIC_LOAD_PTR_RELAXED(entries[index].me_value);
  |  |  ------------------
  |  |  |  |  152|  59.9M|#define FT_ATOMIC_LOAD_PTR_RELAXED(value) value
  |  |  ------------------
  |  | 9730|  59.9M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9730:21): [True: 0, False: 59.9M]
  |  |  ------------------
  |  | 9731|      0|                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9732|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  | 9733|      0|                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9734|      0|                }
  |  | 9735|       |                #if Py_GIL_DISABLED
  |  | 9736|       |                int increfed = _Py_TryIncrefCompareStackRef(&entries[index].me_value, res_o, &res);
  |  | 9737|       |                if (!increfed) {
  |  | 9738|       |                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  | 9739|       |                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  | 9740|       |                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  | 9741|       |                }
  |  | 9742|       |                #else
  |  | 9743|  59.9M|                res = PyStackRef_FromPyObjectNew(res_o);
  |  |  ------------------
  |  |  |  |  599|  59.9M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  59.9M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  59.9M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9744|  59.9M|                #endif
  |  | 9745|  59.9M|                STAT_INC(LOAD_GLOBAL, hit);
  |  |  ------------------
  |  |  |  |   73|  59.9M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9746|  59.9M|            }
  |  | 9747|       |            // _PUSH_NULL_CONDITIONAL
  |  | 9748|      0|            {
  |  | 9749|  59.9M|                null = &stack_pointer[1];
  |  | 9750|  59.9M|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (9750:21): [True: 47.4M, False: 12.5M]
  |  |  ------------------
  |  | 9751|  47.4M|                    null[0] = PyStackRef_NULL;
  |  | 9752|  47.4M|                }
  |  | 9753|  59.9M|            }
  |  | 9754|  59.9M|            stack_pointer[0] = res;
  |  | 9755|  59.9M|            stack_pointer += 1 + (oparg & 1);
  |  | 9756|  59.9M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  59.9M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9757|  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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  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|    }
  |  |  ------------------
  |  | 9758|  59.9M|        }
  |  | 9759|       |
  |  | 9760|  39.6M|        TARGET(LOAD_GLOBAL_MODULE) {
  |  |  ------------------
  |  |  |  |  132|  39.6M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9761|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9762|       |            int opcode = LOAD_GLOBAL_MODULE;
  |  | 9763|       |            (void)(opcode);
  |  | 9764|       |            #endif
  |  | 9765|  39.6M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  | 9766|  39.6M|            (void)this_instr;
  |  | 9767|  39.6M|            frame->instr_ptr = next_instr;
  |  | 9768|  39.6M|            next_instr += 5;
  |  | 9769|  39.6M|            INSTRUCTION_STATS(LOAD_GLOBAL_MODULE);
  |  |  ------------------
  |  |  |  |   71|  39.6M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9770|  39.6M|            static_assert(INLINE_CACHE_ENTRIES_LOAD_GLOBAL == 4, "incorrect cache size");
  |  | 9771|  39.6M|            _PyStackRef res;
  |  | 9772|  39.6M|            _PyStackRef *null;
  |  | 9773|       |            /* Skip 1 cache entry */
  |  | 9774|       |            // _NOP
  |  | 9775|  39.6M|            {
  |  | 9776|  39.6M|            }
  |  | 9777|       |            // _LOAD_GLOBAL_MODULE
  |  | 9778|  39.6M|            {
  |  | 9779|  39.6M|                uint16_t version = read_u16(&this_instr[2].cache);
  |  | 9780|  39.6M|                uint16_t index = read_u16(&this_instr[4].cache);
  |  | 9781|  39.6M|                PyDictObject *dict = (PyDictObject *)GLOBALS();
  |  |  ------------------
  |  |  |  |  325|  39.6M|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  | 9782|  39.6M|                if (!PyDict_CheckExact(dict)) {
  |  |  ------------------
  |  |  |  |   19|  39.6M|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  39.6M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  39.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  39.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (9782:21): [True: 0, False: 39.6M]
  |  |  ------------------
  |  | 9783|      0|                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9784|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  | 9785|      0|                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9786|      0|                }
  |  | 9787|  39.6M|                PyDictKeysObject *keys = FT_ATOMIC_LOAD_PTR_ACQUIRE(dict->ma_keys);
  |  |  ------------------
  |  |  |  |  149|  39.6M|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  |  |  ------------------
  |  | 9788|  39.6M|                if (FT_ATOMIC_LOAD_UINT32_RELAXED(keys->dk_version) != version) {
  |  |  ------------------
  |  |  |  |  158|  39.6M|#define FT_ATOMIC_LOAD_UINT32_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (9788:21): [True: 18.9k, False: 39.6M]
  |  |  ------------------
  |  | 9789|  18.9k|                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  298|  18.9k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9790|  18.9k|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  | 9791|  18.9k|                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  136|  18.9k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9792|      0|                }
  |  | 9793|  39.6M|                assert(keys->dk_kind == DICT_KEYS_UNICODE);
  |  | 9794|  39.6M|                PyDictUnicodeEntry *entries = DK_UNICODE_ENTRIES(keys);
  |  | 9795|  39.6M|                assert(index < DK_SIZE(keys));
  |  | 9796|  39.6M|                PyObject *res_o = FT_ATOMIC_LOAD_PTR_RELAXED(entries[index].me_value);
  |  |  ------------------
  |  |  |  |  152|  39.6M|#define FT_ATOMIC_LOAD_PTR_RELAXED(value) value
  |  |  ------------------
  |  | 9797|  39.6M|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9797:21): [True: 0, False: 39.6M]
  |  |  ------------------
  |  | 9798|      0|                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  | 9799|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  | 9800|      0|                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  | 9801|      0|                }
  |  | 9802|       |                #if Py_GIL_DISABLED
  |  | 9803|       |                int increfed = _Py_TryIncrefCompareStackRef(&entries[index].me_value, res_o, &res);
  |  | 9804|       |                if (!increfed) {
  |  | 9805|       |                    UPDATE_MISS_STATS(LOAD_GLOBAL);
  |  | 9806|       |                    assert(_PyOpcode_Deopt[opcode] == (LOAD_GLOBAL));
  |  | 9807|       |                    JUMP_TO_PREDICTED(LOAD_GLOBAL);
  |  | 9808|       |                }
  |  | 9809|       |                #else
  |  | 9810|  39.6M|                res = PyStackRef_FromPyObjectNew(res_o);
  |  |  ------------------
  |  |  |  |  599|  39.6M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  39.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  39.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9811|  39.6M|                #endif
  |  | 9812|  39.6M|                STAT_INC(LOAD_GLOBAL, hit);
  |  |  ------------------
  |  |  |  |   73|  39.6M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  | 9813|  39.6M|            }
  |  | 9814|       |            // _PUSH_NULL_CONDITIONAL
  |  | 9815|      0|            {
  |  | 9816|  39.6M|                null = &stack_pointer[1];
  |  | 9817|  39.6M|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (9817:21): [True: 19.9M, False: 19.7M]
  |  |  ------------------
  |  | 9818|  19.9M|                    null[0] = PyStackRef_NULL;
  |  | 9819|  19.9M|                }
  |  | 9820|  39.6M|            }
  |  | 9821|  39.6M|            stack_pointer[0] = res;
  |  | 9822|  39.6M|            stack_pointer += 1 + (oparg & 1);
  |  | 9823|  39.6M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  39.6M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9824|  39.6M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  39.6M|    { \
  |  |  |  |  201|  39.6M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  39.6M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  39.6M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  39.6M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  39.6M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  39.6M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  39.6M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  39.6M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 39.6M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  39.6M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  39.6M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  39.6M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  39.6M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  39.6M|    }
  |  |  ------------------
  |  | 9825|  39.6M|        }
  |  | 9826|       |
  |  | 9827|  1.53k|        TARGET(LOAD_LOCALS) {
  |  |  ------------------
  |  |  |  |  132|  1.53k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9828|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9829|       |            int opcode = LOAD_LOCALS;
  |  | 9830|       |            (void)(opcode);
  |  | 9831|       |            #endif
  |  | 9832|  1.53k|            frame->instr_ptr = next_instr;
  |  | 9833|  1.53k|            next_instr += 1;
  |  | 9834|  1.53k|            INSTRUCTION_STATS(LOAD_LOCALS);
  |  |  ------------------
  |  |  |  |   71|  1.53k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9835|  1.53k|            _PyStackRef locals;
  |  | 9836|  1.53k|            PyObject *l = LOCALS();
  |  |  ------------------
  |  |  |  |  327|  1.53k|#define LOCALS() frame->f_locals
  |  |  ------------------
  |  | 9837|  1.53k|            if (l == NULL) {
  |  |  ------------------
  |  |  |  Branch (9837:17): [True: 0, False: 1.53k]
  |  |  ------------------
  |  | 9838|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9839|      0|                _PyErr_SetString(tstate, PyExc_SystemError,
  |  | 9840|      0|                                 "no locals found");
  |  | 9841|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9842|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9843|      0|            }
  |  | 9844|  1.53k|            locals = PyStackRef_FromPyObjectNew(l);
  |  |  ------------------
  |  |  |  |  599|  1.53k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.53k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.53k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9845|  1.53k|            stack_pointer[0] = locals;
  |  | 9846|  1.53k|            stack_pointer += 1;
  |  | 9847|  1.53k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.53k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9848|  1.53k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.53k|    { \
  |  |  |  |  201|  1.53k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  1.53k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  1.53k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  1.53k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  1.53k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  1.53k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  1.53k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  1.53k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 1.53k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.53k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.53k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.53k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.53k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.53k|    }
  |  |  ------------------
  |  | 9849|  1.53k|        }
  |  | 9850|       |
  |  | 9851|  35.8k|        TARGET(LOAD_NAME) {
  |  |  ------------------
  |  |  |  |  132|  35.8k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9852|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9853|       |            int opcode = LOAD_NAME;
  |  | 9854|       |            (void)(opcode);
  |  | 9855|       |            #endif
  |  | 9856|  35.8k|            frame->instr_ptr = next_instr;
  |  | 9857|  35.8k|            next_instr += 1;
  |  | 9858|  35.8k|            INSTRUCTION_STATS(LOAD_NAME);
  |  |  ------------------
  |  |  |  |   71|  35.8k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9859|  35.8k|            _PyStackRef v;
  |  | 9860|  35.8k|            PyObject *name = GETITEM(FRAME_CO_NAMES, oparg);
  |  |  ------------------
  |  |  |  |  235|  35.8k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  35.8k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  35.8k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  35.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9861|  35.8k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9862|  35.8k|            PyObject *v_o = _PyEval_LoadName(tstate, frame, name);
  |  | 9863|  35.8k|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9864|  35.8k|            if (v_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (9864:17): [True: 0, False: 35.8k]
  |  |  ------------------
  |  | 9865|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9866|      0|            }
  |  | 9867|  35.8k|            if (PyLazyImport_CheckExact(v_o)) {
  |  |  ------------------
  |  |  |  |   15|  35.8k|#define PyLazyImport_CheckExact(op) Py_IS_TYPE((op), &PyLazyImport_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  35.8k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  35.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  35.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 0, False: 35.8k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9868|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9869|      0|                PyObject *l_v = _PyImport_LoadLazyImportTstate(tstate, v_o);
  |  | 9870|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9871|      0|                if (l_v == NULL) {
  |  |  ------------------
  |  |  |  Branch (9871:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9872|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9873|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9874|      0|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9875|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9876|      0|                }
  |  | 9877|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9878|      0|                int err = PyDict_SetItem(GLOBALS(), name, l_v);
  |  |  ------------------
  |  |  |  |  325|      0|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  | 9879|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9880|      0|                if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (9880:21): [True: 0, False: 0]
  |  |  ------------------
  |  | 9881|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9882|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9883|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9884|      0|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9885|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9886|      0|                }
  |  | 9887|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9888|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9889|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9890|      0|            }
  |  | 9891|  35.8k|            v = PyStackRef_FromPyObjectSteal(v_o);
  |  | 9892|  35.8k|            stack_pointer[0] = v;
  |  | 9893|  35.8k|            stack_pointer += 1;
  |  | 9894|  35.8k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  35.8k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9895|  35.8k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  35.8k|    { \
  |  |  |  |  201|  35.8k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  35.8k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  35.8k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  35.8k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  35.8k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  35.8k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  35.8k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  35.8k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 35.8k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  35.8k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  35.8k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  35.8k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  35.8k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  35.8k|    }
  |  |  ------------------
  |  | 9896|  35.8k|        }
  |  | 9897|       |
  |  | 9898|  68.4M|        TARGET(LOAD_SMALL_INT) {
  |  |  ------------------
  |  |  |  |  132|  68.4M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9899|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9900|       |            int opcode = LOAD_SMALL_INT;
  |  | 9901|       |            (void)(opcode);
  |  | 9902|       |            #endif
  |  | 9903|  68.4M|            frame->instr_ptr = next_instr;
  |  | 9904|  68.4M|            next_instr += 1;
  |  | 9905|  68.4M|            INSTRUCTION_STATS(LOAD_SMALL_INT);
  |  |  ------------------
  |  |  |  |   71|  68.4M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9906|  68.4M|            _PyStackRef value;
  |  | 9907|  68.4M|            assert(oparg < _PY_NSMALLPOSINTS);
  |  | 9908|  68.4M|            PyObject *obj = (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS + oparg];
  |  |  ------------------
  |  |  |  |   59|  68.4M|#define _PyLong_SMALL_INTS _Py_SINGLETON(small_ints)
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|  68.4M|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|  68.4M|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                           PyObject *obj = (PyObject *)&_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS + oparg];
  |  |  ------------------
  |  |  |  |   98|  68.4M|#define _PY_NSMALLNEGINTS           5
  |  |  ------------------
  |  | 9909|  68.4M|            value = PyStackRef_FromPyObjectBorrow(obj);
  |  | 9910|  68.4M|            stack_pointer[0] = value;
  |  | 9911|  68.4M|            stack_pointer += 1;
  |  | 9912|  68.4M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  68.4M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9913|  68.4M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  68.4M|    { \
  |  |  |  |  201|  68.4M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  68.4M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  68.4M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  68.4M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  68.4M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  68.4M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  68.4M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  68.4M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 68.4M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  68.4M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  68.4M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  68.4M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  68.4M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  68.4M|    }
  |  |  ------------------
  |  | 9914|  68.4M|        }
  |  | 9915|       |
  |  | 9916|  68.4M|        TARGET(LOAD_SPECIAL) {
  |  |  ------------------
  |  |  |  |  132|   396k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9917|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9918|       |            int opcode = LOAD_SPECIAL;
  |  | 9919|       |            (void)(opcode);
  |  | 9920|       |            #endif
  |  | 9921|   396k|            frame->instr_ptr = next_instr;
  |  | 9922|   396k|            next_instr += 1;
  |  | 9923|   396k|            INSTRUCTION_STATS(LOAD_SPECIAL);
  |  |  ------------------
  |  |  |  |   71|   396k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9924|   396k|            _PyStackRef self;
  |  | 9925|   396k|            _PyStackRef *method_and_self;
  |  | 9926|       |            // _INSERT_NULL
  |  | 9927|   396k|            {
  |  | 9928|   396k|                self = stack_pointer[-1];
  |  | 9929|   396k|                method_and_self = &stack_pointer[-1];
  |  | 9930|   396k|                method_and_self[1] = self;
  |  | 9931|   396k|                method_and_self[0] = PyStackRef_NULL;
  |  | 9932|   396k|            }
  |  | 9933|       |            // _LOAD_SPECIAL
  |  | 9934|   396k|            {
  |  | 9935|   396k|                method_and_self = &stack_pointer[-1];
  |  | 9936|   396k|                PyObject *name = _Py_SpecialMethods[oparg].name;
  |  | 9937|   396k|                stack_pointer += 1;
  |  | 9938|   396k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   396k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  | 9939|   396k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9940|   396k|                int err = _PyObject_LookupSpecialMethod(name, method_and_self);
  |  | 9941|   396k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9942|   396k|                if (err <= 0) {
  |  |  ------------------
  |  |  |  Branch (9942:21): [True: 0, False: 396k]
  |  |  ------------------
  |  | 9943|      0|                    if (err == 0) {
  |  |  ------------------
  |  |  |  Branch (9943:25): [True: 0, False: 0]
  |  |  ------------------
  |  | 9944|      0|                        PyObject *owner = PyStackRef_AsPyObjectBorrow(method_and_self[1]);
  |  | 9945|      0|                        _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9946|      0|                        const char *errfmt = _PyEval_SpecialMethodCanSuggest(owner, oparg)
  |  |  ------------------
  |  |  |  Branch (9946:46): [True: 0, False: 0]
  |  |  ------------------
  |  | 9947|      0|                        ? _Py_SpecialMethods[oparg].error_suggestion
  |  | 9948|      0|                    : _Py_SpecialMethods[oparg].error;
  |  | 9949|      0|                        stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9950|      0|                        assert(!_PyErr_Occurred(tstate));
  |  | 9951|      0|                        assert(errfmt != NULL);
  |  | 9952|      0|                        _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9953|      0|                        _PyErr_Format(tstate, PyExc_TypeError, errfmt, owner);
  |  | 9954|      0|                        stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9955|      0|                    }
  |  | 9956|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  | 9957|      0|                }
  |  | 9958|   396k|            }
  |  | 9959|   396k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   396k|    { \
  |  |  |  |  201|   396k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|   396k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|   396k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|   396k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|   396k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|   396k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|   396k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|   396k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 396k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   396k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   396k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   396k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   396k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   396k|    }
  |  |  ------------------
  |  | 9960|   396k|        }
  |  | 9961|       |
  |  | 9962|    178|        TARGET(LOAD_SUPER_ATTR) {
  |  |  ------------------
  |  |  |  |  132|    178|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  | 9963|       |            #if _Py_TAIL_CALL_INTERP
  |  | 9964|       |            int opcode = LOAD_SUPER_ATTR;
  |  | 9965|       |            (void)(opcode);
  |  | 9966|       |            #endif
  |  | 9967|    178|            frame->instr_ptr = next_instr;
  |  | 9968|    178|            next_instr += 2;
  |  | 9969|    178|            INSTRUCTION_STATS(LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |   71|    178|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  | 9970|    178|            PREDICTED_LOAD_SUPER_ATTR:;
  |  | 9971|    178|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  | 9972|    178|            (void)this_instr;
  |  | 9973|    178|            opcode = LOAD_SUPER_ATTR;
  |  |  ------------------
  |  |  |  |  108|    178|#define LOAD_SUPER_ATTR                         95
  |  |  ------------------
  |  | 9974|    178|            _PyStackRef global_super_st;
  |  | 9975|    178|            _PyStackRef class_st;
  |  | 9976|    178|            _PyStackRef self_st;
  |  | 9977|    178|            _PyStackRef attr;
  |  | 9978|    178|            _PyStackRef *null;
  |  | 9979|       |            // _SPECIALIZE_LOAD_SUPER_ATTR
  |  | 9980|    178|            {
  |  | 9981|    178|                class_st = stack_pointer[-2];
  |  | 9982|    178|                global_super_st = stack_pointer[-3];
  |  | 9983|    178|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  | 9984|    178|                (void)counter;
  |  | 9985|    178|                #if ENABLE_SPECIALIZATION
  |  | 9986|    178|                int load_method = oparg & 1;
  |  | 9987|    178|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  354|    178|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (354:5): [True: 80, False: 98]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9988|     80|                    next_instr = this_instr;
  |  | 9989|     80|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  | 9990|     80|                    _Py_Specialize_LoadSuperAttr(global_super_st, class_st, next_instr, load_method);
  |  | 9991|     80|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  | 9992|     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|    }
  |  |  ------------------
  |  | 9993|     80|                }
  |  | 9994|    178|                OPCODE_DEFERRED_INC(LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |   90|    178|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  | 9995|    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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 9996|    178|                #endif  /* ENABLE_SPECIALIZATION */
  |  | 9997|    178|            }
  |  | 9998|       |            // _LOAD_SUPER_ATTR
  |  | 9999|    178|            {
  |  |10000|    178|                self_st = stack_pointer[-1];
  |  |10001|    178|                PyObject *global_super = PyStackRef_AsPyObjectBorrow(global_super_st);
  |  |10002|    178|                PyObject *class = PyStackRef_AsPyObjectBorrow(class_st);
  |  |10003|    178|                PyObject *self = PyStackRef_AsPyObjectBorrow(self_st);
  |  |10004|    178|                if (opcode == INSTRUMENTED_LOAD_SUPER_ATTR) {
  |  |  ------------------
  |  |  |  |  239|    178|#define INSTRUMENTED_LOAD_SUPER_ATTR           248
  |  |  ------------------
  |  |  |  Branch (10004:21): [True: 0, False: 178]
  |  |  ------------------
  |  |10005|      0|                    PyObject *arg = oparg & 2 ? class : &_PyInstrumentation_MISSING;
  |  |  ------------------
  |  |  |  Branch (10005:37): [True: 0, False: 0]
  |  |  ------------------
  |  |10006|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10007|      0|                    int err = _Py_call_instrumentation_2args(
  |  |10008|      0|                        tstate, PY_MONITORING_EVENT_CALL,
  |  |  ------------------
  |  |  |  |   18|      0|#define PY_MONITORING_EVENT_CALL 4
  |  |  ------------------
  |  |10009|      0|                        frame, this_instr, global_super, arg);
  |  |10010|      0|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |10011|      0|                    if (err) {
  |  |  ------------------
  |  |  |  Branch (10011:25): [True: 0, False: 0]
  |  |  ------------------
  |  |10012|      0|                        _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10013|      0|                        _PyStackRef tmp = self_st;
  |  |10014|      0|                        self_st = PyStackRef_NULL;
  |  |10015|      0|                        stack_pointer[-1] = self_st;
  |  |10016|      0|                        PyStackRef_CLOSE(tmp);
  |  |10017|      0|                        tmp = class_st;
  |  |10018|      0|                        class_st = PyStackRef_NULL;
  |  |10019|      0|                        stack_pointer[-2] = class_st;
  |  |10020|      0|                        PyStackRef_CLOSE(tmp);
  |  |10021|      0|                        tmp = global_super_st;
  |  |10022|      0|                        global_super_st = PyStackRef_NULL;
  |  |10023|      0|                        stack_pointer[-3] = global_super_st;
  |  |10024|      0|                        PyStackRef_CLOSE(tmp);
  |  |10025|      0|                        stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |10026|      0|                        stack_pointer += -3;
  |  |10027|      0|                        ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10028|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10029|      0|                    }
  |  |10030|      0|                }
  |  |10031|    178|                PyObject *super;
  |  |10032|    178|                {
  |  |10033|    178|                    PyObject *stack[] = {class, self};
  |  |10034|    178|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10035|    178|                    super = PyObject_Vectorcall(global_super, stack, oparg & 2, NULL);
  |  |10036|    178|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |10037|    178|                }
  |  |10038|    178|                if (opcode == INSTRUMENTED_LOAD_SUPER_ATTR) {
  |  |  ------------------
  |  |  |  |  239|    178|#define INSTRUMENTED_LOAD_SUPER_ATTR           248
  |  |  ------------------
  |  |  |  Branch (10038:21): [True: 0, False: 178]
  |  |  ------------------
  |  |10039|      0|                    PyObject *arg = oparg & 2 ? class : &_PyInstrumentation_MISSING;
  |  |  ------------------
  |  |  |  Branch (10039:37): [True: 0, False: 0]
  |  |  ------------------
  |  |10040|      0|                    if (super == NULL) {
  |  |  ------------------
  |  |  |  Branch (10040:25): [True: 0, False: 0]
  |  |  ------------------
  |  |10041|      0|                        _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10042|      0|                        _Py_call_instrumentation_exc2(
  |  |10043|      0|                            tstate, PY_MONITORING_EVENT_C_RAISE,
  |  |  ------------------
  |  |  |  |   45|      0|#define PY_MONITORING_EVENT_C_RAISE 17
  |  |  ------------------
  |  |10044|      0|                            frame, this_instr, global_super, arg);
  |  |10045|      0|                        stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |10046|      0|                    }
  |  |10047|      0|                    else {
  |  |10048|      0|                        _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10049|      0|                        int err = _Py_call_instrumentation_2args(
  |  |10050|      0|                            tstate, PY_MONITORING_EVENT_C_RETURN,
  |  |  ------------------
  |  |  |  |   44|      0|#define PY_MONITORING_EVENT_C_RETURN 16
  |  |  ------------------
  |  |10051|      0|                            frame, this_instr, global_super, arg);
  |  |10052|      0|                        stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |10053|      0|                        if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (10053:29): [True: 0, False: 0]
  |  |  ------------------
  |  |10054|      0|                            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10055|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10056|      0|                            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |10057|      0|                        }
  |  |10058|      0|                    }
  |  |10059|      0|                }
  |  |10060|    178|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10061|    178|                _PyStackRef tmp = self_st;
  |  |10062|    178|                self_st = PyStackRef_NULL;
  |  |10063|    178|                stack_pointer[-1] = self_st;
  |  |10064|    178|                PyStackRef_CLOSE(tmp);
  |  |10065|    178|                tmp = class_st;
  |  |10066|    178|                class_st = PyStackRef_NULL;
  |  |10067|    178|                stack_pointer[-2] = class_st;
  |  |10068|    178|                PyStackRef_CLOSE(tmp);
  |  |10069|    178|                tmp = global_super_st;
  |  |10070|    178|                global_super_st = PyStackRef_NULL;
  |  |10071|    178|                stack_pointer[-3] = global_super_st;
  |  |10072|    178|                PyStackRef_CLOSE(tmp);
  |  |10073|    178|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |10074|    178|                stack_pointer += -3;
  |  |10075|    178|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    178|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10076|    178|                if (super == NULL) {
  |  |  ------------------
  |  |  |  Branch (10076:21): [True: 0, False: 178]
  |  |  ------------------
  |  |10077|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10078|      0|                }
  |  |10079|    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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10080|    178|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10081|    178|                PyObject *attr_o = PyObject_GetAttr(super, name);
  |  |10082|    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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10083|    178|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |10084|    178|                if (attr_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (10084:21): [True: 0, False: 178]
  |  |  ------------------
  |  |10085|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10086|      0|                }
  |  |10087|    178|                attr = PyStackRef_FromPyObjectSteal(attr_o);
  |  |10088|    178|            }
  |  |10089|       |            // _PUSH_NULL_CONDITIONAL
  |  |10090|      0|            {
  |  |10091|    178|                null = &stack_pointer[1];
  |  |10092|    178|                if (oparg & 1) {
  |  |  ------------------
  |  |  |  Branch (10092:21): [True: 72, False: 106]
  |  |  ------------------
  |  |10093|     72|                    null[0] = PyStackRef_NULL;
  |  |10094|     72|                }
  |  |10095|    178|            }
  |  |10096|    178|            stack_pointer[0] = attr;
  |  |10097|    178|            stack_pointer += 1 + (oparg & 1);
  |  |10098|    178|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    178|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10099|    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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|    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|    }
  |  |  ------------------
  |  |10100|    178|        }
  |  |10101|       |
  |  |10102|    558|        TARGET(LOAD_SUPER_ATTR_ATTR) {
  |  |  ------------------
  |  |  |  |  132|    558|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10103|       |            #if _Py_TAIL_CALL_INTERP
  |  |10104|       |            int opcode = LOAD_SUPER_ATTR_ATTR;
  |  |10105|       |            (void)(opcode);
  |  |10106|       |            #endif
  |  |10107|    558|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |10108|    558|            (void)this_instr;
  |  |10109|    558|            frame->instr_ptr = next_instr;
  |  |10110|    558|            next_instr += 2;
  |  |10111|    558|            INSTRUCTION_STATS(LOAD_SUPER_ATTR_ATTR);
  |  |  ------------------
  |  |  |  |   71|    558|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10112|    558|            static_assert(INLINE_CACHE_ENTRIES_LOAD_SUPER_ATTR == 1, "incorrect cache size");
  |  |10113|    558|            _PyStackRef global_super_st;
  |  |10114|    558|            _PyStackRef class_st;
  |  |10115|    558|            _PyStackRef self_st;
  |  |10116|    558|            _PyStackRef attr_st;
  |  |10117|       |            /* Skip 1 cache entry */
  |  |10118|    558|            self_st = stack_pointer[-1];
  |  |10119|    558|            class_st = stack_pointer[-2];
  |  |10120|    558|            global_super_st = stack_pointer[-3];
  |  |10121|    558|            PyObject *global_super = PyStackRef_AsPyObjectBorrow(global_super_st);
  |  |10122|    558|            PyObject *class = PyStackRef_AsPyObjectBorrow(class_st);
  |  |10123|    558|            PyObject *self = PyStackRef_AsPyObjectBorrow(self_st);
  |  |10124|    558|            assert(!(oparg & 1));
  |  |10125|    558|            if (global_super != (PyObject *)&PySuper_Type) {
  |  |  ------------------
  |  |  |  Branch (10125:17): [True: 0, False: 558]
  |  |  ------------------
  |  |10126|      0|                UPDATE_MISS_STATS(LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10127|      0|                assert(_PyOpcode_Deopt[opcode] == (LOAD_SUPER_ATTR));
  |  |10128|      0|                JUMP_TO_PREDICTED(LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10129|      0|            }
  |  |10130|    558|            if (!PyType_Check(class)) {
  |  |  ------------------
  |  |  |  |  766|    558|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    558|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    558|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10130:17): [True: 0, False: 558]
  |  |  ------------------
  |  |10131|      0|                UPDATE_MISS_STATS(LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10132|      0|                assert(_PyOpcode_Deopt[opcode] == (LOAD_SUPER_ATTR));
  |  |10133|      0|                JUMP_TO_PREDICTED(LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10134|      0|            }
  |  |10135|    558|            STAT_INC(LOAD_SUPER_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|    558|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |10136|    558|            PyObject *name = GETITEM(FRAME_CO_NAMES, oparg >> 2);
  |  |  ------------------
  |  |  |  |  235|    558|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|    558|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|    558|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    558|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10137|    558|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10138|    558|            PyObject *attr = _PySuper_Lookup((PyTypeObject *)class, self, name, NULL);
  |  |10139|    558|            _PyStackRef tmp = self_st;
  |  |10140|    558|            self_st = PyStackRef_NULL;
  |  |10141|    558|            stack_pointer[-1] = self_st;
  |  |10142|    558|            PyStackRef_CLOSE(tmp);
  |  |10143|    558|            tmp = class_st;
  |  |10144|    558|            class_st = PyStackRef_NULL;
  |  |10145|    558|            stack_pointer[-2] = class_st;
  |  |10146|    558|            PyStackRef_CLOSE(tmp);
  |  |10147|    558|            tmp = global_super_st;
  |  |10148|    558|            global_super_st = PyStackRef_NULL;
  |  |10149|    558|            stack_pointer[-3] = global_super_st;
  |  |10150|    558|            PyStackRef_CLOSE(tmp);
  |  |10151|    558|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |10152|    558|            stack_pointer += -3;
  |  |10153|    558|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    558|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10154|    558|            if (attr == NULL) {
  |  |  ------------------
  |  |  |  Branch (10154:17): [True: 0, False: 558]
  |  |  ------------------
  |  |10155|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10156|      0|            }
  |  |10157|    558|            attr_st = PyStackRef_FromPyObjectSteal(attr);
  |  |10158|    558|            stack_pointer[0] = attr_st;
  |  |10159|    558|            stack_pointer += 1;
  |  |10160|    558|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    558|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10161|    558|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    558|    { \
  |  |  |  |  201|    558|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|    558|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|    558|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|    558|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|    558|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|    558|        opcode = word.op.code; \
  |  |  |  |  |  |  253|    558|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|    558|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 558]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    558|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    558|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    558|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    558|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    558|    }
  |  |  ------------------
  |  |10162|    558|        }
  |  |10163|       |
  |  |10164|   220k|        TARGET(LOAD_SUPER_ATTR_METHOD) {
  |  |  ------------------
  |  |  |  |  132|   220k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10165|       |            #if _Py_TAIL_CALL_INTERP
  |  |10166|       |            int opcode = LOAD_SUPER_ATTR_METHOD;
  |  |10167|       |            (void)(opcode);
  |  |10168|       |            #endif
  |  |10169|   220k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |10170|   220k|            (void)this_instr;
  |  |10171|   220k|            frame->instr_ptr = next_instr;
  |  |10172|   220k|            next_instr += 2;
  |  |10173|   220k|            INSTRUCTION_STATS(LOAD_SUPER_ATTR_METHOD);
  |  |  ------------------
  |  |  |  |   71|   220k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10174|   220k|            static_assert(INLINE_CACHE_ENTRIES_LOAD_SUPER_ATTR == 1, "incorrect cache size");
  |  |10175|   220k|            _PyStackRef global_super_st;
  |  |10176|   220k|            _PyStackRef class_st;
  |  |10177|   220k|            _PyStackRef self_st;
  |  |10178|   220k|            _PyStackRef attr;
  |  |10179|   220k|            _PyStackRef self_or_null;
  |  |10180|       |            /* Skip 1 cache entry */
  |  |10181|       |            // _GUARD_LOAD_SUPER_ATTR_METHOD
  |  |10182|   220k|            {
  |  |10183|   220k|                class_st = stack_pointer[-2];
  |  |10184|   220k|                global_super_st = stack_pointer[-3];
  |  |10185|   220k|                PyObject *global_super = PyStackRef_AsPyObjectBorrow(global_super_st);
  |  |10186|   220k|                PyObject *class = PyStackRef_AsPyObjectBorrow(class_st);
  |  |10187|   220k|                assert(oparg & 1);
  |  |10188|   220k|                if (global_super != (PyObject *)&PySuper_Type) {
  |  |  ------------------
  |  |  |  Branch (10188:21): [True: 0, False: 220k]
  |  |  ------------------
  |  |10189|      0|                    UPDATE_MISS_STATS(LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10190|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_SUPER_ATTR));
  |  |10191|      0|                    JUMP_TO_PREDICTED(LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10192|      0|                }
  |  |10193|   220k|                if (!PyType_Check(class)) {
  |  |  ------------------
  |  |  |  |  766|   220k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   220k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   220k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10193:21): [True: 0, False: 220k]
  |  |  ------------------
  |  |10194|      0|                    UPDATE_MISS_STATS(LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10195|      0|                    assert(_PyOpcode_Deopt[opcode] == (LOAD_SUPER_ATTR));
  |  |10196|      0|                    JUMP_TO_PREDICTED(LOAD_SUPER_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10197|      0|                }
  |  |10198|   220k|            }
  |  |10199|       |            // _LOAD_SUPER_ATTR_METHOD
  |  |10200|   220k|            {
  |  |10201|   220k|                self_st = stack_pointer[-1];
  |  |10202|   220k|                PyObject *class = PyStackRef_AsPyObjectBorrow(class_st);
  |  |10203|   220k|                PyObject *self = PyStackRef_AsPyObjectBorrow(self_st);
  |  |10204|   220k|                STAT_INC(LOAD_SUPER_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|   220k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |10205|   220k|                PyObject *name = GETITEM(FRAME_CO_NAMES, oparg >> 2);
  |  |  ------------------
  |  |  |  |  235|   220k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|   220k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|   220k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   220k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10206|   220k|                PyTypeObject *cls = (PyTypeObject *)class;
  |  |10207|   220k|                int method_found = 0;
  |  |10208|   220k|                PyObject *attr_o;
  |  |10209|   220k|                {
  |  |10210|   220k|                    int *method_found_ptr = &method_found;
  |  |10211|   220k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10212|   220k|                    attr_o = _PySuper_Lookup(cls, self, name,
  |  |10213|   220k|                        Py_TYPE(self)->tp_getattro == PyObject_GenericGetAttr ? method_found_ptr : NULL);
  |  |  ------------------
  |  |  |  |  213|   220k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   220k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   220k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10213:25): [True: 208k, False: 12.2k]
  |  |  ------------------
  |  |10214|   220k|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |10215|   220k|                }
  |  |10216|   220k|                if (attr_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (10216:21): [True: 0, False: 220k]
  |  |  ------------------
  |  |10217|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10218|      0|                }
  |  |10219|   220k|                if (method_found) {
  |  |  ------------------
  |  |  |  Branch (10219:21): [True: 208k, False: 12.2k]
  |  |  ------------------
  |  |10220|   208k|                    self_or_null = self_st;
  |  |10221|   208k|                } else {
  |  |10222|  12.2k|                    stack_pointer += -1;
  |  |10223|  12.2k|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  12.2k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10224|  12.2k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10225|  12.2k|                    PyStackRef_CLOSE(self_st);
  |  |10226|  12.2k|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |10227|  12.2k|                    self_or_null = PyStackRef_NULL;
  |  |10228|  12.2k|                    stack_pointer += 1;
  |  |10229|  12.2k|                }
  |  |10230|   220k|                stack_pointer += -1;
  |  |10231|   220k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   220k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10232|   220k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10233|   220k|                _PyStackRef tmp = global_super_st;
  |  |10234|   220k|                global_super_st = self_or_null;
  |  |10235|   220k|                stack_pointer[-2] = global_super_st;
  |  |10236|   220k|                PyStackRef_CLOSE(tmp);
  |  |10237|   220k|                tmp = class_st;
  |  |10238|   220k|                class_st = PyStackRef_NULL;
  |  |10239|   220k|                stack_pointer[-1] = class_st;
  |  |10240|   220k|                PyStackRef_CLOSE(tmp);
  |  |10241|   220k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |10242|   220k|                stack_pointer += -2;
  |  |10243|   220k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   220k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10244|   220k|                attr = PyStackRef_FromPyObjectSteal(attr_o);
  |  |10245|   220k|            }
  |  |10246|      0|            stack_pointer[0] = attr;
  |  |10247|   220k|            stack_pointer[1] = self_or_null;
  |  |10248|   220k|            stack_pointer += 2;
  |  |10249|   220k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   220k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10250|   220k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   220k|    { \
  |  |  |  |  201|   220k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|   220k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|   220k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|   220k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|   220k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|   220k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|   220k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|   220k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 220k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   220k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   220k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   220k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   220k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   220k|    }
  |  |  ------------------
  |  |10251|   220k|        }
  |  |10252|       |
  |  |10253|  6.13M|        TARGET(MAKE_CELL) {
  |  |  ------------------
  |  |  |  |  132|  6.13M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10254|       |            #if _Py_TAIL_CALL_INTERP
  |  |10255|       |            int opcode = MAKE_CELL;
  |  |10256|       |            (void)(opcode);
  |  |10257|       |            #endif
  |  |10258|  6.13M|            frame->instr_ptr = next_instr;
  |  |10259|  6.13M|            next_instr += 1;
  |  |10260|  6.13M|            INSTRUCTION_STATS(MAKE_CELL);
  |  |  ------------------
  |  |  |  |   71|  6.13M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10261|  6.13M|            PyObject *initial = PyStackRef_AsPyObjectBorrow(GETLOCAL(oparg));
  |  |  ------------------
  |  |  |  |  284|  6.13M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |10262|  6.13M|            PyObject *cell = PyCell_New(initial);
  |  |10263|  6.13M|            if (cell == NULL) {
  |  |  ------------------
  |  |  |  Branch (10263:17): [True: 0, False: 6.13M]
  |  |  ------------------
  |  |10264|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10265|      0|            }
  |  |10266|  6.13M|            _PyStackRef tmp = GETLOCAL(oparg);
  |  |  ------------------
  |  |  |  |  284|  6.13M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |10267|  6.13M|            GETLOCAL(oparg) = PyStackRef_FromPyObjectSteal(cell);
  |  |  ------------------
  |  |  |  |  284|  6.13M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |10268|  6.13M|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10269|  6.13M|            PyStackRef_XCLOSE(tmp);
  |  |10270|  6.13M|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |10271|  6.13M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  6.13M|    { \
  |  |  |  |  201|  6.13M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  6.13M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  6.13M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  6.13M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  6.13M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  6.13M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  6.13M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  6.13M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 6.13M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  6.13M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  6.13M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  6.13M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  6.13M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  6.13M|    }
  |  |  ------------------
  |  |10272|  6.13M|        }
  |  |10273|       |
  |  |10274|  3.74M|        TARGET(MAKE_FUNCTION) {
  |  |  ------------------
  |  |  |  |  132|  3.74M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10275|       |            #if _Py_TAIL_CALL_INTERP
  |  |10276|       |            int opcode = MAKE_FUNCTION;
  |  |10277|       |            (void)(opcode);
  |  |10278|       |            #endif
  |  |10279|  3.74M|            frame->instr_ptr = next_instr;
  |  |10280|  3.74M|            next_instr += 1;
  |  |10281|  3.74M|            INSTRUCTION_STATS(MAKE_FUNCTION);
  |  |  ------------------
  |  |  |  |   71|  3.74M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10282|  3.74M|            _PyStackRef codeobj_st;
  |  |10283|  3.74M|            _PyStackRef func;
  |  |10284|  3.74M|            _PyStackRef co;
  |  |10285|  3.74M|            _PyStackRef value;
  |  |10286|       |            // _MAKE_FUNCTION
  |  |10287|  3.74M|            {
  |  |10288|  3.74M|                codeobj_st = stack_pointer[-1];
  |  |10289|  3.74M|                PyObject *codeobj = PyStackRef_AsPyObjectBorrow(codeobj_st);
  |  |10290|  3.74M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10291|  3.74M|                PyFunctionObject *func_obj = (PyFunctionObject *)
  |  |10292|  3.74M|                PyFunction_New(codeobj, GLOBALS());
  |  |  ------------------
  |  |  |  |  325|  3.74M|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  |10293|  3.74M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |10294|  3.74M|                if (func_obj == NULL) {
  |  |  ------------------
  |  |  |  Branch (10294:21): [True: 0, False: 3.74M]
  |  |  ------------------
  |  |10295|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10296|      0|                }
  |  |10297|  3.74M|                co = codeobj_st;
  |  |10298|  3.74M|                _PyFunction_SetVersion(
  |  |10299|  3.74M|                                   func_obj, ((PyCodeObject *)codeobj)->co_version);
  |  |10300|  3.74M|                func = PyStackRef_FromPyObjectSteal((PyObject *)func_obj);
  |  |10301|  3.74M|            }
  |  |10302|       |            // _POP_TOP
  |  |10303|      0|            {
  |  |10304|  3.74M|                value = co;
  |  |10305|  3.74M|                stack_pointer[-1] = func;
  |  |10306|  3.74M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10307|  3.74M|                PyStackRef_XCLOSE(value);
  |  |10308|  3.74M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |10309|  3.74M|            }
  |  |10310|  3.74M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  3.74M|    { \
  |  |  |  |  201|  3.74M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  3.74M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  3.74M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  3.74M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  3.74M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  3.74M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  3.74M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  3.74M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 3.74M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  3.74M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  3.74M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  3.74M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  3.74M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  3.74M|    }
  |  |  ------------------
  |  |10311|  3.74M|        }
  |  |10312|       |
  |  |10313|  38.2k|        TARGET(MAP_ADD) {
  |  |  ------------------
  |  |  |  |  132|  38.2k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10314|       |            #if _Py_TAIL_CALL_INTERP
  |  |10315|       |            int opcode = MAP_ADD;
  |  |10316|       |            (void)(opcode);
  |  |10317|       |            #endif
  |  |10318|  38.2k|            frame->instr_ptr = next_instr;
  |  |10319|  38.2k|            next_instr += 1;
  |  |10320|  38.2k|            INSTRUCTION_STATS(MAP_ADD);
  |  |  ------------------
  |  |  |  |   71|  38.2k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10321|  38.2k|            _PyStackRef dict_st;
  |  |10322|  38.2k|            _PyStackRef key;
  |  |10323|  38.2k|            _PyStackRef value;
  |  |10324|  38.2k|            value = stack_pointer[-1];
  |  |10325|  38.2k|            key = stack_pointer[-2];
  |  |10326|  38.2k|            dict_st = stack_pointer[-3 - (oparg - 1)];
  |  |10327|  38.2k|            PyObject *dict = PyStackRef_AsPyObjectBorrow(dict_st);
  |  |10328|  38.2k|            assert(PyDict_CheckExact(dict));
  |  |10329|  38.2k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10330|  38.2k|            int err = _PyDict_SetItem_Take2(
  |  |10331|  38.2k|                (PyDictObject *)dict,
  |  |10332|  38.2k|                PyStackRef_AsPyObjectSteal(key),
  |  |10333|  38.2k|                PyStackRef_AsPyObjectSteal(value)
  |  |10334|  38.2k|            );
  |  |10335|  38.2k|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |10336|  38.2k|            if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (10336:17): [True: 0, False: 38.2k]
  |  |  ------------------
  |  |10337|      0|                JUMP_TO_LABEL(pop_2_error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10338|      0|            }
  |  |10339|  38.2k|            stack_pointer += -2;
  |  |10340|  38.2k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  38.2k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10341|  38.2k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  38.2k|    { \
  |  |  |  |  201|  38.2k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  38.2k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  38.2k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  38.2k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  38.2k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  38.2k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  38.2k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  38.2k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 38.2k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  38.2k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  38.2k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  38.2k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  38.2k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  38.2k|    }
  |  |  ------------------
  |  |10342|  38.2k|        }
  |  |10343|       |
  |  |10344|      4|        TARGET(MATCH_CLASS) {
  |  |  ------------------
  |  |  |  |  132|      4|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10345|       |            #if _Py_TAIL_CALL_INTERP
  |  |10346|       |            int opcode = MATCH_CLASS;
  |  |10347|       |            (void)(opcode);
  |  |10348|       |            #endif
  |  |10349|      4|            frame->instr_ptr = next_instr;
  |  |10350|      4|            next_instr += 1;
  |  |10351|      4|            INSTRUCTION_STATS(MATCH_CLASS);
  |  |  ------------------
  |  |  |  |   71|      4|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10352|      4|            _PyStackRef subject;
  |  |10353|      4|            _PyStackRef type;
  |  |10354|      4|            _PyStackRef names;
  |  |10355|      4|            _PyStackRef attrs;
  |  |10356|      4|            _PyStackRef s;
  |  |10357|      4|            _PyStackRef tp;
  |  |10358|      4|            _PyStackRef n;
  |  |10359|      4|            _PyStackRef value;
  |  |10360|       |            // _MATCH_CLASS
  |  |10361|      4|            {
  |  |10362|      4|                names = stack_pointer[-1];
  |  |10363|      4|                type = stack_pointer[-2];
  |  |10364|      4|                subject = stack_pointer[-3];
  |  |10365|      4|                assert(PyTuple_CheckExact(PyStackRef_AsPyObjectBorrow(names)));
  |  |10366|      4|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10367|      4|                PyObject *attrs_o = _PyEval_MatchClass(tstate,
  |  |10368|      4|                    PyStackRef_AsPyObjectBorrow(subject),
  |  |10369|      4|                    PyStackRef_AsPyObjectBorrow(type), oparg,
  |  |10370|      4|                    PyStackRef_AsPyObjectBorrow(names));
  |  |10371|      4|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |10372|      4|                if (attrs_o) {
  |  |  ------------------
  |  |  |  Branch (10372:21): [True: 0, False: 4]
  |  |  ------------------
  |  |10373|      0|                    assert(PyTuple_CheckExact(attrs_o));
  |  |10374|      0|                    attrs = PyStackRef_FromPyObjectSteal(attrs_o);
  |  |10375|      0|                }
  |  |10376|      4|                else {
  |  |10377|      4|                    if (_PyErr_Occurred(tstate)) {
  |  |  ------------------
  |  |  |  Branch (10377:25): [True: 0, False: 4]
  |  |  ------------------
  |  |10378|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10379|      0|                    }
  |  |10380|      4|                    attrs = PyStackRef_None;
  |  |  ------------------
  |  |  |  |  473|      4|#define PyStackRef_None ((_PyStackRef){.bits = ((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      4|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10381|      4|                }
  |  |10382|      4|                s = subject;
  |  |10383|      4|                tp = type;
  |  |10384|      4|                n = names;
  |  |10385|      4|            }
  |  |10386|       |            // _POP_TOP
  |  |10387|      0|            {
  |  |10388|      4|                value = n;
  |  |10389|      4|                stack_pointer[-3] = attrs;
  |  |10390|      4|                stack_pointer[-2] = s;
  |  |10391|      4|                stack_pointer[-1] = tp;
  |  |10392|      4|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10393|      4|                PyStackRef_XCLOSE(value);
  |  |10394|      4|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |10395|      4|            }
  |  |10396|       |            // _POP_TOP
  |  |10397|      4|            {
  |  |10398|      4|                value = tp;
  |  |10399|      4|                stack_pointer += -1;
  |  |10400|      4|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      4|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10401|      4|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10402|      4|                PyStackRef_XCLOSE(value);
  |  |10403|      4|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |10404|      4|            }
  |  |10405|       |            // _POP_TOP
  |  |10406|      4|            {
  |  |10407|      4|                value = s;
  |  |10408|      4|                stack_pointer += -1;
  |  |10409|      4|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      4|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10410|      4|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10411|      4|                PyStackRef_XCLOSE(value);
  |  |10412|      4|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |10413|      4|            }
  |  |10414|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      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|    }
  |  |  ------------------
  |  |10415|      4|        }
  |  |10416|       |
  |  |10417|      0|        TARGET(MATCH_KEYS) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10418|       |            #if _Py_TAIL_CALL_INTERP
  |  |10419|       |            int opcode = MATCH_KEYS;
  |  |10420|       |            (void)(opcode);
  |  |10421|       |            #endif
  |  |10422|      0|            frame->instr_ptr = next_instr;
  |  |10423|      0|            next_instr += 1;
  |  |10424|      0|            INSTRUCTION_STATS(MATCH_KEYS);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10425|      0|            _PyStackRef subject;
  |  |10426|      0|            _PyStackRef keys;
  |  |10427|      0|            _PyStackRef values_or_none;
  |  |10428|      0|            keys = stack_pointer[-1];
  |  |10429|      0|            subject = stack_pointer[-2];
  |  |10430|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10431|      0|            PyObject *values_or_none_o = _PyEval_MatchKeys(tstate,
  |  |10432|      0|                PyStackRef_AsPyObjectBorrow(subject), PyStackRef_AsPyObjectBorrow(keys));
  |  |10433|      0|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |10434|      0|            if (values_or_none_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (10434:17): [True: 0, False: 0]
  |  |  ------------------
  |  |10435|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10436|      0|            }
  |  |10437|      0|            values_or_none = PyStackRef_FromPyObjectSteal(values_or_none_o);
  |  |10438|      0|            stack_pointer[0] = values_or_none;
  |  |10439|      0|            stack_pointer += 1;
  |  |10440|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10441|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      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|    }
  |  |  ------------------
  |  |10442|      0|        }
  |  |10443|       |
  |  |10444|      0|        TARGET(MATCH_MAPPING) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10445|       |            #if _Py_TAIL_CALL_INTERP
  |  |10446|       |            int opcode = MATCH_MAPPING;
  |  |10447|       |            (void)(opcode);
  |  |10448|       |            #endif
  |  |10449|      0|            frame->instr_ptr = next_instr;
  |  |10450|      0|            next_instr += 1;
  |  |10451|      0|            INSTRUCTION_STATS(MATCH_MAPPING);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10452|      0|            _PyStackRef subject;
  |  |10453|      0|            _PyStackRef res;
  |  |10454|      0|            subject = stack_pointer[-1];
  |  |10455|      0|            int match = PyStackRef_TYPE(subject)->tp_flags & Py_TPFLAGS_MAPPING;
  |  |  ------------------
  |  |  |  |  492|      0|#define Py_TPFLAGS_MAPPING (1 << 6)
  |  |  ------------------
  |  |10456|      0|            res = match ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  471|      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;
  |  |  ------------------
  |  |  |  |  472|      0|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10456:19): [True: 0, False: 0]
  |  |  ------------------
  |  |10457|      0|            stack_pointer[0] = res;
  |  |10458|      0|            stack_pointer += 1;
  |  |10459|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10460|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      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|    }
  |  |  ------------------
  |  |10461|      0|        }
  |  |10462|       |
  |  |10463|      0|        TARGET(MATCH_SEQUENCE) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10464|       |            #if _Py_TAIL_CALL_INTERP
  |  |10465|       |            int opcode = MATCH_SEQUENCE;
  |  |10466|       |            (void)(opcode);
  |  |10467|       |            #endif
  |  |10468|      0|            frame->instr_ptr = next_instr;
  |  |10469|      0|            next_instr += 1;
  |  |10470|      0|            INSTRUCTION_STATS(MATCH_SEQUENCE);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10471|      0|            _PyStackRef subject;
  |  |10472|      0|            _PyStackRef res;
  |  |10473|      0|            subject = stack_pointer[-1];
  |  |10474|      0|            int match = PyStackRef_TYPE(subject)->tp_flags & Py_TPFLAGS_SEQUENCE;
  |  |  ------------------
  |  |  |  |  490|      0|#define Py_TPFLAGS_SEQUENCE (1 << 5)
  |  |  ------------------
  |  |10475|      0|            res = match ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  471|      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;
  |  |  ------------------
  |  |  |  |  472|      0|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      0|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (10475:19): [True: 0, False: 0]
  |  |  ------------------
  |  |10476|      0|            stack_pointer[0] = res;
  |  |10477|      0|            stack_pointer += 1;
  |  |10478|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10479|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      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|    }
  |  |  ------------------
  |  |10480|      0|        }
  |  |10481|       |
  |  |10482|  12.2M|        TARGET(NOP) {
  |  |  ------------------
  |  |  |  |  132|  12.2M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10483|       |            #if _Py_TAIL_CALL_INTERP
  |  |10484|       |            int opcode = NOP;
  |  |10485|       |            (void)(opcode);
  |  |10486|       |            #endif
  |  |10487|  12.2M|            frame->instr_ptr = next_instr;
  |  |10488|  12.2M|            next_instr += 1;
  |  |10489|  12.2M|            INSTRUCTION_STATS(NOP);
  |  |  ------------------
  |  |  |  |   71|  12.2M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10490|  12.2M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  12.2M|    { \
  |  |  |  |  201|  12.2M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  12.2M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  12.2M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  12.2M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  12.2M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  12.2M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  12.2M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  12.2M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 12.2M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  12.2M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  12.2M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  12.2M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  12.2M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  12.2M|    }
  |  |  ------------------
  |  |10491|  12.2M|        }
  |  |10492|       |
  |  |10493|  12.2M|        TARGET(NOT_TAKEN) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10494|       |            #if _Py_TAIL_CALL_INTERP
  |  |10495|       |            int opcode = NOT_TAKEN;
  |  |10496|       |            (void)(opcode);
  |  |10497|       |            #endif
  |  |10498|      0|            frame->instr_ptr = next_instr;
  |  |10499|      0|            next_instr += 1;
  |  |10500|      0|            INSTRUCTION_STATS(NOT_TAKEN);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10501|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      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|    }
  |  |  ------------------
  |  |10502|      0|        }
  |  |10503|       |
  |  |10504|  1.49M|        TARGET(POP_EXCEPT) {
  |  |  ------------------
  |  |  |  |  132|  1.49M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10505|       |            #if _Py_TAIL_CALL_INTERP
  |  |10506|       |            int opcode = POP_EXCEPT;
  |  |10507|       |            (void)(opcode);
  |  |10508|       |            #endif
  |  |10509|  1.49M|            frame->instr_ptr = next_instr;
  |  |10510|  1.49M|            next_instr += 1;
  |  |10511|  1.49M|            INSTRUCTION_STATS(POP_EXCEPT);
  |  |  ------------------
  |  |  |  |   71|  1.49M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10512|  1.49M|            _PyStackRef exc_value;
  |  |10513|  1.49M|            exc_value = stack_pointer[-1];
  |  |10514|  1.49M|            _PyErr_StackItem *exc_info = tstate->exc_info;
  |  |10515|  1.49M|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10516|  1.49M|            Py_XSETREF(exc_info->exc_value,
  |  |  ------------------
  |  |  |  |  374|  1.49M|    do { \
  |  |  |  |  375|  1.49M|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  546|  1.49M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  376|  1.49M|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  546|  1.49M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  |  |  ------------------
  |  |  |  |  377|  2.98M|        *_tmp_dst_ptr = (src); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (377:26): [True: 1.46M, False: 22.2k]
  |  |  |  |  ------------------
  |  |  |  |  378|  1.49M|        Py_XDECREF(_tmp_old_dst); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   69|  1.49M|    do { \
  |  |  |  |  |  |   70|  1.49M|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.49M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.49M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   71|  1.49M|        if (xop != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (71:13): [True: 1.49M, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   72|  1.49M|            Py_DECREF(xop); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   80|  1.49M|    do { \
  |  |  |  |  |  |  |  |   81|  1.49M|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|  1.49M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|  1.49M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   82|  1.49M|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  137|  1.49M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  171|  1.49M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |   37|  1.49M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 1.49M]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   84|      0|            break; \
  |  |  |  |  |  |  |  |   85|      0|        } \
  |  |  |  |  |  |  |  |   86|  1.49M|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   20|  1.49M|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   87|  1.49M|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (87:13): [True: 1.04M, False: 446k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   88|  1.04M|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  112|  1.04M|    do { \
  |  |  |  |  |  |  |  |  |  |  113|  1.04M|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  |  |  |  |  114|  1.04M|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 1.04M]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  |  |  |  |  118|  1.04M|    } while(0)
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 1.04M]
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   89|  1.04M|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  213|  1.04M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  171|  1.04M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |  |  |   37|  1.04M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   90|  1.04M|            (*dealloc)(op); \
  |  |  |  |  |  |  |  |   91|  1.04M|        } \
  |  |  |  |  |  |  |  |   92|  1.49M|    } while (0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (92:14): [Folded, False: 1.49M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   73|  1.49M|        } \
  |  |  |  |  |  |   74|  1.49M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (74:14): [Folded, False: 1.49M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  379|  1.49M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (379:14): [Folded, False: 1.49M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10517|  1.49M|                       PyStackRef_IsNone(exc_value)
  |  |10518|  1.49M|                       ? NULL : PyStackRef_AsPyObjectSteal(exc_value));
  |  |10519|  1.49M|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |10520|  1.49M|            stack_pointer += -1;
  |  |10521|  1.49M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.49M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10522|  1.49M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.49M|    { \
  |  |  |  |  201|  1.49M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  1.49M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  1.49M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  1.49M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  1.49M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  1.49M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  1.49M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  1.49M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 1.49M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.49M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.49M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.49M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.49M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.49M|    }
  |  |  ------------------
  |  |10523|  1.49M|        }
  |  |10524|       |
  |  |10525|  5.11M|        TARGET(POP_ITER) {
  |  |  ------------------
  |  |  |  |  132|  5.11M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10526|       |            #if _Py_TAIL_CALL_INTERP
  |  |10527|       |            int opcode = POP_ITER;
  |  |10528|       |            (void)(opcode);
  |  |10529|       |            #endif
  |  |10530|  5.11M|            frame->instr_ptr = next_instr;
  |  |10531|  5.11M|            next_instr += 1;
  |  |10532|  5.11M|            INSTRUCTION_STATS(POP_ITER);
  |  |  ------------------
  |  |  |  |   71|  5.11M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10533|  5.11M|            _PyStackRef iter;
  |  |10534|  5.11M|            _PyStackRef index_or_null;
  |  |10535|  5.11M|            index_or_null = stack_pointer[-1];
  |  |10536|  5.11M|            iter = stack_pointer[-2];
  |  |10537|  5.11M|            (void)index_or_null;
  |  |10538|  5.11M|            stack_pointer += -2;
  |  |10539|  5.11M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  5.11M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10540|  5.11M|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10541|  5.11M|            PyStackRef_CLOSE(iter);
  |  |10542|  5.11M|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |10543|  5.11M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  5.11M|    { \
  |  |  |  |  201|  5.11M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  5.11M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  5.11M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  5.11M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  5.11M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  5.11M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  5.11M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  5.11M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 5.11M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  5.11M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  5.11M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  5.11M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  5.11M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  5.11M|    }
  |  |  ------------------
  |  |10544|  5.11M|        }
  |  |10545|       |
  |  |10546|  80.8M|        TARGET(POP_JUMP_IF_FALSE) {
  |  |  ------------------
  |  |  |  |  132|  80.8M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10547|       |            #if _Py_TAIL_CALL_INTERP
  |  |10548|       |            int opcode = POP_JUMP_IF_FALSE;
  |  |10549|       |            (void)(opcode);
  |  |10550|       |            #endif
  |  |10551|  80.8M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |10552|  80.8M|            (void)this_instr;
  |  |10553|  80.8M|            frame->instr_ptr = next_instr;
  |  |10554|  80.8M|            next_instr += 2;
  |  |10555|  80.8M|            INSTRUCTION_STATS(POP_JUMP_IF_FALSE);
  |  |  ------------------
  |  |  |  |   71|  80.8M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10556|  80.8M|            _PyStackRef cond;
  |  |10557|       |            /* Skip 1 cache entry */
  |  |10558|  80.8M|            cond = stack_pointer[-1];
  |  |10559|  80.8M|            assert(PyStackRef_BoolCheck(cond));
  |  |10560|  80.8M|            int flag = PyStackRef_IsFalse(cond);
  |  |  ------------------
  |  |  |  |  482|  80.8M|#define PyStackRef_IsFalse(REF) ((REF).bits == (((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  80.8M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10561|  80.8M|            RECORD_BRANCH_TAKEN(this_instr[1].cache, flag);
  |  |  ------------------
  |  |  |  |  373|  80.8M|    FT_ATOMIC_STORE_UINT16_RELAXED(       \
  |  |  |  |  ------------------
  |  |  |  |  |  |  170|  80.8M|#define FT_ATOMIC_STORE_UINT16_RELAXED(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  374|  80.8M|        bitset, (FT_ATOMIC_LOAD_UINT16_RELAXED(bitset) << 1) | (flag))
  |  |  ------------------
  |  |10562|  80.8M|            JUMPBY(flag ? oparg : next_instr->op.code == NOT_TAKEN);
  |  |  ------------------
  |  |  |  |  260|   161M|#define JUMPBY(x)       (next_instr += (x))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (260:41): [True: 60.5M, False: 20.2M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10563|  80.8M|            stack_pointer += -1;
  |  |10564|  80.8M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  80.8M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10565|  80.8M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  80.8M|    { \
  |  |  |  |  201|  80.8M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  80.8M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  80.8M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  80.8M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  80.8M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  80.8M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  80.8M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  80.8M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 80.8M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  80.8M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  80.8M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  80.8M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  80.8M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  80.8M|    }
  |  |  ------------------
  |  |10566|  80.8M|        }
  |  |10567|       |
  |  |10568|  80.8M|        TARGET(POP_JUMP_IF_NONE) {
  |  |  ------------------
  |  |  |  |  132|  4.69M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10569|       |            #if _Py_TAIL_CALL_INTERP
  |  |10570|       |            int opcode = POP_JUMP_IF_NONE;
  |  |10571|       |            (void)(opcode);
  |  |10572|       |            #endif
  |  |10573|  4.69M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |10574|  4.69M|            (void)this_instr;
  |  |10575|  4.69M|            frame->instr_ptr = next_instr;
  |  |10576|  4.69M|            next_instr += 2;
  |  |10577|  4.69M|            INSTRUCTION_STATS(POP_JUMP_IF_NONE);
  |  |  ------------------
  |  |  |  |   71|  4.69M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10578|  4.69M|            _PyStackRef value;
  |  |10579|  4.69M|            _PyStackRef b;
  |  |10580|  4.69M|            _PyStackRef cond;
  |  |10581|       |            /* Skip 1 cache entry */
  |  |10582|       |            // _IS_NONE
  |  |10583|  4.69M|            {
  |  |10584|  4.69M|                value = stack_pointer[-1];
  |  |10585|  4.69M|                if (PyStackRef_IsNone(value)) {
  |  |  ------------------
  |  |  |  |  483|  4.69M|#define PyStackRef_IsNone(REF) ((REF).bits == (((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  4.69M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (483:32): [True: 4.30M, False: 385k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10586|  4.30M|                    b = PyStackRef_True;
  |  |  ------------------
  |  |  |  |  471|  4.30M|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  4.30M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10587|  4.30M|                }
  |  |10588|   385k|                else {
  |  |10589|   385k|                    b = PyStackRef_False;
  |  |  ------------------
  |  |  |  |  472|   385k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|   385k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10590|   385k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10591|   385k|                    _PyStackRef tmp = value;
  |  |10592|   385k|                    value = b;
  |  |10593|   385k|                    stack_pointer[-1] = value;
  |  |10594|   385k|                    PyStackRef_CLOSE(tmp);
  |  |10595|   385k|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |10596|   385k|                }
  |  |10597|  4.69M|            }
  |  |10598|       |            // _POP_JUMP_IF_TRUE
  |  |10599|  4.69M|            {
  |  |10600|  4.69M|                cond = b;
  |  |10601|  4.69M|                assert(PyStackRef_BoolCheck(cond));
  |  |10602|  4.69M|                int flag = PyStackRef_IsTrue(cond);
  |  |  ------------------
  |  |  |  |  481|  4.69M|#define PyStackRef_IsTrue(REF) ((REF).bits == (((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  4.69M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10603|  4.69M|                RECORD_BRANCH_TAKEN(this_instr[1].cache, flag);
  |  |  ------------------
  |  |  |  |  373|  4.69M|    FT_ATOMIC_STORE_UINT16_RELAXED(       \
  |  |  |  |  ------------------
  |  |  |  |  |  |  170|  4.69M|#define FT_ATOMIC_STORE_UINT16_RELAXED(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  374|  4.69M|        bitset, (FT_ATOMIC_LOAD_UINT16_RELAXED(bitset) << 1) | (flag))
  |  |  ------------------
  |  |10604|  4.69M|                JUMPBY(flag ? oparg : next_instr->op.code == NOT_TAKEN);
  |  |  ------------------
  |  |  |  |  260|  9.38M|#define JUMPBY(x)       (next_instr += (x))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (260:41): [True: 4.30M, False: 385k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10605|  4.69M|            }
  |  |10606|  4.69M|            stack_pointer += -1;
  |  |10607|  4.69M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  4.69M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10608|  4.69M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  4.69M|    { \
  |  |  |  |  201|  4.69M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  4.69M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  4.69M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  4.69M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  4.69M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  4.69M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  4.69M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  4.69M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 4.69M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  4.69M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  4.69M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  4.69M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  4.69M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  4.69M|    }
  |  |  ------------------
  |  |10609|  4.69M|        }
  |  |10610|       |
  |  |10611|  11.2M|        TARGET(POP_JUMP_IF_NOT_NONE) {
  |  |  ------------------
  |  |  |  |  132|  11.2M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10612|       |            #if _Py_TAIL_CALL_INTERP
  |  |10613|       |            int opcode = POP_JUMP_IF_NOT_NONE;
  |  |10614|       |            (void)(opcode);
  |  |10615|       |            #endif
  |  |10616|  11.2M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |10617|  11.2M|            (void)this_instr;
  |  |10618|  11.2M|            frame->instr_ptr = next_instr;
  |  |10619|  11.2M|            next_instr += 2;
  |  |10620|  11.2M|            INSTRUCTION_STATS(POP_JUMP_IF_NOT_NONE);
  |  |  ------------------
  |  |  |  |   71|  11.2M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10621|  11.2M|            _PyStackRef value;
  |  |10622|  11.2M|            _PyStackRef b;
  |  |10623|  11.2M|            _PyStackRef cond;
  |  |10624|       |            /* Skip 1 cache entry */
  |  |10625|       |            // _IS_NONE
  |  |10626|  11.2M|            {
  |  |10627|  11.2M|                value = stack_pointer[-1];
  |  |10628|  11.2M|                if (PyStackRef_IsNone(value)) {
  |  |  ------------------
  |  |  |  |  483|  11.2M|#define PyStackRef_IsNone(REF) ((REF).bits == (((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  11.2M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (483:32): [True: 2.39M, False: 8.89M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10629|  2.39M|                    b = PyStackRef_True;
  |  |  ------------------
  |  |  |  |  471|  2.39M|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  2.39M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10630|  2.39M|                }
  |  |10631|  8.89M|                else {
  |  |10632|  8.89M|                    b = PyStackRef_False;
  |  |  ------------------
  |  |  |  |  472|  8.89M|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  8.89M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10633|  8.89M|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10634|  8.89M|                    _PyStackRef tmp = value;
  |  |10635|  8.89M|                    value = b;
  |  |10636|  8.89M|                    stack_pointer[-1] = value;
  |  |10637|  8.89M|                    PyStackRef_CLOSE(tmp);
  |  |10638|  8.89M|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |10639|  8.89M|                }
  |  |10640|  11.2M|            }
  |  |10641|       |            // _POP_JUMP_IF_FALSE
  |  |10642|  11.2M|            {
  |  |10643|  11.2M|                cond = b;
  |  |10644|  11.2M|                assert(PyStackRef_BoolCheck(cond));
  |  |10645|  11.2M|                int flag = PyStackRef_IsFalse(cond);
  |  |  ------------------
  |  |  |  |  482|  11.2M|#define PyStackRef_IsFalse(REF) ((REF).bits == (((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  11.2M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10646|  11.2M|                RECORD_BRANCH_TAKEN(this_instr[1].cache, flag);
  |  |  ------------------
  |  |  |  |  373|  11.2M|    FT_ATOMIC_STORE_UINT16_RELAXED(       \
  |  |  |  |  ------------------
  |  |  |  |  |  |  170|  11.2M|#define FT_ATOMIC_STORE_UINT16_RELAXED(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  374|  11.2M|        bitset, (FT_ATOMIC_LOAD_UINT16_RELAXED(bitset) << 1) | (flag))
  |  |  ------------------
  |  |10647|  11.2M|                JUMPBY(flag ? oparg : next_instr->op.code == NOT_TAKEN);
  |  |  ------------------
  |  |  |  |  260|  22.5M|#define JUMPBY(x)       (next_instr += (x))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (260:41): [True: 8.89M, False: 2.39M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10648|  11.2M|            }
  |  |10649|  11.2M|            stack_pointer += -1;
  |  |10650|  11.2M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  11.2M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10651|  11.2M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  11.2M|    { \
  |  |  |  |  201|  11.2M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  11.2M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  11.2M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  11.2M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  11.2M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  11.2M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  11.2M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  11.2M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 11.2M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  11.2M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  11.2M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  11.2M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  11.2M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  11.2M|    }
  |  |  ------------------
  |  |10652|  11.2M|        }
  |  |10653|       |
  |  |10654|  14.3M|        TARGET(POP_JUMP_IF_TRUE) {
  |  |  ------------------
  |  |  |  |  132|  14.3M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10655|       |            #if _Py_TAIL_CALL_INTERP
  |  |10656|       |            int opcode = POP_JUMP_IF_TRUE;
  |  |10657|       |            (void)(opcode);
  |  |10658|       |            #endif
  |  |10659|  14.3M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |10660|  14.3M|            (void)this_instr;
  |  |10661|  14.3M|            frame->instr_ptr = next_instr;
  |  |10662|  14.3M|            next_instr += 2;
  |  |10663|  14.3M|            INSTRUCTION_STATS(POP_JUMP_IF_TRUE);
  |  |  ------------------
  |  |  |  |   71|  14.3M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10664|  14.3M|            _PyStackRef cond;
  |  |10665|       |            /* Skip 1 cache entry */
  |  |10666|  14.3M|            cond = stack_pointer[-1];
  |  |10667|  14.3M|            assert(PyStackRef_BoolCheck(cond));
  |  |10668|  14.3M|            int flag = PyStackRef_IsTrue(cond);
  |  |  ------------------
  |  |  |  |  481|  14.3M|#define PyStackRef_IsTrue(REF) ((REF).bits == (((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  14.3M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10669|  14.3M|            RECORD_BRANCH_TAKEN(this_instr[1].cache, flag);
  |  |  ------------------
  |  |  |  |  373|  14.3M|    FT_ATOMIC_STORE_UINT16_RELAXED(       \
  |  |  |  |  ------------------
  |  |  |  |  |  |  170|  14.3M|#define FT_ATOMIC_STORE_UINT16_RELAXED(value, new_value) value = new_value
  |  |  |  |  ------------------
  |  |  |  |  374|  14.3M|        bitset, (FT_ATOMIC_LOAD_UINT16_RELAXED(bitset) << 1) | (flag))
  |  |  ------------------
  |  |10670|  14.3M|            JUMPBY(flag ? oparg : next_instr->op.code == NOT_TAKEN);
  |  |  ------------------
  |  |  |  |  260|  28.7M|#define JUMPBY(x)       (next_instr += (x))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (260:41): [True: 10.0M, False: 4.34M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10671|  14.3M|            stack_pointer += -1;
  |  |10672|  14.3M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  14.3M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10673|  14.3M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  14.3M|    { \
  |  |  |  |  201|  14.3M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  14.3M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  14.3M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  14.3M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  14.3M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  14.3M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  14.3M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  14.3M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 14.3M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  14.3M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  14.3M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  14.3M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  14.3M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  14.3M|    }
  |  |  ------------------
  |  |10674|  14.3M|        }
  |  |10675|       |
  |  |10676|  31.3M|        TARGET(POP_TOP) {
  |  |  ------------------
  |  |  |  |  132|  31.3M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10677|       |            #if _Py_TAIL_CALL_INTERP
  |  |10678|       |            int opcode = POP_TOP;
  |  |10679|       |            (void)(opcode);
  |  |10680|       |            #endif
  |  |10681|  31.3M|            frame->instr_ptr = next_instr;
  |  |10682|  31.3M|            next_instr += 1;
  |  |10683|  31.3M|            INSTRUCTION_STATS(POP_TOP);
  |  |  ------------------
  |  |  |  |   71|  31.3M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10684|  31.3M|            _PyStackRef value;
  |  |10685|  31.3M|            value = stack_pointer[-1];
  |  |10686|  31.3M|            stack_pointer += -1;
  |  |10687|  31.3M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  31.3M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10688|  31.3M|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10689|  31.3M|            PyStackRef_XCLOSE(value);
  |  |10690|  31.3M|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |10691|  31.3M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  31.3M|    { \
  |  |  |  |  201|  31.3M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  31.3M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  31.3M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  31.3M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  31.3M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  31.3M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  31.3M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  31.3M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 31.3M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  31.3M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  31.3M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  31.3M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  31.3M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  31.3M|    }
  |  |  ------------------
  |  |10692|  31.3M|        }
  |  |10693|       |
  |  |10694|  31.3M|        TARGET(PUSH_EXC_INFO) {
  |  |  ------------------
  |  |  |  |  132|  1.49M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10695|       |            #if _Py_TAIL_CALL_INTERP
  |  |10696|       |            int opcode = PUSH_EXC_INFO;
  |  |10697|       |            (void)(opcode);
  |  |10698|       |            #endif
  |  |10699|  1.49M|            frame->instr_ptr = next_instr;
  |  |10700|  1.49M|            next_instr += 1;
  |  |10701|  1.49M|            INSTRUCTION_STATS(PUSH_EXC_INFO);
  |  |  ------------------
  |  |  |  |   71|  1.49M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10702|  1.49M|            _PyStackRef exc;
  |  |10703|  1.49M|            _PyStackRef prev_exc;
  |  |10704|  1.49M|            _PyStackRef new_exc;
  |  |10705|  1.49M|            exc = stack_pointer[-1];
  |  |10706|  1.49M|            _PyErr_StackItem *exc_info = tstate->exc_info;
  |  |10707|  1.49M|            if (exc_info->exc_value != NULL) {
  |  |  ------------------
  |  |  |  Branch (10707:17): [True: 22.2k, False: 1.46M]
  |  |  ------------------
  |  |10708|  22.2k|                prev_exc = PyStackRef_FromPyObjectSteal(exc_info->exc_value);
  |  |10709|  22.2k|            }
  |  |10710|  1.46M|            else {
  |  |10711|  1.46M|                prev_exc = PyStackRef_None;
  |  |  ------------------
  |  |  |  |  473|  1.46M|#define PyStackRef_None ((_PyStackRef){.bits = ((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.46M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10712|  1.46M|            }
  |  |10713|  1.49M|            assert(PyStackRef_ExceptionInstanceCheck(exc));
  |  |10714|  1.49M|            exc_info->exc_value = PyStackRef_AsPyObjectNew(exc);
  |  |  ------------------
  |  |  |  |  736|  1.49M|#define PyStackRef_AsPyObjectNew(stackref) Py_NewRef(PyStackRef_AsPyObjectBorrow(stackref))
  |  |  |  |  ------------------
  |  |  |  |  |  |  550|  1.49M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.49M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.49M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10715|  1.49M|            new_exc = exc;
  |  |10716|  1.49M|            stack_pointer[-1] = prev_exc;
  |  |10717|  1.49M|            stack_pointer[0] = new_exc;
  |  |10718|  1.49M|            stack_pointer += 1;
  |  |10719|  1.49M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.49M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10720|  1.49M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.49M|    { \
  |  |  |  |  201|  1.49M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  1.49M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  1.49M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  1.49M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  1.49M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  1.49M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  1.49M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  1.49M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 1.49M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.49M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.49M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.49M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.49M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.49M|    }
  |  |  ------------------
  |  |10721|  1.49M|        }
  |  |10722|       |
  |  |10723|  9.76M|        TARGET(PUSH_NULL) {
  |  |  ------------------
  |  |  |  |  132|  9.76M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10724|       |            #if _Py_TAIL_CALL_INTERP
  |  |10725|       |            int opcode = PUSH_NULL;
  |  |10726|       |            (void)(opcode);
  |  |10727|       |            #endif
  |  |10728|  9.76M|            frame->instr_ptr = next_instr;
  |  |10729|  9.76M|            next_instr += 1;
  |  |10730|  9.76M|            INSTRUCTION_STATS(PUSH_NULL);
  |  |  ------------------
  |  |  |  |   71|  9.76M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10731|  9.76M|            _PyStackRef res;
  |  |10732|  9.76M|            res = PyStackRef_NULL;
  |  |10733|  9.76M|            stack_pointer[0] = res;
  |  |10734|  9.76M|            stack_pointer += 1;
  |  |10735|  9.76M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  9.76M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10736|  9.76M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  9.76M|    { \
  |  |  |  |  201|  9.76M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  9.76M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  9.76M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  9.76M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  9.76M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  9.76M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  9.76M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  9.76M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 9.76M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  9.76M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  9.76M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  9.76M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  9.76M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  9.76M|    }
  |  |  ------------------
  |  |10737|  9.76M|        }
  |  |10738|       |
  |  |10739|  9.76M|        TARGET(RAISE_VARARGS) {
  |  |  ------------------
  |  |  |  |  132|  10.9k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10740|       |            #if _Py_TAIL_CALL_INTERP
  |  |10741|       |            int opcode = RAISE_VARARGS;
  |  |10742|       |            (void)(opcode);
  |  |10743|       |            #endif
  |  |10744|  10.9k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |10745|  10.9k|            (void)this_instr;
  |  |10746|  10.9k|            frame->instr_ptr = next_instr;
  |  |10747|  10.9k|            next_instr += 1;
  |  |10748|  10.9k|            INSTRUCTION_STATS(RAISE_VARARGS);
  |  |  ------------------
  |  |  |  |   71|  10.9k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10749|  10.9k|            _PyStackRef *args;
  |  |10750|  10.9k|            args = &stack_pointer[-oparg];
  |  |10751|  10.9k|            assert(oparg < 3);
  |  |10752|  10.9k|            PyObject *cause = oparg == 2 ? PyStackRef_AsPyObjectSteal(args[1]) : NULL;
  |  |  ------------------
  |  |  |  Branch (10752:31): [True: 64, False: 10.8k]
  |  |  ------------------
  |  |10753|  10.9k|            PyObject *exc = oparg > 0 ? PyStackRef_AsPyObjectSteal(args[0]) : NULL;
  |  |  ------------------
  |  |  |  Branch (10753:29): [True: 7.48k, False: 3.44k]
  |  |  ------------------
  |  |10754|  10.9k|            stack_pointer += -oparg;
  |  |10755|  10.9k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  10.9k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10756|  10.9k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10757|  10.9k|            int err = do_raise(tstate, exc, cause);
  |  |10758|  10.9k|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |10759|  10.9k|            if (err) {
  |  |  ------------------
  |  |  |  Branch (10759:17): [True: 3.44k, False: 7.48k]
  |  |  ------------------
  |  |10760|  3.44k|                assert(oparg == 0);
  |  |10761|  3.44k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10762|  3.44k|                monitor_reraise(tstate, frame, this_instr);
  |  |10763|  3.44k|                JUMP_TO_LABEL(exception_unwind);
  |  |  ------------------
  |  |  |  |  135|  3.44k|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10764|      0|            }
  |  |10765|  7.48k|            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|  7.48k|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10766|      0|        }
  |  |10767|       |
  |  |10768|   513k|        TARGET(RERAISE) {
  |  |  ------------------
  |  |  |  |  132|   513k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10769|       |            #if _Py_TAIL_CALL_INTERP
  |  |10770|       |            int opcode = RERAISE;
  |  |10771|       |            (void)(opcode);
  |  |10772|       |            #endif
  |  |10773|   513k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |10774|   513k|            (void)this_instr;
  |  |10775|   513k|            frame->instr_ptr = next_instr;
  |  |10776|   513k|            next_instr += 1;
  |  |10777|   513k|            INSTRUCTION_STATS(RERAISE);
  |  |  ------------------
  |  |  |  |   71|   513k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10778|   513k|            _PyStackRef *values;
  |  |10779|   513k|            _PyStackRef exc_st;
  |  |10780|   513k|            exc_st = stack_pointer[-1];
  |  |10781|   513k|            values = &stack_pointer[-1 - oparg];
  |  |10782|   513k|            PyObject *exc = PyStackRef_AsPyObjectSteal(exc_st);
  |  |10783|   513k|            assert(oparg >= 0 && oparg <= 2);
  |  |10784|   513k|            if (oparg) {
  |  |  ------------------
  |  |  |  Branch (10784:17): [True: 477k, False: 36.1k]
  |  |  ------------------
  |  |10785|   477k|                frame->instr_ptr = _PyFrame_GetBytecode(frame) + PyStackRef_UntagInt(values[0]);
  |  |10786|   477k|            }
  |  |10787|   513k|            assert(exc && PyExceptionInstance_Check(exc));
  |  |10788|   513k|            stack_pointer += -1;
  |  |10789|   513k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   513k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |10790|   513k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10791|   513k|            _PyErr_SetRaisedException(tstate, exc);
  |  |10792|   513k|            monitor_reraise(tstate, frame, this_instr);
  |  |10793|   513k|            JUMP_TO_LABEL(exception_unwind);
  |  |  ------------------
  |  |  |  |  135|   513k|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10794|      0|        }
  |  |10795|       |
  |  |10796|      0|        TARGET(RESERVED) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10797|       |            #if _Py_TAIL_CALL_INTERP
  |  |10798|       |            int opcode = RESERVED;
  |  |10799|       |            (void)(opcode);
  |  |10800|       |            #endif
  |  |10801|      0|            frame->instr_ptr = next_instr;
  |  |10802|      0|            next_instr += 1;
  |  |10803|      0|            INSTRUCTION_STATS(RESERVED);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10804|      0|            assert(0 && "Executing RESERVED instruction.");
  |  |10805|      0|            Py_FatalError("Executing RESERVED instruction.");
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  |  |10806|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      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|    }
  |  |  ------------------
  |  |10807|      0|        }
  |  |10808|       |
  |  |10809|  10.3k|        TARGET(RESUME) {
  |  |  ------------------
  |  |  |  |  132|  10.3k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10810|       |            #if _Py_TAIL_CALL_INTERP
  |  |10811|       |            int opcode = RESUME;
  |  |10812|       |            (void)(opcode);
  |  |10813|       |            #endif
  |  |10814|  10.3k|            frame->instr_ptr = next_instr;
  |  |10815|  10.3k|            next_instr += 2;
  |  |10816|  10.3k|            INSTRUCTION_STATS(RESUME);
  |  |  ------------------
  |  |  |  |   71|  10.3k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10817|  11.1k|            PREDICTED_RESUME:;
  |  |10818|  11.1k|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  |10819|  11.1k|            (void)this_instr;
  |  |10820|       |            // _LOAD_BYTECODE
  |  |10821|  11.1k|            {
  |  |10822|       |                #ifdef Py_GIL_DISABLED
  |  |10823|       |                if (frame->tlbc_index !=
  |  |10824|       |                    ((_PyThreadStateImpl *)tstate)->tlbc_index) {
  |  |10825|       |                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10826|       |                    _Py_CODEUNIT *bytecode =
  |  |10827|       |                    _PyEval_GetExecutableCode(tstate, _PyFrame_GetCode(frame));
  |  |10828|       |                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |10829|       |                    if (bytecode == NULL) {
  |  |10830|       |                        JUMP_TO_LABEL(error);
  |  |10831|       |                    }
  |  |10832|       |                    ptrdiff_t off = this_instr - _PyFrame_GetBytecode(frame);
  |  |10833|       |                    frame->tlbc_index = ((_PyThreadStateImpl *)tstate)->tlbc_index;
  |  |10834|       |                    frame->instr_ptr = bytecode + off;
  |  |10835|       |                    next_instr = frame->instr_ptr;
  |  |10836|       |                    DISPATCH();
  |  |10837|       |                }
  |  |10838|       |                #endif
  |  |10839|  11.1k|            }
  |  |10840|       |            // _MAYBE_INSTRUMENT
  |  |10841|  11.1k|            {
  |  |10842|       |                #ifdef Py_GIL_DISABLED
  |  |10843|       |
  |  |10844|       |                int check_instrumentation = 1;
  |  |10845|       |                #else
  |  |10846|  11.1k|                int check_instrumentation = (tstate->tracing == 0);
  |  |10847|  11.1k|                #endif
  |  |10848|  11.1k|                if (check_instrumentation) {
  |  |  ------------------
  |  |  |  Branch (10848:21): [True: 11.1k, False: 0]
  |  |  ------------------
  |  |10849|  11.1k|                    uintptr_t global_version = _Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker) & ~_PY_EVAL_EVENTS_MASK;
  |  |  ------------------
  |  |  |  |  357|  11.1k|#define _PY_EVAL_EVENTS_MASK ((1 << _PY_EVAL_EVENTS_BITS)-1)
  |  |  |  |  ------------------
  |  |  |  |  |  |  356|  11.1k|#define _PY_EVAL_EVENTS_BITS 8
  |  |  |  |  ------------------
  |  |  ------------------
  |  |10850|  11.1k|                    uintptr_t code_version = FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(_PyFrame_GetCode(frame)->_co_instrumentation_version);
  |  |  ------------------
  |  |  |  |  151|  11.1k|#define FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(value) value
  |  |  ------------------
  |  |10851|  11.1k|                    if (code_version != global_version) {
  |  |  ------------------
  |  |  |  Branch (10851:25): [True: 0, False: 11.1k]
  |  |  ------------------
  |  |10852|      0|                        _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10853|      0|                        int err = _Py_Instrument(_PyFrame_GetCode(frame), tstate->interp);
  |  |10854|      0|                        stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |10855|      0|                        if (err) {
  |  |  ------------------
  |  |  |  Branch (10855:29): [True: 0, False: 0]
  |  |  ------------------
  |  |10856|      0|                            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10857|      0|                        }
  |  |10858|      0|                        next_instr = this_instr;
  |  |10859|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      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|    }
  |  |  ------------------
  |  |10860|      0|                    }
  |  |10861|  11.1k|                }
  |  |10862|  11.1k|            }
  |  |10863|       |            // _QUICKEN_RESUME
  |  |10864|  11.1k|            {
  |  |10865|  11.1k|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |10866|  11.1k|                (void)counter;
  |  |10867|  11.1k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10868|  11.1k|                _Py_Specialize_Resume(this_instr, tstate, frame);
  |  |10869|  11.1k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |10870|  11.1k|            }
  |  |10871|       |            // _CHECK_PERIODIC_IF_NOT_YIELD_FROM
  |  |10872|  11.1k|            {
  |  |10873|  11.1k|                if ((oparg & RESUME_OPARG_LOCATION_MASK) < RESUME_AFTER_YIELD_FROM) {
  |  |  ------------------
  |  |  |  |   92|  11.1k|#define RESUME_OPARG_LOCATION_MASK 0x7
  |  |  ------------------
  |  |                               if ((oparg & RESUME_OPARG_LOCATION_MASK) < RESUME_AFTER_YIELD_FROM) {
  |  |  ------------------
  |  |  |  |   88|  11.1k|#define RESUME_AFTER_YIELD_FROM 2
  |  |  ------------------
  |  |  |  Branch (10873:21): [True: 10.9k, False: 179]
  |  |  ------------------
  |  |10874|  10.9k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |10875|  10.9k|                    int err = check_periodics(tstate);
  |  |10876|  10.9k|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |10877|  10.9k|                    if (err != 0) {
  |  |  ------------------
  |  |  |  Branch (10877:25): [True: 0, False: 10.9k]
  |  |  ------------------
  |  |10878|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |10879|      0|                    }
  |  |10880|  10.9k|                }
  |  |10881|  11.1k|            }
  |  |10882|  11.1k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  11.1k|    { \
  |  |  |  |  201|  11.1k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  11.1k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  11.1k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  11.1k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  11.1k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  11.1k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  11.1k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  11.1k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 11.1k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  11.1k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  11.1k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  11.1k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  11.1k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  11.1k|    }
  |  |  ------------------
  |  |10883|  11.1k|        }
  |  |10884|       |
  |  |10885|  69.8M|        TARGET(RESUME_CHECK) {
  |  |  ------------------
  |  |  |  |  132|  69.8M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10886|       |            #if _Py_TAIL_CALL_INTERP
  |  |10887|       |            int opcode = RESUME_CHECK;
  |  |10888|       |            (void)(opcode);
  |  |10889|       |            #endif
  |  |10890|  69.8M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |10891|  69.8M|            (void)this_instr;
  |  |10892|  69.8M|            frame->instr_ptr = next_instr;
  |  |10893|  69.8M|            next_instr += 2;
  |  |10894|  69.8M|            INSTRUCTION_STATS(RESUME_CHECK);
  |  |  ------------------
  |  |  |  |   71|  69.8M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10895|  69.8M|            static_assert(1 == 1, "incorrect cache size");
  |  |10896|       |            /* Skip 1 cache entry */
  |  |10897|       |            #if defined(__EMSCRIPTEN__)
  |  |10898|       |            if (_Py_emscripten_signal_clock == 0) {
  |  |10899|       |                UPDATE_MISS_STATS(RESUME);
  |  |10900|       |                assert(_PyOpcode_Deopt[opcode] == (RESUME));
  |  |10901|       |                JUMP_TO_PREDICTED(RESUME);
  |  |10902|       |            }
  |  |10903|       |            _Py_emscripten_signal_clock -= Py_EMSCRIPTEN_SIGNAL_HANDLING;
  |  |10904|       |            #endif
  |  |10905|  69.8M|            uintptr_t eval_breaker = _Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker);
  |  |10906|  69.8M|            uintptr_t version = FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(_PyFrame_GetCode(frame)->_co_instrumentation_version);
  |  |  ------------------
  |  |  |  |  151|  69.8M|#define FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(value) value
  |  |  ------------------
  |  |10907|  69.8M|            assert((version & _PY_EVAL_EVENTS_MASK) == 0);
  |  |10908|  69.8M|            if (eval_breaker != version) {
  |  |  ------------------
  |  |  |  Branch (10908:17): [True: 770, False: 69.8M]
  |  |  ------------------
  |  |10909|    770|                UPDATE_MISS_STATS(RESUME);
  |  |  ------------------
  |  |  |  |  298|    770|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10910|    770|                assert(_PyOpcode_Deopt[opcode] == (RESUME));
  |  |10911|    770|                JUMP_TO_PREDICTED(RESUME);
  |  |  ------------------
  |  |  |  |  136|    770|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10912|      0|            }
  |  |10913|       |            #ifdef Py_GIL_DISABLED
  |  |10914|       |            if (frame->tlbc_index !=
  |  |10915|       |                ((_PyThreadStateImpl *)tstate)->tlbc_index) {
  |  |10916|       |                UPDATE_MISS_STATS(RESUME);
  |  |10917|       |                assert(_PyOpcode_Deopt[opcode] == (RESUME));
  |  |10918|       |                JUMP_TO_PREDICTED(RESUME);
  |  |10919|       |            }
  |  |10920|       |            #endif
  |  |10921|  69.8M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  69.8M|    { \
  |  |  |  |  201|  69.8M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  69.8M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  69.8M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  69.8M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  69.8M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  69.8M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  69.8M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  69.8M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 69.8M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  69.8M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  69.8M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  69.8M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  69.8M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  69.8M|    }
  |  |  ------------------
  |  |10922|  69.8M|        }
  |  |10923|       |
  |  |10924|      0|        TARGET(RESUME_CHECK_JIT) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10925|       |            #if _Py_TAIL_CALL_INTERP
  |  |10926|       |            int opcode = RESUME_CHECK_JIT;
  |  |10927|       |            (void)(opcode);
  |  |10928|       |            #endif
  |  |10929|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |10930|      0|            (void)this_instr;
  |  |10931|      0|            frame->instr_ptr = next_instr;
  |  |10932|      0|            next_instr += 2;
  |  |10933|      0|            INSTRUCTION_STATS(RESUME_CHECK_JIT);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |10934|      0|            static_assert(1 == 1, "incorrect cache size");
  |  |10935|       |            /* Skip 1 cache entry */
  |  |10936|       |            // _RESUME_CHECK
  |  |10937|      0|            {
  |  |10938|       |                #if defined(__EMSCRIPTEN__)
  |  |10939|       |                if (_Py_emscripten_signal_clock == 0) {
  |  |10940|       |                    UPDATE_MISS_STATS(RESUME);
  |  |10941|       |                    assert(_PyOpcode_Deopt[opcode] == (RESUME));
  |  |10942|       |                    JUMP_TO_PREDICTED(RESUME);
  |  |10943|       |                }
  |  |10944|       |                _Py_emscripten_signal_clock -= Py_EMSCRIPTEN_SIGNAL_HANDLING;
  |  |10945|       |                #endif
  |  |10946|      0|                uintptr_t eval_breaker = _Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker);
  |  |10947|      0|                uintptr_t version = FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(_PyFrame_GetCode(frame)->_co_instrumentation_version);
  |  |  ------------------
  |  |  |  |  151|      0|#define FT_ATOMIC_LOAD_UINTPTR_ACQUIRE(value) value
  |  |  ------------------
  |  |10948|      0|                assert((version & _PY_EVAL_EVENTS_MASK) == 0);
  |  |10949|      0|                if (eval_breaker != version) {
  |  |  ------------------
  |  |  |  Branch (10949:21): [True: 0, False: 0]
  |  |  ------------------
  |  |10950|      0|                    UPDATE_MISS_STATS(RESUME);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |10951|      0|                    assert(_PyOpcode_Deopt[opcode] == (RESUME));
  |  |10952|      0|                    JUMP_TO_PREDICTED(RESUME);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |10953|      0|                }
  |  |10954|       |                #ifdef Py_GIL_DISABLED
  |  |10955|       |                if (frame->tlbc_index !=
  |  |10956|       |                    ((_PyThreadStateImpl *)tstate)->tlbc_index) {
  |  |10957|       |                    UPDATE_MISS_STATS(RESUME);
  |  |10958|       |                    assert(_PyOpcode_Deopt[opcode] == (RESUME));
  |  |10959|       |                    JUMP_TO_PREDICTED(RESUME);
  |  |10960|       |                }
  |  |10961|       |                #endif
  |  |10962|      0|            }
  |  |10963|       |            // _JIT
  |  |10964|      0|            {
  |  |10965|       |                #ifdef _Py_TIER2
  |  |10966|       |                bool is_resume = this_instr->op.code == RESUME_CHECK_JIT;
  |  |10967|       |                _Py_BackoffCounter counter = this_instr[1].counter;
  |  |10968|       |                if ((backoff_counter_triggers(counter) &&
  |  |10969|       |                        !IS_JIT_TRACING() &&
  |  |10970|       |                        (this_instr->op.code == JUMP_BACKWARD_JIT || is_resume)) &&
  |  |10971|       |                    next_instr->op.code != ENTER_EXECUTOR) {
  |  |10972|       |                    _Py_CODEUNIT *insert_exec_at = this_instr;
  |  |10973|       |                    while (oparg > 255) {
  |  |10974|       |                        oparg >>= 8;
  |  |10975|       |                        insert_exec_at--;
  |  |10976|       |                    }
  |  |10977|       |                    int succ = _PyJit_TryInitializeTracing(tstate, frame, this_instr, insert_exec_at,
  |  |10978|       |                        is_resume ? insert_exec_at : next_instr, stack_pointer, 0, NULL, oparg, NULL);
  |  |10979|       |                    if (succ) {
  |  |10980|       |                        ENTER_TRACING();
  |  |10981|       |                    }
  |  |10982|       |                    else {
  |  |10983|       |                        this_instr[1].counter = restart_backoff_counter(counter);
  |  |10984|       |                    }
  |  |10985|       |                }
  |  |10986|       |                else {
  |  |10987|       |                    ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |10988|       |                }
  |  |10989|       |                #endif
  |  |10990|      0|            }
  |  |10991|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      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|    }
  |  |  ------------------
  |  |10992|      0|        }
  |  |10993|       |
  |  |10994|  2.18M|        TARGET(RETURN_GENERATOR) {
  |  |  ------------------
  |  |  |  |  132|  2.18M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |10995|       |            #if _Py_TAIL_CALL_INTERP
  |  |10996|       |            int opcode = RETURN_GENERATOR;
  |  |10997|       |            (void)(opcode);
  |  |10998|       |            #endif
  |  |10999|  2.18M|            frame->instr_ptr = next_instr;
  |  |11000|  2.18M|            next_instr += 1;
  |  |11001|  2.18M|            INSTRUCTION_STATS(RETURN_GENERATOR);
  |  |  ------------------
  |  |  |  |   71|  2.18M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11002|  2.18M|            _PyStackRef res;
  |  |11003|  2.18M|            assert(PyStackRef_FunctionCheck(frame->f_funcobj));
  |  |11004|  2.18M|            PyFunctionObject *func = (PyFunctionObject *)PyStackRef_AsPyObjectBorrow(frame->f_funcobj);
  |  |11005|  2.18M|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11006|  2.18M|            PyGenObject *gen = (PyGenObject *)_Py_MakeCoro(func);
  |  |11007|  2.18M|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11008|  2.18M|            if (gen == NULL) {
  |  |  ------------------
  |  |  |  Branch (11008:17): [True: 0, False: 2.18M]
  |  |  ------------------
  |  |11009|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11010|      0|            }
  |  |11011|  2.18M|            assert(STACK_LEVEL() <= 2);
  |  |11012|  2.18M|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11013|  2.18M|            _PyInterpreterFrame *gen_frame = &gen->gi_iframe;
  |  |11014|  2.18M|            frame->instr_ptr++;
  |  |11015|  2.18M|            _PyFrame_Copy(frame, gen_frame);
  |  |11016|  2.18M|            assert(frame->frame_obj == NULL);
  |  |11017|  2.18M|            gen->gi_frame_state = FRAME_CREATED;
  |  |11018|  2.18M|            gen_frame->owner = FRAME_OWNED_BY_GENERATOR;
  |  |11019|  2.18M|            _Py_LeaveRecursiveCallPy(tstate);
  |  |11020|  2.18M|            _PyInterpreterFrame *prev = frame->previous;
  |  |11021|  2.18M|            _PyThreadState_PopFrame(tstate, frame);
  |  |11022|  2.18M|            frame = tstate->current_frame = prev;
  |  |11023|  2.18M|            LOAD_IP(frame->return_offset);
  |  |  ------------------
  |  |  |  |  419|  2.18M|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  420|  2.18M|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  421|  2.18M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (421:14): [Folded, False: 2.18M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11024|  2.18M|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11025|  2.18M|            res = PyStackRef_FromPyObjectStealMortal((PyObject *)gen);
  |  |11026|  2.18M|            LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  2.18M|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  |11027|  2.18M|            stack_pointer[0] = res;
  |  |11028|  2.18M|            stack_pointer += 1;
  |  |11029|  2.18M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.18M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11030|  2.18M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.18M|    { \
  |  |  |  |  201|  2.18M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  2.18M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  2.18M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  2.18M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  2.18M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  2.18M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  2.18M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  2.18M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 2.18M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.18M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.18M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.18M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.18M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.18M|    }
  |  |  ------------------
  |  |11031|  2.18M|        }
  |  |11032|       |
  |  |11033|  61.3M|        TARGET(RETURN_VALUE) {
  |  |  ------------------
  |  |  |  |  132|  61.3M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11034|       |            #if _Py_TAIL_CALL_INTERP
  |  |11035|       |            int opcode = RETURN_VALUE;
  |  |11036|       |            (void)(opcode);
  |  |11037|       |            #endif
  |  |11038|  61.3M|            frame->instr_ptr = next_instr;
  |  |11039|  61.3M|            next_instr += 1;
  |  |11040|  61.3M|            INSTRUCTION_STATS(RETURN_VALUE);
  |  |  ------------------
  |  |  |  |   71|  61.3M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11041|  61.3M|            _PyStackRef value;
  |  |11042|  61.3M|            _PyStackRef retval;
  |  |11043|  61.3M|            _PyStackRef res;
  |  |11044|       |            // _MAKE_HEAP_SAFE
  |  |11045|  61.3M|            {
  |  |11046|  61.3M|                value = stack_pointer[-1];
  |  |11047|  61.3M|                value = PyStackRef_MakeHeapSafe(value);
  |  |11048|  61.3M|            }
  |  |11049|       |            // _RETURN_VALUE
  |  |11050|  61.3M|            {
  |  |11051|  61.3M|                retval = value;
  |  |11052|  61.3M|                assert(frame->owner != FRAME_OWNED_BY_INTERPRETER);
  |  |11053|  61.3M|                _PyStackRef temp = retval;
  |  |11054|  61.3M|                stack_pointer += -1;
  |  |11055|  61.3M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  61.3M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11056|  61.3M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11057|  61.3M|                assert(STACK_LEVEL() == 0);
  |  |11058|  61.3M|                DTRACE_FUNCTION_RETURN();
  |  |  ------------------
  |  |  |  |  346|  61.3M|#define DTRACE_FUNCTION_RETURN() ((void)0)
  |  |  ------------------
  |  |11059|  61.3M|                _Py_LeaveRecursiveCallPy(tstate);
  |  |11060|  61.3M|                _PyInterpreterFrame *dying = frame;
  |  |11061|  61.3M|                frame = tstate->current_frame = dying->previous;
  |  |11062|  61.3M|                _PyEval_FrameClearAndPop(tstate, dying);
  |  |11063|  61.3M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11064|  61.3M|                LOAD_IP(frame->return_offset);
  |  |  ------------------
  |  |  |  |  419|  61.3M|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  420|  61.3M|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  421|  61.3M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (421:14): [Folded, False: 61.3M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11065|  61.3M|                res = temp;
  |  |11066|  61.3M|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  61.3M|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  |11067|  61.3M|            }
  |  |11068|  61.3M|            stack_pointer[0] = res;
  |  |11069|  61.3M|            stack_pointer += 1;
  |  |11070|  61.3M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  61.3M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11071|  61.3M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  61.3M|    { \
  |  |  |  |  201|  61.3M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  61.3M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  61.3M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  61.3M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  61.3M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  61.3M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  61.3M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  61.3M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 61.3M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  61.3M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  61.3M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  61.3M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  61.3M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  61.3M|    }
  |  |  ------------------
  |  |11072|  61.3M|        }
  |  |11073|       |
  |  |11074|  61.3M|        TARGET(SEND) {
  |  |  ------------------
  |  |  |  |  132|     14|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11075|       |            #if _Py_TAIL_CALL_INTERP
  |  |11076|       |            int opcode = SEND;
  |  |11077|       |            (void)(opcode);
  |  |11078|       |            #endif
  |  |11079|     14|            frame->instr_ptr = next_instr;
  |  |11080|     14|            next_instr += 2;
  |  |11081|     14|            INSTRUCTION_STATS(SEND);
  |  |  ------------------
  |  |  |  |   71|     14|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11082|     14|            PREDICTED_SEND:;
  |  |11083|     14|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  |11084|     14|            (void)this_instr;
  |  |11085|     14|            _PyStackRef receiver;
  |  |11086|     14|            _PyStackRef null_or_index;
  |  |11087|     14|            _PyStackRef v;
  |  |11088|     14|            _PyStackRef retval;
  |  |11089|       |            // _SPECIALIZE_SEND
  |  |11090|     14|            {
  |  |11091|     14|                receiver = stack_pointer[-3];
  |  |11092|     14|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |11093|     14|                (void)counter;
  |  |11094|     14|                #if ENABLE_SPECIALIZATION
  |  |11095|     14|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  354|     14|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (354:5): [True: 6, False: 8]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11096|      6|                    next_instr = this_instr;
  |  |11097|      6|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11098|      6|                    _Py_Specialize_Send(receiver, next_instr);
  |  |11099|      6|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11100|      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|    }
  |  |  ------------------
  |  |11101|      6|                }
  |  |11102|     14|                OPCODE_DEFERRED_INC(SEND);
  |  |  ------------------
  |  |  |  |   90|     14|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |11103|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11104|     14|                #endif  /* ENABLE_SPECIALIZATION */
  |  |11105|     14|            }
  |  |11106|       |            // _SEND
  |  |11107|     14|            {
  |  |11108|     14|                v = stack_pointer[-1];
  |  |11109|     14|                null_or_index = stack_pointer[-2];
  |  |11110|     14|                PyObject *receiver_o = PyStackRef_AsPyObjectBorrow(receiver);
  |  |11111|     14|                assert(frame->owner != FRAME_OWNED_BY_INTERPRETER);
  |  |11112|     14|                if (!IS_PEP523_HOOKED(tstate) &&
  |  |  ------------------
  |  |  |  |  517|     28|#define IS_PEP523_HOOKED(tstate) (tstate->interp->eval_frame != NULL)
  |  |  ------------------
  |  |  |  Branch (11112:21): [True: 8, False: 6]
  |  |  ------------------
  |  |11113|      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 (11113:22): [True: 2, False: 6]
  |  |  |  Branch (11113:60): [True: 0, False: 6]
  |  |  ------------------
  |  |11114|      2|                    gen_try_set_executing((PyGenObject *)receiver_o))
  |  |  ------------------
  |  |  |  Branch (11114:21): [True: 2, False: 0]
  |  |  ------------------
  |  |11115|      2|                {
  |  |11116|      2|                    PyGenObject *gen = (PyGenObject *)receiver_o;
  |  |11117|      2|                    _PyInterpreterFrame *gen_frame = &gen->gi_iframe;
  |  |11118|      2|                    _PyFrame_StackPush(gen_frame, PyStackRef_MakeHeapSafe(v));
  |  |11119|      2|                    stack_pointer += -1;
  |  |11120|      2|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      2|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11121|      2|                    gen->gi_exc_state.previous_item = tstate->exc_info;
  |  |11122|      2|                    tstate->exc_info = &gen->gi_exc_state;
  |  |11123|      2|                    assert( 2u + oparg <= UINT16_MAX);
  |  |11124|      2|                    frame->return_offset = (uint16_t)( 2u + oparg);
  |  |11125|      2|                    assert(gen_frame->previous == NULL);
  |  |11126|      2|                    gen_frame->previous = frame;
  |  |11127|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11128|      2|                }
  |  |11129|     12|                if (!PyStackRef_IsNull(null_or_index) && PyStackRef_IsNone(v)) {
  |  |  ------------------
  |  |  |  |  470|     24|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|     12|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|     12|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               if (!PyStackRef_IsNull(null_or_index) && PyStackRef_IsNone(v)) {
  |  |  ------------------
  |  |  |  |  483|      6|#define PyStackRef_IsNone(REF) ((REF).bits == (((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|      6|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (483:32): [True: 6, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (11129:21): [True: 6, False: 6]
  |  |  ------------------
  |  |11130|      6|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11131|      6|                    _PyStackRef item = _PyForIter_VirtualIteratorNext(tstate, frame, receiver, &null_or_index);
  |  |11132|      6|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11133|      6|                    if (!PyStackRef_IsValid(item)) {
  |  |  ------------------
  |  |  |  Branch (11133:25): [True: 2, False: 4]
  |  |  ------------------
  |  |11134|      2|                        if (PyStackRef_IsError(item)) {
  |  |  ------------------
  |  |  |  Branch (11134:29): [True: 0, False: 2]
  |  |  ------------------
  |  |11135|      0|                            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11136|      0|                        }
  |  |11137|      2|                        JUMPBY(oparg);
  |  |  ------------------
  |  |  |  |  260|      2|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  |11138|      2|                        stack_pointer[-2] = null_or_index;
  |  |11139|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      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|    }
  |  |  ------------------
  |  |11140|      2|                    }
  |  |11141|      6|                    retval = item;
  |  |11142|      6|                }
  |  |11143|      6|                else {
  |  |11144|      6|                    PyObject *v_o = PyStackRef_AsPyObjectBorrow(v);
  |  |11145|      6|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11146|      6|                    PySendResultPair res = _PyIter_Send(receiver_o, v_o);
  |  |11147|      6|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11148|      6|                    if (res.kind == PYGEN_ERROR) {
  |  |  ------------------
  |  |  |  Branch (11148:25): [True: 0, False: 6]
  |  |  ------------------
  |  |11149|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11150|      0|                    }
  |  |11151|      6|                    stack_pointer += -1;
  |  |11152|      6|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      6|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11153|      6|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11154|      6|                    PyStackRef_CLOSE(v);
  |  |11155|      6|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11156|      6|                    retval = PyStackRef_FromPyObjectSteal(res.object);
  |  |11157|      6|                    if (res.kind == PYGEN_RETURN) {
  |  |  ------------------
  |  |  |  Branch (11157:25): [True: 0, False: 6]
  |  |  ------------------
  |  |11158|      0|                        JUMPBY(oparg);
  |  |  ------------------
  |  |  |  |  260|      0|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  |11159|      0|                    }
  |  |11160|      6|                    stack_pointer += 1;
  |  |11161|      6|                }
  |  |11162|     12|            }
  |  |11163|     12|            stack_pointer[-2] = null_or_index;
  |  |11164|     12|            stack_pointer[-1] = retval;
  |  |11165|     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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|     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|    }
  |  |  ------------------
  |  |11166|     12|        }
  |  |11167|       |
  |  |11168|      0|        TARGET(SEND_ASYNC_GEN) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11169|       |            #if _Py_TAIL_CALL_INTERP
  |  |11170|       |            int opcode = SEND_ASYNC_GEN;
  |  |11171|       |            (void)(opcode);
  |  |11172|       |            #endif
  |  |11173|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11174|      0|            (void)this_instr;
  |  |11175|      0|            frame->instr_ptr = next_instr;
  |  |11176|      0|            next_instr += 2;
  |  |11177|      0|            INSTRUCTION_STATS(SEND_ASYNC_GEN);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11178|      0|            static_assert(INLINE_CACHE_ENTRIES_SEND == 1, "incorrect cache size");
  |  |11179|      0|            _PyStackRef iter;
  |  |11180|      0|            _PyStackRef null_in;
  |  |11181|      0|            _PyStackRef v;
  |  |11182|      0|            _PyStackRef asend;
  |  |11183|      0|            _PyStackRef null_out;
  |  |11184|      0|            _PyStackRef retval;
  |  |11185|       |            /* Skip 1 cache entry */
  |  |11186|       |            // _GUARD_3OS_ASYNC_GEN_ASEND
  |  |11187|      0|            {
  |  |11188|      0|                iter = stack_pointer[-3];
  |  |11189|      0|                PyObject *iter_o = PyStackRef_AsPyObjectBorrow(iter);
  |  |11190|      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 (11190:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11191|      0|                    UPDATE_MISS_STATS(SEND);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11192|      0|                    assert(_PyOpcode_Deopt[opcode] == (SEND));
  |  |11193|      0|                    JUMP_TO_PREDICTED(SEND);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11194|      0|                }
  |  |11195|      0|            }
  |  |11196|       |            // _SEND_ASYNC_GEN
  |  |11197|      0|            {
  |  |11198|      0|                v = stack_pointer[-1];
  |  |11199|      0|                null_in = stack_pointer[-2];
  |  |11200|      0|                PyObject *iter_o = PyStackRef_AsPyObjectBorrow(iter);
  |  |11201|      0|                assert(PyAsyncGenASend_CheckExact(iter_o));
  |  |11202|      0|                PyObject *val = PyStackRef_AsPyObjectBorrow(v);
  |  |11203|      0|                PyObject *retval_o;
  |  |11204|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11205|      0|                PySendResult what = _PyAsyncGenASend_Send(iter_o, val, &retval_o);
  |  |11206|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11207|      0|                if (what == PYGEN_ERROR) {
  |  |  ------------------
  |  |  |  Branch (11207:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11208|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11209|      0|                }
  |  |11210|      0|                stack_pointer += -1;
  |  |11211|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11212|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11213|      0|                PyStackRef_CLOSE(v);
  |  |11214|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11215|      0|                asend = iter;
  |  |11216|      0|                null_out = null_in;
  |  |11217|      0|                retval = PyStackRef_FromPyObjectSteal(retval_o);
  |  |11218|      0|                if (what == PYGEN_RETURN) {
  |  |  ------------------
  |  |  |  Branch (11218:21): [True: 0, False: 0]
  |  |  ------------------
  |  |11219|      0|                    JUMPBY(oparg);
  |  |  ------------------
  |  |  |  |  260|      0|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  |11220|      0|                }
  |  |11221|      0|            }
  |  |11222|      0|            stack_pointer[-2] = asend;
  |  |11223|      0|            stack_pointer[-1] = null_out;
  |  |11224|      0|            stack_pointer[0] = retval;
  |  |11225|      0|            stack_pointer += 1;
  |  |11226|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11227|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      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|    }
  |  |  ------------------
  |  |11228|      0|        }
  |  |11229|       |
  |  |11230|     28|        TARGET(SEND_GEN) {
  |  |  ------------------
  |  |  |  |  132|     28|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11231|       |            #if _Py_TAIL_CALL_INTERP
  |  |11232|       |            int opcode = SEND_GEN;
  |  |11233|       |            (void)(opcode);
  |  |11234|       |            #endif
  |  |11235|     28|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11236|     28|            (void)this_instr;
  |  |11237|     28|            frame->instr_ptr = next_instr;
  |  |11238|     28|            next_instr += 2;
  |  |11239|     28|            INSTRUCTION_STATS(SEND_GEN);
  |  |  ------------------
  |  |  |  |   71|     28|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11240|     28|            static_assert(INLINE_CACHE_ENTRIES_SEND == 1, "incorrect cache size");
  |  |11241|     28|            _PyStackRef receiver;
  |  |11242|     28|            _PyStackRef v;
  |  |11243|     28|            _PyStackRef gen_frame;
  |  |11244|     28|            _PyStackRef new_frame;
  |  |11245|       |            /* Skip 1 cache entry */
  |  |11246|       |            // _CHECK_PEP_523
  |  |11247|     28|            {
  |  |11248|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11249|      0|                    UPDATE_MISS_STATS(SEND);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11250|      0|                    assert(_PyOpcode_Deopt[opcode] == (SEND));
  |  |11251|      0|                    JUMP_TO_PREDICTED(SEND);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11252|      0|                }
  |  |11253|     28|            }
  |  |11254|       |            // _SEND_GEN_FRAME
  |  |11255|     28|            {
  |  |11256|     28|                v = stack_pointer[-1];
  |  |11257|     28|                receiver = stack_pointer[-3];
  |  |11258|     28|                PyGenObject *gen = (PyGenObject *)PyStackRef_AsPyObjectBorrow(receiver);
  |  |11259|     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 (11259:21): [True: 0, False: 28]
  |  |  |  Branch (11259:52): [True: 0, False: 0]
  |  |  ------------------
  |  |11260|      0|                    UPDATE_MISS_STATS(SEND);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11261|      0|                    assert(_PyOpcode_Deopt[opcode] == (SEND));
  |  |11262|      0|                    JUMP_TO_PREDICTED(SEND);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11263|      0|                }
  |  |11264|     28|                if (!gen_try_set_executing((PyGenObject *)gen)) {
  |  |  ------------------
  |  |  |  Branch (11264:21): [True: 0, False: 28]
  |  |  ------------------
  |  |11265|      0|                    UPDATE_MISS_STATS(SEND);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11266|      0|                    assert(_PyOpcode_Deopt[opcode] == (SEND));
  |  |11267|      0|                    JUMP_TO_PREDICTED(SEND);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11268|      0|                }
  |  |11269|     28|                STAT_INC(SEND, hit);
  |  |  ------------------
  |  |  |  |   73|     28|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |11270|     28|                _PyInterpreterFrame *pushed_frame = &gen->gi_iframe;
  |  |11271|     28|                _PyFrame_StackPush(pushed_frame, PyStackRef_MakeHeapSafe(v));
  |  |11272|     28|                gen->gi_exc_state.previous_item = tstate->exc_info;
  |  |11273|     28|                tstate->exc_info = &gen->gi_exc_state;
  |  |11274|     28|                assert( 2u + oparg <= UINT16_MAX);
  |  |11275|     28|                frame->return_offset = (uint16_t)( 2u + oparg);
  |  |11276|     28|                pushed_frame->previous = frame;
  |  |11277|     28|                gen_frame = PyStackRef_Wrap(pushed_frame);
  |  |11278|     28|            }
  |  |11279|       |            // _PUSH_FRAME
  |  |11280|      0|            {
  |  |11281|     28|                new_frame = gen_frame;
  |  |11282|     28|                assert(!IS_PEP523_HOOKED(tstate));
  |  |11283|     28|                _PyInterpreterFrame *temp = PyStackRef_Unwrap(new_frame);
  |  |11284|     28|                stack_pointer += -1;
  |  |11285|     28|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     28|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11286|     28|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11287|     28|                assert(temp->previous == frame || temp->previous->previous == frame);
  |  |11288|     28|                CALL_STAT_INC(inlined_py_calls);
  |  |  ------------------
  |  |  |  |   76|     28|#define CALL_STAT_INC(name) ((void)0)
  |  |  ------------------
  |  |11289|     28|                frame = tstate->current_frame = temp;
  |  |11290|     28|                tstate->py_recursion_remaining--;
  |  |11291|     28|                LOAD_SP();
  |  |  ------------------
  |  |  |  |  425|     28|#define LOAD_SP() \
  |  |  |  |  426|     28|stack_pointer = _PyFrame_GetStackPointer(frame)
  |  |  ------------------
  |  |11292|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11293|     28|                DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  345|     28|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  |11294|     28|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|     28|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  |11295|     28|            }
  |  |11296|     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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|     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|    }
  |  |  ------------------
  |  |11297|     28|        }
  |  |11298|       |
  |  |11299|     38|        TARGET(SEND_VIRTUAL) {
  |  |  ------------------
  |  |  |  |  132|     38|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11300|       |            #if _Py_TAIL_CALL_INTERP
  |  |11301|       |            int opcode = SEND_VIRTUAL;
  |  |11302|       |            (void)(opcode);
  |  |11303|       |            #endif
  |  |11304|     38|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11305|     38|            (void)this_instr;
  |  |11306|     38|            frame->instr_ptr = next_instr;
  |  |11307|     38|            next_instr += 2;
  |  |11308|     38|            INSTRUCTION_STATS(SEND_VIRTUAL);
  |  |  ------------------
  |  |  |  |   71|     38|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11309|     38|            static_assert(INLINE_CACHE_ENTRIES_SEND == 1, "incorrect cache size");
  |  |11310|     38|            _PyStackRef val;
  |  |11311|     38|            _PyStackRef nos;
  |  |11312|     38|            _PyStackRef iter;
  |  |11313|     38|            _PyStackRef null_or_index;
  |  |11314|     38|            _PyStackRef none;
  |  |11315|     38|            _PyStackRef next;
  |  |11316|       |            /* Skip 1 cache entry */
  |  |11317|       |            // _GUARD_TOS_IS_NONE
  |  |11318|     38|            {
  |  |11319|     38|                val = stack_pointer[-1];
  |  |11320|     38|                if (!PyStackRef_IsNone(val)) {
  |  |  ------------------
  |  |  |  |  483|     38|#define PyStackRef_IsNone(REF) ((REF).bits == (((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|     38|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (11320:21): [True: 0, False: 38]
  |  |  ------------------
  |  |11321|      0|                    UPDATE_MISS_STATS(SEND);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11322|      0|                    assert(_PyOpcode_Deopt[opcode] == (SEND));
  |  |11323|      0|                    JUMP_TO_PREDICTED(SEND);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11324|      0|                }
  |  |11325|     38|            }
  |  |11326|       |            // _GUARD_NOS_NOT_NULL
  |  |11327|     38|            {
  |  |11328|     38|                nos = stack_pointer[-2];
  |  |11329|     38|                if (PyStackRef_IsNull(nos)) {
  |  |  ------------------
  |  |  |  |  470|     38|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|     38|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|     38|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (470:32): [True: 0, False: 38]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11330|      0|                    UPDATE_MISS_STATS(SEND);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11331|      0|                    assert(_PyOpcode_Deopt[opcode] == (SEND));
  |  |11332|      0|                    JUMP_TO_PREDICTED(SEND);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11333|      0|                }
  |  |11334|     38|            }
  |  |11335|       |            // _SEND_VIRTUAL
  |  |11336|     38|            {
  |  |11337|     38|                none = val;
  |  |11338|     38|                null_or_index = nos;
  |  |11339|     38|                iter = stack_pointer[-3];
  |  |11340|     38|                PyObject *iter_o = PyStackRef_AsPyObjectBorrow(iter);
  |  |11341|     38|                Py_ssize_t index = PyStackRef_UntagInt(null_or_index);
  |  |11342|     38|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11343|     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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11344|     38|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11345|     38|                PyObject *next_o = next_index.object;
  |  |11346|     38|                index = next_index.index;
  |  |11347|     38|                if (next_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (11347:21): [True: 12, False: 26]
  |  |  ------------------
  |  |11348|     12|                    if (index < 0) {
  |  |  ------------------
  |  |  |  Branch (11348:25): [True: 0, False: 12]
  |  |  ------------------
  |  |11349|      0|                        JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11350|      0|                    }
  |  |11351|     12|                    next = none;
  |  |11352|     12|                    JUMPBY(oparg);
  |  |  ------------------
  |  |  |  |  260|     12|#define JUMPBY(x)       (next_instr += (x))
  |  |  ------------------
  |  |11353|     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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|     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|    }
  |  |  ------------------
  |  |11354|     12|                }
  |  |11355|     38|                next = PyStackRef_FromPyObjectSteal(next_o);
  |  |11356|     38|                null_or_index = PyStackRef_TagInt(index);
  |  |11357|     38|            }
  |  |11358|      0|            stack_pointer[-2] = null_or_index;
  |  |11359|     38|            stack_pointer[-1] = next;
  |  |11360|     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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|     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|    }
  |  |  ------------------
  |  |11361|     38|        }
  |  |11362|       |
  |  |11363|      6|        TARGET(SETUP_ANNOTATIONS) {
  |  |  ------------------
  |  |  |  |  132|      6|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11364|       |            #if _Py_TAIL_CALL_INTERP
  |  |11365|       |            int opcode = SETUP_ANNOTATIONS;
  |  |11366|       |            (void)(opcode);
  |  |11367|       |            #endif
  |  |11368|      6|            frame->instr_ptr = next_instr;
  |  |11369|      6|            next_instr += 1;
  |  |11370|      6|            INSTRUCTION_STATS(SETUP_ANNOTATIONS);
  |  |  ------------------
  |  |  |  |   71|      6|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11371|      6|            if (LOCALS() == NULL) {
  |  |  ------------------
  |  |  |  |  327|      6|#define LOCALS() frame->f_locals
  |  |  ------------------
  |  |  |  Branch (11371:17): [True: 0, False: 6]
  |  |  ------------------
  |  |11372|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11373|      0|                _PyErr_Format(tstate, PyExc_SystemError,
  |  |11374|      0|                              "no locals found when setting up annotations");
  |  |11375|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11376|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11377|      0|            }
  |  |11378|      6|            int err;
  |  |11379|      6|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11380|      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);
  |  |  ------------------
  |  |  |  |  915|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11381|      6|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11382|      6|            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (11382:17): [True: 0, False: 6]
  |  |  ------------------
  |  |11383|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11384|      0|            }
  |  |11385|      6|            if (ann_dict == NULL) {
  |  |  ------------------
  |  |  |  Branch (11385:17): [True: 6, False: 0]
  |  |  ------------------
  |  |11386|      6|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11387|      6|                ann_dict = PyDict_New();
  |  |11388|      6|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11389|      6|                if (ann_dict == NULL) {
  |  |  ------------------
  |  |  |  Branch (11389:21): [True: 0, False: 6]
  |  |  ------------------
  |  |11390|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11391|      0|                }
  |  |11392|      6|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11393|      6|                err = PyObject_SetItem(LOCALS(), &_Py_ID(__annotations__),
  |  |  ------------------
  |  |  |  |  327|      6|#define LOCALS() frame->f_locals
  |  |  ------------------
  |  |                               err = PyObject_SetItem(LOCALS(), &_Py_ID(__annotations__),
  |  |  ------------------
  |  |  |  |  915|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11394|      6|                                       ann_dict);
  |  |11395|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11396|      6|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11397|      6|                if (err) {
  |  |  ------------------
  |  |  |  Branch (11397:21): [True: 0, False: 6]
  |  |  ------------------
  |  |11398|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11399|      0|                }
  |  |11400|      6|            }
  |  |11401|      0|            else {
  |  |11402|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11403|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11404|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11405|      0|            }
  |  |11406|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      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|    }
  |  |  ------------------
  |  |11407|      6|        }
  |  |11408|       |
  |  |11409|  53.7k|        TARGET(SET_ADD) {
  |  |  ------------------
  |  |  |  |  132|  53.7k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11410|       |            #if _Py_TAIL_CALL_INTERP
  |  |11411|       |            int opcode = SET_ADD;
  |  |11412|       |            (void)(opcode);
  |  |11413|       |            #endif
  |  |11414|  53.7k|            frame->instr_ptr = next_instr;
  |  |11415|  53.7k|            next_instr += 1;
  |  |11416|  53.7k|            INSTRUCTION_STATS(SET_ADD);
  |  |  ------------------
  |  |  |  |   71|  53.7k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11417|  53.7k|            _PyStackRef set;
  |  |11418|  53.7k|            _PyStackRef v;
  |  |11419|  53.7k|            v = stack_pointer[-1];
  |  |11420|  53.7k|            set = stack_pointer[-2 - (oparg-1)];
  |  |11421|  53.7k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11422|  53.7k|            int err = _PySet_AddTakeRef((PySetObject *)PyStackRef_AsPyObjectBorrow(set),
  |  |11423|  53.7k|                                        PyStackRef_AsPyObjectSteal(v));
  |  |11424|  53.7k|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11425|  53.7k|            if (err) {
  |  |  ------------------
  |  |  |  Branch (11425:17): [True: 0, False: 53.7k]
  |  |  ------------------
  |  |11426|      0|                JUMP_TO_LABEL(pop_1_error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11427|      0|            }
  |  |11428|  53.7k|            stack_pointer += -1;
  |  |11429|  53.7k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  53.7k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11430|  53.7k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  53.7k|    { \
  |  |  |  |  201|  53.7k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  53.7k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  53.7k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  53.7k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  53.7k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  53.7k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  53.7k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  53.7k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 53.7k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  53.7k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  53.7k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  53.7k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  53.7k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  53.7k|    }
  |  |  ------------------
  |  |11431|  53.7k|        }
  |  |11432|       |
  |  |11433|  3.56M|        TARGET(SET_FUNCTION_ATTRIBUTE) {
  |  |  ------------------
  |  |  |  |  132|  3.56M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11434|       |            #if _Py_TAIL_CALL_INTERP
  |  |11435|       |            int opcode = SET_FUNCTION_ATTRIBUTE;
  |  |11436|       |            (void)(opcode);
  |  |11437|       |            #endif
  |  |11438|  3.56M|            frame->instr_ptr = next_instr;
  |  |11439|  3.56M|            next_instr += 1;
  |  |11440|  3.56M|            INSTRUCTION_STATS(SET_FUNCTION_ATTRIBUTE);
  |  |  ------------------
  |  |  |  |   71|  3.56M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11441|  3.56M|            _PyStackRef attr_st;
  |  |11442|  3.56M|            _PyStackRef func_in;
  |  |11443|  3.56M|            _PyStackRef func_out;
  |  |11444|  3.56M|            func_in = stack_pointer[-1];
  |  |11445|  3.56M|            attr_st = stack_pointer[-2];
  |  |11446|  3.56M|            PyObject *func = PyStackRef_AsPyObjectBorrow(func_in);
  |  |11447|  3.56M|            PyObject *attr = PyStackRef_AsPyObjectSteal(attr_st);
  |  |11448|  3.56M|            func_out = func_in;
  |  |11449|  3.56M|            assert(PyFunction_Check(func));
  |  |11450|  3.56M|            size_t offset = _Py_FunctionAttributeOffsets[oparg];
  |  |11451|  3.56M|            assert(offset != 0);
  |  |11452|  3.56M|            PyObject **ptr = (PyObject **)(((char *)func) + offset);
  |  |11453|  3.56M|            assert(*ptr == NULL);
  |  |11454|  3.56M|            *ptr = attr;
  |  |11455|  3.56M|            stack_pointer[-2] = func_out;
  |  |11456|  3.56M|            stack_pointer += -1;
  |  |11457|  3.56M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  3.56M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11458|  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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  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|    }
  |  |  ------------------
  |  |11459|  3.56M|        }
  |  |11460|       |
  |  |11461|  3.56M|        TARGET(SET_UPDATE) {
  |  |  ------------------
  |  |  |  |  132|  30.7k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11462|       |            #if _Py_TAIL_CALL_INTERP
  |  |11463|       |            int opcode = SET_UPDATE;
  |  |11464|       |            (void)(opcode);
  |  |11465|       |            #endif
  |  |11466|  30.7k|            frame->instr_ptr = next_instr;
  |  |11467|  30.7k|            next_instr += 1;
  |  |11468|  30.7k|            INSTRUCTION_STATS(SET_UPDATE);
  |  |  ------------------
  |  |  |  |   71|  30.7k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11469|  30.7k|            _PyStackRef set;
  |  |11470|  30.7k|            _PyStackRef iterable;
  |  |11471|  30.7k|            _PyStackRef i;
  |  |11472|  30.7k|            _PyStackRef value;
  |  |11473|       |            // _SET_UPDATE
  |  |11474|  30.7k|            {
  |  |11475|  30.7k|                iterable = stack_pointer[-1];
  |  |11476|  30.7k|                set = stack_pointer[-2 - (oparg-1)];
  |  |11477|  30.7k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11478|  30.7k|                int err = _PySet_Update(PyStackRef_AsPyObjectBorrow(set),
  |  |11479|  30.7k|                                    PyStackRef_AsPyObjectBorrow(iterable));
  |  |11480|  30.7k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11481|  30.7k|                if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (11481:21): [True: 0, False: 30.7k]
  |  |  ------------------
  |  |11482|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11483|      0|                }
  |  |11484|  30.7k|                i = iterable;
  |  |11485|  30.7k|            }
  |  |11486|       |            // _POP_TOP
  |  |11487|      0|            {
  |  |11488|  30.7k|                value = i;
  |  |11489|  30.7k|                stack_pointer += -1;
  |  |11490|  30.7k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  30.7k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11491|  30.7k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11492|  30.7k|                PyStackRef_XCLOSE(value);
  |  |11493|  30.7k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11494|  30.7k|            }
  |  |11495|  30.7k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  30.7k|    { \
  |  |  |  |  201|  30.7k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  30.7k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  30.7k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  30.7k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  30.7k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  30.7k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  30.7k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  30.7k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 30.7k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  30.7k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  30.7k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  30.7k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  30.7k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  30.7k|    }
  |  |  ------------------
  |  |11496|  30.7k|        }
  |  |11497|       |
  |  |11498|   784k|        TARGET(STORE_ATTR) {
  |  |  ------------------
  |  |  |  |  132|   784k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11499|       |            #if _Py_TAIL_CALL_INTERP
  |  |11500|       |            int opcode = STORE_ATTR;
  |  |11501|       |            (void)(opcode);
  |  |11502|       |            #endif
  |  |11503|   784k|            frame->instr_ptr = next_instr;
  |  |11504|   784k|            next_instr += 5;
  |  |11505|   784k|            INSTRUCTION_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |   71|   784k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11506|   946k|            PREDICTED_STORE_ATTR:;
  |  |11507|   946k|            _Py_CODEUNIT* const this_instr = next_instr - 5;
  |  |11508|   946k|            (void)this_instr;
  |  |11509|   946k|            _PyStackRef owner;
  |  |11510|   946k|            _PyStackRef v;
  |  |11511|       |            // _SPECIALIZE_STORE_ATTR
  |  |11512|   946k|            {
  |  |11513|   946k|                owner = stack_pointer[-1];
  |  |11514|   946k|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |11515|   946k|                (void)counter;
  |  |11516|   946k|                #if ENABLE_SPECIALIZATION
  |  |11517|   946k|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  354|   946k|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (354:5): [True: 5.38k, False: 940k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11518|  5.38k|                    PyObject *name = GETITEM(FRAME_CO_NAMES, oparg);
  |  |  ------------------
  |  |  |  |  235|  5.38k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  5.38k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  5.38k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  5.38k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11519|  5.38k|                    next_instr = this_instr;
  |  |11520|  5.38k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11521|  5.38k|                    _Py_Specialize_StoreAttr(owner, next_instr, name);
  |  |11522|  5.38k|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11523|  5.38k|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|  5.38k|    { \
  |  |  |  |  217|  5.38k|        opcode = next_instr->op.code; \
  |  |  |  |  218|  5.38k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  5.38k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|  5.38k|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|  5.38k|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|  5.38k|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|  5.38k|    }
  |  |  ------------------
  |  |11524|  5.38k|                }
  |  |11525|   946k|                OPCODE_DEFERRED_INC(STORE_ATTR);
  |  |  ------------------
  |  |  |  |   90|   946k|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |11526|   946k|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  357|   946k|    do { \
  |  |  |  |  358|   946k|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  359|   946k|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (359:14): [Folded, False: 946k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11527|   946k|                #endif  /* ENABLE_SPECIALIZATION */
  |  |11528|   946k|            }
  |  |11529|       |            /* Skip 3 cache entries */
  |  |11530|       |            // _STORE_ATTR
  |  |11531|   946k|            {
  |  |11532|   946k|                v = stack_pointer[-2];
  |  |11533|   946k|                PyObject *name = GETITEM(FRAME_CO_NAMES, oparg);
  |  |  ------------------
  |  |  |  |  235|   946k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|   946k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|   946k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   946k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11534|   946k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11535|   946k|                int err = PyObject_SetAttr(PyStackRef_AsPyObjectBorrow(owner),
  |  |11536|   946k|                                       name, PyStackRef_AsPyObjectBorrow(v));
  |  |11537|   946k|                _PyStackRef tmp = owner;
  |  |11538|   946k|                owner = PyStackRef_NULL;
  |  |11539|   946k|                stack_pointer[-1] = owner;
  |  |11540|   946k|                PyStackRef_CLOSE(tmp);
  |  |11541|   946k|                tmp = v;
  |  |11542|   946k|                v = PyStackRef_NULL;
  |  |11543|   946k|                stack_pointer[-2] = v;
  |  |11544|   946k|                PyStackRef_CLOSE(tmp);
  |  |11545|   946k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11546|   946k|                stack_pointer += -2;
  |  |11547|   946k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   946k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11548|   946k|                if (err) {
  |  |  ------------------
  |  |  |  Branch (11548:21): [True: 4, False: 946k]
  |  |  ------------------
  |  |11549|      4|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      4|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11550|      0|                }
  |  |11551|   946k|            }
  |  |11552|   946k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   946k|    { \
  |  |  |  |  201|   946k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|   946k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|   946k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|   946k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|   946k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|   946k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|   946k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|   946k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 946k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   946k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   946k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   946k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   946k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   946k|    }
  |  |  ------------------
  |  |11553|   946k|        }
  |  |11554|       |
  |  |11555|  22.5M|        TARGET(STORE_ATTR_INSTANCE_VALUE) {
  |  |  ------------------
  |  |  |  |  132|  22.5M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11556|       |            #if _Py_TAIL_CALL_INTERP
  |  |11557|       |            int opcode = STORE_ATTR_INSTANCE_VALUE;
  |  |11558|       |            (void)(opcode);
  |  |11559|       |            #endif
  |  |11560|  22.5M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11561|  22.5M|            (void)this_instr;
  |  |11562|  22.5M|            frame->instr_ptr = next_instr;
  |  |11563|  22.5M|            next_instr += 5;
  |  |11564|  22.5M|            INSTRUCTION_STATS(STORE_ATTR_INSTANCE_VALUE);
  |  |  ------------------
  |  |  |  |   71|  22.5M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11565|  22.5M|            static_assert(INLINE_CACHE_ENTRIES_STORE_ATTR == 4, "incorrect cache size");
  |  |11566|  22.5M|            _PyStackRef value;
  |  |11567|  22.5M|            _PyStackRef owner;
  |  |11568|  22.5M|            _PyStackRef o;
  |  |11569|       |            /* Skip 1 cache entry */
  |  |11570|       |            // _LOCK_OBJECT
  |  |11571|  22.5M|            {
  |  |11572|  22.5M|                value = stack_pointer[-1];
  |  |11573|  22.5M|                if (!LOCK_OBJECT(PyStackRef_AsPyObjectBorrow(value))) {
  |  |  ------------------
  |  |  |  |  321|  22.5M|#  define LOCK_OBJECT(op) (1)
  |  |  ------------------
  |  |  |  Branch (11573:21): [Folded, False: 22.5M]
  |  |  ------------------
  |  |11574|      0|                    UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11575|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |11576|      0|                    JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11577|      0|                }
  |  |11578|  22.5M|            }
  |  |11579|       |            // _GUARD_TYPE_VERSION_LOCKED
  |  |11580|  22.5M|            {
  |  |11581|  22.5M|                owner = value;
  |  |11582|  22.5M|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  |11583|  22.5M|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  |11584|  22.5M|                assert(type_version != 0);
  |  |11585|  22.5M|                PyTypeObject *tp = Py_TYPE(owner_o);
  |  |  ------------------
  |  |  |  |  213|  22.5M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  22.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  22.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11586|  22.5M|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  188|  22.5M|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (11586:21): [True: 161k, False: 22.4M]
  |  |  ------------------
  |  |11587|   161k|                    UNLOCK_OBJECT(owner_o);
  |  |  ------------------
  |  |  |  |  322|   161k|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |11588|   161k|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (11588:25): [True: 161k, Folded]
  |  |  ------------------
  |  |11589|   161k|                        UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  298|   161k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11590|   161k|                        assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |11591|   161k|                        JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|   161k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11592|      0|                    }
  |  |11593|   161k|                }
  |  |11594|  22.5M|            }
  |  |11595|       |            // _GUARD_DORV_NO_DICT
  |  |11596|  22.4M|            {
  |  |11597|  22.4M|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  |11598|  22.4M|                assert(Py_TYPE(owner_o)->tp_dictoffset < 0);
  |  |11599|  22.4M|                assert(Py_TYPE(owner_o)->tp_flags & Py_TPFLAGS_INLINE_VALUES);
  |  |11600|  22.4M|                if (_PyObject_GetManagedDict(owner_o) ||
  |  |  ------------------
  |  |  |  Branch (11600:21): [True: 0, False: 22.4M]
  |  |  ------------------
  |  |11601|  22.4M|                    !FT_ATOMIC_LOAD_UINT8(_PyObject_InlineValues(owner_o)->valid)) {
  |  |  ------------------
  |  |  |  |  153|  22.4M|#define FT_ATOMIC_LOAD_UINT8(value) value
  |  |  ------------------
  |  |  |  Branch (11601:21): [True: 0, False: 22.4M]
  |  |  ------------------
  |  |11602|      0|                    UNLOCK_OBJECT(owner_o);
  |  |  ------------------
  |  |  |  |  322|      0|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |11603|      0|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (11603:25): [True: 0, Folded]
  |  |  ------------------
  |  |11604|      0|                        UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11605|      0|                        assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |11606|      0|                        JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11607|      0|                    }
  |  |11608|      0|                }
  |  |11609|  22.4M|            }
  |  |11610|       |            // _STORE_ATTR_INSTANCE_VALUE
  |  |11611|  22.4M|            {
  |  |11612|  22.4M|                value = stack_pointer[-2];
  |  |11613|  22.4M|                uint16_t offset = read_u16(&this_instr[4].cache);
  |  |11614|  22.4M|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  |11615|  22.4M|                STAT_INC(STORE_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|  22.4M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |11616|  22.4M|                assert(_PyObject_GetManagedDict(owner_o) == NULL);
  |  |11617|  22.4M|                PyObject **value_ptr = (PyObject**)(((char *)owner_o) + offset);
  |  |11618|  22.4M|                PyObject *old_value = *value_ptr;
  |  |11619|  22.4M|                FT_ATOMIC_STORE_PTR_RELEASE(*value_ptr, PyStackRef_AsPyObjectSteal(value));
  |  |  ------------------
  |  |  |  |  163|  22.4M|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  |  |11620|  22.4M|                if (old_value == NULL) {
  |  |  ------------------
  |  |  |  Branch (11620:21): [True: 1.26M, False: 21.1M]
  |  |  ------------------
  |  |11621|  1.26M|                    PyDictValues *values = _PyObject_InlineValues(owner_o);
  |  |11622|  1.26M|                    Py_ssize_t index = value_ptr - values->values;
  |  |11623|  1.26M|                    _PyDictValues_AddToInsertionOrder(values, index);
  |  |11624|  1.26M|                }
  |  |11625|  22.4M|                UNLOCK_OBJECT(owner_o);
  |  |  ------------------
  |  |  |  |  322|  22.4M|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |11626|  22.4M|                o = owner;
  |  |11627|  22.4M|                stack_pointer[-2] = o;
  |  |11628|  22.4M|                stack_pointer += -1;
  |  |11629|  22.4M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  22.4M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11630|  22.4M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11631|  22.4M|                Py_XDECREF(old_value);
  |  |  ------------------
  |  |  |  |   69|  22.4M|    do { \
  |  |  |  |   70|  22.4M|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  22.4M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  22.4M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   71|  22.4M|        if (xop != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (71:13): [True: 21.1M, False: 1.26M]
  |  |  |  |  ------------------
  |  |  |  |   72|  21.1M|            Py_DECREF(xop); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   80|  21.1M|    do { \
  |  |  |  |  |  |   81|  21.1M|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  21.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  21.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   82|  21.1M|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  137|  21.1M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|  21.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|  21.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (137:28): [True: 4.86M, False: 16.2M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   83|  4.86M|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   22|  4.86M|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   84|  4.86M|            break; \
  |  |  |  |  |  |   85|  4.86M|        } \
  |  |  |  |  |  |   86|  21.1M|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   20|  16.2M|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   87|  16.2M|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (87:13): [True: 8.74M, False: 7.53M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   88|  8.74M|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  112|  8.74M|    do { \
  |  |  |  |  |  |  |  |  113|  8.74M|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  |  |  114|  8.74M|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 8.74M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  |  |  118|  8.74M|    } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 8.74M]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   89|  8.74M|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  213|  8.74M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|  8.74M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|  8.74M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|  8.74M|            (*dealloc)(op); \
  |  |  |  |  |  |   91|  8.74M|        } \
  |  |  |  |  |  |   92|  16.2M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (92:14): [Folded, False: 16.2M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   73|  21.1M|        } \
  |  |  |  |   74|  22.4M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (74:14): [Folded, False: 22.4M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11632|  22.4M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11633|  22.4M|            }
  |  |11634|       |            // _POP_TOP
  |  |11635|  22.4M|            {
  |  |11636|  22.4M|                value = o;
  |  |11637|  22.4M|                stack_pointer += -1;
  |  |11638|  22.4M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  22.4M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11639|  22.4M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11640|  22.4M|                PyStackRef_XCLOSE(value);
  |  |11641|  22.4M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11642|  22.4M|            }
  |  |11643|  22.4M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  22.4M|    { \
  |  |  |  |  201|  22.4M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  22.4M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  22.4M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  22.4M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  22.4M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  22.4M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  22.4M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  22.4M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 22.4M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  22.4M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  22.4M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  22.4M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  22.4M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  22.4M|    }
  |  |  ------------------
  |  |11644|  22.4M|        }
  |  |11645|       |
  |  |11646|  1.09M|        TARGET(STORE_ATTR_SLOT) {
  |  |  ------------------
  |  |  |  |  132|  1.09M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11647|       |            #if _Py_TAIL_CALL_INTERP
  |  |11648|       |            int opcode = STORE_ATTR_SLOT;
  |  |11649|       |            (void)(opcode);
  |  |11650|       |            #endif
  |  |11651|  1.09M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11652|  1.09M|            (void)this_instr;
  |  |11653|  1.09M|            frame->instr_ptr = next_instr;
  |  |11654|  1.09M|            next_instr += 5;
  |  |11655|  1.09M|            INSTRUCTION_STATS(STORE_ATTR_SLOT);
  |  |  ------------------
  |  |  |  |   71|  1.09M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11656|  1.09M|            static_assert(INLINE_CACHE_ENTRIES_STORE_ATTR == 4, "incorrect cache size");
  |  |11657|  1.09M|            _PyStackRef owner;
  |  |11658|  1.09M|            _PyStackRef value;
  |  |11659|  1.09M|            _PyStackRef o;
  |  |11660|       |            /* Skip 1 cache entry */
  |  |11661|       |            // _GUARD_TYPE_VERSION
  |  |11662|  1.09M|            {
  |  |11663|  1.09M|                owner = stack_pointer[-1];
  |  |11664|  1.09M|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  |11665|  1.09M|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|  1.09M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.09M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.09M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11666|  1.09M|                assert(type_version != 0);
  |  |11667|  1.09M|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  188|  1.09M|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (11667:21): [True: 18, False: 1.09M]
  |  |  ------------------
  |  |11668|     18|                    UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  298|     18|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11669|     18|                    assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |11670|     18|                    JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|     18|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11671|      0|                }
  |  |11672|  1.09M|            }
  |  |11673|       |            // _STORE_ATTR_SLOT
  |  |11674|  1.09M|            {
  |  |11675|  1.09M|                value = stack_pointer[-2];
  |  |11676|  1.09M|                uint16_t index = read_u16(&this_instr[4].cache);
  |  |11677|  1.09M|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  |11678|  1.09M|                if (!LOCK_OBJECT(owner_o)) {
  |  |  ------------------
  |  |  |  |  321|  1.09M|#  define LOCK_OBJECT(op) (1)
  |  |  ------------------
  |  |  |  Branch (11678:21): [Folded, False: 1.09M]
  |  |  ------------------
  |  |11679|      0|                    UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11680|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |11681|      0|                    JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11682|      0|                }
  |  |11683|  1.09M|                char *addr = (char *)owner_o + index;
  |  |11684|  1.09M|                STAT_INC(STORE_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|  1.09M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |11685|  1.09M|                PyObject *old_value = *(PyObject **)addr;
  |  |11686|  1.09M|                FT_ATOMIC_STORE_PTR_RELEASE(*(PyObject **)addr, PyStackRef_AsPyObjectSteal(value));
  |  |  ------------------
  |  |  |  |  163|  1.09M|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  |  |11687|  1.09M|                UNLOCK_OBJECT(owner_o);
  |  |  ------------------
  |  |  |  |  322|  1.09M|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |11688|  1.09M|                o = owner;
  |  |11689|  1.09M|                stack_pointer[-2] = o;
  |  |11690|  1.09M|                stack_pointer += -1;
  |  |11691|  1.09M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.09M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11692|  1.09M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11693|  1.09M|                Py_XDECREF(old_value);
  |  |  ------------------
  |  |  |  |   69|  1.09M|    do { \
  |  |  |  |   70|  1.09M|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.09M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.09M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   71|  1.09M|        if (xop != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (71:13): [True: 324k, False: 773k]
  |  |  |  |  ------------------
  |  |  |  |   72|   324k|            Py_DECREF(xop); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   80|   324k|    do { \
  |  |  |  |  |  |   81|   324k|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   324k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   324k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   82|   324k|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  137|   324k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|   324k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|   324k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (137:28): [True: 162k, False: 162k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   83|   162k|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   22|   162k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   84|   162k|            break; \
  |  |  |  |  |  |   85|   162k|        } \
  |  |  |  |  |  |   86|   324k|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   20|   162k|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   87|   162k|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (87:13): [True: 73.8k, False: 88.5k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   88|  73.8k|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  112|  73.8k|    do { \
  |  |  |  |  |  |  |  |  113|  73.8k|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  |  |  114|  73.8k|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 73.8k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  |  |  118|  73.8k|    } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 73.8k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   89|  73.8k|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  213|  73.8k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|  73.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|  73.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|  73.8k|            (*dealloc)(op); \
  |  |  |  |  |  |   91|  73.8k|        } \
  |  |  |  |  |  |   92|   162k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (92:14): [Folded, False: 162k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   73|   324k|        } \
  |  |  |  |   74|  1.09M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (74:14): [Folded, False: 1.09M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11694|  1.09M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11695|  1.09M|            }
  |  |11696|       |            // _POP_TOP
  |  |11697|      0|            {
  |  |11698|  1.09M|                value = o;
  |  |11699|  1.09M|                stack_pointer += -1;
  |  |11700|  1.09M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  1.09M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11701|  1.09M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11702|  1.09M|                PyStackRef_XCLOSE(value);
  |  |11703|  1.09M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11704|  1.09M|            }
  |  |11705|  1.09M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.09M|    { \
  |  |  |  |  201|  1.09M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  1.09M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  1.09M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  1.09M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  1.09M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  1.09M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  1.09M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  1.09M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 1.09M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.09M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.09M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.09M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.09M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.09M|    }
  |  |  ------------------
  |  |11706|  1.09M|        }
  |  |11707|       |
  |  |11708|   475k|        TARGET(STORE_ATTR_WITH_HINT) {
  |  |  ------------------
  |  |  |  |  132|   475k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11709|       |            #if _Py_TAIL_CALL_INTERP
  |  |11710|       |            int opcode = STORE_ATTR_WITH_HINT;
  |  |11711|       |            (void)(opcode);
  |  |11712|       |            #endif
  |  |11713|   475k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |11714|   475k|            (void)this_instr;
  |  |11715|   475k|            frame->instr_ptr = next_instr;
  |  |11716|   475k|            next_instr += 5;
  |  |11717|   475k|            INSTRUCTION_STATS(STORE_ATTR_WITH_HINT);
  |  |  ------------------
  |  |  |  |   71|   475k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11718|   475k|            static_assert(INLINE_CACHE_ENTRIES_STORE_ATTR == 4, "incorrect cache size");
  |  |11719|   475k|            _PyStackRef owner;
  |  |11720|   475k|            _PyStackRef value;
  |  |11721|   475k|            _PyStackRef o;
  |  |11722|       |            /* Skip 1 cache entry */
  |  |11723|       |            // _GUARD_TYPE_VERSION
  |  |11724|   475k|            {
  |  |11725|   475k|                owner = stack_pointer[-1];
  |  |11726|   475k|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  |11727|   475k|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|   475k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   475k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   475k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11728|   475k|                assert(type_version != 0);
  |  |11729|   475k|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  188|   475k|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (11729:21): [True: 0, False: 475k]
  |  |  ------------------
  |  |11730|      0|                    UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11731|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |11732|      0|                    JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11733|      0|                }
  |  |11734|   475k|            }
  |  |11735|       |            // _STORE_ATTR_WITH_HINT
  |  |11736|   475k|            {
  |  |11737|   475k|                value = stack_pointer[-2];
  |  |11738|   475k|                uint16_t hint = read_u16(&this_instr[4].cache);
  |  |11739|   475k|                PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
  |  |11740|   475k|                assert(Py_TYPE(owner_o)->tp_flags & Py_TPFLAGS_MANAGED_DICT);
  |  |11741|   475k|                PyDictObject *dict = _PyObject_GetManagedDict(owner_o);
  |  |11742|   475k|                if (dict == NULL) {
  |  |  ------------------
  |  |  |  Branch (11742:21): [True: 0, False: 475k]
  |  |  ------------------
  |  |11743|      0|                    UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11744|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |11745|      0|                    JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11746|      0|                }
  |  |11747|   475k|                if (!LOCK_OBJECT(dict)) {
  |  |  ------------------
  |  |  |  |  321|   475k|#  define LOCK_OBJECT(op) (1)
  |  |  ------------------
  |  |  |  Branch (11747:21): [Folded, False: 475k]
  |  |  ------------------
  |  |11748|      0|                    UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11749|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |11750|      0|                    JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11751|      0|                }
  |  |11752|   475k|                assert(PyDict_CheckExact((PyObject *)dict));
  |  |11753|   475k|                PyObject *name = GETITEM(FRAME_CO_NAMES, oparg);
  |  |  ------------------
  |  |  |  |  235|   475k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|   475k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|   475k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   475k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11754|   475k|                if (hint >= (size_t)dict->ma_keys->dk_nentries ||
  |  |  ------------------
  |  |  |  Branch (11754:21): [True: 0, False: 475k]
  |  |  ------------------
  |  |11755|   475k|                    dict->ma_keys->dk_kind != DICT_KEYS_UNICODE) {
  |  |  ------------------
  |  |  |  Branch (11755:21): [True: 0, False: 475k]
  |  |  ------------------
  |  |11756|      0|                    UNLOCK_OBJECT(dict);
  |  |  ------------------
  |  |  |  |  322|      0|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |11757|      0|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (11757:25): [True: 0, Folded]
  |  |  ------------------
  |  |11758|      0|                        UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11759|      0|                        assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |11760|      0|                        JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11761|      0|                    }
  |  |11762|      0|                }
  |  |11763|   475k|                PyDictUnicodeEntry *ep = DK_UNICODE_ENTRIES(dict->ma_keys) + hint;
  |  |11764|   475k|                if (ep->me_key != name) {
  |  |  ------------------
  |  |  |  Branch (11764:21): [True: 0, False: 475k]
  |  |  ------------------
  |  |11765|      0|                    UNLOCK_OBJECT(dict);
  |  |  ------------------
  |  |  |  |  322|      0|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |11766|      0|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (11766:25): [True: 0, Folded]
  |  |  ------------------
  |  |11767|      0|                        UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11768|      0|                        assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |11769|      0|                        JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11770|      0|                    }
  |  |11771|      0|                }
  |  |11772|   475k|                PyObject *old_value = ep->me_value;
  |  |11773|   475k|                if (old_value == NULL) {
  |  |  ------------------
  |  |  |  Branch (11773:21): [True: 0, False: 475k]
  |  |  ------------------
  |  |11774|      0|                    UNLOCK_OBJECT(dict);
  |  |  ------------------
  |  |  |  |  322|      0|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |11775|      0|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (11775:25): [True: 0, Folded]
  |  |  ------------------
  |  |11776|      0|                        UPDATE_MISS_STATS(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |11777|      0|                        assert(_PyOpcode_Deopt[opcode] == (STORE_ATTR));
  |  |11778|      0|                        JUMP_TO_PREDICTED(STORE_ATTR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |11779|      0|                    }
  |  |11780|      0|                }
  |  |11781|   475k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11782|   475k|                _PyDict_NotifyEvent(PyDict_EVENT_MODIFIED, dict, name, PyStackRef_AsPyObjectBorrow(value));
  |  |11783|   475k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11784|   475k|                FT_ATOMIC_STORE_PTR_RELEASE(ep->me_value, PyStackRef_AsPyObjectSteal(value));
  |  |  ------------------
  |  |  |  |  163|   475k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  |  |11785|   475k|                UNLOCK_OBJECT(dict);
  |  |  ------------------
  |  |  |  |  322|   475k|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |11786|   475k|                STAT_INC(STORE_ATTR, hit);
  |  |  ------------------
  |  |  |  |   73|   475k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |11787|   475k|                o = owner;
  |  |11788|   475k|                stack_pointer[-2] = o;
  |  |11789|   475k|                stack_pointer += -1;
  |  |11790|   475k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   475k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11791|   475k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11792|   475k|                Py_XDECREF(old_value);
  |  |  ------------------
  |  |  |  |   69|   475k|    do { \
  |  |  |  |   70|   475k|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   475k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   475k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   71|   475k|        if (xop != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (71:13): [True: 475k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   72|   475k|            Py_DECREF(xop); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   80|   475k|    do { \
  |  |  |  |  |  |   81|   475k|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   475k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   475k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   82|   475k|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  137|   475k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|   475k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|   475k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (137:28): [True: 391k, False: 84.5k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   83|   391k|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   22|   391k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   84|   391k|            break; \
  |  |  |  |  |  |   85|   391k|        } \
  |  |  |  |  |  |   86|   475k|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   20|  84.5k|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   87|  84.5k|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (87:13): [True: 81.1k, False: 3.34k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   88|  81.1k|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  112|  81.1k|    do { \
  |  |  |  |  |  |  |  |  113|  81.1k|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  |  |  114|  81.1k|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 81.1k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  |  |  118|  81.1k|    } while(0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 81.1k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   89|  81.1k|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  213|  81.1k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|  81.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|  81.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   90|  81.1k|            (*dealloc)(op); \
  |  |  |  |  |  |   91|  81.1k|        } \
  |  |  |  |  |  |   92|  84.5k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (92:14): [Folded, False: 84.5k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   73|   475k|        } \
  |  |  |  |   74|   475k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (74:14): [Folded, False: 475k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11793|   475k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11794|   475k|            }
  |  |11795|       |            // _POP_TOP
  |  |11796|      0|            {
  |  |11797|   475k|                value = o;
  |  |11798|   475k|                stack_pointer += -1;
  |  |11799|   475k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   475k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11800|   475k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11801|   475k|                PyStackRef_XCLOSE(value);
  |  |11802|   475k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11803|   475k|            }
  |  |11804|   475k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   475k|    { \
  |  |  |  |  201|   475k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|   475k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|   475k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|   475k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|   475k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|   475k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|   475k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|   475k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 475k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   475k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   475k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   475k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   475k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   475k|    }
  |  |  ------------------
  |  |11805|   475k|        }
  |  |11806|       |
  |  |11807|  2.35M|        TARGET(STORE_DEREF) {
  |  |  ------------------
  |  |  |  |  132|  2.35M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11808|       |            #if _Py_TAIL_CALL_INTERP
  |  |11809|       |            int opcode = STORE_DEREF;
  |  |11810|       |            (void)(opcode);
  |  |11811|       |            #endif
  |  |11812|  2.35M|            frame->instr_ptr = next_instr;
  |  |11813|  2.35M|            next_instr += 1;
  |  |11814|  2.35M|            INSTRUCTION_STATS(STORE_DEREF);
  |  |  ------------------
  |  |  |  |   71|  2.35M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11815|  2.35M|            _PyStackRef v;
  |  |11816|  2.35M|            v = stack_pointer[-1];
  |  |11817|  2.35M|            PyCellObject *cell = (PyCellObject *)PyStackRef_AsPyObjectBorrow(GETLOCAL(oparg));
  |  |  ------------------
  |  |  |  |  284|  2.35M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |11818|  2.35M|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11819|  2.35M|            PyCell_SetTakeRef(cell, PyStackRef_AsPyObjectSteal(v));
  |  |11820|  2.35M|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11821|  2.35M|            stack_pointer += -1;
  |  |11822|  2.35M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.35M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11823|  2.35M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.35M|    { \
  |  |  |  |  201|  2.35M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  2.35M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  2.35M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  2.35M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  2.35M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  2.35M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  2.35M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  2.35M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 2.35M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.35M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.35M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.35M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.35M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.35M|    }
  |  |  ------------------
  |  |11824|  2.35M|        }
  |  |11825|       |
  |  |11826|  70.1M|        TARGET(STORE_FAST) {
  |  |  ------------------
  |  |  |  |  132|  70.1M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11827|       |            #if _Py_TAIL_CALL_INTERP
  |  |11828|       |            int opcode = STORE_FAST;
  |  |11829|       |            (void)(opcode);
  |  |11830|       |            #endif
  |  |11831|  70.1M|            frame->instr_ptr = next_instr;
  |  |11832|  70.1M|            next_instr += 1;
  |  |11833|  70.1M|            INSTRUCTION_STATS(STORE_FAST);
  |  |  ------------------
  |  |  |  |   71|  70.1M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11834|  70.1M|            _PyStackRef value;
  |  |11835|  70.1M|            _PyStackRef trash;
  |  |11836|       |            // _SWAP_FAST
  |  |11837|  70.1M|            {
  |  |11838|  70.1M|                value = stack_pointer[-1];
  |  |11839|  70.1M|                _PyStackRef tmp = GETLOCAL(oparg);
  |  |  ------------------
  |  |  |  |  284|  70.1M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |11840|  70.1M|                GETLOCAL(oparg) = value;
  |  |  ------------------
  |  |  |  |  284|  70.1M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |11841|  70.1M|                trash = tmp;
  |  |11842|  70.1M|            }
  |  |11843|       |            // _POP_TOP
  |  |11844|  70.1M|            {
  |  |11845|  70.1M|                value = trash;
  |  |11846|  70.1M|                stack_pointer += -1;
  |  |11847|  70.1M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  70.1M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11848|  70.1M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11849|  70.1M|                PyStackRef_XCLOSE(value);
  |  |11850|  70.1M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11851|  70.1M|            }
  |  |11852|  70.1M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  70.1M|    { \
  |  |  |  |  201|  70.1M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  70.1M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  70.1M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  70.1M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  70.1M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  70.1M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  70.1M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  70.1M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 70.1M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  70.1M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  70.1M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  70.1M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  70.1M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  70.1M|    }
  |  |  ------------------
  |  |11853|  70.1M|        }
  |  |11854|       |
  |  |11855|  70.1M|        TARGET(STORE_FAST_LOAD_FAST) {
  |  |  ------------------
  |  |  |  |  132|   502k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11856|       |            #if _Py_TAIL_CALL_INTERP
  |  |11857|       |            int opcode = STORE_FAST_LOAD_FAST;
  |  |11858|       |            (void)(opcode);
  |  |11859|       |            #endif
  |  |11860|   502k|            frame->instr_ptr = next_instr;
  |  |11861|   502k|            next_instr += 1;
  |  |11862|   502k|            INSTRUCTION_STATS(STORE_FAST_LOAD_FAST);
  |  |  ------------------
  |  |  |  |   71|   502k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11863|   502k|            _PyStackRef value1;
  |  |11864|   502k|            _PyStackRef value2;
  |  |11865|   502k|            value1 = stack_pointer[-1];
  |  |11866|   502k|            uint32_t oparg1 = oparg >> 4;
  |  |11867|   502k|            uint32_t oparg2 = oparg & 15;
  |  |11868|   502k|            _PyStackRef tmp = GETLOCAL(oparg1);
  |  |  ------------------
  |  |  |  |  284|   502k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |11869|   502k|            GETLOCAL(oparg1) = value1;
  |  |  ------------------
  |  |  |  |  284|   502k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |11870|   502k|            value2 = PyStackRef_DUP(GETLOCAL(oparg2));
  |  |  ------------------
  |  |  |  |  284|   502k|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |11871|   502k|            stack_pointer[-1] = value2;
  |  |11872|   502k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11873|   502k|            PyStackRef_XCLOSE(tmp);
  |  |11874|   502k|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11875|   502k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   502k|    { \
  |  |  |  |  201|   502k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|   502k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|   502k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|   502k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|   502k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|   502k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|   502k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|   502k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 502k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   502k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   502k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   502k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   502k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   502k|    }
  |  |  ------------------
  |  |11876|   502k|        }
  |  |11877|       |
  |  |11878|  7.31M|        TARGET(STORE_FAST_STORE_FAST) {
  |  |  ------------------
  |  |  |  |  132|  7.31M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11879|       |            #if _Py_TAIL_CALL_INTERP
  |  |11880|       |            int opcode = STORE_FAST_STORE_FAST;
  |  |11881|       |            (void)(opcode);
  |  |11882|       |            #endif
  |  |11883|  7.31M|            frame->instr_ptr = next_instr;
  |  |11884|  7.31M|            next_instr += 1;
  |  |11885|  7.31M|            INSTRUCTION_STATS(STORE_FAST_STORE_FAST);
  |  |  ------------------
  |  |  |  |   71|  7.31M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11886|  7.31M|            _PyStackRef value2;
  |  |11887|  7.31M|            _PyStackRef value1;
  |  |11888|  7.31M|            value1 = stack_pointer[-1];
  |  |11889|  7.31M|            value2 = stack_pointer[-2];
  |  |11890|  7.31M|            uint32_t oparg1 = oparg >> 4;
  |  |11891|  7.31M|            uint32_t oparg2 = oparg & 15;
  |  |11892|  7.31M|            _PyStackRef tmp = GETLOCAL(oparg1);
  |  |  ------------------
  |  |  |  |  284|  7.31M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |11893|  7.31M|            GETLOCAL(oparg1) = value1;
  |  |  ------------------
  |  |  |  |  284|  7.31M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |11894|  7.31M|            stack_pointer += -1;
  |  |11895|  7.31M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  7.31M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11896|  7.31M|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11897|  7.31M|            PyStackRef_XCLOSE(tmp);
  |  |11898|  7.31M|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11899|  7.31M|            tmp = GETLOCAL(oparg2);
  |  |  ------------------
  |  |  |  |  284|  7.31M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |11900|  7.31M|            GETLOCAL(oparg2) = value2;
  |  |  ------------------
  |  |  |  |  284|  7.31M|#define GETLOCAL(i)     (frame->localsplus[i])
  |  |  ------------------
  |  |11901|  7.31M|            stack_pointer += -1;
  |  |11902|  7.31M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  7.31M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11903|  7.31M|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11904|  7.31M|            PyStackRef_XCLOSE(tmp);
  |  |11905|  7.31M|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11906|  7.31M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  7.31M|    { \
  |  |  |  |  201|  7.31M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  7.31M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  7.31M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  7.31M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  7.31M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  7.31M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  7.31M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  7.31M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 7.31M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  7.31M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  7.31M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  7.31M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  7.31M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  7.31M|    }
  |  |  ------------------
  |  |11907|  7.31M|        }
  |  |11908|       |
  |  |11909|  7.31M|        TARGET(STORE_GLOBAL) {
  |  |  ------------------
  |  |  |  |  132|  2.98k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11910|       |            #if _Py_TAIL_CALL_INTERP
  |  |11911|       |            int opcode = STORE_GLOBAL;
  |  |11912|       |            (void)(opcode);
  |  |11913|       |            #endif
  |  |11914|  2.98k|            frame->instr_ptr = next_instr;
  |  |11915|  2.98k|            next_instr += 1;
  |  |11916|  2.98k|            INSTRUCTION_STATS(STORE_GLOBAL);
  |  |  ------------------
  |  |  |  |   71|  2.98k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11917|  2.98k|            _PyStackRef v;
  |  |11918|  2.98k|            v = stack_pointer[-1];
  |  |11919|  2.98k|            PyObject *name = GETITEM(FRAME_CO_NAMES, oparg);
  |  |  ------------------
  |  |  |  |  235|  2.98k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  2.98k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  2.98k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  2.98k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11920|  2.98k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11921|  2.98k|            int err = PyDict_SetItem(GLOBALS(), name, PyStackRef_AsPyObjectBorrow(v));
  |  |  ------------------
  |  |  |  |  325|  2.98k|#define GLOBALS() frame->f_globals
  |  |  ------------------
  |  |11922|  2.98k|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11923|  2.98k|            stack_pointer += -1;
  |  |11924|  2.98k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  2.98k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11925|  2.98k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11926|  2.98k|            PyStackRef_CLOSE(v);
  |  |11927|  2.98k|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11928|  2.98k|            if (err) {
  |  |  ------------------
  |  |  |  Branch (11928:17): [True: 0, False: 2.98k]
  |  |  ------------------
  |  |11929|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11930|      0|            }
  |  |11931|  2.98k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.98k|    { \
  |  |  |  |  201|  2.98k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  2.98k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  2.98k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  2.98k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  2.98k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  2.98k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  2.98k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  2.98k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 2.98k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.98k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.98k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.98k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.98k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.98k|    }
  |  |  ------------------
  |  |11932|  2.98k|        }
  |  |11933|       |
  |  |11934|  57.6k|        TARGET(STORE_NAME) {
  |  |  ------------------
  |  |  |  |  132|  57.6k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11935|       |            #if _Py_TAIL_CALL_INTERP
  |  |11936|       |            int opcode = STORE_NAME;
  |  |11937|       |            (void)(opcode);
  |  |11938|       |            #endif
  |  |11939|  57.6k|            frame->instr_ptr = next_instr;
  |  |11940|  57.6k|            next_instr += 1;
  |  |11941|  57.6k|            INSTRUCTION_STATS(STORE_NAME);
  |  |  ------------------
  |  |  |  |   71|  57.6k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11942|  57.6k|            _PyStackRef v;
  |  |11943|  57.6k|            v = stack_pointer[-1];
  |  |11944|  57.6k|            PyObject *name = GETITEM(FRAME_CO_NAMES, oparg);
  |  |  ------------------
  |  |  |  |  235|  57.6k|#define GETITEM(v, i) PyTuple_GET_ITEM((v), (i))
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  57.6k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   19|  57.6k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  57.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11945|  57.6k|            PyObject *ns = LOCALS();
  |  |  ------------------
  |  |  |  |  327|  57.6k|#define LOCALS() frame->f_locals
  |  |  ------------------
  |  |11946|  57.6k|            int err;
  |  |11947|  57.6k|            if (ns == NULL) {
  |  |  ------------------
  |  |  |  Branch (11947:17): [True: 0, False: 57.6k]
  |  |  ------------------
  |  |11948|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11949|      0|                _PyErr_Format(tstate, PyExc_SystemError,
  |  |11950|      0|                              "no locals found when storing %R", name);
  |  |11951|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11952|      0|                stack_pointer += -1;
  |  |11953|      0|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11954|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11955|      0|                PyStackRef_CLOSE(v);
  |  |11956|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11957|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11958|      0|            }
  |  |11959|  57.6k|            if (PyDict_CheckExact(ns)) {
  |  |  ------------------
  |  |  |  |   19|  57.6k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  57.6k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  57.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  57.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 57.1k, False: 596]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |11960|  57.1k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11961|  57.1k|                err = PyDict_SetItem(ns, name, PyStackRef_AsPyObjectBorrow(v));
  |  |11962|  57.1k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11963|  57.1k|            }
  |  |11964|    596|            else {
  |  |11965|    596|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11966|    596|                err = PyObject_SetItem(ns, name, PyStackRef_AsPyObjectBorrow(v));
  |  |11967|    596|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11968|    596|            }
  |  |11969|  57.6k|            stack_pointer += -1;
  |  |11970|  57.6k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  57.6k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |11971|  57.6k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |11972|  57.6k|            PyStackRef_CLOSE(v);
  |  |11973|  57.6k|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |11974|  57.6k|            if (err) {
  |  |  ------------------
  |  |  |  Branch (11974:17): [True: 0, False: 57.6k]
  |  |  ------------------
  |  |11975|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |11976|      0|            }
  |  |11977|  57.6k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  57.6k|    { \
  |  |  |  |  201|  57.6k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  57.6k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  57.6k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  57.6k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  57.6k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  57.6k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  57.6k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  57.6k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 57.6k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  57.6k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  57.6k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  57.6k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  57.6k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  57.6k|    }
  |  |  ------------------
  |  |11978|  57.6k|        }
  |  |11979|       |
  |  |11980|     12|        TARGET(STORE_SLICE) {
  |  |  ------------------
  |  |  |  |  132|     12|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |11981|       |            #if _Py_TAIL_CALL_INTERP
  |  |11982|       |            int opcode = STORE_SLICE;
  |  |11983|       |            (void)(opcode);
  |  |11984|       |            #endif
  |  |11985|     12|            frame->instr_ptr = next_instr;
  |  |11986|     12|            next_instr += 1;
  |  |11987|     12|            INSTRUCTION_STATS(STORE_SLICE);
  |  |  ------------------
  |  |  |  |   71|     12|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |11988|     12|            _PyStackRef v;
  |  |11989|     12|            _PyStackRef container;
  |  |11990|     12|            _PyStackRef start;
  |  |11991|     12|            _PyStackRef stop;
  |  |11992|       |            // _SPECIALIZE_STORE_SLICE
  |  |11993|     12|            {
  |  |11994|     12|                #if ENABLE_SPECIALIZATION
  |  |11995|     12|                OPCODE_DEFERRED_INC(STORE_SLICE);
  |  |  ------------------
  |  |  |  |   90|     12|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |11996|     12|                #endif  /* ENABLE_SPECIALIZATION */
  |  |11997|     12|            }
  |  |11998|       |            // _STORE_SLICE
  |  |11999|     12|            {
  |  |12000|     12|                stop = stack_pointer[-1];
  |  |12001|     12|                start = stack_pointer[-2];
  |  |12002|     12|                container = stack_pointer[-3];
  |  |12003|     12|                v = stack_pointer[-4];
  |  |12004|     12|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12005|     12|                PyObject *slice = _PyBuildSlice_ConsumeRefs(PyStackRef_AsPyObjectSteal(start),
  |  |12006|     12|                    PyStackRef_AsPyObjectSteal(stop));
  |  |12007|     12|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |12008|     12|                int err;
  |  |12009|     12|                if (slice == NULL) {
  |  |  ------------------
  |  |  |  Branch (12009:21): [True: 0, False: 12]
  |  |  ------------------
  |  |12010|      0|                    err = 1;
  |  |12011|      0|                }
  |  |12012|     12|                else {
  |  |12013|     12|                    stack_pointer += -2;
  |  |12014|     12|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     12|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12015|     12|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12016|     12|                    err = PyObject_SetItem(PyStackRef_AsPyObjectBorrow(container), slice, PyStackRef_AsPyObjectBorrow(v));
  |  |12017|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12018|     12|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |12019|     12|                    stack_pointer += 2;
  |  |12020|     12|                }
  |  |12021|     12|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12022|     12|                _PyStackRef tmp = container;
  |  |12023|     12|                container = PyStackRef_NULL;
  |  |12024|     12|                stack_pointer[-3] = container;
  |  |12025|     12|                PyStackRef_CLOSE(tmp);
  |  |12026|     12|                tmp = v;
  |  |12027|     12|                v = PyStackRef_NULL;
  |  |12028|     12|                stack_pointer[-4] = v;
  |  |12029|     12|                PyStackRef_CLOSE(tmp);
  |  |12030|     12|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |12031|     12|                stack_pointer += -4;
  |  |12032|     12|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|     12|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12033|     12|                if (err) {
  |  |  ------------------
  |  |  |  Branch (12033:21): [True: 0, False: 12]
  |  |  ------------------
  |  |12034|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |12035|      0|                }
  |  |12036|     12|            }
  |  |12037|     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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|     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|    }
  |  |  ------------------
  |  |12038|     12|        }
  |  |12039|       |
  |  |12040|  9.99M|        TARGET(STORE_SUBSCR) {
  |  |  ------------------
  |  |  |  |  132|  9.99M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12041|       |            #if _Py_TAIL_CALL_INTERP
  |  |12042|       |            int opcode = STORE_SUBSCR;
  |  |12043|       |            (void)(opcode);
  |  |12044|       |            #endif
  |  |12045|  9.99M|            frame->instr_ptr = next_instr;
  |  |12046|  9.99M|            next_instr += 2;
  |  |12047|  9.99M|            INSTRUCTION_STATS(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |   71|  9.99M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12048|  9.99M|            PREDICTED_STORE_SUBSCR:;
  |  |12049|  9.99M|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  |12050|  9.99M|            (void)this_instr;
  |  |12051|  9.99M|            _PyStackRef container;
  |  |12052|  9.99M|            _PyStackRef sub;
  |  |12053|  9.99M|            _PyStackRef v;
  |  |12054|       |            // _SPECIALIZE_STORE_SUBSCR
  |  |12055|  9.99M|            {
  |  |12056|  9.99M|                sub = stack_pointer[-1];
  |  |12057|  9.99M|                container = stack_pointer[-2];
  |  |12058|  9.99M|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |12059|  9.99M|                (void)counter;
  |  |12060|  9.99M|                #if ENABLE_SPECIALIZATION
  |  |12061|  9.99M|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  354|  9.99M|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (354:5): [True: 1.64k, False: 9.99M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12062|  1.64k|                    next_instr = this_instr;
  |  |12063|  1.64k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12064|  1.64k|                    _Py_Specialize_StoreSubscr(container, sub, next_instr);
  |  |12065|  1.64k|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |12066|  1.64k|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|  1.64k|    { \
  |  |  |  |  217|  1.64k|        opcode = next_instr->op.code; \
  |  |  |  |  218|  1.64k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.64k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|  1.64k|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|  1.64k|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|  1.64k|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|  1.64k|    }
  |  |  ------------------
  |  |12067|  1.64k|                }
  |  |12068|  9.99M|                OPCODE_DEFERRED_INC(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |   90|  9.99M|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |12069|  9.99M|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  357|  9.99M|    do { \
  |  |  |  |  358|  9.99M|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  359|  9.99M|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (359:14): [Folded, False: 9.99M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12070|  9.99M|                #endif  /* ENABLE_SPECIALIZATION */
  |  |12071|  9.99M|            }
  |  |12072|       |            // _STORE_SUBSCR
  |  |12073|  9.99M|            {
  |  |12074|  9.99M|                v = stack_pointer[-3];
  |  |12075|  9.99M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12076|  9.99M|                int err = PyObject_SetItem(PyStackRef_AsPyObjectBorrow(container), PyStackRef_AsPyObjectBorrow(sub), PyStackRef_AsPyObjectBorrow(v));
  |  |12077|  9.99M|                _PyStackRef tmp = sub;
  |  |12078|  9.99M|                sub = PyStackRef_NULL;
  |  |12079|  9.99M|                stack_pointer[-1] = sub;
  |  |12080|  9.99M|                PyStackRef_CLOSE(tmp);
  |  |12081|  9.99M|                tmp = container;
  |  |12082|  9.99M|                container = PyStackRef_NULL;
  |  |12083|  9.99M|                stack_pointer[-2] = container;
  |  |12084|  9.99M|                PyStackRef_CLOSE(tmp);
  |  |12085|  9.99M|                tmp = v;
  |  |12086|  9.99M|                v = PyStackRef_NULL;
  |  |12087|  9.99M|                stack_pointer[-3] = v;
  |  |12088|  9.99M|                PyStackRef_CLOSE(tmp);
  |  |12089|  9.99M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |12090|  9.99M|                stack_pointer += -3;
  |  |12091|  9.99M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  9.99M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12092|  9.99M|                if (err) {
  |  |  ------------------
  |  |  |  Branch (12092:21): [True: 6, False: 9.99M]
  |  |  ------------------
  |  |12093|      6|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      6|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |12094|      0|                }
  |  |12095|  9.99M|            }
  |  |12096|  9.99M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  9.99M|    { \
  |  |  |  |  201|  9.99M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  9.99M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  9.99M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  9.99M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  9.99M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  9.99M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  9.99M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  9.99M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 9.99M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  9.99M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  9.99M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  9.99M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  9.99M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  9.99M|    }
  |  |  ------------------
  |  |12097|  9.99M|        }
  |  |12098|       |
  |  |12099|   790k|        TARGET(STORE_SUBSCR_DICT) {
  |  |  ------------------
  |  |  |  |  132|   790k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12100|       |            #if _Py_TAIL_CALL_INTERP
  |  |12101|       |            int opcode = STORE_SUBSCR_DICT;
  |  |12102|       |            (void)(opcode);
  |  |12103|       |            #endif
  |  |12104|   790k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12105|   790k|            (void)this_instr;
  |  |12106|   790k|            frame->instr_ptr = next_instr;
  |  |12107|   790k|            next_instr += 2;
  |  |12108|   790k|            INSTRUCTION_STATS(STORE_SUBSCR_DICT);
  |  |  ------------------
  |  |  |  |   71|   790k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12109|   790k|            static_assert(INLINE_CACHE_ENTRIES_STORE_SUBSCR == 1, "incorrect cache size");
  |  |12110|   790k|            _PyStackRef nos;
  |  |12111|   790k|            _PyStackRef value;
  |  |12112|   790k|            _PyStackRef dict_st;
  |  |12113|   790k|            _PyStackRef sub;
  |  |12114|   790k|            _PyStackRef st;
  |  |12115|       |            // _GUARD_NOS_DICT_STORE_SUBSCRIPT
  |  |12116|   790k|            {
  |  |12117|   790k|                nos = stack_pointer[-2];
  |  |12118|   790k|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  |12119|   790k|                if (!Py_TYPE(o)->tp_as_mapping) {
  |  |  ------------------
  |  |  |  |  213|   790k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   790k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   790k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12119:21): [True: 0, False: 790k]
  |  |  ------------------
  |  |12120|      0|                    UPDATE_MISS_STATS(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12121|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_SUBSCR));
  |  |12122|      0|                    JUMP_TO_PREDICTED(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12123|      0|                }
  |  |12124|   790k|                if (Py_TYPE(o)->tp_as_mapping->mp_ass_subscript != _PyDict_StoreSubscript) {
  |  |  ------------------
  |  |  |  |  213|   790k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   790k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   790k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12124:21): [True: 0, False: 790k]
  |  |  ------------------
  |  |12125|      0|                    UPDATE_MISS_STATS(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12126|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_SUBSCR));
  |  |12127|      0|                    JUMP_TO_PREDICTED(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12128|      0|                }
  |  |12129|   790k|            }
  |  |12130|       |            /* Skip 1 cache entry */
  |  |12131|       |            // _STORE_SUBSCR_DICT
  |  |12132|   790k|            {
  |  |12133|   790k|                sub = stack_pointer[-1];
  |  |12134|   790k|                dict_st = nos;
  |  |12135|   790k|                value = stack_pointer[-3];
  |  |12136|   790k|                PyObject *dict = PyStackRef_AsPyObjectBorrow(dict_st);
  |  |12137|   790k|                assert(Py_TYPE(dict)->tp_as_mapping->mp_ass_subscript == _PyDict_StoreSubscript);
  |  |12138|   790k|                STAT_INC(STORE_SUBSCR, hit);
  |  |  ------------------
  |  |  |  |   73|   790k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |12139|   790k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12140|   790k|                int err = _PyDict_SetItem_Take2((PyDictObject *)dict,
  |  |12141|   790k|                    PyStackRef_AsPyObjectSteal(sub),
  |  |12142|   790k|                    PyStackRef_AsPyObjectSteal(value));
  |  |12143|   790k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |12144|   790k|                if (err) {
  |  |  ------------------
  |  |  |  Branch (12144:21): [True: 0, False: 790k]
  |  |  ------------------
  |  |12145|      0|                    stack_pointer += -3;
  |  |12146|      0|                    ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12147|      0|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12148|      0|                    PyStackRef_CLOSE(dict_st);
  |  |12149|      0|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |12150|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |12151|      0|                }
  |  |12152|   790k|                st = dict_st;
  |  |12153|   790k|            }
  |  |12154|       |            // _POP_TOP
  |  |12155|      0|            {
  |  |12156|   790k|                value = st;
  |  |12157|   790k|                stack_pointer += -3;
  |  |12158|   790k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   790k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12159|   790k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12160|   790k|                PyStackRef_XCLOSE(value);
  |  |12161|   790k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |12162|   790k|            }
  |  |12163|   790k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   790k|    { \
  |  |  |  |  201|   790k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|   790k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|   790k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|   790k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|   790k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|   790k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|   790k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|   790k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 790k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   790k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   790k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   790k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   790k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   790k|    }
  |  |  ------------------
  |  |12164|   790k|        }
  |  |12165|       |
  |  |12166|  58.6k|        TARGET(STORE_SUBSCR_LIST_INT) {
  |  |  ------------------
  |  |  |  |  132|  58.6k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12167|       |            #if _Py_TAIL_CALL_INTERP
  |  |12168|       |            int opcode = STORE_SUBSCR_LIST_INT;
  |  |12169|       |            (void)(opcode);
  |  |12170|       |            #endif
  |  |12171|  58.6k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12172|  58.6k|            (void)this_instr;
  |  |12173|  58.6k|            frame->instr_ptr = next_instr;
  |  |12174|  58.6k|            next_instr += 2;
  |  |12175|  58.6k|            INSTRUCTION_STATS(STORE_SUBSCR_LIST_INT);
  |  |  ------------------
  |  |  |  |   71|  58.6k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12176|  58.6k|            static_assert(INLINE_CACHE_ENTRIES_STORE_SUBSCR == 1, "incorrect cache size");
  |  |12177|  58.6k|            _PyStackRef value;
  |  |12178|  58.6k|            _PyStackRef nos;
  |  |12179|  58.6k|            _PyStackRef list_st;
  |  |12180|  58.6k|            _PyStackRef sub_st;
  |  |12181|  58.6k|            _PyStackRef ls;
  |  |12182|  58.6k|            _PyStackRef ss;
  |  |12183|       |            // _GUARD_TOS_INT
  |  |12184|  58.6k|            {
  |  |12185|  58.6k|                value = stack_pointer[-1];
  |  |12186|  58.6k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |12187|  58.6k|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (12187:21): [True: 0, False: 58.6k]
  |  |  ------------------
  |  |12188|      0|                    UPDATE_MISS_STATS(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12189|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_SUBSCR));
  |  |12190|      0|                    JUMP_TO_PREDICTED(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12191|      0|                }
  |  |12192|  58.6k|            }
  |  |12193|       |            // _GUARD_NOS_LIST
  |  |12194|  58.6k|            {
  |  |12195|  58.6k|                nos = stack_pointer[-2];
  |  |12196|  58.6k|                PyObject *o = PyStackRef_AsPyObjectBorrow(nos);
  |  |12197|  58.6k|                if (!PyList_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   26|  58.6k|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  58.6k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  58.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  58.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12197:21): [True: 0, False: 58.6k]
  |  |  ------------------
  |  |12198|      0|                    UPDATE_MISS_STATS(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12199|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_SUBSCR));
  |  |12200|      0|                    JUMP_TO_PREDICTED(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12201|      0|                }
  |  |12202|  58.6k|            }
  |  |12203|       |            /* Skip 1 cache entry */
  |  |12204|       |            // _STORE_SUBSCR_LIST_INT
  |  |12205|  58.6k|            {
  |  |12206|  58.6k|                sub_st = value;
  |  |12207|  58.6k|                list_st = nos;
  |  |12208|  58.6k|                value = stack_pointer[-3];
  |  |12209|  58.6k|                PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
  |  |12210|  58.6k|                PyObject *list = PyStackRef_AsPyObjectBorrow(list_st);
  |  |12211|  58.6k|                assert(PyLong_CheckExact(sub));
  |  |12212|  58.6k|                assert(PyList_CheckExact(list));
  |  |12213|  58.6k|                Py_ssize_t index = _PyLong_CompactValue((PyLongObject *)sub);
  |  |12214|  58.6k|                if (!LOCK_OBJECT(list)) {
  |  |  ------------------
  |  |  |  |  321|  58.6k|#  define LOCK_OBJECT(op) (1)
  |  |  ------------------
  |  |  |  Branch (12214:21): [Folded, False: 58.6k]
  |  |  ------------------
  |  |12215|      0|                    UPDATE_MISS_STATS(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12216|      0|                    assert(_PyOpcode_Deopt[opcode] == (STORE_SUBSCR));
  |  |12217|      0|                    JUMP_TO_PREDICTED(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12218|      0|                }
  |  |12219|  58.6k|                Py_ssize_t len = PyList_GET_SIZE(list);
  |  |  ------------------
  |  |  |  |   38|  58.6k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  58.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  58.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12220|  58.6k|                if (index < 0) {
  |  |  ------------------
  |  |  |  Branch (12220:21): [True: 0, False: 58.6k]
  |  |  ------------------
  |  |12221|      0|                    index += len;
  |  |12222|      0|                }
  |  |12223|  58.6k|                if (index < 0 || index >= len) {
  |  |  ------------------
  |  |  |  Branch (12223:21): [True: 0, False: 58.6k]
  |  |  |  Branch (12223:34): [True: 0, False: 58.6k]
  |  |  ------------------
  |  |12224|      0|                    UNLOCK_OBJECT(list);
  |  |  ------------------
  |  |  |  |  322|      0|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |12225|      0|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (12225:25): [True: 0, Folded]
  |  |  ------------------
  |  |12226|      0|                        UPDATE_MISS_STATS(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12227|      0|                        assert(_PyOpcode_Deopt[opcode] == (STORE_SUBSCR));
  |  |12228|      0|                        JUMP_TO_PREDICTED(STORE_SUBSCR);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12229|      0|                    }
  |  |12230|      0|                }
  |  |12231|  58.6k|                STAT_INC(STORE_SUBSCR, hit);
  |  |  ------------------
  |  |  |  |   73|  58.6k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |12232|  58.6k|                PyObject *old_value = PyList_GET_ITEM(list, index);
  |  |  ------------------
  |  |  |  |   40|  58.6k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  |  |  ------------------
  |  |  |  |  |  |   26|  58.6k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  58.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12233|  58.6k|                FT_ATOMIC_STORE_PTR_RELEASE(_PyList_ITEMS(list)[index],
  |  |  ------------------
  |  |  |  |  163|  58.6k|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  |  |12234|  58.6k|                                        PyStackRef_AsPyObjectSteal(value));
  |  |12235|  58.6k|                assert(old_value != NULL);
  |  |12236|  58.6k|                UNLOCK_OBJECT(list);
  |  |  ------------------
  |  |  |  |  322|  58.6k|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |12237|  58.6k|                ls = list_st;
  |  |12238|  58.6k|                ss = sub_st;
  |  |12239|  58.6k|                stack_pointer[-3] = ls;
  |  |12240|  58.6k|                stack_pointer[-2] = ss;
  |  |12241|  58.6k|                stack_pointer += -1;
  |  |12242|  58.6k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  58.6k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12243|  58.6k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12244|  58.6k|                Py_DECREF(old_value);
  |  |  ------------------
  |  |  |  |   80|  58.6k|    do { \
  |  |  |  |   81|  58.6k|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  58.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  58.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|  58.6k|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|  58.6k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  58.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  58.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 1.47k, False: 57.1k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|  1.47k|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|  1.47k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|  1.47k|            break; \
  |  |  |  |   85|  1.47k|        } \
  |  |  |  |   86|  58.6k|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|  57.1k|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|  57.1k|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 494, False: 56.6k]
  |  |  |  |  ------------------
  |  |  |  |   88|    494|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|    494|    do { \
  |  |  |  |  |  |  113|    494|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|    494|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 494]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|    494|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 494]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|    494|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|    494|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    494|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    494|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|    494|            (*dealloc)(op); \
  |  |  |  |   91|    494|        } \
  |  |  |  |   92|  57.1k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 57.1k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12245|  58.6k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |12246|  58.6k|            }
  |  |12247|       |            // _POP_TOP_INT
  |  |12248|      0|            {
  |  |12249|  58.6k|                value = ss;
  |  |12250|  58.6k|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |12251|  58.6k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  |12252|  58.6k|            }
  |  |12253|       |            // _POP_TOP
  |  |12254|  58.6k|            {
  |  |12255|  58.6k|                value = ls;
  |  |12256|  58.6k|                stack_pointer += -2;
  |  |12257|  58.6k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  58.6k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12258|  58.6k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12259|  58.6k|                PyStackRef_XCLOSE(value);
  |  |12260|  58.6k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |12261|  58.6k|            }
  |  |12262|  58.6k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  58.6k|    { \
  |  |  |  |  201|  58.6k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  58.6k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  58.6k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  58.6k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  58.6k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  58.6k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  58.6k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  58.6k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 58.6k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  58.6k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  58.6k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  58.6k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  58.6k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  58.6k|    }
  |  |  ------------------
  |  |12263|  58.6k|        }
  |  |12264|       |
  |  |12265|  40.3M|        TARGET(SWAP) {
  |  |  ------------------
  |  |  |  |  132|  40.3M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12266|       |            #if _Py_TAIL_CALL_INTERP
  |  |12267|       |            int opcode = SWAP;
  |  |12268|       |            (void)(opcode);
  |  |12269|       |            #endif
  |  |12270|  40.3M|            frame->instr_ptr = next_instr;
  |  |12271|  40.3M|            next_instr += 1;
  |  |12272|  40.3M|            INSTRUCTION_STATS(SWAP);
  |  |  ------------------
  |  |  |  |   71|  40.3M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12273|  40.3M|            _PyStackRef bottom;
  |  |12274|  40.3M|            _PyStackRef top;
  |  |12275|  40.3M|            top = stack_pointer[-1];
  |  |12276|  40.3M|            bottom = stack_pointer[-2 - (oparg-2)];
  |  |12277|  40.3M|            _PyStackRef temp = bottom;
  |  |12278|  40.3M|            bottom = top;
  |  |12279|  40.3M|            top = temp;
  |  |12280|  40.3M|            stack_pointer[-2 - (oparg-2)] = bottom;
  |  |12281|  40.3M|            stack_pointer[-1] = top;
  |  |12282|  40.3M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  40.3M|    { \
  |  |  |  |  201|  40.3M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  40.3M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  40.3M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  40.3M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  40.3M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  40.3M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  40.3M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  40.3M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 40.3M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  40.3M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  40.3M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  40.3M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  40.3M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  40.3M|    }
  |  |  ------------------
  |  |12283|  40.3M|        }
  |  |12284|       |
  |  |12285|  40.3M|        TARGET(TO_BOOL) {
  |  |  ------------------
  |  |  |  |  132|  96.5k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12286|       |            #if _Py_TAIL_CALL_INTERP
  |  |12287|       |            int opcode = TO_BOOL;
  |  |12288|       |            (void)(opcode);
  |  |12289|       |            #endif
  |  |12290|  96.5k|            frame->instr_ptr = next_instr;
  |  |12291|  96.5k|            next_instr += 4;
  |  |12292|  96.5k|            INSTRUCTION_STATS(TO_BOOL);
  |  |  ------------------
  |  |  |  |   71|  96.5k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12293|   113k|            PREDICTED_TO_BOOL:;
  |  |12294|   113k|            _Py_CODEUNIT* const this_instr = next_instr - 4;
  |  |12295|   113k|            (void)this_instr;
  |  |12296|   113k|            _PyStackRef value;
  |  |12297|   113k|            _PyStackRef res;
  |  |12298|       |            // _SPECIALIZE_TO_BOOL
  |  |12299|   113k|            {
  |  |12300|   113k|                value = stack_pointer[-1];
  |  |12301|   113k|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |12302|   113k|                (void)counter;
  |  |12303|   113k|                #if ENABLE_SPECIALIZATION
  |  |12304|   113k|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  354|   113k|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (354:5): [True: 2.48k, False: 110k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12305|  2.48k|                    next_instr = this_instr;
  |  |12306|  2.48k|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12307|  2.48k|                    _Py_Specialize_ToBool(value, next_instr);
  |  |12308|  2.48k|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |12309|  2.48k|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|  2.48k|    { \
  |  |  |  |  217|  2.48k|        opcode = next_instr->op.code; \
  |  |  |  |  218|  2.48k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.48k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|  2.48k|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|  2.48k|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|  2.48k|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|  2.48k|    }
  |  |  ------------------
  |  |12310|  2.48k|                }
  |  |12311|   113k|                OPCODE_DEFERRED_INC(TO_BOOL);
  |  |  ------------------
  |  |  |  |   90|   113k|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |12312|   113k|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  357|   113k|    do { \
  |  |  |  |  358|   113k|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  359|   113k|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (359:14): [Folded, False: 113k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12313|   113k|                #endif  /* ENABLE_SPECIALIZATION */
  |  |12314|   113k|            }
  |  |12315|       |            /* Skip 2 cache entries */
  |  |12316|       |            // _TO_BOOL
  |  |12317|   113k|            {
  |  |12318|   113k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12319|   113k|                int err = PyObject_IsTrue(PyStackRef_AsPyObjectBorrow(value));
  |  |12320|   113k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |12321|   113k|                stack_pointer += -1;
  |  |12322|   113k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   113k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12323|   113k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12324|   113k|                PyStackRef_CLOSE(value);
  |  |12325|   113k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |12326|   113k|                if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (12326:21): [True: 0, False: 113k]
  |  |  ------------------
  |  |12327|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |12328|      0|                }
  |  |12329|   113k|                res = err ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  471|  73.3k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  73.3k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = err ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  472|   152k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  39.7k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12329:23): [True: 73.3k, False: 39.7k]
  |  |  ------------------
  |  |12330|   113k|            }
  |  |12331|      0|            stack_pointer[0] = res;
  |  |12332|   113k|            stack_pointer += 1;
  |  |12333|   113k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|   113k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12334|   113k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   113k|    { \
  |  |  |  |  201|   113k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|   113k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|   113k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|   113k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|   113k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|   113k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|   113k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|   113k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 113k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   113k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   113k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   113k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   113k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   113k|    }
  |  |  ------------------
  |  |12335|   113k|        }
  |  |12336|       |
  |  |12337|  42.9k|        TARGET(TO_BOOL_ALWAYS_TRUE) {
  |  |  ------------------
  |  |  |  |  132|  42.9k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12338|       |            #if _Py_TAIL_CALL_INTERP
  |  |12339|       |            int opcode = TO_BOOL_ALWAYS_TRUE;
  |  |12340|       |            (void)(opcode);
  |  |12341|       |            #endif
  |  |12342|  42.9k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12343|  42.9k|            (void)this_instr;
  |  |12344|  42.9k|            frame->instr_ptr = next_instr;
  |  |12345|  42.9k|            next_instr += 4;
  |  |12346|  42.9k|            INSTRUCTION_STATS(TO_BOOL_ALWAYS_TRUE);
  |  |  ------------------
  |  |  |  |   71|  42.9k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12347|  42.9k|            static_assert(INLINE_CACHE_ENTRIES_TO_BOOL == 3, "incorrect cache size");
  |  |12348|  42.9k|            _PyStackRef owner;
  |  |12349|  42.9k|            _PyStackRef value;
  |  |12350|  42.9k|            _PyStackRef res;
  |  |12351|  42.9k|            _PyStackRef v;
  |  |12352|       |            /* Skip 1 cache entry */
  |  |12353|       |            // _GUARD_TYPE_VERSION
  |  |12354|  42.9k|            {
  |  |12355|  42.9k|                owner = stack_pointer[-1];
  |  |12356|  42.9k|                uint32_t type_version = read_u32(&this_instr[2].cache);
  |  |12357|  42.9k|                PyTypeObject *tp = Py_TYPE(PyStackRef_AsPyObjectBorrow(owner));
  |  |  ------------------
  |  |  |  |  213|  42.9k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  42.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  42.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12358|  42.9k|                assert(type_version != 0);
  |  |12359|  42.9k|                if (FT_ATOMIC_LOAD_UINT_RELAXED(tp->tp_version_tag) != type_version) {
  |  |  ------------------
  |  |  |  |  188|  42.9k|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  |  |  ------------------
  |  |  |  Branch (12359:21): [True: 10.4k, False: 32.4k]
  |  |  ------------------
  |  |12360|  10.4k|                    UPDATE_MISS_STATS(TO_BOOL);
  |  |  ------------------
  |  |  |  |  298|  10.4k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12361|  10.4k|                    assert(_PyOpcode_Deopt[opcode] == (TO_BOOL));
  |  |12362|  10.4k|                    JUMP_TO_PREDICTED(TO_BOOL);
  |  |  ------------------
  |  |  |  |  136|  10.4k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12363|      0|                }
  |  |12364|  42.9k|            }
  |  |12365|       |            // _REPLACE_WITH_TRUE
  |  |12366|  32.4k|            {
  |  |12367|  32.4k|                value = owner;
  |  |12368|  32.4k|                res = PyStackRef_True;
  |  |  ------------------
  |  |  |  |  471|  32.4k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  32.4k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12369|  32.4k|                v = value;
  |  |12370|  32.4k|            }
  |  |12371|       |            // _POP_TOP
  |  |12372|  32.4k|            {
  |  |12373|  32.4k|                value = v;
  |  |12374|  32.4k|                stack_pointer[-1] = res;
  |  |12375|  32.4k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12376|  32.4k|                PyStackRef_XCLOSE(value);
  |  |12377|  32.4k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |12378|  32.4k|            }
  |  |12379|  32.4k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  32.4k|    { \
  |  |  |  |  201|  32.4k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  32.4k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  32.4k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  32.4k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  32.4k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  32.4k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  32.4k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  32.4k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 32.4k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  32.4k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  32.4k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  32.4k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  32.4k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  32.4k|    }
  |  |  ------------------
  |  |12380|  32.4k|        }
  |  |12381|       |
  |  |12382|  24.5M|        TARGET(TO_BOOL_BOOL) {
  |  |  ------------------
  |  |  |  |  132|  24.5M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12383|       |            #if _Py_TAIL_CALL_INTERP
  |  |12384|       |            int opcode = TO_BOOL_BOOL;
  |  |12385|       |            (void)(opcode);
  |  |12386|       |            #endif
  |  |12387|  24.5M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12388|  24.5M|            (void)this_instr;
  |  |12389|  24.5M|            frame->instr_ptr = next_instr;
  |  |12390|  24.5M|            next_instr += 4;
  |  |12391|  24.5M|            INSTRUCTION_STATS(TO_BOOL_BOOL);
  |  |  ------------------
  |  |  |  |   71|  24.5M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12392|  24.5M|            static_assert(INLINE_CACHE_ENTRIES_TO_BOOL == 3, "incorrect cache size");
  |  |12393|  24.5M|            _PyStackRef value;
  |  |12394|       |            /* Skip 1 cache entry */
  |  |12395|       |            /* Skip 2 cache entries */
  |  |12396|  24.5M|            value = stack_pointer[-1];
  |  |12397|  24.5M|            if (!PyStackRef_BoolCheck(value)) {
  |  |  ------------------
  |  |  |  Branch (12397:17): [True: 384, False: 24.5M]
  |  |  ------------------
  |  |12398|    384|                UPDATE_MISS_STATS(TO_BOOL);
  |  |  ------------------
  |  |  |  |  298|    384|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12399|    384|                assert(_PyOpcode_Deopt[opcode] == (TO_BOOL));
  |  |12400|    384|                JUMP_TO_PREDICTED(TO_BOOL);
  |  |  ------------------
  |  |  |  |  136|    384|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12401|      0|            }
  |  |12402|  24.5M|            STAT_INC(TO_BOOL, hit);
  |  |  ------------------
  |  |  |  |   73|  24.5M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |12403|  24.5M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  24.5M|    { \
  |  |  |  |  201|  24.5M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  24.5M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  24.5M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  24.5M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  24.5M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  24.5M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  24.5M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  24.5M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 24.5M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  24.5M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  24.5M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  24.5M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  24.5M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  24.5M|    }
  |  |  ------------------
  |  |12404|  24.5M|        }
  |  |12405|       |
  |  |12406|   200k|        TARGET(TO_BOOL_INT) {
  |  |  ------------------
  |  |  |  |  132|   200k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12407|       |            #if _Py_TAIL_CALL_INTERP
  |  |12408|       |            int opcode = TO_BOOL_INT;
  |  |12409|       |            (void)(opcode);
  |  |12410|       |            #endif
  |  |12411|   200k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12412|   200k|            (void)this_instr;
  |  |12413|   200k|            frame->instr_ptr = next_instr;
  |  |12414|   200k|            next_instr += 4;
  |  |12415|   200k|            INSTRUCTION_STATS(TO_BOOL_INT);
  |  |  ------------------
  |  |  |  |   71|   200k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12416|   200k|            static_assert(INLINE_CACHE_ENTRIES_TO_BOOL == 3, "incorrect cache size");
  |  |12417|   200k|            _PyStackRef value;
  |  |12418|   200k|            _PyStackRef res;
  |  |12419|   200k|            _PyStackRef v;
  |  |12420|       |            // _GUARD_TOS_INT
  |  |12421|   200k|            {
  |  |12422|   200k|                value = stack_pointer[-1];
  |  |12423|   200k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |12424|   200k|                if (!_PyLong_CheckExactAndCompact(value_o)) {
  |  |  ------------------
  |  |  |  Branch (12424:21): [True: 501, False: 200k]
  |  |  ------------------
  |  |12425|    501|                    UPDATE_MISS_STATS(TO_BOOL);
  |  |  ------------------
  |  |  |  |  298|    501|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12426|    501|                    assert(_PyOpcode_Deopt[opcode] == (TO_BOOL));
  |  |12427|    501|                    JUMP_TO_PREDICTED(TO_BOOL);
  |  |  ------------------
  |  |  |  |  136|    501|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12428|      0|                }
  |  |12429|   200k|            }
  |  |12430|       |            /* Skip 1 cache entry */
  |  |12431|       |            /* Skip 2 cache entries */
  |  |12432|       |            // _TO_BOOL_INT
  |  |12433|   200k|            {
  |  |12434|   200k|                STAT_INC(TO_BOOL, hit);
  |  |  ------------------
  |  |  |  |   73|   200k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |12435|   200k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |12436|   200k|                res = (_PyLong_IsZero((PyLongObject *)value_o)) ? PyStackRef_False : PyStackRef_True;
  |  |  ------------------
  |  |  |  |  472|   153k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|   153k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = (_PyLong_IsZero((PyLongObject *)value_o)) ? PyStackRef_False : PyStackRef_True;
  |  |  ------------------
  |  |  |  |  471|   246k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  46.8k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12436:23): [True: 153k, False: 46.8k]
  |  |  ------------------
  |  |12437|   200k|                v = value;
  |  |12438|   200k|            }
  |  |12439|       |            // _POP_TOP_INT
  |  |12440|   200k|            {
  |  |12441|   200k|                value = v;
  |  |12442|   200k|                assert(PyLong_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |12443|   200k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyLong_ExactDealloc);
  |  |12444|   200k|            }
  |  |12445|   200k|            stack_pointer[-1] = res;
  |  |12446|   200k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   200k|    { \
  |  |  |  |  201|   200k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|   200k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|   200k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|   200k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|   200k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|   200k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|   200k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|   200k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 200k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   200k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   200k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   200k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   200k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   200k|    }
  |  |  ------------------
  |  |12447|   200k|        }
  |  |12448|       |
  |  |12449|  2.52M|        TARGET(TO_BOOL_LIST) {
  |  |  ------------------
  |  |  |  |  132|  2.52M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12450|       |            #if _Py_TAIL_CALL_INTERP
  |  |12451|       |            int opcode = TO_BOOL_LIST;
  |  |12452|       |            (void)(opcode);
  |  |12453|       |            #endif
  |  |12454|  2.52M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12455|  2.52M|            (void)this_instr;
  |  |12456|  2.52M|            frame->instr_ptr = next_instr;
  |  |12457|  2.52M|            next_instr += 4;
  |  |12458|  2.52M|            INSTRUCTION_STATS(TO_BOOL_LIST);
  |  |  ------------------
  |  |  |  |   71|  2.52M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12459|  2.52M|            static_assert(INLINE_CACHE_ENTRIES_TO_BOOL == 3, "incorrect cache size");
  |  |12460|  2.52M|            _PyStackRef tos;
  |  |12461|  2.52M|            _PyStackRef value;
  |  |12462|  2.52M|            _PyStackRef res;
  |  |12463|  2.52M|            _PyStackRef v;
  |  |12464|       |            // _GUARD_TOS_LIST
  |  |12465|  2.52M|            {
  |  |12466|  2.52M|                tos = stack_pointer[-1];
  |  |12467|  2.52M|                PyObject *o = PyStackRef_AsPyObjectBorrow(tos);
  |  |12468|  2.52M|                if (!PyList_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   26|  2.52M|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  2.52M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  2.52M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  2.52M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12468:21): [True: 0, False: 2.52M]
  |  |  ------------------
  |  |12469|      0|                    UPDATE_MISS_STATS(TO_BOOL);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12470|      0|                    assert(_PyOpcode_Deopt[opcode] == (TO_BOOL));
  |  |12471|      0|                    JUMP_TO_PREDICTED(TO_BOOL);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12472|      0|                }
  |  |12473|  2.52M|            }
  |  |12474|       |            /* Skip 1 cache entry */
  |  |12475|       |            /* Skip 2 cache entries */
  |  |12476|       |            // _TO_BOOL_LIST
  |  |12477|  2.52M|            {
  |  |12478|  2.52M|                value = tos;
  |  |12479|  2.52M|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |12480|  2.52M|                assert(PyList_CheckExact(value_o));
  |  |12481|  2.52M|                STAT_INC(TO_BOOL, hit);
  |  |  ------------------
  |  |  |  |   73|  2.52M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |12482|  2.52M|                res = PyList_GET_SIZE(value_o) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |   38|  2.52M|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.52M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.52M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (38:29): [True: 2.42M, False: 103k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = PyList_GET_SIZE(value_o) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  471|  2.42M|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  2.42M|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = PyList_GET_SIZE(value_o) ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  472|  2.63M|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|   103k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12483|  2.52M|                v = value;
  |  |12484|  2.52M|            }
  |  |12485|       |            // _POP_TOP
  |  |12486|  2.52M|            {
  |  |12487|  2.52M|                value = v;
  |  |12488|  2.52M|                stack_pointer[-1] = res;
  |  |12489|  2.52M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12490|  2.52M|                PyStackRef_XCLOSE(value);
  |  |12491|  2.52M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |12492|  2.52M|            }
  |  |12493|  2.52M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  2.52M|    { \
  |  |  |  |  201|  2.52M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  2.52M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  2.52M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  2.52M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  2.52M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  2.52M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  2.52M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  2.52M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 2.52M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  2.52M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  2.52M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  2.52M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  2.52M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  2.52M|    }
  |  |  ------------------
  |  |12494|  2.52M|        }
  |  |12495|       |
  |  |12496|   311k|        TARGET(TO_BOOL_NONE) {
  |  |  ------------------
  |  |  |  |  132|   311k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12497|       |            #if _Py_TAIL_CALL_INTERP
  |  |12498|       |            int opcode = TO_BOOL_NONE;
  |  |12499|       |            (void)(opcode);
  |  |12500|       |            #endif
  |  |12501|   311k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12502|   311k|            (void)this_instr;
  |  |12503|   311k|            frame->instr_ptr = next_instr;
  |  |12504|   311k|            next_instr += 4;
  |  |12505|   311k|            INSTRUCTION_STATS(TO_BOOL_NONE);
  |  |  ------------------
  |  |  |  |   71|   311k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12506|   311k|            static_assert(INLINE_CACHE_ENTRIES_TO_BOOL == 3, "incorrect cache size");
  |  |12507|   311k|            _PyStackRef value;
  |  |12508|   311k|            _PyStackRef res;
  |  |12509|       |            /* Skip 1 cache entry */
  |  |12510|       |            /* Skip 2 cache entries */
  |  |12511|   311k|            value = stack_pointer[-1];
  |  |12512|   311k|            if (!PyStackRef_IsNone(value)) {
  |  |  ------------------
  |  |  |  |  483|   311k|#define PyStackRef_IsNone(REF) ((REF).bits == (((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|   311k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12512:17): [True: 5.07k, False: 306k]
  |  |  ------------------
  |  |12513|  5.07k|                UPDATE_MISS_STATS(TO_BOOL);
  |  |  ------------------
  |  |  |  |  298|  5.07k|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12514|  5.07k|                assert(_PyOpcode_Deopt[opcode] == (TO_BOOL));
  |  |12515|  5.07k|                JUMP_TO_PREDICTED(TO_BOOL);
  |  |  ------------------
  |  |  |  |  136|  5.07k|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12516|      0|            }
  |  |12517|   306k|            STAT_INC(TO_BOOL, hit);
  |  |  ------------------
  |  |  |  |   73|   306k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |12518|   306k|            res = PyStackRef_False;
  |  |  ------------------
  |  |  |  |  472|   306k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|   306k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12519|   306k|            stack_pointer[-1] = res;
  |  |12520|   306k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   306k|    { \
  |  |  |  |  201|   306k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|   306k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|   306k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|   306k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|   306k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|   306k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|   306k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|   306k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 306k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   306k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   306k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   306k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   306k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   306k|    }
  |  |  ------------------
  |  |12521|   306k|        }
  |  |12522|       |
  |  |12523|   267k|        TARGET(TO_BOOL_STR) {
  |  |  ------------------
  |  |  |  |  132|   267k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12524|       |            #if _Py_TAIL_CALL_INTERP
  |  |12525|       |            int opcode = TO_BOOL_STR;
  |  |12526|       |            (void)(opcode);
  |  |12527|       |            #endif
  |  |12528|   267k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12529|   267k|            (void)this_instr;
  |  |12530|   267k|            frame->instr_ptr = next_instr;
  |  |12531|   267k|            next_instr += 4;
  |  |12532|   267k|            INSTRUCTION_STATS(TO_BOOL_STR);
  |  |  ------------------
  |  |  |  |   71|   267k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12533|   267k|            static_assert(INLINE_CACHE_ENTRIES_TO_BOOL == 3, "incorrect cache size");
  |  |12534|   267k|            _PyStackRef value;
  |  |12535|   267k|            _PyStackRef res;
  |  |12536|   267k|            _PyStackRef v;
  |  |12537|       |            // _GUARD_TOS_UNICODE
  |  |12538|   267k|            {
  |  |12539|   267k|                value = stack_pointer[-1];
  |  |12540|   267k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |12541|   267k|                if (!PyUnicode_CheckExact(value_o)) {
  |  |  ------------------
  |  |  |  |  104|   267k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|   267k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|   267k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|   267k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12541:21): [True: 128, False: 266k]
  |  |  ------------------
  |  |12542|    128|                    UPDATE_MISS_STATS(TO_BOOL);
  |  |  ------------------
  |  |  |  |  298|    128|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12543|    128|                    assert(_PyOpcode_Deopt[opcode] == (TO_BOOL));
  |  |12544|    128|                    JUMP_TO_PREDICTED(TO_BOOL);
  |  |  ------------------
  |  |  |  |  136|    128|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12545|      0|                }
  |  |12546|   267k|            }
  |  |12547|       |            /* Skip 1 cache entry */
  |  |12548|       |            /* Skip 2 cache entries */
  |  |12549|       |            // _TO_BOOL_STR
  |  |12550|   266k|            {
  |  |12551|   266k|                STAT_INC(TO_BOOL, hit);
  |  |  ------------------
  |  |  |  |   73|   266k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |12552|   266k|                PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
  |  |12553|   266k|                res = value_o == &_Py_STR(empty) ? PyStackRef_False : PyStackRef_True;
  |  |  ------------------
  |  |  |  |  917|   266k|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  |  |  ------------------
  |  |  |  |  |  |   18|   266k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   16|   266k|    _PyRuntime.static_objects.NAME
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = value_o == &_Py_STR(empty) ? PyStackRef_False : PyStackRef_True;
  |  |  ------------------
  |  |  |  |  472|  4.54k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  4.54k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                               res = value_o == &_Py_STR(empty) ? PyStackRef_False : PyStackRef_True;
  |  |  ------------------
  |  |  |  |  471|   529k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|   262k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12553:23): [True: 4.54k, False: 262k]
  |  |  ------------------
  |  |12554|   266k|                v = value;
  |  |12555|   266k|            }
  |  |12556|       |            // _POP_TOP_UNICODE
  |  |12557|   266k|            {
  |  |12558|   266k|                value = v;
  |  |12559|   266k|                assert(PyUnicode_CheckExact(PyStackRef_AsPyObjectBorrow(value)));
  |  |12560|   266k|                PyStackRef_CLOSE_SPECIALIZED(value, _PyUnicode_ExactDealloc);
  |  |12561|   266k|            }
  |  |12562|   266k|            stack_pointer[-1] = res;
  |  |12563|   266k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|   266k|    { \
  |  |  |  |  201|   266k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|   266k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|   266k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|   266k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|   266k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|   266k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|   266k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|   266k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 266k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|   266k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|   266k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|   266k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|   266k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|   266k|    }
  |  |  ------------------
  |  |12564|   266k|        }
  |  |12565|       |
  |  |12566|      0|        TARGET(TRACE_RECORD) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12567|       |            #if _Py_TAIL_CALL_INTERP
  |  |12568|       |            int opcode = TRACE_RECORD;
  |  |12569|       |            (void)(opcode);
  |  |12570|       |            #endif
  |  |12571|      0|            _Py_CODEUNIT* const prev_instr = frame->instr_ptr;
  |  |12572|      0|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12573|      0|            (void)this_instr;
  |  |12574|      0|            frame->instr_ptr = next_instr;
  |  |12575|      0|            next_instr += 1;
  |  |12576|      0|            INSTRUCTION_STATS(TRACE_RECORD);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12577|      0|            opcode = TRACE_RECORD;
  |  |  ------------------
  |  |  |  |  246|      0|#define TRACE_RECORD                           255
  |  |  ------------------
  |  |12578|       |            #if _Py_TIER2
  |  |12579|       |            assert(IS_JIT_TRACING());
  |  |12580|       |            next_instr = this_instr;
  |  |12581|       |            frame->instr_ptr = prev_instr;
  |  |12582|       |            opcode = next_instr->op.code;
  |  |12583|       |            bool stop_tracing = (
  |  |12584|       |                                 opcode == WITH_EXCEPT_START ||
  |  |12585|       |                                 opcode == RERAISE ||
  |  |12586|       |                                 opcode == CLEANUP_THROW ||
  |  |12587|       |                                 opcode == PUSH_EXC_INFO ||
  |  |12588|       |                                 opcode == INTERPRETER_EXIT ||
  |  |12589|       |                                 (opcode >= MIN_INSTRUMENTED_OPCODE && opcode != ENTER_EXECUTOR)
  |  |12590|       |            );
  |  |12591|       |            _PyThreadStateImpl *_tstate = (_PyThreadStateImpl *)tstate;
  |  |12592|       |            _PyJitTracerState *tracer = _tstate->jit_tracer_state;
  |  |12593|       |            assert(tracer != NULL);
  |  |12594|       |            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12595|       |            int full = !_PyJit_translate_single_bytecode_to_trace(tstate, frame, next_instr, stop_tracing ? _DEOPT : 0);
  |  |12596|       |            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |12597|       |            if (full) {
  |  |12598|       |                LEAVE_TRACING();
  |  |12599|       |                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12600|       |                int err = stop_tracing_and_jit(tstate, frame);
  |  |12601|       |                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |12602|       |                if (err < 0) {
  |  |12603|       |                    JUMP_TO_LABEL(error);
  |  |12604|       |                }
  |  |12605|       |                DISPATCH();
  |  |12606|       |            }
  |  |12607|       |            for (int i = 0; i < tracer->prev_state.recorded_count; i++) {
  |  |12608|       |                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12609|       |                Py_CLEAR(tracer->prev_state.recorded_values[i]);
  |  |12610|       |                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |12611|       |            }
  |  |12612|       |            tracer->prev_state.recorded_count = 0;
  |  |12613|       |            tracer->prev_state.instr = next_instr;
  |  |12614|       |            PyObject *prev_code = PyStackRef_AsPyObjectBorrow(frame->f_executable);
  |  |12615|       |            if (tracer->prev_state.instr_code != (PyCodeObject *)prev_code) {
  |  |12616|       |                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12617|       |                Py_SETREF(tracer->prev_state.instr_code, (PyCodeObject*)Py_NewRef((prev_code)));
  |  |12618|       |                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |12619|       |            }
  |  |12620|       |            tracer->prev_state.instr_frame = frame;
  |  |12621|       |            tracer->prev_state.instr_oparg = oparg;
  |  |12622|       |            tracer->prev_state.instr_stacklevel = PyStackRef_IsNone(frame->f_executable) ? 2 : STACK_LEVEL();
  |  |12623|       |            if (_PyOpcode_Caches[_PyOpcode_Deopt[opcode]]
  |  |12624|       |                // Branch opcodes use the cache for branch history, not
  |  |12625|       |                // specialization counters.  Don't reset it.
  |  |12626|       |                && !IS_CONDITIONAL_JUMP_OPCODE(opcode)) {
  |  |12627|       |                (&next_instr[1])->counter = trigger_backoff_counter();
  |  |12628|       |            }
  |  |12629|       |            const _PyOpcodeRecordEntry *record_entry = &_PyOpcode_RecordEntries[opcode];
  |  |12630|       |            for (int i = 0; i < record_entry->count; i++) {
  |  |12631|       |                _Py_RecordFuncPtr doesnt_escape = _PyOpcode_RecordFunctions[record_entry->indices[i]];
  |  |12632|       |                doesnt_escape(frame, stack_pointer, oparg, &tracer->prev_state.recorded_values[i]);
  |  |12633|       |            }
  |  |12634|       |            tracer->prev_state.recorded_count = record_entry->count;
  |  |12635|       |            DISPATCH_GOTO_NON_TRACING();
  |  |12636|       |            #else
  |  |12637|      0|            (void)prev_instr;
  |  |12638|      0|            Py_FatalError("JIT instruction executed in non-jit build.");
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  |  |12639|      0|            #endif
  |  |12640|      0|        }
  |  |12641|       |
  |  |12642|    282|        TARGET(UNARY_INVERT) {
  |  |  ------------------
  |  |  |  |  132|    282|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12643|       |            #if _Py_TAIL_CALL_INTERP
  |  |12644|       |            int opcode = UNARY_INVERT;
  |  |12645|       |            (void)(opcode);
  |  |12646|       |            #endif
  |  |12647|    282|            frame->instr_ptr = next_instr;
  |  |12648|    282|            next_instr += 1;
  |  |12649|    282|            INSTRUCTION_STATS(UNARY_INVERT);
  |  |  ------------------
  |  |  |  |   71|    282|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12650|    282|            _PyStackRef value;
  |  |12651|    282|            _PyStackRef res;
  |  |12652|    282|            _PyStackRef v;
  |  |12653|       |            // _UNARY_INVERT
  |  |12654|    282|            {
  |  |12655|    282|                value = stack_pointer[-1];
  |  |12656|    282|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12657|    282|                PyObject *res_o = PyNumber_Invert(PyStackRef_AsPyObjectBorrow(value));
  |  |12658|    282|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |12659|    282|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (12659:21): [True: 0, False: 282]
  |  |  ------------------
  |  |12660|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |12661|      0|                }
  |  |12662|    282|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  |12663|    282|                v = value;
  |  |12664|    282|            }
  |  |12665|       |            // _POP_TOP
  |  |12666|      0|            {
  |  |12667|    282|                value = v;
  |  |12668|    282|                stack_pointer[-1] = res;
  |  |12669|    282|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12670|    282|                PyStackRef_XCLOSE(value);
  |  |12671|    282|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |12672|    282|            }
  |  |12673|    282|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    282|    { \
  |  |  |  |  201|    282|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|    282|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|    282|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|    282|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|    282|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|    282|        opcode = word.op.code; \
  |  |  |  |  |  |  253|    282|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|    282|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 282]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    282|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    282|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    282|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    282|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    282|    }
  |  |  ------------------
  |  |12674|    282|        }
  |  |12675|       |
  |  |12676|    811|        TARGET(UNARY_NEGATIVE) {
  |  |  ------------------
  |  |  |  |  132|    811|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12677|       |            #if _Py_TAIL_CALL_INTERP
  |  |12678|       |            int opcode = UNARY_NEGATIVE;
  |  |12679|       |            (void)(opcode);
  |  |12680|       |            #endif
  |  |12681|    811|            frame->instr_ptr = next_instr;
  |  |12682|    811|            next_instr += 1;
  |  |12683|    811|            INSTRUCTION_STATS(UNARY_NEGATIVE);
  |  |  ------------------
  |  |  |  |   71|    811|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12684|    811|            _PyStackRef value;
  |  |12685|    811|            _PyStackRef res;
  |  |12686|    811|            _PyStackRef v;
  |  |12687|       |            // _UNARY_NEGATIVE
  |  |12688|    811|            {
  |  |12689|    811|                value = stack_pointer[-1];
  |  |12690|    811|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12691|    811|                PyObject *res_o = PyNumber_Negative(PyStackRef_AsPyObjectBorrow(value));
  |  |12692|    811|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |12693|    811|                if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (12693:21): [True: 0, False: 811]
  |  |  ------------------
  |  |12694|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |12695|      0|                }
  |  |12696|    811|                res = PyStackRef_FromPyObjectSteal(res_o);
  |  |12697|    811|                v = value;
  |  |12698|    811|            }
  |  |12699|       |            // _POP_TOP
  |  |12700|      0|            {
  |  |12701|    811|                value = v;
  |  |12702|    811|                stack_pointer[-1] = res;
  |  |12703|    811|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12704|    811|                PyStackRef_XCLOSE(value);
  |  |12705|    811|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |12706|    811|            }
  |  |12707|    811|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    811|    { \
  |  |  |  |  201|    811|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|    811|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|    811|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|    811|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|    811|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|    811|        opcode = word.op.code; \
  |  |  |  |  |  |  253|    811|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|    811|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 811]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    811|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    811|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    811|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    811|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    811|    }
  |  |  ------------------
  |  |12708|    811|        }
  |  |12709|       |
  |  |12710|  12.6k|        TARGET(UNARY_NOT) {
  |  |  ------------------
  |  |  |  |  132|  12.6k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12711|       |            #if _Py_TAIL_CALL_INTERP
  |  |12712|       |            int opcode = UNARY_NOT;
  |  |12713|       |            (void)(opcode);
  |  |12714|       |            #endif
  |  |12715|  12.6k|            frame->instr_ptr = next_instr;
  |  |12716|  12.6k|            next_instr += 1;
  |  |12717|  12.6k|            INSTRUCTION_STATS(UNARY_NOT);
  |  |  ------------------
  |  |  |  |   71|  12.6k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12718|  12.6k|            _PyStackRef value;
  |  |12719|  12.6k|            _PyStackRef res;
  |  |12720|  12.6k|            value = stack_pointer[-1];
  |  |12721|  12.6k|            assert(PyStackRef_BoolCheck(value));
  |  |12722|  12.6k|            res = PyStackRef_IsFalse(value)
  |  |  ------------------
  |  |  |  |  482|  12.6k|#define PyStackRef_IsFalse(REF) ((REF).bits == (((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT))
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  12.6k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (482:33): [True: 12.2k, False: 386]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12723|  12.6k|            ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  471|  12.2k|#define PyStackRef_True ((_PyStackRef){.bits = ((uintptr_t)&_Py_TrueStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  12.2k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                           ? PyStackRef_True : PyStackRef_False;
  |  |  ------------------
  |  |  |  |  472|  13.0k|#define PyStackRef_False ((_PyStackRef){.bits = ((uintptr_t)&_Py_FalseStruct) | Py_TAG_REFCNT })
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|    386|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12724|  12.6k|            stack_pointer[-1] = res;
  |  |12725|  12.6k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  12.6k|    { \
  |  |  |  |  201|  12.6k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  12.6k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  12.6k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  12.6k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  12.6k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  12.6k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  12.6k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  12.6k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 12.6k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  12.6k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  12.6k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  12.6k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  12.6k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  12.6k|    }
  |  |  ------------------
  |  |12726|  12.6k|        }
  |  |12727|       |
  |  |12728|  12.6k|        TARGET(UNPACK_EX) {
  |  |  ------------------
  |  |  |  |  132|      0|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12729|       |            #if _Py_TAIL_CALL_INTERP
  |  |12730|       |            int opcode = UNPACK_EX;
  |  |12731|       |            (void)(opcode);
  |  |12732|       |            #endif
  |  |12733|      0|            frame->instr_ptr = next_instr;
  |  |12734|      0|            next_instr += 1;
  |  |12735|      0|            INSTRUCTION_STATS(UNPACK_EX);
  |  |  ------------------
  |  |  |  |   71|      0|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12736|      0|            _PyStackRef seq;
  |  |12737|      0|            _PyStackRef *top;
  |  |12738|      0|            seq = stack_pointer[-1];
  |  |12739|      0|            top = &stack_pointer[(oparg & 0xFF) + (oparg >> 8)];
  |  |12740|      0|            PyObject *seq_o = PyStackRef_AsPyObjectSteal(seq);
  |  |12741|      0|            stack_pointer += -1;
  |  |12742|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12743|      0|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12744|      0|            int res = _PyEval_UnpackIterableStackRef(tstate, seq_o, oparg & 0xFF, oparg >> 8, top);
  |  |12745|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12746|      0|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |12747|      0|            if (res == 0) {
  |  |  ------------------
  |  |  |  Branch (12747:17): [True: 0, False: 0]
  |  |  ------------------
  |  |12748|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |12749|      0|            }
  |  |12750|      0|            stack_pointer += 1 + (oparg & 0xFF) + (oparg >> 8);
  |  |12751|      0|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|      0|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12752|      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)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|      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|    }
  |  |  ------------------
  |  |12753|      0|        }
  |  |12754|       |
  |  |12755|  55.1k|        TARGET(UNPACK_SEQUENCE) {
  |  |  ------------------
  |  |  |  |  132|  55.1k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12756|       |            #if _Py_TAIL_CALL_INTERP
  |  |12757|       |            int opcode = UNPACK_SEQUENCE;
  |  |12758|       |            (void)(opcode);
  |  |12759|       |            #endif
  |  |12760|  55.1k|            frame->instr_ptr = next_instr;
  |  |12761|  55.1k|            next_instr += 2;
  |  |12762|  55.1k|            INSTRUCTION_STATS(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |   71|  55.1k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12763|  55.1k|            PREDICTED_UNPACK_SEQUENCE:;
  |  |12764|  55.1k|            _Py_CODEUNIT* const this_instr = next_instr - 2;
  |  |12765|  55.1k|            (void)this_instr;
  |  |12766|  55.1k|            _PyStackRef seq;
  |  |12767|  55.1k|            _PyStackRef *top;
  |  |12768|       |            // _SPECIALIZE_UNPACK_SEQUENCE
  |  |12769|  55.1k|            {
  |  |12770|  55.1k|                seq = stack_pointer[-1];
  |  |12771|  55.1k|                uint16_t counter = read_u16(&this_instr[1].cache);
  |  |12772|  55.1k|                (void)counter;
  |  |12773|  55.1k|                #if ENABLE_SPECIALIZATION
  |  |12774|  55.1k|                if (ADAPTIVE_COUNTER_TRIGGERS(counter)) {
  |  |  ------------------
  |  |  |  |  354|  55.1k|    backoff_counter_triggers(forge_backoff_counter((COUNTER)))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (354:5): [True: 318, False: 54.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12775|    318|                    next_instr = this_instr;
  |  |12776|    318|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12777|    318|                    _Py_Specialize_UnpackSequence(seq, next_instr, oparg);
  |  |12778|    318|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |12779|    318|                    DISPATCH_SAME_OPARG();
  |  |  ------------------
  |  |  |  |  216|    318|    { \
  |  |  |  |  217|    318|        opcode = next_instr->op.code; \
  |  |  |  |  218|    318|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    318|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  219|    318|        DISPATCH_GOTO_NON_TRACING(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  134|    318|#  define DISPATCH_GOTO_NON_TRACING() goto *DISPATCH_TABLE[opcode];
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  130|    318|#  define DISPATCH_TABLE opcode_targets_table
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  220|    318|    }
  |  |  ------------------
  |  |12780|    318|                }
  |  |12781|  55.1k|                OPCODE_DEFERRED_INC(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |   90|  55.1k|#define OPCODE_DEFERRED_INC(opname) ((void)0)
  |  |  ------------------
  |  |12782|  55.1k|                ADVANCE_ADAPTIVE_COUNTER(this_instr[1].counter);
  |  |  ------------------
  |  |  |  |  357|  55.1k|    do { \
  |  |  |  |  358|  55.1k|        (COUNTER) = advance_backoff_counter((COUNTER)); \
  |  |  |  |  359|  55.1k|    } while (0);
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (359:14): [Folded, False: 55.1k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12783|  55.1k|                #endif  /* ENABLE_SPECIALIZATION */
  |  |12784|  55.1k|                (void)seq;
  |  |12785|  55.1k|                (void)counter;
  |  |12786|  55.1k|            }
  |  |12787|       |            // _UNPACK_SEQUENCE
  |  |12788|  55.1k|            {
  |  |12789|  55.1k|                top = &stack_pointer[-1 + oparg];
  |  |12790|  55.1k|                PyObject *seq_o = PyStackRef_AsPyObjectSteal(seq);
  |  |12791|  55.1k|                stack_pointer += -1;
  |  |12792|  55.1k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  55.1k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12793|  55.1k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12794|  55.1k|                int res = _PyEval_UnpackIterableStackRef(tstate, seq_o, oparg, -1, top);
  |  |12795|  55.1k|                Py_DECREF(seq_o);
  |  |  ------------------
  |  |  |  |   80|  55.1k|    do { \
  |  |  |  |   81|  55.1k|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  55.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  55.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|  55.1k|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|  55.1k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  55.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  55.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 55.1k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|  55.1k|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|  55.1k|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|  55.1k|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 54.4k, False: 731]
  |  |  |  |  ------------------
  |  |  |  |   88|  54.4k|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|  54.4k|    do { \
  |  |  |  |  |  |  113|  54.4k|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|  54.4k|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 54.4k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|  54.4k|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 54.4k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|  54.4k|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|  54.4k|            (*dealloc)(op); \
  |  |  |  |   91|  54.4k|        } \
  |  |  |  |   92|  55.1k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 55.1k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12796|  55.1k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |12797|  55.1k|                if (res == 0) {
  |  |  ------------------
  |  |  |  Branch (12797:21): [True: 0, False: 55.1k]
  |  |  ------------------
  |  |12798|      0|                    JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |12799|      0|                }
  |  |12800|  55.1k|            }
  |  |12801|  55.1k|            stack_pointer += oparg;
  |  |12802|  55.1k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  55.1k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12803|  55.1k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  55.1k|    { \
  |  |  |  |  201|  55.1k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  55.1k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  55.1k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  55.1k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  55.1k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  55.1k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  55.1k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  55.1k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 55.1k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  55.1k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  55.1k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  55.1k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  55.1k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  55.1k|    }
  |  |  ------------------
  |  |12804|  55.1k|        }
  |  |12805|       |
  |  |12806|    116|        TARGET(UNPACK_SEQUENCE_LIST) {
  |  |  ------------------
  |  |  |  |  132|    116|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12807|       |            #if _Py_TAIL_CALL_INTERP
  |  |12808|       |            int opcode = UNPACK_SEQUENCE_LIST;
  |  |12809|       |            (void)(opcode);
  |  |12810|       |            #endif
  |  |12811|    116|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12812|    116|            (void)this_instr;
  |  |12813|    116|            frame->instr_ptr = next_instr;
  |  |12814|    116|            next_instr += 2;
  |  |12815|    116|            INSTRUCTION_STATS(UNPACK_SEQUENCE_LIST);
  |  |  ------------------
  |  |  |  |   71|    116|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12816|    116|            static_assert(INLINE_CACHE_ENTRIES_UNPACK_SEQUENCE == 1, "incorrect cache size");
  |  |12817|    116|            _PyStackRef tos;
  |  |12818|    116|            _PyStackRef seq;
  |  |12819|    116|            _PyStackRef *values;
  |  |12820|       |            // _GUARD_TOS_LIST
  |  |12821|    116|            {
  |  |12822|    116|                tos = stack_pointer[-1];
  |  |12823|    116|                PyObject *o = PyStackRef_AsPyObjectBorrow(tos);
  |  |12824|    116|                if (!PyList_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   26|    116|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|    116|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    116|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    116|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12824:21): [True: 0, False: 116]
  |  |  ------------------
  |  |12825|      0|                    UPDATE_MISS_STATS(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12826|      0|                    assert(_PyOpcode_Deopt[opcode] == (UNPACK_SEQUENCE));
  |  |12827|      0|                    JUMP_TO_PREDICTED(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12828|      0|                }
  |  |12829|    116|            }
  |  |12830|       |            /* Skip 1 cache entry */
  |  |12831|       |            // _UNPACK_SEQUENCE_LIST
  |  |12832|    116|            {
  |  |12833|    116|                seq = tos;
  |  |12834|    116|                values = &stack_pointer[-1];
  |  |12835|    116|                PyObject *seq_o = PyStackRef_AsPyObjectBorrow(seq);
  |  |12836|    116|                assert(PyList_CheckExact(seq_o));
  |  |12837|    116|                if (!LOCK_OBJECT(seq_o)) {
  |  |  ------------------
  |  |  |  |  321|    116|#  define LOCK_OBJECT(op) (1)
  |  |  ------------------
  |  |  |  Branch (12837:21): [Folded, False: 116]
  |  |  ------------------
  |  |12838|      0|                    UPDATE_MISS_STATS(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12839|      0|                    assert(_PyOpcode_Deopt[opcode] == (UNPACK_SEQUENCE));
  |  |12840|      0|                    JUMP_TO_PREDICTED(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12841|      0|                }
  |  |12842|    116|                if (PyList_GET_SIZE(seq_o) != oparg) {
  |  |  ------------------
  |  |  |  |   38|    116|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    116|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    116|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12842:21): [True: 0, False: 116]
  |  |  ------------------
  |  |12843|      0|                    UNLOCK_OBJECT(seq_o);
  |  |  ------------------
  |  |  |  |  322|      0|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |12844|      0|                    if (true) {
  |  |  ------------------
  |  |  |  Branch (12844:25): [True: 0, Folded]
  |  |  ------------------
  |  |12845|      0|                        UPDATE_MISS_STATS(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12846|      0|                        assert(_PyOpcode_Deopt[opcode] == (UNPACK_SEQUENCE));
  |  |12847|      0|                        JUMP_TO_PREDICTED(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12848|      0|                    }
  |  |12849|      0|                }
  |  |12850|    116|                STAT_INC(UNPACK_SEQUENCE, hit);
  |  |  ------------------
  |  |  |  |   73|    116|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |12851|    116|                PyObject **items = _PyList_ITEMS(seq_o);
  |  |  ------------------
  |  |  |  |   30|    116|#define _PyList_ITEMS(op) _Py_RVALUE(_PyList_CAST(op)->ob_item)
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    116|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12852|    356|                for (int i = oparg; --i >= 0; ) {
  |  |  ------------------
  |  |  |  Branch (12852:37): [True: 240, False: 116]
  |  |  ------------------
  |  |12853|    240|                    *values++ = PyStackRef_FromPyObjectNew(items[i]);
  |  |  ------------------
  |  |  |  |  599|    240|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    240|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    240|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12854|    240|                }
  |  |12855|    116|                UNLOCK_OBJECT(seq_o);
  |  |  ------------------
  |  |  |  |  322|    116|#  define UNLOCK_OBJECT(op) ((void)0)
  |  |  ------------------
  |  |12856|    116|                stack_pointer += -1 + oparg;
  |  |12857|    116|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|    116|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12858|    116|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12859|    116|                PyStackRef_CLOSE(seq);
  |  |12860|    116|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |12861|    116|            }
  |  |12862|    116|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|    116|    { \
  |  |  |  |  201|    116|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|    116|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|    116|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|    116|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|    116|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|    116|        opcode = word.op.code; \
  |  |  |  |  |  |  253|    116|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|    116|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 116]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|    116|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|    116|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|    116|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|    116|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|    116|    }
  |  |  ------------------
  |  |12863|    116|        }
  |  |12864|       |
  |  |12865|  8.25k|        TARGET(UNPACK_SEQUENCE_TUPLE) {
  |  |  ------------------
  |  |  |  |  132|  8.25k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12866|       |            #if _Py_TAIL_CALL_INTERP
  |  |12867|       |            int opcode = UNPACK_SEQUENCE_TUPLE;
  |  |12868|       |            (void)(opcode);
  |  |12869|       |            #endif
  |  |12870|  8.25k|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12871|  8.25k|            (void)this_instr;
  |  |12872|  8.25k|            frame->instr_ptr = next_instr;
  |  |12873|  8.25k|            next_instr += 2;
  |  |12874|  8.25k|            INSTRUCTION_STATS(UNPACK_SEQUENCE_TUPLE);
  |  |  ------------------
  |  |  |  |   71|  8.25k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12875|  8.25k|            static_assert(INLINE_CACHE_ENTRIES_UNPACK_SEQUENCE == 1, "incorrect cache size");
  |  |12876|  8.25k|            _PyStackRef tos;
  |  |12877|  8.25k|            _PyStackRef seq;
  |  |12878|  8.25k|            _PyStackRef *values;
  |  |12879|       |            // _GUARD_TOS_TUPLE
  |  |12880|  8.25k|            {
  |  |12881|  8.25k|                tos = stack_pointer[-1];
  |  |12882|  8.25k|                PyObject *o = PyStackRef_AsPyObjectBorrow(tos);
  |  |12883|  8.25k|                if (!PyTuple_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   28|  8.25k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  8.25k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  8.25k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  8.25k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12883:21): [True: 0, False: 8.25k]
  |  |  ------------------
  |  |12884|      0|                    UPDATE_MISS_STATS(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12885|      0|                    assert(_PyOpcode_Deopt[opcode] == (UNPACK_SEQUENCE));
  |  |12886|      0|                    JUMP_TO_PREDICTED(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12887|      0|                }
  |  |12888|  8.25k|            }
  |  |12889|       |            /* Skip 1 cache entry */
  |  |12890|       |            // _UNPACK_SEQUENCE_TUPLE
  |  |12891|  8.25k|            {
  |  |12892|  8.25k|                seq = tos;
  |  |12893|  8.25k|                values = &stack_pointer[-1];
  |  |12894|  8.25k|                PyObject *seq_o = PyStackRef_AsPyObjectBorrow(seq);
  |  |12895|  8.25k|                assert(PyTuple_CheckExact(seq_o));
  |  |12896|  8.25k|                if (PyTuple_GET_SIZE(seq_o) != oparg) {
  |  |  ------------------
  |  |  |  |   27|  8.25k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  8.25k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  8.25k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12896:21): [True: 0, False: 8.25k]
  |  |  ------------------
  |  |12897|      0|                    UPDATE_MISS_STATS(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12898|      0|                    assert(_PyOpcode_Deopt[opcode] == (UNPACK_SEQUENCE));
  |  |12899|      0|                    JUMP_TO_PREDICTED(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12900|      0|                }
  |  |12901|  8.25k|                STAT_INC(UNPACK_SEQUENCE, hit);
  |  |  ------------------
  |  |  |  |   73|  8.25k|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |12902|  8.25k|                PyObject **items = _PyTuple_ITEMS(seq_o);
  |  |  ------------------
  |  |  |  |   26|  8.25k|#define _PyTuple_ITEMS(op) _Py_RVALUE(_PyTuple_CAST(op)->ob_item)
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  8.25k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12903|  33.5k|                for (int i = oparg; --i >= 0; ) {
  |  |  ------------------
  |  |  |  Branch (12903:37): [True: 25.3k, False: 8.25k]
  |  |  ------------------
  |  |12904|  25.3k|                    *values++ = PyStackRef_FromPyObjectNew(items[i]);
  |  |  ------------------
  |  |  |  |  599|  25.3k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  25.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  25.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12905|  25.3k|                }
  |  |12906|  8.25k|                stack_pointer += -1 + oparg;
  |  |12907|  8.25k|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  8.25k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12908|  8.25k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12909|  8.25k|                PyStackRef_CLOSE(seq);
  |  |12910|  8.25k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |12911|  8.25k|            }
  |  |12912|  8.25k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  8.25k|    { \
  |  |  |  |  201|  8.25k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  8.25k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  8.25k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  8.25k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  8.25k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  8.25k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  8.25k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  8.25k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 8.25k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  8.25k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  8.25k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  8.25k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  8.25k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  8.25k|    }
  |  |  ------------------
  |  |12913|  8.25k|        }
  |  |12914|       |
  |  |12915|  7.25M|        TARGET(UNPACK_SEQUENCE_TWO_TUPLE) {
  |  |  ------------------
  |  |  |  |  132|  7.25M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12916|       |            #if _Py_TAIL_CALL_INTERP
  |  |12917|       |            int opcode = UNPACK_SEQUENCE_TWO_TUPLE;
  |  |12918|       |            (void)(opcode);
  |  |12919|       |            #endif
  |  |12920|  7.25M|            _Py_CODEUNIT* const this_instr = next_instr;
  |  |12921|  7.25M|            (void)this_instr;
  |  |12922|  7.25M|            frame->instr_ptr = next_instr;
  |  |12923|  7.25M|            next_instr += 2;
  |  |12924|  7.25M|            INSTRUCTION_STATS(UNPACK_SEQUENCE_TWO_TUPLE);
  |  |  ------------------
  |  |  |  |   71|  7.25M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12925|  7.25M|            static_assert(INLINE_CACHE_ENTRIES_UNPACK_SEQUENCE == 1, "incorrect cache size");
  |  |12926|  7.25M|            _PyStackRef tos;
  |  |12927|  7.25M|            _PyStackRef seq;
  |  |12928|  7.25M|            _PyStackRef val1;
  |  |12929|  7.25M|            _PyStackRef val0;
  |  |12930|       |            // _GUARD_TOS_TUPLE
  |  |12931|  7.25M|            {
  |  |12932|  7.25M|                tos = stack_pointer[-1];
  |  |12933|  7.25M|                PyObject *o = PyStackRef_AsPyObjectBorrow(tos);
  |  |12934|  7.25M|                if (!PyTuple_CheckExact(o)) {
  |  |  ------------------
  |  |  |  |   28|  7.25M|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  7.25M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  7.25M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  7.25M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12934:21): [True: 0, False: 7.25M]
  |  |  ------------------
  |  |12935|      0|                    UPDATE_MISS_STATS(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12936|      0|                    assert(_PyOpcode_Deopt[opcode] == (UNPACK_SEQUENCE));
  |  |12937|      0|                    JUMP_TO_PREDICTED(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12938|      0|                }
  |  |12939|  7.25M|            }
  |  |12940|       |            /* Skip 1 cache entry */
  |  |12941|       |            // _UNPACK_SEQUENCE_TWO_TUPLE
  |  |12942|  7.25M|            {
  |  |12943|  7.25M|                seq = tos;
  |  |12944|  7.25M|                assert(oparg == 2);
  |  |12945|  7.25M|                PyObject *seq_o = PyStackRef_AsPyObjectBorrow(seq);
  |  |12946|  7.25M|                assert(PyTuple_CheckExact(seq_o));
  |  |12947|  7.25M|                if (PyTuple_GET_SIZE(seq_o) != 2) {
  |  |  ------------------
  |  |  |  |   27|  7.25M|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  7.25M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  7.25M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (12947:21): [True: 0, False: 7.25M]
  |  |  ------------------
  |  |12948|      0|                    UPDATE_MISS_STATS(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  298|      0|#define UPDATE_MISS_STATS(INSTNAME) ((void)0)
  |  |  ------------------
  |  |12949|      0|                    assert(_PyOpcode_Deopt[opcode] == (UNPACK_SEQUENCE));
  |  |12950|      0|                    JUMP_TO_PREDICTED(UNPACK_SEQUENCE);
  |  |  ------------------
  |  |  |  |  136|      0|#  define JUMP_TO_PREDICTED(name) goto PREDICTED_##name;
  |  |  ------------------
  |  |12951|      0|                }
  |  |12952|  7.25M|                STAT_INC(UNPACK_SEQUENCE, hit);
  |  |  ------------------
  |  |  |  |   73|  7.25M|#define STAT_INC(opname, name) ((void)0)
  |  |  ------------------
  |  |12953|  7.25M|                val0 = PyStackRef_FromPyObjectNew(PyTuple_GET_ITEM(seq_o, 0));
  |  |  ------------------
  |  |  |  |  599|  7.25M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  7.25M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  7.25M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12954|  7.25M|                val1 = PyStackRef_FromPyObjectNew(PyTuple_GET_ITEM(seq_o, 1));
  |  |  ------------------
  |  |  |  |  599|  7.25M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  7.25M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  7.25M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12955|  7.25M|                stack_pointer[-1] = val1;
  |  |12956|  7.25M|                stack_pointer[0] = val0;
  |  |12957|  7.25M|                stack_pointer += 1;
  |  |12958|  7.25M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  7.25M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |12959|  7.25M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12960|  7.25M|                PyStackRef_CLOSE(seq);
  |  |12961|  7.25M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |12962|  7.25M|            }
  |  |12963|  7.25M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  7.25M|    { \
  |  |  |  |  201|  7.25M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  7.25M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  7.25M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  7.25M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  7.25M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  7.25M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  7.25M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  7.25M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 7.25M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  7.25M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  7.25M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  7.25M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  7.25M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  7.25M|    }
  |  |  ------------------
  |  |12964|  7.25M|        }
  |  |12965|       |
  |  |12966|  30.7k|        TARGET(WITH_EXCEPT_START) {
  |  |  ------------------
  |  |  |  |  132|  30.7k|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |12967|       |            #if _Py_TAIL_CALL_INTERP
  |  |12968|       |            int opcode = WITH_EXCEPT_START;
  |  |12969|       |            (void)(opcode);
  |  |12970|       |            #endif
  |  |12971|  30.7k|            frame->instr_ptr = next_instr;
  |  |12972|  30.7k|            next_instr += 1;
  |  |12973|  30.7k|            INSTRUCTION_STATS(WITH_EXCEPT_START);
  |  |  ------------------
  |  |  |  |   71|  30.7k|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |12974|  30.7k|            _PyStackRef exit_func;
  |  |12975|  30.7k|            _PyStackRef exit_self;
  |  |12976|  30.7k|            _PyStackRef lasti;
  |  |12977|  30.7k|            _PyStackRef val;
  |  |12978|  30.7k|            _PyStackRef res;
  |  |12979|  30.7k|            val = stack_pointer[-1];
  |  |12980|  30.7k|            lasti = stack_pointer[-3];
  |  |12981|  30.7k|            exit_self = stack_pointer[-4];
  |  |12982|  30.7k|            exit_func = stack_pointer[-5];
  |  |12983|  30.7k|            PyObject *exc, *tb;
  |  |12984|  30.7k|            PyObject *val_o = PyStackRef_AsPyObjectBorrow(val);
  |  |12985|  30.7k|            PyObject *exit_func_o = PyStackRef_AsPyObjectBorrow(exit_func);
  |  |12986|  30.7k|            assert(val_o && PyExceptionInstance_Check(val_o));
  |  |12987|  30.7k|            exc = PyExceptionInstance_Class(val_o);
  |  |  ------------------
  |  |  |  |   69|  30.7k|#define PyExceptionInstance_Class(x) _PyObject_CAST(Py_TYPE(x))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  30.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  30.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12988|  30.7k|            PyObject *original_tb = tb = PyException_GetTraceback(val_o);
  |  |12989|  30.7k|            if (tb == NULL) {
  |  |  ------------------
  |  |  |  Branch (12989:17): [True: 0, False: 30.7k]
  |  |  ------------------
  |  |12990|      0|                tb = Py_None;
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  |  |12991|      0|            }
  |  |12992|  30.7k|            assert(PyStackRef_IsTaggedInt(lasti));
  |  |12993|  30.7k|            (void)lasti;
  |  |12994|  30.7k|            PyObject* res_o;
  |  |12995|  30.7k|            {
  |  |12996|  30.7k|                PyObject *stack[5] = {NULL, PyStackRef_AsPyObjectBorrow(exit_self), exc, val_o, tb};
  |  |12997|  30.7k|                int has_self = !PyStackRef_IsNull(exit_self);
  |  |  ------------------
  |  |  |  |  470|  30.7k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  467|  30.7k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   55|  30.7k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |12998|  30.7k|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |12999|  30.7k|                res_o = PyObject_Vectorcall(exit_func_o, stack + 2 - has_self,
  |  |13000|  30.7k|                    (3 + has_self) | PY_VECTORCALL_ARGUMENTS_OFFSET, NULL);
  |  |  ------------------
  |  |  |  |  287|  30.7k|    (_Py_STATIC_CAST(size_t, 1) << (8 * sizeof(size_t) - 1))
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|  30.7k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13001|  30.7k|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |13002|  30.7k|            }
  |  |13003|  30.7k|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13004|  30.7k|            Py_XDECREF(original_tb);
  |  |  ------------------
  |  |  |  |   69|  30.7k|    do { \
  |  |  |  |   70|  30.7k|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  30.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  30.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   71|  30.7k|        if (xop != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (71:13): [True: 30.7k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   72|  30.7k|            Py_DECREF(xop); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   80|  30.7k|    do { \
  |  |  |  |  |  |   81|  30.7k|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  30.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  30.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   82|  30.7k|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  137|  30.7k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  171|  30.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  |  |   37|  30.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 30.7k]
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   84|      0|            break; \
  |  |  |  |  |  |   85|      0|        } \
  |  |  |  |  |  |   86|  30.7k|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   20|  30.7k|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   87|  30.7k|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (87:13): [True: 0, False: 30.7k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |   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|  30.7k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (92:14): [Folded, False: 30.7k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   73|  30.7k|        } \
  |  |  |  |   74|  30.7k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (74:14): [Folded, False: 30.7k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13005|  30.7k|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |13006|  30.7k|            if (res_o == NULL) {
  |  |  ------------------
  |  |  |  Branch (13006:17): [True: 0, False: 30.7k]
  |  |  ------------------
  |  |13007|      0|                JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13008|      0|            }
  |  |13009|  30.7k|            res = PyStackRef_FromPyObjectSteal(res_o);
  |  |13010|  30.7k|            stack_pointer[0] = res;
  |  |13011|  30.7k|            stack_pointer += 1;
  |  |13012|  30.7k|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  30.7k|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |13013|  30.7k|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  30.7k|    { \
  |  |  |  |  201|  30.7k|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  30.7k|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  30.7k|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  30.7k|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  30.7k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  30.7k|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  30.7k|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  30.7k|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 30.7k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  30.7k|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  30.7k|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  30.7k|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  30.7k|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  30.7k|    }
  |  |  ------------------
  |  |13014|  30.7k|        }
  |  |13015|       |
  |  |13016|  5.63M|        TARGET(YIELD_VALUE) {
  |  |  ------------------
  |  |  |  |  132|  5.63M|#  define TARGET(op) TARGET_##op:
  |  |  ------------------
  |  |13017|       |            #if _Py_TAIL_CALL_INTERP
  |  |13018|       |            int opcode = YIELD_VALUE;
  |  |13019|       |            (void)(opcode);
  |  |13020|       |            #endif
  |  |13021|  5.63M|            frame->instr_ptr = next_instr;
  |  |13022|  5.63M|            next_instr += 1;
  |  |13023|  5.63M|            INSTRUCTION_STATS(YIELD_VALUE);
  |  |  ------------------
  |  |  |  |   71|  5.63M|#define INSTRUCTION_STATS(op) ((void)0)
  |  |  ------------------
  |  |13024|  5.63M|            opcode = YIELD_VALUE;
  |  |  ------------------
  |  |  |  |  132|  5.63M|#define YIELD_VALUE                            119
  |  |  ------------------
  |  |13025|  5.63M|            _PyStackRef value;
  |  |13026|  5.63M|            _PyStackRef retval;
  |  |13027|       |            // _MAKE_HEAP_SAFE
  |  |13028|  5.63M|            {
  |  |13029|  5.63M|                value = stack_pointer[-1];
  |  |13030|  5.63M|                value = PyStackRef_MakeHeapSafe(value);
  |  |13031|  5.63M|            }
  |  |13032|       |            // _YIELD_VALUE
  |  |13033|  5.63M|            {
  |  |13034|  5.63M|                retval = value;
  |  |13035|  5.63M|                assert(frame->owner != FRAME_OWNED_BY_INTERPRETER);
  |  |13036|  5.63M|                frame->instr_ptr++;
  |  |13037|  5.63M|                PyGenObject *gen = _PyGen_GetGeneratorFromFrame(frame);
  |  |13038|  5.63M|                assert(FRAME_SUSPENDED_YIELD_FROM == FRAME_SUSPENDED + 1);
  |  |13039|  5.63M|                assert(oparg == 0 || oparg == 1);
  |  |13040|  5.63M|                _PyStackRef temp = retval;
  |  |13041|  5.63M|                stack_pointer += -1;
  |  |13042|  5.63M|                ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  5.63M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |13043|  5.63M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13044|  5.63M|                DTRACE_FUNCTION_RETURN();
  |  |  ------------------
  |  |  |  |  346|  5.63M|#define DTRACE_FUNCTION_RETURN() ((void)0)
  |  |  ------------------
  |  |13045|  5.63M|                tstate->exc_info = gen->gi_exc_state.previous_item;
  |  |13046|  5.63M|                gen->gi_exc_state.previous_item = NULL;
  |  |13047|  5.63M|                _Py_LeaveRecursiveCallPy(tstate);
  |  |13048|  5.63M|                _PyInterpreterFrame *gen_frame = frame;
  |  |13049|  5.63M|                frame = tstate->current_frame = frame->previous;
  |  |13050|  5.63M|                gen_frame->previous = NULL;
  |  |13051|  5.63M|                ((_PyThreadStateImpl *)tstate)->generator_return_kind = GENERATOR_YIELD;
  |  |13052|  5.63M|                FT_ATOMIC_STORE_INT8_RELEASE(gen->gi_frame_state, FRAME_SUSPENDED + oparg);
  |  |  ------------------
  |  |  |  |  166|  5.63M|#define FT_ATOMIC_STORE_INT8_RELEASE(value, new_value) value = new_value
  |  |  ------------------
  |  |13053|  5.63M|                assert(INLINE_CACHE_ENTRIES_SEND == INLINE_CACHE_ENTRIES_FOR_ITER);
  |  |13054|       |                #if TIER_ONE && defined(Py_DEBUG)
  |  |13055|       |                if (!PyStackRef_IsNone(frame->f_executable)) {
  |  |13056|       |                    int i = frame->instr_ptr - _PyFrame_GetBytecode(frame);
  |  |13057|       |                    int opcode = _Py_GetBaseCodeUnit(_PyFrame_GetCode(frame), i).op.code;
  |  |13058|       |                    assert(opcode == SEND || opcode == FOR_ITER);
  |  |13059|       |                }
  |  |13060|       |                #endif
  |  |13061|  5.63M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |13062|  5.63M|                LOAD_IP(1 + INLINE_CACHE_ENTRIES_SEND);
  |  |  ------------------
  |  |  |  |  419|  5.63M|#define LOAD_IP(OFFSET) do { \
  |  |  |  |  420|  5.63M|        next_instr = frame->instr_ptr + (OFFSET); \
  |  |  |  |  421|  5.63M|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (421:14): [Folded, False: 5.63M]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |13063|  5.63M|                value = temp;
  |  |13064|  5.63M|                LLTRACE_RESUME_FRAME();
  |  |  ------------------
  |  |  |  |  188|  5.63M|#define LLTRACE_RESUME_FRAME() ((void)0)
  |  |  ------------------
  |  |13065|  5.63M|            }
  |  |13066|  5.63M|            stack_pointer[0] = value;
  |  |13067|  5.63M|            stack_pointer += 1;
  |  |13068|  5.63M|            ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
  |  |  ------------------
  |  |  |  |  511|  5.63M|#define ASSERT_WITHIN_STACK_BOUNDS(F, L) (void)0
  |  |  ------------------
  |  |13069|  5.63M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  5.63M|    { \
  |  |  |  |  201|  5.63M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  5.63M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  5.63M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  5.63M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  5.63M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  5.63M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  5.63M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  5.63M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 5.63M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  5.63M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  5.63M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  5.63M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  5.63M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  5.63M|    }
  |  |  ------------------
  |  |13070|  5.63M|        }
  |  |13071|       |
  |  |13072|       |            /* END INSTRUCTIONS */
  |  |13073|  5.63M|#if !_Py_TAIL_CALL_INTERP
  |  |13074|  5.63M|#if USE_COMPUTED_GOTOS
  |  |13075|  5.63M|        _unknown_opcode:
  |  |13076|       |#else
  |  |13077|       |        EXTRA_CASES  // From pycore_opcode_metadata.h, a 'case' for each unused opcode
  |  |13078|       |#endif
  |  |13079|       |            /* Tell C compilers not to hold the opcode variable in the loop.
  |  |13080|       |               next_instr points the current instruction without TARGET(). */
  |  |13081|      0|            opcode = next_instr->op.code;
  |  |13082|      0|            _PyErr_Format(tstate, PyExc_SystemError,
  |  |13083|      0|              "%U:%d: unknown opcode %d",
  |  |13084|      0|              _PyFrame_GetCode(frame)->co_filename,
  |  |13085|      0|              PyUnstable_InterpreterFrame_GetLine(frame),
  |  |13086|      0|              opcode);
  |  |13087|      0|JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13088|       |
  |  |13089|       |
  |  |13090|      0|        }
  |  |13091|       |
  |  |13092|       |        /* This should never be reached. Every opcode should end with DISPATCH()
  |  |13093|       |           or goto error. */
  |  |13094|      0|        Py_UNREACHABLE();
  |  |  ------------------
  |  |  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  |  |  ------------------
  |  |13095|      0|#endif /* _Py_TAIL_CALL_INTERP */
  |  |13096|       |        /* BEGIN LABELS */
  |  |13097|       |
  |  |13098|      0|        LABEL(pop_2_error)
  |  |  ------------------
  |  |  |  |  137|      0|#  define LABEL(name) name:
  |  |  ------------------
  |  |13099|      0|        {
  |  |13100|      0|            stack_pointer -= 2;
  |  |13101|      0|            assert(WITHIN_STACK_BOUNDS());
  |  |13102|      0|            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13103|      0|        }
  |  |13104|       |
  |  |13105|      2|        LABEL(pop_1_error)
  |  |  ------------------
  |  |  |  |  137|      2|#  define LABEL(name) name:
  |  |  ------------------
  |  |13106|      2|        {
  |  |13107|      2|            stack_pointer -= 1;
  |  |13108|      2|            assert(WITHIN_STACK_BOUNDS());
  |  |13109|      2|            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|      2|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13110|      0|        }
  |  |13111|       |
  |  |13112|  2.14M|        LABEL(error)
  |  |  ------------------
  |  |  |  |  137|  2.14M|#  define LABEL(name) name:
  |  |  ------------------
  |  |13113|  2.14M|        {
  |  |13114|  2.14M|            #ifdef NDEBUG
  |  |13115|  2.14M|            if (!_PyErr_Occurred(tstate)) {
  |  |  ------------------
  |  |  |  Branch (13115:17): [True: 0, False: 2.14M]
  |  |  ------------------
  |  |13116|      0|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13117|      0|                _PyErr_SetString(tstate, PyExc_SystemError,
  |  |13118|      0|                             "error return without exception set");
  |  |13119|      0|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |13120|      0|            }
  |  |13121|       |            #else
  |  |13122|       |            assert(_PyErr_Occurred(tstate));
  |  |13123|       |            #endif
  |  |13124|  2.14M|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13125|  2.14M|            STOP_TRACING();
  |  |  ------------------
  |  |  |  |  168|  2.14M|#define STOP_TRACING() ((void)(0));
  |  |  ------------------
  |  |13126|  2.14M|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |13127|  2.14M|            assert(frame->owner != FRAME_OWNED_BY_INTERPRETER);
  |  |13128|  2.14M|            if (!_PyFrame_IsIncomplete(frame)) {
  |  |  ------------------
  |  |  |  Branch (13128:17): [True: 2.14M, False: 0]
  |  |  ------------------
  |  |13129|  2.14M|                _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13130|  2.14M|                PyFrameObject *f = _PyFrame_GetFrameObject(frame);
  |  |13131|  2.14M|                stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |13132|  2.14M|                if (f != NULL) {
  |  |  ------------------
  |  |  |  Branch (13132:21): [True: 2.14M, False: 0]
  |  |  ------------------
  |  |13133|  2.14M|                    _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13134|  2.14M|                    PyTraceBack_Here(f);
  |  |13135|  2.14M|                    stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |13136|  2.14M|                }
  |  |13137|  2.14M|            }
  |  |13138|  2.14M|            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13139|  2.14M|            _PyEval_MonitorRaise(tstate, frame, next_instr-1);
  |  |13140|  2.14M|            JUMP_TO_LABEL(exception_unwind);
  |  |  ------------------
  |  |  |  |  135|  2.14M|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13141|      0|        }
  |  |13142|       |
  |  |13143|  2.66M|        LABEL(exception_unwind)
  |  |  ------------------
  |  |  |  |  137|  2.66M|#  define LABEL(name) name:
  |  |  ------------------
  |  |13144|  2.66M|        {
  |  |13145|  2.66M|            STOP_TRACING();
  |  |  ------------------
  |  |  |  |  168|  2.66M|#define STOP_TRACING() ((void)(0));
  |  |  ------------------
  |  |13146|  2.66M|            int offset = INSTR_OFFSET()-1;
  |  |  ------------------
  |  |  |  |  249|  2.66M|#define INSTR_OFFSET() ((int)(next_instr - _PyFrame_GetBytecode(frame)))
  |  |  ------------------
  |  |13147|  2.66M|            int level, handler, lasti;
  |  |13148|  2.66M|            int handled = get_exception_handler(_PyFrame_GetCode(frame), offset, &level, &handler, &lasti);
  |  |13149|  2.66M|            if (handled == 0) {
  |  |  ------------------
  |  |  |  Branch (13149:17): [True: 728k, False: 1.93M]
  |  |  ------------------
  |  |13150|   728k|                assert(_PyErr_Occurred(tstate));
  |  |13151|   728k|                _PyStackRef *stackbase = _PyFrame_Stackbase(frame);
  |  |13152|  2.07M|                while (frame->stackpointer > stackbase) {
  |  |  ------------------
  |  |  |  Branch (13152:24): [True: 1.34M, False: 728k]
  |  |  ------------------
  |  |13153|  1.34M|                    _PyStackRef ref = _PyFrame_StackPop(frame);
  |  |13154|  1.34M|                    PyStackRef_XCLOSE(ref);
  |  |13155|  1.34M|                }
  |  |13156|   728k|                monitor_unwind(tstate, frame, next_instr-1);
  |  |13157|   728k|                JUMP_TO_LABEL(exit_unwind);
  |  |  ------------------
  |  |  |  |  135|   728k|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13158|      0|            }
  |  |13159|  2.66M|            assert(STACK_LEVEL() >= level);
  |  |13160|  1.93M|            _PyStackRef *new_top = _PyFrame_Stackbase(frame) + level;
  |  |13161|  1.93M|            assert(frame->stackpointer >= new_top);
  |  |13162|  6.31M|            while (frame->stackpointer > new_top) {
  |  |  ------------------
  |  |  |  Branch (13162:20): [True: 4.37M, False: 1.93M]
  |  |  ------------------
  |  |13163|  4.37M|                _PyStackRef ref = _PyFrame_StackPop(frame);
  |  |13164|  4.37M|                PyStackRef_XCLOSE(ref);
  |  |13165|  4.37M|            }
  |  |13166|  1.93M|            if (lasti) {
  |  |  ------------------
  |  |  |  Branch (13166:17): [True: 477k, False: 1.45M]
  |  |  ------------------
  |  |13167|   477k|                int frame_lasti = _PyInterpreterFrame_LASTI(frame);
  |  |  ------------------
  |  |  |  |   18|   477k|    ((int)((IF)->instr_ptr - _PyFrame_GetBytecode((IF))))
  |  |  ------------------
  |  |13168|   477k|                _PyStackRef lasti = PyStackRef_TagInt(frame_lasti);
  |  |13169|   477k|                _PyFrame_StackPush(frame, lasti);
  |  |13170|   477k|            }
  |  |13171|  1.93M|            PyObject *exc = _PyErr_GetRaisedException(tstate);
  |  |13172|  1.93M|            _PyFrame_StackPush(frame, PyStackRef_FromPyObjectSteal(exc));
  |  |13173|  1.93M|            next_instr = _PyFrame_GetBytecode(frame) + handler;
  |  |13174|  1.93M|            int err = monitor_handled(tstate, frame, next_instr, exc);
  |  |13175|  1.93M|            if (err < 0) {
  |  |  ------------------
  |  |  |  Branch (13175:17): [True: 0, False: 1.93M]
  |  |  ------------------
  |  |13176|      0|                JUMP_TO_LABEL(exception_unwind);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13177|      0|            }
  |  |13178|       |            #ifdef Py_DEBUG
  |  |13179|       |            if (frame->lltrace >= 5) {
  |  |13180|       |                lltrace_resume_frame(frame);
  |  |13181|       |            }
  |  |13182|       |            #endif
  |  |13183|  1.93M|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |13184|       |            #if _Py_TAIL_CALL_INTERP
  |  |13185|       |            int opcode;
  |  |13186|       |            #endif
  |  |13187|  1.93M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  1.93M|    { \
  |  |  |  |  201|  1.93M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  1.93M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  1.93M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  1.93M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  1.93M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  1.93M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  1.93M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  1.93M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 1.93M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  1.93M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  1.93M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  1.93M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  1.93M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  1.93M|    }
  |  |  ------------------
  |  |13188|  1.93M|        }
  |  |13189|       |
  |  |13190|   728k|        LABEL(exit_unwind)
  |  |  ------------------
  |  |  |  |  137|   728k|#  define LABEL(name) name:
  |  |  ------------------
  |  |13191|   728k|        {
  |  |13192|   728k|            assert(_PyErr_Occurred(tstate));
  |  |13193|   728k|            DTRACE_FUNCTION_RETURN();
  |  |  ------------------
  |  |  |  |  346|   728k|#define DTRACE_FUNCTION_RETURN() ((void)0)
  |  |  ------------------
  |  |13194|   728k|            JUMP_TO_LABEL(exit_unwind_notrace);
  |  |  ------------------
  |  |  |  |  135|   728k|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13195|      0|        }
  |  |13196|       |
  |  |13197|   728k|        LABEL(exit_unwind_notrace)
  |  |  ------------------
  |  |  |  |  137|   728k|#  define LABEL(name) name:
  |  |  ------------------
  |  |13198|   728k|        {
  |  |13199|   728k|            assert(_PyErr_Occurred(tstate));
  |  |13200|   728k|            _Py_LeaveRecursiveCallPy(tstate);
  |  |13201|   728k|            assert(frame->owner != FRAME_OWNED_BY_INTERPRETER);
  |  |13202|   728k|            _PyInterpreterFrame *dying = frame;
  |  |13203|   728k|            frame = tstate->current_frame = dying->previous;
  |  |13204|   728k|            _PyEval_FrameClearAndPop(tstate, dying);
  |  |13205|   728k|            frame->return_offset = 0;
  |  |13206|   728k|            if (frame->owner == FRAME_OWNED_BY_INTERPRETER) {
  |  |  ------------------
  |  |  |  Branch (13206:17): [True: 35.3k, False: 693k]
  |  |  ------------------
  |  |13207|  35.3k|                tstate->current_frame = frame->previous;
  |  |13208|  35.3k|                #if !_Py_TAIL_CALL_INTERP
  |  |13209|  35.3k|                assert(frame == &entry.frame);
  |  |13210|  35.3k|                #endif
  |  |13211|       |                #ifdef _Py_TIER2
  |  |13212|       |                _PyStackRef executor = frame->localsplus[0];
  |  |13213|       |                assert(tstate->current_executor == NULL);
  |  |13214|       |                if (!PyStackRef_IsNull(executor)) {
  |  |13215|       |                    tstate->current_executor = PyStackRef_AsPyObjectBorrow(executor);
  |  |13216|       |                    PyStackRef_CLOSE(executor);
  |  |13217|       |                }
  |  |13218|       |                #endif
  |  |13219|  35.3k|                return NULL;
  |  |13220|  35.3k|            }
  |  |13221|   693k|            next_instr = frame->instr_ptr;
  |  |13222|   693k|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |13223|   693k|            JUMP_TO_LABEL(error);
  |  |  ------------------
  |  |  |  |  135|   693k|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13224|      0|        }
  |  |13225|       |
  |  |13226|  6.01M|        LABEL(start_frame)
  |  |  ------------------
  |  |  |  |  137|  6.01M|#  define LABEL(name) name:
  |  |  ------------------
  |  |13227|  6.01M|        {
  |  |13228|  6.01M|            int too_deep = _Py_EnterRecursivePy(tstate);
  |  |13229|  6.01M|            if (too_deep) {
  |  |  ------------------
  |  |  |  Branch (13229:17): [True: 0, False: 6.01M]
  |  |  ------------------
  |  |13230|      0|                JUMP_TO_LABEL(exit_unwind_notrace);
  |  |  ------------------
  |  |  |  |  135|      0|#  define JUMP_TO_LABEL(name) goto name;
  |  |  ------------------
  |  |13231|      0|            }
  |  |13232|  6.01M|            DTRACE_FUNCTION_ENTRY();
  |  |  ------------------
  |  |  |  |  345|  6.01M|#define DTRACE_FUNCTION_ENTRY() ((void)0)
  |  |  ------------------
  |  |13233|  6.01M|            next_instr = frame->instr_ptr;
  |  |13234|       |            #ifdef Py_DEBUG
  |  |13235|       |            int lltrace = maybe_lltrace_resume_frame(frame, GLOBALS());
  |  |13236|       |            if (lltrace < 0) {
  |  |13237|       |                JUMP_TO_LABEL(exit_unwind);
  |  |13238|       |            }
  |  |13239|       |            frame->lltrace = lltrace;
  |  |13240|       |            assert(!_PyErr_Occurred(tstate));
  |  |13241|       |            #endif
  |  |13242|  6.01M|            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |13243|       |            #if _Py_TAIL_CALL_INTERP
  |  |13244|       |            int opcode;
  |  |13245|       |            #endif
  |  |13246|  6.01M|            DISPATCH();
  |  |  ------------------
  |  |  |  |  200|  6.01M|    { \
  |  |  |  |  201|  6.01M|        assert(frame->stackpointer == NULL); \
  |  |  |  |  202|  6.01M|        NEXTOPARG(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  250|  6.01M|#define NEXTOPARG()  do { \
  |  |  |  |  |  |  251|  6.01M|        _Py_CODEUNIT word  = {.cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t*)next_instr)}; \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  157|  6.01M|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  252|  6.01M|        opcode = word.op.code; \
  |  |  |  |  |  |  253|  6.01M|        oparg = word.op.arg; \
  |  |  |  |  |  |  254|  6.01M|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (254:14): [Folded, False: 6.01M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  203|  6.01M|        PRE_DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  176|  6.01M|#define PRE_DISPATCH_GOTO() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |  204|  6.01M|        DISPATCH_GOTO(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  133|  6.01M|#  define DISPATCH_GOTO() goto *opcode_targets[opcode]
  |  |  |  |  ------------------
  |  |  |  |  205|  6.01M|    }
  |  |  ------------------
  |  |13247|  6.01M|        }
  |  |13248|       |
  |  |13249|       |        #if _Py_TAIL_CALL_INTERP && !defined(_Py_TIER2)
  |  |13250|       |        Py_GCC_ATTRIBUTE((unused))
  |  |13251|       |        #endif
  |  |13252|      0|        LABEL(stop_tracing)
  |  |  ------------------
  |  |  |  |  137|      0|#  define LABEL(name) name:
  |  |  ------------------
  |  |13253|      0|        {
  |  |13254|       |            #if _Py_TIER2
  |  |13255|       |            assert(IS_JIT_TRACING());
  |  |13256|       |            int opcode = next_instr->op.code;
  |  |13257|       |            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13258|       |            _PyJit_translate_single_bytecode_to_trace(tstate, frame, NULL, _EXIT_TRACE);
  |  |13259|       |            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |13260|       |            LEAVE_TRACING();
  |  |13261|       |            _PyFrame_SetStackPointer(frame, stack_pointer);
  |  |13262|       |            int err = stop_tracing_and_jit(tstate, frame);
  |  |13263|       |            stack_pointer = _PyFrame_GetStackPointer(frame);
  |  |13264|       |            if (err < 0) {
  |  |13265|       |                JUMP_TO_LABEL(error);
  |  |13266|       |            }
  |  |13267|       |            DISPATCH_GOTO_NON_TRACING();
  |  |13268|       |            #else
  |  |13269|      0|            Py_FatalError("JIT label executed in non-jit build.");
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  |  |13270|      0|            #endif
  |  |13271|      0|        }
  |  |13272|       |
  |  |13273|       |/* END LABELS */
  |  |13274|      0|#undef TIER_ONE
  ------------------
 1321|      0|#endif
 1322|       |
 1323|       |
 1324|      0|early_exit:
 1325|      0|    assert(_PyErr_Occurred(tstate));
 1326|      0|    _Py_LeaveRecursiveCallPy(tstate);
 1327|      0|    assert(frame->owner != FRAME_OWNED_BY_INTERPRETER);
 1328|       |    // GH-99729: We need to unlink the frame *before* clearing it:
 1329|      0|    _PyInterpreterFrame *dying = frame;
 1330|      0|    frame = tstate->current_frame = dying->previous;
 1331|      0|    _PyEval_FrameClearAndPop(tstate, dying);
 1332|      0|    frame->return_offset = 0;
 1333|      0|    assert(frame->owner == FRAME_OWNED_BY_INTERPRETER);
 1334|       |    /* Restore previous frame and exit */
 1335|      0|    tstate->current_frame = frame->previous;
 1336|       |    return NULL;
 1337|  4.21G|}
_PyEval_FrameClearAndPop:
 1988|  62.1M|{
 1989|       |    // Update last_profiled_frame for remote profiler frame caching.
 1990|       |    // By this point, tstate->current_frame is already set to the parent frame.
 1991|       |    // Only update if we're popping the exact frame that was last profiled.
 1992|       |    // This avoids corrupting the cache when transient frames (called and returned
 1993|       |    // between profiler samples) update last_profiled_frame to addresses the
 1994|       |    // profiler never saw.
 1995|  62.1M|    if (tstate->last_profiled_frame != NULL && tstate->last_profiled_frame == frame) {
  ------------------
  |  Branch (1995:9): [True: 0, False: 62.1M]
  |  Branch (1995:48): [True: 0, False: 0]
  ------------------
 1996|      0|        tstate->last_profiled_frame = tstate->current_frame;
 1997|      0|    }
 1998|       |
 1999|  62.1M|    if (frame->owner == FRAME_OWNED_BY_THREAD) {
  ------------------
  |  Branch (1999:9): [True: 59.9M, False: 2.18M]
  ------------------
 2000|  59.9M|        clear_thread_frame(tstate, frame);
 2001|  59.9M|    }
 2002|  2.18M|    else {
 2003|  2.18M|        clear_gen_frame(tstate, frame);
 2004|  2.18M|    }
 2005|  62.1M|}
_PyEvalFramePushAndInit:
 2012|  12.3M|{
 2013|  12.3M|    PyFunctionObject *func_obj = (PyFunctionObject *)PyStackRef_AsPyObjectBorrow(func);
 2014|  12.3M|    PyCodeObject * code = (PyCodeObject *)func_obj->func_code;
 2015|  12.3M|    CALL_STAT_INC(frames_pushed);
  ------------------
  |  |   76|  12.3M|#define CALL_STAT_INC(name) ((void)0)
  ------------------
 2016|  12.3M|    _PyInterpreterFrame *frame = _PyThreadState_PushFrame(tstate, code->co_framesize);
 2017|  12.3M|    if (frame == NULL) {
  ------------------
  |  Branch (2017:9): [True: 0, False: 12.3M]
  ------------------
 2018|      0|        goto fail;
 2019|      0|    }
 2020|  12.3M|    _PyFrame_Initialize(tstate, frame, func, locals, code, 0, previous);
 2021|  12.3M|    if (initialize_locals(tstate, func_obj, frame->localsplus, args, argcount, kwnames)) {
  ------------------
  |  Branch (2021:9): [True: 0, False: 12.3M]
  ------------------
 2022|      0|        assert(frame->owner == FRAME_OWNED_BY_THREAD);
 2023|      0|        clear_thread_frame(tstate, frame);
 2024|      0|        return NULL;
 2025|      0|    }
 2026|  12.3M|    return frame;
 2027|      0|fail:
 2028|       |    /* Consume the references */
 2029|      0|    PyStackRef_CLOSE(func);
 2030|      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]
  |  |  ------------------
  ------------------
 2031|      0|    for (size_t i = 0; i < argcount; i++) {
  ------------------
  |  Branch (2031:24): [True: 0, False: 0]
  ------------------
 2032|      0|        PyStackRef_CLOSE(args[i]);
 2033|      0|    }
 2034|      0|    if (kwnames) {
  ------------------
  |  Branch (2034:9): [True: 0, False: 0]
  ------------------
 2035|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2036|      0|        for (Py_ssize_t i = 0; i < kwcount; i++) {
  ------------------
  |  Branch (2036:32): [True: 0, False: 0]
  ------------------
 2037|      0|            PyStackRef_CLOSE(args[i+argcount]);
 2038|      0|        }
 2039|      0|    }
 2040|      0|    PyErr_NoMemory();
 2041|       |    return NULL;
 2042|  12.3M|}
_PyEvalFramePushAndInit_Ex:
 2050|  79.8k|{
 2051|  79.8k|    bool has_dict = (kwargs != NULL && PyDict_GET_SIZE(kwargs) > 0);
  ------------------
  |  |   63|  79.5k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  79.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  79.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2051:22): [True: 79.5k, False: 276]
  |  Branch (2051:40): [True: 27.3k, False: 52.2k]
  ------------------
 2052|  79.8k|    PyObject *kwnames = NULL;
 2053|  79.8k|    _PyStackRef *newargs;
 2054|  79.8k|    PyObject *const *object_array = NULL;
 2055|  79.8k|    _PyStackRef stack_array[8] = {0};
 2056|  79.8k|    if (has_dict) {
  ------------------
  |  Branch (2056:9): [True: 27.3k, False: 52.5k]
  ------------------
 2057|  27.3k|        object_array = _PyStack_UnpackDict(tstate, _PyTuple_ITEMS(callargs), nargs, kwargs, &kwnames);
  ------------------
  |  |   26|  27.3k|#define _PyTuple_ITEMS(op) _Py_RVALUE(_PyTuple_CAST(op)->ob_item)
  |  |  ------------------
  |  |  |  |  277|  27.3k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2058|  27.3k|        if (object_array == NULL) {
  ------------------
  |  Branch (2058:13): [True: 0, False: 27.3k]
  ------------------
 2059|      0|            PyStackRef_CLOSE(func);
 2060|      0|            goto error;
 2061|      0|        }
 2062|  27.3k|        size_t nkwargs = PyDict_GET_SIZE(kwargs);
  ------------------
  |  |   63|  27.3k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  27.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2063|  27.3k|        assert(sizeof(PyObject *) == sizeof(_PyStackRef));
 2064|  27.3k|        newargs = (_PyStackRef *)object_array;
 2065|       |        /* Positional args are borrowed from callargs tuple, need new reference */
 2066|  54.5k|        for (Py_ssize_t i = 0; i < nargs; i++) {
  ------------------
  |  Branch (2066:32): [True: 27.1k, False: 27.3k]
  ------------------
 2067|  27.1k|            newargs[i] = PyStackRef_FromPyObjectNew(object_array[i]);
  ------------------
  |  |  599|  27.1k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  27.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2068|  27.1k|        }
 2069|       |        /* Keyword args are owned by _PyStack_UnpackDict, steal them */
 2070|  82.0k|        for (size_t i = 0; i < nkwargs; i++) {
  ------------------
  |  Branch (2070:28): [True: 54.7k, False: 27.3k]
  ------------------
 2071|  54.7k|            newargs[nargs + i] = PyStackRef_FromPyObjectSteal(object_array[nargs + i]);
 2072|  54.7k|        }
 2073|  27.3k|    }
 2074|  52.5k|    else {
 2075|  52.5k|        if (nargs <= 8) {
  ------------------
  |  Branch (2075:13): [True: 52.5k, False: 8]
  ------------------
 2076|  52.5k|            newargs = stack_array;
 2077|  52.5k|        }
 2078|      8|        else {
 2079|      8|            newargs = PyMem_Malloc(sizeof(_PyStackRef) *nargs);
 2080|      8|            if (newargs == NULL) {
  ------------------
  |  Branch (2080:17): [True: 0, False: 8]
  ------------------
 2081|      0|                PyErr_NoMemory();
 2082|      0|                PyStackRef_CLOSE(func);
 2083|      0|                goto error;
 2084|      0|            }
 2085|      8|        }
 2086|       |        /* We need to create a new reference for all our args since the new frame steals them. */
 2087|   136k|        for (Py_ssize_t i = 0; i < nargs; i++) {
  ------------------
  |  Branch (2087:32): [True: 83.5k, False: 52.5k]
  ------------------
 2088|  83.5k|            newargs[i] = PyStackRef_FromPyObjectNew(PyTuple_GET_ITEM(callargs, i));
  ------------------
  |  |  599|  83.5k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  83.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  83.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2089|  83.5k|        }
 2090|  52.5k|    }
 2091|  79.8k|    _PyInterpreterFrame *new_frame = _PyEvalFramePushAndInit(
 2092|  79.8k|        tstate, func, locals,
 2093|  79.8k|        newargs, nargs, kwnames, previous
 2094|  79.8k|    );
 2095|  79.8k|    if (has_dict) {
  ------------------
  |  Branch (2095:9): [True: 27.3k, False: 52.5k]
  ------------------
 2096|  27.3k|        _PyStack_UnpackDict_FreeNoDecRef(object_array, kwnames);
 2097|  27.3k|    }
 2098|  52.5k|    else if (nargs > 8) {
  ------------------
  |  Branch (2098:14): [True: 8, False: 52.5k]
  ------------------
 2099|      8|       PyMem_Free((void *)newargs);
 2100|      8|    }
 2101|       |    /* No need to decref func here because the reference has been stolen by
 2102|       |       _PyEvalFramePushAndInit.
 2103|       |    */
 2104|  79.8k|    Py_DECREF(callargs);
  ------------------
  |  |   80|  79.8k|    do { \
  |  |   81|  79.8k|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|  79.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  79.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|  79.8k|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|  79.8k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  79.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  79.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 3.78k, False: 76.0k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|  3.78k|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|  3.78k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|  3.78k|            break; \
  |  |   85|  3.78k|        } \
  |  |   86|  79.8k|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|  76.0k|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|  76.0k|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 7.66k, False: 68.4k]
  |  |  ------------------
  |  |   88|  7.66k|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|  7.66k|    do { \
  |  |  |  |  113|  7.66k|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|  7.66k|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 7.66k]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|  7.66k|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 7.66k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|  7.66k|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|  7.66k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  7.66k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  7.66k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|  7.66k|            (*dealloc)(op); \
  |  |   91|  7.66k|        } \
  |  |   92|  76.0k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 76.0k]
  |  |  ------------------
  ------------------
 2105|  79.8k|    Py_XDECREF(kwargs);
  ------------------
  |  |   69|  79.8k|    do { \
  |  |   70|  79.8k|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|  79.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  79.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   71|  79.8k|        if (xop != NULL) { \
  |  |  ------------------
  |  |  |  Branch (71:13): [True: 79.5k, False: 276]
  |  |  ------------------
  |  |   72|  79.5k|            Py_DECREF(xop); \
  |  |  ------------------
  |  |  |  |   80|  79.5k|    do { \
  |  |  |  |   81|  79.5k|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  79.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  79.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|  79.5k|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|  79.5k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  79.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  79.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 79.5k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|  79.5k|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|  79.5k|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|  79.5k|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 79.5k, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   88|  79.5k|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  112|  79.5k|    do { \
  |  |  |  |  |  |  113|  79.5k|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  |  |  114|  79.5k|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (114:13): [True: 0, False: 79.5k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  |  |  117|      0|        } \
  |  |  |  |  |  |  118|  79.5k|    } while(0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (118:13): [Folded, False: 79.5k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   89|  79.5k|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  |  |  ------------------
  |  |  |  |  |  |  213|  79.5k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  79.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  79.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   90|  79.5k|            (*dealloc)(op); \
  |  |  |  |   91|  79.5k|        } \
  |  |  |  |   92|  79.5k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 79.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   73|  79.5k|        } \
  |  |   74|  79.8k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (74:14): [Folded, False: 79.8k]
  |  |  ------------------
  ------------------
 2106|  79.8k|    return new_frame;
 2107|      0|error:
 2108|      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]
  |  |  ------------------
  ------------------
 2109|      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]
  |  |  ------------------
  ------------------
 2110|       |    return NULL;
 2111|  79.8k|}
_PyEval_Vector:
 2118|  4.39M|{
 2119|  4.39M|    size_t total_args = argcount;
 2120|  4.39M|    if (kwnames) {
  ------------------
  |  Branch (2120:9): [True: 2.28M, False: 2.11M]
  ------------------
 2121|  2.28M|        total_args += PyTuple_GET_SIZE(kwnames);
  ------------------
  |  |   27|  2.28M|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.28M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.28M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2122|  2.28M|    }
 2123|  4.39M|    _PyStackRef stack_array[8] = {0};
 2124|  4.39M|    _PyStackRef *arguments;
 2125|  4.39M|    if (total_args <= 8) {
  ------------------
  |  Branch (2125:9): [True: 4.39M, False: 4.33k]
  ------------------
 2126|  4.39M|        arguments = stack_array;
 2127|  4.39M|    }
 2128|  4.33k|    else {
 2129|  4.33k|        arguments = PyMem_Malloc(sizeof(_PyStackRef) * total_args);
 2130|  4.33k|        if (arguments == NULL) {
  ------------------
  |  Branch (2130:13): [True: 0, False: 4.33k]
  ------------------
 2131|      0|            return PyErr_NoMemory();
 2132|      0|        }
 2133|  4.33k|    }
 2134|       |    /* _PyEvalFramePushAndInit consumes the references
 2135|       |     * to func, locals and all its arguments */
 2136|  4.39M|    Py_XINCREF(locals);
  ------------------
  |  |  514|  4.39M|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.39M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.39M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2137|  11.2M|    for (size_t i = 0; i < argcount; i++) {
  ------------------
  |  Branch (2137:24): [True: 6.85M, False: 4.39M]
  ------------------
 2138|  6.85M|        arguments[i] = PyStackRef_FromPyObjectNew(args[i]);
  ------------------
  |  |  599|  6.85M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  6.85M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.85M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2139|  6.85M|    }
 2140|  4.39M|    if (kwnames) {
  ------------------
  |  Branch (2140:9): [True: 2.28M, False: 2.11M]
  ------------------
 2141|  2.28M|        Py_ssize_t kwcount = PyTuple_GET_SIZE(kwnames);
  ------------------
  |  |   27|  2.28M|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.28M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.28M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2142|  5.23M|        for (Py_ssize_t i = 0; i < kwcount; i++) {
  ------------------
  |  Branch (2142:32): [True: 2.94M, False: 2.28M]
  ------------------
 2143|  2.94M|            arguments[i+argcount] = PyStackRef_FromPyObjectNew(args[i+argcount]);
  ------------------
  |  |  599|  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2144|  2.94M|        }
 2145|  2.28M|    }
 2146|  4.39M|    _PyInterpreterFrame *frame = _PyEvalFramePushAndInit(
 2147|  4.39M|        tstate, PyStackRef_FromPyObjectNew(func), locals,
  ------------------
  |  |  599|  4.39M|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  4.39M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.39M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2148|  4.39M|        arguments, argcount, kwnames, NULL);
 2149|  4.39M|    if (total_args > 8) {
  ------------------
  |  Branch (2149:9): [True: 4.33k, False: 4.39M]
  ------------------
 2150|  4.33k|        PyMem_Free(arguments);
 2151|  4.33k|    }
 2152|  4.39M|    if (frame == NULL) {
  ------------------
  |  Branch (2152:9): [True: 0, False: 4.39M]
  ------------------
 2153|      0|        return NULL;
 2154|      0|    }
 2155|  4.39M|    EVAL_CALL_STAT_INC(EVAL_CALL_VECTOR);
  ------------------
  |  |   79|  4.39M|#define EVAL_CALL_STAT_INC(name) ((void)0)
  ------------------
 2156|  4.39M|    return _PyEval_EvalFrame(tstate, frame, 0);
 2157|  4.39M|}
_PyEval_UnpackIterableStackRef:
 2334|  54.8k|{
 2335|  54.8k|    int i = 0, j = 0;
 2336|  54.8k|    Py_ssize_t ll = 0;
 2337|  54.8k|    PyObject *it;  /* iter(v) */
 2338|  54.8k|    PyObject *w;
 2339|  54.8k|    PyObject *l = NULL; /* variable list */
 2340|  54.8k|    assert(v != NULL);
 2341|       |
 2342|  54.8k|    it = PyObject_GetIter(v);
 2343|  54.8k|    if (it == NULL) {
  ------------------
  |  Branch (2343:9): [True: 0, False: 54.8k]
  ------------------
 2344|      0|        if (_PyErr_ExceptionMatches(tstate, PyExc_TypeError) &&
  ------------------
  |  Branch (2344:13): [True: 0, False: 0]
  ------------------
 2345|      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 (2345:13): [True: 0, False: 0]
  |  Branch (2345:44): [True: 0, False: 0]
  ------------------
 2346|      0|        {
 2347|      0|            _PyErr_Format(tstate, PyExc_TypeError,
 2348|      0|                          "cannot unpack non-iterable %.200s object",
 2349|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2350|      0|        }
 2351|      0|        return 0;
 2352|      0|    }
 2353|       |
 2354|   165k|    for (; i < argcnt; i++) {
  ------------------
  |  Branch (2354:12): [True: 110k, False: 54.8k]
  ------------------
 2355|   110k|        w = PyIter_Next(it);
 2356|   110k|        if (w == NULL) {
  ------------------
  |  Branch (2356:13): [True: 0, False: 110k]
  ------------------
 2357|       |            /* Iterator done, via error or exhaustion. */
 2358|      0|            if (!_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (2358:17): [True: 0, False: 0]
  ------------------
 2359|      0|                if (argcntafter == -1) {
  ------------------
  |  Branch (2359:21): [True: 0, False: 0]
  ------------------
 2360|      0|                    _PyErr_Format(tstate, PyExc_ValueError,
 2361|      0|                                  "not enough values to unpack "
 2362|      0|                                  "(expected %d, got %d)",
 2363|      0|                                  argcnt, i);
 2364|      0|                }
 2365|      0|                else {
 2366|      0|                    _PyErr_Format(tstate, PyExc_ValueError,
 2367|      0|                                  "not enough values to unpack "
 2368|      0|                                  "(expected at least %d, got %d)",
 2369|      0|                                  argcnt + argcntafter, i);
 2370|      0|                }
 2371|      0|            }
 2372|      0|            goto Error;
 2373|      0|        }
 2374|   110k|        *--sp = PyStackRef_FromPyObjectSteal(w);
 2375|   110k|    }
 2376|       |
 2377|  54.8k|    if (argcntafter == -1) {
  ------------------
  |  Branch (2377:9): [True: 54.8k, False: 0]
  ------------------
 2378|       |        /* We better have exhausted the iterator now. */
 2379|  54.8k|        w = PyIter_Next(it);
 2380|  54.8k|        if (w == NULL) {
  ------------------
  |  Branch (2380:13): [True: 54.8k, False: 0]
  ------------------
 2381|  54.8k|            if (_PyErr_Occurred(tstate))
  ------------------
  |  Branch (2381:17): [True: 0, False: 54.8k]
  ------------------
 2382|      0|                goto Error;
 2383|  54.8k|            Py_DECREF(it);
  ------------------
  |  |   80|  54.8k|    do { \
  |  |   81|  54.8k|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|  54.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  54.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|  54.8k|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|  54.8k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  54.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  54.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 54.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|  54.8k|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|  54.8k|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|  54.8k|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 54.8k, False: 0]
  |  |  ------------------
  |  |   88|  54.8k|            _PyReftracerTrack(op, PyRefTracer_DESTROY); \
  |  |  ------------------
  |  |  |  |  112|  54.8k|    do { \
  |  |  |  |  113|  54.8k|        struct _reftracer_runtime_state *tracer = &_PyRuntime.ref_tracer; \
  |  |  |  |  114|  54.8k|        if (tracer->tracer_func != NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (114:13): [True: 0, False: 54.8k]
  |  |  |  |  ------------------
  |  |  |  |  115|      0|            void *data = tracer->tracer_data; \
  |  |  |  |  116|      0|            tracer->tracer_func((obj), (operation), data); \
  |  |  |  |  117|      0|        } \
  |  |  |  |  118|  54.8k|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (118:13): [Folded, False: 54.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   89|  54.8k|            destructor dealloc = Py_TYPE(op)->tp_dealloc; \
  |  |  ------------------
  |  |  |  |  213|  54.8k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  54.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  54.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   90|  54.8k|            (*dealloc)(op); \
  |  |   91|  54.8k|        } \
  |  |   92|  54.8k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 54.8k]
  |  |  ------------------
  ------------------
 2384|  54.8k|            return 1;
 2385|  54.8k|        }
 2386|      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]
  |  |  ------------------
  ------------------
 2387|       |
 2388|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2389|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2390|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2391|      0|            if (ll > argcnt) {
  ------------------
  |  Branch (2391:17): [True: 0, False: 0]
  ------------------
 2392|      0|                _PyErr_Format(tstate, PyExc_ValueError,
 2393|      0|                              "too many values to unpack (expected %d, got %zd)",
 2394|      0|                              argcnt, ll);
 2395|      0|                goto Error;
 2396|      0|            }
 2397|      0|        }
 2398|      0|        _PyErr_Format(tstate, PyExc_ValueError,
 2399|      0|                      "too many values to unpack (expected %d)",
 2400|      0|                      argcnt);
 2401|      0|        goto Error;
 2402|      0|    }
 2403|       |
 2404|      0|    l = PySequence_List(it);
 2405|      0|    if (l == NULL)
  ------------------
  |  Branch (2405:9): [True: 0, False: 0]
  ------------------
 2406|      0|        goto Error;
 2407|      0|    *--sp = PyStackRef_FromPyObjectSteal(l);
 2408|      0|    i++;
 2409|       |
 2410|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2411|      0|    if (ll < argcntafter) {
  ------------------
  |  Branch (2411:9): [True: 0, False: 0]
  ------------------
 2412|      0|        _PyErr_Format(tstate, PyExc_ValueError,
 2413|      0|            "not enough values to unpack (expected at least %d, got %zd)",
 2414|      0|            argcnt + argcntafter, argcnt + ll);
 2415|      0|        goto Error;
 2416|      0|    }
 2417|       |
 2418|       |    /* Pop the "after-variable" args off the list. */
 2419|      0|    for (j = argcntafter; j > 0; j--, i++) {
  ------------------
  |  Branch (2419:27): [True: 0, False: 0]
  ------------------
 2420|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2421|      0|    }
 2422|       |    /* Resize the list. */
 2423|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2424|      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]
  |  |  ------------------
  ------------------
 2425|      0|    return 1;
 2426|       |
 2427|      0|Error:
 2428|      0|    for (; i > 0; i--, sp++) {
  ------------------
  |  Branch (2428:12): [True: 0, False: 0]
  ------------------
 2429|      0|        PyStackRef_CLOSE(*sp);
 2430|      0|    }
 2431|       |    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]
  |  |  ------------------
  ------------------
 2432|      0|    return 0;
 2433|      0|}
_PyEval_MonitorRaise:
 2440|  2.14M|{
 2441|  2.14M|    if (no_tools_for_local_event(tstate, frame, PY_MONITORING_EVENT_RAISE)) {
  ------------------
  |  |   32|  2.14M|#define PY_MONITORING_EVENT_RAISE 11
  ------------------
  |  Branch (2441:9): [True: 2.14M, False: 0]
  ------------------
 2442|  2.14M|        return;
 2443|  2.14M|    }
 2444|      0|    do_monitor_exc(tstate, frame, instr, PY_MONITORING_EVENT_RAISE);
  ------------------
  |  |   32|      0|#define PY_MONITORING_EVENT_RAISE 11
  ------------------
 2445|      0|}
_PyEval_NoToolsForUnwind:
 2449|    217|{
 2450|    217|    return no_tools_for_local_event(tstate, frame, PY_MONITORING_EVENT_PY_UNWIND);
  ------------------
  |  |   34|    217|#define PY_MONITORING_EVENT_PY_UNWIND 13
  ------------------
 2451|    217|}
_PyEval_GetFrame:
 2587|    132|{
 2588|    132|    PyThreadState *tstate = _PyThreadState_GET();
 2589|    132|    return _PyThreadState_GetFrame(tstate);
 2590|    132|}
_PyEval_GetBuiltins:
 2608|  4.08k|{
 2609|  4.08k|    _PyInterpreterFrame *frame = _PyThreadState_GetFrame(tstate);
 2610|  4.08k|    if (frame != NULL) {
  ------------------
  |  Branch (2610:9): [True: 4.07k, False: 4]
  ------------------
 2611|  4.07k|        return frame->f_builtins;
 2612|  4.07k|    }
 2613|      4|    return tstate->interp->builtins;
 2614|  4.08k|}
PyEval_GetBuiltins:
 2618|  4.06k|{
 2619|  4.06k|    PyThreadState *tstate = _PyThreadState_GET();
 2620|  4.06k|    return _PyEval_GetBuiltins(tstate);
 2621|  4.06k|}
_PyEval_GetFrameLocals:
 2686|      6|{
 2687|      6|    PyThreadState *tstate = _PyThreadState_GET();
 2688|      6|     _PyInterpreterFrame *current_frame = _PyThreadState_GetFrame(tstate);
 2689|      6|    if (current_frame == NULL) {
  ------------------
  |  Branch (2689:9): [True: 0, False: 6]
  ------------------
 2690|      0|        _PyErr_SetString(tstate, PyExc_SystemError, "frame does not exist");
 2691|      0|        return NULL;
 2692|      0|    }
 2693|       |
 2694|      6|    PyObject *locals = _PyFrame_GetLocals(current_frame);
 2695|      6|    if (locals == NULL) {
  ------------------
  |  Branch (2695:9): [True: 0, False: 6]
  ------------------
 2696|      0|        return NULL;
 2697|      0|    }
 2698|       |
 2699|      6|    if (PyFrameLocalsProxy_Check(locals)) {
  ------------------
  |  |    9|      6|#define PyFrameLocalsProxy_Check(op) Py_IS_TYPE((op), &PyFrameLocalsProxy_Type)
  |  |  ------------------
  |  |  |  |   65|      6|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      6|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      6|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (65:5): [True: 4, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2700|      4|        PyObject* ret = PyDict_New();
 2701|      4|        if (ret == NULL) {
  ------------------
  |  Branch (2701:13): [True: 0, False: 4]
  ------------------
 2702|      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]
  |  |  ------------------
  ------------------
 2703|      0|            return NULL;
 2704|      0|        }
 2705|      4|        if (PyDict_Update(ret, locals) < 0) {
  ------------------
  |  Branch (2705:13): [True: 0, False: 4]
  ------------------
 2706|      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]
  |  |  ------------------
  ------------------
 2707|      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]
  |  |  ------------------
  ------------------
 2708|      0|            return NULL;
 2709|      0|        }
 2710|      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]
  |  |  ------------------
  ------------------
 2711|      4|        return ret;
 2712|      4|    }
 2713|       |
 2714|      6|    assert(PyMapping_Check(locals));
 2715|      2|    return locals;
 2716|      6|}
PyEval_GetGlobals:
 2730|  20.8k|{
 2731|  20.8k|    PyThreadState *tstate = _PyThreadState_GET();
 2732|  20.8k|    return _PyEval_GetGlobals(tstate);
 2733|  20.8k|}
_PyEval_EnsureBuiltins:
 2793|  4.17k|{
 2794|  4.17k|    PyObject *builtins = get_globals_builtins(globals);
 2795|  4.17k|    if (builtins == NULL) {
  ------------------
  |  Branch (2795:9): [True: 4.06k, False: 108]
  ------------------
 2796|  4.06k|        if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (2796:13): [True: 0, False: 4.06k]
  ------------------
 2797|      0|            return -1;
 2798|      0|        }
 2799|  4.06k|        builtins = PyEval_GetBuiltins();  // borrowed
 2800|  4.06k|        if (builtins == NULL) {
  ------------------
  |  Branch (2800:13): [True: 0, False: 4.06k]
  ------------------
 2801|      0|            assert(_PyErr_Occurred(tstate));
 2802|      0|            return -1;
 2803|      0|        }
 2804|  4.06k|        Py_INCREF(builtins);
  ------------------
  |  |  310|  4.06k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.06k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.06k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2805|  4.06k|        if (set_globals_builtins(globals, builtins) < 0) {
  ------------------
  |  Branch (2805:13): [True: 0, False: 4.06k]
  ------------------
 2806|      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]
  |  |  ------------------
  ------------------
 2807|      0|            return -1;
 2808|      0|        }
 2809|  4.06k|    }
 2810|  4.17k|    if (p_builtins != NULL) {
  ------------------
  |  Branch (2810:9): [True: 0, False: 4.17k]
  ------------------
 2811|      0|        *p_builtins = builtins;
 2812|      0|    }
 2813|  4.17k|    else {
 2814|       |        Py_DECREF(builtins);
  ------------------
  |  |   80|  4.17k|    do { \
  |  |   81|  4.17k|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|  4.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|  4.17k|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|  4.17k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  4.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  4.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 4.17k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|  4.17k|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|  4.17k|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|  4.17k|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 4.17k]
  |  |  ------------------
  |  |   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.17k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 4.17k]
  |  |  ------------------
  ------------------
 2815|  4.17k|    }
 2816|  4.17k|    return 0;
 2817|  4.17k|}
_PyEval_EnsureBuiltinsWithModule:
 2822|     16|{
 2823|     16|    PyObject *builtins = get_globals_builtins(globals);
 2824|     16|    if (builtins == NULL) {
  ------------------
  |  Branch (2824:9): [True: 16, False: 0]
  ------------------
 2825|     16|        if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (2825:13): [True: 0, False: 16]
  ------------------
 2826|      0|            return -1;
 2827|      0|        }
 2828|     16|        builtins = PyImport_ImportModuleLevel("builtins", NULL, NULL, NULL, 0);
 2829|     16|        if (builtins == NULL) {
  ------------------
  |  Branch (2829:13): [True: 0, False: 16]
  ------------------
 2830|      0|            return -1;
 2831|      0|        }
 2832|     16|        if (set_globals_builtins(globals, builtins) < 0) {
  ------------------
  |  Branch (2832:13): [True: 0, False: 16]
  ------------------
 2833|      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]
  |  |  ------------------
  ------------------
 2834|      0|            return -1;
 2835|      0|        }
 2836|     16|    }
 2837|     16|    if (p_builtins != NULL) {
  ------------------
  |  Branch (2837:9): [True: 16, False: 0]
  ------------------
 2838|     16|        *p_builtins = builtins;
 2839|     16|    }
 2840|      0|    else {
 2841|       |        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]
  |  |  ------------------
  ------------------
 2842|      0|    }
 2843|     16|    return 0;
 2844|     16|}
PyEval_MergeCompilerFlags:
 2870|  27.3k|{
 2871|  27.3k|    PyThreadState *tstate = _PyThreadState_GET();
 2872|  27.3k|    _PyInterpreterFrame *current_frame = tstate->current_frame;
 2873|  27.3k|    if (current_frame == tstate->base_frame) {
  ------------------
  |  Branch (2873:9): [True: 0, False: 27.3k]
  ------------------
 2874|      0|        current_frame = NULL;
 2875|      0|    }
 2876|  27.3k|    int result = cf->cf_flags != 0;
 2877|       |
 2878|  27.3k|    if (current_frame != NULL) {
  ------------------
  |  Branch (2878:9): [True: 27.3k, False: 0]
  ------------------
 2879|  27.3k|        const int codeflags = _PyFrame_GetCode(current_frame)->co_flags;
 2880|  27.3k|        const int compilerflags = codeflags & PyCF_MASK;
  ------------------
  |  |    6|  27.3k|#define PyCF_MASK (CO_FUTURE_DIVISION | CO_FUTURE_ABSOLUTE_IMPORT | \
  |  |  ------------------
  |  |  |  |  135|  27.3k|#define CO_FUTURE_DIVISION      0x20000
  |  |  ------------------
  |  |               #define PyCF_MASK (CO_FUTURE_DIVISION | CO_FUTURE_ABSOLUTE_IMPORT | \
  |  |  ------------------
  |  |  |  |  136|  27.3k|#define CO_FUTURE_ABSOLUTE_IMPORT 0x40000 /* do absolute imports by default */
  |  |  ------------------
  |  |    7|  27.3k|                   CO_FUTURE_WITH_STATEMENT | CO_FUTURE_PRINT_FUNCTION | \
  |  |  ------------------
  |  |  |  |  137|  27.3k|#define CO_FUTURE_WITH_STATEMENT  0x80000
  |  |  ------------------
  |  |                                  CO_FUTURE_WITH_STATEMENT | CO_FUTURE_PRINT_FUNCTION | \
  |  |  ------------------
  |  |  |  |  138|  27.3k|#define CO_FUTURE_PRINT_FUNCTION  0x100000
  |  |  ------------------
  |  |    8|  27.3k|                   CO_FUTURE_UNICODE_LITERALS | CO_FUTURE_BARRY_AS_BDFL | \
  |  |  ------------------
  |  |  |  |  139|  27.3k|#define CO_FUTURE_UNICODE_LITERALS 0x200000
  |  |  ------------------
  |  |                                  CO_FUTURE_UNICODE_LITERALS | CO_FUTURE_BARRY_AS_BDFL | \
  |  |  ------------------
  |  |  |  |  141|  27.3k|#define CO_FUTURE_BARRY_AS_BDFL  0x400000
  |  |  ------------------
  |  |    9|  27.3k|                   CO_FUTURE_GENERATOR_STOP | CO_FUTURE_ANNOTATIONS)
  |  |  ------------------
  |  |  |  |  142|  27.3k|#define CO_FUTURE_GENERATOR_STOP  0x800000
  |  |  ------------------
  |  |                                  CO_FUTURE_GENERATOR_STOP | CO_FUTURE_ANNOTATIONS)
  |  |  ------------------
  |  |  |  |  143|  27.3k|#define CO_FUTURE_ANNOTATIONS    0x1000000
  |  |  ------------------
  ------------------
 2881|  27.3k|        if (compilerflags) {
  ------------------
  |  Branch (2881:13): [True: 0, False: 27.3k]
  ------------------
 2882|      0|            result = 1;
 2883|      0|            cf->cf_flags |= compilerflags;
 2884|      0|        }
 2885|  27.3k|    }
 2886|  27.3k|    return result;
 2887|  27.3k|}
_PyEval_SliceIndex:
 2924|  15.2M|{
 2925|  15.2M|    if (Py_IsNone(v)) {
  ------------------
  |  |  621|  15.2M|#define Py_IsNone(x) Py_Is((x), Py_None)
  |  |  ------------------
  |  |  |  |  187|  15.2M|#define Py_Is(x, y) ((x) == (y))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (187:21): [True: 39.2k, False: 15.1M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2926|  39.2k|        return 1;
 2927|  39.2k|    }
 2928|  15.1M|    return _PyEval_SliceIndexNotNone(v, pi);
 2929|  15.2M|}
_PyEval_SliceIndexNotNone:
 2933|  15.1M|{
 2934|  15.1M|    PyThreadState *tstate = _PyThreadState_GET();
 2935|  15.1M|    Py_ssize_t x;
 2936|  15.1M|    if (PyLong_CheckExact(v) && _PyLong_IsCompact((PyLongObject *)v)) {
  ------------------
  |  |   14|  15.1M|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |   65|  30.3M|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  15.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  15.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (65:5): [True: 15.1M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2936:33): [True: 15.1M, False: 0]
  ------------------
 2937|  15.1M|        *pi = _PyLong_CompactValue((PyLongObject *)v);
 2938|  15.1M|        return 1;
 2939|  15.1M|    }
 2940|      0|    if (_PyIndex_Check(v)) {
  ------------------
  |  Branch (2940:9): [True: 0, False: 0]
  ------------------
 2941|      0|        x = PyNumber_AsSsize_t(v, NULL);
 2942|      0|        if (x == -1 && _PyErr_Occurred(tstate))
  ------------------
  |  Branch (2942:13): [True: 0, False: 0]
  |  Branch (2942:24): [True: 0, False: 0]
  ------------------
 2943|      0|            return 0;
 2944|      0|    }
 2945|      0|    else {
 2946|      0|        _PyErr_SetString(tstate, PyExc_TypeError,
 2947|      0|                         "slice indices must be integers or "
 2948|      0|                         "have an __index__ method");
 2949|      0|        return 0;
 2950|      0|    }
 2951|      0|    *pi = x;
 2952|      0|    return 1;
 2953|      0|}
_PyEval_UnpackIndices:
 2959|  38.6k|{
 2960|  38.6k|    if (len < 0) {
  ------------------
  |  Branch (2960:9): [True: 0, False: 38.6k]
  ------------------
 2961|      0|        return 0;
 2962|      0|    }
 2963|  38.6k|    *istart = 0;
 2964|  38.6k|    *istop = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|  38.6k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
 2965|  38.6k|    if (!_PyEval_SliceIndex(start, istart)) {
  ------------------
  |  Branch (2965:9): [True: 0, False: 38.6k]
  ------------------
 2966|      0|        return 0;
 2967|      0|    }
 2968|  38.6k|    if (!_PyEval_SliceIndex(stop, istop)) {
  ------------------
  |  Branch (2968:9): [True: 0, False: 38.6k]
  ------------------
 2969|      0|        return 0;
 2970|      0|    }
 2971|  38.6k|    PySlice_AdjustIndices(len, istart, istop, 1);
 2972|  38.6k|    return 1;
 2973|  38.6k|}
_PyEval_ImportName:
 2979|   464k|{
 2980|   464k|    PyObject *import_func;
 2981|   464k|    if (PyMapping_GetOptionalItem(builtins, &_Py_ID(__import__),
  ------------------
  |  |  915|   464k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|   464k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   464k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2981:9): [True: 0, False: 464k]
  ------------------
 2982|   464k|                                  &import_func) < 0) {
 2983|      0|        return NULL;
 2984|      0|    }
 2985|   464k|    if (import_func == NULL) {
  ------------------
  |  Branch (2985:9): [True: 0, False: 464k]
  ------------------
 2986|      0|        _PyErr_SetString(tstate, PyExc_ImportError, "__import__ not found");
 2987|      0|        return NULL;
 2988|      0|    }
 2989|       |
 2990|   464k|    PyObject *res = _PyEval_ImportNameWithImport(
 2991|   464k|        tstate, import_func, globals, locals, name, fromlist, level);
 2992|       |    Py_DECREF(import_func);
  ------------------
  |  |   80|   464k|    do { \
  |  |   81|   464k|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|   464k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   464k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|   464k|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|   464k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   464k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   464k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 464k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|   464k|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|   464k|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|   464k|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 464k]
  |  |  ------------------
  |  |   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|   464k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 464k]
  |  |  ------------------
  ------------------
 2993|   464k|    return res;
 2994|   464k|}
_PyEval_ImportNameWithImport:
 3000|   464k|{
 3001|   464k|    if (locals == NULL) {
  ------------------
  |  Branch (3001:9): [True: 457k, False: 7.18k]
  ------------------
 3002|   457k|        locals = Py_None;
  ------------------
  |  |  616|   457k|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3003|   457k|    }
 3004|       |
 3005|       |    /* Fast path for not overloaded __import__. */
 3006|   464k|    if (_PyImport_IsDefaultImportFunc(tstate->interp, import_func)) {
  ------------------
  |  Branch (3006:9): [True: 464k, False: 0]
  ------------------
 3007|   464k|        int ilevel = PyLong_AsInt(level);
 3008|   464k|        if (ilevel == -1 && _PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (3008:13): [True: 0, False: 464k]
  |  Branch (3008:29): [True: 0, False: 0]
  ------------------
 3009|      0|            return NULL;
 3010|      0|        }
 3011|   464k|        return PyImport_ImportModuleLevelObject(
 3012|   464k|                        name,
 3013|   464k|                        globals,
 3014|   464k|                        locals,
 3015|   464k|                        fromlist,
 3016|   464k|                        ilevel);
 3017|   464k|    }
 3018|       |
 3019|      0|    PyObject *args[5] = {name, globals, locals, fromlist, level};
 3020|       |    PyObject *res = PyObject_Vectorcall(import_func, args, 5, NULL);
 3021|      0|    return res;
 3022|   464k|}
_PyEval_LazyImportName:
 3066|  6.95k|{
 3067|  6.95k|    PyObject *res = NULL;
 3068|       |    // Check if global policy overrides the local syntax
 3069|  6.95k|    switch (PyImport_GetLazyImportsMode()) {
  ------------------
  |  Branch (3069:13): [True: 6.95k, False: 0]
  ------------------
 3070|      0|        case PyImport_LAZY_NONE:
  ------------------
  |  Branch (3070:9): [True: 0, False: 6.95k]
  ------------------
 3071|      0|            lazy = 0;
 3072|      0|            break;
 3073|      0|        case PyImport_LAZY_ALL:
  ------------------
  |  Branch (3073:9): [True: 0, False: 6.95k]
  ------------------
 3074|      0|            lazy = 1;
 3075|      0|            break;
 3076|  6.95k|        case PyImport_LAZY_NORMAL:
  ------------------
  |  Branch (3076:9): [True: 6.95k, False: 0]
  ------------------
 3077|  6.95k|            break;
 3078|  6.95k|    }
 3079|       |
 3080|  6.95k|    if (!lazy && PyImport_GetLazyImportsMode() != PyImport_LAZY_NONE) {
  ------------------
  |  Branch (3080:9): [True: 6.91k, False: 40]
  |  Branch (3080:18): [True: 6.91k, False: 0]
  ------------------
 3081|       |        // See if __lazy_modules__ forces this to be lazy.
 3082|  6.91k|        lazy = check_lazy_import_compatibility(tstate, globals, name, level);
 3083|  6.91k|        if (lazy < 0) {
  ------------------
  |  Branch (3083:13): [True: 0, False: 6.91k]
  ------------------
 3084|      0|            return NULL;
 3085|      0|        }
 3086|  6.91k|    }
 3087|       |
 3088|  6.95k|    if (!lazy) {
  ------------------
  |  Branch (3088:9): [True: 6.91k, False: 40]
  ------------------
 3089|       |        // Not a lazy import or lazy imports are disabled, fallback to the
 3090|       |        // regular import.
 3091|  6.91k|        return _PyEval_ImportName(tstate, builtins, globals, locals,
 3092|  6.91k|                                  name, fromlist, level);
 3093|  6.91k|    }
 3094|       |
 3095|     40|    PyObject *lazy_import_func;
 3096|     40|    if (PyMapping_GetOptionalItem(builtins, &_Py_ID(__lazy_import__),
  ------------------
  |  |  915|     40|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     40|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     40|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3096:9): [True: 0, False: 40]
  ------------------
 3097|     40|                                  &lazy_import_func) < 0) {
 3098|      0|        goto error;
 3099|      0|    }
 3100|     40|    if (lazy_import_func == NULL) {
  ------------------
  |  Branch (3100:9): [True: 0, False: 40]
  ------------------
 3101|      0|        assert(!PyErr_Occurred());
 3102|      0|        _PyErr_SetString(tstate, PyExc_ImportError,
 3103|      0|                         "__lazy_import__ not found");
 3104|      0|        goto error;
 3105|      0|    }
 3106|       |
 3107|     40|    if (locals == NULL) {
  ------------------
  |  Branch (3107:9): [True: 0, False: 40]
  ------------------
 3108|      0|        locals = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3109|      0|    }
 3110|       |
 3111|     40|    if (_PyImport_IsDefaultLazyImportFunc(tstate->interp, lazy_import_func)) {
  ------------------
  |  Branch (3111:9): [True: 40, False: 0]
  ------------------
 3112|     40|        int ilevel = PyLong_AsInt(level);
 3113|     40|        if (ilevel == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (3113:13): [True: 0, False: 40]
  |  Branch (3113:29): [True: 0, False: 0]
  ------------------
 3114|      0|            goto error;
 3115|      0|        }
 3116|       |
 3117|     40|        res = _PyImport_LazyImportModuleLevelObject(
 3118|     40|            tstate, name, builtins, globals, locals, fromlist, ilevel
 3119|     40|        );
 3120|     40|        goto error;
 3121|     40|    }
 3122|       |
 3123|      0|    PyObject *args[6] = {name, globals, locals, fromlist, level, builtins};
 3124|      0|    res = PyObject_Vectorcall(lazy_import_func, args, 6, NULL);
 3125|     40|error:
 3126|       |    Py_XDECREF(lazy_import_func);
  ------------------
  |  |   69|     40|    do { \
  |  |   70|     40|        PyObject *xop = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   71|     40|        if (xop != NULL) { \
  |  |  ------------------
  |  |  |  Branch (71:13): [True: 40, False: 0]
  |  |  ------------------
  |  |   72|     40|            Py_DECREF(xop); \
  |  |  ------------------
  |  |  |  |   80|     40|    do { \
  |  |  |  |   81|     40|        PyObject *op = _PyObject_CAST(arg); \
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   82|     40|        if (_Py_IsImmortal(op)) { \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|     40|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (137:28): [True: 0, False: 40]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   84|      0|            break; \
  |  |  |  |   85|      0|        } \
  |  |  |  |   86|     40|        _Py_DECREF_STAT_INC(); \
  |  |  |  |  ------------------
  |  |  |  |  |  |   20|     40|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  |  |  ------------------
  |  |  |  |   87|     40|        if (--op->ob_refcnt == 0) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (87:13): [True: 0, False: 40]
  |  |  |  |  ------------------
  |  |  |  |   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|     40|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (92:14): [Folded, False: 40]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   73|     40|        } \
  |  |   74|     40|    } while (0)
  |  |  ------------------
  |  |  |  Branch (74:14): [Folded, False: 40]
  |  |  ------------------
  ------------------
 3127|     40|    return res;
 3128|      0|}
_PyEval_ImportFrom:
 3132|   448k|{
 3133|   448k|    PyObject *x;
 3134|   448k|    PyObject *fullmodname, *mod_name, *origin, *mod_name_or_unknown, *errmsg, *spec;
 3135|       |
 3136|   448k|    if (PyObject_GetOptionalAttr(v, name, &x) != 0) {
  ------------------
  |  Branch (3136:9): [True: 448k, False: 8]
  ------------------
 3137|   448k|        return x;
 3138|   448k|    }
 3139|       |    /* Issue #17636: in case this failed because of a circular relative
 3140|       |       import, try to fallback on reading the module directly from
 3141|       |       sys.modules. */
 3142|      8|    if (PyObject_GetOptionalAttr(v, &_Py_ID(__name__), &mod_name) < 0) {
  ------------------
  |  |  915|      8|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      8|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      8|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3142:9): [True: 0, False: 8]
  ------------------
 3143|      0|        return NULL;
 3144|      0|    }
 3145|      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 (3145:9): [True: 0, False: 8]
  |  Branch (3145:29): [True: 0, False: 8]
  ------------------
 3146|      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]
  |  |  ------------------
  ------------------
 3147|      0|        goto error;
 3148|      0|    }
 3149|      8|    fullmodname = PyUnicode_FromFormat("%U.%U", mod_name, name);
 3150|      8|    if (fullmodname == NULL) {
  ------------------
  |  Branch (3150:9): [True: 0, False: 8]
  ------------------
 3151|      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]
  |  |  ------------------
  ------------------
 3152|      0|        return NULL;
 3153|      0|    }
 3154|      8|    x = PyImport_GetModule(fullmodname);
 3155|      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]
  |  |  ------------------
  ------------------
 3156|      8|    if (x == NULL && !_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (3156:9): [True: 2, False: 6]
  |  Branch (3156:22): [True: 2, False: 0]
  ------------------
 3157|      2|        goto error;
 3158|      2|    }
 3159|      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]
  |  |  ------------------
  ------------------
 3160|      6|    return x;
 3161|       |
 3162|      2| error:
 3163|      2|    if (mod_name == NULL) {
  ------------------
  |  Branch (3163:9): [True: 0, False: 2]
  ------------------
 3164|      0|        mod_name_or_unknown = PyUnicode_FromString("<unknown module name>");
 3165|      0|        if (mod_name_or_unknown == NULL) {
  ------------------
  |  Branch (3165:13): [True: 0, False: 0]
  ------------------
 3166|      0|            return NULL;
 3167|      0|        }
 3168|      2|    } else {
 3169|      2|        mod_name_or_unknown = mod_name;
 3170|      2|    }
 3171|       |    // mod_name is no longer an owned reference
 3172|      2|    assert(mod_name_or_unknown);
 3173|      2|    assert(mod_name == NULL || mod_name == mod_name_or_unknown);
 3174|       |
 3175|      2|    origin = NULL;
 3176|      2|    if (PyObject_GetOptionalAttr(v, &_Py_ID(__spec__), &spec) < 0) {
  ------------------
  |  |  915|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3176:9): [True: 0, False: 2]
  ------------------
 3177|      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]
  |  |  ------------------
  ------------------
 3178|      0|        return NULL;
 3179|      0|    }
 3180|      2|    if (spec == NULL) {
  ------------------
  |  Branch (3180:9): [True: 0, False: 2]
  ------------------
 3181|      0|        errmsg = PyUnicode_FromFormat(
 3182|      0|            "cannot import name %R from %R (unknown location)",
 3183|      0|            name, mod_name_or_unknown
 3184|      0|        );
 3185|      0|        goto done_with_errmsg;
 3186|      0|    }
 3187|      2|    if (_PyModuleSpec_GetFileOrigin(spec, &origin) < 0) {
  ------------------
  |  Branch (3187:9): [True: 0, False: 2]
  ------------------
 3188|      0|        goto done;
 3189|      0|    }
 3190|       |
 3191|      2|    int is_possibly_shadowing = _PyModule_IsPossiblyShadowing(origin);
 3192|      2|    if (is_possibly_shadowing < 0) {
  ------------------
  |  Branch (3192:9): [True: 0, False: 2]
  ------------------
 3193|      0|        goto done;
 3194|      0|    }
 3195|      2|    int is_possibly_shadowing_stdlib = 0;
 3196|      2|    if (is_possibly_shadowing) {
  ------------------
  |  Branch (3196:9): [True: 0, False: 2]
  ------------------
 3197|      0|        PyObject *stdlib_modules;
 3198|      0|        if (PySys_GetOptionalAttrString("stdlib_module_names", &stdlib_modules) < 0) {
  ------------------
  |  Branch (3198:13): [True: 0, False: 0]
  ------------------
 3199|      0|            goto done;
 3200|      0|        }
 3201|      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 (3201:13): [True: 0, False: 0]
  ------------------
 3202|      0|            is_possibly_shadowing_stdlib = PySet_Contains(stdlib_modules, mod_name_or_unknown);
 3203|      0|            if (is_possibly_shadowing_stdlib < 0) {
  ------------------
  |  Branch (3203:17): [True: 0, False: 0]
  ------------------
 3204|      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]
  |  |  ------------------
  ------------------
 3205|      0|                goto done;
 3206|      0|            }
 3207|      0|        }
 3208|      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]
  |  |  ------------------
  ------------------
 3209|      0|    }
 3210|       |
 3211|      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 (3211:9): [True: 2, False: 0]
  ------------------
 3212|       |        // Fall back to __file__ for diagnostics if we don't have
 3213|       |        // an origin that is a location
 3214|      2|        origin = PyModule_GetFilenameObject(v);
 3215|      2|        if (origin == NULL) {
  ------------------
  |  Branch (3215:13): [True: 2, False: 0]
  ------------------
 3216|      2|            if (!PyErr_ExceptionMatches(PyExc_SystemError)) {
  ------------------
  |  Branch (3216:17): [True: 0, False: 2]
  ------------------
 3217|      0|                goto done;
 3218|      0|            }
 3219|       |            // PyModule_GetFilenameObject raised "module filename missing"
 3220|      2|            _PyErr_Clear(tstate);
 3221|      2|        }
 3222|      2|        assert(origin == NULL || PyUnicode_Check(origin));
 3223|      2|    }
 3224|       |
 3225|      2|    if (is_possibly_shadowing_stdlib) {
  ------------------
  |  Branch (3225:9): [True: 0, False: 2]
  ------------------
 3226|      0|        assert(origin);
 3227|      0|        errmsg = PyUnicode_FromFormat(
 3228|      0|            "cannot import name %R from %R "
 3229|      0|            "(consider renaming %R since it has the same "
 3230|      0|            "name as the standard library module named %R "
 3231|      0|            "and prevents importing that standard library module)",
 3232|      0|            name, mod_name_or_unknown, origin, mod_name_or_unknown
 3233|      0|        );
 3234|      0|    }
 3235|      2|    else {
 3236|      2|        int rc = _PyModuleSpec_IsInitializing(spec);
 3237|      2|        if (rc < 0) {
  ------------------
  |  Branch (3237:13): [True: 0, False: 2]
  ------------------
 3238|      0|            goto done;
 3239|      0|        }
 3240|      2|        else if (rc > 0) {
  ------------------
  |  Branch (3240:18): [True: 0, False: 2]
  ------------------
 3241|      0|            if (is_possibly_shadowing) {
  ------------------
  |  Branch (3241:17): [True: 0, False: 0]
  ------------------
 3242|      0|                assert(origin);
 3243|       |                // For non-stdlib modules, only mention the possibility of
 3244|       |                // shadowing if the module is being initialized.
 3245|      0|                errmsg = PyUnicode_FromFormat(
 3246|      0|                    "cannot import name %R from %R "
 3247|      0|                    "(consider renaming %R if it has the same name "
 3248|      0|                    "as a library you intended to import)",
 3249|      0|                    name, mod_name_or_unknown, origin
 3250|      0|                );
 3251|      0|            }
 3252|      0|            else if (origin) {
  ------------------
  |  Branch (3252:22): [True: 0, False: 0]
  ------------------
 3253|      0|                errmsg = PyUnicode_FromFormat(
 3254|      0|                    "cannot import name %R from partially initialized module %R "
 3255|      0|                    "(most likely due to a circular import) (%S)",
 3256|      0|                    name, mod_name_or_unknown, origin
 3257|      0|                );
 3258|      0|            }
 3259|      0|            else {
 3260|      0|                errmsg = PyUnicode_FromFormat(
 3261|      0|                    "cannot import name %R from partially initialized module %R "
 3262|      0|                    "(most likely due to a circular import)",
 3263|      0|                    name, mod_name_or_unknown
 3264|      0|                );
 3265|      0|            }
 3266|      0|        }
 3267|      2|        else {
 3268|      2|            assert(rc == 0);
 3269|      2|            if (origin) {
  ------------------
  |  Branch (3269:17): [True: 0, False: 2]
  ------------------
 3270|      0|                errmsg = PyUnicode_FromFormat(
 3271|      0|                    "cannot import name %R from %R (%S)",
 3272|      0|                    name, mod_name_or_unknown, origin
 3273|      0|                );
 3274|      0|            }
 3275|      2|            else {
 3276|      2|                errmsg = PyUnicode_FromFormat(
 3277|      2|                    "cannot import name %R from %R (unknown location)",
 3278|      2|                    name, mod_name_or_unknown
 3279|      2|                );
 3280|      2|            }
 3281|      2|        }
 3282|      2|    }
 3283|       |
 3284|      2|done_with_errmsg:
 3285|      2|    if (errmsg != NULL) {
  ------------------
  |  Branch (3285:9): [True: 2, False: 0]
  ------------------
 3286|       |        /* NULL checks for mod_name and origin done by _PyErr_SetImportErrorWithNameFrom */
 3287|      2|        _PyErr_SetImportErrorWithNameFrom(errmsg, mod_name, origin, name);
 3288|      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]
  |  |  ------------------
  ------------------
 3289|      2|    }
 3290|       |
 3291|      2|done:
 3292|      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]
  |  |  ------------------
  ------------------
 3293|      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]
  |  |  ------------------
  ------------------
 3294|      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]
  |  |  ------------------
  ------------------
 3295|       |    return NULL;
 3296|      2|}
_PyEval_LazyImportFrom:
 3300|     20|{
 3301|     20|    assert(PyLazyImport_CheckExact(v));
 3302|     20|    assert(name);
 3303|     20|    assert(PyUnicode_Check(name));
 3304|     20|    PyObject *ret;
 3305|     20|    PyLazyImportObject *d = (PyLazyImportObject *)v;
 3306|     20|    PyObject *mod = PyImport_GetModule(d->lz_from);
 3307|     20|    if (mod != NULL) {
  ------------------
  |  Branch (3307:9): [True: 0, False: 20]
  ------------------
 3308|       |        // Check if the module already has the attribute, if so, resolve it
 3309|       |        // eagerly.
 3310|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3311|      0|            PyObject *mod_dict = PyModule_GetDict(mod);
 3312|      0|            if (mod_dict != NULL) {
  ------------------
  |  Branch (3312:17): [True: 0, False: 0]
  ------------------
 3313|      0|                if (PyDict_GetItemRef(mod_dict, name, &ret) < 0) {
  ------------------
  |  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 NULL;
 3316|      0|                }
 3317|      0|                if (ret != NULL) {
  ------------------
  |  Branch (3317:21): [True: 0, False: 0]
  ------------------
 3318|      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]
  |  |  ------------------
  ------------------
 3319|      0|                    return ret;
 3320|      0|                }
 3321|      0|            }
 3322|      0|        }
 3323|      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]
  |  |  ------------------
  ------------------
 3324|      0|    }
 3325|       |
 3326|     20|    if (d->lz_attr != NULL) {
  ------------------
  |  Branch (3326:9): [True: 20, False: 0]
  ------------------
 3327|     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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3328|      0|            PyObject *from = PyUnicode_FromFormat(
 3329|      0|                "%U.%U", d->lz_from, d->lz_attr);
 3330|      0|            if (from == NULL) {
  ------------------
  |  Branch (3330:17): [True: 0, False: 0]
  ------------------
 3331|      0|                return NULL;
 3332|      0|            }
 3333|      0|            ret = _PyLazyImport_New(frame, d->lz_builtins, from, name);
 3334|      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]
  |  |  ------------------
  ------------------
 3335|      0|            return ret;
 3336|      0|        }
 3337|     20|    }
 3338|      0|    else {
 3339|      0|        Py_ssize_t dot = PyUnicode_FindChar(
 3340|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3341|      0|        );
 3342|      0|        if (dot >= 0) {
  ------------------
  |  Branch (3342:13): [True: 0, False: 0]
  ------------------
 3343|      0|            PyObject *from = PyUnicode_Substring(d->lz_from, 0, dot);
 3344|      0|            if (from == NULL) {
  ------------------
  |  Branch (3344:17): [True: 0, False: 0]
  ------------------
 3345|      0|                return NULL;
 3346|      0|            }
 3347|      0|            ret = _PyLazyImport_New(frame, d->lz_builtins, from, name);
 3348|      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]
  |  |  ------------------
  ------------------
 3349|      0|            return ret;
 3350|      0|        }
 3351|      0|    }
 3352|     20|    ret = _PyLazyImport_New(frame, d->lz_builtins, d->lz_from, name);
 3353|     20|    return ret;
 3354|     20|}
_PyEval_CheckExceptTypeValid:
 3364|  1.46M|{
 3365|  1.46M|    if (PyTuple_Check(right)) {
  ------------------
  |  |   27|  1.46M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.46M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 81, False: 1.46M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3366|     81|        Py_ssize_t i, length;
 3367|     81|        length = PyTuple_GET_SIZE(right);
  ------------------
  |  |   27|     81|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     81|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     81|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3368|    243|        for (i = 0; i < length; i++) {
  ------------------
  |  Branch (3368:21): [True: 162, False: 81]
  ------------------
 3369|    162|            PyObject *exc = PyTuple_GET_ITEM(right, i);
  ------------------
  |  |   29|    162|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    162|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    162|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3370|    162|            if (!PyExceptionClass_Check(exc)) {
  ------------------
  |  |   61|    162|    (PyType_Check((x)) &&                                               \
  |  |  ------------------
  |  |  |  |  766|    324|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    162|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    162|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (766:28): [True: 162, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   62|    162|     PyType_FastSubclass((PyTypeObject*)(x), Py_TPFLAGS_BASE_EXC_SUBCLASS))
  |  |  ------------------
  |  |  |  |  760|    162|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 162, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3371|      0|                _PyErr_SetString(tstate, PyExc_TypeError,
 3372|      0|                    CANNOT_CATCH_MSG);
  ------------------
  |  | 3356|      0|#define CANNOT_CATCH_MSG "catching classes that do not inherit from "\
  |  | 3357|      0|                         "BaseException is not allowed"
  ------------------
 3373|      0|                return -1;
 3374|      0|            }
 3375|    162|        }
 3376|     81|    }
 3377|  1.46M|    else {
 3378|  1.46M|        if (!PyExceptionClass_Check(right)) {
  ------------------
  |  |   61|  1.46M|    (PyType_Check((x)) &&                                               \
  |  |  ------------------
  |  |  |  |  766|  2.92M|#  define PyType_Check(op) PyType_Check(_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 (766:28): [True: 1.46M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   62|  1.46M|     PyType_FastSubclass((PyTypeObject*)(x), Py_TPFLAGS_BASE_EXC_SUBCLASS))
  |  |  ------------------
  |  |  |  |  760|  1.46M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 1.46M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3379|      0|            _PyErr_SetString(tstate, PyExc_TypeError,
 3380|      0|                CANNOT_CATCH_MSG);
  ------------------
  |  | 3356|      0|#define CANNOT_CATCH_MSG "catching classes that do not inherit from "\
  |  | 3357|      0|                         "BaseException is not allowed"
  ------------------
 3381|      0|            return -1;
 3382|      0|        }
 3383|  1.46M|    }
 3384|  1.46M|    return 0;
 3385|  1.46M|}
_Py_Check_ArgsIterable:
 3426|    934|{
 3427|    934|    if (Py_TYPE(args)->tp_iter == NULL && !PySequence_Check(args)) {
  ------------------
  |  |  213|    934|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    934|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    934|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3427:9): [True: 0, False: 934]
  |  Branch (3427:43): [True: 0, False: 0]
  ------------------
 3428|      0|        _PyErr_Format(tstate, PyExc_TypeError,
 3429|      0|                      "Value after * must be an iterable, not %.200s",
 3430|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3431|      0|        return -1;
 3432|      0|    }
 3433|    934|    return 0;
 3434|    934|}
_PyEval_FormatExcCheckArg:
 3473|      2|{
 3474|      2|    const char *obj_str;
 3475|       |
 3476|      2|    if (!obj)
  ------------------
  |  Branch (3476:9): [True: 0, False: 2]
  ------------------
 3477|      0|        return;
 3478|       |
 3479|      2|    obj_str = PyUnicode_AsUTF8(obj);
 3480|      2|    if (!obj_str)
  ------------------
  |  Branch (3480:9): [True: 0, False: 2]
  ------------------
 3481|      0|        return;
 3482|       |
 3483|      2|    _PyErr_Format(tstate, exc, format_str, obj_str);
 3484|       |
 3485|      2|    if (exc == PyExc_NameError) {
  ------------------
  |  Branch (3485:9): [True: 2, False: 0]
  ------------------
 3486|       |        // Include the name in the NameError exceptions to offer suggestions later.
 3487|      2|        PyObject *exc = PyErr_GetRaisedException();
 3488|      2|        if (PyErr_GivenExceptionMatches(exc, PyExc_NameError)) {
  ------------------
  |  Branch (3488:13): [True: 2, False: 0]
  ------------------
 3489|      2|            if (((PyNameErrorObject*)exc)->name == NULL) {
  ------------------
  |  Branch (3489:17): [True: 2, False: 0]
  ------------------
 3490|       |                // We do not care if this fails because we are going to restore the
 3491|       |                // NameError anyway.
 3492|      2|                (void)PyObject_SetAttr(exc, &_Py_ID(name), obj);
  ------------------
  |  |  915|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3493|      2|            }
 3494|      2|        }
 3495|      2|        PyErr_SetRaisedException(exc);
 3496|      2|    }
 3497|      2|}
Py_EnterRecursiveCall:
 3570|   181k|{
 3571|   181k|    return _Py_EnterRecursiveCall(where);
 3572|   181k|}
Py_LeaveRecursiveCall:
 3575|   133k|{
 3576|   133k|    _Py_LeaveRecursiveCall();
 3577|   133k|}
_PyEval_LoadGlobalStackRef:
 3620|  45.1k|{
 3621|  45.1k|    if (PyAnyDict_CheckExact(globals) && PyAnyDict_CheckExact(builtins)) {
  ------------------
  |  |   41|  90.2k|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   19|  45.1k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  90.2k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  45.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  45.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 45.1k, 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|  45.1k|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   19|  45.1k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |   65|  90.2k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  45.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  45.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (65:5): [True: 45.1k, 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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3622|  45.1k|        _PyDict_LoadGlobalStackRef((PyDictObject *)globals,
 3623|  45.1k|                                    (PyDictObject *)builtins,
 3624|  45.1k|                                    name, writeto);
 3625|  45.1k|        if (PyStackRef_IsNull(*writeto) && !PyErr_Occurred()) {
  ------------------
  |  |  470|  90.2k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  467|  45.1k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  45.1k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (470:32): [True: 2, False: 45.1k]
  |  |  ------------------
  ------------------
  |  Branch (3625:44): [True: 2, False: 0]
  ------------------
 3626|       |            /* _PyDict_LoadGlobal() returns NULL without raising
 3627|       |                * an exception if the key doesn't exist */
 3628|      2|            _PyEval_FormatExcCheckArg(PyThreadState_GET(), PyExc_NameError,
  ------------------
  |  |   63|      2|#define PyThreadState_GET() PyThreadState_Get()
  ------------------
 3629|      2|                                        NAME_ERROR_MSG, name);
  ------------------
  |  |  384|      2|#define NAME_ERROR_MSG "name '%.200s' is not defined"
  ------------------
 3630|      2|        }
 3631|  45.1k|    }
 3632|      0|    else {
 3633|       |        /* Slow-path if globals or builtins is not a dict */
 3634|       |        /* namespace 1: globals */
 3635|      0|        PyObject *res;
 3636|      0|        if (PyMapping_GetOptionalItem(globals, name, &res) < 0) {
  ------------------
  |  Branch (3636:13): [True: 0, False: 0]
  ------------------
 3637|      0|            *writeto = PyStackRef_NULL;
 3638|      0|            return;
 3639|      0|        }
 3640|      0|        if (res == NULL) {
  ------------------
  |  Branch (3640:13): [True: 0, False: 0]
  ------------------
 3641|       |            /* namespace 2: builtins */
 3642|      0|            if (PyMapping_GetOptionalItem(builtins, name, &res) < 0) {
  ------------------
  |  Branch (3642:17): [True: 0, False: 0]
  ------------------
 3643|      0|                *writeto = PyStackRef_NULL;
 3644|      0|                return;
 3645|      0|            }
 3646|      0|            if (res == NULL) {
  ------------------
  |  Branch (3646:17): [True: 0, False: 0]
  ------------------
 3647|      0|                _PyEval_FormatExcCheckArg(
 3648|      0|                            PyThreadState_GET(), PyExc_NameError,
  ------------------
  |  |   63|      0|#define PyThreadState_GET() PyThreadState_Get()
  ------------------
 3649|      0|                            NAME_ERROR_MSG, name);
  ------------------
  |  |  384|      0|#define NAME_ERROR_MSG "name '%.200s' is not defined"
  ------------------
 3650|      0|                *writeto = PyStackRef_NULL;
 3651|      0|                return;
 3652|      0|            }
 3653|      0|        }
 3654|      0|        *writeto = PyStackRef_FromPyObjectSteal(res);
 3655|      0|    }
 3656|       |
 3657|  45.1k|    PyObject *res_o = PyStackRef_AsPyObjectBorrow(*writeto);
 3658|  45.1k|    if (res_o != NULL && PyLazyImport_CheckExact(res_o)) {
  ------------------
  |  |   15|  45.1k|#define PyLazyImport_CheckExact(op) Py_IS_TYPE((op), &PyLazyImport_Type)
  |  |  ------------------
  |  |  |  |   65|  45.1k|    (_PyObject_CAST(ob)->ob_type == (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  45.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  45.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (65:5): [True: 6, False: 45.1k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3658:9): [True: 45.1k, False: 2]
  ------------------
 3659|      6|        PyObject *l_v = _PyImport_LoadLazyImportTstate(PyThreadState_GET(), res_o);
  ------------------
  |  |   63|      6|#define PyThreadState_GET() PyThreadState_Get()
  ------------------
 3660|      6|        PyStackRef_CLOSE(writeto[0]);
 3661|      6|        if (l_v == NULL) {
  ------------------
  |  Branch (3661:13): [True: 0, False: 6]
  ------------------
 3662|      0|            assert(PyErr_Occurred());
 3663|      0|            *writeto = PyStackRef_NULL;
 3664|      0|            return;
 3665|      0|        }
 3666|      6|        int err = PyDict_SetItem(globals, name, l_v);
 3667|      6|        if (err < 0) {
  ------------------
  |  Branch (3667:13): [True: 0, False: 6]
  ------------------
 3668|      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]
  |  |  ------------------
  ------------------
 3669|      0|            *writeto = PyStackRef_NULL;
 3670|      0|            return;
 3671|      0|        }
 3672|      6|        *writeto = PyStackRef_FromPyObjectSteal(l_v);
 3673|      6|    }
 3674|  45.1k|}
_PyEval_LoadName:
 3702|  35.8k|{
 3703|       |
 3704|  35.8k|    PyObject *value;
 3705|  35.8k|    if (frame->f_locals == NULL) {
  ------------------
  |  Branch (3705:9): [True: 0, False: 35.8k]
  ------------------
 3706|      0|        _PyErr_SetString(tstate, PyExc_SystemError,
 3707|      0|                            "no locals found");
 3708|      0|        return NULL;
 3709|      0|    }
 3710|  35.8k|    if (PyMapping_GetOptionalItem(frame->f_locals, name, &value) < 0) {
  ------------------
  |  Branch (3710:9): [True: 0, False: 35.8k]
  ------------------
 3711|      0|        return NULL;
 3712|      0|    }
 3713|  35.8k|    if (value != NULL) {
  ------------------
  |  Branch (3713:9): [True: 28.4k, False: 7.31k]
  ------------------
 3714|  28.4k|        return value;
 3715|  28.4k|    }
 3716|  7.31k|    if (PyDict_GetItemRef(frame->f_globals, name, &value) < 0) {
  ------------------
  |  Branch (3716:9): [True: 0, False: 7.31k]
  ------------------
 3717|      0|        return NULL;
 3718|      0|    }
 3719|  7.31k|    if (value != NULL) {
  ------------------
  |  Branch (3719:9): [True: 3.40k, False: 3.90k]
  ------------------
 3720|  3.40k|        return value;
 3721|  3.40k|    }
 3722|  3.90k|    if (PyMapping_GetOptionalItem(frame->f_builtins, name, &value) < 0) {
  ------------------
  |  Branch (3722:9): [True: 0, False: 3.90k]
  ------------------
 3723|      0|        return NULL;
 3724|      0|    }
 3725|  3.90k|    if (value == NULL) {
  ------------------
  |  Branch (3725:9): [True: 0, False: 3.90k]
  ------------------
 3726|      0|        _PyEval_FormatExcCheckArg(
 3727|      0|                    tstate, PyExc_NameError,
 3728|      0|                    NAME_ERROR_MSG, name);
  ------------------
  |  |  384|      0|#define NAME_ERROR_MSG "name '%.200s' is not defined"
  ------------------
 3729|      0|    }
 3730|  3.90k|    return value;
 3731|  3.90k|}
_PyForIter_VirtualIteratorNext:
 3734|   817k|{
 3735|   817k|    PyObject *iter_o = PyStackRef_AsPyObjectBorrow(iter);
 3736|   817k|    _PyStackRef index = *index_ptr;
 3737|   817k|    if (PyStackRef_IsTaggedInt(index)) {
  ------------------
  |  Branch (3737:9): [True: 5.10k, False: 812k]
  ------------------
 3738|  5.10k|        intptr_t i = PyStackRef_UntagInt(index);
 3739|  5.10k|        assert(i >= 0);
 3740|  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3741|  5.10k|        i = next_index.index;
 3742|  5.10k|        PyObject *next = next_index.object;
 3743|  5.10k|        if (next == NULL) {
  ------------------
  |  Branch (3743:13): [True: 202, False: 4.90k]
  ------------------
 3744|    202|            return i < 0 ? PyStackRef_ERROR : PyStackRef_NULL;
  ------------------
  |  Branch (3744:20): [True: 0, False: 202]
  ------------------
 3745|    202|        }
 3746|  4.90k|        *index_ptr = PyStackRef_TagInt(i);
 3747|  4.90k|        return PyStackRef_FromPyObjectSteal(next);
 3748|  5.10k|    }
 3749|   812k|    PyObject *next = (*Py_TYPE(iter_o)->tp_iternext)(iter_o);
  ------------------
  |  |  213|   812k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   812k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   812k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3750|   812k|    if (next == NULL) {
  ------------------
  |  Branch (3750:9): [True: 380k, False: 431k]
  ------------------
 3751|   380k|        if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (3751:13): [True: 2, False: 380k]
  ------------------
 3752|      2|            if (_PyErr_ExceptionMatches(tstate, PyExc_StopIteration)) {
  ------------------
  |  Branch (3752:17): [True: 2, False: 0]
  ------------------
 3753|      2|                _PyEval_MonitorRaise(tstate, frame, frame->instr_ptr);
 3754|      2|                _PyErr_Clear(tstate);
 3755|      2|            }
 3756|      0|            else {
 3757|      0|                return PyStackRef_ERROR;
 3758|      0|            }
 3759|      2|        }
 3760|   380k|        return PyStackRef_NULL;
 3761|   380k|    }
 3762|   431k|    return PyStackRef_FromPyObjectSteal(next);
 3763|   812k|}
ceval.c:hardware_stack_limits:
  140|      2|{
  141|       |#ifdef WIN32
  142|       |    ULONG_PTR low, high;
  143|       |    GetCurrentThreadStackLimits(&low, &high);
  144|       |    *top = (uintptr_t)high;
  145|       |    ULONG guarantee = 0;
  146|       |    SetThreadStackGuarantee(&guarantee);
  147|       |    *base = (uintptr_t)low + guarantee;
  148|       |#elif defined(__APPLE__)
  149|       |    pthread_t this_thread = pthread_self();
  150|       |    void *stack_addr = pthread_get_stackaddr_np(this_thread); // top of the stack
  151|       |    size_t stack_size = pthread_get_stacksize_np(this_thread);
  152|       |    *top = (uintptr_t)stack_addr;
  153|       |    *base = ((uintptr_t)stack_addr) - stack_size;
  154|       |#else
  155|       |    /// XXX musl supports HAVE_PTHRED_GETATTR_NP, but the resulting stack size
  156|       |    /// (on alpine at least) is much smaller than expected and imposes undue limits
  157|       |    /// compared to the old stack size estimation.  (We assume musl is not glibc.)
  158|      2|#  if defined(HAVE_PTHREAD_GETATTR_NP) && !defined(_AIX) && \
  159|      2|        !defined(__NetBSD__) && (defined(__GLIBC__) || !defined(__linux__))
  160|      2|    size_t stack_size, guard_size;
  161|      2|    void *stack_addr;
  162|      2|    pthread_attr_t attr;
  163|      2|    int err = pthread_getattr_np(pthread_self(), &attr);
  164|      2|    if (err == 0) {
  ------------------
  |  Branch (164:9): [True: 2, False: 0]
  ------------------
  165|      2|        err = pthread_attr_getguardsize(&attr, &guard_size);
  166|      2|        err |= pthread_attr_getstack(&attr, &stack_addr, &stack_size);
  167|      2|        err |= pthread_attr_destroy(&attr);
  168|      2|    }
  169|      2|    if (err == 0) {
  ------------------
  |  Branch (169:9): [True: 2, False: 0]
  ------------------
  170|      2|        *base = ((uintptr_t)stack_addr) + guard_size;
  171|      2|        *top = (uintptr_t)stack_addr + stack_size;
  172|      2|        return;
  173|      2|    }
  174|      0|#  endif
  175|       |    // Add some space for caller function then round to minimum page size
  176|       |    // This is a guess at the top of the stack, but should be a reasonably
  177|       |    // good guess if called from _PyThreadState_Attach when creating a thread.
  178|       |    // If the thread is attached deep in a call stack, then the guess will be poor.
  179|      0|#if _Py_STACK_GROWS_DOWN
  180|      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))
  ------------------
  181|      0|    *top = top_addr;
  182|      0|    *base = top_addr - Py_C_STACK_SIZE;
  ------------------
  |  |   77|      0|#  define Py_C_STACK_SIZE 4000000
  ------------------
  183|       |#  else
  184|       |    uintptr_t base_addr = _Py_SIZE_ROUND_DOWN(sp - 8*sizeof(void*), SYSTEM_PAGE_SIZE);
  185|       |    *base = base_addr;
  186|       |    *top = base_addr + Py_C_STACK_SIZE;
  187|       |#endif
  188|      0|#endif
  189|      0|}
ceval.c:tstate_set_stack:
  194|      2|{
  195|      2|    assert(base < top);
  196|      2|    assert((top - base) >= _PyOS_MIN_STACK_SIZE);
  197|       |
  198|       |#ifdef _Py_THREAD_SANITIZER
  199|       |    // Thread sanitizer crashes if we use more than half the stack.
  200|       |    uintptr_t stacksize = top - base;
  201|       |#  if _Py_STACK_GROWS_DOWN
  202|       |    base += stacksize/2;
  203|       |#  else
  204|       |    top -= stacksize/2;
  205|       |#  endif
  206|       |#endif
  207|      2|    _PyThreadStateImpl *_tstate = (_PyThreadStateImpl *)tstate;
  208|      2|#if _Py_STACK_GROWS_DOWN
  209|      2|    _tstate->c_stack_top = top;
  210|      2|    _tstate->c_stack_hard_limit = base + _PyOS_STACK_MARGIN_BYTES;
  ------------------
  |  |   55|      2|#define _PyOS_STACK_MARGIN_BYTES (_PyOS_STACK_MARGIN * sizeof(void *))
  |  |  ------------------
  |  |  |  |   54|      2|#define _PyOS_STACK_MARGIN (1 << _PyOS_LOG2_STACK_MARGIN)
  |  |  |  |  ------------------
  |  |  |  |  |  |   52|      2|#  define _PyOS_LOG2_STACK_MARGIN 11
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  211|      2|    _tstate->c_stack_soft_limit = base + _PyOS_STACK_MARGIN_BYTES * 2;
  ------------------
  |  |   55|      2|#define _PyOS_STACK_MARGIN_BYTES (_PyOS_STACK_MARGIN * sizeof(void *))
  |  |  ------------------
  |  |  |  |   54|      2|#define _PyOS_STACK_MARGIN (1 << _PyOS_LOG2_STACK_MARGIN)
  |  |  |  |  ------------------
  |  |  |  |  |  |   52|      2|#  define _PyOS_LOG2_STACK_MARGIN 11
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  212|       |#  ifndef NDEBUG
  213|       |    // Sanity checks
  214|       |    _PyThreadStateImpl *ts = (_PyThreadStateImpl *)tstate;
  215|       |    assert(ts->c_stack_hard_limit <= ts->c_stack_soft_limit);
  216|       |    assert(ts->c_stack_soft_limit < ts->c_stack_top);
  217|       |#  endif
  218|       |#else
  219|       |    _tstate->c_stack_top = base;
  220|       |    _tstate->c_stack_hard_limit = top - _PyOS_STACK_MARGIN_BYTES;
  221|       |    _tstate->c_stack_soft_limit = top - _PyOS_STACK_MARGIN_BYTES * 2;
  222|       |#  ifndef NDEBUG
  223|       |    // Sanity checks
  224|       |    _PyThreadStateImpl *ts = (_PyThreadStateImpl *)tstate;
  225|       |    assert(ts->c_stack_hard_limit >= ts->c_stack_soft_limit);
  226|       |    assert(ts->c_stack_soft_limit > ts->c_stack_top);
  227|       |#  endif
  228|       |#endif
  229|      2|}
ceval.c:clear_thread_frame:
 1956|  59.9M|{
 1957|  59.9M|    assert(frame->owner == FRAME_OWNED_BY_THREAD);
 1958|       |    // Make sure that this is, indeed, the top frame. We can't check this in
 1959|       |    // _PyThreadState_PopFrame, since f_code is already cleared at that point:
 1960|  59.9M|    assert((PyObject **)frame + _PyFrame_GetCode(frame)->co_framesize ==
 1961|  59.9M|        tstate->datastack_top);
 1962|  59.9M|    assert(frame->frame_obj == NULL || frame->frame_obj->f_frame == frame);
 1963|  59.9M|    _PyFrame_ClearExceptCode(frame);
 1964|  59.9M|    PyStackRef_CLEAR(frame->f_executable);
  ------------------
  |  |  711|  59.9M|    do { \
  |  |  712|  59.9M|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  713|  59.9M|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  714|  59.9M|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  715|  59.9M|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  716|  59.9M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (716:14): [Folded, False: 59.9M]
  |  |  ------------------
  ------------------
 1965|  59.9M|    _PyThreadState_PopFrame(tstate, frame);
 1966|  59.9M|}
ceval.c:clear_gen_frame:
 1970|  2.18M|{
 1971|  2.18M|    assert(frame->owner == FRAME_OWNED_BY_GENERATOR);
 1972|  2.18M|    PyGenObject *gen = _PyGen_GetGeneratorFromFrame(frame);
 1973|  2.18M|    FT_ATOMIC_STORE_INT8_RELEASE(gen->gi_frame_state, FRAME_CLEARED);
  ------------------
  |  |  166|  2.18M|#define FT_ATOMIC_STORE_INT8_RELEASE(value, new_value) value = new_value
  ------------------
 1974|  2.18M|    assert(tstate->exc_info == &gen->gi_exc_state);
 1975|  2.18M|    tstate->exc_info = gen->gi_exc_state.previous_item;
 1976|  2.18M|    gen->gi_exc_state.previous_item = NULL;
 1977|  2.18M|    assert(frame->frame_obj == NULL || frame->frame_obj->f_frame == frame);
 1978|  2.18M|    frame->previous = NULL;
 1979|  2.18M|    _PyFrame_ClearExceptCode(frame);
 1980|  2.18M|    _PyErr_ClearExcState(&gen->gi_exc_state);
 1981|       |    // gh-143939: There must not be any escaping calls between setting
 1982|       |    // the generator return kind and returning from _PyEval_EvalFrame.
 1983|  2.18M|    ((_PyThreadStateImpl *)tstate)->generator_return_kind = GENERATOR_RETURN;
 1984|  2.18M|}
ceval.c:initialize_locals:
 1709|  12.3M|{
 1710|  12.3M|    PyCodeObject *co = (PyCodeObject*)func->func_code;
 1711|  12.3M|    const Py_ssize_t total_args = co->co_argcount + co->co_kwonlyargcount;
 1712|       |    /* Create a dictionary for keyword parameters (**kwags) */
 1713|  12.3M|    PyObject *kwdict;
 1714|  12.3M|    Py_ssize_t i;
 1715|  12.3M|    if (co->co_flags & CO_VARKEYWORDS) {
  ------------------
  |  |  121|  12.3M|#define CO_VARKEYWORDS  0x0008
  ------------------
  |  Branch (1715:9): [True: 139k, False: 12.1M]
  ------------------
 1716|   139k|        kwdict = PyDict_New();
 1717|   139k|        if (kwdict == NULL) {
  ------------------
  |  Branch (1717:13): [True: 0, False: 139k]
  ------------------
 1718|      0|            goto fail_pre_positional;
 1719|      0|        }
 1720|   139k|        i = total_args;
 1721|   139k|        if (co->co_flags & CO_VARARGS) {
  ------------------
  |  |  120|   139k|#define CO_VARARGS      0x0004
  ------------------
  |  Branch (1721:13): [True: 139k, False: 539]
  ------------------
 1722|   139k|            i++;
 1723|   139k|        }
 1724|   139k|        assert(PyStackRef_IsNull(localsplus[i]));
 1725|   139k|        localsplus[i] = PyStackRef_FromPyObjectSteal(kwdict);
 1726|   139k|    }
 1727|  12.1M|    else {
 1728|  12.1M|        kwdict = NULL;
 1729|  12.1M|    }
 1730|       |
 1731|       |    /* Copy all positional arguments into local variables */
 1732|  12.3M|    Py_ssize_t j, n;
 1733|  12.3M|    if (argcount > co->co_argcount) {
  ------------------
  |  Branch (1733:9): [True: 398k, False: 11.9M]
  ------------------
 1734|   398k|        n = co->co_argcount;
 1735|   398k|    }
 1736|  11.9M|    else {
 1737|  11.9M|        n = argcount;
 1738|  11.9M|    }
 1739|  37.5M|    for (j = 0; j < n; j++) {
  ------------------
  |  Branch (1739:17): [True: 25.1M, False: 12.3M]
  ------------------
 1740|  25.1M|        assert(PyStackRef_IsNull(localsplus[j]));
 1741|  25.1M|        localsplus[j] = args[j];
 1742|  25.1M|    }
 1743|       |
 1744|       |    /* Pack other positional arguments into the *args argument */
 1745|  12.3M|    if (co->co_flags & CO_VARARGS) {
  ------------------
  |  |  120|  12.3M|#define CO_VARARGS      0x0004
  ------------------
  |  Branch (1745:9): [True: 454k, False: 11.8M]
  ------------------
 1746|   454k|        PyObject *u = NULL;
 1747|   454k|        if (argcount == n) {
  ------------------
  |  Branch (1747:13): [True: 56.3k, False: 398k]
  ------------------
 1748|  56.3k|            u = (PyObject *)&_Py_SINGLETON(tuple_empty);
  ------------------
  |  |   18|  56.3k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|  56.3k|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
 1749|  56.3k|        }
 1750|   398k|        else {
 1751|   398k|            u = _PyTuple_FromStackRefStealOnSuccess(args + n, argcount - n);
 1752|   398k|            if (u == NULL) {
  ------------------
  |  Branch (1752:17): [True: 0, False: 398k]
  ------------------
 1753|      0|                for (Py_ssize_t i = n; i < argcount; i++) {
  ------------------
  |  Branch (1753:40): [True: 0, False: 0]
  ------------------
 1754|      0|                    PyStackRef_CLOSE(args[i]);
 1755|      0|                }
 1756|      0|            }
 1757|   398k|        }
 1758|   454k|        if (u == NULL) {
  ------------------
  |  Branch (1758:13): [True: 0, False: 454k]
  ------------------
 1759|      0|            goto fail_post_positional;
 1760|      0|        }
 1761|   454k|        assert(PyStackRef_AsPyObjectBorrow(localsplus[total_args]) == NULL);
 1762|   454k|        localsplus[total_args] = PyStackRef_FromPyObjectSteal(u);
 1763|   454k|    }
 1764|  11.8M|    else if (argcount > n) {
  ------------------
  |  Branch (1764:14): [True: 0, False: 11.8M]
  ------------------
 1765|       |        /* Too many positional args. Error is reported later */
 1766|      0|        for (j = n; j < argcount; j++) {
  ------------------
  |  Branch (1766:21): [True: 0, False: 0]
  ------------------
 1767|      0|            PyStackRef_CLOSE(args[j]);
 1768|      0|        }
 1769|      0|    }
 1770|       |
 1771|       |    /* Handle keyword arguments */
 1772|  12.3M|    if (kwnames != NULL) {
  ------------------
  |  Branch (1772:9): [True: 7.01M, False: 5.31M]
  ------------------
 1773|  7.01M|        Py_ssize_t kwcount = PyTuple_GET_SIZE(kwnames);
  ------------------
  |  |   27|  7.01M|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.01M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.01M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1774|  19.1M|        for (i = 0; i < kwcount; i++) {
  ------------------
  |  Branch (1774:21): [True: 12.1M, False: 7.01M]
  ------------------
 1775|  12.1M|            PyObject **co_varnames;
 1776|  12.1M|            PyObject *keyword = PyTuple_GET_ITEM(kwnames, i);
  ------------------
  |  |   29|  12.1M|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  12.1M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1777|  12.1M|            _PyStackRef value_stackref = args[i+argcount];
 1778|  12.1M|            Py_ssize_t j;
 1779|       |
 1780|  12.1M|            if (keyword == NULL || !PyUnicode_Check(keyword)) {
  ------------------
  |  |  103|  12.1M|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  12.1M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1780:17): [True: 0, False: 12.1M]
  |  Branch (1780:36): [True: 0, False: 12.1M]
  ------------------
 1781|      0|                _PyErr_Format(tstate, PyExc_TypeError,
 1782|      0|                            "%U() keywords must be strings",
 1783|      0|                          func->func_qualname);
 1784|      0|                goto kw_fail;
 1785|      0|            }
 1786|       |
 1787|       |            /* Speed hack: do raw pointer compares. As names are
 1788|       |            normally interned this should almost always hit. */
 1789|  12.1M|            co_varnames = ((PyTupleObject *)(co->co_localsplusnames))->ob_item;
 1790|  43.1M|            for (j = co->co_posonlyargcount; j < total_args; j++) {
  ------------------
  |  Branch (1790:46): [True: 43.0M, False: 49.4k]
  ------------------
 1791|  43.0M|                PyObject *varname = co_varnames[j];
 1792|  43.0M|                if (varname == keyword) {
  ------------------
  |  Branch (1792:21): [True: 12.0M, False: 31.0M]
  ------------------
 1793|  12.0M|                    goto kw_found;
 1794|  12.0M|                }
 1795|  43.0M|            }
 1796|       |
 1797|       |            /* Slow fallback, just in case */
 1798|  49.9k|            for (j = co->co_posonlyargcount; j < total_args; j++) {
  ------------------
  |  Branch (1798:46): [True: 481, False: 49.4k]
  ------------------
 1799|    481|                PyObject *varname = co_varnames[j];
 1800|    481|                int cmp = PyObject_RichCompareBool( keyword, varname, Py_EQ);
  ------------------
  |  |  654|    481|#define Py_EQ 2
  ------------------
 1801|    481|                if (cmp > 0) {
  ------------------
  |  Branch (1801:21): [True: 44, False: 437]
  ------------------
 1802|     44|                    goto kw_found;
 1803|     44|                }
 1804|    437|                else if (cmp < 0) {
  ------------------
  |  Branch (1804:26): [True: 0, False: 437]
  ------------------
 1805|      0|                    goto kw_fail;
 1806|      0|                }
 1807|    481|            }
 1808|       |
 1809|  49.4k|            assert(j >= total_args);
 1810|  49.4k|            if (kwdict == NULL) {
  ------------------
  |  Branch (1810:17): [True: 0, False: 49.4k]
  ------------------
 1811|       |
 1812|      0|                if (co->co_posonlyargcount
  ------------------
  |  Branch (1812:21): [True: 0, False: 0]
  ------------------
 1813|      0|                    && positional_only_passed_as_keyword(tstate, co,
  ------------------
  |  Branch (1813:24): [True: 0, False: 0]
  ------------------
 1814|      0|                                                        kwcount, kwnames,
 1815|      0|                                                        func->func_qualname))
 1816|      0|                {
 1817|      0|                    goto kw_fail;
 1818|      0|                }
 1819|       |
 1820|      0|                PyObject* suggestion_keyword = NULL;
 1821|      0|                if (total_args > co->co_posonlyargcount) {
  ------------------
  |  Branch (1821:21): [True: 0, False: 0]
  ------------------
 1822|      0|                    PyObject* possible_keywords = PyList_New(total_args - co->co_posonlyargcount);
 1823|       |
 1824|      0|                    if (!possible_keywords) {
  ------------------
  |  Branch (1824:25): [True: 0, False: 0]
  ------------------
 1825|      0|                        PyErr_Clear();
 1826|      0|                    } else {
 1827|      0|                        for (Py_ssize_t k = co->co_posonlyargcount; k < total_args; k++) {
  ------------------
  |  Branch (1827:69): [True: 0, False: 0]
  ------------------
 1828|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1829|      0|                        }
 1830|       |
 1831|      0|                        suggestion_keyword = _Py_CalculateSuggestions(possible_keywords, keyword);
 1832|      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]
  |  |  ------------------
  ------------------
 1833|      0|                    }
 1834|      0|                }
 1835|       |
 1836|      0|                if (suggestion_keyword) {
  ------------------
  |  Branch (1836:21): [True: 0, False: 0]
  ------------------
 1837|      0|                    _PyErr_Format(tstate, PyExc_TypeError,
 1838|      0|                                "%U() got an unexpected keyword argument '%S'. Did you mean '%S'?",
 1839|      0|                                func->func_qualname, keyword, suggestion_keyword);
 1840|      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]
  |  |  ------------------
  ------------------
 1841|      0|                } else {
 1842|      0|                    _PyErr_Format(tstate, PyExc_TypeError,
 1843|      0|                                "%U() got an unexpected keyword argument '%S'",
 1844|      0|                                func->func_qualname, keyword);
 1845|      0|                }
 1846|       |
 1847|      0|                goto kw_fail;
 1848|      0|            }
 1849|       |
 1850|  49.4k|            if (PyDict_SetItem(kwdict, keyword, PyStackRef_AsPyObjectBorrow(value_stackref)) == -1) {
  ------------------
  |  Branch (1850:17): [True: 0, False: 49.4k]
  ------------------
 1851|      0|                goto kw_fail;
 1852|      0|            }
 1853|  49.4k|            PyStackRef_CLOSE(value_stackref);
 1854|  49.4k|            continue;
 1855|       |
 1856|      0|        kw_fail:
 1857|      0|            for (;i < kwcount; i++) {
  ------------------
  |  Branch (1857:19): [True: 0, False: 0]
  ------------------
 1858|      0|                PyStackRef_CLOSE(args[i+argcount]);
 1859|      0|            }
 1860|      0|            goto fail_post_args;
 1861|       |
 1862|  12.0M|        kw_found:
 1863|  12.0M|            if (PyStackRef_AsPyObjectBorrow(localsplus[j]) != NULL) {
  ------------------
  |  Branch (1863:17): [True: 0, False: 12.0M]
  ------------------
 1864|      0|                _PyErr_Format(tstate, PyExc_TypeError,
 1865|      0|                            "%U() got multiple values for argument '%S'",
 1866|      0|                          func->func_qualname, keyword);
 1867|      0|                goto kw_fail;
 1868|      0|            }
 1869|  12.0M|            localsplus[j] = value_stackref;
 1870|  12.0M|        }
 1871|  7.01M|    }
 1872|       |
 1873|       |    /* Check the number of positional arguments */
 1874|  12.3M|    if ((argcount > co->co_argcount) && !(co->co_flags & CO_VARARGS)) {
  ------------------
  |  |  120|   398k|#define CO_VARARGS      0x0004
  ------------------
  |  Branch (1874:9): [True: 398k, False: 11.9M]
  |  Branch (1874:41): [True: 0, False: 398k]
  ------------------
 1875|      0|        too_many_positional(tstate, co, argcount, func->func_defaults, localsplus,
 1876|      0|                            func->func_qualname);
 1877|      0|        goto fail_post_args;
 1878|      0|    }
 1879|       |
 1880|       |    /* Add missing positional arguments (copy default values from defs) */
 1881|  12.3M|    if (argcount < co->co_argcount) {
  ------------------
  |  Branch (1881:9): [True: 2.71M, False: 9.62M]
  ------------------
 1882|  2.71M|        Py_ssize_t defcount = func->func_defaults == NULL ? 0 : PyTuple_GET_SIZE(func->func_defaults);
  ------------------
  |  |   27|  2.50M|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.50M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.50M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1882:31): [True: 203k, False: 2.50M]
  ------------------
 1883|  2.71M|        Py_ssize_t m = co->co_argcount - defcount;
 1884|  2.71M|        Py_ssize_t missing = 0;
 1885|  3.29M|        for (i = argcount; i < m; i++) {
  ------------------
  |  Branch (1885:28): [True: 585k, False: 2.71M]
  ------------------
 1886|   585k|            if (PyStackRef_IsNull(localsplus[i])) {
  ------------------
  |  |  470|   585k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  467|   585k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|   585k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (470:32): [True: 0, False: 585k]
  |  |  ------------------
  ------------------
 1887|      0|                missing++;
 1888|      0|            }
 1889|   585k|        }
 1890|  2.71M|        if (missing) {
  ------------------
  |  Branch (1890:13): [True: 0, False: 2.71M]
  ------------------
 1891|      0|            missing_arguments(tstate, co, missing, defcount, localsplus,
 1892|      0|                              func->func_qualname);
 1893|      0|            goto fail_post_args;
 1894|      0|        }
 1895|  2.71M|        if (n > m)
  ------------------
  |  Branch (1895:13): [True: 14.1k, False: 2.69M]
  ------------------
 1896|  14.1k|            i = n - m;
 1897|  2.69M|        else
 1898|  2.69M|            i = 0;
 1899|  2.71M|        if (defcount) {
  ------------------
  |  Branch (1899:13): [True: 2.50M, False: 203k]
  ------------------
 1900|  2.50M|            PyObject **defs = &PyTuple_GET_ITEM(func->func_defaults, 0);
  ------------------
  |  |   29|  2.50M|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  2.50M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.50M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1901|  5.35M|            for (; i < defcount; i++) {
  ------------------
  |  Branch (1901:20): [True: 2.84M, False: 2.50M]
  ------------------
 1902|  2.84M|                if (PyStackRef_AsPyObjectBorrow(localsplus[m+i]) == NULL) {
  ------------------
  |  Branch (1902:21): [True: 460k, False: 2.38M]
  ------------------
 1903|   460k|                    PyObject *def = defs[i];
 1904|   460k|                    localsplus[m+i] = PyStackRef_FromPyObjectNew(def);
  ------------------
  |  |  599|   460k|#define PyStackRef_FromPyObjectNew(obj) _PyStackRef_FromPyObjectNew(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   460k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   460k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1905|   460k|                }
 1906|  2.84M|            }
 1907|  2.50M|        }
 1908|  2.71M|    }
 1909|       |
 1910|       |    /* Add missing keyword arguments (copy default values from kwdefs) */
 1911|  12.3M|    if (co->co_kwonlyargcount > 0) {
  ------------------
  |  Branch (1911:9): [True: 6.94M, False: 5.38M]
  ------------------
 1912|  6.94M|        Py_ssize_t missing = 0;
 1913|  20.7M|        for (i = co->co_argcount; i < total_args; i++) {
  ------------------
  |  Branch (1913:35): [True: 13.8M, False: 6.94M]
  ------------------
 1914|  13.8M|            if (PyStackRef_AsPyObjectBorrow(localsplus[i]) != NULL)
  ------------------
  |  Branch (1914:17): [True: 9.08M, False: 4.73M]
  ------------------
 1915|  9.08M|                continue;
 1916|  4.73M|            PyObject *varname = PyTuple_GET_ITEM(co->co_localsplusnames, i);
  ------------------
  |  |   29|  4.73M|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  4.73M|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.73M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1917|  4.73M|            if (func->func_kwdefaults != NULL) {
  ------------------
  |  Branch (1917:17): [True: 4.73M, False: 0]
  ------------------
 1918|  4.73M|                PyObject *def;
 1919|  4.73M|                if (PyDict_GetItemRef(func->func_kwdefaults, varname, &def) < 0) {
  ------------------
  |  Branch (1919:21): [True: 0, False: 4.73M]
  ------------------
 1920|      0|                    goto fail_post_args;
 1921|      0|                }
 1922|  4.73M|                if (def) {
  ------------------
  |  Branch (1922:21): [True: 4.73M, False: 0]
  ------------------
 1923|  4.73M|                    localsplus[i] = PyStackRef_FromPyObjectSteal(def);
 1924|  4.73M|                    continue;
 1925|  4.73M|                }
 1926|  4.73M|            }
 1927|      0|            missing++;
 1928|      0|        }
 1929|  6.94M|        if (missing) {
  ------------------
  |  Branch (1929:13): [True: 0, False: 6.94M]
  ------------------
 1930|      0|            missing_arguments(tstate, co, missing, -1, localsplus,
 1931|      0|                              func->func_qualname);
 1932|      0|            goto fail_post_args;
 1933|      0|        }
 1934|  6.94M|    }
 1935|  12.3M|    return 0;
 1936|       |
 1937|      0|fail_pre_positional:
 1938|      0|    for (j = 0; j < argcount; j++) {
  ------------------
  |  Branch (1938:17): [True: 0, False: 0]
  ------------------
 1939|      0|        PyStackRef_CLOSE(args[j]);
 1940|      0|    }
 1941|       |    /* fall through */
 1942|      0|fail_post_positional:
 1943|      0|    if (kwnames) {
  ------------------
  |  Branch (1943:9): [True: 0, False: 0]
  ------------------
 1944|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1945|      0|        for (j = argcount; j < argcount+kwcount; j++) {
  ------------------
  |  Branch (1945:28): [True: 0, False: 0]
  ------------------
 1946|      0|            PyStackRef_CLOSE(args[j]);
 1947|      0|        }
 1948|      0|    }
 1949|       |    /* fall through */
 1950|      0|fail_post_args:
 1951|      0|    return -1;
 1952|      0|}
ceval.c:_PyEval_GetGlobals:
 2720|  20.8k|{
 2721|  20.8k|    _PyInterpreterFrame *current_frame = _PyThreadState_GetFrame(tstate);
 2722|  20.8k|    if (current_frame == NULL) {
  ------------------
  |  Branch (2722:9): [True: 16, False: 20.8k]
  ------------------
 2723|     16|        return NULL;
 2724|     16|    }
 2725|  20.8k|    return current_frame->f_globals;
 2726|  20.8k|}
ceval.c:get_globals_builtins:
 2753|  4.18k|{
 2754|  4.18k|    PyObject *builtins = NULL;
 2755|  4.18k|    if (PyAnyDict_Check(globals)) {
  ------------------
  |  |   43|  4.18k|    (PyDict_Check(ob) || PyFrozenDict_Check(ob))
  |  |  ------------------
  |  |  |  |   18|  4.18k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  |  |  ------------------
  |  |  |  |  |  |  760|  8.37k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (760:41): [True: 4.18k, 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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2756|  4.18k|        if (PyDict_GetItemRef(globals, &_Py_ID(__builtins__), &builtins) < 0) {
  ------------------
  |  |  915|  4.18k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.18k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.18k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2756:13): [True: 0, False: 4.18k]
  ------------------
 2757|      0|            return NULL;
 2758|      0|        }
 2759|  4.18k|    }
 2760|      0|    else {
 2761|      0|        if (PyMapping_GetOptionalItem(
  ------------------
  |  Branch (2761:13): [True: 0, False: 0]
  ------------------
 2762|      0|                        globals, &_Py_ID(__builtins__), &builtins) < 0)
  ------------------
  |  |  915|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2763|      0|        {
 2764|      0|            return NULL;
 2765|      0|        }
 2766|      0|    }
 2767|  4.18k|    return builtins;
 2768|  4.18k|}
ceval.c:set_globals_builtins:
 2772|  4.07k|{
 2773|  4.07k|    if (PyDict_Check(globals)) {
  ------------------
  |  |   18|  4.07k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  4.07k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 4.07k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2774|  4.07k|        if (PyDict_SetItem(globals, &_Py_ID(__builtins__), builtins) < 0) {
  ------------------
  |  |  915|  4.07k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.07k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.07k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2774:13): [True: 0, False: 4.07k]
  ------------------
 2775|      0|            return -1;
 2776|      0|        }
 2777|  4.07k|    }
 2778|      0|    else {
 2779|      0|        if (PyObject_SetItem(globals, &_Py_ID(__builtins__), builtins) < 0) {
  ------------------
  |  |  915|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2779:13): [True: 0, False: 0]
  ------------------
 2780|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2781|      0|                PyErr_SetString(PyExc_TypeError,
 2782|      0|                                "cannot assign __builtins__ to frozendict globals");
 2783|      0|            }
 2784|      0|            return -1;
 2785|      0|        }
 2786|      0|    }
 2787|  4.07k|    return 0;
 2788|  4.07k|}
ceval.c:check_lazy_import_compatibility:
 3027|  6.91k|{
 3028|       |     // Check if this module should be imported lazily due to
 3029|       |     // the compatibility mode support via __lazy_modules__.
 3030|  6.91k|    PyObject *lazy_modules = NULL;
 3031|  6.91k|    PyObject *abs_name = NULL;
 3032|  6.91k|    int res = -1;
 3033|       |
 3034|  6.91k|    if (globals != NULL &&
  ------------------
  |  Branch (3034:9): [True: 6.91k, False: 0]
  ------------------
 3035|  6.91k|        PyMapping_GetOptionalItem(globals, &_Py_ID(__lazy_modules__),
  ------------------
  |  |  915|  6.91k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  6.91k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  6.91k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3035:9): [True: 0, False: 6.91k]
  ------------------
 3036|  6.91k|                                  &lazy_modules) < 0)
 3037|      0|    {
 3038|      0|        return -1;
 3039|      0|    }
 3040|  6.91k|    if (lazy_modules == NULL) {
  ------------------
  |  Branch (3040:9): [True: 6.91k, False: 0]
  ------------------
 3041|  6.91k|        assert(!PyErr_Occurred());
 3042|  6.91k|        return 0;
 3043|  6.91k|    }
 3044|       |
 3045|      0|    int ilevel = PyLong_AsInt(level);
 3046|      0|    if (ilevel == -1 && _PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (3046:9): [True: 0, False: 0]
  |  Branch (3046:25): [True: 0, False: 0]
  ------------------
 3047|      0|        goto error;
 3048|      0|    }
 3049|       |
 3050|      0|    abs_name = _PyImport_GetAbsName(tstate, name, globals, ilevel);
 3051|      0|    if (abs_name == NULL) {
  ------------------
  |  Branch (3051:9): [True: 0, False: 0]
  ------------------
 3052|      0|        goto error;
 3053|      0|    }
 3054|       |
 3055|      0|    res = PySequence_Contains(lazy_modules, abs_name);
 3056|      0|error:
 3057|      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]
  |  |  ------------------
  ------------------
 3058|       |    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]
  |  |  ------------------
  ------------------
 3059|      0|    return res;
 3060|      0|}

ceval.c:check_invalid_reentrancy:
  142|  5.48M|{
  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.48M|}
ceval.c:monitor_throw:
  395|  19.9k|{
  396|  19.9k|    if (no_tools_for_local_event(tstate, frame, PY_MONITORING_EVENT_PY_THROW)) {
  ------------------
  |  |   35|  19.9k|#define PY_MONITORING_EVENT_PY_THROW 14
  ------------------
  |  Branch (396:9): [True: 19.9k, False: 0]
  ------------------
  397|  19.9k|        return;
  398|  19.9k|    }
  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|   517k|{
  406|   517k|    if (no_tools_for_local_event(tstate, frame, PY_MONITORING_EVENT_RERAISE)) {
  ------------------
  |  |   36|   517k|#define PY_MONITORING_EVENT_RERAISE 15
  ------------------
  |  Branch (406:9): [True: 517k, False: 0]
  ------------------
  407|   517k|        return;
  408|   517k|    }
  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|  10.9k|{
  519|  10.9k|    PyObject *type = NULL, *value = NULL;
  520|       |
  521|  10.9k|    if (exc == NULL) {
  ------------------
  |  Branch (521:9): [True: 3.44k, False: 7.48k]
  ------------------
  522|       |        /* Reraise */
  523|  3.44k|        _PyErr_StackItem *exc_info = _PyErr_GetTopmostException(tstate);
  524|  3.44k|        exc = exc_info->exc_value;
  525|  3.44k|        if (Py_IsNone(exc) || exc == NULL) {
  ------------------
  |  |  621|  3.44k|#define Py_IsNone(x) Py_Is((x), Py_None)
  |  |  ------------------
  |  |  |  |  187|  6.89k|#define Py_Is(x, y) ((x) == (y))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (187:21): [True: 0, False: 3.44k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (525:31): [True: 0, False: 3.44k]
  ------------------
  526|      0|            _PyErr_SetString(tstate, PyExc_RuntimeError,
  527|      0|                             "No active exception to reraise");
  528|      0|            return 0;
  529|      0|        }
  530|  3.44k|        Py_INCREF(exc);
  ------------------
  |  |  310|  3.44k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.44k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.44k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  531|  3.44k|        assert(PyExceptionInstance_Check(exc));
  532|  3.44k|        _PyErr_SetRaisedException(tstate, exc);
  533|  3.44k|        return 1;
  534|  3.44k|    }
  535|       |
  536|       |    /* We support the following forms of raise:
  537|       |       raise
  538|       |       raise <instance>
  539|       |       raise <type> */
  540|       |
  541|  7.48k|    if (PyExceptionClass_Check(exc)) {
  ------------------
  |  |   61|  7.48k|    (PyType_Check((x)) &&                                               \
  |  |  ------------------
  |  |  |  |  766|  14.9k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  7.48k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  7.48k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (766:28): [True: 30, False: 7.45k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   62|  7.48k|     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|  7.45k|    else if (PyExceptionInstance_Check(exc)) {
  ------------------
  |  |   65|  7.45k|    PyType_FastSubclass(Py_TYPE(x), Py_TPFLAGS_BASE_EXC_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  7.45k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 7.45k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  555|  7.45k|        value = exc;
  556|  7.45k|        type = PyExceptionInstance_Class(exc);
  ------------------
  |  |   69|  7.45k|#define PyExceptionInstance_Class(x) _PyObject_CAST(Py_TYPE(x))
  |  |  ------------------
  |  |  |  |  171|  7.45k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.45k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  557|  7.45k|        Py_INCREF(type);
  ------------------
  |  |  310|  7.45k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.45k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.45k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  558|  7.45k|    }
  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|  7.48k|    assert(type != NULL);
  569|  7.48k|    assert(value != NULL);
  570|       |
  571|  7.48k|    if (cause) {
  ------------------
  |  Branch (571:9): [True: 64, False: 7.42k]
  ------------------
  572|     64|        PyObject *fixed_cause;
  573|     64|        if (PyExceptionClass_Check(cause)) {
  ------------------
  |  |   61|     64|    (PyType_Check((x)) &&                                               \
  |  |  ------------------
  |  |  |  |  766|    128|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     64|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     64|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (766:28): [True: 0, False: 64]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   62|     64|     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|     64|        else if (PyExceptionInstance_Check(cause)) {
  ------------------
  |  |   65|     64|    PyType_FastSubclass(Py_TYPE(x), Py_TPFLAGS_BASE_EXC_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     64|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 64]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  588|      0|            fixed_cause = cause;
  589|      0|        }
  590|     64|        else if (Py_IsNone(cause)) {
  ------------------
  |  |  621|     64|#define Py_IsNone(x) Py_Is((x), Py_None)
  |  |  ------------------
  |  |  |  |  187|     64|#define Py_Is(x, y) ((x) == (y))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (187:21): [True: 64, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  591|     64|            Py_DECREF(cause);
  ------------------
  |  |   80|     64|    do { \
  |  |   81|     64|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|     64|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     64|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|     64|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|     64|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     64|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     64|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 64, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|     64|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|     64|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|     64|            break; \
  |  |   85|     64|        } \
  |  |   86|     64|        _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|     64|            fixed_cause = NULL;
  593|     64|        }
  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|     64|        PyException_SetCause(value, fixed_cause);
  601|     64|    }
  602|       |
  603|  7.48k|    _PyErr_SetObject(tstate, type, value);
  604|       |    /* _PyErr_SetObject incref's its arguments */
  605|  7.48k|    Py_DECREF(value);
  ------------------
  |  |   80|  7.48k|    do { \
  |  |   81|  7.48k|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|  7.48k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.48k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|  7.48k|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|  7.48k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  7.48k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  7.48k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 0, False: 7.48k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|      0|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|      0|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|      0|            break; \
  |  |   85|      0|        } \
  |  |   86|  7.48k|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|  7.48k|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|  7.48k|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 7.48k]
  |  |  ------------------
  |  |   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|  7.48k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 7.48k]
  |  |  ------------------
  ------------------
  606|  7.48k|    Py_DECREF(type);
  ------------------
  |  |   80|  7.48k|    do { \
  |  |   81|  7.48k|        PyObject *op = _PyObject_CAST(arg); \
  |  |  ------------------
  |  |  |  |  171|  7.48k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.48k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   82|  7.48k|        if (_Py_IsImmortal(op)) { \
  |  |  ------------------
  |  |  |  |  137|  7.48k|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  7.48k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  7.48k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (137:28): [True: 4.08k, False: 3.40k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   83|  4.08k|            _Py_DECREF_IMMORTAL_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   22|  4.08k|#  define _Py_DECREF_IMMORTAL_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   84|  4.08k|            break; \
  |  |   85|  4.08k|        } \
  |  |   86|  7.48k|        _Py_DECREF_STAT_INC(); \
  |  |  ------------------
  |  |  |  |   20|  3.40k|#  define _Py_DECREF_STAT_INC() ((void)0)
  |  |  ------------------
  |  |   87|  3.40k|        if (--op->ob_refcnt == 0) { \
  |  |  ------------------
  |  |  |  Branch (87:13): [True: 0, False: 3.40k]
  |  |  ------------------
  |  |   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.40k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (92:14): [Folded, False: 3.40k]
  |  |  ------------------
  ------------------
  607|  7.48k|    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|  7.48k|}
ceval.c:get_exception_handler:
  459|  2.66M|{
  460|  2.66M|    unsigned char *start = (unsigned char *)PyBytes_AS_STRING(code->co_exceptiontable);
  ------------------
  |  |   27|  2.66M|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.66M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.66M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  461|  2.66M|    unsigned char *end = start + PyBytes_GET_SIZE(code->co_exceptiontable);
  ------------------
  |  |   33|  2.66M|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  2.66M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.66M|#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|  2.66M|    if (end - start > MAX_LINEAR_SEARCH) {
  ------------------
  |  |  455|  2.66M|#define MAX_LINEAR_SEARCH 40
  ------------------
  |  Branch (467:9): [True: 355k, False: 2.31M]
  ------------------
  468|   355k|        int offset;
  469|   355k|        parse_varint(start, &offset);
  470|   355k|        if (offset > index) {
  ------------------
  |  Branch (470:13): [True: 3.32k, False: 351k]
  ------------------
  471|  3.32k|            return 0;
  472|  3.32k|        }
  473|   661k|        do {
  474|   661k|            unsigned char * mid = start + ((end-start)>>1);
  475|   661k|            mid = scan_back_to_entry_start(mid);
  476|   661k|            parse_varint(mid, &offset);
  477|   661k|            if (offset > index) {
  ------------------
  |  Branch (477:17): [True: 438k, False: 222k]
  ------------------
  478|   438k|                end = mid;
  479|   438k|            }
  480|   222k|            else {
  481|   222k|                start = mid;
  482|   222k|            }
  483|       |
  484|   661k|        } while (end - start > MAX_LINEAR_SEARCH);
  ------------------
  |  |  455|   661k|#define MAX_LINEAR_SEARCH 40
  ------------------
  |  Branch (484:18): [True: 309k, False: 351k]
  ------------------
  485|   351k|    }
  486|  2.66M|    unsigned char *scan = start;
  487|  5.53M|    while (scan < end) {
  ------------------
  |  Branch (487:12): [True: 4.82M, False: 715k]
  ------------------
  488|  4.82M|        int start_offset, size;
  489|  4.82M|        scan = parse_varint(scan, &start_offset);
  490|  4.82M|        if (start_offset > index) {
  ------------------
  |  Branch (490:13): [True: 10.4k, False: 4.81M]
  ------------------
  491|  10.4k|            break;
  492|  10.4k|        }
  493|  4.81M|        scan = parse_varint(scan, &size);
  494|  4.81M|        if (start_offset + size > index) {
  ------------------
  |  Branch (494:13): [True: 1.93M, False: 2.87M]
  ------------------
  495|  1.93M|            scan = parse_varint(scan, handler);
  496|  1.93M|            int depth_and_lasti;
  497|  1.93M|            parse_varint(scan, &depth_and_lasti);
  498|  1.93M|            *level = depth_and_lasti >> 1;
  499|  1.93M|            *lasti = depth_and_lasti & 1;
  500|  1.93M|            return 1;
  501|  1.93M|        }
  502|  2.87M|        scan = skip_to_next_entry(scan, end);
  503|  2.87M|    }
  504|   725k|    return 0;
  505|  2.66M|}
ceval.c:scan_back_to_entry_start:
  441|   661k|scan_back_to_entry_start(unsigned char *p) {
  442|  2.51M|    for (; (p[0]&128) == 0; p--);
  ------------------
  |  Branch (442:12): [True: 1.84M, False: 661k]
  ------------------
  443|   661k|    return p;
  444|   661k|}
ceval.c:skip_to_next_entry:
  447|  2.87M|skip_to_next_entry(unsigned char *p, unsigned char *end) {
  448|  9.32M|    while (p < end && ((p[0] & 128) == 0)) {
  ------------------
  |  Branch (448:12): [True: 8.92M, False: 402k]
  |  Branch (448:23): [True: 6.45M, False: 2.47M]
  ------------------
  449|  6.45M|        p++;
  450|  6.45M|    }
  451|  2.87M|    return p;
  452|  2.87M|}
ceval.c:monitor_unwind:
  433|   728k|{
  434|   728k|    if (no_tools_for_local_event(tstate, frame, PY_MONITORING_EVENT_PY_UNWIND)) {
  ------------------
  |  |   34|   728k|#define PY_MONITORING_EVENT_PY_UNWIND 13
  ------------------
  |  Branch (434:9): [True: 728k, False: 0]
  ------------------
  435|   728k|        return;
  436|   728k|    }
  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|  1.93M|{
  385|  1.93M|    if (no_tools_for_local_event(tstate, frame, PY_MONITORING_EVENT_EXCEPTION_HANDLED)) {
  ------------------
  |  |   33|  1.93M|#define PY_MONITORING_EVENT_EXCEPTION_HANDLED 12
  ------------------
  |  Branch (385:9): [True: 1.93M, False: 0]
  ------------------
  386|  1.93M|        return 0;
  387|  1.93M|    }
  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|  1.93M|}
ceval.c:no_tools_for_local_event:
  369|  5.35M|{
  370|  5.35M|    assert(event < _PY_MONITORING_UNGROUPED_EVENTS);
  371|  5.35M|    _PyCoMonitoringData *data = _PyFrame_GetCode(frame)->_co_monitoring;
  372|  5.35M|    if (data) {
  ------------------
  |  Branch (372:9): [True: 0, False: 5.35M]
  ------------------
  373|      0|        return data->active_monitors.tools[event] == 0;
  374|      0|    }
  375|  5.35M|    else {
  376|  5.35M|        return no_tools_for_global_event(tstate, event);
  377|  5.35M|    }
  378|  5.35M|}
ceval.c:no_tools_for_global_event:
  363|  5.35M|{
  364|  5.35M|    return tstate->interp->monitors.tools[event] == 0;
  365|  5.35M|}

_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|   116k|{
  591|   116k|    _Py_EnsureTstateNotNULL(tstate);
  ------------------
  |  |  196|   116k|    _Py_EnsureFuncTstateNotNULL(__func__, (tstate))
  ------------------
  592|   116k|    take_gil(tstate);
  593|   116k|}
_PyEval_ReleaseLock:
  599|   116k|{
  600|   116k|    assert(tstate != NULL);
  601|       |    assert(tstate->interp == interp);
  602|   116k|    drop_gil(interp, tstate, final_release);
  603|   116k|}
PyEval_SaveThread:
  644|   116k|{
  645|   116k|    PyThreadState *tstate = _PyThreadState_GET();
  646|   116k|    _PyThreadState_Detach(tstate);
  647|   116k|    return tstate;
  648|   116k|}
PyEval_RestoreThread:
  652|   116k|{
  653|       |#ifdef MS_WINDOWS
  654|       |    int err = GetLastError();
  655|       |#endif
  656|       |
  657|   116k|    _Py_EnsureTstateNotNULL(tstate);
  ------------------
  |  |  196|   116k|    _Py_EnsureFuncTstateNotNULL(__func__, (tstate))
  ------------------
  658|   116k|    _PyThreadState_Attach(tstate);
  659|       |
  660|       |#ifdef MS_WINDOWS
  661|       |    SetLastError(err);
  662|       |#endif
  663|   116k|}
_PyEval_InitState:
 1075|      2|{
 1076|      2|    _gil_initialize(&interp->_gil);
 1077|      2|}
_PyRunRemoteDebugger:
 1259|   205k|{
 1260|   205k|    const PyConfig *config = _PyInterpreterState_GetConfig(tstate->interp);
 1261|   205k|    if (config->remote_debug == 1
  ------------------
  |  Branch (1261:9): [True: 205k, False: 0]
  ------------------
 1262|   205k|         && tstate->remote_debugger_support.debugger_pending_call == 1)
  ------------------
  |  Branch (1262:13): [True: 0, False: 205k]
  ------------------
 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|   205k|    return 0;
 1294|   205k|}
_Py_HandlePending:
 1358|  3.04k|{
 1359|  3.04k|    uintptr_t breaker = _Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker);
 1360|       |
 1361|       |    /* Stop-the-world */
 1362|  3.04k|    if ((breaker & _PY_EVAL_PLEASE_STOP_BIT) != 0) {
  ------------------
  |  |  351|  3.04k|#define _PY_EVAL_PLEASE_STOP_BIT (1U << 5)
  ------------------
  |  Branch (1362:9): [True: 0, False: 3.04k]
  ------------------
 1363|      0|        _Py_unset_eval_breaker_bit(tstate, _PY_EVAL_PLEASE_STOP_BIT);
  ------------------
  |  |  351|      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|  3.04k|    if ((breaker & _PY_SIGNALS_PENDING_BIT) != 0) {
  ------------------
  |  |  347|  3.04k|#define _PY_SIGNALS_PENDING_BIT (1U << 1)
  ------------------
  |  Branch (1371:9): [True: 0, False: 3.04k]
  ------------------
 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|  3.04k|    if ((breaker & _PY_CALLS_TO_DO_BIT) != 0) {
  ------------------
  |  |  348|  3.04k|#define _PY_CALLS_TO_DO_BIT (1U << 2)
  ------------------
  |  Branch (1378:9): [True: 0, False: 3.04k]
  ------------------
 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|  3.04k|    if ((breaker & _PY_GC_SCHEDULED_BIT) != 0) {
  ------------------
  |  |  350|  3.04k|#define _PY_GC_SCHEDULED_BIT (1U << 4)
  ------------------
  |  Branch (1397:9): [True: 3.04k, False: 0]
  ------------------
 1398|  3.04k|        _Py_unset_eval_breaker_bit(tstate, _PY_GC_SCHEDULED_BIT);
  ------------------
  |  |  350|  3.04k|#define _PY_GC_SCHEDULED_BIT (1U << 4)
  ------------------
 1399|  3.04k|        _Py_RunGC(tstate);
 1400|       |#ifdef _Py_TIER2
 1401|       |        _Py_ClearExecutorDeletionList(tstate->interp);
 1402|       |#endif
 1403|  3.04k|    }
 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|  3.04k|    if ((breaker & _PY_GIL_DROP_REQUEST_BIT) != 0) {
  ------------------
  |  |  346|  3.04k|#define _PY_GIL_DROP_REQUEST_BIT (1U << 0)
  ------------------
  |  Branch (1415:9): [True: 0, False: 3.04k]
  ------------------
 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|  3.04k|    if ((breaker & _PY_ASYNC_EXCEPTION_BIT) != 0) {
  ------------------
  |  |  349|  3.04k|#define _PY_ASYNC_EXCEPTION_BIT (1U << 3)
  ------------------
  |  Branch (1425:9): [True: 0, False: 3.04k]
  ------------------
 1426|      0|        if (_PyEval_RaiseAsyncExc(tstate) < 0) {
  ------------------
  |  Branch (1426:13): [True: 0, False: 0]
  ------------------
 1427|      0|            return -1;
 1428|      0|        }
 1429|      0|    }
 1430|       |
 1431|  3.04k|#if defined(Py_REMOTE_DEBUG) && defined(Py_SUPPORTS_REMOTE_DEBUG)
 1432|  3.04k|    _PyRunRemoteDebugger(tstate);
 1433|  3.04k|#endif
 1434|       |
 1435|  3.04k|    return 0;
 1436|  3.04k|}
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|   116k|{
  288|   116k|    int err = errno;
  289|       |
  290|   116k|    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|   116k|    if (_PyThreadState_MustExit(tstate)) {
  ------------------
  |  Branch (295:9): [True: 0, False: 116k]
  ------------------
  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|   116k|    assert(_PyThreadState_CheckConsistency(tstate));
  311|   116k|    PyInterpreterState *interp = tstate->interp;
  312|   116k|    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|   116k|    assert(gil_created(gil));
  321|       |
  322|   116k|    MUTEX_LOCK(gil->mutex);
  ------------------
  |  |  117|   116k|    if (PyMUTEX_LOCK(&(mut))) { \
  |  |  ------------------
  |  |  |  |   59|   116k|#define PyMUTEX_LOCK(mut)       pthread_mutex_lock(mut)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:33): [True: 0, False: 116k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  118|   116k|        Py_FatalError("PyMUTEX_LOCK(" #mut ") failed"); };
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  ------------------
  323|       |
  324|   116k|    tstate->gil_requested = 1;
  325|       |
  326|   116k|    int drop_requested = 0;
  327|   116k|    while (_Py_atomic_load_int_relaxed(&gil->locked)) {
  ------------------
  |  Branch (327:12): [True: 0, False: 116k]
  ------------------
  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);
  ------------------
  |  |  346|      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);
  ------------------
  |  |  346|      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|   116k|#ifdef FORCE_SWITCHING
  379|       |    /* This mutex must be taken before modifying gil->last_holder:
  380|       |       see drop_gil(). */
  381|   232k|    MUTEX_LOCK(gil->switch_mutex);
  ------------------
  |  |  117|   116k|    if (PyMUTEX_LOCK(&(mut))) { \
  |  |  ------------------
  |  |  |  |   59|   116k|#define PyMUTEX_LOCK(mut)       pthread_mutex_lock(mut)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:33): [True: 0, False: 116k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  118|   116k|        Py_FatalError("PyMUTEX_LOCK(" #mut ") failed"); };
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  ------------------
  382|   232k|#endif
  383|       |    /* We now hold the GIL */
  384|   232k|    _Py_atomic_store_int_relaxed(&gil->locked, 1);
  385|   232k|    _Py_ANNOTATE_RWLOCK_ACQUIRED(&gil->locked, /*is_write=*/1);
  386|       |
  387|   232k|    if (tstate != (PyThreadState*)_Py_atomic_load_ptr_relaxed(&gil->last_holder)) {
  ------------------
  |  Branch (387:9): [True: 2, False: 116k]
  ------------------
  388|      2|        _Py_atomic_store_ptr_relaxed(&gil->last_holder, tstate);
  389|      2|        ++gil->switch_number;
  390|      2|    }
  391|       |
  392|   232k|#ifdef FORCE_SWITCHING
  393|   232k|    COND_SIGNAL(gil->switch_cond);
  ------------------
  |  |  130|   116k|    if (PyCOND_SIGNAL(&(cond))) { \
  |  |  ------------------
  |  |  |  |   64|   116k|#define PyCOND_SIGNAL(cond)     pthread_cond_signal(cond)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (64:33): [True: 0, False: 116k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  131|   116k|        Py_FatalError("PyCOND_SIGNAL(" #cond ") failed"); };
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  ------------------
  394|   116k|    MUTEX_UNLOCK(gil->switch_mutex);
  ------------------
  |  |  120|   116k|    if (PyMUTEX_UNLOCK(&(mut))) { \
  |  |  ------------------
  |  |  |  |   60|   116k|#define PyMUTEX_UNLOCK(mut)     pthread_mutex_unlock(mut)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (60:33): [True: 0, False: 116k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  121|   116k|        Py_FatalError("PyMUTEX_UNLOCK(" #mut ") failed"); };
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  ------------------
  395|   116k|#endif
  396|       |
  397|   116k|    if (_PyThreadState_MustExit(tstate)) {
  ------------------
  |  Branch (397:9): [True: 0, False: 116k]
  ------------------
  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|   116k|    assert(_PyThreadState_CheckConsistency(tstate));
  412|       |
  413|   116k|    tstate->gil_requested = 0;
  414|   116k|    tstate->holds_gil = 1;
  415|   116k|    _Py_unset_eval_breaker_bit(tstate, _PY_GIL_DROP_REQUEST_BIT);
  ------------------
  |  |  346|   116k|#define _PY_GIL_DROP_REQUEST_BIT (1U << 0)
  ------------------
  416|   116k|    update_eval_breaker_for_thread(interp, tstate);
  417|       |
  418|   116k|    MUTEX_UNLOCK(gil->mutex);
  ------------------
  |  |  120|   116k|    if (PyMUTEX_UNLOCK(&(mut))) { \
  |  |  ------------------
  |  |  |  |   60|   116k|#define PyMUTEX_UNLOCK(mut)     pthread_mutex_unlock(mut)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (60:33): [True: 0, False: 116k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  121|   116k|        Py_FatalError("PyMUTEX_UNLOCK(" #mut ") failed"); };
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  ------------------
  419|       |
  420|       |    errno = err;
  421|   116k|    return;
  422|   116k|}
ceval_gil.c:update_eval_breaker_for_thread:
   74|   116k|{
   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|   116k|    int32_t npending = _Py_atomic_load_int32_relaxed(
   82|   116k|        &interp->ceval.pending.npending);
   83|   116k|    if (npending) {
  ------------------
  |  Branch (83:9): [True: 0, False: 116k]
  ------------------
   84|      0|        _Py_set_eval_breaker_bit(tstate, _PY_CALLS_TO_DO_BIT);
  ------------------
  |  |  348|      0|#define _PY_CALLS_TO_DO_BIT (1U << 2)
  ------------------
   85|      0|    }
   86|   116k|    else if (_Py_IsMainThread()) {
  ------------------
  |  Branch (86:14): [True: 116k, False: 0]
  ------------------
   87|   116k|        npending = _Py_atomic_load_int32_relaxed(
   88|   116k|            &_PyRuntime.ceval.pending_mainthread.npending);
   89|   116k|        if (npending) {
  ------------------
  |  Branch (89:13): [True: 0, False: 116k]
  ------------------
   90|      0|            _Py_set_eval_breaker_bit(tstate, _PY_CALLS_TO_DO_BIT);
  ------------------
  |  |  348|      0|#define _PY_CALLS_TO_DO_BIT (1U << 2)
  ------------------
   91|      0|        }
   92|   116k|    }
   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|   116k|    copy_eval_breaker_bits(&interp->ceval.instrumentation_version,
   97|   116k|                           &tstate->eval_breaker,
   98|   116k|                           ~_PY_EVAL_EVENTS_MASK);
  ------------------
  |  |  357|   116k|#define _PY_EVAL_EVENTS_MASK ((1 << _PY_EVAL_EVENTS_BITS)-1)
  |  |  ------------------
  |  |  |  |  356|   116k|#define _PY_EVAL_EVENTS_BITS 8
  |  |  ------------------
  ------------------
   99|   116k|}
ceval_gil.c:copy_eval_breaker_bits:
   56|   116k|{
   57|   116k|    uintptr_t from_bits = _Py_atomic_load_uintptr_relaxed(from) & mask;
   58|   116k|    uintptr_t old_value = _Py_atomic_load_uintptr_relaxed(to);
   59|   116k|    uintptr_t to_bits = old_value & mask;
   60|   116k|    if (from_bits == to_bits) {
  ------------------
  |  Branch (60:9): [True: 116k, False: 0]
  ------------------
   61|   116k|        return;
   62|   116k|    }
   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|   116k|{
  219|   116k|    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|   116k|    assert(final_release || tstate != NULL);
  230|   116k|    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|   116k|    if (!_Py_atomic_load_int_relaxed(&gil->locked)) {
  ------------------
  |  Branch (239:9): [True: 0, False: 116k]
  ------------------
  240|      0|        Py_FatalError("drop_gil: GIL is not locked");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
  241|      0|    }
  242|       |
  243|   116k|    if (!final_release) {
  ------------------
  |  Branch (243:9): [True: 116k, 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|   116k|        _Py_atomic_store_ptr_relaxed(&gil->last_holder, tstate);
  248|   116k|    }
  249|       |
  250|   116k|    drop_gil_impl(tstate, gil);
  251|       |
  252|   116k|#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|   116k|    if (!final_release &&
  ------------------
  |  Branch (259:9): [True: 116k, False: 0]
  ------------------
  260|   116k|        _Py_eval_breaker_bit_is_set(tstate, _PY_GIL_DROP_REQUEST_BIT)) {
  ------------------
  |  |  346|   116k|#define _PY_GIL_DROP_REQUEST_BIT (1U << 0)
  ------------------
  |  Branch (260:9): [True: 0, False: 116k]
  ------------------
  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);
  ------------------
  |  |  346|      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|   116k|#endif
  276|   116k|}
ceval_gil.c:drop_gil_impl:
  204|   116k|{
  205|   116k|    MUTEX_LOCK(gil->mutex);
  ------------------
  |  |  117|   116k|    if (PyMUTEX_LOCK(&(mut))) { \
  |  |  ------------------
  |  |  |  |   59|   116k|#define PyMUTEX_LOCK(mut)       pthread_mutex_lock(mut)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:33): [True: 0, False: 116k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  118|   116k|        Py_FatalError("PyMUTEX_LOCK(" #mut ") failed"); };
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  ------------------
  206|   116k|    _Py_ANNOTATE_RWLOCK_RELEASED(&gil->locked, /*is_write=*/1);
  207|   116k|    _Py_atomic_store_int_relaxed(&gil->locked, 0);
  208|   116k|    if (tstate != NULL) {
  ------------------
  |  Branch (208:9): [True: 116k, False: 0]
  ------------------
  209|   116k|        tstate->holds_gil = 0;
  210|   116k|        tstate->gil_requested = 0;
  211|   116k|    }
  212|   116k|    COND_SIGNAL(gil->cond);
  ------------------
  |  |  130|   116k|    if (PyCOND_SIGNAL(&(cond))) { \
  |  |  ------------------
  |  |  |  |   64|   116k|#define PyCOND_SIGNAL(cond)     pthread_cond_signal(cond)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (64:33): [True: 0, False: 116k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  131|   116k|        Py_FatalError("PyCOND_SIGNAL(" #cond ") failed"); };
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  ------------------
  213|   116k|    MUTEX_UNLOCK(gil->mutex);
  ------------------
  |  |  120|   116k|    if (PyMUTEX_UNLOCK(&(mut))) { \
  |  |  ------------------
  |  |  |  |   60|   116k|#define PyMUTEX_UNLOCK(mut)     pthread_mutex_unlock(mut)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (60:33): [True: 0, False: 116k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  121|   116k|        Py_FatalError("PyMUTEX_UNLOCK(" #mut ") failed"); };
  |  |  ------------------
  |  |  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  |  |  ------------------
  ------------------
  214|   116k|}
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.03M|static inline int _Py_EnterRecursivePy(PyThreadState *tstate) {
  406|  6.03M|    return (tstate->py_recursion_remaining-- <= 0) &&
  ------------------
  |  Branch (406:12): [True: 0, False: 6.03M]
  ------------------
  407|      0|        _Py_CheckRecursiveCallPy(tstate);
  ------------------
  |  Branch (407:9): [True: 0, False: 0]
  ------------------
  408|  6.03M|}
ceval.c:check_periodics:
  520|  79.3M|check_periodics(PyThreadState *tstate) {
  521|  79.3M|    _Py_CHECK_EMSCRIPTEN_SIGNALS_PERIODICALLY();
  522|  79.3M|    QSBR_QUIESCENT_STATE(tstate);
  523|  79.3M|    if (_Py_atomic_load_uintptr_relaxed(&tstate->eval_breaker) & _PY_EVAL_EVENTS_MASK) {
  ------------------
  |  |  357|  79.3M|#define _PY_EVAL_EVENTS_MASK ((1 << _PY_EVAL_EVENTS_BITS)-1)
  |  |  ------------------
  |  |  |  |  356|  79.3M|#define _PY_EVAL_EVENTS_BITS 8
  |  |  ------------------
  ------------------
  |  Branch (523:9): [True: 3.04k, False: 79.3M]
  ------------------
  524|  3.04k|        return _Py_HandlePending(tstate);
  525|  3.04k|    }
  526|  79.3M|    return 0;
  527|  79.3M|}
ceval.c:gen_try_set_executing:
  533|  6.73M|{
  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|  6.73M|    if (gen->gi_frame_state < FRAME_EXECUTING) {
  ------------------
  |  Branch (551:9): [True: 6.73M, False: 0]
  ------------------
  552|  6.73M|        assert(gen->gi_frame_state != FRAME_SUSPENDED_YIELD_FROM_LOCKED);
  553|  6.73M|        gen->gi_frame_state = FRAME_EXECUTING;
  554|  6.73M|        return true;
  555|  6.73M|    }
  556|      0|    return false;
  557|  6.73M|}
ceval.c:_Py_LeaveRecursiveCallPy:
  410|  69.9M|static inline void _Py_LeaveRecursiveCallPy(PyThreadState *tstate)  {
  411|  69.9M|    tstate->py_recursion_remaining++;
  412|  69.9M|}

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), },
  ------------------
  |  |  915|     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), },
  ------------------
  |  |  915|     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|}

_warnings.c:warnings_warn:
   76|  4.30k|{
   77|  4.30k|    PyObject *return_value = NULL;
   78|  4.30k|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
   79|       |
   80|  4.30k|    #define NUM_KEYWORDS 5
   81|  4.30k|    static struct {
   82|  4.30k|        PyGC_Head _this_is_not_used;
   83|  4.30k|        PyObject_VAR_HEAD
   84|  4.30k|        Py_hash_t ob_hash;
   85|  4.30k|        PyObject *ob_item[NUM_KEYWORDS];
   86|  4.30k|    } _kwtuple = {
   87|  4.30k|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|  4.30k|    {                                     \
  |  |   98|  4.30k|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|  4.30k|    {                               \
  |  |  |  |   91|  4.30k|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|  4.30k|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  4.30k|#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.30k|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|  4.30k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|  4.30k|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|  4.30k|        (type)                      \
  |  |  |  |   93|  4.30k|    },
  |  |  ------------------
  |  |   99|  4.30k|        (size)                            \
  |  |  100|  4.30k|    },
  ------------------
   88|  4.30k|        .ob_hash = -1,
   89|  4.30k|        .ob_item = { &_Py_ID(message), &_Py_ID(category), &_Py_ID(stacklevel), &_Py_ID(source), &_Py_ID(skip_file_prefixes), },
  ------------------
  |  |  915|  4.30k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.30k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.30k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(message), &_Py_ID(category), &_Py_ID(stacklevel), &_Py_ID(source), &_Py_ID(skip_file_prefixes), },
  ------------------
  |  |  915|  4.30k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.30k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.30k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(message), &_Py_ID(category), &_Py_ID(stacklevel), &_Py_ID(source), &_Py_ID(skip_file_prefixes), },
  ------------------
  |  |  915|  4.30k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.30k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.30k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(message), &_Py_ID(category), &_Py_ID(stacklevel), &_Py_ID(source), &_Py_ID(skip_file_prefixes), },
  ------------------
  |  |  915|  4.30k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.30k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.30k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      .ob_item = { &_Py_ID(message), &_Py_ID(category), &_Py_ID(stacklevel), &_Py_ID(source), &_Py_ID(skip_file_prefixes), },
  ------------------
  |  |  915|  4.30k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  4.30k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  4.30k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   90|  4.30k|    };
   91|  4.30k|    #undef NUM_KEYWORDS
   92|  4.30k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
   93|       |
   94|       |    #else  // !Py_BUILD_CORE
   95|       |    #  define KWTUPLE NULL
   96|       |    #endif  // !Py_BUILD_CORE
   97|       |
   98|  4.30k|    static const char * const _keywords[] = {"message", "category", "stacklevel", "source", "skip_file_prefixes", NULL};
   99|  4.30k|    static _PyArg_Parser _parser = {
  100|  4.30k|        .keywords = _keywords,
  101|  4.30k|        .fname = "warn",
  102|  4.30k|        .kwtuple = KWTUPLE,
  ------------------
  |  |   92|  4.30k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  103|  4.30k|    };
  104|  4.30k|    #undef KWTUPLE
  105|  4.30k|    PyObject *argsbuf[5];
  106|  4.30k|    Py_ssize_t noptargs = nargs + (kwnames ? PyTuple_GET_SIZE(kwnames) : 0) - 1;
  ------------------
  |  |   27|  4.30k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (106:36): [True: 4.30k, False: 0]
  ------------------
  107|  4.30k|    PyObject *message;
  108|  4.30k|    PyObject *category = Py_None;
  ------------------
  |  |  616|  4.30k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  109|  4.30k|    Py_ssize_t stacklevel = 1;
  110|  4.30k|    PyObject *source = Py_None;
  ------------------
  |  |  616|  4.30k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  111|  4.30k|    PyTupleObject *skip_file_prefixes = NULL;
  112|       |
  113|  4.30k|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|  4.30k|    (((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.30k]
  |  |  ------------------
  |  |   89|  4.30k|      (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.30k|      (args) : \
  |  |   91|  4.30k|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|  4.30k|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  114|  4.30k|            /*minpos*/ 1, /*maxpos*/ 4, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  115|  4.30k|    if (!args) {
  ------------------
  |  Branch (115:9): [True: 0, False: 4.30k]
  ------------------
  116|      0|        goto exit;
  117|      0|    }
  118|  4.30k|    message = args[0];
  119|  4.30k|    if (!noptargs) {
  ------------------
  |  Branch (119:9): [True: 0, False: 4.30k]
  ------------------
  120|      0|        goto skip_optional_pos;
  121|      0|    }
  122|  4.30k|    if (args[1]) {
  ------------------
  |  Branch (122:9): [True: 0, False: 4.30k]
  ------------------
  123|      0|        category = args[1];
  124|      0|        if (!--noptargs) {
  ------------------
  |  Branch (124:13): [True: 0, False: 0]
  ------------------
  125|      0|            goto skip_optional_pos;
  126|      0|        }
  127|      0|    }
  128|  4.30k|    if (args[2]) {
  ------------------
  |  Branch (128:9): [True: 4.30k, False: 0]
  ------------------
  129|  4.30k|        {
  130|  4.30k|            Py_ssize_t ival = -1;
  131|  4.30k|            PyObject *iobj = _PyNumber_Index(args[2]);
  132|  4.30k|            if (iobj != NULL) {
  ------------------
  |  Branch (132:17): [True: 4.30k, False: 0]
  ------------------
  133|  4.30k|                ival = PyLong_AsSsize_t(iobj);
  134|  4.30k|                Py_DECREF(iobj);
  ------------------
  |  |  430|  4.30k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  135|  4.30k|            }
  136|  4.30k|            if (ival == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (136:17): [True: 0, False: 4.30k]
  |  Branch (136:31): [True: 0, False: 0]
  ------------------
  137|      0|                goto exit;
  138|      0|            }
  139|  4.30k|            stacklevel = ival;
  140|  4.30k|        }
  141|  4.30k|        if (!--noptargs) {
  ------------------
  |  Branch (141:13): [True: 4.30k, False: 0]
  ------------------
  142|  4.30k|            goto skip_optional_pos;
  143|  4.30k|        }
  144|  4.30k|    }
  145|      0|    if (args[3]) {
  ------------------
  |  Branch (145:9): [True: 0, False: 0]
  ------------------
  146|      0|        source = args[3];
  147|      0|        if (!--noptargs) {
  ------------------
  |  Branch (147:13): [True: 0, False: 0]
  ------------------
  148|      0|            goto skip_optional_pos;
  149|      0|        }
  150|      0|    }
  151|  4.30k|skip_optional_pos:
  152|  4.30k|    if (!noptargs) {
  ------------------
  |  Branch (152:9): [True: 4.30k, False: 0]
  ------------------
  153|  4.30k|        goto skip_optional_kwonly;
  154|  4.30k|    }
  155|      0|    if (!PyTuple_Check(args[4])) {
  ------------------
  |  |   27|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      0|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (155:9): [True: 0, False: 0]
  ------------------
  156|      0|        _PyArg_BadArgument("warn", "argument 'skip_file_prefixes'", "tuple", args[4]);
  157|      0|        goto exit;
  158|      0|    }
  159|      0|    skip_file_prefixes = (PyTupleObject *)args[4];
  160|  4.30k|skip_optional_kwonly:
  161|  4.30k|    return_value = warnings_warn_impl(module, message, category, stacklevel, source, skip_file_prefixes);
  162|       |
  163|  4.30k|exit:
  164|  4.30k|    return return_value;
  165|  4.30k|}
_warnings.c:warnings_filters_mutated_lock_held:
  284|  24.5k|{
  285|  24.5k|    return warnings_filters_mutated_lock_held_impl(module);
  286|  24.5k|}
_warnings.c:warnings_acquire_lock:
   25|  24.5k|{
   26|  24.5k|    return warnings_acquire_lock_impl(module);
   27|  24.5k|}
_warnings.c:warnings_release_lock:
   42|  24.5k|{
   43|  24.5k|    return warnings_release_lock_impl(module);
   44|  24.5k|}

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

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

marshal.c:marshal_dumps:
  210|     45|{
  211|     45|    PyObject *return_value = NULL;
  212|     45|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  213|       |
  214|     45|    #define NUM_KEYWORDS 1
  215|     45|    static struct {
  216|     45|        PyGC_Head _this_is_not_used;
  217|     45|        PyObject_VAR_HEAD
  218|     45|        Py_hash_t ob_hash;
  219|     45|        PyObject *ob_item[NUM_KEYWORDS];
  220|     45|    } _kwtuple = {
  221|     45|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|     45|    {                                     \
  |  |   98|     45|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|     45|    {                               \
  |  |  |  |   91|     45|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|     45|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|     45|#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|     45|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|     45|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|     45|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|     45|        (type)                      \
  |  |  |  |   93|     45|    },
  |  |  ------------------
  |  |   99|     45|        (size)                            \
  |  |  100|     45|    },
  ------------------
  222|     45|        .ob_hash = -1,
  223|     45|        .ob_item = { &_Py_ID(allow_code), },
  ------------------
  |  |  915|     45|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     45|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     45|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  224|     45|    };
  225|     45|    #undef NUM_KEYWORDS
  226|     45|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  227|       |
  228|       |    #else  // !Py_BUILD_CORE
  229|       |    #  define KWTUPLE NULL
  230|       |    #endif  // !Py_BUILD_CORE
  231|       |
  232|     45|    static const char * const _keywords[] = {"", "", "allow_code", NULL};
  233|     45|    static _PyArg_Parser _parser = {
  234|     45|        .keywords = _keywords,
  235|     45|        .fname = "dumps",
  236|     45|        .kwtuple = KWTUPLE,
  ------------------
  |  |  226|     45|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  237|     45|    };
  238|     45|    #undef KWTUPLE
  239|     45|    PyObject *argsbuf[3];
  240|     45|    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 (240:36): [True: 0, False: 45]
  ------------------
  241|     45|    PyObject *value;
  242|     45|    int version = Py_MARSHAL_VERSION;
  ------------------
  |  |    9|     45|#define Py_MARSHAL_VERSION 6
  ------------------
  243|     45|    int allow_code = 1;
  244|       |
  245|     45|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|     45|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 45, False: 0]
  |  |  ------------------
  |  |   89|     45|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 45, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 45]
  |  |  |  Branch (89:43): [True: 45, False: 0]
  |  |  |  Branch (89:67): [True: 45, False: 0]
  |  |  ------------------
  |  |   90|     45|      (args) : \
  |  |   91|     45|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  246|     45|            /*minpos*/ 1, /*maxpos*/ 2, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  247|     45|    if (!args) {
  ------------------
  |  Branch (247:9): [True: 0, False: 45]
  ------------------
  248|      0|        goto exit;
  249|      0|    }
  250|     45|    value = args[0];
  251|     45|    if (nargs < 2) {
  ------------------
  |  Branch (251:9): [True: 45, False: 0]
  ------------------
  252|     45|        goto skip_optional_posonly;
  253|     45|    }
  254|      0|    noptargs--;
  255|      0|    version = PyLong_AsInt(args[1]);
  256|      0|    if (version == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (256:9): [True: 0, False: 0]
  |  Branch (256:26): [True: 0, False: 0]
  ------------------
  257|      0|        goto exit;
  258|      0|    }
  259|     45|skip_optional_posonly:
  260|     45|    if (!noptargs) {
  ------------------
  |  Branch (260:9): [True: 45, False: 0]
  ------------------
  261|     45|        goto skip_optional_kwonly;
  262|     45|    }
  263|      0|    allow_code = PyObject_IsTrue(args[2]);
  264|      0|    if (allow_code < 0) {
  ------------------
  |  Branch (264:9): [True: 0, False: 0]
  ------------------
  265|      0|        goto exit;
  266|      0|    }
  267|     45|skip_optional_kwonly:
  268|     45|    return_value = marshal_dumps_impl(module, value, version, allow_code);
  269|       |
  270|     45|exit:
  271|     45|    return return_value;
  272|     45|}
marshal.c:marshal_loads:
  294|  3.89k|{
  295|  3.89k|    PyObject *return_value = NULL;
  296|  3.89k|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
  297|       |
  298|  3.89k|    #define NUM_KEYWORDS 1
  299|  3.89k|    static struct {
  300|  3.89k|        PyGC_Head _this_is_not_used;
  301|  3.89k|        PyObject_VAR_HEAD
  302|  3.89k|        Py_hash_t ob_hash;
  303|  3.89k|        PyObject *ob_item[NUM_KEYWORDS];
  304|  3.89k|    } _kwtuple = {
  305|  3.89k|        .ob_base = PyVarObject_HEAD_INIT(&PyTuple_Type, NUM_KEYWORDS)
  ------------------
  |  |   97|  3.89k|    {                                     \
  |  |   98|  3.89k|        PyObject_HEAD_INIT(type)          \
  |  |  ------------------
  |  |  |  |   90|  3.89k|    {                               \
  |  |  |  |   91|  3.89k|        { _Py_STATIC_IMMORTAL_INITIAL_REFCNT },    \
  |  |  |  |  ------------------
  |  |  |  |  |  |   50|  3.89k|#define _Py_STATIC_IMMORTAL_INITIAL_REFCNT (((Py_ssize_t)_Py_IMMORTAL_INITIAL_REFCNT) | (_Py_STATIC_FLAG_BITS << 48))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   47|  3.89k|#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|  3.89k|#define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  583|  3.89k|#define _Py_STATICALLY_ALLOCATED_FLAG (1 << 2)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |               #define _Py_STATIC_FLAG_BITS ((Py_ssize_t)(_Py_STATICALLY_ALLOCATED_FLAG | _Py_IMMORTAL_FLAGS))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |  581|  3.89k|#define _Py_IMMORTAL_FLAGS (1 << 0)
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   92|  3.89k|        (type)                      \
  |  |  |  |   93|  3.89k|    },
  |  |  ------------------
  |  |   99|  3.89k|        (size)                            \
  |  |  100|  3.89k|    },
  ------------------
  306|  3.89k|        .ob_hash = -1,
  307|  3.89k|        .ob_item = { &_Py_ID(allow_code), },
  ------------------
  |  |  915|  3.89k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  3.89k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  3.89k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  308|  3.89k|    };
  309|  3.89k|    #undef NUM_KEYWORDS
  310|  3.89k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  311|       |
  312|       |    #else  // !Py_BUILD_CORE
  313|       |    #  define KWTUPLE NULL
  314|       |    #endif  // !Py_BUILD_CORE
  315|       |
  316|  3.89k|    static const char * const _keywords[] = {"", "allow_code", NULL};
  317|  3.89k|    static _PyArg_Parser _parser = {
  318|  3.89k|        .keywords = _keywords,
  319|  3.89k|        .fname = "loads",
  320|  3.89k|        .kwtuple = KWTUPLE,
  ------------------
  |  |  310|  3.89k|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
  321|  3.89k|    };
  322|  3.89k|    #undef KWTUPLE
  323|  3.89k|    PyObject *argsbuf[2];
  324|  3.89k|    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: 3.89k]
  ------------------
  325|  3.89k|    Py_buffer bytes = {NULL, NULL};
  326|  3.89k|    int allow_code = 1;
  327|       |
  328|  3.89k|    args = _PyArg_UnpackKeywords(args, nargs, NULL, kwnames, &_parser,
  ------------------
  |  |   88|  3.89k|    (((minkw) == 0 && (kwargs) == NULL && (kwnames) == NULL && \
  |  |  ------------------
  |  |  |  Branch (88:7): [True: 0, Folded]
  |  |  |  Branch (88:23): [True: 0, Folded]
  |  |  |  Branch (88:43): [True: 3.89k, False: 0]
  |  |  ------------------
  |  |   89|  3.89k|      (minpos) <= (nargs) && ((varpos) || (nargs) <= (maxpos)) && (args) != NULL) ? \
  |  |  ------------------
  |  |  |  Branch (89:7): [True: 3.89k, False: 0]
  |  |  |  Branch (89:31): [Folded, False: 3.89k]
  |  |  |  Branch (89:43): [True: 3.89k, False: 0]
  |  |  |  Branch (89:67): [True: 3.89k, False: 0]
  |  |  ------------------
  |  |   90|  3.89k|      (args) : \
  |  |   91|  3.89k|     _PyArg_UnpackKeywords((args), (nargs), (kwargs), (kwnames), (parser), \
  |  |   92|      0|                           (minpos), (maxpos), (minkw), (varpos), (buf)))
  ------------------
  329|  3.89k|            /*minpos*/ 1, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
  330|  3.89k|    if (!args) {
  ------------------
  |  Branch (330:9): [True: 0, False: 3.89k]
  ------------------
  331|      0|        goto exit;
  332|      0|    }
  333|  3.89k|    if (PyObject_GetBuffer(args[0], &bytes, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|  3.89k|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (333:9): [True: 0, False: 3.89k]
  ------------------
  334|      0|        goto exit;
  335|      0|    }
  336|  3.89k|    if (!noptargs) {
  ------------------
  |  Branch (336:9): [True: 3.89k, False: 0]
  ------------------
  337|  3.89k|        goto skip_optional_kwonly;
  338|  3.89k|    }
  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|  3.89k|skip_optional_kwonly:
  344|  3.89k|    return_value = marshal_loads_impl(module, &bytes, allow_code);
  345|       |
  346|  3.89k|exit:
  347|       |    /* Cleanup for bytes */
  348|  3.89k|    if (bytes.obj) {
  ------------------
  |  Branch (348:9): [True: 3.89k, False: 0]
  ------------------
  349|  3.89k|       PyBuffer_Release(&bytes);
  350|  3.89k|    }
  351|       |
  352|  3.89k|    return return_value;
  353|  3.89k|}

sysmodule.c:sys_audit:
   83|  7.54k|{
   84|  7.54k|    PyObject *return_value = NULL;
   85|  7.54k|    const char *event;
   86|  7.54k|    PyObject *__clinic_args = NULL;
   87|       |
   88|  7.54k|    if (!_PyArg_CheckPositional("audit", nargs, 1, PY_SSIZE_T_MAX)) {
  ------------------
  |  |   31|  7.54k|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 7.54k, False: 0]
  |  |  |  Branch (31:27): [True: 7.54k, False: 0]
  |  |  ------------------
  |  |   32|  7.54k|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
   89|      0|        goto exit;
   90|      0|    }
   91|  7.54k|    if (!PyUnicode_Check(args[0])) {
  ------------------
  |  |  103|  7.54k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  7.54k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (91:9): [True: 0, False: 7.54k]
  ------------------
   92|      0|        _PyArg_BadArgument("audit", "argument 1", "str", args[0]);
   93|      0|        goto exit;
   94|      0|    }
   95|  7.54k|    Py_ssize_t event_length;
   96|  7.54k|    event = PyUnicode_AsUTF8AndSize(args[0], &event_length);
   97|  7.54k|    if (event == NULL) {
  ------------------
  |  Branch (97:9): [True: 0, False: 7.54k]
  ------------------
   98|      0|        goto exit;
   99|      0|    }
  100|  7.54k|    if (strlen(event) != (size_t)event_length) {
  ------------------
  |  Branch (100:9): [True: 0, False: 7.54k]
  ------------------
  101|      0|        PyErr_SetString(PyExc_ValueError, "embedded null character");
  102|      0|        goto exit;
  103|      0|    }
  104|  7.54k|    __clinic_args = PyTuple_FromArray(args + 1, nargs - 1);
  105|  7.54k|    if (__clinic_args == NULL) {
  ------------------
  |  Branch (105:9): [True: 0, False: 7.54k]
  ------------------
  106|      0|        goto exit;
  107|      0|    }
  108|  7.54k|    return_value = sys_audit_impl(module, event, __clinic_args);
  109|       |
  110|  7.54k|exit:
  111|       |    /* Cleanup for args */
  112|  7.54k|    Py_XDECREF(__clinic_args);
  ------------------
  |  |  524|  7.54k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.54k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.54k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  113|       |
  114|  7.54k|    return return_value;
  115|  7.54k|}
sysmodule.c:sys_getfilesystemencoding:
  288|      4|{
  289|      4|    return sys_getfilesystemencoding_impl(module);
  290|      4|}
sysmodule.c:sys_getfilesystemencodeerrors:
  306|      2|{
  307|      2|    return sys_getfilesystemencodeerrors_impl(module);
  308|      2|}
sysmodule.c:sys_getrefcount:
  984|      2|{
  985|      2|    PyObject *return_value = NULL;
  986|      2|    Py_ssize_t _return_value;
  987|       |
  988|      2|    _return_value = sys_getrefcount_impl(module, object);
  989|      2|    if ((_return_value == -1) && PyErr_Occurred()) {
  ------------------
  |  Branch (989:9): [True: 0, False: 2]
  |  Branch (989:34): [True: 0, False: 0]
  ------------------
  990|      0|        goto exit;
  991|      0|    }
  992|      2|    return_value = PyLong_FromSsize_t(_return_value);
  993|       |
  994|      2|exit:
  995|      2|    return return_value;
  996|      2|}
sysmodule.c:sys_getrecursionlimit:
  728|    558|{
  729|    558|    return sys_getrecursionlimit_impl(module);
  730|    558|}
sysmodule.c:sys__getframe:
 1150|    161|{
 1151|    161|    PyObject *return_value = NULL;
 1152|    161|    int depth = 0;
 1153|       |
 1154|    161|    if (!_PyArg_CheckPositional("_getframe", nargs, 0, 1)) {
  ------------------
  |  |   31|    161|    (((min) <= (nargs) && (nargs) <= (max)) \
  |  |  ------------------
  |  |  |  Branch (31:7): [True: 161, False: 0]
  |  |  |  Branch (31:27): [True: 161, False: 0]
  |  |  ------------------
  |  |   32|    161|     || _PyArg_CheckPositional((funcname), (nargs), (min), (max)))
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1155|      0|        goto exit;
 1156|      0|    }
 1157|    161|    if (nargs < 1) {
  ------------------
  |  Branch (1157:9): [True: 2, False: 159]
  ------------------
 1158|      2|        goto skip_optional;
 1159|      2|    }
 1160|    159|    depth = PyLong_AsInt(args[0]);
 1161|    159|    if (depth == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1161:9): [True: 0, False: 159]
  |  Branch (1161:24): [True: 0, False: 0]
  ------------------
 1162|      0|        goto exit;
 1163|      0|    }
 1164|    161|skip_optional:
 1165|    161|    return_value = sys__getframe_impl(module, depth);
 1166|       |
 1167|    161|exit:
 1168|    161|    return return_value;
 1169|    161|}
sysmodule.c:sys__getframemodulename:
 1697|     60|{
 1698|     60|    PyObject *return_value = NULL;
 1699|     60|    #if defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_MODULE)
 1700|       |
 1701|     60|    #define NUM_KEYWORDS 1
 1702|     60|    static struct {
 1703|     60|        PyGC_Head _this_is_not_used;
 1704|     60|        PyObject_VAR_HEAD
 1705|     60|        Py_hash_t ob_hash;
 1706|     60|        PyObject *ob_item[NUM_KEYWORDS];
 1707|     60|    } _kwtuple = {
 1708|     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|    },
  ------------------
 1709|     60|        .ob_hash = -1,
 1710|     60|        .ob_item = { &_Py_ID(depth), },
  ------------------
  |  |  915|     60|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     60|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     60|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1711|     60|    };
 1712|     60|    #undef NUM_KEYWORDS
 1713|     60|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
 1714|       |
 1715|       |    #else  // !Py_BUILD_CORE
 1716|       |    #  define KWTUPLE NULL
 1717|       |    #endif  // !Py_BUILD_CORE
 1718|       |
 1719|     60|    static const char * const _keywords[] = {"depth", NULL};
 1720|     60|    static _PyArg_Parser _parser = {
 1721|     60|        .keywords = _keywords,
 1722|     60|        .fname = "_getframemodulename",
 1723|     60|        .kwtuple = KWTUPLE,
  ------------------
  |  | 1713|     60|    #define KWTUPLE (&_kwtuple.ob_base.ob_base)
  ------------------
 1724|     60|    };
 1725|     60|    #undef KWTUPLE
 1726|     60|    PyObject *argsbuf[1];
 1727|     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 (1727:36): [True: 0, False: 60]
  ------------------
 1728|     60|    int depth = 0;
 1729|       |
 1730|     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)))
  ------------------
 1731|     60|            /*minpos*/ 0, /*maxpos*/ 1, /*minkw*/ 0, /*varpos*/ 0, argsbuf);
 1732|     60|    if (!args) {
  ------------------
  |  Branch (1732:9): [True: 0, False: 60]
  ------------------
 1733|      0|        goto exit;
 1734|      0|    }
 1735|     60|    if (!noptargs) {
  ------------------
  |  Branch (1735:9): [True: 0, False: 60]
  ------------------
 1736|      0|        goto skip_optional_pos;
 1737|      0|    }
 1738|     60|    depth = PyLong_AsInt(args[0]);
 1739|     60|    if (depth == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1739:9): [True: 0, False: 60]
  |  Branch (1739:24): [True: 0, False: 0]
  ------------------
 1740|      0|        goto exit;
 1741|      0|    }
 1742|     60|skip_optional_pos:
 1743|     60|    return_value = sys__getframemodulename_impl(module, depth);
 1744|       |
 1745|     60|exit:
 1746|     60|    return return_value;
 1747|     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|    318|{
  583|    318|    PyObject *return_value = NULL;
  584|    318|    int new_limit;
  585|       |
  586|    318|    new_limit = PyLong_AsInt(arg);
  587|    318|    if (new_limit == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (587:9): [True: 0, False: 318]
  |  Branch (587:28): [True: 0, False: 0]
  ------------------
  588|      0|        goto exit;
  589|      0|    }
  590|    318|    return_value = sys_setrecursionlimit_impl(module, new_limit);
  591|       |
  592|    318|exit:
  593|    318|    return return_value;
  594|    318|}
sysmodule.c:sys__get_cpu_count_config:
 1763|      2|{
 1764|      2|    PyObject *return_value = NULL;
 1765|      2|    int _return_value;
 1766|       |
 1767|      2|    _return_value = sys__get_cpu_count_config_impl(module);
 1768|      2|    if ((_return_value == -1) && PyErr_Occurred()) {
  ------------------
  |  Branch (1768:9): [True: 2, False: 0]
  |  Branch (1768:34): [True: 0, False: 2]
  ------------------
 1769|      0|        goto exit;
 1770|      0|    }
 1771|      2|    return_value = PyLong_FromLong((long)_return_value);
 1772|       |
 1773|      2|exit:
 1774|      2|    return return_value;
 1775|      2|}

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

_Py_CArray_Init:
  110|    270|_Py_CArray_Init(_Py_c_array_t* array, int item_size, int initial_num_entries) {
  111|    270|    memset(array, 0, sizeof(_Py_c_array_t));
  112|    270|    array->item_size = item_size;
  113|    270|    array->initial_num_entries = initial_num_entries;
  114|    270|    return 0;
  115|    270|}
_Py_CArray_Fini:
  119|    270|{
  120|    270|    if (array->array) {
  ------------------
  |  Branch (120:9): [True: 185, False: 85]
  ------------------
  121|    185|        PyMem_Free(array->array);
  122|    185|        array->allocated_entries = 0;
  123|    185|    }
  124|    270|}
_Py_CArray_EnsureCapacity:
  128|   338k|{
  129|   338k|    void *arr = c_array->array;
  130|   338k|    int alloc = c_array->allocated_entries;
  131|   338k|    if (arr == NULL) {
  ------------------
  |  Branch (131:9): [True: 24.1k, False: 313k]
  ------------------
  132|  24.1k|        int new_alloc = c_array->initial_num_entries;
  133|  24.1k|        if (idx >= new_alloc) {
  ------------------
  |  Branch (133:13): [True: 0, False: 24.1k]
  ------------------
  134|      0|            new_alloc = idx + c_array->initial_num_entries;
  135|      0|        }
  136|  24.1k|        arr = PyMem_Calloc(new_alloc, c_array->item_size);
  137|  24.1k|        if (arr == NULL) {
  ------------------
  |  Branch (137:13): [True: 0, False: 24.1k]
  ------------------
  138|      0|            PyErr_NoMemory();
  139|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
  140|      0|        }
  141|  24.1k|        alloc = new_alloc;
  142|  24.1k|    }
  143|   313k|    else if (idx >= alloc) {
  ------------------
  |  Branch (143:14): [True: 3.38k, False: 310k]
  ------------------
  144|  3.38k|        size_t oldsize = alloc * c_array->item_size;
  145|  3.38k|        int new_alloc = alloc << 1;
  146|  3.38k|        if (idx >= new_alloc) {
  ------------------
  |  Branch (146:13): [True: 0, False: 3.38k]
  ------------------
  147|      0|            new_alloc = idx + c_array->initial_num_entries;
  148|      0|        }
  149|  3.38k|        size_t newsize = new_alloc * c_array->item_size;
  150|       |
  151|  3.38k|        if (oldsize > (SIZE_MAX >> 1)) {
  ------------------
  |  Branch (151:13): [True: 0, False: 3.38k]
  ------------------
  152|      0|            PyErr_NoMemory();
  153|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
  154|      0|        }
  155|       |
  156|  3.38k|        assert(newsize > 0);
  157|  3.38k|        void *tmp = PyMem_Realloc(arr, newsize);
  158|  3.38k|        if (tmp == NULL) {
  ------------------
  |  Branch (158:13): [True: 0, False: 3.38k]
  ------------------
  159|      0|            PyErr_NoMemory();
  160|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
  161|      0|        }
  162|  3.38k|        alloc = new_alloc;
  163|  3.38k|        arr = tmp;
  164|  3.38k|        memset((char *)arr + oldsize, 0, newsize - oldsize);
  165|  3.38k|    }
  166|       |
  167|   338k|    c_array->array = arr;
  168|   338k|    c_array->allocated_entries = alloc;
  169|   338k|    return SUCCESS;
  ------------------
  |  |   47|   338k|#define SUCCESS 0
  ------------------
  170|   338k|}
_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|    186|{
  907|    186|    if (SYMTABLE_ENTRY(c)->ste_has_conditional_annotations) {
  ------------------
  |  |   71|    186|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  |  Branch (907:9): [True: 0, False: 186]
  ------------------
  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|    186|    return codegen_body(c, loc, stmts, is_interactive);
  912|    186|}
_PyCodegen_EnterAnonymousScope:
  961|    264|{
  962|    264|    _Py_DECLARE_STR(anon_module, "<module>");
  963|    264|    RETURN_IF_ERROR(
  ------------------
  |  |   51|    264|    do {                    \
  |  |   52|    264|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 264]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    264|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 264]
  |  |  ------------------
  ------------------
  964|    264|        codegen_enter_scope(c, &_Py_STR(anon_module), COMPILE_SCOPE_MODULE,
  965|    264|                            mod, 1, NULL, NULL));
  966|    264|    return SUCCESS;
  ------------------
  |  |   47|    264|#define SUCCESS 0
  ------------------
  967|    264|}
_PyCodegen_AddReturnAtEnd:
 6657|  2.43k|{
 6658|       |    /* Make sure every instruction stream that falls off the end returns None.
 6659|       |     * This also ensures that no jump target offsets are out of bounds.
 6660|       |     */
 6661|  2.43k|    if (addNone) {
  ------------------
  |  Branch (6661:9): [True: 2.36k, False: 78]
  ------------------
 6662|  2.36k|        ADDOP_LOAD_CONST(c, NO_LOCATION, Py_None);
  ------------------
  |  |  307|  2.36k|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|  2.36k|    do {                    \
  |  |  |  |   52|  2.36k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.36k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.36k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.36k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6663|  2.36k|    }
 6664|  2.43k|    ADDOP(c, NO_LOCATION, RETURN_VALUE);
  ------------------
  |  |  290|  2.43k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.43k|    do {                    \
  |  |  |  |   52|  2.43k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.43k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.43k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.43k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6665|  2.43k|    return SUCCESS;
  ------------------
  |  |   47|  2.43k|#define SUCCESS 0
  ------------------
 6666|  2.43k|}
codegen.c:codegen_addop_i:
  261|  73.4k|{
  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|  73.4k|    int oparg_ = Py_SAFE_DOWNCAST(oparg, Py_ssize_t, int);
  ------------------
  |  |  247|  73.4k|#  define Py_SAFE_DOWNCAST(VALUE, WIDE, NARROW) _Py_STATIC_CAST(NARROW, (VALUE))
  |  |  ------------------
  |  |  |  |   34|  73.4k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  271|       |    assert(!IS_ASSEMBLER_OPCODE(opcode));
  272|  73.4k|    return _PyInstructionSequence_Addop(seq, opcode, oparg_, loc);
  273|  73.4k|}
codegen.c:codegen_addop_o:
  329|  19.3k|{
  330|  19.3k|    Py_ssize_t arg = _PyCompile_DictAddObj(dict, o);
  331|  19.3k|    RETURN_IF_ERROR(arg);
  ------------------
  |  |   51|  19.3k|    do {                    \
  |  |   52|  19.3k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 19.3k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  19.3k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 19.3k]
  |  |  ------------------
  ------------------
  332|  19.3k|    ADDOP_I(c, loc, opcode, arg);
  ------------------
  |  |  276|  19.3k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  19.3k|    do {                    \
  |  |  |  |   52|  19.3k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 19.3k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  19.3k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 19.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  333|  19.3k|    return SUCCESS;
  ------------------
  |  |   47|  19.3k|#define SUCCESS 0
  ------------------
  334|  19.3k|}
codegen.c:codegen_body:
  916|    335|{
  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|    335|    PySTEntryObject *ste = SYMTABLE_ENTRY(c);
  ------------------
  |  |   71|    335|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  921|    335|    if ((FUTURE_FEATURES(c) & CO_FUTURE_ANNOTATIONS) && ste->ste_annotations_used) {
  ------------------
  |  |   69|    335|#define FUTURE_FEATURES(C) _PyCompile_FutureFeatures(C)
  ------------------
                  if ((FUTURE_FEATURES(c) & CO_FUTURE_ANNOTATIONS) && ste->ste_annotations_used) {
  ------------------
  |  |  143|    335|#define CO_FUTURE_ANNOTATIONS    0x1000000
  ------------------
  |  Branch (921:9): [True: 0, False: 335]
  |  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|    335|    if (!asdl_seq_LEN(stmts)) {
  ------------------
  |  |   83|    335|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    670|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 1, False: 334]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (924:9): [True: 1, False: 334]
  ------------------
  925|      1|        return SUCCESS;
  ------------------
  |  |   47|      1|#define SUCCESS 0
  ------------------
  926|      1|    }
  927|    334|    Py_ssize_t first_instr = 0;
  928|    334|    if (!is_interactive) { /* A string literal on REPL prompt is not a docstring */
  ------------------
  |  Branch (928:9): [True: 334, False: 0]
  ------------------
  929|    334|        if (ste->ste_has_docstring) {
  ------------------
  |  Branch (929:13): [True: 126, False: 208]
  ------------------
  930|    126|            PyObject *docstring = _PyAST_GetDocString(stmts);
  931|    126|            assert(docstring);
  932|    126|            first_instr = 1;
  933|       |            /* set docstring */
  934|    126|            assert(OPTIMIZATION_LEVEL(c) < 2);
  935|    126|            PyObject *cleandoc = _PyCompile_CleanDoc(docstring);
  936|    126|            if (cleandoc == NULL) {
  ------------------
  |  Branch (936:17): [True: 0, False: 126]
  ------------------
  937|      0|                return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
  938|      0|            }
  939|    126|            stmt_ty st = (stmt_ty)asdl_seq_GET(stmts, 0);
  ------------------
  |  |   82|    126|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    126|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  940|    126|            assert(st->kind == Expr_kind);
  941|    126|            location loc = LOC(st->v.Expr.value);
  ------------------
  |  |   88|    126|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    126|    (_Py_SourceLocation){ \
  |  |  |  |   55|    126|               .lineno = (n)->lineno, \
  |  |  |  |   56|    126|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    126|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    126|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  942|    126|            ADDOP_LOAD_CONST(c, loc, cleandoc);
  ------------------
  |  |  307|    126|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|    126|    do {                    \
  |  |  |  |   52|    126|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 126]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    126|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 126]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  943|    126|            Py_DECREF(cleandoc);
  ------------------
  |  |  430|    126|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    126|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    126|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  944|    126|            RETURN_IF_ERROR(codegen_nameop(c, NO_LOCATION, &_Py_ID(__doc__), Store));
  ------------------
  |  |   51|    126|    do {                    \
  |  |   52|    126|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 126]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    126|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 126]
  |  |  ------------------
  ------------------
  945|    126|        }
  946|    334|    }
  947|  2.76k|    for (Py_ssize_t i = first_instr; i < asdl_seq_LEN(stmts); i++) {
  ------------------
  |  |   83|  2.76k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  5.52k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 2.76k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (947:38): [True: 2.42k, False: 334]
  ------------------
  948|  2.42k|        VISIT(c, stmt, (stmt_ty)asdl_seq_GET(stmts, i));
  ------------------
  |  |  452|  2.42k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  2.42k|    do {                    \
  |  |  |  |   52|  2.42k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.42k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.42k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.42k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  949|  2.42k|    }
  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|    334|    if (!(FUTURE_FEATURES(c) & CO_FUTURE_ANNOTATIONS)) {
  ------------------
  |  |   69|    334|#define FUTURE_FEATURES(C) _PyCompile_FutureFeatures(C)
  ------------------
                  if (!(FUTURE_FEATURES(c) & CO_FUTURE_ANNOTATIONS)) {
  ------------------
  |  |  143|    334|#define CO_FUTURE_ANNOTATIONS    0x1000000
  ------------------
  |  Branch (953:9): [True: 334, False: 0]
  ------------------
  954|    334|        RETURN_IF_ERROR(codegen_process_deferred_annotations(c, loc));
  ------------------
  |  |   51|    334|    do {                    \
  |  |   52|    334|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 334]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    334|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 334]
  |  |  ------------------
  ------------------
  955|    334|    }
  956|    334|    return SUCCESS;
  ------------------
  |  |   47|    334|#define SUCCESS 0
  ------------------
  957|    334|}
codegen.c:codegen_nameop:
 3283|  28.6k|{
 3284|  28.6k|    assert(!_PyUnicode_EqualToASCIIString(name, "None") &&
 3285|  28.6k|           !_PyUnicode_EqualToASCIIString(name, "True") &&
 3286|  28.6k|           !_PyUnicode_EqualToASCIIString(name, "False"));
 3287|       |
 3288|  28.6k|    PyObject *mangled = _PyCompile_MaybeMangle(c, name);
 3289|  28.6k|    if (!mangled) {
  ------------------
  |  Branch (3289:9): [True: 0, False: 28.6k]
  ------------------
 3290|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 3291|      0|    }
 3292|       |
 3293|  28.6k|    int scope = _PyST_GetScope(SYMTABLE_ENTRY(c), mangled);
  ------------------
  |  |   71|  28.6k|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
 3294|  28.6k|    if (scope == -1) {
  ------------------
  |  Branch (3294:9): [True: 0, False: 28.6k]
  ------------------
 3295|      0|        goto error;
 3296|      0|    }
 3297|       |
 3298|  28.6k|    _PyCompile_optype optype;
 3299|  28.6k|    Py_ssize_t arg = 0;
 3300|  28.6k|    if (_PyCompile_ResolveNameop(c, mangled, scope, &optype, &arg) < 0) {
  ------------------
  |  Branch (3300:9): [True: 0, False: 28.6k]
  ------------------
 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|  28.6k|    assert(scope || PyUnicode_READ_CHAR(name, 0) == '_');
 3307|       |
 3308|  28.6k|    int op = 0;
 3309|  28.6k|    switch (optype) {
  ------------------
  |  Branch (3309:13): [True: 28.6k, False: 0]
  ------------------
 3310|  1.04k|    case COMPILE_OP_DEREF:
  ------------------
  |  Branch (3310:5): [True: 1.04k, False: 27.6k]
  ------------------
 3311|  1.04k|        switch (ctx) {
  ------------------
  |  Branch (3311:17): [True: 1.04k, False: 0]
  ------------------
 3312|    958|        case Load:
  ------------------
  |  Branch (3312:9): [True: 958, False: 87]
  ------------------
 3313|    958|            if (SYMTABLE_ENTRY(c)->ste_type == ClassBlock && !_PyCompile_IsInInlinedComp(c)) {
  ------------------
  |  |   71|    958|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  |  Branch (3313:17): [True: 0, False: 958]
  |  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|    958|            else if (SYMTABLE_ENTRY(c)->ste_can_see_class_scope) {
  ------------------
  |  |   71|    958|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  |  Branch (3320:22): [True: 0, False: 958]
  ------------------
 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|    958|            else {
 3328|    958|                op = LOAD_DEREF;
  ------------------
  |  |   95|    958|#define LOAD_DEREF                              82
  ------------------
 3329|    958|            }
 3330|    958|            break;
 3331|    958|        case Store: op = STORE_DEREF; break;
  ------------------
  |  |  123|     78|#define STORE_DEREF                            110
  ------------------
  |  Branch (3331:9): [True: 78, False: 967]
  ------------------
 3332|      9|        case Del: op = DELETE_DEREF; break;
  ------------------
  |  |   73|      9|#define DELETE_DEREF                            60
  ------------------
  |  Branch (3332:9): [True: 9, False: 1.03k]
  ------------------
 3333|  1.04k|        }
 3334|  1.04k|        break;
 3335|  19.2k|    case COMPILE_OP_FAST:
  ------------------
  |  Branch (3335:5): [True: 19.2k, False: 9.45k]
  ------------------
 3336|  19.2k|        switch (ctx) {
  ------------------
  |  Branch (3336:17): [True: 19.2k, False: 0]
  ------------------
 3337|  15.6k|        case Load: op = LOAD_FAST; break;
  ------------------
  |  |   96|  15.6k|#define LOAD_FAST                               83
  ------------------
  |  Branch (3337:9): [True: 15.6k, False: 3.60k]
  ------------------
 3338|  3.37k|        case Store: op = STORE_FAST; break;
  ------------------
  |  |  124|  3.37k|#define STORE_FAST                             111
  ------------------
  |  Branch (3338:9): [True: 3.37k, False: 15.8k]
  ------------------
 3339|    225|        case Del: op = DELETE_FAST; break;
  ------------------
  |  |   74|    225|#define DELETE_FAST                             61
  ------------------
  |  Branch (3339:9): [True: 225, False: 18.9k]
  ------------------
 3340|  19.2k|        }
 3341|  19.2k|        ADDOP_N(c, loc, op, mangled, varnames);
  ------------------
  |  |  337|  19.2k|    do {                                                                \
  |  |  338|  19.2k|        assert(!OPCODE_HAS_CONST(OP)); /* use ADDOP_LOAD_CONST_NEW */   \
  |  |  339|  19.2k|        int ret = codegen_addop_o((C), (LOC), (OP),                     \
  |  |  340|  19.2k|                                  METADATA(C)->u_ ## TYPE, (O));        \
  |  |  ------------------
  |  |  |  |   76|  19.2k|#define METADATA(C) _PyCompile_Metadata(C)
  |  |  ------------------
  |  |  341|  19.2k|        Py_DECREF((O));                                                 \
  |  |  ------------------
  |  |  |  |  430|  19.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  19.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  19.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  342|  19.2k|        RETURN_IF_ERROR(ret);                                           \
  |  |  ------------------
  |  |  |  |   51|  19.2k|    do {                    \
  |  |  |  |   52|  19.2k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 19.2k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  19.2k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 19.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  343|  19.2k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (343:14): [Folded, False: 19.2k]
  |  |  ------------------
  ------------------
 3342|  19.2k|        return SUCCESS;
  ------------------
  |  |   47|  19.2k|#define SUCCESS 0
  ------------------
 3343|  4.32k|    case COMPILE_OP_GLOBAL:
  ------------------
  |  Branch (3343:5): [True: 4.32k, False: 24.3k]
  ------------------
 3344|  4.32k|        switch (ctx) {
  ------------------
  |  Branch (3344:17): [True: 4.32k, False: 0]
  ------------------
 3345|  4.31k|        case Load:
  ------------------
  |  Branch (3345:9): [True: 4.31k, False: 13]
  ------------------
 3346|  4.31k|            if (SYMTABLE_ENTRY(c)->ste_can_see_class_scope && scope == GLOBAL_IMPLICIT) {
  ------------------
  |  |   71|  4.31k|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
                          if (SYMTABLE_ENTRY(c)->ste_can_see_class_scope && scope == GLOBAL_IMPLICIT) {
  ------------------
  |  |  189|     22|#define GLOBAL_IMPLICIT 3
  ------------------
  |  Branch (3346:17): [True: 22, False: 4.28k]
  |  Branch (3346:63): [True: 22, False: 0]
  ------------------
 3347|     22|                op = LOAD_FROM_DICT_OR_GLOBALS;
  ------------------
  |  |  103|     22|#define LOAD_FROM_DICT_OR_GLOBALS               90
  ------------------
 3348|       |                // First load the classdict
 3349|     22|                if (codegen_load_classdict_freevar(c, loc) < 0) {
  ------------------
  |  Branch (3349:21): [True: 0, False: 22]
  ------------------
 3350|      0|                    goto error;
 3351|      0|                }
 3352|  4.28k|            } else {
 3353|  4.28k|                op = LOAD_GLOBAL;
  ------------------
  |  |  104|  4.28k|#define LOAD_GLOBAL                             91
  ------------------
 3354|  4.28k|            }
 3355|  4.31k|            break;
 3356|  4.31k|        case Store: op = STORE_GLOBAL; break;
  ------------------
  |  |  127|     13|#define STORE_GLOBAL                           114
  ------------------
  |  Branch (3356:9): [True: 13, False: 4.31k]
  ------------------
 3357|      0|        case Del: op = DELETE_GLOBAL; break;
  ------------------
  |  |   75|      0|#define DELETE_GLOBAL                           62
  ------------------
  |  Branch (3357:9): [True: 0, False: 4.32k]
  ------------------
 3358|  4.32k|        }
 3359|  4.32k|        break;
 3360|  4.32k|    case COMPILE_OP_NAME:
  ------------------
  |  Branch (3360:5): [True: 4.08k, False: 24.5k]
  ------------------
 3361|  4.08k|        switch (ctx) {
  ------------------
  |  Branch (3361:17): [True: 4.08k, False: 0]
  ------------------
 3362|    758|        case Load:
  ------------------
  |  Branch (3362:9): [True: 758, False: 3.32k]
  ------------------
 3363|    758|            op = (SYMTABLE_ENTRY(c)->ste_type == ClassBlock
  ------------------
  |  |   71|    758|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  |  Branch (3363:19): [True: 357, False: 401]
  ------------------
 3364|    357|                    && _PyCompile_IsInInlinedComp(c))
  ------------------
  |  Branch (3364:24): [True: 0, False: 357]
  ------------------
 3365|    758|                ? LOAD_GLOBAL
  ------------------
  |  |  104|      0|#define LOAD_GLOBAL                             91
  ------------------
 3366|    758|                : LOAD_NAME;
  ------------------
  |  |  105|  1.51k|#define LOAD_NAME                               92
  ------------------
 3367|    758|            break;
 3368|  3.32k|        case Store: op = STORE_NAME; break;
  ------------------
  |  |  128|  3.32k|#define STORE_NAME                             115
  ------------------
  |  Branch (3368:9): [True: 3.32k, False: 759]
  ------------------
 3369|      1|        case Del: op = DELETE_NAME; break;
  ------------------
  |  |   76|      1|#define DELETE_NAME                             63
  ------------------
  |  Branch (3369:9): [True: 1, False: 4.08k]
  ------------------
 3370|  4.08k|        }
 3371|  4.08k|        break;
 3372|  28.6k|    }
 3373|       |
 3374|  28.6k|    assert(op);
 3375|  9.45k|    Py_DECREF(mangled);
  ------------------
  |  |  430|  9.45k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.45k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.45k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3376|  9.45k|    if (op == LOAD_GLOBAL) {
  ------------------
  |  |  104|  9.45k|#define LOAD_GLOBAL                             91
  ------------------
  |  Branch (3376:9): [True: 4.28k, False: 5.16k]
  ------------------
 3377|  4.28k|        arg <<= 1;
 3378|  4.28k|    }
 3379|  9.45k|    ADDOP_I(c, loc, op, arg);
  ------------------
  |  |  276|  9.45k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  9.45k|    do {                    \
  |  |  |  |   52|  9.45k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 9.45k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  9.45k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 9.45k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3380|  9.45k|    return SUCCESS;
  ------------------
  |  |   47|  9.45k|#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|  9.45k|}
codegen.c:codegen_load_classdict_freevar:
 3275|     22|{
 3276|     22|    ADDOP_N(c, loc, LOAD_DEREF, &_Py_ID(__classdict__), freevars);
  ------------------
  |  |  337|     22|    do {                                                                \
  |  |  338|     22|        assert(!OPCODE_HAS_CONST(OP)); /* use ADDOP_LOAD_CONST_NEW */   \
  |  |  339|     22|        int ret = codegen_addop_o((C), (LOC), (OP),                     \
  |  |  340|     22|                                  METADATA(C)->u_ ## TYPE, (O));        \
  |  |  ------------------
  |  |  |  |   76|     22|#define METADATA(C) _PyCompile_Metadata(C)
  |  |  ------------------
  |  |  341|     22|        Py_DECREF((O));                                                 \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  342|     22|        RETURN_IF_ERROR(ret);                                           \
  |  |  ------------------
  |  |  |  |   51|     22|    do {                    \
  |  |  |  |   52|     22|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 22]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     22|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 22]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  343|     22|    } while (0)
  |  |  ------------------
  |  |  |  Branch (343:14): [Folded, False: 22]
  |  |  ------------------
  ------------------
 3277|     22|    return SUCCESS;
  ------------------
  |  |   47|     22|#define SUCCESS 0
  ------------------
 3278|     22|}
codegen.c:codegen_visit_stmt:
 3087|  13.5k|{
 3088|       |
 3089|  13.5k|    switch (s->kind) {
  ------------------
  |  Branch (3089:13): [True: 13.5k, False: 0]
  ------------------
 3090|  1.72k|    case FunctionDef_kind:
  ------------------
  |  Branch (3090:5): [True: 1.72k, False: 11.8k]
  ------------------
 3091|  1.72k|        return codegen_function(c, s, 0);
 3092|    149|    case ClassDef_kind:
  ------------------
  |  Branch (3092:5): [True: 149, False: 13.4k]
  ------------------
 3093|    149|        return codegen_class(c, s);
 3094|      0|    case TypeAlias_kind:
  ------------------
  |  Branch (3094:5): [True: 0, False: 13.5k]
  ------------------
 3095|      0|        return codegen_typealias(c, s);
 3096|  1.49k|    case Return_kind:
  ------------------
  |  Branch (3096:5): [True: 1.49k, False: 12.0k]
  ------------------
 3097|  1.49k|        return codegen_return(c, s);
 3098|     50|    case Delete_kind:
  ------------------
  |  Branch (3098:5): [True: 50, False: 13.5k]
  ------------------
 3099|     50|        VISIT_SEQ(c, expr, s->v.Delete.targets);
  ------------------
  |  |  458|     50|    do {                                                                    \
  |  |  459|     50|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  460|    109|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|    109|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    218|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 109]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (460:26): [True: 59, False: 50]
  |  |  ------------------
  |  |  461|     59|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|     59|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     59|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  462|     59|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|     59|    do {                    \
  |  |  |  |   52|     59|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 59]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     59|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 59]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|     59|        }                                                                   \
  |  |  464|     50|    } while (0)
  |  |  ------------------
  |  |  |  Branch (464:14): [Folded, False: 50]
  |  |  ------------------
  ------------------
 3100|     50|        break;
 3101|  3.53k|    case Assign_kind:
  ------------------
  |  Branch (3101:5): [True: 3.53k, False: 10.0k]
  ------------------
 3102|  3.53k|    {
 3103|  3.53k|        Py_ssize_t n = asdl_seq_LEN(s->v.Assign.targets);
  ------------------
  |  |   83|  3.53k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  7.06k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 3.53k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3104|  3.53k|        VISIT(c, expr, s->v.Assign.value);
  ------------------
  |  |  452|  3.53k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  3.53k|    do {                    \
  |  |  |  |   52|  3.53k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3.53k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  3.53k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3.53k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3105|  7.10k|        for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (3105:32): [True: 3.57k, False: 3.53k]
  ------------------
 3106|  3.57k|            if (i < n - 1) {
  ------------------
  |  Branch (3106:17): [True: 37, False: 3.53k]
  ------------------
 3107|     37|                ADDOP_I(c, LOC(s), COPY, 1);
  ------------------
  |  |  276|     37|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     37|    do {                    \
  |  |  |  |   52|     37|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 37]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     37|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 37]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3108|     37|            }
 3109|  3.57k|            VISIT(c, expr,
  ------------------
  |  |  452|  3.57k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  3.57k|    do {                    \
  |  |  |  |   52|  3.57k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3.57k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  3.57k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3.57k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3110|  3.57k|                  (expr_ty)asdl_seq_GET(s->v.Assign.targets, i));
 3111|  3.57k|        }
 3112|  3.53k|        break;
 3113|  3.53k|    }
 3114|  3.53k|    case AugAssign_kind:
  ------------------
  |  Branch (3114:5): [True: 176, False: 13.4k]
  ------------------
 3115|    176|        return codegen_augassign(c, s);
 3116|     10|    case AnnAssign_kind:
  ------------------
  |  Branch (3116:5): [True: 10, False: 13.5k]
  ------------------
 3117|     10|        return codegen_annassign(c, s);
 3118|    197|    case For_kind:
  ------------------
  |  Branch (3118:5): [True: 197, False: 13.3k]
  ------------------
 3119|    197|        CODEGEN_COND_BLOCK(codegen_for, c, s);
  ------------------
  |  | 3078|    197|    do { \
  |  | 3079|    197|        _PyCompile_EnterConditionalBlock((C)); \
  |  | 3080|    197|        int result = FUNC((C), (S)); \
  |  | 3081|    197|        _PyCompile_LeaveConditionalBlock((C)); \
  |  | 3082|    197|        return result; \
  |  | 3083|    197|    } while(0)
  |  |  ------------------
  |  |  |  Branch (3083:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3120|      0|        break;
 3121|     76|    case While_kind:
  ------------------
  |  Branch (3121:5): [True: 76, False: 13.5k]
  ------------------
 3122|     76|        CODEGEN_COND_BLOCK(codegen_while, c, s);
  ------------------
  |  | 3078|     76|    do { \
  |  | 3079|     76|        _PyCompile_EnterConditionalBlock((C)); \
  |  | 3080|     76|        int result = FUNC((C), (S)); \
  |  | 3081|     76|        _PyCompile_LeaveConditionalBlock((C)); \
  |  | 3082|     76|        return result; \
  |  | 3083|     76|    } while(0)
  |  |  ------------------
  |  |  |  Branch (3083:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3123|      0|        break;
 3124|  2.24k|    case If_kind:
  ------------------
  |  Branch (3124:5): [True: 2.24k, False: 11.3k]
  ------------------
 3125|  2.24k|        CODEGEN_COND_BLOCK(codegen_if, c, s);
  ------------------
  |  | 3078|  2.24k|    do { \
  |  | 3079|  2.24k|        _PyCompile_EnterConditionalBlock((C)); \
  |  | 3080|  2.24k|        int result = FUNC((C), (S)); \
  |  | 3081|  2.24k|        _PyCompile_LeaveConditionalBlock((C)); \
  |  | 3082|  2.24k|        return result; \
  |  | 3083|  2.24k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (3083:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3126|      0|        break;
 3127|      1|    case Match_kind:
  ------------------
  |  Branch (3127:5): [True: 1, False: 13.5k]
  ------------------
 3128|      1|        CODEGEN_COND_BLOCK(codegen_match, c, s);
  ------------------
  |  | 3078|      1|    do { \
  |  | 3079|      1|        _PyCompile_EnterConditionalBlock((C)); \
  |  | 3080|      1|        int result = FUNC((C), (S)); \
  |  | 3081|      1|        _PyCompile_LeaveConditionalBlock((C)); \
  |  | 3082|      1|        return result; \
  |  | 3083|      1|    } while(0)
  |  |  ------------------
  |  |  |  Branch (3083:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3129|      0|        break;
 3130|    609|    case Raise_kind:
  ------------------
  |  Branch (3130:5): [True: 609, False: 12.9k]
  ------------------
 3131|    609|    {
 3132|    609|        Py_ssize_t n = 0;
 3133|    609|        if (s->v.Raise.exc) {
  ------------------
  |  Branch (3133:13): [True: 525, False: 84]
  ------------------
 3134|    525|            VISIT(c, expr, s->v.Raise.exc);
  ------------------
  |  |  452|    525|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    525|    do {                    \
  |  |  |  |   52|    525|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 525]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    525|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 525]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3135|    525|            n++;
 3136|    525|            if (s->v.Raise.cause) {
  ------------------
  |  Branch (3136:17): [True: 20, False: 505]
  ------------------
 3137|     20|                VISIT(c, expr, s->v.Raise.cause);
  ------------------
  |  |  452|     20|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|     20|    do {                    \
  |  |  |  |   52|     20|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 20]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     20|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 20]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3138|     20|                n++;
 3139|     20|            }
 3140|    525|        }
 3141|    609|        ADDOP_I(c, LOC(s), RAISE_VARARGS, (int)n);
  ------------------
  |  |  276|    609|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    609|    do {                    \
  |  |  |  |   52|    609|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 609]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    609|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 609]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3142|    609|        break;
 3143|    609|    }
 3144|    609|    case Try_kind:
  ------------------
  |  Branch (3144:5): [True: 308, False: 13.2k]
  ------------------
 3145|    308|        CODEGEN_COND_BLOCK(codegen_try, c, s);
  ------------------
  |  | 3078|    308|    do { \
  |  | 3079|    308|        _PyCompile_EnterConditionalBlock((C)); \
  |  | 3080|    308|        int result = FUNC((C), (S)); \
  |  | 3081|    308|        _PyCompile_LeaveConditionalBlock((C)); \
  |  | 3082|    308|        return result; \
  |  | 3083|    308|    } while(0)
  |  |  ------------------
  |  |  |  Branch (3083:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3146|      0|        break;
 3147|      0|    case TryStar_kind:
  ------------------
  |  Branch (3147:5): [True: 0, False: 13.5k]
  ------------------
 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|     50|    case Assert_kind:
  ------------------
  |  Branch (3150:5): [True: 50, False: 13.5k]
  ------------------
 3151|     50|        return codegen_assert(c, s);
 3152|    185|    case Import_kind:
  ------------------
  |  Branch (3152:5): [True: 185, False: 13.4k]
  ------------------
 3153|    185|        return codegen_import(c, s);
 3154|    262|    case ImportFrom_kind:
  ------------------
  |  Branch (3154:5): [True: 262, False: 13.3k]
  ------------------
 3155|    262|        return codegen_from_import(c, s);
 3156|      8|    case Global_kind:
  ------------------
  |  Branch (3156:5): [True: 8, False: 13.5k]
  ------------------
 3157|     11|    case Nonlocal_kind:
  ------------------
  |  Branch (3157:5): [True: 3, False: 13.5k]
  ------------------
 3158|     11|        break;
 3159|  2.17k|    case Expr_kind:
  ------------------
  |  Branch (3159:5): [True: 2.17k, False: 11.4k]
  ------------------
 3160|  2.17k|    {
 3161|  2.17k|        return codegen_stmt_expr(c, LOC(s), s->v.Expr.value);
  ------------------
  |  |   88|  2.17k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  2.17k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  2.17k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  2.17k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  2.17k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  2.17k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 3162|      8|    }
 3163|     65|    case Pass_kind:
  ------------------
  |  Branch (3163:5): [True: 65, False: 13.5k]
  ------------------
 3164|     65|    {
 3165|     65|        ADDOP(c, LOC(s), NOP);
  ------------------
  |  |  290|     65|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     65|    do {                    \
  |  |  |  |   52|     65|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 65]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     65|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 65]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3166|     65|        break;
 3167|     65|    }
 3168|     65|    case Break_kind:
  ------------------
  |  Branch (3168:5): [True: 40, False: 13.5k]
  ------------------
 3169|     40|    {
 3170|     40|        return codegen_break(c, LOC(s));
  ------------------
  |  |   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 }
  |  |  ------------------
  ------------------
 3171|     65|    }
 3172|     43|    case Continue_kind:
  ------------------
  |  Branch (3172:5): [True: 43, False: 13.5k]
  ------------------
 3173|     43|    {
 3174|     43|        return codegen_continue(c, LOC(s));
  ------------------
  |  |   88|     43|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|     43|    (_Py_SourceLocation){ \
  |  |  |  |   55|     43|               .lineno = (n)->lineno, \
  |  |  |  |   56|     43|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|     43|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|     43|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 3175|     65|    }
 3176|     47|    case With_kind:
  ------------------
  |  Branch (3176:5): [True: 47, False: 13.5k]
  ------------------
 3177|     47|        CODEGEN_COND_BLOCK(codegen_with, c, s);
  ------------------
  |  | 3078|     47|    do { \
  |  | 3079|     47|        _PyCompile_EnterConditionalBlock((C)); \
  |  | 3080|     47|        int result = FUNC((C), (S)); \
  |  | 3081|     47|        _PyCompile_LeaveConditionalBlock((C)); \
  |  | 3082|     47|        return result; \
  |  | 3083|     47|    } while(0)
  |  |  ------------------
  |  |  |  Branch (3083:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3178|      0|        break;
 3179|    135|    case AsyncFunctionDef_kind:
  ------------------
  |  Branch (3179:5): [True: 135, False: 13.4k]
  ------------------
 3180|    135|        return codegen_function(c, s, 1);
 3181|      5|    case AsyncWith_kind:
  ------------------
  |  Branch (3181:5): [True: 5, False: 13.5k]
  ------------------
 3182|      5|        CODEGEN_COND_BLOCK(codegen_async_with, c, s);
  ------------------
  |  | 3078|      5|    do { \
  |  | 3079|      5|        _PyCompile_EnterConditionalBlock((C)); \
  |  | 3080|      5|        int result = FUNC((C), (S)); \
  |  | 3081|      5|        _PyCompile_LeaveConditionalBlock((C)); \
  |  | 3082|      5|        return result; \
  |  | 3083|      5|    } while(0)
  |  |  ------------------
  |  |  |  Branch (3083:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3183|      0|        break;
 3184|      0|    case AsyncFor_kind:
  ------------------
  |  Branch (3184:5): [True: 0, False: 13.5k]
  ------------------
 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|  13.5k|    }
 3188|       |
 3189|  4.26k|    return SUCCESS;
  ------------------
  |  |   47|  4.26k|#define SUCCESS 0
  ------------------
 3190|  13.5k|}
codegen.c:codegen_function:
 1447|  1.86k|{
 1448|  1.86k|    arguments_ty args;
 1449|  1.86k|    expr_ty returns;
 1450|  1.86k|    identifier name;
 1451|  1.86k|    asdl_expr_seq *decos;
 1452|  1.86k|    asdl_type_param_seq *type_params;
 1453|  1.86k|    Py_ssize_t funcflags;
 1454|  1.86k|    int firstlineno;
 1455|       |
 1456|  1.86k|    if (is_async) {
  ------------------
  |  Branch (1456:9): [True: 135, False: 1.72k]
  ------------------
 1457|    135|        assert(s->kind == AsyncFunctionDef_kind);
 1458|       |
 1459|    135|        args = s->v.AsyncFunctionDef.args;
 1460|    135|        returns = s->v.AsyncFunctionDef.returns;
 1461|    135|        decos = s->v.AsyncFunctionDef.decorator_list;
 1462|    135|        name = s->v.AsyncFunctionDef.name;
 1463|    135|        type_params = s->v.AsyncFunctionDef.type_params;
 1464|  1.72k|    } else {
 1465|  1.72k|        assert(s->kind == FunctionDef_kind);
 1466|       |
 1467|  1.72k|        args = s->v.FunctionDef.args;
 1468|  1.72k|        returns = s->v.FunctionDef.returns;
 1469|  1.72k|        decos = s->v.FunctionDef.decorator_list;
 1470|  1.72k|        name = s->v.FunctionDef.name;
 1471|  1.72k|        type_params = s->v.FunctionDef.type_params;
 1472|  1.72k|    }
 1473|       |
 1474|  1.86k|    RETURN_IF_ERROR(codegen_decorators(c, decos));
  ------------------
  |  |   51|  1.86k|    do {                    \
  |  |   52|  1.86k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 1.86k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  1.86k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 1.86k]
  |  |  ------------------
  ------------------
 1475|       |
 1476|  1.86k|    firstlineno = s->lineno;
 1477|  1.86k|    if (asdl_seq_LEN(decos)) {
  ------------------
  |  |   83|  1.86k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  3.72k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:26): [True: 91, False: 1.77k]
  |  |  |  |  |  Branch (277:37): [True: 1.77k, False: 91]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1478|     91|        firstlineno = ((expr_ty)asdl_seq_GET(decos, 0))->lineno;
  ------------------
  |  |   82|     91|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|     91|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1479|     91|    }
 1480|       |
 1481|  1.86k|    location loc = LOC(s);
  ------------------
  |  |   88|  1.86k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  1.86k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  1.86k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  1.86k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  1.86k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  1.86k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 1482|       |
 1483|  1.86k|    int is_generic = asdl_seq_LEN(type_params) > 0;
  ------------------
  |  |   83|  1.86k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  3.72k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 1.86k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1484|       |
 1485|  1.86k|    funcflags = codegen_default_arguments(c, loc, args);
 1486|  1.86k|    RETURN_IF_ERROR(funcflags);
  ------------------
  |  |   51|  1.86k|    do {                    \
  |  |   52|  1.86k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 1.86k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  1.86k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 1.86k]
  |  |  ------------------
  ------------------
 1487|       |
 1488|  1.86k|    int num_typeparam_args = 0;
 1489|       |
 1490|  1.86k|    if (is_generic) {
  ------------------
  |  Branch (1490:9): [True: 0, False: 1.86k]
  ------------------
 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|  1.86k|    int annotations_flag = codegen_function_annotations(c, loc, args, returns);
 1518|  1.86k|    if (annotations_flag < 0) {
  ------------------
  |  Branch (1518:9): [True: 0, False: 1.86k]
  ------------------
 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|  1.86k|    funcflags |= annotations_flag;
 1525|       |
 1526|  1.86k|    int ret = codegen_function_body(c, s, is_async, funcflags, firstlineno);
 1527|  1.86k|    if (is_generic) {
  ------------------
  |  Branch (1527:9): [True: 0, False: 1.86k]
  ------------------
 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|  1.86k|    else {
 1531|  1.86k|        RETURN_IF_ERROR(ret);
  ------------------
  |  |   51|  1.86k|    do {                    \
  |  |   52|  1.86k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 1.86k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  1.86k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 1.86k]
  |  |  ------------------
  ------------------
 1532|  1.86k|    }
 1533|       |
 1534|  1.86k|    if (is_generic) {
  ------------------
  |  Branch (1534:9): [True: 0, False: 1.86k]
  ------------------
 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|  1.86k|    RETURN_IF_ERROR(codegen_apply_decorators(c, decos));
  ------------------
  |  |   51|  1.86k|    do {                    \
  |  |   52|  1.86k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 1.86k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  1.86k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 1.86k]
  |  |  ------------------
  ------------------
 1557|  1.86k|    return codegen_nameop(c, loc, name, Store);
 1558|  1.86k|}
codegen.c:codegen_decorators:
 1011|  2.01k|{
 1012|  2.01k|    if (!decos) {
  ------------------
  |  Branch (1012:9): [True: 1.91k, False: 93]
  ------------------
 1013|  1.91k|        return SUCCESS;
  ------------------
  |  |   47|  1.91k|#define SUCCESS 0
  ------------------
 1014|  1.91k|    }
 1015|       |
 1016|    186|    for (Py_ssize_t i = 0; i < asdl_seq_LEN(decos); i++) {
  ------------------
  |  |   83|    186|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    372|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 186]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1016:28): [True: 93, False: 93]
  ------------------
 1017|     93|        VISIT(c, expr, (expr_ty)asdl_seq_GET(decos, i));
  ------------------
  |  |  452|     93|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1018|     93|    }
 1019|     93|    return SUCCESS;
  ------------------
  |  |   47|     93|#define SUCCESS 0
  ------------------
 1020|     93|}
codegen.c:codegen_default_arguments:
 1204|  1.94k|{
 1205|  1.94k|    Py_ssize_t funcflags = 0;
 1206|  1.94k|    if (args->defaults && asdl_seq_LEN(args->defaults) > 0) {
  ------------------
  |  |   83|  1.94k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  3.89k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 1.94k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1206:9): [True: 1.94k, False: 0]
  |  Branch (1206:27): [True: 263, False: 1.68k]
  ------------------
 1207|    263|        RETURN_IF_ERROR(codegen_defaults(c, args, loc));
  ------------------
  |  |   51|    263|    do {                    \
  |  |   52|    263|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 263]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    263|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 263]
  |  |  ------------------
  ------------------
 1208|    263|        funcflags |= MAKE_FUNCTION_DEFAULTS;
  ------------------
  |  |   64|    263|#define MAKE_FUNCTION_DEFAULTS    0x01
  ------------------
 1209|    263|    }
 1210|  1.94k|    if (args->kwonlyargs) {
  ------------------
  |  Branch (1210:9): [True: 1.94k, False: 0]
  ------------------
 1211|  1.94k|        int res = codegen_kwonlydefaults(c, loc,
 1212|  1.94k|                                         args->kwonlyargs,
 1213|  1.94k|                                         args->kw_defaults);
 1214|  1.94k|        RETURN_IF_ERROR(res);
  ------------------
  |  |   51|  1.94k|    do {                    \
  |  |   52|  1.94k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 1.94k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  1.94k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 1.94k]
  |  |  ------------------
  ------------------
 1215|  1.94k|        if (res > 0) {
  ------------------
  |  Branch (1215:13): [True: 137, False: 1.81k]
  ------------------
 1216|    137|            funcflags |= MAKE_FUNCTION_KWDEFAULTS;
  ------------------
  |  |   65|    137|#define MAKE_FUNCTION_KWDEFAULTS  0x02
  ------------------
 1217|    137|        }
 1218|  1.94k|    }
 1219|  1.94k|    return funcflags;
 1220|  1.94k|}
codegen.c:codegen_defaults:
 1195|    263|{
 1196|    263|    VISIT_SEQ(c, expr, args->defaults);
  ------------------
  |  |  458|    263|    do {                                                                    \
  |  |  459|    263|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  460|    772|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|    772|#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: 772]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (460:26): [True: 509, False: 263]
  |  |  ------------------
  |  |  461|    509|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|    509|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    509|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  462|    509|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|    509|    do {                    \
  |  |  |  |   52|    509|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 509]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    509|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 509]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|    509|        }                                                                   \
  |  |  464|    263|    } while (0)
  |  |  ------------------
  |  |  |  Branch (464:14): [Folded, False: 263]
  |  |  ------------------
  ------------------
 1197|    263|    ADDOP_I(c, loc, BUILD_TUPLE, asdl_seq_LEN(args->defaults));
  ------------------
  |  |  276|    263|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    263|    do {                    \
  |  |  |  |   52|    526|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 263]
  |  |  |  |  |  Branch (52:14): [True: 0, False: 263]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    263|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 263]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1198|    263|    return SUCCESS;
  ------------------
  |  |   47|    263|#define SUCCESS 0
  ------------------
 1199|    263|}
codegen.c:codegen_kwonlydefaults:
 1039|  1.94k|{
 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|  1.94k|    int default_count = 0;
 1045|  2.32k|    for (int i = 0; i < asdl_seq_LEN(kwonlyargs); i++) {
  ------------------
  |  |   83|  2.32k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  4.65k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 2.32k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1045:21): [True: 377, False: 1.94k]
  ------------------
 1046|    377|        arg_ty arg = asdl_seq_GET(kwonlyargs, i);
  ------------------
  |  |   82|    377|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    377|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1047|    377|        expr_ty default_ = asdl_seq_GET(kw_defaults, i);
  ------------------
  |  |   82|    377|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    377|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1048|    377|        if (default_) {
  ------------------
  |  Branch (1048:13): [True: 373, False: 4]
  ------------------
 1049|    373|            default_count++;
 1050|    373|            PyObject *mangled = _PyCompile_MaybeMangle(c, arg->arg);
 1051|    373|            if (!mangled) {
  ------------------
  |  Branch (1051:17): [True: 0, False: 373]
  ------------------
 1052|      0|                return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 1053|      0|            }
 1054|    373|            ADDOP_LOAD_CONST_NEW(c, loc, mangled);
  ------------------
  |  |  314|    373|    do {                                                                \
  |  |  315|    373|        PyObject *__new_const = (O);                                    \
  |  |  316|    373|        if (__new_const == NULL) {                                      \
  |  |  ------------------
  |  |  |  Branch (316:13): [True: 0, False: 373]
  |  |  ------------------
  |  |  317|      0|            return ERROR;                                               \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |  318|      0|        }                                                               \
  |  |  319|    373|        if (codegen_addop_load_const((C), (LOC), __new_const) < 0) {    \
  |  |  ------------------
  |  |  |  Branch (319:13): [True: 0, False: 373]
  |  |  ------------------
  |  |  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|    373|        Py_DECREF(__new_const);                                         \
  |  |  ------------------
  |  |  |  |  430|    373|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    373|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    373|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  324|    373|    } while (0)
  |  |  ------------------
  |  |  |  Branch (324:14): [Folded, False: 373]
  |  |  ------------------
  ------------------
 1055|    373|            VISIT(c, expr, default_);
  ------------------
  |  |  452|    373|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    373|    do {                    \
  |  |  |  |   52|    373|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 373]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    373|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 373]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1056|    373|        }
 1057|    377|    }
 1058|  1.94k|    if (default_count) {
  ------------------
  |  Branch (1058:9): [True: 137, False: 1.81k]
  ------------------
 1059|    137|        ADDOP_I(c, loc, BUILD_MAP, default_count);
  ------------------
  |  |  276|    137|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    137|    do {                    \
  |  |  |  |   52|    137|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 137]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    137|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 137]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1060|    137|        return 1;
 1061|    137|    }
 1062|  1.81k|    else {
 1063|  1.81k|        return 0;
 1064|  1.81k|    }
 1065|  1.94k|}
codegen.c:codegen_setup_annotations_scope:
  708|     32|{
  709|     32|    _PyCompile_CodeUnitMetadata umd = {
  710|     32|        .u_posonlyargcount = 1,
  711|     32|    };
  712|     32|    RETURN_IF_ERROR(
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
  713|     32|        codegen_enter_scope(c, name, COMPILE_SCOPE_ANNOTATIONS,
  714|     32|                            key, loc.lineno, NULL, &umd));
  715|       |
  716|       |    // if .format > VALUE_WITH_FAKE_GLOBALS: raise NotImplementedError
  717|     32|    PyObject *value_with_fake_globals = PyLong_FromLong(_Py_ANNOTATE_FORMAT_VALUE_WITH_FAKE_GLOBALS);
  718|     32|    if (value_with_fake_globals == NULL) {
  ------------------
  |  Branch (718:9): [True: 0, False: 32]
  ------------------
  719|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
  720|      0|    }
  721|       |
  722|     32|    assert(!SYMTABLE_ENTRY(c)->ste_has_docstring);
  723|     32|    _Py_DECLARE_STR(format, ".format");
  724|     32|    ADDOP_I(c, loc, LOAD_FAST, 0);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  725|     32|    ADDOP_LOAD_CONST_NEW(c, loc, value_with_fake_globals);
  ------------------
  |  |  314|     32|    do {                                                                \
  |  |  315|     32|        PyObject *__new_const = (O);                                    \
  |  |  316|     32|        if (__new_const == NULL) {                                      \
  |  |  ------------------
  |  |  |  Branch (316:13): [True: 0, False: 32]
  |  |  ------------------
  |  |  317|      0|            return ERROR;                                               \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |  318|      0|        }                                                               \
  |  |  319|     32|        if (codegen_addop_load_const((C), (LOC), __new_const) < 0) {    \
  |  |  ------------------
  |  |  |  Branch (319:13): [True: 0, False: 32]
  |  |  ------------------
  |  |  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|     32|        Py_DECREF(__new_const);                                         \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  324|     32|    } while (0)
  |  |  ------------------
  |  |  |  Branch (324:14): [Folded, False: 32]
  |  |  ------------------
  ------------------
  726|     32|    ADDOP_I(c, loc, COMPARE_OP, (Py_GT << 5) | compare_masks[Py_GT]);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  727|     32|    NEW_JUMP_TARGET_LABEL(c, body);
  ------------------
  |  |   91|     32|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|     32|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|     32|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|     32|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|     32|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 32]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
  728|     32|    ADDOP_JUMP(c, loc, POP_JUMP_IF_FALSE, body);
  ------------------
  |  |  427|     32|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  729|     32|    ADDOP_I(c, loc, LOAD_COMMON_CONSTANT, CONSTANT_NOTIMPLEMENTEDERROR);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  730|     32|    ADDOP_I(c, loc, RAISE_VARARGS, 1);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  731|     32|    USE_LABEL(c, body);
  ------------------
  |  |   97|     32|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  732|     32|    return SUCCESS;
  ------------------
  |  |   47|     32|#define SUCCESS 0
  ------------------
  733|     32|}
codegen.c:codegen_addop_j:
  419|  6.99k|{
  420|  6.99k|    assert(IS_JUMP_TARGET_LABEL(target));
  421|  6.99k|    assert(HAS_TARGET(opcode));
  422|       |    assert(!IS_ASSEMBLER_OPCODE(opcode));
  423|  6.99k|    return _PyInstructionSequence_Addop(seq, opcode, target.id, loc);
  424|  6.99k|}
codegen.c:codegen_function_annotations:
 1162|  1.86k|{
 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|  1.86k|    Py_ssize_t annotations_len = 0;
 1169|       |
 1170|  1.86k|    PySTEntryObject *ste;
 1171|  1.86k|    RETURN_IF_ERROR(_PySymtable_LookupOptional(SYMTABLE(c), args, &ste));
  ------------------
  |  |   51|  1.86k|    do {                    \
  |  |   52|  1.86k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 1.86k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  1.86k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 1.86k]
  |  |  ------------------
  ------------------
 1172|  1.86k|    assert(ste != NULL);
 1173|       |
 1174|  1.86k|    if (ste->ste_annotations_used) {
  ------------------
  |  Branch (1174:9): [True: 30, False: 1.83k]
  ------------------
 1175|     30|        int err = codegen_setup_annotations_scope(c, loc, (void *)args, ste->ste_name);
 1176|     30|        Py_DECREF(ste);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1177|     30|        RETURN_IF_ERROR(err);
  ------------------
  |  |   51|     30|    do {                    \
  |  |   52|     30|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 30]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     30|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 30]
  |  |  ------------------
  ------------------
 1178|     30|        RETURN_IF_ERROR_IN_SCOPE(
  ------------------
  |  |   58|     30|    do {                                    \
  |  |   59|     30|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 0, False: 30]
  |  |  ------------------
  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |   61|      0|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   62|      0|        }                                   \
  |  |   63|     30|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 30]
  |  |  ------------------
  ------------------
 1179|     30|            c, codegen_annotations_in_scope(c, loc, args, returns, &annotations_len)
 1180|     30|        );
 1181|     30|        ADDOP_I(c, loc, BUILD_MAP, annotations_len);
  ------------------
  |  |  276|     30|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     30|    do {                    \
  |  |  |  |   52|     30|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 30]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     30|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 30]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1182|     30|        RETURN_IF_ERROR(codegen_leave_annotations_scope(c, loc));
  ------------------
  |  |   51|     30|    do {                    \
  |  |   52|     30|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 30]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     30|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 30]
  |  |  ------------------
  ------------------
 1183|     30|        return MAKE_FUNCTION_ANNOTATE;
  ------------------
  |  |   68|     30|#define MAKE_FUNCTION_ANNOTATE    0x10
  ------------------
 1184|     30|    }
 1185|  1.83k|    else {
 1186|  1.83k|        Py_DECREF(ste);
  ------------------
  |  |  430|  1.83k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.83k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.83k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1187|  1.83k|    }
 1188|       |
 1189|  1.83k|    return 0;
 1190|  1.86k|}
codegen.c:codegen_annotations_in_scope:
 1131|     30|{
 1132|     30|    RETURN_IF_ERROR(
  ------------------
  |  |   51|     30|    do {                    \
  |  |   52|     30|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 30]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     30|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 30]
  |  |  ------------------
  ------------------
 1133|     30|        codegen_argannotations(c, args->posonlyargs, annotations_len, loc));
 1134|       |
 1135|     30|    RETURN_IF_ERROR(
  ------------------
  |  |   51|     30|    do {                    \
  |  |   52|     30|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 30]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     30|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 30]
  |  |  ------------------
  ------------------
 1136|     30|        codegen_argannotations(c, args->args, annotations_len, loc));
 1137|       |
 1138|     30|    if (args->vararg && args->vararg->annotation) {
  ------------------
  |  Branch (1138:9): [True: 1, False: 29]
  |  Branch (1138:25): [True: 0, False: 1]
  ------------------
 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|     30|    RETURN_IF_ERROR(
  ------------------
  |  |   51|     30|    do {                    \
  |  |   52|     30|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 30]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     30|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 30]
  |  |  ------------------
  ------------------
 1145|     30|        codegen_argannotations(c, args->kwonlyargs, annotations_len, loc));
 1146|       |
 1147|     30|    if (args->kwarg && args->kwarg->annotation) {
  ------------------
  |  Branch (1147:9): [True: 1, False: 29]
  |  Branch (1147:24): [True: 0, False: 1]
  ------------------
 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|     30|    RETURN_IF_ERROR(
  ------------------
  |  |   51|     30|    do {                    \
  |  |   52|     30|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 30]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     30|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 30]
  |  |  ------------------
  ------------------
 1154|     30|        codegen_argannotation(c, &_Py_ID(return), returns, annotations_len, loc));
 1155|       |
 1156|     30|    return 0;
 1157|     30|}
codegen.c:codegen_argannotations:
 1112|     90|{
 1113|     90|    int i;
 1114|    143|    for (i = 0; i < asdl_seq_LEN(args); i++) {
  ------------------
  |  |   83|    143|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    286|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 143]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1114:17): [True: 53, False: 90]
  ------------------
 1115|     53|        arg_ty arg = (arg_ty)asdl_seq_GET(args, i);
  ------------------
  |  |   82|     53|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|     53|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1116|     53|        RETURN_IF_ERROR(
  ------------------
  |  |   51|     53|    do {                    \
  |  |   52|     53|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 53]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     53|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 53]
  |  |  ------------------
  ------------------
 1117|     53|            codegen_argannotation(
 1118|     53|                        c,
 1119|     53|                        arg->arg,
 1120|     53|                        arg->annotation,
 1121|     53|                        annotations_len,
 1122|     53|                        loc));
 1123|     53|    }
 1124|     90|    return SUCCESS;
  ------------------
  |  |   47|     90|#define SUCCESS 0
  ------------------
 1125|     90|}
codegen.c:codegen_argannotation:
 1078|     83|{
 1079|     83|    if (!annotation) {
  ------------------
  |  Branch (1079:9): [True: 20, False: 63]
  ------------------
 1080|     20|        return SUCCESS;
  ------------------
  |  |   47|     20|#define SUCCESS 0
  ------------------
 1081|     20|    }
 1082|     63|    PyObject *mangled = _PyCompile_MaybeMangle(c, id);
 1083|     63|    if (!mangled) {
  ------------------
  |  Branch (1083:9): [True: 0, False: 63]
  ------------------
 1084|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 1085|      0|    }
 1086|     63|    ADDOP_LOAD_CONST(c, loc, mangled);
  ------------------
  |  |  307|     63|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|     63|    do {                    \
  |  |  |  |   52|     63|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 63]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     63|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 63]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1087|     63|    Py_DECREF(mangled);
  ------------------
  |  |  430|     63|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     63|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     63|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1088|       |
 1089|     63|    if (FUTURE_FEATURES(c) & CO_FUTURE_ANNOTATIONS) {
  ------------------
  |  |   69|     63|#define FUTURE_FEATURES(C) _PyCompile_FutureFeatures(C)
  ------------------
                  if (FUTURE_FEATURES(c) & CO_FUTURE_ANNOTATIONS) {
  ------------------
  |  |  143|     63|#define CO_FUTURE_ANNOTATIONS    0x1000000
  ------------------
  |  Branch (1089:9): [True: 0, False: 63]
  ------------------
 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|     63|    else {
 1093|     63|        if (annotation->kind == Starred_kind) {
  ------------------
  |  Branch (1093:13): [True: 0, False: 63]
  ------------------
 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|     63|        else {
 1102|     63|            VISIT(c, expr, annotation);
  ------------------
  |  |  452|     63|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|     63|    do {                    \
  |  |  |  |   52|     63|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 63]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     63|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 63]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1103|     63|        }
 1104|     63|    }
 1105|     63|    *annotations_len += 1;
 1106|     63|    return SUCCESS;
  ------------------
  |  |   47|     63|#define SUCCESS 0
  ------------------
 1107|     63|}
codegen.c:codegen_leave_annotations_scope:
  737|     32|{
  738|     32|    ADDOP_IN_SCOPE(c, loc, RETURN_VALUE);
  ------------------
  |  |  293|     32|    RETURN_IF_ERROR_IN_SCOPE((C), codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   58|     32|    do {                                    \
  |  |  |  |   59|     32|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 32]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|     32|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 32]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  739|     32|    PyCodeObject *co = _PyCompile_OptimizeAndAssemble(c, 1);
  740|     32|    if (co == NULL) {
  ------------------
  |  Branch (740:9): [True: 0, False: 32]
  ------------------
  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|     32|    const Py_ssize_t size = PyObject_Size(co->co_localsplusnames);
  751|     32|    if (size == -1) {
  ------------------
  |  Branch (751:9): [True: 0, False: 32]
  ------------------
  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|     32|    PyObject *new_names = PyTuple_New(size);
  756|     32|    if (new_names == NULL) {
  ------------------
  |  Branch (756:9): [True: 0, False: 32]
  ------------------
  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|     32|    PyTuple_SET_ITEM(new_names, 0, Py_NewRef(&_Py_ID(format)));
  ------------------
  |  |   40|     32|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     32|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     32|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     32|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  761|     48|    for (int i = 1; i < size; i++) {
  ------------------
  |  Branch (761:21): [True: 16, False: 32]
  ------------------
  762|     16|        PyObject *item = PyTuple_GetItem(co->co_localsplusnames, i);
  763|     16|        if (item == NULL) {
  ------------------
  |  Branch (763:13): [True: 0, False: 16]
  ------------------
  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|     16|        Py_INCREF(item);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  769|     16|        PyTuple_SET_ITEM(new_names, i, 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  770|     16|    }
  771|     32|    Py_SETREF(co->co_localsplusnames, new_names);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
  772|       |
  773|     32|    _PyCompile_ExitScope(c);
  774|     32|    int ret = codegen_make_closure(c, loc, co, 0);
  775|     32|    Py_DECREF(co);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  776|     32|    RETURN_IF_ERROR(ret);
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
  777|     32|    return SUCCESS;
  ------------------
  |  |   47|     32|#define SUCCESS 0
  ------------------
  778|     32|}
codegen.c:codegen_function_body:
 1370|  1.86k|{
 1371|  1.86k|    arguments_ty args;
 1372|  1.86k|    identifier name;
 1373|  1.86k|    asdl_stmt_seq *body;
 1374|  1.86k|    int scope_type;
 1375|       |
 1376|  1.86k|    if (is_async) {
  ------------------
  |  Branch (1376:9): [True: 135, False: 1.72k]
  ------------------
 1377|    135|        assert(s->kind == AsyncFunctionDef_kind);
 1378|       |
 1379|    135|        args = s->v.AsyncFunctionDef.args;
 1380|    135|        name = s->v.AsyncFunctionDef.name;
 1381|    135|        body = s->v.AsyncFunctionDef.body;
 1382|       |
 1383|    135|        scope_type = COMPILE_SCOPE_ASYNC_FUNCTION;
 1384|  1.72k|    } else {
 1385|  1.72k|        assert(s->kind == FunctionDef_kind);
 1386|       |
 1387|  1.72k|        args = s->v.FunctionDef.args;
 1388|  1.72k|        name = s->v.FunctionDef.name;
 1389|  1.72k|        body = s->v.FunctionDef.body;
 1390|       |
 1391|  1.72k|        scope_type = COMPILE_SCOPE_FUNCTION;
 1392|  1.72k|    }
 1393|       |
 1394|  1.86k|    _PyCompile_CodeUnitMetadata umd = {
 1395|  1.86k|        .u_argcount = asdl_seq_LEN(args->args),
  ------------------
  |  |   83|  1.86k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  3.72k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 1.86k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1396|  1.86k|        .u_posonlyargcount = asdl_seq_LEN(args->posonlyargs),
  ------------------
  |  |   83|  1.86k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  3.72k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 1.86k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1397|  1.86k|        .u_kwonlyargcount = asdl_seq_LEN(args->kwonlyargs),
  ------------------
  |  |   83|  1.86k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  3.72k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 1.86k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1398|  1.86k|    };
 1399|  1.86k|    RETURN_IF_ERROR(
  ------------------
  |  |   51|  1.86k|    do {                    \
  |  |   52|  1.86k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 1.86k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  1.86k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 1.86k]
  |  |  ------------------
  ------------------
 1400|  1.86k|        codegen_enter_scope(c, name, scope_type, (void *)s, firstlineno, NULL, &umd));
 1401|       |
 1402|  1.86k|    PySTEntryObject *ste = SYMTABLE_ENTRY(c);
  ------------------
  |  |   71|  1.86k|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
 1403|  1.86k|    Py_ssize_t first_instr = 0;
 1404|  1.86k|    if (ste->ste_has_docstring) {
  ------------------
  |  Branch (1404:9): [True: 496, False: 1.36k]
  ------------------
 1405|    496|        PyObject *docstring = _PyAST_GetDocString(body);
 1406|    496|        assert(docstring);
 1407|    496|        first_instr = 1;
 1408|    496|        docstring = _PyCompile_CleanDoc(docstring);
 1409|    496|        if (docstring == NULL) {
  ------------------
  |  Branch (1409:13): [True: 0, False: 496]
  ------------------
 1410|      0|            _PyCompile_ExitScope(c);
 1411|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 1412|      0|        }
 1413|    496|        Py_ssize_t idx = _PyCompile_AddConst(c, docstring);
 1414|    496|        Py_DECREF(docstring);
  ------------------
  |  |  430|    496|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    496|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    496|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1415|    496|        RETURN_IF_ERROR_IN_SCOPE(c, idx < 0 ? ERROR : SUCCESS);
  ------------------
  |  |   58|    496|    do {                                    \
  |  |   59|    992|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 0, False: 496]
  |  |  |  Branch (59:14): [True: 0, False: 496]
  |  |  ------------------
  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |   61|      0|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   62|      0|        }                                   \
  |  |   63|    496|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 496]
  |  |  ------------------
  ------------------
 1416|    496|    }
 1417|       |
 1418|  1.86k|    NEW_JUMP_TARGET_LABEL(c, start);
  ------------------
  |  |   91|  1.86k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  1.86k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|  1.86k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  1.86k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  1.86k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 1.86k]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 1419|  1.86k|    USE_LABEL(c, start);
  ------------------
  |  |   97|  1.86k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  1.86k|    do {                    \
  |  |  |  |   52|  1.86k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.86k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.86k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.86k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1420|  1.86k|    bool add_stopiteration_handler = ste->ste_coroutine || ste->ste_generator;
  ------------------
  |  Branch (1420:38): [True: 135, False: 1.72k]
  |  Branch (1420:60): [True: 28, False: 1.69k]
  ------------------
 1421|  1.86k|    if (add_stopiteration_handler) {
  ------------------
  |  Branch (1421:9): [True: 163, False: 1.69k]
  ------------------
 1422|       |        /* codegen_wrap_in_stopiteration_handler will push a block, so we need to account for that */
 1423|    163|        RETURN_IF_ERROR(
  ------------------
  |  |   51|    163|    do {                    \
  |  |   52|    163|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 163]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    163|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 163]
  |  |  ------------------
  ------------------
 1424|    163|            _PyCompile_PushFBlock(c, NO_LOCATION, COMPILE_FBLOCK_STOP_ITERATION,
 1425|    163|                                  start, NO_LABEL, NULL));
 1426|    163|    }
 1427|       |
 1428|  7.33k|    for (Py_ssize_t i = first_instr; i < asdl_seq_LEN(body); i++) {
  ------------------
  |  |   83|  7.33k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  14.6k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 7.33k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1428:38): [True: 5.47k, False: 1.86k]
  ------------------
 1429|  5.47k|        VISIT_IN_SCOPE(c, stmt, (stmt_ty)asdl_seq_GET(body, i));
  ------------------
  |  |  455|  5.47k|    RETURN_IF_ERROR_IN_SCOPE((C), codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   58|  5.47k|    do {                                    \
  |  |  |  |   59|  5.47k|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 5.47k]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|  5.47k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 5.47k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1430|  5.47k|    }
 1431|  1.86k|    if (add_stopiteration_handler) {
  ------------------
  |  Branch (1431:9): [True: 163, False: 1.69k]
  ------------------
 1432|    163|        RETURN_IF_ERROR_IN_SCOPE(c, codegen_wrap_in_stopiteration_handler(c));
  ------------------
  |  |   58|    163|    do {                                    \
  |  |   59|    163|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 0, False: 163]
  |  |  ------------------
  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |   61|      0|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   62|      0|        }                                   \
  |  |   63|    163|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 163]
  |  |  ------------------
  ------------------
 1433|    163|        _PyCompile_PopFBlock(c, COMPILE_FBLOCK_STOP_ITERATION, start);
 1434|    163|    }
 1435|  1.86k|    PyCodeObject *co = _PyCompile_OptimizeAndAssemble(c, 1);
 1436|  1.86k|    _PyCompile_ExitScope(c);
 1437|  1.86k|    if (co == NULL) {
  ------------------
  |  Branch (1437:9): [True: 0, False: 1.86k]
  ------------------
 1438|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 1439|      0|    }
 1440|  1.86k|    int ret = codegen_make_closure(c, LOC(s), co, funcflags);
  ------------------
  |  |   88|  1.86k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  1.86k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  1.86k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  1.86k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  1.86k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  1.86k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 1441|  1.86k|    Py_DECREF(co);
  ------------------
  |  |  430|  1.86k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.86k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.86k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1442|  1.86k|    return ret;
 1443|  1.86k|}
codegen.c:codegen_wrap_in_stopiteration_handler:
 1224|    209|{
 1225|    209|    NEW_JUMP_TARGET_LABEL(c, handler);
  ------------------
  |  |   91|    209|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    209|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|    209|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    209|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    209|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 209]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 1226|       |
 1227|       |    /* Insert SETUP_CLEANUP just after the initial RETURN_GENERATOR; POP_TOP */
 1228|    209|    instr_sequence *seq = INSTR_SEQUENCE(c);
  ------------------
  |  |   68|    209|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  ------------------
 1229|    209|    int resume = 0;
 1230|    347|    while (_PyInstructionSequence_GetInstruction(seq, resume).i_opcode != RETURN_GENERATOR) {
  ------------------
  |  |   45|    347|#define RETURN_GENERATOR                        32
  ------------------
  |  Branch (1230:12): [True: 138, False: 209]
  ------------------
 1231|    138|        resume++;
 1232|    138|        assert(resume < seq->s_used);
 1233|    138|    }
 1234|    209|    resume++;
 1235|    209|    assert(_PyInstructionSequence_GetInstruction(seq, resume).i_opcode == POP_TOP);
 1236|    209|    resume++;
 1237|    209|    assert(resume < seq->s_used);
 1238|    209|    RETURN_IF_ERROR(
  ------------------
  |  |   51|    209|    do {                    \
  |  |   52|    209|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 209]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    209|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 209]
  |  |  ------------------
  ------------------
 1239|    209|        _PyInstructionSequence_InsertInstruction(
 1240|    209|            seq, resume,
 1241|    209|            SETUP_CLEANUP, handler.id, NO_LOCATION));
 1242|       |
 1243|    209|    ADDOP_LOAD_CONST(c, NO_LOCATION, Py_None);
  ------------------
  |  |  307|    209|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|    209|    do {                    \
  |  |  |  |   52|    209|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 209]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    209|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 209]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1244|    209|    ADDOP(c, NO_LOCATION, RETURN_VALUE);
  ------------------
  |  |  290|    209|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    209|    do {                    \
  |  |  |  |   52|    209|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 209]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    209|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 209]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1245|    209|    USE_LABEL(c, handler);
  ------------------
  |  |   97|    209|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    209|    do {                    \
  |  |  |  |   52|    209|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 209]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    209|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 209]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1246|    209|    ADDOP_I(c, NO_LOCATION, CALL_INTRINSIC_1, INTRINSIC_STOPITERATION_ERROR);
  ------------------
  |  |  276|    209|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    209|    do {                    \
  |  |  |  |   52|    209|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 209]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    209|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 209]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1247|    209|    ADDOP_I(c, NO_LOCATION, RERAISE, 1);
  ------------------
  |  |  276|    209|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    209|    do {                    \
  |  |  |  |   52|    209|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 209]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    209|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 209]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1248|    209|    return SUCCESS;
  ------------------
  |  |   47|    209|#define SUCCESS 0
  ------------------
 1249|    209|}
codegen.c:codegen_make_closure:
  972|  2.17k|{
  973|  2.17k|    if (co->co_nfreevars) {
  ------------------
  |  Branch (973:9): [True: 340, False: 1.83k]
  ------------------
  974|    340|        int i = PyUnstable_Code_GetFirstFree(co);
  975|    814|        for (; i < co->co_nlocalsplus; ++i) {
  ------------------
  |  Branch (975:16): [True: 474, False: 340]
  ------------------
  976|       |            /* Bypass com_addop_varname because it will generate
  977|       |               LOAD_DEREF but LOAD_CLOSURE is needed.
  978|       |            */
  979|    474|            PyObject *name = PyTuple_GET_ITEM(co->co_localsplusnames, i);
  ------------------
  |  |   29|    474|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|    474|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    474|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  980|    474|            int arg = _PyCompile_LookupArg(c, co, name);
  981|    474|            RETURN_IF_ERROR(arg);
  ------------------
  |  |   51|    474|    do {                    \
  |  |   52|    474|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 474]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    474|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 474]
  |  |  ------------------
  ------------------
  982|    474|            ADDOP_I(c, loc, LOAD_CLOSURE, arg);
  ------------------
  |  |  276|    474|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    474|    do {                    \
  |  |  |  |   52|    474|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 474]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    474|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 474]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  983|    474|        }
  984|    340|        flags |= MAKE_FUNCTION_CLOSURE;
  ------------------
  |  |   67|    340|#define MAKE_FUNCTION_CLOSURE     0x08
  ------------------
  985|    340|        ADDOP_I(c, loc, BUILD_TUPLE, co->co_nfreevars);
  ------------------
  |  |  276|    340|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    340|    do {                    \
  |  |  |  |   52|    340|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 340]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    340|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 340]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  986|    340|    }
  987|  2.17k|    ADDOP_LOAD_CONST(c, loc, (PyObject*)co);
  ------------------
  |  |  307|  2.17k|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|  2.17k|    do {                    \
  |  |  |  |   52|  2.17k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.17k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.17k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.17k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  988|       |
  989|  2.17k|    ADDOP(c, loc, MAKE_FUNCTION);
  ------------------
  |  |  290|  2.17k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.17k|    do {                    \
  |  |  |  |   52|  2.17k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.17k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.17k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.17k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  990|       |
  991|  2.17k|    if (flags & MAKE_FUNCTION_CLOSURE) {
  ------------------
  |  |   67|  2.17k|#define MAKE_FUNCTION_CLOSURE     0x08
  ------------------
  |  Branch (991:9): [True: 340, False: 1.83k]
  ------------------
  992|    340|        ADDOP_I(c, loc, SET_FUNCTION_ATTRIBUTE, MAKE_FUNCTION_CLOSURE);
  ------------------
  |  |  276|    340|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    340|    do {                    \
  |  |  |  |   52|    340|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 340]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    340|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 340]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  993|    340|    }
  994|  2.17k|    if (flags & MAKE_FUNCTION_ANNOTATIONS) {
  ------------------
  |  |   66|  2.17k|#define MAKE_FUNCTION_ANNOTATIONS 0x04
  ------------------
  |  Branch (994:9): [True: 0, False: 2.17k]
  ------------------
  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|  2.17k|    if (flags & MAKE_FUNCTION_ANNOTATE) {
  ------------------
  |  |   68|  2.17k|#define MAKE_FUNCTION_ANNOTATE    0x10
  ------------------
  |  Branch (997:9): [True: 30, False: 2.14k]
  ------------------
  998|     30|        ADDOP_I(c, loc, SET_FUNCTION_ATTRIBUTE, MAKE_FUNCTION_ANNOTATE);
  ------------------
  |  |  276|     30|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     30|    do {                    \
  |  |  |  |   52|     30|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 30]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     30|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 30]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  999|     30|    }
 1000|  2.17k|    if (flags & MAKE_FUNCTION_KWDEFAULTS) {
  ------------------
  |  |   65|  2.17k|#define MAKE_FUNCTION_KWDEFAULTS  0x02
  ------------------
  |  Branch (1000:9): [True: 137, False: 2.03k]
  ------------------
 1001|    137|        ADDOP_I(c, loc, SET_FUNCTION_ATTRIBUTE, MAKE_FUNCTION_KWDEFAULTS);
  ------------------
  |  |  276|    137|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    137|    do {                    \
  |  |  |  |   52|    137|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 137]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    137|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 137]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1002|    137|    }
 1003|  2.17k|    if (flags & MAKE_FUNCTION_DEFAULTS) {
  ------------------
  |  |   64|  2.17k|#define MAKE_FUNCTION_DEFAULTS    0x01
  ------------------
  |  Branch (1003:9): [True: 263, False: 1.91k]
  ------------------
 1004|    263|        ADDOP_I(c, loc, SET_FUNCTION_ATTRIBUTE, MAKE_FUNCTION_DEFAULTS);
  ------------------
  |  |  276|    263|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    263|    do {                    \
  |  |  |  |   52|    263|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 263]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    263|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 263]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1005|    263|    }
 1006|  2.17k|    return SUCCESS;
  ------------------
  |  |   47|  2.17k|#define SUCCESS 0
  ------------------
 1007|  2.17k|}
codegen.c:codegen_apply_decorators:
 1024|  2.01k|{
 1025|  2.01k|    if (!decos) {
  ------------------
  |  Branch (1025:9): [True: 1.91k, False: 93]
  ------------------
 1026|  1.91k|        return SUCCESS;
  ------------------
  |  |   47|  1.91k|#define SUCCESS 0
  ------------------
 1027|  1.91k|    }
 1028|       |
 1029|    186|    for (Py_ssize_t i = asdl_seq_LEN(decos) - 1; i > -1; 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 (1029:50): [True: 93, False: 93]
  ------------------
 1030|     93|        location loc = LOC((expr_ty)asdl_seq_GET(decos, i));
  ------------------
  |  |   88|     93|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|     93|    (_Py_SourceLocation){ \
  |  |  |  |   55|     93|               .lineno = (n)->lineno, \
  |  |  |  |   56|     93|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|     93|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|     93|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 1031|     93|        ADDOP_I(c, loc, CALL, 0);
  ------------------
  |  |  276|     93|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1032|     93|    }
 1033|     93|    return SUCCESS;
  ------------------
  |  |   47|     93|#define SUCCESS 0
  ------------------
 1034|     93|}
codegen.c:codegen_class:
 1680|    149|{
 1681|    149|    asdl_expr_seq *decos = s->v.ClassDef.decorator_list;
 1682|       |
 1683|    149|    RETURN_IF_ERROR(codegen_decorators(c, decos));
  ------------------
  |  |   51|    149|    do {                    \
  |  |   52|    149|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 149]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    149|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 149]
  |  |  ------------------
  ------------------
 1684|       |
 1685|    149|    int firstlineno = s->lineno;
 1686|    149|    if (asdl_seq_LEN(decos)) {
  ------------------
  |  |   83|    149|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    298|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:26): [True: 2, False: 147]
  |  |  |  |  |  Branch (277:37): [True: 147, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1687|      2|        firstlineno = ((expr_ty)asdl_seq_GET(decos, 0))->lineno;
  ------------------
  |  |   82|      2|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|      2|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1688|      2|    }
 1689|    149|    location loc = LOC(s);
  ------------------
  |  |   88|    149|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    149|    (_Py_SourceLocation){ \
  |  |  |  |   55|    149|               .lineno = (n)->lineno, \
  |  |  |  |   56|    149|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    149|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    149|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 1690|       |
 1691|    149|    asdl_type_param_seq *type_params = s->v.ClassDef.type_params;
 1692|    149|    int is_generic = asdl_seq_LEN(type_params) > 0;
  ------------------
  |  |   83|    149|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    298|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 149, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1693|    149|    if (is_generic) {
  ------------------
  |  Branch (1693:9): [True: 0, False: 149]
  ------------------
 1694|      0|        PyObject *type_params_name = PyUnicode_FromFormat("<generic parameters of %U>",
 1695|      0|                                                         s->v.ClassDef.name);
 1696|      0|        if (!type_params_name) {
  ------------------
  |  Branch (1696:13): [True: 0, False: 0]
  ------------------
 1697|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 1698|      0|        }
 1699|      0|        int ret = codegen_enter_scope(c, type_params_name, COMPILE_SCOPE_ANNOTATIONS,
 1700|      0|                                      (void *)type_params, firstlineno, s->v.ClassDef.name, NULL);
 1701|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1702|      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]
  |  |  ------------------
  ------------------
 1703|      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]
  |  |  ------------------
  ------------------
 1704|      0|        _Py_DECLARE_STR(type_params, ".type_params");
 1705|      0|        RETURN_IF_ERROR_IN_SCOPE(c, codegen_nameop(c, loc, &_Py_STR(type_params), Store));
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
 1706|      0|    }
 1707|       |
 1708|    149|    int ret = codegen_class_body(c, s, firstlineno);
 1709|    149|    if (is_generic) {
  ------------------
  |  Branch (1709:9): [True: 0, False: 149]
  ------------------
 1710|      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]
  |  |  ------------------
  ------------------
 1711|      0|    }
 1712|    149|    else {
 1713|    149|        RETURN_IF_ERROR(ret);
  ------------------
  |  |   51|    149|    do {                    \
  |  |   52|    149|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 149]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    149|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 149]
  |  |  ------------------
  ------------------
 1714|    149|    }
 1715|       |
 1716|       |    /* generate the rest of the code for the call */
 1717|       |
 1718|    149|    if (is_generic) {
  ------------------
  |  Branch (1718:9): [True: 0, False: 149]
  ------------------
 1719|      0|        _Py_DECLARE_STR(type_params, ".type_params");
 1720|      0|        _Py_DECLARE_STR(generic_base, ".generic_base");
 1721|      0|        RETURN_IF_ERROR_IN_SCOPE(c, codegen_nameop(c, loc, &_Py_STR(type_params), Load));
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
 1722|      0|        ADDOP_I_IN_SCOPE(c, loc, CALL_INTRINSIC_1, INTRINSIC_SUBSCRIPT_GENERIC);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1723|      0|        RETURN_IF_ERROR_IN_SCOPE(c, codegen_nameop(c, loc, &_Py_STR(generic_base), Store));
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
 1724|       |
 1725|      0|        RETURN_IF_ERROR_IN_SCOPE(c, codegen_call_helper_impl(c, loc, 2,
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
 1726|      0|                                                             s->v.ClassDef.bases,
 1727|      0|                                                             &_Py_STR(generic_base),
 1728|      0|                                                             s->v.ClassDef.keywords));
 1729|       |
 1730|      0|        PyCodeObject *co = _PyCompile_OptimizeAndAssemble(c, 0);
 1731|       |
 1732|      0|        _PyCompile_ExitScope(c);
 1733|      0|        if (co == NULL) {
  ------------------
  |  Branch (1733:13): [True: 0, False: 0]
  ------------------
 1734|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 1735|      0|        }
 1736|      0|        int ret = codegen_make_closure(c, loc, co, 0);
 1737|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1738|      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]
  |  |  ------------------
  ------------------
 1739|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1740|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1741|    149|    } else {
 1742|    149|        RETURN_IF_ERROR(codegen_call_helper(c, loc, 2,
  ------------------
  |  |   51|    149|    do {                    \
  |  |   52|    149|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 149]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    149|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 149]
  |  |  ------------------
  ------------------
 1743|    149|                                            s->v.ClassDef.bases,
 1744|    149|                                            s->v.ClassDef.keywords));
 1745|    149|    }
 1746|       |
 1747|       |    /* 6. apply decorators */
 1748|    149|    RETURN_IF_ERROR(codegen_apply_decorators(c, decos));
  ------------------
  |  |   51|    149|    do {                    \
  |  |   52|    149|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 149]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    149|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 149]
  |  |  ------------------
  ------------------
 1749|       |
 1750|       |    /* 7. store into <name> */
 1751|    149|    RETURN_IF_ERROR(codegen_nameop(c, loc, s->v.ClassDef.name, Store));
  ------------------
  |  |   51|    149|    do {                    \
  |  |   52|    149|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 149]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    149|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 149]
  |  |  ------------------
  ------------------
 1752|    149|    return SUCCESS;
  ------------------
  |  |   47|    149|#define SUCCESS 0
  ------------------
 1753|    149|}
codegen.c:codegen_class_body:
 1572|    149|{
 1573|       |    /* ultimately generate code for:
 1574|       |         <name> = __build_class__(<func>, <name>, *<bases>, **<keywords>)
 1575|       |       where:
 1576|       |         <func> is a zero arg function/closure created from the class body.
 1577|       |            It mutates its locals to build the class namespace.
 1578|       |         <name> is the class name
 1579|       |         <bases> is the positional arguments and *varargs argument
 1580|       |         <keywords> is the keyword arguments and **kwds argument
 1581|       |       This borrows from codegen_call.
 1582|       |    */
 1583|       |
 1584|       |    /* 1. compile the class body into a code object */
 1585|    149|    RETURN_IF_ERROR(
  ------------------
  |  |   51|    149|    do {                    \
  |  |   52|    149|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 149]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    149|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 149]
  |  |  ------------------
  ------------------
 1586|    149|        codegen_enter_scope(c, s->v.ClassDef.name, COMPILE_SCOPE_CLASS,
 1587|    149|                            (void *)s, firstlineno, s->v.ClassDef.name, NULL));
 1588|       |
 1589|    149|    location loc = LOCATION(firstlineno, firstlineno, 0, 0);
  ------------------
  |  |   86|    149|    ((const _Py_SourceLocation){(LNO), (END_LNO), (COL), (END_COL)})
  ------------------
 1590|       |    /* load (global) __name__ ... */
 1591|    149|    RETURN_IF_ERROR_IN_SCOPE(c, codegen_nameop(c, loc, &_Py_ID(__name__), Load));
  ------------------
  |  |   58|    149|    do {                                    \
  |  |   59|    149|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 0, False: 149]
  |  |  ------------------
  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |   61|      0|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   62|      0|        }                                   \
  |  |   63|    149|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 149]
  |  |  ------------------
  ------------------
 1592|       |    /* ... and store it as __module__ */
 1593|    149|    RETURN_IF_ERROR_IN_SCOPE(c, codegen_nameop(c, loc, &_Py_ID(__module__), Store));
  ------------------
  |  |   58|    149|    do {                                    \
  |  |   59|    149|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 0, False: 149]
  |  |  ------------------
  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |   61|      0|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   62|      0|        }                                   \
  |  |   63|    149|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 149]
  |  |  ------------------
  ------------------
 1594|    149|    ADDOP_LOAD_CONST(c, loc, QUALNAME(c));
  ------------------
  |  |  307|    149|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|    149|    do {                    \
  |  |  |  |   52|    149|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 149]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    149|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 149]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1595|    149|    RETURN_IF_ERROR_IN_SCOPE(c, codegen_nameop(c, loc, &_Py_ID(__qualname__), Store));
  ------------------
  |  |   58|    149|    do {                                    \
  |  |   59|    149|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 0, False: 149]
  |  |  ------------------
  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |   61|      0|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   62|      0|        }                                   \
  |  |   63|    149|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 149]
  |  |  ------------------
  ------------------
 1596|    149|    ADDOP_LOAD_CONST_NEW(c, loc, PyLong_FromLong(METADATA(c)->u_firstlineno));
  ------------------
  |  |  314|    149|    do {                                                                \
  |  |  315|    149|        PyObject *__new_const = (O);                                    \
  |  |  316|    149|        if (__new_const == NULL) {                                      \
  |  |  ------------------
  |  |  |  Branch (316:13): [True: 0, False: 149]
  |  |  ------------------
  |  |  317|      0|            return ERROR;                                               \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |  318|      0|        }                                                               \
  |  |  319|    149|        if (codegen_addop_load_const((C), (LOC), __new_const) < 0) {    \
  |  |  ------------------
  |  |  |  Branch (319:13): [True: 0, False: 149]
  |  |  ------------------
  |  |  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|    149|        Py_DECREF(__new_const);                                         \
  |  |  ------------------
  |  |  |  |  430|    149|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    149|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    149|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  324|    149|    } while (0)
  |  |  ------------------
  |  |  |  Branch (324:14): [Folded, False: 149]
  |  |  ------------------
  ------------------
 1597|    149|    RETURN_IF_ERROR_IN_SCOPE(c, codegen_nameop(c, loc, &_Py_ID(__firstlineno__), Store));
  ------------------
  |  |   58|    149|    do {                                    \
  |  |   59|    149|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 0, False: 149]
  |  |  ------------------
  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |   61|      0|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   62|      0|        }                                   \
  |  |   63|    149|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 149]
  |  |  ------------------
  ------------------
 1598|    149|    asdl_type_param_seq *type_params = s->v.ClassDef.type_params;
 1599|    149|    if (asdl_seq_LEN(type_params) > 0) {
  ------------------
  |  |   83|    149|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    298|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 149, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1599:9): [True: 0, False: 149]
  ------------------
 1600|      0|        RETURN_IF_ERROR_IN_SCOPE(c, codegen_set_type_params_in_class(c, 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]
  |  |  ------------------
  ------------------
 1601|      0|    }
 1602|    149|    if (SYMTABLE_ENTRY(c)->ste_needs_classdict) {
  ------------------
  |  |   71|    149|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  |  Branch (1602:9): [True: 119, False: 30]
  ------------------
 1603|    119|        ADDOP(c, loc, LOAD_LOCALS);
  ------------------
  |  |  290|    119|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    119|    do {                    \
  |  |  |  |   52|    119|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 119]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    119|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 119]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1604|       |
 1605|       |        // We can't use codegen_nameop here because we need to generate a
 1606|       |        // STORE_DEREF in a class namespace, and codegen_nameop() won't do
 1607|       |        // that by default.
 1608|    119|        ADDOP_N_IN_SCOPE(c, loc, STORE_DEREF, &_Py_ID(__classdict__), cellvars);
  ------------------
  |  |  346|    119|    do {                                                                \
  |  |  347|    119|        assert(!OPCODE_HAS_CONST(OP)); /* use ADDOP_LOAD_CONST_NEW */   \
  |  |  348|    119|        int ret = codegen_addop_o((C), (LOC), (OP),                     \
  |  |  349|    119|                                  METADATA(C)->u_ ## TYPE, (O));        \
  |  |  ------------------
  |  |  |  |   76|    119|#define METADATA(C) _PyCompile_Metadata(C)
  |  |  ------------------
  |  |  350|    119|        Py_DECREF((O));                                                 \
  |  |  ------------------
  |  |  |  |  430|    119|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    119|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    119|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  351|    119|        RETURN_IF_ERROR_IN_SCOPE((C), ret);                             \
  |  |  ------------------
  |  |  |  |   58|    119|    do {                                    \
  |  |  |  |   59|    119|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 119]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|    119|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 119]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  352|    119|    } while (0)
  |  |  ------------------
  |  |  |  Branch (352:14): [Folded, False: 119]
  |  |  ------------------
  ------------------
 1609|    119|    }
 1610|    149|    if (SYMTABLE_ENTRY(c)->ste_has_conditional_annotations) {
  ------------------
  |  |   71|    149|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  |  Branch (1610:9): [True: 0, False: 149]
  ------------------
 1611|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1612|      0|        ADDOP_N_IN_SCOPE(c, loc, STORE_DEREF, &_Py_ID(__conditional_annotations__), cellvars);
  ------------------
  |  |  346|      0|    do {                                                                \
  |  |  347|      0|        assert(!OPCODE_HAS_CONST(OP)); /* use ADDOP_LOAD_CONST_NEW */   \
  |  |  348|      0|        int ret = codegen_addop_o((C), (LOC), (OP),                     \
  |  |  349|      0|                                  METADATA(C)->u_ ## TYPE, (O));        \
  |  |  ------------------
  |  |  |  |   76|      0|#define METADATA(C) _PyCompile_Metadata(C)
  |  |  ------------------
  |  |  350|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  351|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  352|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (352:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1613|      0|    }
 1614|       |    /* compile the body proper */
 1615|    149|    RETURN_IF_ERROR_IN_SCOPE(c, codegen_body(c, loc, s->v.ClassDef.body, false));
  ------------------
  |  |   58|    149|    do {                                    \
  |  |   59|    149|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 0, False: 149]
  |  |  ------------------
  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |   61|      0|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   62|      0|        }                                   \
  |  |   63|    149|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 149]
  |  |  ------------------
  ------------------
 1616|    149|    PyObject *static_attributes = _PyCompile_StaticAttributesAsTuple(c);
 1617|    149|    if (static_attributes == NULL) {
  ------------------
  |  Branch (1617:9): [True: 0, False: 149]
  ------------------
 1618|      0|        _PyCompile_ExitScope(c);
 1619|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 1620|      0|    }
 1621|    149|    ADDOP_LOAD_CONST(c, NO_LOCATION, static_attributes);
  ------------------
  |  |  307|    149|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|    149|    do {                    \
  |  |  |  |   52|    149|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 149]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    149|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 149]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1622|    149|    Py_CLEAR(static_attributes);
  ------------------
  |  |  484|    149|    do { \
  |  |  485|    149|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|    149|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|    149|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|    149|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|    149|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 149, False: 0]
  |  |  ------------------
  |  |  488|    149|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    149|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|    149|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|    149|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    149|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    149|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|    149|        } \
  |  |  491|    149|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 149]
  |  |  ------------------
  ------------------
 1623|    149|    RETURN_IF_ERROR_IN_SCOPE(
  ------------------
  |  |   58|    149|    do {                                    \
  |  |   59|    149|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 0, False: 149]
  |  |  ------------------
  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |   61|      0|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   62|      0|        }                                   \
  |  |   63|    149|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 149]
  |  |  ------------------
  ------------------
 1624|    149|        c, codegen_nameop(c, NO_LOCATION, &_Py_ID(__static_attributes__), Store));
 1625|       |    /* The following code is artificial */
 1626|       |    /* Set __classdictcell__ if necessary */
 1627|    149|    if (SYMTABLE_ENTRY(c)->ste_needs_classdict) {
  ------------------
  |  |   71|    149|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  |  Branch (1627:9): [True: 119, False: 30]
  ------------------
 1628|       |        /* Store __classdictcell__ into class namespace */
 1629|    119|        int i = _PyCompile_LookupCellvar(c, &_Py_ID(__classdict__));
  ------------------
  |  |  915|    119|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    119|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    119|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1630|    119|        RETURN_IF_ERROR_IN_SCOPE(c, i);
  ------------------
  |  |   58|    119|    do {                                    \
  |  |   59|    119|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 0, False: 119]
  |  |  ------------------
  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |   61|      0|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   62|      0|        }                                   \
  |  |   63|    119|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 119]
  |  |  ------------------
  ------------------
 1631|    119|        ADDOP_I(c, NO_LOCATION, LOAD_CLOSURE, i);
  ------------------
  |  |  276|    119|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    119|    do {                    \
  |  |  |  |   52|    119|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 119]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    119|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 119]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1632|    119|        RETURN_IF_ERROR_IN_SCOPE(
  ------------------
  |  |   58|    119|    do {                                    \
  |  |   59|    119|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 0, False: 119]
  |  |  ------------------
  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |   61|      0|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   62|      0|        }                                   \
  |  |   63|    119|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 119]
  |  |  ------------------
  ------------------
 1633|    119|            c, codegen_nameop(c, NO_LOCATION, &_Py_ID(__classdictcell__), Store));
 1634|    119|    }
 1635|       |    /* Return __classcell__ if it is referenced, otherwise return None */
 1636|    149|    if (SYMTABLE_ENTRY(c)->ste_needs_class_closure) {
  ------------------
  |  |   71|    149|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  |  Branch (1636:9): [True: 35, False: 114]
  ------------------
 1637|       |        /* Store __classcell__ into class namespace & return it */
 1638|     35|        int i = _PyCompile_LookupCellvar(c, &_Py_ID(__class__));
  ------------------
  |  |  915|     35|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     35|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     35|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1639|     35|        RETURN_IF_ERROR_IN_SCOPE(c, i);
  ------------------
  |  |   58|     35|    do {                                    \
  |  |   59|     35|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 0, False: 35]
  |  |  ------------------
  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |   61|      0|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   62|      0|        }                                   \
  |  |   63|     35|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 35]
  |  |  ------------------
  ------------------
 1640|     35|        ADDOP_I(c, NO_LOCATION, LOAD_CLOSURE, i);
  ------------------
  |  |  276|     35|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     35|    do {                    \
  |  |  |  |   52|     35|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 35]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     35|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 35]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1641|     35|        ADDOP_I(c, NO_LOCATION, COPY, 1);
  ------------------
  |  |  276|     35|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     35|    do {                    \
  |  |  |  |   52|     35|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 35]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     35|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 35]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1642|     35|        RETURN_IF_ERROR_IN_SCOPE(
  ------------------
  |  |   58|     35|    do {                                    \
  |  |   59|     35|        if ((CALL) < 0) {                   \
  |  |  ------------------
  |  |  |  Branch (59:13): [True: 0, False: 35]
  |  |  ------------------
  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |   61|      0|            return ERROR;                   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   62|      0|        }                                   \
  |  |   63|     35|    } while (0)
  |  |  ------------------
  |  |  |  Branch (63:14): [Folded, False: 35]
  |  |  ------------------
  ------------------
 1643|     35|            c, codegen_nameop(c, NO_LOCATION, &_Py_ID(__classcell__), Store));
 1644|     35|    }
 1645|    114|    else {
 1646|       |        /* No methods referenced __class__, so just return None */
 1647|    114|        ADDOP_LOAD_CONST(c, NO_LOCATION, Py_None);
  ------------------
  |  |  307|    114|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|    114|    do {                    \
  |  |  |  |   52|    114|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 114]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    114|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 114]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1648|    114|    }
 1649|    149|    ADDOP_IN_SCOPE(c, NO_LOCATION, RETURN_VALUE);
  ------------------
  |  |  293|    149|    RETURN_IF_ERROR_IN_SCOPE((C), codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   58|    149|    do {                                    \
  |  |  |  |   59|    149|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 149]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|    149|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 149]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1650|       |    /* create the code object */
 1651|    149|    PyCodeObject *co = _PyCompile_OptimizeAndAssemble(c, 1);
 1652|       |
 1653|       |    /* leave the new scope */
 1654|    149|    _PyCompile_ExitScope(c);
 1655|    149|    if (co == NULL) {
  ------------------
  |  Branch (1655:9): [True: 0, False: 149]
  ------------------
 1656|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 1657|      0|    }
 1658|       |
 1659|       |    /* 2. load the 'build_class' function */
 1660|       |
 1661|       |    // these instructions should be attributed to the class line,
 1662|       |    // not a decorator line
 1663|    149|    loc = LOC(s);
  ------------------
  |  |   88|    149|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    149|    (_Py_SourceLocation){ \
  |  |  |  |   55|    149|               .lineno = (n)->lineno, \
  |  |  |  |   56|    149|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    149|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    149|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 1664|    149|    ADDOP(c, loc, LOAD_BUILD_CLASS);
  ------------------
  |  |  290|    149|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    149|    do {                    \
  |  |  |  |   52|    149|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 149]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    149|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 149]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1665|    149|    ADDOP(c, loc, PUSH_NULL);
  ------------------
  |  |  290|    149|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    149|    do {                    \
  |  |  |  |   52|    149|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 149]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    149|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 149]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1666|       |
 1667|       |    /* 3. load a function (or closure) made from the code object */
 1668|    149|    int ret = codegen_make_closure(c, loc, co, 0);
 1669|    149|    Py_DECREF(co);
  ------------------
  |  |  430|    149|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    149|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    149|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1670|    149|    RETURN_IF_ERROR(ret);
  ------------------
  |  |   51|    149|    do {                    \
  |  |   52|    149|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 149]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    149|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 149]
  |  |  ------------------
  ------------------
 1671|       |
 1672|       |    /* 4. load class name */
 1673|    149|    ADDOP_LOAD_CONST(c, loc, s->v.ClassDef.name);
  ------------------
  |  |  307|    149|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|    149|    do {                    \
  |  |  |  |   52|    149|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 149]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    149|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 149]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1674|       |
 1675|    149|    return SUCCESS;
  ------------------
  |  |   47|    149|#define SUCCESS 0
  ------------------
 1676|    149|}
codegen.c:codegen_call_helper_impl:
 4367|  3.14k|{
 4368|  3.14k|    Py_ssize_t i, nseen, nelts, nkwelts;
 4369|       |
 4370|  3.14k|    RETURN_IF_ERROR(codegen_validate_keywords(c, keywords));
  ------------------
  |  |   51|  3.14k|    do {                    \
  |  |   52|  3.14k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 3.14k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  3.14k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 3.14k]
  |  |  ------------------
  ------------------
 4371|       |
 4372|  3.14k|    nelts = asdl_seq_LEN(args);
  ------------------
  |  |   83|  3.14k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  6.29k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 467, False: 2.68k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4373|  3.14k|    nkwelts = asdl_seq_LEN(keywords);
  ------------------
  |  |   83|  3.14k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  6.29k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 2.84k, False: 301]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4374|       |
 4375|  3.14k|    if (nelts + nkwelts*2 > _PY_STACK_USE_GUIDELINE) {
  ------------------
  |  |   24|  3.14k|#define _PY_STACK_USE_GUIDELINE 30
  ------------------
  |  Branch (4375:9): [True: 0, False: 3.14k]
  ------------------
 4376|      0|         goto ex_call;
 4377|      0|    }
 4378|  7.08k|    for (i = 0; i < nelts; i++) {
  ------------------
  |  Branch (4378:17): [True: 4.02k, False: 3.05k]
  ------------------
 4379|  4.02k|        expr_ty elt = asdl_seq_GET(args, i);
  ------------------
  |  |   82|  4.02k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  4.02k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4380|  4.02k|        if (elt->kind == Starred_kind) {
  ------------------
  |  Branch (4380:13): [True: 91, False: 3.93k]
  ------------------
 4381|     91|            goto ex_call;
 4382|     91|        }
 4383|  4.02k|    }
 4384|  3.46k|    for (i = 0; i < nkwelts; i++) {
  ------------------
  |  Branch (4384:17): [True: 433, False: 3.02k]
  ------------------
 4385|    433|        keyword_ty kw = asdl_seq_GET(keywords, i);
  ------------------
  |  |   82|    433|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    433|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4386|    433|        if (kw->arg == NULL) {
  ------------------
  |  Branch (4386:13): [True: 27, False: 406]
  ------------------
 4387|     27|            goto ex_call;
 4388|     27|        }
 4389|    433|    }
 4390|       |
 4391|       |    /* No * or ** args, so can use faster calling sequence */
 4392|  6.86k|    for (i = 0; i < nelts; i++) {
  ------------------
  |  Branch (4392:17): [True: 3.83k, False: 3.02k]
  ------------------
 4393|  3.83k|        expr_ty elt = asdl_seq_GET(args, i);
  ------------------
  |  |   82|  3.83k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  3.83k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4394|  3.83k|        assert(elt->kind != Starred_kind);
 4395|  3.83k|        VISIT(c, expr, elt);
  ------------------
  |  |  452|  3.83k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  3.83k|    do {                    \
  |  |  |  |   52|  3.83k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3.83k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  3.83k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3.83k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4396|  3.83k|    }
 4397|  3.02k|    if (injected_arg) {
  ------------------
  |  Branch (4397:9): [True: 0, False: 3.02k]
  ------------------
 4398|      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]
  |  |  ------------------
  ------------------
 4399|      0|        nelts++;
 4400|      0|    }
 4401|  3.02k|    if (nkwelts) {
  ------------------
  |  Branch (4401:9): [True: 209, False: 2.82k]
  ------------------
 4402|    209|        VISIT_SEQ(c, keyword, keywords);
  ------------------
  |  |  458|    209|    do {                                                                    \
  |  |  459|    209|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  460|    583|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|    583|#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: 583]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (460:26): [True: 374, False: 209]
  |  |  ------------------
  |  |  461|    374|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|    374|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    374|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  462|    374|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|    374|    do {                    \
  |  |  |  |   52|    374|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 374]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    374|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 374]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|    374|        }                                                                   \
  |  |  464|    209|    } while (0)
  |  |  ------------------
  |  |  |  Branch (464:14): [Folded, False: 209]
  |  |  ------------------
  ------------------
 4403|    209|        RETURN_IF_ERROR(
  ------------------
  |  |   51|    209|    do {                    \
  |  |   52|    209|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 209]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    209|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 209]
  |  |  ------------------
  ------------------
 4404|    209|            codegen_call_simple_kw_helper(c, loc, keywords, nkwelts));
 4405|    209|        ADDOP_I(c, loc, CALL_KW, n + nelts + nkwelts);
  ------------------
  |  |  276|    209|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    209|    do {                    \
  |  |  |  |   52|    209|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 209]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    209|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 209]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4406|    209|    }
 4407|  2.82k|    else {
 4408|  2.82k|        ADDOP_I(c, loc, CALL, n + nelts);
  ------------------
  |  |  276|  2.82k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.82k|    do {                    \
  |  |  |  |   52|  2.82k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.82k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.82k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.82k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4409|  2.82k|    }
 4410|  3.02k|    return SUCCESS;
  ------------------
  |  |   47|  3.02k|#define SUCCESS 0
  ------------------
 4411|       |
 4412|    118|ex_call:
 4413|       |
 4414|       |    /* Do positional arguments. */
 4415|    118|    if (n == 0 && nelts == 1 && ((expr_ty)asdl_seq_GET(args, 0))->kind == Starred_kind) {
  ------------------
  |  |   82|     68|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|     68|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (4415:9): [True: 118, False: 0]
  |  Branch (4415:19): [True: 68, False: 50]
  |  Branch (4415:33): [True: 62, False: 6]
  ------------------
 4416|     62|        VISIT(c, expr, ((expr_ty)asdl_seq_GET(args, 0))->v.Starred.value);
  ------------------
  |  |  452|     62|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|     62|    do {                    \
  |  |  |  |   52|     62|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 62]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     62|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 62]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4417|     62|    }
 4418|     56|    else {
 4419|     56|        RETURN_IF_ERROR(starunpack_helper_impl(c, loc, args, injected_arg, n,
  ------------------
  |  |   51|     56|    do {                    \
  |  |   52|     56|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 56]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     56|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 56]
  |  |  ------------------
  ------------------
 4420|     56|                                               BUILD_LIST, LIST_APPEND, LIST_EXTEND, 1));
 4421|     56|    }
 4422|       |    /* Then keyword arguments */
 4423|    118|    if (nkwelts) {
  ------------------
  |  Branch (4423:9): [True: 92, False: 26]
  ------------------
 4424|       |        /* Has a new dict been pushed */
 4425|     92|        int have_dict = 0;
 4426|       |
 4427|     92|        nseen = 0;  /* the number of keyword arguments on the stack following */
 4428|    221|        for (i = 0; i < nkwelts; i++) {
  ------------------
  |  Branch (4428:21): [True: 129, False: 92]
  ------------------
 4429|    129|            keyword_ty kw = asdl_seq_GET(keywords, i);
  ------------------
  |  |   82|    129|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    129|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4430|    129|            if (kw->arg == NULL) {
  ------------------
  |  Branch (4430:17): [True: 85, False: 44]
  ------------------
 4431|       |                /* A keyword argument unpacking. */
 4432|     85|                if (nseen) {
  ------------------
  |  Branch (4432:21): [True: 13, False: 72]
  ------------------
 4433|     13|                    RETURN_IF_ERROR(codegen_subkwargs(c, loc, keywords, i - nseen, i));
  ------------------
  |  |   51|     13|    do {                    \
  |  |   52|     13|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 13]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     13|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 13]
  |  |  ------------------
  ------------------
 4434|     13|                    if (have_dict) {
  ------------------
  |  Branch (4434:25): [True: 0, False: 13]
  ------------------
 4435|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4436|      0|                    }
 4437|     13|                    have_dict = 1;
 4438|     13|                    nseen = 0;
 4439|     13|                }
 4440|     85|                if (!have_dict) {
  ------------------
  |  Branch (4440:21): [True: 72, False: 13]
  ------------------
 4441|     72|                    ADDOP_I(c, loc, BUILD_MAP, 0);
  ------------------
  |  |  276|     72|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     72|    do {                    \
  |  |  |  |   52|     72|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 72]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     72|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 72]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4442|     72|                    have_dict = 1;
 4443|     72|                }
 4444|     85|                VISIT(c, expr, kw->value);
  ------------------
  |  |  452|     85|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|     85|    do {                    \
  |  |  |  |   52|     85|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 85]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     85|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 85]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4445|     85|                ADDOP_I(c, loc, DICT_MERGE, 1);
  ------------------
  |  |  276|     85|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     85|    do {                    \
  |  |  |  |   52|     85|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 85]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     85|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 85]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4446|     85|            }
 4447|     44|            else {
 4448|     44|                nseen++;
 4449|     44|            }
 4450|    129|        }
 4451|     92|        if (nseen) {
  ------------------
  |  Branch (4451:13): [True: 7, False: 85]
  ------------------
 4452|       |            /* Pack up any trailing keyword arguments. */
 4453|      7|            RETURN_IF_ERROR(codegen_subkwargs(c, loc, keywords, nkwelts - nseen, nkwelts));
  ------------------
  |  |   51|      7|    do {                    \
  |  |   52|      7|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 7]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      7|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 7]
  |  |  ------------------
  ------------------
 4454|      7|            if (have_dict) {
  ------------------
  |  Branch (4454:17): [True: 0, False: 7]
  ------------------
 4455|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4456|      0|            }
 4457|      7|            have_dict = 1;
 4458|      7|        }
 4459|     92|        assert(have_dict);
 4460|     92|    }
 4461|    118|    if (nkwelts == 0) {
  ------------------
  |  Branch (4461:9): [True: 26, False: 92]
  ------------------
 4462|     26|        ADDOP(c, loc, PUSH_NULL);
  ------------------
  |  |  290|     26|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4463|     26|    }
 4464|    118|    ADDOP(c, loc, CALL_FUNCTION_EX);
  ------------------
  |  |  290|    118|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    118|    do {                    \
  |  |  |  |   52|    118|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 118]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    118|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 118]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4465|    118|    return SUCCESS;
  ------------------
  |  |   47|    118|#define SUCCESS 0
  ------------------
 4466|    118|}
codegen.c:codegen_validate_keywords:
 4136|  9.04k|{
 4137|  9.04k|    Py_ssize_t nkeywords = asdl_seq_LEN(keywords);
  ------------------
  |  |   83|  9.04k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  18.0k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 8.35k, False: 696]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4138|  10.2k|    for (Py_ssize_t i = 0; i < nkeywords; i++) {
  ------------------
  |  Branch (4138:28): [True: 1.19k, False: 9.04k]
  ------------------
 4139|  1.19k|        keyword_ty key = ((keyword_ty)asdl_seq_GET(keywords, i));
  ------------------
  |  |   82|  1.19k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  1.19k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4140|  1.19k|        if (key->arg == NULL) {
  ------------------
  |  Branch (4140:13): [True: 170, False: 1.02k]
  ------------------
 4141|    170|            continue;
 4142|    170|        }
 4143|  2.14k|        for (Py_ssize_t j = i + 1; j < nkeywords; j++) {
  ------------------
  |  Branch (4143:36): [True: 1.12k, False: 1.02k]
  ------------------
 4144|  1.12k|            keyword_ty other = ((keyword_ty)asdl_seq_GET(keywords, j));
  ------------------
  |  |   82|  1.12k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  1.12k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4145|  1.12k|            if (other->arg && !PyUnicode_Compare(key->arg, other->arg)) {
  ------------------
  |  Branch (4145:17): [True: 1.04k, False: 74]
  |  Branch (4145:31): [True: 0, False: 1.04k]
  ------------------
 4146|      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 }
  |  |  ------------------
  ------------------
 4147|      0|            }
 4148|  1.12k|        }
 4149|  1.02k|    }
 4150|  9.04k|    return SUCCESS;
  ------------------
  |  |   47|  9.04k|#define SUCCESS 0
  ------------------
 4151|  9.04k|}
codegen.c:codegen_visit_keyword:
 5134|    563|{
 5135|    563|    VISIT(c, expr, k->value);
  ------------------
  |  |  452|    563|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    563|    do {                    \
  |  |  |  |   52|    563|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 563]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    563|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 563]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5136|    563|    return SUCCESS;
  ------------------
  |  |   47|    563|#define SUCCESS 0
  ------------------
 5137|    563|}
codegen.c:codegen_call_simple_kw_helper:
 4346|    303|{
 4347|    303|    PyObject *names;
 4348|    303|    names = PyTuple_New(nkwelts);
 4349|    303|    if (names == NULL) {
  ------------------
  |  Branch (4349:9): [True: 0, False: 303]
  ------------------
 4350|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 4351|      0|    }
 4352|    866|    for (Py_ssize_t i = 0; i < nkwelts; i++) {
  ------------------
  |  Branch (4352:28): [True: 563, False: 303]
  ------------------
 4353|    563|        keyword_ty kw = asdl_seq_GET(keywords, i);
  ------------------
  |  |   82|    563|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    563|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4354|    563|        PyTuple_SET_ITEM(names, i, Py_NewRef(kw->arg));
  ------------------
  |  |   40|    563|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    563|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    563|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    563|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    563|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4355|    563|    }
 4356|    303|    ADDOP_LOAD_CONST_NEW(c, loc, names);
  ------------------
  |  |  314|    303|    do {                                                                \
  |  |  315|    303|        PyObject *__new_const = (O);                                    \
  |  |  316|    303|        if (__new_const == NULL) {                                      \
  |  |  ------------------
  |  |  |  Branch (316:13): [True: 0, False: 303]
  |  |  ------------------
  |  |  317|      0|            return ERROR;                                               \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |  318|      0|        }                                                               \
  |  |  319|    303|        if (codegen_addop_load_const((C), (LOC), __new_const) < 0) {    \
  |  |  ------------------
  |  |  |  Branch (319:13): [True: 0, False: 303]
  |  |  ------------------
  |  |  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|    303|        Py_DECREF(__new_const);                                         \
  |  |  ------------------
  |  |  |  |  430|    303|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    303|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    303|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  324|    303|    } while (0)
  |  |  ------------------
  |  |  |  Branch (324:14): [Folded, False: 303]
  |  |  ------------------
  ------------------
 4357|    303|    return SUCCESS;
  ------------------
  |  |   47|    303|#define SUCCESS 0
  ------------------
 4358|    303|}
codegen.c:starunpack_helper_impl:
 3419|    922|{
 3420|    922|    Py_ssize_t n = asdl_seq_LEN(elts);
  ------------------
  |  |   83|    922|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  1.84k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 135, False: 787]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3421|    922|    int big = n + pushed + (injected_arg ? 1 : 0) > _PY_STACK_USE_GUIDELINE;
  ------------------
  |  |   24|    922|#define _PY_STACK_USE_GUIDELINE 30
  ------------------
  |  Branch (3421:29): [True: 0, False: 922]
  ------------------
 3422|    922|    int seen_star = 0;
 3423|  3.27k|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (3423:28): [True: 2.38k, False: 893]
  ------------------
 3424|  2.38k|        expr_ty elt = asdl_seq_GET(elts, i);
  ------------------
  |  |   82|  2.38k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  2.38k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 3425|  2.38k|        if (elt->kind == Starred_kind) {
  ------------------
  |  Branch (3425:13): [True: 29, False: 2.35k]
  ------------------
 3426|     29|            seen_star = 1;
 3427|     29|            break;
 3428|     29|        }
 3429|  2.38k|    }
 3430|    922|    if (!seen_star && !big) {
  ------------------
  |  Branch (3430:9): [True: 893, False: 29]
  |  Branch (3430:23): [True: 893, False: 0]
  ------------------
 3431|  3.19k|        for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (3431:32): [True: 2.30k, False: 893]
  ------------------
 3432|  2.30k|            expr_ty elt = asdl_seq_GET(elts, i);
  ------------------
  |  |   82|  2.30k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  2.30k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 3433|  2.30k|            VISIT(c, expr, elt);
  ------------------
  |  |  452|  2.30k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  2.30k|    do {                    \
  |  |  |  |   52|  2.30k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.30k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.30k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.30k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3434|  2.30k|        }
 3435|    893|        if (injected_arg) {
  ------------------
  |  Branch (3435:13): [True: 0, False: 893]
  ------------------
 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|    893|        if (tuple) {
  ------------------
  |  Branch (3439:13): [True: 652, False: 241]
  ------------------
 3440|    652|            ADDOP_I(c, loc, BUILD_TUPLE, n+pushed);
  ------------------
  |  |  276|    652|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    652|    do {                    \
  |  |  |  |   52|    652|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 652]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    652|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 652]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3441|    652|        } else {
 3442|    241|            ADDOP_I(c, loc, build, n+pushed);
  ------------------
  |  |  276|    241|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    241|    do {                    \
  |  |  |  |   52|    241|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 241]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    241|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 241]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3443|    241|        }
 3444|    893|        return SUCCESS;
  ------------------
  |  |   47|    893|#define SUCCESS 0
  ------------------
 3445|    893|    }
 3446|     29|    int sequence_built = 0;
 3447|     29|    if (big) {
  ------------------
  |  Branch (3447:9): [True: 0, False: 29]
  ------------------
 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|    104|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (3451:28): [True: 75, False: 29]
  ------------------
 3452|     75|        expr_ty elt = asdl_seq_GET(elts, i);
  ------------------
  |  |   82|     75|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|     75|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 3453|     75|        if (elt->kind == Starred_kind) {
  ------------------
  |  Branch (3453:13): [True: 29, False: 46]
  ------------------
 3454|     29|            if (sequence_built == 0) {
  ------------------
  |  Branch (3454:17): [True: 29, False: 0]
  ------------------
 3455|     29|                ADDOP_I(c, loc, build, i+pushed);
  ------------------
  |  |  276|     29|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     29|    do {                    \
  |  |  |  |   52|     29|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 29]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     29|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 29]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3456|     29|                sequence_built = 1;
 3457|     29|            }
 3458|     29|            VISIT(c, expr, elt->v.Starred.value);
  ------------------
  |  |  452|     29|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|     29|    do {                    \
  |  |  |  |   52|     29|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 29]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     29|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 29]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3459|     29|            ADDOP_I(c, loc, extend, 1);
  ------------------
  |  |  276|     29|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     29|    do {                    \
  |  |  |  |   52|     29|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 29]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     29|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 29]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3460|     29|        }
 3461|     46|        else {
 3462|     46|            VISIT(c, expr, elt);
  ------------------
  |  |  452|     46|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3463|     46|            if (sequence_built) {
  ------------------
  |  Branch (3463:17): [True: 0, False: 46]
  ------------------
 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|     46|        }
 3467|     75|    }
 3468|     29|    assert(sequence_built);
 3469|     29|    if (injected_arg) {
  ------------------
  |  Branch (3469:9): [True: 0, False: 29]
  ------------------
 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|     29|    if (tuple) {
  ------------------
  |  Branch (3473:9): [True: 29, False: 0]
  ------------------
 3474|     29|        ADDOP_I(c, loc, CALL_INTRINSIC_1, INTRINSIC_LIST_TO_TUPLE);
  ------------------
  |  |  276|     29|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     29|    do {                    \
  |  |  |  |   52|     29|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 29]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     29|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 29]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3475|     29|    }
 3476|     29|    return SUCCESS;
  ------------------
  |  |   47|     29|#define SUCCESS 0
  ------------------
 3477|     29|}
codegen.c:codegen_subkwargs:
 4318|     20|{
 4319|     20|    Py_ssize_t i, n = end - begin;
 4320|     20|    keyword_ty kw;
 4321|     20|    assert(n > 0);
 4322|     20|    int big = n*2 > _PY_STACK_USE_GUIDELINE;
  ------------------
  |  |   24|     20|#define _PY_STACK_USE_GUIDELINE 30
  ------------------
 4323|     20|    if (big) {
  ------------------
  |  Branch (4323:9): [True: 0, False: 20]
  ------------------
 4324|      0|        ADDOP_I(c, NO_LOCATION, BUILD_MAP, 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4325|      0|    }
 4326|     64|    for (i = begin; i < end; i++) {
  ------------------
  |  Branch (4326:21): [True: 44, False: 20]
  ------------------
 4327|     44|        kw = asdl_seq_GET(keywords, i);
  ------------------
  |  |   82|     44|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|     44|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4328|     44|        ADDOP_LOAD_CONST(c, loc, kw->arg);
  ------------------
  |  |  307|     44|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|     44|    do {                    \
  |  |  |  |   52|     44|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 44]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     44|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 44]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4329|     44|        VISIT(c, expr, kw->value);
  ------------------
  |  |  452|     44|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|     44|    do {                    \
  |  |  |  |   52|     44|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 44]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     44|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 44]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4330|     44|        if (big) {
  ------------------
  |  Branch (4330:13): [True: 0, False: 44]
  ------------------
 4331|      0|            ADDOP_I(c, NO_LOCATION, MAP_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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4332|      0|        }
 4333|     44|    }
 4334|     20|    if (!big) {
  ------------------
  |  Branch (4334:9): [True: 20, False: 0]
  ------------------
 4335|     20|        ADDOP_I(c, loc, BUILD_MAP, n);
  ------------------
  |  |  276|     20|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     20|    do {                    \
  |  |  |  |   52|     20|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 20]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     20|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 20]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4336|     20|    }
 4337|     20|    return SUCCESS;
  ------------------
  |  |   47|     20|#define SUCCESS 0
  ------------------
 4338|     20|}
codegen.c:codegen_call_helper:
 4473|  3.14k|{
 4474|       |    return codegen_call_helper_impl(c, loc, n, args, NULL, keywords);
 4475|  3.14k|}
codegen.c:codegen_return:
 2249|  1.49k|{
 2250|  1.49k|    location loc = LOC(s);
  ------------------
  |  |   88|  1.49k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  1.49k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  1.49k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  1.49k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  1.49k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  1.49k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2251|  1.49k|    int preserve_tos = ((s->v.Return.value != NULL) &&
  ------------------
  |  Branch (2251:25): [True: 1.30k, False: 191]
  ------------------
 2252|  1.30k|                        (s->v.Return.value->kind != Constant_kind));
  ------------------
  |  Branch (2252:25): [True: 1.14k, False: 163]
  ------------------
 2253|       |
 2254|  1.49k|    PySTEntryObject *ste = SYMTABLE_ENTRY(c);
  ------------------
  |  |   71|  1.49k|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
 2255|  1.49k|    if (!_PyST_IsFunctionLike(ste)) {
  ------------------
  |  Branch (2255:9): [True: 0, False: 1.49k]
  ------------------
 2256|      0|        return _PyCompile_Error(c, loc, "'return' outside function");
 2257|      0|    }
 2258|  1.49k|    if (s->v.Return.value != NULL && ste->ste_coroutine && ste->ste_generator) {
  ------------------
  |  Branch (2258:9): [True: 1.30k, False: 191]
  |  Branch (2258:38): [True: 103, False: 1.20k]
  |  Branch (2258:60): [True: 0, False: 103]
  ------------------
 2259|      0|        return _PyCompile_Error(c, loc, "'return' with value in async generator");
 2260|      0|    }
 2261|       |
 2262|  1.49k|    if (preserve_tos) {
  ------------------
  |  Branch (2262:9): [True: 1.14k, False: 354]
  ------------------
 2263|  1.14k|        VISIT(c, expr, s->v.Return.value);
  ------------------
  |  |  452|  1.14k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  1.14k|    do {                    \
  |  |  |  |   52|  1.14k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.14k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.14k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.14k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2264|  1.14k|    } else {
 2265|       |        /* Emit instruction with line number for return value */
 2266|    354|        if (s->v.Return.value != NULL) {
  ------------------
  |  Branch (2266:13): [True: 163, False: 191]
  ------------------
 2267|    163|            loc = LOC(s->v.Return.value);
  ------------------
  |  |   88|    163|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    163|    (_Py_SourceLocation){ \
  |  |  |  |   55|    163|               .lineno = (n)->lineno, \
  |  |  |  |   56|    163|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    163|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    163|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2268|    163|            ADDOP(c, loc, NOP);
  ------------------
  |  |  290|    163|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    163|    do {                    \
  |  |  |  |   52|    163|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 163]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    163|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 163]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2269|    163|        }
 2270|    354|    }
 2271|  1.49k|    if (s->v.Return.value == NULL || s->v.Return.value->lineno != s->lineno) {
  ------------------
  |  Branch (2271:9): [True: 191, False: 1.30k]
  |  Branch (2271:38): [True: 2, False: 1.30k]
  ------------------
 2272|    193|        loc = LOC(s);
  ------------------
  |  |   88|    193|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    193|    (_Py_SourceLocation){ \
  |  |  |  |   55|    193|               .lineno = (n)->lineno, \
  |  |  |  |   56|    193|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    193|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    193|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2273|    193|        ADDOP(c, loc, NOP);
  ------------------
  |  |  290|    193|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    193|    do {                    \
  |  |  |  |   52|    193|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 193]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    193|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 193]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2274|    193|    }
 2275|       |
 2276|  1.49k|    RETURN_IF_ERROR(codegen_unwind_fblock_stack(c, &loc, preserve_tos, NULL));
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
 2277|  1.49k|    if (s->v.Return.value == NULL) {
  ------------------
  |  Branch (2277:9): [True: 191, False: 1.30k]
  ------------------
 2278|    191|        ADDOP_LOAD_CONST(c, loc, Py_None);
  ------------------
  |  |  307|    191|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|    191|    do {                    \
  |  |  |  |   52|    191|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 191]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    191|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 191]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2279|    191|    }
 2280|  1.30k|    else if (!preserve_tos) {
  ------------------
  |  Branch (2280:14): [True: 163, False: 1.14k]
  ------------------
 2281|    163|        ADDOP_LOAD_CONST(c, loc, s->v.Return.value->v.Constant.value);
  ------------------
  |  |  307|    163|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|    163|    do {                    \
  |  |  |  |   52|    163|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 163]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    163|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 163]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2282|    163|    }
 2283|  1.49k|    ADDOP(c, loc, RETURN_VALUE);
  ------------------
  |  |  290|  1.49k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2284|       |
 2285|  1.49k|    return SUCCESS;
  ------------------
  |  |   47|  1.49k|#define SUCCESS 0
  ------------------
 2286|  1.49k|}
codegen.c:codegen_unwind_fblock_stack:
  651|  1.96k|{
  652|  1.96k|    fblockinfo *top = _PyCompile_TopFBlock(c);
  653|  1.96k|    if (top == NULL) {
  ------------------
  |  Branch (653:9): [True: 1.49k, False: 472]
  ------------------
  654|  1.49k|        return SUCCESS;
  ------------------
  |  |   47|  1.49k|#define SUCCESS 0
  ------------------
  655|  1.49k|    }
  656|    472|    if (top->fb_type == COMPILE_FBLOCK_EXCEPTION_GROUP_HANDLER) {
  ------------------
  |  Branch (656:9): [True: 0, False: 472]
  ------------------
  657|      0|        return _PyCompile_Error(
  658|      0|            c, *ploc, "'break', 'continue' and 'return' cannot appear in an except* block");
  659|      0|    }
  660|    472|    if (loop != NULL && (top->fb_type == COMPILE_FBLOCK_WHILE_LOOP ||
  ------------------
  |  Branch (660:9): [True: 114, False: 358]
  |  Branch (660:26): [True: 34, False: 80]
  ------------------
  661|     80|                         top->fb_type == COMPILE_FBLOCK_FOR_LOOP ||
  ------------------
  |  Branch (661:26): [True: 49, False: 31]
  ------------------
  662|     83|                         top->fb_type == COMPILE_FBLOCK_ASYNC_FOR_LOOP)) {
  ------------------
  |  Branch (662:26): [True: 0, False: 31]
  ------------------
  663|     83|        *loop = top;
  664|     83|        return SUCCESS;
  ------------------
  |  |   47|     83|#define SUCCESS 0
  ------------------
  665|     83|    }
  666|    389|    fblockinfo copy = *top;
  667|    389|    _PyCompile_PopFBlock(c, top->fb_type, top->fb_block);
  668|    389|    RETURN_IF_ERROR(codegen_unwind_fblock(c, ploc, &copy, preserve_tos));
  ------------------
  |  |   51|    389|    do {                    \
  |  |   52|    389|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 389]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    389|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 389]
  |  |  ------------------
  ------------------
  669|    389|    RETURN_IF_ERROR(codegen_unwind_fblock_stack(c, ploc, preserve_tos, loop));
  ------------------
  |  |   51|    389|    do {                    \
  |  |   52|    389|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 389]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    389|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 389]
  |  |  ------------------
  ------------------
  670|    389|    RETURN_IF_ERROR(_PyCompile_PushFBlock(c, copy.fb_loc, copy.fb_type, copy.fb_block,
  ------------------
  |  |   51|    389|    do {                    \
  |  |   52|    389|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 389]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    389|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 389]
  |  |  ------------------
  ------------------
  671|    389|                          copy.fb_exit, copy.fb_datum));
  672|    389|    return SUCCESS;
  ------------------
  |  |   47|    389|#define SUCCESS 0
  ------------------
  673|    389|}
codegen.c:codegen_unwind_fblock:
  537|    429|{
  538|    429|    switch (info->fb_type) {
  ------------------
  |  Branch (538:13): [True: 429, False: 0]
  ------------------
  539|     37|        case COMPILE_FBLOCK_WHILE_LOOP:
  ------------------
  |  Branch (539:9): [True: 37, False: 392]
  ------------------
  540|    107|        case COMPILE_FBLOCK_EXCEPTION_HANDLER:
  ------------------
  |  Branch (540:9): [True: 70, False: 359]
  ------------------
  541|    107|        case COMPILE_FBLOCK_EXCEPTION_GROUP_HANDLER:
  ------------------
  |  Branch (541:9): [True: 0, False: 429]
  ------------------
  542|    107|        case COMPILE_FBLOCK_ASYNC_COMPREHENSION_GENERATOR:
  ------------------
  |  Branch (542:9): [True: 0, False: 429]
  ------------------
  543|    224|        case COMPILE_FBLOCK_STOP_ITERATION:
  ------------------
  |  Branch (543:9): [True: 117, False: 312]
  ------------------
  544|    224|            return SUCCESS;
  ------------------
  |  |   47|    224|#define SUCCESS 0
  ------------------
  545|       |
  546|     30|        case COMPILE_FBLOCK_FOR_LOOP:
  ------------------
  |  Branch (546:9): [True: 30, False: 399]
  ------------------
  547|       |            /* Pop the iterator */
  548|     30|            if (preserve_tos) {
  ------------------
  |  Branch (548:17): [True: 7, False: 23]
  ------------------
  549|      7|                ADDOP_I(c, *ploc, SWAP, 3);
  ------------------
  |  |  276|      7|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      7|    do {                    \
  |  |  |  |   52|      7|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 7]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      7|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 7]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  550|      7|            }
  551|     30|            ADDOP(c, *ploc, POP_TOP);
  ------------------
  |  |  290|     30|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     30|    do {                    \
  |  |  |  |   52|     30|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 30]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     30|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 30]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  552|     30|            ADDOP(c, *ploc, POP_TOP);
  ------------------
  |  |  290|     30|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     30|    do {                    \
  |  |  |  |   52|     30|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 30]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     30|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 30]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  553|     30|            return SUCCESS;
  ------------------
  |  |   47|     30|#define SUCCESS 0
  ------------------
  554|       |
  555|      0|        case COMPILE_FBLOCK_ASYNC_FOR_LOOP:
  ------------------
  |  Branch (555:9): [True: 0, False: 429]
  ------------------
  556|       |            /* Pop the iterator */
  557|      0|            if (preserve_tos) {
  ------------------
  |  Branch (557:17): [True: 0, False: 0]
  ------------------
  558|      0|                ADDOP_I(c, *ploc, 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  559|      0|            }
  560|      0|            ADDOP(c, *ploc, 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  561|      0|            return SUCCESS;
  ------------------
  |  |   47|      0|#define SUCCESS 0
  ------------------
  562|       |
  563|     44|        case COMPILE_FBLOCK_TRY_EXCEPT:
  ------------------
  |  Branch (563:9): [True: 44, False: 385]
  ------------------
  564|     44|            ADDOP(c, *ploc, POP_BLOCK);
  ------------------
  |  |  290|     44|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     44|    do {                    \
  |  |  |  |   52|     44|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 44]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     44|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 44]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  565|     44|            return SUCCESS;
  ------------------
  |  |   47|     44|#define SUCCESS 0
  ------------------
  566|       |
  567|     30|        case COMPILE_FBLOCK_FINALLY_TRY:
  ------------------
  |  Branch (567:9): [True: 30, False: 399]
  ------------------
  568|       |            /* This POP_BLOCK gets the line number of the unwinding statement */
  569|     30|            ADDOP(c, *ploc, POP_BLOCK);
  ------------------
  |  |  290|     30|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     30|    do {                    \
  |  |  |  |   52|     30|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 30]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     30|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 30]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  570|     30|            if (preserve_tos) {
  ------------------
  |  Branch (570:17): [True: 27, False: 3]
  ------------------
  571|     27|                RETURN_IF_ERROR(
  ------------------
  |  |   51|     27|    do {                    \
  |  |   52|     27|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 27]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     27|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 27]
  |  |  ------------------
  ------------------
  572|     27|                    _PyCompile_PushFBlock(c, *ploc, COMPILE_FBLOCK_POP_VALUE,
  573|     27|                                          NO_LABEL, NO_LABEL, NULL));
  574|     27|            }
  575|       |            /* Emit the finally block */
  576|     30|            VISIT_SEQ(c, stmt, info->fb_datum);
  ------------------
  |  |  458|     30|    do {                                                                    \
  |  |  459|     30|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  460|     74|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|     74|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    148|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 74]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (460:26): [True: 44, False: 30]
  |  |  ------------------
  |  |  461|     44|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|     44|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     44|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  462|     44|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|     44|    do {                    \
  |  |  |  |   52|     44|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 44]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     44|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 44]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|     44|        }                                                                   \
  |  |  464|     30|    } while (0)
  |  |  ------------------
  |  |  |  Branch (464:14): [Folded, False: 30]
  |  |  ------------------
  ------------------
  577|     30|            if (preserve_tos) {
  ------------------
  |  Branch (577:17): [True: 27, False: 3]
  ------------------
  578|     27|                _PyCompile_PopFBlock(c, COMPILE_FBLOCK_POP_VALUE, NO_LABEL);
  ------------------
  |  |   57|     27|#define NO_LABEL ((const _PyJumpTargetLabel){-1})
  ------------------
  579|     27|            }
  580|       |            /* The finally block should appear to execute after the
  581|       |             * statement causing the unwinding, so make the unwinding
  582|       |             * instruction artificial */
  583|     30|            *ploc = NO_LOCATION;
  584|     30|            return SUCCESS;
  ------------------
  |  |   47|     30|#define SUCCESS 0
  ------------------
  585|       |
  586|      0|        case COMPILE_FBLOCK_FINALLY_END:
  ------------------
  |  Branch (586:9): [True: 0, False: 429]
  ------------------
  587|      0|            if (preserve_tos) {
  ------------------
  |  Branch (587:17): [True: 0, False: 0]
  ------------------
  588|      0|                ADDOP_I(c, *ploc, 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  589|      0|            }
  590|      0|            ADDOP(c, *ploc, POP_TOP); /* exc_value */
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  591|      0|            if (preserve_tos) {
  ------------------
  |  Branch (591:17): [True: 0, False: 0]
  ------------------
  592|      0|                ADDOP_I(c, *ploc, 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  593|      0|            }
  594|      0|            ADDOP(c, *ploc, POP_BLOCK);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  595|      0|            ADDOP(c, *ploc, POP_EXCEPT);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  596|      0|            return SUCCESS;
  ------------------
  |  |   47|      0|#define SUCCESS 0
  ------------------
  597|       |
  598|     29|        case COMPILE_FBLOCK_WITH:
  ------------------
  |  Branch (598:9): [True: 29, False: 400]
  ------------------
  599|     31|        case COMPILE_FBLOCK_ASYNC_WITH:
  ------------------
  |  Branch (599:9): [True: 2, False: 427]
  ------------------
  600|     31|            *ploc = info->fb_loc;
  601|     31|            ADDOP(c, *ploc, POP_BLOCK);
  ------------------
  |  |  290|     31|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     31|    do {                    \
  |  |  |  |   52|     31|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 31]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     31|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 31]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  602|     31|            if (preserve_tos) {
  ------------------
  |  Branch (602:17): [True: 25, False: 6]
  ------------------
  603|     25|                ADDOP_I(c, *ploc, SWAP, 3);
  ------------------
  |  |  276|     25|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     25|    do {                    \
  |  |  |  |   52|     25|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 25]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     25|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 25]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  604|     25|                ADDOP_I(c, *ploc, SWAP, 2);
  ------------------
  |  |  276|     25|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     25|    do {                    \
  |  |  |  |   52|     25|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 25]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     25|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 25]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  605|     25|            }
  606|     31|            RETURN_IF_ERROR(codegen_call_exit_with_nones(c, *ploc));
  ------------------
  |  |   51|     31|    do {                    \
  |  |   52|     31|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 31]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     31|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 31]
  |  |  ------------------
  ------------------
  607|     31|            if (info->fb_type == COMPILE_FBLOCK_ASYNC_WITH) {
  ------------------
  |  Branch (607:17): [True: 2, False: 29]
  ------------------
  608|      2|                ADDOP_I(c, *ploc, GET_AWAITABLE, 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  609|      2|                ADDOP(c, *ploc, 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  610|      2|                ADDOP_LOAD_CONST(c, *ploc, Py_None);
  ------------------
  |  |  307|      2|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  611|      2|                ADD_YIELD_FROM(c, *ploc, 1);
  ------------------
  |  |  439|      2|    RETURN_IF_ERROR(codegen_add_yield_from((C), (LOC), (await)))
  |  |  ------------------
  |  |  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  612|      2|            }
  613|     31|            ADDOP(c, *ploc, POP_TOP);
  ------------------
  |  |  290|     31|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     31|    do {                    \
  |  |  |  |   52|     31|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 31]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     31|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 31]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  614|       |            /* The exit block should appear to execute after the
  615|       |             * statement causing the unwinding, so make the unwinding
  616|       |             * instruction artificial */
  617|     31|            *ploc = NO_LOCATION;
  618|     31|            return SUCCESS;
  ------------------
  |  |   47|     31|#define SUCCESS 0
  ------------------
  619|       |
  620|     70|        case COMPILE_FBLOCK_HANDLER_CLEANUP: {
  ------------------
  |  Branch (620:9): [True: 70, False: 359]
  ------------------
  621|     70|            if (info->fb_datum) {
  ------------------
  |  Branch (621:17): [True: 20, False: 50]
  ------------------
  622|     20|                ADDOP(c, *ploc, POP_BLOCK);
  ------------------
  |  |  290|     20|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     20|    do {                    \
  |  |  |  |   52|     20|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 20]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     20|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 20]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  623|     20|            }
  624|     70|            if (preserve_tos) {
  ------------------
  |  Branch (624:17): [True: 17, False: 53]
  ------------------
  625|     17|                ADDOP_I(c, *ploc, SWAP, 2);
  ------------------
  |  |  276|     17|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     17|    do {                    \
  |  |  |  |   52|     17|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 17]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     17|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 17]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  626|     17|            }
  627|     70|            ADDOP(c, *ploc, POP_BLOCK);
  ------------------
  |  |  290|     70|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     70|    do {                    \
  |  |  |  |   52|     70|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 70]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     70|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 70]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  628|     70|            ADDOP(c, *ploc, POP_EXCEPT);
  ------------------
  |  |  290|     70|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     70|    do {                    \
  |  |  |  |   52|     70|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 70]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     70|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 70]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  629|     70|            if (info->fb_datum) {
  ------------------
  |  Branch (629:17): [True: 20, False: 50]
  ------------------
  630|     20|                ADDOP_LOAD_CONST(c, *ploc, Py_None);
  ------------------
  |  |  307|     20|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|     20|    do {                    \
  |  |  |  |   52|     20|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 20]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     20|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 20]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  631|     20|                RETURN_IF_ERROR(codegen_nameop(c, *ploc, info->fb_datum, Store));
  ------------------
  |  |   51|     20|    do {                    \
  |  |   52|     20|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 20]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     20|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
  632|     20|                RETURN_IF_ERROR(codegen_nameop(c, *ploc, info->fb_datum, Del));
  ------------------
  |  |   51|     20|    do {                    \
  |  |   52|     20|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 20]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     20|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
  633|     20|            }
  634|     70|            return SUCCESS;
  ------------------
  |  |   47|     70|#define SUCCESS 0
  ------------------
  635|     70|        }
  636|      0|        case COMPILE_FBLOCK_POP_VALUE: {
  ------------------
  |  Branch (636:9): [True: 0, False: 429]
  ------------------
  637|      0|            if (preserve_tos) {
  ------------------
  |  Branch (637:17): [True: 0, False: 0]
  ------------------
  638|      0|                ADDOP_I(c, *ploc, 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  639|      0|            }
  640|      0|            ADDOP(c, *ploc, 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  641|      0|            return SUCCESS;
  ------------------
  |  |   47|      0|#define SUCCESS 0
  ------------------
  642|      0|        }
  643|    429|    }
  644|      0|    Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  645|    429|}
codegen.c:codegen_call_exit_with_nones:
  480|     83|{
  481|     83|    ADDOP_LOAD_CONST(c, loc, Py_None);
  ------------------
  |  |  307|     83|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|     83|    do {                    \
  |  |  |  |   52|     83|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 83]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     83|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 83]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  482|     83|    ADDOP_LOAD_CONST(c, loc, Py_None);
  ------------------
  |  |  307|     83|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|     83|    do {                    \
  |  |  |  |   52|     83|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 83]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     83|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 83]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  483|     83|    ADDOP_LOAD_CONST(c, loc, Py_None);
  ------------------
  |  |  307|     83|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|     83|    do {                    \
  |  |  |  |   52|     83|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 83]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     83|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 83]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  484|     83|    ADDOP_I(c, loc, CALL, 3);
  ------------------
  |  |  276|     83|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     83|    do {                    \
  |  |  |  |   52|     83|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 83]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     83|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 83]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  485|     83|    return SUCCESS;
  ------------------
  |  |   47|     83|#define SUCCESS 0
  ------------------
  486|     83|}
codegen.c:codegen_add_yield_from:
  490|    156|{
  491|    156|    NEW_JUMP_TARGET_LABEL(c, send);
  ------------------
  |  |   91|    156|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    156|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|    156|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    156|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    156|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 156]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
  492|    156|    NEW_JUMP_TARGET_LABEL(c, fail);
  ------------------
  |  |   91|    156|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    156|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|    156|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    156|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    156|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 156]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
  493|    156|    NEW_JUMP_TARGET_LABEL(c, exit);
  ------------------
  |  |   91|    156|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    156|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|    156|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    156|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    156|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 156]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
  494|       |
  495|    156|    USE_LABEL(c, send);
  ------------------
  |  |   97|    156|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    156|    do {                    \
  |  |  |  |   52|    156|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 156]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    156|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 156]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  496|    156|    ADDOP_JUMP(c, loc, SEND, exit);
  ------------------
  |  |  427|    156|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|    156|    do {                    \
  |  |  |  |   52|    156|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 156]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    156|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 156]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  497|       |    // Set up a virtual try/except to handle when StopIteration is raised during
  498|       |    // a close or throw call. The only way YIELD_VALUE raises if they do!
  499|    156|    ADDOP_JUMP(c, loc, SETUP_FINALLY, fail);
  ------------------
  |  |  427|    156|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|    156|    do {                    \
  |  |  |  |   52|    156|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 156]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    156|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 156]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  500|    156|    ADDOP_I(c, loc, YIELD_VALUE, 1);
  ------------------
  |  |  276|    156|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    156|    do {                    \
  |  |  |  |   52|    156|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 156]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    156|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 156]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  501|    156|    ADDOP(c, NO_LOCATION, POP_BLOCK);
  ------------------
  |  |  290|    156|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    156|    do {                    \
  |  |  |  |   52|    156|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 156]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    156|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 156]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  502|    156|    ADDOP_I(c, loc, RESUME, await ? RESUME_AFTER_AWAIT : RESUME_AFTER_YIELD_FROM);
  ------------------
  |  |  276|    156|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    156|    do {                    \
  |  |  |  |   52|    312|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 156]
  |  |  |  |  |  Branch (52:14): [True: 145, False: 11]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    156|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 156]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  503|    156|    ADDOP_JUMP(c, loc, JUMP_NO_INTERRUPT, send);
  ------------------
  |  |  427|    156|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|    156|    do {                    \
  |  |  |  |   52|    156|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 156]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    156|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 156]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  504|       |
  505|    156|    USE_LABEL(c, fail);
  ------------------
  |  |   97|    156|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    156|    do {                    \
  |  |  |  |   52|    156|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 156]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    156|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 156]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  506|    156|    ADDOP(c, loc, CLEANUP_THROW);
  ------------------
  |  |  290|    156|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    156|    do {                    \
  |  |  |  |   52|    156|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 156]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    156|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 156]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  507|       |
  508|    156|    USE_LABEL(c, exit);
  ------------------
  |  |   97|    156|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    156|    do {                    \
  |  |  |  |   52|    156|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 156]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    156|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 156]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  509|    156|    ADDOP(c, loc, END_SEND);
  ------------------
  |  |  290|    156|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    156|    do {                    \
  |  |  |  |   52|    156|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 156]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    156|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 156]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  510|    156|    return SUCCESS;
  ------------------
  |  |   47|    156|#define SUCCESS 0
  ------------------
  511|    156|}
codegen.c:codegen_augassign:
 5551|    176|{
 5552|    176|    assert(s->kind == AugAssign_kind);
 5553|    176|    expr_ty e = s->v.AugAssign.target;
 5554|       |
 5555|    176|    location loc = LOC(e);
  ------------------
  |  |   88|    176|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    176|    (_Py_SourceLocation){ \
  |  |  |  |   55|    176|               .lineno = (n)->lineno, \
  |  |  |  |   56|    176|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    176|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    176|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 5556|       |
 5557|    176|    switch (e->kind) {
 5558|     49|    case Attribute_kind:
  ------------------
  |  Branch (5558:5): [True: 49, False: 127]
  ------------------
 5559|     49|        VISIT(c, expr, e->v.Attribute.value);
  ------------------
  |  |  452|     49|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|     49|    do {                    \
  |  |  |  |   52|     49|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 49]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     49|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 49]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5560|     49|        ADDOP_I(c, loc, COPY, 1);
  ------------------
  |  |  276|     49|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     49|    do {                    \
  |  |  |  |   52|     49|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 49]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     49|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 49]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5561|     49|        loc = update_start_location_to_match_attr(c, loc, e);
 5562|     49|        ADDOP_NAME(c, loc, LOAD_ATTR, e->v.Attribute.attr, names);
  ------------------
  |  |  411|     49|    RETURN_IF_ERROR(codegen_addop_name((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O)))
  |  |  ------------------
  |  |  |  |   51|     49|    do {                    \
  |  |  |  |   52|     49|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 49]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     49|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 49]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5563|     49|        break;
 5564|     49|    case Subscript_kind:
  ------------------
  |  Branch (5564:5): [True: 1, False: 175]
  ------------------
 5565|      1|        VISIT(c, expr, e->v.Subscript.value);
  ------------------
  |  |  452|      1|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|      1|    do {                    \
  |  |  |  |   52|      1|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      1|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5566|      1|        if (should_apply_two_element_slice_optimization(e->v.Subscript.slice)) {
  ------------------
  |  Branch (5566:13): [True: 0, False: 1]
  ------------------
 5567|      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]
  |  |  ------------------
  ------------------
 5568|      0|            ADDOP_I(c, loc, COPY, 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5569|      0|            ADDOP_I(c, loc, COPY, 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5570|      0|            ADDOP_I(c, loc, COPY, 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5571|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5572|      0|        }
 5573|      1|        else {
 5574|      1|            VISIT(c, expr, e->v.Subscript.slice);
  ------------------
  |  |  452|      1|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|      1|    do {                    \
  |  |  |  |   52|      1|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      1|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5575|      1|            ADDOP_I(c, loc, COPY, 2);
  ------------------
  |  |  276|      1|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      1|    do {                    \
  |  |  |  |   52|      1|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      1|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5576|      1|            ADDOP_I(c, loc, COPY, 2);
  ------------------
  |  |  276|      1|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      1|    do {                    \
  |  |  |  |   52|      1|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      1|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5577|      1|            ADDOP_I(c, loc, BINARY_OP, NB_SUBSCR);
  ------------------
  |  |  276|      1|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      1|    do {                    \
  |  |  |  |   52|      1|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      1|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5578|      1|        }
 5579|      1|        break;
 5580|    126|    case Name_kind:
  ------------------
  |  Branch (5580:5): [True: 126, False: 50]
  ------------------
 5581|    126|        RETURN_IF_ERROR(codegen_nameop(c, loc, e->v.Name.id, Load));
  ------------------
  |  |   51|    126|    do {                    \
  |  |   52|    126|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 126]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    126|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 126]
  |  |  ------------------
  ------------------
 5582|    126|        break;
 5583|    126|    default:
  ------------------
  |  Branch (5583:5): [True: 0, False: 176]
  ------------------
 5584|      0|        PyErr_Format(PyExc_SystemError,
 5585|      0|            "invalid node type (%d) for augmented assignment",
 5586|      0|            e->kind);
 5587|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 5588|    176|    }
 5589|       |
 5590|    176|    loc = LOC(s);
  ------------------
  |  |   88|    176|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    176|    (_Py_SourceLocation){ \
  |  |  |  |   55|    176|               .lineno = (n)->lineno, \
  |  |  |  |   56|    176|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    176|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    176|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 5591|       |
 5592|    176|    VISIT(c, expr, s->v.AugAssign.value);
  ------------------
  |  |  452|    176|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    176|    do {                    \
  |  |  |  |   52|    176|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 176]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    176|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 176]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5593|    176|    ADDOP_INPLACE(c, loc, s->v.AugAssign.op);
  ------------------
  |  |  436|    176|    RETURN_IF_ERROR(addop_binary((C), (LOC), (BINOP), true))
  |  |  ------------------
  |  |  |  |   51|    176|    do {                    \
  |  |  |  |   52|    176|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 176]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    176|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 176]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5594|       |
 5595|    176|    loc = LOC(e);
  ------------------
  |  |   88|    176|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    176|    (_Py_SourceLocation){ \
  |  |  |  |   55|    176|               .lineno = (n)->lineno, \
  |  |  |  |   56|    176|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    176|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    176|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 5596|       |
 5597|    176|    switch (e->kind) {
 5598|     49|    case Attribute_kind:
  ------------------
  |  Branch (5598:5): [True: 49, False: 127]
  ------------------
 5599|     49|        loc = update_start_location_to_match_attr(c, loc, e);
 5600|     49|        ADDOP_I(c, loc, SWAP, 2);
  ------------------
  |  |  276|     49|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     49|    do {                    \
  |  |  |  |   52|     49|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 49]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     49|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 49]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5601|     49|        ADDOP_NAME(c, loc, STORE_ATTR, e->v.Attribute.attr, names);
  ------------------
  |  |  411|     49|    RETURN_IF_ERROR(codegen_addop_name((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O)))
  |  |  ------------------
  |  |  |  |   51|     49|    do {                    \
  |  |  |  |   52|     49|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 49]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     49|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 49]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5602|     49|        break;
 5603|     49|    case Subscript_kind:
  ------------------
  |  Branch (5603:5): [True: 1, False: 175]
  ------------------
 5604|      1|        if (should_apply_two_element_slice_optimization(e->v.Subscript.slice)) {
  ------------------
  |  Branch (5604:13): [True: 0, False: 1]
  ------------------
 5605|      0|            ADDOP_I(c, loc, SWAP, 4);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5606|      0|            ADDOP_I(c, loc, SWAP, 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5607|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5608|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5609|      0|        }
 5610|      1|        else {
 5611|      1|            ADDOP_I(c, loc, SWAP, 3);
  ------------------
  |  |  276|      1|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      1|    do {                    \
  |  |  |  |   52|      1|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      1|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5612|      1|            ADDOP_I(c, loc, SWAP, 2);
  ------------------
  |  |  276|      1|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      1|    do {                    \
  |  |  |  |   52|      1|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      1|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5613|      1|            ADDOP(c, loc, STORE_SUBSCR);
  ------------------
  |  |  290|      1|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      1|    do {                    \
  |  |  |  |   52|      1|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      1|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5614|      1|        }
 5615|      1|        break;
 5616|    126|    case Name_kind:
  ------------------
  |  Branch (5616:5): [True: 126, False: 50]
  ------------------
 5617|    126|        return codegen_nameop(c, loc, e->v.Name.id, Store);
 5618|      0|    default:
  ------------------
  |  Branch (5618:5): [True: 0, False: 176]
  ------------------
 5619|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 5620|    176|    }
 5621|     50|    return SUCCESS;
  ------------------
  |  |   47|     50|#define SUCCESS 0
  ------------------
 5622|    176|}
codegen.c:update_start_location_to_match_attr:
 3924|  12.0k|{
 3925|  12.0k|    assert(attr->kind == Attribute_kind);
 3926|  12.0k|    if (loc.lineno != attr->end_lineno) {
  ------------------
  |  Branch (3926:9): [True: 20, False: 12.0k]
  ------------------
 3927|     20|        loc.lineno = attr->end_lineno;
 3928|     20|        int len = (int)PyUnicode_GET_LENGTH(attr->v.Attribute.attr);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3929|     20|        if (len <= attr->end_col_offset) {
  ------------------
  |  Branch (3929:13): [True: 20, False: 0]
  ------------------
 3930|     20|            loc.col_offset = attr->end_col_offset - len;
 3931|     20|        }
 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|     20|        loc.end_lineno = Py_MAX(loc.lineno, loc.end_lineno);
  ------------------
  |  |  115|     20|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 0, False: 20]
  |  |  ------------------
  ------------------
 3940|     20|        if (loc.lineno == loc.end_lineno) {
  ------------------
  |  Branch (3940:13): [True: 18, False: 2]
  ------------------
 3941|     18|            loc.end_col_offset = Py_MAX(loc.col_offset, loc.end_col_offset);
  ------------------
  |  |  115|     18|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 0, False: 18]
  |  |  ------------------
  ------------------
 3942|     18|        }
 3943|     20|    }
 3944|  12.0k|    return loc;
 3945|  12.0k|}
codegen.c:codegen_addop_name:
  379|  9.64k|{
  380|  9.64k|    int shift = 0, low = 0;
  381|  9.64k|    if (opcode == LOAD_ATTR) {
  ------------------
  |  |   92|  9.64k|#define LOAD_ATTR                               79
  ------------------
  |  Branch (381:9): [True: 5.21k, False: 4.42k]
  ------------------
  382|  5.21k|        shift = 1;
  383|  5.21k|    }
  384|  9.64k|    if (opcode == LOAD_METHOD) {
  ------------------
  |  |  354|  9.64k|#define LOAD_METHOD -1
  ------------------
  |  Branch (384:9): [True: 2.78k, False: 6.85k]
  ------------------
  385|  2.78k|        opcode = LOAD_ATTR;
  ------------------
  |  |   92|  2.78k|#define LOAD_ATTR                               79
  ------------------
  386|  2.78k|        shift = 1;
  387|  2.78k|        low = 1;
  388|  2.78k|    }
  389|  9.64k|    if (opcode == LOAD_SUPER_ATTR) {
  ------------------
  |  |  108|  9.64k|#define LOAD_SUPER_ATTR                         95
  ------------------
  |  Branch (389:9): [True: 0, False: 9.64k]
  ------------------
  390|      0|        shift = 2;
  391|      0|        low = 2;
  392|      0|    }
  393|  9.64k|    if (opcode == LOAD_SUPER_METHOD) {
  ------------------
  |  |  355|  9.64k|#define LOAD_SUPER_METHOD -2
  ------------------
  |  Branch (393:9): [True: 65, False: 9.57k]
  ------------------
  394|     65|        opcode = LOAD_SUPER_ATTR;
  ------------------
  |  |  108|     65|#define LOAD_SUPER_ATTR                         95
  ------------------
  395|     65|        shift = 2;
  396|     65|        low = 3;
  397|     65|    }
  398|  9.64k|    if (opcode == LOAD_ZERO_SUPER_ATTR) {
  ------------------
  |  |  356|  9.64k|#define LOAD_ZERO_SUPER_ATTR -3
  ------------------
  |  Branch (398:9): [True: 1, False: 9.64k]
  ------------------
  399|      1|        opcode = LOAD_SUPER_ATTR;
  ------------------
  |  |  108|      1|#define LOAD_SUPER_ATTR                         95
  ------------------
  400|      1|        shift = 2;
  401|      1|    }
  402|  9.64k|    if (opcode == LOAD_ZERO_SUPER_METHOD) {
  ------------------
  |  |  357|  9.64k|#define LOAD_ZERO_SUPER_METHOD -4
  ------------------
  |  Branch (402:9): [True: 50, False: 9.59k]
  ------------------
  403|     50|        opcode = LOAD_SUPER_ATTR;
  ------------------
  |  |  108|     50|#define LOAD_SUPER_ATTR                         95
  ------------------
  404|     50|        shift = 2;
  405|     50|        low = 1;
  406|     50|    }
  407|  9.64k|    return codegen_addop_name_custom(c, loc, opcode, dict, o, shift, low);
  408|  9.64k|}
codegen.c:codegen_addop_name_custom:
  362|  10.0k|{
  363|  10.0k|    PyObject *mangled = _PyCompile_MaybeMangle(c, o);
  364|  10.0k|    if (!mangled) {
  ------------------
  |  Branch (364:9): [True: 0, False: 10.0k]
  ------------------
  365|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
  366|      0|    }
  367|  10.0k|    Py_ssize_t arg = _PyCompile_DictAddObj(dict, mangled);
  368|  10.0k|    Py_DECREF(mangled);
  ------------------
  |  |  430|  10.0k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  369|  10.0k|    if (arg < 0) {
  ------------------
  |  Branch (369:9): [True: 0, False: 10.0k]
  ------------------
  370|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
  371|      0|    }
  372|  10.0k|    ADDOP_I(c, loc, opcode, (arg << shift) | low);
  ------------------
  |  |  276|  10.0k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  10.0k|    do {                    \
  |  |  |  |   52|  10.0k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 10.0k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  10.0k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10.0k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  373|  10.0k|    return SUCCESS;
  ------------------
  |  |   47|  10.0k|#define SUCCESS 0
  ------------------
  374|  10.0k|}
codegen.c:should_apply_two_element_slice_optimization:
 5543|    468|{
 5544|    468|    return !is_constant_slice(s) &&
  ------------------
  |  Branch (5544:12): [True: 448, False: 20]
  ------------------
 5545|    448|           s->kind == Slice_kind &&
  ------------------
  |  Branch (5545:12): [True: 55, False: 393]
  ------------------
 5546|     55|           s->v.Slice.step == NULL;
  ------------------
  |  Branch (5546:12): [True: 55, False: 0]
  ------------------
 5547|    468|}
codegen.c:is_constant_slice:
 5531|    491|{
 5532|    491|    return s->kind == Slice_kind &&
  ------------------
  |  Branch (5532:12): [True: 98, False: 393]
  ------------------
 5533|     98|        (s->v.Slice.lower == NULL ||
  ------------------
  |  Branch (5533:10): [True: 41, False: 57]
  ------------------
 5534|     57|         s->v.Slice.lower->kind == Constant_kind) &&
  ------------------
  |  Branch (5534:10): [True: 29, False: 28]
  ------------------
 5535|     70|        (s->v.Slice.upper == NULL ||
  ------------------
  |  Branch (5535:10): [True: 32, False: 38]
  ------------------
 5536|     38|         s->v.Slice.upper->kind == Constant_kind) &&
  ------------------
  |  Branch (5536:10): [True: 8, False: 30]
  ------------------
 5537|     40|        (s->v.Slice.step == NULL ||
  ------------------
  |  Branch (5537:10): [True: 40, False: 0]
  ------------------
 5538|      0|         s->v.Slice.step->kind == Constant_kind);
  ------------------
  |  Branch (5538:10): [True: 0, False: 0]
  ------------------
 5539|    491|}
codegen.c:codegen_slice_two_parts:
 5773|     55|{
 5774|     55|    if (s->v.Slice.lower) {
  ------------------
  |  Branch (5774:9): [True: 35, False: 20]
  ------------------
 5775|     35|        VISIT(c, expr, s->v.Slice.lower);
  ------------------
  |  |  452|     35|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|     35|    do {                    \
  |  |  |  |   52|     35|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 35]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     35|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 35]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5776|     35|    }
 5777|     20|    else {
 5778|     20|        ADDOP_LOAD_CONST(c, LOC(s), Py_None);
  ------------------
  |  |  307|     20|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|     20|    do {                    \
  |  |  |  |   52|     20|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 20]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     20|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 20]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5779|     20|    }
 5780|       |
 5781|     55|    if (s->v.Slice.upper) {
  ------------------
  |  Branch (5781:9): [True: 36, False: 19]
  ------------------
 5782|     36|        VISIT(c, expr, s->v.Slice.upper);
  ------------------
  |  |  452|     36|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|     36|    do {                    \
  |  |  |  |   52|     36|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 36]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     36|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 36]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5783|     36|    }
 5784|     19|    else {
 5785|     19|        ADDOP_LOAD_CONST(c, LOC(s), Py_None);
  ------------------
  |  |  307|     19|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|     19|    do {                    \
  |  |  |  |   52|     19|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 19]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     19|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 19]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5786|     19|    }
 5787|       |
 5788|     55|    return 0;
 5789|     55|}
codegen.c:addop_binary:
 3210|    647|{
 3211|    647|    int oparg;
 3212|    647|    switch (binop) {
 3213|    341|        case Add:
  ------------------
  |  Branch (3213:9): [True: 341, False: 306]
  ------------------
 3214|    341|            oparg = inplace ? NB_INPLACE_ADD : NB_ADD;
  ------------------
  |  |   23|    136|#define NB_INPLACE_ADD                          13
  ------------------
                          oparg = inplace ? NB_INPLACE_ADD : NB_ADD;
  ------------------
  |  |   10|    546|#define NB_ADD                                   0
  ------------------
  |  Branch (3214:21): [True: 136, False: 205]
  ------------------
 3215|    341|            break;
 3216|    129|        case Sub:
  ------------------
  |  Branch (3216:9): [True: 129, False: 518]
  ------------------
 3217|    129|            oparg = inplace ? NB_INPLACE_SUBTRACT : NB_SUBTRACT;
  ------------------
  |  |   33|     35|#define NB_INPLACE_SUBTRACT                     23
  ------------------
                          oparg = inplace ? NB_INPLACE_SUBTRACT : NB_SUBTRACT;
  ------------------
  |  |   20|    223|#define NB_SUBTRACT                             10
  ------------------
  |  Branch (3217:21): [True: 35, False: 94]
  ------------------
 3218|    129|            break;
 3219|     43|        case Mult:
  ------------------
  |  Branch (3219:9): [True: 43, False: 604]
  ------------------
 3220|     43|            oparg = inplace ? NB_INPLACE_MULTIPLY : NB_MULTIPLY;
  ------------------
  |  |   28|      1|#define NB_INPLACE_MULTIPLY                     18
  ------------------
                          oparg = inplace ? NB_INPLACE_MULTIPLY : NB_MULTIPLY;
  ------------------
  |  |   15|     85|#define NB_MULTIPLY                              5
  ------------------
  |  Branch (3220:21): [True: 1, False: 42]
  ------------------
 3221|     43|            break;
 3222|      0|        case MatMult:
  ------------------
  |  Branch (3222:9): [True: 0, False: 647]
  ------------------
 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|      2|        case Div:
  ------------------
  |  Branch (3225:9): [True: 2, False: 645]
  ------------------
 3226|      2|            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|      4|#define NB_TRUE_DIVIDE                          11
  ------------------
  |  Branch (3226:21): [True: 0, False: 2]
  ------------------
 3227|      2|            break;
 3228|     93|        case Mod:
  ------------------
  |  Branch (3228:9): [True: 93, False: 554]
  ------------------
 3229|     93|            oparg = inplace ? NB_INPLACE_REMAINDER : NB_REMAINDER;
  ------------------
  |  |   29|      0|#define NB_INPLACE_REMAINDER                    19
  ------------------
                          oparg = inplace ? NB_INPLACE_REMAINDER : NB_REMAINDER;
  ------------------
  |  |   16|    186|#define NB_REMAINDER                             6
  ------------------
  |  Branch (3229:21): [True: 0, False: 93]
  ------------------
 3230|     93|            break;
 3231|      2|        case Pow:
  ------------------
  |  Branch (3231:9): [True: 2, False: 645]
  ------------------
 3232|      2|            oparg = inplace ? NB_INPLACE_POWER : NB_POWER;
  ------------------
  |  |   31|      0|#define NB_INPLACE_POWER                        21
  ------------------
                          oparg = inplace ? NB_INPLACE_POWER : NB_POWER;
  ------------------
  |  |   18|      4|#define NB_POWER                                 8
  ------------------
  |  Branch (3232:21): [True: 0, False: 2]
  ------------------
 3233|      2|            break;
 3234|      0|        case LShift:
  ------------------
  |  Branch (3234:9): [True: 0, False: 647]
  ------------------
 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: 647]
  ------------------
 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|     27|        case BitOr:
  ------------------
  |  Branch (3240:9): [True: 27, False: 620]
  ------------------
 3241|     27|            oparg = inplace ? NB_INPLACE_OR : NB_OR;
  ------------------
  |  |   30|      2|#define NB_INPLACE_OR                           20
  ------------------
                          oparg = inplace ? NB_INPLACE_OR : NB_OR;
  ------------------
  |  |   17|     52|#define NB_OR                                    7
  ------------------
  |  Branch (3241:21): [True: 2, False: 25]
  ------------------
 3242|     27|            break;
 3243|      0|        case BitXor:
  ------------------
  |  Branch (3243:9): [True: 0, False: 647]
  ------------------
 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|      5|        case BitAnd:
  ------------------
  |  Branch (3246:9): [True: 5, False: 642]
  ------------------
 3247|      5|            oparg = inplace ? NB_INPLACE_AND : NB_AND;
  ------------------
  |  |   24|      2|#define NB_INPLACE_AND                          14
  ------------------
                          oparg = inplace ? NB_INPLACE_AND : NB_AND;
  ------------------
  |  |   11|      8|#define NB_AND                                   1
  ------------------
  |  Branch (3247:21): [True: 2, False: 3]
  ------------------
 3248|      5|            break;
 3249|      5|        case FloorDiv:
  ------------------
  |  Branch (3249:9): [True: 5, False: 642]
  ------------------
 3250|      5|            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|     10|#define NB_FLOOR_DIVIDE                          2
  ------------------
  |  Branch (3250:21): [True: 0, False: 5]
  ------------------
 3251|      5|            break;
 3252|      0|        default:
  ------------------
  |  Branch (3252:9): [True: 0, False: 647]
  ------------------
 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|    647|    }
 3257|    647|    ADDOP_I(c, loc, BINARY_OP, oparg);
  ------------------
  |  |  276|    647|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    647|    do {                    \
  |  |  |  |   52|    647|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 647]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    647|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 647]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3258|    647|    return SUCCESS;
  ------------------
  |  |   47|    647|#define SUCCESS 0
  ------------------
 3259|    647|}
codegen.c:codegen_annassign:
 5664|     10|{
 5665|     10|    location loc = LOC(s);
  ------------------
  |  |   88|     10|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|     10|    (_Py_SourceLocation){ \
  |  |  |  |   55|     10|               .lineno = (n)->lineno, \
  |  |  |  |   56|     10|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|     10|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|     10|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 5666|     10|    expr_ty targ = s->v.AnnAssign.target;
 5667|     10|    bool future_annotations = FUTURE_FEATURES(c) & CO_FUTURE_ANNOTATIONS;
  ------------------
  |  |   69|     10|#define FUTURE_FEATURES(C) _PyCompile_FutureFeatures(C)
  ------------------
                  bool future_annotations = FUTURE_FEATURES(c) & CO_FUTURE_ANNOTATIONS;
  ------------------
  |  |  143|     10|#define CO_FUTURE_ANNOTATIONS    0x1000000
  ------------------
 5668|     10|    PyObject *mangled;
 5669|       |
 5670|     10|    assert(s->kind == AnnAssign_kind);
 5671|       |
 5672|       |    /* We perform the actual assignment first. */
 5673|     10|    if (s->v.AnnAssign.value) {
  ------------------
  |  Branch (5673:9): [True: 6, False: 4]
  ------------------
 5674|      6|        VISIT(c, expr, s->v.AnnAssign.value);
  ------------------
  |  |  452|      6|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5675|      6|        VISIT(c, expr, targ);
  ------------------
  |  |  452|      6|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5676|      6|    }
 5677|     10|    switch (targ->kind) {
 5678|      8|    case Name_kind:
  ------------------
  |  Branch (5678:5): [True: 8, False: 2]
  ------------------
 5679|       |        /* If we have a simple name in a module or class, store annotation. */
 5680|      8|        if (s->v.AnnAssign.simple &&
  ------------------
  |  Branch (5680:13): [True: 8, False: 0]
  ------------------
 5681|      8|            (SCOPE_TYPE(c) == COMPILE_SCOPE_MODULE ||
  ------------------
  |  |   74|      8|#define SCOPE_TYPE(C) _PyCompile_ScopeType(C)
  ------------------
  |  Branch (5681:14): [True: 0, False: 8]
  ------------------
 5682|      8|             SCOPE_TYPE(c) == COMPILE_SCOPE_CLASS)) {
  ------------------
  |  |   74|      8|#define SCOPE_TYPE(C) _PyCompile_ScopeType(C)
  ------------------
  |  Branch (5682:14): [True: 4, False: 4]
  ------------------
 5683|      4|            if (future_annotations) {
  ------------------
  |  Branch (5683:17): [True: 0, False: 4]
  ------------------
 5684|      0|                VISIT(c, annexpr, s->v.AnnAssign.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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5685|      0|                ADDOP_NAME(c, loc, LOAD_NAME, &_Py_ID(__annotations__), 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5686|      0|                mangled = _PyCompile_MaybeMangle(c, targ->v.Name.id);
 5687|      0|                ADDOP_LOAD_CONST_NEW(c, loc, mangled);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 5688|      0|                ADDOP(c, loc, STORE_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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5689|      0|            }
 5690|      4|            else {
 5691|      4|                PyObject *conditional_annotation_index = NULL;
 5692|      4|                RETURN_IF_ERROR(_PyCompile_AddDeferredAnnotation(
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
 5693|      4|                    c, s, &conditional_annotation_index));
 5694|      4|                if (conditional_annotation_index != NULL) {
  ------------------
  |  Branch (5694:21): [True: 0, False: 4]
  ------------------
 5695|      0|                    if (SCOPE_TYPE(c) == COMPILE_SCOPE_CLASS) {
  ------------------
  |  |   74|      0|#define SCOPE_TYPE(C) _PyCompile_ScopeType(C)
  ------------------
  |  Branch (5695:25): [True: 0, False: 0]
  ------------------
 5696|      0|                        ADDOP_NAME(c, loc, LOAD_DEREF, &_Py_ID(__conditional_annotations__), cellvars);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5697|      0|                    }
 5698|      0|                    else {
 5699|      0|                        ADDOP_NAME(c, loc, LOAD_NAME, &_Py_ID(__conditional_annotations__), 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5700|      0|                    }
 5701|      0|                    ADDOP_LOAD_CONST_NEW(c, loc, conditional_annotation_index);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 5702|      0|                    ADDOP_I(c, loc, SET_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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5703|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5704|      0|                }
 5705|      4|            }
 5706|      4|        }
 5707|      8|        break;
 5708|      8|    case Attribute_kind:
  ------------------
  |  Branch (5708:5): [True: 2, False: 8]
  ------------------
 5709|      2|        if (!s->v.AnnAssign.value &&
  ------------------
  |  Branch (5709:13): [True: 0, False: 2]
  ------------------
 5710|      0|            codegen_check_ann_expr(c, targ->v.Attribute.value) < 0) {
  ------------------
  |  Branch (5710:13): [True: 0, False: 0]
  ------------------
 5711|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 5712|      0|        }
 5713|      2|        break;
 5714|      2|    case Subscript_kind:
  ------------------
  |  Branch (5714:5): [True: 0, False: 10]
  ------------------
 5715|      0|        if (!s->v.AnnAssign.value &&
  ------------------
  |  Branch (5715:13): [True: 0, False: 0]
  ------------------
 5716|      0|            (codegen_check_ann_expr(c, targ->v.Subscript.value) < 0 ||
  ------------------
  |  Branch (5716:14): [True: 0, False: 0]
  ------------------
 5717|      0|             codegen_check_ann_subscr(c, targ->v.Subscript.slice) < 0)) {
  ------------------
  |  Branch (5717:14): [True: 0, False: 0]
  ------------------
 5718|      0|                return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 5719|      0|        }
 5720|      0|        break;
 5721|      0|    default:
  ------------------
  |  Branch (5721:5): [True: 0, False: 10]
  ------------------
 5722|      0|        PyErr_Format(PyExc_SystemError,
 5723|      0|                     "invalid node type (%d) for annotated assignment",
 5724|      0|                     targ->kind);
 5725|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 5726|     10|    }
 5727|     10|    return SUCCESS;
  ------------------
  |  |   47|     10|#define SUCCESS 0
  ------------------
 5728|     10|}
codegen.c:codegen_for:
 2128|    197|{
 2129|    197|    location loc = LOC(s);
  ------------------
  |  |   88|    197|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    197|    (_Py_SourceLocation){ \
  |  |  |  |   55|    197|               .lineno = (n)->lineno, \
  |  |  |  |   56|    197|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    197|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    197|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2130|    197|    NEW_JUMP_TARGET_LABEL(c, start);
  ------------------
  |  |   91|    197|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    197|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|    197|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    197|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    197|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 197]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2131|    197|    NEW_JUMP_TARGET_LABEL(c, body);
  ------------------
  |  |   91|    197|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    197|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|    197|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    197|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    197|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 197]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2132|    197|    NEW_JUMP_TARGET_LABEL(c, cleanup);
  ------------------
  |  |   91|    197|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    197|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|    197|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    197|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    197|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 197]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2133|    197|    NEW_JUMP_TARGET_LABEL(c, end);
  ------------------
  |  |   91|    197|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    197|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|    197|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    197|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    197|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 197]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2134|       |
 2135|    197|    RETURN_IF_ERROR(_PyCompile_PushFBlock(c, loc, COMPILE_FBLOCK_FOR_LOOP, start, end, NULL));
  ------------------
  |  |   51|    197|    do {                    \
  |  |   52|    197|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 197]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    197|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 197]
  |  |  ------------------
  ------------------
 2136|       |
 2137|    197|    VISIT(c, expr, s->v.For.iter);
  ------------------
  |  |  452|    197|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    197|    do {                    \
  |  |  |  |   52|    197|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 197]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    197|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 197]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2138|       |
 2139|    197|    loc = LOC(s->v.For.iter);
  ------------------
  |  |   88|    197|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    197|    (_Py_SourceLocation){ \
  |  |  |  |   55|    197|               .lineno = (n)->lineno, \
  |  |  |  |   56|    197|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    197|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    197|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2140|    197|    ADDOP_I(c, loc, GET_ITER, 0);
  ------------------
  |  |  276|    197|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    197|    do {                    \
  |  |  |  |   52|    197|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 197]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    197|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 197]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2141|       |
 2142|    197|    USE_LABEL(c, start);
  ------------------
  |  |   97|    197|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    197|    do {                    \
  |  |  |  |   52|    197|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 197]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    197|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 197]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2143|    197|    ADDOP_JUMP(c, loc, FOR_ITER, cleanup);
  ------------------
  |  |  427|    197|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|    197|    do {                    \
  |  |  |  |   52|    197|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 197]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    197|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 197]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2144|       |
 2145|       |    /* Add NOP to ensure correct line tracing of multiline for statements.
 2146|       |     * It will be removed later if redundant.
 2147|       |     */
 2148|    197|    ADDOP(c, LOC(s->v.For.target), NOP);
  ------------------
  |  |  290|    197|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    197|    do {                    \
  |  |  |  |   52|    197|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 197]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    197|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 197]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2149|       |
 2150|    197|    USE_LABEL(c, body);
  ------------------
  |  |   97|    197|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    197|    do {                    \
  |  |  |  |   52|    197|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 197]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    197|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 197]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2151|    197|    VISIT(c, expr, s->v.For.target);
  ------------------
  |  |  452|    197|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    197|    do {                    \
  |  |  |  |   52|    197|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 197]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    197|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 197]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2152|    197|    VISIT_SEQ(c, stmt, s->v.For.body);
  ------------------
  |  |  458|    197|    do {                                                                    \
  |  |  459|    197|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  460|    606|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|    606|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.21k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 606]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (460:26): [True: 409, False: 197]
  |  |  ------------------
  |  |  461|    409|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|    409|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    409|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  462|    409|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|    409|    do {                    \
  |  |  |  |   52|    409|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 409]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    409|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 409]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|    409|        }                                                                   \
  |  |  464|    197|    } while (0)
  |  |  ------------------
  |  |  |  Branch (464:14): [Folded, False: 197]
  |  |  ------------------
  ------------------
 2153|       |    /* Mark jump as artificial */
 2154|    197|    ADDOP_JUMP(c, NO_LOCATION, JUMP, start);
  ------------------
  |  |  427|    197|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|    197|    do {                    \
  |  |  |  |   52|    197|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 197]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    197|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 197]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2155|       |
 2156|    197|    USE_LABEL(c, cleanup);
  ------------------
  |  |   97|    197|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    197|    do {                    \
  |  |  |  |   52|    197|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 197]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    197|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 197]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 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|    197|    ADDOP(c, NO_LOCATION, END_FOR);
  ------------------
  |  |  290|    197|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    197|    do {                    \
  |  |  |  |   52|    197|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 197]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    197|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 197]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2162|    197|    ADDOP(c, NO_LOCATION, POP_ITER);
  ------------------
  |  |  290|    197|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    197|    do {                    \
  |  |  |  |   52|    197|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 197]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    197|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 197]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2163|       |
 2164|    197|    _PyCompile_PopFBlock(c, COMPILE_FBLOCK_FOR_LOOP, start);
 2165|       |
 2166|    197|    VISIT_SEQ(c, stmt, s->v.For.orelse);
  ------------------
  |  |  458|    197|    do {                                                                    \
  |  |  459|    197|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  460|    200|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|    200|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    400|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 194, False: 6]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (460:26): [True: 3, False: 197]
  |  |  ------------------
  |  |  461|      3|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|      3|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      3|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  462|      3|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|      3|    do {                    \
  |  |  |  |   52|      3|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      3|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|      3|        }                                                                   \
  |  |  464|    197|    } while (0)
  |  |  ------------------
  |  |  |  Branch (464:14): [Folded, False: 197]
  |  |  ------------------
  ------------------
 2167|       |
 2168|    197|    USE_LABEL(c, end);
  ------------------
  |  |   97|    197|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    197|    do {                    \
  |  |  |  |   52|    197|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 197]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    197|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 197]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2169|    197|    return SUCCESS;
  ------------------
  |  |   47|    197|#define SUCCESS 0
  ------------------
 2170|    197|}
codegen.c:codegen_while:
 2223|     76|{
 2224|     76|    NEW_JUMP_TARGET_LABEL(c, loop);
  ------------------
  |  |   91|     76|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|     76|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|     76|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|     76|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|     76|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 76]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2225|     76|    NEW_JUMP_TARGET_LABEL(c, end);
  ------------------
  |  |   91|     76|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|     76|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|     76|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|     76|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|     76|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 76]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2226|     76|    NEW_JUMP_TARGET_LABEL(c, anchor);
  ------------------
  |  |   91|     76|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|     76|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|     76|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|     76|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|     76|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 76]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2227|       |
 2228|     76|    USE_LABEL(c, loop);
  ------------------
  |  |   97|     76|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|     76|    do {                    \
  |  |  |  |   52|     76|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 76]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     76|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 76]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2229|       |
 2230|     76|    RETURN_IF_ERROR(_PyCompile_PushFBlock(c, LOC(s), COMPILE_FBLOCK_WHILE_LOOP, loop, end, NULL));
  ------------------
  |  |   51|     76|    do {                    \
  |  |   52|     76|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 76]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     76|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 76]
  |  |  ------------------
  ------------------
 2231|     76|    RETURN_IF_ERROR(codegen_jump_if(c, LOC(s), s->v.While.test, anchor, 0));
  ------------------
  |  |   51|     76|    do {                    \
  |  |   52|     76|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 76]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     76|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 76]
  |  |  ------------------
  ------------------
 2232|       |
 2233|     76|    VISIT_SEQ(c, stmt, s->v.While.body);
  ------------------
  |  |  458|     76|    do {                                                                    \
  |  |  459|     76|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  460|    275|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|    275|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    550|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 275]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (460:26): [True: 199, False: 76]
  |  |  ------------------
  |  |  461|    199|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|    199|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    199|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  462|    199|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|    199|    do {                    \
  |  |  |  |   52|    199|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 199]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    199|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 199]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|    199|        }                                                                   \
  |  |  464|     76|    } while (0)
  |  |  ------------------
  |  |  |  Branch (464:14): [Folded, False: 76]
  |  |  ------------------
  ------------------
 2234|     76|    ADDOP_JUMP(c, NO_LOCATION, JUMP, loop);
  ------------------
  |  |  427|     76|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|     76|    do {                    \
  |  |  |  |   52|     76|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 76]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     76|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 76]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2235|       |
 2236|     76|    _PyCompile_PopFBlock(c, COMPILE_FBLOCK_WHILE_LOOP, loop);
 2237|       |
 2238|     76|    USE_LABEL(c, anchor);
  ------------------
  |  |   97|     76|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|     76|    do {                    \
  |  |  |  |   52|     76|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 76]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     76|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 76]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2239|     76|    if (s->v.While.orelse) {
  ------------------
  |  Branch (2239:9): [True: 1, False: 75]
  ------------------
 2240|      1|        VISIT_SEQ(c, stmt, s->v.While.orelse);
  ------------------
  |  |  458|      1|    do {                                                                    \
  |  |  459|      1|        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: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (460:26): [True: 1, False: 1]
  |  |  ------------------
  |  |  461|      1|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|      1|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      1|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  462|      1|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|      1|    do {                    \
  |  |  |  |   52|      1|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      1|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|      1|        }                                                                   \
  |  |  464|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (464:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 2241|      1|    }
 2242|       |
 2243|     76|    USE_LABEL(c, end);
  ------------------
  |  |   97|     76|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|     76|    do {                    \
  |  |  |  |   52|     76|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 76]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     76|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 76]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2244|     76|    return SUCCESS;
  ------------------
  |  |   47|     76|#define SUCCESS 0
  ------------------
 2245|     76|}
codegen.c:codegen_jump_if:
 1943|  3.64k|{
 1944|  3.64k|    switch (e->kind) {
 1945|    413|    case UnaryOp_kind:
  ------------------
  |  Branch (1945:5): [True: 413, False: 3.23k]
  ------------------
 1946|    413|        if (e->v.UnaryOp.op == Not) {
  ------------------
  |  Branch (1946:13): [True: 413, False: 0]
  ------------------
 1947|    413|            return codegen_jump_if(c, loc, e->v.UnaryOp.operand, next, !cond);
 1948|    413|        }
 1949|       |        /* fallback to general implementation */
 1950|      0|        break;
 1951|    377|    case BoolOp_kind: {
  ------------------
  |  Branch (1951:5): [True: 377, False: 3.27k]
  ------------------
 1952|    377|        asdl_expr_seq *s = e->v.BoolOp.values;
 1953|    377|        Py_ssize_t i, n = asdl_seq_LEN(s) - 1;
  ------------------
  |  |   83|    377|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    754|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 377]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1954|    377|        assert(n >= 0);
 1955|    377|        int cond2 = e->v.BoolOp.op == Or;
 1956|    377|        jump_target_label next2 = next;
 1957|    377|        if (!cond2 != !cond) {
  ------------------
  |  Branch (1957:13): [True: 120, False: 257]
  ------------------
 1958|    120|            NEW_JUMP_TARGET_LABEL(c, new_next2);
  ------------------
  |  |   91|    120|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    120|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|    120|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    120|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    120|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 120]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 1959|    120|            next2 = new_next2;
 1960|    120|        }
 1961|    799|        for (i = 0; i < n; ++i) {
  ------------------
  |  Branch (1961:21): [True: 422, False: 377]
  ------------------
 1962|    422|            RETURN_IF_ERROR(
  ------------------
  |  |   51|    422|    do {                    \
  |  |   52|    422|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 422]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    422|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 422]
  |  |  ------------------
  ------------------
 1963|    422|                codegen_jump_if(c, loc, (expr_ty)asdl_seq_GET(s, i), next2, cond2));
 1964|    422|        }
 1965|    377|        RETURN_IF_ERROR(
  ------------------
  |  |   51|    377|    do {                    \
  |  |   52|    377|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 377]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    377|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 377]
  |  |  ------------------
  ------------------
 1966|    377|            codegen_jump_if(c, loc, (expr_ty)asdl_seq_GET(s, n), next, cond));
 1967|    377|        if (!SAME_JUMP_TARGET_LABEL(next2, next)) {
  ------------------
  |  |   59|    377|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  ------------------
  |  Branch (1967:13): [True: 120, False: 257]
  ------------------
 1968|    120|            USE_LABEL(c, next2);
  ------------------
  |  |   97|    120|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    120|    do {                    \
  |  |  |  |   52|    120|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 120]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    120|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 120]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1969|    120|        }
 1970|    377|        return SUCCESS;
  ------------------
  |  |   47|    377|#define SUCCESS 0
  ------------------
 1971|    377|    }
 1972|      0|    case IfExp_kind: {
  ------------------
  |  Branch (1972:5): [True: 0, False: 3.64k]
  ------------------
 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|  1.45k|    case Compare_kind: {
  ------------------
  |  Branch (1988:5): [True: 1.45k, False: 2.19k]
  ------------------
 1989|  1.45k|        Py_ssize_t n = asdl_seq_LEN(e->v.Compare.ops) - 1;
  ------------------
  |  |   83|  1.45k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  2.91k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 1.45k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1990|  1.45k|        if (n > 0) {
  ------------------
  |  Branch (1990:13): [True: 3, False: 1.45k]
  ------------------
 1991|      3|            RETURN_IF_ERROR(codegen_check_compare(c, e));
  ------------------
  |  |   51|      3|    do {                    \
  |  |   52|      3|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 3]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      3|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 3]
  |  |  ------------------
  ------------------
 1992|      3|            NEW_JUMP_TARGET_LABEL(c, cleanup);
  ------------------
  |  |   91|      3|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|      3|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|      3|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|      3|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|      3|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 3]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 1993|      3|            VISIT(c, expr, e->v.Compare.left);
  ------------------
  |  |  452|      3|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|      3|    do {                    \
  |  |  |  |   52|      3|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      3|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1994|      6|            for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (1994:36): [True: 3, False: 3]
  ------------------
 1995|      3|                VISIT(c, expr,
  ------------------
  |  |  452|      3|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|      3|    do {                    \
  |  |  |  |   52|      3|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      3|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1996|      3|                    (expr_ty)asdl_seq_GET(e->v.Compare.comparators, i));
 1997|      3|                ADDOP_I(c, LOC(e), SWAP, 2);
  ------------------
  |  |  276|      3|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      3|    do {                    \
  |  |  |  |   52|      3|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      3|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1998|      3|                ADDOP_I(c, LOC(e), COPY, 2);
  ------------------
  |  |  276|      3|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      3|    do {                    \
  |  |  |  |   52|      3|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      3|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1999|      3|                ADDOP_COMPARE(c, LOC(e), asdl_seq_GET(e->v.Compare.ops, i));
  ------------------
  |  |  430|      3|    RETURN_IF_ERROR(codegen_addcompare((C), (LOC), (cmpop_ty)(CMP)))
  |  |  ------------------
  |  |  |  |   51|      3|    do {                    \
  |  |  |  |   52|      3|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      3|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2000|      3|                ADDOP(c, LOC(e), TO_BOOL);
  ------------------
  |  |  290|      3|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      3|    do {                    \
  |  |  |  |   52|      3|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      3|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2001|      3|                ADDOP_JUMP(c, LOC(e), POP_JUMP_IF_FALSE, cleanup);
  ------------------
  |  |  427|      3|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|      3|    do {                    \
  |  |  |  |   52|      3|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      3|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2002|      3|            }
 2003|      3|            VISIT(c, expr, (expr_ty)asdl_seq_GET(e->v.Compare.comparators, n));
  ------------------
  |  |  452|      3|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|      3|    do {                    \
  |  |  |  |   52|      3|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      3|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2004|      3|            ADDOP_COMPARE(c, LOC(e), asdl_seq_GET(e->v.Compare.ops, n));
  ------------------
  |  |  430|      3|    RETURN_IF_ERROR(codegen_addcompare((C), (LOC), (cmpop_ty)(CMP)))
  |  |  ------------------
  |  |  |  |   51|      3|    do {                    \
  |  |  |  |   52|      3|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      3|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2005|      3|            ADDOP(c, LOC(e), TO_BOOL);
  ------------------
  |  |  290|      3|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      3|    do {                    \
  |  |  |  |   52|      3|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      3|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2006|      3|            ADDOP_JUMP(c, LOC(e), cond ? POP_JUMP_IF_TRUE : POP_JUMP_IF_FALSE, next);
  ------------------
  |  |  427|      3|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|      3|    do {                    \
  |  |  |  |   52|      6|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3]
  |  |  |  |  |  Branch (52:14): [True: 3, False: 0]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      3|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2007|      3|            NEW_JUMP_TARGET_LABEL(c, end);
  ------------------
  |  |   91|      3|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|      3|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|      3|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|      3|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|      3|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 3]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2008|      3|            ADDOP_JUMP(c, NO_LOCATION, JUMP_NO_INTERRUPT, end);
  ------------------
  |  |  427|      3|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|      3|    do {                    \
  |  |  |  |   52|      3|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      3|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2009|       |
 2010|      3|            USE_LABEL(c, cleanup);
  ------------------
  |  |   97|      3|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|      3|    do {                    \
  |  |  |  |   52|      3|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      3|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2011|      3|            ADDOP(c, LOC(e), POP_TOP);
  ------------------
  |  |  290|      3|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      3|    do {                    \
  |  |  |  |   52|      3|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      3|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2012|      3|            if (!cond) {
  ------------------
  |  Branch (2012:17): [True: 0, False: 3]
  ------------------
 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|      3|            USE_LABEL(c, end);
  ------------------
  |  |   97|      3|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|      3|    do {                    \
  |  |  |  |   52|      3|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      3|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2017|      3|            return SUCCESS;
  ------------------
  |  |   47|      3|#define SUCCESS 0
  ------------------
 2018|      3|        }
 2019|       |        /* fallback to general implementation */
 2020|  1.45k|        break;
 2021|  1.45k|    }
 2022|  1.45k|    default:
  ------------------
  |  Branch (2022:5): [True: 1.40k, False: 2.24k]
  ------------------
 2023|       |        /* fallback to general implementation */
 2024|  1.40k|        break;
 2025|  3.64k|    }
 2026|       |
 2027|       |    /* general implementation */
 2028|  2.85k|    VISIT(c, expr, e);
  ------------------
  |  |  452|  2.85k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  2.85k|    do {                    \
  |  |  |  |   52|  2.85k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.85k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.85k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.85k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2029|  2.85k|    ADDOP(c, LOC(e), TO_BOOL);
  ------------------
  |  |  290|  2.85k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.85k|    do {                    \
  |  |  |  |   52|  2.85k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.85k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.85k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.85k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2030|  2.85k|    ADDOP_JUMP(c, LOC(e), cond ? POP_JUMP_IF_TRUE : POP_JUMP_IF_FALSE, next);
  ------------------
  |  |  427|  2.85k|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|  2.85k|    do {                    \
  |  |  |  |   52|  5.70k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.85k]
  |  |  |  |  |  Branch (52:14): [True: 558, False: 2.29k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.85k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.85k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2031|  2.85k|    return SUCCESS;
  ------------------
  |  |   47|  2.85k|#define SUCCESS 0
  ------------------
 2032|  2.85k|}
codegen.c:codegen_check_compare:
 1868|  1.74k|{
 1869|  1.74k|    Py_ssize_t i, n;
 1870|  1.74k|    bool left = check_is_arg(e->v.Compare.left);
 1871|  1.74k|    expr_ty left_expr = e->v.Compare.left;
 1872|  1.74k|    n = asdl_seq_LEN(e->v.Compare.ops);
  ------------------
  |  |   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: 0, False: 1.74k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1873|  3.48k|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (1873:17): [True: 1.74k, False: 1.74k]
  ------------------
 1874|  1.74k|        cmpop_ty op = (cmpop_ty)asdl_seq_GET(e->v.Compare.ops, i);
  ------------------
  |  |   82|  1.74k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  1.74k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1875|  1.74k|        expr_ty right_expr = (expr_ty)asdl_seq_GET(e->v.Compare.comparators, i);
  ------------------
  |  |   82|  1.74k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  1.74k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1876|  1.74k|        bool right = check_is_arg(right_expr);
 1877|  1.74k|        if (op == Is || op == IsNot) {
  ------------------
  |  Branch (1877:13): [True: 438, False: 1.30k]
  |  Branch (1877:25): [True: 417, False: 891]
  ------------------
 1878|    855|            if (!right || !left) {
  ------------------
  |  Branch (1878:17): [True: 0, False: 855]
  |  Branch (1878:27): [True: 0, False: 855]
  ------------------
 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|    855|        }
 1888|  1.74k|        left = right;
 1889|  1.74k|        left_expr = right_expr;
 1890|  1.74k|    }
 1891|  1.74k|    return SUCCESS;
  ------------------
  |  |   47|  1.74k|#define SUCCESS 0
  ------------------
 1892|  1.74k|}
codegen.c:check_is_arg:
 1847|  3.48k|{
 1848|  3.48k|    if (e->kind == Tuple_kind) {
  ------------------
  |  Branch (1848:9): [True: 31, False: 3.45k]
  ------------------
 1849|     31|        return !is_const_tuple(e->v.Tuple.elts);
 1850|     31|    }
 1851|  3.45k|    if (e->kind != Constant_kind) {
  ------------------
  |  Branch (1851:9): [True: 2.62k, False: 835]
  ------------------
 1852|  2.62k|        return true;
 1853|  2.62k|    }
 1854|    835|    PyObject *value = e->v.Constant.value;
 1855|    835|    return (value == Py_None
  ------------------
  |  |  616|  1.67k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1855:13): [True: 600, False: 235]
  ------------------
 1856|    835|         || value == Py_False
  ------------------
  |  |   25|    835|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|    235|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.07k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1856:13): [True: 5, False: 230]
  ------------------
 1857|    835|         || value == Py_True
  ------------------
  |  |   26|    835|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|    230|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.06k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1857:13): [True: 5, False: 225]
  ------------------
 1858|    225|         || value == Py_Ellipsis);
  ------------------
  |  |   14|    225|#  define Py_Ellipsis (&_Py_EllipsisObject)
  ------------------
  |  Branch (1858:13): [True: 0, False: 225]
  ------------------
 1859|  3.45k|}
codegen.c:is_const_tuple:
 1833|     31|{
 1834|     51|    for (Py_ssize_t i = 0; i < asdl_seq_LEN(elts); i++) {
  ------------------
  |  |   83|     51|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    102|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 51]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1834:28): [True: 43, False: 8]
  ------------------
 1835|     43|        expr_ty e = (expr_ty)asdl_seq_GET(elts, i);
  ------------------
  |  |   82|     43|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|     43|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1836|     43|        if (e->kind != Constant_kind) {
  ------------------
  |  Branch (1836:13): [True: 23, False: 20]
  ------------------
 1837|     23|            return false;
 1838|     23|        }
 1839|     43|    }
 1840|      8|    return true;
 1841|     31|}
codegen.c:infer_type:
 3692|    282|{
 3693|    282|    switch (e->kind) {
 3694|      6|    case Tuple_kind:
  ------------------
  |  Branch (3694:5): [True: 6, False: 276]
  ------------------
 3695|      6|        return &PyTuple_Type;
 3696|      0|    case List_kind:
  ------------------
  |  Branch (3696:5): [True: 0, False: 282]
  ------------------
 3697|      0|    case ListComp_kind:
  ------------------
  |  Branch (3697:5): [True: 0, False: 282]
  ------------------
 3698|      0|        return &PyList_Type;
 3699|      0|    case Dict_kind:
  ------------------
  |  Branch (3699:5): [True: 0, False: 282]
  ------------------
 3700|      0|    case DictComp_kind:
  ------------------
  |  Branch (3700:5): [True: 0, False: 282]
  ------------------
 3701|      0|        return &PyDict_Type;
 3702|      0|    case Set_kind:
  ------------------
  |  Branch (3702:5): [True: 0, False: 282]
  ------------------
 3703|      0|    case SetComp_kind:
  ------------------
  |  Branch (3703:5): [True: 0, False: 282]
  ------------------
 3704|      0|        return &PySet_Type;
 3705|      0|    case GeneratorExp_kind:
  ------------------
  |  Branch (3705:5): [True: 0, False: 282]
  ------------------
 3706|      0|        return &PyGen_Type;
 3707|      0|    case Lambda_kind:
  ------------------
  |  Branch (3707:5): [True: 0, False: 282]
  ------------------
 3708|      0|        return &PyFunction_Type;
 3709|      0|    case TemplateStr_kind:
  ------------------
  |  Branch (3709:5): [True: 0, False: 282]
  ------------------
 3710|      0|    case Interpolation_kind:
  ------------------
  |  Branch (3710:5): [True: 0, False: 282]
  ------------------
 3711|      0|        return &_PyTemplate_Type;
 3712|      0|    case JoinedStr_kind:
  ------------------
  |  Branch (3712:5): [True: 0, False: 282]
  ------------------
 3713|      0|    case FormattedValue_kind:
  ------------------
  |  Branch (3713:5): [True: 0, False: 282]
  ------------------
 3714|      0|        return &PyUnicode_Type;
 3715|    111|    case Constant_kind:
  ------------------
  |  Branch (3715:5): [True: 111, False: 171]
  ------------------
 3716|    111|        return Py_TYPE(e->v.Constant.value);
  ------------------
  |  |  213|    111|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    111|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    111|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3717|    165|    default:
  ------------------
  |  Branch (3717:5): [True: 165, False: 117]
  ------------------
 3718|       |        return NULL;
 3719|    282|    }
 3720|    282|}
codegen.c:codegen_addcompare:
 1896|  1.76k|{
 1897|  1.76k|    int cmp;
 1898|  1.76k|    switch (op) {
 1899|    464|    case Eq:
  ------------------
  |  Branch (1899:5): [True: 464, False: 1.30k]
  ------------------
 1900|    464|        cmp = Py_EQ;
  ------------------
  |  |  654|    464|#define Py_EQ 2
  ------------------
 1901|    464|        break;
 1902|     67|    case NotEq:
  ------------------
  |  Branch (1902:5): [True: 67, False: 1.69k]
  ------------------
 1903|     67|        cmp = Py_NE;
  ------------------
  |  |  655|     67|#define Py_NE 3
  ------------------
 1904|     67|        break;
 1905|     55|    case Lt:
  ------------------
  |  Branch (1905:5): [True: 55, False: 1.70k]
  ------------------
 1906|     55|        cmp = Py_LT;
  ------------------
  |  |  652|     55|#define Py_LT 0
  ------------------
 1907|     55|        break;
 1908|     41|    case LtE:
  ------------------
  |  Branch (1908:5): [True: 41, False: 1.72k]
  ------------------
 1909|     41|        cmp = Py_LE;
  ------------------
  |  |  653|     41|#define Py_LE 1
  ------------------
 1910|     41|        break;
 1911|     70|    case Gt:
  ------------------
  |  Branch (1911:5): [True: 70, False: 1.69k]
  ------------------
 1912|     70|        cmp = Py_GT;
  ------------------
  |  |  656|     70|#define Py_GT 4
  ------------------
 1913|     70|        break;
 1914|     28|    case GtE:
  ------------------
  |  Branch (1914:5): [True: 28, False: 1.73k]
  ------------------
 1915|     28|        cmp = Py_GE;
  ------------------
  |  |  657|     28|#define Py_GE 5
  ------------------
 1916|     28|        break;
 1917|    452|    case Is:
  ------------------
  |  Branch (1917:5): [True: 452, False: 1.31k]
  ------------------
 1918|    452|        ADDOP_I(c, loc, IS_OP, 0);
  ------------------
  |  |  276|    452|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1919|    452|        return SUCCESS;
  ------------------
  |  |   47|    452|#define SUCCESS 0
  ------------------
 1920|    417|    case IsNot:
  ------------------
  |  Branch (1920:5): [True: 417, False: 1.34k]
  ------------------
 1921|    417|        ADDOP_I(c, loc, IS_OP, 1);
  ------------------
  |  |  276|    417|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    417|    do {                    \
  |  |  |  |   52|    417|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 417]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    417|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 417]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1922|    417|        return SUCCESS;
  ------------------
  |  |   47|    417|#define SUCCESS 0
  ------------------
 1923|    129|    case In:
  ------------------
  |  Branch (1923:5): [True: 129, False: 1.63k]
  ------------------
 1924|    129|        ADDOP_I(c, loc, CONTAINS_OP, 0);
  ------------------
  |  |  276|    129|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    129|    do {                    \
  |  |  |  |   52|    129|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 129]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    129|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 129]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1925|    129|        return SUCCESS;
  ------------------
  |  |   47|    129|#define SUCCESS 0
  ------------------
 1926|     41|    case NotIn:
  ------------------
  |  Branch (1926:5): [True: 41, False: 1.72k]
  ------------------
 1927|     41|        ADDOP_I(c, loc, CONTAINS_OP, 1);
  ------------------
  |  |  276|     41|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     41|    do {                    \
  |  |  |  |   52|     41|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 41]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     41|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 41]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1928|     41|        return SUCCESS;
  ------------------
  |  |   47|     41|#define SUCCESS 0
  ------------------
 1929|      0|    default:
  ------------------
  |  Branch (1929:5): [True: 0, False: 1.76k]
  ------------------
 1930|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1931|  1.76k|    }
 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|    725|    ADDOP_I(c, loc, COMPARE_OP, (cmp << 5) | compare_masks[cmp]);
  ------------------
  |  |  276|    725|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    725|    do {                    \
  |  |  |  |   52|    725|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 725]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    725|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 725]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1937|    725|    return SUCCESS;
  ------------------
  |  |   47|    725|#define SUCCESS 0
  ------------------
 1938|    725|}
codegen.c:codegen_if:
 2100|  2.24k|{
 2101|  2.24k|    jump_target_label next;
 2102|  2.24k|    assert(s->kind == If_kind);
 2103|  2.24k|    NEW_JUMP_TARGET_LABEL(c, end);
  ------------------
  |  |   91|  2.24k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  2.24k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|  2.24k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  2.24k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  2.24k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 2.24k]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2104|  2.24k|    if (asdl_seq_LEN(s->v.If.orelse)) {
  ------------------
  |  |   83|  2.24k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  4.48k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:26): [True: 498, False: 1.74k]
  |  |  |  |  |  Branch (277:37): [True: 1.74k, False: 498]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2105|    498|        NEW_JUMP_TARGET_LABEL(c, orelse);
  ------------------
  |  |   91|    498|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    498|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|    498|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    498|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    498|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 498]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2106|    498|        next = orelse;
 2107|    498|    }
 2108|  1.74k|    else {
 2109|  1.74k|        next = end;
 2110|  1.74k|    }
 2111|  2.24k|    RETURN_IF_ERROR(
  ------------------
  |  |   51|  2.24k|    do {                    \
  |  |   52|  2.24k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 2.24k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  2.24k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2.24k]
  |  |  ------------------
  ------------------
 2112|  2.24k|        codegen_jump_if(c, LOC(s), s->v.If.test, next, 0));
 2113|       |
 2114|  2.24k|    VISIT_SEQ(c, stmt, s->v.If.body);
  ------------------
  |  |  458|  2.24k|    do {                                                                    \
  |  |  459|  2.24k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  460|  5.33k|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|  5.33k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  10.6k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 5.33k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (460:26): [True: 3.09k, False: 2.24k]
  |  |  ------------------
  |  |  461|  3.09k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|  3.09k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  3.09k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  462|  3.09k|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|  3.09k|    do {                    \
  |  |  |  |   52|  3.09k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3.09k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  3.09k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3.09k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|  3.09k|        }                                                                   \
  |  |  464|  2.24k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (464:14): [Folded, False: 2.24k]
  |  |  ------------------
  ------------------
 2115|  2.24k|    if (asdl_seq_LEN(s->v.If.orelse)) {
  ------------------
  |  |   83|  2.24k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  4.48k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:26): [True: 498, False: 1.74k]
  |  |  |  |  |  Branch (277:37): [True: 1.74k, False: 498]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2116|    498|        ADDOP_JUMP(c, NO_LOCATION, JUMP_NO_INTERRUPT, end);
  ------------------
  |  |  427|    498|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|    498|    do {                    \
  |  |  |  |   52|    498|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 498]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    498|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 498]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2117|       |
 2118|    498|        USE_LABEL(c, next);
  ------------------
  |  |   97|    498|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    498|    do {                    \
  |  |  |  |   52|    498|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 498]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    498|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 498]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2119|    498|        VISIT_SEQ(c, stmt, s->v.If.orelse);
  ------------------
  |  |  458|    498|    do {                                                                    \
  |  |  459|    498|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  460|  1.11k|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|  1.11k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  2.23k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 1.11k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (460:26): [True: 617, False: 498]
  |  |  ------------------
  |  |  461|    617|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|    617|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    617|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  462|    617|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|    617|    do {                    \
  |  |  |  |   52|    617|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 617]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    617|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 617]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|    617|        }                                                                   \
  |  |  464|    498|    } while (0)
  |  |  ------------------
  |  |  |  Branch (464:14): [Folded, False: 498]
  |  |  ------------------
  ------------------
 2120|    498|    }
 2121|       |
 2122|  2.24k|    USE_LABEL(c, end);
  ------------------
  |  |   97|  2.24k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|  2.24k|    do {                    \
  |  |  |  |   52|  2.24k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.24k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.24k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.24k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2123|  2.24k|    return SUCCESS;
  ------------------
  |  |   47|  2.24k|#define SUCCESS 0
  ------------------
 2124|  2.24k|}
codegen.c:codegen_match:
 6643|      1|{
 6644|      1|    pattern_context pc;
 6645|       |    pc.fail_pop = NULL;
 6646|      1|    int result = codegen_match_inner(c, s, &pc);
 6647|      1|    PyMem_Free(pc.fail_pop);
 6648|      1|    return result;
 6649|      1|}
codegen.c:codegen_match_inner:
 6565|      1|{
 6566|      1|    VISIT(c, expr, s->v.Match.subject);
  ------------------
  |  |  452|      1|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|      1|    do {                    \
  |  |  |  |   52|      1|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      1|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6567|      1|    NEW_JUMP_TARGET_LABEL(c, end);
  ------------------
  |  |   91|      1|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|      1|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|      1|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|      1|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|      1|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 1]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 6568|      1|    Py_ssize_t cases = asdl_seq_LEN(s->v.Match.cases);
  ------------------
  |  |   83|      1|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|      2|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6569|      1|    assert(cases > 0);
 6570|      1|    match_case_ty m = asdl_seq_GET(s->v.Match.cases, cases - 1);
  ------------------
  |  |   82|      1|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|      1|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 6571|      1|    int has_default = WILDCARD_CHECK(m->pattern) && 1 < cases;
  ------------------
  |  | 5843|      2|    ((N)->kind == MatchAs_kind && !(N)->v.MatchAs.name)
  |  |  ------------------
  |  |  |  Branch (5843:6): [True: 0, False: 1]
  |  |  |  Branch (5843:35): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (6571:53): [True: 0, False: 0]
  ------------------
 6572|      5|    for (Py_ssize_t i = 0; i < cases - has_default; i++) {
  ------------------
  |  Branch (6572:28): [True: 4, False: 1]
  ------------------
 6573|      4|        m = asdl_seq_GET(s->v.Match.cases, i);
  ------------------
  |  |   82|      4|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|      4|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 6574|       |        // Only copy the subject if we're *not* on the last case:
 6575|      4|        if (i != cases - has_default - 1) {
  ------------------
  |  Branch (6575:13): [True: 3, False: 1]
  ------------------
 6576|      3|            ADDOP_I(c, LOC(m->pattern), COPY, 1);
  ------------------
  |  |  276|      3|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      3|    do {                    \
  |  |  |  |   52|      3|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      3|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6577|      3|        }
 6578|      4|        pc->stores = PyList_New(0);
 6579|      4|        if (pc->stores == NULL) {
  ------------------
  |  Branch (6579:13): [True: 0, False: 4]
  ------------------
 6580|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 6581|      0|        }
 6582|       |        // Irrefutable cases must be either guarded, last, or both:
 6583|      4|        pc->allow_irrefutable = m->guard != NULL || i == cases - 1;
  ------------------
  |  Branch (6583:33): [True: 0, False: 4]
  |  Branch (6583:53): [True: 1, False: 3]
  ------------------
 6584|      4|        pc->fail_pop = NULL;
 6585|      4|        pc->fail_pop_size = 0;
 6586|      4|        pc->on_top = 0;
 6587|       |        // NOTE: Can't use returning macros here (they'll leak pc->stores)!
 6588|      4|        if (codegen_pattern(c, m->pattern, pc) < 0) {
  ------------------
  |  Branch (6588:13): [True: 0, False: 4]
  ------------------
 6589|      0|            Py_DECREF(pc->stores);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6590|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 6591|      0|        }
 6592|      4|        assert(!pc->on_top);
 6593|       |        // It's a match! Store all of the captured names (they're on the stack).
 6594|      4|        Py_ssize_t nstores = PyList_GET_SIZE(pc->stores);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6595|      4|        for (Py_ssize_t n = 0; n < nstores; n++) {
  ------------------
  |  Branch (6595:32): [True: 0, False: 4]
  ------------------
 6596|      0|            PyObject *name = PyList_GET_ITEM(pc->stores, n);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6597|      0|            if (codegen_nameop(c, LOC(m->pattern), name, Store) < 0) {
  ------------------
  |  |   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 }
  |  |  ------------------
  ------------------
  |  Branch (6597:17): [True: 0, False: 0]
  ------------------
 6598|      0|                Py_DECREF(pc->stores);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6599|      0|                return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 6600|      0|            }
 6601|      0|        }
 6602|      4|        Py_DECREF(pc->stores);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6603|       |        // NOTE: Returning macros are safe again.
 6604|      4|        if (m->guard) {
  ------------------
  |  Branch (6604:13): [True: 0, False: 4]
  ------------------
 6605|      0|            RETURN_IF_ERROR(ensure_fail_pop(c, pc, 0));
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
 6606|      0|            RETURN_IF_ERROR(codegen_jump_if(c, LOC(m->pattern), m->guard, pc->fail_pop[0], 0));
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
 6607|      0|        }
 6608|       |        // Success! Pop the subject off, we're done with it:
 6609|      4|        if (i != cases - has_default - 1) {
  ------------------
  |  Branch (6609:13): [True: 3, False: 1]
  ------------------
 6610|       |            /* Use the next location to give better locations for branch events */
 6611|      3|            ADDOP(c, NEXT_LOCATION, POP_TOP);
  ------------------
  |  |  290|      3|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      3|    do {                    \
  |  |  |  |   52|      3|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      3|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6612|      3|        }
 6613|      4|        VISIT_SEQ(c, stmt, m->body);
  ------------------
  |  |  458|      4|    do {                                                                    \
  |  |  459|      4|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  460|     11|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|     11|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     22|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 11]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (460:26): [True: 7, False: 4]
  |  |  ------------------
  |  |  461|      7|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|      7|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      7|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  462|      7|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|      7|    do {                    \
  |  |  |  |   52|      7|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 7]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      7|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 7]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|      7|        }                                                                   \
  |  |  464|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (464:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
 6614|      4|        ADDOP_JUMP(c, NO_LOCATION, JUMP, 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6615|       |        // If the pattern fails to match, we want the line number of the
 6616|       |        // cleanup to be associated with the failed pattern, not the last line
 6617|       |        // of the body
 6618|      4|        RETURN_IF_ERROR(emit_and_reset_fail_pop(c, LOC(m->pattern), pc));
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
 6619|      4|    }
 6620|      1|    if (has_default) {
  ------------------
  |  Branch (6620:9): [True: 0, False: 1]
  ------------------
 6621|       |        // A trailing "case _" is common, and lets us save a bit of redundant
 6622|       |        // pushing and popping in the loop above:
 6623|      0|        m = asdl_seq_GET(s->v.Match.cases, cases - 1);
  ------------------
  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 6624|      0|        if (cases == 1) {
  ------------------
  |  Branch (6624:13): [True: 0, False: 0]
  ------------------
 6625|       |            // No matches. Done with the subject:
 6626|      0|            ADDOP(c, LOC(m->pattern), 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6627|      0|        }
 6628|      0|        else {
 6629|       |            // Show line coverage for default case (it doesn't create bytecode)
 6630|      0|            ADDOP(c, LOC(m->pattern), 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6631|      0|        }
 6632|      0|        if (m->guard) {
  ------------------
  |  Branch (6632:13): [True: 0, False: 0]
  ------------------
 6633|      0|            RETURN_IF_ERROR(codegen_jump_if(c, LOC(m->pattern), m->guard, end, 0));
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
 6634|      0|        }
 6635|      0|        VISIT_SEQ(c, stmt, m->body);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 6636|      0|    }
 6637|      1|    USE_LABEL(c, end);
  ------------------
  |  |   97|      1|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|      1|    do {                    \
  |  |  |  |   52|      1|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      1|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6638|      1|    return SUCCESS;
  ------------------
  |  |   47|      1|#define SUCCESS 0
  ------------------
 6639|      1|}
codegen.c:codegen_pattern:
 6538|      4|{
 6539|      4|    switch (p->kind) {
  ------------------
  |  Branch (6539:13): [True: 4, False: 0]
  ------------------
 6540|      4|        case MatchValue_kind:
  ------------------
  |  Branch (6540:9): [True: 4, False: 0]
  ------------------
 6541|      4|            return codegen_pattern_value(c, p, pc);
 6542|      0|        case MatchSingleton_kind:
  ------------------
  |  Branch (6542:9): [True: 0, False: 4]
  ------------------
 6543|      0|            return codegen_pattern_singleton(c, p, pc);
 6544|      0|        case MatchSequence_kind:
  ------------------
  |  Branch (6544:9): [True: 0, False: 4]
  ------------------
 6545|      0|            return codegen_pattern_sequence(c, p, pc);
 6546|      0|        case MatchMapping_kind:
  ------------------
  |  Branch (6546:9): [True: 0, False: 4]
  ------------------
 6547|      0|            return codegen_pattern_mapping(c, p, pc);
 6548|      0|        case MatchClass_kind:
  ------------------
  |  Branch (6548:9): [True: 0, False: 4]
  ------------------
 6549|      0|            return codegen_pattern_class(c, p, pc);
 6550|      0|        case MatchStar_kind:
  ------------------
  |  Branch (6550:9): [True: 0, False: 4]
  ------------------
 6551|      0|            return codegen_pattern_star(c, p, pc);
 6552|      0|        case MatchAs_kind:
  ------------------
  |  Branch (6552:9): [True: 0, False: 4]
  ------------------
 6553|      0|            return codegen_pattern_as(c, p, pc);
 6554|      0|        case MatchOr_kind:
  ------------------
  |  Branch (6554:9): [True: 0, False: 4]
  ------------------
 6555|      0|            return codegen_pattern_or(c, p, pc);
 6556|      4|    }
 6557|       |    // AST validator shouldn't let this happen, but if it does,
 6558|       |    // just fail, don't crash out of the interpreter
 6559|      0|    const char *e = "invalid match pattern node in AST (kind=%d)";
 6560|      0|    return _PyCompile_Error(c, LOC(p), e, p->kind);
  ------------------
  |  |   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 }
  |  |  ------------------
  ------------------
 6561|      4|}
codegen.c:codegen_pattern_value:
 6512|      4|{
 6513|      4|    assert(p->kind == MatchValue_kind);
 6514|      4|    expr_ty value = p->v.MatchValue.value;
 6515|      4|    if (!MATCH_VALUE_EXPR(value)) {
  ------------------
  |  | 5850|      4|    ((N)->kind == Constant_kind || (N)->kind == Attribute_kind)
  |  |  ------------------
  |  |  |  Branch (5850:6): [True: 4, False: 0]
  |  |  |  Branch (5850:36): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 6516|      0|        const char *e = "patterns may only match literals and attribute lookups";
 6517|      0|        return _PyCompile_Error(c, LOC(p), 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 }
  |  |  ------------------
  ------------------
 6518|      0|    }
 6519|      4|    VISIT(c, expr, value);
  ------------------
  |  |  452|      4|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6520|      4|    ADDOP_COMPARE(c, LOC(p), Eq);
  ------------------
  |  |  430|      4|    RETURN_IF_ERROR(codegen_addcompare((C), (LOC), (cmpop_ty)(CMP)))
  |  |  ------------------
  |  |  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6521|      4|    ADDOP(c, LOC(p), TO_BOOL);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 6522|      4|    RETURN_IF_ERROR(jump_to_fail_pop(c, LOC(p), pc, POP_JUMP_IF_FALSE));
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
 6523|      4|    return SUCCESS;
  ------------------
  |  |   47|      4|#define SUCCESS 0
  ------------------
 6524|      4|}
codegen.c:jump_to_fail_pop:
 5878|      4|{
 5879|       |    // Pop any items on the top of the stack, plus any objects we were going to
 5880|       |    // capture on success:
 5881|      4|    Py_ssize_t pops = pc->on_top + PyList_GET_SIZE(pc->stores);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5882|      4|    RETURN_IF_ERROR(ensure_fail_pop(c, pc, pops));
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
 5883|      4|    ADDOP_JUMP(c, loc, op, pc->fail_pop[pops]);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5884|      4|    return SUCCESS;
  ------------------
  |  |   47|      4|#define SUCCESS 0
  ------------------
 5885|      4|}
codegen.c:ensure_fail_pop:
 5855|      4|{
 5856|      4|    Py_ssize_t size = n + 1;
 5857|      4|    if (size <= pc->fail_pop_size) {
  ------------------
  |  Branch (5857:9): [True: 0, False: 4]
  ------------------
 5858|      0|        return SUCCESS;
  ------------------
  |  |   47|      0|#define SUCCESS 0
  ------------------
 5859|      0|    }
 5860|      4|    Py_ssize_t needed = sizeof(jump_target_label) * size;
 5861|      4|    jump_target_label *resized = PyMem_Realloc(pc->fail_pop, needed);
 5862|      4|    if (resized == NULL) {
  ------------------
  |  Branch (5862:9): [True: 0, False: 4]
  ------------------
 5863|      0|        PyErr_NoMemory();
 5864|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 5865|      0|    }
 5866|      4|    pc->fail_pop = resized;
 5867|      8|    while (pc->fail_pop_size < size) {
  ------------------
  |  Branch (5867:12): [True: 4, False: 4]
  ------------------
 5868|      4|        NEW_JUMP_TARGET_LABEL(c, new_block);
  ------------------
  |  |   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|    }
  ------------------
 5869|      4|        pc->fail_pop[pc->fail_pop_size++] = new_block;
 5870|      4|    }
 5871|      4|    return SUCCESS;
  ------------------
  |  |   47|      4|#define SUCCESS 0
  ------------------
 5872|      4|}
codegen.c:emit_and_reset_fail_pop:
 5891|      4|{
 5892|      4|    if (!pc->fail_pop_size) {
  ------------------
  |  Branch (5892:9): [True: 0, False: 4]
  ------------------
 5893|      0|        assert(pc->fail_pop == NULL);
 5894|      0|        return SUCCESS;
  ------------------
  |  |   47|      0|#define SUCCESS 0
  ------------------
 5895|      0|    }
 5896|      4|    while (--pc->fail_pop_size) {
  ------------------
  |  Branch (5896:12): [True: 0, False: 4]
  ------------------
 5897|      0|        USE_LABEL(c, pc->fail_pop[pc->fail_pop_size]);
  ------------------
  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5898|      0|        if (codegen_addop_noarg(INSTR_SEQUENCE(c), POP_TOP, loc) < 0) {
  ------------------
  |  |   68|      0|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  ------------------
                      if (codegen_addop_noarg(INSTR_SEQUENCE(c), POP_TOP, loc) < 0) {
  ------------------
  |  |   42|      0|#define POP_TOP                                 29
  ------------------
  |  Branch (5898:13): [True: 0, False: 0]
  ------------------
 5899|      0|            pc->fail_pop_size = 0;
 5900|      0|            PyMem_Free(pc->fail_pop);
 5901|      0|            pc->fail_pop = NULL;
 5902|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 5903|      0|        }
 5904|      0|    }
 5905|      4|    USE_LABEL(c, pc->fail_pop[0]);
  ------------------
  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5906|      4|    PyMem_Free(pc->fail_pop);
 5907|      4|    pc->fail_pop = NULL;
 5908|      4|    return SUCCESS;
  ------------------
  |  |   47|      4|#define SUCCESS 0
  ------------------
 5909|      4|}
codegen.c:codegen_try:
 2831|    308|codegen_try(compiler *c, stmt_ty s) {
 2832|    308|    if (s->v.Try.finalbody && asdl_seq_LEN(s->v.Try.finalbody))
  ------------------
  |  |   83|     76|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    152|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:26): [True: 76, False: 0]
  |  |  |  |  |  Branch (277:37): [True: 0, False: 76]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2832:9): [True: 76, False: 232]
  ------------------
 2833|     76|        return codegen_try_finally(c, s);
 2834|    232|    else
 2835|    232|        return codegen_try_except(c, s);
 2836|    308|}
codegen.c:codegen_try_finally:
 2351|     76|{
 2352|     76|    location loc = LOC(s);
  ------------------
  |  |   88|     76|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|     76|    (_Py_SourceLocation){ \
  |  |  |  |   55|     76|               .lineno = (n)->lineno, \
  |  |  |  |   56|     76|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|     76|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|     76|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2353|       |
 2354|     76|    NEW_JUMP_TARGET_LABEL(c, body);
  ------------------
  |  |   91|     76|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|     76|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|     76|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|     76|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|     76|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 76]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2355|     76|    NEW_JUMP_TARGET_LABEL(c, end);
  ------------------
  |  |   91|     76|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|     76|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|     76|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|     76|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|     76|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 76]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2356|     76|    NEW_JUMP_TARGET_LABEL(c, exit);
  ------------------
  |  |   91|     76|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|     76|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|     76|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|     76|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|     76|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 76]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2357|     76|    NEW_JUMP_TARGET_LABEL(c, cleanup);
  ------------------
  |  |   91|     76|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|     76|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|     76|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|     76|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|     76|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 76]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2358|       |
 2359|       |    /* `try` block */
 2360|     76|    ADDOP_JUMP(c, loc, SETUP_FINALLY, end);
  ------------------
  |  |  427|     76|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|     76|    do {                    \
  |  |  |  |   52|     76|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 76]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     76|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 76]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2361|       |
 2362|     76|    USE_LABEL(c, body);
  ------------------
  |  |   97|     76|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|     76|    do {                    \
  |  |  |  |   52|     76|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 76]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     76|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 76]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2363|     76|    RETURN_IF_ERROR(
  ------------------
  |  |   51|     76|    do {                    \
  |  |   52|     76|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 76]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     76|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 76]
  |  |  ------------------
  ------------------
 2364|     76|        _PyCompile_PushFBlock(c, loc, COMPILE_FBLOCK_FINALLY_TRY, body, end,
 2365|     76|                              s->v.Try.finalbody));
 2366|       |
 2367|     76|    if (s->v.Try.handlers && asdl_seq_LEN(s->v.Try.handlers)) {
  ------------------
  |  |   83|      9|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|     18|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:26): [True: 9, False: 0]
  |  |  |  |  |  Branch (277:37): [True: 0, False: 9]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2367:9): [True: 9, False: 67]
  ------------------
 2368|      9|        RETURN_IF_ERROR(codegen_try_except(c, s));
  ------------------
  |  |   51|      9|    do {                    \
  |  |   52|      9|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 9]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      9|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 9]
  |  |  ------------------
  ------------------
 2369|      9|    }
 2370|     67|    else {
 2371|     67|        VISIT_SEQ(c, stmt, s->v.Try.body);
  ------------------
  |  |  458|     67|    do {                                                                    \
  |  |  459|     67|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  460|    193|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|    193|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    386|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 193]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (460:26): [True: 126, False: 67]
  |  |  ------------------
  |  |  461|    126|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|    126|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    126|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  462|    126|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|    126|    do {                    \
  |  |  |  |   52|    126|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 126]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    126|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 126]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|    126|        }                                                                   \
  |  |  464|     67|    } while (0)
  |  |  ------------------
  |  |  |  Branch (464:14): [Folded, False: 67]
  |  |  ------------------
  ------------------
 2372|     67|    }
 2373|     76|    ADDOP(c, NO_LOCATION, POP_BLOCK);
  ------------------
  |  |  290|     76|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     76|    do {                    \
  |  |  |  |   52|     76|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 76]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     76|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 76]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2374|     76|    _PyCompile_PopFBlock(c, COMPILE_FBLOCK_FINALLY_TRY, body);
 2375|     76|    VISIT_SEQ(c, stmt, s->v.Try.finalbody);
  ------------------
  |  |  458|     76|    do {                                                                    \
  |  |  459|     76|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  460|    187|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|    187|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    374|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 187]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (460:26): [True: 111, False: 76]
  |  |  ------------------
  |  |  461|    111|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|    111|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    111|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  462|    111|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|    111|    do {                    \
  |  |  |  |   52|    111|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 111]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    111|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 111]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|    111|        }                                                                   \
  |  |  464|     76|    } while (0)
  |  |  ------------------
  |  |  |  Branch (464:14): [Folded, False: 76]
  |  |  ------------------
  ------------------
 2376|       |
 2377|     76|    ADDOP_JUMP(c, NO_LOCATION, JUMP_NO_INTERRUPT, exit);
  ------------------
  |  |  427|     76|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|     76|    do {                    \
  |  |  |  |   52|     76|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 76]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     76|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 76]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2378|       |    /* `finally` block */
 2379|       |
 2380|     76|    USE_LABEL(c, end);
  ------------------
  |  |   97|     76|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|     76|    do {                    \
  |  |  |  |   52|     76|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 76]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     76|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 76]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2381|       |
 2382|     76|    loc = NO_LOCATION;
 2383|     76|    ADDOP_JUMP(c, loc, SETUP_CLEANUP, cleanup);
  ------------------
  |  |  427|     76|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|     76|    do {                    \
  |  |  |  |   52|     76|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 76]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     76|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 76]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2384|     76|    ADDOP(c, loc, PUSH_EXC_INFO);
  ------------------
  |  |  290|     76|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     76|    do {                    \
  |  |  |  |   52|     76|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 76]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     76|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 76]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2385|     76|    RETURN_IF_ERROR(
  ------------------
  |  |   51|     76|    do {                    \
  |  |   52|     76|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 76]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     76|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 76]
  |  |  ------------------
  ------------------
 2386|     76|        _PyCompile_PushFBlock(c, loc, COMPILE_FBLOCK_FINALLY_END, end, NO_LABEL, NULL));
 2387|     76|    VISIT_SEQ(c, stmt, s->v.Try.finalbody);
  ------------------
  |  |  458|     76|    do {                                                                    \
  |  |  459|     76|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  460|    187|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|    187|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    374|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 187]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (460:26): [True: 111, False: 76]
  |  |  ------------------
  |  |  461|    111|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|    111|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    111|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  462|    111|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|    111|    do {                    \
  |  |  |  |   52|    111|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 111]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    111|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 111]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|    111|        }                                                                   \
  |  |  464|     76|    } while (0)
  |  |  ------------------
  |  |  |  Branch (464:14): [Folded, False: 76]
  |  |  ------------------
  ------------------
 2388|     76|    _PyCompile_PopFBlock(c, COMPILE_FBLOCK_FINALLY_END, end);
 2389|       |
 2390|     76|    loc = NO_LOCATION;
 2391|     76|    ADDOP_I(c, loc, RERAISE, 0);
  ------------------
  |  |  276|     76|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     76|    do {                    \
  |  |  |  |   52|     76|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 76]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     76|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 76]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2392|       |
 2393|     76|    USE_LABEL(c, cleanup);
  ------------------
  |  |   97|     76|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|     76|    do {                    \
  |  |  |  |   52|     76|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 76]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     76|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 76]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2394|     76|    POP_EXCEPT_AND_RERAISE(c, loc);
  ------------------
  |  |  442|     76|    RETURN_IF_ERROR(codegen_pop_except_and_reraise((C), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     76|    do {                    \
  |  |  |  |   52|     76|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 76]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     76|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 76]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2395|       |
 2396|     76|    USE_LABEL(c, exit);
  ------------------
  |  |   97|     76|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|     76|    do {                    \
  |  |  |  |   52|     76|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 76]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     76|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 76]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2397|     76|    return SUCCESS;
  ------------------
  |  |   47|     76|#define SUCCESS 0
  ------------------
 2398|     76|}
codegen.c:codegen_pop_except_and_reraise:
  515|    369|{
  516|       |    /* Stack contents
  517|       |     * [exc_info, lasti, exc]            COPY        3
  518|       |     * [exc_info, lasti, exc, exc_info]  POP_EXCEPT
  519|       |     * [exc_info, lasti, exc]            RERAISE      1
  520|       |     * (exception_unwind clears the stack)
  521|       |     */
  522|       |
  523|    369|    ADDOP_I(c, loc, COPY, 3);
  ------------------
  |  |  276|    369|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    369|    do {                    \
  |  |  |  |   52|    369|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 369]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    369|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 369]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  524|    369|    ADDOP(c, loc, POP_EXCEPT);
  ------------------
  |  |  290|    369|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    369|    do {                    \
  |  |  |  |   52|    369|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 369]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    369|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 369]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  525|    369|    ADDOP_I(c, loc, RERAISE, 1);
  ------------------
  |  |  276|    369|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    369|    do {                    \
  |  |  |  |   52|    369|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 369]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    369|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 369]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  526|    369|    return SUCCESS;
  ------------------
  |  |   47|    369|#define SUCCESS 0
  ------------------
  527|    369|}
codegen.c:codegen_try_except:
 2482|    241|{
 2483|    241|    location loc = LOC(s);
  ------------------
  |  |   88|    241|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    241|    (_Py_SourceLocation){ \
  |  |  |  |   55|    241|               .lineno = (n)->lineno, \
  |  |  |  |   56|    241|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    241|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    241|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2484|    241|    Py_ssize_t i, n;
 2485|       |
 2486|    241|    NEW_JUMP_TARGET_LABEL(c, body);
  ------------------
  |  |   91|    241|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    241|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|    241|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    241|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    241|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 241]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2487|    241|    NEW_JUMP_TARGET_LABEL(c, except);
  ------------------
  |  |   91|    241|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    241|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|    241|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    241|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    241|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 241]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2488|    241|    NEW_JUMP_TARGET_LABEL(c, end);
  ------------------
  |  |   91|    241|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    241|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|    241|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    241|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    241|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 241]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2489|    241|    NEW_JUMP_TARGET_LABEL(c, cleanup);
  ------------------
  |  |   91|    241|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    241|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|    241|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    241|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    241|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 241]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2490|       |
 2491|    241|    ADDOP_JUMP(c, loc, SETUP_FINALLY, except);
  ------------------
  |  |  427|    241|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|    241|    do {                    \
  |  |  |  |   52|    241|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 241]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    241|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 241]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2492|       |
 2493|    241|    USE_LABEL(c, body);
  ------------------
  |  |   97|    241|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    241|    do {                    \
  |  |  |  |   52|    241|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 241]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    241|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 241]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2494|    241|    RETURN_IF_ERROR(
  ------------------
  |  |   51|    241|    do {                    \
  |  |   52|    241|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 241]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    241|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 241]
  |  |  ------------------
  ------------------
 2495|    241|        _PyCompile_PushFBlock(c, loc, COMPILE_FBLOCK_TRY_EXCEPT, body, NO_LABEL, NULL));
 2496|    241|    VISIT_SEQ(c, stmt, s->v.Try.body);
  ------------------
  |  |  458|    241|    do {                                                                    \
  |  |  459|    241|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  460|    555|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|    555|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.11k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 555]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (460:26): [True: 314, False: 241]
  |  |  ------------------
  |  |  461|    314|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|    314|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    314|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  462|    314|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|    314|    do {                    \
  |  |  |  |   52|    314|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 314]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    314|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 314]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|    314|        }                                                                   \
  |  |  464|    241|    } while (0)
  |  |  ------------------
  |  |  |  Branch (464:14): [Folded, False: 241]
  |  |  ------------------
  ------------------
 2497|    241|    _PyCompile_PopFBlock(c, COMPILE_FBLOCK_TRY_EXCEPT, body);
 2498|    241|    ADDOP(c, NO_LOCATION, POP_BLOCK);
  ------------------
  |  |  290|    241|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    241|    do {                    \
  |  |  |  |   52|    241|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 241]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    241|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 241]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2499|    241|    if (s->v.Try.orelse && asdl_seq_LEN(s->v.Try.orelse)) {
  ------------------
  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2499:9): [True: 48, False: 193]
  ------------------
 2500|     48|        VISIT_SEQ(c, stmt, s->v.Try.orelse);
  ------------------
  |  |  458|     48|    do {                                                                    \
  |  |  459|     48|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  460|    137|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|    137|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    274|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 137]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (460:26): [True: 89, False: 48]
  |  |  ------------------
  |  |  461|     89|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|     89|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     89|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  462|     89|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|     89|    do {                    \
  |  |  |  |   52|     89|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 89]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     89|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 89]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|     89|        }                                                                   \
  |  |  464|     48|    } while (0)
  |  |  ------------------
  |  |  |  Branch (464:14): [Folded, False: 48]
  |  |  ------------------
  ------------------
 2501|     48|    }
 2502|    241|    ADDOP_JUMP(c, NO_LOCATION, JUMP_NO_INTERRUPT, end);
  ------------------
  |  |  427|    241|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|    241|    do {                    \
  |  |  |  |   52|    241|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 241]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    241|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 241]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2503|    241|    n = asdl_seq_LEN(s->v.Try.handlers);
  ------------------
  |  |   83|    241|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    482|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 241]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2504|       |
 2505|    241|    USE_LABEL(c, except);
  ------------------
  |  |   97|    241|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    241|    do {                    \
  |  |  |  |   52|    241|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 241]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    241|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 241]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2506|       |
 2507|    241|    ADDOP_JUMP(c, NO_LOCATION, SETUP_CLEANUP, cleanup);
  ------------------
  |  |  427|    241|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|    241|    do {                    \
  |  |  |  |   52|    241|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 241]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    241|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 241]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2508|    241|    ADDOP(c, NO_LOCATION, PUSH_EXC_INFO);
  ------------------
  |  |  290|    241|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    241|    do {                    \
  |  |  |  |   52|    241|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 241]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    241|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 241]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2509|       |
 2510|       |    /* Runtime will push a block here, so we need to account for that */
 2511|    241|    RETURN_IF_ERROR(
  ------------------
  |  |   51|    241|    do {                    \
  |  |   52|    241|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 241]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    241|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 241]
  |  |  ------------------
  ------------------
 2512|    241|        _PyCompile_PushFBlock(c, loc, COMPILE_FBLOCK_EXCEPTION_HANDLER,
 2513|    241|                              NO_LABEL, NO_LABEL, NULL));
 2514|       |
 2515|    568|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (2515:17): [True: 327, False: 241]
  ------------------
 2516|    327|        excepthandler_ty handler = (excepthandler_ty)asdl_seq_GET(
  ------------------
  |  |   82|    327|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    327|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2517|    327|            s->v.Try.handlers, i);
 2518|    327|        location loc = LOC(handler);
  ------------------
  |  |   88|    327|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    327|    (_Py_SourceLocation){ \
  |  |  |  |   55|    327|               .lineno = (n)->lineno, \
  |  |  |  |   56|    327|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    327|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    327|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2519|    327|        if (!handler->v.ExceptHandler.type && i < n-1) {
  ------------------
  |  Branch (2519:13): [True: 16, False: 311]
  |  Branch (2519:47): [True: 0, False: 16]
  ------------------
 2520|      0|            return _PyCompile_Error(c, loc, "default 'except:' must be last");
 2521|      0|        }
 2522|    327|        NEW_JUMP_TARGET_LABEL(c, next_except);
  ------------------
  |  |   91|    327|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    327|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|    327|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    327|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    327|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 327]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2523|    327|        except = next_except;
 2524|    327|        if (handler->v.ExceptHandler.type) {
  ------------------
  |  Branch (2524:13): [True: 311, False: 16]
  ------------------
 2525|    311|            VISIT(c, expr, handler->v.ExceptHandler.type);
  ------------------
  |  |  452|    311|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    311|    do {                    \
  |  |  |  |   52|    311|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 311]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    311|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 311]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2526|    311|            ADDOP(c, loc, CHECK_EXC_MATCH);
  ------------------
  |  |  290|    311|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    311|    do {                    \
  |  |  |  |   52|    311|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 311]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    311|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 311]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2527|    311|            ADDOP_JUMP(c, loc, POP_JUMP_IF_FALSE, except);
  ------------------
  |  |  427|    311|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|    311|    do {                    \
  |  |  |  |   52|    311|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 311]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    311|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 311]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2528|    311|        }
 2529|    327|        if (handler->v.ExceptHandler.name) {
  ------------------
  |  Branch (2529:13): [True: 94, False: 233]
  ------------------
 2530|     94|            NEW_JUMP_TARGET_LABEL(c, cleanup_end);
  ------------------
  |  |   91|     94|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|     94|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|     94|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|     94|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|     94|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 94]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2531|     94|            NEW_JUMP_TARGET_LABEL(c, cleanup_body);
  ------------------
  |  |   91|     94|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|     94|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|     94|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|     94|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|     94|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 94]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2532|       |
 2533|     94|            RETURN_IF_ERROR(
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
 2534|     94|                codegen_nameop(c, loc, handler->v.ExceptHandler.name, Store));
 2535|       |
 2536|       |            /*
 2537|       |              try:
 2538|       |                  # body
 2539|       |              except type as name:
 2540|       |                  try:
 2541|       |                      # body
 2542|       |                  finally:
 2543|       |                      name = None # in case body contains "del name"
 2544|       |                      del name
 2545|       |            */
 2546|       |
 2547|       |            /* second try: */
 2548|     94|            ADDOP_JUMP(c, loc, SETUP_CLEANUP, cleanup_end);
  ------------------
  |  |  427|     94|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2549|       |
 2550|     94|            USE_LABEL(c, cleanup_body);
  ------------------
  |  |   97|     94|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2551|     94|            RETURN_IF_ERROR(
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
 2552|     94|                _PyCompile_PushFBlock(c, loc, COMPILE_FBLOCK_HANDLER_CLEANUP, cleanup_body,
 2553|     94|                                      NO_LABEL, handler->v.ExceptHandler.name));
 2554|       |
 2555|       |            /* second # body */
 2556|     94|            VISIT_SEQ(c, stmt, handler->v.ExceptHandler.body);
  ------------------
  |  |  458|     94|    do {                                                                    \
  |  |  459|     94|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  460|    253|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|    253|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    506|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 253]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (460:26): [True: 159, False: 94]
  |  |  ------------------
  |  |  461|    159|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|    159|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    159|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  462|    159|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|    159|    do {                    \
  |  |  |  |   52|    159|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 159]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    159|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 159]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|    159|        }                                                                   \
  |  |  464|     94|    } while (0)
  |  |  ------------------
  |  |  |  Branch (464:14): [Folded, False: 94]
  |  |  ------------------
  ------------------
 2557|     94|            _PyCompile_PopFBlock(c, COMPILE_FBLOCK_HANDLER_CLEANUP, cleanup_body);
 2558|       |            /* name = None; del name; # Mark as artificial */
 2559|     94|            ADDOP(c, NO_LOCATION, POP_BLOCK);
  ------------------
  |  |  290|     94|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2560|     94|            ADDOP(c, NO_LOCATION, POP_BLOCK);
  ------------------
  |  |  290|     94|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2561|     94|            ADDOP(c, NO_LOCATION, POP_EXCEPT);
  ------------------
  |  |  290|     94|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2562|     94|            ADDOP_LOAD_CONST(c, NO_LOCATION, Py_None);
  ------------------
  |  |  307|     94|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2563|     94|            RETURN_IF_ERROR(
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
 2564|     94|                codegen_nameop(c, NO_LOCATION, handler->v.ExceptHandler.name, Store));
 2565|     94|            RETURN_IF_ERROR(
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
 2566|     94|                codegen_nameop(c, NO_LOCATION, handler->v.ExceptHandler.name, Del));
 2567|     94|            ADDOP_JUMP(c, NO_LOCATION, JUMP_NO_INTERRUPT, end);
  ------------------
  |  |  427|     94|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2568|       |
 2569|       |            /* except: */
 2570|     94|            USE_LABEL(c, cleanup_end);
  ------------------
  |  |   97|     94|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2571|       |
 2572|       |            /* name = None; del name; # artificial */
 2573|     94|            ADDOP_LOAD_CONST(c, NO_LOCATION, Py_None);
  ------------------
  |  |  307|     94|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2574|     94|            RETURN_IF_ERROR(
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
 2575|     94|                codegen_nameop(c, NO_LOCATION, handler->v.ExceptHandler.name, Store));
 2576|     94|            RETURN_IF_ERROR(
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
 2577|     94|                codegen_nameop(c, NO_LOCATION, handler->v.ExceptHandler.name, Del));
 2578|       |
 2579|     94|            ADDOP_I(c, NO_LOCATION, RERAISE, 1);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2580|     94|        }
 2581|    233|        else {
 2582|    233|            NEW_JUMP_TARGET_LABEL(c, cleanup_body);
  ------------------
  |  |   91|    233|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    233|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|    233|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    233|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    233|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 233]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 2583|       |
 2584|    233|            ADDOP(c, loc, POP_TOP); /* exc_value */
  ------------------
  |  |  290|    233|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    233|    do {                    \
  |  |  |  |   52|    233|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 233]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    233|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 233]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2585|       |
 2586|    233|            USE_LABEL(c, cleanup_body);
  ------------------
  |  |   97|    233|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    233|    do {                    \
  |  |  |  |   52|    233|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 233]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    233|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 233]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2587|    233|            RETURN_IF_ERROR(
  ------------------
  |  |   51|    233|    do {                    \
  |  |   52|    233|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 233]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    233|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 233]
  |  |  ------------------
  ------------------
 2588|    233|                _PyCompile_PushFBlock(c, loc, COMPILE_FBLOCK_HANDLER_CLEANUP, cleanup_body,
 2589|    233|                                      NO_LABEL, NULL));
 2590|       |
 2591|    233|            VISIT_SEQ(c, stmt, handler->v.ExceptHandler.body);
  ------------------
  |  |  458|    233|    do {                                                                    \
  |  |  459|    233|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  460|    538|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|    538|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.07k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 538]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (460:26): [True: 305, False: 233]
  |  |  ------------------
  |  |  461|    305|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|    305|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    305|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  462|    305|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|    305|    do {                    \
  |  |  |  |   52|    305|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 305]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    305|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 305]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|    305|        }                                                                   \
  |  |  464|    233|    } while (0)
  |  |  ------------------
  |  |  |  Branch (464:14): [Folded, False: 233]
  |  |  ------------------
  ------------------
 2592|    233|            _PyCompile_PopFBlock(c, COMPILE_FBLOCK_HANDLER_CLEANUP, cleanup_body);
 2593|    233|            ADDOP(c, NO_LOCATION, POP_BLOCK);
  ------------------
  |  |  290|    233|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    233|    do {                    \
  |  |  |  |   52|    233|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 233]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    233|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 233]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2594|    233|            ADDOP(c, NO_LOCATION, POP_EXCEPT);
  ------------------
  |  |  290|    233|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    233|    do {                    \
  |  |  |  |   52|    233|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 233]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    233|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 233]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2595|    233|            ADDOP_JUMP(c, NO_LOCATION, JUMP_NO_INTERRUPT, end);
  ------------------
  |  |  427|    233|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|    233|    do {                    \
  |  |  |  |   52|    233|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 233]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    233|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 233]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2596|    233|        }
 2597|       |
 2598|    327|        USE_LABEL(c, except);
  ------------------
  |  |   97|    327|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    327|    do {                    \
  |  |  |  |   52|    327|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 327]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    327|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 327]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2599|    327|    }
 2600|       |    /* artificial */
 2601|    241|    _PyCompile_PopFBlock(c, COMPILE_FBLOCK_EXCEPTION_HANDLER, NO_LABEL);
  ------------------
  |  |   57|    241|#define NO_LABEL ((const _PyJumpTargetLabel){-1})
  ------------------
 2602|    241|    ADDOP_I(c, NO_LOCATION, RERAISE, 0);
  ------------------
  |  |  276|    241|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    241|    do {                    \
  |  |  |  |   52|    241|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 241]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    241|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 241]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2603|       |
 2604|    241|    USE_LABEL(c, cleanup);
  ------------------
  |  |   97|    241|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    241|    do {                    \
  |  |  |  |   52|    241|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 241]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    241|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 241]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2605|    241|    POP_EXCEPT_AND_RERAISE(c, NO_LOCATION);
  ------------------
  |  |  442|    241|    RETURN_IF_ERROR(codegen_pop_except_and_reraise((C), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    241|    do {                    \
  |  |  |  |   52|    241|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 241]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    241|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 241]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2606|       |
 2607|    241|    USE_LABEL(c, end);
  ------------------
  |  |   97|    241|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|    241|    do {                    \
  |  |  |  |   52|    241|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 241]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    241|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 241]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2608|    241|    return SUCCESS;
  ------------------
  |  |   47|    241|#define SUCCESS 0
  ------------------
 2609|    241|}
codegen.c:codegen_assert:
 3028|     50|{
 3029|       |    /* Always emit a warning if the test is a non-zero length tuple */
 3030|     50|    if ((s->v.Assert.test->kind == Tuple_kind &&
  ------------------
  |  Branch (3030:10): [True: 0, False: 50]
  ------------------
 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|     50|        (s->v.Assert.test->kind == Constant_kind &&
  ------------------
  |  Branch (3032:10): [True: 0, False: 50]
  ------------------
 3033|     50|         PyTuple_Check(s->v.Assert.test->v.Constant.value) &&
  ------------------
  |  |   27|      0|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     50|#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|     50|    if (OPTIMIZATION_LEVEL(c)) {
  ------------------
  |  |   72|     50|#define OPTIMIZATION_LEVEL(C) _PyCompile_OptimizationLevel(C)
  |  |  ------------------
  |  |  |  Branch (72:31): [True: 0, False: 50]
  |  |  ------------------
  ------------------
 3041|      0|        return SUCCESS;
  ------------------
  |  |   47|      0|#define SUCCESS 0
  ------------------
 3042|      0|    }
 3043|     50|    NEW_JUMP_TARGET_LABEL(c, end);
  ------------------
  |  |   91|     50|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|     50|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|     50|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|     50|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|     50|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 50]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 3044|     50|    RETURN_IF_ERROR(codegen_jump_if(c, LOC(s), s->v.Assert.test, end, 1));
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
 3045|     50|    ADDOP_I(c, LOC(s), LOAD_COMMON_CONSTANT, CONSTANT_ASSERTIONERROR);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3046|     50|    if (s->v.Assert.msg) {
  ------------------
  |  Branch (3046:9): [True: 16, False: 34]
  ------------------
 3047|     16|        VISIT(c, expr, s->v.Assert.msg);
  ------------------
  |  |  452|     16|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|     16|    do {                    \
  |  |  |  |   52|     16|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 16]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     16|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 16]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3048|     16|        ADDOP_I(c, LOC(s), CALL, 0);
  ------------------
  |  |  276|     16|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     16|    do {                    \
  |  |  |  |   52|     16|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 16]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     16|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 16]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3049|     16|    }
 3050|     50|    ADDOP_I(c, LOC(s->v.Assert.test), RAISE_VARARGS, 1);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3051|       |
 3052|     50|    USE_LABEL(c, end);
  ------------------
  |  |   97|     50|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3053|     50|    return SUCCESS;
  ------------------
  |  |   47|     50|#define SUCCESS 0
  ------------------
 3054|     50|}
codegen.c:codegen_import:
 2904|    185|{
 2905|    185|    location loc = LOC(s);
  ------------------
  |  |   88|    185|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    185|    (_Py_SourceLocation){ \
  |  |  |  |   55|    185|               .lineno = (n)->lineno, \
  |  |  |  |   56|    185|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    185|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    185|               .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|    185|    Py_ssize_t i, n = asdl_seq_LEN(s->v.Import.names);
  ------------------
  |  |   83|    185|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    370|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 185]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2914|       |
 2915|    185|    PyObject *zero = _PyLong_GetZero();  // borrowed reference
 2916|    370|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (2916:17): [True: 185, False: 185]
  ------------------
 2917|    185|        alias_ty alias = (alias_ty)asdl_seq_GET(s->v.Import.names, i);
  ------------------
  |  |   82|    185|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    185|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2918|    185|        int r;
 2919|       |
 2920|    185|        ADDOP_LOAD_CONST(c, loc, zero);
  ------------------
  |  |  307|    185|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|    185|    do {                    \
  |  |  |  |   52|    185|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 185]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    185|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 185]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2921|    185|        ADDOP_LOAD_CONST(c, loc, Py_None);
  ------------------
  |  |  307|    185|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|    185|    do {                    \
  |  |  |  |   52|    185|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 185]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    185|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 185]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2922|    185|        if (s->v.Import.is_lazy) {
  ------------------
  |  Branch (2922:13): [True: 0, False: 185]
  ------------------
 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|    185|        } else {
 2926|    185|            if (_PyCompile_InExceptionHandler(c) ||
  ------------------
  |  Branch (2926:17): [True: 8, False: 177]
  ------------------
 2927|    177|                _PyCompile_ScopeType(c) != COMPILE_SCOPE_MODULE) {
  ------------------
  |  Branch (2927:17): [True: 7, False: 170]
  ------------------
 2928|       |                // force eager import in try/except block
 2929|     15|                ADDOP_NAME_CUSTOM(c, loc, IMPORT_NAME, alias->name, names, 2, 2);
  ------------------
  |  |  414|     15|    RETURN_IF_ERROR(codegen_addop_name_custom((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O), SHIFT, LOW))
  |  |  ------------------
  |  |  |  |   51|     15|    do {                    \
  |  |  |  |   52|     15|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 15]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     15|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 15]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2930|    170|            } else {
 2931|    170|                ADDOP_NAME_CUSTOM(c, loc, IMPORT_NAME, alias->name, names, 2, 0);
  ------------------
  |  |  414|    170|    RETURN_IF_ERROR(codegen_addop_name_custom((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O), SHIFT, LOW))
  |  |  ------------------
  |  |  |  |   51|    170|    do {                    \
  |  |  |  |   52|    170|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 170]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    170|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 170]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2932|    170|            }
 2933|    185|        }
 2934|       |
 2935|    185|        if (alias->asname) {
  ------------------
  |  Branch (2935:13): [True: 3, False: 182]
  ------------------
 2936|      3|            r = codegen_import_as(c, loc, alias->name, alias->asname);
 2937|      3|            RETURN_IF_ERROR(r);
  ------------------
  |  |   51|      3|    do {                    \
  |  |   52|      3|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 3]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      3|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 3]
  |  |  ------------------
  ------------------
 2938|      3|        }
 2939|    182|        else {
 2940|    182|            identifier tmp = alias->name;
 2941|    182|            Py_ssize_t dot = PyUnicode_FindChar(
 2942|    182|                alias->name, '.', 0, PyUnicode_GET_LENGTH(alias->name), 1);
  ------------------
  |  |  299|    182|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    182|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    182|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2943|    182|            if (dot != -1) {
  ------------------
  |  Branch (2943:17): [True: 7, False: 175]
  ------------------
 2944|      7|                tmp = PyUnicode_Substring(alias->name, 0, dot);
 2945|      7|                if (tmp == NULL) {
  ------------------
  |  Branch (2945:21): [True: 0, False: 7]
  ------------------
 2946|      0|                    return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 2947|      0|                }
 2948|      7|            }
 2949|    182|            r = codegen_nameop(c, loc, tmp, Store);
 2950|    182|            if (dot != -1) {
  ------------------
  |  Branch (2950:17): [True: 7, False: 175]
  ------------------
 2951|      7|                Py_DECREF(tmp);
  ------------------
  |  |  430|      7|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      7|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      7|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2952|      7|            }
 2953|    182|            RETURN_IF_ERROR(r);
  ------------------
  |  |   51|    182|    do {                    \
  |  |   52|    182|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 182]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    182|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 182]
  |  |  ------------------
  ------------------
 2954|    182|        }
 2955|    185|    }
 2956|    185|    return SUCCESS;
  ------------------
  |  |   47|    185|#define SUCCESS 0
  ------------------
 2957|    185|}
codegen.c:codegen_validate_lazy_import:
 2893|      2|{
 2894|      2|    if (_PyCompile_ScopeType(c) != COMPILE_SCOPE_MODULE) {
  ------------------
  |  Branch (2894:9): [True: 0, False: 2]
  ------------------
 2895|      0|        return _PyCompile_Error(
 2896|      0|            c, loc, "lazy imports only allowed in module scope");
 2897|      0|    }
 2898|       |
 2899|      2|    return SUCCESS;
  ------------------
  |  |   47|      2|#define SUCCESS 0
  ------------------
 2900|      2|}
codegen.c:codegen_import_as:
 2852|      3|{
 2853|       |    /* The IMPORT_NAME opcode was already generated.  This function
 2854|       |       merely needs to bind the result to a name.
 2855|       |
 2856|       |       If there is a dot in name, we need to split it and emit a
 2857|       |       IMPORT_FROM for each name.
 2858|       |    */
 2859|      3|    Py_ssize_t len = PyUnicode_GET_LENGTH(name);
  ------------------
  |  |  299|      3|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2860|      3|    Py_ssize_t dot = PyUnicode_FindChar(name, '.', 0, len, 1);
 2861|      3|    if (dot == -2) {
  ------------------
  |  Branch (2861:9): [True: 0, False: 3]
  ------------------
 2862|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 2863|      0|    }
 2864|      3|    if (dot != -1) {
  ------------------
  |  Branch (2864:9): [True: 0, False: 3]
  ------------------
 2865|       |        /* Consume the base module name to get the first attribute */
 2866|      0|        while (1) {
  ------------------
  |  Branch (2866:16): [True: 0, Folded]
  ------------------
 2867|      0|            Py_ssize_t pos = dot + 1;
 2868|      0|            PyObject *attr;
 2869|      0|            dot = PyUnicode_FindChar(name, '.', pos, len, 1);
 2870|      0|            if (dot == -2) {
  ------------------
  |  Branch (2870:17): [True: 0, False: 0]
  ------------------
 2871|      0|                return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 2872|      0|            }
 2873|      0|            attr = PyUnicode_Substring(name, pos, (dot != -1) ? dot : len);
  ------------------
  |  Branch (2873:51): [True: 0, False: 0]
  ------------------
 2874|      0|            if (!attr) {
  ------------------
  |  Branch (2874:17): [True: 0, False: 0]
  ------------------
 2875|      0|                return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 2876|      0|            }
 2877|      0|            ADDOP_N(c, loc, IMPORT_FROM, attr, 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]
  |  |  ------------------
  ------------------
 2878|      0|            if (dot == -1) {
  ------------------
  |  Branch (2878:17): [True: 0, False: 0]
  ------------------
 2879|      0|                break;
 2880|      0|            }
 2881|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2882|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2883|      0|        }
 2884|      0|        RETURN_IF_ERROR(codegen_nameop(c, loc, asname, 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]
  |  |  ------------------
  ------------------
 2885|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2886|      0|        return SUCCESS;
  ------------------
  |  |   47|      0|#define SUCCESS 0
  ------------------
 2887|      0|    }
 2888|      3|    return codegen_nameop(c, loc, asname, Store);
 2889|      3|}
codegen.c:codegen_from_import:
 2961|    262|{
 2962|    262|    Py_ssize_t n = asdl_seq_LEN(s->v.ImportFrom.names);
  ------------------
  |  |   83|    262|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    524|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 262]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2963|       |
 2964|    262|    ADDOP_LOAD_CONST_NEW(c, LOC(s), PyLong_FromLong(s->v.ImportFrom.level));
  ------------------
  |  |  314|    262|    do {                                                                \
  |  |  315|    262|        PyObject *__new_const = (O);                                    \
  |  |  316|    262|        if (__new_const == NULL) {                                      \
  |  |  ------------------
  |  |  |  Branch (316:13): [True: 0, False: 262]
  |  |  ------------------
  |  |  317|      0|            return ERROR;                                               \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |  318|      0|        }                                                               \
  |  |  319|    262|        if (codegen_addop_load_const((C), (LOC), __new_const) < 0) {    \
  |  |  ------------------
  |  |  |  Branch (319:13): [True: 0, False: 262]
  |  |  ------------------
  |  |  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|    262|        Py_DECREF(__new_const);                                         \
  |  |  ------------------
  |  |  |  |  430|    262|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    262|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    262|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  324|    262|    } while (0)
  |  |  ------------------
  |  |  |  Branch (324:14): [Folded, False: 262]
  |  |  ------------------
  ------------------
 2965|       |
 2966|    262|    PyObject *names = PyTuple_New(n);
 2967|    262|    if (!names) {
  ------------------
  |  Branch (2967:9): [True: 0, False: 262]
  ------------------
 2968|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 2969|      0|    }
 2970|       |
 2971|       |    /* build up the names */
 2972|    575|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (2972:28): [True: 313, False: 262]
  ------------------
 2973|    313|        alias_ty alias = (alias_ty)asdl_seq_GET(s->v.ImportFrom.names, i);
  ------------------
  |  |   82|    313|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    313|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2974|    313|        PyTuple_SET_ITEM(names, i, Py_NewRef(alias->name));
  ------------------
  |  |   40|    313|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    313|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    313|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    313|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    313|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2975|    313|    }
 2976|       |
 2977|    262|    ADDOP_LOAD_CONST_NEW(c, LOC(s), names);
  ------------------
  |  |  314|    262|    do {                                                                \
  |  |  315|    262|        PyObject *__new_const = (O);                                    \
  |  |  316|    262|        if (__new_const == NULL) {                                      \
  |  |  ------------------
  |  |  |  Branch (316:13): [True: 0, False: 262]
  |  |  ------------------
  |  |  317|      0|            return ERROR;                                               \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |  318|      0|        }                                                               \
  |  |  319|    262|        if (codegen_addop_load_const((C), (LOC), __new_const) < 0) {    \
  |  |  ------------------
  |  |  |  Branch (319:13): [True: 0, False: 262]
  |  |  ------------------
  |  |  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|    262|        Py_DECREF(__new_const);                                         \
  |  |  ------------------
  |  |  |  |  430|    262|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    262|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    262|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  324|    262|    } while (0)
  |  |  ------------------
  |  |  |  Branch (324:14): [Folded, False: 262]
  |  |  ------------------
  ------------------
 2978|       |
 2979|    262|    identifier from = &_Py_STR(empty);
  ------------------
  |  |  917|    262|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    262|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    262|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2980|    262|    if (s->v.ImportFrom.module) {
  ------------------
  |  Branch (2980:9): [True: 168, False: 94]
  ------------------
 2981|    168|        from = s->v.ImportFrom.module;
 2982|    168|    }
 2983|    262|    if (s->v.ImportFrom.is_lazy) {
  ------------------
  |  Branch (2983:9): [True: 2, False: 260]
  ------------------
 2984|      2|        alias_ty alias = (alias_ty)asdl_seq_GET(s->v.ImportFrom.names, 0);
  ------------------
  |  |   82|      2|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|      2|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2985|      2|        if (PyUnicode_READ_CHAR(alias->name, 0) == '*') {
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2985:13): [True: 0, False: 2]
  ------------------
 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|      2|        RETURN_IF_ERROR(codegen_validate_lazy_import(c, LOC(s)));
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
 2989|      2|        ADDOP_NAME_CUSTOM(c, LOC(s), IMPORT_NAME, from, names, 2, 1);
  ------------------
  |  |  414|      2|    RETURN_IF_ERROR(codegen_addop_name_custom((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O), SHIFT, LOW))
  |  |  ------------------
  |  |  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2990|    260|    } else {
 2991|    260|        alias_ty alias = (alias_ty)asdl_seq_GET(s->v.ImportFrom.names, 0);
  ------------------
  |  |   82|    260|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    260|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2992|    260|        if (_PyCompile_InExceptionHandler(c) ||
  ------------------
  |  Branch (2992:13): [True: 2, False: 258]
  ------------------
 2993|    258|            _PyCompile_ScopeType(c) != COMPILE_SCOPE_MODULE ||
  ------------------
  |  Branch (2993:13): [True: 12, False: 246]
  ------------------
 2994|    246|            PyUnicode_READ_CHAR(alias->name, 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2994:13): [True: 19, False: 227]
  ------------------
 2995|       |            // forced non-lazy import due to try/except or import *
 2996|     33|            ADDOP_NAME_CUSTOM(c, LOC(s), IMPORT_NAME, from, names, 2, 2);
  ------------------
  |  |  414|     33|    RETURN_IF_ERROR(codegen_addop_name_custom((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O), SHIFT, LOW))
  |  |  ------------------
  |  |  |  |   51|     33|    do {                    \
  |  |  |  |   52|     33|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 33]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     33|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 33]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2997|    227|        } else {
 2998|    227|            ADDOP_NAME_CUSTOM(c, LOC(s), IMPORT_NAME, from, names, 2, 0);
  ------------------
  |  |  414|    227|    RETURN_IF_ERROR(codegen_addop_name_custom((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O), SHIFT, LOW))
  |  |  ------------------
  |  |  |  |   51|    227|    do {                    \
  |  |  |  |   52|    227|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 227]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    227|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 227]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2999|    227|        }
 3000|    260|    }
 3001|       |
 3002|    556|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (3002:28): [True: 313, False: 243]
  ------------------
 3003|    313|        alias_ty alias = (alias_ty)asdl_seq_GET(s->v.ImportFrom.names, i);
  ------------------
  |  |   82|    313|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    313|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 3004|    313|        identifier store_name;
 3005|       |
 3006|    313|        if (i == 0 && PyUnicode_READ_CHAR(alias->name, 0) == '*') {
  ------------------
  |  |  381|    262|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|    262|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    262|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3006:13): [True: 262, False: 51]
  |  Branch (3006:23): [True: 19, False: 243]
  ------------------
 3007|     19|            assert(n == 1);
 3008|     19|            ADDOP_I(c, LOC(s), CALL_INTRINSIC_1, INTRINSIC_IMPORT_STAR);
  ------------------
  |  |  276|     19|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     19|    do {                    \
  |  |  |  |   52|     19|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 19]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     19|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 19]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3009|     19|            ADDOP(c, NO_LOCATION, POP_TOP);
  ------------------
  |  |  290|     19|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     19|    do {                    \
  |  |  |  |   52|     19|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 19]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     19|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 19]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3010|     19|            return SUCCESS;
  ------------------
  |  |   47|     19|#define SUCCESS 0
  ------------------
 3011|     19|        }
 3012|       |
 3013|    294|        ADDOP_NAME(c, LOC(s), IMPORT_FROM, alias->name, names);
  ------------------
  |  |  411|    294|    RETURN_IF_ERROR(codegen_addop_name((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O)))
  |  |  ------------------
  |  |  |  |   51|    294|    do {                    \
  |  |  |  |   52|    294|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 294]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    294|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 294]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3014|    294|        store_name = alias->name;
 3015|    294|        if (alias->asname) {
  ------------------
  |  Branch (3015:13): [True: 7, False: 287]
  ------------------
 3016|      7|            store_name = alias->asname;
 3017|      7|        }
 3018|       |
 3019|    294|        RETURN_IF_ERROR(codegen_nameop(c, LOC(s), store_name, Store));
  ------------------
  |  |   51|    294|    do {                    \
  |  |   52|    294|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 294]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    294|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 294]
  |  |  ------------------
  ------------------
 3020|    294|    }
 3021|       |    /* remove imported module */
 3022|    243|    ADDOP(c, LOC(s), POP_TOP);
  ------------------
  |  |  290|    243|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    243|    do {                    \
  |  |  |  |   52|    243|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 243]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    243|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 243]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3023|    243|    return SUCCESS;
  ------------------
  |  |   47|    243|#define SUCCESS 0
  ------------------
 3024|    243|}
codegen.c:codegen_stmt_expr:
 3058|  2.17k|{
 3059|  2.17k|    if (IS_INTERACTIVE_TOP_LEVEL(c)) {
  ------------------
  |  |   73|  2.17k|#define IS_INTERACTIVE_TOP_LEVEL(C) _PyCompile_IsInteractiveTopLevel(C)
  |  |  ------------------
  |  |  |  Branch (73:37): [True: 0, False: 2.17k]
  |  |  ------------------
  ------------------
 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|  2.17k|    if (value->kind == Constant_kind) {
  ------------------
  |  Branch (3066:9): [True: 1, False: 2.17k]
  ------------------
 3067|       |        /* ignore constant statement */
 3068|      1|        ADDOP(c, loc, NOP);
  ------------------
  |  |  290|      1|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      1|    do {                    \
  |  |  |  |   52|      1|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      1|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3069|      1|        return SUCCESS;
  ------------------
  |  |   47|      1|#define SUCCESS 0
  ------------------
 3070|      1|    }
 3071|       |
 3072|  2.17k|    VISIT(c, expr, value);
  ------------------
  |  |  452|  2.17k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  2.17k|    do {                    \
  |  |  |  |   52|  2.17k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.17k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.17k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.17k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3073|  2.17k|    ADDOP(c, NO_LOCATION, POP_TOP); /* artificial */
  ------------------
  |  |  290|  2.17k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.17k|    do {                    \
  |  |  |  |   52|  2.17k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.17k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.17k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.17k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3074|  2.17k|    return SUCCESS;
  ------------------
  |  |   47|  2.17k|#define SUCCESS 0
  ------------------
 3075|  2.17k|}
codegen.c:codegen_break:
 2290|     40|{
 2291|     40|    fblockinfo *loop = NULL;
 2292|     40|    location origin_loc = loc;
 2293|       |    /* Emit instruction with line number */
 2294|     40|    ADDOP(c, loc, NOP);
  ------------------
  |  |  290|     40|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2295|     40|    RETURN_IF_ERROR(codegen_unwind_fblock_stack(c, &loc, 0, &loop));
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
 2296|     40|    if (loop == NULL) {
  ------------------
  |  Branch (2296:9): [True: 0, False: 40]
  ------------------
 2297|      0|        return _PyCompile_Error(c, origin_loc, "'break' outside loop");
 2298|      0|    }
 2299|     40|    RETURN_IF_ERROR(codegen_unwind_fblock(c, &loc, loop, 0));
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
 2300|     40|    ADDOP_JUMP(c, loc, JUMP, loop->fb_exit);
  ------------------
  |  |  427|     40|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2301|     40|    return SUCCESS;
  ------------------
  |  |   47|     40|#define SUCCESS 0
  ------------------
 2302|     40|}
codegen.c:codegen_continue:
 2306|     43|{
 2307|     43|    fblockinfo *loop = NULL;
 2308|     43|    location origin_loc = loc;
 2309|       |    /* Emit instruction with line number */
 2310|     43|    ADDOP(c, loc, NOP);
  ------------------
  |  |  290|     43|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     43|    do {                    \
  |  |  |  |   52|     43|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 43]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     43|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 43]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2311|     43|    RETURN_IF_ERROR(codegen_unwind_fblock_stack(c, &loc, 0, &loop));
  ------------------
  |  |   51|     43|    do {                    \
  |  |   52|     43|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 43]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     43|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 43]
  |  |  ------------------
  ------------------
 2312|     43|    if (loop == NULL) {
  ------------------
  |  Branch (2312:9): [True: 0, False: 43]
  ------------------
 2313|      0|        return _PyCompile_Error(c, origin_loc, "'continue' not properly in loop");
 2314|      0|    }
 2315|     43|    ADDOP_JUMP(c, loc, JUMP, loop->fb_block);
  ------------------
  |  |  427|     43|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|     43|    do {                    \
  |  |  |  |   52|     43|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 43]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     43|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 43]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2316|     43|    return SUCCESS;
  ------------------
  |  |   47|     43|#define SUCCESS 0
  ------------------
 2317|     43|}
codegen.c:codegen_with:
 5371|     47|{
 5372|     47|    return codegen_with_inner(c, s, 0);
 5373|     47|}
codegen.c:codegen_with_inner:
 5302|     47|{
 5303|     47|    withitem_ty item = asdl_seq_GET(s->v.With.items, pos);
  ------------------
  |  |   82|     47|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|     47|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 5304|       |
 5305|     47|    assert(s->kind == With_kind);
 5306|       |
 5307|     47|    NEW_JUMP_TARGET_LABEL(c, block);
  ------------------
  |  |   91|     47|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|     47|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|     47|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|     47|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|     47|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 47]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 5308|     47|    NEW_JUMP_TARGET_LABEL(c, final);
  ------------------
  |  |   91|     47|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|     47|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|     47|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|     47|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|     47|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 47]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 5309|     47|    NEW_JUMP_TARGET_LABEL(c, exit);
  ------------------
  |  |   91|     47|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|     47|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|     47|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|     47|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|     47|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 47]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 5310|     47|    NEW_JUMP_TARGET_LABEL(c, cleanup);
  ------------------
  |  |   91|     47|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|     47|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|     47|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|     47|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|     47|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 47]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 5311|       |
 5312|       |    /* Evaluate EXPR */
 5313|     47|    VISIT(c, expr, item->context_expr);
  ------------------
  |  |  452|     47|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|     47|    do {                    \
  |  |  |  |   52|     47|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 47]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     47|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 47]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5314|       |    /* Will push bound __exit__ */
 5315|     47|    location loc = LOC(item->context_expr);
  ------------------
  |  |   88|     47|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|     47|    (_Py_SourceLocation){ \
  |  |  |  |   55|     47|               .lineno = (n)->lineno, \
  |  |  |  |   56|     47|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|     47|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|     47|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 5316|     47|    ADDOP_I(c, loc, COPY, 1);
  ------------------
  |  |  276|     47|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     47|    do {                    \
  |  |  |  |   52|     47|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 47]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     47|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 47]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5317|     47|    ADDOP_I(c, loc, LOAD_SPECIAL, SPECIAL___EXIT__);
  ------------------
  |  |  276|     47|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     47|    do {                    \
  |  |  |  |   52|     47|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 47]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     47|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 47]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5318|     47|    ADDOP_I(c, loc, SWAP, 2);
  ------------------
  |  |  276|     47|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     47|    do {                    \
  |  |  |  |   52|     47|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 47]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     47|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 47]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5319|     47|    ADDOP_I(c, loc, SWAP, 3);
  ------------------
  |  |  276|     47|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     47|    do {                    \
  |  |  |  |   52|     47|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 47]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     47|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 47]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5320|     47|    ADDOP_I(c, loc, LOAD_SPECIAL, SPECIAL___ENTER__);
  ------------------
  |  |  276|     47|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     47|    do {                    \
  |  |  |  |   52|     47|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 47]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     47|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 47]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5321|     47|    ADDOP_I(c, loc, CALL, 0);
  ------------------
  |  |  276|     47|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     47|    do {                    \
  |  |  |  |   52|     47|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 47]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     47|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 47]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5322|     47|    ADDOP_JUMP(c, loc, SETUP_WITH, final);
  ------------------
  |  |  427|     47|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|     47|    do {                    \
  |  |  |  |   52|     47|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 47]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     47|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 47]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5323|       |
 5324|       |    /* SETUP_WITH pushes a finally block. */
 5325|     47|    USE_LABEL(c, block);
  ------------------
  |  |   97|     47|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|     47|    do {                    \
  |  |  |  |   52|     47|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 47]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     47|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 47]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5326|     47|    RETURN_IF_ERROR(_PyCompile_PushFBlock(c, loc, COMPILE_FBLOCK_WITH, block, final, s));
  ------------------
  |  |   51|     47|    do {                    \
  |  |   52|     47|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 47]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     47|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 47]
  |  |  ------------------
  ------------------
 5327|       |
 5328|     47|    if (item->optional_vars) {
  ------------------
  |  Branch (5328:9): [True: 8, False: 39]
  ------------------
 5329|      8|        VISIT(c, expr, item->optional_vars);
  ------------------
  |  |  452|      8|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5330|      8|    }
 5331|     39|    else {
 5332|       |    /* Discard result from context.__enter__() */
 5333|     39|        ADDOP(c, loc, POP_TOP);
  ------------------
  |  |  290|     39|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     39|    do {                    \
  |  |  |  |   52|     39|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 39]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     39|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 39]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5334|     39|    }
 5335|       |
 5336|     47|    pos++;
 5337|     47|    if (pos == asdl_seq_LEN(s->v.With.items)) {
  ------------------
  |  |   83|     47|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|     94|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 47]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5337:9): [True: 47, False: 0]
  ------------------
 5338|       |        /* BLOCK code */
 5339|     47|        VISIT_SEQ(c, stmt, s->v.With.body);
  ------------------
  |  |  458|     47|    do {                                                                    \
  |  |  459|     47|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  460|    138|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|    138|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    276|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 138]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (460:26): [True: 91, False: 47]
  |  |  ------------------
  |  |  461|     91|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|     91|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     91|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  462|     91|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|     91|    do {                    \
  |  |  |  |   52|     91|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 91]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     91|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 91]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|     91|        }                                                                   \
  |  |  464|     47|    } while (0)
  |  |  ------------------
  |  |  |  Branch (464:14): [Folded, False: 47]
  |  |  ------------------
  ------------------
 5340|     47|    }
 5341|      0|    else {
 5342|      0|        RETURN_IF_ERROR(codegen_with_inner(c, s, pos));
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
 5343|      0|    }
 5344|       |
 5345|     47|    ADDOP(c, NO_LOCATION, POP_BLOCK);
  ------------------
  |  |  290|     47|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     47|    do {                    \
  |  |  |  |   52|     47|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 47]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     47|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 47]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5346|     47|    _PyCompile_PopFBlock(c, COMPILE_FBLOCK_WITH, block);
 5347|       |
 5348|       |    /* End of body; start the cleanup. */
 5349|       |
 5350|       |    /* For successful outcome:
 5351|       |     * call __exit__(None, None, None)
 5352|       |     */
 5353|     47|    RETURN_IF_ERROR(codegen_call_exit_with_nones(c, loc));
  ------------------
  |  |   51|     47|    do {                    \
  |  |   52|     47|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 47]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     47|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 47]
  |  |  ------------------
  ------------------
 5354|     47|    ADDOP(c, loc, POP_TOP);
  ------------------
  |  |  290|     47|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     47|    do {                    \
  |  |  |  |   52|     47|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 47]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     47|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 47]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5355|     47|    ADDOP_JUMP(c, loc, JUMP, exit);
  ------------------
  |  |  427|     47|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|     47|    do {                    \
  |  |  |  |   52|     47|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 47]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     47|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 47]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5356|       |
 5357|       |    /* For exceptional outcome: */
 5358|     47|    USE_LABEL(c, final);
  ------------------
  |  |   97|     47|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|     47|    do {                    \
  |  |  |  |   52|     47|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 47]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     47|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 47]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5359|       |
 5360|     47|    ADDOP_JUMP(c, loc, SETUP_CLEANUP, cleanup);
  ------------------
  |  |  427|     47|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|     47|    do {                    \
  |  |  |  |   52|     47|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 47]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     47|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 47]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5361|     47|    ADDOP(c, loc, PUSH_EXC_INFO);
  ------------------
  |  |  290|     47|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     47|    do {                    \
  |  |  |  |   52|     47|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 47]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     47|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 47]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5362|     47|    ADDOP(c, loc, WITH_EXCEPT_START);
  ------------------
  |  |  290|     47|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     47|    do {                    \
  |  |  |  |   52|     47|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 47]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     47|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 47]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5363|     47|    RETURN_IF_ERROR(codegen_with_except_finish(c, cleanup));
  ------------------
  |  |   51|     47|    do {                    \
  |  |   52|     47|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 47]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     47|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 47]
  |  |  ------------------
  ------------------
 5364|       |
 5365|     47|    USE_LABEL(c, exit);
  ------------------
  |  |   97|     47|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|     47|    do {                    \
  |  |  |  |   52|     47|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 47]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     47|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 47]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5366|     47|    return SUCCESS;
  ------------------
  |  |   47|     47|#define SUCCESS 0
  ------------------
 5367|     47|}
codegen.c:codegen_with_except_finish:
 5141|     52|codegen_with_except_finish(compiler *c, jump_target_label cleanup) {
 5142|     52|    NEW_JUMP_TARGET_LABEL(c, suppress);
  ------------------
  |  |   91|     52|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|     52|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|     52|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|     52|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|     52|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 52]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 5143|     52|    ADDOP(c, NO_LOCATION, TO_BOOL);
  ------------------
  |  |  290|     52|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5144|     52|    ADDOP_JUMP(c, NO_LOCATION, POP_JUMP_IF_TRUE, suppress);
  ------------------
  |  |  427|     52|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5145|     52|    ADDOP_I(c, NO_LOCATION, RERAISE, 2);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5146|       |
 5147|     52|    USE_LABEL(c, suppress);
  ------------------
  |  |   97|     52|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5148|     52|    ADDOP(c, NO_LOCATION, POP_TOP); /* exc_value */
  ------------------
  |  |  290|     52|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5149|     52|    ADDOP(c, NO_LOCATION, POP_BLOCK);
  ------------------
  |  |  290|     52|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5150|     52|    ADDOP(c, NO_LOCATION, POP_EXCEPT);
  ------------------
  |  |  290|     52|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5151|     52|    ADDOP(c, NO_LOCATION, POP_TOP);
  ------------------
  |  |  290|     52|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5152|     52|    ADDOP(c, NO_LOCATION, POP_TOP);
  ------------------
  |  |  290|     52|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5153|     52|    ADDOP(c, NO_LOCATION, POP_TOP);
  ------------------
  |  |  290|     52|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5154|     52|    NEW_JUMP_TARGET_LABEL(c, exit);
  ------------------
  |  |   91|     52|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|     52|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|     52|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|     52|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|     52|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 52]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 5155|     52|    ADDOP_JUMP(c, NO_LOCATION, JUMP_NO_INTERRUPT, exit);
  ------------------
  |  |  427|     52|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5156|       |
 5157|     52|    USE_LABEL(c, cleanup);
  ------------------
  |  |   97|     52|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5158|     52|    POP_EXCEPT_AND_RERAISE(c, NO_LOCATION);
  ------------------
  |  |  442|     52|    RETURN_IF_ERROR(codegen_pop_except_and_reraise((C), (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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5159|       |
 5160|     52|    USE_LABEL(c, exit);
  ------------------
  |  |   97|     52|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5161|     52|    return SUCCESS;
  ------------------
  |  |   47|     52|#define SUCCESS 0
  ------------------
 5162|     52|}
codegen.c:codegen_async_with:
 5274|      5|{
 5275|      5|    return codegen_async_with_inner(c, s, 0);
 5276|      5|}
codegen.c:codegen_async_with_inner:
 5190|      5|{
 5191|      5|    location loc = LOC(s);
  ------------------
  |  |   88|      5|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      5|    (_Py_SourceLocation){ \
  |  |  |  |   55|      5|               .lineno = (n)->lineno, \
  |  |  |  |   56|      5|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      5|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      5|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 5192|      5|    withitem_ty item = asdl_seq_GET(s->v.AsyncWith.items, pos);
  ------------------
  |  |   82|      5|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|      5|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 5193|       |
 5194|      5|    assert(s->kind == AsyncWith_kind);
 5195|       |
 5196|      5|    NEW_JUMP_TARGET_LABEL(c, block);
  ------------------
  |  |   91|      5|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|      5|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|      5|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|      5|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|      5|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 5]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 5197|      5|    NEW_JUMP_TARGET_LABEL(c, final);
  ------------------
  |  |   91|      5|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|      5|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|      5|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|      5|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|      5|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 5]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 5198|      5|    NEW_JUMP_TARGET_LABEL(c, exit);
  ------------------
  |  |   91|      5|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|      5|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|      5|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|      5|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|      5|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 5]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 5199|      5|    NEW_JUMP_TARGET_LABEL(c, cleanup);
  ------------------
  |  |   91|      5|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|      5|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|      5|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|      5|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|      5|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 5]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 5200|       |
 5201|       |    /* Evaluate EXPR */
 5202|      5|    VISIT(c, expr, item->context_expr);
  ------------------
  |  |  452|      5|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|      5|    do {                    \
  |  |  |  |   52|      5|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 5]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      5|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5203|      5|    loc = LOC(item->context_expr);
  ------------------
  |  |   88|      5|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      5|    (_Py_SourceLocation){ \
  |  |  |  |   55|      5|               .lineno = (n)->lineno, \
  |  |  |  |   56|      5|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      5|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      5|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 5204|      5|    ADDOP_I(c, loc, COPY, 1);
  ------------------
  |  |  276|      5|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      5|    do {                    \
  |  |  |  |   52|      5|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 5]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      5|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5205|      5|    ADDOP_I(c, loc, LOAD_SPECIAL, SPECIAL___AEXIT__);
  ------------------
  |  |  276|      5|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      5|    do {                    \
  |  |  |  |   52|      5|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 5]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      5|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5206|      5|    ADDOP_I(c, loc, SWAP, 2);
  ------------------
  |  |  276|      5|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      5|    do {                    \
  |  |  |  |   52|      5|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 5]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      5|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5207|      5|    ADDOP_I(c, loc, SWAP, 3);
  ------------------
  |  |  276|      5|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      5|    do {                    \
  |  |  |  |   52|      5|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 5]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      5|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5208|      5|    ADDOP_I(c, loc, LOAD_SPECIAL, SPECIAL___AENTER__);
  ------------------
  |  |  276|      5|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      5|    do {                    \
  |  |  |  |   52|      5|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 5]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      5|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5209|      5|    ADDOP_I(c, loc, CALL, 0);
  ------------------
  |  |  276|      5|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      5|    do {                    \
  |  |  |  |   52|      5|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 5]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      5|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5210|      5|    ADDOP_I(c, loc, GET_AWAITABLE, 1);
  ------------------
  |  |  276|      5|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      5|    do {                    \
  |  |  |  |   52|      5|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 5]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      5|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5211|      5|    ADDOP(c, loc, PUSH_NULL);
  ------------------
  |  |  290|      5|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      5|    do {                    \
  |  |  |  |   52|      5|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 5]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      5|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5212|      5|    ADDOP_LOAD_CONST(c, loc, Py_None);
  ------------------
  |  |  307|      5|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|      5|    do {                    \
  |  |  |  |   52|      5|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 5]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      5|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5213|      5|    ADD_YIELD_FROM(c, loc, 1);
  ------------------
  |  |  439|      5|    RETURN_IF_ERROR(codegen_add_yield_from((C), (LOC), (await)))
  |  |  ------------------
  |  |  |  |   51|      5|    do {                    \
  |  |  |  |   52|      5|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 5]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      5|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5214|       |
 5215|      5|    ADDOP_JUMP(c, loc, SETUP_WITH, final);
  ------------------
  |  |  427|      5|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|      5|    do {                    \
  |  |  |  |   52|      5|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 5]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      5|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5216|       |
 5217|       |    /* SETUP_WITH pushes a finally block. */
 5218|      5|    USE_LABEL(c, block);
  ------------------
  |  |   97|      5|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|      5|    do {                    \
  |  |  |  |   52|      5|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 5]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      5|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5219|      5|    RETURN_IF_ERROR(_PyCompile_PushFBlock(c, loc, COMPILE_FBLOCK_ASYNC_WITH, block, final, s));
  ------------------
  |  |   51|      5|    do {                    \
  |  |   52|      5|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 5]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      5|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 5]
  |  |  ------------------
  ------------------
 5220|       |
 5221|      5|    if (item->optional_vars) {
  ------------------
  |  Branch (5221:9): [True: 0, False: 5]
  ------------------
 5222|      0|        VISIT(c, expr, item->optional_vars);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5223|      0|    }
 5224|      5|    else {
 5225|       |        /* Discard result from context.__aenter__() */
 5226|      5|        ADDOP(c, loc, POP_TOP);
  ------------------
  |  |  290|      5|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      5|    do {                    \
  |  |  |  |   52|      5|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 5]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      5|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5227|      5|    }
 5228|       |
 5229|      5|    pos++;
 5230|      5|    if (pos == asdl_seq_LEN(s->v.AsyncWith.items)) {
  ------------------
  |  |   83|      5|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|     10|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5230:9): [True: 5, False: 0]
  ------------------
 5231|       |        /* BLOCK code */
 5232|      5|        VISIT_SEQ(c, stmt, s->v.AsyncWith.body);
  ------------------
  |  |  458|      5|    do {                                                                    \
  |  |  459|      5|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  460|     13|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|     13|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     26|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 13]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (460:26): [True: 8, False: 5]
  |  |  ------------------
  |  |  461|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  462|      8|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|      8|        }                                                                   \
  |  |  464|      5|    } while (0)
  |  |  ------------------
  |  |  |  Branch (464:14): [Folded, False: 5]
  |  |  ------------------
  ------------------
 5233|      5|    }
 5234|      0|    else {
 5235|      0|        RETURN_IF_ERROR(codegen_async_with_inner(c, s, pos));
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
 5236|      0|    }
 5237|       |
 5238|      5|    _PyCompile_PopFBlock(c, COMPILE_FBLOCK_ASYNC_WITH, block);
 5239|       |
 5240|      5|    ADDOP(c, loc, POP_BLOCK);
  ------------------
  |  |  290|      5|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      5|    do {                    \
  |  |  |  |   52|      5|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 5]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      5|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5241|       |    /* End of body; start the cleanup */
 5242|       |
 5243|       |    /* For successful outcome:
 5244|       |     * call __exit__(None, None, None)
 5245|       |     */
 5246|      5|    RETURN_IF_ERROR(codegen_call_exit_with_nones(c, loc));
  ------------------
  |  |   51|      5|    do {                    \
  |  |   52|      5|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 5]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      5|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 5]
  |  |  ------------------
  ------------------
 5247|      5|    ADDOP_I(c, loc, GET_AWAITABLE, 2);
  ------------------
  |  |  276|      5|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      5|    do {                    \
  |  |  |  |   52|      5|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 5]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      5|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5248|      5|    ADDOP(c, loc, PUSH_NULL);
  ------------------
  |  |  290|      5|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      5|    do {                    \
  |  |  |  |   52|      5|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 5]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      5|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5249|      5|    ADDOP_LOAD_CONST(c, loc, Py_None);
  ------------------
  |  |  307|      5|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|      5|    do {                    \
  |  |  |  |   52|      5|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 5]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      5|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5250|      5|    ADD_YIELD_FROM(c, loc, 1);
  ------------------
  |  |  439|      5|    RETURN_IF_ERROR(codegen_add_yield_from((C), (LOC), (await)))
  |  |  ------------------
  |  |  |  |   51|      5|    do {                    \
  |  |  |  |   52|      5|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 5]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      5|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5251|       |
 5252|      5|    ADDOP(c, loc, POP_TOP);
  ------------------
  |  |  290|      5|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      5|    do {                    \
  |  |  |  |   52|      5|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 5]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      5|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5253|       |
 5254|      5|    ADDOP_JUMP(c, loc, JUMP, exit);
  ------------------
  |  |  427|      5|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|      5|    do {                    \
  |  |  |  |   52|      5|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 5]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      5|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5255|       |
 5256|       |    /* For exceptional outcome: */
 5257|      5|    USE_LABEL(c, final);
  ------------------
  |  |   97|      5|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|      5|    do {                    \
  |  |  |  |   52|      5|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 5]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      5|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5258|       |
 5259|      5|    ADDOP_JUMP(c, loc, SETUP_CLEANUP, cleanup);
  ------------------
  |  |  427|      5|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|      5|    do {                    \
  |  |  |  |   52|      5|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 5]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      5|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5260|      5|    ADDOP(c, loc, PUSH_EXC_INFO);
  ------------------
  |  |  290|      5|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      5|    do {                    \
  |  |  |  |   52|      5|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 5]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      5|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5261|      5|    ADDOP(c, loc, WITH_EXCEPT_START);
  ------------------
  |  |  290|      5|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      5|    do {                    \
  |  |  |  |   52|      5|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 5]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      5|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5262|      5|    ADDOP_I(c, loc, GET_AWAITABLE, 2);
  ------------------
  |  |  276|      5|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      5|    do {                    \
  |  |  |  |   52|      5|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 5]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      5|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5263|      5|    ADDOP(c, loc, PUSH_NULL);
  ------------------
  |  |  290|      5|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      5|    do {                    \
  |  |  |  |   52|      5|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 5]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      5|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5264|      5|    ADDOP_LOAD_CONST(c, loc, Py_None);
  ------------------
  |  |  307|      5|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|      5|    do {                    \
  |  |  |  |   52|      5|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 5]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      5|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5265|      5|    ADD_YIELD_FROM(c, loc, 1);
  ------------------
  |  |  439|      5|    RETURN_IF_ERROR(codegen_add_yield_from((C), (LOC), (await)))
  |  |  ------------------
  |  |  |  |   51|      5|    do {                    \
  |  |  |  |   52|      5|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 5]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      5|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5266|      5|    RETURN_IF_ERROR(codegen_with_except_finish(c, cleanup));
  ------------------
  |  |   51|      5|    do {                    \
  |  |   52|      5|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 5]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      5|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 5]
  |  |  ------------------
  ------------------
 5267|       |
 5268|      5|    USE_LABEL(c, exit);
  ------------------
  |  |   97|      5|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|      5|    do {                    \
  |  |  |  |   52|      5|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 5]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      5|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5269|      5|    return SUCCESS;
  ------------------
  |  |   47|      5|#define SUCCESS 0
  ------------------
 5270|      5|}
codegen.c:codegen_process_deferred_annotations:
  838|    334|{
  839|    334|    PyObject *deferred_anno = NULL;
  840|    334|    PyObject *conditional_annotation_indices = NULL;
  841|    334|    _PyCompile_DeferredAnnotations(c, &deferred_anno, &conditional_annotation_indices);
  842|    334|    if (deferred_anno == NULL) {
  ------------------
  |  Branch (842:9): [True: 332, False: 2]
  ------------------
  843|    332|        assert(conditional_annotation_indices == NULL);
  844|    332|        return SUCCESS;
  ------------------
  |  |   47|    332|#define SUCCESS 0
  ------------------
  845|    332|    }
  846|       |
  847|      2|    int scope_type = SCOPE_TYPE(c);
  ------------------
  |  |   74|      2|#define SCOPE_TYPE(C) _PyCompile_ScopeType(C)
  ------------------
  848|      2|    bool need_separate_block = scope_type == COMPILE_SCOPE_MODULE;
  849|      2|    if (need_separate_block) {
  ------------------
  |  Branch (849:9): [True: 0, False: 2]
  ------------------
  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|      2|    PySTEntryObject *ste = SYMTABLE_ENTRY(c);
  ------------------
  |  |   71|      2|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  861|      2|    assert(ste->ste_annotation_block != NULL);
  862|      2|    void *key = (void *)((uintptr_t)ste->ste_id + 1);
  863|      2|    if (codegen_setup_annotations_scope(c, loc, key,
  ------------------
  |  Branch (863:9): [True: 0, False: 2]
  ------------------
  864|      2|                                        ste->ste_annotation_block->ste_name) < 0) {
  865|      0|        goto error;
  866|      0|    }
  867|      2|    if (codegen_deferred_annotations_body(c, loc, deferred_anno,
  ------------------
  |  Branch (867:9): [True: 0, False: 2]
  ------------------
  868|      2|                                          conditional_annotation_indices, scope_type) < 0) {
  869|      0|        _PyCompile_ExitScope(c);
  870|      0|        goto error;
  871|      0|    }
  872|       |
  873|      2|    Py_DECREF(deferred_anno);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  874|      2|    Py_DECREF(conditional_annotation_indices);
  ------------------
  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  875|       |
  876|      2|    RETURN_IF_ERROR(codegen_leave_annotations_scope(c, 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]
  |  |  ------------------
  ------------------
  877|      2|    RETURN_IF_ERROR(codegen_nameop(
  ------------------
  |  |   51|      2|    do {                    \
  |  |   52|      4|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 2]
  |  |  |  Branch (52:14): [True: 2, False: 0]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
  878|      2|        c, loc,
  879|      2|        ste->ste_type == ClassBlock ? &_Py_ID(__annotate_func__) : &_Py_ID(__annotate__),
  880|      2|        Store));
  881|       |
  882|      2|    if (need_separate_block) {
  ------------------
  |  Branch (882:9): [True: 0, False: 2]
  ------------------
  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|      2|    return SUCCESS;
  ------------------
  |  |   47|      2|#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|      2|}
codegen.c:codegen_deferred_annotations_body:
  783|      2|{
  784|      2|    Py_ssize_t annotations_len = PyList_GET_SIZE(deferred_anno);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  785|       |
  786|      2|    assert(PyList_CheckExact(conditional_annotation_indices));
  787|      2|    assert(annotations_len == PyList_Size(conditional_annotation_indices));
  788|       |
  789|      2|    ADDOP_I(c, loc, BUILD_MAP, 0); // stack now contains <annos>
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  790|       |
  791|      6|    for (Py_ssize_t i = 0; i < annotations_len; i++) {
  ------------------
  |  Branch (791:28): [True: 4, False: 2]
  ------------------
  792|      4|        PyObject *ptr = PyList_GET_ITEM(deferred_anno, i);
  ------------------
  |  |   40|      4|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|      4|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  793|      4|        stmt_ty st = (stmt_ty)PyLong_AsVoidPtr(ptr);
  794|      4|        if (st == NULL) {
  ------------------
  |  Branch (794:13): [True: 0, False: 4]
  ------------------
  795|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
  796|      0|        }
  797|      4|        PyObject *mangled = _PyCompile_Mangle(c, st->v.AnnAssign.target->v.Name.id);
  798|      4|        if (!mangled) {
  ------------------
  |  Branch (798:13): [True: 0, False: 4]
  ------------------
  799|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
  800|      0|        }
  801|       |        // NOTE: ref of mangled can be leaked on ADDOP* and VISIT macros due to early returns
  802|       |        // fixing would require an overhaul of these macros
  803|       |
  804|      4|        PyObject *cond_index = PyList_GET_ITEM(conditional_annotation_indices, i);
  ------------------
  |  |   40|      4|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|      4|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      4|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  805|      4|        assert(PyLong_CheckExact(cond_index));
  806|      4|        long idx = PyLong_AS_LONG(cond_index);
  ------------------
  |  |  101|      4|#define PyLong_AS_LONG(op) PyLong_AsLong(op)
  ------------------
  807|      4|        NEW_JUMP_TARGET_LABEL(c, not_set);
  ------------------
  |  |   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|    }
  ------------------
  808|       |
  809|      4|        if (idx != -1) {
  ------------------
  |  Branch (809:13): [True: 0, False: 4]
  ------------------
  810|      0|            ADDOP_LOAD_CONST(c, LOC(st), cond_index);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  811|      0|            if (scope_type == COMPILE_SCOPE_CLASS) {
  ------------------
  |  Branch (811:17): [True: 0, False: 0]
  ------------------
  812|      0|                ADDOP_NAME(
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  813|      0|                    c, LOC(st), LOAD_DEREF, &_Py_ID(__conditional_annotations__), freevars);
  814|      0|            }
  815|      0|            else {
  816|      0|                ADDOP_NAME(
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  817|      0|                    c, LOC(st), LOAD_GLOBAL, &_Py_ID(__conditional_annotations__), names);
  818|      0|            }
  819|       |
  820|      0|            ADDOP_I(c, LOC(st), CONTAINS_OP, 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  821|      0|            ADDOP_JUMP(c, LOC(st), POP_JUMP_IF_FALSE, not_set);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  822|      0|        }
  823|       |
  824|      4|        VISIT(c, expr, st->v.AnnAssign.annotation);
  ------------------
  |  |  452|      4|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  825|      4|        ADDOP_I(c, LOC(st), COPY, 2);
  ------------------
  |  |  276|      4|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  826|      4|        ADDOP_LOAD_CONST_NEW(c, LOC(st), mangled);
  ------------------
  |  |  314|      4|    do {                                                                \
  |  |  315|      4|        PyObject *__new_const = (O);                                    \
  |  |  316|      4|        if (__new_const == NULL) {                                      \
  |  |  ------------------
  |  |  |  Branch (316:13): [True: 0, False: 4]
  |  |  ------------------
  |  |  317|      0|            return ERROR;                                               \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |  318|      0|        }                                                               \
  |  |  319|      4|        if (codegen_addop_load_const((C), (LOC), __new_const) < 0) {    \
  |  |  ------------------
  |  |  |  Branch (319:13): [True: 0, False: 4]
  |  |  ------------------
  |  |  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|      4|        Py_DECREF(__new_const);                                         \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  324|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (324:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
  827|       |        // stack now contains <annos> <name> <annos> <value>
  828|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  829|       |        // stack now contains <annos>
  830|       |
  831|      4|        USE_LABEL(c, not_set);
  ------------------
  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  832|      4|    }
  833|      2|    return SUCCESS;
  ------------------
  |  |   47|      2|#define SUCCESS 0
  ------------------
  834|      2|}
codegen.c:codegen_enter_scope:
  679|  2.43k|{
  680|  2.43k|    RETURN_IF_ERROR(
  ------------------
  |  |   51|  2.43k|    do {                    \
  |  |   52|  2.43k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 2.43k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  2.43k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2.43k]
  |  |  ------------------
  ------------------
  681|  2.43k|        _PyCompile_EnterScope(c, name, scope_type, key, lineno, private, umd));
  682|  2.43k|    location loc = LOCATION(lineno, lineno, 0, 0);
  ------------------
  |  |   86|  2.43k|    ((const _Py_SourceLocation){(LNO), (END_LNO), (COL), (END_COL)})
  ------------------
  683|  2.43k|    if (scope_type == COMPILE_SCOPE_MODULE) {
  ------------------
  |  Branch (683:9): [True: 264, False: 2.17k]
  ------------------
  684|    264|        loc.lineno = 0;
  685|    264|    }
  686|       |    /* Add the generator prefix instructions. */
  687|       |
  688|  2.43k|    PySTEntryObject *ste = SYMTABLE_ENTRY(c);
  ------------------
  |  |   71|  2.43k|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  689|  2.43k|    if (ste->ste_coroutine || ste->ste_generator) {
  ------------------
  |  Branch (689:9): [True: 135, False: 2.30k]
  |  Branch (689:31): [True: 74, False: 2.23k]
  ------------------
  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|    209|        location loc = LOCATION(lineno, lineno, -1, -1);
  ------------------
  |  |   86|    209|    ((const _Py_SourceLocation){(LNO), (END_LNO), (COL), (END_COL)})
  ------------------
  694|    209|        ADDOP(c, loc, RETURN_GENERATOR);
  ------------------
  |  |  290|    209|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    209|    do {                    \
  |  |  |  |   52|    209|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 209]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    209|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 209]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  695|    209|        ADDOP(c, loc, POP_TOP);
  ------------------
  |  |  290|    209|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    209|    do {                    \
  |  |  |  |   52|    209|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 209]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    209|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 209]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  696|    209|    }
  697|       |
  698|  2.43k|    ADDOP_I(c, loc, RESUME, RESUME_AT_FUNC_START);
  ------------------
  |  |  276|  2.43k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.43k|    do {                    \
  |  |  |  |   52|  2.43k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.43k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.43k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.43k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  699|  2.43k|    if (scope_type == COMPILE_SCOPE_MODULE) {
  ------------------
  |  Branch (699:9): [True: 264, False: 2.17k]
  ------------------
  700|    264|        ADDOP(c, loc, ANNOTATIONS_PLACEHOLDER);
  ------------------
  |  |  290|    264|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    264|    do {                    \
  |  |  |  |   52|    264|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 264]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    264|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 264]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  701|    264|    }
  702|  2.43k|    return SUCCESS;
  ------------------
  |  |   47|  2.43k|#define SUCCESS 0
  ------------------
  703|  2.43k|}
codegen.c:codegen_visit_expr:
 5377|  48.0k|{
 5378|  48.0k|    if (Py_EnterRecursiveCall(" during compilation")) {
  ------------------
  |  Branch (5378:9): [True: 0, False: 48.0k]
  ------------------
 5379|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 5380|      0|    }
 5381|  48.0k|    location loc = LOC(e);
  ------------------
  |  |   88|  48.0k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  48.0k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  48.0k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  48.0k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  48.0k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  48.0k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 5382|  48.0k|    switch (e->kind) {
  ------------------
  |  Branch (5382:13): [True: 48.0k, False: 0]
  ------------------
 5383|      5|    case NamedExpr_kind:
  ------------------
  |  Branch (5383:5): [True: 5, False: 48.0k]
  ------------------
 5384|      5|        VISIT(c, expr, e->v.NamedExpr.value);
  ------------------
  |  |  452|      5|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|      5|    do {                    \
  |  |  |  |   52|      5|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 5]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      5|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5385|      5|        ADDOP_I(c, loc, COPY, 1);
  ------------------
  |  |  276|      5|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      5|    do {                    \
  |  |  |  |   52|      5|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 5]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      5|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5386|      5|        VISIT(c, expr, e->v.NamedExpr.target);
  ------------------
  |  |  452|      5|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|      5|    do {                    \
  |  |  |  |   52|      5|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 5]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      5|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5387|      5|        break;
 5388|    104|    case BoolOp_kind:
  ------------------
  |  Branch (5388:5): [True: 104, False: 47.9k]
  ------------------
 5389|    104|        return codegen_boolop(c, e);
 5390|    471|    case BinOp_kind:
  ------------------
  |  Branch (5390:5): [True: 471, False: 47.5k]
  ------------------
 5391|    471|        VISIT(c, expr, e->v.BinOp.left);
  ------------------
  |  |  452|    471|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    471|    do {                    \
  |  |  |  |   52|    471|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 471]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    471|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 471]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5392|    471|        VISIT(c, expr, e->v.BinOp.right);
  ------------------
  |  |  452|    471|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    471|    do {                    \
  |  |  |  |   52|    471|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 471]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    471|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 471]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5393|    471|        ADDOP_BINARY(c, loc, e->v.BinOp.op);
  ------------------
  |  |  433|    471|    RETURN_IF_ERROR(addop_binary((C), (LOC), (BINOP), false))
  |  |  ------------------
  |  |  |  |   51|    471|    do {                    \
  |  |  |  |   52|    471|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 471]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    471|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 471]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5394|    471|        break;
 5395|    471|    case UnaryOp_kind:
  ------------------
  |  Branch (5395:5): [True: 61, False: 47.9k]
  ------------------
 5396|     61|        VISIT(c, expr, e->v.UnaryOp.operand);
  ------------------
  |  |  452|     61|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|     61|    do {                    \
  |  |  |  |   52|     61|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 61]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     61|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 61]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5397|     61|        if (e->v.UnaryOp.op == UAdd) {
  ------------------
  |  Branch (5397:13): [True: 0, False: 61]
  ------------------
 5398|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5399|      0|        }
 5400|     61|        else if (e->v.UnaryOp.op == Not) {
  ------------------
  |  Branch (5400:18): [True: 16, False: 45]
  ------------------
 5401|     16|            ADDOP(c, loc, TO_BOOL);
  ------------------
  |  |  290|     16|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     16|    do {                    \
  |  |  |  |   52|     16|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 16]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     16|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 16]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5402|     16|            ADDOP(c, loc, UNARY_NOT);
  ------------------
  |  |  290|     16|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     16|    do {                    \
  |  |  |  |   52|     16|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 16]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     16|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 16]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5403|     16|        }
 5404|     45|        else {
 5405|     45|            ADDOP(c, loc, unaryop(e->v.UnaryOp.op));
  ------------------
  |  |  290|     45|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     45|    do {                    \
  |  |  |  |   52|     45|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 45]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     45|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 45]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5406|     45|        }
 5407|     61|        break;
 5408|     87|    case Lambda_kind:
  ------------------
  |  Branch (5408:5): [True: 87, False: 47.9k]
  ------------------
 5409|     87|        return codegen_lambda(c, e);
 5410|     48|    case IfExp_kind:
  ------------------
  |  Branch (5410:5): [True: 48, False: 47.9k]
  ------------------
 5411|     48|        return codegen_ifexp(c, e);
 5412|     79|    case Dict_kind:
  ------------------
  |  Branch (5412:5): [True: 79, False: 47.9k]
  ------------------
 5413|     79|        return codegen_dict(c, e);
 5414|     69|    case Set_kind:
  ------------------
  |  Branch (5414:5): [True: 69, False: 47.9k]
  ------------------
 5415|     69|        return codegen_set(c, e);
 5416|     46|    case GeneratorExp_kind:
  ------------------
  |  Branch (5416:5): [True: 46, False: 47.9k]
  ------------------
 5417|     46|        return codegen_genexp(c, e);
 5418|     35|    case ListComp_kind:
  ------------------
  |  Branch (5418:5): [True: 35, False: 48.0k]
  ------------------
 5419|     35|        return codegen_listcomp(c, e);
 5420|      7|    case SetComp_kind:
  ------------------
  |  Branch (5420:5): [True: 7, False: 48.0k]
  ------------------
 5421|      7|        return codegen_setcomp(c, e);
 5422|      2|    case DictComp_kind:
  ------------------
  |  Branch (5422:5): [True: 2, False: 48.0k]
  ------------------
 5423|      2|        return codegen_dictcomp(c, e);
 5424|     57|    case Yield_kind:
  ------------------
  |  Branch (5424:5): [True: 57, False: 47.9k]
  ------------------
 5425|     57|        if (!_PyST_IsFunctionLike(SYMTABLE_ENTRY(c))) {
  ------------------
  |  |   71|     57|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  |  Branch (5425:13): [True: 0, False: 57]
  ------------------
 5426|      0|            return _PyCompile_Error(c, loc, "'yield' outside function");
 5427|      0|        }
 5428|     57|        if (e->v.Yield.value) {
  ------------------
  |  Branch (5428:13): [True: 53, False: 4]
  ------------------
 5429|     53|            VISIT(c, expr, e->v.Yield.value);
  ------------------
  |  |  452|     53|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|     53|    do {                    \
  |  |  |  |   52|     53|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 53]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     53|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 53]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5430|     53|        }
 5431|      4|        else {
 5432|      4|            ADDOP_LOAD_CONST(c, loc, Py_None);
  ------------------
  |  |  307|      4|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5433|      4|        }
 5434|     57|        ADDOP_YIELD(c, loc);
  ------------------
  |  |  445|     57|    RETURN_IF_ERROR(codegen_addop_yield((C), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     57|    do {                    \
  |  |  |  |   52|     57|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 57]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     57|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 57]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5435|     57|        break;
 5436|     57|    case YieldFrom_kind:
  ------------------
  |  Branch (5436:5): [True: 11, False: 48.0k]
  ------------------
 5437|     11|        if (!_PyST_IsFunctionLike(SYMTABLE_ENTRY(c))) {
  ------------------
  |  |   71|     11|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  |  Branch (5437:13): [True: 0, False: 11]
  ------------------
 5438|      0|            return _PyCompile_Error(c, loc, "'yield from' outside function");
 5439|      0|        }
 5440|     11|        if (SCOPE_TYPE(c) == COMPILE_SCOPE_ASYNC_FUNCTION) {
  ------------------
  |  |   74|     11|#define SCOPE_TYPE(C) _PyCompile_ScopeType(C)
  ------------------
  |  Branch (5440:13): [True: 0, False: 11]
  ------------------
 5441|      0|            return _PyCompile_Error(c, loc, "'yield from' inside async function");
 5442|      0|        }
 5443|     11|        VISIT(c, expr, e->v.YieldFrom.value);
  ------------------
  |  |  452|     11|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|     11|    do {                    \
  |  |  |  |   52|     11|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 11]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     11|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 11]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5444|     11|        ADDOP_I(c, loc, GET_ITER, GET_ITER_YIELD_FROM);
  ------------------
  |  |  276|     11|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     11|    do {                    \
  |  |  |  |   52|     11|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 11]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     11|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 11]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5445|     11|        ADDOP_LOAD_CONST(c, loc, Py_None);
  ------------------
  |  |  307|     11|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|     11|    do {                    \
  |  |  |  |   52|     11|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 11]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     11|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 11]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5446|     11|        ADD_YIELD_FROM(c, loc, 0);
  ------------------
  |  |  439|     11|    RETURN_IF_ERROR(codegen_add_yield_from((C), (LOC), (await)))
  |  |  ------------------
  |  |  |  |   51|     11|    do {                    \
  |  |  |  |   52|     11|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 11]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     11|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 11]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5447|     11|        break;
 5448|    128|    case Await_kind:
  ------------------
  |  Branch (5448:5): [True: 128, False: 47.9k]
  ------------------
 5449|    128|        VISIT(c, expr, e->v.Await.value);
  ------------------
  |  |  452|    128|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    128|    do {                    \
  |  |  |  |   52|    128|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 128]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    128|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 128]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5450|    128|        ADDOP_I(c, loc, GET_AWAITABLE, 0);
  ------------------
  |  |  276|    128|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    128|    do {                    \
  |  |  |  |   52|    128|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 128]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    128|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 128]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5451|    128|        ADDOP(c, loc, PUSH_NULL);
  ------------------
  |  |  290|    128|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    128|    do {                    \
  |  |  |  |   52|    128|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 128]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    128|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 128]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5452|    128|        ADDOP_LOAD_CONST(c, loc, Py_None);
  ------------------
  |  |  307|    128|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|    128|    do {                    \
  |  |  |  |   52|    128|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 128]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    128|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 128]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5453|    128|        ADD_YIELD_FROM(c, loc, 1);
  ------------------
  |  |  439|    128|    RETURN_IF_ERROR(codegen_add_yield_from((C), (LOC), (await)))
  |  |  ------------------
  |  |  |  |   51|    128|    do {                    \
  |  |  |  |   52|    128|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 128]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    128|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 128]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5454|    128|        break;
 5455|  1.73k|    case Compare_kind:
  ------------------
  |  Branch (5455:5): [True: 1.73k, False: 46.3k]
  ------------------
 5456|  1.73k|        return codegen_compare(c, e);
 5457|  5.89k|    case Call_kind:
  ------------------
  |  Branch (5457:5): [True: 5.89k, False: 42.1k]
  ------------------
 5458|  5.89k|        return codegen_call(c, e);
 5459|  6.00k|    case Constant_kind:
  ------------------
  |  Branch (5459:5): [True: 6.00k, False: 42.0k]
  ------------------
 5460|  6.00k|        ADDOP_LOAD_CONST(c, loc, e->v.Constant.value);
  ------------------
  |  |  307|  6.00k|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|  6.00k|    do {                    \
  |  |  |  |   52|  6.00k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 6.00k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  6.00k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 6.00k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5461|  6.00k|        break;
 5462|  6.00k|    case JoinedStr_kind:
  ------------------
  |  Branch (5462:5): [True: 447, False: 47.5k]
  ------------------
 5463|    447|        return codegen_joined_str(c, e);
 5464|      1|    case TemplateStr_kind:
  ------------------
  |  Branch (5464:5): [True: 1, False: 48.0k]
  ------------------
 5465|      1|        return codegen_template_str(c, e);
 5466|    881|    case FormattedValue_kind:
  ------------------
  |  Branch (5466:5): [True: 881, False: 47.1k]
  ------------------
 5467|    881|        return codegen_formatted_value(c, e);
 5468|      1|    case Interpolation_kind:
  ------------------
  |  Branch (5468:5): [True: 1, False: 48.0k]
  ------------------
 5469|      1|        return codegen_interpolation(c, e);
 5470|       |    /* The following exprs can be assignment targets. */
 5471|  6.19k|    case Attribute_kind:
  ------------------
  |  Branch (5471:5): [True: 6.19k, False: 41.8k]
  ------------------
 5472|  6.19k|        if (e->v.Attribute.ctx == Load) {
  ------------------
  |  Branch (5472:13): [True: 5.17k, False: 1.02k]
  ------------------
 5473|  5.17k|            int ret = can_optimize_super_call(c, e);
 5474|  5.17k|            RETURN_IF_ERROR(ret);
  ------------------
  |  |   51|  5.17k|    do {                    \
  |  |   52|  5.17k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 5.17k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  5.17k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 5.17k]
  |  |  ------------------
  ------------------
 5475|  5.17k|            if (ret) {
  ------------------
  |  Branch (5475:17): [True: 1, False: 5.17k]
  ------------------
 5476|      1|                RETURN_IF_ERROR(load_args_for_super(c, e->v.Attribute.value));
  ------------------
  |  |   51|      1|    do {                    \
  |  |   52|      1|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 1]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 5477|      1|                int opcode = asdl_seq_LEN(e->v.Attribute.value->v.Call.args) ?
  ------------------
  |  |   83|      1|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|      2|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:26): [True: 0, False: 1]
  |  |  |  |  |  Branch (277:37): [True: 1, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5478|      1|                    LOAD_SUPER_ATTR : LOAD_ZERO_SUPER_ATTR;
  ------------------
  |  |  108|      0|#define LOAD_SUPER_ATTR                         95
  ------------------
                                  LOAD_SUPER_ATTR : LOAD_ZERO_SUPER_ATTR;
  ------------------
  |  |  356|      1|#define LOAD_ZERO_SUPER_ATTR -3
  ------------------
 5479|      1|                ADDOP_NAME(c, loc, opcode, e->v.Attribute.attr, names);
  ------------------
  |  |  411|      1|    RETURN_IF_ERROR(codegen_addop_name((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O)))
  |  |  ------------------
  |  |  |  |   51|      1|    do {                    \
  |  |  |  |   52|      1|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      1|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5480|      1|                loc = update_start_location_to_match_attr(c, loc, e);
 5481|      1|                ADDOP(c, loc, NOP);
  ------------------
  |  |  290|      1|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      1|    do {                    \
  |  |  |  |   52|      1|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      1|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5482|      1|                return SUCCESS;
  ------------------
  |  |   47|      1|#define SUCCESS 0
  ------------------
 5483|      1|            }
 5484|  5.17k|        }
 5485|  6.19k|        RETURN_IF_ERROR(_PyCompile_MaybeAddStaticAttributeToClass(c, e));
  ------------------
  |  |   51|  6.19k|    do {                    \
  |  |   52|  6.19k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 6.19k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  6.19k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 6.19k]
  |  |  ------------------
  ------------------
 5486|  6.19k|        VISIT(c, expr, e->v.Attribute.value);
  ------------------
  |  |  452|  6.19k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  6.19k|    do {                    \
  |  |  |  |   52|  6.19k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 6.19k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  6.19k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 6.19k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5487|  6.19k|        loc = LOC(e);
  ------------------
  |  |   88|  6.19k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  6.19k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  6.19k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  6.19k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  6.19k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  6.19k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 5488|  6.19k|        loc = update_start_location_to_match_attr(c, loc, e);
 5489|  6.19k|        switch (e->v.Attribute.ctx) {
  ------------------
  |  Branch (5489:17): [True: 6.19k, False: 0]
  ------------------
 5490|  5.17k|        case Load:
  ------------------
  |  Branch (5490:9): [True: 5.17k, False: 1.02k]
  ------------------
 5491|  5.17k|            ADDOP_NAME(c, loc, LOAD_ATTR, e->v.Attribute.attr, names);
  ------------------
  |  |  411|  5.17k|    RETURN_IF_ERROR(codegen_addop_name((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O)))
  |  |  ------------------
  |  |  |  |   51|  5.17k|    do {                    \
  |  |  |  |   52|  5.17k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 5.17k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  5.17k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 5.17k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5492|  5.17k|            break;
 5493|  5.17k|        case Store:
  ------------------
  |  Branch (5493:9): [True: 1.02k, False: 5.17k]
  ------------------
 5494|  1.02k|            ADDOP_NAME(c, loc, STORE_ATTR, e->v.Attribute.attr, names);
  ------------------
  |  |  411|  1.02k|    RETURN_IF_ERROR(codegen_addop_name((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O)))
  |  |  ------------------
  |  |  |  |   51|  1.02k|    do {                    \
  |  |  |  |   52|  1.02k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.02k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.02k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.02k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5495|  1.02k|            break;
 5496|  1.02k|        case Del:
  ------------------
  |  Branch (5496:9): [True: 4, False: 6.19k]
  ------------------
 5497|      4|            ADDOP_NAME(c, loc, DELETE_ATTR, e->v.Attribute.attr, names);
  ------------------
  |  |  411|      4|    RETURN_IF_ERROR(codegen_addop_name((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5498|      4|            break;
 5499|  6.19k|        }
 5500|  6.19k|        break;
 5501|  6.19k|    case Subscript_kind:
  ------------------
  |  Branch (5501:5): [True: 466, False: 47.5k]
  ------------------
 5502|    466|        return codegen_subscript(c, e);
 5503|      0|    case Starred_kind:
  ------------------
  |  Branch (5503:5): [True: 0, False: 48.0k]
  ------------------
 5504|      0|        switch (e->v.Starred.ctx) {
 5505|      0|        case Store:
  ------------------
  |  Branch (5505:9): [True: 0, False: 0]
  ------------------
 5506|       |            /* In all legitimate cases, the Starred node was already replaced
 5507|       |             * by codegen_list/codegen_tuple. XXX: is that okay? */
 5508|      0|            return _PyCompile_Error(c, loc,
 5509|      0|                "starred assignment target must be in a list or tuple");
 5510|      0|        default:
  ------------------
  |  Branch (5510:9): [True: 0, False: 0]
  ------------------
 5511|      0|            return _PyCompile_Error(c, loc,
 5512|      0|                "can't use starred expression here");
 5513|      0|        }
 5514|      0|        break;
 5515|     23|    case Slice_kind:
  ------------------
  |  Branch (5515:5): [True: 23, False: 48.0k]
  ------------------
 5516|     23|        RETURN_IF_ERROR(codegen_slice(c, e));
  ------------------
  |  |   51|     23|    do {                    \
  |  |   52|     23|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 23]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     23|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 23]
  |  |  ------------------
  ------------------
 5517|     23|        break;
 5518|  24.1k|    case Name_kind:
  ------------------
  |  Branch (5518:5): [True: 24.1k, False: 23.8k]
  ------------------
 5519|  24.1k|        return codegen_nameop(c, loc, e->v.Name.id, e->v.Name.ctx);
 5520|       |    /* child nodes of List and Tuple will have expr_context set */
 5521|    172|    case List_kind:
  ------------------
  |  Branch (5521:5): [True: 172, False: 47.8k]
  ------------------
 5522|    172|        return codegen_list(c, e);
 5523|    831|    case Tuple_kind:
  ------------------
  |  Branch (5523:5): [True: 831, False: 47.2k]
  ------------------
 5524|    831|        return codegen_tuple(c, e);
 5525|  48.0k|    }
 5526|  12.9k|    return SUCCESS;
  ------------------
  |  |   47|  12.9k|#define SUCCESS 0
  ------------------
 5527|  48.0k|}
codegen.c:codegen_boolop:
 3389|    104|{
 3390|    104|    int jumpi;
 3391|    104|    Py_ssize_t i, n;
 3392|    104|    asdl_expr_seq *s;
 3393|       |
 3394|    104|    location loc = LOC(e);
  ------------------
  |  |   88|    104|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    104|    (_Py_SourceLocation){ \
  |  |  |  |   55|    104|               .lineno = (n)->lineno, \
  |  |  |  |   56|    104|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    104|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    104|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 3395|    104|    assert(e->kind == BoolOp_kind);
 3396|    104|    if (e->v.BoolOp.op == And)
  ------------------
  |  Branch (3396:9): [True: 64, False: 40]
  ------------------
 3397|     64|        jumpi = JUMP_IF_FALSE;
  ------------------
  |  |  249|     64|#define JUMP_IF_FALSE                          258
  ------------------
 3398|     40|    else
 3399|     40|        jumpi = JUMP_IF_TRUE;
  ------------------
  |  |  250|     40|#define JUMP_IF_TRUE                           259
  ------------------
 3400|    104|    NEW_JUMP_TARGET_LABEL(c, end);
  ------------------
  |  |   91|    104|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|    104|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|    104|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|    104|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|    104|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 104]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 3401|    104|    s = e->v.BoolOp.values;
 3402|    104|    n = asdl_seq_LEN(s) - 1;
  ------------------
  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3403|    104|    assert(n >= 0);
 3404|    335|    for (i = 0; i < n; ++i) {
  ------------------
  |  Branch (3404:17): [True: 231, False: 104]
  ------------------
 3405|    231|        VISIT(c, expr, (expr_ty)asdl_seq_GET(s, i));
  ------------------
  |  |  452|    231|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3406|    231|        ADDOP_JUMP(c, loc, jumpi, end);
  ------------------
  |  |  427|    231|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3407|    231|        ADDOP(c, loc, POP_TOP);
  ------------------
  |  |  290|    231|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3408|    231|    }
 3409|    104|    VISIT(c, expr, (expr_ty)asdl_seq_GET(s, n));
  ------------------
  |  |  452|    104|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3410|       |
 3411|    104|    USE_LABEL(c, end);
  ------------------
  |  |   97|    104|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3412|    104|    return SUCCESS;
  ------------------
  |  |   47|    104|#define SUCCESS 0
  ------------------
 3413|    104|}
codegen.c:unaryop:
 3194|     45|{
 3195|     45|    switch (op) {
 3196|      2|    case Invert:
  ------------------
  |  Branch (3196:5): [True: 2, False: 43]
  ------------------
 3197|      2|        return UNARY_INVERT;
  ------------------
  |  |   51|      2|#define UNARY_INVERT                            38
  ------------------
 3198|     43|    case USub:
  ------------------
  |  Branch (3198:5): [True: 43, False: 2]
  ------------------
 3199|     43|        return UNARY_NEGATIVE;
  ------------------
  |  |   52|     43|#define UNARY_NEGATIVE                          39
  ------------------
 3200|      0|    default:
  ------------------
  |  Branch (3200:5): [True: 0, False: 45]
  ------------------
 3201|      0|        PyErr_Format(PyExc_SystemError,
 3202|      0|            "unary op %d should not be possible", op);
 3203|      0|        return 0;
 3204|     45|    }
 3205|     45|}
codegen.c:codegen_lambda:
 2056|     87|{
 2057|     87|    PyCodeObject *co;
 2058|     87|    Py_ssize_t funcflags;
 2059|     87|    arguments_ty args = e->v.Lambda.args;
 2060|     87|    assert(e->kind == Lambda_kind);
 2061|       |
 2062|     87|    location loc = LOC(e);
  ------------------
  |  |   88|     87|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|     87|    (_Py_SourceLocation){ \
  |  |  |  |   55|     87|               .lineno = (n)->lineno, \
  |  |  |  |   56|     87|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|     87|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|     87|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2063|     87|    funcflags = codegen_default_arguments(c, loc, args);
 2064|     87|    RETURN_IF_ERROR(funcflags);
  ------------------
  |  |   51|     87|    do {                    \
  |  |   52|     87|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 87]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     87|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 87]
  |  |  ------------------
  ------------------
 2065|       |
 2066|     87|    _PyCompile_CodeUnitMetadata umd = {
 2067|     87|        .u_argcount = asdl_seq_LEN(args->args),
  ------------------
  |  |   83|     87|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    174|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 87]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2068|     87|        .u_posonlyargcount = asdl_seq_LEN(args->posonlyargs),
  ------------------
  |  |   83|     87|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    174|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 87]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2069|     87|        .u_kwonlyargcount = asdl_seq_LEN(args->kwonlyargs),
  ------------------
  |  |   83|     87|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    174|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 87]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2070|     87|    };
 2071|     87|    _Py_DECLARE_STR(anon_lambda, "<lambda>");
 2072|     87|    RETURN_IF_ERROR(
  ------------------
  |  |   51|     87|    do {                    \
  |  |   52|     87|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 87]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     87|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 87]
  |  |  ------------------
  ------------------
 2073|     87|        codegen_enter_scope(c, &_Py_STR(anon_lambda), COMPILE_SCOPE_LAMBDA,
 2074|     87|                            (void *)e, e->lineno, NULL, &umd));
 2075|       |
 2076|     87|    assert(!SYMTABLE_ENTRY(c)->ste_has_docstring);
 2077|       |
 2078|     87|    VISIT_IN_SCOPE(c, expr, e->v.Lambda.body);
  ------------------
  |  |  455|     87|    RETURN_IF_ERROR_IN_SCOPE((C), codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   58|     87|    do {                                    \
  |  |  |  |   59|     87|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 87]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|     87|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 87]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2079|     87|    if (SYMTABLE_ENTRY(c)->ste_generator) {
  ------------------
  |  |   71|     87|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  |  Branch (2079:9): [True: 0, False: 87]
  ------------------
 2080|      0|        co = _PyCompile_OptimizeAndAssemble(c, 0);
 2081|      0|    }
 2082|     87|    else {
 2083|     87|        location loc = LOC(e->v.Lambda.body);
  ------------------
  |  |   88|     87|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|     87|    (_Py_SourceLocation){ \
  |  |  |  |   55|     87|               .lineno = (n)->lineno, \
  |  |  |  |   56|     87|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|     87|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|     87|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2084|     87|        ADDOP_IN_SCOPE(c, loc, RETURN_VALUE);
  ------------------
  |  |  293|     87|    RETURN_IF_ERROR_IN_SCOPE((C), codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   58|     87|    do {                                    \
  |  |  |  |   59|     87|        if ((CALL) < 0) {                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (59:13): [True: 0, False: 87]
  |  |  |  |  ------------------
  |  |  |  |   60|      0|            _PyCompile_ExitScope((C));      \
  |  |  |  |   61|      0|            return ERROR;                   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   62|      0|        }                                   \
  |  |  |  |   63|     87|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (63:14): [Folded, False: 87]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2085|     87|        co = _PyCompile_OptimizeAndAssemble(c, 1);
 2086|     87|    }
 2087|     87|    _PyCompile_ExitScope(c);
 2088|     87|    if (co == NULL) {
  ------------------
  |  Branch (2088:9): [True: 0, False: 87]
  ------------------
 2089|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 2090|      0|    }
 2091|       |
 2092|     87|    int ret = codegen_make_closure(c, loc, co, funcflags);
 2093|     87|    Py_DECREF(co);
  ------------------
  |  |  430|     87|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     87|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     87|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2094|     87|    RETURN_IF_ERROR(ret);
  ------------------
  |  |   51|     87|    do {                    \
  |  |   52|     87|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 87]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     87|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 87]
  |  |  ------------------
  ------------------
 2095|     87|    return SUCCESS;
  ------------------
  |  |   47|     87|#define SUCCESS 0
  ------------------
 2096|     87|}
codegen.c:codegen_ifexp:
 2036|     48|{
 2037|     48|    assert(e->kind == IfExp_kind);
 2038|     48|    NEW_JUMP_TARGET_LABEL(c, end);
  ------------------
  |  |   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|    }
  ------------------
 2039|     48|    NEW_JUMP_TARGET_LABEL(c, next);
  ------------------
  |  |   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|    }
  ------------------
 2040|       |
 2041|     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]
  |  |  ------------------
  ------------------
 2042|     48|        codegen_jump_if(c, LOC(e), e->v.IfExp.test, next, 0));
 2043|       |
 2044|     48|    VISIT(c, expr, e->v.IfExp.body);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2045|     48|    ADDOP_JUMP(c, NO_LOCATION, JUMP_NO_INTERRUPT, end);
  ------------------
  |  |  427|     48|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2046|       |
 2047|     48|    USE_LABEL(c, next);
  ------------------
  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2048|     48|    VISIT(c, expr, e->v.IfExp.orelse);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2049|       |
 2050|     48|    USE_LABEL(c, end);
  ------------------
  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2051|     48|    return SUCCESS;
  ------------------
  |  |   47|     48|#define SUCCESS 0
  ------------------
 2052|     48|}
codegen.c:codegen_dict:
 3596|     79|{
 3597|     79|    location loc = LOC(e);
  ------------------
  |  |   88|     79|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|     79|    (_Py_SourceLocation){ \
  |  |  |  |   55|     79|               .lineno = (n)->lineno, \
  |  |  |  |   56|     79|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|     79|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|     79|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 3598|     79|    Py_ssize_t i, n, elements;
 3599|     79|    int have_dict;
 3600|     79|    int is_unpacking = 0;
 3601|     79|    n = asdl_seq_LEN(e->v.Dict.values);
  ------------------
  |  |   83|     79|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    158|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 79]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3602|     79|    have_dict = 0;
 3603|     79|    elements = 0;
 3604|    184|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (3604:17): [True: 105, False: 79]
  ------------------
 3605|    105|        is_unpacking = (expr_ty)asdl_seq_GET(e->v.Dict.keys, i) == NULL;
  ------------------
  |  |   82|    105|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    105|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 3606|    105|        if (is_unpacking) {
  ------------------
  |  Branch (3606:13): [True: 0, False: 105]
  ------------------
 3607|      0|            if (elements) {
  ------------------
  |  Branch (3607:17): [True: 0, False: 0]
  ------------------
 3608|      0|                RETURN_IF_ERROR(codegen_subdict(c, e, i - elements, 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]
  |  |  ------------------
  ------------------
 3609|      0|                if (have_dict) {
  ------------------
  |  Branch (3609:21): [True: 0, False: 0]
  ------------------
 3610|      0|                    ADDOP_I(c, loc, DICT_UPDATE, 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3611|      0|                }
 3612|      0|                have_dict = 1;
 3613|      0|                elements = 0;
 3614|      0|            }
 3615|      0|            if (have_dict == 0) {
  ------------------
  |  Branch (3615:17): [True: 0, False: 0]
  ------------------
 3616|      0|                ADDOP_I(c, loc, BUILD_MAP, 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3617|      0|                have_dict = 1;
 3618|      0|            }
 3619|      0|            VISIT(c, expr, (expr_ty)asdl_seq_GET(e->v.Dict.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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3620|      0|            ADDOP_I(c, loc, DICT_UPDATE, 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3621|      0|        }
 3622|    105|        else {
 3623|    105|            if (elements*2 > _PY_STACK_USE_GUIDELINE) {
  ------------------
  |  |   24|    105|#define _PY_STACK_USE_GUIDELINE 30
  ------------------
  |  Branch (3623:17): [True: 0, False: 105]
  ------------------
 3624|      0|                RETURN_IF_ERROR(codegen_subdict(c, e, i - elements, i + 1));
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
 3625|      0|                if (have_dict) {
  ------------------
  |  Branch (3625:21): [True: 0, False: 0]
  ------------------
 3626|      0|                    ADDOP_I(c, loc, DICT_UPDATE, 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3627|      0|                }
 3628|      0|                have_dict = 1;
 3629|      0|                elements = 0;
 3630|      0|            }
 3631|    105|            else {
 3632|    105|                elements++;
 3633|    105|            }
 3634|    105|        }
 3635|    105|    }
 3636|     79|    if (elements) {
  ------------------
  |  Branch (3636:9): [True: 36, False: 43]
  ------------------
 3637|     36|        RETURN_IF_ERROR(codegen_subdict(c, e, n - elements, n));
  ------------------
  |  |   51|     36|    do {                    \
  |  |   52|     36|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 36]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     36|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 36]
  |  |  ------------------
  ------------------
 3638|     36|        if (have_dict) {
  ------------------
  |  Branch (3638:13): [True: 0, False: 36]
  ------------------
 3639|      0|            ADDOP_I(c, loc, DICT_UPDATE, 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3640|      0|        }
 3641|     36|        have_dict = 1;
 3642|     36|    }
 3643|     79|    if (!have_dict) {
  ------------------
  |  Branch (3643:9): [True: 43, False: 36]
  ------------------
 3644|     43|        ADDOP_I(c, loc, BUILD_MAP, 0);
  ------------------
  |  |  276|     43|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     43|    do {                    \
  |  |  |  |   52|     43|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 43]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     43|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 43]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3645|     43|    }
 3646|     79|    return SUCCESS;
  ------------------
  |  |   47|     79|#define SUCCESS 0
  ------------------
 3647|     79|}
codegen.c:codegen_subdict:
 3574|     36|{
 3575|     36|    Py_ssize_t i, n = end - begin;
 3576|     36|    int big = n*2 > _PY_STACK_USE_GUIDELINE;
  ------------------
  |  |   24|     36|#define _PY_STACK_USE_GUIDELINE 30
  ------------------
 3577|     36|    location loc = LOC(e);
  ------------------
  |  |   88|     36|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|     36|    (_Py_SourceLocation){ \
  |  |  |  |   55|     36|               .lineno = (n)->lineno, \
  |  |  |  |   56|     36|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|     36|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|     36|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 3578|     36|    if (big) {
  ------------------
  |  Branch (3578:9): [True: 0, False: 36]
  ------------------
 3579|      0|        ADDOP_I(c, loc, BUILD_MAP, 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3580|      0|    }
 3581|    141|    for (i = begin; i < end; i++) {
  ------------------
  |  Branch (3581:21): [True: 105, False: 36]
  ------------------
 3582|    105|        VISIT(c, expr, (expr_ty)asdl_seq_GET(e->v.Dict.keys, i));
  ------------------
  |  |  452|    105|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    105|    do {                    \
  |  |  |  |   52|    105|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 105]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    105|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 105]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3583|    105|        VISIT(c, expr, (expr_ty)asdl_seq_GET(e->v.Dict.values, i));
  ------------------
  |  |  452|    105|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    105|    do {                    \
  |  |  |  |   52|    105|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 105]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    105|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 105]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3584|    105|        if (big) {
  ------------------
  |  Branch (3584:13): [True: 0, False: 105]
  ------------------
 3585|      0|            ADDOP_I(c, loc, MAP_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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3586|      0|        }
 3587|    105|    }
 3588|     36|    if (!big) {
  ------------------
  |  Branch (3588:9): [True: 36, False: 0]
  ------------------
 3589|     36|        ADDOP_I(c, loc, BUILD_MAP, n);
  ------------------
  |  |  276|     36|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     36|    do {                    \
  |  |  |  |   52|     36|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 36]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     36|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 36]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3590|     36|    }
 3591|     36|    return SUCCESS;
  ------------------
  |  |   47|     36|#define SUCCESS 0
  ------------------
 3592|     36|}
codegen.c:codegen_set:
 3566|     69|{
 3567|     69|    location loc = LOC(e);
  ------------------
  |  |   88|     69|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|     69|    (_Py_SourceLocation){ \
  |  |  |  |   55|     69|               .lineno = (n)->lineno, \
  |  |  |  |   56|     69|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|     69|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|     69|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 3568|     69|    return starunpack_helper(c, loc, e->v.Set.elts, 0,
 3569|     69|                             BUILD_SET, SET_ADD, SET_UPDATE, 0);
  ------------------
  |  |   59|     69|#define BUILD_SET                               46
  ------------------
                                           BUILD_SET, SET_ADD, SET_UPDATE, 0);
  ------------------
  |  |  119|     69|#define SET_ADD                                106
  ------------------
                                           BUILD_SET, SET_ADD, SET_UPDATE, 0);
  ------------------
  |  |  121|     69|#define SET_UPDATE                             108
  ------------------
 3570|     69|}
codegen.c:starunpack_helper:
 3483|    866|{
 3484|       |    return starunpack_helper_impl(c, loc, elts, NULL, pushed,
 3485|    866|                                  build, add, extend, tuple);
 3486|    866|}
codegen.c:codegen_genexp:
 5092|     46|{
 5093|     46|    assert(e->kind == GeneratorExp_kind);
 5094|     46|    _Py_DECLARE_STR(anon_genexpr, "<genexpr>");
 5095|     46|    return codegen_comprehension(c, e, COMP_GENEXP, &_Py_STR(anon_genexpr),
  ------------------
  |  |   40|     46|#define COMP_GENEXP   0
  ------------------
                  return codegen_comprehension(c, e, COMP_GENEXP, &_Py_STR(anon_genexpr),
  ------------------
  |  |  917|     46|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     46|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     46|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5096|     46|                                 e->v.GeneratorExp.generators,
 5097|       |                                 e->v.GeneratorExp.elt, NULL);
 5098|     46|}
codegen.c:codegen_comprehension:
 4955|     90|{
 4956|     90|    PyCodeObject *co = NULL;
 4957|     90|    _PyCompile_InlinedComprehensionState inline_state = {NULL, NULL, NULL, NO_LABEL};
  ------------------
  |  |   57|     90|#define NO_LABEL ((const _PyJumpTargetLabel){-1})
  ------------------
 4958|     90|    comprehension_ty outermost;
 4959|     90|    PySTEntryObject *entry = _PySymtable_Lookup(SYMTABLE(c), (void *)e);
  ------------------
  |  |   70|     90|#define SYMTABLE(C) _PyCompile_Symtable(C)
  ------------------
 4960|     90|    if (entry == NULL) {
  ------------------
  |  Branch (4960:9): [True: 0, False: 90]
  ------------------
 4961|      0|        goto error;
 4962|      0|    }
 4963|     90|    int is_inlined = entry->ste_comp_inlined;
 4964|     90|    int is_async_comprehension = entry->ste_coroutine;
 4965|       |
 4966|     90|    location loc = LOC(e);
  ------------------
  |  |   88|     90|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|     90|    (_Py_SourceLocation){ \
  |  |  |  |   55|     90|               .lineno = (n)->lineno, \
  |  |  |  |   56|     90|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|     90|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|     90|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 4967|       |
 4968|     90|    outermost = (comprehension_ty) asdl_seq_GET(generators, 0);
  ------------------
  |  |   82|     90|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|     90|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4969|     90|    IterStackPosition iter_state;
 4970|     90|    if (is_inlined) {
  ------------------
  |  Branch (4970:9): [True: 44, False: 46]
  ------------------
 4971|     44|        VISIT(c, expr, outermost->iter);
  ------------------
  |  |  452|     44|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|     44|    do {                    \
  |  |  |  |   52|     44|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 44]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     44|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 44]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4972|     44|        if (push_inlined_comprehension_state(c, loc, entry, &inline_state)) {
  ------------------
  |  Branch (4972:13): [True: 0, False: 44]
  ------------------
 4973|      0|            goto error;
 4974|      0|        }
 4975|     44|        iter_state = ITERABLE_ON_STACK;
 4976|     44|    }
 4977|     46|    else {
 4978|       |        /* Receive outermost iter as an implicit argument */
 4979|     46|        _PyCompile_CodeUnitMetadata umd = {
 4980|     46|            .u_argcount = 1,
 4981|     46|        };
 4982|     46|        if (codegen_enter_scope(c, name, COMPILE_SCOPE_COMPREHENSION,
  ------------------
  |  Branch (4982:13): [True: 0, False: 46]
  ------------------
 4983|     46|                                (void *)e, e->lineno, NULL, &umd) < 0) {
 4984|      0|            goto error;
 4985|      0|        }
 4986|     46|        if (type == COMP_GENEXP) {
  ------------------
  |  |   40|     46|#define COMP_GENEXP   0
  ------------------
  |  Branch (4986:13): [True: 46, False: 0]
  ------------------
 4987|       |            /* Insert GET_ITER before RETURN_GENERATOR.
 4988|       |               https://docs.python.org/3/reference/expressions.html#generator-expressions */
 4989|     46|            RETURN_IF_ERROR(
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
 4990|     46|                _PyInstructionSequence_InsertInstruction(
 4991|     46|                    INSTR_SEQUENCE(c), 0,
 4992|     46|                    RESUME, RESUME_AT_GEN_EXPR_START, NO_LOCATION));
 4993|     46|            RETURN_IF_ERROR(
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
 4994|     46|                _PyInstructionSequence_InsertInstruction(
 4995|     46|                    INSTR_SEQUENCE(c), 1,
 4996|     46|                    LOAD_FAST, 0, LOC(outermost->iter)));
 4997|     46|            RETURN_IF_ERROR(
  ------------------
  |  |   51|     46|    do {                    \
  |  |   52|     92|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 46]
  |  |  |  Branch (52:14): [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]
  |  |  ------------------
  ------------------
 4998|     46|                _PyInstructionSequence_InsertInstruction(
 4999|     46|                    INSTR_SEQUENCE(c), 2,
 5000|     46|                    outermost->is_async ? GET_AITER : GET_ITER,
 5001|     46|                    0, LOC(outermost->iter)));
 5002|     46|            iter_state = ITERATOR_ON_STACK;
 5003|     46|        }
 5004|      0|        else {
 5005|      0|            iter_state = ITERABLE_IN_LOCAL;
 5006|      0|        }
 5007|     46|    }
 5008|     90|    Py_CLEAR(entry);
  ------------------
  |  |  484|     90|    do { \
  |  |  485|     90|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     90|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     90|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     90|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     90|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 90, False: 0]
  |  |  ------------------
  |  |  488|     90|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     90|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     90|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     90|        } \
  |  |  491|     90|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 90]
  |  |  ------------------
  ------------------
 5009|       |
 5010|     90|    if (type != COMP_GENEXP) {
  ------------------
  |  |   40|     90|#define COMP_GENEXP   0
  ------------------
  |  Branch (5010:9): [True: 44, False: 46]
  ------------------
 5011|     44|        int op;
 5012|     44|        switch (type) {
 5013|     35|        case COMP_LISTCOMP:
  ------------------
  |  |   41|     35|#define COMP_LISTCOMP 1
  ------------------
  |  Branch (5013:9): [True: 35, False: 9]
  ------------------
 5014|     35|            op = BUILD_LIST;
  ------------------
  |  |   57|     35|#define BUILD_LIST                              44
  ------------------
 5015|     35|            break;
 5016|      7|        case COMP_SETCOMP:
  ------------------
  |  |   42|      7|#define COMP_SETCOMP  2
  ------------------
  |  Branch (5016:9): [True: 7, False: 37]
  ------------------
 5017|      7|            op = BUILD_SET;
  ------------------
  |  |   59|      7|#define BUILD_SET                               46
  ------------------
 5018|      7|            break;
 5019|      2|        case COMP_DICTCOMP:
  ------------------
  |  |   43|      2|#define COMP_DICTCOMP 3
  ------------------
  |  Branch (5019:9): [True: 2, False: 42]
  ------------------
 5020|      2|            op = BUILD_MAP;
  ------------------
  |  |   58|      2|#define BUILD_MAP                               45
  ------------------
 5021|      2|            break;
 5022|      0|        default:
  ------------------
  |  Branch (5022:9): [True: 0, False: 44]
  ------------------
 5023|      0|            PyErr_Format(PyExc_SystemError,
 5024|      0|                         "unknown comprehension type %d", type);
 5025|      0|            goto error_in_scope;
 5026|     44|        }
 5027|       |
 5028|     44|        ADDOP_I(c, loc, op, 0);
  ------------------
  |  |  276|     44|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     44|    do {                    \
  |  |  |  |   52|     44|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 44]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     44|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 44]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5029|     44|        if (is_inlined) {
  ------------------
  |  Branch (5029:13): [True: 44, False: 0]
  ------------------
 5030|     44|            ADDOP_I(c, loc, SWAP, 2);
  ------------------
  |  |  276|     44|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     44|    do {                    \
  |  |  |  |   52|     44|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 44]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     44|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 44]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5031|     44|        }
 5032|     44|    }
 5033|     90|    if (codegen_comprehension_generator(c, loc, generators, 0, 0,
  ------------------
  |  Branch (5033:9): [True: 0, False: 90]
  ------------------
 5034|     90|                                        elt, val, type, iter_state) < 0) {
 5035|      0|        goto error_in_scope;
 5036|      0|    }
 5037|       |
 5038|     90|    if (is_inlined) {
  ------------------
  |  Branch (5038:9): [True: 44, False: 46]
  ------------------
 5039|     44|        if (pop_inlined_comprehension_state(c, loc, &inline_state)) {
  ------------------
  |  Branch (5039:13): [True: 0, False: 44]
  ------------------
 5040|      0|            goto error;
 5041|      0|        }
 5042|     44|        return SUCCESS;
  ------------------
  |  |   47|     44|#define SUCCESS 0
  ------------------
 5043|     44|    }
 5044|       |
 5045|     46|    if (type != COMP_GENEXP) {
  ------------------
  |  |   40|     46|#define COMP_GENEXP   0
  ------------------
  |  Branch (5045:9): [True: 0, False: 46]
  ------------------
 5046|      0|        ADDOP(c, LOC(e), RETURN_VALUE);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5047|      0|    }
 5048|     46|    if (type == COMP_GENEXP) {
  ------------------
  |  |   40|     46|#define COMP_GENEXP   0
  ------------------
  |  Branch (5048:9): [True: 46, False: 0]
  ------------------
 5049|     46|        if (codegen_wrap_in_stopiteration_handler(c) < 0) {
  ------------------
  |  Branch (5049:13): [True: 0, False: 46]
  ------------------
 5050|      0|            goto error_in_scope;
 5051|      0|        }
 5052|     46|    }
 5053|       |
 5054|     46|    co = _PyCompile_OptimizeAndAssemble(c, 1);
 5055|     46|    _PyCompile_ExitScope(c);
 5056|     46|    if (co == NULL) {
  ------------------
  |  Branch (5056:9): [True: 0, False: 46]
  ------------------
 5057|      0|        goto error;
 5058|      0|    }
 5059|       |
 5060|     46|    loc = LOC(e);
  ------------------
  |  |   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 }
  |  |  ------------------
  ------------------
 5061|     46|    if (codegen_make_closure(c, loc, co, 0) < 0) {
  ------------------
  |  Branch (5061:9): [True: 0, False: 46]
  ------------------
 5062|      0|        goto error;
 5063|      0|    }
 5064|     46|    Py_CLEAR(co);
  ------------------
  |  |  484|     46|    do { \
  |  |  485|     46|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     46|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     46|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     46|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     46|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 46, False: 0]
  |  |  ------------------
  |  |  488|     46|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     46|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     46|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     46|        } \
  |  |  491|     46|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 46]
  |  |  ------------------
  ------------------
 5065|       |
 5066|     46|    VISIT(c, expr, outermost->iter);
  ------------------
  |  |  452|     46|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5067|     46|    ADDOP_I(c, loc, CALL, 0);
  ------------------
  |  |  276|     46|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5068|       |
 5069|     46|    if (is_async_comprehension && type != COMP_GENEXP) {
  ------------------
  |  |   40|      0|#define COMP_GENEXP   0
  ------------------
  |  Branch (5069:9): [True: 0, False: 46]
  |  Branch (5069:35): [True: 0, False: 0]
  ------------------
 5070|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5071|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5072|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5073|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5074|      0|    }
 5075|       |
 5076|     46|    return SUCCESS;
  ------------------
  |  |   47|     46|#define SUCCESS 0
  ------------------
 5077|      0|error_in_scope:
 5078|      0|    if (!is_inlined) {
  ------------------
  |  Branch (5078:9): [True: 0, False: 0]
  ------------------
 5079|      0|        _PyCompile_ExitScope(c);
 5080|      0|    }
 5081|      0|error:
 5082|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5083|      0|    Py_XDECREF(entry);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5084|      0|    Py_XDECREF(inline_state.pushed_locals);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5085|      0|    Py_XDECREF(inline_state.temp_symbols);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5086|      0|    Py_XDECREF(inline_state.fast_hidden);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5087|      0|    return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 5088|      0|}
codegen.c:push_inlined_comprehension_state:
 4887|     44|{
 4888|     44|    RETURN_IF_ERROR(
  ------------------
  |  |   51|     44|    do {                    \
  |  |   52|     44|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 44]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     44|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 44]
  |  |  ------------------
  ------------------
 4889|     44|        _PyCompile_TweakInlinedComprehensionScopes(c, loc, comp, state));
 4890|     44|    RETURN_IF_ERROR(
  ------------------
  |  |   51|     44|    do {                    \
  |  |   52|     44|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 44]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     44|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 44]
  |  |  ------------------
  ------------------
 4891|     44|        codegen_push_inlined_comprehension_locals(c, loc, comp, state));
 4892|     44|    return SUCCESS;
  ------------------
  |  |   47|     44|#define SUCCESS 0
  ------------------
 4893|     44|}
codegen.c:codegen_push_inlined_comprehension_locals:
 4819|     44|{
 4820|     44|    int in_class_block = (SYMTABLE_ENTRY(c)->ste_type == ClassBlock) &&
  ------------------
  |  |   71|     44|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
  |  Branch (4820:26): [True: 1, False: 43]
  ------------------
 4821|      1|                          !_PyCompile_IsInInlinedComp(c);
  ------------------
  |  Branch (4821:27): [True: 0, False: 1]
  ------------------
 4822|     44|    PySTEntryObject *outer = SYMTABLE_ENTRY(c);
  ------------------
  |  |   71|     44|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
 4823|       |    // iterate over names bound in the comprehension and ensure we isolate
 4824|       |    // them from the outer scope as needed
 4825|     44|    PyObject *k, *v;
 4826|     44|    Py_ssize_t pos = 0;
 4827|    181|    while (PyDict_Next(comp->ste_symbols, &pos, &k, &v)) {
  ------------------
  |  Branch (4827:12): [True: 137, False: 44]
  ------------------
 4828|    137|        long symbol = PyLong_AsLong(v);
 4829|    137|        assert(symbol >= 0 || PyErr_Occurred());
 4830|    137|        RETURN_IF_ERROR(symbol);
  ------------------
  |  |   51|    137|    do {                    \
  |  |   52|    137|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 137]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    137|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 137]
  |  |  ------------------
  ------------------
 4831|    137|        long scope = SYMBOL_TO_SCOPE(symbol);
  ------------------
  |  |  185|    137|#define SYMBOL_TO_SCOPE(S) (((S) >> SCOPE_OFFSET) & SCOPE_MASK)
  |  |  ------------------
  |  |  |  |  183|    137|#define SCOPE_OFFSET 12
  |  |  ------------------
  |  |               #define SYMBOL_TO_SCOPE(S) (((S) >> SCOPE_OFFSET) & SCOPE_MASK)
  |  |  ------------------
  |  |  |  |  184|    137|#define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  165|    137|#define DEF_GLOBAL 1             /* global stmt */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  166|    137|#define DEF_LOCAL 2              /* assignment in code block */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  167|    137|#define DEF_PARAM (2<<1)         /* formal parameter */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  168|    137|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4832|       |
 4833|    137|        long outsymbol = _PyST_GetSymbol(outer, k);
 4834|    137|        RETURN_IF_ERROR(outsymbol);
  ------------------
  |  |   51|    137|    do {                    \
  |  |   52|    137|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 137]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    137|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 137]
  |  |  ------------------
  ------------------
 4835|    137|        long outsc = SYMBOL_TO_SCOPE(outsymbol);
  ------------------
  |  |  185|    137|#define SYMBOL_TO_SCOPE(S) (((S) >> SCOPE_OFFSET) & SCOPE_MASK)
  |  |  ------------------
  |  |  |  |  183|    137|#define SCOPE_OFFSET 12
  |  |  ------------------
  |  |               #define SYMBOL_TO_SCOPE(S) (((S) >> SCOPE_OFFSET) & SCOPE_MASK)
  |  |  ------------------
  |  |  |  |  184|    137|#define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  165|    137|#define DEF_GLOBAL 1             /* global stmt */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  166|    137|#define DEF_LOCAL 2              /* assignment in code block */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  167|    137|#define DEF_PARAM (2<<1)         /* formal parameter */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  168|    137|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4836|       |
 4837|    137|        if ((symbol & DEF_LOCAL && !(symbol & DEF_NONLOCAL)) || in_class_block) {
  ------------------
  |  |  166|    274|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
                      if ((symbol & DEF_LOCAL && !(symbol & DEF_NONLOCAL)) || in_class_block) {
  ------------------
  |  |  168|     51|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  ------------------
  |  Branch (4837:14): [True: 51, False: 86]
  |  Branch (4837:36): [True: 51, False: 0]
  |  Branch (4837:65): [True: 0, False: 86]
  ------------------
 4838|       |            // local names bound in comprehension must be isolated from
 4839|       |            // outer scope; push existing value (which may be NULL if
 4840|       |            // not defined) on stack
 4841|     51|            if (state->pushed_locals == NULL) {
  ------------------
  |  Branch (4841:17): [True: 44, False: 7]
  ------------------
 4842|     44|                state->pushed_locals = PyList_New(0);
 4843|     44|                if (state->pushed_locals == NULL) {
  ------------------
  |  Branch (4843:21): [True: 0, False: 44]
  ------------------
 4844|      0|                    return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 4845|      0|                }
 4846|     44|            }
 4847|       |            // in the case of a cell, this will actually push the cell
 4848|       |            // itself to the stack, then we'll create a new one for the
 4849|       |            // comprehension and restore the original one after
 4850|     51|            ADDOP_NAME(c, loc, LOAD_FAST_AND_CLEAR, k, varnames);
  ------------------
  |  |  411|     51|    RETURN_IF_ERROR(codegen_addop_name((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O)))
  |  |  ------------------
  |  |  |  |   51|     51|    do {                    \
  |  |  |  |   52|     51|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 51]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     51|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 51]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4851|     51|            if (scope == CELL) {
  ------------------
  |  |  191|     51|#define CELL 5
  ------------------
  |  Branch (4851:17): [True: 0, False: 51]
  ------------------
 4852|      0|                if (outsc == FREE) {
  ------------------
  |  |  190|      0|#define FREE 4
  ------------------
  |  Branch (4852:21): [True: 0, False: 0]
  ------------------
 4853|      0|                    ADDOP_NAME(c, loc, MAKE_CELL, k, freevars);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4854|      0|                } else {
 4855|      0|                    ADDOP_NAME(c, loc, MAKE_CELL, k, cellvars);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4856|      0|                }
 4857|      0|            }
 4858|     51|            if (PyList_Append(state->pushed_locals, k) < 0) {
  ------------------
  |  Branch (4858:17): [True: 0, False: 51]
  ------------------
 4859|      0|                return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 4860|      0|            }
 4861|     51|        }
 4862|    137|    }
 4863|     44|    if (state->pushed_locals) {
  ------------------
  |  Branch (4863:9): [True: 44, False: 0]
  ------------------
 4864|       |        // Outermost iterable expression was already evaluated and is on the
 4865|       |        // stack, we need to swap it back to TOS. This also rotates the order of
 4866|       |        // `pushed_locals` on the stack, but this will be reversed when we swap
 4867|       |        // out the comprehension result in pop_inlined_comprehension_state
 4868|     44|        ADDOP_I(c, loc, SWAP, PyList_GET_SIZE(state->pushed_locals) + 1);
  ------------------
  |  |  276|     44|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     44|    do {                    \
  |  |  |  |   52|     44|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 44]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     44|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 44]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4869|       |
 4870|       |        // Add our own cleanup handler to restore comprehension locals in case
 4871|       |        // of exception, so they have the correct values inside an exception
 4872|       |        // handler or finally block.
 4873|     44|        NEW_JUMP_TARGET_LABEL(c, cleanup);
  ------------------
  |  |   91|     44|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|     44|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|     44|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|     44|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|     44|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 44]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 4874|     44|        state->cleanup = cleanup;
 4875|       |
 4876|       |        // no need to push an fblock for this "virtual" try/finally; there can't
 4877|       |        // be return/continue/break inside a comprehension
 4878|     44|        ADDOP_JUMP(c, loc, SETUP_FINALLY, cleanup);
  ------------------
  |  |  427|     44|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|     44|    do {                    \
  |  |  |  |   52|     44|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 44]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     44|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 44]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4879|     44|    }
 4880|     44|    return SUCCESS;
  ------------------
  |  |   47|     44|#define SUCCESS 0
  ------------------
 4881|     44|}
codegen.c:codegen_comprehension_generator:
 4500|     91|{
 4501|     91|    comprehension_ty gen;
 4502|     91|    gen = (comprehension_ty)asdl_seq_GET(generators, gen_index);
  ------------------
  |  |   82|     91|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|     91|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4503|     91|    if (gen->is_async) {
  ------------------
  |  Branch (4503:9): [True: 0, False: 91]
  ------------------
 4504|      0|        return codegen_async_comprehension_generator(
 4505|      0|            c, loc, generators, gen_index, depth, elt, val, type,
 4506|      0|            iter_pos);
 4507|     91|    } else {
 4508|     91|        return codegen_sync_comprehension_generator(
 4509|     91|            c, loc, generators, gen_index, depth, elt, val, type,
 4510|     91|            iter_pos);
 4511|     91|    }
 4512|     91|}
codegen.c:codegen_sync_comprehension_generator:
 4520|     91|{
 4521|       |    /* generate code for the iterator, then each of the ifs,
 4522|       |       and then write to the element */
 4523|       |
 4524|     91|    NEW_JUMP_TARGET_LABEL(c, start);
  ------------------
  |  |   91|     91|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|     91|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|     91|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|     91|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|     91|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 91]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 4525|     91|    NEW_JUMP_TARGET_LABEL(c, if_cleanup);
  ------------------
  |  |   91|     91|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|     91|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|     91|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|     91|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|     91|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 91]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 4526|     91|    NEW_JUMP_TARGET_LABEL(c, anchor);
  ------------------
  |  |   91|     91|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|     91|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|     91|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|     91|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|     91|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 91]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 4527|       |
 4528|     91|    comprehension_ty gen = (comprehension_ty)asdl_seq_GET(generators,
  ------------------
  |  |   82|     91|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|     91|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4529|     91|                                                          gen_index);
 4530|       |
 4531|     91|    if (iter_pos == ITERABLE_IN_LOCAL) {
  ------------------
  |  Branch (4531:9): [True: 1, False: 90]
  ------------------
 4532|      1|        if (gen_index == 0) {
  ------------------
  |  Branch (4532:13): [True: 0, False: 1]
  ------------------
 4533|      0|            assert(METADATA(c)->u_argcount == 1);
 4534|      0|            ADDOP_I(c, loc, LOAD_FAST, 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4535|      0|        }
 4536|      1|        else {
 4537|       |            /* Sub-iter - calculate on the fly */
 4538|       |            /* Fast path for the temporary variable assignment idiom:
 4539|       |                for y in [f(x)]
 4540|       |            */
 4541|      1|            asdl_expr_seq *elts;
 4542|      1|            switch (gen->iter->kind) {
 4543|      0|                case List_kind:
  ------------------
  |  Branch (4543:17): [True: 0, False: 1]
  ------------------
 4544|      0|                    elts = gen->iter->v.List.elts;
 4545|      0|                    break;
 4546|      0|                case Tuple_kind:
  ------------------
  |  Branch (4546:17): [True: 0, False: 1]
  ------------------
 4547|      0|                    elts = gen->iter->v.Tuple.elts;
 4548|      0|                    break;
 4549|      1|                default:
  ------------------
  |  Branch (4549:17): [True: 1, False: 0]
  ------------------
 4550|      1|                    elts = NULL;
 4551|      1|            }
 4552|      1|            if (asdl_seq_LEN(elts) == 1) {
  ------------------
  |  |   83|      1|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|      2|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 1, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4552:17): [True: 0, False: 1]
  ------------------
 4553|      0|                expr_ty elt = asdl_seq_GET(elts, 0);
  ------------------
  |  |   82|      0|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|      0|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4554|      0|                if (elt->kind != Starred_kind) {
  ------------------
  |  Branch (4554:21): [True: 0, False: 0]
  ------------------
 4555|      0|                    VISIT(c, expr, elt);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4556|      0|                    start = NO_LABEL;
  ------------------
  |  |   57|      0|#define NO_LABEL ((const _PyJumpTargetLabel){-1})
  ------------------
 4557|      0|                }
 4558|      0|            }
 4559|      1|            if (IS_JUMP_TARGET_LABEL(start)) {
  ------------------
  |  |   60|      1|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  ------------------
  |  |  |  |   59|      1|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  ------------------
  |  |  |  Branch (60:33): [True: 1, False: 0]
  |  |  ------------------
  ------------------
 4560|      1|                VISIT(c, expr, gen->iter);
  ------------------
  |  |  452|      1|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|      1|    do {                    \
  |  |  |  |   52|      1|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      1|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4561|      1|            }
 4562|      1|        }
 4563|      1|    }
 4564|       |
 4565|     91|    if (IS_JUMP_TARGET_LABEL(start)) {
  ------------------
  |  |   60|     91|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  ------------------
  |  |  |  |   59|     91|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  ------------------
  |  |  |  Branch (60:33): [True: 91, False: 0]
  |  |  ------------------
  ------------------
 4566|     91|        if (iter_pos != ITERATOR_ON_STACK) {
  ------------------
  |  Branch (4566:13): [True: 45, False: 46]
  ------------------
 4567|     45|            ADDOP_I(c, LOC(gen->iter), GET_ITER, 0);
  ------------------
  |  |  276|     45|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     45|    do {                    \
  |  |  |  |   52|     45|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 45]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     45|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 45]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4568|     45|            depth += 1;
 4569|     45|        }
 4570|     91|        USE_LABEL(c, start);
  ------------------
  |  |   97|     91|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|     91|    do {                    \
  |  |  |  |   52|     91|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 91]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     91|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 91]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4571|     91|        depth += 1;
 4572|     91|        ADDOP_JUMP(c, LOC(gen->iter), FOR_ITER, anchor);
  ------------------
  |  |  427|     91|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|     91|    do {                    \
  |  |  |  |   52|     91|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 91]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     91|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 91]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4573|     91|    }
 4574|     91|    VISIT(c, expr, gen->target);
  ------------------
  |  |  452|     91|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|     91|    do {                    \
  |  |  |  |   52|     91|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 91]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     91|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 91]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4575|       |
 4576|       |    /* XXX this needs to be cleaned up...a lot! */
 4577|     91|    Py_ssize_t n = asdl_seq_LEN(gen->ifs);
  ------------------
  |  |   83|     91|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    182|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 91]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4578|    110|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (4578:28): [True: 19, False: 91]
  ------------------
 4579|     19|        expr_ty e = (expr_ty)asdl_seq_GET(gen->ifs, i);
  ------------------
  |  |   82|     19|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|     19|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4580|     19|        RETURN_IF_ERROR(codegen_jump_if(c, loc, e, if_cleanup, 0));
  ------------------
  |  |   51|     19|    do {                    \
  |  |   52|     19|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 19]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     19|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 19]
  |  |  ------------------
  ------------------
 4581|     19|    }
 4582|       |
 4583|     91|    if (++gen_index < asdl_seq_LEN(generators)) {
  ------------------
  |  |   83|     91|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    182|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 91]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4583:9): [True: 1, False: 90]
  ------------------
 4584|      1|        RETURN_IF_ERROR(
  ------------------
  |  |   51|      1|    do {                    \
  |  |   52|      1|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 1]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      1|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 1]
  |  |  ------------------
  ------------------
 4585|      1|            codegen_comprehension_generator(c, loc,
 4586|      1|                                            generators, gen_index, depth,
 4587|      1|                                            elt, val, type, ITERABLE_IN_LOCAL));
 4588|      1|    }
 4589|       |
 4590|     91|    location elt_loc = LOC(elt);
  ------------------
  |  |   88|     91|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|     91|    (_Py_SourceLocation){ \
  |  |  |  |   55|     91|               .lineno = (n)->lineno, \
  |  |  |  |   56|     91|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|     91|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|     91|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 4591|       |
 4592|       |    /* only append after the last for generator */
 4593|     91|    if (gen_index >= asdl_seq_LEN(generators)) {
  ------------------
  |  |   83|     91|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    182|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 91]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4593:9): [True: 90, False: 1]
  ------------------
 4594|       |        /* comprehension specific code */
 4595|     90|        switch (type) {
 4596|     46|        case COMP_GENEXP:
  ------------------
  |  |   40|     46|#define COMP_GENEXP   0
  ------------------
  |  Branch (4596:9): [True: 46, False: 44]
  ------------------
 4597|     46|            if (elt->kind == Starred_kind) {
  ------------------
  |  Branch (4597:17): [True: 0, False: 46]
  ------------------
 4598|      0|                NEW_JUMP_TARGET_LABEL(c, unpack_start);
  ------------------
  |  |   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|    }
  ------------------
 4599|      0|                NEW_JUMP_TARGET_LABEL(c, unpack_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|    }
  ------------------
 4600|      0|                VISIT(c, expr, elt->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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4601|      0|                ADDOP_I(c, elt_loc, GET_ITER, 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4602|      0|                USE_LABEL(c, unpack_start);
  ------------------
  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4603|      0|                ADDOP_JUMP(c, elt_loc, FOR_ITER, unpack_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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4604|      0|                ADDOP_YIELD(c, elt_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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4605|      0|                ADDOP(c, elt_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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4606|      0|                ADDOP_JUMP(c, NO_LOCATION, JUMP, unpack_start);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4607|      0|                USE_LABEL(c, unpack_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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4608|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4609|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4610|      0|            }
 4611|     46|            else {
 4612|     46|                VISIT(c, expr, elt);
  ------------------
  |  |  452|     46|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4613|     46|                ADDOP_YIELD(c, elt_loc);
  ------------------
  |  |  445|     46|    RETURN_IF_ERROR(codegen_addop_yield((C), (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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4614|     46|                ADDOP(c, elt_loc, POP_TOP);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4615|     46|            }
 4616|     46|            break;
 4617|     46|        case COMP_LISTCOMP:
  ------------------
  |  |   41|     35|#define COMP_LISTCOMP 1
  ------------------
  |  Branch (4617:9): [True: 35, False: 55]
  ------------------
 4618|     35|            if (elt->kind == Starred_kind) {
  ------------------
  |  Branch (4618:17): [True: 0, False: 35]
  ------------------
 4619|      0|                VISIT(c, expr, elt->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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4620|      0|                ADDOP_I(c, elt_loc, LIST_EXTEND, depth + 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4621|      0|            }
 4622|     35|            else {
 4623|     35|                VISIT(c, expr, elt);
  ------------------
  |  |  452|     35|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|     35|    do {                    \
  |  |  |  |   52|     35|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 35]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     35|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 35]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4624|     35|                ADDOP_I(c, elt_loc, LIST_APPEND, depth + 1);
  ------------------
  |  |  276|     35|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     35|    do {                    \
  |  |  |  |   52|     35|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 35]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     35|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 35]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4625|     35|            }
 4626|     35|            break;
 4627|     35|        case COMP_SETCOMP:
  ------------------
  |  |   42|      7|#define COMP_SETCOMP  2
  ------------------
  |  Branch (4627:9): [True: 7, False: 83]
  ------------------
 4628|      7|            if (elt->kind == Starred_kind) {
  ------------------
  |  Branch (4628:17): [True: 0, False: 7]
  ------------------
 4629|      0|                VISIT(c, expr, elt->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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4630|      0|                ADDOP_I(c, elt_loc, SET_UPDATE, depth + 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4631|      0|            }
 4632|      7|            else {
 4633|      7|                VISIT(c, expr, elt);
  ------------------
  |  |  452|      7|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|      7|    do {                    \
  |  |  |  |   52|      7|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 7]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      7|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 7]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4634|      7|                ADDOP_I(c, elt_loc, SET_ADD, depth + 1);
  ------------------
  |  |  276|      7|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      7|    do {                    \
  |  |  |  |   52|      7|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 7]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      7|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 7]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4635|      7|            }
 4636|      7|            break;
 4637|      7|        case COMP_DICTCOMP:
  ------------------
  |  |   43|      2|#define COMP_DICTCOMP 3
  ------------------
  |  Branch (4637:9): [True: 2, False: 88]
  ------------------
 4638|      2|            if (val == NULL) {
  ------------------
  |  Branch (4638:17): [True: 0, False: 2]
  ------------------
 4639|       |                /* unpacking (**) case */
 4640|      0|                VISIT(c, expr, elt);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4641|      0|                ADDOP_I(c, elt_loc, DICT_UPDATE, depth+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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4642|      0|            }
 4643|      2|            else {
 4644|       |                /* With '{k: v}', k is evaluated before v, so we do
 4645|       |                the same. */
 4646|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4647|      2|                VISIT(c, expr, val);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4648|      2|                elt_loc = LOCATION(elt->lineno,
  ------------------
  |  |   86|      2|    ((const _Py_SourceLocation){(LNO), (END_LNO), (COL), (END_COL)})
  ------------------
 4649|      2|                                   val->end_lineno,
 4650|      2|                                   elt->col_offset,
 4651|      2|                                   val->end_col_offset);
 4652|      2|                ADDOP_I(c, elt_loc, MAP_ADD, depth + 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4653|      2|            }
 4654|      2|            break;
 4655|      2|        default:
  ------------------
  |  Branch (4655:9): [True: 0, False: 90]
  ------------------
 4656|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 4657|     90|        }
 4658|     90|    }
 4659|       |
 4660|     91|    USE_LABEL(c, if_cleanup);
  ------------------
  |  |   97|     91|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|     91|    do {                    \
  |  |  |  |   52|     91|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 91]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     91|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 91]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4661|     91|    if (IS_JUMP_TARGET_LABEL(start)) {
  ------------------
  |  |   60|     91|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  ------------------
  |  |  |  |   59|     91|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  ------------------
  |  |  |  Branch (60:33): [True: 91, False: 0]
  |  |  ------------------
  ------------------
 4662|     91|        ADDOP_JUMP(c, elt_loc, JUMP, start);
  ------------------
  |  |  427|     91|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|     91|    do {                    \
  |  |  |  |   52|     91|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 91]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     91|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 91]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4663|       |
 4664|     91|        USE_LABEL(c, anchor);
  ------------------
  |  |   97|     91|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|     91|    do {                    \
  |  |  |  |   52|     91|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 91]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     91|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 91]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4665|       |        /* It is important for instrumentation that the `END_FOR` comes first.
 4666|       |        * Iteration over a generator will jump to the first of these instructions,
 4667|       |        * but a non-generator will jump to a later instruction.
 4668|       |        */
 4669|     91|        ADDOP(c, NO_LOCATION, END_FOR);
  ------------------
  |  |  290|     91|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     91|    do {                    \
  |  |  |  |   52|     91|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 91]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     91|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 91]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4670|     91|        ADDOP(c, NO_LOCATION, POP_ITER);
  ------------------
  |  |  290|     91|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     91|    do {                    \
  |  |  |  |   52|     91|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 91]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     91|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 91]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4671|     91|    }
 4672|       |
 4673|     91|    return SUCCESS;
  ------------------
  |  |   47|     91|#define SUCCESS 0
  ------------------
 4674|     91|}
codegen.c:pop_inlined_comprehension_state:
 4945|     44|{
 4946|     44|    RETURN_IF_ERROR(codegen_pop_inlined_comprehension_locals(c, loc, state));
  ------------------
  |  |   51|     44|    do {                    \
  |  |   52|     44|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 44]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     44|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 44]
  |  |  ------------------
  ------------------
 4947|     44|    RETURN_IF_ERROR(_PyCompile_RevertInlinedComprehensionScopes(c, loc, state));
  ------------------
  |  |   51|     44|    do {                    \
  |  |   52|     44|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 44]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     44|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 44]
  |  |  ------------------
  ------------------
 4948|     44|    return SUCCESS;
  ------------------
  |  |   47|     44|#define SUCCESS 0
  ------------------
 4949|     44|}
codegen.c:codegen_pop_inlined_comprehension_locals:
 4920|     44|{
 4921|     44|    if (state->pushed_locals) {
  ------------------
  |  Branch (4921:9): [True: 44, False: 0]
  ------------------
 4922|     44|        ADDOP(c, NO_LOCATION, POP_BLOCK);
  ------------------
  |  |  290|     44|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     44|    do {                    \
  |  |  |  |   52|     44|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 44]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     44|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 44]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4923|       |
 4924|     44|        NEW_JUMP_TARGET_LABEL(c, end);
  ------------------
  |  |   91|     44|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|     44|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|     44|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|     44|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|     44|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 44]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 4925|     44|        ADDOP_JUMP(c, NO_LOCATION, JUMP_NO_INTERRUPT, end);
  ------------------
  |  |  427|     44|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|     44|    do {                    \
  |  |  |  |   52|     44|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 44]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     44|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 44]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4926|       |
 4927|       |        // cleanup from an exception inside the comprehension
 4928|     44|        USE_LABEL(c, state->cleanup);
  ------------------
  |  |   97|     44|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|     44|    do {                    \
  |  |  |  |   52|     44|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 44]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     44|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 44]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4929|       |        // discard incomplete comprehension result (beneath exc on stack)
 4930|     44|        ADDOP_I(c, NO_LOCATION, SWAP, 2);
  ------------------
  |  |  276|     44|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     44|    do {                    \
  |  |  |  |   52|     44|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 44]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     44|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 44]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4931|     44|        ADDOP(c, NO_LOCATION, POP_TOP);
  ------------------
  |  |  290|     44|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     44|    do {                    \
  |  |  |  |   52|     44|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 44]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     44|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 44]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4932|     44|        RETURN_IF_ERROR(restore_inlined_comprehension_locals(c, loc, state));
  ------------------
  |  |   51|     44|    do {                    \
  |  |   52|     44|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 44]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     44|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 44]
  |  |  ------------------
  ------------------
 4933|     44|        ADDOP_I(c, NO_LOCATION, RERAISE, 0);
  ------------------
  |  |  276|     44|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     44|    do {                    \
  |  |  |  |   52|     44|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 44]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     44|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 44]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4934|       |
 4935|     44|        USE_LABEL(c, end);
  ------------------
  |  |   97|     44|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|     44|    do {                    \
  |  |  |  |   52|     44|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 44]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     44|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 44]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4936|     44|        RETURN_IF_ERROR(restore_inlined_comprehension_locals(c, loc, state));
  ------------------
  |  |   51|     44|    do {                    \
  |  |   52|     44|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 44]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     44|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 44]
  |  |  ------------------
  ------------------
 4937|     44|        Py_CLEAR(state->pushed_locals);
  ------------------
  |  |  484|     44|    do { \
  |  |  485|     44|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     44|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     44|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     44|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     44|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 44, False: 0]
  |  |  ------------------
  |  |  488|     44|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     44|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     44|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     44|        } \
  |  |  491|     44|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 44]
  |  |  ------------------
  ------------------
 4938|     44|    }
 4939|     44|    return SUCCESS;
  ------------------
  |  |   47|     44|#define SUCCESS 0
  ------------------
 4940|     44|}
codegen.c:restore_inlined_comprehension_locals:
 4898|     88|{
 4899|     88|    PyObject *k;
 4900|       |    // pop names we pushed to stack earlier
 4901|     88|    Py_ssize_t npops = PyList_GET_SIZE(state->pushed_locals);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4902|       |    // Preserve the comprehension result (or exception) as TOS. This
 4903|       |    // reverses the SWAP we did in push_inlined_comprehension_state
 4904|       |    // to get the outermost iterable to TOS, so we can still just iterate
 4905|       |    // pushed_locals in simple reverse order
 4906|     88|    ADDOP_I(c, loc, SWAP, npops + 1);
  ------------------
  |  |  276|     88|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     88|    do {                    \
  |  |  |  |   52|     88|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 88]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     88|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 88]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4907|    190|    for (Py_ssize_t i = npops - 1; i >= 0; --i) {
  ------------------
  |  Branch (4907:36): [True: 102, False: 88]
  ------------------
 4908|    102|        k = PyList_GetItem(state->pushed_locals, i);
 4909|    102|        if (k == NULL) {
  ------------------
  |  Branch (4909:13): [True: 0, False: 102]
  ------------------
 4910|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 4911|      0|        }
 4912|    102|        ADDOP_NAME(c, loc, STORE_FAST_MAYBE_NULL, k, varnames);
  ------------------
  |  |  411|    102|    RETURN_IF_ERROR(codegen_addop_name((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O)))
  |  |  ------------------
  |  |  |  |   51|    102|    do {                    \
  |  |  |  |   52|    102|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 102]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    102|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 102]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4913|    102|    }
 4914|     88|    return SUCCESS;
  ------------------
  |  |   47|     88|#define SUCCESS 0
  ------------------
 4915|     88|}
codegen.c:codegen_listcomp:
 5102|     35|{
 5103|     35|    assert(e->kind == ListComp_kind);
 5104|     35|    _Py_DECLARE_STR(anon_listcomp, "<listcomp>");
 5105|     35|    return codegen_comprehension(c, e, COMP_LISTCOMP, &_Py_STR(anon_listcomp),
  ------------------
  |  |   41|     35|#define COMP_LISTCOMP 1
  ------------------
                  return codegen_comprehension(c, e, COMP_LISTCOMP, &_Py_STR(anon_listcomp),
  ------------------
  |  |  917|     35|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     35|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     35|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5106|     35|                                 e->v.ListComp.generators,
 5107|       |                                 e->v.ListComp.elt, NULL);
 5108|     35|}
codegen.c:codegen_setcomp:
 5112|      7|{
 5113|      7|    assert(e->kind == SetComp_kind);
 5114|      7|    _Py_DECLARE_STR(anon_setcomp, "<setcomp>");
 5115|      7|    return codegen_comprehension(c, e, COMP_SETCOMP, &_Py_STR(anon_setcomp),
  ------------------
  |  |   42|      7|#define COMP_SETCOMP  2
  ------------------
                  return codegen_comprehension(c, e, COMP_SETCOMP, &_Py_STR(anon_setcomp),
  ------------------
  |  |  917|      7|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      7|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      7|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5116|      7|                                 e->v.SetComp.generators,
 5117|       |                                 e->v.SetComp.elt, NULL);
 5118|      7|}
codegen.c:codegen_dictcomp:
 5123|      2|{
 5124|      2|    assert(e->kind == DictComp_kind);
 5125|      2|    _Py_DECLARE_STR(anon_dictcomp, "<dictcomp>");
 5126|      2|    return codegen_comprehension(c, e, COMP_DICTCOMP, &_Py_STR(anon_dictcomp),
  ------------------
  |  |   43|      2|#define COMP_DICTCOMP 3
  ------------------
                  return codegen_comprehension(c, e, COMP_DICTCOMP, &_Py_STR(anon_dictcomp),
  ------------------
  |  |  917|      2|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5127|      2|                                 e->v.DictComp.generators,
 5128|      2|                                 e->v.DictComp.key, e->v.DictComp.value);
 5129|      2|}
codegen.c:codegen_addop_yield:
 3263|    103|codegen_addop_yield(compiler *c, location loc) {
 3264|    103|    PySTEntryObject *ste = SYMTABLE_ENTRY(c);
  ------------------
  |  |   71|    103|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
 3265|    103|    if (ste->ste_generator && ste->ste_coroutine) {
  ------------------
  |  Branch (3265:9): [True: 103, False: 0]
  |  Branch (3265:31): [True: 0, False: 103]
  ------------------
 3266|      0|        ADDOP_I(c, loc, CALL_INTRINSIC_1, INTRINSIC_ASYNC_GEN_WRAP);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3267|      0|    }
 3268|    103|    ADDOP_I(c, loc, YIELD_VALUE, 0);
  ------------------
  |  |  276|    103|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    103|    do {                    \
  |  |  |  |   52|    103|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 103]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    103|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 103]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3269|    103|    ADDOP_I(c, loc, RESUME, RESUME_AFTER_YIELD);
  ------------------
  |  |  276|    103|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    103|    do {                    \
  |  |  |  |   52|    103|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 103]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    103|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 103]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3270|    103|    return SUCCESS;
  ------------------
  |  |   47|    103|#define SUCCESS 0
  ------------------
 3271|    103|}
codegen.c:codegen_compare:
 3651|  1.73k|{
 3652|  1.73k|    location loc = LOC(e);
  ------------------
  |  |   88|  1.73k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  1.73k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  1.73k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  1.73k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  1.73k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  1.73k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 3653|  1.73k|    Py_ssize_t i, n;
 3654|       |
 3655|  1.73k|    RETURN_IF_ERROR(codegen_check_compare(c, e));
  ------------------
  |  |   51|  1.73k|    do {                    \
  |  |   52|  1.73k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 1.73k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  1.73k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 1.73k]
  |  |  ------------------
  ------------------
 3656|  1.73k|    VISIT(c, expr, e->v.Compare.left);
  ------------------
  |  |  452|  1.73k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  1.73k|    do {                    \
  |  |  |  |   52|  1.73k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.73k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.73k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.73k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3657|  1.73k|    assert(asdl_seq_LEN(e->v.Compare.ops) > 0);
 3658|  1.73k|    n = asdl_seq_LEN(e->v.Compare.ops) - 1;
  ------------------
  |  |   83|  1.73k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  3.47k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 1.73k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3659|  1.73k|    if (n == 0) {
  ------------------
  |  Branch (3659:9): [True: 1.73k, False: 3]
  ------------------
 3660|  1.73k|        VISIT(c, expr, (expr_ty)asdl_seq_GET(e->v.Compare.comparators, 0));
  ------------------
  |  |  452|  1.73k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  1.73k|    do {                    \
  |  |  |  |   52|  1.73k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.73k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.73k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.73k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3661|  1.73k|        ADDOP_COMPARE(c, loc, asdl_seq_GET(e->v.Compare.ops, 0));
  ------------------
  |  |  430|  1.73k|    RETURN_IF_ERROR(codegen_addcompare((C), (LOC), (cmpop_ty)(CMP)))
  |  |  ------------------
  |  |  |  |   51|  1.73k|    do {                    \
  |  |  |  |   52|  1.73k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.73k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.73k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.73k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3662|  1.73k|    }
 3663|      3|    else {
 3664|      3|        NEW_JUMP_TARGET_LABEL(c, cleanup);
  ------------------
  |  |   91|      3|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|      3|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|      3|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|      3|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|      3|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 3]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 3665|      6|        for (i = 0; i < n; i++) {
  ------------------
  |  Branch (3665:21): [True: 3, False: 3]
  ------------------
 3666|      3|            VISIT(c, expr,
  ------------------
  |  |  452|      3|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|      3|    do {                    \
  |  |  |  |   52|      3|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      3|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3667|      3|                (expr_ty)asdl_seq_GET(e->v.Compare.comparators, i));
 3668|      3|            ADDOP_I(c, loc, SWAP, 2);
  ------------------
  |  |  276|      3|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      3|    do {                    \
  |  |  |  |   52|      3|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      3|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3669|      3|            ADDOP_I(c, loc, COPY, 2);
  ------------------
  |  |  276|      3|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      3|    do {                    \
  |  |  |  |   52|      3|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      3|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3670|      3|            ADDOP_COMPARE(c, loc, asdl_seq_GET(e->v.Compare.ops, i));
  ------------------
  |  |  430|      3|    RETURN_IF_ERROR(codegen_addcompare((C), (LOC), (cmpop_ty)(CMP)))
  |  |  ------------------
  |  |  |  |   51|      3|    do {                    \
  |  |  |  |   52|      3|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      3|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3671|      3|            ADDOP_I(c, loc, COPY, 1);
  ------------------
  |  |  276|      3|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      3|    do {                    \
  |  |  |  |   52|      3|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      3|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3672|      3|            ADDOP(c, loc, TO_BOOL);
  ------------------
  |  |  290|      3|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      3|    do {                    \
  |  |  |  |   52|      3|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      3|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3673|      3|            ADDOP_JUMP(c, loc, POP_JUMP_IF_FALSE, cleanup);
  ------------------
  |  |  427|      3|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|      3|    do {                    \
  |  |  |  |   52|      3|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      3|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3674|      3|            ADDOP(c, loc, POP_TOP);
  ------------------
  |  |  290|      3|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      3|    do {                    \
  |  |  |  |   52|      3|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      3|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3675|      3|        }
 3676|      3|        VISIT(c, expr, (expr_ty)asdl_seq_GET(e->v.Compare.comparators, n));
  ------------------
  |  |  452|      3|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|      3|    do {                    \
  |  |  |  |   52|      3|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      3|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3677|      3|        ADDOP_COMPARE(c, loc, asdl_seq_GET(e->v.Compare.ops, n));
  ------------------
  |  |  430|      3|    RETURN_IF_ERROR(codegen_addcompare((C), (LOC), (cmpop_ty)(CMP)))
  |  |  ------------------
  |  |  |  |   51|      3|    do {                    \
  |  |  |  |   52|      3|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      3|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3678|      3|        NEW_JUMP_TARGET_LABEL(c, end);
  ------------------
  |  |   91|      3|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|      3|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|      3|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|      3|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|      3|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 3]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 3679|      3|        ADDOP_JUMP(c, NO_LOCATION, JUMP_NO_INTERRUPT, end);
  ------------------
  |  |  427|      3|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|      3|    do {                    \
  |  |  |  |   52|      3|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      3|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3680|       |
 3681|      3|        USE_LABEL(c, cleanup);
  ------------------
  |  |   97|      3|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|      3|    do {                    \
  |  |  |  |   52|      3|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      3|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3682|      3|        ADDOP_I(c, loc, SWAP, 2);
  ------------------
  |  |  276|      3|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      3|    do {                    \
  |  |  |  |   52|      3|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      3|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3683|      3|        ADDOP(c, loc, POP_TOP);
  ------------------
  |  |  290|      3|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      3|    do {                    \
  |  |  |  |   52|      3|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      3|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3684|       |
 3685|      3|        USE_LABEL(c, end);
  ------------------
  |  |   97|      3|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   51|      3|    do {                    \
  |  |  |  |   52|      3|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      3|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3686|      3|    }
 3687|  1.73k|    return SUCCESS;
  ------------------
  |  |   47|  1.73k|#define SUCCESS 0
  ------------------
 3688|  1.73k|}
codegen.c:codegen_call:
 4155|  5.89k|{
 4156|  5.89k|    RETURN_IF_ERROR(codegen_validate_keywords(c, e->v.Call.keywords));
  ------------------
  |  |   51|  5.89k|    do {                    \
  |  |   52|  5.89k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 5.89k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  5.89k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 5.89k]
  |  |  ------------------
  ------------------
 4157|  5.89k|    int ret = maybe_optimize_method_call(c, e);
 4158|  5.89k|    if (ret < 0) {
  ------------------
  |  Branch (4158:9): [True: 0, False: 5.89k]
  ------------------
 4159|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 4160|      0|    }
 4161|  5.89k|    if (ret == 1) {
  ------------------
  |  Branch (4161:9): [True: 2.90k, False: 2.99k]
  ------------------
 4162|  2.90k|        return SUCCESS;
  ------------------
  |  |   47|  2.90k|#define SUCCESS 0
  ------------------
 4163|  2.90k|    }
 4164|  2.99k|    NEW_JUMP_TARGET_LABEL(c, skip_normal_call);
  ------------------
  |  |   91|  2.99k|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|  2.99k|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|  2.99k|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|  2.99k|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|  2.99k|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 2.99k]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 4165|  2.99k|    RETURN_IF_ERROR(check_caller(c, e->v.Call.func));
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
 4166|  2.99k|    VISIT(c, expr, e->v.Call.func);
  ------------------
  |  |  452|  2.99k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4167|  2.99k|    RETURN_IF_ERROR(maybe_optimize_function_call(c, e, skip_normal_call));
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
 4168|  2.99k|    location loc = LOC(e->v.Call.func);
  ------------------
  |  |   88|  2.99k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  2.99k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  2.99k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  2.99k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  2.99k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  2.99k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 4169|  2.99k|    ADDOP(c, loc, PUSH_NULL);
  ------------------
  |  |  290|  2.99k|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4170|  2.99k|    loc = LOC(e);
  ------------------
  |  |   88|  2.99k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  2.99k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  2.99k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  2.99k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  2.99k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  2.99k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 4171|  2.99k|    ret = codegen_call_helper(c, loc, 0,
 4172|  2.99k|                              e->v.Call.args,
 4173|  2.99k|                              e->v.Call.keywords);
 4174|  2.99k|    USE_LABEL(c, skip_normal_call);
  ------------------
  |  |   97|  2.99k|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4175|  2.99k|    return ret;
 4176|  2.99k|}
codegen.c:maybe_optimize_method_call:
 4061|  5.89k|{
 4062|  5.89k|    Py_ssize_t argsl, i, kwdsl;
 4063|  5.89k|    expr_ty meth = e->v.Call.func;
 4064|  5.89k|    asdl_expr_seq *args = e->v.Call.args;
 4065|  5.89k|    asdl_keyword_seq *kwds = e->v.Call.keywords;
 4066|       |
 4067|       |    /* Check that the call node is an attribute access */
 4068|  5.89k|    if (meth->kind != Attribute_kind || meth->v.Attribute.ctx != Load) {
  ------------------
  |  Branch (4068:9): [True: 2.37k, False: 3.52k]
  |  Branch (4068:41): [True: 0, False: 3.52k]
  ------------------
 4069|  2.37k|        return 0;
 4070|  2.37k|    }
 4071|       |
 4072|       |    /* Check that the base object is not something that is imported */
 4073|  3.52k|    int ret = is_import_originated(c, meth->v.Attribute.value);
 4074|  3.52k|    RETURN_IF_ERROR(ret);
  ------------------
  |  |   51|  3.52k|    do {                    \
  |  |   52|  3.52k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 3.52k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  3.52k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 3.52k]
  |  |  ------------------
  ------------------
 4075|  3.52k|    if (ret) {
  ------------------
  |  Branch (4075:9): [True: 552, False: 2.97k]
  ------------------
 4076|    552|        return 0;
 4077|    552|    }
 4078|       |
 4079|       |    /* Check that there aren't too many arguments */
 4080|  2.97k|    argsl = asdl_seq_LEN(args);
  ------------------
  |  |   83|  2.97k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  5.95k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 998, False: 1.97k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4081|  2.97k|    kwdsl = asdl_seq_LEN(kwds);
  ------------------
  |  |   83|  2.97k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  5.95k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 2.82k, False: 152]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4082|  2.97k|    if (argsl + kwdsl + (kwdsl != 0) >= _PY_STACK_USE_GUIDELINE) {
  ------------------
  |  |   24|  2.97k|#define _PY_STACK_USE_GUIDELINE 30
  ------------------
  |  Branch (4082:9): [True: 0, False: 2.97k]
  ------------------
 4083|      0|        return 0;
 4084|      0|    }
 4085|       |    /* Check that there are no *varargs types of arguments. */
 4086|  6.17k|    for (i = 0; i < argsl; i++) {
  ------------------
  |  Branch (4086:17): [True: 3.25k, False: 2.91k]
  ------------------
 4087|  3.25k|        expr_ty elt = asdl_seq_GET(args, i);
  ------------------
  |  |   82|  3.25k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  3.25k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4088|  3.25k|        if (elt->kind == Starred_kind) {
  ------------------
  |  Branch (4088:13): [True: 59, False: 3.20k]
  ------------------
 4089|     59|            return 0;
 4090|     59|        }
 4091|  3.25k|    }
 4092|       |
 4093|  3.11k|    for (i = 0; i < kwdsl; i++) {
  ------------------
  |  Branch (4093:17): [True: 213, False: 2.90k]
  ------------------
 4094|    213|        keyword_ty kw = asdl_seq_GET(kwds, i);
  ------------------
  |  |   82|    213|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    213|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4095|    213|        if (kw->arg == NULL) {
  ------------------
  |  Branch (4095:13): [True: 15, False: 198]
  ------------------
 4096|     15|            return 0;
 4097|     15|        }
 4098|    213|    }
 4099|       |
 4100|       |    /* Alright, we can optimize the code. */
 4101|  2.90k|    location loc = LOC(meth);
  ------------------
  |  |   88|  2.90k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  2.90k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  2.90k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  2.90k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  2.90k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  2.90k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 4102|       |
 4103|  2.90k|    ret = can_optimize_super_call(c, meth);
 4104|  2.90k|    RETURN_IF_ERROR(ret);
  ------------------
  |  |   51|  2.90k|    do {                    \
  |  |   52|  2.90k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 2.90k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  2.90k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2.90k]
  |  |  ------------------
  ------------------
 4105|  2.90k|    if (ret) {
  ------------------
  |  Branch (4105:9): [True: 115, False: 2.78k]
  ------------------
 4106|    115|        RETURN_IF_ERROR(load_args_for_super(c, meth->v.Attribute.value));
  ------------------
  |  |   51|    115|    do {                    \
  |  |   52|    115|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 115]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    115|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 115]
  |  |  ------------------
  ------------------
 4107|    115|        int opcode = asdl_seq_LEN(meth->v.Attribute.value->v.Call.args) ?
  ------------------
  |  |   83|    115|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    230|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:26): [True: 65, False: 50]
  |  |  |  |  |  Branch (277:37): [True: 50, False: 65]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4108|     65|            LOAD_SUPER_METHOD : LOAD_ZERO_SUPER_METHOD;
  ------------------
  |  |  355|     65|#define LOAD_SUPER_METHOD -2
  ------------------
                          LOAD_SUPER_METHOD : LOAD_ZERO_SUPER_METHOD;
  ------------------
  |  |  357|     50|#define LOAD_ZERO_SUPER_METHOD -4
  ------------------
 4109|    115|        ADDOP_NAME(c, loc, opcode, meth->v.Attribute.attr, names);
  ------------------
  |  |  411|    115|    RETURN_IF_ERROR(codegen_addop_name((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O)))
  |  |  ------------------
  |  |  |  |   51|    115|    do {                    \
  |  |  |  |   52|    115|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 115]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    115|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 115]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4110|    115|        loc = update_start_location_to_match_attr(c, loc, meth);
 4111|    115|        ADDOP(c, loc, NOP);
  ------------------
  |  |  290|    115|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    115|    do {                    \
  |  |  |  |   52|    115|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 115]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    115|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 115]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4112|  2.78k|    } else {
 4113|  2.78k|        VISIT(c, expr, meth->v.Attribute.value);
  ------------------
  |  |  452|  2.78k|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|  2.78k|    do {                    \
  |  |  |  |   52|  2.78k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.78k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.78k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.78k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4114|  2.78k|        loc = update_start_location_to_match_attr(c, loc, meth);
 4115|  2.78k|        ADDOP_NAME(c, loc, LOAD_METHOD, meth->v.Attribute.attr, names);
  ------------------
  |  |  411|  2.78k|    RETURN_IF_ERROR(codegen_addop_name((C), (LOC), (OP), METADATA(C)->u_ ## TYPE, (O)))
  |  |  ------------------
  |  |  |  |   51|  2.78k|    do {                    \
  |  |  |  |   52|  2.78k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.78k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.78k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.78k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4116|  2.78k|    }
 4117|       |
 4118|  2.90k|    VISIT_SEQ(c, expr, e->v.Call.args);
  ------------------
  |  |  458|  2.90k|    do {                                                                    \
  |  |  459|  2.90k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  460|  6.03k|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|  6.03k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  12.0k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 994, False: 5.03k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (460:26): [True: 3.13k, False: 2.90k]
  |  |  ------------------
  |  |  461|  3.13k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|  3.13k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  3.13k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  462|  3.13k|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|  3.13k|    do {                    \
  |  |  |  |   52|  3.13k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3.13k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  3.13k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3.13k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|  3.13k|        }                                                                   \
  |  |  464|  2.90k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (464:14): [Folded, False: 2.90k]
  |  |  ------------------
  ------------------
 4119|       |
 4120|  2.90k|    if (kwdsl) {
  ------------------
  |  Branch (4120:9): [True: 94, False: 2.80k]
  ------------------
 4121|     94|        VISIT_SEQ(c, keyword, kwds);
  ------------------
  |  |  458|     94|    do {                                                                    \
  |  |  459|     94|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  460|    283|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|    283|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    566|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 283]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (460:26): [True: 189, False: 94]
  |  |  ------------------
  |  |  461|    189|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|    189|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    189|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  462|    189|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|    189|    do {                    \
  |  |  |  |   52|    189|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 189]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    189|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 189]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|    189|        }                                                                   \
  |  |  464|     94|    } while (0)
  |  |  ------------------
  |  |  |  Branch (464:14): [Folded, False: 94]
  |  |  ------------------
  ------------------
 4122|     94|        RETURN_IF_ERROR(
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
 4123|     94|            codegen_call_simple_kw_helper(c, loc, kwds, kwdsl));
 4124|     94|        loc = update_start_location_to_match_attr(c, LOC(e), meth);
  ------------------
  |  |   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 }
  |  |  ------------------
  ------------------
 4125|     94|        ADDOP_I(c, loc, CALL_KW, argsl + kwdsl);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4126|     94|    }
 4127|  2.80k|    else {
 4128|  2.80k|        loc = update_start_location_to_match_attr(c, LOC(e), meth);
  ------------------
  |  |   88|  2.80k|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  2.80k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  2.80k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  2.80k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  2.80k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  2.80k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 4129|  2.80k|        ADDOP_I(c, loc, CALL, argsl);
  ------------------
  |  |  276|  2.80k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  2.80k|    do {                    \
  |  |  |  |   52|  2.80k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 2.80k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  2.80k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 2.80k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4130|  2.80k|    }
 4131|  2.90k|    return 1;
 4132|  2.90k|}
codegen.c:is_import_originated:
 3818|  3.52k|{
 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|  3.52k|    if (e->kind != Name_kind) {
  ------------------
  |  Branch (3825:9): [True: 948, False: 2.57k]
  ------------------
 3826|    948|        return 0;
 3827|    948|    }
 3828|       |
 3829|  2.57k|    long flags = _PyST_GetSymbol(SYMTABLE(c)->st_top, e->v.Name.id);
  ------------------
  |  |   70|  2.57k|#define SYMTABLE(C) _PyCompile_Symtable(C)
  ------------------
 3830|  2.57k|    RETURN_IF_ERROR(flags);
  ------------------
  |  |   51|  2.57k|    do {                    \
  |  |   52|  2.57k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 2.57k]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|  2.57k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 2.57k]
  |  |  ------------------
  ------------------
 3831|  2.57k|    return flags & DEF_IMPORT;
  ------------------
  |  |  171|  2.57k|#define DEF_IMPORT (2<<6)        /* assignment occurred via import */
  ------------------
 3832|  2.57k|}
codegen.c:check_caller:
 3724|  2.99k|{
 3725|  2.99k|    switch (e->kind) {
 3726|      0|    case Constant_kind:
  ------------------
  |  Branch (3726:5): [True: 0, False: 2.99k]
  ------------------
 3727|      0|    case Tuple_kind:
  ------------------
  |  Branch (3727:5): [True: 0, False: 2.99k]
  ------------------
 3728|      0|    case List_kind:
  ------------------
  |  Branch (3728:5): [True: 0, False: 2.99k]
  ------------------
 3729|      0|    case ListComp_kind:
  ------------------
  |  Branch (3729:5): [True: 0, False: 2.99k]
  ------------------
 3730|      0|    case Dict_kind:
  ------------------
  |  Branch (3730:5): [True: 0, False: 2.99k]
  ------------------
 3731|      0|    case DictComp_kind:
  ------------------
  |  Branch (3731:5): [True: 0, False: 2.99k]
  ------------------
 3732|      0|    case Set_kind:
  ------------------
  |  Branch (3732:5): [True: 0, False: 2.99k]
  ------------------
 3733|      0|    case SetComp_kind:
  ------------------
  |  Branch (3733:5): [True: 0, False: 2.99k]
  ------------------
 3734|      0|    case GeneratorExp_kind:
  ------------------
  |  Branch (3734:5): [True: 0, False: 2.99k]
  ------------------
 3735|      0|    case JoinedStr_kind:
  ------------------
  |  Branch (3735:5): [True: 0, False: 2.99k]
  ------------------
 3736|      0|    case TemplateStr_kind:
  ------------------
  |  Branch (3736:5): [True: 0, False: 2.99k]
  ------------------
 3737|      0|    case FormattedValue_kind:
  ------------------
  |  Branch (3737:5): [True: 0, False: 2.99k]
  ------------------
 3738|      0|    case Interpolation_kind: {
  ------------------
  |  Branch (3738:5): [True: 0, False: 2.99k]
  ------------------
 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|  2.99k|    default:
  ------------------
  |  Branch (3744:5): [True: 2.99k, False: 0]
  ------------------
 3745|  2.99k|        return SUCCESS;
  ------------------
  |  |   47|  2.99k|#define SUCCESS 0
  ------------------
 3746|  2.99k|    }
 3747|  2.99k|}
codegen.c:maybe_optimize_function_call:
 3949|  2.99k|{
 3950|  2.99k|    asdl_expr_seq *args = e->v.Call.args;
 3951|  2.99k|    asdl_keyword_seq *kwds = e->v.Call.keywords;
 3952|  2.99k|    expr_ty func = e->v.Call.func;
 3953|       |
 3954|  2.99k|    if (! (func->kind == Name_kind &&
  ------------------
  |  Branch (3954:12): [True: 2.37k, False: 627]
  ------------------
 3955|  2.37k|           asdl_seq_LEN(args) == 1 &&
  ------------------
  |  |   83|  2.37k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  4.74k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 264, False: 2.10k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3955:12): [True: 1.35k, False: 1.01k]
  ------------------
 3956|  1.35k|           asdl_seq_LEN(kwds) == 0 &&
  ------------------
  |  |   83|  1.35k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  2.71k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 1.29k, False: 68]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3956:12): [True: 1.29k, False: 68]
  ------------------
 3957|  1.29k|           asdl_seq_GET(args, 0)->kind == GeneratorExp_kind))
  ------------------
  |  |   82|  1.29k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  1.29k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  |  Branch (3957:12): [True: 18, False: 1.27k]
  ------------------
 3958|  2.98k|    {
 3959|  2.98k|        return 0;
 3960|  2.98k|    }
 3961|       |
 3962|     18|    expr_ty generator_exp = asdl_seq_GET(args, 0);
  ------------------
  |  |   82|     18|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|     18|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 3963|     18|    PySTEntryObject *generator_entry = _PySymtable_Lookup(SYMTABLE(c), (void *)generator_exp);
  ------------------
  |  |   70|     18|#define SYMTABLE(C) _PyCompile_Symtable(C)
  ------------------
 3964|     18|    if (generator_entry->ste_coroutine) {
  ------------------
  |  Branch (3964:9): [True: 0, False: 18]
  ------------------
 3965|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3966|      0|        return 0;
 3967|      0|    }
 3968|     18|    Py_DECREF(generator_entry);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3969|       |
 3970|     18|    location loc = LOC(func);
  ------------------
  |  |   88|     18|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|     18|    (_Py_SourceLocation){ \
  |  |  |  |   55|     18|               .lineno = (n)->lineno, \
  |  |  |  |   56|     18|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|     18|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|     18|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 3971|       |
 3972|     18|    int optimized = 0;
 3973|     18|    NEW_JUMP_TARGET_LABEL(c, skip_optimization);
  ------------------
  |  |   91|     18|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|     18|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|     18|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|     18|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|     18|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 18]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 3974|       |
 3975|     18|    int const_oparg = -1;
 3976|     18|    PyObject *initial_res = NULL;
 3977|     18|    int continue_jump_opcode = -1;
 3978|     18|    if (_PyUnicode_EqualToASCIIString(func->v.Name.id, "all")) {
  ------------------
  |  Branch (3978:9): [True: 4, False: 14]
  ------------------
 3979|      4|        const_oparg = CONSTANT_BUILTIN_ALL;
  ------------------
  |  |   74|      4|#define CONSTANT_BUILTIN_ALL 3
  ------------------
 3980|      4|        initial_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3981|      4|        continue_jump_opcode = POP_JUMP_IF_TRUE;
  ------------------
  |  |  115|      4|#define POP_JUMP_IF_TRUE                       102
  ------------------
 3982|      4|    }
 3983|     14|    else if (_PyUnicode_EqualToASCIIString(func->v.Name.id, "any")) {
  ------------------
  |  Branch (3983:14): [True: 6, False: 8]
  ------------------
 3984|      6|        const_oparg = CONSTANT_BUILTIN_ANY;
  ------------------
  |  |   75|      6|#define CONSTANT_BUILTIN_ANY 4
  ------------------
 3985|      6|        initial_res = 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3986|      6|        continue_jump_opcode = POP_JUMP_IF_FALSE;
  ------------------
  |  |  112|      6|#define POP_JUMP_IF_FALSE                       99
  ------------------
 3987|      6|    }
 3988|      8|    else if (_PyUnicode_EqualToASCIIString(func->v.Name.id, "tuple")) {
  ------------------
  |  Branch (3988:14): [True: 3, False: 5]
  ------------------
 3989|      3|        const_oparg = CONSTANT_BUILTIN_TUPLE;
  ------------------
  |  |   73|      3|#define CONSTANT_BUILTIN_TUPLE 2
  ------------------
 3990|      3|    }
 3991|      5|    else if (_PyUnicode_EqualToASCIIString(func->v.Name.id, "list")) {
  ------------------
  |  Branch (3991:14): [True: 0, False: 5]
  ------------------
 3992|      0|        const_oparg = CONSTANT_BUILTIN_LIST;
  ------------------
  |  |   76|      0|#define CONSTANT_BUILTIN_LIST 5
  ------------------
 3993|      0|    }
 3994|      5|    else if (_PyUnicode_EqualToASCIIString(func->v.Name.id, "set")) {
  ------------------
  |  Branch (3994:14): [True: 1, False: 4]
  ------------------
 3995|      1|        const_oparg = CONSTANT_BUILTIN_SET;
  ------------------
  |  |   77|      1|#define CONSTANT_BUILTIN_SET 6
  ------------------
 3996|      1|    }
 3997|     18|    if (const_oparg != -1) {
  ------------------
  |  Branch (3997:9): [True: 14, False: 4]
  ------------------
 3998|     14|        ADDOP_I(c, loc, COPY, 1); // the function
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3999|     14|        ADDOP_I(c, loc, LOAD_COMMON_CONSTANT, const_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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4000|     14|        ADDOP_COMPARE(c, loc, Is);
  ------------------
  |  |  430|     14|    RETURN_IF_ERROR(codegen_addcompare((C), (LOC), (cmpop_ty)(CMP)))
  |  |  ------------------
  |  |  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4001|     14|        ADDOP_JUMP(c, loc, POP_JUMP_IF_FALSE, skip_optimization);
  ------------------
  |  |  427|     14|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4002|     14|        ADDOP(c, loc, POP_TOP);
  ------------------
  |  |  290|     14|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4003|       |
 4004|     14|        if (const_oparg == CONSTANT_BUILTIN_TUPLE || const_oparg == CONSTANT_BUILTIN_LIST) {
  ------------------
  |  |   73|     28|#define CONSTANT_BUILTIN_TUPLE 2
  ------------------
                      if (const_oparg == CONSTANT_BUILTIN_TUPLE || const_oparg == CONSTANT_BUILTIN_LIST) {
  ------------------
  |  |   76|     11|#define CONSTANT_BUILTIN_LIST 5
  ------------------
  |  Branch (4004:13): [True: 3, False: 11]
  |  Branch (4004:54): [True: 0, False: 11]
  ------------------
 4005|      3|            ADDOP_I(c, loc, BUILD_LIST, 0);
  ------------------
  |  |  276|      3|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      3|    do {                    \
  |  |  |  |   52|      3|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      3|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4006|     11|        } else if (const_oparg == CONSTANT_BUILTIN_SET) {
  ------------------
  |  |   77|     11|#define CONSTANT_BUILTIN_SET 6
  ------------------
  |  Branch (4006:20): [True: 1, False: 10]
  ------------------
 4007|      1|            ADDOP_I(c, loc, BUILD_SET, 0);
  ------------------
  |  |  276|      1|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      1|    do {                    \
  |  |  |  |   52|      1|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      1|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4008|      1|        }
 4009|     14|        VISIT(c, expr, generator_exp);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4010|       |
 4011|     14|        NEW_JUMP_TARGET_LABEL(c, loop);
  ------------------
  |  |   91|     14|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|     14|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|     14|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|     14|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|     14|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 14]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 4012|     14|        NEW_JUMP_TARGET_LABEL(c, cleanup);
  ------------------
  |  |   91|     14|    jump_target_label NAME = _PyInstructionSequence_NewLabel(INSTR_SEQUENCE(C)); \
  |  |  ------------------
  |  |  |  |   68|     14|#define INSTR_SEQUENCE(C) _PyCompile_InstrSequence(C)
  |  |  ------------------
  |  |   92|     14|    if (!IS_JUMP_TARGET_LABEL(NAME)) { \
  |  |  ------------------
  |  |  |  |   60|     14|#define IS_JUMP_TARGET_LABEL(L) (!SAME_JUMP_TARGET_LABEL((L), (NO_LABEL)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   59|     14|#define SAME_JUMP_TARGET_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (92:9): [True: 0, False: 14]
  |  |  ------------------
  |  |   93|      0|        return ERROR; \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   94|      0|    }
  ------------------
 4013|       |
 4014|     14|        ADDOP(c, loc, PUSH_NULL); // Push NULL index for loop
  ------------------
  |  |  290|     14|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4015|     14|        USE_LABEL(c, loop);
  ------------------
  |  |   97|     14|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4016|     14|        ADDOP_JUMP(c, loc, FOR_ITER, cleanup);
  ------------------
  |  |  427|     14|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4017|     14|        if (const_oparg == CONSTANT_BUILTIN_TUPLE || const_oparg == CONSTANT_BUILTIN_LIST) {
  ------------------
  |  |   73|     28|#define CONSTANT_BUILTIN_TUPLE 2
  ------------------
                      if (const_oparg == CONSTANT_BUILTIN_TUPLE || const_oparg == CONSTANT_BUILTIN_LIST) {
  ------------------
  |  |   76|     11|#define CONSTANT_BUILTIN_LIST 5
  ------------------
  |  Branch (4017:13): [True: 3, False: 11]
  |  Branch (4017:54): [True: 0, False: 11]
  ------------------
 4018|      3|            ADDOP_I(c, loc, LIST_APPEND, 3);
  ------------------
  |  |  276|      3|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      3|    do {                    \
  |  |  |  |   52|      3|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      3|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4019|      3|            ADDOP_JUMP(c, loc, JUMP, loop);
  ------------------
  |  |  427|      3|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|      3|    do {                    \
  |  |  |  |   52|      3|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      3|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4020|     11|        } else if (const_oparg == CONSTANT_BUILTIN_SET) {
  ------------------
  |  |   77|     11|#define CONSTANT_BUILTIN_SET 6
  ------------------
  |  Branch (4020:20): [True: 1, False: 10]
  ------------------
 4021|      1|            ADDOP_I(c, loc, SET_ADD, 3);
  ------------------
  |  |  276|      1|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      1|    do {                    \
  |  |  |  |   52|      1|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      1|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4022|      1|            ADDOP_JUMP(c, loc, JUMP, loop);
  ------------------
  |  |  427|      1|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   51|      1|    do {                    \
  |  |  |  |   52|      1|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      1|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4023|      1|        }
 4024|     10|        else {
 4025|     10|            ADDOP(c, loc, TO_BOOL);
  ------------------
  |  |  290|     10|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4026|     10|            ADDOP_JUMP(c, loc, continue_jump_opcode, loop);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4027|     10|        }
 4028|       |
 4029|     14|        ADDOP(c, NO_LOCATION, POP_ITER);
  ------------------
  |  |  290|     14|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4030|     14|        if (const_oparg != CONSTANT_BUILTIN_TUPLE &&
  ------------------
  |  |   73|     28|#define CONSTANT_BUILTIN_TUPLE 2
  ------------------
  |  Branch (4030:13): [True: 11, False: 3]
  ------------------
 4031|     11|            const_oparg != CONSTANT_BUILTIN_LIST &&
  ------------------
  |  |   76|     25|#define CONSTANT_BUILTIN_LIST 5
  ------------------
  |  Branch (4031:13): [True: 11, False: 0]
  ------------------
 4032|     11|            const_oparg != CONSTANT_BUILTIN_SET) {
  ------------------
  |  |   77|     11|#define CONSTANT_BUILTIN_SET 6
  ------------------
  |  Branch (4032:13): [True: 10, False: 1]
  ------------------
 4033|     10|            ADDOP_LOAD_CONST(c, loc, initial_res == Py_True ? Py_False : Py_True);
  ------------------
  |  |  307|     10|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|     10|    do {                    \
  |  |  |  |   52|     20|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 10]
  |  |  |  |  |  Branch (52:14): [True: 4, False: 6]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     10|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 10]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4034|     10|        }
 4035|     14|        ADDOP_JUMP(c, loc, JUMP, end);
  ------------------
  |  |  427|     14|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4036|       |
 4037|     14|        USE_LABEL(c, cleanup);
  ------------------
  |  |   97|     14|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4038|     14|        ADDOP(c, NO_LOCATION, END_FOR);
  ------------------
  |  |  290|     14|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4039|     14|        ADDOP(c, NO_LOCATION, POP_ITER);
  ------------------
  |  |  290|     14|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4040|     14|        if (const_oparg == CONSTANT_BUILTIN_TUPLE) {
  ------------------
  |  |   73|     14|#define CONSTANT_BUILTIN_TUPLE 2
  ------------------
  |  Branch (4040:13): [True: 3, False: 11]
  ------------------
 4041|      3|            ADDOP_I(c, loc, CALL_INTRINSIC_1, INTRINSIC_LIST_TO_TUPLE);
  ------------------
  |  |  276|      3|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      3|    do {                    \
  |  |  |  |   52|      3|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      3|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4042|     11|        } else if (const_oparg == CONSTANT_BUILTIN_LIST) {
  ------------------
  |  |   76|     11|#define CONSTANT_BUILTIN_LIST 5
  ------------------
  |  Branch (4042:20): [True: 0, False: 11]
  ------------------
 4043|       |            // result is already a list
 4044|     11|        } else if (const_oparg == CONSTANT_BUILTIN_SET) {
  ------------------
  |  |   77|     11|#define CONSTANT_BUILTIN_SET 6
  ------------------
  |  Branch (4044:20): [True: 1, False: 10]
  ------------------
 4045|       |            // result is already a set
 4046|      1|        }
 4047|     10|        else {
 4048|     10|            ADDOP_LOAD_CONST(c, loc, initial_res);
  ------------------
  |  |  307|     10|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4049|     10|        }
 4050|       |
 4051|     14|        optimized = 1;
 4052|     14|        ADDOP_JUMP(c, loc, JUMP, end);
  ------------------
  |  |  427|     14|    RETURN_IF_ERROR(codegen_addop_j(INSTR_SEQUENCE(C), (LOC), (OP), (O)))
  |  |  ------------------
  |  |  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4053|     14|    }
 4054|     18|    USE_LABEL(c, skip_optimization);
  ------------------
  |  |   97|     18|    RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(INSTR_SEQUENCE(C), (LBL).id))
  |  |  ------------------
  |  |  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4055|     18|    return optimized;
 4056|     18|}
codegen.c:codegen_joined_str:
 4223|    447|{
 4224|    447|    location 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 }
  |  |  ------------------
  ------------------
 4225|    447|    Py_ssize_t value_count = asdl_seq_LEN(e->v.JoinedStr.values);
  ------------------
  |  |   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: 0, False: 447]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4226|    447|    if (value_count > _PY_STACK_USE_GUIDELINE) {
  ------------------
  |  |   24|    447|#define _PY_STACK_USE_GUIDELINE 30
  ------------------
  |  Branch (4226:9): [True: 0, False: 447]
  ------------------
 4227|      0|        _Py_DECLARE_STR(empty, "");
 4228|      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]
  |  |  ------------------
  ------------------
 4229|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4230|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4231|      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 (4231:32): [True: 0, False: 0]
  ------------------
 4232|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4233|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4234|      0|        }
 4235|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4236|      0|    }
 4237|    447|    else {
 4238|    447|        VISIT_SEQ(c, expr, e->v.JoinedStr.values);
  ------------------
  |  |  458|    447|    do {                                                                    \
  |  |  459|    447|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */    \
  |  |  460|  2.19k|        for (int _i = 0; _i < asdl_seq_LEN(seq); _i++) {                    \
  |  |  ------------------
  |  |  |  |   83|  2.19k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  4.38k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 2.19k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (460:26): [True: 1.74k, False: 447]
  |  |  ------------------
  |  |  461|  1.74k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, _i);           \
  |  |  ------------------
  |  |  |  |   82|  1.74k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.74k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  462|  1.74k|            RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), elt));              \
  |  |  ------------------
  |  |  |  |   51|  1.74k|    do {                    \
  |  |  |  |   52|  1.74k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1.74k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  1.74k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1.74k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  463|  1.74k|        }                                                                   \
  |  |  464|    447|    } while (0)
  |  |  ------------------
  |  |  |  Branch (464:14): [Folded, False: 447]
  |  |  ------------------
  ------------------
 4239|    447|        if (value_count > 1) {
  ------------------
  |  Branch (4239:13): [True: 437, False: 10]
  ------------------
 4240|    437|            ADDOP_I(c, loc, BUILD_STRING, value_count);
  ------------------
  |  |  276|    437|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    437|    do {                    \
  |  |  |  |   52|    437|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 437]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    437|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 437]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4241|    437|        }
 4242|     10|        else if (value_count == 0) {
  ------------------
  |  Branch (4242:18): [True: 0, False: 10]
  ------------------
 4243|      0|            _Py_DECLARE_STR(empty, "");
 4244|      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]
  |  |  ------------------
  ------------------
 4245|      0|        }
 4246|    447|    }
 4247|    447|    return SUCCESS;
  ------------------
  |  |   47|    447|#define SUCCESS 0
  ------------------
 4248|    447|}
codegen.c:codegen_template_str:
 4180|      1|{
 4181|      1|    location loc = LOC(e);
  ------------------
  |  |   88|      1|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      1|    (_Py_SourceLocation){ \
  |  |  |  |   55|      1|               .lineno = (n)->lineno, \
  |  |  |  |   56|      1|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      1|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      1|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 4182|      1|    expr_ty value;
 4183|       |
 4184|      1|    Py_ssize_t value_count = asdl_seq_LEN(e->v.TemplateStr.values);
  ------------------
  |  |   83|      1|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|      2|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4185|      1|    int last_was_interpolation = 1;
 4186|      1|    Py_ssize_t stringslen = 0;
 4187|      2|    for (Py_ssize_t i = 0; i < value_count; i++) {
  ------------------
  |  Branch (4187:28): [True: 1, False: 1]
  ------------------
 4188|      1|        value = asdl_seq_GET(e->v.TemplateStr.values, i);
  ------------------
  |  |   82|      1|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|      1|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4189|      1|        if (value->kind == Interpolation_kind) {
  ------------------
  |  Branch (4189:13): [True: 1, False: 0]
  ------------------
 4190|      1|            if (last_was_interpolation) {
  ------------------
  |  Branch (4190:17): [True: 1, False: 0]
  ------------------
 4191|      1|                ADDOP_LOAD_CONST(c, loc, Py_NewRef(&_Py_STR(empty)));
  ------------------
  |  |  307|      1|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|      1|    do {                    \
  |  |  |  |   52|      1|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      1|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4192|      1|                stringslen++;
 4193|      1|            }
 4194|      1|            last_was_interpolation = 1;
 4195|      1|        }
 4196|      0|        else {
 4197|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4198|      0|            stringslen++;
 4199|      0|            last_was_interpolation = 0;
 4200|      0|        }
 4201|      1|    }
 4202|      1|    if (last_was_interpolation) {
  ------------------
  |  Branch (4202:9): [True: 1, False: 0]
  ------------------
 4203|      1|        ADDOP_LOAD_CONST(c, loc, Py_NewRef(&_Py_STR(empty)));
  ------------------
  |  |  307|      1|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|      1|    do {                    \
  |  |  |  |   52|      1|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      1|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4204|      1|        stringslen++;
 4205|      1|    }
 4206|      1|    ADDOP_I(c, loc, BUILD_TUPLE, stringslen);
  ------------------
  |  |  276|      1|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      1|    do {                    \
  |  |  |  |   52|      1|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      1|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4207|       |
 4208|      1|    Py_ssize_t interpolationslen = 0;
 4209|      2|    for (Py_ssize_t i = 0; i < value_count; i++) {
  ------------------
  |  Branch (4209:28): [True: 1, False: 1]
  ------------------
 4210|      1|        value = asdl_seq_GET(e->v.TemplateStr.values, i);
  ------------------
  |  |   82|      1|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|      1|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 4211|      1|        if (value->kind == Interpolation_kind) {
  ------------------
  |  Branch (4211:13): [True: 1, False: 0]
  ------------------
 4212|      1|            VISIT(c, expr, value);
  ------------------
  |  |  452|      1|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|      1|    do {                    \
  |  |  |  |   52|      1|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      1|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4213|      1|            interpolationslen++;
 4214|      1|        }
 4215|      1|    }
 4216|      1|    ADDOP_I(c, loc, BUILD_TUPLE, interpolationslen);
  ------------------
  |  |  276|      1|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      1|    do {                    \
  |  |  |  |   52|      1|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      1|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4217|      1|    ADDOP(c, loc, BUILD_TEMPLATE);
  ------------------
  |  |  290|      1|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      1|    do {                    \
  |  |  |  |   52|      1|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      1|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4218|      1|    return SUCCESS;
  ------------------
  |  |   47|      1|#define SUCCESS 0
  ------------------
 4219|      1|}
codegen.c:codegen_formatted_value:
 4284|    881|{
 4285|    881|    int conversion = e->v.FormattedValue.conversion;
 4286|    881|    int oparg;
 4287|       |
 4288|       |    /* The expression to be formatted. */
 4289|    881|    VISIT(c, expr, e->v.FormattedValue.value);
  ------------------
  |  |  452|    881|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    881|    do {                    \
  |  |  |  |   52|    881|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 881]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    881|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 881]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4290|       |
 4291|    881|    location loc = LOC(e);
  ------------------
  |  |   88|    881|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    881|    (_Py_SourceLocation){ \
  |  |  |  |   55|    881|               .lineno = (n)->lineno, \
  |  |  |  |   56|    881|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    881|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    881|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 4292|    881|    if (conversion != -1) {
  ------------------
  |  Branch (4292:9): [True: 535, False: 346]
  ------------------
 4293|    535|        switch (conversion) {
 4294|    113|        case 's': oparg = FVC_STR;   break;
  ------------------
  |  |  130|    113|#define FVC_STR       0x1
  ------------------
  |  Branch (4294:9): [True: 113, False: 422]
  ------------------
 4295|    422|        case 'r': oparg = FVC_REPR;  break;
  ------------------
  |  |  131|    422|#define FVC_REPR      0x2
  ------------------
  |  Branch (4295:9): [True: 422, False: 113]
  ------------------
 4296|      0|        case 'a': oparg = FVC_ASCII; break;
  ------------------
  |  |  132|      0|#define FVC_ASCII     0x3
  ------------------
  |  Branch (4296:9): [True: 0, False: 535]
  ------------------
 4297|      0|        default:
  ------------------
  |  Branch (4297:9): [True: 0, False: 535]
  ------------------
 4298|      0|            PyErr_Format(PyExc_SystemError,
 4299|      0|                     "Unrecognized conversion character %d", conversion);
 4300|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 4301|    535|        }
 4302|    535|        ADDOP_I(c, loc, CONVERT_VALUE, oparg);
  ------------------
  |  |  276|    535|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    535|    do {                    \
  |  |  |  |   52|    535|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 535]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    535|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 535]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4303|    535|    }
 4304|    881|    if (e->v.FormattedValue.format_spec) {
  ------------------
  |  Branch (4304:9): [True: 6, False: 875]
  ------------------
 4305|       |        /* Evaluate the format spec, and update our opcode arg. */
 4306|      6|        VISIT(c, expr, e->v.FormattedValue.format_spec);
  ------------------
  |  |  452|      6|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4307|      6|        ADDOP(c, loc, FORMAT_WITH_SPEC);
  ------------------
  |  |  290|      6|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4308|    875|    } else {
 4309|    875|        ADDOP(c, loc, FORMAT_SIMPLE);
  ------------------
  |  |  290|    875|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    875|    do {                    \
  |  |  |  |   52|    875|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 875]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    875|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 875]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4310|    875|    }
 4311|    881|    return SUCCESS;
  ------------------
  |  |   47|    881|#define SUCCESS 0
  ------------------
 4312|    881|}
codegen.c:codegen_interpolation:
 4252|      1|{
 4253|      1|    location loc = LOC(e);
  ------------------
  |  |   88|      1|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      1|    (_Py_SourceLocation){ \
  |  |  |  |   55|      1|               .lineno = (n)->lineno, \
  |  |  |  |   56|      1|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      1|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      1|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 4254|       |
 4255|      1|    VISIT(c, expr, e->v.Interpolation.value);
  ------------------
  |  |  452|      1|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|      1|    do {                    \
  |  |  |  |   52|      1|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      1|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4256|      1|    ADDOP_LOAD_CONST(c, loc, e->v.Interpolation.str);
  ------------------
  |  |  307|      1|    RETURN_IF_ERROR(codegen_addop_load_const((C), (LOC), (O)))
  |  |  ------------------
  |  |  |  |   51|      1|    do {                    \
  |  |  |  |   52|      1|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      1|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4257|       |
 4258|      1|    int oparg = 2;
 4259|      1|    if (e->v.Interpolation.format_spec) {
  ------------------
  |  Branch (4259:9): [True: 0, False: 1]
  ------------------
 4260|      0|        oparg++;
 4261|      0|        VISIT(c, expr, e->v.Interpolation.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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4262|      0|    }
 4263|       |
 4264|      1|    int conversion = e->v.Interpolation.conversion;
 4265|      1|    if (conversion != -1) {
  ------------------
  |  Branch (4265:9): [True: 0, False: 1]
  ------------------
 4266|      0|        switch (conversion) {
 4267|      0|        case 's': oparg |= FVC_STR << 2;   break;
  ------------------
  |  |  130|      0|#define FVC_STR       0x1
  ------------------
  |  Branch (4267:9): [True: 0, False: 0]
  ------------------
 4268|      0|        case 'r': oparg |= FVC_REPR << 2;  break;
  ------------------
  |  |  131|      0|#define FVC_REPR      0x2
  ------------------
  |  Branch (4268:9): [True: 0, False: 0]
  ------------------
 4269|      0|        case 'a': oparg |= FVC_ASCII << 2; break;
  ------------------
  |  |  132|      0|#define FVC_ASCII     0x3
  ------------------
  |  Branch (4269:9): [True: 0, False: 0]
  ------------------
 4270|      0|        default:
  ------------------
  |  Branch (4270:9): [True: 0, False: 0]
  ------------------
 4271|      0|            PyErr_Format(PyExc_SystemError,
 4272|      0|                     "Unrecognized conversion character %d", conversion);
 4273|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 4274|      0|        }
 4275|      0|    }
 4276|       |
 4277|      1|    ADDOP_I(c, loc, BUILD_INTERPOLATION, oparg);
  ------------------
  |  |  276|      1|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      1|    do {                    \
  |  |  |  |   52|      1|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      1|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4278|      1|    return SUCCESS;
  ------------------
  |  |   47|      1|#define SUCCESS 0
  ------------------
 4279|      1|}
codegen.c:can_optimize_super_call:
 3836|  8.07k|{
 3837|  8.07k|    expr_ty e = attr->v.Attribute.value;
 3838|  8.07k|    if (e->kind != Call_kind ||
  ------------------
  |  Branch (3838:9): [True: 7.84k, False: 227]
  ------------------
 3839|    227|        e->v.Call.func->kind != Name_kind ||
  ------------------
  |  Branch (3839:9): [True: 50, False: 177]
  ------------------
 3840|    177|        !_PyUnicode_EqualToASCIIString(e->v.Call.func->v.Name.id, "super") ||
  ------------------
  |  Branch (3840:9): [True: 54, False: 123]
  ------------------
 3841|    123|        _PyUnicode_EqualToASCIIString(attr->v.Attribute.attr, "__class__") ||
  ------------------
  |  Branch (3841:9): [True: 0, False: 123]
  ------------------
 3842|  7.94k|        asdl_seq_LEN(e->v.Call.keywords) != 0) {
  ------------------
  |  |   83|    123|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    246|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 123, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3842:9): [True: 0, False: 123]
  ------------------
 3843|  7.94k|        return 0;
 3844|  7.94k|    }
 3845|    123|    Py_ssize_t num_args = asdl_seq_LEN(e->v.Call.args);
  ------------------
  |  |   83|    123|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    246|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 58, False: 65]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3846|       |
 3847|    123|    PyObject *super_name = e->v.Call.func->v.Name.id;
 3848|       |    // detect statically-visible shadowing of 'super' name
 3849|    123|    int scope = _PyST_GetScope(SYMTABLE_ENTRY(c), super_name);
  ------------------
  |  |   71|    123|#define SYMTABLE_ENTRY(C) _PyCompile_SymtableEntry(C)
  ------------------
 3850|    123|    RETURN_IF_ERROR(scope);
  ------------------
  |  |   51|    123|    do {                    \
  |  |   52|    123|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 123]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    123|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 123]
  |  |  ------------------
  ------------------
 3851|    123|    if (scope != GLOBAL_IMPLICIT) {
  ------------------
  |  |  189|    123|#define GLOBAL_IMPLICIT 3
  ------------------
  |  Branch (3851:9): [True: 0, False: 123]
  ------------------
 3852|      0|        return 0;
 3853|      0|    }
 3854|    123|    scope = _PyST_GetScope(SYMTABLE(c)->st_top, super_name);
  ------------------
  |  |   70|    123|#define SYMTABLE(C) _PyCompile_Symtable(C)
  ------------------
 3855|    123|    RETURN_IF_ERROR(scope);
  ------------------
  |  |   51|    123|    do {                    \
  |  |   52|    123|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 123]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    123|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 123]
  |  |  ------------------
  ------------------
 3856|    123|    if (scope != 0) {
  ------------------
  |  Branch (3856:9): [True: 7, False: 116]
  ------------------
 3857|      7|        return 0;
 3858|      7|    }
 3859|       |
 3860|    116|    if (num_args == 2) {
  ------------------
  |  Branch (3860:9): [True: 65, False: 51]
  ------------------
 3861|    195|        for (Py_ssize_t i = 0; i < num_args; i++) {
  ------------------
  |  Branch (3861:32): [True: 130, False: 65]
  ------------------
 3862|    130|            expr_ty elt = asdl_seq_GET(e->v.Call.args, i);
  ------------------
  |  |   82|    130|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    130|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 3863|    130|            if (elt->kind == Starred_kind) {
  ------------------
  |  Branch (3863:17): [True: 0, False: 130]
  ------------------
 3864|      0|                return 0;
 3865|      0|            }
 3866|    130|        }
 3867|       |        // exactly two non-starred args; we can just load
 3868|       |        // the provided args
 3869|     65|        return 1;
 3870|     65|    }
 3871|       |
 3872|     51|    if (num_args != 0) {
  ------------------
  |  Branch (3872:9): [True: 0, False: 51]
  ------------------
 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|     51|    if (METADATA(c)->u_argcount == 0 &&
  ------------------
  |  |   76|     51|#define METADATA(C) _PyCompile_Metadata(C)
  ------------------
  |  Branch (3878:9): [True: 0, False: 51]
  ------------------
 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|     51|    if (_PyCompile_GetRefType(c, &_Py_ID(__class__)) == FREE) {
  ------------------
  |  |  915|     51|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     51|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     51|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (_PyCompile_GetRefType(c, &_Py_ID(__class__)) == FREE) {
  ------------------
  |  |  190|     51|#define FREE 4
  ------------------
  |  Branch (3883:9): [True: 51, False: 0]
  ------------------
 3884|     51|        return 1;
 3885|     51|    }
 3886|      0|    return 0;
 3887|     51|}
codegen.c:load_args_for_super:
 3890|    116|load_args_for_super(compiler *c, expr_ty e) {
 3891|    116|    location loc = LOC(e);
  ------------------
  |  |   88|    116|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    116|    (_Py_SourceLocation){ \
  |  |  |  |   55|    116|               .lineno = (n)->lineno, \
  |  |  |  |   56|    116|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    116|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    116|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 3892|       |
 3893|       |    // load super() global
 3894|    116|    PyObject *super_name = e->v.Call.func->v.Name.id;
 3895|    116|    RETURN_IF_ERROR(codegen_nameop(c, LOC(e->v.Call.func), super_name, Load));
  ------------------
  |  |   51|    116|    do {                    \
  |  |   52|    116|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 116]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    116|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 116]
  |  |  ------------------
  ------------------
 3896|       |
 3897|    116|    if (asdl_seq_LEN(e->v.Call.args) == 2) {
  ------------------
  |  |   83|    116|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    232|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 51, False: 65]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3897:9): [True: 65, False: 51]
  ------------------
 3898|     65|        VISIT(c, expr, asdl_seq_GET(e->v.Call.args, 0));
  ------------------
  |  |  452|     65|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|     65|    do {                    \
  |  |  |  |   52|     65|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 65]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     65|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 65]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3899|     65|        VISIT(c, expr, asdl_seq_GET(e->v.Call.args, 1));
  ------------------
  |  |  452|     65|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|     65|    do {                    \
  |  |  |  |   52|     65|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 65]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     65|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 65]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3900|     65|        return SUCCESS;
  ------------------
  |  |   47|     65|#define SUCCESS 0
  ------------------
 3901|     65|    }
 3902|       |
 3903|       |    // load __class__ cell
 3904|     51|    PyObject *name = &_Py_ID(__class__);
  ------------------
  |  |  915|     51|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     51|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     51|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3905|     51|    assert(_PyCompile_GetRefType(c, name) == FREE);
 3906|     51|    RETURN_IF_ERROR(codegen_nameop(c, loc, name, Load));
  ------------------
  |  |   51|     51|    do {                    \
  |  |   52|     51|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 51]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     51|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 51]
  |  |  ------------------
  ------------------
 3907|       |
 3908|       |    // load self (first argument)
 3909|     51|    Py_ssize_t i = 0;
 3910|     51|    PyObject *key, *value;
 3911|     51|    if (!PyDict_Next(METADATA(c)->u_varnames, &i, &key, &value)) {
  ------------------
  |  |   76|     51|#define METADATA(C) _PyCompile_Metadata(C)
  ------------------
  |  Branch (3911:9): [True: 0, False: 51]
  ------------------
 3912|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 3913|      0|    }
 3914|     51|    RETURN_IF_ERROR(codegen_nameop(c, loc, key, Load));
  ------------------
  |  |   51|     51|    do {                    \
  |  |   52|     51|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 51]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|     51|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 51]
  |  |  ------------------
  ------------------
 3915|       |
 3916|     51|    return SUCCESS;
  ------------------
  |  |   47|     51|#define SUCCESS 0
  ------------------
 3917|     51|}
codegen.c:codegen_subscript:
 5732|    466|{
 5733|    466|    location loc = LOC(e);
  ------------------
  |  |   88|    466|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    466|    (_Py_SourceLocation){ \
  |  |  |  |   55|    466|               .lineno = (n)->lineno, \
  |  |  |  |   56|    466|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    466|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    466|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 5734|    466|    expr_context_ty ctx = e->v.Subscript.ctx;
 5735|       |
 5736|    466|    if (ctx == Load) {
  ------------------
  |  Branch (5736:9): [True: 282, False: 184]
  ------------------
 5737|    282|        RETURN_IF_ERROR(check_subscripter(c, e->v.Subscript.value));
  ------------------
  |  |   51|    282|    do {                    \
  |  |   52|    282|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 282]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    282|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 282]
  |  |  ------------------
  ------------------
 5738|    282|        RETURN_IF_ERROR(check_index(c, e->v.Subscript.value, e->v.Subscript.slice));
  ------------------
  |  |   51|    282|    do {                    \
  |  |   52|    282|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 282]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|    282|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 282]
  |  |  ------------------
  ------------------
 5739|    282|    }
 5740|       |
 5741|    466|    VISIT(c, expr, e->v.Subscript.value);
  ------------------
  |  |  452|    466|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    466|    do {                    \
  |  |  |  |   52|    466|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 466]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    466|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 466]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5742|    466|    if (should_apply_two_element_slice_optimization(e->v.Subscript.slice) &&
  ------------------
  |  Branch (5742:9): [True: 55, False: 411]
  ------------------
 5743|     55|        ctx != Del
  ------------------
  |  Branch (5743:9): [True: 52, False: 3]
  ------------------
 5744|    466|    ) {
 5745|     52|        RETURN_IF_ERROR(codegen_slice_two_parts(c, e->v.Subscript.slice));
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
 5746|     52|        if (ctx == Load) {
  ------------------
  |  Branch (5746:13): [True: 50, False: 2]
  ------------------
 5747|     50|            ADDOP(c, loc, BINARY_SLICE);
  ------------------
  |  |  290|     50|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5748|     50|        }
 5749|      2|        else {
 5750|      2|            assert(ctx == Store);
 5751|      2|            ADDOP(c, loc, STORE_SLICE);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5752|      2|        }
 5753|     52|    }
 5754|    414|    else {
 5755|    414|        VISIT(c, expr, e->v.Subscript.slice);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5756|    414|        switch (ctx) {
  ------------------
  |  Branch (5756:17): [True: 414, False: 0]
  ------------------
 5757|    232|            case Load:
  ------------------
  |  Branch (5757:13): [True: 232, False: 182]
  ------------------
 5758|    232|                ADDOP_I(c, loc, BINARY_OP, NB_SUBSCR);
  ------------------
  |  |  276|    232|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    232|    do {                    \
  |  |  |  |   52|    232|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 232]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    232|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 232]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5759|    232|                break;
 5760|    232|            case Store:
  ------------------
  |  Branch (5760:13): [True: 154, False: 260]
  ------------------
 5761|    154|                ADDOP(c, loc, STORE_SUBSCR);
  ------------------
  |  |  290|    154|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    154|    do {                    \
  |  |  |  |   52|    154|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 154]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    154|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 154]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5762|    154|                break;
 5763|    154|            case Del:
  ------------------
  |  Branch (5763:13): [True: 28, False: 386]
  ------------------
 5764|     28|                ADDOP(c, loc, DELETE_SUBSCR);
  ------------------
  |  |  290|     28|    RETURN_IF_ERROR(codegen_addop_noarg(INSTR_SEQUENCE(C), (OP), (LOC)))
  |  |  ------------------
  |  |  |  |   51|     28|    do {                    \
  |  |  |  |   52|     28|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 28]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|     28|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 28]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5765|     28|                break;
 5766|    414|        }
 5767|    414|    }
 5768|    466|    return SUCCESS;
  ------------------
  |  |   47|    466|#define SUCCESS 0
  ------------------
 5769|    466|}
codegen.c:check_subscripter:
 3751|    282|{
 3752|    282|    PyObject *v;
 3753|       |
 3754|    282|    switch (e->kind) {
 3755|      0|    case Constant_kind:
  ------------------
  |  Branch (3755:5): [True: 0, False: 282]
  ------------------
 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: 282]
  ------------------
 3765|      0|    case SetComp_kind:
  ------------------
  |  Branch (3765:5): [True: 0, False: 282]
  ------------------
 3766|      0|    case GeneratorExp_kind:
  ------------------
  |  Branch (3766:5): [True: 0, False: 282]
  ------------------
 3767|      0|    case TemplateStr_kind:
  ------------------
  |  Branch (3767:5): [True: 0, False: 282]
  ------------------
 3768|      0|    case Interpolation_kind:
  ------------------
  |  Branch (3768:5): [True: 0, False: 282]
  ------------------
 3769|      0|    case Lambda_kind: {
  ------------------
  |  Branch (3769:5): [True: 0, False: 282]
  ------------------
 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|    282|    default:
  ------------------
  |  Branch (3775:5): [True: 282, False: 0]
  ------------------
 3776|    282|        return SUCCESS;
  ------------------
  |  |   47|    282|#define SUCCESS 0
  ------------------
 3777|    282|    }
 3778|    282|}
codegen.c:check_index:
 3782|    282|{
 3783|    282|    PyObject *v;
 3784|       |
 3785|    282|    PyTypeObject *index_type = infer_type(s);
 3786|    282|    if (index_type == NULL
  ------------------
  |  Branch (3786:9): [True: 165, False: 117]
  ------------------
 3787|    117|        || PyType_FastSubclass(index_type, Py_TPFLAGS_LONG_SUBCLASS)
  ------------------
  |  |  760|    399|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  |  |  |  Branch (760:41): [True: 104, False: 13]
  |  |  ------------------
  ------------------
 3788|    269|        || index_type == &PySlice_Type) {
  ------------------
  |  Branch (3788:12): [True: 0, False: 13]
  ------------------
 3789|    269|        return SUCCESS;
  ------------------
  |  |   47|    269|#define SUCCESS 0
  ------------------
 3790|    269|    }
 3791|       |
 3792|     13|    switch (e->kind) {
 3793|      0|    case Constant_kind:
  ------------------
  |  Branch (3793:5): [True: 0, False: 13]
  ------------------
 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: 13]
  ------------------
 3800|      0|    case List_kind:
  ------------------
  |  Branch (3800:5): [True: 0, False: 13]
  ------------------
 3801|      0|    case ListComp_kind:
  ------------------
  |  Branch (3801:5): [True: 0, False: 13]
  ------------------
 3802|      0|    case JoinedStr_kind:
  ------------------
  |  Branch (3802:5): [True: 0, False: 13]
  ------------------
 3803|      0|    case FormattedValue_kind: {
  ------------------
  |  Branch (3803:5): [True: 0, False: 13]
  ------------------
 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|     13|    default:
  ------------------
  |  Branch (3811:5): [True: 13, False: 0]
  ------------------
 3812|     13|        return SUCCESS;
  ------------------
  |  |   47|     13|#define SUCCESS 0
  ------------------
 3813|     13|    }
 3814|     13|}
codegen.c:codegen_slice:
 5793|     23|{
 5794|     23|    int n = 2;
 5795|     23|    assert(s->kind == Slice_kind);
 5796|       |
 5797|     23|    if (is_constant_slice(s)) {
  ------------------
  |  Branch (5797:9): [True: 20, False: 3]
  ------------------
 5798|     20|        PyObject *start = NULL;
 5799|     20|        if (s->v.Slice.lower) {
  ------------------
  |  Branch (5799:13): [True: 11, False: 9]
  ------------------
 5800|     11|            start = s->v.Slice.lower->v.Constant.value;
 5801|     11|        }
 5802|     20|        PyObject *stop = NULL;
 5803|     20|        if (s->v.Slice.upper) {
  ------------------
  |  Branch (5803:13): [True: 4, False: 16]
  ------------------
 5804|      4|            stop = s->v.Slice.upper->v.Constant.value;
 5805|      4|        }
 5806|     20|        PyObject *step = NULL;
 5807|     20|        if (s->v.Slice.step) {
  ------------------
  |  Branch (5807:13): [True: 0, False: 20]
  ------------------
 5808|      0|            step = s->v.Slice.step->v.Constant.value;
 5809|      0|        }
 5810|     20|        PyObject *slice = PySlice_New(start, stop, step);
 5811|     20|        if (slice == NULL) {
  ------------------
  |  Branch (5811:13): [True: 0, False: 20]
  ------------------
 5812|      0|            return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
 5813|      0|        }
 5814|     20|        ADDOP_LOAD_CONST_NEW(c, LOC(s), slice);
  ------------------
  |  |  314|     20|    do {                                                                \
  |  |  315|     20|        PyObject *__new_const = (O);                                    \
  |  |  316|     20|        if (__new_const == NULL) {                                      \
  |  |  ------------------
  |  |  |  Branch (316:13): [True: 0, False: 20]
  |  |  ------------------
  |  |  317|      0|            return ERROR;                                               \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |  318|      0|        }                                                               \
  |  |  319|     20|        if (codegen_addop_load_const((C), (LOC), __new_const) < 0) {    \
  |  |  ------------------
  |  |  |  Branch (319:13): [True: 0, False: 20]
  |  |  ------------------
  |  |  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|     20|        Py_DECREF(__new_const);                                         \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  324|     20|    } while (0)
  |  |  ------------------
  |  |  |  Branch (324:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
 5815|     20|        return SUCCESS;
  ------------------
  |  |   47|     20|#define SUCCESS 0
  ------------------
 5816|     20|    }
 5817|       |
 5818|      3|    RETURN_IF_ERROR(codegen_slice_two_parts(c, s));
  ------------------
  |  |   51|      3|    do {                    \
  |  |   52|      3|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (52:13): [True: 0, False: 3]
  |  |  ------------------
  |  |   53|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   48|      0|#define ERROR -1
  |  |  ------------------
  |  |   54|      0|        }                   \
  |  |   55|      3|    } while (0)
  |  |  ------------------
  |  |  |  Branch (55:14): [Folded, False: 3]
  |  |  ------------------
  ------------------
 5819|       |
 5820|      3|    if (s->v.Slice.step) {
  ------------------
  |  Branch (5820:9): [True: 0, False: 3]
  ------------------
 5821|      0|        n++;
 5822|      0|        VISIT(c, expr, s->v.Slice.step);
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5823|      0|    }
 5824|       |
 5825|      3|    ADDOP_I(c, LOC(s), BUILD_SLICE, n);
  ------------------
  |  |  276|      3|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      3|    do {                    \
  |  |  |  |   52|      3|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      3|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5826|      3|    return SUCCESS;
  ------------------
  |  |   47|      3|#define SUCCESS 0
  ------------------
 5827|      3|}
codegen.c:codegen_list:
 3530|    172|{
 3531|    172|    location loc = LOC(e);
  ------------------
  |  |   88|    172|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    172|    (_Py_SourceLocation){ \
  |  |  |  |   55|    172|               .lineno = (n)->lineno, \
  |  |  |  |   56|    172|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    172|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    172|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 3532|    172|    asdl_expr_seq *elts = e->v.List.elts;
 3533|    172|    if (e->v.List.ctx == Store) {
  ------------------
  |  Branch (3533:9): [True: 0, False: 172]
  ------------------
 3534|      0|        return assignment_helper(c, loc, elts);
 3535|      0|    }
 3536|    172|    else if (e->v.List.ctx == Load) {
  ------------------
  |  Branch (3536:14): [True: 172, False: 0]
  ------------------
 3537|    172|        return starunpack_helper(c, loc, elts, 0,
 3538|    172|                                 BUILD_LIST, LIST_APPEND, LIST_EXTEND, 0);
  ------------------
  |  |   57|    172|#define BUILD_LIST                              44
  ------------------
                                               BUILD_LIST, LIST_APPEND, LIST_EXTEND, 0);
  ------------------
  |  |   90|    172|#define LIST_APPEND                             77
  ------------------
                                               BUILD_LIST, LIST_APPEND, LIST_EXTEND, 0);
  ------------------
  |  |   91|    172|#define LIST_EXTEND                             78
  ------------------
 3539|    172|    }
 3540|      0|    else {
 3541|      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]
  |  |  ------------------
  ------------------
 3542|      0|    }
 3543|      0|    return SUCCESS;
  ------------------
  |  |   47|      0|#define SUCCESS 0
  ------------------
 3544|    172|}
codegen.c:assignment_helper:
 3518|    206|{
 3519|    206|    Py_ssize_t n = asdl_seq_LEN(elts);
  ------------------
  |  |   83|    206|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    412|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 206]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3520|    206|    RETURN_IF_ERROR(unpack_helper(c, loc, elts));
  ------------------
  |  |   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]
  |  |  ------------------
  ------------------
 3521|    715|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (3521:28): [True: 509, False: 206]
  ------------------
 3522|    509|        expr_ty elt = asdl_seq_GET(elts, i);
  ------------------
  |  |   82|    509|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    509|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 3523|    509|        VISIT(c, expr, elt->kind != Starred_kind ? elt : elt->v.Starred.value);
  ------------------
  |  |  452|    509|    RETURN_IF_ERROR(codegen_visit_ ## TYPE((C), (V)))
  |  |  ------------------
  |  |  |  |   51|    509|    do {                    \
  |  |  |  |   52|  1.01k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 509]
  |  |  |  |  |  Branch (52:14): [True: 508, False: 1]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    509|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 509]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3524|    509|    }
 3525|    206|    return SUCCESS;
  ------------------
  |  |   47|    206|#define SUCCESS 0
  ------------------
 3526|    206|}
codegen.c:unpack_helper:
 3490|    206|{
 3491|    206|    Py_ssize_t n = asdl_seq_LEN(elts);
  ------------------
  |  |   83|    206|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    412|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 206]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3492|    206|    int seen_star = 0;
 3493|    715|    for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (3493:28): [True: 509, False: 206]
  ------------------
 3494|    509|        expr_ty elt = asdl_seq_GET(elts, i);
  ------------------
  |  |   82|    509|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    509|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 3495|    509|        if (elt->kind == Starred_kind && !seen_star) {
  ------------------
  |  Branch (3495:13): [True: 1, False: 508]
  |  Branch (3495:42): [True: 1, False: 0]
  ------------------
 3496|      1|            if ((i >= (1 << 8)) ||
  ------------------
  |  Branch (3496:17): [True: 0, False: 1]
  ------------------
 3497|      1|                (n-i-1 >= (INT_MAX >> 8))) {
  ------------------
  |  Branch (3497:17): [True: 0, False: 1]
  ------------------
 3498|      0|                return _PyCompile_Error(c, loc,
 3499|      0|                    "too many expressions in "
 3500|      0|                    "star-unpacking assignment");
 3501|      0|            }
 3502|      1|            ADDOP_I(c, loc, UNPACK_EX, (i + ((n-i-1) << 8)));
  ------------------
  |  |  276|      1|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|      1|    do {                    \
  |  |  |  |   52|      1|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 1]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|      1|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3503|      1|            seen_star = 1;
 3504|      1|        }
 3505|    508|        else if (elt->kind == Starred_kind) {
  ------------------
  |  Branch (3505:18): [True: 0, False: 508]
  ------------------
 3506|      0|            return _PyCompile_Error(c, loc,
 3507|      0|                "multiple starred expressions in assignment");
 3508|      0|        }
 3509|    509|    }
 3510|    206|    if (!seen_star) {
  ------------------
  |  Branch (3510:9): [True: 205, False: 1]
  ------------------
 3511|    205|        ADDOP_I(c, loc, UNPACK_SEQUENCE, n);
  ------------------
  |  |  276|    205|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|    205|    do {                    \
  |  |  |  |   52|    205|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 205]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|    205|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 205]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3512|    205|    }
 3513|    206|    return SUCCESS;
  ------------------
  |  |   47|    206|#define SUCCESS 0
  ------------------
 3514|    206|}
codegen.c:codegen_tuple:
 3548|    831|{
 3549|    831|    location loc = LOC(e);
  ------------------
  |  |   88|    831|#define LOC(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    831|    (_Py_SourceLocation){ \
  |  |  |  |   55|    831|               .lineno = (n)->lineno, \
  |  |  |  |   56|    831|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    831|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    831|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 3550|    831|    asdl_expr_seq *elts = e->v.Tuple.elts;
 3551|    831|    if (e->v.Tuple.ctx == Store) {
  ------------------
  |  Branch (3551:9): [True: 206, False: 625]
  ------------------
 3552|    206|        return assignment_helper(c, loc, elts);
 3553|    206|    }
 3554|    625|    else if (e->v.Tuple.ctx == Load) {
  ------------------
  |  Branch (3554:14): [True: 625, False: 0]
  ------------------
 3555|    625|        return starunpack_helper(c, loc, elts, 0,
 3556|    625|                                 BUILD_LIST, LIST_APPEND, LIST_EXTEND, 1);
  ------------------
  |  |   57|    625|#define BUILD_LIST                              44
  ------------------
                                               BUILD_LIST, LIST_APPEND, LIST_EXTEND, 1);
  ------------------
  |  |   90|    625|#define LIST_APPEND                             77
  ------------------
                                               BUILD_LIST, LIST_APPEND, LIST_EXTEND, 1);
  ------------------
  |  |   91|    625|#define LIST_EXTEND                             78
  ------------------
 3557|    625|    }
 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|    831|}
codegen.c:codegen_addop_load_const:
  297|  14.3k|{
  298|  14.3k|    Py_ssize_t arg = _PyCompile_AddConst(c, o);
  299|  14.3k|    if (arg < 0) {
  ------------------
  |  Branch (299:9): [True: 0, False: 14.3k]
  ------------------
  300|      0|        return ERROR;
  ------------------
  |  |   48|      0|#define ERROR -1
  ------------------
  301|      0|    }
  302|  14.3k|    ADDOP_I(c, loc, LOAD_CONST, arg);
  ------------------
  |  |  276|  14.3k|    RETURN_IF_ERROR(codegen_addop_i(INSTR_SEQUENCE(C), (OP), (O), (LOC)))
  |  |  ------------------
  |  |  |  |   51|  14.3k|    do {                    \
  |  |  |  |   52|  14.3k|        if ((X) == -1) {    \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (52:13): [True: 0, False: 14.3k]
  |  |  |  |  ------------------
  |  |  |  |   53|      0|            return ERROR;   \
  |  |  |  |  ------------------
  |  |  |  |  |  |   48|      0|#define ERROR -1
  |  |  |  |  ------------------
  |  |  |  |   54|      0|        }                   \
  |  |  |  |   55|  14.3k|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:14): [Folded, False: 14.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  303|  14.3k|    return SUCCESS;
  ------------------
  |  |   47|  14.3k|#define SUCCESS 0
  ------------------
  304|  14.3k|}
codegen.c:codegen_addop_noarg:
  283|  23.0k|{
  284|  23.0k|    assert(!OPCODE_HAS_ARG(opcode));
  285|       |    assert(!IS_ASSEMBLER_OPCODE(opcode));
  286|  23.0k|    return _PyInstructionSequence_Addop(seq, opcode, 0, loc);
  287|  23.0k|}

_PyCompile_MaybeAddStaticAttributeToClass:
  211|  6.19k|{
  212|  6.19k|    assert(e->kind == Attribute_kind);
  213|  6.19k|    expr_ty attr_value = e->v.Attribute.value;
  214|  6.19k|    if (attr_value->kind != Name_kind ||
  ------------------
  |  Branch (214:9): [True: 295, False: 5.90k]
  ------------------
  215|  5.90k|        e->v.Attribute.ctx != Store ||
  ------------------
  |  Branch (215:9): [True: 4.90k, False: 1.00k]
  ------------------
  216|  1.00k|        !_PyUnicode_EqualToASCIIString(attr_value->v.Name.id, "self"))
  ------------------
  |  Branch (216:9): [True: 123, False: 878]
  ------------------
  217|  5.31k|    {
  218|  5.31k|        return SUCCESS;
  ------------------
  |  |   36|  5.31k|#define SUCCESS 0
  ------------------
  219|  5.31k|    }
  220|    878|    Py_ssize_t stack_size = PyList_GET_SIZE(c->c_stack);
  ------------------
  |  |   38|    878|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    878|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    878|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  221|  1.05k|    for (Py_ssize_t i = stack_size - 1; i >= 0; i--) {
  ------------------
  |  Branch (221:41): [True: 966, False: 88]
  ------------------
  222|    966|        PyObject *capsule = PyList_GET_ITEM(c->c_stack, i);
  ------------------
  |  |   40|    966|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|    966|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    966|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  223|    966|        struct compiler_unit *u = (struct compiler_unit *)PyCapsule_GetPointer(
  224|    966|                                                              capsule, CAPSULE_NAME);
  ------------------
  |  |  207|    966|#define CAPSULE_NAME "compile.c compiler unit"
  ------------------
  225|    966|        assert(u);
  226|    966|        if (u->u_scope_type == COMPILE_SCOPE_CLASS) {
  ------------------
  |  Branch (226:13): [True: 790, False: 176]
  ------------------
  227|    790|            assert(u->u_static_attributes);
  228|    790|            RETURN_IF_ERROR(PySet_Add(u->u_static_attributes, e->v.Attribute.attr));
  ------------------
  |  |   40|    790|    do {                    \
  |  |   41|    790|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (41:13): [True: 0, False: 790]
  |  |  ------------------
  |  |   42|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   37|      0|#define ERROR -1
  |  |  ------------------
  |  |   43|      0|        }                   \
  |  |   44|    790|    } while (0)
  |  |  ------------------
  |  |  |  Branch (44:14): [Folded, False: 790]
  |  |  ------------------
  ------------------
  229|    790|            break;
  230|    790|        }
  231|    966|    }
  232|    878|    return SUCCESS;
  ------------------
  |  |   36|    878|#define SUCCESS 0
  ------------------
  233|    878|}
_PyCompile_DictAddObj:
  457|  53.8k|{
  458|  53.8k|    PyObject *v;
  459|  53.8k|    Py_ssize_t arg;
  460|       |
  461|  53.8k|    if (PyDict_GetItemRef(dict, o, &v) < 0) {
  ------------------
  |  Branch (461:9): [True: 0, False: 53.8k]
  ------------------
  462|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  463|      0|    }
  464|  53.8k|    if (!v) {
  ------------------
  |  Branch (464:9): [True: 26.4k, False: 27.4k]
  ------------------
  465|  26.4k|        arg = PyDict_GET_SIZE(dict);
  ------------------
  |  |   63|  26.4k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  26.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  26.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  466|  26.4k|        v = PyLong_FromSsize_t(arg);
  467|  26.4k|        if (!v) {
  ------------------
  |  Branch (467:13): [True: 0, False: 26.4k]
  ------------------
  468|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  469|      0|        }
  470|  26.4k|        if (PyDict_SetItem(dict, o, v) < 0) {
  ------------------
  |  Branch (470:13): [True: 0, False: 26.4k]
  ------------------
  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|  26.4k|    }
  475|  27.4k|    else
  476|  27.4k|        arg = PyLong_AsLong(v);
  477|  53.8k|    Py_DECREF(v);
  ------------------
  |  |  430|  53.8k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  53.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  53.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  478|  53.8k|    return arg;
  479|  53.8k|}
_PyCompile_AddConst:
  483|  14.8k|{
  484|  14.8k|    PyObject *key = merge_consts_recursive(c->c_const_cache, o);
  485|  14.8k|    if (key == NULL) {
  ------------------
  |  Branch (485:9): [True: 0, False: 14.8k]
  ------------------
  486|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  487|      0|    }
  488|       |
  489|  14.8k|    Py_ssize_t arg = _PyCompile_DictAddObj(c->u->u_metadata.u_consts, key);
  490|  14.8k|    Py_DECREF(key);
  ------------------
  |  |  430|  14.8k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  14.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  491|  14.8k|    return arg;
  492|  14.8k|}
_PyCompile_EnterScope:
  598|  2.43k|{
  599|  2.43k|    struct compiler_unit *u;
  600|  2.43k|    u = (struct compiler_unit *)PyMem_Calloc(1, sizeof(struct compiler_unit));
  601|  2.43k|    if (!u) {
  ------------------
  |  Branch (601:9): [True: 0, False: 2.43k]
  ------------------
  602|      0|        PyErr_NoMemory();
  603|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  604|      0|    }
  605|  2.43k|    u->u_scope_type = scope_type;
  606|  2.43k|    if (umd != NULL) {
  ------------------
  |  Branch (606:9): [True: 2.02k, False: 413]
  ------------------
  607|  2.02k|        u->u_metadata = *umd;
  608|  2.02k|    }
  609|    413|    else {
  610|    413|        u->u_metadata.u_argcount = 0;
  611|    413|        u->u_metadata.u_posonlyargcount = 0;
  612|    413|        u->u_metadata.u_kwonlyargcount = 0;
  613|    413|    }
  614|  2.43k|    u->u_ste = _PySymtable_Lookup(c->c_st, key);
  615|  2.43k|    if (!u->u_ste) {
  ------------------
  |  Branch (615:9): [True: 0, False: 2.43k]
  ------------------
  616|      0|        compiler_unit_free(u);
  617|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  618|      0|    }
  619|  2.43k|    u->u_metadata.u_name = Py_NewRef(name);
  ------------------
  |  |  550|  2.43k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  620|  2.43k|    u->u_metadata.u_varnames = list2dict(u->u_ste->ste_varnames);
  621|  2.43k|    if (!u->u_metadata.u_varnames) {
  ------------------
  |  Branch (621:9): [True: 0, False: 2.43k]
  ------------------
  622|      0|        compiler_unit_free(u);
  623|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  624|      0|    }
  625|  2.43k|    u->u_metadata.u_cellvars = dictbytype(u->u_ste->ste_symbols, CELL, DEF_COMP_CELL, 0);
  ------------------
  |  |  191|  2.43k|#define CELL 5
  ------------------
                  u->u_metadata.u_cellvars = dictbytype(u->u_ste->ste_symbols, CELL, DEF_COMP_CELL, 0);
  ------------------
  |  |  175|  2.43k|#define DEF_COMP_CELL (2<<10)    /* this name is a cell in an inlined comprehension */
  ------------------
  626|  2.43k|    if (!u->u_metadata.u_cellvars) {
  ------------------
  |  Branch (626:9): [True: 0, False: 2.43k]
  ------------------
  627|      0|        compiler_unit_free(u);
  628|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  629|      0|    }
  630|  2.43k|    if (u->u_ste->ste_needs_class_closure) {
  ------------------
  |  Branch (630:9): [True: 35, False: 2.40k]
  ------------------
  631|       |        /* Cook up an implicit __class__ cell. */
  632|     35|        Py_ssize_t res;
  633|     35|        assert(u->u_scope_type == COMPILE_SCOPE_CLASS);
  634|     35|        res = _PyCompile_DictAddObj(u->u_metadata.u_cellvars, &_Py_ID(__class__));
  ------------------
  |  |  915|     35|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     35|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     35|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  635|     35|        if (res < 0) {
  ------------------
  |  Branch (635:13): [True: 0, False: 35]
  ------------------
  636|      0|            compiler_unit_free(u);
  637|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  638|      0|        }
  639|     35|    }
  640|  2.43k|    if (u->u_ste->ste_needs_classdict) {
  ------------------
  |  Branch (640:9): [True: 119, False: 2.32k]
  ------------------
  641|       |        /* Cook up an implicit __classdict__ cell. */
  642|    119|        Py_ssize_t res;
  643|    119|        assert(u->u_scope_type == COMPILE_SCOPE_CLASS);
  644|    119|        res = _PyCompile_DictAddObj(u->u_metadata.u_cellvars, &_Py_ID(__classdict__));
  ------------------
  |  |  915|    119|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    119|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    119|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  645|    119|        if (res < 0) {
  ------------------
  |  Branch (645:13): [True: 0, False: 119]
  ------------------
  646|      0|            compiler_unit_free(u);
  647|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  648|      0|        }
  649|    119|    }
  650|  2.43k|    if (u->u_ste->ste_has_conditional_annotations) {
  ------------------
  |  Branch (650:9): [True: 0, False: 2.43k]
  ------------------
  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__));
  ------------------
  |  |  915|      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|  2.43k|    u->u_metadata.u_freevars = dictbytype(u->u_ste->ste_symbols, FREE, DEF_FREE_CLASS,
  ------------------
  |  |  190|  2.43k|#define FREE 4
  ------------------
                  u->u_metadata.u_freevars = dictbytype(u->u_ste->ste_symbols, FREE, DEF_FREE_CLASS,
  ------------------
  |  |  170|  2.43k|#define DEF_FREE_CLASS (2<<5)    /* free variable from class's method */
  ------------------
  662|  2.43k|                               PyDict_GET_SIZE(u->u_metadata.u_cellvars));
  ------------------
  |  |   63|  2.43k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  663|  2.43k|    if (!u->u_metadata.u_freevars) {
  ------------------
  |  Branch (663:9): [True: 0, False: 2.43k]
  ------------------
  664|      0|        compiler_unit_free(u);
  665|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  666|      0|    }
  667|       |
  668|  2.43k|    u->u_metadata.u_fasthidden = PyDict_New();
  669|  2.43k|    if (!u->u_metadata.u_fasthidden) {
  ------------------
  |  Branch (669:9): [True: 0, False: 2.43k]
  ------------------
  670|      0|        compiler_unit_free(u);
  671|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  672|      0|    }
  673|       |
  674|  2.43k|    u->u_nfblocks = 0;
  675|  2.43k|    u->u_in_inlined_comp = 0;
  676|  2.43k|    u->u_metadata.u_firstlineno = lineno;
  677|  2.43k|    u->u_metadata.u_consts = PyDict_New();
  678|  2.43k|    if (!u->u_metadata.u_consts) {
  ------------------
  |  Branch (678:9): [True: 0, False: 2.43k]
  ------------------
  679|      0|        compiler_unit_free(u);
  680|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  681|      0|    }
  682|  2.43k|    u->u_metadata.u_names = PyDict_New();
  683|  2.43k|    if (!u->u_metadata.u_names) {
  ------------------
  |  Branch (683:9): [True: 0, False: 2.43k]
  ------------------
  684|      0|        compiler_unit_free(u);
  685|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  686|      0|    }
  687|       |
  688|  2.43k|    u->u_deferred_annotations = NULL;
  689|  2.43k|    u->u_conditional_annotation_indices = NULL;
  690|  2.43k|    u->u_next_conditional_annotation_index = 0;
  691|  2.43k|    if (scope_type == COMPILE_SCOPE_CLASS) {
  ------------------
  |  Branch (691:9): [True: 149, False: 2.29k]
  ------------------
  692|    149|        u->u_static_attributes = PySet_New(0);
  693|    149|        if (!u->u_static_attributes) {
  ------------------
  |  Branch (693:13): [True: 0, False: 149]
  ------------------
  694|      0|            compiler_unit_free(u);
  695|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  696|      0|        }
  697|    149|    }
  698|  2.29k|    else {
  699|  2.29k|        u->u_static_attributes = NULL;
  700|  2.29k|    }
  701|       |
  702|  2.43k|    u->u_instr_sequence = (instr_sequence*)_PyInstructionSequence_New();
  703|  2.43k|    if (!u->u_instr_sequence) {
  ------------------
  |  Branch (703:9): [True: 0, False: 2.43k]
  ------------------
  704|      0|        compiler_unit_free(u);
  705|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  706|      0|    }
  707|  2.43k|    u->u_stashed_instr_sequence = NULL;
  708|       |
  709|       |    /* Push the old compiler_unit on the stack. */
  710|  2.43k|    if (c->u) {
  ------------------
  |  Branch (710:9): [True: 2.17k, False: 264]
  ------------------
  711|  2.17k|        PyObject *capsule = PyCapsule_New(c->u, CAPSULE_NAME, NULL);
  ------------------
  |  |  207|  2.17k|#define CAPSULE_NAME "compile.c compiler unit"
  ------------------
  712|  2.17k|        if (!capsule || PyList_Append(c->c_stack, capsule) < 0) {
  ------------------
  |  Branch (712:13): [True: 0, False: 2.17k]
  |  Branch (712:25): [True: 0, False: 2.17k]
  ------------------
  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|  2.17k|        Py_DECREF(capsule);
  ------------------
  |  |  430|  2.17k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  718|  2.17k|        if (private == NULL) {
  ------------------
  |  Branch (718:13): [True: 2.02k, False: 149]
  ------------------
  719|  2.02k|            private = c->u->u_private;
  720|  2.02k|        }
  721|  2.17k|    }
  722|       |
  723|  2.43k|    u->u_private = Py_XNewRef(private);
  ------------------
  |  |  551|  2.43k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  724|       |
  725|  2.43k|    c->u = u;
  726|  2.43k|    if (scope_type != COMPILE_SCOPE_MODULE) {
  ------------------
  |  Branch (726:9): [True: 2.17k, False: 264]
  ------------------
  727|  2.17k|        RETURN_IF_ERROR(compiler_set_qualname(c));
  ------------------
  |  |   40|  2.17k|    do {                    \
  |  |   41|  2.17k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (41:13): [True: 0, False: 2.17k]
  |  |  ------------------
  |  |   42|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   37|      0|#define ERROR -1
  |  |  ------------------
  |  |   43|      0|        }                   \
  |  |   44|  2.17k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (44:14): [Folded, False: 2.17k]
  |  |  ------------------
  ------------------
  728|  2.17k|    }
  729|  2.43k|    return SUCCESS;
  ------------------
  |  |   36|  2.43k|#define SUCCESS 0
  ------------------
  730|  2.43k|}
_PyCompile_ExitScope:
  734|  2.43k|{
  735|       |    // Don't call PySequence_DelItem() with an exception raised
  736|  2.43k|    PyObject *exc = PyErr_GetRaisedException();
  737|       |
  738|  2.43k|    instr_sequence *nested_seq = NULL;
  739|  2.43k|    if (c->c_save_nested_seqs) {
  ------------------
  |  Branch (739:9): [True: 0, False: 2.43k]
  ------------------
  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|  2.43k|    compiler_unit_free(c->u);
  744|       |    /* Restore c->u to the parent unit. */
  745|  2.43k|    Py_ssize_t n = PyList_GET_SIZE(c->c_stack) - 1;
  ------------------
  |  |   38|  2.43k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  746|  2.43k|    if (n >= 0) {
  ------------------
  |  Branch (746:9): [True: 2.17k, False: 264]
  ------------------
  747|  2.17k|        PyObject *capsule = PyList_GET_ITEM(c->c_stack, n);
  ------------------
  |  |   40|  2.17k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|  2.17k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  748|  2.17k|        c->u = (struct compiler_unit *)PyCapsule_GetPointer(capsule, CAPSULE_NAME);
  ------------------
  |  |  207|  2.17k|#define CAPSULE_NAME "compile.c compiler unit"
  ------------------
  749|  2.17k|        assert(c->u);
  750|       |        /* we are deleting from a list so this really shouldn't fail */
  751|  2.17k|        if (PySequence_DelItem(c->c_stack, n) < 0) {
  ------------------
  |  Branch (751:13): [True: 0, False: 2.17k]
  ------------------
  752|      0|            PyErr_FormatUnraisable("Exception ignored while removing "
  753|      0|                                   "the last compiler stack item");
  754|      0|        }
  755|  2.17k|        if (nested_seq != NULL) {
  ------------------
  |  Branch (755:13): [True: 0, False: 2.17k]
  ------------------
  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|  2.17k|    }
  762|    264|    else {
  763|    264|        c->u = NULL;
  764|    264|    }
  765|  2.43k|    Py_XDECREF(nested_seq);
  ------------------
  |  |  524|  2.43k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  766|       |
  767|  2.43k|    PyErr_SetRaisedException(exc);
  768|  2.43k|}
_PyCompile_PushFBlock:
  778|  1.86k|{
  779|  1.86k|    fblockinfo *f;
  780|  1.86k|    if (c->u->u_nfblocks >= CO_MAXBLOCKS) {
  ------------------
  |  |  160|  1.86k|#define CO_MAXBLOCKS 21 /* Max static block nesting within a function */
  ------------------
  |  Branch (780:9): [True: 0, False: 1.86k]
  ------------------
  781|      0|        return _PyCompile_Error(c, loc, "too many statically nested blocks");
  782|      0|    }
  783|  1.86k|    f = &c->u->u_fblock[c->u->u_nfblocks++];
  784|  1.86k|    f->fb_type = t;
  785|  1.86k|    f->fb_block = block_label;
  786|  1.86k|    f->fb_loc = loc;
  787|  1.86k|    f->fb_exit = exit;
  788|  1.86k|    f->fb_datum = datum;
  789|  1.86k|    if (t == COMPILE_FBLOCK_FINALLY_END) {
  ------------------
  |  Branch (789:9): [True: 76, False: 1.78k]
  ------------------
  790|     76|        c->c_disable_warning++;
  791|     76|    }
  792|  1.86k|    return SUCCESS;
  ------------------
  |  |   36|  1.86k|#define SUCCESS 0
  ------------------
  793|  1.86k|}
_PyCompile_PopFBlock:
  797|  1.86k|{
  798|  1.86k|    struct compiler_unit *u = c->u;
  799|  1.86k|    assert(u->u_nfblocks > 0);
  800|  1.86k|    u->u_nfblocks--;
  801|  1.86k|    assert(u->u_fblock[u->u_nfblocks].fb_type == t);
  802|  1.86k|    assert(SAME_JUMP_TARGET_LABEL(u->u_fblock[u->u_nfblocks].fb_block, block_label));
  803|  1.86k|    if (t == COMPILE_FBLOCK_FINALLY_END) {
  ------------------
  |  Branch (803:9): [True: 76, False: 1.78k]
  ------------------
  804|     76|        c->c_disable_warning--;
  805|     76|    }
  806|  1.86k|}
_PyCompile_TopFBlock:
  810|  1.96k|{
  811|  1.96k|    if (c->u->u_nfblocks == 0) {
  ------------------
  |  Branch (811:9): [True: 1.49k, False: 472]
  ------------------
  812|  1.49k|        return NULL;
  813|  1.49k|    }
  814|    472|    return &c->u->u_fblock[c->u->u_nfblocks - 1];
  815|  1.96k|}
_PyCompile_InExceptionHandler:
  819|    445|{
  820|    450|    for (Py_ssize_t i = 0; i < c->u->u_nfblocks; i++) {
  ------------------
  |  Branch (820:28): [True: 15, False: 435]
  ------------------
  821|     15|        fblockinfo *block = &c->u->u_fblock[i];
  822|     15|        switch (block->fb_type) {
  823|     10|            case COMPILE_FBLOCK_TRY_EXCEPT:
  ------------------
  |  Branch (823:13): [True: 10, False: 5]
  ------------------
  824|     10|            case COMPILE_FBLOCK_FINALLY_TRY:
  ------------------
  |  Branch (824:13): [True: 0, False: 15]
  ------------------
  825|     10|            case COMPILE_FBLOCK_FINALLY_END:
  ------------------
  |  Branch (825:13): [True: 0, False: 15]
  ------------------
  826|     10|            case COMPILE_FBLOCK_EXCEPTION_HANDLER:
  ------------------
  |  Branch (826:13): [True: 0, False: 15]
  ------------------
  827|     10|            case COMPILE_FBLOCK_EXCEPTION_GROUP_HANDLER:
  ------------------
  |  Branch (827:13): [True: 0, False: 15]
  ------------------
  828|     10|            case COMPILE_FBLOCK_HANDLER_CLEANUP:
  ------------------
  |  Branch (828:13): [True: 0, False: 15]
  ------------------
  829|     10|                return true;
  830|      5|            default:
  ------------------
  |  Branch (830:13): [True: 5, False: 10]
  ------------------
  831|      5|                break;
  832|     15|        }
  833|     15|    }
  834|    435|    return false;
  835|    445|}
_PyCompile_DeferredAnnotations:
  841|    334|{
  842|    334|    *deferred_annotations = Py_XNewRef(c->u->u_deferred_annotations);
  ------------------
  |  |  551|    334|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    334|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    334|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  843|    334|    *conditional_annotation_indices = Py_XNewRef(c->u->u_conditional_annotation_indices);
  ------------------
  |  |  551|    334|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    334|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    334|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  844|    334|}
_PyCompile_GetRefType:
  907|    525|{
  908|    525|    if (c->u->u_scope_type == COMPILE_SCOPE_CLASS &&
  ------------------
  |  Branch (908:9): [True: 87, False: 438]
  ------------------
  909|     87|        (_PyUnicode_EqualToASCIIString(name, "__class__") ||
  ------------------
  |  Branch (909:10): [True: 71, False: 16]
  ------------------
  910|     16|         _PyUnicode_EqualToASCIIString(name, "__classdict__") ||
  ------------------
  |  Branch (910:10): [True: 16, False: 0]
  ------------------
  911|     87|         _PyUnicode_EqualToASCIIString(name, "__conditional_annotations__"))) {
  ------------------
  |  Branch (911:10): [True: 0, False: 0]
  ------------------
  912|     87|        return CELL;
  ------------------
  |  |  191|     87|#define CELL 5
  ------------------
  913|     87|    }
  914|    438|    PySTEntryObject *ste = c->u->u_ste;
  915|    438|    int scope = _PyST_GetScope(ste, name);
  916|    438|    if (scope == 0) {
  ------------------
  |  Branch (916:9): [True: 0, False: 438]
  ------------------
  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|    438|    return scope;
  929|    438|}
_PyCompile_LookupCellvar:
  943|    154|{
  944|       |    assert(c->u->u_metadata.u_cellvars);
  945|    154|    return dict_lookup_arg(c->u->u_metadata.u_cellvars, name);
  946|    154|}
_PyCompile_LookupArg:
  950|    474|{
  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|    474|    int reftype = _PyCompile_GetRefType(c, name);
  958|    474|    if (reftype == -1) {
  ------------------
  |  Branch (958:9): [True: 0, False: 474]
  ------------------
  959|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  960|      0|    }
  961|    474|    int arg;
  962|    474|    if (reftype == CELL) {
  ------------------
  |  |  191|    474|#define CELL 5
  ------------------
  |  Branch (962:9): [True: 470, False: 4]
  ------------------
  963|    470|        arg = dict_lookup_arg(c->u->u_metadata.u_cellvars, name);
  964|    470|    }
  965|      4|    else {
  966|      4|        arg = dict_lookup_arg(c->u->u_metadata.u_freevars, name);
  967|      4|    }
  968|    474|    if (arg == -1 && !PyErr_Occurred()) {
  ------------------
  |  Branch (968:9): [True: 0, False: 474]
  |  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|    474|    return arg;
  985|    474|}
_PyCompile_StaticAttributesAsTuple:
  989|    149|{
  990|    149|    assert(c->u->u_static_attributes);
  991|    149|    PyObject *static_attributes_unsorted = PySequence_List(c->u->u_static_attributes);
  992|    149|    if (static_attributes_unsorted == NULL) {
  ------------------
  |  Branch (992:9): [True: 0, False: 149]
  ------------------
  993|      0|        return NULL;
  994|      0|    }
  995|    149|    if (PyList_Sort(static_attributes_unsorted) != 0) {
  ------------------
  |  Branch (995:9): [True: 0, False: 149]
  ------------------
  996|      0|        Py_DECREF(static_attributes_unsorted);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  997|      0|        return NULL;
  998|      0|    }
  999|    149|    PyObject *static_attributes = PySequence_Tuple(static_attributes_unsorted);
 1000|    149|    Py_DECREF(static_attributes_unsorted);
  ------------------
  |  |  430|    149|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    149|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    149|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1001|    149|    return static_attributes;
 1002|    149|}
_PyCompile_ResolveNameop:
 1007|  28.6k|{
 1008|  28.6k|    PyObject *dict = c->u->u_metadata.u_names;
 1009|  28.6k|    *optype = COMPILE_OP_NAME;
 1010|       |
 1011|  28.6k|    assert(scope >= 0);
 1012|  28.6k|    switch (scope) {
 1013|    679|    case FREE:
  ------------------
  |  |  190|    679|#define FREE 4
  ------------------
  |  Branch (1013:5): [True: 679, False: 27.9k]
  ------------------
 1014|    679|        dict = c->u->u_metadata.u_freevars;
 1015|    679|        *optype = COMPILE_OP_DEREF;
 1016|    679|        break;
 1017|    366|    case CELL:
  ------------------
  |  |  191|    366|#define CELL 5
  ------------------
  |  Branch (1017:5): [True: 366, False: 28.2k]
  ------------------
 1018|    366|        dict = c->u->u_metadata.u_cellvars;
 1019|    366|        *optype = COMPILE_OP_DEREF;
 1020|    366|        break;
 1021|  22.0k|    case LOCAL:
  ------------------
  |  |  187|  22.0k|#define LOCAL 1
  ------------------
  |  Branch (1021:5): [True: 22.0k, False: 6.65k]
  ------------------
 1022|  22.0k|        if (_PyST_IsFunctionLike(c->u->u_ste)) {
  ------------------
  |  Branch (1022:13): [True: 19.2k, False: 2.80k]
  ------------------
 1023|  19.2k|            *optype = COMPILE_OP_FAST;
 1024|  19.2k|        }
 1025|  2.80k|        else {
 1026|  2.80k|            PyObject *item;
 1027|  2.80k|            RETURN_IF_ERROR(PyDict_GetItemRef(c->u->u_metadata.u_fasthidden, mangled,
  ------------------
  |  |   40|  2.80k|    do {                    \
  |  |   41|  2.80k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (41:13): [True: 0, False: 2.80k]
  |  |  ------------------
  |  |   42|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   37|      0|#define ERROR -1
  |  |  ------------------
  |  |   43|      0|        }                   \
  |  |   44|  2.80k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (44:14): [Folded, False: 2.80k]
  |  |  ------------------
  ------------------
 1028|  2.80k|                                              &item));
 1029|  2.80k|            if (item == Py_True) {
  ------------------
  |  |   26|  2.80k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|  2.80k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.80k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1029:17): [True: 10, False: 2.79k]
  ------------------
 1030|     10|                *optype = COMPILE_OP_FAST;
 1031|     10|            }
 1032|  2.80k|            Py_XDECREF(item);
  ------------------
  |  |  524|  2.80k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.80k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.80k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1033|  2.80k|        }
 1034|  22.0k|        break;
 1035|  22.0k|    case GLOBAL_IMPLICIT:
  ------------------
  |  |  189|  4.55k|#define GLOBAL_IMPLICIT 3
  ------------------
  |  Branch (1035:5): [True: 4.55k, False: 24.1k]
  ------------------
 1036|  4.55k|        if (_PyST_IsFunctionLike(c->u->u_ste)) {
  ------------------
  |  Branch (1036:13): [True: 4.29k, False: 259]
  ------------------
 1037|  4.29k|            *optype = COMPILE_OP_GLOBAL;
 1038|  4.29k|        }
 1039|  4.55k|        break;
 1040|     26|    case GLOBAL_EXPLICIT:
  ------------------
  |  |  188|     26|#define GLOBAL_EXPLICIT 2
  ------------------
  |  Branch (1040:5): [True: 26, False: 28.6k]
  ------------------
 1041|     26|        *optype = COMPILE_OP_GLOBAL;
 1042|     26|        break;
 1043|  1.02k|    default:
  ------------------
  |  Branch (1043:5): [True: 1.02k, False: 27.6k]
  ------------------
 1044|       |        /* scope can be 0 */
 1045|  1.02k|        break;
 1046|  28.6k|    }
 1047|  28.6k|    if (*optype != COMPILE_OP_FAST) {
  ------------------
  |  Branch (1047:9): [True: 9.45k, False: 19.2k]
  ------------------
 1048|  9.45k|        *arg = _PyCompile_DictAddObj(dict, mangled);
 1049|  9.45k|        RETURN_IF_ERROR(*arg);
  ------------------
  |  |   40|  9.45k|    do {                    \
  |  |   41|  9.45k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (41:13): [True: 0, False: 9.45k]
  |  |  ------------------
  |  |   42|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   37|      0|#define ERROR -1
  |  |  ------------------
  |  |   43|      0|        }                   \
  |  |   44|  9.45k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (44:14): [Folded, False: 9.45k]
  |  |  ------------------
  ------------------
 1050|  9.45k|    }
 1051|  28.6k|    return SUCCESS;
  ------------------
  |  |   36|  28.6k|#define SUCCESS 0
  ------------------
 1052|  28.6k|}
_PyCompile_TweakInlinedComprehensionScopes:
 1058|     44|{
 1059|     44|    int in_class_block = (c->u->u_ste->ste_type == ClassBlock) && !c->u->u_in_inlined_comp;
  ------------------
  |  Branch (1059:26): [True: 1, False: 43]
  |  Branch (1059:67): [True: 1, False: 0]
  ------------------
 1060|     44|    c->u->u_in_inlined_comp++;
 1061|       |
 1062|     44|    PyObject *k, *v;
 1063|     44|    Py_ssize_t pos = 0;
 1064|    181|    while (PyDict_Next(entry->ste_symbols, &pos, &k, &v)) {
  ------------------
  |  Branch (1064:12): [True: 137, False: 44]
  ------------------
 1065|    137|        long symbol = PyLong_AsLong(v);
 1066|    137|        assert(symbol >= 0 || PyErr_Occurred());
 1067|    137|        RETURN_IF_ERROR(symbol);
  ------------------
  |  |   40|    137|    do {                    \
  |  |   41|    137|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (41:13): [True: 0, False: 137]
  |  |  ------------------
  |  |   42|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   37|      0|#define ERROR -1
  |  |  ------------------
  |  |   43|      0|        }                   \
  |  |   44|    137|    } while (0)
  |  |  ------------------
  |  |  |  Branch (44:14): [Folded, False: 137]
  |  |  ------------------
  ------------------
 1068|    137|        long scope = SYMBOL_TO_SCOPE(symbol);
  ------------------
  |  |  185|    137|#define SYMBOL_TO_SCOPE(S) (((S) >> SCOPE_OFFSET) & SCOPE_MASK)
  |  |  ------------------
  |  |  |  |  183|    137|#define SCOPE_OFFSET 12
  |  |  ------------------
  |  |               #define SYMBOL_TO_SCOPE(S) (((S) >> SCOPE_OFFSET) & SCOPE_MASK)
  |  |  ------------------
  |  |  |  |  184|    137|#define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  165|    137|#define DEF_GLOBAL 1             /* global stmt */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  166|    137|#define DEF_LOCAL 2              /* assignment in code block */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  167|    137|#define DEF_PARAM (2<<1)         /* formal parameter */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  168|    137|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1069|       |
 1070|    137|        long outsymbol = _PyST_GetSymbol(c->u->u_ste, k);
 1071|    137|        RETURN_IF_ERROR(outsymbol);
  ------------------
  |  |   40|    137|    do {                    \
  |  |   41|    137|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (41:13): [True: 0, False: 137]
  |  |  ------------------
  |  |   42|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   37|      0|#define ERROR -1
  |  |  ------------------
  |  |   43|      0|        }                   \
  |  |   44|    137|    } while (0)
  |  |  ------------------
  |  |  |  Branch (44:14): [Folded, False: 137]
  |  |  ------------------
  ------------------
 1072|    137|        long outsc = SYMBOL_TO_SCOPE(outsymbol);
  ------------------
  |  |  185|    137|#define SYMBOL_TO_SCOPE(S) (((S) >> SCOPE_OFFSET) & SCOPE_MASK)
  |  |  ------------------
  |  |  |  |  183|    137|#define SCOPE_OFFSET 12
  |  |  ------------------
  |  |               #define SYMBOL_TO_SCOPE(S) (((S) >> SCOPE_OFFSET) & SCOPE_MASK)
  |  |  ------------------
  |  |  |  |  184|    137|#define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  165|    137|#define DEF_GLOBAL 1             /* global stmt */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  166|    137|#define DEF_LOCAL 2              /* assignment in code block */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  167|    137|#define DEF_PARAM (2<<1)         /* formal parameter */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  168|    137|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1073|       |
 1074|       |        // If a name has different scope inside than outside the comprehension,
 1075|       |        // we need to temporarily handle it with the right scope while
 1076|       |        // compiling the comprehension. If it's free in the comprehension
 1077|       |        // scope, no special handling; it should be handled the same as the
 1078|       |        // enclosing scope. (If it's free in outer scope and cell in inner
 1079|       |        // scope, we can't treat it as both cell and free in the same function,
 1080|       |        // but treating it as free throughout is fine; it's *_DEREF
 1081|       |        // either way.)
 1082|    137|        if ((scope != outsc && scope != FREE && !(scope == CELL && outsc == FREE))
  ------------------
  |  |  190|    203|#define FREE 4
  ------------------
                      if ((scope != outsc && scope != FREE && !(scope == CELL && outsc == FREE))
  ------------------
  |  |  191|     88|#define CELL 5
  ------------------
                      if ((scope != outsc && scope != FREE && !(scope == CELL && outsc == FREE))
  ------------------
  |  |  190|      0|#define FREE 4
  ------------------
  |  Branch (1082:14): [True: 66, False: 71]
  |  Branch (1082:32): [True: 44, False: 22]
  |  Branch (1082:51): [True: 0, False: 44]
  |  Branch (1082:68): [True: 0, False: 0]
  ------------------
 1083|     93|                || in_class_block) {
  ------------------
  |  Branch (1083:20): [True: 1, False: 92]
  ------------------
 1084|     45|            if (state->temp_symbols == NULL) {
  ------------------
  |  Branch (1084:17): [True: 44, False: 1]
  ------------------
 1085|     44|                state->temp_symbols = PyDict_New();
 1086|     44|                if (state->temp_symbols == NULL) {
  ------------------
  |  Branch (1086:21): [True: 0, False: 44]
  ------------------
 1087|      0|                    return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
 1088|      0|                }
 1089|     44|            }
 1090|       |            // update the symbol to the in-comprehension version and save
 1091|       |            // the outer version; we'll restore it after running the
 1092|       |            // comprehension
 1093|     45|            if (PyDict_SetItem(c->u->u_ste->ste_symbols, k, v) < 0) {
  ------------------
  |  Branch (1093:17): [True: 0, False: 45]
  ------------------
 1094|      0|                return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
 1095|      0|            }
 1096|     45|            PyObject *outv = PyLong_FromLong(outsymbol);
 1097|     45|            if (outv == NULL) {
  ------------------
  |  Branch (1097:17): [True: 0, False: 45]
  ------------------
 1098|      0|                return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
 1099|      0|            }
 1100|     45|            int res = PyDict_SetItem(state->temp_symbols, k, outv);
 1101|     45|            Py_DECREF(outv);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1102|     45|            RETURN_IF_ERROR(res);
  ------------------
  |  |   40|     45|    do {                    \
  |  |   41|     45|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (41:13): [True: 0, False: 45]
  |  |  ------------------
  |  |   42|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   37|      0|#define ERROR -1
  |  |  ------------------
  |  |   43|      0|        }                   \
  |  |   44|     45|    } while (0)
  |  |  ------------------
  |  |  |  Branch (44:14): [Folded, False: 45]
  |  |  ------------------
  ------------------
 1103|     45|        }
 1104|       |        // locals handling for names bound in comprehension (DEF_LOCAL |
 1105|       |        // DEF_NONLOCAL occurs in assignment expression to nonlocal)
 1106|    137|        if ((symbol & DEF_LOCAL && !(symbol & DEF_NONLOCAL)) || in_class_block) {
  ------------------
  |  |  166|    274|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
                      if ((symbol & DEF_LOCAL && !(symbol & DEF_NONLOCAL)) || in_class_block) {
  ------------------
  |  |  168|     51|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  ------------------
  |  Branch (1106:14): [True: 51, False: 86]
  |  Branch (1106:36): [True: 51, False: 0]
  |  Branch (1106:65): [True: 1, False: 85]
  ------------------
 1107|     52|            if (!_PyST_IsFunctionLike(c->u->u_ste)) {
  ------------------
  |  Branch (1107:17): [True: 5, False: 47]
  ------------------
 1108|       |                // non-function scope: override this name to use fast locals
 1109|      5|                PyObject *orig;
 1110|      5|                if (PyDict_GetItemRef(c->u->u_metadata.u_fasthidden, k, &orig) < 0) {
  ------------------
  |  Branch (1110:21): [True: 0, False: 5]
  ------------------
 1111|      0|                    return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
 1112|      0|                }
 1113|      5|                assert(orig == NULL || orig == Py_True || orig == Py_False);
 1114|      5|                if (orig != Py_True) {
  ------------------
  |  |   26|      5|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1114:21): [True: 5, False: 0]
  ------------------
 1115|      5|                    if (PyDict_SetItem(c->u->u_metadata.u_fasthidden, k, Py_True) < 0) {
  ------------------
  |  |   26|      5|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1115:25): [True: 0, False: 5]
  ------------------
 1116|      0|                        Py_XDECREF(orig);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1117|      0|                        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
 1118|      0|                    }
 1119|      5|                    if (state->fast_hidden == NULL) {
  ------------------
  |  Branch (1119:25): [True: 4, False: 1]
  ------------------
 1120|      4|                        state->fast_hidden = PySet_New(NULL);
 1121|      4|                        if (state->fast_hidden == NULL) {
  ------------------
  |  Branch (1121:29): [True: 0, False: 4]
  ------------------
 1122|      0|                            Py_XDECREF(orig);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1123|      0|                            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
 1124|      0|                        }
 1125|      4|                    }
 1126|      5|                    if (PySet_Add(state->fast_hidden, k) < 0) {
  ------------------
  |  Branch (1126:25): [True: 0, False: 5]
  ------------------
 1127|      0|                        Py_XDECREF(orig);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1128|      0|                        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
 1129|      0|                    }
 1130|      5|                }
 1131|      5|                Py_XDECREF(orig);
  ------------------
  |  |  524|      5|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1132|      5|            }
 1133|     52|        }
 1134|    137|    }
 1135|     44|    return SUCCESS;
  ------------------
  |  |   36|     44|#define SUCCESS 0
  ------------------
 1136|     44|}
_PyCompile_RevertInlinedComprehensionScopes:
 1141|     44|{
 1142|     44|    c->u->u_in_inlined_comp--;
 1143|     44|    if (state->temp_symbols) {
  ------------------
  |  Branch (1143:9): [True: 44, False: 0]
  ------------------
 1144|     44|        PyObject *k, *v;
 1145|     44|        Py_ssize_t pos = 0;
 1146|     89|        while (PyDict_Next(state->temp_symbols, &pos, &k, &v)) {
  ------------------
  |  Branch (1146:16): [True: 45, False: 44]
  ------------------
 1147|     45|            if (PyDict_SetItem(c->u->u_ste->ste_symbols, k, v)) {
  ------------------
  |  Branch (1147:17): [True: 0, False: 45]
  ------------------
 1148|      0|                return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
 1149|      0|            }
 1150|     45|        }
 1151|     44|        Py_CLEAR(state->temp_symbols);
  ------------------
  |  |  484|     44|    do { \
  |  |  485|     44|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|     44|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|     44|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|     44|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|     44|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 44, False: 0]
  |  |  ------------------
  |  |  488|     44|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|     44|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|     44|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|     44|        } \
  |  |  491|     44|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 44]
  |  |  ------------------
  ------------------
 1152|     44|    }
 1153|     44|    if (state->fast_hidden) {
  ------------------
  |  Branch (1153:9): [True: 4, False: 40]
  ------------------
 1154|      9|        while (PySet_Size(state->fast_hidden) > 0) {
  ------------------
  |  Branch (1154:16): [True: 5, False: 4]
  ------------------
 1155|      5|            PyObject *k = PySet_Pop(state->fast_hidden);
 1156|      5|            if (k == NULL) {
  ------------------
  |  Branch (1156:17): [True: 0, False: 5]
  ------------------
 1157|      0|                return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
 1158|      0|            }
 1159|       |            // we set to False instead of clearing, so we can track which names
 1160|       |            // were temporarily fast-locals and should use CO_FAST_HIDDEN
 1161|      5|            if (PyDict_SetItem(c->u->u_metadata.u_fasthidden, k, Py_False)) {
  ------------------
  |  |   25|      5|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1161:17): [True: 0, False: 5]
  ------------------
 1162|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1163|      0|                return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
 1164|      0|            }
 1165|      5|            Py_DECREF(k);
  ------------------
  |  |  430|      5|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      5|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      5|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1166|      5|        }
 1167|      4|        Py_CLEAR(state->fast_hidden);
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 1168|      4|    }
 1169|     44|    return SUCCESS;
  ------------------
  |  |   36|     44|#define SUCCESS 0
  ------------------
 1170|     44|}
_PyCompile_EnterConditionalBlock:
 1174|  2.87k|{
 1175|  2.87k|    c->u->u_in_conditional_block++;
 1176|  2.87k|}
_PyCompile_LeaveConditionalBlock:
 1180|  2.87k|{
 1181|       |    assert(c->u->u_in_conditional_block > 0);
 1182|  2.87k|    c->u->u_in_conditional_block--;
 1183|  2.87k|}
_PyCompile_AddDeferredAnnotation:
 1188|      4|{
 1189|      4|    if (c->u->u_deferred_annotations == NULL) {
  ------------------
  |  Branch (1189:9): [True: 2, False: 2]
  ------------------
 1190|      2|        c->u->u_deferred_annotations = PyList_New(0);
 1191|      2|        if (c->u->u_deferred_annotations == NULL) {
  ------------------
  |  Branch (1191:13): [True: 0, False: 2]
  ------------------
 1192|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
 1193|      0|        }
 1194|      2|    }
 1195|      4|    if (c->u->u_conditional_annotation_indices == NULL) {
  ------------------
  |  Branch (1195:9): [True: 2, False: 2]
  ------------------
 1196|      2|        c->u->u_conditional_annotation_indices = PyList_New(0);
 1197|      2|        if (c->u->u_conditional_annotation_indices == NULL) {
  ------------------
  |  Branch (1197:13): [True: 0, False: 2]
  ------------------
 1198|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
 1199|      0|        }
 1200|      2|    }
 1201|      4|    PyObject *ptr = PyLong_FromVoidPtr((void *)s);
 1202|      4|    if (ptr == NULL) {
  ------------------
  |  Branch (1202:9): [True: 0, False: 4]
  ------------------
 1203|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
 1204|      0|    }
 1205|      4|    if (PyList_Append(c->u->u_deferred_annotations, ptr) < 0) {
  ------------------
  |  Branch (1205:9): [True: 0, False: 4]
  ------------------
 1206|      0|        Py_DECREF(ptr);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_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 ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
 1208|      0|    }
 1209|      4|    Py_DECREF(ptr);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1210|      4|    PyObject *index;
 1211|      4|    if (c->u->u_scope_type == COMPILE_SCOPE_MODULE || c->u->u_in_conditional_block) {
  ------------------
  |  Branch (1211:9): [True: 0, False: 4]
  |  Branch (1211:55): [True: 0, False: 4]
  ------------------
 1212|      0|        index = PyLong_FromLong(c->u->u_next_conditional_annotation_index);
 1213|      0|        if (index == NULL) {
  ------------------
  |  Branch (1213:13): [True: 0, False: 0]
  ------------------
 1214|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
 1215|      0|        }
 1216|      0|        *conditional_annotation_index = Py_NewRef(index);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1217|      0|        c->u->u_next_conditional_annotation_index++;
 1218|      0|    }
 1219|      4|    else {
 1220|      4|        index = PyLong_FromLong(-1);
 1221|      4|        if (index == NULL) {
  ------------------
  |  Branch (1221:13): [True: 0, False: 4]
  ------------------
 1222|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
 1223|      0|        }
 1224|      4|    }
 1225|      4|    int rc = PyList_Append(c->u->u_conditional_annotation_indices, index);
 1226|      4|    Py_DECREF(index);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1227|      4|    RETURN_IF_ERROR(rc);
  ------------------
  |  |   40|      4|    do {                    \
  |  |   41|      4|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (41:13): [True: 0, False: 4]
  |  |  ------------------
  |  |   42|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   37|      0|#define ERROR -1
  |  |  ------------------
  |  |   43|      0|        }                   \
  |  |   44|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (44:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
 1228|      4|    return SUCCESS;
  ------------------
  |  |   36|      4|#define SUCCESS 0
  ------------------
 1229|      4|}
_PyCompile_Mangle:
 1276|      4|{
 1277|      4|    return _Py_Mangle(c->u->u_private, name);
 1278|      4|}
_PyCompile_MaybeMangle:
 1282|  39.1k|{
 1283|  39.1k|    return _Py_MaybeMangle(c->u->u_private, c->u->u_ste, name);
 1284|  39.1k|}
_PyCompile_InstrSequence:
 1288|   128k|{
 1289|   128k|    return c->u->u_instr_sequence;
 1290|   128k|}
_PyCompile_FutureFeatures:
 1323|    742|{
 1324|    742|    return c->c_future.ff_features;
 1325|    742|}
_PyCompile_Symtable:
 1329|  4.67k|{
 1330|  4.67k|    return c->c_st;
 1331|  4.67k|}
_PyCompile_SymtableEntry:
 1335|  43.0k|{
 1336|  43.0k|    return c->u->u_ste;
 1337|  43.0k|}
_PyCompile_OptimizationLevel:
 1341|     50|{
 1342|     50|    return c->c_optimize;
 1343|     50|}
_PyCompile_IsInteractiveTopLevel:
 1347|  2.17k|{
 1348|  2.17k|    assert(c->c_stack != NULL);
 1349|  2.17k|    assert(PyList_CheckExact(c->c_stack));
 1350|  2.17k|    bool is_nested_scope = PyList_GET_SIZE(c->c_stack) > 0;
  ------------------
  |  |   38|  2.17k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1351|  2.17k|    return c->c_interactive && !is_nested_scope;
  ------------------
  |  Branch (1351:12): [True: 0, False: 2.17k]
  |  Branch (1351:32): [True: 0, False: 0]
  ------------------
 1352|  2.17k|}
_PyCompile_ScopeType:
 1356|    466|{
 1357|    466|    return c->u->u_scope_type;
 1358|    466|}
_PyCompile_IsInInlinedComp:
 1362|    358|{
 1363|    358|    return c->u->u_in_inlined_comp;
 1364|    358|}
_PyCompile_Qualname:
 1368|    149|{
 1369|       |    assert(c->u->u_metadata.u_qualname);
 1370|    149|    return c->u->u_metadata.u_qualname;
 1371|    149|}
_PyCompile_Metadata:
 1375|  29.6k|{
 1376|  29.6k|    return &c->u->u_metadata;
 1377|  29.6k|}
_PyCompile_ConstCacheMergeOne:
 1382|  15.0k|{
 1383|  15.0k|    PyObject *key = const_cache_insert(const_cache, *obj, false);
 1384|  15.0k|    if (key == NULL) {
  ------------------
  |  Branch (1384:9): [True: 0, False: 15.0k]
  ------------------
 1385|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
 1386|      0|    }
 1387|  15.0k|    if (PyTuple_CheckExact(key)) {
  ------------------
  |  |   28|  15.0k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_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: 15.0k, False: 14]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1388|  15.0k|        PyObject *item = PyTuple_GET_ITEM(key, 1);
  ------------------
  |  |   29|  15.0k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  15.0k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1389|  15.0k|        Py_SETREF(*obj, Py_NewRef(item));
  ------------------
  |  |  352|  15.0k|    do { \
  |  |  353|  15.0k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  15.0k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|  15.0k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  15.0k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|  15.0k|        *_tmp_dst_ptr = (src); \
  |  |  356|  15.0k|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  430|  15.0k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  15.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  15.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|  15.0k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 15.0k]
  |  |  ------------------
  ------------------
 1390|  15.0k|        Py_DECREF(key);
  ------------------
  |  |  430|  15.0k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  15.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1391|  15.0k|    }
 1392|     14|    else {
 1393|     14|        Py_SETREF(*obj, key);
  ------------------
  |  |  352|     14|    do { \
  |  |  353|     14|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     14|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|     14|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     14|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|     14|        *_tmp_dst_ptr = (src); \
  |  |  356|     14|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|     14|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 14]
  |  |  ------------------
  ------------------
 1394|     14|    }
 1395|  15.0k|    return SUCCESS;
  ------------------
  |  |   36|  15.0k|#define SUCCESS 0
  ------------------
 1396|  15.0k|}
_PyCompile_OptimizeAndAssemble:
 1505|  2.43k|{
 1506|  2.43k|    struct compiler_unit *u = c->u;
 1507|  2.43k|    PyObject *const_cache = c->c_const_cache;
 1508|  2.43k|    PyObject *filename = c->c_filename;
 1509|       |
 1510|  2.43k|    int code_flags = compute_code_flags(c);
 1511|  2.43k|    if (code_flags < 0) {
  ------------------
  |  Branch (1511:9): [True: 0, False: 2.43k]
  ------------------
 1512|      0|        return NULL;
 1513|      0|    }
 1514|       |
 1515|  2.43k|    if (_PyCodegen_AddReturnAtEnd(c, addNone) < 0) {
  ------------------
  |  Branch (1515:9): [True: 0, False: 2.43k]
  ------------------
 1516|      0|        return NULL;
 1517|      0|    }
 1518|       |
 1519|  2.43k|    return optimize_and_assemble_code_unit(u, const_cache, code_flags, filename);
 1520|  2.43k|}
_PyAST_Compile:
 1525|    264|{
 1526|    264|    assert(!PyErr_Occurred());
 1527|    264|    compiler *c = new_compiler(mod, filename, pflags, optimize, arena, module);
 1528|    264|    if (c == NULL) {
  ------------------
  |  Branch (1528:9): [True: 0, False: 264]
  ------------------
 1529|      0|        return NULL;
 1530|      0|    }
 1531|       |
 1532|    264|    PyCodeObject *co = compiler_mod(c, mod);
 1533|    264|    compiler_free(c);
 1534|       |    assert(co || PyErr_Occurred());
 1535|    264|    return co;
 1536|    264|}
_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|    622|{
 1566|    622|    doc = PyObject_CallMethod(doc, "expandtabs", NULL);
 1567|    622|    if (doc == NULL) {
  ------------------
  |  Branch (1567:9): [True: 0, False: 622]
  ------------------
 1568|      0|        return NULL;
 1569|      0|    }
 1570|       |
 1571|    622|    Py_ssize_t doc_size;
 1572|    622|    const char *doc_utf8 = PyUnicode_AsUTF8AndSize(doc, &doc_size);
 1573|    622|    if (doc_utf8 == NULL) {
  ------------------
  |  Branch (1573:9): [True: 0, False: 622]
  ------------------
 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|    622|    const char *p = doc_utf8;
 1578|    622|    const char *pend = p + doc_size;
 1579|       |
 1580|       |    // First pass: find minimum indentation of any non-blank lines
 1581|       |    // after first line.
 1582|  27.2k|    while (p < pend && *p++ != '\n') {
  ------------------
  |  Branch (1582:12): [True: 26.9k, False: 246]
  |  Branch (1582:24): [True: 26.6k, False: 376]
  ------------------
 1583|  26.6k|    }
 1584|       |
 1585|    622|    Py_ssize_t margin = PY_SSIZE_T_MAX;
  ------------------
  |  |  137|    622|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
 1586|  4.24k|    while (p < pend) {
  ------------------
  |  Branch (1586:12): [True: 3.61k, False: 622]
  ------------------
 1587|  3.61k|        const char *s = p;
 1588|  23.2k|        while (*p == ' ') p++;
  ------------------
  |  Branch (1588:16): [True: 19.6k, False: 3.61k]
  ------------------
 1589|  3.61k|        if (p < pend && *p != '\n') {
  ------------------
  |  Branch (1589:13): [True: 3.27k, False: 339]
  |  Branch (1589:25): [True: 2.51k, False: 768]
  ------------------
 1590|  2.51k|            margin = Py_MIN(margin, p - s);
  ------------------
  |  |  112|  2.51k|#define Py_MIN(x, y) (((x) > (y)) ? (y) : (x))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 371, False: 2.14k]
  |  |  ------------------
  ------------------
 1591|  2.51k|        }
 1592|   125k|        while (p < pend && *p++ != '\n') {
  ------------------
  |  Branch (1592:16): [True: 124k, False: 371]
  |  Branch (1592:28): [True: 121k, False: 3.24k]
  ------------------
 1593|   121k|        }
 1594|  3.61k|    }
 1595|    622|    if (margin == PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|    622|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (1595:9): [True: 252, False: 370]
  ------------------
 1596|    252|        margin = 0;
 1597|    252|    }
 1598|       |
 1599|       |    // Second pass: write cleandoc into buff.
 1600|       |
 1601|       |    // copy first line without leading spaces.
 1602|    622|    p = doc_utf8;
 1603|    624|    while (*p == ' ') {
  ------------------
  |  Branch (1603:12): [True: 2, False: 622]
  ------------------
 1604|      2|        p++;
 1605|      2|    }
 1606|    622|    if (p == doc_utf8 && margin == 0 ) {
  ------------------
  |  Branch (1606:9): [True: 620, False: 2]
  |  Branch (1606:26): [True: 259, False: 361]
  ------------------
 1607|       |        // doc is already clean.
 1608|    259|        return doc;
 1609|    259|    }
 1610|       |
 1611|    363|    char *buff = PyMem_Malloc(doc_size);
 1612|    363|    if (buff == NULL){
  ------------------
  |  Branch (1612:9): [True: 0, False: 363]
  ------------------
 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|    363|    char *w = buff;
 1619|       |
 1620|  15.4k|    while (p < pend) {
  ------------------
  |  Branch (1620:12): [True: 15.4k, False: 0]
  ------------------
 1621|  15.4k|        int ch = *w++ = *p++;
 1622|  15.4k|        if (ch == '\n') {
  ------------------
  |  Branch (1622:13): [True: 363, False: 15.1k]
  ------------------
 1623|    363|            break;
 1624|    363|        }
 1625|  15.4k|    }
 1626|       |
 1627|       |    // copy subsequent lines without margin.
 1628|  3.84k|    while (p < pend) {
  ------------------
  |  Branch (1628:12): [True: 3.48k, False: 363]
  ------------------
 1629|  20.7k|        for (Py_ssize_t i = 0; i < margin; i++, p++) {
  ------------------
  |  Branch (1629:32): [True: 18.0k, False: 2.74k]
  ------------------
 1630|  18.0k|            if (*p != ' ') {
  ------------------
  |  Branch (1630:17): [True: 742, False: 17.2k]
  ------------------
 1631|    742|                assert(*p == '\n' || *p == '\0');
 1632|    742|                break;
 1633|    742|            }
 1634|  18.0k|        }
 1635|   122k|        while (p < pend) {
  ------------------
  |  Branch (1635:16): [True: 122k, False: 363]
  ------------------
 1636|   122k|            int ch = *w++ = *p++;
 1637|   122k|            if (ch == '\n') {
  ------------------
  |  Branch (1637:17): [True: 3.12k, False: 119k]
  ------------------
 1638|  3.12k|                break;
 1639|  3.12k|            }
 1640|   122k|        }
 1641|  3.48k|    }
 1642|       |
 1643|    363|    Py_DECREF(doc);
  ------------------
  |  |  430|    363|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    363|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    363|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1644|    363|    PyObject *res = PyUnicode_FromStringAndSize(buff, w - buff);
 1645|    363|    PyMem_Free(buff);
 1646|    363|    return res;
 1647|    363|}
compile.c:merge_consts_recursive:
  451|  14.8k|{
  452|       |    return const_cache_insert(const_cache, o, true);
  453|  14.8k|}
compile.c:compiler_unit_free:
  188|  2.43k|{
  189|  2.43k|    Py_CLEAR(u->u_instr_sequence);
  ------------------
  |  |  484|  2.43k|    do { \
  |  |  485|  2.43k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  2.43k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  2.43k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  2.43k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  2.43k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2.43k, False: 0]
  |  |  ------------------
  |  |  488|  2.43k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  2.43k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  2.43k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  2.43k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  2.43k|        } \
  |  |  491|  2.43k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2.43k]
  |  |  ------------------
  ------------------
  190|  2.43k|    Py_CLEAR(u->u_stashed_instr_sequence);
  ------------------
  |  |  484|  2.43k|    do { \
  |  |  485|  2.43k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  2.43k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  2.43k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  2.43k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  2.43k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 0, False: 2.43k]
  |  |  ------------------
  |  |  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.43k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2.43k]
  |  |  ------------------
  ------------------
  191|  2.43k|    Py_CLEAR(u->u_ste);
  ------------------
  |  |  484|  2.43k|    do { \
  |  |  485|  2.43k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  2.43k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  2.43k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  2.43k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  2.43k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2.43k, False: 0]
  |  |  ------------------
  |  |  488|  2.43k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  2.43k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  2.43k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  2.43k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  2.43k|        } \
  |  |  491|  2.43k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2.43k]
  |  |  ------------------
  ------------------
  192|  2.43k|    Py_CLEAR(u->u_metadata.u_name);
  ------------------
  |  |  484|  2.43k|    do { \
  |  |  485|  2.43k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  2.43k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  2.43k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  2.43k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  2.43k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2.43k, False: 0]
  |  |  ------------------
  |  |  488|  2.43k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  2.43k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  2.43k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  2.43k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  2.43k|        } \
  |  |  491|  2.43k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2.43k]
  |  |  ------------------
  ------------------
  193|  2.43k|    Py_CLEAR(u->u_metadata.u_qualname);
  ------------------
  |  |  484|  2.43k|    do { \
  |  |  485|  2.43k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  2.43k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  2.43k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  2.43k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  2.43k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2.17k, False: 264]
  |  |  ------------------
  |  |  488|  2.17k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  2.17k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  2.17k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  2.17k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  2.17k|        } \
  |  |  491|  2.43k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2.43k]
  |  |  ------------------
  ------------------
  194|  2.43k|    Py_CLEAR(u->u_metadata.u_consts);
  ------------------
  |  |  484|  2.43k|    do { \
  |  |  485|  2.43k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  2.43k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  2.43k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  2.43k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  2.43k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2.43k, False: 0]
  |  |  ------------------
  |  |  488|  2.43k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  2.43k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  2.43k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  2.43k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  2.43k|        } \
  |  |  491|  2.43k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2.43k]
  |  |  ------------------
  ------------------
  195|  2.43k|    Py_CLEAR(u->u_metadata.u_names);
  ------------------
  |  |  484|  2.43k|    do { \
  |  |  485|  2.43k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  2.43k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  2.43k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  2.43k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  2.43k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2.43k, False: 0]
  |  |  ------------------
  |  |  488|  2.43k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  2.43k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  2.43k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  2.43k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  2.43k|        } \
  |  |  491|  2.43k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2.43k]
  |  |  ------------------
  ------------------
  196|  2.43k|    Py_CLEAR(u->u_metadata.u_varnames);
  ------------------
  |  |  484|  2.43k|    do { \
  |  |  485|  2.43k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  2.43k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  2.43k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  2.43k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  2.43k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2.43k, False: 0]
  |  |  ------------------
  |  |  488|  2.43k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  2.43k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  2.43k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  2.43k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  2.43k|        } \
  |  |  491|  2.43k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2.43k]
  |  |  ------------------
  ------------------
  197|  2.43k|    Py_CLEAR(u->u_metadata.u_freevars);
  ------------------
  |  |  484|  2.43k|    do { \
  |  |  485|  2.43k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  2.43k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  2.43k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  2.43k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  2.43k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2.43k, False: 0]
  |  |  ------------------
  |  |  488|  2.43k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  2.43k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  2.43k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  2.43k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  2.43k|        } \
  |  |  491|  2.43k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2.43k]
  |  |  ------------------
  ------------------
  198|  2.43k|    Py_CLEAR(u->u_metadata.u_cellvars);
  ------------------
  |  |  484|  2.43k|    do { \
  |  |  485|  2.43k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  2.43k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  2.43k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  2.43k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  2.43k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2.43k, False: 0]
  |  |  ------------------
  |  |  488|  2.43k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  2.43k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  2.43k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  2.43k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  2.43k|        } \
  |  |  491|  2.43k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2.43k]
  |  |  ------------------
  ------------------
  199|  2.43k|    Py_CLEAR(u->u_metadata.u_fasthidden);
  ------------------
  |  |  484|  2.43k|    do { \
  |  |  485|  2.43k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  2.43k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  2.43k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  2.43k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  2.43k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2.43k, False: 0]
  |  |  ------------------
  |  |  488|  2.43k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  2.43k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  2.43k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  2.43k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  2.43k|        } \
  |  |  491|  2.43k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2.43k]
  |  |  ------------------
  ------------------
  200|  2.43k|    Py_CLEAR(u->u_private);
  ------------------
  |  |  484|  2.43k|    do { \
  |  |  485|  2.43k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  2.43k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  2.43k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  2.43k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  2.43k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 1.35k, False: 1.08k]
  |  |  ------------------
  |  |  488|  1.35k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  1.35k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  1.35k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  1.35k|        } \
  |  |  491|  2.43k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2.43k]
  |  |  ------------------
  ------------------
  201|  2.43k|    Py_CLEAR(u->u_static_attributes);
  ------------------
  |  |  484|  2.43k|    do { \
  |  |  485|  2.43k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  2.43k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  2.43k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  2.43k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  2.43k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 149, False: 2.29k]
  |  |  ------------------
  |  |  488|    149|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|    149|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|    149|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|    149|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    149|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    149|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|    149|        } \
  |  |  491|  2.43k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2.43k]
  |  |  ------------------
  ------------------
  202|  2.43k|    Py_CLEAR(u->u_deferred_annotations);
  ------------------
  |  |  484|  2.43k|    do { \
  |  |  485|  2.43k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  2.43k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  2.43k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  2.43k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  2.43k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2, False: 2.43k]
  |  |  ------------------
  |  |  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.43k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2.43k]
  |  |  ------------------
  ------------------
  203|       |    Py_CLEAR(u->u_conditional_annotation_indices);
  ------------------
  |  |  484|  2.43k|    do { \
  |  |  485|  2.43k|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  2.43k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  2.43k|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  2.43k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  2.43k|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2, False: 2.43k]
  |  |  ------------------
  |  |  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.43k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 2.43k]
  |  |  ------------------
  ------------------
  204|  2.43k|    PyMem_Free(u);
  205|  2.43k|}
compile.c:list2dict:
  496|  2.43k|{
  497|  2.43k|    Py_ssize_t i, n;
  498|  2.43k|    PyObject *v, *k;
  499|  2.43k|    PyObject *dict = PyDict_New();
  500|  2.43k|    if (!dict) return NULL;
  ------------------
  |  Branch (500:9): [True: 0, False: 2.43k]
  ------------------
  501|       |
  502|  2.43k|    n = PyList_Size(list);
  503|  7.36k|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (503:17): [True: 4.92k, False: 2.43k]
  ------------------
  504|  4.92k|        v = PyLong_FromSsize_t(i);
  505|  4.92k|        if (!v) {
  ------------------
  |  Branch (505:13): [True: 0, False: 4.92k]
  ------------------
  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|  4.92k|        k = PyList_GET_ITEM(list, i);
  ------------------
  |  |   40|  4.92k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|  4.92k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.92k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  510|  4.92k|        if (PyDict_SetItem(dict, k, v) < 0) {
  ------------------
  |  Branch (510:13): [True: 0, False: 4.92k]
  ------------------
  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|  4.92k|        Py_DECREF(v);
  ------------------
  |  |  430|  4.92k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.92k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.92k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  516|  4.92k|    }
  517|  2.43k|    return dict;
  518|  2.43k|}
compile.c:dictbytype:
  530|  4.87k|{
  531|  4.87k|    Py_ssize_t i = offset, num_keys, key_i;
  532|  4.87k|    PyObject *k, *v, *dest = PyDict_New();
  533|  4.87k|    PyObject *sorted_keys;
  534|       |
  535|  4.87k|    assert(offset >= 0);
  536|  4.87k|    if (dest == NULL)
  ------------------
  |  Branch (536:9): [True: 0, False: 4.87k]
  ------------------
  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|  4.87k|    sorted_keys = PyDict_Keys(src);
  545|  4.87k|    if (sorted_keys == NULL) {
  ------------------
  |  Branch (545:9): [True: 0, False: 4.87k]
  ------------------
  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|  4.87k|    if (PyList_Sort(sorted_keys) != 0) {
  ------------------
  |  Branch (549:9): [True: 0, False: 4.87k]
  ------------------
  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|  4.87k|    num_keys = PyList_GET_SIZE(sorted_keys);
  ------------------
  |  |   38|  4.87k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.87k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.87k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  555|       |
  556|  31.6k|    for (key_i = 0; key_i < num_keys; key_i++) {
  ------------------
  |  Branch (556:21): [True: 26.7k, False: 4.87k]
  ------------------
  557|  26.7k|        k = PyList_GET_ITEM(sorted_keys, key_i);
  ------------------
  |  |   40|  26.7k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|  26.7k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  26.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  558|  26.7k|        v = PyDict_GetItemWithError(src, k);
  559|  26.7k|        if (!v) {
  ------------------
  |  Branch (559:13): [True: 0, False: 26.7k]
  ------------------
  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|  26.7k|        long vi = PyLong_AsLong(v);
  568|  26.7k|        if (vi == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (568:13): [True: 0, False: 26.7k]
  |  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|  26.7k|        if (SYMBOL_TO_SCOPE(vi) == scope_type || vi & flag) {
  ------------------
  |  |  185|  26.7k|#define SYMBOL_TO_SCOPE(S) (((S) >> SCOPE_OFFSET) & SCOPE_MASK)
  |  |  ------------------
  |  |  |  |  183|  26.7k|#define SCOPE_OFFSET 12
  |  |  ------------------
  |  |               #define SYMBOL_TO_SCOPE(S) (((S) >> SCOPE_OFFSET) & SCOPE_MASK)
  |  |  ------------------
  |  |  |  |  184|  26.7k|#define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  165|  26.7k|#define DEF_GLOBAL 1             /* global stmt */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  166|  26.7k|#define DEF_LOCAL 2              /* assignment in code block */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  167|  26.7k|#define DEF_PARAM (2<<1)         /* formal parameter */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  168|  26.7k|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (573:13): [True: 778, False: 25.9k]
  |  Branch (573:50): [True: 0, False: 25.9k]
  ------------------
  574|    778|            PyObject *item = PyLong_FromSsize_t(i);
  575|    778|            if (item == NULL) {
  ------------------
  |  Branch (575:17): [True: 0, False: 778]
  ------------------
  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|    778|            i++;
  581|    778|            if (PyDict_SetItem(dest, k, item) < 0) {
  ------------------
  |  Branch (581:17): [True: 0, False: 778]
  ------------------
  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|    778|            Py_DECREF(item);
  ------------------
  |  |  430|    778|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    778|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    778|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  588|    778|        }
  589|  26.7k|    }
  590|  4.87k|    Py_DECREF(sorted_keys);
  ------------------
  |  |  430|  4.87k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.87k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.87k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  591|  4.87k|    return dest;
  592|  4.87k|}
compile.c:compiler_set_qualname:
  237|  2.17k|{
  238|  2.17k|    Py_ssize_t stack_size;
  239|  2.17k|    struct compiler_unit *u = c->u;
  240|  2.17k|    PyObject *name, *base;
  241|       |
  242|  2.17k|    base = NULL;
  243|  2.17k|    stack_size = PyList_GET_SIZE(c->c_stack);
  ------------------
  |  |   38|  2.17k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.17k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.17k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  244|  2.17k|    assert(stack_size >= 1);
  245|  2.17k|    if (stack_size > 1) {
  ------------------
  |  Branch (245:9): [True: 1.59k, False: 578]
  ------------------
  246|  1.59k|        int scope, force_global = 0;
  247|  1.59k|        struct compiler_unit *parent;
  248|  1.59k|        PyObject *mangled, *capsule;
  249|       |
  250|  1.59k|        capsule = PyList_GET_ITEM(c->c_stack, stack_size - 1);
  ------------------
  |  |   40|  1.59k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|  1.59k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.59k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  251|  1.59k|        parent = (struct compiler_unit *)PyCapsule_GetPointer(capsule, CAPSULE_NAME);
  ------------------
  |  |  207|  1.59k|#define CAPSULE_NAME "compile.c compiler unit"
  ------------------
  252|  1.59k|        assert(parent);
  253|  1.59k|        if (parent->u_scope_type == COMPILE_SCOPE_ANNOTATIONS) {
  ------------------
  |  Branch (253:13): [True: 0, False: 1.59k]
  ------------------
  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|  1.59k|        if (u->u_scope_type == COMPILE_SCOPE_FUNCTION
  ------------------
  |  Branch (267:13): [True: 1.39k, False: 207]
  ------------------
  268|    207|            || u->u_scope_type == COMPILE_SCOPE_ASYNC_FUNCTION
  ------------------
  |  Branch (268:16): [True: 122, False: 85]
  ------------------
  269|  1.51k|            || u->u_scope_type == COMPILE_SCOPE_CLASS) {
  ------------------
  |  Branch (269:16): [True: 1, False: 84]
  ------------------
  270|  1.51k|            assert(u->u_metadata.u_name);
  271|  1.51k|            mangled = _Py_Mangle(parent->u_private, u->u_metadata.u_name);
  272|  1.51k|            if (!mangled) {
  ------------------
  |  Branch (272:17): [True: 0, False: 1.51k]
  ------------------
  273|      0|                return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  274|      0|            }
  275|       |
  276|  1.51k|            scope = _PyST_GetScope(parent->u_ste, mangled);
  277|  1.51k|            Py_DECREF(mangled);
  ------------------
  |  |  430|  1.51k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.51k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.51k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  278|  1.51k|            RETURN_IF_ERROR(scope);
  ------------------
  |  |   40|  1.51k|    do {                    \
  |  |   41|  1.51k|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (41:13): [True: 0, False: 1.51k]
  |  |  ------------------
  |  |   42|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   37|      0|#define ERROR -1
  |  |  ------------------
  |  |   43|      0|        }                   \
  |  |   44|  1.51k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (44:14): [Folded, False: 1.51k]
  |  |  ------------------
  ------------------
  279|  1.51k|            assert(scope != GLOBAL_IMPLICIT);
  280|  1.51k|            if (scope == GLOBAL_EXPLICIT)
  ------------------
  |  |  188|  1.51k|#define GLOBAL_EXPLICIT 2
  ------------------
  |  Branch (280:17): [True: 0, False: 1.51k]
  ------------------
  281|      0|                force_global = 1;
  282|  1.51k|        }
  283|       |
  284|  1.59k|        if (!force_global) {
  ------------------
  |  Branch (284:13): [True: 1.59k, False: 0]
  ------------------
  285|  1.59k|            if (parent->u_scope_type == COMPILE_SCOPE_FUNCTION
  ------------------
  |  Branch (285:17): [True: 413, False: 1.18k]
  ------------------
  286|  1.18k|                || parent->u_scope_type == COMPILE_SCOPE_ASYNC_FUNCTION
  ------------------
  |  Branch (286:20): [True: 24, False: 1.16k]
  ------------------
  287|  1.16k|                || parent->u_scope_type == COMPILE_SCOPE_LAMBDA)
  ------------------
  |  Branch (287:20): [True: 0, False: 1.16k]
  ------------------
  288|    437|            {
  289|    437|                _Py_DECLARE_STR(dot_locals, ".<locals>");
  290|    437|                base = PyUnicode_Concat(parent->u_metadata.u_qualname,
  291|    437|                                        &_Py_STR(dot_locals));
  ------------------
  |  |  917|    437|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    437|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    437|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  292|    437|                if (base == NULL) {
  ------------------
  |  Branch (292:21): [True: 0, False: 437]
  ------------------
  293|      0|                    return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  294|      0|                }
  295|    437|            }
  296|  1.16k|            else {
  297|  1.16k|                base = Py_NewRef(parent->u_metadata.u_qualname);
  ------------------
  |  |  550|  1.16k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.16k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.16k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  298|  1.16k|            }
  299|  1.59k|        }
  300|  1.59k|        if (u->u_ste->ste_function_name != NULL) {
  ------------------
  |  Branch (300:13): [True: 17, False: 1.58k]
  ------------------
  301|     17|            PyObject *tmp = base;
  302|     17|            base = PyUnicode_FromFormat("%U.%U",
  303|     17|                base,
  304|     17|                u->u_ste->ste_function_name);
  305|     17|            Py_DECREF(tmp);
  ------------------
  |  |  430|     17|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     17|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     17|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  306|     17|            if (base == NULL) {
  ------------------
  |  Branch (306:17): [True: 0, False: 17]
  ------------------
  307|      0|                return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  308|      0|            }
  309|     17|        }
  310|  1.59k|    }
  311|    578|    else if (u->u_ste->ste_function_name != NULL) {
  ------------------
  |  Branch (311:14): [True: 13, False: 565]
  ------------------
  312|     13|        base = Py_NewRef(u->u_ste->ste_function_name);
  ------------------
  |  |  550|     13|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     13|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     13|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  313|     13|    }
  314|       |
  315|  2.17k|    if (base != NULL) {
  ------------------
  |  Branch (315:9): [True: 1.61k, False: 565]
  ------------------
  316|  1.61k|        name = PyUnicode_Concat(base, _Py_LATIN1_CHR('.'));
  ------------------
  |  |  919|  1.61k|    ((CH) < 128 \
  |  |  ------------------
  |  |  |  Branch (919:6): [True: 1.61k, Folded]
  |  |  ------------------
  |  |  920|  1.61k|     ? (PyObject*)&_Py_SINGLETON(strings).ascii[(CH)] \
  |  |  ------------------
  |  |  |  |   18|  1.61k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.61k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  921|  1.61k|     : (PyObject*)&_Py_SINGLETON(strings).latin1[(CH) - 128])
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  317|  1.61k|        Py_DECREF(base);
  ------------------
  |  |  430|  1.61k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.61k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.61k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  318|  1.61k|        if (name == NULL) {
  ------------------
  |  Branch (318:13): [True: 0, False: 1.61k]
  ------------------
  319|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  320|      0|        }
  321|  1.61k|        PyUnicode_Append(&name, u->u_metadata.u_name);
  322|  1.61k|        if (name == NULL) {
  ------------------
  |  Branch (322:13): [True: 0, False: 1.61k]
  ------------------
  323|      0|            return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  324|      0|        }
  325|  1.61k|    }
  326|    565|    else {
  327|    565|        name = Py_NewRef(u->u_metadata.u_name);
  ------------------
  |  |  550|    565|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    565|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    565|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  328|    565|    }
  329|  2.17k|    u->u_metadata.u_qualname = name;
  330|       |
  331|  2.17k|    return SUCCESS;
  ------------------
  |  |   36|  2.17k|#define SUCCESS 0
  ------------------
  332|  2.17k|}
compile.c:dict_lookup_arg:
  933|    628|{
  934|    628|    PyObject *v = PyDict_GetItemWithError(dict, name);
  935|    628|    if (v == NULL) {
  ------------------
  |  Branch (935:9): [True: 0, False: 628]
  ------------------
  936|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  937|      0|    }
  938|    628|    return PyLong_AsLong(v);
  939|    628|}
compile.c:const_cache_insert:
  339|  31.0k|{
  340|  31.0k|    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|  31.0k|    if (o == Py_None || o == Py_Ellipsis) {
  ------------------
  |  |  616|  62.0k|#  define Py_None (&_Py_NoneStruct)
  ------------------
                  if (o == Py_None || o == Py_Ellipsis) {
  ------------------
  |  |   14|  25.7k|#  define Py_Ellipsis (&_Py_EllipsisObject)
  ------------------
  |  Branch (343:9): [True: 5.31k, False: 25.7k]
  |  Branch (343:25): [True: 2, False: 25.7k]
  ------------------
  344|  5.31k|        return o;
  345|  5.31k|    }
  346|       |
  347|  25.7k|    PyObject *key = _PyCode_ConstantKey(o);
  348|  25.7k|    if (key == NULL) {
  ------------------
  |  Branch (348:9): [True: 0, False: 25.7k]
  ------------------
  349|      0|        return NULL;
  350|      0|    }
  351|       |
  352|  25.7k|    PyObject *t;
  353|  25.7k|    int res = PyDict_SetDefaultRef(const_cache, key, key, &t);
  354|  25.7k|    if (res != 0) {
  ------------------
  |  Branch (354:9): [True: 7.92k, False: 17.7k]
  ------------------
  355|       |        // o was not inserted into const_cache. t is either the existing value
  356|       |        // or NULL (on error).
  357|  7.92k|        Py_DECREF(key);
  ------------------
  |  |  430|  7.92k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.92k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.92k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  358|  7.92k|        return t;
  359|  7.92k|    }
  360|  17.7k|    Py_DECREF(t);
  ------------------
  |  |  430|  17.7k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  17.7k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  17.7k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  361|       |
  362|  17.7k|    if (!recursive) {
  ------------------
  |  Branch (362:9): [True: 10.8k, False: 6.97k]
  ------------------
  363|  10.8k|        return key;
  364|  10.8k|    }
  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|  6.97k|    if (PyTuple_CheckExact(o)) {
  ------------------
  |  |   28|  6.97k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  6.97k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.97k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.97k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 516, False: 6.46k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  370|    516|        Py_ssize_t len = PyTuple_GET_SIZE(o);
  ------------------
  |  |   27|    516|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    516|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    516|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  371|  1.66k|        for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (371:32): [True: 1.14k, False: 516]
  ------------------
  372|  1.14k|            PyObject *item = PyTuple_GET_ITEM(o, i);
  ------------------
  |  |   29|  1.14k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  1.14k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.14k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  373|  1.14k|            PyObject *u = const_cache_insert(const_cache, item, recursive);
  374|  1.14k|            if (u == NULL) {
  ------------------
  |  Branch (374:17): [True: 0, False: 1.14k]
  ------------------
  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|  1.14k|            PyObject *v;  // borrowed
  381|  1.14k|            if (PyTuple_CheckExact(u)) {
  ------------------
  |  |   28|  1.14k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  1.14k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.14k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.14k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 1.14k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  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|  1.14k|            else {
  385|  1.14k|                v = u;
  386|  1.14k|            }
  387|  1.14k|            if (v != item) {
  ------------------
  |  Branch (387:17): [True: 106, False: 1.04k]
  ------------------
  388|    106|                PyTuple_SET_ITEM(o, i, Py_NewRef(v));
  ------------------
  |  |   40|    106|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    106|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    106|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    106|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    106|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  389|    106|                Py_DECREF(item);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  390|    106|            }
  391|       |
  392|  1.14k|            Py_DECREF(u);
  ------------------
  |  |  430|  1.14k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.14k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.14k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  393|  1.14k|        }
  394|    516|    }
  395|  6.46k|    else if (PyFrozenSet_CheckExact(o)) {
  ------------------
  |  |   23|  6.46k|#define PyFrozenSet_CheckExact(ob) Py_IS_TYPE((ob), &PyFrozenSet_Type)
  |  |  ------------------
  |  |  |  |  215|  6.46k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.46k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 6.46k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  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|  6.97k|    return key;
  447|  6.97k|}
compile.c:compute_code_flags:
 1425|  2.43k|{
 1426|  2.43k|    PySTEntryObject *ste = c->u->u_ste;
 1427|  2.43k|    int flags = 0;
 1428|  2.43k|    if (_PyST_IsFunctionLike(ste)) {
  ------------------
  |  Branch (1428:9): [True: 2.02k, False: 413]
  ------------------
 1429|  2.02k|        flags |= CO_NEWLOCALS | CO_OPTIMIZED;
  ------------------
  |  |  119|  2.02k|#define CO_NEWLOCALS    0x0002
  ------------------
                      flags |= CO_NEWLOCALS | CO_OPTIMIZED;
  ------------------
  |  |  118|  2.02k|#define CO_OPTIMIZED    0x0001
  ------------------
 1430|  2.02k|        if (ste->ste_nested)
  ------------------
  |  Branch (1430:13): [True: 438, False: 1.58k]
  ------------------
 1431|    438|            flags |= CO_NESTED;
  ------------------
  |  |  122|    438|#define CO_NESTED       0x0010
  ------------------
 1432|  2.02k|        if (ste->ste_generator && !ste->ste_coroutine)
  ------------------
  |  Branch (1432:13): [True: 74, False: 1.95k]
  |  Branch (1432:35): [True: 74, False: 0]
  ------------------
 1433|     74|            flags |= CO_GENERATOR;
  ------------------
  |  |  123|     74|#define CO_GENERATOR    0x0020
  ------------------
 1434|  2.02k|        if (ste->ste_generator && ste->ste_coroutine)
  ------------------
  |  Branch (1434:13): [True: 74, False: 1.95k]
  |  Branch (1434:35): [True: 0, False: 74]
  ------------------
 1435|      0|            flags |= CO_ASYNC_GENERATOR;
  ------------------
  |  |  129|      0|#define CO_ASYNC_GENERATOR      0x0200
  ------------------
 1436|  2.02k|        if (ste->ste_varargs)
  ------------------
  |  Branch (1436:13): [True: 105, False: 1.92k]
  ------------------
 1437|    105|            flags |= CO_VARARGS;
  ------------------
  |  |  120|    105|#define CO_VARARGS      0x0004
  ------------------
 1438|  2.02k|        if (ste->ste_varkeywords)
  ------------------
  |  Branch (1438:13): [True: 99, False: 1.92k]
  ------------------
 1439|     99|            flags |= CO_VARKEYWORDS;
  ------------------
  |  |  121|     99|#define CO_VARKEYWORDS  0x0008
  ------------------
 1440|  2.02k|        if (ste->ste_has_docstring)
  ------------------
  |  Branch (1440:13): [True: 496, False: 1.53k]
  ------------------
 1441|    496|            flags |= CO_HAS_DOCSTRING;
  ------------------
  |  |  150|    496|#define CO_HAS_DOCSTRING 0x4000000
  ------------------
 1442|  2.02k|        if (ste->ste_method)
  ------------------
  |  Branch (1442:13): [True: 1.14k, False: 884]
  ------------------
 1443|  1.14k|            flags |= CO_METHOD;
  ------------------
  |  |  153|  1.14k|#define CO_METHOD  0x8000000
  ------------------
 1444|  2.02k|    }
 1445|       |
 1446|  2.43k|    if (ste->ste_coroutine && !ste->ste_generator) {
  ------------------
  |  Branch (1446:9): [True: 135, False: 2.30k]
  |  Branch (1446:31): [True: 135, False: 0]
  ------------------
 1447|    135|        flags |= CO_COROUTINE;
  ------------------
  |  |  127|    135|#define CO_COROUTINE            0x0080
  ------------------
 1448|    135|    }
 1449|       |
 1450|       |    /* (Only) inherit compilerflags in PyCF_MASK */
 1451|  2.43k|    flags |= (c->c_flags.cf_flags & PyCF_MASK);
  ------------------
  |  |    6|  2.43k|#define PyCF_MASK (CO_FUTURE_DIVISION | CO_FUTURE_ABSOLUTE_IMPORT | \
  |  |  ------------------
  |  |  |  |  135|  2.43k|#define CO_FUTURE_DIVISION      0x20000
  |  |  ------------------
  |  |               #define PyCF_MASK (CO_FUTURE_DIVISION | CO_FUTURE_ABSOLUTE_IMPORT | \
  |  |  ------------------
  |  |  |  |  136|  2.43k|#define CO_FUTURE_ABSOLUTE_IMPORT 0x40000 /* do absolute imports by default */
  |  |  ------------------
  |  |    7|  2.43k|                   CO_FUTURE_WITH_STATEMENT | CO_FUTURE_PRINT_FUNCTION | \
  |  |  ------------------
  |  |  |  |  137|  2.43k|#define CO_FUTURE_WITH_STATEMENT  0x80000
  |  |  ------------------
  |  |                                  CO_FUTURE_WITH_STATEMENT | CO_FUTURE_PRINT_FUNCTION | \
  |  |  ------------------
  |  |  |  |  138|  2.43k|#define CO_FUTURE_PRINT_FUNCTION  0x100000
  |  |  ------------------
  |  |    8|  2.43k|                   CO_FUTURE_UNICODE_LITERALS | CO_FUTURE_BARRY_AS_BDFL | \
  |  |  ------------------
  |  |  |  |  139|  2.43k|#define CO_FUTURE_UNICODE_LITERALS 0x200000
  |  |  ------------------
  |  |                                  CO_FUTURE_UNICODE_LITERALS | CO_FUTURE_BARRY_AS_BDFL | \
  |  |  ------------------
  |  |  |  |  141|  2.43k|#define CO_FUTURE_BARRY_AS_BDFL  0x400000
  |  |  ------------------
  |  |    9|  2.43k|                   CO_FUTURE_GENERATOR_STOP | CO_FUTURE_ANNOTATIONS)
  |  |  ------------------
  |  |  |  |  142|  2.43k|#define CO_FUTURE_GENERATOR_STOP  0x800000
  |  |  ------------------
  |  |                                  CO_FUTURE_GENERATOR_STOP | CO_FUTURE_ANNOTATIONS)
  |  |  ------------------
  |  |  |  |  143|  2.43k|#define CO_FUTURE_ANNOTATIONS    0x1000000
  |  |  ------------------
  ------------------
 1452|       |
 1453|  2.43k|    return flags;
 1454|  2.43k|}
compile.c:optimize_and_assemble_code_unit:
 1459|  2.43k|{
 1460|  2.43k|    cfg_builder *g = NULL;
 1461|  2.43k|    instr_sequence optimized_instrs;
 1462|  2.43k|    memset(&optimized_instrs, 0, sizeof(instr_sequence));
 1463|       |
 1464|  2.43k|    PyCodeObject *co = NULL;
 1465|  2.43k|    PyObject *consts = consts_dict_keys_inorder(u->u_metadata.u_consts);
 1466|  2.43k|    if (consts == NULL) {
  ------------------
  |  Branch (1466:9): [True: 0, False: 2.43k]
  ------------------
 1467|      0|        goto error;
 1468|      0|    }
 1469|  2.43k|    g = _PyCfg_FromInstructionSequence(u->u_instr_sequence);
 1470|  2.43k|    if (g == NULL) {
  ------------------
  |  Branch (1470:9): [True: 0, False: 2.43k]
  ------------------
 1471|      0|        goto error;
 1472|      0|    }
 1473|  2.43k|    int nlocals = (int)PyDict_GET_SIZE(u->u_metadata.u_varnames);
  ------------------
  |  |   63|  2.43k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1474|  2.43k|    int nparams = (int)PyList_GET_SIZE(u->u_ste->ste_varnames);
  ------------------
  |  |   38|  2.43k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1475|  2.43k|    assert(u->u_metadata.u_firstlineno);
 1476|       |
 1477|  2.43k|    if (_PyCfg_OptimizeCodeUnit(g, consts, const_cache, nlocals,
  ------------------
  |  Branch (1477:9): [True: 0, False: 2.43k]
  ------------------
 1478|  2.43k|                                nparams, u->u_metadata.u_firstlineno) < 0) {
 1479|      0|        goto error;
 1480|      0|    }
 1481|       |
 1482|  2.43k|    int stackdepth;
 1483|  2.43k|    int nlocalsplus;
 1484|  2.43k|    if (_PyCfg_OptimizedCfgToInstructionSequence(g, &u->u_metadata,
  ------------------
  |  Branch (1484:9): [True: 0, False: 2.43k]
  ------------------
 1485|  2.43k|                                                 &stackdepth, &nlocalsplus,
 1486|  2.43k|                                                 &optimized_instrs) < 0) {
 1487|      0|        goto error;
 1488|      0|    }
 1489|       |
 1490|       |    /** Assembly **/
 1491|  2.43k|    co = _PyAssemble_MakeCodeObject(&u->u_metadata, const_cache, consts,
 1492|  2.43k|                                    stackdepth, &optimized_instrs, nlocalsplus,
 1493|  2.43k|                                    code_flags, filename);
 1494|       |
 1495|  2.43k|error:
 1496|  2.43k|    Py_XDECREF(consts);
  ------------------
  |  |  524|  2.43k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1497|  2.43k|    PyInstructionSequence_Fini(&optimized_instrs);
 1498|  2.43k|    _PyCfgBuilder_Free(g);
 1499|  2.43k|    return co;
 1500|  2.43k|}
compile.c:new_compiler:
  174|    264|{
  175|    264|    compiler *c = PyMem_Calloc(1, sizeof(compiler));
  176|    264|    if (c == NULL) {
  ------------------
  |  Branch (176:9): [True: 0, False: 264]
  ------------------
  177|      0|        return NULL;
  178|      0|    }
  179|    264|    if (compiler_setup(c, mod, filename, pflags, optimize, arena, module) < 0) {
  ------------------
  |  Branch (179:9): [True: 0, False: 264]
  ------------------
  180|      0|        compiler_free(c);
  181|      0|        return NULL;
  182|      0|    }
  183|    264|    return c;
  184|    264|}
compile.c:compiler_setup:
  115|    264|{
  116|    264|    PyCompilerFlags local_flags = _PyCompilerFlags_INIT;
  ------------------
  |  |   33|    264|    (PyCompilerFlags){.cf_flags = 0, .cf_feature_version = PY_MINOR_VERSION}
  |  |  ------------------
  |  |  |  |   24|    264|#define PY_MINOR_VERSION        16
  |  |  ------------------
  ------------------
  117|       |
  118|    264|    c->c_const_cache = PyDict_New();
  119|    264|    if (!c->c_const_cache) {
  ------------------
  |  Branch (119:9): [True: 0, False: 264]
  ------------------
  120|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  121|      0|    }
  122|       |
  123|    264|    c->c_stack = PyList_New(0);
  124|    264|    if (!c->c_stack) {
  ------------------
  |  Branch (124:9): [True: 0, False: 264]
  ------------------
  125|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  126|      0|    }
  127|       |
  128|    264|    c->c_filename = Py_NewRef(filename);
  ------------------
  |  |  550|    264|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    264|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    264|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  129|    264|    if (!_PyFuture_FromAST(mod, filename, &c->c_future)) {
  ------------------
  |  Branch (129:9): [True: 0, False: 264]
  ------------------
  130|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  131|      0|    }
  132|    264|    c->c_module = Py_XNewRef(module);
  ------------------
  |  |  551|    264|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    264|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    264|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  133|    264|    if (!flags) {
  ------------------
  |  Branch (133:9): [True: 6, False: 258]
  ------------------
  134|      6|        flags = &local_flags;
  135|      6|    }
  136|    264|    int merged = c->c_future.ff_features | flags->cf_flags;
  137|    264|    c->c_future.ff_features = merged;
  138|    264|    flags->cf_flags = merged;
  139|    264|    c->c_flags = *flags;
  140|    264|    c->c_optimize = (optimize == -1) ? _Py_GetConfig()->optimization_level : optimize;
  ------------------
  |  Branch (140:21): [True: 264, False: 0]
  ------------------
  141|    264|    c->c_save_nested_seqs = false;
  142|       |
  143|    264|    if (!_PyAST_Preprocess(mod, arena, filename, c->c_optimize, merged,
  ------------------
  |  Branch (143:9): [True: 0, False: 264]
  ------------------
  144|    264|                           0, 1, module))
  145|      0|    {
  146|      0|        return ERROR;
  ------------------
  |  |   37|      0|#define ERROR -1
  ------------------
  147|      0|    }
  148|    264|    c->c_st = _PySymtable_Build(mod, filename, &c->c_future);
  149|    264|    if (c->c_st == NULL) {
  ------------------
  |  Branch (149:9): [True: 0, False: 264]
  ------------------
  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|    264|    return SUCCESS;
  ------------------
  |  |   36|    264|#define SUCCESS 0
  ------------------
  156|    264|}
compile.c:compiler_mod:
  893|    264|{
  894|    264|    PyCodeObject *co = NULL;
  895|    264|    int addNone = mod->kind != Expression_kind;
  896|    264|    if (compiler_codegen(c, mod) < 0) {
  ------------------
  |  Branch (896:9): [True: 0, False: 264]
  ------------------
  897|      0|        goto finally;
  898|      0|    }
  899|    264|    co = _PyCompile_OptimizeAndAssemble(c, addNone);
  900|    264|finally:
  901|    264|    _PyCompile_ExitScope(c);
  902|    264|    return co;
  903|    264|}
compile.c:compiler_free:
  160|    264|{
  161|    264|    if (c->c_st) {
  ------------------
  |  Branch (161:9): [True: 264, False: 0]
  ------------------
  162|    264|        _PySymtable_Free(c->c_st);
  163|    264|    }
  164|    264|    Py_XDECREF(c->c_filename);
  ------------------
  |  |  524|    264|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    264|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    264|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  165|    264|    Py_XDECREF(c->c_module);
  ------------------
  |  |  524|    264|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    264|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    264|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  166|    264|    Py_XDECREF(c->c_const_cache);
  ------------------
  |  |  524|    264|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    264|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    264|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  167|    264|    Py_XDECREF(c->c_stack);
  ------------------
  |  |  524|    264|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    264|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    264|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  168|    264|    PyMem_Free(c);
  169|    264|}
compile.c:compiler_codegen:
  863|    264|{
  864|    264|    RETURN_IF_ERROR(_PyCodegen_EnterAnonymousScope(c, mod));
  ------------------
  |  |   40|    264|    do {                    \
  |  |   41|    264|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (41:13): [True: 0, False: 264]
  |  |  ------------------
  |  |   42|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   37|      0|#define ERROR -1
  |  |  ------------------
  |  |   43|      0|        }                   \
  |  |   44|    264|    } while (0)
  |  |  ------------------
  |  |  |  Branch (44:14): [Folded, False: 264]
  |  |  ------------------
  ------------------
  865|    264|    assert(c->u->u_scope_type == COMPILE_SCOPE_MODULE);
  866|    264|    switch (mod->kind) {
  867|    186|    case Module_kind: {
  ------------------
  |  Branch (867:5): [True: 186, False: 78]
  ------------------
  868|    186|        asdl_stmt_seq *stmts = mod->v.Module.body;
  869|    186|        RETURN_IF_ERROR(_PyCodegen_Module(c, start_location(stmts), stmts, false));
  ------------------
  |  |   40|    186|    do {                    \
  |  |   41|    186|        if ((X) == -1) {    \
  |  |  ------------------
  |  |  |  Branch (41:13): [True: 0, False: 186]
  |  |  ------------------
  |  |   42|      0|            return ERROR;   \
  |  |  ------------------
  |  |  |  |   37|      0|#define ERROR -1
  |  |  ------------------
  |  |   43|      0|        }                   \
  |  |   44|    186|    } while (0)
  |  |  ------------------
  |  |  |  Branch (44:14): [Folded, False: 186]
  |  |  ------------------
  ------------------
  870|    186|        break;
  871|    186|    }
  872|    186|    case Interactive_kind: {
  ------------------
  |  Branch (872:5): [True: 0, False: 264]
  ------------------
  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: 186]
  ------------------
  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: 264]
  ------------------
  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|    264|    return SUCCESS;
  ------------------
  |  |   36|    264|#define SUCCESS 0
  ------------------
  889|    264|}
compile.c:start_location:
  848|    186|{
  849|    186|    if (asdl_seq_LEN(stmts) > 0) {
  ------------------
  |  |   83|    186|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    372|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 1, False: 185]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (849:9): [True: 185, False: 1]
  ------------------
  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|    185|        stmt_ty st = (stmt_ty)asdl_seq_GET(stmts, 0);
  ------------------
  |  |   82|    185|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    185|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  856|    185|        return SRC_LOCATION_FROM_AST(st);
  ------------------
  |  |   54|    185|    (_Py_SourceLocation){ \
  |  |   55|    185|               .lineno = (n)->lineno, \
  |  |   56|    185|               .end_lineno = (n)->end_lineno, \
  |  |   57|    185|               .col_offset = (n)->col_offset, \
  |  |   58|    185|               .end_col_offset = (n)->end_col_offset }
  ------------------
  857|    185|    }
  858|      1|    return (const _Py_SourceLocation){1, 1, 0, 0};
  859|    186|}
compile.c:consts_dict_keys_inorder:
 1400|  2.43k|{
 1401|  2.43k|    PyObject *consts, *k, *v;
 1402|  2.43k|    Py_ssize_t i, pos = 0, size = PyDict_GET_SIZE(dict);
  ------------------
  |  |   63|  2.43k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1403|       |
 1404|  2.43k|    consts = PyList_New(size);   /* PyCode_Optimize() requires a list */
 1405|  2.43k|    if (consts == NULL)
  ------------------
  |  Branch (1405:9): [True: 0, False: 2.43k]
  ------------------
 1406|      0|        return NULL;
 1407|  12.9k|    while (PyDict_Next(dict, &pos, &k, &v)) {
  ------------------
  |  Branch (1407:12): [True: 10.4k, False: 2.43k]
  ------------------
 1408|  10.4k|        assert(PyLong_CheckExact(v));
 1409|  10.4k|        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|  10.4k|        if (PyTuple_CheckExact(k)) {
  ------------------
  |  |   28|  10.4k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  10.4k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  10.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  10.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.13k, False: 9.34k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1414|  1.13k|            k = PyTuple_GET_ITEM(k, 1);
  ------------------
  |  |   29|  1.13k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  1.13k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1415|  1.13k|        }
 1416|  10.4k|        assert(i < size);
 1417|  10.4k|        assert(i >= 0);
 1418|  10.4k|        PyList_SET_ITEM(consts, i, Py_NewRef(k));
  ------------------
  |  |   50|  10.4k|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  10.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  10.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1419|  10.4k|    }
 1420|  2.43k|    return consts;
 1421|  2.43k|}

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|}
PyContextVar_Get:
  280|  4.30k|{
  281|  4.30k|    ENSURE_ContextVar(ovar, -1)
  ------------------
  |  |   29|  4.30k|    if (!PyContextVar_CheckExact(o)) {                              \
  |  |  ------------------
  |  |  |  |   19|  4.30k|#define PyContextVar_CheckExact(o) Py_IS_TYPE((o), &PyContextVar_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|  4.30k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (29:9): [True: 0, False: 4.30k]
  |  |  ------------------
  |  |   30|      0|        PyErr_SetString(PyExc_TypeError,                            \
  |  |   31|      0|                       "an instance of ContextVar was expected");   \
  |  |   32|      0|        return err_ret;                                             \
  |  |   33|      0|    }
  ------------------
  282|  4.30k|    PyContextVar *var = (PyContextVar *)ovar;
  283|       |
  284|  4.30k|    PyThreadState *ts = _PyThreadState_GET();
  285|  4.30k|    assert(ts != NULL);
  286|  4.30k|    if (ts->context == NULL) {
  ------------------
  |  Branch (286:9): [True: 4.30k, False: 0]
  ------------------
  287|  4.30k|        goto not_found;
  288|  4.30k|    }
  289|       |
  290|      0|#ifndef Py_GIL_DISABLED
  291|      0|    if (var->var_cached != NULL &&
  ------------------
  |  Branch (291:9): [True: 0, False: 0]
  ------------------
  292|      0|            var->var_cached_tsid == ts->id &&
  ------------------
  |  Branch (292:13): [True: 0, False: 0]
  ------------------
  293|      0|            var->var_cached_tsver == ts->context_ver)
  ------------------
  |  Branch (293:13): [True: 0, False: 0]
  ------------------
  294|      0|    {
  295|      0|        *val = var->var_cached;
  296|      0|        goto found;
  297|      0|    }
  298|      0|#endif
  299|       |
  300|      0|    assert(PyContext_CheckExact(ts->context));
  301|      0|    PyHamtObject *vars = ((PyContext *)ts->context)->ctx_vars;
  302|       |
  303|      0|    PyObject *found = NULL;
  304|      0|    int res = _PyHamt_Find(vars, (PyObject*)var, &found);
  305|      0|    if (res < 0) {
  ------------------
  |  Branch (305:9): [True: 0, False: 0]
  ------------------
  306|      0|        goto error;
  307|      0|    }
  308|      0|    if (res == 1) {
  ------------------
  |  Branch (308:9): [True: 0, False: 0]
  ------------------
  309|      0|        assert(found != NULL);
  310|      0|#ifndef Py_GIL_DISABLED
  311|      0|        var->var_cached = found;  /* borrow */
  312|      0|        var->var_cached_tsid = ts->id;
  313|      0|        var->var_cached_tsver = ts->context_ver;
  314|      0|#endif
  315|       |
  316|      0|        *val = found;
  317|      0|        goto found;
  318|      0|    }
  319|       |
  320|  4.30k|not_found:
  321|  4.30k|    if (def == NULL) {
  ------------------
  |  Branch (321:9): [True: 4.30k, False: 0]
  ------------------
  322|  4.30k|        if (var->var_default != NULL) {
  ------------------
  |  Branch (322:13): [True: 0, False: 4.30k]
  ------------------
  323|      0|            *val = var->var_default;
  324|      0|            goto found;
  325|      0|        }
  326|       |
  327|  4.30k|        *val = NULL;
  328|  4.30k|        goto found;
  329|  4.30k|    }
  330|      0|    else {
  331|      0|        *val = def;
  332|      0|        goto found;
  333|      0|   }
  334|       |
  335|  4.30k|found:
  336|  4.30k|    Py_XINCREF(*val);
  ------------------
  |  |  514|  4.30k|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  337|  4.30k|    return 0;
  338|       |
  339|      0|error:
  340|       |    *val = NULL;
  341|      0|    return -1;
  342|  4.30k|}
_PyContext_Init:
 1355|      2|{
 1356|      2|    PyObject *missing = get_token_missing();
 1357|      2|    assert(PyUnstable_IsImmortal(missing));
 1358|      2|    if (PyDict_SetItemString(
  ------------------
  |  Branch (1358:9): [True: 0, False: 2]
  ------------------
 1359|      2|        _PyType_GetDict(&PyContextToken_Type), "MISSING", missing))
 1360|      0|    {
 1361|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1362|      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)}
  ------------------
 1363|      0|    }
 1364|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1365|       |
 1366|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 1367|      2|}
context.c:contextvar_new:
  868|      8|{
  869|      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 (869:9): [True: 0, False: 8]
  ------------------
  870|      0|        PyErr_SetString(PyExc_TypeError,
  871|      0|                        "context variable name must be a str");
  872|      0|        return NULL;
  873|      0|    }
  874|       |
  875|      8|    PyContextVar *var = PyObject_GC_New(PyContextVar, &PyContextVar_Type);
  ------------------
  |  |  181|      8|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  876|      8|    if (var == NULL) {
  ------------------
  |  Branch (876:9): [True: 0, False: 8]
  ------------------
  877|      0|        return NULL;
  878|      0|    }
  879|       |
  880|      8|    var->var_name = Py_NewRef(name);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  881|      8|    var->var_default = Py_XNewRef(def);
  ------------------
  |  |  551|      8|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|      8|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      8|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  882|       |
  883|      8|#ifndef Py_GIL_DISABLED
  884|      8|    var->var_cached = NULL;
  885|      8|    var->var_cached_tsid = 0;
  886|      8|    var->var_cached_tsver = 0;
  887|      8|#endif
  888|       |
  889|      8|    var->var_hash = contextvar_generate_hash(var, name);
  890|      8|    if (var->var_hash == -1) {
  ------------------
  |  Branch (890:9): [True: 0, False: 8]
  ------------------
  891|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  892|      0|        return NULL;
  893|      0|    }
  894|       |
  895|      8|    if (_PyObject_GC_MAY_BE_TRACKED(name) ||
  ------------------
  |  Branch (895:9): [True: 0, False: 8]
  ------------------
  896|      8|            (def != NULL && _PyObject_GC_MAY_BE_TRACKED(def)))
  ------------------
  |  Branch (896:14): [True: 0, False: 8]
  |  Branch (896:29): [True: 0, False: 0]
  ------------------
  897|      0|    {
  898|      0|        PyObject_GC_Track(var);
  899|      0|    }
  900|      8|    return var;
  901|      8|}
context.c:contextvar_generate_hash:
  840|      8|{
  841|       |    /* Take hash of `name` and XOR it with the object's addr.
  842|       |
  843|       |       The structure of the tree is encoded in objects' hashes, which
  844|       |       means that sufficiently similar hashes would result in tall trees
  845|       |       with many Collision nodes.  Which would, in turn, result in slower
  846|       |       get and set operations.
  847|       |
  848|       |       The XORing helps to ensure that:
  849|       |
  850|       |       (1) sequentially allocated ContextVar objects have
  851|       |           different hashes;
  852|       |
  853|       |       (2) context variables with equal names have
  854|       |           different hashes.
  855|       |    */
  856|       |
  857|      8|    Py_hash_t name_hash = PyObject_Hash(name);
  858|      8|    if (name_hash == -1) {
  ------------------
  |  Branch (858:9): [True: 0, False: 8]
  ------------------
  859|      0|        return -1;
  860|      0|    }
  861|       |
  862|      8|    Py_hash_t res = Py_HashPointer(addr) ^ name_hash;
  863|      8|    return res == -1 ? -2 : res;
  ------------------
  |  Branch (863:12): [True: 0, False: 8]
  ------------------
  864|      8|}
context.c:contextvar_tp_new:
  915|      6|{
  916|      6|    static char *kwlist[] = {"", "default", NULL};
  917|      6|    PyObject *name;
  918|      6|    PyObject *def = NULL;
  919|       |
  920|      6|    if (!PyArg_ParseTupleAndKeywords(
  ------------------
  |  Branch (920:9): [True: 0, False: 6]
  ------------------
  921|      6|            args, kwds, "O|$O:ContextVar", kwlist, &name, &def))
  922|      0|    {
  923|      0|        return NULL;
  924|      0|    }
  925|       |
  926|      6|    return (PyObject *)contextvar_new(name, def);
  927|      6|}
context.c:get_token_missing:
 1345|      2|{
 1346|      2|    return (PyObject *)&_Py_SINGLETON(context_token_missing);
  ------------------
  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  ------------------
  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  ------------------
  ------------------
 1347|      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|  13.6k|{
 1386|  13.6k|    int bb2, bb5, bbe, bd2, bd5, bs2, c, dsign, e, e1, error;
 1387|  13.6k|    int esign, i, j, k, lz, nd, nd0, odd, sign;
 1388|  13.6k|    const char *s, *s0, *s1;
 1389|  13.6k|    double aadj, aadj1;
 1390|  13.6k|    U aadj2, adj, rv, rv0;
 1391|  13.6k|    ULong y, z, abs_exp;
 1392|  13.6k|    Long L;
 1393|  13.6k|    BCinfo bc;
 1394|  13.6k|    Bigint *bb = NULL, *bd = NULL, *bd0 = NULL, *bs = NULL, *delta = NULL;
 1395|  13.6k|    size_t ndigits, fraclen;
 1396|  13.6k|    double result;
 1397|       |
 1398|  13.6k|    dval(&rv) = 0.;
  ------------------
  |  |  184|  13.6k|#define dval(x) (x)->d
  ------------------
 1399|       |
 1400|       |    /* Start parsing. */
 1401|  13.6k|    c = *(s = s00);
 1402|       |
 1403|       |    /* Parse optional sign, if present. */
 1404|  13.6k|    sign = 0;
 1405|  13.6k|    switch (c) {
  ------------------
  |  Branch (1405:13): [True: 4, False: 13.6k]
  ------------------
 1406|      4|    case '-':
  ------------------
  |  Branch (1406:5): [True: 4, False: 13.6k]
  ------------------
 1407|      4|        sign = 1;
 1408|      4|        _Py_FALLTHROUGH;
  ------------------
  |  |  644|      4|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 1409|      4|    case '+':
  ------------------
  |  Branch (1409:5): [True: 0, False: 13.6k]
  ------------------
 1410|      4|        c = *++s;
 1411|  13.6k|    }
 1412|       |
 1413|       |    /* Skip leading zeros: lz is true iff there were leading zeros. */
 1414|  13.6k|    s1 = s;
 1415|  13.6k|    while (c == '0')
  ------------------
  |  Branch (1415:12): [True: 15, False: 13.6k]
  ------------------
 1416|     15|        c = *++s;
 1417|  13.6k|    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|  13.6k|    s0 = s1 = s;
 1424|  13.6k|    while ('0' <= c && c <= '9')
  ------------------
  |  Branch (1424:12): [True: 13.6k, False: 29]
  |  Branch (1424:24): [True: 26, False: 13.6k]
  ------------------
 1425|     26|        c = *++s;
 1426|  13.6k|    ndigits = s - s1;
 1427|  13.6k|    fraclen = 0;
 1428|       |
 1429|       |    /* Parse decimal point and following digits. */
 1430|  13.6k|    if (c == '.') {
  ------------------
  |  Branch (1430:9): [True: 29, False: 13.6k]
  ------------------
 1431|     29|        c = *++s;
 1432|     29|        if (!ndigits) {
  ------------------
  |  Branch (1432:13): [True: 15, False: 14]
  ------------------
 1433|     15|            s1 = s;
 1434|     21|            while (c == '0')
  ------------------
  |  Branch (1434:20): [True: 6, False: 15]
  ------------------
 1435|      6|                c = *++s;
 1436|     15|            lz = lz || s != s1;
  ------------------
  |  Branch (1436:18): [True: 15, False: 0]
  |  Branch (1436:24): [True: 0, False: 0]
  ------------------
 1437|     15|            fraclen += (s - s1);
 1438|     15|            s0 = s;
 1439|     15|        }
 1440|     29|        s1 = s;
 1441|     68|        while ('0' <= c && c <= '9')
  ------------------
  |  Branch (1441:16): [True: 39, False: 29]
  |  Branch (1441:28): [True: 39, False: 0]
  ------------------
 1442|     39|            c = *++s;
 1443|     29|        ndigits += s - s1;
 1444|     29|        fraclen += s - s1;
 1445|     29|    }
 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|  13.6k|    if (!ndigits && !lz) {
  ------------------
  |  Branch (1450:9): [True: 13.6k, False: 33]
  |  Branch (1450:21): [True: 13.6k, False: 2]
  ------------------
 1451|  13.6k|        if (se)
  ------------------
  |  Branch (1451:13): [True: 13.6k, False: 0]
  ------------------
 1452|  13.6k|            *se = (char *)s00;
 1453|  13.6k|        goto parse_error;
 1454|  13.6k|    }
 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|     35|    if (ndigits > MAX_DIGITS || fraclen > MAX_DIGITS) {
  ------------------
  |  |  202|     70|#define MAX_DIGITS 1000000000U
  ------------------
                  if (ndigits > MAX_DIGITS || fraclen > MAX_DIGITS) {
  ------------------
  |  |  202|     35|#define MAX_DIGITS 1000000000U
  ------------------
  |  Branch (1458:9): [True: 0, False: 35]
  |  Branch (1458:33): [True: 0, False: 35]
  ------------------
 1459|      0|        if (se)
  ------------------
  |  Branch (1459:13): [True: 0, False: 0]
  ------------------
 1460|      0|            *se = (char *)s00;
 1461|      0|        goto parse_error;
 1462|      0|    }
 1463|     35|    nd = (int)ndigits;
 1464|     35|    nd0 = (int)ndigits - (int)fraclen;
 1465|       |
 1466|       |    /* Parse exponent. */
 1467|     35|    e = 0;
 1468|     35|    if (c == 'e' || c == 'E') {
  ------------------
  |  Branch (1468:9): [True: 4, False: 31]
  |  Branch (1468:21): [True: 0, False: 31]
  ------------------
 1469|      4|        s00 = s;
 1470|      4|        c = *++s;
 1471|       |
 1472|       |        /* Exponent sign. */
 1473|      4|        esign = 0;
 1474|      4|        switch (c) {
  ------------------
  |  Branch (1474:17): [True: 0, False: 4]
  ------------------
 1475|      0|        case '-':
  ------------------
  |  Branch (1475:9): [True: 0, False: 4]
  ------------------
 1476|      0|            esign = 1;
 1477|      0|            _Py_FALLTHROUGH;
  ------------------
  |  |  644|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 1478|      0|        case '+':
  ------------------
  |  Branch (1478:9): [True: 0, False: 4]
  ------------------
 1479|      0|            c = *++s;
 1480|      4|        }
 1481|       |
 1482|       |        /* Skip zeros.  lz is true iff there are leading zeros. */
 1483|      4|        s1 = s;
 1484|      4|        while (c == '0')
  ------------------
  |  Branch (1484:16): [True: 0, False: 4]
  ------------------
 1485|      0|            c = *++s;
 1486|      4|        lz = s != s1;
 1487|       |
 1488|       |        /* Get absolute value of the exponent. */
 1489|      4|        s1 = s;
 1490|      4|        abs_exp = 0;
 1491|      8|        while ('0' <= c && c <= '9') {
  ------------------
  |  Branch (1491:16): [True: 4, False: 4]
  |  Branch (1491:28): [True: 4, False: 0]
  ------------------
 1492|      4|            abs_exp = 10*abs_exp + (c - '0');
 1493|      4|            c = *++s;
 1494|      4|        }
 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|      4|        if (s - s1 > 9 || abs_exp > MAX_ABS_EXP)
  ------------------
  |  |  194|      4|#define MAX_ABS_EXP 1100000000U
  ------------------
  |  Branch (1499:13): [True: 0, False: 4]
  |  Branch (1499:27): [True: 0, False: 4]
  ------------------
 1500|      0|            e = (int)MAX_ABS_EXP;
  ------------------
  |  |  194|      0|#define MAX_ABS_EXP 1100000000U
  ------------------
 1501|      4|        else
 1502|      4|            e = (int)abs_exp;
 1503|      4|        if (esign)
  ------------------
  |  Branch (1503:13): [True: 0, False: 4]
  ------------------
 1504|      0|            e = -e;
 1505|       |
 1506|       |        /* A valid exponent must have at least one digit. */
 1507|      4|        if (s == s1 && !lz)
  ------------------
  |  Branch (1507:13): [True: 0, False: 4]
  |  Branch (1507:24): [True: 0, False: 0]
  ------------------
 1508|      0|            s = s00;
 1509|      4|    }
 1510|       |
 1511|       |    /* Adjust exponent to take into account position of the point. */
 1512|     35|    e -= nd - nd0;
 1513|     35|    if (nd0 <= 0)
  ------------------
  |  Branch (1513:9): [True: 15, False: 20]
  ------------------
 1514|     15|        nd0 = nd;
 1515|       |
 1516|       |    /* Finished parsing.  Set se to indicate how far we parsed */
 1517|     35|    if (se)
  ------------------
  |  Branch (1517:9): [True: 35, False: 0]
  ------------------
 1518|     35|        *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|     35|    if (!nd)
  ------------------
  |  Branch (1522:9): [True: 2, False: 33]
  ------------------
 1523|      2|        goto ret;
 1524|     53|    for (i = nd; i > 0; ) {
  ------------------
  |  Branch (1524:18): [True: 53, False: 0]
  ------------------
 1525|     53|        --i;
 1526|     53|        if (s0[i < nd0 ? i : i+1] != '0') {
  ------------------
  |  Branch (1526:13): [True: 33, False: 20]
  |  Branch (1526:16): [True: 39, False: 14]
  ------------------
 1527|     33|            ++i;
 1528|     33|            break;
 1529|     33|        }
 1530|     53|    }
 1531|     33|    e += nd - i;
 1532|     33|    nd = i;
 1533|     33|    if (nd0 > nd)
  ------------------
  |  Branch (1533:9): [True: 6, False: 27]
  ------------------
 1534|      6|        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|     33|    bc.e0 = e1 = e;
 1573|     33|    y = z = 0;
 1574|     78|    for (i = 0; i < nd; i++) {
  ------------------
  |  Branch (1574:17): [True: 45, False: 33]
  ------------------
 1575|     45|        if (i < 9)
  ------------------
  |  Branch (1575:13): [True: 45, False: 0]
  ------------------
 1576|     45|            y = 10*y + s0[i < nd0 ? i : i+1] - '0';
  ------------------
  |  Branch (1576:27): [True: 45, 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|     45|    }
 1582|       |
 1583|     33|    k = nd < DBL_DIG + 1 ? nd : DBL_DIG + 1;
  ------------------
  |  Branch (1583:9): [True: 33, False: 0]
  ------------------
 1584|     33|    dval(&rv) = y;
  ------------------
  |  |  184|     33|#define dval(x) (x)->d
  ------------------
 1585|     33|    if (k > 9) {
  ------------------
  |  Branch (1585:9): [True: 0, False: 33]
  ------------------
 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|     33|    if (nd <= DBL_DIG
  ------------------
  |  Branch (1588:9): [True: 33, False: 0]
  ------------------
 1589|     33|        && Flt_Rounds == 1
  ------------------
  |  |  261|     33|#define Flt_Rounds FLT_ROUNDS
  ------------------
  |  Branch (1589:12): [True: 33, False: 0]
  ------------------
 1590|     33|        ) {
 1591|     33|        if (!e)
  ------------------
  |  Branch (1591:13): [True: 10, False: 23]
  ------------------
 1592|     10|            goto ret;
 1593|     23|        if (e > 0) {
  ------------------
  |  Branch (1593:13): [True: 10, False: 13]
  ------------------
 1594|     10|            if (e <= Ten_pmax) {
  ------------------
  |  |  248|     10|#define Ten_pmax 22
  ------------------
  |  Branch (1594:17): [True: 10, False: 0]
  ------------------
 1595|     10|                dval(&rv) *= tens[e];
  ------------------
  |  |  184|     10|#define dval(x) (x)->d
  ------------------
 1596|     10|                goto ret;
 1597|     10|            }
 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|     13|        else if (e >= -Ten_pmax) {
  ------------------
  |  |  248|     13|#define Ten_pmax 22
  ------------------
  |  Branch (1609:18): [True: 13, False: 0]
  ------------------
 1610|     13|            dval(&rv) /= tens[-e];
  ------------------
  |  |  184|     13|#define dval(x) (x)->d
  ------------------
 1611|     13|            goto ret;
 1612|     13|        }
 1613|     23|    }
 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|     35|  ret:
 2074|     35|    result = sign ? -dval(&rv) : dval(&rv);
  ------------------
  |  |  184|      0|#define dval(x) (x)->d
  ------------------
                  result = sign ? -dval(&rv) : dval(&rv);
  ------------------
  |  |  184|     70|#define dval(x) (x)->d
  ------------------
  |  Branch (2074:14): [True: 0, False: 35]
  ------------------
 2075|     35|    goto done;
 2076|       |
 2077|  13.6k|  parse_error:
 2078|  13.6k|    result = 0.0;
 2079|  13.6k|    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|  13.6k|  done:
 2099|  13.6k|    Bfree(bb);
 2100|  13.6k|    Bfree(bd);
 2101|  13.6k|    Bfree(bs);
 2102|  13.6k|    Bfree(bd0);
 2103|  13.6k|    Bfree(delta);
 2104|  13.6k|    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++) {
  ------------------
  |  |  471|     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]))
  ------------------
  |  |  468|     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 &&
  ------------------
  |  |  468|     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
  ------------------
  |  |  477|     16|    ((PRIVATE_MEM+sizeof(double)-1)/sizeof(double))
  |  |  ------------------
  |  |  |  |  474|     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|  68.2k|{
  376|  68.2k|    if (v) {
  ------------------
  |  Branch (376:9): [True: 0, False: 68.2k]
  ------------------
  377|      0|        if (v->k > Bigint_Kmax)
  ------------------
  |  |  468|      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|  68.2k|}

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

_PyErr_SetRaisedException:
   25|  11.2M|{
   26|  11.2M|    PyObject *old_exc = tstate->current_exception;
   27|  11.2M|    tstate->current_exception = exc;
   28|  11.2M|    Py_XDECREF(old_exc);
  ------------------
  |  |  524|  11.2M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.2M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.2M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   29|  11.2M|}
_PyErr_Restore:
   60|  3.92M|{
   61|  3.92M|    if (type == NULL) {
  ------------------
  |  Branch (61:9): [True: 2.44M, False: 1.47M]
  ------------------
   62|  2.44M|        assert(value == NULL);
   63|  2.44M|        assert(traceback == NULL);
   64|  2.44M|        _PyErr_SetRaisedException(tstate, NULL);
   65|  2.44M|        return;
   66|  2.44M|    }
   67|  3.92M|    assert(PyExceptionClass_Check(type));
   68|  1.47M|    if (value != NULL && type == (PyObject *)Py_TYPE(value)) {
  ------------------
  |  |  213|  1.47M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.47M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.47M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (68:9): [True: 1.47M, False: 0]
  |  Branch (68:26): [True: 1.47M, 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.47M|    }
   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.47M|    assert(PyExceptionInstance_Check(value));
   87|  1.47M|    if (traceback != NULL) {
  ------------------
  |  Branch (87:9): [True: 19.9k, False: 1.45M]
  ------------------
   88|  19.9k|        if (PyException_SetTraceback(value, traceback) < 0) {
  ------------------
  |  Branch (88:13): [True: 0, False: 19.9k]
  ------------------
   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|  19.9k|        Py_DECREF(traceback);
  ------------------
  |  |  430|  19.9k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  19.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  19.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   95|  19.9k|    }
   96|  1.47M|    _PyErr_SetRaisedException(tstate, value);
   97|  1.47M|    Py_DECREF(type);
  ------------------
  |  |  430|  1.47M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.47M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.47M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   98|  1.47M|}
PyErr_Restore:
  102|  47.0k|{
  103|  47.0k|    PyThreadState *tstate = _PyThreadState_GET();
  104|  47.0k|    _PyErr_Restore(tstate, type, value, traceback);
  105|  47.0k|}
PyErr_SetRaisedException:
  109|  6.77M|{
  110|  6.77M|    PyThreadState *tstate = _PyThreadState_GET();
  111|  6.77M|    _PyErr_SetRaisedException(tstate, exc);
  112|  6.77M|}
_PyErr_GetTopmostException:
  116|  1.43M|{
  117|  1.43M|    _PyErr_StackItem *exc_info = tstate->exc_info;
  118|  1.43M|    assert(exc_info);
  119|       |
  120|  1.46M|    while (exc_info->exc_value == NULL && exc_info->previous_item != NULL)
  ------------------
  |  Branch (120:12): [True: 1.10M, False: 362k]
  |  Branch (120:43): [True: 27.5k, False: 1.07M]
  ------------------
  121|  27.5k|    {
  122|  27.5k|        exc_info = exc_info->previous_item;
  123|  27.5k|    }
  124|       |    assert(!Py_IsNone(exc_info->exc_value));
  125|  1.43M|    return exc_info;
  126|  1.43M|}
_PyErr_SetObject:
  152|  1.43M|{
  153|  1.43M|    PyObject *exc_value;
  154|  1.43M|    PyObject *tb = NULL;
  155|       |
  156|  1.43M|    if (exception != NULL &&
  ------------------
  |  Branch (156:9): [True: 1.43M, False: 0]
  ------------------
  157|  1.43M|        !PyExceptionClass_Check(exception)) {
  ------------------
  |  |   61|  1.43M|    (PyType_Check((x)) &&                                               \
  |  |  ------------------
  |  |  |  |  766|  2.86M|#  define PyType_Check(op) PyType_Check(_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 (766:28): [True: 1.43M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   62|  1.43M|     PyType_FastSubclass((PyTypeObject*)(x), Py_TPFLAGS_BASE_EXC_SUBCLASS))
  |  |  ------------------
  |  |  |  |  760|  1.43M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 1.43M, 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.43M|    int is_subclass = 0;
  166|  1.43M|    if (value != NULL && PyExceptionInstance_Check(value)) {
  ------------------
  |  |   65|  1.43M|    PyType_FastSubclass(Py_TYPE(x), Py_TPFLAGS_BASE_EXC_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.43M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 247k, False: 1.18M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (166:9): [True: 1.43M, False: 975]
  ------------------
  167|   247k|        is_subclass = PyObject_IsSubclass((PyObject *)Py_TYPE(value), exception);
  ------------------
  |  |  213|   247k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   247k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   247k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  168|   247k|        if (is_subclass < 0) {
  ------------------
  |  Branch (168:13): [True: 0, False: 247k]
  ------------------
  169|      0|            return;
  170|      0|        }
  171|   247k|    }
  172|  1.43M|    Py_XINCREF(value);
  ------------------
  |  |  514|  1.43M|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.43M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.43M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  173|  1.43M|    if (!is_subclass) {
  ------------------
  |  Branch (173:9): [True: 1.18M, False: 247k]
  ------------------
  174|       |        /* We must normalize the value right now */
  175|       |
  176|       |        /* Issue #23571: functions must not be called with an
  177|       |            exception set */
  178|  1.18M|        _PyErr_Clear(tstate);
  179|       |
  180|  1.18M|        PyObject *fixed_value = _PyErr_CreateException(exception, value);
  181|  1.18M|        if (fixed_value == NULL) {
  ------------------
  |  Branch (181:13): [True: 0, False: 1.18M]
  ------------------
  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.18M|        Py_XSETREF(value, fixed_value);
  ------------------
  |  |  374|  1.18M|    do { \
  |  |  375|  1.18M|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  1.18M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|  1.18M|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  1.18M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|  1.18M|        *_tmp_dst_ptr = (src); \
  |  |  378|  1.18M|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  1.18M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.18M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.18M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|  1.18M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 1.18M]
  |  |  ------------------
  ------------------
  196|  1.18M|    }
  197|       |
  198|  1.43M|    exc_value = _PyErr_GetTopmostException(tstate)->exc_value;
  199|  1.43M|    if (exc_value != NULL && exc_value != Py_None) {
  ------------------
  |  |  616|   359k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (199:9): [True: 359k, False: 1.07M]
  |  Branch (199:30): [True: 359k, False: 0]
  ------------------
  200|       |        /* Implicit exception chaining */
  201|   359k|        Py_INCREF(exc_value);
  ------------------
  |  |  310|   359k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   359k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   359k|#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|   359k|        if (exc_value != value) {
  ------------------
  |  Branch (208:13): [True: 359k, False: 0]
  ------------------
  209|   359k|            PyObject *o = exc_value, *context;
  210|   359k|            PyObject *slow_o = o;  /* Floyd's cycle detection algo */
  211|   359k|            int slow_update_toggle = 0;
  212|   359k|            while ((context = PyException_GetContext(o))) {
  ------------------
  |  Branch (212:20): [True: 47, False: 359k]
  ------------------
  213|     47|                Py_DECREF(context);
  ------------------
  |  |  430|     47|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     47|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     47|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  214|     47|                if (context == value) {
  ------------------
  |  Branch (214:21): [True: 0, False: 47]
  ------------------
  215|      0|                    PyException_SetContext(o, NULL);
  216|      0|                    break;
  217|      0|                }
  218|     47|                o = context;
  219|     47|                if (o == slow_o) {
  ------------------
  |  Branch (219:21): [True: 0, False: 47]
  ------------------
  220|       |                    /* pre-existing cycle - all exceptions on the
  221|       |                       path were visited and checked.  */
  222|      0|                    break;
  223|      0|                }
  224|     47|                if (slow_update_toggle) {
  ------------------
  |  Branch (224:21): [True: 8, False: 39]
  ------------------
  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|     47|                slow_update_toggle = !slow_update_toggle;
  229|     47|            }
  230|   359k|            PyException_SetContext(value, exc_value);
  231|   359k|        }
  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|   359k|    }
  236|  1.43M|    assert(value != NULL);
  237|  1.43M|    if (PyExceptionInstance_Check(value))
  ------------------
  |  |   65|  1.43M|    PyType_FastSubclass(Py_TYPE(x), Py_TPFLAGS_BASE_EXC_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.43M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 1.43M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  238|  1.43M|        tb = PyException_GetTraceback(value);
  239|  1.43M|    _PyErr_Restore(tstate, Py_NewRef(Py_TYPE(value)), value, tb);
  ------------------
  |  |  550|  1.43M|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  1.43M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.43M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  240|  1.43M|}
PyErr_SetObject:
  244|  57.9k|{
  245|  57.9k|    PyThreadState *tstate = _PyThreadState_GET();
  246|  57.9k|    _PyErr_SetObject(tstate, exception, value);
  247|  57.9k|}
_PyErr_SetKeyError:
  258|   169k|{
  259|   169k|    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|   169k|    _PyErr_Clear(tstate);
  265|       |
  266|   169k|    PyObject *exc = PyObject_CallOneArg(PyExc_KeyError, arg);
  267|   169k|    if (!exc) {
  ------------------
  |  Branch (267:9): [True: 0, False: 169k]
  ------------------
  268|       |        /* caller will expect error to be set anyway */
  269|      0|        return;
  270|      0|    }
  271|       |
  272|   169k|    _PyErr_SetObject(tstate, (PyObject*)Py_TYPE(exc), exc);
  ------------------
  |  |  213|   169k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   169k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   169k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  273|   169k|    Py_DECREF(exc);
  ------------------
  |  |  430|   169k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   169k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   169k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  274|   169k|}
_PyErr_SetNone:
  278|    975|{
  279|       |    _PyErr_SetObject(tstate, exception, (PyObject *)NULL);
  280|    975|}
PyErr_SetNone:
  285|    975|{
  286|    975|    PyThreadState *tstate = _PyThreadState_GET();
  287|    975|    _PyErr_SetNone(tstate, exception);
  288|    975|}
_PyErr_SetString:
  294|   104k|{
  295|   104k|    PyObject *value = PyUnicode_FromString(string);
  296|   104k|    if (value != NULL) {
  ------------------
  |  Branch (296:9): [True: 104k, False: 0]
  ------------------
  297|   104k|        _PyErr_SetObject(tstate, exception, value);
  298|   104k|        Py_DECREF(value);
  ------------------
  |  |  430|   104k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   104k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   104k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  299|   104k|    }
  300|   104k|}
PyErr_SetString:
  304|   104k|{
  305|   104k|    PyThreadState *tstate = _PyThreadState_GET();
  306|   104k|    _PyErr_SetString(tstate, exception, string);
  307|   104k|}
PyErr_Occurred:
  321|  15.6M|{
  322|       |    /* The caller must hold a thread state. */
  323|  15.6M|    _Py_AssertHoldsTstate();
  324|       |
  325|  15.6M|    PyThreadState *tstate = _PyThreadState_GET();
  326|  15.6M|    return _PyErr_Occurred(tstate);
  327|  15.6M|}
PyErr_GivenExceptionMatches:
  332|  5.69M|{
  333|  5.69M|    if (err == NULL || exc == NULL) {
  ------------------
  |  Branch (333:9): [True: 0, False: 5.69M]
  |  Branch (333:24): [True: 0, False: 5.69M]
  ------------------
  334|       |        /* maybe caused by "import exceptions" that failed early on */
  335|      0|        return 0;
  336|      0|    }
  337|  5.69M|    if (PyTuple_Check(exc)) {
  ------------------
  |  |   27|  5.69M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  5.69M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 81, False: 5.69M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  338|     81|        Py_ssize_t i, n;
  339|     81|        n = PyTuple_Size(exc);
  340|     81|        for (i = 0; i < n; i++) {
  ------------------
  |  Branch (340:21): [True: 81, False: 0]
  ------------------
  341|       |            /* Test recursively */
  342|     81|             if (PyErr_GivenExceptionMatches(
  ------------------
  |  Branch (342:18): [True: 81, False: 0]
  ------------------
  343|     81|                 err, PyTuple_GET_ITEM(exc, i)))
  ------------------
  |  |   29|     81|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     81|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     81|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  344|     81|             {
  345|     81|                 return 1;
  346|     81|             }
  347|     81|        }
  348|      0|        return 0;
  349|     81|    }
  350|       |    /* err might be an instance, so check its class. */
  351|  5.69M|    if (PyExceptionInstance_Check(err))
  ------------------
  |  |   65|  5.69M|    PyType_FastSubclass(Py_TYPE(x), Py_TPFLAGS_BASE_EXC_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  5.69M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 3.57M, False: 2.12M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  352|  3.57M|        err = PyExceptionInstance_Class(err);
  ------------------
  |  |   69|  3.57M|#define PyExceptionInstance_Class(x) _PyObject_CAST(Py_TYPE(x))
  |  |  ------------------
  |  |  |  |  171|  3.57M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.57M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  353|       |
  354|  5.69M|    if (PyExceptionClass_Check(err) && PyExceptionClass_Check(exc)) {
  ------------------
  |  |   61|  11.3M|    (PyType_Check((x)) &&                                               \
  |  |  ------------------
  |  |  |  |  766|  11.3M|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.69M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.69M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (766:28): [True: 5.69M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   62|  11.3M|     PyType_FastSubclass((PyTypeObject*)(x), Py_TPFLAGS_BASE_EXC_SUBCLASS))
  |  |  ------------------
  |  |  |  |  760|  5.69M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 5.69M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyExceptionClass_Check(err) && PyExceptionClass_Check(exc)) {
  ------------------
  |  |   61|  5.69M|    (PyType_Check((x)) &&                                               \
  |  |  ------------------
  |  |  |  |  766|  11.3M|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.69M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.69M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (766:28): [True: 5.69M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   62|  5.69M|     PyType_FastSubclass((PyTypeObject*)(x), Py_TPFLAGS_BASE_EXC_SUBCLASS))
  |  |  ------------------
  |  |  |  |  760|  5.69M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 5.69M, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  355|  5.69M|        return PyType_IsSubtype((PyTypeObject *)err, (PyTypeObject *)exc);
  356|  5.69M|    }
  357|       |
  358|      0|    return err == exc;
  359|  5.69M|}
_PyErr_ExceptionMatches:
  364|  2.12M|{
  365|  2.12M|    return PyErr_GivenExceptionMatches(_PyErr_Occurred(tstate), exc);
  366|  2.12M|}
PyErr_ExceptionMatches:
  371|  2.12M|{
  372|  2.12M|    PyThreadState *tstate = _PyThreadState_GET();
  373|  2.12M|    return _PyErr_ExceptionMatches(tstate, exc);
  374|  2.12M|}
_PyErr_GetRaisedException:
  499|  8.76M|_PyErr_GetRaisedException(PyThreadState *tstate) {
  500|  8.76M|    PyObject *exc = tstate->current_exception;
  501|       |    tstate->current_exception = NULL;
  502|  8.76M|    return exc;
  503|  8.76M|}
PyErr_GetRaisedException:
  507|  6.79M|{
  508|  6.79M|    PyThreadState *tstate = _PyThreadState_GET();
  509|  6.79M|    return _PyErr_GetRaisedException(tstate);
  510|  6.79M|}
_PyErr_Fetch:
  515|  27.1k|{
  516|  27.1k|    PyObject *exc = _PyErr_GetRaisedException(tstate);
  517|  27.1k|    *p_value = exc;
  518|  27.1k|    if (exc == NULL) {
  ------------------
  |  Branch (518:9): [True: 0, False: 27.1k]
  ------------------
  519|      0|        *p_type = NULL;
  520|      0|        *p_traceback = NULL;
  521|      0|    }
  522|  27.1k|    else {
  523|  27.1k|        *p_type = Py_NewRef(Py_TYPE(exc));
  ------------------
  |  |  550|  27.1k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  27.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  524|  27.1k|        *p_traceback = PyException_GetTraceback(exc);
  525|  27.1k|    }
  526|  27.1k|}
PyErr_Fetch:
  531|  27.1k|{
  532|  27.1k|    PyThreadState *tstate = _PyThreadState_GET();
  533|  27.1k|    _PyErr_Fetch(tstate, p_type, p_value, p_traceback);
  534|  27.1k|}
_PyErr_Clear:
  539|  2.44M|{
  540|  2.44M|    _PyErr_Restore(tstate, NULL, NULL, NULL);
  541|  2.44M|}
PyErr_Clear:
  546|  40.0k|{
  547|  40.0k|    PyThreadState *tstate = _PyThreadState_GET();
  548|  40.0k|    _PyErr_Clear(tstate);
  549|  40.0k|}
_PyErr_ChainExceptions1Tstate:
  707|  14.3k|{
  708|  14.3k|    if (exc == NULL) {
  ------------------
  |  Branch (708:9): [True: 14.3k, False: 0]
  ------------------
  709|  14.3k|        return;
  710|  14.3k|    }
  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|  14.3k|{
  724|  14.3k|    PyThreadState *tstate = _PyThreadState_GET();
  725|  14.3k|    _PyErr_ChainExceptions1Tstate(tstate, exc);
  726|  14.3k|}
_PyErr_ChainStackItem:
  736|  19.9k|{
  737|  19.9k|    PyThreadState *tstate = _PyThreadState_GET();
  738|  19.9k|    assert(_PyErr_Occurred(tstate));
  739|       |
  740|  19.9k|    _PyErr_StackItem *exc_info = tstate->exc_info;
  741|  19.9k|    if (exc_info->exc_value == NULL || exc_info->exc_value == Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (741:9): [True: 19.9k, False: 0]
  |  Branch (741:40): [True: 0, False: 0]
  ------------------
  742|  19.9k|        return;
  743|  19.9k|    }
  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|  41.2k|{
  811|       |    return PyErr_SetFromErrnoWithFilenameObjects(exc, filenameObject, NULL);
  812|  41.2k|}
PyErr_SetFromErrnoWithFilenameObjects:
  816|  41.2k|{
  817|  41.2k|    PyThreadState *tstate = _PyThreadState_GET();
  818|  41.2k|    PyObject *message;
  819|  41.2k|    PyObject *v, *args;
  820|  41.2k|    int i = errno;
  821|       |#ifdef MS_WINDOWS
  822|       |    WCHAR *s_buf = NULL;
  823|       |#endif /* Unix/Windows */
  824|       |
  825|  41.2k|#ifdef EINTR
  826|  41.2k|    if (i == EINTR && PyErr_CheckSignals())
  ------------------
  |  Branch (826:9): [True: 0, False: 41.2k]
  |  Branch (826:23): [True: 0, False: 0]
  ------------------
  827|      0|        return NULL;
  828|  41.2k|#endif
  829|       |
  830|  41.2k|#ifndef MS_WINDOWS
  831|  41.2k|    if (i != 0) {
  ------------------
  |  Branch (831:9): [True: 41.2k, False: 0]
  ------------------
  832|  41.2k|        const char *s = strerror(i);
  833|  41.2k|        message = PyUnicode_DecodeLocale(s, "surrogateescape");
  834|  41.2k|    }
  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|  41.2k|    if (message == NULL)
  ------------------
  |  Branch (880:9): [True: 0, False: 41.2k]
  ------------------
  881|      0|    {
  882|       |#ifdef MS_WINDOWS
  883|       |        LocalFree(s_buf);
  884|       |#endif
  885|      0|        return NULL;
  886|      0|    }
  887|       |
  888|  41.2k|    if (filenameObject != NULL) {
  ------------------
  |  Branch (888:9): [True: 41.2k, False: 10]
  ------------------
  889|  41.2k|        if (filenameObject2 != NULL)
  ------------------
  |  Branch (889:13): [True: 0, False: 41.2k]
  ------------------
  890|      0|            args = Py_BuildValue("(iOOiO)", i, message, filenameObject, 0, filenameObject2);
  891|  41.2k|        else
  892|  41.2k|            args = Py_BuildValue("(iOO)", i, message, filenameObject);
  893|  41.2k|    } else {
  894|     10|        assert(filenameObject2 == NULL);
  895|     10|        args = Py_BuildValue("(iO)", i, message);
  896|     10|    }
  897|  41.2k|    Py_DECREF(message);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  898|       |
  899|  41.2k|    if (args != NULL) {
  ------------------
  |  Branch (899:9): [True: 41.2k, False: 0]
  ------------------
  900|  41.2k|        v = PyObject_Call(exc, args, NULL);
  901|  41.2k|        Py_DECREF(args);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  902|  41.2k|        if (v != NULL) {
  ------------------
  |  Branch (902:13): [True: 41.2k, False: 0]
  ------------------
  903|  41.2k|            _PyErr_SetObject(tstate, (PyObject *) Py_TYPE(v), v);
  ------------------
  |  |  213|  41.2k|#  define Py_TYPE(ob) _Py_TYPE_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  904|  41.2k|            Py_DECREF(v);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  905|  41.2k|        }
  906|  41.2k|    }
  907|       |#ifdef MS_WINDOWS
  908|       |    LocalFree(s_buf);
  909|       |#endif
  910|       |    return NULL;
  911|  41.2k|}
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.05M|{
 1212|  1.05M|    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.05M|    _PyErr_Clear(tstate);
 1217|       |
 1218|  1.05M|    string = PyUnicode_FromFormatV(format, vargs);
 1219|  1.05M|    if (string != NULL) {
  ------------------
  |  Branch (1219:9): [True: 1.05M, False: 0]
  ------------------
 1220|  1.05M|        _PyErr_SetObject(tstate, exception, string);
 1221|  1.05M|        Py_DECREF(string);
  ------------------
  |  |  430|  1.05M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.05M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.05M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1222|  1.05M|    }
 1223|       |    return NULL;
 1224|  1.05M|}
_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.05M|{
 1250|  1.05M|    PyThreadState *tstate = _PyThreadState_GET();
 1251|  1.05M|    va_list vargs;
 1252|  1.05M|    va_start(vargs, format);
 1253|  1.05M|    _PyErr_FormatV(tstate, exception, format, vargs);
 1254|  1.05M|    va_end(vargs);
 1255|       |    return NULL;
 1256|  1.05M|}
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__));
  ------------------
  |  |  915|     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)
  ------------------
  |  |  915|     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|  27.1k|{
 2059|  27.1k|    char *found_encoding = NULL;
 2060|  27.1k|    if (filename == NULL || lineno <= 0) {
  ------------------
  |  Branch (2060:9): [True: 0, False: 27.1k]
  |  Branch (2060:29): [True: 0, False: 27.1k]
  ------------------
 2061|      0|        return NULL;
 2062|      0|    }
 2063|       |
 2064|  27.1k|    FILE *fp = Py_fopen(filename, "r" PY_STDIOTEXTMODE);
  ------------------
  |  |    9|  27.1k|#define PY_STDIOTEXTMODE "b"
  ------------------
 2065|  27.1k|    if (fp == NULL) {
  ------------------
  |  Branch (2065:9): [True: 27.1k, False: 0]
  ------------------
 2066|  27.1k|        PyErr_Clear();
 2067|  27.1k|        return NULL;
 2068|  27.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.18M|{
   34|  1.18M|    PyObject *exc;
   35|       |
   36|  1.18M|    if (value == NULL || value == Py_None) {
  ------------------
  |  |  616|  1.18M|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (36:9): [True: 975, False: 1.18M]
  |  Branch (36:26): [True: 0, False: 1.18M]
  ------------------
   37|    975|        exc = _PyObject_CallNoArgs(exception_type);
   38|    975|    }
   39|  1.18M|    else if (PyTuple_Check(value)) {
  ------------------
  |  |   27|  1.18M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.18M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 27.1k, False: 1.15M]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   40|  27.1k|        exc = PyObject_Call(exception_type, value, NULL);
   41|  27.1k|    }
   42|  1.15M|    else {
   43|  1.15M|        exc = PyObject_CallOneArg(exception_type, value);
   44|  1.15M|    }
   45|       |
   46|  1.18M|    if (exc != NULL && !PyExceptionInstance_Check(exc)) {
  ------------------
  |  |   65|  1.18M|    PyType_FastSubclass(Py_TYPE(x), Py_TPFLAGS_BASE_EXC_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.18M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (46:9): [True: 1.18M, False: 0]
  |  Branch (46:24): [True: 0, False: 1.18M]
  ------------------
   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.18M|    return exc;
   55|  1.18M|}
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|  41.2k|{
  601|  41.2k|    if (current_locale) {
  ------------------
  |  Branch (601:9): [True: 41.2k, False: 16]
  ------------------
  602|       |#ifdef _Py_FORCE_UTF8_LOCALE
  603|       |        return _Py_DecodeUTF8Ex(arg, strlen(arg), wstr, wlen, reason,
  604|       |                                errors);
  605|       |#else
  606|  41.2k|        return decode_current_locale(arg, wstr, wlen, reason, errors);
  607|  41.2k|#endif
  608|  41.2k|    }
  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|  4.04k|{
 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|  4.04k|    return fstat(fd, status);
 1286|  4.04k|#endif
 1287|  4.04k|}
_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|  4.04k|{
 1602|  4.04k|    return set_inheritable(fd, inheritable, 1, atomic_flag_works);
 1603|  4.04k|}
_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|  27.1k|{
 1764|  27.1k|    _Py_AssertHoldsTstate();
 1765|       |
 1766|  27.1k|    if (PySys_Audit("open", "Osi", path, mode, 0) < 0) {
  ------------------
  |  Branch (1766:9): [True: 0, False: 27.1k]
  ------------------
 1767|      0|        return NULL;
 1768|      0|    }
 1769|       |
 1770|  27.1k|    FILE *f;
 1771|  27.1k|    int async_err = 0;
 1772|  27.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|  27.1k|    PyObject *bytes;
 1806|  27.1k|    if (!PyUnicode_FSConverter(path, &bytes)) {
  ------------------
  |  Branch (1806:9): [True: 0, False: 27.1k]
  ------------------
 1807|      0|        return NULL;
 1808|      0|    }
 1809|  27.1k|    const char *path_bytes = PyBytes_AS_STRING(bytes);
  ------------------
  |  |   27|  27.1k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  27.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1810|       |
 1811|  27.1k|    do {
 1812|  27.1k|        Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|  27.1k|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|  27.1k|                        PyThreadState *_save; \
  |  |  121|  27.1k|                        _save = PyEval_SaveThread();
  ------------------
 1813|  27.1k|        f = fopen(path_bytes, mode);
 1814|  27.1k|        Py_END_ALLOW_THREADS
  ------------------
  |  |  124|  27.1k|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|  27.1k|                 }
  ------------------
 1815|  27.1k|    } while (f == NULL
  ------------------
  |  Branch (1815:14): [True: 27.1k, False: 0]
  ------------------
 1816|  27.1k|             && errno == EINTR && !(async_err = PyErr_CheckSignals()));
  ------------------
  |  Branch (1816:17): [True: 0, False: 27.1k]
  |  Branch (1816:35): [True: 0, False: 0]
  ------------------
 1817|  27.1k|    saved_errno = errno;
 1818|  27.1k|    Py_DECREF(bytes);
  ------------------
  |  |  430|  27.1k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  27.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1819|  27.1k|#endif
 1820|       |
 1821|  27.1k|    if (async_err) {
  ------------------
  |  Branch (1821:9): [True: 0, False: 27.1k]
  ------------------
 1822|      0|        return NULL;
 1823|      0|    }
 1824|       |
 1825|  27.1k|    if (f == NULL) {
  ------------------
  |  Branch (1825:9): [True: 27.1k, False: 0]
  ------------------
 1826|  27.1k|        errno = saved_errno;
 1827|  27.1k|        PyErr_SetFromErrnoWithFilenameObject(PyExc_OSError, path);
 1828|  27.1k|        return NULL;
 1829|  27.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|  7.98k|{
 1867|  7.98k|    Py_ssize_t n;
 1868|  7.98k|    int err;
 1869|  7.98k|    int async_err = 0;
 1870|       |
 1871|  7.98k|    _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|  7.98k|    assert(!PyErr_Occurred());
 1877|       |
 1878|  7.98k|    if (count > _PY_READ_MAX) {
  ------------------
  |  |   59|  7.98k|#   define _PY_READ_MAX  PY_SSIZE_T_MAX
  |  |  ------------------
  |  |  |  |  137|  7.98k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  ------------------
  |  Branch (1878:9): [True: 0, False: 7.98k]
  ------------------
 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|  7.98k|    _Py_BEGIN_SUPPRESS_IPH
 1883|  7.98k|    do {
 1884|  7.98k|        Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|  7.98k|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|  7.98k|                        PyThreadState *_save; \
  |  |  121|  7.98k|                        _save = PyEval_SaveThread();
  ------------------
 1885|  7.98k|        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|  7.98k|        n = read(fd, buf, count);
 1898|  7.98k|#endif
 1899|       |        /* save/restore errno because PyErr_CheckSignals()
 1900|       |         * and PyErr_SetFromErrno() can modify it */
 1901|  7.98k|        err = errno;
 1902|  7.98k|        Py_END_ALLOW_THREADS
  ------------------
  |  |  124|  7.98k|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|  7.98k|                 }
  ------------------
 1903|  7.98k|    } while (n < 0 && err == EINTR &&
  ------------------
  |  Branch (1903:14): [True: 0, False: 7.98k]
  |  Branch (1903:23): [True: 0, False: 0]
  ------------------
 1904|      0|            !(async_err = PyErr_CheckSignals()));
  ------------------
  |  Branch (1904:13): [True: 0, False: 0]
  ------------------
 1905|  7.98k|    _Py_END_SUPPRESS_IPH
 1906|       |
 1907|  7.98k|    if (async_err) {
  ------------------
  |  Branch (1907:9): [True: 0, False: 7.98k]
  ------------------
 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|  7.98k|    if (n < 0) {
  ------------------
  |  Branch (1914:9): [True: 0, False: 7.98k]
  ------------------
 1915|      0|        PyErr_SetFromErrno(PyExc_OSError);
 1916|      0|        errno = err;
 1917|      0|        return -1;
 1918|      0|    }
 1919|       |
 1920|  7.98k|    return n;
 1921|  7.98k|}
_Py_write:
 2036|  4.35k|{
 2037|  4.35k|    _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|  4.35k|    assert(!PyErr_Occurred());
 2043|       |
 2044|  4.35k|    return _Py_write_impl(fd, buf, count, 1);
 2045|  4.35k|}
_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|    183|{
 2311|    183|    assert(drvsize);
 2312|    183|    assert(rootsize);
 2313|    183|#ifndef MS_WINDOWS
 2314|    183|#define IS_SEP(x) (*(x) == SEP)
 2315|    183|    *drvsize = 0;
 2316|    183|    if (!IS_SEP(&path[0])) {
  ------------------
  |  | 2314|    183|#define IS_SEP(x) (*(x) == SEP)
  |  |  ------------------
  |  |  |  |   29|    183|#  define SEP L'/'
  |  |  ------------------
  ------------------
  |  Branch (2316:9): [True: 2, False: 181]
  ------------------
 2317|       |        // Relative path, e.g.: 'foo'
 2318|      2|        *rootsize = 0;
 2319|      2|    }
 2320|    181|    else if (!IS_SEP(&path[1]) || IS_SEP(&path[2])) {
  ------------------
  |  | 2314|    362|#define IS_SEP(x) (*(x) == SEP)
  |  |  ------------------
  |  |  |  |   29|    181|#  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: 181, False: 0]
  ------------------
 2321|       |        // Absolute path, e.g.: '/foo', '///foo', '////foo', etc.
 2322|    181|        *rootsize = 1;
 2323|    181|    }
 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|    183|#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|    183|}
_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|    141|{
 2497|    141|    assert(path != NULL);
 2498|    141|    if ((size < 0 && !path[0]) || size == 0) {
  ------------------
  |  Branch (2498:10): [True: 18, False: 123]
  |  Branch (2498:22): [True: 0, False: 18]
  |  Branch (2498:35): [True: 0, False: 141]
  ------------------
 2499|      0|        *normsize = 0;
 2500|      0|        return path;
 2501|      0|    }
 2502|    141|    wchar_t *pEnd = size >= 0 ? &path[size] : NULL;
  ------------------
  |  Branch (2502:21): [True: 123, False: 18]
  ------------------
 2503|    141|    wchar_t *p1 = path;     // sequentially scanned address in the path
 2504|    141|    wchar_t *p2 = path;     // destination of a scanned character to be ljusted
 2505|    141|    wchar_t *minP2 = path;  // the beginning of the destination range
 2506|    141|    wchar_t lastC = L'\0';  // the last ljusted character, p2[-1] in most cases
 2507|       |
 2508|    141|#define IS_END(x) (pEnd ? (x) == pEnd : !*(x))
 2509|       |#ifdef ALTSEP
 2510|       |#define IS_SEP(x) (*(x) == SEP || *(x) == ALTSEP)
 2511|       |#else
 2512|    141|#define IS_SEP(x) (*(x) == SEP)
 2513|    141|#endif
 2514|    141|#define SEP_OR_END(x) (IS_SEP(x) || IS_END(x))
 2515|       |
 2516|    141|    Py_ssize_t drvsize, rootsize;
 2517|    141|    _Py_skiproot(path, size, &drvsize, &rootsize);
 2518|    141|    if (drvsize || rootsize) {
  ------------------
  |  Branch (2518:9): [True: 0, False: 141]
  |  Branch (2518:20): [True: 139, False: 2]
  ------------------
 2519|       |        // Skip past root and update minP2
 2520|    139|        p1 = &path[drvsize + rootsize];
 2521|    139|#ifndef ALTSEP
 2522|    139|        p2 = p1;
 2523|       |#else
 2524|       |        for (; p2 < p1; ++p2) {
 2525|       |            if (*p2 == ALTSEP) {
 2526|       |                *p2 = SEP;
 2527|       |            }
 2528|       |        }
 2529|       |#endif
 2530|    139|        minP2 = p2 - 1;
 2531|    139|        lastC = *minP2;
 2532|       |#ifdef MS_WINDOWS
 2533|       |        if (lastC != SEP) {
 2534|       |            minP2++;
 2535|       |        }
 2536|       |#endif
 2537|    139|    }
 2538|    141|    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: 141]
  ------------------
 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.95k|    for (; !IS_END(p1); ++p1) {
  ------------------
  |  | 2508|  8.95k|#define IS_END(x) (pEnd ? (x) == pEnd : !*(x))
  |  |  ------------------
  |  |  |  Branch (2508:20): [True: 8.19k, False: 764]
  |  |  ------------------
  ------------------
  |  Branch (2552:12): [True: 8.81k, False: 141]
  ------------------
 2553|  8.81k|        wchar_t c = *p1;
 2554|       |#ifdef ALTSEP
 2555|       |        if (c == ALTSEP) {
 2556|       |            c = SEP;
 2557|       |        }
 2558|       |#endif
 2559|  8.81k|        if (lastC == SEP) {
  ------------------
  |  |   29|  8.81k|#  define SEP L'/'
  ------------------
  |  Branch (2559:13): [True: 745, False: 8.07k]
  ------------------
 2560|    745|            if (c == L'.') {
  ------------------
  |  Branch (2560:17): [True: 3, False: 742]
  ------------------
 2561|      3|                int sep_at_1 = SEP_OR_END(&p1[1]);
  ------------------
  |  | 2514|      3|#define SEP_OR_END(x) (IS_SEP(x) || IS_END(x))
  |  |  ------------------
  |  |  |  | 2512|      6|#define IS_SEP(x) (*(x) == SEP)
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|      3|#  define SEP L'/'
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2512:19): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define SEP_OR_END(x) (IS_SEP(x) || IS_END(x))
  |  |  ------------------
  |  |  |  | 2508|      3|#define IS_END(x) (pEnd ? (x) == pEnd : !*(x))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2508:19): [True: 0, False: 3]
  |  |  |  |  |  Branch (2508:20): [True: 3, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2562|      3|                int sep_at_2 = !sep_at_1 && SEP_OR_END(&p1[2]);
  ------------------
  |  | 2514|      3|#define SEP_OR_END(x) (IS_SEP(x) || IS_END(x))
  |  |  ------------------
  |  |  |  | 2512|      6|#define IS_SEP(x) (*(x) == SEP)
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|      3|#  define SEP L'/'
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2512:19): [True: 0, False: 3]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define SEP_OR_END(x) (IS_SEP(x) || IS_END(x))
  |  |  ------------------
  |  |  |  | 2508|      3|#define IS_END(x) (pEnd ? (x) == pEnd : !*(x))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (2508:19): [True: 0, False: 3]
  |  |  |  |  |  Branch (2508:20): [True: 3, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2562:32): [True: 3, False: 0]
  ------------------
 2563|      3|                if (sep_at_2 && p1[1] == L'.') {
  ------------------
  |  Branch (2563:21): [True: 0, False: 3]
  |  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|      3|                } else if (sep_at_1) {
  ------------------
  |  Branch (2582:28): [True: 0, False: 3]
  ------------------
 2583|      3|                } else {
 2584|      3|                    *p2++ = lastC = c;
 2585|      3|                }
 2586|    742|            } else if (c == SEP) {
  ------------------
  |  |   29|    742|#  define SEP L'/'
  ------------------
  |  Branch (2586:24): [True: 0, False: 742]
  ------------------
 2587|    742|            } else {
 2588|    742|                *p2++ = lastC = c;
 2589|    742|            }
 2590|  8.07k|        } else {
 2591|  8.07k|            *p2++ = lastC = c;
 2592|  8.07k|        }
 2593|  8.81k|    }
 2594|    141|    *p2 = L'\0';
 2595|    141|    if (p2 != minP2) {
  ------------------
  |  Branch (2595:9): [True: 141, False: 0]
  ------------------
 2596|    141|        while (--p2 != minP2 && *p2 == SEP) {
  ------------------
  |  |   29|    141|#  define SEP L'/'
  ------------------
  |  Branch (2596:16): [True: 141, False: 0]
  |  Branch (2596:33): [True: 0, False: 141]
  ------------------
 2597|      0|            *p2 = L'\0';
 2598|      0|        }
 2599|    141|    } else {
 2600|      0|        --p2;
 2601|      0|    }
 2602|    141|    *normsize = p2 - path + 1;
 2603|    141|#undef SEP_OR_END
 2604|    141|#undef IS_SEP
 2605|    141|#undef IS_END
 2606|    141|    return path;
 2607|    141|}
_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|  82.4k|{
  148|  82.4k|    size_t count = mbstowcs(dest, src, n);
  149|  82.4k|    if (dest != NULL && count != DECODE_ERROR) {
  ------------------
  |  Branch (149:9): [True: 41.2k, False: 41.2k]
  |  Branch (149:25): [True: 41.2k, False: 0]
  ------------------
  150|  1.07M|        for (size_t i=0; i < count; i++) {
  ------------------
  |  Branch (150:26): [True: 1.03M, False: 41.2k]
  ------------------
  151|  1.03M|            wchar_t ch = dest[i];
  152|  1.03M|            if (!is_valid_wide_char(ch)) {
  ------------------
  |  Branch (152:17): [True: 0, False: 1.03M]
  ------------------
  153|      0|                return DECODE_ERROR;
  154|      0|            }
  155|  1.03M|        }
  156|  41.2k|    }
  157|  82.4k|    return count;
  158|  82.4k|}
fileutils.c:is_valid_wide_char:
  121|  1.03M|{
  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.03M|    if (Py_UNICODE_IS_SURROGATE(ch)) {
  ------------------
  |  Branch (128:9): [True: 0, False: 1.03M]
  ------------------
  129|       |        // Reject lone surrogate characters
  130|      0|        return 0;
  131|      0|    }
  132|  1.03M|#if SIZEOF_WCHAR_T > 2
  133|  1.03M|    if (ch > _Py_MAX_UNICODE) {
  ------------------
  |  |   16|  1.03M|#define _Py_MAX_UNICODE 0x10ffff
  ------------------
  |  Branch (133:9): [True: 0, False: 1.03M]
  ------------------
  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.03M|#endif
  141|  1.03M|    return 1;
  142|  1.03M|}
fileutils.c:decode_current_locale:
  460|  41.2k|{
  461|  41.2k|    wchar_t *res;
  462|  41.2k|    size_t argsize;
  463|  41.2k|    size_t count;
  464|  41.2k|#ifdef HAVE_MBRTOWC
  465|  41.2k|    unsigned char *in;
  466|  41.2k|    wchar_t *out;
  467|  41.2k|    mbstate_t mbs;
  468|  41.2k|#endif
  469|       |
  470|  41.2k|    int surrogateescape;
  471|  41.2k|    if (get_surrogateescape(errors, &surrogateescape) < 0) {
  ------------------
  |  Branch (471:9): [True: 0, False: 41.2k]
  ------------------
  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|  41.2k|    argsize = _Py_mbstowcs(NULL, arg, 0);
  483|  41.2k|#endif
  484|  41.2k|    if (argsize != DECODE_ERROR) {
  ------------------
  |  Branch (484:9): [True: 41.2k, False: 0]
  ------------------
  485|  41.2k|        if (argsize > PY_SSIZE_T_MAX / sizeof(wchar_t) - 1) {
  ------------------
  |  |  137|  41.2k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (485:13): [True: 0, False: 41.2k]
  ------------------
  486|      0|            return -1;
  487|      0|        }
  488|  41.2k|        res = (wchar_t *)PyMem_RawMalloc((argsize + 1) * sizeof(wchar_t));
  489|  41.2k|        if (!res) {
  ------------------
  |  Branch (489:13): [True: 0, False: 41.2k]
  ------------------
  490|      0|            return -1;
  491|      0|        }
  492|       |
  493|  41.2k|        count = _Py_mbstowcs(res, arg, argsize + 1);
  494|  41.2k|        if (count != DECODE_ERROR) {
  ------------------
  |  Branch (494:13): [True: 41.2k, False: 0]
  ------------------
  495|  41.2k|            *wstr = res;
  496|  41.2k|            if (wlen != NULL) {
  ------------------
  |  Branch (496:17): [True: 41.2k, False: 0]
  ------------------
  497|  41.2k|                *wlen = count;
  498|  41.2k|            }
  499|  41.2k|            return 0;
  500|  41.2k|        }
  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|  41.2k|{
   64|  41.2k|    switch (errors)
   65|  41.2k|    {
   66|      0|    case _Py_ERROR_STRICT:
  ------------------
  |  Branch (66:5): [True: 0, False: 41.2k]
  ------------------
   67|      0|        *surrogateescape = 0;
   68|      0|        return 0;
   69|  41.2k|    case _Py_ERROR_SURROGATEESCAPE:
  ------------------
  |  Branch (69:5): [True: 41.2k, False: 0]
  ------------------
   70|  41.2k|        *surrogateescape = 1;
   71|  41.2k|        return 0;
   72|      0|    default:
  ------------------
  |  Branch (72:5): [True: 0, False: 41.2k]
  ------------------
   73|      0|        return -1;
   74|  41.2k|    }
   75|  41.2k|}
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|  4.04k|{
 1448|       |#ifdef MS_WINDOWS
 1449|       |    HANDLE handle;
 1450|       |    DWORD flags;
 1451|       |#else
 1452|  4.04k|#if defined(HAVE_SYS_IOCTL_H) && defined(FIOCLEX) && defined(FIONCLEX)
 1453|  4.04k|    static int ioctl_works = -1;
 1454|  4.04k|    int request;
 1455|  4.04k|    int err;
 1456|  4.04k|#endif
 1457|  4.04k|    int flags, new_flags;
 1458|  4.04k|    int res;
 1459|  4.04k|#endif
 1460|       |
 1461|       |    /* atomic_flag_works can only be used to make the file descriptor
 1462|       |       non-inheritable */
 1463|  4.04k|    assert(!(atomic_flag_works != NULL && inheritable));
 1464|       |
 1465|  4.04k|    if (atomic_flag_works != NULL && !inheritable) {
  ------------------
  |  Branch (1465:9): [True: 4.04k, False: 0]
  |  Branch (1465:38): [True: 4.04k, False: 0]
  ------------------
 1466|  4.04k|        if (_Py_atomic_load_int_relaxed(atomic_flag_works) == -1) {
  ------------------
  |  Branch (1466:13): [True: 2, False: 4.04k]
  ------------------
 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|  4.04k|        if (_Py_atomic_load_int_relaxed(atomic_flag_works))
  ------------------
  |  Branch (1473:13): [True: 4.04k, False: 0]
  ------------------
 1474|  4.04k|            return 0;
 1475|  4.04k|    }
 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|  4.35k|{
 1926|  4.35k|    Py_ssize_t n;
 1927|  4.35k|    int err;
 1928|  4.35k|    int async_err = 0;
 1929|       |
 1930|  4.35k|    _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|  4.35k|    if (count > _PY_WRITE_MAX) {
  ------------------
  |  |   60|  4.35k|#   define _PY_WRITE_MAX PY_SSIZE_T_MAX
  |  |  ------------------
  |  |  |  |  137|  4.35k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  ------------------
  |  Branch (1951:9): [True: 0, False: 4.35k]
  ------------------
 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|  4.35k|    if (gil_held) {
  ------------------
  |  Branch (1955:9): [True: 4.35k, False: 0]
  ------------------
 1956|  4.35k|        do {
 1957|  4.35k|            Py_BEGIN_ALLOW_THREADS
  ------------------
  |  |  119|  4.35k|#define Py_BEGIN_ALLOW_THREADS { \
  |  |  120|  4.35k|                        PyThreadState *_save; \
  |  |  121|  4.35k|                        _save = PyEval_SaveThread();
  ------------------
 1958|  4.35k|            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|  4.35k|            n = write(fd, buf, count);
 1974|  4.35k|#endif
 1975|       |            /* save/restore errno because PyErr_CheckSignals()
 1976|       |             * and PyErr_SetFromErrno() can modify it */
 1977|  4.35k|            err = errno;
 1978|  4.35k|            Py_END_ALLOW_THREADS
  ------------------
  |  |  124|  4.35k|#define Py_END_ALLOW_THREADS    PyEval_RestoreThread(_save); \
  |  |  125|  4.35k|                 }
  ------------------
 1979|  4.35k|        } while (n < 0 && err == EINTR &&
  ------------------
  |  Branch (1979:18): [True: 0, False: 4.35k]
  |  Branch (1979:27): [True: 0, False: 0]
  ------------------
 1980|      0|                !(async_err = PyErr_CheckSignals()));
  ------------------
  |  Branch (1980:17): [True: 0, False: 0]
  ------------------
 1981|  4.35k|    }
 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|  4.35k|    _Py_END_SUPPRESS_IPH
 2005|       |
 2006|  4.35k|    if (async_err) {
  ------------------
  |  Branch (2006:9): [True: 0, False: 4.35k]
  ------------------
 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|  4.35k|    if (n < 0) {
  ------------------
  |  Branch (2014:9): [True: 0, False: 4.35k]
  ------------------
 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|  4.35k|    return n;
 2022|  4.35k|}
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:
  438|  2.43k|{
  439|  2.43k|    cfg_builder *g = PyMem_Malloc(sizeof(cfg_builder));
  440|  2.43k|    if (g == NULL) {
  ------------------
  |  Branch (440:9): [True: 0, False: 2.43k]
  ------------------
  441|      0|        PyErr_NoMemory();
  442|      0|        return NULL;
  443|      0|    }
  444|  2.43k|    memset(g, 0, sizeof(cfg_builder));
  445|  2.43k|    if (init_cfg_builder(g) < 0) {
  ------------------
  |  Branch (445:9): [True: 0, False: 2.43k]
  ------------------
  446|      0|        PyMem_Free(g);
  447|      0|        return NULL;
  448|      0|    }
  449|  2.43k|    return g;
  450|  2.43k|}
_PyCfgBuilder_Free:
  454|  2.43k|{
  455|  2.43k|    if (g == NULL) {
  ------------------
  |  Branch (455:9): [True: 0, False: 2.43k]
  ------------------
  456|      0|        return;
  457|      0|    }
  458|  2.43k|    assert(cfg_builder_check(g));
  459|  2.43k|    basicblock *b = g->g_block_list;
  460|  17.0k|    while (b != NULL) {
  ------------------
  |  Branch (460:12): [True: 14.5k, False: 2.43k]
  ------------------
  461|  14.5k|        if (b->b_instr) {
  ------------------
  |  Branch (461:13): [True: 14.5k, False: 0]
  ------------------
  462|  14.5k|            PyMem_Free((void *)b->b_instr);
  463|  14.5k|        }
  464|  14.5k|        basicblock *next = b->b_list;
  465|  14.5k|        PyMem_Free((void *)b);
  466|  14.5k|        b = next;
  467|  14.5k|    }
  468|  2.43k|    PyMem_Free(g);
  469|  2.43k|}
_PyCfgBuilder_CheckSize:
  473|  2.43k|{
  474|  2.43k|    int nblocks = 0;
  475|  16.4k|    for (basicblock *b = g->g_block_list; b != NULL; b = b->b_list) {
  ------------------
  |  Branch (475:43): [True: 14.0k, False: 2.43k]
  ------------------
  476|  14.0k|        nblocks++;
  477|  14.0k|    }
  478|  2.43k|    if ((size_t)nblocks > SIZE_MAX / sizeof(basicblock *)) {
  ------------------
  |  Branch (478:9): [True: 0, False: 2.43k]
  ------------------
  479|      0|        PyErr_NoMemory();
  480|      0|        return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
  481|      0|    }
  482|  2.43k|    return SUCCESS;
  ------------------
  |  |   20|  2.43k|#define SUCCESS 0
  ------------------
  483|  2.43k|}
_PyCfgBuilder_UseLabel:
  487|  5.94k|{
  488|  5.94k|    g->g_current_label = lbl;
  489|  5.94k|    return cfg_builder_maybe_start_new_block(g);
  490|  5.94k|}
_PyCfgBuilder_Addop:
  494|   103k|{
  495|   103k|    RETURN_IF_ERROR(cfg_builder_maybe_start_new_block(g));
  ------------------
  |  |   24|   103k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 103k]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
  496|   103k|    return basicblock_addop(g->g_curblock, opcode, oparg, loc);
  497|   103k|}
_PyCfg_OptimizeCodeUnit:
 3755|  2.43k|{
 3756|  2.43k|    assert(cfg_builder_check(g));
 3757|       |    /** Preprocessing **/
 3758|       |    /* Map labels to targets and mark exception handlers */
 3759|  2.43k|    RETURN_IF_ERROR(translate_jump_labels_to_targets(g->g_entryblock));
  ------------------
  |  |   24|  2.43k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 2.43k]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
 3760|  2.43k|    RETURN_IF_ERROR(mark_except_handlers(g->g_entryblock));
  ------------------
  |  |   24|  2.43k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 2.43k]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
 3761|  2.43k|    RETURN_IF_ERROR(label_exception_targets(g->g_entryblock));
  ------------------
  |  |   24|  2.43k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 2.43k]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
 3762|       |
 3763|       |    /** Optimization **/
 3764|       |
 3765|  2.43k|    _Py_hashtable_t *consts_index = _Py_hashtable_new(
 3766|  2.43k|        _Py_hashtable_hash_ptr, _Py_hashtable_compare_direct);
 3767|  2.43k|    if (consts_index == NULL) {
  ------------------
  |  Branch (3767:9): [True: 0, False: 2.43k]
  ------------------
 3768|      0|        PyErr_NoMemory();
 3769|      0|        return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
 3770|      0|    }
 3771|       |
 3772|  12.9k|    for (Py_ssize_t i = 0; i < PyList_GET_SIZE(consts); i++) {
  ------------------
  |  |   38|  12.9k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3772:28): [True: 10.4k, False: 2.43k]
  ------------------
 3773|  10.4k|        PyObject *item = PyList_GET_ITEM(consts, i);
  ------------------
  |  |   40|  10.4k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|  10.4k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3774|  10.4k|        if (_Py_hashtable_get_entry(consts_index, (void *)item) != NULL) {
  ------------------
  |  Branch (3774:13): [True: 0, False: 10.4k]
  ------------------
 3775|      0|            continue;
 3776|      0|        }
 3777|  10.4k|        if (_Py_hashtable_set(consts_index, (void *)item,
  ------------------
  |  Branch (3777:13): [True: 0, False: 10.4k]
  ------------------
 3778|  10.4k|                              (void *)(uintptr_t)i) < 0) {
 3779|      0|            _Py_hashtable_destroy(consts_index);
 3780|      0|            PyErr_NoMemory();
 3781|      0|            return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
 3782|      0|        }
 3783|  10.4k|    }
 3784|       |
 3785|  2.43k|    int ret = optimize_cfg(g, consts, const_cache, consts_index, firstlineno);
 3786|       |
 3787|  2.43k|    _Py_hashtable_destroy(consts_index);
 3788|       |
 3789|  2.43k|    RETURN_IF_ERROR(ret);
  ------------------
  |  |   24|  2.43k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 2.43k]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
 3790|       |
 3791|  2.43k|    RETURN_IF_ERROR(remove_unused_consts(g->g_entryblock, consts));
  ------------------
  |  |   24|  2.43k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 2.43k]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
 3792|  2.43k|    RETURN_IF_ERROR(
  ------------------
  |  |   24|  2.43k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 2.43k]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
 3793|  2.43k|        add_checks_for_loads_of_uninitialized_variables(
 3794|  2.43k|            g->g_entryblock, nlocals, nparams));
 3795|  2.43k|    RETURN_IF_ERROR(insert_superinstructions(g));
  ------------------
  |  |   24|  2.43k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 2.43k]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
 3796|       |
 3797|  2.43k|    RETURN_IF_ERROR(push_cold_blocks_to_end(g));
  ------------------
  |  |   24|  2.43k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 2.43k]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
 3798|  2.43k|    RETURN_IF_ERROR(resolve_line_numbers(g, firstlineno));
  ------------------
  |  |   24|  2.43k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 2.43k]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
 3799|       |    // temporarily remove assert. See https://github.com/python/cpython/issues/125845
 3800|       |    // assert(all_exits_have_lineno(g->g_entryblock));
 3801|  2.43k|    return SUCCESS;
  ------------------
  |  |   20|  2.43k|#define SUCCESS 0
  ------------------
 3802|  2.43k|}
_PyCfg_FromInstructionSequence:
 3992|  2.43k|{
 3993|  2.43k|    if (_PyInstructionSequence_ApplyLabelMap(seq) < 0) {
  ------------------
  |  Branch (3993:9): [True: 0, False: 2.43k]
  ------------------
 3994|      0|        return NULL;
 3995|      0|    }
 3996|  2.43k|    cfg_builder *g = _PyCfgBuilder_New();
 3997|  2.43k|    if (g == NULL) {
  ------------------
  |  Branch (3997:9): [True: 0, False: 2.43k]
  ------------------
 3998|      0|        return NULL;
 3999|      0|    }
 4000|   106k|    for (int i = 0; i < seq->s_used; i++) {
  ------------------
  |  Branch (4000:21): [True: 103k, False: 2.43k]
  ------------------
 4001|   103k|        seq->s_instrs[i].i_target = 0;
 4002|   103k|    }
 4003|   106k|    for (int i = 0; i < seq->s_used; i++) {
  ------------------
  |  Branch (4003:21): [True: 103k, False: 2.43k]
  ------------------
 4004|   103k|        _PyInstruction *instr = &seq->s_instrs[i];
 4005|   103k|        if (HAS_TARGET(instr->i_opcode)) {
  ------------------
  |  |   23|   103k|        (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1077|   207k|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1058|   103k|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1077:29): [True: 5.95k, False: 97.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   18|  97.9k|        ((opcode) == SETUP_FINALLY || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  255|   195k|#define SETUP_FINALLY                          264
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (18:10): [True: 517, False: 97.3k]
  |  |  |  |  ------------------
  |  |  |  |   19|  97.9k|         (opcode) == SETUP_WITH || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  256|   195k|#define SETUP_WITH                             265
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (19:10): [True: 52, False: 97.3k]
  |  |  |  |  ------------------
  |  |  |  |   20|  97.9k|         (opcode) == SETUP_CLEANUP)
  |  |  |  |  ------------------
  |  |  |  |  |  |  254|  97.3k|#define SETUP_CLEANUP                          263
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (20:10): [True: 672, False: 96.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4006|  7.19k|            assert(instr->i_oparg >= 0 && instr->i_oparg < seq->s_used);
 4007|  7.19k|            seq->s_instrs[instr->i_oparg].i_target = 1;
 4008|  7.19k|        }
 4009|   103k|    }
 4010|  2.43k|    int offset = 0;
 4011|   106k|    for (int i = 0; i < seq->s_used; i++) {
  ------------------
  |  Branch (4011:21): [True: 103k, False: 2.43k]
  ------------------
 4012|   103k|        _PyInstruction *instr = &seq->s_instrs[i];
 4013|   103k|        if (instr->i_opcode == ANNOTATIONS_PLACEHOLDER) {
  ------------------
  |  |  247|   103k|#define ANNOTATIONS_PLACEHOLDER                256
  ------------------
  |  Branch (4013:13): [True: 264, False: 103k]
  ------------------
 4014|    264|            if (seq->s_annotations_code != NULL) {
  ------------------
  |  Branch (4014:17): [True: 0, False: 264]
  ------------------
 4015|      0|                assert(seq->s_annotations_code->s_labelmap_size == 0
 4016|      0|                    && seq->s_annotations_code->s_nested == NULL);
 4017|      0|                for (int j = 0; j < seq->s_annotations_code->s_used; j++) {
  ------------------
  |  Branch (4017:33): [True: 0, False: 0]
  ------------------
 4018|      0|                    _PyInstruction *ann_instr = &seq->s_annotations_code->s_instrs[j];
 4019|      0|                    assert(!HAS_TARGET(ann_instr->i_opcode));
 4020|      0|                    if (_PyCfgBuilder_Addop(g, ann_instr->i_opcode, ann_instr->i_oparg, ann_instr->i_loc) < 0) {
  ------------------
  |  Branch (4020:25): [True: 0, False: 0]
  ------------------
 4021|      0|                        goto error;
 4022|      0|                    }
 4023|      0|                }
 4024|      0|                offset += seq->s_annotations_code->s_used - 1;
 4025|      0|            }
 4026|    264|            else {
 4027|    264|                offset -= 1;
 4028|    264|            }
 4029|    264|            continue;
 4030|    264|        }
 4031|   103k|        if (instr->i_target) {
  ------------------
  |  Branch (4031:13): [True: 5.94k, False: 97.6k]
  ------------------
 4032|  5.94k|            jump_target_label lbl_ = {i + offset};
 4033|  5.94k|            if (_PyCfgBuilder_UseLabel(g, lbl_) < 0) {
  ------------------
  |  Branch (4033:17): [True: 0, False: 5.94k]
  ------------------
 4034|      0|                goto error;
 4035|      0|            }
 4036|  5.94k|        }
 4037|   103k|        int opcode = instr->i_opcode;
 4038|   103k|        int oparg = instr->i_oparg;
 4039|   103k|        if (HAS_TARGET(opcode)) {
  ------------------
  |  |   23|   103k|        (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1077|   207k|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1058|   103k|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1077:29): [True: 5.95k, False: 97.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   18|  97.6k|        ((opcode) == SETUP_FINALLY || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  255|   195k|#define SETUP_FINALLY                          264
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (18:10): [True: 517, False: 97.1k]
  |  |  |  |  ------------------
  |  |  |  |   19|  97.6k|         (opcode) == SETUP_WITH || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  256|   194k|#define SETUP_WITH                             265
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (19:10): [True: 52, False: 97.0k]
  |  |  |  |  ------------------
  |  |  |  |   20|  97.6k|         (opcode) == SETUP_CLEANUP)
  |  |  |  |  ------------------
  |  |  |  |  |  |  254|  97.0k|#define SETUP_CLEANUP                          263
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (20:10): [True: 672, False: 96.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4040|  7.19k|            oparg += offset;
 4041|  7.19k|        }
 4042|   103k|        if (_PyCfgBuilder_Addop(g, opcode, oparg, instr->i_loc) < 0) {
  ------------------
  |  Branch (4042:13): [True: 0, False: 103k]
  ------------------
 4043|      0|            goto error;
 4044|      0|        }
 4045|   103k|    }
 4046|  2.43k|    if (_PyCfgBuilder_CheckSize(g) < 0) {
  ------------------
  |  Branch (4046:9): [True: 0, False: 2.43k]
  ------------------
 4047|      0|        goto error;
 4048|      0|    }
 4049|  2.43k|    return g;
 4050|      0|error:
 4051|      0|    _PyCfgBuilder_Free(g);
 4052|       |    return NULL;
 4053|  2.43k|}
_PyCfg_ToInstructionSequence:
 4057|  2.43k|{
 4058|  2.43k|    int lbl = 0;
 4059|  17.0k|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (4059:43): [True: 14.5k, False: 2.43k]
  ------------------
 4060|  14.5k|        b->b_label = (jump_target_label){lbl};
 4061|  14.5k|        lbl += 1;
 4062|  14.5k|    }
 4063|  17.0k|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (4063:43): [True: 14.5k, False: 2.43k]
  ------------------
 4064|  14.5k|        RETURN_IF_ERROR(_PyInstructionSequence_UseLabel(seq, b->b_label.id));
  ------------------
  |  |   24|  14.5k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 14.5k]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
 4065|   108k|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (4065:25): [True: 94.1k, False: 14.5k]
  ------------------
 4066|  94.1k|            cfg_instr *instr = &b->b_instr[i];
 4067|  94.1k|            if (HAS_TARGET(instr->i_opcode)) {
  ------------------
  |  |   23|  94.1k|        (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1077|   188k|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1058|  94.1k|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1077:29): [True: 5.30k, False: 88.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   18|  88.8k|        ((opcode) == SETUP_FINALLY || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  255|   177k|#define SETUP_FINALLY                          264
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (18:10): [True: 0, False: 88.8k]
  |  |  |  |  ------------------
  |  |  |  |   19|  88.8k|         (opcode) == SETUP_WITH || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  256|   177k|#define SETUP_WITH                             265
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (19:10): [True: 0, False: 88.8k]
  |  |  |  |  ------------------
  |  |  |  |   20|  88.8k|         (opcode) == SETUP_CLEANUP)
  |  |  |  |  ------------------
  |  |  |  |  |  |  254|  88.8k|#define SETUP_CLEANUP                          263
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (20:10): [True: 0, False: 88.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4068|       |                /* Set oparg to the label id (it will later be mapped to an offset) */
 4069|  5.30k|                instr->i_oparg = instr->i_target->b_label.id;
 4070|  5.30k|            }
 4071|  94.1k|            RETURN_IF_ERROR(
  ------------------
  |  |   24|  94.1k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 94.1k]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
 4072|  94.1k|                _PyInstructionSequence_Addop(
 4073|  94.1k|                    seq, instr->i_opcode, instr->i_oparg, instr->i_loc));
 4074|       |
 4075|  94.1k|            _PyExceptHandlerInfo *hi = &seq->s_instrs[seq->s_used-1].i_except_handler_info;
 4076|  94.1k|            if (instr->i_except != NULL) {
  ------------------
  |  Branch (4076:17): [True: 21.2k, False: 72.9k]
  ------------------
 4077|  21.2k|                hi->h_label = instr->i_except->b_label.id;
 4078|  21.2k|                hi->h_startdepth = instr->i_except->b_startdepth;
 4079|  21.2k|                hi->h_preserve_lasti = instr->i_except->b_preserve_lasti;
 4080|  21.2k|            }
 4081|  72.9k|            else {
 4082|  72.9k|                hi->h_label = -1;
 4083|  72.9k|            }
 4084|  94.1k|        }
 4085|  14.5k|    }
 4086|  2.43k|    if (_PyInstructionSequence_ApplyLabelMap(seq) < 0) {
  ------------------
  |  Branch (4086:9): [True: 0, False: 2.43k]
  ------------------
 4087|      0|        return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
 4088|      0|    }
 4089|  2.43k|    return SUCCESS;
  ------------------
  |  |   20|  2.43k|#define SUCCESS 0
  ------------------
 4090|  2.43k|}
_PyCfg_OptimizedCfgToInstructionSequence:
 4098|  2.43k|{
 4099|  2.43k|    RETURN_IF_ERROR(convert_pseudo_conditional_jumps(g));
  ------------------
  |  |   24|  2.43k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 2.43k]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
 4100|       |
 4101|  2.43k|    *stackdepth = calculate_stackdepth(g);
 4102|  2.43k|    if (*stackdepth < 0) {
  ------------------
  |  Branch (4102:9): [True: 0, False: 2.43k]
  ------------------
 4103|      0|        return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
 4104|      0|    }
 4105|       |
 4106|  2.43k|    *nlocalsplus = prepare_localsplus(umd, g);
 4107|  2.43k|    if (*nlocalsplus < 0) {
  ------------------
  |  Branch (4107:9): [True: 0, False: 2.43k]
  ------------------
 4108|      0|        return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
 4109|      0|    }
 4110|       |
 4111|  2.43k|    RETURN_IF_ERROR(convert_pseudo_ops(g));
  ------------------
  |  |   24|  2.43k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 2.43k]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
 4112|       |
 4113|       |    /* Order of basic blocks must have been determined by now */
 4114|       |
 4115|  2.43k|    RETURN_IF_ERROR(normalize_jumps(g));
  ------------------
  |  |   24|  2.43k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 2.43k]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
 4116|  2.43k|    assert(no_redundant_jumps(g));
 4117|       |
 4118|       |    /* Can't modify the bytecode after inserting instructions that produce
 4119|       |     * borrowed references.
 4120|       |     */
 4121|  2.43k|    RETURN_IF_ERROR(optimize_load_fast(g));
  ------------------
  |  |   24|  2.43k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 2.43k]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
 4122|       |
 4123|       |    /* Can't modify the bytecode after computing jump offsets. */
 4124|  2.43k|    if (_PyCfg_ToInstructionSequence(g, seq) < 0) {
  ------------------
  |  Branch (4124:9): [True: 0, False: 2.43k]
  ------------------
 4125|      0|        return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
 4126|      0|    }
 4127|       |
 4128|  2.43k|    return SUCCESS;
  ------------------
  |  |   20|  2.43k|#define SUCCESS 0
  ------------------
 4129|  2.43k|}
PyCompile_OpcodeStackEffect:
 4156|     15|{
 4157|     15|    stack_effects effs;
 4158|     15|    if (get_stack_effects(opcode, oparg, -1, &effs) < 0) {
  ------------------
  |  Branch (4158:9): [True: 0, False: 15]
  ------------------
 4159|      0|        return PY_INVALID_STACK_EFFECT;
  ------------------
  |  |   48|      0|#define PY_INVALID_STACK_EFFECT INT_MAX
  ------------------
 4160|      0|    }
 4161|     15|    return effs.net;
 4162|     15|}
flowgraph.c:init_cfg_builder:
  425|  2.43k|{
  426|  2.43k|    g->g_block_list = NULL;
  427|  2.43k|    basicblock *block = cfg_builder_new_block(g);
  428|  2.43k|    if (block == NULL) {
  ------------------
  |  Branch (428:9): [True: 0, False: 2.43k]
  ------------------
  429|      0|        return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
  430|      0|    }
  431|  2.43k|    g->g_curblock = g->g_entryblock = block;
  432|  2.43k|    g->g_current_label = NO_LABEL;
  ------------------
  |  |   57|  2.43k|#define NO_LABEL ((const _PyJumpTargetLabel){-1})
  ------------------
  433|  2.43k|    return SUCCESS;
  ------------------
  |  |   20|  2.43k|#define SUCCESS 0
  ------------------
  434|  2.43k|}
flowgraph.c:cfg_builder_new_block:
  176|  14.5k|{
  177|  14.5k|    basicblock *b = (basicblock *)PyMem_Calloc(1, sizeof(basicblock));
  178|  14.5k|    if (b == NULL) {
  ------------------
  |  Branch (178:9): [True: 0, False: 14.5k]
  ------------------
  179|      0|        PyErr_NoMemory();
  180|      0|        return NULL;
  181|      0|    }
  182|       |    /* Extend the singly linked list of blocks with new block. */
  183|  14.5k|    b->b_list = g->g_block_list;
  184|  14.5k|    g->g_block_list = b;
  185|  14.5k|    b->b_label = NO_LABEL;
  ------------------
  |  |   57|  14.5k|#define NO_LABEL ((const _PyJumpTargetLabel){-1})
  ------------------
  186|  14.5k|    return b;
  187|  14.5k|}
flowgraph.c:cfg_builder_maybe_start_new_block:
  389|   109k|{
  390|   109k|    if (cfg_builder_current_block_is_terminated(g)) {
  ------------------
  |  Branch (390:9): [True: 11.5k, False: 97.9k]
  ------------------
  391|  11.5k|        basicblock *b = cfg_builder_new_block(g);
  392|  11.5k|        if (b == NULL) {
  ------------------
  |  Branch (392:13): [True: 0, False: 11.5k]
  ------------------
  393|      0|            return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
  394|      0|        }
  395|  11.5k|        b->b_label = g->g_current_label;
  396|  11.5k|        g->g_current_label = NO_LABEL;
  ------------------
  |  |   57|  11.5k|#define NO_LABEL ((const _PyJumpTargetLabel){-1})
  ------------------
  397|  11.5k|        cfg_builder_use_next_block(g, b);
  398|  11.5k|    }
  399|   109k|    return SUCCESS;
  ------------------
  |  |   20|   109k|#define SUCCESS 0
  ------------------
  400|   109k|}
flowgraph.c:cfg_builder_current_block_is_terminated:
  369|   109k|{
  370|   109k|    cfg_instr *last = basicblock_last_instr(g->g_curblock);
  371|   109k|    if (last && IS_TERMINATOR_OPCODE(last->i_opcode)) {
  ------------------
  |  |   27|   101k|        (OPCODE_HAS_JUMP(opcode) || IS_SCOPE_EXIT_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1077|   202k|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1058|   101k|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1077:29): [True: 5.95k, False: 95.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_SCOPE_EXIT_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   53|  95.2k|        ((opcode) == RETURN_VALUE || \
  |  |  |  |  ------------------
  |  |  |  |  |  |   46|   190k|#define RETURN_VALUE                            33
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (53:10): [True: 1.97k, False: 93.2k]
  |  |  |  |  ------------------
  |  |  |  |   54|  95.2k|         (opcode) == RAISE_VARARGS || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  116|   188k|#define RAISE_VARARGS                          103
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (54:10): [True: 691, False: 92.5k]
  |  |  |  |  ------------------
  |  |  |  |   55|  95.2k|         (opcode) == RERAISE)
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|  92.5k|#define RERAISE                                104
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:10): [True: 1.08k, False: 91.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (371:9): [True: 101k, False: 8.38k]
  ------------------
  372|  9.70k|        return true;
  373|  9.70k|    }
  374|  99.8k|    if (IS_LABEL(g->g_current_label)) {
  ------------------
  |  |   95|  99.8k|#define IS_LABEL(L) (!SAME_LABEL((L), (NO_LABEL)))
  |  |  ------------------
  |  |  |  |   94|  99.8k|#define SAME_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  ------------------
  |  |  |  Branch (95:21): [True: 1.89k, False: 97.9k]
  |  |  ------------------
  ------------------
  375|  1.89k|        if (last || IS_LABEL(g->g_curblock->b_label)) {
  ------------------
  |  |   95|      0|#define IS_LABEL(L) (!SAME_LABEL((L), (NO_LABEL)))
  |  |  ------------------
  |  |  |  |   94|      0|#define SAME_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  ------------------
  |  |  |  Branch (95:21): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (375:13): [True: 1.89k, False: 0]
  ------------------
  376|  1.89k|            return true;
  377|  1.89k|        }
  378|      0|        else {
  379|       |            /* current block is empty, label it */
  380|      0|            g->g_curblock->b_label = g->g_current_label;
  381|      0|            g->g_current_label = NO_LABEL;
  ------------------
  |  |   57|      0|#define NO_LABEL ((const _PyJumpTargetLabel){-1})
  ------------------
  382|      0|        }
  383|  1.89k|    }
  384|  97.9k|    return false;
  385|  99.8k|}
flowgraph.c:basicblock_last_instr:
  161|   442k|basicblock_last_instr(const basicblock *b) {
  162|   442k|    assert(b->b_iused >= 0);
  163|   442k|    if (b->b_iused > 0) {
  ------------------
  |  Branch (163:9): [True: 407k, False: 35.1k]
  ------------------
  164|   407k|        assert(b->b_instr != NULL);
  165|   407k|        return &b->b_instr[b->b_iused - 1];
  166|   407k|    }
  167|  35.1k|    return NULL;
  168|   442k|}
flowgraph.c:cfg_builder_use_next_block:
  344|  11.5k|{
  345|       |    assert(block != NULL);
  346|  11.5k|    g->g_curblock->b_next = block;
  347|  11.5k|    g->g_curblock = block;
  348|  11.5k|    return block;
  349|  11.5k|}
flowgraph.c:basicblock_addop:
  191|   107k|{
  192|   107k|    assert(IS_WITHIN_OPCODE_RANGE(opcode));
  193|   107k|    assert(!IS_ASSEMBLER_OPCODE(opcode));
  194|   107k|    assert(OPCODE_HAS_ARG(opcode) || HAS_TARGET(opcode) || oparg == 0);
  195|   107k|    assert(0 <= oparg && oparg < (1 << 30));
  196|       |
  197|   107k|    int off = basicblock_next_instr(b);
  198|   107k|    if (off < 0) {
  ------------------
  |  Branch (198:9): [True: 0, False: 107k]
  ------------------
  199|      0|        return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
  200|      0|    }
  201|   107k|    cfg_instr *i = &b->b_instr[off];
  202|   107k|    i->i_opcode = opcode;
  203|   107k|    i->i_oparg = oparg;
  204|   107k|    i->i_loc = loc;
  205|       |    // memory is already zero initialized
  206|   107k|    assert(i->i_target == NULL);
  207|   107k|    assert(i->i_except == NULL);
  208|       |
  209|   107k|    return SUCCESS;
  ------------------
  |  |   20|   107k|#define SUCCESS 0
  ------------------
  210|   107k|}
flowgraph.c:basicblock_next_instr:
  145|   110k|{
  146|   110k|    assert(b != NULL);
  147|   110k|    _Py_c_array_t array = {
  148|   110k|        .array = (void*)b->b_instr,
  149|   110k|        .allocated_entries = b->b_ialloc,
  150|   110k|        .item_size = sizeof(cfg_instr),
  151|   110k|        .initial_num_entries = DEFAULT_BLOCK_SIZE,
  ------------------
  |  |   28|   110k|#define DEFAULT_BLOCK_SIZE 16
  ------------------
  152|   110k|    };
  153|       |
  154|   110k|    RETURN_IF_ERROR(_Py_CArray_EnsureCapacity(&array, b->b_iused + 1));
  ------------------
  |  |   24|   110k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 110k]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
  155|   110k|    b->b_instr = array.array;
  156|   110k|    b->b_ialloc = array.allocated_entries;
  157|   110k|    return b->b_iused++;
  158|   110k|}
flowgraph.c:translate_jump_labels_to_targets:
  647|  2.43k|{
  648|  2.43k|    int max_label = get_max_label(entryblock);
  649|  2.43k|    size_t mapsize = sizeof(basicblock *) * (max_label + 1);
  650|  2.43k|    basicblock **label2block = (basicblock **)PyMem_Malloc(mapsize);
  651|  2.43k|    if (!label2block) {
  ------------------
  |  Branch (651:9): [True: 0, False: 2.43k]
  ------------------
  652|      0|        PyErr_NoMemory();
  653|      0|        return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
  654|      0|    }
  655|  2.43k|    memset(label2block, 0, mapsize);
  656|  16.4k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (656:38): [True: 14.0k, False: 2.43k]
  ------------------
  657|  14.0k|        if (b->b_label.id >= 0) {
  ------------------
  |  Branch (657:13): [True: 5.94k, False: 8.08k]
  ------------------
  658|  5.94k|            label2block[b->b_label.id] = b;
  659|  5.94k|        }
  660|  14.0k|    }
  661|  16.4k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (661:38): [True: 14.0k, False: 2.43k]
  ------------------
  662|   117k|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (662:25): [True: 103k, False: 14.0k]
  ------------------
  663|   103k|            cfg_instr *instr = &b->b_instr[i];
  664|   103k|            assert(instr->i_target == NULL);
  665|   103k|            if (HAS_TARGET(instr->i_opcode)) {
  ------------------
  |  |   23|   103k|        (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1077|   207k|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1058|   103k|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1077:29): [True: 5.95k, False: 97.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   18|  97.6k|        ((opcode) == SETUP_FINALLY || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  255|   195k|#define SETUP_FINALLY                          264
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (18:10): [True: 517, False: 97.1k]
  |  |  |  |  ------------------
  |  |  |  |   19|  97.6k|         (opcode) == SETUP_WITH || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  256|   194k|#define SETUP_WITH                             265
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (19:10): [True: 52, False: 97.0k]
  |  |  |  |  ------------------
  |  |  |  |   20|  97.6k|         (opcode) == SETUP_CLEANUP)
  |  |  |  |  ------------------
  |  |  |  |  |  |  254|  97.0k|#define SETUP_CLEANUP                          263
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (20:10): [True: 672, False: 96.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  666|  7.19k|                int lbl = instr->i_oparg;
  667|  7.19k|                assert(lbl >= 0 && lbl <= max_label);
  668|  7.19k|                instr->i_target = label2block[lbl];
  669|  7.19k|                assert(instr->i_target != NULL);
  670|  7.19k|                assert(instr->i_target->b_label.id == lbl);
  671|  7.19k|            }
  672|   103k|        }
  673|  14.0k|    }
  674|  2.43k|    PyMem_Free(label2block);
  675|  2.43k|    return SUCCESS;
  ------------------
  |  |   20|  2.43k|#define SUCCESS 0
  ------------------
  676|  2.43k|}
flowgraph.c:get_max_label:
  634|  9.24k|{
  635|  9.24k|    int lbl = -1;
  636|  65.5k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (636:38): [True: 56.3k, False: 9.24k]
  ------------------
  637|  56.3k|        if (b->b_label.id > lbl) {
  ------------------
  |  Branch (637:13): [True: 21.9k, False: 34.3k]
  ------------------
  638|  21.9k|            lbl = b->b_label.id;
  639|  21.9k|        }
  640|  56.3k|    }
  641|  9.24k|    return lbl;
  642|  9.24k|}
flowgraph.c:mark_except_handlers:
  679|  2.43k|mark_except_handlers(basicblock *entryblock) {
  680|       |#ifndef NDEBUG
  681|       |    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  682|       |        assert(!b->b_except_handler);
  683|       |    }
  684|       |#endif
  685|  16.4k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (685:38): [True: 14.0k, False: 2.43k]
  ------------------
  686|   117k|        for (int i=0; i < b->b_iused; i++) {
  ------------------
  |  Branch (686:23): [True: 103k, False: 14.0k]
  ------------------
  687|   103k|            cfg_instr *instr = &b->b_instr[i];
  688|   103k|            if (is_block_push(instr)) {
  ------------------
  |  Branch (688:17): [True: 1.24k, False: 102k]
  ------------------
  689|  1.24k|                instr->i_target->b_except_handler = 1;
  690|  1.24k|            }
  691|   103k|        }
  692|  14.0k|    }
  693|  2.43k|    return SUCCESS;
  ------------------
  |  |   20|  2.43k|#define SUCCESS 0
  ------------------
  694|  2.43k|}
flowgraph.c:is_block_push:
  102|   476k|{
  103|   476k|    assert(OPCODE_HAS_ARG(i->i_opcode) || !IS_BLOCK_PUSH_OPCODE(i->i_opcode));
  104|   476k|    return IS_BLOCK_PUSH_OPCODE(i->i_opcode);
  ------------------
  |  |   18|   476k|        ((opcode) == SETUP_FINALLY || \
  |  |  ------------------
  |  |  |  |  255|   952k|#define SETUP_FINALLY                          264
  |  |  ------------------
  |  |  |  Branch (18:10): [True: 2.56k, False: 473k]
  |  |  ------------------
  |  |   19|   476k|         (opcode) == SETUP_WITH || \
  |  |  ------------------
  |  |  |  |  256|   949k|#define SETUP_WITH                             265
  |  |  ------------------
  |  |  |  Branch (19:10): [True: 260, False: 473k]
  |  |  ------------------
  |  |   20|   476k|         (opcode) == SETUP_CLEANUP)
  |  |  ------------------
  |  |  |  |  254|   473k|#define SETUP_CLEANUP                          263
  |  |  ------------------
  |  |  |  Branch (20:10): [True: 3.34k, False: 469k]
  |  |  ------------------
  ------------------
  105|   476k|}
flowgraph.c:label_exception_targets:
  897|  2.43k|label_exception_targets(basicblock *entryblock) {
  898|  2.43k|    basicblock **todo_stack = make_cfg_traversal_stack(entryblock);
  899|  2.43k|    if (todo_stack == NULL) {
  ------------------
  |  Branch (899:9): [True: 0, False: 2.43k]
  ------------------
  900|      0|        return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
  901|      0|    }
  902|  2.43k|    struct _PyCfgExceptStack *except_stack = make_except_stack();
  903|  2.43k|    if (except_stack == NULL) {
  ------------------
  |  Branch (903:9): [True: 0, False: 2.43k]
  ------------------
  904|      0|        PyMem_Free(todo_stack);
  905|      0|        PyErr_NoMemory();
  906|      0|        return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
  907|      0|    }
  908|  2.43k|    except_stack->depth = 0;
  909|  2.43k|    todo_stack[0] = entryblock;
  910|  2.43k|    entryblock->b_visited = 1;
  911|  2.43k|    entryblock->b_exceptstack = except_stack;
  912|  2.43k|    basicblock **todo = &todo_stack[1];
  913|  2.43k|    basicblock *handler = NULL;
  914|  14.5k|    while (todo > todo_stack) {
  ------------------
  |  Branch (914:12): [True: 12.1k, False: 2.43k]
  ------------------
  915|  12.1k|        todo--;
  916|  12.1k|        basicblock *b = todo[0];
  917|  12.1k|        assert(b->b_visited == 1);
  918|  12.1k|        except_stack = b->b_exceptstack;
  919|  12.1k|        assert(except_stack != NULL);
  920|  12.1k|        b->b_exceptstack = NULL;
  921|  12.1k|        handler = except_stack_top(except_stack);
  922|  12.1k|        int last_yield_except_depth = -1;
  923|   111k|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (923:25): [True: 99.3k, False: 12.1k]
  ------------------
  924|  99.3k|            cfg_instr *instr = &b->b_instr[i];
  925|  99.3k|            if (is_block_push(instr)) {
  ------------------
  |  Branch (925:17): [True: 1.23k, False: 98.1k]
  ------------------
  926|  1.23k|                if (!instr->i_target->b_visited) {
  ------------------
  |  Branch (926:21): [True: 1.23k, False: 0]
  ------------------
  927|  1.23k|                    struct _PyCfgExceptStack *copy = copy_except_stack(except_stack);
  928|  1.23k|                    if (copy == NULL) {
  ------------------
  |  Branch (928:25): [True: 0, False: 1.23k]
  ------------------
  929|      0|                        goto error;
  930|      0|                    }
  931|  1.23k|                    instr->i_target->b_exceptstack = copy;
  932|  1.23k|                    todo[0] = instr->i_target;
  933|  1.23k|                    instr->i_target->b_visited = 1;
  934|  1.23k|                    todo++;
  935|  1.23k|                }
  936|  1.23k|                handler = push_except_block(except_stack, instr);
  937|  1.23k|            }
  938|  98.1k|            else if (instr->i_opcode == POP_BLOCK) {
  ------------------
  |  |  253|  98.1k|#define POP_BLOCK                              262
  ------------------
  |  Branch (938:22): [True: 966, False: 97.1k]
  ------------------
  939|    966|                handler = pop_except_block(except_stack);
  940|    966|                INSTR_SET_OP0(instr, NOP);
  ------------------
  |  |  124|    966|    do { \
  |  |  125|    966|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  126|    966|        cfg_instr *_instr__ptr_ = (I); \
  |  |  127|    966|        _instr__ptr_->i_opcode = (OP); \
  |  |  128|    966|        _instr__ptr_->i_oparg = 0; \
  |  |  129|    966|    } while (0);
  |  |  ------------------
  |  |  |  Branch (129:14): [Folded, False: 966]
  |  |  ------------------
  ------------------
  941|    966|            }
  942|  97.1k|            else if (is_jump(instr)) {
  ------------------
  |  Branch (942:22): [True: 5.61k, False: 91.5k]
  ------------------
  943|  5.61k|                instr->i_except = handler;
  944|  5.61k|                assert(i == b->b_iused -1);
  945|  5.61k|                if (!instr->i_target->b_visited) {
  ------------------
  |  Branch (945:21): [True: 4.09k, False: 1.52k]
  ------------------
  946|  4.09k|                    if (BB_HAS_FALLTHROUGH(b)) {
  ------------------
  |  |  250|  4.09k|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (250:31): [True: 3.38k, False: 703]
  |  |  ------------------
  ------------------
  947|  3.38k|                        struct _PyCfgExceptStack *copy = copy_except_stack(except_stack);
  948|  3.38k|                        if (copy == NULL) {
  ------------------
  |  Branch (948:29): [True: 0, False: 3.38k]
  ------------------
  949|      0|                            goto error;
  950|      0|                        }
  951|  3.38k|                        instr->i_target->b_exceptstack = copy;
  952|  3.38k|                    }
  953|    703|                    else {
  954|    703|                        instr->i_target->b_exceptstack = except_stack;
  955|    703|                        except_stack = NULL;
  956|    703|                    }
  957|  4.09k|                    todo[0] = instr->i_target;
  958|  4.09k|                    instr->i_target->b_visited = 1;
  959|  4.09k|                    todo++;
  960|  4.09k|                }
  961|  5.61k|            }
  962|  91.5k|            else if (instr->i_opcode == YIELD_VALUE) {
  ------------------
  |  |  132|  91.5k|#define YIELD_VALUE                            119
  ------------------
  |  Branch (962:22): [True: 256, False: 91.2k]
  ------------------
  963|    256|                instr->i_except = handler;
  964|    256|                last_yield_except_depth = except_stack->depth;
  965|    256|            }
  966|  91.2k|            else if (instr->i_opcode == RESUME) {
  ------------------
  |  |  133|  91.2k|#define RESUME                                 128
  ------------------
  |  Branch (966:22): [True: 2.74k, False: 88.5k]
  ------------------
  967|  2.74k|                instr->i_except = handler;
  968|  2.74k|                if (instr->i_oparg != RESUME_AT_FUNC_START && instr->i_oparg != RESUME_AT_GEN_EXPR_START) {
  ------------------
  |  |   86|  5.48k|#define RESUME_AT_FUNC_START 0
  ------------------
                              if (instr->i_oparg != RESUME_AT_FUNC_START && instr->i_oparg != RESUME_AT_GEN_EXPR_START) {
  ------------------
  |  |   90|    302|#define RESUME_AT_GEN_EXPR_START 4
  ------------------
  |  Branch (968:21): [True: 302, False: 2.43k]
  |  Branch (968:63): [True: 256, False: 46]
  ------------------
  969|    256|                    assert(last_yield_except_depth >= 0);
  970|    256|                    if (last_yield_except_depth == 1) {
  ------------------
  |  Branch (970:25): [True: 97, False: 159]
  ------------------
  971|     97|                        instr->i_oparg |= RESUME_OPARG_DEPTH1_MASK;
  ------------------
  |  |   93|     97|#define RESUME_OPARG_DEPTH1_MASK 0x8
  ------------------
  972|     97|                    }
  973|    256|                    last_yield_except_depth = -1;
  974|    256|                }
  975|  2.74k|            }
  976|  88.5k|            else if (instr->i_opcode == RETURN_GENERATOR) {
  ------------------
  |  |   45|  88.5k|#define RETURN_GENERATOR                        32
  ------------------
  |  Branch (976:22): [True: 209, False: 88.3k]
  ------------------
  977|    209|                instr->i_except = NULL;
  978|    209|            }
  979|  88.3k|            else {
  980|  88.3k|                instr->i_except = handler;
  981|  88.3k|            }
  982|  99.3k|        }
  983|  12.1k|        if (BB_HAS_FALLTHROUGH(b) && !b->b_next->b_visited) {
  ------------------
  |  |  250|  24.2k|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (250:31): [True: 5.84k, False: 6.28k]
  |  |  ------------------
  ------------------
  |  Branch (983:38): [True: 4.36k, False: 1.47k]
  ------------------
  984|  4.36k|            assert(except_stack != NULL);
  985|  4.36k|            b->b_next->b_exceptstack = except_stack;
  986|  4.36k|            todo[0] = b->b_next;
  987|  4.36k|            b->b_next->b_visited = 1;
  988|  4.36k|            todo++;
  989|  4.36k|        }
  990|  7.76k|        else if (except_stack != NULL) {
  ------------------
  |  Branch (990:18): [True: 7.06k, False: 703]
  ------------------
  991|  7.06k|           PyMem_Free(except_stack);
  992|  7.06k|        }
  993|  12.1k|    }
  994|       |#ifdef Py_DEBUG
  995|       |    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  996|       |        assert(b->b_exceptstack == NULL);
  997|       |    }
  998|       |#endif
  999|  2.43k|    PyMem_Free(todo_stack);
 1000|  2.43k|    return SUCCESS;
  ------------------
  |  |   20|  2.43k|#define SUCCESS 0
  ------------------
 1001|      0|error:
 1002|      0|    PyMem_Free(todo_stack);
 1003|      0|    PyMem_Free(except_stack);
 1004|      0|    return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
 1005|  2.43k|}
flowgraph.c:make_cfg_traversal_stack:
  751|  18.0k|make_cfg_traversal_stack(basicblock *entryblock) {
  752|  18.0k|    int nblocks = 0;
  753|   130k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (753:38): [True: 112k, False: 18.0k]
  ------------------
  754|   112k|        b->b_visited = 0;
  755|   112k|        nblocks++;
  756|   112k|    }
  757|  18.0k|    basicblock **stack = (basicblock **)PyMem_Malloc(sizeof(basicblock *) * nblocks);
  758|  18.0k|    if (!stack) {
  ------------------
  |  Branch (758:9): [True: 0, False: 18.0k]
  ------------------
  759|      0|        PyErr_NoMemory();
  760|      0|    }
  761|  18.0k|    return stack;
  762|  18.0k|}
flowgraph.c:make_except_stack:
  728|  2.43k|make_except_stack(void) {
  729|  2.43k|    struct _PyCfgExceptStack *new = PyMem_Malloc(sizeof(struct _PyCfgExceptStack));
  730|  2.43k|    if (new == NULL) {
  ------------------
  |  Branch (730:9): [True: 0, False: 2.43k]
  ------------------
  731|      0|        PyErr_NoMemory();
  732|      0|        return NULL;
  733|      0|    }
  734|  2.43k|    new->depth = 0;
  735|       |    new->handlers[0] = NULL;
  736|  2.43k|    return new;
  737|  2.43k|}
flowgraph.c:except_stack_top:
  723|  12.1k|except_stack_top(struct _PyCfgExceptStack *stack) {
  724|  12.1k|    return stack->handlers[stack->depth];
  725|  12.1k|}
flowgraph.c:copy_except_stack:
  740|  4.62k|copy_except_stack(struct _PyCfgExceptStack *stack) {
  741|  4.62k|    struct _PyCfgExceptStack *copy = PyMem_Malloc(sizeof(struct _PyCfgExceptStack));
  742|  4.62k|    if (copy == NULL) {
  ------------------
  |  Branch (742:9): [True: 0, False: 4.62k]
  ------------------
  743|      0|        PyErr_NoMemory();
  744|      0|        return NULL;
  745|      0|    }
  746|  4.62k|    memcpy(copy, stack, sizeof(struct _PyCfgExceptStack));
  747|  4.62k|    return copy;
  748|  4.62k|}
flowgraph.c:push_except_block:
  704|  1.23k|push_except_block(struct _PyCfgExceptStack *stack, cfg_instr *setup) {
  705|  1.23k|    assert(is_block_push(setup));
  706|  1.23k|    int opcode = setup->i_opcode;
  707|  1.23k|    basicblock * target = setup->i_target;
  708|  1.23k|    if (opcode == SETUP_WITH || opcode == SETUP_CLEANUP) {
  ------------------
  |  |  256|  2.46k|#define SETUP_WITH                             265
  ------------------
                  if (opcode == SETUP_WITH || opcode == SETUP_CLEANUP) {
  ------------------
  |  |  254|  1.18k|#define SETUP_CLEANUP                          263
  ------------------
  |  Branch (708:9): [True: 52, False: 1.18k]
  |  Branch (708:33): [True: 669, False: 512]
  ------------------
  709|    721|        target->b_preserve_lasti = 1;
  710|    721|    }
  711|       |    assert(stack->depth <= CO_MAXBLOCKS);
  712|  1.23k|    stack->handlers[++stack->depth] = target;
  713|  1.23k|    return target;
  714|  1.23k|}
flowgraph.c:pop_except_block:
  717|    966|pop_except_block(struct _PyCfgExceptStack *stack) {
  718|       |    assert(stack->depth > 0);
  719|    966|    return stack->handlers[--stack->depth];
  720|    966|}
flowgraph.c:is_jump:
  109|   451k|{
  110|   451k|    return OPCODE_HAS_JUMP(i->i_opcode);
  ------------------
  |  | 1077|   451k|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  ------------------
  |  |  |  | 1058|   451k|#define HAS_JUMP_FLAG (8)
  |  |  ------------------
  ------------------
  111|   451k|}
flowgraph.c:basicblock_nofallthrough:
  242|   143k|basicblock_nofallthrough(const basicblock *b) {
  243|   143k|    cfg_instr *last = basicblock_last_instr(b);
  244|   143k|    return (last &&
  ------------------
  |  Branch (244:13): [True: 136k, False: 7.13k]
  ------------------
  245|   136k|            (IS_SCOPE_EXIT_OPCODE(last->i_opcode) ||
  ------------------
  |  |   53|   272k|        ((opcode) == RETURN_VALUE || \
  |  |  ------------------
  |  |  |  |   46|   272k|#define RETURN_VALUE                            33
  |  |  ------------------
  |  |  |  Branch (53:10): [True: 32.6k, False: 103k]
  |  |  ------------------
  |  |   54|   136k|         (opcode) == RAISE_VARARGS || \
  |  |  ------------------
  |  |  |  |  116|   239k|#define RAISE_VARARGS                          103
  |  |  ------------------
  |  |  |  Branch (54:10): [True: 7.94k, False: 95.6k]
  |  |  ------------------
  |  |   55|   272k|         (opcode) == RERAISE)
  |  |  ------------------
  |  |  |  |  117|  95.6k|#define RERAISE                                104
  |  |  ------------------
  |  |  |  Branch (55:10): [True: 12.5k, False: 83.0k]
  |  |  ------------------
  ------------------
  246|  83.0k|             IS_UNCONDITIONAL_JUMP_OPCODE(last->i_opcode)));
  ------------------
  |  |   40|  83.0k|        ((opcode) == JUMP || \
  |  |  ------------------
  |  |  |  |  248|   166k|#define JUMP                                   257
  |  |  ------------------
  |  |  |  Branch (40:10): [True: 5.80k, False: 77.2k]
  |  |  ------------------
  |  |   41|  83.0k|         (opcode) == JUMP_NO_INTERRUPT || \
  |  |  ------------------
  |  |  |  |  251|   160k|#define JUMP_NO_INTERRUPT                      260
  |  |  ------------------
  |  |  |  Branch (41:10): [True: 9.33k, False: 67.9k]
  |  |  ------------------
  |  |   42|  83.0k|         (opcode) == JUMP_FORWARD || \
  |  |  ------------------
  |  |  |  |   89|   151k|#define JUMP_FORWARD                            76
  |  |  ------------------
  |  |  |  Branch (42:10): [True: 0, False: 67.9k]
  |  |  ------------------
  |  |   43|  83.0k|         (opcode) == JUMP_BACKWARD || \
  |  |  ------------------
  |  |  |  |   87|   151k|#define JUMP_BACKWARD                           74
  |  |  ------------------
  |  |  |  Branch (43:10): [True: 0, False: 67.9k]
  |  |  ------------------
  |  |   44|  83.0k|         (opcode) == JUMP_BACKWARD_NO_INTERRUPT)
  |  |  ------------------
  |  |  |  |   88|  67.9k|#define JUMP_BACKWARD_NO_INTERRUPT              75
  |  |  ------------------
  |  |  |  Branch (44:10): [True: 0, False: 67.9k]
  |  |  ------------------
  ------------------
  247|   143k|}
flowgraph.c:optimize_cfg:
 2636|  2.43k|{
 2637|  2.43k|    assert(PyDict_CheckExact(const_cache));
 2638|  2.43k|    RETURN_IF_ERROR(check_cfg(g));
  ------------------
  |  |   24|  2.43k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 2.43k]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
 2639|  2.43k|    RETURN_IF_ERROR(inline_small_or_no_lineno_blocks(g->g_entryblock));
  ------------------
  |  |   24|  2.43k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 2.43k]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
 2640|  2.43k|    RETURN_IF_ERROR(remove_unreachable(g->g_entryblock));
  ------------------
  |  |   24|  2.43k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 2.43k]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
 2641|  2.43k|    RETURN_IF_ERROR(resolve_line_numbers(g, firstlineno));
  ------------------
  |  |   24|  2.43k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 2.43k]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
 2642|  2.43k|    RETURN_IF_ERROR(optimize_load_const(const_cache, g, consts, consts_index));
  ------------------
  |  |   24|  2.43k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 2.43k]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
 2643|  16.7k|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (2643:43): [True: 14.3k, False: 2.43k]
  ------------------
 2644|  14.3k|        RETURN_IF_ERROR(optimize_basic_block(const_cache, b, consts, consts_index));
  ------------------
  |  |   24|  14.3k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 14.3k]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
 2645|  14.3k|    }
 2646|  2.43k|    RETURN_IF_ERROR(remove_redundant_nops_and_pairs(g->g_entryblock));
  ------------------
  |  |   24|  2.43k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 2.43k]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
 2647|  2.43k|    RETURN_IF_ERROR(remove_unreachable(g->g_entryblock));
  ------------------
  |  |   24|  2.43k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 2.43k]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
 2648|  2.43k|    RETURN_IF_ERROR(remove_redundant_nops_and_jumps(g));
  ------------------
  |  |   24|  2.43k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 2.43k]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
 2649|  2.43k|    assert(no_redundant_jumps(g));
 2650|  2.43k|    return SUCCESS;
  ------------------
  |  |   20|  2.43k|#define SUCCESS 0
  ------------------
 2651|  2.43k|}
flowgraph.c:check_cfg:
  615|  2.43k|check_cfg(cfg_builder *g) {
  616|  16.4k|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (616:43): [True: 14.0k, False: 2.43k]
  ------------------
  617|       |        /* Raise SystemError if jump or exit is not last instruction in the block. */
  618|   117k|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (618:25): [True: 103k, False: 14.0k]
  ------------------
  619|   103k|            int opcode = b->b_instr[i].i_opcode;
  620|   103k|            assert(!IS_ASSEMBLER_OPCODE(opcode));
  621|   103k|            if (IS_TERMINATOR_OPCODE(opcode)) {
  ------------------
  |  |   27|   103k|        (OPCODE_HAS_JUMP(opcode) || IS_SCOPE_EXIT_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1077|   207k|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1058|   103k|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1077:29): [True: 5.95k, False: 97.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_SCOPE_EXIT_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   53|  97.6k|        ((opcode) == RETURN_VALUE || \
  |  |  |  |  ------------------
  |  |  |  |  |  |   46|   195k|#define RETURN_VALUE                            33
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (53:10): [True: 4.41k, False: 93.2k]
  |  |  |  |  ------------------
  |  |  |  |   54|  97.6k|         (opcode) == RAISE_VARARGS || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  116|   190k|#define RAISE_VARARGS                          103
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (54:10): [True: 691, False: 92.5k]
  |  |  |  |  ------------------
  |  |  |  |   55|  97.6k|         (opcode) == RERAISE)
  |  |  |  |  ------------------
  |  |  |  |  |  |  117|  92.5k|#define RERAISE                                104
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (55:10): [True: 1.08k, False: 91.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  622|  12.1k|                if (i != b->b_iused - 1) {
  ------------------
  |  Branch (622:21): [True: 0, False: 12.1k]
  ------------------
  623|      0|                    PyErr_SetString(PyExc_SystemError, "malformed control flow graph.");
  624|      0|                    return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
  625|      0|                }
  626|  12.1k|            }
  627|   103k|        }
  628|  14.0k|    }
  629|  2.43k|    return SUCCESS;
  ------------------
  |  |   20|  2.43k|#define SUCCESS 0
  ------------------
  630|  2.43k|}
flowgraph.c:inline_small_or_no_lineno_blocks:
 1262|  2.43k|inline_small_or_no_lineno_blocks(basicblock *entryblock) {
 1263|  2.43k|    bool changes;
 1264|  2.77k|    do {
 1265|  2.77k|        changes = false;
 1266|  23.4k|        for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (1266:42): [True: 20.6k, False: 2.77k]
  ------------------
 1267|  20.6k|            int res = basicblock_inline_small_or_no_lineno_blocks(b);
 1268|  20.6k|            RETURN_IF_ERROR(res);
  ------------------
  |  |   24|  20.6k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 20.6k]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
 1269|  20.6k|            if (res) {
  ------------------
  |  Branch (1269:17): [True: 701, False: 19.9k]
  ------------------
 1270|    701|                changes = true;
 1271|    701|            }
 1272|  20.6k|        }
 1273|  2.77k|    } while(changes); /* every change removes a jump, ensuring convergence */
  ------------------
  |  Branch (1273:13): [True: 340, False: 2.43k]
  ------------------
 1274|  2.43k|    return changes;
 1275|  2.43k|}
flowgraph.c:basicblock_inline_small_or_no_lineno_blocks:
 1228|  20.6k|basicblock_inline_small_or_no_lineno_blocks(basicblock *bb) {
 1229|  20.6k|    cfg_instr *last = basicblock_last_instr(bb);
 1230|  20.6k|    if (last == NULL) {
  ------------------
  |  Branch (1230:9): [True: 0, False: 20.6k]
  ------------------
 1231|      0|        return 0;
 1232|      0|    }
 1233|  20.6k|    if (!IS_UNCONDITIONAL_JUMP_OPCODE(last->i_opcode)) {
  ------------------
  |  |   40|  20.6k|        ((opcode) == JUMP || \
  |  |  ------------------
  |  |  |  |  248|  41.3k|#define JUMP                                   257
  |  |  ------------------
  |  |  |  Branch (40:10): [True: 926, False: 19.7k]
  |  |  ------------------
  |  |   41|  20.6k|         (opcode) == JUMP_NO_INTERRUPT || \
  |  |  ------------------
  |  |  |  |  251|  40.4k|#define JUMP_NO_INTERRUPT                      260
  |  |  ------------------
  |  |  |  Branch (41:10): [True: 2.09k, False: 17.6k]
  |  |  ------------------
  |  |   42|  20.6k|         (opcode) == JUMP_FORWARD || \
  |  |  ------------------
  |  |  |  |   89|  38.3k|#define JUMP_FORWARD                            76
  |  |  ------------------
  |  |  |  Branch (42:10): [True: 0, False: 17.6k]
  |  |  ------------------
  |  |   43|  20.6k|         (opcode) == JUMP_BACKWARD || \
  |  |  ------------------
  |  |  |  |   87|  38.3k|#define JUMP_BACKWARD                           74
  |  |  ------------------
  |  |  |  Branch (43:10): [True: 0, False: 17.6k]
  |  |  ------------------
  |  |   44|  20.6k|         (opcode) == JUMP_BACKWARD_NO_INTERRUPT)
  |  |  ------------------
  |  |  |  |   88|  17.6k|#define JUMP_BACKWARD_NO_INTERRUPT              75
  |  |  ------------------
  |  |  |  Branch (44:10): [True: 0, False: 17.6k]
  |  |  ------------------
  ------------------
 1234|  17.6k|        return 0;
 1235|  17.6k|    }
 1236|  3.01k|    basicblock *target = last->i_target;
 1237|  3.01k|    bool small_exit_block = (basicblock_exits_scope(target) &&
  ------------------
  |  Branch (1237:30): [True: 714, False: 2.30k]
  ------------------
 1238|    714|                             target->b_iused <= MAX_COPY_SIZE);
  ------------------
  |  | 1220|    714|#define MAX_COPY_SIZE 4
  ------------------
  |  Branch (1238:30): [True: 472, False: 242]
  ------------------
 1239|  3.01k|    bool no_lineno_no_fallthrough = (basicblock_has_no_lineno(target) &&
  ------------------
  |  Branch (1239:38): [True: 631, False: 2.38k]
  ------------------
 1240|    631|                                     !BB_HAS_FALLTHROUGH(target));
  ------------------
  |  |  250|    631|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  ------------------
  |  Branch (1240:38): [True: 623, False: 8]
  ------------------
 1241|  3.01k|    if (small_exit_block || no_lineno_no_fallthrough) {
  ------------------
  |  Branch (1241:9): [True: 472, False: 2.54k]
  |  Branch (1241:29): [True: 229, False: 2.31k]
  ------------------
 1242|    701|        assert(is_jump(last));
 1243|    701|        int removed_jump_opcode = last->i_opcode;
 1244|    701|        INSTR_SET_OP0(last, NOP);
  ------------------
  |  |  124|    701|    do { \
  |  |  125|    701|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  126|    701|        cfg_instr *_instr__ptr_ = (I); \
  |  |  127|    701|        _instr__ptr_->i_opcode = (OP); \
  |  |  128|    701|        _instr__ptr_->i_oparg = 0; \
  |  |  129|    701|    } while (0);
  |  |  ------------------
  |  |  |  Branch (129:14): [Folded, False: 701]
  |  |  ------------------
  ------------------
 1245|    701|        RETURN_IF_ERROR(basicblock_append_instructions(bb, target));
  ------------------
  |  |   24|    701|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 701]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
 1246|    701|        if (no_lineno_no_fallthrough) {
  ------------------
  |  Branch (1246:13): [True: 623, False: 78]
  ------------------
 1247|    623|            last = basicblock_last_instr(bb);
 1248|    623|            if (IS_UNCONDITIONAL_JUMP_OPCODE(last->i_opcode) &&
  ------------------
  |  |   40|  1.24k|        ((opcode) == JUMP || \
  |  |  ------------------
  |  |  |  |  248|  1.24k|#define JUMP                                   257
  |  |  ------------------
  |  |  |  Branch (40:10): [True: 112, False: 511]
  |  |  ------------------
  |  |   41|    623|         (opcode) == JUMP_NO_INTERRUPT || \
  |  |  ------------------
  |  |  |  |  251|  1.13k|#define JUMP_NO_INTERRUPT                      260
  |  |  ------------------
  |  |  |  Branch (41:10): [True: 117, False: 394]
  |  |  ------------------
  |  |   42|    623|         (opcode) == JUMP_FORWARD || \
  |  |  ------------------
  |  |  |  |   89|  1.01k|#define JUMP_FORWARD                            76
  |  |  ------------------
  |  |  |  Branch (42:10): [True: 0, False: 394]
  |  |  ------------------
  |  |   43|    623|         (opcode) == JUMP_BACKWARD || \
  |  |  ------------------
  |  |  |  |   87|  1.01k|#define JUMP_BACKWARD                           74
  |  |  ------------------
  |  |  |  Branch (43:10): [True: 0, False: 394]
  |  |  ------------------
  |  |   44|  1.24k|         (opcode) == JUMP_BACKWARD_NO_INTERRUPT)
  |  |  ------------------
  |  |  |  |   88|    394|#define JUMP_BACKWARD_NO_INTERRUPT              75
  |  |  ------------------
  |  |  |  Branch (44:10): [True: 0, False: 394]
  |  |  ------------------
  ------------------
 1249|    229|                removed_jump_opcode == JUMP)
  ------------------
  |  |  248|    229|#define JUMP                                   257
  ------------------
  |  Branch (1249:17): [True: 10, False: 219]
  ------------------
 1250|     10|            {
 1251|       |                /* Make sure we don't lose eval breaker checks */
 1252|     10|                last->i_opcode = JUMP;
  ------------------
  |  |  248|     10|#define JUMP                                   257
  ------------------
 1253|     10|            }
 1254|    623|        }
 1255|    701|        target->b_predecessors--;
 1256|    701|        return 1;
 1257|    701|    }
 1258|  2.31k|    return 0;
 1259|  3.01k|}
flowgraph.c:basicblock_exits_scope:
  352|  25.3k|basicblock_exits_scope(const basicblock *b) {
  353|  25.3k|    cfg_instr *last = basicblock_last_instr(b);
  354|  25.3k|    return last && IS_SCOPE_EXIT_OPCODE(last->i_opcode);
  ------------------
  |  |   53|  25.3k|        ((opcode) == RETURN_VALUE || \
  |  |  ------------------
  |  |  |  |   46|  50.6k|#define RETURN_VALUE                            33
  |  |  ------------------
  |  |  |  Branch (53:10): [True: 5.83k, False: 19.4k]
  |  |  ------------------
  |  |   54|  25.3k|         (opcode) == RAISE_VARARGS || \
  |  |  ------------------
  |  |  |  |  116|  44.7k|#define RAISE_VARARGS                          103
  |  |  ------------------
  |  |  |  Branch (54:10): [True: 1.39k, False: 18.0k]
  |  |  ------------------
  |  |   55|  25.3k|         (opcode) == RERAISE)
  |  |  ------------------
  |  |  |  |  117|  18.0k|#define RERAISE                                104
  |  |  ------------------
  |  |  |  Branch (55:10): [True: 638, False: 17.4k]
  |  |  ------------------
  ------------------
  |  Branch (354:12): [True: 25.3k, False: 67]
  ------------------
  355|  25.3k|}
flowgraph.c:basicblock_has_no_lineno:
 1210|  16.3k|basicblock_has_no_lineno(basicblock *b) {
 1211|  20.1k|    for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (1211:21): [True: 18.4k, False: 1.71k]
  ------------------
 1212|  18.4k|        if (b->b_instr[i].i_loc.lineno >= 0) {
  ------------------
  |  Branch (1212:13): [True: 14.6k, False: 3.76k]
  ------------------
 1213|  14.6k|            return false;
 1214|  14.6k|        }
 1215|  18.4k|    }
 1216|  1.71k|    return true;
 1217|  16.3k|}
flowgraph.c:basicblock_append_instructions:
  230|    989|{
  231|  2.84k|    for (int i = 0; i < from->b_iused; i++) {
  ------------------
  |  Branch (231:21): [True: 1.85k, False: 989]
  ------------------
  232|  1.85k|        int n = basicblock_next_instr(to);
  233|  1.85k|        if (n < 0) {
  ------------------
  |  Branch (233:13): [True: 0, False: 1.85k]
  ------------------
  234|      0|            return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
  235|      0|        }
  236|  1.85k|        to->b_instr[n] = from->b_instr[i];
  237|  1.85k|    }
  238|    989|    return SUCCESS;
  ------------------
  |  |   20|    989|#define SUCCESS 0
  ------------------
  239|    989|}
flowgraph.c:remove_unreachable:
 1010|  4.87k|remove_unreachable(basicblock *entryblock) {
 1011|  33.2k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (1011:38): [True: 28.3k, False: 4.87k]
  ------------------
 1012|  28.3k|        b->b_predecessors = 0;
 1013|  28.3k|    }
 1014|  4.87k|    basicblock **stack = make_cfg_traversal_stack(entryblock);
 1015|  4.87k|    if (stack == NULL) {
  ------------------
  |  Branch (1015:9): [True: 0, False: 4.87k]
  ------------------
 1016|      0|        return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
 1017|      0|    }
 1018|  4.87k|    basicblock **sp = stack;
 1019|  4.87k|    entryblock->b_predecessors = 1;
 1020|  4.87k|    *sp++ = entryblock;
 1021|  4.87k|    entryblock->b_visited = 1;
 1022|  28.9k|    while (sp > stack) {
  ------------------
  |  Branch (1022:12): [True: 24.0k, False: 4.87k]
  ------------------
 1023|  24.0k|        basicblock *b = *(--sp);
 1024|  24.0k|        if (b->b_next && BB_HAS_FALLTHROUGH(b)) {
  ------------------
  |  |  250|  22.2k|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (250:31): [True: 11.6k, False: 10.5k]
  |  |  ------------------
  ------------------
  |  Branch (1024:13): [True: 22.2k, False: 1.87k]
  ------------------
 1025|  11.6k|            if (!b->b_next->b_visited) {
  ------------------
  |  Branch (1025:17): [True: 9.58k, False: 2.09k]
  ------------------
 1026|  9.58k|                assert(b->b_next->b_predecessors == 0);
 1027|  9.58k|                *sp++ = b->b_next;
 1028|  9.58k|                b->b_next->b_visited = 1;
 1029|  9.58k|            }
 1030|  11.6k|            b->b_next->b_predecessors++;
 1031|  11.6k|        }
 1032|   216k|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (1032:25): [True: 192k, False: 24.0k]
  ------------------
 1033|   192k|            basicblock *target;
 1034|   192k|            cfg_instr *instr = &b->b_instr[i];
 1035|   192k|            if (is_jump(instr) || is_block_push(instr)) {
  ------------------
  |  Branch (1035:17): [True: 10.4k, False: 181k]
  |  Branch (1035:35): [True: 2.46k, False: 179k]
  ------------------
 1036|  12.9k|                target = instr->i_target;
 1037|  12.9k|                if (!target->b_visited) {
  ------------------
  |  Branch (1037:21): [True: 9.63k, False: 3.29k]
  ------------------
 1038|  9.63k|                    *sp++ = target;
 1039|  9.63k|                    target->b_visited = 1;
 1040|  9.63k|                }
 1041|  12.9k|                target->b_predecessors++;
 1042|  12.9k|            }
 1043|   192k|        }
 1044|  24.0k|    }
 1045|  4.87k|    PyMem_Free(stack);
 1046|       |
 1047|       |    /* Delete unreachable instructions */
 1048|  33.2k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (1048:38): [True: 28.3k, False: 4.87k]
  ------------------
 1049|  28.3k|       if (b->b_predecessors == 0) {
  ------------------
  |  Branch (1049:12): [True: 4.26k, False: 24.0k]
  ------------------
 1050|  4.26k|            b->b_iused = 0;
 1051|  4.26k|            b->b_except_handler = 0;
 1052|  4.26k|       }
 1053|  28.3k|    }
 1054|  4.87k|    return SUCCESS;
  ------------------
  |  |   20|  4.87k|#define SUCCESS 0
  ------------------
 1055|  4.87k|}
flowgraph.c:optimize_load_const:
 2385|  2.43k|                    _Py_hashtable_t *consts_index) {
 2386|  16.7k|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (2386:43): [True: 14.3k, False: 2.43k]
  ------------------
 2387|  14.3k|        RETURN_IF_ERROR(basicblock_optimize_load_const(const_cache, b, consts, consts_index));
  ------------------
  |  |   24|  14.3k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 14.3k]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
 2388|  14.3k|    }
 2389|  2.43k|    return SUCCESS;
  ------------------
  |  |   20|  2.43k|#define SUCCESS 0
  ------------------
 2390|  2.43k|}
flowgraph.c:basicblock_optimize_load_const:
 2242|  14.3k|{
 2243|  14.3k|    assert(PyDict_CheckExact(const_cache));
 2244|  14.3k|    assert(PyList_CheckExact(consts));
 2245|  14.3k|    int opcode = 0;
 2246|  14.3k|    int oparg = 0;
 2247|   114k|    for (int i = 0; i < bb->b_iused; i++) {
  ------------------
  |  Branch (2247:21): [True: 100k, False: 14.3k]
  ------------------
 2248|   100k|        cfg_instr *inst = &bb->b_instr[i];
 2249|   100k|        if (inst->i_opcode == LOAD_CONST) {
  ------------------
  |  |   94|   100k|#define LOAD_CONST                              81
  ------------------
  |  Branch (2249:13): [True: 13.0k, False: 87.3k]
  ------------------
 2250|  13.0k|            PyObject *constant = get_const_value(inst->i_opcode, inst->i_oparg, consts);
 2251|  13.0k|            if (constant == NULL) {
  ------------------
  |  Branch (2251:17): [True: 0, False: 13.0k]
  ------------------
 2252|      0|                return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
 2253|      0|            }
 2254|  13.0k|            int res = maybe_instr_make_load_smallint(inst, constant, consts, const_cache);
 2255|  13.0k|            Py_DECREF(constant);
  ------------------
  |  |  430|  13.0k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  13.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2256|  13.0k|            if (res < 0) {
  ------------------
  |  Branch (2256:17): [True: 0, False: 13.0k]
  ------------------
 2257|      0|                return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
 2258|      0|            }
 2259|  13.0k|        }
 2260|   100k|        bool is_copy_of_load_const = (opcode == LOAD_CONST &&
  ------------------
  |  |   94|   200k|#define LOAD_CONST                              81
  ------------------
  |  Branch (2260:39): [True: 11.4k, False: 88.9k]
  ------------------
 2261|  11.4k|                                      inst->i_opcode == COPY &&
  ------------------
  |  |   70|   111k|#define COPY                                    57
  ------------------
  |  Branch (2261:39): [True: 11, False: 11.4k]
  ------------------
 2262|     11|                                      inst->i_oparg == 1);
  ------------------
  |  Branch (2262:39): [True: 11, False: 0]
  ------------------
 2263|   100k|        if (! is_copy_of_load_const) {
  ------------------
  |  Branch (2263:13): [True: 100k, False: 11]
  ------------------
 2264|   100k|            opcode = inst->i_opcode;
 2265|   100k|            oparg = inst->i_oparg;
 2266|   100k|        }
 2267|   100k|        assert(!IS_ASSEMBLER_OPCODE(opcode));
 2268|   100k|        if (!loads_const(opcode)) {
  ------------------
  |  Branch (2268:13): [True: 87.2k, False: 13.2k]
  ------------------
 2269|  87.2k|            continue;
 2270|  87.2k|        }
 2271|  13.2k|        int nextop = i+1 < bb->b_iused ? bb->b_instr[i+1].i_opcode : 0;
  ------------------
  |  Branch (2271:22): [True: 12.9k, False: 201]
  ------------------
 2272|  13.2k|        switch(nextop) {
  ------------------
  |  Branch (2272:16): [True: 651, False: 12.5k]
  ------------------
 2273|     15|            case POP_JUMP_IF_FALSE:
  ------------------
  |  |  112|     15|#define POP_JUMP_IF_FALSE                       99
  ------------------
  |  Branch (2273:13): [True: 15, False: 13.1k]
  ------------------
 2274|     15|            case POP_JUMP_IF_TRUE:
  ------------------
  |  |  115|     15|#define POP_JUMP_IF_TRUE                       102
  ------------------
  |  Branch (2274:13): [True: 0, False: 13.2k]
  ------------------
 2275|     15|            case JUMP_IF_FALSE:
  ------------------
  |  |  249|     15|#define JUMP_IF_FALSE                          258
  ------------------
  |  Branch (2275:13): [True: 0, False: 13.2k]
  ------------------
 2276|     15|            case JUMP_IF_TRUE:
  ------------------
  |  |  250|     15|#define JUMP_IF_TRUE                           259
  ------------------
  |  Branch (2276:13): [True: 0, False: 13.2k]
  ------------------
 2277|     15|            {
 2278|       |                /* Remove LOAD_CONST const; conditional jump */
 2279|     15|                PyObject* cnt = get_const_value(opcode, oparg, consts);
 2280|     15|                if (cnt == NULL) {
  ------------------
  |  Branch (2280:21): [True: 0, False: 15]
  ------------------
 2281|      0|                    return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
 2282|      0|                }
 2283|     15|                int is_true = PyObject_IsTrue(cnt);
 2284|     15|                Py_DECREF(cnt);
  ------------------
  |  |  430|     15|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     15|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     15|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2285|     15|                if (is_true == -1) {
  ------------------
  |  Branch (2285:21): [True: 0, False: 15]
  ------------------
 2286|      0|                    return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
 2287|      0|                }
 2288|     15|                if (PyCompile_OpcodeStackEffect(nextop, 0) == -1) {
  ------------------
  |  Branch (2288:21): [True: 15, False: 0]
  ------------------
 2289|       |                    /* POP_JUMP_IF_FALSE or POP_JUMP_IF_TRUE */
 2290|     15|                    INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  124|     15|    do { \
  |  |  125|     15|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  126|     15|        cfg_instr *_instr__ptr_ = (I); \
  |  |  127|     15|        _instr__ptr_->i_opcode = (OP); \
  |  |  128|     15|        _instr__ptr_->i_oparg = 0; \
  |  |  129|     15|    } while (0);
  |  |  ------------------
  |  |  |  Branch (129:14): [Folded, False: 15]
  |  |  ------------------
  ------------------
 2291|     15|                }
 2292|     15|                int jump_if_true = (nextop == POP_JUMP_IF_TRUE || nextop == JUMP_IF_TRUE);
  ------------------
  |  |  115|     30|#define POP_JUMP_IF_TRUE                       102
  ------------------
                              int jump_if_true = (nextop == POP_JUMP_IF_TRUE || nextop == JUMP_IF_TRUE);
  ------------------
  |  |  250|     15|#define JUMP_IF_TRUE                           259
  ------------------
  |  Branch (2292:37): [True: 0, False: 15]
  |  Branch (2292:67): [True: 0, False: 15]
  ------------------
 2293|     15|                if (is_true == jump_if_true) {
  ------------------
  |  Branch (2293:21): [True: 0, False: 15]
  ------------------
 2294|      0|                    bb->b_instr[i+1].i_opcode = JUMP;
  ------------------
  |  |  248|      0|#define JUMP                                   257
  ------------------
 2295|      0|                }
 2296|     15|                else {
 2297|     15|                    INSTR_SET_OP0(&bb->b_instr[i + 1], NOP);
  ------------------
  |  |  124|     15|    do { \
  |  |  125|     15|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  126|     15|        cfg_instr *_instr__ptr_ = (I); \
  |  |  127|     15|        _instr__ptr_->i_opcode = (OP); \
  |  |  128|     15|        _instr__ptr_->i_oparg = 0; \
  |  |  129|     15|    } while (0);
  |  |  ------------------
  |  |  |  Branch (129:14): [Folded, False: 15]
  |  |  ------------------
  ------------------
 2298|     15|                }
 2299|     15|                break;
 2300|     15|            }
 2301|    621|            case IS_OP:
  ------------------
  |  |   86|    621|#define IS_OP                                   73
  ------------------
  |  Branch (2301:13): [True: 621, False: 12.5k]
  ------------------
 2302|    621|            {
 2303|       |                // Fold to POP_JUMP_IF_NONE:
 2304|       |                // - LOAD_CONST(None) IS_OP(0) POP_JUMP_IF_TRUE
 2305|       |                // - LOAD_CONST(None) IS_OP(1) POP_JUMP_IF_FALSE
 2306|       |                // - LOAD_CONST(None) IS_OP(0) TO_BOOL POP_JUMP_IF_TRUE
 2307|       |                // - LOAD_CONST(None) IS_OP(1) TO_BOOL POP_JUMP_IF_FALSE
 2308|       |                // Fold to POP_JUMP_IF_NOT_NONE:
 2309|       |                // - LOAD_CONST(None) IS_OP(0) POP_JUMP_IF_FALSE
 2310|       |                // - LOAD_CONST(None) IS_OP(1) POP_JUMP_IF_TRUE
 2311|       |                // - LOAD_CONST(None) IS_OP(0) TO_BOOL POP_JUMP_IF_FALSE
 2312|       |                // - LOAD_CONST(None) IS_OP(1) TO_BOOL POP_JUMP_IF_TRUE
 2313|    621|                PyObject *cnt = get_const_value(opcode, oparg, consts);
 2314|    621|                if (cnt == NULL) {
  ------------------
  |  Branch (2314:21): [True: 0, False: 621]
  ------------------
 2315|      0|                    return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
 2316|      0|                }
 2317|    621|                if (!Py_IsNone(cnt)) {
  ------------------
  |  |  621|    621|#define Py_IsNone(x) Py_Is((x), Py_None)
  |  |  ------------------
  |  |  |  |  187|    621|#define Py_Is(x, y) ((x) == (y))
  |  |  ------------------
  ------------------
  |  Branch (2317:21): [True: 24, False: 597]
  ------------------
 2318|     24|                    Py_DECREF(cnt);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2319|     24|                    break;
 2320|     24|                }
 2321|    597|                if (bb->b_iused <= i + 2) {
  ------------------
  |  Branch (2321:21): [True: 1, False: 596]
  ------------------
 2322|      1|                    break;
 2323|      1|                }
 2324|    596|                cfg_instr *is_instr = &bb->b_instr[i + 1];
 2325|    596|                cfg_instr *jump_instr = &bb->b_instr[i + 2];
 2326|       |                // Get rid of TO_BOOL regardless:
 2327|    596|                if (jump_instr->i_opcode == TO_BOOL) {
  ------------------
  |  |   50|    596|#define TO_BOOL                                 37
  ------------------
  |  Branch (2327:21): [True: 582, False: 14]
  ------------------
 2328|    582|                    INSTR_SET_OP0(jump_instr, NOP);
  ------------------
  |  |  124|    582|    do { \
  |  |  125|    582|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  126|    582|        cfg_instr *_instr__ptr_ = (I); \
  |  |  127|    582|        _instr__ptr_->i_opcode = (OP); \
  |  |  128|    582|        _instr__ptr_->i_oparg = 0; \
  |  |  129|    582|    } while (0);
  |  |  ------------------
  |  |  |  Branch (129:14): [Folded, False: 582]
  |  |  ------------------
  ------------------
 2329|    582|                    if (bb->b_iused <= i + 3) {
  ------------------
  |  Branch (2329:25): [True: 0, False: 582]
  ------------------
 2330|      0|                        break;
 2331|      0|                    }
 2332|    582|                    jump_instr = &bb->b_instr[i + 3];
 2333|    582|                }
 2334|    596|                bool invert = is_instr->i_oparg;
 2335|    596|                if (jump_instr->i_opcode == POP_JUMP_IF_FALSE) {
  ------------------
  |  |  112|    596|#define POP_JUMP_IF_FALSE                       99
  ------------------
  |  Branch (2335:21): [True: 553, False: 43]
  ------------------
 2336|    553|                    invert = !invert;
 2337|    553|                }
 2338|     43|                else if (jump_instr->i_opcode != POP_JUMP_IF_TRUE) {
  ------------------
  |  |  115|     43|#define POP_JUMP_IF_TRUE                       102
  ------------------
  |  Branch (2338:26): [True: 14, False: 29]
  ------------------
 2339|     14|                    break;
 2340|     14|                }
 2341|    582|                INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  124|    582|    do { \
  |  |  125|    582|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  126|    582|        cfg_instr *_instr__ptr_ = (I); \
  |  |  127|    582|        _instr__ptr_->i_opcode = (OP); \
  |  |  128|    582|        _instr__ptr_->i_oparg = 0; \
  |  |  129|    582|    } while (0);
  |  |  ------------------
  |  |  |  Branch (129:14): [Folded, False: 582]
  |  |  ------------------
  ------------------
 2342|    582|                INSTR_SET_OP0(is_instr, NOP);
  ------------------
  |  |  124|    582|    do { \
  |  |  125|    582|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  126|    582|        cfg_instr *_instr__ptr_ = (I); \
  |  |  127|    582|        _instr__ptr_->i_opcode = (OP); \
  |  |  128|    582|        _instr__ptr_->i_oparg = 0; \
  |  |  129|    582|    } while (0);
  |  |  ------------------
  |  |  |  Branch (129:14): [Folded, False: 582]
  |  |  ------------------
  ------------------
 2343|    582|                jump_instr->i_opcode = invert ? POP_JUMP_IF_NOT_NONE
  ------------------
  |  |  114|    206|#define POP_JUMP_IF_NOT_NONE                   101
  ------------------
  |  Branch (2343:40): [True: 206, False: 376]
  ------------------
 2344|    582|                                              : POP_JUMP_IF_NONE;
  ------------------
  |  |  113|    958|#define POP_JUMP_IF_NONE                       100
  ------------------
 2345|    582|                break;
 2346|    596|            }
 2347|     15|            case TO_BOOL:
  ------------------
  |  |   50|     15|#define TO_BOOL                                 37
  ------------------
  |  Branch (2347:13): [True: 15, False: 13.1k]
  ------------------
 2348|     15|            {
 2349|     15|                PyObject *cnt = get_const_value(opcode, oparg, consts);
 2350|     15|                if (cnt == NULL) {
  ------------------
  |  Branch (2350:21): [True: 0, False: 15]
  ------------------
 2351|      0|                    return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
 2352|      0|                }
 2353|     15|                int is_true = PyObject_IsTrue(cnt);
 2354|     15|                Py_DECREF(cnt);
  ------------------
  |  |  430|     15|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     15|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     15|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2355|     15|                if (is_true == -1) {
  ------------------
  |  Branch (2355:21): [True: 0, False: 15]
  ------------------
 2356|      0|                    return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
 2357|      0|                }
 2358|     15|                cnt = PyBool_FromLong(is_true);
 2359|     15|                int index = add_const(cnt, consts, const_cache, consts_index);
 2360|     15|                if (index < 0) {
  ------------------
  |  Branch (2360:21): [True: 0, False: 15]
  ------------------
 2361|      0|                    return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
 2362|      0|                }
 2363|     15|                INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  124|     15|    do { \
  |  |  125|     15|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  126|     15|        cfg_instr *_instr__ptr_ = (I); \
  |  |  127|     15|        _instr__ptr_->i_opcode = (OP); \
  |  |  128|     15|        _instr__ptr_->i_oparg = 0; \
  |  |  129|     15|    } while (0);
  |  |  ------------------
  |  |  |  Branch (129:14): [Folded, False: 15]
  |  |  ------------------
  ------------------
 2364|     15|                INSTR_SET_OP1(&bb->b_instr[i + 1], LOAD_CONST, index);
  ------------------
  |  |  115|     15|    do { \
  |  |  116|     15|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  117|     15|        cfg_instr *_instr__ptr_ = (I); \
  |  |  118|     15|        _instr__ptr_->i_opcode = (OP); \
  |  |  119|     15|        _instr__ptr_->i_oparg = (ARG); \
  |  |  120|     15|    } while (0);
  |  |  ------------------
  |  |  |  Branch (120:14): [Folded, False: 15]
  |  |  ------------------
  ------------------
 2365|     15|                break;
 2366|     15|            }
 2367|  13.2k|        }
 2368|  13.2k|        if (inst->i_opcode == LOAD_CONST) {
  ------------------
  |  |   94|  13.2k|#define LOAD_CONST                              81
  ------------------
  |  Branch (2368:13): [True: 11.0k, False: 2.13k]
  ------------------
 2369|  11.0k|            PyObject *constant = get_const_value(inst->i_opcode, inst->i_oparg, consts);
 2370|  11.0k|            if (constant == NULL) {
  ------------------
  |  Branch (2370:17): [True: 0, False: 11.0k]
  ------------------
 2371|      0|                return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
 2372|      0|            }
 2373|  11.0k|            int res = maybe_instr_make_load_common_const(inst, constant);
 2374|  11.0k|            Py_DECREF(constant);
  ------------------
  |  |  430|  11.0k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2375|  11.0k|            if (res < 0) {
  ------------------
  |  Branch (2375:17): [True: 0, False: 11.0k]
  ------------------
 2376|      0|                return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
 2377|      0|            }
 2378|  11.0k|        }
 2379|  13.2k|    }
 2380|  14.3k|    return SUCCESS;
  ------------------
  |  |   20|  14.3k|#define SUCCESS 0
  ------------------
 2381|  14.3k|}
flowgraph.c:get_const_value:
 1314|  25.8k|{
 1315|  25.8k|    PyObject *constant = NULL;
 1316|  25.8k|    assert(loads_const(opcode));
 1317|  25.8k|    if (opcode == LOAD_CONST) {
  ------------------
  |  |   94|  25.8k|#define LOAD_CONST                              81
  ------------------
  |  Branch (1317:9): [True: 25.3k, False: 455]
  ------------------
 1318|  25.3k|        assert(PyList_Check(co_consts));
 1319|  25.3k|        Py_ssize_t n = PyList_GET_SIZE(co_consts);
  ------------------
  |  |   38|  25.3k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  25.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  25.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1320|  25.3k|        if (oparg < 0 || oparg >= n) {
  ------------------
  |  Branch (1320:13): [True: 0, False: 25.3k]
  |  Branch (1320:26): [True: 0, False: 25.3k]
  ------------------
 1321|      0|            PyErr_Format(PyExc_ValueError,
 1322|      0|                         "LOAD_CONST index %d is out of range for consts (len=%zd)",
 1323|      0|                         oparg, n);
 1324|      0|            return NULL;
 1325|      0|        }
 1326|  25.3k|        constant = PyList_GET_ITEM(co_consts, oparg);
  ------------------
  |  |   40|  25.3k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|  25.3k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  25.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1327|  25.3k|    }
 1328|  25.8k|    if (opcode == LOAD_SMALL_INT) {
  ------------------
  |  |  106|  25.8k|#define LOAD_SMALL_INT                          93
  ------------------
  |  Branch (1328:9): [True: 105, False: 25.7k]
  ------------------
 1329|    105|        return PyLong_FromLong(oparg);
 1330|    105|    }
 1331|  25.7k|    if (opcode == LOAD_COMMON_CONSTANT) {
  ------------------
  |  |   93|  25.7k|#define LOAD_COMMON_CONSTANT                    80
  ------------------
  |  Branch (1331:9): [True: 350, False: 25.3k]
  ------------------
 1332|    350|        assert(oparg < NUM_COMMON_CONSTANTS);
 1333|    350|        return Py_NewRef(_PyInterpreterState_GET()->common_consts[oparg]);
  ------------------
  |  |  550|    350|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    350|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    350|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1334|    350|    }
 1335|       |
 1336|  25.3k|    if (constant == NULL) {
  ------------------
  |  Branch (1336:9): [True: 0, False: 25.3k]
  ------------------
 1337|      0|        PyErr_SetString(PyExc_SystemError,
 1338|      0|                        "Internal error: failed to get value of a constant");
 1339|      0|        return NULL;
 1340|      0|    }
 1341|  25.3k|    return Py_NewRef(constant);
  ------------------
  |  |  550|  25.3k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  25.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  25.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1342|  25.3k|}
flowgraph.c:maybe_instr_make_load_smallint:
 1433|  13.4k|{
 1434|  13.4k|    if (PyLong_CheckExact(newconst)) {
  ------------------
  |  |   14|  13.4k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  13.4k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  13.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  13.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.55k, False: 11.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1435|  1.55k|        int overflow;
 1436|  1.55k|        long val = PyLong_AsLongAndOverflow(newconst, &overflow);
 1437|  1.55k|        if (val == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1437:13): [True: 41, False: 1.51k]
  |  Branch (1437:26): [True: 0, False: 41]
  ------------------
 1438|      0|            return -1;
 1439|      0|        }
 1440|  1.55k|        if (!overflow && _PY_IS_SMALL_INT(val) && 0 <= val && val <= 255) {
  ------------------
  |  |   68|  3.11k|    (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  ------------------
  |  |  |  |   98|  1.55k|#define _PY_NSMALLNEGINTS           5
  |  |  ------------------
  |  |                   (-_PY_NSMALLNEGINTS <= (val) && (val) < _PY_NSMALLPOSINTS)
  |  |  ------------------
  |  |  |  |   97|  1.55k|#define _PY_NSMALLPOSINTS           1025
  |  |  ------------------
  |  |  |  Branch (68:6): [True: 1.55k, False: 0]
  |  |  |  Branch (68:37): [True: 1.51k, False: 43]
  |  |  ------------------
  ------------------
  |  Branch (1440:13): [True: 1.55k, False: 0]
  |  Branch (1440:51): [True: 1.47k, False: 43]
  |  Branch (1440:63): [True: 1.41k, False: 57]
  ------------------
 1441|  1.41k|            assert(_Py_IsImmortal(newconst));
 1442|  1.41k|            INSTR_SET_OP1(instr, LOAD_SMALL_INT, (int)val);
  ------------------
  |  |  115|  1.41k|    do { \
  |  |  116|  1.41k|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  117|  1.41k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  118|  1.41k|        _instr__ptr_->i_opcode = (OP); \
  |  |  119|  1.41k|        _instr__ptr_->i_oparg = (ARG); \
  |  |  120|  1.41k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (120:14): [Folded, False: 1.41k]
  |  |  ------------------
  ------------------
 1443|  1.41k|            return 1;
 1444|  1.41k|        }
 1445|  1.55k|    }
 1446|  12.0k|    return 0;
 1447|  13.4k|}
flowgraph.c:loads_const:
 1305|   107k|{
 1306|   107k|    return OPCODE_HAS_CONST(opcode)
  ------------------
  |  | 1075|   214k|#define OPCODE_HAS_CONST(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_CONST_FLAG))
  |  |  ------------------
  |  |  |  | 1056|   107k|#define HAS_CONST_FLAG (2)
  |  |  ------------------
  |  |  |  Branch (1075:30): [True: 12.3k, False: 94.9k]
  |  |  ------------------
  ------------------
 1307|  94.9k|        || opcode == LOAD_SMALL_INT
  ------------------
  |  |  106|   202k|#define LOAD_SMALL_INT                          93
  ------------------
  |  Branch (1307:12): [True: 1.79k, False: 93.1k]
  ------------------
 1308|  93.1k|        || opcode == LOAD_COMMON_CONSTANT;
  ------------------
  |  |   93|  93.1k|#define LOAD_COMMON_CONSTANT                    80
  ------------------
  |  Branch (1308:12): [True: 531, False: 92.6k]
  ------------------
 1309|   107k|}
flowgraph.c:add_const:
 1348|    401|{
 1349|    401|    if (_PyCompile_ConstCacheMergeOne(const_cache, &newconst) < 0) {
  ------------------
  |  Branch (1349:9): [True: 0, False: 401]
  ------------------
 1350|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1351|      0|        return -1;
 1352|      0|    }
 1353|       |
 1354|    401|    _Py_hashtable_entry_t *entry = _Py_hashtable_get_entry(consts_index, (void *)newconst);
 1355|    401|    if (entry != NULL) {
  ------------------
  |  Branch (1355:9): [True: 128, False: 273]
  ------------------
 1356|    128|        Py_DECREF(newconst);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1357|    128|        return (int)(uintptr_t)entry->value;
 1358|    128|    }
 1359|       |
 1360|    273|    Py_ssize_t index = PyList_GET_SIZE(consts);
  ------------------
  |  |   38|    273|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    273|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    273|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1361|    273|    if ((size_t)index >= (size_t)INT_MAX - 1) {
  ------------------
  |  Branch (1361:9): [True: 0, False: 273]
  ------------------
 1362|      0|        PyErr_SetString(PyExc_OverflowError, "too many constants");
 1363|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1364|      0|        return -1;
 1365|      0|    }
 1366|    273|    if (PyList_Append(consts, newconst)) {
  ------------------
  |  Branch (1366:9): [True: 0, False: 273]
  ------------------
 1367|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1368|      0|        return -1;
 1369|      0|    }
 1370|       |
 1371|    273|    if (_Py_hashtable_set(consts_index, (void *)newconst, (void *)(uintptr_t)index) < 0) {
  ------------------
  |  Branch (1371:9): [True: 0, False: 273]
  ------------------
 1372|      0|        PyList_SetSlice(consts, index, index + 1, NULL);
 1373|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1374|      0|        PyErr_NoMemory();
 1375|      0|        return -1;
 1376|      0|    }
 1377|       |
 1378|    273|    Py_DECREF(newconst);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1379|    273|    return (int)index;
 1380|    273|}
flowgraph.c:maybe_instr_make_load_common_const:
 1456|  11.4k|{
 1457|  11.4k|    int oparg;
 1458|  11.4k|    if (newconst == Py_None) {
  ------------------
  |  |  616|  11.4k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1458:9): [True: 3.46k, False: 7.96k]
  ------------------
 1459|  3.46k|        oparg = CONSTANT_NONE;
  ------------------
  |  |   78|  3.46k|#define CONSTANT_NONE 7
  ------------------
 1460|  3.46k|    }
 1461|  7.96k|    else if (newconst == Py_True) {
  ------------------
  |  |   26|  7.96k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|  7.96k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.96k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1461:14): [True: 325, False: 7.64k]
  ------------------
 1462|    325|        oparg = CONSTANT_TRUE;
  ------------------
  |  |   80|    325|#define CONSTANT_TRUE 9
  ------------------
 1463|    325|    }
 1464|  7.64k|    else if (newconst == Py_False) {
  ------------------
  |  |   25|  7.64k|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|  7.64k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.64k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1464:14): [True: 357, False: 7.28k]
  ------------------
 1465|    357|        oparg = CONSTANT_FALSE;
  ------------------
  |  |   81|    357|#define CONSTANT_FALSE 10
  ------------------
 1466|    357|    }
 1467|  7.28k|    else if (PyUnicode_CheckExact(newconst)
  ------------------
  |  |  104|  7.28k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  14.5k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  7.28k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  7.28k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 3.89k, False: 3.39k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1468|  3.89k|             && PyUnicode_GET_LENGTH(newconst) == 0) {
  ------------------
  |  |  299|  3.89k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.89k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.89k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1468:17): [True: 85, False: 3.80k]
  ------------------
 1469|     85|        oparg = CONSTANT_EMPTY_STR;
  ------------------
  |  |   79|     85|#define CONSTANT_EMPTY_STR 8
  ------------------
 1470|     85|    }
 1471|  7.20k|    else if (PyLong_CheckExact(newconst)) {
  ------------------
  |  |   14|  7.20k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  7.20k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  7.20k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  7.20k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 143, False: 7.05k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1472|    143|        int overflow;
 1473|    143|        long val = PyLong_AsLongAndOverflow(newconst, &overflow);
 1474|    143|        if (val == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1474:13): [True: 41, False: 102]
  |  Branch (1474:26): [True: 0, False: 41]
  ------------------
 1475|      0|            return -1;
 1476|      0|        }
 1477|    143|        if (overflow || val != -1) {
  ------------------
  |  Branch (1477:13): [True: 0, False: 143]
  |  Branch (1477:25): [True: 102, False: 41]
  ------------------
 1478|    102|            return 0;
 1479|    102|        }
 1480|     41|        oparg = CONSTANT_MINUS_ONE;
  ------------------
  |  |   82|     41|#define CONSTANT_MINUS_ONE 11
  ------------------
 1481|     41|    }
 1482|  7.05k|    else {
 1483|  7.05k|        return 0;
 1484|  7.05k|    }
 1485|  11.4k|    assert(_Py_IsImmortal(newconst));
 1486|       |    INSTR_SET_OP1(instr, LOAD_COMMON_CONSTANT, oparg);
  ------------------
  |  |  115|  4.27k|    do { \
  |  |  116|  4.27k|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  117|  4.27k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  118|  4.27k|        _instr__ptr_->i_opcode = (OP); \
  |  |  119|  4.27k|        _instr__ptr_->i_oparg = (ARG); \
  |  |  120|  4.27k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (120:14): [Folded, False: 4.27k]
  |  |  ------------------
  ------------------
 1487|  4.27k|    return 1;
 1488|  11.4k|}
flowgraph.c:optimize_basic_block:
 2395|  14.3k|{
 2396|  14.3k|    assert(PyDict_CheckExact(const_cache));
 2397|  14.3k|    assert(PyList_CheckExact(consts));
 2398|  14.3k|    cfg_instr nop;
 2399|  14.3k|    INSTR_SET_OP0(&nop, NOP);
  ------------------
  |  |  124|  14.3k|    do { \
  |  |  125|  14.3k|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  126|  14.3k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  127|  14.3k|        _instr__ptr_->i_opcode = (OP); \
  |  |  128|  14.3k|        _instr__ptr_->i_oparg = 0; \
  |  |  129|  14.3k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (129:14): [Folded, False: 14.3k]
  |  |  ------------------
  ------------------
 2400|   114k|    for (int i = 0; i < bb->b_iused; i++) {
  ------------------
  |  Branch (2400:21): [True: 100k, False: 14.3k]
  ------------------
 2401|   100k|        cfg_instr *inst = &bb->b_instr[i];
 2402|   100k|        cfg_instr *target;
 2403|   100k|        int opcode = inst->i_opcode;
 2404|   100k|        int oparg = inst->i_oparg;
 2405|   100k|        if (HAS_TARGET(opcode)) {
  ------------------
  |  |   23|   100k|        (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1077|   201k|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1058|   100k|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1077:29): [True: 5.44k, False: 95.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   18|  95.2k|        ((opcode) == SETUP_FINALLY || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  255|   190k|#define SETUP_FINALLY                          264
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (18:10): [True: 512, False: 94.7k]
  |  |  |  |  ------------------
  |  |  |  |   19|  95.2k|         (opcode) == SETUP_WITH || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  256|   189k|#define SETUP_WITH                             265
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (19:10): [True: 52, False: 94.6k]
  |  |  |  |  ------------------
  |  |  |  |   20|  95.2k|         (opcode) == SETUP_CLEANUP)
  |  |  |  |  ------------------
  |  |  |  |  |  |  254|  94.6k|#define SETUP_CLEANUP                          263
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (20:10): [True: 669, False: 93.9k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2406|  6.67k|            assert(inst->i_target->b_iused > 0);
 2407|  6.67k|            target = &inst->i_target->b_instr[0];
 2408|  6.67k|            assert(!IS_ASSEMBLER_OPCODE(target->i_opcode));
 2409|  6.67k|        }
 2410|  93.9k|        else {
 2411|  93.9k|            target = &nop;
 2412|  93.9k|        }
 2413|   100k|        int nextop = i+1 < bb->b_iused ? bb->b_instr[i+1].i_opcode : 0;
  ------------------
  |  Branch (2413:22): [True: 88.2k, False: 12.3k]
  ------------------
 2414|   100k|        assert(!IS_ASSEMBLER_OPCODE(opcode));
 2415|   100k|        switch (opcode) {
  ------------------
  |  Branch (2415:17): [True: 19.7k, False: 80.9k]
  ------------------
 2416|       |            /* Try to fold tuples of constants.
 2417|       |               Skip over BUILD_TUPLE(1) UNPACK_SEQUENCE(1).
 2418|       |               Replace BUILD_TUPLE(2) UNPACK_SEQUENCE(2) with SWAP(2).
 2419|       |               Replace BUILD_TUPLE(3) UNPACK_SEQUENCE(3) with SWAP(3). */
 2420|  1.25k|            case BUILD_TUPLE:
  ------------------
  |  |   62|  1.25k|#define BUILD_TUPLE                             49
  ------------------
  |  Branch (2420:13): [True: 1.25k, False: 99.4k]
  ------------------
 2421|  1.25k|                if (nextop == UNPACK_SEQUENCE && oparg == bb->b_instr[i+1].i_oparg) {
  ------------------
  |  |  131|  2.51k|#define UNPACK_SEQUENCE                        118
  ------------------
  |  Branch (2421:21): [True: 50, False: 1.20k]
  |  Branch (2421:50): [True: 50, False: 0]
  ------------------
 2422|     50|                    switch(oparg) {
  ------------------
  |  Branch (2422:28): [True: 49, False: 1]
  ------------------
 2423|      0|                        case 1:
  ------------------
  |  Branch (2423:25): [True: 0, False: 50]
  ------------------
 2424|      0|                            INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  124|      0|    do { \
  |  |  125|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  126|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  127|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  128|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  129|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (129:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2425|      0|                            INSTR_SET_OP0(&bb->b_instr[i + 1], NOP);
  ------------------
  |  |  124|      0|    do { \
  |  |  125|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  126|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  127|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  128|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  129|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (129:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2426|      0|                            continue;
 2427|     41|                        case 2:
  ------------------
  |  Branch (2427:25): [True: 41, False: 9]
  ------------------
 2428|     49|                        case 3:
  ------------------
  |  Branch (2428:25): [True: 8, False: 42]
  ------------------
 2429|     49|                            INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  124|     49|    do { \
  |  |  125|     49|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  126|     49|        cfg_instr *_instr__ptr_ = (I); \
  |  |  127|     49|        _instr__ptr_->i_opcode = (OP); \
  |  |  128|     49|        _instr__ptr_->i_oparg = 0; \
  |  |  129|     49|    } while (0);
  |  |  ------------------
  |  |  |  Branch (129:14): [Folded, False: 49]
  |  |  ------------------
  ------------------
 2430|     49|                            bb->b_instr[i+1].i_opcode = SWAP;
  ------------------
  |  |  129|     49|#define SWAP                                   116
  ------------------
 2431|     49|                            continue;
 2432|     50|                    }
 2433|     50|                }
 2434|  1.21k|                RETURN_IF_ERROR(fold_tuple_of_constants(bb, i, consts, const_cache, consts_index));
  ------------------
  |  |   24|  1.21k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 1.21k]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
 2435|  1.21k|                break;
 2436|    239|            case BUILD_LIST:
  ------------------
  |  |   57|    239|#define BUILD_LIST                              44
  ------------------
  |  Branch (2436:13): [True: 239, False: 100k]
  ------------------
 2437|    316|            case BUILD_SET:
  ------------------
  |  |   59|    316|#define BUILD_SET                               46
  ------------------
  |  Branch (2437:13): [True: 77, False: 100k]
  ------------------
 2438|    316|                RETURN_IF_ERROR(optimize_lists_and_sets(bb, i, nextop, consts, const_cache, consts_index));
  ------------------
  |  |   24|    316|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 316]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
 2439|    316|                break;
 2440|    206|            case POP_JUMP_IF_NOT_NONE:
  ------------------
  |  |  114|    206|#define POP_JUMP_IF_NOT_NONE                   101
  ------------------
  |  Branch (2440:13): [True: 206, False: 100k]
  ------------------
 2441|    595|            case POP_JUMP_IF_NONE:
  ------------------
  |  |  113|    595|#define POP_JUMP_IF_NONE                       100
  ------------------
  |  Branch (2441:13): [True: 389, False: 100k]
  ------------------
 2442|    595|                switch (target->i_opcode) {
  ------------------
  |  Branch (2442:25): [True: 13, False: 582]
  ------------------
 2443|     13|                    case JUMP:
  ------------------
  |  |  248|     13|#define JUMP                                   257
  ------------------
  |  Branch (2443:21): [True: 13, False: 582]
  ------------------
 2444|     13|                        i -= jump_thread(bb, inst, target, inst->i_opcode);
 2445|    595|                }
 2446|    595|                break;
 2447|  2.17k|            case POP_JUMP_IF_FALSE:
  ------------------
  |  |  112|  2.17k|#define POP_JUMP_IF_FALSE                       99
  ------------------
  |  Branch (2447:13): [True: 2.17k, False: 98.4k]
  ------------------
 2448|  2.17k|                switch (target->i_opcode) {
  ------------------
  |  Branch (2448:25): [True: 82, False: 2.09k]
  ------------------
 2449|     82|                    case JUMP:
  ------------------
  |  |  248|     82|#define JUMP                                   257
  ------------------
  |  Branch (2449:21): [True: 82, False: 2.09k]
  ------------------
 2450|     82|                        i -= jump_thread(bb, inst, target, POP_JUMP_IF_FALSE);
  ------------------
  |  |  112|     82|#define POP_JUMP_IF_FALSE                       99
  ------------------
 2451|  2.17k|                }
 2452|  2.17k|                break;
 2453|  2.17k|            case POP_JUMP_IF_TRUE:
  ------------------
  |  |  115|    616|#define POP_JUMP_IF_TRUE                       102
  ------------------
  |  Branch (2453:13): [True: 616, False: 100k]
  ------------------
 2454|    616|                switch (target->i_opcode) {
  ------------------
  |  Branch (2454:25): [True: 28, False: 588]
  ------------------
 2455|     28|                    case JUMP:
  ------------------
  |  |  248|     28|#define JUMP                                   257
  ------------------
  |  Branch (2455:21): [True: 28, False: 588]
  ------------------
 2456|     28|                        i -= jump_thread(bb, inst, target, POP_JUMP_IF_TRUE);
  ------------------
  |  |  115|     28|#define POP_JUMP_IF_TRUE                       102
  ------------------
 2457|    616|                }
 2458|    616|                break;
 2459|    616|            case JUMP_IF_FALSE:
  ------------------
  |  |  249|    193|#define JUMP_IF_FALSE                          258
  ------------------
  |  Branch (2459:13): [True: 193, False: 100k]
  ------------------
 2460|    193|                switch (target->i_opcode) {
  ------------------
  |  Branch (2460:25): [True: 2, False: 191]
  ------------------
 2461|      0|                    case JUMP:
  ------------------
  |  |  248|      0|#define JUMP                                   257
  ------------------
  |  Branch (2461:21): [True: 0, False: 193]
  ------------------
 2462|      0|                    case JUMP_IF_FALSE:
  ------------------
  |  |  249|      0|#define JUMP_IF_FALSE                          258
  ------------------
  |  Branch (2462:21): [True: 0, False: 193]
  ------------------
 2463|      0|                        i -= jump_thread(bb, inst, target, JUMP_IF_FALSE);
  ------------------
  |  |  249|      0|#define JUMP_IF_FALSE                          258
  ------------------
 2464|      0|                        continue;
 2465|      2|                    case JUMP_IF_TRUE:
  ------------------
  |  |  250|      2|#define JUMP_IF_TRUE                           259
  ------------------
  |  Branch (2465:21): [True: 2, False: 191]
  ------------------
 2466|       |                        // No need to check for loops here, a block's b_next
 2467|       |                        // cannot point to itself.
 2468|      2|                        assert(inst->i_target != inst->i_target->b_next);
 2469|      2|                        inst->i_target = inst->i_target->b_next;
 2470|      2|                        i--;
 2471|      2|                        continue;
 2472|    193|                }
 2473|    191|                break;
 2474|    191|            case JUMP_IF_TRUE:
  ------------------
  |  |  250|     40|#define JUMP_IF_TRUE                           259
  ------------------
  |  Branch (2474:13): [True: 40, False: 100k]
  ------------------
 2475|     40|                switch (target->i_opcode) {
  ------------------
  |  Branch (2475:25): [True: 0, False: 40]
  ------------------
 2476|      0|                    case JUMP:
  ------------------
  |  |  248|      0|#define JUMP                                   257
  ------------------
  |  Branch (2476:21): [True: 0, False: 40]
  ------------------
 2477|      0|                    case JUMP_IF_TRUE:
  ------------------
  |  |  250|      0|#define JUMP_IF_TRUE                           259
  ------------------
  |  Branch (2477:21): [True: 0, False: 40]
  ------------------
 2478|      0|                        i -= jump_thread(bb, inst, target, JUMP_IF_TRUE);
  ------------------
  |  |  250|      0|#define JUMP_IF_TRUE                           259
  ------------------
 2479|      0|                        continue;
 2480|      0|                    case JUMP_IF_FALSE:
  ------------------
  |  |  249|      0|#define JUMP_IF_FALSE                          258
  ------------------
  |  Branch (2480:21): [True: 0, False: 40]
  ------------------
 2481|       |                        // No need to check for loops here, a block's b_next
 2482|       |                        // cannot point to itself.
 2483|      0|                        assert(inst->i_target != inst->i_target->b_next);
 2484|      0|                        inst->i_target = inst->i_target->b_next;
 2485|      0|                        i--;
 2486|      0|                        continue;
 2487|     40|                }
 2488|     40|                break;
 2489|    598|            case JUMP:
  ------------------
  |  |  248|    598|#define JUMP                                   257
  ------------------
  |  Branch (2489:13): [True: 598, False: 100k]
  ------------------
 2490|  1.37k|            case JUMP_NO_INTERRUPT:
  ------------------
  |  |  251|  1.37k|#define JUMP_NO_INTERRUPT                      260
  ------------------
  |  Branch (2490:13): [True: 772, False: 99.9k]
  ------------------
 2491|  1.37k|                switch (target->i_opcode) {
  ------------------
  |  Branch (2491:25): [True: 0, False: 1.37k]
  ------------------
 2492|      0|                    case JUMP:
  ------------------
  |  |  248|      0|#define JUMP                                   257
  ------------------
  |  Branch (2492:21): [True: 0, False: 1.37k]
  ------------------
 2493|      0|                        i -= jump_thread(bb, inst, target, JUMP);
  ------------------
  |  |  248|      0|#define JUMP                                   257
  ------------------
 2494|      0|                        continue;
 2495|      0|                    case JUMP_NO_INTERRUPT:
  ------------------
  |  |  251|      0|#define JUMP_NO_INTERRUPT                      260
  ------------------
  |  Branch (2495:21): [True: 0, False: 1.37k]
  ------------------
 2496|      0|                        i -= jump_thread(bb, inst, target, opcode);
 2497|      0|                        continue;
 2498|  1.37k|                }
 2499|  1.37k|                break;
 2500|  1.37k|            case FOR_ITER:
  ------------------
  |  |   81|    302|#define FOR_ITER                                68
  ------------------
  |  Branch (2500:13): [True: 302, False: 100k]
  ------------------
 2501|    302|                if (target->i_opcode == JUMP) {
  ------------------
  |  |  248|    302|#define JUMP                                   257
  ------------------
  |  Branch (2501:21): [True: 0, False: 302]
  ------------------
 2502|       |                    /* This will not work now because the jump (at target) could
 2503|       |                     * be forward or backward and FOR_ITER only jumps forward. We
 2504|       |                     * can re-enable this if ever we implement a backward version
 2505|       |                     * of FOR_ITER.
 2506|       |                     */
 2507|       |                    /*
 2508|       |                    i -= jump_thread(bb, inst, target, FOR_ITER);
 2509|       |                    */
 2510|      0|                }
 2511|    302|                break;
 2512|  3.34k|            case STORE_FAST:
  ------------------
  |  |  124|  3.34k|#define STORE_FAST                             111
  ------------------
  |  Branch (2512:13): [True: 3.34k, False: 97.3k]
  ------------------
 2513|  3.34k|                if (opcode == nextop &&
  ------------------
  |  Branch (2513:21): [True: 303, False: 3.04k]
  ------------------
 2514|    303|                    oparg == bb->b_instr[i+1].i_oparg &&
  ------------------
  |  Branch (2514:21): [True: 19, False: 284]
  ------------------
 2515|     19|                    bb->b_instr[i].i_loc.lineno == bb->b_instr[i+1].i_loc.lineno) {
  ------------------
  |  Branch (2515:21): [True: 19, False: 0]
  ------------------
 2516|     19|                    bb->b_instr[i].i_opcode = POP_TOP;
  ------------------
  |  |   42|     19|#define POP_TOP                                 29
  ------------------
 2517|     19|                    bb->b_instr[i].i_oparg = 0;
 2518|     19|                }
 2519|  3.34k|                break;
 2520|    506|            case SWAP:
  ------------------
  |  |  129|    506|#define SWAP                                   116
  ------------------
  |  Branch (2520:13): [True: 506, False: 100k]
  ------------------
 2521|    506|                if (oparg == 1) {
  ------------------
  |  Branch (2521:21): [True: 0, False: 506]
  ------------------
 2522|      0|                    INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  124|      0|    do { \
  |  |  125|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  126|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  127|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  128|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  129|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (129:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2523|      0|                }
 2524|    506|                break;
 2525|  4.28k|            case LOAD_GLOBAL:
  ------------------
  |  |  104|  4.28k|#define LOAD_GLOBAL                             91
  ------------------
  |  Branch (2525:13): [True: 4.28k, False: 96.3k]
  ------------------
 2526|  4.28k|                if (nextop == PUSH_NULL && (oparg & 1) == 0) {
  ------------------
  |  |   44|  8.56k|#define PUSH_NULL                               31
  ------------------
  |  Branch (2526:21): [True: 1.89k, False: 2.38k]
  |  Branch (2526:44): [True: 1.89k, False: 0]
  ------------------
 2527|  1.89k|                    INSTR_SET_OP1(inst, LOAD_GLOBAL, oparg | 1);
  ------------------
  |  |  115|  1.89k|    do { \
  |  |  116|  1.89k|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  117|  1.89k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  118|  1.89k|        _instr__ptr_->i_opcode = (OP); \
  |  |  119|  1.89k|        _instr__ptr_->i_oparg = (ARG); \
  |  |  120|  1.89k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (120:14): [Folded, False: 1.89k]
  |  |  ------------------
  ------------------
 2528|  1.89k|                    INSTR_SET_OP0(&bb->b_instr[i + 1], NOP);
  ------------------
  |  |  124|  1.89k|    do { \
  |  |  125|  1.89k|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  126|  1.89k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  127|  1.89k|        _instr__ptr_->i_opcode = (OP); \
  |  |  128|  1.89k|        _instr__ptr_->i_oparg = 0; \
  |  |  129|  1.89k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (129:14): [Folded, False: 1.89k]
  |  |  ------------------
  ------------------
 2529|  1.89k|                }
 2530|  4.28k|                break;
 2531|  1.22k|            case COMPARE_OP:
  ------------------
  |  |   67|  1.22k|#define COMPARE_OP                              54
  ------------------
  |  Branch (2531:13): [True: 1.22k, False: 99.4k]
  ------------------
 2532|  1.22k|                if (nextop == TO_BOOL) {
  ------------------
  |  |   50|  1.22k|#define TO_BOOL                                 37
  ------------------
  |  Branch (2532:21): [True: 471, False: 756]
  ------------------
 2533|    471|                    INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  124|    471|    do { \
  |  |  125|    471|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  126|    471|        cfg_instr *_instr__ptr_ = (I); \
  |  |  127|    471|        _instr__ptr_->i_opcode = (OP); \
  |  |  128|    471|        _instr__ptr_->i_oparg = 0; \
  |  |  129|    471|    } while (0);
  |  |  ------------------
  |  |  |  Branch (129:14): [Folded, False: 471]
  |  |  ------------------
  ------------------
 2534|    471|                    INSTR_SET_OP1(&bb->b_instr[i + 1], COMPARE_OP, oparg | 16);
  ------------------
  |  |  115|    471|    do { \
  |  |  116|    471|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  117|    471|        cfg_instr *_instr__ptr_ = (I); \
  |  |  118|    471|        _instr__ptr_->i_opcode = (OP); \
  |  |  119|    471|        _instr__ptr_->i_oparg = (ARG); \
  |  |  120|    471|    } while (0);
  |  |  ------------------
  |  |  |  Branch (120:14): [Folded, False: 471]
  |  |  ------------------
  ------------------
 2535|    471|                    continue;
 2536|    471|                }
 2537|    756|                break;
 2538|    756|            case CONTAINS_OP:
  ------------------
  |  |   68|    323|#define CONTAINS_OP                             55
  ------------------
  |  Branch (2538:13): [True: 323, False: 100k]
  ------------------
 2539|    857|            case IS_OP:
  ------------------
  |  |   86|    857|#define IS_OP                                   73
  ------------------
  |  Branch (2539:13): [True: 534, False: 100k]
  ------------------
 2540|    857|                if (nextop == TO_BOOL) {
  ------------------
  |  |   50|    857|#define TO_BOOL                                 37
  ------------------
  |  Branch (2540:21): [True: 404, False: 453]
  ------------------
 2541|    404|                    INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  124|    404|    do { \
  |  |  125|    404|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  126|    404|        cfg_instr *_instr__ptr_ = (I); \
  |  |  127|    404|        _instr__ptr_->i_opcode = (OP); \
  |  |  128|    404|        _instr__ptr_->i_oparg = 0; \
  |  |  129|    404|    } while (0);
  |  |  ------------------
  |  |  |  Branch (129:14): [Folded, False: 404]
  |  |  ------------------
  ------------------
 2542|    404|                    INSTR_SET_OP1(&bb->b_instr[i + 1], opcode, oparg);
  ------------------
  |  |  115|    404|    do { \
  |  |  116|    404|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  117|    404|        cfg_instr *_instr__ptr_ = (I); \
  |  |  118|    404|        _instr__ptr_->i_opcode = (OP); \
  |  |  119|    404|        _instr__ptr_->i_oparg = (ARG); \
  |  |  120|    404|    } while (0);
  |  |  ------------------
  |  |  |  Branch (120:14): [Folded, False: 404]
  |  |  ------------------
  ------------------
 2543|    404|                    continue;
 2544|    404|                }
 2545|    453|                if (nextop == UNARY_NOT) {
  ------------------
  |  |   53|    453|#define UNARY_NOT                               40
  ------------------
  |  Branch (2545:21): [True: 0, False: 453]
  ------------------
 2546|      0|                    INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  124|      0|    do { \
  |  |  125|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  126|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  127|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  128|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  129|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (129:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2547|      0|                    int inverted = oparg ^ 1;
 2548|      0|                    assert(inverted == 0 || inverted == 1);
 2549|      0|                    INSTR_SET_OP1(&bb->b_instr[i + 1], opcode, inverted);
  ------------------
  |  |  115|      0|    do { \
  |  |  116|      0|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  117|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  118|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  119|      0|        _instr__ptr_->i_oparg = (ARG); \
  |  |  120|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (120:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2550|      0|                    continue;
 2551|      0|                }
 2552|    453|                break;
 2553|  1.46k|            case TO_BOOL:
  ------------------
  |  |   50|  1.46k|#define TO_BOOL                                 37
  ------------------
  |  Branch (2553:13): [True: 1.46k, False: 99.2k]
  ------------------
 2554|  1.46k|                if (nextop == TO_BOOL) {
  ------------------
  |  |   50|  1.46k|#define TO_BOOL                                 37
  ------------------
  |  Branch (2554:21): [True: 0, False: 1.46k]
  ------------------
 2555|      0|                    INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  124|      0|    do { \
  |  |  125|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  126|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  127|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  128|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  129|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (129:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2556|      0|                    continue;
 2557|      0|                }
 2558|  1.46k|                break;
 2559|  1.46k|            case UNARY_NOT:
  ------------------
  |  |   53|     16|#define UNARY_NOT                               40
  ------------------
  |  Branch (2559:13): [True: 16, False: 100k]
  ------------------
 2560|     16|                if (nextop == TO_BOOL) {
  ------------------
  |  |   50|     16|#define TO_BOOL                                 37
  ------------------
  |  Branch (2560:21): [True: 0, False: 16]
  ------------------
 2561|      0|                    INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  124|      0|    do { \
  |  |  125|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  126|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  127|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  128|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  129|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (129:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2562|      0|                    INSTR_SET_OP0(&bb->b_instr[i + 1], UNARY_NOT);
  ------------------
  |  |  124|      0|    do { \
  |  |  125|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  126|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  127|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  128|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  129|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (129:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2563|      0|                    continue;
 2564|      0|                }
 2565|     16|                if (nextop == UNARY_NOT) {
  ------------------
  |  |   53|     16|#define UNARY_NOT                               40
  ------------------
  |  Branch (2565:21): [True: 0, False: 16]
  ------------------
 2566|      0|                    INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  124|      0|    do { \
  |  |  125|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  126|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  127|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  128|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  129|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (129:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2567|      0|                    INSTR_SET_OP0(&bb->b_instr[i + 1], NOP);
  ------------------
  |  |  124|      0|    do { \
  |  |  125|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  126|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  127|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  128|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  129|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (129:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2568|      0|                    continue;
 2569|      0|                }
 2570|     16|                _Py_FALLTHROUGH;
  ------------------
  |  |  644|     16|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 2571|     18|            case UNARY_INVERT:
  ------------------
  |  |   51|     18|#define UNARY_INVERT                            38
  ------------------
  |  Branch (2571:13): [True: 2, False: 100k]
  ------------------
 2572|     61|            case UNARY_NEGATIVE:
  ------------------
  |  |   52|     61|#define UNARY_NEGATIVE                          39
  ------------------
  |  Branch (2572:13): [True: 43, False: 100k]
  ------------------
 2573|     61|                RETURN_IF_ERROR(fold_const_unaryop(bb, i, consts, const_cache, consts_index));
  ------------------
  |  |   24|     61|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 61]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
 2574|     61|                break;
 2575|    260|            case CALL_INTRINSIC_1:
  ------------------
  |  |   64|    260|#define CALL_INTRINSIC_1                        51
  ------------------
  |  Branch (2575:13): [True: 260, False: 100k]
  ------------------
 2576|    260|                if (oparg == INTRINSIC_LIST_TO_TUPLE) {
  ------------------
  |  |   15|    260|#define INTRINSIC_LIST_TO_TUPLE                  6
  ------------------
  |  Branch (2576:21): [True: 32, False: 228]
  ------------------
 2577|     32|                    if (nextop == GET_ITER) {
  ------------------
  |  |   83|     32|#define GET_ITER                                70
  ------------------
  |  Branch (2577:25): [True: 0, False: 32]
  ------------------
 2578|      0|                        INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  124|      0|    do { \
  |  |  125|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  126|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  127|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  128|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  129|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (129:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2579|      0|                    }
 2580|     32|                    else {
 2581|     32|                        RETURN_IF_ERROR(fold_constant_intrinsic_list_to_tuple(bb, i, consts, const_cache, consts_index));
  ------------------
  |  |   24|     32|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 32]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
 2582|     32|                    }
 2583|     32|                }
 2584|    228|                else if (oparg == INTRINSIC_UNARY_POSITIVE) {
  ------------------
  |  |   14|    228|#define INTRINSIC_UNARY_POSITIVE                 5
  ------------------
  |  Branch (2584:26): [True: 0, False: 228]
  ------------------
 2585|      0|                    RETURN_IF_ERROR(fold_const_unaryop(bb, i, consts, const_cache, consts_index));
  ------------------
  |  |   24|      0|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 0]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
 2586|      0|                }
 2587|    260|                break;
 2588|    878|            case BINARY_OP:
  ------------------
  |  |   55|    878|#define BINARY_OP                               42
  ------------------
  |  Branch (2588:13): [True: 878, False: 99.7k]
  ------------------
 2589|    878|                RETURN_IF_ERROR(fold_const_binop(bb, i, consts, const_cache, consts_index));
  ------------------
  |  |   24|    878|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 878]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
 2590|    878|                break;
 2591|   100k|        }
 2592|   100k|    }
 2593|       |
 2594|   114k|    for (int i = 0; i < bb->b_iused; i++) {
  ------------------
  |  Branch (2594:21): [True: 100k, False: 14.3k]
  ------------------
 2595|   100k|        cfg_instr *inst = &bb->b_instr[i];
 2596|   100k|        if (inst->i_opcode == SWAP) {
  ------------------
  |  |  129|   100k|#define SWAP                                   116
  ------------------
  |  Branch (2596:13): [True: 428, False: 100k]
  ------------------
 2597|    428|            if (swaptimize(bb, &i) < 0) {
  ------------------
  |  Branch (2597:17): [True: 0, False: 428]
  ------------------
 2598|      0|                goto error;
 2599|      0|            }
 2600|    428|            apply_static_swaps(bb, i);
 2601|    428|        }
 2602|   100k|    }
 2603|  14.3k|    return SUCCESS;
  ------------------
  |  |   20|  14.3k|#define SUCCESS 0
  ------------------
 2604|      0|error:
 2605|      0|    return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
 2606|  14.3k|}
flowgraph.c:fold_tuple_of_constants:
 1527|  1.21k|{
 1528|       |    /* Pre-conditions */
 1529|  1.21k|    assert(PyDict_CheckExact(const_cache));
 1530|  1.21k|    assert(PyList_CheckExact(consts));
 1531|       |
 1532|  1.21k|    cfg_instr *instr = &bb->b_instr[i];
 1533|  1.21k|    assert(instr->i_opcode == BUILD_TUPLE);
 1534|       |
 1535|  1.21k|    int seq_size = instr->i_oparg;
 1536|  1.21k|    if (seq_size > _PY_STACK_USE_GUIDELINE) {
  ------------------
  |  |   24|  1.21k|#define _PY_STACK_USE_GUIDELINE 30
  ------------------
  |  Branch (1536:9): [True: 0, False: 1.21k]
  ------------------
 1537|      0|        return SUCCESS;
  ------------------
  |  |   20|      0|#define SUCCESS 0
  ------------------
 1538|      0|    }
 1539|       |
 1540|  1.21k|    cfg_instr *const_instrs[_PY_STACK_USE_GUIDELINE];
 1541|  1.21k|    if (!get_const_loading_instrs(bb, i-1, const_instrs, seq_size)) {
  ------------------
  |  Branch (1541:9): [True: 902, False: 308]
  ------------------
 1542|       |        /* not a const sequence */
 1543|    902|        return SUCCESS;
  ------------------
  |  |   20|    902|#define SUCCESS 0
  ------------------
 1544|    902|    }
 1545|       |
 1546|    308|    PyObject *const_tuple = PyTuple_New((Py_ssize_t)seq_size);
 1547|    308|    if (const_tuple == NULL) {
  ------------------
  |  Branch (1547:9): [True: 0, False: 308]
  ------------------
 1548|      0|        return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
 1549|      0|    }
 1550|       |
 1551|    903|    for (int i = 0; i < seq_size; i++) {
  ------------------
  |  Branch (1551:21): [True: 595, False: 308]
  ------------------
 1552|    595|        cfg_instr *inst = const_instrs[i];
 1553|    595|        assert(loads_const(inst->i_opcode));
 1554|    595|        PyObject *element = get_const_value(inst->i_opcode, inst->i_oparg, consts);
 1555|    595|        if (element == NULL) {
  ------------------
  |  Branch (1555:13): [True: 0, False: 595]
  ------------------
 1556|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1557|      0|            return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
 1558|      0|        }
 1559|    595|        PyTuple_SET_ITEM(const_tuple, i, element);
  ------------------
  |  |   40|    595|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    595|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    595|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    595|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    595|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1560|    595|    }
 1561|       |
 1562|    308|    nop_out(const_instrs, seq_size);
 1563|    308|    return instr_make_load_const(instr, const_tuple, consts, const_cache, consts_index);
 1564|    308|}
flowgraph.c:get_const_loading_instrs:
 1391|  2.23k|{
 1392|  2.23k|    assert(start < bb->b_iused);
 1393|  2.23k|    assert(size >= 0);
 1394|  2.23k|    assert(size <= _PY_STACK_USE_GUIDELINE);
 1395|       |
 1396|  3.72k|    for (; start >= 0 && size > 0; start--) {
  ------------------
  |  Branch (1396:12): [True: 3.70k, False: 21]
  |  Branch (1396:26): [True: 3.29k, False: 409]
  ------------------
 1397|  3.29k|        cfg_instr *instr = &bb->b_instr[start];
 1398|  3.29k|        if (instr->i_opcode == NOP) {
  ------------------
  |  |   38|  3.29k|#define NOP                                     25
  ------------------
  |  Branch (1398:13): [True: 28, False: 3.26k]
  ------------------
 1399|     28|            continue;
 1400|     28|        }
 1401|  3.26k|        if (!loads_const(instr->i_opcode)) {
  ------------------
  |  Branch (1401:13): [True: 1.80k, False: 1.46k]
  ------------------
 1402|  1.80k|            return false;
 1403|  1.80k|        }
 1404|  1.46k|        instrs[--size] = instr;
 1405|  1.46k|    }
 1406|       |
 1407|    430|    return size == 0;
 1408|  2.23k|}
flowgraph.c:nop_out:
 1416|    427|{
 1417|  1.44k|    for (int i = 0; i < size; i++) {
  ------------------
  |  Branch (1417:21): [True: 1.01k, False: 427]
  ------------------
 1418|  1.01k|        cfg_instr *instr = instrs[i];
 1419|  1.01k|        assert(instr->i_opcode != NOP);
 1420|  1.01k|        INSTR_SET_OP0(instr, NOP);
  ------------------
  |  |  124|  1.01k|    do { \
  |  |  125|  1.01k|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  126|  1.01k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  127|  1.01k|        _instr__ptr_->i_opcode = (OP); \
  |  |  128|  1.01k|        _instr__ptr_->i_oparg = 0; \
  |  |  129|  1.01k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (129:14): [Folded, False: 1.01k]
  |  |  ------------------
  ------------------
 1421|  1.01k|        INSTR_SET_LOC(instr, NO_LOCATION);
  ------------------
  |  |  132|  1.01k|    do { \
  |  |  133|  1.01k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  134|  1.01k|        _instr__ptr_->i_loc = (LOC); \
  |  |  135|  1.01k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (135:14): [Folded, False: 1.01k]
  |  |  ------------------
  ------------------
 1422|  1.01k|    }
 1423|    427|}
flowgraph.c:instr_make_load_const:
 1495|    363|{
 1496|    363|    int res = maybe_instr_make_load_smallint(instr, newconst, consts, const_cache);
 1497|    363|    if (res < 0) {
  ------------------
  |  Branch (1497:9): [True: 0, False: 363]
  ------------------
 1498|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1499|      0|        return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
 1500|      0|    }
 1501|    363|    if (res > 0) {
  ------------------
  |  Branch (1501:9): [True: 0, False: 363]
  ------------------
 1502|      0|        return SUCCESS;
  ------------------
  |  |   20|      0|#define SUCCESS 0
  ------------------
 1503|      0|    }
 1504|    363|    res = maybe_instr_make_load_common_const(instr, newconst);
 1505|    363|    if (res < 0) {
  ------------------
  |  Branch (1505:9): [True: 0, False: 363]
  ------------------
 1506|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1507|      0|        return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
 1508|      0|    }
 1509|    363|    if (res > 0) {
  ------------------
  |  Branch (1509:9): [True: 41, False: 322]
  ------------------
 1510|     41|        return SUCCESS;
  ------------------
  |  |   20|     41|#define SUCCESS 0
  ------------------
 1511|     41|    }
 1512|    322|    int oparg = add_const(newconst, consts, const_cache, consts_index);
 1513|    322|    RETURN_IF_ERROR(oparg);
  ------------------
  |  |   24|    322|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 322]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
 1514|    322|    INSTR_SET_OP1(instr, LOAD_CONST, oparg);
  ------------------
  |  |  115|    322|    do { \
  |  |  116|    322|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  117|    322|        cfg_instr *_instr__ptr_ = (I); \
  |  |  118|    322|        _instr__ptr_->i_opcode = (OP); \
  |  |  119|    322|        _instr__ptr_->i_oparg = (ARG); \
  |  |  120|    322|    } while (0);
  |  |  ------------------
  |  |  |  Branch (120:14): [Folded, False: 322]
  |  |  ------------------
  ------------------
 1515|    322|    return SUCCESS;
  ------------------
  |  |   20|    322|#define SUCCESS 0
  ------------------
 1516|    322|}
flowgraph.c:optimize_lists_and_sets:
 1672|    316|{
 1673|    316|    assert(PyDict_CheckExact(const_cache));
 1674|    316|    assert(PyList_CheckExact(consts));
 1675|       |
 1676|    316|    cfg_instr *instr = &bb->b_instr[i];
 1677|    316|    assert(instr->i_opcode == BUILD_LIST || instr->i_opcode == BUILD_SET);
 1678|       |
 1679|    316|    bool contains_or_iter = nextop == GET_ITER || nextop == CONTAINS_OP;
  ------------------
  |  |   83|    632|#define GET_ITER                                70
  ------------------
                  bool contains_or_iter = nextop == GET_ITER || nextop == CONTAINS_OP;
  ------------------
  |  |   68|    632|#define CONTAINS_OP                             55
  ------------------
  |  Branch (1679:29): [True: 0, False: 316]
  |  Branch (1679:51): [True: 74, False: 242]
  ------------------
 1680|    316|    int seq_size = instr->i_oparg;
 1681|    316|    if (seq_size > _PY_STACK_USE_GUIDELINE ||
  ------------------
  |  |   24|    632|#define _PY_STACK_USE_GUIDELINE 30
  ------------------
  |  Branch (1681:9): [True: 0, False: 316]
  ------------------
 1682|    316|        (seq_size < MIN_CONST_SEQUENCE_SIZE && !contains_or_iter))
  ------------------
  |  | 1656|    632|#define MIN_CONST_SEQUENCE_SIZE 3
  ------------------
  |  Branch (1682:10): [True: 269, False: 47]
  |  Branch (1682:48): [True: 228, False: 41]
  ------------------
 1683|    228|    {
 1684|    228|        return SUCCESS;
  ------------------
  |  |   20|    228|#define SUCCESS 0
  ------------------
 1685|    228|    }
 1686|       |
 1687|     88|    cfg_instr *const_instrs[_PY_STACK_USE_GUIDELINE];
 1688|     88|    if (!get_const_loading_instrs(bb, i-1, const_instrs, seq_size)) {  /* not a const sequence */
  ------------------
  |  Branch (1688:9): [True: 24, False: 64]
  ------------------
 1689|     24|        if (contains_or_iter && instr->i_opcode == BUILD_LIST) {
  ------------------
  |  |   57|     18|#define BUILD_LIST                              44
  ------------------
  |  Branch (1689:13): [True: 18, False: 6]
  |  Branch (1689:33): [True: 13, False: 5]
  ------------------
 1690|       |            /* iterate over a tuple instead of list */
 1691|     13|            INSTR_SET_OP1(instr, BUILD_TUPLE, instr->i_oparg);
  ------------------
  |  |  115|     13|    do { \
  |  |  116|     13|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  117|     13|        cfg_instr *_instr__ptr_ = (I); \
  |  |  118|     13|        _instr__ptr_->i_opcode = (OP); \
  |  |  119|     13|        _instr__ptr_->i_oparg = (ARG); \
  |  |  120|     13|    } while (0);
  |  |  ------------------
  |  |  |  Branch (120:14): [Folded, False: 13]
  |  |  ------------------
  ------------------
 1692|     13|        }
 1693|     24|        return SUCCESS;
  ------------------
  |  |   20|     24|#define SUCCESS 0
  ------------------
 1694|     24|    }
 1695|       |
 1696|     64|    PyObject *const_result = PyTuple_New((Py_ssize_t)seq_size);
 1697|     64|    if (const_result == NULL) {
  ------------------
  |  Branch (1697:9): [True: 0, False: 64]
  ------------------
 1698|      0|        return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
 1699|      0|    }
 1700|       |
 1701|    418|    for (int i = 0; i < seq_size; i++) {
  ------------------
  |  Branch (1701:21): [True: 354, False: 64]
  ------------------
 1702|    354|        cfg_instr *inst = const_instrs[i];
 1703|    354|        assert(loads_const(inst->i_opcode));
 1704|    354|        PyObject *element = get_const_value(inst->i_opcode, inst->i_oparg, consts);
 1705|    354|        if (element == NULL) {
  ------------------
  |  Branch (1705:13): [True: 0, False: 354]
  ------------------
 1706|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1707|      0|            return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
 1708|      0|        }
 1709|    354|        PyTuple_SET_ITEM(const_result, i, element);
  ------------------
  |  |   40|    354|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    354|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    354|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|    354|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    354|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1710|    354|    }
 1711|       |
 1712|     64|    if (instr->i_opcode == BUILD_SET) {
  ------------------
  |  |   59|     64|#define BUILD_SET                               46
  ------------------
  |  Branch (1712:9): [True: 60, False: 4]
  ------------------
 1713|     60|        PyObject *frozenset = PyFrozenSet_New(const_result);
 1714|     60|        if (frozenset == NULL) {
  ------------------
  |  Branch (1714:13): [True: 0, False: 60]
  ------------------
 1715|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1716|      0|            return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
 1717|      0|        }
 1718|     60|        Py_SETREF(const_result, frozenset);
  ------------------
  |  |  352|     60|    do { \
  |  |  353|     60|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     60|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  354|     60|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     60|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  355|     60|        *_tmp_dst_ptr = (src); \
  |  |  356|     60|        Py_DECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  357|     60|    } while (0)
  |  |  ------------------
  |  |  |  Branch (357:14): [Folded, False: 60]
  |  |  ------------------
  ------------------
 1719|     60|    }
 1720|       |
 1721|     64|    int index = add_const(const_result, consts, const_cache, consts_index);
 1722|     64|    RETURN_IF_ERROR(index);
  ------------------
  |  |   24|     64|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 64]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
 1723|     64|    nop_out(const_instrs, seq_size);
 1724|       |
 1725|     64|    if (contains_or_iter) {
  ------------------
  |  Branch (1725:9): [True: 56, False: 8]
  ------------------
 1726|     56|        INSTR_SET_OP1(instr, LOAD_CONST, index);
  ------------------
  |  |  115|     56|    do { \
  |  |  116|     56|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  117|     56|        cfg_instr *_instr__ptr_ = (I); \
  |  |  118|     56|        _instr__ptr_->i_opcode = (OP); \
  |  |  119|     56|        _instr__ptr_->i_oparg = (ARG); \
  |  |  120|     56|    } while (0);
  |  |  ------------------
  |  |  |  Branch (120:14): [Folded, False: 56]
  |  |  ------------------
  ------------------
 1727|     56|    }
 1728|      8|    else {
 1729|      8|        assert(i >= 2);
 1730|      8|        assert(instr->i_opcode == BUILD_LIST || instr->i_opcode == BUILD_SET);
 1731|       |
 1732|      8|        INSTR_SET_LOC(&bb->b_instr[i-2], instr->i_loc);
  ------------------
  |  |  132|      8|    do { \
  |  |  133|      8|        cfg_instr *_instr__ptr_ = (I); \
  |  |  134|      8|        _instr__ptr_->i_loc = (LOC); \
  |  |  135|      8|    } while (0);
  |  |  ------------------
  |  |  |  Branch (135:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1733|       |
 1734|      8|        INSTR_SET_OP1(&bb->b_instr[i-2], instr->i_opcode, 0);
  ------------------
  |  |  115|      8|    do { \
  |  |  116|      8|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  117|      8|        cfg_instr *_instr__ptr_ = (I); \
  |  |  118|      8|        _instr__ptr_->i_opcode = (OP); \
  |  |  119|      8|        _instr__ptr_->i_oparg = (ARG); \
  |  |  120|      8|    } while (0);
  |  |  ------------------
  |  |  |  Branch (120:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1735|      8|        INSTR_SET_OP1(&bb->b_instr[i-1], LOAD_CONST, index);
  ------------------
  |  |  115|      8|    do { \
  |  |  116|      8|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  117|      8|        cfg_instr *_instr__ptr_ = (I); \
  |  |  118|      8|        _instr__ptr_->i_opcode = (OP); \
  |  |  119|      8|        _instr__ptr_->i_oparg = (ARG); \
  |  |  120|      8|    } while (0);
  |  |  ------------------
  |  |  |  Branch (120:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1736|      8|        INSTR_SET_OP1(&bb->b_instr[i], instr->i_opcode == BUILD_LIST ? LIST_EXTEND : SET_UPDATE, 1);
  ------------------
  |  |  115|      8|    do { \
  |  |  116|      8|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  117|      8|        cfg_instr *_instr__ptr_ = (I); \
  |  |  118|     16|        _instr__ptr_->i_opcode = (OP); \
  |  |  ------------------
  |  |  |  Branch (118:35): [True: 4, False: 4]
  |  |  ------------------
  |  |  119|      8|        _instr__ptr_->i_oparg = (ARG); \
  |  |  120|      8|    } while (0);
  |  |  ------------------
  |  |  |  Branch (120:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1737|      8|    }
 1738|     64|    return SUCCESS;
  ------------------
  |  |   20|     64|#define SUCCESS 0
  ------------------
 1739|     64|}
flowgraph.c:jump_thread:
 1282|    123|{
 1283|    123|    assert(is_jump(inst));
 1284|    123|    assert(is_jump(target));
 1285|    123|    assert(inst == basicblock_last_instr(bb));
 1286|       |    // bpo-45773: If inst->i_target == target->i_target, then nothing actually
 1287|       |    // changes (and we fall into an infinite loop):
 1288|    123|    if (inst->i_target != target->i_target) {
  ------------------
  |  Branch (1288:9): [True: 123, False: 0]
  ------------------
 1289|       |        /* Change inst to NOP and append a jump to target->i_target. The
 1290|       |         * NOP will be removed later if it's not needed for the lineno.
 1291|       |         */
 1292|    123|        INSTR_SET_OP0(inst, NOP);
  ------------------
  |  |  124|    123|    do { \
  |  |  125|    123|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  126|    123|        cfg_instr *_instr__ptr_ = (I); \
  |  |  127|    123|        _instr__ptr_->i_opcode = (OP); \
  |  |  128|    123|        _instr__ptr_->i_oparg = 0; \
  |  |  129|    123|    } while (0);
  |  |  ------------------
  |  |  |  Branch (129:14): [Folded, False: 123]
  |  |  ------------------
  ------------------
 1293|       |
 1294|    123|        RETURN_IF_ERROR(
  ------------------
  |  |   24|    123|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 123]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
 1295|    123|            basicblock_add_jump(
 1296|    123|                bb, opcode, target->i_target, target->i_loc));
 1297|       |
 1298|    123|        return true;
 1299|    123|    }
 1300|      0|    return false;
 1301|    123|}
flowgraph.c:basicblock_add_jump:
  214|    254|{
  215|    254|    cfg_instr *last = basicblock_last_instr(b);
  216|    254|    if (last && is_jump(last)) {
  ------------------
  |  Branch (216:9): [True: 254, False: 0]
  |  Branch (216:17): [True: 0, False: 254]
  ------------------
  217|      0|        return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
  218|      0|    }
  219|       |
  220|    254|    RETURN_IF_ERROR(
  ------------------
  |  |   24|    254|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 254]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
  221|    254|        basicblock_addop(b, opcode, target->b_label.id, loc));
  222|    254|    last = basicblock_last_instr(b);
  223|    254|    assert(last && last->i_opcode == opcode);
  224|    254|    last->i_target = target;
  225|    254|    return SUCCESS;
  ------------------
  |  |   20|    254|#define SUCCESS 0
  ------------------
  226|    254|}
flowgraph.c:fold_const_unaryop:
 2009|     61|{
 2010|     61|    #define UNARYOP_OPERAND_COUNT 1
 2011|     61|    assert(PyDict_CheckExact(const_cache));
 2012|     61|    assert(PyList_CheckExact(consts));
 2013|     61|    cfg_instr *unaryop = &bb->b_instr[i];
 2014|       |
 2015|     61|    cfg_instr *operand_instr;
 2016|     61|    if (!get_const_loading_instrs(bb, i-1, &operand_instr, UNARYOP_OPERAND_COUNT)) {
  ------------------
  |  | 2010|     61|    #define UNARYOP_OPERAND_COUNT 1
  ------------------
  |  Branch (2016:9): [True: 18, False: 43]
  ------------------
 2017|       |        /* not a const */
 2018|     18|        return SUCCESS;
  ------------------
  |  |   20|     18|#define SUCCESS 0
  ------------------
 2019|     18|    }
 2020|       |
 2021|     61|    assert(loads_const(operand_instr->i_opcode));
 2022|     43|    PyObject *operand = get_const_value(
 2023|     43|        operand_instr->i_opcode,
 2024|     43|        operand_instr->i_oparg,
 2025|     43|        consts
 2026|     43|    );
 2027|     43|    if (operand == NULL) {
  ------------------
  |  Branch (2027:9): [True: 0, False: 43]
  ------------------
 2028|      0|        return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
 2029|      0|    }
 2030|       |
 2031|     43|    PyObject *newconst = eval_const_unaryop(operand, unaryop->i_opcode, unaryop->i_oparg);
 2032|     43|    Py_DECREF(operand);
  ------------------
  |  |  430|     43|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     43|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     43|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2033|     43|    if (newconst == NULL) {
  ------------------
  |  Branch (2033:9): [True: 0, False: 43]
  ------------------
 2034|      0|        if (PyErr_ExceptionMatches(PyExc_KeyboardInterrupt)) {
  ------------------
  |  Branch (2034:13): [True: 0, False: 0]
  ------------------
 2035|      0|            return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
 2036|      0|        }
 2037|      0|        PyErr_Clear();
 2038|      0|        return SUCCESS;
  ------------------
  |  |   20|      0|#define SUCCESS 0
  ------------------
 2039|      0|    }
 2040|       |
 2041|     43|    if (unaryop->i_opcode == UNARY_NOT) {
  ------------------
  |  |   53|     43|#define UNARY_NOT                               40
  ------------------
  |  Branch (2041:9): [True: 0, False: 43]
  ------------------
 2042|      0|        assert(PyBool_Check(newconst));
 2043|      0|    }
 2044|     43|    nop_out(&operand_instr, UNARYOP_OPERAND_COUNT);
  ------------------
  |  | 2010|     43|    #define UNARYOP_OPERAND_COUNT 1
  ------------------
 2045|     43|    return instr_make_load_const(unaryop, newconst, consts, const_cache, consts_index);
 2046|     43|}
flowgraph.c:eval_const_unaryop:
 1966|     43|{
 1967|     43|    assert(operand != NULL);
 1968|     43|    assert(
 1969|     43|        opcode == UNARY_NEGATIVE ||
 1970|     43|        opcode == UNARY_INVERT ||
 1971|     43|        opcode == UNARY_NOT ||
 1972|     43|        (opcode == CALL_INTRINSIC_1 && oparg == INTRINSIC_UNARY_POSITIVE)
 1973|     43|    );
 1974|     43|    PyObject *result;
 1975|     43|    switch (opcode) {
 1976|     43|        case UNARY_NEGATIVE:
  ------------------
  |  |   52|     43|#define UNARY_NEGATIVE                          39
  ------------------
  |  Branch (1976:9): [True: 43, False: 0]
  ------------------
 1977|     43|            result = PyNumber_Negative(operand);
 1978|     43|            break;
 1979|      0|        case UNARY_INVERT:
  ------------------
  |  |   51|      0|#define UNARY_INVERT                            38
  ------------------
  |  Branch (1979:9): [True: 0, False: 43]
  ------------------
 1980|       |            // XXX: This should be removed once the ~bool depreciation expires.
 1981|      0|            if (PyBool_Check(operand)) {
  ------------------
  |  |   12|      0|#define PyBool_Check(x) Py_IS_TYPE((x), &PyBool_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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1982|      0|                return NULL;
 1983|      0|            }
 1984|      0|            result = PyNumber_Invert(operand);
 1985|      0|            break;
 1986|      0|        case UNARY_NOT: {
  ------------------
  |  |   53|      0|#define UNARY_NOT                               40
  ------------------
  |  Branch (1986:9): [True: 0, False: 43]
  ------------------
 1987|      0|            int r = PyObject_IsTrue(operand);
 1988|      0|            if (r < 0) {
  ------------------
  |  Branch (1988:17): [True: 0, False: 0]
  ------------------
 1989|      0|                return NULL;
 1990|      0|            }
 1991|      0|            result = PyBool_FromLong(!r);
 1992|      0|            break;
 1993|      0|        }
 1994|      0|        case CALL_INTRINSIC_1:
  ------------------
  |  |   64|      0|#define CALL_INTRINSIC_1                        51
  ------------------
  |  Branch (1994:9): [True: 0, False: 43]
  ------------------
 1995|      0|            if (oparg != INTRINSIC_UNARY_POSITIVE) {
  ------------------
  |  |   14|      0|#define INTRINSIC_UNARY_POSITIVE                 5
  ------------------
  |  Branch (1995:17): [True: 0, False: 0]
  ------------------
 1996|      0|                Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1997|      0|            }
 1998|      0|            result = PyNumber_Positive(operand);
 1999|      0|            break;
 2000|      0|        default:
  ------------------
  |  Branch (2000:9): [True: 0, False: 43]
  ------------------
 2001|      0|            Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 2002|     43|    }
 2003|     43|    return result;
 2004|     43|}
flowgraph.c:fold_constant_intrinsic_list_to_tuple:
 1583|     32|{
 1584|     32|    assert(PyDict_CheckExact(const_cache));
 1585|     32|    assert(PyList_CheckExact(consts));
 1586|     32|    assert(i >= 0);
 1587|     32|    assert(i < bb->b_iused);
 1588|       |
 1589|     32|    cfg_instr *intrinsic = &bb->b_instr[i];
 1590|     32|    assert(intrinsic->i_opcode == CALL_INTRINSIC_1);
 1591|     32|    assert(intrinsic->i_oparg == INTRINSIC_LIST_TO_TUPLE);
 1592|       |
 1593|     32|    int consts_found = 0;
 1594|     32|    bool expect_append = true;
 1595|       |
 1596|     32|    for (int pos = i - 1; pos >= 0; pos--) {
  ------------------
  |  Branch (1596:27): [True: 32, False: 0]
  ------------------
 1597|     32|        cfg_instr *instr = &bb->b_instr[pos];
 1598|     32|        int opcode = instr->i_opcode;
 1599|     32|        int oparg = instr->i_oparg;
 1600|       |
 1601|     32|        if (opcode == NOP) {
  ------------------
  |  |   38|     32|#define NOP                                     25
  ------------------
  |  Branch (1601:13): [True: 0, False: 32]
  ------------------
 1602|      0|            continue;
 1603|      0|        }
 1604|       |
 1605|     32|        if (opcode == BUILD_LIST && oparg == 0) {
  ------------------
  |  |   57|     64|#define BUILD_LIST                              44
  ------------------
  |  Branch (1605:13): [True: 0, False: 32]
  |  Branch (1605:37): [True: 0, False: 0]
  ------------------
 1606|      0|            if (!expect_append) {
  ------------------
  |  Branch (1606:17): [True: 0, False: 0]
  ------------------
 1607|       |                /* Not a sequence start. */
 1608|      0|                return SUCCESS;
  ------------------
  |  |   20|      0|#define SUCCESS 0
  ------------------
 1609|      0|            }
 1610|       |
 1611|       |            /* Sequence start, we are done. */
 1612|      0|            PyObject *newconst = PyTuple_New((Py_ssize_t)consts_found);
 1613|      0|            if (newconst == NULL) {
  ------------------
  |  Branch (1613:17): [True: 0, False: 0]
  ------------------
 1614|      0|                return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
 1615|      0|            }
 1616|       |
 1617|      0|            for (int newpos = i - 1; newpos >= pos; newpos--) {
  ------------------
  |  Branch (1617:38): [True: 0, False: 0]
  ------------------
 1618|      0|                instr = &bb->b_instr[newpos];
 1619|      0|                if (instr->i_opcode == NOP) {
  ------------------
  |  |   38|      0|#define NOP                                     25
  ------------------
  |  Branch (1619:21): [True: 0, False: 0]
  ------------------
 1620|      0|                    continue;
 1621|      0|                }
 1622|      0|                if (loads_const(instr->i_opcode)) {
  ------------------
  |  Branch (1622:21): [True: 0, False: 0]
  ------------------
 1623|      0|                    PyObject *constant = get_const_value(instr->i_opcode, instr->i_oparg, consts);
 1624|      0|                    if (constant == NULL) {
  ------------------
  |  Branch (1624:25): [True: 0, False: 0]
  ------------------
 1625|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1626|      0|                        return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
 1627|      0|                    }
 1628|      0|                    assert(consts_found > 0);
 1629|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1630|      0|                }
 1631|      0|                nop_out(&instr, 1);
 1632|      0|            }
 1633|      0|            assert(consts_found == 0);
 1634|      0|            return instr_make_load_const(intrinsic, newconst, consts, const_cache, consts_index);
 1635|      0|        }
 1636|       |
 1637|     32|        if (expect_append) {
  ------------------
  |  Branch (1637:13): [True: 32, False: 0]
  ------------------
 1638|     32|            if (opcode != LIST_APPEND || oparg != 1) {
  ------------------
  |  |   90|     64|#define LIST_APPEND                             77
  ------------------
  |  Branch (1638:17): [True: 32, False: 0]
  |  Branch (1638:42): [True: 0, False: 0]
  ------------------
 1639|     32|                return SUCCESS;
  ------------------
  |  |   20|     32|#define SUCCESS 0
  ------------------
 1640|     32|            }
 1641|     32|        }
 1642|      0|        else {
 1643|      0|            if (!loads_const(opcode)) {
  ------------------
  |  Branch (1643:17): [True: 0, False: 0]
  ------------------
 1644|      0|                return SUCCESS;
  ------------------
  |  |   20|      0|#define SUCCESS 0
  ------------------
 1645|      0|            }
 1646|      0|            consts_found++;
 1647|      0|        }
 1648|       |
 1649|      0|        expect_append = !expect_append;
 1650|      0|    }
 1651|       |
 1652|       |    /* Did not find sequence start. */
 1653|      0|    return SUCCESS;
  ------------------
  |  |   20|      0|#define SUCCESS 0
  ------------------
 1654|     32|}
flowgraph.c:fold_const_binop:
 1920|    878|{
 1921|    878|    #define BINOP_OPERAND_COUNT 2
 1922|    878|    assert(PyDict_CheckExact(const_cache));
 1923|    878|    assert(PyList_CheckExact(consts));
 1924|       |
 1925|    878|    cfg_instr *binop = &bb->b_instr[i];
 1926|    878|    assert(binop->i_opcode == BINARY_OP);
 1927|       |
 1928|    878|    cfg_instr *operands_instrs[BINOP_OPERAND_COUNT];
 1929|    878|    if (!get_const_loading_instrs(bb, i-1, operands_instrs, BINOP_OPERAND_COUNT)) {
  ------------------
  |  | 1921|    878|    #define BINOP_OPERAND_COUNT 2
  ------------------
  |  Branch (1929:9): [True: 866, False: 12]
  ------------------
 1930|       |        /* not a const sequence */
 1931|    866|        return SUCCESS;
  ------------------
  |  |   20|    866|#define SUCCESS 0
  ------------------
 1932|    866|    }
 1933|       |
 1934|     12|    cfg_instr *lhs_instr = operands_instrs[0];
 1935|     12|    assert(loads_const(lhs_instr->i_opcode));
 1936|     12|    PyObject *lhs = get_const_value(lhs_instr->i_opcode, lhs_instr->i_oparg, consts);
 1937|     12|    if (lhs == NULL) {
  ------------------
  |  Branch (1937:9): [True: 0, False: 12]
  ------------------
 1938|      0|        return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
 1939|      0|    }
 1940|       |
 1941|     12|    cfg_instr *rhs_instr = operands_instrs[1];
 1942|     12|    assert(loads_const(rhs_instr->i_opcode));
 1943|     12|    PyObject *rhs = get_const_value(rhs_instr->i_opcode, rhs_instr->i_oparg, consts);
 1944|     12|    if (rhs == NULL) {
  ------------------
  |  Branch (1944:9): [True: 0, False: 12]
  ------------------
 1945|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1946|      0|        return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
 1947|      0|    }
 1948|       |
 1949|     12|    PyObject *newconst = eval_const_binop(lhs, binop->i_oparg, rhs);
 1950|     12|    Py_DECREF(lhs);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1951|     12|    Py_DECREF(rhs);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1952|     12|    if (newconst == NULL) {
  ------------------
  |  Branch (1952:9): [True: 0, False: 12]
  ------------------
 1953|      0|        if (PyErr_ExceptionMatches(PyExc_KeyboardInterrupt)) {
  ------------------
  |  Branch (1953:13): [True: 0, False: 0]
  ------------------
 1954|      0|            return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
 1955|      0|        }
 1956|      0|        PyErr_Clear();
 1957|      0|        return SUCCESS;
  ------------------
  |  |   20|      0|#define SUCCESS 0
  ------------------
 1958|      0|    }
 1959|       |
 1960|     12|    nop_out(operands_instrs, BINOP_OPERAND_COUNT);
  ------------------
  |  | 1921|     12|    #define BINOP_OPERAND_COUNT 2
  ------------------
 1961|     12|    return instr_make_load_const(binop, newconst, consts, const_cache, consts_index);
 1962|     12|}
flowgraph.c:eval_const_binop:
 1863|     12|{
 1864|     12|    assert(left != NULL && right != NULL);
 1865|     12|    assert(op >= 0 && op <= NB_OPARG_LAST);
 1866|       |
 1867|     12|    PyObject *result = NULL;
 1868|     12|    switch (op) {
 1869|      1|        case NB_ADD:
  ------------------
  |  |   10|      1|#define NB_ADD                                   0
  ------------------
  |  Branch (1869:9): [True: 1, False: 11]
  ------------------
 1870|      1|            result = PyNumber_Add(left, right);
 1871|      1|            break;
 1872|      0|        case NB_SUBTRACT:
  ------------------
  |  |   20|      0|#define NB_SUBTRACT                             10
  ------------------
  |  Branch (1872:9): [True: 0, False: 12]
  ------------------
 1873|      0|            result = PyNumber_Subtract(left, right);
 1874|      0|            break;
 1875|      9|        case NB_MULTIPLY:
  ------------------
  |  |   15|      9|#define NB_MULTIPLY                              5
  ------------------
  |  Branch (1875:9): [True: 9, False: 3]
  ------------------
 1876|      9|            result = const_folding_safe_multiply(left, right);
 1877|      9|            break;
 1878|      0|        case NB_TRUE_DIVIDE:
  ------------------
  |  |   21|      0|#define NB_TRUE_DIVIDE                          11
  ------------------
  |  Branch (1878:9): [True: 0, False: 12]
  ------------------
 1879|      0|            result = PyNumber_TrueDivide(left, right);
 1880|      0|            break;
 1881|      0|        case NB_FLOOR_DIVIDE:
  ------------------
  |  |   12|      0|#define NB_FLOOR_DIVIDE                          2
  ------------------
  |  Branch (1881:9): [True: 0, False: 12]
  ------------------
 1882|      0|            result = PyNumber_FloorDivide(left, right);
 1883|      0|            break;
 1884|      0|        case NB_REMAINDER:
  ------------------
  |  |   16|      0|#define NB_REMAINDER                             6
  ------------------
  |  Branch (1884:9): [True: 0, False: 12]
  ------------------
 1885|      0|            result = const_folding_safe_mod(left, right);
 1886|      0|            break;
 1887|      2|        case NB_POWER:
  ------------------
  |  |   18|      2|#define NB_POWER                                 8
  ------------------
  |  Branch (1887:9): [True: 2, False: 10]
  ------------------
 1888|      2|            result = const_folding_safe_power(left, right);
 1889|      2|            break;
 1890|      0|        case NB_LSHIFT:
  ------------------
  |  |   13|      0|#define NB_LSHIFT                                3
  ------------------
  |  Branch (1890:9): [True: 0, False: 12]
  ------------------
 1891|      0|            result = const_folding_safe_lshift(left, right);
 1892|      0|            break;
 1893|      0|        case NB_RSHIFT:
  ------------------
  |  |   19|      0|#define NB_RSHIFT                                9
  ------------------
  |  Branch (1893:9): [True: 0, False: 12]
  ------------------
 1894|      0|            result = PyNumber_Rshift(left, right);
 1895|      0|            break;
 1896|      0|        case NB_OR:
  ------------------
  |  |   17|      0|#define NB_OR                                    7
  ------------------
  |  Branch (1896:9): [True: 0, False: 12]
  ------------------
 1897|      0|            result = PyNumber_Or(left, right);
 1898|      0|            break;
 1899|      0|        case NB_XOR:
  ------------------
  |  |   22|      0|#define NB_XOR                                  12
  ------------------
  |  Branch (1899:9): [True: 0, False: 12]
  ------------------
 1900|      0|            result = PyNumber_Xor(left, right);
 1901|      0|            break;
 1902|      0|        case NB_AND:
  ------------------
  |  |   11|      0|#define NB_AND                                   1
  ------------------
  |  Branch (1902:9): [True: 0, False: 12]
  ------------------
 1903|      0|            result = PyNumber_And(left, right);
 1904|      0|            break;
 1905|      0|        case NB_SUBSCR:
  ------------------
  |  |   36|      0|#define NB_SUBSCR                               26
  ------------------
  |  Branch (1905:9): [True: 0, False: 12]
  ------------------
 1906|      0|            result = PyObject_GetItem(left, right);
 1907|      0|            break;
 1908|      0|        case NB_MATRIX_MULTIPLY:
  ------------------
  |  |   14|      0|#define NB_MATRIX_MULTIPLY                       4
  ------------------
  |  Branch (1908:9): [True: 0, False: 12]
  ------------------
 1909|       |            // No builtin constants implement matrix multiplication
 1910|      0|            break;
 1911|      0|        default:
  ------------------
  |  Branch (1911:9): [True: 0, False: 12]
  ------------------
 1912|      0|            Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1913|     12|    }
 1914|     12|    return result;
 1915|     12|}
flowgraph.c:const_folding_safe_multiply:
 1768|     11|{
 1769|     11|    if (PyLong_Check(v) && PyLong_Check(w) &&
  ------------------
  |  |   13|     11|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     22|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 9, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyLong_Check(v) && PyLong_Check(w) &&
  ------------------
  |  |   13|      9|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     20|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 7, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1770|      7|        !_PyLong_IsZero((PyLongObject *)v) && !_PyLong_IsZero((PyLongObject *)w)
  ------------------
  |  Branch (1770:9): [True: 7, False: 0]
  |  Branch (1770:47): [True: 7, False: 0]
  ------------------
 1771|     11|    ) {
 1772|      7|        int64_t vbits = _PyLong_NumBits(v);
 1773|      7|        int64_t wbits = _PyLong_NumBits(w);
 1774|      7|        assert(vbits >= 0);
 1775|      7|        assert(wbits >= 0);
 1776|      7|        if (vbits + wbits > MAX_INT_SIZE) {
  ------------------
  |  | 1761|      7|#define MAX_INT_SIZE           128  /* bits */
  ------------------
  |  Branch (1776:13): [True: 0, False: 7]
  ------------------
 1777|      0|            return NULL;
 1778|      0|        }
 1779|      7|    }
 1780|      4|    else if (PyLong_Check(v) && PyTuple_Check(w)) {
  ------------------
  |  |   13|      4|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      8|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 2, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  else if (PyLong_Check(v) && PyTuple_Check(w)) {
  ------------------
  |  |   27|      2|                 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: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1781|      0|        Py_ssize_t size = PyTuple_GET_SIZE(w);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1782|      0|        if (size) {
  ------------------
  |  Branch (1782:13): [True: 0, False: 0]
  ------------------
 1783|      0|            long n = PyLong_AsLong(v);
 1784|      0|            if (n < 0 || n > MAX_COLLECTION_SIZE / size) {
  ------------------
  |  | 1762|      0|#define MAX_COLLECTION_SIZE    256  /* items */
  ------------------
  |  Branch (1784:17): [True: 0, False: 0]
  |  Branch (1784:26): [True: 0, False: 0]
  ------------------
 1785|      0|                return NULL;
 1786|      0|            }
 1787|      0|            if (n && const_folding_check_complexity(w, MAX_TOTAL_ITEMS / n) < 0) {
  ------------------
  |  | 1764|      0|#define MAX_TOTAL_ITEMS       1024  /* including nested collections */
  ------------------
  |  Branch (1787:17): [True: 0, False: 0]
  |  Branch (1787:22): [True: 0, False: 0]
  ------------------
 1788|      0|                return NULL;
 1789|      0|            }
 1790|      0|        }
 1791|      0|    }
 1792|      4|    else if (PyLong_Check(v) && (PyUnicode_Check(w) || PyBytes_Check(w))) {
  ------------------
  |  |   13|      4|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      8|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 2, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  else if (PyLong_Check(v) && (PyUnicode_Check(w) || PyBytes_Check(w))) {
  ------------------
  |  |  103|      2|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      4|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 2, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  else if (PyLong_Check(v) && (PyUnicode_Check(w) || PyBytes_Check(w))) {
  ------------------
  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1793|      2|        Py_ssize_t size = PyUnicode_Check(w) ? PyUnicode_GET_LENGTH(w) :
  ------------------
  |  |  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      Py_ssize_t size = PyUnicode_Check(w) ? PyUnicode_GET_LENGTH(w) :
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1794|      2|                                               PyBytes_GET_SIZE(w);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1795|      2|        if (size) {
  ------------------
  |  Branch (1795:13): [True: 2, False: 0]
  ------------------
 1796|      2|            long n = PyLong_AsLong(v);
 1797|      2|            if (n < 0 || n > MAX_STR_SIZE / size) {
  ------------------
  |  | 1763|      2|#define MAX_STR_SIZE          4096  /* characters */
  ------------------
  |  Branch (1797:17): [True: 0, False: 2]
  |  Branch (1797:26): [True: 0, False: 2]
  ------------------
 1798|      0|                return NULL;
 1799|      0|            }
 1800|      2|        }
 1801|      2|    }
 1802|      2|    else if (PyLong_Check(w) &&
  ------------------
  |  |   13|      2|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      4|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 2, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1803|      2|             (PyTuple_Check(v) || PyUnicode_Check(v) || PyBytes_Check(v)))
  ------------------
  |  |   27|      2|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      4|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                           (PyTuple_Check(v) || PyUnicode_Check(v) || PyBytes_Check(v)))
  ------------------
  |  |  103|      2|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      4|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 2, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                           (PyTuple_Check(v) || PyUnicode_Check(v) || 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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1804|      2|    {
 1805|      2|        return const_folding_safe_multiply(w, v);
 1806|      2|    }
 1807|       |
 1808|      9|    return PyNumber_Multiply(v, w);
 1809|     11|}
flowgraph.c:const_folding_safe_power:
 1813|      2|{
 1814|      2|    if (PyLong_Check(v) && PyLong_Check(w) &&
  ------------------
  |  |   13|      2|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      4|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 2, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyLong_Check(v) && PyLong_Check(w) &&
  ------------------
  |  |   13|      2|        PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|      4|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 2, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1815|      2|        !_PyLong_IsZero((PyLongObject *)v) && _PyLong_IsPositive((PyLongObject *)w)
  ------------------
  |  Branch (1815:9): [True: 2, False: 0]
  |  Branch (1815:47): [True: 2, False: 0]
  ------------------
 1816|      2|    ) {
 1817|      2|        int64_t vbits = _PyLong_NumBits(v);
 1818|      2|        size_t wbits = PyLong_AsSize_t(w);
 1819|      2|        assert(vbits >= 0);
 1820|      2|        if (wbits == (size_t)-1) {
  ------------------
  |  Branch (1820:13): [True: 0, False: 2]
  ------------------
 1821|      0|            return NULL;
 1822|      0|        }
 1823|      2|        if ((uint64_t)vbits > MAX_INT_SIZE / wbits) {
  ------------------
  |  | 1761|      2|#define MAX_INT_SIZE           128  /* bits */
  ------------------
  |  Branch (1823:13): [True: 0, False: 2]
  ------------------
 1824|      0|            return NULL;
 1825|      0|        }
 1826|      2|    }
 1827|       |
 1828|      2|    return PyNumber_Power(v, w, Py_None);
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1829|      2|}
flowgraph.c:swaptimize:
 2054|    428|{
 2055|       |    // NOTE: "./python -m test test_patma" serves as a good, quick stress test
 2056|       |    // for this function. Make sure to blow away cached *.pyc files first!
 2057|    428|    assert(*ix < block->b_iused);
 2058|    428|    cfg_instr *instructions = &block->b_instr[*ix];
 2059|       |    // Find the length of the current sequence of SWAPs and NOPs, and record the
 2060|       |    // maximum depth of the stack manipulations:
 2061|    428|    assert(instructions[0].i_opcode == SWAP);
 2062|    428|    int depth = instructions[0].i_oparg;
 2063|    428|    int len = 0;
 2064|    428|    int more = false;
 2065|    428|    int limit = block->b_iused - *ix;
 2066|    523|    while (++len < limit) {
  ------------------
  |  Branch (2066:12): [True: 523, False: 0]
  ------------------
 2067|    523|        int opcode = instructions[len].i_opcode;
 2068|    523|        if (opcode == SWAP) {
  ------------------
  |  |  129|    523|#define SWAP                                   116
  ------------------
  |  Branch (2068:13): [True: 78, False: 445]
  ------------------
 2069|     78|            depth = Py_MAX(depth, instructions[len].i_oparg);
  ------------------
  |  |  115|     78|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 26, False: 52]
  |  |  ------------------
  ------------------
 2070|     78|            more = true;
 2071|     78|        }
 2072|    445|        else if (opcode != NOP) {
  ------------------
  |  |   38|    445|#define NOP                                     25
  ------------------
  |  Branch (2072:18): [True: 428, False: 17]
  ------------------
 2073|    428|            break;
 2074|    428|        }
 2075|    523|    }
 2076|       |    // It's already optimal if there's only one SWAP:
 2077|    428|    if (!more) {
  ------------------
  |  Branch (2077:9): [True: 350, False: 78]
  ------------------
 2078|    350|        return SUCCESS;
  ------------------
  |  |   20|    350|#define SUCCESS 0
  ------------------
 2079|    350|    }
 2080|       |    // Create an array with elements {0, 1, 2, ..., depth - 1}:
 2081|     78|    int *stack = PyMem_Malloc(depth * sizeof(int));
 2082|     78|    if (stack == NULL) {
  ------------------
  |  Branch (2082:9): [True: 0, False: 78]
  ------------------
 2083|      0|        PyErr_NoMemory();
 2084|      0|        return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
 2085|      0|    }
 2086|    312|    for (int i = 0; i < depth; i++) {
  ------------------
  |  Branch (2086:21): [True: 234, False: 78]
  ------------------
 2087|    234|        stack[i] = i;
 2088|    234|    }
 2089|       |    // Simulate the combined effect of these instructions by "running" them on
 2090|       |    // our "stack":
 2091|    234|    for (int i = 0; i < len; i++) {
  ------------------
  |  Branch (2091:21): [True: 156, False: 78]
  ------------------
 2092|    156|        if (instructions[i].i_opcode == SWAP) {
  ------------------
  |  |  129|    156|#define SWAP                                   116
  ------------------
  |  Branch (2092:13): [True: 156, False: 0]
  ------------------
 2093|    156|            int oparg = instructions[i].i_oparg;
 2094|    156|            int top = stack[0];
 2095|       |            // SWAPs are 1-indexed:
 2096|    156|            stack[0] = stack[oparg - 1];
 2097|    156|            stack[oparg - 1] = top;
 2098|    156|        }
 2099|    156|    }
 2100|       |    // Now we can begin! Our approach here is based on a solution to a closely
 2101|       |    // related problem (https://cs.stackexchange.com/a/13938). It's easiest to
 2102|       |    // think of this algorithm as determining the steps needed to efficiently
 2103|       |    // "un-shuffle" our stack. By performing the moves in *reverse* order,
 2104|       |    // though, we can efficiently *shuffle* it! For this reason, we will be
 2105|       |    // replacing instructions starting from the *end* of the run. Since the
 2106|       |    // solution is optimal, we don't need to worry about running out of space:
 2107|     78|    int current = len - 1;
 2108|    312|    for (int i = 0; i < depth; i++) {
  ------------------
  |  Branch (2108:21): [True: 234, False: 78]
  ------------------
 2109|       |        // Skip items that have already been visited, or just happen to be in
 2110|       |        // the correct location:
 2111|    234|        if (stack[i] == VISITED || stack[i] == i) {
  ------------------
  |  | 2048|    468|#define VISITED (-1)
  ------------------
  |  Branch (2111:13): [True: 156, False: 78]
  |  Branch (2111:36): [True: 0, False: 78]
  ------------------
 2112|    156|            continue;
 2113|    156|        }
 2114|       |        // Okay, we've found an item that hasn't been visited. It forms a cycle
 2115|       |        // with other items; traversing the cycle and swapping each item with
 2116|       |        // the next will put them all in the correct place. The weird
 2117|       |        // loop-and-a-half is necessary to insert 0 into every cycle, since we
 2118|       |        // can only swap from that position:
 2119|     78|        int j = i;
 2120|    312|        while (true) {
  ------------------
  |  Branch (2120:16): [True: 312, Folded]
  ------------------
 2121|       |            // Skip the actual swap if our item is zero, since swapping the top
 2122|       |            // item with itself is pointless:
 2123|    312|            if (j) {
  ------------------
  |  Branch (2123:17): [True: 156, False: 156]
  ------------------
 2124|    156|                assert(0 <= current);
 2125|       |                // SWAPs are 1-indexed:
 2126|    156|                instructions[current].i_opcode = SWAP;
  ------------------
  |  |  129|    156|#define SWAP                                   116
  ------------------
 2127|    156|                instructions[current--].i_oparg = j + 1;
 2128|    156|            }
 2129|    312|            if (stack[j] == VISITED) {
  ------------------
  |  | 2048|    312|#define VISITED (-1)
  ------------------
  |  Branch (2129:17): [True: 78, False: 234]
  ------------------
 2130|       |                // Completed the cycle:
 2131|     78|                assert(j == i);
 2132|     78|                break;
 2133|     78|            }
 2134|    234|            int next_j = stack[j];
 2135|    234|            stack[j] = VISITED;
  ------------------
  |  | 2048|    234|#define VISITED (-1)
  ------------------
 2136|    234|            j = next_j;
 2137|    234|        }
 2138|     78|    }
 2139|       |    // NOP out any unused instructions:
 2140|     78|    while (0 <= current) {
  ------------------
  |  Branch (2140:12): [True: 0, False: 78]
  ------------------
 2141|      0|        INSTR_SET_OP0(&instructions[current--], NOP);
  ------------------
  |  |  124|      0|    do { \
  |  |  125|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  126|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  127|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  128|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  129|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (129:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 2142|      0|    }
 2143|     78|    PyMem_Free(stack);
 2144|     78|    *ix += len - 1;
 2145|     78|    return SUCCESS;
  ------------------
  |  |   20|     78|#define SUCCESS 0
  ------------------
 2146|     78|}
flowgraph.c:apply_static_swaps:
 2189|    428|{
 2190|       |    // SWAPs are to our left, and potential swaperands are to our right:
 2191|    538|    for (; 0 <= i; i--) {
  ------------------
  |  Branch (2191:12): [True: 514, False: 24]
  ------------------
 2192|    514|        assert(i < block->b_iused);
 2193|    514|        cfg_instr *swap = &block->b_instr[i];
 2194|    514|        if (swap->i_opcode != SWAP) {
  ------------------
  |  |  129|    514|#define SWAP                                   116
  ------------------
  |  Branch (2194:13): [True: 86, False: 428]
  ------------------
 2195|     86|            if (swap->i_opcode == NOP || SWAPPABLE(swap->i_opcode)) {
  ------------------
  |  |   38|    172|#define NOP                                     25
  ------------------
                          if (swap->i_opcode == NOP || SWAPPABLE(swap->i_opcode)) {
  ------------------
  |  | 2154|     43|    ((opcode) == STORE_FAST || \
  |  |  ------------------
  |  |  |  |  124|     86|#define STORE_FAST                             111
  |  |  ------------------
  |  |  |  Branch (2154:6): [True: 0, False: 43]
  |  |  ------------------
  |  | 2155|     43|     (opcode) == STORE_FAST_MAYBE_NULL || \
  |  |  ------------------
  |  |  |  |  257|     86|#define STORE_FAST_MAYBE_NULL                  266
  |  |  ------------------
  |  |  |  Branch (2155:6): [True: 0, False: 43]
  |  |  ------------------
  |  | 2156|     43|     (opcode) == POP_TOP)
  |  |  ------------------
  |  |  |  |   42|     43|#define POP_TOP                                 29
  |  |  ------------------
  |  |  |  Branch (2156:6): [True: 0, False: 43]
  |  |  ------------------
  ------------------
  |  Branch (2195:17): [True: 43, False: 43]
  ------------------
 2196|       |                // Nope, but we know how to handle these. Keep looking:
 2197|     43|                continue;
 2198|     43|            }
 2199|       |            // We can't reason about what this instruction does. Bail:
 2200|     43|            return;
 2201|     86|        }
 2202|    428|        int j = next_swappable_instruction(block, i, -1);
 2203|    428|        if (j < 0) {
  ------------------
  |  Branch (2203:13): [True: 238, False: 190]
  ------------------
 2204|    238|            return;
 2205|    238|        }
 2206|    190|        int k = j;
 2207|    190|        int lineno = block->b_instr[j].i_loc.lineno;
 2208|    286|        for (int count = swap->i_oparg - 1; 0 < count; count--) {
  ------------------
  |  Branch (2208:45): [True: 219, False: 67]
  ------------------
 2209|    219|            k = next_swappable_instruction(block, k, lineno);
 2210|    219|            if (k < 0) {
  ------------------
  |  Branch (2210:17): [True: 123, False: 96]
  ------------------
 2211|    123|                return;
 2212|    123|            }
 2213|    219|        }
 2214|       |        // The reordering is not safe if the two instructions to be swapped
 2215|       |        // store to the same location, or if any intervening instruction stores
 2216|       |        // to the same location as either of them.
 2217|     67|        int store_j = STORES_TO(block->b_instr[j]);
  ------------------
  |  | 2159|     67|    (((instr).i_opcode == STORE_FAST || \
  |  |  ------------------
  |  |  |  |  124|    134|#define STORE_FAST                             111
  |  |  ------------------
  |  |  |  Branch (2159:7): [True: 43, False: 24]
  |  |  ------------------
  |  | 2160|     67|      (instr).i_opcode == STORE_FAST_MAYBE_NULL) \
  |  |  ------------------
  |  |  |  |  257|     24|#define STORE_FAST_MAYBE_NULL                  266
  |  |  ------------------
  |  |  |  Branch (2160:7): [True: 24, False: 0]
  |  |  ------------------
  |  | 2161|     67|     ? (instr).i_oparg : -1)
  ------------------
 2218|     67|        int store_k = STORES_TO(block->b_instr[k]);
  ------------------
  |  | 2159|     67|    (((instr).i_opcode == STORE_FAST || \
  |  |  ------------------
  |  |  |  |  124|    134|#define STORE_FAST                             111
  |  |  ------------------
  |  |  |  Branch (2159:7): [True: 67, False: 0]
  |  |  ------------------
  |  | 2160|     67|      (instr).i_opcode == STORE_FAST_MAYBE_NULL) \
  |  |  ------------------
  |  |  |  |  257|      0|#define STORE_FAST_MAYBE_NULL                  266
  |  |  ------------------
  |  |  |  Branch (2160:7): [True: 0, False: 0]
  |  |  ------------------
  |  | 2161|     67|     ? (instr).i_oparg : -1)
  ------------------
 2219|     67|        if (store_j >= 0 || store_k >= 0) {
  ------------------
  |  Branch (2219:13): [True: 67, False: 0]
  |  Branch (2219:29): [True: 0, False: 0]
  ------------------
 2220|     67|            if (store_j == store_k) {
  ------------------
  |  Branch (2220:17): [True: 0, False: 67]
  ------------------
 2221|      0|                return;
 2222|      0|            }
 2223|     78|            for (int idx = j + 1; idx < k; idx++) {
  ------------------
  |  Branch (2223:35): [True: 11, False: 67]
  ------------------
 2224|     11|                int store_idx = STORES_TO(block->b_instr[idx]);
  ------------------
  |  | 2159|     11|    (((instr).i_opcode == STORE_FAST || \
  |  |  ------------------
  |  |  |  |  124|     22|#define STORE_FAST                             111
  |  |  ------------------
  |  |  |  Branch (2159:7): [True: 8, False: 3]
  |  |  ------------------
  |  | 2160|     11|      (instr).i_opcode == STORE_FAST_MAYBE_NULL) \
  |  |  ------------------
  |  |  |  |  257|      3|#define STORE_FAST_MAYBE_NULL                  266
  |  |  ------------------
  |  |  |  Branch (2160:7): [True: 3, False: 0]
  |  |  ------------------
  |  | 2161|     11|     ? (instr).i_oparg : -1)
  ------------------
 2225|     11|                if (store_idx >= 0 && (store_idx == store_j || store_idx == store_k)) {
  ------------------
  |  Branch (2225:21): [True: 11, False: 0]
  |  Branch (2225:40): [True: 0, False: 11]
  |  Branch (2225:64): [True: 0, False: 11]
  ------------------
 2226|      0|                    return;
 2227|      0|                }
 2228|     11|            }
 2229|     67|        }
 2230|       |
 2231|       |        // Success!
 2232|     67|        INSTR_SET_OP0(swap, NOP);
  ------------------
  |  |  124|     67|    do { \
  |  |  125|     67|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  126|     67|        cfg_instr *_instr__ptr_ = (I); \
  |  |  127|     67|        _instr__ptr_->i_opcode = (OP); \
  |  |  128|     67|        _instr__ptr_->i_oparg = 0; \
  |  |  129|     67|    } while (0);
  |  |  ------------------
  |  |  |  Branch (129:14): [Folded, False: 67]
  |  |  ------------------
  ------------------
 2233|     67|        cfg_instr temp = block->b_instr[j];
 2234|     67|        block->b_instr[j] = block->b_instr[k];
 2235|     67|        block->b_instr[k] = temp;
 2236|     67|    }
 2237|    428|}
flowgraph.c:next_swappable_instruction:
 2165|    647|{
 2166|    664|    while (++i < block->b_iused) {
  ------------------
  |  Branch (2166:12): [True: 661, False: 3]
  ------------------
 2167|    661|        cfg_instr *instruction = &block->b_instr[i];
 2168|    661|        if (0 <= lineno && instruction->i_loc.lineno != lineno) {
  ------------------
  |  Branch (2168:13): [True: 172, False: 489]
  |  Branch (2168:28): [True: 4, False: 168]
  ------------------
 2169|       |            // Optimizing across this instruction could cause user-visible
 2170|       |            // changes in the names bound between line tracing events!
 2171|      4|            return -1;
 2172|      4|        }
 2173|    657|        if (instruction->i_opcode == NOP) {
  ------------------
  |  |   38|    657|#define NOP                                     25
  ------------------
  |  Branch (2173:13): [True: 17, False: 640]
  ------------------
 2174|     17|            continue;
 2175|     17|        }
 2176|    640|        if (SWAPPABLE(instruction->i_opcode)) {
  ------------------
  |  | 2154|    640|    ((opcode) == STORE_FAST || \
  |  |  ------------------
  |  |  |  |  124|  1.28k|#define STORE_FAST                             111
  |  |  ------------------
  |  |  |  Branch (2154:6): [True: 123, False: 517]
  |  |  ------------------
  |  | 2155|    640|     (opcode) == STORE_FAST_MAYBE_NULL || \
  |  |  ------------------
  |  |  |  |  257|  1.15k|#define STORE_FAST_MAYBE_NULL                  266
  |  |  ------------------
  |  |  |  Branch (2155:6): [True: 102, False: 415]
  |  |  ------------------
  |  | 2156|    640|     (opcode) == POP_TOP)
  |  |  ------------------
  |  |  |  |   42|    415|#define POP_TOP                                 29
  |  |  ------------------
  |  |  |  Branch (2156:6): [True: 61, False: 354]
  |  |  ------------------
  ------------------
 2177|    286|            return i;
 2178|    286|        }
 2179|    354|        return -1;
 2180|    640|    }
 2181|      3|    return -1;
 2182|    647|}
flowgraph.c:remove_redundant_nops_and_pairs:
 1133|  2.43k|{
 1134|  2.43k|    bool done = false;
 1135|       |
 1136|  4.87k|    while (! done) {
  ------------------
  |  Branch (1136:12): [True: 2.43k, False: 2.43k]
  ------------------
 1137|  2.43k|        done = true;
 1138|  2.43k|        cfg_instr *prev_instr = NULL;
 1139|  2.43k|        cfg_instr *instr = NULL;
 1140|  16.7k|        for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (1140:42): [True: 14.3k, False: 2.43k]
  ------------------
 1141|  14.3k|            RETURN_IF_ERROR(basicblock_remove_redundant_nops(b));
  ------------------
  |  |   24|  14.3k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 14.3k]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
 1142|  14.3k|            if (IS_LABEL(b->b_label)) {
  ------------------
  |  |   95|  14.3k|#define IS_LABEL(L) (!SAME_LABEL((L), (NO_LABEL)))
  |  |  ------------------
  |  |  |  |   94|  14.3k|#define SAME_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  ------------------
  |  |  |  Branch (95:21): [True: 6.23k, False: 8.08k]
  |  |  ------------------
  ------------------
 1143|       |                /* this block is a jump target, forget instr */
 1144|  6.23k|                instr = NULL;
 1145|  6.23k|            }
 1146|   106k|            for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (1146:29): [True: 92.4k, False: 14.3k]
  ------------------
 1147|  92.4k|                prev_instr = instr;
 1148|  92.4k|                instr = &b->b_instr[i];
 1149|  92.4k|                int prev_opcode = prev_instr ? prev_instr->i_opcode : 0;
  ------------------
  |  Branch (1149:35): [True: 80.2k, False: 12.2k]
  ------------------
 1150|  92.4k|                int prev_oparg = prev_instr ? prev_instr->i_oparg : 0;
  ------------------
  |  Branch (1150:34): [True: 80.2k, False: 12.2k]
  ------------------
 1151|  92.4k|                int opcode = instr->i_opcode;
 1152|  92.4k|                bool is_redundant_pair = false;
 1153|  92.4k|                if (opcode == POP_TOP) {
  ------------------
  |  |   42|  92.4k|#define POP_TOP                                 29
  ------------------
  |  Branch (1153:21): [True: 3.61k, False: 88.8k]
  ------------------
 1154|  3.61k|                   if (loads_const(prev_opcode)) {
  ------------------
  |  Branch (1154:24): [True: 0, False: 3.61k]
  ------------------
 1155|      0|                       is_redundant_pair = true;
 1156|      0|                   }
 1157|  3.61k|                   else if (prev_opcode == COPY && prev_oparg == 1) {
  ------------------
  |  |   70|  7.22k|#define COPY                                    57
  ------------------
  |  Branch (1157:29): [True: 0, False: 3.61k]
  |  Branch (1157:52): [True: 0, False: 0]
  ------------------
 1158|      0|                       is_redundant_pair = true;
 1159|      0|                   }
 1160|  3.61k|                }
 1161|  92.4k|                if (is_redundant_pair) {
  ------------------
  |  Branch (1161:21): [True: 0, False: 92.4k]
  ------------------
 1162|      0|                    INSTR_SET_OP0(prev_instr, NOP);
  ------------------
  |  |  124|      0|    do { \
  |  |  125|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  126|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  127|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  128|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  129|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (129:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1163|      0|                    INSTR_SET_OP0(instr, NOP);
  ------------------
  |  |  124|      0|    do { \
  |  |  125|      0|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  126|      0|        cfg_instr *_instr__ptr_ = (I); \
  |  |  127|      0|        _instr__ptr_->i_opcode = (OP); \
  |  |  128|      0|        _instr__ptr_->i_oparg = 0; \
  |  |  129|      0|    } while (0);
  |  |  ------------------
  |  |  |  Branch (129:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 1164|      0|                    done = false;
 1165|      0|                }
 1166|  92.4k|            }
 1167|  14.3k|            if ((instr && is_jump(instr)) || !BB_HAS_FALLTHROUGH(b)) {
  ------------------
  |  |  250|  9.00k|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  ------------------
  |  Branch (1167:18): [True: 12.2k, False: 2.07k]
  |  Branch (1167:27): [True: 5.31k, False: 6.93k]
  |  Branch (1167:46): [True: 5.03k, False: 3.96k]
  ------------------
 1168|  10.3k|                instr = NULL;
 1169|  10.3k|            }
 1170|  14.3k|        }
 1171|  2.43k|    }
 1172|  2.43k|    return SUCCESS;
  ------------------
  |  |   20|  2.43k|#define SUCCESS 0
  ------------------
 1173|  2.43k|}
flowgraph.c:basicblock_remove_redundant_nops:
 1058|  78.3k|basicblock_remove_redundant_nops(basicblock *bb) {
 1059|       |    /* Remove NOPs when legal to do so. */
 1060|  78.3k|    int dest = 0;
 1061|  78.3k|    int prev_lineno = -1;
 1062|   565k|    for (int src = 0; src < bb->b_iused; src++) {
  ------------------
  |  Branch (1062:23): [True: 486k, False: 78.3k]
  ------------------
 1063|   486k|        int lineno = bb->b_instr[src].i_loc.lineno;
 1064|   486k|        if (bb->b_instr[src].i_opcode == NOP) {
  ------------------
  |  |   38|   486k|#define NOP                                     25
  ------------------
  |  Branch (1064:13): [True: 12.2k, False: 474k]
  ------------------
 1065|       |            /* Eliminate no-op if it doesn't have a line number */
 1066|  12.2k|            if (lineno < 0) {
  ------------------
  |  Branch (1066:17): [True: 1.36k, False: 10.8k]
  ------------------
 1067|  1.36k|                continue;
 1068|  1.36k|            }
 1069|       |            /* or, if the previous instruction had the same line number. */
 1070|  10.8k|            if (prev_lineno == lineno) {
  ------------------
  |  Branch (1070:17): [True: 8.66k, False: 2.17k]
  ------------------
 1071|  8.66k|                continue;
 1072|  8.66k|            }
 1073|       |            /* or, if the next instruction has same line number or no line number */
 1074|  2.17k|            if (src < bb->b_iused - 1) {
  ------------------
  |  Branch (1074:17): [True: 2.01k, False: 163]
  ------------------
 1075|  2.01k|                int next_lineno = bb->b_instr[src+1].i_loc.lineno;
 1076|  2.01k|                if (next_lineno == lineno) {
  ------------------
  |  Branch (1076:21): [True: 1.25k, False: 758]
  ------------------
 1077|  1.25k|                    continue;
 1078|  1.25k|                }
 1079|    758|                if (next_lineno < 0) {
  ------------------
  |  Branch (1079:21): [True: 0, False: 758]
  ------------------
 1080|      0|                    bb->b_instr[src+1].i_loc = bb->b_instr[src].i_loc;
 1081|      0|                    continue;
 1082|      0|                }
 1083|    758|            }
 1084|    163|            else {
 1085|    163|                basicblock *next = next_nonempty_block(bb->b_next);
 1086|       |                /* or if last instruction in BB and next BB has same line number */
 1087|    163|                if (next) {
  ------------------
  |  Branch (1087:21): [True: 163, False: 0]
  ------------------
 1088|    163|                    location next_loc = NO_LOCATION;
 1089|    163|                    for (int next_i=0; next_i < next->b_iused; next_i++) {
  ------------------
  |  Branch (1089:40): [True: 163, False: 0]
  ------------------
 1090|    163|                        cfg_instr *instr = &next->b_instr[next_i];
 1091|    163|                        if (instr->i_opcode == NOP && instr->i_loc.lineno < 0) {
  ------------------
  |  |   38|    326|#define NOP                                     25
  ------------------
  |  Branch (1091:29): [True: 18, False: 145]
  |  Branch (1091:55): [True: 0, False: 18]
  ------------------
 1092|       |                            /* Skip over NOPs without a location, they will be removed */
 1093|      0|                            continue;
 1094|      0|                        }
 1095|    163|                        next_loc = instr->i_loc;
 1096|    163|                        break;
 1097|    163|                    }
 1098|    163|                    if (lineno == next_loc.lineno) {
  ------------------
  |  Branch (1098:25): [True: 1, False: 162]
  ------------------
 1099|      1|                        continue;
 1100|      1|                    }
 1101|    163|                }
 1102|    163|            }
 1103|       |
 1104|  2.17k|        }
 1105|   475k|        if (dest != src) {
  ------------------
  |  Branch (1105:13): [True: 44.3k, False: 431k]
  ------------------
 1106|  44.3k|            bb->b_instr[dest] = bb->b_instr[src];
 1107|  44.3k|        }
 1108|   475k|        dest++;
 1109|   475k|        prev_lineno = lineno;
 1110|   475k|    }
 1111|       |    assert(dest <= bb->b_iused);
 1112|  78.3k|    int num_removed = bb->b_iused - dest;
 1113|  78.3k|    bb->b_iused = dest;
 1114|  78.3k|    memset(&bb->b_instr[dest], 0, sizeof(cfg_instr) * num_removed);
 1115|  78.3k|    return num_removed;
 1116|  78.3k|}
flowgraph.c:next_nonempty_block:
  502|  21.2k|{
  503|  22.1k|    while (b && b->b_iused == 0) {
  ------------------
  |  Branch (503:12): [True: 22.1k, False: 0]
  |  Branch (503:17): [True: 824, False: 21.2k]
  ------------------
  504|    824|        b = b->b_next;
  505|    824|    }
  506|  21.2k|    return b;
  507|  21.2k|}
flowgraph.c:remove_redundant_nops_and_jumps:
 2612|  5.29k|{
 2613|  5.29k|    int removed_nops, removed_jumps;
 2614|  5.96k|    do {
 2615|       |        /* Convergence is guaranteed because the number of
 2616|       |         * redundant jumps and nops only decreases.
 2617|       |         */
 2618|  5.96k|        removed_nops = remove_redundant_nops(g);
 2619|  5.96k|        RETURN_IF_ERROR(removed_nops);
  ------------------
  |  |   24|  5.96k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 5.96k]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
 2620|  5.96k|        removed_jumps = remove_redundant_jumps(g);
 2621|  5.96k|        RETURN_IF_ERROR(removed_jumps);
  ------------------
  |  |   24|  5.96k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 5.96k]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
 2622|  5.96k|    } while(removed_nops + removed_jumps > 0);
  ------------------
  |  Branch (2622:13): [True: 664, False: 5.29k]
  ------------------
 2623|  5.29k|    return SUCCESS;
  ------------------
  |  |   20|  5.29k|#define SUCCESS 0
  ------------------
 2624|  5.29k|}
flowgraph.c:remove_redundant_nops:
 1119|  8.40k|remove_redundant_nops(cfg_builder *g) {
 1120|  8.40k|    int changes = 0;
 1121|  72.4k|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (1121:43): [True: 64.0k, False: 8.40k]
  ------------------
 1122|  64.0k|        int change = basicblock_remove_redundant_nops(b);
 1123|  64.0k|        RETURN_IF_ERROR(change);
  ------------------
  |  |   24|  64.0k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 64.0k]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
 1124|  64.0k|        changes += change;
 1125|  64.0k|    }
 1126|  8.40k|    return changes;
 1127|  8.40k|}
flowgraph.c:remove_redundant_jumps:
 1176|  5.96k|remove_redundant_jumps(cfg_builder *g) {
 1177|       |    /* If a non-empty block ends with a jump instruction, check if the next
 1178|       |     * non-empty block reached through normal flow control is the target
 1179|       |     * of that jump. If it is, then the jump instruction is redundant and
 1180|       |     * can be deleted.
 1181|       |     *
 1182|       |     * Return the number of changes applied, or -1 on error.
 1183|       |     */
 1184|       |
 1185|  5.96k|    int changes = 0;
 1186|  55.6k|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (1186:43): [True: 49.6k, False: 5.96k]
  ------------------
 1187|  49.6k|        cfg_instr *last = basicblock_last_instr(b);
 1188|  49.6k|        if (last == NULL) {
  ------------------
  |  Branch (1188:13): [True: 6.86k, False: 42.8k]
  ------------------
 1189|  6.86k|            continue;
 1190|  6.86k|        }
 1191|  49.6k|        assert(!IS_ASSEMBLER_OPCODE(last->i_opcode));
 1192|  42.8k|        if (IS_UNCONDITIONAL_JUMP_OPCODE(last->i_opcode)) {
  ------------------
  |  |   40|  42.8k|        ((opcode) == JUMP || \
  |  |  ------------------
  |  |  |  |  248|  85.6k|#define JUMP                                   257
  |  |  ------------------
  |  |  |  Branch (40:10): [True: 1.95k, False: 40.8k]
  |  |  ------------------
  |  |   41|  42.8k|         (opcode) == JUMP_NO_INTERRUPT || \
  |  |  ------------------
  |  |  |  |  251|  83.6k|#define JUMP_NO_INTERRUPT                      260
  |  |  ------------------
  |  |  |  Branch (41:10): [True: 3.35k, False: 37.5k]
  |  |  ------------------
  |  |   42|  42.8k|         (opcode) == JUMP_FORWARD || \
  |  |  ------------------
  |  |  |  |   89|  80.3k|#define JUMP_FORWARD                            76
  |  |  ------------------
  |  |  |  Branch (42:10): [True: 0, False: 37.5k]
  |  |  ------------------
  |  |   43|  42.8k|         (opcode) == JUMP_BACKWARD || \
  |  |  ------------------
  |  |  |  |   87|  80.3k|#define JUMP_BACKWARD                           74
  |  |  ------------------
  |  |  |  Branch (43:10): [True: 0, False: 37.5k]
  |  |  ------------------
  |  |   44|  42.8k|         (opcode) == JUMP_BACKWARD_NO_INTERRUPT)
  |  |  ------------------
  |  |  |  |   88|  37.5k|#define JUMP_BACKWARD_NO_INTERRUPT              75
  |  |  ------------------
  |  |  |  Branch (44:10): [True: 0, False: 37.5k]
  |  |  ------------------
  ------------------
 1193|  5.31k|            basicblock* jump_target = next_nonempty_block(last->i_target);
 1194|  5.31k|            if (jump_target == NULL) {
  ------------------
  |  Branch (1194:17): [True: 0, False: 5.31k]
  ------------------
 1195|      0|                PyErr_SetString(PyExc_SystemError, "jump with NULL target");
 1196|      0|                return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
 1197|      0|            }
 1198|  5.31k|            basicblock *next = next_nonempty_block(b->b_next);
 1199|  5.31k|            if (jump_target == next) {
  ------------------
  |  Branch (1199:17): [True: 179, False: 5.13k]
  ------------------
 1200|    179|                changes++;
 1201|    179|                INSTR_SET_OP0(last, NOP);
  ------------------
  |  |  124|    179|    do { \
  |  |  125|    179|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  126|    179|        cfg_instr *_instr__ptr_ = (I); \
  |  |  127|    179|        _instr__ptr_->i_opcode = (OP); \
  |  |  128|    179|        _instr__ptr_->i_oparg = 0; \
  |  |  129|    179|    } while (0);
  |  |  ------------------
  |  |  |  Branch (129:14): [Folded, False: 179]
  |  |  ------------------
  ------------------
 1202|    179|            }
 1203|  5.31k|        }
 1204|  42.8k|    }
 1205|       |
 1206|  5.96k|    return changes;
 1207|  5.96k|}
flowgraph.c:remove_unused_consts:
 3263|  2.43k|{
 3264|  2.43k|    assert(PyList_CheckExact(consts));
 3265|  2.43k|    Py_ssize_t nconsts = PyList_GET_SIZE(consts);
  ------------------
  |  |   38|  2.43k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3266|  2.43k|    if (nconsts == 0) {
  ------------------
  |  Branch (3266:9): [True: 16, False: 2.42k]
  ------------------
 3267|     16|        return SUCCESS;  /* nothing to do */
  ------------------
  |  |   20|     16|#define SUCCESS 0
  ------------------
 3268|     16|    }
 3269|       |
 3270|  2.42k|    Py_ssize_t *index_map = NULL;
 3271|  2.42k|    Py_ssize_t *reverse_index_map = NULL;
 3272|  2.42k|    int err = ERROR;
  ------------------
  |  |   21|  2.42k|#define ERROR -1
  ------------------
 3273|       |
 3274|  2.42k|    index_map = PyMem_Malloc(nconsts * sizeof(Py_ssize_t));
 3275|  2.42k|    if (index_map == NULL) {
  ------------------
  |  Branch (3275:9): [True: 0, False: 2.42k]
  ------------------
 3276|      0|        goto end;
 3277|      0|    }
 3278|  10.7k|    for (Py_ssize_t i = 1; i < nconsts; i++) {
  ------------------
  |  Branch (3278:28): [True: 8.32k, False: 2.42k]
  ------------------
 3279|  8.32k|        index_map[i] = -1;
 3280|  8.32k|    }
 3281|       |    // The first constant may be docstring; keep it always.
 3282|  2.42k|    index_map[0] = 0;
 3283|       |
 3284|       |    /* mark used consts */
 3285|  16.7k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3285:38): [True: 14.3k, False: 2.42k]
  ------------------
 3286|   106k|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3286:25): [True: 92.2k, False: 14.3k]
  ------------------
 3287|  92.2k|            int opcode = b->b_instr[i].i_opcode;
 3288|  92.2k|            if (OPCODE_HAS_CONST(opcode)) {
  ------------------
  |  | 1075|  92.2k|#define OPCODE_HAS_CONST(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_CONST_FLAG))
  |  |  ------------------
  |  |  |  | 1056|  92.2k|#define HAS_CONST_FLAG (2)
  |  |  ------------------
  |  |  |  Branch (1075:30): [True: 6.64k, False: 85.6k]
  |  |  ------------------
  ------------------
 3289|  6.64k|                int index = b->b_instr[i].i_oparg;
 3290|  6.64k|                index_map[index] = index;
 3291|  6.64k|            }
 3292|  92.2k|        }
 3293|  14.3k|    }
 3294|       |    /* now index_map[i] == i if consts[i] is used, -1 otherwise */
 3295|       |    /* condense consts */
 3296|  2.42k|    Py_ssize_t n_used_consts = 0;
 3297|  13.1k|    for (Py_ssize_t i = 0; i < nconsts; i++) {
  ------------------
  |  Branch (3297:28): [True: 10.7k, False: 2.42k]
  ------------------
 3298|  10.7k|        if (index_map[i] != -1) {
  ------------------
  |  Branch (3298:13): [True: 7.75k, False: 2.99k]
  ------------------
 3299|  7.75k|            assert(index_map[i] == i);
 3300|  7.75k|            index_map[n_used_consts++] = index_map[i];
 3301|  7.75k|        }
 3302|  10.7k|    }
 3303|  2.42k|    if (n_used_consts == nconsts) {
  ------------------
  |  Branch (3303:9): [True: 706, False: 1.71k]
  ------------------
 3304|       |        /* nothing to do */
 3305|    706|        err = SUCCESS;
  ------------------
  |  |   20|    706|#define SUCCESS 0
  ------------------
 3306|    706|        goto end;
 3307|    706|    }
 3308|       |
 3309|       |    /* move all used consts to the beginning of the consts list */
 3310|  2.42k|    assert(n_used_consts < nconsts);
 3311|  8.62k|    for (Py_ssize_t i = 0; i < n_used_consts; i++) {
  ------------------
  |  Branch (3311:28): [True: 6.91k, False: 1.71k]
  ------------------
 3312|  6.91k|        Py_ssize_t old_index = index_map[i];
 3313|  6.91k|        assert(i <= old_index && old_index < nconsts);
 3314|  6.91k|        if (i != old_index) {
  ------------------
  |  Branch (3314:13): [True: 3.49k, False: 3.41k]
  ------------------
 3315|  3.49k|            PyObject *value = PyList_GET_ITEM(consts, index_map[i]);
  ------------------
  |  |   40|  3.49k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|  3.49k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.49k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3316|  3.49k|            assert(value != NULL);
 3317|  3.49k|            PyList_SetItem(consts, i, Py_NewRef(value));
  ------------------
  |  |  550|  3.49k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  3.49k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.49k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3318|  3.49k|        }
 3319|  6.91k|    }
 3320|       |
 3321|       |    /* truncate the consts list at its new size */
 3322|  1.71k|    if (PyList_SetSlice(consts, n_used_consts, nconsts, NULL) < 0) {
  ------------------
  |  Branch (3322:9): [True: 0, False: 1.71k]
  ------------------
 3323|      0|        goto end;
 3324|      0|    }
 3325|       |    /* adjust const indices in the bytecode */
 3326|  1.71k|    reverse_index_map = PyMem_Malloc(nconsts * sizeof(Py_ssize_t));
 3327|  1.71k|    if (reverse_index_map == NULL) {
  ------------------
  |  Branch (3327:9): [True: 0, False: 1.71k]
  ------------------
 3328|      0|        goto end;
 3329|      0|    }
 3330|  11.6k|    for (Py_ssize_t i = 0; i < nconsts; i++) {
  ------------------
  |  Branch (3330:28): [True: 9.90k, False: 1.71k]
  ------------------
 3331|  9.90k|        reverse_index_map[i] = -1;
 3332|  9.90k|    }
 3333|  8.62k|    for (Py_ssize_t i = 0; i < n_used_consts; i++) {
  ------------------
  |  Branch (3333:28): [True: 6.91k, False: 1.71k]
  ------------------
 3334|  6.91k|        assert(index_map[i] != -1);
 3335|  6.91k|        assert(reverse_index_map[index_map[i]] == -1);
 3336|  6.91k|        reverse_index_map[index_map[i]] = i;
 3337|  6.91k|    }
 3338|       |
 3339|  13.3k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3339:38): [True: 11.6k, False: 1.71k]
  ------------------
 3340|  90.7k|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3340:25): [True: 79.1k, False: 11.6k]
  ------------------
 3341|  79.1k|            int opcode = b->b_instr[i].i_opcode;
 3342|  79.1k|            if (OPCODE_HAS_CONST(opcode)) {
  ------------------
  |  | 1075|  79.1k|#define OPCODE_HAS_CONST(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_CONST_FLAG))
  |  |  ------------------
  |  |  |  | 1056|  79.1k|#define HAS_CONST_FLAG (2)
  |  |  ------------------
  |  |  |  Branch (1075:30): [True: 6.44k, False: 72.7k]
  |  |  ------------------
  ------------------
 3343|  6.44k|                int index = b->b_instr[i].i_oparg;
 3344|  6.44k|                assert(reverse_index_map[index] >= 0);
 3345|  6.44k|                assert(reverse_index_map[index] < n_used_consts);
 3346|  6.44k|                b->b_instr[i].i_oparg = (int)reverse_index_map[index];
 3347|  6.44k|            }
 3348|  79.1k|        }
 3349|  11.6k|    }
 3350|       |
 3351|  1.71k|    err = SUCCESS;
  ------------------
  |  |   20|  1.71k|#define SUCCESS 0
  ------------------
 3352|  2.42k|end:
 3353|  2.42k|    PyMem_Free(index_map);
 3354|  2.42k|    PyMem_Free(reverse_index_map);
 3355|  2.42k|    return err;
 3356|  1.71k|}
flowgraph.c:add_checks_for_loads_of_uninitialized_variables:
 3364|  2.43k|{
 3365|  2.43k|    if (nlocals == 0) {
  ------------------
  |  Branch (3365:9): [True: 453, False: 1.98k]
  ------------------
 3366|    453|        return SUCCESS;
  ------------------
  |  |   20|    453|#define SUCCESS 0
  ------------------
 3367|    453|    }
 3368|  1.98k|    if (nlocals > 64) {
  ------------------
  |  Branch (3368:9): [True: 0, False: 1.98k]
  ------------------
 3369|       |        // To avoid O(nlocals**2) compilation, locals beyond the first
 3370|       |        // 64 are only analyzed one basicblock at a time: initialization
 3371|       |        // info is not passed between basicblocks.
 3372|      0|        if (fast_scan_many_locals(entryblock, nlocals) < 0) {
  ------------------
  |  Branch (3372:13): [True: 0, False: 0]
  ------------------
 3373|      0|            return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
 3374|      0|        }
 3375|      0|        nlocals = 64;
 3376|      0|    }
 3377|  1.98k|    basicblock **stack = make_cfg_traversal_stack(entryblock);
 3378|  1.98k|    if (stack == NULL) {
  ------------------
  |  Branch (3378:9): [True: 0, False: 1.98k]
  ------------------
 3379|      0|        return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
 3380|      0|    }
 3381|  1.98k|    basicblock **sp = stack;
 3382|       |
 3383|       |    // First origin of being uninitialized:
 3384|       |    // The non-parameter locals in the entry block.
 3385|  1.98k|    uint64_t start_mask = 0;
 3386|  4.15k|    for (int i = nparams; i < nlocals; i++) {
  ------------------
  |  Branch (3386:27): [True: 2.17k, False: 1.98k]
  ------------------
 3387|  2.17k|        start_mask |= (uint64_t)1 << i;
 3388|  2.17k|    }
 3389|  1.98k|    maybe_push(entryblock, start_mask, &sp);
 3390|       |
 3391|       |    // Second origin of being uninitialized:
 3392|       |    // There could be DELETE_FAST somewhere, so
 3393|       |    // be sure to scan each basicblock at least once.
 3394|  15.5k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3394:38): [True: 13.5k, False: 1.98k]
  ------------------
 3395|  13.5k|        scan_block_for_locals(b, &sp);
 3396|  13.5k|    }
 3397|       |    // Now propagate the uncertainty from the origins we found: Use
 3398|       |    // LOAD_FAST_CHECK for any LOAD_FAST where the local could be undefined.
 3399|  8.90k|    while (sp > stack) {
  ------------------
  |  Branch (3399:12): [True: 6.91k, False: 1.98k]
  ------------------
 3400|  6.91k|        basicblock *b = *--sp;
 3401|       |        // mark as no longer on stack
 3402|  6.91k|        b->b_visited = 0;
 3403|  6.91k|        scan_block_for_locals(b, &sp);
 3404|  6.91k|    }
 3405|  1.98k|    PyMem_Free(stack);
 3406|  1.98k|    return SUCCESS;
  ------------------
  |  |   20|  1.98k|#define SUCCESS 0
  ------------------
 3407|  1.98k|}
flowgraph.c:maybe_push:
 3151|  59.9k|{
 3152|       |    // Push b if the unsafe mask is giving us any new information.
 3153|       |    // To avoid overflowing the stack, only allow each block once.
 3154|       |    // Use b->b_visited=1 to mean that b is currently on the stack.
 3155|  59.9k|    uint64_t both = b->b_unsafe_locals_mask | unsafe_mask;
 3156|  59.9k|    if (b->b_unsafe_locals_mask != both) {
  ------------------
  |  Branch (3156:9): [True: 6.95k, False: 53.0k]
  ------------------
 3157|  6.95k|        b->b_unsafe_locals_mask = both;
 3158|       |        // More work left to do.
 3159|  6.95k|        if (!b->b_visited) {
  ------------------
  |  Branch (3159:13): [True: 6.91k, False: 42]
  ------------------
 3160|       |            // not on the stack, so push it.
 3161|  6.91k|            *(*sp)++ = b;
 3162|  6.91k|            b->b_visited = 1;
 3163|  6.91k|        }
 3164|  6.95k|    }
 3165|  59.9k|}
flowgraph.c:scan_block_for_locals:
 3169|  20.5k|{
 3170|       |    // bit i is set if local i is potentially uninitialized
 3171|  20.5k|    uint64_t unsafe_mask = b->b_unsafe_locals_mask;
 3172|   146k|    for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3172:21): [True: 126k, False: 20.5k]
  ------------------
 3173|   126k|        cfg_instr *instr = &b->b_instr[i];
 3174|   126k|        assert(instr->i_opcode != EXTENDED_ARG);
 3175|   126k|        if (instr->i_except != NULL) {
  ------------------
  |  Branch (3175:13): [True: 38.9k, False: 87.2k]
  ------------------
 3176|  38.9k|            maybe_push(instr->i_except, unsafe_mask, sp);
 3177|  38.9k|        }
 3178|   126k|        if (instr->i_oparg >= 64) {
  ------------------
  |  Branch (3178:13): [True: 7.03k, False: 119k]
  ------------------
 3179|  7.03k|            continue;
 3180|  7.03k|        }
 3181|   126k|        assert(instr->i_oparg >= 0);
 3182|   119k|        uint64_t bit = (uint64_t)1 << instr->i_oparg;
 3183|   119k|        switch (instr->i_opcode) {
  ------------------
  |  Branch (3183:17): [True: 31.7k, False: 87.4k]
  ------------------
 3184|    362|            case DELETE_FAST:
  ------------------
  |  |   74|    362|#define DELETE_FAST                             61
  ------------------
  |  Branch (3184:13): [True: 362, False: 118k]
  ------------------
 3185|    464|            case LOAD_FAST_AND_CLEAR:
  ------------------
  |  |   97|    464|#define LOAD_FAST_AND_CLEAR                     84
  ------------------
  |  Branch (3185:13): [True: 102, False: 119k]
  ------------------
 3186|    668|            case STORE_FAST_MAYBE_NULL:
  ------------------
  |  |  257|    668|#define STORE_FAST_MAYBE_NULL                  266
  ------------------
  |  Branch (3186:13): [True: 204, False: 119k]
  ------------------
 3187|    668|                unsafe_mask |= bit;
 3188|    668|                break;
 3189|  6.42k|            case STORE_FAST:
  ------------------
  |  |  124|  6.42k|#define STORE_FAST                             111
  ------------------
  |  Branch (3189:13): [True: 6.42k, False: 112k]
  ------------------
 3190|  6.42k|                unsafe_mask &= ~bit;
 3191|  6.42k|                break;
 3192|     32|            case LOAD_FAST_CHECK:
  ------------------
  |  |  100|     32|#define LOAD_FAST_CHECK                         87
  ------------------
  |  Branch (3192:13): [True: 32, False: 119k]
  ------------------
 3193|       |                // If this doesn't raise, then the local is defined.
 3194|     32|                unsafe_mask &= ~bit;
 3195|     32|                break;
 3196|  24.5k|            case LOAD_FAST:
  ------------------
  |  |   96|  24.5k|#define LOAD_FAST                               83
  ------------------
  |  Branch (3196:13): [True: 24.5k, False: 94.6k]
  ------------------
 3197|  24.5k|                if (unsafe_mask & bit) {
  ------------------
  |  Branch (3197:21): [True: 32, False: 24.5k]
  ------------------
 3198|     32|                    instr->i_opcode = LOAD_FAST_CHECK;
  ------------------
  |  |  100|     32|#define LOAD_FAST_CHECK                         87
  ------------------
 3199|     32|                }
 3200|  24.5k|                unsafe_mask &= ~bit;
 3201|  24.5k|                break;
 3202|   119k|        }
 3203|   119k|    }
 3204|  20.5k|    if (b->b_next && BB_HAS_FALLTHROUGH(b)) {
  ------------------
  |  |  250|  18.3k|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (250:31): [True: 10.3k, False: 8.04k]
  |  |  ------------------
  ------------------
  |  Branch (3204:9): [True: 18.3k, False: 2.15k]
  ------------------
 3205|  10.3k|        maybe_push(b->b_next, unsafe_mask, sp);
 3206|  10.3k|    }
 3207|  20.5k|    cfg_instr *last = basicblock_last_instr(b);
 3208|  20.5k|    if (last && is_jump(last)) {
  ------------------
  |  Branch (3208:9): [True: 18.5k, False: 2.00k]
  |  Branch (3208:17): [True: 8.70k, False: 9.80k]
  ------------------
 3209|       |        assert(last->i_target != NULL);
 3210|  8.70k|        maybe_push(last->i_target, unsafe_mask, sp);
 3211|  8.70k|    }
 3212|  20.5k|}
flowgraph.c:insert_superinstructions:
 2671|  2.43k|{
 2672|  16.7k|    for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (2672:43): [True: 14.3k, False: 2.43k]
  ------------------
 2673|       |
 2674|   106k|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (2674:25): [True: 92.3k, False: 14.3k]
  ------------------
 2675|  92.3k|            cfg_instr *inst = &b->b_instr[i];
 2676|  92.3k|            int nextop = i+1 < b->b_iused ? b->b_instr[i+1].i_opcode : 0;
  ------------------
  |  Branch (2676:26): [True: 80.1k, False: 12.1k]
  ------------------
 2677|  92.3k|            switch(inst->i_opcode) {
  ------------------
  |  Branch (2677:20): [True: 16.8k, False: 75.4k]
  ------------------
 2678|  13.7k|                case LOAD_FAST:
  ------------------
  |  |   96|  13.7k|#define LOAD_FAST                               83
  ------------------
  |  Branch (2678:17): [True: 13.7k, False: 78.6k]
  ------------------
 2679|  13.7k|                    if (nextop == LOAD_FAST) {
  ------------------
  |  |   96|  13.7k|#define LOAD_FAST                               83
  ------------------
  |  Branch (2679:25): [True: 2.07k, False: 11.6k]
  ------------------
 2680|  2.07k|                        make_super_instruction(inst, &b->b_instr[i + 1], LOAD_FAST_LOAD_FAST);
  ------------------
  |  |  101|  2.07k|#define LOAD_FAST_LOAD_FAST                     88
  ------------------
 2681|  2.07k|                    }
 2682|  13.7k|                    break;
 2683|  3.14k|                case STORE_FAST:
  ------------------
  |  |  124|  3.14k|#define STORE_FAST                             111
  ------------------
  |  Branch (2683:17): [True: 3.14k, False: 89.1k]
  ------------------
 2684|  3.14k|                    switch (nextop) {
  ------------------
  |  Branch (2684:29): [True: 1.46k, False: 1.68k]
  ------------------
 2685|  1.23k|                        case LOAD_FAST:
  ------------------
  |  |   96|  1.23k|#define LOAD_FAST                               83
  ------------------
  |  Branch (2685:25): [True: 1.23k, False: 1.91k]
  ------------------
 2686|  1.23k|                            make_super_instruction(inst, &b->b_instr[i + 1], STORE_FAST_LOAD_FAST);
  ------------------
  |  |  125|  1.23k|#define STORE_FAST_LOAD_FAST                   112
  ------------------
 2687|  1.23k|                            break;
 2688|    230|                        case STORE_FAST:
  ------------------
  |  |  124|    230|#define STORE_FAST                             111
  ------------------
  |  Branch (2688:25): [True: 230, False: 2.91k]
  ------------------
 2689|    230|                            make_super_instruction(inst, &b->b_instr[i + 1], STORE_FAST_STORE_FAST);
  ------------------
  |  |  126|    230|#define STORE_FAST_STORE_FAST                  113
  ------------------
 2690|    230|                            break;
 2691|  3.14k|                    }
 2692|  3.14k|                    break;
 2693|  92.3k|            }
 2694|  92.3k|        }
 2695|  14.3k|    }
 2696|  2.43k|    int res = remove_redundant_nops(g);
 2697|       |    assert(no_redundant_nops(g));
 2698|  2.43k|    return res;
 2699|  2.43k|}
flowgraph.c:make_super_instruction:
 2655|  3.53k|{
 2656|  3.53k|    int32_t line1 = inst1->i_loc.lineno;
 2657|  3.53k|    int32_t line2 = inst2->i_loc.lineno;
 2658|       |    /* Skip if instructions are on different lines */
 2659|  3.53k|    if (line1 >= 0 && line2 >= 0 && line1 != line2) {
  ------------------
  |  Branch (2659:9): [True: 3.53k, False: 0]
  |  Branch (2659:23): [True: 3.53k, False: 0]
  |  Branch (2659:37): [True: 1.27k, False: 2.26k]
  ------------------
 2660|  1.27k|        return;
 2661|  1.27k|    }
 2662|  2.26k|    if (inst1->i_oparg >= 16 || inst2->i_oparg >= 16) {
  ------------------
  |  Branch (2662:9): [True: 115, False: 2.14k]
  |  Branch (2662:33): [True: 36, False: 2.10k]
  ------------------
 2663|    151|        return;
 2664|    151|    }
 2665|  2.10k|    INSTR_SET_OP1(inst1, super_op, (inst1->i_oparg << 4) | inst2->i_oparg);
  ------------------
  |  |  115|  2.10k|    do { \
  |  |  116|  2.10k|        assert(OPCODE_HAS_ARG(OP)); \
  |  |  117|  2.10k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  118|  2.10k|        _instr__ptr_->i_opcode = (OP); \
  |  |  119|  2.10k|        _instr__ptr_->i_oparg = (ARG); \
  |  |  120|  2.10k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (120:14): [Folded, False: 2.10k]
  |  |  ------------------
  ------------------
 2666|       |    INSTR_SET_OP0(inst2, NOP);
  ------------------
  |  |  124|  2.10k|    do { \
  |  |  125|  2.10k|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  126|  2.10k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  127|  2.10k|        _instr__ptr_->i_opcode = (OP); \
  |  |  128|  2.10k|        _instr__ptr_->i_oparg = 0; \
  |  |  129|  2.10k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (129:14): [Folded, False: 2.10k]
  |  |  ------------------
  ------------------
 2667|  2.10k|}
flowgraph.c:push_cold_blocks_to_end:
 3492|  2.43k|push_cold_blocks_to_end(cfg_builder *g) {
 3493|  2.43k|    basicblock *entryblock = g->g_entryblock;
 3494|  2.43k|    if (entryblock->b_next == NULL) {
  ------------------
  |  Branch (3494:9): [True: 511, False: 1.92k]
  ------------------
 3495|       |        /* single basicblock, no need to reorder */
 3496|    511|        return SUCCESS;
  ------------------
  |  |   20|    511|#define SUCCESS 0
  ------------------
 3497|    511|    }
 3498|  1.92k|    RETURN_IF_ERROR(mark_cold(entryblock));
  ------------------
  |  |   24|  1.92k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 1.92k]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
 3499|       |
 3500|  1.92k|    int next_lbl = get_max_label(g->g_entryblock) + 1;
 3501|       |
 3502|       |    /* If we have a cold block with fallthrough to a warm block, add */
 3503|       |    /* an explicit jump instead of fallthrough */
 3504|  15.8k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3504:38): [True: 13.9k, False: 1.92k]
  ------------------
 3505|  13.9k|        if (b->b_cold && BB_HAS_FALLTHROUGH(b) && b->b_next && b->b_next->b_warm) {
  ------------------
  |  |  250|  16.3k|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (250:31): [True: 711, False: 1.66k]
  |  |  ------------------
  ------------------
  |  Branch (3505:13): [True: 2.38k, False: 11.5k]
  |  Branch (3505:51): [True: 711, False: 0]
  |  Branch (3505:64): [True: 137, False: 574]
  ------------------
 3506|    137|            basicblock *explicit_jump = cfg_builder_new_block(g);
 3507|    137|            if (explicit_jump == NULL) {
  ------------------
  |  Branch (3507:17): [True: 0, False: 137]
  ------------------
 3508|      0|                return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
 3509|      0|            }
 3510|    137|            if (!IS_LABEL(b->b_next->b_label)) {
  ------------------
  |  |   95|    137|#define IS_LABEL(L) (!SAME_LABEL((L), (NO_LABEL)))
  |  |  ------------------
  |  |  |  |   94|    137|#define SAME_LABEL(L1, L2) ((L1).id == (L2).id)
  |  |  ------------------
  ------------------
  |  Branch (3510:17): [True: 0, False: 137]
  ------------------
 3511|      0|                b->b_next->b_label.id = next_lbl++;
 3512|      0|            }
 3513|    137|            basicblock_addop(explicit_jump, JUMP_NO_INTERRUPT, b->b_next->b_label.id,
  ------------------
  |  |  251|    137|#define JUMP_NO_INTERRUPT                      260
  ------------------
 3514|    137|                             NO_LOCATION);
 3515|    137|            explicit_jump->b_cold = 1;
 3516|    137|            explicit_jump->b_next = b->b_next;
 3517|    137|            explicit_jump->b_predecessors = 1;
 3518|    137|            b->b_next = explicit_jump;
 3519|       |
 3520|       |            /* set target */
 3521|    137|            cfg_instr *last = basicblock_last_instr(explicit_jump);
 3522|    137|            last->i_target = explicit_jump->b_next;
 3523|    137|        }
 3524|  13.9k|    }
 3525|       |
 3526|  1.92k|    assert(!entryblock->b_cold);  /* First block can't be cold */
 3527|  1.92k|    basicblock *cold_blocks = NULL;
 3528|  1.92k|    basicblock *cold_blocks_tail = NULL;
 3529|       |
 3530|  1.92k|    basicblock *b = entryblock;
 3531|  2.84k|    while(b->b_next) {
  ------------------
  |  Branch (3531:11): [True: 2.84k, False: 0]
  ------------------
 3532|  2.84k|        assert(!b->b_cold);
 3533|  12.4k|        while (b->b_next && !b->b_next->b_cold) {
  ------------------
  |  Branch (3533:16): [True: 10.5k, False: 1.92k]
  |  Branch (3533:29): [True: 9.64k, False: 916]
  ------------------
 3534|  9.64k|            b = b->b_next;
 3535|  9.64k|        }
 3536|  2.84k|        if (b->b_next == NULL) {
  ------------------
  |  Branch (3536:13): [True: 1.92k, False: 916]
  ------------------
 3537|       |            /* no more cold blocks */
 3538|  1.92k|            break;
 3539|  1.92k|        }
 3540|       |
 3541|       |        /* b->b_next is the beginning of a cold streak */
 3542|  2.84k|        assert(!b->b_cold && b->b_next->b_cold);
 3543|       |
 3544|    916|        basicblock *b_end = b->b_next;
 3545|  2.38k|        while (b_end->b_next && b_end->b_next->b_cold) {
  ------------------
  |  Branch (3545:16): [True: 2.38k, False: 0]
  |  Branch (3545:33): [True: 1.46k, False: 916]
  ------------------
 3546|  1.46k|            b_end = b_end->b_next;
 3547|  1.46k|        }
 3548|       |
 3549|       |        /* b_end is the end of the cold streak */
 3550|    916|        assert(b_end && b_end->b_cold);
 3551|    916|        assert(b_end->b_next == NULL || !b_end->b_next->b_cold);
 3552|       |
 3553|    916|        if (cold_blocks == NULL) {
  ------------------
  |  Branch (3553:13): [True: 419, False: 497]
  ------------------
 3554|    419|            cold_blocks = b->b_next;
 3555|    419|        }
 3556|    497|        else {
 3557|    497|            cold_blocks_tail->b_next = b->b_next;
 3558|    497|        }
 3559|    916|        cold_blocks_tail = b_end;
 3560|    916|        b->b_next = b_end->b_next;
 3561|    916|        b_end->b_next = NULL;
 3562|    916|    }
 3563|  1.92k|    assert(b != NULL && b->b_next == NULL);
 3564|  1.92k|    b->b_next = cold_blocks;
 3565|       |
 3566|  1.92k|    if (cold_blocks != NULL) {
  ------------------
  |  Branch (3566:9): [True: 419, False: 1.50k]
  ------------------
 3567|    419|        RETURN_IF_ERROR(remove_redundant_nops_and_jumps(g));
  ------------------
  |  |   24|    419|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 419]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
 3568|    419|    }
 3569|  1.92k|    return SUCCESS;
  ------------------
  |  |   20|  1.92k|#define SUCCESS 0
  ------------------
 3570|  1.92k|}
flowgraph.c:mark_cold:
 3442|  1.92k|mark_cold(basicblock *entryblock) {
 3443|  15.7k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3443:38): [True: 13.8k, False: 1.92k]
  ------------------
 3444|  13.8k|        assert(!b->b_cold && !b->b_warm);
 3445|  13.8k|    }
 3446|  1.92k|    if (mark_warm(entryblock) < 0) {
  ------------------
  |  Branch (3446:9): [True: 0, False: 1.92k]
  ------------------
 3447|      0|        return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
 3448|      0|    }
 3449|       |
 3450|  1.92k|    basicblock **stack = make_cfg_traversal_stack(entryblock);
 3451|  1.92k|    if (stack == NULL) {
  ------------------
  |  Branch (3451:9): [True: 0, False: 1.92k]
  ------------------
 3452|      0|        return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
 3453|      0|    }
 3454|       |
 3455|  1.92k|    basicblock **sp = stack;
 3456|  15.7k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3456:38): [True: 13.8k, False: 1.92k]
  ------------------
 3457|  13.8k|        if (b->b_except_handler) {
  ------------------
  |  Branch (3457:13): [True: 1.23k, False: 12.5k]
  ------------------
 3458|  1.23k|            assert(!b->b_warm);
 3459|  1.23k|            *sp++ = b;
 3460|  1.23k|            b->b_visited = 1;
 3461|  1.23k|        }
 3462|  13.8k|    }
 3463|       |
 3464|  4.17k|    while (sp > stack) {
  ------------------
  |  Branch (3464:12): [True: 2.24k, False: 1.92k]
  ------------------
 3465|  2.24k|        basicblock *b = *(--sp);
 3466|  2.24k|        b->b_cold = 1;
 3467|  2.24k|        basicblock *next = b->b_next;
 3468|  2.24k|        if (next && BB_HAS_FALLTHROUGH(b)) {
  ------------------
  |  |  250|  2.24k|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (250:31): [True: 711, False: 1.53k]
  |  |  ------------------
  ------------------
  |  Branch (3468:13): [True: 2.24k, False: 0]
  ------------------
 3469|    711|            if (!next->b_warm && !next->b_visited) {
  ------------------
  |  Branch (3469:17): [True: 574, False: 137]
  |  Branch (3469:34): [True: 545, False: 29]
  ------------------
 3470|    545|                *sp++ = next;
 3471|    545|                next->b_visited = 1;
 3472|    545|            }
 3473|    711|        }
 3474|  11.8k|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3474:25): [True: 9.57k, False: 2.24k]
  ------------------
 3475|  9.57k|            cfg_instr *instr = &b->b_instr[i];
 3476|  9.57k|            if (is_jump(instr)) {
  ------------------
  |  Branch (3476:17): [True: 661, False: 8.91k]
  ------------------
 3477|    661|                assert(i == b->b_iused - 1);
 3478|    661|                basicblock *target = b->b_instr[i].i_target;
 3479|    661|                if (!target->b_warm && !target->b_visited) {
  ------------------
  |  Branch (3479:21): [True: 531, False: 130]
  |  Branch (3479:40): [True: 466, False: 65]
  ------------------
 3480|    466|                    *sp++ = target;
 3481|    466|                    target->b_visited = 1;
 3482|    466|                }
 3483|    661|            }
 3484|  9.57k|        }
 3485|  2.24k|    }
 3486|  1.92k|    PyMem_Free(stack);
 3487|  1.92k|    return SUCCESS;
  ------------------
  |  |   20|  1.92k|#define SUCCESS 0
  ------------------
 3488|  1.92k|}
flowgraph.c:mark_warm:
 3411|  1.92k|mark_warm(basicblock *entryblock) {
 3412|  1.92k|    basicblock **stack = make_cfg_traversal_stack(entryblock);
 3413|  1.92k|    if (stack == NULL) {
  ------------------
  |  Branch (3413:9): [True: 0, False: 1.92k]
  ------------------
 3414|      0|        return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
 3415|      0|    }
 3416|  1.92k|    basicblock **sp = stack;
 3417|       |
 3418|  1.92k|    *sp++ = entryblock;
 3419|  1.92k|    entryblock->b_visited = 1;
 3420|  11.3k|    while (sp > stack) {
  ------------------
  |  Branch (3420:12): [True: 9.38k, False: 1.92k]
  ------------------
 3421|  9.38k|        basicblock *b = *(--sp);
 3422|  9.38k|        assert(!b->b_except_handler);
 3423|  9.38k|        b->b_warm = 1;
 3424|  9.38k|        basicblock *next = b->b_next;
 3425|  9.38k|        if (next && BB_HAS_FALLTHROUGH(b) && !next->b_visited) {
  ------------------
  |  |  250|  18.3k|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (250:31): [True: 5.12k, False: 3.82k]
  |  |  ------------------
  ------------------
  |  Branch (3425:13): [True: 8.95k, False: 427]
  |  Branch (3425:46): [True: 4.38k, False: 747]
  ------------------
 3426|  4.38k|            *sp++ = next;
 3427|  4.38k|            next->b_visited = 1;
 3428|  4.38k|        }
 3429|  81.8k|        for (int i=0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3429:23): [True: 72.4k, False: 9.38k]
  ------------------
 3430|  72.4k|            cfg_instr *instr = &b->b_instr[i];
 3431|  72.4k|            if (is_jump(instr) && !instr->i_target->b_visited) {
  ------------------
  |  Branch (3431:17): [True: 4.55k, False: 67.8k]
  |  Branch (3431:35): [True: 3.07k, False: 1.47k]
  ------------------
 3432|  3.07k|                *sp++ = instr->i_target;
 3433|  3.07k|                instr->i_target->b_visited = 1;
 3434|  3.07k|            }
 3435|  72.4k|        }
 3436|  9.38k|    }
 3437|  1.92k|    PyMem_Free(stack);
 3438|  1.92k|    return SUCCESS;
  ------------------
  |  |   20|  1.92k|#define SUCCESS 0
  ------------------
 3439|  1.92k|}
flowgraph.c:resolve_line_numbers:
 3746|  4.87k|{
 3747|  4.87k|    RETURN_IF_ERROR(duplicate_exits_without_lineno(g));
  ------------------
  |  |   24|  4.87k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 4.87k]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
 3748|  4.87k|    propagate_line_numbers(g->g_entryblock);
 3749|  4.87k|    return SUCCESS;
  ------------------
  |  |   20|  4.87k|#define SUCCESS 0
  ------------------
 3750|  4.87k|}
flowgraph.c:duplicate_exits_without_lineno:
 3652|  4.87k|{
 3653|  4.87k|    int next_lbl = get_max_label(g->g_entryblock) + 1;
 3654|       |
 3655|       |    /* Copy all exit blocks without line number that are targets of a jump.
 3656|       |     */
 3657|  4.87k|    basicblock *entryblock = g->g_entryblock;
 3658|  33.6k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3658:38): [True: 28.7k, False: 4.87k]
  ------------------
 3659|  28.7k|        cfg_instr *last = basicblock_last_instr(b);
 3660|  28.7k|        if (last == NULL) {
  ------------------
  |  Branch (3660:13): [True: 4.27k, False: 24.5k]
  ------------------
 3661|  4.27k|            continue;
 3662|  4.27k|        }
 3663|  24.5k|        if (is_jump(last)) {
  ------------------
  |  Branch (3663:13): [True: 10.5k, False: 14.0k]
  ------------------
 3664|  10.5k|            basicblock *target = next_nonempty_block(last->i_target);
 3665|  10.5k|            if (is_exit_or_eval_check_without_lineno(target) && target->b_predecessors > 1) {
  ------------------
  |  Branch (3665:17): [True: 735, False: 9.76k]
  |  Branch (3665:65): [True: 288, False: 447]
  ------------------
 3666|    288|                basicblock *new_target = copy_basicblock(g, target);
 3667|    288|                if (new_target == NULL) {
  ------------------
  |  Branch (3667:21): [True: 0, False: 288]
  ------------------
 3668|      0|                    return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
 3669|      0|                }
 3670|    288|                new_target->b_instr[0].i_loc = last->i_loc;
 3671|    288|                last->i_target = new_target;
 3672|    288|                target->b_predecessors--;
 3673|    288|                new_target->b_predecessors = 1;
 3674|    288|                new_target->b_next = target->b_next;
 3675|    288|                new_target->b_label.id = next_lbl++;
 3676|    288|                target->b_next = new_target;
 3677|    288|            }
 3678|  10.5k|        }
 3679|  24.5k|    }
 3680|       |
 3681|       |    /* Any remaining reachable exit blocks without line number can only be reached by
 3682|       |     * fall through, and thus can only have a single predecessor */
 3683|  33.6k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3683:38): [True: 28.7k, False: 4.87k]
  ------------------
 3684|  28.7k|        if (BB_HAS_FALLTHROUGH(b) && b->b_next && b->b_iused > 0) {
  ------------------
  |  |  250|  57.5k|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (250:31): [True: 16.1k, False: 12.6k]
  |  |  ------------------
  ------------------
  |  Branch (3684:38): [True: 13.4k, False: 2.64k]
  |  Branch (3684:51): [True: 11.8k, False: 1.62k]
  ------------------
 3685|  11.8k|            if (is_exit_or_eval_check_without_lineno(b->b_next)) {
  ------------------
  |  Branch (3685:17): [True: 344, False: 11.5k]
  ------------------
 3686|    344|                cfg_instr *last = basicblock_last_instr(b);
 3687|    344|                assert(last != NULL);
 3688|    344|                b->b_next->b_instr[0].i_loc = last->i_loc;
 3689|    344|            }
 3690|  11.8k|        }
 3691|  28.7k|    }
 3692|  4.87k|    return SUCCESS;
  ------------------
  |  |   20|  4.87k|#define SUCCESS 0
  ------------------
 3693|  4.87k|}
flowgraph.c:is_exit_or_eval_check_without_lineno:
 3631|  22.3k|is_exit_or_eval_check_without_lineno(basicblock *b) {
 3632|  22.3k|    if (basicblock_exits_scope(b) || basicblock_has_eval_break(b)) {
  ------------------
  |  Branch (3632:9): [True: 7.16k, False: 15.1k]
  |  Branch (3632:38): [True: 6.17k, False: 9.01k]
  ------------------
 3633|  13.3k|        return basicblock_has_no_lineno(b);
 3634|  13.3k|    }
 3635|  9.01k|    else {
 3636|       |        return false;
 3637|  9.01k|    }
 3638|  22.3k|}
flowgraph.c:basicblock_has_eval_break:
  358|  15.1k|basicblock_has_eval_break(const basicblock *b) {
  359|  77.5k|    for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (359:21): [True: 68.5k, False: 9.01k]
  ------------------
  360|  68.5k|        if (OPCODE_HAS_EVAL_BREAK(b->b_instr[i].i_opcode)) {
  ------------------
  |  | 1080|  68.5k|#define OPCODE_HAS_EVAL_BREAK(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_EVAL_BREAK_FLAG))
  |  |  ------------------
  |  |  |  | 1061|  68.5k|#define HAS_EVAL_BREAK_FLAG (64)
  |  |  ------------------
  |  |  |  Branch (1080:35): [True: 6.17k, False: 62.3k]
  |  |  ------------------
  ------------------
  361|  6.17k|            return true;
  362|  6.17k|        }
  363|  68.5k|    }
  364|  9.01k|    return false;
  365|  15.1k|}
flowgraph.c:copy_basicblock:
  254|    288|{
  255|       |    /* Cannot copy a block if it has a fallthrough, since
  256|       |     * a block can only have one fallthrough predecessor.
  257|       |     */
  258|    288|    assert(BB_NO_FALLTHROUGH(block));
  259|    288|    basicblock *result = cfg_builder_new_block(g);
  260|    288|    if (result == NULL) {
  ------------------
  |  Branch (260:9): [True: 0, False: 288]
  ------------------
  261|      0|        return NULL;
  262|      0|    }
  263|    288|    if (basicblock_append_instructions(result, block) < 0) {
  ------------------
  |  Branch (263:9): [True: 0, False: 288]
  ------------------
  264|      0|        return NULL;
  265|      0|    }
  266|    288|    return result;
  267|    288|}
flowgraph.c:propagate_line_numbers:
 3715|  4.87k|{
 3716|  33.6k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3716:38): [True: 28.7k, False: 4.87k]
  ------------------
 3717|  28.7k|        cfg_instr *last = basicblock_last_instr(b);
 3718|  28.7k|        if (last == NULL) {
  ------------------
  |  Branch (3718:13): [True: 4.27k, False: 24.5k]
  ------------------
 3719|  4.27k|            continue;
 3720|  4.27k|        }
 3721|       |
 3722|  24.5k|        location prev_location = NO_LOCATION;
 3723|   215k|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3723:25): [True: 190k, False: 24.5k]
  ------------------
 3724|   190k|            maybe_propagate_location(b, i, prev_location);
 3725|   190k|            prev_location = b->b_instr[i].i_loc;
 3726|   190k|        }
 3727|  24.5k|        if (BB_HAS_FALLTHROUGH(b) && b->b_next->b_predecessors == 1) {
  ------------------
  |  |  250|  49.0k|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (250:31): [True: 11.8k, False: 12.6k]
  |  |  ------------------
  ------------------
  |  Branch (3727:38): [True: 8.53k, False: 3.31k]
  ------------------
 3728|  8.53k|            if (b->b_next->b_iused > 0) {
  ------------------
  |  Branch (3728:17): [True: 8.53k, False: 0]
  ------------------
 3729|  8.53k|                maybe_propagate_location(b->b_next, 0, prev_location);
 3730|  8.53k|            }
 3731|  8.53k|        }
 3732|  24.5k|        if (is_jump(last)) {
  ------------------
  |  Branch (3732:13): [True: 10.5k, False: 14.0k]
  ------------------
 3733|  10.5k|            basicblock *target = last->i_target;
 3734|  10.5k|            while (target->b_iused == 0 && target->b_predecessors == 1) {
  ------------------
  |  Branch (3734:20): [True: 11, False: 10.4k]
  |  Branch (3734:44): [True: 1, False: 10]
  ------------------
 3735|      1|                target = target->b_next;
 3736|      1|            }
 3737|  10.5k|            if (target->b_predecessors == 1) {
  ------------------
  |  Branch (3737:17): [True: 4.68k, False: 5.81k]
  ------------------
 3738|  4.68k|                maybe_propagate_location(target, 0, prev_location);
 3739|  4.68k|            }
 3740|  10.5k|        }
 3741|  24.5k|    }
 3742|  4.87k|}
flowgraph.c:maybe_propagate_location:
 3706|   203k|{
 3707|   203k|    assert(b->b_iused > i);
 3708|   203k|    if (b->b_instr[i].i_loc.lineno == NO_LOCATION.lineno) {
  ------------------
  |  Branch (3708:9): [True: 15.6k, False: 188k]
  ------------------
 3709|  15.6k|         b->b_instr[i].i_loc = loc;
 3710|  15.6k|    }
 3711|   203k|}
flowgraph.c:convert_pseudo_conditional_jumps:
 3574|  2.43k|{
 3575|  2.43k|    basicblock *entryblock = g->g_entryblock;
 3576|  16.8k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3576:38): [True: 14.4k, False: 2.43k]
  ------------------
 3577|   104k|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3577:25): [True: 90.1k, False: 14.4k]
  ------------------
 3578|  90.1k|            cfg_instr *instr = &b->b_instr[i];
 3579|  90.1k|            if (instr->i_opcode == JUMP_IF_FALSE || instr->i_opcode == JUMP_IF_TRUE) {
  ------------------
  |  |  249|   180k|#define JUMP_IF_FALSE                          258
  ------------------
                          if (instr->i_opcode == JUMP_IF_FALSE || instr->i_opcode == JUMP_IF_TRUE) {
  ------------------
  |  |  250|  89.9k|#define JUMP_IF_TRUE                           259
  ------------------
  |  Branch (3579:17): [True: 191, False: 89.9k]
  |  Branch (3579:53): [True: 40, False: 89.9k]
  ------------------
 3580|    231|                assert(i == b->b_iused - 1);
 3581|    231|                instr->i_opcode = instr->i_opcode == JUMP_IF_FALSE ?
  ------------------
  |  |  249|    231|#define JUMP_IF_FALSE                          258
  ------------------
  |  Branch (3581:35): [True: 191, False: 40]
  ------------------
 3582|    191|                                          POP_JUMP_IF_FALSE : POP_JUMP_IF_TRUE;
  ------------------
  |  |  112|    191|#define POP_JUMP_IF_FALSE                       99
  ------------------
                                                        POP_JUMP_IF_FALSE : POP_JUMP_IF_TRUE;
  ------------------
  |  |  115|    271|#define POP_JUMP_IF_TRUE                       102
  ------------------
 3583|    231|                location loc = instr->i_loc;
 3584|    231|                basicblock *except = instr->i_except;
 3585|    231|                cfg_instr copy = {
 3586|    231|                            .i_opcode = COPY,
  ------------------
  |  |   70|    231|#define COPY                                    57
  ------------------
 3587|    231|                            .i_oparg = 1,
 3588|    231|                            .i_loc = loc,
 3589|    231|                            .i_target = NULL,
 3590|    231|                            .i_except = except,
 3591|    231|                };
 3592|    231|                RETURN_IF_ERROR(basicblock_insert_instruction(b, i++, &copy));
  ------------------
  |  |   24|    231|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 231]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
 3593|    231|                cfg_instr to_bool = {
 3594|    231|                            .i_opcode = TO_BOOL,
  ------------------
  |  |   50|    231|#define TO_BOOL                                 37
  ------------------
 3595|    231|                            .i_oparg = 0,
 3596|    231|                            .i_loc = loc,
 3597|    231|                            .i_target = NULL,
 3598|    231|                            .i_except = except,
 3599|    231|                };
 3600|    231|                RETURN_IF_ERROR(basicblock_insert_instruction(b, i++, &to_bool));
  ------------------
  |  |   24|    231|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 231]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
 3601|    231|            }
 3602|  90.1k|        }
 3603|  14.4k|    }
 3604|  2.43k|    return SUCCESS;
  ------------------
  |  |   20|  2.43k|#define SUCCESS 0
  ------------------
 3605|  2.43k|}
flowgraph.c:basicblock_insert_instruction:
  270|  1.26k|basicblock_insert_instruction(basicblock *block, int pos, cfg_instr *instr) {
  271|  1.26k|    RETURN_IF_ERROR(basicblock_next_instr(block));
  ------------------
  |  |   24|  1.26k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 1.26k]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
  272|  21.9k|    for (int i = block->b_iused - 1; i > pos; i--) {
  ------------------
  |  Branch (272:38): [True: 20.6k, False: 1.26k]
  ------------------
  273|  20.6k|        block->b_instr[i] = block->b_instr[i-1];
  274|  20.6k|    }
  275|  1.26k|    block->b_instr[pos] = *instr;
  276|  1.26k|    return SUCCESS;
  ------------------
  |  |   20|  1.26k|#define SUCCESS 0
  ------------------
  277|  1.26k|}
flowgraph.c:calculate_stackdepth:
  821|  2.43k|{
  822|  2.43k|    basicblock *entryblock = g->g_entryblock;
  823|  16.8k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (823:38): [True: 14.4k, False: 2.43k]
  ------------------
  824|  14.4k|        b->b_startdepth = INT_MIN;
  825|  14.4k|    }
  826|  2.43k|    basicblock **stack = make_cfg_traversal_stack(entryblock);
  827|  2.43k|    if (!stack) {
  ------------------
  |  Branch (827:9): [True: 0, False: 2.43k]
  ------------------
  828|      0|        return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
  829|      0|    }
  830|       |
  831|       |
  832|  2.43k|    int stackdepth = -1;
  833|  2.43k|    int maxdepth = 0;
  834|  2.43k|    basicblock **sp = stack;
  835|  2.43k|    if (stackdepth_push(&sp, entryblock, 0) < 0) {
  ------------------
  |  Branch (835:9): [True: 0, False: 2.43k]
  ------------------
  836|      0|        goto error;
  837|      0|    }
  838|  14.7k|    while (sp != stack) {
  ------------------
  |  Branch (838:12): [True: 12.3k, False: 2.43k]
  ------------------
  839|  12.3k|        basicblock *b = *--sp;
  840|  12.3k|        int depth = b->b_startdepth;
  841|  12.3k|        assert(depth >= 0);
  842|  12.3k|        basicblock *next = b->b_next;
  843|  96.7k|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (843:25): [True: 90.6k, False: 6.09k]
  ------------------
  844|  90.6k|            cfg_instr *instr = &b->b_instr[i];
  845|  90.6k|            stack_effects effects;
  846|  90.6k|            if (get_stack_effects(instr->i_opcode, instr->i_oparg, 0, &effects) < 0) {
  ------------------
  |  Branch (846:17): [True: 0, False: 90.6k]
  ------------------
  847|      0|                PyErr_Format(PyExc_SystemError,
  848|      0|                             "Invalid stack effect for opcode=%d, arg=%i",
  849|      0|                             instr->i_opcode, instr->i_oparg);
  850|      0|                goto error;
  851|      0|            }
  852|  90.6k|            int new_depth = depth + effects.net;
  853|  90.6k|            if (new_depth < 0) {
  ------------------
  |  Branch (853:17): [True: 0, False: 90.6k]
  ------------------
  854|      0|                PyErr_Format(PyExc_ValueError,
  855|      0|                             "Invalid CFG, stack underflow at line %d", instr->i_loc.lineno);
  856|      0|                goto error;
  857|      0|            }
  858|  90.6k|            maxdepth = Py_MAX(maxdepth, depth);
  ------------------
  |  |  115|  90.6k|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 65.5k, False: 25.1k]
  |  |  ------------------
  ------------------
  859|  90.6k|            if (HAS_TARGET(instr->i_opcode) && instr->i_opcode != END_ASYNC_FOR) {
  ------------------
  |  |   23|   181k|        (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1077|   181k|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1058|  90.6k|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1077:29): [True: 5.17k, False: 85.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   18|  85.4k|        ((opcode) == SETUP_FINALLY || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  255|   170k|#define SETUP_FINALLY                          264
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (18:10): [True: 511, False: 84.9k]
  |  |  |  |  ------------------
  |  |  |  |   19|  85.4k|         (opcode) == SETUP_WITH || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  256|   170k|#define SETUP_WITH                             265
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (19:10): [True: 52, False: 84.9k]
  |  |  |  |  ------------------
  |  |  |  |   20|  85.4k|         (opcode) == SETUP_CLEANUP)
  |  |  |  |  ------------------
  |  |  |  |  |  |  254|  84.9k|#define SETUP_CLEANUP                          263
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (20:10): [True: 669, False: 84.2k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          if (HAS_TARGET(instr->i_opcode) && instr->i_opcode != END_ASYNC_FOR) {
  ------------------
  |  |   79|  6.40k|#define END_ASYNC_FOR                           66
  ------------------
  |  Branch (859:48): [True: 6.40k, False: 0]
  ------------------
  860|  6.40k|                if (get_stack_effects(instr->i_opcode, instr->i_oparg, 1, &effects) < 0) {
  ------------------
  |  Branch (860:21): [True: 0, False: 6.40k]
  ------------------
  861|      0|                    PyErr_Format(PyExc_SystemError,
  862|      0|                                 "Invalid stack effect for opcode=%d, arg=%i",
  863|      0|                                 instr->i_opcode, instr->i_oparg);
  864|      0|                    goto error;
  865|      0|                }
  866|  6.40k|                int target_depth = depth + effects.net;
  867|  6.40k|                assert(target_depth >= 0); /* invalid code or bug in stackdepth() */
  868|  6.40k|                maxdepth = Py_MAX(maxdepth, depth);
  ------------------
  |  |  115|  6.40k|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 5.63k, False: 773]
  |  |  ------------------
  ------------------
  869|  6.40k|                if (stackdepth_push(&sp, instr->i_target, target_depth) < 0) {
  ------------------
  |  Branch (869:21): [True: 0, False: 6.40k]
  ------------------
  870|      0|                    goto error;
  871|      0|                }
  872|  6.40k|            }
  873|  90.6k|            depth = new_depth;
  874|  90.6k|            assert(!IS_ASSEMBLER_OPCODE(instr->i_opcode));
  875|  90.6k|            if (IS_UNCONDITIONAL_JUMP_OPCODE(instr->i_opcode) ||
  ------------------
  |  |   40|   181k|        ((opcode) == JUMP || \
  |  |  ------------------
  |  |  |  |  248|   181k|#define JUMP                                   257
  |  |  ------------------
  |  |  |  Branch (40:10): [True: 474, False: 90.1k]
  |  |  ------------------
  |  |   41|  90.6k|         (opcode) == JUMP_NO_INTERRUPT || \
  |  |  ------------------
  |  |  |  |  251|   180k|#define JUMP_NO_INTERRUPT                      260
  |  |  ------------------
  |  |  |  Branch (41:10): [True: 752, False: 89.4k]
  |  |  ------------------
  |  |   42|  90.6k|         (opcode) == JUMP_FORWARD || \
  |  |  ------------------
  |  |  |  |   89|   180k|#define JUMP_FORWARD                            76
  |  |  ------------------
  |  |  |  Branch (42:10): [True: 0, False: 89.4k]
  |  |  ------------------
  |  |   43|  90.6k|         (opcode) == JUMP_BACKWARD || \
  |  |  ------------------
  |  |  |  |   87|   180k|#define JUMP_BACKWARD                           74
  |  |  ------------------
  |  |  |  Branch (43:10): [True: 0, False: 89.4k]
  |  |  ------------------
  |  |   44|   181k|         (opcode) == JUMP_BACKWARD_NO_INTERRUPT)
  |  |  ------------------
  |  |  |  |   88|  89.4k|#define JUMP_BACKWARD_NO_INTERRUPT              75
  |  |  ------------------
  |  |  |  Branch (44:10): [True: 0, False: 89.4k]
  |  |  ------------------
  ------------------
  876|  89.4k|                IS_SCOPE_EXIT_OPCODE(instr->i_opcode))
  ------------------
  |  |   53|  89.4k|        ((opcode) == RETURN_VALUE || \
  |  |  ------------------
  |  |  |  |   46|   178k|#define RETURN_VALUE                            33
  |  |  ------------------
  |  |  |  Branch (53:10): [True: 3.26k, False: 86.1k]
  |  |  ------------------
  |  |   54|  89.4k|         (opcode) == RAISE_VARARGS || \
  |  |  ------------------
  |  |  |  |  116|   175k|#define RAISE_VARARGS                          103
  |  |  ------------------
  |  |  |  Branch (54:10): [True: 692, False: 85.4k]
  |  |  ------------------
  |  |   55|  89.4k|         (opcode) == RERAISE)
  |  |  ------------------
  |  |  |  |  117|  85.4k|#define RERAISE                                104
  |  |  ------------------
  |  |  |  Branch (55:10): [True: 1.07k, False: 84.3k]
  |  |  ------------------
  ------------------
  877|  6.25k|            {
  878|       |                /* remaining code is dead */
  879|  6.25k|                next = NULL;
  880|  6.25k|                break;
  881|  6.25k|            }
  882|  90.6k|        }
  883|  12.3k|        if (next != NULL) {
  ------------------
  |  Branch (883:13): [True: 6.09k, False: 6.25k]
  ------------------
  884|  6.09k|            assert(BB_HAS_FALLTHROUGH(b));
  885|  6.09k|            if (stackdepth_push(&sp, next, depth) < 0) {
  ------------------
  |  Branch (885:17): [True: 0, False: 6.09k]
  ------------------
  886|      0|                goto error;
  887|      0|            }
  888|  6.09k|        }
  889|  12.3k|    }
  890|  2.43k|    stackdepth = maxdepth;
  891|  2.43k|error:
  892|  2.43k|    PyMem_Free(stack);
  893|  2.43k|    return stackdepth;
  894|  2.43k|}
flowgraph.c:stackdepth_push:
  803|  14.9k|{
  804|  14.9k|    if (!(b->b_startdepth < 0 || b->b_startdepth == depth)) {
  ------------------
  |  Branch (804:11): [True: 12.3k, False: 2.58k]
  |  Branch (804:34): [True: 2.58k, False: 0]
  ------------------
  805|      0|        PyErr_Format(PyExc_ValueError, "Invalid CFG, inconsistent stackdepth");
  806|      0|        return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
  807|      0|    }
  808|  14.9k|    if (b->b_startdepth < depth && b->b_startdepth < 100) {
  ------------------
  |  Branch (808:9): [True: 12.3k, False: 2.58k]
  |  Branch (808:36): [True: 12.3k, False: 0]
  ------------------
  809|  12.3k|        assert(b->b_startdepth < 0);
  810|  12.3k|        b->b_startdepth = depth;
  811|  12.3k|        *(*sp)++ = b;
  812|  12.3k|    }
  813|  14.9k|    return SUCCESS;
  ------------------
  |  |   20|  14.9k|#define SUCCESS 0
  ------------------
  814|  14.9k|}
flowgraph.c:prepare_localsplus:
 3958|  2.43k|{
 3959|  2.43k|    assert(PyDict_GET_SIZE(umd->u_varnames) < INT_MAX);
 3960|  2.43k|    assert(PyDict_GET_SIZE(umd->u_cellvars) < INT_MAX);
 3961|  2.43k|    assert(PyDict_GET_SIZE(umd->u_freevars) < INT_MAX);
 3962|  2.43k|    int nlocals = (int)PyDict_GET_SIZE(umd->u_varnames);
  ------------------
  |  |   63|  2.43k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3963|  2.43k|    int ncellvars = (int)PyDict_GET_SIZE(umd->u_cellvars);
  ------------------
  |  |   63|  2.43k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3964|  2.43k|    int nfreevars = (int)PyDict_GET_SIZE(umd->u_freevars);
  ------------------
  |  |   63|  2.43k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3965|  2.43k|    assert(INT_MAX - nlocals - ncellvars > 0);
 3966|  2.43k|    assert(INT_MAX - nlocals - ncellvars - nfreevars > 0);
 3967|  2.43k|    int nlocalsplus = nlocals + ncellvars + nfreevars;
 3968|  2.43k|    int* cellfixedoffsets = build_cellfixedoffsets(umd);
 3969|  2.43k|    if (cellfixedoffsets == NULL) {
  ------------------
  |  Branch (3969:9): [True: 0, False: 2.43k]
  ------------------
 3970|      0|        return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
 3971|      0|    }
 3972|       |
 3973|       |    // This must be called before fix_cell_offsets().
 3974|  2.43k|    if (insert_prefix_instructions(umd, g->g_entryblock, cellfixedoffsets, nfreevars)) {
  ------------------
  |  Branch (3974:9): [True: 0, False: 2.43k]
  ------------------
 3975|      0|        PyMem_Free(cellfixedoffsets);
 3976|      0|        return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
 3977|      0|    }
 3978|       |
 3979|  2.43k|    int numdropped = fix_cell_offsets(umd, g->g_entryblock, cellfixedoffsets);
 3980|  2.43k|    PyMem_Free(cellfixedoffsets);  // At this point we're done with it.
 3981|  2.43k|    cellfixedoffsets = NULL;
 3982|  2.43k|    if (numdropped < 0) {
  ------------------
  |  Branch (3982:9): [True: 0, False: 2.43k]
  ------------------
 3983|      0|        return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
 3984|      0|    }
 3985|       |
 3986|  2.43k|    nlocalsplus -= numdropped;
 3987|  2.43k|    return nlocalsplus;
 3988|  2.43k|}
flowgraph.c:build_cellfixedoffsets:
 3806|  2.43k|{
 3807|  2.43k|    int nlocals = (int)PyDict_GET_SIZE(umd->u_varnames);
  ------------------
  |  |   63|  2.43k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3808|  2.43k|    int ncellvars = (int)PyDict_GET_SIZE(umd->u_cellvars);
  ------------------
  |  |   63|  2.43k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3809|  2.43k|    int nfreevars = (int)PyDict_GET_SIZE(umd->u_freevars);
  ------------------
  |  |   63|  2.43k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3810|       |
 3811|  2.43k|    int noffsets = ncellvars + nfreevars;
 3812|  2.43k|    int *fixed = PyMem_New(int, noffsets);
  ------------------
  |  |   64|  2.43k|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  ------------------
  |  |  |  |  137|  2.43k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  ------------------
  |  |  |  Branch (64:5): [True: 0, False: 2.43k]
  |  |  ------------------
  |  |   65|  2.43k|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  ------------------
 3813|  2.43k|    if (fixed == NULL) {
  ------------------
  |  Branch (3813:9): [True: 0, False: 2.43k]
  ------------------
 3814|      0|        PyErr_NoMemory();
 3815|      0|        return NULL;
 3816|      0|    }
 3817|  3.37k|    for (int i = 0; i < noffsets; i++) {
  ------------------
  |  Branch (3817:21): [True: 932, False: 2.43k]
  ------------------
 3818|    932|        fixed[i] = nlocals + i;
 3819|    932|    }
 3820|       |
 3821|  2.43k|    PyObject *varname, *cellindex;
 3822|  2.43k|    Py_ssize_t pos = 0;
 3823|  2.89k|    while (PyDict_Next(umd->u_cellvars, &pos, &varname, &cellindex)) {
  ------------------
  |  Branch (3823:12): [True: 458, False: 2.43k]
  ------------------
 3824|    458|        PyObject *varindex;
 3825|    458|        if (PyDict_GetItemRef(umd->u_varnames, varname, &varindex) < 0) {
  ------------------
  |  Branch (3825:13): [True: 0, False: 458]
  ------------------
 3826|      0|            goto error;
 3827|      0|        }
 3828|    458|        if (varindex == NULL) {
  ------------------
  |  Branch (3828:13): [True: 211, False: 247]
  ------------------
 3829|    211|            continue;
 3830|    211|        }
 3831|       |
 3832|    247|        int argoffset = PyLong_AsInt(varindex);
 3833|    247|        Py_DECREF(varindex);
  ------------------
  |  |  430|    247|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    247|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    247|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3834|    247|        if (argoffset == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (3834:13): [True: 0, False: 247]
  |  Branch (3834:32): [True: 0, False: 0]
  ------------------
 3835|      0|            goto error;
 3836|      0|        }
 3837|       |
 3838|    247|        int oldindex = PyLong_AsInt(cellindex);
 3839|    247|        if (oldindex == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (3839:13): [True: 0, False: 247]
  |  Branch (3839:31): [True: 0, False: 0]
  ------------------
 3840|      0|            goto error;
 3841|      0|        }
 3842|    247|        fixed[oldindex] = argoffset;
 3843|    247|    }
 3844|  2.43k|    return fixed;
 3845|       |
 3846|      0|error:
 3847|      0|    PyMem_Free(fixed);
 3848|       |    return NULL;
 3849|  2.43k|}
flowgraph.c:insert_prefix_instructions:
 3857|  2.43k|{
 3858|  2.43k|    assert(umd->u_firstlineno > 0);
 3859|       |
 3860|       |    /* Set up cells for any variable that escapes, to be put in a closure. */
 3861|  2.43k|    const int ncellvars = (int)PyDict_GET_SIZE(umd->u_cellvars);
  ------------------
  |  |   63|  2.43k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3862|  2.43k|    if (ncellvars) {
  ------------------
  |  Branch (3862:9): [True: 293, False: 2.14k]
  ------------------
 3863|       |        // umd->u_cellvars has the cells out of order so we sort them
 3864|       |        // before adding the MAKE_CELL instructions.  Note that we
 3865|       |        // adjust for arg cells, which come first.
 3866|    293|        const int nvars = ncellvars + (int)PyDict_GET_SIZE(umd->u_varnames);
  ------------------
  |  |   63|    293|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    293|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    293|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3867|    293|        int *sorted = PyMem_RawCalloc(nvars, sizeof(int));
 3868|    293|        if (sorted == NULL) {
  ------------------
  |  Branch (3868:13): [True: 0, False: 293]
  ------------------
 3869|      0|            PyErr_NoMemory();
 3870|      0|            return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
 3871|      0|        }
 3872|    751|        for (int i = 0; i < ncellvars; i++) {
  ------------------
  |  Branch (3872:25): [True: 458, False: 293]
  ------------------
 3873|    458|            sorted[fixed[i]] = i + 1;
 3874|    458|        }
 3875|    992|        for (int i = 0, ncellsused = 0; ncellsused < ncellvars; i++) {
  ------------------
  |  Branch (3875:41): [True: 699, False: 293]
  ------------------
 3876|    699|            int oldindex = sorted[i] - 1;
 3877|    699|            if (oldindex == -1) {
  ------------------
  |  Branch (3877:17): [True: 241, False: 458]
  ------------------
 3878|    241|                continue;
 3879|    241|            }
 3880|    458|            cfg_instr make_cell = {
 3881|    458|                .i_opcode = MAKE_CELL,
  ------------------
  |  |  109|    458|#define MAKE_CELL                               96
  ------------------
 3882|       |                // This will get fixed in offset_derefs().
 3883|    458|                .i_oparg = oldindex,
 3884|    458|                .i_loc = NO_LOCATION,
 3885|    458|                .i_target = NULL,
 3886|    458|                .i_except = NULL,
 3887|    458|            };
 3888|    458|            if (basicblock_insert_instruction(entryblock, ncellsused, &make_cell) < 0) {
  ------------------
  |  Branch (3888:17): [True: 0, False: 458]
  ------------------
 3889|      0|                PyMem_RawFree(sorted);
 3890|      0|                return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
 3891|      0|            }
 3892|    458|            ncellsused += 1;
 3893|    458|        }
 3894|    293|        PyMem_RawFree(sorted);
 3895|    293|    }
 3896|       |
 3897|  2.43k|    if (nfreevars) {
  ------------------
  |  Branch (3897:9): [True: 340, False: 2.09k]
  ------------------
 3898|    340|        cfg_instr copy_frees = {
 3899|    340|            .i_opcode = COPY_FREE_VARS,
  ------------------
  |  |   71|    340|#define COPY_FREE_VARS                          58
  ------------------
 3900|    340|            .i_oparg = nfreevars,
 3901|    340|            .i_loc = NO_LOCATION,
 3902|    340|            .i_target = NULL,
 3903|    340|            .i_except = NULL,
 3904|    340|        };
 3905|    340|        RETURN_IF_ERROR(basicblock_insert_instruction(entryblock, 0, &copy_frees));
  ------------------
  |  |   24|    340|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 340]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
 3906|    340|    }
 3907|       |
 3908|  2.43k|    return SUCCESS;
  ------------------
  |  |   20|  2.43k|#define SUCCESS 0
  ------------------
 3909|  2.43k|}
flowgraph.c:fix_cell_offsets:
 3913|  2.43k|{
 3914|  2.43k|    int nlocals = (int)PyDict_GET_SIZE(umd->u_varnames);
  ------------------
  |  |   63|  2.43k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3915|  2.43k|    int ncellvars = (int)PyDict_GET_SIZE(umd->u_cellvars);
  ------------------
  |  |   63|  2.43k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3916|  2.43k|    int nfreevars = (int)PyDict_GET_SIZE(umd->u_freevars);
  ------------------
  |  |   63|  2.43k|#define PyDict_GET_SIZE(op) PyDict_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3917|  2.43k|    int noffsets = ncellvars + nfreevars;
 3918|       |
 3919|       |    // First deal with duplicates (arg cells).
 3920|  2.43k|    int numdropped = 0;
 3921|  3.37k|    for (int i = 0; i < noffsets ; i++) {
  ------------------
  |  Branch (3921:21): [True: 932, False: 2.43k]
  ------------------
 3922|    932|        if (fixedmap[i] == i + nlocals) {
  ------------------
  |  Branch (3922:13): [True: 685, False: 247]
  ------------------
 3923|    685|            fixedmap[i] -= numdropped;
 3924|    685|        }
 3925|    247|        else {
 3926|       |            // It was a duplicate (cell/arg).
 3927|    247|            numdropped += 1;
 3928|    247|        }
 3929|    932|    }
 3930|       |
 3931|       |    // Then update offsets, either relative to locals or by cell2arg.
 3932|  16.8k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3932:38): [True: 14.4k, False: 2.43k]
  ------------------
 3933|   105k|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3933:25): [True: 91.4k, False: 14.4k]
  ------------------
 3934|  91.4k|            cfg_instr *inst = &b->b_instr[i];
 3935|       |            // This is called before extended args are generated.
 3936|  91.4k|            assert(inst->i_opcode != EXTENDED_ARG);
 3937|  91.4k|            int oldoffset = inst->i_oparg;
 3938|  91.4k|            switch(inst->i_opcode) {
  ------------------
  |  Branch (3938:20): [True: 2.26k, False: 89.1k]
  ------------------
 3939|    458|                case MAKE_CELL:
  ------------------
  |  |  109|    458|#define MAKE_CELL                               96
  ------------------
  |  Branch (3939:17): [True: 458, False: 90.9k]
  ------------------
 3940|  1.08k|                case LOAD_CLOSURE:
  ------------------
  |  |  252|  1.08k|#define LOAD_CLOSURE                           261
  ------------------
  |  Branch (3940:17): [True: 628, False: 90.8k]
  ------------------
 3941|  2.06k|                case LOAD_DEREF:
  ------------------
  |  |   95|  2.06k|#define LOAD_DEREF                              82
  ------------------
  |  Branch (3941:17): [True: 978, False: 90.4k]
  ------------------
 3942|  2.26k|                case STORE_DEREF:
  ------------------
  |  |  123|  2.26k|#define STORE_DEREF                            110
  ------------------
  |  Branch (3942:17): [True: 196, False: 91.2k]
  ------------------
 3943|  2.26k|                case DELETE_DEREF:
  ------------------
  |  |   73|  2.26k|#define DELETE_DEREF                            60
  ------------------
  |  Branch (3943:17): [True: 6, False: 91.4k]
  ------------------
 3944|  2.26k|                case LOAD_FROM_DICT_OR_DEREF:
  ------------------
  |  |  102|  2.26k|#define LOAD_FROM_DICT_OR_DEREF                 89
  ------------------
  |  Branch (3944:17): [True: 0, False: 91.4k]
  ------------------
 3945|  2.26k|                    assert(oldoffset >= 0);
 3946|  2.26k|                    assert(oldoffset < noffsets);
 3947|  2.26k|                    assert(fixedmap[oldoffset] >= 0);
 3948|  2.26k|                    inst->i_oparg = fixedmap[oldoffset];
 3949|  91.4k|            }
 3950|  91.4k|        }
 3951|  14.4k|    }
 3952|       |
 3953|  2.43k|    return numdropped;
 3954|  2.43k|}
flowgraph.c:convert_pseudo_ops:
 3609|  2.43k|{
 3610|  2.43k|    basicblock *entryblock = g->g_entryblock;
 3611|  16.8k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (3611:38): [True: 14.4k, False: 2.43k]
  ------------------
 3612|   105k|        for (int i = 0; i < b->b_iused; i++) {
  ------------------
  |  Branch (3612:25): [True: 91.4k, False: 14.4k]
  ------------------
 3613|  91.4k|            cfg_instr *instr = &b->b_instr[i];
 3614|  91.4k|            if (is_block_push(instr)) {
  ------------------
  |  Branch (3614:17): [True: 1.23k, False: 90.2k]
  ------------------
 3615|  1.23k|                INSTR_SET_OP0(instr, NOP);
  ------------------
  |  |  124|  1.23k|    do { \
  |  |  125|  1.23k|        assert(!OPCODE_HAS_ARG(OP)); \
  |  |  126|  1.23k|        cfg_instr *_instr__ptr_ = (I); \
  |  |  127|  1.23k|        _instr__ptr_->i_opcode = (OP); \
  |  |  128|  1.23k|        _instr__ptr_->i_oparg = 0; \
  |  |  129|  1.23k|    } while (0);
  |  |  ------------------
  |  |  |  Branch (129:14): [Folded, False: 1.23k]
  |  |  ------------------
  ------------------
 3616|  1.23k|            }
 3617|  90.2k|            else if (instr->i_opcode == LOAD_CLOSURE) {
  ------------------
  |  |  252|  90.2k|#define LOAD_CLOSURE                           261
  ------------------
  |  Branch (3617:22): [True: 628, False: 89.5k]
  ------------------
 3618|    628|                assert(is_pseudo_target(LOAD_CLOSURE, LOAD_FAST));
 3619|    628|                instr->i_opcode = LOAD_FAST;
  ------------------
  |  |   96|    628|#define LOAD_FAST                               83
  ------------------
 3620|    628|            }
 3621|  89.5k|            else if (instr->i_opcode == STORE_FAST_MAYBE_NULL) {
  ------------------
  |  |  257|  89.5k|#define STORE_FAST_MAYBE_NULL                  266
  ------------------
  |  Branch (3621:22): [True: 102, False: 89.4k]
  ------------------
 3622|    102|                assert(is_pseudo_target(STORE_FAST_MAYBE_NULL, STORE_FAST));
 3623|    102|                instr->i_opcode = STORE_FAST;
  ------------------
  |  |  124|    102|#define STORE_FAST                             111
  ------------------
 3624|    102|            }
 3625|  91.4k|        }
 3626|  14.4k|    }
 3627|  2.43k|    return remove_redundant_nops_and_jumps(g);
 3628|  2.43k|}
flowgraph.c:normalize_jumps:
  602|  2.43k|{
  603|  2.43k|    basicblock *entryblock = g->g_entryblock;
  604|  16.8k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (604:38): [True: 14.4k, False: 2.43k]
  ------------------
  605|  14.4k|        b->b_visited = 0;
  606|  14.4k|    }
  607|  17.0k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (607:38): [True: 14.5k, False: 2.43k]
  ------------------
  608|  14.5k|        b->b_visited = 1;
  609|  14.5k|        RETURN_IF_ERROR(normalize_jumps_in_block(g, b));
  ------------------
  |  |   24|  14.5k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 14.5k]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
  610|  14.5k|    }
  611|  2.43k|    return SUCCESS;
  ------------------
  |  |   20|  2.43k|#define SUCCESS 0
  ------------------
  612|  2.43k|}
flowgraph.c:normalize_jumps_in_block:
  547|  14.5k|normalize_jumps_in_block(cfg_builder *g, basicblock *b) {
  548|  14.5k|    cfg_instr *last = basicblock_last_instr(b);
  549|  14.5k|    if (last == NULL || !IS_CONDITIONAL_JUMP_OPCODE(last->i_opcode)) {
  ------------------
  |  |   47|  12.3k|        ((opcode) == POP_JUMP_IF_FALSE || \
  |  |  ------------------
  |  |  |  |  112|  24.7k|#define POP_JUMP_IF_FALSE                       99
  |  |  ------------------
  |  |  |  Branch (47:10): [True: 2.28k, False: 10.1k]
  |  |  ------------------
  |  |   48|  12.3k|         (opcode) == POP_JUMP_IF_TRUE || \
  |  |  ------------------
  |  |  |  |  115|  22.5k|#define POP_JUMP_IF_TRUE                       102
  |  |  ------------------
  |  |  |  Branch (48:10): [True: 628, False: 9.48k]
  |  |  ------------------
  |  |   49|  12.3k|         (opcode) == POP_JUMP_IF_NONE || \
  |  |  ------------------
  |  |  |  |  113|  21.8k|#define POP_JUMP_IF_NONE                       100
  |  |  ------------------
  |  |  |  Branch (49:10): [True: 376, False: 9.10k]
  |  |  ------------------
  |  |   50|  12.3k|         (opcode) == POP_JUMP_IF_NOT_NONE)
  |  |  ------------------
  |  |  |  |  114|  9.10k|#define POP_JUMP_IF_NOT_NONE                   101
  |  |  ------------------
  |  |  |  Branch (50:10): [True: 206, False: 8.90k]
  |  |  ------------------
  ------------------
  |  Branch (549:9): [True: 2.19k, False: 12.3k]
  ------------------
  550|  11.1k|        return SUCCESS;
  ------------------
  |  |   20|  11.1k|#define SUCCESS 0
  ------------------
  551|  11.1k|    }
  552|  14.5k|    assert(!IS_ASSEMBLER_OPCODE(last->i_opcode));
  553|       |
  554|  3.49k|    bool is_forward = last->i_target->b_visited == 0;
  555|  3.49k|    if (is_forward) {
  ------------------
  |  Branch (555:9): [True: 3.36k, False: 131]
  ------------------
  556|  3.36k|        RETURN_IF_ERROR(
  ------------------
  |  |   24|  3.36k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 3.36k]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
  557|  3.36k|            basicblock_addop(b, NOT_TAKEN, 0, last->i_loc));
  558|  3.36k|        return SUCCESS;
  ------------------
  |  |   20|  3.36k|#define SUCCESS 0
  ------------------
  559|  3.36k|    }
  560|       |
  561|    131|    int reversed_opcode = 0;
  562|    131|    switch(last->i_opcode) {
  ------------------
  |  Branch (562:12): [True: 131, False: 0]
  ------------------
  563|      0|        case POP_JUMP_IF_NOT_NONE:
  ------------------
  |  |  114|      0|#define POP_JUMP_IF_NOT_NONE                   101
  ------------------
  |  Branch (563:9): [True: 0, False: 131]
  ------------------
  564|      0|            reversed_opcode = POP_JUMP_IF_NONE;
  ------------------
  |  |  113|      0|#define POP_JUMP_IF_NONE                       100
  ------------------
  565|      0|            break;
  566|     13|        case POP_JUMP_IF_NONE:
  ------------------
  |  |  113|     13|#define POP_JUMP_IF_NONE                       100
  ------------------
  |  Branch (566:9): [True: 13, False: 118]
  ------------------
  567|     13|            reversed_opcode = POP_JUMP_IF_NOT_NONE;
  ------------------
  |  |  114|     13|#define POP_JUMP_IF_NOT_NONE                   101
  ------------------
  568|     13|            break;
  569|     86|        case POP_JUMP_IF_FALSE:
  ------------------
  |  |  112|     86|#define POP_JUMP_IF_FALSE                       99
  ------------------
  |  Branch (569:9): [True: 86, False: 45]
  ------------------
  570|     86|            reversed_opcode = POP_JUMP_IF_TRUE;
  ------------------
  |  |  115|     86|#define POP_JUMP_IF_TRUE                       102
  ------------------
  571|     86|            break;
  572|     32|        case POP_JUMP_IF_TRUE:
  ------------------
  |  |  115|     32|#define POP_JUMP_IF_TRUE                       102
  ------------------
  |  Branch (572:9): [True: 32, False: 99]
  ------------------
  573|     32|            reversed_opcode = POP_JUMP_IF_FALSE;
  ------------------
  |  |  112|     32|#define POP_JUMP_IF_FALSE                       99
  ------------------
  574|     32|            break;
  575|    131|    }
  576|       |    /* transform 'conditional jump T' to
  577|       |     * 'reversed_jump b_next' followed by 'jump_backwards T'
  578|       |     */
  579|       |
  580|    131|    basicblock *target = last->i_target;
  581|    131|    basicblock *backwards_jump = cfg_builder_new_block(g);
  582|    131|    if (backwards_jump == NULL) {
  ------------------
  |  Branch (582:9): [True: 0, False: 131]
  ------------------
  583|      0|        return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
  584|      0|    }
  585|    131|    RETURN_IF_ERROR(
  ------------------
  |  |   24|    131|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 131]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
  586|    131|        basicblock_addop(backwards_jump, NOT_TAKEN, 0, last->i_loc));
  587|    131|    RETURN_IF_ERROR(
  ------------------
  |  |   24|    131|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (24:9): [True: 0, False: 131]
  |  |  ------------------
  |  |   25|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  |   26|      0|    }
  ------------------
  588|    131|        basicblock_add_jump(backwards_jump, JUMP, target, last->i_loc));
  589|    131|    backwards_jump->b_startdepth = target->b_startdepth;
  590|    131|    last->i_opcode = reversed_opcode;
  591|    131|    last->i_target = b->b_next;
  592|       |
  593|    131|    backwards_jump->b_cold = b->b_cold;
  594|    131|    backwards_jump->b_next = b->b_next;
  595|    131|    b->b_next = backwards_jump;
  596|    131|    return SUCCESS;
  ------------------
  |  |   20|    131|#define SUCCESS 0
  ------------------
  597|    131|}
flowgraph.c:optimize_load_fast:
 2859|  2.43k|{
 2860|  2.43k|    int status;
 2861|  2.43k|    ref_stack refs = {0};
 2862|  2.43k|    int max_instrs = 0;
 2863|  2.43k|    basicblock *entryblock = g->g_entryblock;
 2864|  17.0k|    for (basicblock *b = entryblock; b != NULL; b = b->b_next) {
  ------------------
  |  Branch (2864:38): [True: 14.5k, False: 2.43k]
  ------------------
 2865|  14.5k|        max_instrs = Py_MAX(max_instrs, b->b_iused);
  ------------------
  |  |  115|  14.5k|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 10.7k, False: 3.85k]
  |  |  ------------------
  ------------------
 2866|  14.5k|    }
 2867|  2.43k|    size_t instr_flags_size = max_instrs * sizeof(uint8_t);
 2868|  2.43k|    uint8_t *instr_flags = PyMem_Malloc(instr_flags_size);
 2869|  2.43k|    if (instr_flags == NULL) {
  ------------------
  |  Branch (2869:9): [True: 0, False: 2.43k]
  ------------------
 2870|      0|        PyErr_NoMemory();
 2871|      0|        return ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
 2872|      0|    }
 2873|  2.43k|    basicblock **blocks = make_cfg_traversal_stack(entryblock);
 2874|  2.43k|    if (blocks == NULL) {
  ------------------
  |  Branch (2874:9): [True: 0, False: 2.43k]
  ------------------
 2875|      0|        status = ERROR;
  ------------------
  |  |   21|      0|#define ERROR -1
  ------------------
 2876|      0|        goto done;
 2877|      0|    }
 2878|  2.43k|    basicblock **sp = blocks;
 2879|  2.43k|    *sp = entryblock;
 2880|  2.43k|    sp++;
 2881|  2.43k|    entryblock->b_startdepth = 0;
 2882|  2.43k|    entryblock->b_visited = 1;
 2883|       |
 2884|  2.43k|    #define PUSH_REF(instr, local)                \
 2885|  2.43k|        do {                                      \
 2886|  2.43k|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
 2887|  2.43k|                status = ERROR;                   \
 2888|  2.43k|                goto done;                        \
 2889|  2.43k|            }                                     \
 2890|  2.43k|        } while(0)
 2891|       |
 2892|  12.5k|    while (sp != blocks) {
  ------------------
  |  Branch (2892:12): [True: 10.1k, False: 2.43k]
  ------------------
 2893|  10.1k|        basicblock *block = *--sp;
 2894|  10.1k|        assert(block->b_startdepth > -1);
 2895|       |
 2896|       |        // Reset per-block state.
 2897|  10.1k|        memset(instr_flags, 0, block->b_iused * sizeof(*instr_flags));
 2898|       |
 2899|       |        // Reset the stack of refs. We don't track references on the stack
 2900|       |        // across basic blocks, but the bytecode will expect their
 2901|       |        // presence. Add dummy references as necessary.
 2902|  10.1k|        ref_stack_clear(&refs);
 2903|  16.8k|        for (int i = 0; i < block->b_startdepth; i++) {
  ------------------
  |  Branch (2903:25): [True: 6.77k, False: 10.1k]
  ------------------
 2904|  6.77k|            PUSH_REF(DUMMY_INSTR, NOT_LOCAL);
  ------------------
  |  | 2885|  6.77k|        do {                                      \
  |  | 2886|  6.77k|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2886:17): [True: 0, False: 6.77k]
  |  |  ------------------
  |  | 2887|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  | 2888|      0|                goto done;                        \
  |  | 2889|      0|            }                                     \
  |  | 2890|  6.77k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2890:17): [Folded, False: 6.77k]
  |  |  ------------------
  ------------------
 2905|  6.77k|        }
 2906|       |
 2907|  94.5k|        for (int i = 0; i < block->b_iused; i++) {
  ------------------
  |  Branch (2907:25): [True: 84.4k, False: 10.1k]
  ------------------
 2908|  84.4k|            cfg_instr *instr = &block->b_instr[i];
 2909|  84.4k|            int opcode = instr->i_opcode;
 2910|  84.4k|            int oparg = instr->i_oparg;
 2911|  84.4k|            assert(opcode != EXTENDED_ARG);
 2912|  84.4k|            switch (opcode) {
 2913|       |                // Opcodes that load and store locals
 2914|      7|                case DELETE_FAST: {
  ------------------
  |  |   74|      7|#define DELETE_FAST                             61
  ------------------
  |  Branch (2914:17): [True: 7, False: 84.4k]
  ------------------
 2915|      7|                    kill_local(instr_flags, &refs, oparg);
 2916|      7|                    break;
 2917|      0|                }
 2918|       |
 2919|  11.7k|                case LOAD_FAST: {
  ------------------
  |  |   96|  11.7k|#define LOAD_FAST                               83
  ------------------
  |  Branch (2919:17): [True: 11.7k, False: 72.6k]
  ------------------
 2920|  11.7k|                    PUSH_REF(i, oparg);
  ------------------
  |  | 2885|  11.7k|        do {                                      \
  |  | 2886|  11.7k|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2886:17): [True: 0, False: 11.7k]
  |  |  ------------------
  |  | 2887|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  | 2888|      0|                goto done;                        \
  |  | 2889|      0|            }                                     \
  |  | 2890|  11.7k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2890:17): [Folded, False: 11.7k]
  |  |  ------------------
  ------------------
 2921|  11.7k|                    break;
 2922|  11.7k|                }
 2923|       |
 2924|  11.7k|                case LOAD_FAST_AND_CLEAR: {
  ------------------
  |  |   97|     51|#define LOAD_FAST_AND_CLEAR                     84
  ------------------
  |  Branch (2924:17): [True: 51, False: 84.3k]
  ------------------
 2925|     51|                    kill_local(instr_flags, &refs, oparg);
 2926|     51|                    PUSH_REF(i, oparg);
  ------------------
  |  | 2885|     51|        do {                                      \
  |  | 2886|     51|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2886:17): [True: 0, False: 51]
  |  |  ------------------
  |  | 2887|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  | 2888|      0|                goto done;                        \
  |  | 2889|      0|            }                                     \
  |  | 2890|     51|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2890:17): [Folded, False: 51]
  |  |  ------------------
  ------------------
 2927|     51|                    break;
 2928|     51|                }
 2929|       |
 2930|  1.80k|                case LOAD_FAST_LOAD_FAST: {
  ------------------
  |  |  101|  1.80k|#define LOAD_FAST_LOAD_FAST                     88
  ------------------
  |  Branch (2930:17): [True: 1.80k, False: 82.6k]
  ------------------
 2931|  1.80k|                    PUSH_REF(i, oparg >> 4);
  ------------------
  |  | 2885|  1.80k|        do {                                      \
  |  | 2886|  1.80k|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2886:17): [True: 0, False: 1.80k]
  |  |  ------------------
  |  | 2887|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  | 2888|      0|                goto done;                        \
  |  | 2889|      0|            }                                     \
  |  | 2890|  1.80k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2890:17): [Folded, False: 1.80k]
  |  |  ------------------
  ------------------
 2932|  1.80k|                    PUSH_REF(i, oparg & 15);
  ------------------
  |  | 2885|  1.80k|        do {                                      \
  |  | 2886|  1.80k|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2886:17): [True: 0, False: 1.80k]
  |  |  ------------------
  |  | 2887|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  | 2888|      0|                goto done;                        \
  |  | 2889|      0|            }                                     \
  |  | 2890|  1.80k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2890:17): [Folded, False: 1.80k]
  |  |  ------------------
  ------------------
 2933|  1.80k|                    break;
 2934|  1.80k|                }
 2935|       |
 2936|  2.57k|                case STORE_FAST: {
  ------------------
  |  |  124|  2.57k|#define STORE_FAST                             111
  ------------------
  |  Branch (2936:17): [True: 2.57k, False: 81.8k]
  ------------------
 2937|  2.57k|                    ref r = ref_stack_pop(&refs);
 2938|  2.57k|                    store_local(instr_flags, &refs, oparg, r);
 2939|  2.57k|                    break;
 2940|  1.80k|                }
 2941|       |
 2942|     28|                case STORE_FAST_LOAD_FAST: {
  ------------------
  |  |  125|     28|#define STORE_FAST_LOAD_FAST                   112
  ------------------
  |  Branch (2942:17): [True: 28, False: 84.4k]
  ------------------
 2943|       |                    // STORE_FAST
 2944|     28|                    ref r = ref_stack_pop(&refs);
 2945|     28|                    store_local(instr_flags, &refs, oparg >> 4, r);
 2946|       |                    // LOAD_FAST
 2947|     28|                    PUSH_REF(i, oparg & 15);
  ------------------
  |  | 2885|     28|        do {                                      \
  |  | 2886|     28|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2886:17): [True: 0, False: 28]
  |  |  ------------------
  |  | 2887|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  | 2888|      0|                goto done;                        \
  |  | 2889|      0|            }                                     \
  |  | 2890|     28|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2890:17): [Folded, False: 28]
  |  |  ------------------
  ------------------
 2948|     28|                    break;
 2949|     28|                }
 2950|       |
 2951|    179|                case STORE_FAST_STORE_FAST: {
  ------------------
  |  |  126|    179|#define STORE_FAST_STORE_FAST                  113
  ------------------
  |  Branch (2951:17): [True: 179, False: 84.2k]
  ------------------
 2952|       |                    // STORE_FAST
 2953|    179|                    ref r = ref_stack_pop(&refs);
 2954|    179|                    store_local(instr_flags, &refs, oparg >> 4, r);
 2955|       |                    // STORE_FAST
 2956|    179|                    r = ref_stack_pop(&refs);
 2957|    179|                    store_local(instr_flags, &refs, oparg & 15, r);
 2958|    179|                    break;
 2959|     28|                }
 2960|       |
 2961|       |                // Opcodes that shuffle values on the stack
 2962|    430|                case COPY: {
  ------------------
  |  |   70|    430|#define COPY                                    57
  ------------------
  |  Branch (2962:17): [True: 430, False: 84.0k]
  ------------------
 2963|    430|                    assert(oparg > 0);
 2964|    430|                    Py_ssize_t idx = refs.size - oparg;
 2965|    430|                    ref r = ref_stack_at(&refs, idx);
 2966|    430|                    PUSH_REF(r.instr, r.local);
  ------------------
  |  | 2885|    430|        do {                                      \
  |  | 2886|    430|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2886:17): [True: 0, False: 430]
  |  |  ------------------
  |  | 2887|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  | 2888|      0|                goto done;                        \
  |  | 2889|      0|            }                                     \
  |  | 2890|    430|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2890:17): [Folded, False: 430]
  |  |  ------------------
  ------------------
 2967|    430|                    break;
 2968|    430|                }
 2969|       |
 2970|    430|                case SWAP: {
  ------------------
  |  |  129|    325|#define SWAP                                   116
  ------------------
  |  Branch (2970:17): [True: 325, False: 84.1k]
  ------------------
 2971|    325|                    assert(oparg >= 2);
 2972|    325|                    ref_stack_swap_top(&refs, oparg);
 2973|    325|                    break;
 2974|    430|                }
 2975|       |
 2976|       |                // We treat opcodes that do not consume all of their inputs on
 2977|       |                // a case by case basis, as we have no generic way of knowing
 2978|       |                // how many inputs should be left on the stack.
 2979|       |
 2980|       |                // Opcodes that consume no inputs
 2981|    849|                case FORMAT_SIMPLE:
  ------------------
  |  |   25|    849|#define FORMAT_SIMPLE                           12
  ------------------
  |  Branch (2981:17): [True: 849, False: 83.5k]
  ------------------
 2982|    849|                case GET_ANEXT:
  ------------------
  |  |   28|    849|#define GET_ANEXT                               15
  ------------------
  |  Branch (2982:17): [True: 0, False: 84.4k]
  ------------------
 2983|  1.13k|                case GET_ITER:
  ------------------
  |  |   83|  1.13k|#define GET_ITER                                70
  ------------------
  |  Branch (2983:17): [True: 287, False: 84.1k]
  ------------------
 2984|  1.13k|                case GET_LEN:
  ------------------
  |  |   29|  1.13k|#define GET_LEN                                 16
  ------------------
  |  Branch (2984:17): [True: 0, False: 84.4k]
  ------------------
 2985|  1.43k|                case IMPORT_FROM:
  ------------------
  |  |   84|  1.43k|#define IMPORT_FROM                             71
  ------------------
  |  Branch (2985:17): [True: 294, False: 84.1k]
  ------------------
 2986|  1.43k|                case MATCH_KEYS:
  ------------------
  |  |   35|  1.43k|#define MATCH_KEYS                              22
  ------------------
  |  Branch (2986:17): [True: 0, False: 84.4k]
  ------------------
 2987|  1.43k|                case MATCH_MAPPING:
  ------------------
  |  |   36|  1.43k|#define MATCH_MAPPING                           23
  ------------------
  |  Branch (2987:17): [True: 0, False: 84.4k]
  ------------------
 2988|  1.43k|                case MATCH_SEQUENCE:
  ------------------
  |  |   37|  1.43k|#define MATCH_SEQUENCE                          24
  ------------------
  |  Branch (2988:17): [True: 0, False: 84.4k]
  ------------------
 2989|  1.43k|                case WITH_EXCEPT_START: {
  ------------------
  |  |   54|  1.43k|#define WITH_EXCEPT_START                       41
  ------------------
  |  Branch (2989:17): [True: 0, False: 84.4k]
  ------------------
 2990|  1.43k|                    int num_popped = _PyOpcode_num_popped(opcode, oparg);
 2991|  1.43k|                    int num_pushed = _PyOpcode_num_pushed(opcode, oparg);
 2992|  1.43k|                    int net_pushed = num_pushed - num_popped;
 2993|  1.43k|                    assert(net_pushed >= 0);
 2994|  2.01k|                    for (int j = 0; j < net_pushed; j++) {
  ------------------
  |  Branch (2994:37): [True: 581, False: 1.43k]
  ------------------
 2995|    581|                        PUSH_REF(i, NOT_LOCAL);
  ------------------
  |  | 2885|    581|        do {                                      \
  |  | 2886|    581|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2886:17): [True: 0, False: 581]
  |  |  ------------------
  |  | 2887|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  | 2888|      0|                goto done;                        \
  |  | 2889|      0|            }                                     \
  |  | 2890|    581|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2890:17): [Folded, False: 581]
  |  |  ------------------
  ------------------
 2996|    581|                    }
 2997|  1.43k|                    break;
 2998|  1.43k|                }
 2999|       |
 3000|       |                // Opcodes that consume some inputs and push no new values
 3001|  1.43k|                case DICT_MERGE:
  ------------------
  |  |   77|     85|#define DICT_MERGE                              64
  ------------------
  |  Branch (3001:17): [True: 85, False: 84.3k]
  ------------------
 3002|     85|                case DICT_UPDATE:
  ------------------
  |  |   78|     85|#define DICT_UPDATE                             65
  ------------------
  |  Branch (3002:17): [True: 0, False: 84.4k]
  ------------------
 3003|    123|                case LIST_APPEND:
  ------------------
  |  |   90|    123|#define LIST_APPEND                             77
  ------------------
  |  Branch (3003:17): [True: 38, False: 84.4k]
  ------------------
 3004|    156|                case LIST_EXTEND:
  ------------------
  |  |   91|    156|#define LIST_EXTEND                             78
  ------------------
  |  Branch (3004:17): [True: 33, False: 84.4k]
  ------------------
 3005|    158|                case MAP_ADD:
  ------------------
  |  |  110|    158|#define MAP_ADD                                 97
  ------------------
  |  Branch (3005:17): [True: 2, False: 84.4k]
  ------------------
 3006|    158|                case RERAISE:
  ------------------
  |  |  117|    158|#define RERAISE                                104
  ------------------
  |  Branch (3006:17): [True: 0, False: 84.4k]
  ------------------
 3007|    166|                case SET_ADD:
  ------------------
  |  |  119|    166|#define SET_ADD                                106
  ------------------
  |  Branch (3007:17): [True: 8, False: 84.4k]
  ------------------
 3008|    170|                case SET_UPDATE: {
  ------------------
  |  |  121|    170|#define SET_UPDATE                             108
  ------------------
  |  Branch (3008:17): [True: 4, False: 84.4k]
  ------------------
 3009|    170|                    int num_popped = _PyOpcode_num_popped(opcode, oparg);
 3010|    170|                    int num_pushed = _PyOpcode_num_pushed(opcode, oparg);
 3011|    170|                    int net_popped = num_popped - num_pushed;
 3012|    170|                    assert(net_popped > 0);
 3013|    342|                    for (int i = 0; i < net_popped; i++) {
  ------------------
  |  Branch (3013:37): [True: 172, False: 170]
  ------------------
 3014|    172|                        ref_stack_pop(&refs);
 3015|    172|                    }
 3016|    170|                    break;
 3017|    166|                }
 3018|       |
 3019|    137|                case END_SEND: {
  ------------------
  |  |   23|    137|#define END_SEND                                10
  ------------------
  |  Branch (3019:17): [True: 137, False: 84.3k]
  ------------------
 3020|    137|                    assert(_PyOpcode_num_popped(opcode, oparg) == 3);
 3021|    137|                    assert(_PyOpcode_num_pushed(opcode, oparg) == 1);
 3022|    137|                    ref tos = ref_stack_pop(&refs);
 3023|    137|                    ref_stack_pop(&refs);
 3024|    137|                    ref_stack_pop(&refs);
 3025|    137|                    PUSH_REF(tos.instr, tos.local);
  ------------------
  |  | 2885|    137|        do {                                      \
  |  | 2886|    137|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2886:17): [True: 0, False: 137]
  |  |  ------------------
  |  | 2887|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  | 2888|      0|                goto done;                        \
  |  | 2889|      0|            }                                     \
  |  | 2890|    137|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2890:17): [Folded, False: 137]
  |  |  ------------------
  ------------------
 3026|    137|                    break;
 3027|    137|                }
 3028|       |
 3029|    770|                case SET_FUNCTION_ATTRIBUTE: {
  ------------------
  |  |  120|    770|#define SET_FUNCTION_ATTRIBUTE                 107
  ------------------
  |  Branch (3029:17): [True: 770, False: 83.6k]
  ------------------
 3030|    770|                    assert(_PyOpcode_num_popped(opcode, oparg) == 2);
 3031|    770|                    assert(_PyOpcode_num_pushed(opcode, oparg) == 1);
 3032|    770|                    ref tos = ref_stack_pop(&refs);
 3033|    770|                    ref_stack_pop(&refs);
 3034|    770|                    PUSH_REF(tos.instr, tos.local);
  ------------------
  |  | 2885|    770|        do {                                      \
  |  | 2886|    770|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2886:17): [True: 0, False: 770]
  |  |  ------------------
  |  | 2887|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  | 2888|      0|                goto done;                        \
  |  | 2889|      0|            }                                     \
  |  | 2890|    770|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2890:17): [Folded, False: 770]
  |  |  ------------------
  ------------------
 3035|    770|                    break;
 3036|    770|                }
 3037|       |
 3038|       |                // Opcodes that consume some inputs and push new values
 3039|    770|                case CHECK_EXC_MATCH: {
  ------------------
  |  |   19|      0|#define CHECK_EXC_MATCH                          6
  ------------------
  |  Branch (3039:17): [True: 0, False: 84.4k]
  ------------------
 3040|      0|                    ref_stack_pop(&refs);
 3041|      0|                    PUSH_REF(i, NOT_LOCAL);
  ------------------
  |  | 2885|      0|        do {                                      \
  |  | 2886|      0|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2886:17): [True: 0, False: 0]
  |  |  ------------------
  |  | 2887|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  | 2888|      0|                goto done;                        \
  |  | 2889|      0|            }                                     \
  |  | 2890|      0|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2890:17): [Folded, False: 0]
  |  |  ------------------
  ------------------
 3042|      0|                    break;
 3043|      0|                }
 3044|       |
 3045|    290|                case FOR_ITER: {
  ------------------
  |  |   81|    290|#define FOR_ITER                                68
  ------------------
  |  Branch (3045:17): [True: 290, False: 84.1k]
  ------------------
 3046|    290|                    load_fast_push_block(&sp, instr->i_target, refs.size + 1);
 3047|    290|                    PUSH_REF(i, NOT_LOCAL);
  ------------------
  |  | 2885|    290|        do {                                      \
  |  | 2886|    290|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2886:17): [True: 0, False: 290]
  |  |  ------------------
  |  | 2887|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  | 2888|      0|                goto done;                        \
  |  | 2889|      0|            }                                     \
  |  | 2890|    290|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2890:17): [Folded, False: 290]
  |  |  ------------------
  ------------------
 3048|    290|                    break;
 3049|    290|                }
 3050|       |
 3051|  7.47k|                case LOAD_ATTR:
  ------------------
  |  |   92|  7.47k|#define LOAD_ATTR                               79
  ------------------
  |  Branch (3051:17): [True: 7.47k, False: 76.9k]
  ------------------
 3052|  7.58k|                case LOAD_SUPER_ATTR: {
  ------------------
  |  |  108|  7.58k|#define LOAD_SUPER_ATTR                         95
  ------------------
  |  Branch (3052:17): [True: 111, False: 84.3k]
  ------------------
 3053|  7.58k|                    ref self = ref_stack_pop(&refs);
 3054|  7.58k|                    if (opcode == LOAD_SUPER_ATTR) {
  ------------------
  |  |  108|  7.58k|#define LOAD_SUPER_ATTR                         95
  ------------------
  |  Branch (3054:25): [True: 111, False: 7.47k]
  ------------------
 3055|    111|                        ref_stack_pop(&refs);
 3056|    111|                        ref_stack_pop(&refs);
 3057|    111|                    }
 3058|  7.58k|                    PUSH_REF(i, NOT_LOCAL);
  ------------------
  |  | 2885|  7.58k|        do {                                      \
  |  | 2886|  7.58k|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2886:17): [True: 0, False: 7.58k]
  |  |  ------------------
  |  | 2887|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  | 2888|      0|                goto done;                        \
  |  | 2889|      0|            }                                     \
  |  | 2890|  7.58k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2890:17): [Folded, False: 7.58k]
  |  |  ------------------
  ------------------
 3059|  7.58k|                    if (oparg & 1) {
  ------------------
  |  Branch (3059:25): [True: 2.63k, False: 4.94k]
  ------------------
 3060|       |                        // A method call; conservatively assume that self is pushed
 3061|       |                        // back onto the stack
 3062|  2.63k|                        PUSH_REF(self.instr, self.local);
  ------------------
  |  | 2885|  2.63k|        do {                                      \
  |  | 2886|  2.63k|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2886:17): [True: 0, False: 2.63k]
  |  |  ------------------
  |  | 2887|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  | 2888|      0|                goto done;                        \
  |  | 2889|      0|            }                                     \
  |  | 2890|  2.63k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2890:17): [Folded, False: 2.63k]
  |  |  ------------------
  ------------------
 3063|  2.63k|                    }
 3064|  7.58k|                    break;
 3065|  7.58k|                }
 3066|       |
 3067|  7.58k|                case LOAD_SPECIAL:
  ------------------
  |  |  107|    102|#define LOAD_SPECIAL                            94
  ------------------
  |  Branch (3067:17): [True: 102, False: 84.3k]
  ------------------
 3068|    102|                case PUSH_EXC_INFO: {
  ------------------
  |  |   43|    102|#define PUSH_EXC_INFO                           30
  ------------------
  |  Branch (3068:17): [True: 0, False: 84.4k]
  ------------------
 3069|    102|                    ref tos = ref_stack_pop(&refs);
 3070|    102|                    PUSH_REF(i, NOT_LOCAL);
  ------------------
  |  | 2885|    102|        do {                                      \
  |  | 2886|    102|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2886:17): [True: 0, False: 102]
  |  |  ------------------
  |  | 2887|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  | 2888|      0|                goto done;                        \
  |  | 2889|      0|            }                                     \
  |  | 2890|    102|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2890:17): [Folded, False: 102]
  |  |  ------------------
  ------------------
 3071|    102|                    PUSH_REF(tos.instr, tos.local);
  ------------------
  |  | 2885|    102|        do {                                      \
  |  | 2886|    102|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2886:17): [True: 0, False: 102]
  |  |  ------------------
  |  | 2887|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  | 2888|      0|                goto done;                        \
  |  | 2889|      0|            }                                     \
  |  | 2890|    102|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2890:17): [Folded, False: 102]
  |  |  ------------------
  ------------------
 3072|    102|                    break;
 3073|    102|                }
 3074|       |
 3075|    137|                case SEND: {
  ------------------
  |  |  118|    137|#define SEND                                   105
  ------------------
  |  Branch (3075:17): [True: 137, False: 84.3k]
  ------------------
 3076|    137|                    load_fast_push_block(&sp, instr->i_target, refs.size);
 3077|    137|                    ref_stack_pop(&refs);
 3078|    137|                    PUSH_REF(i, NOT_LOCAL);
  ------------------
  |  | 2885|    137|        do {                                      \
  |  | 2886|    137|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2886:17): [True: 0, False: 137]
  |  |  ------------------
  |  | 2887|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  | 2888|      0|                goto done;                        \
  |  | 2889|      0|            }                                     \
  |  | 2890|    137|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2890:17): [Folded, False: 137]
  |  |  ------------------
  ------------------
 3079|    137|                    break;
 3080|    137|                }
 3081|       |
 3082|       |                // Opcodes that consume all of their inputs
 3083|  56.6k|                default: {
  ------------------
  |  Branch (3083:17): [True: 56.6k, False: 27.7k]
  ------------------
 3084|  56.6k|                    int num_popped = _PyOpcode_num_popped(opcode, oparg);
 3085|  56.6k|                    int num_pushed = _PyOpcode_num_pushed(opcode, oparg);
 3086|  56.6k|                    if (HAS_TARGET(instr->i_opcode)) {
  ------------------
  |  |   23|  56.6k|        (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1077|   113k|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1058|  56.6k|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1077:29): [True: 4.07k, False: 52.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   18|  52.5k|        ((opcode) == SETUP_FINALLY || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  255|   105k|#define SETUP_FINALLY                          264
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (18:10): [True: 0, False: 52.5k]
  |  |  |  |  ------------------
  |  |  |  |   19|  52.5k|         (opcode) == SETUP_WITH || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  256|   105k|#define SETUP_WITH                             265
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (19:10): [True: 0, False: 52.5k]
  |  |  |  |  ------------------
  |  |  |  |   20|  52.5k|         (opcode) == SETUP_CLEANUP)
  |  |  |  |  ------------------
  |  |  |  |  |  |  254|  52.5k|#define SETUP_CLEANUP                          263
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (20:10): [True: 0, False: 52.5k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3087|  4.07k|                        load_fast_push_block(&sp, instr->i_target, refs.size - num_popped + num_pushed);
 3088|  4.07k|                    }
 3089|  56.6k|                    if (!IS_BLOCK_PUSH_OPCODE(instr->i_opcode)) {
  ------------------
  |  |   18|  56.6k|        ((opcode) == SETUP_FINALLY || \
  |  |  ------------------
  |  |  |  |  255|   113k|#define SETUP_FINALLY                          264
  |  |  ------------------
  |  |  |  Branch (18:10): [True: 0, False: 56.6k]
  |  |  ------------------
  |  |   19|  56.6k|         (opcode) == SETUP_WITH || \
  |  |  ------------------
  |  |  |  |  256|   113k|#define SETUP_WITH                             265
  |  |  ------------------
  |  |  |  Branch (19:10): [True: 0, False: 56.6k]
  |  |  ------------------
  |  |   20|  56.6k|         (opcode) == SETUP_CLEANUP)
  |  |  ------------------
  |  |  |  |  254|  56.6k|#define SETUP_CLEANUP                          263
  |  |  ------------------
  |  |  |  Branch (20:10): [True: 0, False: 56.6k]
  |  |  ------------------
  ------------------
 3090|       |                        // Block push opcodes only affect the stack when jumping
 3091|       |                        // to the target.
 3092|   107k|                        for (int j = 0; j < num_popped; j++) {
  ------------------
  |  Branch (3092:41): [True: 51.3k, False: 56.6k]
  ------------------
 3093|  51.3k|                            ref_stack_pop(&refs);
 3094|  51.3k|                        }
 3095|  95.6k|                        for (int j = 0; j < num_pushed; j++) {
  ------------------
  |  Branch (3095:41): [True: 38.9k, False: 56.6k]
  ------------------
 3096|  38.9k|                            PUSH_REF(i, NOT_LOCAL);
  ------------------
  |  | 2885|  38.9k|        do {                                      \
  |  | 2886|  38.9k|            if (ref_stack_push(&refs, (ref){(instr), (local)}) < 0) { \
  |  |  ------------------
  |  |  |  Branch (2886:17): [True: 0, False: 38.9k]
  |  |  ------------------
  |  | 2887|      0|                status = ERROR;                   \
  |  |  ------------------
  |  |  |  |   21|      0|#define ERROR -1
  |  |  ------------------
  |  | 2888|      0|                goto done;                        \
  |  | 2889|      0|            }                                     \
  |  | 2890|  38.9k|        } while(0)
  |  |  ------------------
  |  |  |  Branch (2890:17): [Folded, False: 38.9k]
  |  |  ------------------
  ------------------
 3097|  38.9k|                        }
 3098|  56.6k|                    }
 3099|  56.6k|                    break;
 3100|  56.6k|                }
 3101|  84.4k|            }
 3102|  84.4k|        }
 3103|       |
 3104|       |        // Push fallthrough block
 3105|  10.1k|        if (BB_HAS_FALLTHROUGH(block)) {
  ------------------
  |  |  250|  10.1k|#define BB_HAS_FALLTHROUGH(B) (!basicblock_nofallthrough(B))
  |  |  ------------------
  |  |  |  Branch (250:31): [True: 5.38k, False: 4.71k]
  |  |  ------------------
  ------------------
 3106|  5.38k|            assert(block->b_next != NULL);
 3107|  5.38k|            load_fast_push_block(&sp, block->b_next, refs.size);
 3108|  5.38k|        }
 3109|       |
 3110|       |        // Mark instructions that produce values that are on the stack at the
 3111|       |        // end of the basic block
 3112|  19.6k|        for (Py_ssize_t i = 0; i < refs.size; i++) {
  ------------------
  |  Branch (3112:32): [True: 9.50k, False: 10.1k]
  ------------------
 3113|  9.50k|            ref r = ref_stack_at(&refs, i);
 3114|  9.50k|            if (r.instr != -1) {
  ------------------
  |  Branch (3114:17): [True: 5.34k, False: 4.16k]
  ------------------
 3115|  5.34k|                instr_flags[r.instr] |= REF_UNCONSUMED;
 3116|  5.34k|            }
 3117|  9.50k|        }
 3118|       |
 3119|       |        // Optimize instructions
 3120|  94.5k|        for (int i = 0; i < block->b_iused; i++) {
  ------------------
  |  Branch (3120:25): [True: 84.4k, False: 10.1k]
  ------------------
 3121|  84.4k|            if (!instr_flags[i]) {
  ------------------
  |  Branch (3121:17): [True: 76.7k, False: 7.70k]
  ------------------
 3122|  76.7k|                cfg_instr *instr = &block->b_instr[i];
 3123|  76.7k|                switch (instr->i_opcode) {
 3124|  11.4k|                    case LOAD_FAST:
  ------------------
  |  |   96|  11.4k|#define LOAD_FAST                               83
  ------------------
  |  Branch (3124:21): [True: 11.4k, False: 65.2k]
  ------------------
 3125|  11.4k|                        instr->i_opcode = LOAD_FAST_BORROW;
  ------------------
  |  |   98|  11.4k|#define LOAD_FAST_BORROW                        85
  ------------------
 3126|  11.4k|                        break;
 3127|  1.79k|                    case LOAD_FAST_LOAD_FAST:
  ------------------
  |  |  101|  1.79k|#define LOAD_FAST_LOAD_FAST                     88
  ------------------
  |  Branch (3127:21): [True: 1.79k, False: 74.9k]
  ------------------
 3128|  1.79k|                        instr->i_opcode = LOAD_FAST_BORROW_LOAD_FAST_BORROW;
  ------------------
  |  |   99|  1.79k|#define LOAD_FAST_BORROW_LOAD_FAST_BORROW       86
  ------------------
 3129|  1.79k|                        break;
 3130|  63.4k|                    default:
  ------------------
  |  Branch (3130:21): [True: 63.4k, False: 13.2k]
  ------------------
 3131|  63.4k|                        break;
 3132|  76.7k|                }
 3133|  76.7k|            }
 3134|  84.4k|        }
 3135|  10.1k|    }
 3136|       |
 3137|  2.43k|    #undef PUSH_REF
 3138|       |
 3139|  2.43k|    status = SUCCESS;
  ------------------
  |  |   20|  2.43k|#define SUCCESS 0
  ------------------
 3140|       |
 3141|  2.43k|done:
 3142|  2.43k|    ref_stack_fini(&refs);
 3143|  2.43k|    PyMem_Free(instr_flags);
 3144|  2.43k|    PyMem_Free(blocks);
 3145|  2.43k|    return status;
 3146|  2.43k|}
flowgraph.c:ref_stack_clear:
 2764|  10.1k|{
 2765|  10.1k|    stack->size = 0;
 2766|  10.1k|}
flowgraph.c:ref_stack_push:
 2720|  73.9k|{
 2721|  73.9k|    if (stack->size == stack->capacity) {
  ------------------
  |  Branch (2721:9): [True: 2.43k, False: 71.5k]
  ------------------
 2722|  2.43k|        Py_ssize_t new_cap = Py_MAX(32, stack->capacity * 2);
  ------------------
  |  |  115|  2.43k|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 2.43k, False: 0]
  |  |  ------------------
  ------------------
 2723|  2.43k|        ref *refs = PyMem_Realloc(stack->refs, sizeof(*stack->refs) * new_cap);
 2724|  2.43k|        if (refs == NULL) {
  ------------------
  |  Branch (2724:13): [True: 0, False: 2.43k]
  ------------------
 2725|      0|            PyErr_NoMemory();
 2726|      0|            return -1;
 2727|      0|        }
 2728|  2.43k|        stack->refs = refs;
 2729|  2.43k|        stack->capacity = new_cap;
 2730|  2.43k|    }
 2731|  73.9k|    stack->refs[stack->size] = r;
 2732|  73.9k|    stack->size++;
 2733|  73.9k|    return 0;
 2734|  73.9k|}
flowgraph.c:kill_local:
 2790|  3.01k|{
 2791|  5.25k|    for (Py_ssize_t i = 0; i < refs->size; i++) {
  ------------------
  |  Branch (2791:28): [True: 2.23k, False: 3.01k]
  ------------------
 2792|  2.23k|        ref r = ref_stack_at(refs, i);
 2793|  2.23k|        if (r.local == local) {
  ------------------
  |  Branch (2793:13): [True: 4, False: 2.23k]
  ------------------
 2794|       |            assert(r.instr >= 0);
 2795|      4|            instr_flags[r.instr] |= SUPPORT_KILLED;
 2796|      4|        }
 2797|  2.23k|    }
 2798|  3.01k|}
flowgraph.c:ref_stack_pop:
 2738|  64.4k|{
 2739|       |    assert(stack->size > 0);
 2740|  64.4k|    stack->size--;
 2741|  64.4k|    ref r = stack->refs[stack->size];
 2742|  64.4k|    return r;
 2743|  64.4k|}
flowgraph.c:store_local:
 2802|  2.96k|{
 2803|  2.96k|    kill_local(instr_flags, refs, local);
 2804|  2.96k|    if (r.instr != DUMMY_INSTR) {
  ------------------
  |  | 2702|  2.96k|#define DUMMY_INSTR -1
  ------------------
  |  Branch (2804:9): [True: 2.60k, False: 358]
  ------------------
 2805|  2.60k|        instr_flags[r.instr] |= STORED_AS_LOCAL;
 2806|  2.60k|    }
 2807|  2.96k|}
flowgraph.c:ref_stack_at:
 2757|  12.1k|{
 2758|       |    assert(idx >= 0 && idx < stack->size);
 2759|  12.1k|    return stack->refs[idx];
 2760|  12.1k|}
flowgraph.c:ref_stack_swap_top:
 2747|    325|{
 2748|    325|    Py_ssize_t idx = stack->size - off;
 2749|       |    assert(idx >= 0 && idx < stack->size);
 2750|    325|    ref tmp = stack->refs[idx];
 2751|    325|    stack->refs[idx] = stack->refs[stack->size - 1];
 2752|    325|    stack->refs[stack->size - 1] = tmp;
 2753|    325|}
flowgraph.c:load_fast_push_block:
 2812|  9.88k|{
 2813|  9.88k|    assert(target->b_startdepth >= 0 && target->b_startdepth == start_depth);
 2814|  9.88k|    if (!target->b_visited) {
  ------------------
  |  Branch (2814:9): [True: 7.66k, False: 2.22k]
  ------------------
 2815|  7.66k|        target->b_visited = 1;
 2816|  7.66k|        *(*sp)++ = target;
 2817|  7.66k|    }
 2818|  9.88k|}
flowgraph.c:ref_stack_fini:
 2770|  2.43k|{
 2771|  2.43k|    if (stack->refs != NULL) {
  ------------------
  |  Branch (2771:9): [True: 2.43k, False: 0]
  ------------------
 2772|  2.43k|        PyMem_Free(stack->refs);
 2773|  2.43k|    }
 2774|       |    stack->refs = NULL;
 2775|  2.43k|    stack->capacity = 0;
 2776|  2.43k|    stack->size = 0;
 2777|  2.43k|}
flowgraph.c:get_stack_effects:
  780|  97.0k|{
  781|  97.0k|    if (opcode < 0) {
  ------------------
  |  Branch (781:9): [True: 0, False: 97.0k]
  ------------------
  782|      0|        return -1;
  783|      0|    }
  784|  97.0k|    if ((opcode <= MAX_REAL_OPCODE) && (_PyOpcode_Deopt[opcode] != opcode)) {
  ------------------
  |  |   11|  97.0k|#define MAX_REAL_OPCODE 254
  ------------------
  |  Branch (784:9): [True: 91.4k, False: 5.64k]
  |  Branch (784:40): [True: 0, False: 91.4k]
  ------------------
  785|       |        // Specialized instructions are not supported.
  786|      0|        return -1;
  787|      0|    }
  788|  97.0k|    int popped = _PyOpcode_num_popped(opcode, oparg);
  789|  97.0k|    int pushed = _PyOpcode_num_pushed(opcode, oparg);
  790|  97.0k|    if (popped < 0 || pushed < 0) {
  ------------------
  |  Branch (790:9): [True: 0, False: 97.0k]
  |  Branch (790:23): [True: 0, False: 97.0k]
  ------------------
  791|      0|        return -1;
  792|      0|    }
  793|  97.0k|    if (IS_BLOCK_PUSH_OPCODE(opcode) && !jump) {
  ------------------
  |  |   18|   194k|        ((opcode) == SETUP_FINALLY || \
  |  |  ------------------
  |  |  |  |  255|   194k|#define SETUP_FINALLY                          264
  |  |  ------------------
  |  |  |  Branch (18:10): [True: 1.02k, False: 96.0k]
  |  |  ------------------
  |  |   19|  97.0k|         (opcode) == SETUP_WITH || \
  |  |  ------------------
  |  |  |  |  256|   193k|#define SETUP_WITH                             265
  |  |  ------------------
  |  |  |  Branch (19:10): [True: 104, False: 95.9k]
  |  |  ------------------
  |  |   20|   194k|         (opcode) == SETUP_CLEANUP)
  |  |  ------------------
  |  |  |  |  254|  95.9k|#define SETUP_CLEANUP                          263
  |  |  ------------------
  |  |  |  Branch (20:10): [True: 1.33k, False: 94.5k]
  |  |  ------------------
  ------------------
  |  Branch (793:41): [True: 1.23k, False: 1.23k]
  ------------------
  794|  1.23k|        effects->net = 0;
  795|  1.23k|        return 0;
  796|  1.23k|    }
  797|  95.8k|    effects->net = pushed - popped;
  798|  95.8k|    return 0;
  799|  97.0k|}

_PyFrame_Traverse:
   12|  17.0k|{
   13|  17.0k|    Py_VISIT(frame->frame_obj);
  ------------------
  |  |  194|  17.0k|    do {                                                                \
  |  |  195|  17.0k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 4, False: 17.0k]
  |  |  ------------------
  |  |  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|  17.0k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 17.0k]
  |  |  ------------------
  ------------------
   14|  17.0k|    Py_VISIT(frame->f_locals);
  ------------------
  |  |  194|  17.0k|    do {                                                                \
  |  |  195|  17.0k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 4, False: 17.0k]
  |  |  ------------------
  |  |  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|  17.0k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 17.0k]
  |  |  ------------------
  ------------------
   15|  17.0k|    _Py_VISIT_STACKREF(frame->f_funcobj);
  ------------------
  |  |  842|  17.0k|    do {                                                                \
  |  |  843|  17.0k|        if (!PyStackRef_IsNullOrInt(ref)) {                             \
  |  |  ------------------
  |  |  |  |  486|  17.0k|#define PyStackRef_IsNullOrInt(stackref) (PyStackRef_IsNull(stackref) || PyStackRef_IsTaggedInt(stackref))
  |  |  |  |  ------------------
  |  |  |  |  |  |  470|  34.1k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  467|  17.0k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|  17.0k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (470:32): [True: 0, False: 17.0k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (486:74): [True: 0, False: 17.0k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  844|  17.0k|            int vret = _PyGC_VisitStackRef(&(ref), visit, arg);         \
  |  |  845|  17.0k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (845:17): [True: 0, False: 17.0k]
  |  |  ------------------
  |  |  846|  17.0k|                return vret;                                            \
  |  |  847|  17.0k|        }                                                               \
  |  |  848|  17.0k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (848:14): [Folded, False: 17.0k]
  |  |  ------------------
  ------------------
   16|  17.0k|    _Py_VISIT_STACKREF(frame->f_executable);
  ------------------
  |  |  842|  17.0k|    do {                                                                \
  |  |  843|  17.0k|        if (!PyStackRef_IsNullOrInt(ref)) {                             \
  |  |  ------------------
  |  |  |  |  486|  17.0k|#define PyStackRef_IsNullOrInt(stackref) (PyStackRef_IsNull(stackref) || PyStackRef_IsTaggedInt(stackref))
  |  |  |  |  ------------------
  |  |  |  |  |  |  470|  34.1k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  467|  17.0k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|  17.0k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (470:32): [True: 0, False: 17.0k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (486:74): [True: 0, False: 17.0k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  844|  17.0k|            int vret = _PyGC_VisitStackRef(&(ref), visit, arg);         \
  |  |  845|  17.0k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (845:17): [True: 0, False: 17.0k]
  |  |  ------------------
  |  |  846|  17.0k|                return vret;                                            \
  |  |  847|  17.0k|        }                                                               \
  |  |  848|  17.0k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (848:14): [Folded, False: 17.0k]
  |  |  ------------------
  ------------------
   17|  17.0k|    return _PyGC_VisitFrameStack(frame, visit, arg);
   18|  17.0k|}
_PyFrame_MakeAndSetFrameObject:
   22|  1.73M|{
   23|  1.73M|    assert(frame->frame_obj == NULL);
   24|  1.73M|    PyObject *exc = PyErr_GetRaisedException();
   25|       |
   26|  1.73M|    PyFrameObject *f = _PyFrame_New_NoTrack(_PyFrame_GetCode(frame));
   27|  1.73M|    if (f == NULL) {
  ------------------
  |  Branch (27:9): [True: 0, False: 1.73M]
  ------------------
   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|  1.73M|    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|  1.73M|    assert(frame->frame_obj == NULL);
   41|       |    assert(frame->owner != FRAME_OWNED_BY_FRAME_OBJECT);
   42|  1.73M|    f->f_frame = frame;
   43|  1.73M|    frame->frame_obj = f;
   44|  1.73M|    return f;
   45|  1.73M|}
_PyFrame_ClearLocals:
   94|  61.3M|{
   95|  61.3M|    assert(frame->stackpointer != NULL);
   96|  61.3M|    _PyStackRef *sp = frame->stackpointer;
   97|  61.3M|    _PyStackRef *locals = frame->localsplus;
   98|  61.3M|    frame->stackpointer = locals;
   99|   254M|    while (sp > locals) {
  ------------------
  |  Branch (99:12): [True: 192M, False: 61.3M]
  ------------------
  100|   192M|        sp--;
  101|   192M|        PyStackRef_XCLOSE(*sp);
  102|   192M|    }
  103|       |    Py_CLEAR(frame->f_locals);
  ------------------
  |  |  484|  61.3M|    do { \
  |  |  485|  61.3M|        _Py_TYPEOF(op)* _tmp_op_ptr = &(op); \
  |  |  ------------------
  |  |  |  |  546|  61.3M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  486|  61.3M|        _Py_TYPEOF(op) _tmp_old_op = (*_tmp_op_ptr); \
  |  |  ------------------
  |  |  |  |  546|  61.3M|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  487|  61.3M|        if (_tmp_old_op != NULL) { \
  |  |  ------------------
  |  |  |  Branch (487:13): [True: 2.68k, False: 61.3M]
  |  |  ------------------
  |  |  488|  2.68k|            *_tmp_op_ptr = _Py_NULL; \
  |  |  ------------------
  |  |  |  |   57|  2.68k|#  define _Py_NULL NULL
  |  |  ------------------
  |  |  489|  2.68k|            Py_DECREF(_tmp_old_op); \
  |  |  ------------------
  |  |  |  |  430|  2.68k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.68k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.68k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  490|  2.68k|        } \
  |  |  491|  61.3M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (491:14): [Folded, False: 61.3M]
  |  |  ------------------
  ------------------
  104|  61.3M|}
_PyFrame_ClearExceptCode:
  108|  62.1M|{
  109|       |    /* It is the responsibility of the owning generator/coroutine
  110|       |     * to have cleared the enclosing generator, if any. */
  111|  62.1M|    assert(frame->owner != FRAME_OWNED_BY_GENERATOR ||
  112|  62.1M|           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|  62.1M|    assert(_PyThreadState_GET()->current_frame != frame);
  116|  62.1M|    if (frame->frame_obj) {
  ------------------
  |  Branch (116:9): [True: 1.73M, False: 60.3M]
  ------------------
  117|  1.73M|        PyFrameObject *f = frame->frame_obj;
  118|  1.73M|        frame->frame_obj = NULL;
  119|  1.73M|        if (!_PyObject_IsUniquelyReferenced((PyObject *)f)) {
  ------------------
  |  Branch (119:13): [True: 728k, False: 1.00M]
  ------------------
  120|   728k|            take_ownership(f, frame);
  121|   728k|            Py_DECREF(f);
  ------------------
  |  |  430|   728k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   728k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   728k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  122|   728k|            return;
  123|   728k|        }
  124|  1.00M|        Py_DECREF(f);
  ------------------
  |  |  430|  1.00M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.00M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.00M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  125|  1.00M|    }
  126|  61.3M|    _PyFrame_ClearLocals(frame);
  127|  61.3M|    PyStackRef_CLEAR(frame->f_funcobj);
  ------------------
  |  |  711|  61.3M|    do { \
  |  |  712|  61.3M|        _PyStackRef *_tmp_op_ptr = &(REF); \
  |  |  713|  61.3M|        _PyStackRef _tmp_old_op = (*_tmp_op_ptr); \
  |  |  714|  61.3M|        *_tmp_op_ptr = PyStackRef_NULL; \
  |  |  715|  61.3M|        PyStackRef_XCLOSE(_tmp_old_op); \
  |  |  716|  61.3M|    } while (0)
  |  |  ------------------
  |  |  |  Branch (716:14): [Folded, False: 61.3M]
  |  |  ------------------
  ------------------
  128|  61.3M|}
PyUnstable_InterpreterFrame_GetLine:
  148|  4.30k|{
  149|  4.30k|    int addr = _PyInterpreterFrame_LASTI(frame) * sizeof(_Py_CODEUNIT);
  ------------------
  |  |   18|  4.30k|    ((int)((IF)->instr_ptr - _PyFrame_GetBytecode((IF))))
  ------------------
  150|  4.30k|    return PyCode_Addr2Line(_PyFrame_GetCode(frame), addr);
  151|  4.30k|}
frame.c:take_ownership:
   49|   728k|{
   50|   728k|    Py_BEGIN_CRITICAL_SECTION(f);
  ------------------
  |  |   51|   728k|    {
  ------------------
   51|   728k|    assert(frame->owner < FRAME_OWNED_BY_INTERPRETER);
   52|   728k|    assert(frame->owner != FRAME_OWNED_BY_FRAME_OBJECT);
   53|   728k|    _PyInterpreterFrame *new_frame = (_PyInterpreterFrame *)f->_f_frame_data;
   54|   728k|    _PyFrame_Copy(frame, new_frame);
   55|       |    // _PyFrame_Copy takes the reference to the executable,
   56|       |    // so we need to restore it.
   57|   728k|    new_frame->f_executable = PyStackRef_DUP(new_frame->f_executable);
   58|   728k|    f->f_frame = new_frame;
   59|   728k|    new_frame->owner = FRAME_OWNED_BY_FRAME_OBJECT;
   60|   728k|    if (_PyFrame_IsIncomplete(new_frame)) {
  ------------------
  |  Branch (60:9): [True: 0, False: 728k]
  ------------------
   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|   728k|    assert(!_PyFrame_IsIncomplete(new_frame));
   68|   728k|    assert(f->f_back == NULL);
   69|   728k|    _PyInterpreterFrame *prev = _PyFrame_GetFirstComplete(frame->previous);
   70|   728k|    if (prev) {
  ------------------
  |  Branch (70:9): [True: 709k, False: 19.9k]
  ------------------
   71|   709k|        assert(prev->owner < FRAME_OWNED_BY_INTERPRETER);
   72|   709k|        PyObject *exc = PyErr_GetRaisedException();
   73|       |        /* Link PyFrameObjects.f_back and remove link through _PyInterpreterFrame.previous */
   74|   709k|        PyFrameObject *back = _PyFrame_GetFrameObject(prev);
   75|   709k|        if (back == NULL) {
  ------------------
  |  Branch (75:13): [True: 0, False: 709k]
  ------------------
   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|   709k|        else {
   82|   709k|            f->f_back = (PyFrameObject *)Py_NewRef(back);
  ------------------
  |  |  550|   709k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   709k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   709k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   83|   709k|        }
   84|   709k|        PyErr_SetRaisedException(exc);
   85|   709k|    }
   86|   728k|    if (!_PyObject_GC_IS_TRACKED((PyObject *)f)) {
  ------------------
  |  |   81|   728k|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|   728k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  |  Branch (86:9): [True: 728k, False: 0]
  ------------------
   87|   728k|        _PyObject_GC_TRACK((PyObject *)f);
  ------------------
  |  |  508|   728k|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   728k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   728k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   88|   728k|    }
   89|   728k|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|   728k|    }
  ------------------
   90|   728k|}

_PyFuture_FromAST:
  111|    270|{
  112|    270|    ff->ff_features = 0;
  113|    270|    ff->ff_location = (_Py_SourceLocation){-1, -1, -1, -1};
  114|       |
  115|    270|    if (!future_parse(ff, mod, filename)) {
  ------------------
  |  Branch (115:9): [True: 0, False: 270]
  ------------------
  116|      0|        return 0;
  117|      0|    }
  118|    270|    return 1;
  119|    270|}
future.c:future_parse:
   66|    270|{
   67|    270|    if (!(mod->kind == Module_kind || mod->kind == Interactive_kind)) {
  ------------------
  |  Branch (67:11): [True: 192, False: 78]
  |  Branch (67:39): [True: 0, False: 78]
  ------------------
   68|     78|        return 1;
   69|     78|    }
   70|       |
   71|    192|    Py_ssize_t n = asdl_seq_LEN(mod->v.Module.body);
  ------------------
  |  |   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: 1, False: 191]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   72|    192|    if (n == 0) {
  ------------------
  |  Branch (72:9): [True: 1, False: 191]
  ------------------
   73|      1|        return 1;
   74|      1|    }
   75|       |
   76|    191|    Py_ssize_t i = 0;
   77|    191|    if (_PyAST_GetDocString(mod->v.Module.body) != NULL) {
  ------------------
  |  Branch (77:9): [True: 27, False: 164]
  ------------------
   78|     27|        i++;
   79|     27|    }
   80|       |
   81|    191|    for (; i < n; i++) {
  ------------------
  |  Branch (81:12): [True: 191, False: 0]
  ------------------
   82|    191|        stmt_ty s = (stmt_ty)asdl_seq_GET(mod->v.Module.body, i);
  ------------------
  |  |   82|    191|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    191|#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|    191|        if (s->kind == ImportFrom_kind && s->v.ImportFrom.level == 0) {
  ------------------
  |  Branch (88:13): [True: 90, False: 101]
  |  Branch (88:43): [True: 90, False: 0]
  ------------------
   89|     90|            identifier modname = s->v.ImportFrom.module;
   90|     90|            if (modname &&
  ------------------
  |  Branch (90:17): [True: 90, False: 0]
  ------------------
   91|     90|                _PyUnicode_EqualToASCIIString(modname, "__future__")) {
  ------------------
  |  Branch (91:17): [True: 0, False: 90]
  ------------------
   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|     90|            else {
   98|     90|                return 1;
   99|     90|            }
  100|     90|        }
  101|    101|        else {
  102|    101|            return 1;
  103|    101|        }
  104|    191|    }
  105|      0|    return 1;
  106|    191|}

_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|  91.9k|{
  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|  91.9k|    assert(!PyStackRef_IsTaggedInt(*ref));
  465|  91.9k|    if (!PyStackRef_RefcountOnObject(*ref) && (visit == visit_decref)) {
  ------------------
  |  Branch (465:9): [True: 11.8k, False: 80.0k]
  |  Branch (465:47): [True: 5.94k, False: 5.93k]
  ------------------
  466|  5.94k|        return 0;
  467|  5.94k|    }
  468|  86.0k|    Py_VISIT(PyStackRef_AsPyObjectBorrow(*ref));
  ------------------
  |  |  194|  86.0k|    do {                                                                \
  |  |  195|  86.0k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 86.0k, False: 0]
  |  |  ------------------
  |  |  196|  86.0k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  86.0k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  86.0k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  86.0k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 86.0k]
  |  |  ------------------
  |  |  198|  86.0k|                return vret;                                            \
  |  |  199|  86.0k|        }                                                               \
  |  |  200|  86.0k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 86.0k]
  |  |  ------------------
  ------------------
  469|  86.0k|    return 0;
  470|  86.0k|}
_PyGC_VisitFrameStack:
  474|  17.0k|{
  475|  17.0k|    _PyStackRef *ref = _PyFrame_GetLocalsArray(frame);
  476|       |    /* locals and stack */
  477|  81.2k|    for (; ref < frame->stackpointer; ref++) {
  ------------------
  |  Branch (477:12): [True: 64.1k, False: 17.0k]
  ------------------
  478|  64.1k|        if (!PyStackRef_IsTaggedInt(*ref)) {
  ------------------
  |  Branch (478:13): [True: 64.1k, False: 14]
  ------------------
  479|  64.1k|            _Py_VISIT_STACKREF(*ref);
  ------------------
  |  |  842|  64.1k|    do {                                                                \
  |  |  843|  64.1k|        if (!PyStackRef_IsNullOrInt(ref)) {                             \
  |  |  ------------------
  |  |  |  |  486|  64.1k|#define PyStackRef_IsNullOrInt(stackref) (PyStackRef_IsNull(stackref) || PyStackRef_IsTaggedInt(stackref))
  |  |  |  |  ------------------
  |  |  |  |  |  |  470|   128k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  467|  64.1k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   55|  64.1k|#define Py_TAG_REFCNT 1
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (470:32): [True: 6.31k, False: 57.8k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (486:74): [True: 0, False: 57.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  844|  57.8k|            int vret = _PyGC_VisitStackRef(&(ref), visit, arg);         \
  |  |  845|  57.8k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (845:17): [True: 0, False: 57.8k]
  |  |  ------------------
  |  |  846|  57.8k|                return vret;                                            \
  |  |  847|  57.8k|        }                                                               \
  |  |  848|  64.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (848:14): [Folded, False: 64.1k]
  |  |  ------------------
  ------------------
  480|  64.1k|        }
  481|  64.1k|    }
  482|  17.0k|    return 0;
  483|  17.0k|}
PyObject_GC_Track:
 1928|  2.15M|{
 1929|  2.15M|    PyObject *op = _PyObject_CAST(op_raw);
  ------------------
  |  |  171|  2.15M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  2.15M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1930|  2.15M|    if (_PyObject_GC_IS_TRACKED(op)) {
  ------------------
  |  |   81|  2.15M|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|  2.15M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (81:37): [True: 0, False: 2.15M]
  |  |  ------------------
  ------------------
 1931|      0|        _PyObject_ASSERT_FAILED_MSG(op,
  ------------------
  |  |  426|      0|    _PyObject_AssertFailed((obj), NULL, (msg), __FILE__, __LINE__, __func__)
  ------------------
 1932|      0|                                    "object already tracked "
 1933|      0|                                    "by the garbage collector");
 1934|      0|    }
 1935|  2.15M|    _PyObject_GC_TRACK(op);
  ------------------
  |  |  508|  2.15M|        _PyObject_GC_TRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.15M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.15M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1936|       |
 1937|       |#ifdef Py_DEBUG
 1938|       |    /* Check that the object is valid: validate objects traversed
 1939|       |       by tp_traverse() */
 1940|       |    traverseproc traverse = Py_TYPE(op)->tp_traverse;
 1941|       |    (void)traverse(op, visit_validate, op);
 1942|       |#endif
 1943|  2.15M|}
PyObject_GC_UnTrack:
 1947|  66.5M|{
 1948|  66.5M|    PyObject *op = _PyObject_CAST(op_raw);
  ------------------
  |  |  171|  66.5M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  ------------------
  |  |  |  |   37|  66.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1949|       |    /* The code for some objects, such as tuples, is a bit
 1950|       |     * sloppy about when the object is tracked and untracked. */
 1951|  66.5M|    if (_PyObject_GC_IS_TRACKED(op)) {
  ------------------
  |  |   81|  66.5M|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|  66.5M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (81:37): [True: 41.8M, False: 24.6M]
  |  |  ------------------
  ------------------
 1952|  41.8M|        _PyObject_GC_UNTRACK(op);
  ------------------
  |  |  510|  41.8M|        _PyObject_GC_UNTRACK(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  41.8M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  41.8M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1953|  41.8M|    }
 1954|  66.5M|}
PyObject_IS_GC:
 1958|  2.21M|{
 1959|  2.21M|    return _PyObject_IS_GC(obj);
 1960|  2.21M|}
_Py_ScheduleGC:
 1964|  26.9k|{
 1965|  26.9k|    if (!_Py_eval_breaker_bit_is_set(tstate, _PY_GC_SCHEDULED_BIT))
  ------------------
  |  |  350|  26.9k|#define _PY_GC_SCHEDULED_BIT (1U << 4)
  ------------------
  |  Branch (1965:9): [True: 3.04k, False: 23.9k]
  ------------------
 1966|  3.04k|    {
 1967|  3.04k|        _Py_set_eval_breaker_bit(tstate, _PY_GC_SCHEDULED_BIT);
  ------------------
  |  |  350|  3.04k|#define _PY_GC_SCHEDULED_BIT (1U << 4)
  ------------------
 1968|  3.04k|    }
 1969|  26.9k|}
_PyObject_GC_Link:
 1973|  21.2M|{
 1974|  21.2M|    PyGC_Head *gc = AS_GC(op);
  ------------------
  |  |   52|  21.2M|#define AS_GC(op) _Py_AS_GC(op)
  ------------------
 1975|       |    // gc must be correctly aligned
 1976|  21.2M|    _PyObject_ASSERT(op, ((uintptr_t)gc & (sizeof(uintptr_t)-1)) == 0);
  ------------------
  |  |  423|  21.2M|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|  21.2M|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|  21.2M|    ((void)0)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1977|       |
 1978|  21.2M|    PyThreadState *tstate = _PyThreadState_GET();
 1979|  21.2M|    GCState *gcstate = &tstate->interp->gc;
 1980|  21.2M|    gc->_gc_next = 0;
 1981|  21.2M|    gc->_gc_prev = 0;
 1982|  21.2M|    gcstate->generations[0].count++; /* number of allocated GC objects */
 1983|  21.2M|    if (gcstate->generations[0].count > gcstate->generations[0].threshold &&
  ------------------
  |  Branch (1983:9): [True: 27.7k, False: 21.2M]
  ------------------
 1984|  27.7k|        gcstate->enabled &&
  ------------------
  |  Branch (1984:9): [True: 27.7k, False: 0]
  ------------------
 1985|  27.7k|        gcstate->generations[0].threshold &&
  ------------------
  |  Branch (1985:9): [True: 27.7k, False: 0]
  ------------------
 1986|  27.7k|        !_Py_atomic_load_int_relaxed(&gcstate->collecting) &&
  ------------------
  |  Branch (1986:9): [True: 26.9k, False: 738]
  ------------------
 1987|  26.9k|        !_PyErr_Occurred(tstate))
  ------------------
  |  Branch (1987:9): [True: 26.9k, False: 0]
  ------------------
 1988|  26.9k|    {
 1989|  26.9k|        _Py_ScheduleGC(tstate);
 1990|  26.9k|    }
 1991|  21.2M|}
_Py_RunGC:
 1995|  3.04k|{
 1996|  3.04k|    GCState *gcstate = get_gc_state();
 1997|  3.04k|    if (!gcstate->enabled) {
  ------------------
  |  Branch (1997:9): [True: 0, False: 3.04k]
  ------------------
 1998|      0|        return;
 1999|      0|    }
 2000|  3.04k|    gc_collect_main(tstate, GENERATION_AUTO, _Py_GC_REASON_HEAP);
  ------------------
  |  |   56|  3.04k|#define GENERATION_AUTO (-1)
  ------------------
 2001|  3.04k|}
_PyObject_GC_New:
 2025|  13.0M|{
 2026|  13.0M|    size_t presize = _PyType_PreHeaderSize(tp);
 2027|  13.0M|    size_t size = _PyObject_SIZE(tp);
 2028|  13.0M|    if (_PyType_HasFeature(tp, Py_TPFLAGS_INLINE_VALUES)) {
  ------------------
  |  |  472|  13.0M|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (2028:9): [True: 80, False: 13.0M]
  ------------------
 2029|     80|        size += _PyInlineValuesSize(tp);
 2030|     80|    }
 2031|  13.0M|    PyObject *op = gc_alloc(tp, size, presize);
 2032|  13.0M|    if (op == NULL) {
  ------------------
  |  Branch (2032:9): [True: 0, False: 13.0M]
  ------------------
 2033|      0|        return NULL;
 2034|      0|    }
 2035|  13.0M|    _PyObject_Init(op, tp);
 2036|  13.0M|    if (tp->tp_flags & Py_TPFLAGS_INLINE_VALUES) {
  ------------------
  |  |  472|  13.0M|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (2036:9): [True: 80, False: 13.0M]
  ------------------
 2037|     80|        _PyObject_InitInlineValues(op, tp);
 2038|     80|    }
 2039|  13.0M|    return op;
 2040|  13.0M|}
_PyObject_GC_NewVar:
 2044|  5.24M|{
 2045|  5.24M|    PyVarObject *op;
 2046|       |
 2047|  5.24M|    if (nitems < 0) {
  ------------------
  |  Branch (2047:9): [True: 0, False: 5.24M]
  ------------------
 2048|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2049|      0|        return NULL;
 2050|      0|    }
 2051|  5.24M|    size_t presize = _PyType_PreHeaderSize(tp);
 2052|  5.24M|    size_t size = _PyObject_VAR_SIZE(tp, nitems);
 2053|  5.24M|    op = (PyVarObject *)gc_alloc(tp, size, presize);
 2054|  5.24M|    if (op == NULL) {
  ------------------
  |  Branch (2054:9): [True: 0, False: 5.24M]
  ------------------
 2055|      0|        return NULL;
 2056|      0|    }
 2057|  5.24M|    _PyObject_InitVar(op, tp, nitems);
 2058|  5.24M|    return op;
 2059|  5.24M|}
_PyObject_GC_Resize:
 2077|      4|{
 2078|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2079|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2080|      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)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2081|      4|    if (basicsize > (size_t)PY_SSIZE_T_MAX - presize) {
  ------------------
  |  |  137|      4|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (2081:9): [True: 0, False: 4]
  ------------------
 2082|      0|        return (PyVarObject *)PyErr_NoMemory();
 2083|      0|    }
 2084|      4|    char *mem = (char *)op - presize;
 2085|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2086|      4|    if (mem == NULL) {
  ------------------
  |  Branch (2086:9): [True: 0, False: 4]
  ------------------
 2087|      0|        return (PyVarObject *)PyErr_NoMemory();
 2088|      0|    }
 2089|      4|    op = (PyVarObject *) (mem + presize);
 2090|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2091|      4|    return op;
 2092|      4|}
PyObject_GC_Del:
 2096|  21.1M|{
 2097|  21.1M|    size_t presize = _PyType_PreHeaderSize(Py_TYPE(op));
  ------------------
  |  |  213|  21.1M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  21.1M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  21.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2098|  21.1M|    PyGC_Head *g = AS_GC(op);
  ------------------
  |  |   52|  21.1M|#define AS_GC(op) _Py_AS_GC(op)
  ------------------
 2099|  21.1M|    if (_PyObject_GC_IS_TRACKED(op)) {
  ------------------
  |  |   81|  21.1M|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|  21.1M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (81:37): [True: 0, False: 21.1M]
  |  |  ------------------
  ------------------
 2100|      0|        gc_list_remove(g);
 2101|      0|        GCState *gcstate = get_gc_state();
 2102|      0|        gcstate->heap_size--;
 2103|       |#ifdef Py_DEBUG
 2104|       |        PyObject *exc = PyErr_GetRaisedException();
 2105|       |        if (PyErr_WarnExplicitFormat(PyExc_ResourceWarning, "gc", 0,
 2106|       |                                     "gc", NULL,
 2107|       |                                     "Object of type %s is not untracked "
 2108|       |                                     "before destruction",
 2109|       |                                     Py_TYPE(op)->tp_name))
 2110|       |        {
 2111|       |            PyErr_FormatUnraisable("Exception ignored on object deallocation");
 2112|       |        }
 2113|       |        PyErr_SetRaisedException(exc);
 2114|       |#endif
 2115|      0|    }
 2116|  21.1M|    GCState *gcstate = get_gc_state();
 2117|  21.1M|    if (gcstate->generations[0].count > 0) {
  ------------------
  |  Branch (2117:9): [True: 17.2M, False: 3.90M]
  ------------------
 2118|  17.2M|        gcstate->generations[0].count--;
 2119|  17.2M|    }
 2120|  21.1M|    PyObject_Free(((char *)op)-presize);
 2121|  21.1M|}
PyObject_GC_IsTracked:
 2125|  1.71k|{
 2126|  1.71k|    if (_PyObject_IS_GC(obj) && _PyObject_GC_IS_TRACKED(obj)) {
  ------------------
  |  |   81|    860|#define _PyObject_GC_IS_TRACKED(op) _PyObject_GC_IS_TRACKED(_Py_CAST(PyObject*, op))
  |  |  ------------------
  |  |  |  |   37|    860|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  |  |  |  Branch (81:37): [True: 8, False: 852]
  |  |  ------------------
  ------------------
  |  Branch (2126:9): [True: 860, False: 850]
  ------------------
 2127|      8|        return 1;
 2128|      8|    }
 2129|  1.70k|    return 0;
 2130|  1.71k|}
gc.c:visit_decref:
  441|  27.8M|{
  442|  27.8M|    OBJECT_STAT_INC(object_visits);
  ------------------
  |  |   77|  27.8M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
  443|  27.8M|    _PyObject_ASSERT(_PyObject_CAST(parent), !_PyObject_IsFreed(op));
  ------------------
  |  |  423|  27.8M|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|  27.8M|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|  27.8M|    ((void)0)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  444|       |
  445|  27.8M|    if (_PyObject_IS_GC(op)) {
  ------------------
  |  Branch (445:9): [True: 12.2M, False: 15.5M]
  ------------------
  446|  12.2M|        PyGC_Head *gc = AS_GC(op);
  ------------------
  |  |   52|  12.2M|#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|  12.2M|        if (gc_is_collecting(gc)) {
  ------------------
  |  Branch (451:13): [True: 7.76M, False: 4.48M]
  ------------------
  452|  7.76M|            gc_decref(gc);
  453|  7.76M|        }
  454|  12.2M|    }
  455|  27.8M|    return 0;
  456|  27.8M|}
gc.c:gc_is_collecting:
   60|  13.6M|{
   61|  13.6M|    return (g->_gc_prev & PREV_MASK_COLLECTING) != 0;
  ------------------
  |  |   39|  13.6M|#define PREV_MASK_COLLECTING   _PyGC_PREV_MASK_COLLECTING
  |  |  ------------------
  |  |  |  |  119|  13.6M|#define _PyGC_PREV_MASK_COLLECTING ((uintptr_t)2)
  |  |  ------------------
  ------------------
   62|  13.6M|}
gc.c:gc_decref:
   93|  7.76M|{
   94|  7.76M|    _PyObject_ASSERT_WITH_MSG(FROM_GC(g),
  ------------------
  |  |  421|  7.76M|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  |  410|  7.76M|    ((void)0)
  |  |  ------------------
  ------------------
   95|  7.76M|                              gc_get_refs(g) > 0,
   96|  7.76M|                              "refcount is too small");
   97|  7.76M|    g->_gc_prev -= 1 << _PyGC_PREV_SHIFT;
  ------------------
  |  |  121|  7.76M|#define _PyGC_PREV_SHIFT           2
  ------------------
   98|  7.76M|}
gc.c:gc_list_merge:
  277|  8.26k|{
  278|  8.26k|    assert(from != to);
  279|  8.26k|    if (!gc_list_is_empty(from)) {
  ------------------
  |  Branch (279:9): [True: 3.02k, False: 5.24k]
  ------------------
  280|  3.02k|        PyGC_Head *to_tail = GC_PREV(to);
  ------------------
  |  |   29|  3.02k|#define GC_PREV _PyGCHead_PREV
  ------------------
  281|  3.02k|        PyGC_Head *from_head = GC_NEXT(from);
  ------------------
  |  |   28|  3.02k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  282|  3.02k|        PyGC_Head *from_tail = GC_PREV(from);
  ------------------
  |  |   29|  3.02k|#define GC_PREV _PyGCHead_PREV
  ------------------
  283|  3.02k|        assert(from_head != from);
  284|  3.02k|        assert(from_tail != from);
  285|       |
  286|  3.02k|        _PyGCHead_SET_NEXT(to_tail, from_head);
  287|  3.02k|        _PyGCHead_SET_PREV(from_head, to_tail);
  288|       |
  289|  3.02k|        _PyGCHead_SET_NEXT(from_tail, to);
  290|  3.02k|        _PyGCHead_SET_PREV(to, from_tail);
  291|  3.02k|    }
  292|  8.26k|    gc_list_init(from);
  293|  8.26k|}
gc.c:gc_list_is_empty:
  220|  4.95M|{
  221|  4.95M|    return (list->_gc_next == (uintptr_t)list);
  222|  4.95M|}
gc.c:gc_list_init:
  211|  18.3k|{
  212|       |    // List header must not have flags.
  213|       |    // We can assign pointer by simple cast.
  214|  18.3k|    list->_gc_prev = (uintptr_t)list;
  215|  18.3k|    list->_gc_next = (uintptr_t)list;
  216|  18.3k|}
gc.c:gc_list_size:
  297|  2.19k|{
  298|  2.19k|    PyGC_Head *gc;
  299|  2.19k|    Py_ssize_t n = 0;
  300|  3.53M|    for (gc = GC_NEXT(list); gc != list; gc = GC_NEXT(gc)) {
  ------------------
  |  |   28|  2.19k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
                  for (gc = GC_NEXT(list); gc != list; gc = GC_NEXT(gc)) {
  ------------------
  |  |   28|  3.53M|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  |  Branch (300:30): [True: 3.53M, False: 2.19k]
  ------------------
  301|  3.53M|        n++;
  302|  3.53M|    }
  303|  2.19k|    return n;
  304|  2.19k|}
gc.c:get_gc_state:
  106|  21.1M|{
  107|  21.1M|    PyInterpreterState *interp = _PyInterpreterState_GET();
  108|  21.1M|    return &interp->gc;
  109|  21.1M|}
gc.c:gc_collect_main:
 1424|  3.04k|{
 1425|  3.04k|    int i;
 1426|  3.04k|    PyGC_Head *young; /* the generation we are examining */
 1427|  3.04k|    PyGC_Head *old; /* next older generation */
 1428|  3.04k|    PyGC_Head unreachable; /* non-problematic unreachable trash */
 1429|  3.04k|    PyGC_Head finalizers;  /* objects with, & reachable from, __del__ */
 1430|  3.04k|    PyGC_Head *gc;
 1431|  3.04k|    GCState *gcstate = &tstate->interp->gc;
 1432|       |
 1433|       |    // gc_collect_main() must not be called before _PyGC_Init
 1434|       |    // or after _PyGC_Fini()
 1435|  3.04k|    assert(gcstate->garbage != NULL);
 1436|  3.04k|    assert(!_PyErr_Occurred(tstate));
 1437|       |
 1438|  3.04k|    int expected = 0;
 1439|  3.04k|    if (!_Py_atomic_compare_exchange_int(&gcstate->collecting, &expected, 1)) {
  ------------------
  |  Branch (1439:9): [True: 0, False: 3.04k]
  ------------------
 1440|       |        // Don't start a garbage collection if one is already in progress.
 1441|      0|        return 0;
 1442|      0|    }
 1443|  3.04k|    gcstate->frame = tstate->current_frame;
 1444|       |
 1445|  3.04k|    if (generation == GENERATION_AUTO) {
  ------------------
  |  |   56|  3.04k|#define GENERATION_AUTO (-1)
  ------------------
  |  Branch (1445:9): [True: 3.04k, 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|  3.04k|        generation = gc_select_generation(gcstate);
 1449|  3.04k|        if (generation < 0) {
  ------------------
  |  Branch (1449:13): [True: 1.01k, False: 2.02k]
  ------------------
 1450|       |            // No generation needs to be collected.
 1451|  1.01k|            _Py_atomic_store_int(&gcstate->collecting, 0);
 1452|  1.01k|            return 0;
 1453|  1.01k|        }
 1454|  3.04k|    }
 1455|       |
 1456|  3.04k|    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|  2.02k|    GC_STAT_ADD(generation, collections, 1);
  ------------------
  |  |   81|  2.02k|#define GC_STAT_ADD(gen, name, n) ((void)0)
  ------------------
 1468|       |
 1469|  2.02k|    struct gc_generation_stats stats = { 0 };
 1470|  2.02k|    if (reason != _Py_GC_REASON_SHUTDOWN) {
  ------------------
  |  Branch (1470:9): [True: 2.02k, False: 0]
  ------------------
 1471|  2.02k|        invoke_gc_callback(tstate, "start", generation, &stats);
 1472|  2.02k|    }
 1473|       |
 1474|  2.02k|    stats.heap_size = gcstate->heap_size;
 1475|       |    // ignore error: don't interrupt the GC if reading the clock fails
 1476|  2.02k|    (void)PyTime_PerfCounterRaw(&stats.ts_start);
 1477|  2.02k|    if (gcstate->debug & _PyGC_DEBUG_STATS) {
  ------------------
  |  |  125|  2.02k|#define _PyGC_DEBUG_STATS             (1<<0) /* print collection statistics */
  ------------------
  |  Branch (1477:9): [True: 0, False: 2.02k]
  ------------------
 1478|      0|        PySys_WriteStderr("gc: collecting generation %d...\n", generation);
 1479|      0|        show_stats_each_generations(gcstate);
 1480|      0|    }
 1481|       |
 1482|  2.02k|    if (PyDTrace_GC_START_ENABLED()) {
  ------------------
  |  Branch (1482:9): [True: 0, False: 2.02k]
  ------------------
 1483|      0|        PyDTrace_GC_START(generation);
 1484|      0|    }
 1485|       |
 1486|       |    /* update collection and allocation counters */
 1487|  2.02k|    if (generation+1 < NUM_GENERATIONS) {
  ------------------
  |  |  217|  2.02k|#define NUM_GENERATIONS 3
  ------------------
  |  Branch (1487:9): [True: 2.02k, False: 4]
  ------------------
 1488|  2.02k|        gcstate->generations[generation+1].count += 1;
 1489|  2.02k|    }
 1490|  4.22k|    for (i = 0; i <= generation; i++) {
  ------------------
  |  Branch (1490:17): [True: 2.20k, False: 2.02k]
  ------------------
 1491|  2.20k|        gcstate->generations[i].count = 0;
 1492|  2.20k|    }
 1493|       |
 1494|       |    /* merge younger generations with one we are currently collecting */
 1495|  2.20k|    for (i = 0; i < generation; i++) {
  ------------------
  |  Branch (1495:17): [True: 176, False: 2.02k]
  ------------------
 1496|    176|        gc_list_merge(GEN_HEAD(gcstate, i), GEN_HEAD(gcstate, generation));
  ------------------
  |  |  101|    176|#define GEN_HEAD(gcstate, n) (&(gcstate)->generations[n].head)
  ------------------
                      gc_list_merge(GEN_HEAD(gcstate, i), GEN_HEAD(gcstate, generation));
  ------------------
  |  |  101|    176|#define GEN_HEAD(gcstate, n) (&(gcstate)->generations[n].head)
  ------------------
 1497|    176|    }
 1498|       |
 1499|       |    /* handy references */
 1500|  2.02k|    young = GEN_HEAD(gcstate, generation);
  ------------------
  |  |  101|  2.02k|#define GEN_HEAD(gcstate, n) (&(gcstate)->generations[n].head)
  ------------------
 1501|  2.02k|    if (generation < NUM_GENERATIONS-1) {
  ------------------
  |  |  217|  2.02k|#define NUM_GENERATIONS 3
  ------------------
  |  Branch (1501:9): [True: 2.02k, False: 4]
  ------------------
 1502|  2.02k|        old = GEN_HEAD(gcstate, generation+1);
  ------------------
  |  |  101|  2.02k|#define GEN_HEAD(gcstate, n) (&(gcstate)->generations[n].head)
  ------------------
 1503|  2.02k|    }
 1504|      4|    else {
 1505|      4|        old = young;
 1506|      4|    }
 1507|  2.02k|    validate_list(old, collecting_clear_unreachable_clear);
  ------------------
  |  |  387|  2.02k|#define validate_list(x, y) do{}while(0)
  |  |  ------------------
  |  |  |  Branch (387:39): [Folded, False: 2.02k]
  |  |  ------------------
  ------------------
 1508|       |
 1509|  2.02k|    stats.candidates = deduce_unreachable(young, &unreachable);
 1510|       |
 1511|  2.02k|    untrack_tuples(young);
 1512|       |    /* Move reachable objects to next generation. */
 1513|  2.02k|    if (young != old) {
  ------------------
  |  Branch (1513:9): [True: 2.02k, False: 4]
  ------------------
 1514|  2.02k|        if (generation == NUM_GENERATIONS - 2) {
  ------------------
  |  |  217|  2.02k|#define NUM_GENERATIONS 3
  ------------------
  |  Branch (1514:13): [True: 168, False: 1.85k]
  ------------------
 1515|    168|            gcstate->long_lived_pending += gc_list_size(young);
 1516|    168|        }
 1517|  2.02k|        gc_list_merge(young, old);
 1518|  2.02k|    }
 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|  2.02k|    gc_list_init(&finalizers);
 1535|       |    // NEXT_MASK_UNREACHABLE is cleared here.
 1536|       |    // After move_legacy_finalizers(), unreachable is normal list.
 1537|  2.02k|    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|  2.02k|    move_legacy_finalizer_reachable(&finalizers);
 1543|       |
 1544|  2.02k|    validate_list(&finalizers, collecting_clear_unreachable_clear);
  ------------------
  |  |  387|  2.02k|#define validate_list(x, y) do{}while(0)
  |  |  ------------------
  |  |  |  Branch (387:39): [Folded, False: 2.02k]
  |  |  ------------------
  ------------------
 1545|  2.02k|    validate_list(&unreachable, collecting_set_unreachable_clear);
  ------------------
  |  |  387|  2.02k|#define validate_list(x, y) do{}while(0)
  |  |  ------------------
  |  |  |  Branch (387:39): [Folded, False: 2.02k]
  |  |  ------------------
  ------------------
 1546|       |
 1547|       |    /* Print debugging information. */
 1548|  2.02k|    if (gcstate->debug & _PyGC_DEBUG_COLLECTABLE) {
  ------------------
  |  |  126|  2.02k|#define _PyGC_DEBUG_COLLECTABLE       (1<<1) /* print collectable objects */
  ------------------
  |  Branch (1548:9): [True: 0, False: 2.02k]
  ------------------
 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|  2.02k|    stats.collected += handle_weakref_callbacks(&unreachable, old);
 1556|  2.02k|    validate_list(old, collecting_clear_unreachable_clear);
  ------------------
  |  |  387|  2.02k|#define validate_list(x, y) do{}while(0)
  |  |  ------------------
  |  |  |  Branch (387:39): [Folded, False: 2.02k]
  |  |  ------------------
  ------------------
 1557|  2.02k|    validate_list(&unreachable, collecting_set_unreachable_clear);
  ------------------
  |  |  387|  2.02k|#define validate_list(x, y) do{}while(0)
  |  |  ------------------
  |  |  |  Branch (387:39): [Folded, False: 2.02k]
  |  |  ------------------
  ------------------
 1558|       |
 1559|       |    /* Call tp_finalize on objects which have one. */
 1560|  2.02k|    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|  2.02k|    PyGC_Head final_unreachable;
 1566|  2.02k|    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|  2.02k|    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|  2.02k|    stats.collected += gc_list_size(&final_unreachable);
 1581|  2.02k|    delete_garbage(tstate, gcstate, &final_unreachable, old);
 1582|       |
 1583|       |    /* Collect statistics on uncollectable objects found and print
 1584|       |     * debugging information. */
 1585|  2.02k|    Py_ssize_t n = 0;
 1586|  2.02k|    for (gc = GC_NEXT(&finalizers); gc != &finalizers; gc = GC_NEXT(gc)) {
  ------------------
  |  |   28|  2.02k|#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: 2.02k]
  ------------------
 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|  2.02k|    stats.uncollectable = n;
 1592|  2.02k|    (void)PyTime_PerfCounterRaw(&stats.ts_stop);
 1593|  2.02k|    stats.duration = PyTime_AsSecondsDouble(stats.ts_stop - stats.ts_start);
 1594|  2.02k|    if (gcstate->debug & _PyGC_DEBUG_STATS) {
  ------------------
  |  |  125|  2.02k|#define _PyGC_DEBUG_STATS             (1<<0) /* print collection statistics */
  ------------------
  |  Branch (1594:9): [True: 0, False: 2.02k]
  ------------------
 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|  2.02k|    handle_legacy_finalizers(tstate, gcstate, &finalizers, old);
 1606|  2.02k|    validate_list(old, collecting_clear_unreachable_clear);
  ------------------
  |  |  387|  2.02k|#define validate_list(x, y) do{}while(0)
  |  |  ------------------
  |  |  |  Branch (387:39): [Folded, False: 2.02k]
  |  |  ------------------
  ------------------
 1607|       |
 1608|       |    /* Clear free list only during the collection of the highest
 1609|       |     * generation */
 1610|  2.02k|    if (generation == NUM_GENERATIONS-1) {
  ------------------
  |  |  217|  2.02k|#define NUM_GENERATIONS 3
  ------------------
  |  Branch (1610:9): [True: 4, False: 2.02k]
  ------------------
 1611|      4|        _PyGC_ClearAllFreeLists(tstate->interp);
 1612|      4|    }
 1613|       |
 1614|  2.02k|    if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (1614:9): [True: 0, False: 2.02k]
  ------------------
 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|  2.02k|    add_stats(gcstate, generation, &stats);
 1625|  2.02k|    GC_STAT_ADD(generation, objects_collected, stats.collected);
  ------------------
  |  |   81|  2.02k|#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|  2.02k|    if (PyDTrace_GC_DONE_ENABLED()) {
  ------------------
  |  Branch (1638:9): [True: 0, False: 2.02k]
  ------------------
 1639|      0|        PyDTrace_GC_DONE(stats.uncollectable + stats.collected);
 1640|      0|    }
 1641|       |
 1642|  2.02k|    if (reason != _Py_GC_REASON_SHUTDOWN) {
  ------------------
  |  Branch (1642:9): [True: 2.02k, False: 0]
  ------------------
 1643|  2.02k|        invoke_gc_callback(tstate, "stop", generation, &stats);
 1644|  2.02k|    }
 1645|       |
 1646|  2.02k|    assert(!_PyErr_Occurred(tstate));
 1647|       |    gcstate->frame = NULL;
 1648|  2.02k|    _Py_atomic_store_int(&gcstate->collecting, 0);
 1649|  2.02k|    return stats.uncollectable + stats.collected;
 1650|  3.04k|}
gc.c:gc_select_generation:
 1317|  3.04k|{
 1318|  9.96k|    for (int i = NUM_GENERATIONS-1; i >= 0; i--) {
  ------------------
  |  |  217|  3.04k|#define NUM_GENERATIONS 3
  ------------------
  |  Branch (1318:37): [True: 8.94k, False: 1.01k]
  ------------------
 1319|  8.94k|        if (gcstate->generations[i].count > gcstate->generations[i].threshold) {
  ------------------
  |  Branch (1319:13): [True: 3.91k, False: 5.03k]
  ------------------
 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.91k|            if (i == NUM_GENERATIONS - 1
  ------------------
  |  |  217|  3.91k|#define NUM_GENERATIONS 3
  ------------------
  |  Branch (1356:17): [True: 1.89k, False: 2.02k]
  ------------------
 1357|  1.89k|                && gcstate->long_lived_pending < gcstate->long_lived_total / 4)
  ------------------
  |  Branch (1357:20): [True: 1.88k, False: 4]
  ------------------
 1358|  1.88k|            {
 1359|  1.88k|                continue;
 1360|  1.88k|            }
 1361|  2.02k|            return i;
 1362|  3.91k|        }
 1363|  8.94k|    }
 1364|  1.01k|    return -1;
 1365|  3.04k|}
gc.c:invoke_gc_callback:
 1260|  4.04k|{
 1261|  4.04k|    assert(!_PyErr_Occurred(tstate));
 1262|       |
 1263|       |    /* we may get called very early */
 1264|  4.04k|    GCState *gcstate = &tstate->interp->gc;
 1265|  4.04k|    if (gcstate->callbacks == NULL) {
  ------------------
  |  Branch (1265:9): [True: 0, False: 4.04k]
  ------------------
 1266|      0|        return;
 1267|      0|    }
 1268|       |
 1269|       |    /* The local variable cannot be rebound, check it for sanity */
 1270|  4.04k|    assert(PyList_CheckExact(gcstate->callbacks));
 1271|  4.04k|    PyObject *info = NULL;
 1272|  4.04k|    if (PyList_GET_SIZE(gcstate->callbacks) != 0) {
  ------------------
  |  |   38|  4.04k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.04k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1272:9): [True: 2.79k, False: 1.25k]
  ------------------
 1273|  2.79k|        info = Py_BuildValue("{sisnsnsnsd}",
 1274|  2.79k|            "generation", generation,
 1275|  2.79k|            "collected", stats->collected,
 1276|  2.79k|            "uncollectable", stats->uncollectable,
 1277|  2.79k|            "candidates", stats->candidates,
 1278|  2.79k|            "duration", stats->duration);
 1279|  2.79k|        if (info == NULL) {
  ------------------
  |  Branch (1279:13): [True: 0, False: 2.79k]
  ------------------
 1280|      0|            PyErr_FormatUnraisable("Exception ignored on invoking gc callbacks");
 1281|      0|            return;
 1282|      0|        }
 1283|  2.79k|    }
 1284|       |
 1285|  4.04k|    PyObject *phase_obj = PyUnicode_FromString(phase);
 1286|  4.04k|    if (phase_obj == NULL) {
  ------------------
  |  Branch (1286:9): [True: 0, False: 4.04k]
  ------------------
 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|  4.04k|    PyObject *stack[] = {phase_obj, info};
 1293|  6.84k|    for (Py_ssize_t i=0; i<PyList_GET_SIZE(gcstate->callbacks); i++) {
  ------------------
  |  |   38|  6.84k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.84k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.84k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1293:26): [True: 2.79k, False: 4.04k]
  ------------------
 1294|  2.79k|        PyObject *r, *cb = PyList_GET_ITEM(gcstate->callbacks, i);
  ------------------
  |  |   40|  2.79k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|  2.79k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.79k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1295|  2.79k|        Py_INCREF(cb); /* make sure cb doesn't go away */
  ------------------
  |  |  310|  2.79k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.79k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.79k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1296|  2.79k|        r = PyObject_Vectorcall(cb, stack, 2, NULL);
 1297|  2.79k|        if (r == NULL) {
  ------------------
  |  Branch (1297:13): [True: 0, False: 2.79k]
  ------------------
 1298|      0|            PyErr_FormatUnraisable("Exception ignored while "
 1299|      0|                                   "calling GC callback %R", cb);
 1300|      0|        }
 1301|  2.79k|        else {
 1302|  2.79k|            Py_DECREF(r);
  ------------------
  |  |  430|  2.79k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.79k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.79k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1303|  2.79k|        }
 1304|  2.79k|        Py_DECREF(cb);
  ------------------
  |  |  430|  2.79k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.79k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.79k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1305|  2.79k|    }
 1306|  4.04k|    Py_DECREF(phase_obj);
  ------------------
  |  |  430|  4.04k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.04k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1307|  4.04k|    Py_XDECREF(info);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1308|       |    assert(!_PyErr_Occurred(tstate));
 1309|  4.04k|}
gc.c:deduce_unreachable:
 1169|  4.04k|deduce_unreachable(PyGC_Head *base, PyGC_Head *unreachable) {
 1170|  4.04k|    validate_list(base, collecting_clear_unreachable_clear);
  ------------------
  |  |  387|  4.04k|#define validate_list(x, y) do{}while(0)
  |  |  ------------------
  |  |  |  Branch (387:39): [Folded, False: 4.04k]
  |  |  ------------------
  ------------------
 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|  4.04k|    Py_ssize_t candidates = update_refs(base);  // gc_prev is used for gc_refs
 1177|  4.04k|    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|  4.04k|    gc_list_init(unreachable);
 1215|  4.04k|    move_unreachable(base, unreachable);  // gc_prev is pointer again
 1216|  4.04k|    validate_list(base, collecting_clear_unreachable_clear);
  ------------------
  |  |  387|  4.04k|#define validate_list(x, y) do{}while(0)
  |  |  ------------------
  |  |  |  Branch (387:39): [Folded, False: 4.04k]
  |  |  ------------------
  ------------------
 1217|  4.04k|    validate_list(unreachable, collecting_set_unreachable_set);
  ------------------
  |  |  387|  4.04k|#define validate_list(x, y) do{}while(0)
  |  |  ------------------
  |  |  |  Branch (387:39): [Folded, False: 4.04k]
  |  |  ------------------
  ------------------
 1218|  4.04k|    return candidates;
 1219|  4.04k|}
gc.c:update_refs:
  398|  4.04k|{
  399|  4.04k|    PyGC_Head *next;
  400|  4.04k|    PyGC_Head *gc = GC_NEXT(containers);
  ------------------
  |  |   28|  4.04k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  401|  4.04k|    Py_ssize_t candidates = 0;
  402|       |
  403|  7.23M|    while (gc != containers) {
  ------------------
  |  Branch (403:12): [True: 7.23M, False: 4.04k]
  ------------------
  404|  7.23M|        next = GC_NEXT(gc);
  ------------------
  |  |   28|  7.23M|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  405|  7.23M|        PyObject *op = FROM_GC(gc);
  ------------------
  |  |   53|  7.23M|#define FROM_GC(gc) _Py_FROM_GC(gc)
  ------------------
  406|  7.23M|        if (_Py_IsImmortal(op)) {
  ------------------
  |  |  137|  7.23M|#define _Py_IsImmortal(op) _Py_IsImmortal(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.23M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.23M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (137:28): [True: 0, False: 7.23M]
  |  |  ------------------
  ------------------
  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|  7.23M|        gc_reset_refs(gc, Py_REFCNT(op));
  ------------------
  |  |  119|  7.23M|    #  define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  7.23M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.23M|#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|  7.23M|        _PyObject_ASSERT(op, gc_get_refs(gc) != 0);
  ------------------
  |  |  423|  7.23M|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|  7.23M|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|  7.23M|    ((void)0)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  432|  7.23M|        gc = next;
  433|  7.23M|        candidates++;
  434|  7.23M|    }
  435|  4.04k|    return candidates;
  436|  4.04k|}
gc.c:gc_reset_refs:
   85|  7.23M|{
   86|  7.23M|    g->_gc_prev = (g->_gc_prev & _PyGC_PREV_MASK_FINALIZED)
  ------------------
  |  |  117|  7.23M|#define _PyGC_PREV_MASK_FINALIZED  ((uintptr_t)1)
  ------------------
   87|  7.23M|        | PREV_MASK_COLLECTING
  ------------------
  |  |   39|  7.23M|#define PREV_MASK_COLLECTING   _PyGC_PREV_MASK_COLLECTING
  |  |  ------------------
  |  |  |  |  119|  7.23M|#define _PyGC_PREV_MASK_COLLECTING ((uintptr_t)2)
  |  |  ------------------
  ------------------
   88|  7.23M|        | ((uintptr_t)(refs) << _PyGC_PREV_SHIFT);
  ------------------
  |  |  121|  7.23M|#define _PyGC_PREV_SHIFT           2
  ------------------
   89|  7.23M|}
gc.c:subtract_refs:
  491|  4.04k|{
  492|  4.04k|    traverseproc traverse;
  493|  4.04k|    PyGC_Head *gc = GC_NEXT(containers);
  ------------------
  |  |   28|  4.04k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  494|  7.23M|    for (; gc != containers; gc = GC_NEXT(gc)) {
  ------------------
  |  |   28|  7.23M|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  |  Branch (494:12): [True: 7.23M, False: 4.04k]
  ------------------
  495|  7.23M|        PyObject *op = FROM_GC(gc);
  ------------------
  |  |   53|  7.23M|#define FROM_GC(gc) _Py_FROM_GC(gc)
  ------------------
  496|  7.23M|        traverse = Py_TYPE(op)->tp_traverse;
  ------------------
  |  |  213|  7.23M|#  define Py_TYPE(ob) _Py_TYPE_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  497|  7.23M|        (void) traverse(op,
  498|  7.23M|                        visit_decref,
  499|  7.23M|                        op);
  500|  7.23M|    }
  501|  4.04k|}
gc.c:move_unreachable:
  580|  4.04k|{
  581|       |    // previous elem in the young list, used for restore gc_prev.
  582|  4.04k|    PyGC_Head *prev = young;
  583|  4.04k|    PyGC_Head *gc = GC_NEXT(young);
  ------------------
  |  |   28|  4.04k|#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|  7.43M|    while (gc != young) {
  ------------------
  |  Branch (594:12): [True: 7.43M, False: 4.04k]
  ------------------
  595|  7.43M|        if (gc_get_refs(gc)) {
  ------------------
  |  Branch (595:13): [True: 621k, False: 6.81M]
  ------------------
  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|   621k|            PyObject *op = FROM_GC(gc);
  ------------------
  |  |   53|   621k|#define FROM_GC(gc) _Py_FROM_GC(gc)
  ------------------
  605|   621k|            traverseproc traverse = Py_TYPE(op)->tp_traverse;
  ------------------
  |  |  213|   621k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   621k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   621k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  606|   621k|            _PyObject_ASSERT_WITH_MSG(op, gc_get_refs(gc) > 0,
  ------------------
  |  |  421|   621k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  |  410|   621k|    ((void)0)
  |  |  ------------------
  ------------------
  607|   621k|                                      "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|   621k|            (void) traverse(op,
  611|   621k|                    visit_reachable,
  612|   621k|                    (void *)young);
  613|       |            // relink gc_prev to prev element.
  614|   621k|            _PyGCHead_SET_PREV(gc, prev);
  615|       |            // gc is not COLLECTING state after here.
  616|   621k|            gc_clear_collecting(gc);
  617|   621k|            prev = gc;
  618|   621k|        }
  619|  6.81M|        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|  6.81M|            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|  6.81M|            PyGC_Head *last = GC_PREV(unreachable);
  ------------------
  |  |   29|  6.81M|#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|  6.81M|            last->_gc_next = (NEXT_MASK_UNREACHABLE | (uintptr_t)gc);
  ------------------
  |  |   50|  6.81M|#define NEXT_MASK_UNREACHABLE  (1)
  ------------------
  640|  6.81M|            _PyGCHead_SET_PREV(gc, last);
  641|  6.81M|            gc->_gc_next = (NEXT_MASK_UNREACHABLE | (uintptr_t)unreachable);
  ------------------
  |  |   50|  6.81M|#define NEXT_MASK_UNREACHABLE  (1)
  ------------------
  642|  6.81M|            unreachable->_gc_prev = (uintptr_t)gc;
  643|  6.81M|        }
  644|  7.43M|        gc = (PyGC_Head*)prev->_gc_next;
  645|  7.43M|    }
  646|       |    // young->_gc_prev must be last element remained in the list.
  647|  4.04k|    young->_gc_prev = (uintptr_t)prev;
  648|       |    // don't let the pollution of the list head's next pointer leak
  649|  4.04k|    unreachable->_gc_next &= ~NEXT_MASK_UNREACHABLE;
  ------------------
  |  |   50|  4.04k|#define NEXT_MASK_UNREACHABLE  (1)
  ------------------
  650|  4.04k|}
gc.c:gc_get_refs:
   72|  8.86M|{
   73|  8.86M|    return (Py_ssize_t)(g->_gc_prev >> _PyGC_PREV_SHIFT);
  ------------------
  |  |  121|  8.86M|#define _PyGC_PREV_SHIFT           2
  ------------------
   74|  8.86M|}
gc.c:visit_reachable:
  506|  5.12M|{
  507|  5.12M|    PyGC_Head *reachable = arg;
  508|  5.12M|    OBJECT_STAT_INC(object_visits);
  ------------------
  |  |   77|  5.12M|#define OBJECT_STAT_INC(name) ((void)0)
  ------------------
  509|  5.12M|    if (!_PyObject_IS_GC(op)) {
  ------------------
  |  Branch (509:9): [True: 3.69M, False: 1.43M]
  ------------------
  510|  3.69M|        return 0;
  511|  3.69M|    }
  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: 920k, False: 514k]
  ------------------
  521|   920k|        return 0;
  522|   920k|    }
  523|       |    // It would be a logic error elsewhere if the collecting flag were set on
  524|       |    // an untracked object.
  525|   514k|    _PyObject_ASSERT(op, gc->_gc_next != 0);
  ------------------
  |  |  423|   514k|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|   514k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|   514k|    ((void)0)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  526|       |
  527|   514k|    if (gc->_gc_next & NEXT_MASK_UNREACHABLE) {
  ------------------
  |  |   50|   514k|#define NEXT_MASK_UNREACHABLE  (1)
  ------------------
  |  Branch (527:9): [True: 198k, False: 315k]
  ------------------
  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|   198k|        PyGC_Head *prev = GC_PREV(gc);
  ------------------
  |  |   29|   198k|#define GC_PREV _PyGCHead_PREV
  ------------------
  537|   198k|        PyGC_Head *next = (PyGC_Head*)(gc->_gc_next & ~NEXT_MASK_UNREACHABLE);
  ------------------
  |  |   50|   198k|#define NEXT_MASK_UNREACHABLE  (1)
  ------------------
  538|   198k|        _PyObject_ASSERT(FROM_GC(prev),
  ------------------
  |  |  423|   198k|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|   198k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|   198k|    ((void)0)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  539|   198k|                         prev->_gc_next & NEXT_MASK_UNREACHABLE);
  540|   198k|        _PyObject_ASSERT(FROM_GC(next),
  ------------------
  |  |  423|   198k|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|   198k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|   198k|    ((void)0)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  541|   198k|                         next->_gc_next & NEXT_MASK_UNREACHABLE);
  542|   198k|        prev->_gc_next = gc->_gc_next;  // copy NEXT_MASK_UNREACHABLE
  543|   198k|        _PyGCHead_SET_PREV(next, prev);
  544|       |
  545|   198k|        gc_list_append(gc, reachable);
  546|   198k|        gc_set_refs(gc, 1);
  547|   198k|    }
  548|   315k|    else if (gc_refs == 0) {
  ------------------
  |  Branch (548:14): [True: 278k, False: 37.8k]
  ------------------
  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|   278k|        gc_set_refs(gc, 1);
  555|   278k|    }
  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|  37.8k|    else {
  561|  37.8k|        _PyObject_ASSERT_WITH_MSG(op, gc_refs > 0, "refcount is too small");
  ------------------
  |  |  421|  37.8k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  |  410|  37.8k|    ((void)0)
  |  |  ------------------
  ------------------
  562|  37.8k|    }
  563|   514k|    return 0;
  564|  1.43M|}
gc.c:gc_list_append:
  227|   198k|{
  228|   198k|    PyGC_Head *last = (PyGC_Head *)list->_gc_prev;
  229|       |
  230|       |    // last <-> node
  231|   198k|    _PyGCHead_SET_PREV(node, last);
  232|   198k|    _PyGCHead_SET_NEXT(last, node);
  233|       |
  234|       |    // node <-> list
  235|   198k|    _PyGCHead_SET_NEXT(node, list);
  236|   198k|    list->_gc_prev = (uintptr_t)node;
  237|   198k|}
gc.c:gc_set_refs:
   78|   476k|{
   79|   476k|    g->_gc_prev = (g->_gc_prev & ~_PyGC_PREV_MASK)
  ------------------
  |  |  122|   476k|#define _PyGC_PREV_MASK            (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
  |  |  ------------------
  |  |  |  |  121|   476k|#define _PyGC_PREV_SHIFT           2
  |  |  ------------------
  ------------------
   80|   476k|        | ((uintptr_t)(refs) << _PyGC_PREV_SHIFT);
  ------------------
  |  |  121|   476k|#define _PyGC_PREV_SHIFT           2
  ------------------
   81|   476k|}
gc.c:gc_clear_collecting:
   66|  5.37M|{
   67|  5.37M|    g->_gc_prev &= ~PREV_MASK_COLLECTING;
  ------------------
  |  |   39|  5.37M|#define PREV_MASK_COLLECTING   _PyGC_PREV_MASK_COLLECTING
  |  |  ------------------
  |  |  |  |  119|  5.37M|#define _PyGC_PREV_MASK_COLLECTING ((uintptr_t)2)
  |  |  ------------------
  ------------------
   68|  5.37M|}
gc.c:untrack_tuples:
  666|  2.02k|{
  667|  2.02k|    PyGC_Head *gc = GC_NEXT(head);
  ------------------
  |  |   28|  2.02k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  668|   623k|    while (gc != head) {
  ------------------
  |  Branch (668:12): [True: 621k, False: 2.02k]
  ------------------
  669|   621k|        PyObject *op = FROM_GC(gc);
  ------------------
  |  |   53|   621k|#define FROM_GC(gc) _Py_FROM_GC(gc)
  ------------------
  670|   621k|        PyGC_Head *next = GC_NEXT(gc);
  ------------------
  |  |   28|   621k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  671|   621k|        if (PyTuple_CheckExact(op)) {
  ------------------
  |  |   28|   621k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|   621k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   621k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   621k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 132k, False: 488k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  672|   132k|            _PyTuple_MaybeUntrack(op);
  673|   132k|        }
  674|   621k|        gc = next;
  675|   621k|    }
  676|  2.02k|}
gc.c:move_legacy_finalizers:
  692|  2.02k|{
  693|  2.02k|    PyGC_Head *gc, *next;
  694|  2.02k|    _PyObject_ASSERT(
  ------------------
  |  |  423|  2.02k|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|  2.02k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|  2.02k|    ((void)0)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  695|  2.02k|        FROM_GC(unreachable),
  696|  2.02k|        (unreachable->_gc_next & NEXT_MASK_UNREACHABLE) == 0);
  697|       |
  698|       |    /* March over unreachable.  Move objects with finalizers into
  699|       |     * `finalizers`.
  700|       |     */
  701|  3.30M|    for (gc = GC_NEXT(unreachable); gc != unreachable; gc = next) {
  ------------------
  |  |   28|  2.02k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  |  Branch (701:37): [True: 3.30M, False: 2.02k]
  ------------------
  702|  3.30M|        PyObject *op = FROM_GC(gc);
  ------------------
  |  |   53|  3.30M|#define FROM_GC(gc) _Py_FROM_GC(gc)
  ------------------
  703|       |
  704|  3.30M|        _PyObject_ASSERT(op, gc->_gc_next & NEXT_MASK_UNREACHABLE);
  ------------------
  |  |  423|  3.30M|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|  3.30M|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|  3.30M|    ((void)0)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  705|  3.30M|        gc->_gc_next &= ~NEXT_MASK_UNREACHABLE;
  ------------------
  |  |   50|  3.30M|#define NEXT_MASK_UNREACHABLE  (1)
  ------------------
  706|  3.30M|        next = (PyGC_Head*)gc->_gc_next;
  707|       |
  708|  3.30M|        if (has_legacy_finalizer(op)) {
  ------------------
  |  Branch (708:13): [True: 0, False: 3.30M]
  ------------------
  709|      0|            gc_clear_collecting(gc);
  710|      0|            gc_list_move(gc, finalizers);
  711|      0|        }
  712|  3.30M|    }
  713|  2.02k|}
gc.c:has_legacy_finalizer:
  681|  3.30M|{
  682|  3.30M|    return Py_TYPE(op)->tp_del != NULL;
  ------------------
  |  |  213|  3.30M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.30M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.30M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  683|  3.30M|}
gc.c:gc_list_move:
  258|  4.76M|{
  259|       |    /* Unlink from current list. */
  260|  4.76M|    PyGC_Head *from_prev = GC_PREV(node);
  ------------------
  |  |   29|  4.76M|#define GC_PREV _PyGCHead_PREV
  ------------------
  261|  4.76M|    PyGC_Head *from_next = GC_NEXT(node);
  ------------------
  |  |   28|  4.76M|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  262|  4.76M|    _PyGCHead_SET_NEXT(from_prev, from_next);
  263|  4.76M|    _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|  4.76M|    PyGC_Head *to_prev = (PyGC_Head*)list->_gc_prev;
  268|  4.76M|    _PyGCHead_SET_PREV(node, to_prev);
  269|  4.76M|    _PyGCHead_SET_NEXT(to_prev, node);
  270|  4.76M|    list->_gc_prev = (uintptr_t)node;
  271|  4.76M|    _PyGCHead_SET_NEXT(node, list);
  272|  4.76M|}
gc.c:move_legacy_finalizer_reachable:
  756|  2.02k|{
  757|  2.02k|    traverseproc traverse;
  758|  2.02k|    PyGC_Head *gc = GC_NEXT(finalizers);
  ------------------
  |  |   28|  2.02k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  759|  2.02k|    for (; gc != finalizers; gc = GC_NEXT(gc)) {
  ------------------
  |  |   28|      0|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  |  Branch (759:12): [True: 0, False: 2.02k]
  ------------------
  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|  2.02k|}
gc.c:handle_weakref_callbacks:
  809|  2.02k|{
  810|  2.02k|    PyGC_Head *gc;
  811|  2.02k|    PyGC_Head wrcb_to_call;     /* weakrefs with callbacks to call */
  812|  2.02k|    PyGC_Head *next;
  813|  2.02k|    int num_freed = 0;
  814|       |
  815|  2.02k|    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.30M|    for (gc = GC_NEXT(unreachable); gc != unreachable; gc = next) {
  ------------------
  |  |   28|  2.02k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  |  Branch (821:37): [True: 3.30M, False: 2.02k]
  ------------------
  822|  3.30M|        PyWeakReference **wrlist;
  823|       |
  824|  3.30M|        PyObject *op = FROM_GC(gc);
  ------------------
  |  |   53|  3.30M|#define FROM_GC(gc) _Py_FROM_GC(gc)
  ------------------
  825|  3.30M|        next = GC_NEXT(gc);
  ------------------
  |  |   28|  3.30M|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  826|       |
  827|  3.30M|        if (! _PyType_SUPPORTS_WEAKREFS(Py_TYPE(op))) {
  ------------------
  |  |  213|  3.30M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.30M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.30M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (827:13): [True: 2.45M, False: 846k]
  ------------------
  828|  2.45M|            continue;
  829|  2.45M|        }
  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|   846k|        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|   846k|        PyWeakReference *next_wr;
  842|   859k|        for (PyWeakReference *wr = *wrlist; wr != NULL; wr = next_wr) {
  ------------------
  |  Branch (842:45): [True: 13.4k, False: 846k]
  ------------------
  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|  13.4k|            next_wr = wr->wr_next;
  847|       |
  848|  13.4k|            if (wr->wr_callback == NULL) {
  ------------------
  |  Branch (848:17): [True: 104, False: 13.3k]
  ------------------
  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|  13.3k|            _PyObject_ASSERT((PyObject *)wr, wr->wr_object == op);
  ------------------
  |  |  423|  13.3k|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|  13.3k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|  13.3k|    ((void)0)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  858|  13.3k|            _PyWeakref_ClearRef(wr);
  859|  13.3k|            _PyObject_ASSERT((PyObject *)wr, wr->wr_object == Py_None);
  ------------------
  |  |  423|  13.3k|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|  13.3k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|  13.3k|    ((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|  13.3k|            if (gc_is_collecting(AS_GC((PyObject *)wr))) {
  ------------------
  |  |   52|  13.3k|#define AS_GC(op) _Py_AS_GC(op)
  ------------------
  |  Branch (889:17): [True: 0, False: 13.3k]
  ------------------
  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|  13.3k|            Py_INCREF(wr);
  ------------------
  |  |  310|  13.3k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  13.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  897|       |
  898|       |            /* Move wr to wrcb_to_call, for the next pass. */
  899|  13.3k|            PyGC_Head *wrasgc = AS_GC((PyObject *)wr);
  ------------------
  |  |   52|  13.3k|#define AS_GC(op) _Py_AS_GC(op)
  ------------------
  900|       |            // wrasgc is reachable, but next isn't, so they can't be the same
  901|  13.3k|            _PyObject_ASSERT((PyObject *)wr, wrasgc != next);
  ------------------
  |  |  423|  13.3k|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|  13.3k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|  13.3k|    ((void)0)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  902|  13.3k|            gc_list_move(wrasgc, &wrcb_to_call);
  903|  13.3k|        }
  904|   846k|    }
  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|  15.3k|    while (! gc_list_is_empty(&wrcb_to_call)) {
  ------------------
  |  Branch (909:12): [True: 13.3k, False: 2.02k]
  ------------------
  910|  13.3k|        PyObject *temp;
  911|  13.3k|        PyObject *callback;
  912|       |
  913|  13.3k|        gc = (PyGC_Head*)wrcb_to_call._gc_next;
  914|  13.3k|        PyObject *op = FROM_GC(gc);
  ------------------
  |  |   53|  13.3k|#define FROM_GC(gc) _Py_FROM_GC(gc)
  ------------------
  915|  13.3k|        _PyObject_ASSERT(op, PyWeakref_Check(op));
  ------------------
  |  |  423|  13.3k|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|  13.3k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|  13.3k|    ((void)0)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  916|  13.3k|        PyWeakReference *wr = (PyWeakReference *)op;
  917|  13.3k|        callback = wr->wr_callback;
  918|  13.3k|        _PyObject_ASSERT(op, callback != NULL);
  ------------------
  |  |  423|  13.3k|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|  13.3k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|  13.3k|    ((void)0)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  919|       |
  920|       |        /* copy-paste of weakrefobject.c's handle_callback() */
  921|  13.3k|        temp = PyObject_CallOneArg(callback, (PyObject *)wr);
  922|  13.3k|        if (temp == NULL) {
  ------------------
  |  Branch (922:13): [True: 0, False: 13.3k]
  ------------------
  923|      0|            PyErr_FormatUnraisable("Exception ignored on "
  924|      0|                                   "calling weakref callback %R", callback);
  925|      0|        }
  926|  13.3k|        else {
  927|  13.3k|            Py_DECREF(temp);
  ------------------
  |  |  430|  13.3k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  13.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  928|  13.3k|        }
  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|  13.3k|        Py_DECREF(op);
  ------------------
  |  |  430|  13.3k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  13.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  13.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  942|  13.3k|        if (wrcb_to_call._gc_next == (uintptr_t)gc) {
  ------------------
  |  Branch (942:13): [True: 0, False: 13.3k]
  ------------------
  943|       |            /* object is still alive -- move it */
  944|      0|            gc_list_move(gc, old);
  945|      0|        }
  946|  13.3k|        else {
  947|  13.3k|            ++num_freed;
  948|  13.3k|        }
  949|  13.3k|    }
  950|       |
  951|  2.02k|    return num_freed;
  952|  2.02k|}
gc.c:finalize_garbage:
 1047|  2.02k|{
 1048|  2.02k|    destructor finalize;
 1049|  2.02k|    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|  2.02k|    gc_list_init(&seen);
 1060|       |
 1061|  3.30M|    while (!gc_list_is_empty(collectable)) {
  ------------------
  |  Branch (1061:12): [True: 3.30M, False: 2.02k]
  ------------------
 1062|  3.30M|        PyGC_Head *gc = GC_NEXT(collectable);
  ------------------
  |  |   28|  3.30M|#define GC_NEXT _PyGCHead_NEXT
  ------------------
 1063|  3.30M|        PyObject *op = FROM_GC(gc);
  ------------------
  |  |   53|  3.30M|#define FROM_GC(gc) _Py_FROM_GC(gc)
  ------------------
 1064|  3.30M|        gc_list_move(gc, &seen);
 1065|  3.30M|        if (!_PyGC_FINALIZED(op) &&
  ------------------
  |  Branch (1065:13): [True: 3.30M, False: 0]
  ------------------
 1066|  3.30M|            (finalize = Py_TYPE(op)->tp_finalize) != NULL)
  ------------------
  |  |  213|  3.30M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.30M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.30M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1066:13): [True: 1, False: 3.30M]
  ------------------
 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.30M|    }
 1075|  2.02k|    gc_list_merge(&seen, collectable);
 1076|  2.02k|}
gc.c:handle_resurrected_objects:
 1237|  2.02k|{
 1238|       |    // Remove the PREV_MASK_COLLECTING from unreachable
 1239|       |    // to prepare it for a new call to 'deduce_unreachable'
 1240|  2.02k|    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|  2.02k|    PyGC_Head* resurrected = unreachable;
 1246|  2.02k|    deduce_unreachable(resurrected, still_unreachable);
 1247|  2.02k|    clear_unreachable_mask(still_unreachable);
 1248|       |
 1249|       |    // Move the resurrected objects to the old generation for future collection.
 1250|  2.02k|    gc_list_merge(resurrected, old_generation);
 1251|  2.02k|}
gc.c:gc_list_clear_collecting:
  309|  2.02k|{
  310|  2.02k|    PyGC_Head *gc;
  311|  3.30M|    for (gc = GC_NEXT(collectable); gc != collectable; gc = GC_NEXT(gc)) {
  ------------------
  |  |   28|  2.02k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
                  for (gc = GC_NEXT(collectable); gc != collectable; gc = GC_NEXT(gc)) {
  ------------------
  |  |   28|  3.30M|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  |  Branch (311:37): [True: 3.30M, False: 2.02k]
  ------------------
  312|  3.30M|        gc_clear_collecting(gc);
  313|  3.30M|    }
  314|  2.02k|}
gc.c:clear_unreachable_mask:
  717|  2.02k|{
  718|       |    /* Check that the list head does not have the unreachable bit set */
  719|  2.02k|    _PyObject_ASSERT(
  ------------------
  |  |  423|  2.02k|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|  2.02k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|  2.02k|    ((void)0)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  720|  2.02k|        FROM_GC(unreachable),
  721|  2.02k|        ((uintptr_t)unreachable & NEXT_MASK_UNREACHABLE) == 0);
  722|  2.02k|    _PyObject_ASSERT(
  ------------------
  |  |  423|  2.02k|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|  2.02k|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|  2.02k|    ((void)0)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  723|  2.02k|        FROM_GC(unreachable),
  724|  2.02k|        (unreachable->_gc_next & NEXT_MASK_UNREACHABLE) == 0);
  725|       |
  726|  2.02k|    PyGC_Head *gc, *next;
  727|  3.30M|    for (gc = GC_NEXT(unreachable); gc != unreachable; gc = next) {
  ------------------
  |  |   28|  2.02k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  |  Branch (727:37): [True: 3.30M, False: 2.02k]
  ------------------
  728|  3.30M|        _PyObject_ASSERT((PyObject*)FROM_GC(gc), gc->_gc_next & NEXT_MASK_UNREACHABLE);
  ------------------
  |  |  423|  3.30M|    _PyObject_ASSERT_WITH_MSG((obj), expr, NULL)
  |  |  ------------------
  |  |  |  |  421|  3.30M|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  |  |  ------------------
  |  |  |  |  |  |  410|  3.30M|    ((void)0)
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  729|  3.30M|        gc->_gc_next &= ~NEXT_MASK_UNREACHABLE;
  ------------------
  |  |   50|  3.30M|#define NEXT_MASK_UNREACHABLE  (1)
  ------------------
  730|  3.30M|        next = (PyGC_Head*)gc->_gc_next;
  731|  3.30M|    }
  732|  2.02k|    validate_list(unreachable, collecting_set_unreachable_clear);
  ------------------
  |  |  387|  2.02k|#define validate_list(x, y) do{}while(0)
  |  |  ------------------
  |  |  |  Branch (387:39): [Folded, False: 2.02k]
  |  |  ------------------
  ------------------
  733|  2.02k|}
gc.c:clear_weakrefs:
  960|  2.02k|{
  961|  2.02k|    PyGC_Head *gc;
  962|  2.02k|    PyGC_Head *next;
  963|       |
  964|  3.30M|    for (gc = GC_NEXT(unreachable); gc != unreachable; gc = next) {
  ------------------
  |  |   28|  2.02k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  |  Branch (964:37): [True: 3.30M, False: 2.02k]
  ------------------
  965|  3.30M|        PyWeakReference **wrlist;
  966|       |
  967|  3.30M|        PyObject *op = FROM_GC(gc);
  ------------------
  |  |   53|  3.30M|#define FROM_GC(gc) _Py_FROM_GC(gc)
  ------------------
  968|  3.30M|        next = GC_NEXT(gc);
  ------------------
  |  |   28|  3.30M|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  969|       |
  970|  3.30M|        if (PyWeakref_Check(op)) {
  ------------------
  |  |   23|  3.30M|        (PyWeakref_CheckRef(op) || PyWeakref_CheckProxy(op))
  |  |  ------------------
  |  |  |  |   15|  3.30M|#define PyWeakref_CheckRef(op) PyObject_TypeCheck((op), &_PyWeakref_RefType)
  |  |  |  |  ------------------
  |  |  |  |  |  |  378|  6.61M|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  3.30M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  3.30M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (378:40): [True: 4, False: 3.30M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (PyWeakref_CheckRef(op) || PyWeakref_CheckProxy(op))
  |  |  ------------------
  |  |  |  |   19|  3.30M|        (Py_IS_TYPE((op), &_PyWeakref_ProxyType) \
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|  6.61M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  3.30M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  3.30M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 0, False: 3.30M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |   20|  3.30M|         || Py_IS_TYPE((op), &_PyWeakref_CallableProxyType))
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|  3.30M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  3.30M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  3.30M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 0, False: 3.30M]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  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.30M|        if (! _PyType_SUPPORTS_WEAKREFS(Py_TYPE(op))) {
  ------------------
  |  |  213|  3.30M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  3.30M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.30M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (978:13): [True: 2.45M, False: 846k]
  ------------------
  979|  2.45M|            continue;
  980|  2.45M|        }
  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|   846k|        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|   846k|        for (PyWeakReference *wr = *wrlist; wr != NULL; wr = *wrlist) {
  ------------------
  |  Branch (992:45): [True: 104, False: 846k]
  ------------------
  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|   846k|    }
 1002|  2.02k|}
gc.c:delete_garbage:
 1085|  2.02k|{
 1086|  2.02k|    assert(!_PyErr_Occurred(tstate));
 1087|       |
 1088|  1.62M|    while (!gc_list_is_empty(collectable)) {
  ------------------
  |  Branch (1088:12): [True: 1.62M, False: 2.02k]
  ------------------
 1089|  1.62M|        PyGC_Head *gc = GC_NEXT(collectable);
  ------------------
  |  |   28|  1.62M|#define GC_NEXT _PyGCHead_NEXT
  ------------------
 1090|  1.62M|        PyObject *op = FROM_GC(gc);
  ------------------
  |  |   53|  1.62M|#define FROM_GC(gc) _Py_FROM_GC(gc)
  ------------------
 1091|       |
 1092|  1.62M|        _PyObject_ASSERT_WITH_MSG(op, Py_REFCNT(op) > 0,
  ------------------
  |  |  421|  1.62M|    _PyObject_ASSERT_FROM((obj), expr, (msg), __FILE__, __LINE__, __func__)
  |  |  ------------------
  |  |  |  |  410|  1.62M|    ((void)0)
  |  |  ------------------
  ------------------
 1093|  1.62M|                                  "refcount is too small");
 1094|       |
 1095|  1.62M|        if (gcstate->debug & _PyGC_DEBUG_SAVEALL) {
  ------------------
  |  |  128|  1.62M|#define _PyGC_DEBUG_SAVEALL           (1<<5) /* save all garbage in gc.garbage */
  ------------------
  |  Branch (1095:13): [True: 0, False: 1.62M]
  ------------------
 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.62M|        else {
 1102|  1.62M|            inquiry clear;
 1103|  1.62M|            if ((clear = Py_TYPE(op)->tp_clear) != NULL) {
  ------------------
  |  |  213|  1.62M|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.62M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.62M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1103:17): [True: 1.56M, False: 62.6k]
  ------------------
 1104|  1.56M|                Py_INCREF(op);
  ------------------
  |  |  310|  1.56M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.56M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.56M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1105|  1.56M|                (void) clear(op);
 1106|  1.56M|                if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (1106:21): [True: 0, False: 1.56M]
  ------------------
 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.56M|                Py_DECREF(op);
  ------------------
  |  |  430|  1.56M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.56M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.56M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1111|  1.56M|            }
 1112|  1.62M|        }
 1113|  1.62M|        if (GC_NEXT(collectable) == gc) {
  ------------------
  |  |   28|  1.62M|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  |  Branch (1113:13): [True: 1.44M, False: 181k]
  ------------------
 1114|       |            /* object is still alive, move it, it may die later */
 1115|  1.44M|            gc_clear_collecting(gc);
 1116|  1.44M|            gc_list_move(gc, old);
 1117|  1.44M|        }
 1118|  1.62M|    }
 1119|  2.02k|}
gc.c:handle_legacy_finalizers:
 1022|  2.02k|{
 1023|  2.02k|    assert(!_PyErr_Occurred(tstate));
 1024|  2.02k|    assert(gcstate->garbage != NULL);
 1025|       |
 1026|  2.02k|    PyGC_Head *gc = GC_NEXT(finalizers);
  ------------------
  |  |   28|  2.02k|#define GC_NEXT _PyGCHead_NEXT
  ------------------
 1027|  2.02k|    for (; gc != finalizers; gc = GC_NEXT(gc)) {
  ------------------
  |  |   28|      0|#define GC_NEXT _PyGCHead_NEXT
  ------------------
  |  Branch (1027:12): [True: 0, False: 2.02k]
  ------------------
 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|  2.02k|    gc_list_merge(finalizers, old);
 1039|  2.02k|}
gc.c:add_stats:
 1401|  2.02k|{
 1402|  2.02k|    struct gc_generation_stats *prev_stats = gc_get_prev_stats(gcstate, gen);
 1403|  2.02k|    struct gc_generation_stats *cur_stats = gc_get_stats(gcstate, gen);
 1404|       |
 1405|  2.02k|    memcpy(cur_stats, prev_stats, sizeof(struct gc_generation_stats));
 1406|       |
 1407|  2.02k|    cur_stats->ts_start = stats->ts_start;
 1408|  2.02k|    cur_stats->collections += 1;
 1409|  2.02k|    cur_stats->collected += stats->collected;
 1410|  2.02k|    cur_stats->uncollectable += stats->uncollectable;
 1411|  2.02k|    cur_stats->candidates += stats->candidates;
 1412|       |
 1413|  2.02k|    cur_stats->duration += stats->duration;
 1414|  2.02k|    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|  2.02k|    cur_stats->ts_stop = stats->ts_stop;
 1418|  2.02k|}
gc.c:gc_get_prev_stats:
 1386|  2.02k|{
 1387|  2.02k|    if (gen == 0) {
  ------------------
  |  Branch (1387:9): [True: 1.85k, False: 172]
  ------------------
 1388|  1.85k|        struct gc_young_stats_buffer *buffer = &gcstate->generation_stats->young;
 1389|  1.85k|        struct gc_generation_stats *stats = &buffer->items[buffer->index];
 1390|  1.85k|        return stats;
 1391|  1.85k|    }
 1392|    172|    else {
 1393|    172|        struct gc_old_stats_buffer *buffer = &gcstate->generation_stats->old[gen - 1];
 1394|    172|        struct gc_generation_stats *stats = &buffer->items[buffer->index];
 1395|    172|        return stats;
 1396|    172|    }
 1397|  2.02k|}
gc.c:gc_get_stats:
 1369|  2.02k|{
 1370|  2.02k|    if (gen == 0) {
  ------------------
  |  Branch (1370:9): [True: 1.85k, False: 172]
  ------------------
 1371|  1.85k|        struct gc_young_stats_buffer *buffer = &gcstate->generation_stats->young;
 1372|  1.85k|        buffer->index = (buffer->index + 1) % GC_YOUNG_STATS_SIZE;
  ------------------
  |  |  202|  1.85k|#define GC_YOUNG_STATS_SIZE 11
  ------------------
 1373|  1.85k|        struct gc_generation_stats *stats = &buffer->items[buffer->index];
 1374|  1.85k|        return stats;
 1375|  1.85k|    }
 1376|    172|    else {
 1377|    172|        struct gc_old_stats_buffer *buffer = &gcstate->generation_stats->old[gen - 1];
 1378|    172|        buffer->index = (buffer->index + 1) % GC_OLD_STATS_SIZE;
  ------------------
  |  |  203|    172|#define GC_OLD_STATS_SIZE 3
  ------------------
 1379|    172|        struct gc_generation_stats *stats = &buffer->items[buffer->index];
 1380|    172|        return stats;
 1381|    172|    }
 1382|  2.02k|}
gc.c:gc_alloc:
 2005|  18.3M|{
 2006|  18.3M|    PyThreadState *tstate = _PyThreadState_GET();
 2007|  18.3M|    if (basicsize > PY_SSIZE_T_MAX - presize) {
  ------------------
  |  |  137|  18.3M|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (2007:9): [True: 0, False: 18.3M]
  ------------------
 2008|      0|        return _PyErr_NoMemory(tstate);
 2009|      0|    }
 2010|  18.3M|    size_t size = presize + basicsize;
 2011|  18.3M|    char *mem = _PyObject_MallocWithType(tp, size);
 2012|  18.3M|    if (mem == NULL) {
  ------------------
  |  Branch (2012:9): [True: 0, False: 18.3M]
  ------------------
 2013|      0|        return _PyErr_NoMemory(tstate);
 2014|      0|    }
 2015|  18.3M|    ((PyObject **)mem)[0] = NULL;
 2016|       |    ((PyObject **)mem)[1] = NULL;
 2017|  18.3M|    PyObject *op = (PyObject *)(mem + presize);
 2018|  18.3M|    _PyObject_GC_Link(op);
 2019|  18.3M|    return op;
 2020|  18.3M|}

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

PyArg_Parse:
   79|   748k|{
   80|   748k|    int retval;
   81|   748k|    va_list va;
   82|       |
   83|   748k|    va_start(va, format);
   84|   748k|    retval = vgetargs1(args, format, &va, FLAG_COMPAT);
  ------------------
  |  |   24|   748k|#define FLAG_COMPAT 1
  ------------------
   85|       |    va_end(va);
   86|   748k|    return retval;
   87|   748k|}
PyArg_ParseTuple:
  104|  63.2k|{
  105|  63.2k|    int retval;
  106|  63.2k|    va_list va;
  107|       |
  108|  63.2k|    va_start(va, format);
  109|  63.2k|    retval = vgetargs1(args, format, &va, 0);
  110|       |    va_end(va);
  111|  63.2k|    return retval;
  112|  63.2k|}
PyArg_ParseTupleAndKeywords:
 1426|  1.05M|{
 1427|  1.05M|    int retval;
 1428|  1.05M|    va_list va;
 1429|       |
 1430|  1.05M|    if ((args == NULL || !PyTuple_Check(args)) ||
  ------------------
  |  |   27|  1.05M|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  1.05M|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1430:10): [True: 0, False: 1.05M]
  |  Branch (1430:26): [True: 0, False: 1.05M]
  ------------------
 1431|  1.05M|        (keywords != NULL && !PyDict_Check(keywords)) ||
  ------------------
  |  |   18|  12.0k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  12.0k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (1431:10): [True: 12.0k, False: 1.04M]
  |  Branch (1431:30): [True: 0, False: 12.0k]
  ------------------
 1432|  1.05M|        format == NULL ||
  ------------------
  |  Branch (1432:9): [True: 0, False: 1.05M]
  ------------------
 1433|  1.05M|        kwlist == NULL)
  ------------------
  |  Branch (1433:9): [True: 0, False: 1.05M]
  ------------------
 1434|      0|    {
 1435|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 1436|      0|        return 0;
 1437|      0|    }
 1438|       |
 1439|  1.05M|    va_start(va, kwlist);
 1440|  1.05M|    retval = vgetargskeywords(args, keywords, format, kwlist, &va, 0);
 1441|       |    va_end(va);
 1442|  1.05M|    return retval;
 1443|  1.05M|}
_PyArg_ParseStackAndKeywords:
 1551|  28.2k|{
 1552|  28.2k|    int retval;
 1553|  28.2k|    va_list va;
 1554|       |
 1555|  28.2k|    va_start(va, parser);
 1556|  28.2k|    retval = vgetargskeywordsfast_impl(args, nargs, NULL, kwnames, parser, &va, 0);
 1557|       |    va_end(va);
 1558|  28.2k|    return retval;
 1559|  28.2k|}
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|  97.6k|{
 2525|  97.6k|    PyObject *kwtuple;
 2526|  97.6k|    PyObject *keyword;
 2527|  97.6k|    int i, posonly, minposonly, maxargs;
 2528|  97.6k|    int reqlimit = minkw ? maxpos + minkw : minpos;
  ------------------
  |  Branch (2528:20): [True: 10, False: 97.6k]
  ------------------
 2529|  97.6k|    Py_ssize_t nkwargs;
 2530|  97.6k|    PyObject * const *kwstack = NULL;
 2531|       |
 2532|  97.6k|    assert(kwargs == NULL || PyDict_Check(kwargs));
 2533|  97.6k|    assert(kwargs == NULL || kwnames == NULL);
 2534|       |
 2535|  97.6k|    if (parser == NULL) {
  ------------------
  |  Branch (2535:9): [True: 0, False: 97.6k]
  ------------------
 2536|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2537|      0|        return NULL;
 2538|      0|    }
 2539|       |
 2540|  97.6k|    if (kwnames != NULL && !PyTuple_Check(kwnames)) {
  ------------------
  |  |   27|  85.2k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  85.2k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2540:9): [True: 85.2k, False: 12.4k]
  |  Branch (2540:28): [True: 0, False: 85.2k]
  ------------------
 2541|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2542|      0|        return NULL;
 2543|      0|    }
 2544|       |
 2545|  97.6k|    if (args == NULL && nargs == 0) {
  ------------------
  |  Branch (2545:9): [True: 622, False: 97.0k]
  |  Branch (2545:25): [True: 622, False: 0]
  ------------------
 2546|    622|        args = buf;
 2547|    622|    }
 2548|       |
 2549|  97.6k|    if (parser_init(parser) < 0) {
  ------------------
  |  Branch (2549:9): [True: 0, False: 97.6k]
  ------------------
 2550|      0|        return NULL;
 2551|      0|    }
 2552|       |
 2553|  97.6k|    kwtuple = parser->kwtuple;
 2554|  97.6k|    posonly = parser->pos;
 2555|  97.6k|    minposonly = Py_MIN(posonly, minpos);
  ------------------
  |  |  112|  97.6k|#define Py_MIN(x, y) (((x) > (y)) ? (y) : (x))
  |  |  ------------------
  |  |  |  Branch (112:23): [True: 0, False: 97.6k]
  |  |  ------------------
  ------------------
 2556|  97.6k|    maxargs = posonly + (int)PyTuple_GET_SIZE(kwtuple);
  ------------------
  |  |   27|  97.6k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  97.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  97.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2557|       |
 2558|  97.6k|    if (kwargs != NULL) {
  ------------------
  |  Branch (2558:9): [True: 11.8k, False: 85.8k]
  ------------------
 2559|  11.8k|        nkwargs = PyDict_GET_SIZE(kwargs);
  ------------------
  |  |   63|  11.8k|#define PyDict_GET_SIZE(op) PyDict_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2560|  11.8k|    }
 2561|  85.8k|    else if (kwnames != NULL) {
  ------------------
  |  Branch (2561:14): [True: 85.2k, False: 622]
  ------------------
 2562|  85.2k|        nkwargs = PyTuple_GET_SIZE(kwnames);
  ------------------
  |  |   27|  85.2k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  85.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  85.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2563|  85.2k|        kwstack = args + nargs;
 2564|  85.2k|    }
 2565|    622|    else {
 2566|    622|        nkwargs = 0;
 2567|    622|    }
 2568|  97.6k|    if (nkwargs == 0 && minkw == 0 && minpos <= nargs && (varpos || nargs <= maxpos)) {
  ------------------
  |  Branch (2568:9): [True: 622, False: 97.0k]
  |  Branch (2568:25): [True: 622, False: 0]
  |  Branch (2568:39): [True: 622, False: 0]
  |  Branch (2568:59): [True: 0, False: 622]
  |  Branch (2568:69): [True: 622, False: 0]
  ------------------
 2569|       |        /* Fast path. */
 2570|    622|        return args;
 2571|    622|    }
 2572|  97.0k|    if (!varpos && nargs + nkwargs > maxargs) {
  ------------------
  |  Branch (2572:9): [True: 97.0k, False: 18]
  |  Branch (2572:20): [True: 0, False: 97.0k]
  ------------------
 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|  97.0k|    if (!varpos && nargs > maxpos) {
  ------------------
  |  Branch (2585:9): [True: 97.0k, False: 18]
  |  Branch (2585:20): [True: 0, False: 97.0k]
  ------------------
 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|  97.0k|    if (nargs < minposonly) {
  ------------------
  |  Branch (2604:9): [True: 0, False: 97.0k]
  ------------------
 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|  97.0k|    if (varpos) {
  ------------------
  |  Branch (2617:9): [True: 18, False: 97.0k]
  ------------------
 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|   285k|    for (i = 0; i < nargs; i++) {
  ------------------
  |  Branch (2621:17): [True: 188k, False: 97.0k]
  ------------------
 2622|   188k|        buf[i] = args[i];
 2623|   188k|    }
 2624|       |
 2625|       |    /* copy keyword args using kwtuple to drive process */
 2626|   350k|    for (i = Py_MAX((int)nargs, posonly); i < maxargs; i++) {
  ------------------
  |  |  115|  97.0k|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 69.0k, False: 27.9k]
  |  |  ------------------
  ------------------
  |  Branch (2626:43): [True: 273k, False: 77.1k]
  ------------------
 2627|   273k|        PyObject *current_arg;
 2628|   273k|        if (nkwargs) {
  ------------------
  |  Branch (2628:13): [True: 253k, False: 19.9k]
  ------------------
 2629|   253k|            keyword = PyTuple_GET_ITEM(kwtuple, i - posonly);
  ------------------
  |  |   29|   253k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|   253k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   253k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2630|   253k|            if (kwargs != NULL) {
  ------------------
  |  Branch (2630:17): [True: 23.6k, False: 230k]
  ------------------
 2631|  23.6k|                if (PyDict_GetItemRef(kwargs, keyword, &current_arg) < 0) {
  ------------------
  |  Branch (2631:21): [True: 0, False: 23.6k]
  ------------------
 2632|      0|                    return NULL;
 2633|      0|                }
 2634|  23.6k|            }
 2635|   230k|            else {
 2636|   230k|                current_arg = find_keyword(kwnames, kwstack, keyword);
 2637|   230k|            }
 2638|   253k|        }
 2639|  19.9k|        else if (i >= reqlimit) {
  ------------------
  |  Branch (2639:18): [True: 19.9k, False: 0]
  ------------------
 2640|  19.9k|            break;
 2641|  19.9k|        }
 2642|      0|        else {
 2643|      0|            current_arg = NULL;
 2644|      0|        }
 2645|       |
 2646|   253k|        buf[i] = current_arg;
 2647|       |
 2648|   253k|        if (current_arg) {
  ------------------
  |  Branch (2648:13): [True: 155k, False: 98.7k]
  ------------------
 2649|   155k|            Py_DECREF(current_arg);
  ------------------
  |  |  430|   155k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   155k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   155k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2650|   155k|            --nkwargs;
 2651|   155k|        }
 2652|  98.7k|        else if (i < minpos || (maxpos <= i && i < reqlimit)) {
  ------------------
  |  Branch (2652:18): [True: 0, False: 98.7k]
  |  Branch (2652:33): [True: 43.0k, False: 55.6k]
  |  Branch (2652:48): [True: 0, False: 43.0k]
  ------------------
 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|   253k|    }
 2663|       |
 2664|  97.0k|    if (nkwargs > 0) {
  ------------------
  |  Branch (2664:9): [True: 0, False: 97.0k]
  ------------------
 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|  97.0k|    return buf;
 2695|  97.0k|}
_PyArg_CheckPositional:
 2838|  2.81M|{
 2839|  2.81M|    assert(min >= 0);
 2840|  2.81M|    assert(min <= max);
 2841|       |
 2842|  2.81M|    if (nargs < min) {
  ------------------
  |  Branch (2842:9): [True: 0, False: 2.81M]
  ------------------
 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.81M|    if (nargs == 0) {
  ------------------
  |  Branch (2857:9): [True: 10.6k, False: 2.80M]
  ------------------
 2858|  10.6k|        return 1;
 2859|  10.6k|    }
 2860|       |
 2861|  2.80M|    if (nargs > max) {
  ------------------
  |  Branch (2861:9): [True: 0, False: 2.80M]
  ------------------
 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.80M|    return 1;
 2877|  2.80M|}
PyArg_UnpackTuple:
 2899|   802k|{
 2900|   802k|    PyObject **stack;
 2901|   802k|    Py_ssize_t nargs;
 2902|   802k|    int retval;
 2903|   802k|    va_list vargs;
 2904|       |
 2905|   802k|    if (!PyTuple_Check(args)) {
  ------------------
  |  |   27|   802k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   802k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2905:9): [True: 0, False: 802k]
  ------------------
 2906|      0|        PyErr_SetString(PyExc_SystemError,
 2907|      0|            "PyArg_UnpackTuple() argument list is not a tuple");
 2908|      0|        return 0;
 2909|      0|    }
 2910|   802k|    stack = _PyTuple_ITEMS(args);
  ------------------
  |  |   26|   802k|#define _PyTuple_ITEMS(op) _Py_RVALUE(_PyTuple_CAST(op)->ob_item)
  |  |  ------------------
  |  |  |  |  277|   802k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2911|   802k|    nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|   802k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   802k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   802k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2912|       |
 2913|   802k|    va_start(vargs, max);
 2914|   802k|    retval = unpack_stack(stack, nargs, name, min, max, vargs);
 2915|       |    va_end(vargs);
 2916|   802k|    return retval;
 2917|   802k|}
_PyArg_UnpackStack:
 2922|  2.01M|{
 2923|  2.01M|    int retval;
 2924|  2.01M|    va_list vargs;
 2925|       |
 2926|  2.01M|    va_start(vargs, max);
 2927|  2.01M|    retval = unpack_stack(args, nargs, name, min, max, vargs);
 2928|       |    va_end(vargs);
 2929|  2.01M|    return retval;
 2930|  2.01M|}
_PyArg_NoPositional:
 2963|  11.1k|{
 2964|  11.1k|    if (args == NULL)
  ------------------
  |  Branch (2964:9): [True: 0, False: 11.1k]
  ------------------
 2965|      0|        return 1;
 2966|  11.1k|    if (!PyTuple_CheckExact(args)) {
  ------------------
  |  |   28|  11.1k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  11.1k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  11.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  11.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2966:9): [True: 0, False: 11.1k]
  ------------------
 2967|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2968|      0|        return 0;
 2969|      0|    }
 2970|  11.1k|    if (PyTuple_GET_SIZE(args) == 0)
  ------------------
  |  |   27|  11.1k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  11.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  11.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2970:9): [True: 11.1k, False: 0]
  ------------------
 2971|  11.1k|        return 1;
 2972|       |
 2973|      0|    PyErr_Format(PyExc_TypeError, "%.200s() takes no positional arguments",
 2974|      0|                    funcname);
 2975|      0|    return 0;
 2976|  11.1k|}
getargs.c:vgetargs1_impl:
  258|   811k|{
  259|   811k|    char msgbuf[256];
  260|   811k|    int levels[32];
  261|   811k|    const char *fname = NULL;
  262|   811k|    const char *message = NULL;
  263|   811k|    int min = -1;
  264|   811k|    int max = 0;
  265|   811k|    int level = 0;
  266|   811k|    int endfmt = 0;
  267|   811k|    const char *formatsave = format;
  268|   811k|    Py_ssize_t i;
  269|   811k|    const char *msg;
  270|   811k|    int compat = flags & FLAG_COMPAT;
  ------------------
  |  |   24|   811k|#define FLAG_COMPAT 1
  ------------------
  271|   811k|    freelistentry_t static_entries[STATIC_FREELIST_ENTRIES];
  272|   811k|    freelist_t freelist;
  273|       |
  274|   811k|    assert(nargs == 0 || stack != NULL);
  275|       |
  276|   811k|    freelist.entries = static_entries;
  277|   811k|    freelist.first_available = 0;
  278|   811k|    freelist.entries_malloced = 0;
  279|       |
  280|   811k|    flags = flags & ~FLAG_COMPAT;
  ------------------
  |  |   24|   811k|#define FLAG_COMPAT 1
  ------------------
  281|       |
  282|  2.76M|    while (endfmt == 0) {
  ------------------
  |  Branch (282:12): [True: 1.94M, False: 811k]
  ------------------
  283|  1.94M|        int c = *format++;
  284|  1.94M|        switch (c) {
  285|      0|        case '(':
  ------------------
  |  Branch (285:9): [True: 0, False: 1.94M]
  ------------------
  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: 1.94M]
  ------------------
  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|  57.0k|        case '\0':
  ------------------
  |  Branch (299:9): [True: 57.0k, False: 1.89M]
  ------------------
  300|  57.0k|            endfmt = 1;
  301|  57.0k|            break;
  302|  6.04k|        case ':':
  ------------------
  |  Branch (302:9): [True: 6.04k, False: 1.94M]
  ------------------
  303|  6.04k|            fname = format;
  304|  6.04k|            endfmt = 1;
  305|  6.04k|            break;
  306|   748k|        case ';':
  ------------------
  |  Branch (306:9): [True: 748k, False: 1.19M]
  ------------------
  307|   748k|            message = format;
  308|   748k|            endfmt = 1;
  309|   748k|            break;
  310|  30.7k|        case '|':
  ------------------
  |  Branch (310:9): [True: 30.7k, False: 1.91M]
  ------------------
  311|  30.7k|            if (level == 0)
  ------------------
  |  Branch (311:17): [True: 30.7k, False: 0]
  ------------------
  312|  30.7k|                min = max;
  313|  30.7k|            break;
  314|  1.10M|        default:
  ------------------
  |  Branch (314:9): [True: 1.10M, False: 842k]
  ------------------
  315|  1.10M|            if (level == 0) {
  ------------------
  |  Branch (315:17): [True: 1.10M, False: 0]
  ------------------
  316|  1.10M|                if (Py_ISALPHA(c))
  ------------------
  |  |   23|  1.10M|#define Py_ISALPHA(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALPHA)
  |  |  ------------------
  |  |  |  |  138|  1.10M|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISALPHA(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALPHA)
  |  |  ------------------
  |  |  |  |   10|  1.10M|#define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  ------------------
  |  |  |  |  |  |    8|  1.10M|#define PY_CTF_LOWER  0x01
  |  |  |  |  ------------------
  |  |  |  |               #define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  ------------------
  |  |  |  |  |  |    9|  1.10M|#define PY_CTF_UPPER  0x02
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (23:24): [True: 1.10M, False: 2.46k]
  |  |  ------------------
  ------------------
  317|  1.10M|                    if (c != 'e') /* skip encoded */
  ------------------
  |  Branch (317:25): [True: 1.10M, False: 0]
  ------------------
  318|  1.10M|                        max++;
  319|  1.10M|            }
  320|  1.10M|            break;
  321|  1.94M|        }
  322|  1.94M|    }
  323|       |
  324|   811k|    if (level != 0)
  ------------------
  |  Branch (324:9): [True: 0, False: 811k]
  ------------------
  325|      0|        Py_FatalError(/* '(' */ "missing ')' in getargs format");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
  326|       |
  327|   811k|    if (min < 0)
  ------------------
  |  Branch (327:9): [True: 781k, False: 30.7k]
  ------------------
  328|   781k|        min = max;
  329|       |
  330|   811k|    format = formatsave;
  331|       |
  332|   811k|    if (max > STATIC_FREELIST_ENTRIES) {
  ------------------
  |  |   44|   811k|#define STATIC_FREELIST_ENTRIES 8
  ------------------
  |  Branch (332:9): [True: 96, False: 811k]
  ------------------
  333|     96|        freelist.entries = PyMem_NEW(freelistentry_t, max);
  ------------------
  |  |   82|     96|#define PyMem_NEW(type, n)        PyMem_New(type, (n))
  |  |  ------------------
  |  |  |  |   64|     96|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|     96|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (64:5): [True: 0, False: 96]
  |  |  |  |  ------------------
  |  |  |  |   65|     96|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  |  |  ------------------
  ------------------
  334|     96|        if (freelist.entries == NULL) {
  ------------------
  |  Branch (334:13): [True: 0, False: 96]
  ------------------
  335|      0|            PyErr_NoMemory();
  336|      0|            return 0;
  337|      0|        }
  338|     96|        freelist.entries_malloced = 1;
  339|     96|    }
  340|       |
  341|   811k|    if (compat) {
  ------------------
  |  Branch (341:9): [True: 748k, False: 63.2k]
  ------------------
  342|   748k|        if (max == 0) {
  ------------------
  |  Branch (342:13): [True: 0, False: 748k]
  ------------------
  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|   748k|        else if (min == 1 && max == 1) {
  ------------------
  |  Branch (351:18): [True: 748k, False: 0]
  |  Branch (351:30): [True: 748k, False: 0]
  ------------------
  352|   748k|            if (compat_args == NULL) {
  ------------------
  |  Branch (352:17): [True: 0, False: 748k]
  ------------------
  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|   748k|            msg = convertitem(compat_args, &format, p_va, flags, levels,
  360|   748k|                              msgbuf, sizeof(msgbuf), &freelist);
  361|   748k|            if (msg == NULL)
  ------------------
  |  Branch (361:17): [True: 748k, False: 0]
  ------------------
  362|   748k|                return cleanreturn(1, &freelist);
  363|      0|            seterror(levels[0], msg, levels+1, fname, message);
  364|      0|            return cleanreturn(0, &freelist);
  365|   748k|        }
  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|   748k|    }
  372|       |
  373|  63.2k|    if (nargs < min || max < nargs) {
  ------------------
  |  Branch (373:9): [True: 0, False: 63.2k]
  |  Branch (373:24): [True: 0, False: 63.2k]
  ------------------
  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|   391k|    for (i = 0; i < nargs; i++) {
  ------------------
  |  Branch (389:17): [True: 327k, False: 63.2k]
  ------------------
  390|   327k|        if (*format == '|')
  ------------------
  |  Branch (390:13): [True: 30.7k, False: 297k]
  ------------------
  391|  30.7k|            format++;
  392|   327k|        msg = convertitem(stack[i], &format, p_va,
  393|   327k|                          flags, levels, msgbuf,
  394|   327k|                          sizeof(msgbuf), &freelist);
  395|   327k|        if (msg) {
  ------------------
  |  Branch (395:13): [True: 0, False: 327k]
  ------------------
  396|      0|            seterror(i+1, msg, levels, fname, message);
  397|      0|            return cleanreturn(0, &freelist);
  398|      0|        }
  399|   327k|    }
  400|       |
  401|  63.2k|    if (*format != '\0' && !Py_ISALPHA(*format) &&
  ------------------
  |  |   23|  96.5k|#define Py_ISALPHA(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALPHA)
  |  |  ------------------
  |  |  |  |  138|  33.2k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISALPHA(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALPHA)
  |  |  ------------------
  |  |  |  |   10|  33.2k|#define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  ------------------
  |  |  |  |  |  |    8|  33.2k|#define PY_CTF_LOWER  0x01
  |  |  |  |  ------------------
  |  |  |  |               #define PY_CTF_ALPHA  (PY_CTF_LOWER|PY_CTF_UPPER)
  |  |  |  |  ------------------
  |  |  |  |  |  |    9|  33.2k|#define PY_CTF_UPPER  0x02
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (401:9): [True: 33.2k, False: 29.9k]
  |  Branch (401:28): [True: 6.14k, False: 27.1k]
  ------------------
  402|  6.14k|        *format != '(' &&
  ------------------
  |  Branch (402:9): [True: 6.14k, False: 0]
  ------------------
  403|  6.14k|        *format != '|' && *format != ':' && *format != ';') {
  ------------------
  |  Branch (403:9): [True: 6.14k, False: 0]
  |  Branch (403:27): [True: 96, False: 6.04k]
  |  Branch (403:45): [True: 0, False: 96]
  ------------------
  404|      0|        PyErr_Format(PyExc_SystemError,
  405|      0|                     "bad format string: %.200s", formatsave);
  406|      0|        return cleanreturn(0, &freelist);
  407|      0|    }
  408|       |
  409|  63.2k|    return cleanreturn(1, &freelist);
  410|  63.2k|}
getargs.c:cleanreturn:
  237|  1.89M|{
  238|  1.89M|    int index;
  239|       |
  240|  1.89M|    if (retval == 0) {
  ------------------
  |  Branch (240:9): [True: 0, False: 1.89M]
  ------------------
  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|  1.89M|    if (freelist->entries_malloced)
  ------------------
  |  Branch (249:9): [True: 5.48k, False: 1.89M]
  ------------------
  250|  5.48k|        PyMem_Free(freelist->entries);
  251|  1.89M|    return retval;
  252|  1.89M|}
getargs.c:convertitem:
  634|  1.13M|{
  635|  1.13M|    const char *msg;
  636|  1.13M|    const char *format = *p_format;
  637|       |
  638|  1.13M|    if (*format == '(' /* ')' */) {
  ------------------
  |  Branch (638:9): [True: 0, False: 1.13M]
  ------------------
  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.13M|    else {
  646|  1.13M|        msg = convertsimple(arg, &format, p_va, flags,
  647|  1.13M|                            msgbuf, bufsize, freelist);
  648|  1.13M|        if (msg != NULL)
  ------------------
  |  Branch (648:13): [True: 0, False: 1.13M]
  ------------------
  649|      0|            levels[0] = 0;
  650|  1.13M|    }
  651|  1.13M|    if (msg == NULL)
  ------------------
  |  Branch (651:9): [True: 1.13M, False: 0]
  ------------------
  652|  1.13M|        *p_format = format;
  653|  1.13M|    return msg;
  654|  1.13M|}
getargs.c:convertsimple:
  714|  1.13M|{
  715|  1.13M|#define RETURN_ERR_OCCURRED return msgbuf
  716|       |
  717|  1.13M|    const char *format = *p_format;
  718|  1.13M|    char c = *format++;
  719|  1.13M|    const char *sarg;
  720|       |
  721|  1.13M|    switch (c) {
  722|       |
  723|   740k|    case 'b': { /* unsigned byte -- very short int */
  ------------------
  |  Branch (723:5): [True: 740k, False: 390k]
  ------------------
  724|   740k|        unsigned char *p = va_arg(*p_va, unsigned char *);
  725|   740k|        long ival = PyLong_AsLong(arg);
  726|   740k|        if (ival == -1 && PyErr_Occurred())
  ------------------
  |  Branch (726:13): [True: 0, False: 740k]
  |  Branch (726:27): [True: 0, False: 0]
  ------------------
  727|      0|            RETURN_ERR_OCCURRED;
  ------------------
  |  |  715|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
  728|   740k|        else if (ival < 0) {
  ------------------
  |  Branch (728:18): [True: 0, False: 740k]
  ------------------
  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|   740k|        else if (ival > UCHAR_MAX) {
  ------------------
  |  Branch (733:18): [True: 0, False: 740k]
  ------------------
  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|   740k|        else
  739|   740k|            *p = (unsigned char) ival;
  740|   740k|        break;
  741|   740k|    }
  742|       |
  743|   740k|    case 'B': {/* byte sized bitfield - both signed and unsigned
  ------------------
  |  Branch (743:5): [True: 0, False: 1.13M]
  ------------------
  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.13M]
  ------------------
  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.13M]
  ------------------
  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|  11.7k|    case 'i': {/* signed int */
  ------------------
  |  Branch (803:5): [True: 11.7k, False: 1.11M]
  ------------------
  804|  11.7k|        int *p = va_arg(*p_va, int *);
  805|  11.7k|        long ival = PyLong_AsLong(arg);
  806|  11.7k|        if (ival == -1 && PyErr_Occurred())
  ------------------
  |  Branch (806:13): [True: 96, False: 11.6k]
  |  Branch (806:27): [True: 0, False: 96]
  ------------------
  807|      0|            RETURN_ERR_OCCURRED;
  ------------------
  |  |  715|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
  808|  11.7k|        else if (ival > INT_MAX) {
  ------------------
  |  Branch (808:18): [True: 0, False: 11.7k]
  ------------------
  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|  11.7k|        else if (ival < INT_MIN) {
  ------------------
  |  Branch (813:18): [True: 0, False: 11.7k]
  ------------------
  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|  11.7k|        else
  819|  11.7k|            *p = ival;
  820|  11.7k|        break;
  821|  11.7k|    }
  822|       |
  823|  11.7k|    case 'I': { /* int sized bitfield, both signed and
  ------------------
  |  Branch (823:5): [True: 0, False: 1.13M]
  ------------------
  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|  59.8k|    case 'n': /* Py_ssize_t */
  ------------------
  |  Branch (843:5): [True: 59.8k, False: 1.07M]
  ------------------
  844|  59.8k|    {
  845|  59.8k|        PyObject *iobj;
  846|  59.8k|        Py_ssize_t *p = va_arg(*p_va, Py_ssize_t *);
  847|  59.8k|        Py_ssize_t ival = -1;
  848|  59.8k|        iobj = _PyNumber_Index(arg);
  849|  59.8k|        if (iobj != NULL) {
  ------------------
  |  Branch (849:13): [True: 59.8k, False: 0]
  ------------------
  850|  59.8k|            ival = PyLong_AsSsize_t(iobj);
  851|  59.8k|            Py_DECREF(iobj);
  ------------------
  |  |  430|  59.8k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  59.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  59.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  852|  59.8k|        }
  853|  59.8k|        if (ival == -1 && PyErr_Occurred())
  ------------------
  |  Branch (853:13): [True: 0, False: 59.8k]
  |  Branch (853:27): [True: 0, False: 0]
  ------------------
  854|      0|            RETURN_ERR_OCCURRED;
  ------------------
  |  |  715|      0|#define RETURN_ERR_OCCURRED return msgbuf
  ------------------
  855|  59.8k|        *p = ival;
  856|  59.8k|        break;
  857|  59.8k|    }
  858|      0|    case 'l': {/* long int */
  ------------------
  |  Branch (858:5): [True: 0, False: 1.13M]
  ------------------
  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.13M]
  ------------------
  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.13M]
  ------------------
  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.13M]
  ------------------
  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.13M]
  ------------------
  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.13M]
  ------------------
  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.13M]
  ------------------
  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.13M]
  ------------------
  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.13M]
  ------------------
  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|    529|    case 'p': {/* boolean *p*redicate */
  ------------------
  |  Branch (996:5): [True: 529, False: 1.13M]
  ------------------
  997|    529|        int *p = va_arg(*p_va, int *);
  998|    529|        int val = PyObject_IsTrue(arg);
  999|    529|        if (val > 0)
  ------------------
  |  Branch (999:13): [True: 443, False: 86]
  ------------------
 1000|    443|            *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|    529|        break;
 1006|    529|    }
 1007|       |
 1008|       |    /* XXX WAAAAH!  's', 'y', 'z', 'u', 'Z', 'e', 'w' codes all
 1009|       |       need to be cleaned up! */
 1010|       |
 1011|    529|    case 'y': {/* any bytes-like object */
  ------------------
  |  Branch (1011:5): [True: 0, False: 1.13M]
  ------------------
 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.49k|    case 's': /* text string or bytes-like object */
  ------------------
  |  Branch (1042:5): [True: 3.49k, False: 1.12M]
  ------------------
 1043|  3.49k|    case 'z': /* text string, bytes-like object or None */
  ------------------
  |  Branch (1043:5): [True: 0, False: 1.13M]
  ------------------
 1044|  3.49k|    {
 1045|  3.49k|        if (*format == '*') {
  ------------------
  |  Branch (1045:13): [True: 0, False: 3.49k]
  ------------------
 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.49k|        } else if (*format == '#') { /* a string or read-only bytes-like object */
  ------------------
  |  Branch (1070:20): [True: 0, False: 3.49k]
  ------------------
 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.49k|        } else {
 1098|       |            /* "s" or "z" */
 1099|  3.49k|            const char **p = va_arg(*p_va, const char **);
 1100|  3.49k|            Py_ssize_t len;
 1101|  3.49k|            sarg = NULL;
 1102|       |
 1103|  3.49k|            if (c == 'z' && arg == Py_None)
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1103:17): [True: 0, False: 3.49k]
  |  Branch (1103:29): [True: 0, False: 0]
  ------------------
 1104|      0|                *p = NULL;
 1105|  3.49k|            else if (PyUnicode_Check(arg)) {
  ------------------
  |  |  103|  3.49k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  3.49k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 3.49k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1106|  3.49k|                sarg = PyUnicode_AsUTF8AndSize(arg, &len);
 1107|  3.49k|                if (sarg == NULL)
  ------------------
  |  Branch (1107:21): [True: 0, False: 3.49k]
  ------------------
 1108|      0|                    return converterr(CONV_UNICODE,
  ------------------
  |  |  700|      0|#define CONV_UNICODE "(unicode conversion error)"
  ------------------
 1109|      0|                                      arg, msgbuf, bufsize);
 1110|  3.49k|                if (strlen(sarg) != (size_t)len) {
  ------------------
  |  Branch (1110:21): [True: 0, False: 3.49k]
  ------------------
 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.49k|                *p = sarg;
 1115|  3.49k|            }
 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.49k|        }
 1120|  3.49k|        break;
 1121|  3.49k|    }
 1122|       |
 1123|  3.49k|    case 'e': {/* encoded string */
  ------------------
  |  Branch (1123:5): [True: 0, False: 1.13M]
  ------------------
 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.13M]
  ------------------
 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.13M]
  ------------------
 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|  92.3k|    case 'U': { /* PyUnicode object */
  ------------------
  |  Branch (1301:5): [True: 92.3k, False: 1.03M]
  ------------------
 1302|  92.3k|        PyObject **p = va_arg(*p_va, PyObject **);
 1303|  92.3k|        if (PyUnicode_Check(arg)) {
  ------------------
  |  |  103|  92.3k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  92.3k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 92.3k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1304|  92.3k|            *p = arg;
 1305|  92.3k|        }
 1306|      0|        else
 1307|      0|            return converterr("str", arg, msgbuf, bufsize);
 1308|  92.3k|        break;
 1309|  92.3k|    }
 1310|       |
 1311|   222k|    case 'O': { /* object */
  ------------------
  |  Branch (1311:5): [True: 222k, False: 908k]
  ------------------
 1312|   222k|        PyTypeObject *type;
 1313|   222k|        PyObject **p;
 1314|   222k|        if (*format == '!') {
  ------------------
  |  Branch (1314:13): [True: 2.46k, False: 219k]
  ------------------
 1315|  2.46k|            type = va_arg(*p_va, PyTypeObject*);
 1316|  2.46k|            p = va_arg(*p_va, PyObject **);
 1317|  2.46k|            format++;
 1318|  2.46k|            if (PyType_IsSubtype(Py_TYPE(arg), type))
  ------------------
  |  |  213|  2.46k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.46k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.46k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1318:17): [True: 2.46k, False: 0]
  ------------------
 1319|  2.46k|                *p = arg;
 1320|      0|            else
 1321|      0|                return converterr(type->tp_name, arg, msgbuf, bufsize);
 1322|       |
 1323|  2.46k|        }
 1324|   219k|        else if (*format == '&') {
  ------------------
  |  Branch (1324:18): [True: 10.7k, False: 209k]
  ------------------
 1325|  10.7k|            typedef int (*converter)(PyObject *, void *);
 1326|  10.7k|            converter convert = va_arg(*p_va, converter);
 1327|  10.7k|            void *addr = va_arg(*p_va, void *);
 1328|  10.7k|            int res;
 1329|  10.7k|            format++;
 1330|  10.7k|            if (! (res = (*convert)(arg, addr)))
  ------------------
  |  Branch (1330:17): [True: 0, False: 10.7k]
  ------------------
 1331|      0|                return converterr("(unspecified)",
 1332|      0|                                  arg, msgbuf, bufsize);
 1333|  10.7k|            if (res == Py_CLEANUP_SUPPORTED &&
  ------------------
  |  |   57|  21.5k|#define Py_CLEANUP_SUPPORTED 0x20000
  ------------------
  |  Branch (1333:17): [True: 0, False: 10.7k]
  ------------------
 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|  10.7k|        }
 1338|   209k|        else {
 1339|   209k|            p = va_arg(*p_va, PyObject **);
 1340|   209k|            *p = arg;
 1341|   209k|        }
 1342|   222k|        break;
 1343|   222k|    }
 1344|       |
 1345|       |
 1346|   222k|    case 'w': { /* "w*": memory buffer, read-write access */
  ------------------
  |  Branch (1346:5): [True: 0, False: 1.13M]
  ------------------
 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.13M]
  ------------------
 1373|      0|        return converterr("(impossible<bad format char>)", arg, msgbuf, bufsize);
 1374|       |
 1375|  1.13M|    }
 1376|       |
 1377|  1.13M|    *p_format = format;
 1378|  1.13M|    return NULL;
 1379|       |
 1380|  1.13M|#undef RETURN_ERR_OCCURRED
 1381|  1.13M|}
getargs.c:vgetargs1:
  414|   811k|{
  415|   811k|    PyObject **stack;
  416|   811k|    Py_ssize_t nargs;
  417|       |
  418|   811k|    if (!(flags & FLAG_COMPAT)) {
  ------------------
  |  |   24|   811k|#define FLAG_COMPAT 1
  ------------------
  |  Branch (418:9): [True: 63.2k, False: 748k]
  ------------------
  419|  63.2k|        assert(args != NULL);
  420|       |
  421|  63.2k|        if (!PyTuple_Check(args)) {
  ------------------
  |  |   27|  63.2k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  63.2k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (421:13): [True: 0, False: 63.2k]
  ------------------
  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|  63.2k|        stack = _PyTuple_ITEMS(args);
  ------------------
  |  |   26|  63.2k|#define _PyTuple_ITEMS(op) _Py_RVALUE(_PyTuple_CAST(op)->ob_item)
  |  |  ------------------
  |  |  |  |  277|  63.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  428|  63.2k|        nargs = PyTuple_GET_SIZE(args);
  ------------------
  |  |   27|  63.2k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  63.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  63.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  429|  63.2k|    }
  430|   748k|    else {
  431|   748k|        stack = NULL;
  432|   748k|        nargs = 0;
  433|   748k|    }
  434|       |
  435|   811k|    return vgetargs1_impl(args, stack, nargs, format, p_va, flags);
  436|   811k|}
getargs.c:vgetargskeywords_impl:
 1677|  1.05M|{
 1678|  1.05M|    char msgbuf[512];
 1679|  1.05M|    int levels[32];
 1680|  1.05M|    const char *fname, *msg, *custom_msg;
 1681|  1.05M|    int min = INT_MAX;
 1682|  1.05M|    int max = INT_MAX;
 1683|  1.05M|    int i, pos, len;
 1684|  1.05M|    int skip = 0;
 1685|  1.05M|    Py_ssize_t nkwargs;
 1686|  1.05M|    freelistentry_t static_entries[STATIC_FREELIST_ENTRIES];
 1687|  1.05M|    freelist_t freelist;
 1688|  1.05M|    PyObject * const *kwstack = NULL;
 1689|       |
 1690|  1.05M|    freelist.entries = static_entries;
 1691|  1.05M|    freelist.first_available = 0;
 1692|  1.05M|    freelist.entries_malloced = 0;
 1693|       |
 1694|  1.05M|    assert(args != NULL || nargs == 0);
 1695|  1.05M|    assert(kwargs == NULL || PyDict_Check(kwargs));
 1696|  1.05M|    assert(kwnames == NULL || PyTuple_Check(kwnames));
 1697|  1.05M|    assert(format != NULL);
 1698|  1.05M|    assert(kwlist != NULL);
 1699|  1.05M|    assert(p_va != NULL);
 1700|       |
 1701|       |    /* grab the function name or custom error msg first (mutually exclusive) */
 1702|  1.05M|    fname = strchr(format, ':');
 1703|  1.05M|    if (fname) {
  ------------------
  |  Branch (1703:9): [True: 1.05M, False: 5.38k]
  ------------------
 1704|  1.05M|        fname++;
 1705|  1.05M|        custom_msg = NULL;
 1706|  1.05M|    }
 1707|  5.38k|    else {
 1708|  5.38k|        custom_msg = strchr(format,';');
 1709|  5.38k|        if (custom_msg)
  ------------------
  |  Branch (1709:13): [True: 0, False: 5.38k]
  ------------------
 1710|      0|            custom_msg++;
 1711|  5.38k|    }
 1712|       |
 1713|       |    /* scan kwlist and count the number of positional-only parameters */
 1714|  1.05M|    for (pos = 0; kwlist[pos] && !*kwlist[pos]; pos++) {
  ------------------
  |  Branch (1714:19): [True: 1.05M, False: 0]
  |  Branch (1714:34): [True: 6, False: 1.05M]
  ------------------
 1715|      6|    }
 1716|       |    /* scan kwlist and get greatest possible nbr of args */
 1717|  3.23M|    for (len = pos; kwlist[len]; len++) {
  ------------------
  |  Branch (1717:21): [True: 2.17M, False: 1.05M]
  ------------------
 1718|  2.17M|        if (!*kwlist[len]) {
  ------------------
  |  Branch (1718:13): [True: 0, False: 2.17M]
  ------------------
 1719|      0|            PyErr_SetString(PyExc_SystemError,
 1720|      0|                            "Empty keyword parameter name");
 1721|      0|            return cleanreturn(0, &freelist);
 1722|      0|        }
 1723|  2.17M|    }
 1724|       |
 1725|  1.05M|    if (len > STATIC_FREELIST_ENTRIES) {
  ------------------
  |  |   44|  1.05M|#define STATIC_FREELIST_ENTRIES 8
  ------------------
  |  Branch (1725:9): [True: 5.38k, False: 1.05M]
  ------------------
 1726|  5.38k|        freelist.entries = PyMem_NEW(freelistentry_t, len);
  ------------------
  |  |   82|  5.38k|#define PyMem_NEW(type, n)        PyMem_New(type, (n))
  |  |  ------------------
  |  |  |  |   64|  5.38k|  ( ((size_t)(n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL :      \
  |  |  |  |  ------------------
  |  |  |  |  |  |  137|  5.38k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (64:5): [True: 0, False: 5.38k]
  |  |  |  |  ------------------
  |  |  |  |   65|  5.38k|        ( (type *) PyMem_Malloc((n) * sizeof(type)) ) )
  |  |  ------------------
  ------------------
 1727|  5.38k|        if (freelist.entries == NULL) {
  ------------------
  |  Branch (1727:13): [True: 0, False: 5.38k]
  ------------------
 1728|      0|            PyErr_NoMemory();
 1729|      0|            return 0;
 1730|      0|        }
 1731|  5.38k|        freelist.entries_malloced = 1;
 1732|  5.38k|    }
 1733|       |
 1734|  1.05M|    if (kwargs != NULL) {
  ------------------
  |  Branch (1734:9): [True: 12.0k, False: 1.04M]
  ------------------
 1735|  12.0k|        nkwargs = PyDict_GET_SIZE(kwargs);
  ------------------
  |  |   63|  12.0k|#define PyDict_GET_SIZE(op) PyDict_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1736|  12.0k|    }
 1737|  1.04M|    else if (kwnames != NULL) {
  ------------------
  |  Branch (1737:14): [True: 0, False: 1.04M]
  ------------------
 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.04M|    else {
 1742|  1.04M|        nkwargs = 0;
 1743|  1.04M|    }
 1744|  1.05M|    if (nargs + nkwargs > len) {
  ------------------
  |  Branch (1744:9): [True: 0, False: 1.05M]
  ------------------
 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.09M|    for (i = 0; i < len; i++) {
  ------------------
  |  Branch (1759:17): [True: 1.09M, False: 3.23k]
  ------------------
 1760|  1.09M|        if (*format == '|') {
  ------------------
  |  Branch (1760:13): [True: 1.05M, False: 30.9k]
  ------------------
 1761|  1.05M|            if (min != INT_MAX) {
  ------------------
  |  Branch (1761:17): [True: 0, False: 1.05M]
  ------------------
 1762|      0|                PyErr_SetString(PyExc_SystemError,
 1763|      0|                                "Invalid format string (| specified twice)");
 1764|      0|                return cleanreturn(0, &freelist);
 1765|      0|            }
 1766|       |
 1767|  1.05M|            min = i;
 1768|  1.05M|            format++;
 1769|       |
 1770|  1.05M|            if (max != INT_MAX) {
  ------------------
  |  Branch (1770:17): [True: 0, False: 1.05M]
  ------------------
 1771|      0|                PyErr_SetString(PyExc_SystemError,
 1772|      0|                                "Invalid format string ($ before |)");
 1773|      0|                return cleanreturn(0, &freelist);
 1774|      0|            }
 1775|  1.05M|        }
 1776|  1.09M|        if (*format == '$') {
  ------------------
  |  Branch (1776:13): [True: 1.05M, False: 39.0k]
  ------------------
 1777|  1.05M|            if (max != INT_MAX) {
  ------------------
  |  Branch (1777:17): [True: 0, False: 1.05M]
  ------------------
 1778|      0|                PyErr_SetString(PyExc_SystemError,
 1779|      0|                                "Invalid format string ($ specified twice)");
 1780|      0|                return cleanreturn(0, &freelist);
 1781|      0|            }
 1782|       |
 1783|  1.05M|            max = i;
 1784|  1.05M|            format++;
 1785|       |
 1786|  1.05M|            if (max < pos) {
  ------------------
  |  Branch (1786:17): [True: 0, False: 1.05M]
  ------------------
 1787|      0|                PyErr_SetString(PyExc_SystemError,
 1788|      0|                                "Empty parameter name after $");
 1789|      0|                return cleanreturn(0, &freelist);
 1790|      0|            }
 1791|  1.05M|            if (skip) {
  ------------------
  |  Branch (1791:17): [True: 0, False: 1.05M]
  ------------------
 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.05M|            if (max < nargs) {
  ------------------
  |  Branch (1797:17): [True: 0, False: 1.05M]
  ------------------
 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.05M|        }
 1818|  1.09M|        if (IS_END_OF_FORMAT(*format)) {
  ------------------
  |  | 1670|  1.09M|#define IS_END_OF_FORMAT(c) (c == '\0' || c == ';' || c == ':')
  |  |  ------------------
  |  |  |  Branch (1670:30): [True: 0, False: 1.09M]
  |  |  |  Branch (1670:43): [True: 0, False: 1.09M]
  |  |  |  Branch (1670:55): [True: 0, False: 1.09M]
  |  |  ------------------
  ------------------
 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.09M|        if (!skip) {
  ------------------
  |  Branch (1824:13): [True: 1.09M, False: 0]
  ------------------
 1825|  1.09M|            PyObject *current_arg;
 1826|  1.09M|            if (i < nargs) {
  ------------------
  |  Branch (1826:17): [True: 3.08k, False: 1.08M]
  ------------------
 1827|  3.08k|                current_arg = Py_NewRef(args[i]);
  ------------------
  |  |  550|  3.08k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  3.08k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.08k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1828|  3.08k|            }
 1829|  1.08M|            else if (nkwargs && i >= pos) {
  ------------------
  |  Branch (1829:22): [True: 31.0k, False: 1.05M]
  |  Branch (1829:33): [True: 31.0k, False: 0]
  ------------------
 1830|  31.0k|                if (kwargs != NULL) {
  ------------------
  |  Branch (1830:21): [True: 31.0k, False: 0]
  ------------------
 1831|  31.0k|                    if (PyDict_GetItemStringRef(kwargs, kwlist[i], &current_arg) < 0) {
  ------------------
  |  Branch (1831:25): [True: 0, False: 31.0k]
  ------------------
 1832|      0|                        return cleanreturn(0, &freelist);
 1833|      0|                    }
 1834|  31.0k|                }
 1835|      0|                else {
 1836|      0|                    current_arg = find_keyword_str(kwnames, kwstack, kwlist[i]);
 1837|      0|                }
 1838|  31.0k|                if (current_arg) {
  ------------------
  |  Branch (1838:21): [True: 22.9k, False: 8.13k]
  ------------------
 1839|  22.9k|                    --nkwargs;
 1840|  22.9k|                }
 1841|  31.0k|            }
 1842|  1.05M|            else {
 1843|  1.05M|                current_arg = NULL;
 1844|  1.05M|            }
 1845|       |
 1846|  1.09M|            if (current_arg) {
  ------------------
  |  Branch (1846:17): [True: 25.9k, False: 1.06M]
  ------------------
 1847|  25.9k|                msg = convertitem(current_arg, &format, p_va, flags,
 1848|  25.9k|                    levels, msgbuf, sizeof(msgbuf), &freelist);
 1849|  25.9k|                Py_DECREF(current_arg);
  ------------------
  |  |  430|  25.9k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  25.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  25.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1850|  25.9k|                if (msg) {
  ------------------
  |  Branch (1850:21): [True: 0, False: 25.9k]
  ------------------
 1851|      0|                    seterror(i+1, msg, levels, fname, custom_msg);
 1852|      0|                    return cleanreturn(0, &freelist);
 1853|      0|                }
 1854|  25.9k|                continue;
 1855|  25.9k|            }
 1856|       |
 1857|  1.06M|            if (i < min) {
  ------------------
  |  Branch (1857:17): [True: 0, False: 1.06M]
  ------------------
 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.06M|            if (!nkwargs && !skip) {
  ------------------
  |  Branch (1880:17): [True: 1.05M, False: 8.13k]
  |  Branch (1880:29): [True: 1.05M, False: 0]
  ------------------
 1881|  1.05M|                return cleanreturn(1, &freelist);
 1882|  1.05M|            }
 1883|  1.06M|        }
 1884|       |
 1885|       |        /* We are into optional args, skip through to any remaining
 1886|       |         * keyword args */
 1887|  8.13k|        msg = skipitem(&format, p_va, flags);
 1888|  8.13k|        if (msg) {
  ------------------
  |  Branch (1888:13): [True: 0, False: 8.13k]
  ------------------
 1889|      0|            PyErr_Format(PyExc_SystemError, "%s: '%s'", msg,
 1890|      0|                         format);
 1891|      0|            return cleanreturn(0, &freelist);
 1892|      0|        }
 1893|  8.13k|    }
 1894|       |
 1895|  3.23k|    if (skip) {
  ------------------
  |  Branch (1895:9): [True: 0, False: 3.23k]
  ------------------
 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|  3.23k|    if (!IS_END_OF_FORMAT(*format) && (*format != '|') && (*format != '$')) {
  ------------------
  |  | 1670|  6.46k|#define IS_END_OF_FORMAT(c) (c == '\0' || c == ';' || c == ':')
  |  |  ------------------
  |  |  |  Branch (1670:30): [True: 0, False: 3.23k]
  |  |  |  Branch (1670:43): [True: 0, False: 3.23k]
  |  |  |  Branch (1670:55): [True: 3.23k, 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|  3.23k|    if (nkwargs > 0) {
  ------------------
  |  Branch (1915:9): [True: 0, False: 3.23k]
  ------------------
 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|  3.23k|    return cleanreturn(1, &freelist);
 2012|  3.23k|}
getargs.c:skipitem:
 2699|  8.20k|{
 2700|  8.20k|    const char *format = *p_format;
 2701|  8.20k|    char c = *format++;
 2702|       |
 2703|  8.20k|    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: 8.20k]
  ------------------
 2711|      0|    case 'B': /* byte as bitfield */
  ------------------
  |  Branch (2711:5): [True: 0, False: 8.20k]
  ------------------
 2712|      0|    case 'h': /* short int */
  ------------------
  |  Branch (2712:5): [True: 0, False: 8.20k]
  ------------------
 2713|      0|    case 'H': /* short int as bitfield */
  ------------------
  |  Branch (2713:5): [True: 0, False: 8.20k]
  ------------------
 2714|  2.69k|    case 'i': /* int */
  ------------------
  |  Branch (2714:5): [True: 2.69k, False: 5.51k]
  ------------------
 2715|  2.69k|    case 'I': /* int sized bitfield */
  ------------------
  |  Branch (2715:5): [True: 0, False: 8.20k]
  ------------------
 2716|  2.69k|    case 'l': /* long int */
  ------------------
  |  Branch (2716:5): [True: 0, False: 8.20k]
  ------------------
 2717|  2.69k|    case 'k': /* long int sized bitfield */
  ------------------
  |  Branch (2717:5): [True: 0, False: 8.20k]
  ------------------
 2718|  2.69k|    case 'L': /* long long */
  ------------------
  |  Branch (2718:5): [True: 0, False: 8.20k]
  ------------------
 2719|  2.69k|    case 'K': /* long long sized bitfield */
  ------------------
  |  Branch (2719:5): [True: 0, False: 8.20k]
  ------------------
 2720|  2.69k|    case 'n': /* Py_ssize_t */
  ------------------
  |  Branch (2720:5): [True: 0, False: 8.20k]
  ------------------
 2721|  2.69k|    case 'f': /* float */
  ------------------
  |  Branch (2721:5): [True: 0, False: 8.20k]
  ------------------
 2722|  2.69k|    case 'd': /* double */
  ------------------
  |  Branch (2722:5): [True: 0, False: 8.20k]
  ------------------
 2723|  2.69k|    case 'D': /* complex double */
  ------------------
  |  Branch (2723:5): [True: 0, False: 8.20k]
  ------------------
 2724|  2.69k|    case 'c': /* char */
  ------------------
  |  Branch (2724:5): [True: 0, False: 8.20k]
  ------------------
 2725|  2.69k|    case 'C': /* unicode char */
  ------------------
  |  Branch (2725:5): [True: 0, False: 8.20k]
  ------------------
 2726|  2.69k|    case 'p': /* boolean predicate */
  ------------------
  |  Branch (2726:5): [True: 0, False: 8.20k]
  ------------------
 2727|  2.69k|    case 'S': /* string object */
  ------------------
  |  Branch (2727:5): [True: 0, False: 8.20k]
  ------------------
 2728|  2.69k|    case 'Y': /* string object */
  ------------------
  |  Branch (2728:5): [True: 0, False: 8.20k]
  ------------------
 2729|  2.69k|    case 'U': /* unicode string object */
  ------------------
  |  Branch (2729:5): [True: 0, False: 8.20k]
  ------------------
 2730|  2.69k|        {
 2731|  2.69k|            if (p_va != NULL) {
  ------------------
  |  Branch (2731:17): [True: 2.69k, False: 0]
  ------------------
 2732|  2.69k|                (void) va_arg(*p_va, void *);
 2733|  2.69k|            }
 2734|  2.69k|            break;
 2735|  2.69k|        }
 2736|       |
 2737|       |    /* string codes */
 2738|       |
 2739|      0|    case 'e': /* string with encoding */
  ------------------
  |  Branch (2739:5): [True: 0, False: 8.20k]
  ------------------
 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: 8.20k]
  ------------------
 2752|      0|    case 'z': /* string or None */
  ------------------
  |  Branch (2752:5): [True: 0, False: 8.20k]
  ------------------
 2753|      0|    case 'y': /* bytes */
  ------------------
  |  Branch (2753:5): [True: 0, False: 8.20k]
  ------------------
 2754|      0|    case 'w': /* buffer, read-write */
  ------------------
  |  Branch (2754:5): [True: 0, False: 8.20k]
  ------------------
 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|  5.51k|    case 'O': /* object */
  ------------------
  |  Branch (2777:5): [True: 5.51k, False: 2.69k]
  ------------------
 2778|  5.51k|        {
 2779|  5.51k|            if (*format == '!') {
  ------------------
  |  Branch (2779:17): [True: 0, False: 5.51k]
  ------------------
 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|  5.51k|            else if (*format == '&') {
  ------------------
  |  Branch (2786:22): [True: 0, False: 5.51k]
  ------------------
 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|  5.51k|            else {
 2795|  5.51k|                if (p_va != NULL) {
  ------------------
  |  Branch (2795:21): [True: 5.50k, False: 8]
  ------------------
 2796|  5.50k|                    (void) va_arg(*p_va, PyObject **);
 2797|  5.50k|                }
 2798|  5.51k|            }
 2799|  5.51k|            break;
 2800|      0|        }
 2801|       |
 2802|      0|    case '(':           /* bypass tuple, not handled at all previously */
  ------------------
  |  Branch (2802:5): [True: 0, False: 8.20k]
  ------------------
 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: 8.20k]
  ------------------
 2820|      0|        return "Unmatched right paren in format string";
 2821|       |
 2822|      0|    default:
  ------------------
  |  Branch (2822:5): [True: 0, False: 8.20k]
  ------------------
 2823|      0|err:
 2824|      0|        return "impossible<bad format char>";
 2825|       |
 2826|  8.20k|    }
 2827|       |
 2828|  8.20k|    *p_format = format;
 2829|       |    return NULL;
 2830|  8.20k|}
getargs.c:new_kwtuple:
 2129|     31|{
 2130|     31|    int nkw = total - pos;
 2131|     31|    PyObject *kwtuple = PyTuple_New(nkw);
 2132|     31|    if (kwtuple == NULL) {
  ------------------
  |  Branch (2132:9): [True: 0, False: 31]
  ------------------
 2133|      0|        return NULL;
 2134|      0|    }
 2135|     31|    keywords += pos;
 2136|    117|    for (int i = 0; i < nkw; i++) {
  ------------------
  |  Branch (2136:21): [True: 86, False: 31]
  ------------------
 2137|     86|        PyObject *str = PyUnicode_FromString(keywords[i]);
 2138|     86|        if (str == NULL) {
  ------------------
  |  Branch (2138:13): [True: 0, False: 86]
  ------------------
 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|     86|        PyInterpreterState *interp = _PyInterpreterState_GET();
 2143|     86|        _PyUnicode_InternImmortal(interp, &str);
 2144|     86|        PyTuple_SET_ITEM(kwtuple, i, str);
  ------------------
  |  |   40|     86|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     86|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     86|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|     86|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     86|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2145|     86|    }
 2146|     31|    return kwtuple;
 2147|     31|}
getargs.c:vgetargskeywords:
 2018|  1.05M|{
 2019|  1.05M|    PyObject *const *args = _PyTuple_ITEMS(argstuple);
  ------------------
  |  |   26|  1.05M|#define _PyTuple_ITEMS(op) _Py_RVALUE(_PyTuple_CAST(op)->ob_item)
  |  |  ------------------
  |  |  |  |  277|  1.05M|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2020|  1.05M|    Py_ssize_t nargs = PyTuple_GET_SIZE(argstuple);
  ------------------
  |  |   27|  1.05M|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.05M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.05M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2021|       |    return vgetargskeywords_impl(args, nargs, kwargs, NULL,
 2022|  1.05M|                                 format, kwlist, p_va, flags);
 2023|  1.05M|}
getargs.c:vgetargskeywordsfast_impl:
 2284|  28.2k|{
 2285|  28.2k|    PyObject *kwtuple;
 2286|  28.2k|    char msgbuf[512];
 2287|  28.2k|    int levels[32];
 2288|  28.2k|    const char *format;
 2289|  28.2k|    const char *msg;
 2290|  28.2k|    PyObject *keyword;
 2291|  28.2k|    Py_ssize_t i;
 2292|  28.2k|    int pos, len;
 2293|  28.2k|    Py_ssize_t nkwargs;
 2294|  28.2k|    freelistentry_t static_entries[STATIC_FREELIST_ENTRIES];
 2295|  28.2k|    freelist_t freelist;
 2296|  28.2k|    PyObject *const *kwstack = NULL;
 2297|       |
 2298|  28.2k|    freelist.entries = static_entries;
 2299|  28.2k|    freelist.first_available = 0;
 2300|  28.2k|    freelist.entries_malloced = 0;
 2301|       |
 2302|  28.2k|    assert(kwargs == NULL || PyDict_Check(kwargs));
 2303|  28.2k|    assert(kwargs == NULL || kwnames == NULL);
 2304|  28.2k|    assert(p_va != NULL);
 2305|       |
 2306|  28.2k|    if (parser == NULL) {
  ------------------
  |  Branch (2306:9): [True: 0, False: 28.2k]
  ------------------
 2307|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2308|      0|        return 0;
 2309|      0|    }
 2310|       |
 2311|  28.2k|    if (kwnames != NULL && !PyTuple_Check(kwnames)) {
  ------------------
  |  |   27|  28.2k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  28.2k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (2311:9): [True: 28.2k, False: 0]
  |  Branch (2311:28): [True: 0, False: 28.2k]
  ------------------
 2312|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2313|      0|        return 0;
 2314|      0|    }
 2315|       |
 2316|  28.2k|    if (parser_init(parser) < 0) {
  ------------------
  |  Branch (2316:9): [True: 0, False: 28.2k]
  ------------------
 2317|      0|        return 0;
 2318|      0|    }
 2319|       |
 2320|  28.2k|    kwtuple = parser->kwtuple;
 2321|  28.2k|    pos = parser->pos;
 2322|  28.2k|    len = pos + (int)PyTuple_GET_SIZE(kwtuple);
  ------------------
  |  |   27|  28.2k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  28.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  28.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2323|       |
 2324|  28.2k|    if (len > STATIC_FREELIST_ENTRIES) {
  ------------------
  |  |   44|  28.2k|#define STATIC_FREELIST_ENTRIES 8
  ------------------
  |  Branch (2324:9): [True: 0, False: 28.2k]
  ------------------
 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|  28.2k|    if (kwargs != NULL) {
  ------------------
  |  Branch (2333:9): [True: 0, False: 28.2k]
  ------------------
 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|  28.2k|    else if (kwnames != NULL) {
  ------------------
  |  Branch (2336:14): [True: 28.2k, False: 0]
  ------------------
 2337|  28.2k|        nkwargs = PyTuple_GET_SIZE(kwnames);
  ------------------
  |  |   27|  28.2k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  28.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  28.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2338|  28.2k|        kwstack = args + nargs;
 2339|  28.2k|    }
 2340|      0|    else {
 2341|      0|        nkwargs = 0;
 2342|      0|    }
 2343|  28.2k|    if (nargs + nkwargs > len) {
  ------------------
  |  Branch (2343:9): [True: 0, False: 28.2k]
  ------------------
 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|  28.2k|    if (parser->max < nargs) {
  ------------------
  |  Branch (2356:9): [True: 0, False: 28.2k]
  ------------------
 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|  28.2k|    format = parser->format;
 2377|  28.2k|    assert(format != NULL || len == 0);
 2378|       |    /* convert tuple args and keyword args in same loop, using kwtuple to drive process */
 2379|  56.5k|    for (i = 0; i < len; i++) {
  ------------------
  |  Branch (2379:17): [True: 56.4k, False: 60]
  ------------------
 2380|  56.4k|        if (*format == '|') {
  ------------------
  |  Branch (2380:13): [True: 28.2k, False: 28.2k]
  ------------------
 2381|  28.2k|            format++;
 2382|  28.2k|        }
 2383|  56.4k|        if (*format == '$') {
  ------------------
  |  Branch (2383:13): [True: 28.2k, False: 28.2k]
  ------------------
 2384|  28.2k|            format++;
 2385|  28.2k|        }
 2386|  56.4k|        assert(!IS_END_OF_FORMAT(*format));
 2387|       |
 2388|  56.4k|        PyObject *current_arg;
 2389|  56.4k|        if (i < nargs) {
  ------------------
  |  Branch (2389:13): [True: 0, False: 56.4k]
  ------------------
 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|  56.4k|        else if (nkwargs && i >= pos) {
  ------------------
  |  Branch (2392:18): [True: 28.2k, False: 28.1k]
  |  Branch (2392:29): [True: 28.2k, False: 0]
  ------------------
 2393|  28.2k|            keyword = PyTuple_GET_ITEM(kwtuple, i - pos);
  ------------------
  |  |   29|  28.2k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  28.2k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  28.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2394|  28.2k|            if (kwargs != NULL) {
  ------------------
  |  Branch (2394:17): [True: 0, False: 28.2k]
  ------------------
 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|  28.2k|            else {
 2400|  28.2k|                current_arg = find_keyword(kwnames, kwstack, keyword);
 2401|  28.2k|            }
 2402|  28.2k|            if (current_arg) {
  ------------------
  |  Branch (2402:17): [True: 28.2k, False: 60]
  ------------------
 2403|  28.2k|                --nkwargs;
 2404|  28.2k|            }
 2405|  28.2k|        }
 2406|  28.1k|        else {
 2407|  28.1k|            current_arg = NULL;
 2408|  28.1k|        }
 2409|       |
 2410|  56.4k|        if (current_arg) {
  ------------------
  |  Branch (2410:13): [True: 28.2k, False: 28.2k]
  ------------------
 2411|  28.2k|            msg = convertitem(current_arg, &format, p_va, flags,
 2412|  28.2k|                levels, msgbuf, sizeof(msgbuf), &freelist);
 2413|  28.2k|            Py_DECREF(current_arg);
  ------------------
  |  |  430|  28.2k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  28.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  28.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2414|  28.2k|            if (msg) {
  ------------------
  |  Branch (2414:17): [True: 0, False: 28.2k]
  ------------------
 2415|      0|                seterror(i+1, msg, levels, parser->fname, parser->custom_msg);
 2416|      0|                return cleanreturn(0, &freelist);
 2417|      0|            }
 2418|  28.2k|            continue;
 2419|  28.2k|        }
 2420|       |
 2421|  28.2k|        if (i < parser->min) {
  ------------------
  |  Branch (2421:13): [True: 0, False: 28.2k]
  ------------------
 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|  28.2k|        if (!nkwargs) {
  ------------------
  |  Branch (2449:13): [True: 28.1k, False: 60]
  ------------------
 2450|  28.1k|            return cleanreturn(1, &freelist);
 2451|  28.1k|        }
 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|  28.2k|    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|   125k|{
 2229|   125k|    return _PyOnceFlag_CallOnce(&parser->once, &_parser_init, parser);
 2230|   125k|}
getargs.c:_parser_init:
 2151|     63|{
 2152|     63|    struct _PyArg_Parser *parser = (struct _PyArg_Parser *)arg;
 2153|     63|    const char * const *keywords = parser->keywords;
 2154|     63|    assert(keywords != NULL);
 2155|     63|    assert(parser->pos == 0 &&
 2156|     63|           (parser->format == NULL || parser->fname == NULL) &&
 2157|     63|           parser->custom_msg == NULL &&
 2158|     63|           parser->min == 0 &&
 2159|     63|           parser->max == 0);
 2160|       |
 2161|     63|    int len, pos;
 2162|     63|    if (scan_keywords(keywords, &len, &pos) < 0) {
  ------------------
  |  Branch (2162:9): [True: 0, False: 63]
  ------------------
 2163|      0|        return -1;
 2164|      0|    }
 2165|       |
 2166|     63|    const char *fname, *custommsg = NULL;
 2167|     63|    int min = 0, max = 0;
 2168|     63|    if (parser->format) {
  ------------------
  |  Branch (2168:9): [True: 4, False: 59]
  ------------------
 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|     59|    else {
 2176|     59|        assert(parser->fname != NULL);
 2177|     59|        fname = parser->fname;
 2178|     59|    }
 2179|       |
 2180|     63|    int owned;
 2181|     63|    PyObject *kwtuple = parser->kwtuple;
 2182|     63|    if (kwtuple == NULL) {
  ------------------
  |  Branch (2182:9): [True: 31, False: 32]
  ------------------
 2183|       |        /* We may temporarily switch to the main interpreter to avoid
 2184|       |         * creating a tuple that could outlive its owning interpreter. */
 2185|     31|        PyThreadState *save_tstate = NULL;
 2186|     31|        PyThreadState *temp_tstate = NULL;
 2187|     31|        if (!_Py_IsMainInterpreter(PyInterpreterState_Get())) {
  ------------------
  |  Branch (2187:13): [True: 0, False: 31]
  ------------------
 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|     31|        kwtuple = new_kwtuple(keywords, len, pos);
 2195|     31|        if (temp_tstate != NULL) {
  ------------------
  |  Branch (2195:13): [True: 0, False: 31]
  ------------------
 2196|      0|            PyThreadState_Clear(temp_tstate);
 2197|      0|            (void)PyThreadState_Swap(save_tstate);
 2198|      0|            PyThreadState_Delete(temp_tstate);
 2199|      0|        }
 2200|     31|        if (kwtuple == NULL) {
  ------------------
  |  Branch (2200:13): [True: 0, False: 31]
  ------------------
 2201|      0|            return -1;
 2202|      0|        }
 2203|     31|        owned = 1;
 2204|     31|    }
 2205|     32|    else {
 2206|     32|        owned = 0;
 2207|     32|    }
 2208|       |
 2209|     63|    parser->pos = pos;
 2210|     63|    parser->fname = fname;
 2211|     63|    parser->custom_msg = custommsg;
 2212|     63|    parser->min = min;
 2213|     63|    parser->max = max;
 2214|     63|    parser->kwtuple = kwtuple;
 2215|     63|    parser->is_kwtuple_owned = owned;
 2216|       |
 2217|     63|    assert(parser->next == NULL);
 2218|     63|    parser->next = _Py_atomic_load_ptr(&_PyRuntime.getargs.static_parsers);
 2219|     63|    do {
 2220|       |        // compare-exchange updates parser->next on failure
 2221|     63|    } while (!_Py_atomic_compare_exchange_ptr(&_PyRuntime.getargs.static_parsers,
  ------------------
  |  Branch (2221:14): [True: 0, False: 63]
  ------------------
 2222|     63|                                              &parser->next, parser));
 2223|     63|    return 0;
 2224|     63|}
getargs.c:scan_keywords:
 2027|     63|{
 2028|       |    /* scan keywords and count the number of positional-only parameters */
 2029|     63|    int i;
 2030|     67|    for (i = 0; keywords[i] && !*keywords[i]; i++) {
  ------------------
  |  Branch (2030:17): [True: 67, False: 0]
  |  Branch (2030:32): [True: 4, False: 63]
  ------------------
 2031|      4|    }
 2032|     63|    *pposonly = i;
 2033|       |
 2034|       |    /* scan keywords and get greatest possible nbr of args */
 2035|    299|    for (; keywords[i]; i++) {
  ------------------
  |  Branch (2035:12): [True: 236, False: 63]
  ------------------
 2036|    236|        if (!*keywords[i]) {
  ------------------
  |  Branch (2036:13): [True: 0, False: 236]
  ------------------
 2037|      0|            PyErr_SetString(PyExc_SystemError,
 2038|      0|                            "Empty keyword parameter name");
 2039|      0|            return -1;
 2040|      0|        }
 2041|    236|    }
 2042|     63|    *ptotal = i;
 2043|     63|    return 0;
 2044|     63|}
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|   258k|{
 2256|   258k|    Py_ssize_t i, nkwargs;
 2257|       |
 2258|   258k|    nkwargs = PyTuple_GET_SIZE(kwnames);
  ------------------
  |  |   27|   258k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   258k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   258k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2259|   528k|    for (i = 0; i < nkwargs; i++) {
  ------------------
  |  Branch (2259:17): [True: 441k, False: 87.0k]
  ------------------
 2260|   441k|        PyObject *kwname = PyTuple_GET_ITEM(kwnames, i);
  ------------------
  |  |   29|   441k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|   441k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   441k|#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|   441k|        if (kwname == key) {
  ------------------
  |  Branch (2264:13): [True: 171k, False: 269k]
  ------------------
 2265|   171k|            return Py_NewRef(kwstack[i]);
  ------------------
  |  |  550|   171k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   171k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   171k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2266|   171k|        }
 2267|   441k|    }
 2268|       |
 2269|   271k|    for (i = 0; i < nkwargs; i++) {
  ------------------
  |  Branch (2269:17): [True: 184k, False: 87.0k]
  ------------------
 2270|   184k|        PyObject *kwname = PyTuple_GET_ITEM(kwnames, i);
  ------------------
  |  |   29|   184k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|   184k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   184k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2271|   184k|        assert(PyUnicode_Check(kwname));
 2272|   184k|        if (_PyUnicode_Equal(kwname, key)) {
  ------------------
  |  Branch (2272:13): [True: 0, False: 184k]
  ------------------
 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|   184k|    }
 2276|  87.0k|    return NULL;
 2277|  87.0k|}
getargs.c:unpack_stack:
 2882|  2.81M|{
 2883|  2.81M|    Py_ssize_t i;
 2884|  2.81M|    PyObject **o;
 2885|       |
 2886|  2.81M|    if (!_PyArg_CheckPositional(name, nargs, min, max)) {
  ------------------
  |  Branch (2886:9): [True: 0, False: 2.81M]
  ------------------
 2887|      0|        return 0;
 2888|      0|    }
 2889|       |
 2890|  6.17M|    for (i = 0; i < nargs; i++) {
  ------------------
  |  Branch (2890:17): [True: 3.36M, False: 2.81M]
  ------------------
 2891|       |        o = va_arg(vargs, PyObject **);
 2892|  3.36M|        *o = args[i];
 2893|  3.36M|    }
 2894|  2.81M|    return 1;
 2895|  2.81M|}

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|  62.0k|{
   95|  62.0k|    return (Py_uhash_t)_Py_HashPointerRaw(key);
   96|  62.0k|}
_Py_hashtable_get_entry_generic:
  141|   966k|{
  142|   966k|    Py_uhash_t key_hash = ht->hash_func(key);
  143|   966k|    size_t index = key_hash & (ht->nbuckets - 1);
  144|   966k|    _Py_hashtable_entry_t *entry = TABLE_HEAD(ht, index);
  ------------------
  |  |   59|   966k|        ((_Py_hashtable_entry_t *)_Py_SLIST_HEAD(&(HT)->buckets[BUCKET]))
  |  |  ------------------
  |  |  |  |   23|   966k|#define _Py_SLIST_HEAD(SLIST) _Py_RVALUE(((_Py_slist_t *)(SLIST))->head)
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|   966k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  145|  1.27M|    while (1) {
  ------------------
  |  Branch (145:12): [True: 1.27M, Folded]
  ------------------
  146|  1.27M|        if (entry == NULL) {
  ------------------
  |  Branch (146:13): [True: 746k, False: 525k]
  ------------------
  147|   746k|            return NULL;
  148|   746k|        }
  149|   525k|        if (entry->key_hash == key_hash && ht->compare_func(key, entry->key)) {
  ------------------
  |  Branch (149:13): [True: 219k, False: 305k]
  |  Branch (149:44): [True: 219k, False: 0]
  ------------------
  150|   219k|            break;
  151|   219k|        }
  152|   305k|        entry = ENTRY_NEXT(entry);
  ------------------
  |  |   61|   305k|        ((_Py_hashtable_entry_t *)_Py_SLIST_ITEM_NEXT(ENTRY))
  |  |  ------------------
  |  |  |  |   21|   305k|#define _Py_SLIST_ITEM_NEXT(ITEM) _Py_RVALUE(((_Py_slist_item_t *)(ITEM))->next)
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|   305k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  153|   305k|    }
  154|   219k|    return entry;
  155|   966k|}
_Py_hashtable_set:
  218|  23.5k|{
  219|  23.5k|    _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|  23.5k|    entry = ht->alloc.malloc(sizeof(_Py_hashtable_entry_t));
  230|  23.5k|    if (entry == NULL) {
  ------------------
  |  Branch (230:9): [True: 0, False: 23.5k]
  ------------------
  231|       |        /* memory allocation failed */
  232|      0|        return -1;
  233|      0|    }
  234|       |
  235|  23.5k|    entry->key_hash = ht->hash_func(key);
  236|  23.5k|    entry->key = (void *)key;
  237|  23.5k|    entry->value = value;
  238|       |
  239|  23.5k|    ht->nentries++;
  240|  23.5k|    if ((float)ht->nentries / (float)ht->nbuckets > HASHTABLE_HIGH) {
  ------------------
  |  |   52|  23.5k|#define HASHTABLE_HIGH 0.50
  ------------------
  |  Branch (240:9): [True: 579, False: 22.9k]
  ------------------
  241|    579|        if (hashtable_rehash(ht) < 0) {
  ------------------
  |  Branch (241:13): [True: 0, False: 579]
  ------------------
  242|      0|            ht->nentries--;
  243|      0|            ht->alloc.free(entry);
  244|      0|            return -1;
  245|      0|        }
  246|    579|    }
  247|       |
  248|  23.5k|    size_t index = entry->key_hash & (ht->nbuckets - 1);
  249|  23.5k|    _Py_slist_prepend(&ht->buckets[index], (_Py_slist_item_t*)entry);
  250|  23.5k|    return 0;
  251|  23.5k|}
_Py_hashtable_get:
  256|   966k|{
  257|   966k|    _Py_hashtable_entry_t *entry = ht->get_entry_func(ht, key);
  258|   966k|    if (entry != NULL) {
  ------------------
  |  Branch (258:9): [True: 219k, False: 746k]
  ------------------
  259|   219k|        return entry->value;
  260|   219k|    }
  261|   746k|    else {
  262|       |        return NULL;
  263|   746k|    }
  264|   966k|}
_Py_hashtable_new_full:
  328|  2.54k|{
  329|  2.54k|    _Py_hashtable_allocator_t alloc;
  330|  2.54k|    if (allocator == NULL) {
  ------------------
  |  Branch (330:9): [True: 2.53k, False: 12]
  ------------------
  331|  2.53k|        alloc.malloc = PyMem_Malloc;
  332|  2.53k|        alloc.free = PyMem_Free;
  333|  2.53k|    }
  334|     12|    else {
  335|     12|        alloc = *allocator;
  336|     12|    }
  337|       |
  338|  2.54k|    _Py_hashtable_t *ht = (_Py_hashtable_t *)alloc.malloc(sizeof(_Py_hashtable_t));
  339|  2.54k|    if (ht == NULL) {
  ------------------
  |  Branch (339:9): [True: 0, False: 2.54k]
  ------------------
  340|      0|        return ht;
  341|      0|    }
  342|       |
  343|  2.54k|    ht->nbuckets = HASHTABLE_MIN_SIZE;
  ------------------
  |  |   51|  2.54k|#define HASHTABLE_MIN_SIZE 16
  ------------------
  344|  2.54k|    ht->nentries = 0;
  345|       |
  346|  2.54k|    size_t buckets_size = ht->nbuckets * sizeof(ht->buckets[0]);
  347|  2.54k|    ht->buckets = alloc.malloc(buckets_size);
  348|  2.54k|    if (ht->buckets == NULL) {
  ------------------
  |  Branch (348:9): [True: 0, False: 2.54k]
  ------------------
  349|      0|        alloc.free(ht);
  350|      0|        return NULL;
  351|      0|    }
  352|  2.54k|    memset(ht->buckets, 0, buckets_size);
  353|       |
  354|  2.54k|    ht->get_entry_func = _Py_hashtable_get_entry_generic;
  355|  2.54k|    ht->hash_func = hash_func;
  356|  2.54k|    ht->compare_func = compare_func;
  357|  2.54k|    ht->key_destroy_func = key_destroy_func;
  358|  2.54k|    ht->value_destroy_func = value_destroy_func;
  359|  2.54k|    ht->alloc = alloc;
  360|  2.54k|    if (ht->hash_func == _Py_hashtable_hash_ptr
  ------------------
  |  Branch (360:9): [True: 2.53k, False: 12]
  ------------------
  361|  2.53k|        && ht->compare_func == _Py_hashtable_compare_direct)
  ------------------
  |  Branch (361:12): [True: 2.53k, False: 0]
  ------------------
  362|  2.53k|    {
  363|  2.53k|        ht->get_entry_func = _Py_hashtable_get_entry_ptr;
  364|  2.53k|    }
  365|  2.54k|    return ht;
  366|  2.54k|}
_Py_hashtable_new:
  372|  2.43k|{
  373|  2.43k|    return _Py_hashtable_new_full(hash_func, compare_func,
  374|  2.43k|                                  NULL, NULL, NULL);
  375|  2.43k|}
_Py_hashtable_destroy:
  412|  2.53k|{
  413|  81.9k|    for (size_t i = 0; i < ht->nbuckets; i++) {
  ------------------
  |  Branch (413:24): [True: 79.4k, False: 2.53k]
  ------------------
  414|  79.4k|        _Py_hashtable_entry_t *entry = TABLE_HEAD(ht, i);
  ------------------
  |  |   59|  79.4k|        ((_Py_hashtable_entry_t *)_Py_SLIST_HEAD(&(HT)->buckets[BUCKET]))
  |  |  ------------------
  |  |  |  |   23|  79.4k|#define _Py_SLIST_HEAD(SLIST) _Py_RVALUE(((_Py_slist_t *)(SLIST))->head)
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  79.4k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  415|   100k|        while (entry) {
  ------------------
  |  Branch (415:16): [True: 21.2k, False: 79.4k]
  ------------------
  416|  21.2k|            _Py_hashtable_entry_t *entry_next = ENTRY_NEXT(entry);
  ------------------
  |  |   61|  21.2k|        ((_Py_hashtable_entry_t *)_Py_SLIST_ITEM_NEXT(ENTRY))
  |  |  ------------------
  |  |  |  |   21|  21.2k|#define _Py_SLIST_ITEM_NEXT(ITEM) _Py_RVALUE(((_Py_slist_item_t *)(ITEM))->next)
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  21.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  417|  21.2k|            _Py_hashtable_destroy_entry(ht, entry);
  418|  21.2k|            entry = entry_next;
  419|  21.2k|        }
  420|  79.4k|    }
  421|       |
  422|  2.53k|    ht->alloc.free(ht->buckets);
  423|  2.53k|    ht->alloc.free(ht);
  424|  2.53k|}
hashtable.c:_Py_slist_prepend:
   75|  47.1k|{
   76|  47.1k|    item->next = list->head;
   77|  47.1k|    list->head = item;
   78|  47.1k|}
hashtable.c:hashtable_rehash:
  288|    579|{
  289|    579|    size_t new_size = round_size((size_t)(ht->nentries * HASHTABLE_REHASH_FACTOR));
  ------------------
  |  |   54|    579|#define HASHTABLE_REHASH_FACTOR 2.0 / (HASHTABLE_LOW + HASHTABLE_HIGH)
  |  |  ------------------
  |  |  |  |   53|    579|#define HASHTABLE_LOW 0.10
  |  |  ------------------
  |  |               #define HASHTABLE_REHASH_FACTOR 2.0 / (HASHTABLE_LOW + HASHTABLE_HIGH)
  |  |  ------------------
  |  |  |  |   52|    579|#define HASHTABLE_HIGH 0.50
  |  |  ------------------
  ------------------
  290|    579|    if (new_size == ht->nbuckets) {
  ------------------
  |  Branch (290:9): [True: 0, False: 579]
  ------------------
  291|      0|        return 0;
  292|      0|    }
  293|       |
  294|    579|    size_t buckets_size = new_size * sizeof(ht->buckets[0]);
  295|    579|    _Py_slist_t *new_buckets = ht->alloc.malloc(buckets_size);
  296|    579|    if (new_buckets == NULL) {
  ------------------
  |  Branch (296:9): [True: 0, False: 579]
  ------------------
  297|       |        /* memory allocation failed */
  298|      0|        return -1;
  299|      0|    }
  300|    579|    memset(new_buckets, 0, buckets_size);
  301|       |
  302|  47.7k|    for (size_t bucket = 0; bucket < ht->nbuckets; bucket++) {
  ------------------
  |  Branch (302:29): [True: 47.1k, False: 579]
  ------------------
  303|  47.1k|        _Py_hashtable_entry_t *entry = BUCKETS_HEAD(ht->buckets[bucket]);
  ------------------
  |  |   57|  47.1k|        ((_Py_hashtable_entry_t *)_Py_SLIST_HEAD(&(SLIST)))
  |  |  ------------------
  |  |  |  |   23|  47.1k|#define _Py_SLIST_HEAD(SLIST) _Py_RVALUE(((_Py_slist_t *)(SLIST))->head)
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  47.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  304|  70.7k|        while (entry != NULL) {
  ------------------
  |  Branch (304:16): [True: 23.5k, False: 47.1k]
  ------------------
  305|  23.5k|            assert(ht->hash_func(entry->key) == entry->key_hash);
  306|  23.5k|            _Py_hashtable_entry_t *next = ENTRY_NEXT(entry);
  ------------------
  |  |   61|  23.5k|        ((_Py_hashtable_entry_t *)_Py_SLIST_ITEM_NEXT(ENTRY))
  |  |  ------------------
  |  |  |  |   21|  23.5k|#define _Py_SLIST_ITEM_NEXT(ITEM) _Py_RVALUE(((_Py_slist_item_t *)(ITEM))->next)
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  23.5k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  307|  23.5k|            size_t entry_index = entry->key_hash & (new_size - 1);
  308|       |
  309|  23.5k|            _Py_slist_prepend(&new_buckets[entry_index], (_Py_slist_item_t*)entry);
  310|       |
  311|  23.5k|            entry = next;
  312|  23.5k|        }
  313|  47.1k|    }
  314|       |
  315|    579|    ht->alloc.free(ht->buckets);
  316|    579|    ht->nbuckets = new_size;
  317|    579|    ht->buckets = new_buckets;
  318|    579|    return 0;
  319|    579|}
hashtable.c:round_size:
  109|    579|{
  110|    579|    size_t i;
  111|    579|    if (s < HASHTABLE_MIN_SIZE)
  ------------------
  |  |   51|    579|#define HASHTABLE_MIN_SIZE 16
  ------------------
  |  Branch (111:9): [True: 0, False: 579]
  ------------------
  112|      0|        return HASHTABLE_MIN_SIZE;
  ------------------
  |  |   51|      0|#define HASHTABLE_MIN_SIZE 16
  ------------------
  113|    579|    i = 1;
  114|  4.11k|    while (i < s)
  ------------------
  |  Branch (114:12): [True: 3.53k, False: 579]
  ------------------
  115|  3.53k|        i <<= 1;
  116|    579|    return i;
  117|    579|}
hashtable.c:_Py_hashtable_get_entry_ptr:
  163|  40.7k|{
  164|  40.7k|    Py_uhash_t key_hash = _Py_hashtable_hash_ptr(key);
  165|  40.7k|    size_t index = key_hash & (ht->nbuckets - 1);
  166|  40.7k|    _Py_hashtable_entry_t *entry = TABLE_HEAD(ht, index);
  ------------------
  |  |   59|  40.7k|        ((_Py_hashtable_entry_t *)_Py_SLIST_HEAD(&(HT)->buckets[BUCKET]))
  |  |  ------------------
  |  |  |  |   23|  40.7k|#define _Py_SLIST_HEAD(SLIST) _Py_RVALUE(((_Py_slist_t *)(SLIST))->head)
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  40.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  167|  53.1k|    while (1) {
  ------------------
  |  Branch (167:12): [True: 53.1k, Folded]
  ------------------
  168|  53.1k|        if (entry == NULL) {
  ------------------
  |  Branch (168:13): [True: 21.2k, False: 31.8k]
  ------------------
  169|  21.2k|            return NULL;
  170|  21.2k|        }
  171|       |        // Compare directly keys (ignore entry->key_hash)
  172|  31.8k|        if (entry->key == key) {
  ------------------
  |  Branch (172:13): [True: 19.4k, False: 12.4k]
  ------------------
  173|  19.4k|            break;
  174|  19.4k|        }
  175|  12.4k|        entry = ENTRY_NEXT(entry);
  ------------------
  |  |   61|  12.4k|        ((_Py_hashtable_entry_t *)_Py_SLIST_ITEM_NEXT(ENTRY))
  |  |  ------------------
  |  |  |  |   21|  12.4k|#define _Py_SLIST_ITEM_NEXT(ITEM) _Py_RVALUE(((_Py_slist_item_t *)(ITEM))->next)
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  12.4k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  176|  12.4k|    }
  177|  19.4k|    return entry;
  178|  40.7k|}
hashtable.c:_Py_hashtable_destroy_entry:
  380|  21.2k|{
  381|  21.2k|    if (ht->key_destroy_func) {
  ------------------
  |  Branch (381:9): [True: 10.5k, False: 10.7k]
  ------------------
  382|  10.5k|        ht->key_destroy_func(entry->key);
  383|  10.5k|    }
  384|  21.2k|    if (ht->value_destroy_func) {
  ------------------
  |  Branch (384:9): [True: 0, False: 21.2k]
  ------------------
  385|      0|        ht->value_destroy_func(entry->value);
  386|      0|    }
  387|  21.2k|    ht->alloc.free(entry);
  388|  21.2k|}

_PyImport_AcquireLock:
  154|  38.4k|{
  155|  38.4k|    _PyRecursiveMutex_Lock(&IMPORT_LOCK(interp));
  ------------------
  |  |  114|  38.4k|    (interp)->imports.lock
  ------------------
  156|  38.4k|}
_PyImport_ReleaseLock:
  160|  38.4k|{
  161|  38.4k|    _PyRecursiveMutex_Unlock(&IMPORT_LOCK(interp));
  ------------------
  |  |  114|  38.4k|    (interp)->imports.lock
  ------------------
  162|  38.4k|}
_PyImport_InitModules:
  178|      2|{
  179|      2|    assert(MODULES(interp) == NULL);
  180|      2|    MODULES(interp) = PyDict_New();
  ------------------
  |  |   92|      2|    (interp)->imports.modules
  ------------------
  181|      2|    if (MODULES(interp) == NULL) {
  ------------------
  |  |   92|      2|    (interp)->imports.modules
  ------------------
  |  Branch (181:9): [True: 0, False: 2]
  ------------------
  182|      0|        return NULL;
  183|      0|    }
  184|      2|    return MODULES(interp);
  ------------------
  |  |   92|      2|    (interp)->imports.modules
  ------------------
  185|      2|}
_PyImport_GetModules:
  189|  12.9k|{
  190|  12.9k|    return MODULES(interp);
  ------------------
  |  |   92|  12.9k|    (interp)->imports.modules
  ------------------
  191|  12.9k|}
_PyImport_SetModuleString:
  250|      4|{
  251|      4|    PyThreadState *tstate = _PyThreadState_GET();
  252|       |    PyObject *modules = get_modules_dict(tstate, true);
  253|      4|    return PyMapping_SetItemString(modules, name, m);
  254|      4|}
_PyImport_InitLazyModules:
  273|      2|{
  274|      2|    assert(LAZY_MODULES(interp) == NULL);
  275|      2|    LAZY_MODULES(interp) = PyDict_New();
  ------------------
  |  |   96|      2|    (interp)->imports.lazy_modules
  ------------------
  276|      2|    return LAZY_MODULES(interp);
  ------------------
  |  |   96|      2|    (interp)->imports.lazy_modules
  ------------------
  277|      2|}
PyImport_GetModule:
  334|  12.9k|{
  335|  12.9k|    PyThreadState *tstate = _PyThreadState_GET();
  336|  12.9k|    PyObject *mod;
  337|       |
  338|  12.9k|    mod = import_get_module(tstate, name);
  339|  12.9k|    if (mod != NULL && mod != Py_None) {
  ------------------
  |  |  616|  12.9k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (339:9): [True: 12.9k, False: 42]
  |  Branch (339:24): [True: 12.9k, False: 0]
  ------------------
  340|  12.9k|        if (import_ensure_initialized(tstate->interp, mod, name) < 0) {
  ------------------
  |  Branch (340:13): [True: 0, False: 12.9k]
  ------------------
  341|      0|            goto error;
  342|      0|        }
  343|       |        /* Verify the module is still in sys.modules. Another thread may have
  344|       |           removed it (due to import failure) between our import_get_module()
  345|       |           call and the _initializing check in import_ensure_initialized(). */
  346|  12.9k|        PyObject *mod_check = import_get_module(tstate, name);
  347|  12.9k|        if (mod_check != mod) {
  ------------------
  |  Branch (347:13): [True: 0, False: 12.9k]
  ------------------
  348|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  349|      0|            if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (349:17): [True: 0, False: 0]
  ------------------
  350|      0|                goto error;
  351|      0|            }
  352|       |            /* The module was removed or replaced. Return NULL to report
  353|       |               "not found" rather than trying to keep up with racing
  354|       |               modifications to sys.modules; returning the new value would
  355|       |               require looping to redo the ensure_initialized check. */
  356|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  357|      0|            return NULL;
  358|      0|        }
  359|  12.9k|        Py_DECREF(mod_check);
  ------------------
  |  |  430|  12.9k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  12.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  12.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  360|  12.9k|    }
  361|  12.9k|    return mod;
  362|       |
  363|      0|error:
  364|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  365|      0|    remove_importlib_frames(tstate);
  366|       |    return NULL;
  367|  12.9k|}
PyImport_AddModuleRef:
  412|      6|{
  413|      6|    PyObject *name_obj = PyUnicode_FromString(name);
  414|      6|    if (name_obj == NULL) {
  ------------------
  |  Branch (414:9): [True: 0, False: 6]
  ------------------
  415|      0|        return NULL;
  416|      0|    }
  417|      6|    PyThreadState *tstate = _PyThreadState_GET();
  418|      6|    PyObject *module = import_add_module(tstate, name_obj);
  419|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  420|      6|    return module;
  421|      6|}
PyImport_AddModuleObject:
  426|      2|{
  427|      2|    PyThreadState *tstate = _PyThreadState_GET();
  428|      2|    PyObject *mod = import_add_module(tstate, name);
  429|      2|    if (!mod) {
  ------------------
  |  Branch (429:9): [True: 0, False: 2]
  ------------------
  430|      0|        return NULL;
  431|      0|    }
  432|       |
  433|       |    // gh-86160: PyImport_AddModuleObject() returns a borrowed reference.
  434|       |    // Create a weak reference to produce a borrowed reference, since it can
  435|       |    // become NULL. sys.modules type can be different than dict and it is not
  436|       |    // guaranteed that it keeps a strong reference to the module. It can be a
  437|       |    // custom mapping with __getitem__() which returns a new object or removes
  438|       |    // returned object, or __setitem__ which does nothing. There is so much
  439|       |    // unknown.  With weakref we can be sure that we get either a reference to
  440|       |    // live object or NULL.
  441|       |    //
  442|       |    // Use PyImport_AddModuleRef() to avoid these issues.
  443|      2|    PyObject *ref = PyWeakref_NewRef(mod, NULL);
  444|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  445|      2|    if (ref == NULL) {
  ------------------
  |  Branch (445:9): [True: 0, False: 2]
  ------------------
  446|      0|        return NULL;
  447|      0|    }
  448|      2|    mod = _PyWeakref_GET_REF(ref);
  449|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  450|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  451|       |
  452|      2|    if (mod == NULL && !PyErr_Occurred()) {
  ------------------
  |  Branch (452:9): [True: 0, False: 2]
  |  Branch (452:24): [True: 0, False: 0]
  ------------------
  453|      0|        PyErr_SetString(PyExc_RuntimeError,
  454|      0|                        "sys.modules does not hold a strong reference "
  455|      0|                        "to the module");
  456|      0|    }
  457|      2|    return mod; /* borrowed reference */
  458|      2|}
_PyImport_GetNextModuleIndex:
  505|    118|{
  506|    118|    return _Py_atomic_add_ssize(&LAST_MODULE_INDEX, 1) + 1;
  ------------------
  |  |   81|    118|#define LAST_MODULE_INDEX _PyRuntime.imports.last_module_index
  ------------------
  507|    118|}
_PyImport_ResolveNameWithPackageContext:
  885|      8|{
  886|      8|    if (PKGCONTEXT != NULL) {
  ------------------
  |  |  881|      8|# define PKGCONTEXT pkgcontext
  ------------------
  |  Branch (886:9): [True: 0, False: 8]
  ------------------
  887|      0|        const char *p = strrchr(PKGCONTEXT, '.');
  ------------------
  |  |  881|      0|# define PKGCONTEXT pkgcontext
  ------------------
  888|      0|        if (p != NULL && strcmp(name, p+1) == 0) {
  ------------------
  |  Branch (888:13): [True: 0, False: 0]
  |  Branch (888:26): [True: 0, False: 0]
  ------------------
  889|      0|            name = PKGCONTEXT;
  ------------------
  |  |  881|      0|# define PKGCONTEXT pkgcontext
  ------------------
  890|      0|            PKGCONTEXT = NULL;
  ------------------
  |  |  881|      0|# define PKGCONTEXT pkgcontext
  ------------------
  891|      0|        }
  892|      0|    }
  893|      8|    return name;
  894|      8|}
_PyImport_SwapPackageContext:
  898|    220|{
  899|    220|    const char *oldcontext = PKGCONTEXT;
  ------------------
  |  |  881|    220|# define PKGCONTEXT pkgcontext
  ------------------
  900|    220|    PKGCONTEXT = newcontext;
  ------------------
  |  |  881|    220|# define PKGCONTEXT pkgcontext
  ------------------
  901|    220|    return oldcontext;
  902|    220|}
_PyImport_GetDLOpenFlags:
  907|     98|{
  908|     98|    return DLOPENFLAGS(interp);
  ------------------
  |  |  105|     98|        (interp)->imports.dlopenflags
  ------------------
  909|     98|}
_PyImport_FixupBuiltin:
 2383|      4|{
 2384|      4|    int res = -1;
 2385|      4|    assert(mod != NULL && PyModule_Check(mod));
 2386|       |
 2387|      4|    PyObject *nameobj;
 2388|      4|    nameobj = PyUnicode_InternFromString(name);
 2389|      4|    if (nameobj == NULL) {
  ------------------
  |  Branch (2389:9): [True: 0, False: 4]
  ------------------
 2390|      0|        return -1;
 2391|      0|    }
 2392|       |
 2393|      4|    PyModuleDef *def = _PyModule_GetDefOrNull(mod);
 2394|      4|    if (def == NULL) {
  ------------------
  |  Branch (2394:9): [True: 0, False: 4]
  ------------------
 2395|      0|        assert(!PyErr_Occurred());
 2396|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
 2397|      0|        goto finally;
 2398|      0|    }
 2399|       |
 2400|       |    /* We only use _PyImport_FixupBuiltin() for the core builtin modules
 2401|       |     * (sys and builtins).  These modules are single-phase init with no
 2402|       |     * module state, but we also don't populate def->m_base.m_copy
 2403|       |     * for them. */
 2404|      4|    assert(is_core_module(tstate->interp, nameobj, nameobj));
 2405|      4|    assert_singlephase_def(def);
 2406|      4|    assert(def->m_size == -1);
 2407|      4|    assert(def->m_base.m_copy == NULL);
 2408|      4|    assert(def->m_base.m_index >= 0);
 2409|       |
 2410|       |    /* We aren't using import_find_extension() for core modules,
 2411|       |     * so we have to do the extra check to make sure the module
 2412|       |     * isn't already in the global cache before calling
 2413|       |     * update_global_state_for_extension(). */
 2414|      4|    struct extensions_cache_value *cached
 2415|      4|            = _extensions_cache_get(nameobj, nameobj);
 2416|      4|    if (cached == NULL) {
  ------------------
  |  Branch (2416:9): [True: 4, False: 0]
  ------------------
 2417|      4|        struct singlephase_global_update singlephase = {
 2418|      4|            .m_index=def->m_base.m_index,
 2419|       |            /* We don't want def->m_base.m_copy populated. */
 2420|      4|            .m_dict=NULL,
 2421|      4|            .origin=_Py_ext_module_origin_CORE,
 2422|       |#ifdef Py_GIL_DISABLED
 2423|       |            /* Unused when m_dict == NULL. */
 2424|       |            .md_requires_gil=false,
 2425|       |#endif
 2426|      4|        };
 2427|      4|        cached = update_global_state_for_extension(
 2428|      4|                tstate, nameobj, nameobj, def, &singlephase);
 2429|      4|        if (cached == NULL) {
  ------------------
  |  Branch (2429:13): [True: 0, False: 4]
  ------------------
 2430|      0|            goto finally;
 2431|      0|        }
 2432|      4|    }
 2433|       |
 2434|      4|    if (finish_singlephase_extension(tstate, mod, cached, nameobj, modules) < 0) {
  ------------------
  |  Branch (2434:9): [True: 0, False: 4]
  ------------------
 2435|      0|        goto finally;
 2436|      0|    }
 2437|       |
 2438|      4|    res = 0;
 2439|       |
 2440|      4|finally:
 2441|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2442|      4|    return res;
 2443|      4|}
_PyImport_GetBuiltinModuleNames:
 2688|      2|{
 2689|      2|    PyObject *list = PyList_New(0);
 2690|      2|    if (list == NULL) {
  ------------------
  |  Branch (2690:9): [True: 0, False: 2]
  ------------------
 2691|      0|        return NULL;
 2692|      0|    }
 2693|      2|    struct _inittab *inittab = INITTAB;
  ------------------
  |  |   80|      2|#define INITTAB _PyRuntime.imports.inittab
  ------------------
 2694|     78|    for (Py_ssize_t i = 0; inittab[i].name != NULL; i++) {
  ------------------
  |  Branch (2694:28): [True: 76, False: 2]
  ------------------
 2695|     76|        PyObject *name = PyUnicode_FromString(inittab[i].name);
 2696|     76|        if (name == NULL) {
  ------------------
  |  Branch (2696:13): [True: 0, False: 76]
  ------------------
 2697|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2698|      0|            return NULL;
 2699|      0|        }
 2700|     76|        if (PyList_Append(list, name) < 0) {
  ------------------
  |  Branch (2700:13): [True: 0, False: 76]
  ------------------
 2701|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2702|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2703|      0|            return NULL;
 2704|      0|        }
 2705|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2706|     76|    }
 2707|      2|    return list;
 2708|      2|}
PyImport_ImportFrozenModuleObject:
 3233|      2|{
 3234|      2|    PyThreadState *tstate = _PyThreadState_GET();
 3235|      2|    PyObject *co, *m, *d = NULL;
 3236|      2|    int err;
 3237|       |
 3238|      2|    struct frozen_info info;
 3239|      2|    frozen_status status = find_frozen(name, &info);
 3240|      2|    if (status == FROZEN_NOT_FOUND || status == FROZEN_DISABLED) {
  ------------------
  |  Branch (3240:9): [True: 0, False: 2]
  |  Branch (3240:39): [True: 0, False: 2]
  ------------------
 3241|      0|        return 0;
 3242|      0|    }
 3243|      2|    else if (status == FROZEN_BAD_NAME) {
  ------------------
  |  Branch (3243:14): [True: 0, False: 2]
  ------------------
 3244|      0|        return 0;
 3245|      0|    }
 3246|      2|    else if (status != FROZEN_OKAY) {
  ------------------
  |  Branch (3246:14): [True: 0, False: 2]
  ------------------
 3247|      0|        set_frozen_error(status, name);
 3248|      0|        return -1;
 3249|      0|    }
 3250|      2|    co = unmarshal_frozen_code(tstate->interp, &info);
 3251|      2|    if (co == NULL) {
  ------------------
  |  Branch (3251:9): [True: 0, False: 2]
  ------------------
 3252|      0|        return -1;
 3253|      0|    }
 3254|      2|    if (info.is_package) {
  ------------------
  |  Branch (3254:9): [True: 0, False: 2]
  ------------------
 3255|       |        /* Set __path__ to the empty list */
 3256|      0|        PyObject *l;
 3257|      0|        m = import_add_module(tstate, name);
 3258|      0|        if (m == NULL)
  ------------------
  |  Branch (3258:13): [True: 0, False: 0]
  ------------------
 3259|      0|            goto err_return;
 3260|      0|        d = PyModule_GetDict(m);
 3261|      0|        l = PyList_New(0);
 3262|      0|        if (l == NULL) {
  ------------------
  |  Branch (3262:13): [True: 0, False: 0]
  ------------------
 3263|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3264|      0|            goto err_return;
 3265|      0|        }
 3266|      0|        err = PyDict_SetItemString(d, "__path__", l);
 3267|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3268|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3269|      0|        if (err != 0)
  ------------------
  |  Branch (3269:13): [True: 0, False: 0]
  ------------------
 3270|      0|            goto err_return;
 3271|      0|    }
 3272|      2|    d = module_dict_for_exec(tstate, name);
 3273|      2|    if (d == NULL) {
  ------------------
  |  Branch (3273:9): [True: 0, False: 2]
  ------------------
 3274|      0|        goto err_return;
 3275|      0|    }
 3276|      2|    m = exec_code_in_module(tstate, name, d, co);
 3277|      2|    if (m == NULL) {
  ------------------
  |  Branch (3277:9): [True: 0, False: 2]
  ------------------
 3278|      0|        goto err_return;
 3279|      0|    }
 3280|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3281|       |    /* Set __origname__ (consumed in FrozenImporter._setup_module()). */
 3282|      2|    PyObject *origname;
 3283|      2|    if (info.origname) {
  ------------------
  |  Branch (3283:9): [True: 2, False: 0]
  ------------------
 3284|      2|        origname = PyUnicode_FromString(info.origname);
 3285|      2|        if (origname == NULL) {
  ------------------
  |  Branch (3285:13): [True: 0, False: 2]
  ------------------
 3286|      0|            goto err_return;
 3287|      0|        }
 3288|      2|    }
 3289|      0|    else {
 3290|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3291|      0|    }
 3292|      2|    err = PyDict_SetItemString(d, "__origname__", origname);
 3293|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3294|      2|    if (err != 0) {
  ------------------
  |  Branch (3294:9): [True: 0, False: 2]
  ------------------
 3295|      0|        goto err_return;
 3296|      0|    }
 3297|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3298|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3299|      2|    return 1;
 3300|       |
 3301|      0|err_return:
 3302|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3303|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3304|      0|    return -1;
 3305|      2|}
PyImport_ImportFrozenModule:
 3309|      2|{
 3310|      2|    PyObject *nameobj;
 3311|      2|    int ret;
 3312|      2|    nameobj = PyUnicode_InternFromString(name);
 3313|      2|    if (nameobj == NULL)
  ------------------
  |  Branch (3313:9): [True: 0, False: 2]
  ------------------
 3314|      0|        return -1;
 3315|      2|    ret = PyImport_ImportFrozenModuleObject(nameobj);
 3316|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3317|      2|    return ret;
 3318|      2|}
_PyImport_GetImportlibLoader:
 3448|      2|{
 3449|      2|    return PyObject_GetAttrString(IMPORTLIB(interp), loader_name);
  ------------------
  |  |   98|      2|    (interp)->imports.importlib
  ------------------
 3450|      2|}
_PyImport_InitDefaultImportFunc:
 3577|      2|{
 3578|       |    // Get the __import__ function
 3579|      2|    PyObject *import_func;
 3580|      2|    if (PyDict_GetItemStringRef(interp->builtins, "__import__", &import_func) <= 0) {
  ------------------
  |  Branch (3580:9): [True: 0, False: 2]
  ------------------
 3581|      0|        return -1;
 3582|      0|    }
 3583|      2|    IMPORT_FUNC(interp) = import_func;
  ------------------
  |  |  108|      2|    (interp)->imports.import_func
  ------------------
 3584|       |
 3585|       |    // Get the __lazy_import__ function
 3586|      2|    if (PyDict_GetItemStringRef(interp->builtins, "__lazy_import__",
  ------------------
  |  Branch (3586:9): [True: 0, False: 2]
  ------------------
 3587|      2|                                &import_func) <= 0) {
 3588|      0|        return -1;
 3589|      0|    }
 3590|      2|    LAZY_IMPORT_FUNC(interp) = import_func;
  ------------------
  |  |  111|      2|    (interp)->imports.lazy_import_func
  ------------------
 3591|      2|    return 0;
 3592|      2|}
_PyImport_IsDefaultImportFunc:
 3596|   464k|{
 3597|   464k|    return func == IMPORT_FUNC(interp);
  ------------------
  |  |  108|   464k|    (interp)->imports.import_func
  ------------------
 3598|   464k|}
_PyImport_IsDefaultLazyImportFunc:
 3602|     40|{
 3603|     40|    return func == LAZY_IMPORT_FUNC(interp);
  ------------------
  |  |  111|     40|    (interp)->imports.lazy_import_func
  ------------------
 3604|     40|}
PyImport_ImportModule:
 3611|    448|{
 3612|    448|    PyObject *pname;
 3613|    448|    PyObject *result;
 3614|       |
 3615|    448|    pname = PyUnicode_FromString(name);
 3616|    448|    if (pname == NULL)
  ------------------
  |  Branch (3616:9): [True: 0, False: 448]
  ------------------
 3617|      0|        return NULL;
 3618|    448|    result = PyImport_Import(pname);
 3619|    448|    Py_DECREF(pname);
  ------------------
  |  |  430|    448|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    448|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    448|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3620|    448|    return result;
 3621|    448|}
_PyImport_LoadLazyImportTstate:
 3878|      6|{
 3879|      6|    PyObject *obj = NULL;
 3880|      6|    PyObject *fromlist = Py_None;
  ------------------
  |  |  616|      6|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3881|      6|    PyObject *import_func = NULL;
 3882|      6|    assert(lazy_import != NULL);
 3883|      6|    assert(PyLazyImport_CheckExact(lazy_import));
 3884|       |
 3885|      6|    PyLazyImportObject *lz = (PyLazyImportObject *)lazy_import;
 3886|      6|    PyInterpreterState *interp = tstate->interp;
 3887|       |
 3888|       |    // Acquire the global import lock to serialize reification
 3889|      6|    _PyImport_AcquireLock(interp);
 3890|       |
 3891|       |    // Check if we are already importing this module, if so, then we want to
 3892|       |    // return an error that indicates we've hit a cycle which will indicate
 3893|       |    // the value isn't yet available.
 3894|      6|    PyObject *importing = interp->imports.lazy_importing_modules;
 3895|      6|    if (importing == NULL) {
  ------------------
  |  Branch (3895:9): [True: 2, False: 4]
  ------------------
 3896|      2|        importing = interp->imports.lazy_importing_modules = PySet_New(NULL);
 3897|      2|        if (importing == NULL) {
  ------------------
  |  Branch (3897:13): [True: 0, False: 2]
  ------------------
 3898|      0|            _PyImport_ReleaseLock(interp);
 3899|      0|            return NULL;
 3900|      0|        }
 3901|      2|    }
 3902|       |
 3903|      6|    assert(PyAnySet_CheckExact(importing));
 3904|      6|    int is_loading = _PySet_Contains((PySetObject *)importing, lazy_import);
 3905|      6|    if (is_loading < 0) {
  ------------------
  |  Branch (3905:9): [True: 0, False: 6]
  ------------------
 3906|      0|        _PyImport_ReleaseLock(interp);
 3907|      0|        return NULL;
 3908|      0|    }
 3909|      6|    else if (is_loading == 1) {
  ------------------
  |  Branch (3909:14): [True: 0, False: 6]
  ------------------
 3910|      0|        PyObject *name = _PyLazyImport_GetName(lazy_import);
 3911|      0|        if (name == NULL) {
  ------------------
  |  Branch (3911:13): [True: 0, False: 0]
  ------------------
 3912|      0|            _PyImport_ReleaseLock(interp);
 3913|      0|            return NULL;
 3914|      0|        }
 3915|      0|        PyObject *errmsg = PyUnicode_FromFormat(
 3916|      0|            "cannot import name %R (most likely due to a circular import)",
 3917|      0|            name);
 3918|      0|        if (errmsg == NULL) {
  ------------------
  |  Branch (3918:13): [True: 0, False: 0]
  ------------------
 3919|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3920|      0|            _PyImport_ReleaseLock(interp);
 3921|      0|            return NULL;
 3922|      0|        }
 3923|      0|        PyErr_SetImportErrorSubclass(PyExc_ImportCycleError, errmsg,
 3924|      0|                                     lz->lz_from, NULL);
 3925|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3926|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3927|      0|        _PyImport_ReleaseLock(interp);
 3928|      0|        return NULL;
 3929|      0|    }
 3930|      6|    else if (PySet_Add(importing, lazy_import) < 0) {
  ------------------
  |  Branch (3930:14): [True: 0, False: 6]
  ------------------
 3931|      0|        _PyImport_ReleaseLock(interp);
 3932|      0|        goto error;
 3933|      0|    }
 3934|       |
 3935|      6|    Py_ssize_t dot = -1;
 3936|      6|    int full = 0;
 3937|      6|    if (lz->lz_attr != NULL) {
  ------------------
  |  Branch (3937:9): [True: 0, False: 6]
  ------------------
 3938|      0|        full = 1;
 3939|      0|    }
 3940|      6|    if (!full) {
  ------------------
  |  Branch (3940:9): [True: 6, False: 0]
  ------------------
 3941|      6|        dot = PyUnicode_FindChar(lz->lz_from, '.', 0,
 3942|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3943|      6|    }
 3944|      6|    if (dot < 0) {
  ------------------
  |  Branch (3944:9): [True: 6, False: 0]
  ------------------
 3945|      6|        full = 1;
 3946|      6|    }
 3947|       |
 3948|      6|    if (lz->lz_attr != NULL) {
  ------------------
  |  Branch (3948:9): [True: 0, False: 6]
  ------------------
 3949|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3950|      0|            fromlist = PyTuple_New(1);
 3951|      0|            if (fromlist == NULL) {
  ------------------
  |  Branch (3951:17): [True: 0, False: 0]
  ------------------
 3952|      0|                goto error;
 3953|      0|            }
 3954|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3955|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3956|      0|        }
 3957|      0|        else {
 3958|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3959|      0|            fromlist = lz->lz_attr;
 3960|      0|        }
 3961|      0|    }
 3962|       |
 3963|      6|    PyObject *globals = PyEval_GetGlobals();
 3964|       |
 3965|      6|    if (PyMapping_GetOptionalItem(lz->lz_builtins, &_Py_ID(__import__),
  ------------------
  |  |  915|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3965:9): [True: 0, False: 6]
  ------------------
 3966|      6|                                  &import_func) < 0) {
 3967|      0|        goto error;
 3968|      0|    }
 3969|      6|    if (import_func == NULL) {
  ------------------
  |  Branch (3969:9): [True: 0, False: 6]
  ------------------
 3970|      0|        PyErr_SetString(PyExc_ImportError, "__import__ not found");
 3971|      0|        goto error;
 3972|      0|    }
 3973|      6|    if (full) {
  ------------------
  |  Branch (3973:9): [True: 6, False: 0]
  ------------------
 3974|      6|        obj = _PyEval_ImportNameWithImport(
 3975|      6|            tstate, import_func, globals, globals,
 3976|      6|            lz->lz_from, fromlist, _PyLong_GetZero()
 3977|      6|        );
 3978|      6|    }
 3979|      0|    else {
 3980|      0|        PyObject *name = PyUnicode_Substring(lz->lz_from, 0, dot);
 3981|      0|        if (name == NULL) {
  ------------------
  |  Branch (3981:13): [True: 0, False: 0]
  ------------------
 3982|      0|            goto error;
 3983|      0|        }
 3984|      0|        obj = _PyEval_ImportNameWithImport(
 3985|      0|            tstate, import_func, globals, globals,
 3986|      0|            name, fromlist, _PyLong_GetZero()
 3987|      0|        );
 3988|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3989|      0|    }
 3990|      6|    if (obj == NULL) {
  ------------------
  |  Branch (3990:9): [True: 0, False: 6]
  ------------------
 3991|      0|        goto error;
 3992|      0|    }
 3993|       |
 3994|      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 (3994:9): [True: 0, False: 6]
  ------------------
 3995|      0|        PyObject *from = obj;
 3996|      0|        obj = _PyEval_ImportFrom(tstate, from, lz->lz_attr);
 3997|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3998|      0|        if (obj == NULL) {
  ------------------
  |  Branch (3998:13): [True: 0, False: 0]
  ------------------
 3999|      0|            goto error;
 4000|      0|        }
 4001|      0|    }
 4002|       |
 4003|      6|    assert(!PyLazyImport_CheckExact(obj));
 4004|       |
 4005|      6|    goto ok;
 4006|       |
 4007|      0|error:
 4008|      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]
  |  |  ------------------
  ------------------
 4009|       |
 4010|       |    // If an error occurred and we have frame information, add it to the
 4011|       |    // exception.
 4012|      0|    if (PyErr_Occurred() && lz->lz_code != NULL && lz->lz_instr_offset >= 0) {
  ------------------
  |  Branch (4012:9): [True: 0, False: 0]
  |  Branch (4012:29): [True: 0, False: 0]
  |  Branch (4012:52): [True: 0, False: 0]
  ------------------
 4013|       |        // Get the current exception - this already has the full traceback
 4014|       |        // from the access point.
 4015|      0|        PyObject *exc = _PyErr_GetRaisedException(tstate);
 4016|       |
 4017|       |        // Get import name - this can fail and set an exception.
 4018|      0|        PyObject *import_name = _PyLazyImport_GetName(lazy_import);
 4019|      0|        if (!import_name) {
  ------------------
  |  Branch (4019:13): [True: 0, False: 0]
  ------------------
 4020|       |            // Failed to get import name, just restore original exception.
 4021|      0|            _PyErr_SetRaisedException(tstate, exc);
 4022|      0|            goto ok;
 4023|      0|        }
 4024|       |
 4025|       |        // Resolve line number from instruction offset on demand.
 4026|      0|        int lineno = PyCode_Addr2Line((PyCodeObject *)lz->lz_code,
 4027|      0|                                      lz->lz_instr_offset*2);
 4028|       |
 4029|       |        // Get strings - these can return NULL on encoding errors.
 4030|      0|        const char *filename_str = PyUnicode_AsUTF8(lz->lz_code->co_filename);
 4031|      0|        if (!filename_str) {
  ------------------
  |  Branch (4031:13): [True: 0, False: 0]
  ------------------
 4032|       |            // Unicode conversion failed - clear error and restore original
 4033|       |            // exception.
 4034|      0|            PyErr_Clear();
 4035|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4036|      0|            _PyErr_SetRaisedException(tstate, exc);
 4037|      0|            goto ok;
 4038|      0|        }
 4039|       |
 4040|      0|        const char *funcname_str = PyUnicode_AsUTF8(lz->lz_code->co_name);
 4041|      0|        if (!funcname_str) {
  ------------------
  |  Branch (4041:13): [True: 0, False: 0]
  ------------------
 4042|       |            // Unicode conversion failed - clear error and restore original
 4043|       |            // exception.
 4044|      0|            PyErr_Clear();
 4045|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4046|      0|            _PyErr_SetRaisedException(tstate, exc);
 4047|      0|            goto ok;
 4048|      0|        }
 4049|       |
 4050|       |        // Create a cause exception showing where the lazy import was declared.
 4051|      0|        PyObject *msg = PyUnicode_FromFormat(
 4052|      0|            "deferred import of '%U' raised an exception during resolution",
 4053|      0|            import_name
 4054|      0|        );
 4055|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4056|       |
 4057|      0|        if (!msg) {
  ------------------
  |  Branch (4057:13): [True: 0, False: 0]
  ------------------
 4058|       |            // Failed to create message - restore original exception.
 4059|      0|            _PyErr_SetRaisedException(tstate, exc);
 4060|      0|            goto ok;
 4061|      0|        }
 4062|       |
 4063|      0|        PyObject *cause_exc = PyObject_CallOneArg(PyExc_ImportError, msg);
 4064|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4065|       |
 4066|      0|        if (!cause_exc) {
  ------------------
  |  Branch (4066:13): [True: 0, False: 0]
  ------------------
 4067|       |            // Failed to create exception - restore original.
 4068|      0|            _PyErr_SetRaisedException(tstate, exc);
 4069|      0|            goto ok;
 4070|      0|        }
 4071|       |
 4072|       |        // Add traceback entry for the lazy import declaration.
 4073|      0|        _PyErr_SetRaisedException(tstate, cause_exc);
 4074|      0|        _PyTraceback_Add(funcname_str, filename_str, lineno);
 4075|      0|        PyObject *cause_with_tb = _PyErr_GetRaisedException(tstate);
 4076|       |
 4077|       |        // Set the cause on the original exception.
 4078|      0|        PyException_SetCause(exc, cause_with_tb);  // Steals ref to cause_with_tb.
 4079|       |
 4080|       |        // Restore the original exception with its full traceback.
 4081|      0|        _PyErr_SetRaisedException(tstate, exc);
 4082|      0|    }
 4083|       |
 4084|      6|ok:
 4085|      6|    if (PySet_Discard(importing, lazy_import) < 0) {
  ------------------
  |  Branch (4085:9): [True: 0, False: 6]
  ------------------
 4086|      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]
  |  |  ------------------
  ------------------
 4087|      0|    }
 4088|       |
 4089|       |    // Release the global import lock.
 4090|      6|    _PyImport_ReleaseLock(interp);
 4091|       |
 4092|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4093|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4094|      6|    return obj;
 4095|      0|}
PyImport_ImportModuleLevelObject:
 4177|   485k|{
 4178|   485k|    PyThreadState *tstate = _PyThreadState_GET();
 4179|   485k|    PyObject *abs_name = NULL;
 4180|   485k|    PyObject *final_mod = NULL;
 4181|   485k|    PyObject *mod = NULL;
 4182|   485k|    PyInterpreterState *interp = tstate->interp;
 4183|   485k|    int has_from;
 4184|       |
 4185|   485k|    if (name == NULL) {
  ------------------
  |  Branch (4185:9): [True: 0, False: 485k]
  ------------------
 4186|      0|        _PyErr_SetString(tstate, PyExc_ValueError, "Empty module name");
 4187|      0|        goto error;
 4188|      0|    }
 4189|       |
 4190|       |    /* The below code is importlib.__import__() & _gcd_import(), ported to C
 4191|       |       for added performance. */
 4192|       |
 4193|   485k|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|   485k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   485k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4193:9): [True: 0, False: 485k]
  ------------------
 4194|      0|        _PyErr_SetString(tstate, PyExc_TypeError,
 4195|      0|                         "module name must be a string");
 4196|      0|        goto error;
 4197|      0|    }
 4198|   485k|    if (level < 0) {
  ------------------
  |  Branch (4198:9): [True: 0, False: 485k]
  ------------------
 4199|      0|        _PyErr_SetString(tstate, PyExc_ValueError, "level must be >= 0");
 4200|      0|        goto error;
 4201|      0|    }
 4202|       |
 4203|   485k|    abs_name = get_abs_name(tstate, name, globals, level);
 4204|   485k|    if (abs_name == NULL) {
  ------------------
  |  Branch (4204:9): [True: 0, False: 485k]
  ------------------
 4205|      0|        goto error;
 4206|      0|    }
 4207|       |
 4208|   485k|    mod = import_get_module(tstate, abs_name);
 4209|   485k|    if (mod == NULL && _PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (4209:9): [True: 7.54k, False: 477k]
  |  Branch (4209:24): [True: 0, False: 7.54k]
  ------------------
 4210|      0|        goto error;
 4211|      0|    }
 4212|       |
 4213|   485k|    if (mod != NULL && mod != Py_None) {
  ------------------
  |  |  616|   477k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (4213:9): [True: 477k, False: 7.54k]
  |  Branch (4213:24): [True: 477k, False: 0]
  ------------------
 4214|   477k|        if (import_ensure_initialized(tstate->interp, mod, abs_name) < 0) {
  ------------------
  |  Branch (4214:13): [True: 0, False: 477k]
  ------------------
 4215|      0|            goto error;
 4216|      0|        }
 4217|       |        /* Verify the module is still in sys.modules. Another thread may have
 4218|       |           removed it (due to import failure) between our import_get_module()
 4219|       |           call and the _initializing check in import_ensure_initialized().
 4220|       |           If removed, we retry the import to preserve normal semantics: the
 4221|       |           caller gets the exception from the actual import failure rather
 4222|       |           than a synthetic error. */
 4223|   477k|        PyObject *mod_check = import_get_module(tstate, abs_name);
 4224|   477k|        if (mod_check != mod) {
  ------------------
  |  Branch (4224:13): [True: 0, False: 477k]
  ------------------
 4225|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4226|      0|            if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (4226:17): [True: 0, False: 0]
  ------------------
 4227|      0|                goto error;
 4228|      0|            }
 4229|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4230|      0|            mod = import_find_and_load(tstate, abs_name);
 4231|      0|            if (mod == NULL) {
  ------------------
  |  Branch (4231:17): [True: 0, False: 0]
  ------------------
 4232|      0|                goto error;
 4233|      0|            }
 4234|      0|        }
 4235|   477k|        else {
 4236|   477k|            Py_DECREF(mod_check);
  ------------------
  |  |  430|   477k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   477k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   477k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4237|   477k|        }
 4238|   477k|    }
 4239|  7.54k|    else {
 4240|  7.54k|        Py_XDECREF(mod);
  ------------------
  |  |  524|  7.54k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  7.54k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  7.54k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4241|  7.54k|        mod = import_find_and_load(tstate, abs_name);
 4242|  7.54k|        if (mod == NULL) {
  ------------------
  |  Branch (4242:13): [True: 6.91k, False: 632]
  ------------------
 4243|  6.91k|            goto error;
 4244|  6.91k|        }
 4245|  7.54k|    }
 4246|       |
 4247|   478k|    has_from = 0;
 4248|   478k|    if (fromlist != NULL && fromlist != Py_None) {
  ------------------
  |  |  616|   478k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (4248:9): [True: 478k, False: 476]
  |  Branch (4248:29): [True: 467k, False: 10.2k]
  ------------------
 4249|   467k|        has_from = PyObject_IsTrue(fromlist);
 4250|   467k|        if (has_from < 0)
  ------------------
  |  Branch (4250:13): [True: 0, False: 467k]
  ------------------
 4251|      0|            goto error;
 4252|   467k|    }
 4253|   478k|    if (!has_from) {
  ------------------
  |  Branch (4253:9): [True: 31.4k, False: 447k]
  ------------------
 4254|  31.4k|        Py_ssize_t len = PyUnicode_GET_LENGTH(name);
  ------------------
  |  |  299|  31.4k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  31.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  31.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4255|  31.4k|        if (level == 0 || len > 0) {
  ------------------
  |  Branch (4255:13): [True: 31.4k, False: 0]
  |  Branch (4255:27): [True: 0, False: 0]
  ------------------
 4256|  31.4k|            Py_ssize_t dot;
 4257|       |
 4258|  31.4k|            dot = PyUnicode_FindChar(name, '.', 0, len, 1);
 4259|  31.4k|            if (dot == -2) {
  ------------------
  |  Branch (4259:17): [True: 0, False: 31.4k]
  ------------------
 4260|      0|                goto error;
 4261|      0|            }
 4262|       |
 4263|  31.4k|            if (dot == -1) {
  ------------------
  |  Branch (4263:17): [True: 31.2k, False: 194]
  ------------------
 4264|       |                /* No dot in module name, simple exit */
 4265|  31.2k|                final_mod = Py_NewRef(mod);
  ------------------
  |  |  550|  31.2k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  31.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  31.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4266|  31.2k|                goto error;
 4267|  31.2k|            }
 4268|       |
 4269|    194|            if (level == 0) {
  ------------------
  |  Branch (4269:17): [True: 194, False: 0]
  ------------------
 4270|    194|                PyObject *front = PyUnicode_Substring(name, 0, dot);
 4271|    194|                if (front == NULL) {
  ------------------
  |  Branch (4271:21): [True: 0, False: 194]
  ------------------
 4272|      0|                    goto error;
 4273|      0|                }
 4274|       |
 4275|    194|                final_mod = PyImport_ImportModuleLevelObject(front, NULL, NULL, NULL, 0);
 4276|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4277|    194|            }
 4278|      0|            else {
 4279|      0|                Py_ssize_t cut_off = len - dot;
 4280|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4281|      0|                PyObject *to_return = PyUnicode_Substring(abs_name, 0,
 4282|      0|                                                        abs_name_len - cut_off);
 4283|      0|                if (to_return == NULL) {
  ------------------
  |  Branch (4283:21): [True: 0, False: 0]
  ------------------
 4284|      0|                    goto error;
 4285|      0|                }
 4286|       |
 4287|      0|                final_mod = import_get_module(tstate, to_return);
 4288|      0|                if (final_mod == NULL) {
  ------------------
  |  Branch (4288:21): [True: 0, False: 0]
  ------------------
 4289|      0|                    if (!_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (4289:25): [True: 0, False: 0]
  ------------------
 4290|      0|                        _PyErr_Format(tstate, PyExc_KeyError,
 4291|      0|                                      "%R not in sys.modules as expected",
 4292|      0|                                      to_return);
 4293|      0|                    }
 4294|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4295|      0|                    goto error;
 4296|      0|                }
 4297|       |
 4298|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4299|      0|            }
 4300|    194|        }
 4301|      0|        else {
 4302|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4303|      0|        }
 4304|  31.4k|    }
 4305|   447k|    else {
 4306|   447k|        int has_path = PyObject_HasAttrWithError(mod, &_Py_ID(__path__));
  ------------------
  |  |  915|   447k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|   447k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   447k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4307|   447k|        if (has_path < 0) {
  ------------------
  |  Branch (4307:13): [True: 0, False: 447k]
  ------------------
 4308|      0|            goto error;
 4309|      0|        }
 4310|   447k|        if (has_path) {
  ------------------
  |  Branch (4310:13): [True: 3.82k, False: 443k]
  ------------------
 4311|  3.82k|            final_mod = PyObject_CallMethodObjArgs(
 4312|  3.82k|                        IMPORTLIB(interp), &_Py_ID(_handle_fromlist),
  ------------------
  |  |   98|  3.82k|    (interp)->imports.importlib
  ------------------
                                      IMPORTLIB(interp), &_Py_ID(_handle_fromlist),
  ------------------
  |  |  915|  3.82k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  3.82k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  3.82k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4313|  3.82k|                        mod, fromlist, IMPORT_FUNC(interp), NULL);
  ------------------
  |  |  108|  3.82k|    (interp)->imports.import_func
  ------------------
 4314|  3.82k|        }
 4315|   443k|        else {
 4316|   443k|            final_mod = Py_NewRef(mod);
  ------------------
  |  |  550|   443k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   443k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   443k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4317|   443k|        }
 4318|   447k|    }
 4319|       |
 4320|   485k|  error:
 4321|   485k|    Py_XDECREF(abs_name);
  ------------------
  |  |  524|   485k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   485k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   485k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4322|   485k|    Py_XDECREF(mod);
  ------------------
  |  |  524|   485k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   485k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   485k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4323|   485k|    if (final_mod == NULL) {
  ------------------
  |  Branch (4323:9): [True: 6.91k, False: 478k]
  ------------------
 4324|  6.91k|        remove_importlib_frames(tstate);
 4325|  6.91k|    }
 4326|   485k|    return final_mod;
 4327|   478k|}
_PyImport_LazyImportModuleLevelObject:
 4477|     40|{
 4478|     40|    assert(name != NULL);
 4479|     40|    if (!PyUnicode_Check(name)) {
  ------------------
  |  |  103|     40|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     40|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (4479:9): [True: 0, False: 40]
  ------------------
 4480|      0|        _PyErr_Format(tstate, PyExc_TypeError,
 4481|      0|                      "module name must be a string, got %T", name);
 4482|      0|        return NULL;
 4483|      0|    }
 4484|     40|    if (level < 0) {
  ------------------
  |  Branch (4484:9): [True: 0, False: 40]
  ------------------
 4485|      0|        _PyErr_SetString(tstate, PyExc_ValueError, "level must be >= 0");
 4486|      0|        return NULL;
 4487|      0|    }
 4488|       |
 4489|     40|    PyObject *abs_name = get_abs_name(tstate, name, globals, level);
 4490|     40|    if (abs_name == NULL) {
  ------------------
  |  Branch (4490:9): [True: 0, False: 40]
  ------------------
 4491|      0|        return NULL;
 4492|      0|    }
 4493|       |
 4494|     40|    PyInterpreterState *interp = tstate->interp;
 4495|     40|    _PyInterpreterFrame *frame = _PyEval_GetFrame();
 4496|     40|    if (frame == NULL || frame->f_globals != frame->f_locals) {
  ------------------
  |  Branch (4496:9): [True: 0, False: 40]
  |  Branch (4496:26): [True: 0, False: 40]
  ------------------
 4497|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4498|      0|        PyErr_SetString(PyExc_SyntaxError,
 4499|      0|                        "'lazy import' is only allowed at module level");
 4500|      0|        return NULL;
 4501|      0|    }
 4502|       |
 4503|       |    // Check if the filter disables the lazy import.
 4504|       |    // We must hold a reference to the filter while calling it to prevent
 4505|       |    // use-after-free if another thread replaces it via
 4506|       |    // PyImport_SetLazyImportsFilter.
 4507|     40|    LAZY_IMPORTS_LOCK(interp);
 4508|     40|    PyObject *filter = Py_XNewRef(LAZY_IMPORTS_FILTER(interp));
  ------------------
  |  |  551|     40|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4509|     40|    LAZY_IMPORTS_UNLOCK(interp);
 4510|       |
 4511|     40|    if (filter != NULL) {
  ------------------
  |  Branch (4511:9): [True: 0, False: 40]
  ------------------
 4512|      0|        PyObject *modname;
 4513|      0|        if (PyDict_GetItemRef(globals, &_Py_ID(__name__), &modname) < 0) {
  ------------------
  |  |  915|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4513:13): [True: 0, False: 0]
  ------------------
 4514|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4515|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4516|      0|            return NULL;
 4517|      0|        }
 4518|      0|        if (modname == NULL) {
  ------------------
  |  Branch (4518:13): [True: 0, False: 0]
  ------------------
 4519|      0|            assert(!PyErr_Occurred());
 4520|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4521|      0|        }
 4522|      0|        if (fromlist == NULL) {
  ------------------
  |  Branch (4522:13): [True: 0, False: 0]
  ------------------
 4523|      0|            assert(!PyErr_Occurred());
 4524|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4525|      0|        }
 4526|      0|        PyObject *args[] = {modname, abs_name, fromlist};
 4527|      0|        PyObject *res = PyObject_Vectorcall(filter, args, 3, NULL);
 4528|       |
 4529|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4530|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4531|       |
 4532|      0|        if (res == NULL) {
  ------------------
  |  Branch (4532:13): [True: 0, False: 0]
  ------------------
 4533|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4534|      0|            return NULL;
 4535|      0|        }
 4536|       |
 4537|      0|        int is_true = PyObject_IsTrue(res);
 4538|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4539|       |
 4540|      0|        if (is_true < 0) {
  ------------------
  |  Branch (4540:13): [True: 0, False: 0]
  ------------------
 4541|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4542|      0|            return NULL;
 4543|      0|        }
 4544|      0|        if (!is_true) {
  ------------------
  |  Branch (4544:13): [True: 0, False: 0]
  ------------------
 4545|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4546|      0|            return PyImport_ImportModuleLevelObject(
 4547|      0|                name, globals, locals, fromlist, level
 4548|      0|            );
 4549|      0|        }
 4550|      0|    }
 4551|       |
 4552|       |    // here, 'filter' is either NULL or is equivalent to a borrowed reference
 4553|     40|    PyObject *res = _PyLazyImport_New(frame, builtins, abs_name, fromlist);
 4554|     40|    if (res == NULL) {
  ------------------
  |  Branch (4554:9): [True: 0, False: 40]
  ------------------
 4555|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4556|      0|        return NULL;
 4557|      0|    }
 4558|     40|    if (fromlist && PyUnicode_Check(fromlist)) {
  ------------------
  |  |  103|     40|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     40|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 0, False: 40]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4558:9): [True: 40, False: 0]
  ------------------
 4559|      0|        if (register_from_lazy_on_parent(tstate, abs_name, fromlist,
  ------------------
  |  Branch (4559:13): [True: 0, False: 0]
  ------------------
 4560|      0|                                         builtins) < 0) {
 4561|      0|            goto error;
 4562|      0|        }
 4563|      0|    }
 4564|     40|    else if (fromlist && PyTuple_Check(fromlist) &&
  ------------------
  |  |   27|     40|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     80|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 12, False: 28]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4564:14): [True: 40, False: 0]
  ------------------
 4565|     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]
  |  |  ------------------
  ------------------
 4566|     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 (4566:32): [True: 20, False: 12]
  ------------------
 4567|     20|            if (register_from_lazy_on_parent(tstate, abs_name,
  ------------------
  |  Branch (4567:17): [True: 0, False: 20]
  ------------------
 4568|     20|                                             PyTuple_GET_ITEM(fromlist, i),
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4569|     20|                                             builtins) < 0)
 4570|      0|            {
 4571|      0|                goto error;
 4572|      0|            }
 4573|     20|        }
 4574|     12|    }
 4575|     28|    else if (register_lazy_on_parent(tstate, abs_name, builtins) < 0) {
  ------------------
  |  Branch (4575:14): [True: 0, False: 28]
  ------------------
 4576|      0|        goto error;
 4577|      0|    }
 4578|       |
 4579|     40|    Py_DECREF(abs_name);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4580|     40|    return res;
 4581|      0|error:
 4582|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4583|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4584|       |    return NULL;
 4585|     40|}
PyImport_ImportModuleLevel:
 4590|     16|{
 4591|     16|    PyObject *nameobj, *mod;
 4592|     16|    nameobj = PyUnicode_FromString(name);
 4593|     16|    if (nameobj == NULL)
  ------------------
  |  Branch (4593:9): [True: 0, False: 16]
  ------------------
 4594|      0|        return NULL;
 4595|     16|    mod = PyImport_ImportModuleLevelObject(nameobj, globals, locals,
 4596|     16|                                           fromlist, level);
 4597|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4598|     16|    return mod;
 4599|     16|}
PyImport_Import:
 4638|  20.6k|{
 4639|  20.6k|    PyThreadState *tstate = _PyThreadState_GET();
 4640|  20.6k|    PyObject *globals = NULL;
 4641|  20.6k|    PyObject *import = NULL;
 4642|  20.6k|    PyObject *builtins = NULL;
 4643|  20.6k|    PyObject *r = NULL;
 4644|       |
 4645|  20.6k|    PyObject *from_list = PyList_New(0);
 4646|  20.6k|    if (from_list == NULL) {
  ------------------
  |  Branch (4646:9): [True: 0, False: 20.6k]
  ------------------
 4647|      0|        goto err;
 4648|      0|    }
 4649|       |
 4650|       |    /* Get the builtins from current globals */
 4651|  20.6k|    globals = PyEval_GetGlobals();  // borrowed
 4652|  20.6k|    if (globals != NULL) {
  ------------------
  |  Branch (4652:9): [True: 20.6k, False: 16]
  ------------------
 4653|  20.6k|        Py_INCREF(globals);
  ------------------
  |  |  310|  20.6k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  20.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4654|       |        // XXX Use _PyEval_EnsureBuiltins()?
 4655|  20.6k|        builtins = PyObject_GetItem(globals, &_Py_ID(__builtins__));
  ------------------
  |  |  915|  20.6k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  20.6k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  20.6k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4656|  20.6k|        if (builtins == NULL) {
  ------------------
  |  Branch (4656:13): [True: 0, False: 20.6k]
  ------------------
 4657|       |            // XXX Fall back to interp->builtins or sys.modules['builtins']?
 4658|      0|            goto err;
 4659|      0|        }
 4660|  20.6k|    }
 4661|     16|    else if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (4661:14): [True: 0, False: 16]
  ------------------
 4662|      0|        goto err;
 4663|      0|    }
 4664|     16|    else {
 4665|       |        /* No globals -- use standard builtins, and fake globals */
 4666|     16|        globals = PyDict_New();
 4667|     16|        if (globals == NULL) {
  ------------------
  |  Branch (4667:13): [True: 0, False: 16]
  ------------------
 4668|      0|            goto err;
 4669|      0|        }
 4670|     16|        if (_PyEval_EnsureBuiltinsWithModule(tstate, globals, &builtins) < 0) {
  ------------------
  |  Branch (4670:13): [True: 0, False: 16]
  ------------------
 4671|      0|            goto err;
 4672|      0|        }
 4673|     16|    }
 4674|       |
 4675|       |    /* Get the __import__ function from the builtins */
 4676|  20.6k|    if (PyDict_Check(builtins)) {
  ------------------
  |  |   18|  20.6k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  20.6k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 20.6k, False: 16]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4677|  20.6k|        import = PyObject_GetItem(builtins, &_Py_ID(__import__));
  ------------------
  |  |  915|  20.6k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  20.6k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  20.6k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4678|  20.6k|        if (import == NULL) {
  ------------------
  |  Branch (4678:13): [True: 0, False: 20.6k]
  ------------------
 4679|      0|            _PyErr_SetObject(tstate, PyExc_KeyError, &_Py_ID(__import__));
  ------------------
  |  |  915|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4680|      0|        }
 4681|  20.6k|    }
 4682|     16|    else
 4683|     16|        import = PyObject_GetAttr(builtins, &_Py_ID(__import__));
  ------------------
  |  |  915|     16|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     16|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     16|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4684|  20.6k|    if (import == NULL)
  ------------------
  |  Branch (4684:9): [True: 0, False: 20.6k]
  ------------------
 4685|      0|        goto err;
 4686|       |
 4687|       |    /* Call the __import__ function with the proper argument list
 4688|       |       Always use absolute import here.
 4689|       |       Calling for side-effect of import. */
 4690|  20.6k|    r = PyObject_CallFunction(import, "OOOOi", module_name, globals,
 4691|  20.6k|                              globals, from_list, 0, NULL);
 4692|  20.6k|    if (r == NULL)
  ------------------
  |  Branch (4692:9): [True: 0, False: 20.6k]
  ------------------
 4693|      0|        goto err;
 4694|  20.6k|    Py_DECREF(r);
  ------------------
  |  |  430|  20.6k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  20.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4695|       |
 4696|  20.6k|    r = import_get_module(tstate, module_name);
 4697|  20.6k|    if (r == NULL && !_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (4697:9): [True: 0, False: 20.6k]
  |  Branch (4697:22): [True: 0, False: 0]
  ------------------
 4698|      0|        _PyErr_SetObject(tstate, PyExc_KeyError, module_name);
 4699|      0|    }
 4700|       |
 4701|  20.6k|  err:
 4702|  20.6k|    Py_XDECREF(globals);
  ------------------
  |  |  524|  20.6k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  20.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4703|  20.6k|    Py_XDECREF(builtins);
  ------------------
  |  |  524|  20.6k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  20.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4704|  20.6k|    Py_XDECREF(import);
  ------------------
  |  |  524|  20.6k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  20.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4705|  20.6k|    Py_XDECREF(from_list);
  ------------------
  |  |  524|  20.6k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  20.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  20.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4706|       |
 4707|  20.6k|    return r;
 4708|  20.6k|}
_PyImport_Init:
 4717|      2|{
 4718|      2|    if (INITTAB != NULL) {
  ------------------
  |  |   80|      2|#define INITTAB _PyRuntime.imports.inittab
  ------------------
  |  Branch (4718:9): [True: 0, False: 2]
  ------------------
 4719|      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)}
  ------------------
 4720|      0|    }
 4721|      2|    if (init_builtin_modules_table() != 0) {
  ------------------
  |  Branch (4721:9): [True: 0, False: 2]
  ------------------
 4722|      0|        return PyStatus_NoMemory();
 4723|      0|    }
 4724|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 4725|      2|}
_PyImport_InitCore:
 4757|      2|{
 4758|       |    // XXX Initialize here: interp->modules and interp->import_func.
 4759|       |    // XXX Initialize here: sys.modules and sys.meta_path.
 4760|       |
 4761|      2|    if (importlib) {
  ------------------
  |  Branch (4761:9): [True: 2, False: 0]
  ------------------
 4762|       |        /* This call sets up builtin and frozen import support */
 4763|      2|        if (init_importlib(tstate, sysmod) < 0) {
  ------------------
  |  Branch (4763:13): [True: 0, False: 2]
  ------------------
 4764|      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)}
  ------------------
 4765|      0|        }
 4766|      2|    }
 4767|       |
 4768|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 4769|      2|}
_PyImport_InitExternal:
 4862|      2|{
 4863|      2|    int verbose = _PyInterpreterState_GetConfig(tstate->interp)->verbose;
 4864|       |
 4865|       |    // XXX Initialize here: sys.path_hooks and sys.path_importer_cache.
 4866|       |
 4867|      2|    if (init_importlib_external(tstate->interp) != 0) {
  ------------------
  |  Branch (4867:9): [True: 0, False: 2]
  ------------------
 4868|      0|        _PyErr_Print(tstate);
 4869|      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)}
  ------------------
 4870|      0|    }
 4871|       |
 4872|      2|    if (init_zipimport(tstate, verbose) != 0) {
  ------------------
  |  Branch (4872:9): [True: 0, False: 2]
  ------------------
 4873|      0|        PyErr_Print();
 4874|      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)}
  ------------------
 4875|      0|    }
 4876|       |
 4877|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 4878|      2|}
PyImport_ImportModuleAttr:
 4904|  15.9k|{
 4905|  15.9k|    PyObject *mod = PyImport_Import(modname);
 4906|  15.9k|    if (mod == NULL) {
  ------------------
  |  Branch (4906:9): [True: 0, False: 15.9k]
  ------------------
 4907|      0|        return NULL;
 4908|      0|    }
 4909|  15.9k|    PyObject *result = PyObject_GetAttr(mod, attrname);
 4910|  15.9k|    Py_DECREF(mod);
  ------------------
  |  |  430|  15.9k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  15.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4911|  15.9k|    return result;
 4912|  15.9k|}
PyImport_ImportModuleAttrString:
 4916|  15.9k|{
 4917|  15.9k|    PyObject *pmodname = PyUnicode_FromString(modname);
 4918|  15.9k|    if (pmodname == NULL) {
  ------------------
  |  Branch (4918:9): [True: 0, False: 15.9k]
  ------------------
 4919|      0|        return NULL;
 4920|      0|    }
 4921|  15.9k|    PyObject *pattrname = PyUnicode_FromString(attrname);
 4922|  15.9k|    if (pattrname == NULL) {
  ------------------
  |  Branch (4922:9): [True: 0, False: 15.9k]
  ------------------
 4923|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4924|      0|        return NULL;
 4925|      0|    }
 4926|  15.9k|    PyObject *result = PyImport_ImportModuleAttr(pmodname, pattrname);
 4927|  15.9k|    Py_DECREF(pattrname);
  ------------------
  |  |  430|  15.9k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  15.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4928|  15.9k|    Py_DECREF(pmodname);
  ------------------
  |  |  430|  15.9k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  15.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  15.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4929|  15.9k|    return result;
 4930|  15.9k|}
PyImport_GetLazyImportsMode:
 4980|  13.8k|{
 4981|  13.8k|    PyInterpreterState *interp = _PyInterpreterState_GET();
 4982|  13.8k|    return FT_ATOMIC_LOAD_INT_RELAXED(LAZY_IMPORTS_MODE(interp));
  ------------------
  |  |  185|  13.8k|#define FT_ATOMIC_LOAD_INT_RELAXED(value) value
  ------------------
 4983|  13.8k|}
PyInit__imp:
 5741|      2|{
 5742|      2|    return PyModuleDef_Init(&imp_module);
 5743|      2|}
import.c:get_modules_dict:
  215|  1.01M|{
  216|       |    /* Technically, it would make sense to incref the dict,
  217|       |     * since sys.modules could be swapped out and decref'ed to 0
  218|       |     * before the caller is done using it.  However, that is highly
  219|       |     * unlikely, especially since we can rely on a global lock
  220|       |     * (i.e. the GIL) for thread-safety. */
  221|  1.01M|    PyObject *modules = MODULES(tstate->interp);
  ------------------
  |  |   92|  1.01M|    (interp)->imports.modules
  ------------------
  222|  1.01M|    if (modules == NULL) {
  ------------------
  |  Branch (222:9): [True: 0, False: 1.01M]
  ------------------
  223|      0|        if (fatal) {
  ------------------
  |  Branch (223:13): [True: 0, False: 0]
  ------------------
  224|      0|            Py_FatalError("interpreter has no modules dictionary");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
  225|      0|        }
  226|      0|        _PyErr_SetString(tstate, PyExc_RuntimeError,
  227|      0|                         "unable to get sys.modules");
  228|      0|        return NULL;
  229|      0|    }
  230|  1.01M|    return modules;
  231|  1.01M|}
import.c:import_get_module:
  258|  1.00M|{
  259|  1.00M|    PyObject *modules = get_modules_dict(tstate, false);
  260|  1.00M|    if (modules == NULL) {
  ------------------
  |  Branch (260:9): [True: 0, False: 1.00M]
  ------------------
  261|      0|        return NULL;
  262|      0|    }
  263|       |
  264|  1.00M|    PyObject *m;
  265|  1.00M|    Py_INCREF(modules);
  ------------------
  |  |  310|  1.00M|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.00M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.00M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  266|  1.00M|    (void)PyMapping_GetOptionalItem(modules, name, &m);
  267|  1.00M|    Py_DECREF(modules);
  ------------------
  |  |  430|  1.00M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.00M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.00M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  268|  1.00M|    return m;
  269|  1.00M|}
import.c:import_ensure_initialized:
  287|   490k|{
  288|   490k|    PyObject *spec;
  289|       |
  290|       |    /* Optimization: only call _bootstrap._lock_unlock_module() if
  291|       |       __spec__._initializing is true.
  292|       |       NOTE: because of this, initializing must be set *before*
  293|       |       stuffing the new module in sys.modules.
  294|       |    */
  295|   490k|    int rc = PyObject_GetOptionalAttr(mod, &_Py_ID(__spec__), &spec);
  ------------------
  |  |  915|   490k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|   490k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|   490k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  296|   490k|    if (rc > 0) {
  ------------------
  |  Branch (296:9): [True: 490k, False: 0]
  ------------------
  297|   490k|        rc = _PyModuleSpec_IsInitializing(spec);
  298|   490k|        Py_DECREF(spec);
  ------------------
  |  |  430|   490k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   490k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   490k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  299|   490k|    }
  300|   490k|    if (rc == 0) {
  ------------------
  |  Branch (300:9): [True: 490k, False: 554]
  ------------------
  301|   490k|        goto done;
  302|   490k|    }
  303|    554|    else if (rc < 0) {
  ------------------
  |  Branch (303:14): [True: 0, False: 554]
  ------------------
  304|      0|        return rc;
  305|      0|    }
  306|       |
  307|       |    /* Wait until module is done importing. */
  308|    554|    PyObject *value = PyObject_CallMethodOneArg(
  309|    554|        IMPORTLIB(interp), &_Py_ID(_lock_unlock_module), name);
  ------------------
  |  |   98|    554|    (interp)->imports.importlib
  ------------------
                      IMPORTLIB(interp), &_Py_ID(_lock_unlock_module), name);
  ------------------
  |  |  915|    554|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    554|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    554|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  310|    554|    if (value == NULL) {
  ------------------
  |  Branch (310:9): [True: 0, False: 554]
  ------------------
  311|      0|        return -1;
  312|      0|    }
  313|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  314|       |
  315|   490k|done:
  316|       |    /* When -X importtime=2, print an import time entry even if an
  317|       |       imported module has already been loaded.
  318|       |     */
  319|   490k|    if (_PyInterpreterState_GetConfig(interp)->import_time == 2) {
  ------------------
  |  Branch (319:9): [True: 0, False: 490k]
  ------------------
  320|      0|        _IMPORT_TIME_HEADER(interp);
  ------------------
  |  |  135|      0|    do {                                                                      \
  |  |  136|      0|        if (FIND_AND_LOAD((interp)).header) {                                 \
  |  |  ------------------
  |  |  |  |  117|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  |  |  |  Branch (136:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  137|      0|            fputs("import time: self [us] | cumulative | imported package\n", \
  |  |  138|      0|                  stderr);                                                    \
  |  |  139|      0|            FIND_AND_LOAD((interp)).header = 0;                               \
  |  |  ------------------
  |  |  |  |  117|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  |  |  140|      0|        }                                                                     \
  |  |  141|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (141:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
  321|      0|#define import_level FIND_AND_LOAD(interp).import_level
  322|      0|        fprintf(stderr, "import time: cached    | cached     | %*s\n",
  323|      0|                import_level*2, PyUnicode_AsUTF8(name));
  ------------------
  |  |  321|      0|#define import_level FIND_AND_LOAD(interp).import_level
  |  |  ------------------
  |  |  |  |  117|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  ------------------
  324|      0|#undef import_level
  325|      0|    }
  326|       |
  327|   490k|    return 0;
  328|    554|}
import.c:import_add_module:
  397|     10|{
  398|     10|    PyObject *modules = get_modules_dict(tstate, false);
  399|     10|    if (modules == NULL) {
  ------------------
  |  Branch (399:9): [True: 0, False: 10]
  ------------------
  400|      0|        return NULL;
  401|      0|    }
  402|       |
  403|     10|    PyObject *m;
  404|     10|    Py_BEGIN_CRITICAL_SECTION(modules);
  ------------------
  |  |   51|     10|    {
  ------------------
  405|     10|    m = import_add_module_lock_held(modules, name);
  406|     10|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     10|    }
  ------------------
  407|     10|    return m;
  408|     10|}
import.c:import_add_module_lock_held:
  375|     10|{
  376|     10|    PyObject *m;
  377|     10|    if (PyMapping_GetOptionalItem(modules, name, &m) < 0) {
  ------------------
  |  Branch (377:9): [True: 0, False: 10]
  ------------------
  378|      0|        return NULL;
  379|      0|    }
  380|     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 (380:9): [True: 6, False: 4]
  ------------------
  381|      6|        return m;
  382|      6|    }
  383|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  384|      4|    m = PyModule_NewObject(name);
  385|      4|    if (m == NULL)
  ------------------
  |  Branch (385:9): [True: 0, False: 4]
  ------------------
  386|      0|        return NULL;
  387|      4|    if (PyObject_SetItem(modules, name, m) != 0) {
  ------------------
  |  Branch (387:9): [True: 0, False: 4]
  ------------------
  388|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  389|      0|        return NULL;
  390|      0|    }
  391|       |
  392|      4|    return m;
  393|      4|}
import.c:_modules_by_index_set:
  575|      4|{
  576|      4|    assert(index > 0);
  577|       |
  578|      4|    if (MODULES_BY_INDEX(interp) == NULL) {
  ------------------
  |  |   94|      4|    (interp)->imports.modules_by_index
  ------------------
  |  Branch (578:9): [True: 2, False: 2]
  ------------------
  579|      2|        MODULES_BY_INDEX(interp) = PyList_New(0);
  ------------------
  |  |   94|      2|    (interp)->imports.modules_by_index
  ------------------
  580|      2|        if (MODULES_BY_INDEX(interp) == NULL) {
  ------------------
  |  |   94|      2|    (interp)->imports.modules_by_index
  ------------------
  |  Branch (580:13): [True: 0, False: 2]
  ------------------
  581|      0|            return -1;
  582|      0|        }
  583|      2|    }
  584|       |
  585|     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 (585:12): [True: 10, False: 4]
  ------------------
  586|     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 (586:13): [True: 0, False: 10]
  ------------------
  587|      0|            return -1;
  588|      0|        }
  589|     10|    }
  590|       |
  591|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  592|      4|}
import.c:_get_cached_module_index:
 1120|      4|{
 1121|       |    assert(cached->m_index > 0);
 1122|      4|    return cached->m_index;
 1123|      4|}
import.c:switch_to_main_interpreter:
 1664|    110|{
 1665|    110|    if (_Py_IsMainInterpreter(tstate->interp)) {
  ------------------
  |  Branch (1665:9): [True: 110, False: 0]
  ------------------
 1666|    110|        return tstate;
 1667|    110|    }
 1668|      0|    PyThreadState *main_tstate = _PyThreadState_NewBound(
 1669|      0|            _PyInterpreterState_Main(), _PyThreadState_WHENCE_EXEC);
  ------------------
  |  |  109|      0|#  define _PyThreadState_WHENCE_EXEC 5
  ------------------
 1670|      0|    if (main_tstate == NULL) {
  ------------------
  |  Branch (1670:9): [True: 0, False: 0]
  ------------------
 1671|      0|        return NULL;
 1672|      0|    }
 1673|       |#ifndef NDEBUG
 1674|       |    PyThreadState *old_tstate = PyThreadState_Swap(main_tstate);
 1675|       |    assert(old_tstate == tstate);
 1676|       |#else
 1677|      0|    (void)PyThreadState_Swap(main_tstate);
 1678|      0|#endif
 1679|      0|    return main_tstate;
 1680|      0|}
import.c:extensions_lock_acquire:
 1033|    120|{
 1034|    120|    PyMutex_Lock(&_PyRuntime.imports.extensions.mutex);
  ------------------
  |  |   59|    120|#define PyMutex_Lock _PyMutex_Lock
  ------------------
 1035|    120|}
import.c:_extensions_cache_find_unlocked:
 1382|    120|{
 1383|    120|    if (EXTENSIONS.hashtable == NULL) {
  ------------------
  |  |   82|    120|#define EXTENSIONS _PyRuntime.imports.extensions
  ------------------
  |  Branch (1383:9): [True: 2, False: 118]
  ------------------
 1384|      2|        return NULL;
 1385|      2|    }
 1386|    118|    void *key = hashtable_key_from_2_strings(path, name, HTSEP);
  ------------------
  |  | 1359|    118|#define HTSEP ':'
  ------------------
 1387|    118|    if (key == NULL) {
  ------------------
  |  Branch (1387:9): [True: 0, False: 118]
  ------------------
 1388|      0|        return NULL;
 1389|      0|    }
 1390|    118|    _Py_hashtable_entry_t *entry =
 1391|    118|            _Py_hashtable_get_entry(EXTENSIONS.hashtable, key);
  ------------------
  |  |   82|    118|#define EXTENSIONS _PyRuntime.imports.extensions
  ------------------
 1392|    118|    if (p_key != NULL) {
  ------------------
  |  Branch (1392:9): [True: 4, False: 114]
  ------------------
 1393|      4|        *p_key = key;
 1394|      4|    }
 1395|    114|    else {
 1396|    114|        hashtable_destroy_str(key);
 1397|    114|    }
 1398|    118|    return entry;
 1399|    118|}
import.c:hashtable_key_from_2_strings:
 1278|    118|{
 1279|    118|    const char *str1_data = _PyUnicode_AsUTF8NoNUL(str1);
 1280|    118|    const char *str2_data = _PyUnicode_AsUTF8NoNUL(str2);
 1281|    118|    if (str1_data == NULL || str2_data == NULL) {
  ------------------
  |  Branch (1281:9): [True: 0, False: 118]
  |  Branch (1281:30): [True: 0, False: 118]
  ------------------
 1282|      0|        return NULL;
 1283|      0|    }
 1284|    118|    Py_ssize_t str1_len = strlen(str1_data);
 1285|    118|    Py_ssize_t str2_len = strlen(str2_data);
 1286|       |
 1287|       |    /* Make sure sep and the NULL byte won't cause an overflow. */
 1288|    118|    assert(SIZE_MAX - str1_len - str2_len > 2);
 1289|    118|    size_t size = str1_len + 1 + str2_len + 1;
 1290|       |
 1291|       |    // XXX Use a buffer if it's a temp value (every case but "set").
 1292|    118|    char *key = PyMem_RawMalloc(size);
 1293|    118|    if (key == NULL) {
  ------------------
  |  Branch (1293:9): [True: 0, False: 118]
  ------------------
 1294|      0|        PyErr_NoMemory();
 1295|      0|        return NULL;
 1296|      0|    }
 1297|       |
 1298|    118|    memcpy(key, str1_data, str1_len);
 1299|    118|    key[str1_len] = sep;
 1300|    118|    memcpy(key + str1_len + 1, str2_data, str2_len);
 1301|    118|    key[size - 1] = '\0';
 1302|       |    assert(strlen(key) == size - 1);
 1303|    118|    return key;
 1304|    118|}
import.c:hashtable_destroy_str:
 1320|    114|{
 1321|    114|    PyMem_RawFree(ptr);
 1322|    114|}
import.c:extensions_lock_release:
 1039|    120|{
 1040|    120|    PyMutex_Unlock(&_PyRuntime.imports.extensions.mutex);
  ------------------
  |  |   70|    120|#define PyMutex_Unlock _PyMutex_Unlock
  ------------------
 1041|    120|}
import.c:_extensions_cache_get:
 1404|    116|{
 1405|    116|    struct extensions_cache_value *value = NULL;
 1406|    116|    extensions_lock_acquire();
 1407|       |
 1408|    116|    _Py_hashtable_entry_t *entry =
 1409|    116|            _extensions_cache_find_unlocked(path, name, NULL);
 1410|    116|    if (entry == NULL) {
  ------------------
  |  Branch (1410:9): [True: 116, False: 0]
  ------------------
 1411|       |        /* It was never added. */
 1412|    116|        goto finally;
 1413|    116|    }
 1414|      0|    value = (struct extensions_cache_value *)entry->value;
 1415|       |
 1416|    116|finally:
 1417|    116|    extensions_lock_release();
 1418|    116|    return value;
 1419|      0|}
import.c:update_global_state_for_extension:
 1818|      4|{
 1819|      4|    struct extensions_cache_value *cached = NULL;
 1820|      4|    PyModInitFunction m_init = NULL;
 1821|      4|    PyObject *m_dict = NULL;
 1822|       |
 1823|       |    /* Set up for _extensions_cache_set(). */
 1824|      4|    if (singlephase == NULL) {
  ------------------
  |  Branch (1824:9): [True: 0, False: 4]
  ------------------
 1825|      0|        assert(def->m_base.m_init == NULL);
 1826|      0|        assert(def->m_base.m_copy == NULL);
 1827|      0|    }
 1828|      4|    else {
 1829|      4|        if (singlephase->m_init != NULL) {
  ------------------
  |  Branch (1829:13): [True: 0, False: 4]
  ------------------
 1830|      0|            assert(singlephase->m_dict == NULL);
 1831|      0|            assert(def->m_base.m_copy == NULL);
 1832|      0|            assert(def->m_size >= 0);
 1833|       |            /* Remember pointer to module init function. */
 1834|       |            // XXX If two modules share a def then def->m_base will
 1835|       |            // reflect the last one added (here) to the global cache.
 1836|       |            // We should prevent this somehow.  The simplest solution
 1837|       |            // is probably to store m_copy/m_init in the cache along
 1838|       |            // with the def, rather than within the def.
 1839|      0|            m_init = singlephase->m_init;
 1840|      0|        }
 1841|      4|        else if (singlephase->m_dict == NULL) {
  ------------------
  |  Branch (1841:18): [True: 4, False: 0]
  ------------------
 1842|       |            /* It must be a core builtin module. */
 1843|      4|            assert(is_core_module(tstate->interp, name, path));
 1844|      4|            assert(def->m_size == -1);
 1845|      4|            assert(def->m_base.m_copy == NULL);
 1846|      4|            assert(def->m_base.m_init == NULL);
 1847|      4|        }
 1848|      0|        else {
 1849|      0|            assert(PyDict_Check(singlephase->m_dict));
 1850|       |            // gh-88216: Extensions and def->m_base.m_copy can be updated
 1851|       |            // when the extension module doesn't support sub-interpreters.
 1852|      0|            assert(def->m_size == -1);
 1853|      0|            assert(!is_core_module(tstate->interp, name, path));
 1854|      0|            assert(PyUnicode_CompareWithASCIIString(name, "sys") != 0);
 1855|      0|            assert(PyUnicode_CompareWithASCIIString(name, "builtins") != 0);
 1856|      0|            m_dict = singlephase->m_dict;
 1857|      0|        }
 1858|      4|    }
 1859|       |
 1860|       |    /* Add the module's def to the global cache. */
 1861|       |    // XXX Why special-case the main interpreter?
 1862|      4|    if (_Py_IsMainInterpreter(tstate->interp) || def->m_size == -1) {
  ------------------
  |  Branch (1862:9): [True: 4, False: 0]
  |  Branch (1862:50): [True: 0, False: 0]
  ------------------
 1863|       |#ifndef NDEBUG
 1864|       |        cached = _extensions_cache_get(path, name);
 1865|       |        assert(cached == NULL || cached->def == def);
 1866|       |#endif
 1867|      4|        cached = _extensions_cache_set(
 1868|      4|                path, name, def, m_init, singlephase->m_index, m_dict,
 1869|      4|                singlephase->origin, singlephase->md_requires_gil);
 1870|      4|        if (cached == NULL) {
  ------------------
  |  Branch (1870:13): [True: 0, False: 4]
  ------------------
 1871|       |            // XXX Ignore this error?  Doing so would effectively
 1872|       |            // mark the module as not loadable.
 1873|      0|            return NULL;
 1874|      0|        }
 1875|      4|    }
 1876|       |
 1877|      4|    return cached;
 1878|      4|}
import.c:_extensions_cache_set:
 1427|      4|{
 1428|      4|    struct extensions_cache_value *value = NULL;
 1429|      4|    void *key = NULL;
 1430|      4|    struct extensions_cache_value *newvalue = NULL;
 1431|      4|    PyModuleDef_Base olddefbase = def->m_base;
 1432|       |
 1433|      4|    assert(def != NULL);
 1434|      4|    assert(m_init == NULL || m_dict == NULL);
 1435|       |    /* We expect the same symbol to be used and the shared object file
 1436|       |     * to have remained loaded, so it must be the same pointer. */
 1437|      4|    assert(def->m_base.m_init == NULL || def->m_base.m_init == m_init);
 1438|       |    /* For now we don't worry about comparing value->m_copy. */
 1439|      4|    assert(def->m_base.m_copy == NULL || m_dict != NULL);
 1440|      4|    assert((origin == _Py_ext_module_origin_DYNAMIC) == (name != path));
 1441|      4|    assert(origin != _Py_ext_module_origin_CORE || m_dict == NULL);
 1442|       |
 1443|      4|    extensions_lock_acquire();
 1444|       |
 1445|      4|    if (EXTENSIONS.hashtable == NULL) {
  ------------------
  |  |   82|      4|#define EXTENSIONS _PyRuntime.imports.extensions
  ------------------
  |  Branch (1445:9): [True: 2, False: 2]
  ------------------
 1446|      2|        if (_extensions_cache_init() < 0) {
  ------------------
  |  Branch (1446:13): [True: 0, False: 2]
  ------------------
 1447|      0|            goto finally;
 1448|      0|        }
 1449|      2|    }
 1450|       |
 1451|       |    /* Create a cached value to populate for the module. */
 1452|      4|    _Py_hashtable_entry_t *entry =
 1453|      4|            _extensions_cache_find_unlocked(path, name, &key);
 1454|      4|    value = entry == NULL
  ------------------
  |  Branch (1454:13): [True: 4, False: 0]
  ------------------
 1455|      4|        ? NULL
 1456|      4|        : (struct extensions_cache_value *)entry->value;
 1457|      4|    if (value != NULL) {
  ------------------
  |  Branch (1457:9): [True: 0, False: 4]
  ------------------
 1458|       |        /* gh-123880: If there's an existing cache value, it means a module is
 1459|       |         * being imported recursively from its PyInit_* or Py_mod_* function.
 1460|       |         * (That function presumably handles returning a partially
 1461|       |         *  constructed module in such a case.)
 1462|       |         * We can reuse the existing cache value; it is owned by the cache.
 1463|       |         * (Entries get removed from it in exceptional circumstances,
 1464|       |         *  after interpreter shutdown, and in runtime shutdown.)
 1465|       |         */
 1466|      0|        goto finally_oldvalue;
 1467|      0|    }
 1468|      4|    newvalue = alloc_extensions_cache_value();
 1469|      4|    if (newvalue == NULL) {
  ------------------
  |  Branch (1469:9): [True: 0, False: 4]
  ------------------
 1470|      0|        goto finally;
 1471|      0|    }
 1472|       |
 1473|       |    /* Populate the new cache value data. */
 1474|      4|    *newvalue = (struct extensions_cache_value){
 1475|      4|        .def=def,
 1476|      4|        .m_init=m_init,
 1477|      4|        .m_index=m_index,
 1478|       |        /* m_dict is set by set_cached_m_dict(). */
 1479|      4|        .origin=origin,
 1480|       |#ifdef Py_GIL_DISABLED
 1481|       |        .md_requires_gil=requires_gil,
 1482|       |#endif
 1483|      4|    };
 1484|      4|#ifndef Py_GIL_DISABLED
 1485|      4|    (void)requires_gil;
 1486|      4|#endif
 1487|      4|    if (init_cached_m_dict(newvalue, m_dict) < 0) {
  ------------------
  |  Branch (1487:9): [True: 0, False: 4]
  ------------------
 1488|      0|        goto finally;
 1489|      0|    }
 1490|      4|    fixup_cached_def(newvalue);
 1491|       |
 1492|      4|    if (entry == NULL) {
  ------------------
  |  Branch (1492:9): [True: 4, False: 0]
  ------------------
 1493|       |        /* It was never added. */
 1494|      4|        if (_Py_hashtable_set(EXTENSIONS.hashtable, key, newvalue) < 0) {
  ------------------
  |  |   82|      4|#define EXTENSIONS _PyRuntime.imports.extensions
  ------------------
  |  Branch (1494:13): [True: 0, False: 4]
  ------------------
 1495|      0|            PyErr_NoMemory();
 1496|      0|            goto finally;
 1497|      0|        }
 1498|       |        /* The hashtable owns the key now. */
 1499|      4|        key = NULL;
 1500|      4|    }
 1501|      0|    else if (value == NULL) {
  ------------------
  |  Branch (1501:14): [True: 0, False: 0]
  ------------------
 1502|       |        /* It was previously deleted. */
 1503|      0|        entry->value = newvalue;
 1504|      0|    }
 1505|      0|    else {
 1506|       |        /* We are updating the entry for an existing module. */
 1507|       |        /* We expect def to be static, so it must be the same pointer. */
 1508|      0|        assert(value->def == def);
 1509|       |        /* We expect the same symbol to be used and the shared object file
 1510|       |         * to have remained loaded, so it must be the same pointer. */
 1511|      0|        assert(value->m_init == m_init);
 1512|       |        /* The same module can't switch between caching __dict__ and not. */
 1513|      0|        assert((value->m_dict == NULL) == (m_dict == NULL));
 1514|       |        /* This shouldn't ever happen. */
 1515|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1516|      0|    }
 1517|       |
 1518|      4|    value = newvalue;
 1519|       |
 1520|      4|finally:
 1521|      4|    if (value == NULL) {
  ------------------
  |  Branch (1521:9): [True: 0, False: 4]
  ------------------
 1522|      0|        restore_old_cached_def(def, &olddefbase);
 1523|      0|        if (newvalue != NULL) {
  ------------------
  |  Branch (1523:13): [True: 0, False: 0]
  ------------------
 1524|      0|            del_extensions_cache_value(newvalue);
 1525|      0|        }
 1526|      0|    }
 1527|      4|    else {
 1528|      4|        cleanup_old_cached_def(&olddefbase);
 1529|      4|    }
 1530|       |
 1531|      4|finally_oldvalue:
 1532|      4|    extensions_lock_release();
 1533|      4|    if (key != NULL) {
  ------------------
  |  Branch (1533:9): [True: 0, False: 4]
  ------------------
 1534|      0|        hashtable_destroy_str(key);
 1535|      0|    }
 1536|       |
 1537|      4|    return value;
 1538|      4|}
import.c:_extensions_cache_init:
 1363|      2|{
 1364|      2|    _Py_hashtable_allocator_t alloc = {PyMem_RawMalloc, PyMem_RawFree};
 1365|      2|    EXTENSIONS.hashtable = _Py_hashtable_new_full(
  ------------------
  |  |   82|      2|#define EXTENSIONS _PyRuntime.imports.extensions
  ------------------
 1366|      2|        hashtable_hash_str,
 1367|      2|        hashtable_compare_str,
 1368|      2|        hashtable_destroy_str,  // key
 1369|      2|        del_extensions_cache_value,  // value
 1370|      2|        &alloc
 1371|      2|    );
 1372|      2|    if (EXTENSIONS.hashtable == NULL) {
  ------------------
  |  |   82|      2|#define EXTENSIONS _PyRuntime.imports.extensions
  ------------------
  |  Branch (1372:9): [True: 0, False: 2]
  ------------------
 1373|      0|        PyErr_NoMemory();
 1374|      0|        return -1;
 1375|      0|    }
 1376|      2|    return 0;
 1377|      2|}
import.c:hashtable_hash_str:
 1308|    122|{
 1309|    122|    return Py_HashBuffer(key, strlen((const char *)key));
 1310|    122|}
import.c:alloc_extensions_cache_value:
 1101|      4|{
 1102|      4|    struct extensions_cache_value *value
 1103|      4|            = PyMem_RawMalloc(sizeof(struct extensions_cache_value));
 1104|      4|    if (value == NULL) {
  ------------------
  |  Branch (1104:9): [True: 0, False: 4]
  ------------------
 1105|      0|        PyErr_NoMemory();
 1106|      0|        return NULL;
 1107|      0|    }
 1108|      4|    *value = (struct extensions_cache_value){0};
 1109|      4|    return value;
 1110|      4|}
import.c:init_cached_m_dict:
 1188|      4|{
 1189|      4|    assert(value != NULL);
 1190|       |    /* This should only have been called without an m_dict already set. */
 1191|      4|    assert(value->m_dict == NULL);
 1192|      4|    if (m_dict == NULL) {
  ------------------
  |  Branch (1192:9): [True: 4, False: 0]
  ------------------
 1193|      4|        return 0;
 1194|      4|    }
 1195|      4|    assert(PyDict_Check(m_dict));
 1196|      0|    assert(value->origin != _Py_ext_module_origin_CORE);
 1197|       |
 1198|      0|    PyInterpreterState *interp = _PyInterpreterState_GET();
 1199|      0|    assert(!is_interpreter_isolated(interp));
 1200|       |
 1201|       |    /* XXX gh-88216: The copied dict is owned by the current
 1202|       |     * interpreter.  That's a problem if the interpreter has
 1203|       |     * its own obmalloc state or if the module is successfully
 1204|       |     * imported into such an interpreter.  If the interpreter
 1205|       |     * has its own GIL then there may be data races and
 1206|       |     * PyImport_ClearModulesByIndex() can crash.  Normally,
 1207|       |     * a single-phase init module cannot be imported in an
 1208|       |     * isolated interpreter, but there are ways around that.
 1209|       |     * Hence, heere be dragons!  Ideally we would instead do
 1210|       |     * something like make a read-only, immortal copy of the
 1211|       |     * dict using PyMem_RawMalloc() and store *that* in m_copy.
 1212|       |     * Then we'd need to make sure to clear that when the
 1213|       |     * runtime is finalized, rather than in
 1214|       |     * PyImport_ClearModulesByIndex(). */
 1215|      0|    PyObject *copied = PyDict_Copy(m_dict);
 1216|      0|    if (copied == NULL) {
  ------------------
  |  Branch (1216:9): [True: 0, False: 0]
  ------------------
 1217|       |        /* We expect this can only be "out of memory". */
 1218|      0|        return -1;
 1219|      0|    }
 1220|       |    // XXX We may want to make the copy immortal.
 1221|       |
 1222|      0|    value->_m_dict = (struct cached_m_dict){
 1223|      0|        .copied=copied,
 1224|      0|        .interpid=PyInterpreterState_GetID(interp),
 1225|      0|    };
 1226|       |
 1227|      0|    value->m_dict = &value->_m_dict;
 1228|      0|    return 0;
 1229|      0|}
import.c:fixup_cached_def:
 1127|      4|{
 1128|       |    /* For the moment, the values in the def's m_base may belong
 1129|       |     * to another module, and we're replacing them here.  This can
 1130|       |     * cause problems later if the old module is reloaded.
 1131|       |     *
 1132|       |     * Also, we don't decref any old cached values first when we
 1133|       |     * replace them here, in case we need to restore them in the
 1134|       |     * near future.  Instead, the caller is responsible for wrapping
 1135|       |     * this up by calling cleanup_old_cached_def() or
 1136|       |     * restore_old_cached_def() if there was an error. */
 1137|      4|    PyModuleDef *def = value->def;
 1138|      4|    assert(def != NULL);
 1139|       |
 1140|       |    /* We assume that all module defs are statically allocated
 1141|       |       and will never be freed.  Otherwise, we would incref here. */
 1142|      4|    _Py_SetImmortalUntracked((PyObject *)def);
 1143|       |
 1144|      4|    def->m_base.m_init = value->m_init;
 1145|       |
 1146|      4|    assert(value->m_index > 0);
 1147|      4|    _set_module_index(def, value->m_index);
 1148|       |
 1149|       |    /* Different modules can share the same def, so we can't just
 1150|       |     * expect m_copy to be NULL. */
 1151|      4|    assert(def->m_base.m_copy == NULL
 1152|      4|           || def->m_base.m_init == NULL
 1153|      4|           || value->m_dict != NULL);
 1154|      4|    if (value->m_dict != NULL) {
  ------------------
  |  Branch (1154:9): [True: 0, False: 4]
  ------------------
 1155|      0|        assert(value->m_dict->copied != NULL);
 1156|       |        /* As noted above, we don't first decref the old value, if any. */
 1157|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1158|      0|    }
 1159|      4|}
import.c:_set_module_index:
  528|      4|{
  529|      4|    assert(index > 0);
  530|      4|    if (index == def->m_base.m_index) {
  ------------------
  |  Branch (530:9): [True: 4, False: 0]
  ------------------
  531|       |        /* There's nothing to do. */
  532|      4|    }
  533|      0|    else if (def->m_base.m_index == 0) {
  ------------------
  |  Branch (533:14): [True: 0, False: 0]
  ------------------
  534|       |        /* It should have been initialized by PyModuleDef_Init().
  535|       |         * We assert here to catch this in dev, but keep going otherwise. */
  536|      0|        assert(def->m_base.m_index != 0);
  537|      0|        def->m_base.m_index = index;
  538|      0|    }
  539|      0|    else {
  540|       |        /* It was already set for a different module.
  541|       |         * We replace the old value. */
  542|       |        assert(def->m_base.m_index > 0);
  543|      0|        def->m_base.m_index = index;
  544|      0|    }
  545|      4|}
import.c:cleanup_old_cached_def:
 1169|      4|{
 1170|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1171|      4|}
import.c:finish_singlephase_extension:
 1886|      4|{
 1887|      4|    assert(mod != NULL && PyModule_Check(mod));
 1888|      4|    assert(cached->def == _PyModule_GetDefOrNull(mod));
 1889|       |
 1890|      4|    Py_ssize_t index = _get_cached_module_index(cached);
 1891|      4|    if (_modules_by_index_set(tstate->interp, index, mod) < 0) {
  ------------------
  |  Branch (1891:9): [True: 0, False: 4]
  ------------------
 1892|      0|        return -1;
 1893|      0|    }
 1894|       |
 1895|      4|    if (modules != NULL) {
  ------------------
  |  Branch (1895:9): [True: 4, False: 0]
  ------------------
 1896|      4|        if (PyObject_SetItem(modules, name, mod) < 0) {
  ------------------
  |  Branch (1896:13): [True: 0, False: 4]
  ------------------
 1897|      0|            return -1;
 1898|      0|        }
 1899|      4|    }
 1900|       |
 1901|      4|    return 0;
 1902|      4|}
import.c:create_builtin:
 2480|     62|{
 2481|     62|    struct _Py_ext_module_loader_info info;
 2482|     62|    if (_Py_ext_module_loader_info_init_for_builtin(&info, name) < 0) {
  ------------------
  |  Branch (2482:9): [True: 0, False: 62]
  ------------------
 2483|      0|        return NULL;
 2484|      0|    }
 2485|       |
 2486|     62|    struct extensions_cache_value *cached = NULL;
 2487|     62|    PyObject *mod = import_find_extension(tstate, &info, &cached);
 2488|     62|    if (mod != NULL) {
  ------------------
  |  Branch (2488:9): [True: 0, False: 62]
  ------------------
 2489|      0|        assert(!_PyErr_Occurred(tstate));
 2490|      0|        assert(cached != NULL);
 2491|       |        /* The module might not have md_def set in certain reload cases. */
 2492|      0|        assert(_PyModule_GetDefOrNull(mod) == NULL
 2493|      0|                || cached->def == _PyModule_GetDefOrNull(mod));
 2494|      0|        assert_singlephase(cached);
 2495|      0|        goto finally;
 2496|      0|    }
 2497|     62|    else if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (2497:14): [True: 0, False: 62]
  ------------------
 2498|      0|        goto finally;
 2499|      0|    }
 2500|       |
 2501|       |    /* If the module was added to the global cache
 2502|       |     * but def->m_base.m_copy was cleared (e.g. subinterp fini)
 2503|       |     * then we have to do a little dance here. */
 2504|     62|    if (cached != NULL) {
  ------------------
  |  Branch (2504:9): [True: 0, False: 62]
  ------------------
 2505|      0|        assert(cached->def->m_base.m_copy == NULL);
 2506|       |        /* For now we clear the cache and move on. */
 2507|      0|        _extensions_cache_delete(info.path, info.name);
 2508|      0|    }
 2509|       |
 2510|     62|    PyModInitFunction p0 = NULL;
 2511|     62|    if (initfunc == NULL) {
  ------------------
  |  Branch (2511:9): [True: 62, False: 0]
  ------------------
 2512|     62|        struct _inittab *entry = lookup_inittab_entry(&info);
 2513|     62|        if (entry == NULL) {
  ------------------
  |  Branch (2513:13): [True: 0, False: 62]
  ------------------
 2514|      0|            mod = NULL;
 2515|      0|            _PyErr_SetModuleNotFoundError(name);
 2516|      0|            goto finally;
 2517|      0|        }
 2518|       |
 2519|     62|        p0 = (PyModInitFunction)entry->initfunc;
 2520|     62|    }
 2521|      0|    else {
 2522|      0|        p0 = initfunc;
 2523|      0|    }
 2524|       |
 2525|     62|    if (p0 == NULL) {
  ------------------
  |  Branch (2525:9): [True: 0, False: 62]
  ------------------
 2526|       |        /* Cannot re-init internal module ("sys" or "builtins") */
 2527|      0|        assert(is_core_module(tstate->interp, info.name, info.path));
 2528|      0|        mod = import_add_module(tstate, info.name);
 2529|      0|        goto finally;
 2530|      0|    }
 2531|       |
 2532|       |
 2533|       |#ifdef Py_GIL_DISABLED
 2534|       |    // This call (and the corresponding call to _PyImport_CheckGILForModule())
 2535|       |    // would ideally be inside import_run_extension(). They are kept in the
 2536|       |    // callers for now because that would complicate the control flow inside
 2537|       |    // import_run_extension(). It should be possible to restructure
 2538|       |    // import_run_extension() to address this.
 2539|       |    _PyEval_EnableGILTransient(tstate);
 2540|       |#endif
 2541|       |    /* Now load it. */
 2542|     62|    mod = import_run_extension(
 2543|     62|                    tstate, p0, &info, spec, get_modules_dict(tstate, true));
 2544|       |#ifdef Py_GIL_DISABLED
 2545|       |    if (_PyImport_CheckGILForModule(mod, info.name) < 0) {
 2546|       |        Py_CLEAR(mod);
 2547|       |        goto finally;
 2548|       |    }
 2549|       |#endif
 2550|       |
 2551|     62|finally:
 2552|     62|    _Py_ext_module_loader_info_clear(&info);
 2553|     62|    return mod;
 2554|     62|}
import.c:import_find_extension:
 2020|    112|{
 2021|       |    /* Only single-phase init modules will be in the cache. */
 2022|    112|    struct extensions_cache_value *cached
 2023|    112|            = _extensions_cache_get(info->path, info->name);
 2024|    112|    if (cached == NULL) {
  ------------------
  |  Branch (2024:9): [True: 112, False: 0]
  ------------------
 2025|    112|        return NULL;
 2026|    112|    }
 2027|    112|    assert(cached->def != NULL);
 2028|      0|    assert_singlephase(cached);
 2029|      0|    *p_cached = cached;
 2030|       |
 2031|       |    /* It may have been successfully imported previously
 2032|       |       in an interpreter that allows legacy modules
 2033|       |       but is not allowed in the current interpreter. */
 2034|      0|    const char *name_buf = PyUnicode_AsUTF8(info->name);
 2035|      0|    assert(name_buf != NULL);
 2036|      0|    if (_PyImport_CheckSubinterpIncompatibleExtensionAllowed(name_buf) < 0) {
  ------------------
  |  Branch (2036:9): [True: 0, False: 0]
  ------------------
 2037|      0|        return NULL;
 2038|      0|    }
 2039|       |
 2040|      0|    PyObject *mod = reload_singlephase_extension(tstate, cached, info);
 2041|      0|    if (mod == NULL) {
  ------------------
  |  Branch (2041:9): [True: 0, False: 0]
  ------------------
 2042|      0|        return NULL;
 2043|      0|    }
 2044|       |
 2045|      0|    int verbose = _PyInterpreterState_GetConfig(tstate->interp)->verbose;
 2046|      0|    if (verbose) {
  ------------------
  |  Branch (2046:9): [True: 0, False: 0]
  ------------------
 2047|      0|        PySys_FormatStderr("import %U # previously loaded (%R)\n",
 2048|      0|                           info->name, info->path);
 2049|      0|    }
 2050|       |
 2051|      0|    return mod;
 2052|      0|}
import.c:lookup_inittab_entry:
 2465|     62|{
 2466|  1.23k|    for (struct _inittab *p = INITTAB; p->name != NULL; p++) {
  ------------------
  |  |   80|     62|#define INITTAB _PyRuntime.imports.inittab
  ------------------
  |  Branch (2466:40): [True: 1.23k, False: 0]
  ------------------
 2467|  1.23k|        if (_PyUnicode_EqualToASCIIString(info->name, p->name)) {
  ------------------
  |  Branch (2467:13): [True: 62, False: 1.17k]
  ------------------
 2468|     62|            return p;
 2469|     62|        }
 2470|  1.23k|    }
 2471|       |    // not found
 2472|      0|    return NULL;
 2473|     62|}
import.c:import_run_extension:
 2095|    110|{
 2096|       |    /* Core modules go through _PyImport_FixupBuiltin(). */
 2097|    110|    assert(!is_core_module(tstate->interp, info->name, info->path));
 2098|       |
 2099|    110|    PyObject *mod = NULL;
 2100|    110|    PyModuleDef *def = NULL;
 2101|    110|    struct extensions_cache_value *cached = NULL;
 2102|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2103|       |
 2104|       |    /* We cannot know if the module is single-phase init or
 2105|       |     * multi-phase init until after we call its init function. Even
 2106|       |     * in isolated interpreters (that do not support single-phase init),
 2107|       |     * the init function will run without restriction.  For multi-phase
 2108|       |     * init modules that isn't a problem because the init function only
 2109|       |     * runs PyModuleDef_Init() on the module's def and then returns it.
 2110|       |     *
 2111|       |     * However, for single-phase init the module's init function will
 2112|       |     * create the module, create other objects (and allocate other
 2113|       |     * memory), populate it and its module state, and initialize static
 2114|       |     * types.  Some modules store other objects and data in global C
 2115|       |     * variables and register callbacks with the runtime/stdlib or
 2116|       |     * even external libraries (which is part of why we can't just
 2117|       |     * dlclose() the module in the error case).  That's a problem
 2118|       |     * for isolated interpreters since all of the above happens
 2119|       |     * and only then * will the import fail.  Memory will leak,
 2120|       |     * callbacks will still get used, and sometimes there
 2121|       |     * will be crashes (memory access violations
 2122|       |     * and use-after-free).
 2123|       |     *
 2124|       |     * To put it another way, if the module is single-phase init
 2125|       |     * then the import will probably break interpreter isolation
 2126|       |     * and should fail ASAP.  However, the module's init function
 2127|       |     * will still get run.  That means it may still store state
 2128|       |     * in the shared-object/DLL address space (which never gets
 2129|       |     * closed/cleared), including objects (e.g. static types).
 2130|       |     * This is a problem for isolated subinterpreters since each
 2131|       |     * has its own object allocator.  If the loaded shared-object
 2132|       |     * still holds a reference to an object after the corresponding
 2133|       |     * interpreter has finalized then either we must let it leak
 2134|       |     * or else any later use of that object by another interpreter
 2135|       |     * (or across multiple init-fini cycles) will crash the process.
 2136|       |     *
 2137|       |     * To avoid all of that, we make sure the module's init function
 2138|       |     * is always run first with the main interpreter active.  If it was
 2139|       |     * already the main interpreter then we can continue loading the
 2140|       |     * module like normal.  Otherwise, right after the init function,
 2141|       |     * we take care of some import state bookkeeping, switch back
 2142|       |     * to the subinterpreter, check for single-phase init,
 2143|       |     * and then continue loading like normal. */
 2144|       |
 2145|    110|    bool switched = false;
 2146|       |    /* We *could* leave in place a legacy interpreter here
 2147|       |     * (one that shares obmalloc/GIL with main interp),
 2148|       |     * but there isn't a big advantage, we anticipate
 2149|       |     * such interpreters will be increasingly uncommon,
 2150|       |     * and the code is a bit simpler if we always switch
 2151|       |     * to the main interpreter. */
 2152|    110|    PyThreadState *main_tstate = switch_to_main_interpreter(tstate);
 2153|    110|    if (main_tstate == NULL) {
  ------------------
  |  Branch (2153:9): [True: 0, False: 110]
  ------------------
 2154|      0|        return NULL;
 2155|      0|    }
 2156|    110|    else if (main_tstate != tstate) {
  ------------------
  |  Branch (2156:14): [True: 0, False: 110]
  ------------------
 2157|      0|        switched = true;
 2158|       |        /* In the switched case, we could play it safe
 2159|       |         * by getting the main interpreter's import lock here.
 2160|       |         * It's unlikely to matter though. */
 2161|      0|    }
 2162|       |
 2163|    110|    struct _Py_ext_module_loader_result res;
 2164|    110|    int rc = _PyImport_RunModInitFunc(p0, info, &res);
 2165|    110|    if (rc < 0) {
  ------------------
  |  Branch (2165:9): [True: 0, False: 110]
  ------------------
 2166|       |        /* We discard res.def. */
 2167|      0|        assert(res.module == NULL);
 2168|      0|    }
 2169|    110|    else {
 2170|    110|        assert(!PyErr_Occurred());
 2171|    110|        assert(res.err == NULL);
 2172|       |
 2173|    110|        mod = res.module;
 2174|    110|        res.module = NULL;
 2175|    110|        def = res.def;
 2176|    110|        assert(def != NULL);
 2177|       |
 2178|       |        /* Do anything else that should be done
 2179|       |         * while still using the main interpreter. */
 2180|    110|        if (res.kind == _Py_ext_module_kind_SINGLEPHASE) {
  ------------------
  |  Branch (2180:13): [True: 0, False: 110]
  ------------------
 2181|       |            /* Remember the filename as the __file__ attribute */
 2182|      0|            if (info->filename != NULL) {
  ------------------
  |  Branch (2182:17): [True: 0, False: 0]
  ------------------
 2183|      0|                PyObject *filename = NULL;
 2184|      0|                if (switched) {
  ------------------
  |  Branch (2184:21): [True: 0, False: 0]
  ------------------
 2185|       |                    // The original filename may be allocated by subinterpreter's
 2186|       |                    // obmalloc, so we create a copy here.
 2187|      0|                    filename = _PyUnicode_Copy(info->filename);
 2188|      0|                    if (filename == NULL) {
  ------------------
  |  Branch (2188:25): [True: 0, False: 0]
  ------------------
 2189|      0|                        return NULL;
 2190|      0|                    }
 2191|      0|                }
 2192|      0|                else {
 2193|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2194|      0|                }
 2195|       |                // XXX There's a refleak somewhere with the filename.
 2196|       |                // Until we can track it down, we immortalize it.
 2197|      0|                PyInterpreterState *interp = _PyInterpreterState_GET();
 2198|      0|                _PyUnicode_InternImmortal(interp, &filename);
 2199|       |
 2200|      0|                if (PyModule_AddObjectRef(mod, "__file__", filename) < 0) {
  ------------------
  |  Branch (2200:21): [True: 0, False: 0]
  ------------------
 2201|      0|                    PyErr_Clear(); /* Not important enough to report */
 2202|      0|                }
 2203|      0|            }
 2204|       |
 2205|       |            /* Update global import state. */
 2206|      0|            assert(def->m_base.m_index != 0);
 2207|      0|            struct singlephase_global_update singlephase = {
 2208|       |                // XXX Modules that share a def should each get their own index,
 2209|       |                // whereas currently they share (which means the per-interpreter
 2210|       |                // cache is less reliable than it should be).
 2211|      0|                .m_index=def->m_base.m_index,
 2212|      0|                .origin=info->origin,
 2213|       |#ifdef Py_GIL_DISABLED
 2214|       |                .md_requires_gil=((PyModuleObject *)mod)->md_requires_gil,
 2215|       |#endif
 2216|      0|            };
 2217|       |            // gh-88216: Extensions and def->m_base.m_copy can be updated
 2218|       |            // when the extension module doesn't support sub-interpreters.
 2219|      0|            if (def->m_size == -1) {
  ------------------
  |  Branch (2219:17): [True: 0, False: 0]
  ------------------
 2220|       |                /* We will reload from m_copy. */
 2221|      0|                assert(def->m_base.m_init == NULL);
 2222|      0|                singlephase.m_dict = PyModule_GetDict(mod);
 2223|      0|                assert(singlephase.m_dict != NULL);
 2224|      0|            }
 2225|      0|            else {
 2226|       |                /* We will reload via the init function. */
 2227|      0|                assert(def->m_size >= 0);
 2228|      0|                assert(def->m_base.m_copy == NULL);
 2229|      0|                singlephase.m_init = p0;
 2230|      0|            }
 2231|      0|            cached = update_global_state_for_extension(
 2232|      0|                    main_tstate, info->path, info->name, def, &singlephase);
 2233|      0|            if (cached == NULL) {
  ------------------
  |  Branch (2233:17): [True: 0, False: 0]
  ------------------
 2234|      0|                assert(PyErr_Occurred());
 2235|      0|                goto main_finally;
 2236|      0|            }
 2237|      0|        }
 2238|    110|    }
 2239|       |
 2240|    110|main_finally:
 2241|    110|    if (rc < 0) {
  ------------------
  |  Branch (2241:9): [True: 0, False: 110]
  ------------------
 2242|      0|        _Py_ext_module_loader_result_apply_error(&res, name_buf);
 2243|      0|    }
 2244|       |
 2245|       |    /* Switch back to the subinterpreter. */
 2246|    110|    if (switched) {
  ------------------
  |  Branch (2246:9): [True: 0, False: 110]
  ------------------
 2247|       |        // gh-144601: The exception object can't be transferred across
 2248|       |        // interpreters. Instead, we print out an unraisable exception, and
 2249|       |        // then raise a different exception for the calling interpreter.
 2250|      0|        if (rc < 0) {
  ------------------
  |  Branch (2250:13): [True: 0, False: 0]
  ------------------
 2251|      0|            assert(PyErr_Occurred());
 2252|      0|            PyErr_FormatUnraisable("Exception while importing from subinterpreter");
 2253|      0|        }
 2254|      0|        assert(main_tstate != tstate);
 2255|      0|        switch_back_from_main_interpreter(tstate, main_tstate, mod);
 2256|       |        /* Any module we got from the init function will have to be
 2257|       |         * reloaded in the subinterpreter. */
 2258|      0|        mod = NULL;
 2259|      0|        if (rc < 0) {
  ------------------
  |  Branch (2259:13): [True: 0, False: 0]
  ------------------
 2260|      0|            PyErr_SetString(PyExc_ImportError,
 2261|      0|                            "failed to import from subinterpreter due to exception");
 2262|      0|            goto error;
 2263|      0|        }
 2264|      0|    }
 2265|       |
 2266|       |    /*****************************************************************/
 2267|       |    /* At this point we are back to the interpreter we started with. */
 2268|       |    /*****************************************************************/
 2269|       |
 2270|       |    /* Finally we handle the error return from _PyImport_RunModInitFunc(). */
 2271|    110|    if (rc < 0) {
  ------------------
  |  Branch (2271:9): [True: 0, False: 110]
  ------------------
 2272|      0|        goto error;
 2273|      0|    }
 2274|       |
 2275|    110|    if (res.kind == _Py_ext_module_kind_MULTIPHASE) {
  ------------------
  |  Branch (2275:9): [True: 110, False: 0]
  ------------------
 2276|    110|        assert_multiphase_def(def);
 2277|    110|        assert(mod == NULL);
 2278|       |        /* Note that we cheat a little by not repeating the calls
 2279|       |         * to _PyImport_GetModuleExportHooks() and _PyImport_RunModInitFunc(). */
 2280|    110|        mod = PyModule_FromDefAndSpec(def, spec);
  ------------------
  |  |   80|    110|    PyModule_FromDefAndSpec2((module), (spec), PYTHON_API_VERSION)
  |  |  ------------------
  |  |  |  |   59|    110|#define PYTHON_API_VERSION 1013
  |  |  ------------------
  ------------------
 2281|    110|        if (mod == NULL) {
  ------------------
  |  Branch (2281:13): [True: 0, False: 110]
  ------------------
 2282|      0|            goto error;
 2283|      0|        }
 2284|    110|    }
 2285|      0|    else {
 2286|      0|        assert(res.kind == _Py_ext_module_kind_SINGLEPHASE);
 2287|      0|        assert_singlephase_def(def);
 2288|       |
 2289|      0|        if (_PyImport_CheckSubinterpIncompatibleExtensionAllowed(name_buf) < 0) {
  ------------------
  |  Branch (2289:13): [True: 0, False: 0]
  ------------------
 2290|      0|            goto error;
 2291|      0|        }
 2292|      0|        assert(!PyErr_Occurred());
 2293|       |
 2294|      0|        if (switched) {
  ------------------
  |  Branch (2294:13): [True: 0, False: 0]
  ------------------
 2295|       |            /* We switched to the main interpreter to run the init
 2296|       |             * function, so now we will "reload" the module from the
 2297|       |             * cached data using the original subinterpreter. */
 2298|      0|            assert(mod == NULL);
 2299|      0|            mod = reload_singlephase_extension(tstate, cached, info);
 2300|      0|            if (mod == NULL) {
  ------------------
  |  Branch (2300:17): [True: 0, False: 0]
  ------------------
 2301|      0|                goto error;
 2302|      0|            }
 2303|      0|            assert(!PyErr_Occurred());
 2304|      0|            assert(PyModule_Check(mod));
 2305|      0|        }
 2306|      0|        else {
 2307|      0|            assert(mod != NULL);
 2308|      0|            assert(PyModule_Check(mod));
 2309|       |
 2310|       |            /* Update per-interpreter import state. */
 2311|      0|            PyObject *modules = get_modules_dict(tstate, true);
 2312|      0|            if (finish_singlephase_extension(
  ------------------
  |  Branch (2312:17): [True: 0, False: 0]
  ------------------
 2313|      0|                    tstate, mod, cached, info->name, modules) < 0)
 2314|      0|            {
 2315|      0|                goto error;
 2316|      0|            }
 2317|      0|        }
 2318|      0|    }
 2319|       |
 2320|    110|    _Py_ext_module_loader_result_clear(&res);
 2321|    110|    return mod;
 2322|       |
 2323|      0|error:
 2324|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2325|      0|    _Py_ext_module_loader_result_clear(&res);
 2326|       |    return NULL;
 2327|    110|}
import.c:module_dict_for_exec:
 2815|      2|{
 2816|      2|    PyObject *m, *d;
 2817|       |
 2818|      2|    m = import_add_module(tstate, name);
 2819|      2|    if (m == NULL)
  ------------------
  |  Branch (2819:9): [True: 0, False: 2]
  ------------------
 2820|      0|        return NULL;
 2821|       |    /* If the module is being reloaded, we get the old module back
 2822|       |       and re-use its dict to exec the new code. */
 2823|      2|    d = PyModule_GetDict(m);
 2824|      2|    int r = PyDict_Contains(d, &_Py_ID(__builtins__));
  ------------------
  |  |  915|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2825|      2|    if (r == 0) {
  ------------------
  |  Branch (2825:9): [True: 2, False: 0]
  ------------------
 2826|      2|        r = PyDict_SetItem(d, &_Py_ID(__builtins__), PyEval_GetBuiltins());
  ------------------
  |  |  915|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2827|      2|    }
 2828|      2|    if (r < 0) {
  ------------------
  |  Branch (2828:9): [True: 0, False: 2]
  ------------------
 2829|      0|        remove_module(tstate, name);
 2830|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2831|      0|        return NULL;
 2832|      0|    }
 2833|       |
 2834|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2835|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2836|      2|    return d;
 2837|      2|}
import.c:exec_code_in_module:
 2842|      2|{
 2843|      2|    PyObject *v, *m;
 2844|       |
 2845|      2|    v = PyEval_EvalCode(code_object, module_dict, module_dict);
 2846|      2|    if (v == NULL) {
  ------------------
  |  Branch (2846:9): [True: 0, False: 2]
  ------------------
 2847|      0|        remove_module(tstate, name);
 2848|      0|        return NULL;
 2849|      0|    }
 2850|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2851|       |
 2852|      2|    m = import_get_module(tstate, name);
 2853|      2|    if (m == NULL && !_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (2853:9): [True: 0, False: 2]
  |  Branch (2853:22): [True: 0, False: 0]
  ------------------
 2854|      0|        _PyErr_Format(tstate, PyExc_ImportError,
 2855|      0|                      "Loaded module %R not found in sys.modules",
 2856|      0|                      name);
 2857|      0|    }
 2858|       |
 2859|      2|    return m;
 2860|      2|}
import.c:find_frozen:
 3157|  7.53k|{
 3158|  7.53k|    if (info != NULL) {
  ------------------
  |  Branch (3158:9): [True: 7.53k, False: 0]
  ------------------
 3159|  7.53k|        memset(info, 0, sizeof(*info));
 3160|  7.53k|    }
 3161|       |
 3162|  7.53k|    if (nameobj == NULL || nameobj == Py_None) {
  ------------------
  |  |  616|  7.53k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3162:9): [True: 0, False: 7.53k]
  |  Branch (3162:28): [True: 0, False: 7.53k]
  ------------------
 3163|      0|        return FROZEN_BAD_NAME;
 3164|      0|    }
 3165|  7.53k|    const char *name = PyUnicode_AsUTF8(nameobj);
 3166|  7.53k|    if (name == NULL) {
  ------------------
  |  Branch (3166:9): [True: 0, False: 7.53k]
  ------------------
 3167|       |        // Note that this function previously used
 3168|       |        // _PyUnicode_EqualToASCIIString().  We clear the error here
 3169|       |        // (instead of propagating it) to match the earlier behavior
 3170|       |        // more closely.
 3171|      0|        PyErr_Clear();
 3172|      0|        return FROZEN_BAD_NAME;
 3173|      0|    }
 3174|       |
 3175|  7.53k|    const struct _frozen *p = look_up_frozen(name);
 3176|  7.53k|    if (p == NULL) {
  ------------------
  |  Branch (3176:9): [True: 7.45k, False: 82]
  ------------------
 3177|  7.45k|        return FROZEN_NOT_FOUND;
 3178|  7.45k|    }
 3179|     82|    if (info != NULL) {
  ------------------
  |  Branch (3179:9): [True: 82, False: 0]
  ------------------
 3180|     82|        info->nameobj = nameobj;  // borrowed
 3181|     82|        info->data = (const char *)p->code;
 3182|     82|        info->size = p->size;
 3183|     82|        info->is_package = p->is_package;
 3184|     82|        if (p->size < 0) {
  ------------------
  |  Branch (3184:13): [True: 0, False: 82]
  ------------------
 3185|       |            // backward compatibility with negative size values
 3186|      0|            info->size = -(p->size);
 3187|      0|            info->is_package = true;
 3188|      0|        }
 3189|     82|        info->origname = name;
 3190|     82|        info->is_alias = resolve_module_alias(name, _PyImport_FrozenAliases,
 3191|     82|                                              &info->origname);
 3192|     82|    }
 3193|     82|    if (p->code == NULL) {
  ------------------
  |  Branch (3193:9): [True: 0, False: 82]
  ------------------
 3194|       |        /* It is frozen but marked as un-importable. */
 3195|      0|        return FROZEN_EXCLUDED;
 3196|      0|    }
 3197|     82|    if (p->code[0] == '\0' || p->size == 0) {
  ------------------
  |  Branch (3197:9): [True: 0, False: 82]
  |  Branch (3197:31): [True: 0, False: 82]
  ------------------
 3198|       |        /* Does not contain executable code. */
 3199|      0|        return FROZEN_INVALID;
 3200|      0|    }
 3201|     82|    return FROZEN_OKAY;
 3202|     82|}
import.c:look_up_frozen:
 3100|  7.53k|{
 3101|  7.53k|    const struct _frozen *p;
 3102|       |    // We always use the bootstrap modules.
 3103|  30.1k|    for (p = _PyImport_FrozenBootstrap; ; p++) {
 3104|  30.1k|        if (p->name == NULL) {
  ------------------
  |  Branch (3104:13): [True: 7.52k, False: 22.5k]
  ------------------
 3105|       |            // We hit the end-of-list sentinel value.
 3106|  7.52k|            break;
 3107|  7.52k|        }
 3108|  22.5k|        if (strcmp(name, p->name) == 0) {
  ------------------
  |  Branch (3108:13): [True: 14, False: 22.5k]
  ------------------
 3109|     14|            return p;
 3110|     14|        }
 3111|  22.5k|    }
 3112|       |    // Prefer custom modules, if any.  Frozen stdlib modules can be
 3113|       |    // disabled here by setting "code" to NULL in the array entry.
 3114|  7.52k|    if (PyImport_FrozenModules != NULL) {
  ------------------
  |  Branch (3114:9): [True: 0, False: 7.52k]
  ------------------
 3115|      0|        for (p = PyImport_FrozenModules; ; p++) {
 3116|      0|            if (p->name == NULL) {
  ------------------
  |  Branch (3116:17): [True: 0, False: 0]
  ------------------
 3117|      0|                break;
 3118|      0|            }
 3119|      0|            if (strcmp(name, p->name) == 0) {
  ------------------
  |  Branch (3119:17): [True: 0, False: 0]
  ------------------
 3120|      0|                return p;
 3121|      0|            }
 3122|      0|        }
 3123|      0|    }
 3124|       |    // Frozen stdlib modules may be disabled.
 3125|  7.52k|    if (use_frozen()) {
  ------------------
  |  Branch (3125:9): [True: 7.52k, False: 0]
  ------------------
 3126|   149k|        for (p = _PyImport_FrozenStdlib; ; p++) {
 3127|   149k|            if (p->name == NULL) {
  ------------------
  |  Branch (3127:17): [True: 7.45k, False: 142k]
  ------------------
 3128|  7.45k|                break;
 3129|  7.45k|            }
 3130|   142k|            if (strcmp(name, p->name) == 0) {
  ------------------
  |  Branch (3130:17): [True: 68, False: 142k]
  ------------------
 3131|     68|                return p;
 3132|     68|            }
 3133|   142k|        }
 3134|  89.4k|        for (p = _PyImport_FrozenTest; ; p++) {
 3135|  89.4k|            if (p->name == NULL) {
  ------------------
  |  Branch (3135:17): [True: 7.45k, False: 81.9k]
  ------------------
 3136|  7.45k|                break;
 3137|  7.45k|            }
 3138|  81.9k|            if (strcmp(name, p->name) == 0) {
  ------------------
  |  Branch (3138:17): [True: 0, False: 81.9k]
  ------------------
 3139|      0|                return p;
 3140|      0|            }
 3141|  81.9k|        }
 3142|  7.45k|    }
 3143|  7.45k|    return NULL;
 3144|  7.52k|}
import.c:use_frozen:
 2959|  7.52k|{
 2960|  7.52k|    PyInterpreterState *interp = _PyInterpreterState_GET();
 2961|  7.52k|    int override = OVERRIDE_FROZEN_MODULES(interp);
  ------------------
  |  |  102|  7.52k|    (interp)->imports.override_frozen_modules
  ------------------
 2962|  7.52k|    if (override > 0) {
  ------------------
  |  Branch (2962:9): [True: 0, False: 7.52k]
  ------------------
 2963|      0|        return true;
 2964|      0|    }
 2965|  7.52k|    else if (override < 0) {
  ------------------
  |  Branch (2965:14): [True: 0, False: 7.52k]
  ------------------
 2966|      0|        return false;
 2967|      0|    }
 2968|  7.52k|    else {
 2969|  7.52k|        return interp->config.use_frozen_modules;
 2970|  7.52k|    }
 2971|  7.52k|}
import.c:resolve_module_alias:
 2941|     82|{
 2942|     82|    const struct _module_alias *entry;
 2943|    662|    for (entry = aliases; ; entry++) {
 2944|    662|        if (entry->name == NULL) {
  ------------------
  |  Branch (2944:13): [True: 72, False: 590]
  ------------------
 2945|       |            /* It isn't an alias. */
 2946|     72|            return false;
 2947|     72|        }
 2948|    590|        if (strcmp(name, entry->name) == 0) {
  ------------------
  |  Branch (2948:13): [True: 10, False: 580]
  ------------------
 2949|     10|            if (alias != NULL) {
  ------------------
  |  Branch (2949:17): [True: 10, False: 0]
  ------------------
 2950|     10|                *alias = entry->orig;
 2951|     10|            }
 2952|       |            return true;
 2953|     10|        }
 2954|    590|    }
 2955|     82|}
import.c:unmarshal_frozen_code:
 3206|     40|{
 3207|     40|    PyObject *co = PyMarshal_ReadObjectFromString(info->data, info->size);
 3208|     40|    if (co == NULL) {
  ------------------
  |  Branch (3208:9): [True: 0, False: 40]
  ------------------
 3209|       |        /* Does not contain executable code. */
 3210|      0|        PyErr_Clear();
 3211|      0|        set_frozen_error(FROZEN_INVALID, info->nameobj);
 3212|      0|        return NULL;
 3213|      0|    }
 3214|     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 (3214:9): [True: 0, False: 40]
  ------------------
 3215|       |        // We stick with TypeError for backward compatibility.
 3216|      0|        PyErr_Format(PyExc_TypeError,
 3217|      0|                     "frozen object %R is not a code object",
 3218|      0|                     info->nameobj);
 3219|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3220|      0|        return NULL;
 3221|      0|    }
 3222|     40|    return co;
 3223|     40|}
import.c:remove_importlib_frames:
 3652|  6.91k|{
 3653|  6.91k|    const char *importlib_filename = "<frozen importlib._bootstrap>";
 3654|  6.91k|    const char *external_filename = "<frozen importlib._bootstrap_external>";
 3655|  6.91k|    const char *remove_frames = "_call_with_frames_removed";
 3656|  6.91k|    int always_trim = 0;
 3657|  6.91k|    int in_importlib = 0;
 3658|  6.91k|    PyObject **prev_link, **outer_link = NULL;
 3659|  6.91k|    PyObject *base_tb = NULL;
 3660|       |
 3661|       |    /* Synopsis: if it's an ImportError, we trim all importlib chunks
 3662|       |       from the traceback. We always trim chunks
 3663|       |       which end with a call to "_call_with_frames_removed". */
 3664|       |
 3665|  6.91k|    PyObject *exc = _PyErr_GetRaisedException(tstate);
 3666|  6.91k|    if (exc == NULL || _PyInterpreterState_GetConfig(tstate->interp)->verbose) {
  ------------------
  |  Branch (3666:9): [True: 0, False: 6.91k]
  |  Branch (3666:24): [True: 0, False: 6.91k]
  ------------------
 3667|      0|        goto done;
 3668|      0|    }
 3669|       |
 3670|  6.91k|    if (PyType_IsSubtype(Py_TYPE(exc), (PyTypeObject *) PyExc_ImportError)) {
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3670:9): [True: 6.91k, False: 0]
  ------------------
 3671|  6.91k|        always_trim = 1;
 3672|  6.91k|    }
 3673|       |
 3674|  6.91k|    assert(PyExceptionInstance_Check(exc));
 3675|  6.91k|    base_tb = PyException_GetTraceback(exc);
 3676|  6.91k|    prev_link = &base_tb;
 3677|  6.91k|    PyObject *tb = base_tb;
 3678|  34.5k|    while (tb != NULL) {
  ------------------
  |  Branch (3678:12): [True: 27.6k, False: 6.91k]
  ------------------
 3679|  27.6k|        assert(PyTraceBack_Check(tb));
 3680|  27.6k|        PyTracebackObject *traceback = (PyTracebackObject *)tb;
 3681|  27.6k|        PyObject *next = (PyObject *) traceback->tb_next;
 3682|  27.6k|        PyFrameObject *frame = traceback->tb_frame;
 3683|  27.6k|        PyCodeObject *code = PyFrame_GetCode(frame);
 3684|  27.6k|        int now_in_importlib;
 3685|       |
 3686|  27.6k|        now_in_importlib = _PyUnicode_EqualToASCIIString(code->co_filename, importlib_filename) ||
  ------------------
  |  Branch (3686:28): [True: 20.7k, False: 6.88k]
  ------------------
 3687|  6.88k|                           _PyUnicode_EqualToASCIIString(code->co_filename, external_filename);
  ------------------
  |  Branch (3687:28): [True: 3.44k, False: 3.44k]
  ------------------
 3688|  27.6k|        if (now_in_importlib && !in_importlib) {
  ------------------
  |  Branch (3688:13): [True: 24.1k, False: 3.44k]
  |  Branch (3688:33): [True: 6.91k, False: 17.2k]
  ------------------
 3689|       |            /* This is the link to this chunk of importlib tracebacks */
 3690|  6.91k|            outer_link = prev_link;
 3691|  6.91k|        }
 3692|  27.6k|        in_importlib = now_in_importlib;
 3693|       |
 3694|  27.6k|        if (in_importlib &&
  ------------------
  |  Branch (3694:13): [True: 24.1k, False: 3.44k]
  ------------------
 3695|  24.1k|            (always_trim ||
  ------------------
  |  Branch (3695:14): [True: 24.1k, False: 0]
  ------------------
 3696|  24.1k|             _PyUnicode_EqualToASCIIString(code->co_name, remove_frames))) {
  ------------------
  |  Branch (3696:14): [True: 0, False: 0]
  ------------------
 3697|  24.1k|            Py_XSETREF(*outer_link, Py_XNewRef(next));
  ------------------
  |  |  374|  24.1k|    do { \
  |  |  375|  24.1k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  24.1k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|  24.1k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  24.1k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|  24.1k|        *_tmp_dst_ptr = (src); \
  |  |  378|  24.1k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  24.1k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  24.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  24.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|  24.1k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 24.1k]
  |  |  ------------------
  ------------------
 3698|  24.1k|            prev_link = outer_link;
 3699|  24.1k|        }
 3700|  3.44k|        else {
 3701|  3.44k|            prev_link = (PyObject **) &traceback->tb_next;
 3702|  3.44k|        }
 3703|  27.6k|        Py_DECREF(code);
  ------------------
  |  |  430|  27.6k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  27.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3704|  27.6k|        tb = next;
 3705|  27.6k|    }
 3706|  6.91k|    if (base_tb == NULL) {
  ------------------
  |  Branch (3706:9): [True: 3.47k, False: 3.44k]
  ------------------
 3707|  3.47k|        base_tb = Py_None;
  ------------------
  |  |  616|  3.47k|#  define Py_None (&_Py_NoneStruct)
  ------------------
 3708|  3.47k|        Py_INCREF(Py_None);
  ------------------
  |  |  310|  3.47k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.47k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.47k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3709|  3.47k|    }
 3710|  6.91k|    PyException_SetTraceback(exc, base_tb);
 3711|  6.91k|done:
 3712|  6.91k|    Py_XDECREF(base_tb);
  ------------------
  |  |  524|  6.91k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  6.91k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.91k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3713|  6.91k|    _PyErr_SetRaisedException(tstate, exc);
 3714|  6.91k|}
import.c:resolve_name:
 3719|    386|{
 3720|    386|    PyObject *abs_name;
 3721|    386|    PyObject *package = NULL;
 3722|    386|    PyObject *spec = NULL;
 3723|    386|    Py_ssize_t last_dot;
 3724|    386|    PyObject *base;
 3725|    386|    int level_up;
 3726|       |
 3727|    386|    if (globals == NULL) {
  ------------------
  |  Branch (3727:9): [True: 0, False: 386]
  ------------------
 3728|      0|        _PyErr_SetString(tstate, PyExc_KeyError, "'__name__' not in globals");
 3729|      0|        goto error;
 3730|      0|    }
 3731|    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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3732|      0|        _PyErr_SetString(tstate, PyExc_TypeError,
 3733|      0|                         "globals must be a dict or a frozendict");
 3734|      0|        goto error;
 3735|      0|    }
 3736|    386|    if (PyDict_GetItemRef(globals, &_Py_ID(__package__), &package) < 0) {
  ------------------
  |  |  915|    386|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    386|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    386|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3736:9): [True: 0, False: 386]
  ------------------
 3737|      0|        goto error;
 3738|      0|    }
 3739|    386|    if (package == Py_None) {
  ------------------
  |  |  616|    386|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3739:9): [True: 0, False: 386]
  ------------------
 3740|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3741|      0|        package = NULL;
 3742|      0|    }
 3743|    386|    if (PyDict_GetItemRef(globals, &_Py_ID(__spec__), &spec) < 0) {
  ------------------
  |  |  915|    386|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    386|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    386|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3743:9): [True: 0, False: 386]
  ------------------
 3744|      0|        goto error;
 3745|      0|    }
 3746|       |
 3747|    386|    if (package != NULL) {
  ------------------
  |  Branch (3747:9): [True: 386, False: 0]
  ------------------
 3748|    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 (3748:13): [True: 0, False: 386]
  ------------------
 3749|      0|            _PyErr_SetString(tstate, PyExc_TypeError,
 3750|      0|                             "package must be a string");
 3751|      0|            goto error;
 3752|      0|        }
 3753|    386|        else if (spec != NULL && spec != Py_None) {
  ------------------
  |  |  616|    386|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3753:18): [True: 386, False: 0]
  |  Branch (3753:34): [True: 386, False: 0]
  ------------------
 3754|    386|            int equal;
 3755|    386|            PyObject *parent = PyObject_GetAttr(spec, &_Py_ID(parent));
  ------------------
  |  |  915|    386|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    386|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    386|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3756|    386|            if (parent == NULL) {
  ------------------
  |  Branch (3756:17): [True: 0, False: 386]
  ------------------
 3757|      0|                goto error;
 3758|      0|            }
 3759|       |
 3760|    386|            equal = PyObject_RichCompareBool(package, parent, Py_EQ);
  ------------------
  |  |  654|    386|#define Py_EQ 2
  ------------------
 3761|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3762|    386|            if (equal < 0) {
  ------------------
  |  Branch (3762:17): [True: 0, False: 386]
  ------------------
 3763|      0|                goto error;
 3764|      0|            }
 3765|    386|            else if (equal == 0) {
  ------------------
  |  Branch (3765:22): [True: 0, False: 386]
  ------------------
 3766|      0|                if (PyErr_WarnEx(PyExc_DeprecationWarning,
  ------------------
  |  Branch (3766:21): [True: 0, False: 0]
  ------------------
 3767|      0|                        "__package__ != __spec__.parent", 1) < 0) {
 3768|      0|                    goto error;
 3769|      0|                }
 3770|      0|            }
 3771|    386|        }
 3772|    386|    }
 3773|      0|    else if (spec != NULL && spec != Py_None) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (3773:14): [True: 0, False: 0]
  |  Branch (3773:30): [True: 0, False: 0]
  ------------------
 3774|      0|        package = PyObject_GetAttr(spec, &_Py_ID(parent));
  ------------------
  |  |  915|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3775|      0|        if (package == NULL) {
  ------------------
  |  Branch (3775:13): [True: 0, False: 0]
  ------------------
 3776|      0|            goto error;
 3777|      0|        }
 3778|      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 (3778:18): [True: 0, False: 0]
  ------------------
 3779|      0|            _PyErr_SetString(tstate, PyExc_TypeError,
 3780|      0|                             "__spec__.parent must be a string");
 3781|      0|            goto error;
 3782|      0|        }
 3783|      0|    }
 3784|      0|    else {
 3785|      0|        if (PyErr_WarnEx(PyExc_ImportWarning,
  ------------------
  |  Branch (3785:13): [True: 0, False: 0]
  ------------------
 3786|      0|                    "can't resolve package from __spec__ or __package__, "
 3787|      0|                    "falling back on __name__ and __path__", 1) < 0) {
 3788|      0|            goto error;
 3789|      0|        }
 3790|       |
 3791|      0|        if (PyDict_GetItemRef(globals, &_Py_ID(__name__), &package) < 0) {
  ------------------
  |  |  915|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3791:13): [True: 0, False: 0]
  ------------------
 3792|      0|            goto error;
 3793|      0|        }
 3794|      0|        if (package == NULL) {
  ------------------
  |  Branch (3794:13): [True: 0, False: 0]
  ------------------
 3795|      0|            _PyErr_SetString(tstate, PyExc_KeyError,
 3796|      0|                             "'__name__' not in globals");
 3797|      0|            goto error;
 3798|      0|        }
 3799|       |
 3800|      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 (3800:13): [True: 0, False: 0]
  ------------------
 3801|      0|            _PyErr_SetString(tstate, PyExc_TypeError,
 3802|      0|                             "__name__ must be a string");
 3803|      0|            goto error;
 3804|      0|        }
 3805|       |
 3806|      0|        int haspath = PyDict_Contains(globals, &_Py_ID(__path__));
  ------------------
  |  |  915|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3807|      0|        if (haspath < 0) {
  ------------------
  |  Branch (3807:13): [True: 0, False: 0]
  ------------------
 3808|      0|            goto error;
 3809|      0|        }
 3810|      0|        if (!haspath) {
  ------------------
  |  Branch (3810:13): [True: 0, False: 0]
  ------------------
 3811|      0|            Py_ssize_t dot;
 3812|       |
 3813|      0|            dot = PyUnicode_FindChar(package, '.',
 3814|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3815|      0|            if (dot == -2) {
  ------------------
  |  Branch (3815:17): [True: 0, False: 0]
  ------------------
 3816|      0|                goto error;
 3817|      0|            }
 3818|      0|            else if (dot == -1) {
  ------------------
  |  Branch (3818:22): [True: 0, False: 0]
  ------------------
 3819|      0|                goto no_parent_error;
 3820|      0|            }
 3821|      0|            PyObject *substr = PyUnicode_Substring(package, 0, dot);
 3822|      0|            if (substr == NULL) {
  ------------------
  |  Branch (3822:17): [True: 0, False: 0]
  ------------------
 3823|      0|                goto error;
 3824|      0|            }
 3825|      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]
  |  |  ------------------
  ------------------
 3826|      0|        }
 3827|      0|    }
 3828|       |
 3829|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3830|    386|    if (last_dot == 0) {
  ------------------
  |  Branch (3830:9): [True: 0, False: 386]
  ------------------
 3831|      0|        goto no_parent_error;
 3832|      0|    }
 3833|       |
 3834|    386|    for (level_up = 1; level_up < level; level_up += 1) {
  ------------------
  |  Branch (3834:24): [True: 0, False: 386]
  ------------------
 3835|      0|        last_dot = PyUnicode_FindChar(package, '.', 0, last_dot, -1);
 3836|      0|        if (last_dot == -2) {
  ------------------
  |  Branch (3836:13): [True: 0, False: 0]
  ------------------
 3837|      0|            goto error;
 3838|      0|        }
 3839|      0|        else if (last_dot == -1) {
  ------------------
  |  Branch (3839:18): [True: 0, False: 0]
  ------------------
 3840|      0|            _PyErr_SetString(tstate, PyExc_ImportError,
 3841|      0|                             "attempted relative import beyond top-level "
 3842|      0|                             "package");
 3843|      0|            goto error;
 3844|      0|        }
 3845|      0|    }
 3846|       |
 3847|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3848|    386|    base = PyUnicode_Substring(package, 0, last_dot);
 3849|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3850|    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 (3850:9): [True: 0, False: 386]
  |  Branch (3850:25): [True: 204, False: 182]
  ------------------
 3851|    204|        return base;
 3852|    204|    }
 3853|       |
 3854|    182|    abs_name = PyUnicode_FromFormat("%U.%U", base, name);
 3855|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3856|    182|    return abs_name;
 3857|       |
 3858|      0|  no_parent_error:
 3859|      0|    _PyErr_SetString(tstate, PyExc_ImportError,
 3860|      0|                     "attempted relative import "
 3861|      0|                     "with no known parent package");
 3862|       |
 3863|      0|  error:
 3864|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3865|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3866|       |    return NULL;
 3867|      0|}
import.c:get_abs_name:
 4154|   485k|{
 4155|   485k|    if (level > 0) {
  ------------------
  |  Branch (4155:9): [True: 386, False: 485k]
  ------------------
 4156|    386|        return resolve_name(tstate, name, globals, level);
 4157|    386|    }
 4158|   485k|    if (PyUnicode_GET_LENGTH(name) == 0) {
  ------------------
  |  |  299|   485k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   485k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   485k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4158:9): [True: 0, False: 485k]
  ------------------
 4159|      0|        _PyErr_SetString(tstate, PyExc_ValueError, "Empty module name");
 4160|      0|        return NULL;
 4161|      0|    }
 4162|   485k|    return Py_NewRef(name);
  ------------------
  |  |  550|   485k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   485k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   485k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4163|   485k|}
import.c:import_find_and_load:
 4099|  7.54k|{
 4100|  7.54k|    PyObject *mod = NULL;
 4101|  7.54k|    PyInterpreterState *interp = tstate->interp;
 4102|  7.54k|    int import_time = _PyInterpreterState_GetConfig(interp)->import_time;
 4103|  7.54k|#define import_level FIND_AND_LOAD(interp).import_level
 4104|  7.54k|#define accumulated FIND_AND_LOAD(interp).accumulated
 4105|       |
 4106|  7.54k|    PyTime_t t1 = 0, accumulated_copy = accumulated;
  ------------------
  |  | 4104|  7.54k|#define accumulated FIND_AND_LOAD(interp).accumulated
  |  |  ------------------
  |  |  |  |  117|  7.54k|    (interp)->imports.find_and_load
  |  |  ------------------
  ------------------
 4107|       |
 4108|       |    /* XOptions is initialized after first some imports.
 4109|       |     * So we can't have negative cache before completed initialization.
 4110|       |     * Anyway, importlib._find_and_load is much slower than
 4111|       |     * _PyDict_GetItemIdWithError().
 4112|       |     */
 4113|  7.54k|    if (import_time) {
  ------------------
  |  Branch (4113:9): [True: 0, False: 7.54k]
  ------------------
 4114|      0|        _IMPORT_TIME_HEADER(interp);
  ------------------
  |  |  135|      0|    do {                                                                      \
  |  |  136|      0|        if (FIND_AND_LOAD((interp)).header) {                                 \
  |  |  ------------------
  |  |  |  |  117|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  |  |  |  Branch (136:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  137|      0|            fputs("import time: self [us] | cumulative | imported package\n", \
  |  |  138|      0|                  stderr);                                                    \
  |  |  139|      0|            FIND_AND_LOAD((interp)).header = 0;                               \
  |  |  ------------------
  |  |  |  |  117|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  |  |  140|      0|        }                                                                     \
  |  |  141|      0|    } while (0)
  |  |  ------------------
  |  |  |  Branch (141:14): [Folded, False: 0]
  |  |  ------------------
  ------------------
 4115|       |
 4116|      0|        import_level++;
  ------------------
  |  | 4103|      0|#define import_level FIND_AND_LOAD(interp).import_level
  |  |  ------------------
  |  |  |  |  117|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  ------------------
 4117|       |        // ignore error: don't block import if reading the clock fails
 4118|      0|        (void)PyTime_PerfCounterRaw(&t1);
 4119|      0|        accumulated = 0;
  ------------------
  |  | 4104|      0|#define accumulated FIND_AND_LOAD(interp).accumulated
  |  |  ------------------
  |  |  |  |  117|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  ------------------
 4120|      0|    }
 4121|       |
 4122|  7.54k|    if (PyDTrace_IMPORT_FIND_LOAD_START_ENABLED())
  ------------------
  |  Branch (4122:9): [True: 0, False: 7.54k]
  ------------------
 4123|      0|        PyDTrace_IMPORT_FIND_LOAD_START(PyUnicode_AsUTF8(abs_name));
 4124|       |
 4125|  7.54k|    mod = PyObject_CallMethodObjArgs(IMPORTLIB(interp), &_Py_ID(_find_and_load),
  ------------------
  |  |   98|  7.54k|    (interp)->imports.importlib
  ------------------
                  mod = PyObject_CallMethodObjArgs(IMPORTLIB(interp), &_Py_ID(_find_and_load),
  ------------------
  |  |  915|  7.54k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  7.54k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  7.54k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4126|  7.54k|                                     abs_name, IMPORT_FUNC(interp), NULL);
  ------------------
  |  |  108|  7.54k|    (interp)->imports.import_func
  ------------------
 4127|       |
 4128|  7.54k|    if (PyDTrace_IMPORT_FIND_LOAD_DONE_ENABLED())
  ------------------
  |  Branch (4128:9): [True: 0, False: 7.54k]
  ------------------
 4129|      0|        PyDTrace_IMPORT_FIND_LOAD_DONE(PyUnicode_AsUTF8(abs_name),
 4130|      0|                                       mod != NULL);
 4131|       |
 4132|  7.54k|    if (import_time) {
  ------------------
  |  Branch (4132:9): [True: 0, False: 7.54k]
  ------------------
 4133|      0|        PyTime_t t2;
 4134|      0|        (void)PyTime_PerfCounterRaw(&t2);
 4135|      0|        PyTime_t cum = t2 - t1;
 4136|       |
 4137|      0|        import_level--;
  ------------------
  |  | 4103|      0|#define import_level FIND_AND_LOAD(interp).import_level
  |  |  ------------------
  |  |  |  |  117|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  ------------------
 4138|      0|        fprintf(stderr, "import time: %9ld | %10ld | %*s%s\n",
 4139|      0|                (long)_PyTime_AsMicroseconds(cum - accumulated, _PyTime_ROUND_CEILING),
  ------------------
  |  | 4104|      0|#define accumulated FIND_AND_LOAD(interp).accumulated
  |  |  ------------------
  |  |  |  |  117|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  ------------------
 4140|      0|                (long)_PyTime_AsMicroseconds(cum, _PyTime_ROUND_CEILING),
 4141|      0|                import_level*2, "", PyUnicode_AsUTF8(abs_name));
  ------------------
  |  | 4103|      0|#define import_level FIND_AND_LOAD(interp).import_level
  |  |  ------------------
  |  |  |  |  117|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  ------------------
 4142|       |
 4143|      0|        accumulated = accumulated_copy + cum;
  ------------------
  |  | 4104|      0|#define accumulated FIND_AND_LOAD(interp).accumulated
  |  |  ------------------
  |  |  |  |  117|      0|    (interp)->imports.find_and_load
  |  |  ------------------
  ------------------
 4144|      0|    }
 4145|       |
 4146|  7.54k|    return mod;
 4147|  7.54k|#undef import_level
 4148|  7.54k|#undef accumulated
 4149|  7.54k|}
import.c:register_from_lazy_on_parent:
 4462|     20|{
 4463|     20|    PyObject *fromname = PyUnicode_FromFormat("%U.%U", abs_name, from);
 4464|     20|    if (fromname == NULL) {
  ------------------
  |  Branch (4464:9): [True: 0, False: 20]
  ------------------
 4465|      0|        return -1;
 4466|      0|    }
 4467|     20|    int res = register_lazy_on_parent(tstate, fromname, builtins);
 4468|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4469|     20|    return res;
 4470|     20|}
import.c:register_lazy_on_parent:
 4364|     48|{
 4365|     48|    int ret = -1;
 4366|     48|    PyObject *parent = NULL;
 4367|     48|    PyObject *child = NULL;
 4368|     48|    PyObject *parent_module = NULL;
 4369|     48|    PyObject *parent_dict = NULL;
 4370|       |
 4371|     48|    PyInterpreterState *interp = tstate->interp;
 4372|     48|    PyObject *lazy_modules = LAZY_MODULES(interp);
  ------------------
  |  |   96|     48|    (interp)->imports.lazy_modules
  ------------------
 4373|     48|    assert(lazy_modules != NULL);
 4374|       |
 4375|     48|    Py_INCREF(name);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4376|     68|    while (true) {
  ------------------
  |  Branch (4376:12): [True: 68, Folded]
  ------------------
 4377|     68|        Py_ssize_t dot = PyUnicode_FindChar(name, '.', 0,
 4378|     68|                                            PyUnicode_GET_LENGTH(name), -1);
  ------------------
  |  |  299|     68|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     68|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     68|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4379|     68|        if (dot < 0) {
  ------------------
  |  Branch (4379:13): [True: 48, False: 20]
  ------------------
 4380|     48|            PyObject *lazy_submodules = ensure_lazy_submodules(
 4381|     48|                (PyDictObject *)lazy_modules, name);
 4382|     48|            if (lazy_submodules == NULL) {
  ------------------
  |  Branch (4382:17): [True: 0, False: 48]
  ------------------
 4383|      0|                goto done;
 4384|      0|            }
 4385|     48|            Py_DECREF(lazy_submodules);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4386|     48|            ret = 0;
 4387|     48|            goto done;
 4388|     48|        }
 4389|     20|        parent = PyUnicode_Substring(name, 0, dot);
 4390|       |        // If `parent` is NULL then this has hit the end of the import, no
 4391|       |        // more "parent.child" in the import name. The entire import will be
 4392|       |        // resolved lazily.
 4393|     20|        if (parent == NULL) {
  ------------------
  |  Branch (4393:13): [True: 0, False: 20]
  ------------------
 4394|      0|            goto done;
 4395|      0|        }
 4396|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4397|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4398|     20|        if (child == NULL) {
  ------------------
  |  Branch (4398:13): [True: 0, False: 20]
  ------------------
 4399|      0|            goto done;
 4400|      0|        }
 4401|       |
 4402|       |        // Record the child as being lazily imported from the parent.
 4403|     20|        PyObject *lazy_submodules = ensure_lazy_submodules(
 4404|     20|            (PyDictObject *)lazy_modules, parent);
 4405|     20|        if (lazy_submodules == NULL) {
  ------------------
  |  Branch (4405:13): [True: 0, False: 20]
  ------------------
 4406|      0|            goto done;
 4407|      0|        }
 4408|       |
 4409|     20|        if (PySet_Add(lazy_submodules, child) < 0) {
  ------------------
  |  Branch (4409:13): [True: 0, False: 20]
  ------------------
 4410|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4411|      0|            goto done;
 4412|      0|        }
 4413|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4414|       |
 4415|       |        // Add the lazy import for the child to the parent.
 4416|     20|        Py_XSETREF(parent_module, PyImport_GetModule(parent));
  ------------------
  |  |  374|     20|    do { \
  |  |  375|     20|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|     20|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|     20|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|     20|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|     20|        *_tmp_dst_ptr = (src); \
  |  |  378|     20|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|     20|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 20]
  |  |  ------------------
  ------------------
 4417|     20|        if (parent_module != NULL) {
  ------------------
  |  Branch (4417:13): [True: 0, False: 20]
  ------------------
 4418|      0|            Py_XSETREF(parent_dict, get_mod_dict(parent_module));
  ------------------
  |  |  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]
  |  |  ------------------
  ------------------
 4419|      0|            if (parent_dict == NULL) {
  ------------------
  |  Branch (4419:17): [True: 0, False: 0]
  ------------------
 4420|      0|                goto done;
 4421|      0|            }
 4422|      0|            if (PyDict_CheckExact(parent_dict)) {
  ------------------
  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4423|      0|                int contains = PyDict_Contains(parent_dict, child);
 4424|      0|                if (contains < 0) {
  ------------------
  |  Branch (4424:21): [True: 0, False: 0]
  ------------------
 4425|      0|                    goto done;
 4426|      0|                }
 4427|      0|                if (!contains) {
  ------------------
  |  Branch (4427:21): [True: 0, False: 0]
  ------------------
 4428|      0|                    PyObject *lazy_module_attr = _PyLazyImport_New(
 4429|      0|                        tstate->current_frame, builtins, parent, child
 4430|      0|                    );
 4431|      0|                    if (lazy_module_attr == NULL) {
  ------------------
  |  Branch (4431:25): [True: 0, False: 0]
  ------------------
 4432|      0|                        goto done;
 4433|      0|                    }
 4434|      0|                    if (PyDict_SetItem(parent_dict, child,
  ------------------
  |  Branch (4434:25): [True: 0, False: 0]
  ------------------
 4435|      0|                                       lazy_module_attr) < 0) {
 4436|      0|                        Py_DECREF(lazy_module_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4437|      0|                        goto done;
 4438|      0|                    }
 4439|      0|                    Py_DECREF(lazy_module_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4440|      0|                }
 4441|      0|            }
 4442|      0|            ret = 0;
 4443|      0|            goto done;
 4444|      0|        }
 4445|       |
 4446|     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]
  |  |  ------------------
  ------------------
 4447|     20|        parent = NULL;
 4448|     20|    }
 4449|       |
 4450|     48|done:
 4451|     48|    Py_XDECREF(parent_dict);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4452|     48|    Py_XDECREF(parent_module);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4453|     48|    Py_XDECREF(child);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4454|     48|    Py_XDECREF(parent);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4455|     48|    Py_XDECREF(name);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4456|     48|    return ret;
 4457|     48|}
import.c:ensure_lazy_submodules:
 4343|     68|{
 4344|     68|    PyObject *lazy_submodules;
 4345|     68|    Py_BEGIN_CRITICAL_SECTION(lazy_modules);
  ------------------
  |  |   51|     68|    {
  ------------------
 4346|     68|    int err = _PyDict_GetItemRef_Unicode_LockHeld(lazy_modules, parent,
 4347|     68|                                                  &lazy_submodules);
 4348|     68|    if (err == 0) {
  ------------------
  |  Branch (4348:9): [True: 28, False: 40]
  ------------------
 4349|       |        // value isn't present
 4350|     28|        lazy_submodules = PySet_New(NULL);
 4351|     28|        if (lazy_submodules != NULL &&
  ------------------
  |  Branch (4351:13): [True: 28, False: 0]
  ------------------
 4352|     28|            _PyDict_SetItem_LockHeld(lazy_modules, parent,
  ------------------
  |  Branch (4352:13): [True: 0, False: 28]
  ------------------
 4353|     28|                                     lazy_submodules) < 0) {
 4354|      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]
  |  |  ------------------
  ------------------
 4355|      0|        }
 4356|     28|    }
 4357|     68|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     68|    }
  ------------------
 4358|     68|    return lazy_submodules;
 4359|     68|}
import.c:get_mod_dict:
 4331|     16|{
 4332|     16|    if (PyModule_Check(module)) {
  ------------------
  |  |   12|     16|#define PyModule_Check(op) PyObject_TypeCheck((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  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: 16, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4333|     16|        return Py_NewRef(_PyModule_GetDict(module));
  ------------------
  |  |  550|     16|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4334|     16|    }
 4335|       |
 4336|      0|    return PyObject_GetAttr(module, &_Py_ID(__dict__));
  ------------------
  |  |  915|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4337|     16|}
import.c:init_builtin_modules_table:
 2662|      2|{
 2663|      2|    size_t size;
 2664|     78|    for (size = 0; PyImport_Inittab[size].name != NULL; size++)
  ------------------
  |  Branch (2664:20): [True: 76, False: 2]
  ------------------
 2665|     76|        ;
 2666|      2|    size++;
 2667|       |
 2668|       |    /* Make the copy. */
 2669|      2|    struct _inittab *copied = _PyMem_DefaultRawMalloc(size * sizeof(struct _inittab));
 2670|      2|    if (copied == NULL) {
  ------------------
  |  Branch (2670:9): [True: 0, False: 2]
  ------------------
 2671|      0|        return -1;
 2672|      0|    }
 2673|      2|    memcpy(copied, PyImport_Inittab, size * sizeof(struct _inittab));
 2674|      2|    INITTAB = copied;
  ------------------
  |  |   80|      2|#define INITTAB _PyRuntime.imports.inittab
  ------------------
 2675|      2|    return 0;
 2676|      2|}
import.c:init_importlib:
 3385|      2|{
 3386|      2|    assert(!_PyErr_Occurred(tstate));
 3387|       |
 3388|      2|    PyInterpreterState *interp = tstate->interp;
 3389|      2|    int verbose = _PyInterpreterState_GetConfig(interp)->verbose;
 3390|       |
 3391|       |    // Import _importlib through its frozen version, _frozen_importlib.
 3392|      2|    if (verbose) {
  ------------------
  |  Branch (3392:9): [True: 0, False: 2]
  ------------------
 3393|      0|        PySys_FormatStderr("import _frozen_importlib # frozen\n");
 3394|      0|    }
 3395|      2|    if (PyImport_ImportFrozenModule("_frozen_importlib") <= 0) {
  ------------------
  |  Branch (3395:9): [True: 0, False: 2]
  ------------------
 3396|      0|        return -1;
 3397|      0|    }
 3398|       |
 3399|      2|    PyObject *importlib = PyImport_AddModuleRef("_frozen_importlib");
 3400|      2|    if (importlib == NULL) {
  ------------------
  |  Branch (3400:9): [True: 0, False: 2]
  ------------------
 3401|      0|        return -1;
 3402|      0|    }
 3403|      2|    IMPORTLIB(interp) = importlib;
  ------------------
  |  |   98|      2|    (interp)->imports.importlib
  ------------------
 3404|       |
 3405|       |    // Import the _imp module
 3406|      2|    if (verbose) {
  ------------------
  |  Branch (3406:9): [True: 0, False: 2]
  ------------------
 3407|      0|        PySys_FormatStderr("import _imp # builtin\n");
 3408|      0|    }
 3409|      2|    PyObject *imp_mod = bootstrap_imp(tstate);
 3410|      2|    if (imp_mod == NULL) {
  ------------------
  |  Branch (3410:9): [True: 0, False: 2]
  ------------------
 3411|      0|        return -1;
 3412|      0|    }
 3413|      2|    if (_PyImport_SetModuleString("_imp", imp_mod) < 0) {
  ------------------
  |  Branch (3413:9): [True: 0, False: 2]
  ------------------
 3414|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3415|      0|        return -1;
 3416|      0|    }
 3417|       |
 3418|       |    // Install importlib as the implementation of import
 3419|      2|    PyObject *value = PyObject_CallMethod(importlib, "_install",
 3420|      2|                                          "OO", sysmod, imp_mod);
 3421|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3422|      2|    if (value == NULL) {
  ------------------
  |  Branch (3422:9): [True: 0, False: 2]
  ------------------
 3423|      0|        return -1;
 3424|      0|    }
 3425|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3426|       |
 3427|       |    assert(!_PyErr_Occurred(tstate));
 3428|      2|    return 0;
 3429|      2|}
import.c:bootstrap_imp:
 3331|      2|{
 3332|      2|    PyObject *name = PyUnicode_FromString("_imp");
 3333|      2|    if (name == NULL) {
  ------------------
  |  Branch (3333:9): [True: 0, False: 2]
  ------------------
 3334|      0|        return NULL;
 3335|      0|    }
 3336|       |
 3337|       |    // Mock a ModuleSpec object just good enough for PyModule_FromDefAndSpec():
 3338|       |    // an object with just a name attribute.
 3339|       |    //
 3340|       |    // _imp.__spec__ is overridden by importlib._bootstrap._instal() anyway.
 3341|      2|    PyObject *attrs = Py_BuildValue("{sO}", "name", name);
 3342|      2|    if (attrs == NULL) {
  ------------------
  |  Branch (3342:9): [True: 0, False: 2]
  ------------------
 3343|      0|        goto error;
 3344|      0|    }
 3345|      2|    PyObject *spec = _PyNamespace_New(attrs);
 3346|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3347|      2|    if (spec == NULL) {
  ------------------
  |  Branch (3347:9): [True: 0, False: 2]
  ------------------
 3348|      0|        goto error;
 3349|      0|    }
 3350|       |
 3351|       |    // Create the _imp module from its definition.
 3352|      2|    PyObject *mod = create_builtin(tstate, name, spec, NULL);
 3353|      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]
  |  |  ------------------
  ------------------
 3354|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3355|      2|    if (mod == NULL) {
  ------------------
  |  Branch (3355:9): [True: 0, False: 2]
  ------------------
 3356|      0|        goto error;
 3357|      0|    }
 3358|      2|    assert(mod != Py_None);  // not found
 3359|       |
 3360|       |    // Execute the _imp module: call imp_module_exec().
 3361|      2|    if (exec_builtin_or_dynamic(mod) < 0) {
  ------------------
  |  Branch (3361:9): [True: 0, False: 2]
  ------------------
 3362|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3363|      0|        goto error;
 3364|      0|    }
 3365|      2|    return mod;
 3366|       |
 3367|      0|error:
 3368|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3369|       |    return NULL;
 3370|      2|}
import.c:exec_builtin_or_dynamic:
  921|    110|exec_builtin_or_dynamic(PyObject *mod) {
  922|    110|    void *state;
  923|       |
  924|    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 (924:9): [True: 0, False: 110]
  ------------------
  925|      0|        return 0;
  926|      0|    }
  927|       |
  928|    110|    state = PyModule_GetState(mod);
  929|    110|    if (state) {
  ------------------
  |  Branch (929:9): [True: 0, False: 110]
  ------------------
  930|       |        /* Already initialized; skip reload */
  931|      0|        return 0;
  932|      0|    }
  933|       |
  934|    110|    return PyModule_Exec(mod);
  935|    110|}
import.c:init_importlib_external:
 3434|      2|{
 3435|      2|    PyObject *value;
 3436|      2|    value = PyObject_CallMethod(IMPORTLIB(interp),
  ------------------
  |  |   98|      2|    (interp)->imports.importlib
  ------------------
 3437|      2|                                "_install_external_importers", "");
 3438|      2|    if (value == NULL) {
  ------------------
  |  Branch (3438:9): [True: 0, False: 2]
  ------------------
 3439|      0|        return -1;
 3440|      0|    }
 3441|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3442|      2|    return 0;
 3443|      2|}
import.c:init_zipimport:
 4826|      2|{
 4827|      2|    PyObject *path_hooks = PySys_GetAttrString("path_hooks");
 4828|      2|    if (path_hooks == NULL) {
  ------------------
  |  Branch (4828:9): [True: 0, False: 2]
  ------------------
 4829|      0|        return -1;
 4830|      0|    }
 4831|       |
 4832|      2|    if (verbose) {
  ------------------
  |  Branch (4832:9): [True: 0, False: 2]
  ------------------
 4833|      0|        PySys_WriteStderr("# installing zipimport hook\n");
 4834|      0|    }
 4835|       |
 4836|      2|    PyObject *zipimporter = PyImport_ImportModuleAttrString("zipimport", "zipimporter");
 4837|      2|    if (zipimporter == NULL) {
  ------------------
  |  Branch (4837:9): [True: 0, False: 2]
  ------------------
 4838|      0|        _PyErr_Clear(tstate); /* No zipimporter object -- okay */
 4839|      0|        if (verbose) {
  ------------------
  |  Branch (4839:13): [True: 0, False: 0]
  ------------------
 4840|      0|            PySys_WriteStderr("# can't import zipimport.zipimporter\n");
 4841|      0|        }
 4842|      0|    }
 4843|      2|    else {
 4844|       |        /* sys.path_hooks.insert(0, zipimporter) */
 4845|      2|        int err = PyList_Insert(path_hooks, 0, zipimporter);
 4846|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4847|      2|        if (err < 0) {
  ------------------
  |  Branch (4847:13): [True: 0, False: 2]
  ------------------
 4848|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4849|      0|            return -1;
 4850|      0|        }
 4851|      2|        if (verbose) {
  ------------------
  |  Branch (4851:13): [True: 0, False: 2]
  ------------------
 4852|      0|            PySys_WriteStderr("# installed zipimport hook\n");
 4853|      0|        }
 4854|      2|    }
 4855|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4856|       |
 4857|      2|    return 0;
 4858|      2|}
import.c:_imp_extension_suffixes_impl:
 5121|      4|{
 5122|      4|    PyObject *list;
 5123|       |
 5124|      4|    list = PyList_New(0);
 5125|      4|    if (list == NULL)
  ------------------
  |  Branch (5125:9): [True: 0, False: 4]
  ------------------
 5126|      0|        return NULL;
 5127|      4|#ifdef HAVE_DYNAMIC_LOADING
 5128|      4|    const char *suffix;
 5129|      4|    unsigned int index = 0;
 5130|       |
 5131|     20|    while ((suffix = _PyImport_DynLoadFiletab[index])) {
  ------------------
  |  Branch (5131:12): [True: 16, False: 4]
  ------------------
 5132|     16|        PyObject *item = PyUnicode_FromString(suffix);
 5133|     16|        if (item == NULL) {
  ------------------
  |  Branch (5133:13): [True: 0, False: 16]
  ------------------
 5134|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5135|      0|            return NULL;
 5136|      0|        }
 5137|     16|        if (PyList_Append(list, item) < 0) {
  ------------------
  |  Branch (5137:13): [True: 0, False: 16]
  ------------------
 5138|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5139|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5140|      0|            return NULL;
 5141|      0|        }
 5142|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5143|     16|        index += 1;
 5144|     16|    }
 5145|      4|#endif
 5146|      4|    return list;
 5147|      4|}
import.c:_imp_acquire_lock_impl:
 5018|  38.4k|{
 5019|  38.4k|    PyInterpreterState *interp = _PyInterpreterState_GET();
 5020|  38.4k|    _PyImport_AcquireLock(interp);
 5021|  38.4k|    Py_RETURN_NONE;
  ------------------
  |  |  628|  38.4k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  38.4k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 5022|  38.4k|}
import.c:_imp_release_lock_impl:
 5035|  38.4k|{
 5036|  38.4k|    PyInterpreterState *interp = _PyInterpreterState_GET();
 5037|  38.4k|    if (!_PyRecursiveMutex_IsLockedByCurrentThread(&IMPORT_LOCK(interp))) {
  ------------------
  |  |  114|  38.4k|    (interp)->imports.lock
  ------------------
  |  Branch (5037:9): [True: 0, False: 38.4k]
  ------------------
 5038|      0|        PyErr_SetString(PyExc_RuntimeError,
 5039|      0|                        "not holding the import lock");
 5040|      0|        return NULL;
 5041|      0|    }
 5042|  38.4k|    _PyImport_ReleaseLock(interp);
 5043|  38.4k|    Py_RETURN_NONE;
  ------------------
  |  |  628|  38.4k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  38.4k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 5044|  38.4k|}
import.c:_imp_find_frozen_impl:
 5196|  7.49k|{
 5197|  7.49k|    struct frozen_info info;
 5198|  7.49k|    frozen_status status = find_frozen(name, &info);
 5199|  7.49k|    if (status == FROZEN_NOT_FOUND || status == FROZEN_DISABLED) {
  ------------------
  |  Branch (5199:9): [True: 7.45k, False: 38]
  |  Branch (5199:39): [True: 0, False: 38]
  ------------------
 5200|  7.45k|        Py_RETURN_NONE;
  ------------------
  |  |  628|  7.45k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  7.45k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 5201|  7.45k|    }
 5202|     38|    else if (status == FROZEN_BAD_NAME) {
  ------------------
  |  Branch (5202:14): [True: 0, False: 38]
  ------------------
 5203|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 5204|      0|    }
 5205|     38|    else if (status != FROZEN_OKAY) {
  ------------------
  |  Branch (5205:14): [True: 0, False: 38]
  ------------------
 5206|      0|        set_frozen_error(status, name);
 5207|      0|        return NULL;
 5208|      0|    }
 5209|       |
 5210|     38|    PyObject *data = NULL;
 5211|     38|    if (withdata) {
  ------------------
  |  Branch (5211:9): [True: 0, False: 38]
  ------------------
 5212|      0|        data = PyMemoryView_FromMemory((char *)info.data, info.size, PyBUF_READ);
  ------------------
  |  |  137|      0|#define PyBUF_READ  0x100
  ------------------
 5213|      0|        if (data == NULL) {
  ------------------
  |  Branch (5213:13): [True: 0, False: 0]
  ------------------
 5214|      0|            return NULL;
 5215|      0|        }
 5216|      0|    }
 5217|       |
 5218|     38|    PyObject *origname = NULL;
 5219|     38|    if (info.origname != NULL && info.origname[0] != '\0') {
  ------------------
  |  Branch (5219:9): [True: 38, False: 0]
  |  Branch (5219:34): [True: 38, False: 0]
  ------------------
 5220|     38|        origname = PyUnicode_FromString(info.origname);
 5221|     38|        if (origname == NULL) {
  ------------------
  |  Branch (5221:13): [True: 0, False: 38]
  ------------------
 5222|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5223|      0|            return NULL;
 5224|      0|        }
 5225|     38|    }
 5226|       |
 5227|     38|    PyObject *result = PyTuple_Pack(3, data ? data : Py_None,
  ------------------
  |  |  616|     38|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (5227:40): [True: 0, False: 38]
  ------------------
 5228|     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 (5228:37): [True: 2, False: 36]
  ------------------
 5229|     38|                                    origname ? origname : Py_None);
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (5229:37): [True: 38, False: 0]
  ------------------
 5230|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5231|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5232|     38|    return result;
 5233|     38|}
import.c:_imp_get_frozen_object_impl:
 5249|     38|{
 5250|     38|    struct frozen_info info = {0};
 5251|     38|    Py_buffer buf = {0};
 5252|     38|    if (PyObject_CheckBuffer(dataobj)) {
  ------------------
  |  Branch (5252:9): [True: 0, False: 38]
  ------------------
 5253|      0|        if (PyObject_GetBuffer(dataobj, &buf, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|      0|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (5253:13): [True: 0, False: 0]
  ------------------
 5254|      0|            return NULL;
 5255|      0|        }
 5256|      0|        info.data = (const char *)buf.buf;
 5257|      0|        info.size = buf.len;
 5258|      0|    }
 5259|     38|    else if (dataobj != Py_None) {
  ------------------
  |  |  616|     38|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (5259:14): [True: 0, False: 38]
  ------------------
 5260|      0|        _PyArg_BadArgument("get_frozen_object", "argument 2", "bytes", dataobj);
 5261|      0|        return NULL;
 5262|      0|    }
 5263|     38|    else {
 5264|     38|        frozen_status status = find_frozen(name, &info);
 5265|     38|        if (status != FROZEN_OKAY) {
  ------------------
  |  Branch (5265:13): [True: 0, False: 38]
  ------------------
 5266|      0|            set_frozen_error(status, name);
 5267|      0|            return NULL;
 5268|      0|        }
 5269|     38|    }
 5270|       |
 5271|     38|    if (info.nameobj == NULL) {
  ------------------
  |  Branch (5271:9): [True: 0, False: 38]
  ------------------
 5272|      0|        info.nameobj = name;
 5273|      0|    }
 5274|     38|    if (info.size == 0) {
  ------------------
  |  Branch (5274:9): [True: 0, False: 38]
  ------------------
 5275|       |        /* Does not contain executable code. */
 5276|      0|        set_frozen_error(FROZEN_INVALID, name);
 5277|      0|        return NULL;
 5278|      0|    }
 5279|       |
 5280|     38|    PyInterpreterState *interp = _PyInterpreterState_GET();
 5281|     38|    PyObject *codeobj = unmarshal_frozen_code(interp, &info);
 5282|     38|    if (dataobj != Py_None) {
  ------------------
  |  |  616|     38|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (5282:9): [True: 0, False: 38]
  ------------------
 5283|      0|        PyBuffer_Release(&buf);
 5284|      0|    }
 5285|     38|    return codeobj;
 5286|     38|}
import.c:_imp_is_frozen_package_impl:
 5300|      2|{
 5301|      2|    struct frozen_info info;
 5302|      2|    frozen_status status = find_frozen(name, &info);
 5303|      2|    if (status != FROZEN_OKAY && status != FROZEN_EXCLUDED) {
  ------------------
  |  Branch (5303:9): [True: 0, False: 2]
  |  Branch (5303:34): [True: 0, False: 0]
  ------------------
 5304|      0|        set_frozen_error(status, name);
 5305|      0|        return NULL;
 5306|      0|    }
 5307|      2|    return PyBool_FromLong(info.is_package);
 5308|      2|}
import.c:_imp_create_builtin:
 5084|     60|{
 5085|     60|    PyThreadState *tstate = _PyThreadState_GET();
 5086|       |
 5087|     60|    PyObject *name = PyObject_GetAttrString(spec, "name");
 5088|     60|    if (name == NULL) {
  ------------------
  |  Branch (5088:9): [True: 0, False: 60]
  ------------------
 5089|      0|        return NULL;
 5090|      0|    }
 5091|       |
 5092|     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 (5092:9): [True: 0, False: 60]
  ------------------
 5093|      0|        PyErr_Format(PyExc_TypeError,
 5094|      0|                     "name must be string, not %.200s",
 5095|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5096|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5097|      0|        return NULL;
 5098|      0|    }
 5099|       |
 5100|     60|    if (PyUnicode_GetLength(name) == 0) {
  ------------------
  |  Branch (5100:9): [True: 0, False: 60]
  ------------------
 5101|      0|        PyErr_Format(PyExc_ValueError, "name must not be empty");
 5102|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5103|      0|        return NULL;
 5104|      0|    }
 5105|       |
 5106|     60|    PyObject *mod = create_builtin(tstate, name, spec, NULL);
 5107|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5108|     60|    return mod;
 5109|     60|}
import.c:_imp_is_builtin_impl:
 5322|  7.55k|{
 5323|  7.55k|    return PyLong_FromLong(is_builtin(name));
 5324|  7.55k|}
import.c:is_builtin:
 2449|  7.55k|{
 2450|  7.55k|    int i;
 2451|  7.55k|    struct _inittab *inittab = INITTAB;
  ------------------
  |  |   80|  7.55k|#define INITTAB _PyRuntime.imports.inittab
  ------------------
 2452|   293k|    for (i = 0; inittab[i].name != NULL; i++) {
  ------------------
  |  Branch (2452:17): [True: 285k, False: 7.49k]
  ------------------
 2453|   285k|        if (_PyUnicode_EqualToASCIIString(name, inittab[i].name)) {
  ------------------
  |  Branch (2453:13): [True: 60, False: 285k]
  ------------------
 2454|     60|            if (inittab[i].initfunc == NULL)
  ------------------
  |  Branch (2454:17): [True: 0, False: 60]
  ------------------
 2455|      0|                return -1;
 2456|     60|            else
 2457|     60|                return 1;
 2458|     60|        }
 2459|   285k|    }
 2460|  7.49k|    return 0;
 2461|  7.55k|}
import.c:_imp_is_frozen_impl:
 5338|      2|{
 5339|      2|    struct frozen_info info;
 5340|      2|    frozen_status status = find_frozen(name, &info);
 5341|      2|    if (status != FROZEN_OKAY) {
  ------------------
  |  Branch (5341:9): [True: 0, False: 2]
  ------------------
 5342|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5343|      0|    }
 5344|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5345|      2|}
import.c:_imp_create_dynamic_impl:
 5431|     50|{
 5432|     50|    FILE *fp = NULL;
 5433|     50|    PyObject *mod = NULL;
 5434|     50|    PyThreadState *tstate = _PyThreadState_GET();
 5435|       |
 5436|     50|    struct _Py_ext_module_loader_info info;
 5437|     50|    if (_Py_ext_module_loader_info_init_from_spec(&info, spec) < 0) {
  ------------------
  |  Branch (5437:9): [True: 0, False: 50]
  ------------------
 5438|      0|        return NULL;
 5439|      0|    }
 5440|       |
 5441|     50|    struct extensions_cache_value *cached = NULL;
 5442|     50|    mod = import_find_extension(tstate, &info, &cached);
 5443|     50|    if (mod != NULL) {
  ------------------
  |  Branch (5443:9): [True: 0, False: 50]
  ------------------
 5444|      0|        assert(!_PyErr_Occurred(tstate));
 5445|      0|        assert(cached != NULL);
 5446|       |        /* The module might not have md_def set in certain reload cases. */
 5447|      0|        assert(_PyModule_GetDefOrNull(mod) == NULL
 5448|      0|                || cached->def == _PyModule_GetDefOrNull(mod));
 5449|      0|        assert_singlephase(cached);
 5450|      0|        goto finally;
 5451|      0|    }
 5452|     50|    else if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (5452:14): [True: 0, False: 50]
  ------------------
 5453|      0|        goto finally;
 5454|      0|    }
 5455|       |    /* Otherwise it must be multi-phase init or the first time it's loaded. */
 5456|       |
 5457|       |    /* If the module was added to the global cache
 5458|       |     * but def->m_base.m_copy was cleared (e.g. subinterp fini)
 5459|       |     * then we have to do a little dance here. */
 5460|     50|    if (cached != NULL) {
  ------------------
  |  Branch (5460:9): [True: 0, False: 50]
  ------------------
 5461|      0|        assert(cached->def->m_base.m_copy == NULL);
 5462|       |        /* For now we clear the cache and move on. */
 5463|      0|        _extensions_cache_delete(info.path, info.name);
 5464|      0|    }
 5465|       |
 5466|     50|    if (PySys_Audit("import", "OOOOO", info.name, info.filename,
  ------------------
  |  Branch (5466:9): [True: 0, False: 50]
  ------------------
 5467|     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)
  ------------------
 5468|      0|    {
 5469|      0|        goto finally;
 5470|      0|    }
 5471|       |
 5472|       |    /* We would move this (and the fclose() below) into
 5473|       |     * _PyImport_GetModuleExportHooks(), but it isn't clear if the intervening
 5474|       |     * code relies on fp still being open. */
 5475|     50|    if (file != NULL) {
  ------------------
  |  Branch (5475:9): [True: 0, False: 50]
  ------------------
 5476|      0|        fp = Py_fopen(info.filename, "r");
 5477|      0|        if (fp == NULL) {
  ------------------
  |  Branch (5477:13): [True: 0, False: 0]
  ------------------
 5478|      0|            goto finally;
 5479|      0|        }
 5480|      0|    }
 5481|       |
 5482|     50|    PyModInitFunction p0 = NULL;
 5483|     50|    PyModExportFunction ex0 = NULL;
 5484|     50|    _PyImport_GetModuleExportHooks(&info, fp, &p0, &ex0);
 5485|     50|    if (ex0) {
  ------------------
  |  Branch (5485:9): [True: 0, False: 50]
  ------------------
 5486|      0|        mod = import_run_modexport(tstate, ex0, &info, spec);
 5487|       |        // Modules created from slots handle GIL enablement (Py_mod_gil slot)
 5488|       |        // when they're created.
 5489|      0|        goto finally;
 5490|      0|    }
 5491|     50|    if (p0 == NULL) {
  ------------------
  |  Branch (5491:9): [True: 2, False: 48]
  ------------------
 5492|      2|        goto finally;
 5493|      2|    }
 5494|       |
 5495|       |#ifdef Py_GIL_DISABLED
 5496|       |    // This call (and the corresponding call to _PyImport_CheckGILForModule())
 5497|       |    // would ideally be inside import_run_extension(). They are kept in the
 5498|       |    // callers for now because that would complicate the control flow inside
 5499|       |    // import_run_extension(). It should be possible to restructure
 5500|       |    // import_run_extension() to address this.
 5501|       |    _PyEval_EnableGILTransient(tstate);
 5502|       |#endif
 5503|     48|    mod = import_run_extension(
 5504|     48|                    tstate, p0, &info, spec, get_modules_dict(tstate, true));
 5505|       |#ifdef Py_GIL_DISABLED
 5506|       |    if (_PyImport_CheckGILForModule(mod, info.name) < 0) {
 5507|       |        Py_CLEAR(mod);
 5508|       |        goto finally;
 5509|       |    }
 5510|       |#endif
 5511|       |
 5512|     50|finally:
 5513|     50|    if (fp != NULL) {
  ------------------
  |  Branch (5513:9): [True: 0, False: 50]
  ------------------
 5514|      0|        fclose(fp);
 5515|      0|    }
 5516|     50|    _Py_ext_module_loader_info_clear(&info);
 5517|     50|    return mod;
 5518|     48|}
import.c:_imp_exec_dynamic_impl:
 5532|     48|{
 5533|     48|    return exec_builtin_or_dynamic(mod);
 5534|     48|}
import.c:_imp_exec_builtin_impl:
 5551|     60|{
 5552|     60|    return exec_builtin_or_dynamic(mod);
 5553|     60|}
import.c:_imp__fix_co_filename_impl:
 5065|  3.89k|{
 5066|  3.89k|    update_compiled_module(code, path);
 5067|       |
 5068|  3.89k|    Py_RETURN_NONE;
  ------------------
  |  |  628|  3.89k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  3.89k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 5069|  3.89k|}
import.c:update_compiled_module:
 2918|  3.89k|{
 2919|  3.89k|    PyObject *oldname;
 2920|       |
 2921|  3.89k|    if (PyUnicode_Compare(co->co_filename, newname) == 0)
  ------------------
  |  Branch (2921:9): [True: 3.89k, False: 0]
  ------------------
 2922|  3.89k|        return;
 2923|       |
 2924|      0|    oldname = co->co_filename;
 2925|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2926|      0|    update_code_filenames(co, oldname, newname);
 2927|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2928|      0|}
import.c:_imp__set_lazy_attributes_impl:
 5635|    634|{
 5636|    634|    PyThreadState *tstate = _PyThreadState_GET();
 5637|    634|    PyObject *module_dict = NULL;
 5638|    634|    PyObject *ret = NULL;
 5639|    634|    PyObject *lazy_modules = LAZY_MODULES(tstate->interp);
  ------------------
  |  |   96|    634|    (interp)->imports.lazy_modules
  ------------------
 5640|    634|    assert(lazy_modules != NULL);
 5641|       |
 5642|    634|    PyObject *lazy_submodules;
 5643|    634|    if (PyDict_GetItemRef(lazy_modules, name, &lazy_submodules) < 0) {
  ------------------
  |  Branch (5643:9): [True: 0, False: 634]
  ------------------
 5644|      0|        return NULL;
 5645|      0|    }
 5646|    634|    else if (lazy_submodules == NULL) {
  ------------------
  |  Branch (5646:14): [True: 618, False: 16]
  ------------------
 5647|    618|        Py_RETURN_NONE;
  ------------------
  |  |  628|    618|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    618|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 5648|    618|    }
 5649|       |
 5650|     16|    module_dict = get_mod_dict(modobj);
 5651|     16|    if (module_dict == NULL || !PyDict_CheckExact(module_dict)) {
  ------------------
  |  |   19|     16|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|     16|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (5651:9): [True: 0, False: 16]
  |  Branch (5651:32): [True: 0, False: 16]
  ------------------
 5652|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5653|      0|        goto done;
 5654|      0|    }
 5655|       |
 5656|     16|    assert(PyAnySet_CheckExact(lazy_submodules));
 5657|     16|    Py_BEGIN_CRITICAL_SECTION(lazy_submodules);
  ------------------
  |  |   51|     16|    {
  ------------------
 5658|     16|    publish_lazy_imports_on_module(tstate, lazy_submodules, name, module_dict);
 5659|     16|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     16|    }
  ------------------
 5660|     16|    Py_DECREF(lazy_submodules);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5661|       |
 5662|       |    // once a module is imported it is removed from sys.lazy_modules
 5663|     16|    if (PyDict_DelItem(lazy_modules, name) < 0) {
  ------------------
  |  Branch (5663:9): [True: 0, False: 16]
  ------------------
 5664|      0|        goto error;
 5665|      0|    }
 5666|       |
 5667|     16|done:
 5668|     16|    ret = Py_NewRef(Py_None);
  ------------------
  |  |  550|     16|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|     16|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     16|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5669|       |
 5670|     16|error:
 5671|     16|    Py_XDECREF(module_dict);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5672|     16|    return ret;
 5673|     16|}
import.c:publish_lazy_imports_on_module:
 5588|     16|{
 5589|     16|    PyObject *builtins = _PyEval_GetBuiltins(tstate);
 5590|     16|    PyObject *attr_name;
 5591|     16|    Py_ssize_t pos = 0;
 5592|     16|    Py_hash_t hash;
 5593|       |
 5594|       |    // Enumerate the set of lazy submodules which have been imported from the
 5595|       |    // parent module.
 5596|     26|    while (_PySet_NextEntryRef(lazy_submodules, &pos, &attr_name, &hash)) {
  ------------------
  |  Branch (5596:12): [True: 10, False: 16]
  ------------------
 5597|     10|        if (_PyDict_Contains_KnownHash(module_dict, attr_name, hash)) {
  ------------------
  |  Branch (5597:13): [True: 10, False: 0]
  ------------------
 5598|     10|            Py_DECREF(attr_name);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5599|     10|            continue;
 5600|     10|        }
 5601|       |        // Create a new lazy module attr for the subpackage which was
 5602|       |        // previously lazily imported.
 5603|      0|        PyObject *lazy_module_attr = _PyLazyImport_New(tstate->current_frame, builtins,
 5604|      0|                                                       name, attr_name);
 5605|      0|        if (lazy_module_attr == NULL) {
  ------------------
  |  Branch (5605:13): [True: 0, False: 0]
  ------------------
 5606|      0|            Py_DECREF(attr_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5607|      0|            return -1;
 5608|      0|        }
 5609|       |
 5610|       |        // Publish on the module that was just imported.
 5611|      0|        if (PyDict_SetItem(module_dict, attr_name,
  ------------------
  |  Branch (5611:13): [True: 0, False: 0]
  ------------------
 5612|      0|                           lazy_module_attr) < 0) {
 5613|      0|            Py_DECREF(lazy_module_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5614|      0|            Py_DECREF(attr_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5615|      0|            return -1;
 5616|      0|        }
 5617|      0|        Py_DECREF(lazy_module_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5618|      0|        Py_DECREF(attr_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 5619|      0|    }
 5620|     16|    return 0;
 5621|     16|}
import.c:imp_module_exec:
 5705|      2|{
 5706|      2|    const wchar_t *mode = _Py_GetConfig()->check_hash_pycs_mode;
 5707|      2|    PyObject *pyc_mode = PyUnicode_FromWideChar(mode, -1);
 5708|      2|    if (PyModule_Add(module, "check_hash_based_pycs", pyc_mode) < 0) {
  ------------------
  |  Branch (5708:9): [True: 0, False: 2]
  ------------------
 5709|      0|        return -1;
 5710|      0|    }
 5711|       |
 5712|      2|    if (PyModule_AddIntConstant(
  ------------------
  |  Branch (5712:9): [True: 0, False: 2]
  ------------------
 5713|      2|            module, "pyc_magic_number_token", PYC_MAGIC_NUMBER_TOKEN) < 0)
  ------------------
  |  |  318|      2|    ((uint32_t)PYC_MAGIC_NUMBER | ((uint32_t)'\r' << 16) | ((uint32_t)'\n' << 24))
  |  |  ------------------
  |  |  |  |  314|      2|#define PYC_MAGIC_NUMBER 3700
  |  |  ------------------
  ------------------
 5714|      0|    {
 5715|      0|        return -1;
 5716|      0|    }
 5717|       |
 5718|      2|    return 0;
 5719|      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", '-', '_');
  ------------------
  |  |  915|     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:
 1088|      8|{
 1089|      8|#define CLEAR(ATTR) \
 1090|      8|    do { \
 1091|      8|        PyMem_RawFree(ATTR); \
 1092|      8|        ATTR = NULL; \
 1093|      8|    } while (0)
 1094|       |
 1095|      8|    CLEAR(config->pycache_prefix);
  ------------------
  |  | 1090|      8|    do { \
  |  | 1091|      8|        PyMem_RawFree(ATTR); \
  |  | 1092|      8|        ATTR = NULL; \
  |  | 1093|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1093:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1096|      8|    CLEAR(config->pythonpath_env);
  ------------------
  |  | 1090|      8|    do { \
  |  | 1091|      8|        PyMem_RawFree(ATTR); \
  |  | 1092|      8|        ATTR = NULL; \
  |  | 1093|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1093:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1097|      8|    CLEAR(config->home);
  ------------------
  |  | 1090|      8|    do { \
  |  | 1091|      8|        PyMem_RawFree(ATTR); \
  |  | 1092|      8|        ATTR = NULL; \
  |  | 1093|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1093:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1098|      8|    CLEAR(config->program_name);
  ------------------
  |  | 1090|      8|    do { \
  |  | 1091|      8|        PyMem_RawFree(ATTR); \
  |  | 1092|      8|        ATTR = NULL; \
  |  | 1093|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1093:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1099|       |
 1100|      8|    _PyWideStringList_Clear(&config->argv);
 1101|      8|    _PyWideStringList_Clear(&config->warnoptions);
 1102|      8|    _PyWideStringList_Clear(&config->xoptions);
 1103|      8|    _PyWideStringList_Clear(&config->module_search_paths);
 1104|      8|    config->module_search_paths_set = 0;
 1105|      8|    CLEAR(config->stdlib_dir);
  ------------------
  |  | 1090|      8|    do { \
  |  | 1091|      8|        PyMem_RawFree(ATTR); \
  |  | 1092|      8|        ATTR = NULL; \
  |  | 1093|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1093:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1106|       |
 1107|      8|    CLEAR(config->executable);
  ------------------
  |  | 1090|      8|    do { \
  |  | 1091|      8|        PyMem_RawFree(ATTR); \
  |  | 1092|      8|        ATTR = NULL; \
  |  | 1093|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1093:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1108|      8|    CLEAR(config->base_executable);
  ------------------
  |  | 1090|      8|    do { \
  |  | 1091|      8|        PyMem_RawFree(ATTR); \
  |  | 1092|      8|        ATTR = NULL; \
  |  | 1093|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1093:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1109|      8|    CLEAR(config->prefix);
  ------------------
  |  | 1090|      8|    do { \
  |  | 1091|      8|        PyMem_RawFree(ATTR); \
  |  | 1092|      8|        ATTR = NULL; \
  |  | 1093|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1093:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1110|      8|    CLEAR(config->base_prefix);
  ------------------
  |  | 1090|      8|    do { \
  |  | 1091|      8|        PyMem_RawFree(ATTR); \
  |  | 1092|      8|        ATTR = NULL; \
  |  | 1093|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1093:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1111|      8|    CLEAR(config->exec_prefix);
  ------------------
  |  | 1090|      8|    do { \
  |  | 1091|      8|        PyMem_RawFree(ATTR); \
  |  | 1092|      8|        ATTR = NULL; \
  |  | 1093|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1093:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1112|      8|    CLEAR(config->base_exec_prefix);
  ------------------
  |  | 1090|      8|    do { \
  |  | 1091|      8|        PyMem_RawFree(ATTR); \
  |  | 1092|      8|        ATTR = NULL; \
  |  | 1093|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1093:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1113|      8|    CLEAR(config->platlibdir);
  ------------------
  |  | 1090|      8|    do { \
  |  | 1091|      8|        PyMem_RawFree(ATTR); \
  |  | 1092|      8|        ATTR = NULL; \
  |  | 1093|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1093:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1114|      8|    CLEAR(config->sys_path_0);
  ------------------
  |  | 1090|      8|    do { \
  |  | 1091|      8|        PyMem_RawFree(ATTR); \
  |  | 1092|      8|        ATTR = NULL; \
  |  | 1093|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1093:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1115|       |
 1116|      8|    CLEAR(config->filesystem_encoding);
  ------------------
  |  | 1090|      8|    do { \
  |  | 1091|      8|        PyMem_RawFree(ATTR); \
  |  | 1092|      8|        ATTR = NULL; \
  |  | 1093|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1093:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1117|      8|    CLEAR(config->filesystem_errors);
  ------------------
  |  | 1090|      8|    do { \
  |  | 1091|      8|        PyMem_RawFree(ATTR); \
  |  | 1092|      8|        ATTR = NULL; \
  |  | 1093|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1093:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1118|      8|    CLEAR(config->stdio_encoding);
  ------------------
  |  | 1090|      8|    do { \
  |  | 1091|      8|        PyMem_RawFree(ATTR); \
  |  | 1092|      8|        ATTR = NULL; \
  |  | 1093|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1093:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1119|      8|    CLEAR(config->stdio_errors);
  ------------------
  |  | 1090|      8|    do { \
  |  | 1091|      8|        PyMem_RawFree(ATTR); \
  |  | 1092|      8|        ATTR = NULL; \
  |  | 1093|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1093:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1120|      8|    CLEAR(config->run_command);
  ------------------
  |  | 1090|      8|    do { \
  |  | 1091|      8|        PyMem_RawFree(ATTR); \
  |  | 1092|      8|        ATTR = NULL; \
  |  | 1093|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1093:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1121|      8|    CLEAR(config->run_module);
  ------------------
  |  | 1090|      8|    do { \
  |  | 1091|      8|        PyMem_RawFree(ATTR); \
  |  | 1092|      8|        ATTR = NULL; \
  |  | 1093|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1093:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1122|      8|    CLEAR(config->run_filename);
  ------------------
  |  | 1090|      8|    do { \
  |  | 1091|      8|        PyMem_RawFree(ATTR); \
  |  | 1092|      8|        ATTR = NULL; \
  |  | 1093|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1093:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1123|      8|    CLEAR(config->check_hash_pycs_mode);
  ------------------
  |  | 1090|      8|    do { \
  |  | 1091|      8|        PyMem_RawFree(ATTR); \
  |  | 1092|      8|        ATTR = NULL; \
  |  | 1093|      8|    } while (0)
  |  |  ------------------
  |  |  |  Branch (1093:14): [Folded, False: 8]
  |  |  ------------------
  ------------------
 1124|       |#ifdef Py_DEBUG
 1125|       |    CLEAR(config->run_presite);
 1126|       |#endif
 1127|       |
 1128|      8|    _PyWideStringList_Clear(&config->orig_argv);
 1129|      8|#undef CLEAR
 1130|      8|}
_PyConfig_InitCompatConfig:
 1135|      6|{
 1136|      6|    memset(config, 0, sizeof(*config));
 1137|       |
 1138|      6|    config->_config_init = (int)_PyConfig_INIT_COMPAT;
 1139|      6|    config->import_time = -1;
 1140|      6|    config->isolated = -1;
 1141|      6|    config->use_environment = -1;
 1142|      6|    config->dev_mode = -1;
 1143|      6|    config->install_signal_handlers = 1;
 1144|      6|    config->use_hash_seed = -1;
 1145|      6|    config->faulthandler = -1;
 1146|      6|    config->tracemalloc = -1;
 1147|      6|    config->perf_profiling = -1;
 1148|      6|    config->remote_debug = -1;
 1149|      6|    config->module_search_paths_set = 0;
 1150|      6|    config->parse_argv = 0;
 1151|      6|    config->site_import = -1;
 1152|      6|    config->bytes_warning = -1;
 1153|      6|    config->warn_default_encoding = 0;
 1154|      6|    config->inspect = -1;
 1155|      6|    config->interactive = -1;
 1156|      6|    config->optimization_level = -1;
 1157|      6|    config->parser_debug= -1;
 1158|      6|    config->write_bytecode = -1;
 1159|      6|    config->verbose = -1;
 1160|      6|    config->quiet = -1;
 1161|      6|    config->user_site_directory = -1;
 1162|      6|    config->configure_c_stdio = 0;
 1163|      6|    config->buffered_stdio = -1;
 1164|      6|    config->_install_importlib = 1;
 1165|      6|    config->check_hash_pycs_mode = NULL;
 1166|      6|    config->pathconfig_warnings = -1;
 1167|      6|    config->_init_main = 1;
 1168|       |#ifdef MS_WINDOWS
 1169|       |    config->legacy_windows_stdio = -1;
 1170|       |#endif
 1171|       |#ifdef Py_DEBUG
 1172|       |    config->use_frozen_modules = 0;
 1173|       |#else
 1174|      6|    config->use_frozen_modules = 1;
 1175|      6|#endif
 1176|      6|    config->safe_path = 0;
 1177|      6|    config->int_max_str_digits = -1;
 1178|      6|    config->_is_python_build = 0;
 1179|      6|    config->code_debug_ranges = 1;
 1180|      6|    config->cpu_count = -1;
 1181|      6|    config->lazy_imports = -1;
 1182|       |#ifdef Py_GIL_DISABLED
 1183|       |    config->thread_inherit_context = 1;
 1184|       |    config->context_aware_warnings = 1;
 1185|       |#else
 1186|      6|    config->thread_inherit_context = 0;
 1187|      6|    config->context_aware_warnings = 0;
 1188|      6|#endif
 1189|       |#ifdef __APPLE__
 1190|       |    config->use_system_logger = USE_SYSTEM_LOGGER_DEFAULT;
 1191|       |#endif
 1192|       |#ifdef Py_GIL_DISABLED
 1193|       |    config->enable_gil = _PyConfig_GIL_DEFAULT;
 1194|       |    config->tlbc_enabled = 1;
 1195|       |#endif
 1196|      6|}
PyConfig_InitPythonConfig:
 1236|      4|{
 1237|      4|    config_init_defaults(config);
 1238|       |
 1239|      4|    config->_config_init = (int)_PyConfig_INIT_PYTHON;
 1240|      4|    config->configure_c_stdio = 1;
 1241|      4|    config->parse_argv = 1;
 1242|      4|}
PyConfig_SetString:
 1279|    142|{
 1280|    142|    PyStatus status = _Py_PreInitializeFromConfig(config, NULL);
 1281|    142|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|    142|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 142]
  |  |  ------------------
  ------------------
 1282|      0|        return status;
 1283|      0|    }
 1284|       |
 1285|    142|    wchar_t *str2;
 1286|    142|    if (str != NULL) {
  ------------------
  |  Branch (1286:9): [True: 50, False: 92]
  ------------------
 1287|     50|        str2 = _PyMem_RawWcsdup(str);
 1288|     50|        if (str2 == NULL) {
  ------------------
  |  Branch (1288:13): [True: 0, False: 50]
  ------------------
 1289|      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)}
  |  |  ------------------
  ------------------
 1290|      0|        }
 1291|     50|    }
 1292|     92|    else {
 1293|     92|        str2 = NULL;
 1294|     92|    }
 1295|    142|    PyMem_RawFree(*config_str);
 1296|    142|    *config_str = str2;
 1297|    142|    return _PyStatus_OK();
  ------------------
  |  |   24|    142|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 1298|    142|}
_PyConfig_Copy:
 1363|      4|{
 1364|      4|    PyConfig_Clear(config);
 1365|       |
 1366|      4|    PyStatus status;
 1367|      4|    const PyConfigSpec *spec = PYCONFIG_SPEC;
 1368|    288|    for (; spec->name != NULL; spec++) {
  ------------------
  |  Branch (1368:12): [True: 284, False: 4]
  ------------------
 1369|    284|        void *member = config_get_spec_member(config, spec);
 1370|    284|        const void *member2 = config_get_spec_member((PyConfig*)config2, spec);
 1371|    284|        switch (spec->type) {
 1372|     16|        case PyConfig_MEMBER_INT:
  ------------------
  |  Branch (1372:9): [True: 16, False: 268]
  ------------------
 1373|     48|        case PyConfig_MEMBER_UINT:
  ------------------
  |  Branch (1373:9): [True: 32, False: 252]
  ------------------
 1374|    172|        case PyConfig_MEMBER_BOOL:
  ------------------
  |  Branch (1374:9): [True: 124, False: 160]
  ------------------
 1375|    172|        {
 1376|    172|            *(int*)member = *(int*)member2;
 1377|    172|            break;
 1378|     48|        }
 1379|      4|        case PyConfig_MEMBER_ULONG:
  ------------------
  |  Branch (1379:9): [True: 4, False: 280]
  ------------------
 1380|      4|        {
 1381|      4|            *(unsigned long*)member = *(unsigned long*)member2;
 1382|      4|            break;
 1383|     48|        }
 1384|     28|        case PyConfig_MEMBER_WSTR:
  ------------------
  |  Branch (1384:9): [True: 28, False: 256]
  ------------------
 1385|     88|        case PyConfig_MEMBER_WSTR_OPT:
  ------------------
  |  Branch (1385:9): [True: 60, False: 224]
  ------------------
 1386|     88|        {
 1387|     88|            const wchar_t *str = *(const wchar_t**)member2;
 1388|     88|            status = PyConfig_SetString(config, (wchar_t**)member, str);
 1389|     88|            if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|     88|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 88]
  |  |  ------------------
  ------------------
 1390|      0|                return status;
 1391|      0|            }
 1392|     88|            break;
 1393|     88|        }
 1394|     88|        case PyConfig_MEMBER_WSTR_LIST:
  ------------------
  |  Branch (1394:9): [True: 20, False: 264]
  ------------------
 1395|     20|        {
 1396|     20|            if (_PyWideStringList_Copy((PyWideStringList*)member,
  ------------------
  |  Branch (1396:17): [True: 0, False: 20]
  ------------------
 1397|     20|                                       (const PyWideStringList*)member2) < 0) {
 1398|      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)}
  |  |  ------------------
  ------------------
 1399|      0|            }
 1400|     20|            break;
 1401|     20|        }
 1402|     20|        default:
  ------------------
  |  Branch (1402:9): [True: 0, False: 284]
  ------------------
 1403|      0|            Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1404|    284|        }
 1405|    284|    }
 1406|      4|    return _PyStatus_OK();
  ------------------
  |  |   24|      4|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 1407|      4|}
_PyConfig_AsDict:
 1412|      2|{
 1413|      2|    PyObject *dict = PyDict_New();
 1414|      2|    if (dict == NULL) {
  ------------------
  |  Branch (1414:9): [True: 0, False: 2]
  ------------------
 1415|      0|        return NULL;
 1416|      0|    }
 1417|       |
 1418|      2|    const PyConfigSpec *spec = PYCONFIG_SPEC;
 1419|    144|    for (; spec->name != NULL; spec++) {
  ------------------
  |  Branch (1419:12): [True: 142, False: 2]
  ------------------
 1420|    142|        PyObject *obj = config_get(config, spec, 0);
 1421|    142|        if (obj == NULL) {
  ------------------
  |  Branch (1421:13): [True: 0, False: 142]
  ------------------
 1422|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1423|      0|            return NULL;
 1424|      0|        }
 1425|       |
 1426|    142|        int res = PyDict_SetItemString(dict, spec->name, obj);
 1427|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1428|    142|        if (res < 0) {
  ------------------
  |  Branch (1428:13): [True: 0, False: 142]
  ------------------
 1429|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1430|      0|            return NULL;
 1431|      0|        }
 1432|    142|    }
 1433|      2|    return dict;
 1434|      2|}
_PyConfig_FromDict:
 1646|      2|{
 1647|      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 (1647:9): [True: 0, False: 2]
  ------------------
 1648|      0|        PyErr_SetString(PyExc_TypeError, "dict expected");
 1649|      0|        return -1;
 1650|      0|    }
 1651|       |
 1652|      2|    const PyConfigSpec *spec = PYCONFIG_SPEC;
 1653|    144|    for (; spec->name != NULL; spec++) {
  ------------------
  |  Branch (1653:12): [True: 142, False: 2]
  ------------------
 1654|    142|        char *member = (char *)config + spec->offset;
 1655|    142|        switch (spec->type) {
 1656|      8|        case PyConfig_MEMBER_INT:
  ------------------
  |  Branch (1656:9): [True: 8, False: 134]
  ------------------
 1657|     24|        case PyConfig_MEMBER_UINT:
  ------------------
  |  Branch (1657:9): [True: 16, False: 126]
  ------------------
 1658|     86|        case PyConfig_MEMBER_BOOL:
  ------------------
  |  Branch (1658:9): [True: 62, False: 80]
  ------------------
 1659|     86|        {
 1660|     86|            int value;
 1661|     86|            if (config_dict_get_int(dict, spec->name, &value) < 0) {
  ------------------
  |  Branch (1661:17): [True: 0, False: 86]
  ------------------
 1662|      0|                return -1;
 1663|      0|            }
 1664|     86|            if (spec->type == PyConfig_MEMBER_BOOL
  ------------------
  |  Branch (1664:17): [True: 62, False: 24]
  ------------------
 1665|     24|                || spec->type == PyConfig_MEMBER_UINT)
  ------------------
  |  Branch (1665:20): [True: 16, False: 8]
  ------------------
 1666|     78|            {
 1667|     78|                if (value < 0) {
  ------------------
  |  Branch (1667:21): [True: 0, False: 78]
  ------------------
 1668|      0|                    config_dict_invalid_value(spec->name);
 1669|      0|                    return -1;
 1670|      0|                }
 1671|     78|            }
 1672|     86|            *(int*)member = value;
 1673|     86|            break;
 1674|     86|        }
 1675|      2|        case PyConfig_MEMBER_ULONG:
  ------------------
  |  Branch (1675:9): [True: 2, False: 140]
  ------------------
 1676|      2|        {
 1677|      2|            if (config_dict_get_ulong(dict, spec->name,
  ------------------
  |  Branch (1677:17): [True: 0, False: 2]
  ------------------
 1678|      2|                                      (unsigned long*)member) < 0) {
 1679|      0|                return -1;
 1680|      0|            }
 1681|      2|            break;
 1682|      2|        }
 1683|     14|        case PyConfig_MEMBER_WSTR:
  ------------------
  |  Branch (1683:9): [True: 14, False: 128]
  ------------------
 1684|     14|        {
 1685|     14|            wchar_t **wstr = (wchar_t**)member;
 1686|     14|            if (config_dict_get_wstr(dict, spec->name, config, wstr) < 0) {
  ------------------
  |  Branch (1686:17): [True: 0, False: 14]
  ------------------
 1687|      0|                return -1;
 1688|      0|            }
 1689|     14|            if (*wstr == NULL) {
  ------------------
  |  Branch (1689:17): [True: 0, False: 14]
  ------------------
 1690|      0|                config_dict_invalid_value(spec->name);
 1691|      0|                return -1;
 1692|      0|            }
 1693|     14|            break;
 1694|     14|        }
 1695|     30|        case PyConfig_MEMBER_WSTR_OPT:
  ------------------
  |  Branch (1695:9): [True: 30, False: 112]
  ------------------
 1696|     30|        {
 1697|     30|            wchar_t **wstr = (wchar_t**)member;
 1698|     30|            if (config_dict_get_wstr(dict, spec->name, config, wstr) < 0) {
  ------------------
  |  Branch (1698:17): [True: 0, False: 30]
  ------------------
 1699|      0|                return -1;
 1700|      0|            }
 1701|     30|            break;
 1702|     30|        }
 1703|     30|        case PyConfig_MEMBER_WSTR_LIST:
  ------------------
  |  Branch (1703:9): [True: 10, False: 132]
  ------------------
 1704|     10|        {
 1705|     10|            if (strcmp(spec->name, "xoptions") == 0) {
  ------------------
  |  Branch (1705:17): [True: 2, False: 8]
  ------------------
 1706|      2|                if (config_dict_get_xoptions(dict, spec->name, config,
  ------------------
  |  Branch (1706:21): [True: 0, False: 2]
  ------------------
 1707|      2|                                             (PyWideStringList*)member) < 0) {
 1708|      0|                    return -1;
 1709|      0|                }
 1710|      2|            }
 1711|      8|            else {
 1712|      8|                if (config_dict_get_wstrlist(dict, spec->name, config,
  ------------------
  |  Branch (1712:21): [True: 0, False: 8]
  ------------------
 1713|      8|                                             (PyWideStringList*)member) < 0) {
 1714|      0|                    return -1;
 1715|      0|                }
 1716|      8|            }
 1717|     10|            break;
 1718|     10|        }
 1719|     10|        default:
  ------------------
  |  Branch (1719:9): [True: 0, False: 142]
  ------------------
 1720|      0|            Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 1721|    142|        }
 1722|    142|    }
 1723|       |
 1724|      2|    if (!(config->_config_init == _PyConfig_INIT_COMPAT
  ------------------
  |  Branch (1724:11): [True: 2, False: 0]
  ------------------
 1725|      0|          || config->_config_init == _PyConfig_INIT_PYTHON
  ------------------
  |  Branch (1725:14): [True: 0, False: 0]
  ------------------
 1726|      0|          || config->_config_init == _PyConfig_INIT_ISOLATED))
  ------------------
  |  Branch (1726:14): [True: 0, False: 0]
  ------------------
 1727|      0|    {
 1728|      0|        config_dict_invalid_value("_config_init");
 1729|      0|        return -1;
 1730|      0|    }
 1731|       |
 1732|      2|    if (config->hash_seed > MAX_HASH_SEED) {
  ------------------
  |  | 1007|      2|#define MAX_HASH_SEED 4294967295UL
  ------------------
  |  Branch (1732:9): [True: 0, False: 2]
  ------------------
 1733|      0|        config_dict_invalid_value("hash_seed");
 1734|      0|        return -1;
 1735|      0|    }
 1736|      2|    return 0;
 1737|      2|}
_PyConfig_InitImportConfig:
 2855|      2|{
 2856|      2|    return config_init_import(config, 1);
 2857|      2|}
_PyConfig_Write:
 3021|      2|{
 3022|      2|    config_set_global_vars(config);
 3023|       |
 3024|      2|    if (config->configure_c_stdio) {
  ------------------
  |  Branch (3024:9): [True: 0, False: 2]
  ------------------
 3025|      0|        config_init_stdio(config);
 3026|      0|    }
 3027|       |
 3028|       |    /* Write the new pre-configuration into _PyRuntime */
 3029|      2|    PyPreConfig *preconfig = &runtime->preconfig;
 3030|      2|    preconfig->isolated = config->isolated;
 3031|      2|    preconfig->use_environment = config->use_environment;
 3032|      2|    preconfig->dev_mode = config->dev_mode;
 3033|       |
 3034|      2|    if (_Py_SetArgcArgv(config->orig_argv.length,
  ------------------
  |  Branch (3034:9): [True: 0, False: 2]
  ------------------
 3035|      2|                        config->orig_argv.items) < 0)
 3036|      0|    {
 3037|      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)}
  |  |  ------------------
  ------------------
 3038|      0|    }
 3039|       |
 3040|       |#ifdef PYMALLOC_USE_HUGEPAGES
 3041|       |    runtime->allocators.use_hugepages = config->pymalloc_hugepages;
 3042|       |#endif
 3043|       |
 3044|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3045|      2|}
_PyConfig_Read:
 3700|      2|{
 3701|      2|    PyStatus status;
 3702|       |
 3703|      2|    status = _Py_PreInitializeFromConfig(config, NULL);
 3704|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3705|      0|        return status;
 3706|      0|    }
 3707|       |
 3708|      2|    config_get_global_vars(config);
 3709|       |
 3710|      2|    if (config->orig_argv.length == 0
  ------------------
  |  Branch (3710:9): [True: 2, False: 0]
  ------------------
 3711|      2|        && !(config->argv.length == 1
  ------------------
  |  Branch (3711:14): [True: 0, False: 2]
  ------------------
 3712|      0|             && wcscmp(config->argv.items[0], L"") == 0))
  ------------------
  |  Branch (3712:17): [True: 0, False: 0]
  ------------------
 3713|      2|    {
 3714|      2|        if (_PyWideStringList_Copy(&config->orig_argv, &config->argv) < 0) {
  ------------------
  |  Branch (3714:13): [True: 0, False: 2]
  ------------------
 3715|      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)}
  |  |  ------------------
  ------------------
 3716|      0|        }
 3717|      2|    }
 3718|       |
 3719|      2|    _PyPreCmdline precmdline = _PyPreCmdline_INIT;
  ------------------
  |  |  111|      2|    (_PyPreCmdline){ \
  |  |  112|      2|        .use_environment = -1, \
  |  |  113|      2|        .isolated = -1, \
  |  |  114|      2|        .dev_mode = -1}
  ------------------
 3720|      2|    status = core_read_precmdline(config, &precmdline);
 3721|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3722|      0|        goto done;
 3723|      0|    }
 3724|       |
 3725|      2|    assert(config->isolated >= 0);
 3726|      2|    if (config->isolated) {
  ------------------
  |  Branch (3726:9): [True: 0, False: 2]
  ------------------
 3727|      0|        config->safe_path = 1;
 3728|      0|        config->use_environment = 0;
 3729|      0|        config->user_site_directory = 0;
 3730|      0|    }
 3731|       |
 3732|      2|    status = config_read_cmdline(config);
 3733|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3734|      0|        goto done;
 3735|      0|    }
 3736|       |
 3737|       |    /* Handle early PySys_AddXOption() calls */
 3738|      2|    status = _PySys_ReadPreinitXOptions(config);
 3739|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3740|      0|        goto done;
 3741|      0|    }
 3742|       |
 3743|      2|    status = config_read(config, compute_path_config);
 3744|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3745|      0|        goto done;
 3746|      0|    }
 3747|       |
 3748|      2|    assert(config_check_consistency(config));
 3749|       |
 3750|      2|    status = _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3751|       |
 3752|      2|done:
 3753|      2|    _PyPreCmdline_Clear(&precmdline);
 3754|      2|    return status;
 3755|      2|}
_PyConfig_CreateXOptionsDict:
 4548|      4|{
 4549|      4|    PyObject *dict = PyDict_New();
 4550|      4|    if (dict == NULL) {
  ------------------
  |  Branch (4550:9): [True: 0, False: 4]
  ------------------
 4551|      0|        return NULL;
 4552|      0|    }
 4553|       |
 4554|      4|    Py_ssize_t nxoption = config->xoptions.length;
 4555|      4|    wchar_t **xoptions = config->xoptions.items;
 4556|      4|    for (Py_ssize_t i=0; i < nxoption; i++) {
  ------------------
  |  Branch (4556:26): [True: 0, False: 4]
  ------------------
 4557|      0|        const wchar_t *option = xoptions[i];
 4558|      0|        if (config_add_xoption(dict, option) < 0) {
  ------------------
  |  Branch (4558:13): [True: 0, False: 0]
  ------------------
 4559|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4560|      0|            return NULL;
 4561|      0|        }
 4562|      0|    }
 4563|      4|    return dict;
 4564|      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:
 1201|      4|{
 1202|      4|    _PyConfig_InitCompatConfig(config);
 1203|       |
 1204|      4|    config->isolated = 0;
 1205|      4|    config->use_environment = 1;
 1206|      4|    config->site_import = 1;
 1207|      4|    config->bytes_warning = 0;
 1208|      4|    config->inspect = 0;
 1209|      4|    config->interactive = 0;
 1210|      4|    config->optimization_level = 0;
 1211|      4|    config->parser_debug= 0;
 1212|      4|    config->write_bytecode = 1;
 1213|      4|    config->verbose = 0;
 1214|      4|    config->quiet = 0;
 1215|      4|    config->user_site_directory = 1;
 1216|      4|    config->buffered_stdio = 1;
 1217|      4|    config->pathconfig_warnings = 1;
 1218|       |#ifdef MS_WINDOWS
 1219|       |    config->legacy_windows_stdio = 0;
 1220|       |#endif
 1221|       |#ifdef Py_GIL_DISABLED
 1222|       |    config->thread_inherit_context = 1;
 1223|       |    config->context_aware_warnings = 1;
 1224|       |#else
 1225|      4|    config->thread_inherit_context = 0;
 1226|      4|    config->context_aware_warnings = 0;
 1227|      4|#endif
 1228|       |#ifdef __APPLE__
 1229|       |    config->use_system_logger = USE_SYSTEM_LOGGER_DEFAULT;
 1230|       |#endif
 1231|      4|}
initconfig.c:config_get_spec_member:
 1349|    710|{
 1350|    710|    return (char *)config + spec->offset;
 1351|    710|}
initconfig.c:config_dict_get_int:
 1446|     86|{
 1447|     86|    PyObject *item = config_dict_get(dict, name);
 1448|     86|    if (item == NULL) {
  ------------------
  |  Branch (1448:9): [True: 0, False: 86]
  ------------------
 1449|      0|        return -1;
 1450|      0|    }
 1451|     86|    int value = PyLong_AsInt(item);
 1452|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1453|     86|    if (value == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1453:9): [True: 4, False: 82]
  |  Branch (1453:24): [True: 0, False: 4]
  ------------------
 1454|      0|        if (PyErr_ExceptionMatches(PyExc_TypeError)) {
  ------------------
  |  Branch (1454:13): [True: 0, False: 0]
  ------------------
 1455|      0|            config_dict_invalid_type(name);
 1456|      0|        }
 1457|      0|        else if (PyErr_ExceptionMatches(PyExc_OverflowError)) {
  ------------------
  |  Branch (1457:18): [True: 0, False: 0]
  ------------------
 1458|      0|            config_dict_invalid_value(name);
 1459|      0|        }
 1460|      0|        return -1;
 1461|      0|    }
 1462|     86|    *result = value;
 1463|     86|    return 0;
 1464|     86|}
initconfig.c:config_dict_get_ulong:
 1469|      2|{
 1470|      2|    PyObject *item = config_dict_get(dict, name);
 1471|      2|    if (item == NULL) {
  ------------------
  |  Branch (1471:9): [True: 0, False: 2]
  ------------------
 1472|      0|        return -1;
 1473|      0|    }
 1474|      2|    unsigned long value = PyLong_AsUnsignedLong(item);
 1475|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1476|      2|    if (value == (unsigned long)-1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1476:9): [True: 0, False: 2]
  |  Branch (1476:39): [True: 0, False: 0]
  ------------------
 1477|      0|        if (PyErr_ExceptionMatches(PyExc_TypeError)) {
  ------------------
  |  Branch (1477:13): [True: 0, False: 0]
  ------------------
 1478|      0|            config_dict_invalid_type(name);
 1479|      0|        }
 1480|      0|        else if (PyErr_ExceptionMatches(PyExc_OverflowError)) {
  ------------------
  |  Branch (1480:18): [True: 0, False: 0]
  ------------------
 1481|      0|            config_dict_invalid_value(name);
 1482|      0|        }
 1483|      0|        return -1;
 1484|      0|    }
 1485|      2|    *result = value;
 1486|      2|    return 0;
 1487|      2|}
initconfig.c:config_dict_get_wstr:
 1493|     44|{
 1494|     44|    PyObject *item = config_dict_get(dict, name);
 1495|     44|    if (item == NULL) {
  ------------------
  |  Branch (1495:9): [True: 0, False: 44]
  ------------------
 1496|      0|        return -1;
 1497|      0|    }
 1498|       |
 1499|     44|    PyStatus status;
 1500|     44|    if (item == Py_None) {
  ------------------
  |  |  616|     44|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1500:9): [True: 14, False: 30]
  ------------------
 1501|     14|        status = PyConfig_SetString(config, result, NULL);
 1502|     14|    }
 1503|     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 (1503:14): [True: 0, False: 30]
  ------------------
 1504|      0|        config_dict_invalid_type(name);
 1505|      0|        goto error;
 1506|      0|    }
 1507|     30|    else {
 1508|     30|        wchar_t *wstr = PyUnicode_AsWideCharString(item, NULL);
 1509|     30|        if (wstr == NULL) {
  ------------------
  |  Branch (1509:13): [True: 0, False: 30]
  ------------------
 1510|      0|            goto error;
 1511|      0|        }
 1512|     30|        status = PyConfig_SetString(config, result, wstr);
 1513|     30|        PyMem_Free(wstr);
 1514|     30|    }
 1515|     44|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|     44|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 44]
  |  |  ------------------
  ------------------
 1516|      0|        PyErr_NoMemory();
 1517|      0|        goto error;
 1518|      0|    }
 1519|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1520|     44|    return 0;
 1521|       |
 1522|      0|error:
 1523|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1524|      0|    return -1;
 1525|     44|}
initconfig.c:config_dict_get_xoptions:
 1587|      2|{
 1588|      2|    PyObject *xoptions = config_dict_get(dict, name);
 1589|      2|    if (xoptions == NULL) {
  ------------------
  |  Branch (1589:9): [True: 0, False: 2]
  ------------------
 1590|      0|        return -1;
 1591|      0|    }
 1592|       |
 1593|      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 (1593:9): [True: 0, False: 2]
  ------------------
 1594|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1595|      0|        config_dict_invalid_type(name);
 1596|      0|        return -1;
 1597|      0|    }
 1598|       |
 1599|      2|    Py_ssize_t pos = 0;
 1600|      2|    PyObject *key, *value;
 1601|      2|    PyWideStringList wstrlist = _PyWideStringList_INIT;
  ------------------
  |  |   53|      2|#define _PyWideStringList_INIT (PyWideStringList){.length = 0, .items = NULL}
  ------------------
 1602|      2|    while (PyDict_Next(xoptions, &pos, &key, &value)) {
  ------------------
  |  Branch (1602:12): [True: 0, False: 2]
  ------------------
 1603|      0|        PyObject *item;
 1604|       |
 1605|      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 (1605:13): [True: 0, False: 0]
  ------------------
 1606|      0|            item = PyUnicode_FromFormat("%S=%S", key, value);
 1607|      0|            if (item == NULL) {
  ------------------
  |  Branch (1607:17): [True: 0, False: 0]
  ------------------
 1608|      0|                goto error;
 1609|      0|            }
 1610|      0|        }
 1611|      0|        else {
 1612|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1613|      0|        }
 1614|       |
 1615|      0|        wchar_t *wstr = PyUnicode_AsWideCharString(item, NULL);
 1616|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1617|      0|        if (wstr == NULL) {
  ------------------
  |  Branch (1617:13): [True: 0, False: 0]
  ------------------
 1618|      0|            goto error;
 1619|      0|        }
 1620|       |
 1621|      0|        PyStatus status = PyWideStringList_Append(&wstrlist, wstr);
 1622|      0|        PyMem_Free(wstr);
 1623|      0|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 1624|      0|            PyErr_NoMemory();
 1625|      0|            goto error;
 1626|      0|        }
 1627|      0|    }
 1628|       |
 1629|      2|    if (_PyWideStringList_Copy(result, &wstrlist) < 0) {
  ------------------
  |  Branch (1629:9): [True: 0, False: 2]
  ------------------
 1630|      0|        PyErr_NoMemory();
 1631|      0|        goto error;
 1632|      0|    }
 1633|      2|    _PyWideStringList_Clear(&wstrlist);
 1634|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1635|      2|    return 0;
 1636|       |
 1637|      0|error:
 1638|      0|    _PyWideStringList_Clear(&wstrlist);
 1639|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1640|      0|    return -1;
 1641|      2|}
initconfig.c:config_dict_get_wstrlist:
 1531|      8|{
 1532|      8|    PyObject *list = config_dict_get(dict, name);
 1533|      8|    if (list == NULL) {
  ------------------
  |  Branch (1533:9): [True: 0, False: 8]
  ------------------
 1534|      0|        return -1;
 1535|      0|    }
 1536|       |
 1537|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1538|      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 (1538:9): [True: 6, False: 2]
  |  Branch (1538:21): [True: 0, False: 6]
  ------------------
 1539|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1540|      0|        config_dict_invalid_type(name);
 1541|      0|        return -1;
 1542|      0|    }
 1543|       |
 1544|      8|    PyWideStringList wstrlist = _PyWideStringList_INIT;
  ------------------
  |  |   53|      8|#define _PyWideStringList_INIT (PyWideStringList){.length = 0, .items = NULL}
  ------------------
 1545|      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 (1545:22): [True: 2, False: 6]
  ------------------
 1546|     16|    for (Py_ssize_t i=0; i < len; i++) {
  ------------------
  |  Branch (1546:26): [True: 8, False: 8]
  ------------------
 1547|      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 (1547:26): [True: 6, False: 2]
  ------------------
 1548|       |
 1549|      8|        if (item == Py_None) {
  ------------------
  |  |  616|      8|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1549:13): [True: 0, False: 8]
  ------------------
 1550|      0|            config_dict_invalid_value(name);
 1551|      0|            goto error;
 1552|      0|        }
 1553|      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 (1553:18): [True: 0, False: 8]
  ------------------
 1554|      0|            config_dict_invalid_type(name);
 1555|      0|            goto error;
 1556|      0|        }
 1557|      8|        wchar_t *wstr = PyUnicode_AsWideCharString(item, NULL);
 1558|      8|        if (wstr == NULL) {
  ------------------
  |  Branch (1558:13): [True: 0, False: 8]
  ------------------
 1559|      0|            goto error;
 1560|      0|        }
 1561|      8|        PyStatus status = PyWideStringList_Append(&wstrlist, wstr);
 1562|      8|        PyMem_Free(wstr);
 1563|      8|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      8|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 8]
  |  |  ------------------
  ------------------
 1564|      0|            PyErr_NoMemory();
 1565|      0|            goto error;
 1566|      0|        }
 1567|      8|    }
 1568|       |
 1569|      8|    if (_PyWideStringList_Copy(result, &wstrlist) < 0) {
  ------------------
  |  Branch (1569:9): [True: 0, False: 8]
  ------------------
 1570|      0|        PyErr_NoMemory();
 1571|      0|        goto error;
 1572|      0|    }
 1573|      8|    _PyWideStringList_Clear(&wstrlist);
 1574|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1575|      8|    return 0;
 1576|       |
 1577|      0|error:
 1578|      0|    _PyWideStringList_Clear(&wstrlist);
 1579|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1580|      0|    return -1;
 1581|      8|}
initconfig.c:config_init_import:
 2809|      4|{
 2810|      4|    PyStatus status;
 2811|       |
 2812|      4|    status = _PyConfig_InitPathConfig(config, compute_path_config);
 2813|      4|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      4|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 4]
  |  |  ------------------
  ------------------
 2814|      0|        return status;
 2815|      0|    }
 2816|       |
 2817|      4|    const char *env = config_get_env(config, "PYTHON_FROZEN_MODULES");
 2818|      4|    if (env == NULL) {
  ------------------
  |  Branch (2818:9): [True: 4, False: 0]
  ------------------
 2819|      4|    }
 2820|      0|    else if (strcmp(env, "on") == 0) {
  ------------------
  |  Branch (2820:14): [True: 0, False: 0]
  ------------------
 2821|      0|        config->use_frozen_modules = 1;
 2822|      0|    }
 2823|      0|    else if (strcmp(env, "off") == 0) {
  ------------------
  |  Branch (2823:14): [True: 0, False: 0]
  ------------------
 2824|      0|        config->use_frozen_modules = 0;
 2825|      0|    } else {
 2826|      0|        return PyStatus_Error("bad value for PYTHON_FROZEN_MODULES "
 2827|      0|                              "(expected \"on\" or \"off\")");
 2828|      0|    }
 2829|       |
 2830|       |    /* -X frozen_modules=[on|off] */
 2831|      4|    const wchar_t *value = config_get_xoption_value(config, L"frozen_modules");
 2832|      4|    if (value == NULL) {
  ------------------
  |  Branch (2832:9): [True: 4, False: 0]
  ------------------
 2833|      4|    }
 2834|      0|    else if (wcscmp(value, L"on") == 0) {
  ------------------
  |  Branch (2834:14): [True: 0, False: 0]
  ------------------
 2835|      0|        config->use_frozen_modules = 1;
 2836|      0|    }
 2837|      0|    else if (wcscmp(value, L"off") == 0) {
  ------------------
  |  Branch (2837:14): [True: 0, False: 0]
  ------------------
 2838|      0|        config->use_frozen_modules = 0;
 2839|      0|    }
 2840|      0|    else if (wcslen(value) == 0) {
  ------------------
  |  Branch (2840:14): [True: 0, False: 0]
  ------------------
 2841|       |        // "-X frozen_modules" and "-X frozen_modules=" both imply "on".
 2842|      0|        config->use_frozen_modules = 1;
 2843|      0|    }
 2844|      0|    else {
 2845|      0|        return PyStatus_Error("bad value for option -X frozen_modules "
 2846|      0|                              "(expected \"on\" or \"off\")");
 2847|      0|    }
 2848|       |
 2849|      4|    assert(config->use_frozen_modules >= 0);
 2850|      4|    return _PyStatus_OK();
  ------------------
  |  |   24|      4|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2851|      4|}
initconfig.c:config_get_env:
 1742|     40|{
 1743|     40|    return _Py_GetEnv(config->use_environment, name);
 1744|     40|}
initconfig.c:config_get_xoption_value:
 1884|     10|{
 1885|     10|    const wchar_t *xoption = config_get_xoption(config, name);
 1886|     10|    if (xoption == NULL) {
  ------------------
  |  Branch (1886:9): [True: 10, False: 0]
  ------------------
 1887|     10|        return NULL;
 1888|     10|    }
 1889|      0|    const wchar_t *sep = wcschr(xoption, L'=');
 1890|      0|    return sep ? sep + 1 : L"";
  ------------------
  |  Branch (1890:12): [True: 0, False: 0]
  ------------------
 1891|     10|}
initconfig.c:config_get_xoption:
 1878|     36|{
 1879|     36|    return _Py_get_xoption(&config->xoptions, name);
 1880|     36|}
initconfig.c:config_set_global_vars:
 1835|      2|{
 1836|      2|_Py_COMP_DIAG_PUSH
 1837|      2|_Py_COMP_DIAG_IGNORE_DEPR_DECLS
 1838|      2|#define COPY_FLAG(ATTR, VAR) \
 1839|      2|        if (config->ATTR != -1) { \
 1840|      2|            VAR = config->ATTR; \
 1841|      2|        }
 1842|      2|#define COPY_NOT_FLAG(ATTR, VAR) \
 1843|      2|        if (config->ATTR != -1) { \
 1844|      2|            VAR = !config->ATTR; \
 1845|      2|        }
 1846|       |
 1847|      2|    COPY_FLAG(isolated, Py_IsolatedFlag);
  ------------------
  |  | 1839|      2|        if (config->ATTR != -1) { \
  |  |  ------------------
  |  |  |  Branch (1839:13): [True: 2, False: 0]
  |  |  ------------------
  |  | 1840|      2|            VAR = config->ATTR; \
  |  | 1841|      2|        }
  ------------------
 1848|      2|    COPY_NOT_FLAG(use_environment, Py_IgnoreEnvironmentFlag);
  ------------------
  |  | 1843|      2|        if (config->ATTR != -1) { \
  |  |  ------------------
  |  |  |  Branch (1843:13): [True: 2, False: 0]
  |  |  ------------------
  |  | 1844|      2|            VAR = !config->ATTR; \
  |  | 1845|      2|        }
  ------------------
 1849|      2|    COPY_FLAG(bytes_warning, Py_BytesWarningFlag);
  ------------------
  |  | 1839|      2|        if (config->ATTR != -1) { \
  |  |  ------------------
  |  |  |  Branch (1839:13): [True: 2, False: 0]
  |  |  ------------------
  |  | 1840|      2|            VAR = config->ATTR; \
  |  | 1841|      2|        }
  ------------------
 1850|      2|    COPY_FLAG(inspect, Py_InspectFlag);
  ------------------
  |  | 1839|      2|        if (config->ATTR != -1) { \
  |  |  ------------------
  |  |  |  Branch (1839:13): [True: 2, False: 0]
  |  |  ------------------
  |  | 1840|      2|            VAR = config->ATTR; \
  |  | 1841|      2|        }
  ------------------
 1851|      2|    COPY_FLAG(interactive, Py_InteractiveFlag);
  ------------------
  |  | 1839|      2|        if (config->ATTR != -1) { \
  |  |  ------------------
  |  |  |  Branch (1839:13): [True: 2, False: 0]
  |  |  ------------------
  |  | 1840|      2|            VAR = config->ATTR; \
  |  | 1841|      2|        }
  ------------------
 1852|      2|    COPY_FLAG(optimization_level, Py_OptimizeFlag);
  ------------------
  |  | 1839|      2|        if (config->ATTR != -1) { \
  |  |  ------------------
  |  |  |  Branch (1839:13): [True: 2, False: 0]
  |  |  ------------------
  |  | 1840|      2|            VAR = config->ATTR; \
  |  | 1841|      2|        }
  ------------------
 1853|      2|    COPY_FLAG(parser_debug, Py_DebugFlag);
  ------------------
  |  | 1839|      2|        if (config->ATTR != -1) { \
  |  |  ------------------
  |  |  |  Branch (1839:13): [True: 2, False: 0]
  |  |  ------------------
  |  | 1840|      2|            VAR = config->ATTR; \
  |  | 1841|      2|        }
  ------------------
 1854|      2|    COPY_FLAG(verbose, Py_VerboseFlag);
  ------------------
  |  | 1839|      2|        if (config->ATTR != -1) { \
  |  |  ------------------
  |  |  |  Branch (1839:13): [True: 2, False: 0]
  |  |  ------------------
  |  | 1840|      2|            VAR = config->ATTR; \
  |  | 1841|      2|        }
  ------------------
 1855|      2|    COPY_FLAG(quiet, Py_QuietFlag);
  ------------------
  |  | 1839|      2|        if (config->ATTR != -1) { \
  |  |  ------------------
  |  |  |  Branch (1839:13): [True: 2, False: 0]
  |  |  ------------------
  |  | 1840|      2|            VAR = config->ATTR; \
  |  | 1841|      2|        }
  ------------------
 1856|       |#ifdef MS_WINDOWS
 1857|       |    COPY_FLAG(legacy_windows_stdio, Py_LegacyWindowsStdioFlag);
 1858|       |#endif
 1859|      2|    COPY_NOT_FLAG(pathconfig_warnings, Py_FrozenFlag);
  ------------------
  |  | 1843|      2|        if (config->ATTR != -1) { \
  |  |  ------------------
  |  |  |  Branch (1843:13): [True: 2, False: 0]
  |  |  ------------------
  |  | 1844|      2|            VAR = !config->ATTR; \
  |  | 1845|      2|        }
  ------------------
 1860|       |
 1861|      2|    COPY_NOT_FLAG(buffered_stdio, Py_UnbufferedStdioFlag);
  ------------------
  |  | 1843|      2|        if (config->ATTR != -1) { \
  |  |  ------------------
  |  |  |  Branch (1843:13): [True: 2, False: 0]
  |  |  ------------------
  |  | 1844|      2|            VAR = !config->ATTR; \
  |  | 1845|      2|        }
  ------------------
 1862|      2|    COPY_NOT_FLAG(site_import, Py_NoSiteFlag);
  ------------------
  |  | 1843|      2|        if (config->ATTR != -1) { \
  |  |  ------------------
  |  |  |  Branch (1843:13): [True: 2, False: 0]
  |  |  ------------------
  |  | 1844|      2|            VAR = !config->ATTR; \
  |  | 1845|      2|        }
  ------------------
 1863|      2|    COPY_NOT_FLAG(write_bytecode, Py_DontWriteBytecodeFlag);
  ------------------
  |  | 1843|      2|        if (config->ATTR != -1) { \
  |  |  ------------------
  |  |  |  Branch (1843:13): [True: 2, False: 0]
  |  |  ------------------
  |  | 1844|      2|            VAR = !config->ATTR; \
  |  | 1845|      2|        }
  ------------------
 1864|      2|    COPY_NOT_FLAG(user_site_directory, Py_NoUserSiteDirectory);
  ------------------
  |  | 1843|      2|        if (config->ATTR != -1) { \
  |  |  ------------------
  |  |  |  Branch (1843:13): [True: 2, False: 0]
  |  |  ------------------
  |  | 1844|      2|            VAR = !config->ATTR; \
  |  | 1845|      2|        }
  ------------------
 1865|       |
 1866|       |    /* Random or non-zero hash seed */
 1867|      2|    Py_HashRandomizationFlag = (config->use_hash_seed == 0 ||
  ------------------
  |  Branch (1867:33): [True: 2, False: 0]
  ------------------
 1868|      0|                                config->hash_seed != 0);
  ------------------
  |  Branch (1868:33): [True: 0, False: 0]
  ------------------
 1869|       |
 1870|      2|#undef COPY_FLAG
 1871|      2|#undef COPY_NOT_FLAG
 1872|      2|_Py_COMP_DIAG_POP
 1873|      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:
 1790|      2|{
 1791|      2|_Py_COMP_DIAG_PUSH
 1792|      2|_Py_COMP_DIAG_IGNORE_DEPR_DECLS
 1793|      2|    if (config->_config_init != _PyConfig_INIT_COMPAT) {
  ------------------
  |  Branch (1793:9): [True: 0, False: 2]
  ------------------
 1794|       |        /* Python and Isolated configuration ignore global variables */
 1795|      0|        return;
 1796|      0|    }
 1797|       |
 1798|      2|#define COPY_FLAG(ATTR, VALUE) \
 1799|      2|        if (config->ATTR == -1) { \
 1800|      2|            config->ATTR = VALUE; \
 1801|      2|        }
 1802|      2|#define COPY_NOT_FLAG(ATTR, VALUE) \
 1803|      2|        if (config->ATTR == -1) { \
 1804|      2|            config->ATTR = !(VALUE); \
 1805|      2|        }
 1806|       |
 1807|      2|    COPY_FLAG(isolated, Py_IsolatedFlag);
  ------------------
  |  | 1799|      2|        if (config->ATTR == -1) { \
  |  |  ------------------
  |  |  |  Branch (1799:13): [True: 2, False: 0]
  |  |  ------------------
  |  | 1800|      2|            config->ATTR = VALUE; \
  |  | 1801|      2|        }
  ------------------
 1808|      2|    COPY_NOT_FLAG(use_environment, Py_IgnoreEnvironmentFlag);
  ------------------
  |  | 1803|      2|        if (config->ATTR == -1) { \
  |  |  ------------------
  |  |  |  Branch (1803:13): [True: 2, False: 0]
  |  |  ------------------
  |  | 1804|      2|            config->ATTR = !(VALUE); \
  |  | 1805|      2|        }
  ------------------
 1809|      2|    COPY_FLAG(bytes_warning, Py_BytesWarningFlag);
  ------------------
  |  | 1799|      2|        if (config->ATTR == -1) { \
  |  |  ------------------
  |  |  |  Branch (1799:13): [True: 2, False: 0]
  |  |  ------------------
  |  | 1800|      2|            config->ATTR = VALUE; \
  |  | 1801|      2|        }
  ------------------
 1810|      2|    COPY_FLAG(inspect, Py_InspectFlag);
  ------------------
  |  | 1799|      2|        if (config->ATTR == -1) { \
  |  |  ------------------
  |  |  |  Branch (1799:13): [True: 2, False: 0]
  |  |  ------------------
  |  | 1800|      2|            config->ATTR = VALUE; \
  |  | 1801|      2|        }
  ------------------
 1811|      2|    COPY_FLAG(interactive, Py_InteractiveFlag);
  ------------------
  |  | 1799|      2|        if (config->ATTR == -1) { \
  |  |  ------------------
  |  |  |  Branch (1799:13): [True: 2, False: 0]
  |  |  ------------------
  |  | 1800|      2|            config->ATTR = VALUE; \
  |  | 1801|      2|        }
  ------------------
 1812|      2|    COPY_FLAG(optimization_level, Py_OptimizeFlag);
  ------------------
  |  | 1799|      2|        if (config->ATTR == -1) { \
  |  |  ------------------
  |  |  |  Branch (1799:13): [True: 2, False: 0]
  |  |  ------------------
  |  | 1800|      2|            config->ATTR = VALUE; \
  |  | 1801|      2|        }
  ------------------
 1813|      2|    COPY_FLAG(parser_debug, Py_DebugFlag);
  ------------------
  |  | 1799|      2|        if (config->ATTR == -1) { \
  |  |  ------------------
  |  |  |  Branch (1799:13): [True: 2, False: 0]
  |  |  ------------------
  |  | 1800|      2|            config->ATTR = VALUE; \
  |  | 1801|      2|        }
  ------------------
 1814|      2|    COPY_FLAG(verbose, Py_VerboseFlag);
  ------------------
  |  | 1799|      2|        if (config->ATTR == -1) { \
  |  |  ------------------
  |  |  |  Branch (1799:13): [True: 2, False: 0]
  |  |  ------------------
  |  | 1800|      2|            config->ATTR = VALUE; \
  |  | 1801|      2|        }
  ------------------
 1815|      2|    COPY_FLAG(quiet, Py_QuietFlag);
  ------------------
  |  | 1799|      2|        if (config->ATTR == -1) { \
  |  |  ------------------
  |  |  |  Branch (1799:13): [True: 2, False: 0]
  |  |  ------------------
  |  | 1800|      2|            config->ATTR = VALUE; \
  |  | 1801|      2|        }
  ------------------
 1816|       |#ifdef MS_WINDOWS
 1817|       |    COPY_FLAG(legacy_windows_stdio, Py_LegacyWindowsStdioFlag);
 1818|       |#endif
 1819|      2|    COPY_NOT_FLAG(pathconfig_warnings, Py_FrozenFlag);
  ------------------
  |  | 1803|      2|        if (config->ATTR == -1) { \
  |  |  ------------------
  |  |  |  Branch (1803:13): [True: 2, False: 0]
  |  |  ------------------
  |  | 1804|      2|            config->ATTR = !(VALUE); \
  |  | 1805|      2|        }
  ------------------
 1820|       |
 1821|      2|    COPY_NOT_FLAG(buffered_stdio, Py_UnbufferedStdioFlag);
  ------------------
  |  | 1803|      2|        if (config->ATTR == -1) { \
  |  |  ------------------
  |  |  |  Branch (1803:13): [True: 2, False: 0]
  |  |  ------------------
  |  | 1804|      2|            config->ATTR = !(VALUE); \
  |  | 1805|      2|        }
  ------------------
 1822|      2|    COPY_NOT_FLAG(site_import, Py_NoSiteFlag);
  ------------------
  |  | 1803|      2|        if (config->ATTR == -1) { \
  |  |  ------------------
  |  |  |  Branch (1803:13): [True: 2, False: 0]
  |  |  ------------------
  |  | 1804|      2|            config->ATTR = !(VALUE); \
  |  | 1805|      2|        }
  ------------------
 1823|      2|    COPY_NOT_FLAG(write_bytecode, Py_DontWriteBytecodeFlag);
  ------------------
  |  | 1803|      2|        if (config->ATTR == -1) { \
  |  |  ------------------
  |  |  |  Branch (1803:13): [True: 2, False: 0]
  |  |  ------------------
  |  | 1804|      2|            config->ATTR = !(VALUE); \
  |  | 1805|      2|        }
  ------------------
 1824|      2|    COPY_NOT_FLAG(user_site_directory, Py_NoUserSiteDirectory);
  ------------------
  |  | 1803|      2|        if (config->ATTR == -1) { \
  |  |  ------------------
  |  |  |  Branch (1803:13): [True: 2, False: 0]
  |  |  ------------------
  |  | 1804|      2|            config->ATTR = !(VALUE); \
  |  | 1805|      2|        }
  ------------------
 1825|       |
 1826|      2|#undef COPY_FLAG
 1827|      2|#undef COPY_NOT_FLAG
 1828|      2|_Py_COMP_DIAG_POP
 1829|      2|}
initconfig.c:core_read_precmdline:
 3507|      2|{
 3508|      2|    PyStatus status;
 3509|       |
 3510|      2|    if (config->parse_argv == 1) {
  ------------------
  |  Branch (3510:9): [True: 0, False: 2]
  ------------------
 3511|      0|        if (_PyWideStringList_Copy(&precmdline->argv, &config->argv) < 0) {
  ------------------
  |  Branch (3511:13): [True: 0, False: 0]
  ------------------
 3512|      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)}
  |  |  ------------------
  ------------------
 3513|      0|        }
 3514|      0|    }
 3515|       |
 3516|      2|    PyPreConfig preconfig;
 3517|       |
 3518|      2|    status = _PyPreConfig_InitFromPreConfig(&preconfig, &_PyRuntime.preconfig);
 3519|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3520|      0|        return status;
 3521|      0|    }
 3522|       |
 3523|      2|    _PyPreConfig_GetConfig(&preconfig, config);
 3524|       |
 3525|      2|    status = _PyPreCmdline_Read(precmdline, &preconfig);
 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|       |
 3530|      2|    status = _PyPreCmdline_SetConfig(precmdline, config);
 3531|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3532|      0|        return status;
 3533|      0|    }
 3534|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3535|      2|}
initconfig.c:config_read_cmdline:
 3571|      2|{
 3572|      2|    PyStatus status;
 3573|      2|    PyWideStringList cmdline_warnoptions = _PyWideStringList_INIT;
  ------------------
  |  |   53|      2|#define _PyWideStringList_INIT (PyWideStringList){.length = 0, .items = NULL}
  ------------------
 3574|      2|    PyWideStringList env_warnoptions = _PyWideStringList_INIT;
  ------------------
  |  |   53|      2|#define _PyWideStringList_INIT (PyWideStringList){.length = 0, .items = NULL}
  ------------------
 3575|      2|    PyWideStringList sys_warnoptions = _PyWideStringList_INIT;
  ------------------
  |  |   53|      2|#define _PyWideStringList_INIT (PyWideStringList){.length = 0, .items = NULL}
  ------------------
 3576|       |
 3577|      2|    if (config->parse_argv < 0) {
  ------------------
  |  Branch (3577:9): [True: 0, False: 2]
  ------------------
 3578|      0|        config->parse_argv = 1;
 3579|      0|    }
 3580|       |
 3581|      2|    if (config->parse_argv == 1) {
  ------------------
  |  Branch (3581:9): [True: 0, False: 2]
  ------------------
 3582|      0|        Py_ssize_t opt_index;
 3583|      0|        status = config_parse_cmdline(config, &cmdline_warnoptions, &opt_index);
 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_run_filename_abspath(config);
 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|       |
 3593|      0|        status = config_update_argv(config, opt_index);
 3594|      0|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3595|      0|            goto done;
 3596|      0|        }
 3597|      0|    }
 3598|      2|    else {
 3599|      2|        status = config_run_filename_abspath(config);
 3600|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3601|      0|            goto done;
 3602|      0|        }
 3603|      2|    }
 3604|       |
 3605|      2|    if (config->use_environment) {
  ------------------
  |  Branch (3605:9): [True: 2, False: 0]
  ------------------
 3606|      2|        status = config_init_env_warnoptions(config, &env_warnoptions);
 3607|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3608|      0|            goto done;
 3609|      0|        }
 3610|      2|    }
 3611|       |
 3612|       |    /* Handle early PySys_AddWarnOption() calls */
 3613|      2|    status = _PySys_ReadPreinitWarnOptions(&sys_warnoptions);
 3614|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3615|      0|        goto done;
 3616|      0|    }
 3617|       |
 3618|      2|    status = config_init_warnoptions(config,
 3619|      2|                                     &cmdline_warnoptions,
 3620|      2|                                     &env_warnoptions,
 3621|      2|                                     &sys_warnoptions);
 3622|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3623|      0|        goto done;
 3624|      0|    }
 3625|       |
 3626|      2|    status = _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3627|       |
 3628|      2|done:
 3629|      2|    _PyWideStringList_Clear(&cmdline_warnoptions);
 3630|      2|    _PyWideStringList_Clear(&env_warnoptions);
 3631|      2|    _PyWideStringList_Clear(&sys_warnoptions);
 3632|      2|    return status;
 3633|      2|}
initconfig.c:config_run_filename_abspath:
 3541|      2|{
 3542|      2|    if (!config->run_filename) {
  ------------------
  |  Branch (3542:9): [True: 2, False: 0]
  ------------------
 3543|      2|        return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3544|      2|    }
 3545|       |
 3546|      0|#ifndef MS_WINDOWS
 3547|      0|    if (_Py_isabs(config->run_filename)) {
  ------------------
  |  Branch (3547:9): [True: 0, False: 0]
  ------------------
 3548|       |        /* path is already absolute */
 3549|      0|        return _PyStatus_OK();
  ------------------
  |  |   24|      0|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3550|      0|    }
 3551|      0|#endif
 3552|       |
 3553|      0|    wchar_t *abs_filename;
 3554|      0|    if (_Py_abspath(config->run_filename, &abs_filename) < 0) {
  ------------------
  |  Branch (3554:9): [True: 0, False: 0]
  ------------------
 3555|       |        /* failed to get the absolute path of the command line filename:
 3556|       |           ignore the error, keep the relative path */
 3557|      0|        return _PyStatus_OK();
  ------------------
  |  |   24|      0|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3558|      0|    }
 3559|      0|    if (abs_filename == NULL) {
  ------------------
  |  Branch (3559:9): [True: 0, False: 0]
  ------------------
 3560|      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)}
  |  |  ------------------
  ------------------
 3561|      0|    }
 3562|       |
 3563|      0|    PyMem_RawFree(config->run_filename);
 3564|      0|    config->run_filename = abs_filename;
 3565|      0|    return _PyStatus_OK();
  ------------------
  |  |   24|      0|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3566|      0|}
initconfig.c:config_init_env_warnoptions:
 3303|      2|{
 3304|      2|    PyStatus status;
 3305|       |    /* CONFIG_GET_ENV_DUP requires dest to be initialized to NULL */
 3306|      2|    wchar_t *env = NULL;
 3307|      2|    status = CONFIG_GET_ENV_DUP(config, &env,
  ------------------
  |  | 1785|      2|    config_get_env_dup(CONFIG, DEST, WNAME, NAME, "cannot decode " NAME)
  ------------------
 3308|      2|                             L"PYTHONWARNINGS", "PYTHONWARNINGS");
 3309|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3310|      0|        return status;
 3311|      0|    }
 3312|       |
 3313|       |    /* env var is not set or is empty */
 3314|      2|    if (env == NULL) {
  ------------------
  |  Branch (3314:9): [True: 2, False: 0]
  ------------------
 3315|      2|        return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3316|      2|    }
 3317|       |
 3318|       |
 3319|      0|    wchar_t *warning, *context = NULL;
 3320|      0|    for (warning = WCSTOK(env, L",", &context);
  ------------------
  |  | 3297|      0|#  define WCSTOK wcstok
  ------------------
 3321|      0|         warning != NULL;
  ------------------
  |  Branch (3321:10): [True: 0, False: 0]
  ------------------
 3322|      0|         warning = WCSTOK(NULL, L",", &context))
  ------------------
  |  | 3297|      0|#  define WCSTOK wcstok
  ------------------
 3323|      0|    {
 3324|      0|        status = PyWideStringList_Append(warnoptions, warning);
 3325|      0|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3326|      0|            PyMem_RawFree(env);
 3327|      0|            return status;
 3328|      0|        }
 3329|      0|    }
 3330|      0|    PyMem_RawFree(env);
 3331|      0|    return _PyStatus_OK();
  ------------------
  |  |   24|      0|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3332|      0|}
initconfig.c:config_get_env_dup:
 1755|     10|{
 1756|     10|    assert(*dest == NULL);
 1757|     10|    assert(config->use_environment >= 0);
 1758|       |
 1759|     10|    if (!config->use_environment) {
  ------------------
  |  Branch (1759:9): [True: 0, False: 10]
  ------------------
 1760|      0|        *dest = NULL;
 1761|      0|        return _PyStatus_OK();
  ------------------
  |  |   24|      0|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 1762|      0|    }
 1763|       |
 1764|       |#ifdef MS_WINDOWS
 1765|       |    const wchar_t *var = _wgetenv(wname);
 1766|       |    if (!var || var[0] == '\0') {
 1767|       |        *dest = NULL;
 1768|       |        return _PyStatus_OK();
 1769|       |    }
 1770|       |
 1771|       |    return PyConfig_SetString(config, dest, var);
 1772|       |#else
 1773|     10|    const char *var = getenv(name);
 1774|     10|    if (!var || var[0] == '\0') {
  ------------------
  |  Branch (1774:9): [True: 10, False: 0]
  |  Branch (1774:17): [True: 0, False: 0]
  ------------------
 1775|     10|        *dest = NULL;
 1776|     10|        return _PyStatus_OK();
  ------------------
  |  |   24|     10|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 1777|     10|    }
 1778|       |
 1779|      0|    return config_set_bytes_string(config, dest, var, decode_err_msg);
 1780|     10|#endif
 1781|     10|}
initconfig.c:config_init_warnoptions:
 3377|      2|{
 3378|      2|    PyStatus status;
 3379|      2|    PyWideStringList options = _PyWideStringList_INIT;
  ------------------
  |  |   53|      2|#define _PyWideStringList_INIT (PyWideStringList){.length = 0, .items = NULL}
  ------------------
 3380|       |
 3381|       |    /* Priority of warnings options, lowest to highest:
 3382|       |     *
 3383|       |     * - any implicit filters added by _warnings.c/warnings.py
 3384|       |     * - PyConfig.dev_mode: "default" filter
 3385|       |     * - PYTHONWARNINGS environment variable
 3386|       |     * - '-W' command line options
 3387|       |     * - PyConfig.bytes_warning ('-b' and '-bb' command line options):
 3388|       |     *   "default::BytesWarning" or "error::BytesWarning" filter
 3389|       |     * - early PySys_AddWarnOption() calls
 3390|       |     * - PyConfig.warnoptions
 3391|       |     *
 3392|       |     * PyConfig.warnoptions is copied to sys.warnoptions. Since the warnings
 3393|       |     * module works on the basis of "the most recently added filter will be
 3394|       |     * checked first", we add the lowest precedence entries first so that later
 3395|       |     * entries override them.
 3396|       |     */
 3397|       |
 3398|      2|    if (config->dev_mode) {
  ------------------
  |  Branch (3398:9): [True: 0, False: 2]
  ------------------
 3399|      0|        status = warnoptions_append(config, &options, L"default");
 3400|      0|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3401|      0|            goto error;
 3402|      0|        }
 3403|      0|    }
 3404|       |
 3405|      2|    status = warnoptions_extend(config, &options, env_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|      2|    status = warnoptions_extend(config, &options, cmdline_warnoptions);
 3411|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3412|      0|        goto error;
 3413|      0|    }
 3414|       |
 3415|       |    /* If the bytes_warning_flag isn't set, bytesobject.c and bytearrayobject.c
 3416|       |     * don't even try to emit a warning, so we skip setting the filter in that
 3417|       |     * case.
 3418|       |     */
 3419|      2|    if (config->bytes_warning) {
  ------------------
  |  Branch (3419:9): [True: 0, False: 2]
  ------------------
 3420|      0|        const wchar_t *filter;
 3421|      0|        if (config->bytes_warning> 1) {
  ------------------
  |  Branch (3421:13): [True: 0, False: 0]
  ------------------
 3422|      0|            filter = L"error::BytesWarning";
 3423|      0|        }
 3424|      0|        else {
 3425|      0|            filter = L"default::BytesWarning";
 3426|      0|        }
 3427|      0|        status = warnoptions_append(config, &options, filter);
 3428|      0|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3429|      0|            goto error;
 3430|      0|        }
 3431|      0|    }
 3432|       |
 3433|      2|    status = warnoptions_extend(config, &options, sys_warnoptions);
 3434|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3435|      0|        goto error;
 3436|      0|    }
 3437|       |
 3438|       |    /* Always add all PyConfig.warnoptions options */
 3439|      2|    status = _PyWideStringList_Extend(&options, &config->warnoptions);
 3440|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 3441|      0|        goto error;
 3442|      0|    }
 3443|       |
 3444|      2|    _PyWideStringList_Clear(&config->warnoptions);
 3445|      2|    config->warnoptions = options;
 3446|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3447|       |
 3448|      0|error:
 3449|      0|    _PyWideStringList_Clear(&options);
 3450|      0|    return status;
 3451|      2|}
initconfig.c:warnoptions_extend:
 3358|      6|{
 3359|      6|    const Py_ssize_t len = options2->length;
 3360|      6|    wchar_t *const *items = options2->items;
 3361|       |
 3362|      6|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (3362:28): [True: 0, False: 6]
  ------------------
 3363|      0|        PyStatus status = warnoptions_append(config, options, items[i]);
 3364|      0|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3365|      0|            return status;
 3366|      0|        }
 3367|      0|    }
 3368|      6|    return _PyStatus_OK();
  ------------------
  |  |   24|      6|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3369|      6|}
initconfig.c:config_read:
 2862|      2|{
 2863|      2|    PyStatus status;
 2864|      2|    const PyPreConfig *preconfig = &_PyRuntime.preconfig;
 2865|       |
 2866|      2|    if (config->use_environment) {
  ------------------
  |  Branch (2866:9): [True: 2, False: 0]
  ------------------
 2867|      2|        status = config_read_env_vars(config);
 2868|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2869|      0|            return status;
 2870|      0|        }
 2871|      2|    }
 2872|       |
 2873|       |    /* -X options */
 2874|      2|    if (config_get_xoption(config, L"showrefcount")) {
  ------------------
  |  Branch (2874:9): [True: 0, False: 2]
  ------------------
 2875|      0|        config->show_ref_count = 1;
 2876|      0|    }
 2877|       |
 2878|      2|    const wchar_t *x_gil = config_get_xoption_value(config, L"gil");
 2879|      2|    if (x_gil != NULL) {
  ------------------
  |  Branch (2879:9): [True: 0, False: 2]
  ------------------
 2880|      0|        size_t len = wcslen(x_gil);
 2881|      0|        status = config_read_gil(config, len, x_gil[0]);
 2882|      0|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2883|      0|            return status;
 2884|      0|        }
 2885|      0|    }
 2886|       |
 2887|       |#ifdef Py_STATS
 2888|       |    if (config_get_xoption(config, L"pystats")) {
 2889|       |        config->_pystats = 1;
 2890|       |    }
 2891|       |    else if (config_get_env(config, "PYTHONSTATS")) {
 2892|       |        config->_pystats = 1;
 2893|       |    }
 2894|       |    if (config->_pystats < 0) {
 2895|       |        config->_pystats = 0;
 2896|       |    }
 2897|       |#endif
 2898|       |
 2899|      2|    status = config_read_complex_options(config);
 2900|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2901|      0|        return status;
 2902|      0|    }
 2903|       |
 2904|      2|    if (config->_install_importlib) {
  ------------------
  |  Branch (2904:9): [True: 2, False: 0]
  ------------------
 2905|      2|        status = config_init_import(config, compute_path_config);
 2906|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2907|      0|            return status;
 2908|      0|        }
 2909|      2|    }
 2910|       |
 2911|       |    /* default values */
 2912|      2|    if (config->dev_mode) {
  ------------------
  |  Branch (2912:9): [True: 0, False: 2]
  ------------------
 2913|      0|        if (config->faulthandler < 0) {
  ------------------
  |  Branch (2913:13): [True: 0, False: 0]
  ------------------
 2914|      0|            config->faulthandler = 1;
 2915|      0|        }
 2916|      0|    }
 2917|      2|    if (config->faulthandler < 0) {
  ------------------
  |  Branch (2917:9): [True: 2, False: 0]
  ------------------
 2918|      2|        config->faulthandler = 0;
 2919|      2|    }
 2920|      2|    if (config->tracemalloc < 0) {
  ------------------
  |  Branch (2920:9): [True: 2, False: 0]
  ------------------
 2921|      2|        config->tracemalloc = 0;
 2922|      2|    }
 2923|      2|    if (config->lazy_imports < 0) {
  ------------------
  |  Branch (2923:9): [True: 2, False: 0]
  ------------------
 2924|      2|        config->lazy_imports = -1;  // Default is auto/unset
 2925|      2|    }
 2926|      2|    if (config->perf_profiling < 0) {
  ------------------
  |  Branch (2926:9): [True: 2, False: 0]
  ------------------
 2927|      2|        config->perf_profiling = 0;
 2928|      2|    }
 2929|      2|    if (config->remote_debug < 0) {
  ------------------
  |  Branch (2929:9): [True: 0, False: 2]
  ------------------
 2930|      0|        config->remote_debug = -1;
 2931|      0|    }
 2932|      2|    if (config->use_hash_seed < 0) {
  ------------------
  |  Branch (2932:9): [True: 0, False: 2]
  ------------------
 2933|      0|        config->use_hash_seed = 0;
 2934|      0|        config->hash_seed = 0;
 2935|      0|    }
 2936|       |
 2937|      2|    if (config->filesystem_encoding == NULL || config->filesystem_errors == NULL) {
  ------------------
  |  Branch (2937:9): [True: 2, False: 0]
  |  Branch (2937:48): [True: 0, False: 0]
  ------------------
 2938|      2|        status = config_init_fs_encoding(config, preconfig);
 2939|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2940|      0|            return status;
 2941|      0|        }
 2942|      2|    }
 2943|       |
 2944|      2|    status = config_init_stdio_encoding(config, preconfig);
 2945|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2946|      0|        return status;
 2947|      0|    }
 2948|       |
 2949|      2|    if (config->argv.length < 1) {
  ------------------
  |  Branch (2949:9): [True: 2, False: 0]
  ------------------
 2950|       |        /* Ensure at least one (empty) argument is seen */
 2951|      2|        status = PyWideStringList_Append(&config->argv, L"");
 2952|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2953|      0|            return status;
 2954|      0|        }
 2955|      2|    }
 2956|       |
 2957|      2|    if (config->check_hash_pycs_mode == NULL) {
  ------------------
  |  Branch (2957:9): [True: 2, False: 0]
  ------------------
 2958|      2|        status = PyConfig_SetString(config, &config->check_hash_pycs_mode,
 2959|      2|                                    L"default");
 2960|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2961|      0|            return status;
 2962|      0|        }
 2963|      2|    }
 2964|       |
 2965|      2|    if (config->configure_c_stdio < 0) {
  ------------------
  |  Branch (2965:9): [True: 0, False: 2]
  ------------------
 2966|      0|        config->configure_c_stdio = 1;
 2967|      0|    }
 2968|       |
 2969|       |    // Only parse arguments once.
 2970|      2|    if (config->parse_argv == 1) {
  ------------------
  |  Branch (2970:9): [True: 0, False: 2]
  ------------------
 2971|      0|        config->parse_argv = 2;
 2972|      0|    }
 2973|       |
 2974|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2975|      2|}
initconfig.c:config_read_env_vars:
 1970|      2|{
 1971|      2|    PyStatus status;
 1972|      2|    int use_env = config->use_environment;
 1973|       |
 1974|       |    /* Get environment variables */
 1975|      2|    _Py_get_env_flag(use_env, &config->parser_debug, "PYTHONDEBUG");
 1976|      2|    _Py_get_env_flag(use_env, &config->verbose, "PYTHONVERBOSE");
 1977|      2|    _Py_get_env_flag(use_env, &config->optimization_level, "PYTHONOPTIMIZE");
 1978|      2|    if (!config->inspect && _Py_GetEnv(use_env, "PYTHONINSPECT")) {
  ------------------
  |  Branch (1978:9): [True: 2, False: 0]
  |  Branch (1978:29): [True: 0, False: 2]
  ------------------
 1979|      0|        config->inspect = 1;
 1980|      0|    }
 1981|       |
 1982|      2|    int dont_write_bytecode = 0;
 1983|      2|    _Py_get_env_flag(use_env, &dont_write_bytecode, "PYTHONDONTWRITEBYTECODE");
 1984|      2|    if (dont_write_bytecode) {
  ------------------
  |  Branch (1984:9): [True: 0, False: 2]
  ------------------
 1985|      0|        config->write_bytecode = 0;
 1986|      0|    }
 1987|       |
 1988|      2|    int no_user_site_directory = 0;
 1989|      2|    _Py_get_env_flag(use_env, &no_user_site_directory, "PYTHONNOUSERSITE");
 1990|      2|    if (no_user_site_directory) {
  ------------------
  |  Branch (1990:9): [True: 0, False: 2]
  ------------------
 1991|      0|        config->user_site_directory = 0;
 1992|      0|    }
 1993|       |
 1994|      2|    int unbuffered_stdio = 0;
 1995|      2|    _Py_get_env_flag(use_env, &unbuffered_stdio, "PYTHONUNBUFFERED");
 1996|      2|    if (unbuffered_stdio) {
  ------------------
  |  Branch (1996:9): [True: 0, False: 2]
  ------------------
 1997|      0|        config->buffered_stdio = 0;
 1998|      0|    }
 1999|       |
 2000|       |#ifdef MS_WINDOWS
 2001|       |    _Py_get_env_flag(use_env, &config->legacy_windows_stdio,
 2002|       |                     "PYTHONLEGACYWINDOWSSTDIO");
 2003|       |#endif
 2004|       |
 2005|      2|    if (config_get_env(config, "PYTHONDUMPREFS")) {
  ------------------
  |  Branch (2005:9): [True: 0, False: 2]
  ------------------
 2006|      0|        config->dump_refs = 1;
 2007|      0|    }
 2008|      2|    if (config_get_env(config, "PYTHONMALLOCSTATS")) {
  ------------------
  |  Branch (2008:9): [True: 0, False: 2]
  ------------------
 2009|      0|        config->malloc_stats = 1;
 2010|      0|    }
 2011|      2|    {
 2012|      2|        const char *env = _Py_GetEnv(use_env, "PYTHON_PYMALLOC_HUGEPAGES");
 2013|      2|        if (env) {
  ------------------
  |  Branch (2013:13): [True: 0, False: 2]
  ------------------
 2014|      0|            int value;
 2015|      0|            if (_Py_str_to_int(env, &value) < 0 || value < 0) {
  ------------------
  |  Branch (2015:17): [True: 0, False: 0]
  |  Branch (2015:52): [True: 0, False: 0]
  ------------------
 2016|       |                /* PYTHON_PYMALLOC_HUGEPAGES=text or negative
 2017|       |                   behaves as PYTHON_PYMALLOC_HUGEPAGES=1 */
 2018|      0|                value = 1;
 2019|      0|            }
 2020|      0|            config->pymalloc_hugepages = (value > 0);
 2021|      0|        }
 2022|      2|    }
 2023|       |
 2024|      2|    if (config->dump_refs_file == NULL) {
  ------------------
  |  Branch (2024:9): [True: 2, False: 0]
  ------------------
 2025|      2|        status = CONFIG_GET_ENV_DUP(config, &config->dump_refs_file,
  ------------------
  |  | 1785|      2|    config_get_env_dup(CONFIG, DEST, WNAME, NAME, "cannot decode " NAME)
  ------------------
 2026|      2|                                    L"PYTHONDUMPREFSFILE", "PYTHONDUMPREFSFILE");
 2027|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2028|      0|            return status;
 2029|      0|        }
 2030|      2|    }
 2031|       |
 2032|      2|    if (config->pythonpath_env == NULL) {
  ------------------
  |  Branch (2032:9): [True: 2, False: 0]
  ------------------
 2033|      2|        status = CONFIG_GET_ENV_DUP(config, &config->pythonpath_env,
  ------------------
  |  | 1785|      2|    config_get_env_dup(CONFIG, DEST, WNAME, NAME, "cannot decode " NAME)
  ------------------
 2034|      2|                                    L"PYTHONPATH", "PYTHONPATH");
 2035|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2036|      0|            return status;
 2037|      0|        }
 2038|      2|    }
 2039|       |
 2040|      2|    if(config->platlibdir == NULL) {
  ------------------
  |  Branch (2040:8): [True: 2, False: 0]
  ------------------
 2041|      2|        status = CONFIG_GET_ENV_DUP(config, &config->platlibdir,
  ------------------
  |  | 1785|      2|    config_get_env_dup(CONFIG, DEST, WNAME, NAME, "cannot decode " NAME)
  ------------------
 2042|      2|                                    L"PYTHONPLATLIBDIR", "PYTHONPLATLIBDIR");
 2043|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2044|      0|            return status;
 2045|      0|        }
 2046|      2|    }
 2047|       |
 2048|      2|    if (config->use_hash_seed < 0) {
  ------------------
  |  Branch (2048:9): [True: 2, False: 0]
  ------------------
 2049|      2|        status = config_init_hash_seed(config);
 2050|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2051|      0|            return status;
 2052|      0|        }
 2053|      2|    }
 2054|       |
 2055|      2|    if (config_get_env(config, "PYTHONSAFEPATH")) {
  ------------------
  |  Branch (2055:9): [True: 0, False: 2]
  ------------------
 2056|      0|        config->safe_path = 1;
 2057|      0|    }
 2058|       |
 2059|      2|    const char *gil = config_get_env(config, "PYTHON_GIL");
 2060|      2|    if (gil != NULL) {
  ------------------
  |  Branch (2060:9): [True: 0, False: 2]
  ------------------
 2061|      0|        size_t len = strlen(gil);
 2062|      0|        status = config_read_gil(config, len, gil[0]);
 2063|      0|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2064|      0|            return status;
 2065|      0|        }
 2066|      0|    }
 2067|       |
 2068|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2069|      2|}
initconfig.c:config_init_hash_seed:
 1896|      2|{
 1897|      2|    static_assert(sizeof(_Py_HashSecret_t) == sizeof(_Py_HashSecret.uc),
 1898|      2|                  "_Py_HashSecret_t has wrong size");
 1899|       |
 1900|      2|    const char *seed_text = config_get_env(config, "PYTHONHASHSEED");
 1901|       |
 1902|       |    /* Convert a text seed to a numeric one */
 1903|      2|    if (seed_text && strcmp(seed_text, "random") != 0) {
  ------------------
  |  Branch (1903:9): [True: 0, False: 2]
  |  Branch (1903:22): [True: 0, False: 0]
  ------------------
 1904|      0|        const char *endptr = seed_text;
 1905|      0|        unsigned long seed;
 1906|      0|        errno = 0;
 1907|      0|        seed = strtoul(seed_text, (char **)&endptr, 10);
 1908|      0|        if (*endptr != '\0'
  ------------------
  |  Branch (1908:13): [True: 0, False: 0]
  ------------------
 1909|      0|            || seed > MAX_HASH_SEED
  ------------------
  |  | 1007|      0|#define MAX_HASH_SEED 4294967295UL
  ------------------
  |  Branch (1909:16): [True: 0, False: 0]
  ------------------
 1910|      0|            || (errno == ERANGE && seed == ULONG_MAX))
  ------------------
  |  Branch (1910:17): [True: 0, False: 0]
  |  Branch (1910:36): [True: 0, False: 0]
  ------------------
 1911|      0|        {
 1912|      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)}
  ------------------
 1913|      0|                                "or an integer in range [0; 4294967295]");
 1914|      0|        }
 1915|       |        /* Use a specific hash */
 1916|      0|        config->use_hash_seed = 1;
 1917|      0|        config->hash_seed = seed;
 1918|      0|    }
 1919|      2|    else {
 1920|       |        /* Use a random hash */
 1921|      2|        config->use_hash_seed = 0;
 1922|      2|        config->hash_seed = 0;
 1923|      2|    }
 1924|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 1925|      2|}
initconfig.c:config_read_complex_options:
 2501|      2|{
 2502|       |    /* More complex options configured by env var and -X option */
 2503|      2|    if (config->faulthandler < 0) {
  ------------------
  |  Branch (2503:9): [True: 2, False: 0]
  ------------------
 2504|      2|        if (config_get_env(config, "PYTHONFAULTHANDLER")
  ------------------
  |  Branch (2504:13): [True: 0, False: 2]
  ------------------
 2505|      2|           || config_get_xoption(config, L"faulthandler")) {
  ------------------
  |  Branch (2505:15): [True: 0, False: 2]
  ------------------
 2506|      0|            config->faulthandler = 1;
 2507|      0|        }
 2508|      2|    }
 2509|      2|    if (config_get_env(config, "PYTHONNODEBUGRANGES")
  ------------------
  |  Branch (2509:9): [True: 0, False: 2]
  ------------------
 2510|      2|       || config_get_xoption(config, L"no_debug_ranges")) {
  ------------------
  |  Branch (2510:11): [True: 0, False: 2]
  ------------------
 2511|      0|        config->code_debug_ranges = 0;
 2512|      0|    }
 2513|       |
 2514|      2|    PyStatus status;
 2515|      2|    if (config->import_time < 0) {
  ------------------
  |  Branch (2515:9): [True: 2, False: 0]
  ------------------
 2516|      2|        status = config_init_import_time(config);
 2517|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2518|      0|            return status;
 2519|      0|        }
 2520|      2|    }
 2521|       |
 2522|      2|    if (config->lazy_imports < 0) {
  ------------------
  |  Branch (2522:9): [True: 2, False: 0]
  ------------------
 2523|      2|        status = config_init_lazy_imports(config);
 2524|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2525|      0|            return status;
 2526|      0|        }
 2527|      2|    }
 2528|       |
 2529|      2|    if (config->tracemalloc < 0) {
  ------------------
  |  Branch (2529:9): [True: 2, False: 0]
  ------------------
 2530|      2|        status = config_init_tracemalloc(config);
 2531|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2532|      0|            return status;
 2533|      0|        }
 2534|      2|    }
 2535|       |
 2536|      2|    if (config->perf_profiling < 0) {
  ------------------
  |  Branch (2536:9): [True: 2, False: 0]
  ------------------
 2537|      2|        status = config_init_perf_profiling(config);
 2538|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2539|      0|            return status;
 2540|      0|        }
 2541|      2|    }
 2542|       |
 2543|      2|    if (config->remote_debug < 0) {
  ------------------
  |  Branch (2543:9): [True: 2, False: 0]
  ------------------
 2544|      2|        status = config_init_remote_debug(config);
 2545|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2546|      0|            return status;
 2547|      0|        }
 2548|      2|    }
 2549|       |
 2550|      2|    if (config->int_max_str_digits < 0) {
  ------------------
  |  Branch (2550:9): [True: 2, False: 0]
  ------------------
 2551|      2|        status = config_init_int_max_str_digits(config);
 2552|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2553|      0|            return status;
 2554|      0|        }
 2555|      2|    }
 2556|       |
 2557|      2|    if (config->cpu_count < 0) {
  ------------------
  |  Branch (2557:9): [True: 2, False: 0]
  ------------------
 2558|      2|        status = config_init_cpu_count(config);
 2559|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2560|      0|            return status;
 2561|      0|        }
 2562|      2|    }
 2563|       |
 2564|      2|    if (config->pycache_prefix == NULL) {
  ------------------
  |  Branch (2564:9): [True: 2, False: 0]
  ------------------
 2565|      2|        status = config_init_pycache_prefix(config);
 2566|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2567|      0|            return status;
 2568|      0|        }
 2569|      2|    }
 2570|       |
 2571|       |#ifdef Py_DEBUG
 2572|       |    if (config->run_presite == NULL) {
 2573|       |        status = config_init_run_presite(config);
 2574|       |        if (_PyStatus_EXCEPTION(status)) {
 2575|       |            return status;
 2576|       |        }
 2577|       |    }
 2578|       |#endif
 2579|       |
 2580|      2|    status = config_init_thread_inherit_context(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_context_aware_warnings(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_tlbc(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|    status = config_init_pathconfig_warnings(config);
 2596|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2597|      0|        return status;
 2598|      0|    }
 2599|       |
 2600|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2601|      2|}
initconfig.c:config_init_import_time:
 2399|      2|{
 2400|      2|    int importtime = 0;
 2401|       |
 2402|      2|    const char *env = config_get_env(config, "PYTHONPROFILEIMPORTTIME");
 2403|      2|    if (env) {
  ------------------
  |  Branch (2403:9): [True: 0, False: 2]
  ------------------
 2404|      0|        if (_Py_str_to_int(env, &importtime) != 0) {
  ------------------
  |  Branch (2404:13): [True: 0, False: 0]
  ------------------
 2405|      0|            importtime = 1;
 2406|      0|        }
 2407|      0|        if (importtime < 0 || importtime > 2) {
  ------------------
  |  Branch (2407:13): [True: 0, False: 0]
  |  Branch (2407:31): [True: 0, False: 0]
  ------------------
 2408|      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)}
  ------------------
 2409|      0|                "PYTHONPROFILEIMPORTTIME: numeric values other than 1 and 2 "
 2410|      0|                "are reserved for future use.");
 2411|      0|        }
 2412|      0|    }
 2413|       |
 2414|      2|    const wchar_t *x_value = config_get_xoption_value(config, L"importtime");
 2415|      2|    if (x_value) {
  ------------------
  |  Branch (2415:9): [True: 0, False: 2]
  ------------------
 2416|      0|        if (*x_value == 0 || config_wstr_to_int(x_value, &importtime) != 0) {
  ------------------
  |  Branch (2416:13): [True: 0, False: 0]
  |  Branch (2416:30): [True: 0, False: 0]
  ------------------
 2417|      0|            importtime = 1;
 2418|      0|        }
 2419|      0|        if (importtime < 0 || importtime > 2) {
  ------------------
  |  Branch (2419:13): [True: 0, False: 0]
  |  Branch (2419:31): [True: 0, False: 0]
  ------------------
 2420|      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)}
  ------------------
 2421|      0|                "-X importtime: values other than 1 and 2 "
 2422|      0|                "are reserved for future use.");
 2423|      0|        }
 2424|      0|    }
 2425|       |
 2426|      2|    config->import_time = importtime;
 2427|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2428|      2|}
initconfig.c:config_init_lazy_imports:
 2432|      2|{
 2433|      2|    int lazy_imports = -1;
 2434|       |
 2435|      2|    const char *env = config_get_env(config, "PYTHON_LAZY_IMPORTS");
 2436|      2|    if (env) {
  ------------------
  |  Branch (2436:9): [True: 0, False: 2]
  ------------------
 2437|      0|        if (strcmp(env, "all") == 0) {
  ------------------
  |  Branch (2437:13): [True: 0, False: 0]
  ------------------
 2438|      0|            lazy_imports = 1;
 2439|      0|        }
 2440|      0|        else if (strcmp(env, "none") == 0) {
  ------------------
  |  Branch (2440:18): [True: 0, False: 0]
  ------------------
 2441|      0|            lazy_imports = 0;
 2442|      0|        }
 2443|      0|        else if (strcmp(env, "normal") == 0) {
  ------------------
  |  Branch (2443:18): [True: 0, False: 0]
  ------------------
 2444|      0|            lazy_imports = -1;
 2445|      0|        }
 2446|      0|        else {
 2447|      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)}
  ------------------
 2448|      0|                                 "expected 'all', 'none', or 'normal'");
 2449|      0|        }
 2450|      0|        config->lazy_imports = lazy_imports;
 2451|      0|    }
 2452|       |
 2453|      2|    const wchar_t *x_value = config_get_xoption_value(config, L"lazy_imports");
 2454|      2|    if (x_value) {
  ------------------
  |  Branch (2454:9): [True: 0, False: 2]
  ------------------
 2455|      0|        if (wcscmp(x_value, L"all") == 0) {
  ------------------
  |  Branch (2455:13): [True: 0, False: 0]
  ------------------
 2456|      0|            lazy_imports = 1;
 2457|      0|        }
 2458|      0|        else if (wcscmp(x_value, L"none") == 0) {
  ------------------
  |  Branch (2458:18): [True: 0, False: 0]
  ------------------
 2459|      0|            lazy_imports = 0;
 2460|      0|        }
 2461|      0|        else if (wcscmp(x_value, L"normal") == 0) {
  ------------------
  |  Branch (2461:18): [True: 0, False: 0]
  ------------------
 2462|      0|            lazy_imports = -1;
 2463|      0|        }
 2464|      0|        else {
 2465|      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)}
  ------------------
 2466|      0|                                 "expected 'all', 'none', or 'normal'");
 2467|      0|        }
 2468|      0|        config->lazy_imports = lazy_imports;
 2469|      0|    }
 2470|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2471|      2|}
initconfig.c:config_init_tracemalloc:
 2251|      2|{
 2252|      2|    int nframe;
 2253|      2|    int valid;
 2254|       |
 2255|      2|    const char *env = config_get_env(config, "PYTHONTRACEMALLOC");
 2256|      2|    if (env) {
  ------------------
  |  Branch (2256:9): [True: 0, False: 2]
  ------------------
 2257|      0|        if (!_Py_str_to_int(env, &nframe)) {
  ------------------
  |  Branch (2257:13): [True: 0, False: 0]
  ------------------
 2258|      0|            valid = (nframe >= 0);
 2259|      0|        }
 2260|      0|        else {
 2261|      0|            valid = 0;
 2262|      0|        }
 2263|      0|        if (!valid) {
  ------------------
  |  Branch (2263:13): [True: 0, False: 0]
  ------------------
 2264|      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)}
  ------------------
 2265|      0|        }
 2266|      0|        config->tracemalloc = nframe;
 2267|      0|    }
 2268|       |
 2269|      2|    const wchar_t *xoption = config_get_xoption(config, L"tracemalloc");
 2270|      2|    if (xoption) {
  ------------------
  |  Branch (2270:9): [True: 0, False: 2]
  ------------------
 2271|      0|        const wchar_t *sep = wcschr(xoption, L'=');
 2272|      0|        if (sep) {
  ------------------
  |  Branch (2272:13): [True: 0, False: 0]
  ------------------
 2273|      0|            if (!config_wstr_to_int(sep + 1, &nframe)) {
  ------------------
  |  Branch (2273:17): [True: 0, False: 0]
  ------------------
 2274|      0|                valid = (nframe >= 0);
 2275|      0|            }
 2276|      0|            else {
 2277|      0|                valid = 0;
 2278|      0|            }
 2279|      0|            if (!valid) {
  ------------------
  |  Branch (2279:17): [True: 0, False: 0]
  ------------------
 2280|      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)}
  ------------------
 2281|      0|                                     "invalid number of frames");
 2282|      0|            }
 2283|      0|        }
 2284|      0|        else {
 2285|       |            /* -X tracemalloc behaves as -X tracemalloc=1 */
 2286|      0|            nframe = 1;
 2287|      0|        }
 2288|      0|        config->tracemalloc = nframe;
 2289|      0|    }
 2290|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2291|      2|}
initconfig.c:config_init_perf_profiling:
 2194|      2|{
 2195|      2|    int active = 0;
 2196|      2|    const char *env = config_get_env(config, "PYTHONPERFSUPPORT");
 2197|      2|    if (env) {
  ------------------
  |  Branch (2197:9): [True: 0, False: 2]
  ------------------
 2198|      0|        if (_Py_str_to_int(env, &active) != 0) {
  ------------------
  |  Branch (2198:13): [True: 0, False: 0]
  ------------------
 2199|      0|            active = 0;
 2200|      0|        }
 2201|      0|        if (active) {
  ------------------
  |  Branch (2201:13): [True: 0, False: 0]
  ------------------
 2202|      0|            config->perf_profiling = 1;
 2203|      0|        }
 2204|      0|    }
 2205|      2|    const wchar_t *xoption = config_get_xoption(config, L"perf");
 2206|      2|    if (xoption) {
  ------------------
  |  Branch (2206:9): [True: 0, False: 2]
  ------------------
 2207|      0|        config->perf_profiling = 1;
 2208|      0|    }
 2209|      2|    env = config_get_env(config, "PYTHON_PERF_JIT_SUPPORT");
 2210|      2|    if (env) {
  ------------------
  |  Branch (2210:9): [True: 0, False: 2]
  ------------------
 2211|      0|        if (_Py_str_to_int(env, &active) != 0) {
  ------------------
  |  Branch (2211:13): [True: 0, False: 0]
  ------------------
 2212|      0|            active = 0;
 2213|      0|        }
 2214|      0|        if (active) {
  ------------------
  |  Branch (2214:13): [True: 0, False: 0]
  ------------------
 2215|      0|            config->perf_profiling = 2;
 2216|      0|        }
 2217|      0|    }
 2218|      2|    xoption = config_get_xoption(config, L"perf_jit");
 2219|      2|    if (xoption) {
  ------------------
  |  Branch (2219:9): [True: 0, False: 2]
  ------------------
 2220|      0|        config->perf_profiling = 2;
 2221|      0|    }
 2222|       |
 2223|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2224|       |
 2225|      2|}
initconfig.c:config_init_remote_debug:
 2229|      2|{
 2230|       |#ifndef Py_REMOTE_DEBUG
 2231|       |    config->remote_debug = 0;
 2232|       |#else
 2233|      2|    int active = 1;
 2234|      2|    const char *env = Py_GETENV("PYTHON_DISABLE_REMOTE_DEBUG");
 2235|      2|    if (env) {
  ------------------
  |  Branch (2235:9): [True: 0, False: 2]
  ------------------
 2236|      0|        active = 0;
 2237|      0|    }
 2238|      2|    const wchar_t *xoption = config_get_xoption(config, L"disable-remote-debug");
 2239|      2|    if (xoption) {
  ------------------
  |  Branch (2239:9): [True: 0, False: 2]
  ------------------
 2240|      0|        active = 0;
 2241|      0|    }
 2242|       |
 2243|      2|    config->remote_debug = active;
 2244|      2|#endif
 2245|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2246|       |
 2247|      2|}
initconfig.c:config_init_int_max_str_digits:
 2295|      2|{
 2296|      2|    int maxdigits;
 2297|       |
 2298|      2|    const char *env = config_get_env(config, "PYTHONINTMAXSTRDIGITS");
 2299|      2|    if (env) {
  ------------------
  |  Branch (2299:9): [True: 0, False: 2]
  ------------------
 2300|      0|        bool valid = 0;
 2301|      0|        if (!_Py_str_to_int(env, &maxdigits)) {
  ------------------
  |  Branch (2301:13): [True: 0, False: 0]
  ------------------
 2302|      0|            valid = ((maxdigits == 0) || (maxdigits >= _PY_LONG_MAX_STR_DIGITS_THRESHOLD));
  ------------------
  |  |   42|      0|#define _PY_LONG_MAX_STR_DIGITS_THRESHOLD 640
  ------------------
  |  Branch (2302:22): [True: 0, False: 0]
  |  Branch (2302:42): [True: 0, False: 0]
  ------------------
 2303|      0|        }
 2304|      0|        if (!valid) {
  ------------------
  |  Branch (2304:13): [True: 0, False: 0]
  ------------------
 2305|      0|#define STRINGIFY(VAL) _STRINGIFY(VAL)
 2306|      0|#define _STRINGIFY(VAL) #VAL
 2307|      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)}
  ------------------
 2308|      0|                    "PYTHONINTMAXSTRDIGITS: invalid limit; must be >= "
 2309|      0|                    STRINGIFY(_PY_LONG_MAX_STR_DIGITS_THRESHOLD)
 2310|      0|                    " or 0 for unlimited.");
 2311|      0|        }
 2312|      0|        config->int_max_str_digits = maxdigits;
 2313|      0|    }
 2314|       |
 2315|      2|    const wchar_t *xoption = config_get_xoption(config, L"int_max_str_digits");
 2316|      2|    if (xoption) {
  ------------------
  |  Branch (2316:9): [True: 0, False: 2]
  ------------------
 2317|      0|        const wchar_t *sep = wcschr(xoption, L'=');
 2318|      0|        bool valid = 0;
 2319|      0|        if (sep) {
  ------------------
  |  Branch (2319:13): [True: 0, False: 0]
  ------------------
 2320|      0|            if (!config_wstr_to_int(sep + 1, &maxdigits)) {
  ------------------
  |  Branch (2320:17): [True: 0, False: 0]
  ------------------
 2321|      0|                valid = ((maxdigits == 0) || (maxdigits >= _PY_LONG_MAX_STR_DIGITS_THRESHOLD));
  ------------------
  |  |   42|      0|#define _PY_LONG_MAX_STR_DIGITS_THRESHOLD 640
  ------------------
  |  Branch (2321:26): [True: 0, False: 0]
  |  Branch (2321:46): [True: 0, False: 0]
  ------------------
 2322|      0|            }
 2323|      0|        }
 2324|      0|        if (!valid) {
  ------------------
  |  Branch (2324:13): [True: 0, False: 0]
  ------------------
 2325|      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)}
  ------------------
 2326|      0|                    "-X int_max_str_digits: invalid limit; must be >= "
 2327|      0|                    STRINGIFY(_PY_LONG_MAX_STR_DIGITS_THRESHOLD)
 2328|      0|                    " or 0 for unlimited.");
 2329|      0|#undef _STRINGIFY
 2330|      0|#undef STRINGIFY
 2331|      0|        }
 2332|      0|        config->int_max_str_digits = maxdigits;
 2333|      0|    }
 2334|      2|    if (config->int_max_str_digits < 0) {
  ------------------
  |  Branch (2334:9): [True: 2, False: 0]
  ------------------
 2335|      2|        config->int_max_str_digits = _PY_LONG_DEFAULT_MAX_STR_DIGITS;
  ------------------
  |  |   29|      2|#define _PY_LONG_DEFAULT_MAX_STR_DIGITS 4300
  ------------------
 2336|      2|    }
 2337|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2338|      2|}
initconfig.c:config_init_cpu_count:
 2073|      2|{
 2074|      2|    const char *env = config_get_env(config, "PYTHON_CPU_COUNT");
 2075|      2|    if (env) {
  ------------------
  |  Branch (2075:9): [True: 0, False: 2]
  ------------------
 2076|      0|        int cpu_count = -1;
 2077|      0|        if (strcmp(env, "default") == 0) {
  ------------------
  |  Branch (2077:13): [True: 0, False: 0]
  ------------------
 2078|      0|            cpu_count = -1;
 2079|      0|        }
 2080|      0|        else if (_Py_str_to_int(env, &cpu_count) < 0 || cpu_count < 1) {
  ------------------
  |  Branch (2080:18): [True: 0, False: 0]
  |  Branch (2080:57): [True: 0, False: 0]
  ------------------
 2081|      0|            goto error;
 2082|      0|        }
 2083|      0|        config->cpu_count = cpu_count;
 2084|      0|    }
 2085|       |
 2086|      2|    const wchar_t *xoption = config_get_xoption(config, L"cpu_count");
 2087|      2|    if (xoption) {
  ------------------
  |  Branch (2087:9): [True: 0, False: 2]
  ------------------
 2088|      0|        int cpu_count = -1;
 2089|      0|        const wchar_t *sep = wcschr(xoption, L'=');
 2090|      0|        if (sep) {
  ------------------
  |  Branch (2090:13): [True: 0, False: 0]
  ------------------
 2091|      0|            if (wcscmp(sep + 1, L"default") == 0) {
  ------------------
  |  Branch (2091:17): [True: 0, False: 0]
  ------------------
 2092|      0|                cpu_count = -1;
 2093|      0|            }
 2094|      0|            else if (config_wstr_to_int(sep + 1, &cpu_count) < 0 || cpu_count < 1) {
  ------------------
  |  Branch (2094:22): [True: 0, False: 0]
  |  Branch (2094:69): [True: 0, False: 0]
  ------------------
 2095|      0|                goto error;
 2096|      0|            }
 2097|      0|        }
 2098|      0|        else {
 2099|      0|            goto error;
 2100|      0|        }
 2101|      0|        config->cpu_count = cpu_count;
 2102|      0|    }
 2103|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2104|       |
 2105|      0|error:
 2106|      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)}
  ------------------
 2107|      2|                         "n must be greater than 0");
 2108|      2|}
initconfig.c:config_init_pycache_prefix:
 2342|      2|{
 2343|      2|    assert(config->pycache_prefix == NULL);
 2344|       |
 2345|      2|    const wchar_t *xoption = config_get_xoption(config, L"pycache_prefix");
 2346|      2|    if (xoption) {
  ------------------
  |  Branch (2346:9): [True: 0, False: 2]
  ------------------
 2347|      0|        const wchar_t *sep = wcschr(xoption, L'=');
 2348|      0|        if (sep && wcslen(sep) > 1) {
  ------------------
  |  Branch (2348:13): [True: 0, False: 0]
  |  Branch (2348:20): [True: 0, False: 0]
  ------------------
 2349|      0|            config->pycache_prefix = _PyMem_RawWcsdup(sep + 1);
 2350|      0|            if (config->pycache_prefix == NULL) {
  ------------------
  |  Branch (2350:17): [True: 0, False: 0]
  ------------------
 2351|      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)}
  |  |  ------------------
  ------------------
 2352|      0|            }
 2353|      0|        }
 2354|      0|        else {
 2355|       |            // PYTHONPYCACHEPREFIX env var ignored
 2356|       |            // if "-X pycache_prefix=" option is used
 2357|      0|            config->pycache_prefix = NULL;
 2358|      0|        }
 2359|      0|        return _PyStatus_OK();
  ------------------
  |  |   24|      0|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2360|      0|    }
 2361|       |
 2362|      2|    return CONFIG_GET_ENV_DUP(config, &config->pycache_prefix,
  ------------------
  |  | 1785|      2|    config_get_env_dup(CONFIG, DEST, WNAME, NAME, "cannot decode " NAME)
  ------------------
 2363|      2|                              L"PYTHONPYCACHEPREFIX",
 2364|      2|                              "PYTHONPYCACHEPREFIX");
 2365|      2|}
initconfig.c:config_init_thread_inherit_context:
 2112|      2|{
 2113|      2|    const char *env = config_get_env(config, "PYTHON_THREAD_INHERIT_CONTEXT");
 2114|      2|    if (env) {
  ------------------
  |  Branch (2114:9): [True: 0, False: 2]
  ------------------
 2115|      0|        int enabled;
 2116|      0|        if (_Py_str_to_int(env, &enabled) < 0 || (enabled < 0) || (enabled > 1)) {
  ------------------
  |  Branch (2116:13): [True: 0, False: 0]
  |  Branch (2116:50): [True: 0, False: 0]
  |  Branch (2116:67): [True: 0, False: 0]
  ------------------
 2117|      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)}
  ------------------
 2118|      0|                "PYTHON_THREAD_INHERIT_CONTEXT=N: N is missing or invalid");
 2119|      0|        }
 2120|      0|        config->thread_inherit_context = enabled;
 2121|      0|    }
 2122|       |
 2123|      2|    const wchar_t *xoption = config_get_xoption(config, L"thread_inherit_context");
 2124|      2|    if (xoption) {
  ------------------
  |  Branch (2124:9): [True: 0, False: 2]
  ------------------
 2125|      0|        int enabled;
 2126|      0|        const wchar_t *sep = wcschr(xoption, L'=');
 2127|      0|        if (!sep || (config_wstr_to_int(sep + 1, &enabled) < 0) || (enabled < 0) || (enabled > 1)) {
  ------------------
  |  Branch (2127:13): [True: 0, False: 0]
  |  Branch (2127:21): [True: 0, False: 0]
  |  Branch (2127:68): [True: 0, False: 0]
  |  Branch (2127:85): [True: 0, False: 0]
  ------------------
 2128|      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)}
  ------------------
 2129|      0|                "-X thread_inherit_context=n: n is missing or invalid");
 2130|      0|        }
 2131|      0|        config->thread_inherit_context = enabled;
 2132|      0|    }
 2133|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2134|      2|}
initconfig.c:config_init_context_aware_warnings:
 2138|      2|{
 2139|      2|    const char *env = config_get_env(config, "PYTHON_CONTEXT_AWARE_WARNINGS");
 2140|      2|    if (env) {
  ------------------
  |  Branch (2140:9): [True: 0, False: 2]
  ------------------
 2141|      0|        int enabled;
 2142|      0|        if (_Py_str_to_int(env, &enabled) < 0 || (enabled < 0) || (enabled > 1)) {
  ------------------
  |  Branch (2142:13): [True: 0, False: 0]
  |  Branch (2142:50): [True: 0, False: 0]
  |  Branch (2142:67): [True: 0, False: 0]
  ------------------
 2143|      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)}
  ------------------
 2144|      0|                "PYTHON_CONTEXT_AWARE_WARNINGS=N: N is missing or invalid");
 2145|      0|        }
 2146|      0|        config->context_aware_warnings = enabled;
 2147|      0|    }
 2148|       |
 2149|      2|    const wchar_t *xoption = config_get_xoption(config, L"context_aware_warnings");
 2150|      2|    if (xoption) {
  ------------------
  |  Branch (2150:9): [True: 0, False: 2]
  ------------------
 2151|      0|        int enabled;
 2152|      0|        const wchar_t *sep = wcschr(xoption, L'=');
 2153|      0|        if (!sep || (config_wstr_to_int(sep + 1, &enabled) < 0) || (enabled < 0) || (enabled > 1)) {
  ------------------
  |  Branch (2153:13): [True: 0, False: 0]
  |  Branch (2153:21): [True: 0, False: 0]
  |  Branch (2153:68): [True: 0, False: 0]
  |  Branch (2153:85): [True: 0, False: 0]
  ------------------
 2154|      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)}
  ------------------
 2155|      0|                "-X context_aware_warnings=n: n is missing or invalid");
 2156|      0|        }
 2157|      0|        config->context_aware_warnings = enabled;
 2158|      0|    }
 2159|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2160|      2|}
initconfig.c:config_init_tlbc:
 2164|      2|{
 2165|       |#ifdef Py_GIL_DISABLED
 2166|       |    const char *env = config_get_env(config, "PYTHON_TLBC");
 2167|       |    if (env) {
 2168|       |        int enabled;
 2169|       |        if (_Py_str_to_int(env, &enabled) < 0 || (enabled < 0) || (enabled > 1)) {
 2170|       |            return _PyStatus_ERR(
 2171|       |                "PYTHON_TLBC=N: N is missing or invalid");
 2172|       |        }
 2173|       |        config->tlbc_enabled = enabled;
 2174|       |    }
 2175|       |
 2176|       |    const wchar_t *xoption = config_get_xoption(config, L"tlbc");
 2177|       |    if (xoption) {
 2178|       |        int enabled;
 2179|       |        const wchar_t *sep = wcschr(xoption, L'=');
 2180|       |        if (!sep || (config_wstr_to_int(sep + 1, &enabled) < 0) || (enabled < 0) || (enabled > 1)) {
 2181|       |            return _PyStatus_ERR(
 2182|       |                "-X tlbc=n: n is missing or invalid");
 2183|       |        }
 2184|       |        config->tlbc_enabled = enabled;
 2185|       |    }
 2186|       |    return _PyStatus_OK();
 2187|       |#else
 2188|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2189|      2|#endif
 2190|      2|}
initconfig.c:config_init_pathconfig_warnings:
 2475|      2|{
 2476|      2|    const char *env = config_get_env(config, "PYTHON_PATHCONFIG_WARNINGS");
 2477|      2|    if (env) {
  ------------------
  |  Branch (2477:9): [True: 0, False: 2]
  ------------------
 2478|      0|        int enabled;
 2479|      0|        if (_Py_str_to_int(env, &enabled) < 0 || (enabled < 0) || (enabled > 1)) {
  ------------------
  |  Branch (2479:13): [True: 0, False: 0]
  |  Branch (2479:50): [True: 0, False: 0]
  |  Branch (2479:67): [True: 0, False: 0]
  ------------------
 2480|      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)}
  ------------------
 2481|      0|                "PYTHON_PATHCONFIG_WARNINGS=N: N is missing or invalid");
 2482|      0|        }
 2483|      0|        config->pathconfig_warnings = enabled;
 2484|      0|    }
 2485|       |
 2486|      2|    const wchar_t *xoption = config_get_xoption(config, L"pathconfig_warnings");
 2487|      2|    if (xoption) {
  ------------------
  |  Branch (2487:9): [True: 0, False: 2]
  ------------------
 2488|      0|        int enabled;
 2489|      0|        const wchar_t *sep = wcschr(xoption, L'=');
 2490|      0|        if (!sep || (config_wstr_to_int(sep + 1, &enabled) < 0) || (enabled < 0) || (enabled > 1)) {
  ------------------
  |  Branch (2490:13): [True: 0, False: 0]
  |  Branch (2490:21): [True: 0, False: 0]
  |  Branch (2490:68): [True: 0, False: 0]
  |  Branch (2490:85): [True: 0, False: 0]
  ------------------
 2491|      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)}
  ------------------
 2492|      0|                "-X pathconfig_warnings=n: n is missing or invalid");
 2493|      0|        }
 2494|      0|        config->pathconfig_warnings = enabled;
 2495|      0|    }
 2496|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2497|      2|}
initconfig.c:config_init_fs_encoding:
 2775|      2|{
 2776|      2|    PyStatus status;
 2777|       |
 2778|      2|    if (config->filesystem_encoding == NULL) {
  ------------------
  |  Branch (2778:9): [True: 2, False: 0]
  ------------------
 2779|      2|        status = config_get_fs_encoding(config, preconfig,
 2780|      2|                                        &config->filesystem_encoding);
 2781|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2782|      0|            return status;
 2783|      0|        }
 2784|      2|    }
 2785|       |
 2786|      2|    if (config->filesystem_errors == NULL) {
  ------------------
  |  Branch (2786:9): [True: 2, False: 0]
  ------------------
 2787|      2|        const wchar_t *errors;
 2788|       |#ifdef MS_WINDOWS
 2789|       |        if (preconfig->legacy_windows_fs_encoding) {
 2790|       |            errors = L"replace";
 2791|       |        }
 2792|       |        else {
 2793|       |            errors = L"surrogatepass";
 2794|       |        }
 2795|       |#else
 2796|      2|        errors = L"surrogateescape";
 2797|      2|#endif
 2798|      2|        status = PyConfig_SetString(config, &config->filesystem_errors, errors);
 2799|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2800|      0|            return status;
 2801|      0|        }
 2802|      2|    }
 2803|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2804|      2|}
initconfig.c:config_get_fs_encoding:
 2745|      2|{
 2746|       |#ifdef _Py_FORCE_UTF8_FS_ENCODING
 2747|       |    return PyConfig_SetString(config, fs_encoding, L"utf-8");
 2748|       |#elif defined(MS_WINDOWS)
 2749|       |    const wchar_t *encoding;
 2750|       |    if (preconfig->legacy_windows_fs_encoding) {
 2751|       |        // Legacy Windows filesystem encoding: mbcs/replace
 2752|       |        encoding = L"mbcs";
 2753|       |    }
 2754|       |    else {
 2755|       |        // Windows defaults to utf-8/surrogatepass (PEP 529)
 2756|       |        encoding = L"utf-8";
 2757|       |    }
 2758|       |     return PyConfig_SetString(config, fs_encoding, encoding);
 2759|       |#else  // !MS_WINDOWS
 2760|      2|    if (preconfig->utf8_mode) {
  ------------------
  |  Branch (2760:9): [True: 2, False: 0]
  ------------------
 2761|      2|        return PyConfig_SetString(config, fs_encoding, L"utf-8");
 2762|      2|    }
 2763|       |
 2764|      0|    if (_Py_GetForceASCII()) {
  ------------------
  |  Branch (2764:9): [True: 0, False: 0]
  ------------------
 2765|      0|        return PyConfig_SetString(config, fs_encoding, L"ascii");
 2766|      0|    }
 2767|       |
 2768|      0|    return config_get_locale_encoding(config, preconfig, fs_encoding);
 2769|      0|#endif  // !MS_WINDOWS
 2770|      0|}
initconfig.c:config_get_locale_encoding:
 2640|      2|{
 2641|      2|    wchar_t *encoding;
 2642|      2|    if (preconfig->utf8_mode) {
  ------------------
  |  Branch (2642:9): [True: 2, False: 0]
  ------------------
 2643|      2|        encoding = _PyMem_RawWcsdup(L"utf-8");
 2644|      2|    }
 2645|      0|    else {
 2646|      0|        encoding = _Py_GetLocaleEncoding();
 2647|      0|    }
 2648|      2|    if (encoding == NULL) {
  ------------------
  |  Branch (2648:9): [True: 0, False: 2]
  ------------------
 2649|      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)}
  |  |  ------------------
  ------------------
 2650|      0|    }
 2651|      2|    PyStatus status = PyConfig_SetString(config, locale_encoding, encoding);
 2652|      2|    PyMem_RawFree(encoding);
 2653|      2|    return status;
 2654|      2|}
initconfig.c:config_init_stdio_encoding:
 2660|      2|{
 2661|      2|    PyStatus status;
 2662|       |
 2663|       |    // Exit if encoding and errors are defined
 2664|      2|    if (config->stdio_encoding != NULL && config->stdio_errors != NULL) {
  ------------------
  |  Branch (2664:9): [True: 0, False: 2]
  |  Branch (2664:43): [True: 0, False: 0]
  ------------------
 2665|      0|        return _PyStatus_OK();
  ------------------
  |  |   24|      0|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2666|      0|    }
 2667|       |
 2668|       |    /* PYTHONIOENCODING environment variable */
 2669|      2|    const char *opt = config_get_env(config, "PYTHONIOENCODING");
 2670|      2|    if (opt) {
  ------------------
  |  Branch (2670:9): [True: 0, False: 2]
  ------------------
 2671|      0|        char *pythonioencoding = _PyMem_RawStrdup(opt);
 2672|      0|        if (pythonioencoding == NULL) {
  ------------------
  |  Branch (2672:13): [True: 0, False: 0]
  ------------------
 2673|      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)}
  |  |  ------------------
  ------------------
 2674|      0|        }
 2675|       |
 2676|      0|        char *errors = strchr(pythonioencoding, ':');
 2677|      0|        if (errors) {
  ------------------
  |  Branch (2677:13): [True: 0, False: 0]
  ------------------
 2678|      0|            *errors = '\0';
 2679|      0|            errors++;
 2680|      0|            if (!errors[0]) {
  ------------------
  |  Branch (2680:17): [True: 0, False: 0]
  ------------------
 2681|      0|                errors = NULL;
 2682|      0|            }
 2683|      0|        }
 2684|       |
 2685|       |        /* Does PYTHONIOENCODING contain an encoding? */
 2686|      0|        if (pythonioencoding[0]) {
  ------------------
  |  Branch (2686:13): [True: 0, False: 0]
  ------------------
 2687|      0|            if (config->stdio_encoding == NULL) {
  ------------------
  |  Branch (2687:17): [True: 0, False: 0]
  ------------------
 2688|      0|                status = CONFIG_SET_BYTES_STR(config, &config->stdio_encoding,
  ------------------
  |  | 1333|      0|    config_set_bytes_string(config, config_str, str, "cannot decode " NAME)
  ------------------
 2689|      0|                                              pythonioencoding,
 2690|      0|                                              "PYTHONIOENCODING environment variable");
 2691|      0|                if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2692|      0|                    PyMem_RawFree(pythonioencoding);
 2693|      0|                    return status;
 2694|      0|                }
 2695|      0|            }
 2696|       |
 2697|       |            /* If the encoding is set but not the error handler,
 2698|       |               use "strict" error handler by default.
 2699|       |               PYTHONIOENCODING=latin1 behaves as
 2700|       |               PYTHONIOENCODING=latin1:strict. */
 2701|      0|            if (!errors) {
  ------------------
  |  Branch (2701:17): [True: 0, False: 0]
  ------------------
 2702|      0|                errors = "strict";
 2703|      0|            }
 2704|      0|        }
 2705|       |
 2706|      0|        if (config->stdio_errors == NULL && errors != NULL) {
  ------------------
  |  Branch (2706:13): [True: 0, False: 0]
  |  Branch (2706:45): [True: 0, False: 0]
  ------------------
 2707|      0|            status = CONFIG_SET_BYTES_STR(config, &config->stdio_errors,
  ------------------
  |  | 1333|      0|    config_set_bytes_string(config, config_str, str, "cannot decode " NAME)
  ------------------
 2708|      0|                                          errors,
 2709|      0|                                          "PYTHONIOENCODING environment variable");
 2710|      0|            if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 2711|      0|                PyMem_RawFree(pythonioencoding);
 2712|      0|                return status;
 2713|      0|            }
 2714|      0|        }
 2715|       |
 2716|      0|        PyMem_RawFree(pythonioencoding);
 2717|      0|    }
 2718|       |
 2719|       |    /* Choose the default error handler based on the current locale. */
 2720|      2|    if (config->stdio_encoding == NULL) {
  ------------------
  |  Branch (2720:9): [True: 2, False: 0]
  ------------------
 2721|      2|        status = config_get_locale_encoding(config, preconfig,
 2722|      2|                                            &config->stdio_encoding);
 2723|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2724|      0|            return status;
 2725|      0|        }
 2726|      2|    }
 2727|      2|    if (config->stdio_errors == NULL) {
  ------------------
  |  Branch (2727:9): [True: 2, False: 0]
  ------------------
 2728|      2|        const wchar_t *errors = config_get_stdio_errors(preconfig);
 2729|      2|        assert(errors != NULL);
 2730|       |
 2731|      2|        status = PyConfig_SetString(config, &config->stdio_errors, errors);
 2732|      2|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 2733|      0|            return status;
 2734|      0|        }
 2735|      2|    }
 2736|       |
 2737|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2738|      2|}
initconfig.c:config_get_stdio_errors:
 2606|      2|{
 2607|      2|    if (preconfig->utf8_mode) {
  ------------------
  |  Branch (2607:9): [True: 2, False: 0]
  ------------------
 2608|       |        /* UTF-8 Mode uses UTF-8/surrogateescape */
 2609|      2|        return L"surrogateescape";
 2610|      2|    }
 2611|       |
 2612|      0|#ifndef MS_WINDOWS
 2613|      0|    const char *loc = setlocale(LC_CTYPE, NULL);
 2614|      0|    if (loc != NULL) {
  ------------------
  |  Branch (2614:9): [True: 0, False: 0]
  ------------------
 2615|       |        /* surrogateescape is the default in the legacy C and POSIX locales */
 2616|      0|        if (strcmp(loc, "C") == 0 || strcmp(loc, "POSIX") == 0) {
  ------------------
  |  Branch (2616:13): [True: 0, False: 0]
  |  Branch (2616:38): [True: 0, False: 0]
  ------------------
 2617|      0|            return L"surrogateescape";
 2618|      0|        }
 2619|       |
 2620|      0|#ifdef PY_COERCE_C_LOCALE
 2621|       |        /* surrogateescape is the default in locale coercion target locales */
 2622|      0|        if (_Py_IsLocaleCoercionTarget(loc)) {
  ------------------
  |  Branch (2622:13): [True: 0, False: 0]
  ------------------
 2623|      0|            return L"surrogateescape";
 2624|      0|        }
 2625|      0|#endif
 2626|      0|    }
 2627|       |
 2628|      0|    return L"strict";
 2629|       |#else
 2630|       |    /* On Windows, always use surrogateescape by default */
 2631|       |    return L"surrogateescape";
 2632|       |#endif
 2633|      0|}
initconfig.c:config_get:
 4588|    142|{
 4589|    142|    if (use_sys) {
  ------------------
  |  Branch (4589:9): [True: 0, False: 142]
  ------------------
 4590|      0|        if (spec->sys.attr != NULL) {
  ------------------
  |  Branch (4590:13): [True: 0, False: 0]
  ------------------
 4591|      0|            return PySys_GetAttrString(spec->sys.attr);
 4592|      0|        }
 4593|       |
 4594|      0|        if (strcmp(spec->name, "write_bytecode") == 0) {
  ------------------
  |  Branch (4594:13): [True: 0, False: 0]
  ------------------
 4595|      0|            int value;
 4596|      0|            if (config_get_sys_write_bytecode(config, &value) < 0) {
  ------------------
  |  Branch (4596:17): [True: 0, False: 0]
  ------------------
 4597|      0|                return NULL;
 4598|      0|            }
 4599|      0|            return PyBool_FromLong(value);
 4600|      0|        }
 4601|       |
 4602|      0|        if (strcmp(spec->name, "int_max_str_digits") == 0) {
  ------------------
  |  Branch (4602:13): [True: 0, False: 0]
  ------------------
 4603|      0|            PyInterpreterState *interp = _PyInterpreterState_GET();
 4604|      0|            return PyLong_FromLong(interp->long_state.max_str_digits);
 4605|      0|        }
 4606|      0|    }
 4607|       |
 4608|    142|    void *member = config_get_spec_member(config, spec);
 4609|    142|    switch (spec->type) {
 4610|      8|    case PyConfig_MEMBER_INT:
  ------------------
  |  Branch (4610:5): [True: 8, False: 134]
  ------------------
 4611|     24|    case PyConfig_MEMBER_UINT:
  ------------------
  |  Branch (4611:5): [True: 16, False: 126]
  ------------------
 4612|     24|    {
 4613|     24|        int value = *(int *)member;
 4614|     24|        return PyLong_FromLong(value);
 4615|      8|    }
 4616|       |
 4617|     62|    case PyConfig_MEMBER_BOOL:
  ------------------
  |  Branch (4617:5): [True: 62, False: 80]
  ------------------
 4618|     62|    {
 4619|     62|        int value = *(int *)member;
 4620|     62|        return PyBool_FromLong(value != 0);
 4621|      8|    }
 4622|       |
 4623|      2|    case PyConfig_MEMBER_ULONG:
  ------------------
  |  Branch (4623:5): [True: 2, False: 140]
  ------------------
 4624|      2|    {
 4625|      2|        unsigned long value = *(unsigned long *)member;
 4626|      2|        return PyLong_FromUnsignedLong(value);
 4627|      8|    }
 4628|       |
 4629|     14|    case PyConfig_MEMBER_WSTR:
  ------------------
  |  Branch (4629:5): [True: 14, False: 128]
  ------------------
 4630|     44|    case PyConfig_MEMBER_WSTR_OPT:
  ------------------
  |  Branch (4630:5): [True: 30, False: 112]
  ------------------
 4631|     44|    {
 4632|     44|        wchar_t *wstr = *(wchar_t **)member;
 4633|     44|        if (wstr != NULL) {
  ------------------
  |  Branch (4633:13): [True: 10, False: 34]
  ------------------
 4634|     10|            return PyUnicode_FromWideChar(wstr, -1);
 4635|     10|        }
 4636|     34|        else {
 4637|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4638|     34|        }
 4639|     44|    }
 4640|       |
 4641|     10|    case PyConfig_MEMBER_WSTR_LIST:
  ------------------
  |  Branch (4641:5): [True: 10, False: 132]
  ------------------
 4642|     10|    {
 4643|     10|        if (strcmp(spec->name, "xoptions") == 0) {
  ------------------
  |  Branch (4643:13): [True: 2, False: 8]
  ------------------
 4644|      2|            return _PyConfig_CreateXOptionsDict(config);
 4645|      2|        }
 4646|      8|        else {
 4647|      8|            const PyWideStringList *list = (const PyWideStringList *)member;
 4648|      8|            return _PyWideStringList_AsTuple(list);
 4649|      8|        }
 4650|     10|    }
 4651|       |
 4652|      0|    default:
  ------------------
  |  Branch (4652:5): [True: 0, False: 142]
  ------------------
 4653|      0|        Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
 4654|    142|    }
 4655|    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|  12.4k|{
   60|  12.4k|    _PyJumpTargetLabel lbl = {++seq->s_next_free_label};
   61|  12.4k|    return lbl;
   62|  12.4k|}
_PyInstructionSequence_UseLabel:
   66|  27.0k|{
   67|  27.0k|    int old_size = seq->s_labelmap_size;
   68|  27.0k|    _Py_c_array_t array = {
   69|  27.0k|        .array = (void*)seq->s_labelmap,
   70|  27.0k|        .allocated_entries = seq->s_labelmap_size,
   71|  27.0k|        .item_size = sizeof(int),
   72|  27.0k|        .initial_num_entries = INITIAL_INSTR_SEQUENCE_LABELS_MAP_SIZE,
  ------------------
  |  |   20|  27.0k|#define INITIAL_INSTR_SEQUENCE_LABELS_MAP_SIZE 10
  ------------------
   73|  27.0k|    };
   74|       |
   75|  27.0k|    RETURN_IF_ERROR(_Py_CArray_EnsureCapacity(&array, lbl));
  ------------------
  |  |   32|  27.0k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 27.0k]
  |  |  ------------------
  |  |   33|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   29|      0|#define ERROR -1
  |  |  ------------------
  |  |   34|      0|    }
  ------------------
   76|  27.0k|    seq->s_labelmap = array.array;
   77|  27.0k|    seq->s_labelmap_size = array.allocated_entries;
   78|       |
   79|  88.2k|    for(int i = old_size; i < seq->s_labelmap_size; i++) {
  ------------------
  |  Branch (79:27): [True: 61.1k, False: 27.0k]
  ------------------
   80|  61.1k|        seq->s_labelmap[i] = -111;  /* something weird, for debugging */
   81|  61.1k|    }
   82|  27.0k|    seq->s_labelmap[lbl] = seq->s_used; /* label refers to the next instruction */
   83|  27.0k|    return SUCCESS;
  ------------------
  |  |   28|  27.0k|#define SUCCESS 0
  ------------------
   84|  27.0k|}
_PyInstructionSequence_ApplyLabelMap:
   88|  7.31k|{
   89|  7.31k|    if (instrs->s_labelmap == NULL) {
  ------------------
  |  Branch (89:9): [True: 2.82k, False: 4.48k]
  ------------------
   90|       |        /* Already applied - nothing to do */
   91|  2.82k|        return SUCCESS;
  ------------------
  |  |   28|  2.82k|#define SUCCESS 0
  ------------------
   92|  2.82k|    }
   93|       |    /* Replace labels by offsets in the code */
   94|   192k|    for (int i=0; i < instrs->s_used; i++) {
  ------------------
  |  Branch (94:19): [True: 187k, False: 4.48k]
  ------------------
   95|   187k|        instruction *instr = &instrs->s_instrs[i];
   96|   187k|        if (HAS_TARGET(instr->i_opcode)) {
  ------------------
  |  |   23|   187k|        (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  | 1077|   375k|#define OPCODE_HAS_JUMP(OP) (_PyOpcode_opcode_metadata[OP].flags & (HAS_JUMP_FLAG))
  |  |  |  |  ------------------
  |  |  |  |  |  | 1058|   187k|#define HAS_JUMP_FLAG (8)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (1077:29): [True: 11.2k, False: 176k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                       (OPCODE_HAS_JUMP(opcode) || IS_BLOCK_PUSH_OPCODE(opcode))
  |  |  ------------------
  |  |  |  |   18|   176k|        ((opcode) == SETUP_FINALLY || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  255|   352k|#define SETUP_FINALLY                          264
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (18:10): [True: 517, False: 175k]
  |  |  |  |  ------------------
  |  |  |  |   19|   176k|         (opcode) == SETUP_WITH || \
  |  |  |  |  ------------------
  |  |  |  |  |  |  256|   352k|#define SETUP_WITH                             265
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (19:10): [True: 52, False: 175k]
  |  |  |  |  ------------------
  |  |  |  |   20|   176k|         (opcode) == SETUP_CLEANUP)
  |  |  |  |  ------------------
  |  |  |  |  |  |  254|   175k|#define SETUP_CLEANUP                          263
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (20:10): [True: 672, False: 175k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   97|  12.5k|            assert(instr->i_oparg < instrs->s_labelmap_size);
   98|  12.5k|            instr->i_oparg = instrs->s_labelmap[instr->i_oparg];
   99|  12.5k|        }
  100|   187k|        _PyExceptHandlerInfo *hi = &instr->i_except_handler_info;
  101|   187k|        if (hi->h_label >= 0) {
  ------------------
  |  Branch (101:13): [True: 114k, False: 72.9k]
  ------------------
  102|   114k|            assert(hi->h_label < instrs->s_labelmap_size);
  103|   114k|            hi->h_label = instrs->s_labelmap[hi->h_label];
  104|   114k|        }
  105|   187k|    }
  106|       |    /* Clear label map so it's never used again */
  107|  4.48k|    PyMem_Free(instrs->s_labelmap);
  108|  4.48k|    instrs->s_labelmap = NULL;
  109|  4.48k|    instrs->s_labelmap_size = 0;
  110|  4.48k|    return SUCCESS;
  ------------------
  |  |   28|  4.48k|#define SUCCESS 0
  ------------------
  111|  7.31k|}
_PyInstructionSequence_Addop:
  118|   197k|{
  119|   197k|    assert(0 <= opcode && opcode <= MAX_OPCODE);
  120|   197k|    assert(IS_WITHIN_OPCODE_RANGE(opcode));
  121|   197k|    assert(OPCODE_HAS_ARG(opcode) || HAS_TARGET(opcode) || oparg == 0);
  122|   197k|    assert(0 <= oparg && oparg < (1 << 30));
  123|       |
  124|   197k|    int idx = instr_sequence_next_inst(seq);
  125|   197k|    RETURN_IF_ERROR(idx);
  ------------------
  |  |   32|   197k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 197k]
  |  |  ------------------
  |  |   33|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   29|      0|#define ERROR -1
  |  |  ------------------
  |  |   34|      0|    }
  ------------------
  126|   197k|    instruction *ci = &seq->s_instrs[idx];
  127|   197k|    ci->i_opcode = opcode;
  128|   197k|    ci->i_oparg = oparg;
  129|   197k|    ci->i_loc = loc;
  130|   197k|    return SUCCESS;
  ------------------
  |  |   28|   197k|#define SUCCESS 0
  ------------------
  131|   197k|}
_PyInstructionSequence_InsertInstruction:
  136|    347|{
  137|    347|    assert(pos >= 0 && pos <= seq->s_used);
  138|    347|    int last_idx = instr_sequence_next_inst(seq);
  139|    347|    RETURN_IF_ERROR(last_idx);
  ------------------
  |  |   32|    347|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 347]
  |  |  ------------------
  |  |   33|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   29|      0|#define ERROR -1
  |  |  ------------------
  |  |   34|      0|    }
  ------------------
  140|  16.1k|    for (int i=last_idx-1; i >= pos; i--) {
  ------------------
  |  Branch (140:28): [True: 15.8k, False: 347]
  ------------------
  141|  15.8k|        seq->s_instrs[i+1] = seq->s_instrs[i];
  142|  15.8k|    }
  143|    347|    instruction *ci = &seq->s_instrs[pos];
  144|    347|    ci->i_opcode = opcode;
  145|    347|    ci->i_oparg = oparg;
  146|    347|    ci->i_loc = loc;
  147|       |
  148|       |    /* fix the labels map */
  149|  4.87k|    for(int lbl=0; lbl < seq->s_labelmap_size; lbl++) {
  ------------------
  |  Branch (149:20): [True: 4.53k, False: 347]
  ------------------
  150|  4.53k|        if (seq->s_labelmap[lbl] >= pos) {
  ------------------
  |  Branch (150:13): [True: 2.72k, False: 1.80k]
  ------------------
  151|  2.72k|            seq->s_labelmap[lbl]++;
  152|  2.72k|        }
  153|  4.53k|    }
  154|    347|    return SUCCESS;
  ------------------
  |  |   28|    347|#define SUCCESS 0
  ------------------
  155|    347|}
_PyInstructionSequence_GetInstruction:
  159|    347|{
  160|       |    assert(pos >= 0 && pos < seq->s_used);
  161|    347|    return seq->s_instrs[pos];
  162|    347|}
PyInstructionSequence_Fini:
  189|  4.87k|PyInstructionSequence_Fini(instr_sequence *seq) {
  190|  4.87k|    Py_XDECREF(seq->s_nested);
  ------------------
  |  |  524|  4.87k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.87k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.87k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  191|       |
  192|  4.87k|    PyMem_Free(seq->s_labelmap);
  193|  4.87k|    seq->s_labelmap = NULL;
  194|       |
  195|  4.87k|    PyMem_Free(seq->s_instrs);
  196|  4.87k|    seq->s_instrs = NULL;
  197|       |
  198|  4.87k|    if (seq->s_annotations_code != NULL) {
  ------------------
  |  Branch (198:9): [True: 0, False: 4.87k]
  ------------------
  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|  4.87k|}
_PyInstructionSequence_New:
  233|  2.43k|{
  234|  2.43k|    _PyInstructionSequence *seq = inst_seq_create();
  235|  2.43k|    if (seq == NULL) {
  ------------------
  |  Branch (235:9): [True: 0, False: 2.43k]
  ------------------
  236|      0|        return NULL;
  237|      0|    }
  238|  2.43k|    return (PyObject*)seq;
  239|  2.43k|}
instruction_sequence.c:instr_sequence_next_inst:
   37|   197k|instr_sequence_next_inst(instr_sequence *seq) {
   38|   197k|    assert(seq->s_instrs != NULL || seq->s_used == 0);
   39|       |
   40|       |
   41|   197k|    _Py_c_array_t array = {
   42|   197k|        .array = (void*)seq->s_instrs,
   43|   197k|        .allocated_entries = seq->s_allocated,
   44|   197k|        .item_size = sizeof(instruction),
   45|   197k|        .initial_num_entries = INITIAL_INSTR_SEQUENCE_SIZE,
  ------------------
  |  |   19|   197k|#define INITIAL_INSTR_SEQUENCE_SIZE 100
  ------------------
   46|   197k|    };
   47|       |
   48|   197k|    RETURN_IF_ERROR(_Py_CArray_EnsureCapacity(&array, seq->s_used + 1));
  ------------------
  |  |   32|   197k|    if ((X) == -1) {        \
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 197k]
  |  |  ------------------
  |  |   33|      0|        return ERROR;       \
  |  |  ------------------
  |  |  |  |   29|      0|#define ERROR -1
  |  |  ------------------
  |  |   34|      0|    }
  ------------------
   49|   197k|    seq->s_instrs = array.array;
   50|   197k|    seq->s_allocated = array.allocated_entries;
   51|       |
   52|   197k|    assert(seq->s_allocated >= 0);
   53|       |    assert(seq->s_used < seq->s_allocated);
   54|   197k|    return seq->s_used++;
   55|   197k|}
instruction_sequence.c:inst_seq_create:
  212|  2.43k|{
  213|  2.43k|    _PyInstructionSequence *seq;
  214|  2.43k|    seq = PyObject_GC_New(_PyInstructionSequence, &_PyInstructionSequence_Type);
  ------------------
  |  |  181|  2.43k|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|  2.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  215|  2.43k|    if (seq == NULL) {
  ------------------
  |  Branch (215:9): [True: 0, False: 2.43k]
  ------------------
  216|      0|        return NULL;
  217|      0|    }
  218|  2.43k|    seq->s_instrs = NULL;
  219|  2.43k|    seq->s_allocated = 0;
  220|  2.43k|    seq->s_used = 0;
  221|  2.43k|    seq->s_next_free_label = 0;
  222|  2.43k|    seq->s_labelmap = NULL;
  223|  2.43k|    seq->s_labelmap_size = 0;
  224|  2.43k|    seq->s_nested = NULL;
  225|  2.43k|    seq->s_annotations_code = NULL;
  226|       |
  227|  2.43k|    PyObject_GC_Track(seq);
  228|  2.43k|    return seq;
  229|  2.43k|}
instruction_sequence.c:inst_seq_dealloc:
  426|  2.43k|{
  427|  2.43k|    _PyInstructionSequence *seq = (_PyInstructionSequence *)op;
  428|  2.43k|    PyObject_GC_UnTrack(seq);
  429|  2.43k|    PyInstructionSequence_Fini(seq);
  430|  2.43k|    PyObject_GC_Del(seq);
  431|  2.43k|}

_Py_GetBaseCodeUnit:
  639|   517k|{
  640|   517k|    _Py_CODEUNIT *src_instr = _PyCode_CODE(code) + i;
  ------------------
  |  |   16|   517k|#define _PyCode_CODE(CO) _Py_RVALUE((_Py_CODEUNIT *)(CO)->co_code_adaptive)
  |  |  ------------------
  |  |  |  |  277|   517k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  641|   517k|    _Py_CODEUNIT inst = {
  642|   517k|        .cache = FT_ATOMIC_LOAD_UINT16_RELAXED(*(uint16_t *)src_instr)};
  ------------------
  |  |  157|   517k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  ------------------
  643|   517k|    int opcode = inst.op.code;
  644|   517k|    if (opcode < MIN_INSTRUMENTED_OPCODE) {
  ------------------
  |  |  261|   517k|#define MIN_INSTRUMENTED_OPCODE                233
  ------------------
  |  Branch (644:9): [True: 517k, False: 0]
  ------------------
  645|   517k|        inst.op.code = _PyOpcode_Deopt[opcode];
  646|   517k|        assert(inst.op.code < MIN_SPECIALIZED_OPCODE);
  647|   517k|        return inst;
  648|   517k|    }
  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|  19.9k|{
 1954|  19.9k|    int res;
 1955|  19.9k|    LOCK_CODE(code);
 1956|  19.9k|    res = instrument_lock_held(code, interp);
 1957|  19.9k|    UNLOCK_CODE();
 1958|  19.9k|    return res;
 1959|  19.9k|}
_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|  19.9k|{
 1938|  19.9k|    ASSERT_WORLD_STOPPED_OR_LOCKED(code);
 1939|       |
 1940|  19.9k|    if (is_version_up_to_date(code, interp)) {
  ------------------
  |  Branch (1940:9): [True: 19.9k, False: 0]
  ------------------
 1941|  19.9k|        assert(
 1942|  19.9k|            interp->ceval.instrumentation_version == 0 ||
 1943|  19.9k|            instrumentation_cross_checks(interp, code)
 1944|  19.9k|        );
 1945|  19.9k|        return 0;
 1946|  19.9k|    }
 1947|       |
 1948|      0|    return force_instrument_lock_held(code, interp);
 1949|  19.9k|}
instrumentation.c:is_version_up_to_date:
 1065|  19.9k|{
 1066|  19.9k|    ASSERT_WORLD_STOPPED_OR_LOCKED(code);
 1067|  19.9k|    return global_version(interp) == code->_co_instrumentation_version;
 1068|  19.9k|}
instrumentation.c:global_version:
 1016|  19.9k|{
 1017|  19.9k|    uint32_t version = (uint32_t)_Py_atomic_load_uintptr_relaxed(
 1018|  19.9k|        &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|  19.9k|    return version;
 1027|  19.9k|}
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:
  271|     24|{
  272|     24|    if (index < 0 || index > MAX_INTRINSIC_1) {
  ------------------
  |  |   22|     24|#define MAX_INTRINSIC_1                         11
  ------------------
  |  Branch (272:9): [True: 0, False: 24]
  |  Branch (272:22): [True: 0, False: 24]
  ------------------
  273|      0|        return NULL;
  274|      0|    }
  275|     24|    return PyUnicode_FromString(_PyIntrinsics_UnaryFunctions[index].name);
  276|     24|}
_PyCompile_GetBinaryIntrinsicName:
  280|     12|{
  281|     12|    if (index < 0 || index > MAX_INTRINSIC_2) {
  ------------------
  |  |   33|     12|#define MAX_INTRINSIC_2                          5
  ------------------
  |  Branch (281:9): [True: 0, False: 12]
  |  Branch (281:22): [True: 0, False: 12]
  ------------------
  282|      0|        return NULL;
  283|      0|    }
  284|     12|    return PyUnicode_FromString(_PyIntrinsics_BinaryFunctions[index].name);
  285|     12|}
intrinsics.c:import_star:
  123|     80|{
  124|     80|    _PyInterpreterFrame *frame = tstate->current_frame;
  125|       |
  126|     80|    PyObject *locals = _PyFrame_GetLocals(frame);
  127|     80|    if (locals == NULL) {
  ------------------
  |  Branch (127:9): [True: 0, False: 80]
  ------------------
  128|      0|        _PyErr_SetString(tstate, PyExc_SystemError,
  129|      0|                            "no locals found during 'import *'");
  130|      0|        return NULL;
  131|      0|    }
  132|     80|    int err = import_all_from(tstate, locals, from);
  133|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  134|     80|    if (err < 0) {
  ------------------
  |  Branch (134:9): [True: 0, False: 80]
  ------------------
  135|      0|        return NULL;
  136|      0|    }
  137|     80|    Py_RETURN_NONE;
  ------------------
  |  |  628|     80|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|     80|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  138|     80|}
intrinsics.c:import_all_from:
   39|     80|{
   40|     80|    PyObject *all, *dict, *name, *value;
   41|     80|    int skip_leading_underscores = 0;
   42|     80|    int pos, err;
   43|       |
   44|     80|    if (PyObject_GetOptionalAttr(v, &_Py_ID(__all__), &all) < 0) {
  ------------------
  |  |  915|     80|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     80|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     80|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (44:9): [True: 0, False: 80]
  ------------------
   45|      0|        return -1; /* Unexpected error */
   46|      0|    }
   47|     80|    if (all == NULL) {
  ------------------
  |  Branch (47:9): [True: 36, False: 44]
  ------------------
   48|     36|        if (PyObject_GetOptionalAttr(v, &_Py_ID(__dict__), &dict) < 0) {
  ------------------
  |  |  915|     36|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     36|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     36|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (48:13): [True: 0, False: 36]
  ------------------
   49|      0|            return -1;
   50|      0|        }
   51|     36|        if (dict == NULL) {
  ------------------
  |  Branch (51:13): [True: 0, False: 36]
  ------------------
   52|      0|            _PyErr_SetString(tstate, PyExc_ImportError,
   53|      0|                    "from-import-* object has no __dict__ and no __all__");
   54|      0|            return -1;
   55|      0|        }
   56|     36|        all = PyMapping_Keys(dict);
   57|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   58|     36|        if (all == NULL)
  ------------------
  |  Branch (58:13): [True: 0, False: 36]
  ------------------
   59|      0|            return -1;
   60|     36|        skip_leading_underscores = 1;
   61|     36|    }
   62|       |
   63|  4.33k|    for (pos = 0, err = 0; ; pos++) {
   64|  4.33k|        name = PySequence_GetItem(all, pos);
   65|  4.33k|        if (name == NULL) {
  ------------------
  |  Branch (65:13): [True: 80, False: 4.25k]
  ------------------
   66|     80|            if (!_PyErr_ExceptionMatches(tstate, PyExc_IndexError)) {
  ------------------
  |  Branch (66:17): [True: 0, False: 80]
  ------------------
   67|      0|                err = -1;
   68|      0|            }
   69|     80|            else {
   70|     80|                _PyErr_Clear(tstate);
   71|     80|            }
   72|     80|            break;
   73|     80|        }
   74|  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 (74:13): [True: 0, False: 4.25k]
  ------------------
   75|      0|            PyObject *modname = PyObject_GetAttr(v, &_Py_ID(__name__));
  ------------------
  |  |  915|      0|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      0|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      0|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   76|      0|            if (modname == NULL) {
  ------------------
  |  Branch (76:17): [True: 0, False: 0]
  ------------------
   77|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   78|      0|                err = -1;
   79|      0|                break;
   80|      0|            }
   81|      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 (81:17): [True: 0, False: 0]
  ------------------
   82|      0|                _PyErr_Format(tstate, PyExc_TypeError,
   83|      0|                              "module __name__ must be a string, not %.100s",
   84|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   85|      0|            }
   86|      0|            else {
   87|      0|                _PyErr_Format(tstate, PyExc_TypeError,
   88|      0|                              "%s in %U.%s must be str, not %.100s",
   89|      0|                              skip_leading_underscores ? "Key" : "Item",
  ------------------
  |  Branch (89:31): [True: 0, False: 0]
  ------------------
   90|      0|                              modname,
   91|      0|                              skip_leading_underscores ? "__dict__" : "__all__",
  ------------------
  |  Branch (91:31): [True: 0, False: 0]
  ------------------
   92|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   93|      0|            }
   94|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   95|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   96|      0|            err = -1;
   97|      0|            break;
   98|      0|        }
   99|  4.25k|        if (skip_leading_underscores) {
  ------------------
  |  Branch (99:13): [True: 3.81k, False: 442]
  ------------------
  100|  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 (100:17): [True: 240, False: 3.57k]
  ------------------
  101|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  102|    240|                continue;
  103|    240|            }
  104|  3.81k|        }
  105|  4.01k|        value = PyObject_GetAttr(v, name);
  106|  4.01k|        if (value == NULL)
  ------------------
  |  Branch (106:13): [True: 0, False: 4.01k]
  ------------------
  107|      0|            err = -1;
  108|  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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  109|  4.01k|            err = PyDict_SetItem(locals, name, value);
  110|      0|        else
  111|      0|            err = PyObject_SetItem(locals, name, value);
  112|  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  113|  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  114|  4.01k|        if (err < 0)
  ------------------
  |  Branch (114:13): [True: 0, False: 4.01k]
  ------------------
  115|      0|            break;
  116|  4.01k|    }
  117|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  118|     80|    return err;
  119|     80|}
intrinsics.c:stopiteration_error:
  142|  19.9k|{
  143|  19.9k|    _PyInterpreterFrame *frame = tstate->current_frame;
  144|  19.9k|    assert(frame->owner == FRAME_OWNED_BY_GENERATOR);
  145|  19.9k|    assert(PyExceptionInstance_Check(exc));
  146|  19.9k|    const char *msg = NULL;
  147|  19.9k|    if (PyErr_GivenExceptionMatches(exc, PyExc_StopIteration)) {
  ------------------
  |  Branch (147:9): [True: 0, False: 19.9k]
  ------------------
  148|      0|        msg = "generator raised StopIteration";
  149|      0|        if (_PyFrame_GetCode(frame)->co_flags & CO_ASYNC_GENERATOR) {
  ------------------
  |  |  129|      0|#define CO_ASYNC_GENERATOR      0x0200
  ------------------
  |  Branch (149:13): [True: 0, False: 0]
  ------------------
  150|      0|            msg = "async generator raised StopIteration";
  151|      0|        }
  152|      0|        else if (_PyFrame_GetCode(frame)->co_flags & CO_COROUTINE) {
  ------------------
  |  |  127|      0|#define CO_COROUTINE            0x0080
  ------------------
  |  Branch (152:18): [True: 0, False: 0]
  ------------------
  153|      0|            msg = "coroutine raised StopIteration";
  154|      0|        }
  155|      0|    }
  156|  19.9k|    else if ((_PyFrame_GetCode(frame)->co_flags & CO_ASYNC_GENERATOR) &&
  ------------------
  |  |  129|  19.9k|#define CO_ASYNC_GENERATOR      0x0200
  ------------------
  |  Branch (156:14): [True: 0, False: 19.9k]
  ------------------
  157|      0|            PyErr_GivenExceptionMatches(exc, PyExc_StopAsyncIteration))
  ------------------
  |  Branch (157:13): [True: 0, False: 0]
  ------------------
  158|      0|    {
  159|       |        /* code in `gen` raised a StopAsyncIteration error:
  160|       |        raise a RuntimeError.
  161|       |        */
  162|      0|        msg = "async generator raised StopAsyncIteration";
  163|      0|    }
  164|  19.9k|    if (msg != NULL) {
  ------------------
  |  Branch (164:9): [True: 0, False: 19.9k]
  ------------------
  165|      0|        PyObject *message = _PyUnicode_FromASCII(msg, strlen(msg));
  166|      0|        if (message == NULL) {
  ------------------
  |  Branch (166:13): [True: 0, False: 0]
  ------------------
  167|      0|            return NULL;
  168|      0|        }
  169|      0|        PyObject *error = PyObject_CallOneArg(PyExc_RuntimeError, message);
  170|      0|        if (error == NULL) {
  ------------------
  |  Branch (170:13): [True: 0, False: 0]
  ------------------
  171|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  172|      0|            return NULL;
  173|      0|        }
  174|      0|        assert(PyExceptionInstance_Check(error));
  175|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  176|       |        // Steal exc reference, rather than Py_NewRef+Py_DECREF
  177|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  178|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  179|      0|        return error;
  180|      0|    }
  181|  19.9k|    return Py_NewRef(exc);
  ------------------
  |  |  550|  19.9k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  19.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  19.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  182|  19.9k|}
intrinsics.c:list_to_tuple:
  192|  4.19M|{
  193|  4.19M|    assert(PyList_Check(v));
  194|  4.19M|    return PyTuple_FromArray(((PyListObject *)v)->ob_item, Py_SIZE(v));
  ------------------
  |  |  214|  4.19M|#  define Py_SIZE(ob) _Py_SIZE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.19M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.19M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  195|  4.19M|}
intrinsics.c:make_typevar:
  199|      8|{
  200|      8|    assert(PyUnicode_Check(v));
  201|      8|    return _Py_make_typevar(v, NULL, NULL);
  202|      8|}
intrinsics.c:make_typevar_with_bound:
  244|      2|{
  245|      2|    assert(PyUnicode_Check(name));
  246|       |    return _Py_make_typevar(name, evaluate_bound, NULL);
  247|      2|}

_PyMutex_LockTimed:
   57|   104k|{
   58|   104k|    uint8_t v = _Py_atomic_load_uint8_relaxed(&m->_bits);
   59|   104k|    if ((v & _Py_LOCKED) == 0) {
  ------------------
  |  |   10|   104k|#define _Py_LOCKED      1
  ------------------
  |  Branch (59:9): [True: 104k, False: 2]
  ------------------
   60|   104k|        if (_Py_atomic_compare_exchange_uint8(&m->_bits, &v, v|_Py_LOCKED)) {
  ------------------
  |  |   10|   104k|#define _Py_LOCKED      1
  ------------------
  |  Branch (60:13): [True: 104k, False: 0]
  ------------------
   61|   104k|            return PY_LOCK_ACQUIRED;
   62|   104k|        }
   63|   104k|    }
   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|    326|{
  201|    326|    uint8_t v = _Py_atomic_load_uint8(&m->_bits);
  202|    326|    for (;;) {
  203|    326|        if ((v & _Py_LOCKED) == 0) {
  ------------------
  |  |   10|    326|#define _Py_LOCKED      1
  ------------------
  |  Branch (203:13): [True: 0, False: 326]
  ------------------
  204|       |            // error: the mutex is not locked
  205|      0|            return -1;
  206|      0|        }
  207|    326|        else if ((v & _Py_HAS_PARKED)) {
  ------------------
  |  |   17|    326|#define _Py_HAS_PARKED  2
  ------------------
  |  Branch (207:18): [True: 0, False: 326]
  ------------------
  208|       |            // wake up a single thread
  209|      0|            _PyParkingLot_Unpark(&m->_bits, mutex_unpark, m);
  210|      0|            return 0;
  211|      0|        }
  212|    326|        else if (_Py_atomic_compare_exchange_uint8(&m->_bits, &v, _Py_UNLOCKED)) {
  ------------------
  |  |    9|    326|#define _Py_UNLOCKED    0
  ------------------
  |  Branch (212:18): [True: 326, False: 0]
  ------------------
  213|       |            // fast-path: no waiters
  214|    326|            return 0;
  215|    326|        }
  216|    326|    }
  217|    326|}
_PyOnceFlag_CallOnceSlow:
  372|     67|{
  373|     67|    uint8_t v = _Py_atomic_load_uint8(&flag->v);
  374|     67|    for (;;) {
  375|     67|        if (v == _Py_UNLOCKED) {
  ------------------
  |  |    9|     67|#define _Py_UNLOCKED    0
  ------------------
  |  Branch (375:13): [True: 67, False: 0]
  ------------------
  376|     67|            if (!_Py_atomic_compare_exchange_uint8(&flag->v, &v, _Py_LOCKED)) {
  ------------------
  |  |   10|     67|#define _Py_LOCKED      1
  ------------------
  |  Branch (376:17): [True: 0, False: 67]
  ------------------
  377|      0|                continue;
  378|      0|            }
  379|     67|            int res = fn(arg);
  380|     67|            return unlock_once(flag, res);
  381|     67|        }
  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|     67|}
_PyRecursiveMutex_IsLockedByCurrentThread:
  412|  38.4k|{
  413|  38.4k|    return recursive_mutex_is_owned_by(m, PyThread_get_thread_ident_ex());
  414|  38.4k|}
_PyRecursiveMutex_Lock:
  418|  67.3k|{
  419|  67.3k|    PyThread_ident_t thread = PyThread_get_thread_ident_ex();
  420|  67.3k|    if (recursive_mutex_is_owned_by(m, thread)) {
  ------------------
  |  Branch (420:9): [True: 0, False: 67.3k]
  ------------------
  421|      0|        m->level++;
  422|      0|        return;
  423|      0|    }
  424|  67.3k|    PyMutex_Lock(&m->mutex);
  ------------------
  |  |   59|  67.3k|#define PyMutex_Lock _PyMutex_Lock
  ------------------
  425|  67.3k|    _Py_atomic_store_ullong_relaxed(&m->thread, thread);
  426|       |    assert(m->level == 0);
  427|  67.3k|}
_PyRecursiveMutex_LockTimed:
  431|  83.6k|{
  432|  83.6k|    PyThread_ident_t thread = PyThread_get_thread_ident_ex();
  433|  83.6k|    if (recursive_mutex_is_owned_by(m, thread)) {
  ------------------
  |  Branch (433:9): [True: 4, False: 83.5k]
  ------------------
  434|      4|        m->level++;
  435|      4|        return PY_LOCK_ACQUIRED;
  436|      4|    }
  437|  83.5k|    PyLockStatus s = _PyMutex_LockTimed(&m->mutex, timeout, flags);
  438|  83.5k|    if (s == PY_LOCK_ACQUIRED) {
  ------------------
  |  Branch (438:9): [True: 83.5k, False: 0]
  ------------------
  439|  83.5k|        _Py_atomic_store_ullong_relaxed(&m->thread, thread);
  440|       |        assert(m->level == 0);
  441|  83.5k|    }
  442|  83.5k|    return s;
  443|  83.6k|}
_PyRecursiveMutex_Unlock:
  447|  38.4k|{
  448|  38.4k|    if (_PyRecursiveMutex_TryUnlock(m) < 0) {
  ------------------
  |  Branch (448:9): [True: 0, False: 38.4k]
  ------------------
  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|  38.4k|}
_PyRecursiveMutex_TryUnlock:
  456|   150k|{
  457|   150k|    PyThread_ident_t thread = PyThread_get_thread_ident_ex();
  458|   150k|    if (!recursive_mutex_is_owned_by(m, thread)) {
  ------------------
  |  Branch (458:9): [True: 0, False: 150k]
  ------------------
  459|      0|        return -1;
  460|      0|    }
  461|   150k|    if (m->level > 0) {
  ------------------
  |  Branch (461:9): [True: 4, False: 150k]
  ------------------
  462|      4|        m->level--;
  463|      4|        return 0;
  464|      4|    }
  465|   150k|    assert(m->level == 0);
  466|   150k|    _Py_atomic_store_ullong_relaxed(&m->thread, 0);
  467|   150k|    PyMutex_Unlock(&m->mutex);
  ------------------
  |  |   70|   150k|#define PyMutex_Unlock _PyMutex_Unlock
  ------------------
  468|   150k|    return 0;
  469|   150k|}
lock.c:unlock_once:
  348|     67|{
  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|     67|    uint8_t new_value;
  352|     67|    switch (res) {
  353|      0|        case -1: new_value = _Py_UNLOCKED; break;
  ------------------
  |  |    9|      0|#define _Py_UNLOCKED    0
  ------------------
  |  Branch (353:9): [True: 0, False: 67]
  ------------------
  354|     67|        case  0: new_value = _Py_ONCE_INITIALIZED; break;
  ------------------
  |  |   18|     67|#define _Py_ONCE_INITIALIZED 4
  ------------------
  |  Branch (354:9): [True: 67, False: 0]
  ------------------
  355|      0|        default: {
  ------------------
  |  Branch (355:9): [True: 0, False: 67]
  ------------------
  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|     67|    }
  361|       |
  362|     67|    uint8_t old_value = _Py_atomic_exchange_uint8(&o->v, new_value);
  363|     67|    if ((old_value & _Py_HAS_PARKED) != 0) {
  ------------------
  |  |   17|     67|#define _Py_HAS_PARKED  2
  ------------------
  |  Branch (363:9): [True: 0, False: 67]
  ------------------
  364|       |        // wake up anyone waiting on the once flag
  365|      0|        _PyParkingLot_UnparkAll(&o->v);
  366|      0|    }
  367|     67|    return res;
  368|     67|}
lock.c:recursive_mutex_is_owned_by:
  406|   340k|{
  407|   340k|    return _Py_atomic_load_ullong_relaxed(&m->thread) == tid;
  408|   340k|}

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:
 2192|      2|{
 2193|      2|    return PyModuleDef_Init(&marshalmodule);
 2194|      2|}
marshal.c:w_long:
  205|  35.0k|{
  206|  35.0k|    w_byte((char)( x      & 0xff), p);
  ------------------
  |  |  123|  35.0k|#define w_byte(c, p) do {                               \
  |  |  124|  35.0k|        if ((p)->ptr != (p)->end || w_reserve((p), 1))  \
  |  |  ------------------
  |  |  |  Branch (124:13): [True: 35.0k, False: 4]
  |  |  |  Branch (124:37): [True: 4, False: 0]
  |  |  ------------------
  |  |  125|  35.0k|            *(p)->ptr++ = (c);                          \
  |  |  126|  35.0k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (126:13): [Folded, False: 35.0k]
  |  |  ------------------
  ------------------
  207|  35.0k|    w_byte((char)((x>> 8) & 0xff), p);
  ------------------
  |  |  123|  35.0k|#define w_byte(c, p) do {                               \
  |  |  124|  35.0k|        if ((p)->ptr != (p)->end || w_reserve((p), 1))  \
  |  |  ------------------
  |  |  |  Branch (124:13): [True: 35.0k, False: 4]
  |  |  |  Branch (124:37): [True: 4, False: 0]
  |  |  ------------------
  |  |  125|  35.0k|            *(p)->ptr++ = (c);                          \
  |  |  126|  35.0k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (126:13): [Folded, False: 35.0k]
  |  |  ------------------
  ------------------
  208|  35.0k|    w_byte((char)((x>>16) & 0xff), p);
  ------------------
  |  |  123|  35.0k|#define w_byte(c, p) do {                               \
  |  |  124|  35.0k|        if ((p)->ptr != (p)->end || w_reserve((p), 1))  \
  |  |  ------------------
  |  |  |  Branch (124:13): [True: 35.0k, False: 5]
  |  |  |  Branch (124:37): [True: 5, False: 0]
  |  |  ------------------
  |  |  125|  35.0k|            *(p)->ptr++ = (c);                          \
  |  |  126|  35.0k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (126:13): [Folded, False: 35.0k]
  |  |  ------------------
  ------------------
  209|  35.0k|    w_byte((char)((x>>24) & 0xff), p);
  ------------------
  |  |  123|  35.0k|#define w_byte(c, p) do {                               \
  |  |  124|  35.0k|        if ((p)->ptr != (p)->end || w_reserve((p), 1))  \
  |  |  ------------------
  |  |  |  Branch (124:13): [True: 35.0k, False: 6]
  |  |  |  Branch (124:37): [True: 6, False: 0]
  |  |  ------------------
  |  |  125|  35.0k|            *(p)->ptr++ = (c);                          \
  |  |  126|  35.0k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (126:13): [Folded, False: 35.0k]
  |  |  ------------------
  ------------------
  210|  35.0k|}
marshal.c:w_reserve:
  138|    188|{
  139|    188|    Py_ssize_t pos, size, delta;
  140|    188|    if (p->ptr == NULL)
  ------------------
  |  Branch (140:9): [True: 0, False: 188]
  ------------------
  141|      0|        return 0; /* An error already occurred */
  142|    188|    if (p->fp != NULL) {
  ------------------
  |  Branch (142:9): [True: 0, False: 188]
  ------------------
  143|      0|        w_flush(p);
  144|      0|        return needed <= p->end - p->ptr;
  145|      0|    }
  146|    188|    assert(p->str != NULL);
  147|    188|    pos = p->ptr - p->buf;
  148|    188|    size = PyBytes_GET_SIZE(p->str);
  ------------------
  |  |   33|    188|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|    188|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    188|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  149|    188|    if (size > 16*1024*1024)
  ------------------
  |  Branch (149:9): [True: 0, False: 188]
  ------------------
  150|      0|        delta = (size >> 3);            /* 12.5% overallocation */
  151|    188|    else
  152|    188|        delta = size + 1024;
  153|    188|    delta = Py_MAX(delta, needed);
  ------------------
  |  |  115|    188|#define Py_MAX(x, y) (((x) > (y)) ? (x) : (y))
  |  |  ------------------
  |  |  |  Branch (115:23): [True: 187, False: 1]
  |  |  ------------------
  ------------------
  154|    188|    if (delta > PY_SSIZE_T_MAX - size) {
  ------------------
  |  |  137|    188|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (154:9): [True: 0, False: 188]
  ------------------
  155|      0|        p->error = WFERR_NOMEMORY;
  ------------------
  |  |  107|      0|#define WFERR_NOMEMORY 3
  ------------------
  156|      0|        return 0;
  157|      0|    }
  158|    188|    size += delta;
  159|    188|    if (_PyBytes_Resize(&p->str, size) != 0) {
  ------------------
  |  Branch (159:9): [True: 0, False: 188]
  ------------------
  160|      0|        p->end = p->ptr = p->buf = NULL;
  161|      0|        return 0;
  162|      0|    }
  163|    188|    else {
  164|    188|        p->buf = PyBytes_AS_STRING(p->str);
  ------------------
  |  |   27|    188|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    188|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    188|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  165|    188|        p->ptr = p->buf + pos;
  166|    188|        p->end = p->buf + size;
  167|    188|        return 1;
  168|    188|    }
  169|    188|}
marshal.c:w_init_refs:
  761|     93|{
  762|     93|    if (version >= 3) {
  ------------------
  |  Branch (762:9): [True: 93, False: 0]
  ------------------
  763|     93|        wf->hashtable = _Py_hashtable_new_full(_Py_hashtable_hash_ptr,
  764|     93|                                               _Py_hashtable_compare_direct,
  765|     93|                                               w_decref_entry, NULL, NULL);
  766|     93|        if (wf->hashtable == NULL) {
  ------------------
  |  Branch (766:13): [True: 0, False: 93]
  ------------------
  767|      0|            PyErr_NoMemory();
  768|      0|            return -1;
  769|      0|        }
  770|     93|    }
  771|     93|    return 0;
  772|     93|}
marshal.c:w_decref_entry:
  754|  10.5k|{
  755|  10.5k|    PyObject *entry_key = (PyObject *)key;
  756|  10.5k|    Py_XDECREF(entry_key);
  ------------------
  |  |  524|  10.5k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  10.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  757|  10.5k|}
marshal.c:w_object:
  462|  40.4k|{
  463|  40.4k|    char flag = '\0';
  464|       |
  465|  40.4k|    if (p->error != WFERR_OK) {
  ------------------
  |  |  104|  40.4k|#define WFERR_OK 0
  ------------------
  |  Branch (465:9): [True: 0, False: 40.4k]
  ------------------
  466|      0|        return;
  467|      0|    }
  468|       |
  469|  40.4k|    p->depth++;
  470|       |
  471|  40.4k|    if (p->depth > MAX_MARSHAL_STACK_DEPTH) {
  ------------------
  |  |   54|  40.4k|#  define MAX_MARSHAL_STACK_DEPTH 2000
  ------------------
  |  Branch (471:9): [True: 0, False: 40.4k]
  ------------------
  472|      0|        p->error = WFERR_NESTEDTOODEEP;
  ------------------
  |  |  106|      0|#define WFERR_NESTEDTOODEEP 2
  ------------------
  473|      0|    }
  474|  40.4k|    else if (v == NULL) {
  ------------------
  |  Branch (474:14): [True: 0, False: 40.4k]
  ------------------
  475|      0|        w_byte(TYPE_NULL, p);
  ------------------
  |  |  123|      0|#define w_byte(c, p) do {                               \
  |  |  124|      0|        if ((p)->ptr != (p)->end || w_reserve((p), 1))  \
  |  |  ------------------
  |  |  |  Branch (124:13): [True: 0, False: 0]
  |  |  |  Branch (124:37): [True: 0, False: 0]
  |  |  ------------------
  |  |  125|      0|            *(p)->ptr++ = (c);                          \
  |  |  126|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (126:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  476|      0|    }
  477|  40.4k|    else if (v == Py_None) {
  ------------------
  |  |  616|  40.4k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (477:14): [True: 254, False: 40.1k]
  ------------------
  478|    254|        w_byte(TYPE_NONE, p);
  ------------------
  |  |  123|    254|#define w_byte(c, p) do {                               \
  |  |  124|    254|        if ((p)->ptr != (p)->end || w_reserve((p), 1))  \
  |  |  ------------------
  |  |  |  Branch (124:13): [True: 254, False: 0]
  |  |  |  Branch (124:37): [True: 0, False: 0]
  |  |  ------------------
  |  |  125|    254|            *(p)->ptr++ = (c);                          \
  |  |  126|    254|    } while(0)
  |  |  ------------------
  |  |  |  Branch (126:13): [Folded, False: 254]
  |  |  ------------------
  ------------------
  479|    254|    }
  480|  40.1k|    else if (v == PyExc_StopIteration) {
  ------------------
  |  Branch (480:14): [True: 0, False: 40.1k]
  ------------------
  481|      0|        w_byte(TYPE_STOPITER, p);
  ------------------
  |  |  123|      0|#define w_byte(c, p) do {                               \
  |  |  124|      0|        if ((p)->ptr != (p)->end || w_reserve((p), 1))  \
  |  |  ------------------
  |  |  |  Branch (124:13): [True: 0, False: 0]
  |  |  |  Branch (124:37): [True: 0, False: 0]
  |  |  ------------------
  |  |  125|      0|            *(p)->ptr++ = (c);                          \
  |  |  126|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (126:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  482|      0|    }
  483|  40.1k|    else if (v == Py_Ellipsis) {
  ------------------
  |  |   14|  40.1k|#  define Py_Ellipsis (&_Py_EllipsisObject)
  ------------------
  |  Branch (483:14): [True: 2, False: 40.1k]
  ------------------
  484|      2|        w_byte(TYPE_ELLIPSIS, p);
  ------------------
  |  |  123|      2|#define w_byte(c, p) do {                               \
  |  |  124|      2|        if ((p)->ptr != (p)->end || w_reserve((p), 1))  \
  |  |  ------------------
  |  |  |  Branch (124:13): [True: 2, False: 0]
  |  |  |  Branch (124:37): [True: 0, False: 0]
  |  |  ------------------
  |  |  125|      2|            *(p)->ptr++ = (c);                          \
  |  |  126|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (126:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  485|      2|    }
  486|  40.1k|    else if (v == Py_False) {
  ------------------
  |  |   25|  40.1k|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|  40.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  40.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (486:14): [True: 55, False: 40.1k]
  ------------------
  487|     55|        w_byte(TYPE_FALSE, p);
  ------------------
  |  |  123|     55|#define w_byte(c, p) do {                               \
  |  |  124|     55|        if ((p)->ptr != (p)->end || w_reserve((p), 1))  \
  |  |  ------------------
  |  |  |  Branch (124:13): [True: 55, False: 0]
  |  |  |  Branch (124:37): [True: 0, False: 0]
  |  |  ------------------
  |  |  125|     55|            *(p)->ptr++ = (c);                          \
  |  |  126|     55|    } while(0)
  |  |  ------------------
  |  |  |  Branch (126:13): [Folded, False: 55]
  |  |  ------------------
  ------------------
  488|     55|    }
  489|  40.1k|    else if (v == Py_True) {
  ------------------
  |  |   26|  40.1k|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|  40.1k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  40.1k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (489:14): [True: 37, False: 40.0k]
  ------------------
  490|     37|        w_byte(TYPE_TRUE, p);
  ------------------
  |  |  123|     37|#define w_byte(c, p) do {                               \
  |  |  124|     37|        if ((p)->ptr != (p)->end || w_reserve((p), 1))  \
  |  |  ------------------
  |  |  |  Branch (124:13): [True: 37, False: 0]
  |  |  |  Branch (124:37): [True: 0, False: 0]
  |  |  ------------------
  |  |  125|     37|            *(p)->ptr++ = (c);                          \
  |  |  126|     37|    } while(0)
  |  |  ------------------
  |  |  |  Branch (126:13): [Folded, False: 37]
  |  |  ------------------
  ------------------
  491|     37|    }
  492|  40.0k|    else if (!w_ref(v, &flag, p))
  ------------------
  |  Branch (492:14): [True: 20.8k, False: 19.2k]
  ------------------
  493|  20.8k|        w_complex_object(v, flag, p);
  494|       |
  495|  40.4k|    p->depth--;
  496|  40.4k|}
marshal.c:w_ref:
  383|  40.0k|{
  384|  40.0k|    _Py_hashtable_entry_t *entry;
  385|       |
  386|  40.0k|    if (p->version < 3 || p->hashtable == NULL)
  ------------------
  |  Branch (386:9): [True: 0, False: 40.0k]
  |  Branch (386:27): [True: 0, False: 40.0k]
  ------------------
  387|      0|        return 0; /* not writing object references */
  388|       |
  389|       |    /* If it has only one reference, it definitely isn't shared.
  390|       |     * But we use TYPE_REF always for interned string, to PYC file stable
  391|       |     * as possible.
  392|       |     */
  393|  40.0k|    if (_PyObject_IsUniquelyReferenced(v) &&
  ------------------
  |  Branch (393:9): [True: 11.5k, False: 28.5k]
  ------------------
  394|  11.5k|            !(PyUnicode_CheckExact(v) && PyUnicode_CHECK_INTERNED(v))) {
  ------------------
  |  |  104|  11.5k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  23.0k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  11.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  11.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 2.62k, False: 8.90k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          !(PyUnicode_CheckExact(v) && PyUnicode_CHECK_INTERNED(v))) {
  ------------------
  |  |  214|  2.62k|#define PyUnicode_CHECK_INTERNED(op) PyUnicode_CHECK_INTERNED(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.62k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.62k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (214:38): [True: 1.25k, False: 1.36k]
  |  |  ------------------
  ------------------
  395|  10.2k|        return 0;
  396|  10.2k|    }
  397|       |
  398|  29.8k|    entry = _Py_hashtable_get_entry(p->hashtable, v);
  399|  29.8k|    if (entry != NULL) {
  ------------------
  |  Branch (399:9): [True: 19.2k, False: 10.5k]
  ------------------
  400|       |        /* write the reference index to the stream */
  401|  19.2k|        uintptr_t w = (uintptr_t)entry->value;
  402|  19.2k|        if (w & 0x80000000LU) {
  ------------------
  |  Branch (402:13): [True: 0, False: 19.2k]
  ------------------
  403|      0|            PyErr_Format(PyExc_ValueError, "cannot marshal recursion %T objects", v);
  404|      0|            goto err;
  405|      0|        }
  406|       |        /* we don't store "long" indices in the dict */
  407|  19.2k|        assert(w <= 0x7fffffff);
  408|  19.2k|        w_byte(TYPE_REF, p);
  ------------------
  |  |  123|  19.2k|#define w_byte(c, p) do {                               \
  |  |  124|  19.2k|        if ((p)->ptr != (p)->end || w_reserve((p), 1))  \
  |  |  ------------------
  |  |  |  Branch (124:13): [True: 19.2k, False: 7]
  |  |  |  Branch (124:37): [True: 7, False: 0]
  |  |  ------------------
  |  |  125|  19.2k|            *(p)->ptr++ = (c);                          \
  |  |  126|  19.2k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (126:13): [Folded, False: 19.2k]
  |  |  ------------------
  ------------------
  409|  19.2k|        w_long((int)w, p);
  410|  19.2k|        return 1;
  411|  19.2k|    } else {
  412|  10.5k|        size_t w = p->hashtable->nentries;
  413|       |        /* we don't support long indices */
  414|  10.5k|        if (w >= 0x7fffffff) {
  ------------------
  |  Branch (414:13): [True: 0, False: 10.5k]
  ------------------
  415|      0|            PyErr_SetString(PyExc_ValueError, "too many objects");
  416|      0|            goto err;
  417|      0|        }
  418|       |        // Corresponding code should call w_complete() after
  419|       |        // writing the object.
  420|  10.5k|        if (PyCode_Check(v) || PySlice_Check(v) || PyFrozenDict_CheckExact(v)) {
  ------------------
  |  |  164|  10.5k|#define PyCode_Check(op) Py_IS_TYPE((op), &PyCode_Type)
  |  |  ------------------
  |  |  |  |  215|  21.0k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  10.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  10.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 45, False: 10.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (PyCode_Check(v) || PySlice_Check(v) || PyFrozenDict_CheckExact(v)) {
  ------------------
  |  |   22|  10.4k|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  ------------------
  |  |  |  |  215|  21.0k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  10.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  10.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 3, False: 10.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (PyCode_Check(v) || PySlice_Check(v) || PyFrozenDict_CheckExact(v)) {
  ------------------
  |  |   38|  10.4k|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_Type)
  |  |  ------------------
  |  |  |  |  215|  10.4k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  10.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  10.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 10.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  421|     48|            w |= 0x80000000LU;
  422|     48|        }
  423|  10.5k|        if (_Py_hashtable_set(p->hashtable, Py_NewRef(v),
  ------------------
  |  |  550|  10.5k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  10.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  10.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (423:13): [True: 0, False: 10.5k]
  ------------------
  424|  10.5k|                              (void *)(uintptr_t)w) < 0) {
  425|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  426|      0|            goto err;
  427|      0|        }
  428|  10.5k|        *flag |= FLAG_REF;
  ------------------
  |  |  100|  10.5k|#define FLAG_REF                '\x80' /* with a type, add obj to index */
  ------------------
  429|  10.5k|        return 0;
  430|  10.5k|    }
  431|      0|err:
  432|      0|    p->error = WFERR_UNMARSHALLABLE;
  ------------------
  |  |  105|      0|#define WFERR_UNMARSHALLABLE 1
  ------------------
  433|      0|    return 1;
  434|  29.8k|}
marshal.c:w_complex_object:
  500|  20.8k|{
  501|  20.8k|    Py_ssize_t i, n;
  502|       |
  503|  20.8k|    if (PyLong_CheckExact(v)) {
  ------------------
  |  |   14|  20.8k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  20.8k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  20.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  20.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 154, False: 20.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  504|    154|        int overflow;
  505|    154|        long x = PyLong_AsLongAndOverflow(v, &overflow);
  506|    154|        if (overflow) {
  ------------------
  |  Branch (506:13): [True: 0, False: 154]
  ------------------
  507|      0|            w_PyLong((PyLongObject *)v, flag, p);
  508|      0|        }
  509|    154|        else {
  510|    154|#if SIZEOF_LONG > 4
  511|    154|            long y = Py_ARITHMETIC_RIGHT_SHIFT(long, x, 31);
  ------------------
  |  |  226|    154|#define Py_ARITHMETIC_RIGHT_SHIFT(TYPE, I, J) ((I) >> (J))
  ------------------
  512|    154|            if (y && y != -1) {
  ------------------
  |  Branch (512:17): [True: 3, False: 151]
  |  Branch (512:22): [True: 0, False: 3]
  ------------------
  513|       |                /* Too large for TYPE_INT */
  514|      0|                w_PyLong((PyLongObject*)v, flag, p);
  515|      0|            }
  516|    154|            else
  517|    154|#endif
  518|    154|            {
  519|    154|                W_TYPE(TYPE_INT, p);
  ------------------
  |  |  249|    154|#define W_TYPE(t, p) do { \
  |  |  250|    154|    w_byte((t) | flag, (p)); \
  |  |  ------------------
  |  |  |  |  123|    154|#define w_byte(c, p) do {                               \
  |  |  |  |  124|    154|        if ((p)->ptr != (p)->end || w_reserve((p), 1))  \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (124:13): [True: 154, False: 0]
  |  |  |  |  |  Branch (124:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  125|    154|            *(p)->ptr++ = (c);                          \
  |  |  |  |  126|    154|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (126:13): [Folded, False: 154]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  251|    154|} while(0)
  |  |  ------------------
  |  |  |  Branch (251:9): [Folded, False: 154]
  |  |  ------------------
  ------------------
  520|    154|                w_long(x, p);
  521|    154|            }
  522|    154|        }
  523|    154|    }
  524|  20.6k|    else if (PyFloat_CheckExact(v)) {
  ------------------
  |  |   17|  20.6k|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  215|  20.6k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  20.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  20.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 13, False: 20.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  525|     13|        if (p->version > 1) {
  ------------------
  |  Branch (525:13): [True: 13, False: 0]
  ------------------
  526|     13|            W_TYPE(TYPE_BINARY_FLOAT, p);
  ------------------
  |  |  249|     13|#define W_TYPE(t, p) do { \
  |  |  250|     13|    w_byte((t) | flag, (p)); \
  |  |  ------------------
  |  |  |  |  123|     13|#define w_byte(c, p) do {                               \
  |  |  |  |  124|     13|        if ((p)->ptr != (p)->end || w_reserve((p), 1))  \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (124:13): [True: 13, False: 0]
  |  |  |  |  |  Branch (124:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  125|     13|            *(p)->ptr++ = (c);                          \
  |  |  |  |  126|     13|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (126:13): [Folded, False: 13]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  251|     13|} while(0)
  |  |  ------------------
  |  |  |  Branch (251:9): [Folded, False: 13]
  |  |  ------------------
  ------------------
  527|     13|            w_float_bin(PyFloat_AS_DOUBLE(v), p);
  ------------------
  |  |   18|     13|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     13|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     13|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  528|     13|        }
  529|      0|        else {
  530|      0|            W_TYPE(TYPE_FLOAT, p);
  ------------------
  |  |  249|      0|#define W_TYPE(t, p) do { \
  |  |  250|      0|    w_byte((t) | flag, (p)); \
  |  |  ------------------
  |  |  |  |  123|      0|#define w_byte(c, p) do {                               \
  |  |  |  |  124|      0|        if ((p)->ptr != (p)->end || w_reserve((p), 1))  \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (124:13): [True: 0, False: 0]
  |  |  |  |  |  Branch (124:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  125|      0|            *(p)->ptr++ = (c);                          \
  |  |  |  |  126|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (126:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  251|      0|} while(0)
  |  |  ------------------
  |  |  |  Branch (251:9): [Folded, False: 0]
  |  |  ------------------
  ------------------
  531|      0|            w_float_str(PyFloat_AS_DOUBLE(v), p);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  532|      0|        }
  533|     13|    }
  534|  20.6k|    else if (PyComplex_CheckExact(v)) {
  ------------------
  |  |   14|  20.6k|#define PyComplex_CheckExact(op) Py_IS_TYPE((op), &PyComplex_Type)
  |  |  ------------------
  |  |  |  |  215|  20.6k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  20.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  20.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1, False: 20.6k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  535|      1|        if (p->version > 1) {
  ------------------
  |  Branch (535:13): [True: 1, False: 0]
  ------------------
  536|      1|            W_TYPE(TYPE_BINARY_COMPLEX, p);
  ------------------
  |  |  249|      1|#define W_TYPE(t, p) do { \
  |  |  250|      1|    w_byte((t) | flag, (p)); \
  |  |  ------------------
  |  |  |  |  123|      1|#define w_byte(c, p) do {                               \
  |  |  |  |  124|      1|        if ((p)->ptr != (p)->end || w_reserve((p), 1))  \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (124:13): [True: 1, False: 0]
  |  |  |  |  |  Branch (124:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  125|      1|            *(p)->ptr++ = (c);                          \
  |  |  |  |  126|      1|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (126:13): [Folded, False: 1]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  251|      1|} while(0)
  |  |  ------------------
  |  |  |  Branch (251:9): [Folded, False: 1]
  |  |  ------------------
  ------------------
  537|      1|            w_float_bin(PyComplex_RealAsDouble(v), p);
  538|      1|            w_float_bin(PyComplex_ImagAsDouble(v), p);
  539|      1|        }
  540|      0|        else {
  541|      0|            W_TYPE(TYPE_COMPLEX, p);
  ------------------
  |  |  249|      0|#define W_TYPE(t, p) do { \
  |  |  250|      0|    w_byte((t) | flag, (p)); \
  |  |  ------------------
  |  |  |  |  123|      0|#define w_byte(c, p) do {                               \
  |  |  |  |  124|      0|        if ((p)->ptr != (p)->end || w_reserve((p), 1))  \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (124:13): [True: 0, False: 0]
  |  |  |  |  |  Branch (124:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  125|      0|            *(p)->ptr++ = (c);                          \
  |  |  |  |  126|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (126:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  251|      0|} while(0)
  |  |  ------------------
  |  |  |  Branch (251:9): [Folded, False: 0]
  |  |  ------------------
  ------------------
  542|      0|            w_float_str(PyComplex_RealAsDouble(v), p);
  543|      0|            w_float_str(PyComplex_ImagAsDouble(v), p);
  544|      0|        }
  545|      1|    }
  546|  20.6k|    else if (PyBytes_CheckExact(v)) {
  ------------------
  |  |   29|  20.6k|#define PyBytes_CheckExact(op) Py_IS_TYPE((op), &PyBytes_Type)
  |  |  ------------------
  |  |  |  |  215|  20.6k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  20.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  20.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 5.26k, False: 15.3k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  547|  5.26k|        W_TYPE(TYPE_STRING, p);
  ------------------
  |  |  249|  5.26k|#define W_TYPE(t, p) do { \
  |  |  250|  5.26k|    w_byte((t) | flag, (p)); \
  |  |  ------------------
  |  |  |  |  123|  5.26k|#define w_byte(c, p) do {                               \
  |  |  |  |  124|  5.26k|        if ((p)->ptr != (p)->end || w_reserve((p), 1))  \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (124:13): [True: 5.26k, False: 0]
  |  |  |  |  |  Branch (124:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  125|  5.26k|            *(p)->ptr++ = (c);                          \
  |  |  |  |  126|  5.26k|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (126:13): [Folded, False: 5.26k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  251|  5.26k|} while(0)
  |  |  ------------------
  |  |  |  Branch (251:9): [Folded, False: 5.26k]
  |  |  ------------------
  ------------------
  548|  5.26k|        w_pstring(PyBytes_AS_STRING(v), PyBytes_GET_SIZE(v), p);
  ------------------
  |  |   27|  5.26k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.26k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      w_pstring(PyBytes_AS_STRING(v), PyBytes_GET_SIZE(v), p);
  ------------------
  |  |   33|  5.26k|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|  5.26k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.26k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  549|  5.26k|    }
  550|  15.3k|    else if (PyUnicode_CheckExact(v)) {
  ------------------
  |  |  104|  15.3k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  15.3k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  15.3k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  15.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 9.49k, False: 5.87k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  551|  9.49k|        if (p->version >= 4 && PyUnicode_IS_ASCII(v)) {
  ------------------
  |  |  227|  9.49k|#define PyUnicode_IS_ASCII(op) PyUnicode_IS_ASCII(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.49k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.49k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (227:32): [True: 9.49k, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (551:13): [True: 9.49k, False: 0]
  ------------------
  552|  9.49k|            int is_short = PyUnicode_GET_LENGTH(v) < 256;
  ------------------
  |  |  299|  9.49k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.49k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.49k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  553|  9.49k|            if (is_short) {
  ------------------
  |  Branch (553:17): [True: 9.33k, False: 166]
  ------------------
  554|  9.33k|                if (PyUnicode_CHECK_INTERNED(v))
  ------------------
  |  |  214|  9.33k|#define PyUnicode_CHECK_INTERNED(op) PyUnicode_CHECK_INTERNED(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.33k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.33k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (214:38): [True: 8.04k, False: 1.28k]
  |  |  ------------------
  ------------------
  555|  8.04k|                    W_TYPE(TYPE_SHORT_ASCII_INTERNED, p);
  ------------------
  |  |  249|  8.04k|#define W_TYPE(t, p) do { \
  |  |  250|  8.04k|    w_byte((t) | flag, (p)); \
  |  |  ------------------
  |  |  |  |  123|  8.04k|#define w_byte(c, p) do {                               \
  |  |  |  |  124|  8.04k|        if ((p)->ptr != (p)->end || w_reserve((p), 1))  \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (124:13): [True: 8.04k, False: 2]
  |  |  |  |  |  Branch (124:37): [True: 2, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  125|  8.04k|            *(p)->ptr++ = (c);                          \
  |  |  |  |  126|  8.04k|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (126:13): [Folded, False: 8.04k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  251|  8.04k|} while(0)
  |  |  ------------------
  |  |  |  Branch (251:9): [Folded, False: 8.04k]
  |  |  ------------------
  ------------------
  556|  1.28k|                else
  557|  1.28k|                    W_TYPE(TYPE_SHORT_ASCII, p);
  ------------------
  |  |  249|  1.28k|#define W_TYPE(t, p) do { \
  |  |  250|  1.28k|    w_byte((t) | flag, (p)); \
  |  |  ------------------
  |  |  |  |  123|  1.28k|#define w_byte(c, p) do {                               \
  |  |  |  |  124|  1.28k|        if ((p)->ptr != (p)->end || w_reserve((p), 1))  \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (124:13): [True: 1.28k, False: 0]
  |  |  |  |  |  Branch (124:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  125|  1.28k|            *(p)->ptr++ = (c);                          \
  |  |  |  |  126|  1.28k|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (126:13): [Folded, False: 1.28k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  251|  1.28k|} while(0)
  |  |  ------------------
  |  |  |  Branch (251:9): [Folded, False: 1.28k]
  |  |  ------------------
  ------------------
  558|  9.33k|                w_short_pstring(PyUnicode_1BYTE_DATA(v),
  ------------------
  |  |  291|  9.33k|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|  9.33k|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  559|  9.33k|                                PyUnicode_GET_LENGTH(v), p);
  ------------------
  |  |  299|  9.33k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  9.33k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.33k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  560|  9.33k|            }
  561|    166|            else {
  562|    166|                if (PyUnicode_CHECK_INTERNED(v))
  ------------------
  |  |  214|    166|#define PyUnicode_CHECK_INTERNED(op) PyUnicode_CHECK_INTERNED(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    166|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    166|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (214:38): [True: 0, False: 166]
  |  |  ------------------
  ------------------
  563|      0|                    W_TYPE(TYPE_ASCII_INTERNED, p);
  ------------------
  |  |  249|      0|#define W_TYPE(t, p) do { \
  |  |  250|      0|    w_byte((t) | flag, (p)); \
  |  |  ------------------
  |  |  |  |  123|      0|#define w_byte(c, p) do {                               \
  |  |  |  |  124|      0|        if ((p)->ptr != (p)->end || w_reserve((p), 1))  \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (124:13): [True: 0, False: 0]
  |  |  |  |  |  Branch (124:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  125|      0|            *(p)->ptr++ = (c);                          \
  |  |  |  |  126|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (126:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  251|      0|} while(0)
  |  |  ------------------
  |  |  |  Branch (251:9): [Folded, False: 0]
  |  |  ------------------
  ------------------
  564|    166|                else
  565|    166|                    W_TYPE(TYPE_ASCII, p);
  ------------------
  |  |  249|    166|#define W_TYPE(t, p) do { \
  |  |  250|    166|    w_byte((t) | flag, (p)); \
  |  |  ------------------
  |  |  |  |  123|    166|#define w_byte(c, p) do {                               \
  |  |  |  |  124|    166|        if ((p)->ptr != (p)->end || w_reserve((p), 1))  \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (124:13): [True: 166, False: 0]
  |  |  |  |  |  Branch (124:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  125|    166|            *(p)->ptr++ = (c);                          \
  |  |  |  |  126|    166|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (126:13): [Folded, False: 166]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  251|    166|} while(0)
  |  |  ------------------
  |  |  |  Branch (251:9): [Folded, False: 166]
  |  |  ------------------
  ------------------
  566|    166|                w_pstring(PyUnicode_1BYTE_DATA(v),
  ------------------
  |  |  291|    166|#define PyUnicode_1BYTE_DATA(op) _Py_STATIC_CAST(Py_UCS1*, PyUnicode_DATA(op))
  |  |  ------------------
  |  |  |  |   34|    166|#  define _Py_STATIC_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
  567|    166|                          PyUnicode_GET_LENGTH(v), p);
  ------------------
  |  |  299|    166|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    166|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    166|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  568|    166|            }
  569|  9.49k|        }
  570|      0|        else {
  571|      0|            PyObject *utf8;
  572|      0|            utf8 = PyUnicode_AsEncodedString(v, "utf8", "surrogatepass");
  573|      0|            if (utf8 == NULL) {
  ------------------
  |  Branch (573:17): [True: 0, False: 0]
  ------------------
  574|      0|                p->depth--;
  575|      0|                p->error = WFERR_UNMARSHALLABLE;
  ------------------
  |  |  105|      0|#define WFERR_UNMARSHALLABLE 1
  ------------------
  576|      0|                return;
  577|      0|            }
  578|      0|            if (p->version >= 3 &&  PyUnicode_CHECK_INTERNED(v))
  ------------------
  |  |  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 (214:38): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  |  Branch (578:17): [True: 0, False: 0]
  ------------------
  579|      0|                W_TYPE(TYPE_INTERNED, p);
  ------------------
  |  |  249|      0|#define W_TYPE(t, p) do { \
  |  |  250|      0|    w_byte((t) | flag, (p)); \
  |  |  ------------------
  |  |  |  |  123|      0|#define w_byte(c, p) do {                               \
  |  |  |  |  124|      0|        if ((p)->ptr != (p)->end || w_reserve((p), 1))  \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (124:13): [True: 0, False: 0]
  |  |  |  |  |  Branch (124:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  125|      0|            *(p)->ptr++ = (c);                          \
  |  |  |  |  126|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (126:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  251|      0|} while(0)
  |  |  ------------------
  |  |  |  Branch (251:9): [Folded, False: 0]
  |  |  ------------------
  ------------------
  580|      0|            else
  581|      0|                W_TYPE(TYPE_UNICODE, p);
  ------------------
  |  |  249|      0|#define W_TYPE(t, p) do { \
  |  |  250|      0|    w_byte((t) | flag, (p)); \
  |  |  ------------------
  |  |  |  |  123|      0|#define w_byte(c, p) do {                               \
  |  |  |  |  124|      0|        if ((p)->ptr != (p)->end || w_reserve((p), 1))  \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (124:13): [True: 0, False: 0]
  |  |  |  |  |  Branch (124:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  125|      0|            *(p)->ptr++ = (c);                          \
  |  |  |  |  126|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (126:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  251|      0|} while(0)
  |  |  ------------------
  |  |  |  Branch (251:9): [Folded, False: 0]
  |  |  ------------------
  ------------------
  582|      0|            w_pstring(PyBytes_AS_STRING(utf8), PyBytes_GET_SIZE(utf8), p);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          w_pstring(PyBytes_AS_STRING(utf8), PyBytes_GET_SIZE(utf8), p);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  583|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  584|      0|        }
  585|  9.49k|    }
  586|  5.87k|    else if (PyTuple_CheckExact(v)) {
  ------------------
  |  |   28|  5.87k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  5.87k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.87k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.87k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 4.16k, False: 1.71k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  587|  4.16k|        n = PyTuple_GET_SIZE(v);
  ------------------
  |  |   27|  4.16k|#define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.16k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.16k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  588|  4.16k|        if (p->version >= 4 && n < 256) {
  ------------------
  |  Branch (588:13): [True: 4.16k, False: 0]
  |  Branch (588:32): [True: 4.16k, False: 0]
  ------------------
  589|  4.16k|            W_TYPE(TYPE_SMALL_TUPLE, p);
  ------------------
  |  |  249|  4.16k|#define W_TYPE(t, p) do { \
  |  |  250|  4.16k|    w_byte((t) | flag, (p)); \
  |  |  ------------------
  |  |  |  |  123|  4.16k|#define w_byte(c, p) do {                               \
  |  |  |  |  124|  4.16k|        if ((p)->ptr != (p)->end || w_reserve((p), 1))  \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (124:13): [True: 4.16k, False: 1]
  |  |  |  |  |  Branch (124:37): [True: 1, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  125|  4.16k|            *(p)->ptr++ = (c);                          \
  |  |  |  |  126|  4.16k|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (126:13): [Folded, False: 4.16k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  251|  4.16k|} while(0)
  |  |  ------------------
  |  |  |  Branch (251:9): [Folded, False: 4.16k]
  |  |  ------------------
  ------------------
  590|  4.16k|            w_byte((unsigned char)n, p);
  ------------------
  |  |  123|  4.16k|#define w_byte(c, p) do {                               \
  |  |  124|  4.16k|        if ((p)->ptr != (p)->end || w_reserve((p), 1))  \
  |  |  ------------------
  |  |  |  Branch (124:13): [True: 4.16k, False: 2]
  |  |  |  Branch (124:37): [True: 2, False: 0]
  |  |  ------------------
  |  |  125|  4.16k|            *(p)->ptr++ = (c);                          \
  |  |  126|  4.16k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (126:13): [Folded, False: 4.16k]
  |  |  ------------------
  ------------------
  591|  4.16k|        }
  592|      0|        else {
  593|      0|            W_TYPE(TYPE_TUPLE, p);
  ------------------
  |  |  249|      0|#define W_TYPE(t, p) do { \
  |  |  250|      0|    w_byte((t) | flag, (p)); \
  |  |  ------------------
  |  |  |  |  123|      0|#define w_byte(c, p) do {                               \
  |  |  |  |  124|      0|        if ((p)->ptr != (p)->end || w_reserve((p), 1))  \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (124:13): [True: 0, False: 0]
  |  |  |  |  |  Branch (124:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  125|      0|            *(p)->ptr++ = (c);                          \
  |  |  |  |  126|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (126:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  251|      0|} while(0)
  |  |  ------------------
  |  |  |  Branch (251:9): [Folded, False: 0]
  |  |  ------------------
  ------------------
  594|      0|            W_SIZE(n, p);
  ------------------
  |  |  215|      0|# define W_SIZE(n, p)  do {                     \
  |  |  216|      0|        if ((n) > SIZE32_MAX) {                 \
  |  |  ------------------
  |  |  |  |  212|      0|#define SIZE32_MAX  0x7FFFFFFF
  |  |  ------------------
  |  |  |  Branch (216:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  217|      0|            (p)->depth--;                       \
  |  |  218|      0|            (p)->error = WFERR_UNMARSHALLABLE;  \
  |  |  ------------------
  |  |  |  |  105|      0|#define WFERR_UNMARSHALLABLE 1
  |  |  ------------------
  |  |  219|      0|            return;                             \
  |  |  220|      0|        }                                       \
  |  |  221|      0|        w_long((long)(n), p);                   \
  |  |  222|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (222:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  595|      0|        }
  596|  27.5k|        for (i = 0; i < n; i++) {
  ------------------
  |  Branch (596:21): [True: 23.3k, False: 4.16k]
  ------------------
  597|  23.3k|            w_object(PyTuple_GET_ITEM(v, i), p);
  ------------------
  |  |   29|  23.3k|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|  23.3k|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  23.3k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  598|  23.3k|        }
  599|  4.16k|    }
  600|  1.71k|    else if (PyList_CheckExact(v)) {
  ------------------
  |  |   26|  1.71k|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|  1.71k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.71k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.71k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 1.71k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  601|      0|        W_TYPE(TYPE_LIST, p);
  ------------------
  |  |  249|      0|#define W_TYPE(t, p) do { \
  |  |  250|      0|    w_byte((t) | flag, (p)); \
  |  |  ------------------
  |  |  |  |  123|      0|#define w_byte(c, p) do {                               \
  |  |  |  |  124|      0|        if ((p)->ptr != (p)->end || w_reserve((p), 1))  \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (124:13): [True: 0, False: 0]
  |  |  |  |  |  Branch (124:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  125|      0|            *(p)->ptr++ = (c);                          \
  |  |  |  |  126|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (126:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  251|      0|} while(0)
  |  |  ------------------
  |  |  |  Branch (251:9): [Folded, False: 0]
  |  |  ------------------
  ------------------
  602|      0|        n = PyList_GET_SIZE(v);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  603|      0|        W_SIZE(n, p);
  ------------------
  |  |  215|      0|# define W_SIZE(n, p)  do {                     \
  |  |  216|      0|        if ((n) > SIZE32_MAX) {                 \
  |  |  ------------------
  |  |  |  |  212|      0|#define SIZE32_MAX  0x7FFFFFFF
  |  |  ------------------
  |  |  |  Branch (216:13): [True: 0, False: 0]
  |  |  ------------------
  |  |  217|      0|            (p)->depth--;                       \
  |  |  218|      0|            (p)->error = WFERR_UNMARSHALLABLE;  \
  |  |  ------------------
  |  |  |  |  105|      0|#define WFERR_UNMARSHALLABLE 1
  |  |  ------------------
  |  |  219|      0|            return;                             \
  |  |  220|      0|        }                                       \
  |  |  221|      0|        w_long((long)(n), p);                   \
  |  |  222|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (222:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  604|      0|        for (i = 0; i < n; i++) {
  ------------------
  |  Branch (604:21): [True: 0, False: 0]
  ------------------
  605|      0|            w_object(PyList_GET_ITEM(v, i), p);
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  606|      0|        }
  607|      0|    }
  608|  1.71k|    else if (PyAnyDict_CheckExact(v)) {
  ------------------
  |  |   41|  1.71k|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   19|  1.71k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|  3.42k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.71k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.71k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 0, False: 1.71k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   38|  1.71k|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|  1.71k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|  1.71k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|  1.71k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 0, False: 1.71k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  609|      0|        Py_ssize_t pos;
  610|      0|        PyObject *key, *value;
  611|      0|        if (PyFrozenDict_CheckExact(v)) {
  ------------------
  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  612|      0|            if (p->version < 6) {
  ------------------
  |  Branch (612:17): [True: 0, False: 0]
  ------------------
  613|      0|                w_byte(TYPE_UNKNOWN, p);
  ------------------
  |  |  123|      0|#define w_byte(c, p) do {                               \
  |  |  124|      0|        if ((p)->ptr != (p)->end || w_reserve((p), 1))  \
  |  |  ------------------
  |  |  |  Branch (124:13): [True: 0, False: 0]
  |  |  |  Branch (124:37): [True: 0, False: 0]
  |  |  ------------------
  |  |  125|      0|            *(p)->ptr++ = (c);                          \
  |  |  126|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (126:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  614|      0|                p->error = WFERR_UNMARSHALLABLE;
  ------------------
  |  |  105|      0|#define WFERR_UNMARSHALLABLE 1
  ------------------
  615|      0|                return;
  616|      0|            }
  617|       |
  618|      0|            W_TYPE(TYPE_FROZENDICT, p);
  ------------------
  |  |  249|      0|#define W_TYPE(t, p) do { \
  |  |  250|      0|    w_byte((t) | flag, (p)); \
  |  |  ------------------
  |  |  |  |  123|      0|#define w_byte(c, p) do {                               \
  |  |  |  |  124|      0|        if ((p)->ptr != (p)->end || w_reserve((p), 1))  \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (124:13): [True: 0, False: 0]
  |  |  |  |  |  Branch (124:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  125|      0|            *(p)->ptr++ = (c);                          \
  |  |  |  |  126|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (126:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  251|      0|} while(0)
  |  |  ------------------
  |  |  |  Branch (251:9): [Folded, False: 0]
  |  |  ------------------
  ------------------
  619|      0|        }
  620|      0|        else {
  621|      0|            W_TYPE(TYPE_DICT, p);
  ------------------
  |  |  249|      0|#define W_TYPE(t, p) do { \
  |  |  250|      0|    w_byte((t) | flag, (p)); \
  |  |  ------------------
  |  |  |  |  123|      0|#define w_byte(c, p) do {                               \
  |  |  |  |  124|      0|        if ((p)->ptr != (p)->end || w_reserve((p), 1))  \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (124:13): [True: 0, False: 0]
  |  |  |  |  |  Branch (124:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  125|      0|            *(p)->ptr++ = (c);                          \
  |  |  |  |  126|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (126:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  251|      0|} while(0)
  |  |  ------------------
  |  |  |  Branch (251:9): [Folded, False: 0]
  |  |  ------------------
  ------------------
  622|      0|        }
  623|       |        /* This one is NULL object terminated! */
  624|      0|        pos = 0;
  625|      0|        while (PyDict_Next(v, &pos, &key, &value)) {
  ------------------
  |  Branch (625:16): [True: 0, False: 0]
  ------------------
  626|      0|            w_object(key, p);
  627|      0|            w_object(value, p);
  628|      0|        }
  629|      0|        w_object((PyObject *)NULL, p);
  630|      0|        if (PyFrozenDict_CheckExact(v)) {
  ------------------
  |  |   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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  631|      0|            w_complete(v, p);
  632|      0|        }
  633|      0|    }
  634|  1.71k|    else if (PyAnySet_CheckExact(v)) {
  ------------------
  |  |   29|  1.71k|    (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  215|  3.42k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.71k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.71k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 1.71k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (Py_IS_TYPE((ob), &PySet_Type) || Py_IS_TYPE((ob), &PyFrozenSet_Type))
  |  |  ------------------
  |  |  |  |  215|  1.71k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.71k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.71k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 10, False: 1.70k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  635|     10|        PyObject *value;
  636|     10|        Py_ssize_t pos = 0;
  637|     10|        Py_hash_t hash;
  638|       |
  639|     10|        if (PyFrozenSet_CheckExact(v))
  ------------------
  |  |   23|     10|#define PyFrozenSet_CheckExact(ob) Py_IS_TYPE((ob), &PyFrozenSet_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: 10, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  640|     10|            W_TYPE(TYPE_FROZENSET, p);
  ------------------
  |  |  249|     10|#define W_TYPE(t, p) do { \
  |  |  250|     10|    w_byte((t) | flag, (p)); \
  |  |  ------------------
  |  |  |  |  123|     10|#define w_byte(c, p) do {                               \
  |  |  |  |  124|     10|        if ((p)->ptr != (p)->end || w_reserve((p), 1))  \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (124:13): [True: 10, False: 0]
  |  |  |  |  |  Branch (124:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  125|     10|            *(p)->ptr++ = (c);                          \
  |  |  |  |  126|     10|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (126:13): [Folded, False: 10]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  251|     10|} while(0)
  |  |  ------------------
  |  |  |  Branch (251:9): [Folded, False: 10]
  |  |  ------------------
  ------------------
  641|      0|        else
  642|      0|            W_TYPE(TYPE_SET, p);
  ------------------
  |  |  249|      0|#define W_TYPE(t, p) do { \
  |  |  250|      0|    w_byte((t) | flag, (p)); \
  |  |  ------------------
  |  |  |  |  123|      0|#define w_byte(c, p) do {                               \
  |  |  |  |  124|      0|        if ((p)->ptr != (p)->end || w_reserve((p), 1))  \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (124:13): [True: 0, False: 0]
  |  |  |  |  |  Branch (124:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  125|      0|            *(p)->ptr++ = (c);                          \
  |  |  |  |  126|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (126:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  251|      0|} while(0)
  |  |  ------------------
  |  |  |  Branch (251:9): [Folded, False: 0]
  |  |  ------------------
  ------------------
  643|     10|        n = PySet_GET_SIZE(v);
  ------------------
  |  |   71|     10|#define PySet_GET_SIZE(so) PySet_GET_SIZE(_PyObject_CAST(so))
  |  |  ------------------
  |  |  |  |  171|     10|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     10|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  644|     10|        W_SIZE(n, p);
  ------------------
  |  |  215|     10|# define W_SIZE(n, p)  do {                     \
  |  |  216|     10|        if ((n) > SIZE32_MAX) {                 \
  |  |  ------------------
  |  |  |  |  212|     10|#define SIZE32_MAX  0x7FFFFFFF
  |  |  ------------------
  |  |  |  Branch (216:13): [True: 0, False: 10]
  |  |  ------------------
  |  |  217|      0|            (p)->depth--;                       \
  |  |  218|      0|            (p)->error = WFERR_UNMARSHALLABLE;  \
  |  |  ------------------
  |  |  |  |  105|      0|#define WFERR_UNMARSHALLABLE 1
  |  |  ------------------
  |  |  219|      0|            return;                             \
  |  |  220|      0|        }                                       \
  |  |  221|     10|        w_long((long)(n), p);                   \
  |  |  222|     10|    } while(0)
  |  |  ------------------
  |  |  |  Branch (222:13): [Folded, False: 10]
  |  |  ------------------
  ------------------
  645|       |        // bpo-37596: To support reproducible builds, sets and frozensets need
  646|       |        // to have their elements serialized in a consistent order (even when
  647|       |        // they have been scrambled by hash randomization). To ensure this, we
  648|       |        // use an order equivalent to sorted(v, key=marshal.dumps):
  649|     10|        PyObject *pairs = PyList_New(n);
  650|     10|        if (pairs == NULL) {
  ------------------
  |  Branch (650:13): [True: 0, False: 10]
  ------------------
  651|      0|            p->error = WFERR_NOMEMORY;
  ------------------
  |  |  107|      0|#define WFERR_NOMEMORY 3
  ------------------
  652|      0|            return;
  653|      0|        }
  654|     10|        Py_ssize_t i = 0;
  655|     10|        Py_BEGIN_CRITICAL_SECTION(v);
  ------------------
  |  |   51|     10|    {
  ------------------
  656|     58|        while (_PySet_NextEntryRef(v, &pos, &value, &hash)) {
  ------------------
  |  Branch (656:16): [True: 48, False: 10]
  ------------------
  657|     48|            PyObject *dump = _PyMarshal_WriteObjectToString(value,
  658|     48|                                    p->version, p->allow_code);
  659|     48|            if (dump == NULL) {
  ------------------
  |  Branch (659:17): [True: 0, False: 48]
  ------------------
  660|      0|                p->error = WFERR_UNMARSHALLABLE;
  ------------------
  |  |  105|      0|#define WFERR_UNMARSHALLABLE 1
  ------------------
  661|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  662|      0|                break;
  663|      0|            }
  664|     48|            PyObject *pair = _PyTuple_FromPairSteal(dump, value);
  665|     48|            if (pair == NULL) {
  ------------------
  |  Branch (665:17): [True: 0, False: 48]
  ------------------
  666|      0|                p->error = WFERR_NOMEMORY;
  ------------------
  |  |  107|      0|#define WFERR_NOMEMORY 3
  ------------------
  667|      0|                break;
  668|      0|            }
  669|     48|            PyList_SET_ITEM(pairs, i++, pair);
  ------------------
  |  |   50|     48|    PyList_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))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  670|     48|        }
  671|     10|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|     10|    }
  ------------------
  672|     10|        if (p->error == WFERR_UNMARSHALLABLE || p->error == WFERR_NOMEMORY) {
  ------------------
  |  |  105|     20|#define WFERR_UNMARSHALLABLE 1
  ------------------
                      if (p->error == WFERR_UNMARSHALLABLE || p->error == WFERR_NOMEMORY) {
  ------------------
  |  |  107|     10|#define WFERR_NOMEMORY 3
  ------------------
  |  Branch (672:13): [True: 0, False: 10]
  |  Branch (672:49): [True: 0, False: 10]
  ------------------
  673|      0|            Py_DECREF(pairs);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  674|      0|            return;
  675|      0|        }
  676|     10|        assert(i == n);
  677|     10|        if (PyList_Sort(pairs)) {
  ------------------
  |  Branch (677:13): [True: 0, False: 10]
  ------------------
  678|      0|            p->error = WFERR_NOMEMORY;
  ------------------
  |  |  107|      0|#define WFERR_NOMEMORY 3
  ------------------
  679|      0|            Py_DECREF(pairs);
  ------------------
  |  |  430|      0|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      0|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      0|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  680|      0|            return;
  681|      0|        }
  682|     58|        for (Py_ssize_t i = 0; i < n; i++) {
  ------------------
  |  Branch (682:32): [True: 48, False: 10]
  ------------------
  683|     48|            PyObject *pair = PyList_GET_ITEM(pairs, i);
  ------------------
  |  |   40|     48|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|     48|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  684|     48|            value = PyTuple_GET_ITEM(pair, 1);
  ------------------
  |  |   29|     48|#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   19|     48|    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     48|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  685|     48|            w_object(value, p);
  686|     48|        }
  687|     10|        Py_DECREF(pairs);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  688|     10|    }
  689|  1.70k|    else if (PyCode_Check(v)) {
  ------------------
  |  |  164|  1.70k|#define PyCode_Check(op) Py_IS_TYPE((op), &PyCode_Type)
  |  |  ------------------
  |  |  |  |  215|  1.70k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.70k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.70k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.69k, False: 11]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  690|  1.69k|        if (!p->allow_code) {
  ------------------
  |  Branch (690:13): [True: 0, False: 1.69k]
  ------------------
  691|      0|            p->error = WFERR_CODE_NOT_ALLOWED;
  ------------------
  |  |  108|      0|#define WFERR_CODE_NOT_ALLOWED 4
  ------------------
  692|      0|            return;
  693|      0|        }
  694|  1.69k|        PyCodeObject *co = (PyCodeObject *)v;
  695|  1.69k|        PyObject *co_code = _PyCode_GetCode(co);
  696|  1.69k|        if (co_code == NULL) {
  ------------------
  |  Branch (696:13): [True: 0, False: 1.69k]
  ------------------
  697|      0|            p->error = WFERR_NOMEMORY;
  ------------------
  |  |  107|      0|#define WFERR_NOMEMORY 3
  ------------------
  698|      0|            return;
  699|      0|        }
  700|  1.69k|        W_TYPE(TYPE_CODE, p);
  ------------------
  |  |  249|  1.69k|#define W_TYPE(t, p) do { \
  |  |  250|  1.69k|    w_byte((t) | flag, (p)); \
  |  |  ------------------
  |  |  |  |  123|  1.69k|#define w_byte(c, p) do {                               \
  |  |  |  |  124|  1.69k|        if ((p)->ptr != (p)->end || w_reserve((p), 1))  \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (124:13): [True: 1.69k, False: 0]
  |  |  |  |  |  Branch (124:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  125|  1.69k|            *(p)->ptr++ = (c);                          \
  |  |  |  |  126|  1.69k|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (126:13): [Folded, False: 1.69k]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  251|  1.69k|} while(0)
  |  |  ------------------
  |  |  |  Branch (251:9): [Folded, False: 1.69k]
  |  |  ------------------
  ------------------
  701|  1.69k|        w_long(co->co_argcount, p);
  702|  1.69k|        w_long(co->co_posonlyargcount, p);
  703|  1.69k|        w_long(co->co_kwonlyargcount, p);
  704|  1.69k|        w_long(co->co_stacksize, p);
  705|  1.69k|        w_long(co->co_flags, p);
  706|  1.69k|        w_object(co_code, p);
  707|  1.69k|        w_object(co->co_consts, p);
  708|  1.69k|        w_object(co->co_names, p);
  709|  1.69k|        w_object(co->co_localsplusnames, p);
  710|  1.69k|        w_object(co->co_localspluskinds, p);
  711|  1.69k|        w_object(co->co_filename, p);
  712|  1.69k|        w_object(co->co_name, p);
  713|  1.69k|        w_object(co->co_qualname, p);
  714|  1.69k|        w_long(co->co_firstlineno, p);
  715|  1.69k|        w_object(co->co_linetable, p);
  716|  1.69k|        w_object(co->co_exceptiontable, p);
  717|  1.69k|        Py_DECREF(co_code);
  ------------------
  |  |  430|  1.69k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.69k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.69k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  718|  1.69k|        w_complete(v, p);
  719|  1.69k|    }
  720|     11|    else if (PyObject_CheckBuffer(v)) {
  ------------------
  |  Branch (720:14): [True: 0, False: 11]
  ------------------
  721|       |        /* Write unknown bytes-like objects as a bytes object */
  722|      0|        Py_buffer view;
  723|      0|        if (PyObject_GetBuffer(v, &view, PyBUF_SIMPLE) != 0) {
  ------------------
  |  |  108|      0|#define PyBUF_SIMPLE 0
  ------------------
  |  Branch (723:13): [True: 0, False: 0]
  ------------------
  724|      0|            w_byte(TYPE_UNKNOWN, p);
  ------------------
  |  |  123|      0|#define w_byte(c, p) do {                               \
  |  |  124|      0|        if ((p)->ptr != (p)->end || w_reserve((p), 1))  \
  |  |  ------------------
  |  |  |  Branch (124:13): [True: 0, False: 0]
  |  |  |  Branch (124:37): [True: 0, False: 0]
  |  |  ------------------
  |  |  125|      0|            *(p)->ptr++ = (c);                          \
  |  |  126|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (126:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  725|      0|            p->depth--;
  726|      0|            p->error = WFERR_UNMARSHALLABLE;
  ------------------
  |  |  105|      0|#define WFERR_UNMARSHALLABLE 1
  ------------------
  727|      0|            return;
  728|      0|        }
  729|      0|        W_TYPE(TYPE_STRING, p);
  ------------------
  |  |  249|      0|#define W_TYPE(t, p) do { \
  |  |  250|      0|    w_byte((t) | flag, (p)); \
  |  |  ------------------
  |  |  |  |  123|      0|#define w_byte(c, p) do {                               \
  |  |  |  |  124|      0|        if ((p)->ptr != (p)->end || w_reserve((p), 1))  \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (124:13): [True: 0, False: 0]
  |  |  |  |  |  Branch (124:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  125|      0|            *(p)->ptr++ = (c);                          \
  |  |  |  |  126|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (126:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  251|      0|} while(0)
  |  |  ------------------
  |  |  |  Branch (251:9): [Folded, False: 0]
  |  |  ------------------
  ------------------
  730|      0|        w_pstring(view.buf, view.len, p);
  731|      0|        PyBuffer_Release(&view);
  732|      0|    }
  733|     11|    else if (PySlice_Check(v)) {
  ------------------
  |  |   22|     11|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  ------------------
  |  |  |  |  215|     11|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|     11|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|     11|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 11, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  734|     11|        if (p->version < 5) {
  ------------------
  |  Branch (734:13): [True: 0, False: 11]
  ------------------
  735|      0|            w_byte(TYPE_UNKNOWN, p);
  ------------------
  |  |  123|      0|#define w_byte(c, p) do {                               \
  |  |  124|      0|        if ((p)->ptr != (p)->end || w_reserve((p), 1))  \
  |  |  ------------------
  |  |  |  Branch (124:13): [True: 0, False: 0]
  |  |  |  Branch (124:37): [True: 0, False: 0]
  |  |  ------------------
  |  |  125|      0|            *(p)->ptr++ = (c);                          \
  |  |  126|      0|    } while(0)
  |  |  ------------------
  |  |  |  Branch (126:13): [Folded, False: 0]
  |  |  ------------------
  ------------------
  736|      0|            p->error = WFERR_UNMARSHALLABLE;
  ------------------
  |  |  105|      0|#define WFERR_UNMARSHALLABLE 1
  ------------------
  737|      0|            return;
  738|      0|        }
  739|     11|        PySliceObject *slice = (PySliceObject *)v;
  740|     11|        W_TYPE(TYPE_SLICE, p);
  ------------------
  |  |  249|     11|#define W_TYPE(t, p) do { \
  |  |  250|     11|    w_byte((t) | flag, (p)); \
  |  |  ------------------
  |  |  |  |  123|     11|#define w_byte(c, p) do {                               \
  |  |  |  |  124|     11|        if ((p)->ptr != (p)->end || w_reserve((p), 1))  \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (124:13): [True: 11, False: 0]
  |  |  |  |  |  Branch (124:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  125|     11|            *(p)->ptr++ = (c);                          \
  |  |  |  |  126|     11|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (126:13): [Folded, False: 11]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  251|     11|} while(0)
  |  |  ------------------
  |  |  |  Branch (251:9): [Folded, False: 11]
  |  |  ------------------
  ------------------
  741|     11|        w_object(slice->start, p);
  742|     11|        w_object(slice->stop, p);
  743|     11|        w_object(slice->step, p);
  744|     11|        w_complete(v, p);
  745|     11|    }
  746|      0|    else {
  747|      0|        W_TYPE(TYPE_UNKNOWN, p);
  ------------------
  |  |  249|      0|#define W_TYPE(t, p) do { \
  |  |  250|      0|    w_byte((t) | flag, (p)); \
  |  |  ------------------
  |  |  |  |  123|      0|#define w_byte(c, p) do {                               \
  |  |  |  |  124|      0|        if ((p)->ptr != (p)->end || w_reserve((p), 1))  \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (124:13): [True: 0, False: 0]
  |  |  |  |  |  Branch (124:37): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  |  125|      0|            *(p)->ptr++ = (c);                          \
  |  |  |  |  126|      0|    } while(0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (126:13): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  251|      0|} while(0)
  |  |  ------------------
  |  |  |  Branch (251:9): [Folded, False: 0]
  |  |  ------------------
  ------------------
  748|      0|        p->error = WFERR_UNMARSHALLABLE;
  ------------------
  |  |  105|      0|#define WFERR_UNMARSHALLABLE 1
  ------------------
  749|      0|    }
  750|  20.8k|}
marshal.c:w_float_bin:
  360|     15|{
  361|     15|    char buf[8];
  362|     15|    if (PyFloat_Pack8(v, buf, 1) < 0) {
  ------------------
  |  Branch (362:9): [True: 0, False: 15]
  ------------------
  363|      0|        p->error = WFERR_UNMARSHALLABLE;
  ------------------
  |  |  105|      0|#define WFERR_UNMARSHALLABLE 1
  ------------------
  364|      0|        return;
  365|      0|    }
  366|     15|    w_string(buf, 8, p);
  367|     15|}
marshal.c:w_string:
  173|  14.7k|{
  174|  14.7k|    Py_ssize_t m;
  175|  14.7k|    if (!n || p->ptr == NULL)
  ------------------
  |  Branch (175:9): [True: 77, False: 14.7k]
  |  Branch (175:15): [True: 0, False: 14.7k]
  ------------------
  176|     77|        return;
  177|  14.7k|    m = p->end - p->ptr;
  178|  14.7k|    if (p->fp != NULL) {
  ------------------
  |  Branch (178:9): [True: 0, False: 14.7k]
  ------------------
  179|      0|        if (n <= m) {
  ------------------
  |  Branch (179:13): [True: 0, False: 0]
  ------------------
  180|      0|            memcpy(p->ptr, s, n);
  181|      0|            p->ptr += n;
  182|      0|        }
  183|      0|        else {
  184|      0|            w_flush(p);
  185|      0|            fwrite(s, 1, n, p->fp);
  186|      0|        }
  187|      0|    }
  188|  14.7k|    else {
  189|  14.7k|        if (n <= m || w_reserve(p, n - m)) {
  ------------------
  |  Branch (189:13): [True: 14.5k, False: 154]
  |  Branch (189:23): [True: 154, False: 0]
  ------------------
  190|  14.7k|            memcpy(p->ptr, s, n);
  191|  14.7k|            p->ptr += n;
  192|  14.7k|        }
  193|  14.7k|    }
  194|  14.7k|}
marshal.c:w_pstring:
  229|  5.43k|{
  230|  5.43k|        W_SIZE(n, p);
  ------------------
  |  |  215|  5.43k|# define W_SIZE(n, p)  do {                     \
  |  |  216|  5.43k|        if ((n) > SIZE32_MAX) {                 \
  |  |  ------------------
  |  |  |  |  212|  5.43k|#define SIZE32_MAX  0x7FFFFFFF
  |  |  ------------------
  |  |  |  Branch (216:13): [True: 0, False: 5.43k]
  |  |  ------------------
  |  |  217|      0|            (p)->depth--;                       \
  |  |  218|      0|            (p)->error = WFERR_UNMARSHALLABLE;  \
  |  |  ------------------
  |  |  |  |  105|      0|#define WFERR_UNMARSHALLABLE 1
  |  |  ------------------
  |  |  219|      0|            return;                             \
  |  |  220|      0|        }                                       \
  |  |  221|  5.43k|        w_long((long)(n), p);                   \
  |  |  222|  5.43k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (222:13): [Folded, False: 5.43k]
  |  |  ------------------
  ------------------
  231|  5.43k|        w_string(s, n, p);
  232|  5.43k|}
marshal.c:w_short_pstring:
  236|  9.33k|{
  237|  9.33k|    w_byte(Py_SAFE_DOWNCAST(n, Py_ssize_t, unsigned char), p);
  ------------------
  |  |  123|  9.33k|#define w_byte(c, p) do {                               \
  |  |  124|  9.33k|        if ((p)->ptr != (p)->end || w_reserve((p), 1))  \
  |  |  ------------------
  |  |  |  Branch (124:13): [True: 9.32k, False: 3]
  |  |  |  Branch (124:37): [True: 3, False: 0]
  |  |  ------------------
  |  |  125|  9.33k|            *(p)->ptr++ = (c);                          \
  |  |  126|  9.33k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (126:13): [Folded, False: 9.33k]
  |  |  ------------------
  ------------------
  238|  9.33k|    w_string(s, n, p);
  239|  9.33k|}
marshal.c:w_complete:
  438|  1.70k|{
  439|  1.70k|    if (p->version < 3 || p->hashtable == NULL) {
  ------------------
  |  Branch (439:9): [True: 0, False: 1.70k]
  |  Branch (439:27): [True: 0, False: 1.70k]
  ------------------
  440|      0|        return;
  441|      0|    }
  442|  1.70k|    if (_PyObject_IsUniquelyReferenced(v)) {
  ------------------
  |  Branch (442:9): [True: 1.65k, False: 48]
  ------------------
  443|  1.65k|        return;
  444|  1.65k|    }
  445|       |
  446|     48|    _Py_hashtable_entry_t *entry = _Py_hashtable_get_entry(p->hashtable, v);
  447|     48|    if (entry == NULL) {
  ------------------
  |  Branch (447:9): [True: 0, False: 48]
  ------------------
  448|      0|        return;
  449|      0|    }
  450|     48|    assert(entry != NULL);
  451|     48|    uintptr_t w = (uintptr_t)entry->value;
  452|       |    assert(w & 0x80000000LU);
  453|     48|    w &= ~0x80000000LU;
  454|     48|    entry->value = (void *)(uintptr_t)w;
  455|     48|}
marshal.c:w_clear_refs:
  776|     93|{
  777|     93|    if (wf->hashtable != NULL) {
  ------------------
  |  Branch (777:9): [True: 93, False: 0]
  ------------------
  778|     93|        _Py_hashtable_destroy(wf->hashtable);
  779|     93|    }
  780|     93|}
marshal.c:r_short:
  937|    512|{
  938|    512|    short x = -1;
  939|    512|    const unsigned char *buffer;
  940|       |
  941|    512|    buffer = (const unsigned char *) r_string(2, p);
  942|    512|    if (buffer != NULL) {
  ------------------
  |  Branch (942:9): [True: 512, False: 0]
  ------------------
  943|    512|        x = buffer[0];
  944|    512|        x |= buffer[1] << 8;
  945|       |        /* Sign-extension, in case short greater than 16 bits */
  946|    512|        x |= -(x & 0x8000);
  947|    512|    }
  948|    512|    return x;
  949|    512|}
marshal.c:r_string:
  839|  2.55M|{
  840|  2.55M|    Py_ssize_t read = -1;
  841|       |
  842|  2.55M|    if (p->ptr != NULL) {
  ------------------
  |  Branch (842:9): [True: 2.55M, False: 0]
  ------------------
  843|       |        /* Fast path for loads() */
  844|  2.55M|        const char *res = p->ptr;
  845|  2.55M|        Py_ssize_t left = p->end - p->ptr;
  846|  2.55M|        if (left < n) {
  ------------------
  |  Branch (846:13): [True: 0, False: 2.55M]
  ------------------
  847|      0|            PyErr_SetString(PyExc_EOFError,
  848|      0|                            "marshal data too short");
  849|      0|            return NULL;
  850|      0|        }
  851|  2.55M|        p->ptr += n;
  852|  2.55M|        return res;
  853|  2.55M|    }
  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);
  ------------------
  |  |  915|      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|  1.59M|{
  954|  1.59M|    long x = -1;
  955|  1.59M|    const unsigned char *buffer;
  956|       |
  957|  1.59M|    buffer = (const unsigned char *) r_string(4, p);
  958|  1.59M|    if (buffer != NULL) {
  ------------------
  |  Branch (958:9): [True: 1.59M, False: 0]
  ------------------
  959|  1.59M|        x = buffer[0];
  960|  1.59M|        x |= (long)buffer[1] << 8;
  961|  1.59M|        x |= (long)buffer[2] << 16;
  962|  1.59M|        x |= (long)buffer[3] << 24;
  963|  1.59M|#if SIZEOF_LONG > 4
  964|       |        /* Sign extension for 64-bit machines */
  965|  1.59M|        x |= -(x & 0x80000000L);
  966|  1.59M|#endif
  967|  1.59M|    }
  968|  1.59M|    return x;
  969|  1.59M|}
marshal.c:read_object:
 1761|  3.93k|{
 1762|  3.93k|    PyObject *v;
 1763|  3.93k|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (1763:9): [True: 0, False: 3.93k]
  ------------------
 1764|      0|        fprintf(stderr, "XXX readobject called with exception set\n");
 1765|      0|        return NULL;
 1766|      0|    }
 1767|  3.93k|    if (p->ptr && p->end) {
  ------------------
  |  Branch (1767:9): [True: 3.93k, False: 0]
  |  Branch (1767:19): [True: 3.93k, False: 0]
  ------------------
 1768|  3.93k|        if (PySys_Audit("marshal.loads", "y#", p->ptr, (Py_ssize_t)(p->end - p->ptr)) < 0) {
  ------------------
  |  Branch (1768:13): [True: 0, False: 3.93k]
  ------------------
 1769|      0|            return NULL;
 1770|      0|        }
 1771|  3.93k|    } 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|  3.93k|    v = r_object(p);
 1777|  3.93k|    if (v == NULL && !PyErr_Occurred())
  ------------------
  |  Branch (1777:9): [True: 0, False: 3.93k]
  |  Branch (1777:22): [True: 0, False: 0]
  ------------------
 1778|      0|        PyErr_SetString(PyExc_TypeError, "NULL object in marshal data for object");
 1779|  3.93k|    return v;
 1780|  3.93k|}
marshal.c:r_object:
 1174|  2.15M|{
 1175|       |    /* NULL is a valid return value, it does not necessarily means that
 1176|       |       an exception is set. */
 1177|  2.15M|    PyObject *v, *v2;
 1178|  2.15M|    Py_ssize_t idx = 0;
 1179|  2.15M|    long i, n;
 1180|  2.15M|    int type, code = r_byte(p);
 1181|  2.15M|    int flag, is_interned = 0;
 1182|  2.15M|    PyObject *retval = NULL;
 1183|       |
 1184|  2.15M|    if (code == EOF) {
  ------------------
  |  Branch (1184:9): [True: 0, False: 2.15M]
  ------------------
 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|  2.15M|    p->depth++;
 1193|       |
 1194|  2.15M|    if (p->depth > MAX_MARSHAL_STACK_DEPTH) {
  ------------------
  |  |   54|  2.15M|#  define MAX_MARSHAL_STACK_DEPTH 2000
  ------------------
  |  Branch (1194:9): [True: 0, False: 2.15M]
  ------------------
 1195|      0|        p->depth--;
 1196|      0|        PyErr_SetString(PyExc_ValueError, "recursion limit exceeded");
 1197|      0|        return NULL;
 1198|      0|    }
 1199|       |
 1200|  2.15M|    flag = code & FLAG_REF;
  ------------------
  |  |  100|  2.15M|#define FLAG_REF                '\x80' /* with a type, add obj to index */
  ------------------
 1201|  2.15M|    type = code & ~FLAG_REF;
  ------------------
  |  |  100|  2.15M|#define FLAG_REF                '\x80' /* with a type, add obj to index */
  ------------------
 1202|       |
 1203|  2.15M|#define R_REF(O) do{\
 1204|  2.15M|    if (flag) \
 1205|  2.15M|        O = r_ref(O, flag, p);\
 1206|  2.15M|} while (0)
 1207|       |
 1208|  2.15M|    switch (type) {
 1209|       |
 1210|      0|    case TYPE_NULL:
  ------------------
  |  |   58|      0|#define TYPE_NULL               '0'
  ------------------
  |  Branch (1210:5): [True: 0, False: 2.15M]
  ------------------
 1211|      0|        break;
 1212|       |
 1213|  23.3k|    case TYPE_NONE:
  ------------------
  |  |   59|  23.3k|#define TYPE_NONE               'N'
  ------------------
  |  Branch (1213:5): [True: 23.3k, False: 2.13M]
  ------------------
 1214|  23.3k|        retval = Py_None;
  ------------------
  |  |  616|  23.3k|#  define Py_None (&_Py_NoneStruct)
  ------------------
 1215|  23.3k|        break;
 1216|       |
 1217|      0|    case TYPE_STOPITER:
  ------------------
  |  |   62|      0|#define TYPE_STOPITER           'S'
  ------------------
  |  Branch (1217:5): [True: 0, False: 2.15M]
  ------------------
 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|    148|    case TYPE_ELLIPSIS:
  ------------------
  |  |   63|    148|#define TYPE_ELLIPSIS           '.'
  ------------------
  |  Branch (1221:5): [True: 148, False: 2.15M]
  ------------------
 1222|    148|        retval = Py_Ellipsis;
  ------------------
  |  |   14|    148|#  define Py_Ellipsis (&_Py_EllipsisObject)
  ------------------
 1223|    148|        break;
 1224|       |
 1225|    447|    case TYPE_FALSE:
  ------------------
  |  |   60|    447|#define TYPE_FALSE              'F'
  ------------------
  |  Branch (1225:5): [True: 447, False: 2.15M]
  ------------------
 1226|    447|        retval = Py_False;
  ------------------
  |  |   25|    447|#  define Py_False _PyObject_CAST(&_Py_FalseStruct)
  |  |  ------------------
  |  |  |  |  171|    447|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    447|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1227|    447|        break;
 1228|       |
 1229|    391|    case TYPE_TRUE:
  ------------------
  |  |   61|    391|#define TYPE_TRUE               'T'
  ------------------
  |  Branch (1229:5): [True: 391, False: 2.15M]
  ------------------
 1230|    391|        retval = Py_True;
  ------------------
  |  |   26|    391|#  define Py_True _PyObject_CAST(&_Py_TrueStruct)
  |  |  ------------------
  |  |  |  |  171|    391|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    391|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1231|    391|        break;
 1232|       |
 1233|  3.88k|    case TYPE_INT:
  ------------------
  |  |   90|  3.88k|#define TYPE_INT                'i'  // All versions. 32-bit encoding.
  ------------------
  |  Branch (1233:5): [True: 3.88k, False: 2.15M]
  ------------------
 1234|  3.88k|        n = r_long(p);
 1235|  3.88k|        if (n == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1235:13): [True: 53, False: 3.83k]
  |  Branch (1235:24): [True: 0, False: 53]
  ------------------
 1236|      0|            break;
 1237|      0|        }
 1238|  3.88k|        retval = PyLong_FromLong(n);
 1239|  3.88k|        R_REF(retval);
  ------------------
  |  | 1203|  3.88k|#define R_REF(O) do{\
  |  | 1204|  3.88k|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1204:9): [True: 2.42k, False: 1.46k]
  |  |  ------------------
  |  | 1205|  3.88k|        O = r_ref(O, flag, p);\
  |  | 1206|  3.88k|} while (0)
  |  |  ------------------
  |  |  |  Branch (1206:10): [Folded, False: 3.88k]
  |  |  ------------------
  ------------------
 1240|  3.88k|        break;
 1241|       |
 1242|      0|    case TYPE_INT64:
  ------------------
  |  |   96|      0|#define TYPE_INT64              'I'  // Not generated any more.
  ------------------
  |  Branch (1242:5): [True: 0, False: 2.15M]
  ------------------
 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|    122|    case TYPE_LONG:
  ------------------
  |  |   66|    122|#define TYPE_LONG               'l'  // See also TYPE_INT.
  ------------------
  |  Branch (1247:5): [True: 122, False: 2.15M]
  ------------------
 1248|    122|        retval = r_PyLong(p);
 1249|    122|        R_REF(retval);
  ------------------
  |  | 1203|    122|#define R_REF(O) do{\
  |  | 1204|    122|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1204:9): [True: 18, False: 104]
  |  |  ------------------
  |  | 1205|    122|        O = r_ref(O, flag, p);\
  |  | 1206|    122|} while (0)
  |  |  ------------------
  |  |  |  Branch (1206:10): [Folded, False: 122]
  |  |  ------------------
  ------------------
 1250|    122|        break;
 1251|       |
 1252|      0|    case TYPE_FLOAT:
  ------------------
  |  |   95|      0|#define TYPE_FLOAT              'f'  // Generated for version 0 only.
  ------------------
  |  Branch (1252:5): [True: 0, False: 2.15M]
  ------------------
 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|    237|    case TYPE_BINARY_FLOAT:
  ------------------
  |  |   64|    237|#define TYPE_BINARY_FLOAT       'g'  // Version 0 uses TYPE_FLOAT instead.
  ------------------
  |  Branch (1262:5): [True: 237, False: 2.15M]
  ------------------
 1263|    237|        {
 1264|    237|            double x = r_float_bin(p);
 1265|    237|            if (x == -1.0 && PyErr_Occurred())
  ------------------
  |  Branch (1265:17): [True: 4, False: 233]
  |  Branch (1265:30): [True: 0, False: 4]
  ------------------
 1266|      0|                break;
 1267|    237|            retval = PyFloat_FromDouble(x);
 1268|    237|            R_REF(retval);
  ------------------
  |  | 1203|    237|#define R_REF(O) do{\
  |  | 1204|    237|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1204:9): [True: 53, False: 184]
  |  |  ------------------
  |  | 1205|    237|        O = r_ref(O, flag, p);\
  |  | 1206|    237|} while (0)
  |  |  ------------------
  |  |  |  Branch (1206:10): [Folded, False: 237]
  |  |  ------------------
  ------------------
 1269|    237|            break;
 1270|    237|        }
 1271|       |
 1272|      0|    case TYPE_COMPLEX:
  ------------------
  |  |   94|      0|#define TYPE_COMPLEX            'x'  // Generated for version 0 only.
  ------------------
  |  Branch (1272:5): [True: 0, False: 2.15M]
  ------------------
 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|      1|    case TYPE_BINARY_COMPLEX:
  ------------------
  |  |   65|      1|#define TYPE_BINARY_COMPLEX     'y'  // Version 0 uses TYPE_COMPLEX instead.
  ------------------
  |  Branch (1286:5): [True: 1, False: 2.15M]
  ------------------
 1287|      1|        {
 1288|      1|            Py_complex c;
 1289|      1|            c.real = r_float_bin(p);
 1290|      1|            if (c.real == -1.0 && PyErr_Occurred())
  ------------------
  |  Branch (1290:17): [True: 0, False: 1]
  |  Branch (1290:35): [True: 0, False: 0]
  ------------------
 1291|      0|                break;
 1292|      1|            c.imag = r_float_bin(p);
 1293|      1|            if (c.imag == -1.0 && PyErr_Occurred())
  ------------------
  |  Branch (1293:17): [True: 0, False: 1]
  |  Branch (1293:35): [True: 0, False: 0]
  ------------------
 1294|      0|                break;
 1295|      1|            retval = PyComplex_FromCComplex(c);
 1296|      1|            R_REF(retval);
  ------------------
  |  | 1203|      1|#define R_REF(O) do{\
  |  | 1204|      1|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1204:9): [True: 0, False: 1]
  |  |  ------------------
  |  | 1205|      1|        O = r_ref(O, flag, p);\
  |  | 1206|      1|} while (0)
  |  |  ------------------
  |  |  |  Branch (1206:10): [Folded, False: 1]
  |  |  ------------------
  ------------------
 1297|      1|            break;
 1298|      1|        }
 1299|       |
 1300|   236k|    case TYPE_STRING:
  ------------------
  |  |   67|   236k|#define TYPE_STRING             's'  // Bytes. (Name comes from Python 2.)
  ------------------
  |  Branch (1300:5): [True: 236k, False: 1.91M]
  ------------------
 1301|   236k|        {
 1302|   236k|            const char *ptr;
 1303|   236k|            n = r_long(p);
 1304|   236k|            if (n < 0 || n > SIZE32_MAX) {
  ------------------
  |  |  212|   236k|#define SIZE32_MAX  0x7FFFFFFF
  ------------------
  |  Branch (1304:17): [True: 0, False: 236k]
  |  Branch (1304:26): [True: 0, False: 236k]
  ------------------
 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|   236k|            v = PyBytes_FromStringAndSize((char *)NULL, n);
 1312|   236k|            if (v == NULL)
  ------------------
  |  Branch (1312:17): [True: 0, False: 236k]
  ------------------
 1313|      0|                break;
 1314|   236k|            ptr = r_string(n, p);
 1315|   236k|            if (ptr == NULL) {
  ------------------
  |  Branch (1315:17): [True: 0, False: 236k]
  ------------------
 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|   236k|            memcpy(PyBytes_AS_STRING(v), ptr, n);
  ------------------
  |  |   27|   236k|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   236k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   236k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1320|   236k|            retval = v;
 1321|   236k|            R_REF(retval);
  ------------------
  |  | 1203|   236k|#define R_REF(O) do{\
  |  | 1204|   236k|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1204:9): [True: 91.1k, False: 145k]
  |  |  ------------------
  |  | 1205|   236k|        O = r_ref(O, flag, p);\
  |  | 1206|   236k|} while (0)
  |  |  ------------------
  |  |  |  Branch (1206:10): [Folded, False: 236k]
  |  |  ------------------
  ------------------
 1322|   236k|            break;
 1323|   236k|        }
 1324|       |
 1325|      0|    case TYPE_ASCII_INTERNED:
  ------------------
  |  |   85|      0|#define TYPE_ASCII_INTERNED     'A'
  ------------------
  |  Branch (1325:5): [True: 0, False: 2.15M]
  ------------------
 1326|      0|        is_interned = 1;
 1327|      0|        _Py_FALLTHROUGH;
  ------------------
  |  |  644|      0|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 1328|  16.0k|    case TYPE_ASCII:
  ------------------
  |  |   84|  16.0k|#define TYPE_ASCII              'a'
  ------------------
  |  Branch (1328:5): [True: 16.0k, False: 2.13M]
  ------------------
 1329|  16.0k|        n = r_long(p);
 1330|  16.0k|        if (n < 0 || n > SIZE32_MAX) {
  ------------------
  |  |  212|  16.0k|#define SIZE32_MAX  0x7FFFFFFF
  ------------------
  |  Branch (1330:13): [True: 0, False: 16.0k]
  |  Branch (1330:22): [True: 0, False: 16.0k]
  ------------------
 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|  16.0k|        goto _read_ascii;
 1338|       |
 1339|   621k|    case TYPE_SHORT_ASCII_INTERNED:
  ------------------
  |  |   87|   621k|#define TYPE_SHORT_ASCII_INTERNED 'Z'
  ------------------
  |  Branch (1339:5): [True: 621k, False: 1.53M]
  ------------------
 1340|   621k|        is_interned = 1;
 1341|   621k|        _Py_FALLTHROUGH;
  ------------------
  |  |  644|   621k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 1342|   700k|    case TYPE_SHORT_ASCII:
  ------------------
  |  |   86|   700k|#define TYPE_SHORT_ASCII        'z'
  ------------------
  |  Branch (1342:5): [True: 78.8k, False: 2.07M]
  ------------------
 1343|   700k|        n = r_byte(p);
 1344|   700k|        if (n == EOF) {
  ------------------
  |  Branch (1344:13): [True: 0, False: 700k]
  ------------------
 1345|      0|            break;
 1346|      0|        }
 1347|   716k|    _read_ascii:
 1348|   716k|        {
 1349|   716k|            const char *ptr;
 1350|   716k|            ptr = r_string(n, p);
 1351|   716k|            if (ptr == NULL)
  ------------------
  |  Branch (1351:17): [True: 0, False: 716k]
  ------------------
 1352|      0|                break;
 1353|   716k|            v = PyUnicode_FromKindAndData(PyUnicode_1BYTE_KIND, ptr, n);
 1354|   716k|            if (v == NULL)
  ------------------
  |  Branch (1354:17): [True: 0, False: 716k]
  ------------------
 1355|      0|                break;
 1356|   716k|            if (is_interned) {
  ------------------
  |  Branch (1356:17): [True: 621k, False: 94.8k]
  ------------------
 1357|       |                // marshal is meant to serialize .pyc files with code
 1358|       |                // objects, and code-related strings are currently immortal.
 1359|   621k|                PyInterpreterState *interp = _PyInterpreterState_GET();
 1360|   621k|                _PyUnicode_InternImmortal(interp, &v);
 1361|   621k|            }
 1362|   716k|            retval = v;
 1363|   716k|            R_REF(retval);
  ------------------
  |  | 1203|   716k|#define R_REF(O) do{\
  |  | 1204|   716k|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1204:9): [True: 622k, False: 93.9k]
  |  |  ------------------
  |  | 1205|   716k|        O = r_ref(O, flag, p);\
  |  | 1206|   716k|} while (0)
  |  |  ------------------
  |  |  |  Branch (1206:10): [Folded, False: 716k]
  |  |  ------------------
  ------------------
 1364|   716k|            break;
 1365|   716k|        }
 1366|       |
 1367|      2|    case TYPE_INTERNED:
  ------------------
  |  |   83|      2|#define TYPE_INTERNED           't' // Version 1+
  ------------------
  |  Branch (1367:5): [True: 2, False: 2.15M]
  ------------------
 1368|      2|        is_interned = 1;
 1369|      2|        _Py_FALLTHROUGH;
  ------------------
  |  |  644|      2|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 1370|     76|    case TYPE_UNICODE:
  ------------------
  |  |   73|     76|#define TYPE_UNICODE            'u'
  ------------------
  |  Branch (1370:5): [True: 74, False: 2.15M]
  ------------------
 1371|     76|        {
 1372|     76|        const char *buffer;
 1373|       |
 1374|     76|        n = r_long(p);
 1375|     76|        if (n < 0 || n > SIZE32_MAX) {
  ------------------
  |  |  212|     76|#define SIZE32_MAX  0x7FFFFFFF
  ------------------
  |  Branch (1375:13): [True: 0, False: 76]
  |  Branch (1375:22): [True: 0, False: 76]
  ------------------
 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|     76|        if (n != 0) {
  ------------------
  |  Branch (1382:13): [True: 76, False: 0]
  ------------------
 1383|     76|            buffer = r_string(n, p);
 1384|     76|            if (buffer == NULL)
  ------------------
  |  Branch (1384:17): [True: 0, False: 76]
  ------------------
 1385|      0|                break;
 1386|     76|            v = PyUnicode_DecodeUTF8(buffer, n, "surrogatepass");
 1387|     76|        }
 1388|      0|        else {
 1389|      0|            v = Py_GetConstant(Py_CONSTANT_EMPTY_STR);
  ------------------
  |  |  597|      0|#define Py_CONSTANT_EMPTY_STR 7
  ------------------
 1390|      0|        }
 1391|     76|        if (v == NULL)
  ------------------
  |  Branch (1391:13): [True: 0, False: 76]
  ------------------
 1392|      0|            break;
 1393|     76|        if (is_interned) {
  ------------------
  |  Branch (1393:13): [True: 2, False: 74]
  ------------------
 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|     76|        retval = v;
 1400|     76|        R_REF(retval);
  ------------------
  |  | 1203|     76|#define R_REF(O) do{\
  |  | 1204|     76|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1204:9): [True: 2, False: 74]
  |  |  ------------------
  |  | 1205|     76|        O = r_ref(O, flag, p);\
  |  | 1206|     76|} while (0)
  |  |  ------------------
  |  |  |  Branch (1206:10): [Folded, False: 76]
  |  |  ------------------
  ------------------
 1401|     76|        break;
 1402|     76|        }
 1403|       |
 1404|   227k|    case TYPE_SMALL_TUPLE:
  ------------------
  |  |   91|   227k|#define TYPE_SMALL_TUPLE        ')'  // Version 4+
  ------------------
  |  Branch (1404:5): [True: 227k, False: 1.92M]
  ------------------
 1405|   227k|        n = r_byte(p);
 1406|   227k|        if (n == EOF) {
  ------------------
  |  Branch (1406:13): [True: 0, False: 227k]
  ------------------
 1407|      0|            break;
 1408|      0|        }
 1409|   227k|        goto _read_tuple;
 1410|   227k|    case TYPE_TUPLE:
  ------------------
  |  |   68|     12|#define TYPE_TUPLE              '('  // See also TYPE_SMALL_TUPLE.
  ------------------
  |  Branch (1410:5): [True: 12, False: 2.15M]
  ------------------
 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|   227k|    _read_tuple:
 1420|   227k|        v = PyTuple_New(n);
 1421|   227k|        R_REF(v);
  ------------------
  |  | 1203|   227k|#define R_REF(O) do{\
  |  | 1204|   227k|    if (flag) \
  |  |  ------------------
  |  |  |  Branch (1204:9): [True: 36.3k, False: 191k]
  |  |  ------------------
  |  | 1205|   227k|        O = r_ref(O, flag, p);\
  |  | 1206|   227k|} while (0)
  |  |  ------------------
  |  |  |  Branch (1206:10): [Folded, False: 227k]
  |  |  ------------------
  ------------------
 1422|   227k|        if (v == NULL)
  ------------------
  |  Branch (1422:13): [True: 0, False: 227k]
  ------------------
 1423|      0|            break;
 1424|       |
 1425|  1.58M|        for (i = 0; i < n; i++) {
  ------------------
  |  Branch (1425:21): [True: 1.35M, False: 227k]
  ------------------
 1426|  1.35M|            v2 = r_object(p);
 1427|  1.35M|            if ( v2 == NULL ) {
  ------------------
  |  Branch (1427:18): [True: 0, False: 1.35M]
  ------------------
 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|  1.35M|            PyTuple_SET_ITEM(v, i, v2);
  ------------------
  |  |   40|  1.35M|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  1.35M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.35M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  1.35M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.35M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1435|  1.35M|        }
 1436|   227k|        retval = v;
 1437|   227k|        break;
 1438|       |
 1439|      0|    case TYPE_LIST:
  ------------------
  |  |   69|      0|#define TYPE_LIST               '['
  ------------------
  |  Branch (1439:5): [True: 0, False: 2.15M]
  ------------------
 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: 2.15M]
  ------------------
 1467|      0|    case TYPE_FROZENDICT:
  ------------------
  |  |   71|      0|#define TYPE_FROZENDICT         '}'
  ------------------
  |  Branch (1467:5): [True: 0, False: 2.15M]
  ------------------
 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: 2.15M]
  ------------------
 1510|    102|    case TYPE_FROZENSET:
  ------------------
  |  |   77|    102|#define TYPE_FROZENSET          '>'
  ------------------
  |  Branch (1510:5): [True: 102, False: 2.15M]
  ------------------
 1511|    102|        n = r_long(p);
 1512|    102|        if (n < 0 || n > SIZE32_MAX) {
  ------------------
  |  |  212|    102|#define SIZE32_MAX  0x7FFFFFFF
  ------------------
  |  Branch (1512:13): [True: 0, False: 102]
  |  Branch (1512:22): [True: 0, False: 102]
  ------------------
 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|    102|        if (n == 0 && type == TYPE_FROZENSET) {
  ------------------
  |  |   77|      0|#define TYPE_FROZENSET          '>'
  ------------------
  |  Branch (1520:13): [True: 0, False: 102]
  |  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|    102|        else {
 1529|    102|            v = (type == TYPE_SET) ? PySet_New(NULL) : PyFrozenSet_New(NULL);
  ------------------
  |  |   76|    102|#define TYPE_SET                '<'
  ------------------
  |  Branch (1529:17): [True: 0, False: 102]
  ------------------
 1530|    102|            if (type == TYPE_SET) {
  ------------------
  |  |   76|    102|#define TYPE_SET                '<'
  ------------------
  |  Branch (1530:17): [True: 0, False: 102]
  ------------------
 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|    102|            } else {
 1533|       |                /* must use delayed registration of frozensets because they must
 1534|       |                 * be init with a refcount of 1
 1535|       |                 */
 1536|    102|                idx = r_ref_reserve(flag, p);
 1537|    102|                if (idx < 0)
  ------------------
  |  Branch (1537:21): [True: 0, False: 102]
  ------------------
 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|    102|            }
 1540|    102|            if (v == NULL)
  ------------------
  |  Branch (1540:17): [True: 0, False: 102]
  ------------------
 1541|      0|                break;
 1542|       |
 1543|    528|            for (i = 0; i < n; i++) {
  ------------------
  |  Branch (1543:25): [True: 426, False: 102]
  ------------------
 1544|    426|                v2 = r_object(p);
 1545|    426|                if ( v2 == NULL ) {
  ------------------
  |  Branch (1545:22): [True: 0, False: 426]
  ------------------
 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|    426|                if (PySet_Add(v, v2) == -1) {
  ------------------
  |  Branch (1552:21): [True: 0, False: 426]
  ------------------
 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|    426|                Py_DECREF(v2);
  ------------------
  |  |  430|    426|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    426|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    426|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1559|    426|            }
 1560|    102|            if (type != TYPE_SET)
  ------------------
  |  |   76|    102|#define TYPE_SET                '<'
  ------------------
  |  Branch (1560:17): [True: 102, False: 0]
  ------------------
 1561|    102|                v = r_ref_insert(v, idx, flag, p);
 1562|    102|            retval = v;
 1563|    102|        }
 1564|    102|        break;
 1565|       |
 1566|  79.2k|    case TYPE_CODE:
  ------------------
  |  |   72|  79.2k|#define TYPE_CODE               'c'
  ------------------
  |  Branch (1566:5): [True: 79.2k, False: 2.07M]
  ------------------
 1567|  79.2k|        {
 1568|  79.2k|            int argcount;
 1569|  79.2k|            int posonlyargcount;
 1570|  79.2k|            int kwonlyargcount;
 1571|  79.2k|            int stacksize;
 1572|  79.2k|            int flags;
 1573|  79.2k|            PyObject *code = NULL;
 1574|  79.2k|            PyObject *consts = NULL;
 1575|  79.2k|            PyObject *names = NULL;
 1576|  79.2k|            PyObject *localsplusnames = NULL;
 1577|  79.2k|            PyObject *localspluskinds = NULL;
 1578|  79.2k|            PyObject *filename = NULL;
 1579|  79.2k|            PyObject *name = NULL;
 1580|  79.2k|            PyObject *qualname = NULL;
 1581|  79.2k|            int firstlineno;
 1582|  79.2k|            PyObject* linetable = NULL;
 1583|  79.2k|            PyObject *exceptiontable = NULL;
 1584|       |
 1585|  79.2k|            if (!p->allow_code) {
  ------------------
  |  Branch (1585:17): [True: 0, False: 79.2k]
  ------------------
 1586|      0|                PyErr_SetString(PyExc_ValueError,
 1587|      0|                                "unmarshalling code objects is disallowed");
 1588|      0|                break;
 1589|      0|            }
 1590|  79.2k|            idx = r_ref_reserve(flag, p);
 1591|  79.2k|            if (idx < 0)
  ------------------
  |  Branch (1591:17): [True: 0, False: 79.2k]
  ------------------
 1592|      0|                break;
 1593|       |
 1594|  79.2k|            v = NULL;
 1595|       |
 1596|       |            /* XXX ignore long->int overflows for now */
 1597|  79.2k|            argcount = (int)r_long(p);
 1598|  79.2k|            if (argcount == -1 && PyErr_Occurred())
  ------------------
  |  Branch (1598:17): [True: 0, False: 79.2k]
  |  Branch (1598:35): [True: 0, False: 0]
  ------------------
 1599|      0|                goto code_error;
 1600|  79.2k|            posonlyargcount = (int)r_long(p);
 1601|  79.2k|            if (posonlyargcount == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1601:17): [True: 0, False: 79.2k]
  |  Branch (1601:42): [True: 0, False: 0]
  ------------------
 1602|      0|                goto code_error;
 1603|      0|            }
 1604|  79.2k|            kwonlyargcount = (int)r_long(p);
 1605|  79.2k|            if (kwonlyargcount == -1 && PyErr_Occurred())
  ------------------
  |  Branch (1605:17): [True: 0, False: 79.2k]
  |  Branch (1605:41): [True: 0, False: 0]
  ------------------
 1606|      0|                goto code_error;
 1607|  79.2k|            stacksize = (int)r_long(p);
 1608|  79.2k|            if (stacksize == -1 && PyErr_Occurred())
  ------------------
  |  Branch (1608:17): [True: 0, False: 79.2k]
  |  Branch (1608:36): [True: 0, False: 0]
  ------------------
 1609|      0|                goto code_error;
 1610|  79.2k|            flags = (int)r_long(p);
 1611|  79.2k|            if (flags == -1 && PyErr_Occurred())
  ------------------
  |  Branch (1611:17): [True: 0, False: 79.2k]
  |  Branch (1611:32): [True: 0, False: 0]
  ------------------
 1612|      0|                goto code_error;
 1613|  79.2k|            code = r_object(p);
 1614|  79.2k|            if (code == NULL)
  ------------------
  |  Branch (1614:17): [True: 0, False: 79.2k]
  ------------------
 1615|      0|                goto code_error;
 1616|  79.2k|            consts = r_object(p);
 1617|  79.2k|            if (consts == NULL)
  ------------------
  |  Branch (1617:17): [True: 0, False: 79.2k]
  ------------------
 1618|      0|                goto code_error;
 1619|  79.2k|            names = r_object(p);
 1620|  79.2k|            if (names == NULL)
  ------------------
  |  Branch (1620:17): [True: 0, False: 79.2k]
  ------------------
 1621|      0|                goto code_error;
 1622|  79.2k|            localsplusnames = r_object(p);
 1623|  79.2k|            if (localsplusnames == NULL)
  ------------------
  |  Branch (1623:17): [True: 0, False: 79.2k]
  ------------------
 1624|      0|                goto code_error;
 1625|  79.2k|            localspluskinds = r_object(p);
 1626|  79.2k|            if (localspluskinds == NULL)
  ------------------
  |  Branch (1626:17): [True: 0, False: 79.2k]
  ------------------
 1627|      0|                goto code_error;
 1628|  79.2k|            filename = r_object(p);
 1629|  79.2k|            if (filename == NULL)
  ------------------
  |  Branch (1629:17): [True: 0, False: 79.2k]
  ------------------
 1630|      0|                goto code_error;
 1631|  79.2k|            name = r_object(p);
 1632|  79.2k|            if (name == NULL)
  ------------------
  |  Branch (1632:17): [True: 0, False: 79.2k]
  ------------------
 1633|      0|                goto code_error;
 1634|  79.2k|            qualname = r_object(p);
 1635|  79.2k|            if (qualname == NULL)
  ------------------
  |  Branch (1635:17): [True: 0, False: 79.2k]
  ------------------
 1636|      0|                goto code_error;
 1637|  79.2k|            firstlineno = (int)r_long(p);
 1638|  79.2k|            if (firstlineno == -1 && PyErr_Occurred())
  ------------------
  |  Branch (1638:17): [True: 0, False: 79.2k]
  |  Branch (1638:38): [True: 0, False: 0]
  ------------------
 1639|      0|                goto code_error;
 1640|  79.2k|            linetable = r_object(p);
 1641|  79.2k|            if (linetable == NULL)
  ------------------
  |  Branch (1641:17): [True: 0, False: 79.2k]
  ------------------
 1642|      0|                goto code_error;
 1643|  79.2k|            exceptiontable = r_object(p);
 1644|  79.2k|            if (exceptiontable == NULL)
  ------------------
  |  Branch (1644:17): [True: 0, False: 79.2k]
  ------------------
 1645|      0|                goto code_error;
 1646|       |
 1647|  79.2k|            struct _PyCodeConstructor con = {
 1648|  79.2k|                .filename = filename,
 1649|  79.2k|                .name = name,
 1650|  79.2k|                .qualname = qualname,
 1651|  79.2k|                .flags = flags,
 1652|       |
 1653|  79.2k|                .code = code,
 1654|  79.2k|                .firstlineno = firstlineno,
 1655|  79.2k|                .linetable = linetable,
 1656|       |
 1657|  79.2k|                .consts = consts,
 1658|  79.2k|                .names = names,
 1659|       |
 1660|  79.2k|                .localsplusnames = localsplusnames,
 1661|  79.2k|                .localspluskinds = localspluskinds,
 1662|       |
 1663|  79.2k|                .argcount = argcount,
 1664|  79.2k|                .posonlyargcount = posonlyargcount,
 1665|  79.2k|                .kwonlyargcount = kwonlyargcount,
 1666|       |
 1667|  79.2k|                .stacksize = stacksize,
 1668|       |
 1669|  79.2k|                .exceptiontable = exceptiontable,
 1670|  79.2k|            };
 1671|       |
 1672|  79.2k|            if (_PyCode_Validate(&con) < 0) {
  ------------------
  |  Branch (1672:17): [True: 0, False: 79.2k]
  ------------------
 1673|      0|                goto code_error;
 1674|      0|            }
 1675|       |
 1676|  79.2k|            v = (PyObject *)_PyCode_New(&con);
 1677|  79.2k|            if (v == NULL) {
  ------------------
  |  Branch (1677:17): [True: 0, False: 79.2k]
  ------------------
 1678|      0|                goto code_error;
 1679|      0|            }
 1680|       |
 1681|  79.2k|            v = r_ref_insert(v, idx, flag, p);
 1682|       |
 1683|  79.2k|          code_error:
 1684|  79.2k|            if (v == NULL && !PyErr_Occurred()) {
  ------------------
  |  Branch (1684:17): [True: 0, False: 79.2k]
  |  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|  79.2k|            Py_XDECREF(code);
  ------------------
  |  |  524|  79.2k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  79.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  79.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1689|  79.2k|            Py_XDECREF(consts);
  ------------------
  |  |  524|  79.2k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  79.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  79.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1690|  79.2k|            Py_XDECREF(names);
  ------------------
  |  |  524|  79.2k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  79.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  79.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1691|  79.2k|            Py_XDECREF(localsplusnames);
  ------------------
  |  |  524|  79.2k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  79.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  79.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1692|  79.2k|            Py_XDECREF(localspluskinds);
  ------------------
  |  |  524|  79.2k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  79.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  79.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1693|  79.2k|            Py_XDECREF(filename);
  ------------------
  |  |  524|  79.2k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  79.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  79.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1694|  79.2k|            Py_XDECREF(name);
  ------------------
  |  |  524|  79.2k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  79.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  79.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1695|  79.2k|            Py_XDECREF(qualname);
  ------------------
  |  |  524|  79.2k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  79.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  79.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1696|  79.2k|            Py_XDECREF(linetable);
  ------------------
  |  |  524|  79.2k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  79.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  79.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1697|  79.2k|            Py_XDECREF(exceptiontable);
  ------------------
  |  |  524|  79.2k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  79.2k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  79.2k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1698|  79.2k|        }
 1699|      0|        retval = v;
 1700|  79.2k|        break;
 1701|       |
 1702|   864k|    case TYPE_REF:
  ------------------
  |  |   99|   864k|#define TYPE_REF                'r'
  ------------------
  |  Branch (1702:5): [True: 864k, False: 1.28M]
  ------------------
 1703|   864k|        n = r_long(p);
 1704|   864k|        if (n < 0 || n >= PyList_GET_SIZE(p->refs)) {
  ------------------
  |  |   38|   864k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   864k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   864k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1704:13): [True: 0, False: 864k]
  |  Branch (1704:22): [True: 0, False: 864k]
  ------------------
 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|   864k|        v = PyList_GET_ITEM(p->refs, n);
  ------------------
  |  |   40|   864k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|   864k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   864k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1712|   864k|        if (v == Py_None) {
  ------------------
  |  |  616|   864k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1712:13): [True: 0, False: 864k]
  ------------------
 1713|      0|            PyErr_SetString(PyExc_ValueError, "bad marshal data (invalid reference)");
 1714|      0|            break;
 1715|      0|        }
 1716|   864k|        retval = Py_NewRef(v);
  ------------------
  |  |  550|   864k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|   864k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   864k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1717|   864k|        break;
 1718|       |
 1719|    431|    case TYPE_SLICE:
  ------------------
  |  |   79|    431|#define TYPE_SLICE              ':'
  ------------------
  |  Branch (1719:5): [True: 431, False: 2.15M]
  ------------------
 1720|    431|    {
 1721|    431|        Py_ssize_t idx = r_ref_reserve(flag, p);
 1722|    431|        if (idx < 0) {
  ------------------
  |  Branch (1722:13): [True: 0, False: 431]
  ------------------
 1723|      0|            break;
 1724|      0|        }
 1725|    431|        PyObject *stop = NULL;
 1726|    431|        PyObject *step = NULL;
 1727|    431|        PyObject *start = r_object(p);
 1728|    431|        if (start == NULL) {
  ------------------
  |  Branch (1728:13): [True: 0, False: 431]
  ------------------
 1729|      0|            goto cleanup;
 1730|      0|        }
 1731|    431|        stop = r_object(p);
 1732|    431|        if (stop == NULL) {
  ------------------
  |  Branch (1732:13): [True: 0, False: 431]
  ------------------
 1733|      0|            goto cleanup;
 1734|      0|        }
 1735|    431|        step = r_object(p);
 1736|    431|        if (step == NULL) {
  ------------------
  |  Branch (1736:13): [True: 0, False: 431]
  ------------------
 1737|      0|            goto cleanup;
 1738|      0|        }
 1739|    431|        retval = PySlice_New(start, stop, step);
 1740|    431|        r_ref_insert(retval, idx, flag, p);
 1741|    431|    cleanup:
 1742|    431|        Py_XDECREF(start);
  ------------------
  |  |  524|    431|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    431|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    431|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1743|    431|        Py_XDECREF(stop);
  ------------------
  |  |  524|    431|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    431|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    431|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1744|    431|        Py_XDECREF(step);
  ------------------
  |  |  524|    431|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    431|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    431|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1745|    431|        break;
 1746|    431|    }
 1747|       |
 1748|      0|    default:
  ------------------
  |  Branch (1748:5): [True: 0, False: 2.15M]
  ------------------
 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|  2.15M|    }
 1755|  2.15M|    p->depth--;
 1756|  2.15M|    return retval;
 1757|  2.15M|}
marshal.c:r_byte:
  910|  3.08M|{
  911|  3.08M|    if (p->ptr != NULL) {
  ------------------
  |  Branch (911:9): [True: 3.08M, False: 0]
  ------------------
  912|  3.08M|        if (p->ptr < p->end) {
  ------------------
  |  Branch (912:13): [True: 3.08M, False: 0]
  ------------------
  913|  3.08M|            return (unsigned char) *p->ptr++;
  914|  3.08M|        }
  915|  3.08M|    }
  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|  3.08M|}
marshal.c:r_ref:
 1161|   752k|{
 1162|   752k|    assert(flag & FLAG_REF);
 1163|   752k|    if (o == NULL)
  ------------------
  |  Branch (1163:9): [True: 0, False: 752k]
  ------------------
 1164|      0|        return NULL;
 1165|   752k|    if (PyList_Append(p->refs, o) < 0) {
  ------------------
  |  Branch (1165:9): [True: 0, False: 752k]
  ------------------
 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|   752k|    return o;
 1170|   752k|}
marshal.c:r_PyLong:
 1038|    122|{
 1039|    122|    long n = r_long(p);
 1040|    122|    if (n == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1040:9): [True: 0, False: 122]
  |  Branch (1040:20): [True: 0, False: 0]
  ------------------
 1041|      0|        return NULL;
 1042|      0|    }
 1043|    122|    if (n < -SIZE32_MAX || n > SIZE32_MAX) {
  ------------------
  |  |  212|    244|#define SIZE32_MAX  0x7FFFFFFF
  ------------------
                  if (n < -SIZE32_MAX || n > SIZE32_MAX) {
  ------------------
  |  |  212|    122|#define SIZE32_MAX  0x7FFFFFFF
  ------------------
  |  Branch (1043:9): [True: 0, False: 122]
  |  Branch (1043:28): [True: 0, False: 122]
  ------------------
 1044|      0|        PyErr_SetString(PyExc_ValueError,
 1045|      0|                       "bad marshal data (long size out of range)");
 1046|      0|        return NULL;
 1047|      0|    }
 1048|       |
 1049|    122|    const PyLongLayout *layout = PyLong_GetNativeLayout();
 1050|    122|    Py_ssize_t marshal_ratio = layout->bits_per_digit/PyLong_MARSHAL_SHIFT;
  ------------------
  |  |  245|    122|#define PyLong_MARSHAL_SHIFT 15
  ------------------
 1051|       |
 1052|       |    /* must be a multiple of PyLong_MARSHAL_SHIFT */
 1053|    122|    assert(layout->bits_per_digit % PyLong_MARSHAL_SHIFT == 0);
 1054|    122|    assert(layout->bits_per_digit >= PyLong_MARSHAL_SHIFT);
 1055|       |
 1056|       |    /* other assumptions on PyLongObject internals */
 1057|    122|    assert(layout->bits_per_digit <= 32);
 1058|    122|    assert(layout->digits_order == -1);
 1059|    122|    assert(layout->digit_endianness == (PY_LITTLE_ENDIAN ? -1 : 1));
 1060|    122|    assert(layout->digit_size == 2 || layout->digit_size == 4);
 1061|       |
 1062|    122|    Py_ssize_t size = 1 + (Py_ABS(n) - 1) / marshal_ratio;
  ------------------
  |  |  118|    122|#define Py_ABS(x) ((x) < 0 ? -(x) : (x))
  |  |  ------------------
  |  |  |  Branch (118:20): [True: 4, False: 118]
  |  |  ------------------
  ------------------
 1063|       |
 1064|    122|    assert(size >= 1);
 1065|       |
 1066|    122|    int shorts_in_top_digit = 1 + (Py_ABS(n) - 1) % marshal_ratio;
  ------------------
  |  |  118|    122|#define Py_ABS(x) ((x) < 0 ? -(x) : (x))
  |  |  ------------------
  |  |  |  Branch (118:20): [True: 4, False: 118]
  |  |  ------------------
  ------------------
 1067|    122|    void *digits;
 1068|    122|    PyLongWriter *writer = PyLongWriter_Create(n < 0, size, &digits);
 1069|       |
 1070|    122|    if (writer == NULL) {
  ------------------
  |  Branch (1070:9): [True: 0, False: 122]
  ------------------
 1071|      0|        return NULL;
 1072|      0|    }
 1073|       |
 1074|    122|    int ret;
 1075|       |
 1076|    122|    if (layout->digit_size == 4) {
  ------------------
  |  Branch (1076:9): [True: 122, False: 0]
  ------------------
 1077|    122|        ret = _w_digits32(digits, size, marshal_ratio, shorts_in_top_digit, p);
 1078|    122|    }
 1079|      0|    else {
 1080|      0|        ret = _w_digits16(digits, size, marshal_ratio, shorts_in_top_digit, p);
 1081|      0|    }
 1082|    122|    if (ret < 0) {
  ------------------
  |  Branch (1082:9): [True: 0, False: 122]
  ------------------
 1083|      0|        PyLongWriter_Discard(writer);
 1084|      0|        return NULL;
 1085|      0|    }
 1086|    122|    return PyLongWriter_Finish(writer);
 1087|    122|}
marshal.c:r_float_bin:
 1091|    239|{
 1092|    239|    const char *buf = r_string(8, p);
 1093|    239|    if (buf == NULL)
  ------------------
  |  Branch (1093:9): [True: 0, False: 239]
  ------------------
 1094|      0|        return -1;
 1095|    239|    return PyFloat_Unpack8(buf, 1);
 1096|    239|}
marshal.c:r_ref_reserve:
 1122|  79.7k|{
 1123|  79.7k|    if (flag) { /* currently only FLAG_REF is defined */
  ------------------
  |  Branch (1123:9): [True: 3.81k, False: 75.9k]
  ------------------
 1124|  3.81k|        Py_ssize_t idx = PyList_GET_SIZE(p->refs);
  ------------------
  |  |   38|  3.81k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.81k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.81k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1125|  3.81k|        if (idx >= 0x7ffffffe) {
  ------------------
  |  Branch (1125:13): [True: 0, False: 3.81k]
  ------------------
 1126|      0|            PyErr_SetString(PyExc_ValueError, "bad marshal data (index list too large)");
 1127|      0|            return -1;
 1128|      0|        }
 1129|  3.81k|        if (PyList_Append(p->refs, Py_None) < 0)
  ------------------
  |  |  616|  3.81k|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (1129:13): [True: 0, False: 3.81k]
  ------------------
 1130|      0|            return -1;
 1131|  3.81k|        return idx;
 1132|  3.81k|    } else
 1133|  75.9k|        return 0;
 1134|  79.7k|}
marshal.c:r_ref_insert:
 1146|  79.7k|{
 1147|  79.7k|    if (o != NULL && flag) { /* currently only FLAG_REF is defined */
  ------------------
  |  Branch (1147:9): [True: 79.7k, False: 0]
  |  Branch (1147:22): [True: 3.81k, False: 75.9k]
  ------------------
 1148|  3.81k|        PyObject *tmp = PyList_GET_ITEM(p->refs, idx);
  ------------------
  |  |   40|  3.81k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|  3.81k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.81k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1149|  3.81k|        PyList_SET_ITEM(p->refs, idx, Py_NewRef(o));
  ------------------
  |  |   50|  3.81k|    PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  3.81k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.81k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyList_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|  3.81k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.81k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1150|  3.81k|        Py_DECREF(tmp);
  ------------------
  |  |  430|  3.81k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.81k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.81k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1151|  3.81k|    }
 1152|  79.7k|    return o;
 1153|  79.7k|}
marshal.c:_PyMarshal_WriteObjectToString:
 1904|     93|{
 1905|     93|    WFILE wf;
 1906|       |
 1907|     93|    if (PySys_Audit("marshal.dumps", "Oi", x, version) < 0) {
  ------------------
  |  Branch (1907:9): [True: 0, False: 93]
  ------------------
 1908|      0|        return NULL;
 1909|      0|    }
 1910|     93|    memset(&wf, 0, sizeof(wf));
 1911|     93|    wf.str = PyBytes_FromStringAndSize((char *)NULL, 50);
 1912|     93|    if (wf.str == NULL)
  ------------------
  |  Branch (1912:9): [True: 0, False: 93]
  ------------------
 1913|      0|        return NULL;
 1914|     93|    wf.ptr = wf.buf = PyBytes_AS_STRING(wf.str);
  ------------------
  |  |   27|     93|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     93|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     93|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1915|     93|    wf.end = wf.ptr + PyBytes_GET_SIZE(wf.str);
  ------------------
  |  |   33|     93|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|     93|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     93|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1916|     93|    wf.error = WFERR_OK;
  ------------------
  |  |  104|     93|#define WFERR_OK 0
  ------------------
 1917|     93|    wf.version = version;
 1918|     93|    wf.allow_code = allow_code;
 1919|     93|    if (w_init_refs(&wf, version)) {
  ------------------
  |  Branch (1919:9): [True: 0, False: 93]
  ------------------
 1920|      0|        Py_DECREF(wf.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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1921|      0|        return NULL;
 1922|      0|    }
 1923|     93|    w_object(x, &wf);
 1924|     93|    w_clear_refs(&wf);
 1925|     93|    if (wf.str != NULL) {
  ------------------
  |  Branch (1925:9): [True: 93, False: 0]
  ------------------
 1926|     93|        const char *base = PyBytes_AS_STRING(wf.str);
  ------------------
  |  |   27|     93|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     93|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     93|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1927|     93|        if (_PyBytes_Resize(&wf.str, (Py_ssize_t)(wf.ptr - base)) < 0)
  ------------------
  |  Branch (1927:13): [True: 0, False: 93]
  ------------------
 1928|      0|            return NULL;
 1929|     93|    }
 1930|     93|    if (wf.error != WFERR_OK) {
  ------------------
  |  |  104|     93|#define WFERR_OK 0
  ------------------
  |  Branch (1930:9): [True: 0, False: 93]
  ------------------
 1931|      0|        Py_XDECREF(wf.str);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1932|      0|        switch (wf.error) {
 1933|      0|        case WFERR_NOMEMORY:
  ------------------
  |  |  107|      0|#define WFERR_NOMEMORY 3
  ------------------
  |  Branch (1933:9): [True: 0, False: 0]
  ------------------
 1934|      0|            PyErr_NoMemory();
 1935|      0|            break;
 1936|      0|        case WFERR_NESTEDTOODEEP:
  ------------------
  |  |  106|      0|#define WFERR_NESTEDTOODEEP 2
  ------------------
  |  Branch (1936:9): [True: 0, False: 0]
  ------------------
 1937|      0|            PyErr_SetString(PyExc_ValueError,
 1938|      0|                            "object too deeply nested to marshal");
 1939|      0|            break;
 1940|      0|        case WFERR_CODE_NOT_ALLOWED:
  ------------------
  |  |  108|      0|#define WFERR_CODE_NOT_ALLOWED 4
  ------------------
  |  Branch (1940:9): [True: 0, False: 0]
  ------------------
 1941|      0|            PyErr_SetString(PyExc_ValueError,
 1942|      0|                            "marshalling code objects is disallowed");
 1943|      0|            break;
 1944|      0|        default:
  ------------------
  |  Branch (1944:9): [True: 0, False: 0]
  ------------------
 1945|      0|        case WFERR_UNMARSHALLABLE:
  ------------------
  |  |  105|      0|#define WFERR_UNMARSHALLABLE 1
  ------------------
  |  Branch (1945:9): [True: 0, False: 0]
  ------------------
 1946|      0|            PyErr_SetString(PyExc_ValueError,
 1947|      0|                            "unmarshallable object");
 1948|      0|            break;
 1949|      0|        }
 1950|      0|        return NULL;
 1951|      0|    }
 1952|     93|    return wf.str;
 1953|     93|}
marshal.c:marshal_dumps_impl:
 2086|     45|{
 2087|     45|    return _PyMarshal_WriteObjectToString(value, version, allow_code);
 2088|     45|}
marshal.c:marshal_loads_impl:
 2108|  3.89k|{
 2109|  3.89k|    RFILE rf;
 2110|  3.89k|    char *s = bytes->buf;
 2111|  3.89k|    Py_ssize_t n = bytes->len;
 2112|  3.89k|    PyObject* result;
 2113|  3.89k|    rf.allow_code = allow_code;
 2114|  3.89k|    rf.fp = NULL;
 2115|  3.89k|    rf.readable = NULL;
 2116|  3.89k|    rf.ptr = s;
 2117|  3.89k|    rf.end = s + n;
 2118|  3.89k|    rf.depth = 0;
 2119|  3.89k|    if ((rf.refs = PyList_New(0)) == NULL)
  ------------------
  |  Branch (2119:9): [True: 0, False: 3.89k]
  ------------------
 2120|      0|        return NULL;
 2121|  3.89k|    result = read_object(&rf);
 2122|  3.89k|    Py_DECREF(rf.refs);
  ------------------
  |  |  430|  3.89k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.89k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.89k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2123|  3.89k|    return result;
 2124|  3.89k|}
marshal.c:marshal_module_exec:
 2167|      2|{
 2168|      2|    if (PyModule_AddIntConstant(mod, "version", Py_MARSHAL_VERSION) < 0) {
  ------------------
  |  |    9|      2|#define Py_MARSHAL_VERSION 6
  ------------------
  |  Branch (2168:9): [True: 0, False: 2]
  ------------------
 2169|      0|        return -1;
 2170|      0|    }
 2171|      2|    return 0;
 2172|      2|}

_Py_convert_optional_to_ssize_t:
   16|    266|{
   17|    266|    Py_ssize_t limit;
   18|    266|    if (obj == Py_None) {
  ------------------
  |  |  616|    266|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (18:9): [True: 0, False: 266]
  ------------------
   19|      0|        return 1;
   20|      0|    }
   21|    266|    else if (_PyIndex_Check(obj)) {
  ------------------
  |  Branch (21:14): [True: 266, False: 0]
  ------------------
   22|    266|        limit = PyNumber_AsSsize_t(obj, PyExc_OverflowError);
   23|    266|        if (limit == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (23:13): [True: 2, False: 264]
  |  Branch (23:28): [True: 0, False: 2]
  ------------------
   24|      0|            return 0;
   25|      0|        }
   26|    266|    }
   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|    266|    *((Py_ssize_t *)result) = limit;
   34|    266|    return 1;
   35|    266|}
Py_BuildValue:
  497|   102k|{
  498|   102k|    va_list va;
  499|   102k|    PyObject* retval;
  500|   102k|    va_start(va, format);
  501|   102k|    retval = va_build_value(format, va);
  502|       |    va_end(va);
  503|   102k|    return retval;
  504|   102k|}
_Py_VaBuildStack:
  555|  74.8k|{
  556|  74.8k|    const char *f;
  557|  74.8k|    Py_ssize_t n;
  558|  74.8k|    va_list lva;
  559|  74.8k|    PyObject **stack;
  560|  74.8k|    int res;
  561|       |
  562|  74.8k|    n = countformat(format, '\0');
  563|  74.8k|    if (n < 0) {
  ------------------
  |  Branch (563:9): [True: 0, False: 74.8k]
  ------------------
  564|      0|        *p_nargs = 0;
  565|      0|        return NULL;
  566|      0|    }
  567|       |
  568|  74.8k|    if (n == 0) {
  ------------------
  |  Branch (568:9): [True: 0, False: 74.8k]
  ------------------
  569|      0|        *p_nargs = 0;
  570|      0|        return small_stack;
  571|      0|    }
  572|       |
  573|  74.8k|    if (n <= small_stack_len) {
  ------------------
  |  Branch (573:9): [True: 74.8k, False: 12]
  ------------------
  574|  74.8k|        stack = small_stack;
  575|  74.8k|    }
  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|  74.8k|    va_copy(lva, va);
  585|  74.8k|    f = format;
  586|  74.8k|    res = do_mkstack(stack, &f, &lva, '\0', n);
  587|  74.8k|    va_end(lva);
  588|       |
  589|  74.8k|    if (res < 0) {
  ------------------
  |  Branch (589:9): [True: 0, False: 74.8k]
  ------------------
  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|  74.8k|    *p_nargs = n;
  597|  74.8k|    return stack;
  598|  74.8k|}
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|   102k|{
  532|   102k|    const char *f = format;
  533|   102k|    Py_ssize_t n = countformat(f, '\0');
  534|   102k|    va_list lva;
  535|   102k|    PyObject *retval;
  536|       |
  537|   102k|    if (n < 0)
  ------------------
  |  Branch (537:9): [True: 0, False: 102k]
  ------------------
  538|      0|        return NULL;
  539|   102k|    if (n == 0) {
  ------------------
  |  Branch (539:9): [True: 0, False: 102k]
  ------------------
  540|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  541|      0|    }
  542|   102k|    va_copy(lva, va);
  543|   102k|    if (n == 1) {
  ------------------
  |  Branch (543:9): [True: 99.3k, False: 2.68k]
  ------------------
  544|  99.3k|        retval = do_mkvalue(&f, &lva);
  545|  99.3k|    } else {
  546|  2.68k|        retval = do_mktuple(&f, &lva, '\0', n);
  547|  2.68k|    }
  548|       |    va_end(lva);
  549|   102k|    return retval;
  550|   102k|}
modsupport.c:do_mkvalue:
  287|   928k|{
  288|   928k|    for (;;) {
  289|   928k|        switch (*(*p_format)++) {
  290|   122k|        case '(':
  ------------------
  |  Branch (290:9): [True: 122k, False: 806k]
  ------------------
  291|   122k|            return do_mktuple(p_format, p_va, ')',
  292|   122k|                              countformat(*p_format, ')'));
  293|       |
  294|      0|        case '[':
  ------------------
  |  Branch (294:9): [True: 0, False: 928k]
  ------------------
  295|      0|            return do_mklist(p_format, p_va, ']',
  296|      0|                             countformat(*p_format, ']'));
  297|       |
  298|  3.04k|        case '{':
  ------------------
  |  Branch (298:9): [True: 3.04k, False: 925k]
  ------------------
  299|  3.04k|            return do_mkdict(p_format, p_va, '}',
  300|  3.04k|                             countformat(*p_format, '}'));
  301|       |
  302|      0|        case 'b':
  ------------------
  |  Branch (302:9): [True: 0, False: 928k]
  ------------------
  303|      0|        case 'B':
  ------------------
  |  Branch (303:9): [True: 0, False: 928k]
  ------------------
  304|      0|        case 'h':
  ------------------
  |  Branch (304:9): [True: 0, False: 928k]
  ------------------
  305|   235k|        case 'i':
  ------------------
  |  Branch (305:9): [True: 235k, False: 693k]
  ------------------
  306|   235k|            return PyLong_FromLong((long)va_arg(*p_va, int));
  307|       |
  308|      0|        case 'H':
  ------------------
  |  Branch (308:9): [True: 0, False: 928k]
  ------------------
  309|      0|            return PyLong_FromLong((long)va_arg(*p_va, unsigned int));
  310|       |
  311|     20|        case 'I':
  ------------------
  |  Branch (311:9): [True: 20, False: 928k]
  ------------------
  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|   181k|        case 'n':
  ------------------
  |  Branch (318:9): [True: 181k, False: 747k]
  ------------------
  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|   181k|            _Py_FALLTHROUGH;
  ------------------
  |  |  644|   181k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  324|   181k|        case 'l':
  ------------------
  |  Branch (324:9): [True: 0, False: 928k]
  ------------------
  325|   181k|            return PyLong_FromLong(va_arg(*p_va, long));
  326|       |
  327|      0|        case 'k':
  ------------------
  |  Branch (327:9): [True: 0, False: 928k]
  ------------------
  328|      0|        {
  329|      0|            unsigned long n;
  330|      0|            n = va_arg(*p_va, unsigned long);
  331|      0|            return PyLong_FromUnsignedLong(n);
  332|   181k|        }
  333|       |
  334|      0|        case 'L':
  ------------------
  |  Branch (334:9): [True: 0, False: 928k]
  ------------------
  335|      0|            return PyLong_FromLongLong((long long)va_arg(*p_va, long long));
  336|       |
  337|      0|        case 'K':
  ------------------
  |  Branch (337:9): [True: 0, False: 928k]
  ------------------
  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: 928k]
  ------------------
  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|   181k|        }
  362|      0|        case 'f':
  ------------------
  |  Branch (362:9): [True: 0, False: 928k]
  ------------------
  363|  2.79k|        case 'd':
  ------------------
  |  Branch (363:9): [True: 2.79k, False: 925k]
  ------------------
  364|  2.79k|            return PyFloat_FromDouble(
  365|  2.79k|                (double)va_arg(*p_va, va_double));
  366|       |
  367|      0|        case 'D':
  ------------------
  |  Branch (367:9): [True: 0, False: 928k]
  ------------------
  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: 928k]
  ------------------
  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: 928k]
  ------------------
  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: 928k]
  ------------------
  383|      0|        {
  384|      0|            int i = va_arg(*p_va, int);
  385|      0|            return PyBool_FromLong(i);
  386|      0|        }
  387|       |
  388|  82.5k|        case 's':
  ------------------
  |  Branch (388:9): [True: 82.5k, False: 846k]
  ------------------
  389|  82.5k|        case 'z':
  ------------------
  |  Branch (389:9): [True: 8, False: 928k]
  ------------------
  390|  82.5k|        case 'U':   /* XXX deprecated alias */
  ------------------
  |  Branch (390:9): [True: 0, False: 928k]
  ------------------
  391|  82.5k|        {
  392|  82.5k|            PyObject *v;
  393|  82.5k|            const char *str = va_arg(*p_va, const char *);
  394|  82.5k|            Py_ssize_t n;
  395|  82.5k|            if (**p_format == '#') {
  ------------------
  |  Branch (395:17): [True: 0, False: 82.5k]
  ------------------
  396|      0|                ++*p_format;
  397|      0|                n = va_arg(*p_va, Py_ssize_t);
  398|      0|            }
  399|  82.5k|            else
  400|  82.5k|                n = -1;
  401|  82.5k|            if (str == NULL) {
  ------------------
  |  Branch (401:17): [True: 10, False: 82.5k]
  ------------------
  402|     10|                v = 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  403|     10|            }
  404|  82.5k|            else {
  405|  82.5k|                if (n < 0) {
  ------------------
  |  Branch (405:21): [True: 82.5k, False: 0]
  ------------------
  406|  82.5k|                    size_t m = strlen(str);
  407|  82.5k|                    if (m > PY_SSIZE_T_MAX) {
  ------------------
  |  |  137|  82.5k|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (407:25): [True: 0, False: 82.5k]
  ------------------
  408|      0|                        PyErr_SetString(PyExc_OverflowError,
  409|      0|                            "string too long for Python string");
  410|      0|                        return NULL;
  411|      0|                    }
  412|  82.5k|                    n = (Py_ssize_t)m;
  413|  82.5k|                }
  414|  82.5k|                v = PyUnicode_FromStringAndSize(str, n);
  415|  82.5k|            }
  416|  82.5k|            return v;
  417|  82.5k|        }
  418|       |
  419|      0|        case 'y':
  ------------------
  |  Branch (419:9): [True: 0, False: 928k]
  ------------------
  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|  55.4k|        case 'N':
  ------------------
  |  Branch (448:9): [True: 55.4k, False: 873k]
  ------------------
  449|  55.4k|        case 'S':
  ------------------
  |  Branch (449:9): [True: 0, False: 928k]
  ------------------
  450|   300k|        case 'O':
  ------------------
  |  Branch (450:9): [True: 245k, False: 683k]
  ------------------
  451|   300k|        if (**p_format == '&') {
  ------------------
  |  Branch (451:13): [True: 0, False: 300k]
  ------------------
  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|   300k|        else {
  459|   300k|            PyObject *v;
  460|   300k|            v = va_arg(*p_va, PyObject *);
  461|   300k|            if (v != NULL) {
  ------------------
  |  Branch (461:17): [True: 300k, False: 0]
  ------------------
  462|   300k|                if (*(*p_format - 1) != 'N')
  ------------------
  |  Branch (462:21): [True: 245k, False: 55.4k]
  ------------------
  463|   245k|                    Py_INCREF(v);
  ------------------
  |  |  310|   245k|#  define Py_INCREF(op) Py_INCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   245k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   245k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  464|   300k|            }
  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|   300k|            return v;
  477|   300k|        }
  478|       |
  479|      0|        case ':':
  ------------------
  |  Branch (479:9): [True: 0, False: 928k]
  ------------------
  480|      0|        case ',':
  ------------------
  |  Branch (480:9): [True: 0, False: 928k]
  ------------------
  481|      0|        case ' ':
  ------------------
  |  Branch (481:9): [True: 0, False: 928k]
  ------------------
  482|      0|        case '\t':
  ------------------
  |  Branch (482:9): [True: 0, False: 928k]
  ------------------
  483|      0|            break;
  484|       |
  485|      0|        default:
  ------------------
  |  Branch (485:9): [True: 0, False: 928k]
  ------------------
  486|      0|            PyErr_SetString(PyExc_SystemError,
  487|      0|                "bad format char passed to Py_BuildValue");
  488|      0|            return NULL;
  489|       |
  490|   928k|        }
  491|   928k|    }
  492|   928k|}
modsupport.c:check_end:
  107|   203k|{
  108|   203k|    const char *f = *p_format;
  109|   203k|    while (*f != endchar) {
  ------------------
  |  Branch (109:12): [True: 0, False: 203k]
  ------------------
  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|   203k|    if (endchar) {
  ------------------
  |  Branch (117:9): [True: 125k, False: 77.5k]
  ------------------
  118|   125k|        f++;
  119|   125k|    }
  120|   203k|    *p_format = f;
  121|   203k|    return 1;
  122|   203k|}
modsupport.c:do_mkdict:
  150|  3.04k|{
  151|  3.04k|    PyObject *d;
  152|  3.04k|    Py_ssize_t i;
  153|  3.04k|    if (n < 0)
  ------------------
  |  Branch (153:9): [True: 0, False: 3.04k]
  ------------------
  154|      0|        return NULL;
  155|  3.04k|    if (n % 2) {
  ------------------
  |  Branch (155:9): [True: 0, False: 3.04k]
  ------------------
  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.04k|    if ((d = PyDict_New()) == NULL) {
  ------------------
  |  Branch (163:9): [True: 0, False: 3.04k]
  ------------------
  164|      0|        do_ignore(p_format, p_va, endchar, n);
  165|      0|        return NULL;
  166|      0|    }
  167|  18.0k|    for (i = 0; i < n; i+= 2) {
  ------------------
  |  Branch (167:17): [True: 14.9k, False: 3.04k]
  ------------------
  168|  14.9k|        PyObject *k, *v;
  169|       |
  170|  14.9k|        k = do_mkvalue(p_format, p_va);
  171|  14.9k|        if (k == NULL) {
  ------------------
  |  Branch (171:13): [True: 0, False: 14.9k]
  ------------------
  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|  14.9k|        v = do_mkvalue(p_format, p_va);
  177|  14.9k|        if (v == NULL || PyDict_SetItem(d, k, v) < 0) {
  ------------------
  |  Branch (177:13): [True: 0, False: 14.9k]
  |  Branch (177:26): [True: 0, False: 14.9k]
  ------------------
  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|  14.9k|        Py_DECREF(k);
  ------------------
  |  |  430|  14.9k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  14.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  185|  14.9k|        Py_DECREF(v);
  ------------------
  |  |  430|  14.9k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  14.9k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  14.9k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  186|  14.9k|    }
  187|  3.04k|    if (!check_end(p_format, endchar)) {
  ------------------
  |  Branch (187:9): [True: 0, False: 3.04k]
  ------------------
  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.04k|    return d;
  192|  3.04k|}
modsupport.c:do_mktuple:
  258|   125k|{
  259|   125k|    PyObject *v;
  260|   125k|    Py_ssize_t i;
  261|   125k|    if (n < 0)
  ------------------
  |  Branch (261:9): [True: 0, False: 125k]
  ------------------
  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|   125k|    if ((v = PyTuple_New(n)) == NULL) {
  ------------------
  |  Branch (265:9): [True: 0, False: 125k]
  ------------------
  266|      0|        do_ignore(p_format, p_va, endchar, n);
  267|      0|        return NULL;
  268|      0|    }
  269|   626k|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (269:17): [True: 501k, False: 125k]
  ------------------
  270|   501k|        PyObject *w = do_mkvalue(p_format, p_va);
  271|   501k|        if (w == NULL) {
  ------------------
  |  Branch (271:13): [True: 0, False: 501k]
  ------------------
  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|   501k|        PyTuple_SET_ITEM(v, i, w);
  ------------------
  |  |   40|   501k|    PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   501k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   501k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
  |  |  ------------------
  |  |  |  |  171|   501k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   501k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  277|   501k|    }
  278|   125k|    if (!check_end(p_format, endchar)) {
  ------------------
  |  Branch (278:9): [True: 0, False: 125k]
  ------------------
  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|   125k|    return v;
  283|   125k|}
modsupport.c:countformat:
   55|   302k|{
   56|   302k|    Py_ssize_t count = 0;
   57|   302k|    int level = 0;
   58|  2.00M|    while (level > 0 || *format != endchar) {
  ------------------
  |  Branch (58:12): [True: 775k, False: 1.23M]
  |  Branch (58:25): [True: 928k, False: 302k]
  ------------------
   59|  1.70M|        switch (*format) {
   60|      0|        case '\0':
  ------------------
  |  Branch (60:9): [True: 0, False: 1.70M]
  ------------------
   61|       |            /* Premature end */
   62|      0|            PyErr_SetString(PyExc_SystemError,
   63|      0|                            "unmatched paren in format");
   64|      0|            return -1;
   65|   136k|        case '(':
  ------------------
  |  Branch (65:9): [True: 136k, False: 1.56M]
  ------------------
   66|   136k|        case '[':
  ------------------
  |  Branch (66:9): [True: 0, False: 1.70M]
  ------------------
   67|   139k|        case '{':
  ------------------
  |  Branch (67:9): [True: 3.04k, False: 1.70M]
  ------------------
   68|   139k|            if (level == 0) {
  ------------------
  |  Branch (68:17): [True: 125k, False: 13.8k]
  ------------------
   69|   125k|                count++;
   70|   125k|            }
   71|   139k|            level++;
   72|   139k|            break;
   73|   136k|        case ')':
  ------------------
  |  Branch (73:9): [True: 136k, False: 1.56M]
  ------------------
   74|   136k|        case ']':
  ------------------
  |  Branch (74:9): [True: 0, False: 1.70M]
  ------------------
   75|   139k|        case '}':
  ------------------
  |  Branch (75:9): [True: 3.04k, False: 1.70M]
  ------------------
   76|   139k|            level--;
   77|   139k|            break;
   78|      0|        case '#':
  ------------------
  |  Branch (78:9): [True: 0, False: 1.70M]
  ------------------
   79|      0|        case '&':
  ------------------
  |  Branch (79:9): [True: 0, False: 1.70M]
  ------------------
   80|      0|        case ',':
  ------------------
  |  Branch (80:9): [True: 0, False: 1.70M]
  ------------------
   81|      0|        case ':':
  ------------------
  |  Branch (81:9): [True: 0, False: 1.70M]
  ------------------
   82|      0|        case ' ':
  ------------------
  |  Branch (82:9): [True: 0, False: 1.70M]
  ------------------
   83|      0|        case '\t':
  ------------------
  |  Branch (83:9): [True: 0, False: 1.70M]
  ------------------
   84|      0|            break;
   85|  1.42M|        default:
  ------------------
  |  Branch (85:9): [True: 1.42M, False: 278k]
  ------------------
   86|  1.42M|            if (level == 0) {
  ------------------
  |  Branch (86:17): [True: 803k, False: 622k]
  ------------------
   87|   803k|                count++;
   88|   803k|            }
   89|  1.70M|        }
   90|  1.70M|        format++;
   91|  1.70M|    }
   92|   302k|    return count;
   93|   302k|}
modsupport.c:do_mkstack:
  227|  74.8k|{
  228|  74.8k|    Py_ssize_t i;
  229|       |
  230|  74.8k|    if (n < 0) {
  ------------------
  |  Branch (230:9): [True: 0, False: 74.8k]
  ------------------
  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|   372k|    for (i = 0; i < n; i++) {
  ------------------
  |  Branch (235:17): [True: 298k, False: 74.8k]
  ------------------
  236|   298k|        PyObject *w = do_mkvalue(p_format, p_va);
  237|   298k|        if (w == NULL) {
  ------------------
  |  Branch (237:13): [True: 0, False: 298k]
  ------------------
  238|      0|            do_ignore(p_format, p_va, endchar, n - i - 1);
  239|      0|            goto error;
  240|      0|        }
  241|   298k|        stack[i] = w;
  242|   298k|    }
  243|  74.8k|    if (!check_end(p_format, endchar)) {
  ------------------
  |  Branch (243:9): [True: 0, False: 74.8k]
  ------------------
  244|      0|        goto error;
  245|      0|    }
  246|  74.8k|    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|  74.8k|}

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|  1.95k|{
  103|  1.95k|    unsigned long result = 0; /* return value of the function */
  104|  1.95k|    int c;             /* current input character */
  105|  1.95k|    int ovlimit;       /* required digits to overflow */
  106|       |
  107|       |    /* skip leading white space */
  108|  1.95k|    while (*str && Py_ISSPACE(*str))
  ------------------
  |  |   27|  1.95k|#define Py_ISSPACE(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_SPACE)
  |  |  ------------------
  |  |  |  |  138|  1.95k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISSPACE(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_SPACE)
  |  |  ------------------
  |  |  |  |   13|  1.95k|#define PY_CTF_SPACE  0x08
  |  |  ------------------
  |  |  |  Branch (27:24): [True: 0, False: 1.95k]
  |  |  ------------------
  ------------------
  |  Branch (108:12): [True: 1.95k, False: 0]
  ------------------
  109|      0|        ++str;
  110|       |
  111|       |    /* check for leading 0b, 0o or 0x for auto-base or base 16 */
  112|  1.95k|    switch (base) {
  ------------------
  |  Branch (112:13): [True: 1.95k, False: 0]
  ------------------
  113|  1.95k|    case 0:             /* look for leading 0b, 0o or 0x */
  ------------------
  |  Branch (113:5): [True: 1.95k, False: 0]
  ------------------
  114|  1.95k|        if (*str == '0') {
  ------------------
  |  Branch (114:13): [True: 867, False: 1.09k]
  ------------------
  115|    867|            ++str;
  116|    867|            if (*str == 'x' || *str == 'X') {
  ------------------
  |  Branch (116:17): [True: 8, False: 859]
  |  Branch (116:32): [True: 0, False: 859]
  ------------------
  117|       |                /* there must be at least one digit after 0x */
  118|      8|                if (_PyLong_DigitValue[Py_CHARMASK(str[1])] >= 16) {
  ------------------
  |  |  138|      8|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
  |  Branch (118:21): [True: 0, False: 8]
  ------------------
  119|      0|                    if (ptr)
  ------------------
  |  Branch (119:25): [True: 0, False: 0]
  ------------------
  120|      0|                        *ptr = (char *)str;
  121|      0|                    return 0;
  122|      0|                }
  123|      8|                ++str;
  124|      8|                base = 16;
  125|    859|            } else if (*str == 'o' || *str == 'O') {
  ------------------
  |  Branch (125:24): [True: 0, False: 859]
  |  Branch (125:39): [True: 0, False: 859]
  ------------------
  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|    859|            } else if (*str == 'b' || *str == 'B') {
  ------------------
  |  Branch (134:24): [True: 0, False: 859]
  |  Branch (134:39): [True: 0, False: 859]
  ------------------
  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|    859|            } else {
  144|       |                /* skip all zeroes... */
  145|    859|                while (*str == '0')
  ------------------
  |  Branch (145:24): [True: 0, False: 859]
  ------------------
  146|      0|                    ++str;
  147|    859|                while (Py_ISSPACE(*str))
  ------------------
  |  |   27|    859|#define Py_ISSPACE(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_SPACE)
  |  |  ------------------
  |  |  |  |  138|    859|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISSPACE(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_SPACE)
  |  |  ------------------
  |  |  |  |   13|    859|#define PY_CTF_SPACE  0x08
  |  |  ------------------
  |  |  |  Branch (27:24): [True: 0, False: 859]
  |  |  ------------------
  ------------------
  148|      0|                    ++str;
  149|    859|                if (ptr)
  ------------------
  |  Branch (149:21): [True: 859, False: 0]
  ------------------
  150|    859|                    *ptr = (char *)str;
  151|    859|                return 0;
  152|    859|            }
  153|    867|        }
  154|  1.09k|        else
  155|  1.09k|            base = 10;
  156|  1.10k|        break;
  157|       |
  158|       |    /* even with explicit base, skip leading 0? prefix */
  159|  1.10k|    case 16:
  ------------------
  |  Branch (159:5): [True: 0, False: 1.95k]
  ------------------
  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: 1.95k]
  ------------------
  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: 1.95k]
  ------------------
  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|  1.95k|    }
  202|       |
  203|       |    /* catch silly bases */
  204|  1.10k|    if (base < 2 || base > 36) {
  ------------------
  |  Branch (204:9): [True: 0, False: 1.10k]
  |  Branch (204:21): [True: 0, False: 1.10k]
  ------------------
  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|  1.10k|    while (*str == '0')
  ------------------
  |  Branch (211:12): [True: 0, False: 1.10k]
  ------------------
  212|      0|        ++str;
  213|       |
  214|       |    /* base is guaranteed to be in [2, 36] at this point */
  215|  1.10k|    ovlimit = digitlimit[base];
  216|       |
  217|       |    /* do the conversion until non-digit character encountered */
  218|  2.49k|    while ((c = _PyLong_DigitValue[Py_CHARMASK(*str)]) < base) {
  ------------------
  |  |  138|  2.49k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  ------------------
  |  Branch (218:12): [True: 1.39k, False: 1.10k]
  ------------------
  219|  1.39k|        if (ovlimit > 0) /* no overflow check required */
  ------------------
  |  Branch (219:13): [True: 1.39k, False: 0]
  ------------------
  220|  1.39k|            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|  1.39k|        ++str;
  243|  1.39k|        --ovlimit;
  244|  1.39k|    }
  245|       |
  246|       |    /* set pointer to point to the last character scanned */
  247|  1.10k|    if (ptr)
  ------------------
  |  Branch (247:9): [True: 1.10k, False: 0]
  ------------------
  248|  1.10k|        *ptr = (char *)str;
  249|       |
  250|  1.10k|    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|  1.10k|}
PyOS_strtol:
  270|  1.09k|{
  271|  1.09k|    long result;
  272|  1.09k|    unsigned long uresult;
  273|  1.09k|    char sign;
  274|       |
  275|  1.09k|    while (*str && Py_ISSPACE(*str))
  ------------------
  |  |   27|  1.09k|#define Py_ISSPACE(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_SPACE)
  |  |  ------------------
  |  |  |  |  138|  1.09k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  |  |               #define Py_ISSPACE(c)  (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_SPACE)
  |  |  ------------------
  |  |  |  |   13|  1.09k|#define PY_CTF_SPACE  0x08
  |  |  ------------------
  |  |  |  Branch (27:24): [True: 0, False: 1.09k]
  |  |  ------------------
  ------------------
  |  Branch (275:12): [True: 1.09k, False: 0]
  ------------------
  276|      0|        str++;
  277|       |
  278|  1.09k|    sign = *str;
  279|  1.09k|    if (sign == '+' || sign == '-')
  ------------------
  |  Branch (279:9): [True: 0, False: 1.09k]
  |  Branch (279:24): [True: 0, False: 1.09k]
  ------------------
  280|      0|        str++;
  281|       |
  282|  1.09k|    uresult = PyOS_strtoul(str, ptr, base);
  283|       |
  284|  1.09k|    if (uresult <= (unsigned long)LONG_MAX) {
  ------------------
  |  Branch (284:9): [True: 1.09k, False: 0]
  ------------------
  285|  1.09k|        result = (long)uresult;
  286|  1.09k|        if (sign == '-')
  ------------------
  |  Branch (286:13): [True: 0, False: 1.09k]
  ------------------
  287|      0|            result = -result;
  288|  1.09k|    }
  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|  1.09k|    return result;
  297|  1.09k|}

_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|  27.4k|{
  127|  27.4k|    PyArena* arena = (PyArena *)PyMem_Malloc(sizeof(PyArena));
  128|  27.4k|    if (!arena)
  ------------------
  |  Branch (128:9): [True: 0, False: 27.4k]
  ------------------
  129|      0|        return (PyArena*)PyErr_NoMemory();
  130|       |
  131|  27.4k|    arena->a_head = block_new(DEFAULT_BLOCK_SIZE);
  ------------------
  |  |   11|  27.4k|#define DEFAULT_BLOCK_SIZE 8192
  ------------------
  132|  27.4k|    arena->a_cur = arena->a_head;
  133|  27.4k|    if (!arena->a_head) {
  ------------------
  |  Branch (133:9): [True: 0, False: 27.4k]
  ------------------
  134|      0|        PyMem_Free((void *)arena);
  135|      0|        return (PyArena*)PyErr_NoMemory();
  136|      0|    }
  137|  27.4k|    arena->a_objects = PyList_New(0);
  138|  27.4k|    if (!arena->a_objects) {
  ------------------
  |  Branch (138:9): [True: 0, False: 27.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|  27.4k|    return arena;
  151|  27.4k|}
_PyArena_Free:
  155|  27.4k|{
  156|  27.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|  27.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|  27.4k|    Py_DECREF(arena->a_objects);
  ------------------
  |  |  430|  27.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  27.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  27.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  173|  27.4k|    PyMem_Free(arena);
  174|  27.4k|}
_PyArena_Malloc:
  178|  12.2M|{
  179|  12.2M|    void *p = block_alloc(arena->a_cur, size);
  180|  12.2M|    if (!p)
  ------------------
  |  Branch (180:9): [True: 0, False: 12.2M]
  ------------------
  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|  12.2M|    if (arena->a_cur->ab_next) {
  ------------------
  |  Branch (187:9): [True: 58.4k, False: 12.2M]
  ------------------
  188|  58.4k|        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|  58.4k|    }
  196|  12.2M|    return p;
  197|  12.2M|}
_PyArena_AddPyObject:
  201|  3.76M|{
  202|  3.76M|    int r = PyList_Append(arena->a_objects, obj);
  203|  3.76M|    if (r >= 0) {
  ------------------
  |  Branch (203:9): [True: 3.76M, False: 0]
  ------------------
  204|  3.76M|        Py_DECREF(obj);
  ------------------
  |  |  430|  3.76M|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.76M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.76M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  205|  3.76M|    }
  206|  3.76M|    return r;
  207|  3.76M|}
pyarena.c:block_new:
   75|  85.8k|{
   76|       |    /* Allocate header and block as one unit.
   77|       |       ab_mem points just past header. */
   78|  85.8k|    block *b = (block *)PyMem_Malloc(sizeof(block) + size);
   79|  85.8k|    if (!b)
  ------------------
  |  Branch (79:9): [True: 0, False: 85.8k]
  ------------------
   80|      0|        return NULL;
   81|  85.8k|    b->ab_size = size;
   82|  85.8k|    b->ab_mem = (void *)(b + 1);
   83|  85.8k|    b->ab_next = NULL;
   84|  85.8k|    b->ab_offset = (char *)_Py_ALIGN_UP(b->ab_mem, ALIGNMENT) -
  ------------------
  |  |  218|  85.8k|#define _Py_ALIGN_UP(p, a) ((void *)(((uintptr_t)(p) + \
  |  |  219|  85.8k|        (uintptr_t)((a) - 1)) & ~(uintptr_t)((a) - 1)))
  ------------------
   85|  85.8k|            (char *)(b->ab_mem);
   86|  85.8k|    return b;
   87|  85.8k|}
pyarena.c:block_free:
   90|  27.4k|block_free(block *b) {
   91|   113k|    while (b) {
  ------------------
  |  Branch (91:12): [True: 85.8k, False: 27.4k]
  ------------------
   92|  85.8k|        block *next = b->ab_next;
   93|  85.8k|        PyMem_Free(b);
   94|  85.8k|        b = next;
   95|  85.8k|    }
   96|  27.4k|}
pyarena.c:block_alloc:
  100|  12.2M|{
  101|  12.2M|    void *p;
  102|  12.2M|    assert(b);
  103|  12.2M|    size = _Py_SIZE_ROUND_UP(size, ALIGNMENT);
  ------------------
  |  |  213|  12.2M|#define _Py_SIZE_ROUND_UP(n, a) (((size_t)(n) + \
  |  |  214|  12.2M|        (size_t)((a) - 1)) & ~(size_t)((a) - 1))
  ------------------
  104|  12.2M|    if (b->ab_offset + size > b->ab_size) {
  ------------------
  |  Branch (104:9): [True: 58.4k, False: 12.2M]
  ------------------
  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|  58.4k|        block *newbl = block_new(
  109|  58.4k|                        size < DEFAULT_BLOCK_SIZE ?
  ------------------
  |  |   11|  58.4k|#define DEFAULT_BLOCK_SIZE 8192
  ------------------
  |  Branch (109:25): [True: 58.4k, False: 0]
  ------------------
  110|  58.4k|                        DEFAULT_BLOCK_SIZE : size);
  ------------------
  |  |   11|  58.4k|#define DEFAULT_BLOCK_SIZE 8192
  ------------------
  111|  58.4k|        if (!newbl)
  ------------------
  |  Branch (111:13): [True: 0, False: 58.4k]
  ------------------
  112|      0|            return NULL;
  113|  58.4k|        assert(!b->ab_next);
  114|  58.4k|        b->ab_next = newbl;
  115|  58.4k|        b = newbl;
  116|  58.4k|    }
  117|       |
  118|  12.2M|    assert(b->ab_offset + size <= b->ab_size);
  119|  12.2M|    p = (void *)(((char *)b->ab_mem) + b->ab_offset);
  120|  12.2M|    b->ab_offset += size;
  121|  12.2M|    return p;
  122|  12.2M|}

_Py_HashDouble:
   88|  1.98M|{
   89|  1.98M|    int e, sign;
   90|  1.98M|    double m;
   91|  1.98M|    Py_uhash_t x, y;
   92|       |
   93|  1.98M|    if (!isfinite(v)) {
  ------------------
  |  Branch (93:9): [True: 0, False: 1.98M]
  ------------------
   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.98M|    m = frexp(v, &e);
  101|       |
  102|  1.98M|    sign = 1;
  103|  1.98M|    if (m < 0) {
  ------------------
  |  Branch (103:9): [True: 50, False: 1.98M]
  ------------------
  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.98M|    x = 0;
  111|  5.92M|    while (m) {
  ------------------
  |  Branch (111:12): [True: 3.94M, False: 1.98M]
  ------------------
  112|  3.94M|        x = ((x << 28) & PyHASH_MODULUS) | x >> (PyHASH_BITS - 28);
  ------------------
  |  |   18|  3.94M|#define PyHASH_MODULUS (((size_t)1 << PyHASH_BITS) - 1)
  |  |  ------------------
  |  |  |  |   13|  3.94M|#  define PyHASH_BITS 61
  |  |  ------------------
  ------------------
                      x = ((x << 28) & PyHASH_MODULUS) | x >> (PyHASH_BITS - 28);
  ------------------
  |  |   13|  3.94M|#  define PyHASH_BITS 61
  ------------------
  113|  3.94M|        m *= 268435456.0;  /* 2**28 */
  114|  3.94M|        e -= 28;
  115|  3.94M|        y = (Py_uhash_t)m;  /* pull out integer part */
  116|  3.94M|        m -= y;
  117|  3.94M|        x += y;
  118|  3.94M|        if (x >= PyHASH_MODULUS)
  ------------------
  |  |   18|  3.94M|#define PyHASH_MODULUS (((size_t)1 << PyHASH_BITS) - 1)
  |  |  ------------------
  |  |  |  |   13|  3.94M|#  define PyHASH_BITS 61
  |  |  ------------------
  ------------------
  |  Branch (118:13): [True: 0, False: 3.94M]
  ------------------
  119|      0|            x -= PyHASH_MODULUS;
  ------------------
  |  |   18|      0|#define PyHASH_MODULUS (((size_t)1 << PyHASH_BITS) - 1)
  |  |  ------------------
  |  |  |  |   13|      0|#  define PyHASH_BITS 61
  |  |  ------------------
  ------------------
  120|  3.94M|    }
  121|       |
  122|       |    /* adjust for the exponent;  first reduce it modulo PyHASH_BITS */
  123|  1.98M|    e = e >= 0 ? e % PyHASH_BITS : PyHASH_BITS-1-((-1-e) % PyHASH_BITS);
  ------------------
  |  |   13|     18|#  define PyHASH_BITS 61
  ------------------
                  e = e >= 0 ? e % PyHASH_BITS : PyHASH_BITS-1-((-1-e) % PyHASH_BITS);
  ------------------
  |  |   13|  1.98M|#  define PyHASH_BITS 61
  ------------------
                  e = e >= 0 ? e % PyHASH_BITS : PyHASH_BITS-1-((-1-e) % PyHASH_BITS);
  ------------------
  |  |   13|  1.98M|#  define PyHASH_BITS 61
  ------------------
  |  Branch (123:9): [True: 18, False: 1.98M]
  ------------------
  124|  1.98M|    x = ((x << e) & PyHASH_MODULUS) | x >> (PyHASH_BITS - e);
  ------------------
  |  |   18|  1.98M|#define PyHASH_MODULUS (((size_t)1 << PyHASH_BITS) - 1)
  |  |  ------------------
  |  |  |  |   13|  1.98M|#  define PyHASH_BITS 61
  |  |  ------------------
  ------------------
                  x = ((x << e) & PyHASH_MODULUS) | x >> (PyHASH_BITS - e);
  ------------------
  |  |   13|  1.98M|#  define PyHASH_BITS 61
  ------------------
  125|       |
  126|  1.98M|    x = x * sign;
  127|  1.98M|    if (x == (Py_uhash_t)-1)
  ------------------
  |  Branch (127:9): [True: 0, False: 1.98M]
  ------------------
  128|      0|        x = (Py_uhash_t)-2;
  129|  1.98M|    return (Py_hash_t)x;
  130|  1.98M|}
Py_HashPointer:
  134|  8.45M|{
  135|  8.45M|    Py_hash_t hash = _Py_HashPointerRaw(ptr);
  136|  8.45M|    if (hash == -1) {
  ------------------
  |  Branch (136:9): [True: 0, False: 8.45M]
  ------------------
  137|      0|        hash = -2;
  138|      0|    }
  139|  8.45M|    return hash;
  140|  8.45M|}
PyObject_GenericHash:
  144|  8.45M|{
  145|  8.45M|    return Py_HashPointer(obj);
  146|  8.45M|}
Py_HashBuffer:
  150|  4.05M|{
  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|  4.05M|    if (len == 0) {
  ------------------
  |  Branch (155:9): [True: 4, False: 4.05M]
  ------------------
  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|  4.05M|    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|  4.05M|    {
  190|  4.05M|        x = PyHash_Func.hash(ptr, len);
  191|  4.05M|    }
  192|       |
  193|  4.05M|    if (x == -1) {
  ------------------
  |  Branch (193:9): [True: 0, False: 4.05M]
  ------------------
  194|      0|        return -2;
  195|      0|    }
  196|  4.05M|    return x;
  197|  4.05M|}
PyHash_GetFuncDef:
  216|      2|{
  217|      2|    return &PyHash_Func;
  218|      2|}
pyhash.c:siphash13:
  371|  4.05M|siphash13(uint64_t k0, uint64_t k1, const void *src, Py_ssize_t src_sz) {
  372|  4.05M|    uint64_t b = (uint64_t)src_sz << 56;
  373|  4.05M|    const uint8_t *in = (const uint8_t*)src;
  374|       |
  375|  4.05M|    uint64_t v0 = k0 ^ 0x736f6d6570736575ULL;
  376|  4.05M|    uint64_t v1 = k1 ^ 0x646f72616e646f6dULL;
  377|  4.05M|    uint64_t v2 = k0 ^ 0x6c7967656e657261ULL;
  378|  4.05M|    uint64_t v3 = k1 ^ 0x7465646279746573ULL;
  379|       |
  380|  4.05M|    uint64_t t;
  381|  4.05M|    uint8_t *pt;
  382|       |
  383|  8.92M|    while (src_sz >= 8) {
  ------------------
  |  Branch (383:12): [True: 4.86M, False: 4.05M]
  ------------------
  384|  4.86M|        uint64_t mi;
  385|  4.86M|        memcpy(&mi, in, sizeof(mi));
  386|  4.86M|        mi = _le64toh(mi);
  ------------------
  |  |  332|  4.86M|#  define _le64toh(x) ((uint64_t)(x))
  ------------------
  387|  4.86M|        in += sizeof(mi);
  388|  4.86M|        src_sz -= sizeof(mi);
  389|  4.86M|        v3 ^= mi;
  390|  4.86M|        SINGLE_ROUND(v0,v1,v2,v3);
  ------------------
  |  |  362|  4.86M|    HALF_ROUND(v0,v1,v2,v3,13,16);  \
  |  |  ------------------
  |  |  |  |  356|  4.86M|    a += b; c += d;                 \
  |  |  |  |  357|  4.86M|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  4.86M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  4.86M|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  4.86M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  4.86M|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  4.86M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  363|  4.86M|    HALF_ROUND(v2,v1,v0,v3,17,21);
  |  |  ------------------
  |  |  |  |  356|  4.86M|    a += b; c += d;                 \
  |  |  |  |  357|  4.86M|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  4.86M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  4.86M|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  4.86M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  4.86M|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  4.86M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  391|  4.86M|        v0 ^= mi;
  392|  4.86M|    }
  393|       |
  394|  4.05M|    t = 0;
  395|  4.05M|    pt = (uint8_t *)&t;
  396|  4.05M|    switch (src_sz) {
  ------------------
  |  Branch (396:13): [True: 3.82M, False: 230k]
  ------------------
  397|   339k|        case 7: pt[6] = in[6]; _Py_FALLTHROUGH;
  ------------------
  |  |  644|   339k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  |  Branch (397:9): [True: 339k, False: 3.72M]
  ------------------
  398|   731k|        case 6: pt[5] = in[5]; _Py_FALLTHROUGH;
  ------------------
  |  |  644|   731k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  |  Branch (398:9): [True: 392k, False: 3.66M]
  ------------------
  399|   962k|        case 5: pt[4] = in[4]; _Py_FALLTHROUGH;
  ------------------
  |  |  644|   962k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  |  Branch (399:9): [True: 231k, False: 3.82M]
  ------------------
  400|  3.22M|        case 4: memcpy(pt, in, sizeof(uint32_t)); break;
  ------------------
  |  Branch (400:9): [True: 2.26M, False: 1.79M]
  ------------------
  401|   138k|        case 3: pt[2] = in[2]; _Py_FALLTHROUGH;
  ------------------
  |  |  644|   138k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  |  Branch (401:9): [True: 138k, False: 3.92M]
  ------------------
  402|   388k|        case 2: pt[1] = in[1]; _Py_FALLTHROUGH;
  ------------------
  |  |  644|   388k|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
  |  Branch (402:9): [True: 249k, False: 3.80M]
  ------------------
  403|   605k|        case 1: pt[0] = in[0]; break;
  ------------------
  |  Branch (403:9): [True: 216k, False: 3.84M]
  ------------------
  404|  4.05M|    }
  405|  4.05M|    b |= _le64toh(t);
  ------------------
  |  |  332|  4.05M|#  define _le64toh(x) ((uint64_t)(x))
  ------------------
  406|       |
  407|  4.05M|    v3 ^= b;
  408|  4.05M|    SINGLE_ROUND(v0,v1,v2,v3);
  ------------------
  |  |  362|  4.05M|    HALF_ROUND(v0,v1,v2,v3,13,16);  \
  |  |  ------------------
  |  |  |  |  356|  4.05M|    a += b; c += d;                 \
  |  |  |  |  357|  4.05M|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  4.05M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  4.05M|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  4.05M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  4.05M|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  4.05M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  363|  4.05M|    HALF_ROUND(v2,v1,v0,v3,17,21);
  |  |  ------------------
  |  |  |  |  356|  4.05M|    a += b; c += d;                 \
  |  |  |  |  357|  4.05M|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  4.05M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  4.05M|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  4.05M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  4.05M|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  4.05M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  409|  4.05M|    v0 ^= b;
  410|  4.05M|    v2 ^= 0xff;
  411|  4.05M|    SINGLE_ROUND(v0,v1,v2,v3);
  ------------------
  |  |  362|  4.05M|    HALF_ROUND(v0,v1,v2,v3,13,16);  \
  |  |  ------------------
  |  |  |  |  356|  4.05M|    a += b; c += d;                 \
  |  |  |  |  357|  4.05M|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  4.05M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  4.05M|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  4.05M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  4.05M|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  4.05M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  363|  4.05M|    HALF_ROUND(v2,v1,v0,v3,17,21);
  |  |  ------------------
  |  |  |  |  356|  4.05M|    a += b; c += d;                 \
  |  |  |  |  357|  4.05M|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  4.05M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  4.05M|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  4.05M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  4.05M|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  4.05M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  412|  4.05M|    SINGLE_ROUND(v0,v1,v2,v3);
  ------------------
  |  |  362|  4.05M|    HALF_ROUND(v0,v1,v2,v3,13,16);  \
  |  |  ------------------
  |  |  |  |  356|  4.05M|    a += b; c += d;                 \
  |  |  |  |  357|  4.05M|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  4.05M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  4.05M|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  4.05M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  4.05M|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  4.05M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  363|  4.05M|    HALF_ROUND(v2,v1,v0,v3,17,21);
  |  |  ------------------
  |  |  |  |  356|  4.05M|    a += b; c += d;                 \
  |  |  |  |  357|  4.05M|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  4.05M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  4.05M|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  4.05M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  4.05M|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  4.05M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  413|  4.05M|    SINGLE_ROUND(v0,v1,v2,v3);
  ------------------
  |  |  362|  4.05M|    HALF_ROUND(v0,v1,v2,v3,13,16);  \
  |  |  ------------------
  |  |  |  |  356|  4.05M|    a += b; c += d;                 \
  |  |  |  |  357|  4.05M|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  4.05M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  4.05M|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  4.05M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  4.05M|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  4.05M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  363|  4.05M|    HALF_ROUND(v2,v1,v0,v3,17,21);
  |  |  ------------------
  |  |  |  |  356|  4.05M|    a += b; c += d;                 \
  |  |  |  |  357|  4.05M|    b = ROTATE(b, s) ^ a;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  4.05M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  358|  4.05M|    d = ROTATE(d, t) ^ c;           \
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  4.05M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  |  |  359|  4.05M|    a = ROTATE(a, 32);
  |  |  |  |  ------------------
  |  |  |  |  |  |  352|  4.05M|#  define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  414|       |
  415|       |    /* modified */
  416|  4.05M|    t = (v0 ^ v1) ^ (v2 ^ v3);
  417|  4.05M|    return t;
  418|  4.05M|}
pyhash.c:pysiphash:
  480|  4.05M|pysiphash(const void *src, Py_ssize_t src_sz) {
  481|  4.05M|    return (Py_hash_t)siphash13(
  482|  4.05M|        _le64toh(_Py_HashSecret.siphash.k0), _le64toh(_Py_HashSecret.siphash.k1),
  ------------------
  |  |  332|  4.05M|#  define _le64toh(x) ((uint64_t)(x))
  ------------------
                      _le64toh(_Py_HashSecret.siphash.k0), _le64toh(_Py_HashSecret.siphash.k1),
  ------------------
  |  |  332|  4.05M|#  define _le64toh(x) ((uint64_t)(x))
  ------------------
  483|  4.05M|        src, src_sz);
  484|  4.05M|}

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

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

_PyThreadState_GetCurrent:
  112|  8.41k|{
  113|  8.41k|    return current_fast_get();
  114|  8.41k|}
_PyRuntimeState_Init:
  352|      2|{
  353|       |    /* We preserve the hook across init, because there is
  354|       |       currently no public API to set it between runtime
  355|       |       initialization and interpreter initialization. */
  356|      2|    void *open_code_hook = runtime->open_code_hook;
  357|      2|    void *open_code_userdata = runtime->open_code_userdata;
  358|      2|    _Py_AuditHookEntry *audit_hook_head = runtime->audit_hooks.head;
  359|       |    // bpo-42882: Preserve next_index value if Py_Initialize()/Py_Finalize()
  360|       |    // is called multiple times.
  361|      2|    Py_ssize_t unicode_next_index = runtime->unicode_state.ids.next_index;
  362|       |
  363|      2|    if (runtime->_initialized) {
  ------------------
  |  Branch (363:9): [True: 0, False: 2]
  ------------------
  364|       |        // Py_Initialize() must be running again.
  365|       |        // Reset to _PyRuntimeState_INIT.
  366|      0|        memcpy(runtime, &initial, sizeof(*runtime));
  367|       |        // Preserve the cookie from the original runtime.
  368|      0|        memcpy(runtime->debug_offsets.cookie, _Py_Debug_Cookie, 8);
  ------------------
  |  |   12|      0|#define _Py_Debug_Cookie "xdebugpy"
  ------------------
  369|      0|        assert(!runtime->_initialized);
  370|      0|    }
  371|       |
  372|      2|    PyStatus status = _PyTime_Init(&runtime->time);
  373|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  374|      0|        return status;
  375|      0|    }
  376|       |
  377|      2|    init_runtime(runtime, open_code_hook, open_code_userdata, audit_hook_head,
  378|      2|                 unicode_next_index);
  379|       |
  380|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  381|      2|}
_PyInterpreterState_Enable:
  442|      2|{
  443|      2|    struct pyinterpreters *interpreters = &runtime->interpreters;
  444|      2|    interpreters->next_id = 0;
  445|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  446|      2|}
_PyInterpreterState_New:
  678|      2|{
  679|      2|    *pinterp = NULL;
  680|       |
  681|       |    // Don't get runtime from tstate since tstate can be NULL
  682|      2|    _PyRuntimeState *runtime = &_PyRuntime;
  683|       |
  684|       |    // tstate is NULL when pycore_create_interpreter() calls
  685|       |    // _PyInterpreterState_New() to create the main interpreter.
  686|      2|    if (tstate != NULL) {
  ------------------
  |  Branch (686:9): [True: 0, False: 2]
  ------------------
  687|      0|        if (_PySys_Audit(tstate, "cpython.PyInterpreterState_New", NULL) < 0) {
  ------------------
  |  Branch (687:13): [True: 0, False: 0]
  ------------------
  688|      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)}
  ------------------
  689|      0|        }
  690|      0|    }
  691|       |
  692|       |    /* We completely serialize creation of multiple interpreters, since
  693|       |       it simplifies things here and blocking concurrent calls isn't a problem.
  694|       |       Regardless, we must fully block subinterpreter creation until
  695|       |       after the main interpreter is created. */
  696|      2|    HEAD_LOCK(runtime);
  ------------------
  |  |  266|      2|    PyMutex_LockFlags(&(runtime)->interpreters.mutex, _Py_LOCK_DONT_DETACH)
  ------------------
  697|       |
  698|      2|    struct pyinterpreters *interpreters = &runtime->interpreters;
  699|      2|    int64_t id = interpreters->next_id;
  700|      2|    interpreters->next_id += 1;
  701|       |
  702|       |    // Allocate the interpreter and add it to the runtime state.
  703|      2|    PyInterpreterState *interp;
  704|      2|    PyStatus status;
  705|      2|    PyInterpreterState *old_head = interpreters->head;
  706|      2|    if (old_head == NULL) {
  ------------------
  |  Branch (706:9): [True: 2, False: 0]
  ------------------
  707|       |        // We are creating the main interpreter.
  708|      2|        assert(interpreters->main == NULL);
  709|      2|        assert(id == 0);
  710|       |
  711|      2|        interp = &runtime->_main_interpreter;
  712|      2|        assert(interp->id == 0);
  713|      2|        assert(interp->next == NULL);
  714|       |
  715|      2|        interpreters->main = interp;
  716|      2|    }
  717|      0|    else {
  718|      0|        assert(interpreters->main != NULL);
  719|      0|        assert(id != 0);
  720|       |
  721|      0|        interp = alloc_interpreter();
  722|      0|        if (interp == NULL) {
  ------------------
  |  Branch (722:13): [True: 0, False: 0]
  ------------------
  723|      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)}
  |  |  ------------------
  ------------------
  724|      0|            goto error;
  725|      0|        }
  726|       |        // Set to _PyInterpreterState_INIT.
  727|      0|        memcpy(interp, &initial._main_interpreter, sizeof(*interp));
  728|       |
  729|      0|        if (id < 0) {
  ------------------
  |  Branch (729:13): [True: 0, False: 0]
  ------------------
  730|       |            /* overflow or Py_Initialize() not called yet! */
  731|      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)}
  ------------------
  732|      0|            goto error;
  733|      0|        }
  734|      0|    }
  735|      2|    interpreters->head = interp;
  736|       |
  737|      2|    long whence = _PyInterpreterState_WHENCE_UNKNOWN;
  ------------------
  |  |   17|      2|#define _PyInterpreterState_WHENCE_UNKNOWN 0
  ------------------
  738|      2|    status = init_interpreter(interp, runtime,
  739|      2|                              id, old_head, whence);
  740|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  741|      0|        goto error;
  742|      0|    }
  743|       |
  744|      2|    HEAD_UNLOCK(runtime);
  ------------------
  |  |  268|      2|    PyMutex_Unlock(&(runtime)->interpreters.mutex)
  |  |  ------------------
  |  |  |  |   70|      2|#define PyMutex_Unlock _PyMutex_Unlock
  |  |  ------------------
  ------------------
  745|       |
  746|      2|    assert(interp != NULL);
  747|      2|    *pinterp = interp;
  748|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  749|       |
  750|      0|error:
  751|      0|    HEAD_UNLOCK(runtime);
  ------------------
  |  |  268|      0|    PyMutex_Unlock(&(runtime)->interpreters.mutex)
  |  |  ------------------
  |  |  |  |   70|      0|#define PyMutex_Unlock _PyMutex_Unlock
  |  |  ------------------
  ------------------
  752|       |
  753|      0|    if (interp != NULL) {
  ------------------
  |  Branch (753:9): [True: 0, False: 0]
  ------------------
  754|      0|        free_interpreter(interp);
  755|      0|    }
  756|      0|    return status;
  757|      2|}
_PyInterpreterState_SetWhence:
 1189|      2|{
 1190|      2|    assert(interp->_whence != _PyInterpreterState_WHENCE_NOTSET);
 1191|       |    assert(check_interpreter_whence(whence) == 0);
 1192|      2|    interp->_whence = whence;
 1193|      2|}
PyInterpreterState_GetDict:
 1237|  23.5k|{
 1238|  23.5k|    if (interp->dict == NULL) {
  ------------------
  |  Branch (1238:9): [True: 2, False: 23.5k]
  ------------------
 1239|      2|        interp->dict = PyDict_New();
 1240|      2|        if (interp->dict == NULL) {
  ------------------
  |  Branch (1240:13): [True: 0, False: 2]
  ------------------
 1241|      0|            PyErr_Clear();
 1242|      0|        }
 1243|      2|    }
 1244|       |    /* Returning NULL means no per-interpreter dict is available. */
 1245|  23.5k|    return interp->dict;
 1246|  23.5k|}
PyInterpreterState_Get:
 1359|  23.6k|{
 1360|  23.6k|    _Py_AssertHoldsTstate();
 1361|  23.6k|    PyInterpreterState *interp = _Py_tss_interp;
 1362|  23.6k|    if (interp == NULL) {
  ------------------
  |  Branch (1362:9): [True: 0, False: 23.6k]
  ------------------
 1363|      0|        Py_FatalError("no current interpreter");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
 1364|      0|    }
 1365|  23.6k|    return interp;
 1366|  23.6k|}
_PyThreadState_New:
 1699|      2|{
 1700|      2|    return new_threadstate(interp, whence);
 1701|      2|}
_PyThreadState_GetDict:
 2079|  54.3k|{
 2080|  54.3k|    assert(tstate != NULL);
 2081|  54.3k|    if (tstate->dict == NULL) {
  ------------------
  |  Branch (2081:9): [True: 1, False: 54.3k]
  ------------------
 2082|      1|        tstate->dict = PyDict_New();
 2083|      1|        if (tstate->dict == NULL) {
  ------------------
  |  Branch (2083:13): [True: 0, False: 1]
  ------------------
 2084|      0|            _PyErr_Clear(tstate);
 2085|      0|        }
 2086|      1|    }
 2087|  54.3k|    return tstate->dict;
 2088|  54.3k|}
PyThreadState_GetDict:
 2093|  54.3k|{
 2094|  54.3k|    PyThreadState *tstate = current_fast_get();
 2095|  54.3k|    if (tstate == NULL) {
  ------------------
  |  Branch (2095:9): [True: 0, False: 54.3k]
  ------------------
 2096|      0|        return NULL;
 2097|      0|    }
 2098|  54.3k|    return _PyThreadState_GetDict(tstate);
 2099|  54.3k|}
PyThreadState_GetFrame:
 2112|  4.30k|{
 2113|  4.30k|    assert(tstate != NULL);
 2114|  4.30k|    _PyInterpreterFrame *f = _PyThreadState_GetFrame(tstate);
 2115|  4.30k|    if (f == NULL) {
  ------------------
  |  Branch (2115:9): [True: 0, False: 4.30k]
  ------------------
 2116|      0|        return NULL;
 2117|      0|    }
 2118|  4.30k|    PyFrameObject *frame = _PyFrame_GetFrameObject(f);
 2119|  4.30k|    if (frame == NULL) {
  ------------------
  |  Branch (2119:9): [True: 0, False: 4.30k]
  ------------------
 2120|      0|        PyErr_Clear();
 2121|      0|    }
 2122|  4.30k|    return (PyFrameObject*)Py_XNewRef(frame);
  ------------------
  |  |  551|  4.30k|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2123|  4.30k|}
_PyThreadState_Attach:
 2218|   116k|{
 2219|       |#if defined(Py_DEBUG)
 2220|       |    // This is called from PyEval_RestoreThread(). Similar
 2221|       |    // to it, we need to ensure errno doesn't change.
 2222|       |    int err = errno;
 2223|       |#endif
 2224|       |
 2225|   116k|    _Py_EnsureTstateNotNULL(tstate);
  ------------------
  |  |  196|   116k|    _Py_EnsureFuncTstateNotNULL(__func__, (tstate))
  ------------------
 2226|   116k|    if (current_fast_get() != NULL) {
  ------------------
  |  Branch (2226:9): [True: 0, False: 116k]
  ------------------
 2227|      0|        Py_FatalError("non-NULL old thread state");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
 2228|      0|    }
 2229|   116k|    _PyThreadStateImpl *_tstate = (_PyThreadStateImpl *)tstate;
 2230|   116k|    if (_tstate->c_stack_hard_limit == 0) {
  ------------------
  |  Branch (2230:9): [True: 2, False: 116k]
  ------------------
 2231|      2|        _Py_InitializeRecursionLimits(tstate);
 2232|      2|    }
 2233|       |
 2234|   116k|    while (1) {
  ------------------
  |  Branch (2234:12): [True: 116k, Folded]
  ------------------
 2235|   116k|        _PyEval_AcquireLock(tstate);
 2236|       |
 2237|       |        // XXX assert(tstate_is_alive(tstate));
 2238|   116k|        current_fast_set(&_PyRuntime, tstate);
 2239|   116k|        if (!tstate_try_attach(tstate)) {
  ------------------
  |  Branch (2239:13): [True: 0, False: 116k]
  ------------------
 2240|      0|            tstate_wait_attach(tstate);
 2241|      0|        }
 2242|   116k|        tstate_activate(tstate);
 2243|       |
 2244|       |#ifdef Py_GIL_DISABLED
 2245|       |        if (_PyEval_IsGILEnabled(tstate) && !tstate->holds_gil) {
 2246|       |            // The GIL was enabled between our call to _PyEval_AcquireLock()
 2247|       |            // and when we attached (the GIL can't go from enabled to disabled
 2248|       |            // here because only a thread holding the GIL can disable
 2249|       |            // it). Detach and try again.
 2250|       |            tstate_set_detached(tstate, _Py_THREAD_DETACHED);
 2251|       |            tstate_deactivate(tstate);
 2252|       |            current_fast_clear(&_PyRuntime);
 2253|       |            continue;
 2254|       |        }
 2255|       |        _Py_qsbr_attach(((_PyThreadStateImpl *)tstate)->qsbr);
 2256|       |#endif
 2257|   116k|        break;
 2258|   116k|    }
 2259|       |
 2260|       |    // Resume previous critical section. This acquires the lock(s) from the
 2261|       |    // top-most critical section.
 2262|   116k|    if (tstate->critical_section != 0) {
  ------------------
  |  Branch (2262:9): [True: 0, False: 116k]
  ------------------
 2263|      0|        _PyCriticalSection_Resume(tstate);
 2264|      0|    }
 2265|       |
 2266|       |#ifdef Py_STATS
 2267|       |    _PyStats_Attach((_PyThreadStateImpl *)tstate);
 2268|       |#endif
 2269|       |
 2270|       |#if defined(Py_DEBUG)
 2271|       |    errno = err;
 2272|       |#endif
 2273|   116k|}
_PyThreadState_Detach:
 2295|   116k|{
 2296|   116k|    detach_thread(tstate, _Py_THREAD_DETACHED);
  ------------------
  |  |   46|   116k|#define _Py_THREAD_DETACHED         0
  ------------------
 2297|   116k|}
_PyEval_StopTheWorld:
 2507|  3.91k|{
 2508|       |#ifdef Py_GIL_DISABLED
 2509|       |    stop_the_world(&interp->stoptheworld);
 2510|       |#endif
 2511|  3.91k|}
_PyEval_StartTheWorld:
 2515|  3.91k|{
 2516|       |#ifdef Py_GIL_DISABLED
 2517|       |    start_the_world(&interp->stoptheworld);
 2518|       |#endif
 2519|  3.91k|}
PyThreadState_Get:
 2586|  32.1M|{
 2587|  32.1M|    PyThreadState *tstate = current_fast_get();
 2588|  32.1M|    _Py_EnsureTstateNotNULL(tstate);
  ------------------
  |  |  196|  32.1M|    _Py_EnsureFuncTstateNotNULL(__func__, (tstate))
  ------------------
 2589|  32.1M|    return tstate;
 2590|  32.1M|}
_PyThreadState_Bind:
 2614|      2|{
 2615|       |    // gh-104690: If Python is being finalized and PyInterpreterState_Delete()
 2616|       |    // was called, tstate becomes a dangling pointer.
 2617|      2|    assert(_PyThreadState_CheckConsistency(tstate));
 2618|       |
 2619|      2|    bind_tstate(tstate);
 2620|       |    // This makes sure there's a gilstate tstate bound
 2621|       |    // as soon as possible.
 2622|      2|    if (gilstate_get() == NULL) {
  ------------------
  |  Branch (2622:9): [True: 2, False: 0]
  ------------------
 2623|      2|        bind_gilstate_tstate(tstate);
 2624|      2|    }
 2625|      2|}
_PyGILState_Init:
 2813|      2|{
 2814|      2|    if (!_Py_IsMainInterpreter(interp)) {
  ------------------
  |  Branch (2814:9): [True: 0, False: 2]
  ------------------
 2815|       |        /* Currently, PyGILState is shared by all interpreters. The main
 2816|       |         * interpreter is responsible to initialize it. */
 2817|      0|        return _PyStatus_OK();
  ------------------
  |  |   24|      0|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2818|      0|    }
 2819|      2|    _PyRuntimeState *runtime = interp->runtime;
 2820|      2|    assert(gilstate_get() == NULL);
 2821|      2|    assert(runtime->gilstate.autoInterpreterState == NULL);
 2822|      2|    runtime->gilstate.autoInterpreterState = interp;
 2823|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 2824|      2|}
_PyGILState_SetTstate:
 2841|      2|{
 2842|       |    /* must init with valid states */
 2843|      2|    assert(tstate != NULL);
 2844|      2|    assert(tstate->interp != NULL);
 2845|       |
 2846|      2|    if (!_Py_IsMainInterpreter(tstate->interp)) {
  ------------------
  |  Branch (2846:9): [True: 0, False: 2]
  ------------------
 2847|       |        /* Currently, PyGILState is shared by all interpreters. The main
 2848|       |         * interpreter is responsible to initialize it. */
 2849|      0|        return;
 2850|      0|    }
 2851|       |
 2852|       |#ifndef NDEBUG
 2853|       |    _PyRuntimeState *runtime = tstate->interp->runtime;
 2854|       |
 2855|       |    assert(runtime->gilstate.autoInterpreterState == tstate->interp);
 2856|       |    assert(gilstate_get() == tstate);
 2857|       |    assert(tstate->gilstate_counter == 1);
 2858|       |#endif
 2859|      2|}
_PyInterpreterState_IsSpecializationEnabled:
 3057|  17.5k|{
 3058|  17.5k|    return interp->eval_frame == NULL
  ------------------
  |  Branch (3058:12): [True: 17.5k, False: 0]
  ------------------
 3059|      0|        || interp->eval_frame_allow_specialization;
  ------------------
  |  Branch (3059:12): [True: 0, False: 0]
  ------------------
 3060|  17.5k|}
_PyInterpreterState_GetConfig:
 3065|  2.02M|{
 3066|  2.02M|    return &interp->config;
 3067|  2.02M|}
_Py_GetConfig:
 3072|  88.9k|{
 3073|  88.9k|    PyThreadState *tstate = current_fast_get();
 3074|  88.9k|    _Py_EnsureTstateNotNULL(tstate);
  ------------------
  |  |  196|  88.9k|    _Py_EnsureFuncTstateNotNULL(__func__, (tstate))
  ------------------
 3075|  88.9k|    return _PyInterpreterState_GetConfig(tstate->interp);
 3076|  88.9k|}
_PyThreadState_PushFrame:
 3126|  12.3M|{
 3127|  12.3M|    assert(size < INT_MAX/sizeof(PyObject *));
 3128|  12.3M|    if (_PyThreadState_HasStackSpace(tstate, (int)size)) {
  ------------------
  |  Branch (3128:9): [True: 12.3M, False: 518]
  ------------------
 3129|  12.3M|        _PyInterpreterFrame *res = (_PyInterpreterFrame *)tstate->datastack_top;
 3130|  12.3M|        tstate->datastack_top += size;
 3131|  12.3M|        return res;
 3132|  12.3M|    }
 3133|    518|    return (_PyInterpreterFrame *)push_chunk(tstate, (int)size);
 3134|  12.3M|}
_PyThreadState_PopFrame:
 3138|  62.1M|{
 3139|  62.1M|    assert(tstate->datastack_chunk);
 3140|  62.1M|    PyObject **base = (PyObject **)frame;
 3141|  62.1M|    if (base == &tstate->datastack_chunk->data[0]) {
  ------------------
  |  Branch (3141:9): [True: 516, False: 62.1M]
  ------------------
 3142|    516|        _PyStackChunk *chunk = tstate->datastack_chunk;
 3143|    516|        _PyStackChunk *previous = chunk->previous;
 3144|    516|        _PyStackChunk *cached = tstate->datastack_cached_chunk;
 3145|       |        // push_chunk ensures that the root chunk is never popped:
 3146|    516|        assert(previous);
 3147|    516|        tstate->datastack_top = &previous->data[previous->top];
 3148|    516|        tstate->datastack_chunk = previous;
 3149|    516|        tstate->datastack_limit = (PyObject **)(((char *)previous) + previous->size);
 3150|    516|        chunk->previous = NULL;
 3151|    516|        if (cached != NULL) {
  ------------------
  |  Branch (3151:13): [True: 0, False: 516]
  ------------------
 3152|      0|            _PyObject_VirtualFree(cached, cached->size);
 3153|      0|        }
 3154|    516|        tstate->datastack_cached_chunk = chunk;
 3155|    516|    }
 3156|  62.1M|    else {
 3157|  62.1M|        assert(tstate->datastack_top);
 3158|       |        assert(tstate->datastack_top >= base);
 3159|  62.1M|        tstate->datastack_top = base;
 3160|  62.1M|    }
 3161|  62.1M|}
_PyThreadState_MustExit:
 3192|   232k|{
 3193|   232k|    int state = _Py_atomic_load_int_relaxed(&tstate->state);
 3194|   232k|    return state == _Py_THREAD_SHUTTING_DOWN;
  ------------------
  |  |   49|   232k|#define _Py_THREAD_SHUTTING_DOWN    3
  ------------------
 3195|   232k|}
_Py_IsMainThread:
 3285|   318k|{
 3286|   318k|    unsigned long thread = PyThread_get_thread_ident();
 3287|   318k|    return (thread == _PyRuntime.main_thread);
 3288|   318k|}
_PyInterpreterState_Main:
 3293|   202k|{
 3294|   202k|    return _PyRuntime.interpreters.main;
 3295|   202k|}
pystate.c:current_fast_get:
   85|  32.3M|{
   86|  32.3M|    return _Py_tss_tstate;
   87|  32.3M|}
pystate.c:init_runtime:
  330|      2|{
  331|      2|    assert(!runtime->preinitializing);
  332|      2|    assert(!runtime->preinitialized);
  333|      2|    assert(!_PyRuntimeState_GetCoreInitialized(runtime));
  334|      2|    assert(!_PyRuntimeState_GetInitialized(runtime));
  335|      2|    assert(!runtime->_initialized);
  336|       |
  337|      2|    runtime->open_code_hook = open_code_hook;
  338|      2|    runtime->open_code_userdata = open_code_userdata;
  339|      2|    runtime->audit_hooks.head = audit_hook_head;
  340|       |
  341|      2|    PyPreConfig_InitPythonConfig(&runtime->preconfig);
  342|       |
  343|       |    // Set it to the ID of the main thread of the main interpreter.
  344|      2|    runtime->main_thread = PyThread_get_thread_ident();
  345|       |
  346|      2|    runtime->unicode_state.ids.next_index = unicode_next_index;
  347|      2|    runtime->_initialized = 1;
  348|      2|}
pystate.c:init_interpreter:
  545|      2|{
  546|      2|    if (interp->_initialized) {
  ------------------
  |  Branch (546:9): [True: 0, False: 2]
  ------------------
  547|      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)}
  ------------------
  548|      0|    }
  549|       |
  550|      2|    assert(interp->_whence == _PyInterpreterState_WHENCE_NOTSET);
  551|      2|    assert(check_interpreter_whence(whence) == 0);
  552|      2|    interp->_whence = whence;
  553|       |
  554|      2|    assert(runtime != NULL);
  555|      2|    interp->runtime = runtime;
  556|       |
  557|      2|    assert(id > 0 || (id == 0 && interp == runtime->interpreters.main));
  558|      2|    interp->id = id;
  559|       |
  560|      2|    interp->id_refcount = 0;
  561|       |
  562|      2|    assert(runtime->interpreters.head == interp);
  563|      2|    assert(next != NULL || (interp == runtime->interpreters.main));
  564|      2|    interp->next = next;
  565|       |
  566|      2|    interp->threads.preallocated = &interp->_initial_thread;
  567|       |
  568|       |    // We would call _PyObject_InitState() at this point
  569|       |    // if interp->feature_flags were alredy set.
  570|       |
  571|      2|    _PyEval_InitState(interp);
  572|      2|    _PyGC_InitState(&interp->gc);
  573|      2|    PyConfig_InitPythonConfig(&interp->config);
  574|      2|    _PyType_InitCache(interp);
  575|       |#ifdef Py_GIL_DISABLED
  576|       |    _Py_brc_init_state(interp);
  577|       |#endif
  578|       |
  579|      2|    llist_init(&interp->mem_free_queue.head);
  580|      2|    llist_init(&interp->asyncio_tasks_head);
  581|      2|    interp->asyncio_tasks_lock = (PyMutex){0};
  582|     34|    for (int i = 0; i < _PY_MONITORING_UNGROUPED_EVENTS; i++) {
  ------------------
  |  |   75|     34|#define _PY_MONITORING_UNGROUPED_EVENTS 16
  ------------------
  |  Branch (582:21): [True: 32, False: 2]
  ------------------
  583|     32|        interp->monitors.tools[i] = 0;
  584|     32|    }
  585|     18|    for (int t = 0; t < PY_MONITORING_TOOL_IDS; t++) {
  ------------------
  |  |   72|     18|#define  PY_MONITORING_TOOL_IDS 8
  ------------------
  |  Branch (585:21): [True: 16, False: 2]
  ------------------
  586|    320|        for (int e = 0; e < _PY_MONITORING_EVENTS; e++) {
  ------------------
  |  |   77|    320|#define _PY_MONITORING_EVENTS 19
  ------------------
  |  Branch (586:25): [True: 304, False: 16]
  ------------------
  587|    304|            interp->monitoring_callables[t][e] = NULL;
  588|       |
  589|    304|        }
  590|     16|        interp->monitoring_tool_versions[t] = 0;
  591|     16|    }
  592|      2|    interp->_code_object_generation = 0;
  593|      2|    interp->jit = false;
  594|      2|    interp->compiling = false;
  595|      2|    interp->executor_blooms = NULL;
  596|      2|    interp->executor_ptrs = NULL;
  597|      2|    interp->executor_count = 0;
  598|      2|    interp->executor_capacity = 0;
  599|      2|    interp->executor_deletion_list_head = NULL;
  600|      2|    interp->executor_creation_counter = JIT_CLEANUP_THRESHOLD;
  ------------------
  |  |  309|      2|#define JIT_CLEANUP_THRESHOLD 1000
  ------------------
  601|       |
  602|       |    // Initialize optimization configuration from environment variables
  603|       |    // PYTHON_JIT_STRESS sets aggressive defaults for testing, but can be overridden
  604|      2|    uint16_t jump_default = JUMP_BACKWARD_INITIAL_VALUE;
  ------------------
  |  |  128|      2|#define JUMP_BACKWARD_INITIAL_VALUE 4000
  ------------------
  605|      2|    uint16_t resume_default = RESUME_INITIAL_VALUE;
  ------------------
  |  |  142|      2|#define RESUME_INITIAL_VALUE 8190
  ------------------
  606|      2|    uint16_t side_exit_default = SIDE_EXIT_INITIAL_VALUE;
  ------------------
  |  |  156|      2|#define SIDE_EXIT_INITIAL_VALUE 4000
  ------------------
  607|       |
  608|      2|    if (is_env_enabled("PYTHON_JIT_STRESS")) {
  ------------------
  |  Branch (608:9): [True: 0, False: 2]
  ------------------
  609|      0|        jump_default = 63;
  610|      0|        side_exit_default = 63;
  611|      0|        resume_default = 127;
  612|      0|    }
  613|       |
  614|      2|    init_policy(&interp->opt_config.jump_backward_initial_value,
  615|      2|                "PYTHON_JIT_JUMP_BACKWARD_INITIAL_VALUE",
  616|      2|                jump_default, 1, MAX_VALUE);
  ------------------
  |  |   41|      2|#define MAX_VALUE 0x1FFF
  ------------------
  617|      2|    init_policy(&interp->opt_config.jump_backward_initial_backoff,
  618|      2|                "PYTHON_JIT_JUMP_BACKWARD_INITIAL_BACKOFF",
  619|      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
  ------------------
  620|      2|    init_policy(&interp->opt_config.resume_initial_value,
  621|      2|                "PYTHON_JIT_RESUME_INITIAL_VALUE",
  622|      2|                resume_default, 1, MAX_VALUE);
  ------------------
  |  |   41|      2|#define MAX_VALUE 0x1FFF
  ------------------
  623|      2|    init_policy(&interp->opt_config.resume_initial_backoff,
  624|      2|                "PYTHON_JIT_RESUME_INITIAL_BACKOFF",
  625|      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
  ------------------
  626|      2|    init_policy(&interp->opt_config.side_exit_initial_value,
  627|      2|                "PYTHON_JIT_SIDE_EXIT_INITIAL_VALUE",
  628|      2|                side_exit_default, 1, MAX_VALUE);
  ------------------
  |  |   41|      2|#define MAX_VALUE 0x1FFF
  ------------------
  629|      2|    init_policy(&interp->opt_config.side_exit_initial_backoff,
  630|      2|                "PYTHON_JIT_SIDE_EXIT_INITIAL_BACKOFF",
  631|      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
  ------------------
  632|       |
  633|       |    // Trace fitness configuration
  634|      2|    init_policy(&interp->opt_config.fitness_initial,
  635|      2|                "PYTHON_JIT_FITNESS_INITIAL",
  636|      2|                FITNESS_INITIAL, EXIT_QUALITY_CLOSE_LOOP, UOP_MAX_TRACE_LENGTH - 1);
  ------------------
  |  |   36|      2|#define FITNESS_INITIAL            (MAX_TARGET_LENGTH * OPTIMIZER_EFFECTIVENESS)
  |  |  ------------------
  |  |  |  |   34|      2|#define MAX_TARGET_LENGTH          (UOP_MAX_TRACE_LENGTH / 2)
  |  |  |  |  ------------------
  |  |  |  |  |  |   44|      2|#define UOP_MAX_TRACE_LENGTH 2500
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define FITNESS_INITIAL            (MAX_TARGET_LENGTH * OPTIMIZER_EFFECTIVENESS)
  |  |  ------------------
  |  |  |  |   35|      2|#define OPTIMIZER_EFFECTIVENESS    2
  |  |  ------------------
  ------------------
                              FITNESS_INITIAL, EXIT_QUALITY_CLOSE_LOOP, UOP_MAX_TRACE_LENGTH - 1);
  ------------------
  |  |   40|      2|#define EXIT_QUALITY_CLOSE_LOOP      (FITNESS_INITIAL - AVG_SLOTS_PER_INSTRUCTION*4)
  |  |  ------------------
  |  |  |  |   36|      2|#define FITNESS_INITIAL            (MAX_TARGET_LENGTH * OPTIMIZER_EFFECTIVENESS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   34|      2|#define MAX_TARGET_LENGTH          (UOP_MAX_TRACE_LENGTH / 2)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   44|      2|#define UOP_MAX_TRACE_LENGTH 2500
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |               #define FITNESS_INITIAL            (MAX_TARGET_LENGTH * OPTIMIZER_EFFECTIVENESS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   35|      2|#define OPTIMIZER_EFFECTIVENESS    2
  |  |  |  |  ------------------
  |  |  ------------------
  |  |               #define EXIT_QUALITY_CLOSE_LOOP      (FITNESS_INITIAL - AVG_SLOTS_PER_INSTRUCTION*4)
  |  |  ------------------
  |  |  |  |   47|      2|#define AVG_SLOTS_PER_INSTRUCTION  6
  |  |  ------------------
  ------------------
                              FITNESS_INITIAL, EXIT_QUALITY_CLOSE_LOOP, UOP_MAX_TRACE_LENGTH - 1);
  ------------------
  |  |   44|      2|#define UOP_MAX_TRACE_LENGTH 2500
  ------------------
  637|       |
  638|      2|    interp->opt_config.specialization_enabled = !is_env_enabled("PYTHON_SPECIALIZATION_OFF");
  639|      2|    interp->opt_config.uops_optimize_enabled = !is_env_disabled("PYTHON_UOPS_OPTIMIZE");
  640|      2|    if (interp != &runtime->_main_interpreter) {
  ------------------
  |  Branch (640:9): [True: 0, False: 2]
  ------------------
  641|       |        /* Fix the self-referential, statically initialized fields. */
  642|      0|        interp->dtoa = (struct _dtoa_state)_dtoa_state_INIT(interp);
  ------------------
  |  |   22|      0|    { \
  |  |   23|      0|        .preallocated_next = (INTERP)->dtoa.preallocated, \
  |  |   24|      0|    }
  ------------------
  643|      0|    }
  644|       |#if !defined(Py_GIL_DISABLED) && defined(Py_STACKREF_DEBUG)
  645|       |    interp->next_stackref = INITIAL_STACKREF_INDEX;
  646|       |    _Py_hashtable_allocator_t alloc = {
  647|       |        .malloc = malloc,
  648|       |        .free = free,
  649|       |    };
  650|       |    interp->open_stackrefs_table = _Py_hashtable_new_full(
  651|       |        _Py_hashtable_hash_ptr,
  652|       |        _Py_hashtable_compare_direct,
  653|       |        NULL,
  654|       |        NULL,
  655|       |        &alloc
  656|       |    );
  657|       |#  ifdef Py_STACKREF_CLOSE_DEBUG
  658|       |    interp->closed_stackrefs_table = _Py_hashtable_new_full(
  659|       |        _Py_hashtable_hash_ptr,
  660|       |        _Py_hashtable_compare_direct,
  661|       |        NULL,
  662|       |        NULL,
  663|       |        &alloc
  664|       |    );
  665|       |#  endif
  666|       |    _Py_stackref_associate(interp, Py_None, PyStackRef_None);
  667|       |    _Py_stackref_associate(interp, Py_False, PyStackRef_False);
  668|       |    _Py_stackref_associate(interp, Py_True, PyStackRef_True);
  669|       |#endif
  670|       |
  671|      2|    interp->_initialized = 1;
  672|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
  673|      2|}
pystate.c:is_env_enabled:
  514|      4|{
  515|      4|    char *env = Py_GETENV(env_name);
  516|      4|    return env && *env != '\0' && *env != '0';
  ------------------
  |  Branch (516:12): [True: 0, False: 4]
  |  Branch (516:19): [True: 0, False: 0]
  |  Branch (516:35): [True: 0, False: 0]
  ------------------
  517|      4|}
pystate.c:init_policy:
  529|     14|{
  530|     14|    *target = default_value;
  531|     14|    char *env = Py_GETENV(env_name);
  532|     14|    if (env && *env != '\0') {
  ------------------
  |  Branch (532:9): [True: 0, False: 14]
  |  Branch (532:16): [True: 0, False: 0]
  ------------------
  533|      0|        long value = atol(env);
  534|      0|        if (value >= min_value && value <= max_value) {
  ------------------
  |  Branch (534:13): [True: 0, False: 0]
  |  Branch (534:35): [True: 0, False: 0]
  ------------------
  535|      0|            *target = (uint16_t)value;
  536|      0|        }
  537|      0|    }
  538|     14|}
pystate.c:is_env_disabled:
  521|      2|{
  522|      2|    char *env = Py_GETENV(env_name);
  523|      2|    return env != NULL && *env == '0';
  ------------------
  |  Branch (523:12): [True: 0, False: 2]
  |  Branch (523:27): [True: 0, False: 0]
  ------------------
  524|      2|}
pystate.c:new_threadstate:
 1625|      2|{
 1626|       |    // Allocate the thread state.
 1627|      2|    _PyThreadStateImpl *tstate = alloc_threadstate(interp);
 1628|      2|    if (tstate == NULL) {
  ------------------
  |  Branch (1628:9): [True: 0, False: 2]
  ------------------
 1629|      0|        return NULL;
 1630|      0|    }
 1631|       |
 1632|       |#ifdef Py_GIL_DISABLED
 1633|       |    Py_ssize_t qsbr_idx = _Py_qsbr_reserve(interp);
 1634|       |    if (qsbr_idx < 0) {
 1635|       |        free_threadstate(tstate);
 1636|       |        return NULL;
 1637|       |    }
 1638|       |    int32_t tlbc_idx = _Py_ReserveTLBCIndex(interp);
 1639|       |    if (tlbc_idx < 0) {
 1640|       |        free_threadstate(tstate);
 1641|       |        return NULL;
 1642|       |    }
 1643|       |#endif
 1644|       |#ifdef Py_STATS
 1645|       |    // The PyStats structure is quite large and is allocated separated from tstate.
 1646|       |    if (!_PyStats_ThreadInit(interp, tstate)) {
 1647|       |        free_threadstate(tstate);
 1648|       |        return NULL;
 1649|       |    }
 1650|       |#endif
 1651|       |
 1652|       |    /* We serialize concurrent creation to protect global state. */
 1653|      2|    HEAD_LOCK(interp->runtime);
  ------------------
  |  |  266|      2|    PyMutex_LockFlags(&(runtime)->interpreters.mutex, _Py_LOCK_DONT_DETACH)
  ------------------
 1654|       |
 1655|       |    // Initialize the new thread state.
 1656|      2|    interp->threads.next_unique_id += 1;
 1657|      2|    uint64_t id = interp->threads.next_unique_id;
 1658|      2|    init_threadstate(tstate, interp, id, whence);
 1659|       |
 1660|       |    // Add the new thread state to the interpreter.
 1661|      2|    PyThreadState *old_head = interp->threads.head;
 1662|      2|    add_threadstate(interp, (PyThreadState *)tstate, old_head);
 1663|       |
 1664|      2|    HEAD_UNLOCK(interp->runtime);
  ------------------
  |  |  268|      2|    PyMutex_Unlock(&(runtime)->interpreters.mutex)
  |  |  ------------------
  |  |  |  |   70|      2|#define PyMutex_Unlock _PyMutex_Unlock
  |  |  ------------------
  ------------------
 1665|       |
 1666|       |#ifdef Py_GIL_DISABLED
 1667|       |    // Must be called with lock unlocked to avoid lock ordering deadlocks.
 1668|       |    _Py_qsbr_register(tstate, interp, qsbr_idx);
 1669|       |    tstate->tlbc_index = tlbc_idx;
 1670|       |#endif
 1671|       |
 1672|      2|    return (PyThreadState *)tstate;
 1673|      2|}
pystate.c:alloc_threadstate:
 1461|      2|{
 1462|      2|    _PyThreadStateImpl *tstate;
 1463|       |
 1464|       |    // Try the preallocated tstate first.
 1465|      2|    tstate = _Py_atomic_exchange_ptr(&interp->threads.preallocated, NULL);
 1466|       |
 1467|       |    // Fall back to the allocator.
 1468|      2|    if (tstate == NULL) {
  ------------------
  |  Branch (1468:9): [True: 0, False: 2]
  ------------------
 1469|      0|        tstate = PyMem_RawCalloc(1, sizeof(_PyThreadStateImpl));
 1470|      0|        if (tstate == NULL) {
  ------------------
  |  Branch (1470:13): [True: 0, False: 0]
  ------------------
 1471|      0|            return NULL;
 1472|      0|        }
 1473|      0|        reset_threadstate(tstate);
 1474|      0|    }
 1475|      2|    return tstate;
 1476|      2|}
pystate.c:init_threadstate:
 1518|      2|{
 1519|      2|    PyThreadState *tstate = (PyThreadState *)_tstate;
 1520|      2|    if (tstate->_status.initialized) {
  ------------------
  |  Branch (1520:9): [True: 0, False: 2]
  ------------------
 1521|      0|        Py_FatalError("thread state already initialized");
  ------------------
  |  |  133|      0|#define Py_FatalError(message) _Py_FatalErrorFunc(__func__, (message))
  ------------------
 1522|      0|    }
 1523|       |
 1524|      2|    assert(interp != NULL);
 1525|      2|    tstate->interp = interp;
 1526|      2|    tstate->eval_breaker =
 1527|      2|        _Py_atomic_load_uintptr_relaxed(&interp->ceval.instrumentation_version);
 1528|       |
 1529|       |    // next/prev are set in add_threadstate().
 1530|      2|    assert(tstate->next == NULL);
 1531|      2|    assert(tstate->prev == NULL);
 1532|       |
 1533|      2|    assert(tstate->_whence == _PyThreadState_WHENCE_NOTSET);
 1534|      2|    assert(whence >= 0 && whence <= _PyThreadState_WHENCE_THREADING_DAEMON);
 1535|      2|    tstate->_whence = whence;
 1536|       |
 1537|      2|    assert(id > 0);
 1538|      2|    tstate->id = id;
 1539|       |
 1540|       |    // thread_id and native_thread_id are set in bind_tstate().
 1541|       |
 1542|      2|    tstate->py_recursion_limit = interp->ceval.recursion_limit;
 1543|      2|    tstate->py_recursion_remaining = interp->ceval.recursion_limit;
 1544|      2|    tstate->exc_info = &tstate->exc_state;
 1545|       |
 1546|       |    // PyGILState_Release must not try to delete this thread state.
 1547|       |    // This is cleared when PyGILState_Ensure() creates the thread state.
 1548|      2|    tstate->gilstate_counter = 1;
 1549|       |
 1550|       |    // Initialize the embedded base frame - sentinel at the bottom of the frame stack
 1551|      2|    _tstate->base_frame.previous = NULL;
 1552|      2|    _tstate->base_frame.f_executable = PyStackRef_None;
  ------------------
  |  |  473|      2|#define PyStackRef_None ((_PyStackRef){.bits = ((uintptr_t)&_Py_NoneStruct) | Py_TAG_REFCNT })
  |  |  ------------------
  |  |  |  |   55|      2|#define Py_TAG_REFCNT 1
  |  |  ------------------
  ------------------
 1553|      2|    _tstate->base_frame.f_funcobj = PyStackRef_NULL;
 1554|      2|    _tstate->base_frame.f_globals = NULL;
 1555|      2|    _tstate->base_frame.f_builtins = NULL;
 1556|      2|    _tstate->base_frame.f_locals = NULL;
 1557|      2|    _tstate->base_frame.frame_obj = NULL;
 1558|      2|    _tstate->base_frame.instr_ptr = NULL;
 1559|      2|    _tstate->base_frame.stackpointer = _tstate->base_frame.localsplus;
 1560|      2|    _tstate->base_frame.return_offset = 0;
 1561|      2|    _tstate->base_frame.owner = FRAME_OWNED_BY_INTERPRETER;
 1562|      2|    _tstate->base_frame.visited = 0;
 1563|       |#ifdef Py_DEBUG
 1564|       |    _tstate->base_frame.lltrace = 0;
 1565|       |#endif
 1566|       |#ifdef Py_GIL_DISABLED
 1567|       |    _tstate->base_frame.tlbc_index = 0;
 1568|       |#endif
 1569|      2|    _tstate->base_frame.localsplus[0] = PyStackRef_NULL;
 1570|       |
 1571|       |    // current_frame starts pointing to the base frame
 1572|      2|    tstate->current_frame = &_tstate->base_frame;
 1573|       |    // base_frame pointer for profilers to validate stack unwinding
 1574|      2|    tstate->base_frame = &_tstate->base_frame;
 1575|      2|    tstate->datastack_chunk = NULL;
 1576|      2|    tstate->datastack_top = NULL;
 1577|      2|    tstate->datastack_limit = NULL;
 1578|      2|    tstate->datastack_cached_chunk = NULL;
 1579|      2|    tstate->what_event = -1;
 1580|      2|    tstate->current_executor = NULL;
 1581|      2|    tstate->jit_exit = NULL;
 1582|      2|    tstate->dict_global_version = 0;
 1583|       |
 1584|      2|    _tstate->c_stack_soft_limit = UINTPTR_MAX;
 1585|      2|    _tstate->c_stack_top = 0;
 1586|      2|    _tstate->c_stack_hard_limit = 0;
 1587|       |
 1588|      2|    _tstate->c_stack_init_base = 0;
 1589|      2|    _tstate->c_stack_init_top = 0;
 1590|       |
 1591|      2|    _tstate->asyncio_running_loop = NULL;
 1592|      2|    _tstate->asyncio_running_task = NULL;
 1593|       |
 1594|       |#ifdef _Py_TIER2
 1595|       |    _tstate->jit_tracer_state = NULL;
 1596|       |#endif
 1597|      2|    tstate->delete_later = NULL;
 1598|       |
 1599|      2|    llist_init(&_tstate->mem_free_queue);
 1600|      2|    llist_init(&_tstate->asyncio_tasks_head);
 1601|      2|    if (interp->stoptheworld.requested || _PyRuntime.stoptheworld.requested) {
  ------------------
  |  Branch (1601:9): [True: 0, False: 2]
  |  Branch (1601:43): [True: 0, False: 2]
  ------------------
 1602|       |        // Start in the suspended state if there is an ongoing stop-the-world.
 1603|      0|        tstate->state = _Py_THREAD_SUSPENDED;
  ------------------
  |  |   48|      0|#define _Py_THREAD_SUSPENDED        2
  ------------------
 1604|      0|    }
 1605|       |
 1606|      2|    tstate->_status.initialized = 1;
 1607|      2|}
pystate.c:add_threadstate:
 1612|      2|{
 1613|      2|    assert(interp->threads.head != tstate);
 1614|      2|    if (next != NULL) {
  ------------------
  |  Branch (1614:9): [True: 0, False: 2]
  ------------------
 1615|      0|        assert(next->prev == NULL || next->prev == tstate);
 1616|      0|        next->prev = tstate;
 1617|      0|    }
 1618|      2|    tstate->next = next;
 1619|       |    assert(tstate->prev == NULL);
 1620|      2|    interp->threads.head = tstate;
 1621|      2|}
pystate.c:bind_tstate:
  164|      2|{
  165|      2|    assert(tstate != NULL);
  166|      2|    assert(tstate_is_alive(tstate) && !tstate->_status.bound);
  167|      2|    assert(!tstate->_status.unbound);  // just in case
  168|      2|    assert(!tstate->_status.bound_gilstate);
  169|      2|    assert(tstate != gilstate_get());
  170|      2|    assert(!tstate->_status.active);
  171|      2|    assert(tstate->thread_id == 0);
  172|      2|    assert(tstate->native_thread_id == 0);
  173|       |
  174|       |    // Currently we don't necessarily store the thread state
  175|       |    // in thread-local storage (e.g. per-interpreter).
  176|       |
  177|      2|    tstate->thread_id = PyThread_get_thread_ident();
  178|      2|#ifdef PY_HAVE_THREAD_NATIVE_ID
  179|      2|    tstate->native_thread_id = PyThread_get_thread_native_id();
  180|      2|#endif
  181|       |
  182|       |#ifdef Py_GIL_DISABLED
  183|       |    // Initialize biased reference counting inter-thread queue. Note that this
  184|       |    // needs to be initialized from the active thread.
  185|       |    _Py_brc_init_thread(tstate);
  186|       |#endif
  187|       |
  188|       |    // mimalloc state needs to be initialized from the active thread.
  189|      2|    tstate_mimalloc_bind(tstate);
  190|       |
  191|      2|    tstate->_status.bound = 1;
  192|      2|}
pystate.c:tstate_mimalloc_bind:
 3211|      2|{
 3212|       |#ifdef Py_GIL_DISABLED
 3213|       |    struct _mimalloc_thread_state *mts = &((_PyThreadStateImpl*)tstate)->mimalloc;
 3214|       |
 3215|       |    // Initialize the mimalloc thread state. This must be called from the
 3216|       |    // same thread that will use the thread state. The "mem" heap doubles as
 3217|       |    // the "backing" heap.
 3218|       |    mi_tld_t *tld = &mts->tld;
 3219|       |    _mi_tld_init(tld, &mts->heaps[_Py_MIMALLOC_HEAP_MEM]);
 3220|       |    llist_init(&mts->page_list);
 3221|       |
 3222|       |    // Exiting threads push any remaining in-use segments to the abandoned
 3223|       |    // pool to be re-claimed later by other threads. We use per-interpreter
 3224|       |    // pools to keep Python objects from different interpreters separate.
 3225|       |    tld->segments.abandoned = &tstate->interp->mimalloc.abandoned_pool;
 3226|       |
 3227|       |    // Don't fill in the first N bytes up to ob_type in debug builds. We may
 3228|       |    // access ob_tid and the refcount fields in the dict and list lock-less
 3229|       |    // accesses, so they must remain valid for a while after deallocation.
 3230|       |    size_t base_offset = offsetof(PyObject, ob_type);
 3231|       |    if (_PyMem_DebugEnabled()) {
 3232|       |        // The debug allocator adds two words at the beginning of each block.
 3233|       |        base_offset += 2 * sizeof(size_t);
 3234|       |    }
 3235|       |    size_t debug_offsets[_Py_MIMALLOC_HEAP_COUNT] = {
 3236|       |        [_Py_MIMALLOC_HEAP_OBJECT] = base_offset,
 3237|       |        [_Py_MIMALLOC_HEAP_GC] = base_offset,
 3238|       |        [_Py_MIMALLOC_HEAP_GC_PRE] = base_offset + 2 * sizeof(PyObject *),
 3239|       |    };
 3240|       |
 3241|       |    // Initialize each heap
 3242|       |    for (uint8_t i = 0; i < _Py_MIMALLOC_HEAP_COUNT; i++) {
 3243|       |        _mi_heap_init_ex(&mts->heaps[i], tld, _mi_arena_id_none(), false, i);
 3244|       |        mts->heaps[i].debug_offset = (uint8_t)debug_offsets[i];
 3245|       |    }
 3246|       |
 3247|       |    // Heaps that store Python objects should use QSBR to delay freeing
 3248|       |    // mimalloc pages while there may be concurrent lock-free readers.
 3249|       |    mts->heaps[_Py_MIMALLOC_HEAP_OBJECT].page_use_qsbr = true;
 3250|       |    mts->heaps[_Py_MIMALLOC_HEAP_GC].page_use_qsbr = true;
 3251|       |    mts->heaps[_Py_MIMALLOC_HEAP_GC_PRE].page_use_qsbr = true;
 3252|       |
 3253|       |    // By default, object allocations use _Py_MIMALLOC_HEAP_OBJECT.
 3254|       |    // _PyObject_GC_New() and similar functions temporarily override this to
 3255|       |    // use one of the GC heaps.
 3256|       |    mts->current_object_heap = &mts->heaps[_Py_MIMALLOC_HEAP_OBJECT];
 3257|       |
 3258|       |    _Py_atomic_store_int(&mts->initialized, 1);
 3259|       |#endif
 3260|      2|}
pystate.c:gilstate_get:
  129|      4|{
  130|      4|    return _Py_tss_gilstate;
  131|      4|}
pystate.c:bind_gilstate_tstate:
  237|      2|{
  238|      2|    assert(tstate != NULL);
  239|      2|    assert(tstate_is_alive(tstate));
  240|      2|    assert(tstate_is_bound(tstate));
  241|       |    // XXX assert(!tstate->_status.active);
  242|      2|    assert(!tstate->_status.bound_gilstate);
  243|       |
  244|      2|    PyThreadState *tcur = gilstate_get();
  245|      2|    assert(tstate != tcur);
  246|       |
  247|      2|    if (tcur != NULL) {
  ------------------
  |  Branch (247:9): [True: 0, False: 2]
  ------------------
  248|      0|        tcur->_status.bound_gilstate = 0;
  249|      0|    }
  250|      2|    gilstate_set(tstate);
  251|      2|    tstate->_status.bound_gilstate = 1;
  252|      2|}
pystate.c:gilstate_set:
  135|      2|{
  136|       |    assert(tstate != NULL);
  137|      2|    _Py_tss_gilstate = tstate;
  138|      2|}
pystate.c:current_fast_clear:
  100|   116k|{
  101|   116k|    _Py_tss_tstate = NULL;
  102|       |    _Py_tss_interp = NULL;
  103|   116k|}
pystate.c:current_fast_set:
   91|   116k|{
   92|   116k|    assert(tstate != NULL);
   93|   116k|    _Py_tss_tstate = tstate;
   94|       |    assert(tstate->interp != NULL);
   95|   116k|    _Py_tss_interp = tstate->interp;
   96|   116k|}
pystate.c:tstate_try_attach:
 2171|   116k|{
 2172|       |#ifdef Py_GIL_DISABLED
 2173|       |    int expected = _Py_THREAD_DETACHED;
 2174|       |    return _Py_atomic_compare_exchange_int(&tstate->state,
 2175|       |                                           &expected,
 2176|       |                                           _Py_THREAD_ATTACHED);
 2177|       |#else
 2178|   116k|    assert(tstate->state == _Py_THREAD_DETACHED);
 2179|   116k|    tstate->state = _Py_THREAD_ATTACHED;
  ------------------
  |  |   47|   116k|#define _Py_THREAD_ATTACHED         1
  ------------------
 2180|   116k|    return 1;
 2181|   116k|#endif
 2182|   116k|}
pystate.c:tstate_activate:
 2136|   116k|{
 2137|   116k|    assert(tstate != NULL);
 2138|       |    // XXX assert(tstate_is_alive(tstate));
 2139|   116k|    assert(tstate_is_bound(tstate));
 2140|   116k|    assert(!tstate->_status.active);
 2141|       |
 2142|   116k|    assert(!tstate->_status.bound_gilstate ||
 2143|   116k|           tstate == gilstate_get());
 2144|   116k|    if (!tstate->_status.bound_gilstate) {
  ------------------
  |  Branch (2144:9): [True: 0, False: 116k]
  ------------------
 2145|      0|        bind_gilstate_tstate(tstate);
 2146|      0|    }
 2147|       |
 2148|   116k|    tstate->_status.active = 1;
 2149|   116k|}
pystate.c:detach_thread:
 2277|   116k|{
 2278|       |    // XXX assert(tstate_is_alive(tstate) && tstate_is_bound(tstate));
 2279|   116k|    assert(_Py_atomic_load_int_relaxed(&tstate->state) == _Py_THREAD_ATTACHED);
 2280|   116k|    assert(tstate == current_fast_get());
 2281|   116k|    if (tstate->critical_section != 0) {
  ------------------
  |  Branch (2281:9): [True: 0, False: 116k]
  ------------------
 2282|      0|        _PyCriticalSection_SuspendAll(tstate);
 2283|      0|    }
 2284|       |#ifdef Py_GIL_DISABLED
 2285|       |    _Py_qsbr_detach(((_PyThreadStateImpl *)tstate)->qsbr);
 2286|       |#endif
 2287|   116k|    tstate_deactivate(tstate);
 2288|   116k|    tstate_set_detached(tstate, detached_state);
 2289|   116k|    current_fast_clear(&_PyRuntime);
 2290|   116k|    _PyEval_ReleaseLock(tstate->interp, tstate, 0);
 2291|   116k|}
pystate.c:tstate_deactivate:
 2153|   116k|{
 2154|   116k|    assert(tstate != NULL);
 2155|       |    // XXX assert(tstate_is_alive(tstate));
 2156|   116k|    assert(tstate_is_bound(tstate));
 2157|   116k|    assert(tstate->_status.active);
 2158|       |
 2159|       |#if Py_STATS
 2160|       |    _PyStats_Detach((_PyThreadStateImpl *)tstate);
 2161|       |#endif
 2162|       |
 2163|   116k|    tstate->_status.active = 0;
 2164|       |
 2165|       |    // We do not unbind the gilstate tstate here.
 2166|       |    // It will still be used in PyGILState_Ensure().
 2167|   116k|}
pystate.c:tstate_set_detached:
 2186|   116k|{
 2187|   116k|    assert(_Py_atomic_load_int_relaxed(&tstate->state) == _Py_THREAD_ATTACHED);
 2188|       |#ifdef Py_GIL_DISABLED
 2189|       |    _Py_atomic_store_int(&tstate->state, detached_state);
 2190|       |#else
 2191|   116k|    tstate->state = detached_state;
 2192|   116k|#endif
 2193|   116k|}
pystate.c:push_chunk:
 3090|    518|{
 3091|    518|    int allocate_size = _PY_DATA_STACK_CHUNK_SIZE;
  ------------------
  |  |   65|    518|#define _PY_DATA_STACK_CHUNK_SIZE (16*1024)
  ------------------
 3092|    518|    while (allocate_size < (int)sizeof(PyObject*)*(size + MINIMUM_OVERHEAD)) {
  ------------------
  |  | 3086|    518|#define MINIMUM_OVERHEAD 1000
  ------------------
  |  Branch (3092:12): [True: 0, False: 518]
  ------------------
 3093|      0|        allocate_size *= 2;
 3094|      0|    }
 3095|    518|    _PyStackChunk *new;
 3096|    518|    if (tstate->datastack_cached_chunk != NULL
  ------------------
  |  Branch (3096:9): [True: 514, False: 4]
  ------------------
 3097|    514|        && (size_t)allocate_size <= tstate->datastack_cached_chunk->size)
  ------------------
  |  Branch (3097:12): [True: 514, False: 0]
  ------------------
 3098|    514|    {
 3099|    514|        new = tstate->datastack_cached_chunk;
 3100|    514|        tstate->datastack_cached_chunk = NULL;
 3101|    514|        new->previous = tstate->datastack_chunk;
 3102|    514|        new->top = 0;
 3103|    514|    }
 3104|      4|    else {
 3105|      4|        new = allocate_chunk(allocate_size, tstate->datastack_chunk);
 3106|      4|        if (new == NULL) {
  ------------------
  |  Branch (3106:13): [True: 0, False: 4]
  ------------------
 3107|      0|            return NULL;
 3108|      0|        }
 3109|      4|    }
 3110|    518|    if (tstate->datastack_chunk) {
  ------------------
  |  Branch (3110:9): [True: 516, False: 2]
  ------------------
 3111|    516|        tstate->datastack_chunk->top = tstate->datastack_top -
 3112|    516|                                       &tstate->datastack_chunk->data[0];
 3113|    516|    }
 3114|    518|    tstate->datastack_chunk = new;
 3115|    518|    tstate->datastack_limit = (PyObject **)(((char *)new) + allocate_size);
 3116|       |    // When new is the "root" chunk (i.e. new->previous == NULL), we can keep
 3117|       |    // _PyThreadState_PopFrame from freeing it later by "skipping" over the
 3118|       |    // first element:
 3119|       |    PyObject **res = &new->data[new->previous == NULL];
 3120|    518|    tstate->datastack_top = res + size;
 3121|    518|    return res;
 3122|    518|}
pystate.c:allocate_chunk:
 1438|      4|{
 1439|      4|    assert(size_in_bytes % sizeof(PyObject **) == 0);
 1440|      4|    _PyStackChunk *res = _PyObject_VirtualAlloc(size_in_bytes);
 1441|      4|    if (res == NULL) {
  ------------------
  |  Branch (1441:9): [True: 0, False: 4]
  ------------------
 1442|      0|        return NULL;
 1443|      0|    }
 1444|      4|    res->previous = previous;
 1445|      4|    res->size = size_in_bytes;
 1446|      4|    res->top = 0;
 1447|      4|    return res;
 1448|      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 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|  13.6k|{
   30|  13.6k|    double retval;
   31|  13.6k|    const char *s;
   32|  13.6k|    int negate = 0;
   33|       |
   34|  13.6k|    s = p;
   35|  13.6k|    if (*s == '-') {
  ------------------
  |  Branch (35:9): [True: 4, False: 13.6k]
  ------------------
   36|      4|        negate = 1;
   37|      4|        s++;
   38|      4|    }
   39|  13.6k|    else if (*s == '+') {
  ------------------
  |  Branch (39:14): [True: 0, False: 13.6k]
  ------------------
   40|      0|        s++;
   41|      0|    }
   42|  13.6k|    if (case_insensitive_match(s, "inf")) {
  ------------------
  |  Branch (42:9): [True: 13.6k, False: 2]
  ------------------
   43|  13.6k|        s += 3;
   44|  13.6k|        if (case_insensitive_match(s, "inity"))
  ------------------
  |  Branch (44:13): [True: 0, False: 13.6k]
  ------------------
   45|      0|            s += 5;
   46|  13.6k|        retval = negate ? -INFINITY : INFINITY;
  ------------------
  |  Branch (46:18): [True: 4, False: 13.6k]
  ------------------
   47|  13.6k|    }
   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|  13.6k|    *endptr = (char *)s;
   57|  13.6k|    return retval;
   58|  13.6k|}
PyOS_string_to_double:
  302|  13.6k|{
  303|  13.6k|    double x, result=-1.0;
  304|  13.6k|    char *fail_pos;
  305|       |
  306|  13.6k|    errno = 0;
  307|  13.6k|    x = _PyOS_ascii_strtod(s, &fail_pos);
  308|       |
  309|  13.6k|    if (errno == ENOMEM) {
  ------------------
  |  Branch (309:9): [True: 0, False: 13.6k]
  ------------------
  310|      0|        PyErr_NoMemory();
  311|      0|        fail_pos = (char *)s;
  312|      0|    }
  313|  13.6k|    else if (!endptr && (fail_pos == s || *fail_pos != '\0'))
  ------------------
  |  Branch (313:14): [True: 33, False: 13.6k]
  |  Branch (313:26): [True: 0, False: 33]
  |  Branch (313:43): [True: 0, False: 33]
  ------------------
  314|      0|        PyErr_Format(PyExc_ValueError,
  315|      0|                      "could not convert string to float: "
  316|      0|                      "'%.200s'", s);
  317|  13.6k|    else if (fail_pos == s)
  ------------------
  |  Branch (317:14): [True: 0, False: 13.6k]
  ------------------
  318|      0|        PyErr_Format(PyExc_ValueError,
  319|      0|                      "could not convert string to float: "
  320|      0|                      "'%.200s'", s);
  321|  13.6k|    else if (errno == ERANGE && fabs(x) >= 1.0 && overflow_exception)
  ------------------
  |  Branch (321:14): [True: 0, False: 13.6k]
  |  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|  13.6k|    else
  326|  13.6k|        result = x;
  327|       |
  328|  13.6k|    if (endptr != NULL)
  ------------------
  |  Branch (328:9): [True: 13.6k, False: 33]
  ------------------
  329|  13.6k|        *endptr = fail_pos;
  330|  13.6k|    return result;
  331|  13.6k|}
_Py_string_to_number_with_underscores:
  348|  13.6k|{
  349|  13.6k|    char prev;
  350|  13.6k|    const char *p, *last;
  351|  13.6k|    char *dup, *end;
  352|  13.6k|    PyObject *result;
  353|       |
  354|  13.6k|    assert(s[orig_len] == '\0');
  355|       |
  356|  13.6k|    if (strchr(s, '_') == NULL) {
  ------------------
  |  Branch (356:9): [True: 13.6k, False: 0]
  ------------------
  357|  13.6k|        return innerfunc(s, orig_len, arg);
  358|  13.6k|    }
  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|  27.2k|{
   15|  68.0k|    while(*t && Py_TOLOWER(*s) == *t) {
  ------------------
  |  |   32|  54.4k|#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
  |  |  ------------------
  |  |  |  |  138|  54.4k|#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
  |  |  ------------------
  ------------------
  |  Branch (15:11): [True: 54.4k, False: 13.6k]
  |  Branch (15:17): [True: 40.8k, False: 13.6k]
  ------------------
   16|  40.8k|        s++;
   17|  40.8k|        t++;
   18|  40.8k|    }
   19|  27.2k|    return *t ? 0 : 1;
  ------------------
  |  Branch (19:12): [True: 13.6k, False: 13.6k]
  ------------------
   20|  27.2k|}
pystrtod.c:_PyOS_ascii_strtod:
   94|  13.6k|{
   95|  13.6k|    double result;
   96|  13.6k|    _Py_SET_53BIT_PRECISION_HEADER;
  ------------------
  |  |   94|  13.6k|    unsigned short old_387controlword, new_387controlword
  ------------------
   97|       |
   98|  13.6k|    assert(nptr != NULL);
   99|       |    /* Set errno to zero, so that we can distinguish zero results
  100|       |       and underflows */
  101|  13.6k|    errno = 0;
  102|       |
  103|  13.6k|    _Py_SET_53BIT_PRECISION_START;
  ------------------
  |  |   96|  13.6k|    do {                                                                \
  |  |   97|  13.6k|        old_387controlword = _Py_get_387controlword();                  \
  |  |   98|  13.6k|        new_387controlword = (old_387controlword & ~0x0f00) | 0x0200;   \
  |  |   99|  13.6k|        if (new_387controlword != old_387controlword) {                 \
  |  |  ------------------
  |  |  |  Branch (99:13): [True: 13.6k, False: 0]
  |  |  ------------------
  |  |  100|  13.6k|            _Py_set_387controlword(new_387controlword);                 \
  |  |  101|  13.6k|        }                                                               \
  |  |  102|  13.6k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (102:14): [Folded, False: 13.6k]
  |  |  ------------------
  ------------------
  104|  13.6k|    result = _Py_dg_strtod(nptr, endptr);
  105|  13.6k|    _Py_SET_53BIT_PRECISION_END;
  ------------------
  |  |  104|  13.6k|    do {                                                                \
  |  |  105|  13.6k|        if (new_387controlword != old_387controlword) {                 \
  |  |  ------------------
  |  |  |  Branch (105:13): [True: 13.6k, False: 0]
  |  |  ------------------
  |  |  106|  13.6k|            _Py_set_387controlword(old_387controlword);                 \
  |  |  107|  13.6k|        }                                                               \
  |  |  108|  13.6k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (108:14): [Folded, False: 13.6k]
  |  |  ------------------
  ------------------
  106|       |
  107|  13.6k|    if (*endptr == nptr)
  ------------------
  |  Branch (107:9): [True: 13.6k, False: 35]
  ------------------
  108|       |        /* string might represent an inf or nan */
  109|  13.6k|        result = _Py_parse_inf_or_nan(nptr, endptr);
  110|       |
  111|  13.6k|    return result;
  112|       |
  113|  13.6k|}

_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|  27.2k|{
 1532|  27.2k|    PyCodeObject *co;
 1533|  27.2k|    mod_ty mod;
 1534|  27.2k|    PyArena *arena = _PyArena_New();
 1535|  27.2k|    if (arena == NULL)
  ------------------
  |  Branch (1535:9): [True: 0, False: 27.2k]
  ------------------
 1536|      0|        return NULL;
 1537|       |
 1538|  27.2k|    mod = _PyParser_ASTFromString(str, filename, start, flags, arena, module);
 1539|  27.2k|    if (mod == NULL) {
  ------------------
  |  Branch (1539:9): [True: 27.1k, False: 67]
  ------------------
 1540|  27.1k|        _PyArena_Free(arena);
 1541|  27.1k|        return NULL;
 1542|  27.1k|    }
 1543|     67|    if (flags && (flags->cf_flags & PyCF_ONLY_AST)) {
  ------------------
  |  |   17|     67|#define PyCF_ONLY_AST 0x0400
  ------------------
  |  Branch (1543:9): [True: 67, False: 0]
  |  Branch (1543:18): [True: 6, False: 61]
  ------------------
 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|     61|    co = _PyAST_Compile(mod, filename, flags, optimize, arena, module);
 1556|     61|    _PyArena_Free(arena);
 1557|     61|    return (PyObject *)co;
 1558|     67|}
_Py_SourceAsString:
 1595|  27.4k|{
 1596|  27.4k|    const char *str;
 1597|  27.4k|    Py_ssize_t size;
 1598|  27.4k|    Py_buffer view;
 1599|       |
 1600|  27.4k|    *cmd_copy = NULL;
 1601|  27.4k|    if (PyUnicode_Check(cmd)) {
  ------------------
  |  |  103|  27.4k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  27.4k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 27.3k, False: 45]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1602|  27.3k|        cf->cf_flags |= PyCF_IGNORE_COOKIE;
  ------------------
  |  |   18|  27.3k|#define PyCF_IGNORE_COOKIE 0x0800
  ------------------
 1603|  27.3k|        str = PyUnicode_AsUTF8AndSize(cmd, &size);
 1604|  27.3k|        if (str == NULL)
  ------------------
  |  Branch (1604:13): [True: 0, False: 27.3k]
  ------------------
 1605|      0|            return NULL;
 1606|  27.3k|    }
 1607|     45|    else if (PyBytes_Check(cmd)) {
  ------------------
  |  |   28|     45|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|     45|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 45, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1608|     45|        str = PyBytes_AS_STRING(cmd);
  ------------------
  |  |   27|     45|#define PyBytes_AS_STRING(op) PyBytes_AS_STRING(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     45|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     45|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1609|     45|        size = PyBytes_GET_SIZE(cmd);
  ------------------
  |  |   33|     45|#define PyBytes_GET_SIZE(self) PyBytes_GET_SIZE(_PyObject_CAST(self))
  |  |  ------------------
  |  |  |  |  171|     45|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     45|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1610|     45|    }
 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|  27.4k|    if (strlen(str) != (size_t)size) {
  ------------------
  |  Branch (1633:9): [True: 0, False: 27.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|  27.4k|    return str;
 1640|  27.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);
  ------------------
  |  |  917|    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|  78.5k|{
  227|  78.5k|#if SIZEOF_TIME_T == SIZEOF_LONG_LONG
  228|  78.5k|    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|  78.5k|}
_PyTime_FromSeconds:
  539|  83.9k|{
  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|  83.9k|    static_assert(INT_MAX <= PyTime_MAX / SEC_TO_NS, "PyTime_t overflow");
  544|  83.9k|    static_assert(INT_MIN >= PyTime_MIN / SEC_TO_NS, "PyTime_t underflow");
  545|       |
  546|  83.9k|    PyTime_t t = (PyTime_t)seconds;
  547|  83.9k|    assert((t >= 0 && t <= PyTime_MAX / SEC_TO_NS)
  548|  83.9k|           || (t < 0 && t >= PyTime_MIN / SEC_TO_NS));
  549|  83.9k|    t *= SEC_TO_NS;
  ------------------
  |  |   35|  83.9k|#define SEC_TO_NS (SEC_TO_MS * MS_TO_NS)
  |  |  ------------------
  |  |  |  |   26|  83.9k|#define SEC_TO_MS 1000
  |  |  ------------------
  |  |               #define SEC_TO_NS (SEC_TO_MS * MS_TO_NS)
  |  |  ------------------
  |  |  |  |   34|  83.9k|#define MS_TO_NS (MS_TO_US * US_TO_NS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  83.9k|#define MS_TO_US 1000
  |  |  |  |  ------------------
  |  |  |  |               #define MS_TO_NS (MS_TO_US * US_TO_NS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|  83.9k|#define US_TO_NS 1000
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  550|  83.9k|    return t;
  551|  83.9k|}
_PyTime_FromMicrosecondsClamp:
  556|  20.8k|{
  557|  20.8k|    PyTime_t ns = _PyTime_Mul(us, US_TO_NS);
  ------------------
  |  |   33|  20.8k|#define US_TO_NS 1000
  ------------------
  558|  20.8k|    return ns;
  559|  20.8k|}
PyTime_AsSecondsDouble:
  705|  18.5k|{
  706|       |    /* volatile avoids optimization changing how numbers are rounded */
  707|  18.5k|    volatile double d;
  708|       |
  709|  18.5k|    if (ns % SEC_TO_NS == 0) {
  ------------------
  |  |   35|  18.5k|#define SEC_TO_NS (SEC_TO_MS * MS_TO_NS)
  |  |  ------------------
  |  |  |  |   26|  18.5k|#define SEC_TO_MS 1000
  |  |  ------------------
  |  |               #define SEC_TO_NS (SEC_TO_MS * MS_TO_NS)
  |  |  ------------------
  |  |  |  |   34|  18.5k|#define MS_TO_NS (MS_TO_US * US_TO_NS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  18.5k|#define MS_TO_US 1000
  |  |  |  |  ------------------
  |  |  |  |               #define MS_TO_NS (MS_TO_US * US_TO_NS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|  18.5k|#define US_TO_NS 1000
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (709:9): [True: 0, False: 18.5k]
  ------------------
  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|  18.5k|    else {
  716|  18.5k|        d = (double)ns;
  717|  18.5k|        d /= 1e9;
  718|  18.5k|    }
  719|  18.5k|    return d;
  720|  18.5k|}
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|  16.5k|{
 1279|  16.5k|    if (py_get_monotonic_clock(result, NULL, 1) < 0) {
  ------------------
  |  Branch (1279:9): [True: 0, False: 16.5k]
  ------------------
 1280|      0|        *result = 0;
 1281|      0|        return -1;
 1282|      0|    }
 1283|  16.5k|    return 0;
 1284|  16.5k|}
PyTime_MonotonicRaw:
 1289|  4.04k|{
 1290|  4.04k|    if (py_get_monotonic_clock(result, NULL, 0) < 0) {
  ------------------
  |  Branch (1290:9): [True: 0, False: 4.04k]
  ------------------
 1291|      0|        *result = 0;
 1292|      0|        return -1;
 1293|      0|    }
 1294|  4.04k|    return 0;
 1295|  4.04k|}
PyTime_PerfCounter:
 1314|  16.5k|{
 1315|  16.5k|    return PyTime_Monotonic(result);
 1316|  16.5k|}
PyTime_PerfCounterRaw:
 1321|  4.04k|{
 1322|  4.04k|    return PyTime_MonotonicRaw(result);
 1323|  4.04k|}
_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|  20.6k|{
  118|  20.6k|    if (t2 > 0 && *t1 > PyTime_MAX - t2) {
  ------------------
  |  |   12|  20.6k|#define PyTime_MAX INT64_MAX
  ------------------
  |  Branch (118:9): [True: 20.6k, False: 0]
  |  Branch (118:19): [True: 0, False: 20.6k]
  ------------------
  119|      0|        *t1 = PyTime_MAX;
  ------------------
  |  |   12|      0|#define PyTime_MAX INT64_MAX
  ------------------
  120|      0|        return -1;
  121|      0|    }
  122|  20.6k|    else if (t2 < 0 && *t1 < PyTime_MIN - t2) {
  ------------------
  |  |   11|      0|#define PyTime_MIN INT64_MIN
  ------------------
  |  Branch (122:14): [True: 0, False: 20.6k]
  |  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|  20.6k|    else {
  127|  20.6k|        *t1 += t2;
  128|  20.6k|        return 0;
  129|  20.6k|    }
  130|  20.6k|}
pytime.c:_PyTime_Mul:
  173|  20.8k|{
  174|  20.8k|    (void)pytime_mul(&t, k);
  175|  20.8k|    return t;
  176|  20.8k|}
pytime.c:pytime_mul:
  157|  41.4k|{
  158|  41.4k|    assert(k >= 0);
  159|  41.4k|    if (pytime_mul_check_overflow(*t, k)) {
  ------------------
  |  Branch (159:9): [True: 0, False: 41.4k]
  ------------------
  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|  41.4k|    else {
  164|  41.4k|        *t *= k;
  165|  41.4k|        return 0;
  166|  41.4k|    }
  167|  41.4k|}
pytime.c:pytime_mul_check_overflow:
  143|  41.4k|{
  144|  41.4k|    if (b != 0) {
  ------------------
  |  Branch (144:9): [True: 41.4k, False: 0]
  ------------------
  145|  41.4k|        assert(b > 0);
  146|  41.4k|        return ((a < PyTime_MIN / b) || (PyTime_MAX / b < a));
  ------------------
  |  |   11|  41.4k|#define PyTime_MIN INT64_MIN
  ------------------
                      return ((a < PyTime_MIN / b) || (PyTime_MAX / b < a));
  ------------------
  |  |   12|  41.4k|#define PyTime_MAX INT64_MAX
  ------------------
  |  Branch (146:17): [True: 0, False: 41.4k]
  |  Branch (146:41): [True: 0, False: 41.4k]
  ------------------
  147|  41.4k|    }
  148|      0|    else {
  149|      0|        return 0;
  150|      0|    }
  151|  41.4k|}
pytime.c:pytime_fromtimespec:
  565|  20.6k|{
  566|  20.6k|    PyTime_t t, tv_nsec;
  567|       |
  568|  20.6k|    static_assert(sizeof(ts->tv_sec) <= sizeof(PyTime_t),
  569|  20.6k|                  "timespec.tv_sec is larger than PyTime_t");
  570|  20.6k|    t = (PyTime_t)ts->tv_sec;
  571|       |
  572|  20.6k|    int res1 = pytime_mul(&t, SEC_TO_NS);
  ------------------
  |  |   35|  20.6k|#define SEC_TO_NS (SEC_TO_MS * MS_TO_NS)
  |  |  ------------------
  |  |  |  |   26|  20.6k|#define SEC_TO_MS 1000
  |  |  ------------------
  |  |               #define SEC_TO_NS (SEC_TO_MS * MS_TO_NS)
  |  |  ------------------
  |  |  |  |   34|  20.6k|#define MS_TO_NS (MS_TO_US * US_TO_NS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   29|  20.6k|#define MS_TO_US 1000
  |  |  |  |  ------------------
  |  |  |  |               #define MS_TO_NS (MS_TO_US * US_TO_NS)
  |  |  |  |  ------------------
  |  |  |  |  |  |   33|  20.6k|#define US_TO_NS 1000
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  573|       |
  574|  20.6k|    tv_nsec = ts->tv_nsec;
  575|  20.6k|    int res2 = pytime_add(&t, tv_nsec);
  576|       |
  577|  20.6k|    *tp = t;
  578|       |
  579|  20.6k|    if (raise_exc && (res1 < 0 || res2 < 0)) {
  ------------------
  |  Branch (579:9): [True: 16.5k, False: 4.04k]
  |  Branch (579:23): [True: 0, False: 16.5k]
  |  Branch (579:35): [True: 0, False: 16.5k]
  ------------------
  580|      0|        pytime_overflow();
  581|      0|        return -1;
  582|      0|    }
  583|  20.6k|    return 0;
  584|  20.6k|}
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|  20.5k|{
 1193|  20.5k|    assert(info == NULL || raise_exc);
 1194|  20.5k|    if (raise_exc) {
  ------------------
  |  Branch (1194:9): [True: 16.5k, False: 4.04k]
  ------------------
 1195|       |        // raise_exc requires to hold a thread state
 1196|  16.5k|        _Py_AssertHoldsTstate();
 1197|  16.5k|    }
 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|  20.5k|    const clockid_t clk_id = CLOCK_MONOTONIC;
 1244|  20.5k|    const char *implementation = "clock_gettime(CLOCK_MONOTONIC)";
 1245|  20.5k|#endif
 1246|       |
 1247|  20.5k|    struct timespec ts;
 1248|  20.5k|    if (clock_gettime(clk_id, &ts) != 0) {
  ------------------
  |  Branch (1248:9): [True: 0, False: 20.5k]
  ------------------
 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|  20.5k|    if (pytime_fromtimespec(tp, &ts, raise_exc) < 0) {
  ------------------
  |  Branch (1256:9): [True: 0, False: 20.5k]
  ------------------
 1257|      0|        return -1;
 1258|      0|    }
 1259|       |
 1260|  20.5k|    if (info) {
  ------------------
  |  Branch (1260:9): [True: 0, False: 20.5k]
  ------------------
 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|  20.5k|#endif
 1272|  20.5k|    return 0;
 1273|  20.5k|}

_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|  85.2k|{
   65|  85.2k|    #if ENABLE_SPECIALIZATION
   66|  85.2k|    _Py_BackoffCounter jump_counter, adaptive_counter, resume_counter;
   67|  85.2k|    if (enable_counters) {
  ------------------
  |  Branch (67:9): [True: 85.2k, False: 0]
  ------------------
   68|  85.2k|        PyThreadState *tstate = _PyThreadState_GET();
   69|  85.2k|        PyInterpreterState *interp = tstate->interp;
   70|  85.2k|        jump_counter = initial_jump_backoff_counter(&interp->opt_config);
   71|  85.2k|        adaptive_counter = adaptive_counter_warmup();
   72|  85.2k|        resume_counter = initial_resume_backoff_counter(&interp->opt_config);
   73|  85.2k|    }
   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|  85.2k|    int opcode = 0;
   80|  85.2k|    int oparg = 0;
   81|       |    /* The last code unit cannot have a cache, so we don't need to check it */
   82|  3.29M|    for (Py_ssize_t i = 0; i < size-1; i++) {
  ------------------
  |  Branch (82:28): [True: 3.21M, False: 85.2k]
  ------------------
   83|  3.21M|        opcode = instructions[i].op.code;
   84|  3.21M|        int caches = _PyOpcode_Caches[opcode];
   85|  3.21M|        oparg = (oparg << 8) | instructions[i].op.arg;
   86|  3.21M|        if (opcode == GET_ITER) {
  ------------------
  |  |   83|  3.21M|#define GET_ITER                                70
  ------------------
  |  Branch (86:13): [True: 11.4k, False: 3.20M]
  ------------------
   87|  11.4k|            fixup_getiter(&instructions[i], flags);
   88|  11.4k|        }
   89|  3.21M|        if (caches) {
  ------------------
  |  Branch (89:13): [True: 1.02M, False: 2.18M]
  ------------------
   90|       |            // The initial value depends on the opcode
   91|  1.02M|            switch (opcode) {
   92|  26.0k|                case JUMP_BACKWARD:
  ------------------
  |  |   87|  26.0k|#define JUMP_BACKWARD                           74
  ------------------
  |  Branch (92:17): [True: 26.0k, False: 1.00M]
  ------------------
   93|  26.0k|                    instructions[i + 1].counter = jump_counter;
   94|  26.0k|                    break;
   95|   101k|                case RESUME:
  ------------------
  |  |  133|   101k|#define RESUME                                 128
  ------------------
  |  Branch (95:17): [True: 101k, False: 925k]
  ------------------
   96|   101k|                    instructions[i + 1].counter = resume_counter;
   97|   101k|                    break;
   98|  38.2k|                case POP_JUMP_IF_FALSE:
  ------------------
  |  |  112|  38.2k|#define POP_JUMP_IF_FALSE                       99
  ------------------
  |  Branch (98:17): [True: 38.2k, False: 989k]
  ------------------
   99|  71.1k|                case POP_JUMP_IF_TRUE:
  ------------------
  |  |  115|  71.1k|#define POP_JUMP_IF_TRUE                       102
  ------------------
  |  Branch (99:17): [True: 32.8k, False: 994k]
  ------------------
  100|  73.7k|                case POP_JUMP_IF_NONE:
  ------------------
  |  |  113|  73.7k|#define POP_JUMP_IF_NONE                       100
  ------------------
  |  Branch (100:17): [True: 2.67k, False: 1.02M]
  ------------------
  101|  76.4k|                case POP_JUMP_IF_NOT_NONE:
  ------------------
  |  |  114|  76.4k|#define POP_JUMP_IF_NOT_NONE                   101
  ------------------
  |  Branch (101:17): [True: 2.68k, False: 1.02M]
  ------------------
  102|  76.4k|                    instructions[i + 1].cache = 0x5555;  // Alternating 0, 1 bits
  103|  76.4k|                    break;
  104|   823k|                default:
  ------------------
  |  Branch (104:17): [True: 823k, False: 204k]
  ------------------
  105|   823k|                    instructions[i + 1].counter = adaptive_counter;
  106|   823k|                    break;
  107|  1.02M|            }
  108|  1.02M|            i += caches;
  109|  1.02M|        }
  110|  3.21M|        if (opcode != EXTENDED_ARG) {
  ------------------
  |  |   80|  3.21M|#define EXTENDED_ARG                            67
  ------------------
  |  Branch (110:13): [True: 3.20M, False: 8.85k]
  ------------------
  111|  3.20M|            oparg = 0;
  112|  3.20M|        }
  113|  3.21M|    }
  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|  85.2k|}
_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|   365k|{
  996|   365k|    PyObject *owner = PyStackRef_AsPyObjectBorrow(owner_st);
  997|       |
  998|   365k|    assert(ENABLE_SPECIALIZATION);
  999|   365k|    assert(_PyOpcode_Caches[LOAD_ATTR] == INLINE_CACHE_ENTRIES_LOAD_ATTR);
 1000|   365k|    PyTypeObject *type = Py_TYPE(owner);
  ------------------
  |  |  213|   365k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   365k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   365k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1001|   365k|    bool fail;
 1002|   365k|    if (!_PyType_IsReady(type)) {
  ------------------
  |  Branch (1002:9): [True: 0, False: 365k]
  ------------------
 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|   365k|    else if (Py_TYPE(owner)->tp_getattro == PyModule_Type.tp_getattro) {
  ------------------
  |  |  213|   365k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   365k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   365k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1009:14): [True: 985, False: 364k]
  ------------------
 1010|    985|        fail = specialize_module_load_attr(owner, instr, name);
 1011|    985|    }
 1012|   364k|    else if (PyType_Check(owner)) {
  ------------------
  |  |  766|   364k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   364k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   364k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 2.90k, False: 361k]
  |  |  ------------------
  ------------------
 1013|  2.90k|        fail = specialize_class_load_attr(owner, instr, name);
 1014|  2.90k|    }
 1015|   361k|    else {
 1016|   361k|        fail = specialize_instance_load_attr(owner, instr, name);
 1017|   361k|    }
 1018|       |
 1019|   365k|    if (fail) {
  ------------------
  |  Branch (1019:9): [True: 3.64k, False: 362k]
  ------------------
 1020|  3.64k|        unspecialize(instr);
 1021|  3.64k|    }
 1022|   365k|}
_Py_Specialize_StoreAttr:
 1026|  5.38k|{
 1027|  5.38k|    PyObject *owner = PyStackRef_AsPyObjectBorrow(owner_st);
 1028|       |
 1029|  5.38k|    assert(ENABLE_SPECIALIZATION);
 1030|  5.38k|    assert(_PyOpcode_Caches[STORE_ATTR] == INLINE_CACHE_ENTRIES_STORE_ATTR);
 1031|  5.38k|    PyObject *descr = NULL;
 1032|  5.38k|    _PyAttrCache *cache = (_PyAttrCache *)(instr + 1);
 1033|  5.38k|    PyTypeObject *type = Py_TYPE(owner);
  ------------------
  |  |  213|  5.38k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  5.38k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.38k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1034|  5.38k|    if (!_PyType_IsReady(type)) {
  ------------------
  |  Branch (1034:9): [True: 0, False: 5.38k]
  ------------------
 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|  5.38k|    if (PyModule_CheckExact(owner)) {
  ------------------
  |  |   13|  5.38k|#define PyModule_CheckExact(op) Py_IS_TYPE((op), &PyModule_Type)
  |  |  ------------------
  |  |  |  |  215|  5.38k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  5.38k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  5.38k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 80, False: 5.30k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1042|     80|        SPECIALIZATION_FAIL(STORE_ATTR, SPEC_FAIL_OVERRIDDEN);
  ------------------
  |  |   43|     80|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1043|     80|        goto fail;
 1044|     80|    }
 1045|  5.30k|    unsigned int tp_version = 0;
 1046|  5.30k|    DescriptorClassification kind = analyze_descriptor_store(type, name, &descr, &tp_version);
 1047|  5.30k|    if (tp_version == 0) {
  ------------------
  |  Branch (1047:9): [True: 329, False: 4.98k]
  ------------------
 1048|    329|        goto fail;
 1049|    329|    }
 1050|  5.30k|    assert(descr != NULL || kind == ABSENT || kind == GETSET_OVERRIDDEN);
 1051|  4.98k|    switch(kind) {
  ------------------
  |  Branch (1051:12): [True: 4.98k, False: 0]
  ------------------
 1052|    114|        case OVERRIDING:
  ------------------
  |  Branch (1052:9): [True: 114, False: 4.86k]
  ------------------
 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: 4.96k]
  ------------------
 1056|     12|            SPECIALIZATION_FAIL(STORE_ATTR, SPEC_FAIL_ATTR_METHOD);
  ------------------
  |  |   43|     12|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1057|     12|            goto fail;
 1058|      9|        case PROPERTY:
  ------------------
  |  Branch (1058:9): [True: 9, False: 4.97k]
  ------------------
 1059|      9|            SPECIALIZATION_FAIL(STORE_ATTR, SPEC_FAIL_ATTR_PROPERTY);
  ------------------
  |  |   43|      9|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1060|      9|            goto fail;
 1061|    288|        case OBJECT_SLOT:
  ------------------
  |  Branch (1061:9): [True: 288, False: 4.69k]
  ------------------
 1062|    288|        {
 1063|    288|            PyMemberDescrObject *member = (PyMemberDescrObject *)descr;
 1064|    288|            struct PyMemberDef *dmem = member->d_member;
 1065|    288|            Py_ssize_t offset = dmem->offset;
 1066|    288|            if (!PyObject_TypeCheck(owner, member->d_common.d_type)) {
  ------------------
  |  |  378|    288|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    288|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    288|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1066:17): [True: 0, False: 288]
  ------------------
 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|    288|            if (dmem->flags & _Py_AFTER_ITEMS) {
  ------------------
  |  |   89|    288|#  define _Py_AFTER_ITEMS      (1 << 4) // For internal use.
  ------------------
  |  Branch (1070:17): [True: 0, False: 288]
  ------------------
 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|    288|            if (dmem->flags & Py_READONLY) {
  ------------------
  |  |   83|    288|#define Py_READONLY            (1 << 0)
  ------------------
  |  Branch (1074:17): [True: 0, False: 288]
  ------------------
 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|    288|            if (offset != (uint16_t)offset) {
  ------------------
  |  Branch (1078:17): [True: 0, False: 288]
  ------------------
 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|    288|            assert(dmem->type == Py_T_OBJECT_EX || dmem->type == _Py_T_OBJECT);
 1083|    288|            assert(offset > 0);
 1084|    288|            cache->index = (uint16_t)offset;
 1085|    288|            write_u32(cache->version, tp_version);
 1086|    288|            specialize(instr, STORE_ATTR_SLOT);
  ------------------
  |  |  211|    288|#define STORE_ATTR_SLOT                        206
  ------------------
 1087|    288|            goto success;
 1088|    288|        }
 1089|      0|        case DUNDER_CLASS:
  ------------------
  |  Branch (1089:9): [True: 0, False: 4.98k]
  ------------------
 1090|      0|        case OTHER_SLOT:
  ------------------
  |  Branch (1090:9): [True: 0, False: 4.98k]
  ------------------
 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: 4.97k]
  ------------------
 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: 4.98k]
  ------------------
 1097|      0|        case GETSET_OVERRIDDEN:
  ------------------
  |  Branch (1097:9): [True: 0, False: 4.98k]
  ------------------
 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: 4.98k]
  ------------------
 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: 4.98k]
  ------------------
 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: 4.98k]
  ------------------
 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|     65|        case NON_DESCRIPTOR:
  ------------------
  |  Branch (1109:9): [True: 65, False: 4.91k]
  ------------------
 1110|     65|            SPECIALIZATION_FAIL(STORE_ATTR, SPEC_FAIL_ATTR_CLASS_ATTR_SIMPLE);
  ------------------
  |  |   43|     65|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1111|     65|            goto fail;
 1112|  4.49k|        case ABSENT:
  ------------------
  |  Branch (1112:9): [True: 4.49k, False: 490]
  ------------------
 1113|  4.49k|            if (specialize_dict_access(owner, instr, type, kind, name, tp_version,
  ------------------
  |  Branch (1113:17): [True: 3.80k, False: 684]
  ------------------
 1114|  4.49k|                                       STORE_ATTR, STORE_ATTR_INSTANCE_VALUE,
  ------------------
  |  |  122|  4.49k|#define STORE_ATTR                             109
  ------------------
                                                     STORE_ATTR, STORE_ATTR_INSTANCE_VALUE,
  ------------------
  |  |  210|  4.49k|#define STORE_ATTR_INSTANCE_VALUE              205
  ------------------
 1115|  4.49k|                                       STORE_ATTR_WITH_HINT)) {
  ------------------
  |  |  212|  4.49k|#define STORE_ATTR_WITH_HINT                   207
  ------------------
 1116|  3.80k|                goto success;
 1117|  3.80k|            }
 1118|  4.98k|    }
 1119|  1.29k|fail:
 1120|  1.29k|    Py_XDECREF(descr);
  ------------------
  |  |  524|  1.29k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.29k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.29k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1121|  1.29k|    unspecialize(instr);
 1122|  1.29k|    return;
 1123|  4.09k|success:
 1124|  4.09k|    Py_XDECREF(descr);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1125|  4.09k|    return;
 1126|  4.98k|}
_Py_Specialize_LoadGlobal:
 1449|  6.81k|{
 1450|  6.81k|    Py_BEGIN_CRITICAL_SECTION2(globals, builtins);
  ------------------
  |  |   57|  6.81k|    {
  ------------------
 1451|  6.81k|    specialize_load_global_lock_held(globals, builtins, instr, name);
 1452|  6.81k|    Py_END_CRITICAL_SECTION2();
  ------------------
  |  |   61|  6.81k|    }
  ------------------
 1453|  6.81k|}
_Py_Specialize_StoreSubscr:
 1567|  1.64k|{
 1568|  1.64k|    PyObject *container = PyStackRef_AsPyObjectBorrow(container_st);
 1569|  1.64k|    PyObject *sub = PyStackRef_AsPyObjectBorrow(sub_st);
 1570|       |
 1571|  1.64k|    assert(ENABLE_SPECIALIZATION);
 1572|  1.64k|    PyTypeObject *container_type = Py_TYPE(container);
  ------------------
  |  |  213|  1.64k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.64k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.64k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1573|  1.64k|    if (container_type == &PyList_Type) {
  ------------------
  |  Branch (1573:9): [True: 339, False: 1.30k]
  ------------------
 1574|    339|        if (PyLong_CheckExact(sub)) {
  ------------------
  |  |   14|    339|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|    339|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    339|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    339|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 337, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1575|    337|            if (_PyLong_IsNonNegativeCompact((PyLongObject *)sub)
  ------------------
  |  Branch (1575:17): [True: 46, False: 291]
  ------------------
 1576|     46|                && ((PyLongObject *)sub)->long_value.ob_digit[0] < (size_t)PyList_GET_SIZE(container))
  ------------------
  |  |   38|     46|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     46|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     46|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1576:20): [True: 46, False: 0]
  ------------------
 1577|     46|            {
 1578|     46|                specialize(instr, STORE_SUBSCR_LIST_INT);
  ------------------
  |  |  214|     46|#define STORE_SUBSCR_LIST_INT                  209
  ------------------
 1579|     46|                return;
 1580|     46|            }
 1581|    291|            else {
 1582|    291|                SPECIALIZATION_FAIL(STORE_SUBSCR, SPEC_FAIL_OUT_OF_RANGE);
  ------------------
  |  |   43|    291|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1583|    291|                unspecialize(instr);
 1584|    291|                return;
 1585|    291|            }
 1586|    337|        }
 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|    339|    }
 1598|  1.30k|    if (container_type->tp_as_mapping != NULL &&
  ------------------
  |  Branch (1598:9): [True: 1.30k, False: 0]
  ------------------
 1599|  1.30k|        container_type->tp_as_mapping->mp_ass_subscript == _PyDict_StoreSubscript)
  ------------------
  |  Branch (1599:9): [True: 239, False: 1.07k]
  ------------------
 1600|    239|    {
 1601|    239|        specialize(instr, STORE_SUBSCR_DICT);
  ------------------
  |  |  213|    239|#define STORE_SUBSCR_DICT                      208
  ------------------
 1602|    239|        return;
 1603|    239|    }
 1604|  1.07k|    SPECIALIZATION_FAIL(STORE_SUBSCR, store_subscr_fail_kind(container, sub));
  ------------------
  |  |   43|  1.07k|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1605|  1.07k|    unspecialize(instr);
 1606|  1.07k|}
_Py_Specialize_Call:
 1858|   160k|{
 1859|   160k|    PyObject *callable = PyStackRef_AsPyObjectBorrow(callable_st);
 1860|       |
 1861|   160k|    assert(ENABLE_SPECIALIZATION);
 1862|   160k|    assert(_PyOpcode_Caches[CALL] == INLINE_CACHE_ENTRIES_CALL);
 1863|   160k|    assert(_Py_OPCODE(*instr) != INSTRUMENTED_CALL);
 1864|   160k|    int fail;
 1865|   160k|    if (PyCFunction_CheckExact(callable)) {
  ------------------
  |  |   16|   160k|#define PyCFunction_CheckExact(op) Py_IS_TYPE((op), &PyCFunction_Type)
  |  |  ------------------
  |  |  |  |  215|   160k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   160k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   160k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 147k, False: 12.8k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1866|   147k|        fail = specialize_c_call(callable, instr, nargs);
 1867|   147k|    }
 1868|  12.8k|    else if (PyFunction_Check(callable)) {
  ------------------
  |  |   68|  12.8k|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  ------------------
  |  |  |  |  215|  12.8k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  12.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  12.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 7.44k, False: 5.36k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1869|  7.44k|        fail = specialize_py_call((PyFunctionObject *)callable, instr, nargs, false);
 1870|  7.44k|    }
 1871|  5.36k|    else if (PyType_Check(callable)) {
  ------------------
  |  |  766|  5.36k|#  define PyType_Check(op) PyType_Check(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  5.36k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  5.36k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (766:28): [True: 686, False: 4.68k]
  |  |  ------------------
  ------------------
 1872|    686|        fail = specialize_class_call(callable, instr, nargs);
 1873|    686|    }
 1874|  4.68k|    else if (Py_IS_TYPE(callable, &PyMethodDescr_Type)) {
  ------------------
  |  |  215|  4.68k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  4.68k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.68k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 2.53k, False: 2.15k]
  |  |  ------------------
  ------------------
 1875|  2.53k|        PyObject *self_or_null = PyStackRef_AsPyObjectBorrow(self_or_null_st);
 1876|  2.53k|        fail = specialize_method_descriptor((PyMethodDescrObject *)callable,
 1877|  2.53k|                                            self_or_null, instr, nargs);
 1878|  2.53k|    }
 1879|  2.15k|    else if (PyMethod_Check(callable)) {
  ------------------
  |  |   22|  2.15k|#define PyMethod_Check(op) Py_IS_TYPE((op), &PyMethod_Type)
  |  |  ------------------
  |  |  |  |  215|  2.15k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.15k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.15k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 2.03k, False: 115]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1880|  2.03k|        PyObject *func = ((PyMethodObject *)callable)->im_func;
 1881|  2.03k|        if (PyFunction_Check(func)) {
  ------------------
  |  |   68|  2.03k|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  ------------------
  |  |  |  |  215|  2.03k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.03k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.03k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 2.03k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1882|  2.03k|            fail = specialize_py_call((PyFunctionObject *)func, instr, nargs, true);
 1883|  2.03k|        }
 1884|      0|        else {
 1885|      0|            SPECIALIZATION_FAIL(CALL, SPEC_FAIL_CALL_BOUND_METHOD);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1886|      0|            fail = -1;
 1887|      0|        }
 1888|  2.03k|    }
 1889|    115|    else {
 1890|    115|        specialize(instr, CALL_NON_PY_GENERAL);
  ------------------
  |  |  168|    115|#define CALL_NON_PY_GENERAL                    163
  ------------------
 1891|    115|        fail = 0;
 1892|    115|    }
 1893|   160k|    if (fail) {
  ------------------
  |  Branch (1893:9): [True: 24, False: 160k]
  ------------------
 1894|     24|        unspecialize(instr);
 1895|     24|    }
 1896|   160k|}
_Py_Specialize_CallKw:
 1900|  1.40k|{
 1901|  1.40k|    PyObject *callable = PyStackRef_AsPyObjectBorrow(callable_st);
 1902|       |
 1903|  1.40k|    assert(ENABLE_SPECIALIZATION);
 1904|  1.40k|    assert(_PyOpcode_Caches[CALL_KW] == INLINE_CACHE_ENTRIES_CALL_KW);
 1905|  1.40k|    assert(_Py_OPCODE(*instr) != INSTRUMENTED_CALL_KW);
 1906|  1.40k|    int fail;
 1907|  1.40k|    if (PyFunction_Check(callable)) {
  ------------------
  |  |   68|  1.40k|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  ------------------
  |  |  |  |  215|  1.40k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.40k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.40k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 211, False: 1.19k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1908|    211|        fail = specialize_py_call_kw((PyFunctionObject *)callable, instr, nargs, false);
 1909|    211|    }
 1910|  1.19k|    else if (PyMethod_Check(callable)) {
  ------------------
  |  |   22|  1.19k|#define PyMethod_Check(op) Py_IS_TYPE((op), &PyMethod_Type)
  |  |  ------------------
  |  |  |  |  215|  1.19k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.19k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.19k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.06k, False: 134]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1911|  1.06k|        PyObject *func = ((PyMethodObject *)callable)->im_func;
 1912|  1.06k|        if (PyFunction_Check(func)) {
  ------------------
  |  |   68|  1.06k|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  ------------------
  |  |  |  |  215|  1.06k|#  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: 1.06k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1913|  1.06k|            fail = specialize_py_call_kw((PyFunctionObject *)func, instr, nargs, true);
 1914|  1.06k|        }
 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|  1.06k|    }
 1920|    134|    else {
 1921|    134|        specialize(instr, CALL_KW_NON_PY);
  ------------------
  |  |  160|    134|#define CALL_KW_NON_PY                         155
  ------------------
 1922|    134|        fail = 0;
 1923|    134|    }
 1924|  1.40k|    if (fail) {
  ------------------
  |  Branch (1924:9): [True: 34, False: 1.37k]
  ------------------
 1925|     34|        unspecialize(instr);
 1926|     34|    }
 1927|  1.40k|}
_Py_Specialize_BinaryOp:
 2358|  7.45k|{
 2359|  7.45k|    PyObject *lhs = PyStackRef_AsPyObjectBorrow(lhs_st);
 2360|  7.45k|    PyObject *rhs = PyStackRef_AsPyObjectBorrow(rhs_st);
 2361|  7.45k|    assert(ENABLE_SPECIALIZATION);
 2362|  7.45k|    assert(_PyOpcode_Caches[BINARY_OP] == INLINE_CACHE_ENTRIES_BINARY_OP);
 2363|       |
 2364|  7.45k|    _PyBinaryOpCache *cache = (_PyBinaryOpCache *)(instr + 1);
 2365|  7.45k|    if (instr->op.code == BINARY_OP_EXTEND) {
  ------------------
  |  |  137|  7.45k|#define BINARY_OP_EXTEND                       132
  ------------------
  |  Branch (2365:9): [True: 3, False: 7.45k]
  ------------------
 2366|      3|        write_ptr(cache->external_cache, NULL);
 2367|      3|    }
 2368|       |
 2369|  7.45k|    switch (oparg) {
  ------------------
  |  Branch (2369:13): [True: 4.75k, False: 2.70k]
  ------------------
 2370|    312|        case NB_ADD:
  ------------------
  |  |   10|    312|#define NB_ADD                                   0
  ------------------
  |  Branch (2370:9): [True: 312, False: 7.14k]
  ------------------
 2371|  1.35k|        case NB_INPLACE_ADD:
  ------------------
  |  |   23|  1.35k|#define NB_INPLACE_ADD                          13
  ------------------
  |  Branch (2371:9): [True: 1.04k, False: 6.40k]
  ------------------
 2372|  1.35k|            if (!Py_IS_TYPE(lhs, Py_TYPE(rhs))) {
  ------------------
  |  |  215|  1.35k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  1.35k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.35k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2372:17): [True: 965, False: 393]
  ------------------
 2373|    965|                break;
 2374|    965|            }
 2375|    393|            if (PyUnicode_CheckExact(lhs)) {
  ------------------
  |  |  104|    393|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|    393|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    393|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    393|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 117, False: 276]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2376|    117|                _Py_CODEUNIT next = instr[INLINE_CACHE_ENTRIES_BINARY_OP + 1];
  ------------------
  |  |   81|    117|#define INLINE_CACHE_ENTRIES_BINARY_OP CACHE_ENTRIES(_PyBinaryOpCache)
  |  |  ------------------
  |  |  |  |   65|    117|#define CACHE_ENTRIES(cache) (sizeof(cache)/sizeof(_Py_CODEUNIT))
  |  |  ------------------
  ------------------
 2377|    117|                bool to_store = (next.op.code == STORE_FAST);
  ------------------
  |  |  124|    117|#define STORE_FAST                             111
  ------------------
 2378|    117|                if (to_store && PyStackRef_AsPyObjectBorrow(locals[next.op.arg]) == lhs) {
  ------------------
  |  Branch (2378:21): [True: 33, False: 84]
  |  Branch (2378:33): [True: 19, False: 14]
  ------------------
 2379|     19|                    specialize(instr, BINARY_OP_INPLACE_ADD_UNICODE);
  ------------------
  |  |   16|     19|#define BINARY_OP_INPLACE_ADD_UNICODE            3
  ------------------
 2380|     19|                    return;
 2381|     19|                }
 2382|     98|                specialize(instr, BINARY_OP_ADD_UNICODE);
  ------------------
  |  |  136|     98|#define BINARY_OP_ADD_UNICODE                  131
  ------------------
 2383|     98|                return;
 2384|    117|            }
 2385|    276|            if (_PyLong_CheckExactAndCompact(lhs) && _PyLong_CheckExactAndCompact(rhs)) {
  ------------------
  |  Branch (2385:17): [True: 193, False: 83]
  |  Branch (2385:54): [True: 181, False: 12]
  ------------------
 2386|    181|                specialize(instr, BINARY_OP_ADD_INT);
  ------------------
  |  |  135|    181|#define BINARY_OP_ADD_INT                      130
  ------------------
 2387|    181|                return;
 2388|    181|            }
 2389|     95|            if (PyFloat_CheckExact(lhs)) {
  ------------------
  |  |   17|     95|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_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 (215:32): [True: 3, False: 92]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2390|      3|                specialize(instr, BINARY_OP_ADD_FLOAT);
  ------------------
  |  |  134|      3|#define BINARY_OP_ADD_FLOAT                    129
  ------------------
 2391|      3|                return;
 2392|      3|            }
 2393|     92|            break;
 2394|     92|        case NB_MULTIPLY:
  ------------------
  |  |   15|     67|#define NB_MULTIPLY                              5
  ------------------
  |  Branch (2394:9): [True: 67, False: 7.38k]
  ------------------
 2395|     67|        case NB_INPLACE_MULTIPLY:
  ------------------
  |  |   28|     67|#define NB_INPLACE_MULTIPLY                     18
  ------------------
  |  Branch (2395:9): [True: 0, False: 7.45k]
  ------------------
 2396|     67|            if (!Py_IS_TYPE(lhs, Py_TYPE(rhs))) {
  ------------------
  |  |  215|     67|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|     67|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     67|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2396:17): [True: 34, False: 33]
  ------------------
 2397|     34|                break;
 2398|     34|            }
 2399|     33|            if (_PyLong_CheckExactAndCompact(lhs) && _PyLong_CheckExactAndCompact(rhs)) {
  ------------------
  |  Branch (2399:17): [True: 27, False: 6]
  |  Branch (2399:54): [True: 27, False: 0]
  ------------------
 2400|     27|                specialize(instr, BINARY_OP_MULTIPLY_INT);
  ------------------
  |  |  139|     27|#define BINARY_OP_MULTIPLY_INT                 134
  ------------------
 2401|     27|                return;
 2402|     27|            }
 2403|      6|            if (PyFloat_CheckExact(lhs)) {
  ------------------
  |  |   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: 6, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2404|      6|                specialize(instr, BINARY_OP_MULTIPLY_FLOAT);
  ------------------
  |  |  138|      6|#define BINARY_OP_MULTIPLY_FLOAT               133
  ------------------
 2405|      6|                return;
 2406|      6|            }
 2407|      0|            break;
 2408|  1.09k|        case NB_SUBTRACT:
  ------------------
  |  |   20|  1.09k|#define NB_SUBTRACT                             10
  ------------------
  |  Branch (2408:9): [True: 1.09k, False: 6.36k]
  ------------------
 2409|  1.11k|        case NB_INPLACE_SUBTRACT:
  ------------------
  |  |   33|  1.11k|#define NB_INPLACE_SUBTRACT                     23
  ------------------
  |  Branch (2409:9): [True: 21, False: 7.43k]
  ------------------
 2410|  1.11k|            if (!Py_IS_TYPE(lhs, Py_TYPE(rhs))) {
  ------------------
  |  |  215|  1.11k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  1.11k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.11k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2410:17): [True: 12, False: 1.10k]
  ------------------
 2411|     12|                break;
 2412|     12|            }
 2413|  1.10k|            if (_PyLong_CheckExactAndCompact(lhs) && _PyLong_CheckExactAndCompact(rhs)) {
  ------------------
  |  Branch (2413:17): [True: 601, False: 502]
  |  Branch (2413:54): [True: 601, False: 0]
  ------------------
 2414|    601|                specialize(instr, BINARY_OP_SUBTRACT_INT);
  ------------------
  |  |  148|    601|#define BINARY_OP_SUBTRACT_INT                 143
  ------------------
 2415|    601|                return;
 2416|    601|            }
 2417|    502|            if (PyFloat_CheckExact(lhs)) {
  ------------------
  |  |   17|    502|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_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: 17, False: 485]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2418|     17|                specialize(instr, BINARY_OP_SUBTRACT_FLOAT);
  ------------------
  |  |  147|     17|#define BINARY_OP_SUBTRACT_FLOAT               142
  ------------------
 2419|     17|                return;
 2420|     17|            }
 2421|    485|            break;
 2422|  2.21k|        case NB_SUBSCR:
  ------------------
  |  |   36|  2.21k|#define NB_SUBSCR                               26
  ------------------
  |  Branch (2422:9): [True: 2.21k, False: 5.24k]
  ------------------
 2423|  2.21k|            if (PyLong_CheckExact(rhs) && _PyLong_IsNonNegativeCompact((PyLongObject *)rhs)) {
  ------------------
  |  |   14|  2.21k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  4.42k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.21k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.21k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.80k, False: 406]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2423:43): [True: 1.27k, False: 535]
  ------------------
 2424|  1.27k|                if (PyList_CheckExact(lhs)) {
  ------------------
  |  |   26|  1.27k|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|  1.27k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.27k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.27k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 108, False: 1.16k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2425|    108|                    specialize(instr, BINARY_OP_SUBSCR_LIST_INT);
  ------------------
  |  |  142|    108|#define BINARY_OP_SUBSCR_LIST_INT              137
  ------------------
 2426|    108|                    return;
 2427|    108|                }
 2428|  1.16k|                if (PyTuple_CheckExact(lhs)) {
  ------------------
  |  |   28|  1.16k|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|  1.16k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.16k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.16k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 162, False: 1.00k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2429|    162|                    specialize(instr, BINARY_OP_SUBSCR_TUPLE_INT);
  ------------------
  |  |  145|    162|#define BINARY_OP_SUBSCR_TUPLE_INT             140
  ------------------
 2430|    162|                    return;
 2431|    162|                }
 2432|  1.00k|                if (PyUnicode_CheckExact(lhs) && _PyLong_IsNonNegativeCompact((PyLongObject*)rhs)) {
  ------------------
  |  |  104|  1.00k|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|  2.00k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.00k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.00k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 34, False: 967]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2432:50): [True: 34, False: 0]
  ------------------
 2433|     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]
  |  |  ------------------
  ------------------
 2434|     34|                        specialize(instr, BINARY_OP_SUBSCR_STR_INT);
  ------------------
  |  |  144|     34|#define BINARY_OP_SUBSCR_STR_INT               139
  ------------------
 2435|     34|                        return;
 2436|     34|                    } else {
 2437|      0|                        specialize(instr, BINARY_OP_SUBSCR_USTR_INT);
  ------------------
  |  |  146|      0|#define BINARY_OP_SUBSCR_USTR_INT              141
  ------------------
 2438|      0|                        return;
 2439|      0|                    }
 2440|     34|                }
 2441|  1.00k|            }
 2442|  1.90k|            if (Py_TYPE(lhs)->tp_as_mapping != NULL &&
  ------------------
  |  |  213|  1.90k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.90k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.90k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2442:17): [True: 1.83k, False: 78]
  ------------------
 2443|  1.83k|                Py_TYPE(lhs)->tp_as_mapping->mp_subscript == _PyDict_Subscript)
  ------------------
  |  |  213|  1.83k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.83k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.83k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2443:17): [True: 168, False: 1.66k]
  ------------------
 2444|    168|            {
 2445|    168|                specialize(instr, BINARY_OP_SUBSCR_DICT);
  ------------------
  |  |  140|    168|#define BINARY_OP_SUBSCR_DICT                  135
  ------------------
 2446|    168|                return;
 2447|    168|            }
 2448|  1.74k|            if (PyList_CheckExact(lhs) && PySlice_Check(rhs)) {
  ------------------
  |  |   26|  1.74k|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|  3.48k|#  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: 499, False: 1.24k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          if (PyList_CheckExact(lhs) && PySlice_Check(rhs)) {
  ------------------
  |  |   22|    499|#define PySlice_Check(op) Py_IS_TYPE((op), &PySlice_Type)
  |  |  ------------------
  |  |  |  |  215|    499|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    499|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    499|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 13, False: 486]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2449|     13|                specialize(instr, BINARY_OP_SUBSCR_LIST_SLICE);
  ------------------
  |  |  143|     13|#define BINARY_OP_SUBSCR_LIST_SLICE            138
  ------------------
 2450|     13|                return;
 2451|     13|            }
 2452|  1.72k|            unsigned int tp_version;
 2453|  1.72k|            PyTypeObject *container_type = Py_TYPE(lhs);
  ------------------
  |  |  213|  1.72k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.72k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.72k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2454|  1.72k|            PyObject *descriptor = _PyType_LookupRefAndVersion(container_type, &_Py_ID(__getitem__), &tp_version);
  ------------------
  |  |  915|  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
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2455|  1.72k|            if (descriptor && Py_TYPE(descriptor) == &PyFunction_Type &&
  ------------------
  |  |  213|  1.62k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.62k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.62k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2455:17): [True: 1.62k, False: 102]
  |  Branch (2455:31): [True: 43, False: 1.58k]
  ------------------
 2456|     43|                container_type->tp_flags & Py_TPFLAGS_HEAPTYPE)
  ------------------
  |  |  503|     43|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (2456:17): [True: 43, False: 0]
  ------------------
 2457|     43|            {
 2458|     43|                PyFunctionObject *func = (PyFunctionObject *)descriptor;
 2459|     43|                PyCodeObject *fcode = (PyCodeObject *)func->func_code;
 2460|     43|                int kind = function_kind(fcode);
 2461|     43|                PyHeapTypeObject *ht = (PyHeapTypeObject *)container_type;
 2462|     43|                if (kind == SIMPLE_FUNCTION &&
  ------------------
  |  |  124|     86|#define SIMPLE_FUNCTION 0
  ------------------
  |  Branch (2462:21): [True: 43, False: 0]
  ------------------
 2463|     43|                    fcode->co_argcount == 2 &&
  ------------------
  |  Branch (2463:21): [True: 43, False: 0]
  ------------------
 2464|     43|                    _PyInterpreterState_IsSpecializationEnabled(_PyInterpreterState_GET()) && /* Don't specialize if PEP 523 is active */
  ------------------
  |  Branch (2464:21): [True: 43, False: 0]
  ------------------
 2465|     43|                    _PyType_CacheGetItemForSpecialization(ht, descriptor, (uint32_t)tp_version))
  ------------------
  |  Branch (2465:21): [True: 43, False: 0]
  ------------------
 2466|     43|                {
 2467|     43|                    specialize(instr, BINARY_OP_SUBSCR_GETITEM);
  ------------------
  |  |  141|     43|#define BINARY_OP_SUBSCR_GETITEM               136
  ------------------
 2468|     43|                    Py_DECREF(descriptor);
  ------------------
  |  |  430|     43|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     43|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     43|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2469|     43|                    return;
 2470|     43|                }
 2471|     43|            }
 2472|  1.68k|            Py_XDECREF(descriptor);
  ------------------
  |  |  524|  1.68k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.68k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.68k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2473|  1.68k|            break;
 2474|  7.45k|    }
 2475|       |
 2476|  5.97k|    _PyBinaryOpSpecializationDescr *descr;
 2477|  5.97k|    if (binary_op_extended_specialization(lhs, rhs, oparg, &descr)) {
  ------------------
  |  Branch (2477:9): [True: 222, False: 5.75k]
  ------------------
 2478|    222|        specialize(instr, BINARY_OP_EXTEND);
  ------------------
  |  |  137|    222|#define BINARY_OP_EXTEND                       132
  ------------------
 2479|    222|        write_ptr(cache->external_cache, (void*)descr);
 2480|    222|        return;
 2481|    222|    }
 2482|       |
 2483|  5.75k|    SPECIALIZATION_FAIL(BINARY_OP, binary_op_fail_kind(oparg, lhs, rhs));
  ------------------
  |  |   43|  5.75k|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2484|  5.75k|    unspecialize(instr);
 2485|  5.75k|    return;
 2486|  5.97k|}
_Py_Specialize_CompareOp:
 2527|  4.52k|{
 2528|  4.52k|    PyObject *lhs = PyStackRef_AsPyObjectBorrow(lhs_st);
 2529|  4.52k|    PyObject *rhs = PyStackRef_AsPyObjectBorrow(rhs_st);
 2530|  4.52k|    uint8_t specialized_op;
 2531|       |
 2532|  4.52k|    assert(ENABLE_SPECIALIZATION);
 2533|  4.52k|    assert(_PyOpcode_Caches[COMPARE_OP] == INLINE_CACHE_ENTRIES_COMPARE_OP);
 2534|       |    // All of these specializations compute boolean values, so they're all valid
 2535|       |    // regardless of the fifth-lowest oparg bit.
 2536|  4.52k|    if (Py_TYPE(lhs) != Py_TYPE(rhs)) {
  ------------------
  |  |  213|  4.52k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (Py_TYPE(lhs) != Py_TYPE(rhs)) {
  ------------------
  |  |  213|  4.52k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  4.52k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.52k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2536:9): [True: 878, False: 3.64k]
  ------------------
 2537|    878|        SPECIALIZATION_FAIL(COMPARE_OP, compare_op_fail_kind(lhs, rhs));
  ------------------
  |  |   43|    878|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2538|    878|        goto failure;
 2539|    878|    }
 2540|  3.64k|    if (PyFloat_CheckExact(lhs)) {
  ------------------
  |  |   17|  3.64k|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  215|  3.64k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.64k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.64k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 18, False: 3.63k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2541|     18|        specialized_op = COMPARE_OP_FLOAT;
  ------------------
  |  |  174|     18|#define COMPARE_OP_FLOAT                       169
  ------------------
 2542|     18|        goto success;
 2543|     18|    }
 2544|  3.63k|    if (PyLong_CheckExact(lhs)) {
  ------------------
  |  |   14|  3.63k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  3.63k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.63k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.63k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 2.99k, False: 638]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2545|  2.99k|        if (_PyLong_IsCompact((PyLongObject *)lhs) && _PyLong_IsCompact((PyLongObject *)rhs)) {
  ------------------
  |  Branch (2545:13): [True: 2.29k, False: 698]
  |  Branch (2545:55): [True: 1.58k, False: 708]
  ------------------
 2546|  1.58k|            specialized_op = COMPARE_OP_INT;
  ------------------
  |  |  175|  1.58k|#define COMPARE_OP_INT                         170
  ------------------
 2547|  1.58k|            goto success;
 2548|  1.58k|        }
 2549|  1.40k|        else {
 2550|  1.40k|            SPECIALIZATION_FAIL(COMPARE_OP, SPEC_FAIL_COMPARE_OP_BIG_INT);
  ------------------
  |  |   43|  1.40k|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2551|  1.40k|            goto failure;
 2552|  1.40k|        }
 2553|  2.99k|    }
 2554|    638|    if (PyUnicode_CheckExact(lhs)) {
  ------------------
  |  |  104|    638|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|    638|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    638|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    638|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 289, False: 349]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2555|    289|        int cmp = oparg >> 5;
 2556|    289|        if (cmp != Py_EQ && cmp != Py_NE) {
  ------------------
  |  |  654|    578|#define Py_EQ 2
  ------------------
                      if (cmp != Py_EQ && cmp != Py_NE) {
  ------------------
  |  |  655|     56|#define Py_NE 3
  ------------------
  |  Branch (2556:13): [True: 56, False: 233]
  |  Branch (2556:29): [True: 0, False: 56]
  ------------------
 2557|      0|            SPECIALIZATION_FAIL(COMPARE_OP, SPEC_FAIL_COMPARE_OP_STRING);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2558|      0|            goto failure;
 2559|      0|        }
 2560|    289|        else {
 2561|    289|            specialized_op = COMPARE_OP_STR;
  ------------------
  |  |  176|    289|#define COMPARE_OP_STR                         171
  ------------------
 2562|    289|            goto success;
 2563|    289|        }
 2564|    289|    }
 2565|    349|    SPECIALIZATION_FAIL(COMPARE_OP, compare_op_fail_kind(lhs, rhs));
  ------------------
  |  |   43|    349|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2566|  2.63k|failure:
 2567|  2.63k|    unspecialize(instr);
 2568|  2.63k|    return;
 2569|  1.89k|success:
 2570|  1.89k|    specialize(instr, specialized_op);
 2571|  1.89k|}
_Py_Specialize_UnpackSequence:
 2589|    318|{
 2590|    318|    PyObject *seq = PyStackRef_AsPyObjectBorrow(seq_st);
 2591|       |
 2592|    318|    assert(ENABLE_SPECIALIZATION);
 2593|    318|    assert(_PyOpcode_Caches[UNPACK_SEQUENCE] ==
 2594|    318|           INLINE_CACHE_ENTRIES_UNPACK_SEQUENCE);
 2595|    318|    if (PyTuple_CheckExact(seq)) {
  ------------------
  |  |   28|    318|#define PyTuple_CheckExact(op) Py_IS_TYPE((op), &PyTuple_Type)
  |  |  ------------------
  |  |  |  |  215|    318|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    318|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    318|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 290, False: 28]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2596|    290|        if (PyTuple_GET_SIZE(seq) != oparg) {
  ------------------
  |  |   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 (2596:13): [True: 0, False: 290]
  ------------------
 2597|      0|            SPECIALIZATION_FAIL(UNPACK_SEQUENCE, SPEC_FAIL_EXPECTED_ERROR);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2598|      0|            unspecialize(instr);
 2599|      0|            return;
 2600|      0|        }
 2601|    290|        if (PyTuple_GET_SIZE(seq) == 2) {
  ------------------
  |  |   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 (2601:13): [True: 251, False: 39]
  ------------------
 2602|    251|            specialize(instr, UNPACK_SEQUENCE_TWO_TUPLE);
  ------------------
  |  |  223|    251|#define UNPACK_SEQUENCE_TWO_TUPLE              218
  ------------------
 2603|    251|            return;
 2604|    251|        }
 2605|     39|        specialize(instr, UNPACK_SEQUENCE_TUPLE);
  ------------------
  |  |  222|     39|#define UNPACK_SEQUENCE_TUPLE                  217
  ------------------
 2606|     39|        return;
 2607|    290|    }
 2608|     28|    if (PyList_CheckExact(seq)) {
  ------------------
  |  |   26|     28|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|     28|#  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: 6, False: 22]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2609|      6|        if (PyList_GET_SIZE(seq) != oparg) {
  ------------------
  |  |   38|      6|#define PyList_GET_SIZE(op) PyList_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 (2609:13): [True: 0, False: 6]
  ------------------
 2610|      0|            SPECIALIZATION_FAIL(UNPACK_SEQUENCE, SPEC_FAIL_EXPECTED_ERROR);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2611|      0|            unspecialize(instr);
 2612|      0|            return;
 2613|      0|        }
 2614|      6|        specialize(instr, UNPACK_SEQUENCE_LIST);
  ------------------
  |  |  221|      6|#define UNPACK_SEQUENCE_LIST                   216
  ------------------
 2615|      6|        return;
 2616|      6|    }
 2617|     22|    SPECIALIZATION_FAIL(UNPACK_SEQUENCE, unpack_sequence_fail_kind(seq));
  ------------------
  |  |   43|     22|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2618|     22|    unspecialize(instr);
 2619|     22|}
_Py_Specialize_ForIter:
 2696|  1.50k|{
 2697|  1.50k|    assert(ENABLE_SPECIALIZATION);
 2698|  1.50k|    assert(_PyOpcode_Caches[FOR_ITER] == INLINE_CACHE_ENTRIES_FOR_ITER);
 2699|  1.50k|    PyObject *iter_o = PyStackRef_AsPyObjectBorrow(iter);
 2700|  1.50k|    PyTypeObject *tp = Py_TYPE(iter_o);
  ------------------
  |  |  213|  1.50k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  1.50k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.50k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2701|       |
 2702|  1.50k|    if (PyStackRef_IsNull(null_or_index)) {
  ------------------
  |  |  470|  1.50k|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  467|  1.50k|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|  1.50k|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (470:32): [True: 954, False: 547]
  |  |  ------------------
  ------------------
 2703|    954|        if (tp == &PyRangeIter_Type) {
  ------------------
  |  Branch (2703:13): [True: 59, False: 895]
  ------------------
 2704|       |#ifdef Py_GIL_DISABLED
 2705|       |            // Only specialize for uniquely referenced iterators, so that we know
 2706|       |            // they're only referenced by this one thread. This is more limiting
 2707|       |            // than we need (even `it = iter(mylist); for item in it:` won't get
 2708|       |            // specialized) but we don't have a way to check whether we're the only
 2709|       |            // _thread_ who has access to the object.
 2710|       |            if (!_PyObject_IsUniquelyReferenced(iter_o)) {
 2711|       |                goto failure;
 2712|       |            }
 2713|       |#endif
 2714|     59|            specialize(instr, FOR_ITER_RANGE);
  ------------------
  |  |  181|     59|#define FOR_ITER_RANGE                         176
  ------------------
 2715|     59|            return;
 2716|     59|        }
 2717|    895|        else if (tp == &PyGen_Type && oparg <= SHRT_MAX) {
  ------------------
  |  Branch (2717:18): [True: 126, False: 769]
  |  Branch (2717:39): [True: 126, False: 0]
  ------------------
 2718|    126|            assert(instr[oparg + INLINE_CACHE_ENTRIES_FOR_ITER + 1].op.code == END_FOR  ||
 2719|    126|                instr[oparg + INLINE_CACHE_ENTRIES_FOR_ITER + 1].op.code == INSTRUMENTED_END_FOR
 2720|    126|            );
 2721|       |            /* Don't specialize if PEP 523 is active */
 2722|    126|            if (!_PyInterpreterState_IsSpecializationEnabled(_PyInterpreterState_GET())) {
  ------------------
  |  Branch (2722:17): [True: 0, False: 126]
  ------------------
 2723|      0|                goto failure;
 2724|      0|            }
 2725|    126|            specialize(instr, FOR_ITER_GEN);
  ------------------
  |  |  179|    126|#define FOR_ITER_GEN                           174
  ------------------
 2726|    126|            return;
 2727|    126|        }
 2728|    954|    }
 2729|    547|    else {
 2730|    547|        if (tp->_tp_iteritem != NULL) {
  ------------------
  |  Branch (2730:13): [True: 547, False: 0]
  ------------------
 2731|    547|            if (tp == &PyList_Type) {
  ------------------
  |  Branch (2731:17): [True: 269, False: 278]
  ------------------
 2732|       |    #ifdef Py_GIL_DISABLED
 2733|       |                // Only specialize for lists owned by this thread or shared
 2734|       |                if (!_Py_IsOwnedByCurrentThread(iter_o) && !_PyObject_GC_IS_SHARED(iter_o)) {
 2735|       |                    goto failure;
 2736|       |                }
 2737|       |    #endif
 2738|    269|                specialize(instr, FOR_ITER_LIST);
  ------------------
  |  |  180|    269|#define FOR_ITER_LIST                          175
  ------------------
 2739|    269|                return;
 2740|    269|            }
 2741|    278|            else if (tp == &PyTuple_Type) {
  ------------------
  |  Branch (2741:22): [True: 260, False: 18]
  ------------------
 2742|    260|                specialize(instr, FOR_ITER_TUPLE);
  ------------------
  |  |  182|    260|#define FOR_ITER_TUPLE                         177
  ------------------
 2743|    260|                return;
 2744|    260|            }
 2745|    547|        }
 2746|     18|        specialize(instr, FOR_ITER_VIRTUAL);
  ------------------
  |  |  183|     18|#define FOR_ITER_VIRTUAL                       178
  ------------------
 2747|     18|        return;
 2748|    547|    }
 2749|    769|failure:
 2750|    769|    SPECIALIZATION_FAIL(FOR_ITER,
  ------------------
  |  |   43|    769|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2751|    769|                        _PySpecialization_ClassifyIterator(iter_o));
 2752|    769|    unspecialize(instr);
 2753|    769|}
_Py_Specialize_Send:
 2757|      6|{
 2758|      6|    PyObject *receiver = PyStackRef_AsPyObjectBorrow(receiver_st);
 2759|       |
 2760|      6|    assert(ENABLE_SPECIALIZATION);
 2761|      6|    assert(_PyOpcode_Caches[SEND] == INLINE_CACHE_ENTRIES_SEND);
 2762|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2763|      6|    if (tp == &PyGen_Type || tp == &PyCoro_Type) {
  ------------------
  |  Branch (2763:9): [True: 2, False: 4]
  |  Branch (2763:30): [True: 0, False: 4]
  ------------------
 2764|       |        /* Don't specialize if PEP 523 is active */
 2765|      2|        if (!_PyInterpreterState_IsSpecializationEnabled(_PyInterpreterState_GET())) {
  ------------------
  |  Branch (2765:13): [True: 0, False: 2]
  ------------------
 2766|      0|            SPECIALIZATION_FAIL(SEND, SPEC_FAIL_OTHER);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2767|      0|            goto failure;
 2768|      0|        }
 2769|      2|        specialize(instr, SEND_GEN);
  ------------------
  |  |  208|      2|#define SEND_GEN                               203
  ------------------
 2770|      2|        return;
 2771|      2|    }
 2772|      4|    if (tp->_tp_iteritem != NULL) {
  ------------------
  |  Branch (2772:9): [True: 4, False: 0]
  ------------------
 2773|      4|        specialize(instr, SEND_VIRTUAL);
  ------------------
  |  |  209|      4|#define SEND_VIRTUAL                           204
  ------------------
 2774|      4|        return;
 2775|      4|    }
 2776|      0|    if (tp == &_PyAsyncGenASend_Type) {
  ------------------
  |  Branch (2776:9): [True: 0, False: 0]
  ------------------
 2777|      0|        specialize(instr, SEND_ASYNC_GEN);
  ------------------
  |  |  207|      0|#define SEND_ASYNC_GEN                         202
  ------------------
 2778|      0|        return;
 2779|      0|    }
 2780|      0|    SPECIALIZATION_FAIL(SEND,
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2781|      0|                        _PySpecialization_ClassifyIterator(receiver));
 2782|      0|failure:
 2783|      0|    unspecialize(instr);
 2784|      0|}
_Py_Specialize_CallFunctionEx:
 2788|    109|{
 2789|    109|    PyObject *func = PyStackRef_AsPyObjectBorrow(func_st);
 2790|       |
 2791|    109|    assert(ENABLE_SPECIALIZATION);
 2792|    109|    assert(_PyOpcode_Caches[CALL_FUNCTION_EX] == INLINE_CACHE_ENTRIES_CALL_FUNCTION_EX);
 2793|       |
 2794|    109|    if (Py_TYPE(func) == &PyFunction_Type &&
  ------------------
  |  |  213|    109|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    109|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    109|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2794:9): [True: 38, False: 71]
  ------------------
 2795|     38|        ((PyFunctionObject *)func)->vectorcall == _PyFunction_Vectorcall) {
  ------------------
  |  Branch (2795:9): [True: 38, False: 0]
  ------------------
 2796|     38|        if (!_PyInterpreterState_IsSpecializationEnabled(_PyInterpreterState_GET())) {
  ------------------
  |  Branch (2796:13): [True: 0, False: 38]
  ------------------
 2797|      0|            goto failure;
 2798|      0|        }
 2799|     38|        specialize(instr, CALL_EX_PY);
  ------------------
  |  |  157|     38|#define CALL_EX_PY                             152
  ------------------
 2800|     38|        return;
 2801|     38|    }
 2802|     71|    specialize(instr, CALL_EX_NON_PY_GENERAL);
  ------------------
  |  |  156|     71|#define CALL_EX_NON_PY_GENERAL                 151
  ------------------
 2803|     71|    return;
 2804|      0|failure:
 2805|      0|    unspecialize(instr);
 2806|      0|}
_Py_Specialize_ToBool:
 2857|  2.48k|{
 2858|  2.48k|    assert(ENABLE_SPECIALIZATION);
 2859|  2.48k|    assert(_PyOpcode_Caches[TO_BOOL] == INLINE_CACHE_ENTRIES_TO_BOOL);
 2860|  2.48k|    _PyToBoolCache *cache = (_PyToBoolCache *)(instr + 1);
 2861|  2.48k|    PyObject *value = PyStackRef_AsPyObjectBorrow(value_o);
 2862|  2.48k|    uint8_t specialized_op;
 2863|  2.48k|    if (PyBool_Check(value)) {
  ------------------
  |  |   12|  2.48k|#define PyBool_Check(x) Py_IS_TYPE((x), &PyBool_Type)
  |  |  ------------------
  |  |  |  |  215|  2.48k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.48k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.48k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 1.40k, False: 1.08k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2864|  1.40k|        specialized_op = TO_BOOL_BOOL;
  ------------------
  |  |  216|  1.40k|#define TO_BOOL_BOOL                           211
  ------------------
 2865|  1.40k|        goto success;
 2866|  1.40k|    }
 2867|  1.08k|    if (PyLong_CheckExact(value)) {
  ------------------
  |  |   14|  1.08k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  1.08k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.08k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.08k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 154, False: 927]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2868|    154|        specialized_op = TO_BOOL_INT;
  ------------------
  |  |  217|    154|#define TO_BOOL_INT                            212
  ------------------
 2869|    154|        goto success;
 2870|    154|    }
 2871|    927|    if (PyList_CheckExact(value)) {
  ------------------
  |  |   26|    927|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|    927|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    927|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    927|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 77, False: 850]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2872|     77|        specialized_op = TO_BOOL_LIST;
  ------------------
  |  |  218|     77|#define TO_BOOL_LIST                           213
  ------------------
 2873|     77|        goto success;
 2874|     77|    }
 2875|    850|    if (Py_IsNone(value)) {
  ------------------
  |  |  621|    850|#define Py_IsNone(x) Py_Is((x), Py_None)
  |  |  ------------------
  |  |  |  |  187|    850|#define Py_Is(x, y) ((x) == (y))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (187:21): [True: 196, False: 654]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2876|    196|        specialized_op = TO_BOOL_NONE;
  ------------------
  |  |  219|    196|#define TO_BOOL_NONE                           214
  ------------------
 2877|    196|        goto success;
 2878|    196|    }
 2879|    654|    if (PyUnicode_CheckExact(value)) {
  ------------------
  |  |  104|    654|#define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type)
  |  |  ------------------
  |  |  |  |  215|    654|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    654|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    654|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 132, False: 522]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2880|    132|        specialized_op = TO_BOOL_STR;
  ------------------
  |  |  220|    132|#define TO_BOOL_STR                            215
  ------------------
 2881|    132|        goto success;
 2882|    132|    }
 2883|    522|    if (PyType_HasFeature(Py_TYPE(value), Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PyType_HasFeature(Py_TYPE(value), Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|    522|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (2883:9): [True: 264, False: 258]
  ------------------
 2884|    264|        unsigned int version = 0;
 2885|    264|        int err = _PyType_Validate(Py_TYPE(value), check_type_always_true, &version);
  ------------------
  |  |  213|    264|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    264|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    264|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2886|    264|        if (err < 0) {
  ------------------
  |  Branch (2886:13): [True: 0, False: 264]
  ------------------
 2887|      0|            SPECIALIZATION_FAIL(TO_BOOL, SPEC_FAIL_OUT_OF_VERSIONS);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2888|      0|            goto failure;
 2889|      0|        }
 2890|    264|        else if (err > 0) {
  ------------------
  |  Branch (2890:18): [True: 46, False: 218]
  ------------------
 2891|     46|            SPECIALIZATION_FAIL(TO_BOOL, err);
  ------------------
  |  |   43|     46|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2892|     46|            goto failure;
 2893|     46|        }
 2894|       |
 2895|    264|        assert(err == 0);
 2896|    218|        assert(version);
 2897|    218|        write_u32(cache->version, version);
 2898|    218|        specialized_op = TO_BOOL_ALWAYS_TRUE;
  ------------------
  |  |  215|    218|#define TO_BOOL_ALWAYS_TRUE                    210
  ------------------
 2899|    218|        goto success;
 2900|    264|    }
 2901|       |
 2902|    258|    SPECIALIZATION_FAIL(TO_BOOL, to_bool_fail_kind(value));
  ------------------
  |  |   43|    258|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2903|    304|failure:
 2904|    304|    unspecialize(instr);
 2905|    304|    return;
 2906|  2.17k|success:
 2907|  2.17k|    specialize(instr, specialized_op);
 2908|  2.17k|}
_Py_Specialize_ContainsOp:
 2931|    723|{
 2932|    723|    PyObject *value = PyStackRef_AsPyObjectBorrow(value_st);
 2933|       |
 2934|    723|    assert(ENABLE_SPECIALIZATION);
 2935|    723|    assert(_PyOpcode_Caches[CONTAINS_OP] == INLINE_CACHE_ENTRIES_COMPARE_OP);
 2936|    723|    if (PyAnyDict_CheckExact(value)) {
  ------------------
  |  |   41|    723|    (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   19|    723|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|  1.44k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    723|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    723|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 93, False: 630]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |                   (PyDict_CheckExact(ob) || PyFrozenDict_CheckExact(ob))
  |  |  ------------------
  |  |  |  |   38|    630|#define PyFrozenDict_CheckExact(op) Py_IS_TYPE((op), &PyFrozenDict_Type)
  |  |  |  |  ------------------
  |  |  |  |  |  |  215|    630|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  171|    630|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  |  |   37|    630|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (215:32): [True: 0, False: 630]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2937|     93|        specialize(instr, CONTAINS_OP_DICT);
  ------------------
  |  |  177|     93|#define CONTAINS_OP_DICT                       172
  ------------------
 2938|     93|        return;
 2939|     93|    }
 2940|    630|    if (PySet_CheckExact(value) || PyFrozenSet_CheckExact(value)) {
  ------------------
  |  |   35|    630|#define PySet_CheckExact(op) Py_IS_TYPE(op, &PySet_Type)
  |  |  ------------------
  |  |  |  |  215|  1.26k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    630|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    630|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 44, False: 586]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if (PySet_CheckExact(value) || PyFrozenSet_CheckExact(value)) {
  ------------------
  |  |   23|    586|#define PyFrozenSet_CheckExact(ob) Py_IS_TYPE((ob), &PyFrozenSet_Type)
  |  |  ------------------
  |  |  |  |  215|    586|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    586|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    586|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 45, False: 541]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2941|     89|        specialize(instr, CONTAINS_OP_SET);
  ------------------
  |  |  178|     89|#define CONTAINS_OP_SET                        173
  ------------------
 2942|     89|        return;
 2943|     89|    }
 2944|       |
 2945|    541|    SPECIALIZATION_FAIL(CONTAINS_OP, containsop_fail_kind(value));
  ------------------
  |  |   43|    541|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2946|    541|    unspecialize(instr);
 2947|    541|    return;
 2948|    630|}
_Py_Specialize_GetIter:
 2952|    864|{
 2953|    864|    assert(ENABLE_SPECIALIZATION);
 2954|    864|    PyTypeObject *tp = PyStackRef_TYPE(iterable);
 2955|    864|    if (tp->_tp_iteritem != NULL) {
  ------------------
  |  Branch (2955:9): [True: 351, False: 513]
  ------------------
 2956|    351|        specialize(instr, GET_ITER_VIRTUAL);
  ------------------
  |  |  185|    351|#define GET_ITER_VIRTUAL                       180
  ------------------
 2957|    351|        return;
 2958|    351|    }
 2959|    513|    if (tp->tp_iter == PyObject_SelfIter) {
  ------------------
  |  Branch (2959:9): [True: 65, False: 448]
  ------------------
 2960|     65|        specialize(instr, GET_ITER_SELF);
  ------------------
  |  |  184|     65|#define GET_ITER_SELF                          179
  ------------------
 2961|     65|        return;
 2962|     65|    }
 2963|    448|    SPECIALIZATION_FAIL(GET_ITER,
  ------------------
  |  |   43|    448|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 2964|    448|        tp == &PyCoro_Type ? SPEC_FAIL_ITER_COROUTINE : SPEC_FAIL_OTHER);
 2965|    448|    unspecialize(instr);
 2966|    448|}
_Py_Specialize_Resume:
 2970|  11.1k|{
 2971|  11.1k|    if (tstate->tracing == 0 && instr->op.code == RESUME) {
  ------------------
  |  |  133|  11.1k|#define RESUME                                 128
  ------------------
  |  Branch (2971:9): [True: 11.1k, False: 0]
  |  Branch (2971:33): [True: 10.3k, False: 770]
  ------------------
 2972|  10.3k|        if (tstate->interp->jit) {
  ------------------
  |  Branch (2972:13): [True: 0, False: 10.3k]
  ------------------
 2973|      0|            PyCodeObject *co = (PyCodeObject *)PyStackRef_AsPyObjectBorrow(frame->f_executable);
 2974|      0|            if (co != NULL &&
  ------------------
  |  Branch (2974:17): [True: 0, False: 0]
  ------------------
 2975|      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]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2976|      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 (2976:17): [True: 0, False: 0]
  ------------------
 2977|      0|                specialize(instr, RESUME_CHECK_JIT);
  ------------------
  |  |  206|      0|#define RESUME_CHECK_JIT                       201
  ------------------
 2978|      0|                set_counter((_Py_BackoffCounter *)instr + 1, initial_resume_backoff_counter(&tstate->interp->opt_config));
 2979|      0|                return;
 2980|      0|            }
 2981|      0|        }
 2982|  10.3k|        specialize(instr, RESUME_CHECK);
  ------------------
  |  |  205|  10.3k|#define RESUME_CHECK                           200
  ------------------
 2983|  10.3k|        return;
 2984|  10.3k|    }
 2985|    770|    unspecialize(instr);
 2986|    770|    return;
 2987|  11.1k|}
specialize.c:fixup_getiter:
   48|  11.4k|{
   49|       |    // Compiler can't know if types.coroutine() will be called,
   50|       |    // so fix up here
   51|  11.4k|    if (instruction->op.arg) {
  ------------------
  |  Branch (51:9): [True: 142, False: 11.3k]
  ------------------
   52|    142|        if (flags & (CO_COROUTINE | CO_ITERABLE_COROUTINE)) {
  ------------------
  |  |  127|    142|#define CO_COROUTINE            0x0080
  ------------------
                      if (flags & (CO_COROUTINE | CO_ITERABLE_COROUTINE)) {
  ------------------
  |  |  128|    142|#define CO_ITERABLE_COROUTINE   0x0100
  ------------------
  |  Branch (52:13): [True: 0, False: 142]
  ------------------
   53|      0|            instruction->op.arg = GET_ITER_YIELD_FROM_NO_CHECK;
  ------------------
  |  |   96|      0|#define GET_ITER_YIELD_FROM_NO_CHECK 2
  ------------------
   54|      0|        }
   55|    142|        else {
   56|    142|            instruction->op.arg = GET_ITER_YIELD_FROM_CORO_CHECK;
  ------------------
  |  |   97|    142|#define GET_ITER_YIELD_FROM_CORO_CHECK 3
  ------------------
   57|    142|        }
   58|    142|    }
   59|  11.4k|}
specialize.c:specialize:
  363|   346k|{
  364|   346k|    assert(!PyErr_Occurred());
  365|   346k|    if (!set_opcode(instr, specialized_opcode)) {
  ------------------
  |  Branch (365:9): [True: 0, False: 346k]
  ------------------
  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|   346k|    STAT_INC(_PyOpcode_Deopt[specialized_opcode], success);
  ------------------
  |  |   73|   346k|#define STAT_INC(opname, name) ((void)0)
  ------------------
  372|   346k|    set_counter((_Py_BackoffCounter *)instr + 1, adaptive_counter_cooldown());
  373|   346k|}
specialize.c:set_opcode:
  326|   364k|{
  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|   364k|    instr->op.code = opcode;
  341|   364k|    return 1;
  342|   364k|#endif
  343|   364k|}
specialize.c:unspecialize:
  377|  17.5k|{
  378|  17.5k|    assert(!PyErr_Occurred());
  379|  17.5k|    uint8_t opcode = FT_ATOMIC_LOAD_UINT8_RELAXED(instr->op.code);
  ------------------
  |  |  156|  17.5k|#define FT_ATOMIC_LOAD_UINT8_RELAXED(value) value
  ------------------
  380|  17.5k|    uint8_t generic_opcode = _PyOpcode_Deopt[opcode];
  381|  17.5k|    STAT_INC(generic_opcode, failure);
  ------------------
  |  |   73|  17.5k|#define STAT_INC(opname, name) ((void)0)
  ------------------
  382|  17.5k|    if (!set_opcode(instr, generic_opcode)) {
  ------------------
  |  Branch (382:9): [True: 0, False: 17.5k]
  ------------------
  383|      0|        SPECIALIZATION_FAIL(generic_opcode, SPEC_FAIL_OTHER);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  384|      0|        return;
  385|      0|    }
  386|  17.5k|    _Py_BackoffCounter *counter = (_Py_BackoffCounter *)instr + 1;
  387|  17.5k|    _Py_BackoffCounter cur = load_counter(counter);
  388|  17.5k|    set_counter(counter, adaptive_counter_backoff(cur));
  389|  17.5k|}
specialize.c:load_counter:
  354|  17.5k|{
  355|  17.5k|    _Py_BackoffCounter result = {
  356|  17.5k|        .value_and_backoff =
  357|  17.5k|            FT_ATOMIC_LOAD_UINT16_RELAXED(counter->value_and_backoff)};
  ------------------
  |  |  157|  17.5k|#define FT_ATOMIC_LOAD_UINT16_RELAXED(value) value
  ------------------
  358|  17.5k|    return result;
  359|  17.5k|}
specialize.c:specialize_module_load_attr:
  450|    985|{
  451|    985|    PyModuleObject *m = (PyModuleObject *)owner;
  452|    985|    assert((Py_TYPE(owner)->tp_flags & Py_TPFLAGS_MANAGED_DICT) == 0);
  453|    985|    PyDictObject *dict = (PyDictObject *)m->md_dict;
  454|    985|    if (dict == NULL) {
  ------------------
  |  Branch (454:9): [True: 0, False: 985]
  ------------------
  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|    985|    int result;
  459|    985|    Py_BEGIN_CRITICAL_SECTION(dict);
  ------------------
  |  |   51|    985|    {
  ------------------
  460|    985|    result = specialize_module_load_attr_lock_held(dict, instr, name);
  461|    985|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    985|    }
  ------------------
  462|    985|    return result;
  463|    985|}
specialize.c:specialize_module_load_attr_lock_held:
  412|    985|{
  413|    985|    _PyAttrCache *cache = (_PyAttrCache *)(instr + 1);
  414|    985|    if (dict->ma_keys->dk_kind != DICT_KEYS_UNICODE) {
  ------------------
  |  Branch (414:9): [True: 0, False: 985]
  ------------------
  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|    985|    PyObject *value;
  419|    985|    Py_ssize_t index = _PyDict_LookupIndexAndValue(dict, name, &value);
  420|    985|    if (value != NULL && PyLazyImport_CheckExact(value)) {
  ------------------
  |  |   15|    941|#define PyLazyImport_CheckExact(op) Py_IS_TYPE((op), &PyLazyImport_Type)
  |  |  ------------------
  |  |  |  |  215|    941|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    941|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    941|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 941]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (420:9): [True: 941, False: 44]
  ------------------
  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|    985|    assert(index != DKIX_ERROR);
  425|    985|    if (index != (uint16_t)index) {
  ------------------
  |  Branch (425:9): [True: 44, False: 941]
  ------------------
  426|     44|        SPECIALIZATION_FAIL(LOAD_ATTR,
  ------------------
  |  |   43|     44|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  427|     44|                            index == DKIX_EMPTY ?
  428|     44|                            SPEC_FAIL_ATTR_MODULE_ATTR_NOT_FOUND :
  429|     44|                            SPEC_FAIL_OUT_OF_RANGE);
  430|     44|        return -1;
  431|     44|    }
  432|    941|    uint32_t keys_version = _PyDict_GetKeysVersionForCurrentState(
  433|    941|            _PyInterpreterState_GET(), dict);
  434|    941|    if (keys_version == 0) {
  ------------------
  |  Branch (434:9): [True: 0, False: 941]
  ------------------
  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|    941|    write_u32(cache->version, keys_version);
  442|    941|    cache->index = (uint16_t)index;
  443|    941|    specialize(instr, LOAD_ATTR_MODULE);
  ------------------
  |  |  195|    941|#define LOAD_ATTR_MODULE                       190
  ------------------
  444|    941|    return 0;
  445|    941|}
specialize.c:specialize_instance_load_attr:
  980|   361k|{
  981|       |    // 0 is not a valid version
  982|   361k|    uint32_t shared_keys_version = 0;
  983|   361k|    bool shadow = instance_has_key(owner, name, &shared_keys_version);
  984|   361k|    PyObject *descr = NULL;
  985|   361k|    unsigned int tp_version = 0;
  986|   361k|    PyTypeObject *type = Py_TYPE(owner);
  ------------------
  |  |  213|   361k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   361k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   361k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  987|   361k|    DescriptorClassification kind = analyze_descriptor_load(type, name, &descr, &tp_version);
  988|   361k|    int result = do_specialize_instance_load_attr(owner, instr, name, shadow, shared_keys_version, kind, descr, tp_version);
  989|   361k|    Py_XDECREF(descr);
  ------------------
  |  |  524|   361k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|   361k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   361k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  990|   361k|    return result;
  991|   361k|}
specialize.c:instance_has_key:
  759|   361k|{
  760|   361k|    PyTypeObject *cls = Py_TYPE(obj);
  ------------------
  |  |  213|   361k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   361k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   361k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  761|   361k|    if ((cls->tp_flags & Py_TPFLAGS_MANAGED_DICT) == 0) {
  ------------------
  |  |  482|   361k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (761:9): [True: 10.4k, False: 351k]
  ------------------
  762|  10.4k|        return false;
  763|  10.4k|    }
  764|   351k|    if (cls->tp_flags & Py_TPFLAGS_INLINE_VALUES) {
  ------------------
  |  |  472|   351k|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (764:9): [True: 351k, False: 230]
  ------------------
  765|   351k|        PyDictKeysObject *keys = ((PyHeapTypeObject *)cls)->ht_cached_keys;
  766|   351k|        Py_ssize_t index =
  767|   351k|            _PyDictKeys_StringLookupAndVersion(keys, name, shared_keys_version);
  768|   351k|        return index >= 0;
  769|   351k|    }
  770|    230|    PyDictObject *dict = _PyObject_GetManagedDict(obj);
  771|    230|    if (dict == NULL || !PyDict_CheckExact(dict)) {
  ------------------
  |  |   19|    216|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|    216|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    216|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    216|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (771:9): [True: 14, False: 216]
  |  Branch (771:25): [True: 0, False: 216]
  ------------------
  772|     14|        return false;
  773|     14|    }
  774|    230|    bool result;
  775|    216|    Py_BEGIN_CRITICAL_SECTION(dict);
  ------------------
  |  |   51|    216|    {
  ------------------
  776|    216|    if (dict->ma_values) {
  ------------------
  |  Branch (776:9): [True: 216, False: 0]
  ------------------
  777|    216|        result = false;
  778|    216|    }
  779|      0|    else {
  780|      0|        result = (_PyDict_LookupIndex(dict, name) >= 0);
  781|      0|    }
  782|    216|    Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    216|    }
  ------------------
  783|    216|    return result;
  784|    230|}
specialize.c:analyze_descriptor_load:
  557|   364k|analyze_descriptor_load(PyTypeObject *type, PyObject *name, PyObject **descr, unsigned int *tp_version) {
  558|   364k|    bool has_getattr = false;
  559|   364k|    bool have_ga_version = false;
  560|   364k|    unsigned int ga_version;
  561|   364k|    getattrofunc getattro_slot = type->tp_getattro;
  562|   364k|    if (getattro_slot == PyObject_GenericGetAttr) {
  ------------------
  |  Branch (562:9): [True: 346k, False: 17.5k]
  ------------------
  563|       |        /* Normal attribute lookup; */
  564|   346k|        has_getattr = false;
  565|   346k|    }
  566|  17.5k|    else if (getattro_slot == _Py_slot_tp_getattr_hook ||
  ------------------
  |  Branch (566:14): [True: 16.8k, False: 681]
  ------------------
  567|  16.8k|        getattro_slot == _Py_slot_tp_getattro) {
  ------------------
  |  Branch (567:9): [True: 0, False: 681]
  ------------------
  568|       |        /* One or both of __getattribute__ or __getattr__ may have been
  569|       |         overridden See typeobject.c for why these functions are special. */
  570|  16.8k|        PyObject *getattribute = _PyType_LookupRefAndVersion(type,
  571|  16.8k|                &_Py_ID(__getattribute__), &ga_version);
  ------------------
  |  |  915|  16.8k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  16.8k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  16.8k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  572|  16.8k|        have_ga_version = true;
  573|  16.8k|        PyInterpreterState *interp = _PyInterpreterState_GET();
  574|  16.8k|        bool has_custom_getattribute = getattribute != NULL &&
  ------------------
  |  Branch (574:40): [True: 16.8k, False: 0]
  ------------------
  575|  16.8k|            getattribute != interp->callable_cache.object__getattribute__;
  ------------------
  |  Branch (575:13): [True: 0, False: 16.8k]
  ------------------
  576|  16.8k|        PyObject *getattr = _PyType_Lookup(type, &_Py_ID(__getattr__));
  ------------------
  |  |  915|  16.8k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  16.8k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  16.8k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  577|  16.8k|        has_getattr = getattr != NULL;
  578|  16.8k|        if (has_custom_getattribute) {
  ------------------
  |  Branch (578:13): [True: 0, False: 16.8k]
  ------------------
  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|  16.8k|        Py_XDECREF(getattribute);
  ------------------
  |  |  524|  16.8k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  16.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  16.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  600|  16.8k|    }
  601|    681|    else {
  602|    681|        *descr = NULL;
  603|    681|        *tp_version = FT_ATOMIC_LOAD_UINT_RELAXED(type->tp_version_tag);
  ------------------
  |  |  188|    681|#define FT_ATOMIC_LOAD_UINT_RELAXED(value) value
  ------------------
  604|    681|        return GETSET_OVERRIDDEN;
  605|    681|    }
  606|   363k|    unsigned int descr_version;
  607|   363k|    PyObject *descriptor = _PyType_LookupRefAndVersion(type, name, &descr_version);
  608|   363k|    *descr = descriptor;
  609|   363k|    *tp_version = have_ga_version ? ga_version : descr_version;
  ------------------
  |  Branch (609:19): [True: 16.8k, False: 346k]
  ------------------
  610|   363k|    if (descriptor_is_class(descriptor, name)) {
  ------------------
  |  Branch (610:9): [True: 972, False: 362k]
  ------------------
  611|    972|        return DUNDER_CLASS;
  612|    972|    }
  613|   362k|    return classify_descriptor(descriptor, has_getattr);
  614|   363k|}
specialize.c:descriptor_is_class:
  551|   368k|{
  552|   368k|    return ((PyUnicode_CompareWithASCIIString(name, "__class__") == 0) &&
  ------------------
  |  Branch (552:13): [True: 972, False: 367k]
  ------------------
  553|    972|            (descriptor == _PyType_Lookup(&PyBaseObject_Type, name)));
  ------------------
  |  Branch (553:13): [True: 972, False: 0]
  ------------------
  554|   368k|}
specialize.c:classify_descriptor:
  509|   370k|{
  510|   370k|    if (descriptor == NULL) {
  ------------------
  |  Branch (510:9): [True: 219k, False: 150k]
  ------------------
  511|   219k|        return ABSENT;
  512|   219k|    }
  513|   150k|    PyTypeObject *desc_cls = Py_TYPE(descriptor);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  514|   150k|    if (!(desc_cls->tp_flags & Py_TPFLAGS_IMMUTABLETYPE)) {
  ------------------
  |  |  500|   150k|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (514:9): [True: 202, False: 150k]
  ------------------
  515|    202|        return MUTABLE;
  516|    202|    }
  517|   150k|    if (desc_cls->tp_descr_set) {
  ------------------
  |  Branch (517:9): [True: 8.34k, False: 142k]
  ------------------
  518|  8.34k|        if (desc_cls == &PyMemberDescr_Type) {
  ------------------
  |  Branch (518:13): [True: 947, False: 7.40k]
  ------------------
  519|    947|            PyMemberDescrObject *member = (PyMemberDescrObject *)descriptor;
  520|    947|            struct PyMemberDef *dmem = member->d_member;
  521|    947|            if (dmem->type == Py_T_OBJECT_EX || dmem->type == _Py_T_OBJECT) {
  ------------------
  |  |   75|  1.89k|#define Py_T_OBJECT_EX 16
  ------------------
                          if (dmem->type == Py_T_OBJECT_EX || dmem->type == _Py_T_OBJECT) {
  ------------------
  |  |   59|    243|#define _Py_T_OBJECT   6  // Deprecated, use Py_T_OBJECT_EX instead
  ------------------
  |  Branch (521:17): [True: 704, False: 243]
  |  Branch (521:49): [True: 129, False: 114]
  ------------------
  522|    833|                return OBJECT_SLOT;
  523|    833|            }
  524|    114|            return OTHER_SLOT;
  525|    947|        }
  526|  7.40k|        if (desc_cls == &PyProperty_Type) {
  ------------------
  |  Branch (526:13): [True: 6.62k, False: 779]
  ------------------
  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|  6.62k|            return has_getattr ? GETSET_OVERRIDDEN : PROPERTY;
  ------------------
  |  Branch (530:20): [True: 0, False: 6.62k]
  ------------------
  531|  6.62k|        }
  532|    779|        return OVERRIDING;
  533|  7.40k|    }
  534|   142k|    if (desc_cls->tp_descr_get) {
  ------------------
  |  Branch (534:9): [True: 136k, False: 5.90k]
  ------------------
  535|   136k|        if (desc_cls->tp_flags & Py_TPFLAGS_METHOD_DESCRIPTOR) {
  ------------------
  |  |  534|   136k|#define Py_TPFLAGS_METHOD_DESCRIPTOR (1UL << 17)
  ------------------
  |  Branch (535:13): [True: 135k, False: 1.22k]
  ------------------
  536|   135k|            return METHOD;
  537|   135k|        }
  538|  1.22k|        if (Py_IS_TYPE(descriptor, &PyClassMethodDescr_Type)) {
  ------------------
  |  |  215|  1.22k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  1.22k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.22k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 960, False: 267]
  |  |  ------------------
  ------------------
  539|    960|            return BUILTIN_CLASSMETHOD;
  540|    960|        }
  541|    267|        if (Py_IS_TYPE(descriptor, &PyClassMethod_Type)) {
  ------------------
  |  |  215|    267|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    267|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    267|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (215:32): [True: 143, False: 124]
  |  |  ------------------
  ------------------
  542|    143|            return PYTHON_CLASSMETHOD;
  543|    143|        }
  544|    124|        return NON_OVERRIDING;
  545|    267|    }
  546|  5.90k|    return NON_DESCRIPTOR;
  547|   142k|}
specialize.c:do_specialize_instance_load_attr:
  790|   361k|{
  791|   361k|    _PyAttrCache *cache = (_PyAttrCache *)(instr + 1);
  792|   361k|    PyTypeObject *type = Py_TYPE(owner);
  ------------------
  |  |  213|   361k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   361k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   361k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  793|   361k|    if (tp_version == 0) {
  ------------------
  |  Branch (793:9): [True: 0, False: 361k]
  ------------------
  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|   361k|    uint8_t oparg = FT_ATOMIC_LOAD_UINT8_RELAXED(instr->op.arg);
  ------------------
  |  |  156|   361k|#define FT_ATOMIC_LOAD_UINT8_RELAXED(value) value
  ------------------
  798|   361k|    switch(kind) {
  ------------------
  |  Branch (798:12): [True: 361k, False: 0]
  ------------------
  799|    404|        case OVERRIDING:
  ------------------
  |  Branch (799:9): [True: 404, False: 361k]
  ------------------
  800|    404|            SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_ATTR_OVERRIDING_DESCRIPTOR);
  ------------------
  |  |   43|    404|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  801|    404|            return -1;
  802|   134k|        case METHOD:
  ------------------
  |  Branch (802:9): [True: 134k, False: 226k]
  ------------------
  803|   134k|        {
  804|   134k|            if (shadow) {
  ------------------
  |  Branch (804:17): [True: 5, False: 134k]
  ------------------
  805|      5|                goto try_instance;
  806|      5|            }
  807|   134k|            if (oparg & 1) {
  ------------------
  |  Branch (807:17): [True: 134k, False: 188]
  ------------------
  808|   134k|                if (specialize_attr_loadclassattr(owner, instr, name, descr,
  ------------------
  |  Branch (808:21): [True: 134k, False: 74]
  ------------------
  809|   134k|                                                  tp_version, kind, true,
  810|   134k|                                                  shared_keys_version)) {
  811|   134k|                    return 0;
  812|   134k|                }
  813|     74|                else {
  814|     74|                    return -1;
  815|     74|                }
  816|   134k|            }
  817|    188|            SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_ATTR_METHOD);
  ------------------
  |  |   43|    188|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  818|    188|            return -1;
  819|   134k|        }
  820|  6.58k|        case PROPERTY:
  ------------------
  |  Branch (820:9): [True: 6.58k, False: 355k]
  ------------------
  821|  6.58k|        {
  822|  6.58k|            _PyLoadMethodCache *lm_cache = (_PyLoadMethodCache *)(instr + 1);
  823|  6.58k|            assert(Py_TYPE(descr) == &PyProperty_Type);
  824|  6.58k|            PyObject *fget = ((_PyPropertyObject *)descr)->prop_get;
  825|  6.58k|            if (fget == NULL) {
  ------------------
  |  Branch (825:17): [True: 0, False: 6.58k]
  ------------------
  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|  6.58k|            if (!Py_IS_TYPE(fget, &PyFunction_Type)) {
  ------------------
  |  |  215|  6.58k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|  6.58k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  6.58k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (829:17): [True: 0, False: 6.58k]
  ------------------
  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|  6.58k|            if (!function_check_args(fget, 1, LOAD_ATTR)) {
  ------------------
  |  |   92|  6.58k|#define LOAD_ATTR                               79
  ------------------
  |  Branch (833:17): [True: 0, False: 6.58k]
  ------------------
  834|      0|                return -1;
  835|      0|            }
  836|  6.58k|            if (oparg & 1) {
  ------------------
  |  Branch (836:17): [True: 7, False: 6.58k]
  ------------------
  837|      7|                SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_ATTR_METHOD);
  ------------------
  |  |   43|      7|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  838|      7|                return -1;
  839|      7|            }
  840|       |            /* Don't specialize if PEP 523 is active */
  841|  6.58k|            if (!_PyInterpreterState_IsSpecializationEnabled(_PyInterpreterState_GET())) {
  ------------------
  |  Branch (841:17): [True: 0, False: 6.58k]
  ------------------
  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|  6.58k|            uint32_t func_version = function_get_version(fget, LOAD_ATTR);
  ------------------
  |  |   92|  6.58k|#define LOAD_ATTR                               79
  ------------------
  852|  6.58k|            if (func_version == 0) {
  ------------------
  |  Branch (852:17): [True: 0, False: 6.58k]
  ------------------
  853|      0|                return -1;
  854|      0|            }
  855|  6.58k|            assert(tp_version != 0);
  856|  6.58k|            write_u32(lm_cache->type_version, tp_version);
  857|  6.58k|            write_u32(lm_cache->keys_version, func_version);
  858|       |            /* borrowed */
  859|  6.58k|            write_ptr(lm_cache->descr, fget);
  860|  6.58k|            specialize(instr, LOAD_ATTR_PROPERTY);
  ------------------
  |  |  198|  6.58k|#define LOAD_ATTR_PROPERTY                     193
  ------------------
  861|  6.58k|            return 0;
  862|  6.58k|        }
  863|    545|        case OBJECT_SLOT:
  ------------------
  |  Branch (863:9): [True: 545, False: 361k]
  ------------------
  864|    545|        {
  865|    545|            PyMemberDescrObject *member = (PyMemberDescrObject *)descr;
  866|    545|            struct PyMemberDef *dmem = member->d_member;
  867|    545|            Py_ssize_t offset = dmem->offset;
  868|    545|            if (!PyObject_TypeCheck(owner, member->d_common.d_type)) {
  ------------------
  |  |  378|    545|#  define PyObject_TypeCheck(ob, type) PyObject_TypeCheck(_PyObject_CAST(ob), (type))
  |  |  ------------------
  |  |  |  |  171|    545|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    545|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (868:17): [True: 0, False: 545]
  ------------------
  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|    545|            if (dmem->flags & _Py_AFTER_ITEMS) {
  ------------------
  |  |   89|    545|#  define _Py_AFTER_ITEMS      (1 << 4) // For internal use.
  ------------------
  |  Branch (872:17): [True: 0, False: 545]
  ------------------
  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|    545|            if (dmem->flags & Py_AUDIT_READ) {
  ------------------
  |  |   84|    545|#define Py_AUDIT_READ          (1 << 1) // Added in 3.10, harmless no-op before that
  ------------------
  |  Branch (876:17): [True: 0, False: 545]
  ------------------
  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|    545|            if (offset != (uint16_t)offset) {
  ------------------
  |  Branch (880:17): [True: 0, False: 545]
  ------------------
  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|    545|            assert(dmem->type == Py_T_OBJECT_EX || dmem->type == _Py_T_OBJECT);
  885|    545|            assert(offset > 0);
  886|    545|            cache->index = (uint16_t)offset;
  887|    545|            write_u32(cache->version, tp_version);
  888|    545|            specialize(instr, LOAD_ATTR_SLOT);
  ------------------
  |  |  199|    545|#define LOAD_ATTR_SLOT                         194
  ------------------
  889|    545|            return 0;
  890|    545|        }
  891|    972|        case DUNDER_CLASS:
  ------------------
  |  Branch (891:9): [True: 972, False: 360k]
  ------------------
  892|    972|        {
  893|    972|            Py_ssize_t offset = offsetof(PyObject, ob_type);
  894|    972|            assert(offset == (uint16_t)offset);
  895|    972|            cache->index = (uint16_t)offset;
  896|    972|            write_u32(cache->version, tp_version);
  897|    972|            specialize(instr, LOAD_ATTR_SLOT);
  ------------------
  |  |  199|    972|#define LOAD_ATTR_SLOT                         194
  ------------------
  898|    972|            return 0;
  899|    545|        }
  900|    114|        case OTHER_SLOT:
  ------------------
  |  Branch (900:9): [True: 114, False: 361k]
  ------------------
  901|    114|            SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_ATTR_NON_OBJECT_SLOT);
  ------------------
  |  |   43|    114|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  902|    114|            return -1;
  903|    104|        case MUTABLE:
  ------------------
  |  Branch (903:9): [True: 104, False: 361k]
  ------------------
  904|    104|            SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_ATTR_MUTABLE_CLASS);
  ------------------
  |  |   43|    104|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  905|    104|            return -1;
  906|    651|        case GETSET_OVERRIDDEN:
  ------------------
  |  Branch (906:9): [True: 651, False: 361k]
  ------------------
  907|    651|            SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_OVERRIDDEN);
  ------------------
  |  |   43|    651|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  908|    651|            return -1;
  909|      0|        case GETATTRIBUTE_IS_PYTHON_FUNCTION:
  ------------------
  |  Branch (909:9): [True: 0, False: 361k]
  ------------------
  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: 361k]
  ------------------
  943|     35|        case PYTHON_CLASSMETHOD:
  ------------------
  |  Branch (943:9): [True: 35, False: 361k]
  ------------------
  944|     62|        case NON_OVERRIDING:
  ------------------
  |  Branch (944:9): [True: 27, False: 361k]
  ------------------
  945|     62|            if (shadow) {
  ------------------
  |  Branch (945:17): [True: 0, False: 62]
  ------------------
  946|      0|                goto try_instance;
  947|      0|            }
  948|     62|            return -1;
  949|  4.57k|        case NON_DESCRIPTOR:
  ------------------
  |  Branch (949:9): [True: 4.57k, False: 357k]
  ------------------
  950|  4.57k|            if (shadow) {
  ------------------
  |  Branch (950:17): [True: 4.47k, False: 103]
  ------------------
  951|  4.47k|                goto try_instance;
  952|  4.47k|            }
  953|    103|            if ((oparg & 1) == 0) {
  ------------------
  |  Branch (953:17): [True: 96, False: 7]
  ------------------
  954|     96|                if (specialize_attr_loadclassattr(owner, instr, name, descr,
  ------------------
  |  Branch (954:21): [True: 74, False: 22]
  ------------------
  955|     96|                                                  tp_version, kind, false,
  956|     96|                                                  shared_keys_version)) {
  957|     74|                    return 0;
  958|     74|                }
  959|     96|            }
  960|     29|            return -1;
  961|   212k|        case ABSENT:
  ------------------
  |  Branch (961:9): [True: 212k, False: 148k]
  ------------------
  962|   212k|            if (shadow) {
  ------------------
  |  Branch (962:17): [True: 7.25k, False: 205k]
  ------------------
  963|  7.25k|                goto try_instance;
  964|  7.25k|            }
  965|   205k|            set_counter((_Py_BackoffCounter*)instr + 1, adaptive_counter_cooldown());
  966|   205k|            return 0;
  967|   361k|    }
  968|   361k|    Py_UNREACHABLE();
  ------------------
  |  |  264|      0|#  define Py_UNREACHABLE() __builtin_unreachable()
  ------------------
  969|  11.7k|try_instance:
  970|  11.7k|    if (specialize_dict_access(owner, instr, type, kind, name, tp_version,
  ------------------
  |  Branch (970:9): [True: 11.2k, False: 464]
  ------------------
  971|  11.7k|                               LOAD_ATTR, LOAD_ATTR_INSTANCE_VALUE, LOAD_ATTR_WITH_HINT))
  ------------------
  |  |   92|  11.7k|#define LOAD_ATTR                               79
  ------------------
                                             LOAD_ATTR, LOAD_ATTR_INSTANCE_VALUE, LOAD_ATTR_WITH_HINT))
  ------------------
  |  |  191|  11.7k|#define LOAD_ATTR_INSTANCE_VALUE               186
  ------------------
                                             LOAD_ATTR, LOAD_ATTR_INSTANCE_VALUE, LOAD_ATTR_WITH_HINT))
  ------------------
  |  |  200|  11.7k|#define LOAD_ATTR_WITH_HINT                    195
  ------------------
  972|  11.2k|    {
  973|  11.2k|        return 0;
  974|  11.2k|    }
  975|    464|    return -1;
  976|  11.7k|}
specialize.c:specialize_attr_loadclassattr:
 1264|   134k|{
 1265|   134k|    _PyLoadMethodCache *cache = (_PyLoadMethodCache *)(instr + 1);
 1266|   134k|    PyTypeObject *owner_cls = Py_TYPE(owner);
  ------------------
  |  |  213|   134k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|   134k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   134k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1267|       |
 1268|   134k|    assert(descr != NULL);
 1269|   134k|    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|   134k|    unsigned long tp_flags = PyType_GetFlags(owner_cls);
 1279|   134k|    if (tp_flags & Py_TPFLAGS_INLINE_VALUES) {
  ------------------
  |  |  472|   134k|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (1279:9): [True: 133k, False: 1.44k]
  ------------------
 1280|   133k|        #ifndef Py_GIL_DISABLED
 1281|   133k|        assert(_PyDictKeys_StringLookup(
 1282|   133k|                   ((PyHeapTypeObject *)owner_cls)->ht_cached_keys, name) < 0);
 1283|   133k|        #endif
 1284|   133k|        if (shared_keys_version == 0) {
  ------------------
  |  Branch (1284:13): [True: 0, False: 133k]
  ------------------
 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|   133k|        write_u32(cache->keys_version, shared_keys_version);
 1289|   133k|        specialize(instr, is_method ? LOAD_ATTR_METHOD_WITH_VALUES : LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES);
  ------------------
  |  |  194|   133k|#define LOAD_ATTR_METHOD_WITH_VALUES           189
  ------------------
                      specialize(instr, is_method ? LOAD_ATTR_METHOD_WITH_VALUES : LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES);
  ------------------
  |  |  197|   133k|#define LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES    192
  ------------------
  |  Branch (1289:27): [True: 133k, False: 32]
  ------------------
 1290|   133k|    }
 1291|  1.44k|    else {
 1292|  1.44k|        Py_ssize_t dictoffset;
 1293|  1.44k|        if (tp_flags & Py_TPFLAGS_MANAGED_DICT) {
  ------------------
  |  |  482|  1.44k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (1293:13): [True: 56, False: 1.38k]
  ------------------
 1294|     56|            dictoffset = MANAGED_DICT_OFFSET;
  ------------------
  |  |  925|     56|#  define MANAGED_DICT_OFFSET    (((Py_ssize_t)sizeof(PyObject *))*-3)
  ------------------
 1295|     56|        }
 1296|  1.38k|        else {
 1297|  1.38k|            dictoffset = owner_cls->tp_dictoffset;
 1298|  1.38k|            if (dictoffset < 0 || dictoffset > INT16_MAX + MANAGED_DICT_OFFSET) {
  ------------------
  |  |  925|  1.38k|#  define MANAGED_DICT_OFFSET    (((Py_ssize_t)sizeof(PyObject *))*-3)
  ------------------
  |  Branch (1298:17): [True: 0, False: 1.38k]
  |  Branch (1298:35): [True: 0, False: 1.38k]
  ------------------
 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.38k|        }
 1303|  1.44k|        if (dictoffset == 0) {
  ------------------
  |  Branch (1303:13): [True: 1.29k, False: 149]
  ------------------
 1304|  1.29k|            specialize(instr, is_method ? LOAD_ATTR_METHOD_NO_DICT : LOAD_ATTR_NONDESCRIPTOR_NO_DICT);
  ------------------
  |  |  193|  1.25k|#define LOAD_ATTR_METHOD_NO_DICT               188
  ------------------
                          specialize(instr, is_method ? LOAD_ATTR_METHOD_NO_DICT : LOAD_ATTR_NONDESCRIPTOR_NO_DICT);
  ------------------
  |  |  196|  1.33k|#define LOAD_ATTR_NONDESCRIPTOR_NO_DICT        191
  ------------------
  |  Branch (1304:31): [True: 1.25k, False: 42]
  ------------------
 1305|  1.29k|        }
 1306|    149|        else if (is_method) {
  ------------------
  |  Branch (1306:18): [True: 127, False: 22]
  ------------------
 1307|    127|            PyObject **addr = (PyObject **)((char *)owner + dictoffset);
 1308|    127|            PyObject *dict = FT_ATOMIC_LOAD_PTR_ACQUIRE(*addr);
  ------------------
  |  |  149|    127|#define FT_ATOMIC_LOAD_PTR_ACQUIRE(value) value
  ------------------
 1309|    127|            if (dict) {
  ------------------
  |  Branch (1309:17): [True: 74, False: 53]
  ------------------
 1310|     74|                SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_ATTR_NOT_MANAGED_DICT);
  ------------------
  |  |   43|     74|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1311|     74|                return 0;
 1312|     74|            }
 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|     53|            dictoffset -= MANAGED_DICT_OFFSET;
  ------------------
  |  |  925|     53|#  define MANAGED_DICT_OFFSET    (((Py_ssize_t)sizeof(PyObject *))*-3)
  ------------------
 1317|     53|            assert(((uint16_t)dictoffset) == dictoffset);
 1318|     53|            cache->dict_offset = (uint16_t)dictoffset;
 1319|     53|            specialize(instr, LOAD_ATTR_METHOD_LAZY_DICT);
  ------------------
  |  |  192|     53|#define LOAD_ATTR_METHOD_LAZY_DICT             187
  ------------------
 1320|     53|        }
 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.44k|    }
 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|   134k|    write_u32(cache->type_version, tp_version);
 1341|   134k|    write_ptr(cache->descr, descr);
 1342|   134k|    return 1;
 1343|   134k|}
specialize.c:function_check_args:
 1470|  6.58k|{
 1471|  6.58k|    assert(Py_IS_TYPE(o, &PyFunction_Type));
 1472|  6.58k|    PyFunctionObject *func = (PyFunctionObject *)o;
 1473|  6.58k|    PyCodeObject *fcode = (PyCodeObject *)func->func_code;
 1474|  6.58k|    int kind = function_kind(fcode);
 1475|  6.58k|    if (kind != SIMPLE_FUNCTION) {
  ------------------
  |  |  124|  6.58k|#define SIMPLE_FUNCTION 0
  ------------------
  |  Branch (1475:9): [True: 0, False: 6.58k]
  ------------------
 1476|      0|        SPECIALIZATION_FAIL(opcode, kind);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1477|      0|        return false;
 1478|      0|    }
 1479|  6.58k|    if (fcode->co_argcount != expected_argcount) {
  ------------------
  |  Branch (1479:9): [True: 0, False: 6.58k]
  ------------------
 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|  6.58k|    return true;
 1484|  6.58k|}
specialize.c:function_get_version:
 1489|  6.58k|{
 1490|  6.58k|    assert(Py_IS_TYPE(o, &PyFunction_Type));
 1491|  6.58k|    PyFunctionObject *func = (PyFunctionObject *)o;
 1492|  6.58k|    uint32_t version = _PyFunction_GetVersionForCurrentState(func);
 1493|  6.58k|    if (!_PyFunction_IsVersionValid(version)) {
  ------------------
  |  Branch (1493:9): [True: 0, False: 6.58k]
  ------------------
 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|  6.58k|    return version;
 1498|  6.58k|}
specialize.c:analyze_descriptor_store:
  618|  5.30k|{
  619|  5.30k|    if (type->tp_setattro != PyObject_GenericSetAttr) {
  ------------------
  |  Branch (619:9): [True: 329, False: 4.98k]
  ------------------
  620|    329|        *descr = NULL;
  621|    329|        return GETSET_OVERRIDDEN;
  622|    329|    }
  623|  4.98k|    PyObject *descriptor = _PyType_LookupRefAndVersion(type, name, tp_version);
  624|  4.98k|    *descr = descriptor;
  625|  4.98k|    if (descriptor_is_class(descriptor, name)) {
  ------------------
  |  Branch (625:9): [True: 0, False: 4.98k]
  ------------------
  626|      0|        return DUNDER_CLASS;
  627|      0|    }
  628|  4.98k|    return classify_descriptor(descriptor, false);
  629|  4.98k|}
specialize.c:specialize_dict_access:
  699|  16.2k|{
  700|  16.2k|    assert(kind == NON_OVERRIDING || kind == NON_DESCRIPTOR || kind == ABSENT ||
  701|  16.2k|        kind == BUILTIN_CLASSMETHOD || kind == PYTHON_CLASSMETHOD ||
  702|  16.2k|        kind == METHOD);
  703|       |    // No descriptor, or non overriding.
  704|  16.2k|    if ((type->tp_flags & Py_TPFLAGS_MANAGED_DICT) == 0) {
  ------------------
  |  |  482|  16.2k|#define Py_TPFLAGS_MANAGED_DICT (1 << 4)
  ------------------
  |  Branch (704:9): [True: 193, False: 16.0k]
  ------------------
  705|    193|        SPECIALIZATION_FAIL(base_op, SPEC_FAIL_ATTR_NOT_MANAGED_DICT);
  ------------------
  |  |   43|    193|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  706|    193|        return 0;
  707|    193|    }
  708|  16.0k|    if (type->tp_flags & Py_TPFLAGS_INLINE_VALUES &&
  ------------------
  |  |  472|  32.0k|#define Py_TPFLAGS_INLINE_VALUES (1 << 2)
  ------------------
  |  Branch (708:9): [True: 15.9k, False: 118]
  ------------------
  709|  15.9k|        FT_ATOMIC_LOAD_UINT8(_PyObject_InlineValues(owner)->valid) &&
  ------------------
  |  |  153|  31.9k|#define FT_ATOMIC_LOAD_UINT8(value) value
  |  |  ------------------
  |  |  |  Branch (153:37): [True: 15.3k, False: 531]
  |  |  ------------------
  ------------------
  710|  15.3k|        !(base_op == STORE_ATTR && _PyObject_GetManagedDict(owner) != NULL))
  ------------------
  |  |  122|  30.7k|#define STORE_ATTR                             109
  ------------------
  |  Branch (710:11): [True: 3.78k, False: 11.5k]
  |  Branch (710:36): [True: 0, False: 3.78k]
  ------------------
  711|  15.3k|    {
  712|  15.3k|        int res;
  713|  15.3k|        Py_BEGIN_CRITICAL_SECTION(owner);
  ------------------
  |  |   51|  15.3k|    {
  ------------------
  714|  15.3k|        PyDictObject *dict = _PyObject_GetManagedDict(owner);
  715|  15.3k|        if (dict == NULL) {
  ------------------
  |  Branch (715:13): [True: 14.9k, False: 464]
  ------------------
  716|       |            // managed dict, not materialized, inline values valid
  717|  14.9k|            res = specialize_dict_access_inline(owner, instr, type, name,
  718|  14.9k|                                                tp_version, base_op, values_op);
  719|  14.9k|        }
  720|    464|        else {
  721|       |            // lost race and dict was created, fail specialization
  722|    464|            SPECIALIZATION_FAIL(STORE_ATTR, SPEC_FAIL_OTHER);
  ------------------
  |  |   43|    464|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  723|    464|            res = 0;
  724|    464|        }
  725|  15.3k|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  15.3k|    }
  ------------------
  726|  15.3k|        return res;
  727|  15.3k|    }
  728|    649|    else {
  729|    649|        PyDictObject *dict = _PyObject_GetManagedDict(owner);
  730|    649|        if (dict == NULL || !PyDict_CheckExact(dict)) {
  ------------------
  |  |   19|    613|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|    613|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    613|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    613|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (730:13): [True: 36, False: 613]
  |  Branch (730:29): [True: 0, False: 613]
  ------------------
  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|    613|        int res;
  735|    613|        Py_BEGIN_CRITICAL_SECTION(dict);
  ------------------
  |  |   51|    613|    {
  ------------------
  736|       |        // materialized managed dict
  737|    613|        res = specialize_dict_access_hint(dict, instr, type, name,
  738|    613|                                          tp_version, base_op, hint_op);
  739|    613|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|    613|    }
  ------------------
  740|    613|        return res;
  741|    649|    }
  742|  16.0k|}
specialize.c:specialize_dict_access_inline:
  636|  14.9k|{
  637|  14.9k|    _PyAttrCache *cache = (_PyAttrCache *)(instr + 1);
  638|  14.9k|    PyDictKeysObject *keys = ((PyHeapTypeObject *)type)->ht_cached_keys;
  639|  14.9k|    assert(PyUnicode_CheckExact(name));
  640|  14.9k|    _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(owner);
  641|  14.9k|    Py_ssize_t index = _PyDictKeys_StringLookupSplit(keys, name);
  642|  14.9k|    assert (index != DKIX_ERROR);
  643|  14.9k|    if (index == DKIX_EMPTY) {
  ------------------
  |  |  184|  14.9k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (643:9): [True: 13, False: 14.9k]
  ------------------
  644|     13|        SPECIALIZATION_FAIL(base_op, SPEC_FAIL_ATTR_NOT_IN_KEYS);
  ------------------
  |  |   43|     13|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  645|     13|        return 0;
  646|     13|    }
  647|  14.9k|    assert(index >= 0);
  648|  14.9k|    assert(_PyObject_InlineValues(owner)->valid);
  649|  14.9k|    char *value_addr = (char *)&_PyObject_InlineValues(owner)->values[index];
  650|  14.9k|    Py_ssize_t offset = value_addr - (char *)owner;
  651|  14.9k|    if (offset != (uint16_t)offset) {
  ------------------
  |  Branch (651:9): [True: 0, False: 14.9k]
  ------------------
  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|  14.9k|    cache->index = (uint16_t)offset;
  656|  14.9k|    write_u32(cache->version, tp_version);
  657|  14.9k|    specialize(instr, values_op);
  658|  14.9k|    return 1;
  659|  14.9k|}
specialize.c:specialize_dict_access_hint:
  666|    613|{
  667|    613|    _PyAttrCache *cache = (_PyAttrCache *)(instr + 1);
  668|       |
  669|    613|    _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|    613|    if (_PyDict_HasSplitTable(dict)) {
  ------------------
  |  |   56|    613|#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
  |  |  ------------------
  |  |  |  Branch (56:34): [True: 82, False: 531]
  |  |  ------------------
  ------------------
  676|     82|        SPECIALIZATION_FAIL(base_op, SPEC_FAIL_ATTR_SPLIT_DICT);
  ------------------
  |  |   43|     82|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
  677|     82|        return 0;
  678|     82|    }
  679|    531|    Py_ssize_t index = _PyDict_LookupIndex(dict, name);
  680|    531|    if (index != (uint16_t)index) {
  ------------------
  |  Branch (680:9): [True: 360, False: 171]
  ------------------
  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|    171|    cache->index = (uint16_t)index;
  688|    171|    write_u32(cache->version, tp_version);
  689|    171|    specialize(instr, hint_op);
  690|    171|    return 1;
  691|    531|}
specialize.c:specialize_class_load_attr:
 1168|  2.90k|{
 1169|  2.90k|    assert(PyType_Check(owner));
 1170|  2.90k|    PyTypeObject *cls = (PyTypeObject *)owner;
 1171|  2.90k|    _PyLoadMethodCache *cache = (_PyLoadMethodCache *)(instr + 1);
 1172|  2.90k|    if (Py_TYPE(cls)->tp_getattro != _Py_type_getattro) {
  ------------------
  |  |  213|  2.90k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.90k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.90k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1172:9): [True: 0, False: 2.90k]
  ------------------
 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.90k|    unsigned int meta_version = 0;
 1177|  2.90k|    PyObject *metadescriptor = _PyType_LookupRefAndVersion(Py_TYPE(cls), name, &meta_version);
  ------------------
  |  |  213|  2.90k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.90k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.90k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1178|  2.90k|    DescriptorClassification metakind = classify_descriptor(metadescriptor, false);
 1179|  2.90k|    Py_XDECREF(metadescriptor);
  ------------------
  |  |  524|  2.90k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.90k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.90k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1180|  2.90k|    switch (metakind) {
 1181|    106|        case METHOD:
  ------------------
  |  Branch (1181:9): [True: 106, False: 2.80k]
  ------------------
 1182|    156|        case NON_DESCRIPTOR:
  ------------------
  |  Branch (1182:9): [True: 50, False: 2.85k]
  ------------------
 1183|    180|        case NON_OVERRIDING:
  ------------------
  |  Branch (1183:9): [True: 24, False: 2.88k]
  ------------------
 1184|    180|        case BUILTIN_CLASSMETHOD:
  ------------------
  |  Branch (1184:9): [True: 0, False: 2.90k]
  ------------------
 1185|    180|        case PYTHON_CLASSMETHOD:
  ------------------
  |  Branch (1185:9): [True: 0, False: 2.90k]
  ------------------
 1186|  2.62k|        case ABSENT:
  ------------------
  |  Branch (1186:9): [True: 2.44k, False: 465]
  ------------------
 1187|  2.62k|            break;
 1188|    285|        default:
  ------------------
  |  Branch (1188:9): [True: 285, False: 2.62k]
  ------------------
 1189|    285|            SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_ATTR_METACLASS_ATTRIBUTE);
  ------------------
  |  |   43|    285|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1190|    285|            return -1;
 1191|  2.90k|    }
 1192|  2.62k|    PyObject *descr = NULL;
 1193|  2.62k|    DescriptorClassification kind = 0;
 1194|  2.62k|    unsigned int tp_version = 0;
 1195|  2.62k|    kind = analyze_descriptor_load(cls, name, &descr, &tp_version);
 1196|  2.62k|    if (tp_version == 0) {
  ------------------
  |  Branch (1196:9): [True: 0, False: 2.62k]
  ------------------
 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.62k|    bool metaclass_check = false;
 1202|  2.62k|    if ((Py_TYPE(cls)->tp_flags & Py_TPFLAGS_IMMUTABLETYPE) == 0) {
  ------------------
  |  |  213|  2.62k|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|  2.62k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.62k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                  if ((Py_TYPE(cls)->tp_flags & Py_TPFLAGS_IMMUTABLETYPE) == 0) {
  ------------------
  |  |  500|  2.62k|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (1202:9): [True: 359, False: 2.26k]
  ------------------
 1203|    359|        metaclass_check = true;
 1204|    359|        if (meta_version == 0) {
  ------------------
  |  Branch (1204:13): [True: 0, False: 359]
  ------------------
 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|    359|    }
 1210|  2.62k|    switch (kind) {
 1211|     96|        case MUTABLE:
  ------------------
  |  Branch (1211:9): [True: 96, False: 2.52k]
  ------------------
 1212|       |            // special case for enums which has Py_TYPE(descr) == cls
 1213|       |            // so guarding on type version is sufficient
 1214|     96|            if (Py_TYPE(descr) != cls) {
  ------------------
  |  |  213|     96|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     96|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     96|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1214:17): [True: 15, False: 81]
  ------------------
 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|     81|            if (Py_TYPE(descr)->tp_descr_get || Py_TYPE(descr)->tp_descr_set) {
  ------------------
  |  |  213|     81|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     81|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     81|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          if (Py_TYPE(descr)->tp_descr_get || Py_TYPE(descr)->tp_descr_set) {
  ------------------
  |  |  213|     81|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     81|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     81|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1219:17): [True: 0, False: 81]
  |  Branch (1219:49): [True: 0, False: 81]
  ------------------
 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|     81|            _Py_FALLTHROUGH;
  ------------------
  |  |  644|     81|#  define _Py_FALLTHROUGH __attribute__((fallthrough))
  ------------------
 1225|    194|        case METHOD:
  ------------------
  |  Branch (1225:9): [True: 113, False: 2.51k]
  ------------------
 1226|  1.41k|        case NON_DESCRIPTOR:
  ------------------
  |  Branch (1226:9): [True: 1.21k, False: 1.40k]
  ------------------
 1227|       |#ifdef Py_GIL_DISABLED
 1228|       |            maybe_enable_deferred_ref_count(descr);
 1229|       |#endif
 1230|  1.41k|            write_ptr(cache->descr, descr);
 1231|  1.41k|            if (metaclass_check) {
  ------------------
  |  Branch (1231:17): [True: 293, False: 1.11k]
  ------------------
 1232|    293|                write_u32(cache->keys_version, tp_version);
 1233|    293|                write_u32(cache->type_version, meta_version);
 1234|    293|                specialize(instr, LOAD_ATTR_CLASS_WITH_METACLASS_CHECK);
  ------------------
  |  |  189|    293|#define LOAD_ATTR_CLASS_WITH_METACLASS_CHECK   184
  ------------------
 1235|    293|            }
 1236|  1.11k|            else {
 1237|  1.11k|                write_u32(cache->type_version, tp_version);
 1238|  1.11k|                specialize(instr, LOAD_ATTR_CLASS);
  ------------------
  |  |  188|  1.11k|#define LOAD_ATTR_CLASS                        183
  ------------------
 1239|  1.11k|            }
 1240|  1.41k|            Py_XDECREF(descr);
  ------------------
  |  |  524|  1.41k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.41k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.41k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1241|  1.41k|            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.19k|        default:
  ------------------
  |  Branch (1248:9): [True: 1.19k, False: 1.42k]
  ------------------
 1249|  1.19k|            SPECIALIZATION_FAIL(LOAD_ATTR, load_attr_fail_kind(kind));
  ------------------
  |  |   43|  1.19k|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1250|  1.19k|            Py_XDECREF(descr);
  ------------------
  |  |  524|  1.19k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.19k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.19k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1251|  1.19k|            return -1;
 1252|  2.62k|    }
 1253|  2.62k|}
specialize.c:specialize_load_global_lock_held:
 1349|  6.81k|{
 1350|  6.81k|    assert(ENABLE_SPECIALIZATION);
 1351|  6.81k|    assert(_PyOpcode_Caches[LOAD_GLOBAL] == INLINE_CACHE_ENTRIES_LOAD_GLOBAL);
 1352|       |    /* Use inline cache */
 1353|  6.81k|    _PyLoadGlobalCache *cache = (_PyLoadGlobalCache *)(instr + 1);
 1354|  6.81k|    assert(PyUnicode_CheckExact(name));
 1355|  6.81k|    if (!PyDict_CheckExact(globals)) {
  ------------------
  |  |   19|  6.81k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|  6.81k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  6.81k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  6.81k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1355:9): [True: 0, False: 6.81k]
  ------------------
 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.81k|    PyDictKeysObject * globals_keys = ((PyDictObject *)globals)->ma_keys;
 1360|  6.81k|    if (globals_keys->dk_kind != DICT_KEYS_UNICODE) {
  ------------------
  |  Branch (1360:9): [True: 0, False: 6.81k]
  ------------------
 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.81k|    PyObject *value;
 1365|  6.81k|    Py_ssize_t index = _PyDict_LookupIndexAndValue((PyDictObject *)globals, name, &value);
 1366|  6.81k|    if (index == DKIX_ERROR) {
  ------------------
  |  |  186|  6.81k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (1366:9): [True: 0, False: 6.81k]
  ------------------
 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.81k|    if (value != NULL && PyLazyImport_CheckExact(value)) {
  ------------------
  |  |   15|  3.91k|#define PyLazyImport_CheckExact(op) Py_IS_TYPE((op), &PyLazyImport_Type)
  |  |  ------------------
  |  |  |  |  215|  3.91k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.91k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.91k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 0, False: 3.91k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1370:9): [True: 3.91k, False: 2.90k]
  ------------------
 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.81k|    PyInterpreterState *interp = _PyInterpreterState_GET();
 1375|  6.81k|    if (index != DKIX_EMPTY) {
  ------------------
  |  |  184|  6.81k|#define DKIX_EMPTY (-1)
  ------------------
  |  Branch (1375:9): [True: 3.91k, False: 2.90k]
  ------------------
 1376|  3.91k|        if (index != (uint16_t)index) {
  ------------------
  |  Branch (1376:13): [True: 0, False: 3.91k]
  ------------------
 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.91k|        uint32_t keys_version = _PyDict_GetKeysVersionForCurrentState(
 1381|  3.91k|                interp, (PyDictObject*) globals);
 1382|  3.91k|        if (keys_version == 0) {
  ------------------
  |  Branch (1382:13): [True: 0, False: 3.91k]
  ------------------
 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.91k|        if (keys_version != (uint16_t)keys_version) {
  ------------------
  |  Branch (1386:13): [True: 0, False: 3.91k]
  ------------------
 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.91k|        cache->index = (uint16_t)index;
 1394|  3.91k|        cache->module_keys_version = (uint16_t)keys_version;
 1395|  3.91k|        specialize(instr, LOAD_GLOBAL_MODULE);
  ------------------
  |  |  202|  3.91k|#define LOAD_GLOBAL_MODULE                     197
  ------------------
 1396|  3.91k|        return;
 1397|  3.91k|    }
 1398|  2.90k|    if (!PyDict_CheckExact(builtins)) {
  ------------------
  |  |   19|  2.90k|#define PyDict_CheckExact(op) Py_IS_TYPE((op), &PyDict_Type)
  |  |  ------------------
  |  |  |  |  215|  2.90k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.90k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.90k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1398:9): [True: 0, False: 2.90k]
  ------------------
 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.90k|    PyDictKeysObject * builtin_keys = ((PyDictObject *)builtins)->ma_keys;
 1403|  2.90k|    if (builtin_keys->dk_kind != DICT_KEYS_UNICODE) {
  ------------------
  |  Branch (1403:9): [True: 0, False: 2.90k]
  ------------------
 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.90k|    index = _PyDictKeys_StringLookup(builtin_keys, name);
 1408|  2.90k|    if (index == DKIX_ERROR) {
  ------------------
  |  |  186|  2.90k|#define DKIX_ERROR (-3)
  ------------------
  |  Branch (1408:9): [True: 0, False: 2.90k]
  ------------------
 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.90k|    if (index != (uint16_t)index) {
  ------------------
  |  Branch (1412:9): [True: 0, False: 2.90k]
  ------------------
 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.90k|    uint32_t globals_version = _PyDict_GetKeysVersionForCurrentState(
 1417|  2.90k|            interp, (PyDictObject*) globals);
 1418|  2.90k|    if (globals_version == 0) {
  ------------------
  |  Branch (1418:9): [True: 0, False: 2.90k]
  ------------------
 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.90k|    if (globals_version != (uint16_t)globals_version) {
  ------------------
  |  Branch (1422:9): [True: 0, False: 2.90k]
  ------------------
 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.90k|    uint32_t builtins_version = _PyDict_GetKeysVersionForCurrentState(
 1427|  2.90k|            interp, (PyDictObject*) builtins);
 1428|  2.90k|    if (builtins_version == 0) {
  ------------------
  |  Branch (1428:9): [True: 0, False: 2.90k]
  ------------------
 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.90k|    if (builtins_version > UINT16_MAX) {
  ------------------
  |  Branch (1432:9): [True: 0, False: 2.90k]
  ------------------
 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.90k|    cache->index = (uint16_t)index;
 1437|  2.90k|    cache->module_keys_version = (uint16_t)globals_version;
 1438|  2.90k|    cache->builtin_keys_version = (uint16_t)builtins_version;
 1439|  2.90k|    specialize(instr, LOAD_GLOBAL_BUILTIN);
  ------------------
  |  |  201|  2.90k|#define LOAD_GLOBAL_BUILTIN                    196
  ------------------
 1440|  2.90k|    return;
 1441|      0|fail:
 1442|      0|    unspecialize(instr);
 1443|      0|}
specialize.c:specialize_c_call:
 1812|   147k|{
 1813|   147k|    if (PyCFunction_GET_FUNCTION(callable) == NULL) {
  ------------------
  |  |   43|   147k|#define PyCFunction_GET_FUNCTION(func) PyCFunction_GET_FUNCTION(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|   147k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   147k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1813:9): [True: 0, False: 147k]
  ------------------
 1814|      0|        SPECIALIZATION_FAIL(CALL, SPEC_FAIL_OTHER);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1815|      0|        return 1;
 1816|      0|    }
 1817|   147k|    switch (PyCFunction_GET_FLAGS(callable) &
  ------------------
  |  |   57|   147k|#define PyCFunction_GET_FLAGS(func) PyCFunction_GET_FLAGS(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|   147k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|   147k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1818|   147k|        (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O |
  ------------------
  |  |   95|   147k|#define METH_VARARGS  0x0001
  ------------------
                      (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O |
  ------------------
  |  |  115|   147k|#  define METH_FASTCALL  0x0080
  ------------------
                      (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O |
  ------------------
  |  |   98|   147k|#define METH_NOARGS   0x0004
  ------------------
                      (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O |
  ------------------
  |  |   99|   147k|#define METH_O        0x0008
  ------------------
 1819|   147k|        METH_KEYWORDS | METH_METHOD)) {
  ------------------
  |  |   96|   147k|#define METH_KEYWORDS 0x0002
  ------------------
                      METH_KEYWORDS | METH_METHOD)) {
  ------------------
  |  |  133|   147k|#define METH_METHOD 0x0200
  ------------------
 1820|    978|        case METH_O: {
  ------------------
  |  |   99|    978|#define METH_O        0x0008
  ------------------
  |  Branch (1820:9): [True: 978, False: 146k]
  ------------------
 1821|    978|            if (nargs != 1) {
  ------------------
  |  Branch (1821:17): [True: 0, False: 978]
  ------------------
 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|    978|            PyInterpreterState *interp = _PyInterpreterState_GET();
 1827|    978|            if (callable == interp->callable_cache.len && instr->op.arg == 1) {
  ------------------
  |  Branch (1827:17): [True: 315, False: 663]
  |  Branch (1827:59): [True: 315, False: 0]
  ------------------
 1828|    315|                specialize(instr, CALL_LEN);
  ------------------
  |  |  162|    315|#define CALL_LEN                               157
  ------------------
 1829|    315|                return 0;
 1830|    315|            }
 1831|    663|            specialize(instr, CALL_BUILTIN_O);
  ------------------
  |  |  155|    663|#define CALL_BUILTIN_O                         150
  ------------------
 1832|    663|            return 0;
 1833|    978|        }
 1834|    914|        case METH_FASTCALL: {
  ------------------
  |  |  115|    914|#  define METH_FASTCALL  0x0080
  ------------------
  |  Branch (1834:9): [True: 914, False: 146k]
  ------------------
 1835|    914|            if (nargs == 2) {
  ------------------
  |  Branch (1835:17): [True: 686, False: 228]
  ------------------
 1836|       |                /* isinstance(o1, o2) */
 1837|    686|                PyInterpreterState *interp = _PyInterpreterState_GET();
 1838|    686|                if (callable == interp->callable_cache.isinstance && instr->op.arg == 2) {
  ------------------
  |  Branch (1838:21): [True: 453, False: 233]
  |  Branch (1838:70): [True: 453, False: 0]
  ------------------
 1839|    453|                    specialize(instr, CALL_ISINSTANCE);
  ------------------
  |  |  158|    453|#define CALL_ISINSTANCE                        153
  ------------------
 1840|    453|                    return 0;
 1841|    453|                }
 1842|    686|            }
 1843|    461|            specialize(instr, CALL_BUILTIN_FAST);
  ------------------
  |  |  153|    461|#define CALL_BUILTIN_FAST                      148
  ------------------
 1844|    461|            return 0;
 1845|    914|        }
 1846|   145k|        case METH_FASTCALL | METH_KEYWORDS: {
  ------------------
  |  |  115|   145k|#  define METH_FASTCALL  0x0080
  ------------------
                      case METH_FASTCALL | METH_KEYWORDS: {
  ------------------
  |  |   96|   145k|#define METH_KEYWORDS 0x0002
  ------------------
  |  Branch (1846:9): [True: 145k, False: 1.96k]
  ------------------
 1847|   145k|            specialize(instr, CALL_BUILTIN_FAST_WITH_KEYWORDS);
  ------------------
  |  |  154|   145k|#define CALL_BUILTIN_FAST_WITH_KEYWORDS        149
  ------------------
 1848|   145k|            return 0;
 1849|    914|        }
 1850|     73|        default:
  ------------------
  |  Branch (1850:9): [True: 73, False: 147k]
  ------------------
 1851|     73|            specialize(instr, CALL_NON_PY_GENERAL);
  ------------------
  |  |  168|     73|#define CALL_NON_PY_GENERAL                    163
  ------------------
 1852|     73|            return 0;
 1853|   147k|    }
 1854|   147k|}
specialize.c:specialize_py_call:
 1740|  9.48k|{
 1741|  9.48k|    _PyCallCache *cache = (_PyCallCache *)(instr + 1);
 1742|  9.48k|    PyCodeObject *code = (PyCodeObject *)func->func_code;
 1743|  9.48k|    int kind = function_kind(code);
 1744|       |    /* Don't specialize if PEP 523 is active */
 1745|  9.48k|    if (!_PyInterpreterState_IsSpecializationEnabled(_PyInterpreterState_GET())) {
  ------------------
  |  Branch (1745:9): [True: 0, False: 9.48k]
  ------------------
 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|  9.48k|    if (func->vectorcall != _PyFunction_Vectorcall) {
  ------------------
  |  Branch (1749:9): [True: 0, False: 9.48k]
  ------------------
 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|  9.48k|    int argcount = -1;
 1754|  9.48k|    if (kind == SPEC_FAIL_CODE_NOT_OPTIMIZED) {
  ------------------
  |  |  136|  9.48k|#define SPEC_FAIL_CODE_NOT_OPTIMIZED 8
  ------------------
  |  Branch (1754:9): [True: 0, False: 9.48k]
  ------------------
 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|  9.48k|    if (kind == SIMPLE_FUNCTION) {
  ------------------
  |  |  124|  9.48k|#define SIMPLE_FUNCTION 0
  ------------------
  |  Branch (1758:9): [True: 9.29k, False: 188]
  ------------------
 1759|  9.29k|        argcount = code->co_argcount;
 1760|  9.29k|    }
 1761|  9.48k|    int version = _PyFunction_GetVersionForCurrentState(func);
 1762|  9.48k|    if (!_PyFunction_IsVersionValid(version)) {
  ------------------
  |  Branch (1762:9): [True: 24, False: 9.45k]
  ------------------
 1763|     24|        SPECIALIZATION_FAIL(CALL, SPEC_FAIL_OUT_OF_VERSIONS);
  ------------------
  |  |   43|     24|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1764|     24|        return -1;
 1765|     24|    }
 1766|  9.45k|    write_u32(cache->func_version, version);
 1767|  9.45k|    uint8_t opcode;
 1768|  9.45k|    if (argcount == nargs + bound_method) {
  ------------------
  |  Branch (1768:9): [True: 9.19k, False: 260]
  ------------------
 1769|  9.19k|        opcode =
 1770|  9.19k|            bound_method ? CALL_BOUND_METHOD_EXACT_ARGS : CALL_PY_EXACT_ARGS;
  ------------------
  |  |  150|  2.02k|#define CALL_BOUND_METHOD_EXACT_ARGS           145
  ------------------
                          bound_method ? CALL_BOUND_METHOD_EXACT_ARGS : CALL_PY_EXACT_ARGS;
  ------------------
  |  |  169|  16.3k|#define CALL_PY_EXACT_ARGS                     164
  ------------------
  |  Branch (1770:13): [True: 2.02k, False: 7.17k]
  ------------------
 1771|  9.19k|    }
 1772|    260|    else {
 1773|    260|        opcode = bound_method ? CALL_BOUND_METHOD_GENERAL : CALL_PY_GENERAL;
  ------------------
  |  |  151|     12|#define CALL_BOUND_METHOD_GENERAL              146
  ------------------
                      opcode = bound_method ? CALL_BOUND_METHOD_GENERAL : CALL_PY_GENERAL;
  ------------------
  |  |  170|    508|#define CALL_PY_GENERAL                        165
  ------------------
  |  Branch (1773:18): [True: 12, False: 248]
  ------------------
 1774|    260|    }
 1775|  9.45k|    specialize(instr, opcode);
 1776|  9.45k|    return 0;
 1777|  9.48k|}
specialize.c:specialize_class_call:
 1640|    686|{
 1641|    686|    assert(PyType_Check(callable));
 1642|    686|    PyTypeObject *tp = _PyType_CAST(callable);
  ------------------
  |  |  770|    686|    (assert(PyType_Check(op)), _Py_CAST(PyTypeObject*, (op)))
  |  |  ------------------
  |  |  |  |   37|    686|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
 1643|    686|    if (tp->tp_flags & Py_TPFLAGS_IMMUTABLETYPE) {
  ------------------
  |  |  500|    686|#define Py_TPFLAGS_IMMUTABLETYPE (1UL << 8)
  ------------------
  |  Branch (1643:9): [True: 531, False: 155]
  ------------------
 1644|    531|        int oparg = instr->op.arg;
 1645|    531|        if (nargs == 1 && oparg == 1) {
  ------------------
  |  Branch (1645:13): [True: 356, False: 175]
  |  Branch (1645:27): [True: 354, False: 2]
  ------------------
 1646|    354|            if (tp == &PyUnicode_Type) {
  ------------------
  |  Branch (1646:17): [True: 21, False: 333]
  ------------------
 1647|     21|                specialize(instr, CALL_STR_1);
  ------------------
  |  |  171|     21|#define CALL_STR_1                             166
  ------------------
 1648|     21|                return 0;
 1649|     21|            }
 1650|    333|            else if (tp == &PyType_Type) {
  ------------------
  |  Branch (1650:22): [True: 53, False: 280]
  ------------------
 1651|     53|                specialize(instr, CALL_TYPE_1);
  ------------------
  |  |  173|     53|#define CALL_TYPE_1                            168
  ------------------
 1652|     53|                return 0;
 1653|     53|            }
 1654|    280|            else if (tp == &PyTuple_Type) {
  ------------------
  |  Branch (1654:22): [True: 38, False: 242]
  ------------------
 1655|     38|                specialize(instr, CALL_TUPLE_1);
  ------------------
  |  |  172|     38|#define CALL_TUPLE_1                           167
  ------------------
 1656|     38|                return 0;
 1657|     38|            }
 1658|    354|        }
 1659|    419|        if (tp->tp_vectorcall != NULL) {
  ------------------
  |  Branch (1659:13): [True: 287, False: 132]
  ------------------
 1660|    287|            specialize(instr, CALL_BUILTIN_CLASS);
  ------------------
  |  |  152|    287|#define CALL_BUILTIN_CLASS                     147
  ------------------
 1661|    287|            return 0;
 1662|    287|        }
 1663|    132|        goto generic;
 1664|    419|    }
 1665|    155|    if (Py_TYPE(tp) != &PyType_Type) {
  ------------------
  |  |  213|    155|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|    155|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    155|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1665:9): [True: 27, False: 128]
  ------------------
 1666|     27|        goto generic;
 1667|     27|    }
 1668|    128|    if (tp->tp_new == PyBaseObject_Type.tp_new) {
  ------------------
  |  Branch (1668:9): [True: 100, False: 28]
  ------------------
 1669|    100|        unsigned int tp_version = 0;
 1670|    100|        PyObject *init = get_init_for_simple_managed_python_class(tp, &tp_version);
 1671|    100|        if (!tp_version) {
  ------------------
  |  Branch (1671:13): [True: 0, False: 100]
  ------------------
 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|    100|        if (init != NULL && _PyType_CacheInitForSpecialization(
  ------------------
  |  Branch (1676:13): [True: 75, False: 25]
  |  Branch (1676:29): [True: 75, False: 0]
  ------------------
 1677|     75|                                (PyHeapTypeObject *)tp, init, tp_version)) {
 1678|     75|            _PyCallCache *cache = (_PyCallCache *)(instr + 1);
 1679|     75|            write_u32(cache->func_version, tp_version);
 1680|     75|            specialize(instr, CALL_ALLOC_AND_ENTER_INIT);
  ------------------
  |  |  149|     75|#define CALL_ALLOC_AND_ENTER_INIT              144
  ------------------
 1681|     75|            Py_DECREF(init);
  ------------------
  |  |  430|     75|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     75|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     75|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1682|     75|            return 0;
 1683|     75|        }
 1684|     25|        Py_XDECREF(init);
  ------------------
  |  |  524|     25|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     25|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     25|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1685|     25|    }
 1686|    212|generic:
 1687|    212|    specialize(instr, CALL_NON_PY_GENERAL);
  ------------------
  |  |  168|    212|#define CALL_NON_PY_GENERAL                    163
  ------------------
 1688|    212|    return 0;
 1689|    128|}
specialize.c:get_init_for_simple_managed_python_class:
 1611|    100|{
 1612|    100|    assert(tp->tp_new == PyBaseObject_Type.tp_new);
 1613|    100|    if (tp->tp_alloc != PyType_GenericAlloc) {
  ------------------
  |  Branch (1613:9): [True: 0, False: 100]
  ------------------
 1614|      0|        SPECIALIZATION_FAIL(CALL, SPEC_FAIL_OVERRIDDEN);
  ------------------
  |  |   43|      0|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1615|      0|        return NULL;
 1616|      0|    }
 1617|    100|    unsigned long tp_flags = PyType_GetFlags(tp);
 1618|    100|    if (!(tp_flags & Py_TPFLAGS_HEAPTYPE)) {
  ------------------
  |  |  503|    100|#define Py_TPFLAGS_HEAPTYPE (1UL << 9)
  ------------------
  |  Branch (1618:9): [True: 0, False: 100]
  ------------------
 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|    100|    PyObject *init = _PyType_LookupRefAndVersion(tp, &_Py_ID(__init__), tp_version);
  ------------------
  |  |  915|    100|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    100|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    100|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1624|    100|    if (init == NULL || !PyFunction_Check(init)) {
  ------------------
  |  |   68|    100|#define PyFunction_Check(op) Py_IS_TYPE((op), &PyFunction_Type)
  |  |  ------------------
  |  |  |  |  215|    100|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    100|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    100|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1624:9): [True: 0, False: 100]
  |  Branch (1624:25): [True: 12, False: 88]
  ------------------
 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|     88|    int kind = function_kind((PyCodeObject *)PyFunction_GET_CODE(init));
  ------------------
  |  |   93|     88|#define PyFunction_GET_CODE(func) PyFunction_GET_CODE(_PyObject_CAST(func))
  |  |  ------------------
  |  |  |  |  171|     88|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     88|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1630|     88|    if (kind != SIMPLE_FUNCTION) {
  ------------------
  |  |  124|     88|#define SIMPLE_FUNCTION 0
  ------------------
  |  Branch (1630:9): [True: 13, False: 75]
  ------------------
 1631|     13|        SPECIALIZATION_FAIL(CALL, SPEC_FAIL_CALL_INIT_NOT_SIMPLE);
  ------------------
  |  |   43|     13|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1632|     13|        Py_DECREF(init);
  ------------------
  |  |  430|     13|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     13|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     13|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1633|     13|        return NULL;
 1634|     13|    }
 1635|     75|    return init;
 1636|     88|}
specialize.c:specialize_method_descriptor:
 1694|  2.53k|{
 1695|  2.53k|    switch (descr->d_method->ml_flags &
  ------------------
  |  Branch (1695:13): [True: 2.41k, False: 116]
  ------------------
 1696|  2.53k|        (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O |
  ------------------
  |  |   95|  2.53k|#define METH_VARARGS  0x0001
  ------------------
                      (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O |
  ------------------
  |  |  115|  2.53k|#  define METH_FASTCALL  0x0080
  ------------------
                      (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O |
  ------------------
  |  |   98|  2.53k|#define METH_NOARGS   0x0004
  ------------------
                      (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O |
  ------------------
  |  |   99|  2.53k|#define METH_O        0x0008
  ------------------
 1697|  2.53k|        METH_KEYWORDS | METH_METHOD)) {
  ------------------
  |  |   96|  2.53k|#define METH_KEYWORDS 0x0002
  ------------------
                      METH_KEYWORDS | METH_METHOD)) {
  ------------------
  |  |  133|  2.53k|#define METH_METHOD 0x0200
  ------------------
 1698|    946|        case METH_NOARGS: {
  ------------------
  |  |   98|    946|#define METH_NOARGS   0x0004
  ------------------
  |  Branch (1698:9): [True: 946, False: 1.58k]
  ------------------
 1699|    946|            if (nargs != 1) {
  ------------------
  |  Branch (1699:17): [True: 0, False: 946]
  ------------------
 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|    946|            specialize(instr, CALL_METHOD_DESCRIPTOR_NOARGS);
  ------------------
  |  |  166|    946|#define CALL_METHOD_DESCRIPTOR_NOARGS          161
  ------------------
 1704|    946|            return 0;
 1705|    946|        }
 1706|    788|        case METH_O: {
  ------------------
  |  |   99|    788|#define METH_O        0x0008
  ------------------
  |  Branch (1706:9): [True: 788, False: 1.74k]
  ------------------
 1707|    788|            if (nargs != 2) {
  ------------------
  |  Branch (1707:17): [True: 0, False: 788]
  ------------------
 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|    788|            PyInterpreterState *interp = _PyInterpreterState_GET();
 1712|    788|            PyObject *list_append = interp->callable_cache.list_append;
 1713|    788|            int oparg = instr->op.arg;
 1714|    788|            if ((PyObject *)descr == list_append && oparg == 1) {
  ------------------
  |  Branch (1714:17): [True: 335, False: 453]
  |  Branch (1714:53): [True: 335, False: 0]
  ------------------
 1715|    335|                assert(self_or_null != NULL);
 1716|    335|                if (PyList_CheckExact(self_or_null)) {
  ------------------
  |  |   26|    335|#define PyList_CheckExact(op) Py_IS_TYPE((op), &PyList_Type)
  |  |  ------------------
  |  |  |  |  215|    335|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|    335|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|    335|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 171, False: 164]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1717|    171|                    specialize(instr, CALL_LIST_APPEND);
  ------------------
  |  |  163|    171|#define CALL_LIST_APPEND                       158
  ------------------
 1718|    171|                    return 0;
 1719|    171|                }
 1720|    335|            }
 1721|    617|            specialize(instr, CALL_METHOD_DESCRIPTOR_O);
  ------------------
  |  |  167|    617|#define CALL_METHOD_DESCRIPTOR_O               162
  ------------------
 1722|    617|            return 0;
 1723|    788|        }
 1724|    598|        case METH_FASTCALL: {
  ------------------
  |  |  115|    598|#  define METH_FASTCALL  0x0080
  ------------------
  |  Branch (1724:9): [True: 598, False: 1.93k]
  ------------------
 1725|    598|            specialize(instr, CALL_METHOD_DESCRIPTOR_FAST);
  ------------------
  |  |  164|    598|#define CALL_METHOD_DESCRIPTOR_FAST            159
  ------------------
 1726|    598|            return 0;
 1727|    788|        }
 1728|     82|        case METH_FASTCALL | METH_KEYWORDS: {
  ------------------
  |  |  115|     82|#  define METH_FASTCALL  0x0080
  ------------------
                      case METH_FASTCALL | METH_KEYWORDS: {
  ------------------
  |  |   96|     82|#define METH_KEYWORDS 0x0002
  ------------------
  |  Branch (1728:9): [True: 82, False: 2.44k]
  ------------------
 1729|     82|            specialize(instr, CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS);
  ------------------
  |  |  165|     82|#define CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS 160
  ------------------
 1730|     82|            return 0;
 1731|    788|        }
 1732|  2.53k|    }
 1733|    116|    specialize(instr, CALL_NON_PY_GENERAL);
  ------------------
  |  |  168|    116|#define CALL_NON_PY_GENERAL                    163
  ------------------
 1734|    116|    return 0;
 1735|  2.53k|}
specialize.c:specialize_py_call_kw:
 1783|  1.27k|{
 1784|  1.27k|    _PyCallCache *cache = (_PyCallCache *)(instr + 1);
 1785|  1.27k|    PyCodeObject *code = (PyCodeObject *)func->func_code;
 1786|  1.27k|    int kind = function_kind(code);
 1787|       |    /* Don't specialize if PEP 523 is active */
 1788|  1.27k|    if (!_PyInterpreterState_IsSpecializationEnabled(_PyInterpreterState_GET())) {
  ------------------
  |  Branch (1788:9): [True: 0, False: 1.27k]
  ------------------
 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|  1.27k|    if (func->vectorcall != _PyFunction_Vectorcall) {
  ------------------
  |  Branch (1792:9): [True: 0, False: 1.27k]
  ------------------
 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|  1.27k|    if (kind == SPEC_FAIL_CODE_NOT_OPTIMIZED) {
  ------------------
  |  |  136|  1.27k|#define SPEC_FAIL_CODE_NOT_OPTIMIZED 8
  ------------------
  |  Branch (1796:9): [True: 0, False: 1.27k]
  ------------------
 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|  1.27k|    int version = _PyFunction_GetVersionForCurrentState(func);
 1801|  1.27k|    if (!_PyFunction_IsVersionValid(version)) {
  ------------------
  |  Branch (1801:9): [True: 34, False: 1.24k]
  ------------------
 1802|     34|        SPECIALIZATION_FAIL(CALL, SPEC_FAIL_OUT_OF_VERSIONS);
  ------------------
  |  |   43|     34|#  define SPECIALIZATION_FAIL(opcode, kind) ((void)0)
  ------------------
 1803|     34|        return -1;
 1804|     34|    }
 1805|  1.24k|    write_u32(cache->func_version, version);
 1806|  1.24k|    specialize(instr, bound_method ? CALL_KW_BOUND_METHOD : CALL_KW_PY);
  ------------------
  |  |  159|  1.06k|#define CALL_KW_BOUND_METHOD                   154
  ------------------
                  specialize(instr, bound_method ? CALL_KW_BOUND_METHOD : CALL_KW_PY);
  ------------------
  |  |  161|  1.41k|#define CALL_KW_PY                             156
  ------------------
  |  Branch (1806:23): [True: 1.06k, False: 177]
  ------------------
 1807|  1.24k|    return 0;
 1808|  1.27k|}
specialize.c:function_kind:
 1456|  17.4k|function_kind(PyCodeObject *code) {
 1457|  17.4k|    int flags = code->co_flags;
 1458|  17.4k|    if ((flags & (CO_VARKEYWORDS | CO_VARARGS)) || code->co_kwonlyargcount) {
  ------------------
  |  |  121|  17.4k|#define CO_VARKEYWORDS  0x0008
  ------------------
                  if ((flags & (CO_VARKEYWORDS | CO_VARARGS)) || code->co_kwonlyargcount) {
  ------------------
  |  |  120|  17.4k|#define CO_VARARGS      0x0004
  ------------------
  |  Branch (1458:9): [True: 133, False: 17.3k]
  |  Branch (1458:52): [True: 1.29k, False: 16.0k]
  ------------------
 1459|  1.42k|        return SPEC_FAIL_CODE_COMPLEX_PARAMETERS;
  ------------------
  |  |  135|  1.42k|#define SPEC_FAIL_CODE_COMPLEX_PARAMETERS 7
  ------------------
 1460|  1.42k|    }
 1461|  16.0k|    if ((flags & CO_OPTIMIZED) == 0) {
  ------------------
  |  |  118|  16.0k|#define CO_OPTIMIZED    0x0001
  ------------------
  |  Branch (1461:9): [True: 0, False: 16.0k]
  ------------------
 1462|      0|        return SPEC_FAIL_CODE_NOT_OPTIMIZED;
  ------------------
  |  |  136|      0|#define SPEC_FAIL_CODE_NOT_OPTIMIZED 8
  ------------------
 1463|      0|    }
 1464|  16.0k|    return SIMPLE_FUNCTION;
  ------------------
  |  |  124|  16.0k|#define SIMPLE_FUNCTION 0
  ------------------
 1465|  16.0k|}
specialize.c:binary_op_extended_specialization:
 2337|  5.97k|{
 2338|  5.97k|    size_t n = sizeof(binaryop_extend_descrs)/sizeof(_PyBinaryOpSpecializationDescr);
 2339|   237k|    for (size_t i = 0; i < n; i++) {
  ------------------
  |  Branch (2339:24): [True: 231k, False: 5.75k]
  ------------------
 2340|   231k|        _PyBinaryOpSpecializationDescr *d = &binaryop_extend_descrs[i];
 2341|   231k|        if (d->oparg != oparg) {
  ------------------
  |  Branch (2341:13): [True: 226k, False: 4.93k]
  ------------------
 2342|   226k|            continue;
 2343|   226k|        }
 2344|  4.93k|        int match = (d->guard != NULL)
  ------------------
  |  Branch (2344:21): [True: 3.51k, False: 1.42k]
  ------------------
 2345|  4.93k|            ? d->guard(lhs, rhs)
 2346|  4.93k|            : (Py_TYPE(lhs) == d->lhs_type && Py_TYPE(rhs) == d->rhs_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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          : (Py_TYPE(lhs) == d->lhs_type && Py_TYPE(rhs) == d->rhs_type);
  ------------------
  |  |  213|     63|#  define Py_TYPE(ob) _Py_TYPE_impl(_PyObject_CAST(ob))
  |  |  ------------------
  |  |  |  |  171|     63|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     63|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2346:16): [True: 63, False: 1.36k]
  |  Branch (2346:47): [True: 39, False: 24]
  ------------------
 2347|  4.93k|        if (match) {
  ------------------
  |  Branch (2347:13): [True: 222, False: 4.71k]
  ------------------
 2348|    222|            *descr = d;
 2349|    222|            return 1;
 2350|    222|        }
 2351|  4.93k|    }
 2352|  5.75k|    return 0;
 2353|  5.97k|}
specialize.c:compactlongs_guard:
 2179|  7.81M|{
 2180|  7.81M|    return (is_compactlong(lhs) && is_compactlong(rhs));
  ------------------
  |  Branch (2180:13): [True: 7.81M, False: 175]
  |  Branch (2180:36): [True: 7.81M, False: 24]
  ------------------
 2181|  7.81M|}
specialize.c:is_compactlong:
 2122|  15.6M|{
 2123|  15.6M|    return PyLong_CheckExact(v) &&
  ------------------
  |  |   14|  15.6M|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  31.2M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  15.6M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  15.6M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 15.6M, False: 110]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2124|  15.6M|           _PyLong_IsCompact((PyLongObject *)v);
  ------------------
  |  Branch (2124:12): [True: 15.6M, False: 89]
  ------------------
 2125|  15.6M|}
specialize.c:compactlongs_or:
 2186|   222k|    { \
 2187|   222k|        Py_ssize_t rhs_val = _PyLong_CompactValue((PyLongObject *)rhs); \
 2188|   222k|        Py_ssize_t lhs_val = _PyLong_CompactValue((PyLongObject *)lhs); \
 2189|   222k|        return PyLong_FromSsize_t(lhs_val OP rhs_val); \
 2190|   222k|    }
specialize.c:compactlongs_and:
 2186|  7.59M|    { \
 2187|  7.59M|        Py_ssize_t rhs_val = _PyLong_CompactValue((PyLongObject *)rhs); \
 2188|  7.59M|        Py_ssize_t lhs_val = _PyLong_CompactValue((PyLongObject *)lhs); \
 2189|  7.59M|        return PyLong_FromSsize_t(lhs_val OP rhs_val); \
 2190|  7.59M|    }
specialize.c:compactlongs_xor:
 2186|     28|    { \
 2187|     28|        Py_ssize_t rhs_val = _PyLong_CompactValue((PyLongObject *)rhs); \
 2188|     28|        Py_ssize_t lhs_val = _PyLong_CompactValue((PyLongObject *)lhs); \
 2189|     28|        return PyLong_FromSsize_t(lhs_val OP rhs_val); \
 2190|     28|    }
specialize.c:float_compactlong_guard:
 2200|  53.4k|{
 2201|  53.4k|    return (
 2202|  53.4k|        PyFloat_CheckExact(lhs) &&
  ------------------
  |  |   17|  53.4k|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  215|   106k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  53.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  53.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 51.8k, False: 1.57k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2203|  51.8k|        !isnan(PyFloat_AS_DOUBLE(lhs)) &&
  ------------------
  |  Branch (2203:9): [True: 51.8k, False: 0]
  ------------------
 2204|  53.4k|        PyLong_CheckExact(rhs) &&
  ------------------
  |  |   14|  51.8k|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|   105k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  51.8k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  51.8k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 51.7k, False: 111]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2205|  51.7k|        _PyLong_IsCompact((PyLongObject *)rhs)
  ------------------
  |  Branch (2205:9): [True: 51.7k, False: 4]
  ------------------
 2206|  53.4k|    );
 2207|  53.4k|}
specialize.c:float_compactlong_subtract:
 2220|     40|    { \
 2221|     40|        double lhs_val = PyFloat_AS_DOUBLE(lhs); \
  ------------------
  |  |   18|     40|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     40|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     40|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2222|     40|        Py_ssize_t rhs_val = _PyLong_CompactValue((PyLongObject *)rhs); \
 2223|     40|        return PyFloat_FromDouble(lhs_val OP rhs_val); \
 2224|     40|    }
specialize.c:nonzero_float_compactlong_guard:
 2211|     16|{
 2212|     16|    return (
 2213|     16|        float_compactlong_guard(lhs, rhs) && !_PyLong_IsZero((PyLongObject*)rhs)
  ------------------
  |  Branch (2213:9): [True: 11, False: 5]
  |  Branch (2213:46): [True: 11, False: 0]
  ------------------
 2214|     16|    );
 2215|     16|}
specialize.c:float_compactlong_true_div:
 2220|      8|    { \
 2221|      8|        double lhs_val = PyFloat_AS_DOUBLE(lhs); \
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2222|      8|        Py_ssize_t rhs_val = _PyLong_CompactValue((PyLongObject *)rhs); \
 2223|      8|        return PyFloat_FromDouble(lhs_val OP rhs_val); \
 2224|      8|    }
specialize.c:float_compactlong_multiply:
 2220|  51.6k|    { \
 2221|  51.6k|        double lhs_val = PyFloat_AS_DOUBLE(lhs); \
  ------------------
  |  |   18|  51.6k|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  51.6k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  51.6k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2222|  51.6k|        Py_ssize_t rhs_val = _PyLong_CompactValue((PyLongObject *)rhs); \
 2223|  51.6k|        return PyFloat_FromDouble(lhs_val OP rhs_val); \
 2224|  51.6k|    }
specialize.c:compactlong_float_guard:
 2235|  3.94M|{
 2236|  3.94M|    return (
 2237|  3.94M|        PyLong_CheckExact(lhs) &&
  ------------------
  |  |   14|  3.94M|#define PyLong_CheckExact(op) Py_IS_TYPE((op), &PyLong_Type)
  |  |  ------------------
  |  |  |  |  215|  7.89M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.94M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.94M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 3.94M, False: 1.06k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2238|  3.94M|        _PyLong_IsCompact((PyLongObject *)lhs) &&
  ------------------
  |  Branch (2238:9): [True: 3.94M, False: 495]
  ------------------
 2239|  3.94M|        PyFloat_CheckExact(rhs) &&
  ------------------
  |  |   17|  3.94M|#define PyFloat_CheckExact(op) Py_IS_TYPE((op), &PyFloat_Type)
  |  |  ------------------
  |  |  |  |  215|  7.89M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  3.94M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  3.94M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (215:32): [True: 3.94M, False: 69]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2240|  3.94M|        !isnan(PyFloat_AS_DOUBLE(rhs))
  ------------------
  |  Branch (2240:9): [True: 3.94M, False: 0]
  ------------------
 2241|  3.94M|    );
 2242|  3.94M|}
specialize.c:compactlong_float_add:
 2255|      3|    { \
 2256|      3|        double rhs_val = PyFloat_AS_DOUBLE(rhs); \
  ------------------
  |  |   18|      3|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2257|      3|        Py_ssize_t lhs_val = _PyLong_CompactValue((PyLongObject *)lhs); \
 2258|      3|        return PyFloat_FromDouble(lhs_val OP rhs_val); \
 2259|      3|    }
specialize.c:compactlong_float_subtract:
 2255|  1.96M|    { \
 2256|  1.96M|        double rhs_val = PyFloat_AS_DOUBLE(rhs); \
  ------------------
  |  |   18|  1.96M|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.96M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.96M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2257|  1.96M|        Py_ssize_t lhs_val = _PyLong_CompactValue((PyLongObject *)lhs); \
 2258|  1.96M|        return PyFloat_FromDouble(lhs_val OP rhs_val); \
 2259|  1.96M|    }
specialize.c:nonzero_compactlong_float_guard:
 2246|      5|{
 2247|      5|    return (
 2248|      5|        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 (2248:9): [True: 0, False: 5]
  |  Branch (2248:46): [True: 0, False: 0]
  ------------------
 2249|      5|    );
 2250|      5|}
specialize.c:compactlong_float_multiply:
 2255|  1.97M|    { \
 2256|  1.97M|        double rhs_val = PyFloat_AS_DOUBLE(rhs); \
  ------------------
  |  |   18|  1.97M|#define PyFloat_AS_DOUBLE(op) PyFloat_AS_DOUBLE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.97M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.97M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2257|  1.97M|        Py_ssize_t lhs_val = _PyLong_CompactValue((PyLongObject *)lhs); \
 2258|  1.97M|        return PyFloat_FromDouble(lhs_val OP rhs_val); \
 2259|  1.97M|    }
specialize.c:str_int_multiply:
 2143|     45|{
 2144|     45|    return seq_int_multiply(lhs, rhs, PyUnicode_Type.tp_as_sequence->sq_repeat);
 2145|     45|}
specialize.c:seq_int_multiply:
 2133|     49|{
 2134|     49|    Py_ssize_t count = PyLong_AsSsize_t(n);
 2135|     49|    if (count == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (2135:9): [True: 0, False: 49]
  |  Branch (2135:24): [True: 0, False: 0]
  ------------------
 2136|      0|        return NULL;
 2137|      0|    }
 2138|     49|    return repeat(seq, count);
 2139|     49|}
specialize.c:bytes_int_multiply:
 2155|      4|{
 2156|      4|    return seq_int_multiply(lhs, rhs, PyBytes_Type.tp_as_sequence->sq_repeat);
 2157|      4|}
specialize.c:check_type_always_true:
 2839|    264|{
 2840|    264|    PyNumberMethods *nb = ty->tp_as_number;
 2841|    264|    if (nb && nb->nb_bool) {
  ------------------
  |  Branch (2841:9): [True: 264, False: 0]
  |  Branch (2841:15): [True: 10, False: 254]
  ------------------
 2842|     10|        return SPEC_FAIL_TO_BOOL_NUMBER;
  ------------------
  |  |  313|     10|#define SPEC_FAIL_TO_BOOL_NUMBER      15
  ------------------
 2843|     10|    }
 2844|    254|    PyMappingMethods *mp = ty->tp_as_mapping;
 2845|    254|    if (mp && mp->mp_length) {
  ------------------
  |  Branch (2845:9): [True: 254, False: 0]
  |  Branch (2845:15): [True: 30, False: 224]
  ------------------
 2846|     30|        return SPEC_FAIL_TO_BOOL_MAPPING;
  ------------------
  |  |  311|     30|#define SPEC_FAIL_TO_BOOL_MAPPING     13
  ------------------
 2847|     30|    }
 2848|    224|    PySequenceMethods *sq = ty->tp_as_sequence;
 2849|    224|    if (sq && sq->sq_length) {
  ------------------
  |  Branch (2849:9): [True: 224, False: 0]
  |  Branch (2849:15): [True: 6, False: 218]
  ------------------
 2850|      6|      return SPEC_FAIL_TO_BOOL_SEQUENCE;
  ------------------
  |  |  314|      6|#define SPEC_FAIL_TO_BOOL_SEQUENCE    16
  ------------------
 2851|      6|    }
 2852|    218|    return 0;
 2853|    224|}
specialize.c:set_counter:
  347|   570k|{
  348|   570k|    FT_ATOMIC_STORE_UINT16_RELAXED(counter->value_and_backoff,
  ------------------
  |  |  170|   570k|#define FT_ATOMIC_STORE_UINT16_RELAXED(value, new_value) value = new_value
  ------------------
  349|   570k|                                   value.value_and_backoff);
  350|   570k|}

_PyMember_GetOffset:
   26|  4.73M|{
   27|  4.73M|    unsigned char *addr = (unsigned char *)obj + mp->offset;
   28|  4.73M|    if (mp->flags & _Py_AFTER_ITEMS) {
  ------------------
  |  |   89|  4.73M|#  define _Py_AFTER_ITEMS      (1 << 4) // For internal use.
  ------------------
  |  Branch (28:9): [True: 0, False: 4.73M]
  ------------------
   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|  4.73M|    return addr;
   33|  4.73M|}
PyMember_GetOne:
   37|   199k|{
   38|   199k|    PyObject *v;
   39|   199k|    if (l->flags & Py_RELATIVE_OFFSET) {
  ------------------
  |  |   86|   199k|#define Py_RELATIVE_OFFSET     (1 << 3)
  ------------------
  |  Branch (39:9): [True: 0, False: 199k]
  ------------------
   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|   199k|    const void *addr = _PyMember_GetOffset((PyObject *)obj_addr, l);
   47|   199k|    switch (l->type) {
   48|      6|    case Py_T_BOOL:
  ------------------
  |  |   73|      6|#define Py_T_BOOL      14
  ------------------
  |  Branch (48:5): [True: 6, False: 199k]
  ------------------
   49|      6|        v = PyBool_FromLong(FT_ATOMIC_LOAD_CHAR_RELAXED(*(char*)addr));
  ------------------
  |  |  175|      6|#define FT_ATOMIC_LOAD_CHAR_RELAXED(value) value
  ------------------
   50|      6|        break;
   51|      0|    case Py_T_BYTE:
  ------------------
  |  |   62|      0|#define Py_T_BYTE      8   /* 8-bit signed int */
  ------------------
  |  Branch (51:5): [True: 0, False: 199k]
  ------------------
   52|      0|        v = PyLong_FromLong(FT_ATOMIC_LOAD_CHAR_RELAXED(*(char*)addr));
  ------------------
  |  |  175|      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: 199k]
  ------------------
   55|      0|        v = PyLong_FromUnsignedLong(FT_ATOMIC_LOAD_UCHAR_RELAXED(*(unsigned char*)addr));
  ------------------
  |  |  177|      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: 199k]
  ------------------
   58|      0|        v = PyLong_FromLong(FT_ATOMIC_LOAD_SHORT_RELAXED(*(short*)addr));
  ------------------
  |  |  179|      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: 199k]
  ------------------
   61|      0|        v = PyLong_FromUnsignedLong(FT_ATOMIC_LOAD_USHORT_RELAXED(*(unsigned short*)addr));
  ------------------
  |  |  181|      0|#define FT_ATOMIC_LOAD_USHORT_RELAXED(value) value
  ------------------
   62|      0|        break;
   63|   162k|    case Py_T_INT:
  ------------------
  |  |   54|   162k|#define Py_T_INT       1
  ------------------
  |  Branch (63:5): [True: 162k, False: 36.1k]
  ------------------
   64|   162k|        v = PyLong_FromLong(FT_ATOMIC_LOAD_INT_RELAXED(*(int*)addr));
  ------------------
  |  |  185|   162k|#define FT_ATOMIC_LOAD_INT_RELAXED(value) value
  ------------------
   65|   162k|        break;
   66|      0|    case Py_T_UINT:
  ------------------
  |  |   66|      0|#define Py_T_UINT      11
  ------------------
  |  Branch (66:5): [True: 0, False: 199k]
  ------------------
   67|      0|        v = PyLong_FromUnsignedLong(FT_ATOMIC_LOAD_UINT_RELAXED(*(unsigned int*)addr));
  ------------------
  |  |  188|      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: 199k]
  ------------------
   70|      0|        v = PyLong_FromLong(FT_ATOMIC_LOAD_LONG_RELAXED(*(long*)addr));
  ------------------
  |  |  190|      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: 199k]
  ------------------
   73|      0|        v = PyLong_FromUnsignedLong(FT_ATOMIC_LOAD_ULONG_RELAXED(*(unsigned long*)addr));
  ------------------
  |  |  161|      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: 199k]
  ------------------
   76|      4|        v = PyLong_FromSsize_t(FT_ATOMIC_LOAD_SSIZE_RELAXED(*(Py_ssize_t*)addr));
  ------------------
  |  |  148|      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: 199k]
  ------------------
   79|      0|        v = PyFloat_FromDouble((double)FT_ATOMIC_LOAD_FLOAT_RELAXED(*(float*)addr));
  ------------------
  |  |  194|      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: 199k]
  ------------------
   82|      0|        v = PyFloat_FromDouble(FT_ATOMIC_LOAD_DOUBLE_RELAXED(*(double*)addr));
  ------------------
  |  |  196|      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: 199k]
  ------------------
   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: 199k]
  ------------------
   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: 199k]
  ------------------
   95|      0|        char char_val = FT_ATOMIC_LOAD_CHAR_RELAXED(*(char*)addr);
  ------------------
  |  |  175|      0|#define FT_ATOMIC_LOAD_CHAR_RELAXED(value) value
  ------------------
   96|      0|        v = PyUnicode_FromStringAndSize(&char_val, 1);
   97|      0|        break;
   98|      0|    }
   99|  35.2k|    case _Py_T_OBJECT:
  ------------------
  |  |   59|  35.2k|#define _Py_T_OBJECT   6  // Deprecated, use Py_T_OBJECT_EX instead
  ------------------
  |  Branch (99:5): [True: 35.2k, False: 163k]
  ------------------
  100|  35.2k|        v = FT_ATOMIC_LOAD_PTR(*(PyObject **) addr);
  ------------------
  |  |  144|  35.2k|#define FT_ATOMIC_LOAD_PTR(value) value
  ------------------
  101|  35.2k|        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.2k|        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.2k|        break;
  117|    952|    case Py_T_OBJECT_EX:
  ------------------
  |  |   75|    952|#define Py_T_OBJECT_EX 16
  ------------------
  |  Branch (117:5): [True: 952, False: 198k]
  ------------------
  118|    952|        v = member_get_object(addr, obj_addr, l);
  119|    952|#ifndef Py_GIL_DISABLED
  120|    952|        Py_XINCREF(v);
  ------------------
  |  |  514|    952|#  define Py_XINCREF(op) Py_XINCREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    952|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    952|#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|    952|        break;
  132|      0|    case Py_T_LONGLONG:
  ------------------
  |  |   76|      0|#define Py_T_LONGLONG  17
  ------------------
  |  Branch (132:5): [True: 0, False: 199k]
  ------------------
  133|      0|        v = PyLong_FromLongLong(FT_ATOMIC_LOAD_LLONG_RELAXED(*(long long *)addr));
  ------------------
  |  |  198|      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: 199k]
  ------------------
  136|      0|        v = PyLong_FromUnsignedLongLong(FT_ATOMIC_LOAD_ULLONG_RELAXED(*(unsigned long long *)addr));
  ------------------
  |  |  200|      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: 199k]
  ------------------
  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: 199k]
  ------------------
  143|      0|        PyErr_SetString(PyExc_SystemError, "bad memberdescr type");
  144|      0|        v = NULL;
  145|   199k|    }
  146|   199k|    return v;
  147|   199k|}
PyMember_SetOne:
  157|  2.10M|{
  158|  2.10M|    PyObject *oldv;
  159|  2.10M|    if (l->flags & Py_RELATIVE_OFFSET) {
  ------------------
  |  |   86|  2.10M|#define Py_RELATIVE_OFFSET     (1 << 3)
  ------------------
  |  Branch (159:9): [True: 0, False: 2.10M]
  ------------------
  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.10M|    PyObject *obj = (PyObject *)addr;
  167|  2.10M|    addr = _PyMember_GetOffset(obj, l);
  168|       |
  169|  2.10M|    if ((l->flags & Py_READONLY))
  ------------------
  |  |   83|  2.10M|#define Py_READONLY            (1 << 0)
  ------------------
  |  Branch (169:9): [True: 0, False: 2.10M]
  ------------------
  170|      0|    {
  171|      0|        PyErr_SetString(PyExc_AttributeError, "readonly attribute");
  172|      0|        return -1;
  173|      0|    }
  174|  2.10M|    if (v == NULL && l->type != Py_T_OBJECT_EX && l->type != _Py_T_OBJECT) {
  ------------------
  |  |   75|  2.10M|#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.10M]
  |  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.10M|    switch (l->type) {
  180|      3|    case Py_T_BOOL:{
  ------------------
  |  |   73|      3|#define Py_T_BOOL      14
  ------------------
  |  Branch (180:5): [True: 3, False: 2.10M]
  ------------------
  181|      3|        if (!PyBool_Check(v)) {
  ------------------
  |  |   12|      3|#define PyBool_Check(x) Py_IS_TYPE((x), &PyBool_Type)
  |  |  ------------------
  |  |  |  |  215|      3|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (181:13): [True: 0, False: 3]
  ------------------
  182|      0|            PyErr_SetString(PyExc_TypeError,
  183|      0|                            "attribute value type must be bool");
  184|      0|            return -1;
  185|      0|        }
  186|      3|        if (v == 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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (186:13): [True: 3, False: 0]
  ------------------
  187|      3|            FT_ATOMIC_STORE_CHAR_RELAXED(*(char*)addr, 1);
  ------------------
  |  |  176|      6|#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);
  ------------------
  |  |  176|      3|#define FT_ATOMIC_STORE_CHAR_RELAXED(value, new_value) value = new_value
  ------------------
  190|      3|        break;
  191|      3|        }
  192|      0|    case Py_T_BYTE:{
  ------------------
  |  |   62|      0|#define Py_T_BYTE      8   /* 8-bit signed int */
  ------------------
  |  Branch (192:5): [True: 0, False: 2.10M]
  ------------------
  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);
  ------------------
  |  |  176|      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.10M]
  ------------------
  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);
  ------------------
  |  |  178|      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.10M]
  ------------------
  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);
  ------------------
  |  |  180|      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.10M]
  ------------------
  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);
  ------------------
  |  |  182|      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.10M]
  ------------------
  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);
  ------------------
  |  |  186|      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.10M]
  ------------------
  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);
  ------------------
  |  |  189|      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);
  ------------------
  |  |  189|      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.10M]
  ------------------
  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);
  ------------------
  |  |  191|      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.10M]
  ------------------
  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);
  ------------------
  |  |  192|      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);
  ------------------
  |  |  192|      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.10M]
  ------------------
  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);
  ------------------
  |  |  193|      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.10M]
  ------------------
  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);
  ------------------
  |  |  195|      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.10M]
  ------------------
  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);
  ------------------
  |  |  197|      0|#define FT_ATOMIC_STORE_DOUBLE_RELAXED(value, new_value) value = new_value
  ------------------
  320|      0|        break;
  321|      0|    }
  322|  2.10M|    case _Py_T_OBJECT:
  ------------------
  |  |   59|  2.10M|#define _Py_T_OBJECT   6  // Deprecated, use Py_T_OBJECT_EX instead
  ------------------
  |  Branch (322:5): [True: 2.10M, False: 686]
  ------------------
  323|  2.10M|    case Py_T_OBJECT_EX:
  ------------------
  |  |   75|  2.10M|#define Py_T_OBJECT_EX 16
  ------------------
  |  Branch (323:5): [True: 683, False: 2.10M]
  ------------------
  324|  2.10M|        Py_BEGIN_CRITICAL_SECTION(obj);
  ------------------
  |  |   51|  2.10M|    {
  ------------------
  325|  2.10M|        oldv = *(PyObject **)addr;
  326|  2.10M|        FT_ATOMIC_STORE_PTR_RELEASE(*(PyObject **)addr, Py_XNewRef(v));
  ------------------
  |  |  163|  2.10M|#define FT_ATOMIC_STORE_PTR_RELEASE(value, new_value) value = new_value
  ------------------
  327|  2.10M|        Py_END_CRITICAL_SECTION();
  ------------------
  |  |   55|  2.10M|    }
  ------------------
  328|  2.10M|        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.10M]
  |  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.10M|        Py_XDECREF(oldv);
  ------------------
  |  |  524|  2.10M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.10M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.10M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  338|  2.10M|        break;
  339|      0|    case Py_T_CHAR: {
  ------------------
  |  |   61|      0|#define Py_T_CHAR      7   /* 1-character string */
  ------------------
  |  Branch (339:5): [True: 0, False: 2.10M]
  ------------------
  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]);
  ------------------
  |  |  176|      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.10M]
  ------------------
  352|      0|    case Py_T_STRING_INPLACE:
  ------------------
  |  |   70|      0|#define Py_T_STRING_INPLACE    13
  ------------------
  |  Branch (352:5): [True: 0, False: 2.10M]
  ------------------
  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.10M]
  ------------------
  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);
  ------------------
  |  |  199|      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.10M]
  ------------------
  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);
  ------------------
  |  |  201|      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);
  ------------------
  |  |  201|      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.10M]
  ------------------
  387|      0|        PyErr_Format(PyExc_SystemError,
  388|      0|                     "bad memberdescr type for %s", l->name);
  389|      0|        return -1;
  390|  2.10M|    }
  391|  2.10M|    return 0;
  392|  2.10M|}
structmember.c:member_get_object:
   14|    952|{
   15|    952|    PyObject *v = FT_ATOMIC_LOAD_PTR(*(PyObject **) addr);
  ------------------
  |  |  144|    952|#define FT_ATOMIC_LOAD_PTR(value) value
  ------------------
   16|    952|    if (v == NULL) {
  ------------------
  |  Branch (16:9): [True: 100, False: 852]
  ------------------
   17|    100|        PyErr_Format(PyExc_AttributeError,
   18|    100|                     "'%T' object has no attribute '%s'",
   19|    100|                     (PyObject *)obj_addr, l->name);
   20|    100|    }
   21|    952|    return v;
   22|    952|}

_PySymtable_Build:
  417|    264|{
  418|    264|    struct symtable *st = symtable_new();
  419|    264|    asdl_stmt_seq *seq;
  420|    264|    Py_ssize_t i;
  421|    264|    PyThreadState *tstate;
  422|       |
  423|    264|    if (st == NULL)
  ------------------
  |  Branch (423:9): [True: 0, False: 264]
  ------------------
  424|      0|        return NULL;
  425|    264|    if (filename == NULL) {
  ------------------
  |  Branch (425:9): [True: 0, False: 264]
  ------------------
  426|      0|        _PySymtable_Free(st);
  427|      0|        return NULL;
  428|      0|    }
  429|    264|    st->st_filename = Py_NewRef(filename);
  ------------------
  |  |  550|    264|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    264|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    264|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  430|    264|    st->st_future = future;
  431|       |
  432|       |    /* Setup recursion depth check counters */
  433|    264|    tstate = _PyThreadState_GET();
  434|    264|    if (!tstate) {
  ------------------
  |  Branch (434:9): [True: 0, False: 264]
  ------------------
  435|      0|        _PySymtable_Free(st);
  436|      0|        return NULL;
  437|      0|    }
  438|       |
  439|       |    /* Make the initial symbol information gathering pass */
  440|       |
  441|    264|    _Py_SourceLocation loc0 = {0, 0, 0, 0};
  442|    264|    if (!symtable_enter_block(st, &_Py_ID(top), ModuleBlock, (void *)mod, loc0)) {
  ------------------
  |  |  915|    264|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    264|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    264|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (442:9): [True: 0, False: 264]
  ------------------
  443|      0|        _PySymtable_Free(st);
  444|      0|        return NULL;
  445|      0|    }
  446|       |
  447|    264|    st->st_top = st->st_cur;
  448|    264|    switch (mod->kind) {
  ------------------
  |  Branch (448:13): [True: 264, False: 0]
  ------------------
  449|    186|    case Module_kind:
  ------------------
  |  Branch (449:5): [True: 186, False: 78]
  ------------------
  450|    186|        seq = mod->v.Module.body;
  451|    186|        if (_PyAST_GetDocString(seq)) {
  ------------------
  |  Branch (451:13): [True: 27, False: 159]
  ------------------
  452|     27|            st->st_cur->ste_has_docstring = 1;
  453|     27|        }
  454|  1.32k|        for (i = 0; i < asdl_seq_LEN(seq); i++)
  ------------------
  |  |   83|  1.32k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  2.65k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 1, False: 1.32k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (454:21): [True: 1.14k, False: 186]
  ------------------
  455|  1.14k|            if (!symtable_visit_stmt(st,
  ------------------
  |  Branch (455:17): [True: 0, False: 1.14k]
  ------------------
  456|  1.14k|                        (stmt_ty)asdl_seq_GET(seq, i)))
  ------------------
  |  |   82|  1.14k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  1.14k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
  457|      0|                goto error;
  458|    186|        break;
  459|    186|    case Expression_kind:
  ------------------
  |  Branch (459:5): [True: 78, False: 186]
  ------------------
  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: 264]
  ------------------
  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: 264]
  ------------------
  471|      0|        PyErr_SetString(PyExc_RuntimeError,
  472|      0|                        "this compiler does not handle FunctionTypes");
  473|      0|        goto error;
  474|    264|    }
  475|    264|    if (!symtable_exit_block(st)) {
  ------------------
  |  Branch (475:9): [True: 0, False: 264]
  ------------------
  476|      0|        _PySymtable_Free(st);
  477|      0|        return NULL;
  478|      0|    }
  479|       |    /* Make the second symbol analysis pass */
  480|    264|    if (symtable_analyze(st)) {
  ------------------
  |  Branch (480:9): [True: 264, False: 0]
  ------------------
  481|       |#if _PY_DUMP_SYMTABLE
  482|       |        dump_symtable(st->st_top);
  483|       |#endif
  484|    264|        return st;
  485|    264|    }
  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|    264|}
_PySymtable_Free:
  497|    264|{
  498|    264|    Py_XDECREF(st->st_filename);
  ------------------
  |  |  524|    264|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    264|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    264|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  499|    264|    Py_XDECREF(st->st_blocks);
  ------------------
  |  |  524|    264|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    264|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    264|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  500|    264|    Py_XDECREF(st->st_stack);
  ------------------
  |  |  524|    264|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    264|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    264|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  501|    264|    PyMem_Free((void *)st);
  502|    264|}
_PySymtable_Lookup:
  506|  2.54k|{
  507|  2.54k|    PyObject *k, *v;
  508|       |
  509|  2.54k|    k = PyLong_FromVoidPtr(key);
  510|  2.54k|    if (k == NULL)
  ------------------
  |  Branch (510:9): [True: 0, False: 2.54k]
  ------------------
  511|      0|        return NULL;
  512|  2.54k|    if (PyDict_GetItemRef(st->st_blocks, k, &v) == 0) {
  ------------------
  |  Branch (512:9): [True: 0, False: 2.54k]
  ------------------
  513|      0|        PyErr_SetString(PyExc_KeyError,
  514|      0|                        "unknown symbol table entry");
  515|      0|    }
  516|  2.54k|    Py_DECREF(k);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  517|       |
  518|       |    assert(v == NULL || PySTEntry_Check(v));
  519|  2.54k|    return (PySTEntryObject *)v;
  520|  2.54k|}
_PySymtable_LookupOptional:
  525|  1.86k|{
  526|  1.86k|    PyObject *k = PyLong_FromVoidPtr(key);
  527|  1.86k|    if (k == NULL) {
  ------------------
  |  Branch (527:9): [True: 0, False: 1.86k]
  ------------------
  528|      0|        *out = NULL;
  529|      0|        return -1;
  530|      0|    }
  531|  1.86k|    int result = PyDict_GetItemRef(st->st_blocks, k, (PyObject **)out);
  532|  1.86k|    Py_DECREF(k);
  ------------------
  |  |  430|  1.86k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  1.86k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.86k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  533|       |    assert(*out == NULL || PySTEntry_Check(*out));
  534|  1.86k|    return result;
  535|  1.86k|}
_PyST_GetSymbol:
  539|  34.9k|{
  540|  34.9k|    PyObject *v;
  541|  34.9k|    if (PyDict_GetItemRef(ste->ste_symbols, name, &v) < 0) {
  ------------------
  |  Branch (541:9): [True: 0, False: 34.9k]
  ------------------
  542|      0|        return -1;
  543|      0|    }
  544|  34.9k|    if (!v) {
  ------------------
  |  Branch (544:9): [True: 4.34k, False: 30.5k]
  ------------------
  545|  4.34k|        return 0;
  546|  4.34k|    }
  547|  30.5k|    long symbol = PyLong_AsLong(v);
  548|  30.5k|    Py_DECREF(v);
  ------------------
  |  |  430|  30.5k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  30.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  30.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  549|  30.5k|    if (symbol < 0) {
  ------------------
  |  Branch (549:9): [True: 0, False: 30.5k]
  ------------------
  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|  30.5k|    return symbol;
  556|  30.5k|}
_PyST_GetScope:
  560|  30.8k|{
  561|  30.8k|    long symbol = _PyST_GetSymbol(ste, name);
  562|  30.8k|    if (symbol < 0) {
  ------------------
  |  Branch (562:9): [True: 0, False: 30.8k]
  ------------------
  563|      0|        return -1;
  564|      0|    }
  565|  30.8k|    return SYMBOL_TO_SCOPE(symbol);
  ------------------
  |  |  185|  30.8k|#define SYMBOL_TO_SCOPE(S) (((S) >> SCOPE_OFFSET) & SCOPE_MASK)
  |  |  ------------------
  |  |  |  |  183|  30.8k|#define SCOPE_OFFSET 12
  |  |  ------------------
  |  |               #define SYMBOL_TO_SCOPE(S) (((S) >> SCOPE_OFFSET) & SCOPE_MASK)
  |  |  ------------------
  |  |  |  |  184|  30.8k|#define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  165|  30.8k|#define DEF_GLOBAL 1             /* global stmt */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  166|  30.8k|#define DEF_LOCAL 2              /* assignment in code block */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  167|  30.8k|#define DEF_PARAM (2<<1)         /* formal parameter */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  168|  30.8k|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  566|  30.8k|}
_PyST_IsFunctionLike:
  570|  64.2k|{
  571|  64.2k|    return ste->ste_type == FunctionBlock
  ------------------
  |  Branch (571:12): [True: 52.3k, False: 11.9k]
  ------------------
  572|  11.9k|        || ste->ste_type == AnnotationBlock
  ------------------
  |  Branch (572:12): [True: 3.92k, False: 7.97k]
  ------------------
  573|  7.97k|        || ste->ste_type == TypeVariableBlock
  ------------------
  |  Branch (573:12): [True: 0, False: 7.97k]
  ------------------
  574|  7.97k|        || ste->ste_type == TypeAliasBlock
  ------------------
  |  Branch (574:12): [True: 0, False: 7.97k]
  ------------------
  575|  7.97k|        || ste->ste_type == TypeParametersBlock;
  ------------------
  |  Branch (575:12): [True: 0, False: 7.97k]
  ------------------
  576|  64.2k|}
_Py_MaybeMangle:
 3259|  75.7k|{
 3260|       |    /* Special case for type parameter blocks around generic classes:
 3261|       |     * we want to mangle type parameter names (so a type param with a private
 3262|       |     * name can be used inside the class body), but we don't want to mangle
 3263|       |     * any other names that appear within the type parameter scope.
 3264|       |     */
 3265|  75.7k|    if (ste->ste_mangled_names != NULL) {
  ------------------
  |  Branch (3265:9): [True: 0, False: 75.7k]
  ------------------
 3266|      0|        int result = PySet_Contains(ste->ste_mangled_names, name);
 3267|      0|        if (result < 0) {
  ------------------
  |  Branch (3267:13): [True: 0, False: 0]
  ------------------
 3268|      0|            return NULL;
 3269|      0|        }
 3270|      0|        if (result == 0) {
  ------------------
  |  Branch (3270:13): [True: 0, False: 0]
  ------------------
 3271|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3272|      0|        }
 3273|      0|    }
 3274|  75.7k|    return _Py_Mangle(privateobj, name);
 3275|  75.7k|}
_Py_Mangle:
 3300|  77.8k|{
 3301|       |    /* Name mangling: __private becomes _classname__private.
 3302|       |       This is independent from how the name is used. */
 3303|  77.8k|    if (privateobj == NULL || !PyUnicode_Check(privateobj) ||
  ------------------
  |  |  103|  51.5k|    PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|   129k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  ------------------
  ------------------
  |  Branch (3303:9): [True: 26.3k, False: 51.5k]
  |  Branch (3303:31): [True: 0, False: 51.5k]
  ------------------
 3304|  51.5k|        PyUnicode_READ_CHAR(ident, 0) != '_' ||
  ------------------
  |  |  381|  51.5k|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|  51.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  51.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3304:9): [True: 42.5k, False: 9.01k]
  ------------------
 3305|  74.4k|        PyUnicode_READ_CHAR(ident, 1) != '_') {
  ------------------
  |  |  381|  9.01k|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|  9.01k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  9.01k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3305:9): [True: 5.55k, False: 3.45k]
  ------------------
 3306|  74.4k|        return Py_NewRef(ident);
  ------------------
  |  |  550|  74.4k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  74.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  74.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3307|  74.4k|    }
 3308|  3.45k|    size_t nlen = PyUnicode_GET_LENGTH(ident);
  ------------------
  |  |  299|  3.45k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.45k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.45k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3309|  3.45k|    size_t plen = PyUnicode_GET_LENGTH(privateobj);
  ------------------
  |  |  299|  3.45k|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.45k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.45k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3310|       |    /* Don't mangle __id__ or names with dots.
 3311|       |
 3312|       |       The only time a name with a dot can occur is when
 3313|       |       we are compiling an import statement that has a
 3314|       |       package name.
 3315|       |
 3316|       |       TODO(jhylton): Decide whether we want to support
 3317|       |       mangling of the module name, e.g. __M.X.
 3318|       |    */
 3319|  3.45k|    if ((PyUnicode_READ_CHAR(ident, nlen-1) == '_' &&
  ------------------
  |  |  381|  3.45k|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|  3.45k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.45k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3319:10): [True: 3.37k, False: 86]
  ------------------
 3320|  3.37k|         PyUnicode_READ_CHAR(ident, nlen-2) == '_') ||
  ------------------
  |  |  381|  3.37k|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|  3.37k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3320:10): [True: 3.37k, False: 0]
  ------------------
 3321|  3.37k|        PyUnicode_FindChar(ident, '.', 0, nlen, 1) != -1) {
  ------------------
  |  Branch (3321:9): [True: 0, False: 86]
  ------------------
 3322|  3.37k|        return Py_NewRef(ident); /* Don't mangle __whatever__ */
  ------------------
  |  |  550|  3.37k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  3.37k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.37k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3323|  3.37k|    }
 3324|       |    /* Strip leading underscores from class name */
 3325|     86|    size_t ipriv = 0;
 3326|     86|    while (PyUnicode_READ_CHAR(privateobj, ipriv) == '_') {
  ------------------
  |  |  381|     86|    PyUnicode_READ_CHAR(_PyObject_CAST(unicode), (index))
  |  |  ------------------
  |  |  |  |  171|     86|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     86|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3326:12): [True: 0, False: 86]
  ------------------
 3327|      0|        ipriv++;
 3328|      0|    }
 3329|     86|    if (ipriv == plen) {
  ------------------
  |  Branch (3329:9): [True: 0, False: 86]
  ------------------
 3330|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3331|      0|    }
 3332|       |
 3333|     86|    if (nlen + (plen - ipriv) >= PY_SSIZE_T_MAX - 1) {
  ------------------
  |  |  137|     86|#   define PY_SSIZE_T_MAX SSIZE_MAX
  ------------------
  |  Branch (3333:9): [True: 0, False: 86]
  ------------------
 3334|      0|        PyErr_SetString(PyExc_OverflowError,
 3335|      0|                        "private identifier too large to be mangled");
 3336|      0|        return NULL;
 3337|      0|    }
 3338|       |
 3339|     86|    PyUnicodeWriter *writer = PyUnicodeWriter_Create(1 + nlen + (plen - ipriv));
 3340|     86|    if (!writer) {
  ------------------
  |  Branch (3340:9): [True: 0, False: 86]
  ------------------
 3341|      0|        return NULL;
 3342|      0|    }
 3343|       |    // ident = "_" + priv[ipriv:] + ident
 3344|     86|    if (PyUnicodeWriter_WriteChar(writer, '_') < 0) {
  ------------------
  |  Branch (3344:9): [True: 0, False: 86]
  ------------------
 3345|      0|        goto error;
 3346|      0|    }
 3347|     86|    if (PyUnicodeWriter_WriteSubstring(writer, privateobj, ipriv, plen) < 0) {
  ------------------
  |  Branch (3347:9): [True: 0, False: 86]
  ------------------
 3348|      0|        goto error;
 3349|      0|    }
 3350|     86|    if (PyUnicodeWriter_WriteStr(writer, ident) < 0) {
  ------------------
  |  Branch (3350:9): [True: 0, False: 86]
  ------------------
 3351|      0|        goto error;
 3352|      0|    }
 3353|     86|    return PyUnicodeWriter_Finish(writer);
 3354|       |
 3355|      0|error:
 3356|      0|    PyUnicodeWriter_Discard(writer);
 3357|       |    return NULL;
 3358|     86|}
symtable.c:ste_dealloc:
  185|  4.30k|{
  186|  4.30k|    PySTEntryObject *ste = (PySTEntryObject *)op;
  187|  4.30k|    ste->ste_table = NULL;
  188|  4.30k|    Py_XDECREF(ste->ste_id);
  ------------------
  |  |  524|  4.30k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  189|  4.30k|    Py_XDECREF(ste->ste_name);
  ------------------
  |  |  524|  4.30k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  190|  4.30k|    Py_XDECREF(ste->ste_function_name);
  ------------------
  |  |  524|  4.30k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  191|  4.30k|    Py_XDECREF(ste->ste_symbols);
  ------------------
  |  |  524|  4.30k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  192|  4.30k|    Py_XDECREF(ste->ste_varnames);
  ------------------
  |  |  524|  4.30k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  193|  4.30k|    Py_XDECREF(ste->ste_children);
  ------------------
  |  |  524|  4.30k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  194|  4.30k|    Py_XDECREF(ste->ste_directives);
  ------------------
  |  |  524|  4.30k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  195|  4.30k|    Py_XDECREF(ste->ste_annotation_block);
  ------------------
  |  |  524|  4.30k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  196|  4.30k|    Py_XDECREF(ste->ste_mangled_names);
  ------------------
  |  |  524|  4.30k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  197|  4.30k|    PyObject_Free(ste);
  198|  4.30k|}
symtable.c:symtable_new:
  391|    264|{
  392|    264|    struct symtable *st;
  393|       |
  394|    264|    st = (struct symtable *)PyMem_Malloc(sizeof(struct symtable));
  395|    264|    if (st == NULL) {
  ------------------
  |  Branch (395:9): [True: 0, False: 264]
  ------------------
  396|      0|        PyErr_NoMemory();
  397|      0|        return NULL;
  398|      0|    }
  399|       |
  400|    264|    st->st_filename = NULL;
  401|    264|    st->st_blocks = NULL;
  402|       |
  403|    264|    if ((st->st_stack = PyList_New(0)) == NULL)
  ------------------
  |  Branch (403:9): [True: 0, False: 264]
  ------------------
  404|      0|        goto fail;
  405|    264|    if ((st->st_blocks = PyDict_New()) == NULL)
  ------------------
  |  Branch (405:9): [True: 0, False: 264]
  ------------------
  406|      0|        goto fail;
  407|    264|    st->st_cur = NULL;
  408|    264|    st->st_private = NULL;
  409|    264|    return st;
  410|      0| fail:
  411|      0|    _PySymtable_Free(st);
  412|       |    return NULL;
  413|    264|}
symtable.c:symtable_analyze:
 1373|    264|{
 1374|    264|    PyObject *free, *global, *type_params;
 1375|    264|    int r;
 1376|       |
 1377|    264|    free = PySet_New(NULL);
 1378|    264|    if (!free)
  ------------------
  |  Branch (1378:9): [True: 0, False: 264]
  ------------------
 1379|      0|        return 0;
 1380|    264|    global = PySet_New(NULL);
 1381|    264|    if (!global) {
  ------------------
  |  Branch (1381:9): [True: 0, False: 264]
  ------------------
 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|    264|    type_params = PySet_New(NULL);
 1386|    264|    if (!type_params) {
  ------------------
  |  Branch (1386:9): [True: 0, False: 264]
  ------------------
 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|    264|    r = analyze_block(st->st_top, NULL, free, global, type_params, NULL);
 1392|    264|    Py_DECREF(free);
  ------------------
  |  |  430|    264|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    264|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    264|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1393|    264|    Py_DECREF(global);
  ------------------
  |  |  430|    264|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    264|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    264|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1394|    264|    Py_DECREF(type_params);
  ------------------
  |  |  430|    264|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    264|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    264|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1395|    264|    return r;
 1396|    264|}
symtable.c:analyze_block:
 1137|  4.30k|{
 1138|  4.30k|    PyObject *name, *v, *local = NULL, *scopes = NULL, *newbound = NULL;
 1139|  4.30k|    PyObject *newglobal = NULL, *newfree = NULL, *inlined_cells = NULL;
 1140|  4.30k|    PyObject *temp;
 1141|  4.30k|    int success = 0;
 1142|  4.30k|    Py_ssize_t i, pos = 0;
 1143|       |
 1144|  4.30k|    local = PySet_New(NULL);  /* collect new names bound in block */
 1145|  4.30k|    if (!local)
  ------------------
  |  Branch (1145:9): [True: 0, False: 4.30k]
  ------------------
 1146|      0|        goto error;
 1147|  4.30k|    scopes = PyDict_New();  /* collect scopes defined for each name */
 1148|  4.30k|    if (!scopes)
  ------------------
  |  Branch (1148:9): [True: 0, False: 4.30k]
  ------------------
 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|  4.30k|    newglobal = PySet_New(NULL);
 1163|  4.30k|    if (!newglobal)
  ------------------
  |  Branch (1163:9): [True: 0, False: 4.30k]
  ------------------
 1164|      0|        goto error;
 1165|  4.30k|    newfree = PySet_New(NULL);
 1166|  4.30k|    if (!newfree)
  ------------------
  |  Branch (1166:9): [True: 0, False: 4.30k]
  ------------------
 1167|      0|        goto error;
 1168|  4.30k|    newbound = PySet_New(NULL);
 1169|  4.30k|    if (!newbound)
  ------------------
  |  Branch (1169:9): [True: 0, False: 4.30k]
  ------------------
 1170|      0|        goto error;
 1171|  4.30k|    inlined_cells = PySet_New(NULL);
 1172|  4.30k|    if (!inlined_cells)
  ------------------
  |  Branch (1172:9): [True: 0, False: 4.30k]
  ------------------
 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|  4.30k|    if (ste->ste_type == ClassBlock) {
  ------------------
  |  Branch (1180:9): [True: 149, False: 4.15k]
  ------------------
 1181|       |        /* Pass down known globals */
 1182|    149|        temp = PyNumber_InPlaceOr(newglobal, global);
 1183|    149|        if (!temp)
  ------------------
  |  Branch (1183:13): [True: 0, False: 149]
  ------------------
 1184|      0|            goto error;
 1185|    149|        Py_DECREF(temp);
  ------------------
  |  |  430|    149|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    149|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    149|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1186|       |        /* Pass down previously bound symbols */
 1187|    149|        if (bound) {
  ------------------
  |  Branch (1187:13): [True: 149, False: 0]
  ------------------
 1188|    149|            temp = PyNumber_InPlaceOr(newbound, bound);
 1189|    149|            if (!temp)
  ------------------
  |  Branch (1189:17): [True: 0, False: 149]
  ------------------
 1190|      0|                goto error;
 1191|    149|            Py_DECREF(temp);
  ------------------
  |  |  430|    149|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    149|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    149|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1192|    149|        }
 1193|    149|    }
 1194|       |
 1195|  20.6k|    while (PyDict_Next(ste->ste_symbols, &pos, &name, &v)) {
  ------------------
  |  Branch (1195:12): [True: 16.3k, False: 4.30k]
  ------------------
 1196|  16.3k|        long flags = PyLong_AsLong(v);
 1197|  16.3k|        if (flags == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1197:13): [True: 0, False: 16.3k]
  |  Branch (1197:28): [True: 0, False: 0]
  ------------------
 1198|      0|            goto error;
 1199|      0|        }
 1200|  16.3k|        if (!analyze_name(ste, scopes, name, flags,
  ------------------
  |  Branch (1200:13): [True: 0, False: 16.3k]
  ------------------
 1201|  16.3k|                          bound, local, free, global, type_params, class_entry))
 1202|      0|            goto error;
 1203|  16.3k|    }
 1204|       |
 1205|       |    /* Populate global and bound sets to be passed to children. */
 1206|  4.30k|    if (ste->ste_type != ClassBlock) {
  ------------------
  |  Branch (1206:9): [True: 4.15k, False: 149]
  ------------------
 1207|       |        /* Add function locals to bound set */
 1208|  4.15k|        if (_PyST_IsFunctionLike(ste)) {
  ------------------
  |  Branch (1208:13): [True: 3.89k, False: 264]
  ------------------
 1209|  3.89k|            temp = PyNumber_InPlaceOr(newbound, local);
 1210|  3.89k|            if (!temp)
  ------------------
  |  Branch (1210:17): [True: 0, False: 3.89k]
  ------------------
 1211|      0|                goto error;
 1212|  3.89k|            Py_DECREF(temp);
  ------------------
  |  |  430|  3.89k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.89k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.89k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1213|  3.89k|        }
 1214|       |        /* Pass down previously bound symbols */
 1215|  4.15k|        if (bound) {
  ------------------
  |  Branch (1215:13): [True: 3.89k, False: 264]
  ------------------
 1216|  3.89k|            temp = PyNumber_InPlaceOr(newbound, bound);
 1217|  3.89k|            if (!temp)
  ------------------
  |  Branch (1217:17): [True: 0, False: 3.89k]
  ------------------
 1218|      0|                goto error;
 1219|  3.89k|            Py_DECREF(temp);
  ------------------
  |  |  430|  3.89k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.89k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.89k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1220|  3.89k|        }
 1221|       |        /* Pass down known globals */
 1222|  4.15k|        temp = PyNumber_InPlaceOr(newglobal, global);
 1223|  4.15k|        if (!temp)
  ------------------
  |  Branch (1223:13): [True: 0, False: 4.15k]
  ------------------
 1224|      0|            goto error;
 1225|  4.15k|        Py_DECREF(temp);
  ------------------
  |  |  430|  4.15k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.15k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.15k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1226|  4.15k|    }
 1227|    149|    else {
 1228|       |        /* Special-case __class__ and __classdict__ */
 1229|    149|        if (PySet_Add(newbound, &_Py_ID(__class__)) < 0)
  ------------------
  |  |  915|    149|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    149|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    149|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1229:13): [True: 0, False: 149]
  ------------------
 1230|      0|            goto error;
 1231|    149|        if (PySet_Add(newbound, &_Py_ID(__classdict__)) < 0)
  ------------------
  |  |  915|    149|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    149|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    149|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1231:13): [True: 0, False: 149]
  ------------------
 1232|      0|            goto error;
 1233|    149|        if (PySet_Add(newbound, &_Py_ID(__conditional_annotations__)) < 0)
  ------------------
  |  |  915|    149|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    149|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    149|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1233:13): [True: 0, False: 149]
  ------------------
 1234|      0|            goto error;
 1235|    149|    }
 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|  8.34k|    for (i = 0; i < PyList_GET_SIZE(ste->ste_children); ++i) {
  ------------------
  |  |   38|  8.34k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  8.34k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  8.34k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1243:17): [True: 4.04k, False: 4.30k]
  ------------------
 1244|  4.04k|        PyObject *child_free = NULL;
 1245|  4.04k|        PyObject *c = PyList_GET_ITEM(ste->ste_children, i);
  ------------------
  |  |   40|  4.04k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|  4.04k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1246|  4.04k|        PySTEntryObject* entry;
 1247|  4.04k|        assert(c && PySTEntry_Check(c));
 1248|  4.04k|        entry = (PySTEntryObject*)c;
 1249|       |
 1250|  4.04k|        PySTEntryObject *new_class_entry = NULL;
 1251|  4.04k|        if (entry->ste_can_see_class_scope) {
  ------------------
  |  Branch (1251:13): [True: 1.14k, False: 2.89k]
  ------------------
 1252|  1.14k|            if (ste->ste_type == ClassBlock) {
  ------------------
  |  Branch (1252:17): [True: 1.14k, False: 0]
  ------------------
 1253|  1.14k|                new_class_entry = ste;
 1254|  1.14k|            }
 1255|      0|            else if (class_entry) {
  ------------------
  |  Branch (1255:22): [True: 0, False: 0]
  ------------------
 1256|      0|                new_class_entry = class_entry;
 1257|      0|            }
 1258|  1.14k|        }
 1259|       |
 1260|       |        // we inline all non-generator-expression comprehensions,
 1261|       |        // except those in annotation scopes that are nested in classes
 1262|  4.04k|        int inline_comp =
 1263|  4.04k|            entry->ste_comprehension &&
  ------------------
  |  Branch (1263:13): [True: 76, False: 3.96k]
  ------------------
 1264|     76|            !entry->ste_generator &&
  ------------------
  |  Branch (1264:13): [True: 44, False: 32]
  ------------------
 1265|     44|            !ste->ste_can_see_class_scope;
  ------------------
  |  Branch (1265:13): [True: 44, False: 0]
  ------------------
 1266|       |
 1267|  4.04k|        if (!analyze_child_block(entry, newbound, newfree, newglobal,
  ------------------
  |  Branch (1267:13): [True: 0, False: 4.04k]
  ------------------
 1268|  4.04k|                                 type_params, new_class_entry, &child_free))
 1269|      0|        {
 1270|      0|            goto error;
 1271|      0|        }
 1272|  4.04k|        if (inline_comp) {
  ------------------
  |  Branch (1272:13): [True: 44, False: 3.99k]
  ------------------
 1273|     44|            if (!inline_comprehension(ste, entry, scopes, child_free, inlined_cells)) {
  ------------------
  |  Branch (1273:17): [True: 0, False: 44]
  ------------------
 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|     44|            entry->ste_comp_inlined = 1;
 1278|     44|        }
 1279|  4.04k|        temp = PyNumber_InPlaceOr(newfree, child_free);
 1280|  4.04k|        Py_DECREF(child_free);
  ------------------
  |  |  430|  4.04k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.04k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1281|  4.04k|        if (!temp)
  ------------------
  |  Branch (1281:13): [True: 0, False: 4.04k]
  ------------------
 1282|      0|            goto error;
 1283|  4.04k|        Py_DECREF(temp);
  ------------------
  |  |  430|  4.04k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.04k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1284|  4.04k|    }
 1285|       |
 1286|       |    /* Splice children of inlined comprehensions into our children list */
 1287|  8.34k|    for (i = PyList_GET_SIZE(ste->ste_children) - 1; i >= 0; --i) {
  ------------------
  |  |   38|  4.30k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1287:54): [True: 4.04k, False: 4.30k]
  ------------------
 1288|  4.04k|        PyObject* c = PyList_GET_ITEM(ste->ste_children, i);
  ------------------
  |  |   40|  4.04k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|  4.04k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1289|  4.04k|        PySTEntryObject* entry;
 1290|  4.04k|        assert(c && PySTEntry_Check(c));
 1291|  4.04k|        entry = (PySTEntryObject*)c;
 1292|  4.04k|        if (entry->ste_comp_inlined &&
  ------------------
  |  Branch (1292:13): [True: 44, False: 3.99k]
  ------------------
 1293|     44|            PyList_SetSlice(ste->ste_children, i, i + 1,
  ------------------
  |  Branch (1293:13): [True: 0, False: 44]
  ------------------
 1294|     44|                            entry->ste_children) < 0)
 1295|      0|        {
 1296|      0|            goto error;
 1297|      0|        }
 1298|  4.04k|    }
 1299|       |
 1300|       |    /* Check if any local variables must be converted to cell variables */
 1301|  4.30k|    if (_PyST_IsFunctionLike(ste) && !analyze_cells(scopes, newfree, inlined_cells))
  ------------------
  |  Branch (1301:9): [True: 3.89k, False: 413]
  |  Branch (1301:38): [True: 0, False: 3.89k]
  ------------------
 1302|      0|        goto error;
 1303|  4.30k|    else if (ste->ste_type == ClassBlock && !drop_class_free(ste, newfree))
  ------------------
  |  Branch (1303:14): [True: 149, False: 4.15k]
  |  Branch (1303:45): [True: 0, False: 149]
  ------------------
 1304|      0|        goto error;
 1305|       |    /* Records the results of the analysis in the symbol table entry */
 1306|  4.30k|    if (!update_symbols(ste->ste_symbols, scopes, bound, newfree, inlined_cells,
  ------------------
  |  Branch (1306:9): [True: 0, False: 4.30k]
  ------------------
 1307|  4.30k|                        (ste->ste_type == ClassBlock) || ste->ste_can_see_class_scope))
  ------------------
  |  Branch (1307:25): [True: 149, False: 4.15k]
  |  Branch (1307:58): [True: 1.14k, False: 3.01k]
  ------------------
 1308|      0|        goto error;
 1309|       |
 1310|  4.30k|    temp = PyNumber_InPlaceOr(free, newfree);
 1311|  4.30k|    if (!temp)
  ------------------
  |  Branch (1311:9): [True: 0, False: 4.30k]
  ------------------
 1312|      0|        goto error;
 1313|  4.30k|    Py_DECREF(temp);
  ------------------
  |  |  430|  4.30k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1314|  4.30k|    success = 1;
 1315|  4.30k| error:
 1316|  4.30k|    Py_XDECREF(scopes);
  ------------------
  |  |  524|  4.30k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1317|  4.30k|    Py_XDECREF(local);
  ------------------
  |  |  524|  4.30k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1318|  4.30k|    Py_XDECREF(newbound);
  ------------------
  |  |  524|  4.30k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1319|  4.30k|    Py_XDECREF(newglobal);
  ------------------
  |  |  524|  4.30k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1320|  4.30k|    Py_XDECREF(newfree);
  ------------------
  |  |  524|  4.30k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1321|  4.30k|    Py_XDECREF(inlined_cells);
  ------------------
  |  |  524|  4.30k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1322|  4.30k|    if (!success)
  ------------------
  |  Branch (1322:9): [True: 0, False: 4.30k]
  ------------------
 1323|       |        assert(PyErr_Occurred());
 1324|  4.30k|    return success;
 1325|  4.30k|}
symtable.c:analyze_name:
  672|  16.3k|{
  673|  16.3k|    int contains;
  674|  16.3k|    if (flags & DEF_GLOBAL) {
  ------------------
  |  |  165|  16.3k|#define DEF_GLOBAL 1             /* global stmt */
  ------------------
  |  Branch (674:9): [True: 18, False: 16.3k]
  ------------------
  675|     18|        if (flags & DEF_NONLOCAL) {
  ------------------
  |  |  168|     18|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  ------------------
  |  Branch (675:13): [True: 0, False: 18]
  ------------------
  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|     18|        SET_SCOPE(scopes, name, GLOBAL_EXPLICIT);
  ------------------
  |  |  650|     18|    do { \
  |  |  651|     18|        PyObject *o = PyLong_FromLong(I); \
  |  |  652|     18|        if (!o) \
  |  |  ------------------
  |  |  |  Branch (652:13): [True: 0, False: 18]
  |  |  ------------------
  |  |  653|     18|            return 0; \
  |  |  654|     18|        if (PyDict_SetItem((DICT), (NAME), o) < 0) { \
  |  |  ------------------
  |  |  |  Branch (654:13): [True: 0, False: 18]
  |  |  ------------------
  |  |  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|     18|        Py_DECREF(o); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  659|     18|    } while(0)
  |  |  ------------------
  |  |  |  Branch (659:13): [Folded, False: 18]
  |  |  ------------------
  ------------------
  682|     18|        if (PySet_Add(global, name) < 0)
  ------------------
  |  Branch (682:13): [True: 0, False: 18]
  ------------------
  683|      0|            return 0;
  684|     18|        if (bound && (PySet_Discard(bound, name) < 0))
  ------------------
  |  Branch (684:13): [True: 10, False: 8]
  |  Branch (684:22): [True: 0, False: 10]
  ------------------
  685|      0|            return 0;
  686|     18|        return 1;
  687|     18|    }
  688|  16.3k|    if (flags & DEF_NONLOCAL) {
  ------------------
  |  |  168|  16.3k|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  ------------------
  |  Branch (688:9): [True: 4, False: 16.3k]
  ------------------
  689|      4|        if (!bound) {
  ------------------
  |  Branch (689:13): [True: 0, False: 4]
  ------------------
  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|      4|        contains = PySet_Contains(bound, name);
  695|      4|        if (contains < 0) {
  ------------------
  |  Branch (695:13): [True: 0, False: 4]
  ------------------
  696|      0|            return 0;
  697|      0|        }
  698|      4|        if (!contains) {
  ------------------
  |  Branch (698:13): [True: 0, False: 4]
  ------------------
  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|      4|        contains = PySet_Contains(type_params, name);
  706|      4|        if (contains < 0) {
  ------------------
  |  Branch (706:13): [True: 0, False: 4]
  ------------------
  707|      0|            return 0;
  708|      0|        }
  709|      4|        if (contains) {
  ------------------
  |  Branch (709:13): [True: 0, False: 4]
  ------------------
  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|      4|        SET_SCOPE(scopes, name, FREE);
  ------------------
  |  |  650|      4|    do { \
  |  |  651|      4|        PyObject *o = PyLong_FromLong(I); \
  |  |  652|      4|        if (!o) \
  |  |  ------------------
  |  |  |  Branch (652:13): [True: 0, False: 4]
  |  |  ------------------
  |  |  653|      4|            return 0; \
  |  |  654|      4|        if (PyDict_SetItem((DICT), (NAME), o) < 0) { \
  |  |  ------------------
  |  |  |  Branch (654:13): [True: 0, False: 4]
  |  |  ------------------
  |  |  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|      4|        Py_DECREF(o); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  659|      4|    } while(0)
  |  |  ------------------
  |  |  |  Branch (659:13): [Folded, False: 4]
  |  |  ------------------
  ------------------
  716|      4|        return PySet_Add(free, name) >= 0;
  717|      4|    }
  718|  16.3k|    if (flags & DEF_BOUND) {
  ------------------
  |  |  177|  16.3k|#define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT)
  |  |  ------------------
  |  |  |  |  166|  16.3k|#define DEF_LOCAL 2              /* assignment in code block */
  |  |  ------------------
  |  |               #define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT)
  |  |  ------------------
  |  |  |  |  167|  16.3k|#define DEF_PARAM (2<<1)         /* formal parameter */
  |  |  ------------------
  |  |               #define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT)
  |  |  ------------------
  |  |  |  |  171|  16.3k|#define DEF_IMPORT (2<<6)        /* assignment occurred via import */
  |  |  ------------------
  ------------------
  |  Branch (718:9): [True: 11.4k, False: 4.92k]
  ------------------
  719|  11.4k|        SET_SCOPE(scopes, name, LOCAL);
  ------------------
  |  |  650|  11.4k|    do { \
  |  |  651|  11.4k|        PyObject *o = PyLong_FromLong(I); \
  |  |  652|  11.4k|        if (!o) \
  |  |  ------------------
  |  |  |  Branch (652:13): [True: 0, False: 11.4k]
  |  |  ------------------
  |  |  653|  11.4k|            return 0; \
  |  |  654|  11.4k|        if (PyDict_SetItem((DICT), (NAME), o) < 0) { \
  |  |  ------------------
  |  |  |  Branch (654:13): [True: 0, False: 11.4k]
  |  |  ------------------
  |  |  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|  11.4k|        Py_DECREF(o); \
  |  |  ------------------
  |  |  |  |  430|  11.4k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  11.4k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  11.4k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  659|  11.4k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (659:13): [Folded, False: 11.4k]
  |  |  ------------------
  ------------------
  720|  11.4k|        if (PySet_Add(local, name) < 0)
  ------------------
  |  Branch (720:13): [True: 0, False: 11.4k]
  ------------------
  721|      0|            return 0;
  722|  11.4k|        if (PySet_Discard(global, name) < 0)
  ------------------
  |  Branch (722:13): [True: 0, False: 11.4k]
  ------------------
  723|      0|            return 0;
  724|  11.4k|        if (flags & DEF_TYPE_PARAM) {
  ------------------
  |  |  174|  11.4k|#define DEF_TYPE_PARAM (2<<9)    /* this name is a type parameter */
  ------------------
  |  Branch (724:13): [True: 0, False: 11.4k]
  ------------------
  725|      0|            if (PySet_Add(type_params, name) < 0)
  ------------------
  |  Branch (725:17): [True: 0, False: 0]
  ------------------
  726|      0|                return 0;
  727|      0|        }
  728|  11.4k|        else {
  729|  11.4k|            if (PySet_Discard(type_params, name) < 0)
  ------------------
  |  Branch (729:17): [True: 0, False: 11.4k]
  ------------------
  730|      0|                return 0;
  731|  11.4k|        }
  732|  11.4k|        return 1;
  733|  11.4k|    }
  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|  4.92k|    if (class_entry != NULL) {
  ------------------
  |  Branch (741:9): [True: 1.16k, False: 3.76k]
  ------------------
  742|  1.16k|        long class_flags = _PyST_GetSymbol(class_entry, name);
  743|  1.16k|        if (class_flags < 0) {
  ------------------
  |  Branch (743:13): [True: 0, False: 1.16k]
  ------------------
  744|      0|            return 0;
  745|      0|        }
  746|  1.16k|        if (class_flags & DEF_GLOBAL) {
  ------------------
  |  |  165|  1.16k|#define DEF_GLOBAL 1             /* global stmt */
  ------------------
  |  Branch (746:13): [True: 0, False: 1.16k]
  ------------------
  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|  1.16k|        else if ((class_flags & DEF_BOUND) && !(class_flags & DEF_NONLOCAL)) {
  ------------------
  |  |  177|  1.16k|#define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT)
  |  |  ------------------
  |  |  |  |  166|  1.16k|#define DEF_LOCAL 2              /* assignment in code block */
  |  |  ------------------
  |  |               #define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT)
  |  |  ------------------
  |  |  |  |  167|  1.16k|#define DEF_PARAM (2<<1)         /* formal parameter */
  |  |  ------------------
  |  |               #define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT)
  |  |  ------------------
  |  |  |  |  171|  1.16k|#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: 1.16k]
  |  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|  1.16k|    }
  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|  4.92k|    if (bound) {
  ------------------
  |  Branch (760:9): [True: 4.83k, False: 89]
  ------------------
  761|  4.83k|        contains = PySet_Contains(bound, name);
  762|  4.83k|        if (contains < 0) {
  ------------------
  |  Branch (762:13): [True: 0, False: 4.83k]
  ------------------
  763|      0|            return 0;
  764|      0|        }
  765|  4.83k|        if (contains) {
  ------------------
  |  Branch (765:13): [True: 1.61k, False: 3.22k]
  ------------------
  766|  1.61k|            SET_SCOPE(scopes, name, FREE);
  ------------------
  |  |  650|  1.61k|    do { \
  |  |  651|  1.61k|        PyObject *o = PyLong_FromLong(I); \
  |  |  652|  1.61k|        if (!o) \
  |  |  ------------------
  |  |  |  Branch (652:13): [True: 0, False: 1.61k]
  |  |  ------------------
  |  |  653|  1.61k|            return 0; \
  |  |  654|  1.61k|        if (PyDict_SetItem((DICT), (NAME), o) < 0) { \
  |  |  ------------------
  |  |  |  Branch (654:13): [True: 0, False: 1.61k]
  |  |  ------------------
  |  |  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|  1.61k|        Py_DECREF(o); \
  |  |  ------------------
  |  |  |  |  430|  1.61k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.61k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.61k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  659|  1.61k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (659:13): [Folded, False: 1.61k]
  |  |  ------------------
  ------------------
  767|  1.61k|            return PySet_Add(free, name) >= 0;
  768|  1.61k|        }
  769|  4.83k|    }
  770|       |    /* If a parent has a global statement, then call it global
  771|       |       explicit?  It could also be global implicit.
  772|       |     */
  773|  3.31k|    if (global) {
  ------------------
  |  Branch (773:9): [True: 3.31k, False: 0]
  ------------------
  774|  3.31k|        contains = PySet_Contains(global, name);
  775|  3.31k|        if (contains < 0) {
  ------------------
  |  Branch (775:13): [True: 0, False: 3.31k]
  ------------------
  776|      0|            return 0;
  777|      0|        }
  778|  3.31k|        if (contains) {
  ------------------
  |  Branch (778:13): [True: 2, False: 3.31k]
  ------------------
  779|      2|            SET_SCOPE(scopes, name, GLOBAL_IMPLICIT);
  ------------------
  |  |  650|      2|    do { \
  |  |  651|      2|        PyObject *o = PyLong_FromLong(I); \
  |  |  652|      2|        if (!o) \
  |  |  ------------------
  |  |  |  Branch (652:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  653|      2|            return 0; \
  |  |  654|      2|        if (PyDict_SetItem((DICT), (NAME), o) < 0) { \
  |  |  ------------------
  |  |  |  Branch (654:13): [True: 0, False: 2]
  |  |  ------------------
  |  |  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|        Py_DECREF(o); \
  |  |  ------------------
  |  |  |  |  430|      2|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|      2|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|      2|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  659|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (659:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
  780|      2|            return 1;
  781|      2|        }
  782|  3.31k|    }
  783|  3.31k|    SET_SCOPE(scopes, name, GLOBAL_IMPLICIT);
  ------------------
  |  |  650|  3.31k|    do { \
  |  |  651|  3.31k|        PyObject *o = PyLong_FromLong(I); \
  |  |  652|  3.31k|        if (!o) \
  |  |  ------------------
  |  |  |  Branch (652:13): [True: 0, False: 3.31k]
  |  |  ------------------
  |  |  653|  3.31k|            return 0; \
  |  |  654|  3.31k|        if (PyDict_SetItem((DICT), (NAME), o) < 0) { \
  |  |  ------------------
  |  |  |  Branch (654:13): [True: 0, False: 3.31k]
  |  |  ------------------
  |  |  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|  3.31k|        Py_DECREF(o); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  659|  3.31k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (659:13): [Folded, False: 3.31k]
  |  |  ------------------
  ------------------
  784|  3.31k|    return 1;
  785|  3.31k|}
symtable.c:analyze_child_block:
 1331|  4.04k|{
 1332|  4.04k|    PyObject *temp_bound = NULL, *temp_global = NULL, *temp_free = NULL;
 1333|  4.04k|    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|  4.04k|    temp_bound = PySet_New(bound);
 1343|  4.04k|    if (!temp_bound)
  ------------------
  |  Branch (1343:9): [True: 0, False: 4.04k]
  ------------------
 1344|      0|        goto error;
 1345|  4.04k|    temp_free = PySet_New(free);
 1346|  4.04k|    if (!temp_free)
  ------------------
  |  Branch (1346:9): [True: 0, False: 4.04k]
  ------------------
 1347|      0|        goto error;
 1348|  4.04k|    temp_global = PySet_New(global);
 1349|  4.04k|    if (!temp_global)
  ------------------
  |  Branch (1349:9): [True: 0, False: 4.04k]
  ------------------
 1350|      0|        goto error;
 1351|  4.04k|    temp_type_params = PySet_New(type_params);
 1352|  4.04k|    if (!temp_type_params)
  ------------------
  |  Branch (1352:9): [True: 0, False: 4.04k]
  ------------------
 1353|      0|        goto error;
 1354|       |
 1355|  4.04k|    if (!analyze_block(entry, temp_bound, temp_free, temp_global,
  ------------------
  |  Branch (1355:9): [True: 0, False: 4.04k]
  ------------------
 1356|  4.04k|                       temp_type_params, class_entry))
 1357|      0|        goto error;
 1358|  4.04k|    *child_free = temp_free;
 1359|  4.04k|    Py_DECREF(temp_bound);
  ------------------
  |  |  430|  4.04k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.04k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1360|  4.04k|    Py_DECREF(temp_global);
  ------------------
  |  |  430|  4.04k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.04k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1361|  4.04k|    Py_DECREF(temp_type_params);
  ------------------
  |  |  430|  4.04k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.04k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1362|  4.04k|    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|  4.04k|}
symtable.c:inline_comprehension:
  808|     44|{
  809|     44|    PyObject *k, *v;
  810|     44|    Py_ssize_t pos = 0;
  811|     44|    int remove_dunder_class = 0;
  812|     44|    int remove_dunder_classdict = 0;
  813|     44|    int remove_dunder_cond_annotations = 0;
  814|       |
  815|    181|    while (PyDict_Next(comp->ste_symbols, &pos, &k, &v)) {
  ------------------
  |  Branch (815:12): [True: 137, False: 44]
  ------------------
  816|       |        // skip comprehension parameter
  817|    137|        long comp_flags = PyLong_AsLong(v);
  818|    137|        if (comp_flags == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (818:13): [True: 0, False: 137]
  |  Branch (818:33): [True: 0, False: 0]
  ------------------
  819|      0|            return 0;
  820|      0|        }
  821|    137|        if (comp_flags & DEF_PARAM) {
  ------------------
  |  |  167|    137|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
  |  Branch (821:13): [True: 44, False: 93]
  ------------------
  822|     44|            assert(_PyUnicode_EqualToASCIIString(k, ".0"));
  823|     44|            continue;
  824|     44|        }
  825|     93|        int scope = SYMBOL_TO_SCOPE(comp_flags);
  ------------------
  |  |  185|     93|#define SYMBOL_TO_SCOPE(S) (((S) >> SCOPE_OFFSET) & SCOPE_MASK)
  |  |  ------------------
  |  |  |  |  183|     93|#define SCOPE_OFFSET 12
  |  |  ------------------
  |  |               #define SYMBOL_TO_SCOPE(S) (((S) >> SCOPE_OFFSET) & SCOPE_MASK)
  |  |  ------------------
  |  |  |  |  184|     93|#define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  165|     93|#define DEF_GLOBAL 1             /* global stmt */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  166|     93|#define DEF_LOCAL 2              /* assignment in code block */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  167|     93|#define DEF_PARAM (2<<1)         /* formal parameter */
  |  |  |  |  ------------------
  |  |  |  |               #define SCOPE_MASK (DEF_GLOBAL | DEF_LOCAL | DEF_PARAM | DEF_NONLOCAL)
  |  |  |  |  ------------------
  |  |  |  |  |  |  168|     93|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  826|     93|        int only_flags = comp_flags & ((1 << SCOPE_OFFSET) - 1);
  ------------------
  |  |  183|     93|#define SCOPE_OFFSET 12
  ------------------
  827|     93|        if (scope == CELL || only_flags & DEF_COMP_CELL) {
  ------------------
  |  |  191|    186|#define CELL 5
  ------------------
                      if (scope == CELL || only_flags & DEF_COMP_CELL) {
  ------------------
  |  |  175|     93|#define DEF_COMP_CELL (2<<10)    /* this name is a cell in an inlined comprehension */
  ------------------
  |  Branch (827:13): [True: 0, False: 93]
  |  Branch (827:30): [True: 0, False: 93]
  ------------------
  828|      0|            if (PySet_Add(inlined_cells, k) < 0) {
  ------------------
  |  Branch (828:17): [True: 0, False: 0]
  ------------------
  829|      0|                return 0;
  830|      0|            }
  831|      0|        }
  832|     93|        PyObject *existing = PyDict_GetItemWithError(ste->ste_symbols, k);
  833|     93|        if (existing == NULL && PyErr_Occurred()) {
  ------------------
  |  Branch (833:13): [True: 58, False: 35]
  |  Branch (833:33): [True: 0, False: 58]
  ------------------
  834|      0|            return 0;
  835|      0|        }
  836|       |        // __class__, __classdict__ and __conditional_annotations__ are
  837|       |        // never allowed to be free through a class scope (see
  838|       |        // drop_class_free)
  839|     93|        if (scope == FREE && ste->ste_type == ClassBlock &&
  ------------------
  |  |  190|    186|#define FREE 4
  ------------------
  |  Branch (839:13): [True: 22, False: 71]
  |  Branch (839:30): [True: 0, False: 22]
  ------------------
  840|      0|                (_PyUnicode_EqualToASCIIString(k, "__class__") ||
  ------------------
  |  Branch (840:18): [True: 0, False: 0]
  ------------------
  841|      0|                 _PyUnicode_EqualToASCIIString(k, "__classdict__") ||
  ------------------
  |  Branch (841:18): [True: 0, False: 0]
  ------------------
  842|      0|                 _PyUnicode_EqualToASCIIString(k, "__conditional_annotations__"))) {
  ------------------
  |  Branch (842:18): [True: 0, False: 0]
  ------------------
  843|      0|            scope = GLOBAL_IMPLICIT;
  ------------------
  |  |  189|      0|#define GLOBAL_IMPLICIT 3
  ------------------
  844|      0|            if (PySet_Discard(comp_free, k) < 0) {
  ------------------
  |  Branch (844:17): [True: 0, False: 0]
  ------------------
  845|      0|                return 0;
  846|      0|            }
  847|       |
  848|      0|            if (_PyUnicode_EqualToASCIIString(k, "__class__")) {
  ------------------
  |  Branch (848:17): [True: 0, False: 0]
  ------------------
  849|      0|                remove_dunder_class = 1;
  850|      0|            }
  851|      0|            else if (_PyUnicode_EqualToASCIIString(k, "__conditional_annotations__")) {
  ------------------
  |  Branch (851:22): [True: 0, False: 0]
  ------------------
  852|      0|                remove_dunder_cond_annotations = 1;
  853|      0|            }
  854|      0|            else {
  855|      0|                remove_dunder_classdict = 1;
  856|      0|            }
  857|      0|        }
  858|     93|        if (!existing) {
  ------------------
  |  Branch (858:13): [True: 58, False: 35]
  ------------------
  859|       |            // name does not exist in scope, copy from comprehension
  860|     58|            assert(scope != FREE || PySet_Contains(comp_free, k) == 1);
  861|     58|            PyObject *v_flags = PyLong_FromLong(only_flags);
  862|     58|            if (v_flags == NULL) {
  ------------------
  |  Branch (862:17): [True: 0, False: 58]
  ------------------
  863|      0|                return 0;
  864|      0|            }
  865|     58|            int ok = PyDict_SetItem(ste->ste_symbols, k, v_flags);
  866|     58|            Py_DECREF(v_flags);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  867|     58|            if (ok < 0) {
  ------------------
  |  Branch (867:17): [True: 0, False: 58]
  ------------------
  868|      0|                return 0;
  869|      0|            }
  870|     58|            SET_SCOPE(scopes, k, scope);
  ------------------
  |  |  650|     58|    do { \
  |  |  651|     58|        PyObject *o = PyLong_FromLong(I); \
  |  |  652|     58|        if (!o) \
  |  |  ------------------
  |  |  |  Branch (652:13): [True: 0, False: 58]
  |  |  ------------------
  |  |  653|     58|            return 0; \
  |  |  654|     58|        if (PyDict_SetItem((DICT), (NAME), o) < 0) { \
  |  |  ------------------
  |  |  |  Branch (654:13): [True: 0, False: 58]
  |  |  ------------------
  |  |  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|     58|        Py_DECREF(o); \
  |  |  ------------------
  |  |  |  |  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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  659|     58|    } while(0)
  |  |  ------------------
  |  |  |  Branch (659:13): [Folded, False: 58]
  |  |  ------------------
  ------------------
  871|     58|        }
  872|     35|        else {
  873|     35|            long flags = PyLong_AsLong(existing);
  874|     35|            if (flags == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (874:17): [True: 0, False: 35]
  |  Branch (874:32): [True: 0, False: 0]
  ------------------
  875|      0|                return 0;
  876|      0|            }
  877|     35|            if ((flags & DEF_BOUND) && ste->ste_type != ClassBlock) {
  ------------------
  |  |  177|     35|#define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT)
  |  |  ------------------
  |  |  |  |  166|     35|#define DEF_LOCAL 2              /* assignment in code block */
  |  |  ------------------
  |  |               #define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT)
  |  |  ------------------
  |  |  |  |  167|     35|#define DEF_PARAM (2<<1)         /* formal parameter */
  |  |  ------------------
  |  |               #define DEF_BOUND (DEF_LOCAL | DEF_PARAM | DEF_IMPORT)
  |  |  ------------------
  |  |  |  |  171|     35|#define DEF_IMPORT (2<<6)        /* assignment occurred via import */
  |  |  ------------------
  ------------------
  |  Branch (877:17): [True: 32, False: 3]
  |  Branch (877:40): [True: 32, False: 0]
  ------------------
  878|       |                // free vars in comprehension that are locals in outer scope can
  879|       |                // now simply be locals, unless they are free in comp children,
  880|       |                // or if the outer scope is a class block
  881|     32|                int ok = is_free_in_any_child(comp, k);
  882|     32|                if (ok < 0) {
  ------------------
  |  Branch (882:21): [True: 0, False: 32]
  ------------------
  883|      0|                    return 0;
  884|      0|                }
  885|     32|                if (!ok) {
  ------------------
  |  Branch (885:21): [True: 32, False: 0]
  ------------------
  886|     32|                    if (PySet_Discard(comp_free, k) < 0) {
  ------------------
  |  Branch (886:25): [True: 0, False: 32]
  ------------------
  887|      0|                        return 0;
  888|      0|                    }
  889|     32|                }
  890|     32|            }
  891|     35|        }
  892|     93|    }
  893|     44|    if (remove_dunder_class && PyDict_DelItemString(comp->ste_symbols, "__class__") < 0) {
  ------------------
  |  Branch (893:9): [True: 0, False: 44]
  |  Branch (893:32): [True: 0, False: 0]
  ------------------
  894|      0|        return 0;
  895|      0|    }
  896|     44|    if (remove_dunder_classdict && PyDict_DelItemString(comp->ste_symbols, "__classdict__") < 0) {
  ------------------
  |  Branch (896:9): [True: 0, False: 44]
  |  Branch (896:36): [True: 0, False: 0]
  ------------------
  897|      0|        return 0;
  898|      0|    }
  899|     44|    if (remove_dunder_cond_annotations && PyDict_DelItemString(comp->ste_symbols, "__conditional_annotations__") < 0) {
  ------------------
  |  Branch (899:9): [True: 0, False: 44]
  |  Branch (899:43): [True: 0, False: 0]
  ------------------
  900|      0|        return 0;
  901|      0|    }
  902|     44|    return 1;
  903|     44|}
symtable.c:is_free_in_any_child:
  789|     32|{
  790|     32|    for (Py_ssize_t i = 0; i < PyList_GET_SIZE(entry->ste_children); i++) {
  ------------------
  |  |   38|     32|#define PyList_GET_SIZE(op) PyList_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 (790:28): [True: 0, False: 32]
  ------------------
  791|      0|        PySTEntryObject *child_ste = (PySTEntryObject *)PyList_GET_ITEM(
  ------------------
  |  |   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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  792|      0|            entry->ste_children, i);
  793|      0|        long scope = _PyST_GetScope(child_ste, key);
  794|      0|        if (scope < 0) {
  ------------------
  |  Branch (794:13): [True: 0, False: 0]
  ------------------
  795|      0|            return -1;
  796|      0|        }
  797|      0|        if (scope == FREE) {
  ------------------
  |  |  190|      0|#define FREE 4
  ------------------
  |  Branch (797:13): [True: 0, False: 0]
  ------------------
  798|      0|            return 1;
  799|      0|        }
  800|      0|    }
  801|     32|    return 0;
  802|     32|}
symtable.c:analyze_cells:
  917|  3.89k|{
  918|  3.89k|    PyObject *name, *v, *v_cell;
  919|  3.89k|    int success = 0;
  920|  3.89k|    Py_ssize_t pos = 0;
  921|       |
  922|  3.89k|    v_cell = PyLong_FromLong(CELL);
  ------------------
  |  |  191|  3.89k|#define CELL 5
  ------------------
  923|  3.89k|    if (!v_cell)
  ------------------
  |  Branch (923:9): [True: 0, False: 3.89k]
  ------------------
  924|      0|        return 0;
  925|  17.7k|    while (PyDict_Next(scopes, &pos, &name, &v)) {
  ------------------
  |  Branch (925:12): [True: 13.8k, False: 3.89k]
  ------------------
  926|  13.8k|        long scope = PyLong_AsLong(v);
  927|  13.8k|        if (scope == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (927:13): [True: 0, False: 13.8k]
  |  Branch (927:28): [True: 0, False: 0]
  ------------------
  928|      0|            goto error;
  929|      0|        }
  930|  13.8k|        if (scope != LOCAL)
  ------------------
  |  |  187|  13.8k|#define LOCAL 1
  ------------------
  |  Branch (930:13): [True: 4.78k, False: 9.04k]
  ------------------
  931|  4.78k|            continue;
  932|  9.04k|        int contains = PySet_Contains(free, name);
  933|  9.04k|        if (contains < 0) {
  ------------------
  |  Branch (933:13): [True: 0, False: 9.04k]
  ------------------
  934|      0|            goto error;
  935|      0|        }
  936|  9.04k|        if (!contains) {
  ------------------
  |  Branch (936:13): [True: 8.74k, False: 304]
  ------------------
  937|  8.74k|            contains = PySet_Contains(inlined_cells, name);
  938|  8.74k|            if (contains < 0) {
  ------------------
  |  Branch (938:17): [True: 0, False: 8.74k]
  ------------------
  939|      0|                goto error;
  940|      0|            }
  941|  8.74k|            if (!contains) {
  ------------------
  |  Branch (941:17): [True: 8.74k, False: 0]
  ------------------
  942|  8.74k|                continue;
  943|  8.74k|            }
  944|  8.74k|        }
  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|    304|        if (PyDict_SetItem(scopes, name, v_cell) < 0)
  ------------------
  |  Branch (949:13): [True: 0, False: 304]
  ------------------
  950|      0|            goto error;
  951|    304|        if (PySet_Discard(free, name) < 0)
  ------------------
  |  Branch (951:13): [True: 0, False: 304]
  ------------------
  952|      0|            goto error;
  953|    304|    }
  954|  3.89k|    success = 1;
  955|  3.89k| error:
  956|  3.89k|    Py_DECREF(v_cell);
  ------------------
  |  |  430|  3.89k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.89k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.89k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  957|  3.89k|    return success;
  958|  3.89k|}
symtable.c:drop_class_free:
  962|    149|{
  963|    149|    int res;
  964|    149|    res = PySet_Discard(free, &_Py_ID(__class__));
  ------------------
  |  |  915|    149|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    149|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    149|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  965|    149|    if (res < 0)
  ------------------
  |  Branch (965:9): [True: 0, False: 149]
  ------------------
  966|      0|        return 0;
  967|    149|    if (res)
  ------------------
  |  Branch (967:9): [True: 35, False: 114]
  ------------------
  968|     35|        ste->ste_needs_class_closure = 1;
  969|    149|    res = PySet_Discard(free, &_Py_ID(__classdict__));
  ------------------
  |  |  915|    149|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    149|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    149|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  970|    149|    if (res < 0)
  ------------------
  |  Branch (970:9): [True: 0, False: 149]
  ------------------
  971|      0|        return 0;
  972|    149|    if (res)
  ------------------
  |  Branch (972:9): [True: 119, False: 30]
  ------------------
  973|    119|        ste->ste_needs_classdict = 1;
  974|    149|    res = PySet_Discard(free, &_Py_ID(__conditional_annotations__));
  ------------------
  |  |  915|    149|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    149|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    149|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  975|    149|    if (res < 0)
  ------------------
  |  Branch (975:9): [True: 0, False: 149]
  ------------------
  976|      0|        return 0;
  977|    149|    if (res) {
  ------------------
  |  Branch (977:9): [True: 0, False: 149]
  ------------------
  978|      0|        ste->ste_has_conditional_annotations = 1;
  979|      0|    }
  980|    149|    return 1;
  981|    149|}
symtable.c:update_symbols:
  991|  4.30k|{
  992|  4.30k|    PyObject *name = NULL, *itr = NULL;
  993|  4.30k|    PyObject *v = NULL, *v_scope = NULL, *v_new = NULL, *v_free = NULL;
  994|  4.30k|    Py_ssize_t pos = 0;
  995|       |
  996|       |    /* Update scope information for all symbols in this scope */
  997|  20.7k|    while (PyDict_Next(symbols, &pos, &name, &v)) {
  ------------------
  |  Branch (997:12): [True: 16.4k, False: 4.30k]
  ------------------
  998|  16.4k|        long flags = PyLong_AsLong(v);
  999|  16.4k|        if (flags == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (999:13): [True: 0, False: 16.4k]
  |  Branch (999:28): [True: 0, False: 0]
  ------------------
 1000|      0|            return 0;
 1001|      0|        }
 1002|  16.4k|        int contains = PySet_Contains(inlined_cells, name);
 1003|  16.4k|        if (contains < 0) {
  ------------------
  |  Branch (1003:13): [True: 0, False: 16.4k]
  ------------------
 1004|      0|            return 0;
 1005|      0|        }
 1006|  16.4k|        if (contains) {
  ------------------
  |  Branch (1006:13): [True: 0, False: 16.4k]
  ------------------
 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|  16.4k|        if (PyDict_GetItemRef(scopes, name, &v_scope) < 0) {
  ------------------
  |  Branch (1009:13): [True: 0, False: 16.4k]
  ------------------
 1010|      0|            return 0;
 1011|      0|        }
 1012|  16.4k|        if (!v_scope) {
  ------------------
  |  Branch (1012:13): [True: 0, False: 16.4k]
  ------------------
 1013|      0|            PyErr_SetObject(PyExc_KeyError, name);
 1014|      0|            return 0;
 1015|      0|        }
 1016|  16.4k|        long scope = PyLong_AsLong(v_scope);
 1017|  16.4k|        Py_DECREF(v_scope);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1018|  16.4k|        if (scope == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1018:13): [True: 0, False: 16.4k]
  |  Branch (1018:28): [True: 0, False: 0]
  ------------------
 1019|      0|            return 0;
 1020|      0|        }
 1021|  16.4k|        flags |= (scope << SCOPE_OFFSET);
  ------------------
  |  |  183|  16.4k|#define SCOPE_OFFSET 12
  ------------------
 1022|  16.4k|        v_new = PyLong_FromLong(flags);
 1023|  16.4k|        if (!v_new)
  ------------------
  |  Branch (1023:13): [True: 0, False: 16.4k]
  ------------------
 1024|      0|            return 0;
 1025|  16.4k|        if (PyDict_SetItem(symbols, name, v_new) < 0) {
  ------------------
  |  Branch (1025:13): [True: 0, False: 16.4k]
  ------------------
 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|  16.4k|        Py_DECREF(v_new);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1030|  16.4k|    }
 1031|       |
 1032|       |    /* Record not yet resolved free variables from children (if any) */
 1033|  4.30k|    v_free = PyLong_FromLong(FREE << SCOPE_OFFSET);
  ------------------
  |  |  190|  4.30k|#define FREE 4
  ------------------
                  v_free = PyLong_FromLong(FREE << SCOPE_OFFSET);
  ------------------
  |  |  183|  4.30k|#define SCOPE_OFFSET 12
  ------------------
 1034|  4.30k|    if (!v_free)
  ------------------
  |  Branch (1034:9): [True: 0, False: 4.30k]
  ------------------
 1035|      0|        return 0;
 1036|       |
 1037|  4.30k|    itr = PyObject_GetIter(free);
 1038|  4.30k|    if (itr == NULL) {
  ------------------
  |  Branch (1038:9): [True: 0, False: 4.30k]
  ------------------
 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|  4.30k|    while ((name = PyIter_Next(itr))) {
  ------------------
  |  Branch (1043:12): [True: 4, False: 4.30k]
  ------------------
 1044|      4|        v = PyDict_GetItemWithError(symbols, name);
 1045|       |
 1046|       |        /* Handle symbol that already exists in this scope */
 1047|      4|        if (v) {
  ------------------
  |  Branch (1047:13): [True: 1, False: 3]
  ------------------
 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|      1|            if  (classflag) {
  ------------------
  |  Branch (1052:18): [True: 0, False: 1]
  ------------------
 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|      1|            Py_DECREF(name);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1070|      1|            continue;
 1071|      1|        }
 1072|      3|        else if (PyErr_Occurred()) {
  ------------------
  |  Branch (1072:18): [True: 0, False: 3]
  ------------------
 1073|      0|            goto error;
 1074|      0|        }
 1075|       |        /* Handle global symbol */
 1076|      3|        if (bound) {
  ------------------
  |  Branch (1076:13): [True: 3, False: 0]
  ------------------
 1077|      3|            int contains = PySet_Contains(bound, name);
 1078|      3|            if (contains < 0) {
  ------------------
  |  Branch (1078:17): [True: 0, False: 3]
  ------------------
 1079|      0|                goto error;
 1080|      0|            }
 1081|      3|            if (!contains) {
  ------------------
  |  Branch (1081:17): [True: 0, False: 3]
  ------------------
 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|      3|        }
 1086|       |        /* Propagate new free symbol up the lexical stack */
 1087|      3|        if (PyDict_SetItem(symbols, name, v_free) < 0) {
  ------------------
  |  Branch (1087:13): [True: 0, False: 3]
  ------------------
 1088|      0|            goto error;
 1089|      0|        }
 1090|      3|        Py_DECREF(name);
  ------------------
  |  |  430|      3|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|      3|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|      3|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1091|      3|    }
 1092|       |
 1093|       |    /* Check if loop ended because of exception in PyIter_Next */
 1094|  4.30k|    if (PyErr_Occurred()) {
  ------------------
  |  Branch (1094:9): [True: 0, False: 4.30k]
  ------------------
 1095|      0|        goto error;
 1096|      0|    }
 1097|       |
 1098|  4.30k|    Py_DECREF(itr);
  ------------------
  |  |  430|  4.30k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1099|  4.30k|    Py_DECREF(v_free);
  ------------------
  |  |  430|  4.30k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1100|  4.30k|    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|  4.30k|}
symtable.c:symtable_exit_block:
 1405|  4.30k|{
 1406|  4.30k|    Py_ssize_t size;
 1407|       |
 1408|  4.30k|    st->st_cur = NULL;
 1409|  4.30k|    size = PyList_GET_SIZE(st->st_stack);
  ------------------
  |  |   38|  4.30k|#define PyList_GET_SIZE(op) PyList_GET_SIZE(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1410|  4.30k|    if (size) {
  ------------------
  |  Branch (1410:9): [True: 4.30k, False: 0]
  ------------------
 1411|  4.30k|        if (PyList_SetSlice(st->st_stack, size - 1, size, NULL) < 0)
  ------------------
  |  Branch (1411:13): [True: 0, False: 4.30k]
  ------------------
 1412|      0|            return 0;
 1413|  4.30k|        if (--size)
  ------------------
  |  Branch (1413:13): [True: 4.04k, False: 264]
  ------------------
 1414|  4.04k|            st->st_cur = (PySTEntryObject *)PyList_GET_ITEM(st->st_stack, size - 1);
  ------------------
  |  |   40|  4.04k|#define PyList_GET_ITEM(op, index) (_PyList_CAST(op)->ob_item[(index)])
  |  |  ------------------
  |  |  |  |   26|  4.04k|    (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.04k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1415|  4.30k|    }
 1416|  4.30k|    return 1;
 1417|  4.30k|}
symtable.c:symtable_enter_block:
 1462|  2.44k|{
 1463|  2.44k|    PySTEntryObject *ste = ste_new(st, name, block, ast, loc);
 1464|  2.44k|    if (ste == NULL)
  ------------------
  |  Branch (1464:9): [True: 0, False: 2.44k]
  ------------------
 1465|      0|        return 0;
 1466|  2.44k|    int result = symtable_enter_existing_block(st, ste, /* add_to_children */true);
 1467|  2.44k|    Py_DECREF(ste);
  ------------------
  |  |  430|  2.44k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.44k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.44k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1468|  2.44k|    if (block == AnnotationBlock || block == TypeVariableBlock || block == TypeAliasBlock) {
  ------------------
  |  Branch (1468:9): [True: 1.86k, False: 576]
  |  Branch (1468:37): [True: 0, False: 576]
  |  Branch (1468:67): [True: 0, False: 576]
  ------------------
 1469|  1.86k|        _Py_DECLARE_STR(format, ".format");
 1470|       |        // We need to insert code that reads this "parameter" to the function.
 1471|  1.86k|        if (!symtable_add_def(st, &_Py_STR(format), DEF_PARAM, loc)) {
  ------------------
  |  |  917|  1.86k|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.86k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.86k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (!symtable_add_def(st, &_Py_STR(format), DEF_PARAM, loc)) {
  ------------------
  |  |  167|  1.86k|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
  |  Branch (1471:13): [True: 0, False: 1.86k]
  ------------------
 1472|      0|            return 0;
 1473|      0|        }
 1474|  1.86k|        if (!symtable_add_def(st, &_Py_STR(format), USE, loc)) {
  ------------------
  |  |  917|  1.86k|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.86k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.86k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (!symtable_add_def(st, &_Py_STR(format), USE, loc)) {
  ------------------
  |  |  169|  1.86k|#define USE (2<<3)               /* name is used */
  ------------------
  |  Branch (1474:13): [True: 0, False: 1.86k]
  ------------------
 1475|      0|            return 0;
 1476|      0|        }
 1477|  1.86k|    }
 1478|  2.44k|    return result;
 1479|  2.44k|}
symtable.c:ste_new:
   95|  4.30k|{
   96|  4.30k|    PySTEntryObject *ste = NULL;
   97|  4.30k|    PyObject *k = NULL;
   98|       |
   99|  4.30k|    k = PyLong_FromVoidPtr(key);
  100|  4.30k|    if (k == NULL)
  ------------------
  |  Branch (100:9): [True: 0, False: 4.30k]
  ------------------
  101|      0|        goto fail;
  102|  4.30k|    ste = PyObject_New(PySTEntryObject, &PySTEntry_Type);
  ------------------
  |  |  130|  4.30k|#define PyObject_New(type, typeobj) ((type *)_PyObject_New(typeobj))
  ------------------
  103|  4.30k|    if (ste == NULL) {
  ------------------
  |  Branch (103:9): [True: 0, False: 4.30k]
  ------------------
  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|  4.30k|    ste->ste_table = st;
  108|  4.30k|    ste->ste_id = k; /* ste owns reference to k */
  109|       |
  110|  4.30k|    ste->ste_name = Py_NewRef(name);
  ------------------
  |  |  550|  4.30k|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  4.30k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  4.30k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  111|  4.30k|    ste->ste_function_name = NULL;
  112|       |
  113|  4.30k|    ste->ste_symbols = NULL;
  114|  4.30k|    ste->ste_varnames = NULL;
  115|  4.30k|    ste->ste_children = NULL;
  116|       |
  117|  4.30k|    ste->ste_directives = NULL;
  118|  4.30k|    ste->ste_mangled_names = NULL;
  119|       |
  120|  4.30k|    ste->ste_type = block;
  121|  4.30k|    ste->ste_scope_info = NULL;
  122|       |
  123|  4.30k|    ste->ste_nested = 0;
  124|  4.30k|    ste->ste_varargs = 0;
  125|  4.30k|    ste->ste_varkeywords = 0;
  126|  4.30k|    ste->ste_annotations_used = 0;
  127|  4.30k|    ste->ste_loc = loc;
  128|       |
  129|  4.30k|    if (st->st_cur != NULL &&
  ------------------
  |  Branch (129:9): [True: 4.04k, False: 264]
  ------------------
  130|  4.04k|        (st->st_cur->ste_nested ||
  ------------------
  |  Branch (130:10): [True: 9, False: 4.03k]
  ------------------
  131|  4.03k|         _PyST_IsFunctionLike(st->st_cur)))
  ------------------
  |  Branch (131:10): [True: 826, False: 3.20k]
  ------------------
  132|    835|        ste->ste_nested = 1;
  133|  4.30k|    ste->ste_generator = 0;
  134|  4.30k|    ste->ste_coroutine = 0;
  135|  4.30k|    ste->ste_comprehension = NoComprehension;
  136|  4.30k|    ste->ste_returns_value = 0;
  137|  4.30k|    ste->ste_needs_class_closure = 0;
  138|  4.30k|    ste->ste_comp_inlined = 0;
  139|  4.30k|    ste->ste_comp_iter_target = 0;
  140|  4.30k|    ste->ste_can_see_class_scope = 0;
  141|  4.30k|    ste->ste_comp_iter_expr = 0;
  142|  4.30k|    ste->ste_needs_classdict = 0;
  143|  4.30k|    ste->ste_has_conditional_annotations = 0;
  144|  4.30k|    ste->ste_in_conditional_block = 0;
  145|  4.30k|    ste->ste_in_try_block = 0;
  146|  4.30k|    ste->ste_in_unevaluated_annotation = 0;
  147|  4.30k|    ste->ste_annotation_block = NULL;
  148|       |
  149|  4.30k|    ste->ste_has_docstring = 0;
  150|       |
  151|  4.30k|    ste->ste_method = 0;
  152|  4.30k|    if (st->st_cur != NULL &&
  ------------------
  |  Branch (152:9): [True: 4.04k, False: 264]
  ------------------
  153|  4.04k|        st->st_cur->ste_type == ClassBlock &&
  ------------------
  |  Branch (153:9): [True: 2.28k, False: 1.75k]
  ------------------
  154|  2.28k|        block == FunctionBlock) {
  ------------------
  |  Branch (154:9): [True: 1.14k, False: 1.14k]
  ------------------
  155|  1.14k|        ste->ste_method = 1;
  156|  1.14k|    }
  157|       |
  158|  4.30k|    ste->ste_symbols = PyDict_New();
  159|  4.30k|    ste->ste_varnames = PyList_New(0);
  160|  4.30k|    ste->ste_children = PyList_New(0);
  161|  4.30k|    if (ste->ste_symbols == NULL
  ------------------
  |  Branch (161:9): [True: 0, False: 4.30k]
  ------------------
  162|  4.30k|        || ste->ste_varnames == NULL
  ------------------
  |  Branch (162:12): [True: 0, False: 4.30k]
  ------------------
  163|  4.30k|        || ste->ste_children == NULL)
  ------------------
  |  Branch (163:12): [True: 0, False: 4.30k]
  ------------------
  164|      0|        goto fail;
  165|       |
  166|  4.30k|    if (PyDict_SetItem(st->st_blocks, ste->ste_id, (PyObject *)ste) < 0)
  ------------------
  |  Branch (166:9): [True: 0, False: 4.30k]
  ------------------
  167|      0|        goto fail;
  168|       |
  169|  4.30k|    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|  4.30k|}
symtable.c:symtable_enter_existing_block:
 1421|  4.30k|{
 1422|  4.30k|    if (PyList_Append(st->st_stack, (PyObject *)ste) < 0) {
  ------------------
  |  Branch (1422:9): [True: 0, False: 4.30k]
  ------------------
 1423|      0|        return 0;
 1424|      0|    }
 1425|  4.30k|    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|  4.30k|    if (prev) {
  ------------------
  |  Branch (1430:9): [True: 4.04k, False: 264]
  ------------------
 1431|  4.04k|        ste->ste_comp_iter_expr = prev->ste_comp_iter_expr;
 1432|  4.04k|    }
 1433|       |    /* No need to inherit ste_mangled_names in classes, where all names
 1434|       |     * are mangled. */
 1435|  4.30k|    if (prev && prev->ste_mangled_names != NULL && ste->ste_type != ClassBlock) {
  ------------------
  |  Branch (1435:9): [True: 4.04k, False: 264]
  |  Branch (1435:17): [True: 0, False: 4.04k]
  |  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|  4.30k|    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|  4.30k|    if (st->st_future->ff_features & CO_FUTURE_ANNOTATIONS && ste->ste_type == AnnotationBlock) {
  ------------------
  |  |  143|  8.61k|#define CO_FUTURE_ANNOTATIONS    0x1000000
  ------------------
  |  Branch (1444:9): [True: 0, False: 4.30k]
  |  Branch (1444:63): [True: 0, False: 0]
  ------------------
 1445|      0|        return 1;
 1446|      0|    }
 1447|       |
 1448|  4.30k|    if (ste->ste_type == ModuleBlock)
  ------------------
  |  Branch (1448:9): [True: 264, False: 4.04k]
  ------------------
 1449|    264|        st->st_global = st->st_cur->ste_symbols;
 1450|       |
 1451|  4.30k|    if (add_to_children && prev) {
  ------------------
  |  Branch (1451:9): [True: 4.30k, False: 4]
  |  Branch (1451:28): [True: 4.04k, False: 264]
  ------------------
 1452|  4.04k|        if (PyList_Append(prev->ste_children, (PyObject *)ste) < 0) {
  ------------------
  |  Branch (1452:13): [True: 0, False: 4.04k]
  ------------------
 1453|      0|            return 0;
 1454|      0|        }
 1455|  4.04k|    }
 1456|  4.30k|    return 1;
 1457|  4.30k|}
symtable.c:symtable_add_def:
 1657|  12.5k|{
 1658|  12.5k|    return symtable_add_def_ctx(st, name, flag, loc,
 1659|  12.5k|                                flag == USE ? Load : Store);
  ------------------
  |  |  169|  12.5k|#define USE (2<<3)               /* name is used */
  ------------------
  |  Branch (1659:33): [True: 3.13k, False: 9.39k]
  ------------------
 1660|  12.5k|}
symtable.c:symtable_add_def_ctx:
 1641|  36.5k|{
 1642|  36.5k|    int write_mask = DEF_PARAM | DEF_LOCAL | DEF_IMPORT;
  ------------------
  |  |  167|  36.5k|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
                  int write_mask = DEF_PARAM | DEF_LOCAL | DEF_IMPORT;
  ------------------
  |  |  166|  36.5k|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
                  int write_mask = DEF_PARAM | DEF_LOCAL | DEF_IMPORT;
  ------------------
  |  |  171|  36.5k|#define DEF_IMPORT (2<<6)        /* assignment occurred via import */
  ------------------
 1643|  36.5k|    if ((flag & write_mask) && !check_name(st, name, loc, ctx)) {
  ------------------
  |  Branch (1643:9): [True: 12.4k, False: 24.1k]
  |  Branch (1643:32): [True: 0, False: 12.4k]
  ------------------
 1644|      0|        return 0;
 1645|      0|    }
 1646|  36.5k|    if ((flag & DEF_TYPE_PARAM) && st->st_cur->ste_mangled_names != NULL) {
  ------------------
  |  |  174|  36.5k|#define DEF_TYPE_PARAM (2<<9)    /* this name is a type parameter */
  ------------------
  |  Branch (1646:9): [True: 0, False: 36.5k]
  |  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|  36.5k|    return symtable_add_def_helper(st, name, flag, st->st_cur, loc);
 1652|  36.5k|}
symtable.c:check_name:
 1597|  22.0k|{
 1598|  22.0k|    if (ctx == Store && _PyUnicode_EqualToASCIIString(name, "__debug__")) {
  ------------------
  |  Branch (1598:9): [True: 14.0k, False: 7.96k]
  |  Branch (1598:25): [True: 0, False: 14.0k]
  ------------------
 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|  22.0k|    if (ctx == Del && _PyUnicode_EqualToASCIIString(name, "__debug__")) {
  ------------------
  |  Branch (1603:9): [True: 15, False: 22.0k]
  |  Branch (1603:23): [True: 0, False: 15]
  ------------------
 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|  22.0k|    return 1;
 1609|  22.0k|}
symtable.c:symtable_add_def_helper:
 1504|  36.5k|{
 1505|  36.5k|    PyObject *o;
 1506|  36.5k|    PyObject *dict;
 1507|  36.5k|    long val;
 1508|  36.5k|    PyObject *mangled = _Py_MaybeMangle(st->st_private, st->st_cur, name);
 1509|       |
 1510|  36.5k|    if (!mangled)
  ------------------
  |  Branch (1510:9): [True: 0, False: 36.5k]
  ------------------
 1511|      0|        return 0;
 1512|  36.5k|    dict = ste->ste_symbols;
 1513|  36.5k|    if ((o = PyDict_GetItemWithError(dict, mangled))) {
  ------------------
  |  Branch (1513:9): [True: 20.1k, False: 16.3k]
  ------------------
 1514|  20.1k|        val = PyLong_AsLong(o);
 1515|  20.1k|        if (val == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1515:13): [True: 0, False: 20.1k]
  |  Branch (1515:26): [True: 0, False: 0]
  ------------------
 1516|      0|            goto error;
 1517|      0|        }
 1518|  20.1k|        if ((flag & DEF_PARAM) && (val & DEF_PARAM)) {
  ------------------
  |  |  167|  20.1k|#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: 20.1k]
  |  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|  20.1k|        if ((flag & DEF_TYPE_PARAM) && (val & DEF_TYPE_PARAM)) {
  ------------------
  |  |  174|  20.1k|#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: 20.1k]
  |  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|  20.1k|        val |= flag;
 1530|  20.1k|    }
 1531|  16.3k|    else if (PyErr_Occurred()) {
  ------------------
  |  Branch (1531:14): [True: 0, False: 16.3k]
  ------------------
 1532|      0|        goto error;
 1533|      0|    }
 1534|  16.3k|    else {
 1535|  16.3k|        val = flag;
 1536|  16.3k|    }
 1537|  36.5k|    if (ste->ste_comp_iter_target) {
  ------------------
  |  Branch (1537:9): [True: 95, False: 36.4k]
  ------------------
 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|     95|        if (val & (DEF_GLOBAL | DEF_NONLOCAL)) {
  ------------------
  |  |  165|     95|#define DEF_GLOBAL 1             /* global stmt */
  ------------------
                      if (val & (DEF_GLOBAL | DEF_NONLOCAL)) {
  ------------------
  |  |  168|     95|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  ------------------
  |  Branch (1543:13): [True: 0, False: 95]
  ------------------
 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|     95|        val |= DEF_COMP_ITER;
  ------------------
  |  |  173|     95|#define DEF_COMP_ITER (2<<8)     /* this name is a comprehension iteration variable */
  ------------------
 1550|     95|    }
 1551|  36.5k|    o = PyLong_FromLong(val);
 1552|  36.5k|    if (o == NULL)
  ------------------
  |  Branch (1552:9): [True: 0, False: 36.5k]
  ------------------
 1553|      0|        goto error;
 1554|  36.5k|    if (PyDict_SetItem(dict, mangled, o) < 0) {
  ------------------
  |  Branch (1554:9): [True: 0, False: 36.5k]
  ------------------
 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|  36.5k|    Py_DECREF(o);
  ------------------
  |  |  430|  36.5k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  36.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  36.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1559|       |
 1560|  36.5k|    if (flag & DEF_PARAM) {
  ------------------
  |  |  167|  36.5k|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
  |  Branch (1560:9): [True: 6.78k, False: 29.7k]
  ------------------
 1561|  6.78k|        if (PyList_Append(ste->ste_varnames, mangled) < 0)
  ------------------
  |  Branch (1561:13): [True: 0, False: 6.78k]
  ------------------
 1562|      0|            goto error;
 1563|  29.7k|    } else if (flag & DEF_GLOBAL) {
  ------------------
  |  |  165|  29.7k|#define DEF_GLOBAL 1             /* global stmt */
  ------------------
  |  Branch (1563:16): [True: 10, False: 29.7k]
  ------------------
 1564|       |        /* XXX need to update DEF_GLOBAL for other flags too;
 1565|       |           perhaps only DEF_FREE_GLOBAL */
 1566|     10|        val = 0;
 1567|     10|        if ((o = PyDict_GetItemWithError(st->st_global, mangled))) {
  ------------------
  |  Branch (1567:13): [True: 6, False: 4]
  ------------------
 1568|      6|            val = PyLong_AsLong(o);
 1569|      6|            if (val == -1 && PyErr_Occurred()) {
  ------------------
  |  Branch (1569:17): [True: 0, False: 6]
  |  Branch (1569:30): [True: 0, False: 0]
  ------------------
 1570|      0|                goto error;
 1571|      0|            }
 1572|      6|        }
 1573|      4|        else if (PyErr_Occurred()) {
  ------------------
  |  Branch (1573:18): [True: 0, False: 4]
  ------------------
 1574|      0|            goto error;
 1575|      0|        }
 1576|     10|        val |= flag;
 1577|     10|        o = PyLong_FromLong(val);
 1578|     10|        if (o == NULL)
  ------------------
  |  Branch (1578:13): [True: 0, False: 10]
  ------------------
 1579|      0|            goto error;
 1580|     10|        if (PyDict_SetItem(st->st_global, mangled, o) < 0) {
  ------------------
  |  Branch (1580:13): [True: 0, False: 10]
  ------------------
 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|     10|        Py_DECREF(o);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1585|     10|    }
 1586|  36.5k|    Py_DECREF(mangled);
  ------------------
  |  |  430|  36.5k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  36.5k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  36.5k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1587|  36.5k|    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|  36.5k|}
symtable.c:symtable_visit_stmt:
 1891|  14.0k|{
 1892|  14.0k|    ENTER_RECURSIVE();
  ------------------
  |  | 1780|  14.0k|#define ENTER_RECURSIVE() \
  |  | 1781|  14.0k|if (Py_EnterRecursiveCall(" during compilation")) { \
  |  |  ------------------
  |  |  |  Branch (1781:5): [True: 0, False: 14.0k]
  |  |  ------------------
  |  | 1782|      0|    return 0; \
  |  | 1783|      0|}
  ------------------
 1893|  14.0k|    switch (s->kind) {
  ------------------
  |  Branch (1893:13): [True: 14.0k, False: 0]
  ------------------
 1894|  1.72k|    case FunctionDef_kind: {
  ------------------
  |  Branch (1894:5): [True: 1.72k, False: 12.2k]
  ------------------
 1895|  1.72k|        if (!symtable_add_def(st, s->v.FunctionDef.name, DEF_LOCAL, LOCATION(s)))
  ------------------
  |  |  166|  1.72k|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
                      if (!symtable_add_def(st, s->v.FunctionDef.name, DEF_LOCAL, LOCATION(s)))
  ------------------
  |  |   84|  1.72k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  1.72k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  1.72k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  1.72k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  1.72k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  1.72k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (1895:13): [True: 0, False: 1.72k]
  ------------------
 1896|      0|            return 0;
 1897|  1.72k|        if (s->v.FunctionDef.args->defaults)
  ------------------
  |  Branch (1897:13): [True: 1.72k, False: 0]
  ------------------
 1898|  1.72k|            VISIT_SEQ(st, expr, s->v.FunctionDef.args->defaults);
  ------------------
  |  | 1733|  1.72k|    do { \
  |  | 1734|  1.72k|        Py_ssize_t i; \
  |  | 1735|  1.72k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|  2.17k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  2.17k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  4.35k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 2.17k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 452, False: 1.72k]
  |  |  ------------------
  |  | 1737|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|    452|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 452]
  |  |  ------------------
  |  | 1739|    452|                return 0;                 \
  |  | 1740|    452|        } \
  |  | 1741|  1.72k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 1.72k]
  |  |  ------------------
  ------------------
 1899|  1.72k|        if (s->v.FunctionDef.args->kw_defaults)
  ------------------
  |  Branch (1899:13): [True: 1.72k, False: 0]
  ------------------
 1900|  1.72k|            VISIT_SEQ_WITH_NULL(st, expr, s->v.FunctionDef.args->kw_defaults);
  ------------------
  |  | 1755|  1.72k|    do { \
  |  | 1756|  1.72k|        int i = 0; \
  |  | 1757|  1.72k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1758|  1.95k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  1.95k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  3.90k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 1.95k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1758:21): [True: 227, False: 1.72k]
  |  |  ------------------
  |  | 1759|    227|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    227|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    227|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1760|    227|            if (!elt) continue; /* can be NULL */ \
  |  |  ------------------
  |  |  |  Branch (1760:17): [True: 3, False: 224]
  |  |  ------------------
  |  | 1761|    227|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1761:17): [True: 0, False: 224]
  |  |  ------------------
  |  | 1762|    224|                return 0;             \
  |  | 1763|    224|        } \
  |  | 1764|  1.72k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1764:13): [Folded, False: 1.72k]
  |  |  ------------------
  ------------------
 1901|  1.72k|        if (s->v.FunctionDef.decorator_list)
  ------------------
  |  Branch (1901:13): [True: 89, False: 1.63k]
  ------------------
 1902|     89|            VISIT_SEQ(st, expr, s->v.FunctionDef.decorator_list);
  ------------------
  |  | 1733|     89|    do { \
  |  | 1734|     89|        Py_ssize_t i; \
  |  | 1735|     89|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|    178|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    178|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    356|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 178]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 89, False: 89]
  |  |  ------------------
  |  | 1737|     89|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|     89|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     89|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|     89|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 89]
  |  |  ------------------
  |  | 1739|     89|                return 0;                 \
  |  | 1740|     89|        } \
  |  | 1741|     89|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 89]
  |  |  ------------------
  ------------------
 1903|  1.72k|        if (asdl_seq_LEN(s->v.FunctionDef.type_params) > 0) {
  ------------------
  |  |   83|  1.72k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  3.45k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 1.72k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1903:13): [True: 0, False: 1.72k]
  ------------------
 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|  1.72k|        PySTEntryObject *new_ste = ste_new(st, s->v.FunctionDef.name, FunctionBlock, (void *)s,
 1917|  1.72k|                                           LOCATION(s));
  ------------------
  |  |   84|  1.72k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  1.72k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  1.72k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  1.72k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  1.72k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  1.72k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 1918|  1.72k|        if (!new_ste) {
  ------------------
  |  Branch (1918:13): [True: 0, False: 1.72k]
  ------------------
 1919|      0|            return 0;
 1920|      0|        }
 1921|       |
 1922|  1.72k|        if (_PyAST_GetDocString(s->v.FunctionDef.body)) {
  ------------------
  |  Branch (1922:13): [True: 434, False: 1.29k]
  ------------------
 1923|    434|            new_ste->ste_has_docstring = 1;
 1924|    434|        }
 1925|       |
 1926|  1.72k|        if (!symtable_visit_annotations(st, s, s->v.FunctionDef.args,
  ------------------
  |  Branch (1926:13): [True: 0, False: 1.72k]
  ------------------
 1927|  1.72k|                                        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|  1.72k|        if (!symtable_enter_existing_block(st, new_ste, /* add_to_children */true)) {
  ------------------
  |  Branch (1931:13): [True: 0, False: 1.72k]
  ------------------
 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|  1.72k|        Py_DECREF(new_ste);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1936|  1.72k|        VISIT(st, arguments, s->v.FunctionDef.args);
  ------------------
  |  | 1726|  1.72k|    do { \
  |  | 1727|  1.72k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 1.72k]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|  1.72k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 1.72k]
  |  |  ------------------
  ------------------
 1937|  1.72k|        VISIT_SEQ(st, stmt, s->v.FunctionDef.body);
  ------------------
  |  | 1733|  1.72k|    do { \
  |  | 1734|  1.72k|        Py_ssize_t i; \
  |  | 1735|  1.72k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|  7.07k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  7.07k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  14.1k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 7.07k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 5.35k, False: 1.72k]
  |  |  ------------------
  |  | 1737|  5.35k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  5.35k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  5.35k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|  5.35k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 5.35k]
  |  |  ------------------
  |  | 1739|  5.35k|                return 0;                 \
  |  | 1740|  5.35k|        } \
  |  | 1741|  1.72k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 1.72k]
  |  |  ------------------
  ------------------
 1938|  1.72k|        if (!symtable_exit_block(st))
  ------------------
  |  Branch (1938:13): [True: 0, False: 1.72k]
  ------------------
 1939|      0|            return 0;
 1940|  1.72k|        if (asdl_seq_LEN(s->v.FunctionDef.type_params) > 0) {
  ------------------
  |  |   83|  1.72k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  3.45k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 1.72k, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1940:13): [True: 0, False: 1.72k]
  ------------------
 1941|      0|            if (!symtable_exit_block(st))
  ------------------
  |  Branch (1941:17): [True: 0, False: 0]
  ------------------
 1942|      0|                return 0;
 1943|      0|        }
 1944|  1.72k|        break;
 1945|  1.72k|    }
 1946|  1.72k|    case ClassDef_kind: {
  ------------------
  |  Branch (1946:5): [True: 149, False: 13.8k]
  ------------------
 1947|    149|        PyObject *tmp;
 1948|    149|        if (!symtable_add_def(st, s->v.ClassDef.name, DEF_LOCAL, LOCATION(s)))
  ------------------
  |  |  166|    149|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
                      if (!symtable_add_def(st, s->v.ClassDef.name, DEF_LOCAL, LOCATION(s)))
  ------------------
  |  |   84|    149|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    149|    (_Py_SourceLocation){ \
  |  |  |  |   55|    149|               .lineno = (n)->lineno, \
  |  |  |  |   56|    149|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    149|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    149|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (1948:13): [True: 0, False: 149]
  ------------------
 1949|      0|            return 0;
 1950|    149|        if (s->v.ClassDef.decorator_list)
  ------------------
  |  Branch (1950:13): [True: 2, False: 147]
  ------------------
 1951|      2|            VISIT_SEQ(st, expr, s->v.ClassDef.decorator_list);
  ------------------
  |  | 1733|      2|    do { \
  |  | 1734|      2|        Py_ssize_t i; \
  |  | 1735|      2|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|      4|        for (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 (1736:21): [True: 2, False: 2]
  |  |  ------------------
  |  | 1737|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|      2|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 2]
  |  |  ------------------
  |  | 1739|      2|                return 0;                 \
  |  | 1740|      2|        } \
  |  | 1741|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 1952|    149|        tmp = st->st_private;
 1953|    149|        if (asdl_seq_LEN(s->v.ClassDef.type_params) > 0) {
  ------------------
  |  |   83|    149|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    298|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 149, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1953:13): [True: 0, False: 149]
  ------------------
 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|    149|        VISIT_SEQ(st, expr, s->v.ClassDef.bases);
  ------------------
  |  | 1733|    149|    do { \
  |  | 1734|    149|        Py_ssize_t i; \
  |  | 1735|    149|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|    289|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    289|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    578|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 27, False: 262]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 140, False: 149]
  |  |  ------------------
  |  | 1737|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|    140|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 140]
  |  |  ------------------
  |  | 1739|    140|                return 0;                 \
  |  | 1740|    140|        } \
  |  | 1741|    149|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 149]
  |  |  ------------------
  ------------------
 1968|    149|        if (!check_keywords(st, s->v.ClassDef.keywords)) {
  ------------------
  |  Branch (1968:13): [True: 0, False: 149]
  ------------------
 1969|      0|            return 0;
 1970|      0|        }
 1971|    149|        VISIT_SEQ(st, keyword, s->v.ClassDef.keywords);
  ------------------
  |  | 1733|    149|    do { \
  |  | 1734|    149|        Py_ssize_t i; \
  |  | 1735|    149|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|    149|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    149|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    298|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 149, False: 0]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 0, False: 149]
  |  |  ------------------
  |  | 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|    149|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 149]
  |  |  ------------------
  ------------------
 1972|    149|        if (!symtable_enter_block(st, s->v.ClassDef.name, ClassBlock,
  ------------------
  |  Branch (1972:13): [True: 0, False: 149]
  ------------------
 1973|    149|                                  (void *)s, LOCATION(s))) {
  ------------------
  |  |   84|    149|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    149|    (_Py_SourceLocation){ \
  |  |  |  |   55|    149|               .lineno = (n)->lineno, \
  |  |  |  |   56|    149|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    149|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    149|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 1974|      0|            return 0;
 1975|      0|        }
 1976|    149|        st->st_private = s->v.ClassDef.name;
 1977|    149|        if (asdl_seq_LEN(s->v.ClassDef.type_params) > 0) {
  ------------------
  |  |   83|    149|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    298|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 149, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1977:13): [True: 0, False: 149]
  ------------------
 1978|      0|            if (!symtable_add_def(st, &_Py_ID(__type_params__),
  ------------------
  |  |  915|      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),
  ------------------
  |  |  917|      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|    149|        if (_PyAST_GetDocString(s->v.ClassDef.body)) {
  ------------------
  |  Branch (1989:13): [True: 99, False: 50]
  ------------------
 1990|     99|            st->st_cur->ste_has_docstring = 1;
 1991|     99|        }
 1992|       |
 1993|    149|        VISIT_SEQ(st, stmt, s->v.ClassDef.body);
  ------------------
  |  | 1733|    149|    do { \
  |  | 1734|    149|        Py_ssize_t i; \
  |  | 1735|    149|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|  1.56k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  1.56k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  3.12k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 1.56k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 1.41k, False: 149]
  |  |  ------------------
  |  | 1737|  1.41k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  1.41k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.41k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|  1.41k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 1.41k]
  |  |  ------------------
  |  | 1739|  1.41k|                return 0;                 \
  |  | 1740|  1.41k|        } \
  |  | 1741|    149|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 149]
  |  |  ------------------
  ------------------
 1994|    149|        if (!symtable_exit_block(st))
  ------------------
  |  Branch (1994:13): [True: 0, False: 149]
  ------------------
 1995|      0|            return 0;
 1996|    149|        if (asdl_seq_LEN(s->v.ClassDef.type_params) > 0) {
  ------------------
  |  |   83|    149|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    298|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 149, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1996:13): [True: 0, False: 149]
  ------------------
 1997|      0|            if (!symtable_exit_block(st))
  ------------------
  |  Branch (1997:17): [True: 0, False: 0]
  ------------------
 1998|      0|                return 0;
 1999|      0|        }
 2000|    149|        st->st_private = tmp;
 2001|    149|        break;
 2002|    149|    }
 2003|      0|    case TypeAlias_kind: {
  ------------------
  |  Branch (2003:5): [True: 0, False: 14.0k]
  ------------------
 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))) {
  ------------------
  |  |  915|      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|  1.49k|    case Return_kind:
  ------------------
  |  Branch (2036:5): [True: 1.49k, False: 12.5k]
  ------------------
 2037|  1.49k|        if (s->v.Return.value) {
  ------------------
  |  Branch (2037:13): [True: 1.30k, False: 191]
  ------------------
 2038|  1.30k|            VISIT(st, expr, s->v.Return.value);
  ------------------
  |  | 1726|  1.30k|    do { \
  |  | 1727|  1.30k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 1.30k]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|  1.30k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 1.30k]
  |  |  ------------------
  ------------------
 2039|  1.30k|            st->st_cur->ste_returns_value = 1;
 2040|  1.30k|        }
 2041|  1.49k|        break;
 2042|  1.49k|    case Delete_kind:
  ------------------
  |  Branch (2042:5): [True: 40, False: 13.9k]
  ------------------
 2043|     40|        VISIT_SEQ(st, expr, s->v.Delete.targets);
  ------------------
  |  | 1733|     40|    do { \
  |  | 1734|     40|        Py_ssize_t i; \
  |  | 1735|     40|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|     83|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|     83|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    166|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 83]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 43, False: 40]
  |  |  ------------------
  |  | 1737|     43|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|     43|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     43|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|     43|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 43]
  |  |  ------------------
  |  | 1739|     43|                return 0;                 \
  |  | 1740|     43|        } \
  |  | 1741|     40|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 40]
  |  |  ------------------
  ------------------
 2044|     40|        break;
 2045|  3.45k|    case Assign_kind:
  ------------------
  |  Branch (2045:5): [True: 3.45k, False: 10.5k]
  ------------------
 2046|  3.45k|        VISIT_SEQ(st, expr, s->v.Assign.targets);
  ------------------
  |  | 1733|  3.45k|    do { \
  |  | 1734|  3.45k|        Py_ssize_t i; \
  |  | 1735|  3.45k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|  6.94k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  6.94k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  13.8k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 6.94k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 3.49k, False: 3.45k]
  |  |  ------------------
  |  | 1737|  3.49k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  3.49k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  3.49k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|  3.49k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 3.49k]
  |  |  ------------------
  |  | 1739|  3.49k|                return 0;                 \
  |  | 1740|  3.49k|        } \
  |  | 1741|  3.45k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 3.45k]
  |  |  ------------------
  ------------------
 2047|  3.45k|        VISIT(st, expr, s->v.Assign.value);
  ------------------
  |  | 1726|  3.45k|    do { \
  |  | 1727|  3.45k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 3.45k]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|  3.45k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 3.45k]
  |  |  ------------------
  ------------------
 2048|  3.45k|        break;
 2049|  3.45k|    case AnnAssign_kind:
  ------------------
  |  Branch (2049:5): [True: 10, False: 13.9k]
  ------------------
 2050|     10|        st->st_cur->ste_annotations_used = 1;
 2051|     10|        if (s->v.AnnAssign.target->kind == Name_kind) {
  ------------------
  |  Branch (2051:13): [True: 8, False: 2]
  ------------------
 2052|      8|            expr_ty e_name = s->v.AnnAssign.target;
 2053|      8|            long cur = symtable_lookup(st, e_name->v.Name.id);
 2054|      8|            if (cur < 0) {
  ------------------
  |  Branch (2054:17): [True: 0, False: 8]
  ------------------
 2055|      0|                return 0;
 2056|      0|            }
 2057|      8|            if ((cur & (DEF_GLOBAL | DEF_NONLOCAL))
  ------------------
  |  |  165|      8|#define DEF_GLOBAL 1             /* global stmt */
  ------------------
                          if ((cur & (DEF_GLOBAL | DEF_NONLOCAL))
  ------------------
  |  |  168|      8|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  ------------------
  |  Branch (2057:17): [True: 0, False: 8]
  ------------------
 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|      8|            if (s->v.AnnAssign.simple &&
  ------------------
  |  Branch (2066:17): [True: 8, False: 0]
  ------------------
 2067|      8|                !symtable_add_def(st, e_name->v.Name.id,
  ------------------
  |  Branch (2067:17): [True: 0, False: 8]
  ------------------
 2068|      8|                                  DEF_ANNOT | DEF_LOCAL, LOCATION(e_name))) {
  ------------------
  |  |  172|      8|#define DEF_ANNOT (2<<7)         /* this name is annotated */
  ------------------
                                                DEF_ANNOT | DEF_LOCAL, LOCATION(e_name))) {
  ------------------
  |  |  166|      8|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
                                                DEF_ANNOT | DEF_LOCAL, LOCATION(e_name))) {
  ------------------
  |  |   84|      8|#define LOCATION(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 }
  |  |  ------------------
  ------------------
 2069|      0|                return 0;
 2070|      0|            }
 2071|      8|            else {
 2072|      8|                if (s->v.AnnAssign.value
  ------------------
  |  Branch (2072:21): [True: 4, False: 4]
  ------------------
 2073|      4|                    && !symtable_add_def(st, e_name->v.Name.id, DEF_LOCAL, LOCATION(e_name))) {
  ------------------
  |  |  166|      4|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
                                  && !symtable_add_def(st, e_name->v.Name.id, DEF_LOCAL, LOCATION(e_name))) {
  ------------------
  |  |   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 (2073:24): [True: 0, False: 4]
  ------------------
 2074|      0|                    return 0;
 2075|      0|                }
 2076|      8|            }
 2077|      8|        }
 2078|      2|        else {
 2079|      2|            VISIT(st, expr, s->v.AnnAssign.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]
  |  |  ------------------
  ------------------
 2080|      2|        }
 2081|     10|        if (!symtable_visit_annotation(st, s->v.AnnAssign.annotation,
  ------------------
  |  Branch (2081:13): [True: 0, False: 10]
  ------------------
 2082|     10|                                       (void *)((uintptr_t)st->st_cur->ste_id + 1))) {
 2083|      0|            return 0;
 2084|      0|        }
 2085|       |
 2086|     10|        if (s->v.AnnAssign.value) {
  ------------------
  |  Branch (2086:13): [True: 6, False: 4]
  ------------------
 2087|      6|            VISIT(st, expr, s->v.AnnAssign.value);
  ------------------
  |  | 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]
  |  |  ------------------
  ------------------
 2088|      6|        }
 2089|     10|        break;
 2090|    172|    case AugAssign_kind: {
  ------------------
  |  Branch (2090:5): [True: 172, False: 13.8k]
  ------------------
 2091|    172|        VISIT(st, expr, s->v.AugAssign.target);
  ------------------
  |  | 1726|    172|    do { \
  |  | 1727|    172|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 172]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|    172|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 172]
  |  |  ------------------
  ------------------
 2092|    172|        VISIT(st, expr, s->v.AugAssign.value);
  ------------------
  |  | 1726|    172|    do { \
  |  | 1727|    172|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 172]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|    172|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 172]
  |  |  ------------------
  ------------------
 2093|    172|        break;
 2094|    172|    }
 2095|    192|    case For_kind: {
  ------------------
  |  Branch (2095:5): [True: 192, False: 13.8k]
  ------------------
 2096|    192|        VISIT(st, expr, s->v.For.target);
  ------------------
  |  | 1726|    192|    do { \
  |  | 1727|    192|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 192]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|    192|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 192]
  |  |  ------------------
  ------------------
 2097|    192|        VISIT(st, expr, s->v.For.iter);
  ------------------
  |  | 1726|    192|    do { \
  |  | 1727|    192|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 192]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|    192|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 192]
  |  |  ------------------
  ------------------
 2098|    192|        ENTER_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1767|    192|    int in_conditional_block = (ST)->st_cur->ste_in_conditional_block; \
  |  | 1768|    192|    (ST)->st_cur->ste_in_conditional_block = 1;
  ------------------
 2099|    192|        VISIT_SEQ(st, stmt, s->v.For.body);
  ------------------
  |  | 1733|    192|    do { \
  |  | 1734|    192|        Py_ssize_t i; \
  |  | 1735|    192|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|    596|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    596|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.19k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 596]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 404, False: 192]
  |  |  ------------------
  |  | 1737|    404|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    404|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    404|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|    404|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 404]
  |  |  ------------------
  |  | 1739|    404|                return 0;                 \
  |  | 1740|    404|        } \
  |  | 1741|    192|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 192]
  |  |  ------------------
  ------------------
 2100|    192|        if (s->v.For.orelse)
  ------------------
  |  Branch (2100:13): [True: 3, False: 189]
  ------------------
 2101|      3|            VISIT_SEQ(st, stmt, s->v.For.orelse);
  ------------------
  |  | 1733|      3|    do { \
  |  | 1734|      3|        Py_ssize_t i; \
  |  | 1735|      3|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|      6|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      6|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     12|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 6]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 3, False: 3]
  |  |  ------------------
  |  | 1737|      3|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      3|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      3|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|      3|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 3]
  |  |  ------------------
  |  | 1739|      3|                return 0;                 \
  |  | 1740|      3|        } \
  |  | 1741|      3|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 3]
  |  |  ------------------
  ------------------
 2102|    192|        LEAVE_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1771|    192|    (ST)->st_cur->ste_in_conditional_block = in_conditional_block;
  ------------------
 2103|    192|        break;
 2104|    192|    }
 2105|     72|    case While_kind: {
  ------------------
  |  Branch (2105:5): [True: 72, False: 13.9k]
  ------------------
 2106|     72|        VISIT(st, expr, s->v.While.test);
  ------------------
  |  | 1726|     72|    do { \
  |  | 1727|     72|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 72]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|     72|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 72]
  |  |  ------------------
  ------------------
 2107|     72|        ENTER_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1767|     72|    int in_conditional_block = (ST)->st_cur->ste_in_conditional_block; \
  |  | 1768|     72|    (ST)->st_cur->ste_in_conditional_block = 1;
  ------------------
 2108|     72|        VISIT_SEQ(st, stmt, s->v.While.body);
  ------------------
  |  | 1733|     72|    do { \
  |  | 1734|     72|        Py_ssize_t i; \
  |  | 1735|     72|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|    267|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    267|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    534|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 267]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 195, False: 72]
  |  |  ------------------
  |  | 1737|    195|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    195|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    195|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|    195|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 195]
  |  |  ------------------
  |  | 1739|    195|                return 0;                 \
  |  | 1740|    195|        } \
  |  | 1741|     72|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 72]
  |  |  ------------------
  ------------------
 2109|     72|        if (s->v.While.orelse)
  ------------------
  |  Branch (2109:13): [True: 1, False: 71]
  ------------------
 2110|      1|            VISIT_SEQ(st, stmt, s->v.While.orelse);
  ------------------
  |  | 1733|      1|    do { \
  |  | 1734|      1|        Py_ssize_t i; \
  |  | 1735|      1|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|      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: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 1, False: 1]
  |  |  ------------------
  |  | 1737|      1|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      1|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      1|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|      1|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 1]
  |  |  ------------------
  |  | 1739|      1|                return 0;                 \
  |  | 1740|      1|        } \
  |  | 1741|      1|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 1]
  |  |  ------------------
  ------------------
 2111|     72|        LEAVE_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1771|     72|    (ST)->st_cur->ste_in_conditional_block = in_conditional_block;
  ------------------
 2112|     72|        break;
 2113|     72|    }
 2114|  2.21k|    case If_kind: {
  ------------------
  |  Branch (2114:5): [True: 2.21k, False: 11.7k]
  ------------------
 2115|       |        /* XXX if 0: and lookup_yield() hacks */
 2116|  2.21k|        VISIT(st, expr, s->v.If.test);
  ------------------
  |  | 1726|  2.21k|    do { \
  |  | 1727|  2.21k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 2.21k]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|  2.21k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 2.21k]
  |  |  ------------------
  ------------------
 2117|  2.21k|        ENTER_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1767|  2.21k|    int in_conditional_block = (ST)->st_cur->ste_in_conditional_block; \
  |  | 1768|  2.21k|    (ST)->st_cur->ste_in_conditional_block = 1;
  ------------------
 2118|  2.21k|        VISIT_SEQ(st, stmt, s->v.If.body);
  ------------------
  |  | 1733|  2.21k|    do { \
  |  | 1734|  2.21k|        Py_ssize_t i; \
  |  | 1735|  2.21k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|  5.28k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  5.28k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  10.5k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 5.28k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 3.06k, False: 2.21k]
  |  |  ------------------
  |  | 1737|  3.06k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  3.06k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  3.06k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|  3.06k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 3.06k]
  |  |  ------------------
  |  | 1739|  3.06k|                return 0;                 \
  |  | 1740|  3.06k|        } \
  |  | 1741|  2.21k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 2.21k]
  |  |  ------------------
  ------------------
 2119|  2.21k|        if (s->v.If.orelse)
  ------------------
  |  Branch (2119:13): [True: 495, False: 1.72k]
  ------------------
 2120|    495|            VISIT_SEQ(st, stmt, s->v.If.orelse);
  ------------------
  |  | 1733|    495|    do { \
  |  | 1734|    495|        Py_ssize_t i; \
  |  | 1735|    495|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|  1.10k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  1.10k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  2.21k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 1.10k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 614, False: 495]
  |  |  ------------------
  |  | 1737|    614|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    614|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    614|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|    614|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 614]
  |  |  ------------------
  |  | 1739|    614|                return 0;                 \
  |  | 1740|    614|        } \
  |  | 1741|    495|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 495]
  |  |  ------------------
  ------------------
 2121|  2.21k|        LEAVE_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1771|  2.21k|    (ST)->st_cur->ste_in_conditional_block = in_conditional_block;
  ------------------
 2122|  2.21k|        break;
 2123|  2.21k|    }
 2124|      1|    case Match_kind: {
  ------------------
  |  Branch (2124:5): [True: 1, False: 14.0k]
  ------------------
 2125|      1|        VISIT(st, expr, s->v.Match.subject);
  ------------------
  |  | 1726|      1|    do { \
  |  | 1727|      1|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 1]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|      1|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 1]
  |  |  ------------------
  ------------------
 2126|      1|        ENTER_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1767|      1|    int in_conditional_block = (ST)->st_cur->ste_in_conditional_block; \
  |  | 1768|      1|    (ST)->st_cur->ste_in_conditional_block = 1;
  ------------------
 2127|      1|        VISIT_SEQ(st, match_case, s->v.Match.cases);
  ------------------
  |  | 1733|      1|    do { \
  |  | 1734|      1|        Py_ssize_t i; \
  |  | 1735|      1|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|      5|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      5|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     10|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 5]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 4, False: 1]
  |  |  ------------------
  |  | 1737|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|      4|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 4]
  |  |  ------------------
  |  | 1739|      4|                return 0;                 \
  |  | 1740|      4|        } \
  |  | 1741|      1|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 1]
  |  |  ------------------
  ------------------
 2128|      1|        LEAVE_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1771|      1|    (ST)->st_cur->ste_in_conditional_block = in_conditional_block;
  ------------------
 2129|      1|        break;
 2130|      1|    }
 2131|    606|    case Raise_kind:
  ------------------
  |  Branch (2131:5): [True: 606, False: 13.3k]
  ------------------
 2132|    606|        if (s->v.Raise.exc) {
  ------------------
  |  Branch (2132:13): [True: 523, False: 83]
  ------------------
 2133|    523|            VISIT(st, expr, s->v.Raise.exc);
  ------------------
  |  | 1726|    523|    do { \
  |  | 1727|    523|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 523]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|    523|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 523]
  |  |  ------------------
  ------------------
 2134|    523|            if (s->v.Raise.cause) {
  ------------------
  |  Branch (2134:17): [True: 20, False: 503]
  ------------------
 2135|     20|                VISIT(st, expr, s->v.Raise.cause);
  ------------------
  |  | 1726|     20|    do { \
  |  | 1727|     20|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 20]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|     20|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 20]
  |  |  ------------------
  ------------------
 2136|     20|            }
 2137|    523|        }
 2138|    606|        break;
 2139|    606|    case Try_kind: {
  ------------------
  |  Branch (2139:5): [True: 303, False: 13.7k]
  ------------------
 2140|    303|        ENTER_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1767|    303|    int in_conditional_block = (ST)->st_cur->ste_in_conditional_block; \
  |  | 1768|    303|    (ST)->st_cur->ste_in_conditional_block = 1;
  ------------------
 2141|    303|        ENTER_TRY_BLOCK(st);
  ------------------
  |  | 1774|    303|    int in_try_block = (ST)->st_cur->ste_in_try_block; \
  |  | 1775|    303|    (ST)->st_cur->ste_in_try_block = 1;
  ------------------
 2142|    303|        VISIT_SEQ(st, stmt, s->v.Try.body);
  ------------------
  |  | 1733|    303|    do { \
  |  | 1734|    303|        Py_ssize_t i; \
  |  | 1735|    303|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|    735|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    735|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.47k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 735]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 432, False: 303]
  |  |  ------------------
  |  | 1737|    432|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    432|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    432|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|    432|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 432]
  |  |  ------------------
  |  | 1739|    432|                return 0;                 \
  |  | 1740|    432|        } \
  |  | 1741|    303|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 303]
  |  |  ------------------
  ------------------
 2143|    303|        VISIT_SEQ(st, excepthandler, s->v.Try.handlers);
  ------------------
  |  | 1733|    303|    do { \
  |  | 1734|    303|        Py_ssize_t i; \
  |  | 1735|    303|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|    628|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    628|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.25k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 64, False: 564]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 325, False: 303]
  |  |  ------------------
  |  | 1737|    325|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    325|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    325|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|    325|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 325]
  |  |  ------------------
  |  | 1739|    325|                return 0;                 \
  |  | 1740|    325|        } \
  |  | 1741|    303|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 303]
  |  |  ------------------
  ------------------
 2144|    303|        VISIT_SEQ(st, stmt, s->v.Try.orelse);
  ------------------
  |  | 1733|    303|    do { \
  |  | 1734|    303|        Py_ssize_t i; \
  |  | 1735|    303|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|    392|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    392|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    784|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 255, False: 137]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 89, False: 303]
  |  |  ------------------
  |  | 1737|     89|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|     89|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     89|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|     89|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 89]
  |  |  ------------------
  |  | 1739|     89|                return 0;                 \
  |  | 1740|     89|        } \
  |  | 1741|    303|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 303]
  |  |  ------------------
  ------------------
 2145|    303|        VISIT_SEQ(st, stmt, s->v.Try.finalbody);
  ------------------
  |  | 1733|    303|    do { \
  |  | 1734|    303|        Py_ssize_t i; \
  |  | 1735|    303|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|    411|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    411|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    822|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 230, False: 181]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 108, False: 303]
  |  |  ------------------
  |  | 1737|    108|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    108|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    108|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|    108|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 108]
  |  |  ------------------
  |  | 1739|    108|                return 0;                 \
  |  | 1740|    108|        } \
  |  | 1741|    303|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 303]
  |  |  ------------------
  ------------------
 2146|    303|        LEAVE_TRY_BLOCK(st);
  ------------------
  |  | 1778|    303|    (ST)->st_cur->ste_in_try_block = in_try_block;
  ------------------
 2147|    303|        LEAVE_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1771|    303|    (ST)->st_cur->ste_in_conditional_block = in_conditional_block;
  ------------------
 2148|    303|        break;
 2149|    303|    }
 2150|      0|    case TryStar_kind: {
  ------------------
  |  Branch (2150:5): [True: 0, False: 14.0k]
  ------------------
 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|     49|    case Assert_kind:
  ------------------
  |  Branch (2161:5): [True: 49, False: 13.9k]
  ------------------
 2162|     49|        VISIT(st, expr, s->v.Assert.test);
  ------------------
  |  | 1726|     49|    do { \
  |  | 1727|     49|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 49]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|     49|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 49]
  |  |  ------------------
  ------------------
 2163|     49|        if (s->v.Assert.msg)
  ------------------
  |  Branch (2163:13): [True: 16, False: 33]
  ------------------
 2164|     16|            VISIT(st, expr, s->v.Assert.msg);
  ------------------
  |  | 1726|     16|    do { \
  |  | 1727|     16|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 16]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|     16|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 16]
  |  |  ------------------
  ------------------
 2165|     49|        break;
 2166|    185|    case Import_kind:
  ------------------
  |  Branch (2166:5): [True: 185, False: 13.8k]
  ------------------
 2167|    185|        if (s->v.Import.is_lazy) {
  ------------------
  |  Branch (2167:13): [True: 0, False: 185]
  ------------------
 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|    185|        VISIT_SEQ(st, alias, s->v.Import.names);
  ------------------
  |  | 1733|    185|    do { \
  |  | 1734|    185|        Py_ssize_t i; \
  |  | 1735|    185|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|    370|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    370|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    740|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 370]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 185, False: 185]
  |  |  ------------------
  |  | 1737|    185|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    185|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    185|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|    185|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 185]
  |  |  ------------------
  |  | 1739|    185|                return 0;                 \
  |  | 1740|    185|        } \
  |  | 1741|    185|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 185]
  |  |  ------------------
  ------------------
 2173|    185|        break;
 2174|    262|    case ImportFrom_kind:
  ------------------
  |  Branch (2174:5): [True: 262, False: 13.7k]
  ------------------
 2175|    262|        if (s->v.ImportFrom.is_lazy) {
  ------------------
  |  Branch (2175:13): [True: 2, False: 260]
  ------------------
 2176|      2|            if (!check_lazy_import_context(st, s, "from ... import")) {
  ------------------
  |  Branch (2176:17): [True: 0, False: 2]
  ------------------
 2177|      0|                return 0;
 2178|      0|            }
 2179|       |
 2180|       |            // Check for import *
 2181|      5|            for (Py_ssize_t i = 0; i < asdl_seq_LEN(s->v.ImportFrom.names);
  ------------------
  |  |   83|      5|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|     10|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 5]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2181:36): [True: 3, False: 2]
  ------------------
 2182|      3|                 i++) {
 2183|      3|                alias_ty alias = (alias_ty)asdl_seq_GET(
  ------------------
  |  |   82|      3|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|      3|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2184|      3|                    s->v.ImportFrom.names, i);
 2185|      3|                if (alias->name &&
  ------------------
  |  Branch (2185:21): [True: 3, False: 0]
  ------------------
 2186|      3|                        _PyUnicode_EqualToASCIIString(alias->name, "*")) {
  ------------------
  |  Branch (2186:25): [True: 0, False: 3]
  ------------------
 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|      3|            }
 2193|      2|        }
 2194|    262|        VISIT_SEQ(st, alias, s->v.ImportFrom.names);
  ------------------
  |  | 1733|    262|    do { \
  |  | 1734|    262|        Py_ssize_t i; \
  |  | 1735|    262|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|    575|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    575|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.15k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 575]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 313, False: 262]
  |  |  ------------------
  |  | 1737|    313|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    313|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    313|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|    313|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 313]
  |  |  ------------------
  |  | 1739|    313|                return 0;                 \
  |  | 1740|    313|        } \
  |  | 1741|    262|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 262]
  |  |  ------------------
  ------------------
 2195|    262|        if (!check_import_from(st, s)) {
  ------------------
  |  Branch (2195:13): [True: 0, False: 262]
  ------------------
 2196|      0|            return 0;
 2197|      0|        }
 2198|    262|        break;
 2199|    262|    case Global_kind: {
  ------------------
  |  Branch (2199:5): [True: 8, False: 13.9k]
  ------------------
 2200|      8|        Py_ssize_t i;
 2201|      8|        asdl_identifier_seq *seq = s->v.Global.names;
 2202|     18|        for (i = 0; i < asdl_seq_LEN(seq); i++) {
  ------------------
  |  |   83|     18|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|     36|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 18]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2202:21): [True: 10, False: 8]
  ------------------
 2203|     10|            identifier name = (identifier)asdl_seq_GET(seq, i);
  ------------------
  |  |   82|     10|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|     10|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2204|     10|            long cur = symtable_lookup(st, name);
 2205|     10|            if (cur < 0)
  ------------------
  |  Branch (2205:17): [True: 0, False: 10]
  ------------------
 2206|      0|                return 0;
 2207|     10|            if (cur & (DEF_PARAM | DEF_LOCAL | USE | DEF_ANNOT)) {
  ------------------
  |  |  167|     10|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
                          if (cur & (DEF_PARAM | DEF_LOCAL | USE | DEF_ANNOT)) {
  ------------------
  |  |  166|     10|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
                          if (cur & (DEF_PARAM | DEF_LOCAL | USE | DEF_ANNOT)) {
  ------------------
  |  |  169|     10|#define USE (2<<3)               /* name is used */
  ------------------
                          if (cur & (DEF_PARAM | DEF_LOCAL | USE | DEF_ANNOT)) {
  ------------------
  |  |  172|     10|#define DEF_ANNOT (2<<7)         /* this name is annotated */
  ------------------
  |  Branch (2207:17): [True: 0, False: 10]
  ------------------
 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|     10|            if (!symtable_add_def(st, name, DEF_GLOBAL, LOCATION(s))) {
  ------------------
  |  |  165|     10|#define DEF_GLOBAL 1             /* global stmt */
  ------------------
                          if (!symtable_add_def(st, name, DEF_GLOBAL, LOCATION(s))) {
  ------------------
  |  |   84|     10|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|     10|    (_Py_SourceLocation){ \
  |  |  |  |   55|     10|               .lineno = (n)->lineno, \
  |  |  |  |   56|     10|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|     10|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|     10|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2223:17): [True: 0, False: 10]
  ------------------
 2224|      0|                return 0;
 2225|      0|            }
 2226|     10|            if (!symtable_record_directive(st, name, LOCATION(s))) {
  ------------------
  |  |   84|     10|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|     10|    (_Py_SourceLocation){ \
  |  |  |  |   55|     10|               .lineno = (n)->lineno, \
  |  |  |  |   56|     10|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|     10|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|     10|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2226:17): [True: 0, False: 10]
  ------------------
 2227|      0|                return 0;
 2228|      0|            }
 2229|     10|        }
 2230|      8|        break;
 2231|      8|    }
 2232|      8|    case Nonlocal_kind: {
  ------------------
  |  Branch (2232:5): [True: 3, False: 14.0k]
  ------------------
 2233|      3|        Py_ssize_t i;
 2234|      3|        asdl_identifier_seq *seq = s->v.Nonlocal.names;
 2235|      7|        for (i = 0; i < asdl_seq_LEN(seq); i++) {
  ------------------
  |  |   83|      7|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|     14|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 7]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2235:21): [True: 4, False: 3]
  ------------------
 2236|      4|            identifier name = (identifier)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))
  |  |  ------------------
  ------------------
 2237|      4|            long cur = symtable_lookup(st, name);
 2238|      4|            if (cur < 0)
  ------------------
  |  Branch (2238:17): [True: 0, False: 4]
  ------------------
 2239|      0|                return 0;
 2240|      4|            if (cur & (DEF_PARAM | DEF_LOCAL | USE | DEF_ANNOT)) {
  ------------------
  |  |  167|      4|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
                          if (cur & (DEF_PARAM | DEF_LOCAL | USE | DEF_ANNOT)) {
  ------------------
  |  |  166|      4|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
                          if (cur & (DEF_PARAM | DEF_LOCAL | USE | DEF_ANNOT)) {
  ------------------
  |  |  169|      4|#define USE (2<<3)               /* name is used */
  ------------------
                          if (cur & (DEF_PARAM | DEF_LOCAL | USE | DEF_ANNOT)) {
  ------------------
  |  |  172|      4|#define DEF_ANNOT (2<<7)         /* this name is annotated */
  ------------------
  |  Branch (2240:17): [True: 0, False: 4]
  ------------------
 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|      4|            if (!symtable_add_def(st, name, DEF_NONLOCAL, LOCATION(s)))
  ------------------
  |  |  168|      4|#define DEF_NONLOCAL (2<<2)      /* nonlocal stmt */
  ------------------
                          if (!symtable_add_def(st, name, DEF_NONLOCAL, LOCATION(s)))
  ------------------
  |  |   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 (2255:17): [True: 0, False: 4]
  ------------------
 2256|      0|                return 0;
 2257|      4|            if (!symtable_record_directive(st, name, LOCATION(s))) {
  ------------------
  |  |   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 (2257:17): [True: 0, False: 4]
  ------------------
 2258|      0|                return 0;
 2259|      0|            }
 2260|      4|        }
 2261|      3|        break;
 2262|      3|    }
 2263|  2.72k|    case Expr_kind:
  ------------------
  |  Branch (2263:5): [True: 2.72k, False: 11.2k]
  ------------------
 2264|  2.72k|        VISIT(st, expr, s->v.Expr.value);
  ------------------
  |  | 1726|  2.72k|    do { \
  |  | 1727|  2.72k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 2.72k]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|  2.72k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 2.72k]
  |  |  ------------------
  ------------------
 2265|  2.72k|        break;
 2266|  2.72k|    case Pass_kind:
  ------------------
  |  Branch (2266:5): [True: 65, False: 13.9k]
  ------------------
 2267|    102|    case Break_kind:
  ------------------
  |  Branch (2267:5): [True: 37, False: 13.9k]
  ------------------
 2268|    145|    case Continue_kind:
  ------------------
  |  Branch (2268:5): [True: 43, False: 13.9k]
  ------------------
 2269|       |        /* nothing to do here */
 2270|    145|        break;
 2271|     46|    case With_kind: {
  ------------------
  |  Branch (2271:5): [True: 46, False: 13.9k]
  ------------------
 2272|     46|        ENTER_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1767|     46|    int in_conditional_block = (ST)->st_cur->ste_in_conditional_block; \
  |  | 1768|     46|    (ST)->st_cur->ste_in_conditional_block = 1;
  ------------------
 2273|     46|        VISIT_SEQ(st, withitem, s->v.With.items);
  ------------------
  |  | 1733|     46|    do { \
  |  | 1734|     46|        Py_ssize_t i; \
  |  | 1735|     46|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|     92|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|     92|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    184|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 92]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 46, False: 46]
  |  |  ------------------
  |  | 1737|     46|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|     46|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     46|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|     46|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 46]
  |  |  ------------------
  |  | 1739|     46|                return 0;                 \
  |  | 1740|     46|        } \
  |  | 1741|     46|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 46]
  |  |  ------------------
  ------------------
 2274|     46|        VISIT_SEQ(st, stmt, s->v.With.body);
  ------------------
  |  | 1733|     46|    do { \
  |  | 1734|     46|        Py_ssize_t i; \
  |  | 1735|     46|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|    136|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   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]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 90, False: 46]
  |  |  ------------------
  |  | 1737|     90|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|     90|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     90|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|     90|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 90]
  |  |  ------------------
  |  | 1739|     90|                return 0;                 \
  |  | 1740|     90|        } \
  |  | 1741|     46|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 46]
  |  |  ------------------
  ------------------
 2275|     46|        LEAVE_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1771|     46|    (ST)->st_cur->ste_in_conditional_block = in_conditional_block;
  ------------------
 2276|     46|        break;
 2277|     46|    }
 2278|    135|    case AsyncFunctionDef_kind: {
  ------------------
  |  Branch (2278:5): [True: 135, False: 13.8k]
  ------------------
 2279|    135|        if (!symtable_add_def(st, s->v.AsyncFunctionDef.name, DEF_LOCAL, LOCATION(s)))
  ------------------
  |  |  166|    135|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
                      if (!symtable_add_def(st, s->v.AsyncFunctionDef.name, DEF_LOCAL, LOCATION(s)))
  ------------------
  |  |   84|    135|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    135|    (_Py_SourceLocation){ \
  |  |  |  |   55|    135|               .lineno = (n)->lineno, \
  |  |  |  |   56|    135|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    135|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    135|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2279:13): [True: 0, False: 135]
  ------------------
 2280|      0|            return 0;
 2281|    135|        if (s->v.AsyncFunctionDef.args->defaults)
  ------------------
  |  Branch (2281:13): [True: 135, False: 0]
  ------------------
 2282|    135|            VISIT_SEQ(st, expr, s->v.AsyncFunctionDef.args->defaults);
  ------------------
  |  | 1733|    135|    do { \
  |  | 1734|    135|        Py_ssize_t i; \
  |  | 1735|    135|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|    191|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    191|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    382|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 191]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 56, False: 135]
  |  |  ------------------
  |  | 1737|     56|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|     56|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     56|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|     56|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 56]
  |  |  ------------------
  |  | 1739|     56|                return 0;                 \
  |  | 1740|     56|        } \
  |  | 1741|    135|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 135]
  |  |  ------------------
  ------------------
 2283|    135|        if (s->v.AsyncFunctionDef.args->kw_defaults)
  ------------------
  |  Branch (2283:13): [True: 135, False: 0]
  ------------------
 2284|    135|            VISIT_SEQ_WITH_NULL(st, expr,
  ------------------
  |  | 1755|    135|    do { \
  |  | 1756|    135|        int i = 0; \
  |  | 1757|    135|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1758|    285|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    285|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    570|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 285]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1758:21): [True: 150, False: 135]
  |  |  ------------------
  |  | 1759|    150|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    150|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    150|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1760|    150|            if (!elt) continue; /* can be NULL */ \
  |  |  ------------------
  |  |  |  Branch (1760:17): [True: 1, False: 149]
  |  |  ------------------
  |  | 1761|    150|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1761:17): [True: 0, False: 149]
  |  |  ------------------
  |  | 1762|    149|                return 0;             \
  |  | 1763|    149|        } \
  |  | 1764|    135|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1764:13): [Folded, False: 135]
  |  |  ------------------
  ------------------
 2285|    135|                                s->v.AsyncFunctionDef.args->kw_defaults);
 2286|    135|        if (s->v.AsyncFunctionDef.decorator_list)
  ------------------
  |  Branch (2286:13): [True: 2, False: 133]
  ------------------
 2287|      2|            VISIT_SEQ(st, expr, s->v.AsyncFunctionDef.decorator_list);
  ------------------
  |  | 1733|      2|    do { \
  |  | 1734|      2|        Py_ssize_t i; \
  |  | 1735|      2|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|      4|        for (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 (1736:21): [True: 2, False: 2]
  |  |  ------------------
  |  | 1737|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|      2|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 2]
  |  |  ------------------
  |  | 1739|      2|                return 0;                 \
  |  | 1740|      2|        } \
  |  | 1741|      2|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 2]
  |  |  ------------------
  ------------------
 2288|    135|        if (asdl_seq_LEN(s->v.AsyncFunctionDef.type_params) > 0) {
  ------------------
  |  |   83|    135|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    270|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 135, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2288:13): [True: 0, False: 135]
  ------------------
 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|    135|        PySTEntryObject *new_ste = ste_new(st, s->v.FunctionDef.name, FunctionBlock, (void *)s,
 2302|    135|                                           LOCATION(s));
  ------------------
  |  |   84|    135|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    135|    (_Py_SourceLocation){ \
  |  |  |  |   55|    135|               .lineno = (n)->lineno, \
  |  |  |  |   56|    135|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    135|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    135|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2303|    135|        if (!new_ste) {
  ------------------
  |  Branch (2303:13): [True: 0, False: 135]
  ------------------
 2304|      0|            return 0;
 2305|      0|        }
 2306|       |
 2307|    135|        if (_PyAST_GetDocString(s->v.AsyncFunctionDef.body)) {
  ------------------
  |  Branch (2307:13): [True: 62, False: 73]
  ------------------
 2308|     62|            new_ste->ste_has_docstring = 1;
 2309|     62|        }
 2310|       |
 2311|    135|        if (!symtable_visit_annotations(st, s, s->v.AsyncFunctionDef.args,
  ------------------
  |  Branch (2311:13): [True: 0, False: 135]
  ------------------
 2312|    135|                                        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|    135|        if (!symtable_enter_existing_block(st, new_ste, /* add_to_children */true)) {
  ------------------
  |  Branch (2316:13): [True: 0, False: 135]
  ------------------
 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|    135|        Py_DECREF(new_ste);
  ------------------
  |  |  430|    135|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    135|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    135|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2321|       |
 2322|    135|        st->st_cur->ste_coroutine = 1;
 2323|    135|        VISIT(st, arguments, s->v.AsyncFunctionDef.args);
  ------------------
  |  | 1726|    135|    do { \
  |  | 1727|    135|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 135]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|    135|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 135]
  |  |  ------------------
  ------------------
 2324|    135|        VISIT_SEQ(st, stmt, s->v.AsyncFunctionDef.body);
  ------------------
  |  | 1733|    135|    do { \
  |  | 1734|    135|        Py_ssize_t i; \
  |  | 1735|    135|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|    756|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    756|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.51k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 756]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 621, False: 135]
  |  |  ------------------
  |  | 1737|    621|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    621|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    621|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|    621|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 621]
  |  |  ------------------
  |  | 1739|    621|                return 0;                 \
  |  | 1740|    621|        } \
  |  | 1741|    135|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 135]
  |  |  ------------------
  ------------------
 2325|    135|        if (!symtable_exit_block(st))
  ------------------
  |  Branch (2325:13): [True: 0, False: 135]
  ------------------
 2326|      0|            return 0;
 2327|    135|        if (asdl_seq_LEN(s->v.AsyncFunctionDef.type_params) > 0) {
  ------------------
  |  |   83|    135|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|    270|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 135, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2327:13): [True: 0, False: 135]
  ------------------
 2328|      0|            if (!symtable_exit_block(st))
  ------------------
  |  Branch (2328:17): [True: 0, False: 0]
  ------------------
 2329|      0|                return 0;
 2330|      0|        }
 2331|    135|        break;
 2332|    135|    }
 2333|    135|    case AsyncWith_kind: {
  ------------------
  |  Branch (2333:5): [True: 5, False: 13.9k]
  ------------------
 2334|      5|        maybe_set_ste_coroutine_for_module(st, s);
 2335|      5|        if (!symtable_raise_if_not_coroutine(st, ASYNC_WITH_OUTSIDE_ASYNC_FUNC, LOCATION(s))) {
  ------------------
  |  |   78|      5|#define ASYNC_WITH_OUTSIDE_ASYNC_FUNC \
  |  |   79|      5|"'async with' outside async function"
  ------------------
                      if (!symtable_raise_if_not_coroutine(st, ASYNC_WITH_OUTSIDE_ASYNC_FUNC, LOCATION(s))) {
  ------------------
  |  |   84|      5|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      5|    (_Py_SourceLocation){ \
  |  |  |  |   55|      5|               .lineno = (n)->lineno, \
  |  |  |  |   56|      5|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      5|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      5|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2335:13): [True: 0, False: 5]
  ------------------
 2336|      0|            return 0;
 2337|      0|        }
 2338|      5|        ENTER_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1767|      5|    int in_conditional_block = (ST)->st_cur->ste_in_conditional_block; \
  |  | 1768|      5|    (ST)->st_cur->ste_in_conditional_block = 1;
  ------------------
 2339|      5|        VISIT_SEQ(st, withitem, s->v.AsyncWith.items);
  ------------------
  |  | 1733|      5|    do { \
  |  | 1734|      5|        Py_ssize_t i; \
  |  | 1735|      5|        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: 5, False: 5]
  |  |  ------------------
  |  | 1737|      5|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      5|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      5|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|      5|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 5]
  |  |  ------------------
  |  | 1739|      5|                return 0;                 \
  |  | 1740|      5|        } \
  |  | 1741|      5|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 5]
  |  |  ------------------
  ------------------
 2340|      5|        VISIT_SEQ(st, stmt, s->v.AsyncWith.body);
  ------------------
  |  | 1733|      5|    do { \
  |  | 1734|      5|        Py_ssize_t i; \
  |  | 1735|      5|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|     13|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|     13|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     26|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 13]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 8, False: 5]
  |  |  ------------------
  |  | 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|      5|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 5]
  |  |  ------------------
  ------------------
 2341|      5|        LEAVE_CONDITIONAL_BLOCK(st);
  ------------------
  |  | 1771|      5|    (ST)->st_cur->ste_in_conditional_block = in_conditional_block;
  ------------------
 2342|      5|        break;
 2343|      5|    }
 2344|      0|    case AsyncFor_kind: {
  ------------------
  |  Branch (2344:5): [True: 0, False: 14.0k]
  ------------------
 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|  14.0k|    }
 2359|  14.0k|    LEAVE_RECURSIVE();
  ------------------
  |  | 1785|  14.0k|#define LEAVE_RECURSIVE() Py_LeaveRecursiveCall();
  ------------------
 2360|  14.0k|    return 1;
 2361|  14.0k|}
symtable.c:symtable_visit_annotations:
 2916|  1.86k|{
 2917|  1.86k|    int is_in_class = st->st_cur->ste_can_see_class_scope;
 2918|  1.86k|    _Py_block_ty current_type = st->st_cur->ste_type;
 2919|  1.86k|    if (!symtable_enter_block(st, &_Py_ID(__annotate__), AnnotationBlock,
  ------------------
  |  |  915|  1.86k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.86k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.86k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2919:9): [True: 0, False: 1.86k]
  ------------------
 2920|  1.86k|                              (void *)a, LOCATION(o))) {
  ------------------
  |  |   84|  1.86k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  1.86k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  1.86k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  1.86k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  1.86k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  1.86k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2921|      0|        return 0;
 2922|      0|    }
 2923|  1.86k|    Py_XSETREF(st->st_cur->ste_function_name, Py_NewRef(function_ste->ste_name));
  ------------------
  |  |  374|  1.86k|    do { \
  |  |  375|  1.86k|        _Py_TYPEOF(dst)* _tmp_dst_ptr = &(dst); \
  |  |  ------------------
  |  |  |  |  546|  1.86k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  376|  1.86k|        _Py_TYPEOF(dst) _tmp_old_dst = (*_tmp_dst_ptr); \
  |  |  ------------------
  |  |  |  |  546|  1.86k|#  define _Py_TYPEOF(expr) __typeof__(expr)
  |  |  ------------------
  |  |  377|  1.86k|        *_tmp_dst_ptr = (src); \
  |  |  378|  1.86k|        Py_XDECREF(_tmp_old_dst); \
  |  |  ------------------
  |  |  |  |  524|  1.86k|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  1.86k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  1.86k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  379|  1.86k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (379:14): [Folded, False: 1.86k]
  |  |  ------------------
  ------------------
 2924|  1.86k|    if (is_in_class || current_type == ClassBlock) {
  ------------------
  |  Branch (2924:9): [True: 0, False: 1.86k]
  |  Branch (2924:24): [True: 1.14k, False: 719]
  ------------------
 2925|  1.14k|        st->st_cur->ste_can_see_class_scope = 1;
 2926|  1.14k|        if (!symtable_add_def(st, &_Py_ID(__classdict__), USE, LOCATION(o))) {
  ------------------
  |  |  915|  1.14k|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|  1.14k|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|  1.14k|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                      if (!symtable_add_def(st, &_Py_ID(__classdict__), USE, LOCATION(o))) {
  ------------------
  |  |  169|  1.14k|#define USE (2<<3)               /* name is used */
  ------------------
                      if (!symtable_add_def(st, &_Py_ID(__classdict__), USE, LOCATION(o))) {
  ------------------
  |  |   84|  1.14k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  1.14k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  1.14k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  1.14k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  1.14k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  1.14k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2926:13): [True: 0, False: 1.14k]
  ------------------
 2927|      0|            return 0;
 2928|      0|        }
 2929|  1.14k|    }
 2930|  1.86k|    if (a->posonlyargs && !symtable_visit_argannotations(st, a->posonlyargs))
  ------------------
  |  Branch (2930:9): [True: 1.86k, False: 0]
  |  Branch (2930:27): [True: 0, False: 1.86k]
  ------------------
 2931|      0|        return 0;
 2932|  1.86k|    if (a->args && !symtable_visit_argannotations(st, a->args))
  ------------------
  |  Branch (2932:9): [True: 1.86k, False: 0]
  |  Branch (2932:20): [True: 0, False: 1.86k]
  ------------------
 2933|      0|        return 0;
 2934|  1.86k|    if (a->vararg && a->vararg->annotation) {
  ------------------
  |  Branch (2934:9): [True: 104, False: 1.75k]
  |  Branch (2934:22): [True: 0, False: 104]
  ------------------
 2935|      0|        st->st_cur->ste_annotations_used = 1;
 2936|      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]
  |  |  ------------------
  ------------------
 2937|      0|    }
 2938|  1.86k|    if (a->kwarg && a->kwarg->annotation) {
  ------------------
  |  Branch (2938:9): [True: 98, False: 1.76k]
  |  Branch (2938:21): [True: 0, False: 98]
  ------------------
 2939|      0|        st->st_cur->ste_annotations_used = 1;
 2940|      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]
  |  |  ------------------
  ------------------
 2941|      0|    }
 2942|  1.86k|    if (a->kwonlyargs && !symtable_visit_argannotations(st, a->kwonlyargs))
  ------------------
  |  Branch (2942:9): [True: 1.86k, False: 0]
  |  Branch (2942:26): [True: 0, False: 1.86k]
  ------------------
 2943|      0|        return 0;
 2944|  1.86k|    if (returns) {
  ------------------
  |  Branch (2944:9): [True: 26, False: 1.83k]
  ------------------
 2945|     26|        st->st_cur->ste_annotations_used = 1;
 2946|     26|        VISIT(st, expr, returns);
  ------------------
  |  | 1726|     26|    do { \
  |  | 1727|     26|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 26]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|     26|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 26]
  |  |  ------------------
  ------------------
 2947|     26|    }
 2948|  1.86k|    if (!symtable_exit_block(st)) {
  ------------------
  |  Branch (2948:9): [True: 0, False: 1.86k]
  ------------------
 2949|      0|        return 0;
 2950|      0|    }
 2951|  1.86k|    return 1;
 2952|  1.86k|}
symtable.c:symtable_visit_argannotations:
 2899|  5.58k|{
 2900|  5.58k|    Py_ssize_t i;
 2901|       |
 2902|  9.88k|    for (i = 0; i < asdl_seq_LEN(args); i++) {
  ------------------
  |  |   83|  9.88k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  19.7k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 9.88k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2902:17): [True: 4.30k, False: 5.58k]
  ------------------
 2903|  4.30k|        arg_ty arg = (arg_ty)asdl_seq_GET(args, i);
  ------------------
  |  |   82|  4.30k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  4.30k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2904|  4.30k|        if (arg->annotation) {
  ------------------
  |  Branch (2904:13): [True: 37, False: 4.26k]
  ------------------
 2905|     37|            st->st_cur->ste_annotations_used = 1;
 2906|     37|            VISIT(st, expr, arg->annotation);
  ------------------
  |  | 1726|     37|    do { \
  |  | 1727|     37|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 37]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|     37|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 37]
  |  |  ------------------
  ------------------
 2907|     37|        }
 2908|  4.30k|    }
 2909|       |
 2910|  5.58k|    return 1;
 2911|  5.58k|}
symtable.c:symtable_visit_arguments:
 2956|  1.94k|{
 2957|       |    /* skip default arguments inside function block
 2958|       |       XXX should ast be different?
 2959|       |    */
 2960|  1.94k|    if (a->posonlyargs && !symtable_visit_params(st, a->posonlyargs))
  ------------------
  |  Branch (2960:9): [True: 1.94k, False: 0]
  |  Branch (2960:27): [True: 0, False: 1.94k]
  ------------------
 2961|      0|        return 0;
 2962|  1.94k|    if (a->args && !symtable_visit_params(st, a->args))
  ------------------
  |  Branch (2962:9): [True: 1.94k, False: 0]
  |  Branch (2962:20): [True: 0, False: 1.94k]
  ------------------
 2963|      0|        return 0;
 2964|  1.94k|    if (a->kwonlyargs && !symtable_visit_params(st, a->kwonlyargs))
  ------------------
  |  Branch (2964:9): [True: 1.94k, False: 0]
  |  Branch (2964:26): [True: 0, False: 1.94k]
  ------------------
 2965|      0|        return 0;
 2966|  1.94k|    if (a->vararg) {
  ------------------
  |  Branch (2966:9): [True: 105, False: 1.84k]
  ------------------
 2967|    105|        if (!symtable_add_def(st, a->vararg->arg, DEF_PARAM, LOCATION(a->vararg)))
  ------------------
  |  |  167|    105|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
                      if (!symtable_add_def(st, a->vararg->arg, DEF_PARAM, LOCATION(a->vararg)))
  ------------------
  |  |   84|    105|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    105|    (_Py_SourceLocation){ \
  |  |  |  |   55|    105|               .lineno = (n)->lineno, \
  |  |  |  |   56|    105|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    105|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    105|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2967:13): [True: 0, False: 105]
  ------------------
 2968|      0|            return 0;
 2969|    105|        st->st_cur->ste_varargs = 1;
 2970|    105|    }
 2971|  1.94k|    if (a->kwarg) {
  ------------------
  |  Branch (2971:9): [True: 99, False: 1.84k]
  ------------------
 2972|     99|        if (!symtable_add_def(st, a->kwarg->arg, DEF_PARAM, LOCATION(a->kwarg)))
  ------------------
  |  |  167|     99|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
                      if (!symtable_add_def(st, a->kwarg->arg, DEF_PARAM, LOCATION(a->kwarg)))
  ------------------
  |  |   84|     99|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|     99|    (_Py_SourceLocation){ \
  |  |  |  |   55|     99|               .lineno = (n)->lineno, \
  |  |  |  |   56|     99|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|     99|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|     99|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2972:13): [True: 0, False: 99]
  ------------------
 2973|      0|            return 0;
 2974|     99|        st->st_cur->ste_varkeywords = 1;
 2975|     99|    }
 2976|  1.94k|    return 1;
 2977|  1.94k|}
symtable.c:symtable_visit_params:
 2832|  5.84k|{
 2833|  5.84k|    Py_ssize_t i;
 2834|       |
 2835|  10.4k|    for (i = 0; i < asdl_seq_LEN(args); i++) {
  ------------------
  |  |   83|  10.4k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  20.9k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 0, False: 10.4k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2835:17): [True: 4.64k, False: 5.84k]
  ------------------
 2836|  4.64k|        arg_ty arg = (arg_ty)asdl_seq_GET(args, i);
  ------------------
  |  |   82|  4.64k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|  4.64k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 2837|  4.64k|        if (!symtable_add_def(st, arg->arg, DEF_PARAM, LOCATION(arg)))
  ------------------
  |  |  167|  4.64k|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
                      if (!symtable_add_def(st, arg->arg, DEF_PARAM, LOCATION(arg)))
  ------------------
  |  |   84|  4.64k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  4.64k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  4.64k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  4.64k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  4.64k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  4.64k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2837:13): [True: 0, False: 4.64k]
  ------------------
 2838|      0|            return 0;
 2839|  4.64k|    }
 2840|       |
 2841|  5.84k|    return 1;
 2842|  5.84k|}
symtable.c:check_keywords:
 1613|  6.06k|{
 1614|  6.75k|    for (Py_ssize_t i = 0; i < asdl_seq_LEN(keywords); i++) {
  ------------------
  |  |   83|  6.75k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  ------------------
  |  |  |  |  277|  13.5k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (277:37): [True: 5.67k, False: 1.08k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (1614:28): [True: 692, False: 6.06k]
  ------------------
 1615|    692|        keyword_ty key = ((keyword_ty)asdl_seq_GET(keywords, i));
  ------------------
  |  |   82|    692|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|    692|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 1616|    692|        if (key->arg  && !check_name(st, key->arg, LOCATION(key), Store)) {
  ------------------
  |  |   84|    607|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    607|    (_Py_SourceLocation){ \
  |  |  |  |   55|    607|               .lineno = (n)->lineno, \
  |  |  |  |   56|    607|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    607|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    607|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (1616:13): [True: 607, False: 85]
  |  Branch (1616:26): [True: 0, False: 607]
  ------------------
 1617|      0|            return 0;
 1618|      0|        }
 1619|    692|    }
 1620|  6.06k|    return 1;
 1621|  6.06k|}
symtable.c:symtable_visit_keyword:
 3069|    692|{
 3070|    692|    VISIT(st, expr, k->value);
  ------------------
  |  | 1726|    692|    do { \
  |  | 1727|    692|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 692]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|    692|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 692]
  |  |  ------------------
  ------------------
 3071|    692|    return 1;
 3072|    692|}
symtable.c:symtable_lookup:
 1497|     22|{
 1498|     22|    return symtable_lookup_entry(st, st->st_cur, name);
 1499|     22|}
symtable.c:symtable_lookup_entry:
 1483|     22|{
 1484|     22|    PyObject *mangled = _Py_MaybeMangle(st->st_private, ste, name);
 1485|     22|    if (!mangled)
  ------------------
  |  Branch (1485:9): [True: 0, False: 22]
  ------------------
 1486|      0|        return -1;
 1487|     22|    long ret = _PyST_GetSymbol(ste, mangled);
 1488|     22|    Py_DECREF(mangled);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1489|     22|    if (ret < 0) {
  ------------------
  |  Branch (1489:9): [True: 0, False: 22]
  ------------------
 1490|      0|        return -1;
 1491|      0|    }
 1492|     22|    return ret;
 1493|     22|}
symtable.c:symtable_visit_annotation:
 2846|     10|{
 2847|       |    // Annotations in local scopes are not executed and should not affect the symtable
 2848|     10|    bool is_unevaluated = st->st_cur->ste_type == FunctionBlock;
 2849|       |
 2850|       |    // Module-level annotations are always considered conditional because the module
 2851|       |    // may be partially executed.
 2852|     10|    if ((((st->st_cur->ste_type == ClassBlock && st->st_cur->ste_in_conditional_block)
  ------------------
  |  Branch (2852:12): [True: 4, False: 6]
  |  Branch (2852:50): [True: 0, False: 4]
  ------------------
 2853|     10|            || st->st_cur->ste_type == ModuleBlock))
  ------------------
  |  Branch (2853:16): [True: 0, False: 10]
  ------------------
 2854|      0|            && !st->st_cur->ste_has_conditional_annotations)
  ------------------
  |  Branch (2854:16): [True: 0, False: 0]
  ------------------
 2855|      0|    {
 2856|      0|        st->st_cur->ste_has_conditional_annotations = 1;
 2857|      0|        if (!symtable_add_def(st, &_Py_ID(__conditional_annotations__), USE, LOCATION(annotation))) {
  ------------------
  |  |  915|      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(__conditional_annotations__), USE, LOCATION(annotation))) {
  ------------------
  |  |  169|      0|#define USE (2<<3)               /* name is used */
  ------------------
                      if (!symtable_add_def(st, &_Py_ID(__conditional_annotations__), USE, LOCATION(annotation))) {
  ------------------
  |  |   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 (2857:13): [True: 0, False: 0]
  ------------------
 2858|      0|            return 0;
 2859|      0|        }
 2860|      0|    }
 2861|     10|    struct _symtable_entry *parent_ste = st->st_cur;
 2862|     10|    if (parent_ste->ste_annotation_block == NULL) {
  ------------------
  |  Branch (2862:9): [True: 6, False: 4]
  ------------------
 2863|      6|        _Py_block_ty current_type = parent_ste->ste_type;
 2864|      6|        if (!symtable_enter_block(st, &_Py_ID(__annotate__), AnnotationBlock,
  ------------------
  |  |  915|      6|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      6|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      6|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2864:13): [True: 0, False: 6]
  ------------------
 2865|      6|                                    key, LOCATION(annotation))) {
  ------------------
  |  |   84|      6|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|      6|    (_Py_SourceLocation){ \
  |  |  |  |   55|      6|               .lineno = (n)->lineno, \
  |  |  |  |   56|      6|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|      6|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|      6|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2866|      0|            return 0;
 2867|      0|        }
 2868|      6|        parent_ste->ste_annotation_block =
 2869|      6|            (struct _symtable_entry *)Py_NewRef(st->st_cur);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2870|      6|        int future_annotations = st->st_future->ff_features & CO_FUTURE_ANNOTATIONS;
  ------------------
  |  |  143|      6|#define CO_FUTURE_ANNOTATIONS    0x1000000
  ------------------
 2871|      6|        if (current_type == ClassBlock && !future_annotations) {
  ------------------
  |  Branch (2871:13): [True: 2, False: 4]
  |  Branch (2871:43): [True: 2, False: 0]
  ------------------
 2872|      2|            st->st_cur->ste_can_see_class_scope = 1;
 2873|      2|            if (!symtable_add_def(st, &_Py_ID(__classdict__), USE, LOCATION(annotation))) {
  ------------------
  |  |  915|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                          if (!symtable_add_def(st, &_Py_ID(__classdict__), USE, LOCATION(annotation))) {
  ------------------
  |  |  169|      2|#define USE (2<<3)               /* name is used */
  ------------------
                          if (!symtable_add_def(st, &_Py_ID(__classdict__), USE, LOCATION(annotation))) {
  ------------------
  |  |   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 (2873:17): [True: 0, False: 2]
  ------------------
 2874|      0|                return 0;
 2875|      0|            }
 2876|      2|        }
 2877|      6|    }
 2878|      4|    else {
 2879|      4|        if (!symtable_enter_existing_block(st, parent_ste->ste_annotation_block,
  ------------------
  |  Branch (2879:13): [True: 0, False: 4]
  ------------------
 2880|      4|                                           /* add_to_children */false)) {
 2881|      0|            return 0;
 2882|      0|        }
 2883|      4|    }
 2884|     10|    if (is_unevaluated) {
  ------------------
  |  Branch (2884:9): [True: 6, False: 4]
  ------------------
 2885|      6|        st->st_cur->ste_in_unevaluated_annotation = 1;
 2886|      6|    }
 2887|     10|    int rc = symtable_visit_expr(st, annotation);
 2888|     10|    if (is_unevaluated) {
  ------------------
  |  Branch (2888:9): [True: 6, False: 4]
  ------------------
 2889|      6|        st->st_cur->ste_in_unevaluated_annotation = 0;
 2890|      6|    }
 2891|     10|    if (!symtable_exit_block(st)) {
  ------------------
  |  Branch (2891:9): [True: 0, False: 10]
  ------------------
 2892|      0|        return 0;
 2893|      0|    }
 2894|     10|    return rc;
 2895|     10|}
symtable.c:symtable_visit_match_case:
 3004|      4|{
 3005|      4|    VISIT(st, pattern, m->pattern);
  ------------------
  |  | 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]
  |  |  ------------------
  ------------------
 3006|      4|    if (m->guard) {
  ------------------
  |  Branch (3006:9): [True: 0, False: 4]
  ------------------
 3007|      0|        VISIT(st, expr, m->guard);
  ------------------
  |  | 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]
  |  |  ------------------
  ------------------
 3008|      0|    }
 3009|      4|    VISIT_SEQ(st, stmt, m->body);
  ------------------
  |  | 1733|      4|    do { \
  |  | 1734|      4|        Py_ssize_t i; \
  |  | 1735|      4|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|     11|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|     11|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     22|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 11]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 7, False: 4]
  |  |  ------------------
  |  | 1737|      7|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      7|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      7|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|      7|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 7]
  |  |  ------------------
  |  | 1739|      7|                return 0;                 \
  |  | 1740|      7|        } \
  |  | 1741|      4|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 4]
  |  |  ------------------
  ------------------
 3010|      4|    return 1;
 3011|      4|}
symtable.c:symtable_visit_pattern:
 2762|      4|{
 2763|      4|    ENTER_RECURSIVE();
  ------------------
  |  | 1780|      4|#define ENTER_RECURSIVE() \
  |  | 1781|      4|if (Py_EnterRecursiveCall(" during compilation")) { \
  |  |  ------------------
  |  |  |  Branch (1781:5): [True: 0, False: 4]
  |  |  ------------------
  |  | 1782|      0|    return 0; \
  |  | 1783|      0|}
  ------------------
 2764|      4|    switch (p->kind) {
  ------------------
  |  Branch (2764:13): [True: 4, False: 0]
  ------------------
 2765|      4|    case MatchValue_kind:
  ------------------
  |  Branch (2765:5): [True: 4, False: 0]
  ------------------
 2766|      4|        VISIT(st, expr, p->v.MatchValue.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]
  |  |  ------------------
  ------------------
 2767|      4|        break;
 2768|      4|    case MatchSingleton_kind:
  ------------------
  |  Branch (2768:5): [True: 0, False: 4]
  ------------------
 2769|       |        /* Nothing to do here. */
 2770|      0|        break;
 2771|      0|    case MatchSequence_kind:
  ------------------
  |  Branch (2771:5): [True: 0, False: 4]
  ------------------
 2772|      0|        VISIT_SEQ(st, pattern, p->v.MatchSequence.patterns);
  ------------------
  |  | 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]
  |  |  ------------------
  ------------------
 2773|      0|        break;
 2774|      0|    case MatchStar_kind:
  ------------------
  |  Branch (2774:5): [True: 0, False: 4]
  ------------------
 2775|      0|        if (p->v.MatchStar.name) {
  ------------------
  |  Branch (2775:13): [True: 0, False: 0]
  ------------------
 2776|      0|            if (!symtable_add_def(st, p->v.MatchStar.name, DEF_LOCAL, LOCATION(p))) {
  ------------------
  |  |  166|      0|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
                          if (!symtable_add_def(st, p->v.MatchStar.name, DEF_LOCAL, LOCATION(p))) {
  ------------------
  |  |   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 (2776:17): [True: 0, False: 0]
  ------------------
 2777|      0|                return 0;
 2778|      0|            }
 2779|      0|        }
 2780|      0|        break;
 2781|      0|    case MatchMapping_kind:
  ------------------
  |  Branch (2781:5): [True: 0, False: 4]
  ------------------
 2782|      0|        VISIT_SEQ(st, expr, p->v.MatchMapping.keys);
  ------------------
  |  | 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]
  |  |  ------------------
  ------------------
 2783|      0|        VISIT_SEQ(st, pattern, p->v.MatchMapping.patterns);
  ------------------
  |  | 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]
  |  |  ------------------
  ------------------
 2784|      0|        if (p->v.MatchMapping.rest) {
  ------------------
  |  Branch (2784:13): [True: 0, False: 0]
  ------------------
 2785|      0|            if (!symtable_add_def(st, p->v.MatchMapping.rest, DEF_LOCAL, LOCATION(p))) {
  ------------------
  |  |  166|      0|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
                          if (!symtable_add_def(st, p->v.MatchMapping.rest, DEF_LOCAL, LOCATION(p))) {
  ------------------
  |  |   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 (2785:17): [True: 0, False: 0]
  ------------------
 2786|      0|                return 0;
 2787|      0|            }
 2788|      0|        }
 2789|      0|        break;
 2790|      0|    case MatchClass_kind:
  ------------------
  |  Branch (2790:5): [True: 0, False: 4]
  ------------------
 2791|      0|        VISIT(st, expr, p->v.MatchClass.cls);
  ------------------
  |  | 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]
  |  |  ------------------
  ------------------
 2792|      0|        VISIT_SEQ(st, pattern, p->v.MatchClass.patterns);
  ------------------
  |  | 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]
  |  |  ------------------
  ------------------
 2793|      0|        if (!check_kwd_patterns(st, p)) {
  ------------------
  |  Branch (2793:13): [True: 0, False: 0]
  ------------------
 2794|      0|            return 0;
 2795|      0|        }
 2796|      0|        VISIT_SEQ(st, pattern, p->v.MatchClass.kwd_patterns);
  ------------------
  |  | 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]
  |  |  ------------------
  ------------------
 2797|      0|        break;
 2798|      0|    case MatchAs_kind:
  ------------------
  |  Branch (2798:5): [True: 0, False: 4]
  ------------------
 2799|      0|        if (p->v.MatchAs.pattern) {
  ------------------
  |  Branch (2799:13): [True: 0, False: 0]
  ------------------
 2800|      0|            VISIT(st, pattern, p->v.MatchAs.pattern);
  ------------------
  |  | 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]
  |  |  ------------------
  ------------------
 2801|      0|        }
 2802|      0|        if (p->v.MatchAs.name) {
  ------------------
  |  Branch (2802:13): [True: 0, False: 0]
  ------------------
 2803|      0|            if (!symtable_add_def(st, p->v.MatchAs.name, DEF_LOCAL, LOCATION(p))) {
  ------------------
  |  |  166|      0|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
                          if (!symtable_add_def(st, p->v.MatchAs.name, DEF_LOCAL, LOCATION(p))) {
  ------------------
  |  |   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 (2803:17): [True: 0, False: 0]
  ------------------
 2804|      0|                return 0;
 2805|      0|            }
 2806|      0|        }
 2807|      0|        break;
 2808|      0|    case MatchOr_kind:
  ------------------
  |  Branch (2808:5): [True: 0, False: 4]
  ------------------
 2809|      0|        VISIT_SEQ(st, pattern, p->v.MatchOr.patterns);
  ------------------
  |  | 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]
  |  |  ------------------
  ------------------
 2810|      0|        break;
 2811|      4|    }
 2812|      4|    LEAVE_RECURSIVE();
  ------------------
  |  | 1785|      4|#define LEAVE_RECURSIVE() Py_LeaveRecursiveCall();
  ------------------
 2813|      4|    return 1;
 2814|      4|}
symtable.c:symtable_visit_excepthandler:
 2982|    325|{
 2983|    325|    if (eh->v.ExceptHandler.type)
  ------------------
  |  Branch (2983:9): [True: 309, False: 16]
  ------------------
 2984|    309|        VISIT(st, expr, eh->v.ExceptHandler.type);
  ------------------
  |  | 1726|    309|    do { \
  |  | 1727|    309|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 309]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|    309|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 309]
  |  |  ------------------
  ------------------
 2985|    325|    if (eh->v.ExceptHandler.name)
  ------------------
  |  Branch (2985:9): [True: 92, False: 233]
  ------------------
 2986|     92|        if (!symtable_add_def(st, eh->v.ExceptHandler.name, DEF_LOCAL, LOCATION(eh)))
  ------------------
  |  |  166|     92|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
                      if (!symtable_add_def(st, eh->v.ExceptHandler.name, DEF_LOCAL, LOCATION(eh)))
  ------------------
  |  |   84|     92|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|     92|    (_Py_SourceLocation){ \
  |  |  |  |   55|     92|               .lineno = (n)->lineno, \
  |  |  |  |   56|     92|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|     92|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|     92|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2986:13): [True: 0, False: 92]
  ------------------
 2987|      0|            return 0;
 2988|    325|    VISIT_SEQ(st, stmt, eh->v.ExceptHandler.body);
  ------------------
  |  | 1733|    325|    do { \
  |  | 1734|    325|        Py_ssize_t i; \
  |  | 1735|    325|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|    787|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    787|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.57k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 787]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 462, False: 325]
  |  |  ------------------
  |  | 1737|    462|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    462|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    462|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|    462|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 462]
  |  |  ------------------
  |  | 1739|    462|                return 0;                 \
  |  | 1740|    462|        } \
  |  | 1741|    325|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 325]
  |  |  ------------------
  ------------------
 2989|    325|    return 1;
 2990|    325|}
symtable.c:check_lazy_import_context:
 1844|      2|{
 1845|       |    // Check if inside try/except block.
 1846|      2|    if (st->st_cur->ste_in_try_block) {
  ------------------
  |  Branch (1846:9): [True: 0, False: 2]
  ------------------
 1847|      0|        PyErr_Format(PyExc_SyntaxError,
 1848|      0|                     "lazy %s not allowed inside try/except blocks",
 1849|      0|                     import_type);
 1850|      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)
  ------------------
 1851|      0|        return 0;
 1852|      0|    }
 1853|       |
 1854|       |    // Check if inside function scope.
 1855|      2|    if (st->st_cur->ste_type == FunctionBlock) {
  ------------------
  |  Branch (1855:9): [True: 0, False: 2]
  ------------------
 1856|      0|        PyErr_Format(PyExc_SyntaxError,
 1857|      0|                     "lazy %s not allowed inside functions", import_type);
 1858|      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)
  ------------------
 1859|      0|        return 0;
 1860|      0|    }
 1861|       |
 1862|       |    // Check if inside class scope.
 1863|      2|    if (st->st_cur->ste_type == ClassBlock) {
  ------------------
  |  Branch (1863:9): [True: 0, False: 2]
  ------------------
 1864|      0|        PyErr_Format(PyExc_SyntaxError,
 1865|      0|                     "lazy %s not allowed inside classes", import_type);
 1866|      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)
  ------------------
 1867|      0|        return 0;
 1868|      0|    }
 1869|       |
 1870|      2|    return 1;
 1871|      2|}
symtable.c:symtable_visit_alias:
 3015|    498|{
 3016|       |    /* Compute store_name, the name actually bound by the import
 3017|       |       operation.  It is different than a->name when a->name is a
 3018|       |       dotted package name (e.g. spam.eggs)
 3019|       |    */
 3020|    498|    PyObject *store_name;
 3021|    498|    PyObject *name = (a->asname == NULL) ? a->name : a->asname;
  ------------------
  |  Branch (3021:22): [True: 488, False: 10]
  ------------------
 3022|    498|    Py_ssize_t dot = PyUnicode_FindChar(name, '.', 0,
 3023|    498|                                        PyUnicode_GET_LENGTH(name), 1);
  ------------------
  |  |  299|    498|#define PyUnicode_GET_LENGTH(op) PyUnicode_GET_LENGTH(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    498|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    498|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3024|    498|    if (dot != -1) {
  ------------------
  |  Branch (3024:9): [True: 7, False: 491]
  ------------------
 3025|      7|        store_name = PyUnicode_Substring(name, 0, dot);
 3026|      7|        if (!store_name)
  ------------------
  |  Branch (3026:13): [True: 0, False: 7]
  ------------------
 3027|      0|            return 0;
 3028|      7|    }
 3029|    491|    else {
 3030|    491|        store_name = Py_NewRef(name);
  ------------------
  |  |  550|    491|#  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    491|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    491|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3031|    491|    }
 3032|    498|    if (!_PyUnicode_EqualToASCIIString(name, "*")) {
  ------------------
  |  Branch (3032:9): [True: 479, False: 19]
  ------------------
 3033|    479|        int r = symtable_add_def(st, store_name, DEF_IMPORT, LOCATION(a));
  ------------------
  |  |  171|    479|#define DEF_IMPORT (2<<6)        /* assignment occurred via import */
  ------------------
                      int r = symtable_add_def(st, store_name, DEF_IMPORT, LOCATION(a));
  ------------------
  |  |   84|    479|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    479|    (_Py_SourceLocation){ \
  |  |  |  |   55|    479|               .lineno = (n)->lineno, \
  |  |  |  |   56|    479|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    479|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    479|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 3034|    479|        Py_DECREF(store_name);
  ------------------
  |  |  430|    479|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|    479|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    479|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3035|    479|        return r;
 3036|    479|    }
 3037|     19|    else {
 3038|     19|        if (st->st_cur->ste_type != ModuleBlock) {
  ------------------
  |  Branch (3038:13): [True: 0, False: 19]
  ------------------
 3039|      0|            PyErr_SetString(PyExc_SyntaxError, IMPORT_STAR_WARNING);
  ------------------
  |  |   40|      0|#define IMPORT_STAR_WARNING "import * only allowed at module level"
  ------------------
 3040|      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)
  ------------------
 3041|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3042|      0|            return 0;
 3043|      0|        }
 3044|     19|        Py_DECREF(store_name);
  ------------------
  |  |  430|     19|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|     19|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|     19|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3045|     19|        return 1;
 3046|     19|    }
 3047|    498|}
symtable.c:check_import_from:
 1824|    262|{
 1825|    262|    assert(s->kind == ImportFrom_kind);
 1826|    262|    _Py_SourceLocation fut = st->st_future->ff_location;
 1827|    262|    if (s->v.ImportFrom.module && s->v.ImportFrom.level == 0 &&
  ------------------
  |  Branch (1827:9): [True: 168, False: 94]
  |  Branch (1827:35): [True: 121, False: 47]
  ------------------
 1828|    121|        _PyUnicode_EqualToASCIIString(s->v.ImportFrom.module, "__future__") &&
  ------------------
  |  Branch (1828:9): [True: 0, False: 121]
  ------------------
 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|    262|    return 1;
 1839|    262|}
symtable.c:symtable_record_directive:
 1790|     14|{
 1791|     14|    PyObject *data, *mangled;
 1792|     14|    int res;
 1793|     14|    if (!st->st_cur->ste_directives) {
  ------------------
  |  Branch (1793:9): [True: 10, False: 4]
  ------------------
 1794|     10|        st->st_cur->ste_directives = PyList_New(0);
 1795|     10|        if (!st->st_cur->ste_directives)
  ------------------
  |  Branch (1795:13): [True: 0, False: 10]
  ------------------
 1796|      0|            return 0;
 1797|     10|    }
 1798|     14|    mangled = _Py_MaybeMangle(st->st_private, st->st_cur, name);
 1799|     14|    if (!mangled)
  ------------------
  |  Branch (1799:9): [True: 0, False: 14]
  ------------------
 1800|      0|        return 0;
 1801|     14|    data = Py_BuildValue("(Niiii)", mangled, loc.lineno, loc.col_offset,
 1802|     14|                                    loc.end_lineno, loc.end_col_offset);
 1803|     14|    if (!data)
  ------------------
  |  Branch (1803:9): [True: 0, False: 14]
  ------------------
 1804|      0|        return 0;
 1805|     14|    res = PyList_Append(st->st_cur->ste_directives, data);
 1806|     14|    Py_DECREF(data);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 1807|     14|    return res == 0;
 1808|     14|}
symtable.c:symtable_visit_withitem:
 2994|     51|{
 2995|     51|    VISIT(st, expr, item->context_expr);
  ------------------
  |  | 1726|     51|    do { \
  |  | 1727|     51|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 51]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|     51|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 51]
  |  |  ------------------
  ------------------
 2996|     51|    if (item->optional_vars) {
  ------------------
  |  Branch (2996:9): [True: 8, False: 43]
  ------------------
 2997|      8|        VISIT(st, expr, item->optional_vars);
  ------------------
  |  | 1726|      8|    do { \
  |  | 1727|      8|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 8]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|      8|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 8]
  |  |  ------------------
  ------------------
 2998|      8|    }
 2999|     51|    return 1;
 3000|     51|}
symtable.c:maybe_set_ste_coroutine_for_module:
 1883|      5|{
 1884|      5|    if (allows_top_level_await(st)) {
  ------------------
  |  Branch (1884:9): [True: 0, False: 5]
  ------------------
 1885|      0|        st->st_cur->ste_coroutine = 1;
 1886|      0|    }
 1887|      5|}
symtable.c:allows_top_level_await:
 1875|    128|{
 1876|    128|    return (st->st_future->ff_features & PyCF_ALLOW_TOP_LEVEL_AWAIT) &&
  ------------------
  |  |   20|    128|#define PyCF_ALLOW_TOP_LEVEL_AWAIT 0x2000
  ------------------
  |  Branch (1876:12): [True: 0, False: 128]
  ------------------
 1877|      0|            st->st_cur->ste_type == ModuleBlock;
  ------------------
  |  Branch (1877:13): [True: 0, False: 0]
  ------------------
 1878|    128|}
symtable.c:symtable_raise_if_not_coroutine:
 3220|      5|symtable_raise_if_not_coroutine(struct symtable *st, const char *msg, _Py_SourceLocation loc) {
 3221|      5|    if (!st->st_cur->ste_coroutine) {
  ------------------
  |  Branch (3221:9): [True: 0, False: 5]
  ------------------
 3222|      0|        PyErr_SetString(PyExc_SyntaxError, msg);
 3223|      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)
  ------------------
 3224|      0|        return 0;
 3225|      0|    }
 3226|      5|    return 1;
 3227|      5|}
symtable.c:symtable_visit_expr:
 2481|  52.2k|{
 2482|  52.2k|    ENTER_RECURSIVE();
  ------------------
  |  | 1780|  52.2k|#define ENTER_RECURSIVE() \
  |  | 1781|  52.2k|if (Py_EnterRecursiveCall(" during compilation")) { \
  |  |  ------------------
  |  |  |  Branch (1781:5): [True: 0, False: 52.2k]
  |  |  ------------------
  |  | 1782|      0|    return 0; \
  |  | 1783|      0|}
  ------------------
 2483|  52.2k|    switch (e->kind) {
  ------------------
  |  Branch (2483:13): [True: 52.2k, False: 0]
  ------------------
 2484|      5|    case NamedExpr_kind:
  ------------------
  |  Branch (2484:5): [True: 5, False: 52.2k]
  ------------------
 2485|      5|        if (!symtable_raise_if_annotation_block(st, "named expression", e)) {
  ------------------
  |  Branch (2485:13): [True: 0, False: 5]
  ------------------
 2486|      0|            return 0;
 2487|      0|        }
 2488|      5|        if(!symtable_handle_namedexpr(st, e))
  ------------------
  |  Branch (2488:12): [True: 0, False: 5]
  ------------------
 2489|      0|            return 0;
 2490|      5|        break;
 2491|    470|    case BoolOp_kind:
  ------------------
  |  Branch (2491:5): [True: 470, False: 51.8k]
  ------------------
 2492|    470|        VISIT_SEQ(st, expr, e->v.BoolOp.values);
  ------------------
  |  | 1733|    470|    do { \
  |  | 1734|    470|        Py_ssize_t i; \
  |  | 1735|    470|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|  1.58k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  1.58k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  3.16k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 1.58k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 1.11k, False: 470]
  |  |  ------------------
  |  | 1737|  1.11k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  1.11k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.11k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|  1.11k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 1.11k]
  |  |  ------------------
  |  | 1739|  1.11k|                return 0;                 \
  |  | 1740|  1.11k|        } \
  |  | 1741|    470|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 470]
  |  |  ------------------
  ------------------
 2493|    470|        break;
 2494|    470|    case BinOp_kind:
  ------------------
  |  Branch (2494:5): [True: 466, False: 51.8k]
  ------------------
 2495|    466|        VISIT(st, expr, e->v.BinOp.left);
  ------------------
  |  | 1726|    466|    do { \
  |  | 1727|    466|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 466]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|    466|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 466]
  |  |  ------------------
  ------------------
 2496|    466|        VISIT(st, expr, e->v.BinOp.right);
  ------------------
  |  | 1726|    466|    do { \
  |  | 1727|    466|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 466]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|    466|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 466]
  |  |  ------------------
  ------------------
 2497|    466|        break;
 2498|    469|    case UnaryOp_kind:
  ------------------
  |  Branch (2498:5): [True: 469, False: 51.8k]
  ------------------
 2499|    469|        VISIT(st, expr, e->v.UnaryOp.operand);
  ------------------
  |  | 1726|    469|    do { \
  |  | 1727|    469|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 469]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|    469|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 469]
  |  |  ------------------
  ------------------
 2500|    469|        break;
 2501|    469|    case Lambda_kind: {
  ------------------
  |  Branch (2501:5): [True: 87, False: 52.1k]
  ------------------
 2502|     87|        if (e->v.Lambda.args->defaults)
  ------------------
  |  Branch (2502:13): [True: 87, False: 0]
  ------------------
 2503|     87|            VISIT_SEQ(st, expr, e->v.Lambda.args->defaults);
  ------------------
  |  | 1733|     87|    do { \
  |  | 1734|     87|        Py_ssize_t i; \
  |  | 1735|     87|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|     88|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|     88|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    176|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 88]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 1, False: 87]
  |  |  ------------------
  |  | 1737|      1|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      1|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      1|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|      1|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 1]
  |  |  ------------------
  |  | 1739|      1|                return 0;                 \
  |  | 1740|      1|        } \
  |  | 1741|     87|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 87]
  |  |  ------------------
  ------------------
 2504|     87|        if (e->v.Lambda.args->kw_defaults)
  ------------------
  |  Branch (2504:13): [True: 87, False: 0]
  ------------------
 2505|     87|            VISIT_SEQ_WITH_NULL(st, expr, e->v.Lambda.args->kw_defaults);
  ------------------
  |  | 1755|     87|    do { \
  |  | 1756|     87|        int i = 0; \
  |  | 1757|     87|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1758|     87|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|     87|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    174|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 87]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1758:21): [True: 0, False: 87]
  |  |  ------------------
  |  | 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|     87|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1764:13): [Folded, False: 87]
  |  |  ------------------
  ------------------
 2506|     87|        if (!symtable_enter_block(st, &_Py_STR(anon_lambda),
  ------------------
  |  |  917|     87|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     87|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     87|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (2506:13): [True: 0, False: 87]
  ------------------
 2507|     87|                                  FunctionBlock, (void *)e, LOCATION(e))) {
  ------------------
  |  |   84|     87|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|     87|    (_Py_SourceLocation){ \
  |  |  |  |   55|     87|               .lineno = (n)->lineno, \
  |  |  |  |   56|     87|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|     87|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|     87|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
 2508|      0|            return 0;
 2509|      0|        }
 2510|     87|        VISIT(st, arguments, e->v.Lambda.args);
  ------------------
  |  | 1726|     87|    do { \
  |  | 1727|     87|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 87]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|     87|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 87]
  |  |  ------------------
  ------------------
 2511|     87|        VISIT(st, expr, e->v.Lambda.body);
  ------------------
  |  | 1726|     87|    do { \
  |  | 1727|     87|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 87]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|     87|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 87]
  |  |  ------------------
  ------------------
 2512|     87|        if (!symtable_exit_block(st))
  ------------------
  |  Branch (2512:13): [True: 0, False: 87]
  ------------------
 2513|      0|            return 0;
 2514|     87|        break;
 2515|     87|    }
 2516|     87|    case IfExp_kind:
  ------------------
  |  Branch (2516:5): [True: 48, False: 52.2k]
  ------------------
 2517|     48|        VISIT(st, expr, e->v.IfExp.test);
  ------------------
  |  | 1726|     48|    do { \
  |  | 1727|     48|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 48]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|     48|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 48]
  |  |  ------------------
  ------------------
 2518|     48|        VISIT(st, expr, e->v.IfExp.body);
  ------------------
  |  | 1726|     48|    do { \
  |  | 1727|     48|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 48]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|     48|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 48]
  |  |  ------------------
  ------------------
 2519|     48|        VISIT(st, expr, e->v.IfExp.orelse);
  ------------------
  |  | 1726|     48|    do { \
  |  | 1727|     48|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 48]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|     48|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 48]
  |  |  ------------------
  ------------------
 2520|     48|        break;
 2521|     79|    case Dict_kind:
  ------------------
  |  Branch (2521:5): [True: 79, False: 52.2k]
  ------------------
 2522|     79|        VISIT_SEQ_WITH_NULL(st, expr, e->v.Dict.keys);
  ------------------
  |  | 1755|     79|    do { \
  |  | 1756|     79|        int i = 0; \
  |  | 1757|     79|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1758|    184|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    184|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    368|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 184]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1758:21): [True: 105, False: 79]
  |  |  ------------------
  |  | 1759|    105|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    105|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    105|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1760|    105|            if (!elt) continue; /* can be NULL */ \
  |  |  ------------------
  |  |  |  Branch (1760:17): [True: 0, False: 105]
  |  |  ------------------
  |  | 1761|    105|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1761:17): [True: 0, False: 105]
  |  |  ------------------
  |  | 1762|    105|                return 0;             \
  |  | 1763|    105|        } \
  |  | 1764|     79|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1764:13): [Folded, False: 79]
  |  |  ------------------
  ------------------
 2523|     79|        VISIT_SEQ(st, expr, e->v.Dict.values);
  ------------------
  |  | 1733|     79|    do { \
  |  | 1734|     79|        Py_ssize_t i; \
  |  | 1735|     79|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|    184|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    184|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    368|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 184]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 105, False: 79]
  |  |  ------------------
  |  | 1737|    105|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    105|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    105|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|    105|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 105]
  |  |  ------------------
  |  | 1739|    105|                return 0;                 \
  |  | 1740|    105|        } \
  |  | 1741|     79|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 79]
  |  |  ------------------
  ------------------
 2524|     79|        break;
 2525|     79|    case Set_kind:
  ------------------
  |  Branch (2525:5): [True: 67, False: 52.2k]
  ------------------
 2526|     67|        VISIT_SEQ(st, expr, e->v.Set.elts);
  ------------------
  |  | 1733|     67|    do { \
  |  | 1734|     67|        Py_ssize_t i; \
  |  | 1735|     67|        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: 319, False: 67]
  |  |  ------------------
  |  | 1737|    319|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    319|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    319|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|    319|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 319]
  |  |  ------------------
  |  | 1739|    319|                return 0;                 \
  |  | 1740|    319|        } \
  |  | 1741|     67|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 67]
  |  |  ------------------
  ------------------
 2527|     67|        break;
 2528|     67|    case GeneratorExp_kind:
  ------------------
  |  Branch (2528:5): [True: 32, False: 52.2k]
  ------------------
 2529|     32|        if (!symtable_visit_genexp(st, e))
  ------------------
  |  Branch (2529:13): [True: 0, False: 32]
  ------------------
 2530|      0|            return 0;
 2531|     32|        break;
 2532|     35|    case ListComp_kind:
  ------------------
  |  Branch (2532:5): [True: 35, False: 52.2k]
  ------------------
 2533|     35|        if (!symtable_visit_listcomp(st, e))
  ------------------
  |  Branch (2533:13): [True: 0, False: 35]
  ------------------
 2534|      0|            return 0;
 2535|     35|        break;
 2536|     35|    case SetComp_kind:
  ------------------
  |  Branch (2536:5): [True: 7, False: 52.2k]
  ------------------
 2537|      7|        if (!symtable_visit_setcomp(st, e))
  ------------------
  |  Branch (2537:13): [True: 0, False: 7]
  ------------------
 2538|      0|            return 0;
 2539|      7|        break;
 2540|      7|    case DictComp_kind:
  ------------------
  |  Branch (2540:5): [True: 2, False: 52.2k]
  ------------------
 2541|      2|        if (!symtable_visit_dictcomp(st, e))
  ------------------
  |  Branch (2541:13): [True: 0, False: 2]
  ------------------
 2542|      0|            return 0;
 2543|      2|        break;
 2544|     57|    case Yield_kind:
  ------------------
  |  Branch (2544:5): [True: 57, False: 52.2k]
  ------------------
 2545|     57|        if (!symtable_raise_if_annotation_block(st, "yield expression", e)) {
  ------------------
  |  Branch (2545:13): [True: 0, False: 57]
  ------------------
 2546|      0|            return 0;
 2547|      0|        }
 2548|     57|        if (e->v.Yield.value)
  ------------------
  |  Branch (2548:13): [True: 53, False: 4]
  ------------------
 2549|     53|            VISIT(st, expr, e->v.Yield.value);
  ------------------
  |  | 1726|     53|    do { \
  |  | 1727|     53|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 53]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|     53|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 53]
  |  |  ------------------
  ------------------
 2550|     57|        st->st_cur->ste_generator = 1;
 2551|     57|        if (st->st_cur->ste_comprehension) {
  ------------------
  |  Branch (2551:13): [True: 0, False: 57]
  ------------------
 2552|      0|            return symtable_raise_if_comprehension_block(st, e);
 2553|      0|        }
 2554|     57|        break;
 2555|     57|    case YieldFrom_kind:
  ------------------
  |  Branch (2555:5): [True: 11, False: 52.2k]
  ------------------
 2556|     11|        if (!symtable_raise_if_annotation_block(st, "yield expression", e)) {
  ------------------
  |  Branch (2556:13): [True: 0, False: 11]
  ------------------
 2557|      0|            return 0;
 2558|      0|        }
 2559|     11|        VISIT(st, expr, e->v.YieldFrom.value);
  ------------------
  |  | 1726|     11|    do { \
  |  | 1727|     11|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 11]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|     11|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 11]
  |  |  ------------------
  ------------------
 2560|     11|        st->st_cur->ste_generator = 1;
 2561|     11|        if (st->st_cur->ste_comprehension) {
  ------------------
  |  Branch (2561:13): [True: 0, False: 11]
  ------------------
 2562|      0|            return symtable_raise_if_comprehension_block(st, e);
 2563|      0|        }
 2564|     11|        break;
 2565|    123|    case Await_kind:
  ------------------
  |  Branch (2565:5): [True: 123, False: 52.1k]
  ------------------
 2566|    123|        if (!symtable_raise_if_annotation_block(st, "await expression", e)) {
  ------------------
  |  Branch (2566:13): [True: 0, False: 123]
  ------------------
 2567|      0|            return 0;
 2568|      0|        }
 2569|    123|        if (!allows_top_level_await(st)) {
  ------------------
  |  Branch (2569:13): [True: 123, False: 0]
  ------------------
 2570|    123|            if (!_PyST_IsFunctionLike(st->st_cur)) {
  ------------------
  |  Branch (2570:17): [True: 0, False: 123]
  ------------------
 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|    123|            if (!IS_ASYNC_DEF(st) && st->st_cur->ste_comprehension == NoComprehension) {
  ------------------
  |  |   90|    246|#define IS_ASYNC_DEF(st) ((st)->st_cur->ste_type == FunctionBlock && (st)->st_cur->ste_coroutine)
  |  |  ------------------
  |  |  |  Branch (90:27): [True: 123, False: 0]
  |  |  |  Branch (90:70): [True: 123, 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|    123|        }
 2583|    123|        VISIT(st, expr, e->v.Await.value);
  ------------------
  |  | 1726|    123|    do { \
  |  | 1727|    123|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 123]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|    123|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 123]
  |  |  ------------------
  ------------------
 2584|    123|        st->st_cur->ste_coroutine = 1;
 2585|    123|        break;
 2586|  1.71k|    case Compare_kind:
  ------------------
  |  Branch (2586:5): [True: 1.71k, False: 50.5k]
  ------------------
 2587|  1.71k|        VISIT(st, expr, e->v.Compare.left);
  ------------------
  |  | 1726|  1.71k|    do { \
  |  | 1727|  1.71k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 1.71k]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|  1.71k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 1.71k]
  |  |  ------------------
  ------------------
 2588|  1.71k|        VISIT_SEQ(st, expr, e->v.Compare.comparators);
  ------------------
  |  | 1733|  1.71k|    do { \
  |  | 1734|  1.71k|        Py_ssize_t i; \
  |  | 1735|  1.71k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|  3.43k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  3.43k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  6.86k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 3.43k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 1.71k, False: 1.71k]
  |  |  ------------------
  |  | 1737|  1.71k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  1.71k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.71k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|  1.71k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 1.71k]
  |  |  ------------------
  |  | 1739|  1.71k|                return 0;                 \
  |  | 1740|  1.71k|        } \
  |  | 1741|  1.71k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 1.71k]
  |  |  ------------------
  ------------------
 2589|  1.71k|        break;
 2590|  5.91k|    case Call_kind:
  ------------------
  |  Branch (2590:5): [True: 5.91k, False: 46.3k]
  ------------------
 2591|  5.91k|        VISIT(st, expr, e->v.Call.func);
  ------------------
  |  | 1726|  5.91k|    do { \
  |  | 1727|  5.91k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 5.91k]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|  5.91k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 5.91k]
  |  |  ------------------
  ------------------
 2592|  5.91k|        VISIT_SEQ(st, expr, e->v.Call.args);
  ------------------
  |  | 1733|  5.91k|    do { \
  |  | 1734|  5.91k|        Py_ssize_t i; \
  |  | 1735|  5.91k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|  12.9k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  12.9k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  25.9k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 1.44k, False: 11.5k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 7.06k, False: 5.91k]
  |  |  ------------------
  |  | 1737|  7.06k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  7.06k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  7.06k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|  7.06k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 7.06k]
  |  |  ------------------
  |  | 1739|  7.06k|                return 0;                 \
  |  | 1740|  7.06k|        } \
  |  | 1741|  5.91k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 5.91k]
  |  |  ------------------
  ------------------
 2593|  5.91k|        if (!check_keywords(st, e->v.Call.keywords)) {
  ------------------
  |  Branch (2593:13): [True: 0, False: 5.91k]
  ------------------
 2594|      0|            return 0;
 2595|      0|        }
 2596|  5.91k|        VISIT_SEQ_WITH_NULL(st, keyword, e->v.Call.keywords);
  ------------------
  |  | 1755|  5.91k|    do { \
  |  | 1756|  5.91k|        int i = 0; \
  |  | 1757|  5.91k|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1758|  6.60k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  6.60k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  13.2k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 5.52k, False: 1.08k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1758:21): [True: 692, False: 5.91k]
  |  |  ------------------
  |  | 1759|    692|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    692|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    692|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1760|    692|            if (!elt) continue; /* can be NULL */ \
  |  |  ------------------
  |  |  |  Branch (1760:17): [True: 0, False: 692]
  |  |  ------------------
  |  | 1761|    692|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1761:17): [True: 0, False: 692]
  |  |  ------------------
  |  | 1762|    692|                return 0;             \
  |  | 1763|    692|        } \
  |  | 1764|  5.91k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1764:13): [Folded, False: 5.91k]
  |  |  ------------------
  ------------------
 2597|  5.91k|        break;
 2598|  5.91k|    case FormattedValue_kind:
  ------------------
  |  Branch (2598:5): [True: 881, False: 51.3k]
  ------------------
 2599|    881|        VISIT(st, expr, e->v.FormattedValue.value);
  ------------------
  |  | 1726|    881|    do { \
  |  | 1727|    881|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 881]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|    881|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 881]
  |  |  ------------------
  ------------------
 2600|    881|        if (e->v.FormattedValue.format_spec)
  ------------------
  |  Branch (2600:13): [True: 6, False: 875]
  ------------------
 2601|      6|            VISIT(st, expr, e->v.FormattedValue.format_spec);
  ------------------
  |  | 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]
  |  |  ------------------
  ------------------
 2602|    881|        break;
 2603|    881|    case Interpolation_kind:
  ------------------
  |  Branch (2603:5): [True: 1, False: 52.2k]
  ------------------
 2604|      1|        VISIT(st, expr, e->v.Interpolation.value);
  ------------------
  |  | 1726|      1|    do { \
  |  | 1727|      1|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 1]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|      1|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 1]
  |  |  ------------------
  ------------------
 2605|      1|        if (e->v.Interpolation.format_spec)
  ------------------
  |  Branch (2605:13): [True: 0, False: 1]
  ------------------
 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|      1|        break;
 2608|    447|    case JoinedStr_kind:
  ------------------
  |  Branch (2608:5): [True: 447, False: 51.8k]
  ------------------
 2609|    447|        VISIT_SEQ(st, expr, e->v.JoinedStr.values);
  ------------------
  |  | 1733|    447|    do { \
  |  | 1734|    447|        Py_ssize_t i; \
  |  | 1735|    447|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|  2.19k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  2.19k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  4.38k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 2.19k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 1.74k, False: 447]
  |  |  ------------------
  |  | 1737|  1.74k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  1.74k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  1.74k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|  1.74k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 1.74k]
  |  |  ------------------
  |  | 1739|  1.74k|                return 0;                 \
  |  | 1740|  1.74k|        } \
  |  | 1741|    447|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 447]
  |  |  ------------------
  ------------------
 2610|    447|        break;
 2611|    447|    case TemplateStr_kind:
  ------------------
  |  Branch (2611:5): [True: 1, False: 52.2k]
  ------------------
 2612|      1|        VISIT_SEQ(st, expr, e->v.TemplateStr.values);
  ------------------
  |  | 1733|      1|    do { \
  |  | 1734|      1|        Py_ssize_t i; \
  |  | 1735|      1|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|      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: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 1, False: 1]
  |  |  ------------------
  |  | 1737|      1|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      1|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      1|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|      1|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 1]
  |  |  ------------------
  |  | 1739|      1|                return 0;                 \
  |  | 1740|      1|        } \
  |  | 1741|      1|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 1]
  |  |  ------------------
  ------------------
 2613|      1|        break;
 2614|  6.69k|    case Constant_kind:
  ------------------
  |  Branch (2614:5): [True: 6.69k, False: 45.5k]
  ------------------
 2615|       |        /* Nothing to do here. */
 2616|  6.69k|        break;
 2617|       |    /* The following exprs can be assignment targets. */
 2618|  8.99k|    case Attribute_kind:
  ------------------
  |  Branch (2618:5): [True: 8.99k, False: 43.2k]
  ------------------
 2619|  8.99k|        if (!check_name(st, e->v.Attribute.attr, LOCATION(e), e->v.Attribute.ctx)) {
  ------------------
  |  |   84|  8.99k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  8.99k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  8.99k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  8.99k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  8.99k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  8.99k|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2619:13): [True: 0, False: 8.99k]
  ------------------
 2620|      0|            return 0;
 2621|      0|        }
 2622|  8.99k|        VISIT(st, expr, e->v.Attribute.value);
  ------------------
  |  | 1726|  8.99k|    do { \
  |  | 1727|  8.99k|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 8.99k]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|  8.99k|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 8.99k]
  |  |  ------------------
  ------------------
 2623|  8.99k|        break;
 2624|  8.99k|    case Subscript_kind:
  ------------------
  |  Branch (2624:5): [True: 466, False: 51.8k]
  ------------------
 2625|    466|        VISIT(st, expr, e->v.Subscript.value);
  ------------------
  |  | 1726|    466|    do { \
  |  | 1727|    466|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 466]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|    466|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 466]
  |  |  ------------------
  ------------------
 2626|    466|        VISIT(st, expr, e->v.Subscript.slice);
  ------------------
  |  | 1726|    466|    do { \
  |  | 1727|    466|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 466]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|    466|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 466]
  |  |  ------------------
  ------------------
 2627|    466|        break;
 2628|    466|    case Starred_kind:
  ------------------
  |  Branch (2628:5): [True: 92, False: 52.1k]
  ------------------
 2629|     92|        VISIT(st, expr, e->v.Starred.value);
  ------------------
  |  | 1726|     92|    do { \
  |  | 1727|     92|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 92]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|     92|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 92]
  |  |  ------------------
  ------------------
 2630|     92|        break;
 2631|     92|    case Slice_kind:
  ------------------
  |  Branch (2631:5): [True: 73, False: 52.2k]
  ------------------
 2632|     73|        if (e->v.Slice.lower)
  ------------------
  |  Branch (2632:13): [True: 44, False: 29]
  ------------------
 2633|     44|            VISIT(st, expr, e->v.Slice.lower);
  ------------------
  |  | 1726|     44|    do { \
  |  | 1727|     44|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 44]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|     44|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 44]
  |  |  ------------------
  ------------------
 2634|     73|        if (e->v.Slice.upper)
  ------------------
  |  Branch (2634:13): [True: 40, False: 33]
  ------------------
 2635|     40|            VISIT(st, expr, e->v.Slice.upper);
  ------------------
  |  | 1726|     40|    do { \
  |  | 1727|     40|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 40]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|     40|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 40]
  |  |  ------------------
  ------------------
 2636|     73|        if (e->v.Slice.step)
  ------------------
  |  Branch (2636:13): [True: 0, False: 73]
  ------------------
 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|     73|        break;
 2639|  24.0k|    case Name_kind:
  ------------------
  |  Branch (2639:5): [True: 24.0k, False: 28.2k]
  ------------------
 2640|  24.0k|        if (!st->st_cur->ste_in_unevaluated_annotation) {
  ------------------
  |  Branch (2640:13): [True: 24.0k, False: 10]
  ------------------
 2641|  24.0k|            if (!symtable_add_def_ctx(st, e->v.Name.id,
  ------------------
  |  Branch (2641:17): [True: 0, False: 24.0k]
  ------------------
 2642|  24.0k|                                    e->v.Name.ctx == Load ? USE : DEF_LOCAL,
  ------------------
  |  |  169|  20.9k|#define USE (2<<3)               /* name is used */
  ------------------
                                                  e->v.Name.ctx == Load ? USE : DEF_LOCAL,
  ------------------
  |  |  166|  3.06k|#define DEF_LOCAL 2              /* assignment in code block */
  ------------------
  |  Branch (2642:37): [True: 20.9k, False: 3.06k]
  ------------------
 2643|  24.0k|                                    LOCATION(e), e->v.Name.ctx)) {
  ------------------
  |  |   84|  24.0k|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|  24.0k|    (_Py_SourceLocation){ \
  |  |  |  |   55|  24.0k|               .lineno = (n)->lineno, \
  |  |  |  |   56|  24.0k|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|  24.0k|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|  24.0k|               .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|  24.0k|            if (e->v.Name.ctx == Load &&
  ------------------
  |  Branch (2647:17): [True: 20.9k, False: 3.06k]
  ------------------
 2648|  20.9k|                _PyST_IsFunctionLike(st->st_cur) &&
  ------------------
  |  Branch (2648:17): [True: 20.3k, False: 606]
  ------------------
 2649|  20.3k|                _PyUnicode_EqualToASCIIString(e->v.Name.id, "super")) {
  ------------------
  |  Branch (2649:17): [True: 123, False: 20.2k]
  ------------------
 2650|    123|                if (!symtable_add_def(st, &_Py_ID(__class__), USE, LOCATION(e)))
  ------------------
  |  |  915|    123|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|    123|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|    123|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
                              if (!symtable_add_def(st, &_Py_ID(__class__), USE, LOCATION(e)))
  ------------------
  |  |  169|    123|#define USE (2<<3)               /* name is used */
  ------------------
                              if (!symtable_add_def(st, &_Py_ID(__class__), USE, LOCATION(e)))
  ------------------
  |  |   84|    123|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|    123|    (_Py_SourceLocation){ \
  |  |  |  |   55|    123|               .lineno = (n)->lineno, \
  |  |  |  |   56|    123|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|    123|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|    123|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (2650:21): [True: 0, False: 123]
  ------------------
 2651|      0|                    return 0;
 2652|    123|            }
 2653|  24.0k|        }
 2654|  24.0k|        break;
 2655|       |    /* child nodes of List and Tuple will have expr_context set */
 2656|  24.0k|    case List_kind:
  ------------------
  |  Branch (2656:5): [True: 171, False: 52.1k]
  ------------------
 2657|    171|        VISIT_SEQ(st, expr, e->v.List.elts);
  ------------------
  |  | 1733|    171|    do { \
  |  | 1734|    171|        Py_ssize_t i; \
  |  | 1735|    171|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|    326|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|    326|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    652|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 99, False: 227]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 155, False: 171]
  |  |  ------------------
  |  | 1737|    155|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|    155|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    155|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|    155|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 155]
  |  |  ------------------
  |  | 1739|    155|                return 0;                 \
  |  | 1740|    155|        } \
  |  | 1741|    171|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 171]
  |  |  ------------------
  ------------------
 2658|    171|        break;
 2659|    828|    case Tuple_kind:
  ------------------
  |  Branch (2659:5): [True: 828, False: 51.4k]
  ------------------
 2660|    828|        VISIT_SEQ(st, expr, e->v.Tuple.elts);
  ------------------
  |  | 1733|    828|    do { \
  |  | 1734|    828|        Py_ssize_t i; \
  |  | 1735|    828|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|  3.10k|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|  3.10k|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  6.20k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 24, False: 3.07k]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 2.27k, False: 828]
  |  |  ------------------
  |  | 1737|  2.27k|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|  2.27k|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|  2.27k|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|  2.27k|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 2.27k]
  |  |  ------------------
  |  | 1739|  2.27k|                return 0;                 \
  |  | 1740|  2.27k|        } \
  |  | 1741|    828|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 828]
  |  |  ------------------
  ------------------
 2661|    828|        break;
 2662|  52.2k|    }
 2663|  52.2k|    LEAVE_RECURSIVE();
  ------------------
  |  | 1785|  52.2k|#define LEAVE_RECURSIVE() Py_LeaveRecursiveCall();
  ------------------
 2664|  52.2k|    return 1;
 2665|  52.2k|}
symtable.c:symtable_raise_if_annotation_block:
 3181|    196|{
 3182|    196|    _Py_block_ty type = st->st_cur->ste_type;
 3183|    196|    if (type == AnnotationBlock)
  ------------------
  |  Branch (3183:9): [True: 0, False: 196]
  ------------------
 3184|      0|        PyErr_Format(PyExc_SyntaxError, ANNOTATION_NOT_ALLOWED, name);
  ------------------
  |  |   63|      0|#define ANNOTATION_NOT_ALLOWED \
  |  |   64|      0|"%s cannot be used within an annotation"
  ------------------
 3185|    196|    else if (type == TypeVariableBlock) {
  ------------------
  |  Branch (3185:14): [True: 0, False: 196]
  ------------------
 3186|      0|        const char *info = st->st_cur->ste_scope_info;
 3187|      0|        assert(info != NULL); // e.g., info == "a ParamSpec default"
 3188|      0|        PyErr_Format(PyExc_SyntaxError, EXPR_NOT_ALLOWED_IN_TYPE_VARIABLE, name, info);
  ------------------
  |  |   66|      0|#define EXPR_NOT_ALLOWED_IN_TYPE_VARIABLE \
  |  |   67|      0|"%s cannot be used within %s"
  ------------------
 3189|      0|    }
 3190|    196|    else if (type == TypeAliasBlock) {
  ------------------
  |  Branch (3190:14): [True: 0, False: 196]
  ------------------
 3191|       |        // for now, we do not have any extra information
 3192|      0|        assert(st->st_cur->ste_scope_info == NULL);
 3193|      0|        PyErr_Format(PyExc_SyntaxError, EXPR_NOT_ALLOWED_IN_TYPE_ALIAS, name);
  ------------------
  |  |   69|      0|#define EXPR_NOT_ALLOWED_IN_TYPE_ALIAS \
  |  |   70|      0|"%s cannot be used within a type alias"
  ------------------
 3194|      0|    }
 3195|    196|    else if (type == TypeParametersBlock) {
  ------------------
  |  Branch (3195:14): [True: 0, False: 196]
  ------------------
 3196|       |        // for now, we do not have any extra information
 3197|      0|        assert(st->st_cur->ste_scope_info == NULL);
 3198|      0|        PyErr_Format(PyExc_SyntaxError, EXPR_NOT_ALLOWED_IN_TYPE_PARAMETERS, name);
  ------------------
  |  |   72|      0|#define EXPR_NOT_ALLOWED_IN_TYPE_PARAMETERS \
  |  |   73|      0|"%s cannot be used within the definition of a generic"
  ------------------
 3199|      0|    }
 3200|    196|    else
 3201|    196|        return 1;
 3202|       |
 3203|      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)
  ------------------
 3204|      0|    return 0;
 3205|    196|}
symtable.c:symtable_handle_namedexpr:
 2462|      5|{
 2463|      5|    if (st->st_cur->ste_comp_iter_expr > 0) {
  ------------------
  |  Branch (2463:9): [True: 0, False: 5]
  ------------------
 2464|       |        /* Assignment isn't allowed in a comprehension iterable expression */
 2465|      0|        PyErr_Format(PyExc_SyntaxError, NAMED_EXPR_COMP_ITER_EXPR);
  ------------------
  |  |   60|      0|#define NAMED_EXPR_COMP_ITER_EXPR \
  |  |   61|      0|"assignment expression cannot be used in a comprehension iterable expression"
  ------------------
 2466|      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)
  ------------------
 2467|      0|        return 0;
 2468|      0|    }
 2469|      5|    if (st->st_cur->ste_comprehension) {
  ------------------
  |  Branch (2469:9): [True: 0, False: 5]
  ------------------
 2470|       |        /* Inside a comprehension body, so find the right target scope */
 2471|      0|        if (!symtable_extend_namedexpr_scope(st, e->v.NamedExpr.target))
  ------------------
  |  Branch (2471:13): [True: 0, False: 0]
  ------------------
 2472|      0|            return 0;
 2473|      0|    }
 2474|      5|    VISIT(st, expr, e->v.NamedExpr.value);
  ------------------
  |  | 1726|      5|    do { \
  |  | 1727|      5|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 5]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|      5|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 5]
  |  |  ------------------
  ------------------
 2475|      5|    VISIT(st, expr, e->v.NamedExpr.target);
  ------------------
  |  | 1726|      5|    do { \
  |  | 1727|      5|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 5]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|      5|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 5]
  |  |  ------------------
  ------------------
 2476|      5|    return 1;
 2477|      5|}
symtable.c:symtable_visit_genexp:
 3148|     32|{
 3149|     32|    return symtable_handle_comprehension(st, e, &_Py_STR(anon_genexpr),
  ------------------
  |  |  917|     32|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     32|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     32|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3150|     32|                                         e->v.GeneratorExp.generators,
 3151|       |                                         e->v.GeneratorExp.elt, NULL);
 3152|     32|}
symtable.c:symtable_handle_comprehension:
 3079|     76|{
 3080|     76|    int is_generator = (e->kind == GeneratorExp_kind);
 3081|     76|    comprehension_ty outermost = ((comprehension_ty)
 3082|     76|                                    asdl_seq_GET(generators, 0));
  ------------------
  |  |   82|     76|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  ------------------
  |  |  |  |  277|     76|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  ------------------
  ------------------
 3083|       |    /* Outermost iterator is evaluated in current scope */
 3084|     76|    st->st_cur->ste_comp_iter_expr++;
 3085|     76|    VISIT(st, expr, outermost->iter);
  ------------------
  |  | 1726|     76|    do { \
  |  | 1727|     76|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 76]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|     76|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 76]
  |  |  ------------------
  ------------------
 3086|     76|    st->st_cur->ste_comp_iter_expr--;
 3087|       |    /* Create comprehension scope for the rest */
 3088|     76|    if (!scope_name ||
  ------------------
  |  Branch (3088:9): [True: 0, False: 76]
  ------------------
 3089|     76|        !symtable_enter_block(st, scope_name, FunctionBlock, (void *)e, LOCATION(e))) {
  ------------------
  |  |   84|     76|#define LOCATION(x) SRC_LOCATION_FROM_AST(x)
  |  |  ------------------
  |  |  |  |   54|     76|    (_Py_SourceLocation){ \
  |  |  |  |   55|     76|               .lineno = (n)->lineno, \
  |  |  |  |   56|     76|               .end_lineno = (n)->end_lineno, \
  |  |  |  |   57|     76|               .col_offset = (n)->col_offset, \
  |  |  |  |   58|     76|               .end_col_offset = (n)->end_col_offset }
  |  |  ------------------
  ------------------
  |  Branch (3089:9): [True: 0, False: 76]
  ------------------
 3090|      0|        return 0;
 3091|      0|    }
 3092|     76|    switch(e->kind) {
 3093|     35|        case ListComp_kind:
  ------------------
  |  Branch (3093:9): [True: 35, False: 41]
  ------------------
 3094|     35|            st->st_cur->ste_comprehension = ListComprehension;
 3095|     35|            break;
 3096|      7|        case SetComp_kind:
  ------------------
  |  Branch (3096:9): [True: 7, False: 69]
  ------------------
 3097|      7|            st->st_cur->ste_comprehension = SetComprehension;
 3098|      7|            break;
 3099|      2|        case DictComp_kind:
  ------------------
  |  Branch (3099:9): [True: 2, False: 74]
  ------------------
 3100|      2|            st->st_cur->ste_comprehension = DictComprehension;
 3101|      2|            break;
 3102|     32|        default:
  ------------------
  |  Branch (3102:9): [True: 32, False: 44]
  ------------------
 3103|     32|            st->st_cur->ste_comprehension = GeneratorExpression;
 3104|     32|            break;
 3105|     76|    }
 3106|     76|    if (outermost->is_async) {
  ------------------
  |  Branch (3106:9): [True: 0, False: 76]
  ------------------
 3107|      0|        st->st_cur->ste_coroutine = 1;
 3108|      0|    }
 3109|       |
 3110|       |    /* Outermost iter is received as an argument */
 3111|     76|    if (!symtable_implicit_arg(st, 0)) {
  ------------------
  |  Branch (3111:9): [True: 0, False: 76]
  ------------------
 3112|      0|        symtable_exit_block(st);
 3113|      0|        return 0;
 3114|      0|    }
 3115|       |    /* Visit iteration variable target, and mark them as such */
 3116|     76|    st->st_cur->ste_comp_iter_target = 1;
 3117|     76|    VISIT(st, expr, outermost->target);
  ------------------
  |  | 1726|     76|    do { \
  |  | 1727|     76|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 76]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|     76|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 76]
  |  |  ------------------
  ------------------
 3118|     76|    st->st_cur->ste_comp_iter_target = 0;
 3119|       |    /* Visit the rest of the comprehension body */
 3120|     76|    VISIT_SEQ(st, expr, outermost->ifs);
  ------------------
  |  | 1733|     76|    do { \
  |  | 1734|     76|        Py_ssize_t i; \
  |  | 1735|     76|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|     93|        for (i = 0; i < asdl_seq_LEN(seq); 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 (1736:21): [True: 17, False: 76]
  |  |  ------------------
  |  | 1737|     17|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|     17|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|     17|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1738|     17|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1738:17): [True: 0, False: 17]
  |  |  ------------------
  |  | 1739|     17|                return 0;                 \
  |  | 1740|     17|        } \
  |  | 1741|     76|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 76]
  |  |  ------------------
  ------------------
 3121|     76|    VISIT_SEQ_TAIL(st, comprehension, generators, 1);
  ------------------
  |  | 1744|     76|    do { \
  |  | 1745|     76|        Py_ssize_t i; \
  |  | 1746|     76|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1747|     77|        for (i = (START); i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|     77|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|    154|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 77]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1747:27): [True: 1, False: 76]
  |  |  ------------------
  |  | 1748|      1|            TYPE ## _ty elt = (TYPE ## _ty)asdl_seq_GET(seq, i); \
  |  |  ------------------
  |  |  |  |   82|      1|#define asdl_seq_GET(S, I) _Py_RVALUE((S)->typed_elements[(I)])
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      1|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 1749|      1|            if (!symtable_visit_ ## TYPE((ST), elt)) \
  |  |  ------------------
  |  |  |  Branch (1749:17): [True: 0, False: 1]
  |  |  ------------------
  |  | 1750|      1|                return 0;                 \
  |  | 1751|      1|        } \
  |  | 1752|     76|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1752:13): [Folded, False: 76]
  |  |  ------------------
  ------------------
 3122|     76|    if (value)
  ------------------
  |  Branch (3122:9): [True: 2, False: 74]
  ------------------
 3123|      2|        VISIT(st, expr, value);
  ------------------
  |  | 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]
  |  |  ------------------
  ------------------
 3124|     76|    VISIT(st, expr, elt);
  ------------------
  |  | 1726|     76|    do { \
  |  | 1727|     76|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 76]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|     76|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 76]
  |  |  ------------------
  ------------------
 3125|     76|    st->st_cur->ste_generator = is_generator;
 3126|     76|    int is_async = st->st_cur->ste_coroutine && !is_generator;
  ------------------
  |  Branch (3126:20): [True: 0, False: 76]
  |  Branch (3126:49): [True: 0, False: 0]
  ------------------
 3127|     76|    if (!symtable_exit_block(st)) {
  ------------------
  |  Branch (3127:9): [True: 0, False: 76]
  ------------------
 3128|      0|        return 0;
 3129|      0|    }
 3130|     76|    if (is_async &&
  ------------------
  |  Branch (3130:9): [True: 0, False: 76]
  ------------------
 3131|      0|        !IS_ASYNC_DEF(st) &&
  ------------------
  |  |   90|     76|#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]
  |  |  ------------------
  ------------------
 3132|      0|        st->st_cur->ste_comprehension == NoComprehension &&
  ------------------
  |  Branch (3132:9): [True: 0, False: 0]
  ------------------
 3133|      0|        !allows_top_level_await(st))
  ------------------
  |  Branch (3133:9): [True: 0, False: 0]
  ------------------
 3134|      0|    {
 3135|      0|        PyErr_SetString(PyExc_SyntaxError, "asynchronous comprehension outside of "
 3136|      0|                                           "an asynchronous function");
 3137|      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)
  ------------------
 3138|      0|        return 0;
 3139|      0|    }
 3140|     76|    if (is_async) {
  ------------------
  |  Branch (3140:9): [True: 0, False: 76]
  ------------------
 3141|      0|        st->st_cur->ste_coroutine = 1;
 3142|      0|    }
 3143|     76|    return 1;
 3144|     76|}
symtable.c:symtable_implicit_arg:
 2818|     76|{
 2819|     76|    PyObject *id = PyUnicode_FromFormat(".%d", pos);
 2820|     76|    if (id == NULL)
  ------------------
  |  Branch (2820:9): [True: 0, False: 76]
  ------------------
 2821|      0|        return 0;
 2822|     76|    if (!symtable_add_def(st, id, DEF_PARAM, st->st_cur->ste_loc)) {
  ------------------
  |  |  167|     76|#define DEF_PARAM (2<<1)         /* formal parameter */
  ------------------
  |  Branch (2822:9): [True: 0, False: 76]
  ------------------
 2823|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2824|      0|        return 0;
 2825|      0|    }
 2826|     76|    Py_DECREF(id);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2827|     76|    return 1;
 2828|     76|}
symtable.c:symtable_visit_comprehension:
 3052|      1|{
 3053|      1|    st->st_cur->ste_comp_iter_target = 1;
 3054|      1|    VISIT(st, expr, lc->target);
  ------------------
  |  | 1726|      1|    do { \
  |  | 1727|      1|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 1]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|      1|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 1]
  |  |  ------------------
  ------------------
 3055|      1|    st->st_cur->ste_comp_iter_target = 0;
 3056|      1|    st->st_cur->ste_comp_iter_expr++;
 3057|      1|    VISIT(st, expr, lc->iter);
  ------------------
  |  | 1726|      1|    do { \
  |  | 1727|      1|        if (!symtable_visit_ ## TYPE((ST), (V))) { \
  |  |  ------------------
  |  |  |  Branch (1727:13): [True: 0, False: 1]
  |  |  ------------------
  |  | 1728|      0|            return 0; \
  |  | 1729|      0|        } \
  |  | 1730|      1|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1730:13): [Folded, False: 1]
  |  |  ------------------
  ------------------
 3058|      1|    st->st_cur->ste_comp_iter_expr--;
 3059|      1|    VISIT_SEQ(st, expr, lc->ifs);
  ------------------
  |  | 1733|      1|    do { \
  |  | 1734|      1|        Py_ssize_t i; \
  |  | 1735|      1|        asdl_ ## TYPE ## _seq *seq = (SEQ); /* avoid variable capture */ \
  |  | 1736|      1|        for (i = 0; i < asdl_seq_LEN(seq); i++) { \
  |  |  ------------------
  |  |  |  |   83|      1|#define asdl_seq_LEN(S) _Py_RVALUE(((S) == NULL ? 0 : (S)->size))
  |  |  |  |  ------------------
  |  |  |  |  |  |  277|      2|#define _Py_RVALUE(EXPR) ((void)0, (EXPR))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (277:37): [True: 0, False: 1]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (1736:21): [True: 0, False: 1]
  |  |  ------------------
  |  | 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|      1|    } while(0)
  |  |  ------------------
  |  |  |  Branch (1741:13): [Folded, False: 1]
  |  |  ------------------
  ------------------
 3060|      1|    if (lc->is_async) {
  ------------------
  |  Branch (3060:9): [True: 0, False: 1]
  ------------------
 3061|      0|        st->st_cur->ste_coroutine = 1;
 3062|      0|    }
 3063|      1|    return 1;
 3064|      1|}
symtable.c:symtable_visit_listcomp:
 3156|     35|{
 3157|     35|    return symtable_handle_comprehension(st, e, &_Py_STR(anon_listcomp),
  ------------------
  |  |  917|     35|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|     35|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|     35|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3158|     35|                                         e->v.ListComp.generators,
 3159|       |                                         e->v.ListComp.elt, NULL);
 3160|     35|}
symtable.c:symtable_visit_setcomp:
 3164|      7|{
 3165|      7|    return symtable_handle_comprehension(st, e, &_Py_STR(anon_setcomp),
  ------------------
  |  |  917|      7|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      7|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      7|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3166|      7|                                         e->v.SetComp.generators,
 3167|       |                                         e->v.SetComp.elt, NULL);
 3168|      7|}
symtable.c:symtable_visit_dictcomp:
 3172|      2|{
 3173|      2|    return symtable_handle_comprehension(st, e, &_Py_STR(anon_dictcomp),
  ------------------
  |  |  917|      2|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3174|      2|                                         e->v.DictComp.generators,
 3175|      2|                                         e->v.DictComp.key,
 3176|      2|                                         e->v.DictComp.value);
 3177|      2|}

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|    364|{
  375|    364|    va_list vargs;
  376|    364|    va_start(vargs, argFormat);
  377|    364|    int res = sys_audit_tstate(tstate, event, argFormat, vargs);
  378|       |    va_end(vargs);
  379|    364|    return res;
  380|    364|}
PySys_Audit:
  384|   284k|{
  385|   284k|    PyThreadState *tstate = _PyThreadState_GET();
  386|   284k|    va_list vargs;
  387|   284k|    va_start(vargs, argFormat);
  388|   284k|    int res = sys_audit_tstate(tstate, event, argFormat, vargs);
  389|       |    va_end(vargs);
  390|   284k|    return res;
  391|   284k|}
_PySys_ReadPreinitWarnOptions:
 3123|      2|{
 3124|      2|    PyStatus status;
 3125|      2|    _Py_PreInitEntry entry;
 3126|       |
 3127|      2|    for (entry = _preinit_warnoptions; entry != NULL; entry = entry->next) {
  ------------------
  |  Branch (3127:40): [True: 0, False: 2]
  ------------------
 3128|      0|        status = PyWideStringList_Append(options, entry->value);
 3129|      0|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3130|      0|            return status;
 3131|      0|        }
 3132|      0|    }
 3133|       |
 3134|      2|    _clear_preinit_entries(&_preinit_warnoptions);
 3135|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3136|      2|}
_PySys_ReadPreinitXOptions:
 3141|      2|{
 3142|      2|    PyStatus status;
 3143|      2|    _Py_PreInitEntry entry;
 3144|       |
 3145|      2|    for (entry = _preinit_xoptions; entry != NULL; entry = entry->next) {
  ------------------
  |  Branch (3145:37): [True: 0, False: 2]
  ------------------
 3146|      0|        status = PyWideStringList_Append(&config->xoptions, entry->value);
 3147|      0|        if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      0|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 0]
  |  |  ------------------
  ------------------
 3148|      0|            return status;
 3149|      0|        }
 3150|      0|    }
 3151|       |
 3152|      2|    _clear_preinit_entries(&_preinit_xoptions);
 3153|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 3154|      2|}
_PySys_UpdateConfig:
 4140|      2|{
 4141|      2|    PyInterpreterState *interp = tstate->interp;
 4142|      2|    PyObject *sysdict = interp->sysdict;
 4143|      2|    const PyConfig *config = _PyInterpreterState_GetConfig(interp);
 4144|      2|    int res;
 4145|       |
 4146|      2|#define COPY_LIST(KEY, VALUE) \
 4147|      2|        SET_SYS(KEY, _PyWideStringList_AsList(&(VALUE)));
 4148|       |
 4149|      2|#define SET_SYS_FROM_WSTR(KEY, VALUE) \
 4150|      2|        SET_SYS(KEY, PyUnicode_FromWideChar(VALUE, -1));
 4151|       |
 4152|      2|#define COPY_WSTR(SYS_ATTR, WSTR) \
 4153|      2|    if (WSTR != NULL) { \
 4154|      2|        SET_SYS_FROM_WSTR(SYS_ATTR, WSTR); \
 4155|      2|    }
 4156|       |
 4157|      2|    if (config->module_search_paths_set) {
  ------------------
  |  Branch (4157:9): [True: 2, False: 0]
  ------------------
 4158|      2|        COPY_LIST("path", config->module_search_paths);
  ------------------
  |  | 4147|      2|        SET_SYS(KEY, _PyWideStringList_AsList(&(VALUE)));
  |  |  ------------------
  |  |  |  | 3992|      2|    do {                                                   \
  |  |  |  | 3993|      2|        PyObject *v = (value);                             \
  |  |  |  | 3994|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3995|      0|            goto err_occurred;                             \
  |  |  |  | 3996|      0|        }                                                  \
  |  |  |  | 3997|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 3998|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3999|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3999:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 4000|      0|            goto err_occurred;                             \
  |  |  |  | 4001|      0|        }                                                  \
  |  |  |  | 4002|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4002:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4159|      2|    }
 4160|       |
 4161|      2|    COPY_WSTR("executable", config->executable);
  ------------------
  |  | 4153|      2|    if (WSTR != NULL) { \
  |  |  ------------------
  |  |  |  Branch (4153:9): [True: 2, False: 0]
  |  |  ------------------
  |  | 4154|      2|        SET_SYS_FROM_WSTR(SYS_ATTR, WSTR); \
  |  |  ------------------
  |  |  |  | 4150|      2|        SET_SYS(KEY, PyUnicode_FromWideChar(VALUE, -1));
  |  |  |  |  ------------------
  |  |  |  |  |  | 3992|      2|    do {                                                   \
  |  |  |  |  |  | 3993|      2|        PyObject *v = (value);                             \
  |  |  |  |  |  | 3994|      2|        if (v == NULL) {                                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3995|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 3996|      0|        }                                                  \
  |  |  |  |  |  | 3997|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  |  |  | 3998|      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))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3999|      2|        if (res < 0) {                                     \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3999:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4000|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 4001|      0|        }                                                  \
  |  |  |  |  |  | 4002|      2|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4002:14): [Folded, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4155|      2|    }
  ------------------
 4162|      2|    COPY_WSTR("_base_executable", config->base_executable);
  ------------------
  |  | 4153|      2|    if (WSTR != NULL) { \
  |  |  ------------------
  |  |  |  Branch (4153:9): [True: 2, False: 0]
  |  |  ------------------
  |  | 4154|      2|        SET_SYS_FROM_WSTR(SYS_ATTR, WSTR); \
  |  |  ------------------
  |  |  |  | 4150|      2|        SET_SYS(KEY, PyUnicode_FromWideChar(VALUE, -1));
  |  |  |  |  ------------------
  |  |  |  |  |  | 3992|      2|    do {                                                   \
  |  |  |  |  |  | 3993|      2|        PyObject *v = (value);                             \
  |  |  |  |  |  | 3994|      2|        if (v == NULL) {                                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3995|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 3996|      0|        }                                                  \
  |  |  |  |  |  | 3997|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  |  |  | 3998|      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))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3999|      2|        if (res < 0) {                                     \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3999:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4000|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 4001|      0|        }                                                  \
  |  |  |  |  |  | 4002|      2|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4002:14): [Folded, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4155|      2|    }
  ------------------
 4163|      2|    COPY_WSTR("prefix", config->prefix);
  ------------------
  |  | 4153|      2|    if (WSTR != NULL) { \
  |  |  ------------------
  |  |  |  Branch (4153:9): [True: 2, False: 0]
  |  |  ------------------
  |  | 4154|      2|        SET_SYS_FROM_WSTR(SYS_ATTR, WSTR); \
  |  |  ------------------
  |  |  |  | 4150|      2|        SET_SYS(KEY, PyUnicode_FromWideChar(VALUE, -1));
  |  |  |  |  ------------------
  |  |  |  |  |  | 3992|      2|    do {                                                   \
  |  |  |  |  |  | 3993|      2|        PyObject *v = (value);                             \
  |  |  |  |  |  | 3994|      2|        if (v == NULL) {                                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3995|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 3996|      0|        }                                                  \
  |  |  |  |  |  | 3997|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  |  |  | 3998|      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))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3999|      2|        if (res < 0) {                                     \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3999:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4000|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 4001|      0|        }                                                  \
  |  |  |  |  |  | 4002|      2|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4002:14): [Folded, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4155|      2|    }
  ------------------
 4164|      2|    COPY_WSTR("base_prefix", config->base_prefix);
  ------------------
  |  | 4153|      2|    if (WSTR != NULL) { \
  |  |  ------------------
  |  |  |  Branch (4153:9): [True: 2, False: 0]
  |  |  ------------------
  |  | 4154|      2|        SET_SYS_FROM_WSTR(SYS_ATTR, WSTR); \
  |  |  ------------------
  |  |  |  | 4150|      2|        SET_SYS(KEY, PyUnicode_FromWideChar(VALUE, -1));
  |  |  |  |  ------------------
  |  |  |  |  |  | 3992|      2|    do {                                                   \
  |  |  |  |  |  | 3993|      2|        PyObject *v = (value);                             \
  |  |  |  |  |  | 3994|      2|        if (v == NULL) {                                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3995|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 3996|      0|        }                                                  \
  |  |  |  |  |  | 3997|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  |  |  | 3998|      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))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3999|      2|        if (res < 0) {                                     \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3999:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4000|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 4001|      0|        }                                                  \
  |  |  |  |  |  | 4002|      2|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4002:14): [Folded, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4155|      2|    }
  ------------------
 4165|      2|    COPY_WSTR("exec_prefix", config->exec_prefix);
  ------------------
  |  | 4153|      2|    if (WSTR != NULL) { \
  |  |  ------------------
  |  |  |  Branch (4153:9): [True: 2, False: 0]
  |  |  ------------------
  |  | 4154|      2|        SET_SYS_FROM_WSTR(SYS_ATTR, WSTR); \
  |  |  ------------------
  |  |  |  | 4150|      2|        SET_SYS(KEY, PyUnicode_FromWideChar(VALUE, -1));
  |  |  |  |  ------------------
  |  |  |  |  |  | 3992|      2|    do {                                                   \
  |  |  |  |  |  | 3993|      2|        PyObject *v = (value);                             \
  |  |  |  |  |  | 3994|      2|        if (v == NULL) {                                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3995|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 3996|      0|        }                                                  \
  |  |  |  |  |  | 3997|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  |  |  | 3998|      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))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3999|      2|        if (res < 0) {                                     \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3999:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4000|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 4001|      0|        }                                                  \
  |  |  |  |  |  | 4002|      2|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4002:14): [Folded, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4155|      2|    }
  ------------------
 4166|      2|    COPY_WSTR("base_exec_prefix", config->base_exec_prefix);
  ------------------
  |  | 4153|      2|    if (WSTR != NULL) { \
  |  |  ------------------
  |  |  |  Branch (4153:9): [True: 2, False: 0]
  |  |  ------------------
  |  | 4154|      2|        SET_SYS_FROM_WSTR(SYS_ATTR, WSTR); \
  |  |  ------------------
  |  |  |  | 4150|      2|        SET_SYS(KEY, PyUnicode_FromWideChar(VALUE, -1));
  |  |  |  |  ------------------
  |  |  |  |  |  | 3992|      2|    do {                                                   \
  |  |  |  |  |  | 3993|      2|        PyObject *v = (value);                             \
  |  |  |  |  |  | 3994|      2|        if (v == NULL) {                                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3995|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 3996|      0|        }                                                  \
  |  |  |  |  |  | 3997|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  |  |  | 3998|      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))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3999|      2|        if (res < 0) {                                     \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3999:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4000|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 4001|      0|        }                                                  \
  |  |  |  |  |  | 4002|      2|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4002:14): [Folded, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4155|      2|    }
  ------------------
 4167|      2|    COPY_WSTR("platlibdir", config->platlibdir);
  ------------------
  |  | 4153|      2|    if (WSTR != NULL) { \
  |  |  ------------------
  |  |  |  Branch (4153:9): [True: 2, False: 0]
  |  |  ------------------
  |  | 4154|      2|        SET_SYS_FROM_WSTR(SYS_ATTR, WSTR); \
  |  |  ------------------
  |  |  |  | 4150|      2|        SET_SYS(KEY, PyUnicode_FromWideChar(VALUE, -1));
  |  |  |  |  ------------------
  |  |  |  |  |  | 3992|      2|    do {                                                   \
  |  |  |  |  |  | 3993|      2|        PyObject *v = (value);                             \
  |  |  |  |  |  | 3994|      2|        if (v == NULL) {                                   \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3995|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 3996|      0|        }                                                  \
  |  |  |  |  |  | 3997|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  |  |  | 3998|      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))
  |  |  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 3999|      2|        if (res < 0) {                                     \
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (3999:13): [True: 0, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  | 4000|      0|            goto err_occurred;                             \
  |  |  |  |  |  | 4001|      0|        }                                                  \
  |  |  |  |  |  | 4002|      2|    } while (0)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  Branch (4002:14): [Folded, False: 2]
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 4155|      2|    }
  ------------------
 4168|       |
 4169|      2|    if (config->pycache_prefix != NULL) {
  ------------------
  |  Branch (4169:9): [True: 0, False: 2]
  ------------------
 4170|      0|        SET_SYS_FROM_WSTR("pycache_prefix", config->pycache_prefix);
  ------------------
  |  | 4150|      0|        SET_SYS(KEY, PyUnicode_FromWideChar(VALUE, -1));
  |  |  ------------------
  |  |  |  | 3992|      0|    do {                                                   \
  |  |  |  | 3993|      0|        PyObject *v = (value);                             \
  |  |  |  | 3994|      0|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3994:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 3995|      0|            goto err_occurred;                             \
  |  |  |  | 3996|      0|        }                                                  \
  |  |  |  | 3997|      0|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 3998|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3999|      0|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3999:13): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 4000|      0|            goto err_occurred;                             \
  |  |  |  | 4001|      0|        }                                                  \
  |  |  |  | 4002|      0|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4002:14): [Folded, False: 0]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4171|      2|    } else {
 4172|      2|        if (PyDict_SetItemString(sysdict, "pycache_prefix", Py_None) < 0) {
  ------------------
  |  |  616|      2|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (4172:13): [True: 0, False: 2]
  ------------------
 4173|      0|            return -1;
 4174|      0|        }
 4175|      2|    }
 4176|       |
 4177|      2|    COPY_LIST("argv", config->argv);
  ------------------
  |  | 4147|      2|        SET_SYS(KEY, _PyWideStringList_AsList(&(VALUE)));
  |  |  ------------------
  |  |  |  | 3992|      2|    do {                                                   \
  |  |  |  | 3993|      2|        PyObject *v = (value);                             \
  |  |  |  | 3994|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3995|      0|            goto err_occurred;                             \
  |  |  |  | 3996|      0|        }                                                  \
  |  |  |  | 3997|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 3998|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3999|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3999:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 4000|      0|            goto err_occurred;                             \
  |  |  |  | 4001|      0|        }                                                  \
  |  |  |  | 4002|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4002:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4178|      2|    COPY_LIST("orig_argv", config->orig_argv);
  ------------------
  |  | 4147|      2|        SET_SYS(KEY, _PyWideStringList_AsList(&(VALUE)));
  |  |  ------------------
  |  |  |  | 3992|      2|    do {                                                   \
  |  |  |  | 3993|      2|        PyObject *v = (value);                             \
  |  |  |  | 3994|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3995|      0|            goto err_occurred;                             \
  |  |  |  | 3996|      0|        }                                                  \
  |  |  |  | 3997|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 3998|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3999|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3999:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 4000|      0|            goto err_occurred;                             \
  |  |  |  | 4001|      0|        }                                                  \
  |  |  |  | 4002|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4002:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4179|      2|    COPY_LIST("warnoptions", config->warnoptions);
  ------------------
  |  | 4147|      2|        SET_SYS(KEY, _PyWideStringList_AsList(&(VALUE)));
  |  |  ------------------
  |  |  |  | 3992|      2|    do {                                                   \
  |  |  |  | 3993|      2|        PyObject *v = (value);                             \
  |  |  |  | 3994|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3995|      0|            goto err_occurred;                             \
  |  |  |  | 3996|      0|        }                                                  \
  |  |  |  | 3997|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 3998|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3999|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3999:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 4000|      0|            goto err_occurred;                             \
  |  |  |  | 4001|      0|        }                                                  \
  |  |  |  | 4002|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4002:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4180|       |
 4181|      2|    SET_SYS("_xoptions", _PyConfig_CreateXOptionsDict(config));
  ------------------
  |  | 3992|      2|    do {                                                   \
  |  | 3993|      2|        PyObject *v = (value);                             \
  |  | 3994|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3995|      0|            goto err_occurred;                             \
  |  | 3996|      0|        }                                                  \
  |  | 3997|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3998|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3999|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3999:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4000|      0|            goto err_occurred;                             \
  |  | 4001|      0|        }                                                  \
  |  | 4002|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4002:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4182|       |
 4183|      2|    const wchar_t *stdlibdir = _Py_GetStdlibDir();
 4184|      2|    if (stdlibdir != NULL) {
  ------------------
  |  Branch (4184:9): [True: 2, False: 0]
  ------------------
 4185|      2|        SET_SYS_FROM_WSTR("_stdlib_dir", stdlibdir);
  ------------------
  |  | 4150|      2|        SET_SYS(KEY, PyUnicode_FromWideChar(VALUE, -1));
  |  |  ------------------
  |  |  |  | 3992|      2|    do {                                                   \
  |  |  |  | 3993|      2|        PyObject *v = (value);                             \
  |  |  |  | 3994|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3995|      0|            goto err_occurred;                             \
  |  |  |  | 3996|      0|        }                                                  \
  |  |  |  | 3997|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 3998|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3999|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3999:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 4000|      0|            goto err_occurred;                             \
  |  |  |  | 4001|      0|        }                                                  \
  |  |  |  | 4002|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4002:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4186|      2|    }
 4187|      0|    else {
 4188|      0|        if (PyDict_SetItemString(sysdict, "_stdlib_dir", Py_None) < 0) {
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
  |  Branch (4188:13): [True: 0, False: 0]
  ------------------
 4189|      0|            return -1;
 4190|      0|        }
 4191|      0|    }
 4192|       |
 4193|      2|#undef SET_SYS_FROM_WSTR
 4194|      2|#undef COPY_LIST
 4195|      2|#undef COPY_WSTR
 4196|       |
 4197|       |    // sys.flags
 4198|      2|    PyObject *flags = PySys_GetAttrString("flags");
 4199|      2|    if (flags == NULL) {
  ------------------
  |  Branch (4199:9): [True: 0, False: 2]
  ------------------
 4200|      0|        return -1;
 4201|      0|    }
 4202|      2|    if (set_flags_from_config(interp, flags) < 0) {
  ------------------
  |  Branch (4202:9): [True: 0, False: 2]
  ------------------
 4203|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4204|      0|        return -1;
 4205|      0|    }
 4206|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4207|       |
 4208|      2|    SET_SYS("dont_write_bytecode", PyBool_FromLong(!config->write_bytecode));
  ------------------
  |  | 3992|      2|    do {                                                   \
  |  | 3993|      2|        PyObject *v = (value);                             \
  |  | 3994|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3995|      0|            goto err_occurred;                             \
  |  | 3996|      0|        }                                                  \
  |  | 3997|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3998|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3999|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3999:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4000|      0|            goto err_occurred;                             \
  |  | 4001|      0|        }                                                  \
  |  | 4002|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4002:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4209|       |
 4210|      2|    if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (4210:9): [True: 0, False: 2]
  ------------------
 4211|      0|        goto err_occurred;
 4212|      0|    }
 4213|       |
 4214|      2|    return 0;
 4215|       |
 4216|      0|err_occurred:
 4217|      0|    return -1;
 4218|      2|}
_PySys_Create:
 4323|      2|{
 4324|      2|    assert(!_PyErr_Occurred(tstate));
 4325|       |
 4326|      2|    PyInterpreterState *interp = tstate->interp;
 4327|       |
 4328|      2|    PyObject *modules = _PyImport_InitModules(interp);
 4329|      2|    if (modules == NULL) {
  ------------------
  |  Branch (4329:9): [True: 0, False: 2]
  ------------------
 4330|      0|        goto error;
 4331|      0|    }
 4332|       |
 4333|      2|    PyObject *sysmod = _PyModule_CreateInitialized(&sysmodule, PYTHON_API_VERSION);
  ------------------
  |  |   59|      2|#define PYTHON_API_VERSION 1013
  ------------------
 4334|      2|    if (sysmod == NULL) {
  ------------------
  |  Branch (4334:9): [True: 0, False: 2]
  ------------------
 4335|      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)}
  ------------------
 4336|      0|    }
 4337|       |#ifdef Py_GIL_DISABLED
 4338|       |    PyUnstable_Module_SetGIL(sysmod, Py_MOD_GIL_NOT_USED);
 4339|       |#endif
 4340|       |
 4341|      2|    PyObject *sysdict = PyModule_GetDict(sysmod);
 4342|      2|    if (sysdict == NULL) {
  ------------------
  |  Branch (4342:9): [True: 0, False: 2]
  ------------------
 4343|      0|        goto error;
 4344|      0|    }
 4345|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4346|       |
 4347|      2|    interp->sysdict_copy = PyDict_Copy(sysdict);
 4348|      2|    if (interp->sysdict_copy == NULL) {
  ------------------
  |  Branch (4348:9): [True: 0, False: 2]
  ------------------
 4349|      0|        goto error;
 4350|      0|    }
 4351|       |
 4352|      2|    if (PyDict_SetItemString(sysdict, "modules", modules) < 0) {
  ------------------
  |  Branch (4352:9): [True: 0, False: 2]
  ------------------
 4353|      0|        goto error;
 4354|      0|    }
 4355|       |
 4356|      2|    PyObject *lazy_modules = _PyImport_InitLazyModules(interp); // borrowed reference
 4357|      2|    if (lazy_modules == NULL) {
  ------------------
  |  Branch (4357:9): [True: 0, False: 2]
  ------------------
 4358|      0|        goto error;
 4359|      0|    }
 4360|       |
 4361|      2|    if (PyDict_SetItemString(sysdict, "lazy_modules", lazy_modules) < 0) {
  ------------------
  |  Branch (4361:9): [True: 0, False: 2]
  ------------------
 4362|      0|        goto error;
 4363|      0|    }
 4364|       |
 4365|      2|    PyStatus status = _PySys_SetPreliminaryStderr(sysdict);
 4366|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 4367|      0|        return status;
 4368|      0|    }
 4369|       |
 4370|      2|    status = _PySys_InitCore(tstate, sysdict);
 4371|      2|    if (_PyStatus_EXCEPTION(status)) {
  ------------------
  |  |   43|      2|    ((err)._type != _PyStatus_TYPE_OK)
  |  |  ------------------
  |  |  |  Branch (43:5): [True: 0, False: 2]
  |  |  ------------------
  ------------------
 4372|      0|        return status;
 4373|      0|    }
 4374|       |
 4375|      2|    if (_PyImport_FixupBuiltin(tstate, sysmod, "sys", modules) < 0) {
  ------------------
  |  Branch (4375:9): [True: 0, False: 2]
  ------------------
 4376|      0|        goto error;
 4377|      0|    }
 4378|       |
 4379|      2|    PyObject *monitoring = _Py_CreateMonitoringObject();
 4380|      2|    if (monitoring == NULL) {
  ------------------
  |  Branch (4380:9): [True: 0, False: 2]
  ------------------
 4381|      0|        goto error;
 4382|      0|    }
 4383|      2|    int err = PyDict_SetItemString(sysdict, "monitoring", monitoring);
 4384|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4385|      2|    if (err < 0) {
  ------------------
  |  Branch (4385:9): [True: 0, False: 2]
  ------------------
 4386|      0|        goto error;
 4387|      0|    }
 4388|       |
 4389|      2|    PyObject *_jit = _PyModule_CreateInitialized(&_jit_module, PYTHON_API_VERSION);
  ------------------
  |  |   59|      2|#define PYTHON_API_VERSION 1013
  ------------------
 4390|      2|    if (_jit == NULL) {
  ------------------
  |  Branch (4390:9): [True: 0, False: 2]
  ------------------
 4391|      0|        goto error;
 4392|      0|    }
 4393|      2|    err = PyDict_SetItemString(sysdict, "_jit", _jit);
 4394|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4395|      2|    if (err) {
  ------------------
  |  Branch (4395:9): [True: 0, False: 2]
  ------------------
 4396|      0|        goto error;
 4397|      0|    }
 4398|       |
 4399|      2|    assert(!_PyErr_Occurred(tstate));
 4400|       |
 4401|      2|    *sysmod_p = sysmod;
 4402|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 4403|       |
 4404|      0|error:
 4405|      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)}
  ------------------
 4406|      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|   285k|{
  248|   285k|    assert(event != NULL);
  249|   285k|    assert(!argFormat || !strchr(argFormat, 'N'));
  250|       |
  251|   285k|    if (!ts) {
  ------------------
  |  Branch (251:9): [True: 0, False: 285k]
  ------------------
  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|   285k|    assert(ts == _PyThreadState_GET());
  259|       |
  260|       |    /* Early exit when no hooks are registered */
  261|   285k|    PyInterpreterState *is = ts->interp;
  262|   285k|    if (!should_audit(is)) {
  ------------------
  |  Branch (262:9): [True: 285k, False: 0]
  ------------------
  263|   285k|        return 0;
  264|   285k|    }
  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);
  ------------------
  |  |  915|      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|   292k|{
  233|       |    /* interp must not be NULL, but test it just in case for extra safety */
  234|   292k|    assert(interp != NULL);
  235|   292k|    if (!interp) {
  ------------------
  |  Branch (235:9): [True: 0, False: 292k]
  ------------------
  236|      0|        return 0;
  237|      0|    }
  238|   292k|    return (interp->runtime->audit_hooks.head
  ------------------
  |  Branch (238:13): [True: 0, False: 292k]
  ------------------
  239|   292k|            || interp->audit_hooks
  ------------------
  |  Branch (239:16): [True: 0, False: 292k]
  ------------------
  240|   292k|            || PyDTrace_AUDIT_ENABLED());
  ------------------
  |  Branch (240:16): [True: 0, False: 292k]
  ------------------
  241|   292k|}
sysmodule.c:_clear_preinit_entries:
 3108|      4|{
 3109|      4|    _Py_PreInitEntry current = *optionlist;
 3110|      4|    *optionlist = NULL;
 3111|       |    /* Deallocate the nodes and their contents using the default allocator */
 3112|      4|    while (current != NULL) {
  ------------------
  |  Branch (3112:12): [True: 0, False: 4]
  ------------------
 3113|      0|        _Py_PreInitEntry next = current->next;
 3114|      0|        _PyMem_DefaultRawFree(current->value);
 3115|      0|        _PyMem_DefaultRawFree(current);
 3116|      0|        current = next;
 3117|      0|    }
 3118|      4|}
sysmodule.c:sys_set_flag:
 3522|     88|{
 3523|     88|    assert(pos >= 0 && pos < (Py_ssize_t)(Py_ARRAY_LENGTH(flags_fields) - 1));
 3524|       |
 3525|     88|    PyObject *old_value = PyStructSequence_GET_ITEM(flags, pos);
  ------------------
  |  |   12|     88|#define PyStructSequence_GET_ITEM PyStructSequence_GetItem
  ------------------
 3526|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3527|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3528|     88|}
sysmodule.c:set_flags_from_config:
 3561|      4|{
 3562|      4|    const PyPreConfig *preconfig = &interp->runtime->preconfig;
 3563|      4|    const PyConfig *config = _PyInterpreterState_GetConfig(interp);
 3564|       |
 3565|       |    // _PySys_UpdateConfig() modifies sys.flags in-place:
 3566|       |    // Py_XDECREF() is needed in this case.
 3567|      4|    Py_ssize_t pos = 0;
 3568|      4|#define SetFlagObj(expr) \
 3569|      4|    do { \
 3570|      4|        PyObject *value = (expr); \
 3571|      4|        if (value == NULL) { \
 3572|      4|            return -1; \
 3573|      4|        } \
 3574|      4|        sys_set_flag(flags, pos, value); \
 3575|      4|        Py_DECREF(value); \
 3576|      4|        pos++; \
 3577|      4|    } while (0)
 3578|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
 3579|       |
 3580|      4|    SetFlag(config->parser_debug);
  ------------------
  |  | 3578|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3569|      4|    do { \
  |  |  |  | 3570|      4|        PyObject *value = (expr); \
  |  |  |  | 3571|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3571:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3572|      0|            return -1; \
  |  |  |  | 3573|      0|        } \
  |  |  |  | 3574|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3575|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3576|      4|        pos++; \
  |  |  |  | 3577|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3577:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3581|      4|    SetFlag(config->inspect);
  ------------------
  |  | 3578|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3569|      4|    do { \
  |  |  |  | 3570|      4|        PyObject *value = (expr); \
  |  |  |  | 3571|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3571:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3572|      0|            return -1; \
  |  |  |  | 3573|      0|        } \
  |  |  |  | 3574|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3575|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3576|      4|        pos++; \
  |  |  |  | 3577|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3577:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3582|      4|    SetFlag(config->interactive);
  ------------------
  |  | 3578|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3569|      4|    do { \
  |  |  |  | 3570|      4|        PyObject *value = (expr); \
  |  |  |  | 3571|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3571:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3572|      0|            return -1; \
  |  |  |  | 3573|      0|        } \
  |  |  |  | 3574|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3575|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3576|      4|        pos++; \
  |  |  |  | 3577|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3577:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3583|      4|    SetFlag(config->optimization_level);
  ------------------
  |  | 3578|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3569|      4|    do { \
  |  |  |  | 3570|      4|        PyObject *value = (expr); \
  |  |  |  | 3571|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3571:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3572|      0|            return -1; \
  |  |  |  | 3573|      0|        } \
  |  |  |  | 3574|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3575|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3576|      4|        pos++; \
  |  |  |  | 3577|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3577:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3584|      4|    SetFlag(!config->write_bytecode);
  ------------------
  |  | 3578|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3569|      4|    do { \
  |  |  |  | 3570|      4|        PyObject *value = (expr); \
  |  |  |  | 3571|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3571:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3572|      0|            return -1; \
  |  |  |  | 3573|      0|        } \
  |  |  |  | 3574|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3575|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3576|      4|        pos++; \
  |  |  |  | 3577|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3577:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3585|      4|    SetFlag(!config->user_site_directory);
  ------------------
  |  | 3578|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3569|      4|    do { \
  |  |  |  | 3570|      4|        PyObject *value = (expr); \
  |  |  |  | 3571|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3571:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3572|      0|            return -1; \
  |  |  |  | 3573|      0|        } \
  |  |  |  | 3574|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3575|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3576|      4|        pos++; \
  |  |  |  | 3577|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3577:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3586|      4|    SetFlag(!config->site_import);
  ------------------
  |  | 3578|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3569|      4|    do { \
  |  |  |  | 3570|      4|        PyObject *value = (expr); \
  |  |  |  | 3571|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3571:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3572|      0|            return -1; \
  |  |  |  | 3573|      0|        } \
  |  |  |  | 3574|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3575|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3576|      4|        pos++; \
  |  |  |  | 3577|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3577:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3587|      4|    SetFlag(!config->use_environment);
  ------------------
  |  | 3578|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3569|      4|    do { \
  |  |  |  | 3570|      4|        PyObject *value = (expr); \
  |  |  |  | 3571|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3571:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3572|      0|            return -1; \
  |  |  |  | 3573|      0|        } \
  |  |  |  | 3574|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3575|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3576|      4|        pos++; \
  |  |  |  | 3577|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3577:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3588|      4|    SetFlag(config->verbose);
  ------------------
  |  | 3578|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3569|      4|    do { \
  |  |  |  | 3570|      4|        PyObject *value = (expr); \
  |  |  |  | 3571|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3571:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3572|      0|            return -1; \
  |  |  |  | 3573|      0|        } \
  |  |  |  | 3574|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3575|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3576|      4|        pos++; \
  |  |  |  | 3577|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3577:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3589|      4|    SetFlag(config->bytes_warning);
  ------------------
  |  | 3578|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3569|      4|    do { \
  |  |  |  | 3570|      4|        PyObject *value = (expr); \
  |  |  |  | 3571|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3571:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3572|      0|            return -1; \
  |  |  |  | 3573|      0|        } \
  |  |  |  | 3574|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3575|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3576|      4|        pos++; \
  |  |  |  | 3577|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3577:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3590|      4|    SetFlag(config->quiet);
  ------------------
  |  | 3578|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3569|      4|    do { \
  |  |  |  | 3570|      4|        PyObject *value = (expr); \
  |  |  |  | 3571|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3571:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3572|      0|            return -1; \
  |  |  |  | 3573|      0|        } \
  |  |  |  | 3574|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3575|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3576|      4|        pos++; \
  |  |  |  | 3577|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3577:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3591|      4|    SetFlag(config->use_hash_seed == 0 || config->hash_seed != 0);
  ------------------
  |  | 3578|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3569|      4|    do { \
  |  |  |  | 3570|      4|        PyObject *value = (expr); \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3570:28): [True: 4, False: 0]
  |  |  |  |  |  Branch (3570:28): [True: 0, False: 0]
  |  |  |  |  ------------------
  |  |  |  | 3571|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3571:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3572|      0|            return -1; \
  |  |  |  | 3573|      0|        } \
  |  |  |  | 3574|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3575|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3576|      4|        pos++; \
  |  |  |  | 3577|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3577:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3592|      4|    SetFlag(config->isolated);
  ------------------
  |  | 3578|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3569|      4|    do { \
  |  |  |  | 3570|      4|        PyObject *value = (expr); \
  |  |  |  | 3571|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3571:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3572|      0|            return -1; \
  |  |  |  | 3573|      0|        } \
  |  |  |  | 3574|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3575|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3576|      4|        pos++; \
  |  |  |  | 3577|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3577:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3593|      4|    SetFlagObj(PyBool_FromLong(config->dev_mode));
  ------------------
  |  | 3569|      4|    do { \
  |  | 3570|      4|        PyObject *value = (expr); \
  |  | 3571|      4|        if (value == NULL) { \
  |  |  ------------------
  |  |  |  Branch (3571:13): [True: 0, False: 4]
  |  |  ------------------
  |  | 3572|      0|            return -1; \
  |  | 3573|      0|        } \
  |  | 3574|      4|        sys_set_flag(flags, pos, value); \
  |  | 3575|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3576|      4|        pos++; \
  |  | 3577|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3577:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
 3594|      4|    SetFlag(preconfig->utf8_mode);
  ------------------
  |  | 3578|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3569|      4|    do { \
  |  |  |  | 3570|      4|        PyObject *value = (expr); \
  |  |  |  | 3571|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3571:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3572|      0|            return -1; \
  |  |  |  | 3573|      0|        } \
  |  |  |  | 3574|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3575|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3576|      4|        pos++; \
  |  |  |  | 3577|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3577:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3595|      4|    SetFlag(config->warn_default_encoding);
  ------------------
  |  | 3578|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3569|      4|    do { \
  |  |  |  | 3570|      4|        PyObject *value = (expr); \
  |  |  |  | 3571|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3571:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3572|      0|            return -1; \
  |  |  |  | 3573|      0|        } \
  |  |  |  | 3574|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3575|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3576|      4|        pos++; \
  |  |  |  | 3577|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3577:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3596|      4|    SetFlagObj(PyBool_FromLong(config->safe_path));
  ------------------
  |  | 3569|      4|    do { \
  |  | 3570|      4|        PyObject *value = (expr); \
  |  | 3571|      4|        if (value == NULL) { \
  |  |  ------------------
  |  |  |  Branch (3571:13): [True: 0, False: 4]
  |  |  ------------------
  |  | 3572|      0|            return -1; \
  |  | 3573|      0|        } \
  |  | 3574|      4|        sys_set_flag(flags, pos, value); \
  |  | 3575|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3576|      4|        pos++; \
  |  | 3577|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3577:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
 3597|      4|    SetFlag(config->int_max_str_digits);
  ------------------
  |  | 3578|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3569|      4|    do { \
  |  |  |  | 3570|      4|        PyObject *value = (expr); \
  |  |  |  | 3571|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3571:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3572|      0|            return -1; \
  |  |  |  | 3573|      0|        } \
  |  |  |  | 3574|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3575|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3576|      4|        pos++; \
  |  |  |  | 3577|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3577:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3598|       |#ifdef Py_GIL_DISABLED
 3599|       |    if (config->enable_gil == _PyConfig_GIL_DEFAULT) {
 3600|       |        SetFlagObj(Py_NewRef(Py_None));
 3601|       |    }
 3602|       |    else {
 3603|       |        SetFlag(config->enable_gil);
 3604|       |    }
 3605|       |#else
 3606|      4|    SetFlagObj(PyLong_FromLong(1));
  ------------------
  |  | 3569|      4|    do { \
  |  | 3570|      4|        PyObject *value = (expr); \
  |  | 3571|      4|        if (value == NULL) { \
  |  |  ------------------
  |  |  |  Branch (3571:13): [True: 0, False: 4]
  |  |  ------------------
  |  | 3572|      0|            return -1; \
  |  | 3573|      0|        } \
  |  | 3574|      4|        sys_set_flag(flags, pos, value); \
  |  | 3575|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3576|      4|        pos++; \
  |  | 3577|      4|    } while (0)
  |  |  ------------------
  |  |  |  Branch (3577:14): [Folded, False: 4]
  |  |  ------------------
  ------------------
 3607|      4|#endif
 3608|      4|    SetFlag(config->thread_inherit_context);
  ------------------
  |  | 3578|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3569|      4|    do { \
  |  |  |  | 3570|      4|        PyObject *value = (expr); \
  |  |  |  | 3571|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3571:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3572|      0|            return -1; \
  |  |  |  | 3573|      0|        } \
  |  |  |  | 3574|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3575|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3576|      4|        pos++; \
  |  |  |  | 3577|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3577:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3609|      4|    SetFlag(config->context_aware_warnings);
  ------------------
  |  | 3578|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3569|      4|    do { \
  |  |  |  | 3570|      4|        PyObject *value = (expr); \
  |  |  |  | 3571|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3571:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3572|      0|            return -1; \
  |  |  |  | 3573|      0|        } \
  |  |  |  | 3574|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3575|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3576|      4|        pos++; \
  |  |  |  | 3577|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3577:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3610|      4|    SetFlag(config->lazy_imports);
  ------------------
  |  | 3578|      4|#define SetFlag(expr) SetFlagObj(PyLong_FromLong(expr))
  |  |  ------------------
  |  |  |  | 3569|      4|    do { \
  |  |  |  | 3570|      4|        PyObject *value = (expr); \
  |  |  |  | 3571|      4|        if (value == NULL) { \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3571:13): [True: 0, False: 4]
  |  |  |  |  ------------------
  |  |  |  | 3572|      0|            return -1; \
  |  |  |  | 3573|      0|        } \
  |  |  |  | 3574|      4|        sys_set_flag(flags, pos, value); \
  |  |  |  | 3575|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3576|      4|        pos++; \
  |  |  |  | 3577|      4|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3577:14): [Folded, False: 4]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3611|      4|#undef SetFlagObj
 3612|      4|#undef SetFlag
 3613|      4|    return 0;
 3614|      4|}
sysmodule.c:sys_audit_impl:
  568|  7.54k|{
  569|  7.54k|    PyThreadState *tstate = _PyThreadState_GET();
  570|  7.54k|    _Py_EnsureTstateNotNULL(tstate);
  ------------------
  |  |  196|  7.54k|    _Py_EnsureFuncTstateNotNULL(__func__, (tstate))
  ------------------
  571|       |
  572|  7.54k|    if (!should_audit(tstate->interp)) {
  ------------------
  |  Branch (572:9): [True: 7.54k, False: 0]
  ------------------
  573|  7.54k|        Py_RETURN_NONE;
  ------------------
  |  |  628|  7.54k|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|  7.54k|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
  574|  7.54k|    }
  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|      4|{
  928|      4|    _Py_DECLARE_STR(utf_8, "utf-8");
  929|      4|    PyObject *ret = &_Py_STR(utf_8);
  ------------------
  |  |  917|      4|     (_Py_SINGLETON(strings.literals._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      4|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      4|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  930|      4|    return Py_NewRef(ret);
  ------------------
  |  |  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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  931|      4|}
sysmodule.c:sys_getfilesystemencoding_impl:
  955|      4|{
  956|      4|    PyInterpreterState *interp = _PyInterpreterState_GET();
  957|      4|    const PyConfig *config = _PyInterpreterState_GetConfig(interp);
  958|       |
  959|      4|    if (wcscmp(config->filesystem_encoding, L"utf-8") == 0) {
  ------------------
  |  Branch (959:9): [True: 4, False: 0]
  ------------------
  960|      4|        return get_utf8_unicode();
  961|      4|    }
  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:
 2028|      2|{
 2029|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2030|      2|}
sysmodule.c:sys_getrecursionlimit_impl:
 1617|    558|{
 1618|    558|    return PyLong_FromLong(Py_GetRecursionLimit());
 1619|    558|}
sysmodule.c:sys__getframe_impl:
 2104|    161|{
 2105|    161|    PyThreadState *tstate = _PyThreadState_GET();
 2106|    161|    _PyInterpreterFrame *frame = tstate->current_frame;
 2107|       |
 2108|    161|    if (frame != NULL) {
  ------------------
  |  Branch (2108:9): [True: 161, False: 0]
  ------------------
 2109|    479|        while (depth > 0) {
  ------------------
  |  Branch (2109:16): [True: 318, False: 161]
  ------------------
 2110|    318|            frame = _PyFrame_GetFirstComplete(frame->previous);
 2111|    318|            if (frame == NULL) {
  ------------------
  |  Branch (2111:17): [True: 0, False: 318]
  ------------------
 2112|      0|                break;
 2113|      0|            }
 2114|    318|            --depth;
 2115|    318|        }
 2116|    161|    }
 2117|    161|    if (frame == NULL) {
  ------------------
  |  Branch (2117:9): [True: 0, False: 161]
  ------------------
 2118|      0|        _PyErr_SetString(tstate, PyExc_ValueError,
 2119|      0|                         "call stack is not deep enough");
 2120|      0|        return NULL;
 2121|      0|    }
 2122|       |
 2123|    161|    PyObject *pyFrame = Py_XNewRef((PyObject *)_PyFrame_GetFrameObject(frame));
  ------------------
  |  |  551|    161|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|    161|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    161|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2124|    161|    if (pyFrame && _PySys_Audit(tstate, "sys._getframe", "(O)", pyFrame) < 0) {
  ------------------
  |  Branch (2124:9): [True: 161, False: 0]
  |  Branch (2124:20): [True: 0, False: 161]
  ------------------
 2125|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2126|      0|        return NULL;
 2127|      0|    }
 2128|    161|    return pyFrame;
 2129|    161|}
sysmodule.c:sys__getframemodulename_impl:
 2605|     60|{
 2606|     60|    if (PySys_Audit("sys._getframemodulename", "i", depth) < 0) {
  ------------------
  |  Branch (2606:9): [True: 0, False: 60]
  ------------------
 2607|      0|        return NULL;
 2608|      0|    }
 2609|     60|    _PyInterpreterFrame *f = _PyThreadState_GET()->current_frame;
 2610|    124|    while (f && (_PyFrame_IsIncomplete(f) || depth-- > 0)) {
  ------------------
  |  Branch (2610:12): [True: 124, False: 0]
  |  Branch (2610:18): [True: 0, False: 124]
  |  Branch (2610:46): [True: 64, False: 60]
  ------------------
 2611|     64|        f = f->previous;
 2612|     64|    }
 2613|     60|    if (f == NULL || PyStackRef_IsNull(f->f_funcobj)) {
  ------------------
  |  |  470|     60|#define PyStackRef_IsNull(ref) ((ref).bits == PyStackRef_NULL_BITS)
  |  |  ------------------
  |  |  |  |  467|     60|#define PyStackRef_NULL_BITS Py_TAG_REFCNT
  |  |  |  |  ------------------
  |  |  |  |  |  |   55|     60|#define Py_TAG_REFCNT 1
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  |  Branch (470:32): [True: 0, False: 60]
  |  |  ------------------
  ------------------
  |  Branch (2613:9): [True: 0, False: 60]
  ------------------
 2614|      0|        Py_RETURN_NONE;
  ------------------
  |  |  628|      0|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 2615|      0|    }
 2616|     60|    PyObject *func = PyStackRef_AsPyObjectBorrow(f->f_funcobj);
 2617|     60|    PyObject *r = PyFunction_GetModule(func);
 2618|     60|    if (!r) {
  ------------------
  |  Branch (2618:9): [True: 0, False: 60]
  ------------------
 2619|      0|        PyErr_Clear();
 2620|      0|        r = Py_None;
  ------------------
  |  |  616|      0|#  define Py_None (&_Py_NoneStruct)
  ------------------
 2621|      0|    }
 2622|     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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 2623|     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|    318|{
 1358|    318|    PyThreadState *tstate = _PyThreadState_GET();
 1359|       |
 1360|    318|    if (new_limit < 1) {
  ------------------
  |  Branch (1360:9): [True: 0, False: 318]
  ------------------
 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|    318|    int depth = tstate->py_recursion_limit - tstate->py_recursion_remaining;
 1369|    318|    if (depth >= new_limit) {
  ------------------
  |  Branch (1369:9): [True: 0, False: 318]
  ------------------
 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|    318|    Py_SetRecursionLimit(new_limit);
 1378|    318|    Py_RETURN_NONE;
  ------------------
  |  |  628|    318|#  define Py_RETURN_NONE return Py_None
  |  |  ------------------
  |  |  |  |  616|    318|#  define Py_None (&_Py_NoneStruct)
  |  |  ------------------
  ------------------
 1379|    318|}
sysmodule.c:sys__get_cpu_count_config_impl:
 2634|      2|{
 2635|      2|    const PyConfig *config = _Py_GetConfig();
 2636|      2|    return config->cpu_count;
 2637|      2|}
sysmodule.c:_PySys_SetPreliminaryStderr:
 4230|      2|{
 4231|      2|    PyObject *pstderr = PyFile_NewStdPrinter(fileno(stderr));
 4232|      2|    if (pstderr == NULL) {
  ------------------
  |  Branch (4232:9): [True: 0, False: 2]
  ------------------
 4233|      0|        goto error;
 4234|      0|    }
 4235|      2|    if (PyDict_SetItem(sysdict, &_Py_ID(stderr), pstderr) < 0) {
  ------------------
  |  |  915|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (4235:9): [True: 0, False: 2]
  ------------------
 4236|      0|        goto error;
 4237|      0|    }
 4238|      2|    if (PyDict_SetItemString(sysdict, "__stderr__", pstderr) < 0) {
  ------------------
  |  Branch (4238:9): [True: 0, False: 2]
  ------------------
 4239|      0|        goto error;
 4240|      0|    }
 4241|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4242|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 4243|       |
 4244|      0|error:
 4245|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4246|      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)}
  ------------------
 4247|      2|}
sysmodule.c:_PySys_InitCore:
 4009|      2|{
 4010|      2|    PyObject *version_info;
 4011|      2|    int res;
 4012|      2|    PyInterpreterState *interp = tstate->interp;
 4013|       |
 4014|       |    /* stdin/stdout/stderr are set in pylifecycle.c */
 4015|       |
 4016|      2|#define COPY_SYS_ATTR(tokey, fromkey) \
 4017|      2|        SET_SYS(tokey, PyMapping_GetItemString(sysdict, fromkey))
 4018|       |
 4019|      2|    COPY_SYS_ATTR("__displayhook__", "displayhook");
  ------------------
  |  | 4017|      2|        SET_SYS(tokey, PyMapping_GetItemString(sysdict, fromkey))
  |  |  ------------------
  |  |  |  | 3992|      2|    do {                                                   \
  |  |  |  | 3993|      2|        PyObject *v = (value);                             \
  |  |  |  | 3994|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3995|      0|            goto err_occurred;                             \
  |  |  |  | 3996|      0|        }                                                  \
  |  |  |  | 3997|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 3998|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3999|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3999:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 4000|      0|            goto err_occurred;                             \
  |  |  |  | 4001|      0|        }                                                  \
  |  |  |  | 4002|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4002:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4020|      2|    COPY_SYS_ATTR("__excepthook__", "excepthook");
  ------------------
  |  | 4017|      2|        SET_SYS(tokey, PyMapping_GetItemString(sysdict, fromkey))
  |  |  ------------------
  |  |  |  | 3992|      2|    do {                                                   \
  |  |  |  | 3993|      2|        PyObject *v = (value);                             \
  |  |  |  | 3994|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3995|      0|            goto err_occurred;                             \
  |  |  |  | 3996|      0|        }                                                  \
  |  |  |  | 3997|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 3998|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3999|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3999:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 4000|      0|            goto err_occurred;                             \
  |  |  |  | 4001|      0|        }                                                  \
  |  |  |  | 4002|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4002:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4021|      2|    COPY_SYS_ATTR("__breakpointhook__", "breakpointhook");
  ------------------
  |  | 4017|      2|        SET_SYS(tokey, PyMapping_GetItemString(sysdict, fromkey))
  |  |  ------------------
  |  |  |  | 3992|      2|    do {                                                   \
  |  |  |  | 3993|      2|        PyObject *v = (value);                             \
  |  |  |  | 3994|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3995|      0|            goto err_occurred;                             \
  |  |  |  | 3996|      0|        }                                                  \
  |  |  |  | 3997|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 3998|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3999|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3999:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 4000|      0|            goto err_occurred;                             \
  |  |  |  | 4001|      0|        }                                                  \
  |  |  |  | 4002|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4002:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4022|      2|    COPY_SYS_ATTR("__unraisablehook__", "unraisablehook");
  ------------------
  |  | 4017|      2|        SET_SYS(tokey, PyMapping_GetItemString(sysdict, fromkey))
  |  |  ------------------
  |  |  |  | 3992|      2|    do {                                                   \
  |  |  |  | 3993|      2|        PyObject *v = (value);                             \
  |  |  |  | 3994|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3995|      0|            goto err_occurred;                             \
  |  |  |  | 3996|      0|        }                                                  \
  |  |  |  | 3997|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 3998|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3999|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3999:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 4000|      0|            goto err_occurred;                             \
  |  |  |  | 4001|      0|        }                                                  \
  |  |  |  | 4002|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4002:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4023|       |
 4024|      2|#undef COPY_SYS_ATTR
 4025|       |
 4026|      2|    SET_SYS_FROM_STRING("version", Py_GetVersion());
  ------------------
  |  | 4005|      2|        SET_SYS(key, PyUnicode_FromString(value))
  |  |  ------------------
  |  |  |  | 3992|      2|    do {                                                   \
  |  |  |  | 3993|      2|        PyObject *v = (value);                             \
  |  |  |  | 3994|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3995|      0|            goto err_occurred;                             \
  |  |  |  | 3996|      0|        }                                                  \
  |  |  |  | 3997|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 3998|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3999|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3999:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 4000|      0|            goto err_occurred;                             \
  |  |  |  | 4001|      0|        }                                                  \
  |  |  |  | 4002|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4002:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4027|      2|    SET_SYS("hexversion", PyLong_FromLong(PY_VERSION_HEX));
  ------------------
  |  | 3992|      2|    do {                                                   \
  |  | 3993|      2|        PyObject *v = (value);                             \
  |  | 3994|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3995|      0|            goto err_occurred;                             \
  |  | 3996|      0|        }                                                  \
  |  | 3997|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3998|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3999|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3999:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4000|      0|            goto err_occurred;                             \
  |  | 4001|      0|        }                                                  \
  |  | 4002|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4002:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4028|      2|    SET_SYS("_git", Py_BuildValue("(szz)", "CPython", _Py_gitidentifier(),
  ------------------
  |  | 3992|      2|    do {                                                   \
  |  | 3993|      2|        PyObject *v = (value);                             \
  |  | 3994|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3995|      0|            goto err_occurred;                             \
  |  | 3996|      0|        }                                                  \
  |  | 3997|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3998|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3999|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3999:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4000|      0|            goto err_occurred;                             \
  |  | 4001|      0|        }                                                  \
  |  | 4002|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4002:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4029|      2|                                  _Py_gitversion()));
 4030|      2|    SET_SYS_FROM_STRING("_framework", _PYTHONFRAMEWORK);
  ------------------
  |  | 4005|      2|        SET_SYS(key, PyUnicode_FromString(value))
  |  |  ------------------
  |  |  |  | 3992|      2|    do {                                                   \
  |  |  |  | 3993|      2|        PyObject *v = (value);                             \
  |  |  |  | 3994|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3995|      0|            goto err_occurred;                             \
  |  |  |  | 3996|      0|        }                                                  \
  |  |  |  | 3997|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 3998|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3999|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3999:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 4000|      0|            goto err_occurred;                             \
  |  |  |  | 4001|      0|        }                                                  \
  |  |  |  | 4002|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4002:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4031|      2|    SET_SYS("api_version", PyLong_FromLong(PYTHON_API_VERSION));
  ------------------
  |  | 3992|      2|    do {                                                   \
  |  | 3993|      2|        PyObject *v = (value);                             \
  |  | 3994|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3995|      0|            goto err_occurred;                             \
  |  | 3996|      0|        }                                                  \
  |  | 3997|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3998|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3999|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3999:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4000|      0|            goto err_occurred;                             \
  |  | 4001|      0|        }                                                  \
  |  | 4002|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4002:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4032|      2|    SET_SYS_FROM_STRING("copyright", Py_GetCopyright());
  ------------------
  |  | 4005|      2|        SET_SYS(key, PyUnicode_FromString(value))
  |  |  ------------------
  |  |  |  | 3992|      2|    do {                                                   \
  |  |  |  | 3993|      2|        PyObject *v = (value);                             \
  |  |  |  | 3994|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3995|      0|            goto err_occurred;                             \
  |  |  |  | 3996|      0|        }                                                  \
  |  |  |  | 3997|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 3998|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3999|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3999:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 4000|      0|            goto err_occurred;                             \
  |  |  |  | 4001|      0|        }                                                  \
  |  |  |  | 4002|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4002:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4033|      2|    SET_SYS_FROM_STRING("platform", Py_GetPlatform());
  ------------------
  |  | 4005|      2|        SET_SYS(key, PyUnicode_FromString(value))
  |  |  ------------------
  |  |  |  | 3992|      2|    do {                                                   \
  |  |  |  | 3993|      2|        PyObject *v = (value);                             \
  |  |  |  | 3994|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3995|      0|            goto err_occurred;                             \
  |  |  |  | 3996|      0|        }                                                  \
  |  |  |  | 3997|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 3998|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3999|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3999:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 4000|      0|            goto err_occurred;                             \
  |  |  |  | 4001|      0|        }                                                  \
  |  |  |  | 4002|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4002:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4034|      2|    SET_SYS("maxsize", PyLong_FromSsize_t(PY_SSIZE_T_MAX));
  ------------------
  |  | 3992|      2|    do {                                                   \
  |  | 3993|      2|        PyObject *v = (value);                             \
  |  | 3994|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3995|      0|            goto err_occurred;                             \
  |  | 3996|      0|        }                                                  \
  |  | 3997|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3998|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3999|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3999:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4000|      0|            goto err_occurred;                             \
  |  | 4001|      0|        }                                                  \
  |  | 4002|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4002:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4035|      2|    SET_SYS("float_info", PyFloat_GetInfo());
  ------------------
  |  | 3992|      2|    do {                                                   \
  |  | 3993|      2|        PyObject *v = (value);                             \
  |  | 3994|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3995|      0|            goto err_occurred;                             \
  |  | 3996|      0|        }                                                  \
  |  | 3997|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3998|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3999|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3999:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4000|      0|            goto err_occurred;                             \
  |  | 4001|      0|        }                                                  \
  |  | 4002|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4002:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4036|      2|    SET_SYS("int_info", PyLong_GetInfo());
  ------------------
  |  | 3992|      2|    do {                                                   \
  |  | 3993|      2|        PyObject *v = (value);                             \
  |  | 3994|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3995|      0|            goto err_occurred;                             \
  |  | 3996|      0|        }                                                  \
  |  | 3997|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3998|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3999|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3999:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4000|      0|            goto err_occurred;                             \
  |  | 4001|      0|        }                                                  \
  |  | 4002|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4002:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4037|       |    /* initialize hash_info */
 4038|      2|    if (_PyStructSequence_InitBuiltin(interp, &Hash_InfoType,
  ------------------
  |  Branch (4038:9): [True: 0, False: 2]
  ------------------
 4039|      2|                                      &hash_info_desc) < 0)
 4040|      0|    {
 4041|      0|        goto type_init_failed;
 4042|      0|    }
 4043|      2|    SET_SYS("hash_info", get_hash_info(tstate));
  ------------------
  |  | 3992|      2|    do {                                                   \
  |  | 3993|      2|        PyObject *v = (value);                             \
  |  | 3994|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3995|      0|            goto err_occurred;                             \
  |  | 3996|      0|        }                                                  \
  |  | 3997|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3998|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3999|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3999:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4000|      0|            goto err_occurred;                             \
  |  | 4001|      0|        }                                                  \
  |  | 4002|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4002:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4044|      2|    SET_SYS("maxunicode", PyLong_FromLong(0x10FFFF));
  ------------------
  |  | 3992|      2|    do {                                                   \
  |  | 3993|      2|        PyObject *v = (value);                             \
  |  | 3994|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3995|      0|            goto err_occurred;                             \
  |  | 3996|      0|        }                                                  \
  |  | 3997|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3998|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3999|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3999:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4000|      0|            goto err_occurred;                             \
  |  | 4001|      0|        }                                                  \
  |  | 4002|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4002:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4045|      2|    SET_SYS("builtin_module_names", list_builtin_module_names());
  ------------------
  |  | 3992|      2|    do {                                                   \
  |  | 3993|      2|        PyObject *v = (value);                             \
  |  | 3994|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3995|      0|            goto err_occurred;                             \
  |  | 3996|      0|        }                                                  \
  |  | 3997|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3998|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3999|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3999:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4000|      0|            goto err_occurred;                             \
  |  | 4001|      0|        }                                                  \
  |  | 4002|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4002:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4046|      2|    SET_SYS("stdlib_module_names", list_stdlib_module_names());
  ------------------
  |  | 3992|      2|    do {                                                   \
  |  | 3993|      2|        PyObject *v = (value);                             \
  |  | 3994|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3995|      0|            goto err_occurred;                             \
  |  | 3996|      0|        }                                                  \
  |  | 3997|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3998|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3999|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3999:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4000|      0|            goto err_occurred;                             \
  |  | 4001|      0|        }                                                  \
  |  | 4002|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4002:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4047|       |#if PY_BIG_ENDIAN
 4048|       |    SET_SYS("byteorder", &_Py_ID(big));
 4049|       |#else
 4050|      2|    SET_SYS("byteorder", &_Py_ID(little));
  ------------------
  |  | 3992|      2|    do {                                                   \
  |  | 3993|      2|        PyObject *v = (value);                             \
  |  | 3994|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3995|      0|            goto err_occurred;                             \
  |  | 3996|      0|        }                                                  \
  |  | 3997|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3998|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3999|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3999:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4000|      0|            goto err_occurred;                             \
  |  | 4001|      0|        }                                                  \
  |  | 4002|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4002:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4051|      2|#endif
 4052|       |
 4053|       |#ifdef MS_COREDLL
 4054|       |    SET_SYS("dllhandle", PyLong_FromVoidPtr(PyWin_DLLhModule));
 4055|       |    SET_SYS_FROM_STRING("winver", PyWin_DLLVersionString);
 4056|       |#endif
 4057|      2|#ifdef ABIFLAGS
 4058|      2|    SET_SYS_FROM_STRING("abiflags", ABIFLAGS);
  ------------------
  |  | 4005|      2|        SET_SYS(key, PyUnicode_FromString(value))
  |  |  ------------------
  |  |  |  | 3992|      2|    do {                                                   \
  |  |  |  | 3993|      2|        PyObject *v = (value);                             \
  |  |  |  | 3994|      2|        if (v == NULL) {                                   \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 3995|      0|            goto err_occurred;                             \
  |  |  |  | 3996|      0|        }                                                  \
  |  |  |  | 3997|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  |  |  | 3998|      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))
  |  |  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  |  | 3999|      2|        if (res < 0) {                                     \
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (3999:13): [True: 0, False: 2]
  |  |  |  |  ------------------
  |  |  |  | 4000|      0|            goto err_occurred;                             \
  |  |  |  | 4001|      0|        }                                                  \
  |  |  |  | 4002|      2|    } while (0)
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (4002:14): [Folded, False: 2]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 4059|      2|#endif
 4060|       |
 4061|      2|#define ENSURE_INFO_TYPE(TYPE, DESC) \
 4062|      2|    do { \
 4063|      2|        if (_PyStructSequence_InitBuiltinWithFlags( \
 4064|      2|                interp, &TYPE, &DESC, Py_TPFLAGS_DISALLOW_INSTANTIATION) < 0) { \
 4065|      2|            goto type_init_failed; \
 4066|      2|        } \
 4067|      2|    } while (0)
 4068|       |
 4069|       |    /* version_info */
 4070|      2|    ENSURE_INFO_TYPE(VersionInfoType, version_info_desc);
  ------------------
  |  | 4062|      2|    do { \
  |  | 4063|      2|        if (_PyStructSequence_InitBuiltinWithFlags( \
  |  |  ------------------
  |  |  |  Branch (4063:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4064|      2|                interp, &TYPE, &DESC, Py_TPFLAGS_DISALLOW_INSTANTIATION) < 0) { \
  |  |  ------------------
  |  |  |  |  497|      2|#define Py_TPFLAGS_DISALLOW_INSTANTIATION (1UL << 7)
  |  |  ------------------
  |  | 4065|      0|            goto type_init_failed; \
  |  | 4066|      0|        } \
  |  | 4067|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4067:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4071|      2|    version_info = make_version_info(tstate);
 4072|      2|    SET_SYS("version_info", version_info);
  ------------------
  |  | 3992|      2|    do {                                                   \
  |  | 3993|      2|        PyObject *v = (value);                             \
  |  | 3994|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3995|      0|            goto err_occurred;                             \
  |  | 3996|      0|        }                                                  \
  |  | 3997|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3998|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3999|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3999:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4000|      0|            goto err_occurred;                             \
  |  | 4001|      0|        }                                                  \
  |  | 4002|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4002:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4073|       |
 4074|       |    /* implementation */
 4075|      2|    SET_SYS("implementation", make_impl_info(version_info));
  ------------------
  |  | 3992|      2|    do {                                                   \
  |  | 3993|      2|        PyObject *v = (value);                             \
  |  | 3994|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3995|      0|            goto err_occurred;                             \
  |  | 3996|      0|        }                                                  \
  |  | 3997|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3998|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3999|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3999:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4000|      0|            goto err_occurred;                             \
  |  | 4001|      0|        }                                                  \
  |  | 4002|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4002:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4076|       |
 4077|       |    // sys.flags: updated in-place later by _PySys_UpdateConfig()
 4078|      2|    ENSURE_INFO_TYPE(FlagsType, flags_desc);
  ------------------
  |  | 4062|      2|    do { \
  |  | 4063|      2|        if (_PyStructSequence_InitBuiltinWithFlags( \
  |  |  ------------------
  |  |  |  Branch (4063:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4064|      2|                interp, &TYPE, &DESC, Py_TPFLAGS_DISALLOW_INSTANTIATION) < 0) { \
  |  |  ------------------
  |  |  |  |  497|      2|#define Py_TPFLAGS_DISALLOW_INSTANTIATION (1UL << 7)
  |  |  ------------------
  |  | 4065|      0|            goto type_init_failed; \
  |  | 4066|      0|        } \
  |  | 4067|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4067:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4079|      2|    SET_SYS("flags", make_flags(tstate->interp));
  ------------------
  |  | 3992|      2|    do {                                                   \
  |  | 3993|      2|        PyObject *v = (value);                             \
  |  | 3994|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3995|      0|            goto err_occurred;                             \
  |  | 3996|      0|        }                                                  \
  |  | 3997|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3998|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3999|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3999:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4000|      0|            goto err_occurred;                             \
  |  | 4001|      0|        }                                                  \
  |  | 4002|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4002:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4080|       |
 4081|       |#if defined(MS_WINDOWS)
 4082|       |    /* getwindowsversion */
 4083|       |    ENSURE_INFO_TYPE(WindowsVersionType, windows_version_desc);
 4084|       |
 4085|       |    SET_SYS_FROM_STRING("_vpath", VPATH);
 4086|       |#endif
 4087|       |
 4088|      2|#undef ENSURE_INFO_TYPE
 4089|       |
 4090|       |    /* float repr style: 0.03 (short) vs 0.029999999999999999 (legacy) */
 4091|      2|#if _PY_SHORT_FLOAT_REPR == 1
 4092|      2|    SET_SYS("float_repr_style", &_Py_ID(short));
  ------------------
  |  | 3992|      2|    do {                                                   \
  |  | 3993|      2|        PyObject *v = (value);                             \
  |  | 3994|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3995|      0|            goto err_occurred;                             \
  |  | 3996|      0|        }                                                  \
  |  | 3997|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3998|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3999|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3999:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4000|      0|            goto err_occurred;                             \
  |  | 4001|      0|        }                                                  \
  |  | 4002|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4002:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4093|       |#else
 4094|       |    SET_SYS("float_repr_style", &_Py_ID(legacy));
 4095|       |#endif
 4096|       |
 4097|      2|    SET_SYS("thread_info", PyThread_GetInfo());
  ------------------
  |  | 3992|      2|    do {                                                   \
  |  | 3993|      2|        PyObject *v = (value);                             \
  |  | 3994|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3995|      0|            goto err_occurred;                             \
  |  | 3996|      0|        }                                                  \
  |  | 3997|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3998|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3999|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3999:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4000|      0|            goto err_occurred;                             \
  |  | 4001|      0|        }                                                  \
  |  | 4002|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4002:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4098|       |
 4099|      2|    SET_SYS("abi_info", make_abi_info());
  ------------------
  |  | 3992|      2|    do {                                                   \
  |  | 3993|      2|        PyObject *v = (value);                             \
  |  | 3994|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3995|      0|            goto err_occurred;                             \
  |  | 3996|      0|        }                                                  \
  |  | 3997|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3998|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3999|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3999:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4000|      0|            goto err_occurred;                             \
  |  | 4001|      0|        }                                                  \
  |  | 4002|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4002:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4100|       |
 4101|       |    /* initialize asyncgen_hooks */
 4102|      2|    if (_PyStructSequence_InitBuiltin(interp, &AsyncGenHooksType,
  ------------------
  |  Branch (4102:9): [True: 0, False: 2]
  ------------------
 4103|      2|                                      &asyncgen_hooks_desc) < 0)
 4104|      0|    {
 4105|      0|        goto type_init_failed;
 4106|      0|    }
 4107|       |
 4108|       |#ifdef __EMSCRIPTEN__
 4109|       |    if (EmscriptenInfoType == NULL) {
 4110|       |        EmscriptenInfoType = PyStructSequence_NewType(&emscripten_info_desc);
 4111|       |        if (EmscriptenInfoType == NULL) {
 4112|       |            goto type_init_failed;
 4113|       |        }
 4114|       |    }
 4115|       |    SET_SYS("_emscripten_info", make_emscripten_info());
 4116|       |#endif
 4117|       |
 4118|       |    /* adding sys.path_hooks and sys.path_importer_cache */
 4119|      2|    SET_SYS("meta_path", PyList_New(0));
  ------------------
  |  | 3992|      2|    do {                                                   \
  |  | 3993|      2|        PyObject *v = (value);                             \
  |  | 3994|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3995|      0|            goto err_occurred;                             \
  |  | 3996|      0|        }                                                  \
  |  | 3997|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3998|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3999|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3999:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4000|      0|            goto err_occurred;                             \
  |  | 4001|      0|        }                                                  \
  |  | 4002|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4002:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4120|      2|    SET_SYS("path_importer_cache", PyDict_New());
  ------------------
  |  | 3992|      2|    do {                                                   \
  |  | 3993|      2|        PyObject *v = (value);                             \
  |  | 3994|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3995|      0|            goto err_occurred;                             \
  |  | 3996|      0|        }                                                  \
  |  | 3997|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3998|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3999|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3999:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4000|      0|            goto err_occurred;                             \
  |  | 4001|      0|        }                                                  \
  |  | 4002|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4002:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4121|      2|    SET_SYS("path_hooks", PyList_New(0));
  ------------------
  |  | 3992|      2|    do {                                                   \
  |  | 3993|      2|        PyObject *v = (value);                             \
  |  | 3994|      2|        if (v == NULL) {                                   \
  |  |  ------------------
  |  |  |  Branch (3994:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 3995|      0|            goto err_occurred;                             \
  |  | 3996|      0|        }                                                  \
  |  | 3997|      2|        res = PyDict_SetItemString(sysdict, key, v);       \
  |  | 3998|      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))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  | 3999|      2|        if (res < 0) {                                     \
  |  |  ------------------
  |  |  |  Branch (3999:13): [True: 0, False: 2]
  |  |  ------------------
  |  | 4000|      0|            goto err_occurred;                             \
  |  | 4001|      0|        }                                                  \
  |  | 4002|      2|    } while (0)
  |  |  ------------------
  |  |  |  Branch (4002:14): [Folded, False: 2]
  |  |  ------------------
  ------------------
 4122|       |
 4123|      2|    if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (4123:9): [True: 0, False: 2]
  ------------------
 4124|      0|        goto err_occurred;
 4125|      0|    }
 4126|      2|    return _PyStatus_OK();
  ------------------
  |  |   24|      2|    (PyStatus){._type = _PyStatus_TYPE_OK}
  ------------------
 4127|       |
 4128|      0|type_init_failed:
 4129|      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)}
  ------------------
 4130|       |
 4131|      0|err_occurred:
 4132|      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)}
  ------------------
 4133|      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:
 2996|      2|{
 2997|      2|    PyObject *list = _PyImport_GetBuiltinModuleNames();
 2998|      2|    if (list == NULL) {
  ------------------
  |  Branch (2998:9): [True: 0, False: 2]
  ------------------
 2999|      0|        return NULL;
 3000|      0|    }
 3001|      2|    if (PyList_Sort(list) != 0) {
  ------------------
  |  Branch (3001:9): [True: 0, False: 2]
  ------------------
 3002|      0|        goto error;
 3003|      0|    }
 3004|      2|    PyObject *tuple = PyList_AsTuple(list);
 3005|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3006|      2|    return tuple;
 3007|       |
 3008|      0|error:
 3009|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3010|       |    return NULL;
 3011|      2|}
sysmodule.c:list_stdlib_module_names:
 3016|      2|{
 3017|      2|    Py_ssize_t len = Py_ARRAY_LENGTH(_Py_stdlib_module_names);
  ------------------
  |  |  196|      2|    (sizeof(array) / sizeof((array)[0]))
  ------------------
 3018|      2|    PyObject *names = PyTuple_New(len);
 3019|      2|    if (names == NULL) {
  ------------------
  |  Branch (3019:9): [True: 0, False: 2]
  ------------------
 3020|      0|        return NULL;
 3021|      0|    }
 3022|       |
 3023|    594|    for (Py_ssize_t i = 0; i < len; i++) {
  ------------------
  |  Branch (3023:28): [True: 592, False: 2]
  ------------------
 3024|    592|        PyObject *name = PyUnicode_FromString(_Py_stdlib_module_names[i]);
 3025|    592|        if (name == NULL) {
  ------------------
  |  Branch (3025:13): [True: 0, False: 592]
  ------------------
 3026|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3027|      0|            return NULL;
 3028|      0|        }
 3029|    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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3030|    592|    }
 3031|       |
 3032|      2|    PyObject *set = PyObject_CallFunction((PyObject *)&PyFrozenSet_Type,
 3033|      2|                                          "(O)", names);
 3034|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3035|      2|    return set;
 3036|      2|}
sysmodule.c:make_version_info:
 3658|      2|{
 3659|      2|    PyObject *version_info;
 3660|      2|    char *s;
 3661|      2|    int pos = 0;
 3662|       |
 3663|      2|    version_info = PyStructSequence_New(&VersionInfoType);
 3664|      2|    if (version_info == NULL) {
  ------------------
  |  Branch (3664:9): [True: 0, False: 2]
  ------------------
 3665|      0|        return NULL;
 3666|      0|    }
 3667|       |
 3668|       |    /*
 3669|       |     * These release level checks are mutually exclusive and cover
 3670|       |     * the field, so don't get too fancy with the pre-processor!
 3671|       |     */
 3672|      2|#if PY_RELEASE_LEVEL == PY_RELEASE_LEVEL_ALPHA
 3673|      2|    s = "alpha";
 3674|       |#elif PY_RELEASE_LEVEL == PY_RELEASE_LEVEL_BETA
 3675|       |    s = "beta";
 3676|       |#elif PY_RELEASE_LEVEL == PY_RELEASE_LEVEL_GAMMA
 3677|       |    s = "candidate";
 3678|       |#elif PY_RELEASE_LEVEL == PY_RELEASE_LEVEL_FINAL
 3679|       |    s = "final";
 3680|       |#endif
 3681|       |
 3682|      2|#define SetIntItem(flag) \
 3683|      2|    PyStructSequence_SET_ITEM(version_info, pos++, PyLong_FromLong(flag))
 3684|      2|#define SetStrItem(flag) \
 3685|      2|    PyStructSequence_SET_ITEM(version_info, pos++, PyUnicode_FromString(flag))
 3686|       |
 3687|      2|    SetIntItem(PY_MAJOR_VERSION);
  ------------------
  |  | 3683|      2|    PyStructSequence_SET_ITEM(version_info, pos++, PyLong_FromLong(flag))
  |  |  ------------------
  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  ------------------
 3688|      2|    SetIntItem(PY_MINOR_VERSION);
  ------------------
  |  | 3683|      2|    PyStructSequence_SET_ITEM(version_info, pos++, PyLong_FromLong(flag))
  |  |  ------------------
  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  ------------------
 3689|      2|    SetIntItem(PY_MICRO_VERSION);
  ------------------
  |  | 3683|      2|    PyStructSequence_SET_ITEM(version_info, pos++, PyLong_FromLong(flag))
  |  |  ------------------
  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  ------------------
 3690|      2|    SetStrItem(s);
  ------------------
  |  | 3685|      2|    PyStructSequence_SET_ITEM(version_info, pos++, PyUnicode_FromString(flag))
  |  |  ------------------
  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  ------------------
 3691|      2|    SetIntItem(PY_RELEASE_SERIAL);
  ------------------
  |  | 3683|      2|    PyStructSequence_SET_ITEM(version_info, pos++, PyLong_FromLong(flag))
  |  |  ------------------
  |  |  |  |   11|      2|#define PyStructSequence_SET_ITEM PyStructSequence_SetItem
  |  |  ------------------
  ------------------
 3692|      2|#undef SetIntItem
 3693|      2|#undef SetStrItem
 3694|       |
 3695|      2|    if (_PyErr_Occurred(tstate)) {
  ------------------
  |  Branch (3695:9): [True: 0, False: 2]
  ------------------
 3696|      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]
  |  |  ------------------
  ------------------
 3697|      0|        return NULL;
 3698|      0|    }
 3699|      2|    return version_info;
 3700|      2|}
sysmodule.c:make_impl_info:
 3722|      2|{
 3723|      2|    int res;
 3724|      2|    PyObject *impl_info, *value, *ns;
 3725|       |
 3726|      2|    impl_info = PyDict_New();
 3727|      2|    if (impl_info == NULL)
  ------------------
  |  Branch (3727:9): [True: 0, False: 2]
  ------------------
 3728|      0|        return NULL;
 3729|       |
 3730|       |    /* populate the dict */
 3731|       |
 3732|      2|    value = PyUnicode_FromString(_PySys_ImplName);
 3733|      2|    if (value == NULL)
  ------------------
  |  Branch (3733:9): [True: 0, False: 2]
  ------------------
 3734|      0|        goto error;
 3735|      2|    res = PyDict_SetItemString(impl_info, "name", value);
 3736|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3737|      2|    if (res < 0)
  ------------------
  |  Branch (3737:9): [True: 0, False: 2]
  ------------------
 3738|      0|        goto error;
 3739|       |
 3740|      2|    value = _PySys_ImplCacheTag
  ------------------
  |  Branch (3740:13): [True: 2, False: 0]
  ------------------
 3741|      2|        ? PyUnicode_FromString(_PySys_ImplCacheTag)
 3742|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3743|      2|    if (value == NULL) {
  ------------------
  |  Branch (3743:9): [True: 0, False: 2]
  ------------------
 3744|      0|        goto error;
 3745|      0|    }
 3746|      2|    res = PyDict_SetItemString(impl_info, "cache_tag", value);
 3747|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3748|      2|    if (res < 0)
  ------------------
  |  Branch (3748:9): [True: 0, False: 2]
  ------------------
 3749|      0|        goto error;
 3750|       |
 3751|      2|    res = PyDict_SetItemString(impl_info, "version", version_info);
 3752|      2|    if (res < 0)
  ------------------
  |  Branch (3752:9): [True: 0, False: 2]
  ------------------
 3753|      0|        goto error;
 3754|       |
 3755|      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)
  ------------------
 3756|      2|    if (value == NULL)
  ------------------
  |  Branch (3756:9): [True: 0, False: 2]
  ------------------
 3757|      0|        goto error;
 3758|      2|    res = PyDict_SetItemString(impl_info, "hexversion", value);
 3759|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3760|      2|    if (res < 0)
  ------------------
  |  Branch (3760:9): [True: 0, False: 2]
  ------------------
 3761|      0|        goto error;
 3762|       |
 3763|      2|#ifdef MULTIARCH
 3764|      2|    value = PyUnicode_FromString(MULTIARCH);
 3765|      2|    if (value == NULL)
  ------------------
  |  Branch (3765:9): [True: 0, False: 2]
  ------------------
 3766|      0|        goto error;
 3767|      2|    res = PyDict_SetItemString(impl_info, "_multiarch", value);
 3768|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3769|      2|    if (res < 0)
  ------------------
  |  Branch (3769:9): [True: 0, False: 2]
  ------------------
 3770|      0|        goto error;
 3771|      2|#endif
 3772|       |
 3773|       |    // PEP-734
 3774|       |#if defined(__wasi__) || defined(__EMSCRIPTEN__)
 3775|       |    // It is not enabled on WASM builds just yet
 3776|       |    value = Py_False;
 3777|       |#else
 3778|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3779|      2|#endif
 3780|      2|    res = PyDict_SetItemString(impl_info, "supports_isolated_interpreters", value);
 3781|      2|    if (res < 0) {
  ------------------
  |  Branch (3781:9): [True: 0, False: 2]
  ------------------
 3782|      0|        goto error;
 3783|      0|    }
 3784|       |
 3785|       |    /* dict ready */
 3786|       |
 3787|      2|    ns = _PyNamespace_New(impl_info);
 3788|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3789|      2|    return ns;
 3790|       |
 3791|      0|error:
 3792|      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]
  |  |  ------------------
  ------------------
 3793|       |    return NULL;
 3794|      2|}
sysmodule.c:make_flags:
 3619|      2|{
 3620|      2|    PyObject *flags = PyStructSequence_New(&FlagsType);
 3621|      2|    if (flags == NULL) {
  ------------------
  |  Branch (3621:9): [True: 0, False: 2]
  ------------------
 3622|      0|        return NULL;
 3623|      0|    }
 3624|       |
 3625|      2|    if (set_flags_from_config(interp, flags) < 0) {
  ------------------
  |  Branch (3625:9): [True: 0, False: 2]
  ------------------
 3626|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3627|      0|        return NULL;
 3628|      0|    }
 3629|      2|    return flags;
 3630|      2|}
sysmodule.c:make_abi_info:
 3799|      2|{
 3800|       |    // New entries should be added when needed for a supported platform,
 3801|       |    // or by core dev consensus for enabling an unsupported one.
 3802|       |
 3803|      2|    PyObject *value;
 3804|      2|    PyObject *abi_info = PyDict_New();
 3805|      2|    if (abi_info == NULL) {
  ------------------
  |  Branch (3805:9): [True: 0, False: 2]
  ------------------
 3806|      0|        return NULL;
 3807|      0|    }
 3808|       |
 3809|      2|    value = PyLong_FromLong(sizeof(void *) * 8);
 3810|      2|    if (value == NULL) {
  ------------------
  |  Branch (3810:9): [True: 0, False: 2]
  ------------------
 3811|      0|        goto error;
 3812|      0|    }
 3813|      2|    if (PyDict_SetItem(abi_info, &_Py_ID(pointer_bits), value) < 0) {
  ------------------
  |  |  915|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3813:9): [True: 0, False: 2]
  ------------------
 3814|      0|        goto error;
 3815|      0|    }
 3816|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3817|       |
 3818|       |#ifdef Py_GIL_DISABLED
 3819|       |    value = Py_True;
 3820|       |#else
 3821|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3822|      2|#endif
 3823|      2|    if (PyDict_SetItem(abi_info, &_Py_ID(free_threaded), value) < 0) {
  ------------------
  |  |  915|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3823:9): [True: 0, False: 2]
  ------------------
 3824|      0|        goto error;
 3825|      0|    }
 3826|       |
 3827|       |#ifdef Py_DEBUG
 3828|       |    value = Py_True;
 3829|       |#else
 3830|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3831|      2|#endif
 3832|      2|    if (PyDict_SetItem(abi_info, &_Py_ID(debug), value) < 0) {
  ------------------
  |  |  915|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3832:9): [True: 0, False: 2]
  ------------------
 3833|      0|        goto error;
 3834|      0|    }
 3835|       |
 3836|       |#if PY_BIG_ENDIAN
 3837|       |    value = &_Py_ID(big);
 3838|       |#else
 3839|      2|    value = &_Py_ID(little);
  ------------------
  |  |  915|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3840|      2|#endif
 3841|      2|    if (PyDict_SetItem(abi_info, &_Py_ID(byteorder), value) < 0) {
  ------------------
  |  |  915|      2|     (_Py_SINGLETON(strings.identifiers._py_ ## NAME._ascii.ob_base))
  |  |  ------------------
  |  |  |  |   18|      2|    _Py_GLOBAL_OBJECT(singletons.NAME)
  |  |  |  |  ------------------
  |  |  |  |  |  |   16|      2|    _PyRuntime.static_objects.NAME
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (3841:9): [True: 0, False: 2]
  ------------------
 3842|      0|        goto error;
 3843|      0|    }
 3844|       |
 3845|      2|    PyObject *ns = _PyNamespace_New(abi_info);
 3846|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3847|      2|    return ns;
 3848|       |
 3849|      0|error:
 3850|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3851|      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))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
 3852|       |    return NULL;
 3853|      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|  4.05k|{
   82|  4.05k|    if (!initialized) {
  ------------------
  |  |   45|  4.05k|#define initialized _PyRuntime.threads.initialized
  ------------------
  |  Branch (82:9): [True: 0, False: 4.05k]
  ------------------
   83|      0|        PyThread_init_thread();
   84|      0|    }
   85|       |
   86|  4.05k|    PyMutex *lock = (PyMutex *)PyMem_RawMalloc(sizeof(PyMutex));
   87|  4.05k|    if (lock) {
  ------------------
  |  Branch (87:9): [True: 4.05k, False: 0]
  ------------------
   88|  4.05k|        *lock = (PyMutex){0};
   89|  4.05k|    }
   90|       |
   91|  4.05k|    return (PyThread_type_lock)lock;
   92|  4.05k|}
PyThread_free_lock:
   96|  4.04k|{
   97|  4.04k|    PyMem_RawFree(lock);
   98|  4.04k|}
PyThread_acquire_lock_timed:
  103|  20.8k|{
  104|  20.8k|    PyTime_t timeout;  // relative timeout
  105|  20.8k|    if (microseconds >= 0) {
  ------------------
  |  Branch (105:9): [True: 20.8k, 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|  20.8k|        timeout = _PyTime_FromMicrosecondsClamp(microseconds);
  115|  20.8k|    }
  116|      0|    else {
  117|      0|        timeout = -1;
  118|      0|    }
  119|       |
  120|  20.8k|    _PyLockFlags flags = _Py_LOCK_DONT_DETACH;
  121|  20.8k|    if (intr_flag) {
  ------------------
  |  Branch (121:9): [True: 0, False: 20.8k]
  ------------------
  122|      0|        flags |= _PY_FAIL_IF_INTERRUPTED;
  123|      0|    }
  124|       |
  125|  20.8k|    return _PyMutex_LockTimed((PyMutex *)lock, timeout, flags);
  126|  20.8k|}
PyThread_release_lock:
  130|  20.8k|{
  131|  20.8k|    PyMutex_Unlock((PyMutex *)lock);
  ------------------
  |  |   70|  20.8k|#define PyMutex_Unlock _PyMutex_Unlock
  ------------------
  132|  20.8k|}
PyThread_acquire_lock:
  143|  20.8k|{
  144|  20.8k|    return PyThread_acquire_lock_timed(lock, waitflag ? -1 : 0, /*intr_flag=*/0);
  ------------------
  |  Branch (144:46): [True: 0, False: 20.8k]
  ------------------
  145|  20.8k|}
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|   876k|PyThread_get_thread_ident_ex(void) {
  361|   876k|    volatile pthread_t threadid;
  362|   876k|    if (!initialized)
  ------------------
  |  |   45|   876k|#define initialized _PyRuntime.threads.initialized
  ------------------
  |  Branch (362:9): [True: 2, False: 876k]
  ------------------
  363|      2|        PyThread_init_thread();
  364|   876k|    threadid = pthread_self();
  365|   876k|    return _pthread_t_to_ident(threadid);
  366|   876k|}
PyThread_get_thread_ident:
  370|   339k|{
  371|   339k|    return (unsigned long) PyThread_get_thread_ident_ex();
  372|   339k|}
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|   876k|_pthread_t_to_ident(pthread_t value) {
  305|       |// Cast through an integer type of the same size to avoid sign-extension.
  306|   876k|#if SIZEOF_PTHREAD_T == SIZEOF_VOID_P
  307|   876k|    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|   876k|}

_PyTraceBack_FromFrame:
  312|  2.14M|{
  313|  2.14M|    assert(tb_next == NULL || PyTraceBack_Check(tb_next));
  314|  2.14M|    assert(frame != NULL);
  315|  2.14M|    int addr = _PyInterpreterFrame_LASTI(frame->f_frame) * sizeof(_Py_CODEUNIT);
  ------------------
  |  |   18|  2.14M|    ((int)((IF)->instr_ptr - _PyFrame_GetBytecode((IF))))
  ------------------
  316|  2.14M|    return tb_create_raw((PyTracebackObject *)tb_next, frame, addr, -1);
  317|  2.14M|}
PyTraceBack_Here:
  322|  2.14M|{
  323|  2.14M|    PyObject *exc = PyErr_GetRaisedException();
  324|  2.14M|    assert(PyExceptionInstance_Check(exc));
  325|  2.14M|    PyObject *tb = PyException_GetTraceback(exc);
  326|  2.14M|    PyObject *newtb = _PyTraceBack_FromFrame(tb, frame);
  327|  2.14M|    Py_XDECREF(tb);
  ------------------
  |  |  524|  2.14M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.14M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.14M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  328|  2.14M|    if (newtb == NULL) {
  ------------------
  |  Branch (328:9): [True: 0, False: 2.14M]
  ------------------
  329|      0|        _PyErr_ChainExceptions1(exc);
  330|      0|        return -1;
  331|      0|    }
  332|  2.14M|    PyException_SetTraceback(exc, newtb);
  333|  2.14M|    Py_XDECREF(newtb);
  ------------------
  |  |  524|  2.14M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.14M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.14M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  334|  2.14M|    PyErr_SetRaisedException(exc);
  335|  2.14M|    return 0;
  336|  2.14M|}
_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.14M|{
  243|  2.14M|    PyTracebackObject *tb = _PyTracebackObject_CAST(op);
  ------------------
  |  |   68|  2.14M|#define _PyTracebackObject_CAST(op)   ((PyTracebackObject *)(op))
  ------------------
  244|  2.14M|    PyObject_GC_UnTrack(tb);
  245|  2.14M|    Py_XDECREF(tb->tb_next);
  ------------------
  |  |  524|  2.14M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.14M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.14M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  246|  2.14M|    Py_XDECREF(tb->tb_frame);
  ------------------
  |  |  524|  2.14M|#  define Py_XDECREF(op) Py_XDECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  2.14M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.14M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  247|  2.14M|    PyObject_GC_Del(tb);
  248|  2.14M|}
traceback.c:tb_traverse:
  252|  1.13k|{
  253|  1.13k|    PyTracebackObject *tb = _PyTracebackObject_CAST(op);
  ------------------
  |  |   68|  1.13k|#define _PyTracebackObject_CAST(op)   ((PyTracebackObject *)(op))
  ------------------
  254|  1.13k|    Py_VISIT(tb->tb_next);
  ------------------
  |  |  194|  1.13k|    do {                                                                \
  |  |  195|  1.13k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 518, False: 614]
  |  |  ------------------
  |  |  196|    518|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|    518|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|    518|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|    518|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 518]
  |  |  ------------------
  |  |  198|    518|                return vret;                                            \
  |  |  199|    518|        }                                                               \
  |  |  200|  1.13k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 1.13k]
  |  |  ------------------
  ------------------
  255|  1.13k|    Py_VISIT(tb->tb_frame);
  ------------------
  |  |  194|  1.13k|    do {                                                                \
  |  |  195|  1.13k|        if (op) {                                                       \
  |  |  ------------------
  |  |  |  Branch (195:13): [True: 1.13k, False: 0]
  |  |  ------------------
  |  |  196|  1.13k|            int vret = visit(_PyObject_CAST(op), arg);                  \
  |  |  ------------------
  |  |  |  |  171|  1.13k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  1.13k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  |  |  197|  1.13k|            if (vret)                                                   \
  |  |  ------------------
  |  |  |  Branch (197:17): [True: 0, False: 1.13k]
  |  |  ------------------
  |  |  198|  1.13k|                return vret;                                            \
  |  |  199|  1.13k|        }                                                               \
  |  |  200|  1.13k|    } while (0)
  |  |  ------------------
  |  |  |  Branch (200:14): [Folded, False: 1.13k]
  |  |  ------------------
  ------------------
  256|  1.13k|    return 0;
  257|  1.13k|}
traceback.c:tb_create_raw:
   82|  2.14M|{
   83|  2.14M|    PyTracebackObject *tb;
   84|  2.14M|    if ((next != NULL && !PyTraceBack_Check(next)) ||
  ------------------
  |  |   14|   744k|#define PyTraceBack_Check(v) Py_IS_TYPE((v), &PyTraceBack_Type)
  |  |  ------------------
  |  |  |  |  215|   744k|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|   744k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|   744k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (84:10): [True: 744k, False: 1.40M]
  |  Branch (84:26): [True: 0, False: 744k]
  ------------------
   85|  2.14M|                    frame == NULL || !PyFrame_Check(frame)) {
  ------------------
  |  |    8|  2.14M|#define PyFrame_Check(op) Py_IS_TYPE((op), &PyFrame_Type)
  |  |  ------------------
  |  |  |  |  215|  2.14M|#  define Py_IS_TYPE(ob, type) _Py_IS_TYPE_impl(_PyObject_CAST(ob), (type))
  |  |  |  |  ------------------
  |  |  |  |  |  |  171|  2.14M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  |   37|  2.14M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  |  Branch (85:21): [True: 0, False: 2.14M]
  |  Branch (85:38): [True: 0, False: 2.14M]
  ------------------
   86|      0|        PyErr_BadInternalCall();
  ------------------
  |  |  229|      0|#define PyErr_BadInternalCall() _PyErr_BadInternalCall(__FILE__, __LINE__)
  ------------------
   87|      0|        return NULL;
   88|      0|    }
   89|  2.14M|    tb = PyObject_GC_New(PyTracebackObject, &PyTraceBack_Type);
  ------------------
  |  |  181|  2.14M|    _Py_CAST(type*, _PyObject_GC_New(typeobj))
  |  |  ------------------
  |  |  |  |   37|  2.14M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  ------------------
  ------------------
   90|  2.14M|    if (tb != NULL) {
  ------------------
  |  Branch (90:9): [True: 2.14M, False: 0]
  ------------------
   91|  2.14M|        tb->tb_next = (PyTracebackObject*)Py_XNewRef(next);
  ------------------
  |  |  551|  2.14M|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.14M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.14M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   92|  2.14M|        tb->tb_frame = (PyFrameObject*)Py_XNewRef(frame);
  ------------------
  |  |  551|  2.14M|#  define Py_XNewRef(obj) _Py_XNewRef(_PyObject_CAST(obj))
  |  |  ------------------
  |  |  |  |  171|  2.14M|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  2.14M|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   93|  2.14M|        tb->tb_lasti = lasti;
   94|  2.14M|        tb->tb_lineno = lineno;
   95|  2.14M|        PyObject_GC_Track(tb);
   96|  2.14M|    }
   97|  2.14M|    return (PyObject *)tb;
   98|  2.14M|}

_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);
  ------------------
  |  |  917|      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.43k|extern "C" int LLVMFuzzerTestOneInput(uint8_t* data, size_t size) {
  120|  3.43k|    std::optional<std::vector<uint8_t>> ret = std::nullopt;
  121|       |
  122|  3.43k|    PyObject *pArgs, *pValue;
  123|       |
  124|  3.43k|    pArgs = PyTuple_New(1);
  125|  3.43k|    pValue = PyBytes_FromStringAndSize((const char*)data, size);
  126|  3.43k|    PyTuple_SetItem(pArgs, 0, pValue);
  127|       |
  128|  3.43k|    pValue = PyObject_CallObject(static_cast<PyObject*>(pFunc), pArgs);
  129|       |
  130|  3.43k|    if ( pValue == nullptr ) {
  ------------------
  |  Branch (130:10): [True: 0, False: 3.43k]
  ------------------
  131|       |        /* Abort on unhandled exception */
  132|      0|        PyErr_PrintEx(1);
  133|      0|        abort();
  134|      0|    }
  135|       |
  136|  3.43k|    if ( PyBytes_Check(pValue) ) {
  ------------------
  |  |   28|  3.43k|                 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS)
  |  |  ------------------
  |  |  |  |  760|  3.43k|#define PyType_FastSubclass(type, flag) PyType_HasFeature((type), (flag))
  |  |  |  |  ------------------
  |  |  |  |  |  Branch (760:41): [True: 115, False: 3.32k]
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  137|       |        /* Retrieve output */
  138|       |
  139|    115|        uint8_t* output;
  140|    115|        Py_ssize_t outputSize;
  141|    115|        if ( PyBytes_AsStringAndSize(pValue, (char**)&output, &outputSize) != -1) {
  ------------------
  |  Branch (141:14): [True: 115, False: 0]
  ------------------
  142|       |            /* Return output */
  143|    115|            ret = std::vector<uint8_t>(output, output + outputSize);
  144|    115|            goto end;
  145|    115|        } else {
  146|       |            /* TODO this should not happen */
  147|      0|        }
  148|       |
  149|    115|    }
  150|       |
  151|  3.43k|end:
  152|  3.43k|    Py_DECREF(pValue);
  ------------------
  |  |  430|  3.43k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  153|  3.43k|    Py_DECREF(pArgs);
  ------------------
  |  |  430|  3.43k|#define Py_DECREF(op) Py_DECREF(_PyObject_CAST(op))
  |  |  ------------------
  |  |  |  |  171|  3.43k|#define _PyObject_CAST(op) _Py_CAST(PyObject*, (op))
  |  |  |  |  ------------------
  |  |  |  |  |  |   37|  3.43k|#define _Py_CAST(type, expr) ((type)(expr))
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
  154|       |    //return ret;
  155|  3.43k|    return 0;
  156|  3.43k|}
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|}

